@songtonyli/dsh-cli 0.1.89 → 0.1.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/dsh.mjs +1 -1
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +26 -13
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +6 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +51 -1
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js +4 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/parseArn.js +4 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.js +18 -9
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +6 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js +51 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/util/util-arn-parser/arn.js +2 -1
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +4 -2
- package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js +2 -1
- package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js +2 -1
- package/node_modules/@aws-sdk/middleware-eventstream/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-websocket/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +3 -3
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
- package/node_modules/@deepseek-ai/cordis/README.md +6 -2
- package/node_modules/@deepseek-ai/cordis/lib/index.js +955 -909
- package/node_modules/@deepseek-ai/cordis/src/context.ts +1 -1
- package/node_modules/@deepseek-ai/cordis/src/events.ts +81 -62
- package/node_modules/@deepseek-ai/cordis/src/fiber.ts +95 -58
- package/node_modules/@deepseek-ai/cordis/src/logger.ts +10 -5
- package/node_modules/@deepseek-ai/cordis/src/reflect.ts +37 -19
- package/node_modules/@deepseek-ai/cordis/src/utils.ts +28 -21
- package/node_modules/@deepseek-ai/cordis-plugin-include/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/cordis-plugin-include/src/index.ts +2 -6
- package/node_modules/@deepseek-ai/cordis-plugin-loader/README.md +4 -0
- package/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js +40 -39
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/entry.ts +13 -13
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/group.ts +1 -3
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/isolate.ts +10 -7
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/index.ts +17 -20
- package/node_modules/@deepseek-ai/dsh/package.json +0 -1
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +5 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/host-plugin.md +13 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/mount.js +2 -2
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.browser.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.node.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/remote-events.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +7464 -2004
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +77 -92
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +47 -3
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +8 -19
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-modules/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +37 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +19 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +8 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +8 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +146 -30
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +295 -274
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.i18n.yaml +40 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.md +100 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.zh.md +100 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/lib/client.js +1445 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/de.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/en.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/es.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/fr.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/ja.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/pt.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/ru.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/zh.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/package.json +61 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +119 -55
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +19 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/README.i18n.yaml +40 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/README.md +92 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/README.zh.md +92 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/lib/client.js +1875 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/de.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/en.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/es.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/fr.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/ja.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/pt.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/ru.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/zh.json +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/package.json +65 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.md +9 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +9 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +91 -26
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +431 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +13 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +6 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +6 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +111 -48
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/lib/client.js +2 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/client.js +28 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +19 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +25 -39
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +23 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +10359 -3743
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +1 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +76 -58
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +46 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +7 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +7 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +349 -251
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +5 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.i18n.yaml +20 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.md +44 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.zh.md +44 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +1571 -472
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +15 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +15 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +435 -52
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +195 -59
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +5 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +127 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +16 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +17 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +523 -480
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +4 -2
- package/node_modules/@deepseek-ai/dsh-commands/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-commands/README.md +3 -0
- package/node_modules/@deepseek-ai/dsh-commands/README.zh.md +3 -0
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-commands/lib/types/builtin.js +39 -0
- package/node_modules/@deepseek-ai/dsh-commands/package.json +5 -1
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.i18n.yaml +4 -10
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +233 -56
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +2 -2
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.i18n.yaml +16 -19
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.md +11 -22
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.zh.md +11 -22
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/index.js +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.md +18 -10
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.zh.md +20 -12
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/client.js +3338 -297
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/index.js +159 -52
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.host.js +298 -18
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.remote-client.js +267 -13
- package/node_modules/@deepseek-ai/dsh-experimental-forge/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-forge/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-experimental-forge/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-experimental-forge/lib/index.js +48 -6
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/README.md +9 -5
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/README.zh.md +9 -5
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/lib/index.js +301 -31
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/package.json +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/client.js +5 -58
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/index.js +5 -2
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +77 -92
- package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/deepseek.js +2 -2
- package/node_modules/@deepseek-ai/dsh-fs/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-fs/README.md +15 -7
- package/node_modules/@deepseek-ai/dsh-fs/README.zh.md +15 -7
- package/node_modules/@deepseek-ai/dsh-fs/lib/index.js +21 -2
- package/node_modules/@deepseek-ai/dsh-fs/package.json +3 -0
- package/node_modules/@deepseek-ai/dsh-fs-local/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-fs-local/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-fs-local/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-fs-local/lib/index.js +156 -30
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +2 -1
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/lib/index.js +12 -4
- package/node_modules/@deepseek-ai/dsh-fs-patch/LICENSE +235 -0
- package/node_modules/@deepseek-ai/dsh-fs-patch/README.i18n.yaml +40 -0
- package/node_modules/@deepseek-ai/dsh-fs-patch/README.md +112 -0
- package/node_modules/@deepseek-ai/dsh-fs-patch/README.zh.md +112 -0
- package/node_modules/@deepseek-ai/dsh-fs-patch/lib/index.js +275 -0
- package/node_modules/@deepseek-ai/dsh-fs-patch/package.json +35 -0
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/lib/index.js +24 -1
- package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-hmr/lib/index.js +4 -3
- package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +9 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +4 -3
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +5 -2
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +7 -0
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +7 -0
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +27 -11
- package/node_modules/@deepseek-ai/dsh-official-bundles/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-official-bundles/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-official-bundles/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-official-bundles/lib/index.js +86 -52
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +32 -12
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +31 -31
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +27 -27
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/github-connection.js +13 -3
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +14 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-spec.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +2 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +72 -39
- package/node_modules/@deepseek-ai/dsh-schedule/README.md +180 -56
- package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +185 -61
- package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +1270 -992
- package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.host.js +1842 -274
- package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.remote-client.js +1712 -194
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/delivery-history.js +7 -20
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/domain.js +199 -655
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/index.js +452 -204
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/runtime.js +389 -70
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/storage.js +85 -16
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/types.js +1 -1
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/update.js +72 -144
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +5 -2
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +7 -4
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +7 -4
- package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +52 -4
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.md +77 -1
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.zh.md +77 -1
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +306 -2
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +15 -0
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.md +10 -2
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.zh.md +10 -2
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +2 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.i18n.yaml +9 -6
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.md +20 -1
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.zh.md +20 -1
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/index.js +91 -57
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/types/index.js +100 -66
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +947 -917
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title-llm/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-title-llm/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title-llm/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-settings/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-settings/lib/types/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +2 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +260 -92
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +38 -20
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +63 -5
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +63 -5
- package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +784 -27
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +4 -1
- package/node_modules/@deepseek-ai/dsh-tool-schedule/README.i18n.yaml +50 -32
- package/node_modules/@deepseek-ai/dsh-tool-schedule/README.md +47 -20
- package/node_modules/@deepseek-ai/dsh-tool-schedule/README.zh.md +47 -20
- package/node_modules/@deepseek-ai/dsh-tool-schedule/lib/index.js +477 -445
- package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +7 -2
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +24 -8
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-util-time/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-util-time/README.md +11 -7
- package/node_modules/@deepseek-ai/dsh-util-time/README.zh.md +11 -7
- package/node_modules/@deepseek-ai/dsh-util-time/lib/index.js +1020 -3
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +4 -2
- package/node_modules/@deepseek-ai/dsh-util-values/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-util-values/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-util-values/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-util-values/lib/index.js +77 -92
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +5 -1
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +3 -1
- package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BCbHmUSs.js +197 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BUDGJY4R.css +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-workspace-changes/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-workspace-changes/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-workspace-changes/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/index.js +5 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/index.js +5 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +4 -1
- package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.cjs +16917 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.mjs +15193 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.cjs +325 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.mjs +295 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.cjs +4642 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.mjs +4155 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.cjs +2495 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.mjs +7 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/index.cjs +662 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/index.mjs +6 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/internal/utils.cjs +20 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/internal/utils.mjs +20 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.cjs +1326 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.mjs +1188 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.cjs +1947 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.mjs +1756 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.cjs +9 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.mjs +9 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.cjs +362 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.mjs +312 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.cjs +2508 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.mjs +2236 -0
- package/node_modules/@opentelemetry/semantic-conventions/package.json +22 -35
- package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -16
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +26 -13
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +10 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +18 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +18 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +42 -24
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +20 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +24 -12
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +13 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +7 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +13 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
- package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +19 -7
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +11 -6
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +6 -0
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +23 -11
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -2
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +5 -1
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +6 -3
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -1
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/encodeurl/README.md +14 -0
- package/node_modules/encodeurl/index.js +5 -10
- package/node_modules/encodeurl/package.json +7 -3
- package/node_modules/hast-util-to-html/lib/handle/comment.js +6 -1
- package/node_modules/hast-util-to-html/lib/handle/doctype.js +1 -1
- package/node_modules/hast-util-to-html/lib/handle/element.js +33 -9
- package/node_modules/hast-util-to-html/lib/handle/index.js +1 -1
- package/node_modules/hast-util-to-html/lib/handle/raw.js +1 -1
- package/node_modules/hast-util-to-html/lib/handle/root.js +1 -1
- package/node_modules/hast-util-to-html/lib/handle/text.js +1 -1
- package/node_modules/hast-util-to-html/lib/index.js +9 -4
- package/node_modules/hast-util-to-html/lib/omission/closing.js +7 -5
- package/node_modules/hast-util-to-html/lib/omission/omission.js +0 -1
- package/node_modules/hast-util-to-html/lib/omission/opening.js +4 -2
- package/node_modules/hast-util-to-html/lib/omission/util/siblings.js +3 -0
- package/node_modules/hast-util-to-html/package.json +5 -23
- package/node_modules/hast-util-to-html/readme.md +3 -2
- package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
- package/node_modules/jose/package.json +1 -1
- package/node_modules/rrule/LICENCE +65 -0
- package/node_modules/rrule/README.md +837 -0
- package/node_modules/rrule/dist/es5/rrule.js +3803 -0
- package/node_modules/rrule/dist/es5/rrule.min.js +2 -0
- package/node_modules/rrule/dist/esm/cache.js +95 -0
- package/node_modules/rrule/dist/esm/callbackiterresult.js +24 -0
- package/node_modules/rrule/dist/esm/datetime.js +186 -0
- package/node_modules/rrule/dist/esm/dateutil.js +161 -0
- package/node_modules/rrule/dist/esm/datewithzone.js +36 -0
- package/node_modules/rrule/dist/esm/helpers.js +118 -0
- package/node_modules/rrule/dist/esm/index.js +22 -0
- package/node_modules/rrule/dist/esm/iter/index.js +138 -0
- package/node_modules/rrule/dist/esm/iter/poslist.js +42 -0
- package/node_modules/rrule/dist/esm/iterinfo/easter.js +21 -0
- package/node_modules/rrule/dist/esm/iterinfo/index.js +188 -0
- package/node_modules/rrule/dist/esm/iterinfo/monthinfo.js +51 -0
- package/node_modules/rrule/dist/esm/iterinfo/yearinfo.js +128 -0
- package/node_modules/rrule/dist/esm/iterresult.js +88 -0
- package/node_modules/rrule/dist/esm/iterset.js +63 -0
- package/node_modules/rrule/dist/esm/masks.js +30 -0
- package/node_modules/rrule/dist/esm/nlp/i18n.js +74 -0
- package/node_modules/rrule/dist/esm/nlp/index.js +122 -0
- package/node_modules/rrule/dist/esm/nlp/parsetext.js +391 -0
- package/node_modules/rrule/dist/esm/nlp/totext.js +395 -0
- package/node_modules/rrule/dist/esm/optionstostring.js +98 -0
- package/node_modules/rrule/dist/esm/parseoptions.js +201 -0
- package/node_modules/rrule/dist/esm/parsestring.js +128 -0
- package/node_modules/rrule/dist/esm/rrule.js +232 -0
- package/node_modules/rrule/dist/esm/rruleset.js +182 -0
- package/node_modules/rrule/dist/esm/rrulestr.js +188 -0
- package/node_modules/rrule/dist/esm/types.js +14 -0
- package/node_modules/rrule/dist/esm/weekday.js +45 -0
- package/node_modules/rrule/package.json +79 -0
- package/package.json +32 -31
- package/node_modules/@deepseek-ai/dsh-computer-use/README.i18n.yaml +0 -37
- package/node_modules/@deepseek-ai/dsh-computer-use/README.md +0 -90
- package/node_modules/@deepseek-ai/dsh-computer-use/README.zh.md +0 -90
- package/node_modules/@deepseek-ai/dsh-computer-use/lib/index.js +0 -35
- package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.js +0 -10
- package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.js +0 -36
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/de.json +0 -6
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/en.json +0 -6
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/es.json +0 -6
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/fr.json +0 -6
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/ja.json +0 -6
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/pt.json +0 -6
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/ru.json +0 -6
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/zh.json +0 -6
- package/node_modules/@deepseek-ai/dsh-computer-use/package.json +0 -44
- package/node_modules/@deepseek-ai/dsh-cua/README.i18n.yaml +0 -49
- package/node_modules/@deepseek-ai/dsh-cua/README.md +0 -130
- package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +0 -130
- package/node_modules/@deepseek-ai/dsh-cua/lib/api.js +0 -597
- package/node_modules/@deepseek-ai/dsh-cua/lib/bridge.js +0 -611
- package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +0 -1758
- package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +0 -1916
- package/node_modules/@deepseek-ai/dsh-cua/lib/native-client.js +0 -285
- package/node_modules/@deepseek-ai/dsh-cua/lib/protocol.js +0 -305
- package/node_modules/@deepseek-ai/dsh-cua/lib/remote-types.js +0 -1
- package/node_modules/@deepseek-ai/dsh-cua/lib/typert.host.js +0 -416
- package/node_modules/@deepseek-ai/dsh-cua/lib/typert.remote-client.js +0 -301
- package/node_modules/@deepseek-ai/dsh-cua/locale/de.json +0 -6
- package/node_modules/@deepseek-ai/dsh-cua/locale/en.json +0 -6
- package/node_modules/@deepseek-ai/dsh-cua/locale/es.json +0 -6
- package/node_modules/@deepseek-ai/dsh-cua/locale/fr.json +0 -6
- package/node_modules/@deepseek-ai/dsh-cua/locale/ja.json +0 -6
- package/node_modules/@deepseek-ai/dsh-cua/locale/pt.json +0 -6
- package/node_modules/@deepseek-ai/dsh-cua/locale/ru.json +0 -6
- package/node_modules/@deepseek-ai/dsh-cua/locale/zh.json +0 -6
- package/node_modules/@deepseek-ai/dsh-cua/package.json +0 -151
- package/node_modules/@deepseek-ai/dsh-cua-bundle/README.i18n.yaml +0 -46
- package/node_modules/@deepseek-ai/dsh-cua-bundle/README.md +0 -94
- package/node_modules/@deepseek-ai/dsh-cua-bundle/README.zh.md +0 -94
- package/node_modules/@deepseek-ai/dsh-cua-bundle/cordis.patch.yml +0 -10
- package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.md +0 -1
- package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.zh.md +0 -1
- package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.svg +0 -33
- package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.zh.svg +0 -33
- package/node_modules/@deepseek-ai/dsh-cua-bundle/icon.svg +0 -35
- package/node_modules/@deepseek-ai/dsh-cua-bundle/lib/index.js +0 -1
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/de.json +0 -7
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/en.json +0 -7
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/es.json +0 -7
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/fr.json +0 -7
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ja.json +0 -7
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/pt.json +0 -7
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ru.json +0 -7
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/zh.json +0 -7
- package/node_modules/@deepseek-ai/dsh-cua-bundle/package.json +0 -58
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index--TtJvO-i.js +0 -197
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Jtzf36XE.css +0 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +0 -14991
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js +0 -298
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +0 -4060
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.js +0 -13
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index.js +0 -16
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.js +0 -23
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.js +0 -1250
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.js +0 -10
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +0 -1733
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js +0 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_metrics.js +0 -315
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.js +0 -2360
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.js +0 -10
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +0 -7
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +0 -14991
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js +0 -298
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +0 -4060
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.js +0 -13
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.js +0 -16
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/internal/utils.js +0 -23
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/SemanticResourceAttributes.js +0 -1250
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/index.js +0 -10
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +0 -1733
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.js +0 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_metrics.js +0 -315
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/SemanticAttributes.js +0 -2360
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/index.js +0 -10
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +0 -7
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +0 -15049
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +0 -301
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +0 -4072
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.js +0 -29
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index.js +0 -32
- package/node_modules/@opentelemetry/semantic-conventions/build/src/internal/utils.js +0 -27
- package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/SemanticResourceAttributes.js +0 -1255
- package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/index.js +0 -26
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +0 -1759
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.js +0 -15
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_metrics.js +0 -319
- package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/SemanticAttributes.js +0 -2368
- package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/index.js +0 -26
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +0 -10
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols → serde}/writeKey.js +0 -0
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./langs/ruby-ZtjE4NPI.js","./langs/html-fwsONPVS.js","./langs/javascript-DI5JR1nB.js","./langs/css-CLj8gQPS.js","./langs/xml-sdJ4AIDG.js","./langs/java-CylS5w8V.js","./langs/sql-CRqJ_cUM.js","./langs/graphql-C-Uijqkk.js","./vendor-7utBqO4o.js","./vendor-DV2921Zo.css","./langs/cpp-DddhVWhK.js","./langs/c-BIGW1oBm.js","./langs/lua-BaeVxFsk.js","./langs/yaml-Buea-lGh.js","./langs/php-CjQPq1Mz.js","./langs/scss-D5BDwBP9.js","./langs/http-CLu1VCSi.js","./langs/rst-BuDKiyD7.js","./langs/html-derivative-DOyKdj44.js","./langs/python-B6aJPvgy.js","./langs/cmake-D1j8_8rp.js","./langs/latex-B2nUCzCX.js","./langs/r-Cf5RLm7j.js","./langs/julia-BfSmLjIk.js","./langs/erlang-DsQrWhSR.js","./langs/markdown-Cvjx9yec.js","./langs/elixir-CvYZzuDY.js","./langs/fsharp-CXgrBDvD.js","./langs/perl-DsWkoyyU.js","./langs/vue-B5SDFeDA.js","./langs/svelte-Tt81icjn.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{c as lx,a as cx,b as ux,f as Np,g as Pp,m as dx,n as j2,d as fx,e as Oe,h as Th,i as X0,u as hx,j as lo,t as qt,k as Lh,l as g0,o as Nh,p as px,q as mx,s as gx,r as vx,v as Dp,w as yx,x as _x}from"./vendor-7utBqO4o.js";function X1(e,t){for(var r=0;r<t.length;r++){const i=t[r];if(typeof i!="string"&&!Array.isArray(i)){for(const n in i)if(n!=="default"&&!(n in e)){const s=Object.getOwnPropertyDescriptor(i,n);s&&Object.defineProperty(e,n,s.get?s:{enumerable:!0,get:()=>i[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))i(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&i(l)}).observe(document,{childList:!0,subtree:!0});function r(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerPolicy&&(s.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?s.credentials="include":n.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(n){if(n.ep)return;n.ep=!0;const s=r(n);fetch(n.href,s)}})();function or(e){return e==null}function wx(e){return!or(e)}function bx(e,t){return Object.fromEntries(Object.entries(e).map(([r,i])=>[r,t(i,r)]))}function Bn(e,t,r){return Object.defineProperty(e,t,{writable:!0,value:r,enumerable:!1})}const Rp=Symbol.for("cosmokit.volatile.write");function Rs(e){return typeof e=="object"&&e!==null&&Rp in e}function xx(e){const t=new Set;function r(i,n){if(Rs(i))return[{path:n,ref:i}];if(!i||typeof i!="object"||t.has(i))return[];if(!Array.isArray(i)&&Object.getPrototypeOf(i)!==Object.prototype&&Object.getPrototypeOf(i)!==null)return[];t.add(i);try{return Object.entries(i).flatMap(([s,l])=>r(l,[...n,s]))}finally{t.delete(i)}}return r(e,[])}function kx(e,t){e[Rp](t.get())}function co(e,t){return arguments.length===1?r=>co(e,r):e in globalThis&&t instanceof globalThis[e]||Object.prototype.toString.call(t).slice(8,-1)===e}function E2(e){return co("ArrayBuffer",e)||co("SharedArrayBuffer",e)}function Cx(e){return E2(e)||ArrayBuffer.isView(e)}var fo;(function(e){e.is=E2,e.isSource=Cx;function t(l){return ArrayBuffer.isView(l)?l.buffer.slice(l.byteOffset,l.byteOffset+l.byteLength):l}e.fromSource=t;function r(l){if(l=t(l),typeof Buffer<"u")return Buffer.from(l).toString("base64");let u="";const f=new Uint8Array(l);for(let h=0;h<f.byteLength;h++)u+=String.fromCharCode(f[h]);return btoa(u)}e.toBase64=r;function i(l){return typeof Buffer<"u"?t(Buffer.from(l,"base64")):Uint8Array.from(atob(l),u=>u.charCodeAt(0))}e.fromBase64=i;function n(l){return l=t(l),typeof Buffer<"u"?Buffer.from(l).toString("hex"):Array.from(new Uint8Array(l),u=>u.toString(16).padStart(2,"0")).join("")}e.toHex=n;function s(l){if(typeof Buffer<"u")return t(Buffer.from(l,"hex"));const u=l.length%2===0?l:l.slice(0,l.length-1),f=[];for(let h=0;h<u.length;h+=2)f.push(parseInt(`${u[h]}${u[h+1]}`,16));return Uint8Array.from(f).buffer}e.fromHex=s})(fo||(fo={}));fo.fromBase64;fo.toBase64;fo.fromHex;fo.toHex;function uo(e,t,r){const i=new Set;function n(s,l){if(s===l)return!0;if(Rs(s)||Rs(l))return Rs(s)&&Rs(l);if(!r&&or(s)&&or(l))return!0;if(typeof s!=typeof l||typeof s!="object"||!s||!l||i.has(s))return!1;function u(f,h){return f(s)?f(l)?h(s,l):!1:f(l)?!1:void 0}i.add(s);try{return u(Array.isArray,(f,h)=>{if(f.length!==h.length)return!1;for(let g=0;g<f.length;g++)if(!n(f[g],h[g]))return!1;return!0})??u(co("Date"),(f,h)=>f.valueOf()===h.valueOf())??u(co("URL"),(f,h)=>f.href===h.href)??u(co("RegExp"),(f,h)=>f.source===h.source&&f.flags===h.flags)??u(E2,(f,h)=>{if(f.byteLength!==h.byteLength)return!1;const g=new Uint8Array(f),y=new Uint8Array(h);for(let _=0;_<g.length;_++)if(g[_]!==y[_])return!1;return!0})??((!r||[s,l].every(f=>Object.getPrototypeOf(f)===Object.prototype||Object.getPrototypeOf(f)===null))&&Object.keys({...s,...l}).every(f=>n(s[f],l[f])))}finally{i.delete(s)}}return n(e,t)}function $x(e,t,r){const i=[];let n=0;for(let s=0;s<e.length;s++){const l=e.charCodeAt(s);if(l>=65&&l<=90){if(n===1){const u=e.charCodeAt(s+1);u>=97&&u<=122&&i.push(r),i.push(l+32)}else n!==0&&i.push(r),i.push(l+32);n=1}else l>=97&&l<=122?(i.push(l),n=2):t.includes(l)?(n!==0&&i.push(r),n=0):i.push(l)}return String.fromCharCode(...i)}function Sx(e){return $x(e,[45,95],45)}const Ix=Sx;var Ph;(function(e){e.millisecond=1,e.second=1e3,e.minute=e.second*60,e.hour=e.minute*60,e.day=e.hour*24,e.week=e.day*7;let t=new Date().getTimezoneOffset();function r(w){t=w}e.setTimezoneOffset=r;function i(){return t}e.getTimezoneOffset=i;function n(w=new Date,x){return typeof w=="number"&&(w=new Date(w)),x===void 0&&(x=t),Math.floor((w.valueOf()/e.minute-x)/1440)}e.getDateNumber=n;function s(w,x){const I=new Date(w*e.day);return x===void 0&&(x=t),new Date(+I+x*e.minute)}e.fromDateNumber=s;const l=/\d+(?:\.\d+)?/.source,u=new RegExp(`^${["w(?:eek(?:s)?)?","d(?:ay(?:s)?)?","h(?:our(?:s)?)?","m(?:in(?:ute)?(?:s)?)?","s(?:ec(?:ond)?(?:s)?)?"].map(w=>`(${l}${w})?`).join("")}$`);function f(w){const x=u.exec(w);return x?(parseFloat(x[1])*e.week||0)+(parseFloat(x[2])*e.day||0)+(parseFloat(x[3])*e.hour||0)+(parseFloat(x[4])*e.minute||0)+(parseFloat(x[5])*e.second||0):0}e.parseTime=f;function h(w){const x=f(w);return x?w=Date.now()+x:/^\d{1,2}(:\d{1,2}){1,2}$/.test(w)?w=`${new Date().toLocaleDateString()}-${w}`:/^\d{1,2}-\d{1,2}-\d{1,2}(:\d{1,2}){1,2}$/.test(w)&&(w=`${new Date().getFullYear()}-${w}`),w?new Date(w):new Date}e.parseDate=h;function g(w){const x=Math.abs(w);return x>=e.day-e.hour/2?Math.round(w/e.day)+"d":x>=e.hour-e.minute/2?Math.round(w/e.hour)+"h":x>=e.minute-e.second/2?Math.round(w/e.minute)+"m":x>=e.second?Math.round(w/e.second)+"s":w+"ms"}e.format=g;function y(w,x=2){return w.toString().padStart(x,"0")}e.toDigits=y;function _(w,x=new Date){return w.replace("yyyy",x.getFullYear().toString()).replace("yy",x.getFullYear().toString().slice(2)).replace("MM",y(x.getMonth()+1)).replace("dd",y(x.getDate())).replace("hh",y(x.getHours())).replace("mm",y(x.getMinutes())).replace("ss",y(x.getSeconds())).replace("SSS",y(x.getMilliseconds(),3))}e.template=_})(Ph||(Ph={}));var Q1=class{sn=0;map=new Map;weak=new WeakMap;get length(){return this.map.size}push(e){const t=++this.sn;return this.map.set(t,e),this.weak.set(e,t),()=>this.map.delete(t)}delete(e){const t=this.weak.get(e);return t?this.map.delete(t):!1}clear(){const e=[...this.map.values()];return this.map.clear(),e.reverse()}[Symbol.iterator](){return this.map.values()}[Symbol.for("nodejs.util.inspect.custom")](){return[...this]}};const de={shadow:Symbol.for("cordis.shadow"),receiver:Symbol.for("cordis.receiver"),original:Symbol.for("cordis.original"),metadata:Symbol.for("cordis.metadata"),initHooks:Symbol.for("cordis.initHooks"),checkProto:Symbol.for("cordis.checkProto"),effect:Symbol.for("cordis.effect"),filter:Symbol.for("cordis.filter"),isolate:Symbol.for("cordis.isolate"),intercept:Symbol.for("cordis.intercept"),init:Symbol.for("cordis.init"),check:Symbol.for("cordis.check"),config:Symbol.for("cordis.config"),invoke:Symbol.for("cordis.invoke"),extend:Symbol.for("cordis.extend"),tracker:Symbol.for("cordis.tracker"),resolveConfig:Symbol.for("cordis.resolveConfig")},zx=function*(){}.constructor,Dh=async function*(){}.constructor;function Ap(e){return!(!e.prototype||e instanceof zx||Dh!==Function&&e instanceof Dh)}function ec(e,t){if(e===Object.prototype)return t;const r=Object.create(ec(Object.getPrototypeOf(e),t));for(const i of Reflect.ownKeys(e))Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(e,i));return r}function ai(e){return e&&(typeof e=="object"||typeof e=="function")}function Fp(e,t){let r=e;for(;r;){const i=Reflect.getOwnPropertyDescriptor(r,t);if(i)return i;r=Object.getPrototypeOf(r)}}function Tr(e,t){if(!ai(t))return t;if(Object.hasOwn(t,de.shadow))return Object.getPrototypeOf(t);const r=t[de.tracker];return r?O2(e,t,r):t}function Ks(e,t){return t?new Proxy(e,{get:(r,i,n)=>i in t&&i!=="constructor"?Reflect.get(t,i,n):Reflect.get(r,i,n),set:(r,i,n,s)=>i in t&&i!=="constructor"?Reflect.set(t,i,n,s):Reflect.set(r,i,n,s)}):e}function Q0(e,t,r){return Ks(e,Object.defineProperty(Object.create(null),t,{value:r,writable:!1}))}function v0(e,t,r,i){if(!r)return i;const n=Reflect.getOwnPropertyDescriptor(t,r)?.value;return n?Q0(i,r,e.extend({[de.shadow]:n})):i}function jx(e,t,r,i){return new Proxy(t,{apply:(n,s,l)=>(s===r&&(s=i),Tr(e,Reflect.apply(n,s,l)))})}function O2(e,t,r){e[de.shadow]&&!r.noShadow&&(e=Object.getPrototypeOf(e));const i=new Proxy(t,{get:(n,s,l)=>{if(s===de.original)return n;if(s===r.property)return e;if(typeof s=="symbol")return Reflect.get(n,s,l);if(r.associate&&e.reflect.props[`${r.associate}.${s}`])return Reflect.get(e,`${r.associate}.${s}`,Q0(e,de.receiver,l));let u,f;const h=Fp(n,s);h&&"value"in h?f=h.value:(u=v0(e,n,r.property,l),f=Reflect.get(n,s,u));const g=f?.[de.tracker];return g?O2(e,f,g):!r.noShadow&&typeof f=="function"?(u??=v0(e,n,r.property,l),jx(e,f,l,u)):f},set:(n,s,l,u)=>{if(s===de.original||s===r.property)return!1;if(typeof s=="symbol")return Reflect.set(n,s,l,u);if(r.associate&&e.reflect.props[`${r.associate}.${s}`])return Reflect.set(e,`${r.associate}.${s}`,l,Q0(e,de.receiver,u));const f=v0(e,n,r.property,u);return Reflect.set(n,s,l,f)},apply:(n,s,l)=>Up(i,n,s,l)});return i}function Up(e,t,r,i){return t[de.invoke]?t[de.invoke].apply(e,i):Reflect.apply(t,r,i)}function O1(e,t,r){const i=function(...n){return Up(O2(i.ctx,i,r),i,this,n)};return Bn(i,"name",e),Object.setPrototypeOf(i,t)}function Rh(e,t,r){const i=e.error.stack.split(`
|
|
3
|
-
`);if(typeof t?.stack!="string"){const l=new Error(t),u=l.stack.split(`
|
|
4
|
-
`);throw u.splice(1,1/0,...r()),l.stack=u.join(`
|
|
5
|
-
`),l}const n=t.stack.split(`
|
|
6
|
-
`);let s=n.indexOf(i[2]);if(s===-1)throw t;for(s-=e.offset;s>0&&n[s-1].endsWith(" (<anonymous>)");)s-=1;throw n.splice(s,1/0,...r()),t.stack=n.join(`
|
|
7
|
-
`),t}function M1(e,t=tc()){const r={offset:1,error:new Error};try{const i=e(r);return ai(i)&&"then"in i?i.then(void 0,n=>Rh(r,n,t)):i}catch(i){Rh(r,i,t)}}function tc(e=0){const t=new Error;return()=>t.stack.split(`
|
|
8
|
-
`).slice(3+e)}function e2(e){return e!==null&&e!==!1&&e!==void 0}var Hp=class{ctx;_hooks={};constructor(e){this.ctx=e,Bn(this,de.tracker,{property:"ctx",noShadow:!0}),this.on("internal/listener",function(t,r,i){if(t==="internal/update"&&!i.global)return(this.fiber._hooks["internal/update"]??=new Q1)[i.prepend?"unshift":"push"](r)}),this.on("internal/update",function(t,r,i){const n=[...this._hooks["internal/update"]||[]],s=()=>(n.shift()??i).call(this,t,r,s);return s()},{global:!0,prepend:!0})}dispatch(e,t){const r=typeof t[0]=="object"||typeof t[0]=="function"?t.shift():null,i=t.shift();i.startsWith("internal/")||this.emit("internal/dispatch",e,i,t,r);const n=r?.[at.filter];return(this._hooks[i]||[]).filter(s=>s.global||!n||n.call(r,s.ctx)).map(s=>s.callback.bind(r))}async parallel(...e){const t=(await Promise.allSettled(this.dispatch("emit",e).map(async r=>r(...e)))).filter(r=>r.status==="rejected");if(t.length)throw new AggregateError(t.map(r=>r.reason))}emit(...e){this.dispatch("emit",e).map(t=>t(...e))}async serial(...e){for(const t of this.dispatch("serial",e)){const r=await t(...e);if(e2(r))return r}}bail(...e){for(const t of this.dispatch("bail",e)){const r=t(...e);if(e2(r))return r}}waterfall(...e){const t=this.dispatch("waterfall",e),r=e.pop(),i=()=>(t.shift()??r)(...e);return e.push(i),i()}register(e,t,r,i){const n=i.prepend?"unshift":"push";return this.ctx.fiber.effect(()=>(t[n]({ctx:this.ctx,callback:r,...i}),()=>this.unregister(t,r)),e)}unregister(e,t){const r=e.findIndex(i=>i.callback===t);if(r>=0)return e.splice(r,1),!0}on(e,t,r){typeof r!="object"&&(r={prepend:r}),this.ctx.fiber.assertActive(),t=this.ctx.reflect.bind(t);const i=this.bail(this.ctx,"internal/listener",e,t,r);if(i)return i;const n=this._hooks[e]||=[],s=`ctx.on(${typeof e=="string"?JSON.stringify(e):e.toString()})`;return this.register(s,n,t,r)}once(e,t,r){const i=this.on(e,function(...n){return i(),t.apply(this,n)},r);return i}};const t2={s:e=>String(e),d:e=>Math.trunc(Number(e)),i:e=>Math.trunc(Number(e)),f:e=>Number(e),o:e=>JSON.stringify(e),O:e=>JSON.stringify(e),c:()=>"",C:(e,t,r)=>T1.color(t,T1.code(r.name,t.colors),e)};function Ex(e){return e instanceof Error&&Array.isArray(e.errors)}var T1=class{service;static color(e,t,r,i=""){return e.colors?`\x1B[3${t<8?t:"8;5;"+t}${e.colors>=2?i:""}m${r}\x1B[0m`:""+r}static code(e,t){let r=0;for(let n=0;n<e.length;n++)r=(r<<3)-r+e.charCodeAt(n)+13,r|=0;const i=t?t>=2?Vp:Zp:[];return i[Math.abs(r)%i.length]}static format(e,t){const r=t.args.slice();r[0]instanceof Error?(r[0]=r[0].stack||r[0].message,r.unshift("%s")):typeof r[0]!="string"&&r.unshift("%o");let i=r.shift();i=i.replace(/%([a-zA-Z%])/g,(l,u)=>{if(l==="%%")return"%";const f=e.formatters?.[u]??t2[u];return typeof f=="function"?f(r.shift(),e,t):l});const n=e.formatters?.o??t2.o;for(let l of r)typeof l=="object"&&l&&(l=n(l,e,t)),i+=" "+l;const{maxLength:s=10240}=e;return i.split(/\r?\n/g).map(l=>l.slice(0,s)+(l.length>s?"...":"")).join(`
|
|
9
|
-
`)}constructor(e,t){this.service=t,Object.assign(this,e),this.error=this._method("error",0),this.info=this._method("info",1),this.warn=this._method("warn",2),this.debug=this._method("debug",3)}_method(e,t){return(...r)=>{if(r.length===1&&r[0]instanceof Error){if(r[0].cause)this[e](r[0].cause);else if(Ex(r[0])){r[0].errors.forEach(s=>this[e](s));return}}const i=++this.service._snMessage,n=Date.now();for(const s of this.service.exporters.values()){if((s.levels?.[this.name]??s.levels?.default??this.level??1)<t)continue;const l={sn:i,ts:n,type:e,level:t,name:this.name,...this.meta,args:r};s.export(l)}}}};const Zp=[6,2,3,4,5,1],Vp=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221];var Bp=class Wp{bufferSize=1e3;buffer=[];ctx;_snMessage=0;_snExporter=0;exporters=new Map;constructor(t){const r={property:"ctx",noShadow:!0},i=O1("logger",ec(Object.getPrototypeOf(this),Function.prototype),r);return Object.assign(i,this),i.ctx=t,Bn(i,de.tracker,r),i.exporter({colors:3,export:n=>{i.buffer.push(n),i.buffer.length>i.bufferSize&&(i.buffer=i.buffer.slice(-i.bufferSize))}}),i}exporter(t){return this.ctx.effect(()=>{const r=++this._snExporter;return this.exporters.set(r,t),()=>this.exporters.delete(r)},"ctx.logger.exporter()")}_resolveConfig(){let t=this.ctx[de.intercept];const r=[];for(;"logger"in t;)Object.hasOwn(t,"logger")&&r.unshift(t.logger),t=Object.getPrototypeOf(t);return Object.assign({},...r)}[de.invoke](t){const r=this._resolveConfig(),i=(this.ctx[de.shadow]??this.ctx).fiber;return t??=r.name,t??=Ix(i.name),new T1({name:t,level:r.level,meta:{fiber:new WeakRef(i)}},this)}static{for(const t of["error","info","warn","debug"])Wp.prototype[t]=function(...r){return this()[t](...r)}}};function y0(e){const t=e.stack.split(`
|
|
10
|
-
`);return t.splice(0,2,`Error: ${e.message}`),e.stack=t.join(`
|
|
11
|
-
`),e}const Ox=["prototype","then"];function _0(e){return typeof e=="symbol"||Ox.includes(e)||parseInt(e).toString()===e||e.startsWith("_")}var Ah=class{ctx;static handler={get:(e,t,r)=>{if(_0(t))return Reflect.get(e,t,r);if(Reflect.has(e,t))return Tr(r,Reflect.get(e,t,r));const i=new Error(`cannot get property "${t}" without inject`);try{const n=e.reflect.props[t];return n?.type==="accessor"?n.get.call(r,r[de.receiver],i):r.fiber.runtime?r.events.waterfall("internal/get",r,t,i,()=>{const s=e[de.isolate][t];let l=(r[de.shadow]??r).fiber;for(;;){const u=l.store?.[t];if(u)return Tr(r,u.value);if(t in l.inject)throw i.message=`cannot get required service "${t}" in inactive context`,i;if(!l.runtime||l.parent[de.isolate][t]!==s)throw i;l=l.parent.fiber}}):r.reflect.get(t,!1)}catch(n){throw n===i?y0(n):n}},set:(e,t,r,i)=>{if(_0(t))return Reflect.set(e,t,r,i);const n=new Error(`cannot set property "${t}" without provide`),s=e.reflect.props[t];if(!s){if(!i.fiber.runtime)return Reflect.set(e,t,r,i);throw y0(n)}try{return s.type==="accessor"?s.set?s.set.call(i,r,i[de.receiver],n):!1:i.events.waterfall("internal/set",i,t,r,n,()=>i.reflect.set(t,r,n))}catch(l){throw l===n?y0(l):l}},has:(e,t)=>_0(t)?Reflect.has(e,t):Reflect.has(e,t)?!0:!!e.reflect.props[t]};store=Object.create(null);props=Object.create(null);constructor(e){this.ctx=e,Bn(this,de.tracker,{property:"ctx",noShadow:!0}),this.mixin("reflect",["get","set","provide","accessor","mixin"]),this.mixin("fiber",["runtime","effect"]),this.mixin("registry",["inject","plugin"]),this.mixin("events",["on","once","parallel","emit","serial","bail","waterfall"])}get(e,t=!0){return Tr(this.ctx,this._getImpl(e,t)?.value)}_getImpl(e,t=!0){const r=this.ctx[de.isolate][e],i=r&&this.store[r];if(i&&!(t&&i.fiber.state!==2))return i}set(e,t,r){const i=this.ctx[de.isolate][e],n=this.store[i];if(!n)throw new Error(`cannot set property "${e}" without provide`);if(n.fiber!==this.ctx.fiber)throw new Error(`cannot set property "${e}" in multiple fibers`);return n.value=t,!0}provide(e,t,r){return this.ctx.fiber.effect(()=>{if(!this.props[e])this.props[e]??={type:"service"};else if(this.props[e].type!=="service")throw new Error(`property "${e}" is already declared as ${this.props[e].type}`);this.props[e]={type:"service"},this.ctx.root[de.isolate][e]??=Symbol(e);const i=this.ctx[de.isolate][e],n={name:e,value:t,fiber:this.ctx.fiber,check:r};if(this.store[i])throw new Error(`service "${e}" has been registered at <${this.store[i].fiber.name}>`);return this.store[i]=n,this.ctx.fiber.store[e]=n,this.ctx.fiber.state===2&&this.notify([e]),async()=>{delete this.store[i];const s=this.notify([e]);await Promise.allSettled(s.map(l=>l.await())),delete this.ctx.fiber.store[e]}},`ctx.provide(${JSON.stringify(e)})`)}notify(e,t=(r,i)=>r[de.isolate][i]===this.ctx[de.isolate][i]){const r=[];for(const i of this.ctx.registry.values())for(const n of i.fibers){let s=!1;for(const l of e)l in n.inject&&t(n.ctx,l)&&(s=!0,n._checkImpl(l));s&&(n._refresh(),r.push(n))}for(const i of e){const n=Object.create(this.ctx);n[de.filter]=s=>t(s,i),this.ctx.events.emit(n,"internal/service",i,this._getImpl(i,!1)?.value)}return r}accessor(e,t){return this.ctx.fiber.effect(()=>{if(e in this.props)throw new Error(`property "${e}" is already declared as ${this.props[e].type}`);return this.props[e]={type:"accessor",...t},()=>delete this.props[e]},`ctx.accessor(${JSON.stringify(e)})`)}mixin(e,t){const r=this;return this.ctx.fiber.effect(function*(){const i=Array.isArray(t)?t.map(s=>[s,s]):Object.entries(t),n=(s,l)=>s[e];for(const[s,l]of i)yield r.accessor(l,{get(u,f){const h=n(this);if(or(h))return h;const g=u?Ks(u,h):h,y=Reflect.get(h,s,g);return typeof y!="function"?y:y.bind(g??h)},set(u,f,h){const g=n(this),y=f?Ks(f,g):g;return Reflect.set(g,s,u,y)}})},`ctx.mixin(${JSON.stringify(e)})`)}trace(e){return Tr(this.ctx,e)}bind(e){return new Proxy(e,{apply:(t,r,i)=>Reflect.apply(t,this.trace(r),i.map(n=>this.trace(n))),construct:(t,r,i)=>Reflect.construct(t,r.map(n=>this.trace(n)),i)})}};const Mx=Symbol.for("ValidationError");var M2=class extends TypeError{name="ValidationError";constructor(e){super(`invalid config:
|
|
12
|
-
`+e.map(t=>t.path?` - ${t.message} (at ${t.path.join(".")})`:` - ${t.message}`).join(`
|
|
13
|
-
`))}};Object.defineProperty(M2.prototype,Mx,{value:!0});function Kp(e,t){if(!e.Config)return t;const r=e.Config["~standard"].validate(t);if("then"in r)throw new TypeError("Async config validation is not supported");if(r.issues)throw new M2(r.issues);return r.value}const qp=new WeakMap;function w0(e){const t=e();return qp.get(e)?.()??t}function Tx(e,t){const r=["internal/plugin",t];let i;try{i=e.events.dispatch("emit",r)}catch(n){e.logger.error(n);return}for(const n of i)try{const s=n(...r);Promise.resolve(s).catch(l=>e.logger.error(l))}catch(s){e.logger.error(s)}}var qs=class Jp extends Error{code;constructor(t,r){super(r??Jp.Code[t]),this.code=t}};(function(e){e.Code={INACTIVE_EFFECT:"cannot create effect on inactive context"}})(qs||(qs={}));const Dn="__INACTIVE__";var T2=class{parent;inject;runtime;uid;ctx;config;_config;state=0;dispose;store;inertia;_hooks=Object.create(null);_disposables=new Q1;context;_error;_runner;_store=Object.create(null);constructor(e,t,r,i,n){this.parent=e,this.inject=r,this.runtime=i,this._config=t;const s=l=>{this._disposables.push(l)};if(i){this.uid=e.registry.counter,this.ctx=this.context=e.extend({fiber:this});const l=Object.entries(this.inject);if(l.length){this.ctx[at.intercept]=Object.create(e[at.intercept]);for(const[u,f]of l)or(f)||(this.ctx[at.intercept][u]=f)}this._runner={epoch:Dn,getOuterStack:n,execute:function(){if(Ap(i.callback)){const u=new i.callback(this.ctx,this.config);for(const f of u?.[de.initHooks]??[])f();return u?.[de.init]?.()}else return i.callback(this.ctx,this.config)},collect:s},this.dispose=e.fiber.effect(()=>{const u=i.fibers.push(this);return async()=>{for(this.uid=null,Tx(this.context,this),this.ctx.registry.has(i.callback)&&(u(),i.fibers.length||this.ctx.registry.delete(i.callback)),this._setEpoch(Dn),this.inertia||this._updateState(()=>(this.inertia=this._unload(),5));this.inertia;)await this.inertia}},"ctx.plugin()");try{this.context.emit("internal/plugin",this)}catch(u){throw Promise.resolve(this.dispose()).catch(f=>this.ctx.logger.error(f)),u}if(this.uid!==null&&e.fiber.state!==5){for(const u of Object.keys(this.inject))this._checkImpl(u);this._refresh()}}else this.uid=0,this.ctx=this.context=e,this.state=2,this.store=Object.create(null),this._runner={epoch:"",getOuterStack:n,execute:()=>{},collect:s},this.dispose=()=>this.restart()}get name(){let e=this;do{if(e.runtime?.name)return e.runtime.name;e=e.parent.fiber}while(e!==e.parent.fiber);return"root"}assertActive(){if(this.uid===null)throw new qs("INACTIVE_EFFECT")}_execute(e){const t=e.epoch;return M1(r=>{const i=s=>{if(typeof s=="function")e.collect(s);else if(!or(s))throw new TypeError("Invalid effect")},n=e.execute.call(this);if(typeof n=="function")return e.collect(n);if(!or(n))if(ai(n)){if("then"in n)return n.then(i);if(Symbol.iterator in n){r.error=new Error;const s=n[Symbol.iterator]();for(;;){const l=s.next();if(i(l.value),l.done)return}}else if(Symbol.asyncIterator in n){const s=n[Symbol.asyncIterator]();return(async()=>{for(await Promise.resolve(),r.error=new Error;;){if(e.epoch!==t)return;const l=await s.next();if(i(l.value),l.done)return}})()}else throw new TypeError("Invalid effect")}else throw new TypeError("Invalid effect")},e.getOuterStack)}effect(e,t="anonymous"){if(this.assertActive(),this.state===5)throw new qs("INACTIVE_EFFECT");const r=[];let i=!1,n;const s=()=>{if(i)return n;i=!0;let N;for(const A of r.splice(0).reverse())if(N)N=N.then(()=>w0(A));else{const K=w0(A);ai(K)&&"then"in K&&(N=K)}return n=N},l={label:t,children:[]},u={execute:e,epoch:!0,collect:N=>{r.push(N),this._disposables.delete(N),N[de.effect]&&l.children.push(N[de.effect])},getOuterStack:tc()};let f,h=!0,g,y,_,w=!1,x,I=()=>!1;const S=()=>(_??=new Promise((N,A)=>{g=N,y=A}),_),E=N=>Promise.resolve(N).then(()=>s(),async A=>{throw await s(),A}),z=N=>{let A;try{A=N()}catch(K){throw I(),K}if(ai(A)&&"then"in A){const K=Promise.resolve(A).finally(()=>{I(),x===K&&(x=void 0)});return x=K}return I(),A},O=Bn(()=>u.epoch?(u.epoch=!1,z(()=>h?E(S()):f?E(f):s())):w?x:void 0,de.effect,l);qp.set(O,()=>x),I=this._disposables.push(O);try{f=this._execute(u)}catch(N){h=!1,w=!0,u.epoch=!1;let A;try{A=z(s)}finally{y?.(N)}throw ai(A)&&"then"in A&&A.catch(K=>this.ctx.logger.error(K)),N}h=!1,_&&Promise.resolve(f).then(g,y),f?.catch(()=>u.epoch?z(s):s()).catch(N=>this.ctx.logger.error(N));const P=()=>{if(u.epoch)return u.epoch=!1,z(s)};return O.then=async(N,A)=>Promise.resolve(f).then(()=>P).then(N,A),O}getEffects(){return[...this._disposables].map(e=>e[de.effect]).filter(Boolean)}_getState(){return this.uid===null?4:this._error?3:this._runner.epoch!==Dn?2:0}_updateState(e){const t=this.state;if(this.state=e()??this._getState(),t!==this.state&&(this.context.emit("internal/status",this,t),!(t!==2&&this.state!==2)))for(const r of Reflect.ownKeys(this.ctx.reflect.store)){const i=this.ctx.reflect.store[r];i.fiber===this&&this.ctx.reflect.notify([i.name])}}_checkImpl(e){const t=this.ctx.reflect._getImpl(e,!0);if(!t)return delete this._store[e];try{if(t.check&&!t.check.call(Tr(this.ctx,t.value)))return delete this._store[e]}catch(r){return t.fiber.ctx.logger.error(r),delete this._store[e]}this._store[e]=t}_refresh(){let e=!1;e="";for(const t of Object.keys(this.inject)){const r=this._store[t];if(!r){e=Dn;break}e+=":"+r.fiber.uid}this._setEpoch(e)}_setEpoch(e){const t=this._runner.epoch;e!==t&&(this._runner.epoch=e,!this.inertia&&this._updateState(()=>e!==Dn&&t===Dn?(this.inertia=this._reload(),1):(this.inertia=this._unload(),5)))}get rawConfig(){return this.ctx.fiber._config}set rawConfig(e){this.ctx.fiber._config=e}get effectiveConfig(){return this.ctx.fiber.config}resolveConfig(e){const t=this.ctx.fiber;return e=t.context.waterfall(t,"internal/config",e,()=>e),t.runtime?Kp(t.runtime,e):e}async _reload(){this.store={...this._store};const e=this._runner.epoch;try{await Promise.resolve(),this._runner.epoch===e&&(this.config=this.resolveConfig(this._config),await this._execute(this._runner),this._error=void 0)}catch(t){this.ctx.logger.error(t),this._error=t,this._runner.epoch=Dn}this._updateState(()=>{if(this._runner.epoch===e)this.inertia=void 0;else return this.inertia=this._unload(),5})}async _unload(){await Promise.all(this._disposables.clear().map(async e=>{try{await M1(async t=>{await Promise.resolve(),t.error=new Error,await w0(e)},this._runner.getOuterStack)}catch(t){this.ctx.logger.error(t)}})),this.store=void 0,this._updateState(()=>{if(this._runner.epoch===Dn)this.inertia=void 0;else return this.inertia=this._reload(),1})}async await(){for(;this.inertia;)await this.inertia;if(this._error)throw this._error;return this}async restart(){const e=this.ctx.fiber;e.assertActive(),e._setEpoch(Dn),e._refresh(),await e.await()}update(e,t=!1){const r=this.ctx.fiber;if(r.assertActive(),r._config=e,r.state!==2){r._error=void 0,r._setEpoch(Dn),r._refresh();return}e=r.resolveConfig(e),r.context.waterfall(r,"internal/update",e,t,()=>(r.config=e,r._error=void 0,r.restart()))}};function Lx(e){return e&&typeof e=="object"&&typeof e.apply=="function"}function Js(e,t){return function(r,i){if(i.kind==="class")Object.hasOwn(r,"inject")||(Bn(r,"inject",Object.create(Object.getPrototypeOf(r).inject??null)),Bn(r.inject,de.checkProto,!0)),r.inject[e]=t;else if(i.kind==="method"){const n=(r[de.metadata]??={}).inject??=Object.create(null);n[e]=t,i.addInitializer(function(){const s=this[de.tracker]?.property;(this[de.initHooks]??=[]).push(()=>{this.ctx.inject(n,l=>r.call(s?Ks(this,{[s]:l}):this))})})}else throw new Error("@Inject() can only be used on class or class methods")}}(function(e){function t(r,i=Object.create(null)){if(!r)return i;if(Array.isArray(r))for(const n of r)i[n]=null;else if(Reflect.has(r,de.checkProto)){Object.assign(i,t(Object.getPrototypeOf(r)));for(const n of Object.keys(r))i[n]=r[n]??null}else for(const n of Object.keys(r))i[n]=r[n]??null;return i}e.resolve=t})(Js||(Js={}));var Gp=class{ctx;_counter=0;_internal=new Map;constructor(e){this.ctx=e,Bn(this,de.tracker,{property:"ctx",noShadow:!0})}get counter(){return++this._counter}get size(){return this._internal.size}resolve(e){try{if(typeof e=="function")return e;if(Lx(e))return e.apply}catch{}}get(e){const t=this.resolve(e);return t&&this._internal.get(t)}has(e){const t=this.resolve(e);return!!t&&this._internal.has(t)}delete(e){const t=this.resolve(e),r=t&&this._internal.get(t);if(r){this._internal.delete(t);for(const i of r.fibers)i.dispose();return r}}keys(){return this._internal.keys()}values(){return this._internal.values()}entries(){return this._internal.entries()}forEach(e){return this._internal.forEach(e)}inject(e,t){return this.plugin({inject:e,apply:t,name:t.name})}plugin(e,t,r=tc()){const i=this.resolve(e);if(!i)throw new Error('invalid plugin, expect function or object with an "apply" method, received '+typeof e);this.ctx.fiber.assertActive();let n=this._internal.get(i);if(!n){let u=e.name;u==="apply"&&(u=void 0),n={name:u,callback:i,fibers:new Q1,Config:e.Config},this._internal.set(i,n)}const s=new T2(this.ctx,t,Js.resolve(e.inject),n,r),l=Object.create(s);return l.then=(u,f)=>s.await().then(u,f),l}},at=class As{static effect=de.effect;static filter=de.filter;static isolate=de.isolate;static intercept=de.intercept;static is(t){return!!t?.[As.is]}static{As.is[Symbol.toPrimitive]=()=>Symbol.for("cordis.is"),As.prototype[As.is]=!0}constructor(){this[de.isolate]=Object.create(null),this[de.intercept]=Object.create(null);const t=new Proxy(this,Ah.handler);return this.root=t,this.baseUrl=void 0,this.fiber=new T2(t,{},Object.create(null),null,()=>[]),this.reflect=new Ah(t),this.registry=new Gp(t),this.events=new Hp(t),this.logger=new Bp(t),this.fiber._disposables.clear(),t}[Symbol.for("nodejs.util.inspect.custom")](){return`Context <${this.fiber.name}>`}extend(t={}){const r=Reflect.getOwnPropertyDescriptor(this,de.shadow)?.value,i=Object.create(Tr(this,this));for(const n of Reflect.ownKeys(t))Object.defineProperty(i,n,Reflect.getOwnPropertyDescriptor(t,n));return r?Object.assign(Object.create(i),{[de.shadow]:r}):i}isolate(t,r){const i=Object.create(this[de.isolate]);return i[t]=r??Symbol(t),this.extend({[de.isolate]:i})}intercept(t,r){const i=Object.create(this[de.intercept]);return i[t]=r,this.extend({[de.intercept]:i})}},oi=class Yp{ctx;static init=de.init;static check=de.check;static config=de.config;static invoke=de.invoke;static extend=de.extend;static tracker=de.tracker;static resolveConfig=de.resolveConfig;name;constructor(t,r){this.ctx=t,r??=this.constructor.provide;let i=this;const n={associate:r,property:"ctx"};return i[de.invoke]&&(i=O1(r,ec(Object.getPrototypeOf(this),Function.prototype),n)),i.ctx=t,i.name=r,Bn(i,de.tracker,n),i.ctx.reflect.provide(r,i,this[de.check]),i}[de.filter](t){return t[de.isolate][this.name]===this.ctx[de.isolate][this.name]}[de.extend](t){let r;return this[Yp.invoke]?r=O1(this.name,this,this[de.tracker]):r=Object.create(this),Object.assign(r,t)}[de.resolveConfig](t,r){let i=this.ctx[at.intercept];const n=[];for(;this.name in i;)Object.hasOwn(i,this.name)&&n.unshift(i[this.name]),i=Object.getPrototypeOf(i);return t&&n.unshift(t),r&&n.push(r),this.Config?.merge?this.Config.merge(...n):Object.assign({},...n)}static[Symbol.hasInstance](t){if(!t)return!1;let r=t.constructor;for(;r;){if(r=r.prototype?.constructor,r===this)return!0;r&&=Object.getPrototypeOf(r)}return!1}};const Nx=Object.freeze(Object.defineProperty({__proto__:null,Context:at,get CordisError(){return qs},DisposableList:Q1,EventsService:Hp,Fiber:T2,get Inject(){return Js},Logger:T1,LoggerService:Bp,RegistryService:Gp,Service:oi,ValidationError:M2,buildOuterStack:tc,c16:Zp,c256:Vp,composeError:M1,createCallable:O1,defaultFormatters:t2,getPropertyDescriptor:Fp,getTraceable:Tr,isBailed:e2,isConstructor:Ap,isObject:ai,joinPrototype:ec,resolveConfig:Kp,symbols:de,withProps:Ks},Symbol.toStringTag,{value:"Module"})),Px=()=>{throw new Error("node:module is not available in the browser")},pn={};var Dx=[],n2;(function(e){let t;function r(n){const s=Px();if(Dx.includes("--expose-internals"))try{return s(n)}catch{}try{return s("node-addon-require-builtin").requireBuiltin(n)}catch{}}function i(){if(t)return t;const[n]="0.0.0".split(".").map(Number);if(n<22)return;const s=r("internal/modules/esm/loader")?.getOrInitializeCascadedLoader();if(!s)return;const l=typeof s.getOrCreateModuleJob=="function"?"v2":typeof s.getModuleJobForImport=="function"?"v1":void 0;if(l)return t=Object.assign(s,{version:l})}e.fromInternal=i})(n2||(n2={}));var L1=class{ctx;tree;static key=Symbol.for("cordis.group");data=[];constructor(e,t){this.ctx=e,this.tree=t;const r=e.fiber.entry;r&&(r.subgroup=this)}get context(){return this.ctx}async create(e){const t=this.tree.ensureId(e),r=this.tree.store[t]??=new i2(this.ctx.loader);return r.parent=this,await r.update(e,!0,!0),r.id}unlink(e){const t=this.data,r=t.indexOf(e);r>=0&&t.splice(r,1)}remove(e,t=!1){const r=this.tree.store[e];r&&(r.fiber?.dispose(),t||this.unlink(r.options),delete this.tree.store[e],this.context.emit("loader/partial-dispose",r,r.options,!1))}async update(e){const t=this.data;this.data=e;const r=Object.fromEntries(t.map(s=>[s.id,s])),i=Object.fromEntries(e.map(s=>[s.id??Symbol("anonymous"),s])),n=Reflect.ownKeys({...r,...i});await Promise.all(n.map(async s=>{i[s]?await this.create(i[s]).catch(l=>{this.ctx.logger.error(l)}):this.remove(s)}))}stop(){for(const e of this.data)this.remove(e.id,!0)}};(class extends L1{ctx;config;static initial=[];static[L1.key]=!0;constructor(e,t){super(e,e.fiber.entry.parent.tree),this.ctx=e,this.config=t,e.on("internal/update",r=>{this.update(r)})}async*[oi.init](){yield()=>this.stop(),await this.update(this.config)}});var Rx=function(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,i,n,s,l){return i?".js":n&&(!s||!l)?r:n+s+"."+l.toLowerCase()+"js"}):e};const Ax={".gitignore":`# created by cordis automatically
|
|
14
|
-
*
|
|
15
|
-
`,"resolve.mjs":`export default (specifier) => import.meta.resolve(specifier)
|
|
16
|
-
`},Fx=Object.create(null);function Ux(e){for(;;){if(pn.existsSync(pn.join(e,"package.json")))return e;const t=pn.dirname(e);if(t===e)return;e=t}}function Hx(e){if(!e)return;let t;try{t=pn.fileURLToPath(new URL(".",e))}catch{return}return Ux(pn.resolve(t))}async function Zx(e,t){const r=`${e}.${process.pid}`;await pn.writeFile(r,t),await pn.rename(r,e)}async function Vx(e){const t=pn.join(e,".cordis");try{await pn.mkdir(t,{recursive:!0});for(const[i,n]of Object.entries(Ax))await Zx(pn.join(t,i),n)}catch{return}const r=pn.pathToFileURL(pn.join(t,"resolve.mjs")).href;return(await import(Rx(r))).default}async function Bx(e){const t=Hx(e);if(t)return await(Fx[t]??=Vx(t))}var Fh=function(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,i,n,s,l){return i?".js":n&&(!s||!l)?r:n+s+"."+l.toLowerCase()+"js"}):e},Xp=class Qp{static sep=":";ctx;enableLogs;root;store=Object.create(null);constructor(t){this.ctx=t.extend({baseUrl:t.baseUrl}),this.root=new L1(this.ctx,this);const r=this.ctx.fiber.entry;r&&(r.subtree=this)}get context(){return this.ctx}*entries(){for(const t of Object.values(this.store))yield t,t.subtree&&(yield*t.subtree.entries())}getTasks(){return[...this.entries()].map(t=>t._initTask||t.fiber?.inertia).filter(wx)}async await(){for(;;){const t=this.getTasks();if(!t.length)return;await Promise.allSettled(t)}}ensureId(t){if(!t.id)do t.id=Math.random().toString(16).slice(2,10);while(this.store[t.id]);return t.id}resolve(t){const r=t.split(Qp.sep);let i=this;const n=r.pop();for(const l of r)if(i=i.store[l]?.subtree,!i)throw new Error(`cannot resolve entry ${t}`);const s=i.store[n];if(!s)throw new Error(`cannot resolve entry ${t}`);return s}resolveGroup(t){if(!t)return this.root;const r=this.resolve(t);if(!r.subgroup)throw new Error(`entry ${t} is not a group`);return r.subgroup}async create(t,r=null,i=1/0){const n=this.resolveGroup(r);return n.data.splice(i,0,t),n.tree.write(),n.create(t)}remove(t){const r=this.resolve(t);r.parent.remove(t),r.parent.tree.write()}async update(t,r,i,n){const s=this.resolve(t),l=s.parent;if(i!==void 0){const u=this.resolveGroup(i);l.unlink(s.options),u.data.splice(n??1/0,0,s.options),u.tree.write(),s.parent=u}return l.tree.write(),s.update(r,!1,!0)}import(t,r){return t.startsWith("cordis:")?this.ctx.loader.builtins[t.slice(7)]:M1(async i=>{if(i.offset+=3,this.ctx.loader.internal)return await this.ctx.loader.internal.import(t,this.ctx.baseUrl,{});if(t.startsWith("."))return await import(Fh(new URL(t,this.ctx.baseUrl).href));{const n=await Bx(this.ctx.baseUrl);return await import(Fh(n?n(t):t))}},r)}};const e7=new Function("ctx","expr",`
|
|
17
|
-
with (ctx) {
|
|
18
|
-
return eval(expr)
|
|
19
|
-
}
|
|
20
|
-
`);function r2(e,t){return L2(t)?e7(e,t.__jsExpr):!t||typeof t!="object"?t:Array.isArray(t)?t.map(r=>r2(e,r)):bx(t,r=>r2(e,r))}function L2(e){return e instanceof Object&&"__jsExpr"in e}function Wx(e){return e?.["~standard"].vendor==="schemastery"}function Uh(e){if(!e||typeof e!="object"||L2(e))return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function t7(e,t,r,i){if(r?.meta?.volatile)return!0;if(r?.type!=="object"||!r.dict||i.has(r))return uo(e,t,!0);const n=e??r.meta?.default,s=t??r.meta?.default;if(!Uh(n)||!Uh(s))return uo(n,s,!0);const{dict:l}=r;i.add(r);try{return Object.keys({...n,...s}).every(u=>t7(n[u],s[u],Object.hasOwn(l,u)?l[u]:void 0,i))}finally{i.delete(r)}}function Kx(e,t,r){return Wx(r)?t7(e,t,r,new Set):uo(e,t,!0)}function b0(e,t){const r=[];for(const i of t)i in e&&(r.push([i,e[i]]),delete e[i]);return r}function qx(e,t=["id","name"],r=["config"]){const i=b0(e,t),n=b0(e,r),s=b0(e,Object.keys(e)).sort(([l],[u])=>l.localeCompare(u));return Object.assign(e,Object.fromEntries([...i,...s,...n]))}var i2=class n7{loader;static key=Symbol.for("cordis.entry");ctx;fiber;moduleNamespace;parent;options={};subgroup;subtree;_initTask;constructor(t){this.loader=t,this.ctx=t.ctx.extend({[n7.key]:this}),this.context.emit("loader/entry-init",this)}get context(){return this.ctx}get id(){let t=this.options.id;return this.parent.tree.ctx.fiber.entry&&(t=this.parent.tree.ctx.fiber.entry.id+Xp.sep+t),t}get disabled(){if(this.options.group)return!1;let t=this;do{if(this.disabledOf(t.options))return!0;t=t.parent.ctx.fiber.entry}while(t);return!1}disabledOf(t){return L2(t.disabled)?!!this.evaluate(t.disabled.__jsExpr):!!t.disabled}evaluate(t){return e7(this.ctx,t)}_patchContext(t){this.context.waterfall("loader/patch-context",this,()=>{Object.setPrototypeOf(this.ctx,this.parent.ctx),this.fiber?.uid&&(t.includes("config")||this.options.group)&&this.fiber.update(this.options.config,!0)})}async refresh(){this.fiber||this.disabled||await this.init()}async update(t,r=!1,i=!1){const n={...this.options};if(r)this.options=t;else for(const[s,l]of Object.entries(t))or(l)?delete this.options[s]:this.options[s]=l;if(qx(this.options),this.disabled){this.fiber?.dispose();return}if(this.fiber?.uid){const s=Object.keys({...this.options,...n}).filter(f=>!uo(this.options[f],n[f],f==="config")),l=s.length===1&&s[0]==="config"&&this.fiber.state===2&&Object.getPrototypeOf(this.ctx)===this.parent.ctx&&Kx(n.config,this.options.config,this.fiber.runtime?.Config);l&&(this.fiber.rawConfig=this.options.config);const u=l&&this._commitVolatile()?[]:s;if(!u.length&&!i)return;this.context.emit("loader/partial-dispose",this,n,!0),this._patchContext(u)}else await this.init()}_commitVolatile(){const t=this.fiber,r=xx(t.effectiveConfig);if(!r.length)return!0;const i=this.options.config;let n;try{n=t.resolveConfig(i)}catch(u){return this.ctx.logger.warn("volatile config update failed for %C",this.options.id),this.ctx.logger.warn(u),!0}if(!uo(t.effectiveConfig,n,!0))return this.ctx.logger.debug("ordinary config values of %C changed with its volatile values; applying the ordinary update",this.options.id),!1;const s=r.flatMap(({path:u,ref:f})=>{const h=u.reduce((g,y)=>Reflect.get(g,y),n);return uo(f.get(),h.get(),!0)?[]:(kx(f,h),[u])});if(!s.length)return!0;const l=Object.create(t.ctx);l[at.filter]=u=>u.fiber===t;try{t.ctx.emit(l,"loader/volatile-update",s)}catch(u){this.ctx.logger.warn(u)}return!0}getOuterStack=()=>{let t=this;const r=[];do r.push(` at ${t.parent.tree.ctx.baseUrl}#${t.options.id}`),t=t.parent.ctx.fiber.entry;while(t);return r};async init(){try{await(this._initTask??=this._init())}finally{this._initTask=void 0}const t=()=>{this.loader.getTasks().length||this.ctx.reflect.notify(["loader"])};this.fiber?.await().then(t,t)}async _init(){let t;try{t=await this.parent.tree.import(this.options.name,this.getOuterStack)}catch(i){this.ctx.logger.error(i);return}finally{this._initTask=void 0}const r=this.loader.unwrapExports(t);this._patchContext([]),this.loader.showLog(this,"apply"),this.fiber=this.ctx.registry.plugin(r,this.options.config,this.getOuterStack).ctx.fiber,this.moduleNamespace=t}};function Hh(e,t){for(const r of Reflect.ownKeys(e))Reflect.deleteProperty(e,r);for(const r of Reflect.ownKeys(t||{}))Reflect.defineProperty(e,r,Reflect.getOwnPropertyDescriptor(t,r))}var r7=class{store=Object.create(null);access(e,t=!1){return t?this.store[e]??=Symbol(`${e}${this.suffix}`):this.store[e]??Symbol(`${e}${this.suffix}`)}delete(e){delete this.store[e]}get size(){return Object.keys(this.store).length}},Jx=class extends r7{entry;constructor(e){super(),this.entry=e}get suffix(){return"#"+this.entry.options.id}},Gx=class extends r7{label;constructor(e){super(),this.label=e}get suffix(){return"@"+this.label}};function Yx(e){const t=Object.create(null),r=Object.create(null);function i(n,s,l=!1){let u;const f=n.options.isolate?.[s];if(f)return f===!0?u=n.realm??=new Jx(n):l?u=t[f]??=new Gx(f):u=t[f],u?.access(s,l)}e.on("loader/entry-init",n=>{n.ctx[at.intercept]=Object.create(n.ctx[at.intercept]),n.ctx[at.isolate]=Object.create(n.ctx[at.isolate])}),e.on("loader/patch-context",(n,s)=>{const l=Object.create(n.parent.ctx[at.isolate]);for(const h of Object.keys(n.options.isolate??{}))l[h]=i(n,h,!0);const u=Object.create(null),f=n.ctx[at.isolate];for(const h in{...l,...r}){if(l[h]===f[h])continue;const g=r[h]??=Symbol(`delim:${h}`);n.ctx[g]=Symbol(`${h}#${n.id}`);for(const y of[f[h],l[h]]){const _=y&&n.ctx.reflect.store[y];if(_){if(!_.fiber){n.ctx.logger.warn(new Error(`expected service ${h} to be implemented`));continue}if(u[h]=[f[h],l[h],n.ctx[g],_.fiber.ctx[g]],n.ctx[g]!==_.fiber.ctx[g])break}}}Object.setPrototypeOf(n.ctx[at.isolate],n.parent.ctx[at.isolate]),Object.setPrototypeOf(n.ctx[at.intercept],n.parent.ctx[at.intercept]),Hh(n.ctx[at.isolate],l),Hh(n.ctx[at.intercept],n.options.intercept),s();for(const[h,g,y,_]of Object.values(u))y===_&&n.ctx.reflect.store[h]&&!n.ctx.reflect.store[g]&&(n.ctx.reflect.store[g]=n.ctx.reflect.store[h],delete n.ctx.reflect.store[h]);e.reflect.notify(Object.keys(u),(h,g)=>{const[y,_,w,x]=u[g],I=h[at.isolate][g],S=h[r[g]];return(y===I||_===I)&&w===S!=(w===x)});for(const h in r)Reflect.ownKeys(l).includes(h)||delete n.ctx[r[h]]}),e.on("loader/partial-dispose",(n,s,l)=>{for(const[u,f]of Object.entries(s.isolate??{})){if(f===!0||l&&n.options.isolate?.[u]===f)continue;const h=t[f];if(h){for(const g of e.loader.entries())if(g.options.isolate?.[u]===h.label)return;h.delete(u),h.size||delete t[h.label]}}})}var Xx=class extends Xp{config;envData={startTime:Date.now()};name="loader";internal=n2.fromInternal();builtins=Object.create(null);constructor(e,t={}){super(e),this.config=t,t.baseUrl&&(this.ctx.baseUrl=t.baseUrl);const r=this;Bn(this,oi.tracker,{associate:"loader",property:"ctx",noShadow:!0}),e.reflect.provide("loader",this,this[oi.check]),e.on("internal/config",function(i,n){const s=n();return!this.entry||this.parent.fiber?.entry===this.entry||this.runtime?.callback?.[L1.key]?s:r2(this.ctx,s)},{global:!0}),e.on("internal/update",function(i,n,s){if(!this.entry||n||this.parent.fiber?.entry===this.entry)return s();const l=this.runtime?.Config?.simplify;return this.entry.options.config=l?l.call(this.runtime.Config,i):i,this.entry.parent.tree.write(),s()},{global:!0,prepend:!0}),e.on("internal/update",function(i,n,s){return!this.entry||this.parent.fiber?.entry===this.entry||r.showLog(this.entry,"reload"),s()},{global:!0}),e.on("internal/plugin",i=>{if(i.parent[i2.key]&&!i.entry&&(i.entry=i.parent[i2.key],Js.resolve(i.entry.options.inject,i.inject)),i.uid||!i.entry||i.parent.fiber?.entry===i.entry||!e.registry.has(i.runtime.callback))return;const n=i.entry.parent.tree.ctx.fiber;!n.uid||n.state===5||(this.showLog(i.entry,"unload"),!i.entry.disabled&&(i.entry.options.disabled=!0,i.entry.parent.tree.write()))}),e.plugin(Yx)}write(){}[oi.check](){return!(oi.prototype[oi.resolveConfig].call(this).await&&this.getTasks().length)}showLog(e,t){e.options.group||!e.parent.tree.enableLogs||this.ctx.root.logger?.("loader").info("%s plugin %C",t,e.options.name)}locate(e=this.ctx.fiber){for(;;){if(e.entry)return e.entry.id;const t=e.parent.fiber;if(e===t)return;e=t}}exit(){}unwrapExports(e){return or(e)||(e=e.default??e,!e.__esModule)?e:e.default??e}};const Qx="_boot_u7vgf_3",ek="_card_u7vgf_24",tk="_wordmark_u7vgf_31",nk="_hint_u7vgf_39",rk="_spinner_u7vgf_45",ik="_failed_u7vgf_72",ok="_failedTitle_u7vgf_79",sk="_failedItem_u7vgf_86",nr={boot:Qx,card:ek,wordmark:tk,hint:nk,spinner:rk,failed:ik,failedTitle:ok,failedItem:sk};function aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var x0={exports:{}},Ne={};/**
|
|
21
|
-
* @license React
|
|
22
|
-
* react.production.min.js
|
|
23
|
-
*
|
|
24
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
25
|
-
*
|
|
26
|
-
* This source code is licensed under the MIT license found in the
|
|
27
|
-
* LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/var Zh;function ak(){if(Zh)return Ne;Zh=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.iterator;function _($){return $===null||typeof $!="object"?null:($=y&&$[y]||$["@@iterator"],typeof $=="function"?$:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,I={};function S($,Z,W){this.props=$,this.context=Z,this.refs=I,this.updater=W||w}S.prototype.isReactComponent={},S.prototype.setState=function($,Z){if(typeof $!="object"&&typeof $!="function"&&$!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,Z,"setState")},S.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function E(){}E.prototype=S.prototype;function z($,Z,W){this.props=$,this.context=Z,this.refs=I,this.updater=W||w}var O=z.prototype=new E;O.constructor=z,x(O,S.prototype),O.isPureReactComponent=!0;var P=Array.isArray,N=Object.prototype.hasOwnProperty,A={current:null},K={key:!0,ref:!0,__self:!0,__source:!0};function re($,Z,W){var ne,pe={},be=null,_e=null;if(Z!=null)for(ne in Z.ref!==void 0&&(_e=Z.ref),Z.key!==void 0&&(be=""+Z.key),Z)N.call(Z,ne)&&!K.hasOwnProperty(ne)&&(pe[ne]=Z[ne]);var oe=arguments.length-2;if(oe===1)pe.children=W;else if(1<oe){for(var le=Array(oe),Pe=0;Pe<oe;Pe++)le[Pe]=arguments[Pe+2];pe.children=le}if($&&$.defaultProps)for(ne in oe=$.defaultProps,oe)pe[ne]===void 0&&(pe[ne]=oe[ne]);return{$$typeof:e,type:$,key:be,ref:_e,props:pe,_owner:A.current}}function V($,Z){return{$$typeof:e,type:$.type,key:Z,ref:$.ref,props:$.props,_owner:$._owner}}function H($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function te($){var Z={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(W){return Z[W]})}var ie=/\/+/g;function se($,Z){return typeof $=="object"&&$!==null&&$.key!=null?te(""+$.key):Z.toString(36)}function xe($,Z,W,ne,pe){var be=typeof $;(be==="undefined"||be==="boolean")&&($=null);var _e=!1;if($===null)_e=!0;else switch(be){case"string":case"number":_e=!0;break;case"object":switch($.$$typeof){case e:case t:_e=!0}}if(_e)return _e=$,pe=pe(_e),$=ne===""?"."+se(_e,0):ne,P(pe)?(W="",$!=null&&(W=$.replace(ie,"$&/")+"/"),xe(pe,Z,W,"",function(Pe){return Pe})):pe!=null&&(H(pe)&&(pe=V(pe,W+(!pe.key||_e&&_e.key===pe.key?"":(""+pe.key).replace(ie,"$&/")+"/")+$)),Z.push(pe)),1;if(_e=0,ne=ne===""?".":ne+":",P($))for(var oe=0;oe<$.length;oe++){be=$[oe];var le=ne+se(be,oe);_e+=xe(be,Z,W,le,pe)}else if(le=_($),typeof le=="function")for($=le.call($),oe=0;!(be=$.next()).done;)be=be.value,le=ne+se(be,oe++),_e+=xe(be,Z,W,le,pe);else if(be==="object")throw Z=String($),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.");return _e}function ce($,Z,W){if($==null)return $;var ne=[],pe=0;return xe($,ne,"","",function(be){return Z.call(W,be,pe++)}),ne}function he($){if($._status===-1){var Z=$._result;Z=Z(),Z.then(function(W){($._status===0||$._status===-1)&&($._status=1,$._result=W)},function(W){($._status===0||$._status===-1)&&($._status=2,$._result=W)}),$._status===-1&&($._status=0,$._result=Z)}if($._status===1)return $._result.default;throw $._result}var ze={current:null},Q={transition:null},U={ReactCurrentDispatcher:ze,ReactCurrentBatchConfig:Q,ReactCurrentOwner:A};function X(){throw Error("act(...) is not supported in production builds of React.")}return Ne.Children={map:ce,forEach:function($,Z,W){ce($,function(){Z.apply(this,arguments)},W)},count:function($){var Z=0;return ce($,function(){Z++}),Z},toArray:function($){return ce($,function(Z){return Z})||[]},only:function($){if(!H($))throw Error("React.Children.only expected to receive a single React element child.");return $}},Ne.Component=S,Ne.Fragment=r,Ne.Profiler=n,Ne.PureComponent=z,Ne.StrictMode=i,Ne.Suspense=f,Ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,Ne.act=X,Ne.cloneElement=function($,Z,W){if($==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+$+".");var ne=x({},$.props),pe=$.key,be=$.ref,_e=$._owner;if(Z!=null){if(Z.ref!==void 0&&(be=Z.ref,_e=A.current),Z.key!==void 0&&(pe=""+Z.key),$.type&&$.type.defaultProps)var oe=$.type.defaultProps;for(le in Z)N.call(Z,le)&&!K.hasOwnProperty(le)&&(ne[le]=Z[le]===void 0&&oe!==void 0?oe[le]:Z[le])}var le=arguments.length-2;if(le===1)ne.children=W;else if(1<le){oe=Array(le);for(var Pe=0;Pe<le;Pe++)oe[Pe]=arguments[Pe+2];ne.children=oe}return{$$typeof:e,type:$.type,key:pe,ref:be,props:ne,_owner:_e}},Ne.createContext=function($){return $={$$typeof:l,_currentValue:$,_currentValue2:$,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},$.Provider={$$typeof:s,_context:$},$.Consumer=$},Ne.createElement=re,Ne.createFactory=function($){var Z=re.bind(null,$);return Z.type=$,Z},Ne.createRef=function(){return{current:null}},Ne.forwardRef=function($){return{$$typeof:u,render:$}},Ne.isValidElement=H,Ne.lazy=function($){return{$$typeof:g,_payload:{_status:-1,_result:$},_init:he}},Ne.memo=function($,Z){return{$$typeof:h,type:$,compare:Z===void 0?null:Z}},Ne.startTransition=function($){var Z=Q.transition;Q.transition={};try{$()}finally{Q.transition=Z}},Ne.unstable_act=X,Ne.useCallback=function($,Z){return ze.current.useCallback($,Z)},Ne.useContext=function($){return ze.current.useContext($)},Ne.useDebugValue=function(){},Ne.useDeferredValue=function($){return ze.current.useDeferredValue($)},Ne.useEffect=function($,Z){return ze.current.useEffect($,Z)},Ne.useId=function(){return ze.current.useId()},Ne.useImperativeHandle=function($,Z,W){return ze.current.useImperativeHandle($,Z,W)},Ne.useInsertionEffect=function($,Z){return ze.current.useInsertionEffect($,Z)},Ne.useLayoutEffect=function($,Z){return ze.current.useLayoutEffect($,Z)},Ne.useMemo=function($,Z){return ze.current.useMemo($,Z)},Ne.useReducer=function($,Z,W){return ze.current.useReducer($,Z,W)},Ne.useRef=function($){return ze.current.useRef($)},Ne.useState=function($){return ze.current.useState($)},Ne.useSyncExternalStore=function($,Z,W){return ze.current.useSyncExternalStore($,Z,W)},Ne.useTransition=function(){return ze.current.useTransition()},Ne.version="18.3.1",Ne}var Vh;function N2(){return Vh||(Vh=1,x0.exports=ak()),x0.exports}var k=N2();const lk=aa(k),ck=X1({__proto__:null,default:lk},[k]);var k0={exports:{}},Os={};/**
|
|
29
|
-
* @license React
|
|
30
|
-
* react-jsx-runtime.production.min.js
|
|
31
|
-
*
|
|
32
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
33
|
-
*
|
|
34
|
-
* This source code is licensed under the MIT license found in the
|
|
35
|
-
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/var Bh;function uk(){if(Bh)return Os;Bh=1;var e=N2(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(u,f,h){var g,y={},_=null,w=null;h!==void 0&&(_=""+h),f.key!==void 0&&(_=""+f.key),f.ref!==void 0&&(w=f.ref);for(g in f)i.call(f,g)&&!s.hasOwnProperty(g)&&(y[g]=f[g]);if(u&&u.defaultProps)for(g in f=u.defaultProps,f)y[g]===void 0&&(y[g]=f[g]);return{$$typeof:t,type:u,key:_,ref:w,props:y,_owner:n.current}}return Os.Fragment=r,Os.jsx=l,Os.jsxs=l,Os}var Wh;function dk(){return Wh||(Wh=1,k0.exports=uk()),k0.exports}var p=dk();const fk=aa(p),hk=X1({__proto__:null,default:fk},[p]);var C0={exports:{}},Ft={},$0={exports:{}},S0={};/**
|
|
37
|
-
* @license React
|
|
38
|
-
* scheduler.production.min.js
|
|
39
|
-
*
|
|
40
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
41
|
-
*
|
|
42
|
-
* This source code is licensed under the MIT license found in the
|
|
43
|
-
* LICENSE file in the root directory of this source tree.
|
|
44
|
-
*/var Kh;function pk(){return Kh||(Kh=1,(function(e){function t(Q,U){var X=Q.length;Q.push(U);e:for(;0<X;){var $=X-1>>>1,Z=Q[$];if(0<n(Z,U))Q[$]=U,Q[X]=Z,X=$;else break e}}function r(Q){return Q.length===0?null:Q[0]}function i(Q){if(Q.length===0)return null;var U=Q[0],X=Q.pop();if(X!==U){Q[0]=X;e:for(var $=0,Z=Q.length,W=Z>>>1;$<W;){var ne=2*($+1)-1,pe=Q[ne],be=ne+1,_e=Q[be];if(0>n(pe,X))be<Z&&0>n(_e,pe)?(Q[$]=_e,Q[be]=X,$=be):(Q[$]=pe,Q[ne]=X,$=ne);else if(be<Z&&0>n(_e,X))Q[$]=_e,Q[be]=X,$=be;else break e}}return U}function n(Q,U){var X=Q.sortIndex-U.sortIndex;return X!==0?X:Q.id-U.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],h=[],g=1,y=null,_=3,w=!1,x=!1,I=!1,S=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(Q){for(var U=r(h);U!==null;){if(U.callback===null)i(h);else if(U.startTime<=Q)i(h),U.sortIndex=U.expirationTime,t(f,U);else break;U=r(h)}}function P(Q){if(I=!1,O(Q),!x)if(r(f)!==null)x=!0,he(N);else{var U=r(h);U!==null&&ze(P,U.startTime-Q)}}function N(Q,U){x=!1,I&&(I=!1,E(re),re=-1),w=!0;var X=_;try{for(O(U),y=r(f);y!==null&&(!(y.expirationTime>U)||Q&&!te());){var $=y.callback;if(typeof $=="function"){y.callback=null,_=y.priorityLevel;var Z=$(y.expirationTime<=U);U=e.unstable_now(),typeof Z=="function"?y.callback=Z:y===r(f)&&i(f),O(U)}else i(f);y=r(f)}if(y!==null)var W=!0;else{var ne=r(h);ne!==null&&ze(P,ne.startTime-U),W=!1}return W}finally{y=null,_=X,w=!1}}var A=!1,K=null,re=-1,V=5,H=-1;function te(){return!(e.unstable_now()-H<V)}function ie(){if(K!==null){var Q=e.unstable_now();H=Q;var U=!0;try{U=K(!0,Q)}finally{U?se():(A=!1,K=null)}}else A=!1}var se;if(typeof z=="function")se=function(){z(ie)};else if(typeof MessageChannel<"u"){var xe=new MessageChannel,ce=xe.port2;xe.port1.onmessage=ie,se=function(){ce.postMessage(null)}}else se=function(){S(ie,0)};function he(Q){K=Q,A||(A=!0,se())}function ze(Q,U){re=S(function(){Q(e.unstable_now())},U)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Q){Q.callback=null},e.unstable_continueExecution=function(){x||w||(x=!0,he(N))},e.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<Q?Math.floor(1e3/Q):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_getFirstCallbackNode=function(){return r(f)},e.unstable_next=function(Q){switch(_){case 1:case 2:case 3:var U=3;break;default:U=_}var X=_;_=U;try{return Q()}finally{_=X}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(Q,U){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var X=_;_=Q;try{return U()}finally{_=X}},e.unstable_scheduleCallback=function(Q,U,X){var $=e.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?$+X:$):X=$,Q){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=X+Z,Q={id:g++,callback:U,priorityLevel:Q,startTime:X,expirationTime:Z,sortIndex:-1},X>$?(Q.sortIndex=X,t(h,Q),r(f)===null&&Q===r(h)&&(I?(E(re),re=-1):I=!0,ze(P,X-$))):(Q.sortIndex=Z,t(f,Q),x||w||(x=!0,he(N))),Q},e.unstable_shouldYield=te,e.unstable_wrapCallback=function(Q){var U=_;return function(){var X=_;_=U;try{return Q.apply(this,arguments)}finally{_=X}}}})(S0)),S0}var qh;function mk(){return qh||(qh=1,$0.exports=pk()),$0.exports}/**
|
|
45
|
-
* @license React
|
|
46
|
-
* react-dom.production.min.js
|
|
47
|
-
*
|
|
48
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
49
|
-
*
|
|
50
|
-
* This source code is licensed under the MIT license found in the
|
|
51
|
-
* LICENSE file in the root directory of this source tree.
|
|
52
|
-
*/var Jh;function gk(){if(Jh)return Ft;Jh=1;var e=N2(),t=mk();function r(o){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+o,c=1;c<arguments.length;c++)a+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+o+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,n={};function s(o,a){l(o,a),l(o+"Capture",a)}function l(o,a){for(n[o]=a,o=0;o<a.length;o++)i.add(a[o])}var u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,h=/^[: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]*$/,g={},y={};function _(o){return f.call(y,o)?!0:f.call(g,o)?!1:h.test(o)?y[o]=!0:(g[o]=!0,!1)}function w(o,a,c,d){if(c!==null&&c.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return d?!1:c!==null?!c.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function x(o,a,c,d){if(a===null||typeof a>"u"||w(o,a,c,d))return!0;if(d)return!1;if(c!==null)switch(c.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function I(o,a,c,d,m,v,b){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=d,this.attributeNamespace=m,this.mustUseProperty=c,this.propertyName=o,this.type=a,this.sanitizeURL=v,this.removeEmptyString=b}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){S[o]=new I(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var a=o[0];S[a]=new I(a,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){S[o]=new I(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){S[o]=new I(o,2,!1,o,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(o){S[o]=new I(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){S[o]=new I(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){S[o]=new I(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){S[o]=new I(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){S[o]=new I(o,5,!1,o.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function z(o){return o[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(o){var a=o.replace(E,z);S[a]=new I(a,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var a=o.replace(E,z);S[a]=new I(a,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var a=o.replace(E,z);S[a]=new I(a,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){S[o]=new I(o,1,!1,o.toLowerCase(),null,!1,!1)}),S.xlinkHref=new I("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){S[o]=new I(o,1,!1,o.toLowerCase(),null,!0,!0)});function O(o,a,c,d){var m=S.hasOwnProperty(a)?S[a]:null;(m!==null?m.type!==0:d||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(x(a,c,m,d)&&(c=null),d||m===null?_(a)&&(c===null?o.removeAttribute(a):o.setAttribute(a,""+c)):m.mustUseProperty?o[m.propertyName]=c===null?m.type===3?!1:"":c:(a=m.attributeName,d=m.attributeNamespace,c===null?o.removeAttribute(a):(m=m.type,c=m===3||m===4&&c===!0?"":""+c,d?o.setAttributeNS(d,a,c):o.setAttribute(a,c))))}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,N=Symbol.for("react.element"),A=Symbol.for("react.portal"),K=Symbol.for("react.fragment"),re=Symbol.for("react.strict_mode"),V=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),te=Symbol.for("react.context"),ie=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),xe=Symbol.for("react.suspense_list"),ce=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),ze=Symbol.for("react.offscreen"),Q=Symbol.iterator;function U(o){return o===null||typeof o!="object"?null:(o=Q&&o[Q]||o["@@iterator"],typeof o=="function"?o:null)}var X=Object.assign,$;function Z(o){if($===void 0)try{throw Error()}catch(c){var a=c.stack.trim().match(/\n( *(at )?)/);$=a&&a[1]||""}return`
|
|
53
|
-
`+$+o}var W=!1;function ne(o,a){if(!o||W)return"";W=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(a)if(a=function(){throw Error()},Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(F){var d=F}Reflect.construct(o,[],a)}else{try{a.call()}catch(F){d=F}o.call(a.prototype)}else{try{throw Error()}catch(F){d=F}o()}}catch(F){if(F&&d&&typeof F.stack=="string"){for(var m=F.stack.split(`
|
|
54
|
-
`),v=d.stack.split(`
|
|
55
|
-
`),b=m.length-1,C=v.length-1;1<=b&&0<=C&&m[b]!==v[C];)C--;for(;1<=b&&0<=C;b--,C--)if(m[b]!==v[C]){if(b!==1||C!==1)do if(b--,C--,0>C||m[b]!==v[C]){var j=`
|
|
56
|
-
`+m[b].replace(" at new "," at ");return o.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",o.displayName)),j}while(1<=b&&0<=C);break}}}finally{W=!1,Error.prepareStackTrace=c}return(o=o?o.displayName||o.name:"")?Z(o):""}function pe(o){switch(o.tag){case 5:return Z(o.type);case 16:return Z("Lazy");case 13:return Z("Suspense");case 19:return Z("SuspenseList");case 0:case 2:case 15:return o=ne(o.type,!1),o;case 11:return o=ne(o.type.render,!1),o;case 1:return o=ne(o.type,!0),o;default:return""}}function be(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case K:return"Fragment";case A:return"Portal";case V:return"Profiler";case re:return"StrictMode";case se:return"Suspense";case xe:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case te:return(o.displayName||"Context")+".Consumer";case H:return(o._context.displayName||"Context")+".Provider";case ie:var a=o.render;return o=o.displayName,o||(o=a.displayName||a.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case ce:return a=o.displayName||null,a!==null?a:be(o.type)||"Memo";case he:a=o._payload,o=o._init;try{return be(o(a))}catch{}}return null}function _e(o){var a=o.type;switch(o.tag){case 24:return"Cache";case 9:return(a.displayName||"Context")+".Consumer";case 10:return(a._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=a.render,o=o.displayName||o.name||"",a.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return be(a);case 8:return a===re?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a}return null}function oe(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function le(o){var a=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Pe(o){var a=le(o)?"checked":"value",c=Object.getOwnPropertyDescriptor(o.constructor.prototype,a),d=""+o[a];if(!o.hasOwnProperty(a)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var m=c.get,v=c.set;return Object.defineProperty(o,a,{configurable:!0,get:function(){return m.call(this)},set:function(b){d=""+b,v.call(this,b)}}),Object.defineProperty(o,a,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(b){d=""+b},stopTracking:function(){o._valueTracker=null,delete o[a]}}}}function Re(o){o._valueTracker||(o._valueTracker=Pe(o))}function ht(o){if(!o)return!1;var a=o._valueTracker;if(!a)return!0;var c=a.getValue(),d="";return o&&(d=le(o)?o.checked?"true":"false":o.value),o=d,o!==c?(a.setValue(o),!0):!1}function Tt(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function Je(o,a){var c=a.checked;return X({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??o._wrapperState.initialChecked})}function it(o,a){var c=a.defaultValue==null?"":a.defaultValue,d=a.checked!=null?a.checked:a.defaultChecked;c=oe(a.value!=null?a.value:c),o._wrapperState={initialChecked:d,initialValue:c,controlled:a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null}}function ct(o,a){a=a.checked,a!=null&&O(o,"checked",a,!1)}function nn(o,a){ct(o,a);var c=oe(a.value),d=a.type;if(c!=null)d==="number"?(c===0&&o.value===""||o.value!=c)&&(o.value=""+c):o.value!==""+c&&(o.value=""+c);else if(d==="submit"||d==="reset"){o.removeAttribute("value");return}a.hasOwnProperty("value")?rn(o,a.type,c):a.hasOwnProperty("defaultValue")&&rn(o,a.type,oe(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(o.defaultChecked=!!a.defaultChecked)}function vn(o,a,c){if(a.hasOwnProperty("value")||a.hasOwnProperty("defaultValue")){var d=a.type;if(!(d!=="submit"&&d!=="reset"||a.value!==void 0&&a.value!==null))return;a=""+o._wrapperState.initialValue,c||a===o.value||(o.value=a),o.defaultValue=a}c=o.name,c!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,c!==""&&(o.name=c)}function rn(o,a,c){(a!=="number"||Tt(o.ownerDocument)!==o)&&(c==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+c&&(o.defaultValue=""+c))}var on=Array.isArray;function Lt(o,a,c,d){if(o=o.options,a){a={};for(var m=0;m<c.length;m++)a["$"+c[m]]=!0;for(c=0;c<o.length;c++)m=a.hasOwnProperty("$"+o[c].value),o[c].selected!==m&&(o[c].selected=m),m&&d&&(o[c].defaultSelected=!0)}else{for(c=""+oe(c),a=null,m=0;m<o.length;m++){if(o[m].value===c){o[m].selected=!0,d&&(o[m].defaultSelected=!0);return}a!==null||o[m].disabled||(a=o[m])}a!==null&&(a.selected=!0)}}function Fr(o,a){if(a.dangerouslySetInnerHTML!=null)throw Error(r(91));return X({},a,{value:void 0,defaultValue:void 0,children:""+o._wrapperState.initialValue})}function Ii(o,a){var c=a.value;if(c==null){if(c=a.children,a=a.defaultValue,c!=null){if(a!=null)throw Error(r(92));if(on(c)){if(1<c.length)throw Error(r(93));c=c[0]}a=c}a==null&&(a=""),c=a}o._wrapperState={initialValue:oe(c)}}function zi(o,a){var c=oe(a.value),d=oe(a.defaultValue);c!=null&&(c=""+c,c!==o.value&&(o.value=c),a.defaultValue==null&&o.defaultValue!==c&&(o.defaultValue=c)),d!=null&&(o.defaultValue=""+d)}function Bo(o){var a=o.textContent;a===o._wrapperState.initialValue&&a!==""&&a!==null&&(o.value=a)}function Wo(o){switch(o){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Iu(o,a){return o==null||o==="http://www.w3.org/1999/xhtml"?Wo(a):o==="http://www.w3.org/2000/svg"&&a==="foreignObject"?"http://www.w3.org/1999/xhtml":o}var ol,K4=(function(o){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,c,d,m){MSApp.execUnsafeLocalFunction(function(){return o(a,c,d,m)})}:o})(function(o,a){if(o.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in o)o.innerHTML=a;else{for(ol=ol||document.createElement("div"),ol.innerHTML="<svg>"+a.valueOf().toString()+"</svg>",a=ol.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;a.firstChild;)o.appendChild(a.firstChild)}});function Ko(o,a){if(a){var c=o.firstChild;if(c&&c===o.lastChild&&c.nodeType===3){c.nodeValue=a;return}}o.textContent=a}var qo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fw=["Webkit","ms","Moz","O"];Object.keys(qo).forEach(function(o){fw.forEach(function(a){a=a+o.charAt(0).toUpperCase()+o.substring(1),qo[a]=qo[o]})});function q4(o,a,c){return a==null||typeof a=="boolean"||a===""?"":c||typeof a!="number"||a===0||qo.hasOwnProperty(o)&&qo[o]?(""+a).trim():a+"px"}function J4(o,a){o=o.style;for(var c in a)if(a.hasOwnProperty(c)){var d=c.indexOf("--")===0,m=q4(c,a[c],d);c==="float"&&(c="cssFloat"),d?o.setProperty(c,m):o[c]=m}}var hw=X({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function zu(o,a){if(a){if(hw[o]&&(a.children!=null||a.dangerouslySetInnerHTML!=null))throw Error(r(137,o));if(a.dangerouslySetInnerHTML!=null){if(a.children!=null)throw Error(r(60));if(typeof a.dangerouslySetInnerHTML!="object"||!("__html"in a.dangerouslySetInnerHTML))throw Error(r(61))}if(a.style!=null&&typeof a.style!="object")throw Error(r(62))}}function ju(o,a){if(o.indexOf("-")===-1)return typeof a.is=="string";switch(o){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Eu=null;function Ou(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Mu=null,ji=null,Ei=null;function G4(o){if(o=gs(o)){if(typeof Mu!="function")throw Error(r(280));var a=o.stateNode;a&&(a=zl(a),Mu(o.stateNode,o.type,a))}}function Y4(o){ji?Ei?Ei.push(o):Ei=[o]:ji=o}function X4(){if(ji){var o=ji,a=Ei;if(Ei=ji=null,G4(o),a)for(o=0;o<a.length;o++)G4(a[o])}}function Q4(o,a){return o(a)}function e6(){}var Tu=!1;function t6(o,a,c){if(Tu)return o(a,c);Tu=!0;try{return Q4(o,a,c)}finally{Tu=!1,(ji!==null||Ei!==null)&&(e6(),X4())}}function Jo(o,a){var c=o.stateNode;if(c===null)return null;var d=zl(c);if(d===null)return null;c=d[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(o=o.type,d=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!d;break e;default:o=!1}if(o)return null;if(c&&typeof c!="function")throw Error(r(231,a,typeof c));return c}var Lu=!1;if(u)try{var Go={};Object.defineProperty(Go,"passive",{get:function(){Lu=!0}}),window.addEventListener("test",Go,Go),window.removeEventListener("test",Go,Go)}catch{Lu=!1}function pw(o,a,c,d,m,v,b,C,j){var F=Array.prototype.slice.call(arguments,3);try{a.apply(c,F)}catch(J){this.onError(J)}}var Yo=!1,sl=null,al=!1,Nu=null,mw={onError:function(o){Yo=!0,sl=o}};function gw(o,a,c,d,m,v,b,C,j){Yo=!1,sl=null,pw.apply(mw,arguments)}function vw(o,a,c,d,m,v,b,C,j){if(gw.apply(this,arguments),Yo){if(Yo){var F=sl;Yo=!1,sl=null}else throw Error(r(198));al||(al=!0,Nu=F)}}function Ur(o){var a=o,c=o;if(o.alternate)for(;a.return;)a=a.return;else{o=a;do a=o,(a.flags&4098)!==0&&(c=a.return),o=a.return;while(o)}return a.tag===3?c:null}function n6(o){if(o.tag===13){var a=o.memoizedState;if(a===null&&(o=o.alternate,o!==null&&(a=o.memoizedState)),a!==null)return a.dehydrated}return null}function r6(o){if(Ur(o)!==o)throw Error(r(188))}function yw(o){var a=o.alternate;if(!a){if(a=Ur(o),a===null)throw Error(r(188));return a!==o?null:o}for(var c=o,d=a;;){var m=c.return;if(m===null)break;var v=m.alternate;if(v===null){if(d=m.return,d!==null){c=d;continue}break}if(m.child===v.child){for(v=m.child;v;){if(v===c)return r6(m),o;if(v===d)return r6(m),a;v=v.sibling}throw Error(r(188))}if(c.return!==d.return)c=m,d=v;else{for(var b=!1,C=m.child;C;){if(C===c){b=!0,c=m,d=v;break}if(C===d){b=!0,d=m,c=v;break}C=C.sibling}if(!b){for(C=v.child;C;){if(C===c){b=!0,c=v,d=m;break}if(C===d){b=!0,d=v,c=m;break}C=C.sibling}if(!b)throw Error(r(189))}}if(c.alternate!==d)throw Error(r(190))}if(c.tag!==3)throw Error(r(188));return c.stateNode.current===c?o:a}function i6(o){return o=yw(o),o!==null?o6(o):null}function o6(o){if(o.tag===5||o.tag===6)return o;for(o=o.child;o!==null;){var a=o6(o);if(a!==null)return a;o=o.sibling}return null}var s6=t.unstable_scheduleCallback,a6=t.unstable_cancelCallback,_w=t.unstable_shouldYield,ww=t.unstable_requestPaint,ot=t.unstable_now,bw=t.unstable_getCurrentPriorityLevel,Pu=t.unstable_ImmediatePriority,l6=t.unstable_UserBlockingPriority,ll=t.unstable_NormalPriority,xw=t.unstable_LowPriority,c6=t.unstable_IdlePriority,cl=null,Mn=null;function kw(o){if(Mn&&typeof Mn.onCommitFiberRoot=="function")try{Mn.onCommitFiberRoot(cl,o,void 0,(o.current.flags&128)===128)}catch{}}var yn=Math.clz32?Math.clz32:Sw,Cw=Math.log,$w=Math.LN2;function Sw(o){return o>>>=0,o===0?32:31-(Cw(o)/$w|0)|0}var ul=64,dl=4194304;function Xo(o){switch(o&-o){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: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 o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function fl(o,a){var c=o.pendingLanes;if(c===0)return 0;var d=0,m=o.suspendedLanes,v=o.pingedLanes,b=c&268435455;if(b!==0){var C=b&~m;C!==0?d=Xo(C):(v&=b,v!==0&&(d=Xo(v)))}else b=c&~m,b!==0?d=Xo(b):v!==0&&(d=Xo(v));if(d===0)return 0;if(a!==0&&a!==d&&(a&m)===0&&(m=d&-d,v=a&-a,m>=v||m===16&&(v&4194240)!==0))return a;if((d&4)!==0&&(d|=c&16),a=o.entangledLanes,a!==0)for(o=o.entanglements,a&=d;0<a;)c=31-yn(a),m=1<<c,d|=o[c],a&=~m;return d}function Iw(o,a){switch(o){case 1:case 2:case 4:return a+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function zw(o,a){for(var c=o.suspendedLanes,d=o.pingedLanes,m=o.expirationTimes,v=o.pendingLanes;0<v;){var b=31-yn(v),C=1<<b,j=m[b];j===-1?((C&c)===0||(C&d)!==0)&&(m[b]=Iw(C,a)):j<=a&&(o.expiredLanes|=C),v&=~C}}function Du(o){return o=o.pendingLanes&-1073741825,o!==0?o:o&1073741824?1073741824:0}function u6(){var o=ul;return ul<<=1,(ul&4194240)===0&&(ul=64),o}function Ru(o){for(var a=[],c=0;31>c;c++)a.push(o);return a}function Qo(o,a,c){o.pendingLanes|=a,a!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,a=31-yn(a),o[a]=c}function jw(o,a){var c=o.pendingLanes&~a;o.pendingLanes=a,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=a,o.mutableReadLanes&=a,o.entangledLanes&=a,a=o.entanglements;var d=o.eventTimes;for(o=o.expirationTimes;0<c;){var m=31-yn(c),v=1<<m;a[m]=0,d[m]=-1,o[m]=-1,c&=~v}}function Au(o,a){var c=o.entangledLanes|=a;for(o=o.entanglements;c;){var d=31-yn(c),m=1<<d;m&a|o[d]&a&&(o[d]|=a),c&=~m}}var Ve=0;function d6(o){return o&=-o,1<o?4<o?(o&268435455)!==0?16:536870912:4:1}var f6,Fu,h6,p6,m6,Uu=!1,hl=[],dr=null,fr=null,hr=null,es=new Map,ts=new Map,pr=[],Ew="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function g6(o,a){switch(o){case"focusin":case"focusout":dr=null;break;case"dragenter":case"dragleave":fr=null;break;case"mouseover":case"mouseout":hr=null;break;case"pointerover":case"pointerout":es.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":ts.delete(a.pointerId)}}function ns(o,a,c,d,m,v){return o===null||o.nativeEvent!==v?(o={blockedOn:a,domEventName:c,eventSystemFlags:d,nativeEvent:v,targetContainers:[m]},a!==null&&(a=gs(a),a!==null&&Fu(a)),o):(o.eventSystemFlags|=d,a=o.targetContainers,m!==null&&a.indexOf(m)===-1&&a.push(m),o)}function Ow(o,a,c,d,m){switch(a){case"focusin":return dr=ns(dr,o,a,c,d,m),!0;case"dragenter":return fr=ns(fr,o,a,c,d,m),!0;case"mouseover":return hr=ns(hr,o,a,c,d,m),!0;case"pointerover":var v=m.pointerId;return es.set(v,ns(es.get(v)||null,o,a,c,d,m)),!0;case"gotpointercapture":return v=m.pointerId,ts.set(v,ns(ts.get(v)||null,o,a,c,d,m)),!0}return!1}function v6(o){var a=Hr(o.target);if(a!==null){var c=Ur(a);if(c!==null){if(a=c.tag,a===13){if(a=n6(c),a!==null){o.blockedOn=a,m6(o.priority,function(){h6(c)});return}}else if(a===3&&c.stateNode.current.memoizedState.isDehydrated){o.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}o.blockedOn=null}function pl(o){if(o.blockedOn!==null)return!1;for(var a=o.targetContainers;0<a.length;){var c=Zu(o.domEventName,o.eventSystemFlags,a[0],o.nativeEvent);if(c===null){c=o.nativeEvent;var d=new c.constructor(c.type,c);Eu=d,c.target.dispatchEvent(d),Eu=null}else return a=gs(c),a!==null&&Fu(a),o.blockedOn=c,!1;a.shift()}return!0}function y6(o,a,c){pl(o)&&c.delete(a)}function Mw(){Uu=!1,dr!==null&&pl(dr)&&(dr=null),fr!==null&&pl(fr)&&(fr=null),hr!==null&&pl(hr)&&(hr=null),es.forEach(y6),ts.forEach(y6)}function rs(o,a){o.blockedOn===a&&(o.blockedOn=null,Uu||(Uu=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Mw)))}function is(o){function a(m){return rs(m,o)}if(0<hl.length){rs(hl[0],o);for(var c=1;c<hl.length;c++){var d=hl[c];d.blockedOn===o&&(d.blockedOn=null)}}for(dr!==null&&rs(dr,o),fr!==null&&rs(fr,o),hr!==null&&rs(hr,o),es.forEach(a),ts.forEach(a),c=0;c<pr.length;c++)d=pr[c],d.blockedOn===o&&(d.blockedOn=null);for(;0<pr.length&&(c=pr[0],c.blockedOn===null);)v6(c),c.blockedOn===null&&pr.shift()}var Oi=P.ReactCurrentBatchConfig,ml=!0;function Tw(o,a,c,d){var m=Ve,v=Oi.transition;Oi.transition=null;try{Ve=1,Hu(o,a,c,d)}finally{Ve=m,Oi.transition=v}}function Lw(o,a,c,d){var m=Ve,v=Oi.transition;Oi.transition=null;try{Ve=4,Hu(o,a,c,d)}finally{Ve=m,Oi.transition=v}}function Hu(o,a,c,d){if(ml){var m=Zu(o,a,c,d);if(m===null)sd(o,a,d,gl,c),g6(o,d);else if(Ow(m,o,a,c,d))d.stopPropagation();else if(g6(o,d),a&4&&-1<Ew.indexOf(o)){for(;m!==null;){var v=gs(m);if(v!==null&&f6(v),v=Zu(o,a,c,d),v===null&&sd(o,a,d,gl,c),v===m)break;m=v}m!==null&&d.stopPropagation()}else sd(o,a,d,null,c)}}var gl=null;function Zu(o,a,c,d){if(gl=null,o=Ou(d),o=Hr(o),o!==null)if(a=Ur(o),a===null)o=null;else if(c=a.tag,c===13){if(o=n6(a),o!==null)return o;o=null}else if(c===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null);return gl=o,null}function _6(o){switch(o){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(bw()){case Pu:return 1;case l6:return 4;case ll:case xw:return 16;case c6:return 536870912;default:return 16}default:return 16}}var mr=null,Vu=null,vl=null;function w6(){if(vl)return vl;var o,a=Vu,c=a.length,d,m="value"in mr?mr.value:mr.textContent,v=m.length;for(o=0;o<c&&a[o]===m[o];o++);var b=c-o;for(d=1;d<=b&&a[c-d]===m[v-d];d++);return vl=m.slice(o,1<d?1-d:void 0)}function yl(o){var a=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&a===13&&(o=13)):o=a,o===10&&(o=13),32<=o||o===13?o:0}function _l(){return!0}function b6(){return!1}function Zt(o){function a(c,d,m,v,b){this._reactName=c,this._targetInst=m,this.type=d,this.nativeEvent=v,this.target=b,this.currentTarget=null;for(var C in o)o.hasOwnProperty(C)&&(c=o[C],this[C]=c?c(v):v[C]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?_l:b6,this.isPropagationStopped=b6,this}return X(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=_l)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=_l)},persist:function(){},isPersistent:_l}),a}var Mi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bu=Zt(Mi),os=X({},Mi,{view:0,detail:0}),Nw=Zt(os),Wu,Ku,ss,wl=X({},os,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ju,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==ss&&(ss&&o.type==="mousemove"?(Wu=o.screenX-ss.screenX,Ku=o.screenY-ss.screenY):Ku=Wu=0,ss=o),Wu)},movementY:function(o){return"movementY"in o?o.movementY:Ku}}),x6=Zt(wl),Pw=X({},wl,{dataTransfer:0}),Dw=Zt(Pw),Rw=X({},os,{relatedTarget:0}),qu=Zt(Rw),Aw=X({},Mi,{animationName:0,elapsedTime:0,pseudoElement:0}),Fw=Zt(Aw),Uw=X({},Mi,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),Hw=Zt(Uw),Zw=X({},Mi,{data:0}),k6=Zt(Zw),Vw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bw={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"},Ww={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Kw(o){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(o):(o=Ww[o])?!!a[o]:!1}function Ju(){return Kw}var qw=X({},os,{key:function(o){if(o.key){var a=Vw[o.key]||o.key;if(a!=="Unidentified")return a}return o.type==="keypress"?(o=yl(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?Bw[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ju,charCode:function(o){return o.type==="keypress"?yl(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?yl(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),Jw=Zt(qw),Gw=X({},wl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),C6=Zt(Gw),Yw=X({},os,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ju}),Xw=Zt(Yw),Qw=X({},Mi,{propertyName:0,elapsedTime:0,pseudoElement:0}),eb=Zt(Qw),tb=X({},wl,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),nb=Zt(tb),rb=[9,13,27,32],Gu=u&&"CompositionEvent"in window,as=null;u&&"documentMode"in document&&(as=document.documentMode);var ib=u&&"TextEvent"in window&&!as,$6=u&&(!Gu||as&&8<as&&11>=as),S6=" ",I6=!1;function z6(o,a){switch(o){case"keyup":return rb.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function j6(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Ti=!1;function ob(o,a){switch(o){case"compositionend":return j6(a);case"keypress":return a.which!==32?null:(I6=!0,S6);case"textInput":return o=a.data,o===S6&&I6?null:o;default:return null}}function sb(o,a){if(Ti)return o==="compositionend"||!Gu&&z6(o,a)?(o=w6(),vl=Vu=mr=null,Ti=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return $6&&a.locale!=="ko"?null:a.data;default:return null}}var ab={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function E6(o){var a=o&&o.nodeName&&o.nodeName.toLowerCase();return a==="input"?!!ab[o.type]:a==="textarea"}function O6(o,a,c,d){Y4(d),a=$l(a,"onChange"),0<a.length&&(c=new Bu("onChange","change",null,c,d),o.push({event:c,listeners:a}))}var ls=null,cs=null;function lb(o){J6(o,0)}function bl(o){var a=Ri(o);if(ht(a))return o}function cb(o,a){if(o==="change")return a}var M6=!1;if(u){var Yu;if(u){var Xu="oninput"in document;if(!Xu){var T6=document.createElement("div");T6.setAttribute("oninput","return;"),Xu=typeof T6.oninput=="function"}Yu=Xu}else Yu=!1;M6=Yu&&(!document.documentMode||9<document.documentMode)}function L6(){ls&&(ls.detachEvent("onpropertychange",N6),cs=ls=null)}function N6(o){if(o.propertyName==="value"&&bl(cs)){var a=[];O6(a,cs,o,Ou(o)),t6(lb,a)}}function ub(o,a,c){o==="focusin"?(L6(),ls=a,cs=c,ls.attachEvent("onpropertychange",N6)):o==="focusout"&&L6()}function db(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return bl(cs)}function fb(o,a){if(o==="click")return bl(a)}function hb(o,a){if(o==="input"||o==="change")return bl(a)}function pb(o,a){return o===a&&(o!==0||1/o===1/a)||o!==o&&a!==a}var _n=typeof Object.is=="function"?Object.is:pb;function us(o,a){if(_n(o,a))return!0;if(typeof o!="object"||o===null||typeof a!="object"||a===null)return!1;var c=Object.keys(o),d=Object.keys(a);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var m=c[d];if(!f.call(a,m)||!_n(o[m],a[m]))return!1}return!0}function P6(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function D6(o,a){var c=P6(o);o=0;for(var d;c;){if(c.nodeType===3){if(d=o+c.textContent.length,o<=a&&d>=a)return{node:c,offset:a-o};o=d}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=P6(c)}}function R6(o,a){return o&&a?o===a?!0:o&&o.nodeType===3?!1:a&&a.nodeType===3?R6(o,a.parentNode):"contains"in o?o.contains(a):o.compareDocumentPosition?!!(o.compareDocumentPosition(a)&16):!1:!1}function A6(){for(var o=window,a=Tt();a instanceof o.HTMLIFrameElement;){try{var c=typeof a.contentWindow.location.href=="string"}catch{c=!1}if(c)o=a.contentWindow;else break;a=Tt(o.document)}return a}function Qu(o){var a=o&&o.nodeName&&o.nodeName.toLowerCase();return a&&(a==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||a==="textarea"||o.contentEditable==="true")}function mb(o){var a=A6(),c=o.focusedElem,d=o.selectionRange;if(a!==c&&c&&c.ownerDocument&&R6(c.ownerDocument.documentElement,c)){if(d!==null&&Qu(c)){if(a=d.start,o=d.end,o===void 0&&(o=a),"selectionStart"in c)c.selectionStart=a,c.selectionEnd=Math.min(o,c.value.length);else if(o=(a=c.ownerDocument||document)&&a.defaultView||window,o.getSelection){o=o.getSelection();var m=c.textContent.length,v=Math.min(d.start,m);d=d.end===void 0?v:Math.min(d.end,m),!o.extend&&v>d&&(m=d,d=v,v=m),m=D6(c,v);var b=D6(c,d);m&&b&&(o.rangeCount!==1||o.anchorNode!==m.node||o.anchorOffset!==m.offset||o.focusNode!==b.node||o.focusOffset!==b.offset)&&(a=a.createRange(),a.setStart(m.node,m.offset),o.removeAllRanges(),v>d?(o.addRange(a),o.extend(b.node,b.offset)):(a.setEnd(b.node,b.offset),o.addRange(a)))}}for(a=[],o=c;o=o.parentNode;)o.nodeType===1&&a.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<a.length;c++)o=a[c],o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}var gb=u&&"documentMode"in document&&11>=document.documentMode,Li=null,ed=null,ds=null,td=!1;function F6(o,a,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;td||Li==null||Li!==Tt(d)||(d=Li,"selectionStart"in d&&Qu(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),ds&&us(ds,d)||(ds=d,d=$l(ed,"onSelect"),0<d.length&&(a=new Bu("onSelect","select",null,a,c),o.push({event:a,listeners:d}),a.target=Li)))}function xl(o,a){var c={};return c[o.toLowerCase()]=a.toLowerCase(),c["Webkit"+o]="webkit"+a,c["Moz"+o]="moz"+a,c}var Ni={animationend:xl("Animation","AnimationEnd"),animationiteration:xl("Animation","AnimationIteration"),animationstart:xl("Animation","AnimationStart"),transitionend:xl("Transition","TransitionEnd")},nd={},U6={};u&&(U6=document.createElement("div").style,"AnimationEvent"in window||(delete Ni.animationend.animation,delete Ni.animationiteration.animation,delete Ni.animationstart.animation),"TransitionEvent"in window||delete Ni.transitionend.transition);function kl(o){if(nd[o])return nd[o];if(!Ni[o])return o;var a=Ni[o],c;for(c in a)if(a.hasOwnProperty(c)&&c in U6)return nd[o]=a[c];return o}var H6=kl("animationend"),Z6=kl("animationiteration"),V6=kl("animationstart"),B6=kl("transitionend"),W6=new Map,K6="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function gr(o,a){W6.set(o,a),s(a,[o])}for(var rd=0;rd<K6.length;rd++){var id=K6[rd],vb=id.toLowerCase(),yb=id[0].toUpperCase()+id.slice(1);gr(vb,"on"+yb)}gr(H6,"onAnimationEnd"),gr(Z6,"onAnimationIteration"),gr(V6,"onAnimationStart"),gr("dblclick","onDoubleClick"),gr("focusin","onFocus"),gr("focusout","onBlur"),gr(B6,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),_b=new Set("cancel close invalid load scroll toggle".split(" ").concat(fs));function q6(o,a,c){var d=o.type||"unknown-event";o.currentTarget=c,vw(d,a,void 0,o),o.currentTarget=null}function J6(o,a){a=(a&4)!==0;for(var c=0;c<o.length;c++){var d=o[c],m=d.event;d=d.listeners;e:{var v=void 0;if(a)for(var b=d.length-1;0<=b;b--){var C=d[b],j=C.instance,F=C.currentTarget;if(C=C.listener,j!==v&&m.isPropagationStopped())break e;q6(m,C,F),v=j}else for(b=0;b<d.length;b++){if(C=d[b],j=C.instance,F=C.currentTarget,C=C.listener,j!==v&&m.isPropagationStopped())break e;q6(m,C,F),v=j}}}if(al)throw o=Nu,al=!1,Nu=null,o}function Ye(o,a){var c=a[fd];c===void 0&&(c=a[fd]=new Set);var d=o+"__bubble";c.has(d)||(G6(a,o,2,!1),c.add(d))}function od(o,a,c){var d=0;a&&(d|=4),G6(c,o,d,a)}var Cl="_reactListening"+Math.random().toString(36).slice(2);function hs(o){if(!o[Cl]){o[Cl]=!0,i.forEach(function(c){c!=="selectionchange"&&(_b.has(c)||od(c,!1,o),od(c,!0,o))});var a=o.nodeType===9?o:o.ownerDocument;a===null||a[Cl]||(a[Cl]=!0,od("selectionchange",!1,a))}}function G6(o,a,c,d){switch(_6(a)){case 1:var m=Tw;break;case 4:m=Lw;break;default:m=Hu}c=m.bind(null,a,c,o),m=void 0,!Lu||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(m=!0),d?m!==void 0?o.addEventListener(a,c,{capture:!0,passive:m}):o.addEventListener(a,c,!0):m!==void 0?o.addEventListener(a,c,{passive:m}):o.addEventListener(a,c,!1)}function sd(o,a,c,d,m){var v=d;if((a&1)===0&&(a&2)===0&&d!==null)e:for(;;){if(d===null)return;var b=d.tag;if(b===3||b===4){var C=d.stateNode.containerInfo;if(C===m||C.nodeType===8&&C.parentNode===m)break;if(b===4)for(b=d.return;b!==null;){var j=b.tag;if((j===3||j===4)&&(j=b.stateNode.containerInfo,j===m||j.nodeType===8&&j.parentNode===m))return;b=b.return}for(;C!==null;){if(b=Hr(C),b===null)return;if(j=b.tag,j===5||j===6){d=v=b;continue e}C=C.parentNode}}d=d.return}t6(function(){var F=v,J=Ou(c),Y=[];e:{var q=W6.get(o);if(q!==void 0){var ue=Bu,ve=o;switch(o){case"keypress":if(yl(c)===0)break e;case"keydown":case"keyup":ue=Jw;break;case"focusin":ve="focus",ue=qu;break;case"focusout":ve="blur",ue=qu;break;case"beforeblur":case"afterblur":ue=qu;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ue=x6;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ue=Dw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ue=Xw;break;case H6:case Z6:case V6:ue=Fw;break;case B6:ue=eb;break;case"scroll":ue=Nw;break;case"wheel":ue=nb;break;case"copy":case"cut":case"paste":ue=Hw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ue=C6}var ye=(a&4)!==0,st=!ye&&o==="scroll",D=ye?q!==null?q+"Capture":null:q;ye=[];for(var M=F,R;M!==null;){R=M;var ee=R.stateNode;if(R.tag===5&&ee!==null&&(R=ee,D!==null&&(ee=Jo(M,D),ee!=null&&ye.push(ps(M,ee,R)))),st)break;M=M.return}0<ye.length&&(q=new ue(q,ve,null,c,J),Y.push({event:q,listeners:ye}))}}if((a&7)===0){e:{if(q=o==="mouseover"||o==="pointerover",ue=o==="mouseout"||o==="pointerout",q&&c!==Eu&&(ve=c.relatedTarget||c.fromElement)&&(Hr(ve)||ve[qn]))break e;if((ue||q)&&(q=J.window===J?J:(q=J.ownerDocument)?q.defaultView||q.parentWindow:window,ue?(ve=c.relatedTarget||c.toElement,ue=F,ve=ve?Hr(ve):null,ve!==null&&(st=Ur(ve),ve!==st||ve.tag!==5&&ve.tag!==6)&&(ve=null)):(ue=null,ve=F),ue!==ve)){if(ye=x6,ee="onMouseLeave",D="onMouseEnter",M="mouse",(o==="pointerout"||o==="pointerover")&&(ye=C6,ee="onPointerLeave",D="onPointerEnter",M="pointer"),st=ue==null?q:Ri(ue),R=ve==null?q:Ri(ve),q=new ye(ee,M+"leave",ue,c,J),q.target=st,q.relatedTarget=R,ee=null,Hr(J)===F&&(ye=new ye(D,M+"enter",ve,c,J),ye.target=R,ye.relatedTarget=st,ee=ye),st=ee,ue&&ve)t:{for(ye=ue,D=ve,M=0,R=ye;R;R=Pi(R))M++;for(R=0,ee=D;ee;ee=Pi(ee))R++;for(;0<M-R;)ye=Pi(ye),M--;for(;0<R-M;)D=Pi(D),R--;for(;M--;){if(ye===D||D!==null&&ye===D.alternate)break t;ye=Pi(ye),D=Pi(D)}ye=null}else ye=null;ue!==null&&Y6(Y,q,ue,ye,!1),ve!==null&&st!==null&&Y6(Y,st,ve,ye,!0)}}e:{if(q=F?Ri(F):window,ue=q.nodeName&&q.nodeName.toLowerCase(),ue==="select"||ue==="input"&&q.type==="file")var we=cb;else if(E6(q))if(M6)we=hb;else{we=db;var Se=ub}else(ue=q.nodeName)&&ue.toLowerCase()==="input"&&(q.type==="checkbox"||q.type==="radio")&&(we=fb);if(we&&(we=we(o,F))){O6(Y,we,c,J);break e}Se&&Se(o,q,F),o==="focusout"&&(Se=q._wrapperState)&&Se.controlled&&q.type==="number"&&rn(q,"number",q.value)}switch(Se=F?Ri(F):window,o){case"focusin":(E6(Se)||Se.contentEditable==="true")&&(Li=Se,ed=F,ds=null);break;case"focusout":ds=ed=Li=null;break;case"mousedown":td=!0;break;case"contextmenu":case"mouseup":case"dragend":td=!1,F6(Y,c,J);break;case"selectionchange":if(gb)break;case"keydown":case"keyup":F6(Y,c,J)}var Ie;if(Gu)e:{switch(o){case"compositionstart":var Ee="onCompositionStart";break e;case"compositionend":Ee="onCompositionEnd";break e;case"compositionupdate":Ee="onCompositionUpdate";break e}Ee=void 0}else Ti?z6(o,c)&&(Ee="onCompositionEnd"):o==="keydown"&&c.keyCode===229&&(Ee="onCompositionStart");Ee&&($6&&c.locale!=="ko"&&(Ti||Ee!=="onCompositionStart"?Ee==="onCompositionEnd"&&Ti&&(Ie=w6()):(mr=J,Vu="value"in mr?mr.value:mr.textContent,Ti=!0)),Se=$l(F,Ee),0<Se.length&&(Ee=new k6(Ee,o,null,c,J),Y.push({event:Ee,listeners:Se}),Ie?Ee.data=Ie:(Ie=j6(c),Ie!==null&&(Ee.data=Ie)))),(Ie=ib?ob(o,c):sb(o,c))&&(F=$l(F,"onBeforeInput"),0<F.length&&(J=new k6("onBeforeInput","beforeinput",null,c,J),Y.push({event:J,listeners:F}),J.data=Ie))}J6(Y,a)})}function ps(o,a,c){return{instance:o,listener:a,currentTarget:c}}function $l(o,a){for(var c=a+"Capture",d=[];o!==null;){var m=o,v=m.stateNode;m.tag===5&&v!==null&&(m=v,v=Jo(o,c),v!=null&&d.unshift(ps(o,v,m)),v=Jo(o,a),v!=null&&d.push(ps(o,v,m))),o=o.return}return d}function Pi(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5);return o||null}function Y6(o,a,c,d,m){for(var v=a._reactName,b=[];c!==null&&c!==d;){var C=c,j=C.alternate,F=C.stateNode;if(j!==null&&j===d)break;C.tag===5&&F!==null&&(C=F,m?(j=Jo(c,v),j!=null&&b.unshift(ps(c,j,C))):m||(j=Jo(c,v),j!=null&&b.push(ps(c,j,C)))),c=c.return}b.length!==0&&o.push({event:a,listeners:b})}var wb=/\r\n?/g,bb=/\u0000|\uFFFD/g;function X6(o){return(typeof o=="string"?o:""+o).replace(wb,`
|
|
57
|
-
`).replace(bb,"")}function Sl(o,a,c){if(a=X6(a),X6(o)!==a&&c)throw Error(r(425))}function Il(){}var ad=null,ld=null;function cd(o,a){return o==="textarea"||o==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var ud=typeof setTimeout=="function"?setTimeout:void 0,xb=typeof clearTimeout=="function"?clearTimeout:void 0,Q6=typeof Promise=="function"?Promise:void 0,kb=typeof queueMicrotask=="function"?queueMicrotask:typeof Q6<"u"?function(o){return Q6.resolve(null).then(o).catch(Cb)}:ud;function Cb(o){setTimeout(function(){throw o})}function dd(o,a){var c=a,d=0;do{var m=c.nextSibling;if(o.removeChild(c),m&&m.nodeType===8)if(c=m.data,c==="/$"){if(d===0){o.removeChild(m),is(a);return}d--}else c!=="$"&&c!=="$?"&&c!=="$!"||d++;c=m}while(c);is(a)}function vr(o){for(;o!=null;o=o.nextSibling){var a=o.nodeType;if(a===1||a===3)break;if(a===8){if(a=o.data,a==="$"||a==="$!"||a==="$?")break;if(a==="/$")return null}}return o}function e5(o){o=o.previousSibling;for(var a=0;o;){if(o.nodeType===8){var c=o.data;if(c==="$"||c==="$!"||c==="$?"){if(a===0)return o;a--}else c==="/$"&&a++}o=o.previousSibling}return null}var Di=Math.random().toString(36).slice(2),Tn="__reactFiber$"+Di,ms="__reactProps$"+Di,qn="__reactContainer$"+Di,fd="__reactEvents$"+Di,$b="__reactListeners$"+Di,Sb="__reactHandles$"+Di;function Hr(o){var a=o[Tn];if(a)return a;for(var c=o.parentNode;c;){if(a=c[qn]||c[Tn]){if(c=a.alternate,a.child!==null||c!==null&&c.child!==null)for(o=e5(o);o!==null;){if(c=o[Tn])return c;o=e5(o)}return a}o=c,c=o.parentNode}return null}function gs(o){return o=o[Tn]||o[qn],!o||o.tag!==5&&o.tag!==6&&o.tag!==13&&o.tag!==3?null:o}function Ri(o){if(o.tag===5||o.tag===6)return o.stateNode;throw Error(r(33))}function zl(o){return o[ms]||null}var hd=[],Ai=-1;function yr(o){return{current:o}}function Xe(o){0>Ai||(o.current=hd[Ai],hd[Ai]=null,Ai--)}function Ge(o,a){Ai++,hd[Ai]=o.current,o.current=a}var _r={},bt=yr(_r),Nt=yr(!1),Zr=_r;function Fi(o,a){var c=o.type.contextTypes;if(!c)return _r;var d=o.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===a)return d.__reactInternalMemoizedMaskedChildContext;var m={},v;for(v in c)m[v]=a[v];return d&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=a,o.__reactInternalMemoizedMaskedChildContext=m),m}function Pt(o){return o=o.childContextTypes,o!=null}function jl(){Xe(Nt),Xe(bt)}function t5(o,a,c){if(bt.current!==_r)throw Error(r(168));Ge(bt,a),Ge(Nt,c)}function n5(o,a,c){var d=o.stateNode;if(a=a.childContextTypes,typeof d.getChildContext!="function")return c;d=d.getChildContext();for(var m in d)if(!(m in a))throw Error(r(108,_e(o)||"Unknown",m));return X({},c,d)}function El(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||_r,Zr=bt.current,Ge(bt,o),Ge(Nt,Nt.current),!0}function r5(o,a,c){var d=o.stateNode;if(!d)throw Error(r(169));c?(o=n5(o,a,Zr),d.__reactInternalMemoizedMergedChildContext=o,Xe(Nt),Xe(bt),Ge(bt,o)):Xe(Nt),Ge(Nt,c)}var Jn=null,Ol=!1,pd=!1;function i5(o){Jn===null?Jn=[o]:Jn.push(o)}function Ib(o){Ol=!0,i5(o)}function wr(){if(!pd&&Jn!==null){pd=!0;var o=0,a=Ve;try{var c=Jn;for(Ve=1;o<c.length;o++){var d=c[o];do d=d(!0);while(d!==null)}Jn=null,Ol=!1}catch(m){throw Jn!==null&&(Jn=Jn.slice(o+1)),s6(Pu,wr),m}finally{Ve=a,pd=!1}}return null}var Ui=[],Hi=0,Ml=null,Tl=0,sn=[],an=0,Vr=null,Gn=1,Yn="";function Br(o,a){Ui[Hi++]=Tl,Ui[Hi++]=Ml,Ml=o,Tl=a}function o5(o,a,c){sn[an++]=Gn,sn[an++]=Yn,sn[an++]=Vr,Vr=o;var d=Gn;o=Yn;var m=32-yn(d)-1;d&=~(1<<m),c+=1;var v=32-yn(a)+m;if(30<v){var b=m-m%5;v=(d&(1<<b)-1).toString(32),d>>=b,m-=b,Gn=1<<32-yn(a)+m|c<<m|d,Yn=v+o}else Gn=1<<v|c<<m|d,Yn=o}function md(o){o.return!==null&&(Br(o,1),o5(o,1,0))}function gd(o){for(;o===Ml;)Ml=Ui[--Hi],Ui[Hi]=null,Tl=Ui[--Hi],Ui[Hi]=null;for(;o===Vr;)Vr=sn[--an],sn[an]=null,Yn=sn[--an],sn[an]=null,Gn=sn[--an],sn[an]=null}var Vt=null,Bt=null,Qe=!1,wn=null;function s5(o,a){var c=dn(5,null,null,0);c.elementType="DELETED",c.stateNode=a,c.return=o,a=o.deletions,a===null?(o.deletions=[c],o.flags|=16):a.push(c)}function a5(o,a){switch(o.tag){case 5:var c=o.type;return a=a.nodeType!==1||c.toLowerCase()!==a.nodeName.toLowerCase()?null:a,a!==null?(o.stateNode=a,Vt=o,Bt=vr(a.firstChild),!0):!1;case 6:return a=o.pendingProps===""||a.nodeType!==3?null:a,a!==null?(o.stateNode=a,Vt=o,Bt=null,!0):!1;case 13:return a=a.nodeType!==8?null:a,a!==null?(c=Vr!==null?{id:Gn,overflow:Yn}:null,o.memoizedState={dehydrated:a,treeContext:c,retryLane:1073741824},c=dn(18,null,null,0),c.stateNode=a,c.return=o,o.child=c,Vt=o,Bt=null,!0):!1;default:return!1}}function vd(o){return(o.mode&1)!==0&&(o.flags&128)===0}function yd(o){if(Qe){var a=Bt;if(a){var c=a;if(!a5(o,a)){if(vd(o))throw Error(r(418));a=vr(c.nextSibling);var d=Vt;a&&a5(o,a)?s5(d,c):(o.flags=o.flags&-4097|2,Qe=!1,Vt=o)}}else{if(vd(o))throw Error(r(418));o.flags=o.flags&-4097|2,Qe=!1,Vt=o}}}function l5(o){for(o=o.return;o!==null&&o.tag!==5&&o.tag!==3&&o.tag!==13;)o=o.return;Vt=o}function Ll(o){if(o!==Vt)return!1;if(!Qe)return l5(o),Qe=!0,!1;var a;if((a=o.tag!==3)&&!(a=o.tag!==5)&&(a=o.type,a=a!=="head"&&a!=="body"&&!cd(o.type,o.memoizedProps)),a&&(a=Bt)){if(vd(o))throw c5(),Error(r(418));for(;a;)s5(o,a),a=vr(a.nextSibling)}if(l5(o),o.tag===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));e:{for(o=o.nextSibling,a=0;o;){if(o.nodeType===8){var c=o.data;if(c==="/$"){if(a===0){Bt=vr(o.nextSibling);break e}a--}else c!=="$"&&c!=="$!"&&c!=="$?"||a++}o=o.nextSibling}Bt=null}}else Bt=Vt?vr(o.stateNode.nextSibling):null;return!0}function c5(){for(var o=Bt;o;)o=vr(o.nextSibling)}function Zi(){Bt=Vt=null,Qe=!1}function _d(o){wn===null?wn=[o]:wn.push(o)}var zb=P.ReactCurrentBatchConfig;function vs(o,a,c){if(o=c.ref,o!==null&&typeof o!="function"&&typeof o!="object"){if(c._owner){if(c=c._owner,c){if(c.tag!==1)throw Error(r(309));var d=c.stateNode}if(!d)throw Error(r(147,o));var m=d,v=""+o;return a!==null&&a.ref!==null&&typeof a.ref=="function"&&a.ref._stringRef===v?a.ref:(a=function(b){var C=m.refs;b===null?delete C[v]:C[v]=b},a._stringRef=v,a)}if(typeof o!="string")throw Error(r(284));if(!c._owner)throw Error(r(290,o))}return o}function Nl(o,a){throw o=Object.prototype.toString.call(a),Error(r(31,o==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":o))}function u5(o){var a=o._init;return a(o._payload)}function d5(o){function a(D,M){if(o){var R=D.deletions;R===null?(D.deletions=[M],D.flags|=16):R.push(M)}}function c(D,M){if(!o)return null;for(;M!==null;)a(D,M),M=M.sibling;return null}function d(D,M){for(D=new Map;M!==null;)M.key!==null?D.set(M.key,M):D.set(M.index,M),M=M.sibling;return D}function m(D,M){return D=zr(D,M),D.index=0,D.sibling=null,D}function v(D,M,R){return D.index=R,o?(R=D.alternate,R!==null?(R=R.index,R<M?(D.flags|=2,M):R):(D.flags|=2,M)):(D.flags|=1048576,M)}function b(D){return o&&D.alternate===null&&(D.flags|=2),D}function C(D,M,R,ee){return M===null||M.tag!==6?(M=u0(R,D.mode,ee),M.return=D,M):(M=m(M,R),M.return=D,M)}function j(D,M,R,ee){var we=R.type;return we===K?J(D,M,R.props.children,ee,R.key):M!==null&&(M.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===he&&u5(we)===M.type)?(ee=m(M,R.props),ee.ref=vs(D,M,R),ee.return=D,ee):(ee=o1(R.type,R.key,R.props,null,D.mode,ee),ee.ref=vs(D,M,R),ee.return=D,ee)}function F(D,M,R,ee){return M===null||M.tag!==4||M.stateNode.containerInfo!==R.containerInfo||M.stateNode.implementation!==R.implementation?(M=d0(R,D.mode,ee),M.return=D,M):(M=m(M,R.children||[]),M.return=D,M)}function J(D,M,R,ee,we){return M===null||M.tag!==7?(M=Qr(R,D.mode,ee,we),M.return=D,M):(M=m(M,R),M.return=D,M)}function Y(D,M,R){if(typeof M=="string"&&M!==""||typeof M=="number")return M=u0(""+M,D.mode,R),M.return=D,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case N:return R=o1(M.type,M.key,M.props,null,D.mode,R),R.ref=vs(D,null,M),R.return=D,R;case A:return M=d0(M,D.mode,R),M.return=D,M;case he:var ee=M._init;return Y(D,ee(M._payload),R)}if(on(M)||U(M))return M=Qr(M,D.mode,R,null),M.return=D,M;Nl(D,M)}return null}function q(D,M,R,ee){var we=M!==null?M.key:null;if(typeof R=="string"&&R!==""||typeof R=="number")return we!==null?null:C(D,M,""+R,ee);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case N:return R.key===we?j(D,M,R,ee):null;case A:return R.key===we?F(D,M,R,ee):null;case he:return we=R._init,q(D,M,we(R._payload),ee)}if(on(R)||U(R))return we!==null?null:J(D,M,R,ee,null);Nl(D,R)}return null}function ue(D,M,R,ee,we){if(typeof ee=="string"&&ee!==""||typeof ee=="number")return D=D.get(R)||null,C(M,D,""+ee,we);if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case N:return D=D.get(ee.key===null?R:ee.key)||null,j(M,D,ee,we);case A:return D=D.get(ee.key===null?R:ee.key)||null,F(M,D,ee,we);case he:var Se=ee._init;return ue(D,M,R,Se(ee._payload),we)}if(on(ee)||U(ee))return D=D.get(R)||null,J(M,D,ee,we,null);Nl(M,ee)}return null}function ve(D,M,R,ee){for(var we=null,Se=null,Ie=M,Ee=M=0,gt=null;Ie!==null&&Ee<R.length;Ee++){Ie.index>Ee?(gt=Ie,Ie=null):gt=Ie.sibling;var Ze=q(D,Ie,R[Ee],ee);if(Ze===null){Ie===null&&(Ie=gt);break}o&&Ie&&Ze.alternate===null&&a(D,Ie),M=v(Ze,M,Ee),Se===null?we=Ze:Se.sibling=Ze,Se=Ze,Ie=gt}if(Ee===R.length)return c(D,Ie),Qe&&Br(D,Ee),we;if(Ie===null){for(;Ee<R.length;Ee++)Ie=Y(D,R[Ee],ee),Ie!==null&&(M=v(Ie,M,Ee),Se===null?we=Ie:Se.sibling=Ie,Se=Ie);return Qe&&Br(D,Ee),we}for(Ie=d(D,Ie);Ee<R.length;Ee++)gt=ue(Ie,D,Ee,R[Ee],ee),gt!==null&&(o&>.alternate!==null&&Ie.delete(gt.key===null?Ee:gt.key),M=v(gt,M,Ee),Se===null?we=gt:Se.sibling=gt,Se=gt);return o&&Ie.forEach(function(jr){return a(D,jr)}),Qe&&Br(D,Ee),we}function ye(D,M,R,ee){var we=U(R);if(typeof we!="function")throw Error(r(150));if(R=we.call(R),R==null)throw Error(r(151));for(var Se=we=null,Ie=M,Ee=M=0,gt=null,Ze=R.next();Ie!==null&&!Ze.done;Ee++,Ze=R.next()){Ie.index>Ee?(gt=Ie,Ie=null):gt=Ie.sibling;var jr=q(D,Ie,Ze.value,ee);if(jr===null){Ie===null&&(Ie=gt);break}o&&Ie&&jr.alternate===null&&a(D,Ie),M=v(jr,M,Ee),Se===null?we=jr:Se.sibling=jr,Se=jr,Ie=gt}if(Ze.done)return c(D,Ie),Qe&&Br(D,Ee),we;if(Ie===null){for(;!Ze.done;Ee++,Ze=R.next())Ze=Y(D,Ze.value,ee),Ze!==null&&(M=v(Ze,M,Ee),Se===null?we=Ze:Se.sibling=Ze,Se=Ze);return Qe&&Br(D,Ee),we}for(Ie=d(D,Ie);!Ze.done;Ee++,Ze=R.next())Ze=ue(Ie,D,Ee,Ze.value,ee),Ze!==null&&(o&&Ze.alternate!==null&&Ie.delete(Ze.key===null?Ee:Ze.key),M=v(Ze,M,Ee),Se===null?we=Ze:Se.sibling=Ze,Se=Ze);return o&&Ie.forEach(function(ax){return a(D,ax)}),Qe&&Br(D,Ee),we}function st(D,M,R,ee){if(typeof R=="object"&&R!==null&&R.type===K&&R.key===null&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case N:e:{for(var we=R.key,Se=M;Se!==null;){if(Se.key===we){if(we=R.type,we===K){if(Se.tag===7){c(D,Se.sibling),M=m(Se,R.props.children),M.return=D,D=M;break e}}else if(Se.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===he&&u5(we)===Se.type){c(D,Se.sibling),M=m(Se,R.props),M.ref=vs(D,Se,R),M.return=D,D=M;break e}c(D,Se);break}else a(D,Se);Se=Se.sibling}R.type===K?(M=Qr(R.props.children,D.mode,ee,R.key),M.return=D,D=M):(ee=o1(R.type,R.key,R.props,null,D.mode,ee),ee.ref=vs(D,M,R),ee.return=D,D=ee)}return b(D);case A:e:{for(Se=R.key;M!==null;){if(M.key===Se)if(M.tag===4&&M.stateNode.containerInfo===R.containerInfo&&M.stateNode.implementation===R.implementation){c(D,M.sibling),M=m(M,R.children||[]),M.return=D,D=M;break e}else{c(D,M);break}else a(D,M);M=M.sibling}M=d0(R,D.mode,ee),M.return=D,D=M}return b(D);case he:return Se=R._init,st(D,M,Se(R._payload),ee)}if(on(R))return ve(D,M,R,ee);if(U(R))return ye(D,M,R,ee);Nl(D,R)}return typeof R=="string"&&R!==""||typeof R=="number"?(R=""+R,M!==null&&M.tag===6?(c(D,M.sibling),M=m(M,R),M.return=D,D=M):(c(D,M),M=u0(R,D.mode,ee),M.return=D,D=M),b(D)):c(D,M)}return st}var Vi=d5(!0),f5=d5(!1),Pl=yr(null),Dl=null,Bi=null,wd=null;function bd(){wd=Bi=Dl=null}function xd(o){var a=Pl.current;Xe(Pl),o._currentValue=a}function kd(o,a,c){for(;o!==null;){var d=o.alternate;if((o.childLanes&a)!==a?(o.childLanes|=a,d!==null&&(d.childLanes|=a)):d!==null&&(d.childLanes&a)!==a&&(d.childLanes|=a),o===c)break;o=o.return}}function Wi(o,a){Dl=o,wd=Bi=null,o=o.dependencies,o!==null&&o.firstContext!==null&&((o.lanes&a)!==0&&(Dt=!0),o.firstContext=null)}function ln(o){var a=o._currentValue;if(wd!==o)if(o={context:o,memoizedValue:a,next:null},Bi===null){if(Dl===null)throw Error(r(308));Bi=o,Dl.dependencies={lanes:0,firstContext:o}}else Bi=Bi.next=o;return a}var Wr=null;function Cd(o){Wr===null?Wr=[o]:Wr.push(o)}function h5(o,a,c,d){var m=a.interleaved;return m===null?(c.next=c,Cd(a)):(c.next=m.next,m.next=c),a.interleaved=c,Xn(o,d)}function Xn(o,a){o.lanes|=a;var c=o.alternate;for(c!==null&&(c.lanes|=a),c=o,o=o.return;o!==null;)o.childLanes|=a,c=o.alternate,c!==null&&(c.childLanes|=a),c=o,o=o.return;return c.tag===3?c.stateNode:null}var br=!1;function $d(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function p5(o,a){o=o.updateQueue,a.updateQueue===o&&(a.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects})}function Qn(o,a){return{eventTime:o,lane:a,tag:0,payload:null,callback:null,next:null}}function xr(o,a,c){var d=o.updateQueue;if(d===null)return null;if(d=d.shared,(He&2)!==0){var m=d.pending;return m===null?a.next=a:(a.next=m.next,m.next=a),d.pending=a,Xn(o,c)}return m=d.interleaved,m===null?(a.next=a,Cd(d)):(a.next=m.next,m.next=a),d.interleaved=a,Xn(o,c)}function Rl(o,a,c){if(a=a.updateQueue,a!==null&&(a=a.shared,(c&4194240)!==0)){var d=a.lanes;d&=o.pendingLanes,c|=d,a.lanes=c,Au(o,c)}}function m5(o,a){var c=o.updateQueue,d=o.alternate;if(d!==null&&(d=d.updateQueue,c===d)){var m=null,v=null;if(c=c.firstBaseUpdate,c!==null){do{var b={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};v===null?m=v=b:v=v.next=b,c=c.next}while(c!==null);v===null?m=v=a:v=v.next=a}else m=v=a;c={baseState:d.baseState,firstBaseUpdate:m,lastBaseUpdate:v,shared:d.shared,effects:d.effects},o.updateQueue=c;return}o=c.lastBaseUpdate,o===null?c.firstBaseUpdate=a:o.next=a,c.lastBaseUpdate=a}function Al(o,a,c,d){var m=o.updateQueue;br=!1;var v=m.firstBaseUpdate,b=m.lastBaseUpdate,C=m.shared.pending;if(C!==null){m.shared.pending=null;var j=C,F=j.next;j.next=null,b===null?v=F:b.next=F,b=j;var J=o.alternate;J!==null&&(J=J.updateQueue,C=J.lastBaseUpdate,C!==b&&(C===null?J.firstBaseUpdate=F:C.next=F,J.lastBaseUpdate=j))}if(v!==null){var Y=m.baseState;b=0,J=F=j=null,C=v;do{var q=C.lane,ue=C.eventTime;if((d&q)===q){J!==null&&(J=J.next={eventTime:ue,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var ve=o,ye=C;switch(q=a,ue=c,ye.tag){case 1:if(ve=ye.payload,typeof ve=="function"){Y=ve.call(ue,Y,q);break e}Y=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=ye.payload,q=typeof ve=="function"?ve.call(ue,Y,q):ve,q==null)break e;Y=X({},Y,q);break e;case 2:br=!0}}C.callback!==null&&C.lane!==0&&(o.flags|=64,q=m.effects,q===null?m.effects=[C]:q.push(C))}else ue={eventTime:ue,lane:q,tag:C.tag,payload:C.payload,callback:C.callback,next:null},J===null?(F=J=ue,j=Y):J=J.next=ue,b|=q;if(C=C.next,C===null){if(C=m.shared.pending,C===null)break;q=C,C=q.next,q.next=null,m.lastBaseUpdate=q,m.shared.pending=null}}while(!0);if(J===null&&(j=Y),m.baseState=j,m.firstBaseUpdate=F,m.lastBaseUpdate=J,a=m.shared.interleaved,a!==null){m=a;do b|=m.lane,m=m.next;while(m!==a)}else v===null&&(m.shared.lanes=0);Jr|=b,o.lanes=b,o.memoizedState=Y}}function g5(o,a,c){if(o=a.effects,a.effects=null,o!==null)for(a=0;a<o.length;a++){var d=o[a],m=d.callback;if(m!==null){if(d.callback=null,d=c,typeof m!="function")throw Error(r(191,m));m.call(d)}}}var ys={},Ln=yr(ys),_s=yr(ys),ws=yr(ys);function Kr(o){if(o===ys)throw Error(r(174));return o}function Sd(o,a){switch(Ge(ws,a),Ge(_s,o),Ge(Ln,ys),o=a.nodeType,o){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:Iu(null,"");break;default:o=o===8?a.parentNode:a,a=o.namespaceURI||null,o=o.tagName,a=Iu(a,o)}Xe(Ln),Ge(Ln,a)}function Ki(){Xe(Ln),Xe(_s),Xe(ws)}function v5(o){Kr(ws.current);var a=Kr(Ln.current),c=Iu(a,o.type);a!==c&&(Ge(_s,o),Ge(Ln,c))}function Id(o){_s.current===o&&(Xe(Ln),Xe(_s))}var tt=yr(0);function Fl(o){for(var a=o;a!==null;){if(a.tag===13){var c=a.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break;for(;a.sibling===null;){if(a.return===null||a.return===o)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var zd=[];function jd(){for(var o=0;o<zd.length;o++)zd[o]._workInProgressVersionPrimary=null;zd.length=0}var Ul=P.ReactCurrentDispatcher,Ed=P.ReactCurrentBatchConfig,qr=0,nt=null,dt=null,pt=null,Hl=!1,bs=!1,xs=0,jb=0;function xt(){throw Error(r(321))}function Od(o,a){if(a===null)return!1;for(var c=0;c<a.length&&c<o.length;c++)if(!_n(o[c],a[c]))return!1;return!0}function Md(o,a,c,d,m,v){if(qr=v,nt=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,Ul.current=o===null||o.memoizedState===null?Tb:Lb,o=c(d,m),bs){v=0;do{if(bs=!1,xs=0,25<=v)throw Error(r(301));v+=1,pt=dt=null,a.updateQueue=null,Ul.current=Nb,o=c(d,m)}while(bs)}if(Ul.current=Bl,a=dt!==null&&dt.next!==null,qr=0,pt=dt=nt=null,Hl=!1,a)throw Error(r(300));return o}function Td(){var o=xs!==0;return xs=0,o}function Nn(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return pt===null?nt.memoizedState=pt=o:pt=pt.next=o,pt}function cn(){if(dt===null){var o=nt.alternate;o=o!==null?o.memoizedState:null}else o=dt.next;var a=pt===null?nt.memoizedState:pt.next;if(a!==null)pt=a,dt=o;else{if(o===null)throw Error(r(310));dt=o,o={memoizedState:dt.memoizedState,baseState:dt.baseState,baseQueue:dt.baseQueue,queue:dt.queue,next:null},pt===null?nt.memoizedState=pt=o:pt=pt.next=o}return pt}function ks(o,a){return typeof a=="function"?a(o):a}function Ld(o){var a=cn(),c=a.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=o;var d=dt,m=d.baseQueue,v=c.pending;if(v!==null){if(m!==null){var b=m.next;m.next=v.next,v.next=b}d.baseQueue=m=v,c.pending=null}if(m!==null){v=m.next,d=d.baseState;var C=b=null,j=null,F=v;do{var J=F.lane;if((qr&J)===J)j!==null&&(j=j.next={lane:0,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),d=F.hasEagerState?F.eagerState:o(d,F.action);else{var Y={lane:J,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null};j===null?(C=j=Y,b=d):j=j.next=Y,nt.lanes|=J,Jr|=J}F=F.next}while(F!==null&&F!==v);j===null?b=d:j.next=C,_n(d,a.memoizedState)||(Dt=!0),a.memoizedState=d,a.baseState=b,a.baseQueue=j,c.lastRenderedState=d}if(o=c.interleaved,o!==null){m=o;do v=m.lane,nt.lanes|=v,Jr|=v,m=m.next;while(m!==o)}else m===null&&(c.lanes=0);return[a.memoizedState,c.dispatch]}function Nd(o){var a=cn(),c=a.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=o;var d=c.dispatch,m=c.pending,v=a.memoizedState;if(m!==null){c.pending=null;var b=m=m.next;do v=o(v,b.action),b=b.next;while(b!==m);_n(v,a.memoizedState)||(Dt=!0),a.memoizedState=v,a.baseQueue===null&&(a.baseState=v),c.lastRenderedState=v}return[v,d]}function y5(){}function _5(o,a){var c=nt,d=cn(),m=a(),v=!_n(d.memoizedState,m);if(v&&(d.memoizedState=m,Dt=!0),d=d.queue,Pd(x5.bind(null,c,d,o),[o]),d.getSnapshot!==a||v||pt!==null&&pt.memoizedState.tag&1){if(c.flags|=2048,Cs(9,b5.bind(null,c,d,m,a),void 0,null),mt===null)throw Error(r(349));(qr&30)!==0||w5(c,a,m)}return m}function w5(o,a,c){o.flags|=16384,o={getSnapshot:a,value:c},a=nt.updateQueue,a===null?(a={lastEffect:null,stores:null},nt.updateQueue=a,a.stores=[o]):(c=a.stores,c===null?a.stores=[o]:c.push(o))}function b5(o,a,c,d){a.value=c,a.getSnapshot=d,k5(a)&&C5(o)}function x5(o,a,c){return c(function(){k5(a)&&C5(o)})}function k5(o){var a=o.getSnapshot;o=o.value;try{var c=a();return!_n(o,c)}catch{return!0}}function C5(o){var a=Xn(o,1);a!==null&&Cn(a,o,1,-1)}function $5(o){var a=Nn();return typeof o=="function"&&(o=o()),a.memoizedState=a.baseState=o,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ks,lastRenderedState:o},a.queue=o,o=o.dispatch=Mb.bind(null,nt,o),[a.memoizedState,o]}function Cs(o,a,c,d){return o={tag:o,create:a,destroy:c,deps:d,next:null},a=nt.updateQueue,a===null?(a={lastEffect:null,stores:null},nt.updateQueue=a,a.lastEffect=o.next=o):(c=a.lastEffect,c===null?a.lastEffect=o.next=o:(d=c.next,c.next=o,o.next=d,a.lastEffect=o)),o}function S5(){return cn().memoizedState}function Zl(o,a,c,d){var m=Nn();nt.flags|=o,m.memoizedState=Cs(1|a,c,void 0,d===void 0?null:d)}function Vl(o,a,c,d){var m=cn();d=d===void 0?null:d;var v=void 0;if(dt!==null){var b=dt.memoizedState;if(v=b.destroy,d!==null&&Od(d,b.deps)){m.memoizedState=Cs(a,c,v,d);return}}nt.flags|=o,m.memoizedState=Cs(1|a,c,v,d)}function I5(o,a){return Zl(8390656,8,o,a)}function Pd(o,a){return Vl(2048,8,o,a)}function z5(o,a){return Vl(4,2,o,a)}function j5(o,a){return Vl(4,4,o,a)}function E5(o,a){if(typeof a=="function")return o=o(),a(o),function(){a(null)};if(a!=null)return o=o(),a.current=o,function(){a.current=null}}function O5(o,a,c){return c=c!=null?c.concat([o]):null,Vl(4,4,E5.bind(null,a,o),c)}function Dd(){}function M5(o,a){var c=cn();a=a===void 0?null:a;var d=c.memoizedState;return d!==null&&a!==null&&Od(a,d[1])?d[0]:(c.memoizedState=[o,a],o)}function T5(o,a){var c=cn();a=a===void 0?null:a;var d=c.memoizedState;return d!==null&&a!==null&&Od(a,d[1])?d[0]:(o=o(),c.memoizedState=[o,a],o)}function L5(o,a,c){return(qr&21)===0?(o.baseState&&(o.baseState=!1,Dt=!0),o.memoizedState=c):(_n(c,a)||(c=u6(),nt.lanes|=c,Jr|=c,o.baseState=!0),a)}function Eb(o,a){var c=Ve;Ve=c!==0&&4>c?c:4,o(!0);var d=Ed.transition;Ed.transition={};try{o(!1),a()}finally{Ve=c,Ed.transition=d}}function N5(){return cn().memoizedState}function Ob(o,a,c){var d=Sr(o);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},P5(o))D5(a,c);else if(c=h5(o,a,c,d),c!==null){var m=jt();Cn(c,o,d,m),R5(c,a,d)}}function Mb(o,a,c){var d=Sr(o),m={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(P5(o))D5(a,m);else{var v=o.alternate;if(o.lanes===0&&(v===null||v.lanes===0)&&(v=a.lastRenderedReducer,v!==null))try{var b=a.lastRenderedState,C=v(b,c);if(m.hasEagerState=!0,m.eagerState=C,_n(C,b)){var j=a.interleaved;j===null?(m.next=m,Cd(a)):(m.next=j.next,j.next=m),a.interleaved=m;return}}catch{}finally{}c=h5(o,a,m,d),c!==null&&(m=jt(),Cn(c,o,d,m),R5(c,a,d))}}function P5(o){var a=o.alternate;return o===nt||a!==null&&a===nt}function D5(o,a){bs=Hl=!0;var c=o.pending;c===null?a.next=a:(a.next=c.next,c.next=a),o.pending=a}function R5(o,a,c){if((c&4194240)!==0){var d=a.lanes;d&=o.pendingLanes,c|=d,a.lanes=c,Au(o,c)}}var Bl={readContext:ln,useCallback:xt,useContext:xt,useEffect:xt,useImperativeHandle:xt,useInsertionEffect:xt,useLayoutEffect:xt,useMemo:xt,useReducer:xt,useRef:xt,useState:xt,useDebugValue:xt,useDeferredValue:xt,useTransition:xt,useMutableSource:xt,useSyncExternalStore:xt,useId:xt,unstable_isNewReconciler:!1},Tb={readContext:ln,useCallback:function(o,a){return Nn().memoizedState=[o,a===void 0?null:a],o},useContext:ln,useEffect:I5,useImperativeHandle:function(o,a,c){return c=c!=null?c.concat([o]):null,Zl(4194308,4,E5.bind(null,a,o),c)},useLayoutEffect:function(o,a){return Zl(4194308,4,o,a)},useInsertionEffect:function(o,a){return Zl(4,2,o,a)},useMemo:function(o,a){var c=Nn();return a=a===void 0?null:a,o=o(),c.memoizedState=[o,a],o},useReducer:function(o,a,c){var d=Nn();return a=c!==void 0?c(a):a,d.memoizedState=d.baseState=a,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:a},d.queue=o,o=o.dispatch=Ob.bind(null,nt,o),[d.memoizedState,o]},useRef:function(o){var a=Nn();return o={current:o},a.memoizedState=o},useState:$5,useDebugValue:Dd,useDeferredValue:function(o){return Nn().memoizedState=o},useTransition:function(){var o=$5(!1),a=o[0];return o=Eb.bind(null,o[1]),Nn().memoizedState=o,[a,o]},useMutableSource:function(){},useSyncExternalStore:function(o,a,c){var d=nt,m=Nn();if(Qe){if(c===void 0)throw Error(r(407));c=c()}else{if(c=a(),mt===null)throw Error(r(349));(qr&30)!==0||w5(d,a,c)}m.memoizedState=c;var v={value:c,getSnapshot:a};return m.queue=v,I5(x5.bind(null,d,v,o),[o]),d.flags|=2048,Cs(9,b5.bind(null,d,v,c,a),void 0,null),c},useId:function(){var o=Nn(),a=mt.identifierPrefix;if(Qe){var c=Yn,d=Gn;c=(d&~(1<<32-yn(d)-1)).toString(32)+c,a=":"+a+"R"+c,c=xs++,0<c&&(a+="H"+c.toString(32)),a+=":"}else c=jb++,a=":"+a+"r"+c.toString(32)+":";return o.memoizedState=a},unstable_isNewReconciler:!1},Lb={readContext:ln,useCallback:M5,useContext:ln,useEffect:Pd,useImperativeHandle:O5,useInsertionEffect:z5,useLayoutEffect:j5,useMemo:T5,useReducer:Ld,useRef:S5,useState:function(){return Ld(ks)},useDebugValue:Dd,useDeferredValue:function(o){var a=cn();return L5(a,dt.memoizedState,o)},useTransition:function(){var o=Ld(ks)[0],a=cn().memoizedState;return[o,a]},useMutableSource:y5,useSyncExternalStore:_5,useId:N5,unstable_isNewReconciler:!1},Nb={readContext:ln,useCallback:M5,useContext:ln,useEffect:Pd,useImperativeHandle:O5,useInsertionEffect:z5,useLayoutEffect:j5,useMemo:T5,useReducer:Nd,useRef:S5,useState:function(){return Nd(ks)},useDebugValue:Dd,useDeferredValue:function(o){var a=cn();return dt===null?a.memoizedState=o:L5(a,dt.memoizedState,o)},useTransition:function(){var o=Nd(ks)[0],a=cn().memoizedState;return[o,a]},useMutableSource:y5,useSyncExternalStore:_5,useId:N5,unstable_isNewReconciler:!1};function bn(o,a){if(o&&o.defaultProps){a=X({},a),o=o.defaultProps;for(var c in o)a[c]===void 0&&(a[c]=o[c]);return a}return a}function Rd(o,a,c,d){a=o.memoizedState,c=c(d,a),c=c==null?a:X({},a,c),o.memoizedState=c,o.lanes===0&&(o.updateQueue.baseState=c)}var Wl={isMounted:function(o){return(o=o._reactInternals)?Ur(o)===o:!1},enqueueSetState:function(o,a,c){o=o._reactInternals;var d=jt(),m=Sr(o),v=Qn(d,m);v.payload=a,c!=null&&(v.callback=c),a=xr(o,v,m),a!==null&&(Cn(a,o,m,d),Rl(a,o,m))},enqueueReplaceState:function(o,a,c){o=o._reactInternals;var d=jt(),m=Sr(o),v=Qn(d,m);v.tag=1,v.payload=a,c!=null&&(v.callback=c),a=xr(o,v,m),a!==null&&(Cn(a,o,m,d),Rl(a,o,m))},enqueueForceUpdate:function(o,a){o=o._reactInternals;var c=jt(),d=Sr(o),m=Qn(c,d);m.tag=2,a!=null&&(m.callback=a),a=xr(o,m,d),a!==null&&(Cn(a,o,d,c),Rl(a,o,d))}};function A5(o,a,c,d,m,v,b){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(d,v,b):a.prototype&&a.prototype.isPureReactComponent?!us(c,d)||!us(m,v):!0}function F5(o,a,c){var d=!1,m=_r,v=a.contextType;return typeof v=="object"&&v!==null?v=ln(v):(m=Pt(a)?Zr:bt.current,d=a.contextTypes,v=(d=d!=null)?Fi(o,m):_r),a=new a(c,v),o.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Wl,o.stateNode=a,a._reactInternals=o,d&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=m,o.__reactInternalMemoizedMaskedChildContext=v),a}function U5(o,a,c,d){o=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(c,d),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(c,d),a.state!==o&&Wl.enqueueReplaceState(a,a.state,null)}function Ad(o,a,c,d){var m=o.stateNode;m.props=c,m.state=o.memoizedState,m.refs={},$d(o);var v=a.contextType;typeof v=="object"&&v!==null?m.context=ln(v):(v=Pt(a)?Zr:bt.current,m.context=Fi(o,v)),m.state=o.memoizedState,v=a.getDerivedStateFromProps,typeof v=="function"&&(Rd(o,a,v,c),m.state=o.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(a=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),a!==m.state&&Wl.enqueueReplaceState(m,m.state,null),Al(o,c,m,d),m.state=o.memoizedState),typeof m.componentDidMount=="function"&&(o.flags|=4194308)}function qi(o,a){try{var c="",d=a;do c+=pe(d),d=d.return;while(d);var m=c}catch(v){m=`
|
|
58
|
-
Error generating stack: `+v.message+`
|
|
59
|
-
`+v.stack}return{value:o,source:a,stack:m,digest:null}}function Fd(o,a,c){return{value:o,source:null,stack:c??null,digest:a??null}}function Ud(o,a){try{console.error(a.value)}catch(c){setTimeout(function(){throw c})}}var Pb=typeof WeakMap=="function"?WeakMap:Map;function H5(o,a,c){c=Qn(-1,c),c.tag=3,c.payload={element:null};var d=a.value;return c.callback=function(){Ql||(Ql=!0,n0=d),Ud(o,a)},c}function Z5(o,a,c){c=Qn(-1,c),c.tag=3;var d=o.type.getDerivedStateFromError;if(typeof d=="function"){var m=a.value;c.payload=function(){return d(m)},c.callback=function(){Ud(o,a)}}var v=o.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(c.callback=function(){Ud(o,a),typeof d!="function"&&(Cr===null?Cr=new Set([this]):Cr.add(this));var b=a.stack;this.componentDidCatch(a.value,{componentStack:b!==null?b:""})}),c}function V5(o,a,c){var d=o.pingCache;if(d===null){d=o.pingCache=new Pb;var m=new Set;d.set(a,m)}else m=d.get(a),m===void 0&&(m=new Set,d.set(a,m));m.has(c)||(m.add(c),o=Gb.bind(null,o,a,c),a.then(o,o))}function B5(o){do{var a;if((a=o.tag===13)&&(a=o.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return o;o=o.return}while(o!==null);return null}function W5(o,a,c,d,m){return(o.mode&1)===0?(o===a?o.flags|=65536:(o.flags|=128,c.flags|=131072,c.flags&=-52805,c.tag===1&&(c.alternate===null?c.tag=17:(a=Qn(-1,1),a.tag=2,xr(c,a,1))),c.lanes|=1),o):(o.flags|=65536,o.lanes=m,o)}var Db=P.ReactCurrentOwner,Dt=!1;function zt(o,a,c,d){a.child=o===null?f5(a,null,c,d):Vi(a,o.child,c,d)}function K5(o,a,c,d,m){c=c.render;var v=a.ref;return Wi(a,m),d=Md(o,a,c,d,v,m),c=Td(),o!==null&&!Dt?(a.updateQueue=o.updateQueue,a.flags&=-2053,o.lanes&=~m,er(o,a,m)):(Qe&&c&&md(a),a.flags|=1,zt(o,a,d,m),a.child)}function q5(o,a,c,d,m){if(o===null){var v=c.type;return typeof v=="function"&&!c0(v)&&v.defaultProps===void 0&&c.compare===null&&c.defaultProps===void 0?(a.tag=15,a.type=v,J5(o,a,v,d,m)):(o=o1(c.type,null,d,a,a.mode,m),o.ref=a.ref,o.return=a,a.child=o)}if(v=o.child,(o.lanes&m)===0){var b=v.memoizedProps;if(c=c.compare,c=c!==null?c:us,c(b,d)&&o.ref===a.ref)return er(o,a,m)}return a.flags|=1,o=zr(v,d),o.ref=a.ref,o.return=a,a.child=o}function J5(o,a,c,d,m){if(o!==null){var v=o.memoizedProps;if(us(v,d)&&o.ref===a.ref)if(Dt=!1,a.pendingProps=d=v,(o.lanes&m)!==0)(o.flags&131072)!==0&&(Dt=!0);else return a.lanes=o.lanes,er(o,a,m)}return Hd(o,a,c,d,m)}function G5(o,a,c){var d=a.pendingProps,m=d.children,v=o!==null?o.memoizedState:null;if(d.mode==="hidden")if((a.mode&1)===0)a.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ge(Gi,Wt),Wt|=c;else{if((c&1073741824)===0)return o=v!==null?v.baseLanes|c:c,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:o,cachePool:null,transitions:null},a.updateQueue=null,Ge(Gi,Wt),Wt|=o,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=v!==null?v.baseLanes:c,Ge(Gi,Wt),Wt|=d}else v!==null?(d=v.baseLanes|c,a.memoizedState=null):d=c,Ge(Gi,Wt),Wt|=d;return zt(o,a,m,c),a.child}function Y5(o,a){var c=a.ref;(o===null&&c!==null||o!==null&&o.ref!==c)&&(a.flags|=512,a.flags|=2097152)}function Hd(o,a,c,d,m){var v=Pt(c)?Zr:bt.current;return v=Fi(a,v),Wi(a,m),c=Md(o,a,c,d,v,m),d=Td(),o!==null&&!Dt?(a.updateQueue=o.updateQueue,a.flags&=-2053,o.lanes&=~m,er(o,a,m)):(Qe&&d&&md(a),a.flags|=1,zt(o,a,c,m),a.child)}function X5(o,a,c,d,m){if(Pt(c)){var v=!0;El(a)}else v=!1;if(Wi(a,m),a.stateNode===null)ql(o,a),F5(a,c,d),Ad(a,c,d,m),d=!0;else if(o===null){var b=a.stateNode,C=a.memoizedProps;b.props=C;var j=b.context,F=c.contextType;typeof F=="object"&&F!==null?F=ln(F):(F=Pt(c)?Zr:bt.current,F=Fi(a,F));var J=c.getDerivedStateFromProps,Y=typeof J=="function"||typeof b.getSnapshotBeforeUpdate=="function";Y||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(C!==d||j!==F)&&U5(a,b,d,F),br=!1;var q=a.memoizedState;b.state=q,Al(a,d,b,m),j=a.memoizedState,C!==d||q!==j||Nt.current||br?(typeof J=="function"&&(Rd(a,c,J,d),j=a.memoizedState),(C=br||A5(a,c,C,d,q,j,F))?(Y||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(a.flags|=4194308)):(typeof b.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=d,a.memoizedState=j),b.props=d,b.state=j,b.context=F,d=C):(typeof b.componentDidMount=="function"&&(a.flags|=4194308),d=!1)}else{b=a.stateNode,p5(o,a),C=a.memoizedProps,F=a.type===a.elementType?C:bn(a.type,C),b.props=F,Y=a.pendingProps,q=b.context,j=c.contextType,typeof j=="object"&&j!==null?j=ln(j):(j=Pt(c)?Zr:bt.current,j=Fi(a,j));var ue=c.getDerivedStateFromProps;(J=typeof ue=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(C!==Y||q!==j)&&U5(a,b,d,j),br=!1,q=a.memoizedState,b.state=q,Al(a,d,b,m);var ve=a.memoizedState;C!==Y||q!==ve||Nt.current||br?(typeof ue=="function"&&(Rd(a,c,ue,d),ve=a.memoizedState),(F=br||A5(a,c,F,d,q,ve,j)||!1)?(J||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(d,ve,j),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(d,ve,j)),typeof b.componentDidUpdate=="function"&&(a.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof b.componentDidUpdate!="function"||C===o.memoizedProps&&q===o.memoizedState||(a.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||C===o.memoizedProps&&q===o.memoizedState||(a.flags|=1024),a.memoizedProps=d,a.memoizedState=ve),b.props=d,b.state=ve,b.context=j,d=F):(typeof b.componentDidUpdate!="function"||C===o.memoizedProps&&q===o.memoizedState||(a.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||C===o.memoizedProps&&q===o.memoizedState||(a.flags|=1024),d=!1)}return Zd(o,a,c,d,v,m)}function Zd(o,a,c,d,m,v){Y5(o,a);var b=(a.flags&128)!==0;if(!d&&!b)return m&&r5(a,c,!1),er(o,a,v);d=a.stateNode,Db.current=a;var C=b&&typeof c.getDerivedStateFromError!="function"?null:d.render();return a.flags|=1,o!==null&&b?(a.child=Vi(a,o.child,null,v),a.child=Vi(a,null,C,v)):zt(o,a,C,v),a.memoizedState=d.state,m&&r5(a,c,!0),a.child}function Q5(o){var a=o.stateNode;a.pendingContext?t5(o,a.pendingContext,a.pendingContext!==a.context):a.context&&t5(o,a.context,!1),Sd(o,a.containerInfo)}function eh(o,a,c,d,m){return Zi(),_d(m),a.flags|=256,zt(o,a,c,d),a.child}var Vd={dehydrated:null,treeContext:null,retryLane:0};function Bd(o){return{baseLanes:o,cachePool:null,transitions:null}}function th(o,a,c){var d=a.pendingProps,m=tt.current,v=!1,b=(a.flags&128)!==0,C;if((C=b)||(C=o!==null&&o.memoizedState===null?!1:(m&2)!==0),C?(v=!0,a.flags&=-129):(o===null||o.memoizedState!==null)&&(m|=1),Ge(tt,m&1),o===null)return yd(a),o=a.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?((a.mode&1)===0?a.lanes=1:o.data==="$!"?a.lanes=8:a.lanes=1073741824,null):(b=d.children,o=d.fallback,v?(d=a.mode,v=a.child,b={mode:"hidden",children:b},(d&1)===0&&v!==null?(v.childLanes=0,v.pendingProps=b):v=s1(b,d,0,null),o=Qr(o,d,c,null),v.return=a,o.return=a,v.sibling=o,a.child=v,a.child.memoizedState=Bd(c),a.memoizedState=Vd,o):Wd(a,b));if(m=o.memoizedState,m!==null&&(C=m.dehydrated,C!==null))return Rb(o,a,b,d,C,m,c);if(v){v=d.fallback,b=a.mode,m=o.child,C=m.sibling;var j={mode:"hidden",children:d.children};return(b&1)===0&&a.child!==m?(d=a.child,d.childLanes=0,d.pendingProps=j,a.deletions=null):(d=zr(m,j),d.subtreeFlags=m.subtreeFlags&14680064),C!==null?v=zr(C,v):(v=Qr(v,b,c,null),v.flags|=2),v.return=a,d.return=a,d.sibling=v,a.child=d,d=v,v=a.child,b=o.child.memoizedState,b=b===null?Bd(c):{baseLanes:b.baseLanes|c,cachePool:null,transitions:b.transitions},v.memoizedState=b,v.childLanes=o.childLanes&~c,a.memoizedState=Vd,d}return v=o.child,o=v.sibling,d=zr(v,{mode:"visible",children:d.children}),(a.mode&1)===0&&(d.lanes=c),d.return=a,d.sibling=null,o!==null&&(c=a.deletions,c===null?(a.deletions=[o],a.flags|=16):c.push(o)),a.child=d,a.memoizedState=null,d}function Wd(o,a){return a=s1({mode:"visible",children:a},o.mode,0,null),a.return=o,o.child=a}function Kl(o,a,c,d){return d!==null&&_d(d),Vi(a,o.child,null,c),o=Wd(a,a.pendingProps.children),o.flags|=2,a.memoizedState=null,o}function Rb(o,a,c,d,m,v,b){if(c)return a.flags&256?(a.flags&=-257,d=Fd(Error(r(422))),Kl(o,a,b,d)):a.memoizedState!==null?(a.child=o.child,a.flags|=128,null):(v=d.fallback,m=a.mode,d=s1({mode:"visible",children:d.children},m,0,null),v=Qr(v,m,b,null),v.flags|=2,d.return=a,v.return=a,d.sibling=v,a.child=d,(a.mode&1)!==0&&Vi(a,o.child,null,b),a.child.memoizedState=Bd(b),a.memoizedState=Vd,v);if((a.mode&1)===0)return Kl(o,a,b,null);if(m.data==="$!"){if(d=m.nextSibling&&m.nextSibling.dataset,d)var C=d.dgst;return d=C,v=Error(r(419)),d=Fd(v,d,void 0),Kl(o,a,b,d)}if(C=(b&o.childLanes)!==0,Dt||C){if(d=mt,d!==null){switch(b&-b){case 4:m=2;break;case 16:m=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:m=32;break;case 536870912:m=268435456;break;default:m=0}m=(m&(d.suspendedLanes|b))!==0?0:m,m!==0&&m!==v.retryLane&&(v.retryLane=m,Xn(o,m),Cn(d,o,m,-1))}return l0(),d=Fd(Error(r(421))),Kl(o,a,b,d)}return m.data==="$?"?(a.flags|=128,a.child=o.child,a=Yb.bind(null,o),m._reactRetry=a,null):(o=v.treeContext,Bt=vr(m.nextSibling),Vt=a,Qe=!0,wn=null,o!==null&&(sn[an++]=Gn,sn[an++]=Yn,sn[an++]=Vr,Gn=o.id,Yn=o.overflow,Vr=a),a=Wd(a,d.children),a.flags|=4096,a)}function nh(o,a,c){o.lanes|=a;var d=o.alternate;d!==null&&(d.lanes|=a),kd(o.return,a,c)}function Kd(o,a,c,d,m){var v=o.memoizedState;v===null?o.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:m}:(v.isBackwards=a,v.rendering=null,v.renderingStartTime=0,v.last=d,v.tail=c,v.tailMode=m)}function rh(o,a,c){var d=a.pendingProps,m=d.revealOrder,v=d.tail;if(zt(o,a,d.children,c),d=tt.current,(d&2)!==0)d=d&1|2,a.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=a.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&nh(o,c,a);else if(o.tag===19)nh(o,c,a);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break e;for(;o.sibling===null;){if(o.return===null||o.return===a)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}d&=1}if(Ge(tt,d),(a.mode&1)===0)a.memoizedState=null;else switch(m){case"forwards":for(c=a.child,m=null;c!==null;)o=c.alternate,o!==null&&Fl(o)===null&&(m=c),c=c.sibling;c=m,c===null?(m=a.child,a.child=null):(m=c.sibling,c.sibling=null),Kd(a,!1,m,c,v);break;case"backwards":for(c=null,m=a.child,a.child=null;m!==null;){if(o=m.alternate,o!==null&&Fl(o)===null){a.child=m;break}o=m.sibling,m.sibling=c,c=m,m=o}Kd(a,!0,c,null,v);break;case"together":Kd(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function ql(o,a){(a.mode&1)===0&&o!==null&&(o.alternate=null,a.alternate=null,a.flags|=2)}function er(o,a,c){if(o!==null&&(a.dependencies=o.dependencies),Jr|=a.lanes,(c&a.childLanes)===0)return null;if(o!==null&&a.child!==o.child)throw Error(r(153));if(a.child!==null){for(o=a.child,c=zr(o,o.pendingProps),a.child=c,c.return=a;o.sibling!==null;)o=o.sibling,c=c.sibling=zr(o,o.pendingProps),c.return=a;c.sibling=null}return a.child}function Ab(o,a,c){switch(a.tag){case 3:Q5(a),Zi();break;case 5:v5(a);break;case 1:Pt(a.type)&&El(a);break;case 4:Sd(a,a.stateNode.containerInfo);break;case 10:var d=a.type._context,m=a.memoizedProps.value;Ge(Pl,d._currentValue),d._currentValue=m;break;case 13:if(d=a.memoizedState,d!==null)return d.dehydrated!==null?(Ge(tt,tt.current&1),a.flags|=128,null):(c&a.child.childLanes)!==0?th(o,a,c):(Ge(tt,tt.current&1),o=er(o,a,c),o!==null?o.sibling:null);Ge(tt,tt.current&1);break;case 19:if(d=(c&a.childLanes)!==0,(o.flags&128)!==0){if(d)return rh(o,a,c);a.flags|=128}if(m=a.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),Ge(tt,tt.current),d)break;return null;case 22:case 23:return a.lanes=0,G5(o,a,c)}return er(o,a,c)}var ih,qd,oh,sh;ih=function(o,a){for(var c=a.child;c!==null;){if(c.tag===5||c.tag===6)o.appendChild(c.stateNode);else if(c.tag!==4&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===a)break;for(;c.sibling===null;){if(c.return===null||c.return===a)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},qd=function(){},oh=function(o,a,c,d){var m=o.memoizedProps;if(m!==d){o=a.stateNode,Kr(Ln.current);var v=null;switch(c){case"input":m=Je(o,m),d=Je(o,d),v=[];break;case"select":m=X({},m,{value:void 0}),d=X({},d,{value:void 0}),v=[];break;case"textarea":m=Fr(o,m),d=Fr(o,d),v=[];break;default:typeof m.onClick!="function"&&typeof d.onClick=="function"&&(o.onclick=Il)}zu(c,d);var b;c=null;for(F in m)if(!d.hasOwnProperty(F)&&m.hasOwnProperty(F)&&m[F]!=null)if(F==="style"){var C=m[F];for(b in C)C.hasOwnProperty(b)&&(c||(c={}),c[b]="")}else F!=="dangerouslySetInnerHTML"&&F!=="children"&&F!=="suppressContentEditableWarning"&&F!=="suppressHydrationWarning"&&F!=="autoFocus"&&(n.hasOwnProperty(F)?v||(v=[]):(v=v||[]).push(F,null));for(F in d){var j=d[F];if(C=m?.[F],d.hasOwnProperty(F)&&j!==C&&(j!=null||C!=null))if(F==="style")if(C){for(b in C)!C.hasOwnProperty(b)||j&&j.hasOwnProperty(b)||(c||(c={}),c[b]="");for(b in j)j.hasOwnProperty(b)&&C[b]!==j[b]&&(c||(c={}),c[b]=j[b])}else c||(v||(v=[]),v.push(F,c)),c=j;else F==="dangerouslySetInnerHTML"?(j=j?j.__html:void 0,C=C?C.__html:void 0,j!=null&&C!==j&&(v=v||[]).push(F,j)):F==="children"?typeof j!="string"&&typeof j!="number"||(v=v||[]).push(F,""+j):F!=="suppressContentEditableWarning"&&F!=="suppressHydrationWarning"&&(n.hasOwnProperty(F)?(j!=null&&F==="onScroll"&&Ye("scroll",o),v||C===j||(v=[])):(v=v||[]).push(F,j))}c&&(v=v||[]).push("style",c);var F=v;(a.updateQueue=F)&&(a.flags|=4)}},sh=function(o,a,c,d){c!==d&&(a.flags|=4)};function $s(o,a){if(!Qe)switch(o.tailMode){case"hidden":a=o.tail;for(var c=null;a!==null;)a.alternate!==null&&(c=a),a=a.sibling;c===null?o.tail=null:c.sibling=null;break;case"collapsed":c=o.tail;for(var d=null;c!==null;)c.alternate!==null&&(d=c),c=c.sibling;d===null?a||o.tail===null?o.tail=null:o.tail.sibling=null:d.sibling=null}}function kt(o){var a=o.alternate!==null&&o.alternate.child===o.child,c=0,d=0;if(a)for(var m=o.child;m!==null;)c|=m.lanes|m.childLanes,d|=m.subtreeFlags&14680064,d|=m.flags&14680064,m.return=o,m=m.sibling;else for(m=o.child;m!==null;)c|=m.lanes|m.childLanes,d|=m.subtreeFlags,d|=m.flags,m.return=o,m=m.sibling;return o.subtreeFlags|=d,o.childLanes=c,a}function Fb(o,a,c){var d=a.pendingProps;switch(gd(a),a.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return kt(a),null;case 1:return Pt(a.type)&&jl(),kt(a),null;case 3:return d=a.stateNode,Ki(),Xe(Nt),Xe(bt),jd(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(o===null||o.child===null)&&(Ll(a)?a.flags|=4:o===null||o.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,wn!==null&&(o0(wn),wn=null))),qd(o,a),kt(a),null;case 5:Id(a);var m=Kr(ws.current);if(c=a.type,o!==null&&a.stateNode!=null)oh(o,a,c,d,m),o.ref!==a.ref&&(a.flags|=512,a.flags|=2097152);else{if(!d){if(a.stateNode===null)throw Error(r(166));return kt(a),null}if(o=Kr(Ln.current),Ll(a)){d=a.stateNode,c=a.type;var v=a.memoizedProps;switch(d[Tn]=a,d[ms]=v,o=(a.mode&1)!==0,c){case"dialog":Ye("cancel",d),Ye("close",d);break;case"iframe":case"object":case"embed":Ye("load",d);break;case"video":case"audio":for(m=0;m<fs.length;m++)Ye(fs[m],d);break;case"source":Ye("error",d);break;case"img":case"image":case"link":Ye("error",d),Ye("load",d);break;case"details":Ye("toggle",d);break;case"input":it(d,v),Ye("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!v.multiple},Ye("invalid",d);break;case"textarea":Ii(d,v),Ye("invalid",d)}zu(c,v),m=null;for(var b in v)if(v.hasOwnProperty(b)){var C=v[b];b==="children"?typeof C=="string"?d.textContent!==C&&(v.suppressHydrationWarning!==!0&&Sl(d.textContent,C,o),m=["children",C]):typeof C=="number"&&d.textContent!==""+C&&(v.suppressHydrationWarning!==!0&&Sl(d.textContent,C,o),m=["children",""+C]):n.hasOwnProperty(b)&&C!=null&&b==="onScroll"&&Ye("scroll",d)}switch(c){case"input":Re(d),vn(d,v,!0);break;case"textarea":Re(d),Bo(d);break;case"select":case"option":break;default:typeof v.onClick=="function"&&(d.onclick=Il)}d=m,a.updateQueue=d,d!==null&&(a.flags|=4)}else{b=m.nodeType===9?m:m.ownerDocument,o==="http://www.w3.org/1999/xhtml"&&(o=Wo(c)),o==="http://www.w3.org/1999/xhtml"?c==="script"?(o=b.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild)):typeof d.is=="string"?o=b.createElement(c,{is:d.is}):(o=b.createElement(c),c==="select"&&(b=o,d.multiple?b.multiple=!0:d.size&&(b.size=d.size))):o=b.createElementNS(o,c),o[Tn]=a,o[ms]=d,ih(o,a,!1,!1),a.stateNode=o;e:{switch(b=ju(c,d),c){case"dialog":Ye("cancel",o),Ye("close",o),m=d;break;case"iframe":case"object":case"embed":Ye("load",o),m=d;break;case"video":case"audio":for(m=0;m<fs.length;m++)Ye(fs[m],o);m=d;break;case"source":Ye("error",o),m=d;break;case"img":case"image":case"link":Ye("error",o),Ye("load",o),m=d;break;case"details":Ye("toggle",o),m=d;break;case"input":it(o,d),m=Je(o,d),Ye("invalid",o);break;case"option":m=d;break;case"select":o._wrapperState={wasMultiple:!!d.multiple},m=X({},d,{value:void 0}),Ye("invalid",o);break;case"textarea":Ii(o,d),m=Fr(o,d),Ye("invalid",o);break;default:m=d}zu(c,m),C=m;for(v in C)if(C.hasOwnProperty(v)){var j=C[v];v==="style"?J4(o,j):v==="dangerouslySetInnerHTML"?(j=j?j.__html:void 0,j!=null&&K4(o,j)):v==="children"?typeof j=="string"?(c!=="textarea"||j!=="")&&Ko(o,j):typeof j=="number"&&Ko(o,""+j):v!=="suppressContentEditableWarning"&&v!=="suppressHydrationWarning"&&v!=="autoFocus"&&(n.hasOwnProperty(v)?j!=null&&v==="onScroll"&&Ye("scroll",o):j!=null&&O(o,v,j,b))}switch(c){case"input":Re(o),vn(o,d,!1);break;case"textarea":Re(o),Bo(o);break;case"option":d.value!=null&&o.setAttribute("value",""+oe(d.value));break;case"select":o.multiple=!!d.multiple,v=d.value,v!=null?Lt(o,!!d.multiple,v,!1):d.defaultValue!=null&&Lt(o,!!d.multiple,d.defaultValue,!0);break;default:typeof m.onClick=="function"&&(o.onclick=Il)}switch(c){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(a.flags|=4)}a.ref!==null&&(a.flags|=512,a.flags|=2097152)}return kt(a),null;case 6:if(o&&a.stateNode!=null)sh(o,a,o.memoizedProps,d);else{if(typeof d!="string"&&a.stateNode===null)throw Error(r(166));if(c=Kr(ws.current),Kr(Ln.current),Ll(a)){if(d=a.stateNode,c=a.memoizedProps,d[Tn]=a,(v=d.nodeValue!==c)&&(o=Vt,o!==null))switch(o.tag){case 3:Sl(d.nodeValue,c,(o.mode&1)!==0);break;case 5:o.memoizedProps.suppressHydrationWarning!==!0&&Sl(d.nodeValue,c,(o.mode&1)!==0)}v&&(a.flags|=4)}else d=(c.nodeType===9?c:c.ownerDocument).createTextNode(d),d[Tn]=a,a.stateNode=d}return kt(a),null;case 13:if(Xe(tt),d=a.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(Qe&&Bt!==null&&(a.mode&1)!==0&&(a.flags&128)===0)c5(),Zi(),a.flags|=98560,v=!1;else if(v=Ll(a),d!==null&&d.dehydrated!==null){if(o===null){if(!v)throw Error(r(318));if(v=a.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(r(317));v[Tn]=a}else Zi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;kt(a),v=!1}else wn!==null&&(o0(wn),wn=null),v=!0;if(!v)return a.flags&65536?a:null}return(a.flags&128)!==0?(a.lanes=c,a):(d=d!==null,d!==(o!==null&&o.memoizedState!==null)&&d&&(a.child.flags|=8192,(a.mode&1)!==0&&(o===null||(tt.current&1)!==0?ft===0&&(ft=3):l0())),a.updateQueue!==null&&(a.flags|=4),kt(a),null);case 4:return Ki(),qd(o,a),o===null&&hs(a.stateNode.containerInfo),kt(a),null;case 10:return xd(a.type._context),kt(a),null;case 17:return Pt(a.type)&&jl(),kt(a),null;case 19:if(Xe(tt),v=a.memoizedState,v===null)return kt(a),null;if(d=(a.flags&128)!==0,b=v.rendering,b===null)if(d)$s(v,!1);else{if(ft!==0||o!==null&&(o.flags&128)!==0)for(o=a.child;o!==null;){if(b=Fl(o),b!==null){for(a.flags|=128,$s(v,!1),d=b.updateQueue,d!==null&&(a.updateQueue=d,a.flags|=4),a.subtreeFlags=0,d=c,c=a.child;c!==null;)v=c,o=d,v.flags&=14680066,b=v.alternate,b===null?(v.childLanes=0,v.lanes=o,v.child=null,v.subtreeFlags=0,v.memoizedProps=null,v.memoizedState=null,v.updateQueue=null,v.dependencies=null,v.stateNode=null):(v.childLanes=b.childLanes,v.lanes=b.lanes,v.child=b.child,v.subtreeFlags=0,v.deletions=null,v.memoizedProps=b.memoizedProps,v.memoizedState=b.memoizedState,v.updateQueue=b.updateQueue,v.type=b.type,o=b.dependencies,v.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),c=c.sibling;return Ge(tt,tt.current&1|2),a.child}o=o.sibling}v.tail!==null&&ot()>Yi&&(a.flags|=128,d=!0,$s(v,!1),a.lanes=4194304)}else{if(!d)if(o=Fl(b),o!==null){if(a.flags|=128,d=!0,c=o.updateQueue,c!==null&&(a.updateQueue=c,a.flags|=4),$s(v,!0),v.tail===null&&v.tailMode==="hidden"&&!b.alternate&&!Qe)return kt(a),null}else 2*ot()-v.renderingStartTime>Yi&&c!==1073741824&&(a.flags|=128,d=!0,$s(v,!1),a.lanes=4194304);v.isBackwards?(b.sibling=a.child,a.child=b):(c=v.last,c!==null?c.sibling=b:a.child=b,v.last=b)}return v.tail!==null?(a=v.tail,v.rendering=a,v.tail=a.sibling,v.renderingStartTime=ot(),a.sibling=null,c=tt.current,Ge(tt,d?c&1|2:c&1),a):(kt(a),null);case 22:case 23:return a0(),d=a.memoizedState!==null,o!==null&&o.memoizedState!==null!==d&&(a.flags|=8192),d&&(a.mode&1)!==0?(Wt&1073741824)!==0&&(kt(a),a.subtreeFlags&6&&(a.flags|=8192)):kt(a),null;case 24:return null;case 25:return null}throw Error(r(156,a.tag))}function Ub(o,a){switch(gd(a),a.tag){case 1:return Pt(a.type)&&jl(),o=a.flags,o&65536?(a.flags=o&-65537|128,a):null;case 3:return Ki(),Xe(Nt),Xe(bt),jd(),o=a.flags,(o&65536)!==0&&(o&128)===0?(a.flags=o&-65537|128,a):null;case 5:return Id(a),null;case 13:if(Xe(tt),o=a.memoizedState,o!==null&&o.dehydrated!==null){if(a.alternate===null)throw Error(r(340));Zi()}return o=a.flags,o&65536?(a.flags=o&-65537|128,a):null;case 19:return Xe(tt),null;case 4:return Ki(),null;case 10:return xd(a.type._context),null;case 22:case 23:return a0(),null;case 24:return null;default:return null}}var Jl=!1,Ct=!1,Hb=typeof WeakSet=="function"?WeakSet:Set,me=null;function Ji(o,a){var c=o.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(d){rt(o,a,d)}else c.current=null}function Jd(o,a,c){try{c()}catch(d){rt(o,a,d)}}var ah=!1;function Zb(o,a){if(ad=ml,o=A6(),Qu(o)){if("selectionStart"in o)var c={start:o.selectionStart,end:o.selectionEnd};else e:{c=(c=o.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&d.rangeCount!==0){c=d.anchorNode;var m=d.anchorOffset,v=d.focusNode;d=d.focusOffset;try{c.nodeType,v.nodeType}catch{c=null;break e}var b=0,C=-1,j=-1,F=0,J=0,Y=o,q=null;t:for(;;){for(var ue;Y!==c||m!==0&&Y.nodeType!==3||(C=b+m),Y!==v||d!==0&&Y.nodeType!==3||(j=b+d),Y.nodeType===3&&(b+=Y.nodeValue.length),(ue=Y.firstChild)!==null;)q=Y,Y=ue;for(;;){if(Y===o)break t;if(q===c&&++F===m&&(C=b),q===v&&++J===d&&(j=b),(ue=Y.nextSibling)!==null)break;Y=q,q=Y.parentNode}Y=ue}c=C===-1||j===-1?null:{start:C,end:j}}else c=null}c=c||{start:0,end:0}}else c=null;for(ld={focusedElem:o,selectionRange:c},ml=!1,me=a;me!==null;)if(a=me,o=a.child,(a.subtreeFlags&1028)!==0&&o!==null)o.return=a,me=o;else for(;me!==null;){a=me;try{var ve=a.alternate;if((a.flags&1024)!==0)switch(a.tag){case 0:case 11:case 15:break;case 1:if(ve!==null){var ye=ve.memoizedProps,st=ve.memoizedState,D=a.stateNode,M=D.getSnapshotBeforeUpdate(a.elementType===a.type?ye:bn(a.type,ye),st);D.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var R=a.stateNode.containerInfo;R.nodeType===1?R.textContent="":R.nodeType===9&&R.documentElement&&R.removeChild(R.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(ee){rt(a,a.return,ee)}if(o=a.sibling,o!==null){o.return=a.return,me=o;break}me=a.return}return ve=ah,ah=!1,ve}function Ss(o,a,c){var d=a.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var m=d=d.next;do{if((m.tag&o)===o){var v=m.destroy;m.destroy=void 0,v!==void 0&&Jd(a,c,v)}m=m.next}while(m!==d)}}function Gl(o,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var c=a=a.next;do{if((c.tag&o)===o){var d=c.create;c.destroy=d()}c=c.next}while(c!==a)}}function Gd(o){var a=o.ref;if(a!==null){var c=o.stateNode;switch(o.tag){case 5:o=c;break;default:o=c}typeof a=="function"?a(o):a.current=o}}function lh(o){var a=o.alternate;a!==null&&(o.alternate=null,lh(a)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(a=o.stateNode,a!==null&&(delete a[Tn],delete a[ms],delete a[fd],delete a[$b],delete a[Sb])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function ch(o){return o.tag===5||o.tag===3||o.tag===4}function uh(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||ch(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Yd(o,a,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,a?c.nodeType===8?c.parentNode.insertBefore(o,a):c.insertBefore(o,a):(c.nodeType===8?(a=c.parentNode,a.insertBefore(o,c)):(a=c,a.appendChild(o)),c=c._reactRootContainer,c!=null||a.onclick!==null||(a.onclick=Il));else if(d!==4&&(o=o.child,o!==null))for(Yd(o,a,c),o=o.sibling;o!==null;)Yd(o,a,c),o=o.sibling}function Xd(o,a,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,a?c.insertBefore(o,a):c.appendChild(o);else if(d!==4&&(o=o.child,o!==null))for(Xd(o,a,c),o=o.sibling;o!==null;)Xd(o,a,c),o=o.sibling}var yt=null,xn=!1;function kr(o,a,c){for(c=c.child;c!==null;)dh(o,a,c),c=c.sibling}function dh(o,a,c){if(Mn&&typeof Mn.onCommitFiberUnmount=="function")try{Mn.onCommitFiberUnmount(cl,c)}catch{}switch(c.tag){case 5:Ct||Ji(c,a);case 6:var d=yt,m=xn;yt=null,kr(o,a,c),yt=d,xn=m,yt!==null&&(xn?(o=yt,c=c.stateNode,o.nodeType===8?o.parentNode.removeChild(c):o.removeChild(c)):yt.removeChild(c.stateNode));break;case 18:yt!==null&&(xn?(o=yt,c=c.stateNode,o.nodeType===8?dd(o.parentNode,c):o.nodeType===1&&dd(o,c),is(o)):dd(yt,c.stateNode));break;case 4:d=yt,m=xn,yt=c.stateNode.containerInfo,xn=!0,kr(o,a,c),yt=d,xn=m;break;case 0:case 11:case 14:case 15:if(!Ct&&(d=c.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){m=d=d.next;do{var v=m,b=v.destroy;v=v.tag,b!==void 0&&((v&2)!==0||(v&4)!==0)&&Jd(c,a,b),m=m.next}while(m!==d)}kr(o,a,c);break;case 1:if(!Ct&&(Ji(c,a),d=c.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(C){rt(c,a,C)}kr(o,a,c);break;case 21:kr(o,a,c);break;case 22:c.mode&1?(Ct=(d=Ct)||c.memoizedState!==null,kr(o,a,c),Ct=d):kr(o,a,c);break;default:kr(o,a,c)}}function fh(o){var a=o.updateQueue;if(a!==null){o.updateQueue=null;var c=o.stateNode;c===null&&(c=o.stateNode=new Hb),a.forEach(function(d){var m=Xb.bind(null,o,d);c.has(d)||(c.add(d),d.then(m,m))})}}function kn(o,a){var c=a.deletions;if(c!==null)for(var d=0;d<c.length;d++){var m=c[d];try{var v=o,b=a,C=b;e:for(;C!==null;){switch(C.tag){case 5:yt=C.stateNode,xn=!1;break e;case 3:yt=C.stateNode.containerInfo,xn=!0;break e;case 4:yt=C.stateNode.containerInfo,xn=!0;break e}C=C.return}if(yt===null)throw Error(r(160));dh(v,b,m),yt=null,xn=!1;var j=m.alternate;j!==null&&(j.return=null),m.return=null}catch(F){rt(m,a,F)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)hh(a,o),a=a.sibling}function hh(o,a){var c=o.alternate,d=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:if(kn(a,o),Pn(o),d&4){try{Ss(3,o,o.return),Gl(3,o)}catch(ye){rt(o,o.return,ye)}try{Ss(5,o,o.return)}catch(ye){rt(o,o.return,ye)}}break;case 1:kn(a,o),Pn(o),d&512&&c!==null&&Ji(c,c.return);break;case 5:if(kn(a,o),Pn(o),d&512&&c!==null&&Ji(c,c.return),o.flags&32){var m=o.stateNode;try{Ko(m,"")}catch(ye){rt(o,o.return,ye)}}if(d&4&&(m=o.stateNode,m!=null)){var v=o.memoizedProps,b=c!==null?c.memoizedProps:v,C=o.type,j=o.updateQueue;if(o.updateQueue=null,j!==null)try{C==="input"&&v.type==="radio"&&v.name!=null&&ct(m,v),ju(C,b);var F=ju(C,v);for(b=0;b<j.length;b+=2){var J=j[b],Y=j[b+1];J==="style"?J4(m,Y):J==="dangerouslySetInnerHTML"?K4(m,Y):J==="children"?Ko(m,Y):O(m,J,Y,F)}switch(C){case"input":nn(m,v);break;case"textarea":zi(m,v);break;case"select":var q=m._wrapperState.wasMultiple;m._wrapperState.wasMultiple=!!v.multiple;var ue=v.value;ue!=null?Lt(m,!!v.multiple,ue,!1):q!==!!v.multiple&&(v.defaultValue!=null?Lt(m,!!v.multiple,v.defaultValue,!0):Lt(m,!!v.multiple,v.multiple?[]:"",!1))}m[ms]=v}catch(ye){rt(o,o.return,ye)}}break;case 6:if(kn(a,o),Pn(o),d&4){if(o.stateNode===null)throw Error(r(162));m=o.stateNode,v=o.memoizedProps;try{m.nodeValue=v}catch(ye){rt(o,o.return,ye)}}break;case 3:if(kn(a,o),Pn(o),d&4&&c!==null&&c.memoizedState.isDehydrated)try{is(a.containerInfo)}catch(ye){rt(o,o.return,ye)}break;case 4:kn(a,o),Pn(o);break;case 13:kn(a,o),Pn(o),m=o.child,m.flags&8192&&(v=m.memoizedState!==null,m.stateNode.isHidden=v,!v||m.alternate!==null&&m.alternate.memoizedState!==null||(t0=ot())),d&4&&fh(o);break;case 22:if(J=c!==null&&c.memoizedState!==null,o.mode&1?(Ct=(F=Ct)||J,kn(a,o),Ct=F):kn(a,o),Pn(o),d&8192){if(F=o.memoizedState!==null,(o.stateNode.isHidden=F)&&!J&&(o.mode&1)!==0)for(me=o,J=o.child;J!==null;){for(Y=me=J;me!==null;){switch(q=me,ue=q.child,q.tag){case 0:case 11:case 14:case 15:Ss(4,q,q.return);break;case 1:Ji(q,q.return);var ve=q.stateNode;if(typeof ve.componentWillUnmount=="function"){d=q,c=q.return;try{a=d,ve.props=a.memoizedProps,ve.state=a.memoizedState,ve.componentWillUnmount()}catch(ye){rt(d,c,ye)}}break;case 5:Ji(q,q.return);break;case 22:if(q.memoizedState!==null){gh(Y);continue}}ue!==null?(ue.return=q,me=ue):gh(Y)}J=J.sibling}e:for(J=null,Y=o;;){if(Y.tag===5){if(J===null){J=Y;try{m=Y.stateNode,F?(v=m.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none"):(C=Y.stateNode,j=Y.memoizedProps.style,b=j!=null&&j.hasOwnProperty("display")?j.display:null,C.style.display=q4("display",b))}catch(ye){rt(o,o.return,ye)}}}else if(Y.tag===6){if(J===null)try{Y.stateNode.nodeValue=F?"":Y.memoizedProps}catch(ye){rt(o,o.return,ye)}}else if((Y.tag!==22&&Y.tag!==23||Y.memoizedState===null||Y===o)&&Y.child!==null){Y.child.return=Y,Y=Y.child;continue}if(Y===o)break e;for(;Y.sibling===null;){if(Y.return===null||Y.return===o)break e;J===Y&&(J=null),Y=Y.return}J===Y&&(J=null),Y.sibling.return=Y.return,Y=Y.sibling}}break;case 19:kn(a,o),Pn(o),d&4&&fh(o);break;case 21:break;default:kn(a,o),Pn(o)}}function Pn(o){var a=o.flags;if(a&2){try{e:{for(var c=o.return;c!==null;){if(ch(c)){var d=c;break e}c=c.return}throw Error(r(160))}switch(d.tag){case 5:var m=d.stateNode;d.flags&32&&(Ko(m,""),d.flags&=-33);var v=uh(o);Xd(o,v,m);break;case 3:case 4:var b=d.stateNode.containerInfo,C=uh(o);Yd(o,C,b);break;default:throw Error(r(161))}}catch(j){rt(o,o.return,j)}o.flags&=-3}a&4096&&(o.flags&=-4097)}function Vb(o,a,c){me=o,ph(o)}function ph(o,a,c){for(var d=(o.mode&1)!==0;me!==null;){var m=me,v=m.child;if(m.tag===22&&d){var b=m.memoizedState!==null||Jl;if(!b){var C=m.alternate,j=C!==null&&C.memoizedState!==null||Ct;C=Jl;var F=Ct;if(Jl=b,(Ct=j)&&!F)for(me=m;me!==null;)b=me,j=b.child,b.tag===22&&b.memoizedState!==null?vh(m):j!==null?(j.return=b,me=j):vh(m);for(;v!==null;)me=v,ph(v),v=v.sibling;me=m,Jl=C,Ct=F}mh(o)}else(m.subtreeFlags&8772)!==0&&v!==null?(v.return=m,me=v):mh(o)}}function mh(o){for(;me!==null;){var a=me;if((a.flags&8772)!==0){var c=a.alternate;try{if((a.flags&8772)!==0)switch(a.tag){case 0:case 11:case 15:Ct||Gl(5,a);break;case 1:var d=a.stateNode;if(a.flags&4&&!Ct)if(c===null)d.componentDidMount();else{var m=a.elementType===a.type?c.memoizedProps:bn(a.type,c.memoizedProps);d.componentDidUpdate(m,c.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var v=a.updateQueue;v!==null&&g5(a,v,d);break;case 3:var b=a.updateQueue;if(b!==null){if(c=null,a.child!==null)switch(a.child.tag){case 5:c=a.child.stateNode;break;case 1:c=a.child.stateNode}g5(a,b,c)}break;case 5:var C=a.stateNode;if(c===null&&a.flags&4){c=C;var j=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":j.autoFocus&&c.focus();break;case"img":j.src&&(c.src=j.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(a.memoizedState===null){var F=a.alternate;if(F!==null){var J=F.memoizedState;if(J!==null){var Y=J.dehydrated;Y!==null&&is(Y)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}Ct||a.flags&512&&Gd(a)}catch(q){rt(a,a.return,q)}}if(a===o){me=null;break}if(c=a.sibling,c!==null){c.return=a.return,me=c;break}me=a.return}}function gh(o){for(;me!==null;){var a=me;if(a===o){me=null;break}var c=a.sibling;if(c!==null){c.return=a.return,me=c;break}me=a.return}}function vh(o){for(;me!==null;){var a=me;try{switch(a.tag){case 0:case 11:case 15:var c=a.return;try{Gl(4,a)}catch(j){rt(a,c,j)}break;case 1:var d=a.stateNode;if(typeof d.componentDidMount=="function"){var m=a.return;try{d.componentDidMount()}catch(j){rt(a,m,j)}}var v=a.return;try{Gd(a)}catch(j){rt(a,v,j)}break;case 5:var b=a.return;try{Gd(a)}catch(j){rt(a,b,j)}}}catch(j){rt(a,a.return,j)}if(a===o){me=null;break}var C=a.sibling;if(C!==null){C.return=a.return,me=C;break}me=a.return}}var Bb=Math.ceil,Yl=P.ReactCurrentDispatcher,Qd=P.ReactCurrentOwner,un=P.ReactCurrentBatchConfig,He=0,mt=null,ut=null,_t=0,Wt=0,Gi=yr(0),ft=0,Is=null,Jr=0,Xl=0,e0=0,zs=null,Rt=null,t0=0,Yi=1/0,tr=null,Ql=!1,n0=null,Cr=null,e1=!1,$r=null,t1=0,js=0,r0=null,n1=-1,r1=0;function jt(){return(He&6)!==0?ot():n1!==-1?n1:n1=ot()}function Sr(o){return(o.mode&1)===0?1:(He&2)!==0&&_t!==0?_t&-_t:zb.transition!==null?(r1===0&&(r1=u6()),r1):(o=Ve,o!==0||(o=window.event,o=o===void 0?16:_6(o.type)),o)}function Cn(o,a,c,d){if(50<js)throw js=0,r0=null,Error(r(185));Qo(o,c,d),((He&2)===0||o!==mt)&&(o===mt&&((He&2)===0&&(Xl|=c),ft===4&&Ir(o,_t)),At(o,d),c===1&&He===0&&(a.mode&1)===0&&(Yi=ot()+500,Ol&&wr()))}function At(o,a){var c=o.callbackNode;zw(o,a);var d=fl(o,o===mt?_t:0);if(d===0)c!==null&&a6(c),o.callbackNode=null,o.callbackPriority=0;else if(a=d&-d,o.callbackPriority!==a){if(c!=null&&a6(c),a===1)o.tag===0?Ib(_h.bind(null,o)):i5(_h.bind(null,o)),kb(function(){(He&6)===0&&wr()}),c=null;else{switch(d6(d)){case 1:c=Pu;break;case 4:c=l6;break;case 16:c=ll;break;case 536870912:c=c6;break;default:c=ll}c=Ih(c,yh.bind(null,o))}o.callbackPriority=a,o.callbackNode=c}}function yh(o,a){if(n1=-1,r1=0,(He&6)!==0)throw Error(r(327));var c=o.callbackNode;if(Xi()&&o.callbackNode!==c)return null;var d=fl(o,o===mt?_t:0);if(d===0)return null;if((d&30)!==0||(d&o.expiredLanes)!==0||a)a=i1(o,d);else{a=d;var m=He;He|=2;var v=bh();(mt!==o||_t!==a)&&(tr=null,Yi=ot()+500,Yr(o,a));do try{qb();break}catch(C){wh(o,C)}while(!0);bd(),Yl.current=v,He=m,ut!==null?a=0:(mt=null,_t=0,a=ft)}if(a!==0){if(a===2&&(m=Du(o),m!==0&&(d=m,a=i0(o,m))),a===1)throw c=Is,Yr(o,0),Ir(o,d),At(o,ot()),c;if(a===6)Ir(o,d);else{if(m=o.current.alternate,(d&30)===0&&!Wb(m)&&(a=i1(o,d),a===2&&(v=Du(o),v!==0&&(d=v,a=i0(o,v))),a===1))throw c=Is,Yr(o,0),Ir(o,d),At(o,ot()),c;switch(o.finishedWork=m,o.finishedLanes=d,a){case 0:case 1:throw Error(r(345));case 2:Xr(o,Rt,tr);break;case 3:if(Ir(o,d),(d&130023424)===d&&(a=t0+500-ot(),10<a)){if(fl(o,0)!==0)break;if(m=o.suspendedLanes,(m&d)!==d){jt(),o.pingedLanes|=o.suspendedLanes&m;break}o.timeoutHandle=ud(Xr.bind(null,o,Rt,tr),a);break}Xr(o,Rt,tr);break;case 4:if(Ir(o,d),(d&4194240)===d)break;for(a=o.eventTimes,m=-1;0<d;){var b=31-yn(d);v=1<<b,b=a[b],b>m&&(m=b),d&=~v}if(d=m,d=ot()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*Bb(d/1960))-d,10<d){o.timeoutHandle=ud(Xr.bind(null,o,Rt,tr),d);break}Xr(o,Rt,tr);break;case 5:Xr(o,Rt,tr);break;default:throw Error(r(329))}}}return At(o,ot()),o.callbackNode===c?yh.bind(null,o):null}function i0(o,a){var c=zs;return o.current.memoizedState.isDehydrated&&(Yr(o,a).flags|=256),o=i1(o,a),o!==2&&(a=Rt,Rt=c,a!==null&&o0(a)),o}function o0(o){Rt===null?Rt=o:Rt.push.apply(Rt,o)}function Wb(o){for(var a=o;;){if(a.flags&16384){var c=a.updateQueue;if(c!==null&&(c=c.stores,c!==null))for(var d=0;d<c.length;d++){var m=c[d],v=m.getSnapshot;m=m.value;try{if(!_n(v(),m))return!1}catch{return!1}}}if(c=a.child,a.subtreeFlags&16384&&c!==null)c.return=a,a=c;else{if(a===o)break;for(;a.sibling===null;){if(a.return===null||a.return===o)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ir(o,a){for(a&=~e0,a&=~Xl,o.suspendedLanes|=a,o.pingedLanes&=~a,o=o.expirationTimes;0<a;){var c=31-yn(a),d=1<<c;o[c]=-1,a&=~d}}function _h(o){if((He&6)!==0)throw Error(r(327));Xi();var a=fl(o,0);if((a&1)===0)return At(o,ot()),null;var c=i1(o,a);if(o.tag!==0&&c===2){var d=Du(o);d!==0&&(a=d,c=i0(o,d))}if(c===1)throw c=Is,Yr(o,0),Ir(o,a),At(o,ot()),c;if(c===6)throw Error(r(345));return o.finishedWork=o.current.alternate,o.finishedLanes=a,Xr(o,Rt,tr),At(o,ot()),null}function s0(o,a){var c=He;He|=1;try{return o(a)}finally{He=c,He===0&&(Yi=ot()+500,Ol&&wr())}}function Gr(o){$r!==null&&$r.tag===0&&(He&6)===0&&Xi();var a=He;He|=1;var c=un.transition,d=Ve;try{if(un.transition=null,Ve=1,o)return o()}finally{Ve=d,un.transition=c,He=a,(He&6)===0&&wr()}}function a0(){Wt=Gi.current,Xe(Gi)}function Yr(o,a){o.finishedWork=null,o.finishedLanes=0;var c=o.timeoutHandle;if(c!==-1&&(o.timeoutHandle=-1,xb(c)),ut!==null)for(c=ut.return;c!==null;){var d=c;switch(gd(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&jl();break;case 3:Ki(),Xe(Nt),Xe(bt),jd();break;case 5:Id(d);break;case 4:Ki();break;case 13:Xe(tt);break;case 19:Xe(tt);break;case 10:xd(d.type._context);break;case 22:case 23:a0()}c=c.return}if(mt=o,ut=o=zr(o.current,null),_t=Wt=a,ft=0,Is=null,e0=Xl=Jr=0,Rt=zs=null,Wr!==null){for(a=0;a<Wr.length;a++)if(c=Wr[a],d=c.interleaved,d!==null){c.interleaved=null;var m=d.next,v=c.pending;if(v!==null){var b=v.next;v.next=m,d.next=b}c.pending=d}Wr=null}return o}function wh(o,a){do{var c=ut;try{if(bd(),Ul.current=Bl,Hl){for(var d=nt.memoizedState;d!==null;){var m=d.queue;m!==null&&(m.pending=null),d=d.next}Hl=!1}if(qr=0,pt=dt=nt=null,bs=!1,xs=0,Qd.current=null,c===null||c.return===null){ft=1,Is=a,ut=null;break}e:{var v=o,b=c.return,C=c,j=a;if(a=_t,C.flags|=32768,j!==null&&typeof j=="object"&&typeof j.then=="function"){var F=j,J=C,Y=J.tag;if((J.mode&1)===0&&(Y===0||Y===11||Y===15)){var q=J.alternate;q?(J.updateQueue=q.updateQueue,J.memoizedState=q.memoizedState,J.lanes=q.lanes):(J.updateQueue=null,J.memoizedState=null)}var ue=B5(b);if(ue!==null){ue.flags&=-257,W5(ue,b,C,v,a),ue.mode&1&&V5(v,F,a),a=ue,j=F;var ve=a.updateQueue;if(ve===null){var ye=new Set;ye.add(j),a.updateQueue=ye}else ve.add(j);break e}else{if((a&1)===0){V5(v,F,a),l0();break e}j=Error(r(426))}}else if(Qe&&C.mode&1){var st=B5(b);if(st!==null){(st.flags&65536)===0&&(st.flags|=256),W5(st,b,C,v,a),_d(qi(j,C));break e}}v=j=qi(j,C),ft!==4&&(ft=2),zs===null?zs=[v]:zs.push(v),v=b;do{switch(v.tag){case 3:v.flags|=65536,a&=-a,v.lanes|=a;var D=H5(v,j,a);m5(v,D);break e;case 1:C=j;var M=v.type,R=v.stateNode;if((v.flags&128)===0&&(typeof M.getDerivedStateFromError=="function"||R!==null&&typeof R.componentDidCatch=="function"&&(Cr===null||!Cr.has(R)))){v.flags|=65536,a&=-a,v.lanes|=a;var ee=Z5(v,C,a);m5(v,ee);break e}}v=v.return}while(v!==null)}kh(c)}catch(we){a=we,ut===c&&c!==null&&(ut=c=c.return);continue}break}while(!0)}function bh(){var o=Yl.current;return Yl.current=Bl,o===null?Bl:o}function l0(){(ft===0||ft===3||ft===2)&&(ft=4),mt===null||(Jr&268435455)===0&&(Xl&268435455)===0||Ir(mt,_t)}function i1(o,a){var c=He;He|=2;var d=bh();(mt!==o||_t!==a)&&(tr=null,Yr(o,a));do try{Kb();break}catch(m){wh(o,m)}while(!0);if(bd(),He=c,Yl.current=d,ut!==null)throw Error(r(261));return mt=null,_t=0,ft}function Kb(){for(;ut!==null;)xh(ut)}function qb(){for(;ut!==null&&!_w();)xh(ut)}function xh(o){var a=Sh(o.alternate,o,Wt);o.memoizedProps=o.pendingProps,a===null?kh(o):ut=a,Qd.current=null}function kh(o){var a=o;do{var c=a.alternate;if(o=a.return,(a.flags&32768)===0){if(c=Fb(c,a,Wt),c!==null){ut=c;return}}else{if(c=Ub(c,a),c!==null){c.flags&=32767,ut=c;return}if(o!==null)o.flags|=32768,o.subtreeFlags=0,o.deletions=null;else{ft=6,ut=null;return}}if(a=a.sibling,a!==null){ut=a;return}ut=a=o}while(a!==null);ft===0&&(ft=5)}function Xr(o,a,c){var d=Ve,m=un.transition;try{un.transition=null,Ve=1,Jb(o,a,c,d)}finally{un.transition=m,Ve=d}return null}function Jb(o,a,c,d){do Xi();while($r!==null);if((He&6)!==0)throw Error(r(327));c=o.finishedWork;var m=o.finishedLanes;if(c===null)return null;if(o.finishedWork=null,o.finishedLanes=0,c===o.current)throw Error(r(177));o.callbackNode=null,o.callbackPriority=0;var v=c.lanes|c.childLanes;if(jw(o,v),o===mt&&(ut=mt=null,_t=0),(c.subtreeFlags&2064)===0&&(c.flags&2064)===0||e1||(e1=!0,Ih(ll,function(){return Xi(),null})),v=(c.flags&15990)!==0,(c.subtreeFlags&15990)!==0||v){v=un.transition,un.transition=null;var b=Ve;Ve=1;var C=He;He|=4,Qd.current=null,Zb(o,c),hh(c,o),mb(ld),ml=!!ad,ld=ad=null,o.current=c,Vb(c),ww(),He=C,Ve=b,un.transition=v}else o.current=c;if(e1&&(e1=!1,$r=o,t1=m),v=o.pendingLanes,v===0&&(Cr=null),kw(c.stateNode),At(o,ot()),a!==null)for(d=o.onRecoverableError,c=0;c<a.length;c++)m=a[c],d(m.value,{componentStack:m.stack,digest:m.digest});if(Ql)throw Ql=!1,o=n0,n0=null,o;return(t1&1)!==0&&o.tag!==0&&Xi(),v=o.pendingLanes,(v&1)!==0?o===r0?js++:(js=0,r0=o):js=0,wr(),null}function Xi(){if($r!==null){var o=d6(t1),a=un.transition,c=Ve;try{if(un.transition=null,Ve=16>o?16:o,$r===null)var d=!1;else{if(o=$r,$r=null,t1=0,(He&6)!==0)throw Error(r(331));var m=He;for(He|=4,me=o.current;me!==null;){var v=me,b=v.child;if((me.flags&16)!==0){var C=v.deletions;if(C!==null){for(var j=0;j<C.length;j++){var F=C[j];for(me=F;me!==null;){var J=me;switch(J.tag){case 0:case 11:case 15:Ss(8,J,v)}var Y=J.child;if(Y!==null)Y.return=J,me=Y;else for(;me!==null;){J=me;var q=J.sibling,ue=J.return;if(lh(J),J===F){me=null;break}if(q!==null){q.return=ue,me=q;break}me=ue}}}var ve=v.alternate;if(ve!==null){var ye=ve.child;if(ye!==null){ve.child=null;do{var st=ye.sibling;ye.sibling=null,ye=st}while(ye!==null)}}me=v}}if((v.subtreeFlags&2064)!==0&&b!==null)b.return=v,me=b;else e:for(;me!==null;){if(v=me,(v.flags&2048)!==0)switch(v.tag){case 0:case 11:case 15:Ss(9,v,v.return)}var D=v.sibling;if(D!==null){D.return=v.return,me=D;break e}me=v.return}}var M=o.current;for(me=M;me!==null;){b=me;var R=b.child;if((b.subtreeFlags&2064)!==0&&R!==null)R.return=b,me=R;else e:for(b=M;me!==null;){if(C=me,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:Gl(9,C)}}catch(we){rt(C,C.return,we)}if(C===b){me=null;break e}var ee=C.sibling;if(ee!==null){ee.return=C.return,me=ee;break e}me=C.return}}if(He=m,wr(),Mn&&typeof Mn.onPostCommitFiberRoot=="function")try{Mn.onPostCommitFiberRoot(cl,o)}catch{}d=!0}return d}finally{Ve=c,un.transition=a}}return!1}function Ch(o,a,c){a=qi(c,a),a=H5(o,a,1),o=xr(o,a,1),a=jt(),o!==null&&(Qo(o,1,a),At(o,a))}function rt(o,a,c){if(o.tag===3)Ch(o,o,c);else for(;a!==null;){if(a.tag===3){Ch(a,o,c);break}else if(a.tag===1){var d=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(Cr===null||!Cr.has(d))){o=qi(c,o),o=Z5(a,o,1),a=xr(a,o,1),o=jt(),a!==null&&(Qo(a,1,o),At(a,o));break}}a=a.return}}function Gb(o,a,c){var d=o.pingCache;d!==null&&d.delete(a),a=jt(),o.pingedLanes|=o.suspendedLanes&c,mt===o&&(_t&c)===c&&(ft===4||ft===3&&(_t&130023424)===_t&&500>ot()-t0?Yr(o,0):e0|=c),At(o,a)}function $h(o,a){a===0&&((o.mode&1)===0?a=1:(a=dl,dl<<=1,(dl&130023424)===0&&(dl=4194304)));var c=jt();o=Xn(o,a),o!==null&&(Qo(o,a,c),At(o,c))}function Yb(o){var a=o.memoizedState,c=0;a!==null&&(c=a.retryLane),$h(o,c)}function Xb(o,a){var c=0;switch(o.tag){case 13:var d=o.stateNode,m=o.memoizedState;m!==null&&(c=m.retryLane);break;case 19:d=o.stateNode;break;default:throw Error(r(314))}d!==null&&d.delete(a),$h(o,c)}var Sh;Sh=function(o,a,c){if(o!==null)if(o.memoizedProps!==a.pendingProps||Nt.current)Dt=!0;else{if((o.lanes&c)===0&&(a.flags&128)===0)return Dt=!1,Ab(o,a,c);Dt=(o.flags&131072)!==0}else Dt=!1,Qe&&(a.flags&1048576)!==0&&o5(a,Tl,a.index);switch(a.lanes=0,a.tag){case 2:var d=a.type;ql(o,a),o=a.pendingProps;var m=Fi(a,bt.current);Wi(a,c),m=Md(null,a,d,o,m,c);var v=Td();return a.flags|=1,typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,Pt(d)?(v=!0,El(a)):v=!1,a.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,$d(a),m.updater=Wl,a.stateNode=m,m._reactInternals=a,Ad(a,d,o,c),a=Zd(null,a,d,!0,v,c)):(a.tag=0,Qe&&v&&md(a),zt(null,a,m,c),a=a.child),a;case 16:d=a.elementType;e:{switch(ql(o,a),o=a.pendingProps,m=d._init,d=m(d._payload),a.type=d,m=a.tag=ex(d),o=bn(d,o),m){case 0:a=Hd(null,a,d,o,c);break e;case 1:a=X5(null,a,d,o,c);break e;case 11:a=K5(null,a,d,o,c);break e;case 14:a=q5(null,a,d,bn(d.type,o),c);break e}throw Error(r(306,d,""))}return a;case 0:return d=a.type,m=a.pendingProps,m=a.elementType===d?m:bn(d,m),Hd(o,a,d,m,c);case 1:return d=a.type,m=a.pendingProps,m=a.elementType===d?m:bn(d,m),X5(o,a,d,m,c);case 3:e:{if(Q5(a),o===null)throw Error(r(387));d=a.pendingProps,v=a.memoizedState,m=v.element,p5(o,a),Al(a,d,null,c);var b=a.memoizedState;if(d=b.element,v.isDehydrated)if(v={element:d,isDehydrated:!1,cache:b.cache,pendingSuspenseBoundaries:b.pendingSuspenseBoundaries,transitions:b.transitions},a.updateQueue.baseState=v,a.memoizedState=v,a.flags&256){m=qi(Error(r(423)),a),a=eh(o,a,d,c,m);break e}else if(d!==m){m=qi(Error(r(424)),a),a=eh(o,a,d,c,m);break e}else for(Bt=vr(a.stateNode.containerInfo.firstChild),Vt=a,Qe=!0,wn=null,c=f5(a,null,d,c),a.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Zi(),d===m){a=er(o,a,c);break e}zt(o,a,d,c)}a=a.child}return a;case 5:return v5(a),o===null&&yd(a),d=a.type,m=a.pendingProps,v=o!==null?o.memoizedProps:null,b=m.children,cd(d,m)?b=null:v!==null&&cd(d,v)&&(a.flags|=32),Y5(o,a),zt(o,a,b,c),a.child;case 6:return o===null&&yd(a),null;case 13:return th(o,a,c);case 4:return Sd(a,a.stateNode.containerInfo),d=a.pendingProps,o===null?a.child=Vi(a,null,d,c):zt(o,a,d,c),a.child;case 11:return d=a.type,m=a.pendingProps,m=a.elementType===d?m:bn(d,m),K5(o,a,d,m,c);case 7:return zt(o,a,a.pendingProps,c),a.child;case 8:return zt(o,a,a.pendingProps.children,c),a.child;case 12:return zt(o,a,a.pendingProps.children,c),a.child;case 10:e:{if(d=a.type._context,m=a.pendingProps,v=a.memoizedProps,b=m.value,Ge(Pl,d._currentValue),d._currentValue=b,v!==null)if(_n(v.value,b)){if(v.children===m.children&&!Nt.current){a=er(o,a,c);break e}}else for(v=a.child,v!==null&&(v.return=a);v!==null;){var C=v.dependencies;if(C!==null){b=v.child;for(var j=C.firstContext;j!==null;){if(j.context===d){if(v.tag===1){j=Qn(-1,c&-c),j.tag=2;var F=v.updateQueue;if(F!==null){F=F.shared;var J=F.pending;J===null?j.next=j:(j.next=J.next,J.next=j),F.pending=j}}v.lanes|=c,j=v.alternate,j!==null&&(j.lanes|=c),kd(v.return,c,a),C.lanes|=c;break}j=j.next}}else if(v.tag===10)b=v.type===a.type?null:v.child;else if(v.tag===18){if(b=v.return,b===null)throw Error(r(341));b.lanes|=c,C=b.alternate,C!==null&&(C.lanes|=c),kd(b,c,a),b=v.sibling}else b=v.child;if(b!==null)b.return=v;else for(b=v;b!==null;){if(b===a){b=null;break}if(v=b.sibling,v!==null){v.return=b.return,b=v;break}b=b.return}v=b}zt(o,a,m.children,c),a=a.child}return a;case 9:return m=a.type,d=a.pendingProps.children,Wi(a,c),m=ln(m),d=d(m),a.flags|=1,zt(o,a,d,c),a.child;case 14:return d=a.type,m=bn(d,a.pendingProps),m=bn(d.type,m),q5(o,a,d,m,c);case 15:return J5(o,a,a.type,a.pendingProps,c);case 17:return d=a.type,m=a.pendingProps,m=a.elementType===d?m:bn(d,m),ql(o,a),a.tag=1,Pt(d)?(o=!0,El(a)):o=!1,Wi(a,c),F5(a,d,m),Ad(a,d,m,c),Zd(null,a,d,!0,o,c);case 19:return rh(o,a,c);case 22:return G5(o,a,c)}throw Error(r(156,a.tag))};function Ih(o,a){return s6(o,a)}function Qb(o,a,c,d){this.tag=o,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function dn(o,a,c,d){return new Qb(o,a,c,d)}function c0(o){return o=o.prototype,!(!o||!o.isReactComponent)}function ex(o){if(typeof o=="function")return c0(o)?1:0;if(o!=null){if(o=o.$$typeof,o===ie)return 11;if(o===ce)return 14}return 2}function zr(o,a){var c=o.alternate;return c===null?(c=dn(o.tag,a,o.key,o.mode),c.elementType=o.elementType,c.type=o.type,c.stateNode=o.stateNode,c.alternate=o,o.alternate=c):(c.pendingProps=a,c.type=o.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=o.flags&14680064,c.childLanes=o.childLanes,c.lanes=o.lanes,c.child=o.child,c.memoizedProps=o.memoizedProps,c.memoizedState=o.memoizedState,c.updateQueue=o.updateQueue,a=o.dependencies,c.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},c.sibling=o.sibling,c.index=o.index,c.ref=o.ref,c}function o1(o,a,c,d,m,v){var b=2;if(d=o,typeof o=="function")c0(o)&&(b=1);else if(typeof o=="string")b=5;else e:switch(o){case K:return Qr(c.children,m,v,a);case re:b=8,m|=8;break;case V:return o=dn(12,c,a,m|2),o.elementType=V,o.lanes=v,o;case se:return o=dn(13,c,a,m),o.elementType=se,o.lanes=v,o;case xe:return o=dn(19,c,a,m),o.elementType=xe,o.lanes=v,o;case ze:return s1(c,m,v,a);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case H:b=10;break e;case te:b=9;break e;case ie:b=11;break e;case ce:b=14;break e;case he:b=16,d=null;break e}throw Error(r(130,o==null?o:typeof o,""))}return a=dn(b,c,a,m),a.elementType=o,a.type=d,a.lanes=v,a}function Qr(o,a,c,d){return o=dn(7,o,d,a),o.lanes=c,o}function s1(o,a,c,d){return o=dn(22,o,d,a),o.elementType=ze,o.lanes=c,o.stateNode={isHidden:!1},o}function u0(o,a,c){return o=dn(6,o,null,a),o.lanes=c,o}function d0(o,a,c){return a=dn(4,o.children!==null?o.children:[],o.key,a),a.lanes=c,a.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},a}function tx(o,a,c,d,m){this.tag=a,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ru(0),this.expirationTimes=Ru(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ru(0),this.identifierPrefix=d,this.onRecoverableError=m,this.mutableSourceEagerHydrationData=null}function f0(o,a,c,d,m,v,b,C,j){return o=new tx(o,a,c,C,j),a===1?(a=1,v===!0&&(a|=8)):a=0,v=dn(3,null,null,a),o.current=v,v.stateNode=o,v.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},$d(v),o}function nx(o,a,c){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:A,key:d==null?null:""+d,children:o,containerInfo:a,implementation:c}}function zh(o){if(!o)return _r;o=o._reactInternals;e:{if(Ur(o)!==o||o.tag!==1)throw Error(r(170));var a=o;do{switch(a.tag){case 3:a=a.stateNode.context;break e;case 1:if(Pt(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}}a=a.return}while(a!==null);throw Error(r(171))}if(o.tag===1){var c=o.type;if(Pt(c))return n5(o,c,a)}return a}function jh(o,a,c,d,m,v,b,C,j){return o=f0(c,d,!0,o,m,v,b,C,j),o.context=zh(null),c=o.current,d=jt(),m=Sr(c),v=Qn(d,m),v.callback=a??null,xr(c,v,m),o.current.lanes=m,Qo(o,m,d),At(o,d),o}function a1(o,a,c,d){var m=a.current,v=jt(),b=Sr(m);return c=zh(c),a.context===null?a.context=c:a.pendingContext=c,a=Qn(v,b),a.payload={element:o},d=d===void 0?null:d,d!==null&&(a.callback=d),o=xr(m,a,b),o!==null&&(Cn(o,m,b,v),Rl(o,m,b)),b}function l1(o){if(o=o.current,!o.child)return null;switch(o.child.tag){case 5:return o.child.stateNode;default:return o.child.stateNode}}function Eh(o,a){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var c=o.retryLane;o.retryLane=c!==0&&c<a?c:a}}function h0(o,a){Eh(o,a),(o=o.alternate)&&Eh(o,a)}function rx(){return null}var Oh=typeof reportError=="function"?reportError:function(o){console.error(o)};function p0(o){this._internalRoot=o}c1.prototype.render=p0.prototype.render=function(o){var a=this._internalRoot;if(a===null)throw Error(r(409));a1(o,a,null,null)},c1.prototype.unmount=p0.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var a=o.containerInfo;Gr(function(){a1(null,o,null,null)}),a[qn]=null}};function c1(o){this._internalRoot=o}c1.prototype.unstable_scheduleHydration=function(o){if(o){var a=p6();o={blockedOn:null,target:o,priority:a};for(var c=0;c<pr.length&&a!==0&&a<pr[c].priority;c++);pr.splice(c,0,o),c===0&&v6(o)}};function m0(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function u1(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11&&(o.nodeType!==8||o.nodeValue!==" react-mount-point-unstable "))}function Mh(){}function ix(o,a,c,d,m){if(m){if(typeof d=="function"){var v=d;d=function(){var F=l1(b);v.call(F)}}var b=jh(a,d,o,0,null,!1,!1,"",Mh);return o._reactRootContainer=b,o[qn]=b.current,hs(o.nodeType===8?o.parentNode:o),Gr(),b}for(;m=o.lastChild;)o.removeChild(m);if(typeof d=="function"){var C=d;d=function(){var F=l1(j);C.call(F)}}var j=f0(o,0,!1,null,null,!1,!1,"",Mh);return o._reactRootContainer=j,o[qn]=j.current,hs(o.nodeType===8?o.parentNode:o),Gr(function(){a1(a,j,c,d)}),j}function d1(o,a,c,d,m){var v=c._reactRootContainer;if(v){var b=v;if(typeof m=="function"){var C=m;m=function(){var j=l1(b);C.call(j)}}a1(a,b,o,m)}else b=ix(c,a,o,m,d);return l1(b)}f6=function(o){switch(o.tag){case 3:var a=o.stateNode;if(a.current.memoizedState.isDehydrated){var c=Xo(a.pendingLanes);c!==0&&(Au(a,c|1),At(a,ot()),(He&6)===0&&(Yi=ot()+500,wr()))}break;case 13:Gr(function(){var d=Xn(o,1);if(d!==null){var m=jt();Cn(d,o,1,m)}}),h0(o,1)}},Fu=function(o){if(o.tag===13){var a=Xn(o,134217728);if(a!==null){var c=jt();Cn(a,o,134217728,c)}h0(o,134217728)}},h6=function(o){if(o.tag===13){var a=Sr(o),c=Xn(o,a);if(c!==null){var d=jt();Cn(c,o,a,d)}h0(o,a)}},p6=function(){return Ve},m6=function(o,a){var c=Ve;try{return Ve=o,a()}finally{Ve=c}},Mu=function(o,a,c){switch(a){case"input":if(nn(o,c),a=c.name,c.type==="radio"&&a!=null){for(c=o;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),a=0;a<c.length;a++){var d=c[a];if(d!==o&&d.form===o.form){var m=zl(d);if(!m)throw Error(r(90));ht(d),nn(d,m)}}}break;case"textarea":zi(o,c);break;case"select":a=c.value,a!=null&&Lt(o,!!c.multiple,a,!1)}},Q4=s0,e6=Gr;var ox={usingClientEntryPoint:!1,Events:[gs,Ri,zl,Y4,X4,s0]},Es={findFiberByHostInstance:Hr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},sx={bundleType:Es.bundleType,version:Es.version,rendererPackageName:Es.rendererPackageName,rendererConfig:Es.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:P.ReactCurrentDispatcher,findHostInstanceByFiber:function(o){return o=i6(o),o===null?null:o.stateNode},findFiberByHostInstance:Es.findFiberByHostInstance||rx,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var f1=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!f1.isDisabled&&f1.supportsFiber)try{cl=f1.inject(sx),Mn=f1}catch{}}return Ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ox,Ft.createPortal=function(o,a){var c=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m0(a))throw Error(r(200));return nx(o,a,null,c)},Ft.createRoot=function(o,a){if(!m0(o))throw Error(r(299));var c=!1,d="",m=Oh;return a!=null&&(a.unstable_strictMode===!0&&(c=!0),a.identifierPrefix!==void 0&&(d=a.identifierPrefix),a.onRecoverableError!==void 0&&(m=a.onRecoverableError)),a=f0(o,1,!1,null,null,c,!1,d,m),o[qn]=a.current,hs(o.nodeType===8?o.parentNode:o),new p0(a)},Ft.findDOMNode=function(o){if(o==null)return null;if(o.nodeType===1)return o;var a=o._reactInternals;if(a===void 0)throw typeof o.render=="function"?Error(r(188)):(o=Object.keys(o).join(","),Error(r(268,o)));return o=i6(a),o=o===null?null:o.stateNode,o},Ft.flushSync=function(o){return Gr(o)},Ft.hydrate=function(o,a,c){if(!u1(a))throw Error(r(200));return d1(null,o,a,!0,c)},Ft.hydrateRoot=function(o,a,c){if(!m0(o))throw Error(r(405));var d=c!=null&&c.hydratedSources||null,m=!1,v="",b=Oh;if(c!=null&&(c.unstable_strictMode===!0&&(m=!0),c.identifierPrefix!==void 0&&(v=c.identifierPrefix),c.onRecoverableError!==void 0&&(b=c.onRecoverableError)),a=jh(a,null,o,1,c??null,m,!1,v,b),o[qn]=a.current,hs(o),d)for(o=0;o<d.length;o++)c=d[o],m=c._getVersion,m=m(c._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[c,m]:a.mutableSourceEagerHydrationData.push(c,m);return new c1(a)},Ft.render=function(o,a,c){if(!u1(a))throw Error(r(200));return d1(null,o,a,!1,c)},Ft.unmountComponentAtNode=function(o){if(!u1(o))throw Error(r(40));return o._reactRootContainer?(Gr(function(){d1(null,null,o,!1,function(){o._reactRootContainer=null,o[qn]=null})}),!0):!1},Ft.unstable_batchedUpdates=s0,Ft.unstable_renderSubtreeIntoContainer=function(o,a,c,d){if(!u1(c))throw Error(r(200));if(o==null||o._reactInternals===void 0)throw Error(r(38));return d1(o,a,c,!1,d)},Ft.version="18.3.1-next-f1338f8080-20240426",Ft}var Gh;function i7(){if(Gh)return C0.exports;Gh=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),C0.exports=gk(),C0.exports}var On=i7();const vk=aa(On),yk=X1({__proto__:null,default:vk},[On]);var h1={},Yh;function _k(){if(Yh)return h1;Yh=1;var e=i7();return h1.createRoot=e.createRoot,h1.hydrateRoot=e.hydrateRoot,h1}var o7=_k();const wk=aa(o7),bk=X1({__proto__:null,default:wk},[o7]);var Xh;const P2=Object.freeze({status:"aborted"});function L(e,t,r){function i(u,f){if(u._zod||Object.defineProperty(u,"_zod",{value:{def:f,constr:l,traits:new Set},enumerable:!1}),u._zod.traits.has(e))return;u._zod.traits.add(e),t(u,f);const h=l.prototype,g=Object.keys(h);for(let y=0;y<g.length;y++){const _=g[y];_ in u||(u[_]=h[_].bind(u))}}const n=r?.Parent??Object;class s extends n{}Object.defineProperty(s,"name",{value:e});function l(u){var f;const h=r?.Parent?new s:this;i(h,u),(f=h._zod).deferred??(f.deferred=[]);for(const g of h._zod.deferred)g();return h}return Object.defineProperty(l,"init",{value:i}),Object.defineProperty(l,Symbol.hasInstance,{value:u=>r?.Parent&&u instanceof r.Parent?!0:u?._zod?.traits?.has(e)}),Object.defineProperty(l,"name",{value:e}),l}const D2=Symbol("zod_brand");class ui extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class nc extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(Xh=globalThis).__zod_globalConfig??(Xh.__zod_globalConfig={});const Gs=globalThis.__zod_globalConfig;function vt(e){return e&&Object.assign(Gs,e),Gs}function xk(e){return e}function kk(e){return e}function Ck(e){}function $k(e){throw new Error("Unexpected value in exhaustive check")}function Sk(e){}function R2(e){const t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,n])=>t.indexOf(+i)===-1).map(([i,n])=>n)}function G(e,t="|"){return e.map(r=>$e(r)).join(t)}function N1(e,t){return typeof t=="bigint"?t.toString():t}function la(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function ki(e){return e==null}function rc(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function s7(e,t){const r=e/t,i=Math.round(r),n=Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-i)<n?0:r-i}const Qh=Symbol("evaluating");function Le(e,t,r){let i;Object.defineProperty(e,t,{get(){if(i!==Qh)return i===void 0&&(i=Qh,i=r()),i},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function Ik(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function Dr(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function Wn(...e){const t={};for(const r of e){const i=Object.getOwnPropertyDescriptors(r);Object.assign(t,i)}return Object.defineProperties({},t)}function zk(e){return Wn(e._zod.def)}function jk(e,t){return t?t.reduce((r,i)=>r?.[i],e):e}function Ek(e){const t=Object.keys(e),r=t.map(i=>e[i]);return Promise.all(r).then(i=>{const n={};for(let s=0;s<t.length;s++)n[t[s]]=i[s];return n})}function Ok(e=10){const t="abcdefghijklmnopqrstuvwxyz";let r="";for(let i=0;i<e;i++)r+=t[Math.floor(Math.random()*t.length)];return r}function o2(e){return JSON.stringify(e)}function a7(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const A2="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function ho(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const l7=la(()=>{if(Gs.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function hi(e){if(ho(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(ho(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function ic(e){return hi(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function Mk(e){let t=0;for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}const Tk=e=>{const t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},P1=new Set(["string","number","symbol"]),c7=new Set(["string","number","bigint","boolean","symbol","undefined"]);function sr(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Qt(e,t,r){const i=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(i._zod.parent=e),i}function B(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function Lk(e){let t;return new Proxy({},{get(r,i,n){return t??(t=e()),Reflect.get(t,i,n)},set(r,i,n,s){return t??(t=e()),Reflect.set(t,i,n,s)},has(r,i){return t??(t=e()),Reflect.has(t,i)},deleteProperty(r,i){return t??(t=e()),Reflect.deleteProperty(t,i)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,i){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,i)},defineProperty(r,i,n){return t??(t=e()),Reflect.defineProperty(t,i,n)}})}function $e(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function u7(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const d7={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},f7={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function h7(e,t){const r=e._zod.def,i=r.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const s=Wn(e._zod.def,{get shape(){const l={};for(const u in t){if(!(u in r.shape))throw new Error(`Unrecognized key: "${u}"`);t[u]&&(l[u]=r.shape[u])}return Dr(this,"shape",l),l},checks:[]});return Qt(e,s)}function p7(e,t){const r=e._zod.def,i=r.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const s=Wn(e._zod.def,{get shape(){const l={...e._zod.def.shape};for(const u in t){if(!(u in r.shape))throw new Error(`Unrecognized key: "${u}"`);t[u]&&delete l[u]}return Dr(this,"shape",l),l},checks:[]});return Qt(e,s)}function m7(e,t){if(!hi(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0){const s=e._zod.def.shape;for(const l in t)if(Object.getOwnPropertyDescriptor(s,l)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const n=Wn(e._zod.def,{get shape(){const s={...e._zod.def.shape,...t};return Dr(this,"shape",s),s}});return Qt(e,n)}function g7(e,t){if(!hi(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r=Wn(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t};return Dr(this,"shape",i),i}});return Qt(e,r)}function v7(e,t){if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const r=Wn(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t._zod.def.shape};return Dr(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Qt(e,r)}function y7(e,t,r){const n=t._zod.def.checks;if(n&&n.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const l=Wn(t._zod.def,{get shape(){const u=t._zod.def.shape,f={...u};if(r)for(const h in r){if(!(h in u))throw new Error(`Unrecognized key: "${h}"`);r[h]&&(f[h]=e?new e({type:"optional",innerType:u[h]}):u[h])}else for(const h in u)f[h]=e?new e({type:"optional",innerType:u[h]}):u[h];return Dr(this,"shape",f),f},checks:[]});return Qt(t,l)}function _7(e,t,r){const i=Wn(t._zod.def,{get shape(){const n=t._zod.def.shape,s={...n};if(r)for(const l in r){if(!(l in s))throw new Error(`Unrecognized key: "${l}"`);r[l]&&(s[l]=new e({type:"nonoptional",innerType:n[l]}))}else for(const l in n)s[l]=new e({type:"nonoptional",innerType:n[l]});return Dr(this,"shape",s),s}});return Qt(t,i)}function li(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function w7(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function mn(e,t){return t.map(r=>{var i;return(i=r).path??(i.path=[]),r.path.unshift(e),r})}function Fs(e){return typeof e=="string"?e:e?.message}function Yt(e,t,r){const i=e.message?e.message:Fs(e.inst?._zod.def?.error?.(e))??Fs(t?.error?.(e))??Fs(r.customError?.(e))??Fs(r.localeError?.(e))??"Invalid input",{inst:n,continue:s,input:l,...u}=e;return u.path??(u.path=[]),u.message=i,t?.reportInput&&(u.input=l),u}function oc(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function sc(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function je(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";const r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&"constructor"in r&&r.constructor)return r.constructor.name}}return t}function po(...e){const[t,r,i]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:i}:{...t}}function Nk(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function b7(e){const t=atob(e),r=new Uint8Array(t.length);for(let i=0;i<t.length;i++)r[i]=t.charCodeAt(i);return r}function x7(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function Pk(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),r="=".repeat((4-t.length%4)%4);return b7(t+r)}function Dk(e){return x7(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function Rk(e){const t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");const r=new Uint8Array(t.length/2);for(let i=0;i<t.length;i+=2)r[i/2]=Number.parseInt(t.slice(i,i+2),16);return r}function Ak(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}class Fk{constructor(...t){}}const F2=Object.freeze(Object.defineProperty({__proto__:null,BIGINT_FORMAT_RANGES:f7,Class:Fk,NUMBER_FORMAT_RANGES:d7,aborted:li,allowsEval:l7,assert:Sk,assertEqual:xk,assertIs:Ck,assertNever:$k,assertNotEqual:kk,assignProp:Dr,base64ToUint8Array:b7,base64urlToUint8Array:Pk,cached:la,captureStackTrace:A2,cleanEnum:Nk,cleanRegex:rc,clone:Qt,cloneDef:zk,createTransparentProxy:Lk,defineLazy:Le,esc:o2,escapeRegex:sr,explicitlyAborted:w7,extend:m7,finalizeIssue:Yt,floatSafeRemainder:s7,getElementAtPath:jk,getEnumValues:R2,getLengthableOrigin:sc,getParsedType:Tk,getSizableOrigin:oc,hexToUint8Array:Rk,isObject:ho,isPlainObject:hi,issue:po,joinValues:G,jsonStringifyReplacer:N1,merge:v7,mergeDefs:Wn,normalizeParams:B,nullish:ki,numKeys:Mk,objectClone:Ik,omit:p7,optionalKeys:u7,parsedType:je,partial:y7,pick:h7,prefixIssues:mn,primitiveTypes:c7,promiseAllObject:Ek,propertyKeyTypes:P1,randomString:Ok,required:_7,safeExtend:g7,shallowClone:ic,slugify:a7,stringifyPrimitive:$e,uint8ArrayToBase64:x7,uint8ArrayToBase64url:Dk,uint8ArrayToHex:Ak,unwrapMessage:Fs},Symbol.toStringTag,{value:"Module"})),k7=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,N1,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},U2=L("$ZodError",k7),en=L("$ZodError",k7,{Parent:Error});function ac(e,t=r=>r.message){const r={},i=[];for(const n of e.issues)n.path.length>0?(r[n.path[0]]=r[n.path[0]]||[],r[n.path[0]].push(t(n))):i.push(t(n));return{formErrors:i,fieldErrors:r}}function lc(e,t=r=>r.message){const r={_errors:[]},i=(n,s=[])=>{for(const l of n.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map(u=>i({issues:u},[...s,...l.path]));else if(l.code==="invalid_key")i({issues:l.issues},[...s,...l.path]);else if(l.code==="invalid_element")i({issues:l.issues},[...s,...l.path]);else{const u=[...s,...l.path];if(u.length===0)r._errors.push(t(l));else{let f=r,h=0;for(;h<u.length;){const g=u[h];h===u.length-1?(f[g]=f[g]||{_errors:[]},f[g]._errors.push(t(l))):f[g]=f[g]||{_errors:[]},f=f[g],h++}}}};return i(e),r}function H2(e,t=r=>r.message){const r={errors:[]},i=(n,s=[])=>{var l,u;for(const f of n.issues)if(f.code==="invalid_union"&&f.errors.length)f.errors.map(h=>i({issues:h},[...s,...f.path]));else if(f.code==="invalid_key")i({issues:f.issues},[...s,...f.path]);else if(f.code==="invalid_element")i({issues:f.issues},[...s,...f.path]);else{const h=[...s,...f.path];if(h.length===0){r.errors.push(t(f));continue}let g=r,y=0;for(;y<h.length;){const _=h[y],w=y===h.length-1;typeof _=="string"?(g.properties??(g.properties={}),(l=g.properties)[_]??(l[_]={errors:[]}),g=g.properties[_]):(g.items??(g.items=[]),(u=g.items)[_]??(u[_]={errors:[]}),g=g.items[_]),w&&g.errors.push(t(f)),y++}}};return i(e),r}function C7(e){const t=[],r=e.map(i=>typeof i=="object"?i.key:i);for(const i of r)typeof i=="number"?t.push(`[${i}]`):typeof i=="symbol"?t.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?t.push(`[${JSON.stringify(i)}]`):(t.length&&t.push("."),t.push(i));return t.join("")}function Z2(e){const t=[],r=[...e.issues].sort((i,n)=>(i.path??[]).length-(n.path??[]).length);for(const i of r)t.push(`✖ ${i.message}`),i.path?.length&&t.push(` → at ${C7(i.path)}`);return t.join(`
|
|
60
|
-
`)}const ca=e=>(t,r,i,n)=>{const s=i?{...i,async:!1}:{async:!1},l=t._zod.run({value:r,issues:[]},s);if(l instanceof Promise)throw new ui;if(l.issues.length){const u=new(n?.Err??e)(l.issues.map(f=>Yt(f,s,vt())));throw A2(u,n?.callee),u}return l.value},s2=ca(en),ua=e=>async(t,r,i,n)=>{const s=i?{...i,async:!0}:{async:!0};let l=t._zod.run({value:r,issues:[]},s);if(l instanceof Promise&&(l=await l),l.issues.length){const u=new(n?.Err??e)(l.issues.map(f=>Yt(f,s,vt())));throw A2(u,n?.callee),u}return l.value},a2=ua(en),da=e=>(t,r,i)=>{const n=i?{...i,async:!1}:{async:!1},s=t._zod.run({value:r,issues:[]},n);if(s instanceof Promise)throw new ui;return s.issues.length?{success:!1,error:new(e??U2)(s.issues.map(l=>Yt(l,n,vt())))}:{success:!0,data:s.value}},$7=da(en),fa=e=>async(t,r,i)=>{const n=i?{...i,async:!0}:{async:!0};let s=t._zod.run({value:r,issues:[]},n);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new e(s.issues.map(l=>Yt(l,n,vt())))}:{success:!0,data:s.value}},S7=fa(en),V2=e=>(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return ca(e)(t,r,n)},Uk=V2(en),B2=e=>(t,r,i)=>ca(e)(t,r,i),Hk=B2(en),W2=e=>async(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return ua(e)(t,r,n)},Zk=W2(en),K2=e=>async(t,r,i)=>ua(e)(t,r,i),Vk=K2(en),q2=e=>(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return da(e)(t,r,n)},Bk=q2(en),J2=e=>(t,r,i)=>da(e)(t,r,i),Wk=J2(en),G2=e=>async(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return fa(e)(t,r,n)},Kk=G2(en),Y2=e=>async(t,r,i)=>fa(e)(t,r,i),qk=Y2(en),I7=/^[cC][0-9a-z]{6,}$/,z7=/^[0-9a-z]+$/,j7=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,E7=/^[0-9a-vA-V]{20}$/,O7=/^[A-Za-z0-9]{27}$/,M7=/^[a-zA-Z0-9_-]{21}$/,T7=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Jk=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,L7=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,mo=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Gk=mo(4),Yk=mo(6),Xk=mo(7),N7=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Qk=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,eC=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,P7=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,tC=P7,nC=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,rC="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function D7(){return new RegExp(rC,"u")}const R7=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,A7=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,F7=e=>{const t=sr(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},U7=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,H7=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Z7=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,X2=/^[A-Za-z0-9_-]*$/,V7=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,B7=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Q2=/^https?$/,W7=/^\+[1-9]\d{6,14}$/,K7="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",q7=new RegExp(`^${K7}$`);function J7(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function G7(e){return new RegExp(`^${J7(e)}$`)}function Y7(e){const t=J7({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const i=`${t}(?:${r.join("|")})`;return new RegExp(`^${K7}T(?:${i})$`)}const X7=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},Q7=/^-?\d+n?$/,e9=/^-?\d+$/,ef=/^-?\d+(?:\.\d+)?$/,t9=/^(?:true|false)$/i,n9=/^null$/i,r9=/^undefined$/i,i9=/^[^A-Z]*$/,o9=/^[^a-z]*$/,s9=/^[0-9a-fA-F]*$/;function ha(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function pa(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}const iC=/^[0-9a-fA-F]{32}$/,oC=ha(22,"=="),sC=pa(22),aC=/^[0-9a-fA-F]{40}$/,lC=ha(27,"="),cC=pa(27),uC=/^[0-9a-fA-F]{64}$/,dC=ha(43,"="),fC=pa(43),hC=/^[0-9a-fA-F]{96}$/,pC=ha(64,""),mC=pa(64),gC=/^[0-9a-fA-F]{128}$/,vC=ha(86,"=="),yC=pa(86),cc=Object.freeze(Object.defineProperty({__proto__:null,base64:Z7,base64url:X2,bigint:Q7,boolean:t9,browserEmail:nC,cidrv4:U7,cidrv6:H7,cuid:I7,cuid2:z7,date:q7,datetime:Y7,domain:B7,duration:T7,e164:W7,email:N7,emoji:D7,extendedDuration:Jk,guid:L7,hex:s9,hostname:V7,html5Email:Qk,httpProtocol:Q2,idnEmail:tC,integer:e9,ipv4:R7,ipv6:A7,ksuid:O7,lowercase:i9,mac:F7,md5_base64:oC,md5_base64url:sC,md5_hex:iC,nanoid:M7,null:n9,number:ef,rfc5322Email:eC,sha1_base64:lC,sha1_base64url:cC,sha1_hex:aC,sha256_base64:dC,sha256_base64url:fC,sha256_hex:uC,sha384_base64:pC,sha384_base64url:mC,sha384_hex:hC,sha512_base64:vC,sha512_base64url:yC,sha512_hex:gC,string:X7,time:G7,ulid:j7,undefined:r9,unicodeEmail:P7,uppercase:o9,uuid:mo,uuid4:Gk,uuid6:Yk,uuid7:Xk,xid:E7},Symbol.toStringTag,{value:"Module"})),et=L("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),a9={number:"number",bigint:"bigint",object:"date"},tf=L("$ZodCheckLessThan",(e,t)=>{et.init(e,t);const r=a9[typeof t.value];e._zod.onattach.push(i=>{const n=i._zod.bag,s=(t.inclusive?n.maximum:n.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<s&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin:r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),nf=L("$ZodCheckGreaterThan",(e,t)=>{et.init(e,t);const r=a9[typeof t.value];e._zod.onattach.push(i=>{const n=i._zod.bag,s=(t.inclusive?n.minimum:n.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>s&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin:r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),l9=L("$ZodCheckMultipleOf",(e,t)=>{et.init(e,t),e._zod.onattach.push(r=>{var i;(i=r._zod.bag).multipleOf??(i.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):s7(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),c9=L("$ZodCheckNumberFormat",(e,t)=>{et.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),i=r?"int":"number",[n,s]=d7[t.format];e._zod.onattach.push(l=>{const u=l._zod.bag;u.format=t.format,u.minimum=n,u.maximum=s,r&&(u.pattern=e9)}),e._zod.check=l=>{const u=l.value;if(r){if(!Number.isInteger(u)){l.issues.push({expected:i,format:t.format,code:"invalid_type",continue:!1,input:u,inst:e});return}if(!Number.isSafeInteger(u)){u>0?l.issues.push({input:u,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort}):l.issues.push({input:u,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});return}}u<n&&l.issues.push({origin:"number",input:u,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),u>s&&l.issues.push({origin:"number",input:u,code:"too_big",maximum:s,inclusive:!0,inst:e,continue:!t.abort})}}),u9=L("$ZodCheckBigIntFormat",(e,t)=>{et.init(e,t);const[r,i]=f7[t.format];e._zod.onattach.push(n=>{const s=n._zod.bag;s.format=t.format,s.minimum=r,s.maximum=i}),e._zod.check=n=>{const s=n.value;s<r&&n.issues.push({origin:"bigint",input:s,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),s>i&&n.issues.push({origin:"bigint",input:s,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),d9=L("$ZodCheckMaxSize",(e,t)=>{var r;et.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!ki(n)&&n.size!==void 0}),e._zod.onattach.push(i=>{const n=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<n&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{const n=i.value;n.size<=t.maximum||i.issues.push({origin:oc(n),code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),f9=L("$ZodCheckMinSize",(e,t)=>{var r;et.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!ki(n)&&n.size!==void 0}),e._zod.onattach.push(i=>{const n=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>n&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{const n=i.value;n.size>=t.minimum||i.issues.push({origin:oc(n),code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),h9=L("$ZodCheckSizeEquals",(e,t)=>{var r;et.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!ki(n)&&n.size!==void 0}),e._zod.onattach.push(i=>{const n=i._zod.bag;n.minimum=t.size,n.maximum=t.size,n.size=t.size}),e._zod.check=i=>{const n=i.value,s=n.size;if(s===t.size)return;const l=s>t.size;i.issues.push({origin:oc(n),...l?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),p9=L("$ZodCheckMaxLength",(e,t)=>{var r;et.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!ki(n)&&n.length!==void 0}),e._zod.onattach.push(i=>{const n=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<n&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{const n=i.value;if(n.length<=t.maximum)return;const l=sc(n);i.issues.push({origin:l,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),m9=L("$ZodCheckMinLength",(e,t)=>{var r;et.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!ki(n)&&n.length!==void 0}),e._zod.onattach.push(i=>{const n=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>n&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{const n=i.value;if(n.length>=t.minimum)return;const l=sc(n);i.issues.push({origin:l,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),g9=L("$ZodCheckLengthEquals",(e,t)=>{var r;et.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!ki(n)&&n.length!==void 0}),e._zod.onattach.push(i=>{const n=i._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=i=>{const n=i.value,s=n.length;if(s===t.length)return;const l=sc(n),u=s>t.length;i.issues.push({origin:l,...u?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),ma=L("$ZodCheckStringFormat",(e,t)=>{var r,i;et.init(e,t),e._zod.onattach.push(n=>{const s=n._zod.bag;s.format=t.format,t.pattern&&(s.patterns??(s.patterns=new Set),s.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),v9=L("$ZodCheckRegex",(e,t)=>{ma.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),y9=L("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=i9),ma.init(e,t)}),_9=L("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=o9),ma.init(e,t)}),w9=L("$ZodCheckIncludes",(e,t)=>{et.init(e,t);const r=sr(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=i,e._zod.onattach.push(n=>{const s=n._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(i)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),b9=L("$ZodCheckStartsWith",(e,t)=>{et.init(e,t);const r=new RegExp(`^${sr(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(i=>{const n=i._zod.bag;n.patterns??(n.patterns=new Set),n.patterns.add(r)}),e._zod.check=i=>{i.value.startsWith(t.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:i.value,inst:e,continue:!t.abort})}}),x9=L("$ZodCheckEndsWith",(e,t)=>{et.init(e,t);const r=new RegExp(`.*${sr(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(i=>{const n=i._zod.bag;n.patterns??(n.patterns=new Set),n.patterns.add(r)}),e._zod.check=i=>{i.value.endsWith(t.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:i.value,inst:e,continue:!t.abort})}});function e8(e,t,r){e.issues.length&&t.issues.push(...mn(r,e.issues))}const k9=L("$ZodCheckProperty",(e,t)=>{et.init(e,t),e._zod.check=r=>{const i=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(i instanceof Promise)return i.then(n=>e8(n,r,t.property));e8(i,r,t.property)}}),C9=L("$ZodCheckMimeType",(e,t)=>{et.init(e,t);const r=new Set(t.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=t.mime}),e._zod.check=i=>{r.has(i.value.type)||i.issues.push({code:"invalid_value",values:t.mime,input:i.value.type,inst:e,continue:!t.abort})}}),$9=L("$ZodCheckOverwrite",(e,t)=>{et.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class S9{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const i=t.split(`
|
|
61
|
-
`).filter(l=>l),n=Math.min(...i.map(l=>l.length-l.trimStart().length)),s=i.map(l=>l.slice(n)).map(l=>" ".repeat(this.indent*2)+l);for(const l of s)this.content.push(l)}compile(){const t=Function,r=this?.args,n=[...(this?.content??[""]).map(s=>` ${s}`)];return new t(...r,n.join(`
|
|
62
|
-
`))}}const I9={major:4,minor:4,patch:3},Me=L("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=I9;const i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(const n of i)for(const s of n._zod.onattach)s(e);if(i.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const n=(l,u,f)=>{let h=li(l),g;for(const y of u){if(y._zod.def.when){if(w7(l)||!y._zod.def.when(l))continue}else if(h)continue;const _=l.issues.length,w=y._zod.check(l);if(w instanceof Promise&&f?.async===!1)throw new ui;if(g||w instanceof Promise)g=(g??Promise.resolve()).then(async()=>{await w,l.issues.length!==_&&(h||(h=li(l,_)))});else{if(l.issues.length===_)continue;h||(h=li(l,_))}}return g?g.then(()=>l):l},s=(l,u,f)=>{if(li(l))return l.aborted=!0,l;const h=n(u,i,f);if(h instanceof Promise){if(f.async===!1)throw new ui;return h.then(g=>e._zod.parse(g,f))}return e._zod.parse(h,f)};e._zod.run=(l,u)=>{if(u.skipChecks)return e._zod.parse(l,u);if(u.direction==="backward"){const h=e._zod.parse({value:l.value,issues:[]},{...u,skipChecks:!0});return h instanceof Promise?h.then(g=>s(g,l,u)):s(h,l,u)}const f=e._zod.parse(l,u);if(f instanceof Promise){if(u.async===!1)throw new ui;return f.then(h=>n(h,i,u))}return n(f,i,u)}}Le(e,"~standard",()=>({validate:n=>{try{const s=$7(e,n);return s.success?{value:s.data}:{issues:s.error?.issues}}catch{return S7(e,n).then(l=>l.success?{value:l.data}:{issues:l.error?.issues})}},vendor:"zod",version:1}))}),ga=L("$ZodString",(e,t)=>{Me.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??X7(e._zod.bag),e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),qe=L("$ZodStringFormat",(e,t)=>{ma.init(e,t),ga.init(e,t)}),z9=L("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=L7),qe.init(e,t)}),j9=L("$ZodUUID",(e,t)=>{if(t.version){const i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=mo(i))}else t.pattern??(t.pattern=mo());qe.init(e,t)}),E9=L("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=N7),qe.init(e,t)}),O9=L("$ZodURL",(e,t)=>{qe.init(e,t),e._zod.check=r=>{try{const i=r.value.trim();if(!t.normalize&&t.protocol?.source===Q2.source&&!/^https?:\/\//i.test(i)){r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!t.abort});return}const n=new URL(i);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(n.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(n.protocol.endsWith(":")?n.protocol.slice(0,-1):n.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=n.href:r.value=i;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),M9=L("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=D7()),qe.init(e,t)}),T9=L("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=M7),qe.init(e,t)}),L9=L("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=I7),qe.init(e,t)}),N9=L("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=z7),qe.init(e,t)}),P9=L("$ZodULID",(e,t)=>{t.pattern??(t.pattern=j7),qe.init(e,t)}),D9=L("$ZodXID",(e,t)=>{t.pattern??(t.pattern=E7),qe.init(e,t)}),R9=L("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=O7),qe.init(e,t)}),A9=L("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Y7(t)),qe.init(e,t)}),F9=L("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=q7),qe.init(e,t)}),U9=L("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=G7(t)),qe.init(e,t)}),H9=L("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=T7),qe.init(e,t)}),Z9=L("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=R7),qe.init(e,t),e._zod.bag.format="ipv4"}),V9=L("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=A7),qe.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),B9=L("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=F7(t.delimiter)),qe.init(e,t),e._zod.bag.format="mac"}),W9=L("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=U7),qe.init(e,t)}),K9=L("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=H7),qe.init(e,t),e._zod.check=r=>{const i=r.value.split("/");try{if(i.length!==2)throw new Error;const[n,s]=i;if(!s)throw new Error;const l=Number(s);if(`${l}`!==s)throw new Error;if(l<0||l>128)throw new Error;new URL(`http://[${n}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function rf(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const q9=L("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Z7),qe.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{rf(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function J9(e){if(!X2.test(e))return!1;const t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return rf(r)}const G9=L("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=X2),qe.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{J9(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),Y9=L("$ZodE164",(e,t)=>{t.pattern??(t.pattern=W7),qe.init(e,t)});function X9(e,t=null){try{const r=e.split(".");if(r.length!==3)return!1;const[i]=r;if(!i)return!1;const n=JSON.parse(atob(i));return!("typ"in n&&n?.typ!=="JWT"||!n.alg||t&&(!("alg"in n)||n.alg!==t))}catch{return!1}}const Q9=L("$ZodJWT",(e,t)=>{qe.init(e,t),e._zod.check=r=>{X9(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),em=L("$ZodCustomStringFormat",(e,t)=>{qe.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),of=L("$ZodNumber",(e,t)=>{Me.init(e,t),e._zod.pattern=e._zod.bag.pattern??ef,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}const n=r.value;if(typeof n=="number"&&!Number.isNaN(n)&&Number.isFinite(n))return r;const s=typeof n=="number"?Number.isNaN(n)?"NaN":Number.isFinite(n)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:n,inst:e,...s?{received:s}:{}}),r}}),tm=L("$ZodNumberFormat",(e,t)=>{c9.init(e,t),of.init(e,t)}),sf=L("$ZodBoolean",(e,t)=>{Me.init(e,t),e._zod.pattern=t9,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=!!r.value}catch{}const n=r.value;return typeof n=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:n,inst:e}),r}}),af=L("$ZodBigInt",(e,t)=>{Me.init(e,t),e._zod.pattern=Q7,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),nm=L("$ZodBigIntFormat",(e,t)=>{u9.init(e,t),af.init(e,t)}),rm=L("$ZodSymbol",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;return typeof n=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:n,inst:e}),r}}),im=L("$ZodUndefined",(e,t)=>{Me.init(e,t),e._zod.pattern=r9,e._zod.values=new Set([void 0]),e._zod.parse=(r,i)=>{const n=r.value;return typeof n>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:n,inst:e}),r}}),om=L("$ZodNull",(e,t)=>{Me.init(e,t),e._zod.pattern=n9,e._zod.values=new Set([null]),e._zod.parse=(r,i)=>{const n=r.value;return n===null||r.issues.push({expected:"null",code:"invalid_type",input:n,inst:e}),r}}),sm=L("$ZodAny",(e,t)=>{Me.init(e,t),e._zod.parse=r=>r}),am=L("$ZodUnknown",(e,t)=>{Me.init(e,t),e._zod.parse=r=>r}),lm=L("$ZodNever",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),cm=L("$ZodVoid",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;return typeof n>"u"||r.issues.push({expected:"void",code:"invalid_type",input:n,inst:e}),r}}),um=L("$ZodDate",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}const n=r.value,s=n instanceof Date;return s&&!Number.isNaN(n.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:n,...s?{received:"Invalid Date"}:{},inst:e}),r}});function t8(e,t,r){e.issues.length&&t.issues.push(...mn(r,e.issues)),t.value[r]=e.value}const dm=L("$ZodArray",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;if(!Array.isArray(n))return r.issues.push({expected:"array",code:"invalid_type",input:n,inst:e}),r;r.value=Array(n.length);const s=[];for(let l=0;l<n.length;l++){const u=n[l],f=t.element._zod.run({value:u,issues:[]},i);f instanceof Promise?s.push(f.then(h=>t8(h,r,l))):t8(f,r,l)}return s.length?Promise.all(s).then(()=>r):r}});function D1(e,t,r,i,n,s){const l=r in i;if(e.issues.length){if(n&&s&&!l)return;t.issues.push(...mn(r,e.issues))}if(!l&&!n){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}e.value===void 0?l&&(t.value[r]=void 0):t.value[r]=e.value}function fm(e){const t=Object.keys(e.shape);for(const i of t)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);const r=u7(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function hm(e,t,r,i,n,s){const l=[],u=n.keySet,f=n.catchall._zod,h=f.def.type,g=f.optin==="optional",y=f.optout==="optional";for(const _ in t){if(_==="__proto__"||u.has(_))continue;if(h==="never"){l.push(_);continue}const w=f.run({value:t[_],issues:[]},i);w instanceof Promise?e.push(w.then(x=>D1(x,r,_,t,g,y))):D1(w,r,_,t,g,y)}return l.length&&r.issues.push({code:"unrecognized_keys",keys:l,input:t,inst:s}),e.length?Promise.all(e).then(()=>r):r}const pm=L("$ZodObject",(e,t)=>{if(Me.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const u=t.shape;Object.defineProperty(t,"shape",{get:()=>{const f={...u};return Object.defineProperty(t,"shape",{value:f}),f}})}const i=la(()=>fm(t));Le(e._zod,"propValues",()=>{const u=t.shape,f={};for(const h in u){const g=u[h]._zod;if(g.values){f[h]??(f[h]=new Set);for(const y of g.values)f[h].add(y)}}return f});const n=ho,s=t.catchall;let l;e._zod.parse=(u,f)=>{l??(l=i.value);const h=u.value;if(!n(h))return u.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),u;u.value={};const g=[],y=l.shape;for(const _ of l.keys){const w=y[_],x=w._zod.optin==="optional",I=w._zod.optout==="optional",S=w._zod.run({value:h[_],issues:[]},f);S instanceof Promise?g.push(S.then(E=>D1(E,u,_,h,x,I))):D1(S,u,_,h,x,I)}return s?hm(g,h,u,f,i.value,e):g.length?Promise.all(g).then(()=>u):u}}),mm=L("$ZodObjectJIT",(e,t)=>{pm.init(e,t);const r=e._zod.parse,i=la(()=>fm(t)),n=_=>{const w=new S9(["shape","payload","ctx"]),x=i.value,I=O=>{const P=o2(O);return`shape[${P}]._zod.run({ value: input[${P}], issues: [] }, ctx)`};w.write("const input = payload.value;");const S=Object.create(null);let E=0;for(const O of x.keys)S[O]=`key_${E++}`;w.write("const newResult = {};");for(const O of x.keys){const P=S[O],N=o2(O),A=_[O],K=A?._zod?.optin==="optional",re=A?._zod?.optout==="optional";w.write(`const ${P} = ${I(O)};`),K&&re?w.write(`
|
|
63
|
-
if (${P}.issues.length) {
|
|
64
|
-
if (${N} in input) {
|
|
65
|
-
payload.issues = payload.issues.concat(${P}.issues.map(iss => ({
|
|
66
|
-
...iss,
|
|
67
|
-
path: iss.path ? [${N}, ...iss.path] : [${N}]
|
|
68
|
-
})));
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
if (${P}.value === undefined) {
|
|
73
|
-
if (${N} in input) {
|
|
74
|
-
newResult[${N}] = undefined;
|
|
75
|
-
}
|
|
76
|
-
} else {
|
|
77
|
-
newResult[${N}] = ${P}.value;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
`):K?w.write(`
|
|
81
|
-
if (${P}.issues.length) {
|
|
82
|
-
payload.issues = payload.issues.concat(${P}.issues.map(iss => ({
|
|
83
|
-
...iss,
|
|
84
|
-
path: iss.path ? [${N}, ...iss.path] : [${N}]
|
|
85
|
-
})));
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
if (${P}.value === undefined) {
|
|
89
|
-
if (${N} in input) {
|
|
90
|
-
newResult[${N}] = undefined;
|
|
91
|
-
}
|
|
92
|
-
} else {
|
|
93
|
-
newResult[${N}] = ${P}.value;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
`):w.write(`
|
|
97
|
-
const ${P}_present = ${N} in input;
|
|
98
|
-
if (${P}.issues.length) {
|
|
99
|
-
payload.issues = payload.issues.concat(${P}.issues.map(iss => ({
|
|
100
|
-
...iss,
|
|
101
|
-
path: iss.path ? [${N}, ...iss.path] : [${N}]
|
|
102
|
-
})));
|
|
103
|
-
}
|
|
104
|
-
if (!${P}_present && !${P}.issues.length) {
|
|
105
|
-
payload.issues.push({
|
|
106
|
-
code: "invalid_type",
|
|
107
|
-
expected: "nonoptional",
|
|
108
|
-
input: undefined,
|
|
109
|
-
path: [${N}]
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
if (${P}_present) {
|
|
114
|
-
if (${P}.value === undefined) {
|
|
115
|
-
newResult[${N}] = undefined;
|
|
116
|
-
} else {
|
|
117
|
-
newResult[${N}] = ${P}.value;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
`)}w.write("payload.value = newResult;"),w.write("return payload;");const z=w.compile();return(O,P)=>z(_,O,P)};let s;const l=ho,u=!Gs.jitless,h=u&&l7.value,g=t.catchall;let y;e._zod.parse=(_,w)=>{y??(y=i.value);const x=_.value;return l(x)?u&&h&&w?.async===!1&&w.jitless!==!0?(s||(s=n(t.shape)),_=s(_,w),g?hm([],x,_,w,y,e):_):r(_,w):(_.issues.push({expected:"object",code:"invalid_type",input:x,inst:e}),_)}});function n8(e,t,r,i){for(const s of e)if(s.issues.length===0)return t.value=s.value,t;const n=e.filter(s=>!li(s));return n.length===1?(t.value=n[0].value,n[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(s=>s.issues.map(l=>Yt(l,i,vt())))}),t)}const uc=L("$ZodUnion",(e,t)=>{Me.init(e,t),Le(e._zod,"optin",()=>t.options.some(i=>i._zod.optin==="optional")?"optional":void 0),Le(e._zod,"optout",()=>t.options.some(i=>i._zod.optout==="optional")?"optional":void 0),Le(e._zod,"values",()=>{if(t.options.every(i=>i._zod.values))return new Set(t.options.flatMap(i=>Array.from(i._zod.values)))}),Le(e._zod,"pattern",()=>{if(t.options.every(i=>i._zod.pattern)){const i=t.options.map(n=>n._zod.pattern);return new RegExp(`^(${i.map(n=>rc(n.source)).join("|")})$`)}});const r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,n)=>{if(r)return r(i,n);let s=!1;const l=[];for(const u of t.options){const f=u._zod.run({value:i.value,issues:[]},n);if(f instanceof Promise)l.push(f),s=!0;else{if(f.issues.length===0)return f;l.push(f)}}return s?Promise.all(l).then(u=>n8(u,i,e,n)):n8(l,i,e,n)}});function r8(e,t,r,i){const n=e.filter(s=>s.issues.length===0);return n.length===1?(t.value=n[0].value,t):(n.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(s=>s.issues.map(l=>Yt(l,i,vt())))}):t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:[],inclusive:!1}),t)}const gm=L("$ZodXor",(e,t)=>{uc.init(e,t),t.inclusive=!1;const r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,n)=>{if(r)return r(i,n);let s=!1;const l=[];for(const u of t.options){const f=u._zod.run({value:i.value,issues:[]},n);f instanceof Promise?(l.push(f),s=!0):l.push(f)}return s?Promise.all(l).then(u=>r8(u,i,e,n)):r8(l,i,e,n)}}),vm=L("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,uc.init(e,t);const r=e._zod.parse;Le(e._zod,"propValues",()=>{const n={};for(const s of t.options){const l=s._zod.propValues;if(!l||Object.keys(l).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(s)}"`);for(const[u,f]of Object.entries(l)){n[u]||(n[u]=new Set);for(const h of f)n[u].add(h)}}return n});const i=la(()=>{const n=t.options,s=new Map;for(const l of n){const u=l._zod.propValues?.[t.discriminator];if(!u||u.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(l)}"`);for(const f of u){if(s.has(f))throw new Error(`Duplicate discriminator value "${String(f)}"`);s.set(f,l)}}return s});e._zod.parse=(n,s)=>{const l=n.value;if(!ho(l))return n.issues.push({code:"invalid_type",expected:"object",input:l,inst:e}),n;const u=i.value.get(l?.[t.discriminator]);return u?u._zod.run(n,s):t.unionFallback||s.direction==="backward"?r(n,s):(n.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(i.value.keys()),input:l,path:[t.discriminator],inst:e}),n)}}),ym=L("$ZodIntersection",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>{const n=r.value,s=t.left._zod.run({value:n,issues:[]},i),l=t.right._zod.run({value:n,issues:[]},i);return s instanceof Promise||l instanceof Promise?Promise.all([s,l]).then(([f,h])=>i8(r,f,h)):i8(r,s,l)}});function l2(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(hi(e)&&hi(t)){const r=Object.keys(t),i=Object.keys(e).filter(s=>r.indexOf(s)!==-1),n={...e,...t};for(const s of i){const l=l2(e[s],t[s]);if(!l.valid)return{valid:!1,mergeErrorPath:[s,...l.mergeErrorPath]};n[s]=l.data}return{valid:!0,data:n}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let i=0;i<e.length;i++){const n=e[i],s=t[i],l=l2(n,s);if(!l.valid)return{valid:!1,mergeErrorPath:[i,...l.mergeErrorPath]};r.push(l.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function i8(e,t,r){const i=new Map;let n;for(const u of t.issues)if(u.code==="unrecognized_keys"){n??(n=u);for(const f of u.keys)i.has(f)||i.set(f,{}),i.get(f).l=!0}else e.issues.push(u);for(const u of r.issues)if(u.code==="unrecognized_keys")for(const f of u.keys)i.has(f)||i.set(f,{}),i.get(f).r=!0;else e.issues.push(u);const s=[...i].filter(([,u])=>u.l&&u.r).map(([u])=>u);if(s.length&&n&&e.issues.push({...n,keys:s}),li(e))return e;const l=l2(t.value,r.value);if(!l.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(l.mergeErrorPath)}`);return e.value=l.data,e}const lf=L("$ZodTuple",(e,t)=>{Me.init(e,t);const r=t.items;e._zod.parse=(i,n)=>{const s=i.value;if(!Array.isArray(s))return i.issues.push({input:s,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];const l=[],u=o8(r,"optin"),f=o8(r,"optout");if(!t.rest){if(s.length<u)return i.issues.push({code:"too_small",minimum:u,inclusive:!0,input:s,inst:e,origin:"array"}),i;s.length>r.length&&i.issues.push({code:"too_big",maximum:r.length,inclusive:!0,input:s,inst:e,origin:"array"})}const h=new Array(r.length);for(let g=0;g<r.length;g++){const y=r[g]._zod.run({value:s[g],issues:[]},n);y instanceof Promise?l.push(y.then(_=>{h[g]=_})):h[g]=y}if(t.rest){let g=r.length-1;const y=s.slice(r.length);for(const _ of y){g++;const w=t.rest._zod.run({value:_,issues:[]},n);w instanceof Promise?l.push(w.then(x=>s8(x,i,g))):s8(w,i,g)}}return l.length?Promise.all(l).then(()=>a8(h,i,r,s,f)):a8(h,i,r,s,f)}});function o8(e,t){for(let r=e.length-1;r>=0;r--)if(e[r]._zod[t]!=="optional")return r+1;return 0}function s8(e,t,r){e.issues.length&&t.issues.push(...mn(r,e.issues)),t.value[r]=e.value}function a8(e,t,r,i,n){for(let s=0;s<r.length;s++){const l=e[s],u=s<i.length;if(l.issues.length){if(!u&&s>=n){t.value.length=s;break}t.issues.push(...mn(s,l.issues))}t.value[s]=l.value}for(let s=t.value.length-1;s>=i.length&&(r[s]._zod.optout==="optional"&&t.value[s]===void 0);s--)t.value.length=s;return t}const _m=L("$ZodRecord",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;if(!hi(n))return r.issues.push({expected:"record",code:"invalid_type",input:n,inst:e}),r;const s=[],l=t.keyType._zod.values;if(l){r.value={};const u=new Set;for(const h of l)if(typeof h=="string"||typeof h=="number"||typeof h=="symbol"){u.add(typeof h=="number"?h.toString():h);const g=t.keyType._zod.run({value:h,issues:[]},i);if(g instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(g.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:g.issues.map(w=>Yt(w,i,vt())),input:h,path:[h],inst:e});continue}const y=g.value,_=t.valueType._zod.run({value:n[h],issues:[]},i);_ instanceof Promise?s.push(_.then(w=>{w.issues.length&&r.issues.push(...mn(h,w.issues)),r.value[y]=w.value})):(_.issues.length&&r.issues.push(...mn(h,_.issues)),r.value[y]=_.value)}let f;for(const h in n)u.has(h)||(f=f??[],f.push(h));f&&f.length>0&&r.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:f})}else{r.value={};for(const u of Reflect.ownKeys(n)){if(u==="__proto__"||!Object.prototype.propertyIsEnumerable.call(n,u))continue;let f=t.keyType._zod.run({value:u,issues:[]},i);if(f instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof u=="string"&&ef.test(u)&&f.issues.length){const y=t.keyType._zod.run({value:Number(u),issues:[]},i);if(y instanceof Promise)throw new Error("Async schemas not supported in object keys currently");y.issues.length===0&&(f=y)}if(f.issues.length){t.mode==="loose"?r.value[u]=n[u]:r.issues.push({code:"invalid_key",origin:"record",issues:f.issues.map(y=>Yt(y,i,vt())),input:u,path:[u],inst:e});continue}const g=t.valueType._zod.run({value:n[u],issues:[]},i);g instanceof Promise?s.push(g.then(y=>{y.issues.length&&r.issues.push(...mn(u,y.issues)),r.value[f.value]=y.value})):(g.issues.length&&r.issues.push(...mn(u,g.issues)),r.value[f.value]=g.value)}}return s.length?Promise.all(s).then(()=>r):r}}),wm=L("$ZodMap",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;if(!(n instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:n,inst:e}),r;const s=[];r.value=new Map;for(const[l,u]of n){const f=t.keyType._zod.run({value:l,issues:[]},i),h=t.valueType._zod.run({value:u,issues:[]},i);f instanceof Promise||h instanceof Promise?s.push(Promise.all([f,h]).then(([g,y])=>{l8(g,y,r,l,n,e,i)})):l8(f,h,r,l,n,e,i)}return s.length?Promise.all(s).then(()=>r):r}});function l8(e,t,r,i,n,s,l){e.issues.length&&(P1.has(typeof i)?r.issues.push(...mn(i,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:n,inst:s,issues:e.issues.map(u=>Yt(u,l,vt()))})),t.issues.length&&(P1.has(typeof i)?r.issues.push(...mn(i,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:n,inst:s,key:i,issues:t.issues.map(u=>Yt(u,l,vt()))})),r.value.set(e.value,t.value)}const bm=L("$ZodSet",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;if(!(n instanceof Set))return r.issues.push({input:n,inst:e,expected:"set",code:"invalid_type"}),r;const s=[];r.value=new Set;for(const l of n){const u=t.valueType._zod.run({value:l,issues:[]},i);u instanceof Promise?s.push(u.then(f=>c8(f,r))):c8(u,r)}return s.length?Promise.all(s).then(()=>r):r}});function c8(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}const xm=L("$ZodEnum",(e,t)=>{Me.init(e,t);const r=R2(t.entries),i=new Set(r);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.filter(n=>P1.has(typeof n)).map(n=>typeof n=="string"?sr(n):n.toString()).join("|")})$`),e._zod.parse=(n,s)=>{const l=n.value;return i.has(l)||n.issues.push({code:"invalid_value",values:r,input:l,inst:e}),n}}),km=L("$ZodLiteral",(e,t)=>{if(Me.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.values.map(i=>typeof i=="string"?sr(i):i?sr(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,n)=>{const s=i.value;return r.has(s)||i.issues.push({code:"invalid_value",values:t.values,input:s,inst:e}),i}}),Cm=L("$ZodFile",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;return n instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:n,inst:e}),r}}),$m=L("$ZodTransform",(e,t)=>{Me.init(e,t),e._zod.optin="optional",e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new nc(e.constructor.name);const n=t.transform(r.value,r);if(i.async)return(n instanceof Promise?n:Promise.resolve(n)).then(l=>(r.value=l,r.fallback=!0,r));if(n instanceof Promise)throw new ui;return r.value=n,r.fallback=!0,r}});function u8(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const cf=L("$ZodOptional",(e,t)=>{Me.init(e,t),e._zod.optin="optional",e._zod.optout="optional",Le(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),Le(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${rc(r.source)})?$`):void 0}),e._zod.parse=(r,i)=>{if(t.innerType._zod.optin==="optional"){const n=r.value,s=t.innerType._zod.run(r,i);return s instanceof Promise?s.then(l=>u8(l,n)):u8(s,n)}return r.value===void 0?r:t.innerType._zod.run(r,i)}}),Sm=L("$ZodExactOptional",(e,t)=>{cf.init(e,t),Le(e._zod,"values",()=>t.innerType._zod.values),Le(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(r,i)=>t.innerType._zod.run(r,i)}),Im=L("$ZodNullable",(e,t)=>{Me.init(e,t),Le(e._zod,"optin",()=>t.innerType._zod.optin),Le(e._zod,"optout",()=>t.innerType._zod.optout),Le(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${rc(r.source)}|null)$`):void 0}),Le(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,i)=>r.value===null?r:t.innerType._zod.run(r,i)}),zm=L("$ZodDefault",(e,t)=>{Me.init(e,t),e._zod.optin="optional",Le(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);if(r.value===void 0)return r.value=t.defaultValue,r;const n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(s=>d8(s,t)):d8(n,t)}});function d8(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const jm=L("$ZodPrefault",(e,t)=>{Me.init(e,t),e._zod.optin="optional",Le(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>(i.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,i))}),Em=L("$ZodNonOptional",(e,t)=>{Me.init(e,t),Le(e._zod,"values",()=>{const r=t.innerType._zod.values;return r?new Set([...r].filter(i=>i!==void 0)):void 0}),e._zod.parse=(r,i)=>{const n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(s=>f8(s,e)):f8(n,e)}});function f8(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const Om=L("$ZodSuccess",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new nc("ZodSuccess");const n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(s=>(r.value=s.issues.length===0,r)):(r.value=n.issues.length===0,r)}}),Mm=L("$ZodCatch",(e,t)=>{Me.init(e,t),e._zod.optin="optional",Le(e._zod,"optout",()=>t.innerType._zod.optout),Le(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);const n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(s=>(r.value=s.value,s.issues.length&&(r.value=t.catchValue({...r,error:{issues:s.issues.map(l=>Yt(l,i,vt()))},input:r.value}),r.issues=[],r.fallback=!0),r)):(r.value=n.value,n.issues.length&&(r.value=t.catchValue({...r,error:{issues:n.issues.map(s=>Yt(s,i,vt()))},input:r.value}),r.issues=[],r.fallback=!0),r)}}),Tm=L("$ZodNaN",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)}),uf=L("$ZodPipe",(e,t)=>{Me.init(e,t),Le(e._zod,"values",()=>t.in._zod.values),Le(e._zod,"optin",()=>t.in._zod.optin),Le(e._zod,"optout",()=>t.out._zod.optout),Le(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,i)=>{if(i.direction==="backward"){const s=t.out._zod.run(r,i);return s instanceof Promise?s.then(l=>p1(l,t.in,i)):p1(s,t.in,i)}const n=t.in._zod.run(r,i);return n instanceof Promise?n.then(s=>p1(s,t.out,i)):p1(n,t.out,i)}});function p1(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},r)}const df=L("$ZodCodec",(e,t)=>{Me.init(e,t),Le(e._zod,"values",()=>t.in._zod.values),Le(e._zod,"optin",()=>t.in._zod.optin),Le(e._zod,"optout",()=>t.out._zod.optout),Le(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,i)=>{if((i.direction||"forward")==="forward"){const s=t.in._zod.run(r,i);return s instanceof Promise?s.then(l=>m1(l,t,i)):m1(s,t,i)}else{const s=t.out._zod.run(r,i);return s instanceof Promise?s.then(l=>m1(l,t,i)):m1(s,t,i)}}});function m1(e,t,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||"forward")==="forward"){const n=t.transform(e.value,e);return n instanceof Promise?n.then(s=>g1(e,s,t.out,r)):g1(e,n,t.out,r)}else{const n=t.reverseTransform(e.value,e);return n instanceof Promise?n.then(s=>g1(e,s,t.in,r)):g1(e,n,t.in,r)}}function g1(e,t,r,i){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},i)}const Lm=L("$ZodPreprocess",(e,t)=>{uf.init(e,t)}),Nm=L("$ZodReadonly",(e,t)=>{Me.init(e,t),Le(e._zod,"propValues",()=>t.innerType._zod.propValues),Le(e._zod,"values",()=>t.innerType._zod.values),Le(e._zod,"optin",()=>t.innerType?._zod?.optin),Le(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);const n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(h8):h8(n)}});function h8(e){return e.value=Object.freeze(e.value),e}const Pm=L("$ZodTemplateLiteral",(e,t)=>{Me.init(e,t);const r=[];for(const i of t.parts)if(typeof i=="object"&&i!==null){if(!i._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);const n=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!n)throw new Error(`Invalid template literal part: ${i._zod.traits}`);const s=n.startsWith("^")?1:0,l=n.endsWith("$")?n.length-1:n.length;r.push(n.slice(s,l))}else if(i===null||c7.has(typeof i))r.push(sr(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(i,n)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:e,expected:"string",code:"invalid_type"}),i):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),i)}),Dm=L("$ZodFunction",(e,t)=>(Me.init(e,t),e._def=t,e._zod.def=t,e.implement=r=>{if(typeof r!="function")throw new Error("implement() must be called with a function");return function(...i){const n=e._def.input?s2(e._def.input,i):i,s=Reflect.apply(r,this,n);return e._def.output?s2(e._def.output,s):s}},e.implementAsync=r=>{if(typeof r!="function")throw new Error("implementAsync() must be called with a function");return async function(...i){const n=e._def.input?await a2(e._def.input,i):i,s=await Reflect.apply(r,this,n);return e._def.output?await a2(e._def.output,s):s}},e._zod.parse=(r,i)=>typeof r.value!="function"?(r.issues.push({code:"invalid_type",expected:"function",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type==="promise"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{const i=e.constructor;return Array.isArray(r[0])?new i({type:"function",input:new lf({type:"tuple",items:r[0],rest:r[1]}),output:e._def.output}):new i({type:"function",input:r[0],output:e._def.output})},e.output=r=>{const i=e.constructor;return new i({type:"function",input:e._def.input,output:r})},e)),Rm=L("$ZodPromise",(e,t)=>{Me.init(e,t),e._zod.parse=(r,i)=>Promise.resolve(r.value).then(n=>t.innerType._zod.run({value:n,issues:[]},i))}),Am=L("$ZodLazy",(e,t)=>{Me.init(e,t),Le(e._zod,"innerType",()=>{const r=t;return r._cachedInner||(r._cachedInner=t.getter()),r._cachedInner}),Le(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),Le(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),Le(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),Le(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(r,i)=>e._zod.innerType._zod.run(r,i)}),Fm=L("$ZodCustom",(e,t)=>{et.init(e,t),Me.init(e,t),e._zod.parse=(r,i)=>r,e._zod.check=r=>{const i=r.value,n=t.fn(i);if(n instanceof Promise)return n.then(s=>p8(s,r,i,e));p8(n,r,i,e)}});function p8(e,t,r,i){if(!e){const n={code:"custom",input:r,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(n.params=i._zod.def.params),t.issues.push(po(n))}}const _C=()=>{const e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function t(n){return e[n]??null}const r={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${n.expected}، ولكن تم إدخال ${u}`:`مدخلات غير مقبولة: يفترض إدخال ${s}، ولكن تم إدخال ${u}`}case"invalid_value":return n.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${$e(n.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?` أكبر من اللازم: يفترض أن تكون ${n.origin??"القيمة"} ${s} ${n.maximum.toString()} ${l.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${n.origin??"القيمة"} ${s} ${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`أصغر من اللازم: يفترض لـ ${n.origin} أن يكون ${s} ${n.minimum.toString()} ${l.unit}`:`أصغر من اللازم: يفترض لـ ${n.origin} أن يكون ${s} ${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`نَص غير مقبول: يجب أن يبدأ بـ "${n.prefix}"`:s.format==="ends_with"?`نَص غير مقبول: يجب أن ينتهي بـ "${s.suffix}"`:s.format==="includes"?`نَص غير مقبول: يجب أن يتضمَّن "${s.includes}"`:s.format==="regex"?`نَص غير مقبول: يجب أن يطابق النمط ${s.pattern}`:`${r[s.format]??n.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${n.divisor}`;case"unrecognized_keys":return`معرف${n.keys.length>1?"ات":""} غريب${n.keys.length>1?"ة":""}: ${G(n.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${n.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${n.origin}`;default:return"مدخل غير مقبول"}}};function wC(){return{localeError:_C()}}const bC=()=>{const e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function t(n){return e[n]??null}const r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Yanlış dəyər: gözlənilən instanceof ${n.expected}, daxil olan ${u}`:`Yanlış dəyər: gözlənilən ${s}, daxil olan ${u}`}case"invalid_value":return n.values.length===1?`Yanlış dəyər: gözlənilən ${$e(n.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Çox böyük: gözlənilən ${n.origin??"dəyər"} ${s}${n.maximum.toString()} ${l.unit??"element"}`:`Çox böyük: gözlənilən ${n.origin??"dəyər"} ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Çox kiçik: gözlənilən ${n.origin} ${s}${n.minimum.toString()} ${l.unit}`:`Çox kiçik: gözlənilən ${n.origin} ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Yanlış mətn: "${s.prefix}" ilə başlamalıdır`:s.format==="ends_with"?`Yanlış mətn: "${s.suffix}" ilə bitməlidir`:s.format==="includes"?`Yanlış mətn: "${s.includes}" daxil olmalıdır`:s.format==="regex"?`Yanlış mətn: ${s.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${r[s.format]??n.format}`}case"not_multiple_of":return`Yanlış ədəd: ${n.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${n.keys.length>1?"lar":""}: ${G(n.keys,", ")}`;case"invalid_key":return`${n.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${n.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function xC(){return{localeError:bC()}}function m8(e,t,r,i){const n=Math.abs(e),s=n%10,l=n%100;return l>=11&&l<=19?i:s===1?t:s>=2&&s<=4?r:i}const kC=()=>{const e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function t(n){return e[n]??null}const r={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},i={nan:"NaN",number:"лік",array:"масіў"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Няправільны ўвод: чакаўся instanceof ${n.expected}, атрымана ${u}`:`Няправільны ўвод: чакаўся ${s}, атрымана ${u}`}case"invalid_value":return n.values.length===1?`Няправільны ўвод: чакалася ${$e(n.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);if(l){const u=Number(n.maximum),f=m8(u,l.unit.one,l.unit.few,l.unit.many);return`Занадта вялікі: чакалася, што ${n.origin??"значэнне"} павінна ${l.verb} ${s}${n.maximum.toString()} ${f}`}return`Занадта вялікі: чакалася, што ${n.origin??"значэнне"} павінна быць ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);if(l){const u=Number(n.minimum),f=m8(u,l.unit.one,l.unit.few,l.unit.many);return`Занадта малы: чакалася, што ${n.origin} павінна ${l.verb} ${s}${n.minimum.toString()} ${f}`}return`Занадта малы: чакалася, што ${n.origin} павінна быць ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Няправільны радок: павінен пачынацца з "${s.prefix}"`:s.format==="ends_with"?`Няправільны радок: павінен заканчвацца на "${s.suffix}"`:s.format==="includes"?`Няправільны радок: павінен змяшчаць "${s.includes}"`:s.format==="regex"?`Няправільны радок: павінен адпавядаць шаблону ${s.pattern}`:`Няправільны ${r[s.format]??n.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${n.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${n.keys.length>1?"ключы":"ключ"}: ${G(n.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${n.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${n.origin}`;default:return"Няправільны ўвод"}}};function CC(){return{localeError:kC()}}const $C=()=>{const e={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function t(n){return e[n]??null}const r={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},i={nan:"NaN",number:"число",array:"масив"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Невалиден вход: очакван instanceof ${n.expected}, получен ${u}`:`Невалиден вход: очакван ${s}, получен ${u}`}case"invalid_value":return n.values.length===1?`Невалиден вход: очакван ${$e(n.values[0])}`:`Невалидна опция: очаквано едно от ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Твърде голямо: очаква се ${n.origin??"стойност"} да съдържа ${s}${n.maximum.toString()} ${l.unit??"елемента"}`:`Твърде голямо: очаква се ${n.origin??"стойност"} да бъде ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Твърде малко: очаква се ${n.origin} да съдържа ${s}${n.minimum.toString()} ${l.unit}`:`Твърде малко: очаква се ${n.origin} да бъде ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;if(s.format==="starts_with")return`Невалиден низ: трябва да започва с "${s.prefix}"`;if(s.format==="ends_with")return`Невалиден низ: трябва да завършва с "${s.suffix}"`;if(s.format==="includes")return`Невалиден низ: трябва да включва "${s.includes}"`;if(s.format==="regex")return`Невалиден низ: трябва да съвпада с ${s.pattern}`;let l="Невалиден";return s.format==="emoji"&&(l="Невалидно"),s.format==="datetime"&&(l="Невалидно"),s.format==="date"&&(l="Невалидна"),s.format==="time"&&(l="Невалидно"),s.format==="duration"&&(l="Невалидна"),`${l} ${r[s.format]??n.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${n.divisor}`;case"unrecognized_keys":return`Неразпознат${n.keys.length>1?"и":""} ключ${n.keys.length>1?"ове":""}: ${G(n.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${n.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${n.origin}`;default:return"Невалиден вход"}}};function SC(){return{localeError:$C()}}const IC=()=>{const e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(n){return e[n]??null}const r={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Tipus invàlid: s'esperava instanceof ${n.expected}, s'ha rebut ${u}`:`Tipus invàlid: s'esperava ${s}, s'ha rebut ${u}`}case"invalid_value":return n.values.length===1?`Valor invàlid: s'esperava ${$e(n.values[0])}`:`Opció invàlida: s'esperava una de ${G(n.values," o ")}`;case"too_big":{const s=n.inclusive?"com a màxim":"menys de",l=t(n.origin);return l?`Massa gran: s'esperava que ${n.origin??"el valor"} contingués ${s} ${n.maximum.toString()} ${l.unit??"elements"}`:`Massa gran: s'esperava que ${n.origin??"el valor"} fos ${s} ${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?"com a mínim":"més de",l=t(n.origin);return l?`Massa petit: s'esperava que ${n.origin} contingués ${s} ${n.minimum.toString()} ${l.unit}`:`Massa petit: s'esperava que ${n.origin} fos ${s} ${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Format invàlid: ha de començar amb "${s.prefix}"`:s.format==="ends_with"?`Format invàlid: ha d'acabar amb "${s.suffix}"`:s.format==="includes"?`Format invàlid: ha d'incloure "${s.includes}"`:s.format==="regex"?`Format invàlid: ha de coincidir amb el patró ${s.pattern}`:`Format invàlid per a ${r[s.format]??n.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${n.divisor}`;case"unrecognized_keys":return`Clau${n.keys.length>1?"s":""} no reconeguda${n.keys.length>1?"s":""}: ${G(n.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${n.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${n.origin}`;default:return"Entrada invàlida"}}};function zC(){return{localeError:IC()}}const jC=()=>{const e={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function t(n){return e[n]??null}const r={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},i={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Neplatný vstup: očekáváno instanceof ${n.expected}, obdrženo ${u}`:`Neplatný vstup: očekáváno ${s}, obdrženo ${u}`}case"invalid_value":return n.values.length===1?`Neplatný vstup: očekáváno ${$e(n.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Hodnota je příliš velká: ${n.origin??"hodnota"} musí mít ${s}${n.maximum.toString()} ${l.unit??"prvků"}`:`Hodnota je příliš velká: ${n.origin??"hodnota"} musí být ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Hodnota je příliš malá: ${n.origin??"hodnota"} musí mít ${s}${n.minimum.toString()} ${l.unit??"prvků"}`:`Hodnota je příliš malá: ${n.origin??"hodnota"} musí být ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Neplatný řetězec: musí začínat na "${s.prefix}"`:s.format==="ends_with"?`Neplatný řetězec: musí končit na "${s.suffix}"`:s.format==="includes"?`Neplatný řetězec: musí obsahovat "${s.includes}"`:s.format==="regex"?`Neplatný řetězec: musí odpovídat vzoru ${s.pattern}`:`Neplatný formát ${r[s.format]??n.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${n.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${G(n.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${n.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${n.origin}`;default:return"Neplatný vstup"}}};function EC(){return{localeError:jC()}}const OC=()=>{const e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function t(n){return e[n]??null}const r={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},i={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Ugyldigt input: forventede instanceof ${n.expected}, fik ${u}`:`Ugyldigt input: forventede ${s}, fik ${u}`}case"invalid_value":return n.values.length===1?`Ugyldig værdi: forventede ${$e(n.values[0])}`:`Ugyldigt valg: forventede en af følgende ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin),u=i[n.origin]??n.origin;return l?`For stor: forventede ${u??"value"} ${l.verb} ${s} ${n.maximum.toString()} ${l.unit??"elementer"}`:`For stor: forventede ${u??"value"} havde ${s} ${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin),u=i[n.origin]??n.origin;return l?`For lille: forventede ${u} ${l.verb} ${s} ${n.minimum.toString()} ${l.unit}`:`For lille: forventede ${u} havde ${s} ${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Ugyldig streng: skal starte med "${s.prefix}"`:s.format==="ends_with"?`Ugyldig streng: skal ende med "${s.suffix}"`:s.format==="includes"?`Ugyldig streng: skal indeholde "${s.includes}"`:s.format==="regex"?`Ugyldig streng: skal matche mønsteret ${s.pattern}`:`Ugyldig ${r[s.format]??n.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${G(n.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${n.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${n.origin}`;default:return"Ugyldigt input"}}};function MC(){return{localeError:OC()}}const TC=()=>{const e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(n){return e[n]??null}const r={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},i={nan:"NaN",number:"Zahl",array:"Array"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Ungültige Eingabe: erwartet instanceof ${n.expected}, erhalten ${u}`:`Ungültige Eingabe: erwartet ${s}, erhalten ${u}`}case"invalid_value":return n.values.length===1?`Ungültige Eingabe: erwartet ${$e(n.values[0])}`:`Ungültige Option: erwartet eine von ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Zu groß: erwartet, dass ${n.origin??"Wert"} ${s}${n.maximum.toString()} ${l.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${n.origin??"Wert"} ${s}${n.maximum.toString()} ist`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Zu klein: erwartet, dass ${n.origin} ${s}${n.minimum.toString()} ${l.unit} hat`:`Zu klein: erwartet, dass ${n.origin} ${s}${n.minimum.toString()} ist`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Ungültiger String: muss mit "${s.prefix}" beginnen`:s.format==="ends_with"?`Ungültiger String: muss mit "${s.suffix}" enden`:s.format==="includes"?`Ungültiger String: muss "${s.includes}" enthalten`:s.format==="regex"?`Ungültiger String: muss dem Muster ${s.pattern} entsprechen`:`Ungültig: ${r[s.format]??n.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${n.divisor} sein`;case"unrecognized_keys":return`${n.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${G(n.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${n.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${n.origin}`;default:return"Ungültige Eingabe"}}};function LC(){return{localeError:TC()}}const NC=()=>{const e={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function t(n){return e[n]??null}const r={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return typeof n.expected=="string"&&/^[A-Z]/.test(n.expected)?`Μη έγκυρη είσοδος: αναμενόταν instanceof ${n.expected}, λήφθηκε ${u}`:`Μη έγκυρη είσοδος: αναμενόταν ${s}, λήφθηκε ${u}`}case"invalid_value":return n.values.length===1?`Μη έγκυρη είσοδος: αναμενόταν ${$e(n.values[0])}`:`Μη έγκυρη επιλογή: αναμενόταν ένα από ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Πολύ μεγάλο: αναμενόταν ${n.origin??"τιμή"} να έχει ${s}${n.maximum.toString()} ${l.unit??"στοιχεία"}`:`Πολύ μεγάλο: αναμενόταν ${n.origin??"τιμή"} να είναι ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Πολύ μικρό: αναμενόταν ${n.origin} να έχει ${s}${n.minimum.toString()} ${l.unit}`:`Πολύ μικρό: αναμενόταν ${n.origin} να είναι ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${s.prefix}"`:s.format==="ends_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${s.suffix}"`:s.format==="includes"?`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${s.includes}"`:s.format==="regex"?`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${s.pattern}`:`Μη έγκυρο: ${r[s.format]??n.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${n.divisor}`;case"unrecognized_keys":return`Άγνωστ${n.keys.length>1?"α":"ο"} κλειδ${n.keys.length>1?"ιά":"ί"}: ${G(n.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${n.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${n.origin}`;default:return"Μη έγκυρη είσοδος"}}};function PC(){return{localeError:NC()}}const DC=()=>{const e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(n){return e[n]??null}const r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return`Invalid input: expected ${s}, received ${u}`}case"invalid_value":return n.values.length===1?`Invalid input: expected ${$e(n.values[0])}`:`Invalid option: expected one of ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Too big: expected ${n.origin??"value"} to have ${s}${n.maximum.toString()} ${l.unit??"elements"}`:`Too big: expected ${n.origin??"value"} to be ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Too small: expected ${n.origin} to have ${s}${n.minimum.toString()} ${l.unit}`:`Too small: expected ${n.origin} to be ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Invalid string: must start with "${s.prefix}"`:s.format==="ends_with"?`Invalid string: must end with "${s.suffix}"`:s.format==="includes"?`Invalid string: must include "${s.includes}"`:s.format==="regex"?`Invalid string: must match pattern ${s.pattern}`:`Invalid ${r[s.format]??n.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${n.divisor}`;case"unrecognized_keys":return`Unrecognized key${n.keys.length>1?"s":""}: ${G(n.keys,", ")}`;case"invalid_key":return`Invalid key in ${n.origin}`;case"invalid_union":return n.options&&Array.isArray(n.options)&&n.options.length>0?`Invalid discriminator value. Expected ${n.options.map(l=>`'${l}'`).join(" | ")}`:"Invalid input";case"invalid_element":return`Invalid value in ${n.origin}`;default:return"Invalid input"}}};function Um(){return{localeError:DC()}}const RC=()=>{const e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(n){return e[n]??null}const r={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},i={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Nevalida enigo: atendiĝis instanceof ${n.expected}, riceviĝis ${u}`:`Nevalida enigo: atendiĝis ${s}, riceviĝis ${u}`}case"invalid_value":return n.values.length===1?`Nevalida enigo: atendiĝis ${$e(n.values[0])}`:`Nevalida opcio: atendiĝis unu el ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Tro granda: atendiĝis ke ${n.origin??"valoro"} havu ${s}${n.maximum.toString()} ${l.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${n.origin??"valoro"} havu ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Tro malgranda: atendiĝis ke ${n.origin} havu ${s}${n.minimum.toString()} ${l.unit}`:`Tro malgranda: atendiĝis ke ${n.origin} estu ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Nevalida karaktraro: devas komenciĝi per "${s.prefix}"`:s.format==="ends_with"?`Nevalida karaktraro: devas finiĝi per "${s.suffix}"`:s.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${s.includes}"`:s.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${s.pattern}`:`Nevalida ${r[s.format]??n.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${n.divisor}`;case"unrecognized_keys":return`Nekonata${n.keys.length>1?"j":""} ŝlosilo${n.keys.length>1?"j":""}: ${G(n.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${n.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${n.origin}`;default:return"Nevalida enigo"}}};function AC(){return{localeError:RC()}}const FC=()=>{const e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(n){return e[n]??null}const r={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Entrada inválida: se esperaba instanceof ${n.expected}, recibido ${u}`:`Entrada inválida: se esperaba ${s}, recibido ${u}`}case"invalid_value":return n.values.length===1?`Entrada inválida: se esperaba ${$e(n.values[0])}`:`Opción inválida: se esperaba una de ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin),u=i[n.origin]??n.origin;return l?`Demasiado grande: se esperaba que ${u??"valor"} tuviera ${s}${n.maximum.toString()} ${l.unit??"elementos"}`:`Demasiado grande: se esperaba que ${u??"valor"} fuera ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin),u=i[n.origin]??n.origin;return l?`Demasiado pequeño: se esperaba que ${u} tuviera ${s}${n.minimum.toString()} ${l.unit}`:`Demasiado pequeño: se esperaba que ${u} fuera ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Cadena inválida: debe comenzar con "${s.prefix}"`:s.format==="ends_with"?`Cadena inválida: debe terminar en "${s.suffix}"`:s.format==="includes"?`Cadena inválida: debe incluir "${s.includes}"`:s.format==="regex"?`Cadena inválida: debe coincidir con el patrón ${s.pattern}`:`Inválido ${r[s.format]??n.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${n.divisor}`;case"unrecognized_keys":return`Llave${n.keys.length>1?"s":""} desconocida${n.keys.length>1?"s":""}: ${G(n.keys,", ")}`;case"invalid_key":return`Llave inválida en ${i[n.origin]??n.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${i[n.origin]??n.origin}`;default:return"Entrada inválida"}}};function UC(){return{localeError:FC()}}const HC=()=>{const e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function t(n){return e[n]??null}const r={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},i={nan:"NaN",number:"عدد",array:"آرایه"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`ورودی نامعتبر: میبایست instanceof ${n.expected} میبود، ${u} دریافت شد`:`ورودی نامعتبر: میبایست ${s} میبود، ${u} دریافت شد`}case"invalid_value":return n.values.length===1?`ورودی نامعتبر: میبایست ${$e(n.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${G(n.values,"|")} میبود`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`خیلی بزرگ: ${n.origin??"مقدار"} باید ${s}${n.maximum.toString()} ${l.unit??"عنصر"} باشد`:`خیلی بزرگ: ${n.origin??"مقدار"} باید ${s}${n.maximum.toString()} باشد`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`خیلی کوچک: ${n.origin} باید ${s}${n.minimum.toString()} ${l.unit} باشد`:`خیلی کوچک: ${n.origin} باید ${s}${n.minimum.toString()} باشد`}case"invalid_format":{const s=n;return s.format==="starts_with"?`رشته نامعتبر: باید با "${s.prefix}" شروع شود`:s.format==="ends_with"?`رشته نامعتبر: باید با "${s.suffix}" تمام شود`:s.format==="includes"?`رشته نامعتبر: باید شامل "${s.includes}" باشد`:s.format==="regex"?`رشته نامعتبر: باید با الگوی ${s.pattern} مطابقت داشته باشد`:`${r[s.format]??n.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${n.divisor} باشد`;case"unrecognized_keys":return`کلید${n.keys.length>1?"های":""} ناشناس: ${G(n.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${n.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${n.origin}`;default:return"ورودی نامعتبر"}}};function ZC(){return{localeError:HC()}}const VC=()=>{const e={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function t(n){return e[n]??null}const r={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Virheellinen tyyppi: odotettiin instanceof ${n.expected}, oli ${u}`:`Virheellinen tyyppi: odotettiin ${s}, oli ${u}`}case"invalid_value":return n.values.length===1?`Virheellinen syöte: täytyy olla ${$e(n.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Liian suuri: ${l.subject} täytyy olla ${s}${n.maximum.toString()} ${l.unit}`.trim():`Liian suuri: arvon täytyy olla ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Liian pieni: ${l.subject} täytyy olla ${s}${n.minimum.toString()} ${l.unit}`.trim():`Liian pieni: arvon täytyy olla ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Virheellinen syöte: täytyy alkaa "${s.prefix}"`:s.format==="ends_with"?`Virheellinen syöte: täytyy loppua "${s.suffix}"`:s.format==="includes"?`Virheellinen syöte: täytyy sisältää "${s.includes}"`:s.format==="regex"?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${s.pattern}`:`Virheellinen ${r[s.format]??n.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${n.divisor} monikerta`;case"unrecognized_keys":return`${n.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${G(n.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};function BC(){return{localeError:VC()}}const WC=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function t(n){return e[n]??null}const r={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},i={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Entrée invalide : instanceof ${n.expected} attendu, ${u} reçu`:`Entrée invalide : ${s} attendu, ${u} reçu`}case"invalid_value":return n.values.length===1?`Entrée invalide : ${$e(n.values[0])} attendu`:`Option invalide : une valeur parmi ${G(n.values,"|")} attendue`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Trop grand : ${i[n.origin]??"valeur"} doit ${l.verb} ${s}${n.maximum.toString()} ${l.unit??"élément(s)"}`:`Trop grand : ${i[n.origin]??"valeur"} doit être ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Trop petit : ${i[n.origin]??"valeur"} doit ${l.verb} ${s}${n.minimum.toString()} ${l.unit}`:`Trop petit : ${i[n.origin]??"valeur"} doit être ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Chaîne invalide : doit commencer par "${s.prefix}"`:s.format==="ends_with"?`Chaîne invalide : doit se terminer par "${s.suffix}"`:s.format==="includes"?`Chaîne invalide : doit inclure "${s.includes}"`:s.format==="regex"?`Chaîne invalide : doit correspondre au modèle ${s.pattern}`:`${r[s.format]??n.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${n.divisor}`;case"unrecognized_keys":return`Clé${n.keys.length>1?"s":""} non reconnue${n.keys.length>1?"s":""} : ${G(n.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${n.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${n.origin}`;default:return"Entrée invalide"}}};function KC(){return{localeError:WC()}}const qC=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function t(n){return e[n]??null}const r={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Entrée invalide : attendu instanceof ${n.expected}, reçu ${u}`:`Entrée invalide : attendu ${s}, reçu ${u}`}case"invalid_value":return n.values.length===1?`Entrée invalide : attendu ${$e(n.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"≤":"<",l=t(n.origin);return l?`Trop grand : attendu que ${n.origin??"la valeur"} ait ${s}${n.maximum.toString()} ${l.unit}`:`Trop grand : attendu que ${n.origin??"la valeur"} soit ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?"≥":">",l=t(n.origin);return l?`Trop petit : attendu que ${n.origin} ait ${s}${n.minimum.toString()} ${l.unit}`:`Trop petit : attendu que ${n.origin} soit ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Chaîne invalide : doit commencer par "${s.prefix}"`:s.format==="ends_with"?`Chaîne invalide : doit se terminer par "${s.suffix}"`:s.format==="includes"?`Chaîne invalide : doit inclure "${s.includes}"`:s.format==="regex"?`Chaîne invalide : doit correspondre au motif ${s.pattern}`:`${r[s.format]??n.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${n.divisor}`;case"unrecognized_keys":return`Clé${n.keys.length>1?"s":""} non reconnue${n.keys.length>1?"s":""} : ${G(n.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${n.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${n.origin}`;default:return"Entrée invalide"}}};function JC(){return{localeError:qC()}}const GC=()=>{const e={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},t={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},r=h=>h?e[h]:void 0,i=h=>{const g=r(h);return g?g.label:h??e.unknown.label},n=h=>`ה${i(h)}`,s=h=>(r(h)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות",l=h=>h?t[h]??null:null,u={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},f={nan:"NaN"};return h=>{switch(h.code){case"invalid_type":{const g=h.expected,y=f[g??""]??i(g),_=je(h.input),w=f[_]??e[_]?.label??_;return/^[A-Z]/.test(h.expected)?`קלט לא תקין: צריך להיות instanceof ${h.expected}, התקבל ${w}`:`קלט לא תקין: צריך להיות ${y}, התקבל ${w}`}case"invalid_value":{if(h.values.length===1)return`ערך לא תקין: הערך חייב להיות ${$e(h.values[0])}`;const g=h.values.map(w=>$e(w));if(h.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${g[0]} או ${g[1]}`;const y=g[g.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${g.slice(0,-1).join(", ")} או ${y}`}case"too_big":{const g=l(h.origin),y=n(h.origin??"value");if(h.origin==="string")return`${g?.longLabel??"ארוך"} מדי: ${y} צריכה להכיל ${h.maximum.toString()} ${g?.unit??""} ${h.inclusive?"או פחות":"לכל היותר"}`.trim();if(h.origin==="number"){const x=h.inclusive?`קטן או שווה ל-${h.maximum}`:`קטן מ-${h.maximum}`;return`גדול מדי: ${y} צריך להיות ${x}`}if(h.origin==="array"||h.origin==="set"){const x=h.origin==="set"?"צריכה":"צריך",I=h.inclusive?`${h.maximum} ${g?.unit??""} או פחות`:`פחות מ-${h.maximum} ${g?.unit??""}`;return`גדול מדי: ${y} ${x} להכיל ${I}`.trim()}const _=h.inclusive?"<=":"<",w=s(h.origin??"value");return g?.unit?`${g.longLabel} מדי: ${y} ${w} ${_}${h.maximum.toString()} ${g.unit}`:`${g?.longLabel??"גדול"} מדי: ${y} ${w} ${_}${h.maximum.toString()}`}case"too_small":{const g=l(h.origin),y=n(h.origin??"value");if(h.origin==="string")return`${g?.shortLabel??"קצר"} מדי: ${y} צריכה להכיל ${h.minimum.toString()} ${g?.unit??""} ${h.inclusive?"או יותר":"לפחות"}`.trim();if(h.origin==="number"){const x=h.inclusive?`גדול או שווה ל-${h.minimum}`:`גדול מ-${h.minimum}`;return`קטן מדי: ${y} צריך להיות ${x}`}if(h.origin==="array"||h.origin==="set"){const x=h.origin==="set"?"צריכה":"צריך";if(h.minimum===1&&h.inclusive){const S=(h.origin==="set","לפחות פריט אחד");return`קטן מדי: ${y} ${x} להכיל ${S}`}const I=h.inclusive?`${h.minimum} ${g?.unit??""} או יותר`:`יותר מ-${h.minimum} ${g?.unit??""}`;return`קטן מדי: ${y} ${x} להכיל ${I}`.trim()}const _=h.inclusive?">=":">",w=s(h.origin??"value");return g?.unit?`${g.shortLabel} מדי: ${y} ${w} ${_}${h.minimum.toString()} ${g.unit}`:`${g?.shortLabel??"קטן"} מדי: ${y} ${w} ${_}${h.minimum.toString()}`}case"invalid_format":{const g=h;if(g.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${g.prefix}"`;if(g.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${g.suffix}"`;if(g.format==="includes")return`המחרוזת חייבת לכלול "${g.includes}"`;if(g.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${g.pattern}`;const y=u[g.format],_=y?.label??g.format,x=(y?.gender??"m")==="f"?"תקינה":"תקין";return`${_} לא ${x}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${h.divisor}`;case"unrecognized_keys":return`מפתח${h.keys.length>1?"ות":""} לא מזוה${h.keys.length>1?"ים":"ה"}: ${G(h.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${n(h.origin??"array")}`;default:return"קלט לא תקין"}}};function YC(){return{localeError:GC()}}const XC=()=>{const e={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function t(n){return e[n]??null}const r={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},i={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Neispravan unos: očekuje se instanceof ${n.expected}, a primljeno je ${u}`:`Neispravan unos: očekuje se ${s}, a primljeno je ${u}`}case"invalid_value":return n.values.length===1?`Neispravna vrijednost: očekivano ${$e(n.values[0])}`:`Neispravna opcija: očekivano jedno od ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin),u=i[n.origin]??n.origin;return l?`Preveliko: očekivano da ${u??"vrijednost"} ima ${s}${n.maximum.toString()} ${l.unit??"elemenata"}`:`Preveliko: očekivano da ${u??"vrijednost"} bude ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin),u=i[n.origin]??n.origin;return l?`Premalo: očekivano da ${u} ima ${s}${n.minimum.toString()} ${l.unit}`:`Premalo: očekivano da ${u} bude ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Neispravan tekst: mora započinjati s "${s.prefix}"`:s.format==="ends_with"?`Neispravan tekst: mora završavati s "${s.suffix}"`:s.format==="includes"?`Neispravan tekst: mora sadržavati "${s.includes}"`:s.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${s.pattern}`:`Neispravna ${r[s.format]??n.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${n.divisor}`;case"unrecognized_keys":return`Neprepoznat${n.keys.length>1?"i ključevi":" ključ"}: ${G(n.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${i[n.origin]??n.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${i[n.origin]??n.origin}`;default:return"Neispravan unos"}}};function QC(){return{localeError:XC()}}const e$=()=>{const e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(n){return e[n]??null}const r={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},i={nan:"NaN",number:"szám",array:"tömb"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Érvénytelen bemenet: a várt érték instanceof ${n.expected}, a kapott érték ${u}`:`Érvénytelen bemenet: a várt érték ${s}, a kapott érték ${u}`}case"invalid_value":return n.values.length===1?`Érvénytelen bemenet: a várt érték ${$e(n.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Túl nagy: ${n.origin??"érték"} mérete túl nagy ${s}${n.maximum.toString()} ${l.unit??"elem"}`:`Túl nagy: a bemeneti érték ${n.origin??"érték"} túl nagy: ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Túl kicsi: a bemeneti érték ${n.origin} mérete túl kicsi ${s}${n.minimum.toString()} ${l.unit}`:`Túl kicsi: a bemeneti érték ${n.origin} túl kicsi ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Érvénytelen string: "${s.prefix}" értékkel kell kezdődnie`:s.format==="ends_with"?`Érvénytelen string: "${s.suffix}" értékkel kell végződnie`:s.format==="includes"?`Érvénytelen string: "${s.includes}" értéket kell tartalmaznia`:s.format==="regex"?`Érvénytelen string: ${s.pattern} mintának kell megfelelnie`:`Érvénytelen ${r[s.format]??n.format}`}case"not_multiple_of":return`Érvénytelen szám: ${n.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${n.keys.length>1?"s":""}: ${G(n.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${n.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${n.origin}`;default:return"Érvénytelen bemenet"}}};function t$(){return{localeError:e$()}}function g8(e,t,r){return Math.abs(e)===1?t:r}function Qi(e){if(!e)return"";const t=["ա","ե","ը","ի","ո","ու","օ"],r=e[e.length-1];return e+(t.includes(r)?"ն":"ը")}const n$=()=>{const e={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function t(n){return e[n]??null}const r={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},i={nan:"NaN",number:"թիվ",array:"զանգված"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${n.expected}, ստացվել է ${u}`:`Սխալ մուտքագրում․ սպասվում էր ${s}, ստացվել է ${u}`}case"invalid_value":return n.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${$e(n.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);if(l){const u=Number(n.maximum),f=g8(u,l.unit.one,l.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${Qi(n.origin??"արժեք")} կունենա ${s}${n.maximum.toString()} ${f}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${Qi(n.origin??"արժեք")} լինի ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);if(l){const u=Number(n.minimum),f=g8(u,l.unit.one,l.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${Qi(n.origin)} կունենա ${s}${n.minimum.toString()} ${f}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${Qi(n.origin)} լինի ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Սխալ տող․ պետք է սկսվի "${s.prefix}"-ով`:s.format==="ends_with"?`Սխալ տող․ պետք է ավարտվի "${s.suffix}"-ով`:s.format==="includes"?`Սխալ տող․ պետք է պարունակի "${s.includes}"`:s.format==="regex"?`Սխալ տող․ պետք է համապատասխանի ${s.pattern} ձևաչափին`:`Սխալ ${r[s.format]??n.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${n.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${n.keys.length>1?"ներ":""}. ${G(n.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${Qi(n.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${Qi(n.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function r$(){return{localeError:n$()}}const i$=()=>{const e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(n){return e[n]??null}const r={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Input tidak valid: diharapkan instanceof ${n.expected}, diterima ${u}`:`Input tidak valid: diharapkan ${s}, diterima ${u}`}case"invalid_value":return n.values.length===1?`Input tidak valid: diharapkan ${$e(n.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Terlalu besar: diharapkan ${n.origin??"value"} memiliki ${s}${n.maximum.toString()} ${l.unit??"elemen"}`:`Terlalu besar: diharapkan ${n.origin??"value"} menjadi ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Terlalu kecil: diharapkan ${n.origin} memiliki ${s}${n.minimum.toString()} ${l.unit}`:`Terlalu kecil: diharapkan ${n.origin} menjadi ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`String tidak valid: harus dimulai dengan "${s.prefix}"`:s.format==="ends_with"?`String tidak valid: harus berakhir dengan "${s.suffix}"`:s.format==="includes"?`String tidak valid: harus menyertakan "${s.includes}"`:s.format==="regex"?`String tidak valid: harus sesuai pola ${s.pattern}`:`${r[s.format]??n.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${n.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${n.keys.length>1?"s":""}: ${G(n.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${n.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${n.origin}`;default:return"Input tidak valid"}}};function o$(){return{localeError:i$()}}const s$=()=>{const e={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function t(n){return e[n]??null}const r={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",jwt:"JWT",template_literal:"gildi"},i={nan:"NaN",number:"númer",array:"fylki"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Rangt gildi: Þú slóst inn ${u} þar sem á að vera instanceof ${n.expected}`:`Rangt gildi: Þú slóst inn ${u} þar sem á að vera ${s}`}case"invalid_value":return n.values.length===1?`Rangt gildi: gert ráð fyrir ${$e(n.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Of stórt: gert er ráð fyrir að ${n.origin??"gildi"} hafi ${s}${n.maximum.toString()} ${l.unit??"hluti"}`:`Of stórt: gert er ráð fyrir að ${n.origin??"gildi"} sé ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Of lítið: gert er ráð fyrir að ${n.origin} hafi ${s}${n.minimum.toString()} ${l.unit}`:`Of lítið: gert er ráð fyrir að ${n.origin} sé ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Ógildur strengur: verður að byrja á "${s.prefix}"`:s.format==="ends_with"?`Ógildur strengur: verður að enda á "${s.suffix}"`:s.format==="includes"?`Ógildur strengur: verður að innihalda "${s.includes}"`:s.format==="regex"?`Ógildur strengur: verður að fylgja mynstri ${s.pattern}`:`Rangt ${r[s.format]??n.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${n.divisor}`;case"unrecognized_keys":return`Óþekkt ${n.keys.length>1?"ir lyklar":"ur lykill"}: ${G(n.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${n.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${n.origin}`;default:return"Rangt gildi"}}};function a$(){return{localeError:s$()}}const l$=()=>{const e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(n){return e[n]??null}const r={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"numero",array:"vettore"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Input non valido: atteso instanceof ${n.expected}, ricevuto ${u}`:`Input non valido: atteso ${s}, ricevuto ${u}`}case"invalid_value":return n.values.length===1?`Input non valido: atteso ${$e(n.values[0])}`:`Opzione non valida: atteso uno tra ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Troppo grande: ${n.origin??"valore"} deve avere ${s}${n.maximum.toString()} ${l.unit??"elementi"}`:`Troppo grande: ${n.origin??"valore"} deve essere ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Troppo piccolo: ${n.origin} deve avere ${s}${n.minimum.toString()} ${l.unit}`:`Troppo piccolo: ${n.origin} deve essere ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Stringa non valida: deve iniziare con "${s.prefix}"`:s.format==="ends_with"?`Stringa non valida: deve terminare con "${s.suffix}"`:s.format==="includes"?`Stringa non valida: deve includere "${s.includes}"`:s.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${s.pattern}`:`Input non valido: ${r[s.format]??n.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${n.divisor}`;case"unrecognized_keys":return`Chiav${n.keys.length>1?"i":"e"} non riconosciut${n.keys.length>1?"e":"a"}: ${G(n.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${n.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${n.origin}`;default:return"Input non valido"}}};function c$(){return{localeError:l$()}}const u$=()=>{const e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function t(n){return e[n]??null}const r={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},i={nan:"NaN",number:"数値",array:"配列"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`無効な入力: instanceof ${n.expected}が期待されましたが、${u}が入力されました`:`無効な入力: ${s}が期待されましたが、${u}が入力されました`}case"invalid_value":return n.values.length===1?`無効な入力: ${$e(n.values[0])}が期待されました`:`無効な選択: ${G(n.values,"、")}のいずれかである必要があります`;case"too_big":{const s=n.inclusive?"以下である":"より小さい",l=t(n.origin);return l?`大きすぎる値: ${n.origin??"値"}は${n.maximum.toString()}${l.unit??"要素"}${s}必要があります`:`大きすぎる値: ${n.origin??"値"}は${n.maximum.toString()}${s}必要があります`}case"too_small":{const s=n.inclusive?"以上である":"より大きい",l=t(n.origin);return l?`小さすぎる値: ${n.origin}は${n.minimum.toString()}${l.unit}${s}必要があります`:`小さすぎる値: ${n.origin}は${n.minimum.toString()}${s}必要があります`}case"invalid_format":{const s=n;return s.format==="starts_with"?`無効な文字列: "${s.prefix}"で始まる必要があります`:s.format==="ends_with"?`無効な文字列: "${s.suffix}"で終わる必要があります`:s.format==="includes"?`無効な文字列: "${s.includes}"を含む必要があります`:s.format==="regex"?`無効な文字列: パターン${s.pattern}に一致する必要があります`:`無効な${r[s.format]??n.format}`}case"not_multiple_of":return`無効な数値: ${n.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${n.keys.length>1?"群":""}: ${G(n.keys,"、")}`;case"invalid_key":return`${n.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${n.origin}内の無効な値`;default:return"無効な入力"}}};function d$(){return{localeError:u$()}}const f$=()=>{const e={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function t(n){return e[n]??null}const r={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},i={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${n.expected}, მიღებული ${u}`:`არასწორი შეყვანა: მოსალოდნელი ${s}, მიღებული ${u}`}case"invalid_value":return n.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${$e(n.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${G(n.values,"|")}-დან`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`ზედმეტად დიდი: მოსალოდნელი ${n.origin??"მნიშვნელობა"} ${l.verb} ${s}${n.maximum.toString()} ${l.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${n.origin??"მნიშვნელობა"} იყოს ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`ზედმეტად პატარა: მოსალოდნელი ${n.origin} ${l.verb} ${s}${n.minimum.toString()} ${l.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${n.origin} იყოს ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`არასწორი ველი: უნდა იწყებოდეს "${s.prefix}"-ით`:s.format==="ends_with"?`არასწორი ველი: უნდა მთავრდებოდეს "${s.suffix}"-ით`:s.format==="includes"?`არასწორი ველი: უნდა შეიცავდეს "${s.includes}"-ს`:s.format==="regex"?`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${s.pattern}`:`არასწორი ${r[s.format]??n.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${n.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${n.keys.length>1?"ები":"ი"}: ${G(n.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${n.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${n.origin}-ში`;default:return"არასწორი შეყვანა"}}};function h$(){return{localeError:f$()}}const p$=()=>{const e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function t(n){return e[n]??null}const r={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},i={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${n.expected} ប៉ុន្តែទទួលបាន ${u}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${s} ប៉ុន្តែទទួលបាន ${u}`}case"invalid_value":return n.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${$e(n.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`ធំពេក៖ ត្រូវការ ${n.origin??"តម្លៃ"} ${s} ${n.maximum.toString()} ${l.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${n.origin??"តម្លៃ"} ${s} ${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`តូចពេក៖ ត្រូវការ ${n.origin} ${s} ${n.minimum.toString()} ${l.unit}`:`តូចពេក៖ ត្រូវការ ${n.origin} ${s} ${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${s.prefix}"`:s.format==="ends_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${s.suffix}"`:s.format==="includes"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${s.includes}"`:s.format==="regex"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${s.pattern}`:`មិនត្រឹមត្រូវ៖ ${r[s.format]??n.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${n.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${G(n.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${n.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${n.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function Hm(){return{localeError:p$()}}function m$(){return Hm()}const g$=()=>{const e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function t(n){return e[n]??null}const r={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`잘못된 입력: 예상 타입은 instanceof ${n.expected}, 받은 타입은 ${u}입니다`:`잘못된 입력: 예상 타입은 ${s}, 받은 타입은 ${u}입니다`}case"invalid_value":return n.values.length===1?`잘못된 입력: 값은 ${$e(n.values[0])} 이어야 합니다`:`잘못된 옵션: ${G(n.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{const s=n.inclusive?"이하":"미만",l=s==="미만"?"이어야 합니다":"여야 합니다",u=t(n.origin),f=u?.unit??"요소";return u?`${n.origin??"값"}이 너무 큽니다: ${n.maximum.toString()}${f} ${s}${l}`:`${n.origin??"값"}이 너무 큽니다: ${n.maximum.toString()} ${s}${l}`}case"too_small":{const s=n.inclusive?"이상":"초과",l=s==="이상"?"이어야 합니다":"여야 합니다",u=t(n.origin),f=u?.unit??"요소";return u?`${n.origin??"값"}이 너무 작습니다: ${n.minimum.toString()}${f} ${s}${l}`:`${n.origin??"값"}이 너무 작습니다: ${n.minimum.toString()} ${s}${l}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`잘못된 문자열: "${s.prefix}"(으)로 시작해야 합니다`:s.format==="ends_with"?`잘못된 문자열: "${s.suffix}"(으)로 끝나야 합니다`:s.format==="includes"?`잘못된 문자열: "${s.includes}"을(를) 포함해야 합니다`:s.format==="regex"?`잘못된 문자열: 정규식 ${s.pattern} 패턴과 일치해야 합니다`:`잘못된 ${r[s.format]??n.format}`}case"not_multiple_of":return`잘못된 숫자: ${n.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${G(n.keys,", ")}`;case"invalid_key":return`잘못된 키: ${n.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${n.origin}`;default:return"잘못된 입력"}}};function v$(){return{localeError:g$()}}const Ms=e=>e.charAt(0).toUpperCase()+e.slice(1);function v8(e){const t=Math.abs(e),r=t%10,i=t%100;return i>=11&&i<=19||r===0?"many":r===1?"one":"few"}const y$=()=>{const e={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function t(n,s,l,u){const f=e[n]??null;return f===null?f:{unit:f.unit[s],verb:f.verb[u][l?"inclusive":"notInclusive"]}}const r={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},i={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Gautas tipas ${u}, o tikėtasi - instanceof ${n.expected}`:`Gautas tipas ${u}, o tikėtasi - ${s}`}case"invalid_value":return n.values.length===1?`Privalo būti ${$e(n.values[0])}`:`Privalo būti vienas iš ${G(n.values,"|")} pasirinkimų`;case"too_big":{const s=i[n.origin]??n.origin,l=t(n.origin,v8(Number(n.maximum)),n.inclusive??!1,"smaller");if(l?.verb)return`${Ms(s??n.origin??"reikšmė")} ${l.verb} ${n.maximum.toString()} ${l.unit??"elementų"}`;const u=n.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${Ms(s??n.origin??"reikšmė")} turi būti ${u} ${n.maximum.toString()} ${l?.unit}`}case"too_small":{const s=i[n.origin]??n.origin,l=t(n.origin,v8(Number(n.minimum)),n.inclusive??!1,"bigger");if(l?.verb)return`${Ms(s??n.origin??"reikšmė")} ${l.verb} ${n.minimum.toString()} ${l.unit??"elementų"}`;const u=n.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${Ms(s??n.origin??"reikšmė")} turi būti ${u} ${n.minimum.toString()} ${l?.unit}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Eilutė privalo prasidėti "${s.prefix}"`:s.format==="ends_with"?`Eilutė privalo pasibaigti "${s.suffix}"`:s.format==="includes"?`Eilutė privalo įtraukti "${s.includes}"`:s.format==="regex"?`Eilutė privalo atitikti ${s.pattern}`:`Neteisingas ${r[s.format]??n.format}`}case"not_multiple_of":return`Skaičius privalo būti ${n.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${n.keys.length>1?"i":"as"} rakt${n.keys.length>1?"ai":"as"}: ${G(n.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{const s=i[n.origin]??n.origin;return`${Ms(s??n.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function _$(){return{localeError:y$()}}const w$=()=>{const e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function t(n){return e[n]??null}const r={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},i={nan:"NaN",number:"број",array:"низа"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Грешен внес: се очекува instanceof ${n.expected}, примено ${u}`:`Грешен внес: се очекува ${s}, примено ${u}`}case"invalid_value":return n.values.length===1?`Invalid input: expected ${$e(n.values[0])}`:`Грешана опција: се очекува една ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Премногу голем: се очекува ${n.origin??"вредноста"} да има ${s}${n.maximum.toString()} ${l.unit??"елементи"}`:`Премногу голем: се очекува ${n.origin??"вредноста"} да биде ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Премногу мал: се очекува ${n.origin} да има ${s}${n.minimum.toString()} ${l.unit}`:`Премногу мал: се очекува ${n.origin} да биде ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Неважечка низа: мора да започнува со "${s.prefix}"`:s.format==="ends_with"?`Неважечка низа: мора да завршува со "${s.suffix}"`:s.format==="includes"?`Неважечка низа: мора да вклучува "${s.includes}"`:s.format==="regex"?`Неважечка низа: мора да одгоара на патернот ${s.pattern}`:`Invalid ${r[s.format]??n.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${G(n.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${n.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${n.origin}`;default:return"Грешен внес"}}};function b$(){return{localeError:w$()}}const x$=()=>{const e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(n){return e[n]??null}const r={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"nombor"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Input tidak sah: dijangka instanceof ${n.expected}, diterima ${u}`:`Input tidak sah: dijangka ${s}, diterima ${u}`}case"invalid_value":return n.values.length===1?`Input tidak sah: dijangka ${$e(n.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Terlalu besar: dijangka ${n.origin??"nilai"} ${l.verb} ${s}${n.maximum.toString()} ${l.unit??"elemen"}`:`Terlalu besar: dijangka ${n.origin??"nilai"} adalah ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Terlalu kecil: dijangka ${n.origin} ${l.verb} ${s}${n.minimum.toString()} ${l.unit}`:`Terlalu kecil: dijangka ${n.origin} adalah ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`String tidak sah: mesti bermula dengan "${s.prefix}"`:s.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${s.suffix}"`:s.format==="includes"?`String tidak sah: mesti mengandungi "${s.includes}"`:s.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${s.pattern}`:`${r[s.format]??n.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${n.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${G(n.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${n.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${n.origin}`;default:return"Input tidak sah"}}};function k$(){return{localeError:x$()}}const C$=()=>{const e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function t(n){return e[n]??null}const r={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},i={nan:"NaN",number:"getal"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Ongeldige invoer: verwacht instanceof ${n.expected}, ontving ${u}`:`Ongeldige invoer: verwacht ${s}, ontving ${u}`}case"invalid_value":return n.values.length===1?`Ongeldige invoer: verwacht ${$e(n.values[0])}`:`Ongeldige optie: verwacht één van ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin),u=n.origin==="date"?"laat":n.origin==="string"?"lang":"groot";return l?`Te ${u}: verwacht dat ${n.origin??"waarde"} ${s}${n.maximum.toString()} ${l.unit??"elementen"} ${l.verb}`:`Te ${u}: verwacht dat ${n.origin??"waarde"} ${s}${n.maximum.toString()} is`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin),u=n.origin==="date"?"vroeg":n.origin==="string"?"kort":"klein";return l?`Te ${u}: verwacht dat ${n.origin} ${s}${n.minimum.toString()} ${l.unit} ${l.verb}`:`Te ${u}: verwacht dat ${n.origin} ${s}${n.minimum.toString()} is`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Ongeldige tekst: moet met "${s.prefix}" beginnen`:s.format==="ends_with"?`Ongeldige tekst: moet op "${s.suffix}" eindigen`:s.format==="includes"?`Ongeldige tekst: moet "${s.includes}" bevatten`:s.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${s.pattern}`:`Ongeldig: ${r[s.format]??n.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${n.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${n.keys.length>1?"s":""}: ${G(n.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${n.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${n.origin}`;default:return"Ongeldige invoer"}}};function $$(){return{localeError:C$()}}const S$=()=>{const e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function t(n){return e[n]??null}const r={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"tall",array:"liste"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Ugyldig input: forventet instanceof ${n.expected}, fikk ${u}`:`Ugyldig input: forventet ${s}, fikk ${u}`}case"invalid_value":return n.values.length===1?`Ugyldig verdi: forventet ${$e(n.values[0])}`:`Ugyldig valg: forventet en av ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`For stor(t): forventet ${n.origin??"value"} til å ha ${s}${n.maximum.toString()} ${l.unit??"elementer"}`:`For stor(t): forventet ${n.origin??"value"} til å ha ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`For lite(n): forventet ${n.origin} til å ha ${s}${n.minimum.toString()} ${l.unit}`:`For lite(n): forventet ${n.origin} til å ha ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Ugyldig streng: må starte med "${s.prefix}"`:s.format==="ends_with"?`Ugyldig streng: må ende med "${s.suffix}"`:s.format==="includes"?`Ugyldig streng: må inneholde "${s.includes}"`:s.format==="regex"?`Ugyldig streng: må matche mønsteret ${s.pattern}`:`Ugyldig ${r[s.format]??n.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${G(n.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${n.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${n.origin}`;default:return"Ugyldig input"}}};function I$(){return{localeError:S$()}}const z$=()=>{const e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function t(n){return e[n]??null}const r={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},i={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Fâsit giren: umulan instanceof ${n.expected}, alınan ${u}`:`Fâsit giren: umulan ${s}, alınan ${u}`}case"invalid_value":return n.values.length===1?`Fâsit giren: umulan ${$e(n.values[0])}`:`Fâsit tercih: mûteberler ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Fazla büyük: ${n.origin??"value"}, ${s}${n.maximum.toString()} ${l.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${n.origin??"value"}, ${s}${n.maximum.toString()} olmalıydı.`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Fazla küçük: ${n.origin}, ${s}${n.minimum.toString()} ${l.unit} sahip olmalıydı.`:`Fazla küçük: ${n.origin}, ${s}${n.minimum.toString()} olmalıydı.`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Fâsit metin: "${s.prefix}" ile başlamalı.`:s.format==="ends_with"?`Fâsit metin: "${s.suffix}" ile bitmeli.`:s.format==="includes"?`Fâsit metin: "${s.includes}" ihtivâ etmeli.`:s.format==="regex"?`Fâsit metin: ${s.pattern} nakşına uymalı.`:`Fâsit ${r[s.format]??n.format}`}case"not_multiple_of":return`Fâsit sayı: ${n.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${n.keys.length>1?"s":""}: ${G(n.keys,", ")}`;case"invalid_key":return`${n.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${n.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function j$(){return{localeError:z$()}}const E$=()=>{const e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function t(n){return e[n]??null}const r={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},i={nan:"NaN",number:"عدد",array:"ارې"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`ناسم ورودي: باید instanceof ${n.expected} وای, مګر ${u} ترلاسه شو`:`ناسم ورودي: باید ${s} وای, مګر ${u} ترلاسه شو`}case"invalid_value":return n.values.length===1?`ناسم ورودي: باید ${$e(n.values[0])} وای`:`ناسم انتخاب: باید یو له ${G(n.values,"|")} څخه وای`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`ډیر لوی: ${n.origin??"ارزښت"} باید ${s}${n.maximum.toString()} ${l.unit??"عنصرونه"} ولري`:`ډیر لوی: ${n.origin??"ارزښت"} باید ${s}${n.maximum.toString()} وي`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`ډیر کوچنی: ${n.origin} باید ${s}${n.minimum.toString()} ${l.unit} ولري`:`ډیر کوچنی: ${n.origin} باید ${s}${n.minimum.toString()} وي`}case"invalid_format":{const s=n;return s.format==="starts_with"?`ناسم متن: باید د "${s.prefix}" سره پیل شي`:s.format==="ends_with"?`ناسم متن: باید د "${s.suffix}" سره پای ته ورسيږي`:s.format==="includes"?`ناسم متن: باید "${s.includes}" ولري`:s.format==="regex"?`ناسم متن: باید د ${s.pattern} سره مطابقت ولري`:`${r[s.format]??n.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${n.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${n.keys.length>1?"کلیډونه":"کلیډ"}: ${G(n.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${n.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${n.origin} کې`;default:return"ناسمه ورودي"}}};function O$(){return{localeError:E$()}}const M$=()=>{const e={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function t(n){return e[n]??null}const r={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},i={nan:"NaN",number:"liczba",array:"tablica"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${n.expected}, otrzymano ${u}`:`Nieprawidłowe dane wejściowe: oczekiwano ${s}, otrzymano ${u}`}case"invalid_value":return n.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${$e(n.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Za duża wartość: oczekiwano, że ${n.origin??"wartość"} będzie mieć ${s}${n.maximum.toString()} ${l.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${n.origin??"wartość"} będzie wynosić ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Za mała wartość: oczekiwano, że ${n.origin??"wartość"} będzie mieć ${s}${n.minimum.toString()} ${l.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${n.origin??"wartość"} będzie wynosić ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${s.prefix}"`:s.format==="ends_with"?`Nieprawidłowy ciąg znaków: musi kończyć się na "${s.suffix}"`:s.format==="includes"?`Nieprawidłowy ciąg znaków: musi zawierać "${s.includes}"`:s.format==="regex"?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${s.pattern}`:`Nieprawidłow(y/a/e) ${r[s.format]??n.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${n.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${n.keys.length>1?"s":""}: ${G(n.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${n.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${n.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function T$(){return{localeError:M$()}}const L$=()=>{const e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(n){return e[n]??null}const r={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",number:"número",null:"nulo"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Tipo inválido: esperado instanceof ${n.expected}, recebido ${u}`:`Tipo inválido: esperado ${s}, recebido ${u}`}case"invalid_value":return n.values.length===1?`Entrada inválida: esperado ${$e(n.values[0])}`:`Opção inválida: esperada uma das ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Muito grande: esperado que ${n.origin??"valor"} tivesse ${s}${n.maximum.toString()} ${l.unit??"elementos"}`:`Muito grande: esperado que ${n.origin??"valor"} fosse ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Muito pequeno: esperado que ${n.origin} tivesse ${s}${n.minimum.toString()} ${l.unit}`:`Muito pequeno: esperado que ${n.origin} fosse ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Texto inválido: deve começar com "${s.prefix}"`:s.format==="ends_with"?`Texto inválido: deve terminar com "${s.suffix}"`:s.format==="includes"?`Texto inválido: deve incluir "${s.includes}"`:s.format==="regex"?`Texto inválido: deve corresponder ao padrão ${s.pattern}`:`${r[s.format]??n.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${n.divisor}`;case"unrecognized_keys":return`Chave${n.keys.length>1?"s":""} desconhecida${n.keys.length>1?"s":""}: ${G(n.keys,", ")}`;case"invalid_key":return`Chave inválida em ${n.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${n.origin}`;default:return"Campo inválido"}}};function N$(){return{localeError:L$()}}const P$=()=>{const e={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function t(n){return e[n]??null}const r={regex:"intrare",email:"adresă de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},i={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return`Intrare invalidă: așteptat ${s}, primit ${u}`}case"invalid_value":return n.values.length===1?`Intrare invalidă: așteptat ${$e(n.values[0])}`:`Opțiune invalidă: așteptat una dintre ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Prea mare: așteptat ca ${n.origin??"valoarea"} ${l.verb} ${s}${n.maximum.toString()} ${l.unit??"elemente"}`:`Prea mare: așteptat ca ${n.origin??"valoarea"} să fie ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Prea mic: așteptat ca ${n.origin} ${l.verb} ${s}${n.minimum.toString()} ${l.unit}`:`Prea mic: așteptat ca ${n.origin} să fie ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Șir invalid: trebuie să înceapă cu "${s.prefix}"`:s.format==="ends_with"?`Șir invalid: trebuie să se termine cu "${s.suffix}"`:s.format==="includes"?`Șir invalid: trebuie să includă "${s.includes}"`:s.format==="regex"?`Șir invalid: trebuie să se potrivească cu modelul ${s.pattern}`:`Format invalid: ${r[s.format]??n.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${n.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${G(n.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${n.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${n.origin}`;default:return"Intrare invalidă"}}};function D$(){return{localeError:P$()}}function y8(e,t,r,i){const n=Math.abs(e),s=n%10,l=n%100;return l>=11&&l<=19?i:s===1?t:s>=2&&s<=4?r:i}const R$=()=>{const e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function t(n){return e[n]??null}const r={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},i={nan:"NaN",number:"число",array:"массив"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Неверный ввод: ожидалось instanceof ${n.expected}, получено ${u}`:`Неверный ввод: ожидалось ${s}, получено ${u}`}case"invalid_value":return n.values.length===1?`Неверный ввод: ожидалось ${$e(n.values[0])}`:`Неверный вариант: ожидалось одно из ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);if(l){const u=Number(n.maximum),f=y8(u,l.unit.one,l.unit.few,l.unit.many);return`Слишком большое значение: ожидалось, что ${n.origin??"значение"} будет иметь ${s}${n.maximum.toString()} ${f}`}return`Слишком большое значение: ожидалось, что ${n.origin??"значение"} будет ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);if(l){const u=Number(n.minimum),f=y8(u,l.unit.one,l.unit.few,l.unit.many);return`Слишком маленькое значение: ожидалось, что ${n.origin} будет иметь ${s}${n.minimum.toString()} ${f}`}return`Слишком маленькое значение: ожидалось, что ${n.origin} будет ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Неверная строка: должна начинаться с "${s.prefix}"`:s.format==="ends_with"?`Неверная строка: должна заканчиваться на "${s.suffix}"`:s.format==="includes"?`Неверная строка: должна содержать "${s.includes}"`:s.format==="regex"?`Неверная строка: должна соответствовать шаблону ${s.pattern}`:`Неверный ${r[s.format]??n.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${n.divisor}`;case"unrecognized_keys":return`Нераспознанн${n.keys.length>1?"ые":"ый"} ключ${n.keys.length>1?"и":""}: ${G(n.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${n.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${n.origin}`;default:return"Неверные входные данные"}}};function A$(){return{localeError:R$()}}const F$=()=>{const e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(n){return e[n]??null}const r={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},i={nan:"NaN",number:"število",array:"tabela"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Neveljaven vnos: pričakovano instanceof ${n.expected}, prejeto ${u}`:`Neveljaven vnos: pričakovano ${s}, prejeto ${u}`}case"invalid_value":return n.values.length===1?`Neveljaven vnos: pričakovano ${$e(n.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Preveliko: pričakovano, da bo ${n.origin??"vrednost"} imelo ${s}${n.maximum.toString()} ${l.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${n.origin??"vrednost"} ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Premajhno: pričakovano, da bo ${n.origin} imelo ${s}${n.minimum.toString()} ${l.unit}`:`Premajhno: pričakovano, da bo ${n.origin} ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Neveljaven niz: mora se začeti z "${s.prefix}"`:s.format==="ends_with"?`Neveljaven niz: mora se končati z "${s.suffix}"`:s.format==="includes"?`Neveljaven niz: mora vsebovati "${s.includes}"`:s.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${s.pattern}`:`Neveljaven ${r[s.format]??n.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${n.divisor}`;case"unrecognized_keys":return`Neprepoznan${n.keys.length>1?"i ključi":" ključ"}: ${G(n.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${n.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${n.origin}`;default:return"Neveljaven vnos"}}};function U$(){return{localeError:F$()}}const H$=()=>{const e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function t(n){return e[n]??null}const r={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},i={nan:"NaN",number:"antal",array:"lista"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Ogiltig inmatning: förväntat instanceof ${n.expected}, fick ${u}`:`Ogiltig inmatning: förväntat ${s}, fick ${u}`}case"invalid_value":return n.values.length===1?`Ogiltig inmatning: förväntat ${$e(n.values[0])}`:`Ogiltigt val: förväntade en av ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`För stor(t): förväntade ${n.origin??"värdet"} att ha ${s}${n.maximum.toString()} ${l.unit??"element"}`:`För stor(t): förväntat ${n.origin??"värdet"} att ha ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`För lite(t): förväntade ${n.origin??"värdet"} att ha ${s}${n.minimum.toString()} ${l.unit}`:`För lite(t): förväntade ${n.origin??"värdet"} att ha ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Ogiltig sträng: måste börja med "${s.prefix}"`:s.format==="ends_with"?`Ogiltig sträng: måste sluta med "${s.suffix}"`:s.format==="includes"?`Ogiltig sträng: måste innehålla "${s.includes}"`:s.format==="regex"?`Ogiltig sträng: måste matcha mönstret "${s.pattern}"`:`Ogiltig(t) ${r[s.format]??n.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${G(n.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${n.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${n.origin??"värdet"}`;default:return"Ogiltig input"}}};function Z$(){return{localeError:H$()}}const V$=()=>{const e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function t(n){return e[n]??null}const r={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${n.expected}, பெறப்பட்டது ${u}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${s}, பெறப்பட்டது ${u}`}case"invalid_value":return n.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${$e(n.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${G(n.values,"|")} இல் ஒன்று`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${n.origin??"மதிப்பு"} ${s}${n.maximum.toString()} ${l.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${n.origin??"மதிப்பு"} ${s}${n.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${n.origin} ${s}${n.minimum.toString()} ${l.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${n.origin} ${s}${n.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{const s=n;return s.format==="starts_with"?`தவறான சரம்: "${s.prefix}" இல் தொடங்க வேண்டும்`:s.format==="ends_with"?`தவறான சரம்: "${s.suffix}" இல் முடிவடைய வேண்டும்`:s.format==="includes"?`தவறான சரம்: "${s.includes}" ஐ உள்ளடக்க வேண்டும்`:s.format==="regex"?`தவறான சரம்: ${s.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${r[s.format]??n.format}`}case"not_multiple_of":return`தவறான எண்: ${n.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${n.keys.length>1?"கள்":""}: ${G(n.keys,", ")}`;case"invalid_key":return`${n.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${n.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function B$(){return{localeError:V$()}}const W$=()=>{const e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function t(n){return e[n]??null}const r={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},i={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${n.expected} แต่ได้รับ ${u}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${s} แต่ได้รับ ${u}`}case"invalid_value":return n.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${$e(n.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"ไม่เกิน":"น้อยกว่า",l=t(n.origin);return l?`เกินกำหนด: ${n.origin??"ค่า"} ควรมี${s} ${n.maximum.toString()} ${l.unit??"รายการ"}`:`เกินกำหนด: ${n.origin??"ค่า"} ควรมี${s} ${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?"อย่างน้อย":"มากกว่า",l=t(n.origin);return l?`น้อยกว่ากำหนด: ${n.origin} ควรมี${s} ${n.minimum.toString()} ${l.unit}`:`น้อยกว่ากำหนด: ${n.origin} ควรมี${s} ${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${s.prefix}"`:s.format==="ends_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${s.suffix}"`:s.format==="includes"?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${s.includes}" อยู่ในข้อความ`:s.format==="regex"?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${s.pattern}`:`รูปแบบไม่ถูกต้อง: ${r[s.format]??n.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${n.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${G(n.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${n.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${n.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function K$(){return{localeError:W$()}}const q$=()=>{const e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function t(n){return e[n]??null}const r={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Geçersiz değer: beklenen instanceof ${n.expected}, alınan ${u}`:`Geçersiz değer: beklenen ${s}, alınan ${u}`}case"invalid_value":return n.values.length===1?`Geçersiz değer: beklenen ${$e(n.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Çok büyük: beklenen ${n.origin??"değer"} ${s}${n.maximum.toString()} ${l.unit??"öğe"}`:`Çok büyük: beklenen ${n.origin??"değer"} ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Çok küçük: beklenen ${n.origin} ${s}${n.minimum.toString()} ${l.unit}`:`Çok küçük: beklenen ${n.origin} ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Geçersiz metin: "${s.prefix}" ile başlamalı`:s.format==="ends_with"?`Geçersiz metin: "${s.suffix}" ile bitmeli`:s.format==="includes"?`Geçersiz metin: "${s.includes}" içermeli`:s.format==="regex"?`Geçersiz metin: ${s.pattern} desenine uymalı`:`Geçersiz ${r[s.format]??n.format}`}case"not_multiple_of":return`Geçersiz sayı: ${n.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${n.keys.length>1?"lar":""}: ${G(n.keys,", ")}`;case"invalid_key":return`${n.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${n.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function J$(){return{localeError:q$()}}const G$=()=>{const e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function t(n){return e[n]??null}const r={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},i={nan:"NaN",number:"число",array:"масив"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Неправильні вхідні дані: очікується instanceof ${n.expected}, отримано ${u}`:`Неправильні вхідні дані: очікується ${s}, отримано ${u}`}case"invalid_value":return n.values.length===1?`Неправильні вхідні дані: очікується ${$e(n.values[0])}`:`Неправильна опція: очікується одне з ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Занадто велике: очікується, що ${n.origin??"значення"} ${l.verb} ${s}${n.maximum.toString()} ${l.unit??"елементів"}`:`Занадто велике: очікується, що ${n.origin??"значення"} буде ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Занадто мале: очікується, що ${n.origin} ${l.verb} ${s}${n.minimum.toString()} ${l.unit}`:`Занадто мале: очікується, що ${n.origin} буде ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Неправильний рядок: повинен починатися з "${s.prefix}"`:s.format==="ends_with"?`Неправильний рядок: повинен закінчуватися на "${s.suffix}"`:s.format==="includes"?`Неправильний рядок: повинен містити "${s.includes}"`:s.format==="regex"?`Неправильний рядок: повинен відповідати шаблону ${s.pattern}`:`Неправильний ${r[s.format]??n.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${n.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${n.keys.length>1?"і":""}: ${G(n.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${n.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${n.origin}`;default:return"Неправильні вхідні дані"}}};function Zm(){return{localeError:G$()}}function Y$(){return Zm()}const X$=()=>{const e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function t(n){return e[n]??null}const r={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},i={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`غلط ان پٹ: instanceof ${n.expected} متوقع تھا، ${u} موصول ہوا`:`غلط ان پٹ: ${s} متوقع تھا، ${u} موصول ہوا`}case"invalid_value":return n.values.length===1?`غلط ان پٹ: ${$e(n.values[0])} متوقع تھا`:`غلط آپشن: ${G(n.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`بہت بڑا: ${n.origin??"ویلیو"} کے ${s}${n.maximum.toString()} ${l.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${n.origin??"ویلیو"} کا ${s}${n.maximum.toString()} ہونا متوقع تھا`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`بہت چھوٹا: ${n.origin} کے ${s}${n.minimum.toString()} ${l.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${n.origin} کا ${s}${n.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{const s=n;return s.format==="starts_with"?`غلط سٹرنگ: "${s.prefix}" سے شروع ہونا چاہیے`:s.format==="ends_with"?`غلط سٹرنگ: "${s.suffix}" پر ختم ہونا چاہیے`:s.format==="includes"?`غلط سٹرنگ: "${s.includes}" شامل ہونا چاہیے`:s.format==="regex"?`غلط سٹرنگ: پیٹرن ${s.pattern} سے میچ ہونا چاہیے`:`غلط ${r[s.format]??n.format}`}case"not_multiple_of":return`غلط نمبر: ${n.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${n.keys.length>1?"ز":""}: ${G(n.keys,"، ")}`;case"invalid_key":return`${n.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${n.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function Q$(){return{localeError:X$()}}const eS=()=>{const e={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function t(n){return e[n]??null}const r={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},i={nan:"NaN",number:"raqam",array:"massiv"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${n.expected}, qabul qilingan ${u}`:`Noto‘g‘ri kirish: kutilgan ${s}, qabul qilingan ${u}`}case"invalid_value":return n.values.length===1?`Noto‘g‘ri kirish: kutilgan ${$e(n.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Juda katta: kutilgan ${n.origin??"qiymat"} ${s}${n.maximum.toString()} ${l.unit} ${l.verb}`:`Juda katta: kutilgan ${n.origin??"qiymat"} ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Juda kichik: kutilgan ${n.origin} ${s}${n.minimum.toString()} ${l.unit} ${l.verb}`:`Juda kichik: kutilgan ${n.origin} ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Noto‘g‘ri satr: "${s.prefix}" bilan boshlanishi kerak`:s.format==="ends_with"?`Noto‘g‘ri satr: "${s.suffix}" bilan tugashi kerak`:s.format==="includes"?`Noto‘g‘ri satr: "${s.includes}" ni o‘z ichiga olishi kerak`:s.format==="regex"?`Noto‘g‘ri satr: ${s.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${r[s.format]??n.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${n.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${n.keys.length>1?"lar":""}: ${G(n.keys,", ")}`;case"invalid_key":return`${n.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${n.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function tS(){return{localeError:eS()}}const nS=()=>{const e={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function t(n){return e[n]??null}const r={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},i={nan:"NaN",number:"số",array:"mảng"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${n.expected}, nhận được ${u}`:`Đầu vào không hợp lệ: mong đợi ${s}, nhận được ${u}`}case"invalid_value":return n.values.length===1?`Đầu vào không hợp lệ: mong đợi ${$e(n.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Quá lớn: mong đợi ${n.origin??"giá trị"} ${l.verb} ${s}${n.maximum.toString()} ${l.unit??"phần tử"}`:`Quá lớn: mong đợi ${n.origin??"giá trị"} ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Quá nhỏ: mong đợi ${n.origin} ${l.verb} ${s}${n.minimum.toString()} ${l.unit}`:`Quá nhỏ: mong đợi ${n.origin} ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Chuỗi không hợp lệ: phải bắt đầu bằng "${s.prefix}"`:s.format==="ends_with"?`Chuỗi không hợp lệ: phải kết thúc bằng "${s.suffix}"`:s.format==="includes"?`Chuỗi không hợp lệ: phải bao gồm "${s.includes}"`:s.format==="regex"?`Chuỗi không hợp lệ: phải khớp với mẫu ${s.pattern}`:`${r[s.format]??n.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${n.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${G(n.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${n.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${n.origin}`;default:return"Đầu vào không hợp lệ"}}};function rS(){return{localeError:nS()}}const iS=()=>{const e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function t(n){return e[n]??null}const r={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},i={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`无效输入:期望 instanceof ${n.expected},实际接收 ${u}`:`无效输入:期望 ${s},实际接收 ${u}`}case"invalid_value":return n.values.length===1?`无效输入:期望 ${$e(n.values[0])}`:`无效选项:期望以下之一 ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`数值过大:期望 ${n.origin??"值"} ${s}${n.maximum.toString()} ${l.unit??"个元素"}`:`数值过大:期望 ${n.origin??"值"} ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`数值过小:期望 ${n.origin} ${s}${n.minimum.toString()} ${l.unit}`:`数值过小:期望 ${n.origin} ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`无效字符串:必须以 "${s.prefix}" 开头`:s.format==="ends_with"?`无效字符串:必须以 "${s.suffix}" 结尾`:s.format==="includes"?`无效字符串:必须包含 "${s.includes}"`:s.format==="regex"?`无效字符串:必须满足正则表达式 ${s.pattern}`:`无效${r[s.format]??n.format}`}case"not_multiple_of":return`无效数字:必须是 ${n.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${G(n.keys,", ")}`;case"invalid_key":return`${n.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${n.origin} 中包含无效值(value)`;default:return"无效输入"}}};function oS(){return{localeError:iS()}}const sS=()=>{const e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function t(n){return e[n]??null}const r={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`無效的輸入值:預期為 instanceof ${n.expected},但收到 ${u}`:`無效的輸入值:預期為 ${s},但收到 ${u}`}case"invalid_value":return n.values.length===1?`無效的輸入值:預期為 ${$e(n.values[0])}`:`無效的選項:預期為以下其中之一 ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`數值過大:預期 ${n.origin??"值"} 應為 ${s}${n.maximum.toString()} ${l.unit??"個元素"}`:`數值過大:預期 ${n.origin??"值"} 應為 ${s}${n.maximum.toString()}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`數值過小:預期 ${n.origin} 應為 ${s}${n.minimum.toString()} ${l.unit}`:`數值過小:預期 ${n.origin} 應為 ${s}${n.minimum.toString()}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`無效的字串:必須以 "${s.prefix}" 開頭`:s.format==="ends_with"?`無效的字串:必須以 "${s.suffix}" 結尾`:s.format==="includes"?`無效的字串:必須包含 "${s.includes}"`:s.format==="regex"?`無效的字串:必須符合格式 ${s.pattern}`:`無效的 ${r[s.format]??n.format}`}case"not_multiple_of":return`無效的數字:必須為 ${n.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${n.keys.length>1?"們":""}:${G(n.keys,"、")}`;case"invalid_key":return`${n.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${n.origin} 中有無效的值`;default:return"無效的輸入值"}}};function aS(){return{localeError:sS()}}const lS=()=>{const e={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function t(n){return e[n]??null}const r={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},i={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return n=>{switch(n.code){case"invalid_type":{const s=i[n.expected]??n.expected,l=je(n.input),u=i[l]??l;return/^[A-Z]/.test(n.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${n.expected}, àmọ̀ a rí ${u}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${s}, àmọ̀ a rí ${u}`}case"invalid_value":return n.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${$e(n.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${G(n.values,"|")}`;case"too_big":{const s=n.inclusive?"<=":"<",l=t(n.origin);return l?`Tó pọ̀ jù: a ní láti jẹ́ pé ${n.origin??"iye"} ${l.verb} ${s}${n.maximum} ${l.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${s}${n.maximum}`}case"too_small":{const s=n.inclusive?">=":">",l=t(n.origin);return l?`Kéré ju: a ní láti jẹ́ pé ${n.origin} ${l.verb} ${s}${n.minimum} ${l.unit}`:`Kéré ju: a ní láti jẹ́ ${s}${n.minimum}`}case"invalid_format":{const s=n;return s.format==="starts_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${s.prefix}"`:s.format==="ends_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${s.suffix}"`:s.format==="includes"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${s.includes}"`:s.format==="regex"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${s.pattern}`:`Aṣìṣe: ${r[s.format]??n.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${n.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${G(n.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${n.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${n.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function cS(){return{localeError:lS()}}const ff=Object.freeze(Object.defineProperty({__proto__:null,ar:wC,az:xC,be:CC,bg:SC,ca:zC,cs:EC,da:MC,de:LC,el:PC,en:Um,eo:AC,es:UC,fa:ZC,fi:BC,fr:KC,frCA:JC,he:YC,hr:QC,hu:t$,hy:r$,id:o$,is:a$,it:c$,ja:d$,ka:h$,kh:m$,km:Hm,ko:v$,lt:_$,mk:b$,ms:k$,nl:$$,no:I$,ota:j$,pl:T$,ps:O$,pt:N$,ro:D$,ru:A$,sl:U$,sv:Z$,ta:B$,th:K$,tr:J$,ua:Y$,uk:Zm,ur:Q$,uz:tS,vi:rS,yo:cS,zhCN:oS,zhTW:aS},Symbol.toStringTag,{value:"Module"}));var _8;const hf=Symbol("ZodOutput"),pf=Symbol("ZodInput");class Vm{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){const i=r[0];return this._map.set(t,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){const r=t._zod.parent;if(r){const i={...this.get(r)??{}};delete i.id;const n={...i,...this._map.get(t)};return Object.keys(n).length?n:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function dc(){return new Vm}(_8=globalThis).__zod_globalRegistry??(_8.__zod_globalRegistry=dc());const Jt=globalThis.__zod_globalRegistry;function Bm(e,t){return new e({type:"string",...B(t)})}function Wm(e,t){return new e({type:"string",coerce:!0,...B(t)})}function mf(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...B(t)})}function R1(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...B(t)})}function gf(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...B(t)})}function vf(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...B(t)})}function yf(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...B(t)})}function _f(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...B(t)})}function fc(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...B(t)})}function wf(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...B(t)})}function bf(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...B(t)})}function xf(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...B(t)})}function kf(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...B(t)})}function Cf(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...B(t)})}function $f(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...B(t)})}function Sf(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...B(t)})}function If(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...B(t)})}function zf(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...B(t)})}function Km(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...B(t)})}function jf(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...B(t)})}function Ef(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...B(t)})}function Of(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...B(t)})}function Mf(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...B(t)})}function Tf(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...B(t)})}function Lf(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...B(t)})}const Nf={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function qm(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...B(t)})}function Jm(e,t){return new e({type:"string",format:"date",check:"string_format",...B(t)})}function Gm(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...B(t)})}function Ym(e,t){return new e({type:"string",format:"duration",check:"string_format",...B(t)})}function Xm(e,t){return new e({type:"number",checks:[],...B(t)})}function Qm(e,t){return new e({type:"number",coerce:!0,checks:[],...B(t)})}function eg(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...B(t)})}function tg(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...B(t)})}function ng(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...B(t)})}function rg(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...B(t)})}function ig(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...B(t)})}function og(e,t){return new e({type:"boolean",...B(t)})}function sg(e,t){return new e({type:"boolean",coerce:!0,...B(t)})}function ag(e,t){return new e({type:"bigint",...B(t)})}function lg(e,t){return new e({type:"bigint",coerce:!0,...B(t)})}function cg(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...B(t)})}function ug(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...B(t)})}function dg(e,t){return new e({type:"symbol",...B(t)})}function fg(e,t){return new e({type:"undefined",...B(t)})}function hg(e,t){return new e({type:"null",...B(t)})}function pg(e){return new e({type:"any"})}function mg(e){return new e({type:"unknown"})}function gg(e,t){return new e({type:"never",...B(t)})}function vg(e,t){return new e({type:"void",...B(t)})}function yg(e,t){return new e({type:"date",...B(t)})}function _g(e,t){return new e({type:"date",coerce:!0,...B(t)})}function wg(e,t){return new e({type:"nan",...B(t)})}function ar(e,t){return new tf({check:"less_than",...B(t),value:e,inclusive:!1})}function Gt(e,t){return new tf({check:"less_than",...B(t),value:e,inclusive:!0})}function lr(e,t){return new nf({check:"greater_than",...B(t),value:e,inclusive:!1})}function Mt(e,t){return new nf({check:"greater_than",...B(t),value:e,inclusive:!0})}function hc(e){return lr(0,e)}function pc(e){return ar(0,e)}function mc(e){return Gt(0,e)}function gc(e){return Mt(0,e)}function pi(e,t){return new l9({check:"multiple_of",...B(t),value:e})}function Ci(e,t){return new d9({check:"max_size",...B(t),maximum:e})}function cr(e,t){return new f9({check:"min_size",...B(t),minimum:e})}function Io(e,t){return new h9({check:"size_equals",...B(t),size:e})}function zo(e,t){return new p9({check:"max_length",...B(t),maximum:e})}function Lr(e,t){return new m9({check:"min_length",...B(t),minimum:e})}function jo(e,t){return new g9({check:"length_equals",...B(t),length:e})}function va(e,t){return new v9({check:"string_format",format:"regex",...B(t),pattern:e})}function ya(e){return new y9({check:"string_format",format:"lowercase",...B(e)})}function _a(e){return new _9({check:"string_format",format:"uppercase",...B(e)})}function wa(e,t){return new w9({check:"string_format",format:"includes",...B(t),includes:e})}function ba(e,t){return new b9({check:"string_format",format:"starts_with",...B(t),prefix:e})}function xa(e,t){return new x9({check:"string_format",format:"ends_with",...B(t),suffix:e})}function vc(e,t,r){return new k9({check:"property",property:e,schema:t,...B(r)})}function ka(e,t){return new C9({check:"mime_type",mime:e,...B(t)})}function Kn(e){return new $9({check:"overwrite",tx:e})}function Ca(e){return Kn(t=>t.normalize(e))}function $a(){return Kn(e=>e.trim())}function Sa(){return Kn(e=>e.toLowerCase())}function Ia(){return Kn(e=>e.toUpperCase())}function za(){return Kn(e=>a7(e))}function bg(e,t,r){return new e({type:"array",element:t,...B(r)})}function uS(e,t,r){return new e({type:"union",options:t,...B(r)})}function dS(e,t,r){return new e({type:"union",options:t,inclusive:!1,...B(r)})}function fS(e,t,r,i){return new e({type:"union",options:r,discriminator:t,...B(i)})}function hS(e,t,r){return new e({type:"intersection",left:t,right:r})}function pS(e,t,r,i){const n=r instanceof Me,s=n?i:r,l=n?r:null;return new e({type:"tuple",items:t,rest:l,...B(s)})}function mS(e,t,r,i){return new e({type:"record",keyType:t,valueType:r,...B(i)})}function gS(e,t,r,i){return new e({type:"map",keyType:t,valueType:r,...B(i)})}function vS(e,t,r){return new e({type:"set",valueType:t,...B(r)})}function yS(e,t,r){const i=Array.isArray(t)?Object.fromEntries(t.map(n=>[n,n])):t;return new e({type:"enum",entries:i,...B(r)})}function _S(e,t,r){return new e({type:"enum",entries:t,...B(r)})}function wS(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...B(r)})}function xg(e,t){return new e({type:"file",...B(t)})}function bS(e,t){return new e({type:"transform",transform:t})}function xS(e,t){return new e({type:"optional",innerType:t})}function kS(e,t){return new e({type:"nullable",innerType:t})}function CS(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():ic(r)}})}function $S(e,t,r){return new e({type:"nonoptional",innerType:t,...B(r)})}function SS(e,t){return new e({type:"success",innerType:t})}function IS(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:()=>r})}function zS(e,t,r){return new e({type:"pipe",in:t,out:r})}function jS(e,t){return new e({type:"readonly",innerType:t})}function ES(e,t,r){return new e({type:"template_literal",parts:t,...B(r)})}function OS(e,t){return new e({type:"lazy",getter:t})}function MS(e,t){return new e({type:"promise",innerType:t})}function kg(e,t,r){const i=B(r);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function Cg(e,t,r){return new e({type:"custom",check:"custom",fn:t,...B(r)})}function $g(e,t){const r=Sg(i=>(i.addIssue=n=>{if(typeof n=="string")i.issues.push(po(n,i.value,r._zod.def));else{const s=n;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),s.input??(s.input=i.value),s.inst??(s.inst=r),s.continue??(s.continue=!r._zod.def.abort),i.issues.push(po(s))}},e(i.value,i)),t);return r}function Sg(e,t){const r=new et({check:"custom",...B(t)});return r._zod.check=e,r}function Ig(e){const t=new et({check:"describe"});return t._zod.onattach=[r=>{const i=Jt.get(r)??{};Jt.add(r,{...i,description:e})}],t._zod.check=()=>{},t}function zg(e){const t=new et({check:"meta"});return t._zod.onattach=[r=>{const i=Jt.get(r)??{};Jt.add(r,{...i,...e})}],t._zod.check=()=>{},t}function jg(e,t){const r=B(t);let i=r.truthy??["true","1","yes","on","y","enabled"],n=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(i=i.map(w=>typeof w=="string"?w.toLowerCase():w),n=n.map(w=>typeof w=="string"?w.toLowerCase():w));const s=new Set(i),l=new Set(n),u=e.Codec??df,f=e.Boolean??sf,h=e.String??ga,g=new h({type:"string",error:r.error}),y=new f({type:"boolean",error:r.error}),_=new u({type:"pipe",in:g,out:y,transform:((w,x)=>{let I=w;return r.case!=="sensitive"&&(I=I.toLowerCase()),s.has(I)?!0:l.has(I)?!1:(x.issues.push({code:"invalid_value",expected:"stringbool",values:[...s,...l],input:x.value,inst:_,continue:!1}),{})}),reverseTransform:((w,x)=>w===!0?i[0]||"true":n[0]||"false"),error:r.error});return _}function ja(e,t,r,i={}){const n=B(i),s={...B(i),check:"string_format",type:"string",format:t,fn:typeof r=="function"?r:u=>r.test(u),...n};return r instanceof RegExp&&(s.pattern=r),new e(s)}function go(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Jt,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function We(e,t,r={path:[],schemaPath:[]}){var i;const n=e._zod.def,s=t.seen.get(e);if(s)return s.count++,r.schemaPath.includes(e)&&(s.cycle=r.path),s.schema;const l={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,l);const u=e._zod.toJSONSchema?.();if(u)l.schema=u;else{const g={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,l.schema,g);else{const _=l.schema,w=t.processors[n.type];if(!w)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${n.type}`);w(e,t,_,g)}const y=e._zod.parent;y&&(l.ref||(l.ref=y),We(y,t,g),t.seen.get(y).isParent=!0)}const f=t.metadataRegistry.get(e);return f&&Object.assign(l.schema,f),t.io==="input"&&Ot(e)&&(delete l.schema.examples,delete l.schema.default),t.io==="input"&&"_prefault"in l.schema&&((i=l.schema).default??(i.default=l.schema._prefault)),delete l.schema._prefault,t.seen.get(e).schema}function vo(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=new Map;for(const l of e.seen.entries()){const u=e.metadataRegistry.get(l[0])?.id;if(u){const f=i.get(u);if(f&&f!==l[0])throw new Error(`Duplicate schema id "${u}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(u,l[0])}}const n=l=>{const u=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const y=e.external.registry.get(l[0])?.id,_=e.external.uri??(x=>x);if(y)return{ref:_(y)};const w=l[1].defId??l[1].schema.id??`schema${e.counter++}`;return l[1].defId=w,{defId:w,ref:`${_("__shared")}#/${u}/${w}`}}if(l[1]===r)return{ref:"#"};const h=`#/${u}/`,g=l[1].schema.id??`__schema${e.counter++}`;return{defId:g,ref:h+g}},s=l=>{if(l[1].schema.$ref)return;const u=l[1],{ref:f,defId:h}=n(l);u.def={...u.schema},h&&(u.defId=h);const g=u.schema;for(const y in g)delete g[y];g.$ref=f};if(e.cycles==="throw")for(const l of e.seen.entries()){const u=l[1];if(u.cycle)throw new Error(`Cycle detected: #/${u.cycle?.join("/")}/<root>
|
|
122
|
-
|
|
123
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const l of e.seen.entries()){const u=l[1];if(t===l[0]){s(l);continue}if(e.external){const h=e.external.registry.get(l[0])?.id;if(t!==l[0]&&h){s(l);continue}}if(e.metadataRegistry.get(l[0])?.id){s(l);continue}if(u.cycle){s(l);continue}if(u.count>1&&e.reused==="ref"){s(l);continue}}}function yo(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=u=>{const f=e.seen.get(u);if(f.ref===null)return;const h=f.def??f.schema,g={...h},y=f.ref;if(f.ref=null,y){i(y);const w=e.seen.get(y),x=w.schema;if(x.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(h.allOf=h.allOf??[],h.allOf.push(x)):Object.assign(h,x),Object.assign(h,g),u._zod.parent===y)for(const S in h)S==="$ref"||S==="allOf"||S in g||delete h[S];if(x.$ref&&w.def)for(const S in h)S==="$ref"||S==="allOf"||S in w.def&&JSON.stringify(h[S])===JSON.stringify(w.def[S])&&delete h[S]}const _=u._zod.parent;if(_&&_!==y){i(_);const w=e.seen.get(_);if(w?.schema.$ref&&(h.$ref=w.schema.$ref,w.def))for(const x in h)x==="$ref"||x==="allOf"||x in w.def&&JSON.stringify(h[x])===JSON.stringify(w.def[x])&&delete h[x]}e.override({zodSchema:u,jsonSchema:h,path:f.path??[]})};for(const u of[...e.seen.entries()].reverse())i(u[0]);const n={};if(e.target==="draft-2020-12"?n.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?n.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?n.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const u=e.external.registry.get(t)?.id;if(!u)throw new Error("Schema is missing an `id` property");n.$id=e.external.uri(u)}Object.assign(n,r.def??r.schema);const s=e.metadataRegistry.get(t)?.id;s!==void 0&&n.id===s&&delete n.id;const l=e.external?.defs??{};for(const u of e.seen.entries()){const f=u[1];f.def&&f.defId&&(f.def.id===f.defId&&delete f.def.id,l[f.defId]=f.def)}e.external||Object.keys(l).length>0&&(e.target==="draft-2020-12"?n.$defs=l:n.definitions=l);try{const u=JSON.parse(JSON.stringify(n));return Object.defineProperty(u,"~standard",{value:{...t["~standard"],jsonSchema:{input:Ys(t,"input",e.processors),output:Ys(t,"output",e.processors)}},enumerable:!1,writable:!1}),u}catch{throw new Error("Error converting schema to JSON.")}}function Ot(e,t){const r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);const i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return Ot(i.element,r);if(i.type==="set")return Ot(i.valueType,r);if(i.type==="lazy")return Ot(i.getter(),r);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return Ot(i.innerType,r);if(i.type==="intersection")return Ot(i.left,r)||Ot(i.right,r);if(i.type==="record"||i.type==="map")return Ot(i.keyType,r)||Ot(i.valueType,r);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Ot(i.in,r)||Ot(i.out,r);if(i.type==="object"){for(const n in i.shape)if(Ot(i.shape[n],r))return!0;return!1}if(i.type==="union"){for(const n of i.options)if(Ot(n,r))return!0;return!1}if(i.type==="tuple"){for(const n of i.items)if(Ot(n,r))return!0;return!!(i.rest&&Ot(i.rest,r))}return!1}const Eg=(e,t={})=>r=>{const i=go({...r,processors:t});return We(e,i),vo(i,e),yo(i,e)},Ys=(e,t,r={})=>i=>{const{libraryOptions:n,target:s}=i??{},l=go({...n??{},target:s,io:t,processors:r});return We(e,l),vo(l,e),yo(l,e)},TS={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Og=(e,t,r,i)=>{const n=r;n.type="string";const{minimum:s,maximum:l,format:u,patterns:f,contentEncoding:h}=e._zod.bag;if(typeof s=="number"&&(n.minLength=s),typeof l=="number"&&(n.maxLength=l),u&&(n.format=TS[u]??u,n.format===""&&delete n.format,u==="time"&&delete n.format),h&&(n.contentEncoding=h),f&&f.size>0){const g=[...f];g.length===1?n.pattern=g[0].source:g.length>1&&(n.allOf=[...g.map(y=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:y.source}))])}},Mg=(e,t,r,i)=>{const n=r,{minimum:s,maximum:l,format:u,multipleOf:f,exclusiveMaximum:h,exclusiveMinimum:g}=e._zod.bag;typeof u=="string"&&u.includes("int")?n.type="integer":n.type="number";const y=typeof g=="number"&&g>=(s??Number.NEGATIVE_INFINITY),_=typeof h=="number"&&h<=(l??Number.POSITIVE_INFINITY),w=t.target==="draft-04"||t.target==="openapi-3.0";y?w?(n.minimum=g,n.exclusiveMinimum=!0):n.exclusiveMinimum=g:typeof s=="number"&&(n.minimum=s),_?w?(n.maximum=h,n.exclusiveMaximum=!0):n.exclusiveMaximum=h:typeof l=="number"&&(n.maximum=l),typeof f=="number"&&(n.multipleOf=f)},Tg=(e,t,r,i)=>{r.type="boolean"},Lg=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},Ng=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},Pg=(e,t,r,i)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},Dg=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},Rg=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},Ag=(e,t,r,i)=>{r.not={}},Fg=(e,t,r,i)=>{},Ug=(e,t,r,i)=>{},Hg=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},Zg=(e,t,r,i)=>{const n=e._zod.def,s=R2(n.entries);s.every(l=>typeof l=="number")&&(r.type="number"),s.every(l=>typeof l=="string")&&(r.type="string"),r.enum=s},Vg=(e,t,r,i)=>{const n=e._zod.def,s=[];for(const l of n.values)if(l===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof l=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");s.push(Number(l))}else s.push(l);if(s.length!==0)if(s.length===1){const l=s[0];r.type=l===null?"null":typeof l,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[l]:r.const=l}else s.every(l=>typeof l=="number")&&(r.type="number"),s.every(l=>typeof l=="string")&&(r.type="string"),s.every(l=>typeof l=="boolean")&&(r.type="boolean"),s.every(l=>l===null)&&(r.type="null"),r.enum=s},Bg=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},Wg=(e,t,r,i)=>{const n=r,s=e._zod.pattern;if(!s)throw new Error("Pattern not found in template literal");n.type="string",n.pattern=s.source},Kg=(e,t,r,i)=>{const n=r,s={type:"string",format:"binary",contentEncoding:"binary"},{minimum:l,maximum:u,mime:f}=e._zod.bag;l!==void 0&&(s.minLength=l),u!==void 0&&(s.maxLength=u),f?f.length===1?(s.contentMediaType=f[0],Object.assign(n,s)):(Object.assign(n,s),n.anyOf=f.map(h=>({contentMediaType:h}))):Object.assign(n,s)},qg=(e,t,r,i)=>{r.type="boolean"},Jg=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},Gg=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},Yg=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},Xg=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},Qg=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},ev=(e,t,r,i)=>{const n=r,s=e._zod.def,{minimum:l,maximum:u}=e._zod.bag;typeof l=="number"&&(n.minItems=l),typeof u=="number"&&(n.maxItems=u),n.type="array",n.items=We(s.element,t,{...i,path:[...i.path,"items"]})},tv=(e,t,r,i)=>{const n=r,s=e._zod.def;n.type="object",n.properties={};const l=s.shape;for(const h in l)n.properties[h]=We(l[h],t,{...i,path:[...i.path,"properties",h]});const u=new Set(Object.keys(l)),f=new Set([...u].filter(h=>{const g=s.shape[h]._zod;return t.io==="input"?g.optin===void 0:g.optout===void 0}));f.size>0&&(n.required=Array.from(f)),s.catchall?._zod.def.type==="never"?n.additionalProperties=!1:s.catchall?s.catchall&&(n.additionalProperties=We(s.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(n.additionalProperties=!1)},Pf=(e,t,r,i)=>{const n=e._zod.def,s=n.inclusive===!1,l=n.options.map((u,f)=>We(u,t,{...i,path:[...i.path,s?"oneOf":"anyOf",f]}));s?r.oneOf=l:r.anyOf=l},nv=(e,t,r,i)=>{const n=e._zod.def,s=We(n.left,t,{...i,path:[...i.path,"allOf",0]}),l=We(n.right,t,{...i,path:[...i.path,"allOf",1]}),u=h=>"allOf"in h&&Object.keys(h).length===1,f=[...u(s)?s.allOf:[s],...u(l)?l.allOf:[l]];r.allOf=f},rv=(e,t,r,i)=>{const n=r,s=e._zod.def;n.type="array";const l=t.target==="draft-2020-12"?"prefixItems":"items",u=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",f=s.items.map((_,w)=>We(_,t,{...i,path:[...i.path,l,w]})),h=s.rest?We(s.rest,t,{...i,path:[...i.path,u,...t.target==="openapi-3.0"?[s.items.length]:[]]}):null;t.target==="draft-2020-12"?(n.prefixItems=f,h&&(n.items=h)):t.target==="openapi-3.0"?(n.items={anyOf:f},h&&n.items.anyOf.push(h),n.minItems=f.length,h||(n.maxItems=f.length)):(n.items=f,h&&(n.additionalItems=h));const{minimum:g,maximum:y}=e._zod.bag;typeof g=="number"&&(n.minItems=g),typeof y=="number"&&(n.maxItems=y)},iv=(e,t,r,i)=>{const n=r,s=e._zod.def;n.type="object";const l=s.keyType,f=l._zod.bag?.patterns;if(s.mode==="loose"&&f&&f.size>0){const g=We(s.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});n.patternProperties={};for(const y of f)n.patternProperties[y.source]=g}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(n.propertyNames=We(s.keyType,t,{...i,path:[...i.path,"propertyNames"]})),n.additionalProperties=We(s.valueType,t,{...i,path:[...i.path,"additionalProperties"]});const h=l._zod.values;if(h){const g=[...h].filter(y=>typeof y=="string"||typeof y=="number");g.length>0&&(n.required=g)}},ov=(e,t,r,i)=>{const n=e._zod.def,s=We(n.innerType,t,i),l=t.seen.get(e);t.target==="openapi-3.0"?(l.ref=n.innerType,r.nullable=!0):r.anyOf=[s,{type:"null"}]},sv=(e,t,r,i)=>{const n=e._zod.def;We(n.innerType,t,i);const s=t.seen.get(e);s.ref=n.innerType},av=(e,t,r,i)=>{const n=e._zod.def;We(n.innerType,t,i);const s=t.seen.get(e);s.ref=n.innerType,r.default=JSON.parse(JSON.stringify(n.defaultValue))},lv=(e,t,r,i)=>{const n=e._zod.def;We(n.innerType,t,i);const s=t.seen.get(e);s.ref=n.innerType,t.io==="input"&&(r._prefault=JSON.parse(JSON.stringify(n.defaultValue)))},cv=(e,t,r,i)=>{const n=e._zod.def;We(n.innerType,t,i);const s=t.seen.get(e);s.ref=n.innerType;let l;try{l=n.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}r.default=l},uv=(e,t,r,i)=>{const n=e._zod.def,s=n.in._zod.traits.has("$ZodTransform"),l=t.io==="input"?s?n.out:n.in:n.out;We(l,t,i);const u=t.seen.get(e);u.ref=l},dv=(e,t,r,i)=>{const n=e._zod.def;We(n.innerType,t,i);const s=t.seen.get(e);s.ref=n.innerType,r.readOnly=!0},fv=(e,t,r,i)=>{const n=e._zod.def;We(n.innerType,t,i);const s=t.seen.get(e);s.ref=n.innerType},Df=(e,t,r,i)=>{const n=e._zod.def;We(n.innerType,t,i);const s=t.seen.get(e);s.ref=n.innerType},hv=(e,t,r,i)=>{const n=e._zod.innerType;We(n,t,i);const s=t.seen.get(e);s.ref=n},c2={string:Og,number:Mg,boolean:Tg,bigint:Lg,symbol:Ng,null:Pg,undefined:Dg,void:Rg,never:Ag,any:Fg,unknown:Ug,date:Hg,enum:Zg,literal:Vg,nan:Bg,template_literal:Wg,file:Kg,success:qg,custom:Jg,function:Gg,transform:Yg,map:Xg,set:Qg,array:ev,object:tv,union:Pf,intersection:nv,tuple:rv,record:iv,nullable:ov,nonoptional:sv,default:av,prefault:lv,catch:cv,pipe:uv,readonly:dv,promise:fv,optional:Df,lazy:hv};function Rf(e,t){if("_idmap"in e){const i=e,n=go({...t,processors:c2}),s={};for(const f of i._idmap.entries()){const[h,g]=f;We(g,n)}const l={},u={registry:i,uri:t?.uri,defs:s};n.external=u;for(const f of i._idmap.entries()){const[h,g]=f;vo(n,g),l[h]=yo(n,g)}if(Object.keys(s).length>0){const f=n.target==="draft-2020-12"?"$defs":"definitions";l.__shared={[f]:s}}return{schemas:l}}const r=go({...t,processors:c2});return We(e,r),vo(r,e),yo(r,e)}class LS{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let r=t?.target??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=go({processors:c2,target:r,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,r={path:[],schemaPath:[]}){return We(t,this.ctx,r)}emit(t,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),vo(this.ctx,t);const i=yo(this.ctx,t),{"~standard":n,...s}=i;return s}}const NS=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),pv=Object.freeze(Object.defineProperty({__proto__:null,$ZodAny:sm,$ZodArray:dm,$ZodAsyncError:ui,$ZodBase64:q9,$ZodBase64URL:G9,$ZodBigInt:af,$ZodBigIntFormat:nm,$ZodBoolean:sf,$ZodCIDRv4:W9,$ZodCIDRv6:K9,$ZodCUID:L9,$ZodCUID2:N9,$ZodCatch:Mm,$ZodCheck:et,$ZodCheckBigIntFormat:u9,$ZodCheckEndsWith:x9,$ZodCheckGreaterThan:nf,$ZodCheckIncludes:w9,$ZodCheckLengthEquals:g9,$ZodCheckLessThan:tf,$ZodCheckLowerCase:y9,$ZodCheckMaxLength:p9,$ZodCheckMaxSize:d9,$ZodCheckMimeType:C9,$ZodCheckMinLength:m9,$ZodCheckMinSize:f9,$ZodCheckMultipleOf:l9,$ZodCheckNumberFormat:c9,$ZodCheckOverwrite:$9,$ZodCheckProperty:k9,$ZodCheckRegex:v9,$ZodCheckSizeEquals:h9,$ZodCheckStartsWith:b9,$ZodCheckStringFormat:ma,$ZodCheckUpperCase:_9,$ZodCodec:df,$ZodCustom:Fm,$ZodCustomStringFormat:em,$ZodDate:um,$ZodDefault:zm,$ZodDiscriminatedUnion:vm,$ZodE164:Y9,$ZodEmail:E9,$ZodEmoji:M9,$ZodEncodeError:nc,$ZodEnum:xm,$ZodError:U2,$ZodExactOptional:Sm,$ZodFile:Cm,$ZodFunction:Dm,$ZodGUID:z9,$ZodIPv4:Z9,$ZodIPv6:V9,$ZodISODate:F9,$ZodISODateTime:A9,$ZodISODuration:H9,$ZodISOTime:U9,$ZodIntersection:ym,$ZodJWT:Q9,$ZodKSUID:R9,$ZodLazy:Am,$ZodLiteral:km,$ZodMAC:B9,$ZodMap:wm,$ZodNaN:Tm,$ZodNanoID:T9,$ZodNever:lm,$ZodNonOptional:Em,$ZodNull:om,$ZodNullable:Im,$ZodNumber:of,$ZodNumberFormat:tm,$ZodObject:pm,$ZodObjectJIT:mm,$ZodOptional:cf,$ZodPipe:uf,$ZodPrefault:jm,$ZodPreprocess:Lm,$ZodPromise:Rm,$ZodReadonly:Nm,$ZodRealError:en,$ZodRecord:_m,$ZodRegistry:Vm,$ZodSet:bm,$ZodString:ga,$ZodStringFormat:qe,$ZodSuccess:Om,$ZodSymbol:rm,$ZodTemplateLiteral:Pm,$ZodTransform:$m,$ZodTuple:lf,$ZodType:Me,$ZodULID:P9,$ZodURL:O9,$ZodUUID:j9,$ZodUndefined:im,$ZodUnion:uc,$ZodUnknown:am,$ZodVoid:cm,$ZodXID:D9,$ZodXor:gm,$brand:D2,$constructor:L,$input:pf,$output:hf,Doc:S9,JSONSchema:NS,JSONSchemaGenerator:LS,NEVER:P2,TimePrecision:Nf,_any:pg,_array:bg,_base64:Of,_base64url:Mf,_bigint:ag,_boolean:og,_catch:IS,_check:Sg,_cidrv4:jf,_cidrv6:Ef,_coercedBigint:lg,_coercedBoolean:sg,_coercedDate:_g,_coercedNumber:Qm,_coercedString:Wm,_cuid:xf,_cuid2:kf,_custom:kg,_date:yg,_decode:B2,_decodeAsync:K2,_default:CS,_discriminatedUnion:fS,_e164:Tf,_email:mf,_emoji:wf,_encode:V2,_encodeAsync:W2,_endsWith:xa,_enum:yS,_file:xg,_float32:tg,_float64:ng,_gt:lr,_gte:Mt,_guid:R1,_includes:wa,_int:eg,_int32:rg,_int64:cg,_intersection:hS,_ipv4:If,_ipv6:zf,_isoDate:Jm,_isoDateTime:qm,_isoDuration:Ym,_isoTime:Gm,_jwt:Lf,_ksuid:Sf,_lazy:OS,_length:jo,_literal:wS,_lowercase:ya,_lt:ar,_lte:Gt,_mac:Km,_map:gS,_max:Gt,_maxLength:zo,_maxSize:Ci,_mime:ka,_min:Mt,_minLength:Lr,_minSize:cr,_multipleOf:pi,_nan:wg,_nanoid:bf,_nativeEnum:_S,_negative:pc,_never:gg,_nonnegative:gc,_nonoptional:$S,_nonpositive:mc,_normalize:Ca,_null:hg,_nullable:kS,_number:Xm,_optional:xS,_overwrite:Kn,_parse:ca,_parseAsync:ua,_pipe:zS,_positive:hc,_promise:MS,_property:vc,_readonly:jS,_record:mS,_refine:Cg,_regex:va,_safeDecode:J2,_safeDecodeAsync:Y2,_safeEncode:q2,_safeEncodeAsync:G2,_safeParse:da,_safeParseAsync:fa,_set:vS,_size:Io,_slugify:za,_startsWith:ba,_string:Bm,_stringFormat:ja,_stringbool:jg,_success:SS,_superRefine:$g,_symbol:dg,_templateLiteral:ES,_toLowerCase:Sa,_toUpperCase:Ia,_transform:bS,_trim:$a,_tuple:pS,_uint32:ig,_uint64:ug,_ulid:Cf,_undefined:fg,_union:uS,_unknown:mg,_uppercase:_a,_url:fc,_uuid:gf,_uuidv4:vf,_uuidv6:yf,_uuidv7:_f,_void:vg,_xid:$f,_xor:dS,clone:Qt,config:vt,createStandardJSONSchemaMethod:Ys,createToJSONSchemaMethod:Eg,decode:Hk,decodeAsync:Vk,describe:Ig,encode:Uk,encodeAsync:Zk,extractDefs:vo,finalize:yo,flattenError:ac,formatError:lc,globalConfig:Gs,globalRegistry:Jt,initializeContext:go,isValidBase64:rf,isValidBase64URL:J9,isValidJWT:X9,locales:ff,meta:zg,parse:s2,parseAsync:a2,prettifyError:Z2,process:We,regexes:cc,registry:dc,safeDecode:Wk,safeDecodeAsync:qk,safeEncode:Bk,safeEncodeAsync:Kk,safeParse:$7,safeParseAsync:S7,toDotPath:C7,toJSONSchema:Rf,treeifyError:H2,util:F2,version:I9},Symbol.toStringTag,{value:"Module"})),PS=Object.freeze(Object.defineProperty({__proto__:null,endsWith:xa,gt:lr,gte:Mt,includes:wa,length:jo,lowercase:ya,lt:ar,lte:Gt,maxLength:zo,maxSize:Ci,mime:ka,minLength:Lr,minSize:cr,multipleOf:pi,negative:pc,nonnegative:gc,nonpositive:mc,normalize:Ca,overwrite:Kn,positive:hc,property:vc,regex:va,size:Io,slugify:za,startsWith:ba,toLowerCase:Sa,toUpperCase:Ia,trim:$a,uppercase:_a},Symbol.toStringTag,{value:"Module"})),yc=L("ZodISODateTime",(e,t)=>{A9.init(e,t),Ke.init(e,t)});function mv(e){return qm(yc,e)}const _c=L("ZodISODate",(e,t)=>{F9.init(e,t),Ke.init(e,t)});function gv(e){return Jm(_c,e)}const wc=L("ZodISOTime",(e,t)=>{U9.init(e,t),Ke.init(e,t)});function vv(e){return Gm(wc,e)}const bc=L("ZodISODuration",(e,t)=>{H9.init(e,t),Ke.init(e,t)});function yv(e){return Ym(bc,e)}const Af=Object.freeze(Object.defineProperty({__proto__:null,ZodISODate:_c,ZodISODateTime:yc,ZodISODuration:bc,ZodISOTime:wc,date:gv,datetime:mv,duration:yv,time:vv},Symbol.toStringTag,{value:"Module"})),_v=(e,t)=>{U2.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>lc(e,r)},flatten:{value:r=>ac(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,N1,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,N1,2)}},isEmpty:{get(){return e.issues.length===0}}})},wv=L("ZodError",_v),Ht=L("ZodError",_v,{Parent:Error}),Ff=ca(Ht),Uf=ua(Ht),Hf=da(Ht),Zf=fa(Ht),Vf=V2(Ht),Bf=B2(Ht),Wf=W2(Ht),Kf=K2(Ht),qf=q2(Ht),Jf=J2(Ht),Gf=G2(Ht),Yf=Y2(Ht),w8=new WeakMap;function Ea(e,t,r){const i=Object.getPrototypeOf(e);let n=w8.get(i);if(n||(n=new Set,w8.set(i,n)),!n.has(t)){n.add(t);for(const s in r){const l=r[s];Object.defineProperty(i,s,{configurable:!0,enumerable:!1,get(){const u=l.bind(this);return Object.defineProperty(this,s,{configurable:!0,writable:!0,enumerable:!0,value:u}),u},set(u){Object.defineProperty(this,s,{configurable:!0,writable:!0,enumerable:!0,value:u})}})}}}const Te=L("ZodType",(e,t)=>(Me.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Ys(e,"input"),output:Ys(e,"output")}}),e.toJSONSchema=Eg(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(r,i)=>Ff(e,r,i,{callee:e.parse}),e.safeParse=(r,i)=>Hf(e,r,i),e.parseAsync=async(r,i)=>Uf(e,r,i,{callee:e.parseAsync}),e.safeParseAsync=async(r,i)=>Zf(e,r,i),e.spa=e.safeParseAsync,e.encode=(r,i)=>Vf(e,r,i),e.decode=(r,i)=>Bf(e,r,i),e.encodeAsync=async(r,i)=>Wf(e,r,i),e.decodeAsync=async(r,i)=>Kf(e,r,i),e.safeEncode=(r,i)=>qf(e,r,i),e.safeDecode=(r,i)=>Jf(e,r,i),e.safeEncodeAsync=async(r,i)=>Gf(e,r,i),e.safeDecodeAsync=async(r,i)=>Yf(e,r,i),Ea(e,"ZodType",{check(...r){const i=this.def;return this.clone(Wn(i,{checks:[...i.checks??[],...r.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0})},with(...r){return this.check(...r)},clone(r,i){return Qt(this,r,i)},brand(){return this},register(r,i){return r.add(this,i),this},refine(r,i){return this.check(fu(r,i))},superRefine(r,i){return this.check(hu(r,i))},overwrite(r){return this.check(Kn(r))},optional(){return bo(this)},exactOptional(){return Kc(this)},nullable(){return xo(this)},nullish(){return bo(xo(this))},nonoptional(r){return Qc(this,r)},array(){return No(this)},or(r){return Ya([this,r])},and(r){return Dc(this,r)},transform(r){return Qs(this,Qa(r))},default(r){return Gc(this,r)},prefault(r){return Xc(this,r)},catch(r){return nu(this,r)},pipe(r){return Qs(this,r)},readonly(){return su(this)},describe(r){const i=this.clone();return Jt.add(i,{description:r}),i},meta(...r){if(r.length===0)return Jt.get(this);const i=this.clone();return Jt.add(i,r[0]),i},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(r){return r(this)}}),Object.defineProperty(e,"description",{get(){return Jt.get(e)?.description},configurable:!0}),e)),Oa=L("_ZodString",(e,t)=>{ga.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(i,n,s)=>Og(e,i,n);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,Ea(e,"_ZodString",{regex(...i){return this.check(va(...i))},includes(...i){return this.check(wa(...i))},startsWith(...i){return this.check(ba(...i))},endsWith(...i){return this.check(xa(...i))},min(...i){return this.check(Lr(...i))},max(...i){return this.check(zo(...i))},length(...i){return this.check(jo(...i))},nonempty(...i){return this.check(Lr(1,...i))},lowercase(i){return this.check(ya(i))},uppercase(i){return this.check(_a(i))},trim(){return this.check($a())},normalize(...i){return this.check(Ca(...i))},toLowerCase(){return this.check(Sa())},toUpperCase(){return this.check(Ia())},slugify(){return this.check(za())}})}),Eo=L("ZodString",(e,t)=>{ga.init(e,t),Oa.init(e,t),e.email=r=>e.check(mf(Ma,r)),e.url=r=>e.check(fc(Oo,r)),e.jwt=r=>e.check(Lf(Ka,r)),e.emoji=r=>e.check(wf(Ta,r)),e.guid=r=>e.check(R1(wo,r)),e.uuid=r=>e.check(gf(jn,r)),e.uuidv4=r=>e.check(vf(jn,r)),e.uuidv6=r=>e.check(yf(jn,r)),e.uuidv7=r=>e.check(_f(jn,r)),e.nanoid=r=>e.check(bf(La,r)),e.guid=r=>e.check(R1(wo,r)),e.cuid=r=>e.check(xf(Na,r)),e.cuid2=r=>e.check(kf(Pa,r)),e.ulid=r=>e.check(Cf(Da,r)),e.base64=r=>e.check(Of(Va,r)),e.base64url=r=>e.check(Mf(Ba,r)),e.xid=r=>e.check($f(Ra,r)),e.ksuid=r=>e.check(Sf(Aa,r)),e.ipv4=r=>e.check(If(Fa,r)),e.ipv6=r=>e.check(zf(Ua,r)),e.cidrv4=r=>e.check(jf(Ha,r)),e.cidrv6=r=>e.check(Ef(Za,r)),e.e164=r=>e.check(Tf(Wa,r)),e.datetime=r=>e.check(mv(r)),e.date=r=>e.check(gv(r)),e.time=r=>e.check(vv(r)),e.duration=r=>e.check(yv(r))});function _o(e){return Bm(Eo,e)}const Ke=L("ZodStringFormat",(e,t)=>{qe.init(e,t),Oa.init(e,t)}),Ma=L("ZodEmail",(e,t)=>{E9.init(e,t),Ke.init(e,t)});function Xf(e){return mf(Ma,e)}const wo=L("ZodGUID",(e,t)=>{z9.init(e,t),Ke.init(e,t)});function Qf(e){return R1(wo,e)}const jn=L("ZodUUID",(e,t)=>{j9.init(e,t),Ke.init(e,t)});function e3(e){return gf(jn,e)}function t3(e){return vf(jn,e)}function n3(e){return yf(jn,e)}function r3(e){return _f(jn,e)}const Oo=L("ZodURL",(e,t)=>{O9.init(e,t),Ke.init(e,t)});function i3(e){return fc(Oo,e)}function o3(e){return fc(Oo,{protocol:Q2,hostname:B7,...B(e)})}const Ta=L("ZodEmoji",(e,t)=>{M9.init(e,t),Ke.init(e,t)});function s3(e){return wf(Ta,e)}const La=L("ZodNanoID",(e,t)=>{T9.init(e,t),Ke.init(e,t)});function a3(e){return bf(La,e)}const Na=L("ZodCUID",(e,t)=>{L9.init(e,t),Ke.init(e,t)});function l3(e){return xf(Na,e)}const Pa=L("ZodCUID2",(e,t)=>{N9.init(e,t),Ke.init(e,t)});function c3(e){return kf(Pa,e)}const Da=L("ZodULID",(e,t)=>{P9.init(e,t),Ke.init(e,t)});function u3(e){return Cf(Da,e)}const Ra=L("ZodXID",(e,t)=>{D9.init(e,t),Ke.init(e,t)});function d3(e){return $f(Ra,e)}const Aa=L("ZodKSUID",(e,t)=>{R9.init(e,t),Ke.init(e,t)});function f3(e){return Sf(Aa,e)}const Fa=L("ZodIPv4",(e,t)=>{Z9.init(e,t),Ke.init(e,t)});function h3(e){return If(Fa,e)}const xc=L("ZodMAC",(e,t)=>{B9.init(e,t),Ke.init(e,t)});function p3(e){return Km(xc,e)}const Ua=L("ZodIPv6",(e,t)=>{V9.init(e,t),Ke.init(e,t)});function m3(e){return zf(Ua,e)}const Ha=L("ZodCIDRv4",(e,t)=>{W9.init(e,t),Ke.init(e,t)});function g3(e){return jf(Ha,e)}const Za=L("ZodCIDRv6",(e,t)=>{K9.init(e,t),Ke.init(e,t)});function v3(e){return Ef(Za,e)}const Va=L("ZodBase64",(e,t)=>{q9.init(e,t),Ke.init(e,t)});function y3(e){return Of(Va,e)}const Ba=L("ZodBase64URL",(e,t)=>{G9.init(e,t),Ke.init(e,t)});function _3(e){return Mf(Ba,e)}const Wa=L("ZodE164",(e,t)=>{Y9.init(e,t),Ke.init(e,t)});function w3(e){return Tf(Wa,e)}const Ka=L("ZodJWT",(e,t)=>{Q9.init(e,t),Ke.init(e,t)});function b3(e){return Lf(Ka,e)}const $i=L("ZodCustomStringFormat",(e,t)=>{em.init(e,t),Ke.init(e,t)});function x3(e,t,r={}){return ja($i,e,t,r)}function k3(e){return ja($i,"hostname",V7,e)}function C3(e){return ja($i,"hex",s9,e)}function $3(e,t){const r=t?.enc??"hex",i=`${e}_${r}`,n=cc[i];if(!n)throw new Error(`Unrecognized hash format: ${i}`);return ja($i,i,n,t)}const Mo=L("ZodNumber",(e,t)=>{of.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(i,n,s)=>Mg(e,i,n),Ea(e,"ZodNumber",{gt(i,n){return this.check(lr(i,n))},gte(i,n){return this.check(Mt(i,n))},min(i,n){return this.check(Mt(i,n))},lt(i,n){return this.check(ar(i,n))},lte(i,n){return this.check(Gt(i,n))},max(i,n){return this.check(Gt(i,n))},int(i){return this.check(Xs(i))},safe(i){return this.check(Xs(i))},positive(i){return this.check(lr(0,i))},nonnegative(i){return this.check(Mt(0,i))},negative(i){return this.check(ar(0,i))},nonpositive(i){return this.check(Gt(0,i))},multipleOf(i,n){return this.check(pi(i,n))},step(i,n){return this.check(pi(i,n))},finite(){return this}});const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function kc(e){return Xm(Mo,e)}const Rr=L("ZodNumberFormat",(e,t)=>{tm.init(e,t),Mo.init(e,t)});function Xs(e){return eg(Rr,e)}function S3(e){return tg(Rr,e)}function I3(e){return ng(Rr,e)}function z3(e){return rg(Rr,e)}function j3(e){return ig(Rr,e)}const To=L("ZodBoolean",(e,t)=>{sf.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Tg(e,r,i)});function Cc(e){return og(To,e)}const Lo=L("ZodBigInt",(e,t)=>{af.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(i,n,s)=>Lg(e,i),e.gte=(i,n)=>e.check(Mt(i,n)),e.min=(i,n)=>e.check(Mt(i,n)),e.gt=(i,n)=>e.check(lr(i,n)),e.gte=(i,n)=>e.check(Mt(i,n)),e.min=(i,n)=>e.check(Mt(i,n)),e.lt=(i,n)=>e.check(ar(i,n)),e.lte=(i,n)=>e.check(Gt(i,n)),e.max=(i,n)=>e.check(Gt(i,n)),e.positive=i=>e.check(lr(BigInt(0),i)),e.negative=i=>e.check(ar(BigInt(0),i)),e.nonpositive=i=>e.check(Gt(BigInt(0),i)),e.nonnegative=i=>e.check(Mt(BigInt(0),i)),e.multipleOf=(i,n)=>e.check(pi(i,n));const r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function E3(e){return ag(Lo,e)}const qa=L("ZodBigIntFormat",(e,t)=>{nm.init(e,t),Lo.init(e,t)});function O3(e){return cg(qa,e)}function M3(e){return ug(qa,e)}const $c=L("ZodSymbol",(e,t)=>{rm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ng(e,r)});function T3(e){return dg($c,e)}const Sc=L("ZodUndefined",(e,t)=>{im.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Dg(e,r)});function L3(e){return fg(Sc,e)}const Ic=L("ZodNull",(e,t)=>{om.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Pg(e,r,i)});function zc(e){return hg(Ic,e)}const jc=L("ZodAny",(e,t)=>{sm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Fg()});function N3(){return pg(jc)}const Ec=L("ZodUnknown",(e,t)=>{am.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ug()});function Nr(){return mg(Ec)}const Oc=L("ZodNever",(e,t)=>{lm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ag(e,r,i)});function Ja(e){return gg(Oc,e)}const Mc=L("ZodVoid",(e,t)=>{cm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Rg(e,r)});function P3(e){return vg(Mc,e)}const Ga=L("ZodDate",(e,t)=>{um.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(i,n,s)=>Hg(e,i),e.min=(i,n)=>e.check(Mt(i,n)),e.max=(i,n)=>e.check(Gt(i,n));const r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function D3(e){return yg(Ga,e)}const Tc=L("ZodArray",(e,t)=>{dm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ev(e,r,i,n),e.element=t.element,Ea(e,"ZodArray",{min(r,i){return this.check(Lr(r,i))},nonempty(r){return this.check(Lr(1,r))},max(r,i){return this.check(zo(r,i))},length(r,i){return this.check(jo(r,i))},unwrap(){return this.element}})});function No(e,t){return bg(Tc,e,t)}function R3(e){const t=e._zod.def.shape;return Xa(Object.keys(t))}const Po=L("ZodObject",(e,t)=>{mm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>tv(e,r,i,n),Le(e,"shape",()=>t.shape),Ea(e,"ZodObject",{keyof(){return Xa(Object.keys(this._zod.def.shape))},catchall(r){return this.clone({...this._zod.def,catchall:r})},passthrough(){return this.clone({...this._zod.def,catchall:Nr()})},loose(){return this.clone({...this._zod.def,catchall:Nr()})},strict(){return this.clone({...this._zod.def,catchall:Ja()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(r){return m7(this,r)},safeExtend(r){return g7(this,r)},merge(r){return v7(this,r)},pick(r){return h7(this,r)},omit(r){return p7(this,r)},partial(...r){return y7(el,this,r[0])},required(...r){return _7(tl,this,r[0])}})});function A3(e,t){const r={type:"object",shape:e??{},...B(t)};return new Po(r)}function F3(e,t){return new Po({type:"object",shape:e,catchall:Ja(),...B(t)})}function U3(e,t){return new Po({type:"object",shape:e,catchall:Nr(),...B(t)})}const Do=L("ZodUnion",(e,t)=>{uc.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Pf(e,r,i,n),e.options=t.options});function Ya(e,t){return new Do({type:"union",options:e,...B(t)})}const Lc=L("ZodXor",(e,t)=>{Do.init(e,t),gm.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Pf(e,r,i,n),e.options=t.options});function H3(e,t){return new Lc({type:"union",options:e,inclusive:!1,...B(t)})}const Nc=L("ZodDiscriminatedUnion",(e,t)=>{Do.init(e,t),vm.init(e,t)});function Z3(e,t,r){return new Nc({type:"union",options:t,discriminator:e,...B(r)})}const Pc=L("ZodIntersection",(e,t)=>{ym.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>nv(e,r,i,n)});function Dc(e,t){return new Pc({type:"intersection",left:e,right:t})}const Rc=L("ZodTuple",(e,t)=>{lf.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>rv(e,r,i,n),e.rest=r=>e.clone({...e._zod.def,rest:r})});function Ac(e,t,r){const i=t instanceof Me,n=i?r:t,s=i?t:null;return new Rc({type:"tuple",items:e,rest:s,...B(n)})}const mi=L("ZodRecord",(e,t)=>{_m.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>iv(e,r,i,n),e.keyType=t.keyType,e.valueType=t.valueType});function Fc(e,t,r){return!t||!t._zod?new mi({type:"record",keyType:_o(),valueType:e,...B(t)}):new mi({type:"record",keyType:e,valueType:t,...B(r)})}function V3(e,t,r){const i=Qt(e);return i._zod.values=void 0,new mi({type:"record",keyType:i,valueType:t,...B(r)})}function B3(e,t,r){return new mi({type:"record",keyType:e,valueType:t,mode:"loose",...B(r)})}const Uc=L("ZodMap",(e,t)=>{wm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Xg(e,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(cr(...r)),e.nonempty=r=>e.check(cr(1,r)),e.max=(...r)=>e.check(Ci(...r)),e.size=(...r)=>e.check(Io(...r))});function W3(e,t,r){return new Uc({type:"map",keyType:e,valueType:t,...B(r)})}const Hc=L("ZodSet",(e,t)=>{bm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Qg(e,r),e.min=(...r)=>e.check(cr(...r)),e.nonempty=r=>e.check(cr(1,r)),e.max=(...r)=>e.check(Ci(...r)),e.size=(...r)=>e.check(Io(...r))});function K3(e,t){return new Hc({type:"set",valueType:e,...B(t)})}const gi=L("ZodEnum",(e,t)=>{xm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(i,n,s)=>Zg(e,i,n),e.enum=t.entries,e.options=Object.values(t.entries);const r=new Set(Object.keys(t.entries));e.extract=(i,n)=>{const s={};for(const l of i)if(r.has(l))s[l]=t.entries[l];else throw new Error(`Key ${l} not found in enum`);return new gi({...t,checks:[],...B(n),entries:s})},e.exclude=(i,n)=>{const s={...t.entries};for(const l of i)if(r.has(l))delete s[l];else throw new Error(`Key ${l} not found in enum`);return new gi({...t,checks:[],...B(n),entries:s})}});function Xa(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new gi({type:"enum",entries:r,...B(t)})}function q3(e,t){return new gi({type:"enum",entries:e,...B(t)})}const Zc=L("ZodLiteral",(e,t)=>{km.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Vg(e,r,i),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function J3(e,t){return new Zc({type:"literal",values:Array.isArray(e)?e:[e],...B(t)})}const Vc=L("ZodFile",(e,t)=>{Cm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Kg(e,r,i),e.min=(r,i)=>e.check(cr(r,i)),e.max=(r,i)=>e.check(Ci(r,i)),e.mime=(r,i)=>e.check(ka(Array.isArray(r)?r:[r],i))});function G3(e){return xg(Vc,e)}const Bc=L("ZodTransform",(e,t)=>{$m.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Yg(e,r),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new nc(e.constructor.name);r.addIssue=s=>{if(typeof s=="string")r.issues.push(po(s,r.value,t));else{const l=s;l.fatal&&(l.continue=!1),l.code??(l.code="custom"),l.input??(l.input=r.value),l.inst??(l.inst=e),r.issues.push(po(l))}};const n=t.transform(r.value,r);return n instanceof Promise?n.then(s=>(r.value=s,r.fallback=!0,r)):(r.value=n,r.fallback=!0,r)}});function Qa(e){return new Bc({type:"transform",transform:e})}const el=L("ZodOptional",(e,t)=>{cf.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Df(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function bo(e){return new el({type:"optional",innerType:e})}const Wc=L("ZodExactOptional",(e,t)=>{Sm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Df(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Kc(e){return new Wc({type:"optional",innerType:e})}const qc=L("ZodNullable",(e,t)=>{Im.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ov(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function xo(e){return new qc({type:"nullable",innerType:e})}function Y3(e){return bo(xo(e))}const Jc=L("ZodDefault",(e,t)=>{zm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>av(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Gc(e,t){return new Jc({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():ic(t)}})}const Yc=L("ZodPrefault",(e,t)=>{jm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>lv(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Xc(e,t){return new Yc({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():ic(t)}})}const tl=L("ZodNonOptional",(e,t)=>{Em.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>sv(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Qc(e,t){return new tl({type:"nonoptional",innerType:e,...B(t)})}const eu=L("ZodSuccess",(e,t)=>{Om.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>qg(e,r,i),e.unwrap=()=>e._zod.def.innerType});function X3(e){return new eu({type:"success",innerType:e})}const tu=L("ZodCatch",(e,t)=>{Mm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>cv(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function nu(e,t){return new tu({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const ru=L("ZodNaN",(e,t)=>{Tm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Bg(e,r)});function Q3(e){return wg(ru,e)}const Ro=L("ZodPipe",(e,t)=>{uf.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>uv(e,r,i,n),e.in=t.in,e.out=t.out});function Qs(e,t){return new Ro({type:"pipe",in:e,out:t})}const Ao=L("ZodCodec",(e,t)=>{Ro.init(e,t),df.init(e,t)});function e4(e,t,r){return new Ao({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function t4(e){const t=e._zod.def;return new Ao({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}const iu=L("ZodPreprocess",(e,t)=>{Ro.init(e,t),Lm.init(e,t)}),ou=L("ZodReadonly",(e,t)=>{Nm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>dv(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function su(e){return new ou({type:"readonly",innerType:e})}const au=L("ZodTemplateLiteral",(e,t)=>{Pm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Wg(e,r,i)});function n4(e,t){return new au({type:"template_literal",parts:e,...B(t)})}const lu=L("ZodLazy",(e,t)=>{Am.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>hv(e,r,i,n),e.unwrap=()=>e._zod.def.getter()});function cu(e){return new lu({type:"lazy",getter:e})}const uu=L("ZodPromise",(e,t)=>{Rm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>fv(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function r4(e){return new uu({type:"promise",innerType:e})}const du=L("ZodFunction",(e,t)=>{Dm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Gg(e,r)});function ko(e){return new du({type:"function",input:Array.isArray(e?.input)?Ac(e?.input):e?.input??No(Nr()),output:e?.output??Nr()})}const Fo=L("ZodCustom",(e,t)=>{Fm.init(e,t),Te.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Jg(e,r)});function i4(e){const t=new et({check:"custom"});return t._zod.check=e,t}function o4(e,t){return kg(Fo,e??(()=>!0),t)}function fu(e,t={}){return Cg(Fo,e,t)}function hu(e,t){return $g(e,t)}const s4=Ig,a4=zg;function l4(e,t={}){const r=new Fo({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,...B(t)});return r._zod.bag.Class=e,r._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:r,path:[...r._zod.def.path??[]]})},r}const c4=(...e)=>jg({Codec:Ao,Boolean:To,String:Eo},...e);function u4(e){const t=cu(()=>Ya([_o(e),kc(),Cc(),zc(),No(t),Fc(_o(),t)]));return t}function d4(e,t){return new iu({type:"pipe",in:Qa(e),out:t})}const DS=Object.freeze(Object.defineProperty({__proto__:null,ZodAny:jc,ZodArray:Tc,ZodBase64:Va,ZodBase64URL:Ba,ZodBigInt:Lo,ZodBigIntFormat:qa,ZodBoolean:To,ZodCIDRv4:Ha,ZodCIDRv6:Za,ZodCUID:Na,ZodCUID2:Pa,ZodCatch:tu,ZodCodec:Ao,ZodCustom:Fo,ZodCustomStringFormat:$i,ZodDate:Ga,ZodDefault:Jc,ZodDiscriminatedUnion:Nc,ZodE164:Wa,ZodEmail:Ma,ZodEmoji:Ta,ZodEnum:gi,ZodExactOptional:Wc,ZodFile:Vc,ZodFunction:du,ZodGUID:wo,ZodIPv4:Fa,ZodIPv6:Ua,ZodIntersection:Pc,ZodJWT:Ka,ZodKSUID:Aa,ZodLazy:lu,ZodLiteral:Zc,ZodMAC:xc,ZodMap:Uc,ZodNaN:ru,ZodNanoID:La,ZodNever:Oc,ZodNonOptional:tl,ZodNull:Ic,ZodNullable:qc,ZodNumber:Mo,ZodNumberFormat:Rr,ZodObject:Po,ZodOptional:el,ZodPipe:Ro,ZodPrefault:Yc,ZodPreprocess:iu,ZodPromise:uu,ZodReadonly:ou,ZodRecord:mi,ZodSet:Hc,ZodString:Eo,ZodStringFormat:Ke,ZodSuccess:eu,ZodSymbol:$c,ZodTemplateLiteral:au,ZodTransform:Bc,ZodTuple:Rc,ZodType:Te,ZodULID:Da,ZodURL:Oo,ZodUUID:jn,ZodUndefined:Sc,ZodUnion:Do,ZodUnknown:Ec,ZodVoid:Mc,ZodXID:Ra,ZodXor:Lc,_ZodString:Oa,_default:Gc,_function:ko,any:N3,array:No,base64:y3,base64url:_3,bigint:E3,boolean:Cc,catch:nu,check:i4,cidrv4:g3,cidrv6:v3,codec:e4,cuid:l3,cuid2:c3,custom:o4,date:D3,describe:s4,discriminatedUnion:Z3,e164:w3,email:Xf,emoji:s3,enum:Xa,exactOptional:Kc,file:G3,float32:S3,float64:I3,function:ko,guid:Qf,hash:$3,hex:C3,hostname:k3,httpUrl:o3,instanceof:l4,int:Xs,int32:z3,int64:O3,intersection:Dc,invertCodec:t4,ipv4:h3,ipv6:m3,json:u4,jwt:b3,keyof:R3,ksuid:f3,lazy:cu,literal:J3,looseObject:U3,looseRecord:B3,mac:p3,map:W3,meta:a4,nan:Q3,nanoid:a3,nativeEnum:q3,never:Ja,nonoptional:Qc,null:zc,nullable:xo,nullish:Y3,number:kc,object:A3,optional:bo,partialRecord:V3,pipe:Qs,prefault:Xc,preprocess:d4,promise:r4,readonly:su,record:Fc,refine:fu,set:K3,strictObject:F3,string:_o,stringFormat:x3,stringbool:c4,success:X3,superRefine:hu,symbol:T3,templateLiteral:n4,transform:Qa,tuple:Ac,uint32:j3,uint64:M3,ulid:u3,undefined:L3,union:Ya,unknown:Nr,url:i3,uuid:e3,uuidv4:t3,uuidv6:n3,uuidv7:r3,void:P3,xid:d3,xor:H3},Symbol.toStringTag,{value:"Module"})),bv={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function xv(e){vt({customError:e})}function kv(){return vt().customError}var A1;A1||(A1={});const ae={...DS,...PS,iso:Af},RS=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function AS(e,t){const r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function FS(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");const r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return t.rootSchema;const i=t.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===i){const n=r[1];if(!n||!t.defs[n])throw new Error(`Reference not found: ${e}`);return t.defs[n]}throw new Error(`Reference not found: ${e}`)}function Cv(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return ae.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){const n=e.$ref;if(t.refs.has(n))return t.refs.get(n);if(t.processing.has(n))return ae.lazy(()=>{if(!t.refs.has(n))throw new Error(`Circular reference not resolved: ${n}`);return t.refs.get(n)});t.processing.add(n);const s=FS(n,t),l=$t(s,t);return t.refs.set(n,l),t.processing.delete(n),l}if(e.enum!==void 0){const n=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&n.length===1&&n[0]===null)return ae.null();if(n.length===0)return ae.never();if(n.length===1)return ae.literal(n[0]);if(n.every(l=>typeof l=="string"))return ae.enum(n);const s=n.map(l=>ae.literal(l));return s.length<2?s[0]:ae.union([s[0],s[1],...s.slice(2)])}if(e.const!==void 0)return ae.literal(e.const);const r=e.type;if(Array.isArray(r)){const n=r.map(s=>{const l={...e,type:s};return Cv(l,t)});return n.length===0?ae.never():n.length===1?n[0]:ae.union(n)}if(!r)return ae.any();let i;switch(r){case"string":{let n=ae.string();if(e.format){const s=e.format;s==="email"?n=n.check(ae.email()):s==="uri"||s==="uri-reference"?n=n.check(ae.url()):s==="uuid"||s==="guid"?n=n.check(ae.uuid()):s==="date-time"?n=n.check(ae.iso.datetime()):s==="date"?n=n.check(ae.iso.date()):s==="time"?n=n.check(ae.iso.time()):s==="duration"?n=n.check(ae.iso.duration()):s==="ipv4"?n=n.check(ae.ipv4()):s==="ipv6"?n=n.check(ae.ipv6()):s==="mac"?n=n.check(ae.mac()):s==="cidr"?n=n.check(ae.cidrv4()):s==="cidr-v6"?n=n.check(ae.cidrv6()):s==="base64"?n=n.check(ae.base64()):s==="base64url"?n=n.check(ae.base64url()):s==="e164"?n=n.check(ae.e164()):s==="jwt"?n=n.check(ae.jwt()):s==="emoji"?n=n.check(ae.emoji()):s==="nanoid"?n=n.check(ae.nanoid()):s==="cuid"?n=n.check(ae.cuid()):s==="cuid2"?n=n.check(ae.cuid2()):s==="ulid"?n=n.check(ae.ulid()):s==="xid"?n=n.check(ae.xid()):s==="ksuid"&&(n=n.check(ae.ksuid()))}typeof e.minLength=="number"&&(n=n.min(e.minLength)),typeof e.maxLength=="number"&&(n=n.max(e.maxLength)),e.pattern&&(n=n.regex(new RegExp(e.pattern))),i=n;break}case"number":case"integer":{let n=r==="integer"?ae.number().int():ae.number();typeof e.minimum=="number"&&(n=n.min(e.minimum)),typeof e.maximum=="number"&&(n=n.max(e.maximum)),typeof e.exclusiveMinimum=="number"?n=n.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(n=n.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?n=n.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(n=n.lt(e.maximum)),typeof e.multipleOf=="number"&&(n=n.multipleOf(e.multipleOf)),i=n;break}case"boolean":{i=ae.boolean();break}case"null":{i=ae.null();break}case"object":{const n={},s=e.properties||{},l=new Set(e.required||[]);for(const[f,h]of Object.entries(s)){const g=$t(h,t);n[f]=l.has(f)?g:g.optional()}if(e.propertyNames){const f=$t(e.propertyNames,t),h=e.additionalProperties&&typeof e.additionalProperties=="object"?$t(e.additionalProperties,t):ae.any();if(Object.keys(n).length===0){i=ae.record(f,h);break}const g=ae.object(n).passthrough(),y=ae.looseRecord(f,h);i=ae.intersection(g,y);break}if(e.patternProperties){const f=e.patternProperties,h=Object.keys(f),g=[];for(const _ of h){const w=$t(f[_],t),x=ae.string().regex(new RegExp(_));g.push(ae.looseRecord(x,w))}const y=[];if(Object.keys(n).length>0&&y.push(ae.object(n).passthrough()),y.push(...g),y.length===0)i=ae.object({}).passthrough();else if(y.length===1)i=y[0];else{let _=ae.intersection(y[0],y[1]);for(let w=2;w<y.length;w++)_=ae.intersection(_,y[w]);i=_}break}const u=ae.object(n);e.additionalProperties===!1?i=u.strict():typeof e.additionalProperties=="object"?i=u.catchall($t(e.additionalProperties,t)):i=u.passthrough();break}case"array":{const n=e.prefixItems,s=e.items;if(n&&Array.isArray(n)){const l=n.map(f=>$t(f,t)),u=s&&typeof s=="object"&&!Array.isArray(s)?$t(s,t):void 0;u?i=ae.tuple(l).rest(u):i=ae.tuple(l),typeof e.minItems=="number"&&(i=i.check(ae.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(ae.maxLength(e.maxItems)))}else if(Array.isArray(s)){const l=s.map(f=>$t(f,t)),u=e.additionalItems&&typeof e.additionalItems=="object"?$t(e.additionalItems,t):void 0;u?i=ae.tuple(l).rest(u):i=ae.tuple(l),typeof e.minItems=="number"&&(i=i.check(ae.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(ae.maxLength(e.maxItems)))}else if(s!==void 0){const l=$t(s,t);let u=ae.array(l);typeof e.minItems=="number"&&(u=u.min(e.minItems)),typeof e.maxItems=="number"&&(u=u.max(e.maxItems)),i=u}else i=ae.array(ae.any());break}default:throw new Error(`Unsupported type: ${r}`)}return i}function $t(e,t){if(typeof e=="boolean")return e?ae.any():ae.never();let r=Cv(e,t);const i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){const u=e.anyOf.map(h=>$t(h,t)),f=ae.union(u);r=i?ae.intersection(r,f):f}if(e.oneOf&&Array.isArray(e.oneOf)){const u=e.oneOf.map(h=>$t(h,t)),f=ae.xor(u);r=i?ae.intersection(r,f):f}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=i?r:ae.any();else{let u=i?r:$t(e.allOf[0],t);const f=i?0:1;for(let h=f;h<e.allOf.length;h++)u=ae.intersection(u,$t(e.allOf[h],t));r=u}e.nullable===!0&&t.version==="openapi-3.0"&&(r=ae.nullable(r)),e.readOnly===!0&&(r=ae.readonly(r)),e.default!==void 0&&(r=r.default(e.default));const n={},s=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(const u of s)u in e&&(n[u]=e[u]);const l=["contentEncoding","contentMediaType","contentSchema"];for(const u of l)u in e&&(n[u]=e[u]);for(const u of Object.keys(e))RS.has(u)||(n[u]=e[u]);return Object.keys(n).length>0&&t.registry.add(r,n),e.description&&(r=r.describe(e.description)),r}function $v(e,t){if(typeof e=="boolean")return e?ae.any():ae.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}const i=AS(r,t?.defaultTarget),n=r.$defs||r.definitions||{},s={version:i,defs:n,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??Jt};return $t(r,s)}function US(e){return Wm(Eo,e)}function HS(e){return Qm(Mo,e)}function ZS(e){return sg(To,e)}function VS(e){return lg(Lo,e)}function BS(e){return _g(Ga,e)}const Sv=Object.freeze(Object.defineProperty({__proto__:null,bigint:VS,boolean:ZS,date:BS,number:HS,string:US},Symbol.toStringTag,{value:"Module"}));vt(Um());const b8=Object.freeze(Object.defineProperty({__proto__:null,$brand:D2,$input:pf,$output:hf,NEVER:P2,TimePrecision:Nf,ZodAny:jc,ZodArray:Tc,ZodBase64:Va,ZodBase64URL:Ba,ZodBigInt:Lo,ZodBigIntFormat:qa,ZodBoolean:To,ZodCIDRv4:Ha,ZodCIDRv6:Za,ZodCUID:Na,ZodCUID2:Pa,ZodCatch:tu,ZodCodec:Ao,ZodCustom:Fo,ZodCustomStringFormat:$i,ZodDate:Ga,ZodDefault:Jc,ZodDiscriminatedUnion:Nc,ZodE164:Wa,ZodEmail:Ma,ZodEmoji:Ta,ZodEnum:gi,ZodError:wv,ZodExactOptional:Wc,ZodFile:Vc,get ZodFirstPartyTypeKind(){return A1},ZodFunction:du,ZodGUID:wo,ZodIPv4:Fa,ZodIPv6:Ua,ZodISODate:_c,ZodISODateTime:yc,ZodISODuration:bc,ZodISOTime:wc,ZodIntersection:Pc,ZodIssueCode:bv,ZodJWT:Ka,ZodKSUID:Aa,ZodLazy:lu,ZodLiteral:Zc,ZodMAC:xc,ZodMap:Uc,ZodNaN:ru,ZodNanoID:La,ZodNever:Oc,ZodNonOptional:tl,ZodNull:Ic,ZodNullable:qc,ZodNumber:Mo,ZodNumberFormat:Rr,ZodObject:Po,ZodOptional:el,ZodPipe:Ro,ZodPrefault:Yc,ZodPreprocess:iu,ZodPromise:uu,ZodReadonly:ou,ZodRealError:Ht,ZodRecord:mi,ZodSet:Hc,ZodString:Eo,ZodStringFormat:Ke,ZodSuccess:eu,ZodSymbol:$c,ZodTemplateLiteral:au,ZodTransform:Bc,ZodTuple:Rc,ZodType:Te,ZodULID:Da,ZodURL:Oo,ZodUUID:jn,ZodUndefined:Sc,ZodUnion:Do,ZodUnknown:Ec,ZodVoid:Mc,ZodXID:Ra,ZodXor:Lc,_ZodString:Oa,_default:Gc,_function:ko,any:N3,array:No,base64:y3,base64url:_3,bigint:E3,boolean:Cc,catch:nu,check:i4,cidrv4:g3,cidrv6:v3,clone:Qt,codec:e4,coerce:Sv,config:vt,core:pv,cuid:l3,cuid2:c3,custom:o4,date:D3,decode:Bf,decodeAsync:Kf,describe:s4,discriminatedUnion:Z3,e164:w3,email:Xf,emoji:s3,encode:Vf,encodeAsync:Wf,endsWith:xa,enum:Xa,exactOptional:Kc,file:G3,flattenError:ac,float32:S3,float64:I3,formatError:lc,fromJSONSchema:$v,function:ko,getErrorMap:kv,globalRegistry:Jt,gt:lr,gte:Mt,guid:Qf,hash:$3,hex:C3,hostname:k3,httpUrl:o3,includes:wa,instanceof:l4,int:Xs,int32:z3,int64:O3,intersection:Dc,invertCodec:t4,ipv4:h3,ipv6:m3,iso:Af,json:u4,jwt:b3,keyof:R3,ksuid:f3,lazy:cu,length:jo,literal:J3,locales:ff,looseObject:U3,looseRecord:B3,lowercase:ya,lt:ar,lte:Gt,mac:p3,map:W3,maxLength:zo,maxSize:Ci,meta:a4,mime:ka,minLength:Lr,minSize:cr,multipleOf:pi,nan:Q3,nanoid:a3,nativeEnum:q3,negative:pc,never:Ja,nonnegative:gc,nonoptional:Qc,nonpositive:mc,normalize:Ca,null:zc,nullable:xo,nullish:Y3,number:kc,object:A3,optional:bo,overwrite:Kn,parse:Ff,parseAsync:Uf,partialRecord:V3,pipe:Qs,positive:hc,prefault:Xc,preprocess:d4,prettifyError:Z2,promise:r4,property:vc,readonly:su,record:Fc,refine:fu,regex:va,regexes:cc,registry:dc,safeDecode:Jf,safeDecodeAsync:Yf,safeEncode:qf,safeEncodeAsync:Gf,safeParse:Hf,safeParseAsync:Zf,set:K3,setErrorMap:xv,size:Io,slugify:za,startsWith:ba,strictObject:F3,string:_o,stringFormat:x3,stringbool:c4,success:X3,superRefine:hu,symbol:T3,templateLiteral:n4,toJSONSchema:Rf,toLowerCase:Sa,toUpperCase:Ia,transform:Qa,treeifyError:H2,trim:$a,tuple:Ac,uint32:j3,uint64:M3,ulid:u3,undefined:L3,union:Ya,unknown:Nr,uppercase:_a,url:i3,util:F2,uuid:e3,uuidv4:t3,uuidv6:n3,uuidv7:r3,void:P3,xid:d3,xor:H3},Symbol.toStringTag,{value:"Module"})),WS=Object.freeze(Object.defineProperty({__proto__:null,$brand:D2,$input:pf,$output:hf,NEVER:P2,TimePrecision:Nf,ZodAny:jc,ZodArray:Tc,ZodBase64:Va,ZodBase64URL:Ba,ZodBigInt:Lo,ZodBigIntFormat:qa,ZodBoolean:To,ZodCIDRv4:Ha,ZodCIDRv6:Za,ZodCUID:Na,ZodCUID2:Pa,ZodCatch:tu,ZodCodec:Ao,ZodCustom:Fo,ZodCustomStringFormat:$i,ZodDate:Ga,ZodDefault:Jc,ZodDiscriminatedUnion:Nc,ZodE164:Wa,ZodEmail:Ma,ZodEmoji:Ta,ZodEnum:gi,ZodError:wv,ZodExactOptional:Wc,ZodFile:Vc,get ZodFirstPartyTypeKind(){return A1},ZodFunction:du,ZodGUID:wo,ZodIPv4:Fa,ZodIPv6:Ua,ZodISODate:_c,ZodISODateTime:yc,ZodISODuration:bc,ZodISOTime:wc,ZodIntersection:Pc,ZodIssueCode:bv,ZodJWT:Ka,ZodKSUID:Aa,ZodLazy:lu,ZodLiteral:Zc,ZodMAC:xc,ZodMap:Uc,ZodNaN:ru,ZodNanoID:La,ZodNever:Oc,ZodNonOptional:tl,ZodNull:Ic,ZodNullable:qc,ZodNumber:Mo,ZodNumberFormat:Rr,ZodObject:Po,ZodOptional:el,ZodPipe:Ro,ZodPrefault:Yc,ZodPreprocess:iu,ZodPromise:uu,ZodReadonly:ou,ZodRealError:Ht,ZodRecord:mi,ZodSet:Hc,ZodString:Eo,ZodStringFormat:Ke,ZodSuccess:eu,ZodSymbol:$c,ZodTemplateLiteral:au,ZodTransform:Bc,ZodTuple:Rc,ZodType:Te,ZodULID:Da,ZodURL:Oo,ZodUUID:jn,ZodUndefined:Sc,ZodUnion:Do,ZodUnknown:Ec,ZodVoid:Mc,ZodXID:Ra,ZodXor:Lc,_ZodString:Oa,_default:Gc,_function:ko,any:N3,array:No,base64:y3,base64url:_3,bigint:E3,boolean:Cc,catch:nu,check:i4,cidrv4:g3,cidrv6:v3,clone:Qt,codec:e4,coerce:Sv,config:vt,core:pv,cuid:l3,cuid2:c3,custom:o4,date:D3,decode:Bf,decodeAsync:Kf,default:b8,describe:s4,discriminatedUnion:Z3,e164:w3,email:Xf,emoji:s3,encode:Vf,encodeAsync:Wf,endsWith:xa,enum:Xa,exactOptional:Kc,file:G3,flattenError:ac,float32:S3,float64:I3,formatError:lc,fromJSONSchema:$v,function:ko,getErrorMap:kv,globalRegistry:Jt,gt:lr,gte:Mt,guid:Qf,hash:$3,hex:C3,hostname:k3,httpUrl:o3,includes:wa,instanceof:l4,int:Xs,int32:z3,int64:O3,intersection:Dc,invertCodec:t4,ipv4:h3,ipv6:m3,iso:Af,json:u4,jwt:b3,keyof:R3,ksuid:f3,lazy:cu,length:jo,literal:J3,locales:ff,looseObject:U3,looseRecord:B3,lowercase:ya,lt:ar,lte:Gt,mac:p3,map:W3,maxLength:zo,maxSize:Ci,meta:a4,mime:ka,minLength:Lr,minSize:cr,multipleOf:pi,nan:Q3,nanoid:a3,nativeEnum:q3,negative:pc,never:Ja,nonnegative:gc,nonoptional:Qc,nonpositive:mc,normalize:Ca,null:zc,nullable:xo,nullish:Y3,number:kc,object:A3,optional:bo,overwrite:Kn,parse:Ff,parseAsync:Uf,partialRecord:V3,pipe:Qs,positive:hc,prefault:Xc,preprocess:d4,prettifyError:Z2,promise:r4,property:vc,readonly:su,record:Fc,refine:fu,regex:va,regexes:cc,registry:dc,safeDecode:Jf,safeDecodeAsync:Yf,safeEncode:qf,safeEncodeAsync:Gf,safeParse:Hf,safeParseAsync:Zf,set:K3,setErrorMap:xv,size:Io,slugify:za,startsWith:ba,strictObject:F3,string:_o,stringFormat:x3,stringbool:c4,success:X3,superRefine:hu,symbol:T3,templateLiteral:n4,toJSONSchema:Rf,toLowerCase:Sa,toUpperCase:Ia,transform:Qa,treeifyError:H2,trim:$a,tuple:Ac,uint32:j3,uint64:M3,ulid:u3,undefined:L3,union:Ya,unknown:Nr,uppercase:_a,url:i3,util:F2,uuid:e3,uuidv4:t3,uuidv6:n3,uuidv7:r3,void:P3,xid:d3,xor:H3,z:b8},Symbol.toStringTag,{value:"Module"}));function KS(e,t,r){const i=new Array(e);return new Proxy(i,{get(n,s,l){if(typeof s=="string"){const u=s.charCodeAt(0);if(u>=48&&u<=57){const f=+s;if(Number.isInteger(f)&&f>=0&&f<e){let h=n[f];if(!h){const g=t[f*2];h=n[f]={index:f,key:r(f),start:g,size:t[f*2+1],end:g+t[f*2+1],lane:0}}return h}}if(s==="length")return e}return Reflect.get(n,s,l)}})}function ni(e,t,r){let i=r.initialDeps??[],n,s=!0;function l(){const u=e();return(u.length!==i.length||u.some((h,g)=>i[g]!==h))&&(i=u,n=t(...u),r?.onChange&&!(s&&r.skipInitialOnChange)&&r.onChange(n),s=!1),n}return l.updateDeps=u=>{i=u},l}function u2(e,t){if(e===void 0)throw new Error(`Unexpected undefined${t?`: ${t}`:""}`);return e}const Iv=(e,t)=>Math.abs(e-t)<1.01,zv=(e,t,r)=>{let i;return Object.assign(function(...n){e.clearTimeout(i),i=e.setTimeout(()=>t.apply(this,n),r)},{cancel:()=>{e.clearTimeout(i)}})};let io;const I0=()=>{if(io!==void 0)return io;if(typeof navigator>"u")return io=!1;if(/iP(hone|od|ad)/.test(navigator.userAgent))return io=!0;const e=navigator.maxTouchPoints;return io=navigator.platform==="MacIntel"&&e!==void 0&&e>0},qS=()=>{io=void 0},x8=e=>{const{offsetWidth:t,offsetHeight:r}=e;return{width:t,height:r}},jv=e=>e,Ev=e=>{const t=Math.max(e.startIndex-e.overscan,0),i=Math.min(e.endIndex+e.overscan,e.count-1)-t+1,n=new Array(i);for(let s=0;s<i;s++)n[s]=t+s;return n},Ov=(e,t)=>{const r=e.scrollElement;if(!r)return;const i=e.targetWindow;if(!i)return;const n=l=>{const{width:u,height:f}=l;t({width:Math.round(u),height:Math.round(f)})};if(n(x8(r)),!i.ResizeObserver)return()=>{};const s=new i.ResizeObserver(l=>{const u=()=>{const f=l[0];if(f?.borderBoxSize){const h=f.borderBoxSize[0];if(h){n({width:h.inlineSize,height:h.blockSize});return}}n(x8(r))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(u):u()});return s.observe(r,{box:"border-box"}),()=>{s.unobserve(r)}},ea={passive:!0},Mv=(e,t)=>{const r=e.scrollElement;if(!r)return;const i=()=>{t({width:r.innerWidth,height:r.innerHeight})};return i(),r.addEventListener("resize",i,ea),()=>{r.removeEventListener("resize",i)}},JS=typeof window>"u"?!0:"onscrollend"in window,Tv=(e,t,r)=>{const i=e.scrollElement;if(!i)return;const n=e.targetWindow;if(!n)return;const s=e.options.useScrollendEvent&&JS;let l=0;const u=s?null:zv(n,()=>t(l,!1),e.options.isScrollingResetDelay),f=y=>()=>{l=r(i),u?.(),t(l,y)},h=f(!0),g=f(!1);return i.addEventListener("scroll",h,ea),s&&i.addEventListener("scrollend",g,ea),()=>{i.removeEventListener("scroll",h),s&&i.removeEventListener("scrollend",g),u?.cancel()}},Lv=(e,t)=>Tv(e,t,r=>{const{horizontal:i,isRtl:n}=e.options;return i?r.scrollLeft*(n&&-1||1):r.scrollTop}),Nv=(e,t)=>Tv(e,t,r=>e.options.horizontal?r.scrollX:r.scrollY),Pv=(e,t,r)=>{if(r.options.useCachedMeasurements){const i=r.indexFromElement(e),n=r.options.getItemKey(i);return r.itemSizeCache.get(n)??r.options.estimateSize(i)}if(t?.borderBoxSize){const i=t.borderBoxSize[0];if(i)return Math.round(i[r.options.horizontal?"inlineSize":"blockSize"])}if(!t){const i=r.indexFromElement(e),n=r.options.getItemKey(i),s=r.itemSizeCache.get(n);if(s!==void 0)return s}return e[r.options.horizontal?"offsetWidth":"offsetHeight"]},Dv=(e,{adjustments:t=0,behavior:r},i)=>{var n,s;(s=(n=i.scrollElement)==null?void 0:n.scrollTo)==null||s.call(n,{[i.options.horizontal?"left":"top"]:e+t,behavior:r})},Rv=Dv,Av=Dv;class Fv{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this._flatMeasurements=null,this.itemSizeCache=new Map,this.itemSizeCacheVersion=0,this.laneAssignments=new Map,this.pendingMin=null,this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.pendingScrollAnchor=null,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._intendedScrollOffset=null,this.elementsCache=new Map,this.now=()=>{var r,i,n;return((n=(i=(r=this.targetWindow)==null?void 0:r.performance)==null?void 0:i.now)==null?void 0:n.call(i))??Date.now()},this.observer=(()=>{let r=null;const i=()=>r||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:r=new this.targetWindow.ResizeObserver(n=>{n.forEach(s=>{const l=()=>{const u=s.target,f=this.indexFromElement(u);if(!u.isConnected){this.observer.unobserve(u);for(const[h,g]of this.elementsCache)if(g===u){this.elementsCache.delete(h);break}return}this.isIndexInRange(f)&&this.shouldMeasureDuringScroll(f)&&this.resizeItem(f,this.options.measureElement(u,s,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(l):l()})}));return{disconnect:()=>{var n;(n=i())==null||n.disconnect(),r=null},observe:n=>{var s;return(s=i())==null?void 0:s.observe(n,{box:"border-box"})},unobserve:n=>{var s;return(s=i())==null?void 0:s.unobserve(n)}}})(),this.range=null,this.setOptions=r=>{var i,n;const s={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:jv,rangeExtractor:Ev,onChange:()=>{},measureElement:Pv,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,anchorTo:"start",followOnAppend:!1,scrollEndThreshold:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:"estimate",useCachedMeasurements:!1};for(const _ in r){const w=r[_];w!==void 0&&(s[_]=w)}const l=this.options;let u=null,f=null,h=!1;if(l!==void 0&&l.enabled&&s.enabled&&s.anchorTo==="end"&&this.scrollElement!==null){const _=l.count,w=s.count,x=this.getMeasurements(),I=_>0?((i=x[0])==null?void 0:i.key)??l.getItemKey(0):null,S=_>0?((n=x[_-1])==null?void 0:n.key)??l.getItemKey(_-1):null;if(w!==_||_>0&&w>0&&(s.getItemKey(0)!==I||s.getItemKey(w-1)!==S)){h=!0;const O=_>0?this.getVirtualItemForOffset(this.getScrollOffset())??x[0]:null;O&&(u=[O.key,this.getScrollOffset()-O.start]);const P=s.followOnAppend===!0?"auto":s.followOnAppend||null;P&&w>_&&this.isAtEnd(l.scrollEndThreshold)&&(_===0||s.getItemKey(w-1)!==S)&&(f=P)}}this.options=s,h&&(this.pendingMin=0,this.itemSizeCacheVersion++);let g=!1,y=0;if(u&&this.scrollOffset!==null){const[_,w]=u,x=this.getMeasurements(),{count:I,getItemKey:S}=this.options;let E=0;for(;E<I&&S(E)!==_;)E++;if(E<I){const z=x[E];if(z){const O=Math.max(0,z.start+w);O!==this.scrollOffset&&(y=O-this.scrollOffset,this.scrollOffset=O,g=!0)}}}(g||f)&&(this.pendingScrollAnchor=[g?u[0]:null,g?u[1]:0,f,y])},this.notify=r=>{var i,n;(n=(i=this.options).onChange)==null||n.call(i,this,r)},this.maybeNotify=ni(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),r=>{this.notify(r)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(r=>r()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this.isScrolling=!1,this.scrollDirection=null,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var r;const i=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==i){if(this.cleanup(),!i){this.maybeNotify();return}if(this.scrollElement=i,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((r=this.scrollElement)==null?void 0:r.window)??null,this.elementsCache.forEach(s=>{this.observer.observe(s)}),this.unsubs.push(this.options.observeElementRect(this,s=>{this.scrollRect=s,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(s,l)=>{if(l&&this._intendedScrollOffset===null&&s===this.scrollOffset)return;this._intendedScrollOffset!==null&&Math.abs(s-this._intendedScrollOffset)<1.5&&(s=this._intendedScrollOffset),this._intendedScrollOffset=null,this.scrollAdjustments=0;const u=this.getScrollOffset();this.scrollDirection=l?u===s?this.scrollDirection:u<s?"forward":"backward":null,this.scrollOffset=s,this.isScrolling=l,this._flushIosDeferredIfReady(),this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),"addEventListener"in this.scrollElement){const s=this.scrollElement,l=()=>{this._iosTouching=!0,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)},u=()=>{this._iosTouching=!1,!(!I0()||this.targetWindow==null)&&(this._iosJustTouchEnded=!0,this._iosTouchEndTimerId=this.targetWindow.setTimeout(()=>{this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._flushIosDeferredIfReady()},150))};s.addEventListener("touchstart",l,ea),s.addEventListener("touchend",u,ea),this.unsubs.push(()=>{s.removeEventListener("touchstart",l),s.removeEventListener("touchend",u),this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)})}this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}const n=this.pendingScrollAnchor;if(this.pendingScrollAnchor=null,n&&this.scrollElement&&this.options.enabled){const[s,l,u,f]=n;s!==null&&!u&&(I0()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?f!==0&&(this._iosDeferredAdjustment+=f):this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})),u&&this.scrollToEnd({behavior:u})}},this._flushIosDeferredIfReady=()=>{if(this._iosDeferredAdjustment===0||this.isScrolling||this._iosTouching||this._iosJustTouchEnded)return;const r=this.getScrollOffset(),i=this.getMaxScrollOffset();if(r<0||r>i)return;if(this._iosDeferredAdjustment<0&&r>=i-1){this._iosDeferredAdjustment=0;return}const n=this._iosDeferredAdjustment;this._iosDeferredAdjustment=0,this._scrollToOffset(r,{adjustments:this.scrollAdjustments+=n,behavior:void 0})},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getMeasurementOptions=ni(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode,this.options.gap],(r,i,n,s,l,u,f,h)=>(this.prevLanes!==void 0&&this.prevLanes!==u&&(this.lanesChangedFlag=!0),this.prevLanes=u,this.pendingMin=null,{count:r,paddingStart:i,scrollMargin:n,getItemKey:s,enabled:l,lanes:u,laneAssignmentMode:f,gap:h}),{key:!1}),this.isIndexInRange=r=>r>=0&&r<this.options.count,this.getMeasurements=ni(()=>[this.getMeasurementOptions(),this.itemSizeCacheVersion],({count:r,paddingStart:i,scrollMargin:n,getItemKey:s,enabled:l,lanes:u,laneAssignmentMode:f,gap:h},g)=>{const y=this.itemSizeCache;if(!l)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>r)for(const E of this.laneAssignments.keys())E>=r&&this.laneAssignments.delete(E);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMin=null),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(E=>{this.itemSizeCache.set(E.key,E.size)}));const _=this.lanesSettling?0:this.pendingMin??0;if(this.pendingMin=null,this.lanesSettling&&this.measurementsCache.length===r&&(this.lanesSettling=!1),u===1){const E=r*2;let z=this._flatMeasurements;if(!z||z.length<E){const N=new Float64Array(E);z&&_>0&&N.set(z.subarray(0,_*2)),z=N,this._flatMeasurements=z}let O;if(_===0)O=i+n;else{const N=_-1;O=z[N*2]+z[N*2+1]+h}for(let N=_;N<r;N++){const A=s(N),K=y.get(A),re=typeof K=="number"?K:this.options.estimateSize(N);z[N*2]=O,z[N*2+1]=re,O+=re+h}const P=KS(r,z,s);return this.measurementsCache=P,P}const w=this.measurementsCache.slice(0,_),x=new Array(u).fill(void 0),I=new Float64Array(u);let S=0;for(let E=0;E<_;E++){const z=w[E];z&&(x[z.lane]===void 0&&S++,x[z.lane]=E,I[z.lane]=z.end)}for(let E=_;E<r;E++){const z=s(E),O=this.laneAssignments.get(E);let P,N;const A=f==="estimate"||y.has(z);if(O!==void 0&&this.options.lanes>1){P=O;const H=x[P],te=H!==void 0?w[H]:void 0;N=te?te.end+h:i+n}else if(S===u){let H=0,te=I[0],ie=x[0];for(let se=1;se<u;se++){const xe=I[se];(xe<te||xe===te&&x[se]<ie)&&(H=se,te=xe,ie=x[se])}P=H,N=te+h,A&&this.laneAssignments.set(E,P)}else P=E%this.options.lanes,N=i+n,A&&this.laneAssignments.set(E,P);const K=y.get(z),re=typeof K=="number"?K:this.options.estimateSize(E),V=N+re;w[E]={index:E,start:N,size:re,end:V,key:z,lane:P},x[P]===void 0&&S++,x[P]=E,I[P]=V}return this.measurementsCache=w,w},{key:!1,debug:()=>this.options.debug}),this.calculateRange=ni(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(r,i,n,s)=>r.length===0||i===0?(this.range=null,null):(this.range=YS(r,i,n,s,s===1&&this._flatMeasurements!=null?this._flatMeasurements:null),this.range),{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=ni(()=>{let r=null,i=null;const n=this.calculateRange();return n&&(r=n.startIndex,i=n.endIndex),this.maybeNotify.updateDeps([this.isScrolling,r,i]),[this.options.rangeExtractor,this.options.overscan,this.options.count,r,i]},(r,i,n,s,l)=>s===null||l===null?[]:r({startIndex:s,endIndex:l,overscan:i,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=r=>{const i=this.options.indexAttribute,n=r.getAttribute(i);return n?parseInt(n,10):(console.warn(`Missing attribute name '${i}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=r=>{var i;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const n=this.scrollState.index??((i=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:i.index);if(n!==void 0&&this.range){const s=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),l=Math.max(0,n-s),u=Math.min(this.options.count-1,n+s);return r>=l&&r<=u}return!0},this.measureElement=r=>{if(!r){this.elementsCache.forEach((l,u)=>{l.isConnected||(this.observer.unobserve(l),this.elementsCache.delete(u))});return}const i=this.indexFromElement(r);if(!this.isIndexInRange(i))return;const n=this.options.getItemKey(i),s=this.elementsCache.get(n);s!==r&&(s&&this.observer.unobserve(s),this.observer.observe(r),this.elementsCache.set(n,r)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(i)&&this.resizeItem(i,this.options.measureElement(r,void 0,this))},this.resizeItem=(r,i)=>{var n,s;if(!this.isIndexInRange(r))return;let l,u,f;const h=this._flatMeasurements;if(this.options.lanes===1&&h!==null)f=this.options.getItemKey(r),u=h[r*2],l=h[r*2+1];else{const _=this.measurementsCache[r];if(!_)return;f=_.key,u=_.start,l=_.size}const g=this.itemSizeCache.get(f)??l,y=i-g;if(y!==0){const _=this.options.anchorTo==="end"&&((n=this.scrollState)==null?void 0:n.behavior)!=="smooth"&&this.getVirtualDistanceFromEnd()<=this.options.scrollEndThreshold,w=_?this.getTotalSize():0,x=this.getScrollOffset()+this.scrollAdjustments,S=!this.itemSizeCache.has(f)?u<x:u+g<=x&&this.scrollDirection!=="backward",E=((s=this.scrollState)==null?void 0:s.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(this.measurementsCache[r]??{index:r,key:f,start:u,size:l,end:u+l,lane:0},y,this):S);(this.pendingMin===null||r<this.pendingMin)&&(this.pendingMin=r),this.itemSizeCache.set(f,i),this.itemSizeCacheVersion++;let z=!1;_?z=this.applyScrollAdjustment(this.getTotalSize()-w):E&&(z=this.applyScrollAdjustment(y)),this.notify(z)}},this.getVirtualItems=ni(()=>[this.getVirtualIndexes(),this.getMeasurements()],(r,i)=>{const n=[];for(let s=0,l=r.length;s<l;s++){const u=r[s],f=i[u];n.push(f)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=r=>{const i=this.getMeasurements();if(i.length===0)return;const n=this._flatMeasurements,s=this.options.lanes===1&&n!=null,l=Uv(0,i.length-1,s?u=>n[u*2]:u=>u2(i[u]).start,r);return u2(i[l])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const r=this.scrollElement.document.documentElement;return this.options.horizontal?r.scrollWidth-this.scrollElement.innerWidth:r.scrollHeight-this.scrollElement.innerHeight}},this.getVirtualDistanceFromEnd=()=>Math.max(this.getTotalSize()-this.getSize()-this.getScrollOffset(),0),this.getDistanceFromEnd=()=>Math.max(this.getMaxScrollOffset()-this.getScrollOffset(),0),this.isAtEnd=(r=this.options.scrollEndThreshold)=>this.getDistanceFromEnd()<=r,this.getOffsetForAlignment=(r,i,n=0)=>{if(!this.scrollElement)return 0;const s=this.getSize(),l=this.getScrollOffset();i==="auto"&&(i=r>=l+s?"end":"start"),i==="center"?r+=(n-s)/2:i==="end"&&(r-=s);const u=this.getMaxScrollOffset();return Math.max(Math.min(u,r),0)},this.getOffsetForIndex=(r,i="auto")=>{r=Math.max(0,Math.min(r,this.options.count-1));const n=this.getSize(),s=this.getScrollOffset(),l=this.measurementsCache[r];if(!l)return;if(i==="auto")if(l.end>=s+n-this.options.scrollPaddingEnd)i="end";else if(l.start<=s+this.options.scrollPaddingStart)i="start";else return[s,i];if(i==="end"&&r===this.options.count-1)return[this.getMaxScrollOffset(),i];const u=i==="end"?l.end+this.options.scrollPaddingEnd:l.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(u,i,l.size),i]},this.scrollToOffset=(r,{align:i="start",behavior:n="auto"}={})=>{this._iosDeferredAdjustment=0;const s=this.getOffsetForAlignment(r,i),l=this.now();this.scrollState={index:null,align:i,behavior:n,startedAt:l,lastTargetOffset:s,stableFrames:0},this._scrollToOffset(s,{adjustments:void 0,behavior:n}),this.scheduleScrollReconcile()},this.scrollToIndex=(r,{align:i="auto",behavior:n="auto"}={})=>{this._iosDeferredAdjustment=0,r=Math.max(0,Math.min(r,this.options.count-1));const s=this.getOffsetForIndex(r,i);if(!s)return;const[l,u]=s,f=this.now();this.scrollState={index:r,align:u,behavior:n,startedAt:f,lastTargetOffset:l,stableFrames:0},this._scrollToOffset(l,{adjustments:void 0,behavior:n}),this.scheduleScrollReconcile()},this.scrollBy=(r,{behavior:i="auto"}={})=>{const n=this.getScrollOffset()+r,s=this.now();this.scrollState={index:null,align:"start",behavior:i,startedAt:s,lastTargetOffset:n,stableFrames:0},this._scrollToOffset(n,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollToEnd=({behavior:r="auto"}={})=>{if(this.options.count>0){this.scrollToIndex(this.options.count-1,{align:"end",behavior:r});return}this.scrollToOffset(Math.max(this.getTotalSize()-this.getSize(),0),{behavior:r})},this.getTotalSize=()=>{var r;const i=this.getMeasurements();let n;if(i.length===0)n=this.options.paddingStart;else if(this.options.lanes===1){const s=i.length-1,l=this._flatMeasurements;l!=null?n=l[s*2]+l[s*2+1]:n=((r=i[s])==null?void 0:r.end)??0}else{const s=Array(this.options.lanes).fill(null);let l=i.length-1;for(;l>=0&&s.some(u=>u===null);){const u=i[l];s[u.lane]===null&&(s[u.lane]=u.end),l--}n=Math.max(...s.filter(u=>u!==null))}return Math.max(n-this.options.scrollMargin+this.options.paddingEnd,0)},this.takeSnapshot=()=>{const r=[];if(this.itemSizeCache.size===0)return r;const i=this.getMeasurements();for(const n of i)n&&this.itemSizeCache.has(n.key)&&r.push({index:n.index,key:n.key,start:n.start,size:n.size,end:n.end,lane:n.lane});return r},this._scrollToOffset=(r,{adjustments:i,behavior:n})=>{this._intendedScrollOffset=r+(i??0),this.options.scrollToFn(r,{behavior:n,adjustments:i},this)},this.measure=()=>{this.pendingMin=null,this.itemSizeCache.clear(),this.laneAssignments.clear(),this.itemSizeCacheVersion++,this.notify(!1)},this.setOptions(t)}applyScrollAdjustment(t,r){return t===0?!1:I0()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?(this._iosDeferredAdjustment+=t,!1):(this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=t,behavior:r}),this.scrollOffset!==null&&(this.scrollOffset+=this.scrollAdjustments,this.scrollOffset<0&&(this.scrollOffset=0),this.scrollAdjustments=0),!0)}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const i=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,n=i?i[0]:this.scrollState.lastTargetOffset,s=1,l=n!==this.scrollState.lastTargetOffset;if(!l&&Iv(n,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=s){this.getScrollOffset()!==n&&this._scrollToOffset(n,{adjustments:void 0,behavior:"auto"}),this.scrollState=null;return}}else if(this.scrollState.stableFrames=0,l){const u=this.getSize()||600,f=Math.abs(n-this.getScrollOffset()),h=this.scrollState.behavior==="smooth"&&f>u;this.scrollState.lastTargetOffset=n,h||(this.scrollState.behavior="auto"),this._scrollToOffset(n,{adjustments:void 0,behavior:h?"smooth":"auto"})}this.scheduleScrollReconcile()}}const Uv=(e,t,r,i)=>{for(;e<=t;){const n=(e+t)/2|0,s=r(n);if(s<i)e=n+1;else if(s>i)t=n-1;else return n}return e>0?e-1:0};function GS(e,t,r){let i=0;for(;i<=t;){const n=(i+t)/2|0,s=e[n*2];if(s<r)i=n+1;else if(s>r)t=n-1;else return n}return i>0?i-1:0}function YS(e,t,r,i,n){const s=e.length-1;if(e.length<=i)return{startIndex:0,endIndex:s};if(i===1&&n!==null){const h=GS(n,s,r);let g=h;const y=r+t;for(;g<s&&n[g*2]+n[g*2+1]<y;)g++;return{startIndex:h,endIndex:g}}let u=Uv(0,s,h=>e[h].start,r),f=u;if(i===1)for(;f<s&&e[f].end<r+t;)f++;else if(i>1){const h=Array(i).fill(0);for(;f<s&&h.some(y=>y<r+t);){const y=e[f];h[y.lane]=y.end,f++}const g=Array(i).fill(r+t);for(;u>=0&&g.some(y=>y>=r);){const y=e[u];g[y.lane]=y.start,u--}u=Math.max(0,u-u%i),f=Math.min(s,f+(i-1-f%i))}return{startIndex:u,endIndex:f}}const z0=typeof document<"u"?k.useLayoutEffect:k.useEffect;function Hv({useFlushSync:e=!0,directDomUpdates:t=!1,directDomUpdatesMode:r="transform",...i}){const n=k.useReducer(g=>g+1,0)[1],s=k.useRef({enabled:t,mode:r,container:null,lastSize:null,lastPositions:new WeakMap,prevRange:null});s.current.enabled=t,s.current.mode=r;const l=g=>{const y=s.current;if(!y.enabled||!y.container)return;const _=g.getTotalSize();if(_!==y.lastSize){y.lastSize=_;const w=g.options.horizontal?"width":"height";y.container.style[w]=`${_}px`}},u=g=>{const y=s.current;if(!y.enabled||!y.container)return;l(g);const _=!!g.options.horizontal,w=y.mode==="transform",x=_?"left":"top",I=g.options.scrollMargin,S=g.getVirtualItems();for(const E of S){const z=E.start-I,O=g.elementsCache.get(E.key);O&&y.lastPositions.get(O)!==z&&(y.lastPositions.set(O,z),w?O.style.transform=_?`translate3d(${z}px, 0, 0)`:`translate3d(0, ${z}px, 0)`:O.style[x]=`${z}px`)}},f={...i,onChange:(g,y)=>{var _;const w=s.current;let x=!0;if(w.enabled){u(g);const I=g.range,S=w.prevRange;x=!S||S.isScrolling!==g.isScrolling||S.startIndex!==I?.startIndex||S.endIndex!==I?.endIndex,x&&(w.prevRange=I?{startIndex:I.startIndex,endIndex:I.endIndex,isScrolling:g.isScrolling}:null)}x&&(e&&y?On.flushSync(n):n()),(_=i.onChange)==null||_.call(i,g,y)}},[h]=k.useState(()=>{const g=new Fv(f);return Object.assign(g,{containerRef:y=>{const _=s.current;if(_.container=y,_.lastSize=null,y&&_.enabled){const w=g.getTotalSize();_.lastSize=w;const x=g.options.horizontal?"width":"height";y.style[x]=`${w}px`}}})});return h.setOptions(f),z0(()=>h._didMount(),[]),z0(()=>(l(h),h._willUpdate())),z0(()=>{u(h)}),h}function XS(e){return Hv({observeElementRect:Ov,observeElementOffset:Lv,scrollToFn:Av,...e})}function QS(e){return Hv({getScrollElement:()=>typeof document<"u"?window:null,observeElementRect:Mv,observeElementOffset:Nv,scrollToFn:Rv,initialOffset:()=>typeof document<"u"?window.scrollY:0,...e})}const eI=Object.freeze(Object.defineProperty({__proto__:null,Virtualizer:Fv,_resetIOSDetectionForTests:qS,approxEqual:Iv,debounce:zv,defaultKeyExtractor:jv,defaultRangeExtractor:Ev,elementScroll:Av,measureElement:Pv,memo:ni,notUndefined:u2,observeElementOffset:Lv,observeElementRect:Ov,observeWindowOffset:Nv,observeWindowRect:Mv,useVirtualizer:XS,useWindowVirtualizer:QS,windowScroll:Rv},Symbol.toStringTag,{value:"Module"})),tI={},nI=e=>{let t;const r=new Set,i=(g,y)=>{const _=typeof g=="function"?g(t):g;if(!Object.is(_,t)){const w=t;t=y??(typeof _!="object"||_===null)?_:Object.assign({},t,_),r.forEach(x=>x(t,w))}},n=()=>t,f={setState:i,getState:n,getInitialState:()=>h,subscribe:g=>(r.add(g),()=>r.delete(g)),destroy:()=>{(tI?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}},h=t=e(i,n,f);return f},rI=e=>nI,iI=e=>(t,r,i)=>{const n=i.subscribe;return i.subscribe=(l,u,f)=>{let h=l;if(u){const g=f?.equalityFn||Object.is;let y=l(i.getState());h=_=>{const w=l(_);if(!g(y,w)){const x=y;u(y=w,x)}},f?.fireImmediately&&u(y,y)}return n(h)},e(t,r,i)},oI=iI;function sI(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(const[i,n]of e)if(!Object.is(n,t.get(i)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(const i of e)if(!t.has(i))return!1;return!0}const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(const i of r)if(!Object.prototype.hasOwnProperty.call(t,i)||!Object.is(e[i],t[i]))return!1;return!0}var Zv=Symbol.for("immer-nothing"),k8=Symbol.for("immer-draftable"),Xt=Symbol.for("immer-state");function zn(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ta=Object.getPrototypeOf;function Co(e){return!!e&&!!e[Xt]}function vi(e){return e?Vv(e)||Array.isArray(e)||!!e[k8]||!!e.constructor?.[k8]||nl(e)||mu(e):!1}var aI=Object.prototype.constructor.toString(),C8=new WeakMap;function Vv(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(r===Object)return!0;if(typeof r!="function")return!1;let i=C8.get(r);return i===void 0&&(i=Function.toString.call(r),C8.set(r,i)),i===aI}function F1(e,t,r=!0){pu(e)===0?(r?Reflect.ownKeys(e):Object.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((i,n)=>t(n,i,e))}function pu(e){const t=e[Xt];return t?t.type_:Array.isArray(e)?1:nl(e)?2:mu(e)?3:0}function d2(e,t){return pu(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Bv(e,t,r){const i=pu(e);i===2?e.set(t,r):i===3?e.add(r):e[t]=r}function lI(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function nl(e){return e instanceof Map}function mu(e){return e instanceof Set}function ri(e){return e.copy_||e.base_}function f2(e,t){if(nl(e))return new Map(e);if(mu(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=Vv(e);if(t===!0||t==="class_only"&&!r){const i=Object.getOwnPropertyDescriptors(e);delete i[Xt];let n=Reflect.ownKeys(i);for(let s=0;s<n.length;s++){const l=n[s],u=i[l];u.writable===!1&&(u.writable=!0,u.configurable=!0),(u.get||u.set)&&(i[l]={configurable:!0,writable:!0,enumerable:u.enumerable,value:e[l]})}return Object.create(ta(e),i)}else{const i=ta(e);if(i!==null&&r)return{...e};const n=Object.create(i);return Object.assign(n,e)}}function gu(e,t=!1){return vu(e)||Co(e)||!vi(e)||(pu(e)>1&&Object.defineProperties(e,{set:v1,add:v1,clear:v1,delete:v1}),Object.freeze(e),t&&Object.values(e).forEach(r=>gu(r,!0))),e}function cI(){zn(2)}var v1={value:cI};function vu(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var uI={};function yi(e){const t=uI[e];return t||zn(0,e),t}var na;function Wv(){return na}function dI(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function $8(e,t){t&&(yi("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function h2(e){p2(e),e.drafts_.forEach(fI),e.drafts_=null}function p2(e){e===na&&(na=e.parent_)}function S8(e){return na=dI(na,e)}function fI(e){const t=e[Xt];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function I8(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[Xt].modified_&&(h2(t),zn(4)),vi(e)&&(e=U1(t,e),t.parent_||H1(t,e)),t.patches_&&yi("Patches").generateReplacementPatches_(r[Xt].base_,e,t.patches_,t.inversePatches_)):e=U1(t,r,[]),h2(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Zv?e:void 0}function U1(e,t,r){if(vu(t))return t;const i=e.immer_.shouldUseStrictIteration(),n=t[Xt];if(!n)return F1(t,(s,l)=>z8(e,n,t,s,l,r),i),t;if(n.scope_!==e)return t;if(!n.modified_)return H1(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const s=n.copy_;let l=s,u=!1;n.type_===3&&(l=new Set(s),s.clear(),u=!0),F1(l,(f,h)=>z8(e,n,s,f,h,r,u),i),H1(e,s,!1),r&&e.patches_&&yi("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function z8(e,t,r,i,n,s,l){if(n==null||typeof n!="object"&&!l)return;const u=vu(n);if(!(u&&!l)){if(Co(n)){const f=s&&t&&t.type_!==3&&!d2(t.assigned_,i)?s.concat(i):void 0,h=U1(e,n,f);if(Bv(r,i,h),Co(h))e.canAutoFreeze_=!1;else return}else l&&r.add(n);if(vi(n)&&!u){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[i]===n&&u)return;U1(e,n),(!t||!t.scope_.parent_)&&typeof i!="symbol"&&(nl(r)?r.has(i):Object.prototype.propertyIsEnumerable.call(r,i))&&H1(e,n)}}}function H1(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&gu(t,r)}function hI(e,t){const r=Array.isArray(e),i={type_:r?1:0,scope_:t?t.scope_:Wv(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let n=i,s=f4;r&&(n=[i],s=ra);const{revoke:l,proxy:u}=Proxy.revocable(n,s);return i.draft_=u,i.revoke_=l,u}var f4={get(e,t){if(t===Xt)return e;const r=ri(e);if(!d2(r,t))return pI(e,r,t);const i=r[t];return e.finalized_||!vi(i)?i:i===j0(e.base_,t)?(E0(e),e.copy_[t]=g2(i,e)):i},has(e,t){return t in ri(e)},ownKeys(e){return Reflect.ownKeys(ri(e))},set(e,t,r){const i=Kv(ri(e),t);if(i?.set)return i.set.call(e.draft_,r),!0;if(!e.modified_){const n=j0(ri(e),t),s=n?.[Xt];if(s&&s.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(lI(r,n)&&(r!==void 0||d2(e.base_,t)))return!0;E0(e),m2(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return j0(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,E0(e),m2(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=ri(e),i=Reflect.getOwnPropertyDescriptor(r,t);return i&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:i.enumerable,value:r[t]}},defineProperty(){zn(11)},getPrototypeOf(e){return ta(e.base_)},setPrototypeOf(){zn(12)}},ra={};F1(f4,(e,t)=>{ra[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});ra.deleteProperty=function(e,t){return ra.set.call(this,e,t,void 0)};ra.set=function(e,t,r){return f4.set.call(this,e[0],t,r,e[0])};function j0(e,t){const r=e[Xt];return(r?ri(r):e)[t]}function pI(e,t,r){const i=Kv(t,r);return i?"value"in i?i.value:i.get?.call(e.draft_):void 0}function Kv(e,t){if(!(t in e))return;let r=ta(e);for(;r;){const i=Object.getOwnPropertyDescriptor(r,t);if(i)return i;r=ta(r)}}function m2(e){e.modified_||(e.modified_=!0,e.parent_&&m2(e.parent_))}function E0(e){e.copy_||(e.copy_=f2(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var mI=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(t,r,i)=>{if(typeof t=="function"&&typeof r!="function"){const s=r;r=t;const l=this;return function(f=s,...h){return l.produce(f,g=>r.call(this,g,...h))}}typeof r!="function"&&zn(6),i!==void 0&&typeof i!="function"&&zn(7);let n;if(vi(t)){const s=S8(this),l=g2(t,void 0);let u=!0;try{n=r(l),u=!1}finally{u?h2(s):p2(s)}return $8(s,i),I8(n,s)}else if(!t||typeof t!="object"){if(n=r(t),n===void 0&&(n=t),n===Zv&&(n=void 0),this.autoFreeze_&&gu(n,!0),i){const s=[],l=[];yi("Patches").generateReplacementPatches_(t,n,s,l),i(s,l)}return n}else zn(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(l,...u)=>this.produceWithPatches(l,f=>t(f,...u));let i,n;return[this.produce(t,r,(l,u)=>{i=l,n=u}),i,n]},typeof e?.autoFreeze=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration=="boolean"&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){vi(e)||zn(8),Co(e)&&(e=gI(e));const t=S8(this),r=g2(e,void 0);return r[Xt].isManual_=!0,p2(t),r}finishDraft(e,t){const r=e&&e[Xt];(!r||!r.isManual_)&&zn(9);const{scope_:i}=r;return $8(i,t),I8(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const n=t[r];if(n.path.length===0&&n.op==="replace"){e=n.value;break}}r>-1&&(t=t.slice(r+1));const i=yi("Patches").applyPatches_;return Co(e)?i(e,t):this.produce(e,n=>i(n,t))}};function g2(e,t){const r=nl(e)?yi("MapSet").proxyMap_(e,t):mu(e)?yi("MapSet").proxySet_(e,t):hI(e,t);return(t?t.scope_:Wv()).drafts_.push(r),r}function gI(e){return Co(e)||zn(10,e),qv(e)}function qv(e){if(!vi(e)||vu(e))return e;const t=e[Xt];let r,i=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=f2(e,t.scope_.immer_.useStrictShallowCopy_),i=t.scope_.immer_.shouldUseStrictIteration()}else r=f2(e,!0);return F1(r,(n,s)=>{Bv(r,n,qv(s))},i),t&&(t.finalized_=!1),r}var vI=new mI,yI=vI.produce;function v2(e,t,...r){for(const i of[...e])try{i(...r)}catch(n){console.error(`${t} subscriber failed:`,n)}}function _I(e,t){return sI(e,t)}function wI(e){const t=typeof requestAnimationFrame=="function"?i=>{requestAnimationFrame(()=>{i()})}:i=>{queueMicrotask(i)};let r=!1;return()=>{r||(r=!0,t(()=>{r=!1,e()}))}}function h4(e,t){const r=oI(()=>e),i=rI()(r);t?.persist&&bI(i,t.persist.name);let n=s=>i.subscribe(()=>{v2([s],"[client-store]")});if(t?.flush==="raf"){const s=new Set,l=wI(()=>{v2(s,"[client-store]")});i.subscribe(l),n=u=>(s.add(u),()=>{s.delete(u)})}return{getSnapshot:()=>i.getState(),subscribe:s=>n(s),update:s=>{i.setState(yI(i.getState(),l=>{s(l)}),!0)},set:s=>{i.setState(Jv(s),!0)}}}function bI(e,t){if(!(typeof localStorage>"u")){try{const r=localStorage.getItem(t);r!==null&&e.setState(Jv(JSON.parse(r)),!0)}catch(r){console.error(`snapshot store '${t}' rehydration failed:`,r)}e.subscribe(r=>{try{localStorage.setItem(t,JSON.stringify(r))}catch(i){console.error(`snapshot store '${t}' persistence failed:`,i)}})}}function Jv(e){return gu(e,!0)}function xI(e){return{spec:e,create(t){const r=e.persist===void 0?void 0:t===void 0?e.persist:`${e.persist}.${t}`,i=h4(e.init(),r!==void 0?{persist:{name:r}}:void 0),n={};for(const s of Object.keys(e.actions)){const l=e.actions[s];n[s]=(...u)=>{i.update(f=>{l(f,...u)})}}return{actions:n,getSnapshot:()=>i.getSnapshot(),subscribe:s=>i.subscribe(s),store:i,clearPersisted:()=>{if(!(r===void 0||typeof localStorage>"u"))try{localStorage.removeItem(r)}catch{}}}}}}const kI=Object.freeze(Object.defineProperty({__proto__:null,createSnapshotStore:h4,defineStore:xI,notifySubscribers:v2,shallowEqual:_I},Symbol.toStringTag,{value:"Module"}));function CI(e){return`use${e[0]?.toUpperCase()??""}${e.slice(1)}`}var $I=class extends Error{},SI=class extends Error{};function II(e){return typeof e=="function"?e():e}const y1=Object.freeze([]);var zI=class{records=new Map;factories=new Map;mutateListeners=new Set;handleScopes=new Map;dirty=new Set;flushScheduled=!1;abdicated=new WeakSet;entryErrorListeners=new Set;constructor(){const e=this.record("root");e.spec={kind:"single",scope:"root"},e.declaredBy="(built-in)",e.declarationEpoch=1}registerFactory=((e,t)=>{const r=e,i=this.factoryRecord(r.name);if(i.definition!==void 0)throw new Error(`slot factory "${r.name}" already has a definition`);for(const l of Object.keys(r.children??{})){const u=this.records.get(l);if(u?.spec!==void 0)throw new Error(`slot "${l}" is already declared (by ${u.declaredBy??"an unknown entry"})`)}if(r.store!==void 0&&typeof r.store!="function"){const l=this.handleScopes.get(r.store);if(l!==void 0&&l.scope!==r.scope)throw new Error(`store handle mounted under factory "${r.name}" (scope "${r.scope}") is already mounted under scope "${l.scope}" — one handle, one scope`);l!==void 0?l.count+=1:this.handleScopes.set(r.store,{scope:r.scope,count:1})}const n={name:r.name,component:t,scope:r.scope,...r.children===void 0?{}:{children:r.children},...r.store===void 0?{}:{store:r.store},...r.inject===void 0?{}:{inject:r.inject},...r.locale===void 0?{}:{locale:r.locale},...r.slots===void 0?{}:{slots:r.slots},...r.registrant===void 0?{}:{registrant:r.registrant}};i.definition=n,this.markFactoryDirty(i);const s=[];for(const[l,u]of Object.entries(r.children??{})){const f=this.record(l);f.spec=u,f.declaredBy=`factory "${r.name}"${r.registrant?` (${r.registrant})`:""}`,f.parent=`factory:${r.name}`,f.declarationEpoch+=1,s.push([l,f])}for(const[l,u]of s)this.markDirty(l,u);for(const[,l]of s)this.notifyDeclaration(l);return()=>{if(i.definition===n){if(i.definition=void 0,this.markFactoryDirty(i),n.store!==void 0&&typeof n.store!="function"){const l=this.handleScopes.get(n.store);l!==void 0&&--l.count===0&&this.handleScopes.delete(n.store)}this.releaseChildren(n.children)}}});factory(e){return this.factories.get(e)?.definition}factoryVersion(e){return this.factories.get(e)?.version??0}subscribeFactory(e,t){const r=this.factoryRecord(e);return r.listeners.add(t),()=>{r.listeners.delete(t)}}isFactoryLive(e){return this.factories.get(e.name)?.definition===e}register(e,t){const r=this.records.get(e.name);if(!r?.spec)throw new Error(`slot "${e.name}" is not declared (a parent entry's children table must declare it)`);const i=r.spec,n=e.priority??0,s=f=>`at priority ${n}${f.registrant!==void 0?` (registered by ${f.registrant})`:""} — register at a different priority to shadow it (lowest renders)`;switch(i.kind){case"single":{const f=r.entries.find(h=>(h.options.priority??0)===n);if(f)throw new Error(`single slot "${e.name}" already has a registration ${s(f)}`);break}case"keyed":{if(e.key===void 0)throw new Error(`keyed slot "${e.name}" requires options.key`);const f=r.entries.find(h=>h.options.key===e.key&&(h.options.priority??0)===n);if(f)throw new Error(`keyed slot "${e.name}" already has an entry for key "${e.key}" ${s(f)}`);break}case"list":{if(e.id===void 0)throw new Error(`list slot "${e.name}" requires options.id`);const f=r.entries.find(h=>h.options.id===e.id&&(h.options.priority??0)===n);if(f)throw new Error(`list slot "${e.name}" already has an entry with id "${e.id}" ${s(f)}`);break}case"chain":if(e.select===void 0)throw new Error(`chain slot "${e.name}" requires options.select`);break}if(e.children)for(const f of Object.keys(e.children)){const h=this.records.get(f);if(h?.spec)throw new Error(`slot "${f}" is already declared (by ${h.declaredBy??"an unknown entry"})`)}if(e.store!==void 0&&typeof e.store!="function"){const f=this.handleScopes.get(e.store);if(f&&f.scope!==i.scope)throw new Error(`store handle mounted under "${e.name}" (scope "${i.scope}") is already mounted under scope "${f.scope}" — one handle, one scope`);f?f.count+=1:this.handleScopes.set(e.store,{scope:i.scope,count:1})}const l={component:t,options:{...e.key!==void 0?{key:e.key}:{},...e.id!==void 0?{id:e.id}:{},...e.order!==void 0?{order:e.order}:{},...e.label!==void 0?{label:e.label}:{},...e.priority!==void 0?{priority:e.priority}:{}},...e.select!==void 0?{select:e.select}:{},...e.inject!==void 0?{inject:e.inject}:{},...e.children!==void 0?{children:e.children}:{},...e.store!==void 0?{store:e.store}:{},...e.locale!==void 0?{locale:e.locale}:{},...e.registrant!==void 0?{registrant:e.registrant}:{}},u=[...r.entries,l];if(u.sort(i.kind==="list"?(f,h)=>(f.options.priority??0)-(h.options.priority??0)||(f.options.order??0)-(h.options.order??0):(f,h)=>(f.options.priority??0)-(h.options.priority??0)),r.entries=u,this.markDirty(e.name,r),e.children){const f=[];for(const[h,g]of Object.entries(e.children)){const y=this.record(h);y.spec=g,y.declaredBy=`an entry in "${e.name}"${e.registrant?` (${e.registrant})`:""}`,y.parent=e.name,y.declarationEpoch+=1,f.push([h,y])}for(const[h,g]of f)this.markDirty(h,g);for(const[,h]of f)this.notifyDeclaration(h)}return()=>{r.entries.includes(l)&&(r.entries=r.entries.filter(f=>f!==l),this.markDirty(e.name,r),this.releaseEntry(l))}}isLive(e){for(const t of this.records.values())if(t.entries.includes(e))return!0;return!1}entries(e){return this.records.get(e)?.entries??y1}entriesOfSlot(e){const t=this.records.get(e);if(!t?.spec)return y1;const r=t.spec.kind;if(r==="chain")return t.entries;const i=[],n=new Set;for(const s of t.entries){if(this.abdicated.has(s))continue;const l=r==="keyed"?s.options.key:r==="list"?s.options.id:void 0;n.has(l)||(n.add(l),i.push(s))}return i}spec(e){return this.records.get(e)?.spec}specDynamic(e){return this.records.get(e)?.spec}snapshot(e){const t=(s,l)=>{const u=this.records.get(s);if(u?.spec===void 0||l.has(s))return;const f=new Set(l);f.add(s);const h=new Set(this.entriesOfSlot(s)),g=[...this.records.entries()].filter(([,y])=>y.spec!==void 0&&y.parent===s).flatMap(([y])=>{const _=t(y,f);return _===void 0?[]:[_]});return{type:"slot",name:s,kind:u.spec.kind,scope:u.spec.scope,...u.declaredBy===void 0?{}:{declaredBy:u.declaredBy},occupants:u.entries.map(y=>({...y.registrant===void 0?{}:{registrant:y.registrant},...y.options.key===void 0?{}:{key:y.options.key},...y.options.id===void 0?{}:{id:y.options.id},...y.options.order===void 0?{}:{order:y.options.order},priority:y.options.priority??0,active:h.has(y)})),children:g}},r=s=>{const l=this.factories.get(s)?.definition;if(l===void 0)return;const u=`factory:${s}`,f=[...this.records.entries()].filter(([,h])=>h.spec!==void 0&&h.parent===u).flatMap(([h])=>{const g=t(h,new Set([u]));return g===void 0?[]:[g]});return{type:"factory",name:s,scope:l.scope,...l.registrant===void 0?{}:{registrant:l.registrant},children:f}};if(e!==void 0){const s=e.startsWith("factory:")?r(e.slice(8)):t(e,new Set);return s===void 0?[]:[s]}const i=[...this.records.entries()].filter(([,s])=>s.spec!==void 0&&s.parent===void 0).flatMap(([s])=>{const l=t(s,new Set);return l===void 0?[]:[l]}),n=[...this.factories.keys()].flatMap(s=>{const l=r(s);return l===void 0?[]:[l]});return[...i,...n]}declarationEpoch(e){return this.records.get(e)?.declarationEpoch??0}subscribe(e,t){const r=this.record(e);return r.listeners.add(t),()=>{r.listeners.delete(t)}}subscribeDeclaration(e,t){const r=this.record(e);return r.declarationListeners.add(t),()=>{r.declarationListeners.delete(t)}}getVersion(e){return this.records.get(e)?.version??0}onMutate(e){return this.mutateListeners.add(e),()=>{this.mutateListeners.delete(e)}}reportEntryError(e,t,r,i){if(i.abdicate){if(this.abdicated.has(t))return;this.abdicated.add(t);const n=this.records.get(e);n!==void 0&&this.markDirty(e,n)}for(const n of[...this.entryErrorListeners])n(e,t,r,{abdicated:i.abdicate})}reportFactoryError(e,t,r){for(const i of[...this.entryErrorListeners])i(`factory:${e}`,t,r,{abdicated:!1})}onEntryError(e){return this.entryErrorListeners.add(e),()=>{this.entryErrorListeners.delete(e)}}releaseEntry(e){if(e.store!==void 0&&typeof e.store!="function"){const t=this.handleScopes.get(e.store);t&&--t.count===0&&this.handleScopes.delete(e.store)}this.releaseChildren(e.children)}releaseChildren(e){if(e!==void 0)for(const t of Object.keys(e)){const r=this.records.get(t);if(!r)continue;const i=r.entries;r.spec=void 0,r.declaredBy=void 0,r.parent=void 0,r.declarationEpoch+=1,r.entries=y1,this.markDirty(t,r),this.notifyDeclaration(r);for(const n of i)this.releaseEntry(n)}}record(e){let t=this.records.get(e);return t||(t={spec:void 0,declaredBy:void 0,parent:void 0,declarationEpoch:0,entries:y1,version:0,listeners:new Set,declarationListeners:new Set},this.records.set(e,t)),t}factoryRecord(e){let t=this.factories.get(e);return t===void 0&&(t={definition:void 0,version:0,listeners:new Set},this.factories.set(e,t)),t}markFactoryDirty(e){e.version+=1,queueMicrotask(()=>{for(const t of[...e.listeners])t()})}markDirty(e,t){t.version+=1;for(const r of[...this.mutateListeners])r(e);this.dirty.add(t),this.flushScheduled||(this.flushScheduled=!0,queueMicrotask(()=>{this.flush()}))}notifyDeclaration(e){for(const t of[...e.declarationListeners])t()}flush(){this.flushScheduled=!1;const e=[...this.dirty];this.dirty.clear();for(const t of e)for(const r of[...t.listeners])r()}};const jI=Object.freeze(Object.defineProperty({__proto__:null,SlotCore:zI,SlotOwnershipError:SI,StaleAuthorizationError:$I,resolveSlotLabel:II,standardHookPropName:CI},Symbol.toStringTag,{value:"Module"})),EI="modulepreload",OI=function(e,t){return new URL(e,t).href},j8={},ke=function(t,r,i){let n=Promise.resolve();if(r&&r.length>0){let l=function(g){return Promise.all(g.map(y=>Promise.resolve(y).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};const u=document.getElementsByTagName("link"),f=document.querySelector("meta[property=csp-nonce]"),h=f?.nonce||f?.getAttribute("nonce");n=l(r.map(g=>{if(g=OI(g,i),g in j8)return;j8[g]=!0;const y=g.endsWith(".css"),_=y?'[rel="stylesheet"]':"";if(!!i)for(let I=u.length-1;I>=0;I--){const S=u[I];if(S.href===g&&(!y||S.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${g}"]${_}`))return;const x=document.createElement("link");if(x.rel=y?"stylesheet":EI,y||(x.as="script"),x.crossOrigin="",x.href=g,h&&x.setAttribute("nonce",h),document.head.appendChild(x),y)return new Promise((I,S)=>{x.addEventListener("load",I),x.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${g}`)))})}))}function s(l){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=l,window.dispatchEvent(u),!u.defaultPrevented)throw l}return n.then(l=>{for(const u of l||[])u.status==="rejected"&&s(u.reason);return t().catch(s)})};function Gv(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=Gv(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function fe(){for(var e,t,r=0,i="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=Gv(e))&&(i&&(i+=" "),i+=t);return i}const MI="_bubble_1sgyj_1",TI={bubble:MI},LI="_dot_1i3xo_2",NI="_spinner_1i3xo_37",PI="_spinnerMotion_1i3xo_42",DI="_spinnerTrack_1i3xo_47",RI="_spinnerArc_1i3xo_48",AI="_step_1i3xo_97",eo={dot:LI,spinner:NI,spinnerMotion:PI,spinnerTrack:DI,spinnerArc:RI,step:AI},FI="_root_1rdzk_1",UI="_content_1rdzk_11",HI="_text_1rdzk_17",ZI="_decoration_1rdzk_25",VI="_sweep_1rdzk_34",BI="_highlight_1rdzk_54",ii={root:FI,content:UI,text:HI,decoration:ZI,sweep:VI,highlight:BI},WI="_root_l4nv8_9",KI="_header_l4nv8_16",qI="_row_l4nv8_26",JI="_leading_l4nv8_52",GI="_iconIdle_l4nv8_80",YI="_chevronHover_l4nv8_86",XI="_title_l4nv8_104",Er={root:WI,header:KI,row:qI,leading:JI,iconIdle:GI,chevronHover:YI,title:XI},QI="_exits_1sy3u_1",ez={exits:QI},tz="_preview_mhkh9_1",nz={preview:tz},rz="_button_1ulci_2",iz="_md_1ulci_23",oz="_sm_1ulci_28",sz="_primary_1ulci_36",az="_ghost_1ulci_46",lz="_outline_1ulci_56",cz="_toolbar_1ulci_68",uz="_icon_1ulci_78",_1={button:rz,md:iz,sm:oz,primary:sz,ghost:az,outline:lz,toolbar:cz,icon:uz},dz="_keys_38b9q_1",fz="_key_38b9q_1",hz="_tooltip_38b9q_20",pz="_separator_38b9q_30",mz="_joined_38b9q_32",Ts={keys:dz,key:fz,tooltip:hz,separator:pz,joined:mz},gz="_surface_ri079_1",vz="_backing_ri079_2",yz="_compact_ri079_6",_z="_material_ri079_21",Ls={surface:gz,backing:vz,compact:yz,material:_z},wz="_root_li7ht_1",bz="_list_li7ht_7",xz="_submenu_li7ht_8",kz="_portal_li7ht_41",Cz="_sideTop_li7ht_49",$z="_alignEnd_li7ht_54",Sz="_scrollable_li7ht_19",Iz="_viewport_li7ht_19",zz="_footer_li7ht_62",jz="_itemWrap_li7ht_90",Ez="_item_li7ht_90",Oz="_denseList_li7ht_126",Mz="_label_li7ht_131",Tz="_compactList_li7ht_135",Lz="_itemIcon_li7ht_150",Nz="_separator_li7ht_80",Pz="_check_li7ht_181",Dz="_itemLabel_li7ht_192",Rz="_shortcut_li7ht_200",Az="_shortcutKeys_li7ht_205",Fz="_selected_li7ht_224",Uz="_selectedFill_li7ht_229",Hz="_danger_li7ht_234",De={root:wz,list:bz,submenu:xz,portal:kz,sideTop:Cz,alignEnd:$z,scrollable:Sz,viewport:Iz,footer:zz,itemWrap:jz,item:Ez,denseList:Oz,label:Mz,compactList:Tz,itemIcon:Lz,separator:Nz,check:Pz,itemLabel:Dz,shortcut:Rz,shortcutKeys:Az,selected:Fz,selectedFill:Uz,danger:Hz},Zz="_bubble_44yfq_1",Vz="_label_44yfq_30",E8={bubble:Zz,label:Vz},Bz="_panel_denjv_2",Wz="_visible_denjv_31",Kz="_controlAnchor_denjv_38",qz="_zoomButton_denjv_39",Jz="_percent_denjv_40",Gz="_zoomMenu_denjv_41",Or={panel:Bz,visible:Wz,controlAnchor:Kz,zoomButton:qz,percent:Jz,zoomMenu:Gz},Yz="_pill_rs966_1",Xz="_interactive_rs966_16",Qz="_active_rs966_26",Ns={pill:Yz,interactive:Xz,active:Qz},ej="_tabs_1lga9_1",tj="_indicator_1lga9_11",nj="_tab_1lga9_1",O0={tabs:ej,indicator:tj,tab:nj},rj="_tag_brmue_4",ij={tag:rj};function oj(e){const t=e.replace(/[/\\]+$/,"");if(t==="")return{directory:"",name:e};const r=Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"))+1;return{directory:t.slice(0,r),name:t.slice(r)}}const sj="_path_1kiio_3",aj="_text_1kiio_17",lj="_directory_1kiio_22",cj="_name_1kiio_26",w1={path:sj,text:aj,directory:lj,name:cj},uj="_thumb_1ik0f_33",O8={switch:"_switch_1ik0f_5",thumb:uj},dj="_control_1ocp1_11",fj="_indicator_1ocp1_22",hj="_tab_1ocp1_37",M0={control:dj,indicator:fj,tab:hj},pj="_checkbox_1wz3s_1",mj={checkbox:pj},gj="_wrap_14sgc_1",vj="_icon_14sgc_16",yj="_input_14sgc_25",T0={wrap:gj,icon:vj,input:yj},_j="_editor_61ozo_1",wj={editor:_j},bj="_group_121p8_1",xj="_start_121p8_5",kj="_heading_121p8_19",L0={group:bj,start:xj,heading:kj},Cj="_root_bgejw_3",$j="_card_bgejw_9",Sj="_copyable_bgejw_21",Ij="_feedback_bgejw_30",zj="_copied_bgejw_36",jj="_status_bgejw_43",Ej="_preview_bgejw_52",Oj="_inline_bgejw_79",Mj="_media_bgejw_80",Tj="_fitContent_bgejw_92",Lj="_portal_bgejw_96",Nj="_bridge_bgejw_100",fn={root:Cj,card:$j,copyable:Sj,feedback:Ij,copied:zj,status:jj,preview:Ej,inline:Oj,media:Mj,fitContent:Tj,portal:Lj,bridge:Nj},Pj="_root_14mp3_6",Dj="_mask_14mp3_18",Rj="_dialog_14mp3_33",Aj="_content_14mp3_63",Fj="_header_14mp3_71",Uj="_title_14mp3_79",Hj="_close_14mp3_87",Zj="_description_14mp3_108",Vj="_body_14mp3_117",Bj="_footer_14mp3_125",Rn={root:Pj,mask:Dj,dialog:Rj,content:Aj,header:Fj,title:Uj,close:Hj,description:Zj,body:Vj,footer:Bj},Wj="_confirmation_cjd8z_1",Kj="_confirmationContent_cjd8z_7",qj="_warning_cjd8z_19",Jj="_warningIcon_cjd8z_32",Gj="_acknowledgement_cjd8z_38",Yj="_modalAction_cjd8z_67",Xj="_confirmAction_cjd8z_71",ei={confirmation:Wj,confirmationContent:Kj,warning:qj,warningIcon:Jj,acknowledgement:Gj,modalAction:Yj,confirmAction:Xj},Qj="_indicator_16cyo_1",eE="_leaving_16cyo_25",tE="_warning_16cyo_35",nE="_success_16cyo_65",rE="_icon_16cyo_71",iE="_label_16cyo_82",oE="_dots_16cyo_86",sE="_secondDot_16cyo_92",aE="_thirdDot_16cyo_96",hn={indicator:Qj,leaving:eE,warning:tE,success:nE,icon:rE,label:iE,dots:oE,secondDot:sE,thirdDot:aE},lE="_icon_1wejo_1",cE="_code_1wejo_8",uE="_excel_1wejo_12",dE="_folder_1wejo_16",fE="_html_1wejo_20",hE="_image_1wejo_24",pE="_markdown_1wejo_28",mE="_other_1wejo_32",gE="_pdf_1wejo_36",vE="_ppt_1wejo_40",yE="_video_1wejo_44",_E="_word_1wejo_48",M8={icon:lE,code:cE,excel:uE,folder:dE,html:fE,image:hE,markdown:pE,other:mE,pdf:gE,ppt:vE,video:yE,word:_E},Ae='<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>',Fe='</title><path d="',Ue='"/></svg>',wE={title:"AliExpress",slug:"aliexpress",get svg(){return Ae+"AliExpress"+Fe+this.path+Ue},path:"M5.166 9.096a.022.022 0 0 0-.022.021c0 .396-.32.717-.713.717a.021.021 0 0 0-.021.022c0 .012.01.021.021.021.394 0 .713.322.713.718 0 .012.01.021.022.021.011 0 .021-.01.021-.021A.717.717 0 0 1 5.9 9.88a.021.021 0 0 0 0-.043.716.716 0 0 1-.713-.718v-.002a.021.021 0 0 0-.006-.015.022.022 0 0 0-.015-.006zm-3.693.526L0 13.462h.48l.355-.922h1.782l.354.922h.481L1.98 9.622zm2.264.002v3.838h.491V9.624zm2.375 0v3.838h2.413v-.502H6.613v-1.19H8.19v-.477H6.613v-1.166h1.773v-.502zm-4.386.592l.698 1.82H1.028zm14.689.402a1.466 1.466 0 0 0-.966.366V10.7h-.491v2.763h.49c.002-.477 0-.955.002-1.433a.969.969 0 0 1 .965-.918zm4.18.007c-.053 0-.105.003-.158.01-.315.031-.606.175-.753.377a.689.689 0 0 0-.14.465c.007.2.066.357.233.496.184.147.42.2.657.259.311.067.426.095.546.186.08.07.133.127.136.27 0 .25-.221.372-.42.41a.89.89 0 0 1-.894-.344l-.371.288c.33.382.777.505 1.09.5.54-.01.891-.217 1.029-.534.066-.153.063-.309.063-.38a.677.677 0 0 0-.267-.545c-.228-.177-.583-.228-.636-.242-.437-.078-.658-.196-.697-.341-.043-.192.102-.35.297-.411a.76.76 0 0 1 .857.277l.367-.247a1.166 1.166 0 0 0-.939-.494zm2.387 0c-.052 0-.105.003-.157.01-.316.031-.607.175-.753.377a.689.689 0 0 0-.14.465c.006.2.065.357.233.496.183.147.42.2.657.259.31.067.426.095.545.186.081.07.134.127.136.27.001.25-.221.372-.42.41a.89.89 0 0 1-.894-.344l-.371.288c.33.382.777.505 1.09.5.541-.01.891-.217 1.03-.534.065-.153.062-.309.062-.38a.677.677 0 0 0-.267-.545c-.227-.177-.583-.228-.636-.242-.437-.078-.658-.196-.696-.341-.043-.192.101-.35.297-.411a.76.76 0 0 1 .857.277l.367-.247a1.167 1.167 0 0 0-.94-.494zm-9.84.002a1.461 1.461 0 0 0-1.42 1.117 1.305 1.305 0 0 0-.041.327v2.833h.491v-1.813c.17.18.487.42.96.454a1.447 1.447 0 0 0 1.208-.627 1.457 1.457 0 0 0-1.199-2.292zm4.804 0a1.448 1.448 0 0 0-1.288 2.08c.255.53.811.87 1.412.833a1.452 1.452 0 0 0 1.012-.51l-.363-.291a.968.968 0 0 1-1.106.273 1.01 1.01 0 0 1-.602-.69h2.239l.002-.427a1.295 1.295 0 0 0-1.306-1.268zm-9.2.08l1.062 1.377-1.062 1.378h.581l.779-1.01.778 1.01h.581l-1.062-1.378 1.062-1.378h-.581l-.778 1.01-.779-1.01zm-3.825.015v2.74h.49v-2.74zm8.233.37a.96.96 0 0 1 .95.993.963.963 0 0 1-.863.998.962.962 0 0 1-1.034-.739c-.074-.382 0-.746.307-1.019a.959.959 0 0 1 .64-.233zm4.79.015a.823.823 0 0 1 .819.755h-1.76a.964.964 0 0 1 .94-.755z",source:"https://www.alibabagroup.com/en/ir/reports",hex:"FF4747"},bE={title:"Apple",slug:"apple",get svg(){return Ae+"Apple"+Fe+this.path+Ue},path:"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",source:"https://www.apple.com",hex:"000000"},xE={title:"Baidu",slug:"baidu",get svg(){return Ae+"Baidu"+Fe+this.path+Ue},path:"M9.154 0C7.71 0 6.54 1.658 6.54 3.707c0 2.051 1.171 3.71 2.615 3.71 1.446 0 2.614-1.659 2.614-3.71C11.768 1.658 10.6 0 9.154 0zm7.025.594C14.86.58 13.347 2.589 13.2 3.927c-.187 1.745.25 3.487 2.179 3.735 1.933.25 3.175-1.806 3.422-3.364.252-1.555-.995-3.364-2.362-3.674a1.218 1.218 0 0 0-.261-.03zM3.582 5.535a2.811 2.811 0 0 0-.156.008c-2.118.19-2.428 3.24-2.428 3.24-.287 1.41.686 4.425 3.297 3.864 2.617-.561 2.262-3.68 2.183-4.362-.125-1.018-1.292-2.773-2.896-2.75zm16.534 1.753c-2.308 0-2.617 2.119-2.617 3.616 0 1.43.121 3.425 2.988 3.362 2.867-.063 2.553-3.238 2.553-3.988 0-.745-.62-2.99-2.924-2.99zm-8.264 2.478c-1.424.014-2.708.925-3.323 1.947-1.118 1.868-2.863 3.05-3.112 3.363-.25.309-3.61 2.116-2.864 5.42.746 3.301 3.365 3.237 3.365 3.237s1.93.19 4.171-.31c2.24-.495 4.17.123 4.17.123s5.233 1.748 6.665-1.616c1.43-3.364-.808-5.109-.808-5.109s-2.99-2.306-4.736-4.798c-1.072-1.665-2.348-2.268-3.528-2.257zm-2.234 3.84l1.542.024v8.197H7.758c-1.47-.291-2.055-1.292-2.13-1.462-.072-.173-.488-.976-.268-2.343.635-2.049 2.447-2.196 2.447-2.196h1.81zm3.964 2.39v3.881c.096.413.612.488.612.488h1.614v-4.343h1.689v5.782h-3.915c-1.517-.39-1.59-1.465-1.59-1.465v-4.317zm-5.458 1.147c-.66.197-.978.708-1.05.928-.076.22-.247.78-.1 1.269.294 1.095 1.248 1.144 1.248 1.144h1.37v-3.34z",source:"https://www.baidu.com",hex:"2932E1"},kE={title:"Bilibili",slug:"bilibili",get svg(){return Ae+"Bilibili"+Fe+this.path+Ue},path:"M17.813 4.653h.854c1.51.054 2.769.578 3.773 1.574 1.004.995 1.524 2.249 1.56 3.76v7.36c-.036 1.51-.556 2.769-1.56 3.773s-2.262 1.524-3.773 1.56H5.333c-1.51-.036-2.769-.556-3.773-1.56S.036 18.858 0 17.347v-7.36c.036-1.511.556-2.765 1.56-3.76 1.004-.996 2.262-1.52 3.773-1.574h.774l-1.174-1.12a1.234 1.234 0 0 1-.373-.906c0-.356.124-.658.373-.907l.027-.027c.267-.249.573-.373.92-.373.347 0 .653.124.92.373L9.653 4.44c.071.071.134.142.187.213h4.267a.836.836 0 0 1 .16-.213l2.853-2.747c.267-.249.573-.373.92-.373.347 0 .662.151.929.4.267.249.391.551.391.907 0 .355-.124.657-.373.906zM5.333 7.24c-.746.018-1.373.276-1.88.773-.506.498-.769 1.13-.786 1.894v7.52c.017.764.28 1.395.786 1.893.507.498 1.134.756 1.88.773h13.334c.746-.017 1.373-.275 1.88-.773.506-.498.769-1.129.786-1.893v-7.52c-.017-.765-.28-1.396-.786-1.894-.507-.497-1.134-.755-1.88-.773zM8 11.107c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c0-.373.129-.689.386-.947.258-.257.574-.386.947-.386zm8 0c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c.017-.391.15-.711.4-.96.249-.249.56-.373.933-.373Z",source:"https://www.bilibili.com",hex:"00A1D6"},CE={title:"CSDN",slug:"csdn",get svg(){return Ae+"CSDN"+Fe+this.path+Ue},path:"M4.693 13.638c-.497.568-1.363.63-1.712.63-.648 0-1.144-.164-1.474-.488-.313-.307-.478-.76-.489-1.346-.025-1.358.744-2.762 2.074-2.762.635 0 1.124.455 1.311.644a.337.337 0 0 0 .282.099.38.38 0 0 0 .241-.159c.068-.087.135-.237.138-.401s-.057-.344-.243-.49a2.642 2.642 0 0 0-1.668-.591c-.819 0-1.627.376-2.218 1.033-.621.691-.953 1.63-.935 2.646.015.815.282 1.5.773 1.982.528.518 1.3.791 2.235.791 1.097 0 1.776-.325 2.154-.597a.584.584 0 0 0 .24-.456.702.702 0 0 0-.208-.497c-.23-.248-.448-.101-.503-.037ZM9.663 11.488a7.471 7.471 0 0 0-.698-.248c-.157-.048-.309-.091-.45-.131-.922-.26-1.027-.5-1.017-.68.022-.363.515-.853 1.352-.792.607.045 1.015.509 1.205.781.149.214.371.135.434.095a.602.602 0 0 0 .309-.514.626.626 0 0 0-.209-.488 2.654 2.654 0 0 0-3.347-.273c-.456.323-.744.772-.77 1.202-.064 1.061 1.015 1.366 1.803 1.588.214.061.429.127.667.202 1.14.357 1.173.717 1.092 1.267-.082.556-.696.834-1.685.761-1.029-.076-1.464-.61-1.612-.901-.05-.098-.205-.248-.413-.156-.514.229-.473.731-.26.993.339.416 1.15 1.035 2.667 1.035 1.734 0 2.255-.875 2.378-1.64.092-.572-.022-1.028-.348-1.396-.236-.267-.592-.495-1.101-.706ZM16.44 9.323c-.598-.431-1.393-.61-2.36-.532-.712.058-1.274.243-1.335.263l-.006.002a.437.437 0 0 0-.297.379l-.47 5.201a.337.337 0 0 0 .247.35l.072.02.066.018.086.021a7.914 7.914 0 0 0 1.64.183c.972 0 1.765-.23 2.36-.684.764-.583 1.141-1.5 1.118-2.725-.021-1.135-.398-1.974-1.121-2.495Zm-.662 4.461c-.836.639-2.09.562-2.677.481a.128.128 0 0 1-.109-.137l.397-4.248a.113.113 0 0 1 .086-.1c.999-.241 1.777-.168 2.312.218.189.137.348.331.471.568.176.339.277.765.286 1.234.017.916-.24 1.583-.765 1.984ZM23.967 10.41a1.92 1.92 0 0 0-.432-.919c-.399-.465-1.029-.689-1.848-.689-.734 0-1.372.228-1.947.799.007-.086.019-.159.018-.223s-.017-.116-.066-.163c-.048-.045-.077-.067-.127-.077-.05-.01-.122-.008-.256-.006a.587.587 0 0 0-.589.54s-.325 3.874-.428 5.165a.308.308 0 0 0 .073.228.36.36 0 0 0 .26.131h.387a.224.224 0 0 0 .226-.205l.273-2.929.014-.147a1.902 1.902 0 0 1 .082-.412c.014-.045.03-.092.047-.14.245-.694.803-1.72 1.971-1.694.84.018 1.449.455 1.385 1.114-.101 1.034-.266 3.1-.358 4.14-.019.209.182.273.252.273h.304a.442.442 0 0 0 .444-.404s.185-2.127.294-3.352l.048-.532a1.959 1.959 0 0 0-.026-.5Z",source:"https://www.csdn.net/company/index.html",hex:"FC5531"},$E={title:"DuckDuckGo",slug:"duckduckgo",get svg(){return Ae+"DuckDuckGo"+Fe+this.path+Ue},path:"M12 0C5.37 0 0 5.37 0 12s5.37 12 12 12 12-5.37 12-12S18.63 0 12 0zm0 .984C18.083.984 23.016 5.916 23.016 12S18.084 23.016 12 23.016.984 18.084.984 12C.984 5.917 5.916.984 12 .984zm0 .938C6.434 1.922 1.922 6.434 1.922 12c0 4.437 2.867 8.205 6.85 9.55-.237-.82-.776-2.753-1.6-6.052-1.184-4.741-2.064-8.606 2.379-9.813.047-.011.064-.064.03-.093-.514-.467-1.382-.548-2.233-.38a.06.06 0 0 1-.07-.058c0-.011 0-.023.011-.035.205-.286.572-.507.822-.64a1.843 1.843 0 0 0-.607-.335c-.059-.022-.059-.12-.006-.144.006-.006.012-.012.024-.012 1.749-.233 3.586.292 4.49 1.448.011.011.023.017.035.023 2.968.635 3.509 4.837 3.328 5.998a9.607 9.607 0 0 0 2.346-.576c.746-.286 1.008-.222 1.101-.053.1.193-.018.513-.28.81-.496.567-1.393 1.01-2.974 1.137-.546.044-1.029.024-1.445.006-.789-.035-1.339-.059-1.633.39-.192.298-.041.998 1.487 1.22 1.09.157 2.078.047 2.798-.034.643-.07 1.073-.118 1.172.069.21.402-.996 1.207-3.066 1.224-.158 0-.315-.006-.467-.011-1.283-.065-2.227-.414-2.816-.735a.094.094 0 0 1-.035-.017c-.105-.059-.31.045-.188.267.07.134.444.478 1.004.776-.058.466.087 1.184.338 2l.088-.016c.041-.009.087-.019.134-.025.507-.082.775.012.926.175.717-.536 1.913-1.294 2.03-1.154.583.694.66 2.332.53 2.99-.004.012-.017.024-.04.035-.274.117-1.783-.296-1.783-.511-.059-1.075-.26-1.173-.493-1.225h-.156c.006.006.012.018.018.03l.052.12c.093.257.24 1.063.13 1.26-.112.199-.835.297-1.284.303-.443.006-.543-.158-.637-.408-.07-.204-.103-.675-.103-.95a.857.857 0 0 1 .012-.216c-.134.058-.333.193-.397.281-.017.262-.017.682.123 1.149.07.221-1.518 1.164-1.74.99-.227-.181-.634-1.952-.459-2.67-.187.017-.338.075-.42.191-.367.508.093 2.933.582 3.248.257.169 1.54-.553 2.176-1.095.105.145.305.158.553.158.326-.012.782-.06 1.103-.158.192.45.423.972.613 1.388 4.47-1.032 7.803-5.037 7.803-9.82 0-5.566-4.512-10.078-10.078-10.078zm1.791 5.646c-.42 0-.678.146-.795.332-.023.047.047.094.094.07.14-.075.357-.161.701-.156.328.006.516.09.67.159l.023.01c.041.017.088-.03.059-.065-.134-.18-.332-.35-.752-.35zm-5.078.198a1.24 1.24 0 0 0-.522.082c-.454.169-.67.526-.67.76 0 .051.112.057.141.011.081-.123.21-.31.617-.478.408-.17.73-.146.951-.094.047.012.083-.041.041-.07a.989.989 0 0 0-.558-.211zm5.434 1.423a.651.651 0 0 0-.655.647.652.652 0 0 0 1.307 0 .646.646 0 0 0-.652-.647zm.283.262h.008a.17.17 0 0 1 .17.17c0 .093-.077.17-.17.17a.17.17 0 0 1-.17-.17c0-.09.072-.165.162-.17zm-5.358.076a.752.752 0 0 0-.758.758c0 .42.338.758.758.758s.758-.337.758-.758a.756.756 0 0 0-.758-.758zm.328.303h.01c.112 0 .2.089.2.2 0 .11-.088.197-.2.197a.195.195 0 0 1-.197-.198c0-.107.082-.194.187-.199z",source:"https://github.com/duckduckgo/duckduckgo-privacy-extension/blob/5c6ac8d6a07421adbfb97ee2ff855dd7655f8d71/shared/img/logo-small-grayscale.svg",hex:"DE5833",guidelines:"https://duckduckgo.com/press#press-materials"},SE={title:"eBay",slug:"ebay",get svg(){return Ae+"eBay"+Fe+this.path+Ue},path:"M6.056 12.132v-4.92h1.2v3.026c.59-.703 1.402-.906 2.202-.906 1.34 0 2.828.904 2.828 2.855 0 .233-.015.457-.06.668.24-.953 1.274-1.305 2.896-1.344.51-.018 1.095-.018 1.56-.018v-.135c0-.885-.556-1.244-1.53-1.244-.72 0-1.245.3-1.305.81h-1.275c.136-1.29 1.5-1.62 2.686-1.62 1.064 0 1.995.27 2.415 1.02l-.436-.84h1.41l2.055 4.125 2.055-4.126H24l-3.72 7.305h-1.346l1.07-2.04-2.33-4.38c.13.255.2.555.2.93v2.46c0 .346.01.69.04 1.005H16.8a6.543 6.543 0 01-.046-.765c-.603.734-1.32.96-2.32.96-1.48 0-2.272-.78-2.272-1.695 0-.15.015-.284.037-.405-.3 1.246-1.36 2.086-2.767 2.086-.87 0-1.694-.315-2.2-.93 0 .24-.015.494-.04.734h-1.18c.02-.39.04-.855.04-1.245v-1.05h-4.83c.065 1.095.818 1.74 1.853 1.74.718 0 1.355-.3 1.568-.93h1.24c-.24 1.29-1.61 1.725-2.79 1.725C.95 15.009 0 13.822 0 12.232c0-1.754.982-2.91 3.116-2.91 1.688 0 2.93.886 2.94 2.806v.005zm9.137.183c-1.095.034-1.77.233-1.77.95 0 .465.36.97 1.305.97 1.26 0 1.935-.69 1.935-1.814v-.13c-.45 0-.99.006-1.484.022h.012zm-6.06 1.875c1.11 0 1.876-.806 1.876-2.02s-.768-2.02-1.893-2.02c-1.11 0-1.89.806-1.89 2.02s.765 2.02 1.875 2.02h.03zm-4.35-2.514c-.044-1.125-.854-1.546-1.725-1.546-.944 0-1.694.474-1.815 1.546z",source:"https://go.developer.ebay.com/logos",hex:"E53238"},IE={title:"Facebook",slug:"facebook",get svg(){return Ae+"Facebook"+Fe+this.path+Ue},path:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z",source:"https://about.meta.com/brand/resources/facebook/logo",hex:"0866FF",guidelines:"https://about.meta.com/brand/resources/facebook/logo"},N0={title:"GitHub",slug:"github",get svg(){return Ae+"GitHub"+Fe+this.path+Ue},path:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12",source:"https://github.com/logos",hex:"181717",guidelines:"https://github.com/logos"},zE={title:"GitLab",slug:"gitlab",get svg(){return Ae+"GitLab"+Fe+this.path+Ue},path:"m23.6004 9.5927-.0337-.0862L20.3.9814a.851.851 0 0 0-.3362-.405.8748.8748 0 0 0-.9997.0539.8748.8748 0 0 0-.29.4399l-2.2055 6.748H7.5375l-2.2057-6.748a.8573.8573 0 0 0-.29-.4412.8748.8748 0 0 0-.9997-.0537.8585.8585 0 0 0-.3362.4049L.4332 9.5015l-.0325.0862a6.0657 6.0657 0 0 0 2.0119 7.0105l.0113.0087.03.0213 4.976 3.7264 2.462 1.8633 1.4995 1.1321a1.0085 1.0085 0 0 0 1.2197 0l1.4995-1.1321 2.4619-1.8633 5.006-3.7489.0125-.01a6.0682 6.0682 0 0 0 2.0094-7.003z",source:"https://about.gitlab.com/press/press-kit/",hex:"FC6D26",guidelines:"https://about.gitlab.com/handbook/marketing/corporate-marketing/brand-activation/trademark-guidelines/"},jE={title:"Google",slug:"google",get svg(){return Ae+"Google"+Fe+this.path+Ue},path:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z",source:"https://partnermarketinghub.withgoogle.com",hex:"4285F4",guidelines:"https://about.google/brand-resource-center/brand-elements/"},EE={title:"Instagram",slug:"instagram",get svg(){return Ae+"Instagram"+Fe+this.path+Ue},path:"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077",source:"https://about.meta.com/brand/resources/instagram",hex:"FF0069",guidelines:"https://about.meta.com/brand/resources/instagram"},OE={title:"Juejin",slug:"juejin",get svg(){return Ae+"Juejin"+Fe+this.path+Ue},path:"m12 14.316 7.454-5.88-2.022-1.625L12 11.1l-.004.003-5.432-4.288-2.02 1.624 7.452 5.88Zm0-7.247 2.89-2.298L12 2.453l-.004-.005-2.884 2.318 2.884 2.3Zm0 11.266-.005.002-9.975-7.87L0 12.088l.194.156 11.803 9.308 7.463-5.885L24 12.085l-2.023-1.624Z",source:"https://juejin.cn",hex:"007FFF"},ME={title:"MDN Web Docs",slug:"mdnwebdocs",get svg(){return Ae+"MDN Web Docs"+Fe+this.path+Ue},path:"m21.538 1.1-6.745 21.8h-2.77L18.77 1.1ZM24 1.1v21.8h-2.462V1.1Zm-12 0v21.8H9.538V1.1Zm-2.462 0L2.77 22.9H0L6.746 1.1Z",source:"https://github.com/mdn/yari/blob/77e6cda02f7013219e9da27a00b9424085e60fdb/client/src/assets/mdn-logo.svg",hex:"000000"},TE={title:"Netflix",slug:"netflix",get svg(){return Ae+"Netflix"+Fe+this.path+Ue},path:"m5.398 0 8.348 23.602c2.346.059 4.856.398 4.856.398L10.113 0H5.398zm8.489 0v9.172l4.715 13.33V0h-4.715zM5.398 1.5V24c1.873-.225 2.81-.312 4.715-.398V14.83L5.398 1.5z",source:"https://brand.netflix.com/en/assets/logos",hex:"E50914",guidelines:"https://brand.netflix.com/en/assets/logos"},LE={title:"npm",slug:"npm",get svg(){return Ae+"npm"+Fe+this.path+Ue},path:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z",source:"https://www.npmjs.com",hex:"CB3837",guidelines:"https://docs.npmjs.com/policies/logos-and-usage"},NE={title:"PyPI",slug:"pypi",get svg(){return Ae+"PyPI"+Fe+this.path+Ue},path:"M23.922 13.58v3.912L20.55 18.72l-.078.055.052.037 3.45-1.256.026-.036v-3.997l-.053-.036-.025.092z M23.621 5.618l-3.04 1.107v3.912l3.339-1.215V5.509zM23.92 13.457V9.544l-3.336 1.215v3.913zM20.47 14.71V10.8L17.17 12v3.913zM17.034 19.996v-3.912l-3.313 1.206v3.912zM17.17 16.057v3.868l3.314-1.206V14.85l-3.314 1.206zm2.093 1.882c-.367.134-.663-.074-.663-.463s.296-.814.663-.947c.365-.133.662.075.662.464s-.297.814-.662.946z M13.225 9.315l.365-.132-3.285-1.197-3.323 1.21.102.037 3.184 1.16zM20.507 10.664V6.751L17.17 7.965v3.913zM17.058 11.918V8.005l-3.302 1.202v3.912zM13.643 9.246l-3.336 1.215v3.913l3.336-1.215zM6.907 13.165l3.322 1.209v-3.913L6.907 9.252z M10.34 7.873l3.281 1.193V5.198l-3.28-1.193zM20.507 2.715L17.19 3.922v3.913l3.317-1.207zM16.95 3.903L13.724 2.73l-3.269 1.19 3.225 1.174zM15.365 4.606l-1.624.592v3.868l3.317-1.207V3.991l-1.693.615zm-.391 2.778c-.367.134-.662-.074-.662-.464s.295-.813.662-.946c.366-.133.663.074.663.464s-.297.813-.663.946z M10.229 18.41v-3.914l-3.322-1.209V17.2zM13.678 17.182v-3.913l-3.371 1.227v3.913z M13.756 17.154l3.3-1.2V12.04l-3.3 1.2zM13.678 21.217l-3.371 1.227v-3.912h-.078v3.912l-3.322-1.209v-3.913l-.053-.058-.025-.06-3.336-1.21v-3.948l.034.013 3.287 1.196.015-.078-3.261-1.187 3.26-1.187v-.109L3.876 9.62l-.307-.112 3.26-1.188v.877l.079-.055V6.769l3.257 1.185.058-.061L7.084 6.75l-.102-.037 3.24-1.179v-.083L6.854 6.677v.018l-.025.018v1.523L3.44 9.47v.02l-.025.017v4.007l-3.39 1.233v.019L0 14.784v3.995l.025.037 3.4 1.237.008-.006.007.01 3.4 1.238.008-.006.006.01 3.4 1.237.014-.009.012.01 3.45-1.256.026-.037-.078-.027zM3.493 9.563l3.257 1.185-3.257 1.187V9.562zM3.4 19.96L.078 18.752v-3.913l2.361.86.96.349v3.913zm.015-3.99L.335 14.85l-.182-.066 3.262-1.187v2.374zm3.399 5.231l-3.321-1.209v-3.912l3.321 1.209v3.912zM23.791 5.434l-3.21-1.17v2.338zM20.387 2.643l-3.24-1.18-3.27 1.19 3.247 1.182z",source:"https://pypi.org",hex:"3775A9"},PE={title:"QQ",slug:"qq",get svg(){return Ae+"QQ"+Fe+this.path+Ue},path:"M21.395 15.035a40 40 0 0 0-.803-2.264l-1.079-2.695c.001-.032.014-.562.014-.836C19.526 4.632 17.351 0 12 0S4.474 4.632 4.474 9.241c0 .274.013.804.014.836l-1.08 2.695a39 39 0 0 0-.802 2.264c-1.021 3.283-.69 4.643-.438 4.673.54.065 2.103-2.472 2.103-2.472 0 1.469.756 3.387 2.394 4.771-.612.188-1.363.479-1.845.835-.434.32-.379.646-.301.778.343.578 5.883.369 7.482.189 1.6.18 7.14.389 7.483-.189.078-.132.132-.458-.301-.778-.483-.356-1.233-.646-1.846-.836 1.637-1.384 2.393-3.302 2.393-4.771 0 0 1.563 2.537 2.103 2.472.251-.03.581-1.39-.438-4.673",source:"https://en.wikipedia.org/wiki/File:Tencent_QQ.svg",hex:"1EBAFC",guidelines:"https://qq.design/brand/BrandDesign/Logo"},DE={title:"Quora",slug:"quora",get svg(){return Ae+"Quora"+Fe+this.path+Ue},path:"M7.3799.9483A11.9628 11.9628 0 0 1 21.248 19.5397l2.4096 2.4225c.7322.7362.21 1.9905-.8272 1.9905l-10.7105.01a12.52 12.52 0 0 1-.304 0h-.02A11.9628 11.9628 0 0 1 7.3818.9503Zm7.3217 4.428a7.1717 7.1717 0 1 0-5.4873 13.2512 7.1717 7.1717 0 0 0 5.4883-13.2511Z",source:"https://www.quora.com",hex:"B92B27"},RE={title:"Reddit",slug:"reddit",get svg(){return Ae+"Reddit"+Fe+this.path+Ue},path:"M12 0C5.373 0 0 5.373 0 12c0 3.314 1.343 6.314 3.515 8.485l-2.286 2.286C.775 23.225 1.097 24 1.738 24H12c6.627 0 12-5.373 12-12S18.627 0 12 0Zm4.388 3.199c1.104 0 1.999.895 1.999 1.999 0 1.105-.895 2-1.999 2-.946 0-1.739-.657-1.947-1.539v.002c-1.147.162-2.032 1.15-2.032 2.341v.007c1.776.067 3.4.567 4.686 1.363.473-.363 1.064-.58 1.707-.58 1.547 0 2.802 1.254 2.802 2.802 0 1.117-.655 2.081-1.601 2.531-.088 3.256-3.637 5.876-7.997 5.876-4.361 0-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538 0-1.548 1.255-2.802 2.803-2.802.645 0 1.239.218 1.712.585 1.275-.79 2.881-1.291 4.64-1.365v-.01c0-1.663 1.263-3.034 2.88-3.207.188-.911.993-1.595 1.959-1.595Zm-8.085 8.376c-.784 0-1.459.78-1.506 1.797-.047 1.016.64 1.429 1.426 1.429.786 0 1.371-.369 1.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406 0c-.786 0-1.385.824-1.338 1.841.047 1.017.634 1.385 1.418 1.385.785 0 1.473-.413 1.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703 4.013c-.974 0-1.907.048-2.77.135-.147.015-.241.168-.183.305.483 1.154 1.622 1.964 2.953 1.964 1.33 0 2.47-.81 2.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z",source:"https://www.redditinc.com/brand",hex:"FF4500",guidelines:"https://www.redditinc.com/brand"},AE={title:"Sina Weibo",slug:"sinaweibo",get svg(){return Ae+"Sina Weibo"+Fe+this.path+Ue},path:"M10.098 20.323c-3.977.391-7.414-1.406-7.672-4.02-.259-2.609 2.759-5.047 6.74-5.441 3.979-.394 7.413 1.404 7.671 4.018.259 2.6-2.759 5.049-6.737 5.439l-.002.004zM9.05 17.219c-.384.616-1.208.884-1.829.602-.612-.279-.793-.991-.406-1.593.379-.595 1.176-.861 1.793-.601.622.263.82.972.442 1.592zm1.27-1.627c-.141.237-.449.353-.689.253-.236-.09-.313-.361-.177-.586.138-.227.436-.346.672-.24.239.09.315.36.18.601l.014-.028zm.176-2.719c-1.893-.493-4.033.45-4.857 2.118-.836 1.704-.026 3.591 1.886 4.21 1.983.64 4.318-.341 5.132-2.179.8-1.793-.201-3.642-2.161-4.149zm7.563-1.224c-.346-.105-.57-.18-.405-.615.375-.977.42-1.804 0-2.404-.781-1.112-2.915-1.053-5.364-.03 0 0-.766.331-.571-.271.376-1.217.315-2.224-.27-2.809-1.338-1.337-4.869.045-7.888 3.08C1.309 10.87 0 13.273 0 15.348c0 3.981 5.099 6.395 10.086 6.395 6.536 0 10.888-3.801 10.888-6.82 0-1.822-1.547-2.854-2.915-3.284v.01zm1.908-5.092c-.766-.856-1.908-1.187-2.96-.962-.436.09-.706.511-.616.932.09.42.511.691.932.602.511-.105 1.067.044 1.442.465.376.421.466.977.316 1.473-.136.406.089.856.51.992.405.119.857-.105.992-.512.33-1.021.12-2.178-.646-3.035l.03.045zm2.418-2.195c-1.576-1.757-3.905-2.419-6.054-1.968-.496.104-.812.587-.706 1.081.104.496.586.813 1.082.707 1.532-.331 3.185.15 4.296 1.383 1.112 1.246 1.429 2.943.947 4.416-.165.48.106 1.007.586 1.157.479.165.991-.104 1.157-.586.675-2.088.241-4.478-1.338-6.235l.03.045z",source:"https://en.wikipedia.org/wiki/Sina_Weibo",hex:"E6162D"},FE={title:"Spotify",slug:"spotify",get svg(){return Ae+"Spotify"+Fe+this.path+Ue},path:"M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z",source:"https://developer.spotify.com/documentation/general/design-and-branding/#using-our-logo",hex:"1ED760",guidelines:"https://developer.spotify.com/documentation/general/design-and-branding/#using-our-logo"},UE={title:"Stack Overflow",slug:"stackoverflow",get svg(){return Ae+"Stack Overflow"+Fe+this.path+Ue},path:"M15.725 0l-1.72 1.277 6.39 8.588 1.716-1.277L15.725 0zm-3.94 3.418l-1.369 1.644 8.225 6.85 1.369-1.644-8.225-6.85zm-3.15 4.465l-.905 1.94 9.702 4.517.904-1.94-9.701-4.517zm-1.85 4.86l-.44 2.093 10.473 2.201.44-2.092-10.473-2.203zM1.89 15.47V24h19.19v-8.53h-2.133v6.397H4.021v-6.396H1.89zm4.265 2.133v2.13h10.66v-2.13H6.154Z",source:"https://stackoverflow.design/brand/logo/",hex:"F58025",guidelines:"https://stackoverflow.com/legal/trademark-guidance"},HE={title:"Taobao",slug:"taobao",get svg(){return Ae+"Taobao"+Fe+this.path+Ue},path:"M21.3099 9.9008c.5285 0 .9584.4284.9584.9589 0 .5276-.4299.958-.9584.958-.5276 0-.9585-.4304-.9585-.958 0-.5305.4309-.959.9585-.959zm2.3899 3.0462h-10.408v-.9595h4.15V9.7591h-2.8869v-.768h2.8868v-.9234h-2.508v.2034h-1.6418V5.3733h1.6418v.3497c.4945-.0607 1.463-.1814 2.5175-.2956v-.8257h1.8522v.6408c.9249-.0807 1.753-.1312 2.211-.1112 1.489.0716 2.4449.2816 2.485 1.273.0356.989-1.4244 1.9043-1.4244 1.9043l-.4509-.4338v.1929h-2.8116v.9233h3.229v.768h-3.229v2.2285h4.3873v.9595zM21.5259 7.299l-.0115-.0115s1.3722-.7595.3427-1.272c-.8633-.43-5.5346.3056-6.9234.6257v.6578h6.5922zM1.8822 6.4166c.5515 0 .9985-.449.9985-1 0-.5531-.447-.9995-.9985-.9995a.9984.9984 0 00-1.001.9995c0 .551.4463 1 1.001 1zm3.4094-.8596c.252-.4364.3717-.7195.3717-.7195l-1.466-.4123S3.6068 6.3546 2.5527 7.253c0 0 1.0195.5897 1.0095.5732a9.6444 9.6444 0 00.782-.8793c.2345-.1017.4585-.198.6794-.2876-.2715.487-.7094 1.219-1.1478 1.6809l.6178.5385s.4198-.4033.8792-.8907h.5246v.8993H3.8557v.7204h2.0416v1.7235c-.025 0-.0521 0-.0782-.002-.224-.0106-.5751-.0476-.7124-.265-.1678-.2636-.044-.7496-.0346-1.0457H3.6608l-.0496.026s-.517 2.3142 1.489 2.2621c1.8793.0521 2.9544-.523 3.4725-.9178l.2064.7645 1.1583-.4825-.785-1.9183-.941.292.1764.6574c-.2415.1809-.518.3157-.8187.4134V9.6076h1.995v-.7204h-1.995v-.8993h2.003v-.72h-3.557c.2565-.3111.4589-.5982.5095-.78L5.9058 6.32c2.6603-.9519 4.1408-.7886 4.1278.773v4.1128s.1568 1.4124-1.461 1.3107l-.8757-.188-.207.8307s3.7822 1.0812 4.0913-1.8246c.3096-2.9058-.0767-4.7576-.0767-4.7576s-.3451-2.6824-6.213-1.02zM.0582 12.1534l1.5867.9905c1.0967-2.3813 1.0265-2.0657 1.302-2.92.2832-.8737.3453-1.54-.1362-2.023-.6172-.6197-.6844-.6773-1.6017-1.3582L.5487 7.8562l1.2164.7576s.8141.4153.4274 1.1903c-.3617.7375-2.1343 2.3493-2.1343 2.3493zm19.94 6.8484s-.0186.523-.6704.523c-.5892 0-.6363-.4113-.6363-.4113-.2485.2996-.6207.4549-1.0696.4549-.7606 0-1.2961-.5135-1.2961-1.2896 0-.786.5576-1.28 1.3983-1.28.3832 0 .725.1462.9258.4037.0066-.0706.0136-.1362.0136-.1968 0-.5622-.3092-.8127-1.01-.8127-.3382 0-.6659.0486-1.0136.1408.1107-.219.1924-.3793.2971-.4574.1202-.0972.4294-.1408.9419-.1408 1.269 0 1.742.4259 1.742 1.4279v1.2024c0 .3161.033.4359.3772.4359zm-1.3272-.745c0-.4815-.2555-.747-.6378-.747-.4043 0-.6668.2825-.6668.7595 0 .467.2775.7615.6533.7615.3882 0 .6513-.275.6513-.774zm5.2706-.501c0 1.1528-.6924 1.8271-1.7786 1.8271-1.0957 0-1.7766-.6743-1.7766-1.8271 0-1.1584.6809-1.8252 1.7766-1.8252 1.0862 0 1.7786.6719 1.7786 1.8252zm-1.0867 0c0-.8693-.237-1.2997-.692-1.2997-.4734 0-.6938.4304-.6938 1.2997 0 .8662.2204 1.299.6939 1.299.467 0 .6919-.4328.6919-1.299zm-7.1313-.0441c0 1.1703-.6534 1.8567-1.5767 1.8567-.4233 0-.8056-.1633-1.0466-.47 0 0-.1082.4264-.6618.4264-.6884 0-.6644-.523-.6644-.523.3868.0165.3758-.2145.3758-.436v-2.8862c0-.3552-.0742-.4795-.4269-.4865.0136-.1072.0777-.5376.6789-.5376.8156 0 .7615.9149.7615.9149v.786c.229-.268.5516-.3942.9905-.3942.9624 0 1.5697.6447 1.5697 1.7495zm-1.0937.0806c0-.8983-.2716-1.3557-.7616-1.3557-.4393 0-.74.3968-.74 1.1047v.3602c0 .7205.3152 1.1168.7631 1.1168.477 0 .7385-.4134.7385-1.226zm-3.2425-.0365c0 1.1528-.688 1.8271-1.7806 1.8271-1.0937 0-1.7726-.6743-1.7726-1.8271 0-1.1584.6789-1.8252 1.7726-1.8252 1.0927 0 1.7806.6719 1.7806 1.8252zm-1.0832 0c0-.8693-.236-1.2997-.6974-1.2997-.467 0-.6874.4304-.6874 1.2997 0 .8662.2205 1.299.6874 1.299.469 0 .6974-.4328.6974-1.299zm-5.9895-2.716c-.268.0782-.7901.0972-1.5516.0972-.925 0-1.5391-.039-1.8543-.039-.5195 0-.7254.1342-.9088.6592.3006-.1017.6729-.1087 1.1353-.1087.3512 0 .4108.0431.4108.2941V18.846c0 .2821.1178.6789.7255.6789.7104 0 .8346-.526.8346-.526-.3552-.007-.4248-.1313-.4248-.4865V15.952c0-.2675.1012-.2795.471-.2795.1252 0 .2094.007.2605.007.545 0 .6883-.1047.9018-.6398zm3.1303 3.962s-.018.523-.6664.523c-.556 0-.6403-.4113-.6403-.4113-.248.2996-.6207.4549-1.0656.4549-.7655 0-1.2996-.5135-1.2996-1.2896 0-.786.557-1.28 1.3993-1.28.3843 0 .7274.1462.9258.4037.0036-.0706.0106-.1362.0106-.1968 0-.5622-.3051-.8127-1.007-.8127-.3382 0-.6669.0486-1.015.1408.1131-.219.1923-.3793.2945-.4574.1293-.0972.4329-.1408.9469-.1408 1.265 0 1.746.4259 1.746 1.4279v1.2024c0 .3161.0276.4359.3708.4359zm-1.3262-.745c0-.4815-.2555-.747-.6378-.747-.4013 0-.6668.2825-.6668.7595 0 .467.279.7615.6513.7615.3893 0 .6533-.275.6533-.774z",source:"https://www.alibabagroup.com/en/ir/reports",hex:"E94F20"},T8={title:"Telegram",slug:"telegram",get svg(){return Ae+"Telegram"+Fe+this.path+Ue},path:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z",source:"https://telegram.org/tour/screenshots",hex:"26A5E4"},ZE={title:"TikTok",slug:"tiktok",get svg(){return Ae+"TikTok"+Fe+this.path+Ue},path:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z",source:"https://tiktok.com",hex:"000000"},VE={title:"V2EX",slug:"v2ex",get svg(){return Ae+"V2EX"+Fe+this.path+Ue},path:"M.671 1.933h13.821a1.342 1.342 0 0 1 .98.425l8.166 8.725a1.342 1.342 0 0 1 0 1.834l-8.166 8.724a1.342 1.342 0 0 1-.98.426H.673A.671.671 0 0 1 0 21.395v-6.878h13.19l2.276-2.28a.336.336 0 0 0 0-.474l-2.276-2.28H0V2.604a.671.671 0 0 1 .671-.671Z",source:"https://www.v2ex.com",hex:"1F1F1F"},BE={title:"WeChat",slug:"wechat",get svg(){return Ae+"WeChat"+Fe+this.path+Ue},path:"M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 0 0 .167-.054l1.903-1.114a.864.864 0 0 1 .717-.098 10.16 10.16 0 0 0 2.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178A1.17 1.17 0 0 1 4.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178 1.17 1.17 0 0 1-1.162-1.178c0-.651.52-1.18 1.162-1.18zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 0 1 .598.082l1.584.926a.272.272 0 0 0 .14.047c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.582.582 0 0 1-.023-.156.49.49 0 0 1 .201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-6.656-6.088V8.89c-.135-.01-.27-.027-.407-.03zm-2.53 3.274c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.97-.982zm4.844 0c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.969-.982z",source:"https://wechat.design/tool/brand",hex:"07C160",guidelines:"https://wechat.design/brand/main-brand"},L8={title:"WhatsApp",slug:"whatsapp",get svg(){return Ae+"WhatsApp"+Fe+this.path+Ue},path:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z",source:"https://about.meta.com/brand/resources/whatsapp/whatsapp-brand",hex:"25D366",guidelines:"https://about.meta.com/brand/resources/whatsapp/whatsapp-brand"},WE={title:"Wikipedia",slug:"wikipedia",get svg(){return Ae+"Wikipedia"+Fe+this.path+Ue},path:"M12.09 13.119c-.936 1.932-2.217 4.548-2.853 5.728-.616 1.074-1.127.931-1.532.029-1.406-3.321-4.293-9.144-5.651-12.409-.251-.601-.441-.987-.619-1.139-.181-.15-.554-.24-1.122-.271C.103 5.033 0 4.982 0 4.898v-.455l.052-.045c.924-.005 5.401 0 5.401 0l.051.045v.434c0 .119-.075.176-.225.176l-.564.031c-.485.029-.727.164-.727.436 0 .135.053.33.166.601 1.082 2.646 4.818 10.521 4.818 10.521l.136.046 2.411-4.81-.482-1.067-1.658-3.264s-.318-.654-.428-.872c-.728-1.443-.712-1.518-1.447-1.617-.207-.023-.313-.05-.313-.149v-.468l.06-.045h4.292l.113.037v.451c0 .105-.076.15-.227.15l-.308.047c-.792.061-.661.381-.136 1.422l1.582 3.252 1.758-3.504c.293-.64.233-.801.111-.947-.07-.084-.305-.22-.812-.24l-.201-.021c-.052 0-.098-.015-.145-.051-.045-.031-.067-.076-.067-.129v-.427l.061-.045c1.247-.008 4.043 0 4.043 0l.059.045v.436c0 .121-.059.178-.193.178-.646.03-.782.095-1.023.439-.12.186-.375.589-.646 1.039l-2.301 4.273-.065.135 2.792 5.712.17.048 4.396-10.438c.154-.422.129-.722-.064-.895-.197-.172-.346-.273-.857-.295l-.42-.016c-.061 0-.105-.014-.152-.045-.043-.029-.072-.075-.072-.119v-.436l.059-.045h4.961l.041.045v.437c0 .119-.074.18-.209.18-.648.03-1.127.18-1.443.421-.314.255-.557.616-.736 1.067 0 0-4.043 9.258-5.426 12.339-.525 1.007-1.053.917-1.503-.031-.571-1.171-1.773-3.786-2.646-5.71l.053-.036z",source:"https://commons.wikimedia.org/wiki/File:Wikipedia-logo-v2.svg",hex:"000000"},N8={title:"X",slug:"x",get svg(){return Ae+"X"+Fe+this.path+Ue},path:"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z",source:"https://x.com",hex:"000000",guidelines:"https://about.x.com/en/who-we-are/brand-toolkit"},KE={title:"Y Combinator",slug:"ycombinator",get svg(){return Ae+"Y Combinator"+Fe+this.path+Ue},path:"M0 24V0h24v24H0zM6.951 5.896l4.112 7.708v5.064h1.583v-4.972l4.148-7.799h-1.749l-2.457 4.875c-.372.745-.688 1.434-.688 1.434s-.297-.708-.651-1.434L8.831 5.896h-1.88z",source:"https://www.ycombinator.com/press",hex:"F0652F"},P8={title:"YouTube",slug:"youtube",get svg(){return Ae+"YouTube"+Fe+this.path+Ue},path:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z",source:"https://www.youtube.com/howyoutubeworks/resources/brand-resources/#logos-icons-and-colors",hex:"FF0000",guidelines:"https://www.youtube.com/howyoutubeworks/resources/brand-resources/#logos-icons-and-colors"},qE={title:"Zhihu",slug:"zhihu",get svg(){return Ae+"Zhihu"+Fe+this.path+Ue},path:"M5.721 0C2.251 0 0 2.25 0 5.719V18.28C0 21.751 2.252 24 5.721 24h12.56C21.751 24 24 21.75 24 18.281V5.72C24 2.249 21.75 0 18.281 0zm1.964 4.078c-.271.73-.5 1.434-.68 2.11h4.587c.545-.006.445 1.168.445 1.171H9.384a58.104 58.104 0 01-.112 3.797h2.712c.388.023.393 1.251.393 1.266H9.183a9.223 9.223 0 01-.408 2.102l.757-.604c.452.456 1.512 1.712 1.906 2.177.473.681.063 2.081.063 2.081l-2.794-3.382c-.653 2.518-1.845 3.607-1.845 3.607-.523.468-1.58.82-2.64.516 2.218-1.73 3.44-3.917 3.667-6.497H4.491c0-.015.197-1.243.806-1.266h2.71c.024-.32.086-3.254.086-3.797H6.598c-.136.406-.158.447-.268.753-.594 1.095-1.603 1.122-1.907 1.155.906-1.821 1.416-3.6 1.591-4.064.425-1.124 1.671-1.125 1.671-1.125zM13.078 6h6.377v11.33h-2.573l-2.184 1.373-.401-1.373h-1.219zm1.313 1.219v8.86h.623l.263.937 1.455-.938h1.456v-8.86z",source:"https://www.zhihu.com",hex:"0084FF"},JE="_plainRun_fbulu_6",GE="_refChip_fbulu_11",YE="_slashChip_fbulu_30",XE="_refIcon_fbulu_39",S1={plainRun:JE,refChip:GE,slashChip:YE,refIcon:XE},QE="_markdown_rve47_5",eO="_fileLink_rve47_59",tO="_fileMention_rve47_92",nO="_linkIcon_rve47_101",rO="_tableScroll_rve47_199",iO="_tableFill_rve47_252",oO="_imageAlt_rve47_300",sO="_image_rve47_300",aO="_compact_rve47_351",lO="_imageButton_rve47_471",cO="_previewName_rve47_483",It={markdown:QE,fileLink:eO,fileMention:tO,linkIcon:nO,tableScroll:rO,tableFill:iO,imageAlt:oO,image:sO,compact:aO,imageButton:lO,previewName:cO},uO="_toast_hr9yd_6",dO="_icon_hr9yd_40",fO="_success_hr9yd_47",hO="_text_hr9yd_51",pO="_action_hr9yd_55",to={toast:uO,icon:dO,success:fO,text:hO,action:pO},mO="_form_ft7vz_3",gO="_readOnly_ft7vz_8",vO="_unavailable_ft7vz_9",yO="_footer_ft7vz_16",_O="_failed_ft7vz_23",wO="_save_ft7vz_32",no={form:mO,readOnly:gO,unavailable:vO,footer:yO,failed:_O,save:wO},bO="_field_181ew_3",xO="_head_181ew_14",kO="_label_181ew_20",CO="_labelGroup_181ew_29",$O="_helpButton_181ew_41",SO="_help_181ew_41",IO="_badges_181ew_88",zO="_reset_181ew_94",jO="_input_181ew_115",EO="_invalid_181ew_141",OO="_hint_181ew_148",wt={field:bO,head:xO,label:kO,labelGroup:CO,helpButton:$O,help:SO,badges:IO,reset:zO,input:jO,invalid:EO,hint:OO},Yv=new Map(Object.entries({typescript:["ts","tsx","mts","cts"],javascript:["js","jsx","mjs","cjs"],shellscript:["sh","bash","zsh"],fish:["fish"],json:["json","jsonc","jsonl","ndjson","ipynb"],csv:["csv"],python:["py","pyw","pyi"],ruby:["rb","rake","gemspec"],go:["go"],rust:["rs"],java:["java"],c:["c","h"],cpp:["cc","cpp","cxx","hh","hpp","hxx"],csharp:["cs"],kotlin:["kt","kts"],swift:["swift"],php:["php"],yaml:["yaml","yml"],toml:["toml"],ini:["ini","conf","cfg","properties"],dotenv:["env"],log:["log"],diff:["diff","patch"],http:["http"],markdown:["md","markdown"],mdx:["mdx"],rst:["rst"],latex:["tex","sty","cls"],bibtex:["bib"],asciidoc:["adoc"],html:["html","htm","xhtml"],css:["css"],scss:["scss"],less:["less"],sql:["sql"],xml:["xml","xsd","xsl","xslt","plist","svg"],lua:["lua"],bat:["bat","cmd"],powershell:["ps1","psm1","psd1"],r:["r"],julia:["jl"],dart:["dart"],scala:["scala"],clojure:["clj","cljs","edn"],erlang:["erl","hrl"],elixir:["ex","exs"],haskell:["hs"],fsharp:["fs","fsi","fsx"],vb:["vb"],perl:["pl","pm"],verilog:["v"],"system-verilog":["sv","svh"],graphql:["graphql","gql"],proto:["proto"],hcl:["tf","tfvars","hcl"],nix:["nix"],vue:["vue"],svelte:["svelte"],make:["makefile","mk"],cmake:["cmake"],groovy:["gradle","groovy"]}).flatMap(([e,t])=>t.map(r=>[r,e]))),MO=[...Yv.keys()];function TO(e){const t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\")),r=e.slice(t+1),i=r.lastIndexOf(".");return i<0?void 0:r.slice(i+1).toLowerCase()}function y2(e){const t=TO(e);return t===void 0?void 0:Yv.get(t)}const LO="_root_1bv28_1",NO="_container_1bv28_30",PO="_expandedTopLevel_1bv28_39",DO="_topLevelBracket_1bv28_46",RO="_expandedTopLevelContainer_1bv28_56",AO="_row_1bv28_60",FO="_children_1bv28_65",UO="_expander_1bv28_84",HO="_copySlot_1bv28_110",ZO="_label_1bv28_115",VO="_clickableLabel_1bv28_121",BO="_stringValue_1bv28_125",WO="_stringField_1bv28_129",KO="_stringText_1bv28_135",qO="_stringRaw_1bv28_144",JO="_stringActions_1bv28_154",GO="_stringToggleSlot_1bv28_177",YO="_stringToggle_1bv28_177",XO="_summary_1bv28_218",QO="_numberValue_1bv28_225",eM="_keywordValue_1bv28_229",tM="_otherValue_1bv28_233",nM="_punctuation_1bv28_237",rM="_preview_1bv28_241",iM="_previewProperty_1bv28_245",oM="_previewEllipsis_1bv28_249",sM="_actionButton_1bv28_290",aM="_collapseIcon_1bv28_353",ge={root:LO,container:NO,expandedTopLevel:PO,topLevelBracket:DO,expandedTopLevelContainer:RO,row:AO,children:FO,expander:UO,copySlot:HO,label:ZO,clickableLabel:VO,stringValue:BO,stringField:WO,stringText:KO,stringRaw:qO,stringActions:JO,stringToggleSlot:GO,stringToggle:YO,summary:XO,numberValue:QO,keywordValue:eM,otherValue:tM,punctuation:nM,preview:rM,previewProperty:iM,previewEllipsis:oM,actionButton:sM,collapseIcon:aM};var P0,D8;function lM(){if(D8)return P0;D8=1;const e=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]],t=/(https?:\/\/(?:[A-Za-z0-9#;/?:@=+$',_.!~*()[\]-]|&|%[A-Fa-f0-9]{2})+)/gm;class r{static escapeForHtml(n){return new r().escapeForHtml(n)}static linkify(n){return new r().linkify(n)}static ansiToHtml(n,s){return new r().ansiToHtml(n,s)}static ansiToJson(n,s){return new r().ansiToJson(n,s)}static ansiToText(n){return new r().ansiToText(n)}constructor(){this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0,this.decorations=[]}setupPalette(){this.PALETTE_COLORS=[];for(let u=0;u<2;++u)for(let f=0;f<8;++f)this.PALETTE_COLORS.push(e[u][f].color);let n=[0,95,135,175,215,255],s=(u,f,h)=>n[u]+", "+n[f]+", "+n[h];for(let u=0;u<6;++u)for(let f=0;f<6;++f)for(let h=0;h<6;++h)this.PALETTE_COLORS.push(s(u,f,h));let l=8;for(let u=0;u<24;++u,l+=10)this.PALETTE_COLORS.push(l+", "+l+", "+l)}escapeForHtml(n){return n.replace(/[&<>\"]/gm,s=>s=="&"?"&":s=='"'?""":s=="<"?"<":s==">"?">":"")}linkify(n){return n.replace(t,s=>`<a href="${s}">${s}</a>`)}ansiToHtml(n,s){return this.process(n,s,!0)}ansiToJson(n,s){return s=s||{},s.json=!0,s.clearLine=!1,this.process(n,s,!0)}ansiToText(n){return this.process(n,{},!1)}process(n,s,l){let u=this,f=n.split(/\033\[/),h=f.shift();s==null&&(s={}),s.clearLine=/\r/.test(n);let g=f.map(y=>this.processChunk(y,s,l));if(s&&s.json){let y=u.processChunkJson("");return y.content=h,y.clearLine=s.clearLine,g.unshift(y),s.remove_empty&&(g=g.filter(_=>!_.isEmpty())),g}else g.unshift(h);return g.join("")}processChunkJson(n,s,l){s=typeof s>"u"?{}:s;let u=s.use_classes=typeof s.use_classes<"u"&&s.use_classes,f=s.key=u?"class":"color",h={content:n,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,isInverted:!1,clearLine:s.clearLine,decoration:null,decorations:[],was_processed:!1,isEmpty:()=>!h.content},g=n.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!g)return h;h.content=g[4];let y=g[2].split(";");if(g[1]!==""||g[3]!=="m"||!l)return h;let _=this;for(;y.length>0;){let w=y.shift(),x=parseInt(w);if(isNaN(x)||x===0)_.fg=_.bg=null,_.decorations=[];else if(x===1)_.decorations.push("bold");else if(x===2)_.decorations.push("dim");else if(x===3)_.decorations.push("italic");else if(x===4)_.decorations.push("underline");else if(x===5)_.decorations.push("blink");else if(x===7)_.decorations.push("reverse");else if(x===8)_.decorations.push("hidden");else if(x===9)_.decorations.push("strikethrough");else if(x===21)_.removeDecoration("bold");else if(x===22)_.removeDecoration("bold"),_.removeDecoration("dim");else if(x===23)_.removeDecoration("italic");else if(x===24)_.removeDecoration("underline");else if(x===25)_.removeDecoration("blink");else if(x===27)_.removeDecoration("reverse");else if(x===28)_.removeDecoration("hidden");else if(x===29)_.removeDecoration("strikethrough");else if(x===39)_.fg=null;else if(x===49)_.bg=null;else if(x>=30&&x<38)_.fg=e[0][x%10][f];else if(x>=90&&x<98)_.fg=e[1][x%10][f];else if(x>=40&&x<48)_.bg=e[0][x%10][f];else if(x>=100&&x<108)_.bg=e[1][x%10][f];else if(x===38||x===48){let I=x===38;if(y.length>=1){let S=y.shift();if(S==="5"&&y.length>=1){let E=parseInt(y.shift());if(E>=0&&E<=255)if(!u)this.PALETTE_COLORS||_.setupPalette(),I?_.fg=this.PALETTE_COLORS[E]:_.bg=this.PALETTE_COLORS[E];else{let z=E>=16?"ansi-palette-"+E:e[E>7?1:0][E%8].class;I?_.fg=z:_.bg=z}}else if(S==="2"&&y.length>=3){let E=parseInt(y.shift()),z=parseInt(y.shift()),O=parseInt(y.shift());if(E>=0&&E<=255&&z>=0&&z<=255&&O>=0&&O<=255){let P=E+", "+z+", "+O;u?I?(_.fg="ansi-truecolor",_.fg_truecolor=P):(_.bg="ansi-truecolor",_.bg_truecolor=P):I?_.fg=P:_.bg=P}}}}}return _.fg===null&&_.bg===null&&_.decorations.length===0||(h.fg=_.fg,h.bg=_.bg,h.fg_truecolor=_.fg_truecolor,h.bg_truecolor=_.bg_truecolor,h.decorations=_.decorations,h.decoration=_.decorations.slice(-1).pop()||null,h.was_processed=!0),h}processChunk(n,s,l){s=s||{};let u=this.processChunkJson(n,s,l),f=s.use_classes;if(u.decorations=u.decorations.filter(x=>{if(x==="reverse"){u.fg||(u.fg=e[0][7][f?"class":"color"]),u.bg||(u.bg=e[0][0][f?"class":"color"]);let I=u.fg;u.fg=u.bg,u.bg=I;let S=u.fg_truecolor;return u.fg_truecolor=u.bg_truecolor,u.bg_truecolor=S,u.isInverted=!0,!1}return!0}),s.json)return u;if(u.isEmpty())return"";if(!u.was_processed)return u.content;let h=[],g=[],y=[],_={},w=x=>{let I=[],S;for(S in x)x.hasOwnProperty(S)&&I.push("data-"+S+'="'+this.escapeForHtml(x[S])+'"');return I.length>0?" "+I.join(" "):""};return u.isInverted&&(_["ansi-is-inverted"]="true"),u.fg&&(f?(h.push(u.fg+"-fg"),u.fg_truecolor!==null&&(_["ansi-truecolor-fg"]=u.fg_truecolor,u.fg_truecolor=null)):h.push("color:rgb("+u.fg+")")),u.bg&&(f?(h.push(u.bg+"-bg"),u.bg_truecolor!==null&&(_["ansi-truecolor-bg"]=u.bg_truecolor,u.bg_truecolor=null)):h.push("background-color:rgb("+u.bg+")")),u.decorations.forEach(x=>{if(f){g.push("ansi-"+x);return}x==="bold"?g.push("font-weight:bold"):x==="dim"?g.push("opacity:0.5"):x==="italic"?g.push("font-style:italic"):x==="hidden"?g.push("visibility:hidden"):x==="strikethrough"?y.push("line-through"):y.push(x)}),y.length&&g.push("text-decoration:"+y.join(" ")),f?'<span class="'+h.concat(g).join(" ")+'"'+w(_)+">"+u.content+"</span>":'<span style="'+h.concat(g).join(";")+'"'+w(_)+">"+u.content+"</span>"}removeDecoration(n){const s=this.decorations.indexOf(n);s>=0&&this.decorations.splice(s,1)}}return P0=r,P0}var cM=lM();const uM=aa(cM),dM="_block_15hvo_1",fM="_header_15hvo_32",hM="_prompt_15hvo_70",pM="_promptLine_15hvo_78",mM="_runState_15hvo_91",gM="_runStateLabel_15hvo_99",vM="_cwd_15hvo_108",yM="_command_15hvo_115",_M="_status_15hvo_124",wM="_copyButton_15hvo_132",bM="_output_15hvo_152",xM="_line_15hvo_179",kM="_expand_15hvo_185",CM="_empty_15hvo_203",Et={block:dM,header:fM,prompt:hM,promptLine:pM,runState:mM,runStateLabel:gM,cwd:vM,command:yM,status:_M,copyButton:wM,output:bM,line:xM,expand:kM,empty:CM},$M="_text_1wnek_1",SM={text:$M},IM="_card_1mqf1_1",zM="_header_1mqf1_10",jM="_heading_1mqf1_23",EM="_language_1mqf1_30",OM="_title_1mqf1_36",MM="_actions_1mqf1_43",TM="_status_1mqf1_50",LM="_action_1mqf1_43",NM="_body_1mqf1_81",Sn={card:IM,header:zM,heading:jM,language:EM,title:OM,actions:MM,status:TM,action:LM,body:NM},PM="_line_cf6qc_1",DM="_gutter_cf6qc_7",RM="_content_cf6qc_16",AM="_block_cf6qc_21",FM="_expand_cf6qc_29",Ps={line:PM,gutter:DM,content:RM,block:AM,expand:FM};class UM{diff(t,r,i={}){let n;typeof i=="function"?(n=i,i={}):"callback"in i&&(n=i.callback);const s=this.castInput(t,i),l=this.castInput(r,i),u=this.removeEmpty(this.tokenize(s,i)),f=this.removeEmpty(this.tokenize(l,i));return this.diffWithOptionsObj(u,f,i,n)}diffWithOptionsObj(t,r,i,n){var s;const l=z=>{if(z=this.postProcess(z,i),n){setTimeout(function(){n(z)},0);return}else return z},u=r.length,f=t.length;let h=1,g=u+f;i.maxEditLength!=null&&(g=Math.min(g,i.maxEditLength));const y=(s=i.timeout)!==null&&s!==void 0?s:1/0,_=Date.now()+y,w=[{oldPos:-1,lastComponent:void 0}];let x=this.extractCommon(w[0],r,t,0,i);if(w[0].oldPos+1>=f&&x+1>=u)return l(this.buildValues(w[0].lastComponent,r,t));let I=-1/0,S=1/0;const E=()=>{for(let z=Math.max(I,-h);z<=Math.min(S,h);z+=2){let O;const P=w[z-1],N=w[z+1];P&&(w[z-1]=void 0);let A=!1;if(N){const re=N.oldPos-z;A=N&&0<=re&&re<u}const K=P&&P.oldPos+1<f;if(!A&&!K){w[z]=void 0;continue}if(!K||A&&P.oldPos<N.oldPos?O=this.addToPath(N,!0,!1,0,i):O=this.addToPath(P,!1,!0,1,i),x=this.extractCommon(O,r,t,z,i),O.oldPos+1>=f&&x+1>=u)return l(this.buildValues(O.lastComponent,r,t))||!0;w[z]=O,O.oldPos+1>=f&&(S=Math.min(S,z-1)),x+1>=u&&(I=Math.max(I,z+1))}h++};if(n)(function z(){setTimeout(function(){if(h>g||Date.now()>_)return n(void 0);E()||z()},0)})();else for(;h<=g&&Date.now()<=_;){const z=E();if(z)return z}}addToPath(t,r,i,n,s){const l=t.lastComponent;return l&&!s.oneChangePerToken&&l.added===r&&l.removed===i?{oldPos:t.oldPos+n,lastComponent:{count:l.count+1,added:r,removed:i,previousComponent:l.previousComponent}}:{oldPos:t.oldPos+n,lastComponent:{count:1,added:r,removed:i,previousComponent:l}}}extractCommon(t,r,i,n,s){const l=r.length,u=i.length;let f=t.oldPos,h=f-n,g=0;for(;h+1<l&&f+1<u&&this.equals(i[f+1],r[h+1],s);)h++,f++,g++,s.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return g&&!s.oneChangePerToken&&(t.lastComponent={count:g,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=f,h}equals(t,r,i){return i.comparator?i.comparator(t,r):t===r||!!i.ignoreCase&&t.toLowerCase()===r.toLowerCase()}removeEmpty(t){const r=[];for(let i=0;i<t.length;i++)t[i]&&r.push(t[i]);return r}castInput(t,r){return t}tokenize(t,r){return Array.from(t)}join(t){return t.join("")}postProcess(t,r){return t}get useLongestToken(){return!1}buildValues(t,r,i){const n=[];let s;for(;t;)n.push(t),s=t.previousComponent,delete t.previousComponent,t=s;n.reverse();const l=n.length;let u=0,f=0,h=0;for(;u<l;u++){const g=n[u];if(g.removed)g.value=this.join(i.slice(h,h+g.count)),h+=g.count;else{if(!g.added&&this.useLongestToken){let y=r.slice(f,f+g.count);y=y.map(function(_,w){const x=i[h+w];return x.length>_.length?x:_}),g.value=this.join(y)}else g.value=this.join(r.slice(f,f+g.count));f+=g.count,g.added||(h+=g.count)}}return n}}class HM extends UM{constructor(){super(...arguments),this.tokenize=VM}equals(t,r,i){return i.ignoreWhitespace?((!i.newlineIsToken||!t.includes(`
|
|
124
|
-
`))&&(t=t.trim()),(!i.newlineIsToken||!r.includes(`
|
|
125
|
-
`))&&(r=r.trim())):i.ignoreNewlineAtEof&&!i.newlineIsToken&&(t.endsWith(`
|
|
126
|
-
`)&&(t=t.slice(0,-1)),r.endsWith(`
|
|
127
|
-
`)&&(r=r.slice(0,-1))),super.equals(t,r,i)}}const ZM=new HM;function R8(e,t,r){return ZM.diff(e,t,r)}function VM(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
|
|
128
|
-
`));const r=[],i=e.split(/(\n|\r\n)/);i[i.length-1]||i.pop();for(let n=0;n<i.length;n++){const s=i[n];n%2&&!t.newlineIsToken?r[r.length-1]+=s:r.push(s)}return r}function BM(e,t,r,i,n,s,l){let u;l?typeof l=="function"?u={callback:l}:u=l:u={},typeof u.context>"u"&&(u.context=4);const f=u.context;if(u.newlineIsToken)throw new Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(u.callback){const{callback:g}=u;R8(r,i,Object.assign(Object.assign({},u),{callback:y=>{const _=h(y);g(_)}}))}else return h(R8(r,i,u));function h(g){if(!g)return;g.push({value:"",lines:[]});function y(z){return z.map(function(O){return" "+O})}const _=[];let w=0,x=0,I=[],S=1,E=1;for(let z=0;z<g.length;z++){const O=g[z],P=O.lines||WM(O.value);if(O.lines=P,O.added||O.removed){if(!w){const N=g[z-1];w=S,x=E,N&&(I=f>0?y(N.lines.slice(-f)):[],w-=I.length,x-=I.length)}for(const N of P)I.push((O.added?"+":"-")+N);O.added?E+=P.length:S+=P.length}else{if(w)if(P.length<=f*2&&z<g.length-2)for(const N of y(P))I.push(N);else{const N=Math.min(P.length,f);for(const K of y(P.slice(0,N)))I.push(K);const A={oldStart:w,oldLines:S-w+N,newStart:x,newLines:E-x+N,lines:I};_.push(A),w=0,x=0,I=[]}S+=P.length,E+=P.length}}for(const z of _)for(let O=0;O<z.lines.length;O++)z.lines[O].endsWith(`
|
|
129
|
-
`)?z.lines[O]=z.lines[O].slice(0,-1):(z.lines.splice(O+1,0,"\"),O++);return{oldFileName:e,newFileName:t,oldHeader:n,newHeader:s,hunks:_}}}function WM(e){const t=e.endsWith(`
|
|
130
|
-
`),r=e.split(`
|
|
131
|
-
`).map(i=>i+`
|
|
132
|
-
`);return t?r.pop():r.push(r.pop().slice(0,-1)),r}const KM="_block_1cyuy_1",qM="_body_1cyuy_5",JM="_line_1cyuy_13",GM="_path_1cyuy_29",YM="_gap_1cyuy_34",XM="_del_1cyuy_38",QM="_add_1cyuy_48",eT="_context_1cyuy_58",tT="_expand_1cyuy_66",Un={block:KM,body:qM,line:JM,path:GM,gap:YM,del:XM,add:QM,context:eT,expand:tT},nT="_block_74wpx_1",rT="_header_74wpx_12",iT="_summary_74wpx_22",oT="_copyButton_74wpx_32",sT="_body_74wpx_43",aT="_line_74wpx_52",lT="_lineNumber_74wpx_60",cT="_fileHeader_74wpx_66",uT="_filePath_74wpx_80",dT="_fileCount_74wpx_87",fT="_expand_74wpx_92",hT="_empty_74wpx_110",Kt={block:nT,header:rT,summary:iT,copyButton:oT,body:sT,line:aT,lineNumber:lT,fileHeader:cT,filePath:uT,fileCount:dT,expand:fT,empty:hT},pT="_block_7gxqk_4",mT="_bannerWrap_7gxqk_24",gT="_banner_7gxqk_24",vT="_infostring_7gxqk_45",yT="_action_7gxqk_56",_T="_copyButton_7gxqk_62",wT="_content_7gxqk_74",bT="_plain_7gxqk_103",xT="_card_7gxqk_107",kT="_numbered_7gxqk_122",An={block:pT,bannerWrap:mT,banner:gT,infostring:vT,action:yT,copyButton:_T,content:wT,plain:bT,card:xT,numbered:kT},CT="_backdrop_19zw2_2",$T="_stage_19zw2_9",ST="_mask_19zw2_19",IT="_image_19zw2_26",zT="_close_19zw2_37",Ds={backdrop:CT,stage:$T,mask:ST,image:IT,close:zT},jT="_frame_1hfzl_1",ET="_image_1hfzl_11",OT="_status_1hfzl_13",D0={frame:jT,image:ET,status:OT},MT="_block_1j4y1_1",TT="_answer_1j4y1_13",LT="_sources_1j4y1_40",NT="_source_1j4y1_40",PT="_sourceLink_1j4y1_54",DT="_linkIcon_1j4y1_65",RT="_snippet_1j4y1_84",AT="_published_1j4y1_92",FT="_truncated_1j4y1_98",UT="_empty_1j4y1_104",HT="_fetch_1j4y1_110",ZT="_fetchUrl_1j4y1_116",VT="_fetchMeta_1j4y1_138",BT="_status_1j4y1_144",St={block:MT,answer:TT,sources:LT,source:NT,sourceLink:PT,linkIcon:DT,snippet:RT,published:AT,truncated:FT,empty:UT,fetch:HT,fetchUrl:ZT,fetchMeta:VT,status:BT},WT="_root_jrv99_1",KT="_toggle_jrv99_5",qT="_body_jrv99_22",R0={root:WT,toggle:KT,body:qT},JT="_section_1gsn2_1",GT="_document_1gsn2_8",YT="_failure_1gsn2_26",XT="_error_1gsn2_32",QT="_skeleton_1gsn2_42",eL="_bar_1gsn2_48",tL="_long_1gsn2_56",nL="_short_1gsn2_57",$n={section:JT,document:GT,failure:YT,error:XT,skeleton:QT,bar:eL,long:tL,short:nL},rL="_quote_at713_1",iL="_popoverText_at713_15",oL="_source_at713_25",sL="_marker_at713_40",aL="_remove_at713_41",lL="_quoteMark_at713_65",cL="_closeMark_at713_66",Mr={quote:rL,popoverText:iL,source:oL,marker:sL,remove:aL,quoteMark:lL,closeMark:cL};function uL({className:e,...t}){return p.jsx("div",{...t,className:fe(TI.bubble,e)})}const dL=1,Ar=1.3,Xv={"new-chat-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.37091 11.2501C1.58745 9.89288 1.32067 8.29835 1.61969 6.76006C1.91872 5.22177 2.76342 3.8433 3.99826 2.87846C5.2331 1.91362 6.77494 1.42737 8.33988 1.50925C9.90482 1.59113 11.3875 2.23562 12.5149 3.32406C13.6425 4.41269 14.3387 5.87206 14.4754 7.4334C14.612 8.99474 14.18 10.5529 13.2587 11.8209C12.3375 13.0888 10.9891 13.9813 9.46194 14.3337C8.18691 14.628 6.85895 14.5294 5.64989 14.0605C5.1712 13.8748 4.76962 13.4932 4.26534 13.3967C3.67413 13.2835 2.95257 13.5598 2.03794 14.3337" stroke="currentColor"></path><path d="M8 5V11" stroke="currentColor"></path><path d="M5 8H11" stroke="currentColor"></path></svg>`},"search-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6.58727 11.8586C9.55061 11.8586 11.9529 9.45637 11.9529 6.49304C11.9529 3.5297 9.55061 1.12744 6.58727 1.12744C3.62394 1.12744 1.22168 3.5297 1.22168 6.49304C1.22168 9.45637 3.62394 11.8586 6.58727 11.8586Z" stroke="currentColor"></path><path d="M10.2991 10.3933L14.7783 14.8725" stroke="currentColor"></path></svg>`},"globe-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M7.99986 14.0887C11.3626 14.0887 14.0886 11.3627 14.0886 7.99998C14.0886 4.63727 11.3626 1.91125 7.99986 1.91125C4.63715 1.91125 1.91113 4.63727 1.91113 7.99998C1.91113 11.3627 4.63715 14.0887 7.99986 14.0887Z" stroke="currentColor"></path><path d="M2.34619 8H13.6538" stroke="currentColor" stroke-linecap="square"></path><path d="M7.99976 14.0889C9.23509 14.0889 10.1743 11.3629 10.1743 8.00006C10.1743 4.63739 9.23509 1.91138 7.99976 1.91138" stroke="currentColor"></path><path d="M7.99973 14.0889C6.76445 14.0889 5.8252 11.3629 5.8252 8.00006C5.8252 4.63739 6.76445 1.91138 7.99973 1.91138" stroke="currentColor"></path></svg>`},"settings-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8 9.75012C8.9665 9.75012 9.75 8.96662 9.75 8.00012C9.75 7.03362 8.9665 6.25012 8 6.25012C7.0335 6.25012 6.25 7.03362 6.25 8.00012C6.25 8.96662 7.0335 9.75012 8 9.75012Z" stroke="currentColor"></path><path d="M13.0107 7.79377C12.9505 7.89401 12.9205 7.94413 12.9205 7.99951C12.9205 8.0549 12.9505 8.10502 13.0106 8.20528L13.9849 9.83006C14.045 9.93029 14.0751 9.9804 14.0751 10.0358C14.0751 10.0911 14.045 10.1413 13.9849 10.2415L13.0037 11.8777C12.9468 11.9726 12.9184 12.0201 12.8725 12.0461C12.8267 12.072 12.7713 12.072 12.6607 12.072H10.6704C10.5598 12.072 10.5045 12.072 10.4586 12.098C10.4128 12.1239 10.3843 12.1714 10.3274 12.2662L9.33825 13.9142C9.28133 14.009 9.25287 14.0564 9.20703 14.0823C9.16118 14.1083 9.10588 14.1083 8.99529 14.1083H7.00486C6.89426 14.1083 6.83896 14.1083 6.79312 14.0823C6.74727 14.0564 6.71881 14.009 6.6619 13.9142L5.67273 12.2662C5.61581 12.1714 5.58735 12.1239 5.54151 12.098C5.49566 12.072 5.44036 12.072 5.32977 12.072H3.33945C3.2288 12.072 3.17347 12.072 3.12761 12.0461C3.08176 12.0201 3.0533 11.9726 2.9964 11.8777L2.0152 10.2415C1.9551 10.1413 1.92505 10.0911 1.92505 10.0358C1.92505 9.9804 1.9551 9.93029 2.0152 9.83006L2.98951 8.20528C3.04963 8.10502 3.07969 8.0549 3.07969 7.99951C3.07968 7.94413 3.04961 7.89401 2.98946 7.79377L2.01529 6.17011C1.95514 6.06987 1.92507 6.01975 1.92507 5.96437C1.92506 5.90899 1.95512 5.85886 2.01524 5.7586L2.9964 4.1224C3.0533 4.0275 3.08176 3.98005 3.12761 3.95408C3.17347 3.92811 3.2288 3.92811 3.33945 3.92811H5.32977C5.44036 3.92811 5.49566 3.92811 5.54151 3.90216C5.58735 3.87621 5.61581 3.82879 5.67273 3.73397L6.6619 2.08599C6.71881 1.99116 6.74727 1.94375 6.79312 1.9178C6.83896 1.89185 6.89426 1.89185 7.00486 1.89185H8.99529C9.10588 1.89185 9.16118 1.89185 9.20703 1.9178C9.25287 1.94375 9.28133 1.99116 9.33825 2.08599L10.3274 3.73397C10.3843 3.82879 10.4128 3.87621 10.4586 3.90216C10.5045 3.92811 10.5598 3.92811 10.6704 3.92811H12.6607C12.7713 3.92811 12.8267 3.92811 12.8725 3.95408C12.9184 3.98005 12.9468 4.0275 13.0037 4.1224L13.9849 5.7586C14.045 5.85886 14.0751 5.90899 14.0751 5.96437C14.0751 6.01975 14.045 6.06987 13.9849 6.17011L13.0107 7.79377Z" stroke="currentColor" stroke-miterlimit="10"></path></svg>`},"panel-left-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M13.5 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13.5C1.5 14.0523 1.94772 14.5 2.5 14.5H13.5C14.0523 14.5 14.5 14.0523 14.5 13.5V2.5C14.5 1.94772 14.0523 1.5 13.5 1.5Z" stroke="currentColor"></path><path d="M5.5 1.5V14.5" stroke="currentColor"></path></svg>`},"ellipsis-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M3 9C3.55228 9 4 8.55228 4 8C4 7.44772 3.55228 7 3 7C2.44772 7 2 7.44772 2 8C2 8.55228 2.44772 9 3 9Z" fill="currentColor"></path><path d="M8 9C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9Z" fill="currentColor"></path><path d="M13 9C13.5523 9 14 8.55228 14 8C14 7.44772 13.5523 7 13 7C12.4477 7 12 7.44772 12 8C12 8.55228 12.4477 9 13 9Z" fill="currentColor"></path></svg>`},"plus-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8 2V14" stroke="currentColor"></path><path d="M2 8H14" stroke="currentColor"></path></svg>`},"check-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.25 8.5L5.49732 11.7473C5.90519 12.1552 6.57263 12.1344 6.95426 11.7018L13.75 4" stroke="currentColor"></path></svg>`},"branch-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M1.01503 8.0001L5.6964 8.0001C6.41913 8.0001 6.78049 8.0001 7.12115 7.91951C7.4232 7.84804 7.71233 7.73014 7.97821 7.57C8.27809 7.38939 8.5364 7.13669 9.05303 6.63129L11.3281 4.40564" stroke="currentColor"></path><path d="M1.01221 7.9999L5.6964 7.9999C6.41913 7.9999 6.78049 7.9999 7.12115 8.08049C7.4232 8.15196 7.71233 8.26986 7.97821 8.43C8.27809 8.61061 8.5364 8.86331 9.05303 9.36871L11.3281 11.5944" stroke="currentColor"></path><circle cx="12.4502" cy="3.3079" r="1.56962" stroke="currentColor"></circle><circle cx="12.4502" cy="12.6921" r="1.56962" stroke="currentColor"></circle></svg>`},"chevron-down-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M4 6L7.29289 9.29289C7.68342 9.68342 8.31658 9.68342 8.70711 9.29289L12 6" stroke="currentColor"></path></svg>`},"chevron-left-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M10 4L6.70711 7.29289C6.31658 7.68342 6.31658 8.31658 6.70711 8.70711L10 12" stroke="currentColor"></path></svg>`},"chevron-right-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6 12L9.29289 8.70711C9.68342 8.31658 9.68342 7.68342 9.29289 7.29289L6 4" stroke="currentColor"></path></svg>`},"triangle-right-fill":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M5.5 4.5C5.5 4.40714 5.52586 4.31612 5.57467 4.23713C5.62349 4.15815 5.69334 4.09431 5.77639 4.05279C5.85945 4.01126 5.95242 3.99368 6.0449 4.00202C6.13738 4.01036 6.22572 4.04429 6.3 4.1L10.967 7.6C11.0291 7.64657 11.0795 7.70697 11.1142 7.77639C11.1489 7.84582 11.167 7.92238 11.167 8C11.167 8.07762 11.1489 8.15418 11.1142 8.22361C11.0795 8.29303 11.0291 8.35343 10.967 8.4L6.3 11.9C6.22572 11.9557 6.13738 11.9896 6.0449 11.998C5.95242 12.0063 5.85945 11.9887 5.77639 11.9472C5.69334 11.9057 5.62349 11.8419 5.57467 11.7629C5.52586 11.6839 5.5 11.5929 5.5 11.5V4.5Z" fill="currentColor"></path></svg>`},"chevron-up-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M12 10L8.70711 6.70711C8.31658 6.31658 7.68342 6.31658 7.29289 6.70711L4 10" stroke="currentColor"></path></svg>`},"close-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.5 2.5L13.5 13.5" stroke="currentColor"></path><path d="M13.5 2.5L2.5 13.5" stroke="currentColor"></path></svg>`},"close-fill":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M3.5 3.5L12.5 12.5" stroke="currentColor"></path><path d="M12.5 3.5L3.5 12.5" stroke="currentColor"></path></svg>`},"close-circle-fill":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 8A7 7 0 1 1 1 8A7 7 0 1 1 15 8ZM6.409 10.652L5.348 9.591L6.939 8L5.348 6.409L6.409 5.348L8 6.939L9.591 5.348L10.652 6.409L9.061 8L10.652 9.591L9.591 10.652L8 9.061Z" fill="currentColor"></path></svg>`},"copy-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><rect x="1.52075" y="4.07373" width="10.3932" height="10.3932" rx="2" stroke="currentColor"></rect><path d="M11.9792 1.53296C13.36 1.53296 14.4792 2.65225 14.4792 4.03296V9.42847C14.4792 10.3756 13.9521 11.1987 13.1755 11.6228V10.3298C13.3652 10.0787 13.4792 9.7674 13.4792 9.42847V4.03296C13.4792 3.20453 12.8077 2.53296 11.9792 2.53296H6.58374C6.27966 2.53301 5.99684 2.6235 5.7605 2.77905H4.42358C4.85652 2.03463 5.66056 1.53304 6.58374 1.53296H11.9792Z" fill="currentColor"></path></svg>`},"refresh-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M14.5001 8C14.5 9.28552 14.1188 10.5422 13.4045 11.611C12.6903 12.6799 11.6752 13.5129 10.4875 14.0049C9.29982 14.4968 7.99295 14.6255 6.73212 14.3747C5.4713 14.124 4.31314 13.505 3.4041 12.596C2.49514 11.687 1.87614 10.5288 1.62537 9.26798C1.37459 8.00716 1.50331 6.70028 1.99525 5.51261C2.48719 4.32494 3.32025 3.30981 4.3891 2.59557C5.45795 1.88134 6.71458 1.50008 8.0001 1.5C9.9001 1.5 11.7001 2.3 13.0001 3.6L14.5001 5.1" stroke="currentColor"></path><path d="M14.4999 1.5V5.1H10.8999" stroke="currentColor"></path></svg>`},"like-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M13.537 8.12098L12.3983 12.8455C12.1818 13.7438 11.378 14.3769 10.454 14.3769L9.35595 14.3769H7.43799H5.16577C3.50892 14.3769 2.16577 13.0337 2.16577 11.3769V7.88668C2.16577 7.33439 2.61349 6.88668 3.16577 6.88668H4.02665C5.84943 6.88668 7.38083 3.28711 7.67689 2.54578C7.71259 2.45639 7.73501 2.36373 7.77922 2.27824C7.86506 2.11221 8.08228 1.87578 8.59039 2.07775C10.3291 2.76886 9.23144 6.04071 8.96955 6.75058C8.94502 6.81707 8.99495 6.88668 9.06581 6.88668H12.5648C13.2119 6.88668 13.6886 7.49192 13.537 8.12098Z" stroke="currentColor"></path></svg>`},"like-fill":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M13.537 8.12098L12.3983 12.8455C12.1818 13.7438 11.378 14.3769 10.454 14.3769L9.35595 14.3769H7.43799H5.16577C3.50892 14.3769 2.16577 13.0337 2.16577 11.3769V7.88668C2.16577 7.33439 2.61349 6.88668 3.16577 6.88668H4.02665C5.84943 6.88668 7.38083 3.28711 7.67689 2.54578C7.71259 2.45639 7.73501 2.36373 7.77922 2.27824C7.86506 2.11221 8.08228 1.87578 8.59039 2.07775C10.3291 2.76886 9.23144 6.04071 8.96955 6.75058C8.94502 6.81707 8.99495 6.88668 9.06581 6.88668H12.5648C13.2119 6.88668 13.6886 7.49192 13.537 8.12098Z" fill="currentColor" stroke="currentColor"></path></svg>`},"dislike-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.46302 8.06749L3.60171 3.34299C3.81822 2.44467 4.62196 1.81162 5.546 1.8116L6.64406 1.81158L8.56202 1.81158L10.8342 1.81158C12.4911 1.81158 13.8342 3.15473 13.8342 4.81158L13.8342 8.3018C13.8342 8.85408 13.3865 9.3018 12.8342 9.3018L11.9734 9.3018C10.1506 9.3018 8.61918 12.9014 8.32311 13.6427C8.28741 13.7321 8.26499 13.8247 8.22078 13.9102C8.13494 14.0763 7.91772 14.3127 7.40961 14.1107C5.67089 13.4196 6.76856 10.1478 7.03045 9.43789C7.05498 9.37141 7.00505 9.3018 6.93419 9.3018L3.43519 9.3018C2.78811 9.3018 2.31141 8.69656 2.46302 8.06749Z" stroke="currentColor"></path></svg>`},"dislike-fill":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.46302 8.06749L3.60171 3.34299C3.81822 2.44467 4.62196 1.81162 5.546 1.8116L6.64406 1.81158L8.56202 1.81158L10.8342 1.81158C12.4911 1.81158 13.8342 3.15473 13.8342 4.81158L13.8342 8.3018C13.8342 8.85408 13.3865 9.3018 12.8342 9.3018L11.9734 9.3018C10.1506 9.3018 8.61918 12.9014 8.32311 13.6427C8.28741 13.7321 8.26499 13.8247 8.22078 13.9102C8.13494 14.0763 7.91772 14.3127 7.40961 14.1107C5.67089 13.4196 6.76856 10.1478 7.03045 9.43789C7.05498 9.37141 7.00505 9.3018 6.93419 9.3018L3.43519 9.3018C2.78811 9.3018 2.31141 8.69656 2.46302 8.06749Z" fill="currentColor" stroke="currentColor"></path></svg>`},"share-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M14.1256 7.58723C14.3483 7.81942 14.3482 8.18589 14.1254 8.41799L8.6646 14.1077C8.53985 14.2377 8.32031 14.1494 8.32031 13.9692L8.32035 10.2039C8.32035 10.1943 8.31534 10.1864 8.30592 10.1849C8.08306 10.148 5.30067 9.7729 1.50993 13.2904C1.49711 13.3023 1.47561 13.2943 1.4757 13.2768C1.49273 9.87168 3.42001 5.07166 8.29999 5.05835C8.31103 5.05832 8.32035 5.04937 8.32035 5.03832L8.32031 2.03109C8.32031 1.85088 8.53993 1.76259 8.66466 1.89266L14.1256 7.58723Z" stroke="currentColor"></path></svg>`},"deliver-doc":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6.15479 4.91687H9.84543" stroke="currentColor"></path><path d="M11.8798 9.55347V2.71525C11.8798 2.37416 11.564 2.09766 11.1744 2.09766H4.82577C4.43618 2.09766 4.12036 2.37416 4.12036 2.71525V9.55347" stroke="currentColor"></path><path d="M2.28735 13.8022V8.84792C2.28735 8.77514 2.36262 8.72673 2.42884 8.75693L13.2936 13.7112C13.3914 13.7558 13.3596 13.9022 13.2521 13.9022H2.38735C2.33213 13.9022 2.28735 13.8575 2.28735 13.8022Z" stroke="currentColor"></path><path d="M7.46929 10.979L13.5783 8.7416C13.6435 8.7177 13.7126 8.76601 13.7126 8.83551L13.7125 13.8022C13.7125 13.8574 13.6678 13.9022 13.6125 13.9022H7.99999" stroke="currentColor"></path><path d="M6.15479 7.2395H9.05644" stroke="currentColor"></path></svg>`},"edit-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8.85596 2.69971H4.19971C3.37141 2.69971 2.69992 3.37146 2.69971 4.19971V11.8003C2.69992 12.6285 3.37141 13.3003 4.19971 13.3003H11.8003C12.6283 13.2999 13.3001 12.6283 13.3003 11.8003V7.89893H14.3003V11.8003C14.3001 13.1806 13.1806 14.2999 11.8003 14.3003H4.19971C2.81913 14.3003 1.69992 13.1808 1.69971 11.8003V4.19971C1.69992 2.81918 2.81913 1.69971 4.19971 1.69971H8.85596V2.69971Z" fill="currentColor"></path><path d="M7.7849 8.23878L13.888 2.13574" stroke="currentColor"></path></svg>`},"think-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M10.2854 5.71481C12.9673 8.39663 14.1182 11.5938 12.8562 12.8559C11.5942 14.1179 8.39706 12.9669 5.71518 10.2851C3.03333 7.60323 1.88236 4.40608 3.14441 3.14403C4.40644 1.882 7.6036 3.03297 10.2854 5.71481Z" stroke="currentColor"></path><path d="M10.2854 10.2851C7.6036 12.9669 4.40644 14.1179 3.14441 12.8559C1.88236 11.5938 3.03333 8.39663 5.71518 5.71481C8.39706 3.03297 11.5942 1.882 12.8562 3.14403C14.1182 4.40608 12.9673 7.60323 10.2854 10.2851Z" stroke="currentColor"></path><path d="M8.86291 8.0002C8.86291 8.47549 8.47762 8.86087 8.00224 8.86087C7.52694 8.86087 7.1416 8.47549 7.1416 8.0002C7.1416 7.52485 7.52694 7.13953 8.00224 7.13953C8.47762 7.13953 8.86291 7.52485 8.86291 8.0002Z" fill="currentColor"></path></svg>`},"agent-preset-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6.51867 12.3282C7.29816 12.6011 8.16475 12.6514 9.02269 12.4216C9.57879 12.2726 10.0784 12.0185 10.5087 11.6888C10.7819 12.0555 11.1606 12.3304 11.5913 12.4805C10.9688 13.029 10.2149 13.4478 9.35911 13.6771C8.13946 14.0038 6.90632 13.8971 5.82126 13.4533C6.15821 13.1562 6.4021 12.7652 6.51867 12.3282ZM9.17629 2.89409C11.1101 3.34433 12.739 4.81872 13.2889 6.87043C13.4219 7.3665 13.4811 7.8649 13.4774 8.35466C13.0924 8.13213 12.6422 8.01837 12.1741 8.05276L12.1711 8.05257C12.1539 7.77199 12.109 7.48889 12.0334 7.20684C11.6363 5.72533 10.5048 4.6372 9.13549 4.22844C9.25559 3.87667 9.29214 3.49087 9.22309 3.09892C9.2108 3.02922 9.19451 2.96108 9.17629 2.89409ZM4.7311 3.89107L4.78302 4.11879C4.87648 4.4488 5.04146 4.74263 5.25579 4.98896C3.98078 6.01355 3.35848 7.72904 3.8089 9.41059C3.81828 9.44559 3.82866 9.48025 3.83885 9.51479C3.38217 9.61268 2.98548 9.84137 2.68107 10.1556C2.63414 10.022 2.5897 9.88632 2.55244 9.74726C1.93301 7.43489 2.86717 5.07173 4.71504 3.76697L4.7311 3.89107Z" fill="currentColor"></path><path d="M7.99136 5.28105C8.87501 5.28105 9.59136 4.56471 9.59136 3.68105C9.59136 2.7974 8.87501 2.08105 7.99136 2.08105C7.1077 2.08105 6.39136 2.7974 6.39136 3.68105C6.39136 4.56471 7.1077 5.28105 7.99136 5.28105Z" stroke="currentColor"></path><path d="M3.94009 12.9417C4.82374 12.9417 5.54009 12.2254 5.54009 11.3417C5.54009 10.458 4.82374 9.7417 3.94009 9.7417C3.05643 9.7417 2.34009 10.458 2.34009 11.3417C2.34009 12.2254 3.05643 12.9417 3.94009 12.9417Z" stroke="currentColor"></path><path d="M12.0851 12.9417C12.9688 12.9417 13.6851 12.2254 13.6851 11.3417C13.6851 10.458 12.9688 9.7417 12.0851 9.7417C11.2015 9.7417 10.4851 10.458 10.4851 11.3417C10.4851 12.2254 11.2015 12.9417 12.0851 12.9417Z" stroke="currentColor"></path></svg>`},"browse-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M4.9375 5.90295H11.0625" stroke="currentColor"></path><path d="M4.9375 9.02991H8.27841" stroke="currentColor"></path><path d="M12.5 1.32617C13.3039 1.32617 14 1.95171 14 2.77637V13.2246C13.9996 14.0489 13.3036 14.6738 12.5 14.6738H3.5C2.69637 14.6738 2.00042 14.0489 2 13.2246V2.77637C2 1.95171 2.69613 1.32617 3.5 1.32617H12.5ZM3.5 2.32617C3.1993 2.32617 3 2.55186 3 2.77637V13.2246C3.00044 13.4489 3.19963 13.6738 3.5 13.6738H12.5C12.8004 13.6738 12.9996 13.4489 13 13.2246V2.77637C13 2.55186 12.8007 2.32617 12.5 2.32617H3.5Z" fill="currentColor"></path></svg>`},"context-injection-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M5 2.5H3.5C3.23478 2.5 2.98043 2.60536 2.79289 2.79289C2.60536 2.98043 2.5 3.23478 2.5 3.5V13.5C2.5 13.7652 2.60536 14.0196 2.79289 14.2071C2.98043 14.3946 3.23478 14.5 3.5 14.5H12.5C12.7652 14.5 13.0196 14.3946 13.2071 14.2071C13.3946 14.0196 13.5 13.7652 13.5 13.5V3.5C13.5 3.23478 13.3946 2.98043 13.2071 2.79289C13.0196 2.60536 12.7652 2.5 12.5 2.5H11" stroke="currentColor"></path><path d="M8 0.5V7.5" stroke="currentColor"></path><path d="M5.5 5L8 7.5L10.5 5" stroke="currentColor"></path><path d="M5.5 11H10.5" stroke="currentColor"></path></svg>`},"link-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6.59961 9.40051C6.82779 9.6334 7.10015 9.81842 7.40074 9.94472C7.70132 10.071 8.02409 10.1361 8.35013 10.1361C8.67618 10.1361 8.99894 10.071 9.29953 9.94472C9.60011 9.81842 9.87247 9.6334 10.1007 9.40051L12.9015 6.59967C13.3658 6.13541 13.6266 5.50572 13.6266 4.84915C13.6266 4.19258 13.3658 3.56289 12.9015 3.09863C12.4372 2.63436 11.8075 2.37354 11.151 2.37354C10.4944 2.37354 9.86472 2.63436 9.40045 3.09863L9.05034 3.44873" stroke="currentColor"></path><path d="M9.40051 6.59959C9.17233 6.3667 8.89997 6.18169 8.59939 6.05538C8.2988 5.92907 7.97603 5.86401 7.64999 5.86401C7.32395 5.86401 7.00118 5.92907 6.70059 6.05538C6.40001 6.18169 6.12765 6.3667 5.89946 6.59959L3.09863 9.40043C2.63436 9.8647 2.37354 10.4944 2.37354 11.151C2.37354 11.8075 2.63436 12.4372 3.09863 12.9015C3.56289 13.3657 4.19258 13.6266 4.84915 13.6266C5.50572 13.6266 6.13541 13.3657 6.59967 12.9015L6.94978 12.5514" stroke="currentColor"></path></svg>`},"right-up-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M11.7256 2.77441C12.5538 2.77469 13.2256 3.44616 13.2256 4.27441V10.1416H12.2256V4.27441C12.2256 3.99844 12.0015 3.77469 11.7256 3.77441H5.7207V2.77441H11.7256Z" fill="currentColor"></path><path d="M2.77441 13.2255L12.3756 3.62427" stroke="currentColor"></path></svg>`},"enhance-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M1.98486 2.95374H14.0151" stroke="currentColor"></path><path d="M1.98486 6.31787H14.0151" stroke="currentColor"></path><path d="M1.98486 9.68213H14.0151" stroke="currentColor"></path><path d="M1.98486 13.0463H8.4627" stroke="currentColor"></path></svg>`},"trash-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M1.28149 3.88831H14.7187" stroke="currentColor"></path><path d="M5.41602 3.88833V2.47962C5.41602 2.29282 5.52492 2.11366 5.71876 1.98157C5.9126 1.84948 6.17551 1.77527 6.44964 1.77527H9.55053C9.82466 1.77527 10.0876 1.84948 10.2814 1.98157C10.4753 2.11366 10.5842 2.29282 10.5842 2.47962V3.88833" stroke="currentColor"></path><path d="M2.57349 3.88831L3.19366 13.2943C3.21937 13.5502 3.33952 13.7872 3.53065 13.9593C3.72178 14.1313 3.97016 14.2259 4.22729 14.2246H11.7728C12.0299 14.2259 12.2783 14.1313 12.4694 13.9593C12.6605 13.7872 12.7807 13.5502 12.8064 13.2943L13.4266 3.88831" stroke="currentColor"></path><path d="M6.44946 6.98926V11.1238" stroke="currentColor"></path><path d="M9.55054 6.98926V11.1238" stroke="currentColor"></path></svg>`},"warning-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z" stroke="currentColor"></path><path d="M8 4.29199V9.79199" stroke="currentColor"></path><path d="M8 10.708V11.708" stroke="currentColor"></path></svg>`},"check-circle-fill":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" fill="none" stroke-width="${e}"><path d="M28.1936 14.6936L19.8066 23.0806C19.2373 23.65 18.7159 24.1742 18.24 24.5571C17.7389 24.9602 17.1365 25.3359 16.3657 25.458C15.9581 25.5225 15.5428 25.5225 15.1353 25.458C14.3645 25.3359 13.7621 24.9602 13.261 24.5571C12.7851 24.1742 12.2637 23.65 11.6943 23.0806L7.80737 19.1936L10.1936 16.8074L14.0806 20.6943C14.7033 21.317 15.0763 21.6873 15.377 21.9292C15.6523 22.1507 15.7109 22.1325 15.6626 22.1248C15.7208 22.1339 15.7802 22.1339 15.8384 22.1248C15.7901 22.1325 15.8486 22.1507 16.124 21.9292C16.4247 21.6873 16.7977 21.317 17.4204 20.6943L25.8074 12.3074L28.1936 14.6936Z" fill="currentColor"></path><path d="M32.8496 18.0005C32.8496 9.79906 26.2019 3.15137 18.0005 3.15137C9.79906 3.15137 3.15137 9.79906 3.15137 18.0005C3.15137 26.2019 9.79906 32.8496 18.0005 32.8496C26.2019 32.8496 32.8496 26.2019 32.8496 18.0005ZM35.7764 18.0005C35.7764 27.8173 27.8173 35.7764 18.0005 35.7764C8.18363 35.7764 0.224609 27.8173 0.224609 18.0005C0.224609 8.18363 8.18363 0.224609 18.0005 0.224609C27.8173 0.224609 35.7764 8.18363 35.7764 18.0005Z" fill="currentColor"></path></svg>`},"warning-triangle-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="${e}"><path d="M6.87 2.6a1.33 1.33 0 0 1 2.26 0l5.34 9.33A1.33 1.33 0 0 1 13.33 14H2.67a1.33 1.33 0 0 1-1.14-2.07Z" stroke="currentColor"></path><path d="M8 6v3m0 2.33h.01" stroke="currentColor"></path></svg>`},"user-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8 8.25C9.51878 8.25 10.75 7.01878 10.75 5.5C10.75 3.98122 9.51878 2.75 8 2.75C6.48122 2.75 5.25 3.98122 5.25 5.5C5.25 7.01878 6.48122 8.25 8 8.25Z" stroke="currentColor"></path><path d="M2.5 14.5C2.5 11.5 5.25 10.25 8 10.25C10.75 10.25 13.5 11.5 13.5 14.5" stroke="currentColor"></path></svg>`},"users-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6 8.25C7.51878 8.25 8.75 7.01878 8.75 5.5C8.75 3.98122 7.51878 2.75 6 2.75C4.48122 2.75 3.25 3.98122 3.25 5.5C3.25 7.01878 4.48122 8.25 6 8.25Z" stroke="currentColor"></path><path d="M1 14.5C1 11.5 3.5 10.25 6 10.25C8.5 10.25 11 11.5 11 14.5" stroke="currentColor"></path><path d="M10.5 2.9C11.65 3.35 12.45 4.35 12.45 5.5C12.45 6.65 11.65 7.65 10.5 8.1" stroke="currentColor"></path><path d="M12.4 10.6C13.9 11.3 15 12.6 15 14.5" stroke="currentColor"></path></svg>`},"paper-plane-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M4.74024 9.11029L1.82882 7.79865C1.75022 7.76323 1.75026 7.65161 1.82889 7.61626L12.9665 2.60943C13.0354 2.57846 13.1125 2.63213 13.1073 2.70749L12.3914 13.1388C12.3864 13.2117 12.3073 13.2548 12.2433 13.2194L6.12677 9.83657" stroke="currentColor"></path><path d="M8.44336 11.0825L6.2832 13.2843C6.22048 13.3482 6.11182 13.3038 6.11182 13.2143V9.86772C6.11182 9.84165 6.122 9.8166 6.1402 9.79793L12.972 2.78748" stroke="currentColor"></path></svg>`},"stop-fill":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M12.5 2.5H3.5C2.94772 2.5 2.5 2.94772 2.5 3.5V12.5C2.5 13.0523 2.94772 13.5 3.5 13.5H12.5C13.0523 13.5 13.5 13.0523 13.5 12.5V3.5C13.5 2.94772 13.0523 2.5 12.5 2.5Z" fill="currentColor"></path></svg>`},"paperclip-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M12.75 4.5V9.5C12.75 10.7598 12.2496 11.968 11.3588 12.8588C10.468 13.7496 9.25978 14.25 8 14.25C6.74022 14.25 5.53204 13.7496 4.64124 12.8588C3.75045 11.968 3.25 10.7598 3.25 9.5V5C3.25 4.13805 3.59241 3.3114 4.2019 2.7019C4.8114 2.09241 5.63805 1.75 6.5 1.75C7.36195 1.75 8.1886 2.09241 8.7981 2.7019C9.40759 3.3114 9.75 4.13805 9.75 5V9.5C9.75 9.96413 9.56563 10.4092 9.23744 10.7374C8.90925 11.0656 8.46413 11.25 8 11.25C7.53587 11.25 7.09075 11.0656 6.76256 10.7374C6.43437 10.4092 6.25 9.96413 6.25 9.5V5.5" stroke="currentColor"></path></svg>`},"loading-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M12.596 12.596C11.687 13.5049 10.5288 14.1239 9.26798 14.3747C8.00716 14.6255 6.70028 14.4968 5.51261 14.0048C4.32494 13.5129 3.30981 12.6798 2.59557 11.611C1.88134 10.5421 1.50008 9.2855 1.5 7.99998C1.50008 6.71446 1.88134 5.45783 2.59557 4.38898C3.30981 3.32013 4.32494 2.48707 5.51261 1.99513C6.70028 1.50319 8.00716 1.37447 9.26798 1.62524C10.5288 1.87602 11.687 2.49502 12.596 3.40398" stroke="currentColor"></path></svg>`},"download-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8 1.95317V10.0469" stroke="currentColor"></path><path d="M4.25 6.29688L8 10.0469L11.75 6.29688" stroke="currentColor"></path><path d="M1.5 10.0469V13.158C1.5 13.3937 1.60536 13.6198 1.79289 13.7865C1.98043 13.9532 2.23478 14.0469 2.5 14.0469H13.5C13.7652 14.0469 14.0196 13.9532 14.2071 13.7865C14.3946 13.6198 14.5 13.3937 14.5 13.158V10.0469" stroke="currentColor"></path></svg>`},"play-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z" stroke="currentColor"></path><path d="M10.3329 7.91346C10.3996 7.95195 10.3996 8.04818 10.3329 8.08667L6.78304 10.1362C6.71638 10.1747 6.63304 10.1266 6.63304 10.0496L6.63304 5.95055C6.63304 5.87357 6.71638 5.82546 6.78304 5.86395L10.3329 7.91346Z" stroke="currentColor"></path></svg>`},"pause-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z" stroke="currentColor"></path><path d="M6.5 5V11" stroke="currentColor"></path><path d="M9.5 5V11" stroke="currentColor"></path></svg>`},"fullscreen-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.33154 9.40576V13.1685C2.3318 13.4444 2.55556 13.6685 2.83154 13.6685H6.49463V14.6685H2.83154C2.00328 14.6685 1.3318 13.9967 1.33154 13.1685V9.40576H2.33154ZM13.1685 1.33154C13.9964 1.33199 14.6683 2.00352 14.6685 2.83154V6.40576H13.6685V2.83154C13.6683 2.5558 13.4441 2.33199 13.1685 2.33154H9.49463V1.33154H13.1685Z" fill="currentColor"></path><path d="M9.4292 6.57077L13.914 2.08594" stroke="currentColor"></path><path d="M6.57077 9.4292L2.08594 13.914" stroke="currentColor"></path></svg>`},"code-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6.27612 1.5L4.52612 14.5" stroke="currentColor"></path><path d="M11.4739 1.5L9.72388 14.5" stroke="currentColor"></path><path d="M2.39868 5.5H14.0681" stroke="currentColor"></path><path d="M1.93188 10.5H13.6013" stroke="currentColor"></path></svg>`},"cordis-plugin-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M3.16143 6.59068L1.75205 8.00006L3.10619 9.35419L2.39908 10.0613L0.832948 8.49517C0.559581 8.2218 0.559582 7.77831 0.832948 7.50494L2.45432 5.88357L3.16143 6.59068ZM8.49511 15.1671C8.22176 15.4405 7.77826 15.4404 7.50489 15.1671L5.93461 13.5968L6.64172 12.8897L8 14.248L9.40938 12.8386L10.1165 13.5457L8.49511 15.1671ZM15.1671 7.50494C15.4403 7.7782 15.4401 8.22179 15.1671 8.49517L13.652 10.0102L12.9449 9.30309L14.248 8.00006L12.8897 6.64178L13.5968 5.93467L15.1671 7.50494ZM9.35414 3.10624L8 1.7521L6.69696 3.05514L5.98986 2.34803L7.50489 0.833003C7.77828 0.559981 8.22186 0.559752 8.49511 0.833003L10.0612 2.39913L9.35414 3.10624Z" fill="currentColor"></path><circle cx="8" cy="8" r="1.76221" stroke="currentColor"></circle></svg>`},"api-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M3 4L7 8L3 12" stroke="currentColor"></path><path d="M9 12H13" stroke="currentColor"></path></svg>`},"personalization-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M3.25 7.16357C3.20417 7.32247 3.17778 7.48993 3.17773 7.66357C3.17773 7.83698 3.20336 8.00486 3.24902 8.16357H1.85742V7.16357H3.25ZM14.1426 8.16357H6.71484C6.76052 8.00485 6.78613 7.837 6.78613 7.66357C6.78609 7.48991 6.75971 7.32249 6.71387 7.16357H14.1426V8.16357Z" fill="currentColor"></path><path d="M9.1377 11.9092C9.08596 12.0666 9.05668 12.2344 9.05664 12.4092C9.05664 12.5838 9.08606 12.7518 9.1377 12.9092H1.85742V11.9092H9.1377ZM14.1426 12.9092H12.1816C12.2332 12.7519 12.2617 12.5838 12.2617 12.4092C12.2617 12.2345 12.2333 12.0666 12.1816 11.9092H14.1426V12.9092Z" fill="currentColor"></path><path d="M9.1123 3.09106C9.06138 3.24865 9.03324 3.41653 9.0332 3.59106C9.0332 3.76549 9.06148 3.93355 9.1123 4.09106H1.85742V3.09106H9.1123ZM14.1426 4.09106H12.207C12.2578 3.93358 12.2861 3.76545 12.2861 3.59106C12.2861 3.41657 12.2579 3.24862 12.207 3.09106H14.1426V4.09106Z" fill="currentColor"></path><circle cx="4.97065" cy="7.66401" r="1.35151" stroke="currentColor"></circle><circle cx="10.6596" cy="12.4091" r="1.35151" stroke="currentColor"></circle><circle cx="10.6596" cy="3.59101" r="1.35151" stroke="currentColor"></circle></svg>`},"project-add-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M5.54492 2.06738C5.91034 2.06754 6.26318 2.20149 6.53711 2.44336L7.94043 3.68164V4.7998C7.71462 4.74105 7.50367 4.63139 7.32617 4.47461L5.87598 3.19238C5.78477 3.11185 5.66658 3.06754 5.54492 3.06738H2.94922C2.67322 3.06738 2.44946 3.29145 2.44922 3.56738V12.4326C2.44927 12.7087 2.67311 12.9326 2.94922 12.9326H12.9326C13.2086 12.9325 13.4326 12.7086 13.4326 12.4326V8.53613H14.4326V12.4326C14.4326 13.2609 13.7609 13.9325 12.9326 13.9326H2.94922C2.12083 13.9326 1.44927 13.261 1.44922 12.4326V3.56738C1.44946 2.73916 2.12094 2.06738 2.94922 2.06738H5.54492Z" fill="currentColor"></path><path d="M9.75977 4.50208H14.5509" stroke="currentColor"></path><path d="M12.1492 6.89758L12.1492 2.10642" stroke="currentColor"></path></svg>`},"folder-open-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M12.3994 13.5986H2.04956C1.49728 13.5986 1.04956 13.1509 1.04956 12.5986V3.40137C1.04956 2.84908 1.49728 2.40137 2.04956 2.40137H4.76632C5.01016 2.40137 5.24561 2.49046 5.42836 2.6519L6.94088 3.98799C7.12364 4.14943 7.35908 4.23852 7.60293 4.23852H12.3994C12.9517 4.23852 13.3994 4.68624 13.3994 5.23852V7.16991" stroke="currentColor"></path><path d="M2.55911 7.93683C2.67584 7.49906 3.07229 7.19446 3.52536 7.19446H13.6491C14.3061 7.19446 14.7846 7.81725 14.6153 8.45209L13.4411 12.856C13.3244 13.2938 12.9279 13.5984 12.4748 13.5984H2.35113C1.69411 13.5984 1.21562 12.9756 1.38489 12.3407L2.55911 7.93683Z" stroke="currentColor"></path></svg>`},"folder-open":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.55912 7.93683C2.67584 7.49906 3.0723 7.19446 3.52536 7.19446H13.6491C14.3061 7.19446 14.7846 7.81725 14.6153 8.45209L13.4411 12.856C13.3244 13.2938 12.9279 13.5984 12.4748 13.5984H2.35113C1.69411 13.5984 1.21562 12.9756 1.38489 12.3407L2.55912 7.93683Z" fill="currentColor" opacity="0.16"></path><path d="M13.6491 6.69446C14.6346 6.69453 15.3522 7.62895 15.0983 8.58118L13.9245 12.9845C13.7494 13.6412 13.1539 14.0988 12.4743 14.0988H2.35126C1.36574 14.0988 0.648153 13.1643 0.902044 12.212L2.07587 7.80774C2.25102 7.15128 2.84567 6.69455 3.52509 6.69446H13.6491ZM3.52509 7.69446C3.29865 7.69455 3.10004 7.84674 3.04169 8.06555L1.86786 12.4698C1.78345 12.7872 2.02285 13.0988 2.35126 13.0988H12.4743C12.7007 13.0988 12.8992 12.9463 12.9577 12.7277L14.1325 8.32336C14.2171 8.00598 13.9776 7.69453 13.6491 7.69446H3.52509Z" fill="currentColor"></path><path d="M4.7666 1.90137C5.13227 1.90144 5.48571 2.03525 5.75977 2.27734L7.27246 3.61328C7.36379 3.69382 7.48174 3.73828 7.60352 3.73828H12.3994C13.2276 3.73841 13.8993 4.41005 13.8994 5.23828V6.7168C13.8183 6.70327 13.735 6.69436 13.6494 6.69434H12.8994V5.23828C12.8993 4.96233 12.6754 4.73841 12.3994 4.73828H7.60352C7.23781 4.73828 6.88446 4.60438 6.61035 4.3623L5.09766 3.02637C5.00636 2.94576 4.88838 2.90144 4.7666 2.90137H2.0498C1.77366 2.90137 1.5498 3.12523 1.5498 3.40137V9.78223L0.902344 12.2119C0.648452 13.1642 1.36604 14.0986 2.35156 14.0986H2.0498C1.2214 14.0986 0.549838 13.427 0.549805 12.5986V3.40137C0.549805 2.57294 1.22138 1.90137 2.0498 1.90137H4.7666Z" fill="currentColor"></path></svg>`},"folder-close":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M1.50439 3.11059C1.50439 2.55831 1.95211 2.1106 2.50439 2.1106H5.43389C5.67773 2.1106 5.91318 2.19969 6.09593 2.36113L7.71649 3.79265C7.89924 3.95409 8.1347 4.04319 8.3785 4.04319H13.4958C14.0481 4.04319 14.4958 4.4909 14.4958 5.04319V12.8894C14.4958 13.4417 14.0481 13.8894 13.4958 13.8894H2.50439C1.95211 13.8894 1.50439 13.4417 1.50439 12.8894V4.04319V3.11059Z" stroke="currentColor"></path><path d="M3.63501 7.66614H12.3647" stroke="currentColor"></path></svg>`},"tree-corner":{size:10,aspect:[8,10],svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 11" fill="none" stroke-width="${e}"><path d="M0.5 0V7C0.5 7.79565 0.81607 8.55871 1.37868 9.12132C1.94129 9.68393 2.70435 10 3.5 10H8.5" stroke="currentColor"></path></svg>`},"light-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8.00007 11.8117C10.1052 11.8117 11.8117 10.1052 11.8117 8.00007C11.8117 5.89499 10.1052 4.18848 8.00007 4.18848C5.89499 4.18848 4.18848 5.89499 4.18848 8.00007C4.18848 10.1052 5.89499 11.8117 8.00007 11.8117Z" stroke="currentColor"></path><path d="M13.3899 8H15.1499" stroke="currentColor"></path><path d="M11.8115 11.8115L13.0556 13.0556" stroke="currentColor"></path><path d="M8 13.3901V15.1501" stroke="currentColor"></path><path d="M4.18868 11.8115L2.94458 13.0556" stroke="currentColor"></path><path d="M2.6101 8H0.850098" stroke="currentColor"></path><path d="M4.18868 4.18856L2.94458 2.94446" stroke="currentColor"></path><path d="M8 2.6101V0.850098" stroke="currentColor"></path><path d="M11.8115 4.18856L13.0556 2.94446" stroke="currentColor"></path></svg>`},"dark-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M14.1127 8.70663C14.2576 8.60602 14.4627 8.71355 14.4386 8.88834C14.2901 9.96567 13.8731 10.9912 13.2229 11.8692C12.479 12.8735 11.4613 13.6421 10.2917 14.0829C9.1222 14.5236 7.85038 14.6179 6.62865 14.3543C5.40692 14.0907 4.28709 13.4805 3.40332 12.5967C2.51955 11.7129 1.90931 10.5931 1.64572 9.37135C1.38212 8.14962 1.47635 6.87779 1.91711 5.70825C2.35787 4.5387 3.12647 3.52103 4.13083 2.77714C5.00878 2.12689 6.03433 1.70994 7.11166 1.5614C7.28645 1.5373 7.39397 1.74238 7.29337 1.88734C6.68703 2.76099 6.37885 3.81241 6.42313 4.88345C6.47392 6.11194 6.98471 7.27645 7.85413 8.14587C8.72355 9.01529 9.88805 9.52608 11.1166 9.57687C12.1876 9.62114 13.239 9.31296 14.1127 8.70663Z" stroke="currentColor"></path></svg>`},"followsystem-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M13.5 2.5H2.5C1.94772 2.5 1.5 2.94772 1.5 3.5V11.5C1.5 12.0523 1.94772 12.5 2.5 12.5H13.5C14.0523 12.5 14.5 12.0523 14.5 11.5V3.5C14.5 2.94772 14.0523 2.5 13.5 2.5Z" stroke="currentColor"></path><path d="M5 14.5H11" stroke="currentColor"></path></svg>`},"data-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M7.8667 0.349609C8.96906 0.349634 10.0601 0.481272 11.0317 0.735352C11.9973 0.987845 12.8453 1.362 13.4644 1.84766C14.0744 2.32629 14.507 2.95539 14.5161 3.69336H14.5171V8.53516C14.0843 8.32076 13.6108 8.17679 13.1108 8.11816C13.1831 7.96848 13.2162 7.82856 13.2163 7.70312V5.76758C12.6269 6.16618 11.8739 6.47995 11.0317 6.7002C10.0602 6.95423 8.96896 7.08494 7.8667 7.08496C6.76461 7.08493 5.67411 6.95415 4.70264 6.7002C3.85994 6.48006 3.10694 6.1662 2.51709 5.76758V7.70312L2.521 7.78418C2.56374 8.19554 2.93361 8.74414 3.91357 9.23145C4.9281 9.73585 6.35004 10.0371 7.8667 10.0371C8.26373 10.0371 8.6543 10.0141 9.03271 9.97461C8.75596 10.3799 8.54664 10.8349 8.42041 11.3232C8.23666 11.3313 8.0518 11.3369 7.8667 11.3369C6.20108 11.3369 4.57025 11.01 3.33447 10.3955C3.04163 10.2499 2.76658 10.0836 2.51709 9.90039V11.6738C2.51728 12.1379 2.88589 12.7556 3.92236 13.292C4.93457 13.8157 6.35342 14.1289 7.8667 14.1289C8.12318 14.1289 8.37694 14.1161 8.62646 14.0986C8.82021 14.5535 9.08999 14.9682 9.41943 15.3271C8.91285 15.3934 8.39149 15.4287 7.8667 15.4287C6.19761 15.4287 4.56379 15.0869 3.32568 14.4463C2.11244 13.8185 1.21649 12.8562 1.21631 11.6738V3.76367C1.21595 3.74853 1.21438 3.733 1.21436 3.71777C1.21436 2.96917 1.65103 2.33053 2.26807 1.84668C2.88747 1.36112 3.73675 0.987685 4.70264 0.735352C5.67413 0.481376 6.76457 0.349636 7.8667 0.349609ZM7.8667 1.65039C6.86269 1.65042 5.88326 1.77028 5.03076 1.99316C4.17183 2.2176 3.50421 2.52956 3.06982 2.87012C2.65043 3.19909 2.52622 3.48898 2.51709 3.69336V3.74414C2.52719 3.94845 2.65185 4.23772 3.06982 4.56543C3.50425 4.90601 4.17172 5.21795 5.03076 5.44238C5.88326 5.66527 6.8627 5.78513 7.8667 5.78516C8.8707 5.78513 9.85015 5.66525 10.7026 5.44238C11.5611 5.21787 12.2286 4.9049 12.6626 4.56445C13.0982 4.22252 13.2163 3.9231 13.2163 3.71777L13.2104 3.63574C13.1818 3.43623 13.044 3.16941 12.6626 2.87012C12.2286 2.52957 11.5614 2.21773 10.7026 1.99316C9.85009 1.77025 8.8708 1.65041 7.8667 1.65039Z" fill="currentColor"></path><path d="M12.8936 10.0361L13.2061 10.5566C13.2296 10.5959 13.2651 10.6562 13.3027 10.707C13.3469 10.7666 13.4148 10.8431 13.5195 10.9023C13.6244 10.9617 13.725 10.9801 13.7988 10.9873C13.8619 10.9934 13.9318 10.9932 13.9775 10.9932H14.6162L14.8896 11.4502L14.5947 11.9443C14.5698 11.9859 14.5312 12.0483 14.5029 12.1084C14.4781 12.1611 14.4514 12.2312 14.4395 12.3164L14.4326 12.4072L14.4395 12.4971C14.4514 12.5825 14.4781 12.6532 14.5029 12.7061C14.5312 12.7661 14.5689 12.8287 14.5938 12.8701L14.8896 13.3633L14.6162 13.8213H13.9775C13.9318 13.8213 13.8619 13.821 13.7988 13.8271C13.7433 13.8326 13.6728 13.8442 13.5967 13.875L13.5195 13.9121C13.4148 13.9714 13.3469 14.0478 13.3027 14.1074C13.265 14.1583 13.2296 14.2186 13.2061 14.2578L12.8936 14.7783H12.3115L11.999 14.2578C11.9755 14.2186 11.9401 14.1583 11.9023 14.1074C11.8693 14.0628 11.823 14.0083 11.7578 13.959L11.6855 13.9121L11.6074 13.875C11.5316 13.8445 11.4615 13.8325 11.4062 13.8271C11.3432 13.821 11.2733 13.8213 11.2275 13.8213H10.5889L10.3135 13.3633L10.6104 12.8701C10.6352 12.8287 10.6739 12.7661 10.7021 12.7061C10.7352 12.6357 10.7724 12.534 10.7725 12.4072C10.7724 12.2804 10.7352 12.1788 10.7021 12.1084C10.6739 12.0483 10.6353 11.9859 10.6104 11.9443L10.3135 11.4502L10.5889 10.9932H11.2275C11.2733 10.9932 11.3432 10.9934 11.4062 10.9873C11.4801 10.9801 11.5808 10.9616 11.6855 10.9023C11.7903 10.843 11.8582 10.7666 11.9023 10.707C11.94 10.6562 11.9755 10.5959 11.999 10.5566L12.3115 10.0361H12.8936Z" stroke="currentColor" stroke-miterlimit="10"></path></svg>`},"database-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M13.1967 5.1869C13.7232 4.77378 14.0003 4.30517 14.0001 3.82819C14.0003 3.3512 13.7232 2.88259 13.1967 2.46947C12.6702 2.05635 11.9128 1.71328 11.0006 1.47475C10.0885 1.23621 9.05371 1.11062 8.00039 1.1106C6.94707 1.11057 5.9123 1.23612 5.00009 1.47461C4.08742 1.71301 3.32948 2.05604 2.80249 2.46919C2.2755 2.88235 1.99805 3.35106 1.99805 3.82819C1.99805 4.30531 2.2755 4.77402 2.80249 5.18718C3.32948 5.60033 4.08742 5.94336 5.00009 6.18176C5.9123 6.42025 6.94707 6.5458 8.00039 6.54578C9.05371 6.54575 10.0885 6.42016 11.0006 6.18163C11.9128 5.94309 12.6702 5.60002 13.1967 5.1869Z" stroke="currentColor"></path><path d="M2 3.80371V11.7848" stroke="currentColor"></path><path d="M14 3.80371V11.7848" stroke="currentColor"></path><path d="M2 7.81396C2 8.60524 2.63214 9.36411 3.75736 9.92363C4.88258 10.4832 6.4087 10.7975 8 10.7975C9.5913 10.7975 11.1174 10.4832 12.2426 9.92363C13.3679 9.36411 14 8.60524 14 7.81396" stroke="currentColor"></path><path d="M2 11.7847C2 12.6081 2.63214 13.3977 3.75736 13.98C4.88258 14.5622 6.4087 14.8893 8 14.8893C9.5913 14.8893 11.1174 14.5622 12.2426 13.98C13.3679 13.3977 14 12.6081 14 11.7847" stroke="currentColor"></path></svg>`},"clock-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z" stroke="currentColor"></path><path d="M8 4.31V8.46L11 10.08" stroke="currentColor"></path></svg>`},"gauge-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M3.4041 13.096C2.49514 12.187 1.87614 11.0288 1.62537 9.76798C1.37459 8.50716 1.50331 7.20028 1.99525 6.01261C2.48719 4.82494 3.32025 3.80981 4.3891 3.09557C5.45795 2.38134 6.71458 2.00008 8.0001 2C9.28563 2.00008 10.5423 2.38134 11.6111 3.09557C12.68 3.80981 13.513 4.82494 14.005 6.01261C14.4969 7.20028 14.6256 8.50716 14.3748 9.76798C14.1241 11.0288 13.5051 12.187 12.5961 13.096" stroke="currentColor"></path><path d="M8 8.49994L11.6114 4.88855" stroke="currentColor"></path><path d="M8 9.75C8.69036 9.75 9.25 9.19036 9.25 8.5C9.25 7.80964 8.69036 7.25 8 7.25C7.30964 7.25 6.75 7.80964 6.75 8.5C6.75 9.19036 7.30964 9.75 8 9.75Z" fill="currentColor"></path></svg>`},"send-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6.97211 1.94476C7.55785 1.35914 8.50767 1.35919 9.09343 1.94476L13.921 6.77228L13.2138 7.47939L8.38632 2.65187C8.19108 2.45682 7.87443 2.45677 7.67922 2.65187L2.74397 7.58711L2.03687 6.88L6.97211 1.94476Z" fill="currentColor"></path><path d="M7.97571 14.5732L8.02421 2.34139" stroke="currentColor"></path></svg>`},"queue-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M5 6.75H11" stroke="currentColor"></path><path d="M5 9H8" stroke="currentColor"></path><path d="M2.37067 11.2497C1.5872 9.89252 1.32042 8.29798 1.61945 6.7597C1.91847 5.22141 2.76317 3.84293 3.99801 2.87809C5.23285 1.91325 6.7747 1.427 8.33964 1.50888C9.90458 1.59076 11.3873 2.23526 12.5147 3.32369C13.6422 4.41232 14.3384 5.8717 14.4751 7.43304C14.6118 8.99438 14.1797 10.5525 13.2585 11.8205C12.3372 13.0885 10.9889 13.9809 9.4617 14.3334C8.18666 14.6277 6.8587 14.529 5.64964 14.0601C5.17095 13.8745 4.76937 13.4929 4.26509 13.3963C3.67389 13.2832 2.95232 13.5595 2.0377 14.3334" stroke="currentColor"></path></svg>`},"checklist-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M3.75 6.25C4.7165 6.25 5.5 5.4665 5.5 4.5C5.5 3.5335 4.7165 2.75 3.75 2.75C2.7835 2.75 2 3.5335 2 4.5C2 5.4665 2.7835 6.25 3.75 6.25Z" stroke="currentColor"></path><path d="M7.5 4.5H13.5" stroke="currentColor"></path><path d="M3.75 13.25C4.7165 13.25 5.5 12.4665 5.5 11.5C5.5 10.5335 4.7165 9.75 3.75 9.75C2.7835 9.75 2 10.5335 2 11.5C2 12.4665 2.7835 13.25 3.75 13.25Z" stroke="currentColor"></path><path d="M7.5 11.5H13.5" stroke="currentColor"></path></svg>`},"list-pen-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M4.9375 5.90295H11.0625" stroke="currentColor"></path><path d="M4.9375 9.02991H8.27841" stroke="currentColor"></path><path d="M12.5 1.32617C13.3039 1.32617 14 1.95171 14 2.77637V7.61328L13 8.68164V2.77637C13 2.55186 12.8007 2.32617 12.5 2.32617H3.5C3.1993 2.32617 3 2.55186 3 2.77637V13.2246C3.00044 13.4489 3.19963 13.6738 3.5 13.6738H8.32812L7.39258 14.6738H3.5C2.69637 14.6738 2.00042 14.0489 2 13.2246V2.77637C2 1.95171 2.69613 1.32617 3.5 1.32617H12.5Z" fill="currentColor"></path><path d="M8.97212 14.3693C9.17511 14.5723 9.37811 14.7753 9.5811 14.9783C9.67012 14.8953 9.75914 14.8123 9.84815 14.7293C11.4505 13.2352 13.0528 11.7411 14.6551 10.247C14.7441 10.164 14.8331 10.081 14.9221 9.99803C14.5989 9.6748 14.2756 9.35157 13.9524 9.02834C13.8694 9.11736 13.7864 9.20637 13.7034 9.29539C12.2093 10.8977 10.7152 12.5 9.22113 14.1023C9.13813 14.1913 9.05513 14.2803 8.97212 14.3693Z" fill="currentColor"></path><path d="M11.6323 13.7841C11.6323 14.0395 11.6323 14.295 11.6323 14.5504C11.6812 14.5523 11.7301 14.5543 11.779 14.5562C12.659 14.5913 13.539 14.6263 14.419 14.6614C14.4679 14.6633 14.5168 14.6653 14.5657 14.6672C14.5657 14.3339 14.5657 14.0006 14.5657 13.6672C14.5168 13.6692 14.4679 13.6711 14.419 13.6731C13.539 13.7081 12.659 13.7432 11.779 13.7783C11.7301 13.7802 11.6812 13.7821 11.6323 13.7841Z" fill="currentColor"></path></svg>`},"goal-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M14.5001 8C14.5 9.28552 14.1188 10.5422 13.4045 11.611C12.6903 12.6799 11.6752 13.5129 10.4875 14.0049C9.29982 14.4968 7.99295 14.6255 6.73212 14.3747C5.4713 14.124 4.31314 13.505 3.4041 12.596C2.49514 11.687 1.87614 10.5288 1.62537 9.26798C1.37459 8.00716 1.50331 6.70028 1.99525 5.51261C2.48719 4.32494 3.32025 3.30981 4.3891 2.59557C5.45795 1.88134 6.71458 1.50008 8.0001 1.5" stroke="currentColor"></path><path d="M11.5 8C11.5001 8.69227 11.2948 9.36901 10.9102 9.94463C10.5257 10.5202 9.97901 10.9689 9.33944 11.2338C8.69986 11.4987 7.99609 11.5681 7.31712 11.433C6.63816 11.2979 6.01449 10.9645 5.52501 10.475C5.03548 9.98552 4.70209 9.36185 4.56702 8.68289C4.43195 8.00392 4.50127 7.30015 4.76619 6.66057C5.03112 6.021 5.47976 5.47436 6.05538 5.08978C6.631 4.70519 7.30774 4.49995 8.00001 4.5" stroke="currentColor"></path><path d="M8.00024 7.99976L11.2 4.80005" stroke="currentColor"></path><path d="M12.4719 5.62245C12.4246 5.66972 12.3569 5.69025 12.2913 5.67715L10.7814 5.37555C10.7022 5.35972 10.6402 5.29781 10.6244 5.2186L10.3228 3.70866C10.3097 3.6431 10.3302 3.57533 10.3775 3.52806L12.1826 1.723C12.2863 1.61929 12.4627 1.65879 12.5122 1.79684L12.9271 2.95225C12.9472 3.00847 12.9915 3.05272 13.0477 3.07291L14.2031 3.48774C14.3412 3.5373 14.3807 3.71368 14.277 3.81739L12.4719 5.62245Z" stroke="currentColor"></path></svg>`},sparkle:{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M5.875 3C5.875 6.33333 7.54167 8 10.875 8C7.54167 8 5.875 9.66667 5.875 13C5.875 9.66667 4.20833 8 0.875 8C4.20833 8 5.875 6.33333 5.875 3Z" stroke="currentColor"></path><path d="M12.375 1.55823C12.375 3.39156 13.2917 4.30823 15.125 4.30823C13.2917 4.30823 12.375 5.22489 12.375 7.05823C12.375 5.22489 11.4583 4.30823 9.625 4.30823C11.4583 4.30823 12.375 3.39156 12.375 1.55823Z" stroke="currentColor"></path><path d="M12.375 10.4418C12.375 11.7751 13.0417 12.4418 14.375 12.4418C13.0417 12.4418 12.375 13.1084 12.375 14.4418C12.375 13.1084 11.7083 12.4418 10.375 12.4418C11.7083 12.4418 12.375 11.7751 12.375 10.4418Z" stroke="currentColor"></path></svg>`},"inspect-outline":{size:12,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M4.67398 4.25061L1.36094 7.86484C1.29085 7.9413 1.29085 8.05866 1.36094 8.13513L4.67398 11.7494" stroke="currentColor"></path><path d="M11.3262 4.25061L14.6392 7.86484C14.7093 7.9413 14.7093 8.05866 14.6392 8.13513L11.3262 11.7494" stroke="currentColor"></path><path d="M9.56222 3.62573L6.43774 12.3743" stroke="currentColor"></path></svg>`},"skill-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" fill="none" stroke-width="${e}"><path d="M4.57788 5.77124H10.7029" stroke="currentColor"></path><path d="M4.57788 8.89819H7.91879" stroke="currentColor"></path><path d="M12.1404 1.19446C12.9442 1.19446 13.6404 1.81999 13.6404 2.64465V8.89856H12.6404V2.64465C12.6404 2.42015 12.4411 2.19446 12.1404 2.19446H3.14038C2.83968 2.19446 2.64038 2.42015 2.64038 2.64465V13.0929C2.64082 13.3172 2.84001 13.5421 3.14038 13.5421H8.88159V14.5421H3.14038C2.33675 14.5421 1.6408 13.9172 1.64038 13.0929V2.64465C1.64038 1.81999 2.33651 1.19446 3.14038 1.19446H12.1404Z" fill="currentColor"></path><path d="M12.0051 15.1056C12.0051 13.6395 10.8166 12.451 9.35059 12.451C10.8166 12.451 12.0051 11.2626 12.0051 9.79651C12.0051 11.2626 13.1936 12.451 14.6597 12.451C13.1936 12.451 12.0051 13.6395 12.0051 15.1056Z" stroke="currentColor"></path></svg>`},"question-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z" stroke="currentColor"></path><path d="M5.75 6.69646C5.75 6.29865 5.88196 5.90976 6.12919 5.57899C6.37643 5.24821 6.72783 4.99041 7.13896 4.83817C7.5501 4.68593 8.0025 4.6461 8.43895 4.72371C8.87541 4.80132 9.27632 4.99289 9.59099 5.27419C9.90566 5.55549 10.12 5.91388 10.2068 6.30406C10.2936 6.69423 10.249 7.09866 10.0787 7.4662C9.90843 7.83373 9.62004 8.14787 9.25003 8.36889C9.19476 8.4019 9.13803 8.43262 9.08004 8.46099C8.52566 8.73217 8 9.20817 8 9.82532" stroke="currentColor"></path><path d="M8 10.7416V11.7416" stroke="currentColor"></path></svg>`},"info-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" fill="none" stroke-width="${e}"><path d="M12.5757 7.00012C12.5757 3.92085 10.0794 1.42463 7.00012 1.42456C3.9208 1.42456 1.42456 3.9208 1.42456 7.00012C1.42463 10.0794 3.92085 12.5757 7.00012 12.5757C10.0793 12.5756 12.5756 10.0793 12.5757 7.00012ZM13.8002 7.00012C13.8001 10.7559 10.7559 13.8001 7.00012 13.8002C3.2443 13.8002 0.199291 10.7559 0.199219 7.00012C0.199219 3.24426 3.24426 0.199219 7.00012 0.199219C10.7559 0.199291 13.8002 3.2443 13.8002 7.00012Z" fill="currentColor"></path><path d="M7.6127 3.18921V4.55986H6.38735V3.18921H7.6127Z" fill="currentColor"></path><path d="M7.6127 5.68921V10.8109H6.38735V5.68921H7.6127Z" fill="currentColor"></path></svg>`},"plugin-pinwheel-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M7.84457 5.06199C11.6605 4.93876 14.7962 6.14848 14.8484 7.76397C14.8875 8.97461 13.1838 10.0696 10.7215 10.5942" stroke="currentColor"></path><path d="M5.12742 8.07731C5.00419 4.26138 6.21391 1.12568 7.8294 1.07351C9.04004 1.03441 10.135 2.73808 10.6596 5.20037" stroke="currentColor"></path><path d="M8.02457 10.6802C4.20865 10.8034 1.07294 9.5937 1.02077 7.97821C0.981678 6.76758 2.68535 5.67262 5.14763 5.14798" stroke="currentColor"></path><path d="M10.7476 7.89535C10.8708 11.7113 9.66109 14.847 8.0456 14.8991C6.83496 14.9382 5.74 13.2346 5.21536 10.7723" stroke="currentColor"></path></svg>`},"alarm-clock-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" fill="none" stroke-width="${e}"><path d="M4.09372 11.9895L3.11865 14.0387" stroke="currentColor"></path><path d="M12.1392 11.9895L13.1143 14.0387" stroke="currentColor"></path><path d="M8.11646 4.78442V8.03442L10.6165 9.53442" stroke="currentColor"></path><path d="M8.11646 13.4094C11.154 13.4094 13.6165 10.947 13.6165 7.90942C13.6165 4.87186 11.154 2.40942 8.11646 2.40942C5.07889 2.40942 2.61646 4.87186 2.61646 7.90942C2.61646 10.947 5.07889 13.4094 8.11646 13.4094Z" stroke="currentColor"></path><path d="M1.75952 4.74323C2.30657 3.65639 3.12646 2.73047 4.12926 2.05542" stroke="currentColor"></path><path d="M14.3345 4.74323C13.7874 3.65639 12.9675 2.73047 11.9647 2.05542" stroke="currentColor"></path></svg>`},"archive-outline":{size:20,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M13.5 2.5H2.5C1.94772 2.5 1.5 2.94772 1.5 3.5V4.5C1.5 5.05228 1.94772 5.5 2.5 5.5H13.5C14.0523 5.5 14.5 5.05228 14.5 4.5V3.5C14.5 2.94772 14.0523 2.5 13.5 2.5Z" stroke="currentColor"></path><path d="M2.5 5.5V13.5C2.5 13.7652 2.60536 14.0196 2.79289 14.2071C2.98043 14.3946 3.23478 14.5 3.5 14.5H12.5C12.7652 14.5 13.0196 14.3946 13.2071 14.2071C13.3946 14.0196 13.5 13.7652 13.5 13.5V5.5" stroke="currentColor"></path><path d="M6.5 9.5H9.5" stroke="currentColor"></path></svg>`},"wrap-lines-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.3457 3.19299H13.6541" stroke="currentColor"></path><path d="M2.3457 7.46497H9.19332" stroke="currentColor"></path><path d="M2.3457 11.7369H6.4849" stroke="currentColor"></path><path d="M9.1936 7.46497H11.5183C12.6981 7.46497 13.6544 8.42132 13.6544 9.60103C13.6544 10.7808 12.6981 11.7371 11.5183 11.7371H9.1936" stroke="currentColor"></path><path d="M10.9505 9.7677L9.12262 11.5956C9.04452 11.6737 9.04452 11.8003 9.12262 11.8784L10.9505 13.7063" stroke="currentColor"></path></svg>`},"nowrap-fill":{size:16,svg:()=>'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none"><path d="M2 15H1V1H2V15Z" fill="currentColor"></path><path d="M12.3535 7.64645C12.5487 7.84171 12.5487 8.15829 12.3535 8.35355L9.85352 10.8535L9.14648 10.1465L10.793 8.5H3.5V7.5H10.793L9.14648 5.85352L9.85352 5.14648L12.3535 7.64645Z" fill="currentColor"></path><path d="M15 15H14V1H15V15Z" fill="currentColor"></path></svg>'},"wrap-fill":{size:16,svg:()=>'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none"><path d="M10.9999 8C10.9999 6.89543 10.1046 6 9 6H4.5V5H9C10.6568 5 11.9999 6.34315 11.9999 8C11.9999 9.65685 10.6568 11 9 11H6.20703L6.85351 11.6465L6.14648 12.3535L4.64652 10.8536C4.45126 10.6583 4.45126 10.3417 4.64652 10.1464L6.14648 8.64648L6.85351 9.35352L6.20703 10H9C10.1046 10 10.9999 9.10457 10.9999 8Z" fill="currentColor"></path><path d="M2 15H1V1H2V15Z" fill="currentColor"></path><path d="M15 15H14V1H15V15Z" fill="currentColor"></path></svg>'},"compare-split-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13.5C1.5 14.0523 1.94772 14.5 2.5 14.5H6C6.55228 14.5 7 14.0523 7 13.5V2.5C7 1.94772 6.55228 1.5 6 1.5Z" stroke="currentColor"></path><path d="M13.5 1.5H10C9.44772 1.5 9 1.94772 9 2.5V13.5C9 14.0523 9.44772 14.5 10 14.5H13.5C14.0523 14.5 14.5 14.0523 14.5 13.5V2.5C14.5 1.94772 14.0523 1.5 13.5 1.5Z" stroke="currentColor"></path></svg>`},"plan-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M4.9375 5.90295H11.0625" stroke="currentColor"></path><path d="M4.9375 9.02991H8.27841" stroke="currentColor"></path><path d="M12.5 1.32617C13.3039 1.32617 14 1.95171 14 2.77637V7.61328L13 8.68164V2.77637C13 2.55186 12.8007 2.32617 12.5 2.32617H3.5C3.1993 2.32617 3 2.55186 3 2.77637V13.2246C3.00044 13.4489 3.19963 13.6738 3.5 13.6738H8.32812L7.39258 14.6738H3.5C2.69637 14.6738 2.00042 14.0489 2 13.2246V2.77637C2 1.95171 2.69613 1.32617 3.5 1.32617H12.5Z" fill="currentColor"></path><path d="M8.97212 14.3693C9.17511 14.5723 9.37811 14.7753 9.5811 14.9783C9.67012 14.8953 9.75914 14.8123 9.84815 14.7293C11.4505 13.2352 13.0528 11.7411 14.6551 10.247C14.7441 10.164 14.8331 10.081 14.9221 9.99803C14.5989 9.6748 14.2756 9.35157 13.9524 9.02834C13.8694 9.11736 13.7864 9.20637 13.7034 9.29539C12.2093 10.8977 10.7152 12.5 9.22113 14.1023C9.13813 14.1913 9.05513 14.2803 8.97212 14.3693Z" fill="currentColor"></path><path d="M11.6323 13.7841C11.6323 14.0395 11.6323 14.295 11.6323 14.5504C11.6812 14.5523 11.7301 14.5543 11.779 14.5562C12.659 14.5913 13.539 14.6263 14.419 14.6614C14.4679 14.6633 14.5168 14.6653 14.5657 14.6672C14.5657 14.3339 14.5657 14.0006 14.5657 13.6672C14.5168 13.6692 14.4679 13.6711 14.419 13.6731C13.539 13.7081 12.659 13.7432 11.779 13.7783C11.7301 13.7802 11.6812 13.7821 11.6323 13.7841Z" fill="currentColor"></path></svg>`},"compact-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path opacity="0.35" d="M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z" stroke="currentColor"></path><path d="M8 1.5C8.85359 1.5 9.69883 1.66813 10.4874 1.99478C11.2761 2.32144 11.9926 2.80022 12.5962 3.40381C13.1998 4.00739 13.6786 4.72394 14.0052 5.51256C14.3319 6.30117 14.5 7.14641 14.5 8" stroke="currentColor"></path></svg>`},"shield-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6.80132 2.14853C7.70663 1.80917 8.70422 1.80919 9.60952 2.14859L14.1296 3.84317V7.11961C14.1296 11.6089 10.7615 13.5975 8.20543 14.5779C5.64931 13.5975 2.28052 11.6089 2.28052 7.11961V3.84317L6.80132 2.14853Z" stroke="currentColor" stroke-linejoin="round"></path></svg>`},"check-circle-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M12.5303 6.53027L8.80273 10.2578C8.54967 10.5109 8.31796 10.7439 8.10645 10.9141C7.88375 11.0932 7.616 11.2602 7.27344 11.3145C7.09229 11.3431 6.90771 11.3431 6.72656 11.3145C6.384 11.2602 6.11625 11.0932 5.89355 10.9141C5.68204 10.7439 5.45033 10.5109 5.19727 10.2578L3.46973 8.53027L4.53027 7.46973L6.25781 9.19727C6.53457 9.47402 6.70036 9.63859 6.83398 9.74609C6.95637 9.84453 6.98241 9.83644 6.96094 9.83301C6.98679 9.83709 7.01321 9.83709 7.03906 9.83301C7.01759 9.83644 7.04363 9.84453 7.16602 9.74609C7.29964 9.63859 7.46543 9.47402 7.74219 9.19727L11.4697 5.46973L12.5303 6.53027Z" fill="currentColor"></path><path d="M14.5996 8C14.5996 4.35492 11.6451 1.40039 8 1.40039C4.35492 1.40039 1.40039 4.35492 1.40039 8C1.40039 11.6451 4.35492 14.5996 8 14.5996C11.6451 14.5996 14.5996 11.6451 14.5996 8ZM15.9004 8C15.9004 12.363 12.363 15.9004 8 15.9004C3.63695 15.9004 0.0996094 12.363 0.0996094 8C0.0996094 3.63695 3.63695 0.0996094 8 0.0996094C12.363 0.0996094 15.9004 3.63695 15.9004 8Z" fill="currentColor"></path></svg>`},"unarchive-outline":{size:20,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke-width="${e}"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.8659 2.05975C17.2603 2.05995 18.3913 3.19096 18.3914 4.58527V5.4874C18.3914 6.02747 18.2192 6.52672 17.9303 6.93735C17.9336 6.96524 17.9388 6.99318 17.9388 7.02195V12.8884C17.9388 13.6345 17.9395 14.2379 17.8996 14.7254C17.8642 15.1593 17.7936 15.5499 17.6373 15.9141L17.5654 16.0685C17.278 16.6328 16.8405 17.1046 16.3038 17.434L16.0679 17.5661C15.66 17.7739 15.2196 17.8598 14.7237 17.9003C14.2362 17.9401 13.6327 17.9405 12.8867 17.9405H7.11122C6.36511 17.9405 5.76171 17.9401 5.27418 17.9003C4.84051 17.8649 4.44949 17.7952 4.08545 17.6391L3.93104 17.5661C3.36673 17.2785 2.89392 16.8414 2.56465 16.3044L2.43245 16.0685C2.22473 15.6608 2.13878 15.2211 2.09825 14.7254C2.05841 14.2379 2.05912 13.6345 2.05912 12.8884V7.02195C2.05912 6.99284 2.06422 6.96449 2.06758 6.93629C1.77931 6.52592 1.60858 6.02687 1.60858 5.4874V4.58527C1.60876 3.19084 2.73962 2.05975 4.1341 2.05975H15.8659ZM16.4984 7.92936C16.296 7.98169 16.0847 8.01288 15.8659 8.01291H4.1341C3.91478 8.01291 3.70246 7.98194 3.49955 7.92936V12.8884C3.49955 13.6582 3.50053 14.1927 3.53445 14.608C3.56769 15.0146 3.62923 15.244 3.71635 15.415L3.7925 15.5514C3.98339 15.8627 4.25749 16.1165 4.58464 16.2833L4.72529 16.3435C4.88095 16.3993 5.08638 16.4402 5.39158 16.4651C5.80685 16.4991 6.34138 16.5001 7.11122 16.5001H12.8867C13.6564 16.5001 14.1911 16.499 14.6063 16.4651C15.0128 16.432 15.2423 16.3703 15.4133 16.2833L15.5508 16.2061C15.8618 16.0152 16.116 15.7419 16.2827 15.415L16.3429 15.2732C16.3985 15.1177 16.4396 14.9128 16.4645 14.608C16.4985 14.1927 16.4984 13.6583 16.4984 12.8884V7.92936ZM4.1341 3.50019C3.53511 3.50019 3.0492 3.98631 3.04902 4.58527V5.4874C3.04902 6.08649 3.535 6.57248 4.1341 6.57248H15.8659C16.4648 6.57228 16.951 6.08638 16.951 5.4874V4.58527C16.9509 3.98644 16.4647 3.50038 15.8659 3.50019H4.1341Z" fill="currentColor"></path><path d="M10 14.1V10.1M7.85 12.05L10 9.9L12.15 12.05" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>`},"pin-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M9.96976 1.70572L13.1554 3.93629L10.9019 8.12317L11.5158 11.605L10.7192 12.7427L2.52767 7.00693L3.3243 5.86922L6.80612 5.25528L9.96976 1.70572Z" stroke="currentColor" stroke-linejoin="round"></path><path d="M6.05285 9.47511C6.27284 9.16094 6.70586 9.08458 7.02003 9.30457C7.3342 9.52455 7.41055 9.95757 7.19057 10.2717L3.98587 14.4708L3.21223 13.9291L6.05285 9.47511Z" fill="currentColor"></path></svg>`},"pin-fill":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M9.96976 1.70572L13.1554 3.93629L10.9019 8.12317L11.5158 11.605L10.7192 12.7427L2.52767 7.00693L3.3243 5.86922L6.80612 5.25528L9.96976 1.70572Z" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></path><path d="M6.05285 9.47511C6.27284 9.16094 6.70586 9.08458 7.02003 9.30457C7.3342 9.52455 7.41055 9.95757 7.19057 10.2717L3.98587 14.4708L3.21223 13.9291L6.05285 9.47511Z" fill="currentColor"></path></svg>`},"flat-list-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="${e}"><path d="M6 3.5h7.5M6 8h7.5M6 12.5h7.5"></path><path d="M2.6 3.5h.01M2.6 8h.01M2.6 12.5h.01"></path></svg>`},"workspace-tree-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="${e}"><path d="M14 12.05c0 .8-.65 1.45-1.46 1.45H3.46C2.65 13.5 2 12.85 2 12.05v-8.1c0-.8.65-1.45 1.46-1.45h2.4c.49 0 .94.24 1.21.65l.5.73c.27.4.73.65 1.21.65h3.76c.8 0 1.46.65 1.46 1.45v6.02Z"></path><path d="M8.7 8.1v3M11.2 8.1v3"></path></svg>`},"chevrons-up-down-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="${e}"><path d="m5.1 6 2.9-2.9L10.9 6"></path><path d="m5.1 10 2.9 2.9 2.9-2.9"></path></svg>`},"drag-handle-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="${e}"><path d="M4 5h8M4 8h8M4 11h8"></path></svg>`},"archive-off-outline":{size:16,svg:e=>e===1.3?`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="${e}"><mask id="dsw-icon-archive-off-outline-medium-mask" maskUnits="userSpaceOnUse" x="0" y="0" width="16" height="16"><rect x="0" y="0" width="16" height="16" fill="white" stroke="none"></rect><path d="m2.2 1.3 11.6 12.8" stroke="black" stroke-width="4.3"></path></mask><g mask="url(#dsw-icon-archive-off-outline-medium-mask)"><rect x="1.9" y="2.1" width="12.2" height="3.4" rx="1.1"></rect><path d="M2.95 5.7v4.8a2.9 2.9 0 0 0 2.9 2.9h4.3a2.9 2.9 0 0 0 2.9-2.9V5.7"></path></g><path d="m2.2 1.3 11.6 12.8"></path></svg>`:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="${e}"><mask id="dsw-icon-archive-off-outline-regular-mask" maskUnits="userSpaceOnUse" x="0" y="0" width="16" height="16"><rect x="0" y="0" width="16" height="16" fill="white" stroke="none"></rect><path d="m2.2 1.3 11.6 12.8" stroke="black" stroke-width="4"></path></mask><g mask="url(#dsw-icon-archive-off-outline-regular-mask)"><rect x="1.9" y="2.1" width="12.2" height="3.4" rx="1.1"></rect><path d="M2.95 5.7v4.8a2.9 2.9 0 0 0 2.9 2.9h4.3a2.9 2.9 0 0 0 2.9-2.9V5.7"></path></g><path d="m2.2 1.3 11.6 12.8"></path></svg>`},"archive-check-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="${e}"><rect x="1.9" y="2.1" width="12.2" height="3.4" rx="1.1"></rect><path d="M2.95 5.7v4.8a2.9 2.9 0 0 0 2.9 2.9h4.3a2.9 2.9 0 0 0 2.9-2.9V5.7"></path><path d="m6 9.35 1.4 1.4 2.6-2.6"></path></svg>`},"sliders-two-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="${e}"><path d="M2.3 5h5.85M12.05 5h1.65"></path><circle cx="9.95" cy="5" r="1.45"></circle><path d="M2.3 11h1.65M7.85 11h5.85"></path><circle cx="5.75" cy="11" r="1.45"></circle></svg>`},"microphone-outline":{size:16,svg:e=>e===1.3?`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="${e}"><rect x="5.15" y="1.65" width="5.7" height="8.7" rx="2.85"></rect><path d="M2.35 8.675C3.075 11.3 5.2 13.125 8 13.125C10.8 13.125 12.925 11.3 13.65 8.675M8 13.125V15"></path></svg>`:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="${e}"><rect x="5" y="1.5" width="6" height="9" rx="3"></rect><path d="M2.35 8.675C3.075 11.3 5.2 13.125 8 13.125C10.8 13.125 12.925 11.3 13.65 8.675M8 13.125V15"></path></svg>`},"apps-add-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="${e}"><rect x="2.25" y="2.25" width="4" height="4" rx="1"></rect><rect x="2.25" y="9.75" width="4" height="4" rx="1"></rect><rect x="9.75" y="9.75" width="4" height="4" rx="1"></rect><path d="M11.75 1.75v5M9.25 4.25h5"></path></svg>`},"apps-add-compact-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="${e}"><rect x="2.75" y="2.75" width="4" height="4" rx="1"></rect><rect x="2.75" y="9.25" width="4" height="4" rx="1"></rect><rect x="9.25" y="9.25" width="4" height="4" rx="1"></rect><path d="M11.25 2.25v5M8.75 4.75h5"></path></svg>`}},A8={regular:1,medium:Ar};function Qv(e,t){return`dsw-icon-${e}-${t}`}const fL=Object.freeze(Object.fromEntries(Object.entries(Xv).flatMap(([e,t])=>Object.keys(A8).map(r=>[Qv(e,r),t.svg(A8[r])])))),hL="M6.80132 2.14853C7.70663 1.80917 8.70422 1.80919 9.60952 2.14859L14.1296 3.84317V7.11961C14.1296 11.6089 10.7615 13.5975 8.20543 14.5779C5.64931 13.5975 2.28052 11.6089 2.28052 7.11961V3.84317L6.80132 2.14853Z";function T(e,t){const{size:r,aspect:[i,n]=[1,1]}=Xv[e],s=Qv(e,t);return({size:l=r,className:u})=>p.jsx("svg",{width:l*i/n,height:l,className:u,"data-icon":s,"aria-hidden":"true",children:p.jsx("use",{href:`#${s}`})})}const pL=T("new-chat-outline","regular"),mL=T("new-chat-outline","medium"),gL=T("search-outline","regular"),vL=T("search-outline","medium"),yL=T("globe-outline","regular"),_L=T("globe-outline","medium"),wL=T("settings-outline","regular"),bL=T("settings-outline","medium"),ey=T("panel-left-outline","regular"),xL=T("panel-left-outline","medium"),kL=T("ellipsis-outline","regular"),CL=T("ellipsis-outline","medium"),p4=T("plus-outline","regular"),$L=T("plus-outline","medium"),Uo=T("check-outline","regular"),SL=T("check-outline","medium"),IL=T("branch-outline","regular"),zL=T("branch-outline","medium"),m4=T("chevron-down-outline","regular"),jL=T("chevron-down-outline","medium"),EL=T("chevron-left-outline","regular"),OL=T("chevron-left-outline","medium"),ML=T("chevron-right-outline","regular"),TL=T("chevron-right-outline","medium"),LL=T("triangle-right-fill","regular"),NL=T("triangle-right-fill","medium"),ty=T("chevron-up-outline","regular"),PL=T("chevron-up-outline","medium"),rl=T("close-outline","regular"),DL=T("close-outline","medium"),ny=T("close-fill","regular"),RL=T("close-fill","medium"),AL=T("close-circle-fill","regular"),FL=T("close-circle-fill","medium"),g4=T("copy-outline","regular"),UL=T("copy-outline","medium"),ry=T("refresh-outline","regular"),HL=T("refresh-outline","medium"),ZL=T("like-outline","regular"),VL=T("like-outline","medium"),BL=T("like-fill","regular"),WL=T("like-fill","medium"),KL=T("dislike-outline","regular"),qL=T("dislike-outline","medium"),JL=T("dislike-fill","regular"),GL=T("dislike-fill","medium"),YL=T("share-outline","regular"),XL=T("share-outline","medium"),QL=T("deliver-doc","regular"),eN=T("deliver-doc","medium"),tN=T("edit-outline","regular"),nN=T("edit-outline","medium"),rN=T("think-outline","regular"),iN=T("think-outline","medium"),oN=T("agent-preset-outline","regular"),sN=T("agent-preset-outline","medium"),aN=T("browse-outline","regular"),lN=T("browse-outline","medium"),cN=T("context-injection-outline","regular"),uN=T("context-injection-outline","medium"),dN=T("link-outline","regular"),fN=T("link-outline","medium"),hN=T("right-up-outline","regular"),pN=T("right-up-outline","medium"),mN=T("enhance-outline","regular"),gN=T("enhance-outline","medium"),vN=T("trash-outline","regular"),yN=T("trash-outline","medium"),iy=T("warning-outline","regular"),_N=T("warning-outline","medium"),wN=T("check-circle-fill","regular"),bN=T("check-circle-fill","medium"),xN=T("warning-triangle-outline","regular"),kN=T("warning-triangle-outline","medium"),CN=T("user-outline","regular"),$N=T("user-outline","medium"),SN=T("users-outline","regular"),IN=T("users-outline","medium"),zN=T("paper-plane-outline","regular"),jN=T("paper-plane-outline","medium"),EN=T("stop-fill","regular"),ON=T("stop-fill","medium"),MN=T("paperclip-outline","regular"),TN=T("paperclip-outline","medium"),oy=T("loading-outline","regular"),LN=T("loading-outline","medium"),NN=T("download-outline","regular"),PN=T("download-outline","medium"),DN=T("play-outline","regular"),RN=T("play-outline","medium"),AN=T("pause-outline","regular"),FN=T("pause-outline","medium"),UN=T("fullscreen-outline","regular"),HN=T("fullscreen-outline","medium"),ZN=T("code-outline","regular"),VN=T("code-outline","medium"),BN=T("cordis-plugin-outline","regular"),WN=T("cordis-plugin-outline","medium"),KN=T("api-outline","regular"),qN=T("api-outline","medium"),JN=T("personalization-outline","regular"),GN=T("personalization-outline","medium"),YN=T("project-add-outline","regular"),XN=T("project-add-outline","medium"),QN=T("folder-open-outline","regular"),eP=T("folder-open-outline","medium"),tP=T("folder-open","regular"),nP=T("folder-open","medium"),rP=T("folder-close","regular"),iP=T("folder-close","medium"),oP=T("tree-corner","regular"),sP=T("tree-corner","medium"),aP=T("light-outline","regular"),lP=T("light-outline","medium"),cP=T("dark-outline","regular"),uP=T("dark-outline","medium"),dP=T("followsystem-outline","regular"),fP=T("followsystem-outline","medium"),hP=T("data-outline","regular"),pP=T("data-outline","medium"),mP=T("database-outline","regular"),gP=T("database-outline","medium"),vP=T("clock-outline","regular"),yP=T("clock-outline","medium"),_P=T("gauge-outline","regular"),wP=T("gauge-outline","medium"),bP=T("send-outline","regular"),xP=T("send-outline","medium"),kP=T("queue-outline","regular"),CP=T("queue-outline","medium"),$P=T("checklist-outline","regular"),SP=T("checklist-outline","medium"),IP=T("list-pen-outline","regular"),zP=T("list-pen-outline","medium"),jP=T("goal-outline","regular"),EP=T("goal-outline","medium"),OP=T("sparkle","regular"),MP=T("sparkle","medium"),TP=T("inspect-outline","regular"),LP=T("inspect-outline","medium"),NP=T("skill-outline","regular"),PP=T("skill-outline","medium"),DP=T("question-outline","regular"),RP=T("question-outline","medium"),sy=T("info-outline","regular"),AP=T("info-outline","medium"),FP=T("plugin-pinwheel-outline","regular"),UP=T("plugin-pinwheel-outline","medium"),HP=T("alarm-clock-outline","regular"),ZP=T("alarm-clock-outline","medium"),VP=T("archive-outline","regular"),BP=T("archive-outline","medium"),ay=T("wrap-lines-outline","regular"),WP=T("wrap-lines-outline","medium"),ly=T("nowrap-fill","regular"),KP=T("nowrap-fill","medium"),cy=T("wrap-fill","regular"),qP=T("wrap-fill","medium"),JP=T("compare-split-outline","regular"),GP=T("compare-split-outline","medium"),YP=T("plan-outline","regular"),XP=T("plan-outline","medium"),QP=T("compact-outline","regular"),eD=T("compact-outline","medium"),tD=T("shield-outline","regular"),nD=T("shield-outline","medium"),uy=T("check-circle-outline","regular"),rD=T("check-circle-outline","medium"),iD=T("unarchive-outline","regular"),oD=T("unarchive-outline","medium"),sD=T("pin-outline","regular"),aD=T("pin-outline","medium"),lD=T("pin-fill","regular"),cD=T("pin-fill","medium"),uD=T("flat-list-outline","regular"),dD=T("flat-list-outline","medium"),fD=T("workspace-tree-outline","regular"),hD=T("workspace-tree-outline","medium"),pD=T("chevrons-up-down-outline","regular"),mD=T("chevrons-up-down-outline","medium"),gD=T("drag-handle-outline","regular"),vD=T("drag-handle-outline","medium"),yD=T("archive-off-outline","regular"),_D=T("archive-off-outline","medium"),wD=T("archive-check-outline","regular"),bD=T("archive-check-outline","medium"),xD=T("sliders-two-outline","regular"),kD=T("sliders-two-outline","medium"),CD=T("microphone-outline","regular"),$D=T("microphone-outline","medium");function dy(e){const t=T("apps-add-outline",e),r=T("apps-add-compact-outline",e);return({compact:i=!1,...n})=>i?p.jsx(r,{...n}):p.jsx(t,{...n})}const SD=dy("regular"),ID=dy("medium");function zD(e){e!==null&&(F8(e),e.addEventListener("animationstart",()=>{F8(e)}))}function F8(e){const t=e;for(const r of t.getAnimations?.({subtree:!0})??[])r.startTime=0}function yu({state:e,size:t,className:r,appearance:i="dot"}){const n=t??(e==="ongoing"?14:10);return e==="ongoing"?p.jsx("svg",{ref:zD,className:fe(eo.spinner,r),"data-state":"ongoing",width:n,height:n,viewBox:"0 0 24 24","aria-hidden":"true",children:p.jsxs("g",{className:eo.spinnerMotion,children:[p.jsx("circle",{className:eo.spinnerTrack,cx:"12",cy:"12",r:"9.5"}),p.jsx("circle",{className:eo.spinnerArc,cx:"12",cy:"12",r:"9.5"})]})}):p.jsx("span",{className:fe(i==="step"?eo.step:eo.dot,r),"data-state":e,style:{width:n,height:n},"aria-hidden":"true",children:i==="step"&&e==="done"&&p.jsx(Uo,{size:n-2})})}const I1=k.createContext(void 0);function U8({children:e,className:t}){const r=k.useContext(I1)===!0&&typeof e=="string";return p.jsx("span",{className:fe(ii.text,t),"data-shimmer-text":r?e:void 0,children:r?null:e})}const _2=k.memo(function({children:t,active:r=!1,className:i,contentClassName:n}){if(k.useContext(I1)!==void 0)return p.jsx(U8,{className:i,children:t});const s=typeof t=="string"?p.jsx(U8,{children:t}):t;return p.jsxs("span",{className:fe(ii.root,i),"data-shimmer":r||void 0,children:[p.jsx(I1.Provider,{value:!1,children:p.jsx("span",{className:fe(ii.content,n),children:s})}),r&&p.jsx("span",{className:ii.decoration,"aria-hidden":"true",inert:"",children:p.jsx("span",{className:ii.sweep,children:p.jsx(I1.Provider,{value:!0,children:p.jsx("span",{className:fe(ii.content,ii.highlight,n),children:s})})})})]})}),jD=k.memo(function({icon:t,title:r,open:i,expandable:n,onToggle:s,running:l=!1,expandOnRowClick:u=!1,previewChevron:f=n,keepContentWhenOpen:h=!1,collapsedContent:g,headerAccessory:y,children:_,className:w,rowClassName:x,contentClassName:I,contentLayoutClassName:S,leadingClassName:E,chevronClassName:z,titleClassName:O}){const P=n&&u,N=V=>{V.stopPropagation(),s()},A=V=>{!P||V.key!=="Enter"&&V.key!==" "||(V.preventDefault(),s())},K=f?p.jsxs(p.Fragment,{children:[p.jsx("span",{className:Er.iconIdle,children:t}),p.jsx(m4,{className:fe(z,Er.chevronHover)})]}):t,re=i?p.jsx(ty,{className:z}):K;return p.jsxs("div",{className:fe(Er.root,w),"data-open":i||void 0,children:[p.jsxs("div",{className:Er.header,"data-disclosure-header":!0,"data-has-accessory":!!y||void 0,children:[p.jsxs("div",{className:fe(Er.row,x),"data-disclosure-row":!0,"data-expandable":P||void 0,role:P?"button":void 0,tabIndex:P?0:void 0,"aria-expanded":P?i:void 0,onClick:P?s:void 0,onKeyDown:P?A:void 0,children:[n&&!P?p.jsx("button",{type:"button",className:fe(Er.leading,E),"aria-label":r,"aria-expanded":i,onClick:N,children:re}):p.jsx("span",{className:fe(Er.leading,E),children:re}),p.jsxs(_2,{active:l,className:I,contentClassName:S,children:[p.jsx(_2,{className:fe(Er.title,O),children:r}),(h||!i)&&g]})]}),y]}),i&&_]})}),H8=100,ED=200;function Z8(e,t){return e.rowKeys.length===t.rowKeys.length&&e.rowKeys.every((r,i)=>r===t.rowKeys[i])}function A0(e,t){return e.bottom>t.top&&e.top<t.bottom&&e.right>t.left&&e.left<t.right}var OD=class extends k.Component{armed=!1;list=k.createRef();overlay=k.createRef();movements=new Map;exits=new Map;getSnapshotBeforeUpdate(e){const t=this.list.current;if(!this.armed||Z8(e,this.props)||e.resetKey!==this.props.resetKey||!e.ready||!this.props.ready||t===null||typeof t.animate!="function"||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return null;const r=t.getBoundingClientRect(),i=this.readPositions(),n=new Set(this.props.rowKeys),s=new Map;for(const[l,u]of i){if(n.has(l)||!A0(u.rect,r))continue;const f=u.element.cloneNode(!0);f.removeAttribute("data-row-key"),f.inert=!0,f.style.paddingInlineStart=getComputedStyle(u.element).paddingInlineStart,s.set(l,{...u,element:f})}return{positions:i,removed:s}}componentDidUpdate(e,t,r){if(r===null){(!Z8(e,this.props)||e.resetKey!==this.props.resetKey||e.ready!==this.props.ready)&&this.clear();return}this.cancelMovements();const i=this.list.current,n=this.overlay.current,s=i.getBoundingClientRect(),l=n.getBoundingClientRect(),u=this.readPositions();for(const[f,h]of u){this.removeExit(f);const g=r.positions.get(f);if(!A0(h.rect,s)&&(g===void 0||!A0(g.rect,s)))continue;if(g===void 0){this.move(h.element,[{opacity:0},{opacity:1}],H8);continue}const y=g.rect.left-h.rect.left,_=g.rect.top-h.rect.top;y===0&&_===0&&g.opacity===1||this.move(h.element,[{transform:`translate(${String(y)}px, ${String(_)}px)`,opacity:g.opacity},{transform:"translate(0, 0)",opacity:1}],ED)}for(const[f,h]of r.removed){const{element:g}=h;this.removeExit(f),Object.assign(g.style,{position:"absolute",margin:"0",transform:"none",boxSizing:"border-box",left:`${String(h.rect.left-l.left)}px`,top:`${String(h.rect.top-l.top)}px`,width:`${String(h.rect.width)}px`,height:`${String(h.rect.height)}px`}),n.append(g);const y=g.animate([{opacity:h.opacity},{opacity:0}],{duration:H8,easing:"ease-out",fill:"forwards"});this.exits.set(f,{element:g,animation:y}),y.onfinish=()=>{this.removeExit(f)}}}componentWillUnmount(){this.clear()}readPositions(){const e=this.list.current.querySelectorAll("[data-row-key]");return new Map(Array.from(e,t=>[t.dataset.rowKey,{element:t,rect:t.getBoundingClientRect(),opacity:this.movements.has(t)?Number(getComputedStyle(t).opacity):1}]))}move(e,t,r){const i=e.animate(t,{duration:r,easing:"ease-out"});this.movements.set(e,i),i.onfinish=()=>{this.movements.delete(e),i.cancel()}}cancelMovements(){for(const e of this.movements.values())e.onfinish=null,e.cancel();this.movements.clear()}removeExit(e){const t=this.exits.get(e);t!==void 0&&(t.animation.onfinish=null,t.animation.cancel(),t.element.remove(),this.exits.delete(e))}clear(){this.cancelMovements();for(const e of this.exits.keys())this.removeExit(e)}render(){return p.jsxs(p.Fragment,{children:[p.jsx("div",{ref:this.list,className:this.props.className,role:this.props.role,"aria-label":this.props.label,onPointerDownCapture:()=>{this.armed=!0},onKeyDownCapture:()=>{this.armed=!0},children:this.props.children}),p.jsx("div",{ref:this.overlay,className:ez.exits,"aria-hidden":"true"})]})}};function MD(e,t){const r=k.useRef(null),i=k.useRef(!1),n=k.useMemo(()=>{const s=()=>{const l=i.current;return i.current=!1,r.current?.remove(),r.current=null,l};return{clear:s,start:(l,u=l.currentTarget)=>{s(),i.current=!0;const f=u.getBoundingClientRect(),h=getComputedStyle(u),g=u.cloneNode(!0);g.removeAttribute("data-row-key"),g.tabIndex=-1;for(const _ of g.querySelectorAll("button, a[href], input, select, textarea, [tabindex], [contenteditable]"))_.tabIndex=-1;g.style.color=h.color,g.style.paddingInlineStart=h.paddingInlineStart;const y=u.ownerDocument.createElement("div");y.className=fe(nz.preview,e),y.inert=!0,y.setAttribute("aria-hidden","true"),t?.forEach(_=>{y.style.setProperty(_,h.getPropertyValue(_))}),Object.assign(y.style,{left:`${String(-f.width)}px`,width:`${String(f.width)}px`,height:`${String(f.height)}px`,font:h.font}),y.append(g),u.ownerDocument.body.append(y),r.current=y;try{l.dataTransfer.setDragImage(y,l.clientX-f.left,l.clientY-f.top)}catch{y.remove(),r.current=null}}}},[e,t]);return k.useEffect(()=>()=>{n.clear()},[n]),n}const di=k.forwardRef(function({variant:t="ghost",size:r="md",icon:i,className:n,children:s,...l},u){return p.jsxs("button",{ref:u,type:"button",className:fe(_1.button,_1[t],_1[r],n),...l,children:[i!=null&&p.jsx("span",{className:_1.icon,children:i}),s]})});function ia(e,t,r=0){const i=document.documentElement,n=Number.parseFloat(getComputedStyle(i).getPropertyValue("--dsh-frame-top-clearance"));if(Number.isNaN(n))return e;const s=t!==void 0&&t.top>=0?t.bottom+r:Number.POSITIVE_INFINITY;return Math.max(e,Math.min((i.hasAttribute("data-fullscreen")?0:n)+20,s))}function fy(e){const t=k.useRef(null),r=k.useRef(e);r.current=e;const i=k.useCallback(()=>{t.current!==null&&(clearTimeout(t.current),t.current=null)},[]),n=k.useCallback(()=>{i(),t.current=setTimeout(()=>{t.current=null,r.current()},200)},[i]);return k.useEffect(()=>i,[i]),{arm:n,cancel:i}}function _u(e){let t=!1,r=!1;const i=()=>{t=!0},n=()=>{t=!1,r=!0},s=()=>{r=!1},l=()=>{t=!1,r=!1};return e.addEventListener("compositionstart",i,!0),e.addEventListener("compositionend",n,!0),e.addEventListener("keyup",s,!0),e.defaultView?.addEventListener("blur",l),{guards:u=>{const f=t||r||u.isComposing||u.keyCode===229;return r=!1,f},dispose:()=>{e.removeEventListener("compositionstart",i,!0),e.removeEventListener("compositionend",n,!0),e.removeEventListener("keyup",s,!0),e.defaultView?.removeEventListener("blur",l)}}}const F0=new WeakMap,TD=new Set(["Tab","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End"]);let b1;function LD(){if(b1!==void 0)return b1;const{userAgent:e,platform:t,maxTouchPoints:r}=navigator;return b1=/Android|iPhone|iPad|iPod/i.test(e)||t==="MacIntel"&&r>1,b1}function $o(e,t){F0.get(e)?.();const r=()=>{e.removeAttribute("data-dsh-automatic-focus"),e.removeEventListener("blur",r),e.removeEventListener("keydown",i,!0),F0.delete(e)},i=n=>{!n.isComposing&&!n.ctrlKey&&!n.altKey&&!n.metaKey&&TD.has(n.key)&&r()};F0.set(e,r),e.setAttribute("data-dsh-automatic-focus",""),e.addEventListener("blur",r),e.addEventListener("keydown",i,!0),e.focus(t),e.matches(":focus")||r()}const hy='[role="dialog"][aria-modal="true"], [role="menu"]',Zs=new WeakMap;function ND(e){const t=Zs.get(e)?.at(-1);t!==void 0&&[...e.querySelectorAll('[role="dialog"][aria-modal="true"], [role="menu"]')].at(-1)===t.element&&t.close()}function py(e){if(e===null)return!1;const t=Zs.get(e.ownerDocument)?.at(-1);return t!==void 0&&!t.element.contains(e)}const V8='button:not(:disabled), input:not(:disabled), textarea:not(:disabled), select:not(:disabled), a[href], [tabindex="0"]';function my(e,t,r){const i=k.useRef(r);i.current=r,k.useLayoutEffect(()=>{const n=e.current;if(!t||n===null)return;const s=n.ownerDocument,l=_u(s),u=s.activeElement,f=Zs.get(s)??[];Zs.set(s,f);const h={element:n,close:()=>{i.current()}};f.push(h);const g=n.querySelector("[data-modal-autofocus]")??n.querySelector(V8)??n;n.contains(s.activeElement)||$o(g);const y=_=>{const w=l.guards(_);if(f.at(-1)!==h||_.defaultPrevented||w||_.ctrlKey||_.altKey||_.metaKey||(_.key==="Escape"&&!_.shiftKey&&(_.preventDefault(),_.repeat||i.current()),_.key!=="Tab")||s.activeElement?.closest('[role="menu"]'))return;const x=[...n.querySelectorAll(V8)].filter(z=>!z.closest("[inert], [hidden]")),I=x[0]??n,S=x.at(-1)??n,E=_.shiftKey?s.activeElement===I:s.activeElement===S;(s.activeElement===n||!n.contains(s.activeElement)||E)&&(_.preventDefault(),(_.shiftKey?S:I).focus())};return s.addEventListener("keydown",y),()=>{l.dispose();const _=f.at(-1)===h;if(f.splice(f.indexOf(h),1),s.removeEventListener("keydown",y),f.length===0&&Zs.delete(s),_){const w=u instanceof HTMLElement&&u.isConnected?u:f.at(-1)?.element;w!==void 0&&$o(w)}}},[e,t])}function oa({keys:e,variant:t="plain",className:r}){return p.jsx("span",{className:fe(Ts.keys,t==="tooltip"&&Ts.tooltip,t==="tooltip"&&e.includes("+")&&Ts.joined,r),children:e.map((i,n)=>p.jsx("kbd",{className:i==="+"?Ts.separator:Ts.key,children:i},n))})}const Z1=k.forwardRef(function({compact:t=!1,className:r,style:i,children:n,...s},l){const u=k.useId(),f=k.useRef(null);k.useLayoutEffect(()=>{document.body.appendChild(f.current)},[]);const h={"--dsh-menu-anchor":`--dsh-menu-${u.replaceAll(":","")}`};return p.jsxs(p.Fragment,{children:[p.jsxs("div",{...s,ref:l,"data-menu-material":"translucent",className:fe(Ls.surface,t&&Ls.compact,r),style:{...i,...h},children:[p.jsx("div",{"aria-hidden":"true",className:Ls.material}),n]}),On.createPortal(p.jsx("div",{ref:f,"aria-hidden":"true","data-menu-backing":"",className:fe(Ls.backing,t&&Ls.compact),style:{...h,visibility:i?.visibility}}),document.body)]})});function PD({children:e,shortcut:t,icon:r,current:i,disabled:n=!1,danger:s=!1,separatorBefore:l=!1,onSelect:u}){return p.jsxs("div",{className:De.itemWrap,children:[l&&p.jsx("div",{className:De.separator,role:"separator"}),p.jsxs("button",{type:"button",role:"menuitem",className:fe(De.item,s&&De.danger),disabled:n,"aria-keyshortcuts":t?.aria,"aria-current":i===!0?"page":void 0,onClick:u,children:[r!==void 0&&p.jsx("span",{className:De.itemIcon,children:r}),p.jsx("span",{className:De.itemLabel,children:e}),t!==void 0&&p.jsx("span",{"aria-hidden":"true",className:De.shortcut,children:p.jsx(oa,{keys:t.keys,className:De.shortcutKeys})})]})]})}function B8(e){return"type"in e&&e.type==="separator"}function W8(e){return"type"in e&&e.type==="label"}const DD={visibility:"hidden",left:0,top:0};function v4({open:e,anchor:t,items:r=[],children:i,selectedId:n,selectedIds:s,onSelect:l,onClose:u,align:f="start",side:h="bottom",portal:g=!1,closeOnPointerLeave:y=!1,dense:_=!1,compact:w=!1,autoFocus:x=!1,selection:I="check",getAnchorRect:S,minWidthFromAnchor:E=!1,footer:z,className:O,listClassName:P}){const N=k.useRef(null),A=k.useRef(null),K=k.useRef(null),re=k.useRef(null),V=k.useRef(!1),H=(W=!1)=>{const ne=re.current,pe=ne!==null&&document.contains(ne)&&!ne.disabled?ne:N.current?.querySelector("button:not(:disabled)");pe!=null&&(W?pe.focus():$o(pe))},te=()=>{const W=V.current;queueMicrotask(()=>{if(ie.current)return;const ne=document.activeElement;(ne===null||ne===document.body||A.current?.contains(ne)===!0)&&H(W)})},ie=k.useRef(e);ie.current=e;const[se,xe]=k.useState(null),[ce,he]=k.useState(null),{arm:ze,cancel:Q}=fy(u);k.useLayoutEffect(()=>{if(!e||!g){he(null);return}const W=()=>{let be;if(S!==void 0?be=S():be=N.current?.getBoundingClientRect()??null,be===null)return;const _e=12,oe=4,le=window.innerWidth,Pe=window.innerHeight,Re=A.current;if(Re!==null){const ct=E?`${Math.min(be.width,Math.max(0,le-_e*2))}px`:"";Re.style.minWidth!==ct&&(Re.style.minWidth=ct)}const ht=Re?.offsetWidth??0,Tt=Re?.offsetHeight??0;let Je,it;h==="right"?(Je=be.right+oe,it=be.top):f==="start"?(Je=be.left,it=h==="bottom"?be.bottom+oe:be.top-Tt-oe):(Je=be.right-ht,it=h==="bottom"?be.bottom+oe:be.top-Tt-oe),ht>0&&(Je=Math.min(Math.max(Je,_e),le-ht-_e)),Tt>0&&(it=Math.min(Math.max(it,ia(_e,be,oe)),Pe-Tt-_e)),he(ct=>ct?.left===Je&&ct.top===it?ct:{left:Je,top:it})};W();const ne=()=>{W(),pe=requestAnimationFrame(ne)};let pe=requestAnimationFrame(ne);return window.addEventListener("scroll",W,!0),window.addEventListener("resize",W),()=>{cancelAnimationFrame(pe),window.removeEventListener("scroll",W,!0),window.removeEventListener("resize",W)}},[e,g,f,h,S,E]),k.useEffect(()=>{if(!e){re.current=null;return}const W=document.activeElement;re.current=W instanceof HTMLElement&&N.current?.contains(W)===!0?W:null},[e]),k.useEffect(()=>{if(!e||!x)return;const W=A.current?.querySelector("button:not(:disabled)");K.current=W==null?null:0,W!=null&&$o(W)},[e,x]),k.useEffect(()=>{if(!e){xe(null),K.current=null;return}const W=_u(document),ne=le=>{le.target instanceof Node&&N.current?.contains(le.target)!==!0&&A.current?.contains(le.target)!==!0&&u()},pe=le=>{if(W.guards(le)||py(N.current)||le.defaultPrevented||le.ctrlKey||le.altKey||le.metaKey)return;const Pe=document.activeElement,Re=A.current?.contains(Pe)===!0,ht=N.current?.contains(Pe)===!0||Re;if(le.key==="Escape"&&!le.shiftKey){if(le.preventDefault(),le.repeat)return;u(),(ht||x)&&H()}if(le.key==="Tab"){const vn=A.current;if(vn===null||!ht)return;if(le.shiftKey){le.preventDefault(),u(),H(!0);return}if(Re){if(Pe instanceof Element&&Pe.getAttribute("role")==="menuitem"){le.preventDefault(),V.current=!0;try{Pe.click()}finally{V.current=!1}}return}const rn=vn.querySelector("button:not(:disabled)");if(rn===null)return;le.preventDefault(),rn.focus(),K.current=0;return}if(!["ArrowDown","ArrowUp","Home","End"].includes(le.key))return;const Tt=A.current;if(Tt===null||!ht)return;const Je=Array.from(Tt.querySelectorAll("button:not(:disabled)"));if(Je.length===0)return;const it=Je.indexOf(Pe),ct=it>=0?it:K.current,nn=le.key==="Home"?0:le.key==="End"?Je.length-1:ct===null?le.key==="ArrowDown"?0:Je.length-1:(ct+(le.key==="ArrowDown"?1:-1)+Je.length)%Je.length;le.preventDefault(),K.current=nn,Je[nn]?.focus()},be=()=>{document.activeElement instanceof HTMLIFrameElement&&u()};document.addEventListener("pointerdown",ne);const _e=le=>{le.key==="Escape"&&pe(le)},oe=le=>{le.key!=="Escape"&&pe(le)};return document.addEventListener("keydown",oe),document.addEventListener("keydown",_e,!0),window.addEventListener("blur",be),()=>{W.dispose(),document.removeEventListener("pointerdown",ne),document.removeEventListener("keydown",oe),document.removeEventListener("keydown",_e,!0),window.removeEventListener("blur",be)}},[e,u,x]),k.useEffect(()=>{e||Q()},[e,Q]);const U=!r.some(W=>!B8(W)&&!W8(W)&&W.submenu!==void 0&&W.submenu.length>0),X=W=>{if(B8(W))return p.jsx("div",{className:De.separator,role:"separator"},W.id);if(W8(W))return p.jsx("div",{className:De.label,role:"presentation",children:W.text},W.id);const ne=W.submenu!==void 0&&W.submenu.length>0,pe=ne&&se===W.id,be=W.id===n||s?.includes(W.id)===!0;return p.jsxs("div",{className:De.itemWrap,onMouseEnter:ne?()=>{xe(W.id)}:void 0,onMouseLeave:()=>{xe(null)},children:[p.jsxs("button",{type:"button",role:"menuitem",className:fe(De.item,be&&(I==="fill"?De.selectedFill:De.selected),W.danger===!0&&De.danger),disabled:W.disabled,"aria-keyshortcuts":W.shortcut?.aria,"aria-haspopup":ne?"menu":void 0,"aria-expanded":ne?pe:void 0,onFocus:ne?()=>{xe(W.id)}:void 0,onClick:()=>{if(ne){xe(W.id);return}l?.(W.id)},children:[W.icon!==void 0&&p.jsx("span",{className:De.itemIcon,children:W.icon}),p.jsx("span",{className:De.itemLabel,children:W.label}),W.shortcut!==void 0&&p.jsx("span",{"aria-hidden":"true",className:De.shortcut,children:p.jsx(oa,{keys:W.shortcut.keys,className:De.shortcutKeys})}),be&&I==="check"&&p.jsx(Uo,{className:De.check})]}),pe&&W.submenu!==void 0&&p.jsx(Z1,{compact:w,className:fe(De.submenu,w&&De.compactList),role:"menu",children:W.submenu.map(_e=>p.jsxs("button",{type:"button",role:"menuitem",className:De.item,disabled:_e.disabled,"aria-keyshortcuts":_e.shortcut?.aria,onClick:()=>{l?.(_e.id),te()},children:[_e.icon!==void 0&&p.jsx("span",{className:De.itemIcon,children:_e.icon}),p.jsx("span",{className:De.itemLabel,children:_e.label}),_e.shortcut!==void 0&&p.jsx("span",{"aria-hidden":"true",className:De.shortcut,children:p.jsx(oa,{keys:_e.shortcut.keys,className:De.shortcutKeys})})]},_e.id))})]},W.id)},$=W=>{const ne=W.target instanceof Element?W.target.closest('button[role="menuitem"]'):null;ne===null||ne.getAttribute("aria-haspopup")==="menu"||ne.closest('[role="menu"]')===W.currentTarget&&xe(null)},Z=e&&p.jsxs(Z1,{compact:w,ref:A,className:fe(De.list,P,_&&De.denseList,w&&De.compactList,U&&De.scrollable,g&&De.portal,h==="top"&&!g&&De.sideTop,f==="end"&&!g&&De.alignEnd),style:g?ce??DD:void 0,role:"menu",onClick:W=>{W.stopPropagation();const ne=W.target instanceof Element?W.target.closest('button[role="menuitem"]'):null;ne!==null&&ne.getAttribute("aria-haspopup")!=="menu"&&te()},onMouseOver:$,onFocus:$,children:[p.jsxs("div",{className:De.viewport,role:"presentation",children:[r.map(X),i]}),z!==void 0&&z.length>0&&p.jsx("div",{className:De.footer,role:"presentation",children:z.map(X)})]});return p.jsxs("span",{ref:N,className:fe(De.root,O),onPointerEnter:y?Q:void 0,onPointerLeave:y?()=>{e&&ze()}:void 0,children:[t,g?Z!==!1&&On.createPortal(Z,document.body):Z]})}const RD={right:"left",left:"right",top:"bottom",bottom:"top"};function AD(e){const{anchor:t,viewportWidth:r,viewportHeight:i,side:n,align:s,gap:l}=e;let{width:u,height:f}=e;const h=12,g=Math.max(0,r-h*2),y=Math.max(0,i-h*2);u=Math.min(u,g),f=Math.min(f,y);const _=z=>Math.max(h,Math.min(z,r-h-u)),w=z=>Math.max(h,Math.min(z,i-h-f)),x=n==="right"||n==="left",I=[n,RD[n],...x?["bottom","top"]:["right","left"]],S={right:{left:t.right+10,top:w((t.top+t.bottom-f)/2)},left:{left:t.left-10-u,top:w((t.top+t.bottom-f)/2)},bottom:{left:_(s==="end"?t.right-u:(t.left+t.right-u)/2),top:t.bottom+l},top:{left:_(s==="end"?t.right-u:(t.left+t.right-u)/2),top:t.top-l-f}};for(const z of I){const O=S[z];if(O.left>=h&&O.top>=h&&O.left+u<=r-h&&O.top+f<=i-h)return{...O,side:z,width:u,height:f,overflow:!1}}const E=S[n];return{left:_(E.left),top:w(E.top),side:n,width:u,height:f,overflow:!0}}function gy(e,t,r,i){k.useEffect(()=>{if(!t)return;const n=s=>{s.target instanceof Node&&e.current?.contains(s.target)!==!0&&i?.current?.contains(s.target)!==!0&&r(!1)};return document.addEventListener("pointerdown",n),()=>{document.removeEventListener("pointerdown",n)}},[e,t,r,i])}const K8={pointer:"pointer",keyboard:"keyboard"},FD="data-input-modality",UD=new Set(["Tab","Home","End","PageUp","PageDown"]);let w2=!1,Us=!1,ti;function U0(){document.documentElement.setAttribute(FD,Us?K8.pointer:K8.keyboard)}function vy(){return w2}typeof window<"u"&&(window.addEventListener("pointerdown",()=>{w2=!0,Us=!0,ti=void 0,U0()},!0),window.addEventListener("keydown",e=>{if(w2=!1,e.isComposing){ti=void 0;return}ti=e.composedPath()[0],!(!UD.has(e.key)&&!e.key.startsWith("Arrow"))&&(Us=!1,U0())},!0),window.addEventListener("focusin",e=>{ti===void 0||e.composedPath()[0]===ti||(ti=void 0,Us&&(Us=!1,U0()))},!0),window.addEventListener("blur",()=>{ti=void 0}));const q8=k.createContext(null);function HD(e){return[e,...e.querySelectorAll("*")].some(t=>t instanceof HTMLElement&&t.scrollWidth>t.clientWidth)}function Zn({label:e,shortcutKeys:t,side:r="right",align:i="center",delayMs:n=0,focusDelayMs:s=0,gap:l=8,disabled:u=!1,portal:f=!1,maxWidth:h,openOnClick:g=!1,onlyWhenClipped:y=!1,children:_}){const w=k.useId(),[x,I]=k.useState(!1),S=k.useRef(null),E=_.ref,z=k.useCallback($=>{S.current=$,typeof E=="function"?E($):E!=null&&(E.current=$)},[E]),[O,P]=k.useState(null),N=k.useRef(null),A=O===null?null:typeof e=="function"?e():e,K=k.useRef(null),re=k.useRef({hover:!1,focus:!1}),V=k.useContext(q8),[H,te]=k.useState(!1),ie=k.useCallback($=>{V?.($)},[V]),se=O!==null&&!u;k.useEffect(()=>{const $=N.current;if(O===null||!se||H||$===null)return;let Z,W=O;const ne=()=>{if(Z===void 0)return;const _e=AD({anchor:W,width:Z.inlineSize,height:Z.blockSize,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight,side:r,align:i,gap:l}),oe=_e.side==="right"||_e.side==="left",le=oe?0:i==="end"?_e.width:_e.width/2,Pe=oe?_e.height/2:_e.side==="top"?_e.height:0;$.style.left=`${_e.left+le}px`,$.style.top=`${_e.top+Pe}px`,$.dataset.side=_e.side,$.style.visibility="visible"},pe=()=>{S.current!==null&&(W=S.current.getBoundingClientRect()),ne()},be=new ResizeObserver(_e=>{Z=_e[0]?.borderBoxSize[0],ne()});return be.observe($,{box:"border-box"}),window.addEventListener("resize",pe),()=>{be.disconnect(),window.removeEventListener("resize",pe)}},[i,l,O,r,H,se]),k.useEffect(()=>(ie(se),()=>{ie(!1)}),[ie,se]);const xe=k.useCallback(()=>{K.current!==null&&(clearTimeout(K.current),K.current=null)},[]);k.useEffect(()=>(x&&(u||!g)&&I(!1),u&&(xe(),re.current={hover:!1,focus:!1},P(null)),xe),[xe,u,g,x]);const ce=()=>{if(u)return;const $=S.current;$!==null&&(y&&!HD($)||(P($.getBoundingClientRect()),ie(!0)))},he=$=>{if(xe(),$<=0){ce();return}K.current=setTimeout(()=>{K.current=null,ce()},$)},ze=k.useCallback(()=>{I(!1),P(null),ie(!1)},[ie]),Q=()=>{xe(),!re.current.hover&&!re.current.focus&&!x&&ze()},U=k.useCallback(()=>{xe(),re.current={hover:!1,focus:!1},ze()},[xe,ze]);gy(S,g&&se,U,N),k.useEffect(()=>{if(!g||!se)return;const $=Z=>{Z.key!=="Escape"&&Z.key!=="Tab"||(Z.key==="Escape"&&(Z.preventDefault(),Z.stopPropagation()),U())};return document.addEventListener("keydown",$,!0),()=>{document.removeEventListener("keydown",$,!0)}},[U,g,se]);const X=se&&!H&&p.jsxs("span",{ref:N,id:g?w:void 0,className:E8.bubble,"data-side":r,"data-portal":f||void 0,"data-pinned":x||void 0,"data-align":i,"data-has-shortcut":t?.length?!0:void 0,style:{left:O.left,top:O.top,visibility:"hidden",...h===void 0?{}:{maxWidth:`min(${h}px, calc(100vw - 24px))`}},role:"tooltip","aria-label":t?.length?[A,t.join(" ")].filter(Boolean).join(" "):void 0,children:[A&&p.jsx("span",{className:E8.label,children:A}),t!==void 0&&t.length>0&&p.jsx(oa,{keys:t,variant:"tooltip"})]});return p.jsxs(q8.Provider,{value:te,children:[k.cloneElement(_,{ref:z,"aria-describedby":g&&se?[_.props["aria-describedby"],w].filter(Boolean).join(" "):_.props["aria-describedby"],onPointerEnter:$=>{_.props.onPointerEnter?.($),$.pointerType!=="touch"&&($.pointerType==="mouse"&&!window.matchMedia("(any-hover: hover)").matches||(re.current.hover=!0,he(n)))},onPointerLeave:$=>{_.props.onPointerLeave?.($),re.current.hover=!1,xe(),x||ze()},onPointerDown:$=>{_.props.onPointerDown?.($),$.pointerType==="touch"&&!x&&U()},onClick:$=>{_.props.onClick?.($),re.current.focus=!1,xe(),g&&!u&&!x?(I(!0),ce()):ze()},onFocus:$=>{_.props.onFocus?.($),!vy()&&(re.current.focus=!0,he(s))},onBlur:$=>{_.props.onBlur?.($),re.current.focus=!1,Q()}}),f?X!==!1&&On.createPortal(X,document.body):X]})}const Hn={minimum:.25,maximum:4,step:.25,presets:[.25,.5,1,1.5,2]};function J8(e,t){const r=t===-1?Math.ceil(e/Hn.step)-1:Math.floor(e/Hn.step)+1;return Math.min(Hn.maximum,Math.max(Hn.minimum,r*Hn.step))}const ZD=k.forwardRef(function({zoom:t,fit:r,className:i,labels:n,visible:s,onZoom:l,onActiveChange:u},f){const[h,g]=k.useState(t),[y,_]=k.useState(),[w,x]=k.useState(!1),[I,S]=k.useState(!1),[E,z]=k.useState(!1);h!==t&&(g(t),_(void 0));const O=y??t;k.useImperativeHandle(f,()=>({showZoom:_}),[]),k.useEffect(()=>{u(w||I||E)},[E,I,u,w]);const P=[...r===void 0?[]:[{id:"fit",label:r.label},{type:"separator",id:"fit-scale"}],...Hn.presets.map(A=>({id:String(A),label:n.value(A*100)}))],N=r?.selected===!0?"fit":Hn.presets.some(A=>A===O)?String(O):void 0;return p.jsxs("div",{className:fe(Or.panel,s&&Or.visible,i),role:"toolbar","aria-label":n.controls,"data-document-zoom-controls":!0,"data-document-zoom-visible":s||void 0,onPointerEnter:A=>{A.pointerType!=="touch"&&S(!0)},onPointerLeave:()=>{S(!1)},onFocusCapture:()=>{z(!0)},onBlurCapture:A=>{A.currentTarget.contains(A.relatedTarget)||z(!1)},children:[p.jsx(Zn,{label:n.out,side:"top",children:p.jsx("span",{className:Or.controlAnchor,children:p.jsx(di,{size:"sm",className:Or.zoomButton,"aria-label":n.out,disabled:O<=Hn.minimum,onMouseDown:A=>{A.preventDefault()},onClick:()=>{l(J8(O,-1))},children:p.jsx("svg",{width:"14",height:"14",viewBox:"0 0 16 16","aria-hidden":"true",children:p.jsx("path",{d:"M2 8h12",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})})})})}),p.jsx(v4,{open:w,side:"top",align:"start",portal:!0,compact:!0,listClassName:Or.zoomMenu,anchor:p.jsxs(di,{size:"sm",className:Or.percent,"aria-label":n.menu,"aria-expanded":w,onMouseDown:A=>{A.preventDefault()},onClick:()=>{x(A=>!A)},children:[p.jsx("span",{children:n.value(Math.round(O*100))}),p.jsx(m4,{size:12})]}),items:P,selectedId:N,onClose:()=>{x(!1)},onSelect:A=>{x(!1),A==="fit"?r?.onSelect():l(Number(A))}}),p.jsx(Zn,{label:n.into,side:"top",children:p.jsx("span",{className:Or.controlAnchor,children:p.jsx(di,{size:"sm",className:Or.zoomButton,"aria-label":n.into,disabled:O>=Hn.maximum,onMouseDown:A=>{A.preventDefault()},onClick:()=>{l(J8(O,1))},children:p.jsx(p4,{size:14})})})})]})});function y4({active:e=!1,className:t,children:r,onClick:i,...n}){return i?p.jsx("button",{type:"button",className:fe(Ns.pill,Ns.interactive,e&&Ns.active,t),onClick:i,...n,children:r}):p.jsx("span",{className:fe(Ns.pill,e&&Ns.active,t),children:r})}function VD({items:e,value:t,onChange:r,label:i,className:n,size:s="md"}){const l=e.findIndex(f=>f.value===t),u=(f,h)=>{let g;switch(f.key){case"ArrowLeft":g=(h+e.length-1)%e.length;break;case"ArrowRight":g=(h+1)%e.length;break;case"Home":g=0;break;case"End":g=e.length-1;break;default:return}f.preventDefault(),f.stopPropagation();const y=f.currentTarget.parentElement,_=e[g];y===null||_===void 0||(y.querySelectorAll('[role="tab"]').item(g).focus(),r(_.value))};return p.jsxs("div",{role:"tablist","data-size":s,"aria-label":i,className:fe(O0.tabs,n),style:{gridTemplateColumns:`repeat(${e.length}, minmax(0, 1fr))`},children:[p.jsx("span",{className:O0.indicator,"aria-hidden":"true",style:{width:`calc((100% - 2 * var(--segmented-tabs-inset)) / ${e.length})`,transform:`translateX(${l*100}%)`}}),e.map((f,h)=>p.jsx(y4,{id:f.id,role:"tab",className:O0.tab,"aria-selected":t===f.value,"aria-controls":f.panelId,tabIndex:t===f.value?0:-1,onClick:()=>{r(f.value)},onKeyDown:g=>{u(g,h)},children:f.label},f.value))]})}function _4({tone:e="outline",className:t,children:r}){return p.jsx("span",{className:fe(ij.tag,t),"data-tone":e,children:r})}function BD({path:e,className:t,...r}){const i=k.useRef(null),n=k.useRef(null),{directory:s,name:l}=oj(e);return k.useLayoutEffect(()=>{const u=i.current,f=n.current,h=()=>{u.toggleAttribute("data-path-clipped",f.offsetWidth>u.clientWidth)};h();const g=typeof ResizeObserver>"u"?void 0:new ResizeObserver(h);return g?.observe(u),g?.observe(f),()=>{g?.disconnect()}},[e]),p.jsx("span",{...r,ref:i,className:fe(w1.path,t),title:e,"data-path-label":!0,children:p.jsxs("span",{ref:n,className:w1.text,children:[s!==""&&p.jsx("span",{className:w1.directory,children:s}),p.jsx("span",{className:w1.name,children:l})]})})}function WD({checked:e,onChange:t,label:r,disabled:i=!1,title:n,className:s}){return p.jsx("button",{type:"button",role:"switch","aria-checked":e,"aria-label":r,title:n,disabled:i,className:fe(O8.switch,s),onClick:()=>{t(!e)},children:p.jsx("span",{className:O8.thumb})})}function KD(e){return e==="ArrowLeft"||e==="ArrowRight"||e==="ArrowUp"||e==="ArrowDown"||e==="Home"||e==="End"}function qD(e,t,r){const i=e.filter(l=>l.disabled!==!0);if(r==="Home")return i[0];if(r==="End")return i[i.length-1];const n=r==="ArrowRight"||r==="ArrowDown"?1:-1,s=e.length;for(let l=1;l<s;l+=1){const u=e[((t+n*l)%s+s)%s];if(u!==void 0&&u.disabled!==!0)return u}}function JD({id:e,value:t,options:r,onChange:i,label:n,disabled:s=!1,className:l}){const u=k.useRef(null),f=r.findIndex(y=>y.value===t);k.useEffect(()=>{const y=u.current;y!==null&&y.contains(document.activeElement)&&y.querySelector('[role="tab"][aria-selected="true"]')?.focus()},[t]);const h=y=>{if(!KD(y.key))return;y.preventDefault();const _=qD(r,f,y.key);_!==void 0&&_.value!==t&&i(_.value)},g={"--dsh-segment-count":String(r.length),"--dsh-segment-index":String(f)};return p.jsxs("div",{ref:u,role:"tablist","aria-label":n,className:fe(M0.control,l),style:g,children:[p.jsx("span",{"aria-hidden":"true",className:M0.indicator}),r.map(y=>{const _=y.value===t;return p.jsx("button",{id:`${e}-${y.value}`,type:"button",role:"tab","aria-selected":_,"aria-controls":`${e}-${y.value}-panel`,tabIndex:_?0:-1,disabled:s||y.disabled===!0,title:y.title,className:M0.tab,onClick:()=>{_||i(y.value)},onKeyDown:h,children:y.label},y.value)})]})}function GD({checked:e,onChange:t,label:r,disabled:i=!1,title:n,className:s}){return p.jsxs("label",{className:fe(mj.checkbox,s),title:n,children:[p.jsx("input",{type:"checkbox",checked:e,disabled:i,onChange:l=>{t(l.target.checked)}}),p.jsx("span",{children:r})]})}const YD=k.forwardRef(function({icon:t,className:r,...i},n){return p.jsxs("span",{className:fe(T0.wrap,r),children:[t!=null&&p.jsx("span",{className:T0.icon,children:t}),p.jsx("input",{ref:n,className:T0.input,...i})]})});function XD({value:e,label:t,onChange:r,onSave:i,onCancel:n,className:s}){const l=k.useRef(null);k.useLayoutEffect(()=>{const f=l.current,h=()=>{f.style.height="auto",f.style.height=`${f.scrollHeight+f.offsetHeight-f.clientHeight}px`};h();const g=new ResizeObserver(h);return g.observe(f),()=>{g.disconnect()}},[e]);const u=f=>{if(f.key==="Escape"){n();return}const h=f.nativeEvent.isComposing||Reflect.get(f.nativeEvent,"keyCode")===229;f.key!=="Enter"||f.shiftKey||h||(f.preventDefault(),i())};return p.jsx("textarea",{ref:l,autoFocus:!0,rows:1,className:fe(wj.editor,s),"aria-label":t,value:e,onChange:f=>{r(f.currentTarget.value)},onKeyDown:u})}function QD({label:e,children:t}){const r=k.useId();return p.jsxs("section",{role:"group","aria-labelledby":r,"data-menu-group":"",className:L0.group,children:[p.jsx("span",{"aria-hidden":"true","data-menu-group-start":"",className:L0.start}),p.jsx("div",{id:r,"data-menu-group-heading":"",className:L0.heading,children:e}),t]})}function eR(e){const t=[...e.querySelectorAll(":scope > [data-menu-group]")].flatMap(g=>{const y=g.querySelector(":scope > [data-menu-group-heading]"),_=g.querySelector(":scope > [data-menu-group-start]");return y===null||_===null?[]:[{section:g,heading:y,start:_,atTop:!1,above:!1,topTime:-1/0,aboveTime:-1/0}]});if(t.length===0||typeof IntersectionObserver>"u"||typeof ResizeObserver>"u")return()=>{};const r=new Map(t.map(g=>[g.section,g])),i=new Map(t.map(g=>[g.start,g]));let n=!1,s,l;const u=g=>{const y=g.atTop&&g.above;g.heading.hasAttribute("data-stuck")!==y&&g.heading.toggleAttribute("data-stuck",y)},f=new IntersectionObserver(g=>{if(!n)for(const y of g){const _=i.get(y.target);!_||y.rootBounds===null||y.time<_.aboveTime||(_.above=y.boundingClientRect.top<y.rootBounds.top,_.aboveTime=y.time,u(_))}},{root:e,threshold:[0,1]});for(const{start:g}of t)f.observe(g);const h=new ResizeObserver(g=>{if(!n)for(const y of g){if(y.target!==e||y.contentRect.height===l)continue;l=y.contentRect.height,s?.disconnect();const _=new IntersectionObserver(w=>{if(!(n||s!==_))for(const x of w){const I=r.get(x.target);if(!I||x.rootBounds===null)continue;const S=x.rootBounds.top;x.time>=I.topTime&&(I.atTop=x.isIntersecting&&x.boundingClientRect.bottom>S,I.topTime=x.time),x.time>=I.aboveTime&&(I.above=x.boundingClientRect.top<S,I.aboveTime=x.time),u(I)}},{root:e,rootMargin:`0px 0px ${Math.min(1,l)-l}px 0px`,threshold:0});s=_;for(const{section:w}of t)_.observe(w)}});return h.observe(e),()=>{if(!n){n=!0,f.disconnect(),s?.disconnect(),h.disconnect();for(const{heading:g}of t)g.hasAttribute("data-stuck")&&g.removeAttribute("data-stuck")}}}const tR=12;function nR(e,t,r,i=tR){const[n,s]=k.useState(t);return k.useLayoutEffect(()=>{const l=e.current;if(l===null)return;const u=()=>{s(Math.min(t,Math.max(0,l.getBoundingClientRect().bottom-ia(i))))};return u(),window.addEventListener("resize",u),window.addEventListener("scroll",u,!0),()=>{window.removeEventListener("resize",u),window.removeEventListener("scroll",u,!0)}},[e,t,r,i]),n}function rR(e){const{open:t,anchorRef:r,panelRef:i,side:n="bottom",align:s="start",gap:l,margin:u}=e,[f,h]=k.useState(null);return k.useLayoutEffect(()=>{if(!t){h(null);return}const g=()=>{const w=r.current?.getBoundingClientRect();if(w===void 0)return;const x=i.current,I=x?.offsetWidth??0,S=x?.offsetHeight??0;let E=s==="end"?w.right-I:w.left,z=n==="top"?w.top-l-S:w.bottom+l;I>0&&(E=Math.min(Math.max(E,u),window.innerWidth-I-u)),S>0&&(z=Math.min(Math.max(z,ia(u,w,l)),window.innerHeight-S-u)),h({left:E,top:z})};g(),window.addEventListener("scroll",g,!0),window.addEventListener("resize",g);const y=i.current;let _=null;return typeof ResizeObserver<"u"&&y!==null&&(_=new ResizeObserver(g),_.observe(y)),()=>{_?.disconnect(),window.removeEventListener("scroll",g,!0),window.removeEventListener("resize",g)}},[t,r,i,n,s,l,u]),f}async function Ho(e){if(navigator.clipboard?.writeText)try{return await navigator.clipboard.writeText(e),!0}catch{return!1}const t=typeof document.execCommand=="function"?document.execCommand.bind(document):void 0;if(t===void 0)return!1;const r=document.createElement("textarea");r.value=e,r.setAttribute("readonly",""),r.style.position="fixed",r.style.left="-9999px",document.body.appendChild(r),r.select();try{return t("copy")}catch{return!1}finally{r.remove()}}const yy=k.createContext(null);function iR({children:e,className:t,as:r="div"}){const[i]=k.useState(()=>{let n="outside",s=!1,l=null;return{isWarm:()=>s,enter:u=>{n=u?"card":"list",u&&(s=!0)},leave:()=>{n="outside",l===null&&(s=!1)},containsCard:u=>u instanceof Node&&l!==null&&l.element.contains(u),shown:(u,f,h)=>{n==="card"&&(n="outside",s=!1),n==="list"&&(s=!0);const g=l;l={owner:u,dismiss:f,element:h},g!==null&&g.owner!==u&&g.dismiss()},release:u=>{l?.owner===u&&(l=null,n!=="list"&&(n="outside",s=!1))}}});return p.jsx(yy.Provider,{value:i,children:p.jsx(r,{className:t,onPointerOverCapture:n=>{const s=i.containsCard(n.target);(n.currentTarget.contains(n.target)||s)&&i.enter(s)},onPointerOutCapture:n=>{const s=n.currentTarget.contains(n.target)||i.containsCard(n.target),l=n.relatedTarget instanceof Node&&n.currentTarget.contains(n.relatedTarget)||i.containsCard(n.relatedTarget);s&&!l&&i.leave()},children:e})})}const G8=100,Y8=420,X8=24,oR=300,rr=8,Ut=8;function w4({anchor:e,content:t,openDelayMs:r=500,disabled:i=!1,grouped:n=!1,copyText:s,copyLabel:l,copiedLabel:u,variant:f="compact",widthAnchorRef:h,inline:g=!1,fitContent:y=!1}){const _=k.useRef(null),w=k.useRef(null),x=k.useRef(null),I=k.useRef(null),S=k.useRef(null),E=k.useRef(null),z=k.useRef(0),O=k.useRef(!1),P=k.useRef(!0),[N,A]=k.useState("closed"),K=N!=="closed",re=N==="closing",[V,H]=k.useState(null),te=V!==null,[ie,se]=k.useState(!1),xe=k.useContext(yy),ce=n?xe:null,[he]=k.useState(()=>Symbol("hover-card")),ze=k.useCallback(()=>{S.current!==null&&(clearTimeout(S.current),S.current=null),E.current=null,se(!1)},[]),Q=k.useCallback(()=>{z.current+=1,ze(),A(oe=>f==="preview"&&oe!=="closed"?"closing":"closed")},[ze,f]),{arm:U,cancel:X}=fy(Q),$=k.useCallback(()=>{I.current!==null&&(clearTimeout(I.current),I.current=null)},[]),Z=k.useCallback(()=>{$(),X(),z.current+=1,ze(),A("closed")},[$,X,ze]),W=K&&te;k.useLayoutEffect(()=>{if(!(!W||ce===null))return ce.shown(he,Z,x.current),()=>{ce.release(he)}},[ce,he,W,Z]),k.useEffect(()=>{if(!re)return;const oe=setTimeout(()=>{A("closed")},G8);return()=>{clearTimeout(oe)}},[re]),k.useEffect(()=>{i&&($(),X(),Q())},[i,X,Q]),k.useEffect(()=>(P.current=!0,()=>{P.current=!1,z.current+=1,$(),S.current!==null&&(clearTimeout(S.current),S.current=null)}),[]),k.useEffect(()=>{if(!K||f!=="preview"&&!g)return;const oe=le=>{le.key==="Escape"&&(g&&le.stopPropagation(),$(),X(),Q())};return window.addEventListener("keydown",oe,g),()=>{window.removeEventListener("keydown",oe,g)}},[K,f,g,X,Q]),k.useLayoutEffect(()=>{if(!K){H(null);return}const oe=()=>{const Pe=_.current;if(Pe===null)return;const Re=Pe.getBoundingClientRect(),ht=w.current?.offsetHeight??0;if(f==="preview"){const Je=h?.current?.getBoundingClientRect()??Re,it=Math.max(0,Math.min(Je.width-X8*2,window.innerWidth-Ut*2)),ct=ia(Ut,Re,rr),nn=Math.max(ct,Re.bottom+rr),vn=Math.max(0,Re.top-rr-ct),rn=Math.max(0,window.innerHeight-nn-Ut),on=vn>=Math.min(Y8,rn),Lt=Math.min(Y8,on?vn:rn);H({left:Math.max(Ut,Math.min(Je.left+X8,window.innerWidth-it-Ut)),top:on?Math.max(ct,Re.top-Math.min(ht,Lt)-rr):nn,width:it,maxHeight:Lt});return}if(g){const Je=Math.max(ht,w.current?.scrollHeight??0),it=Math.max(0,Math.min(oR,window.innerWidth-Ut*2)),ct=y?Math.min(w.current?.offsetWidth??it,it):it,nn=ia(Ut,Re,rr),vn=Math.max(nn,Re.bottom+rr),rn=Math.max(0,Re.top-rr-nn),on=Math.max(0,window.innerHeight-vn-Ut),Lt=Je>on&&rn>on,Fr=Lt?rn:on,Ii=Math.max(Ut,Math.min(Re.left,window.innerWidth-ct-Ut)),zi=Lt?Re.top-rr-Math.min(Je,Fr):vn,Bo=Lt?zi+Math.min(Je,Fr):Re.bottom,Wo=Math.min(Re.left,Ii);H({left:Ii,top:zi,...y?{}:{width:ct},maxWidth:it,maxHeight:Fr,bridge:{left:Wo,top:Bo,width:Math.max(Re.right,Ii+ct)-Wo,height:Math.max(0,(Lt?Re.top:zi)-Bo)}});return}const Tt=Re.top+ht>window.innerHeight-Ut?window.innerHeight-ht-Ut:Re.top;H({left:Re.right+rr,top:Tt})};oe();const le=(f==="preview"||g)&&typeof ResizeObserver<"u"?new ResizeObserver(oe):null;for(const Pe of[w.current,_.current,h?.current])Pe!=null&&le?.observe(Pe);return window.addEventListener("scroll",oe,!0),window.addEventListener("resize",oe),()=>{le?.disconnect(),window.removeEventListener("scroll",oe,!0),window.removeEventListener("resize",oe)}},[K,f,h,te,g,y]),k.useLayoutEffect(()=>{if(!K||V===null||f==="preview"||g)return;const oe=w.current?.offsetHeight??0;V.top+oe>window.innerHeight-Ut&&H({left:V.left,top:window.innerHeight-oe-Ut})},[K,V,f,g]);const ne=async oe=>{if(ie||O.current)return;O.current=!0;const le=z.current,Pe=await Ho(oe);O.current=!1;const Re=w.current;if(!Pe||!P.current||le!==z.current||Re===null)return;const ht=Re.offsetHeight;E.current=ht>0?ht:null,se(!0),S.current=setTimeout(ze,1e3)},pe=s!==void 0,be=oe=>{x.current?.contains(oe.target)||($(),X(),Q())},_e=K&&V!==null&&p.jsx("div",{ref:w,className:fe(fn.card,f==="preview"&&fn.preview,g&&fn.media,g&&y&&fn.fitContent,pe&&fn.copyable,ie&&fn.feedback),"data-closing":re||void 0,style:{left:V.left,top:V.top,width:V.width,maxWidth:V.maxWidth,maxHeight:V.maxHeight,minHeight:ie&&E.current!==null?E.current:void 0,"--dsh-hover-preview-fade":`${G8}ms`},role:pe?"button":void 0,tabIndex:pe?0:void 0,"aria-label":pe?`${l}: ${s}`:void 0,onClick:pe?oe=>{const le=window.getSelection();if(le!==null&&!le.isCollapsed){for(let Pe=0;Pe<le.rangeCount;Pe+=1)if(le.getRangeAt(Pe).intersectsNode(oe.currentTarget))return}ne(s)}:void 0,onKeyDown:pe?oe=>{oe.key!=="Enter"&&oe.key!==" "||(oe.preventDefault(),ne(s))}:void 0,children:ie?p.jsx("span",{className:fn.copied,"aria-hidden":"true",children:u}):t});return p.jsxs("span",{ref:_,className:fe(fn.root,g&&fn.inline),onFocus:g?oe=>{!i&&oe.target.matches(":focus-visible")&&(X(),A("open"))}:void 0,onBlur:g?oe=>{oe.currentTarget.contains(oe.relatedTarget)||($(),X(),Q())}:void 0,onPointerEnter:oe=>{if(!(i||oe.pointerType==="touch")&&!(oe.pointerType==="mouse"&&!window.matchMedia("(any-hover: hover)").matches)){if(X(),K){A("open");return}$(),ce?.isWarm()?A("open"):I.current=setTimeout(()=>{A("open")},r)}},onPointerLeave:()=>{$(),K&&U()},onPointerDownCapture:be,onClickCapture:be,children:[e,K&&pe&&p.jsx("span",{className:fn.status,role:"status",children:ie?u:""}),_e!==!1&&On.createPortal(p.jsxs("span",{ref:x,className:fn.portal,children:[V.bridge!==void 0&&p.jsx("span",{className:fn.bridge,style:V.bridge,"data-hovercard-bridge":"","aria-hidden":!0}),_e]}),document.body)]})}function _y({open:e,onClose:t,title:r,closeLabel:i,description:n,children:s,footer:l,className:u,contentClassName:f,onKeyDownCapture:h,headless:g=!1,backdropBlur:y=!0,shortcutModal:_}){const w=k.useRef(null);return my(w,e,t),e?On.createPortal(p.jsxs("div",{className:Rn.root,role:"presentation",onKeyDownCapture:h,children:[p.jsx("div",{className:Rn.mask,style:y?void 0:{backdropFilter:"none"},"aria-hidden":"true",onClick:t}),p.jsx("div",{ref:w,tabIndex:-1,"data-shortcut-modal":_,className:fe(Rn.dialog,u),role:"dialog","aria-modal":"true","aria-label":r,children:g?s:p.jsxs(p.Fragment,{children:[p.jsxs("div",{className:fe(Rn.content,f),children:[p.jsxs("div",{className:Rn.header,children:[p.jsx("h2",{className:Rn.title,children:r}),p.jsx("button",{type:"button",className:Rn.close,"aria-label":i,onClick:t,children:p.jsx(rl,{size:14})})]}),n!==void 0&&n!==""&&p.jsx("p",{className:Rn.description,children:n}),s!==void 0&&p.jsx("div",{className:Rn.body,children:s})]}),l!==void 0&&p.jsx("div",{className:Rn.footer,children:l})]})})]}),document.body):null}function sR({open:e,title:t,description:r,acknowledgeLabel:i,cancelLabel:n,closeLabel:s,confirmLabel:l,acknowledged:u,disabled:f=!1,onAcknowledgedChange:h,onCancel:g,onConfirm:y}){return p.jsxs(_y,{open:e,onClose:g,title:t,closeLabel:s,className:ei.confirmation,contentClassName:ei.confirmationContent,footer:p.jsxs(p.Fragment,{children:[p.jsx(di,{variant:"outline",className:ei.modalAction,onClick:g,children:n}),p.jsx(di,{variant:"primary",className:ei.confirmAction,disabled:f||!u,onClick:y,children:l})]}),children:[p.jsxs("div",{className:ei.warning,children:[p.jsx(iy,{size:18,className:ei.warningIcon}),p.jsx("p",{children:r})]}),p.jsxs("label",{className:ei.acknowledgement,children:[p.jsx("input",{type:"checkbox",checked:u,disabled:f,"data-modal-autofocus":!0,onChange:_=>{h(_.currentTarget.checked)}}),p.jsx("span",{children:i})]})]})}const aR=150;function lR({state:e,disconnectedLabel:t,connectingLabel:r,recoveredLabel:i,reconnectActionLabel:n,restartActionLabel:s,onReconnect:l}){const[u,f]=k.useState(e),h=e===void 0&&u!==void 0;if(k.useEffect(()=>{if(e!==void 0){f(e);return}if(u===void 0)return;const _=window.setTimeout(()=>{f(void 0)},aR);return()=>{window.clearTimeout(_)}},[e,u]),u===void 0)return null;const g=h?` ${hn.leaving}`:"";if(u==="recovered")return p.jsxs("div",{className:`${hn.indicator} ${hn.success}${g}`,role:"status","aria-label":i,children:[p.jsx("span",{className:hn.icon,"aria-hidden":"true",children:p.jsx(Uo,{size:14})}),p.jsx("span",{className:hn.label,children:i})]});const y=u==="connecting";return p.jsxs("button",{type:"button",className:`${hn.indicator} ${hn.warning}${g}`,"data-phase":u,"aria-label":y?s:n,onClick:l,children:[p.jsx("span",{className:hn.icon,"aria-hidden":"true",children:y?p.jsx(yu,{state:"ongoing"}):p.jsx(ry,{size:14})}),p.jsx("span",{className:hn.label,children:y?p.jsxs(p.Fragment,{children:[r,p.jsxs("span",{className:hn.dots,"aria-hidden":"true",children:[p.jsx("span",{children:"."}),p.jsx("span",{className:hn.secondDot,children:"."}),p.jsx("span",{className:hn.thirdDot,children:"."})]})]}):t})]})}const Hs={width:23.16,height:17.04},wy="M22.9168 1.43018C22.6713 1.31018 22.5658 1.53918 22.4223 1.65519C22.3733 1.69269 22.3318 1.74169 22.2903 1.78669C21.9317 2.1697 21.5127 2.42121 20.9657 2.39121C20.1657 2.34621 19.4827 2.59771 18.8787 3.20973C18.7502 2.45521 18.3236 2.0047 17.6746 1.71569C17.3351 1.56568 16.9916 1.41518 16.7536 1.08867C16.5876 0.856163 16.5421 0.597155 16.4591 0.341647C16.4061 0.187643 16.3536 0.0301382 16.1761 0.00363739C15.9836 -0.0263635 15.9081 0.135141 15.8326 0.270145C15.5306 0.822162 15.4136 1.43018 15.4251 2.0462C15.4516 3.43174 16.0366 4.53527 17.1991 5.3203C17.3311 5.4103 17.3651 5.5003 17.3236 5.63181C17.2441 5.90231 17.1501 6.16482 17.0671 6.43533C17.0141 6.60784 16.9351 6.64584 16.7501 6.57033C16.1121 6.30383 15.5611 5.90931 15.074 5.4328C14.2475 4.63328 13.5 3.75075 12.568 3.05973C12.349 2.89822 12.13 2.74822 11.9034 2.60522C10.9524 1.68169 12.028 0.923165 12.277 0.833162C12.5375 0.739159 12.3675 0.41615 11.5259 0.42015C10.6844 0.42365 9.91439 0.705658 8.93286 1.08117C8.78935 1.13767 8.63835 1.17867 8.48384 1.21267C7.59332 1.04367 6.66829 1.00617 5.70226 1.11517C3.88321 1.31768 2.43016 2.1777 1.36213 3.64575C0.0790928 5.4103 -0.222916 7.41536 0.146595 9.50642C0.535106 11.7105 1.66014 13.535 3.38869 14.9616C5.18125 16.4406 7.24581 17.1657 9.60138 17.0266C11.0319 16.9441 12.6245 16.7526 14.421 15.2321C14.874 15.4576 15.3496 15.5476 16.1381 15.6151C16.7456 15.6716 17.3306 15.5851 17.7836 15.4911C18.4931 15.3411 18.4441 14.6841 18.1876 14.5636C16.1081 13.595 16.5646 13.9891 16.1496 13.67C17.2061 12.42 18.8202 10.1979 19.3182 7.17235C19.3672 6.83834 19.4297 6.36783 19.4222 6.09732C19.4182 5.93231 19.4562 5.86831 19.6447 5.84931C20.1657 5.78931 20.6712 5.64681 21.1357 5.3913C22.4833 4.65528 23.0268 3.44624 23.1548 1.9972C23.1738 1.77569 23.1508 1.54668 22.9168 1.43018ZM11.1749 14.4736C9.15936 12.889 8.18184 12.3675 7.77832 12.39C7.40081 12.4125 7.46881 12.8445 7.55182 13.126C7.63882 13.404 7.75182 13.5955 7.91033 13.8396C8.01983 14.0011 8.09533 14.2411 7.80083 14.4216C7.15181 14.8231 6.02327 14.2866 5.97027 14.2601C4.65673 13.4865 3.5587 12.4655 2.78467 11.069C2.03715 9.72493 1.60314 8.28289 1.53164 6.74384C1.51264 6.37233 1.62214 6.24082 1.99215 6.17332C2.47916 6.08332 2.98118 6.06432 3.46769 6.13582C5.52476 6.43633 7.27581 7.35586 8.74385 8.8129C9.58188 9.64243 10.2159 10.634 10.8689 11.6025C11.5634 12.631 12.3105 13.611 13.262 14.4146C13.598 14.6961 13.866 14.9101 14.1225 15.0681C13.349 15.1546 12.058 15.1731 11.1749 14.4746L11.1749 14.4736ZM12.141 8.25988C12.141 8.09488 12.273 7.96338 12.439 7.96338C12.4765 7.96338 12.5105 7.97088 12.541 7.98188C12.5825 7.99688 12.6205 8.01938 12.6505 8.05338C12.7035 8.10588 12.7335 8.18088 12.7335 8.25988C12.7335 8.42489 12.6015 8.55639 12.4355 8.55639C12.2695 8.55639 12.141 8.42489 12.141 8.25988ZM15.1415 9.79893C14.949 9.87793 14.7565 9.94544 14.5715 9.95294C14.2845 9.96794 13.9715 9.85143 13.8015 9.70893C13.5375 9.48742 13.3485 9.36342 13.2695 8.97691C13.2355 8.8119 13.2545 8.55639 13.2845 8.40989C13.3525 8.09438 13.277 7.89187 13.0545 7.70787C12.8735 7.55786 12.643 7.51636 12.39 7.51636C12.2955 7.51636 12.209 7.47486 12.1445 7.44136C12.039 7.38886 11.9519 7.25735 12.035 7.09585C12.0615 7.04335 12.19 6.91584 12.22 6.89334C12.5635 6.69784 12.9595 6.76184 13.326 6.90834C13.6655 7.04735 13.9225 7.30236 14.292 7.66287C14.6695 8.09838 14.7375 8.21838 14.9525 8.54539C15.1225 8.8009 15.277 9.06341 15.3831 9.36392C15.4471 9.55142 15.3641 9.70493 15.1415 9.79893Z";function cR({size:e=24,className:t}){return p.jsx("svg",{width:e,height:e*Hs.height/Hs.width,className:t,viewBox:`0 0 ${Hs.width} ${Hs.height}`,fill:"none","aria-hidden":"true",children:p.jsx("path",{d:wy,fill:"currentColor"})})}function uR({size:e=24,className:t,includeMark:r=!0}){return p.jsxs("svg",{width:e*(r?182:156)/24,height:e,className:t,viewBox:r?"0 0 182 24":"26 0 156 24",fill:"none","aria-hidden":"true",children:[p.jsx("path",{d:"M68.416 18.2447H67.0501V16.1272H68.416C69.2619 16.1272 70.1166 15.9163 70.6671 15.3304C71.2181 14.7444 71.426 13.8455 71.426 12.9471C71.426 12.0487 71.2268 11.1498 70.6671 10.5643C70.1083 9.97831 69.2619 9.76744 68.416 9.76744C67.5701 9.76744 66.7154 9.97831 66.1639 10.5643C65.6129 11.1503 65.4049 12.0487 65.4049 12.9471V21.6435H63.009V7.6582H65.4049V8.54883H65.8442C65.8918 8.49393 65.9394 8.44728 65.9875 8.40064C66.5871 7.85353 67.5049 7.6582 68.4072 7.6582C69.8212 7.6582 71.2341 8.00998 72.1607 8.98662C73.0868 9.96325 73.4143 11.4632 73.4143 12.9558C73.4143 14.4485 73.0785 15.9406 72.1607 16.925C71.2424 17.9094 69.8212 18.2457 68.416 18.2457V18.2447Z",fill:"currentColor"}),p.jsx("path",{d:"M31.9551 8.03497H33.3204V10.1525H31.9551C31.1087 10.1525 30.2545 10.3633 29.7035 10.9493C29.1525 11.5353 28.945 12.4342 28.945 13.3326C28.945 14.231 29.1447 15.1294 29.7035 15.7154C30.2623 16.3014 31.1087 16.5122 31.9551 16.5122C32.8015 16.5122 33.6562 16.3014 34.2072 15.7154C34.7582 15.1294 34.9657 14.231 34.9657 13.3326V4.62842H37.3611V18.6219H34.9657V17.7313H34.5264C34.4783 17.7857 34.4307 17.8329 34.3826 17.8795C33.7835 18.4261 32.8652 18.6219 31.9629 18.6219C30.5494 18.6219 29.136 18.2707 28.2099 17.294C27.2838 16.3174 26.9563 14.817 26.9563 13.3248C26.9563 11.8327 27.2916 10.34 28.2099 9.35561C29.136 8.37898 30.5494 8.03497 31.9551 8.03497Z",fill:"currentColor"}),p.jsx("path",{d:"M49.3786 13.1431V13.9948H42.9984V12.2996H47.2305C47.1348 11.6825 46.9113 11.1043 46.5119 10.682C45.9371 10.0727 45.0503 9.85409 44.1723 9.85409C43.2943 9.85409 42.4076 10.0727 41.8328 10.682C41.258 11.2913 41.05 12.2213 41.05 13.1435C41.05 14.0658 41.2575 15.003 41.8328 15.6046C42.4076 16.2061 43.2939 16.433 44.1723 16.433C45.0508 16.433 45.9371 16.2143 46.5119 15.6046C46.5916 15.5186 46.6635 15.4248 46.7354 15.331H49.0992C48.8918 16.0657 48.5643 16.7299 48.0691 17.2454C47.111 18.2531 45.6339 18.6205 44.1723 18.6205C42.7108 18.6205 41.2337 18.2609 40.2755 17.2454C39.3174 16.2299 38.9661 14.6828 38.9661 13.1435C38.9661 11.6043 39.3096 10.0494 40.2755 9.04168C41.242 8.03396 42.7108 7.66663 44.1723 7.66663C45.6339 7.66663 47.111 8.02618 48.0691 9.04168C49.0351 10.0572 49.3786 11.6043 49.3786 13.1435V13.1431Z",fill:"currentColor"}),p.jsx("path",{d:"M61.4045 13.1431V13.9948H55.0243V12.2996H59.2564C59.1602 11.6825 58.9372 11.1043 58.5378 10.682C57.963 10.0727 57.0762 9.85409 56.1982 9.85409C55.3202 9.85409 54.4335 10.0727 53.8587 10.682C53.2839 11.2913 53.0759 12.2213 53.0759 13.1435C53.0759 14.0658 53.2834 15.003 53.8587 15.6046C54.4335 16.2061 55.3202 16.433 56.1982 16.433C57.0762 16.433 57.963 16.2143 58.5378 15.6046C58.6179 15.5186 58.6894 15.4248 58.7608 15.331H61.1251C60.9171 16.0657 60.5897 16.7299 60.0945 17.2454C59.1364 18.2531 57.6593 18.6205 56.1982 18.6205C54.7372 18.6205 53.2596 18.2609 52.3014 17.2454C51.3432 16.2299 50.9919 14.6828 50.9919 13.1435C50.9919 11.6043 51.3355 10.0494 52.3014 9.04168C53.2678 8.03396 54.7367 7.66663 56.1982 7.66663C57.6598 7.66663 59.1364 8.02618 60.0945 9.04168C61.061 10.0572 61.4045 11.6043 61.4045 13.1435V13.1431Z",fill:"currentColor"}),p.jsx("path",{d:"M80.242 18.6214C81.7035 18.6214 83.1801 18.4105 84.1383 17.809C85.0965 17.2075 85.4482 16.2931 85.4482 15.3869C85.4482 14.4807 85.1042 13.5585 84.1383 12.9647C83.1801 12.371 81.703 12.1518 80.242 12.1518C79.6186 12.1518 79.0438 12.0658 78.6366 11.8394C78.2294 11.6047 78.0778 11.2534 78.0778 10.9017C78.0778 10.5499 78.2216 10.1908 78.6366 9.9639C79.0438 9.72921 79.6749 9.65147 80.2973 9.65147C80.9198 9.65147 81.5509 9.73747 81.9591 9.9639C82.3663 10.1986 82.5179 10.5499 82.5179 10.9017H84.9531C84.9531 9.99499 84.6421 9.07327 83.7719 8.47951C82.9017 7.88576 81.5679 7.66663 80.2424 7.66663C78.9169 7.66663 77.5837 7.8775 76.713 8.47951C75.8427 9.08104 75.5308 9.99499 75.5308 10.9017C75.5308 11.8083 75.8423 12.73 76.713 13.3238C77.5832 13.9176 78.9165 14.1367 80.2424 14.1367C80.929 14.1367 81.688 14.2227 82.1428 14.4491C82.5985 14.676 82.7579 15.0351 82.7579 15.3869C82.7579 15.7387 82.5985 16.0977 82.1428 16.3246C81.688 16.5511 80.9931 16.6371 80.3066 16.6371C79.62 16.6371 78.9169 16.5511 78.4694 16.3246C78.0224 16.0982 77.8543 15.7387 77.8543 15.3869H75.0435C75.0435 16.2935 75.3865 17.2153 76.3534 17.809C77.3194 18.4028 78.7809 18.6214 80.2424 18.6214H80.242Z",fill:"currentColor"}),p.jsx("path",{d:"M97.4733 13.1431V13.9948H91.0932V12.2996H95.3252C95.23 11.6825 95.006 11.1043 94.6071 10.682C94.0313 10.0727 93.1456 9.85409 92.2666 9.85409C91.3876 9.85409 90.5018 10.0727 89.927 10.682C89.3522 11.2913 89.1452 12.2213 89.1452 13.1435C89.1452 14.0658 89.3522 15.003 89.927 15.6046C90.5018 16.2061 91.3886 16.433 92.2666 16.433C93.1446 16.433 94.0313 16.2143 94.6071 15.6046C94.6863 15.5186 94.7587 15.4248 94.8301 15.331H97.1935C96.9855 16.0657 96.6585 16.7299 96.1639 17.2454C95.2057 18.2531 93.7281 18.6205 92.2666 18.6205C90.805 18.6205 89.3284 18.2609 88.3703 17.2454C87.4121 16.2299 87.0613 14.6828 87.0613 13.1435C87.0613 11.6043 87.4043 10.0494 88.3703 9.04168C89.3367 8.03396 90.806 7.66663 92.2666 7.66663C93.7272 7.66663 95.2057 8.02618 96.1639 9.04168C97.1298 10.0572 97.4729 11.6043 97.4729 13.1435L97.4733 13.1431Z",fill:"currentColor"}),p.jsx("path",{d:"M109.499 13.1431V13.9948H103.119V12.2996H107.351C107.256 11.6825 107.032 11.1043 106.632 10.682C106.057 10.0727 105.172 9.85409 104.293 9.85409C103.414 9.85409 102.528 10.0727 101.953 10.682C101.378 11.2913 101.17 12.2213 101.17 13.1435C101.17 14.0658 101.378 15.003 101.953 15.6046C102.528 16.2061 103.415 16.433 104.293 16.433C105.171 16.433 106.057 16.2143 106.632 15.6046C106.712 15.5186 106.784 15.4248 106.856 15.331H109.22C109.012 16.0657 108.685 16.7299 108.19 17.2454C107.231 18.2531 105.754 18.6205 104.293 18.6205C102.831 18.6205 101.355 18.2609 100.396 17.2454C99.4382 16.2299 99.0864 14.6828 99.0864 13.1435C99.0864 11.6043 99.4295 10.0494 100.396 9.04168C101.362 8.03396 102.832 7.66663 104.293 7.66663C105.754 7.66663 107.231 8.02618 108.19 9.04168C109.156 10.0572 109.499 11.6043 109.499 13.1435V13.1431Z",fill:"currentColor"}),p.jsx("path",{d:"M113.5 4.62817H111.104V18.6217H113.5V4.62817Z",fill:"currentColor"}),p.jsx("path",{d:"M117.589 12.8154L121.517 18.6208H118.554L114.625 12.8154L118.554 8.15088H121.517L117.589 12.8154Z",fill:"currentColor"}),p.jsx("g",{clipPath:"url(#dsh-wordmark-whale-clip)",children:p.jsx("path",{d:"M23.0584 4.95203C22.8129 4.83203 22.7074 5.06103 22.5639 5.17704C22.5149 5.21454 22.4734 5.26354 22.4319 5.30854C22.0734 5.69155 21.6543 5.94306 21.1073 5.91306C20.3073 5.86806 19.6243 6.11957 19.0203 6.73158C18.8918 5.97706 18.4652 5.52655 17.8162 5.23754C17.4767 5.08753 17.1332 4.93703 16.8952 4.61052C16.7292 4.37801 16.6837 4.11901 16.6007 3.8635C16.5477 3.70949 16.4952 3.55199 16.3177 3.52549C16.1252 3.49549 16.0497 3.65699 15.9742 3.792C15.6722 4.34401 15.5552 4.95203 15.5667 5.56805C15.5932 6.95359 16.1782 8.05712 17.3407 8.84215C17.4727 8.93215 17.5067 9.02215 17.4652 9.15366C17.3857 9.42416 17.2917 9.68667 17.2087 9.95718C17.1557 10.1297 17.0767 10.1677 16.8917 10.0922C16.2537 9.82568 15.7027 9.43117 15.2156 8.95465C14.3891 8.15513 13.6416 7.2726 12.7096 6.58158C12.4906 6.42007 12.2716 6.27007 12.045 6.12707C11.094 5.20354 12.1696 4.44502 12.4186 4.35501C12.6791 4.26101 12.5091 3.938 11.6675 3.942C10.826 3.9455 10.056 4.22751 9.07446 4.60302C8.93096 4.65952 8.77995 4.70052 8.62545 4.73452C7.73492 4.56552 6.80989 4.52802 5.84386 4.63702C4.02481 4.83953 2.57177 5.69955 1.50373 7.1676C0.220694 8.93215 -0.0813148 10.9372 0.288196 13.0283C0.676708 15.2323 1.80174 17.0569 3.53029 18.4834C5.32285 19.9625 7.38741 20.6875 9.74298 20.5485C11.1735 20.466 12.7661 20.2745 14.5626 18.7539C15.0156 18.9795 15.4912 19.0695 16.2797 19.137C16.8872 19.1935 17.4722 19.107 17.9252 19.013C18.6347 18.8629 18.5857 18.2059 18.3292 18.0854C16.2497 17.1169 16.7062 17.5109 16.2912 17.1919C17.3477 15.9419 18.9618 13.7198 19.4598 10.6942C19.5088 10.3602 19.5713 9.88968 19.5638 9.61917C19.5598 9.45417 19.5978 9.39016 19.7863 9.37116C20.3073 9.31116 20.8128 9.16866 21.2773 8.91315C22.6249 8.17713 23.1684 6.96809 23.2964 5.51905C23.3154 5.29754 23.2924 5.06853 23.0584 4.95203ZM11.3165 17.9954C9.30097 16.4109 8.32344 15.8894 7.91992 15.9119C7.54241 15.9344 7.61042 16.3664 7.69342 16.6479C7.78042 16.9259 7.89342 17.1174 8.05193 17.3614C8.16143 17.5229 8.23694 17.7629 7.94243 17.9434C7.29341 18.3449 6.16487 17.8084 6.11187 17.7819C4.79833 17.0084 3.7003 15.9874 2.92628 14.5908C2.17875 13.2468 1.74474 11.8047 1.67324 10.2657C1.65424 9.89418 1.76374 9.76267 2.13375 9.69517C2.62077 9.60517 3.12278 9.58617 3.6093 9.65767C5.66636 9.95818 7.41741 10.8777 8.88545 12.3348C9.72348 13.1643 10.3575 14.1558 11.0105 15.1243C11.705 16.1529 12.4521 17.1329 13.4036 17.9364C13.7396 18.2179 14.0076 18.4319 14.2641 18.5899C13.4906 18.6764 12.1996 18.6949 11.3165 17.9964V17.9954ZM12.2826 11.7817C12.2826 11.6167 12.4146 11.4852 12.5806 11.4852C12.6181 11.4852 12.6521 11.4927 12.6826 11.5037C12.7241 11.5187 12.7621 11.5412 12.7921 11.5752C12.8451 11.6277 12.8751 11.7027 12.8751 11.7817C12.8751 11.9467 12.7431 12.0782 12.5771 12.0782C12.4111 12.0782 12.2826 11.9467 12.2826 11.7817ZM15.2831 13.3208C15.0906 13.3998 14.8981 13.4673 14.7131 13.4748C14.4261 13.4898 14.1131 13.3733 13.9431 13.2308C13.6791 13.0093 13.4901 12.8853 13.4111 12.4988C13.3771 12.3338 13.3961 12.0782 13.4261 11.9317C13.4941 11.6162 13.4186 11.4137 13.1961 11.2297C13.0151 11.0797 12.7846 11.0382 12.5316 11.0382C12.4371 11.0382 12.3506 10.9967 12.2861 10.9632C12.1806 10.9107 12.0936 10.7792 12.1766 10.6177C12.2031 10.5652 12.3316 10.4377 12.3616 10.4152C12.7051 10.2197 13.1011 10.2837 13.4676 10.4302C13.8071 10.5692 14.0641 10.8242 14.4336 11.1847C14.8111 11.6202 14.8791 11.7402 15.0941 12.0672C15.2641 12.3228 15.4186 12.5853 15.5247 12.8858C15.5887 13.0733 15.5057 13.2268 15.2831 13.3208Z",fill:"currentColor"})}),p.jsx("rect",{x:"129.348",y:"5.5",width:"52",height:"14",rx:"2",fill:"currentColor"}),p.jsxs("g",{clipPath:"url(#dsh-wordmark-badge-clip)",children:[p.jsx("path",{d:"M132.848 8.93205H134.08V16.137H132.848V8.93205ZM136.5 8.93205H137.732V16.137H136.5V8.93205ZM133.365 13.024V11.99H137.193V13.024H133.365Z",fill:"var(--dsw-alias-label-primary-inverted)"}),p.jsx("path",{d:"M140.397 14.432L140.672 13.453H143.202L143.532 14.432H140.397ZM140.287 16.137H139.055L141.277 8.93205H142.201L142.146 9.74605L140.947 13.915H140.969L140.287 16.137ZM145.039 16.137H143.741L143.07 13.948L143.081 13.937L141.871 9.74605L141.926 8.93205H142.817L145.039 16.137Z",fill:"var(--dsw-alias-label-primary-inverted)"}),p.jsx("path",{d:"M146.846 8.93205H149.068C149.852 8.93205 150.443 9.11538 150.839 9.48205C151.235 9.84138 151.433 10.3327 151.433 10.956C151.433 11.22 151.396 11.4657 151.323 11.693C151.249 11.9204 151.125 12.1257 150.949 12.309C150.773 12.4924 150.531 12.65 150.223 12.782C149.922 12.9067 149.541 13.0057 149.079 13.079V13.321H146.846V12.639L148.023 12.485C148.631 12.4044 149.09 12.298 149.398 12.166C149.706 12.034 149.915 11.8764 150.025 11.693C150.135 11.5024 150.19 11.2934 150.19 11.066C150.19 10.6994 150.083 10.417 149.871 10.219C149.658 10.021 149.324 9.92205 148.87 9.92205H146.846V8.93205ZM146.395 8.93205H147.627V16.137H146.395V8.93205ZM151.917 16.093V16.137H150.366L149.024 14.322C148.87 14.1094 148.73 13.9407 148.606 13.816C148.481 13.684 148.345 13.5887 148.199 13.53C148.052 13.464 147.872 13.42 147.66 13.398C147.447 13.3687 147.176 13.3504 146.846 13.343V13.145H149.079C149.233 13.211 149.368 13.2844 149.486 13.365C149.61 13.4457 149.735 13.5447 149.86 13.662C149.992 13.7794 150.138 13.937 150.3 14.135L151.917 16.093Z",fill:"var(--dsw-alias-label-primary-inverted)"}),p.jsx("path",{d:"M153.58 9.57005L153.591 8.93205H154.46L157.584 15.51V16.137H156.704L153.58 9.57005ZM158.024 16.137H156.968L156.88 8.93205H158.024V16.137ZM154.24 16.137H153.096V8.93205H154.152L154.24 16.137Z",fill:"var(--dsw-alias-label-primary-inverted)"}),p.jsx("path",{d:"M159.963 8.93205H161.206V16.137H159.963V8.93205ZM160.095 9.96605V8.93205H164.858V9.96605H160.095ZM160.095 16.137V15.103H164.902V16.137H160.095ZM160.095 13.013V11.99H164.374V13.013H160.095Z",fill:"var(--dsw-alias-label-primary-inverted)"}),p.jsx("path",{d:"M169.052 15.257C169.543 15.257 169.895 15.1654 170.108 14.982C170.328 14.7987 170.438 14.5457 170.438 14.223C170.438 14.047 170.405 13.8967 170.339 13.772C170.273 13.6474 170.152 13.5337 169.976 13.431C169.807 13.321 169.558 13.2147 169.228 13.112L168.491 12.881C167.846 12.6757 167.38 12.4044 167.094 12.067C166.808 11.7297 166.665 11.3007 166.665 10.78C166.665 10.428 166.76 10.1017 166.951 9.80105C167.142 9.50038 167.428 9.25838 167.809 9.07505C168.19 8.89172 168.663 8.80005 169.228 8.80005C169.631 8.80005 169.998 8.82938 170.328 8.88805C170.665 8.93938 171.039 9.01638 171.45 9.11905L171.274 10.175C170.834 10.0504 170.442 9.96238 170.097 9.91105C169.76 9.85238 169.463 9.82305 169.206 9.82305C168.737 9.82305 168.403 9.90738 168.205 10.076C168.007 10.2374 167.908 10.439 167.908 10.681C167.908 10.857 167.941 11.0147 168.007 11.154C168.073 11.286 168.19 11.407 168.359 11.517C168.535 11.627 168.784 11.7334 169.107 11.836L169.866 12.078C170.526 12.276 170.995 12.5327 171.274 12.848C171.553 13.156 171.692 13.585 171.692 14.135C171.692 14.5604 171.589 14.9344 171.384 15.257C171.179 15.5797 170.878 15.8327 170.482 16.016C170.093 16.1994 169.609 16.291 169.03 16.291C168.627 16.291 168.212 16.247 167.787 16.159C167.362 16.071 166.9 15.9427 166.401 15.774L166.665 14.718C167.156 14.894 167.6 15.0297 167.996 15.125C168.399 15.213 168.751 15.257 169.052 15.257Z",fill:"var(--dsw-alias-label-primary-inverted)"}),p.jsx("path",{d:"M175.809 15.257C176.3 15.257 176.652 15.1654 176.865 14.982C177.085 14.7987 177.195 14.5457 177.195 14.223C177.195 14.047 177.162 13.8967 177.096 13.772C177.03 13.6474 176.909 13.5337 176.733 13.431C176.564 13.321 176.315 13.2147 175.985 13.112L175.248 12.881C174.603 12.6757 174.137 12.4044 173.851 12.067C173.565 11.7297 173.422 11.3007 173.422 10.78C173.422 10.428 173.517 10.1017 173.708 9.80105C173.899 9.50038 174.185 9.25838 174.566 9.07505C174.947 8.89172 175.42 8.80005 175.985 8.80005C176.388 8.80005 176.755 8.82938 177.085 8.88805C177.422 8.93938 177.796 9.01638 178.207 9.11905L178.031 10.175C177.591 10.0504 177.199 9.96238 176.854 9.91105C176.517 9.85238 176.22 9.82305 175.963 9.82305C175.494 9.82305 175.16 9.90738 174.962 10.076C174.764 10.2374 174.665 10.439 174.665 10.681C174.665 10.857 174.698 11.0147 174.764 11.154C174.83 11.286 174.947 11.407 175.116 11.517C175.292 11.627 175.541 11.7334 175.864 11.836L176.623 12.078C177.283 12.276 177.752 12.5327 178.031 12.848C178.31 13.156 178.449 13.585 178.449 14.135C178.449 14.5604 178.346 14.9344 178.141 15.257C177.936 15.5797 177.635 15.8327 177.239 16.016C176.85 16.1994 176.366 16.291 175.787 16.291C175.384 16.291 174.969 16.247 174.544 16.159C174.119 16.071 173.657 15.9427 173.158 15.774L173.422 14.718C173.913 14.894 174.357 15.0297 174.753 15.125C175.156 15.213 175.508 15.257 175.809 15.257Z",fill:"var(--dsw-alias-label-primary-inverted)"})]}),p.jsxs("defs",{children:[p.jsx("clipPath",{id:"dsh-wordmark-whale-clip",children:p.jsx("rect",{width:"23.16",height:"17.0435",fill:"white",transform:"translate(0.141602 3.52185)"})}),p.jsx("clipPath",{id:"dsh-wordmark-badge-clip",children:p.jsx("rect",{width:"46",height:"14",fill:"white",transform:"translate(132.348 5.5)"})})]})]})}function by({size:e=16,className:t,strokeWidth:r}){return p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[p.jsx("path",{d:"M5.08545 8.13775L7.18455 10.2368C7.26636 10.3187 7.4003 10.3142 7.47649 10.2271L11.5148 5.61194",stroke:"currentColor"}),p.jsx("path",{d:"M6.59624 2.14853C7.50155 1.80917 8.49914 1.80919 9.40444 2.14859L13.9245 3.84317V7.11961C13.9245 11.6089 10.5565 13.5975 8.00035 14.5779C5.44423 13.5975 2.07544 11.6089 2.07544 7.11961V3.84317L6.59624 2.14853Z",stroke:"currentColor",strokeLinejoin:"round"})]})}function xy({size:e=16,className:t,strokeWidth:r}){return p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[p.jsx("path",{d:"M6.4209 1.68067C7.43922 1.299 8.56177 1.29898 9.58008 1.68067L14.0996 3.375C14.2946 3.44811 14.4236 3.63455 14.4238 3.84278V6.89063C14.1115 6.71853 13.7761 6.58312 13.4238 6.48926V4.18946L9.22852 2.61621C8.43657 2.31947 7.56341 2.31939 6.77148 2.61621L2.5752 4.18946V7.11914C2.5752 11.1796 5.52369 13.056 8 14.0391C8.27653 13.9293 8.55827 13.8067 8.8418 13.6729C9.07101 13.9468 9.33228 14.1929 9.62012 14.4053C9.12409 14.6579 8.63578 14.8696 8.17871 15.0449C8.0637 15.0889 7.93628 15.0889 7.82129 15.0449C5.22011 14.0472 1.5752 11.9381 1.5752 7.11914V3.84278C1.57541 3.63469 1.70463 3.44821 1.89941 3.375L6.4209 1.68067Z",fill:"currentColor"}),p.jsx("path",{d:"M5.26392 6.60339H10.7361",stroke:"currentColor"}),p.jsx("path",{d:"M5.26392 9.86902H8.32833",stroke:"currentColor"}),p.jsx("path",{d:"M10.0317 13.2229C10.263 13.3929 10.4943 13.563 10.7256 13.733C10.7932 13.6482 10.8608 13.5634 10.9284 13.4786C12.1455 11.9522 13.3626 10.4258 14.5798 8.89935C14.6474 8.81455 14.715 8.72975 14.7826 8.64495C14.4143 8.37419 14.046 8.10344 13.6777 7.83268C13.6169 7.92252 13.5562 8.01236 13.4954 8.10219C12.4016 9.71926 11.3078 11.3363 10.214 12.9534C10.1532 13.0432 10.0924 13.1331 10.0317 13.2229Z",fill:"currentColor"}),p.jsx("path",{d:"M12.6516 12.6696C12.6516 12.925 12.6516 13.1804 12.6516 13.4359C12.6952 13.4378 12.7387 13.4398 12.7823 13.4417C13.5663 13.4768 14.3504 13.5118 15.1345 13.5469C15.178 13.5488 15.2216 13.5508 15.2651 13.5527C15.2651 13.2194 15.2651 12.8861 15.2651 12.5527C15.2216 12.5547 15.178 12.5566 15.1345 12.5586C14.3504 12.5936 13.5663 12.6287 12.7823 12.6637C12.7387 12.6657 12.6952 12.6676 12.6516 12.6696Z",fill:"currentColor"})]})}function ky({size:e=16,className:t,strokeWidth:r}){return p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[p.jsx("path",{d:"M6.59624 2.14853C7.50155 1.80917 8.49914 1.80919 9.40444 2.14859L13.9245 3.84317V7.11961C13.9245 11.6089 10.5565 13.5975 8.00035 14.5779C5.44423 13.5975 2.07544 11.6089 2.07544 7.11961V3.84317L6.59624 2.14853Z",stroke:"currentColor",strokeLinejoin:"round"}),p.jsx("path",{d:"M8 4.39209V9.89209",stroke:"currentColor"}),p.jsx("path",{d:"M8 10.8081V11.8081",stroke:"currentColor"})]})}function Cy({size:e=16,className:t,strokeWidth:r}){return p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[p.jsx("path",{d:"M6.59624 2.14853C7.50155 1.80917 8.49914 1.80919 9.40444 2.14859L13.9245 3.84317V7.11961C13.9245 11.6089 10.5565 13.5975 8.00035 14.5779C5.44423 13.5975 2.07544 11.6089 2.07544 7.11961V3.84317L6.59624 2.14853Z",stroke:"currentColor",strokeLinejoin:"round"}),p.jsx("path",{d:"M5.75 10.15L8 4.95L10.25 10.15M6.43 8.59H9.57",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]})}function dR(e){return p.jsx(by,{...e,strokeWidth:1})}function fR(e){return p.jsx(by,{...e,strokeWidth:Ar})}function hR(e){return p.jsx(xy,{...e,strokeWidth:1})}function pR(e){return p.jsx(xy,{...e,strokeWidth:Ar})}function mR(e){return p.jsx(ky,{...e,strokeWidth:1})}function gR(e){return p.jsx(ky,{...e,strokeWidth:Ar})}function vR(e){return p.jsx(Cy,{...e,strokeWidth:1})}function yR(e){return p.jsx(Cy,{...e,strokeWidth:Ar})}const _R=({size:e=16,className:t,strokeWidth:r})=>p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[p.jsx("path",{d:"M5 6.75H11",stroke:"currentColor"}),p.jsx("path",{d:"M5 9H8",stroke:"currentColor"}),p.jsx("path",{d:"M2.37067 11.2497C1.5872 9.89252 1.32042 8.29798 1.61945 6.7597C1.91847 5.22141 2.76317 3.84293 3.99801 2.87809C5.23285 1.91325 6.7747 1.427 8.33964 1.50888C9.90458 1.59076 11.3873 2.23526 12.5147 3.32369C13.6422 4.41232 14.3384 5.8717 14.4751 7.43304C14.6118 8.99438 14.1797 10.5525 13.2585 11.8205C12.3372 13.0885 10.9889 13.9809 9.4617 14.3334C8.18666 14.6277 6.8587 14.529 5.64964 14.0601C5.17095 13.8745 4.76937 13.4929 4.26509 13.3963C3.67389 13.2832 2.95232 13.5595 2.0377 14.3334",stroke:"currentColor"})]}),wR=({size:e=14,className:t,strokeWidth:r})=>p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[p.jsx("path",{d:"M7.99986 14.0887C11.3626 14.0887 14.0886 11.3627 14.0886 7.99998C14.0886 4.63727 11.3626 1.91125 7.99986 1.91125C4.63715 1.91125 1.91113 4.63727 1.91113 7.99998C1.91113 11.3627 4.63715 14.0887 7.99986 14.0887Z",stroke:"currentColor"}),p.jsx("path",{d:"M2.34619 8H13.6538",stroke:"currentColor",strokeLinecap:"square"}),p.jsx("path",{d:"M7.99976 14.0889C9.23509 14.0889 10.1743 11.3629 10.1743 8.00006C10.1743 4.63739 9.23509 1.91138 7.99976 1.91138",stroke:"currentColor"}),p.jsx("path",{d:"M7.99973 14.0889C6.76445 14.0889 5.8252 11.3629 5.8252 8.00006C5.8252 4.63739 6.76445 1.91138 7.99973 1.91138",stroke:"currentColor"})]}),bR=({size:e=14,className:t,strokeWidth:r})=>p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[p.jsx("path",{d:"M4.67398 4.25061L1.36094 7.86484C1.29085 7.9413 1.29085 8.05866 1.36094 8.13513L4.67398 11.7494",stroke:"currentColor"}),p.jsx("path",{d:"M11.3262 4.25061L14.6392 7.86484C14.7093 7.9413 14.7093 8.05866 14.6392 8.13513L11.3262 11.7494",stroke:"currentColor"}),p.jsx("path",{d:"M9.56222 3.62573L6.43774 12.3743",stroke:"currentColor"})]}),xR=({size:e=16,className:t,strokeWidth:r})=>p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[p.jsx("path",{d:"M4.9375 5.90295H11.0625",stroke:"currentColor"}),p.jsx("path",{d:"M4.9375 9.02991H8.27841",stroke:"currentColor"}),p.jsx("path",{d:"M12.5 1.32617C13.3039 1.32617 14 1.95171 14 2.77637V13.2246C13.9996 14.0489 13.3036 14.6738 12.5 14.6738H3.5C2.69637 14.6738 2.00042 14.0489 2 13.2246V2.77637C2 1.95171 2.69613 1.32617 3.5 1.32617H12.5ZM3.5 2.32617C3.1993 2.32617 3 2.55186 3 2.77637V13.2246C3.00044 13.4489 3.19963 13.6738 3.5 13.6738H12.5C12.8004 13.6738 12.9996 13.4489 13 13.2246V2.77637C13 2.55186 12.8007 2.32617 12.5 2.32617H3.5Z",fill:"currentColor"})]}),$y=({size:e=16,className:t,strokeWidth:r})=>p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[p.jsx("path",{d:"M1.50439 3.11059C1.50439 2.55831 1.95211 2.1106 2.50439 2.1106H5.43389C5.67773 2.1106 5.91318 2.19969 6.09593 2.36113L7.71649 3.79265C7.89924 3.95409 8.1347 4.04319 8.3785 4.04319H13.4958C14.0481 4.04319 14.4958 4.4909 14.4958 5.04319V12.8894C14.4958 13.4417 14.0481 13.8894 13.4958 13.8894H2.50439C1.95211 13.8894 1.50439 13.4417 1.50439 12.8894V4.04319V3.11059Z",stroke:"currentColor"}),p.jsx("path",{d:"M3.63501 7.66614H12.3647",stroke:"currentColor"})]});function Sy({kind:e,size:t=16,className:r,strokeWidth:i}){switch(e){case"session":return p.jsx(_R,{size:t,className:r,strokeWidth:i});case"file":return p.jsx(xR,{size:t,className:r,strokeWidth:i});case"folder":return p.jsx($y,{size:t,className:r,strokeWidth:i})}}function Iy(e){return p.jsx(Sy,{...e,strokeWidth:1})}function kR(e){return p.jsx(Sy,{...e,strokeWidth:Ar})}const CR="__DSH_CODE_ICON_INSTANCE__",$R=Object.freeze({angular:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F8ECEF" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#DD0031" d="M16.712 17.711H7.288l-1.204 2.916L12 24l5.916-3.373-1.204-2.916ZM14.692 0l7.832 16.855.814-12.856L14.692 0ZM9.308 0 .662 3.999l.814 12.856L9.308 0Zm-.405 13.93h6.198L12 6.396 8.903 13.93Z"/></g>',c:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EEF4F8" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#659AD2" d="M16.5921 9.1962s-.354-3.298-3.627-3.39c-3.2741-.09-4.9552 2.474-4.9552 6.14 0 3.6651 1.858 6.5972 5.0451 6.5972 3.184 0 3.5381-3.665 3.5381-3.665l6.1041.365s.36 3.31-2.196 5.836c-2.552 2.5241-5.6901 2.9371-7.8762 2.9201-2.19-.017-5.2261.034-8.1602-2.97-2.938-3.0101-3.436-5.9302-3.436-8.8002 0-2.8701.556-6.6702 4.047-9.5502C7.444.72 9.849 0 12.254 0c10.0422 0 10.7172 9.2602 10.7172 9.2602z"/></g>',clojure:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F1F7EC" stroke="#DCEAD2" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><g fill="none"><path d="M64 0C28.712 0 0 28.6 0 63.751c0 35.155 28.712 63.753 64 63.753s64-28.598 64-63.753C128 28.6 99.288 0 64 0" fill="#FFF"/><path d="M61.659 64.898a265.825 265.825 0 00-1.867 4.12c-2.322 5.241-4.894 11.62-5.834 15.706-.337 1.455-.546 3.258-.542 5.258 0 .79.043 1.622.11 2.469a30.74 30.74 0 0010.533 1.87 30.796 30.796 0 009.642-1.566 18.09 18.09 0 01-2.011-2.12c-4.11-5.221-6.403-12.872-10.031-25.737M46.485 38.96c-7.85 5.51-12.986 14.6-13.005 24.9.019 10.145 5.001 19.116 12.653 24.65 1.877-7.789 6.582-14.92 13.637-29.214a114.691 114.691 0 00-1.43-3.72c-1.955-4.884-4.776-10.556-7.294-13.124-1.283-1.342-2.84-2.502-4.561-3.492" fill="#91DC47"/><path d="M90.697 98.798c-4.05-.506-7.392-1.116-10.317-2.144a36.708 36.708 0 01-16.32 3.807c-20.293 0-36.742-16.383-36.745-36.602 0-10.97 4.852-20.805 12.528-27.512-2.053-.495-4.194-.783-6.38-.779-10.782.101-22.162 6.044-26.9 22.095-.443 2.337-.337 4.103-.337 6.197 0 31.818 25.895 57.613 57.835 57.613 19.561 0 36.841-9.682 47.305-24.489-5.66 1.405-11.103 2.077-15.763 2.091-1.747 0-3.387-.093-4.906-.277" fill="#63B132"/><path d="M79.829 87.634c.357.176 1.167.464 2.293.783 7.579-5.542 12.504-14.469 12.523-24.558h-.003c-.028-16.82-13.693-30.43-30.582-30.462a30.765 30.765 0 00-9.602 1.554c6.21 7.05 9.196 17.127 12.084 28.148l.005.013c.005.009.924 3.06 2.501 7.11 1.566 4.042 3.797 9.048 6.23 12.696 1.597 2.444 3.354 4.2 4.551 4.716" fill="#90B4FE"/><path d="M17.057 30.311c5.463-3.408 11.04-4.637 15.908-4.593 6.722.02 12.008 2.096 14.544 3.516.612.352 1.194.73 1.764 1.12a36.714 36.714 0 0114.786-3.096c20.295.003 36.747 16.386 36.75 36.601-.003 10.192-4.188 19.408-10.934 26.044a45.3 45.3 0 005.225.29c6.406.004 13.329-1.404 18.52-5.753 3.384-2.84 6.22-6.998 7.792-13.233.307-2.408.484-4.856.484-7.347 0-31.817-25.892-57.614-57.835-57.614-19.372 0-36.508 9.5-47.004 24.065z" fill="#5881D8"/></g></svg>',cmake:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F2F5F7" stroke="#D9E1E7" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#064F8C" d="M62.8.4L.3 123.8l68.1-57.9z"/><path fill="#249847" d="M123.8 127.7l-84-33.9L0 127.7z"/><path fill="#BE2128" d="M128 126.6L65.6 2.5l9.2 102.6z"/><path fill="#CDCDCE" d="M71.9 104l-3.1-34.9L42 92z"/></svg>',cpp:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#E8F2F8" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#00599C" d="M22.394 6c-.167-.29-.398-.543-.652-.69L12.926.22c-.509-.294-1.34-.294-1.848 0L2.26 5.31c-.508.293-.923 1.013-.923 1.6v10.18c0 .294.104.62.271.91.167.29.398.543.652.69l8.816 5.09c.508.293 1.34.293 1.848 0l8.816-5.09c.254-.147.485-.4.652-.69.167-.29.27-.616.27-.91V6.91c.003-.294-.1-.62-.268-.91zM12 19.11c-3.92 0-7.109-3.19-7.109-7.11 0-3.92 3.19-7.11 7.11-7.11a7.133 7.133 0 016.156 3.553l-3.076 1.78a3.567 3.567 0 00-3.08-1.78A3.56 3.56 0 008.444 12 3.56 3.56 0 0012 15.555a3.57 3.57 0 003.08-1.778l3.078 1.78A7.135 7.135 0 0112 19.11zm7.11-6.715h-.79v.79h-.79v-.79h-.79v-.79h.79v-.79h.79v.79h.79zm2.962 0h-.79v.79h-.79v-.79h-.79v-.79h.79v-.79h.79v.79h.79z"/></g>',csharp:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3EEF7" stroke="#E2D7EA" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#9B4F96" d="M115.4 30.7L67.1 2.9c-.8-.5-1.9-.7-3.1-.7-1.2 0-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.4 1 3.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7z"/><path fill="#68217A" d="M10.7 95.3c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7 1.2 0 2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c0-.9-.1-1.9-.6-2.8l-106.6 62z"/><path fill="#fff" d="M85.3 76.1C81.1 83.5 73.1 88.5 64 88.5c-13.5 0-24.5-11-24.5-24.5s11-24.5 24.5-24.5c9.1 0 17.1 5 21.3 12.5l13-7.5c-6.8-11.9-19.6-20-34.3-20-21.8 0-39.5 17.7-39.5 39.5s17.7 39.5 39.5 39.5c14.6 0 27.4-8 34.2-19.8l-12.9-7.6zM97 66.2l.9-4.3h-4.2v-4.7h5.1L100 51h4.9l-1.2 6.1h3.8l1.2-6.1h4.8l-1.2 6.1h2.4v4.7h-3.3l-.9 4.3h4.2v4.7h-5.1l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6h-2.4v-4.7H97zm4.8 0h3.8l.9-4.3h-3.8l-.9 4.3z"/></svg>',css:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#1572B6"/><text x="10" y="12.8" text-anchor="middle" font-family="Arial,sans-serif" font-size="6.2" font-weight="900" fill="#fff">CSS</text>',dart:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECF7FA" stroke="#D5EAF0" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#00c4b3" d="M35.2 34.9l-8.3-8.3v59.7l.1 2.8c0 1.3.2 2.8.7 4.3l65.6 23.1 16.3-7.2-74.4-74.4z"/><path d="M27.7 93.4zm81.9 15.9l-16.3 7.2-65.4-23.1c1.3 4.8 4 10.1 7 13.2l21.3 21.2 47.6.1 5.8-18.6z" fill="#22d3c5"/><path fill="#0075c9" d="M1.7 65.1C-.4 67.3.7 72 4 75.5l14.7 14.8 9.2 3.3c-.3-1.5-.7-3-.7-4.3l-.1-2.8-.2-59.8m82.7 82.6l7.2-16.4-23-65.6c-1.5-.3-3-.6-4.3-.7l-2.9-.1-59.6.1"/><path d="M93.6 27.3c.2 0 .2 0 0 0 .2 0 .2 0 0 0zm16 82l17.7-5.8V54.8l-20.4-20.5c-3-3-8.3-5.8-13.2-7l23.1 65.6" fill="#00a8e1"/><path fill="#00c4b3" d="M90.5 18.2L75.7 3.5c-3.4-3.4-8-4.4-10.4-2.3L26.9 26.6h59.5l2.9.1c1.3 0 2.8.2 4.3.7l-3.1-9.2z"/></svg>',docker:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#E8F4FC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#2496ED" d="M13.983 11.078h2.119a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.119a.185.185 0 00-.185.185v1.888c0 .102.083.185.185.185m-2.954-5.43h2.118a.186.186 0 00.186-.186V3.574a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.185m0 2.716h2.118a.187.187 0 00.186-.186V6.29a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.887c0 .102.082.185.185.186m-2.93 0h2.12a.186.186 0 00.184-.186V6.29a.185.185 0 00-.185-.185H8.1a.185.185 0 00-.185.185v1.887c0 .102.083.185.185.186m-2.964 0h2.119a.186.186 0 00.185-.186V6.29a.185.185 0 00-.185-.185H5.136a.186.186 0 00-.186.185v1.887c0 .102.084.185.186.186m5.893 2.715h2.118a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.185m-2.93 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.083.185.185.185m-2.964 0h2.119a.185.185 0 00.185-.185V9.006a.185.185 0 00-.184-.186h-2.12a.186.186 0 00-.186.186v1.887c0 .102.084.185.186.185m-2.92 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.082.185.185.185M23.763 9.89c-.065-.051-.672-.51-1.954-.51-.338.001-.676.03-1.01.087-.248-1.7-1.653-2.53-1.716-2.566l-.344-.199-.226.327c-.284.438-.49.922-.612 1.43-.23.97-.09 1.882.403 2.661-.595.332-1.55.413-1.744.42H.751a.751.751 0 00-.75.748 11.376 11.376 0 00.692 4.062c.545 1.428 1.355 2.48 2.41 3.124 1.18.723 3.1 1.137 5.275 1.137.983.003 1.963-.086 2.93-.266a12.248 12.248 0 003.823-1.389c.98-.567 1.86-1.288 2.61-2.136 1.252-1.418 1.998-2.997 2.553-4.4h.221c1.372 0 2.215-.549 2.68-1.009.309-.293.55-.65.707-1.046l.098-.288Z"/></g>',elixir:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3EEF6" stroke="#E3D9E8" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-a" gradientUnits="userSpaceOnUse" x1="835.592" y1="-36.546" x2="821.211" y2="553.414" gradientTransform="matrix(.1297 0 0 .2 -46.03 17.198)"><stop offset="0" stop-color="#d9d8dc"/><stop offset="1" stop-color="#fff" stop-opacity=".385"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-a)" d="M64.4.5C36.7 13.9 1.9 83.4 30.9 113.9c26.8 33.5 85.4 1.3 68.4-40.5-21.5-36-35-37.9-34.9-72.9z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-b" gradientUnits="userSpaceOnUse" x1="942.357" y1="-40.593" x2="824.692" y2="472.243" gradientTransform="matrix(.1142 0 0 .2271 -47.053 17.229)"><stop offset="0" stop-color="#8d67af" stop-opacity=".672"/><stop offset="1" stop-color="#9f8daf"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-b)" d="M64.4.2C36.8 13.6 1.9 82.9 31 113.5c10.7 12.4 28 16.5 37.7 9.1 26.4-18.8 7.4-53.1 10.4-78.5C68.1 33.9 64.2 11.3 64.4.2z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-c" gradientUnits="userSpaceOnUse" x1="924.646" y1="120.513" x2="924.646" y2="505.851" gradientTransform="matrix(.1227 0 0 .2115 -46.493 17.206)"><stop offset="0" stop-color="#26053d" stop-opacity=".762"/><stop offset="1" stop-color="#b7b4b4" stop-opacity=".278"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-c)" d="M56.7 4.3c-22.3 15.9-28.2 75-24.1 94.2 8.2 48.1 75.2 28.3 69.6-16.5-6-29.2-48.8-39.2-45.5-77.7z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-d" gradientUnits="userSpaceOnUse" x1="428.034" y1="198.448" x2="607.325" y2="559.255" gradientTransform="matrix(.1848 0 0 .1404 -42.394 17.138)"><stop offset="0" stop-color="#91739f" stop-opacity=".46"/><stop offset="1" stop-color="#32054f" stop-opacity=".54"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-d)" d="M78.8 49.8c10.4 13.4 12.7 22.6 6.8 27.9-27.7 19.4-61.3 7.4-54-37.3C22.1 63 4.5 96.8 43.3 101.6c20.8 3.6 54 2 58.9-16.1-.2-15.9-10.8-22.9-23.4-35.7z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-e" gradientUnits="userSpaceOnUse" x1="907.895" y1="540.636" x2="590.242" y2="201.281" gradientTransform="matrix(.1418 0 0 .1829 -45.23 17.18)"><stop offset="0" stop-color="#463d49" stop-opacity=".331"/><stop offset="1" stop-color="#340a50" stop-opacity=".821"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-e)" d="M38.1 36.4c-2.9 21.2 35.1 77.9 58.3 71-17.7 35.6-56.9-21.2-64-41.7 1.5-11 2.2-16.4 5.7-29.3z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-f" gradientUnits="userSpaceOnUse" x1="1102.297" y1="100.542" x2="1008.071" y2="431.648" gradientTransform="matrix(.106 0 0 .2448 -47.595 17.242)"><stop offset="0" stop-color="#715383" stop-opacity=".145"/><stop offset="1" stop-color="#f4f4f4" stop-opacity=".234"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-f)" d="M60.4 49.7c.8 7.9 3.9 20.5 0 28.8S38.7 102 43.6 115.3c11.4 24.8 37.1-4.4 36.9-19 1.1-11.8-6.6-38.7-1.8-52.5L76.5 41l-13.6-4c-2.2 3.2-3 7.5-2.5 12.7z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-g" gradientUnits="userSpaceOnUse" x1="1354.664" y1="140.06" x2="1059.233" y2="84.466" gradientTransform="matrix(.09173 0 0 .2828 -48.536 17.28)"><stop offset="0" stop-color="#a5a1a8" stop-opacity=".356"/><stop offset="1" stop-color="#370c50" stop-opacity=".582"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-g)" d="M65.3 10.8C36 27.4 48 53.4 49.3 81.6l19.1-55.4c-1.4-5.7-2.3-9.5-3.1-15.4z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#330A4C" fill-opacity=".316" d="M68.3 26.1c-14.8 11.7-14.1 31.3-18.6 54 8.1-21.3 4.1-38.2 18.6-54z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFF" d="M45.8 119.7c8 1.1 12.1 2.2 12.5 3 .3 4.2-11.1 1.2-12.5-3z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#EDEDED" fill-opacity=".603" d="M49.8 10.8c-6.9 7.7-14.4 21.8-18.2 29.7-1 6.5-.5 15.7.6 23.5.9-18.2 7.5-39.2 17.6-53.2z"/></svg>',env:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECD53F"/><text x="10" y="12.9" text-anchor="middle" font-family="Arial,sans-serif" font-size="5.7" font-weight="900" fill="#24292F">.ENV</text>',erlang:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FAEDF1" stroke="#EED6DE" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path d="M20.7 103.9C11 93.5 5.2 79.2 5.3 62.1 5.2 47 10 34 18.2 24.1H1v79.7l19.7.1zm90.4 0c4.2-4.5 8-9.8 11.4-15.9l-19-9.5c-6.7 10.8-16.4 20.8-29.9 20.9-19.6-.1-27.3-16.9-27.3-38.5h73.3c.1-2.4.1-3.6 0-4.7.5-12.9-2.9-23.7-9.1-32.1H127v79.7l-15.9.1zM47.5 42.4c.8-9.8 8.5-16.3 17.6-16.4 9.1 0 15.7 6.6 15.9 16.4H47.5z" fill="#A90533"/></svg>',flutter:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EEF7FD" stroke="#D7EAF6" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><g fill="#3FB6D3"><path d="M12.3 64.2L76.3 0h39.4L32.1 83.6zM76.3 128h39.4L81.6 93.9l34.1-34.8H76.3L42.2 93.5z"/></g><path fill="#27AACD" d="M81.6 93.9l-20-20-19.4 19.6 19.4 19.6z"/><path fill="#19599A" d="M115.7 128L81.6 93.9l-20 19.2L76.3 128z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__flutter-original-a" gradientUnits="userSpaceOnUse" x1="59.365" y1="116.36" x2="86.825" y2="99.399"><stop offset="0" stop-color="#1b4e94"/><stop offset=".63" stop-color="#1a5497"/><stop offset="1" stop-color="#195a9b"/></linearGradient><path fill="url(#__DSH_CODE_ICON_INSTANCE__flutter-original-a)" d="M61.6 113.1l30.8-8.4-10.8-10.8z"/></svg>',git:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FFF0EC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#F05032" d="M13.09 23.549a1.54 1.54 0 0 1-2.18 0L.451 13.089a1.54 1.54 0 0 1 0-2.179l7.191-7.19 2.733 2.733a1.85 1.85 0 0 0 .964 2.326v6.66a1.849 1.849 0 1 0 1.54 0V8.957l2.508 2.508a1.85 1.85 0 1 0 1.09-1.09l-2.634-2.634a1.85 1.85 0 0 0-2.378-2.377L8.73 2.63 10.91.451a1.54 1.54 0 0 1 2.179 0l10.459 10.46a1.54 1.54 0 0 1 0 2.179z"/></g>',go:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#E7F9FC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#00ADD8" d="M1.811 10.231c-.047 0-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046 0 .058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047 11.306c-.047 0-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047 0 .07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828 1.075c-.047 0-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514-.176.046-.187.058-.34-.117-.174-.199-.303-.327-.548-.444-.737-.362-1.45-.257-2.115.175-.795.514-1.204 1.274-1.192 2.22.011.935.654 1.706 1.577 1.835.795.105 1.46-.175 1.987-.77.105-.13.198-.27.315-.434H10.47c-.245 0-.304-.152-.222-.35.152-.362.432-.97.596-1.274a.315.315 0 01.292-.187h4.253c-.023.316-.023.631-.07.947a4.983 4.983 0 01-.958 2.29c-.841 1.11-1.94 1.8-3.33 1.986-1.145.152-2.209-.07-3.143-.77-.865-.655-1.356-1.52-1.484-2.595-.152-1.274.222-2.419.993-3.424.83-1.086 1.928-1.776 3.272-2.02 1.098-.2 2.15-.07 3.096.571.62.41 1.063.97 1.356 1.648.07.105.023.164-.117.2m3.868 6.461c-1.064-.024-2.034-.328-2.852-1.029a3.665 3.665 0 01-1.262-2.255c-.21-1.32.152-2.489.947-3.529.853-1.122 1.881-1.706 3.272-1.95 1.192-.21 2.314-.095 3.33.595.923.63 1.496 1.484 1.648 2.605.198 1.578-.257 2.863-1.344 3.962-.771.783-1.718 1.273-2.805 1.495-.315.06-.63.07-.934.106zm2.78-4.72c-.011-.153-.011-.27-.034-.387-.21-1.157-1.274-1.81-2.384-1.554-1.087.245-1.788.935-2.045 2.033-.21.912.234 1.835 1.075 2.21.643.28 1.285.244 1.905-.07.923-.48 1.425-1.228 1.484-2.233z"/></g>',graphql:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCEAF6" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#E10098" d="M12.002 0a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm8.54 4.931a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm0 9.862a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm-8.54 4.931a2.138 2.138 0 1 0 0 4.276 2.138 2.138 0 1 0 0-4.276zm-8.542-4.93a2.138 2.138 0 1 0 0 4.276 2.138 2.138 0 1 0 0-4.277zm0-9.863a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm8.542-3.378L2.953 6.777v10.448l9.049 5.224 9.047-5.224V6.777zm0 1.601 7.66 13.27H4.34zm-1.387.371L3.97 15.037V7.363zm2.774 0 6.646 3.838v7.674zM5.355 17.44h13.293l-6.646 3.836z"/></g>',haskell:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3F0F7" stroke="#E1D9EA" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#463B63" d="M0 110.2L30.1 65 0 19.9h22.6L52.7 65l-30.1 45.1H0z"/><path fill="#5E5187" d="M30.1 110.2L60.2 65 30.1 19.9h22.6l60.2 90.3H90.4L71.5 81.9l-18.8 28.2H30.1z"/><path fill="#904F8C" d="M102.9 83.8l-10-15.1H128v15.1h-25.1zM87.8 61.3l-10-15.1H128v15.1H87.8z"/></svg>',ini:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#6E7781"/><text x="10" y="13.2" text-anchor="middle" font-family="Arial,sans-serif" font-size="7.2" font-weight="800" fill="#fff">INI</text>',java:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F4F7FA" stroke="#D9E2E8" stroke-width=".5"/><svg x="2.5" y="2.5" width="15" height="15" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#0074BD" d="M47.617 98.12s-4.767 2.774 3.397 3.71c9.892 1.13 14.947.968 25.845-1.092 0 0 2.871 1.795 6.873 3.351-24.439 10.47-55.308-.607-36.115-5.969zm-2.988-13.665s-5.348 3.959 2.823 4.805c10.567 1.091 18.91 1.18 33.354-1.6 0 0 1.993 2.025 5.132 3.131-29.542 8.64-62.446.68-41.309-6.336z"/><path fill="#EA2D2E" d="M69.802 61.271c6.025 6.935-1.58 13.17-1.58 13.17s15.289-7.891 8.269-17.777c-6.559-9.215-11.587-13.792 15.635-29.58 0 .001-42.731 10.67-22.324 34.187z"/><path fill="#0074BD" d="M102.123 108.229s3.529 2.91-3.888 5.159c-14.102 4.272-58.706 5.56-71.094.171-4.451-1.938 3.899-4.625 6.526-5.192 2.739-.593 4.303-.485 4.303-.485-4.953-3.487-32.013 6.85-13.743 9.815 49.821 8.076 90.817-3.637 77.896-9.468zM49.912 70.294s-22.686 5.389-8.033 7.348c6.188.828 18.518.638 30.011-.326 9.39-.789 18.813-2.474 18.813-2.474s-3.308 1.419-5.704 3.053c-23.042 6.061-67.544 3.238-54.731-2.958 10.832-5.239 19.644-4.643 19.644-4.643zm40.697 22.747c23.421-12.167 12.591-23.86 5.032-22.285-1.848.385-2.677.72-2.677.72s.688-1.079 2-1.543c14.953-5.255 26.451 15.503-4.823 23.725 0-.002.359-.327.468-.617z"/><path fill="#EA2D2E" d="M76.491 1.587S89.459 14.563 64.188 34.51c-20.266 16.006-4.621 25.13-.007 35.559-11.831-10.673-20.509-20.07-14.688-28.815C58.041 28.42 81.722 22.195 76.491 1.587z"/><path fill="#0074BD" d="M52.214 126.021c22.476 1.437 57-.8 57.817-11.436 0 0-1.571 4.032-18.577 7.231-19.186 3.612-42.854 3.191-56.887.874 0 .001 2.875 2.381 17.647 3.331z"/></svg>',javascript:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#F0DB4F" d="M1.408 1.408h125.184v125.185H1.408z"/><path fill="#323330" d="M116.347 96.736c-.917-5.711-4.641-10.508-15.672-14.981-3.832-1.761-8.104-3.022-9.377-5.926-.452-1.69-.512-2.642-.226-3.665.821-3.32 4.784-4.355 7.925-3.403 2.023.678 3.938 2.237 5.093 4.724 5.402-3.498 5.391-3.475 9.163-5.879-1.381-2.141-2.118-3.129-3.022-4.045-3.249-3.629-7.676-5.498-14.756-5.355l-3.688.477c-3.534.893-6.902 2.748-8.877 5.235-5.926 6.724-4.236 18.492 2.975 23.335 7.104 5.332 17.54 6.545 18.873 11.531 1.297 6.104-4.486 8.08-10.234 7.378-4.236-.881-6.592-3.034-9.139-6.949-4.688 2.713-4.688 2.713-9.508 5.485 1.143 2.499 2.344 3.63 4.26 5.795 9.068 9.198 31.76 8.746 35.83-5.176.165-.478 1.261-3.666.38-8.581zM69.462 58.943H57.753l-.048 30.272c0 6.438.333 12.34-.714 14.149-1.713 3.558-6.152 3.117-8.175 2.427-2.059-1.012-3.106-2.451-4.319-4.485-.333-.584-.583-1.036-.667-1.071l-9.52 5.83c1.583 3.249 3.915 6.069 6.902 7.901 4.462 2.678 10.459 3.499 16.731 2.059 4.082-1.189 7.604-3.652 9.448-7.401 2.666-4.915 2.094-10.864 2.07-17.444.06-10.735.001-21.468.001-32.237z"/></svg></g>',json:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F4F4F4" stroke="#DDDDDD" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><linearGradient id="__DSH_CODE_ICON_INSTANCE__a" x1="-670.564" x2="-583.105" y1="-280.831" y2="-368.306" gradientTransform="matrix(.9988 0 0 -.9987 689.011 -259.008)" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#fff"/></linearGradient><path fill="url(#__DSH_CODE_ICON_INSTANCE__a)" fill-rule="evenodd" d="M63.895 94.303c27.433 37.398 54.281-10.438 54.241-39.205-.046-34.012-34.518-53.021-54.263-53.021C32.182 2.077 2 28.269 2 64.105 2 103.937 36.596 126 63.873 126c-6.172-.889-26.742-5.296-27.019-52.674-.186-32.044 10.453-44.846 26.974-39.214.37.137 18.223 7.18 18.223 30.187 0 22.908-18.156 30.004-18.156 30.004z" clip-rule="evenodd"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__b" x1="-579.148" x2="-666.607" y1="-364.34" y2="-276.873" gradientTransform="matrix(.9988 0 0 -.9987 689.011 -259.008)" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#fff"/></linearGradient><path fill="url(#__DSH_CODE_ICON_INSTANCE__b)" fill-rule="evenodd" d="M63.863 34.086C45.736 27.838 23.53 42.778 23.53 72.703 23.53 121.565 59.739 126 64.128 126 95.818 126 126 99.808 126 63.972 126 24.14 91.404 2.077 64.127 2.077c7.555-1.046 40.719 8.176 40.719 53.504 0 29.559-24.764 45.651-40.87 38.776-.37-.137-18.223-7.18-18.223-30.187 0-22.91 18.11-30.085 18.11-30.084z" clip-rule="evenodd"/></svg>',kotlin:'<defs><linearGradient id="__DSH_CODE_ICON_INSTANCE__k" x1="1" y1="19" x2="19" y2="1"><stop stop-color="#0095D5"/><stop offset=".5" stop-color="#7F52FF"/><stop offset="1" stop-color="#F88909"/></linearGradient></defs><rect x="1" y="1" width="18" height="18" rx="4" fill="url(#__DSH_CODE_ICON_INSTANCE__k)"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#FFFFFF" d="M24 24H0V0h24L12 12Z"/></g>',lua:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECECF7" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#000080" d="M.38 10.377l-.272-.037c-.048.344-.082.695-.101 1.041l.275.016c.018-.34.051-.682.098-1.02zM4.136 3.289l-.184-.205c-.258.232-.509.48-.746.734l.202.188c.231-.248.476-.49.728-.717zM5.769 2.059l-.146-.235c-.296.186-.586.385-.863.594l.166.219c.27-.203.554-.399.843-.578zM1.824 18.369c.185.297.384.586.593.863l.22-.164c-.205-.271-.399-.555-.58-.844l-.233.145zM1.127 16.402l-.255.104c.129.318.274.635.431.943l.005.01.245-.125-.005-.01c-.153-.301-.295-.611-.421-.922zM.298 9.309l.269.063c.076-.332.168-.664.272-.986l-.261-.087c-.108.332-.202.672-.28 1.01zM.274 12.42l-.275.01c.012.348.04.699.083 1.043l.273-.033c-.042-.336-.069-.68-.081-1.02zM.256 14.506c.073.34.162.682.264 1.014l.263-.08c-.1-.326-.187-.658-.258-.99l-.269.056zM11.573.275L11.563 0c-.348.012-.699.039-1.044.082l.034.273c.338-.041.68-.068 1.02-.08zM23.221 8.566c.1.326.186.66.256.992l.27-.059c-.072-.34-.16-.682-.262-1.014l-.264.081zM17.621 1.389c-.309-.164-.627-.314-.947-.449l-.107.252c.314.133.625.281.926.439l.128-.242zM15.693.572c-.332-.105-.67-.199-1.01-.277l-.063.268c.332.076.664.168.988.273l.085-.264zM6.674 1.545c.298-.15.606-.291.916-.418L7.486.873c-.317.127-.632.272-.937.428l-.015.008.125.244.015-.008zM23.727 11.588l.275-.01a11.797 11.797 0 0 0-.082-1.045l-.273.033c.041.338.068.682.08 1.022zM13.654.105c-.346-.047-.696-.08-1.043-.098l-.014.273c.339.018.683.051 1.019.098l.038-.273zM9.544.527l-.058-.27c-.34.072-.681.16-1.014.264l.081.262c.325-.099.659-.185.991-.256zM1.921 5.469l.231.15c.185-.285.384-.566.592-.834l-.217-.17c-.213.276-.417.563-.606.854zM.943 7.318l.253.107c.132-.313.28-.625.439-.924l-.243-.128c-.163.307-.314.625-.449.945zM18.223 21.943l.145.234c.295-.186.586-.385.863-.594l-.164-.219c-.272.204-.557.4-.844.579zM21.248 19.219l.217.17c.215-.273.418-.561.607-.854l-.23-.148c-.186.285-.385.564-.594.832zM19.855 20.715l.184.203c.258-.23.51-.479.746-.732l-.201-.188c-.23.248-.477.488-.729.717zM22.359 17.504l.244.129c.162-.307.314-.625.449-.945l-.254-.107a11.27 11.27 0 0 1-.439.923zM23.617 13.629l.273.039c.049-.346.082-.695.102-1.043l-.275-.014c-.018.338-.051.682-.1 1.018zM23.156 15.621l.264.086c.107-.332.201-.67.279-1.01l-.268-.063c-.077.333-.169.665-.275.987zM22.453 6.672c.154.303.297.617.424.932l.256-.104c-.131-.322-.277-.643-.436-.953l-.244.125zM8.296 23.418c.331.107.67.201 1.009.279l.062-.268c-.331-.076-.663-.168-.986-.273l-.085.262zM10.335 23.889c.345.049.696.082 1.043.102l.014-.275c-.339-.018-.682-.051-1.019-.098l-.038.271zM17.326 22.449c-.303.154-.613.297-.926.424l.104.256c.318-.131.639-.275.947-.434l.004-.002-.123-.246-.006.002zM4.613 21.467c.274.213.562.418.854.605l.149-.23c-.285-.184-.565-.385-.833-.592l-.17.217zM12.417 23.725l.009.275c.348-.014.699-.041 1.045-.084l-.035-.271c-.336.041-.68.068-1.019.08zM6.37 22.604c.307.162.625.314.946.449l.107-.254c-.313-.133-.624-.279-.924-.439l-.129.244zM3.083 20.041c.233.258.48.51.734.746l.188-.201c-.249-.23-.49-.477-.717-.729l-.205.184zM14.445 23.475l.059.27c.34-.074.68-.162 1.014-.266l-.082-.262c-.325.099-.659.185-.991.258zM21.18.129A2.689 2.689 0 1 0 21.18 5.507 2.689 2.689 0 1 0 21.18.129zM15.324 15.447c0 .471.314.66.852.66.67 0 1.297-.396 1.297-1.016v-.645c-.23.107-.379.141-1.107.24-.735.109-1.042.306-1.042.761zM12 2.818c-5.07 0-9.18 4.109-9.18 9.18 0 5.068 4.11 9.18 9.18 9.18 5.07 0 9.18-4.111 9.18-9.18 0-5.07-4.11-9.18-9.18-9.18zm-2.487 13.77H5.771v-6.023h.769v5.346h2.974v.677zm4.13 0h-.619v-.67c-.405.57-.811.793-1.446.793-.843 0-1.38-.463-1.38-1.182v-3.271h.686v3c0 .52.347.85.893.85.719 0 1.181-.578 1.181-1.461v-2.389h.686v4.33zm-.53-8.393c0-1.484 1.205-2.689 2.689-2.689s2.688 1.205 2.688 2.689-1.203 2.688-2.688 2.688-2.689-1.203-2.689-2.688zm5.567 7.856v.52c-.223.059-.33.074-.471.074-.34 0-.637-.238-.711-.57-.381.406-.918.637-1.471.637-.877 0-1.422-.463-1.422-1.248 0-.527.256-.916.76-1.123.266-.107.414-.141 1.389-.264.545-.066.719-.191.719-.48v-.182c0-.412-.348-.645-.967-.645-.645 0-.957.24-1.016.77h-.693c.041-1 .686-1.404 1.734-1.404 1.066 0 1.627.412 1.627 1.182v2.412c0 .215.133.338.373.338.041-.002.074-.002.149-.017z"/></g>',makefile:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#427819"/><path fill="#fff" d="m5 4.5 2.3 2.3 2.3-2.3L11 5.9 8.7 8.2l2.4 2.4L9.7 12l-2.4-2.4L5 11.9 3.6 10.5l2.3-2.3-2.3-2.3zm7 6.5h4v1.5h-4zm0 2.8h4v1.5h-4z"/>',node:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EDF7EA" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#539E43" d="M11.998,24c-0.321,0-0.641-0.084-0.922-0.247l-2.936-1.737c-0.438-0.245-0.224-0.332-0.08-0.383 c0.585-0.203,0.703-0.25,1.328-0.604c0.065-0.037,0.151-0.023,0.218,0.017l2.256,1.339c0.082,0.045,0.197,0.045,0.272,0l8.795-5.076 c0.082-0.047,0.134-0.141,0.134-0.238V6.921c0-0.099-0.053-0.192-0.137-0.242l-8.791-5.072c-0.081-0.047-0.189-0.047-0.271,0 L3.075,6.68C2.99,6.729,2.936,6.825,2.936,6.921v10.15c0,0.097,0.054,0.189,0.139,0.235l2.409,1.392 c1.307,0.654,2.108-0.116,2.108-0.89V7.787c0-0.142,0.114-0.253,0.256-0.253h1.115c0.139,0,0.255,0.112,0.255,0.253v10.021 c0,1.745-0.95,2.745-2.604,2.745c-0.508,0-0.909,0-2.026-0.551L2.28,18.675c-0.57-0.329-0.922-0.945-0.922-1.604V6.921 c0-0.659,0.353-1.275,0.922-1.603l8.795-5.082c0.557-0.315,1.296-0.315,1.848,0l8.794,5.082c0.57,0.329,0.924,0.944,0.924,1.603 v10.15c0,0.659-0.354,1.273-0.924,1.604l-8.794,5.078C12.643,23.916,12.324,24,11.998,24z M19.099,13.993 c0-1.9-1.284-2.406-3.987-2.763c-2.731-0.361-3.009-0.548-3.009-1.187c0-0.528,0.235-1.233,2.258-1.233 c1.807,0,2.473,0.389,2.747,1.607c0.024,0.115,0.129,0.199,0.247,0.199h1.141c0.071,0,0.138-0.031,0.186-0.081 c0.048-0.054,0.074-0.123,0.067-0.196c-0.177-2.098-1.571-3.076-4.388-3.076c-2.508,0-4.004,1.058-4.004,2.833 c0,1.925,1.488,2.457,3.895,2.695c2.88,0.282,3.103,0.703,3.103,1.269c0,0.983-0.789,1.402-2.642,1.402 c-2.327,0-2.839-0.584-3.011-1.742c-0.02-0.124-0.126-0.215-0.253-0.215h-1.137c-0.141,0-0.254,0.112-0.254,0.253 c0,1.482,0.806,3.248,4.655,3.248C17.501,17.007,19.099,15.91,19.099,13.993z"/></g>',"objective-c":'<rect x="1" y="1" width="18" height="18" rx="4" fill="#438EFF"/><text x="10" y="13.2" text-anchor="middle" font-family="Arial,sans-serif" font-size="7.2" font-weight="800" fill="#fff">OC</text>',perl:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EAF2F7" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#0073A1" d="M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0m.157 1.103a10.91 10.91 0 0 1 9.214 5.404c-1.962.152-3.156 1.698-5.132 3.553-2.81 2.637-4.562.582-5.288-.898-.447-1.004-.847-2.117-1.544-2.769A.4.4 0 0 1 9.3 6.02l.08-.37a.083.083 0 0 0-.074-.1c-.33-.022-.601.093-.84.368a2.5 2.5 0 0 0-.375-.064c-.863-.093-1.036.345-1.873.345H5.81c-.758 0-1.391.361-1.7.892-.248.424-.257.884.15.93-.126.445.292.62 1.224.192 0 0 .733.421 1.749.421.549 0 .712.087.914.967.486 2.138 2.404 5.655 6.282 5.655l.118.166c.659.934.86 2.113.48 3.184-.307.867-.697 1.531-.697 1.531q.01.178.01.349c0 .81-.175 1.553-.387 2.23a10.91 10.91 0 0 1-11.989-6.342A10.91 10.91 0 0 1 7.608 2.01a10.9 10.9 0 0 1 4.55-.907M7.524 6.47c.288 0 .575.231.477.272a.4.4 0 0 1-.1.02.38.38 0 0 1-.375.327.384.384 0 0 1-.378-.326.4.4 0 0 1-.101-.02c-.098-.042.19-.273.477-.273m10.193 10.49q.05 0 .101.007.326.054.694.096.135.01.269.026a13.4 13.4 0 0 0 2.846-.007 10.9 10.9 0 0 1-2.007 2.705c-.11-.23-.547-1.19-.573-2.196q-.156-.01-.313-.026-.13-.014-.256-.022a18 18 0 0 1-.735-.102h-.003c-.032 0-.06.01-.074.035l-.003.012q-.081.265-.182.544c.428 1.084.652 2.078.652 2.078.14.22.258.432.363.64a11 11 0 0 1-2.168 1.264 11 11 0 0 1-1.205.426 13.3 13.3 0 0 1 1.055-2.531s.678-1.445 1.027-2.564v-.004a.55.55 0 0 1 .512-.38"/></g>',php:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F0EFF8" stroke="#DDDCEB" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#777BB4" d="M7.01 10.207h-.944l-.515 2.648h.838c.556 0 .97-.105 1.242-.314.272-.21.455-.559.55-1.049.092-.47.05-.802-.124-.995-.175-.193-.523-.29-1.047-.29zM12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12c0-3.486-5.373-6.312-12-6.312zm-3.26 7.451c-.261.25-.575.438-.917.551-.336.108-.765.164-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65c.797 0 1.378.209 1.744.628.366.418.476 1.002.33 1.752a2.836 2.836 0 0 1-.305.847c-.143.255-.33.49-.561.703zm4.024.715l.543-2.799c.063-.318.039-.536-.068-.651-.107-.116-.336-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218c.767 0 1.295.134 1.586.401s.378.7.263 1.299l-.572 2.944h-1.389zm7.597-2.265a2.782 2.782 0 0 1-.305.847c-.143.255-.33.49-.561.703a2.44 2.44 0 0 1-.917.551c-.336.108-.765.164-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649c.797 0 1.378.209 1.744.628.366.417.477 1.001.331 1.751zM17.766 10.207h-.943l-.516 2.648h.838c.557 0 .971-.105 1.242-.314.272-.21.455-.559.551-1.049.092-.47.049-.802-.125-.995s-.524-.29-1.047-.29z"/></g>',powershell:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#2671BE"/><path fill="#fff" fill-opacity=".16" d="M5.5 4h11l-3.5 12H2z"/><path d="m6.5 6.5 3 3-4.2 3.2m4 1h4" fill="none" stroke="#fff" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>',protobuf:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#4285F4"/><path fill="none" stroke="#fff" stroke-width="1.2" stroke-linejoin="round" d="m10 3.5 6 3.3v6.4l-6 3.3-6-3.3V6.8z"/><path fill="#fff" d="M6.5 6.5h4.4c2.3 0 3.6 1.2 3.6 3.1s-1.3 3.1-3.6 3.1H9v2H6.5zM9 8.4v2.4h1.6c.8 0 1.2-.4 1.2-1.2s-.4-1.2-1.2-1.2z"/>',python:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F2F4F7" stroke="#D5DBE5" stroke-width=".5"/><g transform="matrix(.126 0 0 .126 2.30 2.24)"><path fill="#3776AB" d="M 60.510156,6.3979729 C 55.926503,6.4192712 51.549217,6.8101906 47.697656,7.4917229 C 36.35144,9.4962267 34.291407,13.691825 34.291406,21.429223 L 34.291406,31.647973 L 61.103906,31.647973 L 61.103906,35.054223 L 34.291406,35.054223 L 24.228906,35.054223 C 16.436447,35.054223 9.6131468,39.73794 7.4789058,48.647973 C 5.0170858,58.860939 4.9078907,65.233996 7.4789058,75.897973 C 9.3848341,83.835825 13.936449,89.491721 21.728906,89.491723 L 30.947656,89.491723 L 30.947656,77.241723 C 30.947656,68.391821 38.6048,60.585475 47.697656,60.585473 L 74.478906,60.585473 C 81.933857,60.585473 87.885159,54.447309 87.885156,46.960473 L 87.885156,21.429223 C 87.885156,14.162884 81.755176,8.7044455 74.478906,7.4917229 C 69.872919,6.7249976 65.093809,6.3766746 60.510156,6.3979729 z M 46.010156,14.616723 C 48.779703,14.616723 51.041406,16.915369 51.041406,19.741723 C 51.041404,22.558059 48.779703,24.835473 46.010156,24.835473 C 43.23068,24.835472 40.978906,22.558058 40.978906,19.741723 C 40.978905,16.91537 43.23068,14.616723 46.010156,14.616723 z "/><path fill="#FFD43B" d="M 91.228906,35.054223 L 91.228906,46.960473 C 91.228906,56.191228 83.403011,63.960472 74.478906,63.960473 L 47.697656,63.960473 C 40.361823,63.960473 34.291407,70.238956 34.291406,77.585473 L 34.291406,103.11672 C 34.291406,110.38306 40.609994,114.65704 47.697656,116.74172 C 56.184987,119.23733 64.323893,119.68835 74.478906,116.74172 C 81.229061,114.78733 87.885159,110.85411 87.885156,103.11672 L 87.885156,92.897973 L 61.103906,92.897973 L 61.103906,89.491723 L 87.885156,89.491723 L 101.29141,89.491723 C 109.08387,89.491723 111.98766,84.056315 114.69765,75.897973 C 117.49698,67.499087 117.37787,59.422197 114.69765,48.647973 C 112.77187,40.890532 109.09378,35.054223 101.29141,35.054223 L 91.228906,35.054223 z M 76.166406,99.710473 C 78.945884,99.710476 81.197656,101.98789 81.197656,104.80422 C 81.197654,107.63057 78.945881,109.92922 76.166406,109.92922 C 73.396856,109.92922 71.135156,107.63057 71.135156,104.80422 C 71.135158,101.98789 73.396853,99.710473 76.166406,99.710473 z "/></g>',r:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EEF2F6" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#276DC3" d="M12 2.746c-6.627 0-12 3.599-12 8.037 0 3.897 4.144 7.144 9.64 7.88V16.26c-2.924-.915-4.925-2.755-4.925-4.877 0-3.035 4.084-5.494 9.12-5.494 5.038 0 8.757 1.683 8.757 5.494 0 1.976-.999 3.379-2.662 4.272.09.066.174.128.258.216.169.149.25.363.372.544 2.128-1.45 3.44-3.437 3.44-5.631 0-4.44-5.373-8.038-12-8.038zm-2.111 4.99v13.516l4.093-.002-.002-5.291h1.1c.225 0 .321.066.549.25.272.22.715.982.715.982l2.164 4.063 4.627-.002-2.864-4.826s-.086-.193-.265-.383a2.22 2.22 0 00-.582-.416c-.422-.214-1.149-.434-1.149-.434s3.578-.264 3.578-3.826c0-3.562-3.744-3.63-3.744-3.63zm4.127 2.93l2.478.002s1.149-.062 1.149 1.127c0 1.165-1.149 1.17-1.149 1.17h-2.478zm1.754 6.119c-.494.049-1.012.079-1.54.088v1.807a16.622 16.622 0 002.37-.473l-.471-.891s-.108-.183-.248-.394c-.039-.054-.08-.098-.111-.137z"/></g>',react:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#20232A"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#61DAFB" d="M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z"/></g>',ruby:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCEDEC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#CC342D" d="M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073l-.003.01zM0 19.089zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75l.003-.003z"/></g>',rust:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3E6DD" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#2B2B2B" d="M23.8346 11.7033l-1.0073-.6236a13.7268 13.7268 0 00-.0283-.2936l.8656-.8069a.3483.3483 0 00-.1154-.578l-1.1066-.414a8.4958 8.4958 0 00-.087-.2856l.6904-.9587a.3462.3462 0 00-.2257-.5446l-1.1663-.1894a9.3574 9.3574 0 00-.1407-.2622l.49-1.0761a.3437.3437 0 00-.0274-.3361.3486.3486 0 00-.3006-.154l-1.1845.0416a6.7444 6.7444 0 00-.1873-.2268l.2723-1.153a.3472.3472 0 00-.417-.4172l-1.1532.2724a14.0183 14.0183 0 00-.2278-.1873l.0415-1.1845a.3442.3442 0 00-.49-.328l-1.076.491c-.0872-.0476-.1742-.0952-.2623-.1407l-.1903-1.1673A.3483.3483 0 0016.256.955l-.9597.6905a8.4867 8.4867 0 00-.2855-.086l-.414-1.1066a.3483.3483 0 00-.5781-.1154l-.8069.8666a9.2936 9.2936 0 00-.2936-.0284L12.2946.1683a.3462.3462 0 00-.5892 0l-.6236 1.0073a13.7383 13.7383 0 00-.2936.0284L9.9803.3374a.3462.3462 0 00-.578.1154l-.4141 1.1065c-.0962.0274-.1903.0567-.2855.086L7.744.955a.3483.3483 0 00-.5447.2258L7.009 2.348a9.3574 9.3574 0 00-.2622.1407l-1.0762-.491a.3462.3462 0 00-.49.328l.0416 1.1845a7.9826 7.9826 0 00-.2278.1873L3.8413 3.425a.3472.3472 0 00-.4171.4171l.2713 1.1531c-.0628.075-.1255.1509-.1863.2268l-1.1845-.0415a.3462.3462 0 00-.328.49l.491 1.0761a9.167 9.167 0 00-.1407.2622l-1.1662.1894a.3483.3483 0 00-.2258.5446l.6904.9587a13.303 13.303 0 00-.087.2855l-1.1065.414a.3483.3483 0 00-.1155.5781l.8656.807a9.2936 9.2936 0 00-.0283.2935l-1.0073.6236a.3442.3442 0 000 .5892l1.0073.6236c.008.0982.0182.1964.0283.2936l-.8656.8079a.3462.3462 0 00.1155.578l1.1065.4141c.0273.0962.0567.1914.087.2855l-.6904.9587a.3452.3452 0 00.2268.5447l1.1662.1893c.0456.088.0922.1751.1408.2622l-.491 1.0762a.3462.3462 0 00.328.49l1.1834-.0415c.0618.0769.1235.1528.1873.2277l-.2713 1.1541a.3462.3462 0 00.4171.4161l1.153-.2713c.075.0638.151.1255.2279.1863l-.0415 1.1845a.3442.3442 0 00.49.327l1.0761-.49c.087.0486.1741.0951.2622.1407l.1903 1.1662a.3483.3483 0 00.5447.2268l.9587-.6904a9.299 9.299 0 00.2855.087l.414 1.1066a.3452.3452 0 00.5781.1154l.8079-.8656c.0972.0111.1954.0203.2936.0294l.6236 1.0073a.3472.3472 0 00.5892 0l.6236-1.0073c.0982-.0091.1964-.0183.2936-.0294l.8069.8656a.3483.3483 0 00.578-.1154l.4141-1.1066a8.4626 8.4626 0 00.2855-.087l.9587.6904a.3452.3452 0 00.5447-.2268l.1903-1.1662c.088-.0456.1751-.0931.2622-.1407l1.0762.49a.3472.3472 0 00.49-.327l-.0415-1.1845a6.7267 6.7267 0 00.2267-.1863l1.1531.2713a.3472.3472 0 00.4171-.416l-.2713-1.1542c.0628-.0749.1255-.1508.1863-.2278l1.1845.0415a.3442.3442 0 00.328-.49l-.49-1.076c.0475-.0872.0951-.1742.1407-.2623l1.1662-.1893a.3483.3483 0 00.2258-.5447l-.6904-.9587.087-.2855 1.1066-.414a.3462.3462 0 00.1154-.5781l-.8656-.8079c.0101-.0972.0202-.1954.0283-.2936l1.0073-.6236a.3442.3442 0 000-.5892zm-6.7413 8.3551a.7138.7138 0 01.2986-1.396.714.714 0 11-.2997 1.396zm-.3422-2.3142a.649.649 0 00-.7715.5l-.3573 1.6685c-1.1035.501-2.3285.7795-3.6193.7795a8.7368 8.7368 0 01-3.6951-.814l-.3574-1.6684a.648.648 0 00-.7714-.499l-1.473.3158a8.7216 8.7216 0 01-.7613-.898h7.1676c.081 0 .1356-.0141.1356-.088v-2.536c0-.074-.0536-.0881-.1356-.0881h-2.0966v-1.6077h2.2677c.2065 0 1.1065.0587 1.394 1.2088.0901.3533.2875 1.5044.4232 1.8729.1346.413.6833 1.2381 1.2685 1.2381h3.5716a.7492.7492 0 00.1296-.0131 8.7874 8.7874 0 01-.8119.9526zM6.8369 20.024a.714.714 0 11-.2997-1.396.714.714 0 01.2997 1.396zM4.1177 8.9972a.7137.7137 0 11-1.304.5791.7137.7137 0 011.304-.579zm-.8352 1.9813l1.5347-.6824a.65.65 0 00.33-.8585l-.3158-.7147h1.2432v5.6025H3.5669a8.7753 8.7753 0 01-.2834-3.348zm6.7343-.5437V8.7836h2.9601c.153 0 1.0792.1772 1.0792.8697 0 .575-.7107.7815-1.2948.7815zm10.7574 1.4862c0 .2187-.008.4363-.0243.651h-.9c-.09 0-.1265.0586-.1265.1477v.413c0 .973-.5487 1.1846-1.0296 1.2382-.4576.0517-.9648-.1913-1.0275-.4717-.2704-1.5186-.7198-1.8436-1.4305-2.4034.8817-.5599 1.799-1.386 1.799-2.4915 0-1.1936-.819-1.9458-1.3769-2.3153-.7825-.5163-1.6491-.6195-1.883-.6195H5.4682a8.7651 8.7651 0 014.907-2.7699l1.0974 1.151a.648.648 0 00.9182.0213l1.227-1.1743a8.7753 8.7753 0 016.0044 4.2762l-.8403 1.8982a.652.652 0 00.33.8585l1.6178.7188c.0283.2875.0425.577.0425.8717zm-9.3006-9.5993a.7128.7128 0 11.984 1.0316.7137.7137 0 01-.984-1.0316zm8.3389 6.71a.7107.7107 0 01.9395-.3625.7137.7137 0 11-.9405.3635z"/></g>',scala:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCECEB" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#DC322F" d="M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912V24zM4.589 16.365c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912v5.817zM4.589 8.729c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912v5.817z"/></g>',shell:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#303642"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#7EE787" d="M21.038,4.9l-7.577-4.498C13.009,0.134,12.505,0,12,0c-0.505,0-1.009,0.134-1.462,0.403L2.961,4.9 C2.057,5.437,1.5,6.429,1.5,7.503v8.995c0,1.073,0.557,2.066,1.462,2.603l7.577,4.497C10.991,23.866,11.495,24,12,24 c0.505,0,1.009-0.134,1.461-0.402l7.577-4.497c0.904-0.537,1.462-1.529,1.462-2.603V7.503C22.5,6.429,21.943,5.437,21.038,4.9z M15.17,18.946l0.013,0.646c0.001,0.078-0.05,0.167-0.111,0.198l-0.383,0.22c-0.061,0.031-0.111-0.007-0.112-0.085L14.57,19.29 c-0.328,0.136-0.66,0.169-0.872,0.084c-0.04-0.016-0.057-0.075-0.041-0.142l0.139-0.584c0.011-0.046,0.036-0.092,0.069-0.121 c0.012-0.011,0.024-0.02,0.036-0.026c0.022-0.011,0.043-0.014,0.062-0.006c0.229,0.077,0.521,0.041,0.802-0.101 c0.357-0.181,0.596-0.545,0.592-0.907c-0.003-0.328-0.181-0.465-0.613-0.468c-0.55,0.001-1.064-0.107-1.072-0.917 c-0.007-0.667,0.34-1.361,0.889-1.8l-0.007-0.652c-0.001-0.08,0.048-0.168,0.111-0.2l0.37-0.236 c0.061-0.031,0.111,0.007,0.112,0.087l0.006,0.653c0.273-0.109,0.511-0.138,0.726-0.088c0.047,0.012,0.067,0.076,0.048,0.151 l-0.144,0.578c-0.011,0.044-0.036,0.088-0.065,0.116c-0.012,0.012-0.025,0.021-0.038,0.028c-0.019,0.01-0.038,0.013-0.057,0.009 c-0.098-0.022-0.332-0.073-0.699,0.113c-0.385,0.195-0.52,0.53-0.517,0.778c0.003,0.297,0.155,0.387,0.681,0.396 c0.7,0.012,1.003,0.318,1.01,1.023C16.105,17.747,15.736,18.491,15.17,18.946z M19.143,17.859c0,0.06-0.008,0.116-0.058,0.145 l-1.916,1.164c-0.05,0.029-0.09,0.004-0.09-0.056v-0.494c0-0.06,0.037-0.093,0.087-0.122l1.887-1.129 c0.05-0.029,0.09-0.004,0.09,0.056V17.859z M20.459,6.797l-7.168,4.427c-0.894,0.523-1.553,1.109-1.553,2.187v8.833 c0,0.645,0.26,1.063,0.66,1.184c-0.131,0.023-0.264,0.039-0.398,0.039c-0.42,0-0.833-0.114-1.197-0.33L3.226,18.64 c-0.741-0.44-1.201-1.261-1.201-2.142V7.503c0-0.881,0.46-1.702,1.201-2.142l7.577-4.498c0.363-0.216,0.777-0.33,1.197-0.33 c0.419,0,0.833,0.114,1.197,0.33l7.577,4.498c0.624,0.371,1.046,1.013,1.164,1.732C21.686,6.557,21.12,6.411,20.459,6.797z"/></g>',solidity:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F0F0F0" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#363636" d="M4.409 6.608L7.981.255l3.572 6.353H4.409zM8.411 0l3.569 6.348L15.552 0H8.411zm4.036 17.392l3.572 6.354 3.575-6.354h-7.147zm-.608-10.284h-7.43l3.715 6.605 3.715-6.605zm.428-.25h7.428L15.982.255l-3.715 6.603zM15.589 24l-3.569-6.349L8.448 24h7.141zm-3.856-6.858H4.306l3.712 6.603 3.715-6.603zm.428-.25h7.433l-3.718-6.605-3.715 6.605z"/></g>',sql:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#336791"/><ellipse cx="10" cy="5.5" rx="5.8" ry="2.1" fill="#fff"/><path fill="#fff" fill-opacity=".88" d="M4.2 5.5v8.9c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1V5.5c0 1.2-2.6 2.1-5.8 2.1s-5.8-.9-5.8-2.1z"/><path d="M4.2 9.2c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1M4.2 12.9c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1" fill="none" stroke="#336791" stroke-opacity=".7" stroke-width=".7"/>',svelte:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FFF0EB" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#FF3E00" d="M10.354 21.125a4.44 4.44 0 0 1-4.765-1.767 4.109 4.109 0 0 1-.703-3.107 3.898 3.898 0 0 1 .134-.522l.105-.321.287.21a7.21 7.21 0 0 0 2.186 1.092l.208.063-.02.208a1.253 1.253 0 0 0 .226.83 1.337 1.337 0 0 0 1.435.533 1.231 1.231 0 0 0 .343-.15l5.59-3.562a1.164 1.164 0 0 0 .524-.778 1.242 1.242 0 0 0-.211-.937 1.338 1.338 0 0 0-1.435-.533 1.23 1.23 0 0 0-.343.15l-2.133 1.36a4.078 4.078 0 0 1-1.135.499 4.44 4.44 0 0 1-4.765-1.766 4.108 4.108 0 0 1-.702-3.108 3.855 3.855 0 0 1 1.742-2.582l5.589-3.563a4.072 4.072 0 0 1 1.135-.499 4.44 4.44 0 0 1 4.765 1.767 4.109 4.109 0 0 1 .703 3.107 3.943 3.943 0 0 1-.134.522l-.105.321-.286-.21a7.204 7.204 0 0 0-2.187-1.093l-.208-.063.02-.207a1.255 1.255 0 0 0-.226-.831 1.337 1.337 0 0 0-1.435-.532 1.231 1.231 0 0 0-.343.15L8.62 9.368a1.162 1.162 0 0 0-.524.778 1.24 1.24 0 0 0 .211.937 1.338 1.338 0 0 0 1.435.533 1.235 1.235 0 0 0 .344-.151l2.132-1.36a4.067 4.067 0 0 1 1.135-.498 4.44 4.44 0 0 1 4.765 1.766 4.108 4.108 0 0 1 .702 3.108 3.857 3.857 0 0 1-1.742 2.583l-5.589 3.562a4.072 4.072 0 0 1-1.135.499m10.358-17.95C18.484-.015 14.082-.96 10.9 1.068L5.31 4.63a6.412 6.412 0 0 0-2.896 4.295 6.753 6.753 0 0 0 .666 4.336 6.43 6.43 0 0 0-.96 2.396 6.833 6.833 0 0 0 1.168 5.167c2.229 3.19 6.63 4.135 9.812 2.108l5.59-3.562a6.41 6.41 0 0 0 2.896-4.295 6.756 6.756 0 0 0-.665-4.336 6.429 6.429 0 0 0 .958-2.396 6.831 6.831 0 0 0-1.167-5.168Z"/></g>',swift:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#f05138" d="M126.33 34.06a39.32 39.32 0 00-.79-7.83 28.78 28.78 0 00-2.65-7.58 28.84 28.84 0 00-4.76-6.32 23.42 23.42 0 00-6.62-4.55 27.27 27.27 0 00-7.68-2.53c-2.65-.51-5.56-.51-8.21-.76H30.25a45.46 45.46 0 00-6.09.51 21.82 21.82 0 00-5.82 1.52c-.53.25-1.32.51-1.85.76a33.82 33.82 0 00-5 3.28c-.53.51-1.06.76-1.59 1.26a22.41 22.41 0 00-4.76 6.32 23.61 23.61 0 00-2.65 7.58 78.5 78.5 0 00-.79 7.83v60.39a39.32 39.32 0 00.79 7.83 28.78 28.78 0 002.65 7.58 28.84 28.84 0 004.76 6.32 23.42 23.42 0 006.62 4.55 27.27 27.27 0 007.68 2.53c2.65.51 5.56.51 8.21.76h63.22a45.08 45.08 0 008.21-.76 27.27 27.27 0 007.68-2.53 30.13 30.13 0 006.62-4.55 22.41 22.41 0 004.76-6.32 23.61 23.61 0 002.65-7.58 78.49 78.49 0 00.79-7.83V34.06z"/><path fill="#fefefe" d="M85 96.5c-11.11 6.13-26.38 6.76-41.75.47A64.53 64.53 0 0113.84 73a50 50 0 0010.85 6.32c15.87 7.1 31.73 6.61 42.9 0-15.9-11.66-29.4-26.82-39.46-39.2a43.47 43.47 0 01-5.29-6.82c12.16 10.61 31.5 24 38.38 27.79a271.77 271.77 0 01-27-32.34 266.8 266.8 0 0044.47 34.87c.71.38 1.26.7 1.7 1a32.7 32.7 0 001.21-3.51c3.71-12.89-.53-27.54-9.79-39.67C93.25 33.81 106 57.05 100.66 76.51c-.14.53-.29 1-.45 1.55l.19.22c10.59 12.63 7.68 26 6.35 23.5C101 91 90.37 94.33 85 96.5z"/></svg></g>',toml:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F6EEEA" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#9C4121" d="M.014 0h5.34v2.652H2.888v18.681h2.468V24H.015V0Zm17.622 5.049v2.78h-4.274v12.935h-3.008V7.83H6.059V5.05h11.577ZM23.986 24h-5.34v-2.652h2.467V2.667h-2.468V0h5.34v24Z"/></g>',typescript:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#fff" d="M22.67 47h99.67v73.67H22.67z"/><path data-name="original" fill="#007acc" d="M1.5 63.91v62.5h125v-125H1.5zm100.73-5a15.56 15.56 0 017.82 4.5 20.58 20.58 0 013 4c0 .16-5.4 3.81-8.69 5.85-.12.08-.6-.44-1.13-1.23a7.09 7.09 0 00-5.87-3.53c-3.79-.26-6.23 1.73-6.21 5a4.58 4.58 0 00.54 2.34c.83 1.73 2.38 2.76 7.24 4.86 8.95 3.85 12.78 6.39 15.16 10 2.66 4 3.25 10.46 1.45 15.24-2 5.2-6.9 8.73-13.83 9.9a38.32 38.32 0 01-9.52-.1 23 23 0 01-12.72-6.63c-1.15-1.27-3.39-4.58-3.25-4.82a9.34 9.34 0 011.15-.73L82 101l3.59-2.08.75 1.11a16.78 16.78 0 004.74 4.54c4 2.1 9.46 1.81 12.16-.62a5.43 5.43 0 00.69-6.92c-1-1.39-3-2.56-8.59-5-6.45-2.78-9.23-4.5-11.77-7.24a16.48 16.48 0 01-3.43-6.25 25 25 0 01-.22-8c1.33-6.23 6-10.58 12.82-11.87a31.66 31.66 0 019.49.26zm-29.34 5.24v5.12H56.66v46.23H45.15V69.26H28.88v-5a49.19 49.19 0 01.12-5.17C29.08 59 39 59 51 59h21.83z"/></svg></g>',vue:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECF8F3" stroke="#D5EAE0" stroke-width=".5"/><path fill="#41B883" d="M3.5 5h3.2l3.3 5.7L13.3 5h3.2L10 16z"/><path fill="#35495E" d="M6.7 5H9l1 1.8L11 5h2.3L10 10.7z"/>',wasm:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#654ff0" d="M.223.222v127.555h127.555V.222H78.594c.014.227.036.455.036.686 0 8.08-6.55 14.626-14.63 14.626-8.078 0-14.625-6.546-14.625-14.626 0-.231.022-.459.031-.686zm29.595 68.746h8.445l5.782 30.738h.107l6.968-30.738h7.908l6.265 31.119h.106l6.597-31.119h8.284l-10.765 45.156H61.12l-6.213-30.738H54.8l-6.7 30.738h-8.557zm59.994 0h13.334l13.284 45.156h-8.77l-2.879-10.051H89.59l-2.212 10.05h-8.5ZM94.895 80.1l-3.684 16.57h11.473L98.448 80.1Z"/></svg></g>',xml:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EAF3FA" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#005FAD" d="M4.345 7.053c-.495.02-.44.725-.536 1.081-.157.583-.3 1.325-.347 1.926-.046.585-.008 1.127.066 1.719.058.46.191.767.07.89-.108.11-3.216 2.962-3.466 3.123-.26.169-.08.584.069.817.157.246.23.373.557.33.306-.042.405-.409.583-.606.228-.252 2.421-2.401 2.616-2.401.077.544.367 1.064.67 1.513.15.222.314.439.505.629.175.175.4.317.587.45.44.024.795-.301.35-.67-.17-.14-.735-.971-.927-1.43-.18-.43-.574-1.076-.146-1.428 1.494-1.23 3.72-2.262 4.247-2.313-.257 1.024-1.356 3.048-1.757 4.012-.14.333-.231.732-.185 1.094.055.434.383.774.587.806.417-.023.7-.387.946-.645.343-.357.634-.685.974-1.043.339-.356.672-.731.971-1.07.184-.207.674-.713.963-.713-.11.693-.716 1.552-.839 2.254-.125.716.531 1.596 1.217.956.623-.58 1.255-1.129 1.867-1.72.217-.208.175.037.224.242.05.208.176.91.275 1.1.18.346.496.592.897.598.362.006.727-.161.982-.414.19-.187.513-.699.154-.832-.23-.086-.217-.176-.495-.129-.172.029-.362.074-.507.179-.367-.003-.381-.89-.324-1.161.068-.327.207-.659.185-.998-.026-.418-.478-.69-.582-.72-.156-.076-.253.023-.458.212-.173.161-.363.332-.535.495-.34.322-.768.813-.942.813.305-.705.708-2.652-.643-2.48-.563.071-.95.377-1.394.71-.29.28-.683.641-.936.87-.236.216-.371.404-.496.404.132-.747 1.685-3.167.885-3.853-.158-.136-.313-.325-.515-.349a4.637 4.637 0 0 0-.833.19c-.565.18-2.78 1.28-4.19 2.289-.131.094-.214-.085-.231-.29-.087-1.058.199-2.19.496-3.188.208-.696-.557-1.225-.659-1.249zm18.177.874c-.166.364-.2.894-.248 1.319a24.307 24.307 0 0 0-1.246-.115c.238.296.691.588 1.056.724-.048.366-.434.67-.599 1.021.458-.127.676-.47.989-.821.362.22.791.627 1.26.636-.177-.376-.334-.695-.658-.966.269-.175.717-.362.924-.633-.345-.074-.718-.093-1.052-.015-.258-.284-.3-.772-.426-1.15zm-2.92.079c-.23.02-.613.49-.832.773-.807 1.039-1.542 3.15-1.661 3.542-.363 1.195-.502 2.672.28 3.722.456.612 1.258.66 2.041.434.405-.116.812-.406.95-.723.114-.263.174-.753-.404-.38-.224.145-.634.304-1.37.291-.247-.004-.651-.357-.76-.722-.192-.595-.11-1.393-.11-1.393.167-1.028.642-2.146 1.061-3.076.163-.36.658-1.259.842-1.546 0 0 .239-.373.131-.77-.031-.116-.091-.16-.168-.152zm3.072 2.976c-.12.264-.144.648-.18.956-.274-.031-.63-.066-.904-.083.172.215.501.426.766.525-.034.265-.314.486-.434.741.332-.092.49-.34.717-.596.263.16.575.456.914.462-.127-.273-.242-.504-.477-.701.195-.127.52-.262.67-.46a1.77 1.77 0 0 0-.763-.01c-.187-.206-.217-.56-.309-.834zm-1.123 2.422c-.083.183-.1.449-.125.662a12.6 12.6 0 0 0-.624-.058c.119.148.346.295.53.363-.025.184-.219.336-.301.513.23-.064.339-.236.496-.413.181.11.397.316.632.32-.088-.19-.168-.349-.33-.485.135-.087.36-.181.463-.317a1.22 1.22 0 0 0-.527-.008c-.13-.142-.151-.387-.214-.576z"/></g>',yaml:`<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCEEEF" stroke="#F0D8DB" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet">
|
|
133
|
-
<polygon transform="matrix(.24805 0 0 .24805 .5 5.6287)" points="87.702 137.67 0 0 63.25 0 119.02 88.646 175.24 0 235.79 0 143.98 137.67 143.98 224.95 87.702 224.95"/>
|
|
134
|
-
<path d="m82.428 49.149h-25.266l-5.1388 12.408h-11.188l23.659-55.798h11.444l22.699 55.798h-11.956l-4.2525-12.408zm-4.197-11.14-7.7455-20.476-8.6412 20.476z" fill="#cb171e"/>
|
|
135
|
-
<polygon transform="matrix(.24805 0 0 .24805 .5 5.6287)" points="87.701 250.18 87.701 470.65 135 470.65 135 318.57 184.51 420.79 221.74 420.79 272.94 314.98 272.94 470.6 318.32 470.6 318.32 250.18 256.36 250.18 201.38 349.88 149.02 250.18"/>
|
|
136
|
-
<polygon transform="matrix(.24805 0 0 .24805 .5 5.6287)" points="512 422.74 512 422.74 395.64 422.74 395.64 250.12 347.44 250.12 347.44 469.65 512 469.65"/>
|
|
137
|
-
</svg>`,zig:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FFF4DF" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#E18A00" d="m23.53 1.02-7.686 3.45h-7.06l-2.98 3.452h7.173L.47 22.98l7.681-3.607h7.065v-.002l2.978-3.45-7.148-.001 12.482-14.9zM0 4.47v14.901h1.883l2.98-3.45H3.451v-8h.942l2.824-3.45H0zm22.117 0-2.98 3.608h1.412v7.844h-.942l-2.98 3.45H24V4.47h-1.883z"/></g>'});function SR({type:e,size:t=20,className:r}){const i=`dsh-code-icon-${k.useId().replaceAll(":","")}`;return p.jsx("svg",{width:t,height:t,className:r,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,dangerouslySetInnerHTML:{__html:$R[e].replaceAll(CR,i)}})}const IR=new Set(["angular","c","clojure","cmake","cpp","csharp","css","dart","docker","elixir","env","erlang","flutter","git","go","graphql","haskell","ini","java","javascript","json","kotlin","lua","makefile","node","objective-c","perl","php","powershell","protobuf","python","r","react","ruby","rust","scala","shell","solidity","sql","svelte","swift","toml","typescript","vue","wasm","xml","yaml","zig"]),zR={".bash_profile":"shell",".bashrc":"shell",".env":"env",".gitattributes":"git",".gitconfig":"git",".gitignore":"git",".gitmodules":"git",".mailmap":"git",".profile":"shell",".zprofile":"shell",".zshrc":"shell",bsdmakefile:"makefile","cmakelists.txt":"cmake",commit_editmsg:"git","compose.yaml":"docker","compose.yml":"docker","docker-compose.yaml":"docker","docker-compose.yml":"docker",dockerfile:"docker",gemfile:"ruby",gnumakefile:"makefile",guardfile:"ruby",makefile:"makefile","npm-shrinkwrap.json":"node","package-lock.json":"node","package.json":"node",podfile:"ruby",rakefile:"ruby"},jR=[["dockerfile.","docker"],[".env.","env"]],ER=[[".component.ts","angular"],[".component.html","angular"],[".directive.ts","angular"],[".service.ts","angular"],[".module.ts","angular"],[".pipe.ts","angular"],[".guard.ts","angular"],[".interceptor.ts","angular"],[".dockerfile","docker"]],OR={bash:"shell",c:"c","c++":"cpp",cc:"cpp",cfg:"ini",cjs:"javascript",clj:"clojure",cljc:"clojure",cljs:"clojure",cmake:"cmake",cpp:"cpp",cs:"csharp",csh:"shell",css:"css",csx:"csharp",cts:"typescript",cxx:"cpp",dart:"dart",dtd:"xml",edn:"clojure",env:"env",erl:"erlang",es6:"javascript",escript:"erlang",ex:"elixir",exs:"elixir",fish:"shell",gemspec:"ruby",go:"go",gql:"graphql",graphql:"graphql",h:"c","h++":"cpp",hh:"cpp",hpp:"cpp",hrl:"erlang",hs:"haskell",hxx:"cpp",ini:"ini",ipp:"cpp",java:"java",js:"javascript",json:"json",json5:"json",jsonc:"json",jsx:"react",ksh:"shell",kt:"kotlin",kts:"kotlin",lhs:"haskell",lua:"lua",m:"objective-c",mak:"makefile",mjs:"javascript",mk:"makefile",mm:"objective-c",mts:"typescript",node:"node",pch:"objective-c",php:"php",php3:"php",php4:"php",php5:"php",phps:"php",phtml:"php",pl:"perl",plist:"xml",pm:"perl",pod:"perl",proto:"protobuf",ps1:"powershell",psd1:"powershell",psm1:"powershell",py:"python",pyi:"python",pyw:"python",pyx:"python",r:"r",rake:"ruby",rb:"ruby",rmd:"r",rs:"rust",sc:"scala",scala:"scala",sh:"shell",sol:"solidity",sql:"sql",svelte:"svelte",swift:"swift",t:"perl",tcsh:"shell",toml:"toml",tpp:"cpp",ts:"typescript",tsx:"react",vue:"vue",wasm:"wasm",wast:"wasm",wat:"wasm",xml:"xml",xsd:"xml",xsl:"xml",xslt:"xml",yaml:"yaml",yml:"yaml",zig:"zig",zsh:"shell"},MR=new Set(["ts","tsx","js","jsx","mjs","cjs","cts","mts","css","scss","sass","less","html","htm","vue","svelte","astro","json","jsonc","json5","yaml","yml","toml","xml","ini","env","sh","bash","zsh","fish","ps1","bat","cmd","py","pyi","rb","rs","go","java","kt","kts","c","cc","cpp","cxx","h","hh","hpp","cs","php","swift","sql","proto","graphql","gql","lua","r","pl","scala","clj","cljs","ex","exs","erl","hs","dart"]);function TR(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function zy(e){return IR.has(e)}function LR(e){return MR.has(e.toLowerCase())}function NR(e,t,r){const i=zR[e];if(i!==void 0)return i;for(const[n,s]of jR)if(e.startsWith(n))return s;for(const[n,s]of ER)if(e.endsWith(n))return s;return t==="dart"&&r!==void 0&&Object.entries(r.files).find(([n])=>TR(n).toLowerCase()==="pubspec.yaml")?.[1]?.includes("flutter:")===!0?"flutter":OR[t]??null}const PR={scss:"code",sass:"code",less:"code",vue:"code",svelte:"code",astro:"code",bat:"code",cmd:"code",csv:"excel",tsv:"excel",html:"html",htm:"html",png:"image",jpg:"image",jpeg:"image",gif:"image",svg:"image",webp:"image",avif:"image",bmp:"image",ico:"image",tif:"image",tiff:"image",heic:"image",heif:"image",md:"markdown",mdx:"markdown",markdown:"markdown",pdf:"pdf",ppt:"ppt",pptx:"ppt",key:"ppt",mp4:"video",mov:"video",m4v:"video",webm:"video",mkv:"video",avi:"video",mpg:"video",mpeg:"video",doc:"word",docx:"word",rtf:"word",odt:"word",pages:"word",xls:"excel",xlsx:"excel",xlsm:"excel",xlsb:"excel",xlt:"excel",xltx:"excel",xltm:"excel",ods:"excel",ots:"excel",fods:"excel",numbers:"excel"},DR={changelog:"markdown",contributing:"markdown",readme:"markdown"};function jy(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function b4(e){const t=jy(e),r=t.lastIndexOf(".");return r<0?"":t.slice(r+1)}function wu(e,t){const r=jy(e).toLowerCase(),i=b4(r).toLowerCase();return NR(r,i,t)??DR[r]??PR[i]??"other"}const RR="M8.48924 28H19.5108C21.6479 28 22.7165 28 23.5594 27.6509C24.6833 27.1853 25.5762 26.2924 26.0417 25.1685C26.3909 24.3256 26.3909 23.257 26.3909 21.1199V8.79443C26.3909 8.32877 26.3909 8.09593 26.3471 7.87507C26.2887 7.58058 26.173 7.30042 26.0067 7.05048C25.882 6.86303 25.7177 6.69799 25.3893 6.36792L20.0611 1.01354C19.7304 0.681235 19.5651 0.515081 19.3769 0.38885C19.126 0.220541 18.8443 0.103463 18.5481 0.0443412C18.3259 0 18.0915 0 17.6226 0H8.48924C6.35209 0 5.28351 0 4.4406 0.349145C3.31672 0.814671 2.4238 1.70759 1.95828 2.83147C1.60913 3.67438 1.60913 4.74296 1.60913 6.88011V21.1199C1.60913 23.257 1.60913 24.3256 1.95828 25.1685C2.4238 26.2924 3.31672 27.1853 4.4406 27.6509C5.28351 28 6.35209 28 8.48924 28Z",Q8="M26.3909 7.37445L19.0525 0V3.77445C19.0525 4.89271 19.0525 5.45184 19.2352 5.89289C19.4788 6.48096 19.946 6.94818 20.5341 7.19176C20.9751 7.37445 21.5342 7.37445 22.6525 7.37445H26.3909Z",H0="translate(14 16) scale(1.12) translate(-14 -16)",x1="translate(14 16) scale(1.22) translate(-14 -16)",AR="translate(14 13.0693) scale(1.12) translate(-14 -13.0693)";function Fn({size:e,className:t,children:r,markTransform:i,muted:n=!1}){return p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[p.jsx("path",{d:RR,fill:"currentColor"}),n?p.jsx("path",{d:Q8,fill:"var(--dsw-static-neutral-400)"}):p.jsx("path",{d:Q8,fill:"var(--dsw-static-neutral-00)",fillOpacity:".7"}),r!==void 0&&p.jsx("g",{color:"var(--dsw-static-neutral-00)","data-file-type-mark":!0,transform:i,children:r})]})}function FR({size:e,className:t}){return p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[p.jsx("path",{d:"M2.80078 10.2112C2.80078 9.52802 2.80078 9.18642 2.85314 8.866C2.98648 8.05 3.36942 7.29538 3.94925 6.70595C4.17694 6.4745 4.45264 6.2728 5.00404 5.86939C5.29197 5.65874 5.43594 5.55342 5.58711 5.46632C5.97089 5.24521 6.39638 5.10618 6.83667 5.05803C7.01011 5.03906 7.18849 5.03906 7.54524 5.03906H11.6543C12.4669 5.03906 12.8732 5.03906 13.2599 5.13697C13.3882 5.16945 13.5143 5.20986 13.6375 5.25795C14.0091 5.40294 14.3398 5.63902 15.0012 6.1112L16.2632 7.01224C16.5526 7.21881 16.6972 7.3221 16.8598 7.38553C16.9137 7.40657 16.9689 7.42425 17.025 7.43846C17.1942 7.4813 17.372 7.4813 17.7275 7.4813H19.8008C22.0506 7.4813 23.1755 7.4813 23.9641 8.05425C24.2188 8.23928 24.4428 8.46326 24.6278 8.71794C25.2008 9.50654 25.2008 10.6315 25.2008 12.8813V18.7283C25.2008 20.9781 25.2008 22.1031 24.6278 22.8917C24.4428 23.1463 24.2188 23.3703 23.9641 23.5554C23.1755 24.1283 22.0506 24.1283 19.8008 24.1283H8.20077C5.95094 24.1283 4.82602 24.1283 4.03743 23.5554C3.78274 23.3703 3.55877 23.1463 3.37373 22.8917C2.80078 22.1031 2.80078 20.9781 2.80078 18.7283V10.2112Z",fill:"currentColor"}),p.jsx("g",{color:"var(--dsw-static-neutral-00)","data-file-type-mark":!0,transform:AR,children:p.jsx("path",{d:"M6.31445 13.0693H21.6893",stroke:"currentColor",strokeWidth:"2.38"})})]})}function UR({size:e,className:t}){return p.jsx(Fn,{size:e,className:t,children:p.jsx("path",{d:"M14 11.5H11.4C10.5599 11.5 10.1399 11.5 9.81901 11.6635C9.53677 11.8073 9.3073 12.0368 9.16349 12.319C9 12.6399 9 13.0599 9 13.9V16.5M14 11.5H16.6C17.4401 11.5 17.8601 11.5 18.181 11.6635C18.4632 11.8073 18.6927 12.0368 18.8365 12.319C19 12.6399 19 13.0599 19 13.9V16.5M14 11.5V21.5M14 21.5H16.6C17.4401 21.5 17.8601 21.5 18.181 21.3365C18.4632 21.1927 18.6927 20.9632 18.8365 20.681C19 20.3601 19 19.9401 19 19.1V16.5M14 21.5H11.4C10.5599 21.5 10.1399 21.5 9.81901 21.3365C9.53677 21.1927 9.3073 20.9632 9.16349 20.681C9 20.3601 9 19.9401 9 19.1V16.5M19 16.5H9",stroke:"currentColor",strokeWidth:"1.2"})})}function HR(e,t,r){switch(e){case"code":return p.jsxs(Fn,{size:t,className:r,children:[p.jsx("path",{d:"M10.0053 13.126L7.0236 16.3788C6.96052 16.4476 6.96052 16.5532 7.0236 16.622L10.0053 19.8748",stroke:"currentColor",strokeWidth:"1.35"}),p.jsx("path",{d:"M17.9941 13.126L20.9759 16.3788C21.039 16.4476 21.039 16.5532 20.9759 16.622L17.9941 19.8748",stroke:"currentColor",strokeWidth:"1.35"}),p.jsx("path",{d:"M15.2652 12.957L12.7344 20.0433",stroke:"currentColor",strokeWidth:"1.35"})]});case"excel":return p.jsx(UR,{size:t,className:r});case"folder":return p.jsx(FR,{size:t,className:r});case"html":return p.jsx(Fn,{size:t,className:r,markTransform:H0,children:p.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9994 9.68298C17.212 9.68298 19.8167 12.2872 19.8168 15.4997C19.8168 18.7123 17.2121 21.3171 13.9994 21.3171C10.7869 21.3169 8.18274 18.7122 8.18274 15.4997C8.1829 12.2873 10.787 9.68315 13.9994 9.68298ZM9.26213 16.0247C9.47025 17.9241 10.7936 19.4876 12.5639 20.0463C12.42 19.7977 12.2952 19.5152 12.1879 19.2116C11.885 18.3541 11.693 17.2434 11.6424 16.0247H9.26213ZM16.3565 16.0247C16.3059 17.2434 16.1145 18.3542 15.8116 19.2116C15.7044 19.5151 15.5788 19.7971 15.435 20.0456C17.2054 19.487 18.5293 17.9242 18.7374 16.0247H16.3565ZM12.6938 16.0247C12.7439 17.1459 12.9212 18.1334 13.1784 18.8616C13.332 19.2962 13.503 19.61 13.6686 19.805C13.834 19.9996 13.9473 20.0256 13.9994 20.0258C14.0514 20.0258 14.1651 20.0002 14.331 19.805C14.4966 19.61 14.6676 19.2962 14.8211 18.8616C15.0784 18.1334 15.2557 17.1459 15.3058 16.0247H12.6938ZM13.9994 10.733C13.9473 10.7331 13.834 10.7598 13.6686 10.9545C13.503 11.1494 13.3319 11.4633 13.1784 11.8978C12.903 12.6777 12.7188 13.7545 12.6849 14.9747H15.3147C15.2808 13.7545 15.0966 12.6777 14.8211 11.8978C14.6676 11.4633 14.4965 11.1494 14.331 10.9545C14.1651 10.7593 14.0514 10.733 13.9994 10.733ZM15.5888 11.0051C15.6701 11.1756 15.7444 11.3576 15.8116 11.5478C16.1343 12.4613 16.3308 13.6619 16.3647 14.9747H18.7374C18.5352 13.1307 17.2817 11.6036 15.5888 11.0051ZM12.4101 11.0051C10.7174 11.6037 9.46428 13.1308 9.26213 14.9747H11.6349C11.6688 13.6619 11.8652 12.4613 12.1879 11.5478C12.2551 11.3577 12.3288 11.1756 12.4101 11.0051Z",fill:"currentColor"})});case"image":return p.jsxs(Fn,{size:t,className:r,markTransform:H0,children:[p.jsx("path",{d:"M10.4212 15.9204C10.5756 15.6558 10.9579 15.6558 11.1123 15.9204L13.6493 20.2696C13.8048 20.5362 13.6125 20.8711 13.3037 20.8711H8.22974C7.92102 20.8711 7.72868 20.5362 7.88423 20.2696L10.4212 15.9204Z",fill:"currentColor"}),p.jsx("path",{d:"M15.4981 13.186C15.6505 12.9117 16.0451 12.9117 16.1975 13.186L20.1368 20.2769C20.2849 20.5435 20.0922 20.8711 19.7872 20.8711H11.9084C11.6034 20.8711 11.4107 20.5435 11.5588 20.2769L15.4981 13.186Z",fill:"currentColor"}),p.jsx("path",{d:"M11.8603 11.3997C11.8603 12.286 11.1418 13.0045 10.2555 13.0045C9.36924 13.0045 8.65076 12.286 8.65076 11.3997C8.65076 10.5134 9.36924 9.79492 10.2555 9.79492C11.1418 9.79492 11.8603 10.5134 11.8603 11.3997Z",fill:"currentColor"})]});case"markdown":return p.jsx(Fn,{size:t,className:r,markTransform:x1,children:p.jsx("path",{d:"M8.7588 19.5V14.6H9.8998L11.9298 17.932H11.3278L13.3018 14.6H14.4428L14.4568 19.5H13.1828L13.1688 16.539H13.3858L11.9088 19.017H11.2928L9.7738 16.539H10.0398V19.5H8.7588ZM15.4375 19.5V14.6H17.7545C18.2958 14.6 18.7718 14.7003 19.1825 14.901C19.5932 15.1017 19.9128 15.384 20.1415 15.748C20.3748 16.112 20.4915 16.546 20.4915 17.05C20.4915 17.5493 20.3748 17.9833 20.1415 18.352C19.9128 18.716 19.5932 18.9983 19.1825 19.199C18.7718 19.3997 18.2958 19.5 17.7545 19.5H15.4375ZM16.8235 18.394H17.6985C17.9785 18.394 18.2212 18.3427 18.4265 18.24C18.6365 18.1327 18.7998 17.9787 18.9165 17.778C19.0332 17.5727 19.0915 17.33 19.0915 17.05C19.0915 16.7653 19.0332 16.5227 18.9165 16.322C18.7998 16.1213 18.6365 15.9697 18.4265 15.867C18.2212 15.7597 17.9785 15.706 17.6985 15.706H16.8235V18.394Z",fill:"currentColor"})});case"other":return p.jsx(Fn,{size:t,className:r,muted:!0});case"pdf":return p.jsx(Fn,{size:t,className:r,markTransform:x1,children:p.jsx("path",{d:"M6.80616 19.5V14.6H9.04616C9.49416 14.6 9.87916 14.6723 10.2012 14.817C10.5278 14.9617 10.7798 15.1717 10.9572 15.447C11.1345 15.7177 11.2232 16.0397 11.2232 16.413C11.2232 16.7817 11.1345 17.1013 10.9572 17.372C10.7798 17.6427 10.5278 17.8527 10.2012 18.002C9.87916 18.1467 9.49416 18.219 9.04616 18.219H7.57616L8.19216 17.617V19.5H6.80616ZM8.19216 17.764L7.57616 17.127H8.96216C9.2515 17.127 9.46616 17.064 9.60616 16.938C9.75083 16.812 9.82316 16.637 9.82316 16.413C9.82316 16.1843 9.75083 16.007 9.60616 15.881C9.46616 15.755 9.2515 15.692 8.96216 15.692H7.57616L8.19216 15.055V17.764ZM11.8989 19.5V14.6H14.2159C14.7573 14.6 15.2333 14.7003 15.6439 14.901C16.0546 15.1017 16.3743 15.384 16.6029 15.748C16.8363 16.112 16.9529 16.546 16.9529 17.05C16.9529 17.5493 16.8363 17.9833 16.6029 18.352C16.3743 18.716 16.0546 18.9983 15.6439 19.199C15.2333 19.3997 14.7573 19.5 14.2159 19.5H11.8989ZM13.2849 18.394H14.1599C14.4399 18.394 14.6826 18.3427 14.8879 18.24C15.0979 18.1327 15.2613 17.9787 15.3779 17.778C15.4946 17.5727 15.5529 17.33 15.5529 17.05C15.5529 16.7653 15.4946 16.5227 15.3779 16.322C15.2613 16.1213 15.0979 15.9697 14.8879 15.867C14.6826 15.7597 14.4399 15.706 14.1599 15.706H13.2849V18.394ZM17.6821 19.5V14.6H21.5251V15.671H19.0681V19.5H17.6821ZM18.9701 17.82V16.749H21.2311V17.82H18.9701Z",fill:"currentColor"})});case"ppt":return p.jsx(Fn,{size:t,className:r,markTransform:x1,children:p.jsx("path",{d:"M11.0132 20.5V13.5H14.2132C14.8532 13.5 15.4032 13.6033 15.8632 13.81C16.3299 14.0167 16.6899 14.3167 16.9432 14.71C17.1966 15.0967 17.3232 15.5567 17.3232 16.09C17.3232 16.6167 17.1966 17.0733 16.9432 17.46C16.6899 17.8467 16.3299 18.1467 15.8632 18.36C15.4032 18.5667 14.8532 18.67 14.2132 18.67H12.1132L12.9932 17.81V20.5H11.0132ZM12.9932 18.02L12.1132 17.11H14.0932C14.5066 17.11 14.8132 17.02 15.0132 16.84C15.2199 16.66 15.3232 16.41 15.3232 16.09C15.3232 15.7633 15.2199 15.51 15.0132 15.33C14.8132 15.15 14.5066 15.06 14.0932 15.06H12.1132L12.9932 14.15V18.02Z",fill:"currentColor"})});case"video":return p.jsx(Fn,{size:t,className:r,markTransform:H0,children:p.jsx("path",{d:"M17.5 14.634C18.1667 15.0189 18.1667 15.9811 17.5 16.366L11.5 19.8301C10.8333 20.215 10 19.7339 10 18.9641L10 12.0359C10 11.2661 10.8333 10.785 11.5 11.1699L17.5 14.634Z",fill:"currentColor"})});case"word":return p.jsx(Fn,{size:t,className:r,markTransform:x1,children:p.jsx("path",{d:"M10.5118 20.5L8.24179 13.5H10.2818L12.1918 19.56H11.1618L13.1718 13.5H14.9918L16.8918 19.56H15.9018L17.8718 13.5H19.7618L17.4918 20.5H15.3718L13.7518 15.35H14.3218L12.6318 20.5H10.5118Z",fill:"currentColor"})});default:return ZR(e)}}function ZR(e){throw new Error(`unreachable traditional file type: ${String(e)}`)}function VR(e){const{size:t=28,className:r}=e,i="path"in e?wu(e.path,e.context):e.kind;return zy(i)?p.jsx(SR,{type:i,size:t,className:r}):HR(i,t,fe(M8.icon,M8[i],r))}const BR={"github.com":N0,"github.io":N0,"raw.githubusercontent.com":N0,"gitlab.com":zE,"npmjs.com":LE,"pypi.org":NE,"stackoverflow.com":UE,"developer.mozilla.org":ME,"wikipedia.org":WE,"news.ycombinator.com":KE,"youtube.com":P8,"youtu.be":P8,"x.com":N8,"twitter.com":N8,"bilibili.com":kE,"zhihu.com":qE,"juejin.cn":OE,"csdn.net":CE,"google.com":jE,"baidu.com":xE,"duckduckgo.com":$E,"tiktok.com":ZE,"netflix.com":TE,"spotify.com":FE,"facebook.com":IE,"instagram.com":EE,"reddit.com":RE,"telegram.org":T8,"t.me":T8,"weixin.qq.com":BE,"qq.com":PE,"whatsapp.com":L8,"wa.me":L8,"weibo.com":AE,"taobao.com":HE,"aliexpress.com":wE,"ebay.com":SE,"quora.com":DE,"v2ex.com":VE,"apple.com":bE};function WR(e){let t;try{const n=new URL(e);if(n.protocol!=="http:"&&n.protocol!=="https:")return;t=n.hostname.toLowerCase()}catch{return}let r,i=0;for(const[n,s]of Object.entries(BR))(t===n||t.endsWith(`.${n}`))&&n.length>i&&(r=s,i=n.length);return r}function KR({href:e,size:t,className:r}){const i=e===void 0?void 0:WR(e);if(i!==void 0)return p.jsx("svg",{width:t,height:t,className:r,viewBox:"-2 -2 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:p.jsx("path",{d:i.path,fill:"currentColor"})})}function V1(e){const t=wu(e),r=b4(e);if(zy(t))return LR(r)?"code":"other";if(r==="")return"other";switch(t){case"code":case"html":return"code";case"image":return"image";case"excel":case"pdf":case"ppt":case"word":return"document";case"markdown":case"other":case"video":return"other";default:return Ey(t)}}const qR=({size:e,className:t,strokeWidth:r})=>p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[p.jsx("path",{d:"M12.4326 2.38086H3.56763C2.46306 2.38086 1.56763 3.27629 1.56763 4.38086V11.6192C1.56763 12.7237 2.46306 13.6192 3.56763 13.6192H12.4326C13.5372 13.6192 14.4326 12.7237 14.4326 11.6192V4.38086C14.4326 3.27629 13.5372 2.38086 12.4326 2.38086Z",stroke:"currentColor"}),p.jsx("path",{d:"M10.536 7.03286C11.1948 7.03286 11.7288 6.49884 11.7288 5.8401C11.7288 5.18136 11.1948 4.64734 10.536 4.64734C9.87728 4.64734 9.34326 5.18136 9.34326 5.8401C9.34326 6.49884 9.87728 7.03286 10.536 7.03286Z",stroke:"currentColor"}),p.jsx("path",{d:"M1.5979 9.28409L4.17738 7.37514C4.57462 7.08117 5.12701 7.12145 5.47741 7.46992L8.3322 10.309C8.6572 10.6323 9.1605 10.6931 9.5532 10.4566L10.8859 9.65399C11.2531 9.43289 11.7205 9.47039 12.0477 9.74729L14.2823 11.6379",stroke:"currentColor"})]}),JR=({size:e,className:t,strokeWidth:r})=>p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[p.jsx("path",{d:"M3.51919 14.5069H12.4807C13.0679 14.5069 13.5438 14.031 13.5438 13.4438V5.97499C13.5438 5.68818 13.428 5.41352 13.2226 5.21341L9.71251 1.79459C9.51402 1.60124 9.24781 1.49304 8.97075 1.49304H3.51919C2.93204 1.49304 2.45605 1.96902 2.45605 2.55618V13.4438C2.45605 14.031 2.93203 14.5069 3.51919 14.5069Z",stroke:"currentColor"}),p.jsx("path",{d:"M8.90454 1.6095V4.87091C8.90454 5.45806 9.38051 5.93405 9.96768 5.93405H13.4953",stroke:"currentColor"}),p.jsx("path",{d:"M4.31152 8.7561H7.83046",stroke:"currentColor"}),p.jsx("path",{d:"M4.31152 11.3651H9.36598",stroke:"currentColor"})]}),GR=({size:e,className:t,strokeWidth:r})=>p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[p.jsx("path",{d:"M3.75275 14.271H12.2473C12.7749 14.271 13.2027 13.8433 13.2027 13.3156V5.91732C13.2027 5.65958 13.0985 5.41276 12.9139 5.23293L9.59477 2.00011C9.4164 1.82636 9.17717 1.72913 8.9282 1.72913H3.75275C3.22511 1.72913 2.79736 2.15686 2.79736 2.68451V13.3156C2.79736 13.8433 3.22511 14.271 3.75275 14.271Z",stroke:"currentColor"}),p.jsx("path",{d:"M8.84888 1.83838V4.94133C8.84888 5.46896 9.2766 5.89671 9.80426 5.89671H13.157",stroke:"currentColor"})]});function Ey(e){throw new Error(`unreachable link icon kind: ${String(e)}`)}function Oy({kind:e,href:t,size:r=14,className:i,strokeWidth:n}){switch(e){case"url":return KR({href:t,size:r,className:i})??p.jsx(wR,{size:r,className:i,strokeWidth:n});case"folder":return p.jsx($y,{size:r,className:i,strokeWidth:n});case"code":return p.jsx(bR,{size:r,className:i,strokeWidth:n});case"image":return p.jsx(qR,{size:r,className:i,strokeWidth:n});case"document":return p.jsx(JR,{size:r,className:i,strokeWidth:n});case"other":return p.jsx(GR,{size:r,className:i,strokeWidth:n});default:return Ey(e)}}function YR(e){return p.jsx(Oy,{...e,strokeWidth:1})}function il(e){return p.jsx(Oy,{...e,strokeWidth:Ar})}function XR({text:e}){return p.jsx("span",{className:S1.plainRun,children:e})}function QR({appearance:e,label:t,title:r,onActivate:i}){const n=e==="skill"||e==="command",s=p.jsxs(p.Fragment,{children:[!n&&p.jsx(Iy,{kind:e,size:16,className:S1.refIcon}),t]}),l=fe(S1.refChip,n&&S1.slashChip);return i===void 0?p.jsx("span",{className:l,"data-ref-chip":e,title:r,children:s}):p.jsx("button",{type:"button",className:fe(l,It.fileMention),"data-ref-chip":e,title:r,onClick:u=>{u.detail>1||u.detail!==0&&u.currentTarget.ownerDocument.getSelection()?.isCollapsed===!1||i()},children:s})}const eA=3e3,tA=1e3;function nA({text:e,icon:t,tone:r,anchor:i,holdMs:n=eA,actions:s,onDone:l}){const u=k.useRef(l);k.useLayoutEffect(()=>{u.current=l},[l]),k.useEffect(()=>{const g=setTimeout(()=>{u.current()},n+tA);return()=>{clearTimeout(g)}},[n]);const[f,h]=k.useState(null);return k.useLayoutEffect(()=>{if(i==null)return;const g=()=>{const y=i.getBoundingClientRect();h(y.left+y.width/2)};return g(),window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g)}},[i]),On.createPortal(p.jsxs("div",{className:to.toast,role:"alert",style:{...f===null?{}:{left:f},"--dsh-toast-hold":`${String(n)}ms`},children:[r==="success"?p.jsx("span",{className:`${to.icon} ${to.success}`,"aria-hidden":!0,children:p.jsx(uy,{})}):t!==void 0&&p.jsx("span",{className:to.icon,"aria-hidden":!0,children:t}),p.jsxs("span",{className:to.text,children:[e,s?.map(g=>p.jsxs(k.Fragment,{children:[g.prefix,p.jsx("button",{type:"button",className:to.action,onClick:g.onClick,children:g.label})]},g.label))]})]}),document.body)}function rA(e){if(e<1024)return`${e}B`;const t=e/1024;if(t<1024)return`${t<10?t.toFixed(1):Math.round(t)}KB`;const r=t/1024;if(r<1024)return`${r<10?r.toFixed(1):Math.round(r)}MB`;const i=r/1024;return`${i<10?i.toFixed(1):Math.round(i)}GB`}function iA(e,t,r,i,n){const s=k.useMemo(()=>i===void 0?{kind:"url",url:t,name:r,mediaType:"",resourceAddress:n}:{kind:"blob",blob:i,name:r,mediaType:i.type,resourceAddress:n},[t,r,i,n]),l=k.useRef(),u=k.useRef(!1),f=k.useCallback(()=>{const _=l.current;l.current=void 0,_?.abort.abort(),_?.prepared?.release()},[]);k.useEffect(()=>f,[f,s,e]);const h=k.useCallback(_=>{if(t===""||l.current!==void 0)return;const w={abort:new AbortController,failed:!1};l.current=w,window.addEventListener("pointerup",x=>{x.target!==_&&f()},{signal:w.abort.signal}),window.addEventListener("blur",f,{once:!0,signal:w.abort.signal}),e.prepare(s,w.abort.signal).then(x=>{w.abort.signal.aborted?x.release():w.prepared=x},x=>{w.failed=!0})},[t,e,s,f]),g=k.useCallback(_=>{!_.defaultPrevented&&_.currentTarget.draggable&&(n===void 0||_.type==="pointerdown")&&h(_.currentTarget)},[h,n]),y=k.useCallback(_=>{if(_.defaultPrevented||t==="")return;u.current=!0;const w=l.current;if(w?.prepared!==void 0){w.prepared.start(_.dataTransfer,_.currentTarget)||(_.preventDefault(),f());return}const x=new URL(t,location.href);i===void 0&&(x.protocol==="https:"||x.protocol==="http:")&&x.origin!==location.origin||(_.preventDefault(),w?.failed===!0&&(e.reportFailure(),f()),h(_.currentTarget))},[t,i,e,h,f]);return{onPointerEnter:g,onPointerDown:k.useCallback(_=>{u.current=!1,_.button===0&&g(_)},[g]),onPointerLeave:k.useCallback(_=>{_.buttons!==1&&f()},[f]),onDragStart:y,onDragEnd:f,onClickCapture:k.useCallback(_=>{if(_.detail===0){u.current=!1;return}u.current&&(_.preventDefault(),_.stopPropagation(),u.current=!1)},[])}}const My=k.forwardRef(function({fileDrag:t,src:r,name:i,original:n,resourceAddress:s,...l},u){const f=iA(t,r,i,n,s);return p.jsx("img",{...l,...f,src:r,ref:u,draggable:!0})});function x4(e){const[t,r]=k.useState(!1),i=k.useRef(!1),n=k.useRef(null),s=k.useRef(0);return k.useEffect(()=>()=>{s.current+=1,i.current=!1,n.current!==null&&clearTimeout(n.current)},[]),{copied:t,onCopy:k.useCallback(()=>{if(t||i.current)return;const l=s.current;i.current=!0,Ho(e).then(u=>{l===s.current&&(i.current=!1,u&&(r(!0),n.current=window.setTimeout(()=>{n.current=null,r(!1)},1e3)))})},[t,e])}}function oA(e){const{state:t,labels:r}=e,i=k.useRef(e.onDiscard);if(i.current=e.onDiscard,k.useEffect(()=>()=>{i.current()},[]),!t.available)return p.jsx("p",{className:no.unavailable,role:"status",children:r.unavailable});const n=!t.dirty||t.invalid||t.saving;return p.jsxs("div",{className:no.form,children:[t.writable?null:p.jsx("p",{className:no.readOnly,role:"status",children:r.readOnly}),e.children,p.jsxs("div",{className:no.footer,children:[t.failed?p.jsx("p",{className:no.failed,role:"status",children:r.saveFailed}):null,p.jsx("button",{type:"button",className:no.save,disabled:n,onClick:e.onSave,children:t.saving?r.saving:r.save})]})]})}function sA(e){const[t,r]=k.useState(!1),i=`${e.id}-help`,n=`${e.id}-message`,s=e.invalid||!!e.hint,l=[s?n:"",t?i:""].filter(Boolean).join(" ");return p.jsxs("div",{className:wt.field,children:[p.jsxs("div",{className:wt.head,children:[p.jsxs("div",{className:wt.labelGroup,children:[p.jsx("label",{className:wt.label,htmlFor:e.id,children:e.label}),e.help!==void 0?p.jsx("button",{type:"button",className:wt.helpButton,"aria-label":e.help.label,"aria-expanded":t,"aria-controls":i,onClick:()=>{r(!t)},children:p.jsx(sy,{size:12})}):null]}),e.overridden?p.jsxs("span",{className:wt.badges,children:[p.jsx(_4,{tone:"neutral",children:e.overriddenLabel}),p.jsx("button",{type:"button",className:wt.reset,disabled:e.disabled,onClick:e.onReset,children:e.resetLabel})]}):null]}),p.jsx("input",{id:e.id,className:wt.input,type:"text",...e.numeric===!0?{inputMode:"numeric"}:{},...e.invalid?{"aria-invalid":!0}:{},"aria-describedby":l||void 0,value:e.text,placeholder:e.placeholder??"",disabled:e.disabled,onChange:u=>{e.onEdit(u.target.value)}}),s?p.jsx("p",{id:n,className:e.invalid?wt.invalid:wt.hint,children:e.invalid?e.invalidLabel:e.hint}):null,e.help!==void 0&&t?p.jsx("div",{id:i,className:wt.help,role:"region","aria-label":e.help.label,children:e.help.content}):null]})}function aA(e){return p.jsxs("div",{className:wt.field,children:[p.jsxs("div",{className:wt.head,children:[p.jsx("label",{className:wt.label,htmlFor:e.id,children:e.label}),p.jsx("span",{className:wt.badges,children:p.jsx(_4,{tone:e.configured?"neutral":"quiet",children:e.stateLabel})})]}),p.jsx("input",{id:e.id,className:wt.input,type:"password",autoComplete:"new-password",value:e.text,disabled:e.disabled,onChange:t=>{e.onEdit(t.target.value)}}),p.jsx("p",{className:wt.hint,children:e.hint})]})}function lA(e){return{field:e,format:t=>typeof t=="number"?String(t):"",parse:t=>{const r=t.trim();if(r==="")return{kind:"clear"};const i=Number(r);return Number.isFinite(i)?{kind:"set",value:i}:void 0}}}function cA(e){return{field:e,format:t=>typeof t=="string"?t:"",parse:t=>{const r=t.trim();return r===""?{kind:"clear"}:{kind:"set",value:r}}}}var uA=class{scope;specs;secretSpecs;staged=new Map;listeners=new Set;baseline;unsubscribe;saving=!1;failed=!1;constructor(e,t,r=[]){this.scope=e,this.specs=new Map(t.map(i=>[i.field,i])),this.secretSpecs=new Map(r.map(i=>[i.field,i])),this.unsubscribe=e.subscribe(()=>{this.publish()})}bind(e){const t=h4(e());return this.listeners.add(()=>{t.set(e())}),t}shell(){const e=this.scope.getSnapshot(),t=this.plan();return{available:e.status==="ready",writable:e.writable,dirty:t.length>0,invalid:t.some(r=>r.run===void 0&&r.op===void 0),saving:this.saving,failed:this.failed}}field(e){const t=this.staged.get(e);if(this.secretSpecs.has(e))return{text:t?.text??"",overridden:!1,invalid:!1};const r=this.spec(e);if(t===void 0)return{text:r.format(this.sectionValue(e)),overridden:this.stored(e),invalid:!1};const i=t.clear?{kind:"clear"}:r.parse(t.text);return{text:t.text,overridden:i?.kind==="set",invalid:i===void 0}}actions(){return{edit:(e,t)=>{this.stage(e,{text:t,clear:!1})},resetField:e=>{this.stage(e,{text:this.spec(e).format(this.baseValue(e)),clear:!0})},save:()=>{this.save()},discard:()=>{this.staged.size===0&&!this.failed||(this.staged.clear(),this.baseline=void 0,this.failed=!1,this.publish())}}}async save(){const e=this.plan();if(!(!e.length||this.saving||!this.scope.getSnapshot().writable||e.some(t=>t.run===void 0&&t.op===void 0))){this.saving=!0,this.failed=!1,this.publish();try{const t=e.flatMap(i=>i.op===void 0?[]:[i.op]);let r=!t.length||await this.scope.mutate(t,this.baseline?.revision);if(!r){this.failed=!0;return}for(const i of e)i.run&&(r=await i.run()&&r);r&&(this.staged.clear(),this.baseline=void 0),this.failed=!r}catch{this.failed=!0}finally{this.saving=!1,this.publish()}}}dispose(){this.unsubscribe(),this.listeners.clear()}plan(){const e=[];for(const[t,r]of this.staged){const i=this.secretSpecs.get(t);if(i!==void 0){const l=r.text.trim();l!==""&&e.push({field:t,run:()=>i.write(l)});continue}const n=this.spec(t);if(r.clear){this.stored(t)&&e.push({field:t,op:{op:"unset",path:[t]}});continue}if(r.text===n.format(this.sectionValue(t)))continue;const s=n.parse(r.text);s===void 0?e.push({field:t}):s.kind==="clear"?e.push({field:t,op:{op:"unset",path:[t]}}):e.push({field:t,op:{op:"set",path:[t],value:s.value}})}return e}stage(e,t){this.baseline??=this.scope.getSnapshot(),this.staged.set(e,t),this.failed=!1,this.publish()}spec(e){const t=this.specs.get(e);if(t===void 0)throw new Error(`plugin card has no field ${e}`);return t}snapshotOf(){return this.scope.getSnapshot()}sectionValue(e){return this.snapshotOf().value?.[e]}baseValue(e){return this.snapshotOf().base?.[e]}userLayer(){return this.snapshotOf().user}stored(e){const t=this.userLayer();return t!==void 0&&Object.hasOwn(t,e)}publish(){for(const e of this.listeners)e()}};const dA=[mx,gx,vx];function fA(e){const t=e.find(l=>l.name==="go"),r=t?.repository.struct_variables_types_fields,i=r?.patterns??[],n=i.filter(l=>typeof l.match=="string"&&l.match.includes('[^"/`\\s]+;?'));if(t===void 0||r===void 0||n.length!==1)throw new Error(`ui-primitives: expected exactly one Go struct-field rule to patch for worlpaker/go-syntax#25, found ${n.length}; update or delete the patch`);const s={...t.repository};return s.struct_variables_types_fields={...r,patterns:i.map(l=>l===n[0]?{...l,match:'(?:(?<=\\{)([^/\\`"]*[^\\s/\\`"])\\s*(?=\\}))'}:l)},e.map(l=>l===t?{...t,repository:s}:l)}const hA=new Map([["python",()=>ke(()=>import("./langs/python-B6aJPvgy.js"),[],import.meta.url)],["ruby",()=>ke(()=>import("./langs/ruby-ZtjE4NPI.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url)],["go",async()=>({default:fA((await ke(async()=>{const{default:e}=await import("./langs/go-C27-OAKa.js");return{default:e}},[],import.meta.url)).default)})],["rust",()=>ke(()=>import("./langs/rust-B1yitclQ.js"),[],import.meta.url)],["java",()=>ke(()=>import("./langs/java-CylS5w8V.js"),[],import.meta.url)],["c",()=>ke(()=>import("./langs/c-BIGW1oBm.js"),[],import.meta.url)],["cpp",()=>ke(()=>import("./langs/cpp-DddhVWhK.js"),__vite__mapDeps([10,11]),import.meta.url)],["csharp",()=>ke(()=>import("./langs/csharp-DSvCPggb.js"),[],import.meta.url)],["kotlin",()=>ke(()=>import("./langs/kotlin-BdnUsdx6.js"),[],import.meta.url)],["swift",()=>ke(()=>import("./langs/swift-C2oV4EkX.js"),[],import.meta.url)],["php",()=>ke(()=>import("./langs/php-CjQPq1Mz.js"),__vite__mapDeps([14,1,2,3,4,5,6,8,9]),import.meta.url)],["yaml",()=>ke(()=>import("./langs/yaml-Buea-lGh.js"),[],import.meta.url)],["toml",()=>ke(()=>import("./langs/toml-vGWfd6FD.js"),[],import.meta.url)],["ini",()=>ke(()=>import("./langs/ini-BEwlwnbL.js"),[],import.meta.url)],["markdown",()=>ke(()=>import("./langs/markdown-Cvjx9yec.js"),[],import.meta.url)],["mdx",()=>ke(()=>import("./langs/mdx-Cmh6b_Ma.js"),[],import.meta.url)],["html",()=>ke(()=>import("./langs/html-fwsONPVS.js"),__vite__mapDeps([1,2,3]),import.meta.url)],["css",()=>ke(()=>import("./langs/css-CLj8gQPS.js"),[],import.meta.url)],["scss",()=>ke(()=>import("./langs/scss-D5BDwBP9.js"),__vite__mapDeps([15,3]),import.meta.url)],["less",()=>ke(()=>import("./langs/less-B1dDrJ26.js"),[],import.meta.url)],["sql",()=>ke(()=>import("./langs/sql-CRqJ_cUM.js"),[],import.meta.url)],["xml",()=>ke(()=>import("./langs/xml-sdJ4AIDG.js"),__vite__mapDeps([4,5]),import.meta.url)],["lua",()=>ke(()=>import("./langs/lua-BaeVxFsk.js"),__vite__mapDeps([12,11]),import.meta.url)],["bat",()=>ke(()=>import("./langs/bat-CickPsom.js"),[],import.meta.url)],["powershell",()=>ke(()=>import("./langs/powershell-BmBUJMz7.js"),[],import.meta.url)],["fish",()=>ke(()=>import("./langs/fish-BvzEVeQv.js"),[],import.meta.url)],["dotenv",()=>ke(()=>import("./langs/dotenv-Da5cRb03.js"),[],import.meta.url)],["log",()=>ke(()=>import("./langs/log-2UxHyX5q.js"),[],import.meta.url)],["csv",()=>ke(()=>import("./langs/csv-fuZLfV_i.js"),[],import.meta.url)],["diff",()=>ke(()=>import("./langs/diff-D97Zzqfu.js"),[],import.meta.url)],["http",()=>ke(()=>import("./langs/http-CLu1VCSi.js"),__vite__mapDeps([16,8,9,4,5,7,2]),import.meta.url)],["rst",()=>ke(()=>import("./langs/rst-BuDKiyD7.js"),__vite__mapDeps([17,18,1,2,3,10,11,19,8,9,13,20,0,4,5,6,7,12]),import.meta.url)],["latex",()=>ke(()=>import("./langs/latex-B2nUCzCX.js"),__vite__mapDeps([21,22]),import.meta.url)],["bibtex",()=>ke(()=>import("./langs/bibtex-CHM0blh-.js"),[],import.meta.url)],["asciidoc",()=>ke(()=>import("./langs/asciidoc-CSVQ5wI8.js"),[],import.meta.url)],["r",()=>ke(()=>import("./langs/r-Cf5RLm7j.js"),[],import.meta.url)],["julia",()=>ke(()=>import("./langs/julia-BfSmLjIk.js"),__vite__mapDeps([23,10,11,19,2,22,6]),import.meta.url)],["dart",()=>ke(()=>import("./langs/dart-bE4Kk8sk.js"),[],import.meta.url)],["scala",()=>ke(()=>import("./langs/scala-CqE71os6.js"),[],import.meta.url)],["clojure",()=>ke(()=>import("./langs/clojure-P80f7IUj.js"),[],import.meta.url)],["erlang",()=>ke(()=>import("./langs/erlang-DsQrWhSR.js"),__vite__mapDeps([24,25]),import.meta.url)],["elixir",()=>ke(()=>import("./langs/elixir-CvYZzuDY.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)],["haskell",()=>ke(()=>import("./langs/haskell-Df6bDoY_.js"),[],import.meta.url)],["fsharp",()=>ke(()=>import("./langs/fsharp-CXgrBDvD.js"),__vite__mapDeps([27,25]),import.meta.url)],["vb",()=>ke(()=>import("./langs/vb-Cu-pLBUe.js"),[],import.meta.url)],["perl",()=>ke(()=>import("./langs/perl-DsWkoyyU.js"),__vite__mapDeps([28,1,2,3,4,5,6]),import.meta.url)],["verilog",()=>ke(()=>import("./langs/verilog-nZwndyjY.js"),[],import.meta.url)],["system-verilog",()=>ke(()=>import("./langs/system-verilog-0hqHdDBg.js"),[],import.meta.url)],["graphql",()=>ke(()=>import("./langs/graphql-C-Uijqkk.js"),__vite__mapDeps([7,2,8,9]),import.meta.url)],["proto",()=>ke(()=>import("./langs/proto-C7zT0LnQ.js"),[],import.meta.url)],["hcl",()=>ke(()=>import("./langs/hcl-BWvSN4gD.js"),[],import.meta.url)],["nix",()=>ke(()=>import("./langs/nix-CwoSXNpI.js"),[],import.meta.url)],["vue",()=>ke(()=>import("./langs/vue-B5SDFeDA.js"),__vite__mapDeps([29,3,2,8,9,1,18]),import.meta.url)],["svelte",()=>ke(()=>import("./langs/svelte-Tt81icjn.js"),__vite__mapDeps([30,2,8,9,3]),import.meta.url)],["make",()=>ke(()=>import("./langs/make-CHLpvVh8.js"),[],import.meta.url)],["cmake",()=>ke(()=>import("./langs/cmake-D1j8_8rp.js"),[],import.meta.url)],["groovy",()=>ke(()=>import("./langs/groovy-gcz8RCvz.js"),[],import.meta.url)]]),pA=new Map([["typescript","typescript"],["ts","typescript"],["tsx","typescript"],["javascript","typescript"],["js","typescript"],["jsx","typescript"],["shellscript","shellscript"],["bash","shellscript"],["sh","shellscript"],["shell","shellscript"],["zsh","shellscript"],["json","json"],["jsonc","json"],["py","python"],["python","python"],["rb","ruby"],["ruby","ruby"],["go","go"],["rs","rust"],["rust","rust"],["java","java"],["c","c"],["cpp","cpp"],["cs","csharp"],["csharp","csharp"],["kotlin","kotlin"],["swift","swift"],["php","php"],["yaml","yaml"],["yml","yaml"],["toml","toml"],["ini","ini"],["md","markdown"],["markdown","markdown"],["mdx","mdx"],["html","html"],["css","css"],["scss","scss"],["less","less"],["sql","sql"],["xml","xml"],["lua","lua"],["bat","bat"],["batch","bat"],["powershell","powershell"],["ps1","powershell"],["ps","powershell"],["fish","fish"],["properties","ini"],["dotenv","dotenv"],["env","dotenv"],["log","log"],["csv","csv"],["diff","diff"],["patch","diff"],["http","http"],["rst","rst"],["latex","latex"],["tex","latex"],["bibtex","bibtex"],["bib","bibtex"],["asciidoc","asciidoc"],["adoc","asciidoc"],["r","r"],["julia","julia"],["jl","julia"],["dart","dart"],["scala","scala"],["clojure","clojure"],["clj","clojure"],["erlang","erlang"],["erl","erlang"],["elixir","elixir"],["ex","elixir"],["exs","elixir"],["haskell","haskell"],["hs","haskell"],["fsharp","fsharp"],["fs","fsharp"],["fsi","fsharp"],["fsx","fsharp"],["vb","vb"],["vbnet","vb"],["perl","perl"],["pl","perl"],["pm","perl"],["verilog","verilog"],["v","verilog"],["system-verilog","system-verilog"],["systemverilog","system-verilog"],["sv","system-verilog"],["svh","system-verilog"],["graphql","graphql"],["gql","graphql"],["proto","proto"],["protobuf","proto"],["hcl","hcl"],["tf","hcl"],["tfvars","hcl"],["nix","nix"],["vue","vue"],["svelte","svelte"],["make","make"],["makefile","make"],["mk","make"],["cmake","cmake"],["groovy","groovy"],["gradle","groovy"]]);function bu(e){return e===void 0?void 0:pA.get(e.toLowerCase())}function Ty(e){return bu(e)!==void 0}const mA=lx({name:"css-variables",variablePrefix:"--shiki-",fontStyle:!0}),gA=cx({forgiving:!0,regexConstructor:e=>px(e,{lazyCompileLength:Number.POSITIVE_INFINITY})}),k4=1e3;let ep;const vA=[{lang:"typescript",code:"const answer: number = 42"},{lang:"shellscript",code:`printf '%s\\n' "$HOME"`},{lang:"json",code:'{"ready":true}'}];function yA(){const e=ux({themes:[mA],langs:dA,engine:gA});for(const t of vA)e.codeToTokens(t.code,{lang:t.lang,theme:"css-variables",tokenizeTimeLimit:0});return e}function _i(){return ep??=yA(),ep}const tp=new Set,b2=new Set;let Ly=0;function C4(e){return b2.add(e),()=>{b2.delete(e)}}function So(){return Ly}function $4(e){const t=hA.get(e);return t===void 0||_i().getLoadedLanguages().includes(e)?!0:(tp.has(e)||(tp.add(e),t().then(r=>{_i().loadLanguageSync(r.default),Ly+=1;for(const i of b2)i()})),!1)}setTimeout(()=>{_i()},0).unref?.();function _A(e,t){const r=bu(t);if(r!==void 0&&$4(r))return _i().codeToHtml(e,{lang:r,theme:"css-variables",tokenizeMaxLineLength:k4})}const wA=[[4,"underline"],[8,"line-through"]];function bA(e){const t={color:e.color},r=e.fontStyle??0;(r&1)!==0&&(t.fontStyle="italic"),(r&2)!==0&&(t.fontWeight="bold");const i=wA.filter(([n])=>(r&n)!==0);return i.length>0&&(t.textDecoration=i.map(([,n])=>n).join(" ")),t}function np(e){const t=[];let r="";for(const[i,n]of e.entries()){if(/^\s+$/.test(n.content)&&i+1<e.length){r+=n.content;continue}t.push({text:r+n.content,style:bA(n)}),r=""}return t}var xA=class{resolved;prefix="";spans=[];state;lastCode;lastLang;lastResult;generation=0;lastFrame;reset(e){this.resolved=e,this.prefix="",this.spans=[],this.state=void 0,this.generation+=1,this.lastFrame=void 0}tokenize(e,t){return _i().codeToTokensBase(t,{lang:e,theme:"css-variables",tokenizeMaxLineLength:k4,...this.state===void 0?{}:{grammarState:this.state}})}updateFrame(e,t){if(e===this.lastCode&&t===this.lastLang&&this.lastFrame!==void 0)return this.lastFrame;this.lastCode=e,this.lastLang=t,this.lastResult=void 0;const r=bu(t);if(r===void 0||!$4(r)){this.reset(void 0);return}(r!==this.resolved||!e.startsWith(this.prefix))&&this.reset(r);const i=this.spans.length,n=e.slice(this.prefix.length),s=n.lastIndexOf(`
|
|
138
|
-
`);if(s>=0){const l=n[s-1]==="\r"?s-1:s,u=this.tokenize(r,n.slice(0,l));for(const f of u)this.spans.push(np(f));this.state=_i().getLastGrammarState(u),this.prefix=e.slice(0,this.prefix.length+s+1)}return this.lastFrame={generation:this.generation,appended:this.spans.slice(i),tail:this.tokenize(r,n.slice(s+1)).map(np)},this.lastFrame}update(e,t){if(e===this.lastCode&&t===this.lastLang&&this.lastResult!==void 0)return this.lastResult;const r=this.updateFrame(e,t);if(r!==void 0)return this.lastResult=[...this.spans,...r.tail],this.lastResult}};function Ny(e,t){const r=bu(t);if(r===void 0||!$4(r))return;const{tokens:i}=_i().codeToTokens(e,{lang:r,theme:"css-variables",tokenizeMaxLineLength:k4}),n=i[i.length-1];return(i.length>1&&n!==void 0&&n.length===0?i.slice(0,-1):i).map(s=>s.map(l=>({text:l.content,style:{color:l.color}})))}function kA(e){return k.useCallback(t=>Ny(t,e),[e,k.useSyncExternalStore(C4,So,So)])}function CA(e,t){const s=Math.max(0,t-e);return s<6e4?{unit:"now",n:0}:s<36e5?{unit:"minutes",n:Math.floor(s/6e4)}:s<864e5?{unit:"hours",n:Math.floor(s/36e5)}:s<30*864e5?{unit:"days",n:Math.floor(s/864e5)}:s<365*864e5?{unit:"months",n:Math.floor(s/(30*864e5))}:{unit:"years",n:Math.floor(s/(365*864e5))}}function rp(e,t){return t===0||e.charAt(t-1)==="-"||e.charAt(t-1)==="_"?8:0}function $A(e,t){if(t.length>e.length)return;const r=Number.NEGATIVE_INFINITY;let i=Array(e.length).fill(r);for(let s=0;s<e.length;s++)e.charAt(s)===t.charAt(0)&&(i[s]=1+rp(e,s)-s);for(let s=1;s<t.length;s++){const l=Array(e.length).fill(r);let u=r,f=r,h=r;for(const[g,y]of i.entries()){if(f!==r&&(h=Math.max(h,f+g-2)),e.charAt(g)===t.charAt(s)){const _=1+rp(e,g);let w=r;u!==r&&(w=u+_+4),h!==r&&(w=Math.max(w,h+_+1-g)),l[g]=w}f=u,u=y}i=l}let n=r;for(const s of i)n=Math.max(n,s);return n===r?void 0:n}function SA(e,t){const r=t.toLowerCase();if(r==="")return e;const i=[];return e.forEach((n,s)=>{const l=n.label===void 0?[n.name]:[n.name,n.label];let u=!1,f;for(const h of l){const g=h.toLowerCase(),y=$A(g,r);y!==void 0&&(u||=g.startsWith(r),f=f===void 0?y:Math.max(f,y))}f!==void 0&&i.push({item:n,index:s,prefix:u,score:f})}),i.sort((n,s)=>Number(s.prefix)-Number(n.prefix)||s.score-n.score||n.index-s.index),i.map(n=>n.item)}function IA(){return document.documentElement.dataset.platform==="darwin"}const zA=4,jA=5,ip=2;function EA(e){return[{id:"value",label:e.copyValue},{id:"json",label:e.copyJson},{id:"path",label:e.copyPath}]}function OA(e){return[{id:"prettyJson",label:e.copyPrettyJson},{id:"json",label:e.copyCompactJson},{id:"path",label:e.copyPath}]}function MA(){let e;const t=new Map;return{get:()=>e,set(r){const i=e?.id;e=r;for(const n of new Set([i,r?.id]))if(n!==void 0)for(const s of t.get(n)??[])s()},subscribe(r,i){let n=t.get(r);return n===void 0&&t.set(r,n=new Set),n.add(i),()=>{n.delete(i),n.size===0&&t.delete(r)}}}}function TA({store:e,target:t,persistent:r,labels:i,onCopy:n,onClose:s}){const l=ao(t.path),u=k.useCallback(x=>e.subscribe(l,x),[l,e]),f=()=>{const x=e.get();return x?.id===l?x:void 0},h=k.useSyncExternalStore(u,f,f),g=k.useRef(null),y=h?.state??"idle",_=typeof t.value=="object"&&t.value!==null,w=y==="copied"?i.copied:y==="failed"?i.copyFailed:_?i.copyPrettyJson:i.copyValue;return p.jsx("span",{className:ge.copySlot,children:(r||h!==void 0)&&p.jsx(v4,{open:h?.menuOpen===!0,compact:!0,portal:!0,align:"end",anchor:p.jsx("button",{ref:g,type:"button",className:ge.actionButton,"data-json-copy-button":!0,"data-state":y,"aria-label":w,title:i.copyButtonTitle(w),onClick:()=>void n(t,_?"prettyJson":"value"),onContextMenu:x=>{x.preventDefault(),x.stopPropagation(),e.set({id:l,target:t,state:y,menuOpen:!0})},children:y==="copied"?p.jsx(Uo,{size:12}):p.jsx(g4,{size:12})}),items:_?OA(i):EA(i),onSelect:x=>{n(t,x)},onClose:s,getAnchorRect:()=>g.current.getBoundingClientRect()})})}function B1(e){return typeof e=="object"&&e!==null&&!(e instanceof Date)}function W1(e){return Array.isArray(e)?e.map((t,r)=>[String(r),t]):Object.keys(e).map(t=>[t,e[t]])}function S4(e){return Array.isArray(e)?["[","]"]:["{","}"]}function LA(e){return e===null?p.jsx("span",{className:ge.keywordValue,children:"null"}):typeof e=="string"?p.jsx("span",{className:ge.stringValue,children:JSON.stringify(e)}):typeof e=="number"?p.jsx("span",{className:ge.numberValue,children:String(e)}):typeof e=="boolean"?p.jsx("span",{className:ge.keywordValue,children:String(e)}):typeof e=="bigint"?p.jsx("span",{className:ge.otherValue,children:e.toString()}):typeof e>"u"?p.jsx("span",{className:ge.otherValue,children:"undefined"}):typeof e=="symbol"?p.jsx("span",{className:ge.otherValue,children:e.description??"Symbol"}):typeof e=="function"?p.jsx("span",{className:ge.otherValue,children:e.name||"Function"}):null}function Py(e,t){if(!B1(e))return LA(e);const r=Array.isArray(e),i=W1(e),n=r?jA:zA,s=i.slice(0,n),[l,u]=S4(e);return p.jsxs(p.Fragment,{children:[p.jsx("span",{className:ge.punctuation,children:l}),t>=ip?p.jsx("span",{className:ge.previewEllipsis,children:"…"}):s.map(([f,h],g)=>p.jsxs("span",{children:[g>0&&p.jsx("span",{className:ge.punctuation,children:", "}),!r&&p.jsxs(p.Fragment,{children:[p.jsx("span",{className:ge.previewProperty,children:f}),p.jsx("span",{className:ge.punctuation,children:": "})]}),Py(h,t+1)]},f)),t<ip&&i.length>n&&p.jsx("span",{className:ge.previewEllipsis,children:", …"}),p.jsx("span",{className:ge.punctuation,children:u})]})}function Dy(e){return e===null?p.jsx("span",{className:ge.keywordValue,children:"null"}):typeof e=="string"?p.jsx("span",{className:ge.stringValue,children:JSON.stringify(e)}):typeof e=="boolean"?p.jsx("span",{className:ge.keywordValue,children:String(e)}):typeof e=="number"?p.jsx("span",{className:ge.numberValue,children:String(e)}):typeof e=="bigint"?p.jsx("span",{className:ge.numberValue,children:`${e.toString()}n`}):e instanceof Date?p.jsx("span",{className:ge.otherValue,children:e.toISOString()}):typeof e=="function"?p.jsxs("span",{className:ge.otherValue,children:["function() ","{ }"]}):typeof e>"u"?p.jsx("span",{className:ge.otherValue,children:"undefined"}):p.jsx("span",{className:ge.otherValue,children:e.toString()})}function x2(e){return e===""?'""':e}function ao(e){return e.map(t=>typeof t=="number"?`n${String(t)}`:`s${String(t.length)}:${t}`).join("/")}function Ry(e){e.focus()}function NA(e,t){const r=e.closest('[role="tree"]');if(r===null)return;const i=Array.from(r.querySelectorAll("[data-json-expander]")),n=i.indexOf(e);if(n<0||i.length===0)return;const s=i[(n+t+i.length)%i.length];s!==void 0&&Ry(s)}function Z0({field:e,expandable:t,onToggle:r}){return e===void 0?null:p.jsxs("span",{className:fe(ge.label,t&&ge.clickableLabel),onClick:t?r:void 0,children:[x2(e),":"]})}function PA({collapsedStringLines:e,stringWrapping:t,field:r,labels:i,lastElement:n,renderCopy:s,value:l}){const u=k.useId(),f=k.useRef(null),h=k.useRef(null),[g,y]=k.useState(!1),[_,w]=k.useState(!1),[x,I]=k.useState(!1);if(k.useLayoutEffect(()=>{if(g)return;const S=f.current,E=()=>{const O=Number.parseFloat(getComputedStyle(S).lineHeight);I(S.scrollHeight>O*e)};if(E(),typeof ResizeObserver>"u")return;const z=new ResizeObserver(E);return z.observe(S),()=>{z.disconnect()}},[e,g,r,n,l]),k.useLayoutEffect(()=>{if(!g)return;const S=h.current,E=[],z=S.closest(`.${ge.root}`);for(let N=z.parentElement;N!==null;N=N.parentElement)/auto|scroll|hidden|clip/.test(getComputedStyle(N).overflowY)&&E.push(N);const O=()=>{let N=0,A=window.innerHeight;for(const re of E){const V=re.getBoundingClientRect(),H=getComputedStyle(re);N=Math.max(N,V.top+re.clientTop),A=Math.min(A,V.top+re.clientTop+re.clientHeight-Number.parseFloat(H.paddingBottom))}const K=A-Math.max(N,S.getBoundingClientRect().top);S.style.maxHeight=`${Math.max(16,K-4)}px`};O();const P=typeof ResizeObserver>"u"?void 0:new ResizeObserver(O);P?.observe(S);for(const N of E)P?.observe(N);return window.addEventListener("resize",O),window.addEventListener("scroll",O,!0),()=>{P?.disconnect(),window.removeEventListener("resize",O),window.removeEventListener("scroll",O,!0)}},[g,l]),g){const S=`${u}-field`;return p.jsxs("div",{className:ge.stringField,"data-expanded":!0,children:[r!==void 0&&p.jsxs("span",{id:S,className:ge.label,children:[x2(r),":"]}),p.jsx("pre",{ref:h,id:u,className:ge.stringRaw,"data-wrap":_,tabIndex:0,"aria-labelledby":r===void 0?void 0:S,children:l}),!n&&p.jsx("span",{className:ge.punctuation,children:","}),p.jsxs("div",{className:ge.stringActions,children:[t!==void 0&&p.jsx("button",{type:"button",className:ge.actionButton,"aria-label":t.label,title:t.label,"aria-pressed":_,"aria-controls":u,onClick:()=>{const E=!_;w(E),t.setDefault(E)},children:p.jsx(ay,{size:12})}),p.jsx("button",{type:"button",className:ge.actionButton,"aria-label":i.collapseNode,title:i.collapseNode,"aria-expanded":!0,"aria-controls":u,onClick:()=>{y(!1)},children:p.jsx("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor","aria-hidden":"true",children:p.jsx("path",{d:"M9.5 1.5V6.5H14.5M1.5 9.5H6.5V14.5"})})}),s?.(!0)]})]})}return p.jsxs(p.Fragment,{children:[s?.(),p.jsx("span",{className:ge.stringField,"data-expanded":g,children:p.jsxs("span",{ref:f,id:u,className:ge.stringText,children:[x&&p.jsx("span",{className:ge.stringToggleSlot,children:p.jsxs("button",{type:"button",className:ge.stringToggle,"aria-label":i.expandNode,"aria-expanded":!1,"aria-controls":u,onClick:()=>{w(t?.getDefault()??!1),y(!0)},children:[p.jsx("span",{"aria-hidden":"true",children:"…"}),i.expandNode]})}),r!==void 0&&p.jsxs("span",{className:ge.label,children:[x2(r),":"]}),Dy(l),!n&&p.jsx("span",{className:ge.punctuation,children:","})]})})]})}function k2({collapsedStringLines:e,stringWrapping:t,field:r,initialExpanded:i,labels:n,lastElement:s,onClaimTabStop:l,onRowHover:u,path:f,renderCopy:h,tabStopId:g,value:y}){const _=k.useId(),w=k.useRef(null),[x,I]=k.useState(i),S=ao(f),E=B1(y),z=E?W1(y):[],O=z.length>0,P=()=>{I(V=>!V),Ry(w.current)},N=V=>{if(V.key==="ArrowRight"||V.key==="ArrowLeft"){V.preventDefault(),I(V.key==="ArrowRight");return}(V.key==="ArrowUp"||V.key==="ArrowDown")&&(V.preventDefault(),NA(V.currentTarget,V.key==="ArrowUp"?-1:1))},A=(V,H)=>p.jsxs("div",{className:ge.row,role:"treeitem","aria-expanded":H,onMouseOver:te=>{te.stopPropagation(),u(te.currentTarget,{path:f,value:y})},children:[typeof y!="string"&&h?.({path:f,value:y}),V]});if(typeof y=="string")return A(p.jsx(PA,{collapsedStringLines:e,stringWrapping:t,field:r,value:y,labels:n,lastElement:s,renderCopy:h===void 0?void 0:V=>h({path:f,value:y},V)}));if(!E)return A(p.jsxs(p.Fragment,{children:[p.jsx(Z0,{field:r,expandable:!1,onToggle:P}),Dy(y),!s&&p.jsx("span",{className:ge.punctuation,children:","})]}));const[K,re]=S4(y);return O?A(p.jsxs(p.Fragment,{children:[p.jsx("span",{ref:w,className:fe(ge.expander,x?ge.collapseIcon:ge.expandIcon),"data-json-expander":!0,role:"button","aria-label":x?n.collapseNode:n.expandNode,"aria-expanded":x,"aria-controls":x?_:void 0,tabIndex:g===S?0:-1,onFocus:()=>{l(S)},onClick:P,onKeyDown:N}),p.jsxs("span",{className:ge.summary,children:[p.jsx(Z0,{field:r,expandable:!0,onToggle:P}),p.jsx("span",{className:ge.preview,children:Py(y,0)}),!s&&p.jsx("span",{className:ge.punctuation,children:","})]}),x&&p.jsx("ul",{id:_,role:"group",className:ge.children,children:z.map(([V,H],te)=>p.jsx(k2,{collapsedStringLines:e,stringWrapping:t,field:V,value:H,path:[...f,Array.isArray(y)?te:V],labels:n,lastElement:te===z.length-1,initialExpanded:!1,tabStopId:g,onClaimTabStop:l,onRowHover:u,renderCopy:h},V))})]}),x):A(p.jsxs(p.Fragment,{children:[p.jsx(Z0,{field:r,expandable:!1,onToggle:P}),p.jsx("span",{className:ge.punctuation,children:K}),p.jsx("span",{className:ge.punctuation,children:re}),!s&&p.jsx("span",{className:ge.punctuation,children:","})]}))}function DA(e){return e.reduce((t,r)=>typeof r=="number"?`${t}[${String(r)}]`:/^[A-Za-z_$][\w$]*$/.test(r)?`${t}.${r}`:`${t}[${JSON.stringify(r)}]`,"$")}function RA(e,t){return t==="path"?DA(e.path):t==="prettyJson"?JSON.stringify(e.value,null,2):t==="json"?JSON.stringify(e.value):typeof e.value=="string"?e.value:typeof e.value>"u"?"undefined":typeof e.value=="bigint"?e.value.toString():typeof e.value=="symbol"?e.value.description??"Symbol":typeof e.value=="function"?e.value.name||"Function":JSON.stringify(e.value)}function AA({data:e,label:t,className:r,collapsedStringLines:i=3,stringWrapping:n,copyable:s=!0,expandTopLevel:l=!0,labels:u}){const f=W1(e),h=f.findIndex(([,H])=>B1(H)&&W1(H).length>0),g=f[h],y=l?g===void 0?null:ao([Array.isArray(e)?h:g[0]]):B1(e)&&f.length>0?ao([]):null,_=k.useRef(),w=k.useRef(),x=k.useRef(0),[I]=k.useState(MA),[S,E]=k.useState(y),z=H=>{_.current?.removeAttribute("data-json-copy-active"),_.current=H,H?.setAttribute("data-json-copy-active","")},O=()=>{x.current+=1,w.current!==void 0&&clearTimeout(w.current),z(void 0),I.set(void 0)};k.useEffect(()=>()=>{x.current+=1,w.current!==void 0&&clearTimeout(w.current),_.current?.removeAttribute("data-json-copy-active")},[]),k.useEffect(()=>{O(),E(y)},[e,l,y]);const P=(H,te)=>{!s||I.get()?.menuOpen||_.current!==H&&(z(H),I.set({id:ao(te.path),target:te,state:"idle",menuOpen:!1}))},N=H=>{!s||I.get()?.menuOpen||H.target instanceof Element&&H.target.closest("[data-json-copy-button]")===null&&O()},A=async(H,te)=>{const ie=++x.current,se={id:ao(H.path),target:H,state:"idle",menuOpen:!1};I.set(se);let xe;try{await navigator.clipboard.writeText(RA(H,te)),xe="copied"}catch{xe="failed"}const ce=I.get();ie!==x.current||ce?.target!==H||(I.set({...ce,state:xe}),w.current!==void 0&&clearTimeout(w.current),w.current=setTimeout(()=>{const he=I.get();he?.target===H&&I.set({...he,state:"idle"})},1500))},[K,re]=S4(e),V=s?(H,te=!1)=>p.jsx(TA,{store:I,target:H,persistent:te,labels:u,onCopy:A,onClose:O}):void 0;return p.jsx("div",{className:fe(ge.root,r),style:{"--json-tree-collapsed-lines":i},onMouseOver:N,onMouseLeave:()=>{I.get()?.menuOpen||O()},children:l?p.jsxs("div",{className:ge.expandedTopLevel,children:[p.jsxs("div",{className:fe(ge.row,ge.topLevelBracket),"data-json-root-row":!0,onMouseOver:H=>{H.stopPropagation(),P(H.currentTarget,{path:[],value:e})},children:[V?.({path:[],value:e}),p.jsx("span",{className:ge.punctuation,children:K})]}),p.jsx("div",{"aria-label":t,className:fe(ge.container,ge.expandedTopLevelContainer),role:"tree",children:f.map(([H,te],ie)=>p.jsx(k2,{collapsedStringLines:i,stringWrapping:n,field:H,value:te,path:[Array.isArray(e)?ie:H],labels:u,lastElement:ie===f.length-1,initialExpanded:!1,tabStopId:S,onClaimTabStop:E,onRowHover:P,renderCopy:V},H))}),p.jsx("div",{className:fe(ge.row,ge.topLevelBracket),children:p.jsx("span",{className:ge.punctuation,children:re})})]}):p.jsx("div",{"aria-label":t,className:ge.container,role:"tree",children:p.jsx(k2,{collapsedStringLines:i,stringWrapping:n,value:e,path:[],labels:u,lastElement:!0,initialExpanded:!0,tabStopId:S,onClaimTabStop:E,onRowHover:P,renderCopy:V})})})}const FA={"0,0,0":"var(--dsw-alias-label-primary)","255,255,255":"var(--dsw-alias-label-primary)","85,85,85":"var(--dsw-alias-label-tertiary)","187,0,0":"var(--dsw-alias-state-error-primary)","255,85,85":"var(--dsw-alias-state-error-secondary)","0,187,0":"var(--dsw-alias-state-success-primary)","0,255,0":"var(--dsw-alias-state-success-secondary)","187,187,0":"var(--dsw-alias-state-warn-primary)","255,255,85":"var(--dsw-alias-state-warn-secondary)","0,0,187":"var(--dsw-alias-state-business-primary)","85,85,255":"var(--dsw-static-blue-400)","0,187,187":"var(--dsw-static-blue-600)","85,255,255":"var(--dsw-static-blue-500)"},UA={bold:{fontWeight:700},dim:{opacity:.7},italic:{fontStyle:"italic"},underline:{textDecoration:"underline"},strikethrough:{textDecoration:"line-through"},hidden:{visibility:"hidden"}},HA=/\u001b\][^\u0007\u001b]*(?:\u0007|\u001b\\)?/g,ZA=/\u001b(?!\[)[\u0020-\u002f]*[\u0030-\u007e]?/g,VA=/[\u0000-\u0007\u000b-\u001a\u001c-\u001f\u007f]/g,BA=/\r|\u0008|\u001b\[[\u0030-\u003f]*[\u0020-\u002f]*K/,WA=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*m/g,op=8,KA=/^[\p{Mn}\p{Me}\p{Cf}\u200b-\u200f\u2060]$/u,qA=new RegExp("\\p{Script=Han}|\\p{Script=Hiragana}|\\p{Script=Katakana}|\\p{Script=Hangul}|\\p{Emoji_Presentation}|[\\uff01-\\uff60\\u3000-\\u303e]","u");function V0(e){const t=e.codePointAt(0);return t===void 0||t<4352?!1:qA.test(e)}const Vs={fg:"",bg:"",attrs:[]},JA={22:["1","2"],23:["3"],24:["4"],25:["5","6"],27:["7"],28:["8"],29:["9"]};function Ay(e,t){const r=t===""?["0"]:t.split(";");let i=e;for(let n=0;n<r.length;n++){const s=String(r[n]);if(s===""||s==="0"){i=Vs;continue}if(s==="38"||s==="48"){const f=r[n+1]??"",h=f==="2"?4:f==="5"?2:0,g=r.slice(n,n+h+1).join(";");i=s==="38"?{...i,fg:g}:{...i,bg:g},n+=h;continue}const l=JA[s];if(l!==void 0){i={...i,attrs:i.attrs.filter(f=>!l.includes(f))};continue}const u=Number(s);if(s==="39"){i={...i,fg:""};continue}if(s==="49"){i={...i,bg:""};continue}if(u>=30&&u<=37||u>=90&&u<=97){i={...i,fg:s};continue}if(u>=40&&u<=47||u>=100&&u<=107){i={...i,bg:s};continue}i.attrs.includes(s)||(i={...i,attrs:[...i.attrs,s]})}return i}function sp(e){const t=[...e.attrs];return e.fg!==""&&t.push(e.fg),e.bg!==""&&t.push(e.bg),t.length===0?"":`\x1B[${t.join(";")}m`}function k1(e,t){return e.fg===t.fg&&e.bg===t.bg&&e.attrs.length===t.attrs.length&&e.attrs.every((r,i)=>r===t.attrs[i])}function GA(e,t){const r=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*([\u0040-\u007e])/g,i=[];let n=0,s=t,l=0;const u=(y,_)=>{const w=i[y];w?.spacer===!0&&y>0?i[y-1]={sgr:s,char:_}:w!==void 0&&V0(w.char)&&i[y+1]?.spacer===!0&&(i[y+1]={sgr:s,char:_}),i[y]={sgr:s,char:_}},f=y=>{for(const _ of y){if(_==="\r"){n=0;continue}if(_==="\b"){n=Math.max(0,n-1);continue}if(_===" "){const w=n+op-n%op;for(;n<w;n++)i[n]??={sgr:s,char:" "};continue}if(KA.test(_)){const w=n>0?i[n-1]:void 0;w!==void 0&&(i[n-1]={sgr:w.sgr,char:w.char+_});continue}u(n," "),i[n]={sgr:s,char:_},n++,V0(_)&&(i[n]={sgr:s,char:"",spacer:!0},n++)}};for(const y of e.matchAll(r)){f(e.slice(l,y.index)),l=y.index+y[0].length;const _=String(y[1]),w=String(y[2]);if(w==="K"){const x=String(_.split(";")[0]);if(x==="1")for(let I=0;I<=n;I++)u(I," ");else i.length=x==="2"?0:n;continue}w==="m"&&(s=Ay(s,_))}f(e.slice(l));let h="",g=t;for(let y=0;y<i.length;y++){const _=i[y]??{sgr:Vs,char:" "};k1(_.sgr,g)||(k1(g,Vs)||(h+="\x1B[0m"),h+=sp(_.sgr),g=_.sgr);const w=y>0&&V0(i[y-1]?.char??"");h+=_.spacer===!0&&!w?" ":_.char}return k1(g,s)||(k1(g,Vs)||(h+="\x1B[0m"),h+=sp(s)),{text:h,sgr:s}}function YA(e){const t=[];let r=Vs;for(const i of e.split(`
|
|
139
|
-
`)){const n=i.replace(/\r+$/,"");if(BA.test(n)){const s=GA(n,r);t.push(s.text),r=s.sgr;continue}t.push(n);for(const s of n.matchAll(WA))r=Ay(r,String(s[1]))}return t.join(`
|
|
140
|
-
`)}function XA(e){return YA(e.replace(HA,"").replace(ZA,"")).replace(VA,"")}function QA(e){const t={},r=e.bg===null?void 0:`rgb(${e.bg})`;if(r!==void 0&&(t.backgroundColor=r),e.fg!==null){const i=`rgb(${e.fg})`;t.color=r===void 0?FA[e.fg.replace(/\s+/g,"")]??i:i}for(const i of e.decorations)Object.assign(t,UA[i]);return Object.keys(t).length===0?void 0:t}function eF(e){let t=[];const r=[t];for(const i of uM.ansiToJson(XA(e),{json:!0,remove_empty:!0})){const n=QA(i);for(const[s,l]of i.content.split(`
|
|
141
|
-
`).entries())s>0&&(t=[],r.push(t)),l!==""&&t.push({text:l,style:n})}return r}function Fy(e,t,r){const i=e-t,n=Math.ceil(t/2);return{hidden:i,capped:i>0&&!r,headLines:n,tailLines:t-n}}function Uy({text:e,label:t,className:r}){const i=k.useRef(null),[n,s]=k.useState(!1);return k.useLayoutEffect(()=>{const l=i.current;if(l===null)return;const u=()=>{s(l.scrollWidth>l.clientWidth)};u();const f=typeof ResizeObserver>"u"?void 0:new ResizeObserver(u);f?.observe(l);const h="fonts"in l.ownerDocument?l.ownerDocument.fonts:void 0;return h?.addEventListener("loadingdone",u),()=>{f?.disconnect(),h?.removeEventListener("loadingdone",u)}},[e]),p.jsx("span",{ref:i,className:fe(SM.text,r),"data-command-text":!0,tabIndex:n?0:void 0,role:n?"group":void 0,"aria-label":n?t:void 0,children:e})}const tF=16;function nF(e,t){const r=e.replace(/[/\\]+$/,"");if(t!==void 0&&r===t.replace(/[/\\]+$/,""))return"~";const i=r.split(/[/\\]/).pop();return i===void 0||i===""?e:i}function Hy(e,t,r){if(t!==void 0)return r.signal(t);if(e===null)return r.noExitCode;if(e!==void 0&&e!==0)return r.exitCode(e)}function rF(e,t,r,i){return e?{state:"ongoing",label:i.running}:Hy(t,r,i)!==void 0?{state:"error",label:i.failed}:{state:"done",label:i.done}}function ap(e){return e.map((t,r)=>t.style===void 0?t.text:p.jsx("span",{style:t.style,children:t.text},r))}function iF({command:e,cwd:t,home:r,output:i,exitCode:n,signal:s,running:l=!1,background:u=!1,maxLines:f=16,copyText:h,runStateDot:g=!0,className:y,labels:_}){const w=_,x=i??"",I=k.useMemo(()=>{const ce=eF(x),he=ce[ce.length-1];return ce.length>1&&he!==void 0&&he.every(ze=>ze.text==="")?ce.slice(0,-1):ce},[x]),[S,E]=k.useState(!1),{copied:z,onCopy:O}=x4(h??x),P=k.useCallback(()=>{E(ce=>!ce)},[]),N=u?void 0:Hy(n,s,w),A=rF(l,n,s,w),K=g&&(!u||l),re=k.useMemo(()=>(e.endsWith(`
|
|
142
|
-
`)?e.slice(0,-1):e).split(`
|
|
143
|
-
`),[e]),V=I.every(ce=>ce.every(he=>he.text.trim()==="")),{hidden:H,capped:te,headLines:ie,tailLines:se}=Fy(I.length,f,S),xe=!u&&(!l||!V);return p.jsxs("div",{className:fe(Et.block,y),"data-terminal":"","data-running":l?"":void 0,"data-body":xe?"":void 0,children:[p.jsxs("div",{className:Et.header,children:[p.jsxs("div",{className:Et.prompt,children:[K&&p.jsx("span",{className:Et.runStateLabel,children:A.label}),re.map((ce,he)=>p.jsxs("div",{className:Et.promptLine,children:[he===0&&K&&p.jsx(yu,{state:A.state,className:Et.runState}),p.jsx("span",{className:Et.cwd,children:he>0||t===void 0?"$":nF(t,r)}),p.jsx(Uy,{className:Et.command,text:ce,label:w.commandLine(he+1)})]},he))]}),N!==void 0&&p.jsx(y4,{className:Et.status,children:N}),(h!==void 0||!u&&!l&&!V)&&p.jsx("button",{type:"button",className:Et.copyButton,onClick:O,children:z?w.copied:w.copy})]}),xe&&(V?p.jsx("div",{className:Et.empty,children:w.noOutput}):p.jsxs("div",{className:Et.output,children:[(te?I.slice(0,ie):I).map((ce,he)=>p.jsx("div",{className:Et.line,children:ap(ce)},he)),H>0&&p.jsx("button",{type:"button",className:Et.expand,"aria-expanded":S,"aria-label":S?w.collapseAria:w.expandAria(H),onClick:P,children:S?w.collapse:w.expand(H)}),te&&I.slice(I.length-se).map((ce,he)=>p.jsx("div",{className:Et.line,children:ap(ce)},he))]}))]})}function Zy({className:e,expanded:t,hidden:r,labels:i,onToggle:n}){return p.jsx("button",{type:"button",className:e,"aria-expanded":t,"aria-label":t?i.collapseAria:i.expandAria(r),onClick:n,children:t?i.collapse:i.expand(r)})}function I4({lang:e,title:t,status:r,labels:i,copyLabel:n,copiedLabel:s,copied:l,wrapped:u,onCopy:f,onWrap:h}){const g=u?i.unwrapLabel:i.wrapLabel,y=l?s:n;return p.jsxs("div",{className:Sn.header,"data-code-block-banner":!0,children:[p.jsxs("div",{className:Sn.heading,children:[p.jsx("span",{className:Sn.language,children:Ty(e)?e:i.codeLabel}),t!==void 0&&p.jsx("span",{className:Sn.title,title:t,children:t})]}),p.jsxs("div",{className:Sn.actions,children:[r!==void 0&&p.jsx("span",{className:Sn.status,children:r}),h!==void 0&&p.jsx(Zn,{label:g,side:"top",portal:!0,children:p.jsx("button",{type:"button",className:Sn.action,"aria-label":i.wrapLabel,"aria-pressed":u,onClick:h,children:u?p.jsx(ly,{size:14}):p.jsx(cy,{size:14})})}),f!==void 0&&p.jsx(Zn,{label:y,side:"top",portal:!0,children:p.jsx("button",{type:"button",className:Sn.action,"aria-label":y,onClick:f,children:l?p.jsx(Uo,{size:14}):p.jsx(g4,{size:14})})})]})]})}const oF=()=>{};var sF=class{observer;activators=new Map;observe(e,t){return typeof IntersectionObserver>"u"?(t(),oF):(this.observer??=new IntersectionObserver(r=>{for(const i of r){if(!i.isIntersecting)continue;const n=this.activators.get(i.target);n!==void 0&&(this.activators.delete(i.target),this.observer?.unobserve(i.target),n())}this.releaseEmptyObserver()}),this.activators.set(e,t),this.observer.observe(e),()=>{this.activators.delete(e),this.observer?.unobserve(e),this.releaseEmptyObserver()})}releaseEmptyObserver(){this.activators.size>0||(this.observer?.disconnect(),this.observer=void 0)}};const aF=new sF;function Vy(e,t){const r=Ty(t),[i,n]=k.useState(!1),s=k.useCallback(()=>{n(!0)},[]);return k.useEffect(()=>{if(i||!r)return;const l=e.current;if(l!==null)return aF.observe(l,s)},[s,i,r,e]),i&&r}const lF=16;function cF(e){return e.map((t,r)=>p.jsx("span",{style:t.style,children:t.text},r))}function uF({label:e,labels:t,lines:r,totalLines:i,lang:n,maxLines:s=16,className:l}){const u=k.useRef(null),f=Vy(u,n),h=k.useMemo(()=>r.map(te=>te.text).join(`
|
|
144
|
-
`),[r]),g=k.useMemo(()=>f?Ny(h,n):void 0,[f,h,n,k.useSyncExternalStore(C4,So,So)]),[y,_]=k.useState(!1),[w,x]=k.useState(!1),[I,S]=k.useState(!1),E=k.useCallback(()=>{w||Ho(h).then(te=>{te&&(x(!0),window.setTimeout(()=>{x(!1)},1e3))})},[w,h]),z=k.useCallback(()=>{_(te=>!te)},[]),O=r.length-s,P=O>0&&!y,N=Math.ceil(s/2),A=s-N,K=r.length<i,re=te=>te.map(([ie,se])=>p.jsxs("div",{className:Ps.line,children:[p.jsx("span",{className:Ps.gutter,"aria-hidden":!0,children:ie.number}),p.jsx("span",{className:Ps.content,children:se===void 0?ie.text:cF(se)})]},ie.number)),V={"--dsl-read-gutter":`${r.reduce((te,ie)=>Math.max(te,String(ie.number).length),3)}ch`},H=r.map((te,ie)=>[te,g?.[ie]]);return p.jsxs("div",{ref:u,className:fe(Sn.card,Ps.block,l),"data-read":"","data-code-wrap":I,style:V,children:[p.jsx(I4,{lang:n,title:e,status:K?t.window(r.length,i):void 0,labels:t,copyLabel:t.copy,copiedLabel:t.copied,copied:w,wrapped:I,onCopy:r.length>0?E:void 0,onWrap:()=>{S(te=>!te)}}),p.jsxs("div",{className:Sn.body,children:[re(P?H.slice(0,N):H),O>0&&p.jsx(Zy,{className:Ps.expand,expanded:y,hidden:O,labels:t,onToggle:z}),P&&re(H.slice(H.length-A))]})]})}const dF=16;function fF(e){throw new Error(`unreachable diff row kind: ${String(e)}`)}const lp={path:Un.path,del:Un.del,add:Un.add,context:Un.context,gap:Un.gap},hF=256;function By(e){const t=cp(e.oldText??""),r=cp(e.newText),i=n=>n.map(s=>`${s}
|
|
145
|
-
`).join("");return BM("","",i(t),i(r),void 0,void 0,{context:3,maxEditLength:hF})?.hunks??[{lines:[...t.map(n=>`-${n}`),...r.map(n=>`+${n}`)]}]}function pF(e){let t=0,r=0;for(const i of e)for(const n of By(i))for(const s of n.lines)s.startsWith("+")&&t++,s.startsWith("-")&&r++;return{added:t,removed:r}}function mF(e){const t=[];let r;for(const i of e){i.path!==r?t.push({kind:"path",text:i.path}):t.push({kind:"gap",text:"⋯"}),r=i.path;for(const[n,s]of By(i).entries()){n>0&&t.push({kind:"gap",text:"⋯"});for(const l of s.lines){const u=l.startsWith("-")?"del":l.startsWith("+")?"add":"context";t.push({kind:u,text:l.slice(1)})}}}return t}function cp(e){return e===""?[]:(e.endsWith(`
|
|
146
|
-
`)?e.slice(0,-1):e).split(`
|
|
147
|
-
`)}function gF(e){return e.map(t=>{switch(t.kind){case"del":return`- ${t.text}`;case"add":return`+ ${t.text}`;case"context":return` ${t.text}`;case"path":return t.text;case"gap":return t.text;default:return fF(t.kind)}}).join(`
|
|
148
|
-
`)}function vF({diffs:e,labels:t,maxLines:r=16,className:i}){const n=k.useMemo(()=>mF(e),[e]),[s,l]=k.useState(!1),[u,f]=k.useState(!1),[h,g]=k.useState(!1),y=e[0]===void 0?void 0:y2(e[0].path),_=e.every(N=>y2(N.path)===y)?y:void 0,w=k.useCallback(()=>{u||Ho(gF(n)).then(N=>{N&&(f(!0),window.setTimeout(()=>{f(!1)},1e3))})},[u,n]),x=k.useCallback(()=>{l(N=>!N)},[]);if(n.length===0)return null;const I=n.length-r,S=I>0&&!s,E=Math.ceil(r/2),z=r-E,O=S?n.slice(0,E):n,P=S?n.slice(n.length-z):[];return p.jsxs("div",{className:fe(Sn.card,Un.block,i),"data-diff":"","data-code-wrap":h,children:[p.jsx(I4,{lang:_,labels:t,copyLabel:t.copy,copiedLabel:t.copied,copied:u,wrapped:h,onCopy:w,onWrap:()=>{g(N=>!N)}}),p.jsxs("div",{className:Un.body,children:[O.map((N,A)=>p.jsx("div",{className:fe(Un.line,lp[N.kind]),children:N.text},A)),I>0&&p.jsx(Zy,{className:Un.expand,expanded:s,hidden:I,labels:t,onToggle:x}),P.map((N,A)=>p.jsx("div",{className:fe(Un.line,lp[N.kind]),children:N.text},A))]})]})}const yF=16;function _F(e){return e.kind==="paths"?e.paths.join(`
|
|
149
|
-
`):e.files.map(t=>[t.path,...t.matches.map(r=>`${r.lineNumber}: ${r.line}`)].join(`
|
|
150
|
-
`)).join(`
|
|
151
|
-
|
|
152
|
-
`)}function wF(e){return e.kind==="paths"?e.paths.length:e.files.reduce((t,r)=>t+r.matches.length,0)}function bF(e,t,r,i){return e.kind==="paths"?e.labels.pathsSummary(t,i,r):e.labels.matchesSummary(t,i,e.files.length,r)}function xF(e,t){if(e.kind==="paths")return e.paths.map(i=>({type:"path",path:i}));const r=[];return e.files.forEach((i,n)=>{const s=t.has(n);if(r.push({type:"file",path:i.path,count:i.matches.length,index:n,collapsed:s}),!s)for(const l of i.matches)r.push({type:"match",lineNumber:l.lineNumber,line:l.line,key:`${n}:${l.lineNumber}`,fileIndex:n})}),r}function B0(e){switch(e.type){case"match":return`match:${e.key}`;case"file":return`file:${e.index}`;case"path":return`path:${e.path}`}}function kF(e){const{truncated:t,total:r,maxLines:i=16,className:n}=e,[s,l]=k.useState(!1),[u,f]=k.useState(()=>new Set),h=xF(e,u),g=wF(e),y=h.length===0,{copied:_,onCopy:w}=x4(_F(e)),x=k.useCallback(()=>{l(H=>!H)},[]),I=k.useCallback(H=>{f(te=>{const ie=new Set(te);return ie.has(H)?ie.delete(H):ie.add(H),ie})},[]),{hidden:S,capped:E,headLines:z,tailLines:O}=Fy(h.length,i,s),P=E?h.slice(0,z):h,N=E?h.slice(h.length-O):[],A=N[0],K=A?.type==="match"&&!P.some(H=>H.type==="file"&&H.index===A.fileIndex)?h.find(H=>H.type==="file"&&H.index===A.fileIndex):void 0,re=K===void 0?N:N.slice(1),V=H=>H.type==="path"?p.jsx("div",{className:Kt.line,children:H.path}):H.type==="match"?p.jsxs("div",{className:Kt.line,children:[p.jsxs("span",{className:Kt.lineNumber,children:[H.lineNumber,": "]}),H.line]}):p.jsxs("button",{type:"button",className:Kt.fileHeader,"aria-expanded":!H.collapsed,onClick:()=>{I(H.index)},children:[p.jsx("span",{className:Kt.filePath,children:H.path}),p.jsx("span",{className:Kt.fileCount,children:H.count})]});return p.jsxs("div",{className:fe(Kt.block,n),"data-search":e.kind,children:[p.jsxs("div",{className:Kt.header,children:[p.jsx("span",{className:Kt.summary,children:bF(e,g,t,r)}),!y&&p.jsx("button",{type:"button",className:Kt.copyButton,onClick:w,children:_?e.labels.copied:e.labels.copy})]}),y?p.jsx("div",{className:Kt.empty,children:e.labels.noResults}):p.jsxs("div",{className:Kt.body,children:[P.map(H=>p.jsx("div",{children:V(H)},B0(H))),S>0&&p.jsx("button",{type:"button",className:Kt.expand,"aria-expanded":s,"aria-label":s?e.labels.collapseAria:e.labels.expandAria(S),onClick:x,children:s?e.labels.collapse:e.labels.expand(S)}),K!==void 0&&p.jsx("div",{children:V(K)},`tailHeader:${B0(K)}`),re.map(H=>p.jsx("div",{children:V(H)},B0(H)))]})]})}const CF=2;function up(e,t,r){const i=e.position?.start.offset;return i===void 0?-(r+1):t+i}function $F(e,t){for(let r=t;r<e.length;r+=1){const i=e[r];if(i===`
|
|
153
|
-
`)return r+1;if(i==="\r")return e[r+1]===`
|
|
154
|
-
`?r+2:r+1}}function dp(e){let t=0,r=0;for(let i=0;i<e.length;i+=1){const n=e[i];if(n===`
|
|
155
|
-
`){t=r,r=i+1;continue}n!=="\r"||i+1>=e.length||(e[i+1]===`
|
|
156
|
-
`&&(i+=1),t=r,r=i+1)}return t}function fp(e){return e.endsWith(`\r
|
|
157
|
-
`)?`\r
|
|
158
|
-
`:e.endsWith("\r")?"\r":`
|
|
159
|
-
`}function hp(e,t,r){let i=0;for(;i<=e.length;){let n=i;for(;n<e.length&&e[n]!==`
|
|
160
|
-
`&&e[n]!=="\r";)n+=1;const s=e.slice(i,n);let l=0;for(;l<3&&s[l]===" ";)l+=1;let u=l;for(;s[u]===t;)u+=1;if(u-l>=r&&/^[ \t]*$/.test(s.slice(u)))return!0;if(n===e.length)return!1;i=e[n]==="\r"&&e[n+1]===`
|
|
161
|
-
`?n+2:n+1}return!1}function SF(e,t,r){let i=e.line,n=e.column,s=r;for(const l of t){if(l===`
|
|
162
|
-
`){s||(i+=1),n=1,s=!1;continue}if(l==="\r"){i+=1,n=1,s=!0;continue}n+=1,s=!1}return{line:i,column:n,offset:e.offset+t.length}}var IF=class{parse;prevText="";tailStart=0;frozen=[];generation=0;cached=null;openFence=null;constructor(e){this.parse=e}fenceValue(e,t){const r=this.parse(`${e.syntheticPrefix}${t}`);if(r.children.length!==1)return;const i=r.children[0];return i.type==="code"?i.value:void 0}openFenceState(e,t,r,i){const n=r.length-1,s=r[n];if(s?.node.type!=="code")return null;const l=s.node,u=l.position?.start.offset,f=l.position?.end;if(u===void 0||f?.offset===void 0||t+f.offset!==e.length)return null;const h=e.slice(t),g=h.lastIndexOf(`
|
|
163
|
-
`,u-1),y=h.lastIndexOf("\r",u-1),_=Math.max(g,y)+1,w=$F(h,u);if(w===void 0||w===h.length&&h.endsWith("\r"))return null;const x=h.slice(_,w).replace(/[\r\n]+$/,""),I=/^( {0,3})(`{3,}|~{3,})/.exec(x);if(I===null)return null;const S=I[1],E=I[2];if(_+S.length!==u)return null;const z=E[0],O=t+w,P=e.slice(O);if(hp(P,z,E.length))return null;const N=`${S}${E}
|
|
164
|
-
`,A=dp(P),K=A===0?"":this.fenceValue({syntheticPrefix:N},P.slice(0,A));if(K===void 0)return null;const re=O+A,V=P.slice(0,A),H=A===0?"":`${K}${fp(V)}`,te=this.fenceValue({syntheticPrefix:N},e.slice(re));return te===void 0||`${H}${te}`!==l.value?null:{marker:z,markerLength:E.length,syntheticPrefix:N,codeIndex:n,frozen:i,tail:r,pendingStart:re,valuePrefix:H,end:{line:f.line,column:f.column,offset:f.offset},endedWithCarriageReturn:e.endsWith("\r")}}updateOpenFence(e,t,r){const i=t.slice(e.pendingStart);if(hp(i,e.marker,e.markerLength))return;const n=this.fenceValue(e,i);if(n===void 0)return;const s=dp(i),l=s===0?"":this.fenceValue(e,i.slice(0,s));if(l===void 0)return;const u=e.tail[e.codeIndex].node,f=SF(e.end,t.slice(r.length),e.endedWithCarriageReturn),h={...u,value:`${e.valuePrefix}${n}`,position:{start:u.position.start,end:f}},g=e.tail.map((_,w)=>w===e.codeIndex?{..._,node:h}:_),y={frozen:e.frozen,tail:g,generation:this.generation};return this.openFence={...e,tail:g,pendingStart:e.pendingStart+s,valuePrefix:s===0?e.valuePrefix:`${e.valuePrefix}${l}${fp(i.slice(0,s))}`,end:f,endedWithCarriageReturn:t.endsWith("\r")},y}update(e){if(this.cached!==null&&e===this.prevText)return this.cached;e.startsWith(this.prevText)||(this.prevText="",this.tailStart=0,this.frozen=[],this.openFence=null,this.generation+=1);const t=this.prevText;if(t!==""&&this.openFence!==null){const l=this.updateOpenFence(this.openFence,e,t);if(l!==void 0)return this.prevText=e,this.cached=l,l;this.openFence=null}this.prevText=e;const r=this.tailStart,i=this.parse(e.slice(r)).children;let n=Math.max(0,i.length-CF);if(n>0){const l=i[n-1]?.position?.end.offset;if(l===void 0)n=0;else{for(const u of i.slice(0,n))this.frozen.push({node:u,key:up(u,r,this.frozen.length)});this.tailStart=r+l}}const s=i.slice(n).map((l,u)=>({node:l,key:up(l,r,u)}));return this.cached={frozen:[...this.frozen],tail:s,generation:this.generation},this.openFence=this.openFenceState(e,r,s,this.cached.frozen),this.cached}};function Wy(e,t){const r=i=>{if(i.type==="paragraph"&&i.children.length===1){const[n]=i.children;if(n.type==="text"&&n.position!==void 0&&t.slice(n.position.start.offset,n.position.end.offset)===n.value){const s=/^!\[([^\]\n]*)\]\(((?:\/(?!\/)|\.{1,2}\/|[a-z]:[\\/])[^\n<>()[\]"']+\.[a-z\d]+)\)$/iu.exec(n.value);s!==null&&s[2].includes(" ")&&wu(s[2])==="image"&&(i.children=[{type:"image",alt:s[1],url:s[2],position:n.position}])}}else if("children"in i)for(const n of i.children)r(n)};return r(e),e}const zF=new RegExp(["\\p{Script_Extensions=Han}","\\p{Script_Extensions=Hiragana}","\\p{Script_Extensions=Katakana}","\\p{Script_Extensions=Hangul}","\\p{Script_Extensions=Bopomofo}"].join("|"),"u");function jF(e){return e!==null&&e>=0&&zF.test(String.fromCodePoint(e))}const EF=function(e,t,r){const i=this.parser.constructs.attentionMarkers.null;if(i===void 0)throw new Error("micromark CommonMark attention markers are unavailable");const n=i,s=this.previous,l=Th(s);let u=Oe.eof;return f;function f(g){return g!==Oe.asterisk?r(g):(u=g,e.enter("attentionSequence"),h(g))}function h(g){if(g===u)return e.consume(g),h;const y=e.exit("attentionSequence"),_=Th(g),w=!_||_===X0.characterGroupPunctuation&&!!l||n.includes(g),x=!l||l===X0.characterGroupPunctuation&&!!_||n.includes(s),I=y.end.offset-y.start.offset>=2&&hx(s)&&jF(g),S=x||I;return y._open=w,y._close=S,t(g)}},OF={name:"cjkFriendlyAttention",resolveAll:fx.resolveAll,tokenize:EF},MF={text:{[Oe.asterisk]:OF}};function Ky(){return MF}const TF=["\\verb","\\verb*"],LF=function(e){if(e!==Oe.backslash)return!0;const t=this.events.at(-1);return t===void 0?!1:t[1].type===qt.characterEscape},NF=function(e,t,r){return i;function i(w){return w!==Oe.backslash?r(w):(e.enter("mathText"),e.enter("mathTextSequence"),e.consume(w),n)}function n(w){return w!==Oe.leftParenthesis?r(w):(e.consume(w),e.exit("mathTextSequence"),s)}function s(w){return w===Oe.eof?r(w):w===Oe.backslash?e.attempt({partial:!0,tokenize:y},g,l)(w):lo(w)?(e.enter(qt.lineEnding),e.consume(w),e.exit(qt.lineEnding),s):u(w)}function l(w){return e.check({partial:!0,tokenize:_},r,u)(w)}function u(w){return e.enter("mathTextData"),e.consume(w),w===Oe.backslash?f:h}function f(w){return w===Oe.backslash?(e.consume(w),h):h(w)}function h(w){return w===Oe.eof||w===Oe.backslash||lo(w)?(e.exit("mathTextData"),s(w)):(e.consume(w),h)}function g(w){return e.exit("mathText"),t(w)}function y(w,x,I){return S;function S(z){return z!==Oe.backslash?I(z):(w.enter("mathTextSequence"),w.consume(z),E)}function E(z){return z!==Oe.rightParenthesis?I(z):(w.consume(z),w.exit("mathTextSequence"),x)}}function _(w,x,I){return S;function S(z){return z!==Oe.backslash?I(z):(w.enter(qt.chunkString),w.consume(z),E)}function E(z){return z!==Oe.leftParenthesis?I(z):(w.consume(z),w.exit(qt.chunkString),x)}}};function qy(e,t,r){const i=function(n,s,l){const u=this;let f=!1,h=!1,g=!1,y=!1,_=!1,w="",x=!1;const I=u.events.at(-1),S=I?.[1].type===qt.linePrefix?I[2].sliceSerialize(I[1],!0).length:0;return E;function E(U){return U!==e?l(U):(n.enter("mathFlow"),n.enter("mathFlowFence"),n.enter("mathFlowFenceSequence"),n.consume(U),z)}function z(U){return U!==t?l(U):(n.consume(U),n.exit("mathFlowFenceSequence"),n.exit("mathFlowFence"),e===Oe.dollarSign?O:P)}function O(U){return U===Oe.dollarSign?l(U):P(U)}function P(U){return U===Oe.eof?l(U):U===e&&e===Oe.dollarSign&&!h&&A()?K(U):U===e&&N()?n.attempt({partial:!0,tokenize:ze},he,H)(U):lo(U)?e===Oe.dollarSign&&x||(f=!1,h=!1,g=!1,w="",e===Oe.dollarSign&&(y=!0),u.interrupt&&e===Oe.dollarSign)?l(U):n.attempt(DF,te,l)(U):ie(U)}function N(){return e!==Oe.dollarSign?!0:!f&&!(h&&g&&y)}function A(){return TF.some(U=>w.endsWith(U))}function K(U){return n.enter("mathFlowValue"),f=!1,V(U),n.consume(U),re}function re(U){return U!==e?ce(U):(V(U),n.consume(U),ce)}function V(U){U!==null&&(w=`${w}${String.fromCharCode(U)}`.slice(-6))}function H(U){if(e===Oe.backslash)return n.check({partial:!0,tokenize:Q},l,se)(U);if(_){if(y)return l(U);x=!0}return se(U)}function te(U){return n.attempt({partial:!0,tokenize:ze},he,S?g0(n,P,qt.linePrefix,S+1):P)(U)}function ie(U){return n.enter("mathFlowValue"),f=U===Oe.backslash,U===Oe.percentSign&&e===Oe.dollarSign&&!h?(h=!0,g=!1):h&&!Nh(U)&&(g=!0),V(U),n.consume(U),ce}function se(U){return n.enter("mathFlowValue"),f=!1,h&&(g=!0),V(U),n.consume(U),xe}function xe(U){return U===e?(V(U),n.consume(U),ce):ce(U)}function ce(U){if(U===Oe.eof||U===e||lo(U))return n.exit("mathFlowValue"),P(U);const X=f,$=U===Oe.backslash&&X;return f=U===Oe.backslash?!X:!1,!X&&U===Oe.percentSign&&e===Oe.dollarSign&&!h?(h=!0,g=!1):h&&!Nh(U)&&(g=!0),$?w="":V(U),n.consume(U),ce}function he(U){return n.exit("mathFlow"),s(U)}function ze(U,X,$){return _=!1,g0(U,Z,qt.linePrefix,X0.tabSize);function Z(pe){return pe!==e?$(pe):(U.enter("mathFlowFence"),U.enter("mathFlowFenceSequence"),U.consume(pe),W)}function W(pe){return pe!==r?$(pe):(U.consume(pe),U.exit("mathFlowFenceSequence"),_=!0,g0(U,ne,qt.whitespace))}function ne(pe){return pe!==Oe.eof&&!lo(pe)?$(pe):(U.exit("mathFlowFence"),X(pe))}}function Q(U,X,$){return Z;function Z(ne){return ne!==e?$(ne):(U.enter(qt.chunkString),U.consume(ne),W)}function W(ne){return ne!==t?$(ne):(U.consume(ne),U.exit(qt.chunkString),X)}}};return{concrete:!0,name:e===Oe.dollarSign?"dollarMathFlow":"backslashMathFlow",tokenize:i}}const PF=function(e,t,r){const i=this;return n;function n(l){return l===Oe.eof?t(l):lo(l)?(e.enter(qt.lineEnding),e.consume(l),e.exit(qt.lineEnding),s):r(l)}function s(l){return i.parser.lazy[i.now().line]?r(l):t(l)}},DF={partial:!0,tokenize:PF},RF={name:"backslashMathText",previous:LF,tokenize:NF},AF=qy(Oe.backslash,Oe.leftSquareBracket,Oe.rightSquareBracket),FF=qy(Oe.dollarSign,Oe.dollarSign,Oe.dollarSign),UF={flow:{[Oe.backslash]:AF,[Oe.dollarSign]:FF},text:{[Oe.backslash]:RF}};function HF(){return UF}function ZF(e){return e.includes("\\")&&!/^[a-z][a-z\d+.-]+:/iu.test(e)&&(!e.includes("/")||/\\[\p{L}\p{N}]/u.test(e))}function pp(e){const t=this.resume(),r=this.sliceSerialize(e),i=this.stack.at(-1);i.url=ZF(r)?_x(r.replaceAll("\\","\\\\")):t}function Jy(){return{exit:{resourceDestinationString:pp,definitionDestinationString:pp}}}const Gy={singleTilde:!1};function Yy(e){return Wy(Np(e,{extensions:[Pp(Gy),Ky()],mdastExtensions:[Dp(),Jy()]}),e)}function VF(e){return Wy(Np(e,{extensions:[Pp(Gy),Ky(),dx(),HF()],mdastExtensions:[Dp(),yx(),Jy()]}),e)}const BF={className:"shiki css-variables",style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:0},WF=32;function mp(e,t){return p.jsxs(k.Fragment,{children:[t>0&&`
|
|
165
|
-
`,p.jsx("span",{className:"line",children:e.map((r,i)=>p.jsx("span",{style:r.style,children:r.text},i))})]},t)}function Xy({code:e,lang:t,streaming:r,className:i,contentRef:n,lineNumbers:s=!1,showHeader:l=!0,copyLabel:u,copiedLabel:f,toolbarLabels:h,wrap:g}){const y=e.endsWith(`
|
|
166
|
-
`)?e.slice(0,-1):e,_=s?y.split(`
|
|
167
|
-
`):void 0,w=k.useRef(null),x=Vy(w,t),I=k.useSyncExternalStore(C4,So,So),S=k.useRef(null),E=k.useRef(null),z=k.useRef(!1),O=k.useMemo(()=>{if(!x){S.current=null,E.current=null,z.current=!1;return}if(r!==!0){const $=E.current;if($!==null&&$.code===y&&$.lang===t)return z.current=!0,$.body;S.current=null,E.current=null,z.current=!0;return}z.current&&(S.current=null,E.current=null,z.current=!1),S.current??=new xA;const ie=S.current.updateFrame(y,t);if(ie===void 0){E.current=null;return}const se=E.current;if(se?.frame===ie&&se.code===y&&se.lang===t)return se.body;const xe=se?.generation===ie.generation,ce=xe?[...se.groups]:[];let he=xe?[...se.pending]:[],ze=xe?se.nextLine:0;for(const $ of ie.appended){if(he.push(mp($,ze)),ze+=1,he.length!==WF)continue;const Z=ze-he.length;ce.push(p.jsx(k.Fragment,{children:he},Z)),he=[]}const Q=ie.tail.map(($,Z)=>mp($,ze+Z)),U=p.jsx(k.Fragment,{children:[...he,...Q]},ze-he.length),X=p.jsx("pre",{...BF,children:p.jsxs("code",{children:[ce,U]})});return E.current={code:y,lang:t,generation:ie.generation,frame:ie,groups:ce,pending:he,nextLine:ze,body:X},X},[r,x,y,t,I]),P=k.useMemo(()=>x&&r!==!0&&O===void 0?_A(y,t):void 0,[r,x,O,y,t,I]),[N,A]=k.useState(!1),[K,re]=k.useState(!0),V=g??K,H=k.useCallback(()=>{N||Ho(w.current?.querySelector("pre")?.textContent??y).then(ie=>{ie&&(A(!0),window.setTimeout(()=>{A(!1)},1e3))})},[N,y]),te=O!==void 0?O:P===void 0?p.jsx("pre",{className:An.plain,children:p.jsx("code",{children:_===void 0?y:_.map((ie,se)=>p.jsxs(k.Fragment,{children:[se>0&&`
|
|
168
|
-
`,p.jsx("span",{className:"line",children:ie})]},se))})}):p.jsx("div",{dangerouslySetInnerHTML:{__html:P}});return p.jsxs("div",{ref:w,className:fe(An.block,"md-code-block",s&&An.numbered,h!==void 0&&An.card,i),"data-line-numbers":s||void 0,"data-code-wrap":h===void 0?void 0:V,style:_===void 0?void 0:{"--dsl-code-block-line-number-width":`${Math.max(2,String(_.length).length)}ch`},children:[l&&p.jsx("div",{className:An.bannerWrap,children:h!==void 0?p.jsx(I4,{lang:t,labels:h,copyLabel:u,copiedLabel:f,copied:N,wrapped:V,onCopy:H,onWrap:g===void 0?()=>{re(ie=>!ie)}:void 0}):p.jsxs("div",{className:An.banner,"data-code-block-banner":!0,children:[p.jsx("div",{className:An.infostring,"data-text-interaction-exclude":"",children:t??""}),p.jsx("div",{className:An.action,children:p.jsx("button",{type:"button",className:An.copyButton,onClick:H,children:N?f:u})})]})}),p.jsx("div",{ref:n,className:An.content,"data-code-block-content":!0,children:te})]})}function z4(e){const t=e.indexOf("#"),r=t<0?e:e.slice(0,t);if(r.includes("?"))return;let i;try{i=decodeURIComponent(r)}catch{return}if(i.length===0||/[\u0000-\u001f\u007f]/.test(i)||/^[\\/]{2}/.test(i)||/^[a-z][a-z\d+.-]*:/i.test(i)&&!/^[a-z]:[\\/]/i.test(i))return;if(t<0)return{path:i};const n=e.slice(t+1),s=/^L([1-9]\d*)(?:-L([1-9]\d*))?$/.exec(n);if(s===null)return;const l=Number(s[1]),u=s[2]===void 0?l:Number(s[2]);if(!(!Number.isSafeInteger(l)||!Number.isSafeInteger(u)||u<l))return{path:i,line:l}}function KF(e){const t={};for(const r of e.split(";")){const i=r.indexOf(":");if(i===-1)continue;const n=r.slice(0,i).trim().replace(/-([a-z])/g,(s,l)=>l.toUpperCase());t[n]=r.slice(i+1).trim()}return t}function Qy(e,t){if(e.nodeType===Node.TEXT_NODE)return e.textContent;if(e.nodeType!==Node.ELEMENT_NODE)return null;const r=e,i={key:t};for(const s of r.attributes)s.name==="class"?i.className=s.value:s.name==="style"?i.style=KF(s.value):i[s.name]=s.value;const n=[...r.childNodes].map(Qy);return n.length===0?k.createElement(r.localName,i):k.createElement(r.localName,i,...n)}function C2(e,t){let r;try{r=Lh.renderToString(e,{displayMode:t,throwOnError:!0})}catch(i){try{r=Lh.renderToString(e,{displayMode:t,strict:"ignore",throwOnError:!1})}catch{return p.jsx("span",{className:"katex-error",style:{color:"#cc0000"},title:String(i),children:e})}}return[...new DOMParser().parseFromString(r,"text/html").body.childNodes].map(Qy)}const e_=k.createContext({});function qF({children:e,openExternalLink:t,openFile:r,fileImages:i}){const n=k.useMemo(()=>({openExternalLink:t,openFile:r,fileImages:i}),[t,r,i]);return p.jsx(e_.Provider,{value:n,children:e})}function j4(){return k.useContext(e_)}function t_({src:e,alt:t,labels:r,onClose:i}){const n=k.useRef(null),s=k.useRef(null);return k.useEffect(()=>{s.current=document.activeElement instanceof HTMLElement?document.activeElement:null,n.current?.focus();const l=u=>{u.key==="Escape"&&(u.stopPropagation(),i()),u.key==="Tab"&&(u.preventDefault(),n.current?.focus())};return window.addEventListener("keydown",l,!0),()=>{window.removeEventListener("keydown",l,!0),s.current?.focus()}},[i]),On.createPortal(p.jsx("div",{className:Ds.backdrop,role:"dialog","aria-modal":"true","aria-label":r.dialog,children:p.jsxs("div",{className:Ds.stage,children:[p.jsx("div",{className:Ds.mask,"aria-hidden":"true",onMouseDown:i}),p.jsx("img",{className:Ds.image,src:e,alt:t}),p.jsx("button",{ref:n,type:"button",className:Ds.close,"aria-label":r.close,onClick:i,children:p.jsx(rl,{size:16})})]})}),document.body)}function JF({src:e,alt:t,loadingLabel:r,failedLabel:i}){return p.jsx(GF,{src:e,alt:t,loadingLabel:r,failedLabel:i},e)}function GF({src:e,alt:t,loadingLabel:r,failedLabel:i}){const[n,s]=k.useState("loading");return p.jsxs("span",{className:D0.frame,children:[n!=="failed"&&p.jsx("img",{src:e,alt:t,loading:"lazy",decoding:"async",referrerPolicy:"no-referrer",className:D0.image,"data-ready":n==="ready"||void 0,onLoad:()=>{s("ready")},onError:()=>{s("failed")}}),n!=="ready"&&p.jsxs("span",{className:D0.status,role:"status",children:[n==="loading"&&p.jsx(oy,{size:16}),p.jsx("span",{children:n==="loading"?r:i})]})]})}function n_(e){try{switch(new URL(e).protocol){case"http:":case"https:":case"mailto:":return e;default:return""}}catch{return""}}function YF(e){try{const t=new URL(e).protocol;return t==="http:"||t==="https:"?e:void 0}catch{return}}const XF=["dsh-app://app/api/file?","dsh-app://app/api/plugin-market/detail-file?","dsh-app://app/api/plugin-manager/detail-file?"];function QF(e){try{const t=new URL(e).protocol;return t==="http:"||t==="https:"||t==="blob:"||t==="data:"||XF.some(r=>e.startsWith(r))?e:void 0}catch{return}}function eU(e,t,r){const i=YF(n_(j2(e)));if(i!==void 0)return i;const n=t?.resolve(e),s=n===void 0?void 0:QF(n);return s===void 0?void 0:E4(s,r)}let tU=0;const r_=()=>++tU;function E4(e,t){let r;try{r=new URL(e)}catch{return e}return r.pathname.endsWith("/api/file")?(r.search=`${r.search===""?"?":`${r.search}&`}load=${t}`,r.href):e}function $2(){return{definitions:new Map,footnotes:new Map}}function K1(e,t){for(const r of e){if(r.type==="definition"){const i=r.identifier.toUpperCase();t.definitions.has(i)||t.definitions.set(i,r)}else if(r.type==="footnoteDefinition"){const i=r.identifier.toUpperCase();t.footnotes.has(i)||t.footnotes.set(i,r)}"children"in r&&K1(r.children,t)}}function S2(e,t){return e.map(r=>M4(r.node,r.key,t)).filter(r=>r!==null)}function O4(e,t){const r=[];for(const i of e)(t||r.length>0)&&r.push(`
|
|
169
|
-
`),r.push(i);return t&&e.length>0&&r.push(`
|
|
170
|
-
`),r}function i_(e,t){const r=[];for(const[i,n]of e.entries())if(n.type==="paragraph")r.push({paragraph:In(n.children,t)});else{const s=M4(n,i,t);s!==null&&r.push({element:s})}return r}function In(e,t){return e.map((r,i)=>M4(r,i,t))}function M4(e,t,r){switch(e.type){case"text":return e.value;case"paragraph":return p.jsx("p",{children:In(e.children,r)},t);case"heading":return k.createElement(`h${e.depth}`,{key:t},...In(e.children,r));case"blockquote":return p.jsx("blockquote",{children:O4(In(e.children,{...r,inBlockquote:!0}).filter(i=>i!==null),!0)},t);case"thematicBreak":return p.jsx("hr",{},t);case"break":return p.jsxs(k.Fragment,{children:[p.jsx("br",{}),`
|
|
171
|
-
`]},t);case"strong":return p.jsx("strong",{children:In(e.children,r)},t);case"emphasis":return p.jsx("em",{children:In(e.children,r)},t);case"delete":return p.jsx("del",{children:In(e.children,r)},t);case"inlineCode":{const i=e.value.replace(/\r?\n|\r/g," "),n=lU(i);if(n!==void 0)return p.jsx("code",{children:l_(n,[i],"link")},t);const s=r.inLink===!0?void 0:r.fileMentions?.resolve(i);return s!==void 0?p.jsx("code",{children:p.jsxs("button",{type:"button",className:It.fileMention,title:s.title,"aria-label":s.label,onClick:s.open,children:[p.jsx(il,{kind:V1(i),className:It.linkIcon}),i]})},t):p.jsx("code",{children:i},t)}case"html":return r.omitHtml?null:e.value;case"code":return nU(e,t,r);case"math":return p.jsx(k.Fragment,{children:C2(e.value,!0)},t);case"inlineMath":return p.jsx(k.Fragment,{children:C2(e.value,!1)},t);case"list":return iU(e,t,r);case"listItem":return s_(e,o_(e),t,r);case"table":return oU(e,t,r);case"link":return c_(e.url,In(e.children,{...r,inLink:!0}),t,!a_(e.children),r.streaming);case"linkReference":return dU(e,t,r);case"image":return u_(e.url,e.alt??"",t,r);case"imageReference":return fU(e,t,r);case"footnoteReference":return hU(e,t,r);case"definition":case"footnoteDefinition":return null;default:return null}}function nU(e,t,r){const i=e.lang??void 0;if(e.value==="")return p.jsx("pre",{children:p.jsx("code",{className:i===void 0?void 0:`language-${i}`})},t);const n=i===void 0?void 0:/^[\w-]+/.exec(i)?.[0];return!r.streaming&&n==="math"?p.jsx(k.Fragment,{children:C2(`${e.value}
|
|
172
|
-
`,!0)},t):p.jsx(Xy,{code:`${e.value}
|
|
173
|
-
`,lang:n,streaming:r.streaming,copyLabel:r.labels.code.copyLabel,copiedLabel:r.labels.code.copiedLabel,toolbarLabels:r.labels.code.toolbarLabels},t)}function rU(e){return(e.spread??!1)||e.children.some(o_)}function o_(e){return e.spread??e.children.length>1}function iU(e,t,r){const i=rU(e),n={};return typeof e.start=="number"&&e.start!==1&&(n.start=e.start),e.children.some(s=>typeof s.checked=="boolean")&&(n.className="contains-task-list"),k.createElement(e.ordered===!0?"ol":"ul",{key:t,...n},...e.children.map((s,l)=>s_(s,i,l,r)))}function s_(e,t,r,i){const n=i_(e.children,i),s=typeof e.checked=="boolean";if(s){const f=p.jsx("input",{type:"checkbox",checked:e.checked===!0,disabled:!0},"task-checkbox"),h=n[0];h!==void 0&&"paragraph"in h?h.paragraph=h.paragraph.length>0?[f," ",...h.paragraph]:[f]:n.unshift({paragraph:[f]})}const l=[];for(const[f,h]of n.entries()){const g="paragraph"in h;(t||f!==0||!g)&&l.push(`
|
|
174
|
-
`),g?t?l.push(p.jsx("p",{children:h.paragraph},`p-${f}`)):l.push(p.jsx(k.Fragment,{children:h.paragraph},`p-${f}`)):l.push(h.element)}const u=n[n.length-1];return u!==void 0&&(t||!("paragraph"in u))&&l.push(`
|
|
175
|
-
`),p.jsx("li",{className:s?"task-list-item":void 0,children:l},r)}function oU(e,t,r){const i=e.align??null,[n,...s]=e.children,l=(i===null?n?.children.length??0:i.length)>=4&&r.inBlockquote!==!0;return p.jsx("div",{className:fe(It.tableScroll,l?"md-table-wide":It.tableFill),tabIndex:l?0:void 0,children:p.jsxs("table",{children:[n!==void 0&&p.jsx("thead",{children:gp(n,"th",i,0,r)}),s.length>0&&p.jsx("tbody",{children:s.map((u,f)=>gp(u,"td",i,f+1,r))})]})},t)}function gp(e,t,r,i,n){const s=r===null?e.children.length:r.length,l=[];for(let u=0;u<s;u++){const f=e.children[u],h=r?.[u];l.push(k.createElement(t,{key:u,style:h==null?void 0:{textAlign:h}},...f===void 0?[]:In(f.children,n)))}return p.jsx("tr",{children:l},i)}function a_(e){return e.length>0&&e.every(t=>t.type==="image"||t.type==="imageReference")}function l_(e,t,r,i=!0){const n=n_(e);return n===""?p.jsx(k.Fragment,{children:t},r):p.jsx(sU,{href:n,glyph:i,children:t},r)}function sU({href:e,glyph:t,children:r}){const{openExternalLink:i}=j4(),n=["http:","https:"].includes(new URL(e).protocol),s=n?i:void 0;return p.jsxs("a",{href:e,...n?{target:"_blank",rel:"noopener noreferrer"}:{},onClick:s===void 0?void 0:l=>{l.button!==0||l.metaKey||l.ctrlKey||l.shiftKey||l.altKey||(l.preventDefault(),s(e))},children:[t&&p.jsx(il,{kind:"url",href:e,className:It.linkIcon}),r]})}function c_(e,t,r,i=!0,n=!1){const s=n?void 0:z4(e);return s!==void 0?p.jsx(aU,{file:s,glyph:i,children:t},r):l_(j2(e),t,r,i)}function aU({file:e,glyph:t,children:r}){const{openFile:i,fileImages:n}=j4(),[s]=k.useState(r_);if(i===void 0)return p.jsx(p.Fragment,{children:r});const l=t&&V1(e.path)==="image"?n:void 0,u=l?.resolve(e.path),f=u===void 0?void 0:E4(u,s),h=p.jsxs("button",{type:"button",className:fe(It.fileMention,It.fileLink),title:f===void 0?e.path:void 0,onClick:()=>{i(e.path,e.line===void 0?void 0:{line:e.line})},children:[t&&p.jsx(il,{kind:V1(e.path),className:It.linkIcon}),r]});return f===void 0||l===void 0?h:p.jsx(w4,{inline:!0,anchor:h,content:p.jsxs(p.Fragment,{children:[p.jsx(JF,{src:f,alt:e.path,loadingLabel:l.labels.loading,failedLabel:l.labels.failed}),p.jsx("span",{className:It.previewName,children:e.path.split(/[\\/]/u).pop()})]})})}function lU(e){if(e.trim()===e)try{const t=new URL(e).protocol;return t==="http:"||t==="https:"?e:void 0}catch{return}}function u_(e,t,r,i){return p.jsx(cU,{destination:e,alt:t,pathImages:i.pathImages,streaming:i.streaming,inLink:i.inLink===!0},`${r}:${e}`)}function cU({destination:e,alt:t,pathImages:r,streaming:i,inLink:n}){const{fileImages:s}=j4(),[l]=k.useState(r_),u=i?void 0:z4(e),f=u===void 0?void 0:s?.resolve(u.path),h=f===void 0?eU(e,r,l):E4(f,l);return h===void 0?p.jsx("span",{className:It.imageAlt,children:t}):p.jsx(uU,{src:h,alt:t,destination:e,preview:n?void 0:s},h)}function uU({src:e,alt:t,destination:r,preview:i}){const[n,s]=k.useState(!1),[l,u]=k.useState(!1),f=k.useCallback(()=>{u(!1)},[]);if(n)return p.jsxs("span",{className:It.imageAlt,children:[i===void 0?"":`${i.labels.failed} · `,t||r]});const h={className:It.image,src:e,alt:t,onError:()=>{s(!0)},loading:"lazy",decoding:"async",referrerPolicy:"no-referrer"};if(i===void 0)return p.jsx("img",{...h});const g=z4(r),y=g?.path.split(/[\\/]/u).at(-1),_=r.split("/").at(-1)?.split(/[?#]/u)[0],w=y||_||"image",x=p.jsx(My,{fileDrag:i.fileDrag,...h,resourceAddress:g===void 0?void 0:i.resourceAddress?.(g.path),name:w});return p.jsxs(p.Fragment,{children:[p.jsx("button",{type:"button",className:It.imageButton,title:i.labels.open,"aria-label":t?`${i.labels.open}: ${t}`:i.labels.open,onClick:()=>{u(!0)},children:x}),l&&p.jsx(t_,{src:e,alt:t,labels:i.labels,onClose:f})]})}function d_(e){return e.referenceType==="collapsed"?"][]":e.referenceType==="full"?`][${e.label??e.identifier}]`:"]"}function dU(e,t,r){const i=r.targets.definitions.get(e.identifier.toUpperCase());if(i===void 0)return p.jsxs(k.Fragment,{children:["[",In(e.children,r),d_(e)]},t);const n=In(e.children,{...r,inLink:!0});return c_(i.url,n,t,!a_(e.children),r.streaming)}function fU(e,t,r){const i=r.targets.definitions.get(e.identifier.toUpperCase());return i===void 0?`![${e.alt??""}${d_(e)}`:u_(i.url,e.alt??"",t,r)}function hU(e,t,r){const i=e.identifier.toUpperCase(),n=r.footnoteCounts.get(i);return n===void 0&&r.footnoteOrder.push(i),r.footnoteCounts.set(i,(n??0)+1),p.jsx("sup",{children:String(r.footnoteOrder.indexOf(i)+1)},t)}function f_(e){const t=[];for(const r of e.footnoteOrder){const i=e.targets.footnotes.get(r);if(i===void 0)continue;const n=e.footnoteCounts.get(r)??0,s=[];for(let h=1;h<=n;h++)s.length>0&&s.push(" "),s.push("↩"),h>1&&s.push(p.jsx("sup",{children:String(h)},`re-${h}`));const l=i_(i.children,e),u=l[l.length-1],f=l.map((h,g)=>"paragraph"in h?p.jsxs("p",{children:[h.paragraph,h===u&&p.jsxs(p.Fragment,{children:[" ",s]})]},`p-${g}`):h.element);(u===void 0||!("paragraph"in u))&&f.push(...s),t.push(p.jsx("li",{id:`user-content-fn-${j2(r.toLowerCase())}`,children:O4(f,!0)},r))}return t.length===0?null:p.jsxs("section",{"data-footnotes":!0,className:"footnotes",children:[p.jsx("h2",{id:"footnote-label",className:"sr-only",children:e.labels.footnotes}),p.jsx("ol",{children:t})]},"footnotes")}function pU(e,t,r,i,n){const s=VF(e),l=$2();K1(s.children,l);const u={streaming:!1,labels:t,fileMentions:r,pathImages:i,omitHtml:n,targets:l,footnoteOrder:[],footnoteCounts:new Map},f=O4(S2(s.children.map((g,y)=>({node:g,key:g.position?.start.offset??-(y+1)})),u),!1),h=f_(u);return h===null?f:[...f,`
|
|
176
|
-
`,h]}var mU=class{labels;omitHtml;parser=new IF(Yy);generation=-1;frozenCount=0;frozenElements=[];frozenTargets=$2();frozenFootnoteOrder=[];frozenFootnoteCounts=new Map;lastText=null;lastRendered=[];constructor(e,t){this.labels=e,this.omitHtml=t}render(e){if(e===this.lastText)return this.lastRendered;const{frozen:t,tail:r,generation:i}=this.parser.update(e);i!==this.generation&&(this.generation=i,this.frozenCount=0,this.frozenElements=[],this.frozenTargets=$2(),this.frozenFootnoteOrder=[],this.frozenFootnoteCounts=new Map);const n=t.slice(this.frozenCount);K1(n.map(h=>h.node),this.frozenTargets);const s={definitions:new Map(this.frozenTargets.definitions),footnotes:new Map(this.frozenTargets.footnotes)};if(K1(r.map(h=>h.node),s),n.length>0){const h={streaming:!0,labels:this.labels,fileMentions:void 0,pathImages:void 0,omitHtml:this.omitHtml,targets:s,footnoteOrder:this.frozenFootnoteOrder,footnoteCounts:this.frozenFootnoteCounts},g=[...this.frozenElements];for(const y of S2(n,h))g.length>0&&g.push(`
|
|
177
|
-
`),g.push(y);this.frozenElements=g,this.frozenCount=t.length}const l={streaming:!0,labels:this.labels,fileMentions:void 0,pathImages:void 0,omitHtml:this.omitHtml,targets:s,footnoteOrder:[...this.frozenFootnoteOrder],footnoteCounts:new Map(this.frozenFootnoteCounts)},u=[...this.frozenElements];for(const h of S2(r,l))u.length>0&&u.push(`
|
|
178
|
-
`),u.push(h);const f=f_(l);return f!==null&&u.push(`
|
|
179
|
-
`,f),this.lastText=e,this.lastRendered=u,this.lastRendered}};const T4=k.memo(function({text:t,streaming:r=!1,labels:i,fileMentions:n,pathImages:s,variant:l="body",omitHtml:u=!1,textInteractionSource:f=!1}){const h=k.useRef(null),g=k.useRef(i),y=k.useMemo(()=>r?((h.current===null||g.current!==i||h.current.omitHtml!==u)&&(h.current=new mU(i,u),g.current=i),h.current.render(t)):(h.current=null,pU(t,i,n,s,u)),[t,r,i,n,s,u]);return p.jsx("div",{className:fe(It.markdown,l==="compact"&&It.compact),"data-text-interaction-source":f?"":void 0,"data-markdown-variant":l==="compact"?l:void 0,children:y})});function gU(e){try{const{protocol:t}=new URL(e);return t==="http:"||t==="https:"?e:void 0}catch{return}}function vU(e,t){if(t!==void 0&&t!=="")return t;try{const{hostname:r}=new URL(e);return r===""?e:r}catch{return e}}function h_({url:e,label:t,className:r}){const i=gU(e);return i===void 0?p.jsx("span",{className:r,children:t}):p.jsxs("a",{className:r,href:i,target:"_blank",rel:"noopener noreferrer",children:[p.jsx(il,{kind:"url",href:i,className:St.linkIcon}),t]})}function yU({source:e,ordinal:t}){return p.jsxs("li",{className:St.source,value:t,children:[p.jsx(h_,{url:e.url,label:vU(e.url,e.title),className:St.sourceLink}),e.snippet!==void 0&&e.snippet!==""&&p.jsx("div",{className:St.snippet,children:e.snippet}),e.publishedAt!==void 0&&e.publishedAt!==""&&p.jsx("div",{className:St.published,children:e.publishedAt})]})}function _U({answer:e,sources:t,truncated:r,labels:i,className:n}){const s=(e===void 0||e==="")&&t.length===0;return p.jsxs("div",{className:fe(St.block,n),"data-web":"search",children:[e!==void 0&&e!==""&&p.jsx("div",{className:St.answer,children:p.jsx(T4,{text:e,labels:i.markdown})}),s?p.jsx("div",{className:St.empty,children:i.noResults}):p.jsx("ol",{className:St.sources,children:t.map((l,u)=>p.jsx(yU,{source:l,ordinal:u+1},u))}),r&&p.jsx("div",{className:St.truncated,children:i.sourcesTruncated})]})}function wU({url:e,statusCode:t,truncated:r,labels:i,className:n}){return p.jsxs("div",{className:fe(St.block,St.fetch,n),"data-web":"fetch",children:[p.jsx(h_,{url:e,label:e,className:St.fetchUrl}),p.jsxs("div",{className:St.fetchMeta,children:[p.jsxs("span",{className:St.status,children:[i.http," ",t]}),r&&p.jsx("span",{className:St.truncated,children:i.contentTruncated})]})]})}function bU(e){return e.kind==="search"?p.jsx(_U,{...e}):p.jsx(wU,{...e})}const vp=2e4;function xU({label:e,payload:t,defaultOpen:r=!1,truncatedLabel:i}){const[n,s]=k.useState(r),l=k.useMemo(()=>{if(!n)return"";let u;try{u=JSON.stringify(t,null,2)??String(t)}catch{u=String(t)}return u.length>vp?`${u.slice(0,vp)}
|
|
180
|
-
${i(u.length)}`:u},[n,t,i]);return p.jsxs("div",{className:R0.root,children:[p.jsxs("button",{type:"button",className:R0.toggle,onClick:()=>{s(u=>!u)},children:[n?"▾":"▸"," ",e]}),n&&p.jsx("pre",{className:R0.body,children:l})]})}function kU(e){return e?.status==="ready"?e.markdown===void 0?{status:"none"}:{status:"found",markdown:e.markdown}:e?.status==="error"?e:{status:"loading"}}function CU(e){const{title:t,loading:r,retry:i,footnotes:n}=e,{copy:s,copied:l,codeBlock:u,wrap:f,unwrap:h}=e,g=k.useMemo(()=>({code:{copyLabel:s,copiedLabel:l,toolbarLabels:{codeLabel:u,wrapLabel:f,unwrapLabel:h}},footnotes:n}),[s,l,u,f,h,n]);return k.useMemo(()=>({title:t,loading:r,retry:i,markdown:g}),[t,r,i,g])}function $U({state:e,labels:t,images:r,onRetry:i}){if(e.status==="none")return null;let n;switch(e.status){case"found":n=p.jsx("div",{className:$n.document,role:"region","aria-label":t.title,tabIndex:0,children:p.jsx(T4,{text:e.markdown,labels:t.markdown,pathImages:r,omitHtml:!0})});break;case"error":n=p.jsxs("div",{className:$n.failure,children:[p.jsxs("p",{className:$n.error,role:"alert",children:[p.jsx(yu,{state:"error"}),e.message]}),p.jsx(di,{variant:"outline",size:"sm",onClick:i,children:t.retry})]});break;case"loading":n=p.jsxs("div",{className:$n.skeleton,role:"status","aria-label":t.loading,"aria-busy":"true",children:[p.jsx("span",{className:`${$n.bar} ${$n.long}`}),p.jsx("span",{className:`${$n.bar} ${$n.long}`}),p.jsx("span",{className:`${$n.bar} ${$n.short}`})]});break}return p.jsx("section",{className:$n.section,"data-detail-document":!0,children:n})}function Bs(e){switch(e.type){case"text":case"inlineCode":case"code":return e.value??"";case"image":case"imageReference":return e.alt??"";case"break":return`
|
|
181
|
-
`;case"html":return e.value??"";default:return e.children?.map(Bs).join("")??""}}function z1(e){return e.replace(/\s+/g," ").trim()}function oo(e){switch(e.type){case"root":case"blockquote":return e.children?.map(oo).filter(Boolean).join(`
|
|
182
|
-
|
|
183
|
-
`)??"";case"paragraph":case"heading":return z1(Bs(e));case"code":return e.value?.trim()??"";case"list":return e.children?.map(oo).filter(Boolean).join(`
|
|
184
|
-
`)??"";case"listItem":return e.children?.map(oo).filter(Boolean).join(" ")??"";case"table":return e.children?.map(oo).filter(Boolean).join(`
|
|
185
|
-
`)??"";case"tableRow":return e.children?.map(oo).join(" ")??"";case"tableCell":return z1(Bs(e));case"html":return e.value??"";case"thematicBreak":case"definition":return"";default:return z1(Bs(e))}}function p_(e){if(e.type==="paragraph"){const t=z1(Bs(e));if(t!=="")return t}for(const t of e.children??[]){const r=p_(t);if(r!==void 0)return r}}function SU(e){return oo(e).split(`
|
|
186
|
-
`).map(t=>t.trim()).join(`
|
|
187
|
-
`).replace(/\n{3,}/g,`
|
|
188
|
-
|
|
189
|
-
`).trim()}function IU(e,t={}){const{mode:r="all"}=t,i=Yy(e),n=SU(i);switch(r){case"all":return n;case"first-line":return n.split(`
|
|
190
|
-
`).find(s=>s!=="")??"";case"first-paragraph":return p_(i)??n.split(`
|
|
191
|
-
`).find(s=>s!=="")??""}}const xu=()=>`dsh_plugin_art_${k.useId().replaceAll(":","")}`,zU=({size:e=36,className:t})=>p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("path",{d:"M10 11L16.606 17.606C16.6841 17.6841 16.6841 17.8107 16.606 17.8888L10 24.4948",stroke:"#679EFE",strokeWidth:"3.5"}),p.jsx("path",{d:"M20.1211 24.4946H26.8685",stroke:"#679EFE",strokeWidth:"3.5"})]}),jU=({size:e=36,className:t})=>{const r=xu();return p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("path",{d:"M18.0486 28.4901C12.0858 28.4901 7.25195 23.6562 7.25195 17.6934C13.2148 17.6934 18.0486 22.5272 18.0486 28.4901Z",fill:"#A797FC"}),p.jsx("path",{d:"M18.0486 6.89667C12.0858 6.89667 7.25195 11.7305 7.25195 17.6934C13.2148 17.6934 18.0486 12.8595 18.0486 6.89667Z",fill:`url(#${r}a)`}),p.jsx("path",{d:"M18.0485 28.4901C24.0114 28.4901 28.8452 23.6562 28.8452 17.6934C22.8824 17.6934 18.0485 22.5272 18.0485 28.4901Z",fill:"#4561EE"}),p.jsx("path",{d:"M18.0485 6.89667C24.0114 6.89667 28.8452 11.7305 28.8452 17.6934C22.8824 17.6934 18.0485 12.8595 18.0485 6.89667Z",fill:"#658EFF"}),p.jsx("defs",{children:p.jsxs("linearGradient",{id:`${r}a`,x1:"16.7911",y1:"16.1655",x2:"8.98192",y2:"8.74289",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#A23AE7"}),p.jsx("stop",{offset:"1",stopColor:"#E2E2E2"})]})})]})},EU=({size:e=36,className:t})=>{const r=xu();return p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("rect",{x:"14.9893",y:"15.1877",width:"12.2365",height:"12.2365",rx:"2",fill:`url(#${r}a)`,fillOpacity:"0.8"}),p.jsx("rect",{x:"8.87109",y:"9.0697",width:"12.2365",height:"12.2365",rx:"2",fill:`url(#${r}b)`,fillOpacity:"0.8"}),p.jsxs("defs",{children:[p.jsxs("linearGradient",{id:`${r}a`,x1:"21.1075",y1:"15.1877",x2:"21.1075",y2:"27.4243",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#45E7A4"}),p.jsx("stop",{offset:"1",stopColor:"#05909D"})]}),p.jsxs("linearGradient",{id:`${r}b`,x1:"14.9894",y1:"9.0697",x2:"14.9894",y2:"21.3063",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#69B9FF"}),p.jsx("stop",{offset:"1",stopColor:"#324DE2"})]})]})]})},OU=({size:e=36,className:t})=>{const r=xu();return p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("path",{d:"M26.5362 26.9865L22.3813 22.8317",stroke:"#658EFF",strokeWidth:"3"}),p.jsx("g",{clipPath:`url(#${r}ring)`,children:p.jsx("g",{transform:"matrix(0.0119394 -0.00173904 0.00173904 0.0119394 15.7661 16.2159)",children:p.jsx("foreignObject",{x:"-958.94",y:"-958.94",width:"1917.88",height:"1917.88",children:p.jsx("div",{style:{background:"conic-gradient(from 90deg, rgb(65, 225, 172) 0deg, rgb(101, 142, 255) 62.0619deg, rgb(65, 225, 172) 360deg)",height:"100%",width:"100%"}})})})}),p.jsx("defs",{children:p.jsx("clipPath",{id:`${r}ring`,children:p.jsx("path",{d:"M21.9717 16.2159H19.9717C19.9717 18.5386 18.0888 20.4215 15.7661 20.4215V22.4215V24.4215C20.2979 24.4215 23.9717 20.7478 23.9717 16.2159H21.9717ZM15.7661 22.4215V20.4215C13.4434 20.4215 11.5605 18.5386 11.5605 16.2159H9.56055H7.56055C7.56055 20.7478 11.2343 24.4215 15.7661 24.4215V22.4215ZM9.56055 16.2159H11.5605C11.5605 13.8933 13.4434 12.0104 15.7661 12.0104V10.0104V8.01038C11.2343 8.01038 7.56055 11.6841 7.56055 16.2159H9.56055ZM15.7661 10.0104V12.0104C18.0888 12.0104 19.9717 13.8933 19.9717 16.2159H21.9717H23.9717C23.9717 11.6841 20.2979 8.01038 15.7661 8.01038V10.0104Z"})})})]})},MU=({size:e=36,className:t})=>{const r=xu();return p.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("path",{d:"M24.6294 8.63696C26.2862 8.63705 27.6294 9.98016 27.6294 11.637V12.7825C27.6292 14.4391 26.2861 15.7824 24.6294 15.7825H23.4839C22.6519 15.7825 21.5454 16.3459 21.5454 17.1778V18.1573C21.5454 18.7757 22.216 19.1966 22.8345 19.1965H24.6294C26.2861 19.1965 27.6292 20.5398 27.6294 22.1965V23.9924C27.6292 25.6491 26.2861 26.9924 24.6294 26.9924H22.8345C21.1778 26.9924 19.8347 25.649 19.8345 23.9924V22.1965C19.8345 21.7148 19.4957 21.2327 19.014 21.2327H16.4792C15.7975 21.2327 15.3374 22.0061 15.3374 22.6877V23.8333C15.3373 25.49 13.9942 26.8333 12.3374 26.8333H11.1919C9.53509 26.8333 8.19198 25.49 8.19189 23.8333V22.6877C8.19189 21.0309 9.53504 19.6877 11.1919 19.6877H12.3374C13.1964 19.6877 14.3999 19.0959 14.3999 18.2369V16.0185C14.3999 14.9518 15.2646 14.0872 16.3312 14.0872H19.435C20.0596 14.0872 20.484 13.4071 20.4839 12.7825V11.637C20.4839 9.98011 21.827 8.63696 23.4839 8.63696H24.6294ZM13.4116 11.2468C13.4116 12.6882 12.2431 13.8567 10.8018 13.8567C9.36037 13.8567 8.19189 12.6882 8.19189 11.2468C8.19189 9.80544 9.36037 8.63696 10.8018 8.63696C12.2431 8.63696 13.4116 9.80544 13.4116 11.2468Z",fill:`url(#${r}a)`}),p.jsx("defs",{children:p.jsxs("linearGradient",{id:`${r}a`,x1:"15.1481",y1:"9.94188",x2:"15.1481",y2:"13.6375",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#54ECE7"}),p.jsx("stop",{offset:"1",stopColor:"#658EFF"})]})})]})};function TU({size:e=36,className:t}){return p.jsxs("svg",{width:e,height:e,className:t,"aria-hidden":"true",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("path",{d:"M17.9995 28.1465C23.6034 28.1465 28.1461 23.6038 28.1461 18C28.1461 12.3963 23.6034 7.85352 17.9995 7.85352C12.3958 7.85352 7.85303 12.3963 7.85303 18C7.85303 23.6038 12.3958 28.1465 17.9995 28.1465Z",stroke:"#539CFA",strokeWidth:"2"}),p.jsx("path",{d:"M8.57764 18H27.4211",stroke:"#539CFA",strokeWidth:"2",strokeLinecap:"square"}),p.jsx("path",{d:"M17.999 28.1467C20.0576 28.1467 21.6228 23.6039 21.6228 18C21.6228 12.3963 20.0576 7.85352 17.999 7.85352",stroke:"#539CFA",strokeWidth:"2"}),p.jsx("path",{d:"M17.9992 28.1467C15.9407 28.1467 14.3755 23.6039 14.3755 18C14.3755 12.3963 15.9407 7.85352 17.9992 7.85352",stroke:"#539CFA",strokeWidth:"2"})]})}function LU({size:e=36,className:t}){return p.jsxs("svg",{width:e,height:e,className:t,"aria-hidden":"true",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("path",{d:"M10.7603 27.922H24.6817C26.3441 27.922 27.1753 27.922 27.8102 27.5984C28.3687 27.3139 28.8228 26.8598 29.1074 26.3012C29.4309 25.6663 29.4309 24.8351 29.4309 23.1727V15.4936",stroke:"#FFCD78",strokeWidth:"1.97886"}),p.jsx("path",{d:"M13.1597 8.07812C13.4182 8.07818 13.6727 8.14336 13.8989 8.26855L16.7554 9.84961C16.9817 9.97485 17.2369 10.041 17.4956 10.041H26.106C26.9492 10.0412 27.6323 10.7251 27.6323 11.5684V24.5371C27.6323 25.3805 26.9483 26.0645 26.105 26.0645H8.09619C7.25281 26.0645 6.56884 25.3805 6.56885 24.5371V9.60449C6.56909 8.76133 7.25297 8.07812 8.09619 8.07812H13.1597ZM9.81592 14.5508V16.5293H24.3999V14.5508H9.81592Z",fill:"#FFBC4D"})]})}function yp({className:e}){return p.jsx("svg",{width:16,height:16,className:e,viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,children:p.jsxs("g",{transform:"translate(6.8 2.4)",children:[p.jsx("path",{d:"M2.8125 0.583008L3.2002 1.16602C2.43912 1.6713 1.88491 2.41238 1.60547 3.25684H2.98926V6.70605H0V4.52148C1.96593e-05 2.70313 0.9109 1.00575 2.42578 0L2.8125 0.583008Z",fill:"currentColor"}),p.jsx("path",{d:"M7.50781 0.583008L7.89551 1.16602C7.13443 1.6713 6.58022 2.41238 6.30078 3.25684H7.68457V6.70605H4.69531V4.52148C4.69533 2.70313 5.60621 1.00575 7.12109 0L7.50781 0.583008Z",fill:"currentColor"})]})})}function NU({text:e,removal:t}){const r=k.useRef(null),[i,n]=k.useState(!1);k.useLayoutEffect(()=>{const u=r.current;if(u===null)return;const f=()=>{n(u.scrollWidth>u.clientWidth)};if(f(),typeof ResizeObserver>"u")return;const h=new ResizeObserver(f);return h.observe(u),()=>{h.disconnect()}},[e]);const s=u=>{u.preventDefault(),u.stopPropagation(),t?.onRemove()},l=p.jsxs("span",{className:Mr.quote,"data-quote-preview":"","data-removable":t===void 0?void 0:"",children:[t===void 0?p.jsx("span",{className:Mr.marker,"aria-hidden":!0,children:p.jsx(yp,{className:Mr.quoteMark})}):p.jsxs("button",{type:"button",className:Mr.remove,"aria-label":t.label,onPointerDown:u=>{u.preventDefault(),u.stopPropagation()},onKeyDown:u=>{u.stopPropagation()},onClick:s,children:[p.jsx(yp,{className:Mr.quoteMark}),p.jsx(rl,{size:12,className:Mr.closeMark})]}),p.jsx("span",{ref:r,className:Mr.source,"data-quote-preview-text":"",children:e})]});return p.jsx(w4,{inline:!0,grouped:!0,fitContent:!0,openDelayMs:0,disabled:!i,anchor:l,content:p.jsx("span",{className:Mr.popoverText,"data-quote-popover":"","aria-hidden":"true",children:e})})}function PU(e){return e.replace(/\r\n?/gu,`
|
|
192
|
-
`).split(`
|
|
193
|
-
`).map(t=>`> ${t}`).join(`
|
|
194
|
-
`)}const DU=Object.freeze(Object.defineProperty({__proto__:null,AnimatedRows:OD,BrandWordmark:uR,Button:di,CODE_HIGHLIGHT_EXTENSIONS:MO,Checkbox:GD,CodeBlock:Xy,CommandText:Uy,ConnectionIndicator:lR,DEFAULT_DIFF_MAX_LINES:dF,DEFAULT_READ_MAX_LINES:lF,DEFAULT_SEARCH_MAX_LINES:yF,DEFAULT_TERMINAL_MAX_LINES:tF,DOCUMENT_ZOOM:Hn,DetailDocument:$U,DiffBlock:vF,DisclosureRow:jD,DraggableImage:My,FISH_LOGO_PATH:wy,FISH_LOGO_VIEWBOX:Hs,FileTypeIcon:VR,FishLogo:cR,GuideArtworkBrowser:TU,GuideArtworkFiles:LU,HoverCard:w4,HoverCardGroup:iR,ICON_MEDIUM_STROKE:Ar,ICON_REGULAR_STROKE:dL,ICON_SYMBOLS:fL,IconAgentPresetOutlineMedium:sN,IconAgentPresetOutlineRegular:oN,IconAlarmClockOutlineMedium:ZP,IconAlarmClockOutlineRegular:HP,IconApiOutlineMedium:qN,IconApiOutlineRegular:KN,IconAppsAddOutlineMedium:ID,IconAppsAddOutlineRegular:SD,IconArchiveCheckOutlineMedium:bD,IconArchiveCheckOutlineRegular:wD,IconArchiveOffOutlineMedium:_D,IconArchiveOffOutlineRegular:yD,IconArchiveOutlineMedium:BP,IconArchiveOutlineRegular:VP,IconBranchOutlineMedium:zL,IconBranchOutlineRegular:IL,IconBrowseOutlineMedium:lN,IconBrowseOutlineRegular:aN,IconCheckCircleFillMedium:bN,IconCheckCircleFillRegular:wN,IconCheckCircleOutlineMedium:rD,IconCheckCircleOutlineRegular:uy,IconCheckOutlineMedium:SL,IconCheckOutlineRegular:Uo,IconChecklistOutlineMedium:SP,IconChecklistOutlineRegular:$P,IconChevronDownOutlineMedium:jL,IconChevronDownOutlineRegular:m4,IconChevronLeftOutlineMedium:OL,IconChevronLeftOutlineRegular:EL,IconChevronRightOutlineMedium:TL,IconChevronRightOutlineRegular:ML,IconChevronUpOutlineMedium:PL,IconChevronUpOutlineRegular:ty,IconChevronsUpDownOutlineMedium:mD,IconChevronsUpDownOutlineRegular:pD,IconClockOutlineMedium:yP,IconClockOutlineRegular:vP,IconCloseCircleFillMedium:FL,IconCloseCircleFillRegular:AL,IconCloseFillMedium:RL,IconCloseFillRegular:ny,IconCloseOutlineMedium:DL,IconCloseOutlineRegular:rl,IconCodeOutlineMedium:VN,IconCodeOutlineRegular:ZN,IconCompactOutlineMedium:eD,IconCompactOutlineRegular:QP,IconCompareSplitOutlineMedium:GP,IconCompareSplitOutlineRegular:JP,IconContextInjectionOutlineMedium:uN,IconContextInjectionOutlineRegular:cN,IconCopyOutlineMedium:UL,IconCopyOutlineRegular:g4,IconCordisPluginOutlineMedium:WN,IconCordisPluginOutlineRegular:BN,IconDarkOutlineMedium:uP,IconDarkOutlineRegular:cP,IconDataOutlineMedium:pP,IconDataOutlineRegular:hP,IconDatabaseOutlineMedium:gP,IconDatabaseOutlineRegular:mP,IconDeliverDocMedium:eN,IconDeliverDocRegular:QL,IconDislikeFillMedium:GL,IconDislikeFillRegular:JL,IconDislikeOutlineMedium:qL,IconDislikeOutlineRegular:KL,IconDownloadOutlineMedium:PN,IconDownloadOutlineRegular:NN,IconDragHandleOutlineMedium:vD,IconDragHandleOutlineRegular:gD,IconEditOutlineMedium:nN,IconEditOutlineRegular:tN,IconEllipsisOutlineMedium:CL,IconEllipsisOutlineRegular:kL,IconEnhanceOutlineMedium:gN,IconEnhanceOutlineRegular:mN,IconFlatListOutlineMedium:dD,IconFlatListOutlineRegular:uD,IconFolderCloseMedium:iP,IconFolderCloseRegular:rP,IconFolderOpenMedium:nP,IconFolderOpenOutlineMedium:eP,IconFolderOpenOutlineRegular:QN,IconFolderOpenRegular:tP,IconFollowsystemOutlineMedium:fP,IconFollowsystemOutlineRegular:dP,IconFullscreenOutlineMedium:HN,IconFullscreenOutlineRegular:UN,IconGaugeOutlineMedium:wP,IconGaugeOutlineRegular:_P,IconGlobeOutlineMedium:_L,IconGlobeOutlineRegular:yL,IconGoalOutlineMedium:EP,IconGoalOutlineRegular:jP,IconInfoOutlineMedium:AP,IconInfoOutlineRegular:sy,IconInspectOutlineMedium:LP,IconInspectOutlineRegular:TP,IconLightOutlineMedium:lP,IconLightOutlineRegular:aP,IconLikeFillMedium:WL,IconLikeFillRegular:BL,IconLikeOutlineMedium:VL,IconLikeOutlineRegular:ZL,IconLinkOutlineMedium:fN,IconLinkOutlineRegular:dN,IconListPenOutlineMedium:zP,IconListPenOutlineRegular:IP,IconLoadingOutlineMedium:LN,IconLoadingOutlineRegular:oy,IconMicrophoneOutlineMedium:$D,IconMicrophoneOutlineRegular:CD,IconNewChatOutlineMedium:mL,IconNewChatOutlineRegular:pL,IconNowrapFillMedium:KP,IconNowrapFillRegular:ly,IconPanelLeftOutlineMedium:xL,IconPanelLeftOutlineRegular:ey,IconPaperPlaneOutlineMedium:jN,IconPaperPlaneOutlineRegular:zN,IconPaperclipOutlineMedium:TN,IconPaperclipOutlineRegular:MN,IconPauseOutlineMedium:FN,IconPauseOutlineRegular:AN,IconPersonalizationOutlineMedium:GN,IconPersonalizationOutlineRegular:JN,IconPinFillMedium:cD,IconPinFillRegular:lD,IconPinOutlineMedium:aD,IconPinOutlineRegular:sD,IconPlanOutlineMedium:XP,IconPlanOutlineRegular:YP,IconPlayOutlineMedium:RN,IconPlayOutlineRegular:DN,IconPluginPinwheelOutlineMedium:UP,IconPluginPinwheelOutlineRegular:FP,IconPlusOutlineMedium:$L,IconPlusOutlineRegular:p4,IconProjectAddOutlineMedium:XN,IconProjectAddOutlineRegular:YN,IconQuestionOutlineMedium:RP,IconQuestionOutlineRegular:DP,IconQueueOutlineMedium:CP,IconQueueOutlineRegular:kP,IconRefreshOutlineMedium:HL,IconRefreshOutlineRegular:ry,IconRightUpOutlineMedium:pN,IconRightUpOutlineRegular:hN,IconSearchOutlineMedium:vL,IconSearchOutlineRegular:gL,IconSendOutlineMedium:xP,IconSendOutlineRegular:bP,IconSettingsOutlineMedium:bL,IconSettingsOutlineRegular:wL,IconShareOutlineMedium:XL,IconShareOutlineRegular:YL,IconShieldOutlineMedium:nD,IconShieldOutlineRegular:tD,IconSkillOutlineMedium:PP,IconSkillOutlineRegular:NP,IconSlidersTwoOutlineMedium:kD,IconSlidersTwoOutlineRegular:xD,IconSparkleMedium:MP,IconSparkleRegular:OP,IconStopFillMedium:ON,IconStopFillRegular:EN,IconThinkOutlineMedium:iN,IconThinkOutlineRegular:rN,IconTrashOutlineMedium:yN,IconTrashOutlineRegular:vN,IconTreeCornerMedium:sP,IconTreeCornerRegular:oP,IconTriangleRightFillMedium:NL,IconTriangleRightFillRegular:LL,IconUnarchiveOutlineMedium:oD,IconUnarchiveOutlineRegular:iD,IconUserOutlineMedium:$N,IconUserOutlineRegular:CN,IconUsersOutlineMedium:IN,IconUsersOutlineRegular:SN,IconWarningOutlineMedium:_N,IconWarningOutlineRegular:iy,IconWarningTriangleOutlineMedium:kN,IconWarningTriangleOutlineRegular:xN,IconWorkspaceTreeOutlineMedium:hD,IconWorkspaceTreeOutlineRegular:fD,IconWrapFillMedium:qP,IconWrapFillRegular:cy,IconWrapLinesOutlineMedium:WP,IconWrapLinesOutlineRegular:ay,ImageLightbox:t_,InlineEditor:XD,Input:YD,JsonBlock:xU,JsonTree:AA,LinkIconMedium:il,LinkIconRegular:YR,MarkdownDelegateProvider:qF,MarkdownText:T4,Menu:v4,MenuGroup:QD,MenuItemButton:PD,MenuSurface:Z1,Modal:_y,PathLabel:BD,PermissionIconAutoReviewMedium:yR,PermissionIconAutoReviewRegular:vR,PermissionIconFullAccessMedium:gR,PermissionIconFullAccessRegular:mR,PermissionIconReadOnlyMedium:fR,PermissionIconReadOnlyRegular:dR,PermissionIconWorkspaceWriteMedium:pR,PermissionIconWorkspaceWriteRegular:hR,Pill:y4,PluginArtworkDefault:MU,PluginArtworkLoop:jU,PluginArtworkSearch:OU,PluginArtworkSubagent:EU,PluginArtworkTerminal:zU,QuotePreview:NU,ReadBlock:uF,ReferenceChip:QR,ReferenceIconMedium:kR,ReferenceIconRegular:Iy,RiskConfirmation:sR,SHIELD_OUTLINE_PATH:hL,SearchBlock:kF,SegmentedControl:JD,SegmentedTabs:VD,SettingsForm:oA,SettingsFormModel:uA,SettingsSecretField:aA,SettingsValueField:sA,ShortcutKeys:oa,StateDot:yu,Switch:WD,Tag:_4,TerminalBlock:iF,TextShimmer:_2,Toast:nA,Tooltip:Zn,UserMessageBubble:uL,UserTextRun:XR,WebBlock:bU,ZoomControls:ZD,classifyFileType:wu,classifyLinkPath:V1,closeTopModal:ND,detailDocumentState:kU,diffTotals:pF,extractMarkdownPlainText:IU,fileExtension:b4,fileSizeText:rA,focusWithoutRing:$o,formatQuoteText:PU,isBehindModal:py,isDarwinDesktop:IA,isMobileDevice:LD,languageForPath:y2,modalSelector:hy,observeComposition:_u,observeStickyMenuGroups:eR,pointerModality:vy,rankByName:SA,relativeTime:CA,settingsNumberField:lA,settingsTextField:cA,useAnchoredMaxHeight:nR,useAnchoredPosition:rR,useClipboardCopy:x4,useCodeHighlighter:kA,useDetailDocumentLabels:CU,useDismissOnOutsidePointer:gy,useModalLayer:my,useRowDragPreview:MD,writeClipboard:Ho},Symbol.toStringTag,{value:"Module"})),RU="_split_3oazc_17",AU="_splitRow_3oazc_24",FU="_splitColumn_3oazc_28",UU="_splitCell_3oazc_32",HU="_divider_3oazc_39",ZU="_surface_3oazc_127",VU="_tabLayout_3oazc_136",BU="_tabCell_3oazc_144",WU="_emptyTabHost_3oazc_145",KU="_floatingCell_3oazc_158",qU="_tabHost_3oazc_164",JU="_float_3oazc_158",GU="_tabHostHeader_3oazc_179",YU="_tabHostBody_3oazc_183",XU="_tabLayoutDivider_3oazc_188",QU="_pane_3oazc_211",eH="_tabStrip_3oazc_239",tH="_stripTabs_3oazc_259",nH="_stripFill_3oazc_291",rH="_stripChrome_3oazc_299",iH="_paneBody_3oazc_321",oH="_slot_3oazc_330",sH="_tabActive_3oazc_349",aH="_slotCaret_3oazc_349",lH="_tab_3oazc_136",cH="_tabTitle_3oazc_392",uH="_floatTitle_3oazc_412",dH="_tabClose_3oazc_425",fH="_addTab_3oazc_463",hH="_tabQuiet_3oazc_504",pH="_tabDragging_3oazc_533",mH="_iconButton_3oazc_539",gH="_menu_3oazc_581",vH="_menuItem_3oazc_595",yH="_empty_3oazc_145",_H="_dockScrim_3oazc_635",wH="_dockHint_3oazc_637",bH="_dockHintCard_3oazc_642",xH="_dockHintLabel_3oazc_730",kH="_floatHeader_3oazc_818",CH="_dockGlyph_3oazc_837",$H="_floatBody_3oazc_842",SH="_floatResize_3oazc_852",Ce={split:RU,splitRow:AU,splitColumn:FU,splitCell:UU,divider:HU,surface:ZU,tabLayout:VU,tabCell:BU,emptyTabHost:WU,floatingCell:KU,tabHost:qU,float:JU,tabHostHeader:GU,tabHostBody:YU,tabLayoutDivider:XU,pane:QU,tabStrip:eH,stripTabs:tH,stripFill:nH,stripChrome:rH,paneBody:iH,slot:oH,tabActive:sH,slotCaret:aH,tab:lH,tabTitle:cH,floatTitle:uH,tabClose:dH,addTab:fH,tabQuiet:hH,tabDragging:pH,iconButton:mH,menu:gH,menuItem:vH,empty:yH,dockScrim:_H,dockHint:wH,dockHintCard:bH,dockHintLabel:xH,floatHeader:kH,dockGlyph:CH,floatBody:$H,floatResize:SH};function L4(e,t){throw new Error(`${t}: unhandled ${JSON.stringify(e)}`)}function ur(e,t){const r=e.nodes[t];if(r===void 0)throw new Error(`layout: unknown node ${t}`);return r}function Be(e,t){const r=ur(e,t);if(r.kind!=="pane")throw new Error(`layout: ${t} is not a pane`);return r}function ku(e,t){const r=ur(e,t);if(r.kind!=="split")throw new Error(`layout: ${t} is not a split`);return r}function Si(e,t){const r=e.tabs[t];if(r===void 0)throw new Error(`layout: unknown tab ${t}`);return r}function wi(e){if(e.host!=="float"||e.rect===void 0)throw new Error(`layout: ${e.id} is not floating`);return e.rect}function N4(e,t){const r=e.floats.indexOf(t);if(r<0)throw new Error(`layout: floating pane ${t} is not in the z order`);return r}function m_(e){const t=e.tabs[0];if(t===void 0||e.tabs.length!==1)throw new Error(`layout: ${e.id} does not hold exactly one tab`);return t}function Cu(e,t){for(const r of Object.values(e.nodes))if(r.kind==="split"&&r.children.includes(t))return r}function En(e,t){for(const r of Object.values(e.nodes))if(r.kind==="pane"&&r.tabs.includes(t))return r;throw new Error(`layout: tab ${t} has no pane`)}function $u(e){const t=[],r=i=>{const n=ur(e,i);if(n.kind==="pane"){t.push(n.id);return}for(const s of n.children)r(s)};return r(e.rootId),t}function g_(e){const t=e.reduce((r,i)=>r+i,0);if(!(t>0))throw new Error("layout: sizes must sum above zero");return Math.abs(t-1)<1e-12?[...e]:e.map(r=>r/t)}function sa(e){return Object.entries(e)}function IH(e){return Object.keys(e)}function lt(e,t){const r={};for(const[i,n]of sa(e.nodes))i in t||(r[i]=n);for(const[i,n]of sa(t))n!==null&&(r[i]=n);return{...e,nodes:r}}function fi(e,t){const r={};for(const[i,n]of sa(e.tabs))i in t||(r[i]=n);for(const[i,n]of sa(t))n!==null&&(r[i]=n);return{...e,tabs:r}}function Pr(e,t,r){const i=Math.max(0,Math.min(t,e.length));return[...e.slice(0,i),r,...e.slice(i)]}function Vn(e,t){return[...e.slice(0,t),...e.slice(t+1)]}function P4(e,t){const r=Vn(e,t);if(r.length!==0)return r[Math.max(0,t-1)]}function bi(e,t,r){return{...e,tabs:t,activeTabId:r}}function D4(e,t,r){const i=Cu(e,t);if(i===void 0){if(e.rootId!==t)throw new Error(`layout: ${t} is neither rooted nor parented`);return{...e,rootId:r}}const n=i.children.map(s=>s===t?r:s);return lt(e,{[i.id]:{...i,children:n}})}function v_(e,t){let r=ur(e,e.rootId);for(;r.kind==="split";){const i=t(r);if(i===void 0)throw new Error(`layout: split ${r.id} has no children`);r=ur(e,i)}return r.id}function y_(e){return v_(e,t=>t.children[0])}function __(e){return v_(e,t=>t.axis==="row"?t.children.at(-1):t.children[0])}function tn(e,t){const r={};for(const i of t)r[i]=Be(e,i).activeTabId;return{type:"restoreFocus",activePaneId:e.activePaneId,floats:e.floats,paneActiveTabs:r}}function R4(e,t){return[...e.filter(r=>r!==t),t]}function j1(e,t){return e.activePaneId!==t?e:{...e,activePaneId:y_(e)}}function zH(e){return{kind:"pane",id:e,host:"dock",tabs:[],activeTabId:void 0,rect:void 0}}function q1(e,t){if(e.nodes[t]!==void 0)throw new Error(`layout: node ${t} already exists`)}function A4(e,t){if(e.tabs[t]!==void 0)throw new Error(`layout: tab ${t} already exists`)}function jH(e,t){if(Be(e,t.paneId).host!=="dock")throw new Error("layout: split requires a docked pane");q1(e,t.newPaneId);const r=zH(t.newPaneId),i=Cu(e,t.paneId);if(i!==void 0&&i.axis===t.axis){const l=i.children.indexOf(t.paneId),u=t.direction==="after"?l+1:l,f=Pr(i.children,u,t.newPaneId),h=i.sizes.flatMap((g,y)=>y===l?[g/2,g/2]:[g]);return{state:lt(e,{[t.newPaneId]:r,[i.id]:{...i,children:f,sizes:h}}),inverse:[{type:"merge",paneId:t.newPaneId},{type:"resize",splitId:i.id,sizes:i.sizes}]}}q1(e,t.newSplitId);const n=D4(e,t.paneId,t.newSplitId),s=t.direction==="after"?[t.paneId,t.newPaneId]:[t.newPaneId,t.paneId];return{state:lt(n,{[t.newPaneId]:r,[t.newSplitId]:{kind:"split",id:t.newSplitId,axis:t.axis,children:s,sizes:[.5,.5]}}),inverse:[{type:"merge",paneId:t.newPaneId}]}}function EH(e,t){const r=Be(e,t.paneId);if(r.tabs.length>0)throw new Error("layout: merge requires an empty pane");const i=tn(e,[]);if(r.host==="float"){const u=N4(e,t.paneId);return{state:j1(lt({...e,floats:Vn(e.floats,u)},{[t.paneId]:null}),t.paneId),inverse:[{type:"insertPane",pane:r,tabs:[],attach:{mode:"float",index:u}},i]}}const n=Cu(e,t.paneId);if(n===void 0)throw new Error("layout: the docked root pane cannot be merged");const s=n.children.indexOf(t.paneId);if(n.children.length>2){const u=Vn(n.children,s),f=g_(Vn(n.sizes,s));return{state:j1(lt(e,{[t.paneId]:null,[n.id]:{...n,children:u,sizes:f}}),t.paneId),inverse:[{type:"insertPane",pane:r,tabs:[],attach:{mode:"child",parentId:n.id,index:s,sizes:n.sizes}},i]}}const l=n.children[1-s];if(l===void 0)throw new Error("layout: merge found a split without a sibling");return{state:j1(lt(D4(e,n.id,l),{[t.paneId]:null,[n.id]:null}),t.paneId),inverse:[{type:"insertPane",pane:r,tabs:[],attach:{mode:"wrap",targetId:l,split:n}},i]}}function OH(e,t){const r=Be(e,t.paneId);if(r.host!=="dock")throw new Error("layout: openTab requires a docked pane");A4(e,t.tab.id);const i=tn(e,[r.id]);return{state:{...lt(fi(e,{[t.tab.id]:t.tab}),{[r.id]:bi(r,Pr(r.tabs,t.index,t.tab.id),t.tab.id)}),activePaneId:r.id},inverse:[{type:"closeTab",tabId:t.tab.id},i]}}function MH(e,t){const r=Be(e,t.paneId);if(r.host!=="dock")throw new Error("layout: insertTab requires a docked pane");A4(e,t.tab.id);const i=tn(e,[r.id]),n=Pr(r.tabs,t.index,t.tab.id);return{state:lt(fi(e,{[t.tab.id]:t.tab}),{[r.id]:bi(r,n,r.activeTabId??t.tab.id)}),inverse:[{type:"closeTab",tabId:t.tab.id},i]}}function TH(e,t){const r=Si(e,t.tabId),i=En(e,t.tabId),n=i.tabs.indexOf(t.tabId),s=tn(e,[i.id]);if(i.host==="float"){const u=N4(e,i.id);return{state:j1(fi(lt({...e,floats:Vn(e.floats,u)},{[i.id]:null}),{[t.tabId]:null}),i.id),inverse:[{type:"insertPane",pane:i,tabs:[r],attach:{mode:"float",index:u}},s]}}const l=i.activeTabId===t.tabId?P4(i.tabs,n):i.activeTabId;return{state:fi(lt(e,{[i.id]:bi(i,Vn(i.tabs,n),l)}),{[t.tabId]:null}),inverse:[{type:"insertTab",paneId:i.id,tab:r,index:n},s]}}function LH(e,t){if(q1(e,t.pane.id),t.pane.tabs.length!==t.tabs.length)throw new Error("layout: insertPane tab records do not match the pane");if(t.pane.host==="dock"&&t.tabs.length>0)throw new Error("layout: insertPane returns a docked pane empty");const r={};for(const l of t.tabs)A4(e,l.id),r[l.id]=l;const i=t.tabs[0],n=i===void 0?[{type:"merge",paneId:t.pane.id}]:[{type:"closeTab",tabId:i.id},tn(e,[])],s=t.attach;switch(s.mode){case"child":{const l=ku(e,s.parentId),u=Pr(l.children,s.index,t.pane.id);if(s.sizes.length!==u.length)throw new Error("layout: insertPane sizes do not match the split");return n.push({type:"resize",splitId:l.id,sizes:l.sizes}),{state:lt(fi(e,r),{[t.pane.id]:t.pane,[l.id]:{...l,children:u,sizes:s.sizes}}),inverse:n}}case"wrap":if(!s.split.children.includes(t.pane.id))throw new Error("layout: insertPane wrap split does not list the pane");return{state:lt(fi(D4(e,s.targetId,s.split.id),r),{[t.pane.id]:t.pane,[s.split.id]:s.split}),inverse:n};case"float":{if(t.pane.host!=="float")throw new Error("layout: float attachment requires a floating pane");const l=Pr(e.floats,s.index,t.pane.id);return{state:lt(fi({...e,floats:l},r),{[t.pane.id]:t.pane}),inverse:n}}default:return L4(s,"layout: insertPane attachment")}}function NH(e,t){const r=En(e,t.tabId);if(r.host!=="dock")throw new Error("layout: moveTab source must be docked; use unfloat");const i=Be(e,t.toPaneId);if(i.host!=="dock")throw new Error("layout: moveTab target must be docked");if(i.id===r.id)throw new Error("layout: moveTab across one pane; use reorderTab");const n=r.tabs.indexOf(t.tabId),s=tn(e,[r.id,i.id]),l=r.activeTabId===t.tabId?P4(r.tabs,n):r.activeTabId;return{state:{...lt(e,{[r.id]:bi(r,Vn(r.tabs,n),l),[i.id]:bi(i,Pr(i.tabs,t.index,t.tabId),t.tabId)}),activePaneId:i.id},inverse:[{type:"moveTab",tabId:t.tabId,toPaneId:r.id,index:n},s]}}function PH(e,t){const r=En(e,t.tabId),i=r.tabs.indexOf(t.tabId),n=Pr(Vn(r.tabs,i),t.index,t.tabId);return{state:lt(e,{[r.id]:{...r,tabs:n}}),inverse:[{type:"reorderTab",tabId:t.tabId,index:i}]}}function DH(e,t){const r=En(e,t.tabId),i=tn(e,[r.id]),n=lt(e,{[r.id]:{...r,activeTabId:t.tabId}}),s=r.host==="float"?R4(n.floats,r.id):n.floats;return{state:{...n,activePaneId:r.id,floats:s},inverse:[i]}}function RH(e,t){const r=Be(e,t.paneId),i=tn(e,[]),n=r.host==="float"?R4(e.floats,r.id):e.floats;return{state:{...e,activePaneId:r.id,floats:n},inverse:[i]}}function AH(e,t){const r=ku(e,t.splitId);if(t.sizes.length!==r.children.length)throw new Error("layout: resize sizes do not match the split");if(t.sizes.some(i=>!(i>0)))throw new Error("layout: resize sizes must all be above zero");return{state:lt(e,{[r.id]:{...r,sizes:g_(t.sizes)}}),inverse:[{type:"resize",splitId:r.id,sizes:r.sizes}]}}function FH(e,t){Si(e,t.tabId);const r=En(e,t.tabId);if(r.host!=="dock")throw new Error("layout: float requires a docked tab");q1(e,t.newPaneId);const i=r.tabs.indexOf(t.tabId),n=tn(e,[r.id]),s=r.activeTabId===t.tabId?P4(r.tabs,i):r.activeTabId,l=lt(e,{[r.id]:bi(r,Vn(r.tabs,i),s),[t.newPaneId]:{kind:"pane",id:t.newPaneId,host:"float",tabs:[t.tabId],activeTabId:t.tabId,rect:t.rect}});return{state:{...l,floats:[...l.floats,t.newPaneId],activePaneId:t.newPaneId},inverse:[{type:"unfloat",paneId:t.newPaneId,toPaneId:r.id,index:i},n]}}function UH(e,t){const r=Be(e,t.paneId),i=wi(r),n=m_(r),s=Be(e,t.toPaneId);if(s.host!=="dock")throw new Error("layout: unfloat target must be docked");const l=tn(e,[s.id]);return{state:{...lt({...e,floats:Vn(e.floats,N4(e,t.paneId))},{[t.paneId]:null,[s.id]:bi(s,Pr(s.tabs,t.index,n),n)}),activePaneId:s.id},inverse:[{type:"float",tabId:n,newPaneId:t.paneId,rect:i},l]}}function w_(e,t,r){const i=lt(e,{[t.id]:{...t,rect:r}});return{...i,activePaneId:t.id,floats:R4(i.floats,t.id)}}function HH(e,t){const r=Be(e,t.paneId),i=wi(r);return{state:w_(e,r,{...i,x:t.x,y:t.y}),inverse:[{type:"moveFloat",paneId:t.paneId,x:i.x,y:i.y},tn(e,[])]}}function ZH(e,t){const r=Be(e,t.paneId),i=wi(r);if(!(t.rect.width>0)||!(t.rect.height>0))throw new Error("layout: float size must be above zero");return{state:w_(e,r,t.rect),inverse:[{type:"resizeFloat",paneId:t.paneId,rect:i},tn(e,[])]}}function VH(e,t){const r=tn(e,IH(t.paneActiveTabs));for(const n of t.floats)if(Be(e,n).host!=="float")throw new Error(`layout: restoreFocus lists docked pane ${n} as floating`);let i=e;for(const[n,s]of sa(t.paneActiveTabs)){const l=Be(i,n);i=lt(i,{[n]:{...l,activeTabId:s}})}return Be(i,t.activePaneId),{state:{...i,activePaneId:t.activePaneId,floats:t.floats},inverse:[r]}}function Zo(e,t){switch(t.type){case"split":return jH(e,t);case"merge":return EH(e,t);case"openTab":return OH(e,t);case"insertTab":return MH(e,t);case"closeTab":return TH(e,t);case"insertPane":return LH(e,t);case"moveTab":return NH(e,t);case"reorderTab":return PH(e,t);case"focusTab":return DH(e,t);case"focusPane":return RH(e,t);case"resize":return AH(e,t);case"float":return FH(e,t);case"unfloat":return UH(e,t);case"moveFloat":return HH(e,t);case"resizeFloat":return ZH(e,t);case"setExpanded":return{state:{...e,expanded:t.expanded},inverse:[{type:"setExpanded",expanded:e.expanded}]};case"setMode":return{state:{...e,mode:t.mode},inverse:[{type:"setMode",mode:e.mode}]};case"restoreFocus":return VH(e,t);default:return L4(t,"layout: operation")}}function BH(e,t){return t.reduce((r,i)=>Zo(r,i).state,e)}const b_={entries:[],cursor:0},WH=new Set(["focusTab","focusPane","restoreFocus"]);function x_(e){return WH.has(e.type)}function J1(e,t){const r=e.entries[t];return r!==void 0&&r.ops.every(x_)}function F4(e){return e.cursor>0}function U4(e){return e.cursor<e.entries.length}function k_(e){return e.entries.flatMap(t=>t.ops)}function C_(e,t,r){if(r.length===0)return{history:e,state:t};let i=t;const n=[];for(const s of r){const l=Zo(i,s);i=l.state,n.unshift(...l.inverse)}return{history:{entries:[...e.cursor===e.entries.length?e.entries:e.entries.slice(0,e.cursor),{ops:r,inverse:n}],cursor:e.cursor+1},state:i}}function $_(e,t){if(!F4(e))return;let r=1;if(J1(e,e.cursor-1))for(;J1(e,e.cursor-1-r);)r+=1;let i=t;for(const n of e.entries.slice(e.cursor-r,e.cursor).reverse())for(const s of n.inverse)i=Zo(i,s).state;return{history:{entries:e.entries,cursor:e.cursor-r},state:i}}function S_(e,t){if(!U4(e))return;let r=1;if(J1(e,e.cursor))for(;J1(e,e.cursor+r);)r+=1;let i=t;for(const n of e.entries.slice(e.cursor,e.cursor+r))for(const s of n.ops)i=Zo(i,s).state;return{history:{entries:e.entries,cursor:e.cursor+r},state:i}}var I_=class{current;recorded=b_;constructor(e){this.current=e}get state(){return this.current}get history(){return this.recorded}get ops(){return k_(this.recorded)}get cursor(){return this.recorded.cursor}get canUndo(){return F4(this.recorded)}get canRedo(){return U4(this.recorded)}dispatch(e){return this.dispatchAll([e])}dispatchAll(e){const t=C_(this.recorded,this.current,e);return this.recorded=t.history,this.current=t.state,this.current}undo(){const e=$_(this.recorded,this.current);return e===void 0?!1:(this.recorded=e.history,this.current=e.state,!0)}redo(){const e=S_(this.recorded,this.current);return e===void 0?!1:(this.recorded=e.history,this.current=e.state,!0)}};const KH=4,H4=.12,G1={width:380,height:300},Z4={width:220,height:140},V4=.25;function z_(e){return $u(e).length}function Su(e){return z_(e)<4}const qH=["center","top","right","bottom","left"];function j_(e,t,r=V4){let i="left",n=e;return 1-e<n&&(i="right",n=1-e),t<n&&(i="top",n=t),1-t<n&&(i="bottom",n=1-t),n<r?i:"center"}function E_(e){switch(e){case"center":return;case"left":return{axis:"row",direction:"before"};case"right":return{axis:"row",direction:"after"};case"top":return{axis:"column",direction:"before"};case"bottom":return{axis:"column",direction:"after"};default:return L4(e,"layout: dock zone")}}function B4(e,t=H4){if(e.length===0)return[];const r=Math.min(t,1/e.length),i=e.map(u=>u>0?u:0),n=i.reduce((u,f)=>u+f,0);let s=n>0?i.map(u=>u/n):i.map(()=>1/e.length);const l=new Set;for(;;){const u=s.flatMap((g,y)=>!l.has(y)&&g<r?[y]:[]);if(u.length===0)return s;for(const g of u)l.add(g);const f=1-l.size*r,h=s.reduce((g,y,_)=>l.has(_)?g:g+y,0);s=s.map((g,y)=>l.has(y)?r:g/h*f)}}function Y1(e,t,r){return t>=e.x&&t<=e.x+e.width&&r>=e.y&&r<=e.y+e.height}function O_(e,t,r,i=V4){return!(e.width>0)||!(e.height>0)?"center":j_((t-e.x)/e.width,(r-e.y)/e.height,i)}function M_(e,t){let r=0;for(const i of e){if(t<i.x+i.width/2)break;r+=1}return r}const xi={divider:0,chip:100,body:48};function T_(e,t=xi){const{pane:r,strip:i}=e;if(!(r.width>0)||!(r.height>0)||!(i.width>0))return{row:!0,column:!0};const n=Math.max(0,r.width-i.width),s=Math.max(0,i.width-e.chipsWidth-e.fillWidth-(e.splitControlWidth??0)),l=(r.width-t.divider)/2-n,u=(r.height-t.divider)/2-n;return{row:l>=s+t.chip,column:u>=i.height+t.body}}const JH=4;function L_(e,t,r,i){return Math.abs(r-e)>=4||Math.abs(i-t)>=4}function N_(e,t,r){const i=e[t],n=e[t+1];if(i===void 0||n===void 0)return[...e];const s=[...e];return s[t]=i+r,s[t+1]=n-r,s}function P_(e,t,r){return{...e,x:e.x+t,y:e.y+r}}function D_(e,t,r,i){return{...e,width:Math.max(i.width,e.width+t),height:Math.max(i.height,e.height+r)}}function _p(e,t,r){return Math.max(t,Math.min(e,r))}function si(e,t){const r=Math.min(e.width,t.width),i=Math.min(e.height,t.height-t.top);return{x:_p(e.x,0,t.width-r),y:_p(e.y,t.top,t.height-i),width:r,height:i}}function wp(e){return Math.sign(e)*120*Math.abs(e)/(120+Math.abs(e))}function GH(e,t){const r=si(e,t);return{...r,x:r.x+wp(e.x-r.x),y:r.y+wp(e.y-r.y)}}const YH=120*.99;function bp(e){const t=Math.min(Math.abs(e),YH);return Math.sign(e)*120*t/(120-t)}function XH(e,t){const r=si(e,t);return{...r,x:r.x+bp(e.x-r.x),y:r.y+bp(e.y-r.y)}}function QH(e,t,r){return{...e,width:Math.max(r.width,Math.min(e.width,t.width-e.x)),height:Math.max(r.height,Math.min(e.height,t.height-e.y))}}function R_(e,t,r){return{x:Math.max(0,e-xp.x),y:Math.max(0,t-xp.y),...r}}const xp={x:60,y:14},eZ=24,kp={x:160,y:120},gn=[];function A_(e,t,r,i){for(const n of Be(e,t).tabs){const s=e.tabs[n];if(s?.contentId===r&&(i===void 0||s.kind===i))return n}}function F_(e,t,r){for(const i of[...$u(e),...e.floats]){const n=A_(e,i,t,r);if(n!==void 0)return n}}function Vo(e){const t=Be(e,e.activePaneId);return t.host==="dock"?t.id:y_(e)}function I2(e,t,r,i){return e.host==="float"?{type:"unfloat",paneId:e.id,toPaneId:r,index:i}:{type:"moveTab",tabId:t,toPaneId:r,index:i}}function U_(e,t){return e.expanded===t?gn:[{type:"setExpanded",expanded:t}]}function H_(e,t){return e.mode===t?gn:[{type:"setMode",mode:t}]}function Z_(e,t,r,i){if(!Su(e))return gn;const n=r??Vo(e);if(Be(e,n).host!=="dock")return gn;const s=t("pane"),l=[{type:"split",paneId:n,axis:"row",direction:"after",newPaneId:s,newSplitId:t("split")}],u=i?.(t("tab"));return u!==void 0&&l.push({type:"openTab",paneId:s,tab:u,index:0}),l}function V_(e,t,r,i){if(i===void 0)return gn;const n=Be(e,r);return n.host!=="dock"?gn:[{type:"openTab",paneId:r,tab:i(t("tab")),index:n.tabs.length}]}function B_(e,t,r){const i=r.revealIfOpened===!1?void 0:F_(e,r.contentId,r.kind);if(i!==void 0)return{ops:[{type:"focusTab",tabId:i}],tabId:i};const n=r.paneId??Vo(e),s={id:t("tab"),kind:r.kind,contentId:r.contentId,title:r.title};return{ops:[{type:"openTab",paneId:n,tab:s,index:r.index??Be(e,n).tabs.length}],tabId:s.id}}function W_(e,t,r){const i=Si(e,r),n=En(e,r),s=n.host==="dock"?n.id:Vo(e),l=n.host==="dock"?n.tabs.indexOf(r)+1:Be(e,s).tabs.length,u={...i,id:t("tab")};return{ops:[{type:"openTab",paneId:s,tab:u,index:l}],tabId:u.id}}function K_(e,t,r,i){const n=En(e,t);if(Be(e,r).host!=="dock")return gn;if(n.id===r){const s=n.tabs.indexOf(t),l=i>s?i-1:i;return l===s?gn:[{type:"reorderTab",tabId:t,index:l}]}return[I2(n,t,r,i)]}function q_(e,t,r,i,n,s){const l=En(e,r),u=Be(e,i);if(u.host!=="dock")return gn;const f=E_(n);if(f===void 0)return l.id===i?gn:[I2(l,r,i,u.tabs.length)];const h=l.id===i&&l.tabs.length===1;if(h&&s===void 0||!Su(e))return gn;const g=t("pane"),y=[{type:"split",paneId:i,axis:f.axis,direction:f.direction,newPaneId:g,newSplitId:t("split")}];return h&&s!==void 0&&y.push({type:"openTab",paneId:i,tab:s(t("tab")),index:l.tabs.length}),y.push(I2(l,r,g,0)),y}function J_(e,t,r,i){const n=e.floats.length*eZ,s=t("float");return{ops:[{type:"float",tabId:r,newPaneId:s,rect:i??{x:kp.x+n,y:kp.y+n,width:G1.width,height:G1.height}}],paneId:s}}function G_(e,t,r){const i=r??Vo(e);return[{type:"unfloat",paneId:t,toPaneId:i,index:Be(e,i).tabs.length}]}function Y_(e,t,r){return[{type:"resize",splitId:e,sizes:B4(t,r)}]}function tZ(e,t,r){const i=[];let n=e;for(;;){const l=$u(n).find(f=>f!==n.rootId&&Be(n,f).tabs.length===0);if(l===void 0)break;const u={type:"merge",paneId:l};i.push(u),n=Zo(n,u).state}const s=ur(n,n.rootId);return s.kind==="pane"&&s.tabs.length===0&&r!==void 0&&i.push({type:"openTab",paneId:s.id,tab:r(t("tab")),index:0}),i}function X_(e=0){let t=e;return{next:(i=>(t+=1,`${i}${t}`))}}function Q_(e,t,r="push"){const i=e.next("pane"),n=t?.(e.next("tab"));return{nodes:{[i]:{kind:"pane",id:i,host:"dock",tabs:n===void 0?[]:[n.id],activeTabId:n?.id,rect:void 0}},tabs:n===void 0?{}:{[n.id]:n},rootId:i,floats:[],activePaneId:i,expanded:!1,mode:r}}var nZ=class{minter;sequencer;listeners=new Set;makePaneTab;snapshot;constructor(e={}){this.minter=X_(),this.makePaneTab=e.makePaneTab,this.sequencer=new I_(Q_(this.minter,e.makeInitialTab,e.mode)),this.snapshot=this.buildSnapshot()}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.snapshot;get ops(){return this.sequencer.ops}buildSnapshot(){const e=this.sequencer.state;return{state:e,canUndo:this.sequencer.canUndo,canRedo:this.sequencer.canRedo,canSplit:Su(e),opCount:this.sequencer.ops.length,cursor:this.sequencer.cursor}}commit(){this.snapshot=this.buildSnapshot();for(const e of[...this.listeners])e()}get state(){return this.sequencer.state}get mint(){return this.minter.next}run(e){return e.length===0?!1:(this.sequencer.dispatchAll(e),this.commit(),!0)}setExpanded(e){this.run(U_(this.state,e))}toggleExpanded(){this.setExpanded(!this.state.expanded)}setMode(e){this.run(H_(this.state,e))}splitPane(e){return this.run(Z_(this.state,this.mint,e,this.makePaneTab))}addTab(e){return this.run(V_(this.state,this.mint,e,this.makePaneTab))}openContent(e){const t=B_(this.state,this.mint,e);return this.run(t.ops),t.tabId}duplicateTab(e){const t=W_(this.state,this.mint,e);return this.run(t.ops),t.tabId}closeTab(e){this.run([{type:"closeTab",tabId:e}])}focusTab(e){this.run([{type:"focusTab",tabId:e}])}focusPane(e){this.run([{type:"focusPane",paneId:e}])}reorderTab(e,t){this.run([{type:"reorderTab",tabId:e,index:t}])}placeTab(e,t,r){return this.run(K_(this.state,e,t,r))}dropTab(e,t,r){return this.run(q_(this.state,this.mint,e,t,r))}floatTab(e,t){const r=J_(this.state,this.mint,e,t);return this.run(r.ops),r.paneId}unfloatPane(e,t){this.run(G_(this.state,e,t))}moveFloat(e,t,r){this.run([{type:"moveFloat",paneId:e,x:t,y:r}])}resizeFloat(e,t){this.run([{type:"resizeFloat",paneId:e,rect:t}])}resizeSplit(e,t){this.run(Y_(e,t))}undo(){return this.sequencer.undo()?(this.commit(),!0):!1}redo(){return this.sequencer.redo()?(this.commit(),!0):!1}activeDockPaneId(){return Vo(this.state)}};const rZ={x:0,y:0,width:0,height:0},iZ={row:!0,column:!0};function C1(e){return e===null?rZ:e.getBoundingClientRect()}function so(e){const t=Number.parseFloat(e);return Number.isFinite(t)?t:0}function ew(e){const t=[];for(const r of e.querySelectorAll("[data-dockkit-pane]")){const i=r.dataset.dockkitPane;i!==void 0&&t.push([i,r])}return t}function oZ(e){const t=e.querySelector("[data-dockkit-tab]");if(t===null)return xi.chip;const r=getComputedStyle(t),i=so(r.minWidth);return i<=0?xi.chip:r.boxSizing==="border-box"?i:i+so(r.paddingLeft)+so(r.paddingRight)+so(r.borderLeftWidth)+so(r.borderRightWidth)}function sZ(e){const t=e.querySelector("[data-dockkit-divider]");if(t===null)return xi.divider;const{width:r,height:i}=t.getBoundingClientRect(),n=Math.min(r,i);return n>0?n:xi.divider}function aZ(e){const t=e.querySelector("[data-dockkit-split-button]");if(t===null)return 0;const r=t.getBoundingClientRect().width;if(!(r>0))return 0;const i=e.querySelector("[data-dockkit-strip]");return r+(i===null?0:so(getComputedStyle(i).columnGap))}function lZ(e,t=!1){const r={divider:sZ(e),chip:oZ(e),body:xi.body},i=new Map;for(const[n,s]of ew(e))i.set(n,T_({pane:C1(s),strip:C1(s.querySelector("[data-dockkit-strip]")),chipsWidth:C1(s.querySelector("[data-dockkit-strip-tabs]")).width,fillWidth:C1(s.querySelector("[data-dockkit-strip-fill]")).width,splitControlWidth:t?aZ(s):0},r));return i}function z2(e,t){return e.get(t)??iZ}function cZ(e,t){if(e.size!==t.size)return!1;for(const[r,i]of e){const n=t.get(r);if(n===void 0||n.row!==i.row||n.column!==i.column)return!1}return!0}function uZ(e,t){typeof e.setPointerCapture=="function"&&e.setPointerCapture(t)}function dZ(e,t,r){uZ(e,t);const i=new AbortController,{signal:n}=i;e.dataset.dockkitPointer=String(t),n.addEventListener("abort",()=>{e.dataset.dockkitPointer===String(t)&&delete e.dataset.dockkitPointer},{once:!0});const s=l=>l.pointerId===t;return window.addEventListener("pointermove",l=>{s(l)&&r.move(l)},{signal:n}),window.addEventListener("pointerup",l=>{s(l)&&(i.abort(),r.up(l))},{signal:n}),window.addEventListener("pointercancel",l=>{s(l)&&(i.abort(),r.cancel())},{signal:n}),()=>{i.abort()}}function tw(e){const t=k.useRef(void 0);return k.useEffect(()=>()=>{t.current?.stop()},[]),(r,i,n)=>{t.current?.end();const s=()=>{t.current=void 0,e()},l=dZ(r,i,{move:n.move,up:u=>{s(),n.up(u)},cancel:s});t.current={stop:l,end:()=>{l(),s()}}}}const W4=k.memo(function({tab:t,renderTab:r}){return r(t)}),W0=4;function fZ(e,t){const r=e.getBoundingClientRect(),i=t.offsetWidth,n=r.left+i+W0>window.innerWidth?Math.max(W0,r.right-i):r.left;return{top:r.bottom+W0,left:n}}function hZ({labels:e,anchor:t,onClose:r,onDismiss:i,extras:n}){const s=k.useRef(null),[l,u]=k.useState(void 0),f=r!==void 0||k.Children.toArray(n).some(h=>h!=="");return k.useLayoutEffect(()=>{s.current!==null&&u(fZ(t,s.current))},[t,f]),k.useEffect(()=>{const h=s.current;if(h===null)return;const g=h.ownerDocument,y=_u(g),_=x=>{if(y.guards(x)||x.defaultPrevented||x.key!=="Escape"||x.ctrlKey||x.altKey||x.metaKey||x.shiftKey||[...g.querySelectorAll(hy)].at(-1)!==h||(x.preventDefault(),x.repeat))return;const I=h.contains(g.activeElement);i(),I&&$o(t)};g.addEventListener("keydown",_,!0);const w=x=>{x.target instanceof Node&&h.contains(x.target)||i()};return window.addEventListener("pointerdown",w,!0),()=>{y.dispose(),g.removeEventListener("keydown",_,!0),window.removeEventListener("pointerdown",w,!0)}},[t,i,f]),f?On.createPortal(p.jsxs(Z1,{className:Ce.menu,ref:s,role:"menu","data-dockkit-tab-menu":!0,style:l??{visibility:"hidden",top:0,left:0},onPointerDown:h=>{h.stopPropagation()},onClick:h=>{h.stopPropagation()},onAuxClick:h=>{h.stopPropagation()},children:[r!==void 0&&p.jsx("button",{type:"button",role:"menuitem",className:Ce.menuItem,"data-dockkit-menu-close":!0,onClick:r,children:e.closeTab}),n]}),document.body):null}function Cp(e){e.scrollWidth>e.clientWidth+1?e.dataset.dockkitTabClipped="":delete e.dataset.dockkitTabClipped}function nw({children:e}){const t=k.useRef(null);return k.useLayoutEffect(()=>{t.current!==null&&Cp(t.current)}),k.useLayoutEffect(()=>{const r=t.current;if(r===null||typeof ResizeObserver>"u")return;const i=new ResizeObserver(()=>{Cp(r)});return i.observe(r),()=>{i.disconnect()}},[]),p.jsx("span",{ref:t,className:Ce.tabTitle,"data-dockkit-tab-title":!0,children:e})}const pZ="M9.67272 0.522841C10.8339 0.522841 11.76 0.522714 12.4963 0.602493C13.2453 0.683657 13.8789 0.854248 14.4264 1.25197C14.7504 1.48739 15.0355 1.77247 15.2709 2.0965C15.6686 2.64394 15.8392 3.27758 15.9204 4.02655C16.0002 4.7629 16 5.68895 16 6.85014V9.14986C16 10.3111 16.0002 11.2371 15.9204 11.9735C15.8392 12.7224 15.6686 13.3561 15.2709 13.9035C15.0355 14.2275 14.7504 14.5126 14.4264 14.748C13.8789 15.1458 13.2453 15.3163 12.4963 15.3975C11.76 15.4773 10.8339 15.4772 9.67272 15.4772H6.3273C5.16611 15.4772 4.24006 15.4773 3.50371 15.3975C2.75474 15.3163 2.1211 15.1458 1.57366 14.748C1.24963 14.5126 0.964549 14.2275 0.729131 13.9035C0.331407 13.3561 0.160817 12.7224 0.0796529 11.9735C-0.000126137 11.2371 1.25338e-09 10.3111 1.25338e-09 9.14986V6.85014C1.25329e-09 5.68895 -0.000126137 4.7629 0.0796529 4.02655C0.160817 3.27758 0.331407 2.64394 0.729131 2.0965C0.964549 1.77247 1.24963 1.48739 1.57366 1.25197C2.1211 0.854248 2.75474 0.683657 3.50371 0.602493C4.24006 0.522714 5.16611 0.522841 6.3273 0.522841H9.67272ZM4.1828 14.0873L5.54303 14.1118C5.78636 14.1128 6.04709 14.1169 6.3273 14.1169H9.67272C10.8639 14.1169 11.7032 14.1164 12.3493 14.0465C12.9824 13.9779 13.3497 13.8494 13.6268 13.6482C13.8354 13.4966 14.0195 13.3125 14.1711 13.1039C14.3723 12.8268 14.5007 12.4595 14.5693 11.8264C14.6393 11.1803 14.6398 10.341 14.6398 9.14986V6.85014C14.6398 5.65896 14.6393 4.81967 14.5693 4.1736C14.5007 3.54048 14.3723 3.17318 14.1711 2.89609C14.0195 2.68747 13.8354 2.50337 13.6268 2.35179C13.3497 2.1506 12.9824 2.02212 12.3493 1.95353C11.7032 1.88358 10.8639 1.88307 9.67272 1.88307H6.3273C6.04709 1.88307 5.78636 1.8862 5.54303 1.88715L4.1828 1.91166C3.99125 1.9216 3.8148 1.93577 3.65076 1.95353C3.01764 2.02212 2.65034 2.1506 2.37325 2.35179C2.16463 2.50337 1.98052 2.68747 1.82895 2.89609C1.62776 3.17318 1.49928 3.54048 1.43069 4.1736C1.36074 4.81967 1.36023 5.65896 1.36023 6.85014V9.14986C1.36023 10.341 1.36074 11.1803 1.43069 11.8264C1.49928 12.4595 1.62776 12.8268 1.82895 13.1039C1.98052 13.3125 2.16463 13.4966 2.37325 13.6482C2.65034 13.8494 3.01764 13.9779 3.65076 14.0465C3.81478 14.0642 3.99127 14.0774 4.1828 14.0873Z";function mZ(){return p.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[p.jsx("path",{d:"M13.5 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13.5C1.5 14.0523 1.94772 14.5 2.5 14.5H13.5C14.0523 14.5 14.5 14.0523 14.5 13.5V2.5C14.5 1.94772 14.0523 1.5 13.5 1.5Z",stroke:"currentColor"}),p.jsx("path",{d:"M8 1.5V14.5",stroke:"currentColor"})]})}const gZ={center:"M4.56 3.48H11.44A1.6 1.6 0 0 1 13.04 5.08V10.92A1.6 1.6 0 0 1 11.44 12.52H4.56A1.6 1.6 0 0 1 2.96 10.92V5.08A1.6 1.6 0 0 1 4.56 3.48Z",left:"M4 0.523H8V15.477H4A4 4 0 0 1 0 11.477V4.523A4 4 0 0 1 4 0.523Z",right:"M8 0.523H12A4 4 0 0 1 16 4.523V11.477A4 4 0 0 1 12 15.477H8Z",top:"M0 8V4.523A4 4 0 0 1 4 0.523H12A4 4 0 0 1 16 4.523V8Z",bottom:"M0 8H16V11.477A4 4 0 0 1 12 15.477H4A4 4 0 0 1 0 11.477Z"};function vZ({zone:e}){return p.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[p.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:pZ,fill:"currentColor"}),p.jsx("path",{d:gZ[e],fill:"currentColor"})]})}function K0({zone:e,active:t,labels:r}){return p.jsx("div",{className:Ce.dockHint,"data-dockkit-dock-zone":e,"data-dockkit-drop-active":t||void 0,children:p.jsxs("div",{className:Ce.dockHintCard,children:[p.jsx(vZ,{zone:e}),p.jsx("span",{className:Ce.dockHintLabel,children:r.dropZone[e]})]})})}function yZ(e,t,r){const i=t.length,n=t.indexOf(r);switch(e){case"ArrowLeft":return t[(n-1+i)%i];case"ArrowRight":return t[(n+1)%i];case"Home":return t[0];case"End":return t.at(-1);default:return}}function _Z(e){return e==="Enter"||e===" "}function wZ(e){const t=e.scrollLeft>1,r=e.scrollLeft+e.clientWidth<e.scrollWidth-1;if(t&&r)return"start end";if(t)return"start";if(r)return"end"}function bZ(e,t){k.useLayoutEffect(()=>{const r=e.current;if(r===null)return;const i=()=>{const s=wZ(r);s===void 0?delete r.dataset.dockkitStripScroll:r.dataset.dockkitStripScroll=s};i(),r.addEventListener("scroll",i,{passive:!0});const n=typeof ResizeObserver>"u"?void 0:new ResizeObserver(i);return n?.observe(r),()=>{r.removeEventListener("scroll",i),n?.disconnect()}},[e,t])}function $p(e,t){e.style.scrollBehavior="auto",e.scrollLeft=t,e.style.removeProperty("scroll-behavior")}function xZ(e,t,r,i,n,s){const l=k.useRef(void 0);k.useLayoutEffect(()=>{if(s===void 0)return;const u=e.current;if(u!==null)return()=>{s.set(n,u.scrollLeft)}},[e,n,s]),k.useLayoutEffect(()=>{const u=e.current,f=i===void 0?void 0:t.get(i);if(u===null||f===void 0)return;const h=l.current!==n;l.current=n;const g=h?s?.get(n):void 0;g!==void 0&&$p(u,g);const y=u.getBoundingClientRect(),_=f.getBoundingClientRect();let w=0;_.left<y.left?w=_.left-y.left-Sp:_.right>y.right&&(w=_.right-y.right+Sp),w!==0&&(h&&g===void 0?$p(u,u.scrollLeft+w):u.scrollLeft+=w)},[e,t,r,i,n,s])}const Sp=24;function Ip(e,t){switch(t){case"budget":return e.splitPaneDisabled;case"width":return e.splitPaneNarrow}}function rw({state:e,pane:t,callbacks:r,offsets:i}){const[n,s]=k.useState(void 0),[l]=k.useState(()=>new Map),u=k.useRef(null);bZ(u,t.tabs),xZ(u,l,t.tabs,t.activeTabId,t.id,i);const f=r.splitBlock(t.id),h=r.dropTarget,g=h!==void 0&&h.kind==="strip"&&h.paneId===t.id?h.index:void 0,y=w=>{e.activePaneId===t.id&&t.activeTabId===w||r.onFocusTab(w)},_=w=>{const x=l.get(w);x!==void 0&&x.focus()};return p.jsxs("div",{className:Ce.tabStrip,role:"tablist","data-dockkit-strip":t.id,"data-window-drag":e.floats.length===0?!0:void 0,children:[p.jsxs("div",{ref:u,className:Ce.stripTabs,role:"presentation","data-dockkit-strip-tabs":t.id,children:[t.tabs.map((w,x)=>{const I=Si(e,w),S=w===t.activeTabId,E=r.canCloseTab(w),z=!E&&t.tabs.length===1;return p.jsxs(k.Fragment,{children:[(x>0||g===x)&&p.jsx("div",{className:fe(Ce.slot,g===x&&Ce.slotCaret),"data-dockkit-caret":g===x?x:void 0}),p.jsxs("div",{role:"tab","aria-selected":S,tabIndex:S?0:-1,className:fe(Ce.tab,S&&Ce.tabActive,z&&Ce.tabQuiet,r.draggingTabId===w&&Ce.tabDragging),"data-dockkit-tab":w,"data-dockkit-tab-quiet":z||void 0,ref:O=>{O===null?l.delete(w):l.set(w,O)},onPointerDown:O=>{O.button===0&&r.onTabPressed(w,O)},onMouseDown:O=>{O.button===1&&O.preventDefault()},onAuxClick:O=>{O.button===1&&(O.preventDefault(),O.stopPropagation(),E&&O.buttons===0&&r.onCloseTab(w))},onClick:O=>{O.stopPropagation(),y(w)},onKeyDown:O=>{if(O.target!==O.currentTarget||O.altKey||O.ctrlKey||O.metaKey||O.shiftKey||O.nativeEvent.isComposing)return;const P=yZ(O.key,t.tabs,w);if(P!==void 0){O.preventDefault(),_(P);return}_Z(O.key)&&(O.preventDefault(),y(w))},onContextMenu:O=>{O.preventDefault();const P=O.currentTarget;s(N=>N?.tabId===w?void 0:{tabId:w,anchor:P})},children:[p.jsx(nw,{children:r.renderTabTitle?.(I)??I.title}),E&&p.jsx(Zn,{disabled:n!==void 0,label:r.labels.closeTab,shortcutKeys:r.labels.closeTabKeys,side:"bottom",delayMs:500,children:p.jsx("button",{type:"button",className:Ce.tabClose,"aria-label":r.labels.closeTab,"aria-keyshortcuts":r.labels.closeTabShortcut,"data-dockkit-tab-close":w,onPointerDown:O=>{O.stopPropagation()},onClick:O=>{O.stopPropagation(),r.onCloseTab(w)},children:p.jsx(ny,{size:14})})}),n?.tabId===w&&p.jsx(hZ,{labels:r.labels,anchor:n.anchor,onClose:E?()=>{s(void 0),r.onCloseTab(w)}:void 0,onDismiss:()=>{s(void 0)},extras:r.renderTabMenuItems?.(I,()=>{s(void 0)})})]})]},w)}),g===t.tabs.length&&p.jsx("div",{className:fe(Ce.slot,Ce.slotCaret),"data-dockkit-caret":g})]}),r.canAddTab(t.id)&&p.jsx(Zn,{label:r.labels.addTab,side:"bottom",delayMs:500,children:p.jsx("button",{type:"button",className:Ce.addTab,"aria-label":r.labels.addTab,"data-dockkit-add-tab":t.id,onClick:w=>{w.stopPropagation(),r.onAddTab(t.id)},children:p.jsx(p4,{size:14})})}),p.jsx("div",{className:Ce.stripFill,"data-dockkit-strip-fill":!0}),!(r.hideSplitWhenBlocked&&f!==void 0)&&p.jsx(Zn,{label:f===void 0?r.labels.splitPane:Ip(r.labels,f),shortcutKeys:r.labels.splitPaneKeys,side:"bottom",delayMs:500,openOnClick:f!==void 0,children:p.jsx("span",{tabIndex:f===void 0?void 0:0,"aria-label":f===void 0?void 0:Ip(r.labels,f),onClick:w=>{f!==void 0&&w.stopPropagation()},children:p.jsx("button",{type:"button",className:Ce.iconButton,"aria-label":r.labels.splitPane,"aria-keyshortcuts":r.labels.splitPaneShortcut,disabled:f!==void 0,"data-dockkit-split-button":t.id,"data-dockkit-split-blocked":f,onClick:w=>{w.stopPropagation(),r.onSplitPane(t.id)},children:p.jsx(mZ,{})})})}),t.id===r.chromePaneId&&r.chrome!==void 0&&p.jsx("div",{className:Ce.stripChrome,"data-dockkit-strip-chrome":!0,onClick:w=>{w.stopPropagation()},children:r.chrome})]})}function iw({pane:e,callbacks:t}){const r=t.dropTarget,i=r?.kind==="zone"&&r.paneId===e.id?r.zone:void 0;return i===void 0?null:p.jsxs(p.Fragment,{children:[p.jsx("div",{className:Ce.dockScrim,"data-dockkit-dock-scrim":!0}),t.horizontalDrops&&i!=="center"?p.jsxs(p.Fragment,{children:[p.jsx(K0,{zone:"left",active:i==="left",labels:t.labels}),p.jsx(K0,{zone:"right",active:i==="right",labels:t.labels})]}):p.jsx(K0,{zone:i,active:!0,labels:t.labels})]})}function ow({state:e,pane:t,callbacks:r}){const i=t.activeTabId===void 0?void 0:Si(e,t.activeTabId);return p.jsxs("section",{className:Ce.pane,"data-dockkit-pane":t.id,tabIndex:-1,"data-dockkit-pane-active":e.activePaneId===t.id||void 0,onClick:()=>{e.activePaneId!==t.id&&r.onFocusPane(t.id)},children:[p.jsx(rw,{state:e,pane:t,callbacks:r}),p.jsxs("div",{className:Ce.paneBody,children:[i===void 0?p.jsx("p",{className:Ce.empty,children:r.labels.emptyPane}):p.jsx(W4,{tab:i,renderTab:r.renderTab}),p.jsx(iw,{pane:t,callbacks:r})]})]})}function sw({state:e,nodeId:t,callbacks:r,preview:i}){const n=ur(e,t);if(n.kind==="pane")return p.jsx(ow,{state:e,pane:n,callbacks:r});const s=i!==void 0&&i.splitId===n.id?i.sizes:n.sizes;return p.jsx("div",{className:fe(Ce.split,n.axis==="row"?Ce.splitRow:Ce.splitColumn),"data-dockkit-split":n.id,children:n.children.map((l,u)=>p.jsxs(k.Fragment,{children:[u>0&&p.jsx("div",{className:Ce.divider,"data-dockkit-divider":`${n.id}:${u-1}`,onPointerDown:f=>{r.onDividerPressed(n.id,u-1,f)}}),p.jsx("div",{className:Ce.splitCell,"data-dockkit-cell":`${n.id}:${u}`,style:{flexGrow:s[u]},children:p.jsx(sw,{state:e,nodeId:l,callbacks:r,preview:i})})]},l))})}const kZ=.32,CZ=.72,E1=2*Math.PI/kZ,$Z=1/480,SZ=1,IZ=60,zZ=1500;function zp(e,t,r){const i=Math.max(1,Math.ceil(r/$Z)),n=r/i;let{position:s,velocity:l}=e;for(let u=0;u<i;u++)l+=(-E1*E1*(s-t)-2*CZ*E1*l)*n,s+=l*n;return{position:s,velocity:l}}function jZ(e,t,r,i){const n=e-t;return n===0?0:Math.sign(r)!==Math.sign(n)?r:Math.sign(n)*Math.min(Math.abs(r),E1*Math.max(0,i-Math.abs(n)))}function jp(e,t){return Math.abs(e.position-t)<=SZ&&Math.abs(e.velocity)<=IZ}function EZ(e,t,r){const i=t-e.originX,n=r-e.originY;return e.mode==="move"?P_(e.rect,i,n):D_(e.rect,i,n,Z4)}function q0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function OZ(e,t){return e.activePaneId===t&&e.floats.at(-1)===t}function J0(){const e=document.documentElement,t=e.hasAttribute("data-windows-titlebar"),r=t&&!e.hasAttribute("data-fullscreen")?Number.parseFloat(e.style.getPropertyValue("--dsh-windows-titlebar-height")):0;return{top:t?(Number.isFinite(r)?r:0)+20:0,width:window.innerWidth,height:window.innerHeight}}function MZ(){return typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}const TZ=100;function G0(e,t,r){for(e.push({t,x:r.x,y:r.y});t-e[0].t>TZ;)e.shift()}function LZ(e){const t=e[0],r=e[e.length-1];if(r.t===t.t)return{x:0,y:0};const i=n=>Math.max(-1500,Math.min(zZ,n/(r.t-t.t)*1e3));return{x:i(r.x-t.x),y:i(r.y-t.y)}}function aw(e,t){return t?{left:e.x,top:e.y,width:e.width,height:e.height}:{"--dsh-dockkit-float-x":`${e.x}px`,"--dsh-dockkit-float-y":`${e.y}px`,"--dsh-dockkit-float-width":`${e.width}px`,"--dsh-dockkit-float-height":`${e.height}px`}}function lw(e,t){const[r,i]=k.useState(void 0),[n,s]=k.useState(J0),l=k.useRef(n),u=k.useRef(e);u.current=e;const f=k.useRef(void 0),h=tw(()=>{i(void 0)}),g=k.useRef(()=>{const S=f.current;return S===void 0?!1:(cancelAnimationFrame(S.frame),f.current=void 0,!0)}).current;k.useEffect(()=>{const S=()=>{g()&&i(void 0),l.current=J0(),s(l.current)};return window.addEventListener("resize",S),()=>{window.removeEventListener("resize",S),g()}},[g]);const y=()=>{const S=f.current,E=performance.now(),z=E-S.last;S.last=E;const O=u.current;if(O.floats.includes(S.paneId)&&q0(si(wi(Be(O,S.paneId)),l.current),S.target)&&z<=250&&E-S.started<900){const P=Math.min(z,64)/1e3;if(S.x=zp(S.x,S.target.x,P),S.y=zp(S.y,S.target.y,P),!jp(S.x,S.target.x)||!jp(S.y,S.target.y)){i({paneId:S.paneId,rect:{...S.target,x:S.x.position,y:S.y.position}}),S.frame=requestAnimationFrame(y);return}}f.current=void 0,i(void 0)},_=(S,E,z,O)=>{const P=(A,K,re)=>({position:A,velocity:jZ(A,K,re,120)}),N=performance.now();f.current={paneId:S,target:z,started:N,last:N,x:P(E.x,z.x,O.x),y:P(E.y,z.y,O.y),frame:requestAnimationFrame(y)},i({paneId:S,rect:E})},w=S=>{OZ(e,S)||t.focusPane(S)};return{preview:r,raise:w,drag:(S,E,z)=>{z.stopPropagation();const O=f.current?.paneId===E?r?.rect:void 0;g()&&O===void 0&&i(void 0),l.current=J0();const P=MZ(),N=O??si(wi(Be(e,E)),l.current),A=S==="move"&&!P?XH(N,l.current):N,K={mode:S,originX:z.clientX,originY:z.clientY,rect:A},re=(te,ie)=>{const se=EZ(K,te,ie);if(S==="resize"){const ce=QH(se,l.current,Z4),he=si(ce,l.current);return{drawn:P?he:ce,legal:he}}const xe=si(se,l.current);return{drawn:P?xe:GH(se,l.current),legal:xe}},V=re(z.clientX,z.clientY),H=[];G0(H,performance.now(),V.drawn),h(z.currentTarget,z.pointerId,{move:te=>{const{drawn:ie}=re(te.clientX,te.clientY);G0(H,performance.now(),ie),i({paneId:E,rect:ie})},up:te=>{const{drawn:ie,legal:se}=re(te.clientX,te.clientY);G0(H,performance.now(),ie),q0(se,V.legal)?w(E):S==="move"?t.moveFloat(E,se.x,se.y):t.resizeFloat(E,se),q0(ie,se)||_(E,ie,se,LZ(H))}})},rectOf:(S,E)=>r?.paneId===S?r.rect:si(E,n)}}function cw({paneId:e,tab:t,labels:r,intents:i,renderTabTitle:n,canCloseTab:s,drag:l}){return p.jsxs("header",{className:fe(Ce.tabStrip,Ce.floatHeader),"data-dockkit-float-grip":e,onPointerDown:u=>{l("move",e,u)},children:[p.jsx("div",{className:fe(Ce.tab,Ce.floatTitle),"data-dockkit-float-title":!0,children:p.jsx(nw,{children:n?.(t)??t.title})}),p.jsx("div",{className:Ce.stripFill}),p.jsx(Zn,{label:r.dockFloat,side:"bottom",delayMs:500,children:p.jsx("button",{type:"button",className:Ce.iconButton,"aria-label":r.dockFloat,"data-dockkit-float-dock":e,onPointerDown:u=>{u.stopPropagation()},onClick:()=>{i.unfloatPane(e)},children:p.jsx(ey,{className:Ce.dockGlyph})})}),(s?.(t.id)??!0)&&p.jsx(Zn,{label:r.closeTab,shortcutKeys:r.closeTabKeys,side:"bottom",delayMs:500,children:p.jsx("button",{type:"button",className:Ce.iconButton,"aria-label":r.closeTab,"data-dockkit-float-close":e,onPointerDown:u=>{u.stopPropagation()},onClick:()=>{i.closeTab(t.id)},children:p.jsx(rl,{})})})]})}function NZ({state:e,intents:t,labels:r,renderTab:i,renderTabTitle:n,canCloseTab:s}){const{preview:l,raise:u,drag:f,rectOf:h}=lw(e,t);return p.jsx(p.Fragment,{children:e.floats.map((g,y)=>{const _=Be(e,g),w=Si(e,m_(_)),x=l?.paneId===g?l.rect:void 0,I=h(g,wi(_));return p.jsxs("div",{className:Ce.float,"data-dockkit-float":g,tabIndex:-1,"data-dockkit-float-active":e.activePaneId===g||void 0,style:{...aw(I,x!==void 0),zIndex:x===void 0?y+1:e.floats.length+1},onPointerDown:()=>{u(g)},children:[p.jsx(cw,{paneId:g,tab:w,labels:r,intents:t,renderTabTitle:n,canCloseTab:s,drag:f}),p.jsx("div",{className:Ce.floatBody,children:p.jsx(W4,{tab:w,renderTab:i})}),p.jsx("div",{className:Ce.floatResize,"data-dockkit-float-resize":g,onPointerDown:S=>{f("resize",g,S)}})]},g)})})}function PZ({state:e,callbacks:t,intents:r,tab:i,pane:n,column:s,floats:l,focusRequest:u,offsets:f,keepMounted:h,active:g=!0}){const y=n.host==="float",_=y||n.activeTabId===i.id,w=g&&_&&(y||e.expanded),x=h?.(i)??!1,[I,S]=k.useState(w);w&&!I&&S(!0);const E=k.useRef(null),z=k.useRef(null);k.useLayoutEffect(()=>{const A=E.current;A.inert=!w;const K=document.activeElement;!w&&K instanceof HTMLElement&&A.contains(K)&&K.blur();const re=u.current;!w||re?.tabId!==i.id||(u.current=void 0,!(K!==null&&K!==document.body&&K!==document.documentElement&&K!==re.origin)&&[...A.querySelector("[data-dockkit-strip]")?.querySelectorAll("[data-dockkit-tab]")??[]].find(V=>V.dataset.dockkitTab===i.id)?.focus({preventScroll:!0}))},[w,i.id,u]),k.useEffect(()=>{const A=z.current,K=()=>{w&&(y?l.raise(n.id):e.activePaneId!==n.id&&t.onFocusPane(n.id))};return A.addEventListener("focus",K,!0),()=>{A.removeEventListener("focus",K,!0)}},[w,y,l,n.id,e.activePaneId,t]);const O=y&&l.preview?.paneId===n.id?l.preview.rect:void 0,P=y?l.rectOf(n.id,wi(n)):void 0,N=O===void 0?e.floats.indexOf(n.id)+1:e.floats.length+1;return p.jsx("div",{className:fe(Ce.tabCell,y&&Ce.floatingCell),hidden:!_,"data-dockkit-host":y?"float":"dock","data-dockkit-column":y?void 0:s,style:{gridColumn:y?1:s*2+1,gridRow:1,order:y?N:0},children:p.jsxs("section",{ref:E,tabIndex:-1,className:fe(Ce.tabHost,y?Ce.float:Ce.pane),"aria-hidden":!w||void 0,"data-dockkit-content":i.id,"data-dockkit-pane":!y&&_?n.id:void 0,"data-dockkit-pane-active":!y&&e.activePaneId===n.id||void 0,"data-dockkit-float":y?n.id:void 0,"data-dockkit-float-active":y&&e.activePaneId===n.id||void 0,"data-dockkit-column":y?void 0:s,style:P===void 0?void 0:aw(P,O!==void 0),onPointerDown:()=>{y&&l.raise(n.id)},onClick:()=>{!y&&e.activePaneId!==n.id&&t.onFocusPane(n.id)},children:[p.jsx("div",{className:Ce.tabHostHeader,children:_&&(y?p.jsx(cw,{paneId:n.id,tab:i,labels:t.labels,intents:r,renderTabTitle:t.renderTabTitle,canCloseTab:t.canCloseTab,drag:l.drag}):p.jsx(rw,{state:e,pane:n,callbacks:t,offsets:f}))}),p.jsxs("div",{ref:z,className:fe(Ce.tabHostBody,y?Ce.floatBody:Ce.paneBody),children:[I&&(x||g&&_)?p.jsx(W4,{tab:i,renderTab:t.renderTab}):null,!y&&p.jsx(iw,{pane:n,callbacks:t})]}),y&&p.jsx("div",{className:Ce.floatResize,"data-dockkit-float-resize":n.id,onPointerDown:A=>{l.drag("resize",n.id,A)}})]})})}function DZ(e){const{state:t,callbacks:r,preview:i}=e,n=k.useRef(),[s]=k.useState(()=>new Map),l={...r,onFocusTab:_=>{n.current=En(t,_).activeTabId===_?void 0:{tabId:_,origin:document.activeElement},r.onFocusTab(_)}},u=ur(t,t.rootId);if(u.kind==="split"&&(u.axis!=="row"||u.children.length!==2))throw new Error("DockLayout requires one pane or two horizontally split panes");const f=u.kind==="pane"?[u]:u.children.map(_=>Be(t,_)),h=u.kind==="split"?i?.splitId===u.id?i.sizes:u.sizes:[1],g=lw(t,e.intents),y=h.map(_=>`minmax(0, ${_}fr)`).join(" 0px ");return p.jsxs("div",{className:Ce.tabLayout,"data-dockkit-split":u.kind==="split"?u.id:void 0,style:{gridTemplateColumns:y},children:[Object.values(t.tabs).sort((_,w)=>_.id.localeCompare(w.id)).map(_=>{const w=En(t,_.id);return p.jsx(PZ,{...e,callbacks:l,tab:_,pane:w,column:f.findIndex(x=>x.id===w.id),floats:g,focusRequest:n,offsets:s},_.id)}),f.filter(_=>_.tabs.length===0).map(_=>p.jsx("div",{className:Ce.emptyTabHost,"data-dockkit-empty":!0,style:{gridColumn:f.indexOf(_)*2+1,gridRow:1},children:p.jsx(ow,{state:t,pane:_,callbacks:r})},_.id)),u.kind==="split"&&p.jsx("div",{className:fe(Ce.divider,Ce.tabLayoutDivider),"data-dockkit-divider":`${u.id}:0`,style:{gridColumn:2,gridRow:1},onPointerDown:_=>{r.onDividerPressed(u.id,0,_)}})]})}const $1={draggingTabId:void 0,dropTarget:void 0,sizes:void 0},RZ=new Map,Ep=()=>!0;function Op(e,t,r,i,n,s,l){for(const[u,f]of ew(e)){const h=f.getBoundingClientRect();if(!Y1(h,t,r))continue;const g=f.querySelector("[data-dockkit-strip]");if(g!==null&&Y1(g.getBoundingClientRect(),t,r)){const _=[...g.querySelectorAll("[data-dockkit-tab]")],w=M_(_.map(I=>I.getBoundingClientRect()),t),x=_.findIndex(I=>I.dataset.dockkitTab===i);return x>=0&&(w===x||w===x+1)?void 0:{kind:"strip",paneId:u,index:w}}const y=l==="horizontal"?n&&z2(s,u).row?t<h.x+h.width/2?"left":"right":"center":O_(h,t,r);if(y!=="center"){const _=z2(s,u),w=y==="left"||y==="right"?_.row:_.column;if(!n||!w)return}return{kind:"zone",paneId:u,zone:y}}}function Mp(e,t,r,i){const n=(e.axis==="row"?t:r)-e.origin,s=e.extent>0?n/e.extent:0;return B4(N_(e.sizes,e.index,s),i)}const AZ=1e-9;function FZ(e,t){return e.length===t.length&&e.every((r,i)=>{const n=t[i];return n!==void 0&&Math.abs(r-n)<AZ})}function uw({state:e,canSplit:t,canAddTab:r,canCloseTab:i,intents:n,labels:s,renderTab:l,renderTabTitle:u,renderTabMenuItems:f,chrome:h,onRoom:g,draw:y,dropZones:_="edges",minPaneFraction:w=H4,hideSplitWhenBlocked:x=!1}){const I=k.useRef(null),[S,E]=k.useState($1),[z,O]=k.useState(RZ),P=tw(()=>{E($1)}),N=k.useCallback(V=>{const H=I.current;H!==null&&V(H)},[]),A=k.useCallback(()=>{N(V=>{const H=lZ(V,x);O(te=>cZ(te,H)?te:H)})},[N,x]);k.useLayoutEffect(()=>{A()}),k.useEffect(()=>{g?.(z)},[z,g]),k.useEffect(()=>{const V=I.current;if(V===null||typeof ResizeObserver>"u")return;const H=new ResizeObserver(()=>{A()});return H.observe(V),()=>{H.disconnect()}},[A]);const K=V=>t?z2(z,V).row?void 0:"width":"budget",re={onFocusTab:n.focusTab.bind(n),onFocusPane:n.focusPane.bind(n),onSplitPane:n.splitPane.bind(n),onAddTab:n.addTab.bind(n),onCloseTab:n.closeTab.bind(n),onTabPressed:(V,H)=>{N(te=>{const ie=H.clientX,se=H.clientY;let xe=!1;P(H.currentTarget,H.pointerId,{move:ce=>{if(!xe){if(!L_(ie,se,ce.clientX,ce.clientY))return;xe=!0}E({...$1,draggingTabId:V,dropTarget:Op(te,ce.clientX,ce.clientY,V,t,z,_)})},up:ce=>{if(!xe)return;const he=Op(te,ce.clientX,ce.clientY,V,t,z,_);if(he===void 0){if(Y1(te.getBoundingClientRect(),ce.clientX,ce.clientY))return;n.floatTab(V,R_(ce.clientX,ce.clientY,G1));return}he.kind==="strip"?n.placeTab(V,he.paneId,he.index):n.dropTab(V,he.paneId,he.zone)}})})},onDividerPressed:(V,H,te)=>{const ie=te.currentTarget.parentElement;if(ie===null)return;const se=ku(e,V),xe=ie.getBoundingClientRect(),ce={index:H,axis:se.axis,origin:se.axis==="row"?te.clientX:te.clientY,extent:se.axis==="row"?xe.width:xe.height,sizes:se.sizes};P(te.currentTarget,te.pointerId,{move:he=>{E({...$1,sizes:{splitId:V,sizes:Mp(ce,he.clientX,he.clientY,w)}})},up:he=>{const ze=Mp(ce,he.clientX,he.clientY,w);FZ(ze,ce.sizes)||n.resizeSplit(V,ze)}})},splitBlock:K,hideSplitWhenBlocked:x,canAddTab:r??Ep,canCloseTab:i??Ep,dropTarget:S.dropTarget,horizontalDrops:_==="horizontal",draggingTabId:S.draggingTabId,labels:s,renderTab:l,renderTabTitle:u,renderTabMenuItems:f,chromePaneId:__(e),chrome:h};return p.jsx("div",{className:Ce.surface,ref:I,"data-dockkit-surface":!0,"data-dockkit-drop-zones":_,children:y(re,S.sizes)})}function UZ(e){return p.jsx(uw,{...e,draw:(t,r)=>p.jsx(sw,{state:e.state,nodeId:e.state.rootId,callbacks:t,preview:r})})}function HZ(e){return p.jsx(uw,{...e,draw:(t,r)=>p.jsx(DZ,{...e,callbacks:t,preview:r})})}const ZZ=Object.freeze(Object.defineProperty({__proto__:null,DOCK_EDGE_FRACTION:V4,DOCK_ZONES:qH,DRAG_THRESHOLD:JH,DockController:nZ,DockLayout:HZ,DockSurface:UZ,EMPTY_HISTORY:b_,FLOAT_DEFAULT_SIZE:G1,FLOAT_MIN_SIZE:Z4,FloatLayer:NZ,MAX_DOCK_PANES:KH,MIN_PANE_FRACTION:H4,SPLIT_MINIMUMS:xi,Sequencer:I_,activeDockPaneId:Vo,applyOp:Zo,canSplit:Su,canStepBack:F4,canStepForward:U4,clampSizes:B4,containsPoint:Y1,createIdMinter:X_,createInitialState:Q_,dividerSizes:N_,dockPaneCount:z_,dockPaneIds:$u,findContentTab:F_,findPaneContentTab:A_,findParent:Cu,findTabPane:En,floatRectAt:R_,getNode:ur,getPane:Be,getSplit:ku,getTab:Si,halvesFit:T_,insertionIndex:M_,isFocusOp:x_,movedRect:P_,passedThreshold:L_,planAddTab:V_,planDropTab:q_,planDuplicateTab:W_,planFloatTab:J_,planOpenContent:B_,planPlaceTab:K_,planResizeSplit:Y_,planSetExpanded:U_,planSetMode:H_,planSettle:tZ,planSplitPane:Z_,planUnfloatPane:G_,record:C_,recordedOps:k_,replay:BH,resizedRect:D_,stepBack:$_,stepForward:S_,topRightPaneId:__,zoneAt:j_,zoneInRect:O_,zoneSplit:E_},Symbol.toStringTag,{value:"Module"})),ro={PENDING:0,LOADING:1,ACTIVE:2,FAILED:3,DISPOSED:4,UNLOADING:5},dw={[ro.PENDING]:"pending",[ro.LOADING]:"loading",[ro.ACTIVE]:"active",[ro.FAILED]:"failed",[ro.DISPOSED]:"disposed",[ro.UNLOADING]:"unloading"};async function VZ(e){const{ctx:t,manifest:r,onEntryState:i}=e;await t.plugin(Xx);const n=t.loader;n.internal=e.modules,t.on("internal/status",l=>{const u=l.entry;u===void 0||u.fiber===void 0||i?.(u.options.name,dw[u.fiber.state])});const s=r.plugins.map(l=>l.id);for(const l of s)i?.(l,"loading");await e.modules.entries.start(n,r);for(const l of n.entries())l.fiber===void 0&&i?.(l.options.name,"failed");await n.await(),BZ(t,e.modules)}function BZ(e,t){const r=[];for(const i of e.loader.entries()){const n=i.options.name;if(i.fiber===void 0){const l=t.importError(n);r.push(l===void 0?`${n}: import failed (see console for the import error)`:`${n}: import failed: ${l.message}`);continue}const s=dw[i.fiber.state];if(s!=="active")if(s==="pending"){const l=Object.keys(i.fiber.inject).filter(u=>e.get(u)===void 0);r.push(`${n}: pending (waiting for service${l.length===1?"":"s"}: ${l.join(", ")||"unknown"})`)}else r.push(`${n}: ${s}`)}if(r.length>0)throw new Error(`web boot: ${String(r.length)} entr${r.length===1?"y":"ies"} did not activate
|
|
195
|
-
${r.join(`
|
|
196
|
-
`)}`)}function ir(e,t){const r=document.createElement("div");return r.className=e??"",t!==void 0&&(r.textContent=t),r}var WZ=class{root;card;wordmark;spinner;hint;states=new Map;active=new Set;total=0;failure;constructor(e){this.root=ir(nr.boot),this.root.dataset.dshBoot="",this.card=ir(nr.card),this.wordmark=ir(nr.wordmark,"HARNESS"),this.spinner=ir(nr.spinner),this.spinner.dataset.dshBootSpinner="",this.hint=ir(nr.hint,"Loading plugins…"),this.card.append(this.wordmark,this.spinner,this.hint),this.root.append(this.card),e.append(this.root),this.updateProgress()}setTotal(e){this.total=e,this.updateProgress()}setState(e,t){this.states.set(e,t),t==="active"&&this.active.add(e),this.updateProgress(),this.render()}fail(e){this.failure=e,this.render()}dispose(){this.root.remove()}render(){const e=[...this.states].filter(([,r])=>r==="failed").map(([r])=>r);if(this.failure===void 0&&e.length===0){this.spinner.parentElement!==this.card&&this.card.replaceChildren(this.wordmark,this.spinner,this.hint);return}const t=ir(nr.failed);t.append(ir(nr.failedTitle,"Failed to load plugins"));for(const r of e)t.append(ir(nr.failedItem,r));this.failure!==void 0&&t.append(ir(nr.failedItem,this.failure)),this.card.replaceChildren(this.wordmark,t)}updateProgress(){const e=this.total===0?0:Math.min(this.active.size/this.total,1);this.spinner.style.setProperty("--dsh-boot-arc",`${String(Math.round(72+e*216))}deg`)}};async function KZ(e,t){await e.inject(["uiRenderer"],r=>{r.effect(()=>r.uiRenderer.mount(t),"web boot: application mount")})}function qZ(){return{react:ck,"react/jsx-runtime":hk,"react-dom":yk,"react-dom/client":bk,"@deepseek-ai/cordis":Nx,zod:WS,"@tanstack/react-virtual":eI,"@deepseek-ai/dsh-client-store":kI,"@deepseek-ai/dsh-client-ui-slots":jI,"@deepseek-ai/dsh-client-ui-primitives":DU,"@deepseek-ai/dsh-client-ui-dockkit":ZZ}}const JZ="data-window-drag",Y0="data-window-drag-recall",ci=`[${JZ}]`,GZ=2,Tp=["transitionstart","transitionend","animationstart","animationend"];function YZ(e){const t=e.document;if(t.documentElement.dataset.platform!=="darwin")return()=>{};const r=e.scheduleFrame??eV,i=e.watchBox??tV;let n=new Map;const s=new Map;let l=!1,u=!1,f,h=0;const g=()=>{t.body.removeAttribute(Y0);const E=Array.from(t.querySelectorAll(ci));w(E);const z=new Map(E.map(P=>[P,XZ(P)])),O=E.length!==n.size||E.some(P=>n.get(P)!==z.get(P));if(n=z,O){t.body.setAttribute(Y0,""),h=0,_();return}h!==0&&(h-=1,_())},y=()=>{h=GZ,_()},_=()=>{l||(l=!0,f=r(()=>{l=!1,f=void 0,!u&&g()}))},w=E=>{for(const[z,O]of s)E.includes(z)||(O(),s.delete(z));for(const z of E)s.has(z)||s.set(z,i(z,y))},x=E=>E instanceof Element?E.closest(ci)!==null||E.querySelector(ci)!==null:!1,I=E=>{x(E.target)&&y()},S=new MutationObserver(E=>{E.some(z=>QZ(z,n.keys()))&&y()});S.observe(t.body,{subtree:!0,childList:!0,attributes:!0,characterData:!0});for(const E of Tp)t.addEventListener(E,I,!0);return y(),()=>{u=!0,S.disconnect();for(const E of Tp)t.removeEventListener(E,I,!0);f!==void 0&&f();for(const E of s.values())E();s.clear(),n.clear(),t.body.removeAttribute(Y0)}}function XZ(e){const t=e.getBoundingClientRect();return`${t.x},${t.y},${t.width},${t.height}`}function QZ(e,t){if(e.attributeName==="data-window-drag-recall")return!1;for(const i of[...e.addedNodes,...e.removedNodes])if(i instanceof Element&&(i.matches(ci)||i.querySelector(ci)!==null))return!0;const r=e.target instanceof Element?e.target:e.target.parentElement;if(r===null)return!1;if(e.type==="childList"){for(const i of t)if(r.contains(i))return!0;return!1}return r.closest(ci)!==null||r.querySelector(ci)!==null}function eV(e){const t=requestAnimationFrame(e);return()=>{cancelAnimationFrame(t)}}function tV(e,t){if(typeof ResizeObserver!="function")return()=>{};const r=new ResizeObserver(t);return r.observe(e),()=>{r.disconnect()}}var nV=class{container;seams;page;ctx;stopDragRecall;modules;manifest;constructor(e,t){this.container=e,this.seams=t,this.page=new WZ(e)}async run(e){try{await globalThis.__DSH_BOOT_READY__?.promise;const t=globalThis,r=t.__ModuleLoader__;if(r===void 0)throw new Error("web boot: window.__ModuleLoader__ bootstrap facade is missing");const i=globalThis.__DSH_TRANSPORT__;this.modules=r.create({boot:t.__DSH_BOOT__,staticModules:qZ(),...i?.loadBundle===void 0?{}:{loadBundle:i.loadBundle},...i?.resolveAsset===void 0?{}:{resolveAsset:i.resolveAsset},...this.seams}),this.manifest=this.modules.manifest;const n=this.prefetchImmediateTier(),s=new at;this.ctx=s,this.page.setTotal(this.manifest.plugins.length),await n,await VZ({ctx:s,modules:this.modules,manifest:this.manifest,onEntryState:(l,u)=>{(e===void 0||u!=="failed")&&this.page.setState(l,u)}}),this.stopDragRecall=YZ({document:this.container.ownerDocument}),await KZ(s,this.container)}catch(t){console.error(t),e!==void 0?e(t):this.page.fail(t instanceof Error?t.message:String(t))}}async dispose(){this.stopDragRecall?.(),this.stopDragRecall=void 0;const e=this.ctx;this.ctx=void 0,e!==void 0&&await e.fiber.dispose(),this.page.dispose()}async prefetchImmediateTier(){await Promise.all(this.manifest.plugins.filter(e=>e.immediately).map(e=>this.modules.prefetch(e.id).catch(t=>{})))}};function rV(e){throw new Error(`web boot: unknown index injection row ${JSON.stringify(e)}`)}async function iV(e,t){for(const r of e)switch(r.kind){case"global":globalThis[r.name]=r.value;break;case"script":{const i=document.createElement("script");i.textContent=r.text,(r.placement==="head"?document.head:document.body).append(i);break}case"script-src":await t(r.src);break;case"script-preload":break;case"style":{const i=document.createElement("style");i.textContent=r.text,document.head.append(i);break}case"html":(r.placement==="head"?document.head:document.body).insertAdjacentHTML("beforeend",r.html);break;default:rV(r)}}const Ws=globalThis.dshDesktopBoot,Lp=e=>{if(Ws===void 0)throw e;Ws.failed(e instanceof Error?e.message:String(e)).catch(console.error)};try{const e=document.getElementById("root");if(e===null)throw new Error("web app: missing #root");const t=new nV(e);if(Ws!==void 0){const r=globalThis.__DSH_BOOT_READY__;if(r===void 0)throw new Error("desktop web: boot readiness is missing");Ws.ready().then(async({injections:i,streamBaseUrl:n})=>{const s=globalThis;s.__DSH_TRANSPORT__={ownsHost:!0,streamBaseUrl:n},await iV(i,l=>new Promise((u,f)=>{const h=document.createElement("script");h.src=l,h.onload=()=>{u()},h.onerror=()=>{f(new Error(`desktop web: failed to load ${l}`))},document.head.append(h)})),r.resolve()}).catch(i=>{r.reject(i)})}t.run(Ws===void 0?void 0:Lp)}catch(e){Lp(e)}
|
|
197
|
-
//# sourceMappingURL=index--TtJvO-i.js.map
|