From 31482d28e7a6a8583ae9a0c6bca517145d075336 Mon Sep 17 00:00:00 2001 From: Alex Weininger Date: Thu, 29 Oct 2026 14:19:15 -0700 Subject: [PATCH 1/2] Prepare Azure Resources Query 0.1.7 for production Source: 5f31cfc64b7b0496772971f25938ea16e191db78 Selection receipt: 2dea2e9cacf33c555021bd90c7d3c4499fec302c53d4b3122157008ac135dbf Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/plugin/marketplace.json | 4 +- .../.github/plugin/plugin.json | 2 +- canvases/azure-resources-query/README.md | 10 + canvases/azure-resources-query/SHA256SUMS | 30 +- canvases/azure-resources-query/checksums.json | 28 +- .../assets/toolkit/ui.mjs | 12 + .../assets/toolkit/ui/base.css | 536 ++ .../ui/browser/THIRD_PARTY_NOTICES.txt | 615 ++ .../assets/toolkit/ui/browser/base.mjs | 3984 ++++++++ .../assets/toolkit/ui/browser/fluent.mjs | 2 + .../toolkit/ui/browser/react-runtime.mjs | 8351 +++++++++++++++++ .../assets/toolkit/ui/component-helpers.mjs | 107 + .../assets/toolkit/ui/components.css | 413 + .../assets/toolkit/ui/components.mjs | 1785 ++++ .../assets/toolkit/ui/content.mjs | 307 + .../assets/toolkit/ui/fluent.css | 2 + .../assets/toolkit/ui/forms.mjs | 368 + .../assets/toolkit/ui/icons.mjs | 1 + .../assets/toolkit/ui/navigation.mjs | 667 ++ .../toolkit/ui/profiles/coreai-azure.css | 2 + .../assets/toolkit/ui/styles.css | 6 +- .../azure-resources-query/extension.mjs | 69 +- canvases/azure-resources-query/package.json | 2 +- canvases/azure-resources-query/release.json | 110 +- 24 files changed, 17368 insertions(+), 45 deletions(-) create mode 100644 canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/base.css create mode 100644 canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/THIRD_PARTY_NOTICES.txt create mode 100644 canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/base.mjs create mode 100644 canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/fluent.mjs create mode 100644 canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/react-runtime.mjs create mode 100644 canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/component-helpers.mjs create mode 100644 canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/components.css create mode 100644 canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/components.mjs create mode 100644 canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/content.mjs create mode 100644 canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/fluent.css create mode 100644 canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/forms.mjs create mode 100644 canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/navigation.mjs diff --git a/.github/plugin/marketplace.json b/.github/plugin/marketplace.json index c3aac0c..e68066c 100644 --- a/.github/plugin/marketplace.json +++ b/.github/plugin/marketplace.json @@ -16,8 +16,8 @@ }, { "name": "azure-resources-query", - "description": "Explore Azure resources with read-only queries, a canvas, and a skill.", - "version": "0.1.6", + "description": "Read-only Azure Resource Graph queries with explicit scope and saved views.", + "version": "0.1.7", "source": "canvases/azure-resources-query" }, { diff --git a/canvases/azure-resources-query/.github/plugin/plugin.json b/canvases/azure-resources-query/.github/plugin/plugin.json index a7a35d2..e9a0353 100644 --- a/canvases/azure-resources-query/.github/plugin/plugin.json +++ b/canvases/azure-resources-query/.github/plugin/plugin.json @@ -1,7 +1,7 @@ { "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", "name": "azure-resources-query", - "version": "0.1.6", + "version": "0.1.7", "description": "Read-only Azure Resource Graph queries with explicit scope and saved views.", "extensions": { "com.github.copilot": { diff --git a/canvases/azure-resources-query/README.md b/canvases/azure-resources-query/README.md index 43d7aa1..1245ab6 100644 --- a/canvases/azure-resources-query/README.md +++ b/canvases/azure-resources-query/README.md @@ -75,6 +75,16 @@ refine the same view. - An Azure account signed in with read access to the subscriptions and resource details you need. Opening the canvas does not sign in automatically. +## Usage data + +Usage telemetry is enabled by default to help improve this plugin. It sends +basic usage data and, when available, your numeric GitHub user ID to the +[usage metrics service](https://canvas-metrics-pilot-0b8944-add3hsghhddcbxe9.b01.azurefd.net/api/events). +Prompts, tool inputs/outputs and credentials are excluded. + +You can [disable usage telemetry](https://github.com/microsoft/azure-dev-tools#disable-usage-telemetry). +Copilot's own telemetry is separate. + ## Troubleshooting and safety | Symptom | What to check | diff --git a/canvases/azure-resources-query/SHA256SUMS b/canvases/azure-resources-query/SHA256SUMS index a2509a4..4a0a0a8 100644 --- a/canvases/azure-resources-query/SHA256SUMS +++ b/canvases/azure-resources-query/SHA256SUMS @@ -1,7 +1,7 @@ -51163371c46ec2185b86565fc89ea5e0854b4df77090ff03f35b6d66b13c12b6 .github/plugin/plugin.json +a3f3288a99fbd885c4d9387a2224c5f7095a48c372350e39d8e0baef31716569 .github/plugin/plugin.json 363c021bc17477e3d37da3b1875d81d1bdf61137f005957de2be8b137d892e57 THIRD_PARTY_NOTICES.txt 9bf99096a6596000325f426189fd5953afd87c89dc5511ad6bc45bafe9c572c8 assets/preview.png -6bab7d5f6f6866577c478557b6fbb230ef4f890379b4051706cda1f15f42eceb checksums.json +32f3fd46e0b8c4e9cad832e8b53439eb792aac9537607e5fc3efee6caade90d5 checksums.json 8e7c523673ecc0d5ba9d5281ab3e4f749d64c86ce73da931e5131e8227ec489f com.github.copilot/extensions/azure-resources-query/assets/Resource-Graph-Explorer.provenance.json 6e9262653086bd4e83184ba6abb2e8b39a29e676107540c1fcfa41b4c8c0db37 com.github.copilot/extensions/azure-resources-query/assets/Resource-Graph-Explorer.svg 4529413fbb68e28590f67754eedf9b3a837ac00f38fc83035523baaf8cf43463 com.github.copilot/extensions/azure-resources-query/assets/toolkit/icons.mjs @@ -75,23 +75,35 @@ e901c61bf158534570861137ba6518d30e9550c7cfeeb7199eb0508609aec9ad com.github.cop 7b81c953acb820137de8fe39fcd39348cf30b5f8d98bb524c4d722a80440843d com.github.copilot/extensions/azure-resources-query/assets/toolkit/icons/VirtualNetworks.svg 7d007df784f59c7a0d6409264b628b792c8ce97d0a45b3295903357778b832c9 com.github.copilot/extensions/azure-resources-query/assets/toolkit/icons/WebHostingEnvironments.svg 4aaa9cc151c2ebb8f6ea96bced5088e56364618e558228431d98be23942aea74 com.github.copilot/extensions/azure-resources-query/assets/toolkit/icons/WebPubSub.svg -437ee24f11ecabf86411530168c6b4f10608ebe19c9f168cae9711ef163b4498 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui.mjs +d1bc6f61948245103f736ebf17b6009fcccb79752a3d7a355ec854d064868ffa com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui.mjs edafab7ac52dd6737ecf6e31c8afba73799e9e488cc9ab17a12e626683ee63c2 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/azure-subscription-picker.mjs +1229796a21f5890870c0b7020f28acab33144c14d870e963e17626a2c18fe12f com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/base.css +826d02d87439afbf3a28bb865be0b73a1b5190615b51a8d0b4917abaa2a5ff06 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/THIRD_PARTY_NOTICES.txt +6f37740c9d1010bc5945b21d5ff64210a489bca143c5d08d128312942064cf14 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/base.mjs +29d15948c6685c65a78bf228fffcae847e8359f26268848433b33a3a11be1b7a com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/fluent.mjs +34b10f33805aa59932bced4cf94c1113950bf65a18e5614bdb0bf2e33dcfd137 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/react-runtime.mjs 4c8d7424ed5b98f3f81345e6013b5c93d9e962331ae740dce0efc5518b1c2a7d com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/commands-log.css 95a3e628b11e767544ebfdce3f72faaa7132ab00494b86901302f39c53b9c139 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/commands-log.mjs -022d8dab381e6ba3f52dab3c1d474baf9dbec6d0255a67712a0ad45414c5ec16 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/icons.mjs +2fddff0a8be63013bf66da6cdef8355c8bea54bed83a17246e9a8a8048a1ac5a com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/component-helpers.mjs +bca45d65da23f07f0b5d5aee152f3ad82c4aeb5f5be7b5851c0e879870683d6c com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/components.css +23c57aaa4ae4739809188348d58c06251b9e3cf49bd7edd9dbbc6271dd6c0545 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/components.mjs +d75514b523ab4ec091fb08e3d27ce5a63794c561e6cf9261b4bc69ba86e7d5ab com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/content.mjs +68d14f01389dcb8abcee0430bf419245bfbfebe5539cc85a53ca74bf28900c80 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/fluent.css +c09ff458245e1bc24cda01d58c18bbaa75ee0b4234560975563f518edf26dd28 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/forms.mjs +21385ef1ac9a6f533374b9a296ea8675143cc9e5725fcc60c93f2ebd36e5208c com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/icons.mjs 7dbfd0514a38046fd510ac48b1939e5b33ea82b725479b2c6c76571606d6dd99 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/locations.mjs -f44d7f74e0ac83aa7f5114b4471ebf74228bef94955dc858dc318559c1131214 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/profiles/coreai-azure.css -b352be82bf8a61b25ce2a9f6d8dbc1d9b1cb54a9c3172e15824628bbc647e1b9 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/styles.css +d16bb68c3dec8f0568f5ab512807c5607168683d1aee1eef7a588f79300e31c2 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/navigation.mjs +243530cec1cd52b31876fcdf7aaf720841c64ddb400553530d7daab519fd3632 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/profiles/coreai-azure.css +f8d4a9ff7a29941cfe1c26b02cc2a1f2c2d3c9f509eac694417b3e1b84638a26 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/styles.css 1b969c69d67bcd76dff78094b36980da0fe6c10f5506a34b8a902e4933255c24 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/subscription-picker.css 9a355d2b41b93e3ef2db4520053c6ebd2e5d275e288e01f0c094b5057b84fda1 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/subscription-picker.mjs 0fef218c4cf6a172a11a5c945e0323eda6859fbada813d48f43c18b7e4c318a8 com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/telemetry.mjs 2fd9f29c349f23d7518568d6c087f679c241b42e48780508785965d4c213d03b com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/theme.mjs -d325fc8f8698f591a638075249ac6cb9015b3daa9c3689905b7fd3b0ee3fb315 com.github.copilot/extensions/azure-resources-query/extension.mjs +f1759944e9ae2bbf1066c05df09e66f22b420d2a9c8dece17e461fdf46f25562 com.github.copilot/extensions/azure-resources-query/extension.mjs f3a387358d48e27cbb4c198fdf176add9a556ff0d0da884c66e668699c1b166c com.github.copilot/extensions/azure-resources-query/ui/client.js fe7ef0b96fe9c486b855f3fac674fe5f736039c4d3f55b38cf4e267c49f61009 com.github.copilot/extensions/azure-resources-query/ui/index.html c424c33aea3a91d55c66181403f555d949da62d0b1593f8769c3cecd5cfd029b com.github.copilot/extensions/azure-resources-query/ui/styles.css -c01926383cf68e683fffba3792fac9a7f1960441f5aa3412e53a3d3e911d9507 package.json -d959fcb10139e805c5682682420d4910d304dea3e1bcb9aaff7481e171da7c7c release.json +97607840454a2f06841a9c365273728973756ef18209086b9d9899224dff3383 package.json +34efd8562756bde900faca95506aac3ec9631fc395c0b96dd8f605ccd0be0abb release.json 161b573f515e816098ac8bd84b1d8221f6c8eaf91f620189bab727c489d2dfc5 skills/azure-resources-query/SKILL.md bffc9f0a955a46883d6e0e1f8485103145746674761ccff961c42ae2a57821a1 skills/azure-resources-query/resolve-canvas-launch.mjs diff --git a/canvases/azure-resources-query/checksums.json b/canvases/azure-resources-query/checksums.json index 5a8ae99..222387a 100644 --- a/canvases/azure-resources-query/checksums.json +++ b/canvases/azure-resources-query/checksums.json @@ -1,5 +1,5 @@ { - ".github/plugin/plugin.json": "51163371c46ec2185b86565fc89ea5e0854b4df77090ff03f35b6d66b13c12b6", + ".github/plugin/plugin.json": "a3f3288a99fbd885c4d9387a2224c5f7095a48c372350e39d8e0baef31716569", "assets/preview.png": "9bf99096a6596000325f426189fd5953afd87c89dc5511ad6bc45bafe9c572c8", "com.github.copilot/extensions/azure-resources-query/assets/Resource-Graph-Explorer.provenance.json": "8e7c523673ecc0d5ba9d5281ab3e4f749d64c86ce73da931e5131e8227ec489f", "com.github.copilot/extensions/azure-resources-query/assets/Resource-Graph-Explorer.svg": "6e9262653086bd4e83184ba6abb2e8b39a29e676107540c1fcfa41b4c8c0db37", @@ -74,24 +74,36 @@ "com.github.copilot/extensions/azure-resources-query/assets/toolkit/icons/VirtualNetworks.svg": "7b81c953acb820137de8fe39fcd39348cf30b5f8d98bb524c4d722a80440843d", "com.github.copilot/extensions/azure-resources-query/assets/toolkit/icons/WebHostingEnvironments.svg": "7d007df784f59c7a0d6409264b628b792c8ce97d0a45b3295903357778b832c9", "com.github.copilot/extensions/azure-resources-query/assets/toolkit/icons/WebPubSub.svg": "4aaa9cc151c2ebb8f6ea96bced5088e56364618e558228431d98be23942aea74", - "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui.mjs": "437ee24f11ecabf86411530168c6b4f10608ebe19c9f168cae9711ef163b4498", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui.mjs": "d1bc6f61948245103f736ebf17b6009fcccb79752a3d7a355ec854d064868ffa", "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/azure-subscription-picker.mjs": "edafab7ac52dd6737ecf6e31c8afba73799e9e488cc9ab17a12e626683ee63c2", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/base.css": "1229796a21f5890870c0b7020f28acab33144c14d870e963e17626a2c18fe12f", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/base.mjs": "6f37740c9d1010bc5945b21d5ff64210a489bca143c5d08d128312942064cf14", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/fluent.mjs": "29d15948c6685c65a78bf228fffcae847e8359f26268848433b33a3a11be1b7a", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/react-runtime.mjs": "34b10f33805aa59932bced4cf94c1113950bf65a18e5614bdb0bf2e33dcfd137", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/THIRD_PARTY_NOTICES.txt": "826d02d87439afbf3a28bb865be0b73a1b5190615b51a8d0b4917abaa2a5ff06", "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/commands-log.css": "4c8d7424ed5b98f3f81345e6013b5c93d9e962331ae740dce0efc5518b1c2a7d", "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/commands-log.mjs": "95a3e628b11e767544ebfdce3f72faaa7132ab00494b86901302f39c53b9c139", - "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/icons.mjs": "022d8dab381e6ba3f52dab3c1d474baf9dbec6d0255a67712a0ad45414c5ec16", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/component-helpers.mjs": "2fddff0a8be63013bf66da6cdef8355c8bea54bed83a17246e9a8a8048a1ac5a", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/components.css": "bca45d65da23f07f0b5d5aee152f3ad82c4aeb5f5be7b5851c0e879870683d6c", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/components.mjs": "23c57aaa4ae4739809188348d58c06251b9e3cf49bd7edd9dbbc6271dd6c0545", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/content.mjs": "d75514b523ab4ec091fb08e3d27ce5a63794c561e6cf9261b4bc69ba86e7d5ab", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/fluent.css": "68d14f01389dcb8abcee0430bf419245bfbfebe5539cc85a53ca74bf28900c80", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/forms.mjs": "c09ff458245e1bc24cda01d58c18bbaa75ee0b4234560975563f518edf26dd28", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/icons.mjs": "21385ef1ac9a6f533374b9a296ea8675143cc9e5725fcc60c93f2ebd36e5208c", "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/locations.mjs": "7dbfd0514a38046fd510ac48b1939e5b33ea82b725479b2c6c76571606d6dd99", - "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/profiles/coreai-azure.css": "f44d7f74e0ac83aa7f5114b4471ebf74228bef94955dc858dc318559c1131214", - "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/styles.css": "b352be82bf8a61b25ce2a9f6d8dbc1d9b1cb54a9c3172e15824628bbc647e1b9", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/navigation.mjs": "d16bb68c3dec8f0568f5ab512807c5607168683d1aee1eef7a588f79300e31c2", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/profiles/coreai-azure.css": "243530cec1cd52b31876fcdf7aaf720841c64ddb400553530d7daab519fd3632", + "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/styles.css": "f8d4a9ff7a29941cfe1c26b02cc2a1f2c2d3c9f509eac694417b3e1b84638a26", "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/subscription-picker.css": "1b969c69d67bcd76dff78094b36980da0fe6c10f5506a34b8a902e4933255c24", "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/subscription-picker.mjs": "9a355d2b41b93e3ef2db4520053c6ebd2e5d275e288e01f0c094b5057b84fda1", "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/telemetry.mjs": "0fef218c4cf6a172a11a5c945e0323eda6859fbada813d48f43c18b7e4c318a8", "com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/theme.mjs": "2fd9f29c349f23d7518568d6c087f679c241b42e48780508785965d4c213d03b", - "com.github.copilot/extensions/azure-resources-query/extension.mjs": "d325fc8f8698f591a638075249ac6cb9015b3daa9c3689905b7fd3b0ee3fb315", + "com.github.copilot/extensions/azure-resources-query/extension.mjs": "f1759944e9ae2bbf1066c05df09e66f22b420d2a9c8dece17e461fdf46f25562", "com.github.copilot/extensions/azure-resources-query/ui/client.js": "f3a387358d48e27cbb4c198fdf176add9a556ff0d0da884c66e668699c1b166c", "com.github.copilot/extensions/azure-resources-query/ui/index.html": "fe7ef0b96fe9c486b855f3fac674fe5f736039c4d3f55b38cf4e267c49f61009", "com.github.copilot/extensions/azure-resources-query/ui/styles.css": "c424c33aea3a91d55c66181403f555d949da62d0b1593f8769c3cecd5cfd029b", - "package.json": "c01926383cf68e683fffba3792fac9a7f1960441f5aa3412e53a3d3e911d9507", - "release.json": "d959fcb10139e805c5682682420d4910d304dea3e1bcb9aaff7481e171da7c7c", + "package.json": "97607840454a2f06841a9c365273728973756ef18209086b9d9899224dff3383", + "release.json": "34efd8562756bde900faca95506aac3ec9631fc395c0b96dd8f605ccd0be0abb", "skills/azure-resources-query/resolve-canvas-launch.mjs": "bffc9f0a955a46883d6e0e1f8485103145746674761ccff961c42ae2a57821a1", "skills/azure-resources-query/SKILL.md": "161b573f515e816098ac8bd84b1d8221f6c8eaf91f620189bab727c489d2dfc5", "THIRD_PARTY_NOTICES.txt": "363c021bc17477e3d37da3b1875d81d1bdf61137f005957de2be8b137d892e57" diff --git a/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui.mjs b/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui.mjs index 052be11..a1345ad 100644 --- a/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui.mjs +++ b/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui.mjs @@ -3,6 +3,12 @@ const require = __canvasCreateRequire(import.meta.url); // packages/canvas-toolkit/src/ui.mjs var canvasUiAssets = /* @__PURE__ */ new Map([ + ["canvas-ui/base.mjs", [new URL("./ui/browser/base.mjs", import.meta.url), "text/javascript; charset=utf-8"]], + ["canvas-ui/react-runtime.mjs", [new URL("./ui/browser/react-runtime.mjs", import.meta.url), "text/javascript; charset=utf-8"]], + ["canvas-ui/base.css", [new URL("./ui/base.css", import.meta.url), "text/css; charset=utf-8"]], + ["canvas-ui/fluent.mjs", [new URL("./ui/browser/fluent.mjs", import.meta.url), "text/javascript; charset=utf-8"]], + ["canvas-ui/fluent.css", [new URL("./ui/fluent.css", import.meta.url), "text/css; charset=utf-8"]], + ["canvas-ui/THIRD_PARTY_NOTICES.txt", [new URL("./ui/browser/THIRD_PARTY_NOTICES.txt", import.meta.url), "text/plain; charset=utf-8"]], ["canvas-ui/styles.css", [new URL("./ui/styles.css", import.meta.url), "text/css; charset=utf-8"]], ["canvas-ui/theme.mjs", [new URL("./ui/theme.mjs", import.meta.url), "text/javascript; charset=utf-8"]], ["canvas-ui/profiles/coreai-azure.css", [new URL("./ui/profiles/coreai-azure.css", import.meta.url), "text/css; charset=utf-8"]], @@ -13,6 +19,12 @@ var canvasUiAssets = /* @__PURE__ */ new Map([ ["canvas-ui/subscription-picker.css", [new URL("./ui/subscription-picker.css", import.meta.url), "text/css; charset=utf-8"]], ["canvas-ui/commands-log.mjs", [new URL("./ui/commands-log.mjs", import.meta.url), "text/javascript; charset=utf-8"]], ["canvas-ui/commands-log.css", [new URL("./ui/commands-log.css", import.meta.url), "text/css; charset=utf-8"]], + ["canvas-ui/components.mjs", [new URL("./ui/components.mjs", import.meta.url), "text/javascript; charset=utf-8"]], + ["canvas-ui/components.css", [new URL("./ui/components.css", import.meta.url), "text/css; charset=utf-8"]], + ["canvas-ui/component-helpers.mjs", [new URL("./ui/component-helpers.mjs", import.meta.url), "text/javascript; charset=utf-8"]], + ["canvas-ui/forms.mjs", [new URL("./ui/forms.mjs", import.meta.url), "text/javascript; charset=utf-8"]], + ["canvas-ui/content.mjs", [new URL("./ui/content.mjs", import.meta.url), "text/javascript; charset=utf-8"]], + ["canvas-ui/navigation.mjs", [new URL("./ui/navigation.mjs", import.meta.url), "text/javascript; charset=utf-8"]], ["canvas-ui/telemetry.mjs", [new URL("./ui/telemetry.mjs", import.meta.url), "text/javascript; charset=utf-8"]], ["icons/Subscription.svg", [new URL("./icons/Subscription.svg", import.meta.url), "image/svg+xml"]] ]); diff --git a/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/base.css b/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/base.css new file mode 100644 index 0000000..361ea2e --- /dev/null +++ b/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/base.css @@ -0,0 +1,536 @@ +/* Load styles.css before this file. Fluent Headless owns control behavior; these rules + preserve the host-themed Workbench visual language. */ +.ct-provider.ct-provider { + color-scheme: inherit; + min-width: 0; color: var(--canvas-fg); background: var(--canvas-bg); + font-family: var(--canvas-font-family, var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif)); + font-size: var(--canvas-body); line-height: var(--leading-body-medium, 20px); +} +.ct-provider [hidden] { display: none !important; } +.ct-provider :where(button, input, textarea, select, dialog) { font-family: inherit; } +.ct-input-root, .ct-textarea-root, .ct-select-root { display: contents; } +.ct-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; } +.ct-provider :where(h1, h2, h3, p) { margin: 0; } +.ct-provider :where(h1, h2, h3) { font-size: 16px; line-height: 22px; font-weight: 600; } +.ct-provider *, .ct-provider *::before, .ct-provider *::after { box-sizing: border-box; } +.ct-view-mount, .ct-view-mount > .ct-provider { display: contents; } +.ct-dom-content { display: block; } +.ct-folder-controls { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; } +.ct-folder-controls > .ct-input-root { display: flex; flex: 1 1 180px; min-width: 0; } +.ct-folder-controls .ct-input { width: 100%; } +.ct-stack { display: grid; gap: 8px; } +.ct-completion { display: flex; justify-content: center; padding: 16px; color: var(--canvas-success); } +.ct-view-feedback { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--canvas-border); } +.ct-view-feedback:empty { margin: 0; padding: 0; border: 0; } +.ct-view-feedback[data-feedback-intent="warning"] { color: var(--canvas-attention); } +.ct-toast { position: fixed; inset-inline-end: 16px; bottom: 64px; z-index: 1000; max-width: min(600px, calc(100vw - 32px)); } +.ct-toast[data-placement="top"] { top: 16px; bottom: auto; } +.ct-toast .ct-message { background: var(--canvas-bg); } +.ct-provider :where(button) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--canvas-border); color: var(--canvas-fg); background: transparent; cursor: pointer; font-size: inherit; font-weight: 400; } +.ct-provider :where(button):disabled, .ct-provider [data-disabled] { cursor: not-allowed; opacity: .5; } +.ct-provider :where(button)[data-appearance="subtle"], .ct-provider :where(button)[data-appearance="transparent"] { border-color: transparent; background: transparent; } +.ct-provider :where(button):hover:not(:disabled):not([data-disabled]) { background: var(--canvas-hover); } +.ct-provider :where(input, textarea, select) { font-size: inherit; font-weight: 400; } +.ct-provider :where(input, textarea)::placeholder { color: var(--canvas-muted); opacity: 1; } +.ct-button-icon { display: inline-flex; flex: none; align-items: center; } +.ct-input[aria-invalid="true"] { outline: 1px solid var(--canvas-danger); } +.ct-provider .ct-input:focus-visible { outline: 2px solid var(--canvas-focus); outline-offset: -1px; border-color: var(--canvas-focus); } +.ct-field-error { color: var(--canvas-danger); } +.ct-toggle-label { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: var(--canvas-body); font-weight: 400; } +.ct-native-choice { position: absolute; width: 16px; height: 16px; margin: 0; opacity: 0; } +.ct-toggle-label:has(:focus-visible) .ct-checkbox, .ct-radio:has(:focus-visible) { outline: 2px solid var(--canvas-focus); outline-offset: 2px; } +.ct-toggle-hint { display: block; color: var(--canvas-muted); font-size: var(--canvas-small); line-height: 16px; } +.ct-checkbox { display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; padding: 0; border: 1px solid var(--canvas-muted); border-radius: 3px; } +.ct-checkbox-label[data-checked] .ct-checkbox { background: var(--canvas-accent); color: var(--text-color-button-primary-rest, #fff); border-color: var(--canvas-accent); } +.ct-checkbox-label:not([data-checked]) .ct-checkbox svg { visibility: hidden; } +.ct-checkbox-indicator { display: inline-flex; } +.ct-switch-field { display: grid; justify-items: start; gap: 4px; } +.ct-switch-label { font-size: var(--canvas-body); line-height: 1.5; } +.ct-switch-field > .ct-toggle-hint { line-height: 1.5; } +.ct-switch-row { display: flex; align-items: center; } +.ct-switch-state { display: grid; min-width: 20px; margin: 0 8px; text-align: right; font-size: var(--canvas-body); cursor: pointer; } +.ct-switch-state > span { grid-area: 1 / 1; visibility: hidden; } +.ct-switch-row:has(.ct-switch[data-checked]) .ct-switch-state-on, +.ct-switch-row:has(.ct-switch:not([data-checked])) .ct-switch-state-off { visibility: visible; } +.ct-switch-control { position: relative; display: inline-flex; } +.ct-switch { appearance: none; margin: 0; display: inline-flex; position: relative; flex: none; width: 64px; height: 32px; padding: 0; border: 1px solid var(--canvas-border); border-radius: 6px; background: var(--background-color-muted, light-dark(#eaeef2, #010409)); } +.ct-switch-indicator { position: absolute; pointer-events: none; z-index: 1; width: calc(50% - 1px); top: 2px; bottom: 2px; left: 2px; border: 1px solid var(--border-color-control-rest, var(--canvas-border)); border-radius: 4px; background: var(--background-color-button-default-rest, light-dark(#fff, #252b35)); transition: transform 80ms cubic-bezier(.5, 1, .89, 1); } +.ct-switch:not([data-checked])::after { content: ""; position: absolute; left: calc(75% - 6px); top: calc(50% - 6px); width: 12px; height: 12px; border: 1px solid var(--canvas-muted); border-radius: 50%; } +.ct-switch[data-checked]::before { content: ""; position: absolute; left: calc(25% - 1px); top: calc(50% - 6px); width: 2px; height: 12px; border-radius: 1px; background: var(--text-color-button-primary-rest, #fff); } +.ct-switch[data-checked] { background: var(--background-color-button-primary-rest, light-dark(#0969da, #1f6feb)); border-color: var(--background-color-button-primary-rest, light-dark(#0969da, #1f6feb)); } +.ct-switch[data-checked] + .ct-switch-indicator { transform: translateX(calc(100% - 2px)); border-color: var(--background-color-button-primary-rest, light-dark(#0969da, #1f6feb)); } +.ct-switch[data-size="small"] { width: 48px; height: 24px; } +.ct-switch[data-size="small"]::after { width: 8px; height: 8px; left: calc(75% - 4px); top: calc(50% - 4px); } +.ct-switch-field:has([data-disabled]) :is(.ct-switch-state, .ct-switch-label) { color: var(--canvas-muted); cursor: not-allowed; } +.ct-radio-group { display: grid; gap: 8px; } +.ct-radio-card { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--canvas-border); border-radius: 12px; cursor: pointer; } +.ct-radio-card:has(:checked) { border-color: var(--canvas-accent); box-shadow: inset 0 0 0 1px var(--canvas-accent); } +.ct-radio-card:has(:focus-visible) { outline: 2px solid var(--canvas-focus); outline-offset: 2px; } +.ct-radio-card > .ct-radio { margin-top: 2px; } +.ct-radio { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; border: 1px solid var(--canvas-muted); border-radius: 50%; } +.ct-radio:has(:checked) { border-color: var(--canvas-accent); } +.ct-radio-indicator { width: 8px; height: 8px; border-radius: 50%; background: var(--canvas-accent); } +.ct-radio:not(:has(:checked)) .ct-radio-indicator { visibility: hidden; } +.ct-radio-description { display: block; color: var(--canvas-muted); font-size: var(--canvas-small); } +.ct-backdrop { position: fixed; inset: 0; z-index: 1000; background: #0006; } +.ct-dialog { position: fixed; z-index: 1001; margin: 0; inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid var(--canvas-border); box-shadow: 0 12px 48px #0003; } +.ct-dialog::backdrop { background: #0006; } +.ct-popover, .ct-menu, .ct-select-panel, .ct-tooltip { margin: 0; } +.ct-dialog-body { display: grid; gap: 16px; } +.ct-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; } +.ct-dialog-content { min-width: 0; } +.ct-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; } +.ct-icon-button.ct-button.ct-button { width: 32px; height: 32px; min-height: 32px; padding: 0; } +.ct-icon-button.ct-button.ct-button[data-size="small"] { width: 28px; height: 28px; min-height: 28px; } +.ct-dialog.ct-dialog.ct-composed-dialog { padding: 0; } +.ct-dialog.ct-composed-dialog[data-size="small"] { width: min(296px, calc(100vw - 32px)); } +.ct-dialog.ct-composed-dialog[data-size="medium"] { width: min(320px, calc(100vw - 32px)); } +.ct-dialog.ct-composed-dialog[data-size="xlarge"] { width: min(640px, calc(100vw - 32px)); } +.ct-composed-dialog-header { position: relative; padding: 14px 16px 16px; border-bottom: 1px solid var(--canvas-border); } +.ct-composed-dialog-header .ct-dialog-heading { padding-inline-end: 32px; } +.ct-composed-dialog-header .ct-dialog-title.ct-dialog-title { font-size: var(--canvas-body); line-height: 20px; } +.ct-composed-dialog-header .ct-icon-button { position: absolute; top: 8px; right: 8px; color: var(--canvas-muted); } +.ct-dialog-subtitle { margin-top: 4px !important; font-size: var(--canvas-small); line-height: 20px; color: var(--canvas-muted); } +.ct-composed-dialog-content { padding: 16px; overflow-wrap: anywhere; } +.ct-composed-dialog-actions { padding: 16px; border-top: 1px solid var(--canvas-border); justify-content: flex-start; } +.ct-positioner { z-index: 1010; max-width: calc(100vw - 16px); } +.ct-popover, .ct-menu { padding: 8px; border: 1px solid var(--canvas-border); border-radius: 6px; max-width: calc(100vw - 16px); box-shadow: 0 8px 24px #0002; } +.ct-menu-list { display: grid; grid-template-columns: minmax(0, 1fr); min-width: min(202px, calc(100vw - 34px)); max-width: 100%; } +.ct-menu-item { display: flex; min-width: 0; min-height: 34px; align-items: center; gap: 8px; padding: 7px 32px; border-radius: 4px; cursor: pointer; overflow-wrap: anywhere; } +.ct-menu-item > span { min-width: 0; } +.ct-menu-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; } +.ct-menu-item:focus { background: var(--canvas-hover); } +.ct-menu-divider { height: 1px; margin-block: 4px; background: var(--canvas-border); } +.ct-menu-label { padding: 4px 8px; color: var(--canvas-muted); font-size: var(--canvas-small); } +.ct-split-button { display: inline-flex; align-items: stretch; flex: none; } +.ct-split-button .ct-button.ct-button { min-height: 32px; height: 32px; } +.ct-split-button[data-size="small"] .ct-button { min-height: 28px; height: 28px; font-size: var(--canvas-small); } +.ct-split-button .ct-split-primary.ct-button { border-start-end-radius: 0; border-end-end-radius: 0; } +.ct-split-button .ct-split-chevron.ct-button { width: 32px; min-width: 32px; padding: 0; margin-inline-start: -1px; border-start-start-radius: 0; border-end-start-radius: 0; } +.ct-split-button[data-size="small"] .ct-split-chevron { width: 24px; min-width: 24px; } +.ct-split-primary.ct-split-icon.ct-button { width: 28px; min-width: 28px; padding: 0; } +.ct-split-button .ct-button:focus-visible { position: relative; z-index: 1; } +.ct-menu-choice { position: relative; display: flex; align-items: center; min-height: 34px; gap: 8px; padding: 7px 12px 7px 32px; border-radius: 4px; cursor: pointer; } +.ct-menu-check { position: absolute; left: 8px; display: inline-flex; } +.ct-menu-choice:not([data-checked]) .ct-menu-check { visibility: hidden; } +.ct-menu-choice:focus { background: var(--canvas-hover); } +.ct-filter-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; container-type: inline-size; } +.ct-filter-search { position: relative; flex: 1 1 200px; min-width: 0; } +.ct-filter-search > svg { position: absolute; top: 8px; left: 10px; color: var(--canvas-muted); pointer-events: none; } +.ct-provider .ct-filter-search .ct-input { width: 100%; padding-inline-start: 32px; } +.ct-filter-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; } +.ct-filter-controls > span { min-width: 0; max-width: 100%; } +.ct-filter-controls .ct-button { gap: 8px; font-size: var(--canvas-small); } +.ct-tooltip { padding: 6px 8px; border-radius: 6px; max-width: 280px; color: var(--color-white, #fff); background: color-mix(in srgb, var(--canvas-muted) 45%, #000); font-family: var(--canvas-font-family, var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif)); font-size: var(--canvas-small); line-height: 16px; box-shadow: 0 4px 12px #0002; } +.ct-combobox { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 12px; text-align: start; } +.ct-select-panel { width: min(480px, calc(100vw - 32px)); border: 1px solid var(--canvas-border); border-radius: 8px; background: var(--canvas-overlay); box-shadow: 0 8px 24px #0002; overflow: hidden; } +.ct-select-panel-heading { padding: 12px 16px 8px; font-size: var(--canvas-body); font-weight: 600; } +.ct-select-search-row { position: relative; margin: 0 8px 8px; } +.ct-select-search-row > svg { position: absolute; top: 8px; left: 10px; color: var(--canvas-muted); pointer-events: none; } +.ct-provider .ct-select-search.ct-input { width: 100%; padding-inline-start: 32px; } +.ct-select-options { overflow: auto; max-height: min(320px, calc(100dvh - 120px)); padding: 4px; } +.ct-select-option { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; align-items: center; min-height: 32px; padding: 6px 8px; border-radius: 4px; cursor: pointer; } +.ct-select-option:focus, .ct-select-option[data-activedescendant] { background: var(--canvas-hover); } +.ct-select-option[data-activedescendant-focusvisible] { outline: 2px solid var(--canvas-focus); outline-offset: -2px; } +.ct-select-option[data-selected] { background: var(--canvas-selected); } +.ct-option-check { grid-column: 1; } +.ct-select-option:not([data-selected]) .ct-option-check { visibility: hidden; } +.ct-select-option > span:last-child { grid-column: 2; } +.ct-option-label, .ct-option-description { display: block; } +.ct-option-description, .ct-select-empty { font-size: var(--canvas-small); color: var(--canvas-muted); } +.ct-option-description { margin-top: 2px; } +.ct-select-empty { padding: 12px; } +.ct-tab-list { display: flex; gap: 16px; border-bottom: 1px solid var(--canvas-border); } +.ct-tab { position: relative; padding: 8px 0; border: 0 !important; background: transparent; color: var(--canvas-muted); font-size: var(--canvas-body); } +.ct-tab[aria-selected="true"] { color: var(--canvas-fg); } +.ct-tabs:not([data-variant="inset"]) .ct-tab[aria-selected="true"]::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--canvas-accent); } +.ct-toolbar { display: flex; align-items: center; } +.ct-toolbar-divider { align-self: stretch; width: 1px; background: var(--canvas-border); } +.ct-skeleton { display: grid; gap: 8px; } +.ct-skeleton-item { border-radius: 4px; background: var(--canvas-tint); } +.ct-disclosure-trigger { justify-content: flex-start; gap: 8px; width: 100%; padding: 8px 0; border: 0 !important; font-size: var(--canvas-body); font-weight: 400; } +.ct-disclosure-header[data-open] .ct-disclosure-trigger svg { transform: rotate(90deg); } +.ct-disclosure-panel { padding: 8px 0; } +.ct-slider-control { position: relative; height: 24px; touch-action: none; } +.ct-slider-control > input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 24px; margin: 0; opacity: 0; cursor: col-resize; } +.ct-slider-track { position: absolute; inset-inline: 8px; top: 10px; height: 4px; border-radius: 3px; background: var(--canvas-border); } +.ct-slider-track::before { content: ""; position: absolute; inset-inline-start: 0; width: var(--ct-slider-position); height: 100%; border-radius: inherit; background: var(--canvas-accent); } +.ct-slider-thumb { position: absolute; inset-inline-start: calc((100% - 16px) * var(--ct-slider-fraction)); top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--canvas-accent); } +.ct-slider-control:has(:focus-visible) .ct-slider-thumb { outline: 2px solid var(--canvas-focus); outline-offset: 2px; } +.ct-progress-track { height: 8px; overflow: hidden; border-radius: 3px; background: var(--canvas-border); } +.ct-progress:has(.ct-progress-label) { height: auto !important; background: transparent !important; } +.ct-progress-label { display: block; margin-bottom: 4px; color: var(--canvas-muted); font-size: var(--canvas-small); } +.ct-progress-indicator { background: var(--canvas-accent); } +.ct-progress[data-tone="success"] .ct-progress-indicator { background: var(--canvas-success); } +.ct-progress[data-tone="warning"] .ct-progress-indicator { background: var(--canvas-attention); } +.ct-progress[data-tone="error"] .ct-progress-indicator { background: var(--canvas-danger); } +.ct-spinner-ring { width: 16px; height: 16px; border: 2px solid var(--canvas-border); border-top-color: var(--canvas-accent); border-radius: 50%; animation: ct-spin 1s linear infinite; } +@keyframes ct-spin { to { transform: rotate(360deg); } } +.ct-badge, .ct-counter { display: inline-flex; padding: 2px 8px; background: var(--canvas-tint); color: var(--canvas-fg); } +.ct-badge[data-color="success"] { color: var(--canvas-success); } +.ct-badge[data-color="danger"] { color: var(--canvas-danger); } +.ct-badge[data-color="warning"] { color: var(--canvas-attention); } +.ct-badge[data-appearance="outline"] { border: 1px solid var(--canvas-border); background: transparent; } +.ct-button[data-size="small"] { min-height: 28px; padding: 3px 8px; font-size: var(--canvas-small); } +.ct-button[data-size="large"] { min-height: 40px; padding: 9px 16px; } +.ct-message { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; border: 1px solid var(--canvas-border); background: var(--canvas-tint); } +.ct-message-body { flex: 1; min-width: 0; overflow-wrap: anywhere; } +.ct-message-icon { display: inline-flex; align-items: center; height: 20px; flex: none; color: var(--canvas-accent); } +.ct-message[data-intent="error"] { background: color-mix(in srgb, var(--canvas-danger) 12%, var(--canvas-bg)); border-color: color-mix(in srgb, var(--canvas-danger) 45%, var(--canvas-bg)); } +.ct-message[data-intent="warning"] { background: color-mix(in srgb, var(--canvas-attention) 12%, var(--canvas-bg)); border-color: color-mix(in srgb, var(--canvas-attention) 45%, var(--canvas-bg)); } +.ct-message[data-intent="error"] .ct-message-icon { color: var(--canvas-danger); } +.ct-message[data-intent="warning"] .ct-message-icon { color: var(--canvas-attention); } +.ct-message[data-intent="success"] .ct-message-icon { color: var(--canvas-success); } +.ct-message-actions { grid-column: 2; justify-self: end; margin-top: 8px; } +.ct-button .ct-spinner { flex: none; width: auto; min-height: 0; } +.ct-button.ct-button[aria-expanded="true"]:not([data-appearance="primary"]) { border-color: var(--canvas-border); background: var(--canvas-selected); } +.ct-button.ct-button { + min-height: 32px; min-width: 0; padding: 5px 12px; border-radius: 6px; + font-size: var(--canvas-body); line-height: var(--leading-body-medium, 20px); + font-weight: 400; white-space: normal; overflow-wrap: anywhere; +} +.ct-button.ct-button:not(.ct-toolbar-button) { flex-shrink: 0; } +.ct-button.ct-button[data-appearance="secondary"] { + background: var(--background-color-button-default-rest, transparent); + color: var(--text-color-button-default-rest, var(--canvas-fg)); + border-color: var(--border-color-button-default-rest, var(--canvas-border)); +} +.ct-button.ct-button[data-appearance="primary"] { + background: var(--background-color-button-primary-rest, var(--canvas-accent)); + color: var(--text-color-button-primary-rest, #fff); border-color: transparent; +} +.ct-button.ct-button[data-appearance="secondary"]:hover:not(:disabled) { background: var(--background-color-button-default-hover, var(--canvas-hover)); } +.ct-button.ct-button[data-appearance="primary"]:hover:not(:disabled) { background: var(--background-color-button-primary-hover, var(--canvas-accent)); } +.ct-split-button .ct-button.ct-button[data-appearance="secondary"] { background: var(--background-color-button-default-rest, var(--canvas-tint)); } +.ct-button.ct-button:disabled, .ct-action-card.ct-action-card:disabled { opacity: .5; cursor: not-allowed; } +.ct-provider :where(button, a, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--canvas-focus); outline-offset: 2px; } +.ct-field.ct-field { display: grid; gap: 4px; } +.ct-field.ct-field > label { + margin: 0; padding: 0; color: var(--canvas-muted); font-size: var(--canvas-small); + line-height: var(--leading-body-medium, 20px); font-weight: 400; width: 100%; max-width: none; +} +.ct-field.ct-field > label > .ct-field-required { display: none; } +.ct-field.ct-field > :where(.ct-field-hint, .ct-field-error) { + margin: 0; padding: 0; font-size: var(--canvas-small); line-height: var(--leading-body-medium, 20px); +} +.ct-input.ct-input, .ct-textarea.ct-textarea, .ct-select.ct-select, .ct-combobox.ct-combobox { + box-sizing: border-box; min-width: 0; max-width: 100%; width: 100%; min-height: 32px; + border: 1px solid var(--canvas-border); border-radius: 8px; background: var(--canvas-bg); + color: var(--canvas-fg); font-size: var(--canvas-body); line-height: var(--leading-body-medium, 20px); +} +.ct-input.ct-input { padding: 5px 8px; font-size: var(--canvas-small); color: var(--canvas-muted); } +.ct-input.ct-input input { min-width: 0; padding: 0; font: inherit; } +.ct-input.ct-input input { color: inherit; } +.ct-input.ct-input::after, .ct-textarea.ct-textarea::after { border-radius: inherit; } +.ct-textarea.ct-textarea { padding: 5px 10px; } +.ct-textarea.ct-textarea textarea { padding: 0; min-height: 64px; font: inherit; } +.ct-input-action-row { display: flex; align-items: stretch; gap: 8px; min-width: 0; } +.ct-input-action-row .ct-input { flex: 1; width: auto; } +.ct-input-action-row > .ct-button { font-size: var(--canvas-small); } +.ct-preview { margin-top: 20px; color: var(--canvas-muted); font-size: var(--canvas-small); overflow-wrap: anywhere; } +.ct-tag.ct-tag { + box-sizing: border-box; height: auto; min-height: 0; max-width: 100%; + padding: 3px 10px; border: 1px solid var(--canvas-border); border-radius: 999px; + background: var(--canvas-tint); color: var(--canvas-muted); font-size: var(--canvas-small); + font-weight: 400; line-height: var(--leading-body-small, 16px); white-space: normal; overflow-wrap: anywhere; +} +.ct-tag.ct-tag::after { content: none; } +.ct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; } +.ct-actions-end { justify-content: flex-end; } +.ct-choice-group { min-width: 0; margin: 0; padding: 0; border: 0; } +.ct-choice-group legend { margin-bottom: 4px; color: var(--canvas-muted); font-size: var(--canvas-small); } +.ct-choice-hint { margin-bottom: 8px !important; color: var(--canvas-muted); font-size: var(--canvas-small); line-height: 16px; } +.ct-choice-group > .ct-toggle-label { display: flex; margin-block: 8px; } +.ct-choice-group[data-variant="cards"] > .ct-toggle-label { align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--canvas-border); border-radius: 12px; } +.ct-choice-group[data-variant="cards"] > .ct-toggle-label > .ct-checkbox { margin-top: 2px; } +.ct-choice-group[data-variant="cards"] > .ct-toggle-label[data-checked] { border-color: var(--canvas-accent); box-shadow: inset 0 0 0 1px var(--canvas-accent); } +.ct-choice-group[data-variant="cards"] > .ct-toggle-label:has(:focus-visible) { outline: 2px solid var(--canvas-focus); outline-offset: 2px; } +.ct-provider :where(.ct-checkbox-label, .ct-switch-label, .ct-radio-label) { font-weight: 400; } +.ct-dialog.ct-dialog, .ct-popover.ct-popover, .ct-menu.ct-menu { + box-sizing: border-box; + color: var(--canvas-fg); background: var(--canvas-overlay); border-color: var(--canvas-border); + font-family: var(--canvas-font-family, var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif)); + font-size: var(--canvas-body); line-height: var(--leading-body-medium, 20px); +} +.ct-dialog.ct-dialog { width: min(480px, calc(100vw - 32px)); padding: 20px; border-radius: 12px; } +.ct-dialog-title.ct-dialog-title { font-size: 16px; line-height: 22px; font-weight: 600; } +.ct-palette.ct-palette { width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 16px; background: var(--canvas-bg); } +.ct-palette-backdrop { background: #0006; } +.ct-palette .ct-dialog-body { gap: 12px; } +.ct-palette .ct-palette-close { width: 28px; height: 28px; min-height: 28px; padding: 0; border: 0; } +.ct-palette-destinations { display: grid; gap: 4px; margin-top: 12px; } +.ct-palette-destinations > .ct-button, .ct-palette-destinations > section > .ct-button { justify-content: flex-start; gap: 8px; width: 100%; padding: .6rem .75rem; border: 0; background: transparent; text-align: start; font-size: var(--canvas-body); line-height: 20px; } +.ct-palette-destinations > .ct-button:is(:hover, :focus-visible):not(:disabled), .ct-palette-destinations > section > .ct-button:is(:hover, :focus-visible):not(:disabled) { background: var(--canvas-selected); } +.ct-palette-description { display: block; color: var(--canvas-muted); font-size: var(--canvas-small); font-weight: 400; } +.ct-tabs .ct-tab-list { background: transparent; } +.ct-tabs .ct-tab { font-weight: 400; } +.ct-tabs .ct-tab-content { font-weight: 400; } +.ct-tabs [role="tabpanel"] { padding-top: 16px; } +.ct-tabs[data-variant="inset"] .ct-tab-list { display: inline-flex; max-width: 100%; padding: 0; gap: 0; border: 1px solid var(--canvas-border); border-radius: 6px; background: var(--canvas-tint); } +.ct-tabs[data-variant="inset"] .ct-tab { flex: 1 1 auto; min-width: 0; min-height: 30px; padding: 4px 12px; border: 0; border-radius: 5px; color: var(--text-color-button-default-rest, var(--canvas-fg)); font-size: var(--canvas-small); line-height: 20px; } +.ct-tabs[data-variant="inset"] .ct-tab::before, .ct-tabs[data-variant="inset"] .ct-tab::after { content: none; } +.ct-tabs[data-variant="inset"] .ct-tab[aria-selected="true"] { background: var(--canvas-bg); box-shadow: 0 0 0 1px var(--canvas-border); } +.ct-tabs[data-variant="inset"] .ct-tab[aria-selected="false"]:hover:not(:disabled) { background: var(--canvas-hover); } +.ct-tabs[data-variant="inset"] .ct-tab[aria-selected="false"] + .ct-tab[aria-selected="false"]::before { content: ""; position: absolute; inset: 7px auto 7px -1px; width: 1px; height: auto; background: var(--canvas-border); transform: none; } +.ct-tabs[data-variant="inset"] .ct-tab:focus-visible { z-index: 1; outline-offset: -3px; } +.ct-toolbar.ct-toolbar { flex-wrap: wrap; gap: 6px; padding: 0; } +.ct-toolbar button { font-weight: 400; } +.ct-section-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; } +.ct-section-header p, .ct-muted { color: var(--canvas-muted); } +.ct-palette-group { margin: 12px 8px 4px; color: var(--canvas-muted); font-size: var(--canvas-small); line-height: 20px; font-weight: 400; } +.ct-palette-destinations > section { display: grid; width: 100%; gap: 4px; } +.ct-section-header p { margin-top: 4px; font-size: var(--canvas-small); } +.ct-shell { display: flex; flex-direction: column; min-width: 0; min-height: 0; container-type: inline-size; } +.ct-header { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; min-height: 32px; padding: 0; background: var(--canvas-bg); container-type: inline-size; } +.ct-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; box-sizing: border-box; min-height: 28px; padding: 4px 8px; border-top: 1px solid var(--canvas-border); color: var(--canvas-muted); font-size: var(--canvas-small); line-height: 18px; } +.ct-header-identity { display: flex; align-items: center; gap: 8px; min-width: 0; padding-inline-end: 60px; font-size: var(--canvas-small); } +.ct-header h1 { flex: none; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: var(--canvas-small); line-height: 20px; font-weight: 400; white-space: nowrap; } +.ct-header-identity > .ct-muted { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.ct-header-context { display: inline-flex; align-items: center; gap: 8px; min-width: 0; } +.ct-header-context > .ct-muted { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.ct-header-icon { display: inline-flex; width: 20px; height: 20px; align-items: center; } +.ct-header-identity > .ct-button { font-size: var(--canvas-small); min-width: 28px; min-height: 28px; padding: 0; } +.ct-header-context .ct-button { min-width: 28px; min-height: 28px; max-width: 100%; padding: 3px 4px; font-size: var(--canvas-small); } +.ct-header-context .ct-button > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.ct-header-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; } +.ct-header-actions .ct-button { min-height: 28px; padding: 4px 12px; font-size: var(--canvas-small); line-height: 18px; } +.ct-navigation { display: flex; align-items: center; position: relative; width: clamp(136px, 34vw, 448px); min-width: 0; } +.ct-history { display: flex; position: absolute; inset-inline-end: calc(100% + 4px); } +.ct-navigation > .ct-history { position: static; } +.ct-header .ct-history { position: absolute; } +.ct-navigation:not([data-variant="browser"]) > .ct-jump { flex: 1; width: auto; } +.ct-header .ct-navigation:not([data-variant="browser"]) > .ct-jump { flex: none; width: 100%; } +.ct-history .ct-button { width: 28px; min-height: 28px; padding: 0; border: 0; border-radius: 6px; color: var(--canvas-muted); } +.ct-navigation[data-jump="false"] { width: auto; } +.ct-navigation[data-jump="false"] .ct-history { position: static; } +.ct-jump.ct-jump { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 28px; padding: 2px 12px; font-size: var(--canvas-small); background: var(--canvas-tint); } +.ct-jump svg, .ct-history svg { flex: none; } +.ct-jump kbd { margin-inline-start: auto; padding: 0 4px; border: 1px solid var(--canvas-border); border-radius: 3px; color: var(--canvas-muted); font: inherit; font-size: 10px; white-space: nowrap; } +.ct-header[data-navigation] { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; } +.ct-header-start { display: flex; align-items: center; gap: 8px; min-width: 0; } +.ct-header-start .ct-header-identity { padding: 0; } +.ct-header-start .ct-header-identity h1 { flex: 0 1 auto; } +.ct-header-start .ct-navigation { flex: none; } +.ct-header .ct-browse { flex: none; width: 28px; height: 28px; min-height: 28px; padding: 0; border: 0; } +.ct-navigation[data-variant="browser"] { width: auto; gap: 8px; } +.ct-header .ct-navigation[data-variant="browser"] { width: auto; } +.ct-navigation[data-variant="browser"] .ct-history { position: static; } +.ct-navigation[data-variant="browser"] .ct-jump { width: clamp(176px, 22vw, 320px); } +.ct-navigation[data-layout="header"] { width: 100%; min-height: 32px; gap: 4px; container-type: inline-size; } +.ct-navigation-identity { flex: 1; min-width: 0; } +.ct-navigation-identity .ct-button { min-height: 28px; padding: 0 4px; color: var(--canvas-accent); } +.ct-navigation[data-layout="header"] .ct-jump { flex: none; width: auto; min-height: 28px; margin-inline-start: auto; padding: 0 8px; background: transparent; border-color: transparent; font-size: var(--canvas-body); } +.ct-navigation[data-layout="header"] > .ct-icon-button { width: 28px; height: 28px; min-height: 28px; } +@container (max-width: 479px) { + .ct-navigation[data-layout="header"] .ct-jump > svg:last-child { display: none; } +} +.ct-header-actions { flex-wrap: nowrap; } +.ct-product-navigation { box-sizing: border-box; width: 320px; max-width: 100%; padding: 12px; color: var(--canvas-fg); } +.ct-product-navigation h2 { margin-bottom: 16px; font-size: var(--canvas-body); line-height: 20px; } +.ct-product-navigation h3 { margin: 16px 8px 4px; color: var(--canvas-muted); font-size: var(--canvas-small); line-height: 20px; font-weight: 400; } +.ct-product-navigation ul { list-style: none; margin: 0; padding: 0; } +.ct-product-navigation .ct-button { display: flex; justify-content: flex-start; gap: 8px; width: 100%; min-height: 32px; padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; font-weight: 400; text-align: start; overflow-wrap: anywhere; } +.ct-product-navigation .ct-button:is(:hover, [aria-current="page"]) { background: var(--canvas-tint); } +.ct-product-navigation .ct-button[aria-current="page"] { background: var(--canvas-selected); } +.ct-product-navigation[data-variant="inline"] { width: auto; padding: 0; } +.ct-product-navigation[data-variant="inline"] ul { display: flex; flex-wrap: wrap; gap: 6px; } +.ct-footer .ct-button { min-height: 18px; padding: 0; border: 0; border-radius: 0; font-size: inherit; line-height: 18px; color: inherit; background: transparent; } +.ct-footer .ct-button:hover:not(:disabled) { color: var(--canvas-fg); background: transparent; text-decoration: underline; } +.ct-footer a { display: inline-flex; align-items: center; min-height: 18px; color: var(--canvas-muted); text-decoration: none; } +.ct-footer a:hover { color: var(--canvas-fg); text-decoration: underline; } +.ct-footer .ct-menu { font-size: inherit; } +.ct-version { margin-inline-start: auto; color: var(--canvas-muted); overflow-wrap: anywhere; } +.ct-main { flex: 1; min-width: 0; min-height: 0; } +.ct-action-card.ct-action-card { + box-sizing: border-box; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; + align-items: center; column-gap: 16px; width: 100%; min-width: 0; min-height: 80px; + padding: 16px; text-align: left; font-family: inherit; font-weight: 400; border: 1px solid var(--canvas-border); + border-radius: 12px; background: var(--canvas-bg); color: var(--canvas-fg); +} +.ct-action-card.ct-action-card:hover:not(:disabled) { background: var(--canvas-hover); } +.ct-action-card.ct-action-card:active:not(:disabled) { background: var(--canvas-selected); } +.ct-action-card-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; background: var(--canvas-tint); color: var(--canvas-muted); } +.ct-action-card-text { display: grid; gap: 4px; min-width: 0; } +.ct-action-card-title { font-size: 16px; line-height: 24px; font-weight: 600; overflow-wrap: anywhere; } +.ct-action-card-description { color: var(--canvas-muted); font-size: var(--canvas-body); line-height: 20px; font-weight: 400; overflow-wrap: anywhere; } +.ct-action-card-arrow { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; color: var(--canvas-muted); } +.ct-action-card.ct-action-card[data-variant="primary"] { + background: var(--background-color-button-primary-rest, var(--canvas-accent)); + color: var(--text-color-button-primary-rest, #fff); + border-color: var(--background-color-button-primary-rest, var(--canvas-accent)); +} +.ct-action-card[data-variant="primary"] :where(.ct-action-card-description, .ct-action-card-arrow) { color: inherit; } +.ct-action-card[data-variant="primary"] .ct-action-card-icon { color: inherit; background: #ffffff26; } +.ct-action-card.ct-action-card[data-variant="primary"]:hover:not(:disabled) { background: var(--background-color-button-primary-hover, var(--canvas-accent)); } +.ct-action-card.ct-action-card[data-variant="primary"]:active:not(:disabled) { background: var(--background-color-button-primary-active, var(--canvas-accent)); } +.ct-action-card.ct-action-card[data-compact="true"] { grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 12px; min-height: 56px; padding: 8px 12px; border-radius: 6px; } +.ct-action-card[data-compact="true"] .ct-action-card-icon { width: 28px; height: 28px; border-radius: 3px; } +.ct-action-card[data-compact="true"] .ct-action-card-text { gap: 0; } +.ct-action-card[data-compact="true"] .ct-action-card-title { font-size: var(--canvas-body); line-height: 20px; } +.ct-action-card[data-compact="true"] .ct-action-card-description { font-size: var(--canvas-small); line-height: 20px; } +.ct-action-card[data-compact="true"] :where(.ct-action-card-title, .ct-action-card-description) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.ct-action-card.ct-action-card[data-joined="true"] { border-radius: 0; } +.ct-action-card.ct-action-card[data-joined="true"]:not(:first-child) { margin-top: -1px; } +.ct-action-card.ct-action-card[data-joined="true"]:first-child { border-top-left-radius: 6px; border-top-right-radius: 6px; } +.ct-action-card.ct-action-card[data-joined="true"]:last-child { border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; } +.ct-action-card[data-joined="true"]:hover { position: relative; z-index: 1; } +.ct-action-card[data-joined="true"]:focus-visible { position: relative; z-index: 2; } +.ct-action-card.ct-action-card[data-variant="suggestion"] { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; min-height: 128px; row-gap: 8px; align-items: start; background: var(--canvas-bg); } +.ct-action-card[data-variant="suggestion"] .ct-action-card-text { grid-column: 1 / -1; grid-row: 2; align-self: end; } +.ct-action-card[data-variant="suggestion"] .ct-action-card-icon { width: 24px; height: 24px; background: transparent; } +.ct-action-card[data-variant="suggestion"] .ct-action-card-title { font-weight: 400; } +.ct-action-card[data-variant="suggestion"] .ct-action-card-arrow { grid-column: 2; grid-row: 1; width: 20px; height: 20px; opacity: 0; } +.ct-action-card[data-variant="suggestion"]:is(:hover, :focus-visible) .ct-action-card-arrow { opacity: 1; } +.ct-blankslate { display: grid; justify-items: center; gap: 12px; padding: 32px 16px; text-align: center; } +.ct-detail { min-width: 0; border: 1px solid var(--canvas-border); border-radius: 6px; overflow: hidden; } +.ct-detail-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 64px; padding: 8px 12px; border-bottom: 1px solid var(--canvas-border); } +.ct-detail-header h2 { font-size: var(--canvas-body); line-height: 20px; } +.ct-detail-status { display: inline-flex; align-items: center; gap: 4px; font-size: var(--canvas-small); color: var(--canvas-muted); } +.ct-detail-status[data-tone="success"] { color: var(--canvas-success); } +.ct-detail-status[data-tone="warning"] { color: var(--canvas-attention); } +.ct-detail-status[data-tone="danger"] { color: var(--canvas-danger); } +.ct-detail-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; } +.ct-detail-actions { margin-inline-start: auto; } +.ct-detail-body { padding: 12px; background: var(--canvas-tint); overflow-wrap: anywhere; } +.ct-detail-footer { padding: 12px 16px; border-top: 1px solid var(--canvas-border); } +.ct-detail .ct-section-header h2, .ct-section-header h2, .ct-blankslate h2 { font-size: var(--canvas-body); line-height: 20px; } +.ct-split-content { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr); gap: 16px; } +.ct-list-detail { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); min-height: 320px; overflow: hidden; container-type: inline-size; } +.ct-list-detail > *, .ct-split-content > * { min-width: 0; } +.ct-list-pane { border-inline-end: 1px solid var(--canvas-border); padding: 16px; } +.ct-list-heading { display: flex; align-items: center; gap: 8px; justify-content: space-between; margin-bottom: 8px; } +.ct-list-heading h2 { font-size: var(--canvas-body); line-height: 20px; } +.ct-list-heading .ct-list-new.ct-button { width: 28px; height: 28px; min-height: 28px; padding: 0; } +.ct-list-search { margin-bottom: 8px; } +.ct-list-group { margin-top: 8px; } +.ct-list-group .ct-disclosure-header .ct-disclosure-trigger { min-height: 28px; padding: 4px 0; gap: 4px; font-size: var(--canvas-small); font-weight: 400; color: var(--canvas-muted); } +.ct-list-group-count { font-weight: 400; } +.ct-list-group .ct-disclosure-panel { padding: 0; } +.ct-list-group ul { list-style: none; padding: 0; margin: 0; } +.ct-list-item.ct-button { display: flex; width: 100%; min-height: 48px; justify-content: flex-start; align-items: flex-start; padding: 8px 0; border: 0; text-align: start; } +.ct-list-item[aria-current="true"] { background: var(--canvas-selected); } +.ct-list-item-text { display: grid; gap: 2px; min-width: 0; flex: 1; } +.ct-list-item > svg { flex: none; align-self: end; color: var(--canvas-muted); } +.ct-list-item > span[aria-hidden] { flex: none; display: inline-flex; color: var(--canvas-muted); } +.ct-list-item-text .ct-muted, .ct-list-meta { font-size: var(--canvas-small); } +.ct-list-meta { align-self: end; margin-inline-start: auto; white-space: nowrap; color: var(--canvas-muted); } +.ct-list-detail-pane { padding: 16px; overflow-wrap: anywhere; } +.ct-list-detail-back { display: none; margin-bottom: 12px; } +.ct-list-empty { padding: 16px 8px; color: var(--canvas-muted); } +@container (max-width: 759px) { + .ct-list-pane, .ct-list-detail-pane { grid-column: 1 / -1; border-inline-end: 0; } + .ct-list-detail[data-view="list"] > .ct-list-detail-pane, .ct-list-detail[data-view="detail"] > .ct-list-pane { display: none; } + .ct-list-detail-back { display: block; } +} +.ct-code { margin: 0; padding: 12px; overflow: auto; background: var(--canvas-tint); border: 1px solid var(--canvas-border); border-radius: 6px; font: var(--canvas-small)/20px var(--font-mono, ui-monospace, monospace); white-space: pre; } +.ct-code-block { min-width: 0; padding: 16px; border: 1px solid var(--canvas-border); border-radius: 12px; } +.ct-code-block h3 { margin: 0 0 12px; font-size: 16px; line-height: 1.5; } +.ct-code-frame { border: 1px solid var(--canvas-border); border-radius: 6px; overflow: hidden; background: var(--canvas-tint); } +.ct-code-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; padding: 2px 4px; min-height: 32px; border-bottom: 1px solid var(--canvas-border); font-size: var(--canvas-small); color: var(--canvas-muted); } +.ct-code-header > span { padding: 4px 8px; text-transform: uppercase; } +.ct-code-header .ct-actions { gap: 4px; } +.ct-code-header .ct-button { min-height: 28px; height: 28px; } +.ct-code-header .ct-button.ct-button { color: var(--canvas-muted); } +.ct-code-header .ct-icon-button.ct-button.ct-button { width: 28px; } +.ct-code-frame .ct-code { padding: 8px; border: 0; border-radius: 0; background: transparent; color: var(--canvas-muted); white-space: pre-wrap; overflow-wrap: anywhere; } +.ct-key-values { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 0; font-size: var(--canvas-ui); } +.ct-key-values dt { color: var(--canvas-muted); } +.ct-key-values dd { margin: 0; overflow-wrap: anywhere; } +.ct-metadata-list { display: flex; flex-wrap: wrap; gap: 16px 24px; margin: 0; } +.ct-metadata-list > div { display: grid; gap: 4px; flex: 1 1 220px; min-width: min(220px, 100%); max-width: 100%; } +.ct-metadata-list dt { color: var(--canvas-muted); font-size: var(--canvas-small); line-height: 1.5; } +.ct-metadata-list dd { margin: 0; font-size: var(--canvas-body); line-height: 1.5; overflow-wrap: anywhere; } +.ct-output { display: grid; min-width: 0; gap: 8px; padding: 16px; border: 1px solid var(--canvas-border); border-radius: 6px; } +.ct-output-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } +.ct-output-header h3 { font-size: var(--canvas-body); line-height: 20px; } +.ct-output-header > span, .ct-output-description { font-size: var(--canvas-small); color: var(--canvas-muted); } +.ct-output .ct-code { max-height: 240px; white-space: pre-wrap; overflow-wrap: anywhere; } +.ct-editor { display: grid; gap: 8px; } +.ct-composer { display: flex; flex-direction: column; min-width: 0; gap: 8px; border: 1px solid var(--canvas-border); border-radius: 12px; padding: 12px; background: var(--canvas-bg); } +.ct-composer:focus-within { border-color: var(--canvas-accent); } +.ct-composer .ct-field { gap: 0; } +.ct-composer .ct-textarea { border: 0; border-radius: 0; padding: 0; background: transparent; } +.ct-composer .ct-textarea::after { content: none; } +.ct-composer textarea.ct-textarea { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 104px; padding: 0; outline: none; box-shadow: none; resize: none; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--canvas-fg); font-weight: 400; line-height: 20px; } +.ct-composer .ct-composer-send { flex: none; width: 32px; height: 32px; min-width: 32px; min-height: 32px; padding: 0; border-radius: 50%; } +.ct-composer-actions { display: inline-flex; align-items: center; gap: 6px; margin-inline-end: auto; } +.ct-composer .ct-spinner { width: auto; } +.ct-spinner.ct-spinner { display: flex; width: 100%; align-items: center; min-height: 20px; justify-content: center; gap: 8px; color: var(--canvas-muted); font-size: var(--canvas-small); } +.ct-spinner .ct-spinner-label { color: var(--canvas-muted); font-size: var(--canvas-body); font-weight: 400; } +.ct-progress.ct-progress { height: 8px; border-radius: 3px; background: var(--canvas-border); } +.ct-progress .ct-progress-indicator { height: 8px; border-radius: 3px; } +.ct-badge.ct-badge, .ct-counter.ct-counter { font-size: var(--canvas-small); line-height: 16px; font-weight: 400; border-radius: 999px; } +.ct-message.ct-message { min-width: 0; padding: 16px; border-radius: 6px; gap: 8px; } +.ct-message .ct-message-title { display: block; margin: 0 0 4px; font-size: var(--canvas-body); line-height: 20px; font-weight: 400; } +.ct-message .ct-message-body { font-size: var(--canvas-body); line-height: 20px; } +.ct-message[data-intent="success"] { border-color: color-mix(in srgb, var(--canvas-success) 45%, var(--canvas-bg)); background: color-mix(in srgb, var(--canvas-success) 16%, var(--canvas-bg)); } +.ct-filter-pill.ct-filter-pill { min-height: 24px; padding: 3px 10px; border: 1px solid var(--canvas-border); border-radius: 999px; background: var(--canvas-tint); color: var(--canvas-muted); font-size: var(--canvas-small); line-height: 16px; font-weight: 400; } +.ct-filter-pill[aria-pressed="true"] { border-color: var(--canvas-accent); background: var(--canvas-selected); color: var(--canvas-fg); } +.ct-disclosure-header .ct-disclosure-trigger { min-height: 36px; padding: 8px 0; font-size: var(--canvas-body); line-height: 20px; font-weight: 400; } +.ct-table.ct-table { width: 100%; border-collapse: collapse; font-size: var(--canvas-ui); } +.ct-table .ct-tableHeaderCell { color: var(--canvas-muted); font-size: var(--canvas-small); font-weight: 600; } +.ct-table :where(.ct-tableHeaderCell, .ct-tableCell) { padding: 8px; border-bottom: 1px solid var(--canvas-divider); vertical-align: top; text-align: start; } +@media (max-width: 520px) { + .ct-split-content { grid-template-columns: minmax(0, 1fr) !important; } +} +@media (max-width: 767px) { + .ct-header { grid-template-columns: minmax(0, 1fr) auto max-content; gap: 8px; } + .ct-navigation { width: 232px; } +} +@media (max-width: 599px) { + .ct-navigation { width: max-content; } + .ct-header .ct-navigation { width: 28px; } + .ct-jump.ct-jump { width: 28px; padding: 0; } + .ct-jump span { display: none; } + .ct-jump kbd { display: none; } + .ct-header-identity { padding-inline-end: 52px; } +} +@container (width < 600px) { + .ct-split-button[data-collapse-label] .ct-split-primary { width: 28px; min-width: 28px; padding: 0; } + .ct-split-button[data-collapse-label] .ct-split-label { display: none; } + .ct-navigation { width: max-content; } + .ct-header .ct-navigation { width: 28px; } + .ct-jump.ct-jump { width: 28px; padding: 0; } + .ct-jump span { display: none; } + .ct-jump kbd { display: none; } + .ct-header-identity { padding-inline-end: 52px; } +} +@media (max-width: 479px) { + .ct-navigation[data-variant="browser"] .ct-jump { width: 28px; padding: 0; } + .ct-navigation[data-variant="browser"] .ct-jump span, .ct-navigation[data-variant="browser"] .ct-jump kbd { display: none; } + .ct-header-start, .ct-header-actions { gap: 4px; } + .ct-header:not([data-context-visibility="always"]) .ct-header-start .ct-header-context { display: none; } +} +@container (max-width: 479px) { + .ct-navigation[data-variant="browser"] .ct-jump { width: 28px; padding: 0; } + .ct-navigation[data-variant="browser"] .ct-jump span, .ct-navigation[data-variant="browser"] .ct-jump kbd { display: none; } + .ct-header-start, .ct-header-actions { gap: 4px; } + .ct-header-context { gap: 0; } + .ct-header-context > [aria-hidden="true"] { display: none; } + .ct-header:not([data-context-visibility="always"]) .ct-header-start .ct-header-context { display: none; } +} +@container (min-width: 480px) { + .ct-navigation[data-variant="browser"] .ct-jump span, .ct-navigation[data-variant="browser"] .ct-jump kbd { display: inline; } +} +@container (width < 900px) { + .ct-header[data-context-visibility="always"]:has(.ct-header-context:not([hidden])) .ct-navigation[data-jump="true"] { width: 28px; } + .ct-header[data-context-visibility="always"]:has(.ct-header-context:not([hidden])) .ct-navigation[data-jump="true"] .ct-jump { width: 28px; padding: 0; } + .ct-header[data-context-visibility="always"]:has(.ct-header-context:not([hidden])) .ct-jump span, + .ct-header[data-context-visibility="always"]:has(.ct-header-context:not([hidden])) .ct-jump kbd { display: none; } +} +@media (max-width: 480px) { + .ct-footer { gap: 8px; padding-inline: 4px; } +} +@media (max-width: 359px) { + .ct-input-action-row { flex-direction: column; } +} +@media (hover: none) { + .ct-action-card[data-variant="suggestion"] .ct-action-card-arrow { opacity: 1; } +} +@media (prefers-reduced-motion: reduce) { + .ct-provider *, .ct-provider *::before, .ct-provider *::after { + transition: none !important; + animation: none !important; + } + .ct-provider .ct-spinner-ring { animation: ct-spin 1s linear infinite !important; } +} diff --git a/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/THIRD_PARTY_NOTICES.txt b/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/THIRD_PARTY_NOTICES.txt new file mode 100644 index 0000000..c17ed25 --- /dev/null +++ b/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/THIRD_PARTY_NOTICES.txt @@ -0,0 +1,615 @@ +Third-party notices for the self-contained canvas Fluent Headless browser runtime. + +@fluentui/keyboard-keys@9.0.9 +============================= +@fluentui/keyboard-keys + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-accordion@9.12.5 +================================ +@fluentui/react-accordion + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-aria@9.17.16 +============================ +@fluentui/react-aria + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-button@9.11.3 +============================= +@fluentui/react-button + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-checkbox@9.6.6 +============================== +@fluentui/react-checkbox + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-combobox@9.17.8 +=============================== +@fluentui/react-combobox + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-context-selector@9.2.21 +======================================= +@fluentui/react-context-selector + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-divider@9.7.6 +============================= +@fluentui/react-divider + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-field@9.5.6 +=========================== +@fluentui/react-field + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-headless-components-preview@0.3.2 +================================================= +@fluentui/react-headless-components-preview + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-input@9.8.8 +=========================== +@fluentui/react-input + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-jsx-runtime@9.4.7 +================================= +@fluentui/react-jsx-runtime + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-menu@9.25.8 +=========================== +@fluentui/react-menu + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-positioning@9.23.4 +================================== +@fluentui/react-positioning + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-progress@9.5.7 +============================== +@fluentui/react-progress + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-provider@9.22.23 +================================ +@fluentui/react-provider + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-radio@9.6.7 +=========================== +@fluentui/react-radio + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-select@9.5.7 +============================ +@fluentui/react-select + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-shared-contexts@9.26.4 +====================================== +Fluent UI React - react-shared-contexts + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-slider@9.6.8 +============================ +@fluentui/react-slider + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-switch@9.7.7 +============================ +@fluentui/react-switch + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-tabs@9.12.6 +=========================== +@fluentui/react-tabs + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-tabster@9.26.19 +=============================== +@fluentui/react-focus-management + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-textarea@9.7.8 +============================== +@fluentui/react-textarea + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-toolbar@9.8.7 +============================= +@fluentui/react-toolbar + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@fluentui/react-utilities@9.27.0 +================================ +@fluentui/react-utilities + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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. + +Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license + +@microsoft/focusgroup-polyfill@1.6.0 +==================================== +Source: https://github.com/microsoft/polyfills/blob/f2584a5c1392ec9573e29093a10b20b4cdfe4ea4/LICENSE.txt + + MIT License + + Copyright (c) Microsoft Corporation. + + 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 + +@primer/octicons-react@19.38.0 +============================== +MIT License + +Copyright (c) 2026 GitHub Inc. + +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. + +keyborg@3.498.0 +=============== +MIT License + + Copyright (c) Microsoft Corporation. + + 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 + +react-dom@19.3.0 +================ +MIT License + +Copyright (c) Meta Platforms, Inc. and affiliates. + +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. + +react@19.3.0 +============ +MIT License + +Copyright (c) Meta Platforms, Inc. and affiliates. + +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. + +scheduler@0.28.0 +================ +MIT License + +Copyright (c) Meta Platforms, Inc. and affiliates. + +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/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/base.mjs b/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/base.mjs new file mode 100644 index 0000000..c14ddcc --- /dev/null +++ b/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/base.mjs @@ -0,0 +1,3984 @@ +// packages/canvas-toolkit/src/ui/browser/base.mjs +import { a as cc, b as em, d as T, e as S, f as tm, g as om, h as rm } from "./react-runtime.mjs"; +var $c = cc((Qn) => { + "use strict"; + var Cm = Symbol.for("react.transitional.element"), Tm = Symbol.for("react.fragment"); + function Wc(e, t, o) { + var r = null; + if (o !== void 0 && (r = "" + o), t.key !== void 0 && (r = "" + t.key), "key" in t) { + o = {}; + for (var n in t) n !== "key" && (o[n] = t[n]); + } else o = t; + return t = o.ref, { $$typeof: Cm, type: e, key: r, ref: t !== void 0 ? t : null, props: o }; + } + Qn.Fragment = Tm; + Qn.jsx = Wc; + Qn.jsxs = Wc; +}); +var Yc = cc((Kh, qc) => { + "use strict"; + qc.exports = $c(); +}); +var q = T(S(), 1); +var J = T(S(), 1); +var P = {}; +em(P, { always: () => dc, optional: () => nm, resolveShorthand: () => pc }); +var uc = T(S(), 1); +var Ao = Symbol.for("fui.slotRenderFunction"); +var Ge = Symbol.for("fui.slotElementType"); +var wo = Symbol.for("fui.slotClassNameProp"); +function dc(e, t) { + let { defaultProps: o, elementType: r } = t, n = pc(e), s = { ...o, ...n, [Ge]: r, [wo]: n?.className || o?.className }; + return n && typeof n.children == "function" && (s[Ao] = n.children, s.children = o?.children), s; +} +function nm(e, t) { + if (!(e === null || e === void 0 && !t.renderByDefault)) return dc(e, t); +} +function pc(e) { + return typeof e == "string" || typeof e == "number" || sm(e) || uc.isValidElement(e) ? { children: e } : e; +} +var sm = (e) => typeof e == "object" && e !== null && Symbol.iterator in e; +var mc = T(S(), 1); +function Zn(e) { + return e !== null && typeof e == "object" && !Array.isArray(e) && !mc.isValidElement(e); +} +function qo(e) { + return !!e?.hasOwnProperty(Ge); +} +var ae = (...e) => { + let t = {}; + for (let o of e) { + let r = Array.isArray(o) ? o : Object.keys(o); + for (let n of r) t[n] = 1; + } + return t; +}; +var am = ae(["onAuxClick", "onAnimationEnd", "onAnimationStart", "onCopy", "onCut", "onPaste", "onCompositionEnd", "onCompositionStart", "onCompositionUpdate", "onFocus", "onFocusCapture", "onBlur", "onBlurCapture", "onChange", "onInput", "onSubmit", "onLoad", "onError", "onKeyDown", "onKeyDownCapture", "onKeyPress", "onKeyUp", "onAbort", "onCanPlay", "onCanPlayThrough", "onDurationChange", "onEmptied", "onEncrypted", "onEnded", "onLoadedData", "onLoadedMetadata", "onLoadStart", "onPause", "onPlay", "onPlaying", "onProgress", "onRateChange", "onSeeked", "onSeeking", "onStalled", "onSuspend", "onTimeUpdate", "onVolumeChange", "onWaiting", "onClick", "onClickCapture", "onContextMenu", "onDoubleClick", "onDrag", "onDragEnd", "onDragEnter", "onDragExit", "onDragLeave", "onDragOver", "onDragStart", "onDrop", "onMouseDown", "onMouseDownCapture", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseOut", "onMouseOver", "onMouseUp", "onMouseUpCapture", "onSelect", "onTouchCancel", "onTouchEnd", "onTouchMove", "onTouchStart", "onScroll", "onWheel", "onPointerCancel", "onPointerDown", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerOut", "onPointerOver", "onPointerUp", "onGotPointerCapture", "onLostPointerCapture"]); +var im = ae(["accessKey", "children", "className", "contentEditable", "dir", "draggable", "hidden", "htmlFor", "id", "lang", "popover", "focusgroup", "focusgroupstart", "ref", "role", "style", "tabIndex", "title", "translate", "spellCheck", "name"]); +var lm = ae(["itemID", "itemProp", "itemRef", "itemScope", "itemType"]); +var ue = ae(im, am, lm); +var fc = ae(ue, ["form"]); +var _i = ae(ue, ["height", "loop", "muted", "preload", "src", "width"]); +var bc = ae(_i, ["poster"]); +var hc = ae(ue, ["start"]); +var xc = ae(ue, ["value"]); +var vc = ae(ue, ["download", "href", "hrefLang", "media", "referrerPolicy", "rel", "target", "type"]); +var gc = ae(ue, ["dateTime"]); +var Yo = ae(ue, ["autoFocus", "disabled", "form", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "popoverTarget", "popoverTargetAction", "type", "value"]); +var Cc = ae(Yo, ["accept", "alt", "autoCorrect", "autoCapitalize", "autoComplete", "checked", "dirname", "form", "height", "inputMode", "list", "max", "maxLength", "min", "minLength", "multiple", "pattern", "placeholder", "readOnly", "required", "src", "step", "size", "type", "value", "width"]); +var Tc = ae(Yo, ["autoCapitalize", "cols", "dirname", "form", "maxLength", "placeholder", "readOnly", "required", "rows", "wrap"]); +var yc = ae(Yo, ["form", "multiple", "required"]); +var Sc = ae(ue, ["selected", "value"]); +var Ic = ae(ue, ["cellPadding", "cellSpacing"]); +var Mc = ue; +var Rc = ae(ue, ["colSpan", "rowSpan", "scope"]); +var _c = ae(ue, ["colSpan", "headers", "rowSpan", "scope"]); +var Pc = ae(ue, ["span"]); +var kc = ae(ue, ["span"]); +var Ac = ae(ue, ["disabled", "form"]); +var wc = ae(ue, ["acceptCharset", "action", "encType", "encType", "method", "noValidate", "target"]); +var Ec = ae(ue, ["allow", "allowFullScreen", "allowPaymentRequest", "allowTransparency", "csp", "height", "importance", "referrerPolicy", "sandbox", "src", "srcDoc", "width"]); +var Nc = ae(ue, ["alt", "crossOrigin", "height", "loading", "src", "srcSet", "useMap", "width"]); +var Dc = ae(ue, ["open", "onCancel", "onClose"]); +function Fc(e, t, o) { + let r = Array.isArray(t), n = {}, s = Object.keys(e); + for (let a of s) { + let i = !r && Object.prototype.hasOwnProperty.call(t, a) || r && t.indexOf(a) >= 0 || a.indexOf("data-") === 0 || a.indexOf("aria-") === 0; + a !== "__proto__" && i && (!o || o?.indexOf(a) === -1) && (n[a] = e[a]); + } + return n; +} +var Lc = { label: fc, audio: _i, video: bc, ol: hc, li: xc, a: vc, button: Yo, input: Cc, textarea: Tc, select: yc, option: Sc, table: Ic, tr: Mc, th: Rc, td: _c, colGroup: Pc, col: kc, fieldset: Ac, form: wc, iframe: Ec, img: Nc, time: gc, dialog: Dc }; +function Xo(e, t, o) { + let r = e && Object.prototype.hasOwnProperty.call(Lc, e) ? Lc[e] : ue; + return r.as = 1, Fc(t, r, o); +} +var Te = ({ primarySlotTagName: e, props: t, excludedPropNames: o }) => ({ root: { style: t.style, className: t.className }, primary: Xo(e, t, [...o || [], "style", "className"]) }); +var Q = (e, t, o) => { + var r; + return Xo((r = t.as) !== null && r !== void 0 ? r : e, t, o); +}; +var zt = T(S(), 1); +function Bc(e, t) { + let o = zt.useRef(void 0), r = zt.useCallback((s, a) => (o.current !== void 0 && t(o.current), o.current = e(s, a), o.current), [t, e]), n = zt.useCallback(() => { + o.current !== void 0 && (t(o.current), o.current = void 0); + }, [t]); + return zt.useEffect(() => n, [n]), [r, n]; +} +var Un = T(S(), 1); +var Oc = Un.createContext(void 0); +var cm = { targetDocument: typeof document == "object" ? document : void 0, dir: "ltr" }; +var Jo = Oc.Provider; +function ee() { + var e; + return (e = Un.useContext(Oc)) !== null && e !== void 0 ? e : cm; +} +var rt = T(S(), 1); +function um(e) { + return typeof e == "function"; +} +var te = (e) => { + "use no memo"; + let [t, o] = rt.useState(() => e.defaultState === void 0 ? e.initialState : dm(e.defaultState) ? e.defaultState() : e.defaultState), r = rt.useRef(e.state); + rt.useEffect(() => { + r.current = e.state; + }, [e.state]); + let n = rt.useCallback((s) => { + um(s) && s(r.current); + }, []); + return pm(e.state) ? [e.state, n] : [t, o]; +}; +function dm(e) { + return typeof e == "function"; +} +var pm = (e) => { + let [t] = rt.useState(() => e !== void 0); + return t; +}; +var $n = T(S(), 1); +var Wn = T(S(), 1); +function Eo() { + return typeof window < "u" && !!(window.document && window.document.createElement); +} +var nt = T(S(), 1); +var jn = { current: 0 }; +var Vc = nt.createContext(void 0); +function Kn() { + var e; + return (e = nt.useContext(Vc)) !== null && e !== void 0 ? e : jn; +} +function zn() { + let e = Kn() !== jn, [t, o] = nt.useState(e); + return Eo() && e && nt.useLayoutEffect(() => { + o(false); + }, []), t; +} +var le = Eo() ? Wn.useLayoutEffect : Wn.useEffect; +var A = (e) => { + let t = $n.useRef(() => { + throw new Error("Cannot call an event handler while rendering"); + }); + return le(() => { + t.current = e; + }, [e]), $n.useCallback((...o) => { + let r = t.current; + return r(...o); + }, [t]); +}; +var qn = T(S(), 1); +function Yn() { + let e = qn.useRef(true); + return qn.useEffect(() => { + e.current && (e.current = false); + }, []), e.current; +} +var st = T(S(), 1); +var Hc = st.createContext(void 0); +var Gc = Hc.Provider; +function fm() { + return st.useContext(Hc) || ""; +} +function ne(e = "fui-", t) { + let o = Kn(), r = fm(), n = st.useId; + if (n) { + let s = n(), a = st.useMemo(() => s.replace(/:/g, ""), [s]); + return t || `${r}${e}${a}`; + } + return st.useMemo(() => t || `${r}${e}${++o.current}`, [r, e, t, o]); +} +var Zc = T(S(), 1); +function X(...e) { + let t = Zc.useCallback((o) => { + t.current = o; + for (let r of e) typeof r == "function" ? r(o) : r && (r.current = o); + }, [...e]); + return t; +} +var bm = (e) => -1; +var hm = (e) => { +}; +function Ze() { + let { targetDocument: e } = ee(), t = e?.defaultView, o = t ? t.setTimeout : bm, r = t ? t.clearTimeout : hm; + return Bc(o, r); +} +var Qo = (e, t, o) => Math.max(t, Math.min(o, e || 0)); +var Xn = (e, t, o) => o === t ? 0 : (e - t) / (o - t) * 100; +var Uc = T(S(), 1); +var vm = parseInt(Uc.version, 10) >= 19; +function Ue(e) { + if (e) return vm ? e.props.ref : e.ref; +} +function z(e, t) { + return (...o) => { + e?.(...o), t?.(...o); + }; +} +function Be(e, t) { + var o; + let r = e; + var n; + return !!(!(r == null || (o = r.ownerDocument) === null || o === void 0) && o.defaultView && r instanceof r.ownerDocument.defaultView[(n = t?.constructorName) !== null && n !== void 0 ? n : "HTMLElement"]); +} +var Wt = T(S(), 1); +function er(e) { + return !!e.type.isFluentTriggerComponent; +} +function je(e, t) { + return typeof e == "function" ? e(t) : e ? jc(e, t) : e || null; +} +function jc(e, t) { + if (!Wt.isValidElement(e) || e.type === Wt.Fragment) throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments."); + if (er(e)) { + let o = jc(e.props.children, t); + return Wt.cloneElement(e, void 0, o); + } else return Wt.cloneElement(e, t); +} +var Kc = T(S(), 1); +function Oe(e) { + return Kc.isValidElement(e) ? er(e) ? Oe(e.props.children) : e : null; +} +function zc(e, t) { + return { ...t, [Ge]: e }; +} +function Pi(e, t) { + return function(r, n, s, a, i) { + return qo(n) ? t(zc(r, n), null, s, a, i) : qo(r) ? t(r, n, s, a, i) : e(r, n, s, a, i); + }; +} +var Xc = T(S(), 1); +function Jn(e) { + let { as: t, [wo]: o, [Ge]: r, [Ao]: n, ...s } = e, a = s, i = typeof r == "string" ? t ?? r : r; + return typeof i != "string" && t && (a.as = t), { elementType: i, props: a, renderFunction: n }; +} +var ym = T(Yc(), 1); +var Ke = ym; +var Jc = (e, t, o) => { + let { elementType: r, renderFunction: n, props: s } = Jn(e), a = { ...s, ...t }; + return n ? Ke.jsx(Xc.Fragment, { children: n(r, a) }, o) : Ke.jsx(r, a, o); +}; +var ki = T(S(), 1); +var Qc = (e, t, o) => { + let { elementType: r, renderFunction: n, props: s } = Jn(e), a = { ...s, ...t }; + return n ? Ke.jsx(ki.Fragment, { children: n(r, { ...a, children: Ke.jsxs(ki.Fragment, { children: a.children }, void 0) }) }, o) : Ke.jsxs(r, a, o); +}; +var tr = T(S(), 1); +var R = Pi(Ke.jsx, Jc); +var $ = Pi(Ke.jsxs, Qc); +var Ai = (e, t) => R(Jo, { value: t.provider, children: R(e.root, {}) }); +var wi = T(S(), 1); +var Ei = (e, t) => { + let o = ee(), { children: r, dir: n, targetDocument: s } = e; + return { dir: n || o.dir, targetDocument: s || o.targetDocument, components: { root: wi.Fragment }, root: P.always({ children: r }, { elementType: wi.Fragment }) }; +}; +var ze = (e, t, o) => { + e.addEventListener(t, o, true); +}; +var Ae = (e, t, o) => { + e.removeEventListener(t, o, true); +}; +var We = "keyborg:focusin"; +var Sm = "keyborg:focusout"; +function Im(e) { + let t = e, o = t.document, r = t.HTMLElement.prototype, n = Object.getOwnPropertyDescriptor(r, "focus"); + if (n?.value?.__keyborgNativeFocus) return; + u.__keyborgNativeFocus = m, u.__keyborgFocusDescriptor = n, Object.defineProperty(r, "focus", { configurable: n?.configurable ?? true, enumerable: n?.enumerable ?? false, writable: true, value: u }); + let s = /* @__PURE__ */ new Set(), a = (d) => { + let f = d.target; + if (!f) return; + let g = new CustomEvent(Sm, { cancelable: true, bubbles: true, composed: true, detail: { originalEvent: d } }); + f.dispatchEvent(g); + }, i = (d) => { + let f = d.target; + if (!f) return; + let g = d.composedPath()[0], y = /* @__PURE__ */ new Set(); + for (; g; ) g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? (y.add(g), g = g.host) : g = g.parentNode; + for (let x of s) { + let v = x.deref(); + (!v || !y.has(v)) && (s.delete(x), v && (Ae(v, "focusin", i), Ae(v, "focusout", a))); + } + l(f, d.relatedTarget || void 0); + }, l = (d, f, g) => { + let y = d.shadowRoot; + if (y) { + for (let C of s) if (C.deref() === y) return; + ze(y, "focusin", i), ze(y, "focusout", a), s.add(new WeakRef(y)); + return; + } + let x = { relatedTarget: f, originalEvent: g }, v = new CustomEvent(We, { cancelable: true, bubbles: true, composed: true, detail: x }); + x.isFocusedProgrammatically = d === c[3]?.deref(), c[3] = void 0, d.dispatchEvent(v); + }, c = [i, a, s]; + t.__keyborgData = c, ze(o, "focusin", i), ze(o, "focusout", a); + function u() { + let d = t.__keyborgData; + return d && (d[3] = new WeakRef(this)), m.apply(this, arguments); + } + function m() { + let d = n?.get ? n.get.call(this) : n?.value; + if (typeof d != "function") throw new TypeError("HTMLElement.prototype.focus is not callable"); + return d.apply(this, arguments); + } + let h = o.activeElement; + for (; h && h.shadowRoot; ) l(h), h = h.shadowRoot.activeElement; +} +function Mm(e) { + let t = e, o = t.HTMLElement.prototype, r = Object.getOwnPropertyDescriptor(o, "focus")?.value, n = r?.__keyborgFocusDescriptor, s = t.__keyborgData; + if (s) { + let a = t.document; + Ae(a, "focusin", s[0]), Ae(a, "focusout", s[1]); + for (let i of s[2]) { + let l = i.deref(); + l && (Ae(l, "focusin", s[0]), Ae(l, "focusout", s[1])); + } + s[2].clear(), delete t.__keyborgData; + } + r?.__keyborgNativeFocus && (n ? Object.defineProperty(o, "focus", n) : delete o.focus); +} +var Rm = 0; +function _m(e) { + let t = e, o = false, r, n = () => { + let d = t?.__keyborg?.refs; + if (d) for (let f of Object.keys(d)) d[f]._cb.forEach((g) => g(o)); + }, s = (d) => { + o !== d && (o = d, n()); + }, a = (d) => { + if (d.key === "Tab") return true; + let f = t?.document.activeElement; + return !(f && (f.tagName === "INPUT" || f.tagName === "TEXTAREA" || f.isContentEditable)); + }, i = (d) => { + if (r || o) return; + let f = d.detail; + f.relatedTarget && (f.isFocusedProgrammatically || f.isFocusedProgrammatically === void 0 || s(true)); + }, l = () => { + t && (r && t.clearTimeout(r), r = t.setTimeout(() => { + r = void 0; + }, 1e3)), s(false); + }, c = (d) => { + d.buttons === 0 || d.clientX === 0 && d.clientY === 0 && d.screenX === 0 && d.screenY === 0 || l(); + }, u = (d) => { + !o && a(d) && s(true); + }, m = e.document; + return ze(m, We, i), ze(m, "mousedown", c), ze(e, "keydown", u), ze(m, "touchstart", l), ze(m, "touchend", l), ze(m, "touchcancel", l), Im(e), { dispose: () => { + if (!t) return; + r && (t.clearTimeout(r), r = void 0), Mm(t); + let d = t.document; + Ae(d, We, i), Ae(d, "mousedown", c), Ae(t, "keydown", u), Ae(d, "touchstart", l), Ae(d, "touchend", l), Ae(d, "touchcancel", l), t = void 0; + }, get isNavigatingWithKeyboard() { + return o; + }, set isNavigatingWithKeyboard(d) { + s(d); + } }; +} +function es(e) { + let t = e, o = "k" + ++Rm, r = t, n, s = [], a = t.__keyborg; + a ? n = a.core : n = _m(t); + let i = { isNavigatingWithKeyboard() { + return !!n?.isNavigatingWithKeyboard; + }, subscribe(l) { + s.push(l); + }, unsubscribe(l) { + let c = s.indexOf(l); + c >= 0 && s.splice(c, 1); + }, setVal(l) { + n && (n.isNavigatingWithKeyboard = l); + }, _cb: s, dispose() { + let l = r?.__keyborg; + l?.refs[o] && (delete l.refs[o], Object.keys(l.refs).length === 0 && (l.core.dispose(), delete r.__keyborg)), s.length = 0, n = void 0, r = void 0; + } }; + return a ? a.refs[o] = i : t.__keyborg = { core: n, refs: { [o]: i } }, i; +} +function ts(e) { + e.dispose(); +} +var Pm = "data-keyboard-nav"; +var dx = `:global([${Pm}])`; +var Ni = "data-fui-focus-within"; +var os = T(S(), 1); +function ou(e, t) { + let o = es(t); + o.subscribe((s) => { + s || eu(e); + }); + let r = (s) => { + o.isNavigatingWithKeyboard() && tu(s.target) && km(e); + }, n = (s) => { + (!s.relatedTarget || tu(s.relatedTarget) && !e.contains(s.relatedTarget)) && eu(e); + }; + return e.addEventListener(We, r), e.addEventListener("focusout", n), () => { + e.removeEventListener(We, r), e.removeEventListener("focusout", n), ts(o); + }; +} +function km(e) { + e.setAttribute(Ni, ""); +} +function eu(e) { + e.removeAttribute(Ni); +} +function tu(e) { + return e ? !!(e && typeof e == "object" && "classList" in e && "contains" in e) : false; +} +function $e() { + let { targetDocument: e } = ee(), t = os.useRef(null); + return os.useEffect(() => { + if (e?.defaultView && t.current) return ou(t.current, e.defaultView); + }, [t, e]), t; +} +var ru = T(S(), 1); +var rs = T(S(), 1); +function ns() { + let { targetDocument: e } = ee(), t = rs.useRef(null); + return rs.useEffect(() => { + let o = e?.defaultView; + if (o) { + let r = es(o); + return t.current = r, () => { + ts(r), t.current = null; + }; + } + }, [e]), t; +} +function No(e) { + let t = ns(), o = A(e); + ru.useEffect(() => { + let r = t.current; + if (r) { + let n = (s) => { + o(s); + }; + return r.subscribe(n), n(r.isNavigatingWithKeyboard()), () => { + r.unsubscribe(n); + }; + } + }, [t, o]); +} +var nu = T(S(), 1); +function ss() { + let e = ns(); + return nu.useCallback(() => { + var t, o; + return (o = (t = e.current) === null || t === void 0 ? void 0 : t.isNavigatingWithKeyboard()) !== null && o !== void 0 ? o : false; + }, [e]); +} +var or = T(S(), 1); +function rr(e) { + let { applyStylesToPortals: t, customStyleHooks_unstable: o, dir: r, root: n, targetDocument: s, theme: a, themeClassName: i, overrides_unstable: l } = e, c = or.useMemo(() => ({ dir: r, targetDocument: s }), [r, s]), [u] = or.useState(() => ({})), m = or.useMemo(() => ({ textDirection: r }), [r]); + return { customStyleHooks_unstable: o, overrides_unstable: l, provider: c, textDirection: r, iconDirection: m, tooltip: u, theme: a, themeClassName: t ? n.className : i }; +} +var Di = rr; +var Fi = T(S(), 1); +function Z(e, t, o, r) { + let n = r ? Fi.forwardRef((s, a) => { + let i = t(s, a); + return o(i, r(i)); + }) : Fi.forwardRef((s, a) => o(t(s, a))); + return n.displayName = e, n; +} +var as = Z("Provider", Ei, Ai, Di); +var fe = (e) => { + let { iconOnly: t, iconPosition: o } = e; + return $(e.root, { children: [o !== "after" && e.icon && R(e.icon, {}), !t && e.root.children, o === "after" && e.icon && R(e.icon, {})] }); +}; +var qe = "Enter"; +var Do = "ArrowDown"; +var nr = "ArrowLeft"; +var sr = "ArrowRight"; +var ar = "ArrowUp"; +var Li = "Home"; +var Bi = "PageDown"; +var Oi = "PageUp"; +var at = "Escape"; +function Ee(e, t) { + let { disabled: o, disabledFocusable: r = false, ["aria-disabled"]: n, onClick: s, onKeyDown: a, onKeyUp: i, ...l } = t ?? {}, c = typeof n == "string" ? n === "true" : n, u = o || r || c, m = A((f) => { + u ? (f.preventDefault(), f.stopPropagation()) : s?.(f); + }), h = A((f) => { + if (a?.(f), f.isDefaultPrevented()) return; + let g = f.key; + if (u && (g === qe || g === " ")) { + f.preventDefault(), f.stopPropagation(); + return; + } + if (g === " ") { + f.preventDefault(); + return; + } else g === qe && (f.preventDefault(), f.currentTarget.click()); + }), d = A((f) => { + if (i?.(f), f.isDefaultPrevented()) return; + let g = f.key; + if (u && (g === qe || g === " ")) { + f.preventDefault(), f.stopPropagation(); + return; + } + g === " " && (f.preventDefault(), f.currentTarget.click()); + }); + if (e === "button" || e === void 0) return { ...l, disabled: o && !r, "aria-disabled": r ? true : c, onClick: r ? void 0 : m, onKeyUp: r ? void 0 : i, onKeyDown: r ? void 0 : a }; + { + let f = !!l.href, g = f ? void 0 : "button"; + !g && u && (g = "link"); + let y = { role: g, tabIndex: r || !f && !o ? 0 : void 0, ...l, onClick: m, onKeyUp: d, onKeyDown: h, "aria-disabled": u }; + return e === "a" && u && (y.href = void 0), y; + } +} +var ir = T(S(), 1); +var Re = () => { +}; +var Om = { controller: { active: Re, blur: Re, find: Re, first: Re, focus: Re, focusLastActive: Re, scrollActiveIntoView: Re, last: Re, next: Re, prev: Re, showAttributes: Re, hideAttributes: Re, showFocusVisibleAttributes: Re, hideFocusVisibleAttributes: Re } }; +var Vi = ir.createContext(void 0); +var ls = Vi.Provider; +var Fo = () => { + var e; + return (e = ir.useContext(Vi)) !== null && e !== void 0 ? e : Om; +}; +var cs = () => !!ir.useContext(Vi); +var be = T(S(), 1); +var xt = T(S(), 1); +function au(e) { + let { matchOption: t } = e, { targetDocument: o } = ee(), r = xt.useRef(null), n = xt.useRef(null), s = xt.useCallback((l) => Be(l) && t(l) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP, [t]), a = xt.useCallback((l) => { + l && o ? (n.current = l, r.current = o.createTreeWalker(l, NodeFilter.SHOW_ELEMENT, s)) : (n.current = null, r.current = null); + }, [o, s]); + return { optionWalker: xt.useMemo(() => ({ first: () => !r.current || !n.current ? null : (r.current.currentNode = n.current, r.current.firstChild()), last: () => !r.current || !n.current ? null : (r.current.currentNode = n.current, r.current.lastChild()), next: () => r.current ? r.current.nextNode() : null, prev: () => r.current ? r.current.previousNode() : null, find: (l, c) => { + if (!r.current || !n.current) return null; + let u = c ? o?.getElementById(c) : null; + r.current.currentNode = u ?? n.current; + let m = r.current.currentNode; + for (; m && !l(m.id); ) m = r.current.nextNode(); + return m; + }, setCurrent: (l) => { + r.current && (r.current.currentNode = l); + } }), [o]), listboxCallbackRef: a }; +} +var Hi = "data-activedescendant"; +var vt = "data-activedescendant-focusvisible"; +var Gi = (e) => { + if (!e) return; + let t = iu(e.parentElement); + if (!t) return; + let { offsetHeight: o } = e, r = lu(e, t), { scrollMarginTop: n, scrollMarginBottom: s } = Vm(e), { offsetHeight: a, scrollTop: i } = t, l = r - n < i, c = r + o + s > i + a, u = 2; + l ? t.scrollTo(0, r - n - u) : c && t.scrollTo(0, r + o + s - a + u); +}; +var iu = (e) => e ? e.scrollHeight > e.offsetHeight ? e : iu(e.parentElement) : null; +var lu = (e, t) => !e || e === t ? 0 : e.contains(t) ? t.offsetTop * -1 : e.offsetTop + lu(e.offsetParent, t); +var Vm = (e) => { + var t; + let o = (t = e.ownerDocument) === null || t === void 0 ? void 0 : t.defaultView; + if (!o) return { scrollMarginTop: 0, scrollMarginBottom: 0 }; + let r = o.getComputedStyle(e); + var n; + let s = (n = us(r.scrollMarginTop)) !== null && n !== void 0 ? n : us(r.scrollMarginBlockStart); + var a; + let i = (a = us(r.scrollMarginBottom)) !== null && a !== void 0 ? a : us(r.scrollMarginBlockEnd); + return { scrollMarginTop: s, scrollMarginBottom: i }; +}; +var us = (e) => e ? parseInt(e, 10) : 0; +var cu = (e) => new CustomEvent("activedescendantchange", { bubbles: true, cancelable: false, composed: true, detail: e }); +function ds(e) { + let { imperativeRef: t, matchOption: o } = e, r = be.useRef(false), n = be.useRef(true), s = be.useRef(null), a = be.useRef(null), i = be.useRef(null), l = be.useRef(true), c = be.useCallback(() => { + var b; + (b = i.current) === null || b === void 0 || b.removeAttribute("aria-activedescendant"); + }, []), u = be.useCallback((b) => { + if (b && (s.current = b), l.current && s.current) { + var _; + (_ = i.current) === null || _ === void 0 || _.setAttribute("aria-activedescendant", s.current); + } + }, []); + No((b) => { + r.current = b; + let _ = g(); + _ && (b && n.current ? _.setAttribute(vt, "") : _.removeAttribute(vt)); + }); + let m = A(o), h = be.useRef(null), { optionWalker: d, listboxCallbackRef: f } = au({ matchOption: m }), g = be.useCallback(() => { + var b; + return (b = h.current) === null || b === void 0 ? void 0 : b.querySelector(`#${s.current}`); + }, [h]), y = be.useCallback((b) => { + n.current = b; + let _ = g(); + _ && (b && r.current ? _.setAttribute(vt, "") : _.removeAttribute(vt)); + }, [g]), x = be.useCallback(() => { + let b = g(); + b && (b.removeAttribute(Hi), b.removeAttribute(vt)), c(), a.current = s.current, s.current = null; + var _; + return (_ = b?.id) !== null && _ !== void 0 ? _ : null; + }, [g, c]), v = be.useCallback((b) => { + if (!b) return; + let _ = x(); + Gi(b), u(b.id), b.setAttribute(Hi, ""), r.current && n.current && b.setAttribute(vt, ""); + let I = cu({ id: b.id, previousId: _ }); + b.dispatchEvent(I); + }, [x, u]), C = be.useMemo(() => ({ first: ({ passive: b } = {}) => { + let _ = d.first(); + return b || v(_), _?.id; + }, last: ({ passive: b } = {}) => { + let _ = d.last(); + return b || v(_), _?.id; + }, next: ({ passive: b } = {}) => { + let _ = g(); + if (!_) return; + d.setCurrent(_); + let I = d.next(); + return b || v(I), I?.id; + }, prev: ({ passive: b } = {}) => { + let _ = g(); + if (!_) return; + d.setCurrent(_); + let I = d.prev(); + return b || v(I), I?.id; + }, blur: () => { + x(); + }, active: () => { + var b; + return (b = g()) === null || b === void 0 ? void 0 : b.id; + }, focus: (b) => { + if (!h.current) return; + let _ = h.current.querySelector(`#${b}`); + _ && v(_); + }, focusLastActive: () => { + if (!h.current || !a.current) return; + let b = h.current.querySelector(`#${a.current}`); + if (b) return v(b), true; + }, find(b, { passive: _, startFrom: I } = {}) { + let L = d.find(b, I); + return _ || v(L), L?.id; + }, scrollActiveIntoView: () => { + if (!h.current) return; + let b = g(); + b && Gi(b); + }, showAttributes() { + l.current = true, u(); + }, hideAttributes() { + l.current = false, c(); + }, showFocusVisibleAttributes() { + y(true); + }, hideFocusVisibleAttributes() { + y(false); + } }), [d, h, u, c, v, x, g, y]); + return be.useImperativeHandle(t, () => C), { listboxRef: X(h, f), activeParentRef: i, controller: C }; +} +var it = (e, t) => { + var o, r; + let { icon: n, iconPosition: s = "before", ...a } = e, i = P.optional(n, { elementType: "span" }); + return { disabled: (o = e.disabled) !== null && o !== void 0 ? o : false, disabledFocusable: (r = e.disabledFocusable) !== null && r !== void 0 ? r : false, iconPosition: s, iconOnly: !!(i?.children && !e.children), components: { root: "button", icon: "span" }, root: P.always(Ee(a.as, a), { elementType: "button", defaultProps: { ref: t, type: e.as !== "a" ? "button" : void 0 } }), icon: i }; +}; +var uu = T(S(), 1); +function du(e, t) { + let { checked: o, defaultChecked: r, disabled: n, disabledFocusable: s, isAccessible: a = false } = e, { onClick: i, role: l } = t.root, [c, u] = te({ state: o, defaultState: r, initialState: false }), m = l === "menuitemcheckbox" || l === "checkbox", h = uu.useCallback((d) => { + if (!n && !s) { + if (d.defaultPrevented) return; + u(!c); + } + }, [c, n, s, u]); + return { ...t, checked: c, isAccessible: a, root: { ...t.root, [m ? "aria-checked" : "aria-pressed"]: c, onClick: A(z(i, h)) } }; +} +var lr = (e, t) => { + let { checked: o = false, defaultChecked: r = false, isAccessible: n = false, ...s } = e, a = it(s, t); + return du(e, a); +}; +function N(e) { + if (e === true || e === "true") return ""; + if (!(e === false || e === "false" || e === void 0)) return String(e); +} +var Ui = (e, t) => { + let o = it(e, t); + return o.root["data-disabled"] = N(o.disabled), o.root["data-disabled-focusable"] = N(o.disabledFocusable), o.root["data-icon-only"] = N(o.iconOnly), o.root["data-icon-position"] = o.icon ? o.iconPosition : void 0, o; +}; +var ps = Z("Button", Ui, fe); +var ji = (e, t) => { + let o = lr(e, t); + return o.root["data-disabled"] = N(o.disabled), o.root["data-disabled-focusable"] = N(o.disabledFocusable), o.root["data-icon-only"] = N(o.iconOnly), o.root["data-checked"] = N(o.checked), o.root["data-icon-position"] = o.icon ? o.iconPosition : void 0, o; +}; +var ms = Z("ToggleButton", ji, fe); +var fs = T(S(), 1); +var mu = fs.createContext(void 0); +var bs = mu.Provider; +var Ye = () => fs.useContext(mu); +var fu = T(S(), 1); +var hs = (e) => { + var t, o, r, n; + let { generatedControlId: s, orientation: a, required: i, size: l, validationState: c } = e, u = (t = e.label) === null || t === void 0 ? void 0 : t.htmlFor, m = (o = e.label) === null || o === void 0 ? void 0 : o.id, h = (r = e.validationMessage) === null || r === void 0 ? void 0 : r.id, d = (n = e.hint) === null || n === void 0 ? void 0 : n.id; + return { field: fu.useMemo(() => ({ generatedControlId: s, hintId: d, labelFor: u, labelId: m, orientation: a, required: i, size: l, validationMessageId: h, validationState: c }), [s, d, u, m, a, i, l, h, c]) }; +}; +function ve(e, t) { + return xs(Ye(), e, t); +} +function xs(e, t, o) { + if (!e) return t; + t = { ...t }; + let { generatedControlId: r, hintId: n, labelFor: s, labelId: a, required: i, validationMessageId: l, validationState: c } = e; + if (r) { + var u, m; + (m = (u = t).id) !== null && m !== void 0 || (u.id = r); + } + if (a && (!o?.supportsLabelFor || s !== t.id)) { + var h, d, f; + (f = (h = t)[d = "aria-labelledby"]) !== null && f !== void 0 || (h[d] = a); + } + if ((l || n) && (t["aria-describedby"] = [l, n, t?.["aria-describedby"]].filter(Boolean).join(" ")), c === "error") { + var g, y, x; + (x = (g = t)[y = "aria-invalid"]) !== null && x !== void 0 || (g[y] = true); + } + if (i) if (o?.supportsRequired) { + var v, C; + (C = (v = t).required) !== null && C !== void 0 || (v.required = true); + } else { + var b, _, I; + (I = (b = t)[_ = "aria-required"]) !== null && I !== void 0 || (b[_] = true); + } + if (o?.supportsSize) { + var L, V; + (V = (L = t).size) !== null && V !== void 0 || (L.size = e.size); + } + return t; +} +var $t = (e, t) => { + let { children: o } = e; + return typeof o == "function" && (o = o(xs(t.field) || {})), R(bs, { value: t?.field, children: $(e.root, { children: [e.label && R(e.label, {}), o, e.validationMessage && $(e.validationMessage, { children: [e.validationMessageIcon && R(e.validationMessageIcon, {}), e.validationMessage.children] }), e.hint && R(e.hint, {})] }) }); +}; +var cr = (e, t) => { + let { children: o, required: r = false, validationState: n = e.validationMessage ? "error" : "none" } = e, s = ne("field-"), a = s + "__control", i = P.always(Q("div", { ...e, ref: t }, ["children"]), { elementType: "div" }), l = P.optional(e.label, { defaultProps: { htmlFor: a, id: s + "__label", required: r }, elementType: "label" }), c = P.optional(e.validationMessage, { defaultProps: { id: s + "__validationMessage", role: n === "error" || n === "warning" ? "alert" : void 0 }, elementType: "div" }), u = P.optional(e.hint, { defaultProps: { id: s + "__hint" }, elementType: "div" }), m = P.optional(e.validationMessageIcon, { renderByDefault: false, elementType: "span" }); + return { children: o, generatedControlId: a, required: r, validationState: n, components: { root: "div", label: "label", validationMessage: "div", validationMessageIcon: "span", hint: "div" }, root: i, label: l, validationMessageIcon: m, validationMessage: c, hint: u }; +}; +var ur = (e, t) => { + let o = ve(e, { supportsLabelFor: true, supportsRequired: true }), [r, n] = te({ state: o.value, defaultState: o.defaultValue, initialState: "" }), s = Te({ props: o, primarySlotTagName: "input", excludedPropNames: ["onChange", "value", "defaultValue"] }), a = { components: { root: "span", input: "input", contentBefore: "span", contentAfter: "span" }, input: P.always(o.input, { defaultProps: { type: "text", ref: t, ...s.primary }, elementType: "input" }), contentAfter: P.optional(o.contentAfter, { elementType: "span" }), contentBefore: P.optional(o.contentBefore, { elementType: "span" }), root: P.always(o.root, { defaultProps: s.root, elementType: "span" }) }; + return a.input.value = r, a.input.onChange = A((i) => { + var l; + let c = i.target.value; + (l = o.onChange) === null || l === void 0 || l.call(o, i, { value: c }), n(c); + }), a; +}; +var gt = (e) => $(e.root, { children: [e.contentBefore && R(e.contentBefore, {}), R(e.input, {}), e.contentAfter && R(e.contentAfter, {})] }); +var vs = (e, t) => { + let o = ur(e, t); + return o.root["data-disabled"] = N(o.input.disabled), o.root["data-invalid"] = N(o.input["aria-invalid"]), o; +}; +var Ct = (e) => R(e.root, { children: R(e.textarea, {}) }); +var dr = (e, t) => { + e = ve(e, { supportsLabelFor: true, supportsRequired: true }); + let { resize: o = "none", onChange: r } = e, [n, s] = te({ state: e.value, defaultState: e.defaultValue, initialState: void 0 }), a = Te({ props: e, primarySlotTagName: "textarea", excludedPropNames: ["onChange", "value", "defaultValue"] }), i = { resize: o, components: { root: "span", textarea: "textarea" }, textarea: P.always(e.textarea, { defaultProps: { ref: t, ...a.primary }, elementType: "textarea" }), root: P.always(e.root, { defaultProps: a.root, elementType: "span" }) }; + return i.textarea.value = n, i.textarea.onChange = A((l) => { + let c = l.target.value; + r?.(l, { value: c }), s(c); + }), i; +}; +var gs = (e, t) => { + let o = dr(e, t); + return o.root["data-disabled"] = N(o.textarea.disabled), o.root["data-invalid"] = N(o.textarea["aria-invalid"]), o.root["data-resize"] = o.resize, o; +}; +var of = T(S(), 1); +var pr = (e, t) => { + e = ve(e, { supportsLabelFor: true, supportsRequired: true }); + let { defaultValue: o, value: r, select: n, icon: s, root: a, onChange: i } = e, l = Te({ props: e, primarySlotTagName: "select", excludedPropNames: ["defaultValue", "onChange", "value"] }), c = { components: { root: "span", select: "select", icon: "span" }, select: P.always(n, { defaultProps: { defaultValue: o, value: r, ref: t, ...l.primary }, elementType: "select" }), icon: P.optional(s, { renderByDefault: true, elementType: "span" }), root: P.always(a, { defaultProps: l.root, elementType: "span" }) }; + return c.select.onChange = A((u) => { + i?.(u, { value: u.target.value }); + }), c; +}; +var qt = (e) => $(e.root, { children: [R(e.select, { children: e.select.children }), e.icon && R(e.icon, {})] }); +var Ki = (e, t) => { + let o = pr(e, t); + return o.root["data-disabled"] = N(o.select.disabled), o.root["data-invalid"] = N(o.select["aria-invalid"]), o; +}; +var Cs = Z("Select", Ki, qt); +var af = T(S(), 1); +var mr = (e, t) => { + "use no memo"; + e = ve(e, { supportsLabelFor: true, supportsRequired: true }); + let { disabled: o = false, required: r, labelPosition: n = "after", onChange: s } = e, [a, i] = te({ defaultState: e.defaultChecked, state: e.checked, initialState: false }), l = Te({ props: e, primarySlotTagName: "input", excludedPropNames: ["checked", "defaultChecked", "onChange"] }), c = a === "mixed", u = ne("checkbox-", l.primary.id), m = { checked: a, disabled: o, labelPosition: n, components: { root: "span", input: "input", indicator: "div", label: "label" }, root: P.always(e.root, { defaultProps: { ref: $e(), ...l.root }, elementType: "span" }), input: P.always(e.input, { defaultProps: { type: "checkbox", id: u, ref: t, checked: a === true, ...l.primary }, elementType: "input" }), label: P.optional(e.label, { defaultProps: { htmlFor: u, disabled: o, required: r }, elementType: "label" }), indicator: P.optional(e.indicator, { renderByDefault: true, defaultProps: { "aria-hidden": true }, elementType: "div" }) }; + m.input.onChange = z(m.input.onChange, (d) => { + let f = d.currentTarget.indeterminate ? "mixed" : d.currentTarget.checked; + s?.(d, { checked: f }), i(f); + }); + let h = X(m.input.ref); + return m.input.ref = h, le(() => { + h.current && (h.current.indeterminate = c); + }, [h, c]), m; +}; +var Tt = (e) => $(e.root, { children: [R(e.input, {}), e.labelPosition === "before" && e.label && R(e.label, {}), e.indicator && R(e.indicator, {}), e.labelPosition === "after" && e.label && R(e.label, {})] }); +var Ts = (e, t) => { + let o = mr(e, t); + return o.root["data-disabled"] = N(o.disabled), o.root["data-checked"] = N(o.checked), o.root["data-label-position"] = o.labelPosition, o; +}; +var df = T(S(), 1); +var fr = (e, t) => { + e = ve(e, { supportsLabelFor: true, supportsRequired: true }); + let { checked: o, defaultChecked: r, disabled: n, disabledFocusable: s = false, labelPosition: a = "after", onChange: i, required: l } = e, c = Te({ props: e, primarySlotTagName: "input", excludedPropNames: ["checked", "defaultChecked", "onChange", "disabledFocusable"] }), u = ne("switch-", c.primary.id), m = P.always(e.root, { defaultProps: { ref: $e(), ...c.root }, elementType: "div" }), h = P.always(e.indicator, { defaultProps: { "aria-hidden": true }, elementType: "div" }), d = P.always(e.input, { defaultProps: { checked: o, defaultChecked: r, id: u, ref: t, role: "switch", type: "checkbox", ...c.primary, disabled: n && !s, ...s && { "aria-disabled": true } }, elementType: "input" }); + d.onChange = z(d.onChange, (g) => i?.(g, { checked: g.currentTarget.checked })), d.onClick = z(d.onClick, (g) => { + s && g.preventDefault(); + }), d.onKeyDown = z(d.onKeyDown, (g) => { + s && (g.key === " " || g.key === "Enter") && g.preventDefault(); + }); + let f = P.optional(e.label, { defaultProps: { disabled: n || s, htmlFor: u, required: l }, elementType: "label" }); + return { disabledFocusable: s, labelPosition: a, components: { root: "div", indicator: "div", input: "input", label: "label" }, root: m, indicator: h, input: d, label: f }; +}; +var yt = (e) => { + let { labelPosition: t } = e; + return $(e.root, { children: [R(e.input, {}), t !== "after" && e.label && R(e.label, {}), R(e.indicator, {}), t === "after" && e.label && R(e.label, {})] }); +}; +var ys = (e, t) => { + let o = fr(e, t); + return o.root["data-disabled"] = N(o.input.disabled || o.disabledFocusable), o.root["data-disabled-focusable"] = N(o.disabledFocusable), o.root["data-checked"] = N(o.input.checked), o.root["data-label-position"] = o.labelPosition, o; +}; +var Ss = T(S(), 1); +var Is = Ss.createContext(void 0); +var hf = {}; +var xf = Is.Provider; +var zi = () => Ss.useContext(Is) || hf; +var Yt = (e, t) => R(Is.Provider, { value: t.radioGroup, children: R(e.root, {}) }); +var Xt = (e, t) => { + e = ve(e); + let o = ne("radiogroup-"), { name: r = o, value: n, defaultValue: s, disabled: a, onChange: i, required: l } = e; + return { name: r, value: n, defaultValue: s, disabled: a, required: l, components: { root: "div" }, root: { ref: t, role: "radiogroup", ...P.always(Q("div", e, ["onChange", "name"]), { elementType: "div" }), onChange: A((c) => { + i && Be(c.target, { constructorName: "HTMLInputElement" }) && c.target.type === "radio" && i(c, { value: c.target.value }); + }) } }; +}; +var Cu = T(S(), 1); +var Ms = (e) => { + let { name: t, value: o, defaultValue: r, disabled: n, layout: s, required: a } = e, i = e.root["aria-describedby"]; + return { radioGroup: Cu.useMemo(() => ({ name: t, value: o, defaultValue: r, disabled: n, layout: s, required: a, "aria-describedby": i }), [t, o, r, n, s, a, i]) }; +}; +var St = (e) => $(e.root, { children: [R(e.input, {}), R(e.indicator, {}), e.label && R(e.label, {})] }); +var br = (e, t) => { + let o = zi(), { name: r = o.name, checked: n = o.value !== void 0 ? o.value === e.value : void 0, defaultChecked: s = o.defaultValue !== void 0 ? o.defaultValue === e.value : void 0, labelPosition: a = o.layout === "horizontal-stacked" ? "below" : "after", disabled: i = o.disabled, required: l = o.required, "aria-describedby": c = o["aria-describedby"], onChange: u } = e, m = Te({ props: e, primarySlotTagName: "input", excludedPropNames: ["checked", "defaultChecked", "onChange"] }), h = P.always(e.root, { defaultProps: { ref: $e(), ...m.root }, elementType: "span" }), d = P.always(e.input, { defaultProps: { ref: t, type: "radio", id: ne("radio-", m.primary.id), name: r, checked: n, defaultChecked: s, disabled: i, required: l, "aria-describedby": c, ...m.primary }, elementType: "input" }); + d.onChange = z(d.onChange, (y) => u?.(y, { value: y.currentTarget.value })); + let f = P.optional(e.label, { defaultProps: { htmlFor: d.id, disabled: d.disabled }, elementType: "label" }), g = P.always(e.indicator, { defaultProps: { "aria-hidden": true }, elementType: "div" }); + return { labelPosition: a, components: { root: "span", input: "input", label: "label", indicator: "div" }, root: h, input: d, label: f, indicator: g }; +}; +var Wi = Ms; +var Rs = Z("RadioGroup", Xt, Yt, Wi); +var _s = (e, t) => { + let o = br(e, t); + return o.root["data-disabled"] = N(o.input.disabled), o.root["data-label-position"] = o.labelPosition, o; +}; +var hr = Z("Radio", _s, St); +var $i = (e, t) => { + let o = cr(e, t); + return o.root["data-validate-state"] = o.validationState, o; +}; +var qi = hs; +var Ps = Z("Field", $i, $t, qi); +var Yi = (e) => e <= 0 ? 1 : e; +var Xi = (e, t) => e === void 0 ? e : e < 0 ? 0 : e > t ? t : e; +var xr = (e, t) => { + let o = Ye(); + var r; + let n = Yi((r = e.max) !== null && r !== void 0 ? r : 1), s = Xi(e.value, n), a = P.always(Q("div", { ref: t, role: "progressbar", "aria-valuemin": s !== void 0 ? 0 : void 0, "aria-valuemax": s !== void 0 ? n : void 0, "aria-valuenow": s, "aria-labelledby": o?.labelId, ...e }), { elementType: "div" }); + o && (o.validationMessageId || o.hintId) && (a["aria-describedby"] = [o?.validationMessageId, o?.hintId, a["aria-describedby"]].filter(Boolean).join(" ")); + let i = P.always(e.bar, { elementType: "div" }); + return { max: n, value: s, components: { root: "div", bar: "div", indeterminateMotion: "div" }, root: a, bar: i }; +}; +var Jt = (e) => R(e.root, { children: e.bar && (e.indeterminateMotion ? R(e.indeterminateMotion, { children: R(e.bar, {}) }) : R(e.bar, {})) }); +var Ji = (e, t) => { + let o = xr(e, t); + return o.root["data-indeterminate"] = N(o.value === void 0), o.bar && o.value !== void 0 && (o.bar.style = { width: Math.min(100, Math.max(0, o.value / o.max * 100)) + "%", ...o.bar.style }), o; +}; +var ks = Z("ProgressBar", Ji, Jt); +var Qt = T(S(), 1); +var As = T(tm(), 1); +var _f = (e) => (o) => { + let r = Qt.useRef(o.value), n = Qt.useRef(null); + return n.current || (n.current = { value: r, listeners: [] }), le(() => { + r.current = o.value, (0, As.unstable_runWithPriority)(As.unstable_NormalPriority, () => { + n.current.listeners.forEach((s) => { + s(o.value); + }); + }); + }, [o.value]), Qt.createElement(e, { value: n.current }, o.children); +}; +var ge = (e) => { + let t = Qt.createContext({ value: { current: e }, listeners: [], isDefault: true }); + return t.Provider = _f(t.Provider), delete t.Consumer, t; +}; +var eo = T(S(), 1); +var Ie = (e, t) => { + let o = eo.useContext(e), { value: r, listeners: n } = o, s = t(r.current), [, a] = eo.useReducer((c) => c + 1, 0), i = eo.useRef(t), l = eo.useRef(s); + return le(() => { + i.current = t, l.current = s; + }), le(() => { + let c = (u) => { + try { + let m = i.current(u); + Object.is(l.current, m) || a(); + } catch { + } + }; + return n.push(c), c(r.current), () => { + let u = n.indexOf(c); + u !== -1 && n.splice(u, 1); + }; + }, [n, r]), s; +}; +var Iu = T(S(), 1); +function Ve(e) { + return !Iu.useContext(e).isDefault; +} +var Qi = ge(void 0); +var Pf = { size: "medium", handleToggleButton: () => null, handleRadio: () => null, vertical: false, checkedValues: {} }; +var vr = (e) => Ie(Qi, (t = Pf) => e(t)); +var gr = (e, t) => { + let { vertical: o = false } = e, r = { vertical: o, components: { root: "div" }, root: P.always(Q("div", { role: "toolbar", ref: t, ...o && { "aria-orientation": "vertical" }, ...e }), { elementType: "div" }) }, [n, s] = kf({ checkedValues: e.checkedValues, defaultCheckedValues: e.defaultCheckedValues, onCheckedValueChange: e.onCheckedValueChange }), a = A((l, c, u, m) => { + if (c && u) { + let d = [...n?.[c] || []]; + m ? d.splice(d.indexOf(u), 1) : d.push(u), s?.(l, { name: c, checkedItems: d }); + } + }), i = A((l, c, u, m) => { + c && u && s?.(l, { name: c, checkedItems: [u] }); + }); + return { ...r, handleToggleButton: a, handleRadio: i, checkedValues: n ?? {} }; +}; +var kf = (e) => { + let [t, o] = te({ state: e.checkedValues, defaultState: e.defaultCheckedValues, initialState: {} }), { onCheckedValueChange: r } = e, n = A((s, { name: a, checkedItems: i }) => { + r && r(s, { name: a, checkedItems: i }), o((l) => l ? { ...l, [a]: i } : { [a]: i }); + }); + return [t, n]; +}; +var to = (e, t) => R(Qi.Provider, { value: t.toolbar, children: R(e.root, { children: e.root.children }) }); +var Mu = T(S(), 1); +function Cr(e) { + let { size: t, handleToggleButton: o, vertical: r, checkedValues: n, handleRadio: s } = e; + return { toolbar: Mu.useMemo(() => ({ size: t, vertical: r, handleToggleButton: o, handleRadio: s, checkedValues: n }), [t, r, o, s, n]) }; +} +var Tr = (e, t) => { + let { vertical: o = false, ...r } = e, n = it(r, t); + return { vertical: o, ...n }; +}; +var oo = (e) => R(e.root, { children: e.root.children !== void 0 && R(e.wrapper, { children: e.root.children }) }); +var yr = (e, t) => { + let { vertical: o = false, wrapper: r, ...n } = e, s = ne("divider-"); + return { vertical: o, components: { root: "div", wrapper: "div" }, root: P.always({ role: "separator", "aria-orientation": o ? "vertical" : "horizontal", "aria-labelledby": e.children ? s : void 0, ref: t, ...n }, { elementType: "div" }), wrapper: P.always(r, { defaultProps: { id: s, children: e.children }, elementType: "div" }) }; +}; +var Sr = (e, t) => { + let o = vr((r) => r.vertical); + return yr({ vertical: !o, ...e }, t); +}; +var el = (e, t) => { + let o = gr(e, t); + return o.root.focusgroup = `toolbar ${o.vertical ? "block" : "inline"} wrap`, o.root["data-vertical"] = N(o.vertical), o; +}; +var tl = Cr; +var ws = Z("Toolbar", el, to, tl); +var ol = (e, t) => { + let o = Tr(e, t); + return o.root["data-vertical"] = N(o.vertical), o.root["data-disabled"] = N(o.disabled), o.root["data-disabled-focusable"] = N(o.disabledFocusable), o.root["data-icon-only"] = N(o.iconOnly), o; +}; +var Ir = Z("ToolbarButton", ol, fe); +var rl = (e, t) => { + let o = Sr(e, t); + return o.root["data-vertical"] = N(o.vertical), o; +}; +var Mr = Z("ToolbarDivider", rl, oo); +var Ns = T(S(), 1); +var lt = T(S(), 1); +var Rr = (e, t) => { + let { disabled: o = false, onTabSelect: r, selectTabOnFocus: n = false, vertical: s = false, selectedValue: a, defaultSelectedValue: i, ...l } = e, c = lt.useRef(null), [u, m] = te({ state: a, defaultState: i, initialState: void 0 }), h = lt.useRef(void 0), d = lt.useRef(void 0); + lt.useEffect(() => { + d.current = h.current, h.current = u; + }, [u]); + let f = A((C, b) => { + m(b.value), r?.(C, b); + }), g = lt.useRef({}), y = A((C) => { + let b = JSON.stringify(C.value); + g.current[b] = C; + }), x = A((C) => { + delete g.current[JSON.stringify(C.value)]; + }), v = lt.useCallback(() => ({ selectedValue: h.current, previousSelectedValue: d.current, registeredTabs: g.current }), []); + return { components: { root: "div" }, root: P.always({ ref: X(t, c), role: "tablist", "aria-orientation": s ? "vertical" : "horizontal", ...l }, { elementType: "div" }), disabled: o, selectTabOnFocus: n, selectedValue: u, onRegister: y, onUnregister: x, onSelect: f, getRegisteredTabs: v, vertical: s }; +}; +var Gf = { appearance: "transparent", reserveSelectedTabSpace: true, selectTabOnFocus: false, disabled: false, selectedValue: void 0, onRegister: () => { +}, onUnregister: () => { +}, onSelect: () => { +}, getRegisteredTabs: () => ({ registeredTabs: {} }), size: "medium", vertical: false }; +var Es = ge(void 0); +var _r = Es.Provider; +var Ne = (e) => Ie(Es, (t = Gf) => e(t)); +var ro = (e, t) => R(e.root, { children: R(_r, { value: t.tabList, children: e.root.children }) }); +var Au = T(S(), 1); +function Pr(e) { + let { appearance: t, reserveSelectedTabSpace: o, disabled: r, selectTabOnFocus: n, selectedValue: s, onRegister: a, onUnregister: i, onSelect: l, getRegisteredTabs: c, size: u, vertical: m } = e; + return { tabList: Au.useMemo(() => ({ appearance: t, reserveSelectedTabSpace: o, disabled: r, selectTabOnFocus: n, selectedValue: s, onSelect: l, onRegister: a, onUnregister: i, getRegisteredTabs: c, size: u, vertical: m }), [t, o, r, n, s, l, a, i, c, u, m]) }; +} +var kr = (e, t) => { + let { content: o, disabled: r = false, icon: n, onClick: s, onFocus: a, value: i, ...l } = e, c = Ne((V) => V.selectTabOnFocus), u = Ne((V) => V.disabled), m = Ne((V) => V.selectedValue === i), h = Ne((V) => V.onRegister), d = Ne((V) => V.onUnregister), f = Ne((V) => V.onSelect), g = Ne((V) => !!V.vertical), y = u || r, x = Ns.useRef(null), v = (V) => f(V, { value: i }), C = A(z(s, v)), b = A(z(a, v)); + Ns.useEffect(() => (h({ value: i, ref: x }), () => { + d({ value: i, ref: x }); + }), [h, d, x, i]); + let _ = P.optional(n, { elementType: "span" }), I = P.always(o, { defaultProps: { children: e.children }, elementType: "span" }), L = !!(_?.children && !I.children); + return { components: { root: "button", icon: "span", content: "span", contentReservedSpace: "span" }, root: P.always({ ref: X(t, x), role: "tab", type: "button", "aria-selected": y ? void 0 : `${m}`, value: i, ...l, disabled: y, onClick: C, onFocus: c ? b : a }, { elementType: "button" }), icon: _, iconOnly: L, content: I, disabled: y, selected: m, value: i, vertical: g }; +}; +var ct = (e) => $(e.root, { children: [e.icon && R(e.icon, {}), !e.iconOnly && R(e.content, {}), e.contentReservedSpace && R(e.contentReservedSpace, {})] }); +var Ar = (e, t) => { + let o = kr(e, t); + return o.root.focusgroupstart = N(o.selected), o.root["data-icon-only"] = N(o.iconOnly), o.root["data-selected"] = N(o.selected), o.root["data-disabled"] = N(o.disabled), o; +}; +var nl = (e, t) => { + let o = Rr(e, t); + return o.root.focusgroup = `tablist ${o.vertical ? "block" : "inline"} wrap nomemory`, o.root["data-orientation"] = o.vertical ? "vertical" : "horizontal", o; +}; +var sl = Pr; +var Ds = Z("TabList", nl, ro, sl); +var Fu = T(S(), 1); +var Fs = T(S(), 1); +var Lo = T(S(), 1); +var t1 = { open: false, modalType: "modal", dialogTitleId: "", isNestedDialog: false, inertTrapFocus: false, unmountOnClose: true, requestOpenChange() { +} }; +var wr = Lo.createContext(void 0); +var Er = Lo.createContext(void 0); +var no = () => Lo.useContext(wr) ?? t1; +var al = () => Lo.useContext(Er) ?? false; +var il = (e) => { + let { children: t, modalType: o = "modal", onOpenChange: r, inertTrapFocus: n = false, unmountOnClose: s = true } = e, a = ne("dialog-title-"), [i, l] = o1(t), [c, u] = te({ state: e.open, defaultState: e.defaultOpen, initialState: false }), h = Fs.useContext(wr) !== void 0, d = A((f) => { + r?.(f.event, f); + let g = f.event; + (typeof g.isDefaultPrevented == "function" ? g.isDefaultPrevented() : f.event.defaultPrevented) || u(f.open); + }); + return { open: c, modalType: o, dialogTitleId: a, isNestedDialog: h, inertTrapFocus: n, unmountOnClose: s, trigger: i, content: l, requestOpenChange: d }; +}; +function o1(e) { + let t = Fs.Children.toArray(e); + switch (t.length) { + case 2: + return t; + case 1: + return [void 0, t[0]]; + default: + return [void 0, void 0]; + } +} +var Du = T(S(), 1); +var ll = (e) => { + let { open: t, modalType: o, dialogTitleId: r, isNestedDialog: n, inertTrapFocus: s, unmountOnClose: a, requestOpenChange: i } = e; + return { dialog: Du.useMemo(() => ({ open: t, modalType: o, dialogTitleId: r, isNestedDialog: n, inertTrapFocus: s, unmountOnClose: a, requestOpenChange: i }), [t, o, r, n, s, a, i]), dialogSurface: false }; +}; +var cl = T(S(), 1); +var ul = (e, t) => cl.createElement(wr.Provider, { value: t.dialog }, cl.createElement(Er.Provider, { value: t.dialogSurface }, e.trigger, e.content)); +var Nr = Fu.memo((e) => { + let t = il(e), o = ll(t); + return ul(t, o); +}); +Nr.displayName = "Dialog"; +var Dr = T(S(), 1); +var Ls = /* @__PURE__ */ new WeakMap(); +function Lu(e) { + let t = Ls.get(e); + if (t) { + t.lockCount += 1; + return; + } + Ls.set(e, { lockCount: 1, previousBodyOverflow: e.body.style.overflow }), e.body.style.overflow = "visible clip"; +} +function Bu(e) { + let t = Ls.get(e); + t && (t.lockCount -= 1, !(t.lockCount > 0) && (e.body.style.overflow = t.previousBodyOverflow, Ls.delete(e))); +} +var Ou = typeof CSS < "u" && typeof CSS.supports == "function" && CSS.supports("selector(:popover-open)"); +var Fr = (e, t) => { + let { open: o, modalType: r, unmountOnClose: n, requestOpenChange: s, dialogTitleId: a } = no(), { targetDocument: i } = ee(), l = Dr.useRef(null), c = Dr.useRef(null), u = X(t, l), [m, h] = Dr.useState(o || !n); + (o || !n) && !m && h(true); + let d = A((x) => { + let C = x.newState === "open"; + C !== o && s({ type: "surfaceToggle", open: C, event: x }); + }); + le(() => { + let x = l.current; + if (!x) return; + if (!o) { + if (r === "non-modal") { + typeof x.hidePopover == "function" ? Ou && x.matches(":popover-open") && x.hidePopover() : x.open && x.close(); + let b = c.current; + b && i?.contains(b) && b.focus(), c.current = null; + } else x.open && x.close(); + if (n) { + let b = (x.getAnimations?.({ subtree: true }) ?? []).filter((_) => { + let I = _.effect; + return I && "target" in I && I.target === x && _.playState === "running" && Number.isFinite(I.getComputedTiming().endTime); + }); + if (b.length === 0) h(false); + else { + let _ = false, I = b.length, L = () => { + !_ && --I === 0 && h(false); + }; + return b.forEach((V) => { + V.finished.then(L, L); + }), () => { + _ = true; + }; + } + } + return; + } + let v = r !== "non-modal" && !!i; + v && Lu(i), r === "non-modal" && (c.current = i?.activeElement); + let C; + return r !== "non-modal" && (C = (b) => b.preventDefault(), x.addEventListener("cancel", C)), r !== "non-modal" ? x.open || x.showModal() : typeof x.showPopover == "function" ? (Ou && x.matches(":popover-open") || x.showPopover(), x.addEventListener("toggle", d)) : x.open || x.show(), () => { + C && x.removeEventListener("cancel", C), x.removeEventListener("toggle", d), v && Bu(i); + }; + }, [o, r, i, n, d]); + let f = A((x) => { + if (e.onKeyDown?.(x), x.key === "Escape" && !x.isDefaultPrevented()) { + s({ type: "escapeKeyDown", open: false, event: x }), x.stopPropagation(); + return; + } + if (r === "non-modal" && x.key === "Tab" && !x.shiftKey && !x.isDefaultPrevented() && x.target === x.currentTarget) { + let v = x.currentTarget.querySelector('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'); + v && (x.preventDefault(), v.focus()); + } + }), g = A((x) => { + if (e.onClick?.(x), r !== "modal" || x.isDefaultPrevented() || x.target !== x.currentTarget) return; + let v = x.currentTarget.getBoundingClientRect(); + (x.clientX < v.left || x.clientX > v.right || x.clientY < v.top || x.clientY > v.bottom) && s({ type: "backdropClick", open: false, event: x }); + }); + return { components: { root: "dialog" }, open: o, unmountOnClose: n, modalType: r, shouldRender: m, root: P.always(Q("dialog", { role: r === "alert" ? "alertdialog" : void 0, "aria-modal": r !== "non-modal" ? true : void 0, "aria-labelledby": e["aria-label"] ? void 0 : a || void 0, ...e, tabIndex: -1, ref: u, onKeyDown: f, onClick: g, popover: r === "non-modal" ? "manual" : void 0, "data-open": N(o), "data-modal-type": r }), { elementType: "dialog" }) }; +}; +var Lr = (e) => e.shouldRender ? R(Er.Provider, { value: true, children: R(e.root, {}) }) : null; +var dl = (e) => { + let t = al(), { children: o, action: r = t ? "close" : "open" } = e, n = Oe(o), s = no().requestOpenChange, a = A((i) => { + n?.props?.onClick?.(i), i.isDefaultPrevented() || s({ event: i, type: "triggerClick", open: r === "open" }); + }); + return { children: je(o, { ...n?.props, ref: Ue(n), onClick: a, "aria-haspopup": r === "open" ? "dialog" : void 0 }) }; +}; +var so = (e) => dl(e).children; +so.displayName = "DialogTrigger"; +so.isFluentTriggerComponent = true; +var pl = (e, t) => { + let { dialogTitleId: o } = no(); + return { components: { root: "h2" }, root: P.always(Q("h2", { ref: t, ...e, id: o }), { elementType: "h2" }) }; +}; +var ml = (e) => R(e.root, {}); +var Br = Z("DialogTitle", pl, ml); +var fl = (e, t) => ({ components: { root: "div" }, root: P.always(Q("div", { ref: t, ...e }), { elementType: "div" }) }); +var bl = (e) => R(e.root, {}); +var Or = Z("DialogBody", fl, bl); +var hl = (e, t) => ({ components: { root: "div" }, root: P.always(Q("div", { ref: t, ...e }), { elementType: "div" }) }); +var xl = (e) => R(e.root, {}); +var Vr = Z("DialogActions", hl, xl); +var _e = T(S(), 1); +var n1 = { above: { position: "above", align: "center" }, "above-start": { position: "above", align: "start" }, "above-end": { position: "above", align: "end" }, below: { position: "below", align: "center" }, "below-start": { position: "below", align: "start" }, "below-end": { position: "below", align: "end" }, before: { position: "before", align: "center" }, "before-top": { position: "before", align: "top" }, "before-bottom": { position: "before", align: "bottom" }, after: { position: "after", align: "center" }, "after-top": { position: "after", align: "top" }, "after-bottom": { position: "after", align: "bottom" } }; +function Bo(e) { + return e == null ? {} : typeof e == "string" ? n1[e] : e; +} +var ut = Bo; +var De = T(S(), 1); +var de = { above: "above", below: "below", before: "before", after: "after" }; +var ce = { start: "start", center: "center", end: "end" }; +var Bs = { above: { center: "block-start", start: "block-start span-inline-end", end: "block-start span-inline-start" }, below: { center: "block-end", start: "block-end span-inline-end", end: "block-end span-inline-start" }, before: { center: "inline-start", start: "inline-start span-block-end", end: "inline-start span-block-start" }, after: { center: "inline-end", start: "inline-end span-block-end", end: "inline-end span-block-start" } }; +var s1 = { top: ce.start, bottom: ce.end }; +function Os(e) { + return e === ce.start || e === ce.center || e === ce.end ? e : s1[e] ?? ce.center; +} +function ao(e, t) { + let o = Os(t); + return o === ce.center ? e : e === de.before || e === de.after ? `${e}-${o === ce.start ? "top" : "bottom"}` : `${e}-${o}`; +} +function vl(e) { + let { position: t = de.above, align: o = ce.center } = Bo(e); + return Bs[t][Os(o)]; +} +function gl(e, t) { + return e === de.above ? { alignSelf: ce.end, justifySelf: t } : e === de.below ? { alignSelf: ce.start, justifySelf: t } : e === de.before ? { alignSelf: t, justifySelf: ce.end } : { alignSelf: t, justifySelf: ce.start }; +} +var a1 = 2; +var Vs = (e, t, o) => Math.abs(e - t) <= o; +function i1(e, t, o) { + return e.bottom <= t.top + o ? de.above : e.top >= t.bottom - o ? de.below : e.right <= t.left + o ? de.before : e.left >= t.right - o ? de.after : null; +} +function l1(e, t, o, r) { + let n = e === de.above || e === de.below; + return (n ? Vs(t.left, o.left, r) : Vs(t.top, o.top, r)) ? ce.start : (n ? Vs(t.right, o.right, r) : Vs(t.bottom, o.bottom, r)) ? ce.end : ce.center; +} +function Cl(e, t, o) { + let r = o?.tolerance ?? a1, n = e.getBoundingClientRect(), s = t.getBoundingClientRect(), a = i1(s, n, r); + if (!a) return null; + let i = l1(a, s, n, r), l = ao(a, i); + return { position: a, align: i, placement: l }; +} +function Tl(e) { + let t = false; + return () => { + t || (t = true, Promise.resolve().then(() => { + t = false, e(); + })); + }; +} +function yl(e, t, o, r) { + let n = t === de.above || t === de.below; + if (o) { + let s = `${o}px`; + n ? (e.style.marginBlockStart = s, e.style.marginBlockEnd = s) : (e.style.marginInlineStart = s, e.style.marginInlineEnd = s); + } + if (r) { + let s = `${r}px`; + n ? (e.style.marginInlineStart = s, e.style.marginInlineEnd = s) : (e.style.marginBlockStart = s, e.style.marginBlockEnd = s); + } +} +function Sl(e) { + return typeof e == "number" ? { mainAxis: e, crossAxis: 0 } : e && typeof e == "object" ? { mainAxis: e.mainAxis ?? 0, crossAxis: e.crossAxis ?? 0 } : { mainAxis: 0, crossAxis: 0 }; +} +function Hs(e) { + return e && "nodeType" in e ? e : null; +} +function Vu(e, t, o, r = false) { + let n = A(() => { + if (!e || !t) return; + let s = Cl(t, e); + s && e.getAttribute("data-placement") !== s.placement && e.setAttribute("data-placement", s.placement); + }); + return le(() => { + if (r || !e || !t) return; + let s = o?.defaultView; + if (!s) return; + let a = Tl(n), i = s.ResizeObserver, l = i ? new i((c) => { + c.every((m) => m.contentRect.width > 0 && m.contentRect.height > 0) && a(); + }) : null; + return l?.observe(e), l?.observe(t), s.addEventListener("scroll", a, { capture: true, passive: true }), s.addEventListener("resize", a), a(), () => { + l?.disconnect(), s.removeEventListener("scroll", a, { capture: true }), s.removeEventListener("resize", a); + }; + }, [e, t, o, r, n]), n; +} +var c1 = ["flip-block", "flip-inline", "flip-block flip-inline"]; +var u1 = []; +var Hu = (e) => e.style.getPropertyValue("anchor-name").split(",").map((t) => t.trim()).filter(Boolean); +function dt(e) { + let { pinned: t, target: o = null, align: r = ce.center, position: n = de.above, fallbackPositions: s = u1, offset: a, coverTarget: i = false, strategy: l = "fixed", matchTargetSize: c, positioningRef: u } = e, m = Os(r), { mainAxis: h, crossAxis: d } = Sl(a), f = De.useMemo(() => i ? gl(n, m) : null, [i, n, m]), [g, y] = De.useState(null), [x, v] = De.useState(null), [C, b] = De.useState(null), _ = C ?? Hs(o) ?? g, I = `--${ne("popover-anchor-")}`, L = Bs[n][m], V = ao(n, m), { targetDocument: w } = ee(), M = De.useMemo(() => s.map(vl), [s]), B = Vu(x, _, w, i); + De.useImperativeHandle(u, () => ({ setTarget: (D) => { + b(Hs(D)); + }, updatePosition: B }), [B]), le(() => { + if (_) { + if (I) { + let D = Hu(_); + D.includes(I) || _.style.setProperty("anchor-name", [...D, I].join(", ")); + } + return () => { + if (I) { + let D = Hu(_).filter((K) => K !== I); + D.length > 0 ? _.style.setProperty("anchor-name", D.join(", ")) : _.style.removeProperty("anchor-name"); + } + }; + } + }, [_, I]); + let j = De.useCallback((D) => { + y(D); + }, []), E = De.useCallback((D) => { + if (v(D), !!D) { + if (D.style.setProperty("position", l), D.style.setProperty("inset", "auto"), D.style.setProperty("margin", "0"), yl(D, n, h, d), c === "width" ? D.style.setProperty("width", "anchor-size(width)") : D.style.removeProperty("width"), D.style.setProperty("position-anchor", I), D.setAttribute("data-placement", V), f) { + D.style.setProperty("position-area", "center"), D.style.setProperty("align-self", f.alignSelf), D.style.setProperty("justify-self", f.justifySelf), D.style.removeProperty("position-try-fallbacks"); + return; + } + if (D.style.setProperty("position-area", L), m === ce.center ? D.style.setProperty("place-self", "anchor-center") : (D.style.removeProperty("place-self"), D.style.removeProperty("align-self"), D.style.removeProperty("justify-self")), t) { + D.style.removeProperty("position-try-fallbacks"); + return; + } + M.length > 0 ? D.style.setProperty("position-try-fallbacks", M.join(", ")) : D.style.setProperty("position-try-fallbacks", c1.join(", ")); + } + }, [I, L, V, M, t, n, m, h, d, f, l, c]); + return { targetRef: j, containerRef: E }; +} +var Hr = (e) => !!e && typeof e.showModal == "function"; +var Oo = (e) => { + let t = e.getRootNode(), o = e.ownerDocument.defaultView?.ShadowRoot; + return o && t instanceof o ? t.activeElement ?? e.ownerDocument.activeElement : e.ownerDocument.activeElement; +}; +var Il = (e) => { + let { openOnHover: t = false, openOnContext: o = false, mouseLeaveDelay: r = 500, withArrow: n = false, trapFocus: s = false } = e, [a, i] = te({ state: e.open, defaultState: e.defaultOpen, initialState: false }), [l, c] = _e.useState(a), u = _e.useRef(null), m = _e.useRef(null), [h, d] = _e.useState(void 0), f = A((k, H) => { + e.onOpenChange?.(k, { event: k, type: k.type, open: H }); + }), [g, y] = Ze(), x = A((k, H) => { + if (y(), H && k.type === "contextmenu") { + let ie = k; + d({ x: ie.clientX, y: ie.clientY }); + } + H || d(void 0), k.type === "mouseleave" ? g(() => { + i(H), f(k, H); + }, r) : (H && e.open === void 0 && c(true), i(H), f(k, H)); + }), v = _e.useCallback((k) => { + x(k, !a); + }, [x, a]), C = _e.useRef(null), b = _e.useRef(null), _ = _e.useRef(null), I = ne("fui-popover-surface-"), L = e.id ?? I, V = dt(ut(e.positioning)), w = A(() => { + let k = b.current; + if (!k) return; + let H = Oo(k); + (u.current ?? k.contains(H)) && (!H || H === k.ownerDocument.body || k.contains(H)) && C.current?.isConnected && C.current.focus(), u.current = null, m.current = null, c(false); + }), M = A((k) => { + let ie = k.newState === "open", ot = b.current; + k.currentTarget !== ot || !ot || ot.matches(":popover-open") !== ie || (ie || w(), ie !== a && (i(ie), e.onOpenChange?.(k, { event: k, type: k.type, open: ie }))); + }), B = A((k) => { + let H = b.current; + k.currentTarget !== H || Hr(H) && H.open || (w(), a && (i(false), e.onOpenChange?.(k, { event: k, type: k.type, open: false }))); + }), j = a || l; + le(() => { + let k = b.current; + if (!k || !j) return; + let H = (ie) => { + (ie.type === "cancel" || ie.newState === "closed") && (u.current = k.contains(Oo(k))); + }; + if (s) { + if (!Hr(k)) return; + let ie = () => { + u.current = k.open ? null : true; + }; + return k.addEventListener("close", B), k.addEventListener("cancel", H), k.addEventListener("beforetoggle", H), k.addEventListener("focusout", ie), () => { + k.removeEventListener("close", B), k.removeEventListener("cancel", H), k.removeEventListener("beforetoggle", H), k.removeEventListener("focusout", ie); + }; + } + if (typeof k.showPopover == "function") return k.addEventListener("toggle", M), k.addEventListener("beforetoggle", H), () => { + k.removeEventListener("toggle", M), k.removeEventListener("beforetoggle", H); + }; + }), le(() => { + let k = b.current; + if (k) { + if (a) { + l || c(true), u.current = null, s ? (Hr(k) && !k.open && k.showModal(), Hr(k) && k.open && (m.current = k)) : typeof k.showPopover == "function" && !k.matches(":popover-open") && (k.showPopover(), k.matches(":popover-open") && (m.current = k)); + return; + } + s ? Hr(k) && k.open ? (u.current = k.contains(Oo(k)), k.close()) : m.current !== k && (u.current = k.contains(Oo(k)), w()) : typeof k.hidePopover == "function" ? k.matches(":popover-open") ? (u.current = k.contains(Oo(k)), k.hidePopover()) : m.current !== k && w() : (u.current = k.contains(Oo(k)), w()); + } + }, [a, s, l, e.children, b, w]); + let E = _e.Children.toArray(e.children), D, K; + return E.length === 2 ? (D = E[0], K = E[1]) : E.length === 1 && (K = E[0]), { open: a, setOpen: x, toggleOpen: v, triggerRef: C, contentRef: b, arrowRef: _, popoverTrigger: D, popoverSurface: K, openOnHover: t, openOnContext: o, withArrow: n, trapFocus: s, onOpenChange: e.onOpenChange, contextTarget: h, setContextTarget: d, positioning: V, surfaceId: L, shouldRenderSurface: j }; +}; +var Ml = (e) => { + let { open: t, setOpen: o, toggleOpen: r, triggerRef: n, contentRef: s, arrowRef: a, openOnHover: i, openOnContext: l, withArrow: c, trapFocus: u, positioning: m, surfaceId: h } = e; + return { popover: { open: t, setOpen: o, toggleOpen: r, triggerRef: n, contentRef: s, arrowRef: a, openOnHover: i, openOnContext: l, withArrow: c, trapFocus: u, positioning: { targetRef: m.targetRef, containerRef: m.containerRef }, surfaceId: h } }; +}; +var Uu = T(S(), 1); +var Gu = ge(void 0); +var d1 = { open: false, setOpen: () => null, toggleOpen: () => null, triggerRef: { current: null }, contentRef: { current: null }, arrowRef: { current: null }, openOnContext: false, openOnHover: false, withArrow: false, trapFocus: false, positioning: { targetRef: () => { +}, containerRef: () => { +} }, surfaceId: "" }; +var Zu = Gu.Provider; +var me = (e) => Ie(Gu, (t = d1) => e(t)); +var Rl = (e, t) => Uu.createElement(Zu, { value: t.popover }, e.popoverTrigger, e.shouldRenderSurface ? e.popoverSurface : null); +var Vo = (e) => { + let t = Il(e), o = Ml(t); + return Rl(t, o); +}; +Vo.displayName = "Popover"; +var Gs = (e) => { + let { children: t, disableButtonEnhancement: o = false } = e, r = Oe(t), n = me((b) => b.open), s = me((b) => b.setOpen), a = me((b) => b.toggleOpen), i = me((b) => b.triggerRef), l = me((b) => b.openOnHover), c = me((b) => b.openOnContext), u = me((b) => b.positioning), m = me((b) => b.surfaceId), { targetDocument: h } = ee(), d = (b) => { + if (!c || !h) return; + b.preventDefault(); + let _ = b.nativeEvent; + h.addEventListener("pointerup", () => s(_, true), { once: true, capture: true }); + }, f = (b) => { + c || a(b); + }, g = (b) => { + b.key === at && n && !b.isDefaultPrevented() && (s(b, false), b.preventDefault()); + }, y = (b) => { + l && s(b, true); + }, x = (b) => { + l && s(b, false); + }, v = { "aria-expanded": `${n}`, "aria-haspopup": "true", "aria-details": n ? m : void 0, "data-open": N(n), ...r?.props, onMouseEnter: A(z(r?.props.onMouseEnter, y)), onMouseLeave: A(z(r?.props.onMouseLeave, x)), onContextMenu: A(z(r?.props.onContextMenu, d)), onClick: A(z(r?.props.onClick, f)), onKeyDown: A(z(r?.props.onKeyDown, g)), ref: X(i, u.targetRef, Ue(r)) }, C = Ee(r?.type === "button" || r?.type === "a" ? r.type : "div", v); + return { children: je(t, c || o ? v : C) }; +}; +var Zs = (e) => e.children; +var It = (e) => { + let t = Gs(e); + return Zs(t); +}; +It.displayName = "PopoverTrigger"; +It.isFluentTriggerComponent = true; +var Us = (e, t) => { + let o = me((f) => f.contentRef), r = me((f) => f.openOnHover), n = me((f) => f.setOpen), s = me((f) => f.arrowRef), a = me((f) => f.withArrow), i = me((f) => f.open), l = me((f) => f.positioning), c = me((f) => f.surfaceId), u = me((f) => f.trapFocus), m = { withArrow: a, arrowRef: s, components: { root: "dialog" }, root: P.always({ ref: X(t, o, l.containerRef), role: u ? "dialog" : "group", ...e, id: c, "data-popover-surface": "", "data-open": N(i) }, { defaultProps: { popover: u ? void 0 : "auto" }, elementType: "dialog" }) }, { onMouseEnter: h, onMouseLeave: d } = m.root; + return m.root.onMouseEnter = A((f) => { + r && n(f, true), h?.(f); + }), m.root.onMouseLeave = A((f) => { + r && n(f, false), d?.(f); + }), m; +}; +var js = (e) => $(e.root, { children: [e.withArrow && R("div", { ref: e.arrowRef, "data-arrow": "" }), e.root.children] }); +var Ho = Z("PopoverSurface", Us, js); +var Xe = T(S(), 1); +var Ks = ge(void 0); +var m1 = { open: false, setOpen: () => false, checkedValues: {}, onCheckedValueChange: () => null, isSubmenu: false, triggerRef: { current: null }, menuPopoverRef: { current: null }, mountNode: null, triggerId: "", openOnContext: false, openOnHover: false, hasIcons: false, hasCheckmarks: false, inline: false, persistOnItemClick: false }; +var zs = Ks.Provider; +var U = (e) => Ie(Ks, (t = m1) => e(t)); +var Ws = T(S(), 1); +var ju = Ws.createContext(void 0); +var f1 = false; +var Ku = ju.Provider; +var zu = () => { + var e; + return (e = Ws.useContext(ju)) !== null && e !== void 0 ? e : f1; +}; +var $s = T(S(), 1); +var Wu = $s.createContext(void 0); +var b1 = { headerId: "" }; +var $u = Wu.Provider; +var qu = () => { + var e; + return (e = $s.useContext(Wu)) !== null && e !== void 0 ? e : b1; +}; +var qs = ge(void 0); +var h1 = { checkedValues: {}, setFocusByFirstCharacter: () => null, toggleCheckbox: () => null, selectRadio: () => null, hasIcons: false, hasCheckmarks: false }; +var Yu = qs.Provider; +var Me = (e) => Ie(qs, (t = h1) => e(t)); +var x1 = T(S(), 1); +var Go = "fuimenuenter"; +var Ys = (e, t) => { + e.dispatchEvent(new CustomEvent(Go, { bubbles: true, detail: { nativeEvent: t } })); +}; +function Gr() { + let e = U((o) => o.isSubmenu), t = Ve(qs); + return e || t; +} +var _l = T(S(), 1); +var Xs = (e) => { + let { targetDocument: t } = ee(), o = U((s) => s.triggerRef), r = U((s) => s.inline); + return _l.useRef(null); +}; +var Js = T(S(), 1); +var Pl = "fuimenusafezonetimeout"; +var kl = (e) => { + let t = Js.useRef(null); + return Js.useCallback((o) => { + var r; + (r = t.current) === null || r === void 0 || r.removeEventListener(Pl, e), o?.addEventListener(Pl, e), t.current = o; + }, [e]); +}; +var Xu = T(S(), 1); +function Zr(e) { + let { checkedValues: t, hasCheckmarks: o, hasIcons: r, inline: n, isSubmenu: s, menuPopoverRef: a, mountNode: i, onCheckedValueChange: l, open: c, openOnContext: u, openOnHover: m, persistOnItemClick: h, safeZone: d, setOpen: f, triggerId: g, triggerRef: y } = e; + return { menu: Xu.useMemo(() => ({ checkedValues: t, hasCheckmarks: o, hasIcons: r, inline: n, isSubmenu: s, menuPopoverRef: a, mountNode: i, onCheckedValueChange: l, open: c, openOnContext: u, openOnHover: m, persistOnItemClick: h, safeZone: d, setOpen: f, triggerId: g, triggerRef: y }), [t, o, r, n, s, a, i, l, c, u, m, h, d, f, g, y]) }; +} +var Mt = (e, t) => ({ components: { root: "div" }, root: P.always(Q("div", { role: "presentation", "aria-hidden": true, ...e, ref: t }), { elementType: "div" }) }); +var Rt = (e) => R(e.root, {}); +function _t(e, t) { + let o = ne("menu-group"); + return { components: { root: "div" }, root: P.always(Q("div", { ref: t, "aria-labelledby": o, role: "group", ...e }), { elementType: "div" }), headerId: o }; +} +var Pt = (e, t) => R($u, { value: t.menuGroup, children: R(e.root, {}) }); +var Ju = T(S(), 1); +function kt(e) { + let { headerId: t } = e; + return { menuGroup: Ju.useMemo(() => ({ headerId: t }), [t]) }; +} +function At(e, t) { + let { headerId: o } = qu(); + return { components: { root: "div" }, root: P.always(Q("div", { ref: t, id: o, ...e }), { elementType: "div" }) }; +} +var wt = (e) => R(e.root, {}); +var El = T(S(), 1); +var Qu = (e, t) => { + let o = Me((n) => n.setFocusByFirstCharacter), { onKeyDown: r } = e.root; + return e.root.onKeyDown = (n) => { + var s; + r?.(n), !(((s = n.key) === null || s === void 0 ? void 0 : s.length) > 1) && t.current && o?.(n, t.current); + }, e; +}; +var Qs = T(S(), 1); +var ed = Qs.createContext(void 0); +var td = { setMultiline: () => null }; +var Jk = ed.Provider; +var Al = () => { + var e; + return (e = Qs.useContext(ed)) !== null && e !== void 0 ? e : td; +}; +var wl = () => Al() !== td; +var pt = (e, t) => { + let o = zu(), r = U((v) => v.persistOnItemClick), { as: n = "div", disabled: s = false, hasSubmenu: a = o, persistOnClick: i = r, content: l, ...c } = e, { hasIcons: u, hasCheckmarks: m } = N1({ hasSubmenu: a }), h = U((v) => v.setOpen), d = U((v) => v.open); + E1({ multiline: !!e.subText, hasSubmenu: a }); + let f = El.useRef(null), g = El.useRef(false), y = Xs(D1(e.role)), x = { hasSubmenu: a, submenuOpen: a && d, disabled: s, persistOnClick: i, components: { root: "div", icon: "span", checkmark: "span", submenuIndicator: "span", content: "span", secondaryContent: "span", subText: "span" }, root: P.always(Q(n, Ee(n, { role: "menuitem", ...c, disabled: false, disabledFocusable: s, ref: X(t, f, y), onKeyDown: A((v) => { + var C; + (C = e.onKeyDown) === null || C === void 0 || C.call(e, v), !v.isDefaultPrevented() && (v.key === " " || v.key === qe) && (g.current = true); + }), onMouseMove: A((v) => { + var C; + if (v.currentTarget.ownerDocument.activeElement !== v.currentTarget) { + var b; + (b = f.current) === null || b === void 0 || b.focus(); + } + (C = e.onMouseMove) === null || C === void 0 || C.call(e, v); + }), onClick: A((v) => { + var C; + !a && !i && (h(v, { open: false, keyboard: g.current, bubble: true, type: "menuItemClick", event: v }), g.current = false), (C = e.onClick) === null || C === void 0 || C.call(e, v); + }) })), { elementType: "div" }), icon: P.optional(e.icon, { renderByDefault: u, elementType: "span" }), checkmark: P.optional(e.checkmark, { renderByDefault: m, elementType: "span" }), submenuIndicator: P.optional(e.submenuIndicator, { renderByDefault: a, elementType: "span" }), content: P.optional(e.content, { renderByDefault: !!e.children, defaultProps: { children: e.children }, elementType: "span" }), secondaryContent: P.optional(e.secondaryContent, { elementType: "span" }), subText: P.optional(e.subText, { elementType: "span" }) }; + return Qu(x, f), x; +}; +var E1 = (e) => { + let { hasSubmenu: t, multiline: o } = e, r = wl() && t, { setMultiline: n } = Al(); + le(() => { + r || n(o); + }, [n, o, r]); +}; +var N1 = (e) => { + let { hasSubmenu: t } = e, o = Me((s) => s.hasIcons), r = Me((s) => s.hasCheckmarks), n = wl() && t; + return { hasIcons: o && !n, hasCheckmarks: r && !n }; +}; +var D1 = (e) => { + switch (e) { + case "menuitemcheckbox": + return "MenuItemCheckbox"; + case "menuitemradio": + return "MenuItemRadio"; + } + return "MenuItem"; +}; +var Et = (e) => $(e.root, { children: [e.checkmark && R(e.checkmark, {}), e.icon && R(e.icon, {}), e.content && $(e.content, { children: [e.content.children, e.subText && R(e.subText, {})] }), e.secondaryContent && R(e.secondaryContent, {}), e.submenuIndicator && R(e.submenuIndicator, {})] }); +var V1 = T(S(), 1); +var Ur = (e, t) => { + let o = Me((i) => i.toggleCheckbox), { name: r, value: n } = e, s = Me((i) => { + var l; + return (((l = i.checkedValues) === null || l === void 0 ? void 0 : l[r]) || []).indexOf(n) !== -1; + }); + return { ...pt({ role: "menuitemcheckbox", persistOnClick: true, ...e, "aria-checked": s, checkmark: P.optional(e.checkmark, { renderByDefault: true, elementType: "span" }), onClick: (i) => { + var l; + o?.(i, r, n, s), (l = e.onClick) === null || l === void 0 || l.call(e, i); + } }, t), name: r, value: n, checked: s }; +}; +var Nt = (e) => $(e.root, { children: [e.checkmark && R(e.checkmark, {}), e.icon && R(e.icon, {}), e.content && $(e.content, { children: [e.content.children, e.subText && R(e.subText, {})] }), e.secondaryContent && R(e.secondaryContent, {})] }); +var U1 = T(S(), 1); +var jr = (e, t) => { + let { name: o, value: r } = e, n = Me((a) => { + var i; + return (((i = a.checkedValues) === null || i === void 0 ? void 0 : i[o]) || []).indexOf(r) !== -1; + }), s = Me((a) => a.selectRadio); + return { ...pt({ ...e, role: "menuitemradio", "aria-checked": n, checkmark: P.optional(e.checkmark, { renderByDefault: true, elementType: "span" }), onClick: (a) => { + var i; + s?.(a, o, r, n), (i = e.onClick) === null || i === void 0 || i.call(e, a); + } }, t), checked: n, name: o, value: r }; +}; +var Dt = (e) => $(e.root, { children: [e.checkmark && R(e.checkmark, {}), e.icon && R(e.icon, {}), e.content && $(e.content, { children: [e.content.children, e.subText && R(e.subText, {})] }), e.secondaryContent && R(e.secondaryContent, {})] }); +var Kr = T(S(), 1); +var W1 = ["menuitem", "menuitemcheckbox", "menuitemradio"]; +var $1 = W1.map((e) => `[role="${e}"]`).join(","); +var zr = (e, t) => { + var o, r, n, s, a, i; + let l = U((I) => I.triggerId), c = U((I) => I.checkedValues), u = U((I) => I.onCheckedValueChange), m = U((I) => I.hasIcons), h = U((I) => I.hasCheckmarks), d = Ve(Ks), f = Kr.useRef(null), g = Xs("MenuList"), y = Kr.useCallback((I, L) => { + if (!f.current) return; + let V = Array.from(f.current.querySelectorAll($1)); + q1(V, I.key, L); + }, []), [x, v] = te({ state: (o = e.checkedValues) !== null && o !== void 0 ? o : d ? c : void 0, defaultState: e.defaultCheckedValues, initialState: {} }), C = (r = e.onCheckedValueChange) !== null && r !== void 0 ? r : d ? u : void 0, b = A((I, L, V, w) => { + let B = [...x?.[L] || []]; + w ? B.splice(B.indexOf(V), 1) : B.push(V), C?.(I, { name: L, checkedItems: B }), v((j) => ({ ...j, [L]: B })); + }), _ = A((I, L, V) => { + let w = [V]; + v((M) => ({ ...M, [L]: w })), C?.(I, { name: L, checkedItems: w }); + }); + return { components: { root: "div" }, root: P.always(Q("div", { ref: X(t, f, g), role: "menu", "aria-labelledby": l, ...e }), { elementType: "div" }), checkedValues: x, hasIcons: (n = (s = e.hasIcons) !== null && s !== void 0 ? s : m) !== null && n !== void 0 ? n : false, hasCheckmarks: (a = (i = e.hasCheckmarks) !== null && i !== void 0 ? i : h) !== null && a !== void 0 ? a : false, hasMenuContext: d, setFocusByFirstCharacter: y, selectRadio: _, toggleCheckbox: b }; +}; +var q1 = (e, t, o) => { + let r = e.indexOf(o) + 1; + r === e.length && (r = 0); + let n = e.map((l) => { + var c; + return (c = l.textContent) === null || c === void 0 ? void 0 : c.charAt(0).toLowerCase(); + }), s = t.toLowerCase(), a = (l) => { + for (let c = l; c < n.length; c++) if (s === n[c]) return c; + return -1; + }, i = a(r); + i === -1 && (i = a(0)), i > -1 && e[i].focus(); +}; +var Wr = (e, t) => R(Yu, { value: t.menuList, children: R(e.root, {}) }); +var nd = T(S(), 1); +function Ft(e) { + let { checkedValues: t, hasCheckmarks: o, hasIcons: r, selectRadio: n, setFocusByFirstCharacter: s, toggleCheckbox: a } = e; + return { menuList: nd.useMemo(() => ({ checkedValues: t, hasCheckmarks: o, hasIcons: r, selectRadio: n, setFocusByFirstCharacter: s, toggleCheckbox: a }), [t, o, r, n, s, a]) }; +} +var Zo = T(S(), 1); +var $r = (e, t) => { + var o; + let r = U((I) => I.safeZone), n = U((I) => I.menuPopoverRef), s = U((I) => I.setOpen), a = U((I) => I.open), i = U((I) => I.openOnHover), l = U((I) => I.triggerRef), c = Gr(), u = Me((I) => { + var L; + return (L = I.shouldCloseOnArrowLeft) !== null && L !== void 0 ? L : true; + }), m = Zo.useRef(true), [h, d] = Ze(), { dir: f } = ee(), g = f === "ltr" ? nr : sr, y = Zo.useCallback((I) => { + I && I.addEventListener("mouseover", (L) => { + m.current && (m.current = false, Ys(n.current, L), h(() => { + m.current = true; + }, 250)); + }); + }, [n, h]); + Zo.useEffect(() => () => d(), [d]); + let x = (o = U((I) => I.inline)) !== null && o !== void 0 ? o : false, v = U((I) => I.mountNode), C = P.always(Q("div", { role: "presentation", ...e, ref: X(t, n, y) }), { elementType: "div" }), { onMouseEnter: b, onKeyDown: _ } = C; + return C.onMouseEnter = A((I) => { + (i || c) && s(I, { open: true, keyboard: false, type: "menuPopoverMouseEnter", event: I }), b?.(I); + }), C.onKeyDown = A((I) => { + let L = I.key; + if (L === at || c && u && L === g) { + var V; + a && (!((V = n.current) === null || V === void 0) && V.contains(I.target)) && !I.isDefaultPrevented() && (s(I, { open: false, keyboard: true, type: "menuPopoverKeyDown", event: I }), I.preventDefault()); + } + if (L === "Tab" && (s(I, { open: false, keyboard: true, type: "menuPopoverKeyDown", event: I }), !c)) { + var w; + (w = l.current) === null || w === void 0 || w.focus(); + } + _?.(I); + }), { inline: x, mountNode: v, safeZone: r, components: { root: "div" }, root: C }; +}; +var qr = T(S(), 1); +function r0() { +} +var Yr = (e) => { + var t; + let { children: o, disableButtonEnhancement: r = false, focusFirst: n } = e, s = U((E) => E.triggerRef), a = U((E) => E.setOpen), i = U((E) => E.open), l = U((E) => E.triggerId), c = U((E) => E.openOnHover), u = U((E) => E.openOnContext), m = Gr(), h = Me((E) => { + var D; + return (D = E.shouldOpenOnArrowRight) !== null && D !== void 0 ? D : true; + }), d = qr.useRef(false), f = qr.useRef(false), g = qr.useRef(false), { dir: y } = ee(), x = y === "ltr" ? sr : nr, v = Oe(o), C = kl(A(() => { + m && (f.current = true); + })), b = (E) => { + Uo(E) || E.isDefaultPrevented() || u && (E.preventDefault(), a(E, { open: true, keyboard: false, type: "menuTriggerContextMenu", event: E })); + }, _ = (E) => { + Uo(E) || u || (a(E, { open: !i, keyboard: d.current, type: "menuTriggerClick", event: E }), d.current = false); + }, I = (E) => { + if (Uo(E) || E.isDefaultPrevented()) return; + let D = E.key; + !u && (m && h && D === x || !m && D === Do) && a(E, { open: true, keyboard: true, type: "menuTriggerKeyDown", event: E }), D === at && !m && a(E, { open: false, keyboard: true, type: "menuTriggerKeyDown", event: E }), i && D === x && m && h && n?.(); + }, L = (E) => { + Uo(E) || c && (g.current ? a(E, { open: true, keyboard: false, type: "menuTriggerMouseEnter", event: E }) : f.current && (a(E, { open: true, keyboard: false, ignoreHoverDelay: true, type: "menuTriggerMouseEnter", event: E }), f.current = false)); + }, V = (E) => { + Uo(E) || c && !g.current && (a(E, { open: true, keyboard: false, type: "menuTriggerMouseMove", event: E }), g.current = true); + }, w = (E) => { + Uo(E) || c && a(E, { open: false, keyboard: false, type: "menuTriggerMouseLeave", event: E }); + }, M = { id: l, ...v?.props, ref: X(s, Ue(v), C), onMouseEnter: A((t = v?.props.onMouseEnter) !== null && t !== void 0 ? t : r0), onMouseLeave: A(z(v?.props.onMouseLeave, w)), onContextMenu: A(z(v?.props.onContextMenu, b)), onMouseMove: A(z(v?.props.onMouseMove, V)), onMouseOver: A(z(v?.props.onMouseOver, L)) }, B = { "aria-haspopup": "menu", "aria-expanded": !i && !m ? void 0 : i, ...M, onClick: A(z(v?.props.onClick, _)), onKeyDown: A(z(v?.props.onKeyDown, I)) }, j = Ee(v?.type === "button" || v?.type === "a" ? v.type : "div", B); + return { isSubmenu: m, children: je(o, u ? M : r ? B : j) }; +}; +var Uo = (e) => { + let t = (o) => o.hasAttribute("disabled") || o.hasAttribute("aria-disabled") && o.getAttribute("aria-disabled") === "true"; + return Be(e.target) && t(e.target) ? true : Be(e.currentTarget) && t(e.currentTarget); +}; +var id = T(S(), 1); +var Lt = (e) => id.createElement(Ku, { value: e.isSubmenu }, e.children); +var cd = ge(void 0); +var ud = cd.Provider; +var dd = () => Ve(cd); +var Nl = (e) => { + let t = a0(), { hoverDelay: o = 500, inline: r = false, hasCheckmarks: n = false, hasIcons: s = false, closeOnScroll: a = false, openOnContext: i = false, persistOnItemClick: l = false, openOnHover: c = t, defaultCheckedValues: u, mountNode: m = null } = e, h = ne("menu"), [d, f] = i0(), g = Xe.useRef(null), y = Xe.useRef(null), x = Xe.Children.toArray(e.children), v, C; + x.length === 2 ? (v = x[0], C = x[1]) : x.length === 1 && (C = x[0]); + let [b, _] = u0({ hoverDelay: o, setContextTarget: f, triggerRef: g, menuPopoverRef: y, open: e.open, defaultOpen: e.defaultOpen, onOpenChange: e.onOpenChange }), [I, L] = c0({ checkedValues: e.checkedValues, defaultCheckedValues: u, onCheckedValueChange: e.onCheckedValueChange }), V = ut(e.positioning), w = { position: t ? "after" : "below", align: t ? "top" : "start", target: i ? d : void 0, fallbackPositions: t ? s0 : void 0, ...V }, { targetRef: M, containerRef: B } = dt(w), j = X(g, M), E = X(y, B); + return { inline: r, hoverDelay: o, triggerId: h, isSubmenu: t, openOnHover: c, contextTarget: d, setContextTarget: f, hasCheckmarks: n, hasIcons: s, closeOnScroll: a, menuTrigger: v, menuPopover: C, mountNode: m, triggerRef: j, menuPopoverRef: E, openOnContext: i, open: b, setOpen: _, checkedValues: I, onCheckedValueChange: L, persistOnItemClick: l }; +}; +var s0 = ["after", "after-bottom", "before-top", "before", "before-bottom", "above"]; +var a0 = () => { + let e = U((o) => o.isSubmenu), t = dd(); + return e || t; +}; +var i0 = () => { + let [e, t] = Xe.useState(void 0), o = A((r) => { + if (r == null) { + t(void 0); + return; + } + let n = r instanceof MouseEvent ? r : r.nativeEvent; + t(l0(n)); + }); + return [e, o]; +}; +var l0 = (e) => { + let t = e.clientX, o = e.clientY, r = t + 1, n = o + 1; + return { getBoundingClientRect() { + return { left: t, top: o, right: r, bottom: n, x: t, y: o, height: 1, width: 1 }; + } }; +}; +var c0 = (e) => { + let [t, o] = te({ state: e.checkedValues, defaultState: e.defaultCheckedValues, initialState: {} }), r = A((n, { name: s, checkedItems: a }) => { + e.onCheckedValueChange?.(n, { name: s, checkedItems: a }), o((i) => ({ ...i, [s]: a })); + }); + return [t, r]; +}; +var u0 = (e) => { + let { targetDocument: t } = ee(), o = U((h) => h.setOpen), r = A((h, d) => e.onOpenChange?.(h, d)), n = Xe.useRef(false), [s, a] = te({ state: e.open, defaultState: e.defaultOpen, initialState: false }), i = A((h, d) => { + let f = h instanceof CustomEvent && h.type === Go ? h.detail.nativeEvent : h; + r?.(f, { ...d }), d.open && h.type === "contextmenu" && e.setContextTarget(h), d.open || e.setContextTarget(void 0), d.bubble && o(h, { ...d }), a(d.open); + }), [l, c] = Ze(), u = A((h, d) => { + c(), !(h instanceof Event) && h.persist && h.persist(), !d.ignoreHoverDelay && (h.type === "mouseleave" || h.type === "mouseover" || h.type === "mousemove" || h.type === Go) ? (e.triggerRef.current?.contains(h.target) && (n.current = h.type === "mouseover" || h.type === "mousemove"), l(() => i(h, d), e.hoverDelay)) : i(h, d); + }), m = Yn(); + return Xe.useEffect(() => { + s || m || (t?.activeElement === t?.body || e.menuPopoverRef.current?.contains(t?.activeElement ?? null)) && e.triggerRef.current?.focus(); + }, [s, t, e.menuPopoverRef, e.triggerRef]), [s, u]; +}; +var Dl = Zr; +var pd = T(S(), 1); +var Fl = (e, t) => pd.createElement(zs, { value: t.menu }, e.menuTrigger, e.menuPopover); +var Xr = (e) => { + let t = Nl(e), o = Dl(t); + return Fl(t, o); +}; +Xr.displayName = "Menu"; +var io = T(S(), 1); +var d0 = (e) => { + let t = e.target; + return Be(t) ? t.hasAttribute("disabled") || t.getAttribute("aria-disabled") === "true" : false; +}; +var p0 = ':is([role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]):not([aria-disabled="true"])'; +var ea = (e) => { + let t = U((u) => u.menuPopoverRef), o = io.useCallback(() => { + t.current?.querySelector(p0)?.focus(); + }, [t]), r = Yr({ ...e, focusFirst: o }), n = U((u) => u.open), s = U((u) => u.openOnContext), a = U((u) => u.setOpen), { targetDocument: i } = ee(); + if (!r.children || !io.isValidElement(r.children)) return r; + let l = r.children, c = { "data-open": N(n) }; + if (s && i) { + let u = e.children, m = io.isValidElement(u) ? u.props.onContextMenu : void 0; + c.onContextMenu = (h) => { + if (m?.(h), d0(h) || h.isDefaultPrevented()) return; + h.preventDefault(); + let d = h.nativeEvent, f = () => a(d, { open: true, type: "menuTriggerContextMenu", event: d }); + if (h.button !== 2) { + f(); + return; + } + i.addEventListener("pointerup", f, { once: true, capture: true }); + }; + } + return { ...r, children: io.cloneElement(l, c) }; +}; +var lo = (e) => { + let t = ea(e); + return Lt(t); +}; +lo.displayName = "MenuTrigger"; +lo.isFluentTriggerComponent = true; +var ta = (e, t) => { + let o = zr(e, t); + return o.root.focusgroup = "menu block wrap", o; +}; +var md = T(S(), 1); +var oa = (e, t) => md.createElement(ud, { value: true }, Wr(e, t)); +var Jr = Z("MenuList", ta, oa, Ft); +var ra = (e, t) => { + let o = pt(e, t); + return o.root.focusgroupstart = "", o.root["data-disabled"] = N(o.disabled), o.root["data-has-submenu"] = N(o.hasSubmenu), o.root["data-submenu-open"] = N(o.submenuOpen), o; +}; +var Qr = Z("MenuItem", ra, Et); +var na = (e, t) => { + let o = Ur(e, t); + return o.root["data-disabled"] = N(o.disabled), o.root["data-has-submenu"] = N(o.hasSubmenu), o.root["data-submenu-open"] = N(o.submenuOpen), o.root["data-checked"] = N(o.checked), o; +}; +var en = Z("MenuItemCheckbox", na, Nt); +var sa = (e, t) => { + let o = jr(e, t); + return o.root["data-disabled"] = N(o.disabled), o.root["data-has-submenu"] = N(o.hasSubmenu), o.root["data-submenu-open"] = N(o.submenuOpen), o.root["data-checked"] = N(o.checked), o; +}; +var tn = Z("MenuItemRadio", sa, Dt); +var on = Z("MenuDivider", Mt, Rt); +var bd = T(S(), 1); +var fd = typeof CSS < "u" && typeof CSS.supports == "function" && CSS.supports("selector(:popover-open)"); +var aa = (e, t) => { + let o = $r(e, t), r = { ...o, root: { popover: "auto", ...o.root } }, n = U((i) => i.open), s = U((i) => i.setOpen), a = U((i) => i.menuPopoverRef); + return bd.useEffect(() => { + let i = a.current; + if (!i || typeof i.showPopover != "function") return; + if (!n) { + if (fd && !i.matches(":popover-open")) return; + i.hidePopover(); + return; + } + i.querySelector(':is([role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]):not([aria-disabled="true"])')?.setAttribute("autofocus", ""), fd && i.matches(":popover-open") || i.showPopover(); + let c = i.querySelector("[focusgroup]"); + c && c.setAttribute("focusgroup", c.getAttribute("focusgroup") ?? ""); + let u = (m) => { + m.newState === "closed" && n && s(m, { open: false, type: "clickOutside", event: m }); + }; + return i.addEventListener("toggle", u), () => i.removeEventListener("toggle", u); + }, [a, n, s]), r; +}; +var ia = (e) => $(tr.Fragment, { children: [R(e.root, {}), e.safeZone] }); +var rn = Z("MenuPopover", aa, ia); +var nn = Z("MenuGroup", _t, Pt, kt); +var sn = Z("MenuGroupHeader", At, wt); +var hd = ge(void 0); +var f0 = { openItems: [], collapsible: false, multiple: false, navigation: void 0, requestToggle() { +} }; +var { Provider: xd } = hd; +var co = (e) => Ie(hd, (t = f0) => e(t)); +var uo = (e, t) => R(e.root, { children: R(xd, { value: t.accordion, children: e.root.children }) }); +var vd = T(S(), 1); +var an = (e, t) => { + let { openItems: o, defaultOpenItems: r, multiple: n = false, collapsible: s = false, onToggle: a, ...i } = e, [l, c] = te({ state: vd.useMemo(() => x0(o), [o]), defaultState: r && (() => b0({ defaultOpenItems: r, multiple: n })), initialState: [] }), u = A((m) => { + let h = h0(m.value, l, n, s); + a?.(m.event, { value: m.value, openItems: h }), c(h); + }); + return { collapsible: s, multiple: n, openItems: l, requestToggle: u, components: { root: "div" }, root: P.always({ ref: t, ...i }, { elementType: "div" }) }; +}; +function b0({ defaultOpenItems: e, multiple: t }) { + return e !== void 0 ? Array.isArray(e) ? t ? e : [e[0]] : [e] : []; +} +function h0(e, t, o, r) { + if (o) if (t.includes(e)) { + if (t.length > 1 || r) return t.filter((n) => n !== e); + } else return [...t, e].sort(); + else return t[0] === e && r ? [] : [e]; + return t; +} +function x0(e) { + if (e !== void 0) return Array.isArray(e) ? e : [e]; +} +var gd = T(S(), 1); +function ln(e) { + let { navigation: t, openItems: o, requestToggle: r, multiple: n, collapsible: s } = e; + return { accordion: gd.useMemo(() => ({ navigation: t, openItems: o, requestToggle: r, collapsible: s, multiple: n }), [t, o, r, s, n]) }; +} +var cn = (e, t) => { + let { value: o, disabled: r = false, ...n } = e, s = co((l) => l.requestToggle), a = co((l) => l.openItems.includes(o)), i = A((l) => s({ event: l, value: o })); + return { open: a, value: o, disabled: r, onHeaderClick: i, components: { root: "div" }, root: P.always({ disabled: r, ref: t, ...n }, { elementType: "div" }) }; +}; +var Td = T(S(), 1); +function Bt(e) { + let { disabled: t, open: o, value: r, onHeaderClick: n } = e; + return { accordionItem: Td.useMemo(() => ({ disabled: t, open: o, value: r, onHeaderClick: n }), [t, o, r, n]) }; +} +var la = T(S(), 1); +var yd = la.createContext(void 0); +var T0 = { open: false, disabled: false, value: void 0, onHeaderClick() { +} }; +var { Provider: Sd } = yd; +var un = () => { + var e; + return (e = la.useContext(yd)) !== null && e !== void 0 ? e : T0; +}; +var Ot = (e, t) => R(e.root, { children: R(Sd, { value: t.accordionItem, children: e.root.children }) }); +var M0 = T(S(), 1); +var dn = (e, t) => { + let { icon: o, button: r, expandIcon: n, expandIconPosition: s = "start", ...a } = e, { value: i, disabled: l, open: c } = un(), u = co((d) => d.requestToggle), m = co((d) => !d.collapsible && d.openItems.length === 1 && c), h = P.always(r, { elementType: "button", defaultProps: { disabled: l, disabledFocusable: m, "aria-expanded": c, type: "button" } }); + return h.onClick = A((d) => { + if (Zn(r)) { + var f; + (f = r.onClick) === null || f === void 0 || f.call(r, d); + } + d.defaultPrevented || u({ value: i, event: d }); + }), { disabled: l, open: c, expandIconPosition: s, components: { root: "div", button: "button", expandIcon: "span", icon: "div" }, root: P.always({ ref: t, ...a }, { elementType: "div" }), icon: P.optional(o, { elementType: "div" }), expandIcon: P.optional(n, { renderByDefault: true, defaultProps: { "aria-hidden": true }, elementType: "span" }), button: Ee(h.as, h) }; +}; +var Ll = T(S(), 1); +var R0 = Ll.createContext(void 0); +var { Provider: Id } = R0; +var Vt = (e, t) => R(Id, { value: t.accordionHeader, children: R(e.root, { children: $(e.button, { children: [e.expandIconPosition === "start" && e.expandIcon && R(e.expandIcon, {}), e.icon && R(e.icon, {}), e.root.children, e.expandIconPosition === "end" && e.expandIcon && R(e.expandIcon, {})] }) }) }); +var Md = T(S(), 1); +function pn(e) { + let { disabled: t, expandIconPosition: o, open: r, size: n } = e; + return { accordionHeader: Md.useMemo(() => ({ disabled: t, expandIconPosition: o, open: r, size: n }), [t, o, r, n]) }; +} +var mn = (e, t) => { + let { open: o } = un(); + return { open: o, components: { root: "div" }, root: P.always({ ref: t, ...e, ...o ? {} : { tabIndex: -1, inert: true } }, { elementType: "div" }) }; +}; +var fn = (e) => e.collapseMotion ? R(e.collapseMotion, { children: R(e.root, {}) }) : R(e.root, {}); +var Bl = (e, t) => { + let o = an(e, t); + return o.root["data-collapsible"] = N(o.collapsible), o.root["data-multiple"] = N(o.multiple), o; +}; +var Ol = ln; +var ca = Z("Accordion", Bl, uo, Ol); +var ua = (e, t) => { + let o = dn(e, t); + return o.root["data-open"] = N(o.open), o.root["data-disabled"] = N(o.disabled), o.root["data-expand-icon-position"] = o.expandIconPosition, o; +}; +var da = pn; +var bn = Z("AccordionHeader", ua, Vt, da); +var pa = (e, t) => { + let o = cn(e, t); + return o.root["data-disabled"] = N(o.disabled), o.root["data-open"] = N(o.open), o; +}; +var hn = Z("AccordionItem", pa, Ot, Bt); +var xn = (e, t) => { + let o = mn(e, t); + return o.root["data-open"] = N(o.open), o; +}; +var vn = (e) => fn(e); +var mt = T(S(), 1); +var Vl = (e) => { + let t = zn(), { targetDocument: o } = ee(), [r, n] = te({ state: e.visible, initialState: false }), { children: s, content: a, positioning: i = "above", withArrow: l = false, onVisibleChange: c, relationship: u, showDelay: m = 250, hideDelay: h = 250 } = e, d = { positioning: i, showDelay: m, hideDelay: h, relationship: u, visible: r, shouldRenderTooltip: r, withArrow: l, components: { content: "div" }, content: P.always(a, { defaultProps: { role: "tooltip", popover: "hint" }, elementType: "div" }) }, f = ut(i), { targetRef: g, containerRef: y } = dt(f); + d.content.id = ne("tooltip-", d.content.id), d.content["data-open"] = N(d.visible); + let x = X(d.content.ref, y); + d.content.ref = x; + let [v, C] = Ze(), b = mt.useCallback((K, k) => { + C(), n((H) => (k.visible !== H && c?.(K, k), k.visible)); + }, [C, n, c]), _ = A((K) => { + K.newState === "closed" && b(void 0, { visible: false }); + }); + le(() => { + let K = x.current; + if (K) { + K.addEventListener("toggle", _); + try { + r ? K.showPopover() : K.matches(":popover-open") && K.hidePopover(); + } catch { + } + return () => { + K.removeEventListener("toggle", _); + }; + } + }, [x, r, b, _]); + let I = mt.useRef(false), L = mt.useCallback((K) => { + if (K.type === "focus" && I.current) { + I.current = false; + return; + } + v(() => { + b(K, { visible: true }); + }, d.showDelay), K.persist(); + }, [v, b, d.showDelay]), V = ss(), [w] = mt.useState(() => { + let K = (H) => { + H.detail?.isFocusedProgrammatically && !V() && (I.current = true); + }, k = null; + return (H) => { + k?.removeEventListener(We, K), H?.addEventListener(We, K), k = H; + }; + }), M = mt.useCallback((K) => { + let k = d.hideDelay; + K.type === "blur" && (k = 0, I.current = o?.activeElement === K.target), v(() => { + b(K, { visible: false }); + }, k), K.persist(); + }, [v, b, d.hideDelay, o]), B = mt.useCallback((K) => { + b(K, { visible: false }); + }, [b]); + d.content.onPointerEnter = z(d.content.onPointerEnter, C), d.content.onPointerLeave = z(d.content.onPointerLeave, M), d.content.onFocus = z(d.content.onFocus, C), d.content.onBlur = z(d.content.onBlur, M), d.content.onPointerUp = z(d.content.onPointerUp, B); + let j = Oe(s), E = {}, D = j?.props?.["aria-haspopup"] && (j?.props?.["aria-expanded"] === true || j?.props?.["aria-expanded"] === "true"); + return u === "label" ? typeof d.content.children == "string" ? E["aria-label"] = d.content.children : (E["aria-labelledby"] = d.content.id, d.shouldRenderTooltip = true) : u === "description" && (E["aria-describedby"] = d.content.id, d.shouldRenderTooltip = true), (t || D) && (d.shouldRenderTooltip = false), d.children = je(s, { ...E, ...j?.props, ref: X(Ue(j), w, f.target === void 0 ? g : void 0), onPointerEnter: A(z(j?.props?.onPointerEnter, L)), onPointerLeave: A(z(j?.props?.onPointerLeave, M)), onFocus: A(z(j?.props?.onFocus, L)), onBlur: A(z(j?.props?.onBlur, M)), onPointerUp: A(z(j?.props?.onPointerUp, B)) }), d; +}; +var Hl = (e) => $(tr.Fragment, { children: [e.children, e.shouldRenderTooltip && $(e.content, { children: [e.withArrow && R("div", { ref: e.arrowRef, className: e.arrowClassName, "data-arrow": "" }), e.content.children] })] }); +var jo = (e) => { + let t = Vl(e); + return Hl(t); +}; +jo.displayName = "Tooltip"; +jo.isFluentTriggerComponent = true; +var ma = { sliderDirectionVar: "--fui-Slider--direction", sliderInnerThumbRadiusVar: "--fui-Slider__inner-thumb--radius", sliderProgressVar: "--fui-Slider--progress", sliderProgressColorVar: "--fui-Slider__progress--color", sliderRailSizeVar: "--fui-Slider__rail--size", sliderRailColorVar: "--fui-Slider__rail--color", sliderStepsPercentVar: "--fui-Slider--steps-percent", sliderThumbColorVar: "--fui-Slider__thumb--color", sliderThumbSizeVar: "--fui-Slider__thumb--size" }; +var { sliderStepsPercentVar: F0, sliderProgressVar: L0, sliderDirectionVar: B0 } = ma; +var fa = (e, t) => { + let { min: o = 0, max: r = 100, step: n } = t, { dir: s } = ee(), [a, i] = te({ state: t.value, defaultState: t.defaultValue, initialState: 0 }), l = Qo(a, o, r), c = Xn(l, o, r), u = e.input.onChange, m = t.onChange, h = A((g) => { + let y = Number(g.target.value); + i(Qo(y, o, r)), u && u !== m ? u(g) : m && m(g, { value: y }); + }), d = n && n > 0 ? `${n * 100 / (r - o)}%` : void 0, f = { [B0]: e.vertical ? "0deg" : s === "ltr" ? "90deg" : "270deg", [L0]: `${c}%`, ...d !== void 0 && { [F0]: d } }; + return e.root.style = { ...f, ...e.root.style }, e.input.value = l, e.input.onChange = h, e; +}; +var gn = (e, t) => { + e = ve(e, { supportsLabelFor: true }); + let o = Te({ props: e, primarySlotTagName: "input", excludedPropNames: ["onChange"] }), { disabled: r, vertical: n, root: s, input: a, rail: i, thumb: l } = e, c = { disabled: r, vertical: n, components: { input: "input", rail: "div", root: "div", thumb: "div" }, root: P.always(s, { defaultProps: o.root, elementType: "div" }), input: P.always(a, { defaultProps: { id: ne("slider-", e.id), ref: t, ...o.primary, type: "range", orient: n ? "vertical" : void 0 }, elementType: "input" }), rail: P.always(i, { elementType: "div" }), thumb: P.always(l, { elementType: "div" }) }; + return c.input["aria-orientation"] === void 0 && (c.input["aria-orientation"] = c.vertical ? "vertical" : "horizontal"), c.root.ref = X(c.root.ref, $e()), fa(c, e), c; +}; +var Ht = (e) => $(e.root, { children: [R(e.input, {}), R(e.rail, {}), R(e.thumb, {})] }); +var ba = (e, t) => { + let o = gn(e, t); + return o.root["data-disabled"] = N(o.disabled), o.root["data-vertical"] = N(o.vertical), o; +}; +var G0 = { activeOption: void 0, focusVisible: false, multiselect: false, getOptionById() { +}, getOptionsMatchingValue() { + return []; +}, registerOption() { + return () => { + }; +}, selectedOptions: [], onOptionClick() { +}, onActiveDescendantChange() { +}, selectOption() { +}, setActiveOption() { +} }; +var Gt = ge(void 0); +var ye = (e) => Ie(Gt, (t = G0) => e(t)); +var xB = Gt.Provider; +var kd = T(S(), 1); +function po(e) { + let t = Ve(Gt), { getOptionById: o, getOptionsMatchingValue: r, multiselect: n, registerOption: s, selectedOptions: a, selectOption: i, activeDescendantController: l } = e, c = ye((g) => g.registerOption), u = ye((g) => g.onOptionClick), m = ye((g) => g.onActiveDescendantChange), d = { activeOption: void 0, focusVisible: false, getOptionById: o, getOptionsMatchingValue: r, multiselect: n, registerOption: t ? c : s, selectedOptions: a, selectOption: i, setActiveOption: () => { + }, onOptionClick: u, onActiveDescendantChange: m }, f = kd.useMemo(() => ({ controller: l }), [l]); + return { listbox: d, activeDescendant: f }; +} +var ft = T(S(), 1); +function Ad(e, t = {}) { + let { open: o = true, multiselect: r = false } = t, n = e.key, { altKey: s, ctrlKey: a, key: i, metaKey: l } = e; + return i.length === 1 && n !== " " && !s && !a && !l ? "Type" : o ? n === ar && s || n === qe || !r && n === " " ? "CloseSelect" : r && n === " " ? "Select" : n === at ? "Close" : n === Do ? "Next" : n === ar ? "Previous" : n === Li ? "First" : n === "End" ? "Last" : n === Oi ? "PageUp" : n === Bi ? "PageDown" : n === "Tab" ? "Tab" : "None" : n === Do || n === ar || n === qe || n === " " ? "Open" : "None"; +} +var Ko = T(S(), 1); +var wd = () => { + let e = Ko.useRef(/* @__PURE__ */ new Map()), t = Ko.useMemo(() => ({ getCount: () => e.current.size, getOptionAtIndex: () => { + }, getIndexOfId: () => -1, getOptionById: (c) => e.current.get(c), getOptionsMatchingText: (c) => Array.from(e.current.values()).filter(({ text: u }) => c(u)), getOptionsMatchingValue: (c) => { + let u = []; + for (let m of e.current.values()) c(m.value) && u.push(m); + return u; + } }), []), o = Ko.useCallback((r) => (e.current.set(r.id, r), () => e.current.delete(r.id)), []); + return { ...t, options: Array.from(e.current.values()), registerOption: o }; +}; +var Ed = T(S(), 1); +var Nd = (e) => { + let { defaultSelectedOptions: t, multiselect: o, onOptionSelect: r } = e, [n, s] = te({ state: e.selectedOptions, defaultState: t, initialState: [] }), a = Ed.useCallback((l, c) => { + if (c.disabled) return; + let u = [c.value]; + if (o) { + let m = n.findIndex((h) => h === c.value); + m > -1 ? u = [...n.slice(0, m), ...n.slice(m + 1)] : u = [...n, c.value]; + } + s(u), r?.(l, { optionValue: c.value, optionText: c.text, selectedOptions: u }); + }, [r, o, n, s]); + return { clearSelection: (l) => { + s([]), r?.(l, { optionValue: void 0, optionText: void 0, selectedOptions: [] }); + }, selectOption: a, selectedOptions: n }; +}; +function Dd(e) { + return e.role === "option" || e.role === "menuitemcheckbox"; +} +var Fd = { activeOption: void 0, focusVisible: false, setActiveOption: () => null }; +var Cn = (e, t) => { + let { multiselect: o, disableAutoFocus: r = false } = e, n = wd(), { listboxRef: s, activeParentRef: a, controller: i } = ds({ matchOption: Dd }), l = Ve(Gt), c = ye((D) => D.onActiveDescendantChange), u = ye((D) => D.getOptionById), m = ye((D) => D.getOptionsMatchingValue), h = l ? u : n.getOptionById, d = l ? m : n.getOptionsMatchingValue, f = ft.useMemo(() => { + let D = null, K = (k) => { + c?.(k); + }; + return (k) => { + if (!k) { + D?.removeEventListener("activedescendantchange", K); + return; + } + D = k, D.addEventListener("activedescendantchange", K); + }; + }, [c]), [g, y] = ft.useState(false); + No(y); + let x = Fo(), v = cs(), C = v ? x.controller : i, { clearSelection: b, selectedOptions: _, selectOption: I } = Nd(e), L = (D) => { + let K = Ad(D, { open: true }), k = C.active(), H = k ? h(k) : null; + switch (K) { + case "First": + case "Last": + case "Next": + case "Previous": + case "PageDown": + case "PageUp": + case "CloseSelect": + case "Select": + D.preventDefault(); + break; + } + switch (K) { + case "Next": + H ? C.next() : C.first(); + break; + case "Previous": + H ? C.prev() : C.first(); + break; + case "PageUp": + case "First": + C.first(); + break; + case "PageDown": + case "Last": + C.last(); + break; + case "Select": + case "CloseSelect": + H && I(D, H); + break; + } + }, V = ye((D) => D.selectedOptions), w = ye((D) => D.selectOption), M = l ? { selectedOptions: V, selectOption: w, ...Fd } : { selectedOptions: _, selectOption: I, ...Fd }; + ft.useEffect(() => { + if (!v) { + if (C.hideFocusVisibleAttributes(), !r) if (!o && M.selectedOptions.length > 0) { + let D = d((K) => K === M.selectedOptions[0]).pop(); + D?.id && C.focus(D.id); + } else C.first(); + return () => { + C.blur(); + }; + } + }, []); + let B = ft.useCallback(() => { + v || (C.showFocusVisibleAttributes(), g && C.scrollActiveIntoView()); + }, [C, v, g]), j = ft.useCallback(() => { + v || C.hideFocusVisibleAttributes(); + }, [C, v]), E = { components: { root: "div" }, root: P.always(Q("div", { ref: X(t, a, s, f), role: o ? "menu" : "listbox", tabIndex: 0, ...e }), { elementType: "div" }), standalone: !l, multiselect: o, clearSelection: b, activeDescendantController: C, onActiveDescendantChange: c, ...n, ...M }; + return E.root.onKeyDown = A(z(E.root.onKeyDown, L)), E.root.onFocus = A(z(E.root.onFocus, B)), E.root.onBlur = A(z(E.root.onBlur, j)), E; +}; +var bt = (e, t) => R(ls, { value: t.activeDescendant, children: R(Gt.Provider, { value: t.listbox, children: R(e.root, {}) }) }); +var ht = T(S(), 1); +function K0(e, t) { + if (e !== void 0) return e; + let o = "", r = false; + return ht.Children.forEach(t, (n) => { + typeof n == "string" ? o += n : r = true; + }), r && console.warn("Provide a `text` prop to Option components when they contain non-string children."), o; +} +var Tn = (e, t) => { + let { children: o, disabled: r, text: n, value: s } = e, a = ht.useRef(null), i = K0(n, o), l = s ?? i, c = ne("fluent-option", e.id), u = ht.useMemo(() => ({ id: c, disabled: r, text: i, value: l }), [c, r, i, l]), { controller: m } = Fo(), h = ye((C) => C.multiselect), d = ye((C) => C.registerOption), f = ye((C) => { + let b = C.selectedOptions; + return l !== void 0 && b.find((_) => _ === l) !== void 0; + }), g = ye((C) => C.selectOption), y = ye((C) => C.onOptionClick), x = (C) => { + var b; + if (r) { + C.preventDefault(); + return; + } + m.focus(c), g(C, u), y(C), (b = e.onClick) === null || b === void 0 || b.call(e, C); + }; + ht.useEffect(() => { + if (c && a.current) return d(u, a.current); + }, [c, u, d]); + let v = h ? { role: "menuitemcheckbox", "aria-checked": f } : { role: "option", "aria-selected": f }; + return { components: { root: "div", checkIcon: "span" }, root: P.always(Q("div", { ref: X(t, a), "aria-disabled": r ? "true" : void 0, id: c, ...v, ...e, onClick: x }), { elementType: "div" }), checkIcon: P.optional(e.checkIcon, { renderByDefault: true, defaultProps: { "aria-hidden": "true" }, elementType: "span" }), disabled: r, multiselect: h, selected: f, focusVisible: false, active: false }; +}; +var Zt = (e) => $(e.root, { children: [e.checkIcon && R(e.checkIcon, {}), e.root.children] }); +var yn = (e, t) => { + let o = Cn(e, t); + return { ...o, root: { popover: "auto", ...o.root } }; +}; +var ha = (e, t) => { + let o = Tn(e, t); + return { ...o, root: { ...o.root, "data-disabled": N(o.disabled), "data-selected": N(o.selected), "data-multiselect": N(o.multiselect) } }; +}; +var Sn = Z("Option", ha, Zt); +var oe = { INFERRED_ROLE: "data-fg-ir", ITEM: "data-fg-item", AUTHOR_TABINDEX: "data-fg-ati", SEGMENT: "data-fg-seg", SEGMENT_START: "data-fg-segs" }; +var Pe = { TOOLBAR: "toolbar", TABLIST: "tablist", RADIOGROUP: "radiogroup", LISTBOX: "listbox", MENU: "menu", MENUBAR: "menubar", NONE: "none" }; +var Bd = [Pe.TOOLBAR, Pe.TABLIST, Pe.RADIOGROUP, Pe.LISTBOX, Pe.MENU, Pe.MENUBAR, Pe.NONE]; +var Gl = { toolbar: { ownerRole: "toolbar", childRole: null, wrap: false, axis: "inline" }, tablist: { ownerRole: "tablist", childRole: "tab", wrap: true, axis: "inline" }, radiogroup: { ownerRole: "radiogroup", childRole: "radio", wrap: true, axis: void 0 }, listbox: { ownerRole: "listbox", childRole: "option", wrap: false, axis: "block" }, menu: { ownerRole: "menu", childRole: "menuitem", wrap: true, axis: "block" }, menubar: { ownerRole: "menubar", childRole: "menuitem", wrap: true, axis: "inline" } }; +function zo(e, t) { + if (!e || !t) return null; + if (e instanceof ShadowRoot) return zo(e.host, t); + let o = e.assignedSlot; + return o ? e.matches(t) ? e : zo(o, t) : e.closest(t) ?? (e.getRootNode() instanceof ShadowRoot ? zo(e.getRootNode().host, t) : null); +} +function Fe(e, t) { + if (!e || !t) return false; + let o = t; + for (; o; ) { + if (o === e) return true; + typeof o.assignedElements != "function" && o.assignedSlot?.parentNode ? o = o.assignedSlot?.parentNode : o.nodeType === document.DOCUMENT_FRAGMENT_NODE ? o = o.host : o = o.parentNode; + } + return false; +} +function In(e) { + if (!e) return null; + if (typeof e.assignedElements != "function" && e.assignedSlot) return e.assignedSlot; + let t = e.getRootNode(); + return t instanceof ShadowRoot ? e.parentElement ?? t.host : e.parentElement; +} +function Zl(e) { + return e ? e.lastElementChild ?? Zl(e.shadowRoot) : null; +} +function Od(e) { + let t = null; + for (let o = Zl(e); o; o = Zl(o)) t = o; + return t; +} +var Y0 = class { + filter; + root; + whatToShow; + get currentNode() { + return this.#e; + } + set currentNode(e) { + if (!Fe(this.root, e)) throw new Error("Cannot set currentNode to a node that is not contained by the root node."); + this.#e = e, this.#o = null, this.#s = null, this.#i(), this.#a = false; + } + #t; + #e; + #o = null; + #s = null; + #r = []; + #n = /* @__PURE__ */ new WeakSet(); + #a = true; + constructor(e, t, o, r) { + this.#t = e, this.root = t, this.filter = r ?? null, this.whatToShow = o ?? NodeFilter.SHOW_ALL, this.#e = t; + } + nextNode() { + this.#a || (this.#o = null, this.#i(), this.#a = true), this.#o === null && (this.#o = this.#u(true)); + let e = this.#e, t = this.#m(); + return t === null && (this.#e = e, this.#o = null, this.#i()), t; + } + previousNode() { + this.#a && (this.#s = null, this.#i(), this.#a = false), this.#s === null && (this.#s = this.#u(false)); + let e = this.#e, t = this.#f(); + return t === null && (this.#e = e, this.#s = null, this.#i()), t; + } + #i() { + this.#r = [], this.#n = /* @__PURE__ */ new WeakSet(); + } + #l = (e) => typeof this.filter == "function" ? this.filter(e) : this.filter?.acceptNode ? this.filter.acceptNode(e) : NodeFilter.FILTER_ACCEPT; + #c(e, t) { + return this.#t.createTreeWalker(e, this.whatToShow, { acceptNode: this.#d(t) }); + } + #d(e) { + return (t) => { + if (t.nodeType === Node.ELEMENT_NODE) { + if (t.parentNode?.shadowRoot) return NodeFilter.FILTER_REJECT; + if (t.localName === "slot" && t.getRootNode() instanceof ShadowRoot) return NodeFilter.FILTER_ACCEPT; + let o = t.shadowRoot; + if (o) { + if (e) { + let r = this.#o[0]; + if (!r || r.walker.root !== o) { + let n = this.#c(o, true); + this.#o.unshift({ walker: n, hostNode: t }); + } + } + return NodeFilter.FILTER_ACCEPT; + } else return this.#l(t); + } + return NodeFilter.FILTER_SKIP; + }; + } + #u(e) { + Fe(this.root, this.#e) || (this.#e = this.root); + let t = [], o = this.#e, r = this.#e, n = (l) => { + let c = l.assignedSlot; + if (!c || !Fe(this.root, c)) return []; + let u = [...c.assignedElements({ flatten: true })], m = u.indexOf(l), h = []; + return e ? m >= 0 && m < u.length - 1 && (h = u.slice(m + 1)) : m > 0 && (h = u.slice(0, m).reverse()), o = r = c, h; + }, s = n(this.#e); + for (this.#r = s; o && o !== this.root; ) if (o.nodeType === Node.DOCUMENT_FRAGMENT_NODE) { + let l = o, c = this.#c(l, e); + c.currentNode = r, t.push({ walker: c, hostNode: l.host }), o = r = l.host; + let u = n(o); + u.length && (t[t.length - 1].savedSlotted = u); + } else o = o.parentNode; + let a = this.#c(this.root, e); + a.currentNode = r, t.push({ walker: a, hostNode: null }); + let i = this.root.shadowRoot; + if (i && !t.some((l) => l.walker.root === i)) { + let l = this.#c(i, e); + t.unshift({ walker: l, hostNode: this.root }); + } + if (e && this.#e !== this.root) { + let l = this.#e.shadowRoot; + if (l && !t.some((c) => c.walker.root === l)) { + let c = { walker: this.#c(l, e), hostNode: this.#e }; + s.length && (c.savedSlotted = s, this.#r = []), t.unshift(c); + } + } + return t; + } + #m() { + for (; ; ) { + if (this.#r.length > 0) { + let o = this.#r.shift(); + if (o.shadowRoot) { + let n = this.#l(o); + if (n === NodeFilter.FILTER_REJECT) continue; + let s = o.shadowRoot, a = this.#c(s, true), i = this.#r; + if (this.#r = [], this.#o.unshift({ walker: a, hostNode: o, savedSlotted: i }), n === NodeFilter.FILTER_ACCEPT) return this.#e = o, o; + continue; + } + let r = this.#l(o); + if (r !== NodeFilter.FILTER_REJECT && o.firstElementChild && this.#r.unshift(...o.children), r === NodeFilter.FILTER_ACCEPT) return this.#e = o, o; + continue; + } + let e = this.#o[0]; + if (!e) return null; + let t = e.walker.nextNode(); + if (t) { + if (t.localName === "slot") { + this.#r = [...t.assignedElements({ flatten: true })]; + continue; + } + if (t.shadowRoot) { + if (this.#l(t) === NodeFilter.FILTER_ACCEPT) return this.#e = t, t; + continue; + } + return this.#e = t, t; + } else if (this.#o.length > 1) { + let o = this.#o.shift(); + o.savedSlotted?.length && (this.#r = o.savedSlotted); + } else return null; + } + } + #f() { + for (; ; ) { + if (this.#r.length > 0) { + let o = this.#r.shift(); + if (o.shadowRoot) { + if (this.#l(o) === NodeFilter.FILTER_REJECT) continue; + this.#e = o; + let n = this.#r; + this.#r = [], this.#s.unshift({ walker: this.#c(o.shadowRoot, false), hostNode: o, savedSlotted: n }); + continue; + } + let r = this.#l(o); + if (r === NodeFilter.FILTER_REJECT) continue; + if (o.firstElementChild && !this.#n.has(o)) { + this.#n.add(o), this.#r.unshift(...[...o.children].reverse(), o); + continue; + } + if (r === NodeFilter.FILTER_ACCEPT) return this.#e = o, o; + continue; + } + let e = this.#s[0]; + if (!e) return null; + if (e.walker.currentNode === e.walker.root && e.walker.root !== this.root) { + let o = Od(e.walker.root); + if (o) { + if (e.walker.currentNode = o, o.localName === "slot") { + this.#r = [...o.assignedElements({ flatten: true })].reverse(); + continue; + } + if (o.shadowRoot) { + this.#e = o, this.#s.unshift({ walker: this.#c(o.shadowRoot, false), hostNode: o }); + continue; + } + if (this.#l(o) === NodeFilter.FILTER_ACCEPT) return this.#e = o, o; + } + } + let t = e.walker.previousNode(); + if (t) { + if (t.localName === "slot") { + this.#r = [...t.assignedElements({ flatten: true })].reverse(); + continue; + } + if (t.shadowRoot) { + this.#e = t, this.#s.unshift({ walker: this.#c(t.shadowRoot, false), hostNode: t }); + continue; + } + return this.#l(t) === NodeFilter.FILTER_ACCEPT ? (this.#e = t, t) : (this.#e = t, t); + } else if (this.#s.length > 1) { + let o = this.#s.shift(); + o.savedSlotted?.length && (this.#r = o.savedSlotted); + let r = o.hostNode; + if (r && this.#l(r) === NodeFilter.FILTER_ACCEPT) return this.#e = r, r; + } else return this.#e !== this.root && this.#l(this.root) === NodeFilter.FILTER_ACCEPT ? (this.#e = this.root, this.root) : null; + } + } +}; +function mo(e, t, o, r) { + return new Y0(e, t, o, r); +} +function Ul() { + return typeof document < "u"; +} +function Rn() { + return "focusgroup" in (globalThis?.HTMLElement?.prototype ?? {}) || "focusGroup" in (globalThis?.HTMLElement?.prototype ?? {}); +} +function xa(e) { + let t = (e.getAttribute("focusgroup") ?? "").split(" "), o = t.find((i) => Bd.includes(i)) ?? null, r = Gl[o], n = r?.wrap ?? false; + t.includes("wrap") ? n = true : t.includes("nowrap") && (n = false); + let s = t.includes("inline"), a = s === t.includes("block") ? s ? void 0 : r?.axis : s ? "inline" : "block"; + return { behavior: o, wrap: n, axis: a, memory: !t.includes("nomemory") }; +} +var X0 = 0; +function Vd() { + return String(X0++); +} +function Mn(e, t) { + return (e.isContentEditable || e.matches(":is(audio, video)[controls]") || e.tabIndex > -1) && !(e.disabled || e.hasAttribute("disabled") || e.matches(":is(a, area):not([href])") || e.inert || !Zd(e, t) || e.matches(":is(audio, video):not([controls])") || e.hasAttribute(oe.AUTHOR_TABINDEX)); +} +function Hd(e, t, o) { + let r = "forward", n = "backward", s = "block", a = "inline"; + if (J0(e.composedPath()[0])) return e.key === "Tab" ? e.shiftKey ? n : r : null; + if (e.shiftKey || e.ctrlKey || e.metaKey) return null; + let { writingMode: i, direction: l } = window.getComputedStyle(t), c = !i.startsWith("horizontal-"), u = l === "rtl", m = c ? s : a, h = c ? a : s, d = c ? i.endsWith("-rl") !== u : u, f = c && u, g = { ArrowUp: { axis: h, dir: f ? r : n }, ArrowDown: { axis: h, dir: f ? n : r }, ArrowLeft: { axis: m, dir: d ? r : n }, ArrowRight: { axis: m, dir: d ? n : r }, Home: { dir: "start" }, End: { dir: "end" } }[e.key]; + return !g || o && g.axis && g.axis !== o ? null : g.dir; +} +function J0(e) { + return e?.nodeType === Node.ELEMENT_NODE && (["INPUT", "TEXTAREA", "SELECT"].includes(e.nodeName) && !["checkbox", "radio"].includes(e.getAttribute("type")) || e.isContentEditable || ["AUDIO", "VIDEO"].includes(e.nodeName) && e.hasAttribute("controls") || ["IFRAME", "OBJECT"].includes(e.nodeName)); +} +function Gd(e, t) { + if (!Zd(e)) return false; + if (Mn(e, t)) return e.getAttribute("focusgroup").includes(Pe.NONE); + let o = mo(document, e, NodeFilter.SHOW_ELEMENT); + for (; o.nextNode(); ) if (o.currentNode !== e && Mn(o.currentNode, t)) return true; + return false; +} +function Zd(e, t) { + if ("checkVisibility" in Element.prototype) return e.checkVisibility({ visibilityProperty: true, contentVisibilityAuto: true }); + if (e.getClientRects().length === 0) return false; + let o = e; + for (; o; ) { + let { visibility: r, contentVisibility: n } = window.getComputedStyle(o); + if (["hidden", "collapse"].includes(r) || o !== e && n === "hidden") return false; + if (!t || o === t) break; + o = In(o); + } + return true; +} +function jl(e, t, o) { + let r = Q0(e) || o === "child" && e.nodeName === "BUTTON", n = Gl[t], s = r ? o === "owner" ? n?.ownerRole : n?.childRole : void 0; + s ? (!e.hasAttribute("role") || e.hasAttribute(oe.INFERRED_ROLE)) && (e.setAttribute("role", s), e.setAttribute(oe.INFERRED_ROLE, "")) : e.hasAttribute(oe.INFERRED_ROLE) && (e.removeAttribute("role"), e.removeAttribute(oe.INFERRED_ROLE)); +} +function Q0(e) { + return "computedRole" in HTMLElement.prototype ? e.computedRole === "generic" : ["DIV", "SPAN"].includes(e.nodeName) || e.nodeName.includes("-"); +} +globalThis.__FOCUSGROUP_POLYFILL__ ??= { o: /* @__PURE__ */ new Set(), b: false }; +var fo = globalThis.__FOCUSGROUP_POLYFILL__; +var va = fo.o; +function ga() { + for (let e of va) e.takeRecords(); +} +var Ud = class { + #t; + #e; + #o = null; + #s = void 0; + #r = false; + #n = true; + #a; + #i = null; + #l = false; + #c = null; + #d = new AbortController(); + #u; + #m; + constructor(e, t, o = {}) { + if (Rn() || !e) return; + this.#t = e, this.#e = t, this.#u = o.decorateOwner, this.#m = o.decorateItem, this.#f(o.definition), this.#u?.(this.#t, this.#o), this.#b(); + let r = { signal: this.#d.signal }; + this.#t.addEventListener("keydown", this.#g.bind(this), r), this.#t.addEventListener("focusin", this.#C.bind(this), r), this.#t.addEventListener("focusout", this.#T.bind(this), r); + } + disconnect() { + this.#p(), this.#d.abort(), this.#e?.disconnect?.(), this.#t = null; + } + update(e = {}) { + if (this.#t) { + if (e.definition !== void 0 && (this.#f(e.definition), this.#u?.(this.#t, this.#o)), e.authorTabindexChanges) for (let t of e.authorTabindexChanges) t.setAttribute(oe.AUTHOR_TABINDEX, t.getAttribute("tabindex") ?? "none"); + this.#h(), this.#b(); + } + } + #f(e) { + this.#o = e?.behavior ?? null, this.#r = e?.wrap ?? false, this.#s = e?.axis, this.#n = e?.memory ?? true, this.#n || (this.#i = null); + } + #b() { + if (!this.#o || this.#o === Pe.NONE) { + this.#h(); + return; + } + this.#e.decorate?.(); + for (let { element: t, segmentBoundary: o } of this.#e.items()) this.#m?.(t, this.#o), t.setAttribute(oe.AUTHOR_TABINDEX, t.getAttribute("tabindex") ?? "none"), t.tabIndex = o ? 0 : -1; + (!this.#i?.isConnected || !(this.#e.isItem?.(this.#i) ?? this.#e.contains(this.#i))) && (this.#i = null); + let e = this.#i ?? this.#e.start ?? this.#e.first?.() ?? null; + e && (e.tabIndex = 0, this.#a = e, this.#p(), this.#x(e)), this.#e.flush?.(); + } + #h() { + this.#p(); + let e = false; + for (let { element: t } of this.#e.items()) { + e = true, this.#m?.(t, null); + let o = t.getAttribute(oe.AUTHOR_TABINDEX); + o && (o === "none" ? t.removeAttribute("tabindex") : t.setAttribute("tabindex", o), t.removeAttribute(oe.AUTHOR_TABINDEX)); + } + this.#e.undecorate?.(), e && this.#e.flush?.(); + } + #g(e) { + let t = e.composedPath()[0]; + if (e.defaultPrevented || t === this.#t || !this.#e.contains(t)) return; + let o; + switch (Hd(e, t, this.#s)) { + case "start": + o = this.#e.first(); + break; + case "end": + o = this.#e.last(); + break; + case "forward": + o = this.#e.next(t), !o && this.#r && (o = this.#e.first()); + break; + case "backward": + o = this.#e.previous(t), !o && this.#r && (o = this.#e.last()); + break; + } + o && o !== t && (this.#v(t, o, true), this.#i = o, e.preventDefault()); + } + #C(e) { + let t = e.composedPath()[0]; + if (t === this.#t && this.#l && (!e.relatedTarget || !Fe(this.#t, e.relatedTarget))) { + let r = this.#i || this.#a; + this.#p(), r && r.focus(), e.stopPropagation(); + return; + } + if (!this.#e.contains(t)) return; + this.#l && this.#p(); + let o = this.#i; + if (this.#i = t, o !== t && t.tabIndex < 0) { + let r = o ?? this.#a; + r && this.#v(r, t); + } + } + #T(e) { + if (!e.relatedTarget || !Fe(this.#t, e.relatedTarget)) { + let r = this.#n ? this.#i || this.#a : this.#a; + r && this.#x(r); + } + if (e.relatedTarget && Fe(this.#t, e.relatedTarget) || this.#n || !this.#a) return; + let t = this.#i; + this.#i = null; + let o = this.#e.start ?? this.#e.first?.() ?? null; + if (t !== this.#a || o !== this.#a) { + for (let { element: r, segmentBoundary: n } of this.#e.items()) r.tabIndex = n ? 0 : -1; + o && (o.tabIndex = 0, this.#a = o), this.#e.flush?.(); + } + } + #x(e) { + let t = (e.assignedSlot ?? e).getRootNode(), o = t instanceof ShadowRoot && t.host.hasAttribute(oe.AUTHOR_TABINDEX); + this.#l || !o || (this.#c = this.#t.getAttribute("tabindex"), this.#t.tabIndex = 0, this.#l = true, ga()); + } + #p() { + this.#l && (this.#c !== null ? this.#t.setAttribute("tabindex", this.#c) : this.#t.removeAttribute("tabindex"), this.#l = false, this.#c = null, this.#e.flush?.(), ga()); + } + #v(e, t, o = false) { + t.tabIndex = 0, o && t.focus(), e.tabIndex = this.#e.sameSegment?.(e, t) ?? true ? -1 : 0, this.#p(), ga(); + } +}; +var e5 = class _n { + static #t = /* @__PURE__ */ new Set(); + #e; + #o; + #s; + #r; + #n; + #a = false; + static #i(t) { + let o = t.Element.prototype.attachShadow; + o.__origAttachShadow || (Element.prototype.attachShadow = function(r) { + let n = o.call(this, r); + for (let s of _n.#t) s.#c(n); + return n; + }, Element.prototype.attachShadow.__origAttachShadow = o); + } + constructor(t) { + this.#s = t, this.#r = new MutationObserver(this.#l), this.#n = /* @__PURE__ */ new Map(); + } + #l = (t, o) => { + for (let r of t) if (r.type === "childList") { + let n = r.removedNodes, s = r.addedNodes; + for (let a = 0; a < n.length; a++) this.#u(n[a], true); + for (let a = 0; a < s.length; a++) this.#u(s[a]); + } + this.#s(t, o); + }; + #c(t) { + if (!(!this.#o || !this.#s || this.#n.has(t)) && this.#o.subtree && Fe(this.#e, t)) { + let o = new MutationObserver(this.#l); + this.#n.set(t, o), this.#a && o.observe(t, this.#o), this.#u(t); + } + } + #d(t) { + let o = this.#n.get(t); + o && (o.disconnect(), this.#n.delete(t)), this.#n.size || this.#n.clear(); + } + disconnect() { + this.#a = false, this.#o = {}, _n.#t.delete(this); + for (let t of this.#n.keys()) this.#d(t); + this.#r.disconnect(); + } + observe(t, o) { + let r = t.nodeType === Node.DOCUMENT_NODE ? t : t.ownerDocument, n = r?.defaultView; + !r || !n || (_n.#i(n), _n.#t.add(this), this.#e = t, this.#o = o, this.#a = true, this.#r.observe(t, o), this.#u(t)); + } + #u(t, o) { + let r = t.nodeType === Node.DOCUMENT_NODE ? t : t.ownerDocument; + if (r) { + if (t === r) t = r.body; + else { + let n = t.shadowRoot; + if (n) { + if (o) { + let s = this.#n.get(n); + s && (s.disconnect(), this.#n.delete(n)); + } else this.#c(n); + return; + } + } + r.createTreeWalker(t, NodeFilter.SHOW_ELEMENT, { acceptNode: (n) => { + if (n.nodeType === Node.ELEMENT_NODE) if (o) { + let s = this.#n.get(n); + s && (s.disconnect(), this.#n.delete(n)); + } else { + let s = n.shadowRoot; + s && this.#c(s); + } + return NodeFilter.FILTER_SKIP; + } }).nextNode(); + } + } + takeRecords() { + let t = this.#r.takeRecords(); + for (let o of this.#n.values()) t.push(...o.takeRecords()); + return t; + } +}; +function Ca(e) { + return new e5(e); +} +var jd = class { + id = Vd(); + get start() { + if (!this.#t) return null; + let e = null; + for (let { element: t } of this.items()) { + if (t.hasAttribute("focusgroupstart")) return t; + e ??= t; + } + return e; + } + #t; + #e; + #o = null; + constructor(e) { + this.#t = e, this.#e = mo(document, this.#t, NodeFilter.SHOW_ELEMENT, (t) => this.#s(t)); + } + observe(e) { + this.#o = Ca((t) => { + let o = this.#a(t); + o && e.update(o); + }), this.#o.observe(this.#t, { attributes: true, attributeFilter: ["focusgroup", "focusgroupstart", "controls", "contenteditable", "disabled", "href", "hidden", "tabindex", "type"], childList: true, subtree: true }), va.add(this.#o); + } + disconnect() { + va.delete(this.#o), this.#o?.disconnect(), this.#t = null, this.#e = null, this.#o = null; + } + flush() { + this.#o?.takeRecords(); + } + decorate() { + let e = mo(document, this.#t, NodeFilter.SHOW_ELEMENT, (n) => this.#r(n) || this.#n(n) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP), t = false, o = 0, r = null; + for (; e.nextNode(); ) { + let n = e.currentNode; + if (!(r && Fe(r, n))) { + if (r = null, this.#n(n)) { + if (Gd(n, this.#t) && (t = true), n.getAttribute("focusgroup").includes(Pe.NONE)) { + r = n; + continue; + } + if (!Mn(n, this.#t)) continue; + } + n.setAttribute(oe.ITEM, this.id), t ? (o++, n.setAttribute(oe.SEGMENT, String(o)), n.setAttribute(oe.SEGMENT_START, ""), t = false) : o > 0 && n.setAttribute(oe.SEGMENT, String(o)); + } + } + } + *items() { + for (this.#e.currentNode = this.#t; this.#e.nextNode(); ) { + let e = this.#e.currentNode; + yield { element: e, segmentBoundary: e.hasAttribute(oe.SEGMENT_START) }; + } + } + undecorate() { + let e = []; + for (this.#e.currentNode = this.#t; this.#e.nextNode(); ) e.push(this.#e.currentNode); + for (let t of e) t.removeAttribute(oe.ITEM), t.removeAttribute(oe.SEGMENT), t.removeAttribute(oe.SEGMENT_START); + } + isSegmentStart(e) { + return e.hasAttribute(oe.SEGMENT_START); + } + sameSegment(e, t) { + return e.getAttribute(oe.SEGMENT) === t.getAttribute(oe.SEGMENT); + } + first() { + return this.#e.currentNode = this.#t, this.#e.nextNode() ?? null; + } + last() { + this.#e.currentNode = this.#t; + let e = null; + for (; this.#e.nextNode(); ) e = this.#e.currentNode; + return e; + } + next(e) { + return this.#e.currentNode = e, this.#e.nextNode() ?? null; + } + previous(e) { + return this.#e.currentNode = e, this.#e.previousNode() ?? null; + } + contains(e) { + return this.#s(e) !== NodeFilter.FILTER_REJECT; + } + isItem(e) { + return e.getAttribute(oe.ITEM) === this.id; + } + #s(e) { + if (e.hasAttribute("focusgroup") && e.getAttribute(oe.ITEM) !== this.id) return NodeFilter.FILTER_REJECT; + let t = zo(In(e), `[focusgroup]:not([${oe.ITEM}="${this.id}"])`); + return t && t !== this.#t ? NodeFilter.FILTER_REJECT : this.isItem(e) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP; + } + #r(e) { + return Mn(e, this.#t) && zo(In(e), "[focusgroup]") === this.#t; + } + #n(e) { + return e.hasAttribute("focusgroup") && e !== this.#t; + } + #a(e) { + let t = e.filter((s) => !(s.type === "attributes" && s.attributeName === "tabindex" && (s.target.hasAttribute(oe.AUTHOR_TABINDEX) && s.target.getAttribute(oe.ITEM) !== this.id || s.target === this.#t))); + if (t.length === 0) return null; + let o = t.some((s) => s.target === this.#t && s.attributeName === "focusgroup"), r = []; + for (let s of t) s.type === "childList" && s.removedNodes.length > 0 && r.push(...s.removedNodes); + let n = []; + for (let s of t) s.type === "attributes" && s.attributeName === "tabindex" && s.target.hasAttribute(oe.AUTHOR_TABINDEX) && s.target.getAttribute(oe.ITEM) === this.id && n.push(s.target); + return { definition: o ? xa(this.#t) : void 0, removedNodes: r, authorTabindexChanges: n }; + } +}; +var Ut; +if (Ul() && typeof MutationObserver < "u" && !Rn() && (Ut = fo.m ??= /* @__PURE__ */ new Map(), !fo.g)) { + let e = Ca((t) => { + for (let o of t) if (o.type === "childList") { + for (let r of o.removedNodes) Ut.has(r) && (Ut.get(r)?.disconnect(), Ut.delete(r)); + if (fo.b) for (let r of o.addedNodes) r.nodeType === Node.ELEMENT_NODE && Pn(r); + } + }); + e.observe(document.body, { childList: true, subtree: true }), fo.g = e; +} +function Pn(e) { + if (Rn() || !Ul()) return; + e ??= document.body; + let t = mo(document, e, NodeFilter.SHOW_ELEMENT, (o) => o.hasAttribute("focusgroup") ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP); + do { + let o = t.currentNode; + !o.hasAttribute?.("focusgroup") || Ut.has(o) || (Ut.set(o, null), requestAnimationFrame(() => { + if (!Ut.has(o)) return; + let r = new jd(o), n = new Ud(o, r, { definition: xa(o), decorateOwner: (s, a) => jl(s, a, "owner"), decorateItem: (s, a) => jl(s, a, "child") }); + r.observe(n), Ut.set(o, n); + })); + } while (t.nextNode()); +} +var Kl = T(S(), 1); +function kn(e) { + "@babel/helpers - typeof"; + return kn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { + return typeof t; + } : function(t) { + return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t; + }, kn(e); +} +var t5 = ["aria-hidden", "aria-label", "aria-labelledby", "tabIndex", "className", "fill", "size", "verticalAlign", "id", "title", "style"]; +function zl() { + return zl = Object.assign ? Object.assign.bind() : function(e) { + for (var t = 1; t < arguments.length; t++) { + var o = arguments[t]; + for (var r in o) ({}).hasOwnProperty.call(o, r) && (e[r] = o[r]); + } + return e; + }, zl.apply(null, arguments); +} +function Kd(e, t) { + var o = Object.keys(e); + if (Object.getOwnPropertySymbols) { + var r = Object.getOwnPropertySymbols(e); + t && (r = r.filter(function(n) { + return Object.getOwnPropertyDescriptor(e, n).enumerable; + })), o.push.apply(o, r); + } + return o; +} +function o5(e) { + for (var t = 1; t < arguments.length; t++) { + var o = arguments[t] != null ? arguments[t] : {}; + t % 2 ? Kd(Object(o), true).forEach(function(r) { + r5(e, r, o[r]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : Kd(Object(o)).forEach(function(r) { + Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(o, r)); + }); + } + return e; +} +function r5(e, t, o) { + return (t = n5(t)) in e ? Object.defineProperty(e, t, { value: o, enumerable: true, configurable: true, writable: true }) : e[t] = o, e; +} +function n5(e) { + var t = s5(e, "string"); + return kn(t) == "symbol" ? t : t + ""; +} +function s5(e, t) { + if (kn(e) != "object" || !e) return e; + var o = e[Symbol.toPrimitive]; + if (o !== void 0) { + var r = o.call(e, t || "default"); + if (kn(r) != "object") return r; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (t === "string" ? String : Number)(e); +} +function a5(e, t) { + if (e == null) return {}; + var o, r, n = i5(e, t); + if (Object.getOwnPropertySymbols) { + var s = Object.getOwnPropertySymbols(e); + for (r = 0; r < s.length; r++) o = s[r], t.indexOf(o) === -1 && {}.propertyIsEnumerable.call(e, o) && (n[o] = e[o]); + } + return n; +} +function i5(e, t) { + if (e == null) return {}; + var o = {}; + for (var r in e) if ({}.hasOwnProperty.call(e, r)) { + if (t.indexOf(r) !== -1) continue; + o[r] = e[r]; + } + return o; +} +var l5 = { small: 16, medium: 32, large: 64 }; +function F(e, t, o, r, n) { + var s = e["aria-hidden"], a = e["aria-label"], i = e["aria-labelledby"], l = e.tabIndex, c = e.className, u = c === void 0 ? "" : c, m = e.fill, h = m === void 0 ? "currentColor" : m, d = e.size, f = d === void 0 ? 16 : d, g = e.verticalAlign, y = g === void 0 ? "text-bottom" : g, x = e.id, v = e.title, C = e.style, b = a5(e, t5), _ = l5[f] || f, I = c5(n, _), L = r[I].width, V = _ * (L / I), w = r[I].path, M = a || i, B = s === void 0 ? M ? void 0 : "true" : s, j = M && B !== "true" ? "img" : void 0; + return Kl.default.createElement("svg", zl({ ref: t, "data-component": "Octicon" }, b, { "aria-hidden": B, tabIndex: l, focusable: l >= 0 ? "true" : "false", "aria-label": a, "aria-labelledby": i, className: "".concat(o, " ").concat(u).trim(), role: j, viewBox: "0 0 ".concat(L, " ").concat(I), width: V, height: _, fill: h, id: x, display: "inline-block", overflow: "visible", style: o5({ verticalAlign: y }, C) }), v ? Kl.default.createElement("title", null, v) : null, w); +} +function c5(e, t) { + return e.map(function(o) { + return parseInt(o, 10); + }).reduce(function(o, r) { + return r <= t ? r : o; + }, e[0]); +} +var bo = T(S(), 1); +var u5 = ["16", "24"]; +var d5 = { 16: { width: 16, path: bo.default.createElement("path", { d: "M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" }) }, 24: { width: 24, path: bo.default.createElement(bo.default.Fragment, null, bo.default.createElement("path", { d: "M13 17.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.25-8.25a.75.75 0 0 0-1.5 0v4.5a.75.75 0 0 0 1.5 0v-4.5Z" }), bo.default.createElement("path", { d: "M9.836 3.244c.963-1.665 3.365-1.665 4.328 0l8.967 15.504c.963 1.667-.24 3.752-2.165 3.752H3.034c-1.926 0-3.128-2.085-2.165-3.752Zm3.03.751a1.002 1.002 0 0 0-1.732 0L2.168 19.499A1.002 1.002 0 0 0 3.034 21h17.932a1.002 1.002 0 0 0 .866-1.5L12.866 3.994Z" })) } }; +var Ta = bo.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-alert", d5, u5); +}); +Ta.displayName = "AlertIcon"; +var ya = T(S(), 1); +var p5 = ["16", "24"]; +var m5 = { 16: { width: 16, path: ya.default.createElement("path", { d: "M7.78 12.53a.75.75 0 0 1-1.06 0L2.47 8.28a.75.75 0 0 1 0-1.06l4.25-4.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L4.81 7h7.44a.75.75 0 0 1 0 1.5H4.81l2.97 2.97a.75.75 0 0 1 0 1.06Z" }) }, 24: { width: 24, path: ya.default.createElement("path", { d: "M10.78 19.03a.75.75 0 0 1-1.06 0l-6.25-6.25a.75.75 0 0 1 0-1.06l6.25-6.25a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L5.81 11.5h14.44a.75.75 0 0 1 0 1.5H5.81l4.97 4.97a.75.75 0 0 1 0 1.06Z" }) } }; +var ho = ya.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-arrow-left", m5, p5); +}); +ho.displayName = "ArrowLeftIcon"; +var Sa = T(S(), 1); +var f5 = ["16", "24"]; +var b5 = { 16: { width: 16, path: Sa.default.createElement("path", { d: "M8.22 2.97a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l2.97-2.97H3.75a.75.75 0 0 1 0-1.5h7.44L8.22 4.03a.75.75 0 0 1 0-1.06Z" }) }, 24: { width: 24, path: Sa.default.createElement("path", { d: "M13.22 19.03a.75.75 0 0 1 0-1.06L18.19 13H3.75a.75.75 0 0 1 0-1.5h14.44l-4.97-4.97a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l6.25 6.25a.75.75 0 0 1 0 1.06l-6.25 6.25a.75.75 0 0 1-1.06 0Z" }) } }; +var xo = Sa.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-arrow-right", b5, f5); +}); +xo.displayName = "ArrowRightIcon"; +var Ia = T(S(), 1); +var h5 = ["16", "24"]; +var x5 = { 16: { width: 16, path: Ia.default.createElement("path", { d: "M3.47 7.78a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0l4.25 4.25a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018L9 4.81v7.44a.75.75 0 0 1-1.5 0V4.81L4.53 7.78a.75.75 0 0 1-1.06 0Z" }) }, 24: { width: 24, path: Ia.default.createElement("path", { d: "M18.655 10.405a.75.75 0 0 1-1.06 0l-4.97-4.97v14.44a.75.75 0 0 1-1.5 0V5.435l-4.97 4.97a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l6.25-6.25a.75.75 0 0 1 1.06 0l6.25 6.25a.75.75 0 0 1 0 1.06Z" }) } }; +var Ma = Ia.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-arrow-up", x5, h5); +}); +Ma.displayName = "ArrowUpIcon"; +var Ra = T(S(), 1); +var v5 = ["16", "24"]; +var g5 = { 16: { width: 16, path: Ra.default.createElement("path", { d: "M8.75 8.582v5.668a.75.75 0 0 1-1.5 0V8.582a1.75 1.75 0 1 1 1.5 0Zm3.983-7.125a.75.75 0 0 1 1.06.026A7.976 7.976 0 0 1 16 7c0 2.139-.84 4.083-2.207 5.517a.75.75 0 1 1-1.086-1.034A6.474 6.474 0 0 0 14.5 7a6.474 6.474 0 0 0-1.793-4.483.75.75 0 0 1 .026-1.06Zm-9.466 0c.3.286.312.76.026 1.06A6.474 6.474 0 0 0 1.5 7a6.47 6.47 0 0 0 1.793 4.483.75.75 0 0 1-1.086 1.034A7.973 7.973 0 0 1 0 7c0-2.139.84-4.083 2.207-5.517a.75.75 0 0 1 1.06-.026Zm8.556 2.321A4.988 4.988 0 0 1 13 7a4.988 4.988 0 0 1-1.177 3.222.75.75 0 1 1-1.146-.967A3.487 3.487 0 0 0 11.5 7c0-.86-.309-1.645-.823-2.255a.75.75 0 0 1 1.146-.967Zm-6.492.958A3.48 3.48 0 0 0 4.5 7a3.48 3.48 0 0 0 .823 2.255.75.75 0 0 1-1.146.967A4.981 4.981 0 0 1 3 7a4.982 4.982 0 0 1 1.188-3.236.75.75 0 1 1 1.143.972Z" }) }, 24: { width: 24, path: Ra.default.createElement("path", { d: "M20.485 2.515a.75.75 0 0 0-1.06 1.06A10.465 10.465 0 0 1 22.5 11c0 2.9-1.174 5.523-3.075 7.424a.75.75 0 0 0 1.06 1.061A11.965 11.965 0 0 0 24 11c0-3.314-1.344-6.315-3.515-8.485Zm-15.91 1.06a.75.75 0 0 0-1.06-1.06A11.965 11.965 0 0 0 0 11c0 3.313 1.344 6.314 3.515 8.485a.75.75 0 0 0 1.06-1.06A10.465 10.465 0 0 1 1.5 11c0-2.9 1.174-5.524 3.075-7.425ZM8.11 7.11a.75.75 0 0 0-1.06-1.06A6.98 6.98 0 0 0 5 11a6.98 6.98 0 0 0 2.05 4.95.75.75 0 0 0 1.06-1.061 5.48 5.48 0 0 1-1.61-3.89 5.48 5.48 0 0 1 1.61-3.888Zm8.84-1.06a.75.75 0 1 0-1.06 1.06A5.48 5.48 0 0 1 17.5 11a5.48 5.48 0 0 1-1.61 3.889.75.75 0 1 0 1.06 1.06A6.98 6.98 0 0 0 19 11a6.98 6.98 0 0 0-2.05-4.949ZM14 11a2 2 0 0 1-1.25 1.855v8.395a.75.75 0 0 1-1.5 0v-8.395A2 2 0 1 1 14 11Z" }) } }; +var _a = Ra.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-broadcast", g5, v5); +}); +_a.displayName = "BroadcastIcon"; +var Pa = T(S(), 1); +var C5 = ["16", "24"]; +var T5 = { 16: { width: 16, path: Pa.default.createElement("path", { d: "M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z" }) }, 24: { width: 24, path: Pa.default.createElement("path", { d: "M21.03 5.72a.75.75 0 0 1 0 1.06l-11.5 11.5a.747.747 0 0 1-1.072-.012l-5.5-5.75a.75.75 0 1 1 1.084-1.036l4.97 5.195L19.97 5.72a.75.75 0 0 1 1.06 0Z" }) } }; +var vo = Pa.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-check", T5, C5); +}); +vo.displayName = "CheckIcon"; +var go = T(S(), 1); +var y5 = ["16", "24"]; +var S5 = { 16: { width: 16, path: go.default.createElement("path", { d: "M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm1.5 0a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm10.28-1.72-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l1.47 1.47 3.97-3.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z" }) }, 24: { width: 24, path: go.default.createElement(go.default.Fragment, null, go.default.createElement("path", { d: "M17.28 9.28a.75.75 0 0 0-1.06-1.06l-5.97 5.97-2.47-2.47a.75.75 0 0 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l6.5-6.5Z" }), go.default.createElement("path", { d: "M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1ZM2.5 12a9.5 9.5 0 0 0 9.5 9.5 9.5 9.5 0 0 0 9.5-9.5A9.5 9.5 0 0 0 12 2.5 9.5 9.5 0 0 0 2.5 12Z" })) } }; +var ka = go.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-check-circle", S5, y5); +}); +ka.displayName = "CheckCircleIcon"; +var An = T(S(), 1); +var I5 = ["12", "16", "24"]; +var M5 = { 12: { width: 12, path: An.default.createElement("path", { d: "M6 0a6 6 0 1 1 0 12A6 6 0 0 1 6 0Zm-.705 8.737L9.63 4.403 8.392 3.166 5.295 6.263l-1.7-1.702L2.356 5.8l2.938 2.938Z" }) }, 16: { width: 16, path: An.default.createElement("path", { d: "M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16Zm3.78-9.72a.751.751 0 0 0-.018-1.042.751.751 0 0 0-1.042-.018L6.75 9.19 5.28 7.72a.751.751 0 0 0-1.042.018.751.751 0 0 0-.018 1.042l2 2a.75.75 0 0 0 1.06 0Z" }) }, 24: { width: 24, path: An.default.createElement("path", { d: "M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Zm16.28-2.72a.751.751 0 0 0-.018-1.042.751.751 0 0 0-1.042-.018l-5.97 5.97-2.47-2.47a.751.751 0 0 0-1.042.018.751.751 0 0 0-.018 1.042l3 3a.75.75 0 0 0 1.06 0Z" }) } }; +var Aa = An.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-check-circle-fill", M5, I5); +}); +Aa.displayName = "CheckCircleFillIcon"; +var wn = T(S(), 1); +var R5 = ["12", "16", "24"]; +var _5 = { 12: { width: 12, path: wn.default.createElement("path", { d: "M6 8.825c-.2 0-.4-.1-.5-.2l-3.3-3.3c-.3-.3-.3-.8 0-1.1.3-.3.8-.3 1.1 0l2.7 2.7 2.7-2.7c.3-.3.8-.3 1.1 0 .3.3.3.8 0 1.1l-3.2 3.2c-.2.2-.4.3-.6.3Z" }) }, 16: { width: 16, path: wn.default.createElement("path", { d: "M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z" }) }, 24: { width: 24, path: wn.default.createElement("path", { d: "M5.22 8.22a.749.749 0 0 0 0 1.06l6.25 6.25a.749.749 0 0 0 1.06 0l6.25-6.25a.749.749 0 1 0-1.06-1.06L12 13.939 6.28 8.22a.749.749 0 0 0-1.06 0Z" }) } }; +var He = wn.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-chevron-down", _5, R5); +}); +He.displayName = "ChevronDownIcon"; +var En = T(S(), 1); +var P5 = ["12", "16", "24"]; +var k5 = { 12: { width: 12, path: En.default.createElement("path", { d: "M3.587 6.025c0 .2.1.4.2.5l3.3 3.3c.3.3.8.3 1.1 0 .3-.3.3-.8 0-1.1l-2.7-2.7 2.7-2.7c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-3.2 3.2c-.2.2-.3.4-.3.6Z" }) }, 16: { width: 16, path: En.default.createElement("path", { d: "M9.78 12.78a.75.75 0 0 1-1.06 0L4.47 8.53a.75.75 0 0 1 0-1.06l4.25-4.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L6.06 8l3.72 3.72a.75.75 0 0 1 0 1.06Z" }) }, 24: { width: 24, path: En.default.createElement("path", { d: "M15.28 5.22a.75.75 0 0 1 0 1.06L9.56 12l5.72 5.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-6.25-6.25a.75.75 0 0 1 0-1.06l6.25-6.25a.75.75 0 0 1 1.06 0Z" }) } }; +var wa = En.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-chevron-left", k5, P5); +}); +wa.displayName = "ChevronLeftIcon"; +var Nn = T(S(), 1); +var A5 = ["12", "16", "24"]; +var w5 = { 12: { width: 12, path: Nn.default.createElement("path", { d: "M4.7 10c-.2 0-.4-.1-.5-.2-.3-.3-.3-.8 0-1.1L6.9 6 4.2 3.3c-.3-.3-.3-.8 0-1.1.3-.3.8-.3 1.1 0l3.3 3.2c.3.3.3.8 0 1.1L5.3 9.7c-.2.2-.4.3-.6.3Z" }) }, 16: { width: 16, path: Nn.default.createElement("path", { d: "M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z" }) }, 24: { width: 24, path: Nn.default.createElement("path", { d: "M8.72 18.78a.75.75 0 0 1 0-1.06L14.44 12 8.72 6.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l6.25 6.25a.75.75 0 0 1 0 1.06l-6.25 6.25a.75.75 0 0 1-1.06 0Z" }) } }; +var jt = Nn.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-chevron-right", w5, A5); +}); +jt.displayName = "ChevronRightIcon"; +var Co = T(S(), 1); +var E5 = ["16", "24"]; +var N5 = { 16: { width: 16, path: Co.default.createElement("path", { d: "M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm7-3.25v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5a.75.75 0 0 1 1.5 0Z" }) }, 24: { width: 24, path: Co.default.createElement(Co.default.Fragment, null, Co.default.createElement("path", { d: "M12.5 7.25a.75.75 0 0 0-1.5 0v5.5c0 .27.144.518.378.651l3.5 2a.75.75 0 0 0 .744-1.302L12.5 12.315V7.25Z" }), Co.default.createElement("path", { d: "M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1ZM2.5 12a9.5 9.5 0 0 0 9.5 9.5 9.5 9.5 0 0 0 9.5-9.5A9.5 9.5 0 0 0 12 2.5 9.5 9.5 0 0 0 2.5 12Z" })) } }; +var Ea = Co.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-clock", N5, E5); +}); +Ea.displayName = "ClockIcon"; +var Na = T(S(), 1); +var D5 = ["16", "24"]; +var F5 = { 16: { width: 16, path: Na.default.createElement("path", { d: "M2 7.25A5.225 5.225 0 0 1 7.25 2a5.222 5.222 0 0 1 4.767 3.029A4.472 4.472 0 0 1 16 9.5c0 2.505-1.995 4.5-4.5 4.5h-8A3.474 3.474 0 0 1 0 10.5c0-1.41.809-2.614 2.001-3.17Zm1.54.482a.75.75 0 0 1-.556.832c-.86.22-1.484.987-1.484 1.936 0 1.124.876 2 2 2h8c1.676 0 3-1.324 3-3s-1.324-3-3-3a.75.75 0 0 1-.709-.504A3.72 3.72 0 0 0 7.25 3.5C5.16 3.5 3.5 5.16 3.5 7.25c.002.146.014.292.035.436l.004.036.001.008Z" }) }, 24: { width: 24, path: Na.default.createElement("path", { d: "M3.103 10.107c0-4.244 3.445-7.607 7.733-7.607 3.19 0 5.912 1.858 7.099 4.563l.01.022.001.006C21.348 7.345 24 10.095 24 13.536 24 17.148 21.076 20 17.431 20H5.017C2.23 20 0 17.83 0 15.06a4.899 4.899 0 0 1 3.112-4.581 7.696 7.696 0 0 1-.009-.372ZM10.836 4c-3.485 0-6.233 2.717-6.233 6.107 0 .284.022.602.052.756a.75.75 0 0 1-.552.869c-1.52.385-2.603 1.712-2.603 3.328 0 1.917 1.532 3.44 3.517 3.44h12.414c2.843 0 5.069-2.206 5.069-4.964 0-2.759-2.226-4.965-5.069-4.965a.75.75 0 0 1-.696-.47l-.179-.446C15.606 5.5 13.424 4 10.836 4Z" }) } }; +var Da = Na.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-cloud", F5, D5); +}); +Da.displayName = "CloudIcon"; +var Fa = T(S(), 1); +var L5 = ["16", "24"]; +var B5 = { 16: { width: 16, path: Fa.default.createElement("path", { d: "m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z" }) }, 24: { width: 24, path: Fa.default.createElement("path", { d: "M15.22 4.97a.75.75 0 0 1 1.06 0l6.5 6.5a.75.75 0 0 1 0 1.06l-6.5 6.5a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L21.19 12l-5.97-5.97a.75.75 0 0 1 0-1.06Zm-6.44 0a.75.75 0 0 1 0 1.06L2.81 12l5.97 5.97a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-6.5-6.5a.75.75 0 0 1 0-1.06l6.5-6.5a.75.75 0 0 1 1.06 0Z" }) } }; +var La = Fa.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-code", B5, L5); +}); +La.displayName = "CodeIcon"; +var xe = T(S(), 1); +var O5 = ["16", "24", "48", "96"]; +var V5 = { 16: { width: 16, path: xe.default.createElement(xe.default.Fragment, null, xe.default.createElement("path", { d: "M7.998 15.035c-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.201-.508-.254-1.084-.254-1.656 0-.87.128-1.769.693-2.484.579-.733 1.494-1.124 2.724-1.261 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095v1.872c0 .766-3.351 3.795-8.002 3.795Zm0-1.485c2.28 0 4.584-1.11 5.002-1.433V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-1.146 0-2.059-.327-2.71-.991A3.222 3.222 0 0 1 8 6.303a3.24 3.24 0 0 1-.544.743c-.65.664-1.563.991-2.71.991-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433ZM6.762 2.83c-.193-.206-.637-.413-1.682-.297-1.019.113-1.479.404-1.713.7-.247.312-.369.789-.369 1.554 0 .793.129 1.171.308 1.371.162.181.519.379 1.442.379.853 0 1.339-.235 1.638-.54.315-.322.527-.827.617-1.553.117-.935-.037-1.395-.241-1.614Zm4.155-.297c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Z" }), xe.default.createElement("path", { d: "M6.25 9.037a.75.75 0 0 1 .75.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 .75-.75Zm4.25.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 1.5 0Z" })) }, 24: { width: 24, path: xe.default.createElement(xe.default.Fragment, null, xe.default.createElement("path", { d: "M23.922 16.992c-.861 1.495-5.859 5.023-11.922 5.023-6.063 0-11.061-3.528-11.922-5.023A.641.641 0 0 1 0 16.736v-2.869a.841.841 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.195 10.195 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952 1.399-1.136 3.392-2.093 6.122-2.093 2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.832.832 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256ZM12.172 11h-.344a4.323 4.323 0 0 1-.355.508C10.703 12.455 9.555 13 7.965 13c-1.725 0-2.989-.359-3.782-1.259a2.005 2.005 0 0 1-.085-.104L4 11.741v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.323 4.323 0 0 1-.355-.508h-.016.016Zm.641-2.935c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z" }), xe.default.createElement("path", { d: "M14.5 14.25a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Zm-5 0a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Z" })) }, 48: { width: 48, path: xe.default.createElement(xe.default.Fragment, null, xe.default.createElement("path", { d: "M47.801 34.003c-1.72 2.988-11.706 10.037-23.82 10.037S1.881 36.991.161 34.003a1.309 1.309 0 0 1-.161-.57v-5.615c.012-.17.047-.338.11-.498.744-1.867 2.692-4.58 5.206-5.308.333-.855.826-2.106 1.287-3.029a20.112 20.112 0 0 1-.104-2.171c0-2.659.563-4.992 2.262-6.729.793-.811 1.777-1.433 2.945-1.901C14.502 5.911 18.483 4 23.938 4c5.455 0 9.523 1.911 12.319 4.182 1.167.468 2.151 1.09 2.944 1.901 1.699 1.737 2.263 4.07 2.263 6.729 0 .736-.027 1.465-.105 2.171.461.923.954 2.174 1.288 3.029 2.513.728 4.461 3.441 5.205 5.308.081.205.115.424.115.645v5.318c0 .252-.04.502-.166.72ZM24.325 22.031h-.688a8.52 8.52 0 0 1-.709 1.016c-1.537 1.892-3.833 2.98-7.008 2.98-3.447 0-5.972-.717-7.557-2.514a4.408 4.408 0 0 1-.171-.21l-.195.21v13.155c2.867 1.558 9.02 4.353 15.984 4.353s13.117-2.795 15.984-4.353V23.513l-.195-.21s-.066.091-.171.21c-1.584 1.797-4.11 2.514-7.557 2.514-3.175 0-5.47-1.088-7.008-2.98a8.637 8.637 0 0 1-.709-1.016h-.033.033Zm-1.969-5.864a14.31 14.31 0 0 0 .127-1.785v-.042c-.003-1.537-.339-2.538-.876-3.152-.681-.78-2.09-1.378-5.06-1.057-3.008.326-4.69 1.073-5.643 2.048-.923.944-1.408 2.356-1.408 4.633 0 2.42.348 3.849 1.115 4.719.729.827 2.165 1.499 5.309 1.499 2.417 0 3.799-.786 4.683-1.873.948-1.168 1.482-2.878 1.753-4.99Zm3.25 0c.271 2.112.805 3.822 1.754 4.99.883 1.087 2.265 1.873 4.682 1.873 3.145 0 4.58-.672 5.309-1.499.767-.87 1.116-2.299 1.116-4.719 0-2.277-.485-3.689-1.408-4.633-.954-.975-2.635-1.722-5.644-2.048-2.969-.321-4.378.277-5.06 1.057-.537.614-.873 1.615-.876 3.152v.042c.002.53.042 1.123.127 1.785Z" }), xe.default.createElement("path", { d: "M28.998 28.516c1.104 0 1.999.895 1.999 1.999v3.998a2 2 0 1 1-3.998 0v-3.998c0-1.104.895-1.999 1.999-1.999Zm-9.996 0c1.104 0 1.999.895 1.999 1.999v3.998a2 2 0 1 1-3.998 0v-3.998c0-1.104.895-1.999 1.999-1.999Z" })) }, 96: { width: 96, path: xe.default.createElement(xe.default.Fragment, null, xe.default.createElement("path", { d: "M95.667 67.954C92.225 73.933 72.24 88.04 47.997 88.04 23.754 88.04 3.769 73.933.328 67.954c-.216-.375-.307-.796-.328-1.226V55.661c.019-.371.089-.736.226-1.081 1.489-3.738 5.386-9.166 10.417-10.623.667-1.712 1.655-4.215 2.576-6.062-.154-1.414-.208-2.872-.208-4.345 0-5.322 1.128-9.99 4.527-13.466 1.587-1.623 3.557-2.869 5.893-3.805 5.595-4.545 13.563-8.369 24.48-8.369s19.057 3.824 24.652 8.369c2.337.936 4.306 2.182 5.894 3.805 3.399 3.476 4.527 8.144 4.527 13.466 0 1.473-.054 2.931-.208 4.345.921 1.847 1.909 4.35 2.576 6.062 5.03 1.457 8.928 6.885 10.417 10.623.163.41.231.848.231 1.289v10.644c0 .504-.081 1.004-.333 1.441ZM48.686 43.993l-.3.001-1.077-.001c-.423.709-.894 1.39-1.418 2.035-3.078 3.787-7.672 5.964-14.026 5.964-6.897 0-11.952-1.435-15.123-5.032a7.886 7.886 0 0 1-.342-.419l-.39.419v26.326c5.737 3.118 18.05 8.713 31.987 8.713 13.938 0 26.251-5.595 31.988-8.713V46.96l-.39-.419s-.132.181-.342.419c-3.171 3.597-8.226 5.032-15.123 5.032-6.354 0-10.949-2.177-14.026-5.964a17.178 17.178 0 0 1-1.418-2.034h-.066l.066-.001Zm-3.94-11.733c.17-1.326.251-2.513.253-3.573v-.084c-.005-3.077-.678-5.079-1.752-6.308-1.365-1.562-4.184-2.758-10.127-2.115-6.021.652-9.386 2.146-11.294 4.098-1.847 1.889-2.818 4.715-2.818 9.272 0 4.842.698 7.703 2.232 9.443 1.459 1.655 4.332 3.001 10.625 3.001 4.837 0 7.603-1.573 9.371-3.749 1.899-2.336 2.967-5.759 3.51-9.985Zm6.503 0c.543 4.226 1.611 7.649 3.51 9.985 1.768 2.176 4.533 3.749 9.371 3.749 6.292 0 9.165-1.346 10.624-3.001 1.535-1.74 2.232-4.601 2.232-9.443 0-4.557-.97-7.383-2.817-9.272-1.908-1.952-5.274-3.446-11.294-4.098-5.943-.643-8.763.553-10.127 2.115-1.074 1.229-1.747 3.231-1.752 6.308v.084c.002 1.06.083 2.247.253 3.573Zm-2.563 11.734h.066l-.066-.001v.001Z" }), xe.default.createElement("path", { d: "M38.5 55.75a3.5 3.5 0 0 1 3.5 3.5v8.5a3.5 3.5 0 1 1-7 0v-8.5a3.5 3.5 0 0 1 3.5-3.5Zm19 0a3.5 3.5 0 0 1 3.5 3.5v8.5a3.5 3.5 0 1 1-7 0v-8.5a3.5 3.5 0 0 1 3.5-3.5Z" })) } }; +var Dn = xe.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-copilot", V5, O5); +}); +Dn.displayName = "CopilotIcon"; +var Ba = T(S(), 1); +var H5 = ["16", "24"]; +var G5 = { 16: { width: 16, path: Ba.default.createElement("path", { d: "M1 3.5c0-.626.292-1.165.7-1.59.406-.422.956-.767 1.579-1.041C4.525.32 6.195 0 8 0c1.805 0 3.475.32 4.722.869.622.274 1.172.62 1.578 1.04.408.426.7.965.7 1.591v9c0 .626-.292 1.165-.7 1.59-.406.422-.956.767-1.579 1.041C11.476 15.68 9.806 16 8 16c-1.805 0-3.475-.32-4.721-.869-.623-.274-1.173-.62-1.579-1.04-.408-.426-.7-.965-.7-1.591Zm1.5 0c0 .133.058.318.282.551.227.237.591.483 1.101.707C4.898 5.205 6.353 5.5 8 5.5c1.646 0 3.101-.295 4.118-.742.508-.224.873-.471 1.1-.708.224-.232.282-.417.282-.55 0-.133-.058-.318-.282-.551-.227-.237-.591-.483-1.101-.707C11.102 1.795 9.647 1.5 8 1.5c-1.646 0-3.101.295-4.118.742-.508.224-.873.471-1.1.708-.224.232-.282.417-.282.55Zm0 4.5c0 .133.058.318.282.551.227.237.591.483 1.101.707C4.898 9.705 6.353 10 8 10c1.646 0 3.101-.295 4.118-.742.508-.224.873-.471 1.1-.708.224-.232.282-.417.282-.55V5.724c-.241.15-.503.286-.778.407C11.475 6.68 9.805 7 8 7c-1.805 0-3.475-.32-4.721-.869a6.15 6.15 0 0 1-.779-.407Zm0 2.225V12.5c0 .133.058.318.282.55.227.237.592.484 1.1.708 1.016.447 2.471.742 4.118.742 1.647 0 3.102-.295 4.117-.742.51-.224.874-.47 1.101-.707.224-.233.282-.418.282-.551v-2.275c-.241.15-.503.285-.778.406-1.247.549-2.917.869-4.722.869-1.805 0-3.475-.32-4.721-.869a6.327 6.327 0 0 1-.779-.406Z" }) }, 24: { width: 24, path: Ba.default.createElement("path", { d: "M12 1.25c2.487 0 4.773.402 6.466 1.079.844.337 1.577.758 2.112 1.264.536.507.922 1.151.922 1.907v12.987l-.026.013h.026c0 .756-.386 1.4-.922 1.907-.535.506-1.268.927-2.112 1.264-1.693.677-3.979 1.079-6.466 1.079s-4.774-.402-6.466-1.079c-.844-.337-1.577-.758-2.112-1.264C2.886 19.9 2.5 19.256 2.5 18.5h.026l-.026-.013V5.5c0-.756.386-1.4.922-1.907.535-.506 1.268-.927 2.112-1.264C7.226 1.652 9.513 1.25 12 1.25ZM4 14.371v4.116l-.013.013H4c0 .211.103.487.453.817.351.332.898.666 1.638.962 1.475.589 3.564.971 5.909.971 2.345 0 4.434-.381 5.909-.971.739-.296 1.288-.63 1.638-.962.349-.33.453-.607.453-.817h.013L20 18.487v-4.116a7.85 7.85 0 0 1-1.534.8c-1.693.677-3.979 1.079-6.466 1.079s-4.774-.402-6.466-1.079a7.843 7.843 0 0 1-1.534-.8ZM20 12V7.871a7.85 7.85 0 0 1-1.534.8C16.773 9.348 14.487 9.75 12 9.75s-4.774-.402-6.466-1.079A7.85 7.85 0 0 1 4 7.871V12c0 .21.104.487.453.817.35.332.899.666 1.638.961 1.475.59 3.564.972 5.909.972 2.345 0 4.434-.382 5.909-.972.74-.295 1.287-.629 1.638-.96.35-.33.453-.607.453-.818ZM4 5.5c0 .211.103.487.453.817.351.332.898.666 1.638.962 1.475.589 3.564.971 5.909.971 2.345 0 4.434-.381 5.909-.971.739-.296 1.288-.63 1.638-.962.349-.33.453-.607.453-.817 0-.211-.103-.487-.453-.817-.351-.332-.898-.666-1.638-.962-1.475-.589-3.564-.971-5.909-.971-2.345 0-4.434.381-5.909.971-.739.296-1.288.63-1.638.962C4.104 5.013 4 5.29 4 5.5Z" }) } }; +var Oa = Ba.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-database", G5, H5); +}); +Oa.displayName = "DatabaseIcon"; +var Va = T(S(), 1); +var Z5 = ["16", "24"]; +var U5 = { 16: { width: 16, path: Va.default.createElement("path", { d: "M14.25 1c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 14.25 12h-3.727c.099 1.041.52 1.872 1.292 2.757A.752.752 0 0 1 11.25 16h-6.5a.75.75 0 0 1-.565-1.243c.772-.885 1.192-1.716 1.292-2.757H1.75A1.75 1.75 0 0 1 0 10.25v-7.5C0 1.784.784 1 1.75 1ZM1.75 2.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25ZM9.018 12H6.982a5.72 5.72 0 0 1-.765 2.5h3.566a5.72 5.72 0 0 1-.765-2.5Z" }) }, 24: { width: 24, path: Va.default.createElement("path", { d: "M8.954 17H2.75A1.75 1.75 0 0 1 1 15.25V3.75C1 2.784 1.784 2 2.75 2h18.5c.966 0 1.75.784 1.75 1.75v11.5A1.75 1.75 0 0 1 21.25 17h-6.204c.171 1.375.805 2.652 1.769 3.757A.752.752 0 0 1 16.25 22h-8.5a.75.75 0 0 1-.565-1.243c.964-1.105 1.598-2.382 1.769-3.757ZM21.5 3.75a.25.25 0 0 0-.25-.25H2.75a.25.25 0 0 0-.25.25v11.5c0 .138.112.25.25.25h18.5a.25.25 0 0 0 .25-.25ZM13.537 17h-3.074c-.126 1.266-.564 2.445-1.223 3.5h5.52c-.659-1.055-1.098-2.234-1.223-3.5Z" }) } }; +var Ha = Va.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-device-desktop", U5, Z5); +}); +Ha.displayName = "DeviceDesktopIcon"; +var Ga = T(S(), 1); +var j5 = ["16", "24"]; +var K5 = { 16: { width: 16, path: Ga.default.createElement("path", { d: "M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z" }) }, 24: { width: 24, path: Ga.default.createElement("path", { d: "M3 3a2 2 0 0 1 2-2h9.982a2 2 0 0 1 1.414.586l4.018 4.018A2 2 0 0 1 21 7.018V21a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Zm2-.5a.5.5 0 0 0-.5.5v18a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5V8.5h-4a2 2 0 0 1-2-2v-4Zm10 0v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 0-.146-.336l-4.018-4.018A.5.5 0 0 0 15 2.5Z" }) } }; +var Za = Ga.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-file", K5, j5); +}); +Za.displayName = "FileIcon"; +var To = T(S(), 1); +var z5 = ["16", "24"]; +var W5 = { 16: { width: 16, path: To.default.createElement("path", { d: "M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z" }) }, 24: { width: 24, path: To.default.createElement(To.default.Fragment, null, To.default.createElement("path", { d: "M3 3a2 2 0 0 1 2-2h9.982a2 2 0 0 1 1.414.586l4.018 4.018A2 2 0 0 1 21 7.018V21a2 2 0 0 1-2 2H4.75a.75.75 0 0 1 0-1.5H19a.5.5 0 0 0 .5-.5V8.5h-4a2 2 0 0 1-2-2v-4H5a.5.5 0 0 0-.5.5v6.25a.75.75 0 0 1-1.5 0Zm12-.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 0-.146-.336l-4.018-4.018A.5.5 0 0 0 15 2.5Z" }), To.default.createElement("path", { d: "M4.53 12.24a.75.75 0 0 1-.039 1.06l-2.639 2.45 2.64 2.45a.75.75 0 1 1-1.022 1.1l-3.23-3a.75.75 0 0 1 0-1.1l3.23-3a.75.75 0 0 1 1.06.04Zm3.979 1.06a.75.75 0 1 1 1.02-1.1l3.231 3a.75.75 0 0 1 0 1.1l-3.23 3a.75.75 0 1 1-1.021-1.1l2.639-2.45-2.64-2.45Z" })) } }; +var Ua = To.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-file-code", W5, z5); +}); +Ua.displayName = "FileCodeIcon"; +var yo = T(S(), 1); +var $5 = ["16", "24"]; +var q5 = { 16: { width: 16, path: yo.default.createElement("path", { d: "M8 0a8.2 8.2 0 0 1 .701.031C9.444.095 9.99.645 10.16 1.29l.288 1.107c.018.066.079.158.212.224.231.114.454.243.668.386.123.082.233.09.299.071l1.103-.303c.644-.176 1.392.021 1.82.63.27.385.506.792.704 1.218.315.675.111 1.422-.364 1.891l-.814.806c-.049.048-.098.147-.088.294.016.257.016.515 0 .772-.01.147.038.246.088.294l.814.806c.475.469.679 1.216.364 1.891a7.977 7.977 0 0 1-.704 1.217c-.428.61-1.176.807-1.82.63l-1.102-.302c-.067-.019-.177-.011-.3.071a5.909 5.909 0 0 1-.668.386c-.133.066-.194.158-.211.224l-.29 1.106c-.168.646-.715 1.196-1.458 1.26a8.006 8.006 0 0 1-1.402 0c-.743-.064-1.289-.614-1.458-1.26l-.289-1.106c-.018-.066-.079-.158-.212-.224a5.738 5.738 0 0 1-.668-.386c-.123-.082-.233-.09-.299-.071l-1.103.303c-.644.176-1.392-.021-1.82-.63a8.12 8.12 0 0 1-.704-1.218c-.315-.675-.111-1.422.363-1.891l.815-.806c.05-.048.098-.147.088-.294a6.214 6.214 0 0 1 0-.772c.01-.147-.038-.246-.088-.294l-.815-.806C.635 6.045.431 5.298.746 4.623a7.92 7.92 0 0 1 .704-1.217c.428-.61 1.176-.807 1.82-.63l1.102.302c.067.019.177.011.3-.071.214-.143.437-.272.668-.386.133-.066.194-.158.211-.224l.29-1.106C6.009.645 6.556.095 7.299.03 7.53.01 7.764 0 8 0Zm-.571 1.525c-.036.003-.108.036-.137.146l-.289 1.105c-.147.561-.549.967-.998 1.189-.173.086-.34.183-.5.29-.417.278-.97.423-1.529.27l-1.103-.303c-.109-.03-.175.016-.195.045-.22.312-.412.644-.573.99-.014.031-.021.11.059.19l.815.806c.411.406.562.957.53 1.456a4.709 4.709 0 0 0 0 .582c.032.499-.119 1.05-.53 1.456l-.815.806c-.081.08-.073.159-.059.19.162.346.353.677.573.989.02.03.085.076.195.046l1.102-.303c.56-.153 1.113-.008 1.53.27.161.107.328.204.501.29.447.222.85.629.997 1.189l.289 1.105c.029.109.101.143.137.146a6.6 6.6 0 0 0 1.142 0c.036-.003.108-.036.137-.146l.289-1.105c.147-.561.549-.967.998-1.189.173-.086.34-.183.5-.29.417-.278.97-.423 1.529-.27l1.103.303c.109.029.175-.016.195-.045.22-.313.411-.644.573-.99.014-.031.021-.11-.059-.19l-.815-.806c-.411-.406-.562-.957-.53-1.456a4.709 4.709 0 0 0 0-.582c-.032-.499.119-1.05.53-1.456l.815-.806c.081-.08.073-.159.059-.19a6.464 6.464 0 0 0-.573-.989c-.02-.03-.085-.076-.195-.046l-1.102.303c-.56.153-1.113.008-1.53-.27a4.44 4.44 0 0 0-.501-.29c-.447-.222-.85-.629-.997-1.189l-.289-1.105c-.029-.11-.101-.143-.137-.146a6.6 6.6 0 0 0-1.142 0ZM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9.5 8a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 9.5 8Z" }) }, 24: { width: 24, path: yo.default.createElement(yo.default.Fragment, null, yo.default.createElement("path", { d: "M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm-1.5 0a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z" }), yo.default.createElement("path", { d: "M12 1c.266 0 .532.009.797.028.763.055 1.345.617 1.512 1.304l.352 1.45c.019.078.09.171.225.221.247.089.49.19.728.302.13.061.246.044.315.002l1.275-.776c.603-.368 1.411-.353 1.99.147.402.349.78.726 1.128 1.129.501.578.515 1.386.147 1.99l-.776 1.274c-.042.069-.058.185.002.315.112.238.213.481.303.728.048.135.142.205.22.225l1.45.352c.687.167 1.249.749 1.303 1.512.038.531.038 1.063 0 1.594-.054.763-.616 1.345-1.303 1.512l-1.45.352c-.078.019-.171.09-.221.225-.089.248-.19.491-.302.728-.061.13-.044.246-.002.315l.776 1.275c.368.603.353 1.411-.147 1.99-.349.402-.726.78-1.129 1.128-.578.501-1.386.515-1.99.147l-1.274-.776c-.069-.042-.185-.058-.314.002a8.606 8.606 0 0 1-.729.303c-.135.048-.205.142-.225.22l-.352 1.45c-.167.687-.749 1.249-1.512 1.303-.531.038-1.063.038-1.594 0-.763-.054-1.345-.616-1.512-1.303l-.352-1.45c-.019-.078-.09-.171-.225-.221a8.138 8.138 0 0 1-.728-.302c-.13-.061-.246-.044-.315-.002l-1.275.776c-.603.368-1.411.353-1.99-.147-.402-.349-.78-.726-1.128-1.129-.501-.578-.515-1.386-.147-1.99l.776-1.274c.042-.069.058-.185-.002-.314a8.606 8.606 0 0 1-.303-.729c-.048-.135-.142-.205-.22-.225l-1.45-.352c-.687-.167-1.249-.749-1.304-1.512a11.158 11.158 0 0 1 0-1.594c.055-.763.617-1.345 1.304-1.512l1.45-.352c.078-.019.171-.09.221-.225.089-.248.19-.491.302-.728.061-.13.044-.246.002-.315l-.776-1.275c-.368-.603-.353-1.411.147-1.99.349-.402.726-.78 1.129-1.128.578-.501 1.386-.515 1.99-.147l1.274.776c.069.042.185.058.315-.002.238-.112.481-.213.728-.303.135-.048.205-.142.225-.22l.352-1.45c.167-.687.749-1.249 1.512-1.304C11.466 1.01 11.732 1 12 1Zm-.69 1.525c-.055.004-.135.05-.161.161l-.353 1.45a1.832 1.832 0 0 1-1.172 1.277 7.147 7.147 0 0 0-.6.249 1.833 1.833 0 0 1-1.734-.074l-1.274-.776c-.098-.06-.186-.036-.228 0a9.774 9.774 0 0 0-.976.976c-.036.042-.06.131 0 .228l.776 1.274c.314.529.342 1.18.074 1.734a7.147 7.147 0 0 0-.249.6 1.831 1.831 0 0 1-1.278 1.173l-1.45.351c-.11.027-.156.107-.16.162a9.63 9.63 0 0 0 0 1.38c.004.055.05.135.161.161l1.45.353a1.832 1.832 0 0 1 1.277 1.172c.074.204.157.404.249.6.268.553.24 1.204-.074 1.733l-.776 1.275c-.06.098-.036.186 0 .228.301.348.628.675.976.976.042.036.131.06.228 0l1.274-.776a1.83 1.83 0 0 1 1.734-.075c.196.093.396.176.6.25a1.831 1.831 0 0 1 1.173 1.278l.351 1.45c.027.11.107.156.162.16a9.63 9.63 0 0 0 1.38 0c.055-.004.135-.05.161-.161l.353-1.45a1.834 1.834 0 0 1 1.172-1.278 6.82 6.82 0 0 0 .6-.248 1.831 1.831 0 0 1 1.733.074l1.275.776c.098.06.186.036.228 0 .348-.301.675-.628.976-.976.036-.042.06-.131 0-.228l-.776-1.275a1.834 1.834 0 0 1-.075-1.733c.093-.196.176-.396.25-.6a1.831 1.831 0 0 1 1.278-1.173l1.45-.351c.11-.027.156-.107.16-.162a9.63 9.63 0 0 0 0-1.38c-.004-.055-.05-.135-.161-.161l-1.45-.353c-.626-.152-1.08-.625-1.278-1.172a6.576 6.576 0 0 0-.248-.6 1.833 1.833 0 0 1 .074-1.734l.776-1.274c.06-.098.036-.186 0-.228a9.774 9.774 0 0 0-.976-.976c-.042-.036-.131-.06-.228 0l-1.275.776a1.831 1.831 0 0 1-1.733.074 6.88 6.88 0 0 0-.6-.249 1.835 1.835 0 0 1-1.173-1.278l-.351-1.45c-.027-.11-.107-.156-.162-.16a9.63 9.63 0 0 0-1.38 0Z" })) } }; +var ja = yo.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-gear", q5, $5); +}); +ja.displayName = "GearIcon"; +var Ka = T(S(), 1); +var Y5 = ["16", "24"]; +var X5 = { 16: { width: 16, path: Ka.default.createElement("path", { d: "M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM5.78 8.75a9.64 9.64 0 0 0 1.363 4.177c.255.426.542.832.857 1.215.245-.296.551-.705.857-1.215A9.64 9.64 0 0 0 10.22 8.75Zm4.44-1.5a9.64 9.64 0 0 0-1.363-4.177c-.307-.51-.612-.919-.857-1.215a9.927 9.927 0 0 0-.857 1.215A9.64 9.64 0 0 0 5.78 7.25Zm-5.944 1.5H1.543a6.507 6.507 0 0 0 4.666 5.5c-.123-.181-.24-.365-.352-.552-.715-1.192-1.437-2.874-1.581-4.948Zm-2.733-1.5h2.733c.144-2.074.866-3.756 1.58-4.948.12-.197.237-.381.353-.552a6.507 6.507 0 0 0-4.666 5.5Zm10.181 1.5c-.144 2.074-.866 3.756-1.58 4.948-.12.197-.237.381-.353.552a6.507 6.507 0 0 0 4.666-5.5Zm2.733-1.5a6.507 6.507 0 0 0-4.666-5.5c.123.181.24.365.353.552.714 1.192 1.436 2.874 1.58 4.948Z" }) }, 24: { width: 24, path: Ka.default.createElement("path", { d: "M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1Zm3.241 10.5v-.001c-.1-2.708-.992-4.904-1.89-6.452a13.919 13.919 0 0 0-1.304-1.88L12 3.11l-.047.059c-.354.425-.828 1.06-1.304 1.88-.898 1.547-1.79 3.743-1.89 6.451Zm-12.728 0h4.745c.1-3.037 1.1-5.49 2.093-7.204.39-.672.78-1.233 1.119-1.673C6.11 3.329 2.746 7 2.513 11.5Zm18.974 0C21.254 7 17.89 3.329 13.53 2.623c.339.44.729 1.001 1.119 1.673.993 1.714 1.993 4.167 2.093 7.204ZM8.787 13c.182 2.478 1.02 4.5 1.862 5.953.382.661.818 1.29 1.304 1.88l.047.057.047-.059c.354-.425.828-1.06 1.304-1.88.842-1.451 1.679-3.471 1.862-5.951Zm-1.504 0H2.552a9.505 9.505 0 0 0 7.918 8.377 15.773 15.773 0 0 1-1.119-1.673C8.413 18.085 7.47 15.807 7.283 13Zm9.434 0c-.186 2.807-1.13 5.085-2.068 6.704-.39.672-.78 1.233-1.118 1.673A9.506 9.506 0 0 0 21.447 13Z" }) } }; +var za = Ka.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-globe", X5, Y5); +}); +za.displayName = "GlobeIcon"; +var Wa = T(S(), 1); +var J5 = ["16", "24"]; +var Q5 = { 16: { width: 16, path: Wa.default.createElement("path", { d: "M2.8 2.06A1.75 1.75 0 0 1 4.41 1h7.18c.7 0 1.333.417 1.61 1.06l2.74 6.395c.04.093.06.194.06.295v4.5A1.75 1.75 0 0 1 14.25 15H1.75A1.75 1.75 0 0 1 0 13.25v-4.5c0-.101.02-.202.06-.295Zm1.61.44a.25.25 0 0 0-.23.152L1.887 8H4.75a.75.75 0 0 1 .6.3L6.625 10h2.75l1.275-1.7a.75.75 0 0 1 .6-.3h2.863L11.82 2.652a.25.25 0 0 0-.23-.152Zm10.09 7h-2.875l-1.275 1.7a.75.75 0 0 1-.6.3h-3.5a.75.75 0 0 1-.6-.3L4.375 9.5H1.5v3.75c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25Z" }) }, 24: { width: 24, path: Wa.default.createElement("path", { d: "M4.801 3.57A1.75 1.75 0 0 1 6.414 2.5h11.174c.702 0 1.337.42 1.611 1.067l3.741 8.828c.04.092.06.192.06.293v7.562A1.75 1.75 0 0 1 21.25 22H2.75A1.75 1.75 0 0 1 1 20.25v-7.5c0-.1.02-.199.059-.291L4.8 3.571ZM6.414 4a.25.25 0 0 0-.23.153L2.88 12H8a.75.75 0 0 1 .648.372L10.18 15h3.638l1.533-2.628a.75.75 0 0 1 .64-.372l5.13-.051-3.304-7.797a.25.25 0 0 0-.23-.152ZM21.5 13.445l-5.067.05-1.535 2.633a.75.75 0 0 1-.648.372h-4.5a.75.75 0 0 1-.648-.372L7.57 13.5H2.5v6.75c0 .138.112.25.25.25h18.5a.25.25 0 0 0 .25-.25Z" }) } }; +var $a = Wa.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-inbox", Q5, J5); +}); +$a.displayName = "InboxIcon"; +var So = T(S(), 1); +var e2 = ["16", "24"]; +var t2 = { 16: { width: 16, path: So.default.createElement("path", { d: "M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z" }) }, 24: { width: 24, path: So.default.createElement(So.default.Fragment, null, So.default.createElement("path", { d: "M13 7.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-3 3.75a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v4.25h.75a.75.75 0 0 1 0 1.5h-3a.75.75 0 0 1 0-1.5h.75V12h-.75a.75.75 0 0 1-.75-.75Z" }), So.default.createElement("path", { d: "M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1ZM2.5 12a9.5 9.5 0 0 0 9.5 9.5 9.5 9.5 0 0 0 9.5-9.5A9.5 9.5 0 0 0 12 2.5 9.5 9.5 0 0 0 2.5 12Z" })) } }; +var Fn = So.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-info", t2, e2); +}); +Fn.displayName = "InfoIcon"; +var Je = T(S(), 1); +var o2 = ["16", "24"]; +var r2 = { 16: { width: 16, path: Je.default.createElement(Je.default.Fragment, null, Je.default.createElement("path", { d: "M5 8.25a.75.75 0 0 1 .75-.75h4a.75.75 0 0 1 0 1.5h-4A.75.75 0 0 1 5 8.25ZM4 10.5A.75.75 0 0 0 4 12h4a.75.75 0 0 0 0-1.5H4Z" }), Je.default.createElement("path", { d: "M13-.005c1.654 0 3 1.328 3 3 0 .982-.338 1.933-.783 2.818-.443.879-1.028 1.758-1.582 2.588l-.011.017c-.568.853-1.104 1.659-1.501 2.446-.398.789-.623 1.494-.623 2.136a1.5 1.5 0 1 0 2.333-1.248.75.75 0 0 1 .834-1.246A3 3 0 0 1 13 16H3a3 3 0 0 1-3-3c0-1.582.891-3.135 1.777-4.506.209-.322.418-.637.623-.946.473-.709.923-1.386 1.287-2.048H2.51c-.576 0-1.381-.133-1.907-.783A2.68 2.68 0 0 1 0 2.995a3 3 0 0 1 3-3Zm0 1.5a1.5 1.5 0 0 0-1.5 1.5c0 .476.223.834.667 1.132A.75.75 0 0 1 11.75 5.5H5.368c-.467 1.003-1.141 2.015-1.773 2.963-.192.289-.381.571-.558.845C2.13 10.711 1.5 11.916 1.5 13A1.5 1.5 0 0 0 3 14.5h7.401A2.989 2.989 0 0 1 10 13c0-.979.338-1.928.784-2.812.441-.874 1.023-1.748 1.575-2.576l.017-.026c.568-.853 1.103-1.658 1.501-2.448.398-.79.623-1.497.623-2.143 0-.838-.669-1.5-1.5-1.5Zm-10 0a1.5 1.5 0 0 0-1.5 1.5c0 .321.1.569.27.778.097.12.325.227.74.227h7.674A2.737 2.737 0 0 1 10 2.995c0-.546.146-1.059.401-1.5Z" })) }, 24: { width: 24, path: Je.default.createElement(Je.default.Fragment, null, Je.default.createElement("path", { d: "M9.197 10a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5Zm-2.382 4a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5Zm-1.581 4a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5Z" }), Je.default.createElement("path", { d: "M4.125 0h15.75a4.11 4.11 0 0 1 2.92 1.205A4.11 4.11 0 0 1 24 4.125c0 1.384-.476 2.794-1.128 4.16-.652 1.365-1.515 2.757-2.352 4.104l-.008.013c-.849 1.368-1.669 2.691-2.28 3.97-.614 1.283-.982 2.45-.982 3.503a2.625 2.625 0 1 0 4.083-2.183.75.75 0 1 1 .834-1.247A4.126 4.126 0 0 1 19.875 24H4.5a4.125 4.125 0 0 1-4.125-4.125c0-2.234 1.258-4.656 2.59-6.902.348-.586.702-1.162 1.05-1.728.8-1.304 1.567-2.553 2.144-3.738H3.39c-.823 0-1.886-.193-2.567-1.035A3.647 3.647 0 0 1 0 4.125 4.125 4.125 0 0 1 4.125 0ZM15.75 19.875c0-1.38.476-2.786 1.128-4.15.649-1.358 1.509-2.743 2.343-4.086l.017-.028c.849-1.367 1.669-2.692 2.28-3.972.614-1.285.982-2.457.982-3.514A2.615 2.615 0 0 0 19.875 1.5a2.625 2.625 0 0 0-2.625 2.625c0 .865.421 1.509 1.167 2.009A.75.75 0 0 1 18 7.507H7.812c-.65 1.483-1.624 3.069-2.577 4.619-.334.544-.666 1.083-.98 1.612-1.355 2.287-2.38 4.371-2.38 6.137A2.625 2.625 0 0 0 4.5 22.5h12.193a4.108 4.108 0 0 1-.943-2.625ZM1.5 4.125c-.01.511.163 1.008.487 1.403.254.313.74.479 1.402.479h12.86a3.648 3.648 0 0 1-.499-1.882 4.11 4.11 0 0 1 .943-2.625H4.125A2.625 2.625 0 0 0 1.5 4.125Z" })) } }; +var qa = Je.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-log", r2, o2); +}); +qa.displayName = "LogIcon"; +var Io = T(S(), 1); +var n2 = ["16", "24"]; +var s2 = { 16: { width: 16, path: Io.default.createElement("path", { d: "M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z" }) }, 24: { width: 24, path: Io.default.createElement(Io.default.Fragment, null, Io.default.createElement("path", { d: "M9.5 15.584V8.416a.5.5 0 0 1 .77-.42l5.576 3.583a.5.5 0 0 1 0 .842l-5.576 3.584a.5.5 0 0 1-.77-.42Z" }), Io.default.createElement("path", { d: "M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Zm11-9.5A9.5 9.5 0 0 0 2.5 12a9.5 9.5 0 0 0 9.5 9.5 9.5 9.5 0 0 0 9.5-9.5A9.5 9.5 0 0 0 12 2.5Z" })) } }; +var Ya = Io.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-play", s2, n2); +}); +Ya.displayName = "PlayIcon"; +var Xa = T(S(), 1); +var a2 = ["16", "24"]; +var i2 = { 16: { width: 16, path: Xa.default.createElement("path", { d: "M4 8H2.5a1 1 0 0 0-1 1v5.25a.75.75 0 0 1-1.5 0V9a2.5 2.5 0 0 1 2.5-2.5H4V5.133a1.75 1.75 0 0 1 1.533-1.737l2.831-.353.76-.913c.332-.4.825-.63 1.344-.63h.782c.966 0 1.75.784 1.75 1.75V4h2.25a.75.75 0 0 1 0 1.5H13v4h2.25a.75.75 0 0 1 0 1.5H13v.75a1.75 1.75 0 0 1-1.75 1.75h-.782c-.519 0-1.012-.23-1.344-.63l-.761-.912-2.83-.354A1.75 1.75 0 0 1 4 9.867Zm6.276-4.91-.95 1.14a.753.753 0 0 1-.483.265l-3.124.39a.25.25 0 0 0-.219.248v4.734c0 .126.094.233.219.249l3.124.39a.752.752 0 0 1 .483.264l.95 1.14a.25.25 0 0 0 .192.09h.782a.25.25 0 0 0 .25-.25v-8.5a.25.25 0 0 0-.25-.25h-.782a.25.25 0 0 0-.192.09Z" }) }, 24: { width: 24, path: Xa.default.createElement("path", { d: "M7 11.5H2.938c-.794 0-1.438.644-1.438 1.437v8.313a.75.75 0 0 1-1.5 0v-8.312A2.939 2.939 0 0 1 2.937 10H7V6.151c0-.897.678-1.648 1.57-1.74l6.055-.626 1.006-1.174A1.752 1.752 0 0 1 16.96 2h1.29c.966 0 1.75.784 1.75 1.75V6h3.25a.75.75 0 0 1 0 1.5H20V14h3.25a.75.75 0 0 1 0 1.5H20v2.25a1.75 1.75 0 0 1-1.75 1.75h-1.29a1.75 1.75 0 0 1-1.329-.611l-1.006-1.174-6.055-.627A1.749 1.749 0 0 1 7 15.348Zm9.77-7.913v.001l-1.201 1.4a.75.75 0 0 1-.492.258l-6.353.657a.25.25 0 0 0-.224.249v9.196a.25.25 0 0 0 .224.249l6.353.657c.191.02.368.112.493.258l1.2 1.401a.252.252 0 0 0 .19.087h1.29a.25.25 0 0 0 .25-.25v-14a.25.25 0 0 0-.25-.25h-1.29a.252.252 0 0 0-.19.087Z" }) } }; +var Ja = Xa.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-plug", i2, a2); +}); +Ja.displayName = "PlugIcon"; +var Qa = T(S(), 1); +var l2 = ["16", "24"]; +var c2 = { 16: { width: 16, path: Qa.default.createElement("path", { d: "M7.75 2a.75.75 0 0 1 .75.75V7h4.25a.75.75 0 0 1 0 1.5H8.5v4.25a.75.75 0 0 1-1.5 0V8.5H2.75a.75.75 0 0 1 0-1.5H7V2.75A.75.75 0 0 1 7.75 2Z" }) }, 24: { width: 24, path: Qa.default.createElement("path", { d: "M11.75 4.5a.75.75 0 0 1 .75.75V11h5.75a.75.75 0 0 1 0 1.5H12.5v5.75a.75.75 0 0 1-1.5 0V12.5H5.25a.75.75 0 0 1 0-1.5H11V5.25a.75.75 0 0 1 .75-.75Z" }) } }; +var ei = Qa.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-plus", c2, l2); +}); +ei.displayName = "PlusIcon"; +var ti = T(S(), 1); +var u2 = ["16", "24"]; +var d2 = { 16: { width: 16, path: ti.default.createElement("path", { d: "M14.064 0h.186C15.216 0 16 .784 16 1.75v.186a8.752 8.752 0 0 1-2.564 6.186l-.458.459c-.314.314-.641.616-.979.904v3.207c0 .608-.315 1.172-.833 1.49l-2.774 1.707a.749.749 0 0 1-1.11-.418l-.954-3.102a1.214 1.214 0 0 1-.145-.125L3.754 9.816a1.218 1.218 0 0 1-.124-.145L.528 8.717a.749.749 0 0 1-.418-1.11l1.71-2.774A1.748 1.748 0 0 1 3.31 4h3.204c.288-.338.59-.665.904-.979l.459-.458A8.749 8.749 0 0 1 14.064 0ZM8.938 3.623h-.002l-.458.458c-.76.76-1.437 1.598-2.02 2.5l-1.5 2.317 2.143 2.143 2.317-1.5c.902-.583 1.74-1.26 2.499-2.02l.459-.458a7.25 7.25 0 0 0 2.123-5.127V1.75a.25.25 0 0 0-.25-.25h-.186a7.249 7.249 0 0 0-5.125 2.123ZM3.56 14.56c-.732.732-2.334 1.045-3.005 1.148a.234.234 0 0 1-.201-.064.234.234 0 0 1-.064-.201c.103-.671.416-2.273 1.15-3.003a1.502 1.502 0 1 1 2.12 2.12Zm6.94-3.935c-.088.06-.177.118-.266.175l-2.35 1.521.548 1.783 1.949-1.2a.25.25 0 0 0 .119-.213ZM3.678 8.116 5.2 5.766c.058-.09.117-.178.176-.266H3.309a.25.25 0 0 0-.213.119l-1.2 1.95ZM12 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" }) }, 24: { width: 24, path: ti.default.createElement("path", { d: "M20.322.75h1.176a1.75 1.75 0 0 1 1.75 1.749v1.177a10.75 10.75 0 0 1-2.925 7.374l-1.228 1.304a23.699 23.699 0 0 1-1.596 1.542v5.038c0 .615-.323 1.184-.85 1.5l-4.514 2.709a.75.75 0 0 1-1.12-.488l-.963-4.572a1.305 1.305 0 0 1-.14-.129L8.04 15.96l-1.994-1.873a1.305 1.305 0 0 1-.129-.14l-4.571-.963a.75.75 0 0 1-.49-1.12l2.71-4.514c.316-.527.885-.85 1.5-.85h5.037a23.668 23.668 0 0 1 1.542-1.594l1.304-1.23A10.753 10.753 0 0 1 20.321.75Zm-6.344 4.018v-.001l-1.304 1.23a22.275 22.275 0 0 0-3.255 3.851l-2.193 3.29 1.859 1.744a.545.545 0 0 1 .034.034l1.743 1.858 3.288-2.192a22.263 22.263 0 0 0 3.854-3.257l1.228-1.303a9.251 9.251 0 0 0 2.517-6.346V2.5a.25.25 0 0 0-.25-.25h-1.177a9.252 9.252 0 0 0-6.344 2.518ZM6.5 21c-1.209 1.209-3.901 1.445-4.743 1.49a.236.236 0 0 1-.18-.067.236.236 0 0 1-.067-.18c.045-.842.281-3.534 1.49-4.743.9-.9 2.6-.9 3.5 0 .9.9.9 2.6 0 3.5Zm-.592-8.588L8.17 9.017c.23-.346.47-.685.717-1.017H5.066a.25.25 0 0 0-.214.121l-2.167 3.612ZM16 15.112c-.333.248-.672.487-1.018.718l-3.393 2.262.678 3.223 3.612-2.167a.25.25 0 0 0 .121-.214ZM17.5 8a1.5 1.5 0 1 1-3.001-.001A1.5 1.5 0 0 1 17.5 8Z" }) } }; +var oi = ti.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-rocket", d2, u2); +}); +oi.displayName = "RocketIcon"; +var ri = T(S(), 1); +var p2 = ["16", "24"]; +var m2 = { 16: { width: 16, path: ri.default.createElement("path", { d: "M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z" }) }, 24: { width: 24, path: ri.default.createElement("path", { d: "M10.25 2a8.25 8.25 0 0 1 6.34 13.53l5.69 5.69a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-5.69-5.69A8.25 8.25 0 1 1 10.25 2ZM3.5 10.25a6.75 6.75 0 1 0 13.5 0 6.75 6.75 0 0 0-13.5 0Z" }) } }; +var Qe = ri.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-search", m2, p2); +}); +Qe.displayName = "SearchIcon"; +var Mo = T(S(), 1); +var f2 = ["16", "24"]; +var b2 = { 16: { width: 16, path: Mo.default.createElement("path", { d: "M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68ZM8.75 4.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 1.5 0ZM9 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" }) }, 24: { width: 24, path: Mo.default.createElement(Mo.default.Fragment, null, Mo.default.createElement("path", { d: "M13 15.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.25-8.25a.75.75 0 0 0-1.5 0v4.5a.75.75 0 0 0 1.5 0v-4.5Z" }), Mo.default.createElement("path", { d: "M11.46.637a1.748 1.748 0 0 1 1.08 0l8.25 2.675A1.75 1.75 0 0 1 22 4.976V10c0 6.19-3.77 10.705-9.401 12.83a1.704 1.704 0 0 1-1.198 0C5.771 20.704 2 16.19 2 10V4.976c0-.76.49-1.43 1.21-1.664Zm.617 1.426a.253.253 0 0 0-.154 0L3.673 4.74a.25.25 0 0 0-.173.237V10c0 5.461 3.28 9.483 8.43 11.426a.199.199 0 0 0 .14 0C17.22 19.483 20.5 15.46 20.5 10V4.976a.25.25 0 0 0-.173-.237Z" })) } }; +var ni = Mo.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-shield", b2, f2); +}); +ni.displayName = "ShieldIcon"; +var et = T(S(), 1); +var h2 = ["16", "24"]; +var x2 = { 16: { width: 16, path: et.default.createElement(et.default.Fragment, null, et.default.createElement("path", { d: "M6.823 7.823a.25.25 0 0 1 0 .354l-2.396 2.396A.25.25 0 0 1 4 10.396V5.604a.25.25 0 0 1 .427-.177Z" }), et.default.createElement("path", { d: "M1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0ZM1.5 1.75v12.5c0 .138.112.25.25.25H9.5v-13H1.75a.25.25 0 0 0-.25.25ZM11 14.5h3.25a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H11Z" })) }, 24: { width: 24, path: et.default.createElement(et.default.Fragment, null, et.default.createElement("path", { d: "M7.22 14.47 9.69 12 7.22 9.53a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l3 3a.75.75 0 0 1 0 1.06l-3 3a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Z" }), et.default.createElement("path", { d: "M3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25V3.75C2 2.784 2.784 2 3.75 2ZM3.5 3.75v16.5c0 .138.112.25.25.25H15v-17H3.75a.25.25 0 0 0-.25.25Zm13 16.75h3.75a.25.25 0 0 0 .25-.25V3.75a.25.25 0 0 0-.25-.25H16.5Z" })) } }; +var si = et.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-sidebar-collapse", x2, h2); +}); +si.displayName = "SidebarCollapseIcon"; +var tt = T(S(), 1); +var v2 = ["16", "24"]; +var g2 = { 16: { width: 16, path: tt.default.createElement(tt.default.Fragment, null, tt.default.createElement("path", { d: "m4.177 7.823 2.396-2.396A.25.25 0 0 1 7 5.604v4.792a.25.25 0 0 1-.427.177L4.177 8.177a.25.25 0 0 1 0-.354Z" }), tt.default.createElement("path", { d: "M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25H9.5v-13Zm12.5 13a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H11v13Z" })) }, 24: { width: 24, path: tt.default.createElement(tt.default.Fragment, null, tt.default.createElement("path", { d: "M11.28 9.53 8.81 12l2.47 2.47a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-3-3a.75.75 0 0 1 0-1.06l3-3a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734Z" }), tt.default.createElement("path", { d: "M3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25V3.75C2 2.784 2.784 2 3.75 2ZM3.5 3.75v16.5c0 .138.112.25.25.25H15v-17H3.75a.25.25 0 0 0-.25.25Zm13 16.75h3.75a.25.25 0 0 0 .25-.25V3.75a.25.25 0 0 0-.25-.25H16.5Z" })) } }; +var ai = tt.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-sidebar-expand", g2, v2); +}); +ai.displayName = "SidebarExpandIcon"; +var ii = T(S(), 1); +var C2 = ["16", "24"]; +var T2 = { 16: { width: 16, path: ii.default.createElement("path", { d: "M0 4.25a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 4.25Zm0 4a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 8.25Zm0 4a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75ZM13.5 10h2.25a.25.25 0 0 1 .177.427l-3 3a.25.25 0 0 1-.354 0l-3-3A.25.25 0 0 1 9.75 10H12V3.75a.75.75 0 0 1 1.5 0V10Z" }) }, 24: { width: 24, path: ii.default.createElement("path", { d: "M18.5 16.44V6.75a.75.75 0 0 0-1.5 0v9.69l-2.22-2.22a.75.75 0 1 0-1.06 1.06l3.5 3.5a.75.75 0 0 0 1.06 0l3.5-3.5a.75.75 0 1 0-1.06-1.06l-2.22 2.22ZM2 7.25a.75.75 0 0 1 .75-.75h9.5a.75.75 0 0 1 0 1.5h-9.5A.75.75 0 0 1 2 7.25Zm0 5a.75.75 0 0 1 .75-.75h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1-.75-.75Zm0 5a.75.75 0 0 1 .75-.75h3.5a.75.75 0 0 1 0 1.5h-3.5a.75.75 0 0 1-.75-.75Z" }) } }; +var li = ii.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-sort-desc", T2, C2); +}); +li.displayName = "SortDescIcon"; +var ci = T(S(), 1); +var y2 = ["16", "24"]; +var S2 = { 16: { width: 16, path: ci.default.createElement("path", { d: "M7.198.57c.275-.752 1.34-.752 1.615 0l.849 2.317a5.819 5.819 0 0 0 3.462 3.463l2.317.848c.753.275.753 1.34 0 1.615l-2.317.849a5.815 5.815 0 0 0-3.462 3.462l-.849 2.317c-.275.753-1.34.753-1.615 0l-.848-2.317a5.819 5.819 0 0 0-3.463-3.462L.57 8.813c-.752-.275-.752-1.34 0-1.615l2.317-.848A5.823 5.823 0 0 0 6.35 2.887L7.198.57Zm.562 2.833A7.323 7.323 0 0 1 3.403 7.76l-.673.246.673.246a7.324 7.324 0 0 1 4.357 4.356l.246.673.246-.673a7.322 7.322 0 0 1 4.356-4.356l.673-.246-.673-.246a7.324 7.324 0 0 1-4.356-4.357l-.246-.673-.246.673Z" }) }, 24: { width: 24, path: ci.default.createElement("path", { d: "M11.191.565c.275-.754 1.342-.753 1.618 0l1.918 5.238a5.83 5.83 0 0 0 3.47 3.47l5.237 1.918c.755.275.755 1.342 0 1.618l-5.237 1.918a5.83 5.83 0 0 0-3.47 3.47l-1.918 5.237c-.276.755-1.343.755-1.618 0l-1.918-5.237a5.83 5.83 0 0 0-3.47-3.47L.565 12.809c-.753-.276-.754-1.342 0-1.618l5.238-1.918a5.83 5.83 0 0 0 3.47-3.47L11.191.565Zm-.505 5.756a7.336 7.336 0 0 1-4.365 4.365L2.73 12l3.591 1.315a7.333 7.333 0 0 1 4.365 4.365L12 21.269l1.315-3.589a7.33 7.33 0 0 1 4.365-4.365L21.269 12l-3.589-1.314a7.333 7.333 0 0 1-4.365-4.365L12 2.73l-1.314 3.591Z" }) } }; +var ui = ci.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-sparkle", S2, y2); +}); +ui.displayName = "SparkleIcon"; +var Ro = T(S(), 1); +var I2 = ["16", "24"]; +var M2 = { 16: { width: 16, path: Ro.default.createElement("path", { d: "M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z" }) }, 24: { width: 24, path: Ro.default.createElement(Ro.default.Fragment, null, Ro.default.createElement("path", { d: "M12 7a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 12 7Zm0 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" }), Ro.default.createElement("path", { d: "M7.328 1.47a.749.749 0 0 1 .53-.22h8.284c.199 0 .389.079.53.22l5.858 5.858c.141.14.22.33.22.53v8.284a.749.749 0 0 1-.22.53l-5.858 5.858a.749.749 0 0 1-.53.22H7.858a.749.749 0 0 1-.53-.22L1.47 16.672a.749.749 0 0 1-.22-.53V7.858c0-.199.079-.389.22-.53Zm.84 1.28L2.75 8.169v7.662l5.419 5.419h7.662l5.419-5.418V8.168L15.832 2.75Z" })) } }; +var di = Ro.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-stop", M2, I2); +}); +di.displayName = "StopIcon"; +var pi = T(S(), 1); +var R2 = ["16", "24"]; +var _2 = { 16: { width: 16, path: pi.default.createElement("path", { d: "M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25ZM6.5 6.5v8h7.75a.25.25 0 0 0 .25-.25V6.5Zm8-1.5V1.75a.25.25 0 0 0-.25-.25H6.5V5Zm-13 1.5v7.75c0 .138.112.25.25.25H5v-8ZM5 5V1.5H1.75a.25.25 0 0 0-.25.25V5Z" }) }, 24: { width: 24, path: pi.default.createElement("path", { d: "M2 3.75C2 2.784 2.784 2 3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25ZM9 9v11.5h11.25a.25.25 0 0 0 .25-.25V9Zm11.5-1.5V3.75a.25.25 0 0 0-.25-.25H9v4ZM3.5 9v11.25c0 .138.112.25.25.25H7.5V9Zm4-1.5v-4H3.75a.25.25 0 0 0-.25.25V7.5Z" }) } }; +var mi = pi.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-table", _2, R2); +}); +mi.displayName = "TableIcon"; +var fi = T(S(), 1); +var P2 = ["16", "24"]; +var k2 = { 16: { width: 16, path: fi.default.createElement("path", { d: "M1 2.75A.75.75 0 0 1 1.75 2h12.5a.75.75 0 0 1 0 1.5H1.75A.75.75 0 0 1 1 2.75Zm0 5A.75.75 0 0 1 1.75 7h12.5a.75.75 0 0 1 0 1.5H1.75A.75.75 0 0 1 1 7.75ZM1.75 12h12.5a.75.75 0 0 1 0 1.5H1.75a.75.75 0 0 1 0-1.5Z" }) }, 24: { width: 24, path: fi.default.createElement("path", { d: "M3.75 5.25a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75Zm0 6a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75Zm0 6a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75Z" }) } }; +var _o = fi.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-three-bars", k2, P2); +}); +_o.displayName = "ThreeBarsIcon"; +var bi = T(S(), 1); +var A2 = ["16", "24"]; +var w2 = { 16: { width: 16, path: bi.default.createElement("path", { d: "M5.433 2.304A4.492 4.492 0 0 0 3.5 6c0 1.598.832 3.002 2.09 3.802.518.328.929.923.902 1.64v.008l-.164 3.337a.75.75 0 1 1-1.498-.073l.163-3.33c.002-.085-.05-.216-.207-.316A5.996 5.996 0 0 1 2 6a5.993 5.993 0 0 1 2.567-4.92 1.482 1.482 0 0 1 1.673-.04c.462.296.76.827.76 1.423v2.82c0 .082.041.16.11.206l.75.51a.25.25 0 0 0 .28 0l.75-.51A.249.249 0 0 0 9 5.282V2.463c0-.596.298-1.127.76-1.423a1.482 1.482 0 0 1 1.673.04A5.993 5.993 0 0 1 14 6a5.996 5.996 0 0 1-2.786 5.068c-.157.1-.209.23-.207.315l.163 3.33a.752.752 0 0 1-1.094.714.75.75 0 0 1-.404-.64l-.164-3.345c-.027-.717.384-1.312.902-1.64A4.495 4.495 0 0 0 12.5 6a4.492 4.492 0 0 0-1.933-3.696c-.024.017-.067.067-.067.16v2.818a1.75 1.75 0 0 1-.767 1.448l-.75.51a1.75 1.75 0 0 1-1.966 0l-.75-.51A1.75 1.75 0 0 1 5.5 5.282V2.463c0-.092-.043-.142-.067-.159Z" }) }, 24: { width: 24, path: bi.default.createElement("path", { d: "M7.875 2.292a.114.114 0 0 0-.032.018A7.239 7.239 0 0 0 4.75 8.25a7.248 7.248 0 0 0 3.654 6.297c.57.327.982.955.941 1.682v.002l-.317 6.058a.75.75 0 1 1-1.498-.078l.317-6.062v-.004c.006-.09-.047-.215-.188-.296A8.749 8.749 0 0 1 3.25 8.25a8.738 8.738 0 0 1 3.732-7.169 1.547 1.547 0 0 1 1.709-.064c.484.292.809.835.809 1.46v4.714a.25.25 0 0 0 .119.213l2.25 1.385c.08.05.182.05.262 0l2.25-1.385a.25.25 0 0 0 .119-.213V2.478c0-.626.325-1.169.81-1.461a1.547 1.547 0 0 1 1.708.064 8.741 8.741 0 0 1 3.732 7.17 8.747 8.747 0 0 1-4.41 7.598c-.14.081-.193.206-.188.296v.004l.318 6.062a.75.75 0 1 1-1.498.078l-.317-6.058v-.002c-.041-.727.37-1.355.94-1.682A7.247 7.247 0 0 0 19.25 8.25a7.239 7.239 0 0 0-3.093-5.94.114.114 0 0 0-.032-.018l-.01-.001c-.003 0-.014 0-.031.01-.036.022-.084.079-.084.177V7.19c0 .608-.315 1.172-.833 1.49l-2.25 1.385a1.75 1.75 0 0 1-1.834 0l-2.25-1.384A1.752 1.752 0 0 1 8 7.192V2.477c0-.098-.048-.155-.084-.176a.068.068 0 0 0-.031-.011l-.01.001Z" }) } }; +var hi = bi.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-tools", w2, A2); +}); +hi.displayName = "ToolsIcon"; +var xi = T(S(), 1); +var E2 = ["16", "24"]; +var N2 = { 16: { width: 16, path: xi.default.createElement("path", { d: "M0 1.75C0 .784.784 0 1.75 0h3.5C6.216 0 7 .784 7 1.75v3.5A1.75 1.75 0 0 1 5.25 7H4v4a1 1 0 0 0 1 1h4v-1.25C9 9.784 9.784 9 10.75 9h3.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 14.25 16h-3.5A1.75 1.75 0 0 1 9 14.25v-.75H5A2.5 2.5 0 0 1 2.5 11V7h-.75A1.75 1.75 0 0 1 0 5.25Zm1.75-.25a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Zm9 9a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Z" }) }, 24: { width: 24, path: xi.default.createElement("path", { d: "M1 3a2 2 0 0 1 2-2h6.5a2 2 0 0 1 2 2v6.5a2 2 0 0 1-2 2H7v4.063C7 16.355 7.644 17 8.438 17H12.5v-2.5a2 2 0 0 1 2-2H21a2 2 0 0 1 2 2V21a2 2 0 0 1-2 2h-6.5a2 2 0 0 1-2-2v-2.5H8.437A2.939 2.939 0 0 1 5.5 15.562V11.5H3a2 2 0 0 1-2-2Zm2-.5a.5.5 0 0 0-.5.5v6.5a.5.5 0 0 0 .5.5h6.5a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5ZM14.5 14a.5.5 0 0 0-.5.5V21a.5.5 0 0 0 .5.5H21a.5.5 0 0 0 .5-.5v-6.5a.5.5 0 0 0-.5-.5Z" }) } }; +var vi = xi.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-workflow", N2, E2); +}); +vi.displayName = "WorkflowIcon"; +var Ln = T(S(), 1); +var D2 = ["12", "16", "24"]; +var F2 = { 12: { width: 12, path: Ln.default.createElement("path", { d: "M2.22 2.22a.749.749 0 0 1 1.06 0L6 4.939 8.72 2.22a.749.749 0 1 1 1.06 1.06L7.061 6 9.78 8.72a.749.749 0 1 1-1.06 1.06L6 7.061 3.28 9.78a.749.749 0 1 1-1.06-1.06L4.939 6 2.22 3.28a.749.749 0 0 1 0-1.06Z" }) }, 16: { width: 16, path: Ln.default.createElement("path", { d: "M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z" }) }, 24: { width: 24, path: Ln.default.createElement("path", { d: "M5.72 5.72a.75.75 0 0 1 1.06 0L12 10.94l5.22-5.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L13.06 12l5.22 5.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L12 13.06l-5.22 5.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L10.94 12 5.72 6.78a.75.75 0 0 1 0-1.06Z" }) } }; +var Kt = Ln.default.forwardRef(function(e, t) { + return F(e, t, "octicon octicon-x", F2, D2); +}); +Kt.displayName = "XIcon"; +var O = J.default.createElement; +var ke = (...e) => e.filter(Boolean).join(" "); +function zd({ owner: e, root: t, children: o }) { + return (0, J.useLayoutEffect)(() => { + let r = t.current; + if (!r) return; + Pn(r); + let n = new MutationObserver((s) => { + for (let a of s) for (let i of a.addedNodes) i.nodeType === 1 && Pn(i); + }); + return n.observe(r, { childList: true, subtree: true }), () => n.disconnect(); + }, [t]), O(as, { targetDocument: e }, o); +} +function Ce(e, t) { + return J.default.forwardRef(function({ className: r, ...n }, s) { + return O(e, { ...n, ref: s, className: ke(t, r) }); + }); +} +function Wl(e) { + return J.default.forwardRef(function({ icon: o, children: r, appearance: n = "secondary", size: s = "medium", ...a }, i) { + return O(e, { type: "button", ...a, ref: i, "data-appearance": n, "data-size": s, icon: o ? { className: "ct-button-icon", "aria-hidden": true, children: o } : void 0 }, r); + }); +} +var gi = Wl(ps); +var Wd = Wl(Ir); +function $l({ checked: e, defaultChecked: t = false, onChange: o, onClick: r, ...n }) { + let [s, a] = (0, J.useState)(t); + return O(L2, { ...n, checked: e ?? s, onClick: (i) => { + if (r?.(i), i.defaultPrevented) return; + let l = !(e ?? s); + a(l), o?.(i, { checked: l }); + } }); +} +var L2 = Wl(ms); +function $d(e) { + return O($l, { ...e, className: ke("ct-button", e.className) }); +} +var qd = Ce(Mr, "ct-toolbar-divider"); +var ql = J.default.forwardRef(function({ orientation: t = "horizontal", ...o }, r) { + return O(ws, { ...o, ref: r, vertical: t === "vertical", className: ke("ct-toolbar", o.className) }); +}); +var Yl = J.default.forwardRef(function({ className: t, style: o, ...r }, n) { + let s = vs({ ...r, root: { className: "ct-input-root" }, input: { className: t, style: o } }, n); + return r.value === void 0 && (delete s.input.value, s.input.defaultValue = r.defaultValue), gt(s); +}); +var Yd = J.default.forwardRef(function({ className: t, textarea: o, resize: r = "vertical", style: n, ...s }, a) { + let i = gs({ ...s, root: { className: "ct-textarea-root" }, textarea: { className: t, style: { resize: r, ...n } } }, o?.ref ?? a); + return s.value === void 0 && (delete i.textarea.value, i.textarea.defaultValue = s.defaultValue), Ct(i); +}); +var Xd = J.default.forwardRef(function({ className: t, style: o, ...r }, n) { + return O(Cs, { ...r, ref: n, icon: null, root: { className: "ct-select-root" }, select: { className: t, style: o } }); +}); +function Jd({ text: e, children: t, ...o }) { + return O("option", o, t ?? e); +} +var Qd = J.default.forwardRef(function({ label: t, hint: o, className: r, style: n, ...s }, a) { + let i = Ts({ ...s, className: "ct-toggle-label ct-checkbox-label", input: { className: "ct-native-choice", role: "checkbox" }, indicator: { className: r, style: n, children: O(vo, { size: 12, "aria-hidden": true }) }, label: t || o ? { children: O("span", null, t, o ? O("span", { className: "ct-toggle-hint" }, o) : null) } : void 0 }, a); + if (s.readOnly) { + let l = i.input.onClick; + i.input["aria-readonly"] = true, i.input.onClick = (c) => { + l?.(c), c.preventDefault(); + }, i.input.onChange = void 0; + } + return Tt(i); +}); +var B2 = J.default.forwardRef(function({ className: t, ...o }, r) { + let n = ys({ ...o, root: { className: "ct-switch-control" }, input: { className: t }, indicator: { className: "ct-switch-indicator", "aria-hidden": true } }, r); + return n.input["aria-checked"] = n.input.checked, o.readOnly && (n.input["aria-readonly"] = true), n.input["data-checked"] = n.root["data-checked"], n.input["data-size"] = o["data-size"], yt(n); +}); +var ep = J.default.forwardRef(function({ label: t, hint: o, id: r, size: n = "medium", onLabel: s = "On", offLabel: a = "Off", checked: i, defaultChecked: l = false, onChange: c, readOnly: u, onClick: m, ...h }, d) { + let [f, g] = (0, J.useState)(l), y = (0, J.useId)(), x = r ?? y; + return O("div", { className: "ct-switch-field" }, t ? O("label", { id: `${x}-label`, htmlFor: x, className: "ct-switch-label" }, t) : null, O("div", { className: "ct-switch-row" }, O("label", { htmlFor: x, className: "ct-switch-state", "aria-hidden": true }, O("span", { className: "ct-switch-state-on" }, s), O("span", { className: "ct-switch-state-off" }, a)), O(B2, { ...h, id: x, ref: d, readOnly: u, checked: i ?? f, "data-size": n, "aria-labelledby": h["aria-labelledby"] ?? (t ? `${x}-label` : void 0), "aria-describedby": ke(h["aria-describedby"], o ? `${x}-hint` : void 0) || void 0, onClick: (v) => { + u && v.preventDefault(), m?.(v); + }, onChange: (v, C) => { + u || (g(C.checked), c?.(v, C)); + } })), o ? O("span", { id: `${x}-hint`, className: "ct-toggle-hint" }, o) : null); +}); +function tp({ label: e, description: t, className: o, ...r }) { + return O("label", { className: ke("ct-radio-card", o) }, O(hr, { ...r, className: "ct-radio", input: { className: "ct-native-choice", role: "radio" }, indicator: { className: "ct-radio-indicator" } }), O("span", null, O("span", { className: "ct-radio-label" }, e), t ? O("span", { className: "ct-radio-description" }, t) : null)); +} +function op(e) { + return O(Rs, { ...e, className: ke("ct-radio-group", e.className) }); +} +function rp({ label: e, hint: t, validationMessage: o, validationState: r, required: n, children: s, ...a }) { + let i = e && typeof e == "object" && !J.default.isValidElement(e) ? e : { children: e }, l = i.htmlFor ?? (J.default.isValidElement(s) ? s.props.id : void 0); + return O(Ps, { ...a, label: e ? { ...i, ...l ? { htmlFor: l } : {} } : void 0, hint: t ? { className: "ct-field-hint", children: t } : void 0, validationMessage: o ? { ...o, className: ke("ct-field-error", o.className) } : void 0, validationState: r, required: n }, s); +} +function np({ label: e, size: t = "tiny", className: o, ...r }) { + return O("span", { ...r, className: ke("ct-spinner", o), role: "status", "data-size": t }, O("span", { className: "ct-spinner-ring", "aria-hidden": true }), e ? O("span", null, e) : r["aria-hidden"] ? null : O("span", { className: "ct-visually-hidden" }, "Loading")); +} +function sp({ value: e, max: t = 1, label: o, tone: r, className: n, ...s }) { + return O("div", { className: n, "data-tone": r }, o ? O("span", { className: "ct-progress-label" }, o) : null, O(ks, { ...s, value: e, max: t, className: "ct-progress-track", bar: { className: "ct-progress-indicator" }, "aria-label": s["aria-label"] ?? o ?? "Progress" })); +} +function Ci({ appearance: e, color: t, showZero: o, count: r, children: n, className: s, ...a }) { + return O("span", { ...a, className: s, "data-color": t, "data-appearance": e }, n ?? r); +} +var ap = Ci; +var ip = Ce("div", "ct-skeleton"); +function lp({ size: e = 16, className: t, ...o }) { + return O("div", { ...o, className: ke("ct-skeleton-item", t), style: { height: e, ...o.style } }); +} +function cp({ ...e }) { + return O(Ds, { ...e, selectTabOnFocus: false, className: ke("ct-tab-list", e.className) }); +} +function up(e) { + let t = Ar({ ...e, "data-value": e.value, className: "ct-tab" }, null); + return t.disabled && (t.root.disabled = void 0, t.root["aria-disabled"] = true, t.root.onClick = (o) => o.preventDefault()), ct(t); +} +var Xl = Nr; +var Wo = so; +function dp({ backdrop: e, initialFocus: t, className: o, children: r, ...n }) { + let s = (0, J.useRef)(null), a = Fr({ role: "dialog", ...n, className: o }, s); + return (0, J.useLayoutEffect)(() => { + a.open && (typeof t == "function" ? t() : s.current?.querySelector("input:not(:disabled), textarea:not(:disabled)") ?? s.current)?.focus(); + }, [a.open, t]), a.root.children = r, Lr(a); +} +var Jl = Ce(Or, "ct-dialog-body"); +function pp({ action: e, children: t, ...o }) { + return O("div", { className: "ct-dialog-heading" }, O(Br, o, t), e); +} +var Ql = Ce("div", "ct-dialog-content"); +var ec = Ce(Vr, "ct-dialog-actions"); +var mp = Vo; +var fp = It; +var bp = Ho; +function hp({ content: e, children: t, relationship: o = "description", positioning: r = "bottom" }) { + let n = { top: "above", bottom: "below", left: "before", right: "after" }[r]; + return O(jo, { content: { children: e, className: "ct-tooltip" }, relationship: o, positioning: { position: n, offset: 4 }, showDelay: 100 }, t); +} +function tc({ inline: e, ...t }) { + return O(Xr, t); +} +var oc = lo; +var rc = rn; +var nc = Ce(Jr, "ct-menu-list"); +var xp = J.default.forwardRef(function({ icon: t, className: o, ...r }, n) { + return O(Qr, { ...r, ref: n, className: ke("ct-menu-item", o), icon: t ? { className: "ct-menu-icon", "aria-hidden": true, children: t } : void 0 }); +}); +var vp = Ce(on, "ct-menu-divider"); +var gp = nn; +var Cp = Ce(sn, "ct-menu-label"); +function Tp(e) { + return O(en, { ...e, checkmark: { className: "ct-menu-check", children: O(vo, { size: 16, "aria-hidden": true }) } }); +} +function yp(e) { + return O(tn, { ...e, checkmark: { className: "ct-menu-check", children: O(vo, { size: 16, "aria-hidden": true }) } }); +} +var Sp = ca; +var Ip = hn; +function Mp({ children: e, className: t, ...o }) { + return O(bn, { ...o, className: t, button: { className: "ct-disclosure-trigger" }, expandIcon: O(jt, { size: 16, "aria-hidden": true }) }, e); +} +function Rp({ keepMounted: e, className: t, ...o }) { + let r = xn({ ...o, className: ke("ct-disclosure-panel", t) }, null); + return !e && !r.open ? null : (r.root.hidden = !r.open, vn(r)); +} +var _p = Ce("div", "ct-message-body"); +var Pp = Ce("div", "ct-message-title"); +var kp = Ce("div", "ct-message-actions"); +function Ap({ intent: e = "info", children: t, ...o }) { + let r = { info: Fn, success: ka, warning: Ta, error: di }[e] ?? Fn; + return O("div", { ...o, role: e === "error" ? "alert" : "status", "data-intent": e }, O("span", { className: "ct-message-icon", "aria-hidden": true }, O(r, { size: 16 })), t); +} +var wp = Ce("table"); +var Ep = Ce("thead"); +var Np = Ce("th", "ct-tableHeaderCell"); +var Dp = Ce("tbody"); +var Fp = Ce("tr"); +var Lp = Ce("td", "ct-tableCell"); +function Bp(e) { + let t = ba({ ...e, className: ke("ct-slider-control", e.className), input: { "aria-label": e["aria-label"] }, rail: { className: "ct-slider-track" }, thumb: { className: "ct-slider-thumb" } }, null), o = e.min ?? 0, r = e.max ?? 100, n = r > o ? (t.input.value - o) / (r - o) : 0; + return t.root.style = { ...t.root.style, "--ct-slider-fraction": n, "--ct-slider-position": `${n * 100}%` }, Ht(t); +} +var O2 = J.default.forwardRef(function(t, o) { + let r = (0, J.useRef)(null), n = yn(t, r); + return n.root.popover = void 0, (0, J.useImperativeHandle)(o, () => ({ focusBoundary(s) { + r.current?.focus(), s ? n.activeDescendantController.last() : n.activeDescendantController.first(); + } })), bt(n, po(n)); +}); +function Op({ options: e, placeholder: t = "Select an option", title: o = "Select an option", searchPlaceholder: r = "Filter", selectedOptions: n, defaultSelectedOptions: s, onOptionSelect: a, onOpenChange: i, open: l, defaultOpen: c = false, disabled: u, multiselect: m = false, ...h }) { + let [d, f] = (0, J.useState)(s ?? []), [g, y] = (0, J.useState)(c), [x, v] = (0, J.useState)(""), C = n ?? d, b = l ?? g, _ = (0, J.useRef)(null), I = (0, J.useRef)(null), L = (0, J.useId)(); + (0, J.useLayoutEffect)(() => { + let M = I.current; + if (!b || !M) return; + let B = () => { + M.matches(":popover-open") && M.querySelector(".ct-select-search")?.focus(); + }; + return M.addEventListener("toggle", B), B(), () => M.removeEventListener("toggle", B); + }, [b]); + let V = e.filter((M) => M.label.toLocaleLowerCase().includes(x.toLocaleLowerCase())), w = (M, B) => { + y(B.open), B.open && v(""), i?.(M, B); + }; + return O(Vo, { open: b, onOpenChange: w, positioning: "below-start" }, O(It, { disableButtonEnhancement: true }, O(gi, { ...h, disabled: u }, C.map((M) => e.find((B) => B.value === M)?.label).filter(Boolean).join(", ") || t, O(He, { size: 16, "aria-hidden": true }))), O(Ho, { ref: I, as: "div", className: "ct-select-panel", "aria-labelledby": L }, O("div", { className: "ct-select-panel-heading", id: L }, o), O("div", { className: "ct-select-search-row" }, O(Qe, { size: 16, "aria-hidden": true }), O(Yl, { className: "ct-input ct-select-search", placeholder: r, "aria-label": r, value: x, onChange: (M, B) => v(B.value), onKeyDown: (M) => { + !M.nativeEvent.isComposing && (M.key === "ArrowDown" || M.key === "ArrowUp") && (M.preventDefault(), _.current?.focusBoundary(M.key === "ArrowUp")); + } })), O(O2, { ref: _, className: "ct-select-options", multiselect: m, selectedOptions: C, "aria-labelledby": L, onOptionSelect: (M, B) => { + f(B.selectedOptions), a?.(M, B), m || w(M, { open: false }); + } }, V.map((M) => O(Sn, { key: M.value, value: M.value, text: M.label, disabled: M.disabled, className: "ct-select-option", checkIcon: { className: "ct-option-check", children: O(vo, { size: 16, "aria-hidden": true }) } }, O("span", null, O("span", { className: "ct-option-label" }, M.label), M.description ? O("span", { className: "ct-option-description" }, M.description) : null))), V.length === 0 ? O("div", { className: "ct-select-empty", role: "status" }, "No matches") : null))); +} +var Vp = T(S(), 1); +var H2 = { back: ho, forward: xo, search: Qe, panel: ai, commands: qa, rocket: oi, gear: ja, globe: za, shield: ni, clock: Ea, file: Za, broadcast: _a, inbox: $a, database: Oa, table: mi, workflow: vi, plug: Ja, copilot: Dn, agent: Dn, code: La, tools: hi, "file-code": Ua, play: Ya, plus: ei, cloud: Da, desktop: Ha, sparkle: ui, menu: _o, collapse: si, close: Kt, success: Aa, "chevron-down": He }; +function Po({ name: e, size: t = 20, ...o }) { + let r = H2[e]; + if (!r) throw new RangeError(`Unknown canvas symbol: ${e}`); + return Vp.default.createElement(r, { size: t, "aria-hidden": true, ...o }); +} +var p = q.default.createElement; +var Y = (...e) => e.filter(Boolean).join(" "); +function Hp({ children: e, document: t = globalThis.document, className: o, ...r }) { + let n = (0, q.useRef)(null); + return p(zd, { owner: t, root: n }, p("div", { ...r, ref: n, className: Y("ct-provider", o) }, e)); +} +function he(e, t, o = {}) { + let r = q.default.forwardRef(function({ className: s, ...a }, i) { + return p(e, { ...o, ...a, ref: i, className: Y(`ct-${t}`, s), ...t === "button" ? { "data-appearance": a.appearance ?? o.appearance ?? "secondary" } : {} }); + }); + return r.displayName = t, r; +} +var se = he(gi, "button"); +var sZ = he(Qd, "checkbox"); +var aZ = he(ep, "switch"); +var G2 = he(Yd, "textarea", { resize: "vertical" }); +var iZ = he(Xd, "select"); +var Ti = he(np, "spinner", { size: "tiny" }); +var Gp = he(sp, "progress"); +var lZ = he(Ci, "badge", { appearance: "tint", color: "informative" }); +var cZ = he(ap, "counter", { appearance: "tint", showZero: true }); +var uZ = he(Ci, "tag", { appearance: "outline" }); +var dZ = he($l, "filter-pill", { appearance: "subtle" }); +var Z2 = he(ql, "toolbar"); +var pZ = mp; +var Zp = hp; +var mZ = he(ip, "skeleton"); +var fZ = lp; +var bZ = Jd; +var hZ = tp; +var sc = xp; +var xZ = vp; +var vZ = gp; +var Up = Cp; +var U2 = he(Wd, "button"); +var gZ = $d; +var CZ = qd; +var TZ = fp; +var yZ = he(bp, "popover"); +var SZ = Wo; +var jp = he(dp, "dialog"); +var IZ = Jl; +var Kp = he(pp, "dialog-title"); +var MZ = Ql; +var RZ = ec; +var _Z = Ep; +var PZ = Np; +var kZ = Dp; +var AZ = Fp; +var wZ = Lp; +var ko = he(Yl, "input"); +function $o({ label: e, hint: t, error: o, required: r, children: n, className: s, ...a }) { + return p(rp, { ...a, label: e, hint: t, required: r, validationMessage: o ? { children: o, role: "alert" } : void 0, validationState: o ? "error" : "none", className: Y("ct-field", s) }, n); +} +function EZ({ label: e, hint: t, error: o, required: r, input: n = {}, action: s, preview: a, className: i }) { + let l = (0, q.useId)(); + return p("div", { className: Y("ct-input-action", i) }, p($o, { label: n.id ? { children: e, htmlFor: n.id } : e, hint: t, error: o, required: r }, p("div", { className: "ct-input-action-row" }, p(ko, { ...n, required: r ?? n.required, "aria-describedby": Y(n["aria-describedby"], a ? l : "") || void 0 }), p(se, s))), a ? p("div", { id: l, className: "ct-preview" }, a) : null); +} +function j2({ label: e, hint: t, children: o, className: r, ...n }) { + let s = (0, q.useId)(); + return p("fieldset", { className: Y("ct-choice-group", r) }, e ? p("legend", { id: s }, e) : null, t ? p("p", { id: `${s}-hint`, className: "ct-choice-hint" }, t) : null, p(op, { "aria-labelledby": e ? s : void 0, "aria-describedby": t ? `${s}-hint` : void 0, ...n }, o)); +} +var NZ = j2; +function DZ({ label: e, hint: t, variant: o = "plain", children: r, className: n, ...s }) { + let a = (0, q.useId)(); + return p("fieldset", { ...s, className: Y("ct-choice-group", n), "data-variant": o, "aria-describedby": Y(s["aria-describedby"], t ? `${a}-hint` : "") || void 0 }, e ? p("legend", null, e) : null, t ? p("p", { id: `${a}-hint`, className: "ct-choice-hint" }, t) : null, r); +} +function FZ({ items: e, selectedValue: t, defaultSelectedValue: o, onTabSelect: r, variant: n = "underline", className: s, ...a }) { + let [i, l] = (0, q.useState)(o ?? e[0]?.value), c = t ?? i, u = (0, q.useId)(); + return p("div", { className: Y("ct-tabs", s), "data-variant": n }, p(cp, { ...a, selectedValue: c, onTabSelect: (m, h) => { + l(h.value), r?.(m, h); + } }, e.map((m, h) => p(up, { key: m.value, id: `${u}-${h}-tab`, value: m.value, disabled: m.disabled, icon: m.icon, "aria-controls": `${u}-${h}-panel` }, m.label))), e.map((m, h) => p("div", { key: m.value, role: "tabpanel", id: `${u}-${h}-panel`, "aria-labelledby": `${u}-${h}-tab`, hidden: m.value !== c, tabIndex: 0 }, m.children))); +} +function Bn({ children: e, label: t = "More actions", button: o = {}, popover: r = {}, menu: n = {}, checkedValues: s, onCheckedValueChange: a, ...i }) { + return p(tc, { ...i, inline: true }, p(oc, { disableButtonEnhancement: true }, p(se, o, t)), p(rc, { ...r, className: Y("ct-menu", r.className) }, p(nc, { ...n, checkedValues: s, onCheckedValueChange: a }, e))); +} +function LZ({ button: e = {}, menuButton: t = {}, menuLabel: o = "More actions", children: r, disabled: n = false, collapseLabel: s = false, className: a, ...i }) { + let l = n || e.disabled; + return p("span", { className: Y("ct-split-button", a), role: "group", "data-collapse-label": s || void 0, "data-size": e.size ?? "medium", "aria-label": typeof e.children == "string" ? e.children : e["aria-label"] }, p(se, { ...e, disabled: l, className: Y("ct-split-primary", !e.children && "ct-split-icon", e.className) }, s ? p("span", { className: "ct-split-label" }, e.children) : e.children), p(tc, i, p(oc, null, p(se, { appearance: e.appearance, size: e.size, "aria-label": o, ...t, disabled: l || t.disabled, className: Y("ct-split-chevron", t.className), icon: p(He, { size: 16, "aria-hidden": true }) })), p(rc, { className: "ct-menu" }, p(nc, { "aria-label": o }, r)))); +} +function BZ({ trigger: e, title: t, subtitle: o, children: r, actions: n, closeLabel: s = "Close", size: a = "large", ...i }) { + let l = (0, q.useId)(); + return p(Xl, i, e ? p(Wo, { disableButtonEnhancement: true }, e) : null, p(jp, { className: "ct-composed-dialog", "data-size": a, "aria-describedby": o ? l : void 0 }, p("header", { className: "ct-composed-dialog-header" }, p(Kp, { action: p(Wo, null, p(se, { appearance: "subtle", className: "ct-icon-button", "aria-label": s, icon: p(Kt, { size: 16 }) })) }, t), o ? p("p", { id: l, className: "ct-dialog-subtitle" }, o) : null), p("div", { className: "ct-composed-dialog-content" }, r), n ? p(ec, { className: "ct-composed-dialog-actions" }, n) : null)); +} +function OZ({ options: e, className: t, ...o }) { + return p(Op, { ...o, options: e, className: Y("ct-combobox", t) }); +} +function VZ({ title: e = "Jump to destination", commands: t, onCommand: o, trigger: r, open: n, defaultOpen: s = false, onOpenChange: a, hint: i = "Filter destinations and actions, not work items", placeholder: l = "Filter destinations...", emptyMessage: c = "No matching destination.", closeLabel: u = "Close quick navigation", resultsLabel: m = "Destinations", query: h, onQueryChange: d, closeOnCommand: f = true, beforeResults: g, surface: y = {}, searchInput: x = {}, closeButton: v = {}, results: C = {}, ...b }) { + let [_, I] = (0, q.useState)(s), [L, V] = (0, q.useState)(""), w = h ?? L, M = t.filter((W) => `${W.label} ${W.description ?? ""}`.toLocaleLowerCase().includes(w.trim().toLocaleLowerCase())), B = /* @__PURE__ */ new Map(); + for (let W of M) { + let pe = W.group ?? ""; + B.has(pe) || B.set(pe, []), B.get(pe).push(W); + } + let j = (0, q.useRef)(null), E = (0, q.useRef)(null), D = (0, q.useId)(), K = n ?? _; + (0, q.useLayoutEffect)(() => { + K && (V(""), j.current?.focus()); + }, [K]); + let k = (W, pe) => { + I(pe.open), a?.(W, pe); + }, H = (W) => W.disabled || W.button?.disabled || [true, "true"].includes(W.button?.["aria-disabled"]), ie = (W, pe) => { + !pe || H(pe) || (f && k(W, { open: false, type: "trigger", event: W }), o?.(W, pe.value)); + }, ot = (W) => { + let pe = [...E.current?.querySelectorAll("button") ?? []].filter((Gn) => !Gn.disabled); + (W ? pe.at(-1) : pe[0])?.focus(); + }, Se = [...B].map(([W, pe]) => { + let Gn = pe.map((Le) => p(U2, { ...Le.button, key: Le.value, appearance: "subtle", disabled: Le.disabled || Le.button?.disabled, "data-command": Le.value, onClick: (Ri) => { + Le.button?.onClick?.(Ri), Ri.defaultPrevented || ie(Ri, Le); + }, icon: Le.icon }, p("span", null, Le.label, Le.description ? p("span", { className: "ct-palette-description" }, Le.description) : null))); + return W ? p("section", { key: W, "aria-label": W }, W ? p("h3", { className: "ct-palette-group" }, W) : null, Gn) : Gn; + }); + return p(Xl, { ...b, open: K, onOpenChange: k }, r ? p(Wo, { disableButtonEnhancement: true }, r) : null, p(jp, { ...y, className: Y("ct-palette", y.className), backdrop: { className: "ct-palette-backdrop" } }, p(Jl, null, p(Kp, { action: p(Wo, { disableButtonEnhancement: true }, p(se, { appearance: "subtle", "aria-label": u, ...v, className: Y("ct-palette-close", v.className), icon: p(Kt, { size: 16 }) })) }, e), p(Ql, null, p($o, { label: { children: i, htmlFor: x.id ?? `${D}-query` } }, p(ko, { ...x, id: x.id ?? `${D}-query`, ref: j, type: "search", autoComplete: "off", placeholder: l, value: w, onChange: (W, pe) => { + V(pe.value), d?.(W, pe); + }, onKeyDown: (W) => { + W.nativeEvent.isComposing || (W.key === "ArrowDown" || W.key === "ArrowUp" ? (W.preventDefault(), ot(W.key === "ArrowUp")) : W.key === "Enter" && (W.preventDefault(), ie(W, M.find((pe) => !H(pe))))); + } })), g, p(ql, { ...C, ref: E, orientation: "vertical", className: Y("ct-palette-destinations", C.className), "aria-label": m, onKeyDown: (W) => { + !W.nativeEvent.isComposing && (W.key === "Home" || W.key === "End") && (W.preventDefault(), ot(W.key === "End")); + } }, Se), M.length === 0 ? p("p", { role: "status", className: "ct-muted" }, c) : null)))); +} +function K2({ title: e, children: t, defaultOpen: o = false, keepMounted: r = false, ...n }) { + return p(Sp, { ...n, collapsible: true, defaultOpenItems: o ? ["content"] : [] }, p(Ip, { value: "content" }, p(Mp, { className: "ct-disclosure-header" }, e), p(Rp, { keepMounted: r }, t))); +} +function yi({ title: e, children: t, intent: o = "info", actions: r, className: n, ...s }) { + return p(Ap, { ...s, intent: o, "data-intent": o, className: Y("ct-message", n) }, p(_p, null, e ? p(Pp, null, e) : null, t), r ? p(kp, null, r) : null); +} +function zp({ title: e, description: t, icon: o, variant: r = "secondary", compact: n = false, joined: s = false, className: a, ...i }) { + return p(gi, { ...i, appearance: r === "primary" ? "primary" : "secondary", className: Y("ct-action-card", a), "data-variant": r, "data-compact": n, "data-joined": s }, o ? p("span", { className: "ct-action-card-icon", "aria-hidden": true }, o) : p("span"), p("span", { className: "ct-action-card-text" }, p("span", { className: "ct-action-card-title" }, e), t ? p("span", { className: "ct-action-card-description" }, t) : null), p(r === "suggestion" ? Ma : jt, { className: "ct-action-card-arrow", size: r === "suggestion" ? 20 : 16, "aria-hidden": true })); +} +function HZ({ title: e, description: t, actions: o, className: r, ...n }) { + return p("div", { ...n, className: Y("ct-section-header", r) }, p("div", null, p("h2", null, e), t ? p("p", null, t) : null), o); +} +function GZ({ onBack: e, onForward: t, onJump: o, backDisabled: r = false, forwardDisabled: n = false, variant: s = "classic", backLabel: a = "Back", forwardLabel: i = "Forward", jumpLabel: l = "Jump to", shortcutLabel: c, browse: u, label: m = "History", backButton: h = {}, forwardButton: d = {}, jumpButton: f = {}, layout: g = "inline", children: y, actions: x }) { + return p("nav", { className: "ct-navigation", "aria-label": m, "data-jump": !!o, "data-variant": s, "data-layout": g }, p("div", { className: "ct-history" }, u ? p(se, { "aria-label": "Browse destinations", ...u, appearance: "subtle", className: Y("ct-browse", u.className), icon: u.icon ?? p(_o, { size: 16, "aria-hidden": true }) }) : null, e ? p(se, { appearance: "subtle", "aria-label": a, ...h, disabled: r || h.disabled, onClick: e }, p(s === "browser" ? wa : ho, { size: 20, "aria-hidden": true })) : null, t ? p(se, { appearance: "subtle", "aria-label": i, ...d, disabled: n || d.disabled, onClick: t }, p(s === "browser" ? jt : xo, { size: 20, "aria-hidden": true })) : null), y ? p("div", { className: "ct-navigation-identity" }, y) : null, o ? p(se, { appearance: g === "header" ? "subtle" : void 0, "aria-label": l, "aria-haspopup": "dialog", ...f, className: Y("ct-jump", f.className), onClick: o }, p(Qe, { size: g === "header" ? 16 : 20, "aria-hidden": true }), p("span", null, l), c ? p("kbd", null, c) : null, g === "header" ? p(He, { size: 16, "aria-hidden": true }) : null) : null, x); +} +function ZZ({ title: e, context: t, icon: o, navigation: r, actions: n, onHome: s, homeButton: a = {}, contextVisibility: i = "responsive", contextHidden: l = false, browse: c, history: u, className: m, ...h }) { + let d = !!(c || u), f = p("div", { className: "ct-header-identity" }, o ? p("span", { className: "ct-header-icon", "aria-hidden": true }, o) : null, s ? p(se, { appearance: "subtle", ...a, onClick: s }, a.children ?? e) : p("h1", null, e), t ? p("span", { className: "ct-header-context", hidden: l }, p("span", { "aria-hidden": true }, "/"), p("span", { className: "ct-muted" }, t)) : null); + return p("header", { ...h, className: Y("ct-header", m), "data-navigation": d || void 0, "data-context-visibility": i }, d ? p("div", { className: "ct-header-start" }, c ? p(se, { ...c, className: Y("ct-browse", c.className), appearance: "subtle", icon: c.icon ?? p(_o, { size: 16, "aria-hidden": true }) }) : null, u, f) : f, d ? null : p("div", { className: "ct-header-center" }, r), p("div", { className: "ct-header-actions" }, d ? r : null, n)); +} +function Wp({ children: e, links: t, language: o, version: r, className: n, ...s }) { + return p("footer", { ...s, className: Y("ct-footer", n) }, p("div", { className: "ct-actions" }, t, e), o, r ? p("span", { className: "ct-version" }, r) : null); +} +function UZ({ header: e, footer: t, children: o, className: r, ...n }) { + return p("div", { ...n, className: Y("ct-shell", r) }, e, p("main", { className: "ct-main" }, o), t); +} +function jZ({ label: e = "Destinations", items: t = [], groups: o = [], current: r, onNavigate: n, variant: s = "sidebar", title: a }) { + let i = (l) => p("ul", null, l.map((c) => p("li", { key: c.value }, p(se, { key: c.value, appearance: "subtle", icon: c.icon, ...c.button, disabled: c.disabled || c.button?.disabled, "aria-current": r === c.value ? "page" : void 0, onClick: (u) => n?.(u, c.value) }, c.label)))); + return p("nav", { "aria-label": e, className: "ct-product-navigation", "data-variant": s }, a ? p("h2", null, a) : null, i(t), o.map((l, c) => p("section", { key: c, "aria-label": l.label }, p("h3", null, l.label), i(l.items)))); +} +function ac({ children: e, className: t, ...o }) { + return p("div", { ...o, className: Y("ct-actions", t) }, e); +} +function KZ({ search: e, facets: t = [], values: o, defaultValues: r = {}, onFiltersChange: n, sort: s, resultCount: a, children: i, className: l, ...c }) { + let [u, m] = (0, q.useState)(r), [h, d] = (0, q.useState)(s?.defaultValue ?? s?.options[0]?.value), f = o ?? u; + if (!e && !t.length && !s) return p(Z2, { ...c, className: l }, i); + let g = s?.value ?? h; + return p("div", { ...c, role: "group", className: Y("ct-filter-toolbar", l) }, e ? p("div", { className: "ct-filter-search" }, p(Qe, { size: 16, "aria-hidden": true }), p(ko, { ...e, type: "search", "aria-label": e["aria-label"] ?? e.placeholder ?? "Search" })) : null, p("div", { className: "ct-filter-controls" }, t.map((y) => { + let x = y.options.filter((C) => f[y.id]?.includes(C.value)), v = x.length ? `${y.label}: ${x.length === 1 ? x[0].label : x.length}` : y.label; + return p(Bn, { key: y.id, label: p(q.default.Fragment, null, v, p(He, { size: 16, "aria-hidden": true })), button: { "aria-label": v, disabled: y.disabled }, checkedValues: { [y.id]: f[y.id] ?? [] }, onCheckedValueChange: (C, b) => { + let _ = { ...f, [y.id]: b.checkedItems }; + m(_), n?.(C, { values: _ }); + } }, y.options.map((C) => p(Tp, { key: C.value, name: y.id, value: C.value, className: "ct-menu-choice", disabled: C.disabled }, C.label))); + }), s ? p(Bn, { label: p(q.default.Fragment, null, p(li, { size: 16, "aria-hidden": true }), p("span", null, `${s.label ?? "Sort"}: ${s.options.find((y) => y.value === g)?.label ?? ""}`), p(He, { size: 16, "aria-hidden": true })), button: { className: "ct-filter-sort", "aria-label": `${s.label ?? "Sort"}: ${s.options.find((y) => y.value === g)?.label ?? ""}` }, checkedValues: { sort: [g] }, onCheckedValueChange: (y, x) => { + let v = x.checkedItems[0]; + d(v), s.onChange?.(y, { value: v }); + } }, s.options.map((y) => p(yp, { key: y.value, name: "sort", value: y.value, disabled: y.disabled, className: "ct-menu-choice" }, y.label))) : null, i), a !== void 0 ? p("span", { role: "status", className: "ct-visually-hidden" }, `${a} results`) : null); +} +function zZ({ title: e, children: t, action: o, className: r, ...n }) { + return p("div", { ...n, className: Y("ct-blankslate", r) }, p("h2", null, e), p("div", { className: "ct-muted" }, t), o); +} +function WZ({ title: e, status: t, statusTone: o = "neutral", children: r, actions: n, footer: s, onClose: a, closeLabel: i = "Close details", closeButton: l = {}, className: c, ...u }) { + let m = (0, q.useId)(); + return p("section", { ...u, "aria-labelledby": u["aria-labelledby"] ?? m, className: Y("ct-detail", c) }, p("header", { className: "ct-detail-header" }, p("h2", { id: m }, e), t ? p("span", { className: "ct-detail-status", "data-tone": o }, t) : null, p("div", { className: "ct-actions ct-detail-actions" }, n, a ? p(se, { appearance: "subtle", "aria-label": i, ...l, className: Y("ct-icon-button", l.className), onClick: a, icon: p(Kt, { size: 16 }) }) : null)), p("div", { className: "ct-detail-body" }, r), s ? p("footer", { className: "ct-detail-footer" }, s) : null); +} +function $Z({ list: e, items: t = [], selectedValue: o, defaultSelectedValue: r, onSelect: n, title: s = "Items", actions: a, filters: i, searchable: l = true, searchLabel: c = "Search items", emptyMessage: u = "No matching items.", emptyDetail: m = "Select an item to view details.", backLabel: h = "Back to list", children: d, className: f, ...g }) { + let [y, x] = (0, q.useState)(r), [v, C] = (0, q.useState)(""), [b, _] = (0, q.useState)(false), I = o === void 0 ? y : o, L = t.some((H) => H.value === I) ? I : void 0, V = (0, q.useRef)(null), w = (0, q.useRef)(null), M = (0, q.useId)(), B = (0, q.useId)(), j = t.filter((H) => `${H.title} ${H.description ?? ""} ${H.group ?? ""}`.toLocaleLowerCase().includes(v.trim().toLocaleLowerCase())), E = [...new Set(j.map((H) => H.group ?? ""))], D = (H, ie) => { + x(ie.value), _(true), n?.(H, { value: ie.value }), V.current?.clientWidth < 760 && V.current.ownerDocument.defaultView.requestAnimationFrame(() => w.current?.focus()); + }, K = () => { + _(false), V.current?.ownerDocument.defaultView.requestAnimationFrame(() => V.current?.querySelector(".ct-list-item[aria-current=true]")?.focus()); + }, k = typeof d == "function" ? d(L) : d; + return p("div", { ...g, ref: V, className: Y("ct-list-detail", f), "data-view": e !== void 0 ? "slots" : b && L ? "detail" : "list" }, p("section", { className: "ct-list-pane", "aria-labelledby": M }, p("header", { className: "ct-list-heading" }, p("h2", { id: M }, s), p("div", { className: "ct-actions" }, a)), e ?? p(q.default.Fragment, null, l ? p("div", { className: "ct-filter-search ct-list-search" }, p(Qe, { size: 16, "aria-hidden": true }), p(ko, { type: "search", "aria-label": c, placeholder: c, value: v, onChange: (H, ie) => C(ie.value) })) : null, i, j.length ? E.map((H) => { + let ie = j.filter((Se) => (Se.group ?? "") === H), ot = p("ul", null, ie.map((Se) => p("li", { key: Se.value }, p(se, { appearance: "subtle", className: "ct-list-item", disabled: Se.disabled, "aria-current": L === Se.value ? "true" : void 0, "aria-controls": B, onClick: (W) => D(W, Se) }, Se.icon ? p("span", { "aria-hidden": true }, Se.icon) : null, p("span", { className: "ct-list-item-text" }, p("span", null, Se.title), Se.description ? p("span", { className: "ct-muted" }, Se.description) : null), Se.meta ? p("span", { className: "ct-list-meta" }, Se.meta) : null, p(jt, { size: 16, "aria-hidden": true }))))); + return p("div", { key: H, className: "ct-list-group", "data-group": H }, H ? p(K2, { title: p(q.default.Fragment, null, p("span", null, H), " ", p("span", { className: "ct-list-group-count" }, ie.length)), defaultOpen: true }, ot) : ot); + }) : p("p", { role: "status", className: "ct-list-empty" }, u))), p("section", { className: "ct-list-detail-pane", id: B, "aria-label": "Selected item" }, p("div", { className: "ct-list-detail-back", ref: w, tabIndex: -1, "aria-label": t.find((H) => H.value === L)?.title ?? "Details" }, p(se, { appearance: "subtle", onClick: K, icon: p(ho, { size: 16, "aria-hidden": true }) }, h)), k ?? p("p", { className: "ct-list-empty" }, m))); +} +function qZ({ first: e, second: t, ratio: o, onRatioChange: r, label: n = "First pane width", className: s }) { + let [a, i] = (0, q.useState)(40), l = o ?? a; + return p("div", { className: Y("ct-split", s) }, p("div", { className: "ct-split-content", style: { gridTemplateColumns: `${l}fr ${100 - l}fr` } }, e, t), p(z2, { label: n, value: l, onChange: (c, u) => { + i(u.value), r?.(c, u); + } })); +} +function z2({ label: e = "Pane width", ...t }) { + return p(Bp, { ...t, min: 10, max: 90, "aria-label": e, className: "ct-resize" }); +} +function W2({ children: e, label: t = "Code", title: o, language: r, actions: n, className: s, ...a }) { + let i = p("pre", { ...a, className: Y("ct-code", s), "aria-label": t, tabIndex: 0 }, p("code", null, e)); + return !o && !r && !n ? i : p("section", { className: "ct-code-block", "aria-label": typeof o == "string" ? o : t }, o ? p("h3", null, o) : null, p("div", { className: "ct-code-frame" }, p("header", { className: "ct-code-header" }, p("span", null, r), p("div", { className: "ct-actions" }, n)), i)); +} +function YZ({ children: e, label: t = "Output", status: o, description: r, emptyMessage: n = "No process output yet.", className: s, ...a }) { + return p("section", { ...a, className: Y("ct-output", s), "aria-label": t }, p("header", { className: "ct-output-header" }, p("h3", null, t), o ? p("span", { role: "status", className: "ct-muted" }, o) : null), r ? p("p", { className: "ct-output-description" }, r) : null, p(W2, { label: `${t} log` }, e == null || e === "" ? n : e)); +} +function XZ({ items: e, className: t, ...o }) { + return p("dl", { ...o, className: Y("ct-key-values", t) }, e.map(({ label: r, value: n }, s) => p(q.default.Fragment, { key: s }, p("dt", null, r), p("dd", null, n)))); +} +function JZ({ items: e, className: t, ...o }) { + return p("dl", { ...o, className: Y("ct-metadata-list", t) }, e.map(({ label: r, value: n }, s) => p("div", { key: s }, p("dt", null, r), p("dd", null, n)))); +} +var QZ = he(wp, "table"); +function $p({ label: e = "Message", value: t, defaultValue: o = "", onChange: r, onSubmit: n, pending: s = false, error: a, placeholder: i, submitLabel: l = "Send", actions: c, input: u = {}, submitButton: m = {} }) { + let h = (0, q.useRef)(null), [d, f] = (0, q.useState)(o), g = t ?? h.current?.value ?? d; + return (0, q.useLayoutEffect)(() => { + let y = h.current; + if (!y) return; + let x = () => { + y.style.height = "0px", y.style.height = `${Math.max(104, y.scrollHeight)}px`; + }; + x(); + let v = y.ownerDocument.defaultView?.ResizeObserver, C = y.clientWidth, b = v ? new v(() => { + y.clientWidth !== C && (C = y.clientWidth, x()); + }) : void 0; + return b?.observe(y), () => b?.disconnect(); + }, [t, d]), p("form", { className: "ct-composer", "aria-busy": s, onSubmit: (y) => { + y.preventDefault(), !s && (t ?? h.current?.value ?? d).trim() && n?.(y); + } }, p($o, { label: { children: e, className: "ct-visually-hidden" }, error: a }, p(G2, { ...u, ...t === void 0 ? { defaultValue: o } : { value: t }, onChange: (y, x) => { + f(x.value), r?.(y, x); + }, placeholder: i, disabled: s || u.disabled, resize: "none", textarea: { ref: h } })), p("div", { className: "ct-actions ct-actions-end", "data-composer-actions": "" }, c ? p("div", { className: "ct-composer-actions" }, c) : null, s ? p(Ti, { label: "Sending" }) : null, p(se, { type: "submit", className: "ct-composer-send", appearance: "primary", "aria-label": l, ...m, disabled: s || !g.trim() || m.disabled, icon: p(xo, { size: 20, "aria-hidden": true }) }))); +} +function eU({ label: e, value: t, onChange: o, onSave: r, onCancel: n, pending: s = false, error: a }) { + return p("form", { className: "ct-editor", "aria-busy": s, onSubmit: (i) => { + i.preventDefault(), s || r?.(i); + } }, p($o, { label: e, error: a }, p(ko, { value: t, onChange: o, disabled: s })), p(ac, null, p(se, { type: "submit", appearance: "primary", disabled: s }, "Save"), p(se, { onClick: n, disabled: s }, "Cancel"))); +} +var ic = T(S(), 1); +var qp = T(rm(), 1); +var lc = T(om(), 1); +var Si = /* @__PURE__ */ new WeakMap(); +function Ii(e, t, o = {}) { + if (!e || e.nodeType !== 1) throw new TypeError("A DOM element is required."); + if (!t || typeof t != "function" && typeof t != "object") throw new TypeError("A React component is required."); + if (Si.has(e)) throw new Error("This container already has a toolkit React root. Dispose it first."); + let r = (0, qp.createRoot)(e), n = o, s = false; + function a() { + (0, lc.flushSync)(() => r.render(ic.default.createElement(Hp, { document: e.ownerDocument }, ic.default.createElement(t, n)))); + } + let i = { element: e, get disposed() { + return s; + }, update(l) { + if (s) throw new Error("Cannot update a disposed canvas component."); + n = { ...n, ...l }, a(); + }, dispose() { + s || ((0, lc.flushSync)(() => r.unmount()), s = true, Si.delete(e)); + } }; + Si.set(e, i); + try { + a(); + } catch (l) { + throw i.dispose(), l; + } + return i; +} +function On(e) { + for (let t of [...e.children]) On(t); + Si.get(e)?.dispose(); +} +function nU(e, ...t) { + On(e), e.replaceChildren(...t.flat(1 / 0).filter((o) => o != null && o !== false)); +} +function aU({ input: e, button: t, submit: o, unavailable: r = () => false }) { + let n = false, s = false, a = () => { + t.disabled = s || r() || !e.value.trim(); + }, i = async () => { + if (a(), !t.disabled) { + s = true, a(); + try { + return await o(); + } finally { + s = false, a(); + } + } + }, l = (m) => { + m.key !== "Enter" || m.shiftKey || m.isComposing || n || m.keyCode === 229 || (m.preventDefault(), t.click()); + }, c = () => { + n = true; + }, u = () => { + n = false; + }; + return e.addEventListener("input", a), e.addEventListener("keydown", l), e.addEventListener("compositionstart", c), e.addEventListener("compositionend", u), t.addEventListener("click", i), a(), { update: a, dispose() { + e.removeEventListener("input", a), e.removeEventListener("keydown", l), e.removeEventListener("compositionstart", c), e.removeEventListener("compositionend", u), t.removeEventListener("click", i); + } }; +} +function iU(e, { label: t, focusFirst: o = false } = {}) { + t && e.setAttribute("aria-label", t), e.setAttribute("role", "group"); + let r = () => [...e.querySelectorAll("button.task")].filter((s) => !s.disabled && s.getClientRects().length), n = (s) => { + if (!["ArrowUp", "ArrowDown", "Home", "End"].includes(s.key)) return; + let a = r(), i = a.indexOf(document.activeElement); + if (i < 0) return; + s.preventDefault(); + let l = s.key === "Home" ? 0 : s.key === "End" ? a.length - 1 : (i + (s.key === "ArrowDown" ? 1 : -1) + a.length) % a.length; + a[l].focus(); + }; + return e.addEventListener("keydown", n), o && r()[0]?.focus(), { focus: () => r()[0]?.focus(), dispose: () => e.removeEventListener("keydown", n) }; +} +var Mi; +function lU({ panel: e, trigger: t, closeButton: o, resizeHandle: r, storageKey: n, changed: s = () => { +}, returnFocus: a = () => t }) { + let i = () => globalThis.matchMedia("(max-width: 900px)").matches, l = { width: 380, height: 280 }; + if (n) for (let w of Object.keys(l)) try { + let M = globalThis.localStorage.getItem(`${n}:${w}`); + if (M === null) continue; + let B = Number(M); + Number.isFinite(B) && B > 0 ? l[w] = B : console.error(`Invalid saved detail panel ${w}; using its default size.`); + } catch (M) { + if (M.name !== "SecurityError") throw M; + console.error("Cannot read saved detail panel dimensions.", M); + } + let c = null, u, m = () => { + let w = i() ? Math.floor(globalThis.innerHeight * 0.7) : 560; + return { min: i() ? Math.min(180, w) : 280, max: w }; + }, h = (w) => Math.max(m().min, Math.min(m().max, w)), d = (w) => { + if (n) try { + globalThis.localStorage.setItem(`${n}:${w}`, String(l[w])); + } catch (M) { + if (!["SecurityError", "QuotaExceededError"].includes(M.name)) throw M; + console.error("Cannot save detail panel dimensions.", M); + } + }, f = () => { + if (e.hidden) return; + let w = i(); + e.style.width = w ? "" : `${h(l.width)}px`, e.style.height = w ? `${h(l.height)}px` : ""; + let M = e.getBoundingClientRect(); + document.documentElement.style.setProperty("--workbench-detail-width", `${M.width}px`), document.documentElement.style.setProperty("--workbench-detail-height", `${M.height}px`), r && (r.setAttribute("aria-orientation", i() ? "horizontal" : "vertical"), r.setAttribute("aria-valuemin", String(m().min)), r.setAttribute("aria-valuemax", String(m().max)), r.setAttribute("aria-valuenow", String(Math.round(i() ? M.height : M.width)))); + }, g = typeof ResizeObserver > "u" ? null : new ResizeObserver(f); + g?.observe(e); + let y = (w, { restoreFocus: M = true } = {}) => { + if (w === !e.hidden) return; + let B = document.querySelector("main.app"), j = B ? { x: globalThis.scrollX, y: globalThis.scrollY + B.scrollTop } : null, E = e.contains(document.activeElement) || document.activeElement === document.body; + if (w) { + let D = document.activeElement; + Mi?.setOpen(false, { restoreFocus: false }), u = t ?? D, Mi = V; + } + if (!w && c) { + let D = c.id; + c = null, r.hasPointerCapture(D) && r.releasePointerCapture(D); + } + e.hidden = !w, document.body.classList.toggle("workbench-details-open", w), t?.setAttribute("aria-expanded", String(w)), !w && Mi === V && (Mi = null), s(w), w && f(), j && (B.scrollTop = j.y, globalThis.scrollTo(j.x, j.y - B.scrollTop)), w ? o.focus() : M && E && (u !== document.body && u?.isConnected && u.getClientRects().length && !u.disabled ? u : a())?.focus({ preventScroll: true }); + }, x = () => y(e.hidden), v = () => y(false), C = (w) => { + !e.hidden && w.key === "Escape" && !w.defaultPrevented && !document.activeElement.closest("dialog[open], [role=menu]") && (w.preventDefault(), v()); + }, b = (w) => { + let M = i() ? "height" : "width", B = e.getBoundingClientRect()[M], j = w.shiftKey ? 40 : 16, E; + w.key === "Home" ? E = m().min : w.key === "End" ? E = m().max : w.key === (i() ? "ArrowUp" : "ArrowLeft") ? E = B + j : w.key === (i() ? "ArrowDown" : "ArrowRight") && (E = B - j), E !== void 0 && (w.preventDefault(), l[M] = h(E), d(M), f()); + }, _ = (w) => { + if (w.button !== 0) return; + w.preventDefault(); + let M = i(); + c = { id: w.pointerId, compact: M, origin: M ? w.clientY : w.clientX, size: e.getBoundingClientRect()[M ? "height" : "width"] }, r.setPointerCapture(w.pointerId); + }, I = (w) => { + if (!c || c.id !== w.pointerId || c.compact !== i()) return; + let M = c.size + c.origin - (c.compact ? w.clientY : w.clientX); + l[c.compact ? "height" : "width"] = h(M), f(); + }, L = (w) => { + c?.id === w.pointerId && (d(c.compact ? "height" : "width"), c = null, r.hasPointerCapture(w.pointerId) && r.releasePointerCapture(w.pointerId)); + }; + t?.addEventListener("click", x), o.addEventListener("click", v), document.addEventListener("keydown", C), r?.addEventListener("keydown", b), r?.addEventListener("pointerdown", _), r?.addEventListener("pointermove", I), r?.addEventListener("pointerup", L), r?.addEventListener("pointercancel", L), r?.addEventListener("lostpointercapture", L), globalThis.addEventListener?.("resize", f), e.setAttribute("role", "complementary"), t?.setAttribute("aria-expanded", "false"); + let V = { setOpen: y, dispose() { + t?.removeEventListener("click", x), o.removeEventListener("click", v), document.removeEventListener("keydown", C), r?.removeEventListener("keydown", b), r?.removeEventListener("pointerdown", _), r?.removeEventListener("pointermove", I), r?.removeEventListener("pointerup", L), r?.removeEventListener("pointercancel", L), r?.removeEventListener("lostpointercapture", L), globalThis.removeEventListener?.("resize", f), g?.disconnect(), y(false); + } }; + return V; +} +function cU({ editor: e, trigger: t, changed: o = () => { +} }) { + let r, n = (a) => { + r !== a && (r = a, e.hidden = !r, e.inert = !r, t.setAttribute("aria-expanded", String(r)), o(r)); + }, s = () => n(!r); + return t.addEventListener("click", s), n(false), { setOpen: n, isOpen: () => r, dispose: () => t.removeEventListener("click", s) }; +} +function uU({ shell: e, surface: t, trigger: o, collapsed: r = false, onCollapsed: n = () => { +} }) { + let s, a = false, i = false, l = false, c = false, u = false, m, h = () => { + clearTimeout(m), m = void 0; + }, d = new AbortController(), f = (M, B, j, E = {}) => M.addEventListener(B, j, { ...E, signal: d.signal }), g = (M) => M instanceof Node && (o.contains(M) || t.contains(M)), y = () => s && !r, x = t.querySelector("[data-navigation-collapse]"), v = () => (y() && x ? x : o).focus(), C = () => { + let M = document.activeElement === o, B = y() || a || i; + t.hidden = !B, t.dataset.mode = y() ? "sidebar" : i ? "held" : "preview", e.dataset.navigationExpanded = String(!!y()), o.setAttribute("aria-expanded", String(!!B)), o.hidden = !!(y() && x), x && (x.hidden = !y()), t.querySelector("[data-navigation-close]").hidden = !i || s, o.hidden && M && v(); + }, b = (M = false) => { + h(), a = i = false, u = false, l = o.matches(":hover"), c = M, C(), M && v(); + }, _ = (M) => { + r = M, b(!!x || t.contains(document.activeElement)), n(r); + }, I = () => { + let M = e.getBoundingClientRect(), B = o.closest("header").getBoundingClientRect(); + t.style.setProperty("--workbench-navigation-top", `${B.bottom + 4}px`), t.style.setProperty("--workbench-navigation-left", `${M.left}px`); + let j = M.width >= 1180; + if (j !== s) { + let E = t.contains(document.activeElement) || u && document.activeElement === document.body; + s = j, E || a || i ? b(E) : C(); + } + }, L = new ResizeObserver(I); + L.observe(e), I(), f(document, "scroll", I, { capture: true }), f(o, "click", () => { + I(), s ? _(!r) : i ? b(true) : (i = true, C()); + }), f(o, "pointermove", (M) => { + I(), M.pointerType !== "touch" && !y() && !l && (a = true, C()); + }), f(o, "pointerenter", h), f(t, "pointerenter", h), f(o, "focus", () => { + h(), I(), c ? c = false : y() || (a = true, C()); + }); + let w = (M) => { + l = false; + let B = t.contains(document.activeElement) || document.activeElement === o && o.matches(":focus-visible"); + !i && a && !g(M.relatedTarget) && !B && (h(), m = setTimeout(() => { + a = false, C(); + }, 200)); + }; + return f(o, "pointerleave", w), f(t, "pointerleave", w), f(t, "focusin", () => { + h(), u = true; + }), f(document, "focusin", (M) => { + g(M.target) || b(); + }), f(document, "pointerdown", (M) => { + g(M.target) || b(t.contains(document.activeElement)); + }), f(document, "keydown", (M) => { + M.key === "Escape" && !M.defaultPrevented && !y() && (a || i) && (M.preventDefault(), M.stopPropagation(), b(g(document.activeElement))); + }), f(o, "keydown", (M) => { + (a || i) && (M.key === "ArrowDown" || M.key === "Tab" && !M.shiftKey) && (M.preventDefault(), t.querySelector("nav button")?.focus()); + }), f(t.querySelector("[data-navigation-close]"), "click", () => b(true)), x && f(x, "click", () => _(true)), { dismiss: b, refresh: C, dispose() { + h(), d.abort(), L.disconnect(), t.hidden = true, o.hidden = false, x && (x.hidden = true), delete e.dataset.navigationExpanded, o.setAttribute("aria-expanded", "false"); + } }; +} +function dU({ key: e, restore: t, changed: o, storage: r = sessionStorage }) { + let n = r.getItem(e), s = n ? JSON.parse(n) : { entries: [], index: -1 }, a = false, i = () => { + r.setItem(e, JSON.stringify(s)), o?.(!a && s.index > 0, !a && s.index < s.entries.length - 1); + }, l = async (c) => { + let u = s.index + c; + if (a || u < 0 || u >= s.entries.length) return; + let m = s.index; + a = true, s.index = u, i(); + try { + await t(structuredClone(s.entries[u])); + } catch (h) { + throw s.index = m, i(), h; + } finally { + a = false, i(); + } + }; + return { current: () => structuredClone(s.entries[s.index]), isRestoring: () => a, record(c) { + a || JSON.stringify(s.entries[s.index]) === JSON.stringify(c) || (s.entries = [...s.entries.slice(0, s.index + 1), structuredClone(c)].slice(-80), s.index = s.entries.length - 1, i()); + }, back: () => l(-1), forward: () => l(1), refresh: i, reset(c) { + s = c === void 0 ? { entries: [], index: -1 } : { entries: [structuredClone(c)], index: 0 }, i(); + } }; +} +var re = T(S(), 1); +var G = re.default.createElement; +var Xp = /* @__PURE__ */ new WeakMap(); +var Yp = /* @__PURE__ */ new WeakMap(); +function $2({ element: e }) { + let t = (0, re.useRef)(null); + return (0, re.useLayoutEffect)(() => (t.current.append(e), () => e.remove()), [e]), G("span", { ref: t, className: "ct-dom-content" }); +} +function Vn(e, t, o = "div") { + let r = document.createElement(o); + r.className = "ct-view-mount"; + let n = t, s = Ii(r, e, n), a = (i) => { + n = { ...n, ...i }, s.update(n); + }; + return { element: r, update: a, render: a, dispose: () => s.dispose() }; +} +function Jp({ label: e, description: t, symbol: o = "code", detail: r, emphasis: n = "secondary", variant: s, dataset: a, onclick: i, ...l }) { + let c = Object.fromEntries(Object.entries(a ?? {}).map(([u, m]) => [`data-${u.replace(/[A-Z]/g, (h) => `-${h.toLowerCase()}`)}`, m])); + return G(zp, { ...l, ...c, "data-kit-node": "ActionCard", className: ["task", l.className].filter(Boolean).join(" "), title: e, description: r ? G(re.default.Fragment, null, t, G($2, { element: r })) : t, icon: G(Po, { name: o }), onClick: i ?? l.onClick, variant: s === "suggestion" ? s : n === "primary" ? "primary" : "secondary" }); +} +function hU(e) { + let t = Vn(Jp, e, "span"); + return Xp.set(t.element, t), t.element; +} +function xU(e, t) { + let o = Xp.get(e); + if (!o) throw new Error("This action card has not been mounted by canvas-toolkit."); + o.update(t); +} +function vU(e) { + return Vn(Po, { name: e }, "span").element; +} +function gU(e, t) { + return On(e), Ii(e, $p, t); +} +function q2({ node: e, onAction: t }) { + let o = (r) => { + let n = G(se, { disabled: r.disabled && !r.focusableWhenDisabled, "aria-disabled": r.disabled && r.focusableWhenDisabled ? true : void 0, "aria-busy": r.pending || void 0, "data-metric-id": r.metricId, icon: r.pending ? G(Ti, { "aria-hidden": true }) : void 0, onClick: () => { + r.disabled || t?.({ type: "action", action: r.action }); + } }, r.label); + return G(re.default.Fragment, { key: r.action }, r.tooltip ? G(Zp, { content: r.tooltip }, n) : n); + }; + return G(yi, { intent: e.intent ?? "info", title: e.title, actions: e.actions?.map(o) }, e.text ? G("p", null, e.text) : null, e.feedback ? G("div", { className: "ct-view-feedback", role: "status", "aria-atomic": true, "data-feedback-intent": e.feedback.intent }, e.feedback.title ? G("p", null, e.feedback.title) : null, e.feedback.text ? G("p", null, e.feedback.text) : null) : null, e.status ? G("p", { role: "status" }, e.status) : null); +} +function Qp({ node: e, onAction: t }) { + if (e.type === "MessageBar") return G(q2, { node: e, onAction: t }); + if (e.type === "Spinner") return e.paused ? G("span", { className: "ct-spinner", role: "status" }, G(Po, { name: "clock", size: 16 }), e.label) : G(Ti, { label: e.label }); + if (e.type === "ProgressBar") { + if (e.value !== void 0 && (!Number.isFinite(e.value) || e.value < 0 || e.value > 100)) throw new RangeError("Progress must be between 0 and 100."); + return G(Gp, { label: e.label, value: e.value, max: 100 }); + } + if (e.type === "Celebration") return G("span", { className: "ct-completion", role: "status", "aria-live": "polite", "aria-label": e.announcement }, G(Po, { name: "success", size: 32 })); + if (e.type === "Text") return G("span", null, e.text); + if (e.type === "Stack") return G("div", { className: "ct-stack" }, e.children.map((o, r) => G(Qp, { key: r, node: o, onAction: t }))); + if (e.type === "Button") return G(se, { disabled: e.disabled, onClick: () => t?.({ type: "action", action: e.action }) }, e.label); + if (e.type === "ActionCard") { + let { type: o, action: r, itemId: n, icon: s, ...a } = e; + return G(Jp, { ...a, symbol: s, onclick: () => t?.({ type: "action", action: r, ...n ? { id: n } : {} }) }); + } + throw new RangeError(`Unsupported canvas view node: ${e.type}`); +} +function Y2({ body: e, onAction: t }) { + return G(re.default.Fragment, null, e.map((o, r) => G(Qp, { key: `${o.type}:${r}`, node: o, onAction: t }))); +} +function CU(e, t, o) { + let r = Yp.get(e); + if (r && !r.mount.disposed) return r.mount.update({ body: t.body, onAction: o }), r.handle; + On(e); + let n = Ii(e, Y2, { body: t.body, onAction: o }), s = { render: (a) => n.update({ body: a.body }), dispose: () => n.dispose() }; + return Yp.set(e, { mount: n, handle: s }), s; +} +function X2({ ids: e, labels: t, placeholder: o, list: r, required: n = false, readOnly: s = false, disabled: a = false, browseDisabled: i = false, primaryDisabled: l = false, editDisabled: c = false, hint: u = "", error: m = "", errorSlot: h = false, onInput: d, onPaste: f, onBrowse: g, onPrimary: y, onEdit: x }) { + let v = (0, re.useRef)(false), C = e.hint ?? `${e.input}-hint`, b = e.error ?? `${e.input}-error`; + return G("div", { className: "ct-folder-field", "data-kit-node": "FolderField" }, G($o, { label: { children: t.folder, htmlFor: e.input }, required: n }, e.edit ? G(se, { id: e.edit, appearance: "subtle", hidden: !s, disabled: a || c, "aria-controls": e.input, "aria-expanded": !s, onClick: x }, t.edit) : null, G("div", { className: "ct-folder-controls" }, G(ko, { id: e.input, placeholder: o, list: r, required: n, readOnly: s, disabled: a, onInput: d, onPaste: f, "aria-invalid": m ? true : void 0, "aria-describedby": [u && C, m && b].filter(Boolean).join(" ") || void 0, onFocus: (_) => { + _.target.select(), v.current = true; + }, onPointerUp: (_) => { + v.current && (_.preventDefault(), _.target.select(), v.current = false); + }, onBlur: () => { + v.current = false; + } }), G(ac, { hidden: s && !e.primary }, G(se, { id: e.browse, hidden: s, disabled: a || i, "aria-controls": e.browser, onClick: g }, t.browse), e.primary ? G(se, { id: e.primary, appearance: "primary", disabled: a || l, onClick: y }, t.primary) : null))), G("p", { id: C, className: "ct-muted", hidden: !u }, u), G(h ? "div" : "p", { id: b, role: h ? void 0 : "alert", "aria-atomic": true, hidden: !m }, h ? void 0 : m)); +} +function TU(e) { + let t = Vn(X2, e); + return { ...t, focus: () => t.element.querySelector("input").focus() }; +} +function J2({ group: e, menuRevision: t }) { + let [o, r] = (0, re.useState)(false); + return (0, re.useEffect)(() => { + r(false); + }, [t]), G(Bn, { open: o, onOpenChange: (n, s) => r(s.open), label: e.label, button: { id: e.id, title: e.title, appearance: "subtle" }, popover: { id: `${e.id}-menu` }, menu: { "aria-label": e.label } }, e.actions.map((n) => G(sc, { key: n.id, id: n.id, disabled: n.disabled, onClick: n.onClick }, G("span", null, n.label, n.description ? G("span", { className: "ct-palette-description" }, n.description) : null)))); +} +function Q2({ ids: e, labels: t, docsHref: o, languages: r, locale: n, onLocaleChange: s, onFeedback: a, version: i, actions: l = [], actionGroups: c = [], menuRevision: u }) { + let m = (0, re.useRef)(false), h = (0, re.useRef)(true), [d, f] = (0, re.useState)(false), [g, y] = (0, re.useState)(false), [x, v] = (0, re.useState)(""); + (0, re.useEffect)(() => (h.current = true, () => { + h.current = false; + }), []), (0, re.useEffect)(() => { + f(false); + }, [u]); + let C = async (b) => { + if (!m.current) { + m.current = true, y(true), v(""); + try { + await s(b), h.current && f(false); + } catch (_) { + h.current && v(_ instanceof Error ? _.message : String(_)); + } finally { + m.current = false, h.current && y(false); + } + } + }; + return G(Wp, { "aria-label": t.footer, version: i ? `v${i}` : void 0, links: G(re.default.Fragment, null, G(se, { id: e.feedback, appearance: "subtle", onClick: a }, t.feedback), G("a", { href: o, target: "_blank", rel: "noopener noreferrer" }, t.docs)), language: G(Bn, { open: d, onOpenChange: (b, _) => { + m.current || f(_.open); + }, label: t.translate, button: { id: e.localeTrigger ?? (e.locale ? `${e.locale}-trigger` : void 0), "data-metric-id": e.locale, appearance: "subtle" }, menu: { id: e.locale, "aria-label": t.languages, "aria-busy": g } }, G(Up, null, t.languages), r.map((b) => G(sc, { key: b.code, lang: b.code, "data-locale": b.code, disabled: g, persistOnClick: true, "aria-current": n === b.code ? "true" : void 0, icon: n === b.code ? G(Po, { name: "success", size: 16 }) : void 0, onClick: () => { + C(b.code); + } }, b.name)), x ? G(yi, { intent: "error" }, x) : null) }, l.map((b) => G(se, { key: b.id, id: b.id, disabled: b.disabled, appearance: "subtle", title: b.title, onClick: b.onClick }, b.label)), c.map((b) => G(J2, { key: b.id, group: b, menuRevision: u }))); +} +function yU(e) { + let t = Vn(Q2, e); + t.element.className = "canvas-footer-host workbench-footer"; + let o = 0; + return { ...t, setLocale: (r) => t.update({ locale: r }), setVersion: (r) => t.update({ version: r }), dismissMenus: () => t.update({ menuRevision: ++o }) }; +} +function eb({ receipt: e = 0, title: t, detail: o, dismissLabel: r, source: n }) { + let [s, a] = (0, re.useState)(0), [i, l] = (0, re.useState)(false), [c, u] = (0, re.useState)(false), [m, h] = (0, re.useState)("bottom"), d = (0, re.useRef)(null), f = (0, re.useRef)(null), g = e > s, y = () => { + let x = d.current?.contains(document.activeElement); + a(e), x && (f.current?.isConnected ? f.current : n?.())?.focus(); + }; + return (0, re.useLayoutEffect)(() => { + if (!g) return; + let x = () => { + let C = n?.(), b = d.current; + if (!C?.isConnected || !b) { + h("bottom"); + return; + } + let _ = b.dataset.placement; + b.dataset.placement = "bottom"; + let I = b.getBoundingClientRect(), L = C.getBoundingClientRect(); + b.dataset.placement = _, h(I.left < L.right && I.right > L.left && I.top < L.bottom && I.bottom > L.top ? "top" : "bottom"); + }; + x(); + let v = new ResizeObserver(x); + return v.observe(d.current), v.observe(document.body), globalThis.addEventListener("resize", x), document.addEventListener("scroll", x, true), () => { + v.disconnect(), globalThis.removeEventListener("resize", x), document.removeEventListener("scroll", x, true); + }; + }, [g, n]), (0, re.useEffect)(() => { + if (g || (l(false), u(false), f.current = null), !g || i || c) return; + let x = setTimeout(() => a(e), 8e3); + return () => clearTimeout(x); + }, [e, g, i, c]), (0, re.useEffect)(() => { + if (!g) return; + let x = (v) => { + v.key === "Escape" && !v.defaultPrevented && (v.preventDefault(), y()); + }; + return document.addEventListener("keydown", x), () => document.removeEventListener("keydown", x); + }), G("div", { ref: d, className: "ct-toast", hidden: !g, "data-placement": m, onMouseEnter: () => l(true), onMouseLeave: () => l(false), onFocus: (x) => { + x.currentTarget.contains(x.relatedTarget) || (f.current = x.relatedTarget), u(true); + }, onBlur: (x) => { + x.currentTarget.contains(x.relatedTarget) || u(false); + } }, g ? G(yi, { key: e, title: t, "data-canvas-host-toast": "", "aria-live": "polite", "aria-atomic": true, actions: G(se, { appearance: "subtle", "aria-label": r, onClick: y }, "\xD7") }, o ? G("p", null, o) : null) : null); +} +function SU() { + let e = Vn(eb, { receipt: 0 }), t = 0; + return document.body.append(e.element), { update: e.update, show: (o) => e.update({ ...o, receipt: ++t }), clear: () => e.update({ receipt: 0 }), dispose: () => { + e.dispose(), e.element.remove(); + } }; +} +var Hn = T(S(), 1); +var export_Fragment = Hn.Fragment; +var export_createElement = Hn.createElement; +var export_useEffect = Hn.useEffect; +var export_useRef = Hn.useRef; +var export_useState = Hn.useState; +export { + zp as ActionCard, + ac as ActionGroup, + Z2 as ActionToolbar, + lZ as Badge, + zZ as Blankslate, + se as Button, + Wp as CanvasFooter, + ZZ as CanvasHeader, + Hp as CanvasProvider, + UZ as CanvasShell, + sZ as Checkbox, + DZ as CheckboxGroup, + j2 as ChoiceGroup, + W2 as CodeBlock, + VZ as CommandPalette, + cZ as Counter, + WZ as DetailPanel, + BZ as Dialog, + RZ as DialogActions, + IZ as DialogBody, + MZ as DialogContent, + jp as DialogSurface, + Kp as DialogTitle, + SZ as DialogTrigger, + K2 as Disclosure, + $2 as DomContent, + dZ as FilterPill, + KZ as FilterToolbar, + $o as FormField, + export_Fragment as Fragment, + eb as HostMessageToast, + eU as InlineEditor, + EZ as InputWithAction, + XZ as KeyValueList, + $Z as ListDetail, + Bn as MenuButton, + xZ as MenuDivider, + vZ as MenuGroup, + Up as MenuGroupHeader, + sc as MenuItem, + yi as MessageBar, + JZ as MetadataList, + GZ as NavigationControls, + bZ as Option, + YZ as OutputPanel, + pZ as Popover, + yZ as PopoverSurface, + TZ as PopoverTrigger, + jZ as ProductNavigation, + Gp as ProgressBar, + $p as PromptComposer, + hZ as Radio, + NZ as RadioGroup, + z2 as ResizeHandle, + HZ as SectionHeader, + iZ as Select, + OZ as SelectPanel, + mZ as Skeleton, + fZ as SkeletonItem, + Ti as Spinner, + LZ as SplitButton, + qZ as SplitPane, + aZ as Switch, + Po as SymbolIcon, + QZ as Table, + kZ as TableBody, + wZ as TableCell, + _Z as TableHeader, + PZ as TableHeaderCell, + AZ as TableRow, + FZ as Tabs, + uZ as Tag, + ko as TextInput, + G2 as Textarea, + U2 as ToolbarButton, + CZ as ToolbarDivider, + gZ as ToolbarToggleButton, + Zp as Tooltip, + hU as actionCard, + yU as appFooter, + iU as bindActionGroup, + lU as bindDetailPanel, + cU as bindInlineEditor, + uU as bindProductNavigation, + aU as bindPromptComposer, + export_createElement as createElement, + dU as createNavigation, + On as dispose, + TU as folderField, + SU as hostMessageToast, + vU as icon, + Ii as mountCanvasComponent, + gU as promptComposer, + CU as renderView, + nU as replaceChildren, + xU as updateActionCard, + export_useEffect as useEffect, + export_useRef as useRef, + export_useState as useState +}; diff --git a/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/fluent.mjs b/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/fluent.mjs new file mode 100644 index 0000000..db35a6a --- /dev/null +++ b/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/fluent.mjs @@ -0,0 +1,2 @@ +// packages/canvas-toolkit/src/ui/browser/fluent.mjs +export * from "./base.mjs"; diff --git a/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/react-runtime.mjs b/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/react-runtime.mjs new file mode 100644 index 0000000..76b5027 --- /dev/null +++ b/canvases/azure-resources-query/com.github.copilot/extensions/azure-resources-query/assets/toolkit/ui/browser/react-runtime.mjs @@ -0,0 +1,8351 @@ +// packages/canvas-toolkit/src/ui/browser/react-runtime.mjs +var ad = Object.create; +var Hf = Object.defineProperty; +var nd = Object.getOwnPropertyDescriptor; +var ed = Object.getOwnPropertyNames; +var fd = Object.getPrototypeOf; +var cd = Object.prototype.hasOwnProperty; +var Qt = (l, t) => () => (t || l((t = { exports: {} }).exports, t), t.exports); +var YS = (l, t) => { + for (var u in t) Hf(l, u, { get: t[u], enumerable: true }); +}; +var Cf = (l, t, u, a) => { + if (t && typeof t == "object" || typeof t == "function") for (let n of ed(t)) !cd.call(l, n) && n !== u && Hf(l, n, { get: () => t[n], enumerable: !(a = nd(t, n)) || a.enumerable }); + return l; +}; +var BS = (l, t, u) => (Cf(l, t, "default"), u && Cf(u, t, "default")); +var qS = (l, t, u) => (u = l != null ? ad(fd(l)) : {}, Cf(t || !l || !l.__esModule ? Hf(u, "default", { value: l, enumerable: true }) : u, l)); +var w0 = Qt((N) => { + "use strict"; + var Yf = Symbol.for("react.transitional.element"), id = Symbol.for("react.portal"), vd = Symbol.for("react.fragment"), yd = Symbol.for("react.strict_mode"), od = Symbol.for("react.profiler"), md = Symbol.for("react.consumer"), dd = Symbol.for("react.context"), hd = Symbol.for("react.forward_ref"), gd = Symbol.for("react.suspense"), Sd = Symbol.for("react.memo"), V0 = Symbol.for("react.lazy"), Td = Symbol.for("react.activity"), Ed = Symbol.for("react.view_transition"), q0 = Symbol.iterator; + function sd(l) { + return l === null || typeof l != "object" ? null : (l = q0 && l[q0] || l["@@iterator"], typeof l == "function" ? l : null); + } + var Z0 = { isMounted: function() { + return false; + }, enqueueForceUpdate: function() { + }, enqueueReplaceState: function() { + }, enqueueSetState: function() { + } }, j0 = Object.assign, x0 = {}; + function xu(l, t, u) { + this.props = l, this.context = t, this.refs = x0, this.updater = u || Z0; + } + xu.prototype.isReactComponent = {}; + xu.prototype.setState = function(l, t) { + if (typeof l != "object" && typeof l != "function" && l != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables."); + this.updater.enqueueSetState(this, l, t, "setState"); + }; + xu.prototype.forceUpdate = function(l) { + this.updater.enqueueForceUpdate(this, l, "forceUpdate"); + }; + function L0() { + } + L0.prototype = xu.prototype; + function Bf(l, t, u) { + this.props = l, this.context = t, this.refs = x0, this.updater = u || Z0; + } + var qf = Bf.prototype = new L0(); + qf.constructor = Bf; + j0(qf, xu.prototype); + qf.isPureReactComponent = true; + var G0 = Array.isArray; + function Rf() { + } + var K = { H: null, A: null, T: null, S: null }, K0 = Object.prototype.hasOwnProperty; + function Gf(l, t, u) { + var a = u.ref; + return { $$typeof: Yf, type: l, key: t, ref: a !== void 0 ? a : null, props: u }; + } + function zd(l, t) { + return Gf(l.type, t, l.props); + } + function Xf(l) { + return typeof l == "object" && l !== null && l.$$typeof === Yf; + } + function bd(l) { + var t = { "=": "=0", ":": "=2" }; + return "$" + l.replace(/[=:]/g, function(u) { + return t[u]; + }); + } + var X0 = /\/+/g; + function rf(l, t) { + return typeof l == "object" && l !== null && l.key != null ? bd("" + l.key) : t.toString(36); + } + function Od(l) { + switch (l.status) { + case "fulfilled": + return l.value; + case "rejected": + throw l.reason; + default: + switch (typeof l.status == "string" ? l.then(Rf, Rf) : (l.status = "pending", l.then(function(t) { + l.status === "pending" && (l.status = "fulfilled", l.value = t); + }, function(t) { + l.status === "pending" && (l.status = "rejected", l.reason = t); + })), l.status) { + case "fulfilled": + return l.value; + case "rejected": + throw l.reason; + } + } + throw l; + } + function ju(l, t, u, a, n) { + var e = typeof l; + (e === "undefined" || e === "boolean") && (l = null); + var f = false; + if (l === null) f = true; + else switch (e) { + case "bigint": + case "string": + case "number": + f = true; + break; + case "object": + switch (l.$$typeof) { + case Yf: + case id: + f = true; + break; + case V0: + return f = l._init, ju(f(l._payload), t, u, a, n); + } + } + if (f) return n = n(l), f = a === "" ? "." + rf(l, 0) : a, G0(n) ? (u = "", f != null && (u = f.replace(X0, "$&/") + "/"), ju(n, t, u, "", function(y) { + return y; + })) : n != null && (Xf(n) && (n = zd(n, u + (n.key == null || l && l.key === n.key ? "" : ("" + n.key).replace(X0, "$&/") + "/") + f)), t.push(n)), 1; + f = 0; + var c = a === "" ? "." : a + ":"; + if (G0(l)) for (var i = 0; i < l.length; i++) a = l[i], e = c + rf(a, i), f += ju(a, t, u, e, n); + else if (i = sd(l), typeof i == "function") for (l = i.call(l), i = 0; !(a = l.next()).done; ) a = a.value, e = c + rf(a, i++), f += ju(a, t, u, e, n); + else if (e === "object") { + if (typeof l.then == "function") return ju(Od(l), t, u, a, n); + throw t = String(l), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(l).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead."); + } + return f; + } + function xn(l, t, u) { + if (l == null) return l; + var a = [], n = 0; + return ju(l, a, "", "", function(e) { + return t.call(u, e, n++); + }), a; + } + function _d(l) { + if (l._status === -1) { + var t = l._result, u = t(); + u.then(function(a) { + (l._status === 0 || l._status === -1) && (l._status = 1, l._result = a, u.status === void 0 && (u.status = "fulfilled", u.value = a)); + }, function(a) { + (l._status === 0 || l._status === -1) && (l._status = 2, l._result = a, u.status === void 0 && (u.status = "rejected", u.reason = a)); + }), l._status === -1 && (l._status = 0, l._result = u); + } + if (l._status === 1) return l._result.default; + throw l._result; + } + var Q0 = typeof reportError == "function" ? reportError : function(l) { + if (typeof window == "object" && typeof window.ErrorEvent == "function") { + var t = new window.ErrorEvent("error", { bubbles: true, cancelable: true, message: typeof l == "object" && l !== null && typeof l.message == "string" ? String(l.message) : String(l), error: l }); + if (!window.dispatchEvent(t)) return; + } else if (typeof process == "object" && typeof process.emit == "function") { + process.emit("uncaughtException", l); + return; + } + console.error(l); + }; + function p0(l) { + var t = K.T, u = {}; + u.types = t !== null ? t.types : null, K.T = u; + try { + var a = l(), n = K.S; + n !== null && n(u, a), typeof a == "object" && a !== null && typeof a.then == "function" && a.then(Rf, Q0); + } catch (e) { + Q0(e); + } finally { + t !== null && u.types !== null && (t.types = u.types), K.T = t; + } + } + function J0(l) { + var t = K.T; + if (t !== null) { + var u = t.types; + u === null ? t.types = [l] : u.indexOf(l) === -1 && u.push(l); + } else p0(J0.bind(null, l)); + } + var Ad = { map: xn, forEach: function(l, t, u) { + xn(l, function() { + t.apply(this, arguments); + }, u); + }, count: function(l) { + var t = 0; + return xn(l, function() { + t++; + }), t; + }, toArray: function(l) { + return xn(l, function(t) { + return t; + }) || []; + }, only: function(l) { + if (!Xf(l)) throw Error("React.Children.only expected to receive a single React element child."); + return l; + } }; + N.Activity = Td; + N.Children = Ad; + N.Component = xu; + N.Fragment = vd; + N.Profiler = od; + N.PureComponent = Bf; + N.StrictMode = yd; + N.Suspense = gd; + N.ViewTransition = Ed; + N.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = K; + N.__COMPILER_RUNTIME = { __proto__: null, c: function(l) { + return K.H.useMemoCache(l); + } }; + N.addTransitionType = J0; + N.cache = function(l) { + return function() { + return l.apply(null, arguments); + }; + }; + N.cacheSignal = function() { + return null; + }; + N.cloneElement = function(l, t, u) { + if (l == null) throw Error("The argument must be a React element, but you passed " + l + "."); + var a = j0({}, l.props), n = l.key; + if (t != null) for (e in t.key !== void 0 && (n = "" + t.key), t) !K0.call(t, e) || e === "key" || e === "__self" || e === "__source" || e === "ref" && t.ref === void 0 || (a[e] = t[e]); + var e = arguments.length - 2; + if (e === 1) a.children = u; + else if (1 < e) { + for (var f = Array(e), c = 0; c < e; c++) f[c] = arguments[c + 2]; + a.children = f; + } + return Gf(l.type, n, a); + }; + N.createContext = function(l) { + return l = { $$typeof: dd, _currentValue: l, _currentValue2: l, _threadCount: 0, Provider: null, Consumer: null }, l.Provider = l, l.Consumer = { $$typeof: md, _context: l }, l; + }; + N.createElement = function(l, t, u) { + var a, n = {}, e = null; + if (t != null) for (a in t.key !== void 0 && (e = "" + t.key), t) K0.call(t, a) && a !== "key" && a !== "__self" && a !== "__source" && (n[a] = t[a]); + var f = arguments.length - 2; + if (f === 1) n.children = u; + else if (1 < f) { + for (var c = Array(f), i = 0; i < f; i++) c[i] = arguments[i + 2]; + n.children = c; + } + if (l && l.defaultProps) for (a in f = l.defaultProps, f) n[a] === void 0 && (n[a] = f[a]); + return Gf(l, e, n); + }; + N.createRef = function() { + return { current: null }; + }; + N.forwardRef = function(l) { + return { $$typeof: hd, render: l }; + }; + N.isValidElement = Xf; + N.lazy = function(l) { + return { $$typeof: V0, _payload: { _status: -1, _result: l }, _init: _d }; + }; + N.memo = function(l, t) { + return { $$typeof: Sd, type: l, compare: t === void 0 ? null : t }; + }; + N.startTransition = p0; + N.unstable_useCacheRefresh = function() { + return K.H.useCacheRefresh(); + }; + N.use = function(l) { + return K.H.use(l); + }; + N.useActionState = function(l, t, u) { + return K.H.useActionState(l, t, u); + }; + N.useCallback = function(l, t) { + return K.H.useCallback(l, t); + }; + N.useContext = function(l) { + return K.H.useContext(l); + }; + N.useDebugValue = function() { + }; + N.useDeferredValue = function(l, t) { + return K.H.useDeferredValue(l, t); + }; + N.useEffect = function(l, t) { + return K.H.useEffect(l, t); + }; + N.useEffectEvent = function(l) { + return K.H.useEffectEvent(l); + }; + N.useId = function() { + return K.H.useId(); + }; + N.useImperativeHandle = function(l, t, u) { + return K.H.useImperativeHandle(l, t, u); + }; + N.useInsertionEffect = function(l, t) { + return K.H.useInsertionEffect(l, t); + }; + N.useLayoutEffect = function(l, t) { + return K.H.useLayoutEffect(l, t); + }; + N.useMemo = function(l, t) { + return K.H.useMemo(l, t); + }; + N.useOptimistic = function(l, t) { + return K.H.useOptimistic(l, t); + }; + N.useReducer = function(l, t, u) { + return K.H.useReducer(l, t, u); + }; + N.useRef = function(l) { + return K.H.useRef(l); + }; + N.useState = function(l) { + return K.H.useState(l); + }; + N.useSyncExternalStore = function(l, t, u) { + return K.H.useSyncExternalStore(l, t, u); + }; + N.useTransition = function() { + return K.H.useTransition(); + }; + N.version = "19.3.0"; +}); +var Qf = Qt((QS, W0) => { + "use strict"; + W0.exports = w0(); +}); +var I0 = Qt((El) => { + "use strict"; + var Nd = Qf(); + function $0(l) { + var t = "https://react.dev/errors/" + l; + if (1 < arguments.length) { + t += "?args[]=" + encodeURIComponent(arguments[1]); + for (var u = 2; u < arguments.length; u++) t += "&args[]=" + encodeURIComponent(arguments[u]); + } + return "Minified React error #" + l + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; + } + function Vt() { + } + var bl = { d: { f: Vt, r: function() { + throw Error($0(522)); + }, D: Vt, C: Vt, L: Vt, m: Vt, X: Vt, S: Vt, M: Vt }, p: 0, findDOMNode: null }, Dd = Symbol.for("react.portal"), Md = Symbol.for("react.recoverable"), F0 = Symbol.for("react.optimistic_key"); + function Ud(l, t, u) { + var a = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null; + return { $$typeof: Dd, key: a == null ? null : a === F0 ? F0 : "" + a, children: l, containerInfo: t, implementation: u }; + } + var Va = Nd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; + function Ln(l, t) { + if (l === "font") return ""; + if (typeof t == "string") return t === "use-credentials" ? t : ""; + } + El.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = bl; + El.browser = function(l) { + return { $$typeof: Md, _reason: l }; + }; + El.createPortal = function(l, t) { + var u = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null; + if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11) throw Error($0(299)); + return Ud(l, t, null, u); + }; + El.flushSync = function(l) { + var t = Va.T, u = bl.p; + try { + if (Va.T = null, bl.p = 2, l) return l(); + } finally { + Va.T = t, bl.p = u, bl.d.f(); + } + }; + El.preconnect = function(l, t) { + typeof l == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, bl.d.C(l, t)); + }; + El.prefetchDNS = function(l) { + typeof l == "string" && bl.d.D(l); + }; + El.preinit = function(l, t) { + if (typeof l == "string" && t && typeof t.as == "string") { + var u = t.as, a = Ln(u, t.crossOrigin), n = typeof t.integrity == "string" ? t.integrity : void 0, e = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0; + u === "style" ? bl.d.S(l, typeof t.precedence == "string" ? t.precedence : void 0, { crossOrigin: a, integrity: n, fetchPriority: e }) : u === "script" && bl.d.X(l, { crossOrigin: a, integrity: n, fetchPriority: e, nonce: typeof t.nonce == "string" ? t.nonce : void 0 }); + } + }; + El.preinitModule = function(l, t) { + if (typeof l == "string") if (typeof t == "object" && t !== null) { + if (t.as == null || t.as === "script") { + var u = Ln(t.as, t.crossOrigin); + bl.d.M(l, { crossOrigin: u, integrity: typeof t.integrity == "string" ? t.integrity : void 0, nonce: typeof t.nonce == "string" ? t.nonce : void 0, fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0 }); + } + } else t == null && bl.d.M(l); + }; + El.preload = function(l, t) { + if (typeof l == "string" && typeof t == "object" && t !== null && typeof t.as == "string") { + var u = t.as, a = Ln(u, t.crossOrigin); + bl.d.L(l, u, { crossOrigin: a, integrity: typeof t.integrity == "string" ? t.integrity : void 0, nonce: typeof t.nonce == "string" ? t.nonce : void 0, type: typeof t.type == "string" ? t.type : void 0, fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0, referrerPolicy: typeof t.referrerPolicy == "string" ? t.referrerPolicy : void 0, imageSrcSet: typeof t.imageSrcSet == "string" ? t.imageSrcSet : void 0, imageSizes: typeof t.imageSizes == "string" ? t.imageSizes : void 0, media: typeof t.media == "string" ? t.media : void 0 }); + } + }; + El.preloadModule = function(l, t) { + if (typeof l == "string") if (t) { + var u = Ln(t.as, t.crossOrigin); + bl.d.m(l, { as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0, crossOrigin: u, integrity: typeof t.integrity == "string" ? t.integrity : void 0, nonce: typeof t.nonce == "string" ? t.nonce : void 0, fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0 }); + } else bl.d.m(l); + }; + El.requestFormReset = function(l) { + bl.d.r(l); + }; + El.unstable_batchedUpdates = function(l, t) { + return l(t); + }; + El.useFormState = function(l, t, u) { + return Va.H.useFormState(l, t, u); + }; + El.useFormStatus = function() { + return Va.H.useHostTransitionStatus(); + }; + El.version = "19.3.0"; +}); +var l1 = Qt((ZS, P0) => { + "use strict"; + function k0() { + if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try { + __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(k0); + } catch (l) { + console.error(l); + } + } + k0(), P0.exports = I0(); +}); +var y1 = Qt((W) => { + "use strict"; + function xf(l, t) { + var u = l.length; + l.push(t); + l: for (; 0 < u; ) { + var a = u - 1 >>> 1, n = l[a]; + if (0 < Kn(n, t)) l[a] = t, l[u] = n, u = a; + else break l; + } + } + function ft(l) { + return l.length === 0 ? null : l[0]; + } + function Jn(l) { + if (l.length === 0) return null; + var t = l[0], u = l.pop(); + if (u !== t) { + l[0] = u; + l: for (var a = 0, n = l.length, e = n >>> 1; a < e; ) { + var f = 2 * (a + 1) - 1, c = l[f], i = f + 1, y = l[i]; + if (0 > Kn(c, u)) i < n && 0 > Kn(y, c) ? (l[a] = y, l[i] = u, a = i) : (l[a] = c, l[f] = u, a = f); + else if (i < n && 0 > Kn(y, u)) l[a] = y, l[i] = u, a = i; + else break l; + } + } + return t; + } + function Kn(l, t) { + var u = l.sortIndex - t.sortIndex; + return u !== 0 ? u : l.id - t.id; + } + W.unstable_now = void 0; + typeof performance == "object" && typeof performance.now == "function" ? (t1 = performance, W.unstable_now = function() { + return t1.now(); + }) : (Vf = Date, u1 = Vf.now(), W.unstable_now = function() { + return Vf.now() - u1; + }); + var t1, Vf, u1, bt = [], Zt = [], Cd = 1, Kl = null, sl = 3, Lf = false, Za = false, ja = false, Kf = false, e1 = typeof setTimeout == "function" ? setTimeout : null, f1 = typeof clearTimeout == "function" ? clearTimeout : null, a1 = typeof setImmediate < "u" ? setImmediate : null; + function pn(l) { + for (var t = ft(Zt); t !== null; ) { + if (t.callback === null) Jn(Zt); + else if (t.startTime <= l) Jn(Zt), t.sortIndex = t.expirationTime, xf(bt, t); + else break; + t = ft(Zt); + } + } + function pf(l) { + if (ja = false, pn(l), !Za) if (ft(bt) !== null) Za = true, Ku || (Ku = true, Lu()); + else { + var t = ft(Zt); + t !== null && Jf(pf, t.startTime - l); + } + } + var Ku = false, xa = -1, c1 = 5, i1 = -1; + function v1() { + return Kf ? true : !(W.unstable_now() - i1 < c1); + } + function Zf() { + if (Kf = false, Ku) { + var l = W.unstable_now(); + i1 = l; + var t = true; + try { + l: { + Za = false, ja && (ja = false, f1(xa), xa = -1), Lf = true; + var u = sl; + try { + t: { + for (pn(l), Kl = ft(bt); Kl !== null && !(Kl.expirationTime > l && v1()); ) { + var a = Kl.callback; + if (typeof a == "function") { + Kl.callback = null, sl = Kl.priorityLevel; + var n = a(Kl.expirationTime <= l); + if (l = W.unstable_now(), typeof n == "function") { + Kl.callback = n, pn(l), t = true; + break t; + } + Kl === ft(bt) && Jn(bt), pn(l); + } else Jn(bt); + Kl = ft(bt); + } + if (Kl !== null) t = true; + else { + var e = ft(Zt); + e !== null && Jf(pf, e.startTime - l), t = false; + } + } + break l; + } finally { + Kl = null, sl = u, Lf = false; + } + t = void 0; + } + } finally { + t ? Lu() : Ku = false; + } + } + } + var Lu; + typeof a1 == "function" ? Lu = function() { + a1(Zf); + } : typeof MessageChannel < "u" ? (jf = new MessageChannel(), n1 = jf.port2, jf.port1.onmessage = Zf, Lu = function() { + n1.postMessage(null); + }) : Lu = function() { + e1(Zf, 0); + }; + var jf, n1; + function Jf(l, t) { + xa = e1(function() { + l(W.unstable_now()); + }, t); + } + W.unstable_IdlePriority = 5; + W.unstable_ImmediatePriority = 1; + W.unstable_LowPriority = 4; + W.unstable_NormalPriority = 3; + W.unstable_Profiling = null; + W.unstable_UserBlockingPriority = 2; + W.unstable_cancelCallback = function(l) { + l.callback = null; + }; + W.unstable_forceFrameRate = function(l) { + 0 > l || 125 < l ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : c1 = 0 < l ? Math.floor(1e3 / l) : 5; + }; + W.unstable_getCurrentPriorityLevel = function() { + return sl; + }; + W.unstable_next = function(l) { + switch (sl) { + case 1: + case 2: + case 3: + var t = 3; + break; + default: + t = sl; + } + var u = sl; + sl = t; + try { + return l(); + } finally { + sl = u; + } + }; + W.unstable_requestPaint = function() { + Kf = true; + }; + W.unstable_runWithPriority = function(l, t) { + switch (l) { + case 1: + case 2: + case 3: + case 4: + case 5: + break; + default: + l = 3; + } + var u = sl; + sl = l; + try { + return t(); + } finally { + sl = u; + } + }; + W.unstable_scheduleCallback = function(l, t, u) { + var a = W.unstable_now(); + switch (typeof u == "object" && u !== null ? (u = u.delay, u = typeof u == "number" && 0 < u ? a + u : a) : u = a, l) { + case 1: + var n = -1; + break; + case 2: + n = 250; + break; + case 5: + n = 1073741823; + break; + case 4: + n = 1e4; + break; + default: + n = 5e3; + } + return n = u + n, l = { id: Cd++, callback: t, priorityLevel: l, startTime: u, expirationTime: n, sortIndex: -1 }, u > a ? (l.sortIndex = u, xf(Zt, l), ft(bt) === null && l === ft(Zt) && (ja ? (f1(xa), xa = -1) : ja = true, Jf(pf, u - a))) : (l.sortIndex = n, xf(bt, l), Za || Lf || (Za = true, Ku || (Ku = true, Lu()))), l; + }; + W.unstable_shouldYield = v1; + W.unstable_wrapCallback = function(l) { + var t = sl; + return function() { + var u = sl; + sl = t; + try { + return l.apply(this, arguments); + } finally { + sl = u; + } + }; + }; +}); +var m1 = Qt((xS, o1) => { + "use strict"; + o1.exports = y1(); +}); +var Pm = Qt((Uf) => { + "use strict"; + var fl = m1(), Iv = Qf(), Hd = l1(); + function E(l) { + var t = "https://react.dev/errors/" + l; + if (1 < arguments.length) { + t += "?args[]=" + encodeURIComponent(arguments[1]); + for (var u = 2; u < arguments.length; u++) t += "&args[]=" + encodeURIComponent(arguments[u]); + } + return "Minified React error #" + l + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; + } + function kv(l) { + return !(!l || l.nodeType !== 1 && l.nodeType !== 9 && l.nodeType !== 11); + } + function Hn(l) { + for (var t = l, u = t; u && !u.alternate; ) t = u, (t.flags & 4098) !== 0 && (l = t.return), u = t.return; + for (; t.return; ) t = t.return; + return t.tag === 3 ? l : null; + } + function Pv(l) { + if (l.tag === 13) { + var t = l.memoizedState; + if (t === null && (l = l.alternate, l !== null && (t = l.memoizedState)), t !== null) return t.dehydrated; + } + return null; + } + function ly(l) { + if (l.tag === 31) { + var t = l.memoizedState; + if (t === null && (l = l.alternate, l !== null && (t = l.memoizedState)), t !== null) return t.dehydrated; + } + return null; + } + function d1(l) { + if (Hn(l) !== l) throw Error(E(188)); + } + function rd(l) { + var t = l.alternate; + if (!t) { + if (t = Hn(l), t === null) throw Error(E(188)); + return t !== l ? null : l; + } + for (var u = l, a = t; ; ) { + var n = u.return; + if (n === null) break; + var e = n.alternate; + if (e === null) { + if (a = n.return, a !== null) { + u = a; + continue; + } + break; + } + if (n.child === e.child) { + for (e = n.child; e; ) { + if (e === u) return d1(n), l; + if (e === a) return d1(n), t; + e = e.sibling; + } + throw Error(E(188)); + } + if (u.return !== a.return) u = n, a = e; + else { + for (var f = false, c = n.child; c; ) { + if (c === u) { + f = true, u = n, a = e; + break; + } + if (c === a) { + f = true, a = n, u = e; + break; + } + c = c.sibling; + } + if (!f) { + for (c = e.child; c; ) { + if (c === u) { + f = true, u = e, a = n; + break; + } + if (c === a) { + f = true, a = e, u = n; + break; + } + c = c.sibling; + } + if (!f) throw Error(E(189)); + } + } + if (u.alternate !== a) throw Error(E(190)); + } + if (u.tag !== 3) throw Error(E(188)); + return u.stateNode.current === u ? l : t; + } + function ty(l) { + var t = l.tag; + if (t === 5 || t === 26 || t === 27 || t === 6) return l; + for (l = l.child; l !== null; ) { + if (t = ty(l), t !== null) return t; + l = l.sibling; + } + return null; + } + function rl(l, t, u, a, n, e) { + for (; l !== null; ) { + if ((l.tag === 5 || l.tag === 27 || l.tag === 6) && u(l, a, n, e) || (l.tag !== 22 || l.memoizedState === null) && (t || l.tag !== 5 && l.tag !== 27) && rl(l.child, t, u, a, n, e)) return true; + l = l.sibling; + } + return false; + } + function Gu(l) { + for (l = l.return; l !== null; ) { + if (l.tag === 3 || l.tag === 5 || l.tag === 27) return l; + l = l.return; + } + return null; + } + function h1(l) { + var t = false; + for (l = l.return; l !== null && (l.tag === 4 && (t = true), !(l.tag === 3 || l.tag === 5 || l.tag === 27)); ) l = l.return; + return t; + } + function uy(l) { + var t = [null, null], u = Gu(l); + return u === null || ay(t, l, u.child, { foundSelf: false }), t; + } + function ay(l, t, u, a) { + for (; u !== null; ) { + if (u === t) a.foundSelf = true; + else if (u.tag === 5 || u.tag === 27 || u.tag === 6) { + if (a.foundSelf) return l[1] = u, true; + l[0] = u; + } else if ((u.tag !== 22 || u.memoizedState === null) && ay(l, t, u.child, a)) return true; + u = u.sibling; + } + return false; + } + function el(l) { + switch (l.tag) { + case 5: + case 27: + case 6: + return l.stateNode; + case 3: + return l.stateNode.containerInfo; + default: + throw Error(E(559)); + } + } + var Iu = null, Ac = null; + function Rd(l, t, u) { + return l === u ? true : l === t ? (Iu = l, true) : false; + } + function Yd(l, t, u) { + return l === u ? (Ac = l, false) : l === t ? (Ac !== null && (Iu = l), true) : false; + } + function g1(l) { + if (l === null) return null; + do + l = l === null ? null : l.return; + while (l && l.tag !== 5 && l.tag !== 27 && l.tag !== 3); + return l || null; + } + function Nc(l, t, u) { + for (var a = 0, n = l; n; n = u(n)) a++; + n = 0; + for (var e = t; e; e = u(e)) n++; + for (; 0 < a - n; ) l = u(l), a--; + for (; 0 < n - a; ) t = u(t), n--; + for (; a--; ) { + if (l === t || t !== null && l === t.alternate) return l; + l = u(l), t = u(t); + } + return null; + } + var L = Object.assign, Bd = Symbol.for("react.element"), wn = Symbol.for("react.transitional.element"), Fa = Symbol.for("react.portal"), ku = Symbol.for("react.fragment"), ny = Symbol.for("react.strict_mode"), Dc = Symbol.for("react.profiler"), ey = Symbol.for("react.consumer"), mt = Symbol.for("react.context"), qi = Symbol.for("react.forward_ref"), Mc = Symbol.for("react.suspense"), Uc = Symbol.for("react.suspense_list"), Gi = Symbol.for("react.memo"), Kt = Symbol.for("react.lazy"); + Symbol.for("react.scope"); + var Cc = Symbol.for("react.activity"), qd = Symbol.for("react.legacy_hidden"); + Symbol.for("react.tracing_marker"); + var Gd = Symbol.for("react.memo_cache_sentinel"), Hc = Symbol.for("react.view_transition"), Xd = Symbol.for("react.recoverable"), S1 = Symbol.iterator; + function La(l) { + return l === null || typeof l != "object" ? null : (l = S1 && l[S1] || l["@@iterator"], typeof l == "function" ? l : null); + } + var Qd = Symbol.for("react.client.reference"); + function rc(l) { + if (l == null) return null; + if (typeof l == "function") return l.$$typeof === Qd ? null : l.displayName || l.name || null; + if (typeof l == "string") return l; + switch (l) { + case ku: + return "Fragment"; + case Dc: + return "Profiler"; + case ny: + return "StrictMode"; + case Mc: + return "Suspense"; + case Uc: + return "SuspenseList"; + case Cc: + return "Activity"; + case Hc: + return "ViewTransition"; + } + if (typeof l == "object") switch (l.$$typeof) { + case Fa: + return "Portal"; + case mt: + return l.displayName || "Context"; + case ey: + return (l._context.displayName || "Context") + ".Consumer"; + case qi: + var t = l.render; + return l = l.displayName, l || (l = t.displayName || t.name || "", l = l !== "" ? "ForwardRef(" + l + ")" : "ForwardRef"), l; + case Gi: + return t = l.displayName || null, t !== null ? t : rc(l.type) || "Memo"; + case Kt: + t = l._payload, l = l._init; + try { + return rc(l(t)); + } catch { + } + } + return null; + } + var $a = Array.isArray, A = Iv.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, G = Hd.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, _u = { pending: false, data: null, method: null, action: null }, Rc = [], Pu = -1; + function st(l) { + return { current: l }; + } + function hl(l) { + 0 > Pu || (l.current = Rc[Pu], Rc[Pu] = null, Pu--); + } + function w(l, t) { + Pu++, Rc[Pu] = l.current, l.current = t; + } + var St = st(null), hn = st(null), Pt = st(null), Ye = st(null); + function Be(l, t) { + switch (w(Pt, t), w(hn, l), w(St, null), t.nodeType) { + case 9: + case 11: + l = (l = t.documentElement) && (l = l.namespaceURI) ? Hv(l) : 0; + break; + default: + if (l = t.tagName, t = t.namespaceURI) t = Hv(t), l = Um(t, l); + else switch (l) { + case "svg": + l = 1; + break; + case "math": + l = 2; + break; + default: + l = 0; + } + } + hl(St), w(St, l); + } + function sa() { + hl(St), hl(hn), hl(Pt); + } + function Yc(l) { + var t = l.memoizedState; + t !== null && (Ca._currentValue = t.memoizedState, w(Ye, l)), t = St.current; + var u = Um(t, l.type); + t !== u && (w(hn, l), w(St, u)); + } + function qe(l) { + hn.current === l && (hl(St), hl(hn)), Ye.current === l && (hl(Ye), Ca._currentValue = _u); + } + var wf, T1; + function xt(l) { + if (wf === void 0) try { + throw Error(); + } catch (u) { + var t = u.stack.trim().match(/\n( *(at )?)/); + wf = t && t[1] || "", T1 = -1 < u.stack.indexOf(` + at`) ? " ()" : -1 < u.stack.indexOf("@") ? "@unknown:0:0" : ""; + } + return ` +` + wf + l + T1; + } + var Wf = false; + function Ff(l, t) { + if (!l || Wf) return ""; + Wf = true; + var u = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + try { + var a = { DetermineComponentFrameRoot: function() { + try { + if (t) { + var T = function() { + throw Error(); + }; + if (Object.defineProperty(T.prototype, "props", { set: function() { + throw Error(); + } }), typeof Reflect == "object" && Reflect.construct) { + try { + Reflect.construct(T, []); + } catch (s) { + var o = s; + } + Reflect.construct(l, [], T); + } else { + try { + T.call(); + } catch (s) { + o = s; + } + T = false; + try { + var h = Object.getOwnPropertyDescriptor(l.prototype, "props"); + Object.defineProperty(l.prototype, "props", { configurable: true, set: function() { + throw Error(); + } }), T = true, new l(); + } finally { + T && (h !== void 0 ? Object.defineProperty(l.prototype, "props", h) : delete l.prototype.props); + } + } + } else { + try { + throw Error(); + } catch (s) { + o = s; + } + (T = l()) && typeof T.catch == "function" && T.catch(function() { + }); + } + } catch (s) { + if (s && o && typeof s.stack == "string") return [s.stack, o.stack]; + } + return [null, null]; + } }; + a.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; + var n = Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot, "name"); + n && n.configurable && Object.defineProperty(a.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" }); + var e = a.DetermineComponentFrameRoot(), f = e[0], c = e[1]; + if (f && c) { + var i = f.split(` +`), y = c.split(` +`); + for (n = a = 0; a < i.length && !i[a].includes("DetermineComponentFrameRoot"); ) a++; + for (; n < y.length && !y[n].includes("DetermineComponentFrameRoot"); ) n++; + if (a === i.length || n === y.length) for (a = i.length - 1, n = y.length - 1; 1 <= a && 0 <= n && i[a] !== y[n]; ) n--; + for (; 1 <= a && 0 <= n; a--, n--) if (i[a] !== y[n]) { + if (a !== 1 || n !== 1) do + if (a--, n--, 0 > n || i[a] !== y[n]) { + var g = ` +` + i[a].replace(" at new ", " at "); + return l.displayName && g.includes("") && (g = g.replace("", l.displayName)), g; + } + while (1 <= a && 0 <= n); + break; + } + } + } finally { + Wf = false, Error.prepareStackTrace = u; + } + return (u = l ? l.displayName || l.name : "") ? xt(u) : ""; + } + function Vd(l, t) { + switch (l.tag) { + case 26: + case 27: + case 5: + return xt(l.type); + case 16: + return xt("Lazy"); + case 13: + return l.child !== t && t !== null ? xt("Suspense Fallback") : xt("Suspense"); + case 19: + return xt("SuspenseList"); + case 0: + case 15: + return Ff(l.type, false); + case 11: + return Ff(l.type.render, false); + case 1: + return Ff(l.type, true); + case 31: + return xt("Activity"); + case 30: + return xt("ViewTransition"); + default: + return ""; + } + } + function E1(l) { + try { + var t = "", u = null; + do + t += Vd(l, u), u = l, l = l.return; + while (l); + return t; + } catch (a) { + return ` +Error generating stack: ` + a.message + ` +` + a.stack; + } + } + var Bc = Object.prototype.hasOwnProperty, Xi = fl.unstable_scheduleCallback, $f = fl.unstable_cancelCallback, Zd = fl.unstable_shouldYield, jd = fl.unstable_requestPaint, Ql = fl.unstable_now, xd = fl.unstable_getCurrentPriorityLevel, fy = fl.unstable_ImmediatePriority, cy = fl.unstable_UserBlockingPriority, Ge = fl.unstable_NormalPriority, Ld = fl.unstable_LowPriority, iy = fl.unstable_IdlePriority, Kd = fl.log, pd = fl.unstable_setDisableYieldValue, rn = null, Vl = null; + function wt(l) { + if (typeof Kd == "function" && pd(l), Vl && typeof Vl.setStrictMode == "function") try { + Vl.setStrictMode(rn, l); + } catch { + } + } + var Zl = Math.clz32 ? Math.clz32 : Wd, Jd = Math.log, wd = Math.LN2; + function Wd(l) { + return l >>>= 0, l === 0 ? 32 : 31 - (Jd(l) / wd | 0) | 0; + } + var Wn = 256, Fn = 262144, $n = 4194304; + function Eu(l) { + var t = l & 42; + if (t !== 0) return t; + switch (l & -l) { + 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: + return 128; + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + return l & -l; + case 262144: + case 524288: + case 1048576: + case 2097152: + return l & 3932160; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + return l & 62914560; + case 67108864: + return 67108864; + case 134217728: + return 134217728; + case 268435456: + return 268435456; + case 536870912: + return 536870912; + case 1073741824: + return 0; + default: + return l; + } + } + function vf(l, t, u) { + var a = l.pendingLanes; + if (a === 0) return 0; + var n = 0, e = l.suspendedLanes, f = l.pingedLanes; + l = l.warmLanes; + var c = a & 134217727; + return c !== 0 ? (a = c & ~e, a !== 0 ? n = Eu(a) : (f &= c, f !== 0 ? n = Eu(f) : u || (u = c & ~l, u !== 0 && (n = Eu(u))))) : (c = a & ~e, c !== 0 ? n = Eu(c) : f !== 0 ? n = Eu(f) : u || (u = a & ~l, u !== 0 && (n = Eu(u)))), n === 0 ? 0 : t !== 0 && t !== n && (t & e) === 0 && (e = n & -n, u = t & -t, e >= u || e === 32 && (u & 4194048) !== 0) ? t : n; + } + function Rn(l, t) { + return (l.pendingLanes & ~(l.suspendedLanes & ~l.pingedLanes) & t) === 0; + } + function vy(l, t) { + (t & 8) !== 0 && (t |= t & 32); + var u = l.entangledLanes; + if (u !== 0) for (l = l.entanglements, u &= t; 0 < u; ) { + var a = 31 - Zl(u), n = 1 << a; + t |= l[a], u &= ~n; + } + return t; + } + function Fd(l, t) { + switch (l) { + case 1: + case 2: + case 4: + case 8: + case 64: + return t + 250; + case 16: + case 32: + 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 t + 5e3; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + return -1; + case 67108864: + case 134217728: + case 268435456: + case 536870912: + case 1073741824: + return -1; + default: + return -1; + } + } + function yy() { + var l = $n; + return $n <<= 1, ($n & 62914560) === 0 && ($n = 4194304), l; + } + function If(l) { + for (var t = [], u = 0; 31 > u; u++) t.push(l); + return t; + } + function Yn(l, t) { + l.pendingLanes |= t, t !== 268435456 && (l.suspendedLanes = 0, l.pingedLanes = 0, l.warmLanes = 0); + } + function $d(l, t, u, a, n, e) { + var f = l.pendingLanes; + l.pendingLanes = u, l.suspendedLanes = 0, l.pingedLanes = 0, l.warmLanes = 0, l.expiredLanes &= u, l.entangledLanes &= u, l.errorRecoveryDisabledLanes &= u, l.shellSuspendCounter = 0; + var c = l.entanglements, i = l.expirationTimes, y = l.hiddenUpdates; + for (u = f & ~u; 0 < u; ) { + var g = 31 - Zl(u), T = 1 << g; + c[g] = 0, i[g] = -1; + var o = y[g]; + if (o !== null) for (y[g] = null, g = 0; g < o.length; g++) { + var h = o[g]; + h !== null && (h.lane &= -536870913); + } + u &= ~T; + } + a !== 0 && oy(l, a, 0), e !== 0 && n === 0 && l.tag !== 0 && (l.suspendedLanes |= e & ~(f & ~t)); + } + function oy(l, t, u) { + l.pendingLanes |= t, l.suspendedLanes &= ~t; + var a = 31 - Zl(t); + l.entangledLanes |= t, l.entanglements[a] = l.entanglements[a] | 1073741824 | u & 261930; + } + function my(l, t) { + var u = l.entangledLanes |= t; + for (l = l.entanglements; u; ) { + var a = 31 - Zl(u), n = 1 << a; + n & t | l[a] & t && (l[a] |= t), u &= ~n; + } + } + function dy(l, t) { + var u = t & -t; + return u = (u & 42) !== 0 ? 1 : Qi(u), (u & (l.suspendedLanes | t)) !== 0 ? 0 : u; + } + function Qi(l) { + switch (l) { + case 2: + l = 1; + break; + case 8: + l = 4; + break; + case 32: + l = 16; + break; + 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 = 128; + break; + case 268435456: + l = 134217728; + break; + default: + l = 0; + } + return l; + } + function Vi(l) { + return l &= -l, 2 < l ? 8 < l ? (l & 134217727) !== 0 ? 32 : 268435456 : 8 : 2; + } + function hy() { + var l = G.p; + return l !== 0 ? l : (l = window.event, l === void 0 ? 32 : $m(l.type)); + } + function s1(l, t) { + var u = G.p; + try { + return G.p = l, t(); + } finally { + G.p = u; + } + } + var Bt = Math.random().toString(36).slice(2), ml = "__reactFiber$" + Bt, Rl = "__reactProps$" + Bt, Ra = "__reactContainer$" + Bt, z1 = "__reactEvents$" + Bt, Id = "__reactListeners$" + Bt, kd = "__reactHandles$" + Bt, b1 = "__reactResources$" + Bt, Bn = "__reactMarker$" + Bt, Xe = "__reactLoad$" + Bt; + function yf(l) { + delete l[ml], delete l[Rl], delete l[Id], delete l[kd]; + } + function bu(l) { + var t; + if (t = l[ml]) return t; + for (var u = l.parentNode; u; ) { + if (t = u[Ra] || u[ml]) { + if (u = t.alternate, t.child !== null || u !== null && u.child !== null) for (l = Qv(l); l !== null; ) { + if (u = l[ml]) return u; + l = Qv(l); + } + return t; + } + l = u, u = l.parentNode; + } + return null; + } + function Ya(l) { + if (l = l[ml] || l[Ra]) { + var t = l.tag; + if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return l; + } + return null; + } + function Ia(l) { + var t = l.tag; + if (t === 5 || t === 26 || t === 27 || t === 6) return l.stateNode; + throw Error(E(33)); + } + function va(l) { + var t = l[b1]; + return t || (t = l[b1] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), t; + } + function vl(l) { + l[Bn] = true; + } + function gy(l) { + l[Xe] = void 0; + } + var Sy = /* @__PURE__ */ new Set(), Ty = {}; + function Xu(l, t) { + za(l, t), za(l + "Capture", t); + } + function za(l, t) { + for (Ty[l] = t, l = 0; l < t.length; l++) Sy.add(t[l]); + } + var Pd = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), O1 = {}, _1 = {}; + function lh(l) { + return Bc.call(_1, l) ? true : Bc.call(O1, l) ? false : Pd.test(l) ? _1[l] = true : (O1[l] = true, false); + } + var B = false; + function A1() { + var l = B; + return B = false, l; + } + function he(l, t, u) { + if (lh(t)) if (u === null) l.removeAttribute(t); + else { + switch (typeof u) { + case "undefined": + case "function": + case "symbol": + l.removeAttribute(t); + return; + case "boolean": + var a = t.toLowerCase().slice(0, 5); + if (a !== "data-" && a !== "aria-") { + l.removeAttribute(t); + return; + } + } + l.setAttribute(t, u); + } + } + function In(l, t, u) { + if (u === null) l.removeAttribute(t); + else { + switch (typeof u) { + case "undefined": + case "function": + case "symbol": + case "boolean": + l.removeAttribute(t); + return; + } + l.setAttribute(t, u); + } + } + function Ot(l, t, u, a) { + if (a === null) l.removeAttribute(u); + else { + switch (typeof a) { + case "undefined": + case "function": + case "symbol": + case "boolean": + l.removeAttribute(u); + return; + } + l.setAttributeNS(t, u, a); + } + } + function Bl(l) { + switch (typeof l) { + case "bigint": + case "boolean": + case "number": + case "string": + case "undefined": + return l; + case "object": + return l; + default: + return ""; + } + } + function Ey(l) { + var t = l.type; + return (l = l.nodeName) && l.toLowerCase() === "input" && (t === "checkbox" || t === "radio"); + } + function th(l, t, u) { + var a = Object.getOwnPropertyDescriptor(l.constructor.prototype, t); + if (!l.hasOwnProperty(t) && typeof a < "u" && typeof a.get == "function" && typeof a.set == "function") { + var n = a.get, e = a.set; + return Object.defineProperty(l, t, { configurable: true, get: function() { + return n.call(this); + }, set: function(f) { + u = "" + f, e.call(this, f); + } }), Object.defineProperty(l, t, { enumerable: a.enumerable }), { getValue: function() { + return u; + }, setValue: function(f) { + u = "" + f; + }, stopTracking: function() { + l._valueTracker = null, delete l[t]; + } }; + } + } + function qc(l) { + if (!l._valueTracker) { + var t = Ey(l) ? "checked" : "value"; + l._valueTracker = th(l, t, "" + l[t]); + } + } + function sy(l) { + if (!l) return false; + var t = l._valueTracker; + if (!t) return true; + var u = t.getValue(), a = ""; + return l && (a = Ey(l) ? l.checked ? "true" : "false" : l.value), l = a, l !== u ? (t.setValue(l), true) : false; + } + var uh = /[\n"\\]/g; + function Fl(l) { + return l.replace(uh, function(t) { + return "\\" + t.charCodeAt(0).toString(16) + " "; + }); + } + function Gc(l, t, u, a, n, e, f, c) { + l.name = "", f != null && typeof f != "function" && typeof f != "symbol" && typeof f != "boolean" ? l.type = f : l.removeAttribute("type"), t != null ? f === "number" ? (t === 0 && l.value === "" || l.value != t) && (l.value = "" + Bl(t)) : l.value !== "" + Bl(t) && (l.value = "" + Bl(t)) : f !== "submit" && f !== "reset" || l.removeAttribute("value"), t != null ? f === "number" && l.value == t ? kf(l, Bl(l.value)) : kf(l, Bl(t)) : u != null ? kf(l, Bl(u)) : a != null && l.removeAttribute("value"), n == null && e != null && (l.defaultChecked = !!e), n != null && (l.checked = n && typeof n != "function" && typeof n != "symbol"), c != null && typeof c != "function" && typeof c != "symbol" && typeof c != "boolean" ? l.name = "" + Bl(c) : l.removeAttribute("name"); + } + function zy(l, t, u, a, n, e, f, c) { + if (e != null && typeof e != "function" && typeof e != "symbol" && typeof e != "boolean" && (l.type = e), t != null || u != null) { + if (!(e !== "submit" && e !== "reset" || t != null)) { + qc(l); + return; + } + u = u != null ? "" + Bl(u) : "", t = t != null ? "" + Bl(t) : u, c || t === l.value || (l.value = t), l.defaultValue = t; + } + a = a ?? n, a = typeof a != "function" && typeof a != "symbol" && !!a, l.checked = c ? l.checked : !!a, l.defaultChecked = !!a, f != null && typeof f != "function" && typeof f != "symbol" && typeof f != "boolean" && (l.name = f), qc(l); + } + function kf(l, t) { + l.defaultValue !== "" + t && (l.defaultValue = "" + t); + } + function ya(l, t, u, a) { + if (l = l.options, t) { + t = {}; + for (var n = 0; n < u.length; n++) t["$" + u[n]] = true; + for (u = 0; u < l.length; u++) n = t.hasOwnProperty("$" + l[u].value), l[u].selected !== n && (l[u].selected = n), n && a && (l[u].defaultSelected = true); + } else { + for (u = "" + Bl(u), t = null, n = 0; n < l.length; n++) { + if (l[n].value === u) { + l[n].selected = true, a && (l[n].defaultSelected = true); + return; + } + t !== null || l[n].disabled || (t = l[n]); + } + t !== null && (t.selected = true); + } + } + function by(l, t, u) { + if (t != null && (t = "" + Bl(t), t !== l.value && (l.value = t), u == null)) { + l.defaultValue !== t && (l.defaultValue = t); + return; + } + l.defaultValue = u != null ? "" + Bl(u) : ""; + } + function Oy(l, t, u, a) { + if (t == null) { + if (a != null) { + if (u != null) throw Error(E(92)); + if ($a(a)) { + if (1 < a.length) throw Error(E(93)); + a = a[0]; + } + u = a; + } + u == null && (u = ""), t = u; + } + u = Bl(t), l.defaultValue = u, a = l.textContent, a === u && a !== "" && a !== null && (l.value = a), qc(l); + } + function ba(l, t) { + if (t) { + var u = l.firstChild; + if (u && u === l.lastChild && u.nodeType === 3) { + u.nodeValue = t; + return; + } + } + l.textContent = t; + } + var ah = 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 N1(l, t, u) { + var a = t.indexOf("--") === 0; + u == null || typeof u == "boolean" || u === "" ? a ? l.setProperty(t, "") : t === "float" ? l.cssFloat = "" : l[t] = "" : a ? l.setProperty(t, u) : typeof u != "number" || u === 0 || ah.has(t) ? t === "float" ? l.cssFloat = u : l[t] = ("" + u).trim() : l[t] = u + "px"; + } + function _y(l, t, u) { + if (t != null && typeof t != "object") throw Error(E(62)); + if (l = l.style, u != null) { + for (var a in u) !u.hasOwnProperty(a) || t != null && t.hasOwnProperty(a) || (a.indexOf("--") === 0 ? l.setProperty(a, "") : a === "float" ? l.cssFloat = "" : l[a] = "", B = true); + for (var n in t) a = t[n], t.hasOwnProperty(n) && u[n] !== a && (N1(l, n, a), B = true); + } else for (var e in t) t.hasOwnProperty(e) && N1(l, e, t[e]); + } + function Zi(l) { + if (l.indexOf("-") === -1) return false; + switch (l) { + 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 false; + default: + return true; + } + } + var nh = /* @__PURE__ */ 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"], ["maskType", "mask-type"], ["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"]]), eh = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i; + function ge(l) { + return eh.test("" + l) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : l; + } + function dt() { + } + var Xc = null; + function ji(l) { + return l = l.target || l.srcElement || window, l.correspondingUseElement && (l = l.correspondingUseElement), l.nodeType === 3 ? l.parentNode : l; + } + var la = null, oa = null; + function D1(l) { + var t = Ya(l); + if (t && (l = t.stateNode)) { + var u = l[Rl] || null; + l: switch (l = t.stateNode, t.type) { + case "input": + if (Gc(l, u.value, u.defaultValue, u.defaultValue, u.checked, u.defaultChecked, u.type, u.name), t = u.name, u.type === "radio" && t != null) { + for (u = l; u.parentNode; ) u = u.parentNode; + for (u = u.querySelectorAll('input[name="' + Fl("" + t) + '"][type="radio"]'), t = 0; t < u.length; t++) { + var a = u[t]; + if (a !== l && a.form === l.form) { + var n = a[Rl] || null; + if (!n) throw Error(E(90)); + Gc(a, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name); + } + } + for (t = 0; t < u.length; t++) a = u[t], a.form === l.form && sy(a); + } + break l; + case "textarea": + by(l, u.value, u.defaultValue); + break l; + case "select": + t = u.value, t != null && ya(l, !!u.multiple, t, false); + } + } + } + var Pf = false; + function Ay(l, t, u) { + if (Pf) return l(t, u); + Pf = true; + try { + var a = l(t); + return a; + } finally { + if (Pf = false, (la !== null || oa !== null) && (Af(), la && (t = la, l = oa, oa = la = null, D1(t), l))) for (t = 0; t < l.length; t++) D1(l[t]); + } + } + function gn(l, t) { + var u = l.stateNode; + if (u === null) return null; + var a = u[Rl] || null; + if (a === null) return null; + u = a[t]; + l: switch (t) { + case "onClick": + case "onClickCapture": + case "onDoubleClick": + case "onDoubleClickCapture": + case "onMouseDown": + case "onMouseDownCapture": + case "onMouseMove": + case "onMouseMoveCapture": + case "onMouseUp": + case "onMouseUpCapture": + case "onMouseEnter": + (a = !a.disabled) || (l = l.type, a = !(l === "button" || l === "input" || l === "select" || l === "textarea")), l = !a; + break l; + default: + l = false; + } + if (l) return null; + if (u && typeof u != "function") throw Error(E(231, t, typeof u)); + return u; + } + var Ut = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), Qc = false; + if (Ut) try { + pu = {}, Object.defineProperty(pu, "passive", { get: function() { + Qc = true; + } }), window.addEventListener("test", pu, pu), window.removeEventListener("test", pu, pu); + } catch { + Qc = false; + } + var pu, Wt = null, xi = null, Se = null; + function Ny() { + if (Se) return Se; + var l, t = xi, u = t.length, a, n = "value" in Wt ? Wt.value : Wt.textContent, e = n.length; + for (l = 0; l < u && t[l] === n[l]; l++) ; + var f = u - l; + for (a = 1; a <= f && t[u - a] === n[e - a]; a++) ; + return Se = n.slice(l, 1 < a ? 1 - a : void 0); + } + function Te(l) { + var t = l.keyCode; + return "charCode" in l ? (l = l.charCode, l === 0 && t === 13 && (l = 13)) : l = t, l === 10 && (l = 13), 32 <= l || l === 13 ? l : 0; + } + function kn() { + return true; + } + function M1() { + return false; + } + function Nl(l) { + function t(u, a, n, e, f) { + this._reactName = u, this._targetInst = n, this.type = a, this.nativeEvent = e, this.target = f, this.currentTarget = null; + for (var c in l) l.hasOwnProperty(c) && (u = l[c], this[c] = u ? u(e) : e[c]); + return this.isDefaultPrevented = (e.defaultPrevented != null ? e.defaultPrevented : e.returnValue === false) ? kn : M1, this.isPropagationStopped = M1, this; + } + return L(t.prototype, { preventDefault: function() { + this.defaultPrevented = true; + var u = this.nativeEvent; + u && (u.preventDefault ? u.preventDefault() : typeof u.returnValue != "unknown" && (u.returnValue = false), this.isDefaultPrevented = kn); + }, stopPropagation: function() { + var u = this.nativeEvent; + u && (u.stopPropagation ? u.stopPropagation() : typeof u.cancelBubble != "unknown" && (u.cancelBubble = true), this.isPropagationStopped = kn); + }, persist: function() { + }, isPersistent: kn }), t; + } + var hu = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(l) { + return l.timeStamp || Date.now(); + }, defaultPrevented: 0, isTrusted: 0 }, of = Nl(hu), qn = L({}, hu, { view: 0, detail: 0 }), fh = Nl(qn), lc, tc, Ka, mf = L({}, qn, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Li, button: 0, buttons: 0, relatedTarget: function(l) { + return l.relatedTarget === void 0 ? l.fromElement === l.srcElement ? l.toElement : l.fromElement : l.relatedTarget; + }, movementX: function(l) { + return "movementX" in l ? l.movementX : (l !== Ka && (Ka && l.type === "mousemove" ? (lc = l.screenX - Ka.screenX, tc = l.screenY - Ka.screenY) : tc = lc = 0, Ka = l), lc); + }, movementY: function(l) { + return "movementY" in l ? l.movementY : tc; + } }), U1 = Nl(mf), ch = L({}, mf, { dataTransfer: 0 }), ih = Nl(ch), vh = L({}, qn, { relatedTarget: 0 }), uc = Nl(vh), yh = L({}, hu, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), oh = Nl(yh), mh = L({}, hu, { clipboardData: function(l) { + return "clipboardData" in l ? l.clipboardData : window.clipboardData; + } }), dh = Nl(mh), hh = L({}, hu, { data: 0 }), C1 = Nl(hh), gh = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, Sh = { 8: "Backspace", 9: "Tab", 12: "Clear", 13: "Enter", 16: "Shift", 17: "Control", 18: "Alt", 19: "Pause", 20: "CapsLock", 27: "Escape", 32: " ", 33: "PageUp", 34: "PageDown", 35: "End", 36: "Home", 37: "ArrowLeft", 38: "ArrowUp", 39: "ArrowRight", 40: "ArrowDown", 45: "Insert", 46: "Delete", 112: "F1", 113: "F2", 114: "F3", 115: "F4", 116: "F5", 117: "F6", 118: "F7", 119: "F8", 120: "F9", 121: "F10", 122: "F11", 123: "F12", 144: "NumLock", 145: "ScrollLock", 224: "Meta" }, Th = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; + function Eh(l) { + var t = this.nativeEvent; + return t.getModifierState ? t.getModifierState(l) : (l = Th[l]) ? !!t[l] : false; + } + function Li() { + return Eh; + } + var sh = L({}, qn, { key: function(l) { + if (l.key) { + var t = gh[l.key] || l.key; + if (t !== "Unidentified") return t; + } + return l.type === "keypress" ? (l = Te(l), l === 13 ? "Enter" : String.fromCharCode(l)) : l.type === "keydown" || l.type === "keyup" ? Sh[l.keyCode] || "Unidentified" : ""; + }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: Li, charCode: function(l) { + return l.type === "keypress" ? Te(l) : 0; + }, keyCode: function(l) { + return l.type === "keydown" || l.type === "keyup" ? l.keyCode : 0; + }, which: function(l) { + return l.type === "keypress" ? Te(l) : l.type === "keydown" || l.type === "keyup" ? l.keyCode : 0; + } }), zh = Nl(sh), bh = L({}, mf, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), H1 = Nl(bh), Oh = L({}, hu, { submitter: 0 }), _h = Nl(Oh), Ah = L({}, qn, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Li }), Nh = Nl(Ah), Dh = L({}, hu, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Mh = Nl(Dh), Uh = L({}, mf, { deltaX: function(l) { + return "deltaX" in l ? l.deltaX : "wheelDeltaX" in l ? -l.wheelDeltaX : 0; + }, deltaY: function(l) { + return "deltaY" in l ? l.deltaY : "wheelDeltaY" in l ? -l.wheelDeltaY : "wheelDelta" in l ? -l.wheelDelta : 0; + }, deltaZ: 0, deltaMode: 0 }), Ch = Nl(Uh), Hh = L({}, hu, { newState: 0, oldState: 0, source: 0 }), rh = Nl(Hh), Rh = [9, 13, 27, 32], Ki = Ut && "CompositionEvent" in window, ln = null; + Ut && "documentMode" in document && (ln = document.documentMode); + var Yh = Ut && "TextEvent" in window && !ln, Dy = Ut && (!Ki || ln && 8 < ln && 11 >= ln), r1 = " ", R1 = false; + function My(l, t) { + switch (l) { + case "keyup": + return Rh.indexOf(t.keyCode) !== -1; + case "keydown": + return t.keyCode !== 229; + case "keypress": + case "mousedown": + case "focusout": + return true; + default: + return false; + } + } + function Uy(l) { + return l = l.detail, typeof l == "object" && "data" in l ? l.data : null; + } + var ta = false; + function Bh(l, t) { + switch (l) { + case "compositionend": + return Uy(t); + case "keypress": + return t.which !== 32 ? null : (R1 = true, r1); + case "textInput": + return l = t.data, l === r1 && R1 ? null : l; + default: + return null; + } + } + function qh(l, t) { + if (ta) return l === "compositionend" || !Ki && My(l, t) ? (l = Ny(), Se = xi = Wt = null, ta = false, l) : null; + switch (l) { + case "paste": + return null; + case "keypress": + if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) { + if (t.char && 1 < t.char.length) return t.char; + if (t.which) return String.fromCharCode(t.which); + } + return null; + case "compositionend": + return Dy && t.locale !== "ko" ? null : t.data; + default: + return null; + } + } + var Gh = { color: true, date: true, datetime: true, "datetime-local": true, email: true, month: true, number: true, password: true, range: true, search: true, tel: true, text: true, time: true, url: true, week: true }; + function Y1(l) { + var t = l && l.nodeName && l.nodeName.toLowerCase(); + return t === "input" ? !!Gh[l.type] : t === "textarea"; + } + function Cy(l, t, u, a) { + la ? oa ? oa.push(a) : oa = [a] : la = a, t = ef(t, "onChange"), 0 < t.length && (u = new of("onChange", "change", null, u, a), l.push({ event: u, listeners: t })); + } + var tn = null, Sn = null; + function Xh(l) { + Nm(l, 0); + } + function df(l) { + var t = Ia(l); + if (sy(t)) return l; + } + function B1(l, t) { + if (l === "change") return t; + } + var Hy = false; + Ut && (Ut ? (le = "oninput" in document, le || (ac = document.createElement("div"), ac.setAttribute("oninput", "return;"), le = typeof ac.oninput == "function"), Pn = le) : Pn = false, Hy = Pn && (!document.documentMode || 9 < document.documentMode)); + var Pn, le, ac; + function q1() { + tn && (tn.detachEvent("onpropertychange", ry), Sn = tn = null); + } + function ry(l) { + if (l.propertyName === "value" && df(Sn)) { + var t = []; + Cy(t, Sn, l, ji(l)), Ay(Xh, t); + } + } + function Qh(l, t, u) { + l === "focusin" ? (q1(), tn = t, Sn = u, tn.attachEvent("onpropertychange", ry)) : l === "focusout" && q1(); + } + function Vh(l) { + if (l === "selectionchange" || l === "keyup" || l === "keydown") return df(Sn); + } + function Zh(l, t) { + if (l === "click") return df(t); + } + function jh(l, t) { + if (l === "input" || l === "change") return df(t); + } + function xh(l, t) { + return l === t && (l !== 0 || 1 / l === 1 / t) || l !== l && t !== t; + } + var xl = typeof Object.is == "function" ? Object.is : xh; + function Tn(l, t) { + if (xl(l, t)) return true; + if (typeof l != "object" || l === null || typeof t != "object" || t === null) return false; + var u = Object.keys(l), a = Object.keys(t); + if (u.length !== a.length) return false; + for (a = 0; a < u.length; a++) { + var n = u[a]; + if (!Bc.call(t, n) || !xl(l[n], t[n])) return false; + } + return true; + } + function Vc(l) { + if (l = l || (typeof document < "u" ? document : void 0), typeof l > "u") return null; + try { + return l.activeElement || l.body; + } catch { + return l.body; + } + } + function G1(l) { + for (; l && l.firstChild; ) l = l.firstChild; + return l; + } + function X1(l, t) { + var u = G1(l); + l = 0; + for (var a; u; ) { + if (u.nodeType === 3) { + if (a = l + u.textContent.length, l <= t && a >= t) return { node: u, offset: t - l }; + l = a; + } + l: { + for (; u; ) { + if (u.nextSibling) { + u = u.nextSibling; + break l; + } + u = u.parentNode; + } + u = void 0; + } + u = G1(u); + } + } + function Ry(l, t) { + return l && t ? l === t ? true : l && l.nodeType === 3 ? false : t && t.nodeType === 3 ? Ry(l, t.parentNode) : "contains" in l ? l.contains(t) : l.compareDocumentPosition ? !!(l.compareDocumentPosition(t) & 16) : false : false; + } + function Yy(l) { + l = l != null && l.ownerDocument != null && l.ownerDocument.defaultView != null ? l.ownerDocument.defaultView : window; + for (var t = Vc(l.document); t instanceof l.HTMLIFrameElement; ) { + try { + var u = typeof t.contentWindow.location.href == "string"; + } catch { + u = false; + } + if (u) l = t.contentWindow; + else break; + t = Vc(l.document); + } + return t; + } + function pi(l) { + var t = l && l.nodeName && l.nodeName.toLowerCase(); + return t && (t === "input" && (l.type === "text" || l.type === "search" || l.type === "tel" || l.type === "url" || l.type === "password") || t === "textarea" || l.contentEditable === "true"); + } + var Lh = Ut && "documentMode" in document && 11 >= document.documentMode, ua = null, Zc = null, un = null, jc = false; + function Q1(l, t, u) { + var a = u.window === u ? u.document : u.nodeType === 9 ? u : u.ownerDocument; + jc || ua == null || ua !== Vc(a) || (a = ua, "selectionStart" in a && pi(a) ? a = { start: a.selectionStart, end: a.selectionEnd } : (a = (a.ownerDocument && a.ownerDocument.defaultView || window).getSelection(), a = { anchorNode: a.anchorNode, anchorOffset: a.anchorOffset, focusNode: a.focusNode, focusOffset: a.focusOffset }), un && Tn(un, a) || (un = a, a = ef(Zc, "onSelect"), 0 < a.length && (t = new of("onSelect", "select", null, t, u), l.push({ event: t, listeners: a }), t.target = ua))); + } + function Su(l, t) { + var u = {}; + return u[l.toLowerCase()] = t.toLowerCase(), u["Webkit" + l] = "webkit" + t, u["Moz" + l] = "moz" + t, u; + } + var aa = { animationend: Su("Animation", "AnimationEnd"), animationiteration: Su("Animation", "AnimationIteration"), animationstart: Su("Animation", "AnimationStart"), transitionrun: Su("Transition", "TransitionRun"), transitionstart: Su("Transition", "TransitionStart"), transitioncancel: Su("Transition", "TransitionCancel"), transitionend: Su("Transition", "TransitionEnd") }, nc = {}, By = {}; + Ut && (By = document.createElement("div").style, "AnimationEvent" in window || (delete aa.animationend.animation, delete aa.animationiteration.animation, delete aa.animationstart.animation), "TransitionEvent" in window || delete aa.transitionend.transition); + function Qu(l) { + if (nc[l]) return nc[l]; + if (!aa[l]) return l; + var t = aa[l], u; + for (u in t) if (t.hasOwnProperty(u) && u in By) return nc[l] = t[u]; + return l; + } + var qy = Qu("animationend"), Gy = Qu("animationiteration"), Xy = Qu("animationstart"), Kh = Qu("transitionrun"), ph = Qu("transitionstart"), Jh = Qu("transitioncancel"), Qy = Qu("transitionend"), Vy = /* @__PURE__ */ new Map(), xc = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); + xc.push("scrollEnd"); + function et(l, t) { + Vy.set(l, t), Xu(t, [l]); + } + var wh = 0; + function Ct(l, t) { + if (l.name != null && l.name !== "auto") return l.name; + if (t.autoName !== null) return t.autoName; + l = nt.identifierPrefix; + var u = wh++; + return l = "_" + l + "t_" + u.toString(32) + "_", t.autoName = l; + } + function V1(l) { + if (l == null || typeof l == "string") return l; + var t = null, u = Ea; + if (u !== null) for (var a = 0; a < u.length; a++) { + var n = l[u[a]]; + if (n != null) { + if (n === "none") return "none"; + t = t == null ? n : t + (" " + n); + } + } + return t ?? l.default; + } + function qt(l, t) { + return l = V1(l), t = V1(t), t == null ? l === "auto" ? null : l : t === "auto" ? null : t; + } + var Qe = typeof reportError == "function" ? reportError : function(l) { + if (typeof window == "object" && typeof window.ErrorEvent == "function") { + var t = new window.ErrorEvent("error", { bubbles: true, cancelable: true, message: typeof l == "object" && l !== null && typeof l.message == "string" ? String(l.message) : String(l), error: l }); + if (!window.dispatchEvent(t)) return; + } else if (typeof process == "object" && typeof process.emit == "function") { + process.emit("uncaughtException", l); + return; + } + console.error(l); + }, Jl = [], na = 0, Ji = 0; + function hf() { + for (var l = na, t = Ji = na = 0; t < l; ) { + var u = Jl[t]; + Jl[t++] = null; + var a = Jl[t]; + Jl[t++] = null; + var n = Jl[t]; + Jl[t++] = null; + var e = Jl[t]; + if (Jl[t++] = null, a !== null && n !== null) { + var f = a.pending; + f === null ? n.next = n : (n.next = f.next, f.next = n), a.pending = n; + } + e !== 0 && Zy(u, n, e); + } + } + function gf(l, t, u, a) { + Jl[na++] = l, Jl[na++] = t, Jl[na++] = u, Jl[na++] = a, Ji |= a, l.lanes |= a, l = l.alternate, l !== null && (l.lanes |= a); + } + function wi(l, t, u, a) { + return gf(l, t, u, a), Ve(l); + } + function Vu(l, t) { + return gf(l, null, null, t), Ve(l); + } + function Zy(l, t, u) { + l.lanes |= u; + var a = l.alternate; + a !== null && (a.lanes |= u); + for (var n = false, e = l.return; e !== null; ) e.childLanes |= u, a = e.alternate, a !== null && (a.childLanes |= u), e.tag === 22 && (l = e.stateNode, l === null || l._visibility & 1 || (n = true)), l = e, e = e.return; + return l.tag === 3 ? (e = l.stateNode, n && t !== null && (n = 31 - Zl(u), l = e.hiddenUpdates, a = l[n], a === null ? l[n] = [t] : a.push(t), t.lane = u | 536870912), e) : null; + } + function Ve(l) { + if (50 < dn) throw dn = 0, Me = null, Error(E(185)); + for (var t = l.return; t !== null; ) l = t, t = l.return; + return l.tag === 3 ? l.stateNode : null; + } + var ea = {}; + function Wh(l, t, u, a) { + this.tag = l, this.key = u, 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 = a, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null; + } + function Cl(l, t, u, a) { + return new Wh(l, t, u, a); + } + function Wi(l) { + return l = l.prototype, !(!l || !l.isReactComponent); + } + function Dt(l, t) { + var u = l.alternate; + return u === null ? (u = Cl(l.tag, t, l.key, l.mode), u.elementType = l.elementType, u.type = l.type, u.stateNode = l.stateNode, u.alternate = l, l.alternate = u) : (u.pendingProps = t, u.type = l.type, u.flags = 0, u.subtreeFlags = 0, u.deletions = null), u.flags = l.flags & 1206910976, u.childLanes = l.childLanes, u.lanes = l.lanes, u.child = l.child, u.memoizedProps = l.memoizedProps, u.memoizedState = l.memoizedState, u.updateQueue = l.updateQueue, t = l.dependencies, u.dependencies = t === null ? null : { lanes: t.lanes, firstContext: t.firstContext }, u.sibling = l.sibling, u.index = l.index, u.ref = l.ref, u.refCleanup = l.refCleanup, u; + } + function jy(l, t) { + l.flags &= 1206910978; + var u = l.alternate; + return u === null ? (l.childLanes = 0, l.lanes = t, l.child = null, l.subtreeFlags = 0, l.memoizedProps = null, l.memoizedState = null, l.updateQueue = null, l.dependencies = null, l.stateNode = null) : (l.childLanes = u.childLanes, l.lanes = u.lanes, l.child = u.child, l.subtreeFlags = 0, l.deletions = null, l.memoizedProps = u.memoizedProps, l.memoizedState = u.memoizedState, l.updateQueue = u.updateQueue, l.type = u.type, t = u.dependencies, l.dependencies = t === null ? null : { lanes: t.lanes, firstContext: t.firstContext }), l; + } + function Ee(l, t, u, a, n, e) { + var f = 0; + if (a = l, typeof a == "function") Wi(a) && (f = 1); + else if (typeof a == "string") f = zS(l, u, St.current) ? 26 : l === "html" || l === "head" || l === "body" ? 27 : 5; + else l: switch (a) { + case Cc: + return l = Cl(31, u, t, n), l.elementType = Cc, l.lanes = e, l; + case ku: + return Au(u.children, n, e, t); + case ny: + f = 8, n |= 24; + break; + case Dc: + return l = Cl(12, u, t, n | 2), l.elementType = Dc, l.lanes = e, l; + case Mc: + return l = Cl(13, u, t, n), l.elementType = Mc, l.lanes = e, l; + case Uc: + return l = Cl(19, u, t, n), l.elementType = Uc, l.lanes = e, l; + case qd: + case Hc: + return l = n | 32, l = Cl(30, u, t, l), l.elementType = Hc, l.lanes = e, l.stateNode = { autoName: null, paired: null, clones: null, ref: null }, l; + default: + if (typeof a == "object" && a !== null) switch (a.$$typeof) { + case mt: + f = 10; + break l; + case ey: + f = 9; + break l; + case qi: + f = 11; + break l; + case Gi: + f = 14; + break l; + case Kt: + f = 16, a = null; + break l; + } + f = 29, u = Error(E(130, l === null ? "null" : typeof l, "")), a = null; + } + return t = Cl(f, u, t, n), t.elementType = l, t.type = a, t.lanes = e, t; + } + function Au(l, t, u, a) { + return l = Cl(7, l, a, t), l.lanes = u, l; + } + function ec(l, t, u) { + return l = Cl(6, l, null, t), l.lanes = u, l; + } + function xy(l) { + var t = Cl(18, null, null, 0); + return t.stateNode = l, t; + } + function fc(l, t, u) { + return t = Cl(4, l.children !== null ? l.children : [], l.key, t), t.lanes = u, t.stateNode = { containerInfo: l.containerInfo, pendingChildren: null, implementation: l.implementation }, t; + } + var Z1 = /* @__PURE__ */ new WeakMap(); + function $l(l, t) { + if (typeof l == "object" && l !== null) { + var u = Z1.get(l); + return u !== void 0 ? u : (t = { value: l, source: t, stack: E1(t) }, Z1.set(l, t), t); + } + return { value: l, source: t, stack: E1(t) }; + } + var fa = [], ca = 0, Ze = null, En = 0, wl = [], Wl = 0, vu = null, ht = 1, gt = ""; + function At(l, t) { + fa[ca++] = En, fa[ca++] = Ze, Ze = l, En = t; + } + function Ly(l, t, u) { + wl[Wl++] = ht, wl[Wl++] = gt, wl[Wl++] = vu, vu = l; + var a = ht; + l = gt; + var n = 32 - Zl(a) - 1; + a &= ~(1 << n), u += 1; + var e = 32 - Zl(t) + n; + if (30 < e) { + var f = n - n % 5; + e = (a & (1 << f) - 1).toString(32), a >>= f, n -= f, ht = 1 << 32 - Zl(t) + n | u << n | a, gt = e + l; + } else ht = 1 << e | u << n | a, gt = l; + } + function Sf(l) { + l.return !== null && (At(l, 1), Ly(l, 1, 0)); + } + function Fi(l) { + for (; l === Ze; ) Ze = fa[--ca], fa[ca] = null, En = fa[--ca], fa[ca] = null; + for (; l === vu; ) vu = wl[--Wl], wl[Wl] = null, gt = wl[--Wl], wl[Wl] = null, ht = wl[--Wl], wl[Wl] = null; + } + function Ky(l, t) { + wl[Wl++] = ht, wl[Wl++] = gt, wl[Wl++] = vu, ht = t.id, gt = t.overflow, vu = l; + } + var yl = null, J = null, U = false, lu = null, Il = false, Lc = Error(E(519)); + function yu(l) { + var t = Error(E(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")); + throw sn($l(t, l)), Lc; + } + function j1(l) { + var t = l.stateNode, u = l.type, a = l.memoizedProps; + switch (t[ml] = l, t[Rl] = a, u) { + case "dialog": + C("cancel", t), C("close", t); + break; + case "iframe": + case "object": + case "embed": + C("load", t); + break; + case "video": + case "audio": + for (u = 0; u < _n.length; u++) C(_n[u], t); + break; + case "source": + C("error", t); + break; + case "img": + case "image": + case "link": + C("error", t), C("load", t); + break; + case "details": + C("toggle", t); + break; + case "input": + C("invalid", t), zy(t, a.value, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name, true); + break; + case "select": + C("invalid", t); + break; + case "textarea": + C("invalid", t), Oy(t, a.value, a.defaultValue, a.children); + } + u = a.children, typeof u != "string" && typeof u != "number" && typeof u != "bigint" || t.textContent === "" + u || a.suppressHydrationWarning === true || Mm(t.textContent, u) ? (a.popover != null && (C("beforetoggle", t), C("toggle", t)), a.onScroll != null && C("scroll", t), a.onScrollEnd != null && C("scrollend", t), a.onClick != null && (t.onclick = dt), t = true) : t = false, t || yu(l, true); + } + function je(l) { + for (yl = l.return; yl; ) switch (yl.tag) { + case 5: + case 31: + case 13: + Il = false; + return; + case 27: + case 3: + Il = true; + return; + default: + yl = yl.return; + } + } + function Ju(l) { + if (l !== yl) return false; + if (!U) return je(l), U = true, false; + var t = l.tag, u; + if ((u = t !== 3 && t !== 27) && ((u = t === 5) && (u = l.type, u = !(u !== "form" && u !== "button") || Mi(l.type, l.memoizedProps)), u = !u), u && J && yu(l), je(l), t === 13) { + if (l = l.memoizedState, l = l !== null ? l.dehydrated : null, !l) throw Error(E(317)); + J = Xv(l); + } else if (t === 31) { + if (l = l.memoizedState, l = l !== null ? l.dehydrated : null, !l) throw Error(E(317)); + J = Xv(l); + } else t === 27 ? (t = J, gu(l.type) ? (l = ri, ri = null, J = l) : J = t) : J = yl ? kl(l.stateNode.nextSibling) : null; + return true; + } + function Uu() { + J = yl = null, U = false; + } + function cc() { + var l = lu; + return l !== null && (Ml === null ? Ml = l : Ml.push.apply(Ml, l), lu = null), l; + } + function sn(l) { + lu === null ? lu = [l] : lu.push(l); + } + var Kc = st(null), Zu = null, Nt = null; + function Ft(l, t, u) { + w(Kc, t._currentValue), t._currentValue = u; + } + function Mt(l) { + l._currentValue = Kc.current, hl(Kc); + } + function se(l, t, u) { + for (; l !== null; ) { + var a = l.alternate; + if ((l.childLanes & t) !== t ? (l.childLanes |= t, a !== null && (a.childLanes |= t)) : a !== null && (a.childLanes & t) !== t && (a.childLanes |= t), l === u) break; + l = l.return; + } + } + function pc(l, t, u, a) { + var n = l.child; + for (n !== null && (n.return = l); n !== null; ) { + var e = n.dependencies; + if (e !== null) { + var f = n.child; + e = e.firstContext; + l: for (; e !== null; ) { + var c = e; + e = n; + for (var i = 0; i < t.length; i++) if (c.context === t[i]) { + e.lanes |= u, c = e.alternate, c !== null && (c.lanes |= u), se(e.return, u, l), a || (f = null); + break l; + } + e = c.next; + } + } else if (n.tag === 18) { + if (f = n.return, f === null) throw Error(E(341)); + f.lanes |= u, e = f.alternate, e !== null && (e.lanes |= u), se(f, u, l), f = null; + } else n.tag === 13 && n.memoizedState !== null && n.memoizedState.dehydrated === null ? (n.lanes |= u, f = n.alternate, f !== null && (f.lanes |= u), se(n.return, u, l), f = n.child, f = f !== null ? f.sibling : null) : f = n.child; + if (f !== null) f.return = n; + else for (f = n; f !== null; ) { + if (f === l) { + f = null; + break; + } + if (n = f.sibling, n !== null) { + n.return = f.return, f = n; + break; + } + f = f.return; + } + n = f; + } + } + function Cu(l, t, u, a) { + l = null; + for (var n = t, e = false; n !== null; ) { + if (!e) { + if ((n.flags & 524288) !== 0) e = true; + else if ((n.flags & 262144) !== 0) break; + } + if (n.tag === 10) { + var f = n.alternate; + if (f === null) throw Error(E(387)); + if (f = f.memoizedProps, f !== null) { + var c = n.type; + xl(n.pendingProps.value, f.value) || (l !== null ? l.push(c) : l = [c]); + } + } else if (n === Ye.current) { + if (f = n.alternate, f === null) throw Error(E(387)); + f.memoizedState.memoizedState !== n.memoizedState.memoizedState && (l !== null ? l.push(Ca) : l = [Ca]); + } + n = n.return; + } + return l !== null && pc(t, l, u, a), t.flags |= 262144, l !== null; + } + function xe(l) { + for (l = l.firstContext; l !== null; ) { + if (!xl(l.context._currentValue, l.memoizedValue)) return true; + l = l.next; + } + return false; + } + function Hu(l) { + Zu = l, Nt = null, l = l.dependencies, l !== null && (l.firstContext = null); + } + function dl(l) { + return py(Zu, l); + } + function te(l, t) { + return Zu === null && Hu(l), py(l, t); + } + function py(l, t) { + var u = t._currentValue; + if (t = { context: t, memoizedValue: u, next: null }, Nt === null) { + if (l === null) throw Error(E(308)); + Nt = t, l.dependencies = { lanes: 0, firstContext: t }, l.flags |= 524288; + } else Nt = Nt.next = t; + return u; + } + var Fh = typeof AbortController < "u" ? AbortController : function() { + var l = [], t = this.signal = { aborted: false, addEventListener: function(u, a) { + l.push(a); + } }; + this.abort = function() { + t.aborted = true, l.forEach(function(u) { + return u(); + }); + }; + }, $h = fl.unstable_scheduleCallback, Ih = fl.unstable_NormalPriority, ul = { $$typeof: mt, Consumer: null, Provider: null, _currentValue: null, _currentValue2: null, _threadCount: 0 }; + function $i() { + return { controller: new Fh(), data: /* @__PURE__ */ new Map(), refCount: 0 }; + } + function Gn(l) { + l.refCount--, l.refCount === 0 && $h(Ih, function() { + l.controller.abort(); + }); + } + function x1(l, t) { + if ((l.pendingLanes & 4194048) !== 0) { + var u = l.transitionTypes; + for (u === null && (u = l.transitionTypes = []), l = 0; l < t.length; l++) { + var a = t[l]; + u.indexOf(a) === -1 && u.push(a); + } + } + } + var ka = null; + function kh(l) { + var t = l.transitionTypes; + return l.transitionTypes = null, t; + } + var an = null, Jc = 0, ru = 0, ma = null; + function Ph(l, t) { + if (an === null) { + var u = an = []; + Jc = 0, ru = A0(), ma = { status: "pending", value: void 0, then: function(a) { + u.push(a); + } }; + } + return Jc++, t.then(L1, L1), t; + } + function L1() { + if (--Jc === 0 && (ka = null, an !== null)) { + ma !== null && (ma.status = "fulfilled"); + var l = an; + an = null, ru = 0, ma = null; + for (var t = 0; t < l.length; t++) (0, l[t])(); + } + } + function lg(l, t) { + var u = [], a = { status: "pending", value: null, reason: null, then: function(n) { + u.push(n); + } }; + return l.then(function() { + a.status = "fulfilled", a.value = t; + for (var n = 0; n < u.length; n++) (0, u[n])(t); + }, function(n) { + for (a.status = "rejected", a.reason = n, n = 0; n < u.length; n++) (0, u[n])(void 0); + }), a; + } + var K1 = A.S; + A.S = function(l, t) { + if (ym = Ql(), typeof t == "object" && t !== null && typeof t.then == "function" && Ph(l, t), ka !== null) for (var u = Da; u !== null; ) x1(u, ka), u = u.next; + if (u = l.types, u !== null) { + for (var a = Da; a !== null; ) x1(a, u), a = a.next; + if (ru !== 0) { + a = ka, a === null && (a = ka = []); + for (var n = 0; n < u.length; n++) { + var e = u[n]; + a.indexOf(e) === -1 && a.push(e); + } + } + } + K1 !== null && K1(l, t); + }; + var Nu = st(null); + function Ii() { + var l = Nu.current; + return l !== null ? l : x.pooledCache; + } + function ze(l, t) { + t === null ? w(Nu, Nu.current) : w(Nu, t.pool); + } + function Jy() { + var l = Ii(); + return l === null ? null : { parent: ul._currentValue, pool: l }; + } + var Ba = Error(E(460)), ki = Error(E(474)), Tf = Error(E(542)), Le = { then: function() { + } }; + function p1(l) { + return l = l.status, l === "fulfilled" || l === "rejected"; + } + function wy(l, t, u) { + switch (u = l[u], u === void 0 ? l.push(t) : u !== t && (t.then(dt, dt), t = u), t.status) { + case "fulfilled": + return t.value; + case "rejected": + throw l = t.reason, w1(l), l === void 0 && !("reason" in t) ? Error(E(600)) : l; + default: + if (typeof t.status == "string") t.then(dt, dt); + else { + if (l = x, l !== null && 100 < l.shellSuspendCounter) throw Error(E(482)); + l = t, l.status = "pending", l.then(function(a) { + if (t.status === "pending") { + var n = t; + n.status = "fulfilled", n.value = a; + } + }, function(a) { + if (t.status === "pending") { + var n = t; + n.status = "rejected", n.reason = a; + } + }); + } + switch (t.status) { + case "fulfilled": + return t.value; + case "rejected": + throw l = t.reason, w1(l), l; + } + throw Du = t, Ba; + } + } + function su(l) { + try { + var t = l._init; + return t(l._payload); + } catch (u) { + throw u !== null && typeof u == "object" && typeof u.then == "function" ? (Du = u, Ba) : u; + } + } + var Du = null; + function J1() { + if (Du === null) throw Error(E(459)); + var l = Du; + return Du = null, l; + } + function w1(l) { + if (l === Ba || l === Tf) throw Error(E(483)); + } + var da = null, zn = 0; + function ue(l) { + var t = zn; + return zn += 1, da === null && (da = []), wy(da, l, t); + } + function jt(l, t) { + t = t.props.ref, l.ref = t !== void 0 ? t : null; + } + function ae(l, t) { + throw t.$$typeof === Bd ? Error(E(525)) : (l = Object.prototype.toString.call(t), Error(E(31, l === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : l))); + } + function Wy(l) { + function t(m, v) { + if (l) { + var d = m.deletions; + d === null ? (m.deletions = [v], m.flags |= 16) : d.push(v); + } + } + function u(m, v) { + if (!l) return null; + for (; v !== null; ) t(m, v), v = v.sibling; + return null; + } + function a(m) { + for (var v = /* @__PURE__ */ new Map(); m !== null; ) m.key === null ? v.set(m.index, m) : v.set(m.key, m), m = m.sibling; + return v; + } + function n(m, v) { + return m = Dt(m, v), m.index = 0, m.sibling = null, m; + } + function e(m, v, d) { + return m.index = d, l ? (d = m.alternate, d !== null ? (d = d.index, d < v ? (m.flags |= 2, v) : d) : (m.flags |= 134217730, v)) : (m.flags |= 1048576, v); + } + function f(m) { + return l && m.alternate === null && (m.flags |= 134217730), m; + } + function c(m, v, d, S) { + return v === null || v.tag !== 6 ? (v = ec(d, m.mode, S), v.return = m, v) : (v = n(v, d), v.return = m, v); + } + function i(m, v, d, S) { + var z = d.type; + return z === ku ? (m = g(m, v, d.props.children, S, d.key), jt(m, d), m) : v !== null && (v.elementType === z || typeof z == "object" && z !== null && z.$$typeof === Kt && su(z) === v.type) ? (v = n(v, d.props), jt(v, d), v.return = m, v) : (v = Ee(d.type, d.key, d.props, null, m.mode, S), jt(v, d), v.return = m, v); + } + function y(m, v, d, S) { + return v === null || v.tag !== 4 || v.stateNode.containerInfo !== d.containerInfo || v.stateNode.implementation !== d.implementation ? (v = fc(d, m.mode, S), v.return = m, v) : (v = n(v, d.children || []), v.return = m, v); + } + function g(m, v, d, S, z) { + return v === null || v.tag !== 7 ? (v = Au(d, m.mode, S, z), v.return = m, v) : (v = n(v, d), v.return = m, v); + } + function T(m, v, d) { + if (typeof v == "string" && v !== "" || typeof v == "number" || typeof v == "bigint") return v = ec("" + v, m.mode, d), v.return = m, v; + if (typeof v == "object" && v !== null) { + switch (v.$$typeof) { + case wn: + return d = Ee(v.type, v.key, v.props, null, m.mode, d), jt(d, v), d.return = m, d; + case Fa: + return v = fc(v, m.mode, d), v.return = m, v; + case Kt: + return v = su(v), T(m, v, d); + } + if ($a(v) || La(v)) return v = Au(v, m.mode, d, null), v.return = m, v; + if (typeof v.then == "function") return T(m, ue(v), d); + if (v.$$typeof === mt) return T(m, te(m, v), d); + ae(m, v); + } + return null; + } + function o(m, v, d, S) { + var z = v !== null ? v.key : null; + if (typeof d == "string" && d !== "" || typeof d == "number" || typeof d == "bigint") return z !== null ? null : c(m, v, "" + d, S); + if (typeof d == "object" && d !== null) { + switch (d.$$typeof) { + case wn: + return d.key === z ? i(m, v, d, S) : null; + case Fa: + return d.key === z ? y(m, v, d, S) : null; + case Kt: + return d = su(d), o(m, v, d, S); + } + if ($a(d) || La(d)) return z !== null ? null : g(m, v, d, S, null); + if (typeof d.then == "function") return o(m, v, ue(d), S); + if (d.$$typeof === mt) return o(m, v, te(m, d), S); + ae(m, d); + } + return null; + } + function h(m, v, d, S, z) { + if (typeof S == "string" && S !== "" || typeof S == "number" || typeof S == "bigint") return m = m.get(d) || null, c(v, m, "" + S, z); + if (typeof S == "object" && S !== null) { + switch (S.$$typeof) { + case wn: + return m = m.get(S.key === null ? d : S.key) || null, i(v, m, S, z); + case Fa: + return m = m.get(S.key === null ? d : S.key) || null, y(v, m, S, z); + case Kt: + return S = su(S), h(m, v, d, S, z); + } + if ($a(S) || La(S)) return m = m.get(d) || null, g(v, m, S, z, null); + if (typeof S.then == "function") return h(m, v, d, ue(S), z); + if (S.$$typeof === mt) return h(m, v, d, te(v, S), z); + ae(v, S); + } + return null; + } + function s(m, v, d, S) { + for (var z = null, r = null, O = v, _ = v = 0, ll = null; O !== null && _ < d.length; _++) { + O.index > _ ? (ll = O, O = null) : ll = O.sibling; + var Y = o(m, O, d[_], S); + if (Y === null) { + O === null && (O = ll); + break; + } + l && O && Y.alternate === null && t(m, O), v = e(Y, v, _), r === null ? z = Y : r.sibling = Y, r = Y, O = ll; + } + if (_ === d.length) return u(m, O), U && At(m, _), z; + if (O === null) { + for (; _ < d.length; _++) O = T(m, d[_], S), O !== null && (v = e(O, v, _), r === null ? z = O : r.sibling = O, r = O); + return U && At(m, _), z; + } + for (O = a(O); _ < d.length; _++) ll = h(O, m, _, d[_], S), ll !== null && (l && (Y = ll.alternate, Y !== null && O.delete(Y.key === null ? _ : Y.key)), v = e(ll, v, _), r === null ? z = ll : r.sibling = ll, r = ll); + return l && O.forEach(function(Xt) { + return t(m, Xt); + }), U && At(m, _), z; + } + function b(m, v, d, S) { + if (d == null) throw Error(E(151)); + for (var z = null, r = null, O = v, _ = v = 0, ll = null, Y = d.next(); O !== null && !Y.done; _++, Y = d.next()) { + O.index > _ ? (ll = O, O = null) : ll = O.sibling; + var Xt = o(m, O, Y.value, S); + if (Xt === null) { + O === null && (O = ll); + break; + } + l && O && Xt.alternate === null && t(m, O), v = e(Xt, v, _), r === null ? z = Xt : r.sibling = Xt, r = Xt, O = ll; + } + if (Y.done) return u(m, O), U && At(m, _), z; + if (O === null) { + for (; !Y.done; _++, Y = d.next()) Y = T(m, Y.value, S), Y !== null && (v = e(Y, v, _), r === null ? z = Y : r.sibling = Y, r = Y); + return U && At(m, _), z; + } + for (O = a(O); !Y.done; _++, Y = d.next()) Y = h(O, m, _, Y.value, S), Y !== null && (l && (ll = Y.alternate, ll !== null && O.delete(ll.key === null ? _ : ll.key)), v = e(Y, v, _), r === null ? z = Y : r.sibling = Y, r = Y); + return l && O.forEach(function(ud) { + return t(m, ud); + }), U && At(m, _), z; + } + function D(m, v, d, S) { + if (typeof d == "object" && d !== null && d.type === ku && d.key === null && d.props.ref === void 0 && (d = d.props.children), typeof d == "object" && d !== null) { + switch (d.$$typeof) { + case wn: + l: { + for (var z = d.key; v !== null; ) { + if (v.key === z) { + if (z = d.type, z === ku) { + if (v.tag === 7) { + u(m, v.sibling), S = n(v, d.props.children), jt(S, d), S.return = m, m = S; + break l; + } + } else if (v.elementType === z || typeof z == "object" && z !== null && z.$$typeof === Kt && su(z) === v.type) { + u(m, v.sibling), S = n(v, d.props), jt(S, d), S.return = m, m = S; + break l; + } + u(m, v); + break; + } else t(m, v); + v = v.sibling; + } + d.type === ku ? (S = Au(d.props.children, m.mode, S, d.key), jt(S, d), S.return = m, m = S) : (S = Ee(d.type, d.key, d.props, null, m.mode, S), jt(S, d), S.return = m, m = S); + } + return f(m); + case Fa: + l: { + for (z = d.key; v !== null; ) { + if (v.key === z) if (v.tag === 4 && v.stateNode.containerInfo === d.containerInfo && v.stateNode.implementation === d.implementation) { + u(m, v.sibling), S = n(v, d.children || []), S.return = m, m = S; + break l; + } else { + u(m, v); + break; + } + else t(m, v); + v = v.sibling; + } + S = fc(d, m.mode, S), S.return = m, m = S; + } + return f(m); + case Kt: + return d = su(d), D(m, v, d, S); + } + if ($a(d)) return s(m, v, d, S); + if (La(d)) { + if (z = La(d), typeof z != "function") throw Error(E(150)); + return d = z.call(d), b(m, v, d, S); + } + if (typeof d.then == "function") return D(m, v, ue(d), S); + if (d.$$typeof === mt) return D(m, v, te(m, d), S); + ae(m, d); + } + return typeof d == "string" && d !== "" || typeof d == "number" || typeof d == "bigint" ? (d = "" + d, v !== null && v.tag === 6 ? (u(m, v.sibling), S = n(v, d), S.return = m, m = S) : (u(m, v), S = ec(d, m.mode, S), S.return = m, m = S), f(m)) : u(m, v); + } + return function(m, v, d, S) { + try { + zn = 0; + var z = D(m, v, d, S); + return da = null, z; + } catch (O) { + if (O === Ba || O === Tf) throw O; + var r = Cl(29, O, null, m.mode); + return r.lanes = S, r.return = m, r; + } finally { + } + }; + } + var Ru = Wy(true), Fy = Wy(false), pt = false; + function Pi(l) { + l.updateQueue = { baseState: l.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, lanes: 0, hiddenCallbacks: null }, callbacks: null }; + } + function wc(l, t) { + l = l.updateQueue, t.updateQueue === l && (t.updateQueue = { baseState: l.baseState, firstBaseUpdate: l.firstBaseUpdate, lastBaseUpdate: l.lastBaseUpdate, shared: l.shared, callbacks: null }); + } + function tu(l) { + return { lane: l, tag: 0, payload: null, callback: null, next: null }; + } + function uu(l, t, u) { + var a = l.updateQueue; + if (a === null) return null; + if (a = a.shared, (q & 2) !== 0) { + var n = a.pending; + return n === null ? t.next = t : (t.next = n.next, n.next = t), a.pending = t, t = Ve(l), Zy(l, null, u), t; + } + return gf(l, a, t, u), Ve(l); + } + function nn(l, t, u) { + if (t = t.updateQueue, t !== null && (t = t.shared, (u & 4194048) !== 0)) { + var a = t.lanes; + a &= l.pendingLanes, u |= a, t.lanes = u, my(l, u); + } + } + function ic(l, t) { + var u = l.updateQueue, a = l.alternate; + if (a !== null && (a = a.updateQueue, u === a)) { + var n = null, e = null; + if (u = u.firstBaseUpdate, u !== null) { + do { + var f = { lane: u.lane, tag: u.tag, payload: u.payload, callback: null, next: null }; + e === null ? n = e = f : e = e.next = f, u = u.next; + } while (u !== null); + e === null ? n = e = t : e = e.next = t; + } else n = e = t; + u = { baseState: a.baseState, firstBaseUpdate: n, lastBaseUpdate: e, shared: a.shared, callbacks: a.callbacks }, l.updateQueue = u; + return; + } + l = u.lastBaseUpdate, l === null ? u.firstBaseUpdate = t : l.next = t, u.lastBaseUpdate = t; + } + var Wc = false; + function en() { + if (Wc) { + var l = ma; + if (l !== null) throw l; + } + } + function fn(l, t, u, a) { + Wc = false; + var n = l.updateQueue; + pt = false; + var e = n.firstBaseUpdate, f = n.lastBaseUpdate, c = n.shared.pending; + if (c !== null) { + n.shared.pending = null; + var i = c, y = i.next; + i.next = null, f === null ? e = y : f.next = y, f = i; + var g = l.alternate; + g !== null && (g = g.updateQueue, c = g.lastBaseUpdate, c !== f && (c === null ? g.firstBaseUpdate = y : c.next = y, g.lastBaseUpdate = i)); + } + if (e !== null) { + var T = n.baseState; + f = 0, g = y = i = null, c = e; + do { + var o = c.lane & -536870913, h = o !== c.lane; + if (h ? (R & o) === o : (a & o) === o) { + o !== 0 && o === ru && (Wc = true), g !== null && (g = g.next = { lane: 0, tag: c.tag, payload: c.payload, callback: null, next: null }); + l: { + var s = l, b = c; + o = t; + var D = u; + switch (b.tag) { + case 1: + if (s = b.payload, typeof s == "function") { + T = s.call(D, T, o); + break l; + } + T = s; + break l; + case 3: + s.flags = s.flags & -65537 | 128; + case 0: + if (s = b.payload, o = typeof s == "function" ? s.call(D, T, o) : s, o == null) break l; + T = L({}, T, o); + break l; + case 2: + pt = true; + } + } + o = c.callback, o !== null && (l.flags |= 64, h && (l.flags |= 8192), h = n.callbacks, h === null ? n.callbacks = [o] : h.push(o)); + } else h = { lane: o, tag: c.tag, payload: c.payload, callback: c.callback, next: null }, g === null ? (y = g = h, i = T) : g = g.next = h, f |= o; + if (c = c.next, c === null) { + if (c = n.shared.pending, c === null) break; + h = c, c = h.next, h.next = null, n.lastBaseUpdate = h, n.shared.pending = null; + } + } while (true); + g === null && (i = T), n.baseState = i, n.firstBaseUpdate = y, n.lastBaseUpdate = g, e === null && (n.shared.lanes = 0), du |= f, l.lanes = f, l.memoizedState = T; + } + } + function $y(l, t) { + if (typeof l != "function") throw Error(E(191, l)); + l.call(t); + } + function Iy(l, t) { + var u = l.callbacks; + if (u !== null) for (l.callbacks = null, l = 0; l < u.length; l++) $y(u[l], t); + } + var ou = st(null), Ke = st(0); + function W1(l, t) { + l = Yt, w(Ke, l), w(ou, t), Yt = l | t.baseLanes; + } + function Fc() { + w(Ke, Yt), w(ou, ou.current); + } + function l0() { + Yt = Ke.current, hl(ou), hl(Ke); + } + var Tl = st(null), zl = null; + function au(l) { + var t = l.alternate; + w(gl, gl.current & 1), w(Tl, l), zl === null && (t === null || ou.current !== null || t.memoizedState !== null) && (zl = l); + } + function $c(l) { + w(gl, gl.current), w(Tl, l), zl === null && (zl = l); + } + function ky(l) { + l.tag === 22 ? (w(gl, gl.current), w(Tl, l), zl === null && (zl = l)) : nu(); + } + function nu() { + w(gl, gl.current), w(Tl, Tl.current); + } + function ql(l) { + hl(Tl), zl === l && (zl = null), hl(gl); + } + var gl = st(0); + function bn(l, t) { + w(Tl, Tl.current), w(gl, t); + } + function t0(l) { + hl(gl), hl(Tl), zl === l && (zl = null); + } + function pe(l) { + for (var t = l; t !== null; ) { + if (t.tag === 13) { + var u = t.memoizedState; + if (u !== null && (u = u.dehydrated, u === null || Hi(u) || U0(u))) return t; + } else if (t.tag === 19 && t.memoizedProps.revealOrder !== "independent") { + if ((t.flags & 128) !== 0) return t; + } else if (t.child !== null) { + t.child.return = t, t = t.child; + continue; + } + if (t === l) break; + for (; t.sibling === null; ) { + if (t.return === null || t.return === l) return null; + t = t.return; + } + t.sibling.return = t.return, t = t.sibling; + } + return null; + } + var Ht = 0, M = null, j = null, tl = null, Je = false, ha = false, Yu = false, we = 0, On = 0, ga = null, tg = 0; + function I() { + throw Error(E(321)); + } + function u0(l, t) { + if (t === null) return false; + for (var u = 0; u < t.length && u < l.length; u++) if (!xl(l[u], t[u])) return false; + return true; + } + function a0(l, t, u, a, n, e) { + return Ht = e, M = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, A.H = l === null || l.memoizedState === null ? Ho : ro, Yu = false, e = u(a, n), Yu = false, ha && (e = lo(t, u, a, n)), Py(l), e; + } + function Py(l) { + A.H = We; + var t = j !== null && j.next !== null; + if (Ht = 0, tl = j = M = null, Je = false, On = 0, ga = null, t) throw Error(E(300)); + l === null || al || (l = l.dependencies, l !== null && xe(l) && (al = true)); + } + function lo(l, t, u, a) { + M = l; + var n = 0; + do { + if (ha && (ga = null), On = 0, ha = false, 25 <= n) throw Error(E(301)); + if (n += 1, tl = j = null, l.updateQueue != null) { + var e = l.updateQueue; + e.lastEffect = null, e.events = null, e.stores = null, e.memoCache != null && (e.memoCache.index = 0); + } + A.H = vg, e = t(u, a); + } while (ha); + return e; + } + function ug() { + var l = A.H, t = l.useState()[0]; + return t = typeof t.then == "function" ? Xn(t) : t, l = l.useState()[0], (j !== null ? j.memoizedState : null) !== l && (M.flags |= 1024), t; + } + function n0() { + var l = we !== 0; + return we = 0, l; + } + function e0(l, t, u) { + t.updateQueue = l.updateQueue, t.flags &= -2053, l.lanes &= ~u; + } + function f0(l) { + if (Je) { + for (l = l.memoizedState; l !== null; ) { + var t = l.queue; + t !== null && (t.pending = null), l = l.next; + } + Je = false; + } + Ht = 0, tl = j = M = null, ha = false, On = we = 0, ga = null; + } + function Al() { + var l = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; + return tl === null ? M.memoizedState = tl = l : tl = tl.next = l, tl; + } + function P() { + if (j === null) { + var l = M.alternate; + l = l !== null ? l.memoizedState : null; + } else l = j.next; + var t = tl === null ? M.memoizedState : tl.next; + if (t !== null) tl = t, j = l; + else { + if (l === null) throw M.alternate === null ? Error(E(467)) : Error(E(310)); + j = l, l = { memoizedState: j.memoizedState, baseState: j.baseState, baseQueue: j.baseQueue, queue: j.queue, next: null }, tl === null ? M.memoizedState = tl = l : tl = tl.next = l; + } + return tl; + } + function Ef() { + return { lastEffect: null, events: null, stores: null, memoCache: null }; + } + function Xn(l) { + var t = On; + return On += 1, ga === null && (ga = []), l = wy(ga, l, t), t = M, (tl === null ? t.memoizedState : tl.next) === null && (t = t.alternate, A.H = t === null || t.memoizedState === null ? Ho : ro), l; + } + function sf(l) { + if (l !== null && typeof l == "object") { + if (typeof l.then == "function") return Xn(l); + if (l.$$typeof === Xd) return; + if (l.$$typeof === mt) return dl(l); + } + throw Error(E(438, String(l))); + } + function c0(l) { + var t = null, u = M.updateQueue; + if (u !== null && (t = u.memoCache), t == null) { + var a = M.alternate; + a !== null && (a = a.updateQueue, a !== null && (a = a.memoCache, a != null && (t = { data: a.data.map(function(n) { + return n.slice(); + }), index: 0 }))); + } + if (t == null && (t = { data: [], index: 0 }), u === null && (u = Ef(), M.updateQueue = u), u.memoCache = t, u = t.data[t.index], u === void 0) for (u = t.data[t.index] = Array(l), a = 0; a < l; a++) u[a] = Gd; + return t.index++, u; + } + function rt(l, t) { + return typeof t == "function" ? t(l) : t; + } + function be(l) { + var t = P(); + return i0(t, j, l); + } + function i0(l, t, u) { + var a = l.queue; + if (a === null) throw Error(E(311)); + a.lastRenderedReducer = u; + var n = l.baseQueue, e = a.pending; + if (e !== null) { + if (n !== null) { + var f = n.next; + n.next = e.next, e.next = f; + } + t.baseQueue = n = e, a.pending = null; + } + if (e = l.baseState, n === null) l.memoizedState = e; + else { + t = n.next; + var c = f = null, i = null, y = t, g = false; + do { + var T = y.lane & -536870913; + if (T !== y.lane ? (R & T) === T : (Ht & T) === T) { + var o = y.revertLane; + if (o === 0) i !== null && (i = i.next = { lane: 0, revertLane: 0, gesture: null, action: y.action, hasEagerState: y.hasEagerState, eagerState: y.eagerState, next: null }), T === ru && (g = true); + else if ((Ht & o) === o) { + y = y.next, o === ru && (g = true); + continue; + } else T = { lane: 0, revertLane: y.revertLane, gesture: null, action: y.action, hasEagerState: y.hasEagerState, eagerState: y.eagerState, next: null }, i === null ? (c = i = T, f = e) : i = i.next = T, M.lanes |= o, du |= o; + T = y.action, Yu && u(e, T), e = y.hasEagerState ? y.eagerState : u(e, T); + } else o = { lane: T, revertLane: y.revertLane, gesture: y.gesture, action: y.action, hasEagerState: y.hasEagerState, eagerState: y.eagerState, next: null }, i === null ? (c = i = o, f = e) : i = i.next = o, M.lanes |= T, du |= T; + y = y.next; + } while (y !== null && y !== t); + if (i === null ? f = e : i.next = c, !xl(e, l.memoizedState) && (al = true, g && (u = ma, u !== null))) throw u; + l.memoizedState = e, l.baseState = f, l.baseQueue = i, a.lastRenderedState = e; + } + return n === null && (a.lanes = 0), [l.memoizedState, a.dispatch]; + } + function vc(l) { + var t = P(), u = t.queue; + if (u === null) throw Error(E(311)); + u.lastRenderedReducer = l; + var a = u.dispatch, n = u.pending, e = t.memoizedState; + if (n !== null) { + u.pending = null; + var f = n = n.next; + do + e = l(e, f.action), f = f.next; + while (f !== n); + xl(e, t.memoizedState) || (al = true), t.memoizedState = e, t.baseQueue === null && (t.baseState = e), u.lastRenderedState = e; + } + return [e, a]; + } + function to(l, t, u) { + var a = M, n = P(), e = U; + if (e) { + if (u === void 0) throw Error(E(407)); + u = u(); + } else u = t(); + var f = !xl((j || n).memoizedState, u); + if (f && (n.memoizedState = u, al = true), n = n.queue, v0(no.bind(null, a, n, l), [l]), l = n.getSnapshot !== t || f || tl !== null && (tl.memoizedState.tag & 1) !== 0, Oa(l ? 9 : 8, { destroy: void 0 }, ao.bind(null, a, n, u, t), null), l) { + if (a.flags |= 2048, x === null) throw Error(E(349)); + e || (Ht & 127) !== 0 || uo(a, t, u); + } + return u; + } + function uo(l, t, u) { + l.flags |= 16384, l = { getSnapshot: t, value: u }, t = M.updateQueue, t === null ? (t = Ef(), M.updateQueue = t, t.stores = [l]) : (u = t.stores, u === null ? t.stores = [l] : u.push(l)); + } + function ao(l, t, u, a) { + t.value = u, t.getSnapshot = a, eo(t) && fo(l); + } + function no(l, t, u) { + return u(function() { + eo(t) && fo(l); + }); + } + function eo(l) { + var t = l.getSnapshot; + l = l.value; + try { + var u = t(); + return !xl(l, u); + } catch { + return true; + } + } + function fo(l) { + var t = Vu(l, 2); + t !== null && Hl(t, l, 2); + } + function Ic(l) { + var t = Al(); + if (typeof l == "function") { + var u = l; + if (l = u(), Yu) { + wt(true); + try { + u(); + } finally { + wt(false); + } + } + } + return t.memoizedState = t.baseState = l, t.queue = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: rt, lastRenderedState: l }, t; + } + function co(l, t, u, a) { + return l.baseState = u, i0(l, j, typeof a == "function" ? a : rt); + } + function ag(l, t, u, a, n) { + if (bf(l)) throw Error(E(485)); + if (l = t.action, l !== null) { + var e = { payload: n, action: l, next: null, isTransition: true, status: "pending", value: null, reason: null, listeners: [], then: function(f) { + e.listeners.push(f); + } }; + A.T !== null ? u(true) : e.isTransition = false, a(e), u = t.pending, u === null ? (e.next = t.pending = e, io(t, e)) : (e.next = u.next, t.pending = u.next = e); + } + } + function io(l, t) { + var u = t.action, a = t.payload, n = l.state; + if (t.isTransition) { + var e = A.T, f = {}; + f.types = e !== null ? e.types : null, A.T = f; + try { + var c = u(n, a), i = A.S; + i !== null && i(f, c), F1(l, t, c); + } catch (y) { + kc(l, t, y); + } finally { + e !== null && f.types !== null && (e.types = f.types), A.T = e; + } + } else try { + e = u(n, a), F1(l, t, e); + } catch (y) { + kc(l, t, y); + } + } + function F1(l, t, u) { + u !== null && typeof u == "object" && typeof u.then == "function" ? u.then(function(a) { + $1(l, t, a); + }, function(a) { + return kc(l, t, a); + }) : $1(l, t, u); + } + function $1(l, t, u) { + t.status = "fulfilled", t.value = u, vo(t), l.state = u, t = l.pending, t !== null && (u = t.next, u === t ? l.pending = null : (u = u.next, t.next = u, io(l, u))); + } + function kc(l, t, u) { + var a = l.pending; + if (l.pending = null, a !== null) { + a = a.next; + do + t.status = "rejected", t.reason = u, vo(t), t = t.next; + while (t !== a); + } + l.action = null; + } + function vo(l) { + l = l.listeners; + for (var t = 0; t < l.length; t++) (0, l[t])(); + } + function yo(l, t) { + return t; + } + function I1(l, t) { + if (U) { + var u = x.formState; + if (u !== null) { + l: { + var a = M; + if (U) { + if (J) { + t: { + for (var n = J, e = Il; n.nodeType !== 8; ) { + if (!e) { + n = null; + break t; + } + if (n = kl(n.nextSibling), n === null) { + n = null; + break t; + } + } + e = n.data, n = e === "F!" || e === "F" ? n : null; + } + if (n) { + J = kl(n.nextSibling), a = n.data === "F!"; + break l; + } + } + yu(a); + } + a = false; + } + a && (t = u[0]); + } + } + return u = Al(), u.memoizedState = u.baseState = t, a = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: yo, lastRenderedState: t }, u.queue = a, u = Mo.bind(null, M, a), a.dispatch = u, a = Ic(false), e = d0.bind(null, M, false, a.queue), a = Al(), n = { state: t, dispatch: null, action: l, pending: null }, a.queue = n, u = ag.bind(null, M, n, e, u), n.dispatch = u, a.memoizedState = l, [t, u, false]; + } + function k1(l) { + var t = P(); + return oo(t, j, l); + } + function oo(l, t, u) { + if (t = i0(l, t, yo)[0], l = be(rt)[0], typeof t == "object" && t !== null && typeof t.then == "function") try { + var a = Xn(t); + } catch (f) { + throw f === Ba ? Tf : f; + } + else a = t; + t = P(); + var n = t.queue, e = n.dispatch; + return u !== t.memoizedState && (M.flags |= 2048, Oa(9, { destroy: void 0 }, ng.bind(null, n, u), null)), [a, e, l]; + } + function ng(l, t) { + l.action = t; + } + function P1(l) { + var t = P(), u = j; + if (u !== null) return oo(t, u, l); + P(), t = t.memoizedState, u = P(); + var a = u.queue.dispatch; + return u.memoizedState = l, [t, a, false]; + } + function Oa(l, t, u, a) { + return l = { tag: l, create: u, deps: a, inst: t, next: null }, t = M.updateQueue, t === null && (t = Ef(), M.updateQueue = t), u = t.lastEffect, u === null ? t.lastEffect = l.next = l : (a = u.next, u.next = l, l.next = a, t.lastEffect = l), l; + } + function mo() { + return P().memoizedState; + } + function Oe(l, t, u, a) { + var n = Al(); + M.flags |= l, n.memoizedState = Oa(1 | t, { destroy: void 0 }, u, a === void 0 ? null : a); + } + function zf(l, t, u, a) { + var n = P(); + a = a === void 0 ? null : a; + var e = n.memoizedState.inst; + j !== null && a !== null && u0(a, j.memoizedState.deps) ? n.memoizedState = Oa(t, e, u, a) : (M.flags |= l, n.memoizedState = Oa(1 | t, e, u, a)); + } + function lv(l, t) { + Oe(8390656, 8, l, t); + } + function v0(l, t) { + zf(2048, 8, l, t); + } + function eg(l) { + M.flags |= 4; + var t = M.updateQueue; + if (t === null) t = Ef(), M.updateQueue = t, t.events = [l]; + else { + var u = t.events; + u === null ? t.events = [l] : u.push(l); + } + } + function ho(l) { + var t = P().memoizedState; + return eg({ ref: t, nextImpl: l }), function() { + if ((q & 2) !== 0) throw Error(E(440)); + return t.impl.apply(void 0, arguments); + }; + } + function go(l, t) { + return zf(4, 2, l, t); + } + function So(l, t) { + return zf(4, 4, l, t); + } + function To(l, t) { + if (typeof t == "function") { + l = l(); + var u = t(l); + return function() { + typeof u == "function" ? u() : t(null); + }; + } + if (t != null) return l = l(), t.current = l, function() { + t.current = null; + }; + } + function Eo(l, t, u) { + u = u != null ? u.concat([l]) : null, zf(4, 4, To.bind(null, t, l), u); + } + function y0() { + } + function so(l, t) { + var u = P(); + t = t === void 0 ? null : t; + var a = u.memoizedState; + return t !== null && u0(t, a[1]) ? a[0] : (u.memoizedState = [l, t], l); + } + function zo(l, t) { + var u = P(); + t = t === void 0 ? null : t; + var a = u.memoizedState; + if (t !== null && u0(t, a[1])) return a[0]; + if (a = l(), Yu) { + wt(true); + try { + l(); + } finally { + wt(false); + } + } + return u.memoizedState = [a, t], a; + } + function o0(l, t, u) { + return u === void 0 || (Ht & 1073741824) !== 0 && (R & 261930) === 0 ? l.memoizedState = t : (l.memoizedState = u, l = mm(), M.lanes |= l, du |= l, u); + } + function bo(l, t, u, a) { + return xl(u, t) ? u : ou.current !== null ? (l = o0(l, u, a), xl(l, t) || (al = true), l) : (Ht & 106) === 0 || (Ht & 1073741824) !== 0 && (R & 261930) === 0 ? (al = true, l.memoizedState = u) : (l = mm(), M.lanes |= l, du |= l, t); + } + function Oo(l, t, u, a, n) { + var e = G.p; + G.p = e !== 0 && 8 > e ? e : 8; + var f = A.T, c = {}; + c.types = f !== null ? f.types : null, A.T = c, d0(l, false, t, u); + try { + var i = n(), y = A.S; + if (y !== null && y(c, i), i !== null && typeof i == "object" && typeof i.then == "function") { + var g = lg(i, a); + cn(l, t, g, jl(l)); + } else cn(l, t, a, jl(l)); + } catch (T) { + cn(l, t, { then: function() { + }, status: "rejected", reason: T }, jl()); + } finally { + G.p = e, f !== null && c.types !== null && (f.types = c.types), A.T = f; + } + } + function fg() { + } + function Pc(l, t, u, a) { + if (l.tag !== 5) throw Error(E(476)); + var n = _o(l).queue; + Oo(l, n, t, _u, u === null ? fg : function() { + return Ao(l), u(a); + }); + } + function _o(l) { + var t = l.memoizedState; + if (t !== null) return t; + t = { memoizedState: _u, baseState: _u, baseQueue: null, queue: { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: rt, lastRenderedState: _u }, next: null }; + var u = {}; + return t.next = { memoizedState: u, baseState: u, baseQueue: null, queue: { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: rt, lastRenderedState: u }, next: null }, l.memoizedState = t, l = l.alternate, l !== null && (l.memoizedState = t), t; + } + function Ao(l) { + var t = _o(l); + t.next === null && (t = l.alternate.memoizedState), cn(l, t.next.queue, {}, jl()); + } + function m0() { + return dl(Ca); + } + function No() { + return P().memoizedState; + } + function Do() { + return P().memoizedState; + } + function cg(l) { + for (var t = l.return; t !== null; ) { + switch (t.tag) { + case 24: + case 3: + var u = jl(); + l = tu(u); + var a = uu(t, l, u); + a !== null && (Hl(a, t, u), nn(a, t, u)), t = { cache: $i() }, l.payload = t; + return; + } + t = t.return; + } + } + function ig(l, t, u) { + var a = jl(); + u = { lane: a, revertLane: 0, gesture: null, action: u, hasEagerState: false, eagerState: null, next: null }, bf(l) ? Uo(t, u) : (u = wi(l, t, u, a), u !== null && (Hl(u, l, a), Co(u, t, a))); + } + function Mo(l, t, u) { + var a = jl(); + cn(l, t, u, a); + } + function cn(l, t, u, a) { + var n = { lane: a, revertLane: 0, gesture: null, action: u, hasEagerState: false, eagerState: null, next: null }; + if (bf(l)) Uo(t, n); + else { + var e = l.alternate; + if (l.lanes === 0 && (e === null || e.lanes === 0) && (e = t.lastRenderedReducer, e !== null)) try { + var f = t.lastRenderedState, c = e(f, u); + if (n.hasEagerState = true, n.eagerState = c, xl(c, f)) return gf(l, t, n, 0), x === null && hf(), false; + } catch { + } finally { + } + if (u = wi(l, t, n, a), u !== null) return Hl(u, l, a), Co(u, t, a), true; + } + return false; + } + function d0(l, t, u, a) { + if (a = { lane: 2, revertLane: A0(), gesture: null, action: a, hasEagerState: false, eagerState: null, next: null }, bf(l)) { + if (t) throw Error(E(479)); + } else t = wi(l, u, a, 2), t !== null && Hl(t, l, 2); + } + function bf(l) { + var t = l.alternate; + return l === M || t !== null && t === M; + } + function Uo(l, t) { + ha = Je = true; + var u = l.pending; + u === null ? t.next = t : (t.next = u.next, u.next = t), l.pending = t; + } + function Co(l, t, u) { + if ((u & 4194048) !== 0) { + var a = t.lanes; + a &= l.pendingLanes, u |= a, t.lanes = u, my(l, u); + } + } + var We = { readContext: dl, use: sf, useCallback: I, useContext: I, useEffect: I, useImperativeHandle: I, useLayoutEffect: I, useInsertionEffect: I, useMemo: I, useReducer: I, useRef: I, useState: I, useDebugValue: I, useDeferredValue: I, useTransition: I, useSyncExternalStore: I, useId: I, useHostTransitionStatus: I, useFormState: I, useActionState: I, useOptimistic: I, useMemoCache: I, useCacheRefresh: I, useEffectEvent: I }, Ho = { readContext: dl, use: sf, useCallback: function(l, t) { + return Al().memoizedState = [l, t === void 0 ? null : t], l; + }, useContext: dl, useEffect: lv, useImperativeHandle: function(l, t, u) { + u = u != null ? u.concat([l]) : null, Oe(4194308, 4, To.bind(null, t, l), u); + }, useLayoutEffect: function(l, t) { + return Oe(4194308, 4, l, t); + }, useInsertionEffect: function(l, t) { + Oe(4, 2, l, t); + }, useMemo: function(l, t) { + var u = Al(); + t = t === void 0 ? null : t; + var a = l(); + if (Yu) { + wt(true); + try { + l(); + } finally { + wt(false); + } + } + return u.memoizedState = [a, t], a; + }, useReducer: function(l, t, u) { + var a = Al(); + if (u !== void 0) { + var n = u(t); + if (Yu) { + wt(true); + try { + u(t); + } finally { + wt(false); + } + } + } else n = t; + return a.memoizedState = a.baseState = n, l = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: l, lastRenderedState: n }, a.queue = l, l = l.dispatch = ig.bind(null, M, l), [a.memoizedState, l]; + }, useRef: function(l) { + var t = Al(); + return l = { current: l }, t.memoizedState = l; + }, useState: function(l) { + l = Ic(l); + var t = l.queue, u = Mo.bind(null, M, t); + return t.dispatch = u, [l.memoizedState, u]; + }, useDebugValue: y0, useDeferredValue: function(l, t) { + var u = Al(); + return o0(u, l, t); + }, useTransition: function() { + var l = Ic(false); + return l = Oo.bind(null, M, l.queue, true, false), Al().memoizedState = l, [false, l]; + }, useSyncExternalStore: function(l, t, u) { + var a = M, n = Al(); + if (U) { + if (u === void 0) throw Error(E(407)); + u = u(); + } else { + if (u = t(), x === null) throw Error(E(349)); + (R & 127) !== 0 || uo(a, t, u); + } + n.memoizedState = u; + var e = { value: u, getSnapshot: t }; + return n.queue = e, lv(no.bind(null, a, e, l), [l]), a.flags |= 2048, Oa(9, { destroy: void 0 }, ao.bind(null, a, e, u, t), null), u; + }, useId: function() { + var l = Al(), t = x.identifierPrefix; + if (U) { + var u = gt, a = ht; + u = (a & ~(1 << 32 - Zl(a) - 1)).toString(32) + u, t = "_" + t + "R_" + u, u = we++, 0 < u && (t += "H" + u.toString(32)), t += "_"; + } else u = tg++, t = "_" + t + "r_" + u.toString(32) + "_"; + return l.memoizedState = t; + }, useHostTransitionStatus: m0, useFormState: I1, useActionState: I1, useOptimistic: function(l) { + var t = Al(); + t.memoizedState = t.baseState = l; + var u = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: null, lastRenderedState: null }; + return t.queue = u, t = d0.bind(null, M, true, u), u.dispatch = t, [l, t]; + }, useMemoCache: c0, useCacheRefresh: function() { + return Al().memoizedState = cg.bind(null, M); + }, useEffectEvent: function(l) { + var t = Al(), u = { impl: l }; + return t.memoizedState = u, function() { + if ((q & 2) !== 0) throw Error(E(440)); + return u.impl.apply(void 0, arguments); + }; + } }, ro = { readContext: dl, use: sf, useCallback: so, useContext: dl, useEffect: v0, useImperativeHandle: Eo, useInsertionEffect: go, useLayoutEffect: So, useMemo: zo, useReducer: be, useRef: mo, useState: function() { + return be(rt); + }, useDebugValue: y0, useDeferredValue: function(l, t) { + var u = P(); + return bo(u, j.memoizedState, l, t); + }, useTransition: function() { + var l = be(rt)[0], t = P().memoizedState; + return [typeof l == "boolean" ? l : Xn(l), t]; + }, useSyncExternalStore: to, useId: No, useHostTransitionStatus: m0, useFormState: k1, useActionState: k1, useOptimistic: function(l, t) { + var u = P(); + return co(u, j, l, t); + }, useMemoCache: c0, useCacheRefresh: Do, useEffectEvent: ho }, vg = { readContext: dl, use: sf, useCallback: so, useContext: dl, useEffect: v0, useImperativeHandle: Eo, useInsertionEffect: go, useLayoutEffect: So, useMemo: zo, useReducer: vc, useRef: mo, useState: function() { + return vc(rt); + }, useDebugValue: y0, useDeferredValue: function(l, t) { + var u = P(); + return j === null ? o0(u, l, t) : bo(u, j.memoizedState, l, t); + }, useTransition: function() { + var l = vc(rt)[0], t = P().memoizedState; + return [typeof l == "boolean" ? l : Xn(l), t]; + }, useSyncExternalStore: to, useId: No, useHostTransitionStatus: m0, useFormState: P1, useActionState: P1, useOptimistic: function(l, t) { + var u = P(); + return j !== null ? co(u, j, l, t) : (u.baseState = l, [l, u.queue.dispatch]); + }, useMemoCache: c0, useCacheRefresh: Do, useEffectEvent: ho }; + function yc(l, t, u, a) { + t = l.memoizedState, u = u(a, t), u = u == null ? t : L({}, t, u), l.memoizedState = u, l.lanes === 0 && (l.updateQueue.baseState = u); + } + var li = { enqueueSetState: function(l, t, u) { + l = l._reactInternals; + var a = jl(), n = tu(a); + n.payload = t, u != null && (n.callback = u), t = uu(l, n, a), t !== null && (Hl(t, l, a), nn(t, l, a)); + }, enqueueReplaceState: function(l, t, u) { + l = l._reactInternals; + var a = jl(), n = tu(a); + n.tag = 1, n.payload = t, u != null && (n.callback = u), t = uu(l, n, a), t !== null && (Hl(t, l, a), nn(t, l, a)); + }, enqueueForceUpdate: function(l, t) { + l = l._reactInternals; + var u = jl(), a = tu(u); + a.tag = 2, t != null && (a.callback = t), t = uu(l, a, u), t !== null && (Hl(t, l, u), nn(t, l, u)); + } }; + function tv(l, t, u, a, n, e, f) { + return l = l.stateNode, typeof l.shouldComponentUpdate == "function" ? l.shouldComponentUpdate(a, e, f) : t.prototype && t.prototype.isPureReactComponent ? !Tn(u, a) || !Tn(n, e) : true; + } + function uv(l, t, u, a) { + l = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(u, a), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(u, a), t.state !== l && li.enqueueReplaceState(t, t.state, null); + } + function Bu(l, t) { + var u = t; + if ("ref" in t) { + u = {}; + for (var a in t) a !== "ref" && (u[a] = t[a]); + } + if (l = l.defaultProps) { + u === t && (u = L({}, u)); + for (var n in l) u[n] === void 0 && (u[n] = l[n]); + } + return u; + } + function Ro(l) { + Qe(l); + } + function Yo(l) { + console.error(l); + } + function Bo(l) { + Qe(l); + } + function Fe(l, t) { + try { + var u = l.onUncaughtError; + u(t.value, { componentStack: t.stack }); + } catch (a) { + setTimeout(function() { + throw a; + }); + } + } + function av(l, t, u) { + try { + var a = l.onCaughtError; + a(u.value, { componentStack: u.stack, errorBoundary: t.tag === 1 ? t.stateNode : null }); + } catch (n) { + setTimeout(function() { + throw n; + }); + } + } + function ti(l, t, u) { + return u = tu(u), u.tag = 3, u.payload = { element: null }, u.callback = function() { + Fe(l, t); + }, u; + } + function qo(l) { + return l = tu(l), l.tag = 3, l; + } + function Go(l, t, u, a) { + var n = u.type.getDerivedStateFromError; + if (typeof n == "function") { + var e = a.value; + l.payload = function() { + return n(e); + }, l.callback = function() { + av(t, u, a); + }; + } + var f = u.stateNode; + f !== null && typeof f.componentDidCatch == "function" && (l.callback = function() { + av(t, u, a), typeof n != "function" && (eu === null ? eu = /* @__PURE__ */ new Set([this]) : eu.add(this)); + var c = a.stack; + this.componentDidCatch(a.value, { componentStack: c !== null ? c : "" }); + }); + } + function yg(l, t, u, a, n) { + if (u.flags |= 32768, a !== null && typeof a == "object" && typeof a.then == "function") { + if (t = u.alternate, t !== null && Cu(t, u, n, true), u = Tl.current, u !== null) { + switch (u.tag) { + case 31: + case 13: + case 19: + return zl === null ? af() : u.alternate === null && k === 0 && (k = 3), u.flags &= -257, u.flags |= 65536, u.lanes = n, a === Le ? u.flags |= 16384 : (t = u.updateQueue, t === null ? u.updateQueue = /* @__PURE__ */ new Set([a]) : t.add(a), Tc(l, a, n)), false; + case 22: + return u.flags |= 65536, a === Le ? u.flags |= 16384 : (t = u.updateQueue, t === null ? (t = { transitions: null, markerInstances: null, retryQueue: /* @__PURE__ */ new Set([a]) }, u.updateQueue = t) : (u = t.retryQueue, u === null ? t.retryQueue = /* @__PURE__ */ new Set([a]) : u.add(a)), Tc(l, a, n)), false; + } + throw Error(E(435, u.tag)); + } + return Tc(l, a, n), af(), false; + } + if (U) return t = Tl.current, t !== null ? ((t.flags & 65536) === 0 && (t.flags |= 256), t.flags |= 65536, t.lanes = n, a !== Lc && (l = Error(E(422), { cause: a }), sn($l(l, u)))) : (a !== Lc && (t = Error(E(423), { cause: a }), sn($l(t, u))), l = l.current.alternate, l.flags |= 65536, n &= -n, l.lanes |= n, a = $l(a, u), n = ti(l.stateNode, a, n), ic(l, n), k !== 4 && (k = 2)), false; + var e = Error(E(520), { cause: a }); + if (e = $l(e, u), mn === null ? mn = [e] : mn.push(e), k !== 4 && (k = 2), t === null) return true; + a = $l(a, u), u = t; + do { + switch (u.tag) { + case 3: + return u.flags |= 65536, l = n & -n, u.lanes |= l, l = ti(u.stateNode, a, l), ic(u, l), false; + case 1: + if (t = u.type, e = u.stateNode, (u.flags & 128) === 0 && (typeof t.getDerivedStateFromError == "function" || e !== null && typeof e.componentDidCatch == "function" && (eu === null || !eu.has(e)))) return u.flags |= 65536, n &= -n, u.lanes |= n, n = qo(n), Go(n, l, u, a), ic(u, n), false; + break; + case 22: + if (u.memoizedState !== null) return u.flags |= 65536, false; + } + u = u.return; + } while (u !== null); + return false; + } + var h0 = Error(E(461)), al = false; + function nl(l, t, u, a) { + t.child = l === null ? Fy(t, null, u, a) : Ru(t, l.child, u, a); + } + function nv(l, t, u, a, n) { + u = u.render; + var e = t.ref; + if ("ref" in a) { + var f = {}; + for (var c in a) c !== "ref" && (f[c] = a[c]); + } else f = a; + return Hu(t), a = a0(l, t, u, f, e, n), c = n0(), l !== null && !al ? (e0(l, t, n), Rt(l, t, n)) : (U && c && Sf(t), t.flags |= 1, nl(l, t, a, n), t.child); + } + function ev(l, t, u, a, n) { + if (l === null) { + var e = u.type; + return typeof e == "function" && !Wi(e) && e.defaultProps === void 0 && u.compare === null ? (t.tag = 15, t.type = e, Xo(l, t, e, a, n)) : (l = Ee(u.type, null, a, t, t.mode, n), l.ref = t.ref, l.return = t, t.child = l); + } + if (e = l.child, !S0(l, n)) { + var f = e.memoizedProps; + if (u = u.compare, u = u !== null ? u : Tn, u(f, a) && l.ref === t.ref) return Rt(l, t, n); + } + return t.flags |= 1, l = Dt(e, a), l.ref = t.ref, l.return = t, t.child = l; + } + function Xo(l, t, u, a, n) { + if (l !== null) { + var e = l.memoizedProps; + if (Tn(e, a) && l.ref === t.ref) if (al = false, t.pendingProps = a = e, S0(l, n)) (l.flags & 131072) !== 0 && (al = true); + else return t.lanes = l.lanes, Rt(l, t, n); + } + return ui(l, t, u, a, n); + } + function Qo(l, t, u, a) { + var n = a.children, e = l !== null ? l.memoizedState : null; + if (l === null && t.stateNode === null && (t.stateNode = { _visibility: 1, _pendingMarkers: null, _retryCache: null, _transitions: null }), a.mode === "hidden") { + if ((t.flags & 128) !== 0) { + if (e = e !== null ? e.baseLanes | u : u, l !== null) { + for (a = t.child = l.child, n = 0; a !== null; ) n = n | a.lanes | a.childLanes, a = a.sibling; + a = n & ~e; + } else a = 0, t.child = null; + return fv(l, t, e, u, a); + } + if ((u & 536870912) !== 0) t.memoizedState = { baseLanes: 0, cachePool: null }, l !== null && ze(t, e !== null ? e.cachePool : null), e !== null ? W1(t, e) : Fc(), ky(t); + else return a = t.lanes = 536870912, fv(l, t, e !== null ? e.baseLanes | u : u, u, a); + } else e !== null ? (ze(t, e.cachePool), W1(t, e), nu(), t.memoizedState = null) : (l !== null && ze(t, null), Fc(), nu()); + return nl(l, t, n, u), t.child; + } + function vn(l, t) { + return l !== null && l.tag === 22 || t.stateNode !== null || (t.stateNode = { _visibility: 1, _pendingMarkers: null, _retryCache: null, _transitions: null }), t.sibling; + } + function fv(l, t, u, a, n) { + var e = Ii(); + return e = e === null ? null : { parent: ul._currentValue, pool: e }, t.memoizedState = { baseLanes: u, cachePool: e }, l !== null && ze(t, null), Fc(), ky(t), l !== null && Cu(l, t, a, true), t.childLanes = n, null; + } + function _e(l, t) { + return t = Of({ mode: t.mode, children: t.children }, l.mode), t.ref = l.ref, l.child = t, t.return = l, t; + } + function cv(l, t, u) { + return Ru(t, l.child, null, u), l = _e(t, t.pendingProps), l.flags |= 2, ql(t), t.memoizedState = null, l; + } + function og(l, t, u) { + var a = t.pendingProps, n = (t.flags & 128) !== 0; + if (t.flags &= -129, l === null) { + if (U) { + if (a.mode === "hidden") return l = _e(t, a), t.lanes = 536870912, l.memoizedState = { baseLanes: 0, cachePool: null }, vn(null, l); + if ($c(t), (l = J) ? (l = Qm(l, Il), l = l !== null && l.data === "&" ? l : null, l !== null && (t.memoizedState = { dehydrated: l, treeContext: vu !== null ? { id: ht, overflow: gt } : null, retryLane: 536870912, hydrationErrors: null }, u = xy(l), u.return = t, t.child = u, yl = t, J = null)) : l = null, l === null) throw yu(t); + return t.lanes = 536870912, null; + } + return _e(t, a); + } + var e = l.memoizedState; + if (e !== null) { + var f = e.dehydrated; + if ($c(t), n) if (t.flags & 256) t.flags &= -257, t = cv(l, t, u); + else if (t.memoizedState !== null) t.child = l.child, t.flags |= 128, t = null; + else throw Error(E(558)); + else if (al || Cu(l, t, u, false), n = (u & l.childLanes) !== 0, al || n) { + if (ou.current === null) { + if (a = x, a !== null && (f = dy(a, u), f !== 0 && f !== e.retryLane)) throw e.retryLane = f, Vu(l, f), Hl(a, l, f), h0; + af(); + } + t = cv(l, t, u); + } else l = e.treeContext, J = kl(f.nextSibling), yl = t, U = true, lu = null, Il = false, l !== null && Ky(t, l), t = _e(t, a), t.flags |= 134221824; + return t; + } + return l = Dt(l.child, { mode: a.mode, children: a.children }), l.ref = t.ref, t.child = l, l.return = t, l; + } + function Wu(l, t) { + var u = t.ref; + if (u === null) l !== null && l.ref !== null && (t.flags |= 4194816); + else { + if (typeof u != "function" && typeof u != "object") throw Error(E(284)); + (l === null || l.ref !== u) && (t.flags |= 4194816); + } + } + function ui(l, t, u, a, n) { + return Hu(t), u = a0(l, t, u, a, void 0, n), a = n0(), l !== null && !al ? (e0(l, t, n), Rt(l, t, n)) : (U && a && Sf(t), t.flags |= 1, nl(l, t, u, n), t.child); + } + function iv(l, t, u, a, n, e) { + return Hu(t), t.updateQueue = null, u = lo(t, a, u, n), Py(l), a = n0(), l !== null && !al ? (e0(l, t, e), Rt(l, t, e)) : (U && a && Sf(t), t.flags |= 1, nl(l, t, u, e), t.child); + } + function vv(l, t, u, a, n) { + if (Hu(t), t.stateNode === null) { + var e = ea, f = u.contextType; + typeof f == "object" && f !== null && (e = dl(f)), e = new u(a, e), t.memoizedState = e.state !== null && e.state !== void 0 ? e.state : null, e.updater = li, t.stateNode = e, e._reactInternals = t, e = t.stateNode, e.props = a, e.state = t.memoizedState, e.refs = {}, Pi(t), f = u.contextType, e.context = typeof f == "object" && f !== null ? dl(f) : ea, e.state = t.memoizedState, f = u.getDerivedStateFromProps, typeof f == "function" && (yc(t, u, f, a), e.state = t.memoizedState), typeof u.getDerivedStateFromProps == "function" || typeof e.getSnapshotBeforeUpdate == "function" || typeof e.UNSAFE_componentWillMount != "function" && typeof e.componentWillMount != "function" || (f = e.state, typeof e.componentWillMount == "function" && e.componentWillMount(), typeof e.UNSAFE_componentWillMount == "function" && e.UNSAFE_componentWillMount(), f !== e.state && li.enqueueReplaceState(e, e.state, null), fn(t, a, e, n), en(), e.state = t.memoizedState), typeof e.componentDidMount == "function" && (t.flags |= 4194308), a = true; + } else if (l === null) { + e = t.stateNode; + var c = t.memoizedProps, i = Bu(u, c); + e.props = i; + var y = e.context, g = u.contextType; + f = ea, typeof g == "object" && g !== null && (f = dl(g)); + var T = u.getDerivedStateFromProps; + g = typeof T == "function" || typeof e.getSnapshotBeforeUpdate == "function", c = t.pendingProps !== c, g || typeof e.UNSAFE_componentWillReceiveProps != "function" && typeof e.componentWillReceiveProps != "function" || (c || y !== f) && uv(t, e, a, f), pt = false; + var o = t.memoizedState; + e.state = o, fn(t, a, e, n), en(), y = t.memoizedState, c || o !== y || pt ? (typeof T == "function" && (yc(t, u, T, a), y = t.memoizedState), (i = pt || tv(t, u, i, a, o, y, f)) ? (g || typeof e.UNSAFE_componentWillMount != "function" && typeof e.componentWillMount != "function" || (typeof e.componentWillMount == "function" && e.componentWillMount(), typeof e.UNSAFE_componentWillMount == "function" && e.UNSAFE_componentWillMount()), typeof e.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof e.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = a, t.memoizedState = y), e.props = a, e.state = y, e.context = f, a = i) : (typeof e.componentDidMount == "function" && (t.flags |= 4194308), a = false); + } else { + e = t.stateNode, wc(l, t), f = t.memoizedProps, g = Bu(u, f), e.props = g, T = t.pendingProps, o = e.context, y = u.contextType, i = ea, typeof y == "object" && y !== null && (i = dl(y)), c = u.getDerivedStateFromProps, (y = typeof c == "function" || typeof e.getSnapshotBeforeUpdate == "function") || typeof e.UNSAFE_componentWillReceiveProps != "function" && typeof e.componentWillReceiveProps != "function" || (f !== T || o !== i) && uv(t, e, a, i), pt = false, o = t.memoizedState, e.state = o, fn(t, a, e, n), en(); + var h = t.memoizedState; + f !== T || o !== h || pt || l !== null && l.dependencies !== null && xe(l.dependencies) ? (typeof c == "function" && (yc(t, u, c, a), h = t.memoizedState), (g = pt || tv(t, u, g, a, o, h, i) || l !== null && l.dependencies !== null && xe(l.dependencies)) ? (y || typeof e.UNSAFE_componentWillUpdate != "function" && typeof e.componentWillUpdate != "function" || (typeof e.componentWillUpdate == "function" && e.componentWillUpdate(a, h, i), typeof e.UNSAFE_componentWillUpdate == "function" && e.UNSAFE_componentWillUpdate(a, h, i)), typeof e.componentDidUpdate == "function" && (t.flags |= 4), typeof e.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof e.componentDidUpdate != "function" || f === l.memoizedProps && o === l.memoizedState || (t.flags |= 4), typeof e.getSnapshotBeforeUpdate != "function" || f === l.memoizedProps && o === l.memoizedState || (t.flags |= 1024), t.memoizedProps = a, t.memoizedState = h), e.props = a, e.state = h, e.context = i, a = g) : (typeof e.componentDidUpdate != "function" || f === l.memoizedProps && o === l.memoizedState || (t.flags |= 4), typeof e.getSnapshotBeforeUpdate != "function" || f === l.memoizedProps && o === l.memoizedState || (t.flags |= 1024), a = false); + } + return e = a, Wu(l, t), a = (t.flags & 128) !== 0, e || a ? (e = t.stateNode, u = a && typeof u.getDerivedStateFromError != "function" ? null : e.render(), t.flags |= 1, l !== null && a ? (t.child = Ru(t, l.child, null, n), t.child = Ru(t, null, u, n)) : nl(l, t, u, n), t.memoizedState = e.state, l = t.child) : l = Rt(l, t, n), l; + } + function yv(l, t, u, a) { + return Uu(), t.flags |= 256, nl(l, t, u, a), t.child; + } + var ai = { dehydrated: null, treeContext: null, retryLane: 0, hydrationErrors: null }; + function ni(l) { + return { baseLanes: l, cachePool: Jy() }; + } + function ei(l, t, u) { + return l = l !== null ? l.childLanes & ~u : 0, t && (l |= Xl), l; + } + function Vo(l, t, u) { + var a = t.pendingProps, n = false, e = (t.flags & 128) !== 0, f; + if ((f = e) || (f = l !== null && l.memoizedState === null ? false : (gl.current & 2) !== 0), f && (n = true, t.flags &= -129), f = (t.flags & 32) !== 0, t.flags &= -33, l === null) { + if (U) { + if (n ? au(t) : nu(), (l = J) ? (l = Qm(l, Il), l = l !== null && l.data !== "&" ? l : null, l !== null && (t.memoizedState = { dehydrated: l, treeContext: vu !== null ? { id: ht, overflow: gt } : null, retryLane: 536870912, hydrationErrors: null }, u = xy(l), u.return = t, t.child = u, yl = t, J = null)) : l = null, l === null) throw yu(t); + return U0(l) ? t.lanes = 32 : t.lanes = 536870912, null; + } + return e = a.children, a = a.fallback, n ? (nu(), n = t.mode, e = Of({ mode: "hidden", children: e }, n), a = Au(a, n, u, null), e.return = t, a.return = t, e.sibling = a, t.child = e, a = t.child, a.memoizedState = ni(u), a.childLanes = ei(l, f, u), t.memoizedState = ai, vn(null, a)) : (au(t), g0(t, e)); + } + var c = l.memoizedState; + if (c !== null) { + var i = c.dehydrated; + if (i !== null) return mg(l, t, e, f, a, i, c, u); + } + return n ? (nu(), n = a.fallback, e = t.mode, c = l.child, i = c.sibling, a = Dt(c, { mode: "hidden", children: a.children }), a.subtreeFlags = c.subtreeFlags & 1206910976, i !== null ? n = Dt(i, n) : (n = Au(n, e, u, null), n.flags |= 2), n.return = t, a.return = t, a.sibling = n, t.child = a, vn(null, a), a = t.child, n = l.child.memoizedState, n === null ? n = ni(u) : (e = n.cachePool, e !== null ? (c = ul._currentValue, e = e.parent !== c ? { parent: c, pool: c } : e) : e = Jy(), n = { baseLanes: n.baseLanes | u, cachePool: e }), a.memoizedState = n, a.childLanes = ei(l, f, u), t.memoizedState = ai, vn(l.child, a)) : (au(t), u = l.child, l = u.sibling, u = Dt(u, { mode: "visible", children: a.children }), u.return = t, u.sibling = null, l !== null && (f = t.deletions, f === null ? (t.deletions = [l], t.flags |= 16) : f.push(l)), t.child = u, t.memoizedState = null, u); + } + function g0(l, t) { + return t = Of({ mode: "visible", children: t }, l.mode), t.return = l, l.child = t; + } + function Of(l, t) { + return l = Cl(22, l, null, t), l.lanes = 0, l; + } + function ne(l, t, u) { + return Ru(t, l.child, null, u), l = g0(t, t.pendingProps.children), l.flags |= 2, t.memoizedState = null, l; + } + function mg(l, t, u, a, n, e, f, c) { + if (u) return t.flags & 256 ? (au(t), t.flags &= -257, ne(l, t, c)) : t.memoizedState !== null ? (nu(), t.child = l.child, t.flags |= 128, null) : (nu(), e = n.fallback, f = t.mode, n = Of({ mode: "visible", children: n.children }, f), e = Au(e, f, c, null), e.flags |= 2, n.return = t, e.return = t, n.sibling = e, t.child = n, Ru(t, l.child, null, c), n = t.child, n.memoizedState = ni(c), n.childLanes = ei(l, a, c), t.memoizedState = ai, vn(null, n)); + if (au(t), U0(e)) { + if (a = e.nextSibling && e.nextSibling.dataset, a) var i = a.dgst; + return a = i, a !== "" && (n = Error(E(419)), n.stack = "", n.digest = a, sn({ value: n, source: null, stack: null })), ne(l, t, c); + } + if (al || Cu(l, t, c, false), a = (c & l.childLanes) !== 0, al || a) { + if (ou.current !== null) return ne(l, t, c); + if (a = x, a !== null && (n = dy(a, c), n !== 0 && n !== f.retryLane)) throw f.retryLane = n, Vu(l, n), Hl(a, l, n), h0; + return Hi(e) || af(), ne(l, t, c); + } + return Hi(e) ? (t.flags |= 192, t.child = l.child, null) : (l = f.treeContext, J = kl(e.nextSibling), yl = t, U = true, lu = null, Il = false, l !== null && Ky(t, l), t = g0(t, n.children), t.flags |= 134221824, t); + } + function ov(l, t, u) { + l.lanes |= t; + var a = l.alternate; + a !== null && (a.lanes |= t), se(l.return, t, u); + } + function mv(l) { + for (var t = null; l !== null; ) { + var u = l.alternate; + u !== null && pe(u) === null && (t = l), l = l.sibling; + } + return t; + } + function ee(l, t, u, a, n, e) { + var f = l.memoizedState; + f === null ? l.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: a, tail: u, tailMode: n, treeForkCount: e } : (f.isBackwards = t, f.rendering = null, f.renderingStartTime = 0, f.last = a, f.tail = u, f.tailMode = n, f.treeForkCount = e); + } + function oc(l) { + var t = l.child; + for (l.child = null; t !== null; ) { + var u = t.sibling; + t.sibling = l.child, l.child = t, t = u; + } + } + function fi(l, t, u) { + var a = t.pendingProps, n = a.revealOrder, e = a.tail; + a = a.children; + var f = gl.current; + if (t.flags & 128) return bn(t, f), null; + var c = (f & 2) !== 0; + if (c ? (f = f & 1 | 2, t.flags |= 128) : f &= 1, bn(t, f), n === "backwards" && l !== null ? (oc(l), nl(l, t, a, u), oc(l)) : nl(l, t, a, u), a = U ? En : 0, !c && l !== null && (l.flags & 128) !== 0) l: for (l = t.child; l !== null; ) { + if (l.tag === 13) l.memoizedState !== null && ov(l, u, t); + else if (l.tag === 19) ov(l, u, t); + else if (l.child !== null) { + l.child.return = l, l = l.child; + continue; + } + if (l === t) break l; + for (; l.sibling === null; ) { + if (l.return === null || l.return === t) break l; + l = l.return; + } + l.sibling.return = l.return, l = l.sibling; + } + switch (n) { + case "backwards": + u = mv(t.child), u === null ? (n = t.child, t.child = null) : (n = u.sibling, u.sibling = null, oc(t)), ee(t, true, n, null, e, a); + break; + case "unstable_legacy-backwards": + for (u = null, n = t.child, t.child = null; n !== null; ) { + if (l = n.alternate, l !== null && pe(l) === null) { + t.child = n; + break; + } + l = n.sibling, n.sibling = u, u = n, n = l; + } + ee(t, true, u, null, e, a); + break; + case "together": + ee(t, false, null, null, void 0, a); + break; + case "independent": + t.memoizedState = null; + break; + default: + u = mv(t.child), u === null ? (n = t.child, t.child = null) : (n = u.sibling, u.sibling = null), ee(t, false, n, u, e, a); + } + return t.child; + } + function dv(l, t, u) { + var a = t.pendingProps; + return Ft(t, t.type, a.value), nl(l, t, a.children, u), t.child; + } + function Rt(l, t, u) { + if (l !== null && (t.dependencies = l.dependencies), du |= t.lanes, (u & t.childLanes) === 0) if (l !== null) { + if (Cu(l, t, u, false), (u & t.childLanes) === 0) return null; + } else return null; + if (l !== null && t.child !== l.child) throw Error(E(153)); + if (t.child !== null) { + for (l = t.child, u = Dt(l, l.pendingProps), t.child = u, u.return = t; l.sibling !== null; ) l = l.sibling, u = u.sibling = Dt(l, l.pendingProps), u.return = t; + u.sibling = null; + } + return t.child; + } + function S0(l, t) { + return (l.lanes & t) !== 0 ? true : (l = l.dependencies, !!(l !== null && xe(l))); + } + function dg(l, t, u) { + switch (t.tag) { + case 3: + Be(t, t.stateNode.containerInfo), Ft(t, ul, l.memoizedState.cache), Uu(); + break; + case 27: + case 5: + Yc(t); + break; + case 4: + Be(t, t.stateNode.containerInfo); + break; + case 10: + Ft(t, t.type, t.memoizedProps.value); + break; + case 31: + if (t.memoizedState !== null) return t.flags |= 128, $c(t), null; + break; + case 13: + var a = t.memoizedState; + if (a !== null) { + if (a.dehydrated !== null) return au(t), t.flags |= 128, null; + a = Cu(l, t, u, false); + var n = t.child.childLanes; + return a || (u & n) !== 0 ? Vo(l, t, u) : (au(t), l = Rt(l, t, u), l !== null ? l.sibling : null); + } + au(t); + break; + case 19: + if (t.flags & 128) return fi(l, t, u); + if (n = (l.flags & 128) !== 0, a = (u & t.childLanes) !== 0, a || (Cu(l, t, u, false), a = (u & t.childLanes) !== 0), n) { + if (a) return fi(l, t, u); + t.flags |= 128; + } + if (n = t.memoizedState, n !== null && (n.rendering = null, n.tail = null, n.lastEffect = null), bn(t, gl.current), a) break; + return null; + case 22: + return t.lanes = 0, Qo(l, t, u, t.pendingProps); + case 24: + Ft(t, ul, l.memoizedState.cache); + } + return Rt(l, t, u); + } + function Zo(l, t, u) { + if (l !== null) if (l.memoizedProps !== t.pendingProps) al = true; + else { + if (!S0(l, u) && (t.flags & 128) === 0) return al = false, dg(l, t, u); + al = (l.flags & 131072) !== 0; + } + else al = false, U && (t.flags & 1048576) !== 0 && Ly(t, En, t.index); + switch (t.lanes = 0, t.tag) { + case 16: + l: { + var a = t.pendingProps; + if (l = su(t.elementType), t.type = l, typeof l == "function") Wi(l) ? (a = Bu(l, a), t.tag = 1, t = vv(null, t, l, a, u)) : (t.tag = 0, t = ui(null, t, l, a, u)); + else { + if (l != null) { + var n = l.$$typeof; + if (n === qi) { + t.tag = 11, t = nv(null, t, l, a, u); + break l; + } else if (n === Gi) { + t.tag = 14, t = ev(null, t, l, a, u); + break l; + } else if (n === mt) { + t.tag = 10, t.type = l, t = dv(null, t, u); + break l; + } + } + throw t = rc(l) || l, Error(E(306, t, "")); + } + } + return t; + case 0: + return ui(l, t, t.type, t.pendingProps, u); + case 1: + return a = t.type, n = Bu(a, t.pendingProps), vv(l, t, a, n, u); + case 3: + l: { + if (Be(t, t.stateNode.containerInfo), l === null) throw Error(E(387)); + a = t.pendingProps; + var e = t.memoizedState; + n = e.element, wc(l, t), fn(t, a, null, u); + var f = t.memoizedState; + if (a = f.cache, Ft(t, ul, a), a !== e.cache && pc(t, [ul], u, true), en(), a = f.element, e.isDehydrated) if (e = { element: a, isDehydrated: false, cache: f.cache }, t.updateQueue.baseState = e, t.memoizedState = e, t.flags & 256) { + t = yv(l, t, a, u); + break l; + } else if (a !== n) { + n = $l(Error(E(424)), t), sn(n), t = yv(l, t, a, u); + break l; + } else { + switch (l = t.stateNode.containerInfo, l.nodeType) { + case 9: + l = l.body; + break; + default: + l = l.nodeName === "HTML" ? l.ownerDocument.body : l; + } + for (J = kl(l.firstChild), yl = t, U = true, lu = null, Il = true, u = Fy(t, null, a, u), t.child = u; u; ) u.flags = u.flags & -3 | 134221824, u = u.sibling; + } + else { + if (Uu(), a === n) { + t = Rt(l, t, u); + break l; + } + nl(l, t, a, u); + } + t = t.child; + } + return t; + case 26: + return Wu(l, t), l === null ? (u = Zv(t.type, null, t.pendingProps, null)) ? t.memoizedState = u : U || (t.stateNode = Cm(t.type, t.pendingProps, Pt.current, t)) : t.memoizedState = Zv(t.type, l.memoizedProps, t.pendingProps, l.memoizedState), null; + case 27: + return Yc(t), l === null && U && (a = t.stateNode = Vm(t.type, t.pendingProps, Pt.current), yl = t, Il = true, n = J, gu(t.type) ? (ri = n, J = kl(a.firstChild)) : J = n), nl(l, t, t.pendingProps.children, u), Wu(l, t), l === null && (t.flags |= 4194304), t.child; + case 5: + return l === null && U && ((n = a = J) && (a = eS(a, t.type, t.pendingProps, Il), a !== null ? (t.stateNode = a, yl = t, J = kl(a.firstChild), Il = false, n = true) : n = false), n || yu(t)), Yc(t), n = t.type, e = t.pendingProps, f = l !== null ? l.memoizedProps : null, a = e.children, Mi(n, e) ? a = null : f !== null && Mi(n, f) && (t.flags |= 32), t.memoizedState !== null && (n = a0(l, t, ug, null, null, u), Ca._currentValue = n), Wu(l, t), nl(l, t, a, u), t.child; + case 6: + return l === null && U && ((l = u = J) && (u = fS(u, t.pendingProps, Il), u !== null ? (t.stateNode = u, yl = t, J = null, l = true) : l = false), l || yu(t)), null; + case 13: + return Vo(l, t, u); + case 4: + return Be(t, t.stateNode.containerInfo), a = t.pendingProps, l === null ? t.child = Ru(t, null, a, u) : nl(l, t, a, u), t.child; + case 11: + return nv(l, t, t.type, t.pendingProps, u); + case 7: + return a = t.pendingProps, Wu(l, t), nl(l, t, a, u), t.child; + case 8: + return nl(l, t, t.pendingProps.children, u), t.child; + case 12: + return nl(l, t, t.pendingProps.children, u), t.child; + case 10: + return dv(l, t, u); + case 9: + return n = t.type._context, a = t.pendingProps.children, Hu(t), n = dl(n), a = a(n), t.flags |= 1, nl(l, t, a, u), t.child; + case 14: + return ev(l, t, t.type, t.pendingProps, u); + case 15: + return Xo(l, t, t.type, t.pendingProps, u); + case 19: + return fi(l, t, u); + case 31: + return og(l, t, u); + case 22: + return Qo(l, t, u, t.pendingProps); + case 24: + return Hu(t), a = dl(ul), l === null ? (n = Ii(), n === null && (n = x, e = $i(), n.pooledCache = e, e.refCount++, e !== null && (n.pooledCacheLanes |= u), n = e), t.memoizedState = { parent: a, cache: n }, Pi(t), Ft(t, ul, n)) : ((l.lanes & u) !== 0 && (wc(l, t), fn(t, null, null, u), en()), n = l.memoizedState, e = t.memoizedState, n.parent !== a ? (n = { parent: a, cache: a }, t.memoizedState = n, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = n), Ft(t, ul, a)) : (a = e.cache, Ft(t, ul, a), a !== n.cache && pc(t, [ul], u, true))), nl(l, t, t.pendingProps.children, u), t.child; + case 30: + return t.stateNode === null && (t.stateNode = { autoName: null, paired: null, clones: null, ref: null }), a = t.pendingProps, a.name != null && a.name !== "auto" ? t.flags |= l === null ? 18882560 : 18874368 : U && Sf(t), l !== null && l.memoizedProps.name !== a.name ? t.flags |= 4194816 : Wu(l, t), nl(l, t, a.children, u), t.child; + case 29: + throw t.pendingProps; + } + throw Error(E(156, t.tag)); + } + function _t(l) { + l.flags |= 4; + } + function mc(l, t, u, a, n) { + var e; + if ((e = (l.mode & 32) !== 0) && (e = u === null ? Lv(t, a) : Lv(t, a) && (a.src !== u.src || a.srcSet !== u.srcSet)), e) { + if (l.flags |= 16777216, (n & 335544128) === n) if (l.stateNode.complete) l.flags |= 8192; + else if (gm()) l.flags |= 8192; + else throw Du = Le, ki; + } else l.flags &= -16777217; + } + function hv(l, t) { + if (t.type !== "stylesheet" || (t.state.loading & 4) !== 0) l.flags &= -16777217; + else if (l.flags |= 16777216, !Lm(t)) if (gm()) l.flags |= 8192; + else throw Du = Le, ki; + } + function fe(l, t) { + t !== null && (l.flags |= 4), l.flags & 16384 && (t = l.tag !== 22 ? yy() : 536870912, l.lanes |= t, _a |= t); + } + function pa(l, t) { + if (!U) switch (l.tailMode) { + case "visible": + break; + case "collapsed": + for (var u = l.tail, a = null; u !== null; ) u.alternate !== null && (a = u), u = u.sibling; + a === null ? t || l.tail === null ? l.tail = null : l.tail.sibling = null : a.sibling = null; + break; + default: + for (t = l.tail, u = null; t !== null; ) t.alternate !== null && (u = t), t = t.sibling; + u === null ? l.tail = null : u.sibling = null; + } + } + function p(l) { + var t = l.alternate !== null && l.alternate.child === l.child, u = 0, a = 0; + if (t) for (var n = l.child; n !== null; ) u |= n.lanes | n.childLanes, a |= n.subtreeFlags & 1206910976, a |= n.flags & 1206910976, n.return = l, n = n.sibling; + else for (n = l.child; n !== null; ) u |= n.lanes | n.childLanes, a |= n.subtreeFlags, a |= n.flags, n.return = l, n = n.sibling; + return l.subtreeFlags |= a, l.childLanes = u, t; + } + function hg(l, t, u) { + var a = t.pendingProps; + switch (Fi(t), t.tag) { + case 16: + case 15: + case 0: + case 11: + case 7: + case 8: + case 12: + case 9: + case 14: + return p(t), null; + case 1: + return p(t), null; + case 3: + return u = t.stateNode, a = null, l !== null && (a = l.memoizedState.cache), t.memoizedState.cache !== a && (t.flags |= 2048), Mt(ul), sa(), u.pendingContext && (u.context = u.pendingContext, u.pendingContext = null), (l === null || l.child === null) && (Ju(t) ? _t(t) : l === null || l.memoizedState.isDehydrated && (t.flags & 256) === 0 || (t.flags |= 1024, cc())), p(t), null; + case 26: + var n = t.type, e = t.memoizedState; + return l === null ? (_t(t), e !== null ? (p(t), hv(t, e)) : (p(t), mc(t, n, null, a, u))) : e ? e !== l.memoizedState ? (_t(t), p(t), hv(t, e)) : (p(t), t.flags &= -16777217) : (l = l.memoizedProps, l !== a && _t(t), p(t), mc(t, n, l, a, u)), null; + case 27: + if (qe(t), u = Pt.current, n = t.type, l !== null && t.stateNode != null) l.memoizedProps !== a && _t(t); + else { + if (!a) { + if (t.stateNode === null) throw Error(E(166)); + return p(t), t.subtreeFlags &= -33554433, null; + } + l = St.current, Ju(t) ? j1(t, l) : (l = Vm(n, a, u), t.stateNode = l, _t(t)); + } + return p(t), t.subtreeFlags &= -33554433, null; + case 5: + if (qe(t), n = t.type, l !== null && t.stateNode != null) l.memoizedProps !== a && _t(t); + else { + if (!a) { + if (t.stateNode === null) throw Error(E(166)); + return p(t), t.subtreeFlags &= -33554433, null; + } + if (e = St.current, Ju(t)) j1(t, e); + else { + var f = Nn(Pt.current); + switch (e) { + case 1: + e = f.createElementNS("http://www.w3.org/2000/svg", n); + break; + case 2: + e = f.createElementNS("http://www.w3.org/1998/Math/MathML", n); + break; + default: + switch (n) { + case "svg": + e = f.createElementNS("http://www.w3.org/2000/svg", n); + break; + case "math": + e = f.createElementNS("http://www.w3.org/1998/Math/MathML", n); + break; + case "script": + e = f.createElement("div"), e.innerHTML = "