From 4f9cd7d154c0de2b9b690892c2b3dcc15a8ee165 Mon Sep 17 00:00:00 2001 From: reyoucat Date: Wed, 20 Nov 2024 11:18:15 +0000 Subject: [PATCH] deploy: 7ed6ee773c0c74eea1d048fe2437160f1badf2c2 --- .eslintrc | 29 - .gitignore | 3 - .nojekyll | 0 .prettierignore | 6 - .prettierrc | 9 - 404.html | 1 + LICENSE | 201 - NOTICE | 92 - README.md | 211 - _next/static/chunks/634-95ec6949e210df8f.js | 1 + _next/static/chunks/69-550fe58c67b8662b.js | 1 + .../chunks/app/_not-found-c7b753d7b0ee34c9.js | 1 + .../chunks/app/layout-bca9351187f652ff.js | 1 + .../chunks/app/page-07fbae3c3e2ef41a.js | 1 + .../chunks/fd9d1056-5be4032601bc51de.js | 1 + .../chunks/framework-aec844d2ccbe7592.js | 33 + _next/static/chunks/main-1cfe1e7ea66feee7.js | 1 + .../chunks/main-app-ca250d4baffa5580.js | 1 + .../chunks/pages/_app-75f6107b0260711c.js | 1 + .../chunks/pages/_error-9a890acb1e81c3fc.js | 1 + .../chunks/polyfills-c67a75d1b6f99dc8.js | 1 + .../static/chunks/webpack-a8ba63f2417b26c7.js | 1 + .../o3OCSBUxZTLPJE9Mfd8jV/_buildManifest.js | 1 + .../o3OCSBUxZTLPJE9Mfd8jV/_ssgManifest.js | 1 + action.yml | 33 - dist/index.js | 17233 ---------------- index.html | 1 + index.txt | 7 + next.svg | 1 + package-lock.json | 5888 ------ package.json | 44 - src/__test__/dummy.ts | 1542 -- src/__test__/refine.test.ts | 172 - src/api.ts | 121 - src/const/index.ts | 36 - src/context.ts | 130 - src/data/__test__/reviewers.test.ts | 261 - src/data/activity.ts | 25 - src/data/comments.ts | 79 - src/data/events.ts | 117 - src/data/index.ts | 13 - src/data/pr.ts | 94 - src/data/reviewers.ts | 72 - src/data/timeline.ts | 62 - src/data/user.ts | 60 - src/default-stats.ts | 59 - src/index.ts | 112 - src/output/console.ts | 25 - src/output/csv.ts | 41 - src/output/index.ts | 53 - src/output/stats/index.ts | 9 - src/output/stats/pr-list.ts | 40 - src/output/stats/pr.ts | 52 - src/output/stats/user.ts | 33 - src/refine.ts | 46 - src/stats/index.ts | 11 - .../__test__/average-added-line-count.test.ts | 76 - .../__test__/average-approval-count.test.ts | 67 - .../average-changed-line-count.test.ts | 77 - .../__test__/average-comment-count.test.ts | 71 - .../__test__/average-commit-count.test.ts | 73 - .../average-conversation-count.test.ts | 71 - .../__test__/average-file-count.test.ts | 65 - .../average-lines-changed-per-commit.test.ts | 79 - .../average-participation-count.test.ts | 66 - .../average-removed-line-count.test.ts | 76 - .../__test__/average-response-time.test.ts | 183 - .../__test__/average-reviewer-count.test.ts | 67 - .../average-time-from-review-to-merge.test.ts | 71 - .../__test__/average-time-to-approval.test.ts | 248 - .../__test__/participation-rate.test.ts | 121 - src/stats/pr-list/average-added-line-count.ts | 15 - src/stats/pr-list/average-approval-count.ts | 15 - .../pr-list/average-changed-line-count.ts | 15 - src/stats/pr-list/average-comment-count.ts | 15 - src/stats/pr-list/average-commit-count.ts | 15 - .../pr-list/average-conversation-count.ts | 15 - src/stats/pr-list/average-file-count.ts | 15 - .../average-lines-changed-per-commit.ts | 20 - .../pr-list/average-participation-count.ts | 15 - .../pr-list/average-removed-line-count.ts | 15 - src/stats/pr-list/average-response-time.ts | 18 - src/stats/pr-list/average-reviewer-count.ts | 15 - .../average-time-from-review-to-merge.ts | 15 - src/stats/pr-list/average-time-to-approval.ts | 18 - src/stats/pr-list/index.ts | 21 - src/stats/pr-list/participation-rate.ts | 17 - .../pr/__test__/added-line-count.test.ts | 34 - src/stats/pr/__test__/approval-count.test.ts | 68 - .../average-lines-changed-per-commit.test.ts | 43 - .../pr/__test__/average-response-time.test.ts | 102 - .../__test__/average-time-to-approval.test.ts | 133 - .../pr/__test__/changed-line-count.test.ts | 37 - src/stats/pr/__test__/comment-count.test.ts | 125 - src/stats/pr/__test__/commit-count.test.ts | 37 - .../pr/__test__/conversation-count.test.ts | 125 - src/stats/pr/__test__/file-count.test.ts | 34 - .../pr/__test__/participation-count.test.ts | 90 - .../pr/__test__/participation-rate.test.ts | 39 - .../pr/__test__/removed-line-count.test.ts | 34 - src/stats/pr/__test__/reviewer-count.test.ts | 62 - .../time-from-review-to-merge.test.ts | 42 - src/stats/pr/added-line-count.ts | 14 - src/stats/pr/approval-count.ts | 18 - .../pr/average-lines-changed-per-commit.ts | 15 - src/stats/pr/average-response-time.ts | 19 - src/stats/pr/average-time-to-approval.ts | 19 - src/stats/pr/changed-line-count.ts | 15 - src/stats/pr/comment-count.ts | 15 - src/stats/pr/commit-count.ts | 14 - src/stats/pr/conversation-count.ts | 15 - src/stats/pr/created-at.ts | 17 - src/stats/pr/file-count.ts | 14 - src/stats/pr/index.ts | 25 - src/stats/pr/merged-at.ts | 17 - src/stats/pr/number.ts | 17 - src/stats/pr/participation-count.ts | 15 - src/stats/pr/participation-rate.ts | 16 - src/stats/pr/removed-line-count.ts | 14 - src/stats/pr/reviewer-count.ts | 14 - src/stats/pr/time-from-review-to-merge.ts | 16 - src/stats/pr/title.ts | 17 - .../__test__/average-comment-count.test.ts | 64 - .../average-lines-changed-per-commit.test.ts | 70 - .../__test__/average-response-time.test.ts | 134 - .../__test__/average-time-to-approval.test.ts | 73 - .../user/__test__/participation-count.test.ts | 53 - .../user/__test__/participation-rate.test.ts | 53 - .../user/__test__/requested-count.test.ts | 60 - src/stats/user/average-comment-count.ts | 15 - .../user/average-lines-changed-per-commit.ts | 21 - src/stats/user/average-response-time.ts | 17 - src/stats/user/average-time-to-approval.ts | 17 - src/stats/user/id.ts | 14 - src/stats/user/index.ts | 14 - src/stats/user/participation-count.ts | 14 - src/stats/user/participation-rate.ts | 16 - src/stats/user/requested-count.ts | 14 - src/test-helper/index.ts | 86 - src/types/github.ts | 67 - src/types/index.ts | 9 - src/types/stats.ts | 135 - src/types/util.ts | 24 - src/util/config.ts | 104 - src/util/index.ts | 9 - src/util/stats.ts | 8 - src/util/time.ts | 41 - tsconfig.json | 25 - vercel.svg | 1 + 149 files changed, 58 insertions(+), 31172 deletions(-) delete mode 100644 .eslintrc delete mode 100644 .gitignore create mode 100644 .nojekyll delete mode 100644 .prettierignore delete mode 100644 .prettierrc create mode 100644 404.html delete mode 100644 LICENSE delete mode 100644 NOTICE delete mode 100644 README.md create mode 100644 _next/static/chunks/634-95ec6949e210df8f.js create mode 100644 _next/static/chunks/69-550fe58c67b8662b.js create mode 100644 _next/static/chunks/app/_not-found-c7b753d7b0ee34c9.js create mode 100644 _next/static/chunks/app/layout-bca9351187f652ff.js create mode 100644 _next/static/chunks/app/page-07fbae3c3e2ef41a.js create mode 100644 _next/static/chunks/fd9d1056-5be4032601bc51de.js create mode 100644 _next/static/chunks/framework-aec844d2ccbe7592.js create mode 100644 _next/static/chunks/main-1cfe1e7ea66feee7.js create mode 100644 _next/static/chunks/main-app-ca250d4baffa5580.js create mode 100644 _next/static/chunks/pages/_app-75f6107b0260711c.js create mode 100644 _next/static/chunks/pages/_error-9a890acb1e81c3fc.js create mode 100644 _next/static/chunks/polyfills-c67a75d1b6f99dc8.js create mode 100644 _next/static/chunks/webpack-a8ba63f2417b26c7.js create mode 100644 _next/static/o3OCSBUxZTLPJE9Mfd8jV/_buildManifest.js create mode 100644 _next/static/o3OCSBUxZTLPJE9Mfd8jV/_ssgManifest.js delete mode 100644 action.yml delete mode 100644 dist/index.js create mode 100644 index.html create mode 100644 index.txt create mode 100644 next.svg delete mode 100644 package-lock.json delete mode 100644 package.json delete mode 100644 src/__test__/dummy.ts delete mode 100644 src/__test__/refine.test.ts delete mode 100644 src/api.ts delete mode 100644 src/const/index.ts delete mode 100644 src/context.ts delete mode 100644 src/data/__test__/reviewers.test.ts delete mode 100644 src/data/activity.ts delete mode 100644 src/data/comments.ts delete mode 100644 src/data/events.ts delete mode 100644 src/data/index.ts delete mode 100644 src/data/pr.ts delete mode 100644 src/data/reviewers.ts delete mode 100644 src/data/timeline.ts delete mode 100644 src/data/user.ts delete mode 100644 src/default-stats.ts delete mode 100644 src/index.ts delete mode 100644 src/output/console.ts delete mode 100644 src/output/csv.ts delete mode 100644 src/output/index.ts delete mode 100644 src/output/stats/index.ts delete mode 100644 src/output/stats/pr-list.ts delete mode 100644 src/output/stats/pr.ts delete mode 100644 src/output/stats/user.ts delete mode 100644 src/refine.ts delete mode 100644 src/stats/index.ts delete mode 100644 src/stats/pr-list/__test__/average-added-line-count.test.ts delete mode 100644 src/stats/pr-list/__test__/average-approval-count.test.ts delete mode 100644 src/stats/pr-list/__test__/average-changed-line-count.test.ts delete mode 100644 src/stats/pr-list/__test__/average-comment-count.test.ts delete mode 100644 src/stats/pr-list/__test__/average-commit-count.test.ts delete mode 100644 src/stats/pr-list/__test__/average-conversation-count.test.ts delete mode 100644 src/stats/pr-list/__test__/average-file-count.test.ts delete mode 100644 src/stats/pr-list/__test__/average-lines-changed-per-commit.test.ts delete mode 100644 src/stats/pr-list/__test__/average-participation-count.test.ts delete mode 100644 src/stats/pr-list/__test__/average-removed-line-count.test.ts delete mode 100644 src/stats/pr-list/__test__/average-response-time.test.ts delete mode 100644 src/stats/pr-list/__test__/average-reviewer-count.test.ts delete mode 100644 src/stats/pr-list/__test__/average-time-from-review-to-merge.test.ts delete mode 100644 src/stats/pr-list/__test__/average-time-to-approval.test.ts delete mode 100644 src/stats/pr-list/__test__/participation-rate.test.ts delete mode 100644 src/stats/pr-list/average-added-line-count.ts delete mode 100644 src/stats/pr-list/average-approval-count.ts delete mode 100644 src/stats/pr-list/average-changed-line-count.ts delete mode 100644 src/stats/pr-list/average-comment-count.ts delete mode 100644 src/stats/pr-list/average-commit-count.ts delete mode 100644 src/stats/pr-list/average-conversation-count.ts delete mode 100644 src/stats/pr-list/average-file-count.ts delete mode 100644 src/stats/pr-list/average-lines-changed-per-commit.ts delete mode 100644 src/stats/pr-list/average-participation-count.ts delete mode 100644 src/stats/pr-list/average-removed-line-count.ts delete mode 100644 src/stats/pr-list/average-response-time.ts delete mode 100644 src/stats/pr-list/average-reviewer-count.ts delete mode 100644 src/stats/pr-list/average-time-from-review-to-merge.ts delete mode 100644 src/stats/pr-list/average-time-to-approval.ts delete mode 100644 src/stats/pr-list/index.ts delete mode 100644 src/stats/pr-list/participation-rate.ts delete mode 100644 src/stats/pr/__test__/added-line-count.test.ts delete mode 100644 src/stats/pr/__test__/approval-count.test.ts delete mode 100644 src/stats/pr/__test__/average-lines-changed-per-commit.test.ts delete mode 100644 src/stats/pr/__test__/average-response-time.test.ts delete mode 100644 src/stats/pr/__test__/average-time-to-approval.test.ts delete mode 100644 src/stats/pr/__test__/changed-line-count.test.ts delete mode 100644 src/stats/pr/__test__/comment-count.test.ts delete mode 100644 src/stats/pr/__test__/commit-count.test.ts delete mode 100644 src/stats/pr/__test__/conversation-count.test.ts delete mode 100644 src/stats/pr/__test__/file-count.test.ts delete mode 100644 src/stats/pr/__test__/participation-count.test.ts delete mode 100644 src/stats/pr/__test__/participation-rate.test.ts delete mode 100644 src/stats/pr/__test__/removed-line-count.test.ts delete mode 100644 src/stats/pr/__test__/reviewer-count.test.ts delete mode 100644 src/stats/pr/__test__/time-from-review-to-merge.test.ts delete mode 100644 src/stats/pr/added-line-count.ts delete mode 100644 src/stats/pr/approval-count.ts delete mode 100644 src/stats/pr/average-lines-changed-per-commit.ts delete mode 100644 src/stats/pr/average-response-time.ts delete mode 100644 src/stats/pr/average-time-to-approval.ts delete mode 100644 src/stats/pr/changed-line-count.ts delete mode 100644 src/stats/pr/comment-count.ts delete mode 100644 src/stats/pr/commit-count.ts delete mode 100644 src/stats/pr/conversation-count.ts delete mode 100644 src/stats/pr/created-at.ts delete mode 100644 src/stats/pr/file-count.ts delete mode 100644 src/stats/pr/index.ts delete mode 100644 src/stats/pr/merged-at.ts delete mode 100644 src/stats/pr/number.ts delete mode 100644 src/stats/pr/participation-count.ts delete mode 100644 src/stats/pr/participation-rate.ts delete mode 100644 src/stats/pr/removed-line-count.ts delete mode 100644 src/stats/pr/reviewer-count.ts delete mode 100644 src/stats/pr/time-from-review-to-merge.ts delete mode 100644 src/stats/pr/title.ts delete mode 100644 src/stats/user/__test__/average-comment-count.test.ts delete mode 100644 src/stats/user/__test__/average-lines-changed-per-commit.test.ts delete mode 100644 src/stats/user/__test__/average-response-time.test.ts delete mode 100644 src/stats/user/__test__/average-time-to-approval.test.ts delete mode 100644 src/stats/user/__test__/participation-count.test.ts delete mode 100644 src/stats/user/__test__/participation-rate.test.ts delete mode 100644 src/stats/user/__test__/requested-count.test.ts delete mode 100644 src/stats/user/average-comment-count.ts delete mode 100644 src/stats/user/average-lines-changed-per-commit.ts delete mode 100644 src/stats/user/average-response-time.ts delete mode 100644 src/stats/user/average-time-to-approval.ts delete mode 100644 src/stats/user/id.ts delete mode 100644 src/stats/user/index.ts delete mode 100644 src/stats/user/participation-count.ts delete mode 100644 src/stats/user/participation-rate.ts delete mode 100644 src/stats/user/requested-count.ts delete mode 100644 src/test-helper/index.ts delete mode 100644 src/types/github.ts delete mode 100644 src/types/index.ts delete mode 100644 src/types/stats.ts delete mode 100644 src/types/util.ts delete mode 100644 src/util/config.ts delete mode 100644 src/util/index.ts delete mode 100644 src/util/stats.ts delete mode 100644 src/util/time.ts delete mode 100644 tsconfig.json create mode 100644 vercel.svg diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 42cce38..0000000 --- a/.eslintrc +++ /dev/null @@ -1,29 +0,0 @@ -{ - "extends": [ - "eslint:recommended", - "plugin:prettier/recommended", - "plugin:@typescript-eslint/recommended", - ], - "plugins": ["@typescript-eslint"], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "sourceType": "module", - "ecmaVersion": "latest", - "ecmaFeatures": { - "jsx": false - } - }, - "env": { - "es6": true, - "node": true - }, - "ignorePatterns": [ - "node_modules/", - "dist/" - ], - "rules": { - "prettier/prettier": "error", - "@typescript-eslint/ban-ts-comment": "off", - "@typescript-eslint/no-explicit-any": "off" - }, -} diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 8b86e34..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.idea/ -node_modules -.vscode diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 0091225..0000000 --- a/.prettierignore +++ /dev/null @@ -1,6 +0,0 @@ -# 모든 파일 무시 -*.* - -# .js .jsx .ts .tsx 파일은 무시하지 않음 -!*.[jt]s -!*[jt]sx diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 3a787e0..0000000 --- a/.prettierrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "printWidth": 120, - "bracketSpacing": false, - "bracketSameLine": true, - "trailingComma": "all", - "arrowParens": "avoid", - "semi": true, - "tabWidth": 4 -} diff --git a/404.html b/404.html new file mode 100644 index 0000000..7af2dbd --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +404: This page could not be found.Next.js

404

This page could not be found.

\ No newline at end of file diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 140a8c6..0000000 --- a/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright (c) 2023-present NAVER Corp. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/NOTICE b/NOTICE deleted file mode 100644 index 736d0d9..0000000 --- a/NOTICE +++ /dev/null @@ -1,92 +0,0 @@ -pr-stats -Copyright (c) 2023-present NAVER Corp. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - --------------------------------------------------------------------------------------- - -This project contains subcomponents with separate copyright notices and license terms. -Your use of the source code for these subcomponents is subject to the terms and conditions of the following licenses. - -===== - -actions/toolkit -https://github.com/actions/toolkit - - -The MIT License (MIT) - -Copyright 2019 GitHub - -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. - -===== - -octokit/plugin-throttling.js -https://github.com/octokit/plugin-throttling.js - - -The MIT License - -Copyright (c) 2018 Octokit 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. - -===== - -mholt/PapaParse -https://github.com/mholt/PapaParse - - -The MIT License (MIT) - -Copyright (c) 2015 Matthew Holt - -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/README.md b/README.md deleted file mode 100644 index 1bbc076..0000000 --- a/README.md +++ /dev/null @@ -1,211 +0,0 @@ -# pr-stats - -## 액션 소개 -pr-stats는 PR에 대한 유용한 통계를 산출하는 GitHub Actions입니다. - -PR별 평균 머지까지 소요되는 시간, 리뷰어의 응답시간 등을 산출할 수 있습니다. - -통계 결과는 [커스터마이즈](#커스터마이즈) 할 수 있습니다. - -해당 액션을 업무에 활용하는 방법은 [활용 예시](#활용-예시)를 참고해 주세요. - -## 사용 방법 -GitHub 저장소에 아래 파일을 만드세요. - -```yaml -# .github/workflows/pr-stats.yml -name: PR Stats -on: - workflow_dispatch: # 액션이 실행될 이벤트를 작성하세요. - # https://docs.github.com/ko/actions/using-workflows/events-that-trigger-workflows -jobs: - pr-stats: - runs-on: ubuntu-latest - steps: - - name: PR Stats - uses: "naver/pr-stats@v1.0.0" - with: - token: ${{ secrets.GITHUB_TOKEN }} - # with 인자 설명을 반드시 참고하세요. -``` - -**활용 예시) 결과물을 PR로 생성** - -다음과 같이 작성하면 `./stats/` 하위에 `pr.csv`, `prList.csv`, `user.csv`가 포함된 PR이 만들어집니다. - -```yaml -# .github/workflows/pr-stats.yml - # ... - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: PR Stats - uses: "naver/pr-stats@v1.0.0" - with: - token: ${{ secrets.GITHUB_TOKEN }} - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 -``` - - -## 수집 데이터 - -### PR -단일 PR에 대한 통계입니다. 이 데이터는 `./stats/pr.csv`로 저장됩니다. - -| 필드 | 설명 | -|------------------------------|---------------------------| -| `number` | PR 번호 | -| `title` | PR 제목 | -| `createdAt` | PR 생성 시점의 timestamp | -| `mergedAt` | PR 머지 시점의 timestamp | -| `addedLineCount` | 추가된 라인 수 | -| `removedLineCount` | 제거된 라인 수 | -| `changedLineCount` | 변경된 라인 수 | -| `fileCount` | 파일 개수 | -| `commitCount` | 커밋 개수 | -| `commentCount` | 코멘트 개수 | -| `conversationCount` | 대화 개수 | -| `reviewerCount` | 리뷰어 수 | -| `approvalCount` | 승인 수 | -| `participationCount` | 참여 수 | -| `participationRate` | 참여율 | -| `timeFromReviewToMerge` | 리뷰에서 병합까지의 시간 (ms) | -| `averageResponseTime` | 평균 응답 시간 (ms) | -| `averageTimeToApproval` | 평균 승인까지의 시간 (ms) | -| `averageLinesChangedPerCommit` | 커밋당 평균 변경 라인 수 | - -### PR List -수집한 모든 PR에 대해서 산출한 통계입니다. 이 데이터는 `./stats/prList.csv`로 저장됩니다. - -| 필드 | 설명 | -|------------------------------|---------------------------| -| `averageAddedLineCount` | 평균 추가된 라인 수 | -| `averageRemovedLineCount` | 평균 제거된 라인 수 | -| `averageChangedLineCount` | 평균 변경된 라인 수 | -| `averageFileCount` | 평균 파일 개수 | -| `averageCommitCount` | 평균 커밋 개수 | -| `averageCommentCount` | 평균 코멘트 개수 | -| `averageConversationCount` | 평균 대화 개수 | -| `averageReviewerCount` | 평균 리뷰어 수 | -| `averageApprovalCount` | 평균 승인 수 | -| `averageParticipationCount` | 평균 참여 수 | -| `averageTimeFromReviewToMerge` | 리뷰에서 병합까지의 평균 시간 (ms) | -| `averageResponseTime` | 평균 응답 시간 (ms) | -| `averageTimeToApproval` | 평균 승인까지의 시간 (ms) | -| `averageLinesChangedPerCommit` | 커밋당 평균 변경 라인 수 | -| `participationRate` | 참여율 | - -### User -수집된 데이터에서 각 유저들에 대해 산출한 통계입니다. 이 데이터는 `./stats/user.csv`로 저장됩니다. - -| 필드 | 설명 | -|------------------------------|---------------------------| -| `id` | 사용자 ID | -| `requestedCount` | 요청 수 | -| `participationCount` | 참여 수 | -| `participationRate` | 참여율 (xx.xx) | -| `averageCommentCount` | 평균 코멘트 개수 | -| `averageResponseTime` | 평균 응답 시간 (ms) | -| `averageTimeToApproval` | 평균 승인까지의 시간 (ms) | -| `averageLinesChangedPerCommit` | 커밋당 평균 변경 라인 수| - -## 커스터마이즈 -액션을 실행하는 저장소 Root에 `stats.config.js` 을 추가하면, 출력할 통계 항목을 변경할 수 있습니다. - -> `stats.config.js` 파일은 필수로 생성하지 않아도 되며, 생성하지 않을 경우 기본동작을 실행합니다. - -### 통계 항목 제어 -다음과 같이 작성하면, `pr`은 `number`, `title`, `fileCount`, `prList`는 미출력, `user`는 `id`만 출력됩니다. - -```javascript -// {targetRepo}/stats.config.js -module.exports = { - pr: ["number", "title", "fileCount"], - prList: [], - user: ["id"], -}; -``` - -### 통계 항목 추가 -함수 형태로 export 하면 기본 통계 설정 정보(`defaultStats`)가 인자로 전달됩니다. 이를 통해 기본 통계 설정을 유지하며 특정 통계만 추가할 수 있습니다. - -다음은 가장 빠른 응답 시간(ms)을 구하는 예시입니다. - -```javascript -// {targetRepo}/stats.config.js -const firstResponseTime = pr => { - const {timeline} = pr; - const firstResponse = timeline.comments.find(comment => timeline.firstRequestedAt < comment.createdAt); - const value = Number(firstResponse.createdAt) - Number(timeline.firstRequestedAt); - - return {value, message: `First Response Time: ${value}`}; -}; - -module.exports = defaultStats => { - return { - ...defaultStats, - pr: [...defaultStats.pr, ["firstResponseTime", firstResponseTime]], - }; -}; -``` - -## with 인자 설명 - -| 이름 | 설명 | 기본 값 | 사용 예시 | -|----------------|------------------------------------------------------------------------------|-------------------------------------|---------------------------------------------------------------------| -| `token` | GitHub에서 제공하는 토큰입니다. | `${{ secrets.GITHUB_TOKEN }}` | `token: "xoxb-798572638592-435243279588-9aCaWNnzVYelK9NzMMqa1yxz"` | -| `repository` | GitHub Action이 진행될 저장소입니다. 입력하지 않을 시, `pr-stats.yml` 파일을 만든 저장소에서 통계를 추출합니다. | `${{ github.repository }}` | `repository: "organization/repository"` | -| `ignoreUsers` | PR 통계에 포함하지 않을 사용자 목록입니다. 쉼표(,)로 여러 사용자를 등록할 수 있습니다. | `""` (빈 문자열) | `ignoreUsers: "brown"`
`ignoreUsers: "sonarqube[bot],lee-load"` | -| `configPath` | 통계 설정 파일 경로입니다. | `"./stats.config.js"` | `configPath: "./settings/stats.config.js"` | -| `period` | PR 통계 대상 기간을 지정합니다. 입력하지 않을 경우, `count`를 따릅니다. | `""` (빈 문자열) | `period: "2023-09-01~2023-10-01"`
`period: "2023-09-01~"` | -| `count` | 조회할 PR의 개수를 설정합니다. 입력하지 않은 경우, `period`를 따릅니다. | `100` | `count: 50` | -| `baseBranch` | 작업의 기준이 되는 branch를 지정합니다. 입력하지 않으면 모든 branch에 대해 조회합니다. | `""` (빈 문자열) | `baseBranch: "main"` | -| `output` | 데이터 출력 방식을 지정합니다. 쉼표(,)로 여러 방식을 함께 사용할 수 있습니다. (유효한 형식: `console`, `csv`) | `"console,csv"` | `output: "csv"` | - -> ⚠️ `period`의 우선순위가 `count`보다 높습니다. `period`가 있을 경우, `count`는 무시됩니다. - -## 활용 예시 -이 액션을 활용하면 팀의 코드 리뷰 현황을 명확하게 파악하고 개선점을 찾아낼 수 있습니다. - -### 1. 상관관계 테이블을 통한 분석 - -예를 들어, 파이썬 코드나 생성형 AI를 활용하여 PR 통계를 바탕으로 아래와 같은 상관관계 테이블을 생성할 수 있습니다. - -correlation-heatmap - -만약 머지까지 걸리는 시간을 단축하고 싶다면 `timeFromReviewToMerge`과 상관계수가 높은 지표를 찾고, 해당 지표를 개선하는 노력을 해 볼 수 있을 것입니다. - -### 2. 산점도를 통한 분석 - -코드 리뷰 문화 개선 활동을 수행한 후, 수치 변화를 통해 얼마나 개선되었는지 파악할 수 있습니다. - -예를 들어, 팀원들의 리뷰 반응 속도와 참여율이 얼마나 개선되었는지 알아보기 위해, 다음과 같은 산점도와 밀도 차트를 활용할 수 있습니다. - -before - -좌측의 산점도에서 각 점은 리뷰어의 평균 응답 시간과 참여율을 나타냅니다. 이 점들이 좌상단에 가까울수록 참여율이 높고 응답 시간이 짧아, 더 나은 리뷰 문화를 의미합니다. - -만약 개선 활동 이후 아래와 같은 차트로 변화했다면, 이는 개선 활동이 상당히 성공적이었음을 보여줍니다. - -after - - - -## 배포 라이선스 - -``` -Copyright (c) 2023-present NAVER Corp. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -``` diff --git a/_next/static/chunks/634-95ec6949e210df8f.js b/_next/static/chunks/634-95ec6949e210df8f.js new file mode 100644 index 0000000..17bf641 --- /dev/null +++ b/_next/static/chunks/634-95ec6949e210df8f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[634],{6491:function(t,n){var e,r;void 0!==(r="function"==typeof(e=function t(){var n="undefined"!=typeof self?self:window,e=!n.document&&!!n.postMessage,r=n.IS_PAPA_WORKER||!1,i={},o=0,a={parse:function(e,r){var u,c=(r=r||{}).dynamicTyping||!1;if(x(c)&&(r.dynamicTypingFunction=c,c={}),r.dynamicTyping=c,r.transform=!!x(r.transform)&&r.transform,r.worker&&a.WORKERS_SUPPORTED){var h=function(){if(!a.WORKERS_SUPPORTED)return!1;var e,r,u=(e=n.URL||n.webkitURL||null,r=t.toString(),a.BLOB_URL||(a.BLOB_URL=e.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),c=new n.Worker(u);return c.onmessage=v,c.id=o++,i[c.id]=c}();return h.userStep=r.step,h.userChunk=r.chunk,h.userComplete=r.complete,h.userError=r.error,r.step=x(r.step),r.chunk=x(r.chunk),r.complete=x(r.complete),r.error=x(r.error),delete r.worker,void h.postMessage({input:e,config:r,workerId:h.id})}var p=null;return a.NODE_STREAM_INPUT,"string"==typeof e?(e=65279===(u=e).charCodeAt(0)?u.slice(1):u,p=r.download?new l(r):new s(r)):!0===e.readable&&x(e.read)&&x(e.on)?p=new d(r):(n.File&&e instanceof File||e instanceof Object)&&(p=new f(r)),p.stream(e)},unparse:function(t,n){var e=!1,r=!0,i=",",o="\r\n",u='"',c=u+u,l=!1,f=null,s=!1;!function(){if("object"==typeof n){if("string"!=typeof n.delimiter||a.BAD_DELIMITERS.filter(function(t){return -1!==n.delimiter.indexOf(t)}).length||(i=n.delimiter),("boolean"==typeof n.quotes||"function"==typeof n.quotes||Array.isArray(n.quotes))&&(e=n.quotes),"boolean"!=typeof n.skipEmptyLines&&"string"!=typeof n.skipEmptyLines||(l=n.skipEmptyLines),"string"==typeof n.newline&&(o=n.newline),"string"==typeof n.quoteChar&&(u=n.quoteChar),"boolean"==typeof n.header&&(r=n.header),Array.isArray(n.columns)){if(0===n.columns.length)throw Error("Option columns is empty");f=n.columns}void 0!==n.escapeChar&&(c=n.escapeChar+u),("boolean"==typeof n.escapeFormulae||n.escapeFormulae instanceof RegExp)&&(s=n.escapeFormulae instanceof RegExp?n.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var d=RegExp(p(u),"g");if("string"==typeof t&&(t=JSON.parse(t)),Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return h(null,t,l);if("object"==typeof t[0])return h(f||Object.keys(t[0]),t,l)}else if("object"==typeof t)return"string"==typeof t.data&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields||f),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:"object"==typeof t.data[0]?Object.keys(t.data[0]):[]),Array.isArray(t.data[0])||"object"==typeof t.data[0]||(t.data=[t.data])),h(t.fields||[],t.data||[],l);throw Error("Unable to serialize unrecognized input");function h(t,n,e){var a="";"string"==typeof t&&(t=JSON.parse(t)),"string"==typeof n&&(n=JSON.parse(n));var u=Array.isArray(t)&&0=this._config.preview;if(r)n.postMessage({results:u,workerId:a.WORKER_ID,finished:l});else if(x(this._config.chunk)&&!e){if(this._config.chunk(u,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);u=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(u.data),this._completeResults.errors=this._completeResults.errors.concat(u.errors),this._completeResults.meta=u.meta),this._completed||!l||!x(this._config.complete)||u&&u.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),l||u&&u.meta.paused||this._nextChunk(),u}this._halted=!0},this._sendError=function(t){x(this._config.error)?this._config.error(t):r&&this._config.error&&n.postMessage({workerId:a.WORKER_ID,error:t,finished:!1})}}function l(t){var n;(t=t||{}).chunkSize||(t.chunkSize=a.RemoteChunkSize),c.call(this,t),this._nextChunk=e?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(n=new XMLHttpRequest,this._config.withCredentials&&(n.withCredentials=this._config.withCredentials),e||(n.onload=w(this._chunkLoaded,this),n.onerror=w(this._chunkError,this)),n.open(this._config.downloadRequestBody?"POST":"GET",this._input,!e),this._config.downloadRequestHeaders){var t=this._config.downloadRequestHeaders;for(var r in t)n.setRequestHeader(r,t[r])}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;n.setRequestHeader("Range","bytes="+this._start+"-"+i)}try{n.send(this._config.downloadRequestBody)}catch(t){this._chunkError(t.message)}e&&0===n.status&&this._chunkError()}},this._chunkLoaded=function(){var t;4===n.readyState&&(n.status<200||400<=n.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:n.responseText.length,this._finished=!this._config.chunkSize||this._start>=(null===(t=n.getResponseHeader("Content-Range"))?-1:parseInt(t.substring(t.lastIndexOf("/")+1))),this.parseChunk(n.responseText)))},this._chunkError=function(t){var e=n.statusText||t;this._sendError(Error(e))}}function f(t){(t=t||{}).chunkSize||(t.chunkSize=a.LocalChunkSize),c.call(this,t);var n,e,r="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,e=t.slice||t.webkitSlice||t.mozSlice,r?((n=new FileReader).onload=w(this._chunkLoaded,this),n.onerror=w(this._chunkError,this)):n=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(n.error)}}function s(t){var n;c.call(this,t=t||{}),this.stream=function(t){return n=t,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var t,e=this._config.chunkSize;return e?(t=n.substring(0,e),n=n.substring(e)):(t=n,n=""),this._finished=!n,this.parseChunk(t)}}}function d(t){c.call(this,t=t||{});var n=[],e=!0,r=!1;this.pause=function(){c.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){c.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===n.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),n.length?this.parseChunk(n.shift()):e=!0},this._streamData=w(function(t){try{n.push("string"==typeof t?t:t.toString(this._config.encoding)),e&&(e=!1,this._checkIsFinished(),this.parseChunk(n.shift()))}catch(t){this._streamError(t)}},this),this._streamError=w(function(t){this._streamCleanUp(),this._sendError(t)},this),this._streamEnd=w(function(){this._streamCleanUp(),r=!0,this._streamData("")},this),this._streamCleanUp=w(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function h(t){var n,e,r,i=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,o=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,u=this,c=0,l=0,f=!1,s=!1,d=[],h={data:[],errors:[],meta:{}};if(x(t.step)){var v=t.step;t.step=function(n){if(h=n,w())m();else{if(m(),0===h.data.length)return;c+=n.data.length,t.preview&&c>t.preview?e.abort():(h.data=h.data[0],v(h,u))}}}function b(n){return"greedy"===t.skipEmptyLines?""===n.join("").trim():1===n.length&&0===n[0].length}function m(){return h&&r&&(_("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),r=!1),t.skipEmptyLines&&(h.data=h.data.filter(function(t){return!b(t)})),w()&&function(){if(h){if(Array.isArray(h.data[0])){for(var n=0;w()&&n=d.length?"__parsed_extra":d[r]),t.transform&&(s=t.transform(s,f)),u=f,c=s,t.dynamicTypingFunction&&void 0===t.dynamicTyping[u]&&(t.dynamicTyping[u]=t.dynamicTypingFunction(u)),s=!0===(t.dynamicTyping[u]||t.dynamicTyping)?"true"===c||"TRUE"===c||"false"!==c&&"FALSE"!==c&&(!function(t){if(i.test(t)){var n=parseFloat(t);if(-9007199254740992d.length?_("FieldMismatch","TooManyFields","Too many fields: expected "+d.length+" fields but parsed "+r,l+e):r=r.length/2?"\r\n":"\r"}(i,c)),r=!1,t.delimiter)x(t.delimiter)&&(t.delimiter=t.delimiter(i),h.meta.delimiter=t.delimiter);else{var l=function(n,e,r,i,o){var u,c,l,f;o=o||[","," ","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var s=0;s=u)return B(!0)}}else for(z=f,f++;;){if(-1===(z=a.indexOf(n,z+1)))return h||_.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:w.length,index:f}),H();if(z===g-1)return H(a.substring(f,z).replace(j,n));if(n!==l||a[z+1]!==l){if(n===l||0===z||a[z-1]!==l){-1!==F&&F=u)return B(!0);break}_.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:w.length,index:f}),z++}}else z++}return H();function W(t){w.push(t),k=f}function P(t){var n=0;if(-1!==t){var e=a.substring(z+1,t);e&&""===e.trim()&&(n=e.length)}return n}function H(t){return h||(void 0===t&&(t=a.substring(f)),M.push(t),f=g,W(M),y&&Z()),B()}function $(t){f=t,W(M),M=[],I=a.indexOf(r,f)}function B(t){return{data:w,errors:_,meta:{delimiter:e,linebreak:r,aborted:s,truncated:!!t,cursor:k+(d||0)}}}function Z(){o(B()),w=[],_=[]}},this.abort=function(){s=!0},this.getCharIndex=function(){return f}}function v(t){var n=t.data,e=i[n.workerId],r=!1;if(n.error)e.userError(n.error,n.file);else if(n.results&&n.results.data){var o={abort:function(){r=!0,b(n.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:m,resume:m};if(x(e.userStep)){for(var a=0;at(n,t=>e[t])}}function f(t){return{reduceIndex(n,e){let r=t(n,t=>e[t]);return(0,o.IC)(e)?new Date(r):r}}}let s={reduceIndex:(t,n)=>(0,o.qn)(n,t)},d={reduceIndex:(t,n)=>n[t[0]]},h={reduceIndex:(t,n)=>n[t[t.length-1]]},p={label:"Frequency",reduceIndex:t=>t.length},g={label:"Distinct",reduceIndex(t,n){let e=new r.H0G;for(let r of t)e.add(n[r]);return e.size}},v=l(r.Smz);function b(t,n){return null==t?{scope:n,label:"Frequency",reduceIndex:function(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return t.length/e}}:{scope:n,reduceIndex:function(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,r.Smz)(t,t=>n[t])/e}}}function m(t,n,e){let{scale:r,type:i,value:a,filter:u,hint:c,label:l=(0,o.Aj)(a)}=n;return void 0===c&&"function"==typeof(null==a?void 0:a.transform)&&(c=a.hint),x(e,{scale:r,type:i,value:(0,o.dj)(t,a),label:l,filter:u,hint:c})}function y(t,n){return Object.fromEntries(Object.entries(t).map(t=>{let[e,r]=t;return[e,m(n,r,e)]}))}function w(t,n){let e=Object.fromEntries(Object.entries(t).map(t=>{let[e,{scale:r,value:i}]=t,a=null==r?null:n[r];return[e,null==a?i:(0,o.UI)(i,a)]}));return e.channels=t,e}function x(t,n){let{scale:e,value:r}=n;if(!0===e||"auto"===e)switch(t){case"fill":case"stroke":case"color":n.scale=!0!==e&&(0,o.N3)(r,o.D5)?null:"color";break;case"fillOpacity":case"strokeOpacity":case"opacity":n.scale=!0!==e&&(0,o.N3)(r,o.bY)?null:"opacity";break;case"symbol":!0!==e&&(0,o.N3)(r,u.yk)?(n.scale=null,n.value=(0,o.UI)(r,u.sr)):n.scale="symbol";break;default:n.scale=a.i_.has(t)?t:null}else if(!1===e)n.scale=null;else if(null!=e&&!a.i_.has(e))throw Error("unknown scale: ".concat(e));return n}function _(t,n,e,i,u){let{order:m,reverse:y,reduce:w=!0,limit:x}=u;for(let _ in u){if(!a.i_.has(_))continue;let{value:T,order:C=m,reverse:S=y,reduce:N=w,limit:D=x}=(0,o.i)(u[_]),L=null==T?void 0:T.startsWith("-");if(L&&(T=T.slice(1)),C=void 0===C?L!==("width"===T||"height"===T)?A:E:function(t){if(null==t||"function"==typeof t)return t;switch("".concat(t).toLowerCase()){case"ascending":return E;case"descending":return A}throw Error("invalid order: ".concat(t))}(C),null==N||!1===N)continue;let U="fx"===_||"fy"===_?function(t,n){let e=t.original;if(e===t)return n;let r=n.value,i=n.value=[];for(let n=0;n{let t=Array.from(new r.H0G(R));return S&&(t=t.reverse()),(0!==O||F!==1/0)&&(t=t.slice(O,F)),t};else{let n="data"===T?t:"height"===T?M(e,"y1","y2"):"width"===T?M(e,"x1","x2"):k(e,T,"y"===T?"y2":"x"===T?"x2":void 0),i=function(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c;if(null==t)return e(t);if("function"==typeof t.reduceIndex)return t;if("function"==typeof t.reduce&&(0,o.Kn)(t))return console.warn("deprecated reduce interface; implement reduceIndex instead."),{...t,reduceIndex:t.reduce.bind(t)};if("function"==typeof t)return function(t){return{reduceIndex:(n,e,r)=>t((0,o.qn)(e,n),r)}}(t);if(/^p\d{2}$/i.test(t))return l((0,o.Pe)(t));switch("".concat(t).toLowerCase()){case"first":return d;case"last":return h;case"identity":return s;case"count":return p;case"distinct":return g;case"sum":return null==n?p:v;case"proportion":return b(n,"data");case"proportion-facet":return b(n,"facet");case"deviation":return l(r.P3);case"min":return l(r.VV$);case"min-index":return l(r._Di);case"max":return l(r.Fp7);case"max-index":return l(r.F_Y);case"mean":return f(r.J69);case"median":return f(r.C2o);case"variance":return l(r.CAK);case"mode":return l(r.xJM)}return e(t)}(!0===N?"max":N,n);U.domain=()=>{let t=(0,r.Q3u)((0,o.w6)(R),t=>i.reduceIndex(t,n),t=>R[t]);return C&&t.sort(C),S&&t.reverse(),(0!==O||F!==1/0)&&(t=t.slice(O,F)),t.map(o.Ps)}}}}function M(t,n,e){let r=k(t,n),i=k(t,e);return(0,o.UI)(i,(t,n)=>Math.abs(t-r[n]),Float64Array)}function k(t,n,e){let r=t[n];if(r||void 0===e||(r=t[e]),r)return r.value;throw Error("missing channel: ".concat(n))}function E(t,n){let[e,r]=t,[o,a]=n;return(0,i.Wv)(r,a)||(0,i.Wv)(e,o)}function A(t,n){let[e,r]=t,[o,a]=n;return(0,i.Zj)(r,a)||(0,i.Wv)(e,o)}function T(t,n){let e=t[n];if(e){for(;e.source;)e=e.source;return null===e.source?null:e}}},2700:function(t,n,e){e.d(n,{U:function(){return a},k:function(){return o}});var r=e(2626),i=e(3874);function o(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{document:n=window.document,clip:e}=t;return{document:n,clip:(0,i.td)(e)}}function a(t,n){let{document:e}=n;return(0,r.Ys)((0,r.DuN)(t).call(e.documentElement))}},3664:function(t,n,e){e.d(n,{PV:function(){return u},Wv:function(){return o},Zj:function(){return a},i1:function(){return l},pd:function(){return f},ri:function(){return i},yx:function(){return c}});var r=e(2626);function i(t){return null!=t&&!Number.isNaN(t)}function o(t,n){return+i(n)-+i(t)||(0,r.j2p)(t,n)}function a(t,n){return+i(n)-+i(t)||(0,r.$1i)(t,n)}function u(t){return null!=t&&""!=="".concat(t)}function c(t){return isFinite(t)?t:NaN}function l(t){return t>0&&isFinite(t)?t:NaN}function f(t){return t<0&&isFinite(t)?t:NaN}},2239:function(t,n,e){e.d(n,{Ib:function(){return u},Py:function(){return l},Rm:function(){return _},Rx:function(){return c},al:function(){return a},lv:function(){return d},my:function(){return f}});var r=e(2626),i=e(3262),o=e(5049);function a(t,n){let{fx:e,fy:i}=(0,o.D5)(t,n),a=null==e?void 0:e.scale.domain(),u=null==i?void 0:i.scale.domain();return a&&u?(0,r.kCc)(a,u).map((t,n)=>{let[e,r]=t;return{x:e,y:r,i:n}}):a?a.map((t,n)=>({x:t,i:n})):u?u.map((t,n)=>({y:t,i:n})):void 0}function u(t,n){let{x:e,y:r}=n;return e&&(e=p(e)),r&&(r=p(r)),t.filter(e&&r?t=>e.has(t.x)&&r.has(t.y):e?t=>e.has(t.x):t=>r.has(t.y)).sort(e&&r?(t,n)=>e.get(t.x)-e.get(n.x)||r.get(t.y)-r.get(n.y):e?(t,n)=>e.get(t.x)-e.get(n.x):(t,n)=>r.get(t.y)-r.get(n.y))}function c(t,n){let{fx:e,fy:o}=n,a=(0,i.w6)(t),u=null==e?void 0:e.value,c=null==o?void 0:o.value;return e&&o?(0,r.jJk)(a,t=>(t.fx=u[t[0]],t.fy=c[t[0]],t),t=>u[t],t=>c[t]):e?(0,r.jJk)(a,t=>(t.fx=u[t[0]],t),t=>u[t]):(0,r.jJk)(a,t=>(t.fy=c[t[0]],t),t=>c[t])}function l(t,n,e){let{marginTop:r,marginLeft:i}=e;return t&&n?e=>{let{x:o,y:a}=e;return"translate(".concat(t(o)-i,",").concat(n(a)-r,")")}:t?n=>{let{x:e}=n;return"translate(".concat(t(e)-i,",0)")}:t=>{let{y:e}=t;return"translate(0,".concat(n(e)-r,")")}}function f(t){let n=[],e=new Uint32Array((0,r.Smz)(t,t=>t.length));for(let r of t){let i=0;for(let n of t)r!==n&&(e.set(n,i),i+=n.length);n.push(e.slice(0,i))}return n}let s=new Map([["top",b],["right",w],["bottom",m],["left",y],["top-left",x(b,y)],["top-right",x(b,w)],["bottom-left",x(m,y)],["bottom-right",x(m,w)],["top-empty",function(t,n,e){let{y:r}=n,{x:i,y:o,empty:a}=e;if(a)return!1;if(!r)return;let u=g(r,o);if(u>0)return v(t,i,r[u-1])}],["right-empty",function(t,n,e){let{x:r}=n,{x:i,y:o,empty:a}=e;if(a)return!1;if(!r)return;let u=g(r,i);if(u0)return v(t,r[u-1],o)}],["empty",function(t,n,e){let{empty:r}=e;return r}]]);function d(t){if(null==t)return null;let n=s.get("".concat(t).toLowerCase());if(n)return n;throw Error("invalid facet anchor: ".concat(t))}let h=new WeakMap;function p(t){let n=h.get(t);return n||h.set(t,n=new r.Ljd((0,i.UI)(t,(t,n)=>[t,n]))),n}function g(t,n){return p(t).get(n)}function v(t,n,e){var r,o,a;return null===(o=n,a=e,o=(0,i.mM)(o),a=(0,i.mM)(a),r=t.find(t=>Object.is((0,i.mM)(t.x),o)&&Object.is((0,i.mM)(t.y),a)))||void 0===r?void 0:r.empty}function b(t,n,e){let{y:r}=n,{y:i}=e;return!r||0===g(r,i)}function m(t,n,e){let{y:r}=n,{y:i}=e;return!r||g(r,i)===r.length-1}function y(t,n,e){let{x:r}=n,{x:i}=e;return!r||0===g(r,i)}function w(t,n,e){let{x:r}=n,{x:i}=e;return!r||g(r,i)===r.length-1}function x(t,n){return function(){return t.apply(null,arguments)&&n.apply(null,arguments)}}function _(t,n){let{channels:{fx:e,fy:r},groups:i}=n;return e&&r?t.map(t=>{var n,e;let{x:r,y:o}=t;return null!==(e=null===(n=i.get(r))||void 0===n?void 0:n.get(o))&&void 0!==e?e:[]}):e?t.map(t=>{var n;let{x:e}=t;return null!==(n=i.get(e))&&void 0!==n?n:[]}):t.map(t=>{var n;let{y:e}=t;return null!==(n=i.get(e))&&void 0!==n?n:[]})}},4740:function(t,n,e){function r(t,n){return"".concat(t).padStart(n,"0")}e.d(n,{HI:function(){return u}});var i=e(3262);function o(t){let n,e;return function(){for(var r=arguments.length,i=Array(r),o=0;ot!==i[n]))&&(e=i,n=t(...i)),n}}let a=o(t=>new Intl.NumberFormat(t));o((t,n)=>new Intl.DateTimeFormat(t,{timeZone:"UTC",...n&&{month:n}})),o((t,n)=>new Intl.DateTimeFormat(t,{timeZone:"UTC",...n&&{weekday:n}}));let u=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US",n=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US",n=a(t);return t=>null==t||isNaN(t)?void 0:n.format(t)}(t);return t=>(t instanceof Date?function(t){return function(t,n){var e;if(t instanceof Date||(t=new Date(+t)),isNaN(t))return"function"==typeof n?n(t):n;let i=t.getUTCHours(),o=t.getUTCMinutes(),a=t.getUTCSeconds(),u=t.getUTCMilliseconds();return"".concat((e=t.getUTCFullYear())<0?"-".concat(r(-e,6)):e>9999?"+".concat(r(e,6)):r(e,4),"-").concat(r(t.getUTCMonth()+1,2),"-").concat(r(t.getUTCDate(),2)).concat(i||o||a||u?"T".concat(r(i,2),":").concat(r(o,2)).concat(a||u?":".concat(r(a,2)).concat(u?".".concat(r(u,3)):""):"","Z"):"")}(t,"Invalid Date")}:"number"==typeof t?n:i.Z_)(t)}()},9148:function(t,n,e){e.d(n,{D7:function(){return s},NF:function(){return f},TT:function(){return l},cx:function(){return c},rt:function(){return d}});var r=e(2626),i=e(8560),o=e(3874);let a=new WeakMap;function u(t,n){let{x:e,y:u,px:c,py:l,maxRadius:f=40,channels:h,render:p,...g}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f=+f,null!=c&&(null!=e||(e=null),h={...h,px:{value:c,scale:"x"}}),null!=l&&(null!=u||(u=null),h={...h,py:{value:l,scale:"y"}}),{x:e,y:u,channels:h,...g,render:(0,i.U6)(function(e,i,u,c,l,h){let p,g,v,b,m;let y=(l={...l,pointerSticky:!1}).ownerSVGElement,{data:w}=l.getMarkState(this),x=a.get(y);x||a.set(y,x={sticky:!1,roots:[],renders:[]});let _=x.renders.push(I)-1,{x:M,y:k,fx:E,fy:A}=i,T=E?E(e.fx)-c.marginLeft:0,C=A?A(e.fy)-c.marginTop:0;(null==M?void 0:M.bandwidth)&&(T+=M.bandwidth()/2),(null==k?void 0:k.bandwidth)&&(C+=k.bandwidth()/2);let S=null!=e.fi;if(S){let t=x.facetStates;t||(x.facetStates=t=new Map),(p=t.get(this))||t.set(this,p=new Map)}let[N,D]=(0,o.fs)(this,c),{px:L,py:U}=u,R=L?t=>L[t]:s(u,N),O=U?t=>U[t]:d(u,D);function F(t,n){if(S){if(m&&(m=cancelAnimationFrame(m)),null==t)p.delete(e.fi);else{p.set(e.fi,n),m=requestAnimationFrame(()=>{for(let[r,i]of(m=null,p))if(i1||l.dispatchValue(null==g?null:w[g]),r}function j(i){if(x.sticky||"mouse"===i.pointerType&&1===i.buttons)return;let[o,a]=(0,r.cx$)(i);o-=T,a-=C;let u=oc.width-c.marginRight?1:t,l=ac.height-c.marginBottom?1:n,s=null,d=f*f;for(let t of e){let n=u*(R(t)-o),e=l*(O(t)-a),r=n*n+e*e;r<=d&&(s=t,d=r)}if(null!=s&&(1!==t||1!==n)){let t=R(s)-o,n=O(s)-a;d=t*t+n*n}F(s,d)}return y.addEventListener("pointerenter",j),y.addEventListener("pointermove",j),y.addEventListener("pointerdown",function(t){"mouse"===t.pointerType&&null!=g&&(x.sticky&&x.roots.some(n=>null==n?void 0:n.contains(t.target))||(x.sticky?(x.sticky=!1,x.renders.forEach(t=>t(null))):(x.sticky=!0,I(g)),t.stopImmediatePropagation()))}),y.addEventListener("pointerleave",function(t){"mouse"!==t.pointerType||x.sticky||F(null)}),I(null)},p)}}function c(t){return u(1,1,t)}function l(t){return u(1,.01,t)}function f(t){return u(.01,1,t)}function s(t,n){let{x1:e,x2:r,x:i=e}=t;return e&&r?t=>(e[t]+r[t])/2:i?t=>i[t]:()=>n}function d(t,n){let{y1:e,y2:r,y:i=e}=t;return e&&r?t=>(e[t]+r[t])/2:i?t=>i[t]:()=>n}},8560:function(t,n,e){e.d(n,{EI:function(){return s},U6:function(){return d},so:function(){return h},vc:function(){return f}});var r=e(9511),i=e(3664),o=e(2239),a=e(3262),u=e(1546),c=e(3874),l=e(7757);class f{initialize(t,n,e){let i=(0,a.lE)(this.data);void 0===t&&null!=i&&(t=[(0,a.w6)(i)]);let o=t;null!=this.transform&&({facets:t,data:i}=this.transform(i,t,e),i=(0,a.lE)(i)),void 0!==t&&(t.original=o);let u=(0,r.QP)(this.channels,i);return null!=this.sort&&(0,r.uT)(i,t,u,n,this.sort),{data:i,facets:t,channels:u}}filter(t,n,e){for(let r in n){let{filter:o=i.ri}=n[r];if(null!==o){let n=e[r];t=t.filter(t=>o(n[t]))}}return t}project(t,n,e){for(let r in t)if("x"===t[r].scale&&/^x|x$/.test(r)){let i=r.replace(/^x|x$/,"y");i in t&&"y"===t[i].scale&&(0,u.iV)(r,i,n,e.projection)}}scale(t,n,e){let i=(0,r.iy)(t,n);return e.projection&&this.project(t,i,e),i}constructor(t,n={},e={},r){let{facet:i="auto",facetAnchor:u,fx:f,fy:s,sort:h,dx:p=0,dy:g=0,margin:v=0,marginTop:b=v,marginRight:m=v,marginBottom:y=v,marginLeft:w=v,clip:x=null==r?void 0:r.clip,channels:_,tip:M,render:k}=e;if(this.data=t,this.sort=(0,a.Y4)(h)?h:null,this.initializer=(0,l.zj)(e).initializer,this.transform=this.initializer?e.transform:(0,l.RB)(e).transform,null===i||!1===i?this.facet=null:(this.facet=(0,a.$E)(!0===i?"include":i,"facet",["auto","include","exclude","super"]),this.fx=t===a.ri&&"string"==typeof f?[f]:f,this.fy=t===a.ri&&"string"==typeof s?[s]:s),this.facetAnchor=(0,o.lv)(u),n=(0,a.xk)(n),void 0!==_&&(n={...Object.fromEntries(Object.entries((0,a.xk)(_)).map(t=>{let[n,e]=t;return void 0===(e="string"==typeof e?{value:e,label:n}:(0,a.i)(e)).filter&&null==e.scale&&(e={...e,filter:null}),[n,e]})),...n}),void 0!==r&&(n={...(0,c.W2)(this,e,r),...n}),this.channels=Object.fromEntries(Object.entries(n).map(n=>{let[e,r]=n;if((0,a.wq)(r.value)){let{value:t,label:n=r.label,scale:e=r.scale}=r.value;r={...r,label:n,scale:e,value:t}}if(t===a.ri&&"string"==typeof r.value){let{value:t}=r;r={...r,value:[t]}}return[e,r]}).filter(t=>{let[n,{value:e,optional:r}]=t;if(null!=e)return!0;if(r)return!1;throw Error("missing channel value: ".concat(n))})),this.dx=+p,this.dy=+g,this.marginTop=+b,this.marginRight=+m,this.marginBottom=+y,this.marginLeft=+w,this.clip=(0,c.td)(x),this.tip=!0===M?"xy":!1===M||null==M?null:"string"==typeof M?(0,a.$E)(M,"tip",["x","y","xy"]):M,"super"===this.facet){if(f||s)throw Error("super-faceting cannot use fx or fy");for(let t in this.channels){let{scale:e}=n[t];if("x"===e||"y"===e)throw Error("super-faceting cannot use x or y")}}null!=k&&(this.render=d(k,this.render))}}function s(){for(var t=arguments.length,n=Array(t),e=0;en.call(this,t,e,r,i,o,u))}}function h(t,n){return(null==t?void 0:t.tip)===!0?{...t,tip:n}:(0,a.Kn)(null==t?void 0:t.tip)&&void 0===t.tip.pointer?{...t,tip:{...t.tip,pointer:n}}:t}},8896:function(t,n,e){e.d(n,{o4:function(){return f}});var r=e(3262),i=e(3874),o=e(2700),a=e(8560);class u extends a.vc{render(t,n,e,r,a){let{rx:u,ry:c}=this;return(0,o.U)("svg:g",a).call(i.dD,this,r,a).call(this._transform,this,n).call(o=>o.selectAll().data(t).enter().append("rect").call(i.CU,this).attr("x",this._x(n,e,r)).attr("width",this._width(n,e,r)).attr("y",this._y(n,e,r)).attr("height",this._height(n,e,r)).call(i.HD,"rx",u).call(i.HD,"ry",c).call(i.Cp,this,e)).node()}_x(t,n,e){let{x:r}=n,{marginLeft:i}=e,{insetLeft:o}=this;return r?t=>r[t]+o:i+o}_y(t,n,e){let{y:r}=n,{marginTop:i}=e,{insetTop:o}=this;return r?t=>r[t]+o:i+o}_width(t,n,e){let{x:r}=t,{x:i}=n,{marginRight:o,marginLeft:a,width:u}=e,{insetLeft:c,insetRight:l}=this;return Math.max(0,(i&&r?r.bandwidth():u-o-a)-c-l)}_height(t,n,e){let{y:r}=t,{y:i}=n,{marginTop:o,marginBottom:a,height:u}=e,{insetTop:c,insetBottom:l}=this;return Math.max(0,(i&&r?r.bandwidth():u-o-a)-c-l)}constructor(t,n,e={},o){super(t,n,e,o);let{inset:a=0,insetTop:u=a,insetRight:c=a,insetBottom:l=a,insetLeft:f=a,rx:s,ry:d}=e;this.insetTop=(0,r.Rx)(u),this.insetRight=(0,r.Rx)(c),this.insetBottom=(0,r.Rx)(l),this.insetLeft=(0,r.Rx)(f),this.rx=(0,i.J4)(s,"auto"),this.ry=(0,i.J4)(d,"auto")}}let c={ariaLabel:"cell"};class l extends u{_transform(t,n){t.call(i.Ne,n,{},0,0)}constructor(t,{x:n,y:e,...r}={}){super(t,{x:{value:n,scale:"x",type:"band",optional:!0},y:{value:e,scale:"y",type:"band",optional:!0}},r,c)}}function f(t){let{x:n,y:e,...i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[n,e]=(0,r.NK)(n,e),new l(t,{...i,x:n,y:e})}},3183:function(t,n,e){e.d(n,{uG:function(){return l}});var r=e(9511),i=e(9148),o=e(8560),a=e(7757),u=e(4024),c=e(4465);function l(t,n){return function(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{x:r,y:i,maxRadius:a}=e,l=t({px:r,py:i,maxRadius:a}),f=[];for(let t of(null!=r&&f.push((0,u.mc)(n,s("x",{...l,inset:-6},e))),null!=i&&f.push((0,u.VD)(n,s("y",{...l,inset:-6},e))),null!=r&&f.push((0,c.fL)(n,d("x",{...l,dy:9,frameAnchor:"bottom",lineAnchor:"top"},e))),null!=i&&f.push((0,c.fL)(n,d("y",{...l,dx:-9,frameAnchor:"left",textAnchor:"end"},e))),f))t.ariaLabel="crosshair ".concat(t.ariaLabel);return(0,o.EI)(...f)}(i.cx,t,n)}function f(t,n,e){let{channels:r,...i}=n,{facet:o,facetAnchor:a,fx:u,fy:c,[t]:l,channels:f,transform:s,initializer:d}=e;return{...i,facet:o,facetAnchor:a,fx:u,fy:c,[t]:l,channels:{...r,...f},transform:s,initializer:null==d?d:function(n,e,r){let{x:i,y:o,px:a,py:u,...c}=r;for(var l=arguments.length,f=Array(l>3?l-3:0),s=3;s{var o;return{channels:{text:{value:null===(o=(0,r.b5)(i,t))||void 0===o?void 0:o.value}}}})),fill:o,fillOpacity:u,stroke:c,strokeOpacity:l,strokeWidth:s}}},4011:function(t,n,e){e.d(n,{h:function(){return d}});var r=e(2626),i=e(2700),o=e(8560),a=e(3262),u=e(1546),c=e(3874),l=e(7757);let f={ariaLabel:"density",fill:"none",stroke:"currentColor",strokeMiterlimit:1};class s extends o.vc{filter(t){return t}render(t,n,e,o,a){let{contours:u}=e,l=(0,r.l49)();return(0,i.U)("svg:g",a).call(c.dD,this,o,a).call(c.Ne,this,{}).call(n=>n.selectAll().data(t).enter().append("path").call(c.CU,this).call(c.Cp,this,e).attr("d",t=>l(u[t]))).node()}constructor(t,{x:n,y:e,z:i,weight:o,fill:s,stroke:d,...g}={}){let v=p(s)&&(s="currentColor",!0),b=p(d)&&(d="currentColor",!0);super(t,{x:{value:n,scale:"x",optional:!0},y:{value:e,scale:"y",optional:!0},z:{value:(0,a.iJ)({z:i,fill:s,stroke:d}),optional:!0},weight:{value:o,optional:!0}},function(t,n,e){let{bandwidth:i,thresholds:o}=t;return i=void 0===i?20:+i,o=void 0===o?20:"function"==typeof(null==o?void 0:o[Symbol.iterator])?(0,a.k8)(o):+o,(0,l.zj)(t,function(t,l,f,s,d,p){var g;let v=f.weight?(0,a.k8)(f.weight.value):null,b=null===(g=f.z)||void 0===g?void 0:g.value,{z:m}=this,[y,w]=(0,c.fs)(this,d),{width:x,height:_}=d,{x:M,y:k}=(0,u.Q9)(f,s,p),E=Object.fromEntries(Object.entries(f).filter(t=>{let[n]=t;return!h.has(n)}).map(t=>{let[n,e]=t;return[n,{...e,value:[]}]})),A=n&&[],T=e&&[],C=(0,r._K_)().x(M?t=>M[t]:y).y(k?t=>k[t]:w).weight(v?t=>v[t]:1).size([x,_]).bandwidth(i),S=[];for(let t of l){let n=[];for(let e of(S.push(n),b?(0,c.J_)(t,b,m):[t])){let t=C.contours(e);n.push([e,t])}}let N=o;if(!(N instanceof a.c9)){let t=0;for(let n of S)for(let[,e]of n){let n=e.max;n>t&&(t=n)}N=Float64Array.from({length:o-1},(n,e)=>100*t*(e+1)/o)}let D=[],L=[];for(let t of S){let n=[];for(let[e,r]of(D.push(n),t))for(let t of N)for(let i in n.push(L.length),L.push(r(t/100)),A&&A.push(t),T&&T.push(t),E)E[i].value.push(f[i].value[e[0]])}return A&&A.push(0),T&&T.push(0),{data:t,facets:D,channels:{...E,...A&&{fill:{value:A,scale:"color"}},...T&&{stroke:{value:T,scale:"color"}},contours:{value:L}}}})}({...g,fill:s,stroke:d},v,b),f),v&&(this.fill=void 0),b&&(this.stroke=void 0),this.z=i}}function d(t){let{x:n,y:e,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[n,e]=(0,a.NK)(n,e),new s(t,{...r,x:n,y:e})}let h=new Set(["x","y","z","weight"]);function p(t){return/^density$/i.test(t)}},4024:function(t,n,e){e.d(n,{mc:function(){return x},VD:function(){return _}});var r=e(2700),i=e(8560);function o(t){let{marker:n,markerStart:e=n,markerMid:r=n,markerEnd:i=n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.markerStart=a(e),t.markerMid=a(r),t.markerEnd=a(i)}function a(t){if(null==t||!1===t)return null;if(!0===t)return l;if("function"==typeof t)return t;switch("".concat(t).toLowerCase()){case"none":return null;case"arrow":return u("auto");case"arrow-reverse":return u("auto-start-reverse");case"dot":return c;case"circle":case"circle-fill":return l;case"circle-stroke":return f;case"tick":return s("auto");case"tick-x":return s(90);case"tick-y":return s(0)}throw Error("invalid marker: ".concat(t))}function u(t){return(n,e)=>(0,r.U)("svg:marker",e).attr("viewBox","-5 -5 10 10").attr("markerWidth",6.67).attr("markerHeight",6.67).attr("orient",t).attr("fill","none").attr("stroke",n).attr("stroke-width",1.5).attr("stroke-linecap","round").attr("stroke-linejoin","round").call(t=>t.append("path").attr("d","M-1.5,-3l3,3l-3,3")).node()}function c(t,n){return(0,r.U)("svg:marker",n).attr("viewBox","-5 -5 10 10").attr("markerWidth",6.67).attr("markerHeight",6.67).attr("fill",t).attr("stroke","none").call(t=>t.append("circle").attr("r",2.5)).node()}function l(t,n){return(0,r.U)("svg:marker",n).attr("viewBox","-5 -5 10 10").attr("markerWidth",6.67).attr("markerHeight",6.67).attr("fill",t).attr("stroke","var(--plot-background)").attr("stroke-width",1.5).call(t=>t.append("circle").attr("r",3)).node()}function f(t,n){return(0,r.U)("svg:marker",n).attr("viewBox","-5 -5 10 10").attr("markerWidth",6.67).attr("markerHeight",6.67).attr("fill","var(--plot-background)").attr("stroke",t).attr("stroke-width",1.5).call(t=>t.append("circle").attr("r",3)).node()}function s(t){return(n,e)=>(0,r.U)("svg:marker",e).attr("viewBox","-3 -3 6 6").attr("markerWidth",6).attr("markerHeight",6).attr("orient",t).attr("stroke",n).call(t=>t.append("path").attr("d","M0,-3v6")).node()}let d=0;function h(t,n,e,r){let{stroke:i}=e;return function(t,n){let{markerStart:e,markerMid:r,markerEnd:i,stroke:o}=n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>o,u=arguments.length>3?arguments[3]:void 0,c=new Map;function l(t){return function(n){let e=a(n),r=c.get(t);r||c.set(t,r=new Map);let i=r.get(e);if(!i){let n=this.parentNode.insertBefore(t(e,u),this),o="plot-marker-".concat(++d);n.setAttribute("id",o),r.set(e,i="url(#".concat(o,")"))}return i}}e&&t.attr("marker-start",l(e)),r&&t.attr("marker-mid",l(r)),i&&t.attr("marker-end",l(i))}(t,n,i&&(t=>i[t]),r)}var p=e(3262),g=e(5049),v=e(3874),b=e(218);let m={ariaLabel:"rule",fill:null,stroke:"currentColor"};class y extends i.vc{render(t,n,e,i,o){let{x:a,y:u}=n,{x:c,y1:l,y2:f}=e,{width:s,height:d,marginTop:p,marginRight:b,marginLeft:m,marginBottom:y}=i,{insetTop:w,insetBottom:x}=this;return(0,r.U)("svg:g",o).call(v.dD,this,i,o).call(v.Ne,this,{x:c&&a},v.cv,0).call(n=>n.selectAll().data(t).enter().append("line").call(v.CU,this).attr("x1",c?t=>c[t]:(m+s-b)/2).attr("x2",c?t=>c[t]:(m+s-b)/2).attr("y1",l&&!(0,g.zb)(u)?t=>l[t]+w:p+w).attr("y2",f&&!(0,g.zb)(u)?u.bandwidth?t=>f[t]+u.bandwidth()-x:t=>f[t]-x:d-y-x).call(v.Cp,this,e).call(h,this,e,o)).node()}constructor(t,n={}){let{x:e,y1:r,y2:a,inset:u=0,insetTop:c=u,insetBottom:l=u}=n;super(t,{x:{value:e,scale:"x",optional:!0},y1:{value:r,scale:"y",optional:!0},y2:{value:a,scale:"y",optional:!0}},(0,i.so)(n,"x"),m),this.insetTop=(0,p.Rx)(c),this.insetBottom=(0,p.Rx)(l),o(this,n)}}class w extends i.vc{render(t,n,e,i,o){let{x:a,y:u}=n,{y:c,x1:l,x2:f}=e,{width:s,height:d,marginTop:p,marginRight:b,marginLeft:m,marginBottom:y}=i,{insetLeft:w,insetRight:x}=this;return(0,r.U)("svg:g",o).call(v.dD,this,i,o).call(v.Ne,this,{y:c&&u},0,v.cv).call(n=>n.selectAll().data(t).enter().append("line").call(v.CU,this).attr("x1",l&&!(0,g.zb)(a)?t=>l[t]+w:m+w).attr("x2",f&&!(0,g.zb)(a)?a.bandwidth?t=>f[t]+a.bandwidth()-x:t=>f[t]-x:s-b-x).attr("y1",c?t=>c[t]:(p+d-y)/2).attr("y2",c?t=>c[t]:(p+d-y)/2).call(v.Cp,this,e).call(h,this,e,o)).node()}constructor(t,n={}){let{x1:e,x2:r,y:a,inset:u=0,insetRight:c=u,insetLeft:l=u}=n;super(t,{y:{value:a,scale:"y",optional:!0},x1:{value:e,scale:"x",optional:!0},x2:{value:r,scale:"x",optional:!0}},(0,i.so)(n,"y"),m),this.insetRight=(0,p.Rx)(c),this.insetLeft=(0,p.Rx)(l),o(this,n)}}function x(t,n){let{x:e=p.yR,y:r,y1:i,y2:o,...a}=(0,b.HE)(n);return[i,o]=M(r,i,o),new y(t,{...a,x:e,y1:i,y2:o})}function _(t,n){let{y:e=p.yR,x:r,x1:i,x2:o,...a}=(0,b.ut)(n);return[i,o]=M(r,i,o),new w(t,{...a,y:e,x1:i,x2:o})}function M(t,n,e){if(null==t){if(void 0===n){if(void 0!==e)return[0,e]}else if(void 0===e)return[0,n]}else if(void 0===n)return void 0===e?[0,t]:[t,e];else if(void 0===e)return[t,n];return[n,e]}},4465:function(t,n,e){e.d(n,{CW:function(){return x},LH:function(){return C},Ve:function(){return T},fL:function(){return m},g9:function(){return k},pL:function(){return E},qU:function(){return w},tl:function(){return v},vt:function(){return A},z7:function(){return S},zP:function(){return y}});var r=e(6093),i=e(2626),o=e(2700),a=e(3664),u=e(4740),c=e(8560),l=e(3262),f=e(3874),s=e(6614),d=e(218);function h(){let t=(0,r._)(["translate(",",",")",""]);return h=function(){return t},t}let p={ariaLabel:"text",strokeLinejoin:"round",strokeWidth:3,paintOrder:"stroke"};class g extends c.vc{render(t,n,e,r,i){let{x:a,y:u}=n,{x:c,y:l,rotate:d,text:p,title:g,fontSize:v}=e,{rotate:m}=this,[y,w]=(0,f.fs)(this,r);return(0,o.U)("svg:g",i).call(f.dD,this,r,i).call(x,this,p,r).call(f.Ne,this,{x:c&&a,y:l&&u}).call(n=>n.selectAll().data(t).enter().append("text").call(f.CU,this).call(b,this,p,g).attr("transform",(0,s.X)(h(),c?t=>c[t]:y,l?t=>l[t]:w,d?t=>" rotate(".concat(d[t],")"):m?" rotate(".concat(m,")"):"")).call(f.HD,"font-size",v&&(t=>v[t])).call(f.Cp,this,e)).node()}constructor(t,n={}){var e;let{x:r,y:i,text:o=(0,l.TW)(t)&&(0,l.LB)(t)?l.yR:l.cq,frameAnchor:u,textAnchor:c=/right$/i.test(u)?"end":/left$/i.test(u)?"start":"middle",lineAnchor:s=/^top/i.test(u)?"top":/^bottom/i.test(u)?"bottom":"middle",lineHeight:d=1,lineWidth:h=1/0,textOverflow:g,monospace:b,fontFamily:m=b?"ui-monospace, monospace":void 0,fontSize:y,fontStyle:w,fontVariant:x,fontWeight:M,rotate:k}=n,[E,C]=(0,l.g_)(k,0),[S,N]=null==(e=y)||"number"==typeof e?[void 0,e]:"string"!=typeof e?[e,void 0]:(e=e.trim().toLowerCase(),_.has(e)||/^[+-]?\d*\.?\d+(e[+-]?\d+)?(\w*|%)$/.test(e)?[void 0,e]:[e,void 0]);if(super(t,{x:{value:r,scale:"x",optional:!0},y:{value:i,scale:"y",optional:!0},fontSize:{value:S,optional:!0},rotate:{value:(0,l.Fo)(E),optional:!0},text:{value:o,filter:a.PV,optional:!0}},n,p),this.rotate=C,this.textAnchor=(0,f.J4)(c,"middle"),this.lineAnchor=(0,l.$E)(s,"lineAnchor",["top","middle","bottom"]),this.lineHeight=+d,this.lineWidth=+h,this.textOverflow=v(g),this.monospace=!!b,this.fontFamily=(0,l.Z_)(m),this.fontSize=N,this.fontStyle=(0,l.Z_)(w),this.fontVariant=(0,l.Z_)(x),this.fontWeight=(0,l.Z_)(M),this.frameAnchor=(0,l.mV)(u),!(this.lineWidth>=0))throw Error("invalid lineWidth: ".concat(h));this.splitLines=A(this),this.clipLine=T(this)}}function v(t){return null==t?null:(0,l.$E)(t,"textOverflow",["clip","ellipsis","clip-start","clip-end","ellipsis-start","ellipsis-middle","ellipsis-end"]).replace(/^(clip|ellipsis)$/,"$1-end")}function b(t,n,e,r){if(!e)return;let{lineAnchor:o,lineHeight:a,textOverflow:c,splitLines:l,clipLine:f}=n;t.each(function(t){var n;let s=l(null!==(n=(0,u.HI)(e[t]))&&void 0!==n?n:"").map(f),d=s.length,h="top"===o?.71:"bottom"===o?1-d:(164-100*d)/200;if(d>1){let t=0;for(let n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return void 0===r.frameAnchor&&([n,e]=(0,l.NK)(n,e)),new g(t,{...r,x:n,y:e})}function y(t){let{x:n=l.yR,...e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new g(t,(0,d.uW)({...e,x:n}))}function w(t){let{y:n=l.yR,...e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new g(t,(0,d.y6)({...e,y:n}))}function x(t,n,e){(0,f.HD)(t,"text-anchor",n.textAnchor),(0,f.HD)(t,"font-family",n.fontFamily),(0,f.HD)(t,"font-size",n.fontSize),(0,f.HD)(t,"font-style",n.fontStyle),(0,f.HD)(t,"font-variant",void 0===n.fontVariant?e&&((0,l.kE)(e)||(0,l.IC)(e))?"tabular-nums":void 0:n.fontVariant),(0,f.HD)(t,"font-weight",n.fontWeight)}let _=new Set(["inherit","initial","revert","unset","xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","larger","smaller"]),M={a:56,b:63,c:57,d:63,e:58,f:37,g:62,h:60,i:26,j:26,k:55,l:26,m:88,n:60,o:60,p:62,q:62,r:39,s:54,t:38,u:60,v:55,w:79,x:54,y:55,z:55,A:69,B:67,C:73,D:74,E:61,F:58,G:76,H:75,I:28,J:55,K:67,L:58,M:89,N:75,O:78,P:65,Q:78,R:67,S:65,T:65,U:75,V:69,W:98,X:69,Y:67,Z:67,0:64,1:48,2:62,3:64,4:66,5:63,6:65,7:58,8:65,9:65," ":29,"!":32,'"':49,"'":31,"(":39,")":39,",":31,"-":48,".":31,"/":32,":":31,";":31,"?":52,"‘":31,"’":31,"“":47,"”":47,"…":82};function k(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,r=0;for(let o=n;o1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,r=0;for(let i=n;it.split(/\r\n?|\n/g);let i=n?E:k,o=100*e;return t=>(function(t,n,e){let r=[],i,o=0;for(let[a,u,c]of function*(t){let n=0,e=0,r=t.length;for(;ei&&e(t,i,u)>n&&(r.push(t.slice(i,o)+("\xad"===t[o-1]?"-":"")),i=a),c){r.push(t.slice(i,u)),i=void 0;continue}o=u}return r})(t,o,i)}function T(t){let{monospace:n,lineWidth:e,textOverflow:r}=t;if(null==r||e==1/0)return t=>t;let i=n?E:k,o=100*e;switch(r){case"clip-start":return t=>D(t,o,i,"");case"clip-end":return t=>N(t,o,i,"");case"ellipsis-start":return t=>D(t,o,i,C);case"ellipsis-middle":return t=>(function(t,n,e,r){let i=e(t=t.trim());if(i<=n)return t;let o=e(r)/2,[a,u]=S(t,n/2,e,o),[c]=S(t,i-n/2-u+o,e,-o);return c<0?r:t.slice(0,a).trimEnd()+r+t.slice(R(t,c)).trimStart()})(t,o,i,C);case"ellipsis-end":return t=>N(t,o,i,C)}}let C="…";function S(t,n,e,r){let i=[],o=0;for(let a=0,u=0,c=t.length;an){for(o+=r;o>n&&a>0;)u=a,o-=e(t,a=i.pop(),u);return[a,n-o]}o+=c,i.push(a)}return[-1,0]}function N(t,n,e,r){t=t.trim();let i=e(r),[o]=S(t,n,e,i);return o<0?t:t.slice(0,o).trimEnd()+r}function D(t,n,e,r){let i=e(t=t.trim());if(i<=n)return t;let o=e(r),[a]=S(t,i-n+o,e,-o);return a<0?r:r+t.slice(R(t,a)).trimStart()}let L=RegExp("[\\p{Combining_Mark}\\p{Emoji_Modifier}]+","uy"),U=RegExp("\\p{Extended_Pictographic}","uy");function R(t,n){var e,r;return(n+=!function(t,n){let e=t.charCodeAt(n);if(e>=55296&&e<56320){let e=t.charCodeAt(n+1);return e>=56320&&e<57344}return!1}(t,n)?1:2,!O(t,e=n)&&(L.lastIndex=e,L.test(t))&&(n=L.lastIndex),r=n,8205===t.charCodeAt(r))?R(t,n+1):n}function O(t,n){return 128>t.charCodeAt(n)}function F(t,n){return!O(t,n)&&(U.lastIndex=n,U.test(t))}},3262:function(t,n,e){e.d(n,{c9:function(){return c},lE:function(){return U},lh:function(){return T},k8:function(){return E},a9:function(){return M},Ps:function(){return x},yR:function(){return b},cq:function(){return v},ED:function(){return tb},D5:function(){return tl},Y4:function(){return z},N3:function(){return tu},NX:function(){return J},TW:function(){return tt},Wi:function(){return td},U_:function(){return ts},kE:function(){return ta},Hv:function(){return to},Kn:function(){return F},bY:function(){return tf},wq:function(){return j},c$:function(){return te},ZW:function(){return th},n3:function(){return I},IC:function(){return tr},sp:function(){return ti},LB:function(){return tn},mM:function(){return $},$E:function(){return L},Aj:function(){return B},UI:function(){return R},fR:function(){return tp},uw:function(){return S},mV:function(){return tg},yL:function(){return V},Dr:function(){return Z},hU:function(){return D},xk:function(){return tm},RT:function(){return K},g_:function(){return N},rn:function(){return X},NK:function(){return q},i:function(){return G},iJ:function(){return Y},Rx:function(){return w},Fo:function(){return Q},YY:function(){return tv},Pe:function(){return k},w6:function(){return W},E0:function(){return _},ri:function(){return p},tP:function(){return O},Z_:function(){return y},ON:function(){return H},qn:function(){return P},dj:function(){return s},co:function(){return m}});var r=e(2626);let i=/^(?:[-+]\d{2})?\d{4}(?:-\d{2}(?:-\d{2})?)?(?:T\d{2}:\d{2}(?::\d{2}(?:\.\d{3})?)?(?:Z|[-+]\d{2}:?\d{2})?)?$/;function o(t,n){return i.test(t+="")?new Date(t):"function"==typeof n?n(t):n}var a=e(3664),u=e(7732);let c=Object.getPrototypeOf(Uint8Array),l=Object.prototype.toString,f=Symbol("reindex");function s(t,n,e){var r,i;let o=typeof n;return"string"===o?d(t,g(n),e):"function"===o?d(t,n,e):"number"===o||n instanceof Date||"boolean"===o?R(t,M(n),e):"function"==typeof(null==n?void 0:n.transform)?h(n.transform(t),e):(r=h(n,e),(i=null==t?void 0:t[f])?P(r,i):r)}function d(t,n,e){return R(t,(null==e?void 0:e.prototype)instanceof c?(t,e)=>A(n(t,e)):n,e)}function h(t,n){return void 0===n?U(t):t instanceof n?t:n.prototype instanceof c&&!(t instanceof c)?n.from(t,A):n.from(t)}let p=[null],g=t=>n=>n[t],v={transform:W},b={transform:t=>t},m=()=>!0,y=t=>null==t?t:"".concat(t),w=t=>null==t?t:+t,x=t=>t?t[0]:void 0,_=t=>t?t[1]:void 0,M=t=>()=>t;function k(t){let n=+"".concat(t).slice(1)/100;return(t,e)=>(0,r.VRg)(t,n,e)}function E(t){return t instanceof c?t:R(t,A,Float64Array)}function A(t){return null==t?NaN:Number(t)}function T(t){return R(t,C)}function C(t){return t instanceof Date&&!isNaN(t)?t:"string"==typeof t?o(t):null==t||isNaN(t=+t)?void 0:new Date(t)}function S(t,n){return void 0===t&&(t=n),null===t?[void 0,"none"]:tl(t)?[void 0,t]:[t,void 0]}function N(t,n){return void 0===t&&(t=n),null===t||"number"==typeof t?[void 0,t]:[t,void 0]}function D(t,n,e){if(null!=t)return L(t,n,e)}function L(t,n,e){let r="".concat(t).toLowerCase();if(!e.includes(r))throw Error("invalid ".concat(n,": ").concat(t));return r}function U(t){return null==t||t instanceof Array||t instanceof c?t:Array.from(t)}function R(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Array;return null==t?t:t instanceof e?t.map(n):e.from(t,n)}function O(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Array;return t instanceof n?t.slice():n.from(t)}function F(t){return(null==t?void 0:t.toString)===l}function I(t){return F(t)&&(void 0!==t.type||void 0!==t.domain)}function j(t){return F(t)&&"function"!=typeof t.transform}function z(t){return j(t)&&void 0===t.value&&void 0===t.channel}function q(t,n){return void 0===t&&void 0===n?[x,_]:[t,n]}function Y(){let{z:t,fill:n,stroke:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return void 0===t&&([t]=S(n)),void 0===t&&([t]=S(e)),t}function W(t){let n=t.length,e=new Uint32Array(n);for(let t=0;tt[n],t.constructor)}function H(t,n,e){return t.subarray?t.subarray(n,e):t.slice(n,e)}function $(t){return null!==t&&"object"==typeof t?t.valueOf():t}function B(t,n){return"string"==typeof t?t:t&&void 0!==t.label?t.label:n}function Z(t,n){let e=V(t,n);return e&&(t=>(0,a.ri)(t)?e.floor(t):t)}function V(t,n){if(null!=t){if("number"==typeof t){0Math.floor(t*n)/n,offset:t=>(t*n+1)/n,range:(t,e)=>(0,r.w6H)(Math.ceil(t*n),e*n).map(t=>t/n)}:{floor:t=>Math.floor(t/n)*n,offset:t=>t+n,range:(t,e)=>(0,r.w6H)(Math.ceil(t/n),e/n).map(t=>t*n)}}if("string"==typeof t)return("time"===n?u.lg:u.I4)(t);if("function"!=typeof t.floor)throw Error("invalid interval; missing floor method");if("function"!=typeof t.offset)throw Error("invalid interval; missing offset method");return t}}function X(t,n){if((t=V(t,n))&&"function"!=typeof t.range)throw Error("invalid interval: missing range method");return t}function K(t,n){if((t=X(t,n))&&"function"!=typeof t.ceil)throw Error("invalid interval: missing ceil method");return t}function J(t){return"function"==typeof(null==t?void 0:t.range)}function G(t){return void 0===t||j(t)?t:{value:t}}function Q(t){return null==t?null:{transform:n=>s(n,t,Float64Array),label:B(t)}}function tt(t){return t&&"function"==typeof t[Symbol.iterator]}function tn(t){for(let n of t)if(null!=n)return"object"!=typeof n||n instanceof Date}function te(t){for(let n of t){if(null==n)continue;let t=typeof n;return"string"===t||"boolean"===t}}function tr(t){for(let n of t)if(null!=n)return n instanceof Date}function ti(t){for(let n of t)if(null!=n)return"string"==typeof n&&isNaN(n)&&o(n)}function to(t){for(let n of t)if(null!=n){if("string"!=typeof n)return!1;if(n.trim())return!isNaN(n)}}function ta(t){for(let n of t)if(null!=n)return"number"==typeof n}function tu(t,n){let e;for(let r of t)if(null!=r){if(!n(r))return!1;e=!0}return e}let tc=new Set("none,currentcolor,transparent,aliceblue,antiquewhite,aqua,aquamarine,azure,beige,bisque,black,blanchedalmond,blue,blueviolet,brown,burlywood,cadetblue,chartreuse,chocolate,coral,cornflowerblue,cornsilk,crimson,cyan,darkblue,darkcyan,darkgoldenrod,darkgray,darkgreen,darkgrey,darkkhaki,darkmagenta,darkolivegreen,darkorange,darkorchid,darkred,darksalmon,darkseagreen,darkslateblue,darkslategray,darkslategrey,darkturquoise,darkviolet,deeppink,deepskyblue,dimgray,dimgrey,dodgerblue,firebrick,floralwhite,forestgreen,fuchsia,gainsboro,ghostwhite,gold,goldenrod,gray,green,greenyellow,grey,honeydew,hotpink,indianred,indigo,ivory,khaki,lavender,lavenderblush,lawngreen,lemonchiffon,lightblue,lightcoral,lightcyan,lightgoldenrodyellow,lightgray,lightgreen,lightgrey,lightpink,lightsalmon,lightseagreen,lightskyblue,lightslategray,lightslategrey,lightsteelblue,lightyellow,lime,limegreen,linen,magenta,maroon,mediumaquamarine,mediumblue,mediumorchid,mediumpurple,mediumseagreen,mediumslateblue,mediumspringgreen,mediumturquoise,mediumvioletred,midnightblue,mintcream,mistyrose,moccasin,navajowhite,navy,oldlace,olive,olivedrab,orange,orangered,orchid,palegoldenrod,palegreen,paleturquoise,palevioletred,papayawhip,peachpuff,peru,pink,plum,powderblue,purple,rebeccapurple,red,rosybrown,royalblue,saddlebrown,salmon,sandybrown,seagreen,seashell,sienna,silver,skyblue,slateblue,slategray,slategrey,snow,springgreen,steelblue,tan,teal,thistle,tomato,turquoise,violet,wheat,white,whitesmoke,yellow".split(","));function tl(t){return"string"==typeof t&&(t=t.toLowerCase().trim(),/^#[0-9a-f]{3,8}$/.test(t)||/^(?:url|var|rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\(.*\)$/.test(t)||tc.has(t))}function tf(t){return"number"==typeof t&&(0<=t&&t<=1||isNaN(t))}function ts(t){return null==t||td(t)}function td(t){return/^\s*none\s*$/i.test(t)}function th(t){return/^\s*round\s*$/i.test(t)}function tp(t,n){return D(t,n,["middle","top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"])}function tg(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"middle";return tp(t,"frameAnchor")}function tv(t){if(null==t)return;let n=t[0],e=t[t.length-1];return(0,r.$1i)(n,e)}function tb(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r{let{name:e}=t;if(null==e)throw Error("missing name");let r="".concat(e);if("__proto__"===r)throw Error("illegal name: ".concat(r));if(n.has(r))throw Error("duplicate name: ".concat(r));return n.add(r),[e,t]}))}(t):t}},4958:function(t,n,e){e.d(n,{g:function(){return tL}});var r,i,o=e(2626),a=e(9511),u=e(2700),c=e(1546),l=e(5049),f=e(3874);function s(t,n){let e;if(!n)throw Error("aspectRatio requires ".concat(t," scale"));let{type:r,domain:i}=n;switch(r){case"linear":case"utc":case"time":e=Number;break;case"pow":{let t=n.scale.exponent();e=n=>Math.pow(n,t);break}case"log":e=Math.log;break;case"point":case"band":return i.length;default:throw Error("unsupported ".concat(t," scale for aspectRatio: ").concat(r))}let[a,u]=(0,o.Wem)(i);return Math.abs(e(u)-e(a))}var d=e(2239),h=e(9148);function p(t){return(0,l.a3)(t)&&void 0===t.interval?void 0:"tabular-nums"}var g=e(3262),v=e(2922),b=e(4740),m=e(8560);let y=Math.PI/180;var w=e(7732),x=e(7757),_=e(7143),M=e(4024),k=e(4465),E=e(6093),A=e(6614);function T(){let t=(0,E._)(["translate(",",",")","",""]);return T=function(){return t},t}let C={ariaLabel:"vector",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinejoin:"round",strokeLinecap:"round"},S={draw(t,n,e){let r=n*e/17.5;t.moveTo(0,0),t.lineTo(0,-n),t.moveTo(-r,r-n),t.lineTo(0,-n),t.lineTo(r,r-n)}},N=new Map([["arrow",S],["spike",{draw(t,n,e){t.moveTo(-e,0),t.lineTo(0,-n),t.lineTo(e,0)}}]]);class D extends m.vc{render(t,n,e,r,i){let{x:a,y:c}=n,{x:l,y:s,length:d,rotate:h}=e,{length:p,rotate:g,anchor:v,shape:b,r:m}=this,[y,w]=(0,f.fs)(this,r);return(0,u.U)("svg:g",i).call(f.dD,this,r,i).call(f.Ne,this,{x:l&&a,y:s&&c}).call(n=>n.selectAll().data(t).enter().append("path").call(f.CU,this).attr("transform",(0,A.X)(T(),l?t=>l[t]:y,s?t=>s[t]:w,h?t=>" rotate(".concat(h[t],")"):g?" rotate(".concat(g,")"):"","start"===v?"":"end"===v?d?t=>" translate(0,".concat(d[t],")"):" translate(0,".concat(p,")"):d?t=>" translate(0,".concat(d[t]/2,")"):" translate(0,".concat(p/2,")"))).attr("d",d?t=>{let n=(0,o.xKz)();return b.draw(n,d[t],m),n}:(()=>{let t=(0,o.xKz)();return b.draw(t,p,m),t})()).call(f.Cp,this,e)).node()}constructor(t,n={}){let{x:e,y:r,r:i=3.5,length:o,rotate:a,shape:u=S,anchor:c="middle",frameAnchor:l}=n,[f,s]=(0,g.g_)(o,12),[d,h]=(0,g.g_)(a,0);super(t,{x:{value:e,scale:"x",optional:!0},y:{value:r,scale:"y",optional:!0},length:{value:f,scale:"length",optional:!0},rotate:{value:d,optional:!0}},n,C),this.r=+i,this.length=s,this.rotate=h,this.shape=function(t){if(t&&"function"==typeof t.draw)return t;let n=N.get("".concat(t).toLowerCase());if(n)return n;throw Error("invalid shape: ".concat(t))}(u),this.anchor=(0,g.$E)(c,"anchor",["start","middle","end"]),this.frameAnchor=(0,g.mV)(l)}}function L(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{x:e=g.yR,...r}=n;return new D(t,{...r,x:e})}function U(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{y:e=g.yR,...r}=n;return new D(t,{...r,y:e})}function R(t,n){return arguments.length<2&&!(0,g.TW)(t)&&(n=t,t=null),void 0===n&&(n={}),[t,n]}function O(){let{anchor:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return void 0===t?n[0]:(0,g.$E)(t,"anchor",n)}function F(t){return O(t,["left","right"])}function I(t){return O(t,["right","left"])}function j(t){return O(t,["bottom","top"])}function z(t){return O(t,["top","bottom"])}function q(){let[t,n]=R(...arguments);return H("y",F(n),t,n)}function Y(){let[t,n]=R(...arguments);return H("fy",I(n),t,n)}function W(){let[t,n]=R(...arguments);return $("x",j(n),t,n)}function P(){let[t,n]=R(...arguments);return $("fx",z(n),t,n)}function H(t,n,e,r){let{color:i="currentColor",opacity:o=1,stroke:a=i,strokeOpacity:u=o,strokeWidth:c=1,fill:l=i,fillOpacity:s=o,textAnchor:d,textStroke:h,textStrokeOpacity:p,textStrokeWidth:v,tickSize:b="y"===t?6:0,tickPadding:w,tickRotate:x,x:_,margin:M,marginTop:E=void 0===M?20:M,marginRight:A=void 0===M?"right"===n?40:0:M,marginBottom:T=void 0===M?20:M,marginLeft:C=void 0===M?"left"===n?40:0:M,label:S,labelAnchor:N,labelArrow:D,labelOffset:L,...R}=r;return b=(0,g.Rx)(b),w=(0,g.Rx)(w),x=(0,g.Rx)(x),void 0!==N&&(N=(0,g.$E)(N,"labelAnchor",["center","top","bottom"])),D=tf(D),(0,m.EI)(b&&!(0,g.U_)(a)?function(t,n,e,r){let{strokeWidth:i=1,strokeLinecap:o=null,strokeLinejoin:a=null,facetAnchor:u=n+("y"===t?"-empty":""),frameAnchor:c=n,tickSize:l,inset:s=0,insetLeft:d=s,insetRight:h=s,dx:p=0,y:g="y"===t?void 0:null,...v}=r;return tt(U,t,n,"".concat(t,"-axis tick"),e,{strokeWidth:i,strokeLinecap:o,strokeLinejoin:a,facetAnchor:u,frameAnchor:c,y:g,...v,dx:"left"===n?+p-f.cv+ +d:+p+f.cv-h,anchor:"start",length:l,shape:"left"===n?ta:tu})}(t,n,e,{stroke:a,strokeOpacity:u,strokeWidth:c,tickSize:b,tickPadding:w,tickRotate:x,x:_,...R}):null,(0,g.U_)(l)?null:function(t,n,e,r){let{facetAnchor:i=n+("y"===t?"-empty":""),frameAnchor:o=n,tickSize:a,tickRotate:u=0,tickPadding:c=Math.max(3,9-a)+(Math.abs(u)>60?4*Math.cos(u*y):0),text:l,textAnchor:f=Math.abs(u)>60?"middle":"left"===n?"end":"start",lineAnchor:s=u>60?"top":u<-60?"bottom":"middle",fontVariant:d,inset:h=0,insetLeft:p=h,insetRight:g=h,dx:v=0,y:b="y"===t?void 0:null,...m}=r;return tt(k.qU,t,n,"".concat(t,"-axis tick label"),e,{facetAnchor:i,frameAnchor:o,text:l,textAnchor:f,lineAnchor:s,fontVariant:d,rotate:u,y:b,...m,dx:"left"===n?+v-a-c+ +p:+v+ +a+ +c-g},function(t,e,r,i,o){void 0===d&&(this.fontVariant=tc(t)),void 0===l&&(o.text=tn(t,e,r,i,n))})}(t,n,e,{fill:l,fillOpacity:s,stroke:h,strokeOpacity:p,strokeWidth:v,textAnchor:d,tickSize:b,tickPadding:w,tickRotate:x,x:_,marginTop:E,marginRight:A,marginBottom:T,marginLeft:C,...R}),(0,g.U_)(l)||null===S?null:(0,k.fL)([],Q({fill:l,fillOpacity:s,...R},function(e,r,i,o,a){let u=o[t],{marginTop:c,marginRight:l,marginBottom:f,marginLeft:s}="y"===t&&a.inset||a,d=null!=N?N:u.bandwidth?"center":"top",h=null!=L?L:("right"===n?l:s)-3;return"center"===d?(this.textAnchor=void 0,this.lineAnchor="right"===n?"bottom":"top",this.frameAnchor=n,this.rotate=-90):(this.textAnchor="right"===n?"end":"start",this.lineAnchor=d,this.frameAnchor="".concat(d,"-").concat(n),this.rotate=0),this.dy="top"===d?3-c:"bottom"===d?f-3:0,this.dx="right"===n?h:-h,this.ariaLabel="".concat(t,"-axis label"),{facets:[[0]],channels:{text:{value:[tl(t,u,{anchor:n,label:S,labelAnchor:d,labelArrow:D})]}}}})))}function $(t,n,e,r){let{color:i="currentColor",opacity:o=1,stroke:a=i,strokeOpacity:u=o,strokeWidth:c=1,fill:l=i,fillOpacity:s=o,textAnchor:d,textStroke:h,textStrokeOpacity:p,textStrokeWidth:v,tickSize:b="x"===t?6:0,tickPadding:w,tickRotate:x,y:_,margin:M,marginTop:E=void 0===M?"top"===n?30:0:M,marginRight:A=void 0===M?20:M,marginBottom:T=void 0===M?"bottom"===n?30:0:M,marginLeft:C=void 0===M?20:M,label:S,labelAnchor:N,labelArrow:D,labelOffset:U,...R}=r;return b=(0,g.Rx)(b),w=(0,g.Rx)(w),x=(0,g.Rx)(x),void 0!==N&&(N=(0,g.$E)(N,"labelAnchor",["center","left","right"])),D=tf(D),(0,m.EI)(b&&!(0,g.U_)(a)?function(t,n,e,r){let{strokeWidth:i=1,strokeLinecap:o=null,strokeLinejoin:a=null,facetAnchor:u=n+("x"===t?"-empty":""),frameAnchor:c=n,tickSize:l,inset:s=0,insetTop:d=s,insetBottom:h=s,dy:p=0,x:g="x"===t?void 0:null,...v}=r;return tt(L,t,n,"".concat(t,"-axis tick"),e,{strokeWidth:i,strokeLinejoin:a,strokeLinecap:o,facetAnchor:u,frameAnchor:c,x:g,...v,dy:"bottom"===n?+p-f.cv-h:+p+f.cv+ +d,anchor:"start",length:l,shape:"bottom"===n?ti:to})}(t,n,e,{stroke:a,strokeOpacity:u,strokeWidth:c,tickSize:b,tickPadding:w,tickRotate:x,y:_,...R}):null,(0,g.U_)(l)?null:function(t,n,e,r){let{facetAnchor:i=n+("x"===t?"-empty":""),frameAnchor:o=n,tickSize:a,tickRotate:u=0,tickPadding:c=Math.max(3,9-a)+(Math.abs(u)>=10?4*Math.cos(u*y):0),text:l,textAnchor:f=Math.abs(u)>=10?u<0^"bottom"===n?"start":"end":"middle",lineAnchor:s=Math.abs(u)>=10?"middle":"bottom"===n?"top":"bottom",fontVariant:d,inset:h=0,insetTop:p=h,insetBottom:g=h,dy:v=0,x:b="x"===t?void 0:null,...m}=r;return tt(k.zP,t,n,"".concat(t,"-axis tick label"),e,{facetAnchor:i,frameAnchor:o,text:void 0===l?null:l,textAnchor:f,lineAnchor:s,fontVariant:d,rotate:u,x:b,...m,dy:"bottom"===n?+v+ +a+ +c-g:+v-a-c+ +p},function(t,e,r,i,o){void 0===d&&(this.fontVariant=tc(t)),void 0===l&&(o.text=tn(t,e,r,i,n))})}(t,n,e,{fill:l,fillOpacity:s,stroke:h,strokeOpacity:p,strokeWidth:v,textAnchor:d,tickSize:b,tickPadding:w,tickRotate:x,y:_,marginTop:E,marginRight:A,marginBottom:T,marginLeft:C,...R}),(0,g.U_)(l)||null===S?null:(0,k.fL)([],Q({fill:l,fillOpacity:s,...R},function(e,r,i,o,a){let u=o[t],{marginTop:c,marginRight:l,marginBottom:f,marginLeft:s}="x"===t&&a.inset||a,d=null!=N?N:u.bandwidth?"center":"right",h=null!=U?U:("top"===n?c:f)-3;return"center"===d?(this.frameAnchor=n,this.textAnchor=void 0):(this.frameAnchor="".concat(n,"-").concat(d),this.textAnchor="right"===d?"end":"start"),this.lineAnchor=n,this.dy="top"===n?-h:h,this.dx="right"===d?l-3:"left"===d?3-s:0,this.ariaLabel="".concat(t,"-axis label"),{facets:[[0]],channels:{text:{value:[tl(t,u,{anchor:n,label:S,labelAnchor:d,labelArrow:D})]}}}})))}function B(){let[t,n]=R(...arguments);return K("y",F(n),t,n)}function Z(){let[t,n]=R(...arguments);return K("fy",I(n),t,n)}function V(){let[t,n]=R(...arguments);return J("x",j(n),t,n)}function X(){let[t,n]=R(...arguments);return J("fx",z(n),t,n)}function K(t,n,e,r){let{y:i="y"===t?void 0:null,x:o=null,x1:a="left"===n?o:null,x2:u="right"===n?o:null,...c}=r;return tt(M.VD,t,n,"".concat(t,"-grid"),e,{y:i,x1:a,x2:u,...G(c)})}function J(t,n,e,r){let{x:i="x"===t?void 0:null,y:o=null,y1:a="top"===n?o:null,y2:u="bottom"===n?o:null,...c}=r;return tt(M.mc,t,n,"".concat(t,"-grid"),e,{x:i,y1:a,y2:u,...G(c)})}function G(t){let{color:n="currentColor",opacity:e=.1,stroke:r=n,strokeOpacity:i=e,strokeWidth:o=1,...a}=t;return{stroke:r,strokeOpacity:i,strokeWidth:o,...a}}function Q(t,n){let{fill:e,fillOpacity:r,fontFamily:i,fontSize:o,fontStyle:a,fontVariant:u,fontWeight:c,monospace:l,pointerEvents:f,shapeRendering:s,clip:d=!1}=t;return[,e]=(0,g.uw)(e),[,r]=(0,g.g_)(r),{facet:"super",x:null,y:null,fill:e,fillOpacity:r,fontFamily:i,fontSize:o,fontStyle:a,fontVariant:u,fontWeight:c,monospace:l,pointerEvents:f,shapeRendering:s,clip:d,initializer:n}}function tt(t,n,e,r,i,a,u){let c;let l=(0,x.zj)(a).initializer,f=t(i,(0,x.zj)({...a,initializer:function(t,e,r,i,l,f){var s,d,h;let p=null==t&&("fx"===n||"fy"===n),{[n]:v}=i;if(!v)throw Error("missing scale: ".concat(n));let b=v.domain(),{interval:m,ticks:y,tickFormat:x,tickSpacing:M="x"===n?80:35}=a;if("string"==typeof y&&ts(v)&&(m=y,y=void 0),void 0===y&&(y=null!==(s=(0,g.rn)(m,v.type))&&void 0!==s?s:function(t,n){let[e,r]=(0,o.Wem)(t.range());return(r-e)/n}(v,M)),null==t){if((0,g.TW)(y))t=(0,g.lE)(y);else if((0,g.NX)(y))t=tr(y,...(0,o.Wem)(b));else if(v.interval){let n=v.interval;if(v.ticks){let[e,r]=(0,o.Wem)(b),i=(r-e)/n[w.yy];t=tr(n=null!==(d=(0,w.Oi)(n,i/y))&&void 0!==d?d:n,e,r)}else{let e=(t=b).length;(n=null!==(h=(0,w.Oi)(n,e/y))&&void 0!==h?h:n)!==v.interval&&(t=tr(n,...(0,o.Wem)(t)))}if(n===v.interval){let n=Math.round(t.length/y);n>1&&(t=t.filter((t,e)=>e%n==0))}}else t=v.ticks?v.ticks(y):b;if(!v.ticks&&t.length&&t!==b){let e=new o.H0G(b);(t=t.filter(t=>e.has(t))).length||(0,_.Z)("Warning: the ".concat(n,"-axis ticks appear to not align with the scale domain, resulting in no ticks. Try different ticks?"))}"y"===n||"x"===n?e=[(0,g.w6)(t)]:c[n]={scale:n,value:g.yR}}null==u||u.call(this,v,t,y,x,c);let k=Object.fromEntries(Object.entries(c).map(n=>{let[e,r]=n;return[e,{...r,value:(0,g.dj)(t,r.value)}]}));return p&&(e=f.filterFacets(t,k)),{data:t,facets:e,channels:k}}},l));return null==i?(c=f.channels,f.channels={}):c={},f.ariaLabel=r,void 0===f.clip&&(f.clip=!1),f}function tn(t,n,e,r,i){return{value:te(t,n,e,r,i)}}function te(t,n,e,r,i){var a;return"function"==typeof r?r:void 0===r&&n&&(0,g.IC)(n)?null!==(a=(0,w.uf)(t.type,n,i))&&void 0!==a?a:b.HI:t.tickFormat?t.tickFormat("number"==typeof e?e:null,r):void 0===r?b.HI:"string"==typeof r?((0,g.IC)(t.domain())?o.g0u:o.WUZ)(r):(0,g.a9)(r)}function tr(t,n,e){return t.range(n,t.offset(t.floor(e)))}let ti={draw(t,n){t.moveTo(0,0),t.lineTo(0,n)}},to={draw(t,n){t.moveTo(0,0),t.lineTo(0,-n)}},ta={draw(t,n){t.moveTo(0,0),t.lineTo(-n,0)}},tu={draw(t,n){t.moveTo(0,0),t.lineTo(n,0)}};function tc(t){return t.bandwidth&&!t.interval?void 0:"tabular-nums"}function tl(t,n){let{anchor:e,label:r=n.label,labelAnchor:i,labelArrow:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(null==r||r.inferred&&ts(n)&&/^(date|time|year)$/i.test(r))){if(r=String(r),"auto"===o&&(o=(!n.bandwidth||n.interval)&&!/[↑↓→←]/.test(r)),!o)return r;if(!0===o){let e=(0,l.uu)(n);e&&(o=/x$/.test(t)||"center"===i?/x$/.test(t)===e<0?"left":"right":e<0?"up":"down")}switch(o){case"left":return"← ".concat(r);case"right":return"".concat(r," →");case"up":return"right"===e?"".concat(r," ↑"):"↑ ".concat(r);case"down":return"right"===e?"".concat(r," ↓"):"↓ ".concat(r)}return r}}function tf(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";return!(0,g.U_)(t)&&("boolean"==typeof t?t:(0,g.$E)(t,"labelArrow",["auto","up","right","down","left"]))}function ts(t){return(0,g.IC)(t.domain())}function td(t,n){if(null==n)return n;let e=t(n);if(!e)throw Error("scale not found: ".concat(n));return e}function th(t){let n,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,{columns:i,tickFormat:o,fontVariant:a=p(t),swatchSize:c=15,swatchWidth:l=c,swatchHeight:s=c,marginLeft:d=0,className:h,style:g,width:v}=e,b=(0,u.k)(e);h=(0,f.uB)(h),o=te(t.scale,t.domain,void 0,o);let m=(0,u.U)("div",b).attr("class","".concat(h,"-swatches ").concat(h,"-swatches-").concat(null!=i?"columns":"wrap"));return null!=i?(n=":where(.".concat(h,"-swatches-columns .").concat(h,"-swatch) {\n display: flex;\n align-items: center;\n break-inside: avoid;\n padding-bottom: 1px;\n}\n:where(.").concat(h,"-swatches-columns .").concat(h,"-swatch::before) {\n flex-shrink: 0;\n}\n:where(.").concat(h,"-swatches-columns .").concat(h,"-swatch-label) {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}"),m.style("columns",i).selectAll().data(t.domain).enter().append("div").attr("class","".concat(h,"-swatch")).call(r,t,l,s).call(t=>t.append("div").attr("class","".concat(h,"-swatch-label")).attr("title",o).text(o))):(n=":where(.".concat(h,"-swatches-wrap) {\n display: flex;\n align-items: center;\n min-height: 33px;\n flex-wrap: wrap;\n}\n:where(.").concat(h,"-swatches-wrap .").concat(h,"-swatch) {\n display: inline-flex;\n align-items: center;\n margin-right: 1em;\n}"),m.selectAll().data(t.domain).enter().append("span").attr("class","".concat(h,"-swatch")).call(r,t,l,s).append(function(){return this.ownerDocument.createTextNode(o.apply(this,arguments))})),m.call(t=>t.insert("style","*").text(":where(.".concat(h,"-swatches) {\n font-family: system-ui, sans-serif;\n font-size: 10px;\n margin-bottom: 0.5em;\n}\n:where(.").concat(h,"-swatch > svg) {\n margin-right: 0.5em;\n overflow: visible;\n}\n").concat(n))).style("margin-left",d?"".concat(+d,"px"):null).style("width",void 0===v?null:"".concat(+v,"px")).style("font-variant",(0,f.J4)(a,"normal")).call(f.jb,g).node()}let tp=new Map([["symbol",function(t){let{fill:n=(null===(r=t.hint)||void 0===r?void 0:r.fill)!==void 0?t.hint.fill:"none",fillOpacity:e=1,stroke:a=(null===(i=t.hint)||void 0===i?void 0:i.stroke)!==void 0?t.hint.stroke:(0,g.U_)(n)?"currentColor":"none",strokeOpacity:u=1,strokeWidth:c=1.5,r:l=4.5,...f}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,[d,h]=(0,g.uw)(n),[p,v]=(0,g.uw)(a),b=td(s,d),m=td(s,p),y=l*l*Math.PI;return e=(0,g.g_)(e)[1],u=(0,g.g_)(u)[1],c=(0,g.g_)(c)[1],th(t,f,(n,r,i,a)=>n.append("svg").attr("viewBox","-8 -8 16 16").attr("width",i).attr("height",a).attr("fill","color"===d?t=>b.scale(t):h).attr("fill-opacity",e).attr("stroke","color"===p?t=>m.scale(t):v).attr("stroke-opacity",u).attr("stroke-width",c).append("path").attr("d",n=>{let e=(0,o.xKz)();return t.scale(n).draw(e,y),e}))}],["color",tv],["opacity",function(t,n){let{type:e,interpolate:r,...i}=t,{legend:a=!0,color:u=(0,o.B8C)(0,0,0),...c}=n;if(!r)throw Error("".concat(e," opacity scales are not supported"));if(!0===a&&(a="ramp"),"ramp"!=="".concat(a).toLowerCase())throw Error("".concat(a," opacity legends are not supported"));return tv({type:e,...i,interpolate:function(t){let{r:n,g:e,b:r}=(0,o.B8C)(t)||(0,o.B8C)(0,0,0);return t=>"rgba(".concat(n,",").concat(e,",").concat(r,",").concat(t,")")}(u)},{legend:a,...c})}]]);function tg(t){let{className:n,...e}=t,{label:r,ticks:i,tickFormat:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0;return(0,g.ED)(a,{className:n,...e},{label:r,ticks:i,tickFormat:o})}function tv(t,n){let{legend:e=!0,...r}=n;if(!0===e&&(e="ordinal"===t.type?"swatches":"ramp"),void 0!==t.domain)switch("".concat(e).toLowerCase()){case"swatches":return function(t){let{opacity:n,...e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,l.a3)(t)&&!(0,l.dj)(t))throw Error("swatches legend requires ordinal or threshold color scale (not ".concat(t.type,")"));return th(t,e,(t,e,r,i)=>t.append("svg").attr("width",r).attr("height",i).attr("fill",e.scale).attr("fill-opacity",(0,g.g_)(n)[1]).append("rect").attr("width","100%").attr("height","100%"))}(t,r);case"ramp":return function(t,n){let e,{label:r=t.label,tickSize:i=6,width:a=240,height:c=44+i,marginTop:l=18,marginRight:s=0,marginBottom:d=16+i,marginLeft:h=0,style:b,ticks:m=(a-h-s)/64,tickFormat:y,fontVariant:w=p(t),round:x=!0,opacity:_,className:M}=n,k=(0,u.k)(n);M=(0,f.uB)(M),_=(0,g.g_)(_)[1],null===y&&(y=()=>null);let E=(0,u.U)("svg",k).attr("class","".concat(M,"-ramp")).attr("font-family","system-ui, sans-serif").attr("font-size",10).attr("width",a).attr("height",c).attr("viewBox","0 0 ".concat(a," ").concat(c)).call(t=>t.append("style").text(":where(.".concat(M,"-ramp) {\n display: block;\n height: auto;\n height: intrinsic;\n max-width: 100%;\n overflow: visible;\n}\n:where(.").concat(M,"-ramp text) {\n white-space: pre;\n}"))).call(f.jb,b),A=t=>t.selectAll(".tick line").attr("y1",l+d-c),T=x?(t,n)=>t.rangeRound(n):(t,n)=>t.range(n),{type:C,domain:S,range:N,interpolate:D,scale:L,pivot:U}=t;if(D){let t=void 0===N?D:(0,o.sOJ)(1===D.length?(0,v.LG)(D):D,N);e=T(L.copy(),(0,o.q$2)((0,o.k46)(h,a-s),Math.min(S.length+(void 0!==U),void 0===N?1/0:N.length)));let n=k.document.createElement("canvas");n.width=256,n.height=1;let r=n.getContext("2d");for(let n=0;n<256;++n)r.fillStyle=t(n/255),r.fillRect(n,0,1,1);E.append("image").attr("opacity",_).attr("x",h).attr("y",l).attr("width",a-h-s).attr("height",c-l-d).attr("preserveAspectRatio","none").attr("xlink:href",n.toDataURL())}else if("threshold"===C){let t=void 0===y?t=>t:"string"==typeof y?(0,o.WUZ)(y):y;e=T((0,o.BYU)().domain([-1,N.length-1]),[h,a-s]),E.append("g").attr("fill-opacity",_).selectAll().data(N).enter().append("rect").attr("x",(t,n)=>e(n-1)).attr("y",l).attr("width",(t,n)=>e(n)-e(n-1)).attr("height",c-l-d).attr("fill",t=>t),m=(0,g.UI)(S,(t,n)=>n),y=n=>t(S[n],n)}else e=T((0,o.tiA)().domain(S),[h,a-s]),E.append("g").attr("fill-opacity",_).selectAll().data(S).enter().append("rect").attr("x",e).attr("y",l).attr("width",Math.max(0,e.bandwidth()-1)).attr("height",c-l-d).attr("fill",L),A=()=>{};return E.append("g").attr("transform","translate(0,".concat(c-d,")")).call((0,o.LLu)(e).ticks(Array.isArray(m)?null:m,"string"==typeof y?y:void 0).tickFormat("function"==typeof y?y:void 0).tickSize(i).tickValues(Array.isArray(m)?m:null)).attr("font-size",null).attr("font-family",null).attr("font-variant",(0,f.J4)(w,"normal")).call(A).call(t=>t.select(".domain").remove()),void 0!==r&&E.append("text").attr("x",h).attr("y",l-6).attr("fill","currentColor").attr("font-weight","bold").text(r),E.node()}(t,r);default:throw Error("unknown legend type: ".concat(e))}}let tb={ariaLabel:"frame",fill:"none",stroke:"currentColor",clip:!1},tm={ariaLabel:"frame",fill:null,stroke:"currentColor",strokeLinecap:"square",clip:!1};class ty extends m.vc{render(t,n,e,r,i){let{marginTop:o,marginRight:a,marginBottom:c,marginLeft:l,width:s,height:d}=r,{anchor:h,insetTop:p,insetRight:g,insetBottom:v,insetLeft:b,rx:m,ry:y}=this,w=l+b,x=s-a-g,_=o+p,M=d-c-v;return(0,u.U)(h?"svg:line":"svg:rect",i).datum(0).call(f.dD,this,r,i).call(f.CU,this).call(f.Cp,this,e).call(f.Ne,this,{}).call("left"===h?t=>t.attr("x1",w).attr("x2",w).attr("y1",_).attr("y2",M):"right"===h?t=>t.attr("x1",x).attr("x2",x).attr("y1",_).attr("y2",M):"top"===h?t=>t.attr("x1",w).attr("x2",x).attr("y1",_).attr("y2",_):"bottom"===h?t=>t.attr("x1",w).attr("x2",x).attr("y1",M).attr("y2",M):t=>t.attr("x",w).attr("y",_).attr("width",x-w).attr("height",M-_).attr("rx",m).attr("ry",y)).node()}constructor(t={}){let{anchor:n=null,inset:e=0,insetTop:r=e,insetRight:i=e,insetBottom:o=e,insetLeft:a=e,rx:u,ry:c}=t;super(g.ri,void 0,t,null==n?tb:tm),this.anchor=(0,g.hU)(n,"anchor",["top","right","bottom","left"]),this.insetTop=(0,g.Rx)(r),this.insetRight=(0,g.Rx)(i),this.insetBottom=(0,g.Rx)(o),this.insetLeft=(0,g.Rx)(a),this.rx=(0,g.Rx)(u),this.ry=(0,g.Rx)(c)}}var tw=e(3664);let tx={ariaLabel:"tip",fill:"var(--plot-background)",stroke:"currentColor"},t_=new Set(["geometry","href","src","ariaLabel","scales"]);class tM extends m.vc{render(t,n,e,r,i){let a,c;let l=this,{x:s,y:d,fx:p,fy:g}=n,{ownerSVGElement:v,document:b}=i,{anchor:m,monospace:y,lineHeight:w,lineWidth:x}=this,{textPadding:_,pointerSize:M,pathFilter:E}=this,{marginTop:A,marginLeft:T}=r,{x1:C,y1:S,x2:N,y2:D,x:L=null!=C?C:N,y:U=null!=S?S:D}=e,R=p?p(t.fx)-T:0,O=g?g(t.fy)-A:0,[F,I]=(0,f.fs)(this,r),j=(0,h.D7)(e,F),z=(0,h.rt)(e,I),q=y?k.pL:k.g9,Y=q(k.LH);"title"in e?(a=e.channels,c=tA):(a=tk.call(this,e,n),c=tT);let W=(0,u.U)("svg:g",i).call(f.dD,this,r,i).call(k.CW,this).call(f.Ne,this,{x:L&&s,y:U&&d}).call(r=>r.selectAll().data(t).enter().append("g").attr("transform",t=>"translate(".concat(Math.round(j(t)),",").concat(Math.round(z(t)),")")).call(f.CU,this).call(t=>t.append("path").attr("filter",E)).call(r=>r.append("text").each(function(r){let i=(0,o.Ys)(this);this.setAttribute("fill","currentColor"),this.setAttribute("fill-opacity",1),this.setAttribute("stroke","none");let u=c.call(l,r,t,a,n,e);if("string"==typeof u)for(let t of l.splitLines(u))P(i,{value:l.clipLine(t)});else{let t=new Set;for(let n of u){let{label:e=""}=n;e&&t.has(e)||(t.add(e),P(i,n))}}})));function P(t,n){let e,{label:r,value:i,color:o,opacity:a}=n;null!=r||(r=""),null!=i||(i="");let u=null!=o||null!=a,c=100*x,[l]=(0,k.z7)(r,c,q,Y);if(l>=0)r=r.slice(0,l).trimEnd()+k.LH,e=i.trim(),i="";else{!r&&(i||u)||(i=" "+i);let[t]=(0,k.z7)(i,c-q(r),q,Y);t>=0&&(e=i.trim(),i=i.slice(0,t).trimEnd()+k.LH)}let f=t.append("tspan").attr("x",0).attr("dy","".concat(w,"em")).text("​");r&&f.append("tspan").attr("font-weight","bold").text(r),i&&f.append(()=>b.createTextNode(i)),u&&f.append("tspan").text(" ■").attr("fill",o).attr("fill-opacity",a).style("user-select","none"),e&&f.append("title").text(e)}function H(){var t;let{width:n,height:e}=null!==(t=r.facet)&&void 0!==t?t:r;W.selectChildren().each(function(t){var r,i;let{x:o,width:a,height:u}=this.getBBox();a=Math.round(a),u=Math.round(u);let c=m;if(void 0===c){let r=j(t)+R,i=z(t)+O,o=r+a+M+2*_0,s=i+u+M+2*_0;c=o&&f?s&&d?l.preferredAnchor:d?"bottom":"top":s&&d?o?"left":"right":(o||f)&&(s||d)?"".concat(d?"bottom":"top","-").concat(o?"left":"right"):l.preferredAnchor}let f=this.firstChild,s=this.lastChild;if(f.setAttribute("d",function(t,n,e,r,i){let o=r+2*e,a=i+2*e;switch(t){case"middle":return"M".concat(-o/2,",").concat(-a/2,"h").concat(o,"v").concat(a,"h").concat(-o,"z");case"top-left":return"M0,0l".concat(n,",").concat(n,"h").concat(o-n,"v").concat(a,"h").concat(-o,"z");case"top":return"M0,0l".concat(n/2,",").concat(n/2,"h").concat((o-n)/2,"v").concat(a,"h").concat(-o,"v").concat(-a,"h").concat((o-n)/2,"z");case"top-right":return"M0,0l".concat(-n,",").concat(n,"h").concat(n-o,"v").concat(a,"h").concat(o,"z");case"right":return"M0,0l".concat(-n/2,",").concat(-n/2,"v").concat(n/2-a/2,"h").concat(-o,"v").concat(a,"h").concat(o,"v").concat(n/2-a/2,"z");case"bottom-left":return"M0,0l".concat(n,",").concat(-n,"h").concat(o-n,"v").concat(-a,"h").concat(-o,"z");case"bottom":return"M0,0l".concat(n/2,",").concat(-n/2,"h").concat((o-n)/2,"v").concat(-a,"h").concat(-o,"v").concat(a,"h").concat((o-n)/2,"z");case"bottom-right":return"M0,0l".concat(-n,",").concat(-n,"h").concat(n-o,"v").concat(-a,"h").concat(o,"z");case"left":return"M0,0l".concat(n/2,",").concat(-n/2,"v").concat(n/2-a/2,"h").concat(o,"v").concat(a,"h").concat(-o,"v").concat(n/2-a/2,"z")}}(c,M,_,a,u)),o)for(let t of s.childNodes)t.setAttribute("x",-o);s.setAttribute("y","".concat(+(r=c,i=s.childNodes.length,/^top(?:-|$)/.test(r)?.94-w:-.29-i*w).toFixed(6),"em")),s.setAttribute("transform","translate(".concat(function(t,n,e,r,i){switch(t){case"middle":return[-r/2,i/2];case"top-left":return[e,n+e];case"top":return[-r/2,n/2+e];case"top-right":return[-r-e,n+e];case"right":return[-n/2-r-e,i/2];case"bottom-left":return[e,-n-e];case"bottom":return[-r/2,-n/2-e];case"bottom-right":return[-r-e,-n-e];case"left":return[e+n/2,i/2]}}(c,M,_,a,u),")"))}),W.attr("visibility",null)}return t.length&&(W.attr("visibility","hidden"),v.isConnected?Promise.resolve().then(H):"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(H)),W.node()}constructor(t,n={}){n.tip&&(n={...n,tip:!1}),void 0===n.title&&(0,g.TW)(t)&&(0,g.LB)(t)&&(n={...n,title:g.yR});let{x:e,y:r,x1:i,x2:o,y1:a,y2:u,anchor:c,preferredAnchor:l="bottom",monospace:s,fontFamily:d=s?"ui-monospace, monospace":void 0,fontSize:h,fontStyle:p,fontVariant:v,fontWeight:b,lineHeight:m=1,lineWidth:y=20,frameAnchor:w,format:x,textAnchor:_="start",textOverflow:M,textPadding:E=8,title:A,pointerSize:T=12,pathFilter:C="drop-shadow(0 3px 4px rgba(0,0,0,0.2))"}=n;for(let x in super(t,{x:{value:null!=i&&null!=o?null:e,scale:"x",optional:!0},y:{value:null!=a&&null!=u?null:r,scale:"y",optional:!0},x1:{value:i,scale:"x",optional:null==o},y1:{value:a,scale:"y",optional:null==u},x2:{value:o,scale:"x",optional:null==i},y2:{value:u,scale:"y",optional:null==a},title:{value:A,optional:!0}},n,tx),this.anchor=(0,g.fR)(c,"anchor"),this.preferredAnchor=(0,g.fR)(l,"preferredAnchor"),this.frameAnchor=(0,g.mV)(w),this.textAnchor=(0,f.J4)(_,"middle"),this.textPadding=+E,this.pointerSize=+T,this.pathFilter=(0,g.Z_)(C),this.lineHeight=+m,this.lineWidth=+y,this.textOverflow=(0,k.tl)(M),this.monospace=!!s,this.fontFamily=(0,g.Z_)(d),this.fontSize=(0,g.Rx)(h),this.fontStyle=(0,g.Z_)(p),this.fontVariant=(0,g.Z_)(v),this.fontWeight=(0,g.Z_)(b),tx)x in this.channels&&(this[x]=tx[x]);this.splitLines=(0,k.vt)(this),this.clipLine=(0,k.Ve)(this),this.format={...x}}}function tk(t,n){let{channels:e}=t,r={},i=this.format;for(let t in i=tE(i,e,"x"),i=tE(i,e,"y"),this.format=i,i){let n=i[t];if(null!==n&&!1!==n){if("fx"===t||"fy"===t)r[t]=!0;else{let n=(0,a.b5)(e,t);n&&(r[t]=n)}}}for(let t in e){if(t in r||t in i||t_.has(t))continue;let n=(0,a.b5)(e,t);n&&(r[t]=n)}for(let t in!this.facet||(!n.fx||"fx"in i||(r.fx=!0),!n.fy||"fy"in i||(r.fy=!0)),r){let e=this.format[t];if("string"==typeof e){var u,c,l,f;let i=null!==(f=null!==(l=null===(u=r[t])||void 0===u?void 0:u.value)&&void 0!==l?l:null===(c=n[t])||void 0===c?void 0:c.domain())&&void 0!==f?f:[];this.format[t]=((0,g.IC)(i)?o.g0u:o.WUZ)(e)}else if(void 0===e||!0===e){let e=n[t];this.format[t]=(null==e?void 0:e.bandwidth)?te(e,e.domain()):b.HI}}return r}function tE(t,n,e){if(!(e in t))return t;let r="".concat(e,"1"),i="".concat(e,"2");if((r in t||!(r in n))&&(i in t||!(i in n)))return t;let o=Object.entries(t),a=t[e];return o.splice(o.findIndex(t=>{let[n]=t;return n===e})+1,0,[r,a],[i,a]),Object.fromEntries(o)}function tA(t,n,e){let{title:r}=e;return(0,b.HI)(r.value[t],t)}function*tT(t,n,e,r,i){for(let o in e){if("fx"===o||"fy"===o){yield{label:tN(r,e,o),value:this.format[o](n[o],t)};continue}if("x1"===o&&"x2"in e||"y1"===o&&"y2"in e)continue;let a=e[o];if("x2"===o&&"x1"in e)yield{label:tS(r,e,"x"),value:tC(this.format.x2,e.x1,a,t)};else if("y2"===o&&"y1"in e)yield{label:tS(r,e,"y"),value:tC(this.format.y2,e.y1,a,t)};else{let n=a.value[t],u=a.scale;if(!(0,tw.ri)(n)&&null==u)continue;yield{label:tN(r,e,o),value:this.format[o](n,t),color:"color"===u?i[o][t]:null,opacity:"opacity"===u?i[o][t]:null}}}}function tC(t,n,e,r){var i;return(null===(i=e.hint)||void 0===i?void 0:i.length)?"".concat(t(e.value[r]-n.value[r],r)):"".concat(t(n.value[r],r),"–").concat(t(e.value[r],r))}function tS(t,n,e){let r=tN(t,n,"".concat(e,"1"),e),i=tN(t,n,"".concat(e,"2"),e);return r===i?r:"".concat(r,"–").concat(i)}function tN(t,n,e){var r,i,o;let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,u=n[e],c=t[null!==(r=null==u?void 0:u.scale)&&void 0!==r?r:e];return String(null!==(o=null!==(i=null==c?void 0:c.label)&&void 0!==i?i:null==u?void 0:u.label)&&void 0!==o?o:a)}var tD=e(3779);function tL(){var t,n,e;let r,i,p=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{facet:v,style:b,title:m,subtitle:y,caption:w,ariaLabel:M,ariaDescription:k}=p,E=(0,f.uB)(p.className),A=void 0===p.marks?[]:tR(p.marks);A.push(...function(t){let n=[];for(let e of t){let t=e.tip;if(t){!0===t?t={}:"string"==typeof t&&(t={pointer:t});let{pointer:r,preferredAnchor:i}=t;(t=(r=/^x$/i.test(r)?h.TT:/^y$/i.test(r)?h.NF:h.cx)(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,x.zj)({...n,x:null,y:null},(n,e,r,i,o,a)=>a.getMarkState(t))}(e,t))).title=null,void 0===i&&(t.preferredAnchor=r===h.NF?"left":"bottom");let o=function(t){let{x:n,y:e,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return void 0===r.frameAnchor&&([n,e]=(0,g.NK)(n,e)),new tM(t,{...r,x:n,y:e})}(e.data,t);o.facet=e.facet,o.facetAnchor=e.facetAnchor,n.push(o)}}return n}(A));let T=function(t,n){if(null==t)return;let{x:e,y:r}=t;if(null==e&&null==r)return;let i=(0,g.lE)(t.data);if(null==i)throw Error("missing facet data");let o={};null!=e&&(o.fx=(0,a.mi)(i,{value:e,scale:"fx"})),null!=r&&(o.fy=(0,a.mi)(i,{value:r,scale:"fy"})),tI(o,n);let u=(0,d.Rx)(i,o);return{channels:o,groups:u,data:t.data}}(v,p),C=new Map;for(let t of A){let n=tY(t,T,p);n&&C.set(t,n)}let S=new Map;T&&tz(S,[T],p),tz(S,C,p);let N=tR(function(t,n,e){let{projection:r,x:i={},y:o={},fx:a={},fy:u={},axis:c,grid:l,facet:f={},facet:{axis:s=c,grid:d}=f,x:{axis:h=c,grid:p=null===h?null:l}=i,y:{axis:v=c,grid:b=null===v?null:l}=o,fx:{axis:m=s,grid:y=null===m?null:d}=a,fy:{axis:w=s,grid:x=null===w?null:d}=u}=e;!r&&((0,g.n3)(i)||t$("x",t))||(h=p=null),!r&&((0,g.n3)(o)||t$("y",t))||(v=b=null),n.has("fx")||(m=y=null),n.has("fy")||(w=x=null),void 0===h&&(h=!tH(t,"x")),void 0===v&&(v=!tH(t,"y")),void 0===m&&(m=!tH(t,"fx")),void 0===w&&(w=!tH(t,"fy")),!0===h&&(h="bottom"),!0===v&&(v="left"),!0===m&&(m="top"===h||null===h?"bottom":"top"),!0===w&&(w="right"===v||null===v?"left":"right");let _=[];return tP(_,x,Z,u),tW(_,w,Y,"right","left",f,u),tP(_,y,X,a),tW(_,m,P,"top","bottom",f,a),tP(_,b,B,o),tW(_,v,q,"left","right",e,o),tP(_,p,V,i),tW(_,h,W,"bottom","top",e,i),_}(A,S,p));for(let t of N){let n=tY(t,T,p);n&&C.set(t,n)}A.unshift(...N);let D=(0,d.al)(S,p);if(void 0!==D){let t=T?(0,d.Rm)(D,T):void 0;for(let n of A){if(null===n.facet||"super"===n.facet)continue;let e=C.get(n);void 0!==e&&(e.facetsIndex=null!=n.fx||null!=n.fy?(0,d.Rm)(D,e):t)}let n=new Set;for(let{facetsIndex:t}of C.values())null==t||t.forEach((t,e)=>{(null==t?void 0:t.length)>0&&n.add(e)});for(let t of(D.forEach(0t.empty=!n.has(e):t=>t.empty=!1),A))if("exclude"===t.facet){let n=C.get(t);void 0!==n&&(n.facetsIndex=(0,d.my)(n.facetsIndex))}}for(let t of tD.i_.keys())(0,g.n3)(p[t])&&"fx"!==t&&"fy"!==t&&S.set(t,[]);let L=new Map;for(let n of A){if(L.has(n))throw Error("duplicate mark; each mark must be unique");let{facetsIndex:e,channels:r}=null!==(t=C.get(n))&&void 0!==t?t:{},{data:i,facets:o,channels:a}=n.initialize(e,r,p);tI(a,p),L.set(n,{data:i,facets:o,channels:a})}let U=(0,l.D5)(tz(S,L,p),p),R=function(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=.5-f.cv,i=.5+f.cv,o=.5+f.cv,a=.5-f.cv;for(let{marginTop:t,marginRight:e,marginBottom:u,marginLeft:c}of n)t>r&&(r=t),e>i&&(i=e),u>o&&(o=u),c>a&&(a=c);let{margin:u,marginTop:d=void 0!==u?u:r,marginRight:h=void 0!==u?u:i,marginBottom:p=void 0!==u?u:o,marginLeft:g=void 0!==u?u:a}=e;d=+d;let{width:v=640,height:b=function(t,n,e){let{x:r,y:i,fy:o,fx:a}=t,{projection:u,aspectRatio:f}=n,{width:d,marginTopDefault:h,marginRightDefault:p,marginBottomDefault:g,marginLeftDefault:v}=e,b=o?o.scale.domain().length:1,m=(0,c.tA)(u);if(m)return Math.round((d-v-p)*Math.max(.1,Math.min(10,(1.1*b-.1)/(1.1*(a?a.scale.domain().length:1)-.1)*m))+h+g);let y=i?(0,l.a3)(i)?i.scale.domain().length:Math.max(7,17/b):1;if(null!=f){if(!(isFinite(f=+f)&&f>0))throw Error("invalid aspectRatio: ".concat(f));let t=s("y",i)/(s("x",r)*f),n=a?a.scale.bandwidth():1,e=o?o.scale.bandwidth():1;return(t*(n*(d-v-p)-r.insetLeft-r.insetRight)+i.insetTop+i.insetBottom)/e+h+g}return!!(i||o)*Math.max(1,Math.min(60,y*b))*20+30*!!a+60}(t,e,{width:v,marginTopDefault:r,marginRightDefault:i,marginBottomDefault:o,marginLeftDefault:a})+Math.max(0,d-r+p-o)}=e,m={width:v=+v,height:b=+b,marginTop:d,marginRight:h=+h,marginBottom:p=+p,marginLeft:g=+g};if(t.fx||t.fy){var y;let{margin:t,marginTop:n=void 0!==t?t:d,marginRight:r=void 0!==t?t:h,marginBottom:i=void 0!==t?t:p,marginLeft:o=void 0!==t?t:g}=null!==(y=e.facet)&&void 0!==y?y:{};n=+n,r=+r,i=+i,o=+o,m.facet={marginTop:n,marginRight:r,marginBottom:i,marginLeft:o}}return m}(U,A,p);(0,l.Sc)(U,R);let O=(0,l.RC)(U),{fx:F,fy:I}=O,j=F||I?(0,l.IB)(U,R):R,z=F||I?function(t,n){let{fx:e,fy:r}=t,{marginTop:i,marginRight:o,marginBottom:a,marginLeft:u,width:c,height:f}=(0,l.Pf)(n),s=e&&tB(e),d=r&&tB(r);return{marginTop:r?d[0]:i,marginRight:e?c-s[1]:o,marginBottom:r?f-d[1]:a,marginLeft:e?s[0]:u,inset:{marginTop:n.marginTop,marginRight:n.marginRight,marginBottom:n.marginBottom,marginLeft:n.marginLeft},width:c,height:f}}(O,R):R,H=(0,u.k)(p),$=H.document,K=(0,o.DuN)("svg").call($.documentElement),J=K;H.ownerSVGElement=K,H.className=E,H.projection=(0,c.UQ)(p,j),H.filterFacets=(t,n)=>(0,d.Rm)(D,{channels:n,groups:(0,d.Rx)(t,n)}),H.getMarkState=t=>{let n=L.get(t),e=C.get(t);return{...n,channels:{...n.channels,...null==e?void 0:e.channels}}},H.dispatchValue=t=>{J.value!==t&&(J.value=t,J.dispatchEvent(new Event("input",{bubbles:!0})))};let G=new Set;for(let[t,n]of L)if(null!=t.initializer){let e="super"===t.facet?z:j,r=t.initializer(n.data,n.facets,n.channels,O,e,H);if(void 0!==r.data&&(n.data=r.data),void 0!==r.facets&&(n.facets=r.facets),void 0!==r.channels){let{fx:e,fy:i,...o}=r.channels;for(let t of(function(t){for(let n in t)(0,a.J0)(n,t[n])}(o),Object.assign(n.channels,o),Object.values(o))){let{scale:n}=t;null==n||(0,tD.WK)(tD.i_.get(n))||(tj(t,p),G.add(n))}(null!=e||null!=i)&&C.set(t,!0)}}if(G.size){let t=new Map;tz(t,L,p,t=>G.has(t)),tz(S,L,p,t=>G.has(t));let n=function(t,n){for(let e in t){let r=t[e],i=n[e];void 0===r.label&&i&&(r.label=i.label)}return t}((0,l.D5)(t,p),U),{scales:e,...r}=(0,l.RC)(n);Object.assign(U,n),Object.assign(O,r),Object.assign(O.scales,e)}for(let[t,n]of(void 0!==D&&(r={x:null==F?void 0:F.domain(),y:null==I?void 0:I.domain()},D=(0,d.Ib)(D,r),i=(0,d.Py)(F,I,R)),L))n.values=t.scale(n.channels,O,H);let{width:Q,height:tt}=R;for(let t of((0,o.Ys)(K).attr("class",E).attr("fill","currentColor").attr("font-family","system-ui, sans-serif").attr("font-size",10).attr("text-anchor","middle").attr("width",Q).attr("height",tt).attr("viewBox","0 0 ".concat(Q," ").concat(tt)).attr("aria-label",M).attr("aria-description",k).call(t=>t.append("style").text(":where(.".concat(E,") {\n --plot-background: white;\n display: block;\n height: auto;\n height: intrinsic;\n max-width: 100%;\n}\n:where(.").concat(E," text),\n:where(.").concat(E," tspan) {\n white-space: pre;\n}"))).call(f.jb,b),A)){let{channels:a,values:u,facets:c}=L.get(t);if(void 0===D||"super"===t.facet){let n=null;if(c&&(n=c[0],0===(n=t.filter(n,a,u)).length))continue;let e=t.render(n,O,u,z,H);if(null==e)continue;K.appendChild(e)}else{let l;for(let i of D){if(!(null!==(e=null===(n=t.facetAnchor)||void 0===n?void 0:n.call(t,D,r,i))&&void 0!==e?e:!i.empty))continue;let f=null;if(c){let n=C.has(t);if(f=c[n?i.i:0],0===(f=t.filter(f,a,u)).length)continue;n||f!==c[0]||(f=(0,g.ON)(f)),f.fx=i.x,f.fy=i.y,f.fi=i.i}let s=t.render(f,O,u,j,H);if(null!=s)for(let t of((null!=l?l:l=(0,o.Ys)(K).append("g")).append(()=>s).datum(i),["aria-label","aria-description","aria-hidden","transform"]))s.hasAttribute(t)&&(l.attr(t,s.getAttribute(t)),s.removeAttribute(t))}null==l||l.selectChildren().attr("transform",i)}}let tn=function(t,n,e){let r=[];for(let[i,o]of tp){let a=e[i];if((null==a?void 0:a.legend)&&i in t){let e=o(t[i],tg(n,t[i],a),n=>t[n]);null!=e&&r.push(e)}}return r}(U,H,p),{figure:te=null!=m||null!=y||null!=w||tn.length>0}=p;te&&((J=$.createElement("figure")).className="".concat(E,"-figure"),J.style.maxWidth="initial",null!=m&&J.append(tU($,m,"h2")),null!=y&&J.append(tU($,y,"h3")),J.append(...tn,K),null!=w&&J.append(function(t,n){let e=t.createElement("figcaption");return e.append(n),e}($,w))),J.scale=(0,l.wg)(O.scales),J.legend=function(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(r,i)=>{if(!tp.has(r))throw Error("unknown legend type: ".concat(r));if(r in t)return tp.get(r)(t[r],tg(n,e[r],i),n=>t[n])}}(U,H,p);let tr=(0,_.b)();return tr>0&&(0,o.Ys)(K).append("text").attr("x",Q).attr("y",20).attr("dy","-1em").attr("text-anchor","end").attr("font-family","initial").text("⚠️").append("title").text("".concat(tr.toLocaleString("en-US")," warning").concat(1===tr?"":"s",". Please check the console.")),J}function tU(t,n,e){if(n.ownerDocument)return n;let r=t.createElement(e);return r.append(n),r}function tR(t){return t.flat(1/0).filter(t=>null!=t).map(tO)}function tO(t){return"function"==typeof t.render?t:new tF(t)}m.vc.prototype.plot=function(){let{marks:t=[],...n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return tL({...n,marks:[...t,this]})};class tF extends m.vc{render(){}constructor(t){if("function"!=typeof t)throw TypeError("invalid mark; missing render function");super(),this.render=t}}function tI(t,n){for(let e in t)tj(t[e],n);return t}function tj(t,n){var e;let{scale:r,transform:i=!0}=t;if(null==r||!i)return;let{type:o,percent:a,interval:u,transform:c=a?t=>100*t:(0,g.Dr)(u,o)}=null!==(e=n[r])&&void 0!==e?e:{};null!=c&&(t.value=(0,g.UI)(t.value,c),t.transform=!1)}function tz(t,n,e){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.co;for(let{channels:a}of n.values())for(let n in a){let u=a[n],{scale:l}=u;if(null!=l&&r(l)){if("projection"===l){if(!(0,c.Do)(e)){var i,o;let n=(null===(i=e.x)||void 0===i?void 0:i.domain)===void 0,r=(null===(o=e.y)||void 0===o?void 0:o.domain)===void 0;if(n||r){let[e,i]=(0,c.Kx)(u);n&&tq(t,"x",e),r&&tq(t,"y",i)}}}else tq(t,l,u)}}return t}function tq(t,n,e){let r=t.get(n);void 0!==r?r.push(e):t.set(n,[e])}function tY(t,n,e){var r,i,o;if(null===t.facet||"super"===t.facet)return;let{fx:u,fy:c}=t;if(null!=u||null!=c){let n=(0,g.lE)(null!==(o=null!==(i=t.data)&&void 0!==i?i:u)&&void 0!==o?o:c);if(void 0===n)throw Error("missing facet data in ".concat(t.ariaLabel));if(null===n)return;let r={};return null!=u&&(r.fx=(0,a.mi)(n,{value:u,scale:"fx"})),null!=c&&(r.fy=(0,a.mi)(n,{value:c,scale:"fy"})),tI(r,e),{channels:r,groups:(0,d.Rx)(n,r)}}if(void 0===n)return;let{channels:l,groups:f,data:s}=n;if("auto"!==t.facet||t.data===s)return{channels:l,groups:f};s.length>0&&(f.size>1||1===f.size&&l.fx&&l.fy&&[...f][0][1].size>1)&&(null===(r=(0,g.lE)(t.data))||void 0===r?void 0:r.length)===s.length&&(0,_.Z)("Warning: the ".concat(t.ariaLabel,' mark appears to use faceted data, but isn’t faceted. The mark data has the same length as the facet data and the mark facet option is "auto", but the mark data and facet data are distinct. If this mark should be faceted, set the mark facet option to true; otherwise, suppress this warning by setting the mark facet option to false.'))}function tW(t,n,e,r,i,o,a){if(!n)return;let u=/^\s*both\s*$/i.test(n),{line:c}=a=function(t,n,e){let{line:r=n.line,ticks:i,tickSize:o,tickSpacing:a,tickPadding:u,tickFormat:c,tickRotate:l,fontVariant:f,ariaLabel:s,ariaDescription:d,label:h=n.label,labelAnchor:p,labelArrow:g=n.labelArrow,labelOffset:v}=e;return{anchor:t,line:r,ticks:i,tickSize:o,tickSpacing:a,tickPadding:u,tickFormat:c,tickRotate:l,fontVariant:f,ariaLabel:s,ariaDescription:d,label:h,labelAnchor:p,labelArrow:g,labelOffset:v}}(u?r:n,o,a);(e===q||e===W)&&c&&!(0,g.Wi)(c)&&t.push(new ty(function(t){let{anchor:n,line:e}=t;return{anchor:n,facetAnchor:n+"-empty",stroke:!0===e?void 0:e}}(a))),t.push(e(a)),u&&t.push(e({...a,anchor:i,label:null}))}function tP(t,n,e,r){!n||(0,g.Wi)(n)||t.push(e(function(t,n){let{stroke:e=(0,g.D5)(t)?t:void 0,ticks:r=!function(t){switch(typeof t){case"number":return!0;case"string":return!(0,g.D5)(t)}return(0,g.TW)(t)||"function"==typeof(null==t?void 0:t.range)}(t)?void 0:t,tickSpacing:i,ariaLabel:o,ariaDescription:a}=n;return{stroke:e,ticks:r,tickSpacing:i,ariaLabel:o,ariaDescription:a}}(n,r)))}function tH(t,n){let e="".concat(n,"-axis ");return t.some(t=>{var n;return null===(n=t.ariaLabel)||void 0===n?void 0:n.startsWith(e)})}function t$(t,n){for(let e of n)for(let n in e.channels){let{scale:r}=e.channels[n];if(r===t||"projection"===r)return!0}return!1}function tB(t){let n=t.domain(),e=t(n[0]),r=t(n[n.length-1]);return r0&&void 0!==arguments[0]?arguments[0]:{},p=arguments.length>1?arguments[1]:void 0;if(null==i)return;if("function"==typeof i.stream)return i;let g="frame";if((0,o.Kn)(i)){let e;if({type:i,domain:n,inset:e,insetTop:c=undefined!==e?e:c,insetRight:l=undefined!==e?e:l,insetBottom:s=undefined!==e?e:s,insetLeft:d=undefined!==e?e:d,clip:g=g,...t}=i,null==i)return}"function"!=typeof i&&({type:i}=f(i));let{width:v,height:b,marginLeft:m,marginRight:y,marginTop:w,marginBottom:x}=p,_=v-m-y-d-l,M=b-w-x-c-s;if(null==(i=null==i?void 0:i({width:_,height:M,clip:g,...t})))return;g=function(t,n,e,i,o){if(!1===t||null==t||"number"==typeof t)return t=>t;if(!0===t&&(t="frame"),"frame"==="".concat(t).toLowerCase())return(0,r.LFO)(n,e,i,o);throw Error("unknown projection clip type: ".concat(t))}(g,m,w,v-y,b-x);let k=m+d,E=w+c;if(null!=n){let[[t,o],[u,c]]=(0,r.l49)(i).bounds(n),l=Math.min(_/(u-t),M/(c-o));l>0?(k-=(l*(t+u)-_)/2,E-=(l*(o+c)-M)/2,e=(0,r.jDJ)({point(t,n){this.stream.point(t*l+k,n*l+E)}})):(0,a.Z)("Warning: the projection could not be fit to the specified domain; using the default scale.")}return null!=e||(e=0===k&&0===E?h():(0,r.jDJ)({point(t,n){this.stream.point(t+k,n+E)}})),{stream:t=>i.stream(e.stream(g(t)))}}function f(t){switch("".concat(t).toLowerCase()){case"albers-usa":return s(r.wk1,.7463,.4673);case"albers":return d(r.FWi,.7463,.4673);case"azimuthal-equal-area":return s(r.RfZ,4,4);case"azimuthal-equidistant":return s(r.aMF,c,c);case"conic-conformal":return d(r.tJK,c,c);case"conic-equal-area":return d(r.ETF,6.1702,2.9781);case"conic-equidistant":return d(r.ahy,7.312,3.6282);case"equal-earth":return s(r.bft,5.4133,2.6347);case"equirectangular":return s(r.ESh,c,u);case"gnomonic":return s(r.Bqu,3.4641,3.4641);case"identity":return{type:h};case"reflect-y":return{type:p};case"mercator":return s(r.mw4,c,c);case"orthographic":return s(r.WvA,2,2);case"stereographic":return s(r.knt,2,2);case"transverse-mercator":return s(r.Ili,c,c);default:throw Error("unknown projection type: ".concat(t))}}function s(t,n,e){return{type:r=>{var i,o,a;let{width:u,height:c,rotate:l,precision:f=.15,clip:s}=r,d=t();return null!=f&&(null===(i=d.precision)||void 0===i||i.call(d,f)),null!=l&&(null===(o=d.rotate)||void 0===o||o.call(d,l)),"number"==typeof s&&(null===(a=d.clipAngle)||void 0===a||a.call(d,s)),d.scale(Math.min(u/n,c/e)),d.translate([u/2,c/2]),d},aspectRatio:e/n}}function d(t,n,e){let{type:r,aspectRatio:i}=s(t,n,e);return{type:t=>{let{parallels:n,domain:e,width:i,height:o}=t,a=r(t);return null!=n&&(a.parallels(n),void 0===e&&a.fitSize([i,o],{type:"Sphere"})),a},aspectRatio:i}}let h=(0,o.a9)({stream:t=>t}),p=(0,o.a9)((0,r.jDJ)({point(t,n){this.stream.point(t,-n)}}));function g(t,n,e,r){let i;let o=e[t],a=e[n],u=o.length,c=e[t]=new Float64Array(u).fill(NaN),l=e[n]=new Float64Array(u).fill(NaN),f=r.stream({point(t,n){c[i]=t,l[i]=n}});for(i=0;i0&&void 0!==arguments[0]?arguments[0]:{};return null!=t&&("function"==typeof t.stream||((0,o.Kn)(t)&&(t=t.type),null!=t))}function b(t){if("function"==typeof(null==t?void 0:t.stream))return .618;if((0,o.Kn)(t)&&(t=t.type),null!=t){if("function"!=typeof t){let{aspectRatio:n}=f(t);if(n)return n}return .618}}function m(t,n,e){let{projection:r}=e,{x:a,y:u}=t,c={};return a&&(c.x=a),u&&(c.y=u),c=(0,i.iy)(c,n),r&&(null==a?void 0:a.scale)==="x"&&(null==u?void 0:u.scale)==="y"&&g("x","y",c,r),a&&(c.x=(0,o.k8)(c.x)),u&&(c.y=(0,o.k8)(c.y)),c}function y(t){let n=[],e=[],i={point(t,r){n.push(t),e.push(r)},lineStart(){},lineEnd(){},polygonStart(){},polygonEnd(){},sphere(){}};for(let n of t.value)(0,r.HZh)(n,i);return[{scale:"x",value:n},{scale:"y",value:e}]}},5049:function(t,n,e){e.d(n,{Sc:function(){return M},RC:function(){return _},D5:function(){return x},wg:function(){return q},uu:function(){return k},IB:function(){return A},zb:function(){return I},a3:function(){return O},dj:function(){return F},Pf:function(){return E}});var r=e(3262),i=e(3779),o=e(2922),a=e(2626),u=e(3664),c=e(7143),l=e(865);function f(t,n,e,u,f){let{type:s,nice:d,clamp:h,domain:p=(0,o.ip)(u),unknown:g,pivot:v=0,scheme:b,range:m,symmetric:y=!0,interpolate:w=i.i_.get(t)===i.$_?null==b&&void 0!==m?a.LX0:(0,l.Dp)(void 0!==b?b:"rdbu"):a.k46,reverse:x}=f;v=+v;let[_,M]=p=(0,r.lE)(p);if(p.length>2&&(0,c.Z)("Warning: the diverging ".concat(t," scale domain contains extra elements.")),0>(0,a.$1i)(_,M)&&([_,M]=[M,_],x=!x),_=Math.min(_,v),M=Math.max(M,v),"function"!=typeof w&&(w=(0,o.LF)(w)),void 0!==m&&(w=1===w.length?(0,o.LG)(w)(...m):(0,a.sOJ)(w,m)),x&&(w=(0,o.RR)(w)),y){let t=e.apply(v),n=t-e.apply(_),r=e.apply(M)-t;nr&&(M=e.invert(t+n))}return n.domain([_,v,M]).unknown(g).interpolator(w),h&&n.clamp(h),d&&n.nice(d),{type:s,domain:[_,M],pivot:v,interpolate:w,scale:n}}function s(t,n,e){var r;let{exponent:i=1,...o}=e;return f(t,(0,a.dKC)().exponent(i=+i),.5===(r=i)?p:{apply:t=>Math.sign(t)*Math.pow(Math.abs(t),r),invert:t=>Math.sign(t)*Math.pow(Math.abs(t),1/r)},n,{...o,type:"diverging-pow"})}let d={apply:t=>t,invert:t=>t},h={apply:Math.log,invert:Math.exp},p={apply:t=>Math.sign(t)*Math.sqrt(Math.abs(t)),invert:t=>t*t*Math.sign(t)};var g=e(3628);let v=Symbol("ordinal");function b(t,n,e,i){let{type:o,interval:u,domain:c,range:l,reverse:f,hint:s}=i;return u=(0,r.rn)(u,o),void 0===c&&(c=y(e,u,t)),("categorical"===o||o===v)&&(o="ordinal"),f&&(c=(0,a.GYS)(c)),c=n.domain(c).domain(),void 0!==l&&("function"==typeof l&&(l=l(c)),n.range(l)),{type:o,domain:c,range:l,scale:n,hint:s,interval:u}}function m(t,n,e,r){let{round:i}=e;return void 0!==i&&t.round(i=!!i),(t=b(r,t,n,e)).round=i,t}function y(t,n,e){let r=new a.H0G;for(let{value:n,domain:e}of t){if(void 0!==e)return e();if(void 0!==n)for(let t of n)r.add(t)}if(void 0!==n){let[t,e]=(0,a.Wem)(r).map(n.floor,n);return n.range(t,n.offset(e))}if(r.size>1e4&&i.i_.get(e)===i.FK)throw Error("implicit ordinal domain of ".concat(e," scale has more than 10,000 values"));return(0,a.DYV)(r,u.Wv)}function w(t,n){let e;for(let{hint:r}of t){let t=null==r?void 0:r[n];if(void 0!==t){if(void 0===e)e=t;else if(e!==t)return}}return e}function x(t){let{label:n,inset:e=0,insetTop:p=e,insetRight:x=e,insetBottom:_=e,insetLeft:M=e,round:k,nice:E,clamp:A,zero:T,align:C,padding:S,projection:N,facet:{label:F=n}={},...I}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},q={};for(let[e,Y]of t){let t=I[e],W=function(t){var n,e,p,x,_;let M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],k=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},E=function(t,n,e){let{type:o,domain:a,range:u,scheme:c,pivot:f,projection:s}=e;if(o=L(o),"fx"===t||"fy"===t)return"band";for(let e of(("x"===t||"y"===t)&&null!=s&&(o=U),n)){let t=L(e.type);if(void 0!==t){if(void 0===o)o=t;else if(o!==t)throw Error("scale incompatible with channel: ".concat(o," !== ").concat(t))}}if(o===U)return;if(void 0!==o)return o;if(void 0===a&&!n.some(t=>{let{value:n}=t;return void 0!==n}))return;let d=i.i_.get(t);if(d===i.q0)return"sqrt";if(d===i.Oh||d===i.kE)return"linear";if(d===i.NA)return"ordinal";if((a||u||[]).length>2)return R(d);if(void 0!==a){if((0,r.c$)(a))return R(d);if((0,r.IC)(a))return"utc"}else{let t=n.map(t=>{let{value:n}=t;return n}).filter(t=>void 0!==t);if(t.some(r.c$))return R(d);if(t.some(r.IC))return"utc"}if(d===i.$_){if(null!=f||(0,l.OD)(c))return"diverging";if((0,l.rO)(c))return"categorical"}return"linear"}(t,M,k);if(void 0===k.type&&void 0===k.domain&&void 0===k.range&&null==k.interval&&"fx"!==t&&"fy"!==t&&O({type:E})){let n=M.map(t=>{let{value:n}=t;return n}).filter(t=>void 0!==t);n.some(r.IC)?(0,c.Z)("Warning: some data associated with the ".concat(t,' scale are dates. Dates are typically associated with a "utc" or "time" scale rather than a "').concat(D(E),'" scale. If you are using a bar mark, you probably want a rect mark with the interval option instead; if you are using a group transform, you probably want a bin transform instead. If you want to treat this data as ordinal, you can specify the interval of the ').concat(t," scale (e.g., d3.utcDay), or you can suppress this warning by setting the type of the ").concat(t,' scale to "').concat(D(E),'".')):n.some(r.sp)?(0,c.Z)("Warning: some data associated with the ".concat(t,' scale are strings that appear to be dates (e.g., YYYY-MM-DD). If these strings represent dates, you should parse them to Date objects. Dates are typically associated with a "utc" or "time" scale rather than a "').concat(D(E),'" scale. If you are using a bar mark, you probably want a rect mark with the interval option instead; if you are using a group transform, you probably want a bin transform instead. If you want to treat this data as ordinal, you can suppress this warning by setting the type of the ').concat(t,' scale to "').concat(D(E),'".')):n.some(r.Hv)&&(0,c.Z)("Warning: some data associated with the ".concat(t,' scale are strings that appear to be numbers. If these strings represent numbers, you should parse or coerce them to numbers. Numbers are typically associated with a "linear" scale rather than a "').concat(D(E),'" scale. If you want to treat this data as ordinal, you can specify the interval of the ').concat(t," scale (e.g., 1 for integers), or you can suppress this warning by setting the type of the ").concat(t,' scale to "').concat(D(E),'".'))}switch(k.type=E,E){case"diverging":case"diverging-sqrt":case"diverging-pow":case"diverging-log":case"diverging-symlog":case"cyclical":case"sequential":case"linear":case"sqrt":case"threshold":case"quantile":case"pow":case"log":case"symlog":k=j(M,k,r.k8);break;case"identity":switch(i.i_.get(t)){case i.FK:k=j(M,k,r.k8);break;case i.NA:k=j(M,k,z)}break;case"utc":case"time":k=j(M,k,r.lh)}switch(E){case"diverging":return n=k,f(t,(0,a.ABA)(),d,M,n);case"diverging-sqrt":return s(t,M,{...k,exponent:.5});case"diverging-pow":return s(t,M,k);case"diverging-log":return function(t,n,e){let{base:r=10,pivot:i=1,domain:c=(0,o.ip)(n,i<0?u.pd:u.i1),...l}=e;return f(t,(0,a.WrP)().base(r=+r),h,n,{domain:c,pivot:i,...l})}(t,M,k);case"diverging-symlog":return function(t,n,e){let{constant:r=1,...i}=e;return f(t,(0,a.b4L)().constant(r=+r),function(t){return{apply:n=>Math.sign(n)*Math.log1p(Math.abs(n/t)),invert:n=>Math.sign(n)*Math.expm1(Math.abs(n))*t}}(r),n,i)}(t,M,k);case"categorical":case"ordinal":case v:return function(t,n,e){let o,{type:u,interval:c,domain:f,range:s,scheme:d,unknown:h,...p}=e;if(c=(0,r.rn)(c,u),void 0===f&&(f=y(n,c,t)),i.i_.get(t)===i.NA){var m;o={fill:w(n,"fill"),stroke:w(n,"stroke")},s=void 0===s?(m=o,(0,r.U_)(m.fill)?a.WY2:a.Hlc):(0,r.UI)(s,g.sr)}else if(i.i_.get(t)===i.$_&&(void 0===s&&("ordinal"===u||u===v)&&void 0!==(s=(0,l.wr)(f,d))&&(d=void 0),void 0===d&&void 0===s&&(d="ordinal"===u?"turbo":"observable10"),void 0!==d)){if(void 0!==s){let t=(0,l.Dp)(d),n=s[0],e=s[1]-s[0];s=r=>{let{length:i}=r;return(0,a.q$2)(r=>t(n+e*r),i)}}else s=(0,l.TI)(d)}if(h===a.qmc)throw Error("implicit unknown on ".concat(t," scale is not supported"));return b(t,(0,a.PKp)().unknown(h),n,{...p,type:u,domain:f,range:s,hint:o})}(t,M,k);case"cyclical":case"sequential":case"linear":return(0,o.Py)(t,M,k);case"sqrt":return(0,o.JI)(t,M,k);case"threshold":return(0,o.x6)(t,M,k);case"quantile":return(0,o.hv)(t,M,k);case"quantize":return(0,o.bm)(t,M,k);case"pow":return(0,o.vv)(t,M,k);case"log":return(0,o.eG)(t,M,k);case"symlog":return(0,o.jz)(t,M,k);case"utc":return e=k,p=(0,a.KYF)(),(0,o.GX)(t,p,M,e);case"time":return x=k,_=(0,a.Xf)(),(0,o.GX)(t,_,M,x);case"point":return function(t,n,e){let{align:r=.5,padding:i=.5,...o}=e;return m((0,a.q2y)().align(r).padding(i),n,o,t)}(t,M,k);case"band":return function(t,n,e){let{align:r=.5,padding:i=.1,paddingInner:o=i,paddingOuter:u="fx"===t||"fy"===t?0:i,...c}=e;return m((0,a.tiA)().align(r).paddingInner(o).paddingOuter(u),n,c,t)}(t,M,k);case"identity":return(0,o.As)(t);case void 0:return;default:throw Error("unknown scale type: ".concat(E))}}(e,Y,{round:i.i_.get(e)===i.FK?k:void 0,nice:E,clamp:A,zero:T,align:C,padding:S,projection:N,...t});if(W){let{label:r="fx"===e||"fy"===e?F:n,percent:i,transform:o,inset:a,insetTop:u=void 0!==a?a:"y"===e?p:0,insetRight:c=void 0!==a?a:"x"===e?x:0,insetBottom:l=void 0!==a?a:"y"===e?_:0,insetLeft:f=void 0!==a?a:"x"===e?M:0}=t||{};if(null==o)o=void 0;else if("function"!=typeof o)throw Error("invalid scale transform; not a function");W.percent=!!i,W.label=void 0===r?function(){let t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;for(let{label:e}of n)if(void 0!==e){if(void 0===t)t=e;else if(t!==e)return}if(void 0!==t)return!O(e)&&e.percent&&(t="".concat(t," (%)")),{inferred:!0,toString:()=>t}}(Y,W):r,W.transform=o,"x"===e||"fx"===e?(W.insetLeft=+f,W.insetRight=+c):("y"===e||"fy"===e)&&(W.insetTop=+u,W.insetBottom=+l),q[e]=W}}return q}function _(t){let n={},e={scales:n};for(let[i,o]of Object.entries(t)){let{scale:t,type:a,interval:u,label:c}=o;n[i]=function(t){let{scale:n,type:e,domain:i,range:o,interpolate:a,interval:u,transform:c,percent:l,pivot:f}=t;if("identity"===e)return{type:"identity",apply:t=>t,invert:t=>t};let s=n.unknown?n.unknown():void 0;return{type:e,domain:(0,r.tP)(i),...void 0!==o&&{range:(0,r.tP)(o)},...void 0!==c&&{transform:c},...l&&{percent:l},...void 0!==s&&{unknown:s},...void 0!==u&&{interval:u},...void 0!==a&&{interpolate:a},...n.clamp&&{clamp:n.clamp()},...void 0!==f&&{pivot:f,symmetric:!1},...n.base&&{base:n.base()},...n.exponent&&{exponent:n.exponent()},...n.constant&&{constant:n.constant()},...n.align&&{align:n.align(),round:n.round()},...n.padding&&(n.paddingInner?{paddingInner:n.paddingInner(),paddingOuter:n.paddingOuter()}:{padding:n.padding()}),...n.bandwidth&&{bandwidth:n.bandwidth(),step:n.step()},apply:t=>n(t),...n.invert&&{invert:t=>n.invert(t)}}}(o),e[i]=t,t.type=a,null!=u&&(t.interval=u),null!=c&&(t.label=c)}return e}function M(t,n){let{x:e,y:r,fx:i,fy:o}=t,a=i||o?E(n):n;i&&T(i,a),o&&C(o,a);let u=i||o?A(t,n):n;e&&T(e,u),r&&C(r,u)}function k(t){return Math.sign((0,r.YY)(t.domain()))*Math.sign((0,r.YY)(t.range()))}function E(t){let{marginTop:n,marginRight:e,marginBottom:r,marginLeft:i,width:o,height:a,facet:{marginTop:u,marginRight:c,marginBottom:l,marginLeft:f}}=t;return{marginTop:Math.max(n,u),marginRight:Math.max(e,c),marginBottom:Math.max(r,l),marginLeft:Math.max(i,f),width:o,height:a}}function A(t,n){let{fx:e,fy:r}=t,{marginTop:i,marginRight:o,marginBottom:a,marginLeft:u,width:c,height:l}=E(n);return{marginTop:i,marginRight:o,marginBottom:a,marginLeft:u,width:e?e.scale.bandwidth()+u+o:c,height:r?r.scale.bandwidth()+i+a:l,facet:{width:c,height:l}}}function T(t,n){if(void 0===t.range){let{insetLeft:e,insetRight:r}=t,{width:i,marginLeft:o=0,marginRight:a=0}=n,u=o+e;t.range=[u,Math.max(u,i-a-r)],O(t)||(t.range=N(t)),t.scale.range(t.range)}S(t)}function C(t,n){if(void 0===t.range){let{insetTop:e,insetBottom:r}=t,{height:i,marginTop:o=0,marginBottom:a=0}=n,u=o+e;t.range=[Math.max(u,i-a-r),u],O(t)?t.range.reverse():t.range=N(t),t.scale.range(t.range)}S(t)}function S(t){void 0===t.round&&function(t){let{type:n}=t;return"point"===n||"band"===n}(t)&&30>=function(t){let{scale:n}=t,e=n.domain().length,[r,i]=n.range(),o=n.paddingInner?n.paddingInner():1,a=n.paddingOuter?n.paddingOuter():n.padding(),u=e-o,c=Math.abs(i-r)/Math.max(1,u+2*a);return(c-Math.floor(c))*u}(t)&&t.scale.round(!0)}function N(t){let n=t.scale.domain().length+F(t);if(!(n>2))return t.range;let[e,r]=t.range;return Array.from({length:n},(t,i)=>e+i/(n-1)*(r-e))}function D(t){return"symbol"==typeof t?t.description:t}function L(t){return"string"==typeof t?"".concat(t).toLowerCase():t}let U={toString:()=>"projection"};function R(t){switch(t){case i.FK:return"point";case i.$_:return v;default:return"ordinal"}}function O(t){let{type:n}=t;return"ordinal"===n||"point"===n||"band"===n||n===v}function F(t){let{type:n}=t;return"threshold"===n}function I(t){if(void 0===t)return!0;let n=t.domain(),e=t(n[0]);for(let r=1,i=n.length;r{if(!i.i_.has(n="".concat(n)))throw Error("unknown scale: ".concat(n));return t[n]}}},3779:function(t,n,e){e.d(n,{$_:function(){return i},FK:function(){return r},NA:function(){return c},Oh:function(){return u},WK:function(){return s},i_:function(){return f},kE:function(){return a},q0:function(){return o},ur:function(){return d}});let r=Symbol("position"),i=Symbol("color"),o=Symbol("radius"),a=Symbol("length"),u=Symbol("opacity"),c=Symbol("symbol"),l=Symbol("projection"),f=new Map([["x",r],["y",r],["fx",r],["fy",r],["r",o],["color",i],["opacity",u],["symbol",c],["length",a],["projection",l]]);function s(t){return t===r||t===l}function d(t){return t===r||t===o||t===a||t===u}},2922:function(t,n,e){e.d(n,{As:function(){return x},GX:function(){return d},JI:function(){return p},LF:function(){return s},LG:function(){return k},Py:function(){return h},RR:function(){return c},bm:function(){return y},eG:function(){return v},hv:function(){return m},ip:function(){return _},jz:function(){return b},vv:function(){return g},x6:function(){return w}});var r=e(2626),i=e(3664),o=e(3262),a=e(3779),u=e(865);let c=t=>n=>t(1-n),l=[0,1],f=new Map([["number",r.k46],["rgb",r.LX0],["hsl",r.USs],["hcl",r.JHv],["lab",r.uUj]]);function s(t){let n="".concat(t).toLowerCase();if(!f.has(n))throw Error("unknown interpolator: ".concat(n));return f.get(n)}function d(t,n,e,f){var d;let{type:h,nice:p,clamp:g,zero:v,domain:b=M(t,e),unknown:m,round:y,scheme:w,interval:x,range:_=a.i_.get(t)===a.q0?function(t,n){let e=t.find(t=>{let{radius:n}=t;return void 0!==n});if(void 0!==e)return[0,e.radius];let o=(0,r.VRg)(t,.5,t=>{let{value:n}=t;return void 0===n?NaN:(0,r.VRg)(n,.25,i.i1)}),a=n.map(t=>3*Math.sqrt(t/o)),u=30/(0,r.Fp7)(a);return u<1?a.map(t=>t*u):a}(e,b):a.i_.get(t)===a.kE?function(t,n){let e=(0,r.C2o)(t,t=>{let{value:n}=t;return void 0===n?NaN:(0,r.C2o)(n,Math.abs)}),i=n.map(t=>12*t/e),o=60/(0,r.Fp7)(i);return o<1?i.map(t=>t*o):i}(e,b):a.i_.get(t)===a.Oh?l:void 0,interpolate:E=a.i_.get(t)===a.$_?null==w&&void 0!==_?r.LX0:(0,u.Dp)(void 0!==w?w:"cyclical"===h?"rainbow":"turbo"):y?r.uLU:r.k46,reverse:A}=f;if(x=(0,o.rn)(x,h),("cyclical"===h||"sequential"===h)&&(h="linear"),"function"!=typeof E&&(E=s(E)),A=!!A,void 0!==_&&(b=(0,o.lE)(b)).length!==(_=(0,o.lE)(_)).length){if(1===E.length)throw Error("invalid piecewise interpolator");E=(0,r.sOJ)(E,_),_=void 0}if(1===E.length?(A&&(E=c(E),A=!1),void 0===_&&2===(_=Float64Array.from(b,(t,n)=>n/(b.length-1))).length&&(_=l),n.interpolate((_===l?o.a9:k)(E))):n.interpolate(E),v){let[t,n]=(0,r.Wem)(b);(t>0||n<0)&&(b=(0,o.tP)(b),(0,o.YY)(b)!==Math.sign(t)?b[b.length-1]=0:b[0]=0)}return A&&(b=(0,r.GYS)(b)),n.domain(b).unknown(m),p&&(n.nice((d=h,!0===p?void 0:"number"==typeof p?p:(0,o.RT)(p,d))),b=n.domain()),void 0!==_&&n.range(_),g&&n.clamp(g),{type:h,domain:b,range:_,scale:n,interpolate:E,interval:x}}function h(t,n,e){return d(t,(0,r.BYU)(),n,e)}function p(t,n,e){return g(t,n,{...e,exponent:.5})}function g(t,n,e){let{exponent:i=1,...o}=e;return d(t,(0,r.vY$)().exponent(i),n,{...o,type:"pow"})}function v(t,n,e){let{base:o=10,domain:a=function(t){for(let{value:n}of t)if(void 0!==n)for(let e of n){if(e>0)return _(t,i.i1);if(e<0)return _(t,i.pd)}return[1,10]}(n),...u}=e;return d(t,(0,r.p2C)().base(o),n,{...u,domain:a})}function b(t,n,e){let{constant:i=1,...o}=e;return d(t,(0,r.eh9)().constant(i),n,o)}function m(t,n,e){let{range:i,quantiles:o=void 0===i?5:(i=[...i]).length,n:c=o,scheme:l="rdylbu",domain:f=function(t){let n=[];for(let{value:e}of t)if(void 0!==e)for(let t of e)n.push(t);return n}(n),unknown:s,interpolate:d,reverse:h}=e;return void 0===i&&(i=void 0!==d?(0,r.q$2)(d,c):a.i_.get(t)===a.$_?(0,u.B_)(l,c):void 0),f.length>0&&(f=(0,r.FTZ)(f,void 0===i?{length:c}:i).quantiles()),w(t,n,{domain:f,range:i,reverse:h,unknown:s})}function y(t,n,e){let i,{range:c,n:l=void 0===c?5:(c=[...c]).length,scheme:f="rdylbu",domain:s=M(t,n),unknown:d,interpolate:h,reverse:p}=e,[g,v]=(0,r.Wem)(s);return void 0===c?((i=(0,r.sdl)(g,v,l))[0]<=g&&i.splice(0,1),i[i.length-1]>=v&&i.pop(),l=i.length+1,c=void 0!==h?(0,r.q$2)(h,l):a.i_.get(t)===a.$_?(0,u.B_)(f,l):void 0):(i=(0,r.q$2)((0,r.k46)(g,v),l+1).slice(1,-1),g instanceof Date&&(i=i.map(t=>new Date(t)))),0>(0,o.YY)((0,o.lE)(s))&&i.reverse(),w(t,n,{domain:i,range:c,reverse:p,unknown:d})}function w(t,n,e){let{domain:i=[0],unknown:c,scheme:l="rdylbu",interpolate:f,range:s=void 0!==f?(0,r.q$2)(f,i.length+1):a.i_.get(t)===a.$_?(0,u.B_)(l,i.length+1):void 0,reverse:d}=e;i=(0,o.lE)(i);let h=(0,o.YY)(i);if(!isNaN(h)&&!function(t,n){for(let e=1,i=t.length,o=t[0];et}}function _(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.yx;return t.length?[(0,r.VV$)(t,t=>{let{value:e}=t;return void 0===e?e:(0,r.VV$)(e,n)}),(0,r.Fp7)(t,t=>{let{value:e}=t;return void 0===e?e:(0,r.Fp7)(e,n)})]:[0,1]}function M(t,n){let e=a.i_.get(t);return(e===a.q0||e===a.Oh||e===a.kE?function(t){return[0,t.length?(0,r.Fp7)(t,t=>{let{value:n}=t;return void 0===n?n:(0,r.Fp7)(n,i.yx)}):1]}:_)(n)}function k(t){return(n,e)=>r=>t(n+r*(e-n))}},865:function(t,n,e){e.d(n,{B_:function(){return h},Dp:function(){return v},OD:function(){return m},TI:function(){return d},rO:function(){return o},wr:function(){return p}});var r=e(2626);let i=new Map([["accent",r.Mr0],["category10",r.Cn1],["dark2",r.XgA],["observable10",["#4269d0","#efb118","#ff725c","#6cc5b0","#3ca951","#ff8ab7","#a463f2","#97bbf5","#9c6b4e","#9498a0"]],["paired",r.xHP],["pastel1",r.rp],["pastel2",r.i4X],["set1",r.yKE],["set2",r.W1Y],["set3",r.UCG],["tableau10",r.K2I]]);function o(t){return null!=t&&i.has("".concat(t).toLowerCase())}let a=new Map([...i,["brbg",c(r.QAz,r.yll)],["prgn",c(r.UhD,r.nnd)],["piyg",c(r.LxA,r.qw8)],["puor",c(r.$Kk,r.xNW)],["rdbu",c(r.HWp,r.DeQ)],["rdgy",c(r.u_L,r.PLC)],["rdylbu",c(r.XXD,r.zJm)],["rdylgn",c(r.KrL,r.BT8)],["spectral",c(r.lqd,r.T0$)],["burd",l(r.HWp,r.DeQ)],["buylrd",l(r.XXD,r.zJm)],["blues",u(r.KHk,r.sY$)],["greens",u(r.YoJ,r.Maq)],["greys",u(r.bUD,r.A_t)],["oranges",u(r.P0_,r.n$j)],["purples",u(r.DRS,r.XWu)],["reds",u(r.zU5,r.bc$)],["turbo",f(r._BJ)],["viridis",f(r.Vaf)],["magma",f(r.Gii)],["inferno",f(r.sN9)],["plasma",f(r.iAt)],["cividis",f(r.r1t)],["cubehelix",f(r.yBY)],["warm",f(r.AO_)],["cool",f(r.vcY)],["bugn",u(r.S1w,r.pls)],["bupu",u(r.DQq,r.hbk)],["gnbu",u(r.ATy,r.XwM)],["orrd",u(r.plj,r.RZU)],["pubu",u(r.UV8,r.GMc)],["pubugn",u(r.g1E,r.S7V)],["purd",u(r.F6U,r.cUW)],["rdpu",u(r.zsO,r.A4V)],["ylgn",u(r.GEx,r.aEZ)],["ylgnbu",u(r.YiU,r.HtN)],["ylorbr",u(r.GbK,r.Y_x)],["ylorrd",u(r.M7X,r.cjJ)],["rainbow",s(r.ICD)],["sinebow",s(r.OOA)]]);function u(t,n){return e=>{let{length:i}=e;return 1===i?[t[3][1]]:2===i?[t[3][1],t[3][2]]:(i=Math.max(3,Math.floor(i)))>9?(0,r.q$2)(n,i):t[i]}}function c(t,n){return e=>{let{length:i}=e;return 2===i?[t[3][0],t[3][2]]:(i=Math.max(3,Math.floor(i)))>11?(0,r.q$2)(n,i):t[i]}}function l(t,n){return e=>{let{length:i}=e;return 2===i?[t[3][2],t[3][0]]:(i=Math.max(3,Math.floor(i)))>11?(0,r.q$2)(t=>n(1-t),i):t[i].slice().reverse()}}function f(t){return n=>{let{length:e}=n;return(0,r.q$2)(t,Math.max(2,Math.floor(e)))}}function s(t){return n=>{let{length:e}=n;return(0,r.q$2)(t,Math.floor(e)+1).slice(0,-1)}}function d(t){let n="".concat(t).toLowerCase();if(!a.has(n))throw Error("unknown ordinal scheme: ".concat(n));return a.get(n)}function h(t,n){let e=d(t),r="function"==typeof e?e({length:n}):e;return r.length!==n?r.slice(0,n):r}function p(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"greys",e=new Set,[r,i]=h(n,2);for(let n of t)if(null!=n){if(!0===n)e.add(i);else{if(!1!==n)return;e.add(r)}}return[...e]}let g=new Map([["brbg",r.yll],["prgn",r.nnd],["piyg",r.qw8],["puor",r.xNW],["rdbu",r.DeQ],["rdgy",r.PLC],["rdylbu",r.zJm],["rdylgn",r.BT8],["spectral",r.T0$],["burd",t=>(0,r.DeQ)(1-t)],["buylrd",t=>(0,r.zJm)(1-t)],["blues",r.sY$],["greens",r.Maq],["greys",r.A_t],["purples",r.XWu],["reds",r.bc$],["oranges",r.n$j],["turbo",r._BJ],["viridis",r.Vaf],["magma",r.Gii],["inferno",r.sN9],["plasma",r.iAt],["cividis",r.r1t],["cubehelix",r.yBY],["warm",r.AO_],["cool",r.vcY],["bugn",r.pls],["bupu",r.hbk],["gnbu",r.XwM],["orrd",r.RZU],["pubugn",r.S7V],["pubu",r.GMc],["purd",r.cUW],["rdpu",r.A4V],["ylgnbu",r.HtN],["ylgn",r.aEZ],["ylorbr",r.Y_x],["ylorrd",r.cjJ],["rainbow",r.ICD],["sinebow",r.OOA]]);function v(t){let n="".concat(t).toLowerCase();if(!g.has(n))throw Error("unknown quantitative scheme: ".concat(n));return g.get(n)}let b=new Set(["brbg","prgn","piyg","puor","rdbu","rdgy","rdylbu","rdylgn","spectral","burd","buylrd"]);function m(t){return null!=t&&b.has("".concat(t).toLowerCase())}},3874:function(t,n,e){e.d(n,{CU:function(){return m},Cp:function(){return p},HD:function(){return y},J4:function(){return x},J_:function(){return g},Ne:function(){return w},W2:function(){return d},cv:function(){return l},dD:function(){return b},fs:function(){return A},jb:function(){return E},td:function(){return v},uB:function(){return k}});var r=e(2626),i=e(2700),o=e(3664),a=e(4740),u=e(3262),c=e(7143);let l=window.devicePixelRatio>1?0:.5,f=0;function s(){return"plot-clip-".concat(++f)}function d(t,n,e){let{title:r,href:i,ariaLabel:o,ariaDescription:a,ariaHidden:c,target:l,fill:f,fillOpacity:s,stroke:d,strokeWidth:h,strokeOpacity:p,strokeLinejoin:g,strokeLinecap:v,strokeMiterlimit:b,strokeDasharray:m,strokeDashoffset:y,opacity:w,mixBlendMode:M,imageFilter:k,paintOrder:E,pointerEvents:A,shapeRendering:T,channels:C}=n,{ariaLabel:S,fill:N="currentColor",fillOpacity:D,stroke:L="none",strokeOpacity:U,strokeWidth:R,strokeLinecap:O,strokeLinejoin:F,strokeMiterlimit:I,paintOrder:j}=e;null===N&&(f=null,s=null),null===L&&(d=null,p=null),(0,u.U_)(N)?!(0,u.U_)(L)&&(!(0,u.U_)(f)||(null==C?void 0:C.fill))&&(L="none"):(0,u.U_)(L)&&(!(0,u.U_)(d)||(null==C?void 0:C.stroke))&&(N="none");let[z,q]=(0,u.uw)(f,N),[Y,W]=(0,u.g_)(s,D),[P,H]=(0,u.uw)(d,L),[$,B]=(0,u.g_)(p,U),[Z,V]=(0,u.g_)(w);(0,u.Wi)(H)||(void 0===h&&(h=R),void 0===v&&(v=O),void 0===g&&(g=F),void 0!==b||(0,u.ZW)(g)||(b=I),(0,u.Wi)(q)||void 0!==E||(E=j));let[X,K]=(0,u.g_)(h);return null!==N&&(t.fill=x(q,"currentColor"),t.fillOpacity=_(W,1)),null!==L&&(t.stroke=x(H,"none"),t.strokeWidth=_(K,1),t.strokeOpacity=_(B,1),t.strokeLinejoin=x(g,"miter"),t.strokeLinecap=x(v,"butt"),t.strokeMiterlimit=_(b,4),t.strokeDasharray=x(m,"none"),t.strokeDashoffset=x(y,"0")),t.target=(0,u.Z_)(l),t.ariaLabel=(0,u.Z_)(S),t.ariaDescription=(0,u.Z_)(a),t.ariaHidden=(0,u.Z_)(c),t.opacity=_(V,1),t.mixBlendMode=x(M,"normal"),t.imageFilter=x(k,"none"),t.paintOrder=x(E,"normal"),t.pointerEvents=x(A,"auto"),t.shapeRendering=x(T,"auto"),{title:{value:r,optional:!0,filter:null},href:{value:i,optional:!0,filter:null},ariaLabel:{value:o,optional:!0,filter:null},fill:{value:z,scale:"auto",optional:!0},fillOpacity:{value:Y,scale:"auto",optional:!0},stroke:{value:P,scale:"auto",optional:!0},strokeOpacity:{value:$,scale:"auto",optional:!0},strokeWidth:{value:X,optional:!0},opacity:{value:Z,scale:"auto",optional:!0}}}function h(t,n){n&&t.text(t=>(0,a.HI)(n[t]))}function p(t,n,e){let{target:i,tip:a}=n,{ariaLabel:u,title:c,fill:l,fillOpacity:f,stroke:s,strokeOpacity:d,strokeWidth:p,opacity:g,href:v}=e;u&&y(t,"aria-label",t=>u[t]),l&&y(t,"fill",t=>l[t]),f&&y(t,"fill-opacity",t=>f[t]),s&&y(t,"stroke",t=>s[t]),d&&y(t,"stroke-opacity",t=>d[t]),p&&y(t,"stroke-width",t=>p[t]),g&&y(t,"opacity",t=>g[t]),v&&function(t,n,e){t.each(function(t){let i=n(t);if(null!=i){let t=this.ownerDocument.createElementNS(r.aC9.svg,"a");t.setAttribute("fill","inherit"),t.setAttributeNS(r.aC9.xlink,"href",i),null!=e&&t.setAttribute("target",e),this.parentNode.insertBefore(t,this).appendChild(this)}})}(t,t=>v[t],i),!a&&c&&t.filter(t=>(0,o.PV)(c[t])).append("title").call(h,c)}function g(t,n,e){let i=(0,r.ruo)(t,t=>n[t]);return void 0===e&&i.size>1+t.length>>1&&(0,c.Z)("Warning: the implicit z channel has high cardinality. This may occur when the fill or stroke channel is associated with quantitative data rather than ordinal or categorical data. You can suppress this warning by setting the z option explicitly; if this data represents a single series, set z to null."),i.values()}function v(t){return!0===t?t="frame":!1===t?t=null:null!=t&&(t=(0,u.$E)(t,"clip",["frame","sphere"])),t}function b(t,n,e,o){!function(t,n,e,o){let a;let{clip:u=o.clip}=n;switch(u){case"frame":{let{width:n,height:r,marginLeft:u,marginRight:c,marginTop:l,marginBottom:f}=e,d=s();a="url(#".concat(d,")"),t=(0,i.U)("svg:g",o).call(t=>t.append("svg:clipPath").attr("id",d).append("rect").attr("x",u).attr("y",l).attr("width",n-c-u).attr("height",r-l-f)).each(function(){this.appendChild(t.node()),t.node=()=>this});break}case"sphere":{let{projection:n}=o;if(!n)throw Error('the "sphere" clip option requires a projection');let e=s();a="url(#".concat(e,")"),t.append("clipPath").attr("id",e).append("path").attr("d",(0,r.l49)(n)({type:"Sphere"}))}}y(t,"aria-label",n.ariaLabel),y(t,"aria-description",n.ariaDescription),y(t,"aria-hidden",n.ariaHidden),y(t,"clip-path",a)}(t,n,e,o),y(t,"fill",n.fill),y(t,"fill-opacity",n.fillOpacity),y(t,"stroke",n.stroke),y(t,"stroke-width",n.strokeWidth),y(t,"stroke-opacity",n.strokeOpacity),y(t,"stroke-linejoin",n.strokeLinejoin),y(t,"stroke-linecap",n.strokeLinecap),y(t,"stroke-miterlimit",n.strokeMiterlimit),y(t,"stroke-dasharray",n.strokeDasharray),y(t,"stroke-dashoffset",n.strokeDashoffset),y(t,"shape-rendering",n.shapeRendering),y(t,"filter",n.imageFilter),y(t,"paint-order",n.paintOrder);let{pointerEvents:a=!1===o.pointerSticky?"none":void 0}=n;y(t,"pointer-events",a)}function m(t,n){var e;null!=(e=n.mixBlendMode)&&t.style("mix-blend-mode",e),y(t,"opacity",n.opacity)}function y(t,n,e){null!=e&&t.attr(n,e)}function w(t,n,e){let{x:r,y:i}=e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:l;o+=n.dx,a+=n.dy,(null==r?void 0:r.bandwidth)&&(o+=r.bandwidth()/2),(null==i?void 0:i.bandwidth)&&(a+=i.bandwidth()/2),(o||a)&&t.attr("transform","translate(".concat(o,",").concat(a,")"))}function x(t,n){if((t=(0,u.Z_)(t))!==n)return t}function _(t,n){if((t=(0,u.Rx)(t))!==n)return t}let M=/^-?([_a-z]|[\240-\377]|\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?|\\[^\r\n\f0-9a-f])([_a-z0-9-]|[\240-\377]|\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?|\\[^\r\n\f0-9a-f])*$/i;function k(t){if(void 0===t)return"plot-d6a7b5";if(t="".concat(t),!M.test(t))throw Error("invalid class name: ".concat(t));return t}function E(t,n){if("string"==typeof n)t.property("style",n);else if(null!=n)for(let e of t)Object.assign(e.style,n)}function A(t,n){let{frameAnchor:e}=t,{width:r,height:i,marginTop:o,marginRight:a,marginBottom:u,marginLeft:c}=n;return[/left$/.test(e)?c:/right$/.test(e)?r-a:(c+r-a)/2,/^top/.test(e)?o:/^bottom/.test(e)?i-u:(o+i-u)/2]}},3628:function(t,n,e){e.d(n,{sr:function(){return c},yk:function(){return u}});var r=e(2626);let i=2/Math.sqrt(3),o=new Map([["asterisk",r.E1T],["circle",r.JFv],["cross",r.tJO],["diamond",r.rZl],["diamond2",r.syu],["hexagon",{draw(t,n){let e=Math.sqrt(n/Math.PI),r=e*i,o=r/2;t.moveTo(0,r),t.lineTo(e,o),t.lineTo(e,-o),t.lineTo(0,-r),t.lineTo(-e,-o),t.lineTo(-e,o),t.closePath()}}],["plus",r.X_O],["square",r.m_s],["square2",r.hsf],["star",r.Hmc],["times",r.NZj],["triangle",r.P67],["triangle2",r.vgc],["wye",r.n31]]);function a(t){return t&&"function"==typeof t.draw}function u(t){return!!a(t)||"string"==typeof t&&o.has(t.toLowerCase())}function c(t){if(null==t||a(t))return t;let n=o.get("".concat(t).toLowerCase());if(n)return n;throw Error("invalid symbol: ".concat(t))}},6614:function(t,n,e){e.d(n,{X:function(){return r}});function r(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r{let r=t[0];for(let o=0;o1&&!i.every)throw Error("non-periodic interval: ".concat(n));return[n,e]}function g(t){return b(p(t),"time")}function v(t){return b(p(t),"utc")}function b(t,n){let[e,r]=t,i=("time"===n?u:c).get(e);return r>1&&((i=i.every(r))[l]=a.get(e)*r,i[f]=n),i}function m(t,n){if(!(n>1))return;let e=t[l];if(!o.some(t=>{let[,n]=t;return n===e})||e%864e5==0&&864e5{let[,n]=t;return Math.log(n)}).center(o,Math.log(e*n))];return("time"===t[f]?g:v)(i)}function y(t,n,e){let i="time"===n?r.i$Z:r.g0u;if(null==e)return i("year"===t?"%Y":"month"===t?"%Y-%m":"day"===t?"%Y-%m-%d":"hour"===t||"minute"===t?"%Y-%m-%dT%H:%M":"second"===t?"%Y-%m-%dT%H:%M:%S":"%Y-%m-%dT%H:%M:%S.%L");let o="left"===e||"right"===e?(t,n)=>"\n".concat(t,"\n").concat(n):"top"===e?(t,n)=>"".concat(n,"\n").concat(t):(t,n)=>"".concat(t,"\n").concat(n);switch(t){case"millisecond":return x(i(".%L"),i(":%M:%S"),o);case"second":return x(i(":%S"),i("%-I:%M"),o);case"minute":return x(i("%-I:%M"),i("%p"),o);case"hour":return x(i("%-I %p"),i("%b %-d"),o);case"day":return x(i("%-d"),i("%b"),o);case"month":return x(i("%b"),i("%Y"),o);case"year":return i("%Y")}throw Error("unable to format time ticks")}function w(t,n,e){let i=(0,r.Fp7)((0,r.XaM)(n,(t,n)=>Math.abs(n-t)));if(i<1e3)return y("millisecond","utc",e);for(let[r,o,a,u]of"time"===t?d:"utc"===t?s:h){if(i>u||"hour"===r&&!i)break;if(n.every(t=>o.floor(t)>=t))return y(r,a,e)}}function x(t,n,e){return(r,o,a)=>{let u=t(r,o),c=n(r,o),l=o-(0,i.YY)(a);return o!==l&&void 0!==a[l]&&c===n(a[l],l)?u:e(u,c)}}},7757:function(t,n,e){e.d(n,{RB:function(){return o},zj:function(){return a}}),e(2626);var r=e(3664),i=e(3262);function o(){let{filter:t,sort:n,reverse:e,transform:r,initializer:o,...a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=arguments.length>1?arguments[1]:void 0;if(void 0===r&&(null!=t&&(r=l(t)),null==n||(0,i.Y4)(n)||(r=u(r,s(n))),e&&(r=u(r,f))),null!=c&&null!=o)throw Error("transforms cannot be applied after initializers");return{...a,...(null===n||(0,i.Y4)(n))&&{sort:n},transform:u(r,c)}}function a(){let{filter:t,sort:n,reverse:e,initializer:r,...o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;return void 0===r&&(null!=t&&(r=l(t)),null==n||(0,i.Y4)(n)||(r=c(r,s(n))),e&&(r=c(r,f))),{...o,...(null===n||(0,i.Y4)(n))&&{sort:n},initializer:c(r,a)}}function u(t,n){return null==t?null===n?void 0:n:null==n?null===t?void 0:t:function(e,r,o){return{data:e,facets:r}=t.call(this,e,r,o),n.call(this,(0,i.lE)(e),r,o)}}function c(t,n){return null==t?null===n?void 0:n:null==n?null===t?void 0:t:function(e,r,i){let o,a,u,c,l,f;for(var s=arguments.length,d=Array(s>3?s-3:0),h=3;h{let r=(0,i.dj)(n,t);return{data:n,facets:e.map(t=>t.filter(t=>r[t]))}}}function f(t,n){return{data:t,facets:n.map(t=>t.slice().reverse())}}function s(t){return("function"==typeof t&&1!==t.length?function(t){return(n,e)=>{let r=(e,r)=>t(n[e],n[r]);return{data:n,facets:e.map(t=>t.slice().sort(r))}}}:function(t){let n,e;({channel:n,value:t,order:e}={...(0,i.i)(t)});let o=null==n?void 0:n.startsWith("-");if(o&&(n=n.slice(1)),void 0===e&&(e=o?r.Zj:r.Wv),"function"!=typeof e)switch("".concat(e).toLowerCase()){case"ascending":e=r.Wv;break;case"descending":e=r.Zj;break;default:throw Error("invalid order: ".concat(e))}return(r,o,a)=>{let u;if(void 0===n)u=(0,i.dj)(r,t);else{if(void 0===a)throw Error("channel sort requires an initializer");if(!(u=a[n]))return{};u=u.value}let c=(t,n)=>e(u[t],u[n]);return{data:r,facets:o.map(t=>t.slice().sort(c))}}})(t)}},218:function(t,n,e){e.d(n,{y6:function(){return h},uW:function(){return p},ut:function(){return s},HE:function(){return d}});var r=e(3262),i=e(3874);function o(){let{inset:t,insetLeft:n,insetRight:e,...r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[n,e]=u(t,n,e),{inset:t,insetLeft:n,insetRight:e,...r}}function a(){let{inset:t,insetTop:n,insetBottom:e,...r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[n,e]=u(t,n,e),{inset:t,insetTop:n,insetBottom:e,...r}}function u(t,n,e){return void 0===t&&void 0===n&&void 0===e?i.cv?[1,0]:[.5,.5]:[n,e]}function c(t,n){let{interval:e}=n;return(t={...(0,r.i)(t)}).interval=(0,r.yL)(void 0===t.interval?e:t.interval),t}function l(t,n,e,i){let o,a;let{[t]:u,["".concat(t,"1")]:l,["".concat(t,"2")]:f}=e,{value:s,interval:d}=c(u,e);if(null==s||null==d&&!i)return e;let h=(0,r.Aj)(u);if(null==d){let n;let o={transform:t=>n||(n=(0,r.dj)(t,s)),label:h};return{...e,[t]:void 0,["".concat(t,"1")]:void 0===l?o:l,["".concat(t,"2")]:void 0!==f||l===f&&i?f:o}}function p(t){return void 0!==a&&t===o?a:a=(0,r.UI)((0,r.dj)(o=t,s),t=>d.floor(t))}return n({...e,[t]:void 0,["".concat(t,"1")]:void 0===l?{transform:p,label:h}:l,["".concat(t,"2")]:void 0===f?{transform:t=>p(t).map(t=>d.offset(t)),label:h}:f})}function f(t,n,e){let{[t]:i}=e,{value:o,interval:a}=c(i,e);return null==o||null==a?e:n({...e,[t]:{label:(0,r.Aj)(i),transform:t=>{let n=(0,r.UI)((0,r.dj)(t,o),t=>a.floor(t)),e=n.map(t=>a.offset(t));return n.map((0,r.IC)(n)?(t,n)=>null==t||isNaN(t=+t)||null==(n=e[n])||isNaN(n=+n)?void 0:new Date((t+n)/2):(t,n)=>null==t||null==(n=e[n])?NaN:(+t+ +n)/2)}}})}function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l("x",o,t)}function d(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l("y",a,t)}function h(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return f("x",o,t)}function p(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return f("y",a,t)}},7143:function(t,n,e){let r;e.d(n,{Z:function(){return a},b:function(){return o}});let i=0;function o(){let t=i;return i=0,r=void 0,t}function a(t){t!==r&&(r=t,console.warn(t),++i)}},6093:function(t,n,e){e.d(n,{_:function(){return r}});function r(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}},2626:function(t,n,e){let r,i,o,a;function u(t,n){return null==t||null==n?NaN:tn?1:t>=n?0:NaN}function c(t,n){return null==t||null==n?NaN:nt?1:n>=t?0:NaN}function l(t){let n,e,r;function i(t,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;if(i>>1;0>e(t[n],r)?i=n+1:o=n}while(iu(t(n),e),r=(n,e)=>t(n)-e):(n=t===u||t===c?t:f,e=t,r=t),{left:i,center:function(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length,a=i(t,n,e,o-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;if(i>>1;0>=e(t[n],r)?i=n+1:o=n}while(i0)}function h(t){return"object"!=typeof t||"length"in t?t:Array.from(t)}function p(){for(var t,n=arguments.length,e=Array(n),r=0;rt(...n)),o=(e=e.map(h)).map(s),a=e.length-1,u=Array(a+1).fill(0),c=[];if(a<0||o.some(d))return c;for(;;){c.push(u.map((t,n)=>e[n][t]));let t=a;for(;++u[t]===o[t];){if(0===t)return i?c.map(i):c;u[t--]=0}}}function g(t,n){let e,r=0,i=0,o=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(e=n-i,i+=e/++r,o+=e*(n-i));else{let a=-1;for(let u of t)null!=(u=n(u,++a,t))&&(u=+u)>=u&&(e=u-i,i+=e/++r,o+=e*(u-i))}if(r>1)return o/(r-1)}function v(t,n){let e=g(t,n);return e?Math.sqrt(e):e}function b(t,n){let e,r;if(void 0===n)for(let n of t)null!=n&&(void 0===e?n>=n&&(e=r=n):(e>n&&(e=n),r=o&&(e=r=o):(e>o&&(e=o),raf(n,t()).base(n.base()),o3.apply(n,arguments),n}},PKp:function(){return o9},q2y:function(){return an},vY$:function(){return function t(){var n=aT(as());return n.copy=function(){return af(n,t()).exponent(n.exponent())},o3.apply(n,arguments),n}},FTZ:function(){return function t(){var n,e=[],r=[],i=[];function o(){var t=0,n=Math.max(1,r.length);for(i=Array(n-1);++t2&&void 0!==arguments[2]?arguments[2]:I;if(!(!(r=t.length)||isNaN(n=+n))){if(n<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),a=+e(t[o],o,t);return a+(+e(t[o+1],o+1,t)-a)*(i-o)}}(e,t/n);return a}function a(t){return null==t||isNaN(t=+t)?n:r[ar(i,t)]}return a.invertExtent=function(t){var n=r.indexOf(t);return n<0?[NaN,NaN]:[n>0?i[n-1]:e[0],n1?n-1:0),r=1;r2?e-2:0),i=2;i2?e-2:0),i=2;i=r.length)return e(i);let a=new m,u=r[o++],c=-1;for(let t of i){let n=u(t,++c,i),e=a.get(n);e?e.push(t):a.set(n,[t])}for(let[n,e]of a)a.set(n,t(e,o));return n(a)}(t,0)}function S(t,n){let e;if(void 0===n)for(let n of t)null!=n&&(e=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e=i)&&(e=i)}return e}function N(t,n){let e;let r=-1,i=-1;if(void 0===n)for(let n of t)++i,null!=n&&(e=n)&&(e=n,r=i);else for(let o of t)null!=(o=n(o,++i,t))&&(e=o)&&(e=o,r=i);return r}function D(t,n){let e=0,r=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(++e,r+=n);else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(o=+o)>=o&&(++e,r+=o)}if(e)return r/e}function L(t,n){let e;if(void 0===n)for(let n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}function U(t){for(var n,e=arguments.length,r=Array(e>1?e-1:0),i=1;i1){let e=Uint32Array.from(t,(t,n)=>n);return r.length>1?(r=r.map(n=>t.map(n)),e.sort((t,n)=>{for(let e of r){let r=O(e[t],e[n]);if(r)return r}})):(o=t.map(o),e.sort((t,n)=>O(o[t],o[n]))),n=t,Array.from(e,t=>n[t])}return t.sort(R(o))}function R(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u;if(t===u)return O;if("function"!=typeof t)throw TypeError("compare is not a function");return(n,e)=>{let r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}function O(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(tn?1:0)}function F(t,n,e){let r=t[n];t[n]=t[e],t[e]=r}function I(t){return null===t?NaN:+t}function j(t,n,e){if(!(!(r=(t=Float64Array.from(function*(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e))).length)||isNaN(n=+n))){if(n<=0||r<2)return L(t);if(n>=1)return S(t);var r,i=(r-1)*n,o=Math.floor(i),a=S((function t(n,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,o=arguments.length>4?arguments[4]:void 0;if(e=Math.floor(e),r=Math.floor(Math.max(0,r)),i=Math.floor(Math.min(n.length-1,i)),!(r<=e&&e<=i))return n;for(o=void 0===o?O:R(o);i>r;){if(i-r>600){let a=i-r+1,u=e-r+1,c=Math.log(a),l=.5*Math.exp(2*c/3),f=.5*Math.sqrt(c*l*(a-l)/a)*(u-a/2<0?-1:1),s=Math.max(r,Math.floor(e-u*l/a+f)),d=Math.min(i,Math.floor(e+(a-u)*l/a+f));t(n,e,s,d,o)}let a=n[e],u=r,c=i;for(F(n,r,e),o(n[i],a)>0&&F(n,r,i);uo(n[u],a);)++u;for(;o(n[c],a)>0;)--c}0===o(n[r],a)?F(n,r,c):F(n,++c,i),c<=e&&(r=c+1),e<=c&&(i=c-1)}return n})(t,o).subarray(0,o+1));return a+(L(t.subarray(o+1))-a)*(i-o)}}function z(t,n){return j(t,.5,n)}function q(t,n){let e;let r=-1,i=-1;if(void 0===n)for(let n of t)++i,null!=n&&(e>n||void 0===e&&n>=n)&&(e=n,r=i);else for(let o of t)null!=(o=n(o,++i,t))&&(e>o||void 0===e&&o>=o)&&(e=o,r=i);return r}function Y(t,n){let e;let r=new m;if(void 0===n)for(let n of t)null!=n&&n>=n&&r.set(n,(r.get(n)||0)+1);else{let e=-1;for(let i of t)null!=(i=n(i,++e,t))&&i>=i&&r.set(i,(r.get(i)||0)+1)}let i=0;for(let[t,n]of r)n>i&&(i=n,e=t);return e}function W(t){let n,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P,r=[],i=!1;for(let o of t)i&&r.push(e(n,o)),n=o,i=!0;return r}function P(t,n){return[t,n]}function H(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=Array(i);++r=B?10:c>=Z?5:c>=V?2:1;return(u<0?(r=Math.round(t*(o=Math.pow(10,-u)/l)),i=Math.round(n*o),r/on&&--i,o=-o):(r=Math.round(t/(o=Math.pow(10,u)*l)),i=Math.round(n/o),r*on&&--i),i0))return[];if(t===n)return[t];let r=n=i))return[];let u=o-i+1,c=Array(u);if(r){if(a<0)for(let t=0;t1?0:.5,l=1===t||4===t?-1:1,f=4===t||2===t?"x":"y",s=1===t||3===t?tn:te;function d(d){var h=null==r?n.ticks?n.ticks.apply(n,e):n.domain():r,p=null==i?n.tickFormat?n.tickFormat.apply(n,e):tt:i,g=Math.max(o,0)+u,v=n.range(),b=+v[0]+c,m=+v[v.length-1]+c,y=(n.bandwidth?function(t,n){return n=Math.max(0,t.bandwidth()-2*n)/2,t.round()&&(n=Math.round(n)),e=>+t(e)+n}:function(t){return n=>+t(n)})(n.copy(),c),w=d.selection?d.selection():d,x=w.selectAll(".domain").data([null]),_=w.selectAll(".tick").data(h,n).order(),M=_.exit(),k=_.enter().append("g").attr("class","tick"),E=_.select("line"),A=_.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),_=_.merge(k),E=E.merge(k.append("line").attr("stroke","currentColor").attr(f+"2",l*o)),A=A.merge(k.append("text").attr("fill","currentColor").attr(f,l*g).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),d!==w&&(x=x.transition(d),_=_.transition(d),E=E.transition(d),A=A.transition(d),M=M.transition(d).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=y(t))?s(t+c):this.getAttribute("transform")}),k.attr("opacity",1e-6).attr("transform",function(t){var n=this.parentNode.__axis;return s((n&&isFinite(n=n(t))?n:y(t))+c)})),M.remove(),x.attr("d",4===t||2===t?a?"M"+l*a+","+b+"H"+c+"V"+m+"H"+l*a:"M"+c+","+b+"V"+m:a?"M"+b+","+l*a+"V"+c+"H"+m+"V"+l*a:"M"+b+","+c+"H"+m),_.attr("opacity",1).attr("transform",function(t){return s(y(t)+c)}),E.attr(f+"2",l*o),A.attr(f,l*g).text(p),w.filter(tr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),w.each(function(){this.__axis=y})}return d.scale=function(t){return arguments.length?(n=t,d):n},d.ticks=function(){return e=Array.from(arguments),d},d.tickArguments=function(t){return arguments.length?(e=null==t?[]:Array.from(t),d):e.slice()},d.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),d):r&&r.slice()},d.tickFormat=function(t){return arguments.length?(i=t,d):i},d.tickSize=function(t){return arguments.length?(o=a=+t,d):o},d.tickSizeInner=function(t){return arguments.length?(o=+t,d):o},d.tickSizeOuter=function(t){return arguments.length?(a=+t,d):a},d.tickPadding=function(t){return arguments.length?(u=+t,d):u},d.offset=function(t){return arguments.length?(c=+t,d):c},d}(3,t)}function to(){}function ta(t){return null==t?to:function(){return this.querySelector(t)}}function tu(){return[]}function tc(t){return null==t?tu:function(){return this.querySelectorAll(t)}}function tl(t){return function(){return this.matches(t)}}function tf(t){return function(n){return n.matches(t)}}var ts=Array.prototype.find;function td(){return this.firstElementChild}var th=Array.prototype.filter;function tp(){return Array.from(this.children)}function tg(t){return Array(t.length)}function tv(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function tb(t,n,e,r,i,o){for(var a,u=0,c=n.length,l=o.length;un?1:t>=n?0:NaN}tv.prototype={constructor:tv,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var tx="http://www.w3.org/1999/xhtml",t_={svg:"http://www.w3.org/2000/svg",xhtml:tx,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function tM(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),t_.hasOwnProperty(n)?{space:t_[n],local:t}:t}function tk(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function tE(t,n){return t.style.getPropertyValue(n)||tk(t).getComputedStyle(t,null).getPropertyValue(n)}function tA(t){return t.trim().split(/^|\s+/)}function tT(t){return t.classList||new tC(t)}function tC(t){this._node=t,this._names=tA(t.getAttribute("class")||"")}function tS(t,n){for(var e=tT(t),r=-1,i=n.length;++rthis._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var tP=[null];function tH(t,n){this._groups=t,this._parents=n}function t$(){return new tH([[document.documentElement]],tP)}tH.prototype=t$.prototype={constructor:tH,select:function(t){"function"!=typeof t&&(t=ta(t));for(var n=this._groups,e=n.length,r=Array(e),i=0;i=_&&(_=x+1);!(w=v[_])&&++_=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=tw);for(var e=this._groups,r=e.length,i=Array(r),o=0;o1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):tE(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]},classed:function(t,n){var e=tA(t+"");if(arguments.length<2){for(var r=tT(this.node()),i=-1,o=e.length;++i=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}),a=o.length;if(arguments.length<2){var u=this.node().__on;if(u){for(var c,l=0,f=u.length;l{}};function tZ(){for(var t,n=0,e=arguments.length,r={};n=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:n}}),o=-1,a=i.length;if(arguments.length<2){for(;++o0)for(var e,r,i=Array(e),o=0;o=0&&n._call.call(void 0,t),n=n._next;--t1}()}finally{t1=0,function(){for(var t,n,e=tQ,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:tQ=n);t0=t,no(r)}(),t4=0}}function ni(){var t=t8.now(),n=t-t5;n>1e3&&(t3-=n,t5=t)}function no(t){!t1&&(t2&&(t2=clearTimeout(t2)),t-t4>24?(t<1/0&&(t2=setTimeout(nr,t-t8.now()-t3)),t6&&(t6=clearInterval(t6))):(t6||(t5=t8.now(),t6=setInterval(ni,1e3)),t1=1,t7(nr)))}function na(t,n,e){var r=new nn;return n=null==n?0:+n,r.restart(e=>{r.stop(),t(e+n)},n,e),r}nn.prototype=ne.prototype={constructor:nn,restart:function(t,n,e){if("function"!=typeof t)throw TypeError("callback is not a function");e=(null==e?t9():+e)+(null==n?0:+n),this._next||t0===this||(t0?t0._next=this:tQ=this,t0=this),this._call=t,this._time=e,no()},stop:function(){this._call&&(this._call=null,this._time=1/0,no())}};var nu=tZ("start","end","cancel","interrupt"),nc=[];function nl(t,n,e,r,i,o){var a=t.__transition;if(a){if(e in a)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(c){var l,f,s,d;if(1!==e.state)return u();for(l in i)if((d=i[l]).name===e.name){if(3===d.state)return na(o);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[l]):+l0)throw Error("too late; already scheduled");return e}function ns(t,n){var e=nd(t,n);if(e.state>3)throw Error("too late; already running");return e}function nd(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw Error("transition not found");return e}function nh(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}var np=180/Math.PI,ng={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function nv(t,n,e,r,i,o){var a,u,c;return(a=Math.sqrt(t*t+n*n))&&(t/=a,n/=a),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(u=Math.sqrt(e*e+r*r))&&(e/=u,r/=u,c/=u),t*r180?c+=360:c-u>180&&(u+=360),d.push({i:s.push(i(s)+"rotate(",null,r)-2,x:nh(u,c)})):c&&s.push(i(s)+"rotate("+c+r),(l=o.skewX)!==(f=a.skewX)?d.push({i:s.push(i(s)+"skewX(",null,r)-2,x:nh(l,f)}):f&&s.push(i(s)+"skewX("+f+r),!function(t,n,e,r,o,a){if(t!==e||n!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:nh(t,e)},{i:u-2,x:nh(n,r)})}else(1!==e||1!==r)&&o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,d),o=a=null,function(t){for(var n,e=-1,r=d.length;++e>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?nz(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?nz(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=nC.exec(t))?new nW(n[1],n[2],n[3],1):(n=nS.exec(t))?new nW(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=nN.exec(t))?nz(n[1],n[2],n[3],n[4]):(n=nD.exec(t))?nz(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=nL.exec(t))?nV(n[1],n[2]/100,n[3]/100,1):(n=nU.exec(t))?nV(n[1],n[2]/100,n[3]/100,n[4]):nR.hasOwnProperty(t)?nj(nR[t]):"transparent"===t?new nW(NaN,NaN,NaN,0):null}function nj(t){return new nW(t>>16&255,t>>8&255,255&t,1)}function nz(t,n,e,r){return r<=0&&(t=n=e=NaN),new nW(t,n,e,r)}function nq(t){return(t instanceof nM||(t=nI(t)),t)?new nW((t=t.rgb()).r,t.g,t.b,t.opacity):new nW}function nY(t,n,e,r){return 1==arguments.length?nq(t):new nW(t,n,e,null==r?1:r)}function nW(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function nP(){return"#".concat(nZ(this.r)).concat(nZ(this.g)).concat(nZ(this.b))}function nH(){let t=n$(this.opacity);return"".concat(1===t?"rgb(":"rgba(").concat(nB(this.r),", ").concat(nB(this.g),", ").concat(nB(this.b)).concat(1===t?")":", ".concat(t,")"))}function n$(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function nB(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function nZ(t){return((t=nB(t))<16?"0":"")+t.toString(16)}function nV(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new nJ(t,n,e,r)}function nX(t){if(t instanceof nJ)return new nJ(t.h,t.s,t.l,t.opacity);if(t instanceof nM||(t=nI(t)),!t)return new nJ;if(t instanceof nJ)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,c=(o+i)/2;return u?(a=n===o?(e-r)/u+(e0&&c<1?0:a,new nJ(a,u,c,t.opacity)}function nK(t,n,e,r){return 1==arguments.length?nX(t):new nJ(t,n,e,null==r?1:r)}function nJ(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function nG(t){return(t=(t||0)%360)<0?t+360:t}function nQ(t){return Math.max(0,Math.min(1,t||0))}function n0(t,n,e){return(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)*255}function n1(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}nx(nM,nI,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:nO,formatHex:nO,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return nX(this).formatHsl()},formatRgb:nF,toString:nF}),nx(nW,nY,n_(nM,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new nW(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new nW(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new nW(nB(this.r),nB(this.g),nB(this.b),n$(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:nP,formatHex:nP,formatHex8:function(){return"#".concat(nZ(this.r)).concat(nZ(this.g)).concat(nZ(this.b)).concat(nZ((isNaN(this.opacity)?1:this.opacity)*255))},formatRgb:nH,toString:nH})),nx(nJ,nK,n_(nM,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new nJ(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new nJ(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new nW(n0(t>=240?t-240:t+120,i,r),n0(t,i,r),n0(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new nJ(nG(this.h),nQ(this.s),nQ(this.l),n$(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=n$(this.opacity);return"".concat(1===t?"hsl(":"hsla(").concat(nG(this.h),", ").concat(100*nQ(this.s),"%, ").concat(100*nQ(this.l),"%").concat(1===t?")":", ".concat(t,")"))}}));var n2=t=>()=>t;function n6(t,n){return function(e){return t+e*n}}function n5(t,n){var e=n-t;return e?n6(t,e>180||e<-180?e-360*Math.round(e/360):e):n2(isNaN(t)?n:t)}function n4(t,n){var e=n-t;return e?n6(t,e):n2(isNaN(t)?n:t)}var n3=function t(n){var e,r=1==(e=+(e=n))?n4:function(t,n){var r,i,o;return n-t?(r=t,i=n,r=Math.pow(r,o=e),i=Math.pow(i,o)-r,o=1/o,function(t){return Math.pow(r+t*i,o)}):n2(isNaN(t)?n:t)};function i(t,n){var e=r((t=nY(t)).r,(n=nY(n)).r),i=r(t.g,n.g),o=r(t.b,n.b),a=n4(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return i.gamma=t,i}(1);function n8(t){return function(n){var e,r,i=n.length,o=Array(i),a=Array(i),u=Array(i);for(e=0;e=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=ru&&(a=n.slice(u,a),l[c]?l[c]+=a:l[++c]=a),(i=i[0])===(o=o[0])?l[c]?l[c]+=o:l[++c]=o:(l[++c]=null,f.push({i:c,x:nh(i,o)})),u=et.lastIndex;return u=0&&(t=t.slice(0,n)),!t||"start"===t})?nf:ns,function(){var a=i(this,o),u=a.on;u!==e&&(r=(e=u).copy()).on(t,n),a.on=r}))},attr:function(t,n){var e=tM(t),r="transform"===e?ny:ee;return this.attrTween(t,"function"==typeof n?(e.local?function(t,n,e){var r,i,o;return function(){var a,u,c=e(this);return null==c?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local))===(u=c+"")?null:a===r&&u===i?o:(i=u,o=n(r=a,c))}}:function(t,n,e){var r,i,o;return function(){var a,u,c=e(this);return null==c?void this.removeAttribute(t):(a=this.getAttribute(t))===(u=c+"")?null:a===r&&u===i?o:(i=u,o=n(r=a,c))}})(e,r,nw(this,"attr."+t,n)):null==n?(e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(e):(e.local?function(t,n,e){var r,i,o=e+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=n(r=a,e)}}:function(t,n,e){var r,i,o=e+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=n(r=a,e)}})(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw Error();var r=tM(t);return this.tween(e,(r.local?function(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(n){this.setAttributeNS(t.space,t.local,i.call(this,n))}),e}return i._value=n,i}:function(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(n){this.setAttribute(t,i.call(this,n))}),e}return i._value=n,i})(r,n))},style:function(t,n,e){var r,i,o,a,u,c,l,f,s,d,h,p,g,v,b,m,y,w,x,_,M,k="transform"==(t+="")?nm:ee;return null==n?this.styleTween(t,(r=t,function(){var t=tE(this,r),n=(this.style.removeProperty(r),tE(this,r));return t===n?null:t===i&&n===o?a:a=k(i=t,o=n)})).on("end.style."+t,ei(t)):"function"==typeof n?this.styleTween(t,(u=t,c=nw(this,"style."+t,n),function(){var t=tE(this,u),n=c(this),e=n+"";return null==n&&(this.style.removeProperty(u),e=n=tE(this,u)),t===e?null:t===l&&e===f?s:(f=e,s=k(l=t,n))})).each((d=this._id,y="end."+(m="style."+(h=t)),function(){var t=ns(this,d),n=t.on,e=null==t.value[m]?b||(b=ei(h)):void 0;(n!==p||v!==e)&&(g=(p=n).copy()).on(y,v=e),t.on=g})):this.styleTween(t,(w=t,M=n+"",function(){var t=tE(this,w);return t===M?null:t===x?_:_=k(x=t,n)}),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw Error();return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(n){this.style.setProperty(t,o.call(this,n),e)}),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){var n,e;return this.tween("text","function"==typeof t?(n=nw(this,"text",t),function(){var t=n(this);this.textContent=null==t?"":t}):(e=null==t?"":t+"",function(){this.textContent=e}))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw Error();return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){this.textContent=r.call(this,t)}),n}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=nd(this.node(),e).tween,o=0,a=i.length;o2&&e.state<5,e.state=6,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]}a&&delete t.__transition}}(this,t)})},t$.prototype.transition=function(t){var n,e;t instanceof ea?(n=t._id,t=t._name):(n=++eo,(e=ec).time=t9(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o2&&void 0!==arguments[2]?arguments[2]:e;if(!((e=+e)>=0))throw RangeError("invalid rx");if(!((r=+r)>=0))throw RangeError("invalid ry");let{data:i,width:o,height:a}=n;if(!((o=Math.floor(o))>=0))throw RangeError("invalid width");if(!((a=Math.floor(void 0!==a?a:i.length/o))>=0))throw RangeError("invalid height");if(!o||!a||!e&&!r)return n;let u=e&&t(e),c=r&&t(r),l=i.slice();return u&&c?(eg(u,l,i,o,a),eg(u,i,l,o,a),eg(u,l,i,o,a),ev(c,i,l,o,a),ev(c,l,i,o,a),ev(c,i,l,o,a)):u?(eg(u,i,l,o,a),eg(u,l,i,o,a),eg(u,i,l,o,a)):c&&(ev(c,i,l,o,a),ev(c,l,i,o,a),ev(c,i,l,o,a)),n}}function eg(t,n,e,r,i){for(let o=0,a=r*i;o{if(!((o-=a)>=i))return;let u=t*r[i],c=a*t;for(let t=i,n=i+c;t{if(!((a-=u)>=o))return;let c=n*i[o],l=u*n,f=l+u;for(let t=o,n=o+l;t{n(t,e,(r<<=2)+0,(i<<=2)+0,o<<=2),n(t,e,r+1,i+1,o),n(t,e,r+2,i+2,o),n(t,e,r+3,i+3,o)}});var em=Array.prototype.slice,ey=t=>()=>t;function ew(t){return Math.max(1,Math.ceil(Math.log(function(t,n){let e=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&++e;else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(i=+i)>=i&&++e}return e}(t))/Math.LN2)+1)}function ex(t,n){return t-n}function e_(){}var eM=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function ek(){var t=1,n=1,e=ew,r=u;function i(t){var n=e(t);if(Array.isArray(n))n=n.slice().sort(ex);else{let e=b(t,eE);for(n=K(...function(t,n,e){let r;for(;;){let i=J(t,n,e);if(i===r||0===i||!isFinite(i))return[t,n];i>0?(t=Math.floor(t/i)*i,n=Math.ceil(n/i)*i):i<0&&(t=Math.ceil(t*i)/i,n=Math.floor(n*i)/i),r=i}}(e[0],e[1],n),n);n[n.length-1]>=e[1];)n.pop();for(;n[1]o(t,n))}function o(e,i){let o=null==i?NaN:+i;if(isNaN(o))throw Error("invalid value: ".concat(i));var u=[],c=[];return function(e,r,i){var o,u,c,l,f,s,d=[],h=[];for(o=u=-1,eM[(l=eA(e[0],r))<<1].forEach(p);++o=r)<<2].forEach(p);++o0?u.push([t]):c.push(t)}),c.forEach(function(t){for(var n,e=0,r=u.length;er!=h>r&&e<(d-l)*(r-f)/(h-f)+l&&(i=-i)}return i}(t,n[r]))return e;return 0}((n=u[e])[0],t)){n.push(t);return}}),{type:"MultiPolygon",value:i,coordinates:u}}function a(n){return 2*n[0]+n[1]*(t+1)*4}function u(e,r,i){e.forEach(function(e){var o=e[0],a=e[1],u=0|o,c=0|a,l=eT(r[c*t+u]);o>0&&o0&&a=0&&o>=0))throw Error("invalid size");return t=r,n=o,i},i.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?ey(em.call(t)):ey(t),i):e},i.smooth=function(t){return arguments.length?(r=t?u:e_,i):r===u},i}function eE(t){return isFinite(t)?t:NaN}function eA(t,n){return null!=t&&+t>=n}function eT(t){return null==t||isNaN(t=+t)?-1/0:t}function eC(t,n,e,r){let i=r-n,o=e-n,a=isFinite(i)||isFinite(o)?i/o:Math.sign(i)/Math.sign(o);return isNaN(a)?t:t+a-.5}function eS(t){return t[0]}function eN(t){return t[1]}function eD(){return 1}function eL(){var t=eS,n=eN,e=eD,r=960,i=500,o=20,a=2,u=60,c=270,l=155,f=ey(20);function s(r){var i=new Float32Array(c*l),f=Math.pow(2,-a),s=-1;for(let o of r){var d=(t(o,++s,r)+u)*f,h=(n(o,s,r)+u)*f,p=+e(o,s,r);if(p&&d>=0&&d=0&&ht*r))(n).map((t,n)=>(t.value=+e[n],h(t)))}function h(t){return t.coordinates.forEach(p),t}function p(t){t.forEach(g)}function g(t){t.forEach(v)}function v(t){t[0]=t[0]*Math.pow(2,a)-u,t[1]=t[1]*Math.pow(2,a)-u}function b(){return c=r+2*(u=3*o)>>a,l=i+2*u>>a,d}return d.contours=function(t){var n=s(t),e=ek().size([c,l]),r=Math.pow(2,2*a),i=t=>{t=+t;var i=h(e.contour(n,t*r));return i.value=t,i};return Object.defineProperty(i,"max",{get:()=>S(n)/r}),i},d.x=function(n){return arguments.length?(t="function"==typeof n?n:ey(+n),d):t},d.y=function(t){return arguments.length?(n="function"==typeof t?t:ey(+t),d):n},d.weight=function(t){return arguments.length?(e="function"==typeof t?t:ey(+t),d):e},d.size=function(t){if(!arguments.length)return[r,i];var n=+t[0],e=+t[1];if(!(n>=0&&e>=0))throw Error("invalid size");return r=n,i=e,b()},d.cellSize=function(t){if(!arguments.length)return 1<=1))throw Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),b()},d.thresholds=function(t){return arguments.length?(f="function"==typeof t?t:Array.isArray(t)?ey(em.call(t)):ey(t),d):f},d.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw Error("invalid bandwidth");return o=(Math.sqrt(4*t*t+1)-1)/2,b()},d}function eU(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function eR(t){return(t=eU(Math.abs(t)))?t[1]:NaN}var eO=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function eF(t){var n;if(!(n=eO.exec(t)))throw Error("invalid format: "+t);return new eI({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function eI(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function ej(t,n){var e=eU(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}eF.prototype=eI.prototype,eI.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var ez={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>ej(100*t,n),r:ej,s:function(t,n){var e=eU(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(rg=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+Array(1-o).join("0")+eU(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function eq(t){return t}var eY=Array.prototype.map,eW=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];rb=(rv=function(t){var n,e,r,i=void 0===t.grouping||void 0===t.thousands?eq:(n=eY.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(t.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return o.reverse().join(e)}),o=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",c=void 0===t.numerals?eq:(r=eY.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return r[+t]})}),l=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function d(t){var n=(t=eF(t)).fill,e=t.align,r=t.sign,d=t.symbol,h=t.zero,p=t.width,g=t.comma,v=t.precision,b=t.trim,m=t.type;"n"===m?(g=!0,m="g"):ez[m]||(void 0===v&&(v=12),b=!0,m="g"),(h||"0"===n&&"="===e)&&(h=!0,n="0",e="=");var y="$"===d?o:"#"===d&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",w="$"===d?a:/[%p]/.test(m)?l:"",x=ez[m],_=/[defgprs%]/.test(m);function M(t){var o,a,l,d=y,M=w;if("c"===m)M=x(t)+M,t="";else{var k=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:x(Math.abs(t),v),b&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),k&&0==+t&&"+"!==r&&(k=!1),d=(k?"("===r?r:f:"-"===r||"("===r?"":r)+d,M=("s"===m?eW[8+rg/3]:"")+M+(k&&"("===r?")":""),_){for(o=-1,a=t.length;++o(l=t.charCodeAt(o))||l>57){M=(46===l?u+t.slice(o+1):t.slice(o))+M,t=t.slice(0,o);break}}}g&&!h&&(t=i(t,1/0));var E=d.length+t.length+M.length,A=E>1)+d+t+M+A.slice(E);break;default:t=A+d+t+M}return c(t)}return v=void 0===v?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),M.toString=function(){return t+""},M}return{format:d,formatPrefix:function(t,n){var e=d(((t=eF(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(eR(n)/3))),i=Math.pow(10,-r),o=eW[8+r/3];return function(t){return e(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,rm=rv.formatPrefix;var eP=Math.PI,eH=eP/2,e$=eP/4,eB=2*eP,eZ=180/eP,eV=eP/180,eX=Math.abs,eK=Math.atan,eJ=Math.atan2,eG=Math.cos,eQ=Math.exp,e0=Math.log,e1=Math.pow,e2=Math.sin,e6=Math.sign||function(t){return t>0?1:t<0?-1:0},e5=Math.sqrt,e4=Math.tan;function e3(t){return t>1?0:t<-1?eP:Math.acos(t)}function e8(t){return t>1?eH:t<-1?-eH:Math.asin(t)}function e7(){}function e9(){var t,n=[];return{point:function(n,e,r){t.push([n,e,r])},lineStart:function(){n.push(t=[])},lineEnd:e7,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function rt(t,n){return 1e-6>eX(t[0]-n[0])&&1e-6>eX(t[1]-n[1])}function rn(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function re(t,n,e,r,i){var o,a,u=[],c=[];if(t.forEach(function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],a=t[n];if(rt(r,a)){if(!r[2]&&!a[2]){for(i.lineStart(),o=0;o=0;--o)i.point((f=l[o])[0],f[1]);else r(d.x,d.p.x,-1,i);d=d.p}l=(d=d.o).z,h=!h}while(!d.v);i.lineEnd()}}}function rr(t){if(n=t.length){for(var n,e,r=0,i=t[0];++rc(i,o)^u>0)do l.point(0===f||3===f?t:e,f>1?r:n);while((f=(f+u+4)%4)!==s);else l.point(o[0],o[1])}function a(r,i){return 1e-6>eX(r[0]-t)?i>0?0:3:1e-6>eX(r[0]-e)?i>0?2:1:1e-6>eX(r[1]-n)?i>0?1:0:i>0?3:2}function u(t,n){return c(t.x,n.x)}function c(t,n){var e=a(t,1),r=a(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){var c,l,f,s,d,h,p,g,v,b,m,y=a,w=e9(),x={point:_,lineStart:function(){x.point=M,l&&l.push(f=[]),b=!0,v=!1,p=g=NaN},lineEnd:function(){c&&(M(s,d),h&&v&&w.rejoin(),c.push(w.result())),x.point=_,v&&y.lineEnd()},polygonStart:function(){y=w,c=[],l=[],m=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=l.length;er&&(d-o)*(r-a)>(h-a)*(t-o)&&++n:h<=r&&(d-o)*(r-a)<(h-a)*(t-o)&&--n;return n}(),e=m&&n,i=(c=ri(c)).length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&re(c,u,n,o,a),a.polygonEnd()),y=a,c=l=f=null}};function _(t,n){i(t,n)&&y.point(t,n)}function M(o,a){var u=i(o,a);if(l&&f.push([o,a]),b)s=o,d=a,h=u,b=!1,u&&(y.lineStart(),y.point(o,a));else if(u&&v)y.point(o,a);else{var c=[p=Math.max(-1e9,Math.min(1e9,p)),g=Math.max(-1e9,Math.min(1e9,g))],w=[o=Math.max(-1e9,Math.min(1e9,o)),a=Math.max(-1e9,Math.min(1e9,a))];!function(t,n,e,r,i,o){var a,u=t[0],c=t[1],l=n[0],f=n[1],s=0,d=1,h=l-u,p=f-c;if(a=e-u,h||!(a>0)){if(a/=h,h<0){if(a0){if(a>d)return;a>s&&(s=a)}if(a=i-u,h||!(a<0)){if(a/=h,h<0){if(a>d)return;a>s&&(s=a)}else if(h>0){if(a0)){if(a/=p,p<0){if(a0){if(a>d)return;a>s&&(s=a)}if(a=o-c,p||!(a<0)){if(a/=p,p<0){if(a>d)return;a>s&&(s=a)}else if(p>0){if(a0&&(t[0]=u+s*h,t[1]=c+s*p),d<1&&(n[0]=u+d*h,n[1]=c+d*p),!0}}}}}(c,w,t,n,e,r)?u&&(y.lineStart(),y.point(o,a),m=!1):(v||(y.lineStart(),y.point(c[0],c[1])),y.point(w[0],w[1]),u||y.lineEnd(),m=!1)}p=o,g=a,v=u}return x}}var ra=t=>t;function ru(t,n){t&&rl.hasOwnProperty(t.type)&&rl[t.type](t,n)}var rc={Feature:function(t,n){ru(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r0){for(o=t[--n];n>0&&(o=(e=o)+(r=t[--n]),!(i=r-(o-e))););n>0&&(i<0&&t[n-1]<0||i>0&&t[n-1]>0)&&(e=o+(r=2*i),r==e-o&&(o=e))}return o}constructor(){this._partials=new Float64Array(32),this._n=0}}var rp,rg,rv,rb,rm,ry,rw,rx,r_,rM=new rh,rk=new rh,rE={point:e7,lineStart:e7,lineEnd:e7,polygonStart:function(){rE.lineStart=rA,rE.lineEnd=rS},polygonEnd:function(){rE.lineStart=rE.lineEnd=rE.point=e7,rM.add(eX(rk)),rk=new rh},result:function(){var t=rM/2;return rM=new rh,t}};function rA(){rE.point=rT}function rT(t,n){rE.point=rC,ry=rx=t,rw=r_=n}function rC(t,n){rk.add(r_*t-rx*n),rx=t,r_=n}function rS(){rC(ry,rw)}var rN,rD,rL,rU,rR=1/0,rO=1/0,rF=-1/0,rI=rF,rj={point:function(t,n){trF&&(rF=t),nrI&&(rI=n)},lineStart:e7,lineEnd:e7,polygonStart:e7,polygonEnd:e7,result:function(){var t=[[rR,rO],[rF,rI]];return rF=rI=-(rO=rR=1/0),t}},rz=0,rq=0,rY=0,rW=0,rP=0,rH=0,r$=0,rB=0,rZ=0,rV={point:rX,lineStart:rK,lineEnd:rQ,polygonStart:function(){rV.lineStart=r0,rV.lineEnd=r1},polygonEnd:function(){rV.point=rX,rV.lineStart=rK,rV.lineEnd=rQ},result:function(){var t=rZ?[r$/rZ,rB/rZ]:rH?[rW/rH,rP/rH]:rY?[rz/rY,rq/rY]:[NaN,NaN];return rz=rq=rY=rW=rP=rH=r$=rB=rZ=0,t}};function rX(t,n){rz+=t,rq+=n,++rY}function rK(){rV.point=rJ}function rJ(t,n){rV.point=rG,rX(rL=t,rU=n)}function rG(t,n){var e=t-rL,r=n-rU,i=e5(e*e+r*r);rW+=i*(rL+t)/2,rP+=i*(rU+n)/2,rH+=i,rX(rL=t,rU=n)}function rQ(){rV.point=rX}function r0(){rV.point=r2}function r1(){r6(rN,rD)}function r2(t,n){rV.point=r6,rX(rN=rL=t,rD=rU=n)}function r6(t,n){var e=t-rL,r=n-rU,i=e5(e*e+r*r);rW+=i*(rL+t)/2,rP+=i*(rU+n)/2,rH+=i,r$+=(i=rU*t-rL*n)*(rL+t),rB+=i*(rU+n),rZ+=3*i,rX(rL=t,rU=n)}function r5(t){this._context=t}r5.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,eB)}},result:e7};var r4,r3,r8,r7,r9,it=new rh,ie={point:e7,lineStart:function(){ie.point=ir},lineEnd:function(){r4&&ii(r3,r8),ie.point=e7},polygonStart:function(){r4=!0},polygonEnd:function(){r4=null},result:function(){var t=+it;return it=new rh,t}};function ir(t,n){ie.point=ii,r3=r7=t,r8=r9=n}function ii(t,n){r7-=t,r9-=n,it.add(e5(r7*r7+r9*r9)),r7=t,r9=n}var io=e(6093);function ia(){let t=(0,io._)(["M",",",""]);return ia=function(){return t},t}function iu(){let t=(0,io._)(["L",",",""]);return iu=function(){return t},t}function ic(){let t=(0,io._)(["M",",",""]);return ic=function(){return t},t}function il(){let t=(0,io._)(["m0,","a",","," 0 1,1 0,","a",","," 0 1,1 0,","z"]);return il=function(){return t},t}class is{pointRadius(t){return this._radius=+t,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){0===this._line&&(this._+="Z"),this._point=NaN}point(t,n){switch(this._point){case 0:this._append(ia(),t,n),this._point=1;break;case 1:this._append(iu(),t,n);break;default:if(this._append(ic(),t,n),this._radius!==o||this._append!==i){let t=this._radius,n=this._;this._="",this._append(il(),t,t,t,-2*t,t,t,2*t),o=t,i=this._append,a=this._,this._=n}this._+=a}}result(){let t=this._;return this._="",t.length?t:null}constructor(t){this._append=null==t?id:function(t){let n=Math.floor(t);if(!(n>=0))throw RangeError("invalid digits: ".concat(t));if(n>15)return id;if(n!==r){let t=10**n;r=n,i=function(n){let e=1;this._+=n[0];for(let r=n.length;e=0))throw RangeError("invalid digits: ".concat(t));e=n}return null===n&&(o=new is(e)),a},a.projection(t).digits(e).context(n)}function ip(t){return[eJ(t[1],t[0]),e8(t[2])]}function ig(t){var n=t[0],e=t[1],r=eG(e);return[r*eG(n),r*e2(n),e2(e)]}function iv(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function ib(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function im(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function iy(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function iw(t){var n=e5(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}function ix(t){return eX(t[0])<=eP?t[0]:e6(t[0])*((eX(t[0])+eP)%eB-eP)}function i_(t,n,e,r){return function(i){var o,a,u,c=n(i),l=e9(),f=n(l),s=!1,d={point:h,lineStart:g,lineEnd:v,polygonStart:function(){d.point=b,d.lineStart=m,d.lineEnd=y,a=[],o=[]},polygonEnd:function(){d.point=h,d.lineStart=g,d.lineEnd=v,a=ri(a);var t=function(t,n){var e=ix(n),r=n[1],i=e2(r),o=[e2(e),-eG(e),0],a=0,u=0,c=new rh;1===i?r=eH+1e-6:-1===i&&(r=-eH-1e-6);for(var l=0,f=t.length;l=0?1:-1,A=E*k,T=A>eP,C=v*_;if(c.add(eJ(C*E*e2(A),b*M+C*eG(A))),a+=T?k+E*eB:k,T^p>=e^w>=e){var S=ib(ig(h),ig(y));iw(S);var N=ib(o,S);iw(N);var D=(T^k>=0?-1:1)*e8(N[2]);(r>D||r===D&&(S[0]||S[1]))&&(u+=T^k>=0?1:-1)}}return(a<-.000001||a<1e-6&&c<-.000000000001)^1&u}(o,r);a.length?(s||(i.polygonStart(),s=!0),re(a,ik,t,e,i)):t&&(s||(i.polygonStart(),s=!0),i.lineStart(),e(null,null,1,i),i.lineEnd()),s&&(i.polygonEnd(),s=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function h(n,e){t(n,e)&&i.point(n,e)}function p(t,n){c.point(t,n)}function g(){d.point=p,c.lineStart()}function v(){d.point=h,c.lineEnd()}function b(t,n){u.push([t,n]),f.point(t,n)}function m(){f.lineStart(),u=[]}function y(){b(u[0][0],u[0][1]),f.lineEnd();var t,n,e,r,c=f.clean(),d=l.result(),h=d.length;if(u.pop(),o.push(u),u=null,h){if(1&c){if((n=(e=d[0]).length-1)>0){for(s||(i.polygonStart(),s=!0),i.lineStart(),t=0;t1&&2&c&&d.push(d.pop().concat(d.shift())),a.push(d.filter(iM))}}return d}}function iM(t){return t.length>1}function ik(t,n){return((t=t.x)[0]<0?t[1]-eH-1e-6:eH-t[1])-((n=n.x)[0]<0?n[1]-eH-1e-6:eH-n[1])}var iE=i_(function(){return!0},function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,a){var u,c,l,f,s,d,h=o>0?eP:-eP,p=eX(o-e);1e-6>eX(p-eP)?(t.point(e,r=(r+a)/2>0?eH:-eH),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(h,r),t.point(o,r),n=0):i!==h&&p>=eP&&(1e-6>eX(e-i)&&(e-=1e-6*i),1e-6>eX(o-h)&&(o-=1e-6*h),u=e,c=r,r=eX(d=e2(u-(l=o)))>1e-6?eK((e2(c)*(s=eG(a))*e2(l)-e2(a)*(f=eG(c))*e2(u))/(f*s*d)):(c+a)/2,t.point(i,r),t.lineEnd(),t.lineStart(),t.point(h,r),n=0),t.point(e=o,r=a),i=h},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var i;if(null==t)i=e*eH,r.point(-eP,i),r.point(0,i),r.point(eP,i),r.point(eP,0),r.point(eP,-i),r.point(0,-i),r.point(-eP,-i),r.point(-eP,0),r.point(-eP,i);else if(eX(t[0]-n[0])>1e-6){var o=t[0]-n[2]?-e:e)+eB-1e-6)%eB}function iT(t,n){function e(e,r){return n((e=t(e,r))[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return(e=n.invert(e,r))&&t.invert(e[0],e[1])}),e}function iC(t,n){return eX(t)>eP&&(t-=Math.round(t/eB)*eB),[t,n]}function iS(t,n,e){return(t%=eB)?n||e?iT(iD(t),iL(n,e)):iD(t):n||e?iL(n,e):iC}function iN(t){return function(n,e){return eX(n+=t)>eP&&(n-=Math.round(n/eB)*eB),[n,e]}}function iD(t){var n=iN(t);return n.invert=iN(-t),n}function iL(t,n){var e=eG(t),r=e2(t),i=eG(n),o=e2(n);function a(t,n){var a=eG(n),u=eG(t)*a,c=e2(t)*a,l=e2(n),f=l*e+u*r;return[eJ(c*i-f*o,u*e-l*r),e8(f*i+c*o)]}return a.invert=function(t,n){var a=eG(n),u=eG(t)*a,c=e2(t)*a,l=e2(n),f=l*i-c*o;return[eJ(c*i+l*o,u*e+f*r),e8(f*e-u*r)]},a}function iU(t){return{stream:iR(t)}}function iR(t){return function(n){var e=new iO;for(var r in t)e[r]=t[r];return e.stream=n,e}}function iO(){}function iF(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),rd(e,t.stream(rj)),n(rj.result()),null!=r&&t.clipExtent(r),t}function iI(t,n,e){return iF(t,function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),a=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,u=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([a,u])},e)}function ij(t,n,e){return iI(t,[[0,0],n],e)}function iz(t,n,e){return iF(t,function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,a=-i*e[0][1];t.scale(150*i).translate([o,a])},e)}function iq(t,n,e){return iF(t,function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],a=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,a])},e)}iC.invert=iC,iO.prototype={constructor:iO,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var iY=eG(30*eV);function iW(t,n){return+n?function(t,n){function e(r,i,o,a,u,c,l,f,s,d,h,p,g,v){var b=l-r,m=f-i,y=b*b+m*m;if(y>4*n&&g--){var w=a+d,x=u+h,_=c+p,M=e5(w*w+x*x+_*_),k=e8(_/=M),E=1e-6>eX(eX(_)-1)||1e-6>eX(o-s)?(o+s)/2:eJ(x,w),A=t(E,k),T=A[0],C=A[1],S=T-r,N=C-i,D=m*S-b*N;(D*D/y>n||eX((b*S+m*N)/y-.5)>.3||a*d+u*h+c*p0,i=eX(n)>1e-6;function o(t,e){return eG(t)*eG(e)>n}function a(t,e,r){var i=ig(t),o=ig(e),a=[1,0,0],u=ib(i,o),c=iv(u,u),l=u[0],f=c-l*l;if(!f)return!r&&t;var s=ib(a,u),d=iy(a,n*c/f);im(d,iy(u,-n*l/f));var h=iv(d,s),p=iv(s,s),g=h*h-p*(iv(d,d)-1);if(!(g<0)){var v=e5(g),b=iy(s,(-h-v)/p);if(im(b,d),b=ip(b),!r)return b;var m,y=t[0],w=e[0],x=t[1],_=e[1];weX(M-eP);if(!k&&_0^b[1]<(1e-6>eX(b[0]-y)?x:_):x<=b[1]&&b[1]<=_:M>eP^(y<=b[0]&&b[0]<=w)){var E=iy(s,(-h+v)/p);return im(E,d),[b,ip(E)]}}}function u(n,e){var i=r?t:eP-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return i_(o,function(t){var n,e,c,l,f;return{lineStart:function(){l=c=!1,f=1},point:function(s,d){var h,p,g=[s,d],v=o(s,d),b=r?v?0:u(s,d):v?u(s+(s<0?eP:-eP),d):0;!n&&(l=c=v)&&t.lineStart(),v!==c&&(!(p=a(n,g))||rt(n,p)||rt(g,p))&&(g[2]=1),v!==c?(f=0,v?(t.lineStart(),p=a(g,n),t.point(p[0],p[1])):(p=a(n,g),t.point(p[0],p[1],2),t.lineEnd()),n=p):i&&n&&r^v&&!(b&e)&&(h=a(g,n,!0))&&(f=0,r?(t.lineStart(),t.point(h[0][0],h[0][1]),t.point(h[1][0],h[1][1]),t.lineEnd()):(t.point(h[1][0],h[1][1]),t.lineEnd(),t.lineStart(),t.point(h[0][0],h[0][1],3))),!v||n&&rt(n,g)||t.point(g[0],g[1]),n=g,c=v,e=b},lineEnd:function(){c&&t.lineEnd(),n=null},clean:function(){return f|(l&&c)<<1}}},function(n,r,i,o){!function(t,n,e,r,i,o){if(e){var a=eG(n),u=e2(n),c=r*e;null==i?(i=n+r*eB,o=n-c/2):(i=iA(a,i),o=iA(a,o),(r>0?io)&&(i+=r*eB));for(var l,f=i;r>0?f>o:f2?t[2]%360*eV:0,S()):[v*eZ,b*eZ,m*eZ]},T.angle=function(t){return arguments.length?(y=t%360*eV,S()):y*eZ},T.reflectX=function(t){return arguments.length?(w=t?-1:1,S()):w<0},T.reflectY=function(t){return arguments.length?(x=t?-1:1,S()):x<0},T.precision=function(t){return arguments.length?(a=iW(u,A=t*t),N()):e5(A)},T.fitExtent=function(t,n){return iI(T,t,n)},T.fitSize=function(t,n){return ij(T,t,n)},T.fitWidth=function(t,n){return iz(T,t,n)},T.fitHeight=function(t,n){return iq(T,t,n)},function(){return n=t.apply(this,arguments),T.invert=n.invert&&C,S()}}function iZ(t){var n=0,e=eP/3,r=iB(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*eV,e=t[1]*eV):[n*eZ,e*eZ]},i}function iV(t,n){var e=e2(t),r=(e+e2(n))/2;if(1e-6>eX(r))return function(t){var n=eG(t);function e(t,e){return[t*n,e2(e)/n]}return e.invert=function(t,e){return[t/n,e8(e*n)]},e}(t);var i=1+e*(2*r-e),o=e5(i)/r;function a(t,n){var e=e5(i-2*r*e2(n))/r;return[e*e2(t*=r),o-e*eG(t)]}return a.invert=function(t,n){var e=o-n,a=eJ(t,eX(e))*e6(e);return e*r<0&&(a-=eP*e6(t)*e6(e)),[a/r,e8((i-(t*t+e*e)*r*r)/(2*r))]},a}function iX(){return iZ(iV).scale(155.424).center([0,33.6442])}function iK(){return iX().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function iJ(){var t,n,e,r,i,o,a=iK(),u=iX().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=iX().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,n){o=[t,n]}};function f(t){var n=t[0],a=t[1];return o=null,e.point(n,a),o||(r.point(n,a),o)||(i.point(n,a),o)}function s(){return t=n=null,f}return f.invert=function(t){var n=a.scale(),e=a.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:a).invert(t)},f.stream=function(e){var r,i;return t&&n===e?t:(i=(r=[a.stream(n=e),u.stream(e),c.stream(e)]).length,t={point:function(t,n){for(var e=-1;++e2?t[2]*eV:0),n.invert=function(n){return n=t.invert(n[0]*eV,n[1]*eV),n[0]*=eZ,n[1]*=eZ,n},n})(i.rotate()).invert([0,0]));return c(null==l?[[u[0]-o,u[1]-o],[u[0]+o,u[1]+o]]:t===i5?[[Math.max(u[0]-o,l),n],[Math.min(u[0]+o,e),r]]:[[l,Math.max(u[1]-o,n)],[e,Math.min(u[1]+o,r)]])}return i.scale=function(t){return arguments.length?(a(t),f()):a()},i.translate=function(t){return arguments.length?(u(t),f()):u()},i.center=function(t){return arguments.length?(o(t),f()):o()},i.clipExtent=function(t){return arguments.length?(null==t?l=n=e=r=null:(l=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),f()):null==l?null:[[l,n],[e,r]]},f()}function i8(t){return e4((eH+t)/2)}function i7(t,n){var e=eG(t),r=t===n?e2(t):e0(e/eG(n))/e0(i8(n)/i8(t)),i=e*e1(i8(t),r)/r;if(!r)return i5;function o(t,n){i>0?n<-eH+1e-6&&(n=-eH+1e-6):n>eH-1e-6&&(n=eH-1e-6);var e=i/e1(i8(n),r);return[e*e2(r*t),i-e*eG(r*t)]}return o.invert=function(t,n){var e=i-n,o=e6(r)*e5(t*t+e*e),a=eJ(t,eX(e))*e6(e);return e*r<0&&(a-=eP*e6(t)*e6(e)),[a/r,2*eK(e1(i/o,1/r))-eH]},o}function i9(){return iZ(i7).scale(109.5).parallels([30,30])}function ot(t,n){return[t,n]}function on(){return i$(ot).scale(152.63)}function oe(t,n){var e=eG(t),r=t===n?e2(t):(e-eG(n))/(n-t),i=e/r+t;if(1e-6>eX(r))return ot;function o(t,n){var e=i-n,o=r*t;return[e*e2(o),i-e*eG(o)]}return o.invert=function(t,n){var e=i-n,o=eJ(t,eX(e))*e6(e);return e*r<0&&(o-=eP*e6(t)*e6(e)),[o/r,i-e6(r)*e5(t*t+e*e)]},o}function or(){return iZ(oe).scale(131.154).center([0,13.9389])}i2.invert=iQ(function(t){return t}),i5.invert=function(t,n){return[t,2*eK(eQ(n))-eH]},ot.invert=ot;var oi=e5(3)/2;function oo(t,n){var e=e8(oi*e2(n)),r=e*e,i=r*r*r;return[t*eG(e)/(oi*(1.340264+-.24331799999999998*r+i*(.0062510000000000005+.034164*r))),e*(1.340264+-.081106*r+i*(893e-6+.003796*r))]}function oa(){return i$(oo).scale(177.158)}function ou(t,n){var e=eG(n),r=eG(t)*e;return[e*e2(t)/r,e2(n)/r]}function oc(){return i$(ou).scale(144.049).clipAngle(60)}function ol(t,n){return[eG(n)*e2(t),e2(n)]}function of(){return i$(ol).scale(249.5).clipAngle(90.000001)}function os(t,n){var e=eG(n),r=1+eG(t)*e;return[e*e2(t)/r,e2(n)/r]}function od(){return i$(os).scale(250).clipAngle(142)}function oh(t,n){return[e0(e4((eH+n)/2)),-t]}function op(){var t=i3(oh),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}function og(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function ov(t){return function(n,e){var r=t((n=nK(n)).h,(e=nK(e)).h),i=n4(n.s,e.s),o=n4(n.l,e.l),a=n4(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=i(t),n.l=o(t),n.opacity=a(t),n+""}}}oo.invert=function(t,n){for(var e,r,i=n,o=i*i,a=o*o*o,u=0;u<12&&(r=i*(1.340264+-.081106*o+a*(893e-6+.003796*o))-n,i-=e=r/(1.340264+-.24331799999999998*o+a*(.0062510000000000005+.034164*o)),a=(o=i*i)*o*o,!(1e-12>eX(e)));++u);return[oi*t*(1.340264+-.24331799999999998*o+a*(.0062510000000000005+.034164*o))/eG(i),e8(e2(i)/oi)]},ou.invert=iQ(eK),ol.invert=iQ(e8),os.invert=iQ(function(t){return 2*eK(t)}),oh.invert=function(t,n){return[-n,2*eK(eQ(t))-eH]};var ob=ov(n5);ov(n4);let om=Math.PI/180,oy=180/Math.PI,ow=4/29,ox=6/29,o_=6/29*3*(6/29),oM=6/29*(6/29)*(6/29);function ok(t){if(t instanceof oA)return new oA(t.l,t.a,t.b,t.opacity);if(t instanceof oL)return oU(t);t instanceof nW||(t=nq(t));var n,e,r=oN(t.r),i=oN(t.g),o=oN(t.b),a=oT((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?n=e=a:(n=oT((.4360747*r+.3850649*i+.1430804*o)/.96422),e=oT((.0139322*r+.0971045*i+.7141733*o)/.82521)),new oA(116*a-16,500*(n-a),200*(a-e),t.opacity)}function oE(t,n,e,r){return 1==arguments.length?ok(t):new oA(t,n,e,null==r?1:r)}function oA(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function oT(t){return t>oM?Math.pow(t,1/3):t/o_+ow}function oC(t){return t>ox?t*t*t:o_*(t-ow)}function oS(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function oN(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function oD(t,n,e,r){return 1==arguments.length?function(t){if(t instanceof oL)return new oL(t.h,t.c,t.l,t.opacity);if(t instanceof oA||(t=ok(t)),0===t.a&&0===t.b)return new oL(NaN,01e-6){if(Math.abs(f*u-c*l)>1e-6&&i){let d=e-o,h=r-a,p=u*u+c*c,g=Math.sqrt(p),v=Math.sqrt(s),b=i*Math.tan((o0-Math.acos((p+s-(d*d+h*h))/(2*g*v)))/2),m=b/v,y=b/g;Math.abs(m-1)>1e-6&&this._append(oZ(),t+m*l,n+m*f),this._append(oV(),i,i,+(f*d>l*h),this._x1=t+y*u,this._y1=n+y*c)}else this._append(oB(),this._x1=t,this._y1=n)}}arc(t,n,e,r,i,o){if(t=+t,n=+n,o=!!o,(e=+e)<0)throw Error("negative radius: ".concat(e));let a=e*Math.cos(r),u=e*Math.sin(r),c=t+a,l=n+u,f=1^o,s=o?r-i:i-r;null===this._x1?this._append(oX(),c,l):(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-l)>1e-6)&&this._append(oK(),c,l),e&&(s<0&&(s=s%o1+o1),s>o2?this._append(oJ(),e,e,f,t-a,n-u,e,e,f,this._x1=c,this._y1=l):s>1e-6&&this._append(oG(),e,e,+(s>=o0),f,this._x1=t+e*Math.cos(i),this._y1=n+e*Math.sin(i)))}rect(t,n,e,r){this._append(oQ(),this._x0=this._x1=+t,this._y0=this._y1=+n,e=+e,+r,-e)}toString(){return this._}constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?o6:function(t){let n=Math.floor(t);if(!(n>=0))throw Error("invalid digits: ".concat(t));if(n>15)return o6;let e=10**n;return function(t){this._+=t[0];for(let n=1,r=t.length;n0&&void 0!==arguments[0]?arguments[0]:3;return new o5(+t)}function o3(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function o8(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}o5.prototype;let o7=Symbol("implicit");function o9(){var t=new m,n=[],e=[],r=o7;function i(i){let o=t.get(i);if(void 0===o){if(r!==o7)return r;t.set(i,o=n.push(i)-1)}return e[o%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();for(let r of(n=[],t=new m,e))t.has(r)||t.set(r,n.push(r)-1);return i},i.range=function(t){return arguments.length?(e=Array.from(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return o9(n,e).unknown(r)},o3.apply(i,arguments),i}function at(){var t,n,e=o9().unknown(void 0),r=e.domain,i=e.range,o=0,a=1,u=!1,c=0,l=0,f=.5;function s(){var e=r().length,s=an&&(e=t,t=n,n=e),l=function(e){return Math.max(t,Math.min(n,e))}),r=c>2?al:ac,i=o=null,s}function s(n){return null==n||isNaN(n=+n)?e:(i||(i=r(a.map(t),u,c)))(t(l(n)))}return s.invert=function(e){return l(n((o||(o=r(u,a.map(t),nh)))(e)))},s.domain=function(t){return arguments.length?(a=Array.from(t,ai),f()):a.slice()},s.range=function(t){return arguments.length?(u=Array.from(t),f()):u.slice()},s.rangeRound=function(t){return u=Array.from(t),c=og,f()},s.clamp=function(t){return arguments.length?(l=!!t||aa,f()):l!==aa},s.interpolate=function(t){return arguments.length?(c=t,f()):c},s.unknown=function(t){return arguments.length?(e=t,s):e},function(e,r){return t=e,n=r,f()}}function ad(t){var n=t.domain;return t.ticks=function(t){var e=n();return K(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return function(t,n,e,r){var i,o,a=G(t,n,e);switch((r=eF(null==r?",f":r)).type){case"s":var u=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(o=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(eR(u)/3)))-eR(Math.abs(a))))||(r.precision=o),rm(r,u);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=Math.max(0,eR(Math.abs(Math.max(Math.abs(t),Math.abs(n)))-(i=Math.abs(i=a)))-eR(i))+1)||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=Math.max(0,-eR(Math.abs(a))))||(r.precision=o-("%"===r.type)*2)}return rb(r)}(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i,o=n(),a=0,u=o.length-1,c=o[a],l=o[u],f=10;for(l0;){if((i=J(c,l,e))===r)return o[a]=c,o[u]=l,n(o);if(i>0)c=Math.floor(c/i)*i,l=Math.ceil(l/i)*i;else if(i<0)c=Math.ceil(c*i)/i,l=Math.floor(l*i)/i;else break;r=i}return t},t}function ah(t,n){t=t.slice();var e,r=0,i=t.length-1,o=t[r],a=t[i];return a-t(-n,e)}function aw(t){let n,e;let r=t(ap,ag),i=r.domain,o=10;function a(){var a,u;return n=(a=o)===Math.E?Math.log:10===a&&Math.log10||2===a&&Math.log2||(a=Math.log(a),t=>Math.log(t)/a),e=10===(u=o)?am:u===Math.E?Math.exp:t=>Math.pow(u,t),i()[0]<0?(n=ay(n),e=ay(e),t(av,ab)):t(ap,ag),r}return r.base=function(t){return arguments.length?(o=+t,a()):o},r.domain=function(t){return arguments.length?(i(t),a()):i()},r.ticks=t=>{let r,a;let u=i(),c=u[0],l=u[u.length-1],f=l0){for(;s<=d;++s)for(r=1;rl)break;p.push(a)}}else for(;s<=d;++s)for(r=o-1;r>=1;--r)if(!((a=s>0?r/e(-s):r*e(s))l)break;p.push(a)}2*p.length{if(null==t&&(t=10),null==i&&(i=10===o?"s":","),"function"!=typeof i&&(o%1||null!=(i=eF(i)).precision||(i.trim=!0),i=rb(i)),t===1/0)return i;let a=Math.max(1,o*t/r.ticks().length);return t=>{let r=t/e(Math.round(n(t)));return r*oi(ah(i(),{floor:t=>e(Math.floor(n(t))),ceil:t=>e(Math.ceil(n(t)))})),r}function ax(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function a_(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function aM(t){var n=1,e=t(ax(1),a_(n));return e.constant=function(e){return arguments.length?t(ax(n=+e),a_(n)):n},ad(e)}function ak(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function aE(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function aA(t){return t<0?-t*t:t*t}function aT(t){var n=t(aa,aa),e=1;return n.exponent=function(n){return arguments.length?1==(e=+n)?t(aa,aa):.5===e?t(aE,aA):t(ak(e),ak(1/e)):e},ad(n)}let aC=new Date,aS=new Date;function aN(t,n,e,r){function i(n){return t(n=0==arguments.length?new Date:new Date(+n)),n}return i.floor=n=>(t(n=new Date(+n)),n),i.ceil=e=>(t(e=new Date(e-1)),n(e,1),t(e),e),i.round=t=>{let n=i(t),e=i.ceil(t);return t-n(n(t=new Date(+t),null==e?1:Math.floor(e)),t),i.range=(e,r,o)=>{let a;let u=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e0))return u;do u.push(a=new Date(+e)),n(e,o),t(e);while(aaN(n=>{if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)},(t,r)=>{if(t>=t){if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}}),e&&(i.count=(n,r)=>(aC.setTime(+n),aS.setTime(+r),t(aC),t(aS),Math.floor(e(aC,aS))),i.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(r?n=>r(n)%t==0:n=>i.count(0,n)%t==0):i:null),i}let aD=aN(()=>{},(t,n)=>{t.setTime(+t+n)},(t,n)=>n-t);aD.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?aN(n=>{n.setTime(Math.floor(n/t)*t)},(n,e)=>{n.setTime(+n+e*t)},(n,e)=>(e-n)/t):aD:null,aD.range;let aL=aN(t=>{t.setTime(t-t.getMilliseconds())},(t,n)=>{t.setTime(+t+1e3*n)},(t,n)=>(n-t)/1e3,t=>t.getUTCSeconds());aL.range;let aU=aN(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,n)=>{t.setTime(+t+6e4*n)},(t,n)=>(n-t)/6e4,t=>t.getMinutes());aU.range;let aR=aN(t=>{t.setUTCSeconds(0,0)},(t,n)=>{t.setTime(+t+6e4*n)},(t,n)=>(n-t)/6e4,t=>t.getUTCMinutes());aR.range;let aO=aN(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,n)=>{t.setTime(+t+36e5*n)},(t,n)=>(n-t)/36e5,t=>t.getHours());aO.range;let aF=aN(t=>{t.setUTCMinutes(0,0,0)},(t,n)=>{t.setTime(+t+36e5*n)},(t,n)=>(n-t)/36e5,t=>t.getUTCHours());aF.range;let aI=aN(t=>t.setHours(0,0,0,0),(t,n)=>t.setDate(t.getDate()+n),(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);aI.range;let aj=aN(t=>{t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n)},(t,n)=>(n-t)/864e5,t=>t.getUTCDate()-1);aj.range;let az=aN(t=>{t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n)},(t,n)=>(n-t)/864e5,t=>Math.floor(t/864e5));function aq(t){return aN(n=>{n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+7*n)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}az.range;let aY=aq(0),aW=aq(1),aP=aq(2),aH=aq(3),a$=aq(4),aB=aq(5),aZ=aq(6);function aV(t){return aN(n=>{n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+7*n)},(t,n)=>(n-t)/6048e5)}aY.range,aW.range,aP.range,aH.range,a$.range,aB.range,aZ.range;let aX=aV(0),aK=aV(1),aJ=aV(2),aG=aV(3),aQ=aV(4),a0=aV(5),a1=aV(6);aX.range,aK.range,aJ.range,aG.range,aQ.range,a0.range,a1.range;let a2=aN(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,n)=>{t.setMonth(t.getMonth()+n)},(t,n)=>n.getMonth()-t.getMonth()+(n.getFullYear()-t.getFullYear())*12,t=>t.getMonth());a2.range;let a6=aN(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCMonth(t.getUTCMonth()+n)},(t,n)=>n.getUTCMonth()-t.getUTCMonth()+(n.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());a6.range;let a5=aN(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n)},(t,n)=>n.getFullYear()-t.getFullYear(),t=>t.getFullYear());a5.every=t=>isFinite(t=Math.floor(t))&&t>0?aN(n=>{n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},(n,e)=>{n.setFullYear(n.getFullYear()+e*t)}):null,a5.range;let a4=aN(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n)},(t,n)=>n.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function a3(t,n,e,r,i,o){let a=[[aL,1,1e3],[aL,5,5e3],[aL,15,15e3],[aL,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[e,1,6048e5],[n,1,2592e6],[n,3,7776e6],[t,1,31536e6]];function u(n,e,r){let i=Math.abs(e-n)/r,o=l(t=>{let[,,n]=t;return n}).right(a,i);if(o===a.length)return t.every(G(n/31536e6,e/31536e6,r));if(0===o)return aD.every(Math.max(G(n,e,r),1));let[u,c]=a[i/a[o-1][2]isFinite(t=Math.floor(t))&&t>0?aN(n=>{n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},(n,e)=>{n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null,a4.range;let[a8,a7]=a3(a4,a6,aX,az,aF,aR),[a9,ut]=a3(a5,a2,aY,aI,aO,aU);function un(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ue(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ur(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var ui={"-":"",_:" ",0:"0"},uo=/^\s*\d+/,ua=/^%/,uu=/[\\^$*+?|[\]().{}]/g;function uc(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o[t.toLowerCase(),n]))}function ud(t,n,e){var r=uo.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function uh(t,n,e){var r=uo.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function up(t,n,e){var r=uo.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function ug(t,n,e){var r=uo.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function uv(t,n,e){var r=uo.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function ub(t,n,e){var r=uo.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function um(t,n,e){var r=uo.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function uy(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function uw(t,n,e){var r=uo.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function ux(t,n,e){var r=uo.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function u_(t,n,e){var r=uo.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function uM(t,n,e){var r=uo.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function uk(t,n,e){var r=uo.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function uE(t,n,e){var r=uo.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function uA(t,n,e){var r=uo.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function uT(t,n,e){var r=uo.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function uC(t,n,e){var r=uo.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function uS(t,n,e){var r=ua.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function uN(t,n,e){var r=uo.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function uD(t,n,e){var r=uo.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function uL(t,n){return uc(t.getDate(),n,2)}function uU(t,n){return uc(t.getHours(),n,2)}function uR(t,n){return uc(t.getHours()%12||12,n,2)}function uO(t,n){return uc(1+aI.count(a5(t),t),n,3)}function uF(t,n){return uc(t.getMilliseconds(),n,3)}function uI(t,n){return uF(t,n)+"000"}function uj(t,n){return uc(t.getMonth()+1,n,2)}function uz(t,n){return uc(t.getMinutes(),n,2)}function uq(t,n){return uc(t.getSeconds(),n,2)}function uY(t){var n=t.getDay();return 0===n?7:n}function uW(t,n){return uc(aY.count(a5(t)-1,t),n,2)}function uP(t){var n=t.getDay();return n>=4||0===n?a$(t):a$.ceil(t)}function uH(t,n){return t=uP(t),uc(a$.count(a5(t),t)+(4===a5(t).getDay()),n,2)}function u$(t){return t.getDay()}function uB(t,n){return uc(aW.count(a5(t)-1,t),n,2)}function uZ(t,n){return uc(t.getFullYear()%100,n,2)}function uV(t,n){return uc((t=uP(t)).getFullYear()%100,n,2)}function uX(t,n){return uc(t.getFullYear()%1e4,n,4)}function uK(t,n){var e=t.getDay();return uc((t=e>=4||0===e?a$(t):a$.ceil(t)).getFullYear()%1e4,n,4)}function uJ(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+uc(n/60|0,"0",2)+uc(n%60,"0",2)}function uG(t,n){return uc(t.getUTCDate(),n,2)}function uQ(t,n){return uc(t.getUTCHours(),n,2)}function u0(t,n){return uc(t.getUTCHours()%12||12,n,2)}function u1(t,n){return uc(1+aj.count(a4(t),t),n,3)}function u2(t,n){return uc(t.getUTCMilliseconds(),n,3)}function u6(t,n){return u2(t,n)+"000"}function u5(t,n){return uc(t.getUTCMonth()+1,n,2)}function u4(t,n){return uc(t.getUTCMinutes(),n,2)}function u3(t,n){return uc(t.getUTCSeconds(),n,2)}function u8(t){var n=t.getUTCDay();return 0===n?7:n}function u7(t,n){return uc(aX.count(a4(t)-1,t),n,2)}function u9(t){var n=t.getUTCDay();return n>=4||0===n?aQ(t):aQ.ceil(t)}function ct(t,n){return t=u9(t),uc(aQ.count(a4(t),t)+(4===a4(t).getUTCDay()),n,2)}function cn(t){return t.getUTCDay()}function ce(t,n){return uc(aK.count(a4(t)-1,t),n,2)}function cr(t,n){return uc(t.getUTCFullYear()%100,n,2)}function ci(t,n){return uc((t=u9(t)).getUTCFullYear()%100,n,2)}function co(t,n){return uc(t.getUTCFullYear()%1e4,n,4)}function ca(t,n){var e=t.getUTCDay();return uc((t=e>=4||0===e?aQ(t):aQ.ceil(t)).getUTCFullYear()%1e4,n,4)}function cu(){return"+0000"}function cc(){return"%"}function cl(t){return+t}function cf(t){return Math.floor(+t/1e3)}function cs(t){return new Date(t)}function cd(t){return t instanceof Date?+t:+new Date(+t)}function ch(t,n,e,r,i,o,a,u,c,l){var f=as()(aa,aa),s=f.invert,d=f.domain,h=l(".%L"),p=l(":%S"),g=l("%I:%M"),v=l("%I %p"),b=l("%a %d"),m=l("%b %d"),y=l("%B"),w=l("%Y");function x(t){return(c(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:cl,s:cf,S:uq,u:uY,U:uW,V:uH,w:u$,W:uB,x:null,X:null,y:uZ,Y:uX,Z:uJ,"%":cc},w={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:uG,e:uG,f:u6,g:ci,G:ca,H:uQ,I:u0,j:u1,L:u2,m:u5,M:u4,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:cl,s:cf,S:u3,u:u8,U:u7,V:ct,w:cn,W:ce,x:null,X:null,y:cr,Y:co,Z:cu,"%":cc},x={a:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=s.exec(n.slice(e));return r?(t.w=d.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=b.exec(n.slice(e));return r?(t.m=m.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=v.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return k(t,n,e,r)},d:u_,e:u_,f:uC,g:um,G:ub,H:uk,I:uk,j:uM,L:uT,m:ux,M:uE,p:function(t,n,e){var r=l.exec(n.slice(e));return r?(t.p=f.get(r[0].toLowerCase()),e+r[0].length):-1},q:uw,Q:uN,s:uD,S:uA,u:uh,U:up,V:ug,w:ud,W:uv,x:function(t,n,r){return k(t,e,n,r)},X:function(t,n,e){return k(t,r,n,e)},y:um,Y:ub,Z:uy,"%":uS};function _(t,n){return function(e){var r,i,o,a=[],u=-1,c=0,l=t.length;for(e instanceof Date||(e=new Date(+e));++u53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=(r=ue(ur(o.y,0,1))).getUTCDay())>4||0===i?aK.ceil(r):aK(r),r=aj.offset(r,(o.V-1)*7),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=(i=(r=un(ur(o.y,0,1))).getDay())>4||0===i?aW.ceil(r):aW(r),r=aI.offset(r,(o.V-1)*7),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?ue(ur(o.y,0,1)).getUTCDay():un(ur(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,ue(o)):un(o)}}function k(t,n,e,r){for(var i,o,a=0,u=n.length,c=e.length;a=c)return -1;if(37===(i=n.charCodeAt(a++))){if(!(o=x[(i=n.charAt(a++))in ui?n.charAt(a++):i])||(r=o(t,e,r))<0)return -1}else if(i!=e.charCodeAt(r++))return -1}return r}return y.x=_(e,y),y.X=_(r,y),y.c=_(n,y),w.x=_(e,w),w.X=_(r,w),w.c=_(n,w),{format:function(t){var n=_(t+="",y);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=_(t+="",w);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t+="",!0);return n.toString=function(){return t},n}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,tK.parse,tG=tK.utcFormat,tK.utcParse;var cy=cm("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),cw=cm("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),cx=cm("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),c_=cm("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),cM=cm("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),ck=cm("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),cE=cm("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),cA=cm("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),cT=cm("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),cC=cm("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),cS=t=>n7(t[t.length-1]),cN=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(cm),cD=cS(cN),cL=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(cm),cU=cS(cL),cR=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(cm),cO=cS(cR),cF=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(cm),cI=cS(cF),cj=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(cm),cz=cS(cj),cq=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(cm),cY=cS(cq),cW=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(cm),cP=cS(cW),cH=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(cm),c$=cS(cH),cB=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(cm),cZ=cS(cB),cV=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(cm),cX=cS(cV),cK=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(cm),cJ=cS(cK),cG=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(cm),cQ=cS(cG),c0=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(cm),c1=cS(c0),c2=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(cm),c6=cS(c2),c5=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(cm),c4=cS(c5),c3=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(cm),c8=cS(c3),c7=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(cm),c9=cS(c7),lt=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(cm),ln=cS(lt),le=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(cm),lr=cS(le),li=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(cm),lo=cS(li),la=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(cm),lu=cS(la),lc=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(cm),ll=cS(lc),lf=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(cm),ls=cS(lf),ld=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(cm),lh=cS(ld),lp=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(cm),lg=cS(lp),lv=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(cm),lb=cS(lv),lm=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(cm),ly=cS(lm);function lw(t){return"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-(t=Math.max(0,Math.min(1,t)))*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"}var lx=-1.78277*.29227-.1347134789;function l_(t,n,e,r){return 1==arguments.length?function(t){if(t instanceof lM)return new lM(t.h,t.s,t.l,t.opacity);t instanceof nW||(t=nq(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(lx*r+-1.7884503806*n-3.5172982438*e)/(lx+-1.7884503806-3.5172982438),o=r-i,a=-((1.97294*(e-i)- -.29227*o)/.90649),u=Math.sqrt(a*a+o*o)/(1.97294*i*(1-i)),c=u?Math.atan2(a,o)*oy-120:NaN;return new lM(c<0?c+360:c,u,i,t.opacity)}(t):new lM(t,n,e,null==r?1:r)}function lM(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function lk(t){return function n(e){function r(n,r){var i=t((n=l_(n)).h,(r=l_(r)).h),o=n4(n.s,r.s),a=n4(n.l,r.l),u=n4(n.opacity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=a(Math.pow(t,e)),n.opacity=u(t),n+""}}return e=+e,r.gamma=n,r}(1)}nx(lM,l_,n_(nM,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new lM(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new lM(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=isNaN(this.h)?0:(this.h+120)*om,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new nW(255*(n+e*(-.14861*r+1.78277*i)),255*(n+e*(-.29227*r+-.90649*i)),255*(n+1.97294*r*e),this.opacity)}})),lk(n5);var lE=lk(n4),lA=lE(l_(300,.5,0),l_(-240,.5,1)),lT=lE(l_(-100,.75,.35),l_(80,1.5,.8)),lC=lE(l_(260,.75,.35),l_(80,1.5,.8)),lS=l_();function lN(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return lS.h=360*t-100,lS.s=1.5-1.5*n,lS.l=.8-.9*n,lS+""}var lD=nY(),lL=Math.PI/3,lU=2*Math.PI/3;function lR(t){var n;return t=(.5-t)*Math.PI,lD.r=255*(n=Math.sin(t))*n,lD.g=255*(n=Math.sin(t+lL))*n,lD.b=255*(n=Math.sin(t+lU))*n,lD+""}function lO(t){return"rgb("+Math.max(0,Math.min(255,Math.round(34.61+(t=Math.max(0,Math.min(1,t)))*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function lF(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var lI=lF(cm("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),lj=lF(cm("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),lz=lF(cm("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),lq=lF(cm("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function lY(t,n){if(t=function(t){let n;for(;n=t.sourceEvent;)t=n;return t}(t),void 0===n&&(n=t.currentTarget),n){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(n.getScreenCTM().inverse())).x,r.y]}if(n.getBoundingClientRect){var i=n.getBoundingClientRect();return[t.clientX-i.left-n.clientLeft,t.clientY-i.top-n.clientTop]}}return[t.pageX,t.pageY]}function lW(t){return"string"==typeof t?new tH([[document.querySelector(t)]],[document.documentElement]):new tH([[t]],tP)}let lP=Math.cos,lH=Math.min,l$=Math.sin,lB=Math.sqrt,lZ=Math.PI,lV=2*lZ,lX=lB(3);var lK={draw(t,n){let e=.59436*lB(n+lH(n/28,.75)),r=e/2,i=r*lX;t.moveTo(0,e),t.lineTo(0,-e),t.moveTo(-i,-r),t.lineTo(i,r),t.moveTo(-i,r),t.lineTo(i,-r)}},lJ={draw(t,n){let e=lB(n/lZ);t.moveTo(e,0),t.arc(0,0,e,0,lV)}},lG={draw(t,n){let e=lB(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}};let lQ=lB(1/3),l0=2*lQ;var l1={draw(t,n){let e=lB(n/l0),r=e*lQ;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},l2={draw(t,n){let e=.62625*lB(n);t.moveTo(0,-e),t.lineTo(e,0),t.lineTo(0,e),t.lineTo(-e,0),t.closePath()}},l6={draw(t,n){let e=.87559*lB(n-lH(n/7,2));t.moveTo(-e,0),t.lineTo(e,0),t.moveTo(0,e),t.lineTo(0,-e)}},l5={draw(t,n){let e=lB(n),r=-e/2;t.rect(r,r,e,e)}},l4={draw(t,n){let e=.4431*lB(n);t.moveTo(e,e),t.lineTo(e,-e),t.lineTo(-e,-e),t.lineTo(-e,e),t.closePath()}};let l3=l$(lZ/10)/l$(7*lZ/10),l8=l$(lV/10)*l3,l7=-lP(lV/10)*l3;var l9={draw(t,n){let e=lB(.8908130915292852*n),r=l8*e,i=l7*e;t.moveTo(0,-e),t.lineTo(r,i);for(let n=1;n<5;++n){let o=lV*n/5,a=lP(o),u=l$(o);t.lineTo(u*e,-a*e),t.lineTo(a*r-u*i,u*r+a*i)}t.closePath()}};let ft=lB(3);var fn={draw(t,n){let e=-lB(n/(3*ft));t.moveTo(0,2*e),t.lineTo(-ft*e,-e),t.lineTo(ft*e,-e),t.closePath()}};let fe=lB(3);var fr={draw(t,n){let e=.6824*lB(n),r=e/2,i=e*fe/2;t.moveTo(0,-e),t.lineTo(i,r),t.lineTo(-i,r),t.closePath()}};let fi=lB(3)/2,fo=1/lB(12),fa=(fo/2+1)*3;var fu={draw(t,n){let e=lB(n/fa),r=e/2,i=e*fo,o=e*fo+e,a=-r;t.moveTo(r,i),t.lineTo(r,o),t.lineTo(a,o),t.lineTo(-.5*r-fi*i,fi*r+-.5*i),t.lineTo(-.5*r-fi*o,fi*r+-.5*o),t.lineTo(-.5*a-fi*o,fi*a+-.5*o),t.lineTo(-.5*r+fi*i,-.5*i-fi*r),t.lineTo(-.5*r+fi*o,-.5*o-fi*r),t.lineTo(-.5*a+fi*o,-.5*o-fi*a),t.closePath()}},fc={draw(t,n){let e=.6189*lB(n-lH(n/6,1.7));t.moveTo(-e,-e),t.lineTo(e,e),t.moveTo(-e,e),t.lineTo(e,-e)}};let fl=[lJ,lG,l1,l5,l9,fn,fu],ff=[lJ,l6,fc,fr,lK,l4,l2];function fs(t,n,e){this.k=t,this.x=n,this.y=e}fs.prototype={constructor:fs,scale:function(t){return 1===t?this:new fs(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new fs(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new fs(1,0,0),fs.prototype}}]); \ No newline at end of file diff --git a/_next/static/chunks/69-550fe58c67b8662b.js b/_next/static/chunks/69-550fe58c67b8662b.js new file mode 100644 index 0000000..d7e9e60 --- /dev/null +++ b/_next/static/chunks/69-550fe58c67b8662b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[69],{269:function(e,t){"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},9338:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]})},5786:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return u}});let n=r(1312),o=r(2139);function u(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6159:function(e,t){"use strict";function r(e){var t,r;t=self.__next_s,r=()=>{e()},t&&t.length?t.reduce((e,t)=>{let[r,n]=t;return e.then(()=>new Promise((e,t)=>{let o=document.createElement("script");if(n)for(let e in n)"children"!==e&&o.setAttribute(e,n[e]);r?(o.src=r,o.onload=()=>e(),o.onerror=t):n&&(o.innerHTML=n.children,setTimeout(e)),document.head.appendChild(o)}))},Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{r()}):r()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"appBootstrap",{enumerable:!0,get:function(){return r}}),window.next={version:"14.1.0",appDir:!0},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5355:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callServer",{enumerable:!0,get:function(){return o}});let n=r(7690);async function o(e,t){let r=(0,n.getServerActionDispatcher)();if(!r)throw Error("Invariant: missing action dispatcher.");return new Promise((n,o)=>{r({actionId:e,actionArgs:t,resolve:n,reject:o})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},945:function(e,t,r){"use strict";let n,o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return C}});let u=r(6921),l=r(1884),a=r(3827);r(9338);let i=u._(r(7600)),c=l._(r(4090)),s=r(7355),f=r(7484);r(8599);let d=u._(r(4101)),p=r(5355),h=r(4950),y=r(5367),_=window.console.error;window.console.error=function(){for(var e=arguments.length,t=Array(e),r=0;r{if((0,h.isNextRouterError)(e.error)){e.preventDefault();return}});let v=document,b=()=>{let{pathname:e,search:t}=location;return e+t},g=new TextEncoder,m=!1,P=!1,j=null;function R(e){if(0===e[0])n=[];else if(1===e[0]){if(!n)throw Error("Unexpected server data: missing bootstrap script.");o?o.enqueue(g.encode(e[1])):n.push(e[1])}else 2===e[0]&&(j=e[1])}let O=function(){o&&!P&&(o.close(),P=!0,n=void 0),m=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",O,!1):O();let S=self.__next_f=self.__next_f||[];S.forEach(R),S.push=R;let E=new Map;function w(e){let{cacheKey:t}=e;c.default.useEffect(()=>{E.delete(t)});let r=function(e){let t=E.get(e);if(t)return t;let r=new ReadableStream({start(e){n&&(n.forEach(t=>{e.enqueue(g.encode(t))}),m&&!P&&(e.close(),P=!0,n=void 0)),o=e}}),u=(0,s.createFromReadableStream)(r,{callServer:p.callServer});return E.set(e,u),u}(t);return(0,c.use)(r)}let M=c.default.Fragment;function T(e){let{children:t}=e;return t}function x(e){return(0,a.jsx)(w,{...e,cacheKey:b()})}function C(){let e=(0,y.createMutableActionQueue)(),t=(0,a.jsx)(M,{children:(0,a.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,a.jsx)(y.ActionQueueContext.Provider,{value:e,children:(0,a.jsx)(T,{children:(0,a.jsx)(x,{})})})})}),r={onRecoverableError:d.default};"__next_error__"===document.documentElement.id?i.default.createRoot(v,r).render(t):c.default.startTransition(()=>i.default.hydrateRoot(v,t,{...r,formState:j}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5317:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(9590),(0,r(6159).appBootstrap)(()=>{let{hydrate:e}=r(945);r(7690),r(5613),e()}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9590:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(269);{let e=r.u;r.u=function(){for(var t=arguments.length,r=Array(t),n=0;n(l(function(){var e;let t=document.getElementsByName(u)[0];if(null==t?void 0:null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(u);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(u)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}),[]);let[a,i]=(0,n.useState)(""),c=(0,n.useRef)();return(0,n.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==c.current&&c.current!==e&&i(e),c.current=e},[t]),r?(0,o.createPortal)(a,r):null}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2275:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RSC_HEADER:function(){return r},ACTION:function(){return n},NEXT_ROUTER_STATE_TREE:function(){return o},NEXT_ROUTER_PREFETCH_HEADER:function(){return u},NEXT_URL:function(){return l},RSC_CONTENT_TYPE_HEADER:function(){return a},RSC_VARY_HEADER:function(){return i},FLIGHT_PARAMETERS:function(){return c},NEXT_RSC_UNION_QUERY:function(){return s},NEXT_DID_POSTPONE_HEADER:function(){return f}});let r="RSC",n="Next-Action",o="Next-Router-State-Tree",u="Next-Router-Prefetch",l="Next-Url",a="text/x-component",i=r+", "+o+", "+u+", "+l,c=[[r],[o],[u]],s="_rsc",f="x-nextjs-postponed";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7690:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getServerActionDispatcher:function(){return O},urlToUrlWithoutFlightMarker:function(){return E},createEmptyCacheNode:function(){return T},default:function(){return A}});let n=r(1884),o=r(3827),u=n._(r(4090)),l=r(8599),a=r(1414),i=r(8419),c=r(4758),s=r(1276),f=r(8955),d=r(4492),p=r(6407),h=r(5786),y=r(2054),_=r(5737),v=r(671),b=r(4399),g=r(2275),m=r(8895),P=r(7379),j=new Map,R=null;function O(){return R}let S={};function E(e){let t=new URL(e,location.origin);if(t.searchParams.delete(g.NEXT_RSC_UNION_QUERY),t.pathname.endsWith(".txt")){let{pathname:e}=t,r=e.endsWith("/index.txt")?10:4;t.pathname=e.slice(0,-r)}return t}function w(e){return e.origin!==window.location.origin}function M(e){let{appRouterState:t,sync:r}=e;return(0,u.useInsertionEffect)(()=>{let{tree:e,pushRef:n,canonicalUrl:o}=t,u={...n.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:e};n.pendingPush&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==o?(n.pendingPush=!1,window.history.pushState(u,"",o)):window.history.replaceState(u,"",o),r(t)},[t,r]),null}function T(){return{lazyData:null,rsc:null,prefetchRsc:null,parallelRoutes:new Map}}function x(e){null==e&&(e={});let t=window.history.state,r=null==t?void 0:t.__NA;r&&(e.__NA=r);let n=null==t?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;return n&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=n),e}function C(e){let{headCacheNode:t}=e,r=null!==t?t.head:null,n=null!==t?t.prefetchHead:null,o=null!==n?n:r;return(0,u.useDeferredValue)(r,o)}function N(e){let t,{buildId:r,initialHead:n,initialTree:i,initialCanonicalUrl:f,initialSeedData:g,assetPrefix:O,missingSlots:E}=e,T=(0,u.useMemo)(()=>(0,d.createInitialRouterState)({buildId:r,initialSeedData:g,initialCanonicalUrl:f,initialTree:i,initialParallelRoutes:j,isServer:!1,location:window.location,initialHead:n}),[r,g,f,i,n]),[N,A,I]=(0,s.useReducerWithReduxDevtools)(T);(0,u.useEffect)(()=>{j=null},[]);let{canonicalUrl:k}=(0,s.useUnwrapState)(N),{searchParams:F,pathname:U}=(0,u.useMemo)(()=>{let e=new URL(k,window.location.href);return{searchParams:e.searchParams,pathname:(0,P.hasBasePath)(e.pathname)?(0,m.removeBasePath)(e.pathname):e.pathname}},[k]),D=(0,u.useCallback)((e,t,r)=>{(0,u.startTransition)(()=>{A({type:a.ACTION_SERVER_PATCH,flightData:t,previousTree:e,overrideCanonicalUrl:r})})},[A]),L=(0,u.useCallback)((e,t,r)=>{let n=new URL((0,h.addBasePath)(e),location.href);return A({type:a.ACTION_NAVIGATE,url:n,isExternalUrl:w(n),locationSearch:location.search,shouldScroll:null==r||r,navigateType:t})},[A]);R=(0,u.useCallback)(e=>{(0,u.startTransition)(()=>{A({...e,type:a.ACTION_SERVER_ACTION})})},[A]);let H=(0,u.useMemo)(()=>({back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{if((0,p.isBot)(window.navigator.userAgent))return;let r=new URL((0,h.addBasePath)(e),window.location.href);w(r)||(0,u.startTransition)(()=>{var e;A({type:a.ACTION_PREFETCH,url:r,kind:null!=(e=null==t?void 0:t.kind)?e:a.PrefetchKind.FULL})})},replace:(e,t)=>{void 0===t&&(t={}),(0,u.startTransition)(()=>{var r;L(e,"replace",null==(r=t.scroll)||r)})},push:(e,t)=>{void 0===t&&(t={}),(0,u.startTransition)(()=>{var r;L(e,"push",null==(r=t.scroll)||r)})},refresh:()=>{(0,u.startTransition)(()=>{A({type:a.ACTION_REFRESH,origin:window.location.origin})})},fastRefresh:()=>{throw Error("fastRefresh can only be used in development mode. Please use refresh instead.")}}),[A,L]);(0,u.useEffect)(()=>{window.next&&(window.next.router=H)},[H]),(0,u.useEffect)(()=>{function e(e){var t;e.persisted&&(null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE)&&A({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE})}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[A]);let{pushRef:$}=(0,s.useUnwrapState)(N);if($.mpaNavigation){if(S.pendingMpaPath!==k){let e=window.location;$.pendingPush?e.assign(k):e.replace(k),S.pendingMpaPath=k}(0,u.use)((0,b.createInfinitePromise)())}(0,u.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),r=e=>{let t=window.location.href;(0,u.startTransition)(()=>{A({type:a.ACTION_RESTORE,url:new URL(null!=e?e:t,t),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE})})};window.history.pushState=function(t,n,o){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=x(t),o&&r(o)),e(t,n,o)},window.history.replaceState=function(e,n,o){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=x(e),o&&r(o)),t(e,n,o)};let n=e=>{let{state:t}=e;if(t){if(!t.__NA){window.location.reload();return}(0,u.startTransition)(()=>{A({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:t.__PRIVATE_NEXTJS_INTERNALS_TREE})})}};return window.addEventListener("popstate",n),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",n)}},[A]);let{cache:B,tree:W,nextUrl:G,focusAndScrollRef:z}=(0,s.useUnwrapState)(N),K=(0,u.useMemo)(()=>(0,v.findHeadInCache)(B,W[1]),[B,W]);if(null!==K){let[e,r]=K;t=(0,o.jsx)(C,{headCacheNode:e},r)}else t=null;let V=(0,o.jsxs)(_.RedirectBoundary,{children:[t,B.rsc,(0,o.jsx)(y.AppRouterAnnouncer,{tree:W})]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(M,{appRouterState:(0,s.useUnwrapState)(N),sync:I}),(0,o.jsx)(c.PathnameContext.Provider,{value:U,children:(0,o.jsx)(c.SearchParamsContext.Provider,{value:F,children:(0,o.jsx)(l.GlobalLayoutRouterContext.Provider,{value:{buildId:r,changeByServerResponse:D,tree:W,focusAndScrollRef:z,nextUrl:G},children:(0,o.jsx)(l.AppRouterContext.Provider,{value:H,children:(0,o.jsx)(l.LayoutRouterContext.Provider,{value:{childNodes:B.parallelRoutes,tree:W,url:k},children:V})})})})})]})}function A(e){let{globalErrorComponent:t,...r}=e;return(0,o.jsx)(f.ErrorBoundary,{errorComponent:t,children:(0,o.jsx)(N,{...r})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3706:function(e,t,r){"use strict";function n(e){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clientHookInServerComponentError",{enumerable:!0,get:function(){return n}}),r(6921),r(4090),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8955:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ErrorBoundaryHandler:function(){return s},GlobalError:function(){return f},default:function(){return d},ErrorBoundary:function(){return p}});let n=r(6921),o=r(3827),u=n._(r(4090)),l=r(5313),a=r(4950),i={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}};function c(e){let{error:t}=e;if("function"==typeof fetch.__nextGetStaticStore){var r;let e=null==(r=fetch.__nextGetStaticStore())?void 0:r.getStore();if((null==e?void 0:e.isRevalidate)||(null==e?void 0:e.isStaticGeneration))throw console.error(t),t}return null}class s extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,o.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function f(e){let{error:t}=e,r=null==t?void 0:t.digest;return(0,o.jsxs)("html",{id:"__next_error__",children:[(0,o.jsx)("head",{}),(0,o.jsxs)("body",{children:[(0,o.jsx)(c,{error:t}),(0,o.jsx)("div",{style:i.error,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{style:i.text,children:"Application error: a "+(r?"server":"client")+"-side exception has occurred (see the "+(r?"server logs":"browser console")+" for more information)."}),r?(0,o.jsx)("p",{style:i.text,children:"Digest: "+r}):null]})})]})]})}let d=f;function p(e){let{errorComponent:t,errorStyles:r,errorScripts:n,children:u}=e,a=(0,l.usePathname)();return t?(0,o.jsx)(s,{pathname:a,errorComponent:t,errorStyles:r,errorScripts:n,children:u}):(0,o.jsx)(o.Fragment,{children:u})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7127:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DynamicServerError:function(){return n},isDynamicServerError:function(){return o}});let r="DYNAMIC_SERVER_USAGE";class n extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4399:function(e,t){"use strict";let r;function n(){return r||(r=new Promise(()=>{})),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInfinitePromise",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4950:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return u}});let n=r(2322),o=r(6155);function u(e){return e&&e.digest&&((0,o.isRedirectError)(e)||(0,n.isNotFoundError)(e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5613:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});let n=r(6921),o=r(1884),u=r(3827),l=o._(r(4090)),a=n._(r(9542)),i=r(8599),c=r(3546),s=r(4399),f=r(8955),d=r(2295),p=r(3011),h=r(5737),y=r(1902),_=r(6793),v=r(555),b=["bottom","height","left","right","top","width","x","y"];function g(e,t){let r=e.getBoundingClientRect();return r.top>=0&&r.top<=t}class m extends l.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,segmentPath:t}=this.props;if(e.apply){var r;if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,r)=>(0,d.matchSegment)(t,e[r]))))return;let n=null,o=e.hashFragment;if(o&&(n="top"===o?document.body:null!=(r=document.getElementById(o))?r:document.getElementsByName(o)[0]),n||(n=a.default.findDOMNode(this)),!(n instanceof Element))return;for(;!(n instanceof HTMLElement)||function(e){if(["sticky","fixed"].includes(getComputedStyle(e).position))return!0;let t=e.getBoundingClientRect();return b.every(e=>0===t[e])}(n);){if(null===n.nextElementSibling)return;n=n.nextElementSibling}e.apply=!1,e.hashFragment=null,e.segmentPaths=[],(0,p.handleSmoothScroll)(()=>{if(o){n.scrollIntoView();return}let e=document.documentElement,t=e.clientHeight;!g(n,t)&&(e.scrollTop=0,g(n,t)||n.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,n.focus()}}}}function P(e){let{segmentPath:t,children:r}=e,n=(0,l.useContext)(i.GlobalLayoutRouterContext);if(!n)throw Error("invariant global layout router not mounted");return(0,u.jsx)(m,{segmentPath:t,focusAndScrollRef:n.focusAndScrollRef,children:r})}function j(e){let{parallelRouterKey:t,url:r,childNodes:n,segmentPath:o,tree:a,cacheKey:f}=e,p=(0,l.useContext)(i.GlobalLayoutRouterContext);if(!p)throw Error("invariant global layout router not mounted");let{buildId:h,changeByServerResponse:y,tree:_}=p,v=n.get(f);if(void 0===v){let e={lazyData:null,rsc:null,prefetchRsc:null,head:null,parallelRoutes:new Map};v=e,n.set(f,e)}let b=null!==v.prefetchRsc?v.prefetchRsc:v.rsc,g=(0,l.useDeferredValue)(v.rsc,b),m="object"==typeof g&&null!==g&&"function"==typeof g.then?(0,l.use)(g):g;if(!m){let e=v.lazyData;if(null===e){let t=function e(t,r){if(t){let[n,o]=t,u=2===t.length;if((0,d.matchSegment)(r[0],n)&&r[1].hasOwnProperty(o)){if(u){let t=e(void 0,r[1][o]);return[r[0],{...r[1],[o]:[t[0],t[1],t[2],"refetch"]}]}return[r[0],{...r[1],[o]:e(t.slice(2),r[1][o])}]}}return r}(["",...o],_);v.lazyData=e=(0,c.fetchServerResponse)(new URL(r,location.origin),t,p.nextUrl,h)}let[t,n]=(0,l.use)(e);v.lazyData=null,setTimeout(()=>{(0,l.startTransition)(()=>{y(_,t,n)})}),(0,l.use)((0,s.createInfinitePromise)())}return(0,u.jsx)(i.LayoutRouterContext.Provider,{value:{tree:a[1][t],childNodes:v.parallelRoutes,url:r},children:m})}function R(e){let{children:t,loading:r,loadingStyles:n,loadingScripts:o,hasLoading:a}=e;return a?(0,u.jsx)(l.Suspense,{fallback:(0,u.jsxs)(u.Fragment,{children:[n,o,r]}),children:t}):(0,u.jsx)(u.Fragment,{children:t})}function O(e){let{parallelRouterKey:t,segmentPath:r,error:n,errorStyles:o,errorScripts:a,templateStyles:c,templateScripts:s,loading:d,loadingStyles:p,loadingScripts:b,hasLoading:g,template:m,notFound:O,notFoundStyles:S,styles:E}=e,w=(0,l.useContext)(i.LayoutRouterContext);if(!w)throw Error("invariant expected layout router to be mounted");let{childNodes:M,tree:T,url:x}=w,C=M.get(t);C||(C=new Map,M.set(t,C));let N=T[1][t][0],A=(0,_.getSegmentValue)(N),I=[N];return(0,u.jsxs)(u.Fragment,{children:[E,I.map(e=>{let l=(0,_.getSegmentValue)(e),E=(0,v.createRouterCacheKey)(e);return(0,u.jsxs)(i.TemplateContext.Provider,{value:(0,u.jsx)(P,{segmentPath:r,children:(0,u.jsx)(f.ErrorBoundary,{errorComponent:n,errorStyles:o,errorScripts:a,children:(0,u.jsx)(R,{hasLoading:g,loading:d,loadingStyles:p,loadingScripts:b,children:(0,u.jsx)(y.NotFoundBoundary,{notFound:O,notFoundStyles:S,children:(0,u.jsx)(h.RedirectBoundary,{children:(0,u.jsx)(j,{parallelRouterKey:t,url:x,tree:T,childNodes:C,segmentPath:r,cacheKey:E,isActive:A===l})})})})})}),children:[c,s,m]},(0,v.createRouterCacheKey)(e,!0))})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2295:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{matchSegment:function(){return o},canSegmentBeOverridden:function(){return u}});let n=r(2883),o=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1],u=(e,t)=>{var r;return!Array.isArray(e)&&!!Array.isArray(t)&&(null==(r=(0,n.getSegmentParam)(e))?void 0:r.param)===t[0]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5313:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return h},useSearchParams:function(){return y},usePathname:function(){return _},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},useServerInsertedHTML:function(){return c.useServerInsertedHTML},useRouter:function(){return v},useParams:function(){return b},useSelectedLayoutSegments:function(){return g},useSelectedLayoutSegment:function(){return m},redirect:function(){return s.redirect},permanentRedirect:function(){return s.permanentRedirect},RedirectType:function(){return s.RedirectType},notFound:function(){return f.notFound}});let n=r(4090),o=r(8599),u=r(4758),l=r(3706),a=r(6793),i=r(3266),c=r(2472),s=r(6155),f=r(2322),d=Symbol("internal for urlsearchparams readonly");function p(){return Error("ReadonlyURLSearchParams cannot be modified")}class h{[Symbol.iterator](){return this[d][Symbol.iterator]()}append(){throw p()}delete(){throw p()}set(){throw p()}sort(){throw p()}constructor(e){this[d]=e,this.entries=e.entries.bind(e),this.forEach=e.forEach.bind(e),this.get=e.get.bind(e),this.getAll=e.getAll.bind(e),this.has=e.has.bind(e),this.keys=e.keys.bind(e),this.values=e.values.bind(e),this.toString=e.toString.bind(e),this.size=e.size}}function y(){(0,l.clientHookInServerComponentError)("useSearchParams");let e=(0,n.useContext)(u.SearchParamsContext);return(0,n.useMemo)(()=>e?new h(e):null,[e])}function _(){return(0,l.clientHookInServerComponentError)("usePathname"),(0,n.useContext)(u.PathnameContext)}function v(){(0,l.clientHookInServerComponentError)("useRouter");let e=(0,n.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function b(){(0,l.clientHookInServerComponentError)("useParams");let e=(0,n.useContext)(o.GlobalLayoutRouterContext),t=(0,n.useContext)(u.PathParamsContext);return(0,n.useMemo)(()=>(null==e?void 0:e.tree)?function e(t,r){for(let n of(void 0===r&&(r={}),Object.values(t[1]))){let t=n[0],o=Array.isArray(t),u=o?t[1]:t;!u||u.startsWith(i.PAGE_SEGMENT_KEY)||(o&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):o&&(r[t[0]]=t[1]),r=e(n,r))}return r}(e.tree):t,[null==e?void 0:e.tree,t])}function g(e){void 0===e&&(e="children"),(0,l.clientHookInServerComponentError)("useSelectedLayoutSegments");let{tree:t}=(0,n.useContext)(o.LayoutRouterContext);return function e(t,r,n,o){let u;if(void 0===n&&(n=!0),void 0===o&&(o=[]),n)u=t[1][r];else{var l;let e=t[1];u=null!=(l=e.children)?l:Object.values(e)[0]}if(!u)return o;let c=u[0],s=(0,a.getSegmentValue)(c);return!s||s.startsWith(i.PAGE_SEGMENT_KEY)?o:(o.push(s),e(u,r,!1,o))}(t,e)}function m(e){void 0===e&&(e="children"),(0,l.clientHookInServerComponentError)("useSelectedLayoutSegment");let t=g(e);return 0===t.length?null:t[0]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1902:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFoundBoundary",{enumerable:!0,get:function(){return s}});let n=r(1884),o=r(3827),u=n._(r(4090)),l=r(5313),a=r(2322);r(6184);let i=r(8599);class c extends u.default.Component{componentDidCatch(){}static getDerivedStateFromError(e){if((0,a.isNotFoundError)(e))return{notFoundTriggered:!0};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.notFoundTriggered?{notFoundTriggered:!1,previousPathname:e.pathname}:{notFoundTriggered:t.notFoundTriggered,previousPathname:e.pathname}}render(){return this.state.notFoundTriggered?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{name:"robots",content:"noindex"}),!1,this.props.notFoundStyles,this.props.notFound]}):this.props.children}constructor(e){super(e),this.state={notFoundTriggered:!!e.asNotFound,previousPathname:e.pathname}}}function s(e){let{notFound:t,notFoundStyles:r,asNotFound:n,children:a}=e,s=(0,l.usePathname)(),f=(0,u.useContext)(i.MissingSlotContext);return t?(0,o.jsx)(c,{pathname:s,notFound:t,notFoundStyles:r,asNotFound:n,missingSlots:f,children:a}):(0,o.jsx)(o.Fragment,{children:a})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2322:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{notFound:function(){return n},isNotFoundError:function(){return o}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2418:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseQueue",{enumerable:!0,get:function(){return c}});let n=r(2299),o=r(3603);var u=o._("_maxConcurrency"),l=o._("_runningCount"),a=o._("_queue"),i=o._("_processNext");class c{enqueue(e){let t,r;let o=new Promise((e,n)=>{t=e,r=n}),u=async()=>{try{n._(this,l)[l]++;let r=await e();t(r)}catch(e){r(e)}finally{n._(this,l)[l]--,n._(this,i)[i]()}};return n._(this,a)[a].push({promiseFn:o,task:u}),n._(this,i)[i](),o}bump(e){let t=n._(this,a)[a].findIndex(t=>t.promiseFn===e);if(t>-1){let e=n._(this,a)[a].splice(t,1)[0];n._(this,a)[a].unshift(e),n._(this,i)[i](!0)}}constructor(e=5){Object.defineProperty(this,i,{value:s}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),n._(this,u)[u]=e,n._(this,l)[l]=0,n._(this,a)[a]=[]}}function s(e){if(void 0===e&&(e=!1),(n._(this,l)[l]0){var t;null==(t=n._(this,a)[a].shift())||t.task()}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5737:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectErrorBoundary:function(){return c},RedirectBoundary:function(){return s}});let n=r(1884),o=r(3827),u=n._(r(4090)),l=r(5313),a=r(6155);function i(e){let{redirect:t,reset:r,redirectType:n}=e,o=(0,l.useRouter)();return(0,u.useEffect)(()=>{u.default.startTransition(()=>{n===a.RedirectType.push?o.push(t,{}):o.replace(t,{}),r()})},[t,n,r,o]),null}class c extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isRedirectError)(e))return{redirect:(0,a.getURLFromRedirectError)(e),redirectType:(0,a.getRedirectTypeFromError)(e)};throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,o.jsx)(i,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(e){super(e),this.state={redirect:null,redirectType:null}}}function s(e){let{children:t}=e,r=(0,l.useRouter)();return(0,o.jsx)(c,{router:r,children:t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9510:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),(n=r||(r={}))[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6155:function(e,t,r){"use strict";var n,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return c},redirect:function(){return s},permanentRedirect:function(){return f},isRedirectError:function(){return d},getURLFromRedirectError:function(){return p},getRedirectTypeFromError:function(){return h},getRedirectStatusCodeFromError:function(){return y}});let u=r(6668),l=r(1264),a=r(9510),i="NEXT_REDIRECT";function c(e,t,r){void 0===r&&(r=a.RedirectStatusCode.TemporaryRedirect);let n=Error(i);n.digest=i+";"+t+";"+e+";"+r+";";let o=u.requestAsyncStorage.getStore();return o&&(n.mutableCookies=o.mutableCookies),n}function s(e,t){void 0===t&&(t="replace");let r=l.actionAsyncStorage.getStore();throw c(e,t,(null==r?void 0:r.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.TemporaryRedirect)}function f(e,t){void 0===t&&(t="replace");let r=l.actionAsyncStorage.getStore();throw c(e,t,(null==r?void 0:r.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.PermanentRedirect)}function d(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r,n,o]=e.digest.split(";",4),u=Number(o);return t===i&&("replace"===r||"push"===r)&&"string"==typeof n&&!isNaN(u)&&u in a.RedirectStatusCode}function p(e){return d(e)?e.digest.split(";",3)[2]:null}function h(e){if(!d(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function y(e){if(!d(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(o=n||(n={})).push="push",o.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1778:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(1884),o=r(3827),u=n._(r(4090)),l=r(8599);function a(){let e=(0,u.useContext)(l.TemplateContext);return(0,o.jsx)(o.Fragment,{children:e})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6668:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(693).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9671:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyFlightData",{enumerable:!0,get:function(){return u}});let n=r(4765),o=r(0);function u(e,t,r,u){void 0===u&&(u=!1);let[l,a,i]=r.slice(-3);if(null===a)return!1;if(3===r.length){let r=a[2];t.rsc=r,t.prefetchRsc=null,(0,n.fillLazyItemsTillLeafWithHead)(t,e,l,a,i,u)}else t.rsc=e.rsc,t.prefetchRsc=e.prefetchRsc,t.parallelRoutes=new Map(e.parallelRoutes),(0,o.fillCacheWithNewSubTreeData)(t,e,r,u);return!0}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7098:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{applyRouterStatePatchToFullTree:function(){return a},applyRouterStatePatchToTreeSkipDefault:function(){return i}});let n=r(3266),o=r(2295);function u(e,t,r){void 0===r&&(r=!1);let[l,a]=e,[i,c]=t;if(!r&&i===n.DEFAULT_SEGMENT_KEY&&l!==n.DEFAULT_SEGMENT_KEY)return e;if((0,o.matchSegment)(l,i)){let t={};for(let e in a)void 0!==c[e]?t[e]=u(a[e],c[e],r):t[e]=a[e];for(let e in c)t[e]||(t[e]=c[e]);let n=[l,t];return e[2]&&(n[2]=e[2]),e[3]&&(n[3]=e[3]),e[4]&&(n[4]=e[4]),n}return t}function l(e,t,r,n){let a;void 0===n&&(n=!1);let[i,c,,,s]=t;if(1===e.length)return u(t,r,n);let[f,d]=e;if(!(0,o.matchSegment)(f,i))return null;if(2===e.length)a=u(c[d],r,n);else if(null===(a=l(e.slice(2),c[d],r,n)))return null;let p=[e[0],{...c,[d]:a}];return s&&(p[4]=!0),p}function a(e,t,r){return l(e,t,r,!0)}function i(e,t,r){return l(e,t,r,!1)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4038:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{extractPathFromFlightRouterState:function(){return c},computeChangedPath:function(){return s}});let n=r(4749),o=r(3266),u=r(2295),l=e=>"/"===e[0]?e.slice(1):e,a=e=>"string"==typeof e?e:e[1];function i(e){return e.reduce((e,t)=>""===(t=l(t))||(0,o.isGroupSegment)(t)?e:e+"/"+t,"")||"/"}function c(e){var t;let r=Array.isArray(e[0])?e[0][1]:e[0];if(r===o.DEFAULT_SEGMENT_KEY||n.INTERCEPTION_ROUTE_MARKERS.some(e=>r.startsWith(e)))return;if(r.startsWith(o.PAGE_SEGMENT_KEY))return"";let u=[r],l=null!=(t=e[1])?t:{},a=l.children?c(l.children):void 0;if(void 0!==a)u.push(a);else for(let[e,t]of Object.entries(l)){if("children"===e)continue;let r=c(t);void 0!==r&&u.push(r)}return i(u)}function s(e,t){let r=function e(t,r){let[o,l]=t,[i,s]=r,f=a(o),d=a(i);if(n.INTERCEPTION_ROUTE_MARKERS.some(e=>f.startsWith(e)||d.startsWith(e)))return"";if(!(0,u.matchSegment)(o,i)){var p;return null!=(p=c(r))?p:""}for(let t in l)if(s[t]){let r=e(l[t],s[t]);if(null!==r)return a(i)+"/"+r}return null}(e,t);return null==r||"/"===r?r:i(r.split("/"))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8419:function(e,t){"use strict";function r(e,t){return void 0===t&&(t=!0),e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4492:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return l}});let n=r(8419),o=r(4765),u=r(4038);function l(e){var t;let{buildId:r,initialTree:l,initialSeedData:a,initialCanonicalUrl:i,initialParallelRoutes:c,isServer:s,location:f,initialHead:d}=e,p={lazyData:null,rsc:a[2],prefetchRsc:null,parallelRoutes:s?new Map:c};return(null===c||0===c.size)&&(0,o.fillLazyItemsTillLeafWithHead)(p,void 0,l,a,d),{buildId:r,tree:l,cache:p,prefetchCache:new Map,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:f?(0,n.createHrefFromUrl)(f):i,nextUrl:null!=(t=(0,u.extractPathFromFlightRouterState)(l)||(null==f?void 0:f.pathname))?t:null}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},555:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let n=r(3266);function o(e,t){return(void 0===t&&(t=!1),Array.isArray(e))?(e[0]+"|"+e[1]+"|"+e[2]).toLowerCase():t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3546:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fetchServerResponse",{enumerable:!0,get:function(){return s}});let n=r(2275),o=r(7690),u=r(5355),l=r(1414),a=r(1),{createFromFetch:i}=r(7355);function c(e){return[(0,o.urlToUrlWithoutFlightMarker)(e).toString(),void 0]}async function s(e,t,r,s,f){let d={[n.RSC_HEADER]:"1",[n.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(t))};f===l.PrefetchKind.AUTO&&(d[n.NEXT_ROUTER_PREFETCH_HEADER]="1"),r&&(d[n.NEXT_URL]=r);let p=(0,a.hexHash)([d[n.NEXT_ROUTER_PREFETCH_HEADER]||"0",d[n.NEXT_ROUTER_STATE_TREE],d[n.NEXT_URL]].join(","));try{let t=new URL(e);t.pathname.endsWith("/")?t.pathname+="index.txt":t.pathname+=".txt",t.searchParams.set(n.NEXT_RSC_UNION_QUERY,p);let r=await fetch(t,{credentials:"same-origin",headers:d}),l=(0,o.urlToUrlWithoutFlightMarker)(r.url),a=r.redirected?l:void 0,f=r.headers.get("content-type")||"",h=!!r.headers.get(n.NEXT_DID_POSTPONE_HEADER),y=f===n.RSC_CONTENT_TYPE_HEADER;if(y||(y=f.startsWith("text/plain")),!y||!r.ok)return e.hash&&(l.hash=e.hash),c(l.toString());let[_,v]=await i(Promise.resolve(r),{callServer:u.callServer});if(s!==_)return c(r.url);return[v,a,h]}catch(t){return console.error("Failed to fetch RSC payload for "+e+". Falling back to browser navigation.",t),[e.toString(),void 0]}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2950:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithDataProperty",{enumerable:!0,get:function(){return function e(t,r,o,u){let l=o.length<=2,[a,i]=o,c=(0,n.createRouterCacheKey)(i),s=r.parallelRoutes.get(a),f=t.parallelRoutes.get(a);f&&f!==s||(f=new Map(s),t.parallelRoutes.set(a,f));let d=null==s?void 0:s.get(c),p=f.get(c);if(l){p&&p.lazyData&&p!==d||f.set(c,{lazyData:u(),rsc:null,prefetchRsc:null,parallelRoutes:new Map});return}if(!p||!d){p||f.set(c,{lazyData:u(),rsc:null,prefetchRsc:null,parallelRoutes:new Map});return}return p===d&&(p={lazyData:p.lazyData,rsc:p.rsc,prefetchRsc:p.prefetchRsc,parallelRoutes:new Map(p.parallelRoutes)},f.set(c,p)),e(p,d,o.slice(2),u)}}});let n=r(555);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},0:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithNewSubTreeData",{enumerable:!0,get:function(){return function e(t,r,l,a){let i=l.length<=5,[c,s]=l,f=(0,u.createRouterCacheKey)(s),d=r.parallelRoutes.get(c);if(!d)return;let p=t.parallelRoutes.get(c);p&&p!==d||(p=new Map(d),t.parallelRoutes.set(c,p));let h=d.get(f),y=p.get(f);if(i){if(!y||!y.lazyData||y===h){let e=l[3];y={lazyData:null,rsc:e[2],prefetchRsc:null,parallelRoutes:h?new Map(h.parallelRoutes):new Map},h&&(0,n.invalidateCacheByRouterState)(y,h,l[2]),(0,o.fillLazyItemsTillLeafWithHead)(y,h,l[2],e,l[4],a),p.set(f,y)}return}y&&h&&(y===h&&(y={lazyData:y.lazyData,rsc:y.rsc,prefetchRsc:y.prefetchRsc,parallelRoutes:new Map(y.parallelRoutes)},p.set(f,y)),e(y,h,l.slice(2),a))}}});let n=r(6152),o=r(4765),u=r(555);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4765:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function e(t,r,o,u,l,a){if(0===Object.keys(o[1]).length){t.head=l;return}for(let i in o[1]){let c;let s=o[1][i],f=s[0],d=(0,n.createRouterCacheKey)(f),p=null!==u&&void 0!==u[1][i]?u[1][i]:null;if(r){let n=r.parallelRoutes.get(i);if(n){let r,o=new Map(n),u=o.get(d);r=null!==p?{lazyData:null,rsc:p[2],prefetchRsc:null,parallelRoutes:new Map(null==u?void 0:u.parallelRoutes)}:a&&u?{lazyData:u.lazyData,rsc:u.rsc,prefetchRsc:u.prefetchRsc,parallelRoutes:new Map(u.parallelRoutes)}:{lazyData:null,rsc:null,prefetchRsc:null,parallelRoutes:new Map(null==u?void 0:u.parallelRoutes)},o.set(d,r),e(r,u,s,p||null,l,a),t.parallelRoutes.set(i,o);continue}}c=null!==p?{lazyData:null,rsc:p[2],prefetchRsc:null,parallelRoutes:new Map}:{lazyData:null,rsc:null,prefetchRsc:null,parallelRoutes:new Map};let h=t.parallelRoutes.get(i);h?h.set(d,c):t.parallelRoutes.set(i,new Map([[d,c]])),e(c,void 0,s,p,l,a)}}}});let n=r(555);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1486:function(e,t){"use strict";var r,n;function o(e){let{kind:t,prefetchTime:r,lastUsedTime:n}=e;return Date.now()<(null!=n?n:r)+3e4?n?"reusable":"fresh":"auto"===t&&Date.now(){for(let r of t[0]){let t=r.slice(0,-3),n=r[r.length-3],l=r[r.length-2],a=r[r.length-1];"string"!=typeof t&&function(e,t,r,n,l){let a=e;for(let e=0;e{c(e,t)})}function i(e,t,r,n){let o=e[1],l=null!==t?t[1]:null,a=new Map;for(let e in o){let t=o[e],c=null!==l?l[e]:null,s=t[0],f=(0,u.createRouterCacheKey)(s),d=i(t,void 0===c?null:c,r,n),p=new Map;p.set(f,d),a.set(e,p)}let c=0===a.size,s=null!==t?t[2]:null;return{lazyData:null,parallelRoutes:a,prefetchRsc:n||void 0===s?null:s,prefetchHead:!n&&c?r:null,rsc:p(),head:c?p():null}}function c(e,t){let r=e.node;if(null===r)return;let n=e.children;if(null===n)s(e.route,r,t);else for(let e of n.values())c(e,t);e.node=null}function s(e,t,r){let n=e[1],o=t.parallelRoutes;for(let e in n){let t=n[e],l=o.get(e);if(void 0===l)continue;let a=t[0],i=(0,u.createRouterCacheKey)(a),c=l.get(i);void 0!==c&&s(t,c,r)}let l=t.rsc;d(l)&&(null===r?l.resolve(null):l.reject(r));let a=t.head;d(a)&&a.resolve(null)}let f=Symbol();function d(e){return e&&e.tag===f}function p(){let e,t;let r=new Promise((r,n)=>{e=r,t=n});return r.status="pending",r.resolve=t=>{"pending"===r.status&&(r.status="fulfilled",r.value=t,e(t))},r.reject=e=>{"pending"===r.status&&(r.status="rejected",r.reason=e,t(e))},r.tag=f,r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5606:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPrefetchCacheKey",{enumerable:!0,get:function(){return l}});let n=r(1312),o=r(7027),u=r(8419);function l(e,t){let r=(0,u.createHrefFromUrl)(e,!1);return t&&!(0,o.pathHasPrefix)(r,t)?(0,n.addPathPrefix)(r,""+t+"%"):r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6503:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fastRefreshReducer",{enumerable:!0,get:function(){return n}}),r(3546),r(8419),r(7098),r(1956),r(5596),r(8875),r(9671),r(7690),r(2224);let n=function(e,t){return e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},671:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findHeadInCache",{enumerable:!0,get:function(){return o}});let n=r(555);function o(e,t){return function e(t,r,o){if(0===Object.keys(r).length)return[t,o];for(let u in r){let[l,a]=r[u],i=t.parallelRoutes.get(u);if(!i)continue;let c=(0,n.createRouterCacheKey)(l),s=i.get(c);if(!s)continue;let f=e(s,a,o+"/"+c);if(f)return f}return null}(e,t,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6793:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5596:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleExternalUrl:function(){return g},navigateReducer:function(){return P}});let n=r(3546),o=r(8419),u=r(3074),l=r(2950),a=r(7098),i=r(3556),c=r(1956),s=r(1414),f=r(8875),d=r(9671),p=r(1486),h=r(7052),y=r(5678),_=r(7690),v=r(3266);r(6384);let b=r(5606);function g(e,t,r,n){return t.mpaNavigation=!0,t.canonicalUrl=r,t.pendingPush=n,t.scrollableSegments=void 0,(0,f.handleMutable)(e,t)}function m(e){let t=[],[r,n]=e;if(0===Object.keys(n).length)return[[r]];for(let[e,o]of Object.entries(n))for(let n of m(o))""===r?t.push([e,...n]):t.push([r,e,...n]);return t}let P=function(e,t){let{url:r,isExternalUrl:P,navigateType:j,shouldScroll:R}=t,O={},{hash:S}=r,E=(0,o.createHrefFromUrl)(r),w="push"===j;if((0,h.prunePrefetchCache)(e.prefetchCache),O.preserveCustomHistoryState=!1,P)return g(e,O,r.toString(),w);let M=(0,b.createPrefetchCacheKey)(r,e.nextUrl),T=e.prefetchCache.get(M);if(!T){let t={data:(0,n.fetchServerResponse)(r,e.tree,e.nextUrl,e.buildId,void 0),kind:s.PrefetchKind.TEMPORARY,prefetchTime:Date.now(),treeAtTimeOfPrefetch:e.tree,lastUsedTime:null};e.prefetchCache.set(M,t),T=t}let x=(0,p.getPrefetchEntryCacheStatus)(T),{treeAtTimeOfPrefetch:C,data:N}=T;return y.prefetchQueue.bump(N),N.then(t=>{let[s,h,y]=t;if(T&&!T.lastUsedTime&&(T.lastUsedTime=Date.now()),"string"==typeof s)return g(e,O,s,w);let b=e.tree,P=e.cache,j=[];for(let t of s){let o=t.slice(0,-4),s=t.slice(-3)[0],f=["",...o],h=(0,a.applyRouterStatePatchToTreeSkipDefault)(f,b,s);if(null===h&&(h=(0,a.applyRouterStatePatchToTreeSkipDefault)(f,C,s)),null!==h){if((0,c.isNavigatingToNewRootLayout)(b,h))return g(e,O,E,w);let a=(0,_.createEmptyCacheNode)(),R=(0,d.applyFlightData)(P,a,t,(null==T?void 0:T.kind)==="auto"&&x===p.PrefetchCacheEntryStatus.reusable);for(let t of((!R&&x===p.PrefetchCacheEntryStatus.stale||y)&&(R=function(e,t,r,n,o){let u=!1;for(let a of(e.rsc=t.rsc,e.prefetchRsc=t.prefetchRsc,e.parallelRoutes=new Map(t.parallelRoutes),m(n).map(e=>[...r,...e])))(0,l.fillCacheWithDataProperty)(e,t,a,o),u=!0;return u}(a,P,o,s,()=>(0,n.fetchServerResponse)(r,b,e.nextUrl,e.buildId))),(0,i.shouldHardNavigate)(f,b)?(a.rsc=P.rsc,a.prefetchRsc=P.prefetchRsc,(0,u.invalidateCacheBelowFlightSegmentPath)(a,P,o),O.cache=a):R&&(O.cache=a),P=a,b=h,m(s))){let e=[...o,...t];e[e.length-1]!==v.DEFAULT_SEGMENT_KEY&&j.push(e)}}}return O.patchedTree=b,O.canonicalUrl=h?(0,o.createHrefFromUrl)(h):E,O.pendingPush=w,O.scrollableSegments=j,O.hashFragment=S,O.shouldScroll=R,(0,f.handleMutable)(e,O)},()=>e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5678:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{prefetchQueue:function(){return c},prefetchReducer:function(){return s}});let n=r(3546),o=r(1414),u=r(7052),l=r(2275),a=r(2418),i=r(5606),c=new a.PromiseQueue(5);function s(e,t){(0,u.prunePrefetchCache)(e.prefetchCache);let{url:r}=t;r.searchParams.delete(l.NEXT_RSC_UNION_QUERY);let a=(0,i.createPrefetchCacheKey)(r,e.nextUrl),s=e.prefetchCache.get(a);if(s&&(s.kind===o.PrefetchKind.TEMPORARY&&e.prefetchCache.set(a,{...s,kind:t.kind}),!(s.kind===o.PrefetchKind.AUTO&&t.kind===o.PrefetchKind.FULL)))return e;let f=c.enqueue(()=>(0,n.fetchServerResponse)(r,e.tree,e.nextUrl,e.buildId,t.kind));return e.prefetchCache.set(a,{treeAtTimeOfPrefetch:e.tree,data:f,kind:t.kind,prefetchTime:Date.now(),lastUsedTime:null}),e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7052:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"prunePrefetchCache",{enumerable:!0,get:function(){return o}});let n=r(1486);function o(e){for(let[t,r]of e)(0,n.getPrefetchEntryCacheStatus)(r)===n.PrefetchCacheEntryStatus.expired&&e.delete(t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7491:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshReducer",{enumerable:!0,get:function(){return d}});let n=r(3546),o=r(8419),u=r(7098),l=r(1956),a=r(5596),i=r(8875),c=r(4765),s=r(7690),f=r(2224);function d(e,t){let{origin:r}=t,d={},p=e.canonicalUrl,h=e.tree;d.preserveCustomHistoryState=!1;let y=(0,s.createEmptyCacheNode)();return y.lazyData=(0,n.fetchServerResponse)(new URL(p,r),[h[0],h[1],h[2],"refetch"],e.nextUrl,e.buildId),y.lazyData.then(r=>{let[n,s]=r;if("string"==typeof n)return(0,a.handleExternalUrl)(e,d,n,e.pushRef.pendingPush);for(let r of(y.lazyData=null,n)){if(3!==r.length)return console.log("REFRESH FAILED"),e;let[n]=r,i=(0,u.applyRouterStatePatchToFullTree)([""],h,n);if(null===i)return(0,f.handleSegmentMismatch)(e,t,n);if((0,l.isNavigatingToNewRootLayout)(h,i))return(0,a.handleExternalUrl)(e,d,p,e.pushRef.pendingPush);let _=s?(0,o.createHrefFromUrl)(s):void 0;s&&(d.canonicalUrl=_);let[v,b]=r.slice(-2);if(null!==v){let e=v[2];y.rsc=e,y.prefetchRsc=null,(0,c.fillLazyItemsTillLeafWithHead)(y,void 0,n,v,b),d.cache=y,d.prefetchCache=new Map}d.patchedTree=i,d.canonicalUrl=p,h=i}return(0,i.handleMutable)(e,d)},()=>e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7222:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return u}});let n=r(8419),o=r(4038);function u(e,t){var r;let{url:u,tree:l}=t,a=(0,n.createHrefFromUrl)(u),i=e.cache;return{buildId:e.buildId,canonicalUrl:a,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:i,prefetchCache:e.prefetchCache,tree:l,nextUrl:null!=(r=(0,o.extractPathFromFlightRouterState)(l))?r:u.pathname}}r(6384),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},899:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return b}});let n=r(5355),o=r(2275),u=r(5786),l=r(8419),a=r(5596),i=r(7098),c=r(1956),s=r(8875),f=r(4765),d=r(7690),p=r(4038),h=r(2224),{createFromFetch:y,encodeReply:_}=r(7355);async function v(e,t){let r,{actionId:l,actionArgs:a}=t,i=await _(a),c=(0,p.extractPathFromFlightRouterState)(e.tree),s=e.nextUrl&&e.nextUrl!==c,f=await fetch("",{method:"POST",headers:{Accept:o.RSC_CONTENT_TYPE_HEADER,[o.ACTION]:l,[o.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(e.tree)),...s?{[o.NEXT_URL]:e.nextUrl}:{}},body:i}),d=f.headers.get("x-action-redirect");try{let e=JSON.parse(f.headers.get("x-action-revalidated")||"[[],0,0]");r={paths:e[0]||[],tag:!!e[1],cookie:e[2]}}catch(e){r={paths:[],tag:!1,cookie:!1}}let h=d?new URL((0,u.addBasePath)(d),new URL(e.canonicalUrl,window.location.href)):void 0;if(f.headers.get("content-type")===o.RSC_CONTENT_TYPE_HEADER){let e=await y(Promise.resolve(f),{callServer:n.callServer});if(d){let[,t]=null!=e?e:[];return{actionFlightData:t,redirectLocation:h,revalidatedParts:r}}let[t,[,o]]=null!=e?e:[];return{actionResult:t,actionFlightData:o,redirectLocation:h,revalidatedParts:r}}return{redirectLocation:h,revalidatedParts:r}}function b(e,t){let{resolve:r,reject:n}=t,o={},u=e.canonicalUrl,p=e.tree;return o.preserveCustomHistoryState=!1,o.inFlightServerAction=v(e,t),o.inFlightServerAction.then(n=>{let{actionResult:y,actionFlightData:_,redirectLocation:v}=n;if(v&&(e.pushRef.pendingPush=!0,o.pendingPush=!0),!_)return(o.actionResultResolved||(r(y),o.actionResultResolved=!0),v)?(0,a.handleExternalUrl)(e,o,v.href,e.pushRef.pendingPush):e;if("string"==typeof _)return(0,a.handleExternalUrl)(e,o,_,e.pushRef.pendingPush);for(let r of(o.inFlightServerAction=null,_)){if(3!==r.length)return console.log("SERVER ACTION APPLY FAILED"),e;let[n]=r,l=(0,i.applyRouterStatePatchToFullTree)([""],p,n);if(null===l)return(0,h.handleSegmentMismatch)(e,t,n);if((0,c.isNavigatingToNewRootLayout)(p,l))return(0,a.handleExternalUrl)(e,o,u,e.pushRef.pendingPush);let[s,y]=r.slice(-2),_=null!==s?s[2]:null;if(null!==_){let e=(0,d.createEmptyCacheNode)();e.rsc=_,e.prefetchRsc=null,(0,f.fillLazyItemsTillLeafWithHead)(e,void 0,n,s,y),o.cache=e,o.prefetchCache=new Map}o.patchedTree=l,o.canonicalUrl=u,p=l}if(v){let e=(0,l.createHrefFromUrl)(v,!1);o.canonicalUrl=e}return o.actionResultResolved||(r(y),o.actionResultResolved=!0),(0,s.handleMutable)(e,o)},t=>{if("rejected"===t.status)return o.actionResultResolved||(n(t.reason),o.actionResultResolved=!0),e;throw t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4173:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverPatchReducer",{enumerable:!0,get:function(){return f}});let n=r(8419),o=r(7098),u=r(1956),l=r(5596),a=r(9671),i=r(8875),c=r(7690),s=r(2224);function f(e,t){let{flightData:r,overrideCanonicalUrl:f}=t,d={};if(d.preserveCustomHistoryState=!1,"string"==typeof r)return(0,l.handleExternalUrl)(e,d,r,e.pushRef.pendingPush);let p=e.tree,h=e.cache;for(let i of r){let r=i.slice(0,-4),[y]=i.slice(-3,-2),_=(0,o.applyRouterStatePatchToTreeSkipDefault)(["",...r],p,y);if(null===_)return(0,s.handleSegmentMismatch)(e,t,y);if((0,u.isNavigatingToNewRootLayout)(p,_))return(0,l.handleExternalUrl)(e,d,e.canonicalUrl,e.pushRef.pendingPush);let v=f?(0,n.createHrefFromUrl)(f):void 0;v&&(d.canonicalUrl=v);let b=(0,c.createEmptyCacheNode)();(0,a.applyFlightData)(h,b,i),d.patchedTree=_,d.cache=b,h=b,p=_}return(0,i.handleMutable)(e,d)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1414:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return o},ACTION_NAVIGATE:function(){return u},ACTION_RESTORE:function(){return l},ACTION_SERVER_PATCH:function(){return a},ACTION_PREFETCH:function(){return i},ACTION_FAST_REFRESH:function(){return c},ACTION_SERVER_ACTION:function(){return s},isThenable:function(){return f}});let o="refresh",u="navigate",l="restore",a="server-patch",i="prefetch",c="fast-refresh",s="server-action";function f(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(n=r||(r={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6878:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return f}});let n=r(1414),o=r(5596),u=r(4173),l=r(7222),a=r(7491),i=r(5678),c=r(6503),s=r(899),f=function(e,t){switch(t.type){case n.ACTION_NAVIGATE:return(0,o.navigateReducer)(e,t);case n.ACTION_SERVER_PATCH:return(0,u.serverPatchReducer)(e,t);case n.ACTION_RESTORE:return(0,l.restoreReducer)(e,t);case n.ACTION_REFRESH:return(0,a.refreshReducer)(e,t);case n.ACTION_FAST_REFRESH:return(0,c.fastRefreshReducer)(e,t);case n.ACTION_PREFETCH:return(0,i.prefetchReducer)(e,t);case n.ACTION_SERVER_ACTION:return(0,s.serverActionReducer)(e,t);default:throw Error("Unknown action")}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3556:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldHardNavigate",{enumerable:!0,get:function(){return function e(t,r){let[o,u]=r,[l,a]=t;return(0,n.matchSegment)(l,o)?!(t.length<=2)&&e(t.slice(2),u[a]):!!Array.isArray(l)}}});let n=r(2295);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5797:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createSearchParamsBailoutProxy",{enumerable:!0,get:function(){return o}});let n=r(8181);function o(){return new Proxy({},{get(e,t){"string"==typeof t&&(0,n.staticGenerationBailout)("searchParams."+t)}})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(693).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8181:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isStaticGenBailoutError:function(){return a},staticGenerationBailout:function(){return c}});let n=r(7127),o=r(2),u="NEXT_STATIC_GEN_BAILOUT";class l extends Error{constructor(...e){super(...e),this.code=u}}function a(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===u}function i(e,t){let{dynamic:r,link:n}=t||{};return"Page"+(r?' with `dynamic = "'+r+'"`':"")+" couldn't be rendered statically because it used `"+e+"`."+(n?" See more info here: "+n:"")}let c=(e,t)=>{let{dynamic:r,link:u}=void 0===t?{}:t,a=o.staticGenerationAsyncStorage.getStore();if(!a)return!1;if(a.forceStatic)return!0;if(a.dynamicShouldError)throw new l(i(e,{link:u,dynamic:null!=r?r:"error"}));let c=i(e,{dynamic:r,link:"https://nextjs.org/docs/messages/dynamic-server-error"});if(null==a.postpone||a.postpone.call(a,e),a.revalidate=0,a.isStaticGeneration){let t=new n.DynamicServerError(c);throw a.dynamicUsageDescription=e,a.dynamicUsageStack=t.stack,t}return!1};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7831:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}}),r(6921);let n=r(3827);r(4090);let o=r(5797);function u(e){let{Component:t,propsForComponent:r,isStaticGeneration:u}=e;if(u){let e=(0,o.createSearchParamsBailoutProxy)();return(0,n.jsx)(t,{searchParams:e,...r})}return(0,n.jsx)(t,{...r})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1276:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{useUnwrapState:function(){return a},useReducerWithReduxDevtools:function(){return i}});let n=r(1884)._(r(4090)),o=r(1414),u=r(5367);function l(e){if(e instanceof Map){let t={};for(let[r,n]of e.entries()){if("function"==typeof n){t[r]="fn()";continue}if("object"==typeof n&&null!==n){if(n.$$typeof){t[r]=n.$$typeof.toString();continue}if(n._bundlerConfig){t[r]="FlightData";continue}}t[r]=l(n)}return t}if("object"==typeof e&&null!==e){let t={};for(let r in e){let n=e[r];if("function"==typeof n){t[r]="fn()";continue}if("object"==typeof n&&null!==n){if(n.$$typeof){t[r]=n.$$typeof.toString();continue}if(n.hasOwnProperty("_bundlerConfig")){t[r]="FlightData";continue}}t[r]=l(n)}return t}return Array.isArray(e)?e.map(l):e}function a(e){return(0,o.isThenable)(e)?(0,n.use)(e):e}let i=function(e){let[t,r]=n.default.useState(e),o=(0,n.useContext)(u.ActionQueueContext);if(!o)throw Error("Invariant: Missing ActionQueueContext");let a=(0,n.useRef)(),i=(0,n.useRef)();return(0,n.useEffect)(()=>{if(!a.current&&!1!==i.current){if(void 0===i.current&&void 0===window.__REDUX_DEVTOOLS_EXTENSION__){i.current=!1;return}return a.current=window.__REDUX_DEVTOOLS_EXTENSION__.connect({instanceId:8e3,name:"next-router"}),a.current&&(a.current.init(l(e)),o&&(o.devToolsInstance=a.current)),()=>{a.current=void 0}}},[e,o]),[t,(0,n.useCallback)(t=>{o.state||(o.state=e),o.dispatch(t,r)},[o,e]),(0,n.useCallback)(e=>{a.current&&a.current.send({type:"RENDER_SYNC"},l(e))},[])]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7379:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let n=r(7027);function o(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2139:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return u}});let n=r(5868),o=r(6506),u=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:u}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+u};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4101:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(9775);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,n.isBailoutToCSRError)(e)||t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8895:function(e,t,r){"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(7379),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7600:function(e,t,r){"use strict";var n=r(9542);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},9542:function(e,t,r){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(8790)},5450:function(e,t,r){"use strict";var n=r(9542),o=r(4090),u={stream:!0},l=new Map;function a(e){var t=r(e);return"function"!=typeof t.then||"fulfilled"===t.status?null:(t.then(function(e){t.status="fulfilled",t.value=e},function(e){t.status="rejected",t.reason=e}),t)}function i(){}var c=new Map,s=r.u;r.u=function(e){var t=c.get(e);return void 0!==t?t:s(e)};var f=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,d=Symbol.for("react.element"),p=Symbol.for("react.provider"),h=Symbol.for("react.server_context"),y=Symbol.for("react.lazy"),_=Symbol.for("react.default_value"),v=Symbol.iterator,b=Array.isArray,g=Object.getPrototypeOf,m=Object.prototype,P=new WeakMap,j=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function R(e,t,r,n){this.status=e,this.value=t,this.reason=r,this._response=n}function O(e){switch(e.status){case"resolved_model":C(e);break;case"resolved_module":N(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":case"cyclic":throw e;default:throw e.reason}}function S(e,t){for(var r=0;rh?(_=h,h=3,p++):(_=0,h=3);continue;case 2:44===(g=d[p++])?h=4:v=v<<4|(96d.length&&(g=-1)}var m=d.byteOffset+p;if(-1>>1,o=e[n];if(0>>1;nu(i,r))cu(s,i)?(e[n]=s,e[c]=r,n=c):(e[n]=i,e[a]=r,n=a);else if(cu(s,r))e[n]=s,e[c]=r,n=c;else break}}return t}function u(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var l,a=performance;t.unstable_now=function(){return a.now()}}else{var i=Date,c=i.now();t.unstable_now=function(){return i.now()-c}}var s=[],f=[],d=1,p=null,h=3,y=!1,_=!1,v=!1,b="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,m="undefined"!=typeof setImmediate?setImmediate:null;function P(e){for(var t=n(f);null!==t;){if(null===t.callback)o(f);else if(t.startTime<=e)o(f),t.sortIndex=t.expirationTime,r(s,t);else break;t=n(f)}}function j(e){if(v=!1,P(e),!_){if(null!==n(s))_=!0,C();else{var t=n(f);null!==t&&N(j,t.startTime-e)}}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var R=!1,O=-1,S=5,E=-1;function w(){return!(t.unstable_now()-Ee&&w());){var a=p.callback;if("function"==typeof a){p.callback=null,h=p.priorityLevel;var i=a(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof i){p.callback=i,P(e),r=!0;break t}p===n(s)&&o(s),P(e)}else o(s);p=n(s)}if(null!==p)r=!0;else{var c=n(f);null!==c&&N(j,c.startTime-e),r=!1}}break e}finally{p=null,h=u,y=!1}r=void 0}}finally{r?l():R=!1}}}if("function"==typeof m)l=function(){m(M)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,x=T.port2;T.port1.onmessage=M,l=function(){x.postMessage(null)}}else l=function(){b(M,0)};function C(){R||(R=!0,l())}function N(e,r){O=b(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){_||y||(_=!0,C())},t.unstable_forceFrameRate=function(e){0>e||125l?(e.sortIndex=u,r(f,e),null===n(s)&&e===n(f)&&(v?(g(O),O=-1):v=!0,N(j,u-l))):(e.sortIndex=a,r(s,e),_||y||(_=!0,C())),e},t.unstable_shouldYield=w,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},8172:function(e,t,r){"use strict";e.exports=r(2531)},2883:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentParam",{enumerable:!0,get:function(){return o}});let n=r(4749);function o(e){let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{type:"optional-catchall",param:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{type:"catchall",param:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{type:"dynamic",param:e.slice(1,-1)}:null}},4749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},isInterceptionRouteAppPath:function(){return u},extractInterceptionRouteInformation:function(){return l}});let n=r(7178),o=["(..)(..)","(.)","(..)","(...)"];function u(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function l(e){let t,r,u;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,u]=e.split(r,2);break}if(!t||!r||!u)throw Error("Invalid interception route: ".concat(e,". Must be in the format //(..|...|..)(..)/"));switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":u="/"===t?"/".concat(u):t+"/"+u;break;case"(..)":if("/"===t)throw Error("Invalid interception route: ".concat(e,". Cannot use (..) marker at the root level, use (.) instead."));u=t.split("/").slice(0,-1).concat(u).join("/");break;case"(...)":u="/"+u;break;case"(..)(..)":let l=t.split("/");if(l.length<=2)throw Error("Invalid interception route: ".concat(e,". Cannot use (..)(..) marker at the root level or one level up."));u=l.slice(0,-2).concat(u).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:u}}},8599:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return o},LayoutRouterContext:function(){return u},GlobalLayoutRouterContext:function(){return l},TemplateContext:function(){return a},MissingSlotContext:function(){return i}});let n=r(6921)._(r(4090)),o=n.default.createContext(null),u=n.default.createContext(null),l=n.default.createContext(null),a=n.default.createContext(null),i=n.default.createContext(new Set)},1:function(e,t){"use strict";function r(e){let t=5381;for(let r=0;r>>0}function n(e){return r(e).toString(36).slice(0,5)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{djb2Hash:function(){return r},hexHash:function(){return n}})},7484:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(6921)._(r(4090)).default.createContext({})},4758:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SearchParamsContext:function(){return o},PathnameContext:function(){return u},PathParamsContext:function(){return l}});let n=r(4090),o=(0,n.createContext)(null),u=(0,n.createContext)(null),l=(0,n.createContext)(null)},9775:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return o}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},9798:function(e,t){"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},5367:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ActionQueueContext:function(){return a},createMutableActionQueue:function(){return s}});let n=r(1884),o=r(1414),u=r(6878),l=n._(r(4090)),a=l.default.createContext(null);function i(e,t){null!==e.pending&&(e.pending=e.pending.next,null!==e.pending&&c({actionQueue:e,action:e.pending,setState:t}))}async function c(e){let{actionQueue:t,action:r,setState:n}=e,u=t.state;if(!u)throw Error("Invariant: Router state not initialized");t.pending=r;let l=r.payload,a=t.action(u,l);function c(e){if(r.discarded){t.needsRefresh&&null===t.pending&&(t.needsRefresh=!1,t.dispatch({type:o.ACTION_REFRESH,origin:window.location.origin},n));return}t.state=e,t.devToolsInstance&&t.devToolsInstance.send(l,e),i(t,n),r.resolve(e)}(0,o.isThenable)(a)?a.then(c,e=>{i(t,n),r.reject(e)}):c(a)}function s(){let e={state:null,dispatch:(t,r)=>(function(e,t,r){let n={resolve:r,reject:()=>{}};if(t.type!==o.ACTION_RESTORE){let e=new Promise((e,t)=>{n={resolve:e,reject:t}});(0,l.startTransition)(()=>{r(e)})}let u={payload:t,next:null,resolve:n.resolve,reject:n.reject};null===e.pending?(e.last=u,c({actionQueue:e,action:u,setState:r})):t.type===o.ACTION_NAVIGATE?(e.pending.discarded=!0,e.last=u,e.pending.payload.type===o.ACTION_SERVER_ACTION&&(e.needsRefresh=!0),c({actionQueue:e,action:u,setState:r})):(null!==e.last&&(e.last.next=u),e.last=u)})(e,t,r),action:async(e,t)=>{if(null===e)throw Error("Invariant: Router state not initialized");return(0,u.reducer)(e,t)},pending:null,last:null};return e}},1312:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(6506);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:u}=(0,n.parsePath)(e);return""+t+r+o+u}},7178:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return u},normalizeRscURL:function(){return l}});let n=r(9798),o=r(3266);function u(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function l(e){return e.replace(/\.rsc($|\?)/,"$1")}},3011:function(e,t){"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},6407:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},6506:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},7027:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(6506);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},5868:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},3266:function(e,t){"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isGroupSegment:function(){return r},PAGE_SEGMENT_KEY:function(){return n},DEFAULT_SEGMENT_KEY:function(){return o}});let n="__PAGE__",o="__DEFAULT__"},2472:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return u}});let n=r(1884)._(r(4090)),o=n.default.createContext(null);function u(e){let t=(0,n.useContext)(o);t&&t(e)}},6184:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},693:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return u}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}}let o=globalThis.AsyncLocalStorage;function u(){return o?new o:new n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2299:function(e,t,r){"use strict";function n(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}r.r(t),r.d(t,{_:function(){return n},_class_private_field_loose_base:function(){return n}})},3603:function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return o},_class_private_field_loose_key:function(){return o}});var n=0;function o(e){return"__private_"+n+++"_"+e}},6921:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},1884:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var a=u?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(o,l,a):o[l]=e[l]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}}]); \ No newline at end of file diff --git a/_next/static/chunks/app/_not-found-c7b753d7b0ee34c9.js b/_next/static/chunks/app/_not-found-c7b753d7b0ee34c9.js new file mode 100644 index 0000000..7addf71 --- /dev/null +++ b/_next/static/chunks/app/_not-found-c7b753d7b0ee34c9.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[165],{3155:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found",function(){return n(4032)}])},4032:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}}),n(6921);let o=n(3827);n(4090);let r={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};function i(){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("title",{children:"404: This page could not be found."}),(0,o.jsx)("div",{style:r.error,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,o.jsx)("h1",{className:"next-error-h1",style:r.h1,children:"404"}),(0,o.jsx)("div",{style:r.desc,children:(0,o.jsx)("h2",{style:r.h2,children:"This page could not be found."})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},function(e){e.O(0,[971,69,744],function(){return e(e.s=3155)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/layout-bca9351187f652ff.js b/_next/static/chunks/app/layout-bca9351187f652ff.js new file mode 100644 index 0000000..6a24462 --- /dev/null +++ b/_next/static/chunks/app/layout-bca9351187f652ff.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{3521:function(){}},function(n){n.O(0,[971,69,744],function(){return n(n.s=3521)}),_N_E=n.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/page-07fbae3c3e2ef41a.js b/_next/static/chunks/app/page-07fbae3c3e2ef41a.js new file mode 100644 index 0000000..a372d79 --- /dev/null +++ b/_next/static/chunks/app/page-07fbae3c3e2ef41a.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{189:function(e,t,r){Promise.resolve().then(r.bind(r,2746))},2746:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return R}});var l=r(3827),n=r(4090);let a=(e,t)=>{let r=e.length,l=0,n=0,a=0,i=0,o=0;for(let u=0;u{let t=Object.keys(e[0]);return t.reduce((r,l)=>{let n=e.map(e=>e[l]);return r[l]=t.reduce((t,r)=>{let l=e.map(e=>e[r]);return t[r]=a(n,l),t},{}),r},{})},o=e=>{let t=e.toSorted((e,t)=>e-t),r=Math.floor(t.length/2);return t.length%2!=0?t[r]:(t[r-1]+t[r])/2};var u=r(4958),s=r(8896),c=r(4465),f=r(3183);let p=e=>Object.entries(e).flatMap(e=>{let[t,r]=e;return[{x:t,y:t,correlation:1},...Object.entries(r).map(e=>{let[r,l]=e;return{x:t,y:r,correlation:l}})]});var h=r(6491),d=r.n(h);let m=e=>e.map(e=>Object.fromEntries(Object.entries(e).map(e=>{let[t,r]=e;return[t,"string"!=typeof r||isNaN(parseFloat(r))?r:parseFloat(r)]}))),x=e=>new Promise((t,r)=>{d().parse(e,{complete:e=>{if(!e.data.length){r(Error("The CSV file is empty."));return}let[l,...n]=e.data;if(!l||0===n.length){r(Error("The CSV file does not contain valid headers or data."));return}t(m(n.map(e=>l.reduce((t,r,l)=>(t[r]=e[l],t),{}))))},error:e=>{r(e)},skipEmptyLines:!0})}),g=e=>{if(!e.length)return[];let t=Object.keys(e[0]).filter(t=>e.every(e=>"string"==typeof e[t]));return e.map(e=>{let r={...e};for(let e of t)delete r[e];return r})};function y(e){let{data:t}=e,r=function(e){let t=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let r=p(e),l=u.g({marginLeft:100,height:700,label:null,marginBottom:200,x:{tickRotate:-90},color:{scheme:"BuRd",pivot:o(r.map(e=>{let{correlation:t}=e;return t})),legend:!0,label:"correlation"},marks:[s.o4(r,{x:"x",y:"y",fill:"correlation"}),c.fL(r,{x:"x",y:"y",text:e=>e.correlation.toFixed(2),fill:e=>Math.abs(e.correlation)>.6?"white":"black"}),f.uG(r,{x:"x",y:"y",ruleStrokeWidth:50,color:"blue"})]}),n=t.current;return n.append(l),()=>{n.removeChild(l)}},[e]),t}(i(g(t)));return(0,l.jsx)("div",{ref:r})}var b=r(4011);let j=e=>Math.floor(e/36e5),k=(e,t)=>e.map(e=>({[t.x]:e[t.x],[t.y]:e[t.y]}));function v(e){let{data:t,label:r}=e,a=function(e,t){let r=(0,n.useRef)(null),l=k(e,t);return(0,n.useEffect)(()=>{let e=u.g({marginLeft:50,inset:50,color:{scheme:"YlGnBu"},x:{tickFormat:j},marks:[b.h(l,{x:t.x,y:t.y,bandwidth:40,thresholds:20,fill:"density",clip:!0})]}),n=r.current;return n.append(e),()=>{n.removeChild(e)}},[l,t]),r}(g(t),r);return(0,l.jsx)("div",{ref:a})}let C=["pr","prList","user"];function E(e){let{name:t,onUpload:r}=e,a=(0,n.useCallback)(e=>{r(t,e.target.files[0])},[r,t]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{htmlFor:t,children:[t," file"]}),(0,l.jsx)("input",{id:t,type:"file",onChange:a})]})}let O={x:"averageResponseTime",y:"participationRate"};function R(){let[e,t]=(0,n.useState)({pr:[],prList:[],user:[]}),r=(0,n.useCallback)((e,r)=>{x(r).then(r=>{t(t=>({...t,[e]:r}))})},[]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{children:"PR Stats"}),C.map(e=>(0,l.jsx)(E,{name:e,onUpload:r},e)),e.pr.length?(0,l.jsx)(y,{data:e.pr}):null,e.user.length?(0,l.jsx)(v,{data:e.user,label:O}):null]})}}},function(e){e.O(0,[634,971,69,744],function(){return e(e.s=189)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/fd9d1056-5be4032601bc51de.js b/_next/static/chunks/fd9d1056-5be4032601bc51de.js new file mode 100644 index 0000000..2a1c91c --- /dev/null +++ b/_next/static/chunks/fd9d1056-5be4032601bc51de.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[971],{8790:function(e,t,n){var r,l=n(4090),a=n(8172),o={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;np||(e.current=d[p],d[p]=null,p--)}function g(e,t){d[++p]=e.current,e.current=t}var y=Symbol.for("react.element"),v=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),C=Symbol.for("react.context"),E=Symbol.for("react.server_context"),x=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),L=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var T=Symbol.for("react.offscreen"),F=Symbol.for("react.legacy_hidden"),M=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var O=Symbol.iterator;function R(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var D=m(null),A=m(null),I=m(null),U=m(null),$={$$typeof:C,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};function B(e,t){switch(g(I,t),g(A,e),g(D,null),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?sW(t):0;break;default:if(t=(e=8===e?t.parentNode:t).tagName,e=e.namespaceURI)t=sH(e=sW(e),t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}h(D),g(D,t)}function V(){h(D),h(A),h(I)}function j(e){null!==e.memoizedState&&g(U,e);var t=D.current,n=sH(t,e.type);t!==n&&(g(A,e),g(D,n))}function Q(e){A.current===e&&(h(D),h(A)),U.current===e&&(h(U),$._currentValue=null)}var W=a.unstable_scheduleCallback,H=a.unstable_cancelCallback,q=a.unstable_shouldYield,K=a.unstable_requestPaint,Y=a.unstable_now,X=a.unstable_getCurrentPriorityLevel,G=a.unstable_ImmediatePriority,Z=a.unstable_UserBlockingPriority,J=a.unstable_NormalPriority,ee=a.unstable_LowPriority,et=a.unstable_IdlePriority,en=null,er=null,el=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ea(e)/eo|0)|0},ea=Math.log,eo=Math.LN2,ei=128,eu=4194304;function es(e){var t=42&e;if(0!==t)return t;switch(e&-e){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 4194176&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ec(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,l=e.suspendedLanes;e=e.pingedLanes;var a=134217727&n;return 0!==a?0!=(n=a&~l)?r=es(n):0!=(e&=a)&&(r=es(e)):0!=(n&=~l)?r=es(n):0!==e&&(r=es(e)),0===r?0:0!==t&&t!==r&&0==(t&l)&&((l=r&-r)>=(e=t&-t)||32===l&&0!=(4194176&e))?t:r}function ef(e,t){return e.errorRecoveryDisabledLanes&t?0:0!=(e=-536870913&e.pendingLanes)?e:536870912&e?536870912:0}function ed(){var e=eu;return 0==(62914560&(eu<<=1))&&(eu=4194304),e}function ep(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function em(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0)}function eh(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-el(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194218&n}function eg(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-el(n),l=1<l||u[r]!==s[l]){var c="\n"+u[r].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=r&&0<=l);break}}}finally{eK=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?eq(n):""}var eX=Symbol.for("react.client.reference");function eG(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function eZ(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function eJ(e){e._valueTracker||(e._valueTracker=function(e){var t=eZ(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var l=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function e0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=eZ(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function e1(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var e2=/[\n"\\]/g;function e3(e){return e.replace(e2,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function e4(e,t,n,r,l,a,o,i){e.name="",null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o?e.type=o:e.removeAttribute("type"),null!=t?"number"===o?(0===t&&""===e.value||e.value!=t)&&(e.value=""+eG(t)):e.value!==""+eG(t)&&(e.value=""+eG(t)):"submit"!==o&&"reset"!==o||e.removeAttribute("value"),null!=t?e8(e,o,eG(t)):null!=n?e8(e,o,eG(n)):null!=r&&e.removeAttribute("value"),null==l&&null!=a&&(e.defaultChecked=!!a),null!=l&&(e.checked=l&&"function"!=typeof l&&"symbol"!=typeof l),null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.name=""+eG(i):e.removeAttribute("name")}function e6(e,t,n,r,l,a,o,i){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.type=a),null!=t||null!=n){if(!("submit"!==a&&"reset"!==a||null!=t))return;n=null!=n?""+eG(n):"",t=null!=t?""+eG(t):n,i||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:l)&&"symbol"!=typeof r&&!!r,e.checked=i?e.checked:!!r,e.defaultChecked=!!r,null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.name=o)}function e8(e,t,n){"number"===t&&e1(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}var e5=Array.isArray;function e7(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=iU.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}var tn=tt;"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(tn=function(e,t){return MSApp.execUnsafeLocalFunction(function(){return tt(e,t)})});var tr=tn;function tl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var ta=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 to(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||ta.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function ti(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(i(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var l in t)r=t[l],t.hasOwnProperty(l)&&n[l]!==r&&to(e,l,r)}else for(var a in t)t.hasOwnProperty(a)&&to(e,a,t[a])}function tu(e){if(-1===e.indexOf("-"))return!1;switch(e){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 ts=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"]]),tc=null;function tf(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var td=null,tp=null;function tm(e){var t=eT(e);if(t&&(e=t.stateNode)){var n=eM(e);switch(e=t.stateNode,t.type){case"input":if(e4(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+e3(""+t)+'"][type="radio"]'),t=0;t>=o,l-=o,t$=1<<32-el(t)+l|n<h?(g=f,f=null):g=f.sibling;var y=p(l,f,i[h],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(l,f),o=a(y,o,h),null===c?s=y:c.sibling=y,c=y,f=g}if(h===i.length)return n(l,f),tK&&tV(l,h),s;if(null===f){for(;hg?(y=h,h=null):y=h.sibling;var b=p(l,h,v.value,s);if(null===b){null===h&&(h=y);break}e&&h&&null===b.alternate&&t(l,h),o=a(b,o,g),null===f?c=b:f.sibling=b,f=b,h=y}if(v.done)return n(l,h),tK&&tV(l,g),c;if(null===h){for(;!v.done;g++,v=u.next())null!==(v=d(l,v.value,s))&&(o=a(v,o,g),null===f?c=v:f.sibling=v,f=v);return tK&&tV(l,g),c}for(h=r(l,h);!v.done;g++,v=u.next())null!==(v=m(h,l,g,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?g:v.key),o=a(v,o,g),null===f?c=v:f.sibling=v,f=v);return e&&h.forEach(function(e){return t(l,e)}),tK&&tV(l,g),c}(c,f,h,g);if("function"==typeof h.then)return s(c,f,n_(h),g);if(h.$$typeof===C||h.$$typeof===E)return s(c,f,an(c,h,g),g);nT(c,h)}return"string"==typeof h&&""!==h||"number"==typeof h?(h=""+h,null!==f&&6===f.tag?(n(c,f.sibling),(f=l(f,h)).return=c):(n(c,f),(f=iv(h,c.mode,g)).return=c),o(c=f)):n(c,f)}(s,c,f,h),nP=null,s}}var nO=nM(!0),nR=nM(!1),nD=m(null),nA=m(0);function nI(e,t){g(nA,e=ob),g(nD,t),ob=e|t.baseLanes}function nU(){g(nA,ob),g(nD,nD.current)}function n$(){ob=nA.current,h(nD),h(nA)}var nB=m(null),nV=null;function nj(e){var t=e.alternate;g(nq,1&nq.current),g(nB,e),null===nV&&(null===t||null!==nD.current?nV=e:null!==t.memoizedState&&(nV=e))}function nQ(e){if(22===e.tag){if(g(nq,nq.current),g(nB,e),null===nV){var t=e.alternate;null!==t&&null!==t.memoizedState&&(nV=e)}}else nW(e)}function nW(){g(nq,nq.current),g(nB,nB.current)}function nH(e){h(nB),nV===e&&(nV=null),h(nq)}var nq=m(0);function nK(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var nY=null,nX=null,nG=!1,nZ=!1,nJ=!1,n0=0;function n1(e){e!==nX&&null===e.next&&(null===nX?nY=nX=e:nX=nX.next=e),nZ=!0,nG||(nG=!0,n8(n4))}function n2(e){if(!nJ&&nZ){var t=null;nJ=!0;do for(var n=!1,r=nY;null!==r;){if(!e||0===r.tag){var l=oh,a=ec(r,r===op?l:0);if(0!=(3&a))try{if(n=!0,l=r,0!=(6&od))throw Error(i(327));if(!ie()){var o=o3(l,a);if(0!==l.tag&&2===o){var u=a,s=ef(l,u);0!==s&&(a=s,o=oQ(l,u,s))}if(1===o)throw u=ow,oG(l,0),oq(l,a,0),n1(l),u;6===o?oq(l,a,ox):(l.finishedWork=l.current.alternate,l.finishedLanes=a,o7(l,oP,oL,ox))}n1(l)}catch(e){null===t?t=[e]:t.push(e)}}r=r.next}while(n);if(nJ=!1,null!==t){if(1a?a:8;var o=ro.transition;ro.transition={},li(e,!1,t,n);try{var i=l();if(null!==i&&"object"==typeof i&&"function"==typeof i.then){var u=rt(i,r);lo(e,t,u)}else{var s=rn(i,r);lo(e,t,s)}}catch(n){lo(e,t,{then:function(){},status:"rejected",reason:n})}finally{ey=a,ro.transition=o}}function le(e,t,n,r){if(5!==e.tag)throw Error(i(476));if(null===e.memoizedState){var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rT,lastRenderedState:f},a=l;l={memoizedState:f,baseState:f,baseQueue:null,queue:l,next:null},e.memoizedState=l;var o=e.alternate;null!==o&&(o.memoizedState=l)}else a=e.memoizedState.queue;r9(e,a,t,f,function(){return n(r)})}function lt(){var e=at($);return null!==e?e:f}function ln(){return rN().memoizedState}function lr(){return rN().memoizedState}function ll(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=oB(t),r=nd(t,e=nf(n),n);null!==r&&(oV(r,t,n),np(r,t,n)),t={cache:au()},e.payload=t;return}t=t.return}}function la(e,t,n){var r=oB(e);n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},lu(e)?ls(t,n):null!==(n=nl(e,t,n,r))&&(oV(n,e,r),lc(n,t,r))}function lo(e,t,n){var r=oB(e),l={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(lu(e))ls(t,l);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,i=a(o,n);if(l.hasEagerState=!0,l.eagerState=i,tF(i,o)){nr(e,t,l,0),null===op&&nn();return}}catch(e){}finally{}null!==(n=nl(e,t,l,r))&&(oV(n,e,r),lc(n,t,r))}}function li(e,t,n,r){if(r={lane:2,revertLane:n5(),action:r,hasEagerState:!1,eagerState:null,next:null},lu(e)){if(t)throw Error(i(479))}else null!==(t=nl(e,n,r,2))&&oV(t,e,2)}function lu(e){var t=e.alternate;return e===ru||null!==t&&t===ru}function ls(e,t){rd=rf=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function lc(e,t,n){if(0!=(4194176&n)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,eg(e,n)}}i$=function(){return{lastEffect:null,events:null,stores:null}};var lf={readContext:at,use:rL,useCallback:rv,useContext:rv,useEffect:rv,useImperativeHandle:rv,useInsertionEffect:rv,useLayoutEffect:rv,useMemo:rv,useReducer:rv,useRef:rv,useState:rv,useDebugValue:rv,useDeferredValue:rv,useTransition:rv,useSyncExternalStore:rv,useId:rv};lf.useCacheRefresh=rv,lf.useHostTransitionStatus=rv,lf.useFormState=rv,lf.useOptimistic=rv;var ld={readContext:at,use:rL,useCallback:function(e,t){return rP().memoizedState=[e,void 0===t?null:t],e},useContext:at,useEffect:rJ,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,rG(4194308,4,r3.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rG(4194308,4,e,t)},useInsertionEffect:function(e,t){rG(4,2,e,t)},useMemo:function(e,t){var n=rP();return t=void 0===t?null:t,rp&&e(),e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=rP();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=la.bind(null,ru,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},rP().memoizedState=e},useState:function(e){var t=(e=rB(e)).queue,n=lo.bind(null,ru,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:r6,useDeferredValue:function(e){return rP().memoizedState=e,e},useTransition:function(){var e=rB(!1);return e=r9.bind(null,ru,e.queue,!0,!1),rP().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=ru,l=rP();if(tK){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===op)throw Error(i(349));0!=(60&oh)||rD(r,t,n)}l.memoizedState=n;var a={value:n,getSnapshot:t};return l.queue=a,rJ(rI.bind(null,r,a,e),[e]),r.flags|=2048,rY(9,rA.bind(null,r,a,n,t),{destroy:void 0},null),n},useId:function(){var e=rP(),t=op.identifierPrefix;if(tK){var n=tB,r=t$;t=":"+t+"R"+(n=(r&~(1<<32-el(r)-1)).toString(32)+n),0<(n=rm++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ry++).toString(32)+":";return e.memoizedState=t},useCacheRefresh:function(){return rP().memoizedState=ll.bind(null,ru)}};ld.useHostTransitionStatus=lt,ld.useFormState=function(e,t){if(tK){var n=op.formState;if(null!==n){e:{if(tK){if(tq){t:{for(var r=tq,l=tX;8!==r.nodeType;)if(!l||null===(r=s4(r))){r=null;break t}r="F!"===(l=r.data)||"F"===l?r:null}if(r){tq=s4(r),r="F!"===r.data;break e}}t3()}r=!1}r&&(t=n[0])}}return(n=rP()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rH,lastRenderedState:t},n.queue=r,n=lo.bind(null,ru,r),r.dispatch=n,r=rP(),l={state:t,dispatch:null,action:e,pending:null},r.queue=l,n=rj.bind(null,ru,l,n),l.dispatch=n,r.memoizedState=e,[t,n]},ld.useOptimistic=function(e){var t=rP();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=li.bind(null,ru,!0,n),n.dispatch=t,[e,t]};var lp={readContext:at,use:rL,useCallback:r8,useContext:at,useEffect:r0,useImperativeHandle:r4,useInsertionEffect:r1,useLayoutEffect:r2,useMemo:r5,useReducer:rF,useRef:rX,useState:function(){return rF(rT)},useDebugValue:r6,useDeferredValue:function(e){return r7(rN(),rs.memoizedState,e)},useTransition:function(){var e=rF(rT)[0],t=rN().memoizedState;return["boolean"==typeof e?e:r_(e),t]},useSyncExternalStore:rR,useId:ln};lp.useCacheRefresh=lr,lp.useHostTransitionStatus=lt,lp.useFormState=function(e){return rq(rN(),rs,e)},lp.useOptimistic=function(e,t){return rV(rN(),rs,e,t)};var lm={readContext:at,use:rL,useCallback:r8,useContext:at,useEffect:r0,useImperativeHandle:r4,useInsertionEffect:r1,useLayoutEffect:r2,useMemo:r5,useReducer:rO,useRef:rX,useState:function(){return rO(rT)},useDebugValue:r6,useDeferredValue:function(e){var t=rN();return null===rs?(t.memoizedState=e,e):r7(t,rs.memoizedState,e)},useTransition:function(){var e=rO(rT)[0],t=rN().memoizedState;return["boolean"==typeof e?e:r_(e),t]},useSyncExternalStore:rR,useId:ln};function lh(e,t){if(e&&e.defaultProps)for(var n in t=u({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}function lg(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:u({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}lm.useCacheRefresh=lr,lm.useHostTransitionStatus=lt,lm.useFormState=function(e){var t=rN(),n=rs;if(null!==n)return rq(t,n,e);t=t.memoizedState;var r=(n=rN()).queue.dispatch;return n.memoizedState=e,[t,r]},lm.useOptimistic=function(e,t){var n=rN();return null!==rs?rV(n,rs,e,t):(n.baseState=e,[e,n.queue.dispatch])};var ly={isMounted:function(e){return!!(e=e._reactInternals)&&ty(e)===e},enqueueSetState:function(e,t,n){var r=oB(e=e._reactInternals),l=nf(r);l.payload=t,null!=n&&(l.callback=n),null!==(t=nd(e,l,r))&&(oV(t,e,r),np(t,e,r))},enqueueReplaceState:function(e,t,n){var r=oB(e=e._reactInternals),l=nf(r);l.tag=1,l.payload=t,null!=n&&(l.callback=n),null!==(t=nd(e,l,r))&&(oV(t,e,r),np(t,e,r))},enqueueForceUpdate:function(e,t){var n=oB(e=e._reactInternals),r=nf(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=nd(e,r,n))&&(oV(t,e,n),np(t,e,n))}};function lv(e,t,n,r,l,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||!nv(n,r)||!nv(l,a)}function lb(e,t,n){var r=!1,l=tw,a=t.contextType;return"object"==typeof a&&null!==a?a=at(a):(l=tz(t)?tE:tS.current,a=(r=null!=(r=t.contextTypes))?tx(e,l):tw),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ly,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=a),t}function lk(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ly.enqueueReplaceState(t,t.state,null)}function lw(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},ns(e);var a=t.contextType;"object"==typeof a&&null!==a?l.context=at(a):(a=tz(t)?tE:tS.current,l.context=tx(e,a)),l.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(lg(e,t,a,n),l.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||(t=l.state,"function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),t!==l.state&&ly.enqueueReplaceState(l,l.state,null),nh(e,n,l,r),l.state=e.memoizedState),"function"==typeof l.componentDidMount&&(e.flags|=4194308)}function lS(e,t){try{var n="",r=t;do n+=function(e){switch(e.tag){case 26:case 27:case 5:return eq(e.type);case 16:return eq("Lazy");case 13:return eq("Suspense");case 19:return eq("SuspenseList");case 0:case 2:case 15:return e=eY(e.type,!1);case 11:return e=eY(e.type.render,!1);case 1:return e=eY(e.type,!0);default:return""}}(r),r=r.return;while(r);var l=n}catch(e){l="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:l,digest:null}}function lC(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function lE(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}function lx(e,t,n){(n=nf(n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){oT||(oT=!0,oF=r),lE(e,t)},n}function lz(e,t,n){(n=nf(n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){lE(e,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){lE(e,t),"function"!=typeof r&&(null===oM?oM=new Set([this]):oM.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function lP(e,t,n,r,l){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=nf(2)).tag=2,nd(n,t,2))),n.lanes|=2):(e.flags|=65536,e.lanes=l),e}var lN=s.ReactCurrentOwner,l_=Error(i(461)),lL=!1;function lT(e,t,n,r){t.child=null===e?nR(t,null,n,r):nO(t,e.child,n,r)}function lF(e,t,n,r,l){n=n.render;var a=t.ref;return(ae(t,l),r=rk(e,t,n,r,a,l),n=rE(),null===e||lL)?(tK&&n&&tQ(t),t.flags|=1,lT(e,t,r,l),t.child):(rx(e,t,l),l0(e,t,l))}function lM(e,t,n,r,l){if(null===e){var a=n.type;return"function"!=typeof a||id(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ih(n.type,null,r,null,t,t.mode,l)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,lO(e,t,a,r,l))}if(a=e.child,0==(e.lanes&l)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:nv)(o,r)&&e.ref===t.ref)return l0(e,t,l)}return t.flags|=1,(e=ip(a,r)).ref=t.ref,e.return=t,t.child=e}function lO(e,t,n,r,l){if(null!==e){var a=e.memoizedProps;if(nv(a,r)&&e.ref===t.ref){if(lL=!1,t.pendingProps=r=a,0==(e.lanes&l))return t.lanes=e.lanes,l0(e,t,l);0!=(131072&e.flags)&&(lL=!0)}}return lI(e,t,n,r,l)}function lR(e,t,n){var r=t.pendingProps,l=r.children,a=0!=(2&t.stateNode._pendingVisibility),o=null!==e?e.memoizedState:null;if(lA(e,t),"hidden"===r.mode||a){if(0!=(128&t.flags)){if(n=null!==o?o.baseLanes|n:n,null!==e){for(l=0,r=t.child=e.child;null!==r;)l=l|r.lanes|r.childLanes,r=r.sibling;t.childLanes=l&~n}else t.childLanes=0,t.child=null;return lD(e,t,n)}if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null},null!==e&&ap(t,null),nU(),nQ(t);else{if(0==(536870912&n))return t.lanes=t.childLanes=536870912,lD(e,t,null!==o?o.baseLanes|n:n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&ap(t,null!==o?o.cachePool:null),null!==o?nI(t,o):nU(),nQ(t)}}else null!==o?(ap(t,o.cachePool),nI(t,o),nW(t),t.memoizedState=null):(null!==e&&ap(t,null),nU(),nW(t));return lT(e,t,l,n),t.child}function lD(e,t,n){var r=ad();return r=null===r?null:{parent:ai._currentValue,pool:r},t.memoizedState={baseLanes:n,cachePool:r},null!==e&&ap(t,null),nU(),nQ(t),null}function lA(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function lI(e,t,n,r,l){var a=tz(n)?tE:tS.current;return(a=tx(t,a),ae(t,l),n=rk(e,t,n,r,a,l),r=rE(),null===e||lL)?(tK&&r&&tQ(t),t.flags|=1,lT(e,t,n,l),t.child):(rx(e,t,l),l0(e,t,l))}function lU(e,t,n,r,l,a){return(ae(t,a),n=rS(t,r,n,l),rw(),r=rE(),null===e||lL)?(tK&&r&&tQ(t),t.flags|=1,lT(e,t,n,a),t.child):(rx(e,t,a),l0(e,t,a))}function l$(e,t,n,r,l){if(tz(n)){var a=!0;tL(t)}else a=!1;if(ae(t,l),null===t.stateNode)lJ(e,t),lb(t,n,r),lw(t,n,r,l),r=!0;else if(null===e){var o=t.stateNode,i=t.memoizedProps;o.props=i;var u=o.context,s=n.contextType;s="object"==typeof s&&null!==s?at(s):tx(t,s=tz(n)?tE:tS.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;f||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==r||u!==s)&&lk(t,o,r,s),nu=!1;var d=t.memoizedState;o.state=d,nh(t,r,o,l),u=t.memoizedState,i!==r||d!==u||tC.current||nu?("function"==typeof c&&(lg(t,n,c,r),u=t.memoizedState),(i=nu||lv(t,n,i,r,d,u,s))?(f||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=s,r=i):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,nc(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:lh(t.type,i),o.props=s,f=t.pendingProps,d=o.context,u="object"==typeof(u=n.contextType)&&null!==u?at(u):tx(t,u=tz(n)?tE:tS.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==f||d!==u)&&lk(t,o,r,u),nu=!1,d=t.memoizedState,o.state=d,nh(t,r,o,l);var m=t.memoizedState;i!==f||d!==m||tC.current||nu?("function"==typeof p&&(lg(t,n,p,r),m=t.memoizedState),(s=nu||lv(t,n,s,r,d,m,u)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,m,u),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,m,u)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=u,r=s):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return lB(e,t,n,r,a,l)}function lB(e,t,n,r,l,a){lA(e,t);var o=0!=(128&t.flags);if(!r&&!o)return l&&tT(t,n,!1),l0(e,t,a);r=t.stateNode,lN.current=t;var i=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=nO(t,e.child,null,a),t.child=nO(t,null,i,a)):lT(e,t,i,a),t.memoizedState=r.state,l&&tT(t,n,!0),t.child}function lV(e){var t=e.stateNode;t.pendingContext?tN(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tN(e,t.context,!1),B(e,t.containerInfo)}function lj(e,t,n,r,l){return t5(),t7(l),t.flags|=256,lT(e,t,n,r),t.child}var lQ={dehydrated:null,treeContext:null,retryLane:0};function lW(e){return{baseLanes:e,cachePool:am()}}function lH(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=ox),e}function lq(e,t,n){var r,l=t.pendingProps,a=!1,o=0!=(128&t.flags);if((r=o)||(r=(null===e||null!==e.memoizedState)&&0!=(2&nq.current)),r&&(a=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(tK){if(a?nj(t):nW(t),tK){var u=o=tq;if(u){if(!t1(t,u)){t2(t)&&t3(),tq=s4(u);var s=tH;tq&&t1(t,tq)?tG(s,u):(tZ(tH,t),tK=!1,tH=t,tq=o)}}else t2(t)&&t3(),tZ(tH,t),tK=!1,tH=t,tq=o}if(null!==(o=t.memoizedState)&&null!==(o=o.dehydrated))return 0==(1&t.mode)?t.lanes=2:"$!"===o.data?t.lanes=16:t.lanes=536870912,null;nH(t)}return(o=l.children,l=l.fallback,a)?(nW(t),a=t.mode,u=t.child,o={mode:"hidden",children:o},0==(1&a)&&null!==u?(u.childLanes=0,u.pendingProps=o):u=iy(o,a,0,null),l=ig(l,a,n,null),u.return=t,l.return=t,u.sibling=l,t.child=u,(a=t.child).memoizedState=lW(n),a.childLanes=lH(e,r,n),t.memoizedState=lQ,l):(nj(t),lK(t,o))}if(null!==(u=e.memoizedState)&&null!==(s=u.dehydrated))return function(e,t,n,r,l,a,o,u){if(n)return 256&t.flags?(nj(t),t.flags&=-257,lY(e,t,u,a=lC(Error(i(422))))):null!==t.memoizedState?(nW(t),t.child=e.child,t.flags|=128,null):(nW(t),a=l.fallback,o=t.mode,l=iy({mode:"visible",children:l.children},o,0,null),a=ig(a,o,u,null),a.flags|=2,l.return=t,a.return=t,l.sibling=a,t.child=l,0!=(1&t.mode)&&nO(t,e.child,null,u),(o=t.child).memoizedState=lW(u),o.childLanes=lH(e,r,u),t.memoizedState=lQ,a);if(nj(t),0==(1&t.mode))return lY(e,t,u,null);if("$!"===a.data){if(a=a.nextSibling&&a.nextSibling.dataset)var s=a.dgst;return a=s,(r=Error(i(419))).digest=a,lY(e,t,u,a=lC(r,a,void 0))}if(r=0!=(u&e.childLanes),lL||r){if(null!==(r=op)){if(0!=(42&(l=u&-u)))l=1;else switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=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:l=64;break;case 268435456:l=134217728;break;default:l=0}if(0!==(l=0!=(l&(r.suspendedLanes|u))?0:l)&&l!==o.retryLane)throw o.retryLane=l,na(e,l),oV(r,e,l),l_}return"$?"!==a.data&&o2(),lY(e,t,u,null)}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=ii.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,tq=s3(a.nextSibling),tH=t,tK=!0,tY=null,tX=!1,null!==e&&(tA[tI++]=t$,tA[tI++]=tB,tA[tI++]=tU,t$=e.id,tB=e.overflow,tU=t),t=lK(t,l.children),t.flags|=4096,t)}(e,t,o,r,l,s,u,n);if(a){nW(t),a=l.fallback,o=t.mode,s=(u=e.child).sibling;var c={mode:"hidden",children:l.children};return 0==(1&o)&&t.child!==u?((l=t.child).childLanes=0,l.pendingProps=c,t.deletions=null):(l=ip(u,c)).subtreeFlags=31457280&u.subtreeFlags,null!==s?a=ip(s,a):(a=ig(a,o,n,null),a.flags|=2),a.return=t,l.return=t,l.sibling=a,t.child=l,l=a,a=t.child,null===(o=e.child.memoizedState)?o=lW(n):(null!==(u=o.cachePool)?(s=ai._currentValue,u=u.parent!==s?{parent:s,pool:s}:u):u=am(),o={baseLanes:o.baseLanes|n,cachePool:u}),a.memoizedState=o,a.childLanes=lH(e,r,n),t.memoizedState=lQ,l}return nj(t),e=(r=e.child).sibling,r=ip(r,{mode:"visible",children:l.children}),0==(1&t.mode)&&(r.lanes=n),r.return=t,r.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function lK(e,t){return(t=iy({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function lY(e,t,n,r){return null!==r&&t7(r),nO(t,e.child,null,n),e=lK(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lX(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),l7(e.return,t,n)}function lG(e,t,n,r,l){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=l)}function lZ(e,t,n){var r=t.pendingProps,l=r.revealOrder,a=r.tail;if(lT(e,t,r.children,n),0!=(2&(r=nq.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&lX(e,n,t);else if(19===e.tag)lX(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(g(nq,r),0==(1&t.mode))t.memoizedState=null;else switch(l){case"forwards":for(l=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===nK(e)&&(l=n),n=n.sibling;null===(n=l)?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),lG(t,!1,l,n,a);break;case"backwards":for(n=null,l=t.child,t.child=null;null!==l;){if(null!==(e=l.alternate)&&null===nK(e)){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}lG(t,!0,n,null,a);break;case"together":lG(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function lJ(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function l0(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),oS|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=ip(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ip(e,e.pendingProps)).return=t;n.sibling=null}return t.child}var l1=m(null),l2=null,l3=null,l4=null;function l6(){l4=l3=l2=null}function l8(e,t,n){g(l1,t._currentValue),t._currentValue=n}function l5(e){e._currentValue=l1.current,h(l1)}function l7(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function l9(e,t,n){var r=e.child;for(null!==r&&(r.return=e);null!==r;){var l=r.dependencies;if(null!==l)for(var a=r.child,o=l.firstContext;null!==o;){if(o.context===t){if(1===r.tag){(o=nf(n&-n)).tag=2;var u=r.updateQueue;if(null!==u){var s=(u=u.shared).pending;null===s?o.next=o:(o.next=s.next,s.next=o),u.pending=o}}r.lanes|=n,null!==(o=r.alternate)&&(o.lanes|=n),l7(r.return,n,e),l.lanes|=n;break}o=o.next}else if(10===r.tag)a=r.type===e.type?null:r.child;else if(18===r.tag){if(null===(a=r.return))throw Error(i(341));a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),l7(a,n,e),a=r.sibling}else a=r.child;if(null!==a)a.return=r;else for(a=r;null!==a;){if(a===e){a=null;break}if(null!==(r=a.sibling)){r.return=a.return,a=r;break}a=a.return}r=a}}function ae(e,t){l2=e,l4=l3=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(lL=!0),e.firstContext=null)}function at(e){return ar(l2,e)}function an(e,t,n){return null===l2&&ae(e,n),ar(e,t)}function ar(e,t){var n=t._currentValue;if(l4!==t){if(t={context:t,memoizedValue:n,next:null},null===l3){if(null===e)throw Error(i(308));l3=t,e.dependencies={lanes:0,firstContext:t}}else l3=l3.next=t}return n}var al="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},aa=a.unstable_scheduleCallback,ao=a.unstable_NormalPriority,ai={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function au(){return{controller:new al,data:new Map,refCount:0}}function as(e){e.refCount--,0===e.refCount&&aa(ao,function(){e.controller.abort()})}var ac=s.ReactCurrentBatchConfig,af=m(null);function ad(){var e=af.current;return null!==e?e:op.pooledCache}function ap(e,t){null===t?g(af,af.current):g(af,t.pool)}function am(){var e=ad();return null===e?null:{parent:ai._currentValue,pool:e}}function ah(e){e.flags|=4}function ag(e){e.flags|=2097664}function ay(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-16777217;else if(e.flags|=16777216,0==(42&oh)&&!(t="stylesheet"!==t.type||0!=(3&t.state.loading))){if(oJ())e.flags|=8192;else throw nx=nw,nk}}function av(e,t){null!==t?e.flags|=4:16384&e.flags&&(t=22!==e.tag?ed():536870912,e.lanes|=t)}function ab(e,t){if(!tK)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ak(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;null!==l;)n|=l.lanes|l.childLanes,r|=31457280&l.subtreeFlags,r|=31457280&l.flags,l.return=e,l=l.sibling;else for(l=e.child;null!==l;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function aw(e,t){switch(tW(t),t.tag){case 1:null!=(e=t.type.childContextTypes)&&tP();break;case 3:l5(ai),V(),h(tC),h(tS);break;case 26:case 27:case 5:Q(t);break;case 4:V();break;case 13:nH(t);break;case 19:h(nq);break;case 10:l5(t.type._context);break;case 22:case 23:nH(t),n$(),null!==e&&h(af);break;case 24:l5(ai)}}function aS(e,t,n){var r=Array.prototype.slice.call(arguments,3);try{t.apply(n,r)}catch(e){this.onError(e)}}var aC=!1,aE=null,ax=!1,az=null,aP={onError:function(e){aC=!0,aE=e}};function aN(e,t,n,r,l,a,o,i,u){aC=!1,aE=null,aS.apply(aP,arguments)}var a_=!1,aL=!1,aT="function"==typeof WeakSet?WeakSet:Set,aF=null;function aM(e,t){try{var n=e.ref;if(null!==n){var r=e.stateNode;switch(e.tag){case 26:case 27:case 5:var l=r;break;default:l=r}"function"==typeof n?e.refCleanup=n(l):n.current=l}}catch(n){ir(e,t,n)}}function aO(e,t){var n=e.ref,r=e.refCleanup;if(null!==n){if("function"==typeof r)try{r()}catch(n){ir(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){ir(e,t,n)}else n.current=null}}function aR(e,t,n){try{n()}catch(n){ir(e,t,n)}}var aD=!1;function aA(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l=r=r.next;do{if((l.tag&e)===e){var a=l.inst,o=a.destroy;void 0!==o&&(a.destroy=void 0,aR(t,n,o))}l=l.next}while(l!==r)}}function aI(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create,l=n.inst;r=r(),l.destroy=r}n=n.next}while(n!==t)}}function aU(e,t){try{aI(t,e)}catch(t){ir(e,e.return,t)}}function a$(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{ny(t,n)}catch(t){ir(e,e.return,t)}}}function aB(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src&&(r.src=n.src)}}catch(t){ir(e,e.return,t)}}function aV(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:a2(e,n),4&r&&aU(n,5);break;case 1:if(a2(e,n),4&r){if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){ir(n,n.return,e)}else{var l=n.elementType===n.type?t.memoizedProps:lh(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(l,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){ir(n,n.return,e)}}}64&r&&a$(n),512&r&&aM(n,n.return);break;case 3:if(a2(e,n),64&r&&null!==(r=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:e=n.child.stateNode}try{ny(r,e)}catch(e){ir(n,n.return,e)}}break;case 26:a2(e,n),512&r&&aM(n,n.return);break;case 27:case 5:a2(e,n),null===t&&4&r&&aB(n),512&r&&aM(n,n.return);break;case 12:default:a2(e,n);break;case 13:a2(e,n),4&r&&aX(e,n);break;case 22:if(0!=(1&n.mode)){if(!(l=null!==n.memoizedState||a_)){t=null!==t&&null!==t.memoizedState||aL;var a=a_,o=aL;a_=l,(aL=t)&&!o?function e(t,n,r){for(r=r&&0!=(8772&n.subtreeFlags),n=n.child;null!==n;){var l=n.alternate,a=t,o=n,i=o.flags;switch(o.tag){case 0:case 11:case 15:e(a,o,r),aU(o,4);break;case 1:if(e(a,o,r),"function"==typeof(a=o.stateNode).componentDidMount)try{a.componentDidMount()}catch(e){ir(o,o.return,e)}if(null!==(l=o.updateQueue)){var u=l.shared.hiddenCallbacks;if(null!==u)for(l.shared.hiddenCallbacks=null,l=0;l title"))),s$(l,n,r),l[ew]=e,eR(l),n=l;break e;case"link":var a=cp("link","href",t).get(n+(r.href||""));if(a){for(var o=0;o",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof r.is?l.createElement("select",{is:r.is}):l.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"==typeof r.is?l.createElement(n,{is:r.is}):l.createElement(n)}}e[ew]=t,e[eS]=r;e:for(l=t.child;null!==l;){if(5===l.tag||6===l.tag)e.appendChild(l.stateNode);else if(4!==l.tag&&27!==l.tag&&null!==l.child){l.child.return=l,l=l.child;continue}if(l===t)break;for(;null===l.sibling;){if(null===l.return||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(t.stateNode=e,s$(e,n,r),n){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break;case"img":e=!0;break;default:e=!1}e&&ah(t)}null!==t.ref&&ag(t)}return ak(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&ah(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(e=I.current,t6(t)){e:{if(e=t.stateNode,n=t.memoizedProps,e[ew]=t,(r=e.nodeValue!==n)&&null!==(l=tH))switch(l.tag){case 3:if(l=0!=(1&l.mode),sD(e.nodeValue,n,l),l){e=!1;break e}break;case 27:case 5:var a=0!=(1&l.mode);if(!0!==l.memoizedProps.suppressHydrationWarning&&sD(e.nodeValue,n,a),a){e=!1;break e}}e=r}e&&ah(t)}else(e=sQ(e).createTextNode(r))[ew]=t,t.stateNode=e}return ak(t),null;case 13:if(nH(t),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(tK&&null!==tq&&0!=(1&t.mode)&&0==(128&t.flags))t8(),t5(),t.flags|=384,l=!1;else if(l=t6(t),null!==r&&null!==r.dehydrated){if(null===e){if(!l)throw Error(i(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(i(317));l[ew]=t}else t5(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ak(t),l=!1}else null!==tY&&(oW(tY),tY=null),l=!0;if(!l)return 256&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,l=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(l=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==l&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),av(t,t.updateQueue),ak(t),null;case 4:return V(),null===e&&sz(t.stateNode.containerInfo),ak(t),null;case 10:return l5(t.type._context),ak(t),null;case 19:if(h(nq),null===(l=t.memoizedState))return ak(t),null;if(r=0!=(128&t.flags),null===(a=l.rendering)){if(r)ab(l,!1);else{if(0!==ok||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=nK(e))){for(t.flags|=128,ab(l,!1),e=a.updateQueue,t.updateQueue=e,av(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)im(n,e),n=n.sibling;return g(nq,1&nq.current|2),t.child}e=e.sibling}null!==l.tail&&Y()>o_&&(t.flags|=128,r=!0,ab(l,!1),t.lanes=4194304)}}else{if(!r){if(null!==(e=nK(a))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,av(t,e),ab(l,!0),null===l.tail&&"hidden"===l.tailMode&&!a.alternate&&!tK)return ak(t),null}else 2*Y()-l.renderingStartTime>o_&&536870912!==n&&(t.flags|=128,r=!0,ab(l,!1),t.lanes=4194304)}l.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=l.last)?e.sibling=a:t.child=a,l.last=a)}if(null!==l.tail)return t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Y(),t.sibling=null,e=nq.current,g(nq,r?1&e|2:1&e),t;return ak(t),null;case 22:case 23:return nH(t),n$(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(536870912&n)&&0==(128&t.flags)&&(ak(t),6&t.subtreeFlags&&(t.flags|=8192)):ak(t),null!==(n=t.updateQueue)&&av(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&h(af),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),l5(ai),ak(t),null;case 25:return null}throw Error(i(156,t.tag))}(t.alternate,t,ob);if(null!==n){om=n;return}if(null!==(t=t.sibling)){om=t;return}om=t=e}while(null!==t);0===ok&&(ok=5)}function o7(e,t,n,r){var l=ey,a=of.transition;try{of.transition=null,ey=2,function(e,t,n,r,l){do ie();while(null!==oR);if(0!=(6&od))throw Error(i(327));var a=e.finishedWork,o=e.finishedLanes;if(null!==a){if(e.finishedWork=null,e.finishedLanes=0,a===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var u=a.lanes|a.childLanes;if(function(e,t,n){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0,t=e.entanglements;for(var l=e.expirationTimes,a=e.hiddenUpdates;0r&&(l=r,r=a,a=l),l=u8(n,a);var o=u8(n,r);l&&o&&(1!==e.rangeCount||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(l.node,l.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;nn?32:n;n=of.transition;var l=ey;try{if(of.transition=null,ey=r,null===oR)var a=!1;else{r=oI,oI=null;var o=oR,u=oD;if(oR=null,oD=0,0!=(6&od))throw Error(i(331));var s=od;if(od|=4,ol(o.current),a5(o,o.current,u,r),od=s,n2(!1),er&&"function"==typeof er.onPostCommitFiberRoot)try{er.onPostCommitFiberRoot(en,o)}catch(e){}a=!0}return a}finally{ey=l,of.transition=n,o9(e,t)}}return!1}function it(e,t,n){t=lx(e,t=lS(n,t),2),null!==(e=nd(e,t,2))&&(em(e,2),n1(e))}function ir(e,t,n){if(3===e.tag)it(e,e,n);else for(;null!==t;){if(3===t.tag){it(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===oM||!oM.has(r))){e=lz(t,e=lS(n,e),2),null!==(t=nd(t,e,2))&&(em(t,2),n1(t));break}}t=t.return}}function il(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new oi;var l=new Set;r.set(t,l)}else void 0===(l=r.get(t))&&(l=new Set,r.set(t,l));l.has(n)||(ov=!0,l.add(n),e=ia.bind(null,e,t,n),t.then(e,e))}function ia(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,op===e&&(oh&n)===n&&(4===ok||3===ok&&(62914560&oh)===oh&&300>Y()-oN?0==(2&od)&&oG(e,0):oE|=n),n1(e)}function io(e,t){0===t&&(t=0==(1&e.mode)?2:ed()),null!==(e=na(e,t))&&(em(e,t),n1(e))}function ii(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),io(e,n)}function iu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(n=l.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),io(e,n)}function is(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ic(e,t,n,r){return new is(e,t,n,r)}function id(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ip(e,t){var n=e.alternate;return null===n?((n=ic(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=31457280&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function im(e,t){e.flags&=31457282;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ih(e,t,n,r,l,a,o){if(l=2,r=e,"function"==typeof e)id(e)&&(l=1);else if("string"==typeof e)l=!function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(!0===t.async&&!t.onLoad&&!t.onError&&"string"==typeof t.src&&t.src)return!0}return!1}(e,n,D.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(e){case b:return ig(n.children,a,o,t);case k:l=8,0!=(1&(a|=8))&&(a|=16);break;case w:return(e=ic(12,n,t,2|a)).elementType=w,e.lanes=o,e;case z:return(e=ic(13,n,t,a)).elementType=z,e.lanes=o,e;case P:return(e=ic(19,n,t,a)).elementType=P,e.lanes=o,e;case T:return iy(n,a,o,t);case F:case L:case M:return(e=ic(24,n,t,a)).elementType=M,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:l=10;break e;case C:l=9;break e;case x:l=11;break e;case N:l=14;break e;case _:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=ic(l,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function ig(e,t,n,r){return(e=ic(7,e,r,t)).lanes=n,e}function iy(e,t,n,r){(e=ic(22,e,r,t)).elementType=T,e.lanes=n;var l={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var e=l._current;if(null===e)throw Error(i(456));if(0==(2&l._pendingVisibility)){var t=na(e,2);null!==t&&(l._pendingVisibility|=2,oV(t,e,2))}},attach:function(){var e=l._current;if(null===e)throw Error(i(456));if(0!=(2&l._pendingVisibility)){var t=na(e,2);null!==t&&(l._pendingVisibility&=-3,oV(t,e,2))}}};return e.stateNode=l,e}function iv(e,t,n){return(e=ic(6,e,null,t)).lanes=n,e}function ib(e,t,n){return(t=ic(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ik(e,t,n,r,l,a){this.tag=t,this.containerInfo=e,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=ep(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ep(0),this.hiddenUpdates=ep(null),this.identifierPrefix=r,this.onRecoverableError=l,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=a,this.incompleteTransitions=new Map}function iw(e,t,n,r,l,a,o,i,u,s,c){return e=new ik(e,t,n,i,u,c),1===t?(t=1,!0===a&&(t|=24)):t=0,a=ic(3,null,null,t),e.current=a,a.stateNode=e,t=au(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},ns(a),e}function iS(e){if(!e)return tw;e=e._reactInternals;e:{if(ty(e)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(tz(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(tz(n))return t_(e,n,t)}return t}function iC(e,t,n,r,l,a,o,i,u,s,c){return(e=iw(n,r,!0,e,l,a,o,i,u,s,c)).context=iS(null),(l=nf(r=oB(n=e.current))).callback=null!=t?t:null,nd(n,l,r),e.current.lanes=r,em(e,r),n1(e),e}function iE(e,t,n,r){var l=t.current,a=oB(l);return n=iS(n),null===t.context?t.context=n:t.pendingContext=n,(t=nf(a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=nd(l,t,a))&&(oV(e,l,a),np(e,l,a)),a}function ix(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function iz(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n=uR),uI=!1;function uU(e,t){switch(e){case"keyup":return -1!==uM.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function u$(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var uB=!1,uV={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 uj(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!uV[e.type]:"textarea"===t}function uQ(e,t,n,r){th(r),0<(t=sL(t,"onChange")).length&&(n=new iH("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var uW=null,uH=null;function uq(e){sS(e,0)}function uK(e){if(e0(eF(e)))return e}function uY(e,t){if("change"===e)return t}var uX=!1;if(e$){if(e$){var uG="oninput"in document;if(!uG){var uZ=document.createElement("div");uZ.setAttribute("oninput","return;"),uG="function"==typeof uZ.oninput}r=uG}else r=!1;uX=r&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=u6(r)}}function u5(){for(var e=window,t=e1();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=e1(e.document)}return t}function u7(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var u9=e$&&"documentMode"in document&&11>=document.documentMode,se=null,st=null,sn=null,sr=!1;function sl(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;sr||null==se||se!==e1(r)||(r="selectionStart"in(r=se)&&u7(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},sn&&nv(sn,r)||(sn=r,0<(r=sL(st,"onSelect")).length&&(t=new iH("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=se)))}function sa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var so={animationend:sa("Animation","AnimationEnd"),animationiteration:sa("Animation","AnimationIteration"),animationstart:sa("Animation","AnimationStart"),transitionend:sa("Transition","TransitionEnd")},si={},su={};function ss(e){if(si[e])return si[e];if(!so[e])return e;var t,n=so[e];for(t in n)if(n.hasOwnProperty(t)&&t in su)return si[e]=n[t];return e}e$&&(su=document.createElement("div").style,"AnimationEvent"in window||(delete so.animationend.animation,delete so.animationiteration.animation,delete so.animationstart.animation),"TransitionEvent"in window||delete so.transitionend.transition);var sc=ss("animationend"),sf=ss("animationiteration"),sd=ss("animationstart"),sp=ss("transitionend"),sm=new Map,sh="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 sg(e,t){sm.set(e,t),eI(t,[e])}for(var sy=0;sy title"):null)}var ch=null;function cg(){}function cy(){if(this.count--,0===this.count){if(this.stylesheets)cb(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var cv=null;function cb(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,cv=new Map,t.forEach(ck,e),cv=null,cy.call(e))}function ck(e,t){if(!(4&t.state.loading)){var n=cv.get(e);if(n)var r=n.get("last");else{n=new Map,cv.set(e,n);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a