zudoku 0.0.0-fix-create-zudoku-run-build.eff26864 → 0.0.0-fix-downgrade-openapi-parser.aac00796
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 +32 -12
- package/client.d.ts +8 -0
- package/dist/app/entry.server.js +14 -1
- package/dist/app/entry.server.js.map +1 -1
- package/dist/cli/cli.d.ts +9 -0
- package/dist/cli/cli.js +4 -10
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/common/version-check.d.ts +2 -0
- package/dist/cli/common/version-check.js +58 -0
- package/dist/cli/common/version-check.js.map +1 -0
- package/dist/config/config.d.ts +6 -1
- package/dist/config/validators/BuildSchema.d.ts +15 -7
- package/dist/config/validators/BuildSchema.js +19 -2
- package/dist/config/validators/BuildSchema.js.map +1 -1
- package/dist/config/validators/InputNavigationSchema.d.ts +184 -24
- package/dist/config/validators/InputNavigationSchema.js +1 -0
- package/dist/config/validators/InputNavigationSchema.js.map +1 -1
- package/dist/config/validators/icon-types.d.ts +1 -1
- package/dist/config/validators/icon-types.js +39 -0
- package/dist/config/validators/icon-types.js.map +1 -1
- package/dist/config/validators/validate.d.ts +45 -17
- package/dist/config/validators/validate.js +31 -8
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/flat-config.d.ts +357 -0
- package/dist/lib/assets/language-icons/c.d.ts +3 -0
- package/dist/lib/assets/language-icons/c.js +4 -0
- package/dist/lib/assets/language-icons/c.js.map +1 -0
- package/dist/lib/assets/language-icons/commonlisp.d.ts +3 -0
- package/dist/lib/assets/language-icons/commonlisp.js +4 -0
- package/dist/lib/assets/language-icons/commonlisp.js.map +1 -0
- package/dist/lib/assets/language-icons/cpp.d.ts +3 -0
- package/dist/lib/assets/language-icons/cpp.js +4 -0
- package/dist/lib/assets/language-icons/cpp.js.map +1 -0
- package/dist/lib/assets/language-icons/csharp.d.ts +3 -0
- package/dist/lib/assets/language-icons/csharp.js +4 -0
- package/dist/lib/assets/language-icons/csharp.js.map +1 -0
- package/dist/lib/assets/language-icons/css.d.ts +3 -0
- package/dist/lib/assets/language-icons/css.js +4 -0
- package/dist/lib/assets/language-icons/css.js.map +1 -0
- package/dist/lib/assets/language-icons/dart.d.ts +3 -0
- package/dist/lib/assets/language-icons/dart.js +4 -0
- package/dist/lib/assets/language-icons/dart.js.map +1 -0
- package/dist/lib/assets/language-icons/elixir.d.ts +3 -0
- package/dist/lib/assets/language-icons/elixir.js +4 -0
- package/dist/lib/assets/language-icons/elixir.js.map +1 -0
- package/dist/lib/assets/language-icons/go.d.ts +3 -0
- package/dist/lib/assets/language-icons/go.js +4 -0
- package/dist/lib/assets/language-icons/go.js.map +1 -0
- package/dist/lib/assets/language-icons/graphql.d.ts +3 -0
- package/dist/lib/assets/language-icons/graphql.js +4 -0
- package/dist/lib/assets/language-icons/graphql.js.map +1 -0
- package/dist/lib/assets/language-icons/html.d.ts +3 -0
- package/dist/lib/assets/language-icons/html.js +4 -0
- package/dist/lib/assets/language-icons/html.js.map +1 -0
- package/dist/lib/assets/language-icons/java.d.ts +3 -0
- package/dist/lib/assets/language-icons/java.js +4 -0
- package/dist/lib/assets/language-icons/java.js.map +1 -0
- package/dist/lib/assets/language-icons/javascript.d.ts +3 -0
- package/dist/lib/assets/language-icons/javascript.js +4 -0
- package/dist/lib/assets/language-icons/javascript.js.map +1 -0
- package/dist/lib/assets/language-icons/json.d.ts +3 -0
- package/dist/lib/assets/language-icons/json.js +4 -0
- package/dist/lib/assets/language-icons/json.js.map +1 -0
- package/dist/lib/assets/language-icons/kotlin.d.ts +3 -0
- package/dist/lib/assets/language-icons/kotlin.js +4 -0
- package/dist/lib/assets/language-icons/kotlin.js.map +1 -0
- package/dist/lib/assets/language-icons/markdown.d.ts +3 -0
- package/dist/lib/assets/language-icons/markdown.js +4 -0
- package/dist/lib/assets/language-icons/markdown.js.map +1 -0
- package/dist/lib/assets/language-icons/mdx.d.ts +3 -0
- package/dist/lib/assets/language-icons/mdx.js +4 -0
- package/dist/lib/assets/language-icons/mdx.js.map +1 -0
- package/dist/lib/assets/language-icons/objectivec.d.ts +3 -0
- package/dist/lib/assets/language-icons/objectivec.js +4 -0
- package/dist/lib/assets/language-icons/objectivec.js.map +1 -0
- package/dist/lib/assets/language-icons/ocaml.d.ts +3 -0
- package/dist/lib/assets/language-icons/ocaml.js +4 -0
- package/dist/lib/assets/language-icons/ocaml.js.map +1 -0
- package/dist/lib/assets/language-icons/php.d.ts +3 -0
- package/dist/lib/assets/language-icons/php.js +4 -0
- package/dist/lib/assets/language-icons/php.js.map +1 -0
- package/dist/lib/assets/language-icons/powershell.d.ts +3 -0
- package/dist/lib/assets/language-icons/powershell.js +4 -0
- package/dist/lib/assets/language-icons/powershell.js.map +1 -0
- package/dist/lib/assets/language-icons/python.d.ts +3 -0
- package/dist/lib/assets/language-icons/python.js +4 -0
- package/dist/lib/assets/language-icons/python.js.map +1 -0
- package/dist/lib/assets/language-icons/react.d.ts +3 -0
- package/dist/lib/assets/language-icons/react.js +4 -0
- package/dist/lib/assets/language-icons/react.js.map +1 -0
- package/dist/lib/assets/language-icons/ruby.d.ts +3 -0
- package/dist/lib/assets/language-icons/ruby.js +4 -0
- package/dist/lib/assets/language-icons/ruby.js.map +1 -0
- package/dist/lib/assets/language-icons/rust.d.ts +3 -0
- package/dist/lib/assets/language-icons/rust.js +4 -0
- package/dist/lib/assets/language-icons/rust.js.map +1 -0
- package/dist/lib/assets/language-icons/scala.d.ts +3 -0
- package/dist/lib/assets/language-icons/scala.js +4 -0
- package/dist/lib/assets/language-icons/scala.js.map +1 -0
- package/dist/lib/assets/language-icons/shell.d.ts +3 -0
- package/dist/lib/assets/language-icons/shell.js +4 -0
- package/dist/lib/assets/language-icons/shell.js.map +1 -0
- package/dist/lib/assets/language-icons/swift.d.ts +3 -0
- package/dist/lib/assets/language-icons/swift.js +4 -0
- package/dist/lib/assets/language-icons/swift.js.map +1 -0
- package/dist/lib/assets/language-icons/toml.d.ts +3 -0
- package/dist/lib/assets/language-icons/toml.js +4 -0
- package/dist/lib/assets/language-icons/toml.js.map +1 -0
- package/dist/lib/assets/language-icons/typescript.d.ts +3 -0
- package/dist/lib/assets/language-icons/typescript.js +4 -0
- package/dist/lib/assets/language-icons/typescript.js.map +1 -0
- package/dist/lib/assets/language-icons/xml.d.ts +3 -0
- package/dist/lib/assets/language-icons/xml.js +4 -0
- package/dist/lib/assets/language-icons/xml.js.map +1 -0
- package/dist/lib/assets/language-icons/yaml.d.ts +3 -0
- package/dist/lib/assets/language-icons/yaml.js +4 -0
- package/dist/lib/assets/language-icons/yaml.js.map +1 -0
- package/dist/lib/assets/language-icons/zig.d.ts +3 -0
- package/dist/lib/assets/language-icons/zig.js +4 -0
- package/dist/lib/assets/language-icons/zig.js.map +1 -0
- package/dist/lib/authentication/authentication.d.ts +17 -9
- package/dist/lib/authentication/components/OAuthErrorPage.js +1 -1
- package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -1
- package/dist/lib/authentication/components/SignIn.js +6 -5
- package/dist/lib/authentication/components/SignIn.js.map +1 -1
- package/dist/lib/authentication/components/SignOut.js +6 -6
- package/dist/lib/authentication/components/SignOut.js.map +1 -1
- package/dist/lib/authentication/components/SignUp.js +5 -5
- package/dist/lib/authentication/components/SignUp.js.map +1 -1
- package/dist/lib/authentication/hook.d.ts +3 -2
- package/dist/lib/authentication/hook.js +12 -8
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.js +8 -4
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/azureb2c.d.ts +4 -4
- package/dist/lib/authentication/providers/azureb2c.js +3 -3
- package/dist/lib/authentication/providers/azureb2c.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.js +2 -2
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +7 -7
- package/dist/lib/authentication/providers/openid.js +5 -3
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/providers/supabase/SupabaseAuthUI.d.ts +8 -0
- package/dist/lib/authentication/providers/supabase/SupabaseAuthUI.js +39 -0
- package/dist/lib/authentication/providers/supabase/SupabaseAuthUI.js.map +1 -0
- package/dist/lib/authentication/providers/supabase.js +35 -31
- package/dist/lib/authentication/providers/supabase.js.map +1 -1
- package/dist/lib/authentication/state.d.ts +5 -7
- package/dist/lib/authentication/state.js +2 -14
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/BuildCheck.js +2 -2
- package/dist/lib/components/BuildCheck.js.map +1 -1
- package/dist/lib/components/Heading.js +1 -5
- package/dist/lib/components/Heading.js.map +1 -1
- package/dist/lib/components/LanguageIcon.d.ts +3 -0
- package/dist/lib/components/LanguageIcon.js +163 -0
- package/dist/lib/components/LanguageIcon.js.map +1 -0
- package/dist/lib/components/Main.js +1 -1
- package/dist/lib/components/Main.js.map +1 -1
- package/dist/lib/components/Meta.js +1 -1
- package/dist/lib/components/Meta.js.map +1 -1
- package/dist/lib/components/Zudoku.js +3 -3
- package/dist/lib/components/cache.d.ts +3 -1
- package/dist/lib/components/cache.js +3 -5
- package/dist/lib/components/cache.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.js +10 -2
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/index.d.ts +14 -4
- package/dist/lib/components/index.js +2 -0
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/NavigationItem.js +1 -1
- package/dist/lib/components/navigation/NavigationItem.js.map +1 -1
- package/dist/lib/components/navigation/Toc.js +1 -1
- package/dist/lib/components/navigation/Toc.js.map +1 -1
- package/dist/lib/core/RouteGuard.d.ts +1 -1
- package/dist/lib/core/RouteGuard.js +6 -14
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +1 -0
- package/dist/lib/core/ZudokuContext.js +2 -0
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/__internal.d.ts +1 -1
- package/dist/lib/hooks/index.d.ts +3 -3
- package/dist/lib/oas/graphql/index.js +37 -2
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.js +7 -1
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKeyDialog.d.ts +11 -0
- package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js +9 -0
- package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js.map +1 -0
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +5 -10
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +2 -1
- package/dist/lib/plugins/markdown/MdxPage.js +29 -5
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/assets/ChatGPTLogo.d.ts +2 -0
- package/dist/lib/plugins/markdown/assets/ChatGPTLogo.js +3 -0
- package/dist/lib/plugins/markdown/assets/ChatGPTLogo.js.map +1 -0
- package/dist/lib/plugins/markdown/assets/ClaudeLogo.d.ts +2 -0
- package/dist/lib/plugins/markdown/assets/ClaudeLogo.js +3 -0
- package/dist/lib/plugins/markdown/assets/ClaudeLogo.js.map +1 -0
- package/dist/lib/plugins/markdown/index.d.ts +3 -1
- package/dist/lib/plugins/markdown/index.js +1 -1
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/openapi/MCPEndpoint.d.ts +5 -0
- package/dist/lib/plugins/openapi/MCPEndpoint.js +56 -0
- package/dist/lib/plugins/openapi/MCPEndpoint.js.map +1 -0
- package/dist/lib/plugins/openapi/OperationList.d.ts +0 -2
- package/dist/lib/plugins/openapi/OperationList.js +22 -6
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +2 -2
- package/dist/lib/plugins/openapi/OperationListItem.js +8 -3
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -2
- package/dist/lib/plugins/openapi/ParameterList.js +1 -1
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.d.ts +2 -3
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +3 -4
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +1 -3
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +2 -2
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.d.ts +4 -3
- package/dist/lib/plugins/openapi/Sidecar.js +6 -9
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarExamples.d.ts +2 -4
- package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +2 -2
- package/dist/lib/plugins/openapi/graphql/gql.js +3 -2
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +11 -2
- package/dist/lib/plugins/openapi/graphql/graphql.js +11 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.js +5 -10
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +3 -2
- package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +2 -2
- package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +1 -1
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +3 -3
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +2 -2
- package/dist/lib/plugins/openapi/playground/Playground.js +13 -3
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +3 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +2 -1
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +10 -2
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +5 -3
- package/dist/lib/plugins/openapi/playground/result-panel/Highlight.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +33 -19
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.d.ts +5 -3
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js +2 -0
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.d.ts +2 -1
- package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js +2 -2
- package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js +5 -5
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/UnionView.d.ts +2 -1
- package/dist/lib/plugins/openapi/schema/UnionView.js +13 -7
- package/dist/lib/plugins/openapi/schema/UnionView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/union-helpers.js +25 -1
- package/dist/lib/plugins/openapi/schema/union-helpers.js.map +1 -1
- package/dist/lib/plugins/openapi/state.d.ts +5 -3
- package/dist/lib/shiki.d.ts +1 -1
- package/dist/lib/shiki.js +26 -2
- package/dist/lib/shiki.js.map +1 -1
- package/dist/lib/ui/Callout.d.ts +5 -5
- package/dist/lib/ui/Callout.js +5 -5
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/ui/Carousel.js.map +1 -1
- package/dist/lib/ui/CodeBlock.d.ts +1 -1
- package/dist/lib/ui/CodeBlock.js +3 -28
- package/dist/lib/ui/CodeBlock.js.map +1 -1
- package/dist/lib/ui/Dialog.d.ts +12 -18
- package/dist/lib/ui/Dialog.js +30 -17
- package/dist/lib/ui/Dialog.js.map +1 -1
- package/dist/lib/ui/EmbeddedCodeBlock.d.ts +3 -1
- package/dist/lib/ui/EmbeddedCodeBlock.js +2 -2
- package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -1
- package/dist/lib/ui/ReactComponentDoc.d.ts +20 -0
- package/dist/lib/ui/ReactComponentDoc.js +10 -0
- package/dist/lib/ui/ReactComponentDoc.js.map +1 -0
- package/dist/lib/ui/Secret.d.ts +18 -0
- package/dist/lib/ui/Secret.js +26 -0
- package/dist/lib/ui/Secret.js.map +1 -0
- package/dist/lib/ui/SyntaxHighlight.d.ts +1 -0
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
- package/dist/lib/ui/Value.d.ts +5 -0
- package/dist/lib/ui/Value.js +13 -0
- package/dist/lib/ui/Value.js.map +1 -0
- package/dist/lib/util/MdxComponents.d.ts +2 -1
- package/dist/lib/util/MdxComponents.js +3 -2
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/pastellize.js +4 -4
- package/dist/lib/util/pastellize.js.map +1 -1
- package/dist/lib/util/syncZustandState.d.ts +5 -0
- package/dist/lib/util/syncZustandState.js +14 -0
- package/dist/lib/util/syncZustandState.js.map +1 -0
- package/dist/lib/util/traverse.d.ts +1 -0
- package/dist/lib/util/traverse.js +25 -0
- package/dist/lib/util/traverse.js.map +1 -1
- package/dist/vite/api/SchemaManager.d.ts +3 -1
- package/dist/vite/api/SchemaManager.js +32 -9
- package/dist/vite/api/SchemaManager.js.map +1 -1
- package/dist/vite/api/SchemaManager.test.js +2 -2
- package/dist/vite/api/SchemaManager.test.js.map +1 -1
- package/dist/vite/api/schema-codegen.js +60 -41
- package/dist/vite/api/schema-codegen.js.map +1 -1
- package/dist/vite/api/schema-codegen.test.js +75 -2
- package/dist/vite/api/schema-codegen.test.js.map +1 -1
- package/dist/vite/llms.d.ts +12 -0
- package/dist/vite/llms.js +66 -0
- package/dist/vite/llms.js.map +1 -0
- package/dist/vite/plugin-api.js +18 -17
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-docs.d.ts +9 -0
- package/dist/vite/plugin-docs.js +68 -45
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-markdown-export.d.ts +21 -0
- package/dist/vite/plugin-markdown-export.js +141 -0
- package/dist/vite/plugin-markdown-export.js.map +1 -0
- package/dist/vite/plugin-mdx.d.ts +1 -1
- package/dist/vite/plugin-mdx.js +41 -32
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-navigation.js +4 -0
- package/dist/vite/plugin-navigation.js.map +1 -1
- package/dist/vite/plugin.js +2 -0
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender/prerender.js +37 -4
- package/dist/vite/prerender/prerender.js.map +1 -1
- package/dist/zuplo/enrich-with-zuplo-mcp.d.ts +4 -0
- package/dist/zuplo/enrich-with-zuplo-mcp.js +117 -0
- package/dist/zuplo/enrich-with-zuplo-mcp.js.map +1 -0
- package/dist/zuplo/enrich-with-zuplo.d.ts +1 -0
- package/dist/zuplo/enrich-with-zuplo.js +1 -1
- package/dist/zuplo/enrich-with-zuplo.js.map +1 -1
- package/dist/zuplo/with-zuplo-processors.js +2 -0
- package/dist/zuplo/with-zuplo-processors.js.map +1 -1
- package/lib/{Button-B3o-2Xdf.js → Button-DmS4u8Lj.js} +2 -2
- package/lib/{Button-B3o-2Xdf.js.map → Button-DmS4u8Lj.js.map} +1 -1
- package/lib/{Card-CMDQUPM4.js → Card-KFniaZn5.js} +2 -2
- package/lib/{Card-CMDQUPM4.js.map → Card-KFniaZn5.js.map} +1 -1
- package/lib/{CategoryHeading-DCpZu3yG.js → CategoryHeading-DhmodDcq.js} +2 -2
- package/lib/{CategoryHeading-DCpZu3yG.js.map → CategoryHeading-DhmodDcq.js.map} +1 -1
- package/lib/{Command-CUSlH0gJ.js → Command-CUcrW3qs.js} +3 -3
- package/lib/{Command-CUSlH0gJ.js.map → Command-CUcrW3qs.js.map} +1 -1
- package/lib/Dialog-BQciPiHN.js +144 -0
- package/lib/Dialog-BQciPiHN.js.map +1 -0
- package/lib/{Drawer-DJ05s2pH.js → Drawer-Ci7XwhqT.js} +2 -2
- package/lib/{Drawer-DJ05s2pH.js.map → Drawer-Ci7XwhqT.js.map} +1 -1
- package/lib/DropdownMenu-BZ2NKQ3K.js +126 -0
- package/lib/DropdownMenu-BZ2NKQ3K.js.map +1 -0
- package/lib/{Slot-BbdqiRXo.js → ErrorAlert-DE3Sf66a.js} +2176 -2251
- package/lib/ErrorAlert-DE3Sf66a.js.map +1 -0
- package/lib/MdxPage-DZfeC0QY.js +240 -0
- package/lib/MdxPage-DZfeC0QY.js.map +1 -0
- package/lib/{OAuthErrorPage-rAKHHveX.js → OAuthErrorPage-BycMozgn.js} +9 -9
- package/lib/{OAuthErrorPage-rAKHHveX.js.map → OAuthErrorPage-BycMozgn.js.map} +1 -1
- package/lib/{OasProvider-BW4OzAuR.js → OasProvider-Bf5zBDBY.js} +4 -4
- package/lib/{OasProvider-BW4OzAuR.js.map → OasProvider-Bf5zBDBY.js.map} +1 -1
- package/lib/OperationList-Cmiw1xm2.js +5446 -0
- package/lib/OperationList-Cmiw1xm2.js.map +1 -0
- package/lib/{Pagination-ZI2yyuxj.js → Pagination-CJszmeSA.js} +4 -4
- package/lib/{Pagination-ZI2yyuxj.js.map → Pagination-CJszmeSA.js.map} +1 -1
- package/lib/RouteGuard-DhU3LRr1.js +81 -0
- package/lib/RouteGuard-DhU3LRr1.js.map +1 -0
- package/lib/{RouterError-BYHrbLtD.js → RouterError-VDLnrFqF.js} +7 -7
- package/lib/{RouterError-BYHrbLtD.js.map → RouterError-VDLnrFqF.js.map} +1 -1
- package/lib/{SchemaList-C4Sk-tLI.js → SchemaList-xZSf3IMh.js} +10 -10
- package/lib/{SchemaList-C4Sk-tLI.js.map → SchemaList-xZSf3IMh.js.map} +1 -1
- package/lib/SchemaView-tHXTm5oM.js +458 -0
- package/lib/SchemaView-tHXTm5oM.js.map +1 -0
- package/lib/Select-C1DeCqKv.js +372 -0
- package/lib/Select-C1DeCqKv.js.map +1 -0
- package/lib/SignUp-6SGx9Yyq.js +50 -0
- package/lib/SignUp-6SGx9Yyq.js.map +1 -0
- package/lib/{Spinner-mNLZ6awP.js → Spinner-CI6bRyZw.js} +2 -2
- package/lib/{Spinner-mNLZ6awP.js.map → Spinner-CI6bRyZw.js.map} +1 -1
- package/lib/{SyntaxHighlight-CvzJ7DNa.js → SyntaxHighlight-zvlnSnHB.js} +815 -784
- package/lib/SyntaxHighlight-zvlnSnHB.js.map +1 -0
- package/lib/{Toc-BAa-kpqN.js → Toc-Da9yp7lo.js} +6 -6
- package/lib/Toc-Da9yp7lo.js.map +1 -0
- package/lib/ZudokuContext-BUZ5hkWB.js +1508 -0
- package/lib/ZudokuContext-BUZ5hkWB.js.map +1 -0
- package/lib/c-B-NUhs61.js +46 -0
- package/lib/c-B-NUhs61.js.map +1 -0
- package/lib/chunk-PVWAREVJ-BMhpCH5D.js +7965 -0
- package/lib/chunk-PVWAREVJ-BMhpCH5D.js.map +1 -0
- package/lib/{circular-BFte5TUt.js → circular-DvuimBGQ.js} +30 -30
- package/lib/{circular-BFte5TUt.js.map → circular-DvuimBGQ.js.map} +1 -1
- package/lib/commonlisp-De080z23.js +28 -0
- package/lib/commonlisp-De080z23.js.map +1 -0
- package/lib/cpp-79Paht7T.js +53 -0
- package/lib/cpp-79Paht7T.js.map +1 -0
- package/lib/{createServer-B4giw6jv.js → createServer-D9UvCoDf.js} +3411 -3342
- package/lib/createServer-D9UvCoDf.js.map +1 -0
- package/lib/csharp-D8MIL50B.js +53 -0
- package/lib/csharp-D8MIL50B.js.map +1 -0
- package/lib/css-Bt6hr1td.js +54 -0
- package/lib/css-Bt6hr1td.js.map +1 -0
- package/lib/dart-B0vy1jWB.js +60 -0
- package/lib/dart-B0vy1jWB.js.map +1 -0
- package/lib/elixir-Ds8r0sF8.js +25 -0
- package/lib/elixir-Ds8r0sF8.js.map +1 -0
- package/lib/{errors-CjmCml50.js → errors-CuGgh3hf.js} +3 -3
- package/lib/{errors-CjmCml50.js.map → errors-CuGgh3hf.js.map} +1 -1
- package/lib/go-D2VsmIOS.js +25 -0
- package/lib/go-D2VsmIOS.js.map +1 -0
- package/lib/graphql-BtA6M4m5.js +25 -0
- package/lib/graphql-BtA6M4m5.js.map +1 -0
- package/lib/hook-CMeoxziF.js +40 -0
- package/lib/hook-CMeoxziF.js.map +1 -0
- package/lib/html-MGnI2uzP.js +33 -0
- package/lib/html-MGnI2uzP.js.map +1 -0
- package/lib/{index-BuKx9nrj.js → index-B1rmok4X.js} +209 -207
- package/lib/index-B1rmok4X.js.map +1 -0
- package/lib/{index-Dp3Fmnfq.js → index-Cr9_YzOZ.js} +908 -938
- package/lib/index-Cr9_YzOZ.js.map +1 -0
- package/lib/index-CrcNWbel.js.map +1 -1
- package/lib/{index-DmNq2fbN.js → index-nGbmHh_A.js} +2 -2
- package/lib/index-nGbmHh_A.js.map +1 -0
- package/lib/{index-CQGi1b3U.js → index-rYHsvtTo.js} +166 -50
- package/lib/index-rYHsvtTo.js.map +1 -0
- package/lib/index.esm-BYObtETB.js +1294 -0
- package/lib/index.esm-BYObtETB.js.map +1 -0
- package/lib/index.esm-BnYHxCYC.js.map +1 -1
- package/lib/java-CVLzHfb1.js +53 -0
- package/lib/java-CVLzHfb1.js.map +1 -0
- package/lib/javascript-CcmIpL4G.js +10 -0
- package/lib/javascript-CcmIpL4G.js.map +1 -0
- package/lib/json-4AyP4uiY.js +25 -0
- package/lib/json-4AyP4uiY.js.map +1 -0
- package/lib/{jsx-runtime-C5mzlN2N.js → jsx-runtime-BzflLqGi.js} +110 -112
- package/lib/jsx-runtime-BzflLqGi.js.map +1 -0
- package/lib/kotlin-v2plddBQ.js +37 -0
- package/lib/kotlin-v2plddBQ.js.map +1 -0
- package/lib/markdown-DYGWCmGQ.js +25 -0
- package/lib/markdown-DYGWCmGQ.js.map +1 -0
- package/lib/mdx-CHwYvXd4.js +32 -0
- package/lib/mdx-CHwYvXd4.js.map +1 -0
- package/lib/{mutation-CiMUdKRU.js → mutation-BSU0xu4m.js} +2 -2
- package/lib/{mutation-CiMUdKRU.js.map → mutation-BSU0xu4m.js.map} +1 -1
- package/lib/objectivec-HZY8shkd.js +32 -0
- package/lib/objectivec-HZY8shkd.js.map +1 -0
- package/lib/ocaml-DqsdDdwb.js +52 -0
- package/lib/ocaml-DqsdDdwb.js.map +1 -0
- package/lib/php-rQXzo7K_.js +25 -0
- package/lib/php-rQXzo7K_.js.map +1 -0
- package/lib/powershell-CQje9pm1.js +39 -0
- package/lib/powershell-CQje9pm1.js.map +1 -0
- package/lib/processors/traverse.js.map +1 -1
- package/lib/python-QIQAE5Ei.js +32 -0
- package/lib/python-QIQAE5Ei.js.map +1 -0
- package/lib/react-DHpVpxRv.js +24 -0
- package/lib/react-DHpVpxRv.js.map +1 -0
- package/lib/ruby-B2dU8Ny5.js +25 -0
- package/lib/ruby-B2dU8Ny5.js.map +1 -0
- package/lib/rust-DYnLHAi2.js +25 -0
- package/lib/rust-DYnLHAi2.js.map +1 -0
- package/lib/scala-CeKInBR8.js +25 -0
- package/lib/scala-CeKInBR8.js.map +1 -0
- package/lib/shell-HUv9oVtp.js +25 -0
- package/lib/shell-HUv9oVtp.js.map +1 -0
- package/lib/swift-B4z6ig1Z.js +25 -0
- package/lib/swift-B4z6ig1Z.js.map +1 -0
- package/lib/toml-Co9mpdct.js +32 -0
- package/lib/toml-Co9mpdct.js.map +1 -0
- package/lib/typescript-C26xdBDC.js +32 -0
- package/lib/typescript-C26xdBDC.js.map +1 -0
- package/lib/ui/Accordion.js +1 -1
- package/lib/ui/ActionButton.js +3 -3
- package/lib/ui/Alert.js +1 -1
- package/lib/ui/AlertDialog.js +1 -1
- package/lib/ui/Badge.js +1 -1
- package/lib/ui/Breadcrumb.js +1 -1
- package/lib/ui/Button.js +1 -1
- package/lib/ui/Callout.js +19 -19
- package/lib/ui/Callout.js.map +1 -1
- package/lib/ui/Card.js +1 -1
- package/lib/ui/Carousel.js +1 -1
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/Checkbox.js +1 -1
- package/lib/ui/CodeBlock.js +217 -6
- package/lib/ui/CodeBlock.js.map +1 -1
- package/lib/ui/Command.js +2 -2
- package/lib/ui/Dialog.js +135 -105
- package/lib/ui/Dialog.js.map +1 -1
- package/lib/ui/Drawer.js +2 -2
- package/lib/ui/DropdownMenu.js +1 -1
- package/lib/ui/EmbeddedCodeBlock.js +23 -20
- package/lib/ui/EmbeddedCodeBlock.js.map +1 -1
- package/lib/ui/Form.js +2 -2
- package/lib/ui/HoverCard.js +1 -1
- package/lib/ui/Input.js +1 -1
- package/lib/ui/Label.js +1 -1
- package/lib/ui/Pagination.js +1 -1
- package/lib/ui/Popover.js +1 -1
- package/lib/ui/Progress.js +1 -1
- package/lib/ui/RadioGroup.js +1 -1
- package/lib/ui/ReactComponentDoc.js +28 -0
- package/lib/ui/ReactComponentDoc.js.map +1 -0
- package/lib/ui/ScrollArea.js +1 -1
- package/lib/ui/Secret.js +106 -0
- package/lib/ui/Secret.js.map +1 -0
- package/lib/ui/Select.js +1 -1
- package/lib/ui/Skeleton.js +1 -1
- package/lib/ui/Slider.js +1 -1
- package/lib/ui/Stepper.js +1 -1
- package/lib/ui/Switch.js +1 -1
- package/lib/ui/SyntaxHighlight.js +4 -4
- package/lib/ui/Tabs.js +1 -1
- package/lib/ui/Textarea.js +1 -1
- package/lib/ui/Toggle.js +1 -1
- package/lib/ui/ToggleGroup.js +1 -1
- package/lib/ui/Tooltip.js +1 -1
- package/lib/ui/Value.js +39 -0
- package/lib/ui/Value.js.map +1 -0
- package/lib/useCopyToClipboard-B_085nfO.js +14 -0
- package/lib/useCopyToClipboard-B_085nfO.js.map +1 -0
- package/lib/{useExposedProps-BH9aq4MD.js → useExposedProps-U3pmsHaG.js} +34 -34
- package/lib/{useExposedProps-BH9aq4MD.js.map → useExposedProps-U3pmsHaG.js.map} +1 -1
- package/lib/xml-BQOOC04j.js +25 -0
- package/lib/xml-BQOOC04j.js.map +1 -0
- package/lib/yaml-BGsJItKv.js +32 -0
- package/lib/yaml-BGsJItKv.js.map +1 -0
- package/lib/zig-CUV2sTct.js +35 -0
- package/lib/zig-CUV2sTct.js.map +1 -0
- package/lib/zudoku.__internal.js +1050 -940
- package/lib/zudoku.__internal.js.map +1 -1
- package/lib/zudoku.auth-auth0.js +23 -22
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +34 -35
- package/lib/zudoku.auth-azureb2c.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +41 -41
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +104 -108
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.auth-supabase.js +111 -52
- package/lib/zudoku.auth-supabase.js.map +1 -1
- package/lib/zudoku.components.js +21 -20
- package/lib/zudoku.hooks.js +6 -6
- package/lib/zudoku.hooks.js.map +1 -1
- package/lib/zudoku.icons.js +1 -1
- package/lib/zudoku.plugin-api-catalog.js +34 -28
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +302 -327
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +1 -1
- package/lib/zudoku.plugin-markdown.js +10 -9
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +7 -8
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +3 -3
- package/lib/zudoku.plugin-search-inkeep.js +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +47 -48
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
- package/lib/zudoku.router.js +2502 -118
- package/lib/zudoku.router.js.map +1 -1
- package/package.json +83 -72
- package/src/app/entry.server.tsx +16 -6
- package/src/app/main.css +71 -19
- package/src/lib/assets/language-icons/c.tsx +31 -0
- package/src/lib/assets/language-icons/commonlisp.tsx +22 -0
- package/src/lib/assets/language-icons/cpp.tsx +35 -0
- package/src/lib/assets/language-icons/csharp.tsx +35 -0
- package/src/lib/assets/language-icons/css.tsx +36 -0
- package/src/lib/assets/language-icons/dart.tsx +39 -0
- package/src/lib/assets/language-icons/elixir.tsx +19 -0
- package/src/lib/assets/language-icons/go.tsx +19 -0
- package/src/lib/assets/language-icons/graphql.tsx +19 -0
- package/src/lib/assets/language-icons/html.tsx +24 -0
- package/src/lib/assets/language-icons/java.tsx +35 -0
- package/src/lib/assets/language-icons/javascript.tsx +11 -0
- package/src/lib/assets/language-icons/json.tsx +19 -0
- package/src/lib/assets/language-icons/kotlin.tsx +30 -0
- package/src/lib/assets/language-icons/markdown.tsx +19 -0
- package/src/lib/assets/language-icons/mdx.tsx +23 -0
- package/src/lib/assets/language-icons/objectivec.tsx +23 -0
- package/src/lib/assets/language-icons/ocaml.tsx +34 -0
- package/src/lib/assets/language-icons/php.tsx +19 -0
- package/src/lib/assets/language-icons/powershell.tsx +27 -0
- package/src/lib/assets/language-icons/python.tsx +23 -0
- package/src/lib/assets/language-icons/react.tsx +21 -0
- package/src/lib/assets/language-icons/ruby.tsx +19 -0
- package/src/lib/assets/language-icons/rust.tsx +19 -0
- package/src/lib/assets/language-icons/scala.tsx +19 -0
- package/src/lib/assets/language-icons/shell.tsx +19 -0
- package/src/lib/assets/language-icons/swift.tsx +19 -0
- package/src/lib/assets/language-icons/toml.tsx +23 -0
- package/src/lib/assets/language-icons/typescript.tsx +23 -0
- package/src/lib/assets/language-icons/xml.tsx +19 -0
- package/src/lib/assets/language-icons/yaml.tsx +23 -0
- package/src/lib/assets/language-icons/zig.tsx +32 -0
- package/src/lib/authentication/authentication.ts +22 -4
- package/src/lib/authentication/components/OAuthErrorPage.tsx +1 -1
- package/src/lib/authentication/components/SignIn.tsx +7 -5
- package/src/lib/authentication/components/SignOut.tsx +7 -6
- package/src/lib/authentication/components/SignUp.tsx +5 -8
- package/src/lib/authentication/hook.ts +21 -10
- package/src/lib/authentication/providers/auth0.tsx +9 -4
- package/src/lib/authentication/providers/azureb2c.tsx +10 -3
- package/src/lib/authentication/providers/clerk.tsx +9 -2
- package/src/lib/authentication/providers/openid.tsx +20 -15
- package/src/lib/authentication/providers/supabase/SupabaseAuthUI.tsx +75 -0
- package/src/lib/authentication/providers/supabase.tsx +59 -43
- package/src/lib/authentication/state.ts +3 -23
- package/src/lib/authentication/use-broadcast/LICENSE.md +12 -3
- package/src/lib/components/BuildCheck.tsx +12 -10
- package/src/lib/components/Heading.tsx +2 -6
- package/src/lib/components/LanguageIcon.tsx +181 -0
- package/src/lib/components/Main.tsx +1 -1
- package/src/lib/components/Meta.tsx +13 -0
- package/src/lib/components/Zudoku.tsx +3 -3
- package/src/lib/components/cache.ts +9 -5
- package/src/lib/components/context/ZudokuContext.ts +11 -2
- package/src/lib/components/index.ts +2 -0
- package/src/lib/components/navigation/NavigationItem.tsx +1 -1
- package/src/lib/components/navigation/Toc.tsx +3 -3
- package/src/lib/core/RouteGuard.tsx +33 -13
- package/src/lib/core/ZudokuContext.ts +3 -0
- package/src/lib/oas/graphql/index.ts +37 -2
- package/src/lib/plugins/api-catalog/Catalog.tsx +7 -0
- package/src/lib/plugins/api-keys/CreateApiKeyDialog.tsx +49 -0
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +18 -64
- package/src/lib/plugins/markdown/MdxPage.tsx +126 -9
- package/src/lib/plugins/markdown/assets/ChatGPTLogo.tsx +11 -0
- package/src/lib/plugins/markdown/assets/ClaudeLogo.tsx +19 -0
- package/src/lib/plugins/markdown/index.tsx +5 -7
- package/src/lib/plugins/openapi/MCPEndpoint.tsx +273 -0
- package/src/lib/plugins/openapi/OperationList.tsx +30 -10
- package/src/lib/plugins/openapi/OperationListItem.tsx +107 -81
- package/src/lib/plugins/openapi/ParameterList.tsx +3 -5
- package/src/lib/plugins/openapi/ParameterListItem.tsx +3 -9
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +6 -11
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +3 -2
- package/src/lib/plugins/openapi/Sidecar.tsx +10 -10
- package/src/lib/plugins/openapi/SidecarExamples.tsx +2 -9
- package/src/lib/plugins/openapi/graphql/fragment-masking.ts +2 -1
- package/src/lib/plugins/openapi/graphql/gql.ts +7 -6
- package/src/lib/plugins/openapi/graphql/graphql.ts +26 -3
- package/src/lib/plugins/openapi/index.tsx +10 -30
- package/src/lib/plugins/openapi/interfaces.ts +3 -2
- package/src/lib/plugins/openapi/playground/BodyPanel.tsx +2 -2
- package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +2 -2
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +3 -3
- package/src/lib/plugins/openapi/playground/Playground.tsx +16 -5
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +13 -2
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +20 -1
- package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +2 -2
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +124 -52
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +1 -1
- package/src/lib/plugins/openapi/playground/useRememberSkipLoginDialog.tsx +3 -0
- package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.tsx +11 -4
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +18 -12
- package/src/lib/plugins/openapi/schema/UnionView.tsx +56 -36
- package/src/lib/plugins/openapi/schema/union-helpers.ts +30 -2
- package/src/lib/shiki.ts +29 -2
- package/src/lib/ui/Callout.tsx +10 -5
- package/src/lib/ui/Carousel.tsx +0 -1
- package/src/lib/ui/CodeBlock.tsx +7 -42
- package/src/lib/ui/Dialog.tsx +112 -106
- package/src/lib/ui/EmbeddedCodeBlock.tsx +6 -3
- package/src/lib/ui/ReactComponentDoc.tsx +68 -0
- package/src/lib/ui/Secret.tsx +123 -0
- package/src/lib/ui/SyntaxHighlight.tsx +6 -1
- package/src/lib/ui/Value.tsx +42 -0
- package/src/lib/util/MdxComponents.tsx +3 -2
- package/src/lib/util/pastellize.ts +4 -4
- package/src/lib/util/syncZustandState.ts +22 -0
- package/src/lib/util/traverse.ts +36 -0
- package/src/shiki/langs/hurl.js +1 -0
- package/src/shiki/langs/kdl.js +1 -0
- package/src/shiki/langs/pkl.js +1 -0
- package/src/shiki/langs/rosmsg.js +1 -0
- package/lib/CodeBlock-CX_J17Hf.js +0 -98
- package/lib/CodeBlock-CX_J17Hf.js.map +0 -1
- package/lib/Dialog-BmgXWOaz.js +0 -114
- package/lib/Dialog-BmgXWOaz.js.map +0 -1
- package/lib/MdxPage-yXbTtcWf.js +0 -111
- package/lib/MdxPage-yXbTtcWf.js.map +0 -1
- package/lib/OperationList-CWxpdIbO.js +0 -5165
- package/lib/OperationList-CWxpdIbO.js.map +0 -1
- package/lib/RouteGuard-BIksrt_C.js +0 -56
- package/lib/RouteGuard-BIksrt_C.js.map +0 -1
- package/lib/SchemaView-B2BeAuci.js +0 -429
- package/lib/SchemaView-B2BeAuci.js.map +0 -1
- package/lib/Select-DWh0wSay.js +0 -273
- package/lib/Select-DWh0wSay.js.map +0 -1
- package/lib/SignUp-CznaQsRx.js +0 -56
- package/lib/SignUp-CznaQsRx.js.map +0 -1
- package/lib/Slot-BbdqiRXo.js.map +0 -1
- package/lib/SyntaxHighlight-CvzJ7DNa.js.map +0 -1
- package/lib/Toc-BAa-kpqN.js.map +0 -1
- package/lib/ZudokuContext-BR-lnR7O.js +0 -1285
- package/lib/ZudokuContext-BR-lnR7O.js.map +0 -1
- package/lib/chunk-QMGIS6GS-DqecZ6nq.js +0 -9204
- package/lib/chunk-QMGIS6GS-DqecZ6nq.js.map +0 -1
- package/lib/createServer-B4giw6jv.js.map +0 -1
- package/lib/hook-B4Q30zMI.js +0 -247
- package/lib/hook-B4Q30zMI.js.map +0 -1
- package/lib/index-BuKx9nrj.js.map +0 -1
- package/lib/index-CQGi1b3U.js.map +0 -1
- package/lib/index-DmNq2fbN.js.map +0 -1
- package/lib/index-Dp3Fmnfq.js.map +0 -1
- package/lib/index.esm-CdzlRw50.js +0 -1254
- package/lib/index.esm-CdzlRw50.js.map +0 -1
- package/lib/jsx-runtime-C5mzlN2N.js.map +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { H as
|
|
2
|
-
import { z as
|
|
3
|
-
import {
|
|
4
|
-
import { u as
|
|
1
|
+
import { H as je } from "./index.esm-BnYHxCYC.js";
|
|
2
|
+
import { z as Se, M as nt, J as ot, a as st } from "./useExposedProps-U3pmsHaG.js";
|
|
3
|
+
import { b2 as Ee, ac as at, L as re, d as we, O as it } from "./chunk-PVWAREVJ-BMhpCH5D.js";
|
|
4
|
+
import { u as q } from "./hook-CMeoxziF.js";
|
|
5
5
|
import { Button as ct } from "./ui/Button.js";
|
|
6
6
|
import { Callout as lt } from "./ui/Callout.js";
|
|
7
7
|
import { C as F } from "./ClientOnly-E7hGysn1.js";
|
|
8
|
-
import {
|
|
9
|
-
import { E as xt, a as
|
|
10
|
-
import { S as Ct } from "./Spinner-
|
|
11
|
-
import { j as r } from "./jsx-runtime-
|
|
12
|
-
import { Component as Pt, createElement as
|
|
13
|
-
import { isNavigationPlugin as
|
|
14
|
-
import { B as J } from "./Button-
|
|
15
|
-
import { c as
|
|
16
|
-
import { DropdownMenu as $t, DropdownMenuTrigger as It, DropdownMenuContent as Dt, DropdownMenuLabel as Ft, DropdownMenuSeparator as
|
|
8
|
+
import { u as ie, j as z, a as O, o as Ce, p as ut, q as dt, b as ft, N as mt, Z as ht, g as pt, d as gt, C as vt } from "./ZudokuContext-BUZ5hkWB.js";
|
|
9
|
+
import { E as xt, a as R, d as yt, b as bt, c as jt, V as St, M as Et, T as wt } from "./ErrorAlert-DE3Sf66a.js";
|
|
10
|
+
import { S as Ct } from "./Spinner-CI6bRyZw.js";
|
|
11
|
+
import { j as r } from "./jsx-runtime-BzflLqGi.js";
|
|
12
|
+
import { Component as Pt, createElement as ce, createContext as ne, useState as L, useRef as D, useCallback as A, useEffect as $, Suspense as Pe, memo as Ne, useMemo as W, useContext as Nt } from "react";
|
|
13
|
+
import { isNavigationPlugin as le, isAuthenticationPlugin as Tt, isEventConsumerPlugin as _t, needsInitialization as At, isApiIdentityPlugin as Mt, isProfileMenuPlugin as Te, isSearchPlugin as Rt, isMdxProviderPlugin as kt, hasHead as Ot } from "./zudoku.plugins.js";
|
|
14
|
+
import { B as J } from "./Button-DmS4u8Lj.js";
|
|
15
|
+
import { c as k } from "./cn-dYga0KKN.js";
|
|
16
|
+
import { DropdownMenu as $t, DropdownMenuTrigger as It, DropdownMenuContent as Dt, DropdownMenuLabel as Ft, DropdownMenuSeparator as X, DropdownMenuSub as Lt, DropdownMenuSubTrigger as qt, DropdownMenuPortal as zt, DropdownMenuSubContent as Bt, DropdownMenuItem as Yt } from "./ui/DropdownMenu.js";
|
|
17
17
|
import { CircleXIcon as Zt, ChevronRightIcon as Ht, SearchIcon as Kt, SunIcon as Ut, MoonIcon as Vt, MenuIcon as Wt } from "lucide-react";
|
|
18
|
-
import { VisuallyHidden as
|
|
19
|
-
import { D as
|
|
18
|
+
import { VisuallyHidden as Xt } from "@radix-ui/react-visually-hidden";
|
|
19
|
+
import { D as Gt, a as Qt, b as Jt, c as er } from "./Drawer-Ci7XwhqT.js";
|
|
20
20
|
import { a as tr } from "./index-DI5SPFK9.js";
|
|
21
|
-
const rr = ne(null),
|
|
21
|
+
const rr = ne(null), G = {
|
|
22
22
|
didCatch: !1,
|
|
23
23
|
error: null
|
|
24
24
|
};
|
|
25
25
|
class nr extends Pt {
|
|
26
26
|
constructor(t) {
|
|
27
|
-
super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state =
|
|
27
|
+
super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = G;
|
|
28
28
|
}
|
|
29
29
|
static getDerivedStateFromError(t) {
|
|
30
30
|
return {
|
|
@@ -42,7 +42,7 @@ class nr extends Pt {
|
|
|
42
42
|
(n = (o = this.props).onReset) === null || n === void 0 || n.call(o, {
|
|
43
43
|
args: c,
|
|
44
44
|
reason: "imperative-api"
|
|
45
|
-
}), this.setState(
|
|
45
|
+
}), this.setState(G);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
componentDidCatch(t, n) {
|
|
@@ -61,7 +61,7 @@ class nr extends Pt {
|
|
|
61
61
|
next: i,
|
|
62
62
|
prev: t.resetKeys,
|
|
63
63
|
reason: "keys"
|
|
64
|
-
}), this.setState(
|
|
64
|
+
}), this.setState(G);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
@@ -83,13 +83,13 @@ class nr extends Pt {
|
|
|
83
83
|
if (typeof n == "function")
|
|
84
84
|
d = n(v);
|
|
85
85
|
else if (o)
|
|
86
|
-
d =
|
|
86
|
+
d = ce(o, v);
|
|
87
87
|
else if (i !== void 0)
|
|
88
88
|
d = i;
|
|
89
89
|
else
|
|
90
90
|
throw s;
|
|
91
91
|
}
|
|
92
|
-
return
|
|
92
|
+
return ce(rr.Provider, {
|
|
93
93
|
value: {
|
|
94
94
|
didCatch: c,
|
|
95
95
|
error: s,
|
|
@@ -114,7 +114,7 @@ let sr = () => ({
|
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
116
|
});
|
|
117
|
-
const ar = (e) => Object.entries(e),
|
|
117
|
+
const ar = (e) => Object.entries(e), ue = (e) => {
|
|
118
118
|
if (e)
|
|
119
119
|
return Array.isArray(e) ? Object.fromEntries(
|
|
120
120
|
e.map((t) => [
|
|
@@ -129,6 +129,7 @@ class ir {
|
|
|
129
129
|
meta;
|
|
130
130
|
site;
|
|
131
131
|
authentication;
|
|
132
|
+
getAuthState;
|
|
132
133
|
queryClient;
|
|
133
134
|
options;
|
|
134
135
|
navigationPlugins;
|
|
@@ -137,18 +138,18 @@ class ir {
|
|
|
137
138
|
const i = {
|
|
138
139
|
...Object.fromEntries(
|
|
139
140
|
(t.plugins ?? []).flatMap((c) => {
|
|
140
|
-
if (!
|
|
141
|
+
if (!le(c)) return [];
|
|
141
142
|
const s = c.getProtectedRoutes?.();
|
|
142
|
-
return s ? Object.entries(
|
|
143
|
+
return s ? Object.entries(ue(s) ?? {}) : [];
|
|
143
144
|
})
|
|
144
145
|
),
|
|
145
|
-
...
|
|
146
|
+
...ue(t.protectedRoutes)
|
|
146
147
|
};
|
|
147
|
-
this.queryClient = n, this.options = { ...t, protectedRoutes: i }, this.plugins = t.plugins ?? [], this.navigation = t.navigation ?? [], this.navigationPlugins = this.plugins.filter(
|
|
148
|
-
|
|
148
|
+
this.queryClient = n, this.options = { ...t, protectedRoutes: i }, this.plugins = t.plugins ?? [], this.navigation = t.navigation ?? [], this.navigationPlugins = this.plugins.filter(le), this.authentication = this.plugins.find(Tt), this.getAuthState = ie.getState, this.meta = t.metadata, this.site = t.site, this.plugins.forEach((c) => {
|
|
149
|
+
_t(c) && ar(c.events).forEach(([s, d]) => {
|
|
149
150
|
this.emitter.on(s, d);
|
|
150
151
|
});
|
|
151
|
-
}),
|
|
152
|
+
}), ie.subscribe((c, s) => {
|
|
152
153
|
this.emitEvent("auth", {
|
|
153
154
|
prev: s,
|
|
154
155
|
next: c
|
|
@@ -157,11 +158,11 @@ class ir {
|
|
|
157
158
|
}
|
|
158
159
|
initialize = async () => {
|
|
159
160
|
await Promise.all(
|
|
160
|
-
this.plugins.filter(
|
|
161
|
+
this.plugins.filter(At).map((t) => t.initialize?.(this))
|
|
161
162
|
);
|
|
162
163
|
};
|
|
163
164
|
getApiIdentities = async () => (await Promise.all(
|
|
164
|
-
this.plugins.filter(
|
|
165
|
+
this.plugins.filter(Mt).map((n) => n.getIdentities(this))
|
|
165
166
|
)).flat();
|
|
166
167
|
addEventListener(t, n) {
|
|
167
168
|
return this.emitter.on(t, n);
|
|
@@ -169,10 +170,10 @@ class ir {
|
|
|
169
170
|
emitEvent = (t, ...n) => this.emitter.emit(t, ...n);
|
|
170
171
|
getPluginNavigation = async (t) => (await Promise.all(
|
|
171
172
|
this.navigationPlugins.map(
|
|
172
|
-
(o) => o.getNavigation?.(
|
|
173
|
+
(o) => o.getNavigation?.(z(t), this)
|
|
173
174
|
)
|
|
174
175
|
)).flatMap((o) => o ?? []);
|
|
175
|
-
getProfileMenuItems = () => this.plugins.filter((n) =>
|
|
176
|
+
getProfileMenuItems = () => this.plugins.filter((n) => Te(n)).flatMap((n) => n.getProfileMenuItems(this)).sort(cr(["top", "middle", "bottom"])).sort((n) => n.weight ?? 0);
|
|
176
177
|
signRequest = async (t) => {
|
|
177
178
|
if (!this.authentication)
|
|
178
179
|
throw new Error("No authentication provider configured");
|
|
@@ -186,7 +187,7 @@ const cr = (e) => (t, n) => {
|
|
|
186
187
|
function lr({ error: e }) {
|
|
187
188
|
return /* @__PURE__ */ r.jsx(xt, { error: e });
|
|
188
189
|
}
|
|
189
|
-
const
|
|
190
|
+
const de = ne({ stagger: !1 }), Y = globalThis;
|
|
190
191
|
(!Y.requestIdleCallback || !Y.cancelIdleCallback) && (Y.requestIdleCallback = (e) => setTimeout(e, 1), Y.cancelIdleCallback = clearTimeout);
|
|
191
192
|
function ee({
|
|
192
193
|
className: e,
|
|
@@ -195,26 +196,26 @@ function ee({
|
|
|
195
196
|
return /* @__PURE__ */ r.jsx(
|
|
196
197
|
"div",
|
|
197
198
|
{
|
|
198
|
-
className:
|
|
199
|
+
className: k("animate-pulse rounded-md bg-muted", e),
|
|
199
200
|
...t
|
|
200
201
|
}
|
|
201
202
|
);
|
|
202
203
|
}
|
|
203
|
-
const
|
|
204
|
+
const fe = {
|
|
204
205
|
info: "bg-blue-500",
|
|
205
206
|
note: "bg-gray-500",
|
|
206
207
|
tip: "bg-green-600",
|
|
207
208
|
caution: "bg-orange-500",
|
|
208
209
|
danger: "bg-rose-500"
|
|
209
210
|
}, ur = () => {
|
|
210
|
-
const { site: e } =
|
|
211
|
+
const { site: e } = O(), [t, n] = L(!0);
|
|
211
212
|
if (!e?.banner || !t)
|
|
212
213
|
return /* @__PURE__ */ r.jsx("style", { children: ":root { --banner-height: 0px; }" });
|
|
213
|
-
const o = e.banner.color && e.banner.color in
|
|
214
|
+
const o = e.banner.color && e.banner.color in fe ? fe[e.banner.color] : e.banner.color ? void 0 : "bg-primary", i = o ? {} : { backgroundColor: e.banner.color };
|
|
214
215
|
return /* @__PURE__ */ r.jsxs(
|
|
215
216
|
"div",
|
|
216
217
|
{
|
|
217
|
-
className:
|
|
218
|
+
className: k(
|
|
218
219
|
"relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center lg:h-(--banner-height)",
|
|
219
220
|
o
|
|
220
221
|
),
|
|
@@ -233,7 +234,7 @@ const de = {
|
|
|
233
234
|
]
|
|
234
235
|
}
|
|
235
236
|
);
|
|
236
|
-
},
|
|
237
|
+
}, _e = (e) => /* @__PURE__ */ r.jsxs(
|
|
237
238
|
"svg",
|
|
238
239
|
{
|
|
239
240
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -260,20 +261,20 @@ const de = {
|
|
|
260
261
|
]
|
|
261
262
|
}
|
|
262
263
|
);
|
|
263
|
-
|
|
264
|
+
_e.displayName = "ZudokuLogo";
|
|
264
265
|
const dr = ({ className: e }) => /* @__PURE__ */ r.jsxs(
|
|
265
266
|
"a",
|
|
266
267
|
{
|
|
267
268
|
href: "https://zudoku.dev",
|
|
268
269
|
target: "_blank",
|
|
269
270
|
rel: "noopener noreferrer",
|
|
270
|
-
className:
|
|
271
|
+
className: k(
|
|
271
272
|
"flex justify-between items-center w-full border border-transparent hover:border-border rounded-full hover:shadow-xs h-7 px-3 text-nowrap hover:bg-muted/80 transition-all",
|
|
272
273
|
e
|
|
273
274
|
),
|
|
274
275
|
children: [
|
|
275
276
|
/* @__PURE__ */ r.jsxs("div", { className: "opacity-70 hover:opacity-100 transition-opacity gap-1.5 text-[11px] font-medium rounded-full h-7 flex items-center text-nowrap", children: [
|
|
276
|
-
/* @__PURE__ */ r.jsx(
|
|
277
|
+
/* @__PURE__ */ r.jsx(_e, { className: "w-3.5 h-3.5 dark:fill-white" }),
|
|
277
278
|
"powered by ",
|
|
278
279
|
"Zudoku"
|
|
279
280
|
] }),
|
|
@@ -307,11 +308,11 @@ var Z = { exports: {} }, h = {};
|
|
|
307
308
|
* This source code is licensed under the MIT license found in the
|
|
308
309
|
* LICENSE file in the root directory of this source tree.
|
|
309
310
|
*/
|
|
310
|
-
var
|
|
311
|
+
var me;
|
|
311
312
|
function fr() {
|
|
312
|
-
if (
|
|
313
|
-
|
|
314
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, v = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, l = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116,
|
|
313
|
+
if (me) return h;
|
|
314
|
+
me = 1;
|
|
315
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, v = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, l = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, P = e ? Symbol.for("react.scope") : 60119;
|
|
315
316
|
function j(a) {
|
|
316
317
|
if (typeof a == "object" && a !== null) {
|
|
317
318
|
var x = a.$$typeof;
|
|
@@ -342,12 +343,12 @@ function fr() {
|
|
|
342
343
|
}
|
|
343
344
|
}
|
|
344
345
|
}
|
|
345
|
-
function
|
|
346
|
+
function S(a) {
|
|
346
347
|
return j(a) === f;
|
|
347
348
|
}
|
|
348
349
|
return h.AsyncMode = v, h.ConcurrentMode = f, h.ContextConsumer = d, h.ContextProvider = s, h.Element = t, h.ForwardRef = b, h.Fragment = o, h.Lazy = g, h.Memo = l, h.Portal = n, h.Profiler = c, h.StrictMode = i, h.Suspense = y, h.isAsyncMode = function(a) {
|
|
349
|
-
return
|
|
350
|
-
}, h.isConcurrentMode =
|
|
350
|
+
return S(a) || j(a) === v;
|
|
351
|
+
}, h.isConcurrentMode = S, h.isContextConsumer = function(a) {
|
|
351
352
|
return j(a) === d;
|
|
352
353
|
}, h.isContextProvider = function(a) {
|
|
353
354
|
return j(a) === s;
|
|
@@ -370,7 +371,7 @@ function fr() {
|
|
|
370
371
|
}, h.isSuspense = function(a) {
|
|
371
372
|
return j(a) === y;
|
|
372
373
|
}, h.isValidElementType = function(a) {
|
|
373
|
-
return typeof a == "string" || typeof a == "function" || a === o || a === f || a === c || a === i || a === y || a === m || typeof a == "object" && a !== null && (a.$$typeof === g || a.$$typeof === l || a.$$typeof === s || a.$$typeof === d || a.$$typeof === b || a.$$typeof === w || a.$$typeof === C || a.$$typeof === P || a.$$typeof ===
|
|
374
|
+
return typeof a == "string" || typeof a == "function" || a === o || a === f || a === c || a === i || a === y || a === m || typeof a == "object" && a !== null && (a.$$typeof === g || a.$$typeof === l || a.$$typeof === s || a.$$typeof === d || a.$$typeof === b || a.$$typeof === w || a.$$typeof === C || a.$$typeof === P || a.$$typeof === E);
|
|
374
375
|
}, h.typeOf = j, h;
|
|
375
376
|
}
|
|
376
377
|
var p = {};
|
|
@@ -382,15 +383,15 @@ var p = {};
|
|
|
382
383
|
* This source code is licensed under the MIT license found in the
|
|
383
384
|
* LICENSE file in the root directory of this source tree.
|
|
384
385
|
*/
|
|
385
|
-
var
|
|
386
|
+
var he;
|
|
386
387
|
function mr() {
|
|
387
|
-
return
|
|
388
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, v = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, l = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116,
|
|
388
|
+
return he || (he = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
389
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, v = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, l = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, P = e ? Symbol.for("react.scope") : 60119;
|
|
389
390
|
function j(u) {
|
|
390
391
|
return typeof u == "string" || typeof u == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
391
|
-
u === o || u === f || u === c || u === i || u === y || u === m || typeof u == "object" && u !== null && (u.$$typeof === g || u.$$typeof === l || u.$$typeof === s || u.$$typeof === d || u.$$typeof === b || u.$$typeof === w || u.$$typeof === C || u.$$typeof === P || u.$$typeof ===
|
|
392
|
+
u === o || u === f || u === c || u === i || u === y || u === m || typeof u == "object" && u !== null && (u.$$typeof === g || u.$$typeof === l || u.$$typeof === s || u.$$typeof === d || u.$$typeof === b || u.$$typeof === w || u.$$typeof === C || u.$$typeof === P || u.$$typeof === E);
|
|
392
393
|
}
|
|
393
|
-
function
|
|
394
|
+
function S(u) {
|
|
394
395
|
if (typeof u == "object" && u !== null) {
|
|
395
396
|
var V = u.$$typeof;
|
|
396
397
|
switch (V) {
|
|
@@ -422,57 +423,57 @@ function mr() {
|
|
|
422
423
|
}
|
|
423
424
|
}
|
|
424
425
|
}
|
|
425
|
-
var a = v, x = f, N = d, T = s,
|
|
426
|
-
function
|
|
427
|
-
return oe || (oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), se(u) ||
|
|
426
|
+
var a = v, x = f, N = d, T = s, I = t, _ = b, U = o, M = g, qe = l, ze = n, Be = c, Ye = i, Ze = y, oe = !1;
|
|
427
|
+
function He(u) {
|
|
428
|
+
return oe || (oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), se(u) || S(u) === v;
|
|
428
429
|
}
|
|
429
430
|
function se(u) {
|
|
430
|
-
return
|
|
431
|
-
}
|
|
432
|
-
function He(u) {
|
|
433
|
-
return E(u) === d;
|
|
431
|
+
return S(u) === f;
|
|
434
432
|
}
|
|
435
433
|
function Ke(u) {
|
|
436
|
-
return
|
|
434
|
+
return S(u) === d;
|
|
437
435
|
}
|
|
438
436
|
function Ue(u) {
|
|
439
|
-
return
|
|
437
|
+
return S(u) === s;
|
|
440
438
|
}
|
|
441
439
|
function Ve(u) {
|
|
442
|
-
return
|
|
440
|
+
return typeof u == "object" && u !== null && u.$$typeof === t;
|
|
443
441
|
}
|
|
444
442
|
function We(u) {
|
|
445
|
-
return
|
|
446
|
-
}
|
|
447
|
-
function Qe(u) {
|
|
448
|
-
return E(u) === g;
|
|
443
|
+
return S(u) === b;
|
|
449
444
|
}
|
|
450
445
|
function Xe(u) {
|
|
451
|
-
return
|
|
446
|
+
return S(u) === o;
|
|
452
447
|
}
|
|
453
448
|
function Ge(u) {
|
|
454
|
-
return
|
|
449
|
+
return S(u) === g;
|
|
450
|
+
}
|
|
451
|
+
function Qe(u) {
|
|
452
|
+
return S(u) === l;
|
|
455
453
|
}
|
|
456
454
|
function Je(u) {
|
|
457
|
-
return
|
|
455
|
+
return S(u) === n;
|
|
458
456
|
}
|
|
459
457
|
function et(u) {
|
|
460
|
-
return
|
|
458
|
+
return S(u) === c;
|
|
461
459
|
}
|
|
462
460
|
function tt(u) {
|
|
463
|
-
return
|
|
461
|
+
return S(u) === i;
|
|
464
462
|
}
|
|
465
|
-
|
|
466
|
-
|
|
463
|
+
function rt(u) {
|
|
464
|
+
return S(u) === y;
|
|
465
|
+
}
|
|
466
|
+
p.AsyncMode = a, p.ConcurrentMode = x, p.ContextConsumer = N, p.ContextProvider = T, p.Element = I, p.ForwardRef = _, p.Fragment = U, p.Lazy = M, p.Memo = qe, p.Portal = ze, p.Profiler = Be, p.StrictMode = Ye, p.Suspense = Ze, p.isAsyncMode = He, p.isConcurrentMode = se, p.isContextConsumer = Ke, p.isContextProvider = Ue, p.isElement = Ve, p.isForwardRef = We, p.isFragment = Xe, p.isLazy = Ge, p.isMemo = Qe, p.isPortal = Je, p.isProfiler = et, p.isStrictMode = tt, p.isSuspense = rt, p.isValidElementType = j, p.typeOf = S;
|
|
467
|
+
})()), p;
|
|
467
468
|
}
|
|
468
|
-
var
|
|
469
|
+
var pe;
|
|
469
470
|
function hr() {
|
|
470
|
-
return
|
|
471
|
+
return pe || (pe = 1, process.env.NODE_ENV === "production" ? Z.exports = fr() : Z.exports = mr()), Z.exports;
|
|
471
472
|
}
|
|
472
|
-
var
|
|
473
|
+
var Q, ge;
|
|
473
474
|
function pr() {
|
|
474
|
-
if (
|
|
475
|
-
|
|
475
|
+
if (ge) return Q;
|
|
476
|
+
ge = 1;
|
|
476
477
|
var e = hr(), t = {
|
|
477
478
|
childContextTypes: !0,
|
|
478
479
|
contextType: !0,
|
|
@@ -512,18 +513,18 @@ function pr() {
|
|
|
512
513
|
return e.isMemo(g) ? i : c[g.$$typeof] || t;
|
|
513
514
|
}
|
|
514
515
|
var d = Object.defineProperty, v = Object.getOwnPropertyNames, f = Object.getOwnPropertySymbols, b = Object.getOwnPropertyDescriptor, y = Object.getPrototypeOf, m = Object.prototype;
|
|
515
|
-
function l(g,
|
|
516
|
-
if (typeof
|
|
516
|
+
function l(g, E, w) {
|
|
517
|
+
if (typeof E != "string") {
|
|
517
518
|
if (m) {
|
|
518
|
-
var C = y(
|
|
519
|
+
var C = y(E);
|
|
519
520
|
C && C !== m && l(g, C, w);
|
|
520
521
|
}
|
|
521
|
-
var P = v(
|
|
522
|
-
f && (P = P.concat(f(
|
|
523
|
-
for (var j = s(g),
|
|
522
|
+
var P = v(E);
|
|
523
|
+
f && (P = P.concat(f(E)));
|
|
524
|
+
for (var j = s(g), S = s(E), a = 0; a < P.length; ++a) {
|
|
524
525
|
var x = P[a];
|
|
525
|
-
if (!n[x] && !(w && w[x]) && !(
|
|
526
|
-
var N = b(
|
|
526
|
+
if (!n[x] && !(w && w[x]) && !(S && S[x]) && !(j && j[x])) {
|
|
527
|
+
var N = b(E, x);
|
|
527
528
|
try {
|
|
528
529
|
d(g, x, N);
|
|
529
530
|
} catch {
|
|
@@ -533,10 +534,10 @@ function pr() {
|
|
|
533
534
|
}
|
|
534
535
|
return g;
|
|
535
536
|
}
|
|
536
|
-
return
|
|
537
|
+
return Q = l, Q;
|
|
537
538
|
}
|
|
538
539
|
pr();
|
|
539
|
-
var
|
|
540
|
+
var Ae = function(t, n, o) {
|
|
540
541
|
return t = t <= o ? t : o, t = t >= n ? t : n, t;
|
|
541
542
|
}, gr = function() {
|
|
542
543
|
var t = !1, n = [], o = function() {
|
|
@@ -573,59 +574,59 @@ var Me = function(t, n, o) {
|
|
|
573
574
|
};
|
|
574
575
|
}, xr = function(t) {
|
|
575
576
|
var n = 0;
|
|
576
|
-
return t >= 0 && t < 0.2 ? n = 0.1 : t >= 0.2 && t < 0.5 ? n = 0.04 : t >= 0.5 && t < 0.8 ? n = 0.02 : t >= 0.8 && t < 0.99 && (n = 5e-3),
|
|
577
|
-
},
|
|
578
|
-
|
|
577
|
+
return t >= 0 && t < 0.2 ? n = 0.1 : t >= 0.2 && t < 0.5 ? n = 0.04 : t >= 0.5 && t < 0.8 ? n = 0.02 : t >= 0.8 && t < 0.99 && (n = 5e-3), Ae(t + n, 0, 0.994);
|
|
578
|
+
}, ve = function(t) {
|
|
579
|
+
$(t, []);
|
|
579
580
|
}, yr = function(t) {
|
|
580
581
|
return ++t % 1e6;
|
|
581
582
|
}, br = function() {
|
|
582
583
|
var t = L(0), n = t[1];
|
|
583
|
-
return
|
|
584
|
+
return A(function() {
|
|
584
585
|
return n(yr);
|
|
585
586
|
}, []);
|
|
586
587
|
}, jr = function(t) {
|
|
587
588
|
t === void 0 && (t = {});
|
|
588
|
-
var n = br(), o = D(K({}, t)), i =
|
|
589
|
+
var n = br(), o = D(K({}, t)), i = A(function() {
|
|
589
590
|
return o.current;
|
|
590
|
-
}, []), c =
|
|
591
|
+
}, []), c = A(function(s) {
|
|
591
592
|
s && (Object.assign(o.current, s), n());
|
|
592
593
|
}, []);
|
|
593
594
|
return [i, c];
|
|
594
|
-
},
|
|
595
|
+
}, Sr = function() {
|
|
595
596
|
var t = D(!0);
|
|
596
597
|
return t.current ? (t.current = !1, !0) : t.current;
|
|
597
|
-
},
|
|
598
|
-
var o =
|
|
599
|
-
|
|
598
|
+
}, xe = function(t, n) {
|
|
599
|
+
var o = Sr();
|
|
600
|
+
$(function() {
|
|
600
601
|
if (!o)
|
|
601
602
|
return t();
|
|
602
603
|
}, n);
|
|
603
|
-
},
|
|
604
|
-
},
|
|
604
|
+
}, Me = function() {
|
|
605
|
+
}, ye = {
|
|
605
606
|
isFinished: !0,
|
|
606
607
|
progress: 0,
|
|
607
|
-
sideEffect:
|
|
608
|
-
},
|
|
609
|
-
var n = t === void 0 ? {} : t, o = n.animationDuration, i = o === void 0 ? 200 : o, c = n.incrementDuration, s = c === void 0 ? 800 : c, d = n.isAnimating, v = d === void 0 ? !1 : d, f = n.minimum, b = f === void 0 ? 0.08 : f, y = jr(
|
|
610
|
-
|
|
611
|
-
g.current = gr(),
|
|
608
|
+
sideEffect: Me
|
|
609
|
+
}, Er = function(t) {
|
|
610
|
+
var n = t === void 0 ? {} : t, o = n.animationDuration, i = o === void 0 ? 200 : o, c = n.incrementDuration, s = c === void 0 ? 800 : c, d = n.isAnimating, v = d === void 0 ? !1 : d, f = n.minimum, b = f === void 0 ? 0.08 : f, y = jr(ye), m = y[0], l = y[1], g = D(null), E = D(null);
|
|
611
|
+
ve(function() {
|
|
612
|
+
g.current = gr(), E.current = vr();
|
|
612
613
|
});
|
|
613
|
-
var w =
|
|
614
|
+
var w = A(function() {
|
|
614
615
|
var x, N;
|
|
615
|
-
(x =
|
|
616
|
-
}, []), C =
|
|
616
|
+
(x = E.current) == null || x.cancel(), (N = g.current) == null || N.clear();
|
|
617
|
+
}, []), C = A(function(x) {
|
|
617
618
|
var N;
|
|
618
|
-
if (x =
|
|
619
|
-
var T,
|
|
620
|
-
w(), (T = g.current) == null || T.enqueue(function(
|
|
619
|
+
if (x = Ae(x, b, 1), x === 1) {
|
|
620
|
+
var T, I;
|
|
621
|
+
w(), (T = g.current) == null || T.enqueue(function(_) {
|
|
621
622
|
l({
|
|
622
623
|
progress: x,
|
|
623
624
|
sideEffect: function() {
|
|
624
|
-
var
|
|
625
|
-
return (
|
|
625
|
+
var M;
|
|
626
|
+
return (M = E.current) == null ? void 0 : M.schedule(_, i);
|
|
626
627
|
}
|
|
627
628
|
});
|
|
628
|
-
}), (
|
|
629
|
+
}), (I = g.current) == null || I.enqueue(function() {
|
|
629
630
|
l({
|
|
630
631
|
isFinished: !0,
|
|
631
632
|
sideEffect: w
|
|
@@ -633,38 +634,38 @@ var Me = function(t, n, o) {
|
|
|
633
634
|
});
|
|
634
635
|
return;
|
|
635
636
|
}
|
|
636
|
-
(N = g.current) == null || N.enqueue(function(
|
|
637
|
+
(N = g.current) == null || N.enqueue(function(_) {
|
|
637
638
|
l({
|
|
638
639
|
isFinished: !1,
|
|
639
640
|
progress: x,
|
|
640
641
|
sideEffect: function() {
|
|
641
|
-
var
|
|
642
|
-
return (
|
|
642
|
+
var M;
|
|
643
|
+
return (M = E.current) == null ? void 0 : M.schedule(_, i);
|
|
643
644
|
}
|
|
644
645
|
});
|
|
645
646
|
});
|
|
646
|
-
}, [i, w, b, g, l,
|
|
647
|
+
}, [i, w, b, g, l, E]), P = A(function() {
|
|
647
648
|
C(xr(m().progress));
|
|
648
|
-
}, [m, C]), j =
|
|
649
|
+
}, [m, C]), j = A(function() {
|
|
649
650
|
var x = function() {
|
|
650
651
|
var T;
|
|
651
|
-
P(), (T = g.current) == null || T.enqueue(function(
|
|
652
|
-
var
|
|
653
|
-
(
|
|
654
|
-
x(),
|
|
652
|
+
P(), (T = g.current) == null || T.enqueue(function(I) {
|
|
653
|
+
var _;
|
|
654
|
+
(_ = E.current) == null || _.schedule(function() {
|
|
655
|
+
x(), I();
|
|
655
656
|
}, s);
|
|
656
657
|
});
|
|
657
658
|
};
|
|
658
659
|
x();
|
|
659
|
-
}, [s, g,
|
|
660
|
-
return
|
|
661
|
-
|
|
662
|
-
}), ge(function() {
|
|
663
|
-
return v && j(), w;
|
|
660
|
+
}, [s, g, E, P]), S = D(Me), a = m().sideEffect;
|
|
661
|
+
return $(function() {
|
|
662
|
+
S.current = P;
|
|
664
663
|
}), ve(function() {
|
|
664
|
+
return v && j(), w;
|
|
665
|
+
}), xe(function() {
|
|
665
666
|
m().sideEffect();
|
|
666
|
-
}, [m, a]),
|
|
667
|
-
v ? l(K({},
|
|
667
|
+
}, [m, a]), xe(function() {
|
|
668
|
+
v ? l(K({}, ye, {
|
|
668
669
|
sideEffect: j
|
|
669
670
|
})) : C(1);
|
|
670
671
|
}, [v, C, l, j]), {
|
|
@@ -673,13 +674,13 @@ var Me = function(t, n, o) {
|
|
|
673
674
|
progress: m().progress
|
|
674
675
|
};
|
|
675
676
|
};
|
|
676
|
-
const
|
|
677
|
+
const Re = () => {
|
|
677
678
|
const t = Ee().state === "loading", [n, o] = L(!1);
|
|
678
|
-
|
|
679
|
+
$(() => {
|
|
679
680
|
const s = setTimeout(() => o(t), 200);
|
|
680
681
|
return () => clearTimeout(s);
|
|
681
682
|
}, [t]);
|
|
682
|
-
const { isFinished: i, progress: c } =
|
|
683
|
+
const { isFinished: i, progress: c } = Er({ isAnimating: n });
|
|
683
684
|
return /* @__PURE__ */ r.jsx(
|
|
684
685
|
"div",
|
|
685
686
|
{
|
|
@@ -697,9 +698,9 @@ function wr() {
|
|
|
697
698
|
if (e.includes("mac")) return "macOS";
|
|
698
699
|
if (e.includes("linux")) return "Linux";
|
|
699
700
|
}
|
|
700
|
-
const
|
|
701
|
-
const t =
|
|
702
|
-
|
|
701
|
+
const ke = ({ className: e }) => {
|
|
702
|
+
const t = O(), [n, o] = L(!1), i = A(() => o(!1), []);
|
|
703
|
+
$(() => {
|
|
703
704
|
if (n)
|
|
704
705
|
return;
|
|
705
706
|
function s(d) {
|
|
@@ -726,7 +727,7 @@ const Re = ({ className: e }) => {
|
|
|
726
727
|
]
|
|
727
728
|
}
|
|
728
729
|
),
|
|
729
|
-
/* @__PURE__ */ r.jsx(
|
|
730
|
+
/* @__PURE__ */ r.jsx(Pe, { fallback: null, children: c.renderSearch({
|
|
730
731
|
isOpen: n,
|
|
731
732
|
onClose: i
|
|
732
733
|
}) })
|
|
@@ -737,8 +738,8 @@ const Re = ({ className: e }) => {
|
|
|
737
738
|
e === "macOS" ? "⌘" : "Ctrl",
|
|
738
739
|
"+K"
|
|
739
740
|
] });
|
|
740
|
-
},
|
|
741
|
-
const { resolvedTheme: e, setTheme: t } =
|
|
741
|
+
}, Oe = () => {
|
|
742
|
+
const { resolvedTheme: e, setTheme: t } = Se();
|
|
742
743
|
return /* @__PURE__ */ r.jsx(F, { fallback: /* @__PURE__ */ r.jsx(J, { variant: "ghost", size: "icon" }), children: /* @__PURE__ */ r.jsxs(
|
|
743
744
|
"button",
|
|
744
745
|
{
|
|
@@ -750,7 +751,7 @@ const Re = ({ className: e }) => {
|
|
|
750
751
|
/* @__PURE__ */ r.jsx(
|
|
751
752
|
"div",
|
|
752
753
|
{
|
|
753
|
-
className:
|
|
754
|
+
className: k(
|
|
754
755
|
"border border-transparent rounded-full p-0.5 [&>svg>circle]:transition-colors [&>svg>path]:transition-transform transition-all [&>svg>path]:duration-200 [&>svg>circle]:duration-500 [&>svg>circle]:fill-transparent",
|
|
755
756
|
e === "light" && "border-border bg-muted",
|
|
756
757
|
e === "dark" && "group-hover:[&>svg>path]:scale-110 group-hover:[&>svg>path]:-translate-x-[1px] group-hover:[&>svg>path]:-translate-y-[1px] group-hover:rotate-[15deg] "
|
|
@@ -761,7 +762,7 @@ const Re = ({ className: e }) => {
|
|
|
761
762
|
/* @__PURE__ */ r.jsx(
|
|
762
763
|
"div",
|
|
763
764
|
{
|
|
764
|
-
className:
|
|
765
|
+
className: k(
|
|
765
766
|
"border border-transparent rounded-full p-0.5 transition-transform transform-gpu duration-500",
|
|
766
767
|
e === "dark" && "border-border bg-muted [&>svg>path]:fill-white [&>svg>path]:stroke-transparent",
|
|
767
768
|
e === "light" && "group-hover:rotate-[-10deg] [&>svg>path]:stroke-currentColor"
|
|
@@ -773,21 +774,21 @@ const Re = ({ className: e }) => {
|
|
|
773
774
|
}
|
|
774
775
|
) });
|
|
775
776
|
}, Pr = () => {
|
|
776
|
-
const e =
|
|
777
|
-
return o.length === 0 ? /* @__PURE__ */ r.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ r.jsx(
|
|
778
|
-
/* @__PURE__ */ r.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ r.jsx("ul", { className: "flex flex-row items-center gap-8", children: o.map((i) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(
|
|
779
|
-
/* @__PURE__ */ r.jsx(
|
|
777
|
+
const e = O(), { navigation: t } = e, n = q(), o = t.filter(Ce(n, e));
|
|
778
|
+
return o.length === 0 ? /* @__PURE__ */ r.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ r.jsx(Pe, { children: /* @__PURE__ */ r.jsxs("div", { className: "items-center justify-between px-8 h-(--top-nav-height) hidden lg:flex text-sm relative", children: [
|
|
779
|
+
/* @__PURE__ */ r.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ r.jsx("ul", { className: "flex flex-row items-center gap-8", children: o.map((i) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(Ie, { ...i }) }, i.label + i.type)) }) }),
|
|
780
|
+
/* @__PURE__ */ r.jsx(R.Target, { name: "top-navigation-side" })
|
|
780
781
|
] }) });
|
|
781
|
-
},
|
|
782
|
+
}, $e = (e) => {
|
|
782
783
|
switch (e.type) {
|
|
783
784
|
case "doc":
|
|
784
|
-
return
|
|
785
|
+
return z(e.path);
|
|
785
786
|
case "link":
|
|
786
787
|
return e.to;
|
|
787
788
|
case "category":
|
|
788
|
-
return e.link?.path ?
|
|
789
|
+
return e.link?.path ? z(e.link.path) : dt(e, (t) => {
|
|
789
790
|
if (t.type !== "category")
|
|
790
|
-
return
|
|
791
|
+
return $e(t);
|
|
791
792
|
}) ?? "";
|
|
792
793
|
case "custom-page":
|
|
793
794
|
return e.path;
|
|
@@ -797,7 +798,7 @@ const Re = ({ className: e }) => {
|
|
|
797
798
|
children: t,
|
|
798
799
|
...n
|
|
799
800
|
}) => /* @__PURE__ */ r.jsx(
|
|
800
|
-
|
|
801
|
+
at,
|
|
801
802
|
{
|
|
802
803
|
viewTransition: !0,
|
|
803
804
|
className: ({ isActive: o, isPending: i }) => {
|
|
@@ -817,8 +818,8 @@ const Re = ({ className: e }) => {
|
|
|
817
818
|
...n,
|
|
818
819
|
children: t
|
|
819
820
|
}
|
|
820
|
-
),
|
|
821
|
-
const t = ut(), n = yt(t.topNavItem, e), o =
|
|
821
|
+
), Ie = (e) => {
|
|
822
|
+
const t = ut(), n = yt(t.topNavItem, e), o = $e(e);
|
|
822
823
|
return (
|
|
823
824
|
// We don't use isActive here because it has to be inside the navigation,
|
|
824
825
|
// the top nav id doesn't necessarily start with the navigation id
|
|
@@ -828,17 +829,17 @@ const Re = ({ className: e }) => {
|
|
|
828
829
|
] })
|
|
829
830
|
);
|
|
830
831
|
}, Nr = () => {
|
|
831
|
-
const e =
|
|
832
|
+
const e = O(), t = q(), { navigation: n, options: o, getProfileMenuItems: i } = e, { isAuthenticated: c, profile: s, isAuthEnabled: d } = t, [v, f] = L(!1), b = i(), y = n.filter(Ce(t, e));
|
|
832
833
|
return /* @__PURE__ */ r.jsxs(
|
|
833
|
-
|
|
834
|
+
Gt,
|
|
834
835
|
{
|
|
835
836
|
direction: o.site?.dir === "rtl" ? "left" : "right",
|
|
836
837
|
open: v,
|
|
837
838
|
onOpenChange: (m) => f(m),
|
|
838
839
|
children: [
|
|
839
840
|
/* @__PURE__ */ r.jsxs("div", { className: "flex lg:hidden justify-self-end", children: [
|
|
840
|
-
/* @__PURE__ */ r.jsx(
|
|
841
|
-
/* @__PURE__ */ r.jsx(
|
|
841
|
+
/* @__PURE__ */ r.jsx(Qt, { className: "lg:hidden", children: /* @__PURE__ */ r.jsx(Wt, { size: 22 }) }),
|
|
842
|
+
/* @__PURE__ */ r.jsx(Re, {})
|
|
842
843
|
] }),
|
|
843
844
|
/* @__PURE__ */ r.jsx(
|
|
844
845
|
Jt,
|
|
@@ -847,10 +848,10 @@ const Re = ({ className: e }) => {
|
|
|
847
848
|
"aria-describedby": void 0,
|
|
848
849
|
children: /* @__PURE__ */ r.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none h-full flex flex-col justify-between", children: [
|
|
849
850
|
/* @__PURE__ */ r.jsxs("div", { children: [
|
|
850
|
-
/* @__PURE__ */ r.jsx(
|
|
851
|
-
/* @__PURE__ */ r.jsx(
|
|
851
|
+
/* @__PURE__ */ r.jsx(Xt, { children: /* @__PURE__ */ r.jsx(er, { children: "Navigation" }) }),
|
|
852
|
+
/* @__PURE__ */ r.jsx(ke, { className: "flex p-4" }),
|
|
852
853
|
/* @__PURE__ */ r.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
|
|
853
|
-
/* @__PURE__ */ r.jsx("li", { className: "empty:hidden", children: /* @__PURE__ */ r.jsx(
|
|
854
|
+
/* @__PURE__ */ r.jsx("li", { className: "empty:hidden", children: /* @__PURE__ */ r.jsx(R.Target, { name: "top-navigation-side" }) }),
|
|
854
855
|
d && /* @__PURE__ */ r.jsx(
|
|
855
856
|
F,
|
|
856
857
|
{
|
|
@@ -868,7 +869,7 @@ const Re = ({ className: e }) => {
|
|
|
868
869
|
) })
|
|
869
870
|
}
|
|
870
871
|
),
|
|
871
|
-
y.map((m) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx("button", { type: "button", onClick: () => f(!1), children: /* @__PURE__ */ r.jsx(
|
|
872
|
+
y.map((m) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx("button", { type: "button", onClick: () => f(!1), children: /* @__PURE__ */ r.jsx(Ie, { ...m }) }) }, m.label)),
|
|
872
873
|
d && c && b.length > 0 && /* @__PURE__ */ r.jsx(
|
|
873
874
|
F,
|
|
874
875
|
{
|
|
@@ -883,7 +884,7 @@ const Re = ({ className: e }) => {
|
|
|
883
884
|
) }, m.label))
|
|
884
885
|
}
|
|
885
886
|
),
|
|
886
|
-
/* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(
|
|
887
|
+
/* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(Oe, {}) })
|
|
887
888
|
] })
|
|
888
889
|
] }),
|
|
889
890
|
o.site?.showPoweredBy !== !1 && /* @__PURE__ */ r.jsx(dr, { className: "grow-0 justify-center gap-1" })
|
|
@@ -894,13 +895,13 @@ const Re = ({ className: e }) => {
|
|
|
894
895
|
}
|
|
895
896
|
);
|
|
896
897
|
}, H = ({ item: e }) => e.children ? /* @__PURE__ */ r.jsxs(Lt, { children: [
|
|
897
|
-
/* @__PURE__ */ r.jsx(
|
|
898
|
-
/* @__PURE__ */ r.jsx(
|
|
898
|
+
/* @__PURE__ */ r.jsx(qt, { children: e.label }),
|
|
899
|
+
/* @__PURE__ */ r.jsx(zt, { children: /* @__PURE__ */ r.jsx(Bt, { children: e.children.map((t) => /* @__PURE__ */ r.jsx(H, { item: t }, t.label)) }) })
|
|
899
900
|
] }, e.label) : /* @__PURE__ */ r.jsx(re, { to: e.path ?? "", children: /* @__PURE__ */ r.jsxs(Yt, { className: "flex gap-2", children: [
|
|
900
901
|
e.icon && /* @__PURE__ */ r.jsx(e.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
|
|
901
902
|
e.label
|
|
902
|
-
] }, e.label) }), Tr =
|
|
903
|
-
const t =
|
|
903
|
+
] }, e.label) }), Tr = Ne(function() {
|
|
904
|
+
const t = q(), { isAuthenticated: n, profile: o, isAuthEnabled: i } = q(), c = O(), { site: s, plugins: d, options: v } = c, f = d.filter((l) => Te(l)).flatMap((l) => l.getProfileMenuItems(c)).sort((l) => l.weight ?? 0), b = s?.logo ? /https?:\/\//.test(s.logo.src.light) ? s.logo.src.light : z(v.basePath, s.logo.src.light) : void 0, y = s?.logo ? /https?:\/\//.test(s.logo.src.dark) ? s.logo.src.dark : z(v.basePath, s.logo.src.dark) : void 0, m = "inset-shadow-[0_-1px_0_0_var(--border)]";
|
|
904
905
|
return /* @__PURE__ */ r.jsxs(
|
|
905
906
|
"header",
|
|
906
907
|
{
|
|
@@ -908,8 +909,8 @@ const Re = ({ className: e }) => {
|
|
|
908
909
|
"data-pagefind-ignore": "all",
|
|
909
910
|
children: [
|
|
910
911
|
/* @__PURE__ */ r.jsx(ur, {}),
|
|
911
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
912
|
-
/* @__PURE__ */ r.jsx(
|
|
912
|
+
/* @__PURE__ */ r.jsxs("div", { className: k(m, "relative"), children: [
|
|
913
|
+
/* @__PURE__ */ r.jsx(Re, {}),
|
|
913
914
|
/* @__PURE__ */ r.jsxs("div", { className: "max-w-screen-2xl mx-auto flex items-center justify-between h-(--top-header-height) px-4 lg:px-8 border-transparent", children: [
|
|
914
915
|
/* @__PURE__ */ r.jsx("div", { className: "flex", children: /* @__PURE__ */ r.jsx(re, { to: s?.logo?.href ?? "/", children: /* @__PURE__ */ r.jsx("div", { className: "flex items-center gap-3.5", children: s?.logo ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
915
916
|
/* @__PURE__ */ r.jsx(
|
|
@@ -933,11 +934,11 @@ const Re = ({ className: e }) => {
|
|
|
933
934
|
}
|
|
934
935
|
)
|
|
935
936
|
] }) : /* @__PURE__ */ r.jsx("span", { className: "font-semibold text-2xl", children: s?.title }) }) }) }),
|
|
936
|
-
/* @__PURE__ */ r.jsx("div", { className: "absolute inset-x-0 justify-center items-center hidden lg:flex w-full pointer-events-none", children: /* @__PURE__ */ r.jsx(
|
|
937
|
+
/* @__PURE__ */ r.jsx("div", { className: "absolute inset-x-0 justify-center items-center hidden lg:flex w-full pointer-events-none", children: /* @__PURE__ */ r.jsx(ke, { className: "pointer-events-auto" }) }),
|
|
937
938
|
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-8", children: [
|
|
938
939
|
/* @__PURE__ */ r.jsx(Nr, {}),
|
|
939
940
|
/* @__PURE__ */ r.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
|
|
940
|
-
/* @__PURE__ */ r.jsx(
|
|
941
|
+
/* @__PURE__ */ r.jsx(R.Target, { name: "head-navigation-start" }),
|
|
941
942
|
i && /* @__PURE__ */ r.jsx(
|
|
942
943
|
F,
|
|
943
944
|
{
|
|
@@ -949,39 +950,39 @@ const Re = ({ className: e }) => {
|
|
|
949
950
|
o?.name ? `${o.name}` : "My Account",
|
|
950
951
|
o?.email && /* @__PURE__ */ r.jsx("div", { className: "font-normal text-muted-foreground", children: o.email })
|
|
951
952
|
] }),
|
|
952
|
-
f.filter((l) => l.category === "top").length > 0 && /* @__PURE__ */ r.jsx(
|
|
953
|
+
f.filter((l) => l.category === "top").length > 0 && /* @__PURE__ */ r.jsx(X, {}),
|
|
953
954
|
f.filter((l) => l.category === "top").map((l) => /* @__PURE__ */ r.jsx(H, { item: l }, l.label)),
|
|
954
955
|
f.filter(
|
|
955
956
|
(l) => !l.category || l.category === "middle"
|
|
956
|
-
).length > 0 && /* @__PURE__ */ r.jsx(
|
|
957
|
+
).length > 0 && /* @__PURE__ */ r.jsx(X, {}),
|
|
957
958
|
f.filter(
|
|
958
959
|
(l) => !l.category || l.category === "middle"
|
|
959
960
|
).map((l) => /* @__PURE__ */ r.jsx(H, { item: l }, l.label)),
|
|
960
|
-
f.filter((l) => l.category === "bottom").length > 0 && /* @__PURE__ */ r.jsx(
|
|
961
|
+
f.filter((l) => l.category === "bottom").length > 0 && /* @__PURE__ */ r.jsx(X, {}),
|
|
961
962
|
f.filter((l) => l.category === "bottom").map((l) => /* @__PURE__ */ r.jsx(H, { item: l }, l.label))
|
|
962
963
|
] })
|
|
963
964
|
] }) : /* @__PURE__ */ r.jsx(J, { variant: "ghost", onClick: () => t.login(), children: "Login" })
|
|
964
965
|
}
|
|
965
966
|
),
|
|
966
|
-
/* @__PURE__ */ r.jsx(
|
|
967
|
-
/* @__PURE__ */ r.jsx(
|
|
967
|
+
/* @__PURE__ */ r.jsx(R.Target, { name: "head-navigation-end" }),
|
|
968
|
+
/* @__PURE__ */ r.jsx(Oe, {})
|
|
968
969
|
] })
|
|
969
970
|
] })
|
|
970
971
|
] })
|
|
971
972
|
] }),
|
|
972
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
973
|
-
/* @__PURE__ */ r.jsx(
|
|
973
|
+
/* @__PURE__ */ r.jsx("div", { className: k("hidden lg:block", m), children: /* @__PURE__ */ r.jsxs("div", { className: "max-w-screen-2xl mx-auto border-transparent relative", children: [
|
|
974
|
+
/* @__PURE__ */ r.jsx(R.Target, { name: "top-navigation-before" }),
|
|
974
975
|
/* @__PURE__ */ r.jsx(Pr, {}),
|
|
975
|
-
/* @__PURE__ */ r.jsx(
|
|
976
|
+
/* @__PURE__ */ r.jsx(R.Target, { name: "top-navigation-after" })
|
|
976
977
|
] }) })
|
|
977
978
|
]
|
|
978
979
|
}
|
|
979
980
|
);
|
|
980
|
-
}),
|
|
981
|
+
}), De = {
|
|
981
982
|
Header: Tr
|
|
982
|
-
},
|
|
983
|
-
const e =
|
|
984
|
-
return
|
|
983
|
+
}, _r = ne(De), Ar = _r.Provider, Mr = () => {
|
|
984
|
+
const e = we(), t = O(), n = D(void 0);
|
|
985
|
+
return $(() => {
|
|
985
986
|
t.emitEvent("location", {
|
|
986
987
|
from: n.current,
|
|
987
988
|
to: e
|
|
@@ -994,13 +995,13 @@ const Re = ({ className: e }) => {
|
|
|
994
995
|
queryFn: async () => (await t.initialize(), !0),
|
|
995
996
|
queryKey: ["zudoku-initialize", mt]
|
|
996
997
|
}), /* @__PURE__ */ r.jsx(ht.Provider, { value: t, children: e }));
|
|
997
|
-
let
|
|
998
|
-
const
|
|
998
|
+
let be;
|
|
999
|
+
const Fe = Ne(
|
|
999
1000
|
({ children: e, ...t }) => {
|
|
1000
1001
|
const n = W(
|
|
1001
|
-
() => ({ ...
|
|
1002
|
+
() => ({ ...De, ...t.overrides }),
|
|
1002
1003
|
[t.overrides]
|
|
1003
|
-
), o =
|
|
1004
|
+
), o = we(), i = W(() => ({
|
|
1004
1005
|
...(t.plugins ?? []).filter(kt).flatMap(
|
|
1005
1006
|
(l) => l.getMdxComponents ? [l.getMdxComponents()] : []
|
|
1006
1007
|
).reduce(
|
|
@@ -1009,29 +1010,29 @@ const De = Pe(
|
|
|
1009
1010
|
),
|
|
1010
1011
|
...bt,
|
|
1011
1012
|
...t.mdx?.components
|
|
1012
|
-
}), [t.mdx?.components, t.plugins]), { stagger: c } = Nt(
|
|
1013
|
+
}), [t.mdx?.components, t.plugins]), { stagger: c } = Nt(de), [s, d] = L(!1), v = W(
|
|
1013
1014
|
() => s ? { stagger: !0 } : { stagger: c },
|
|
1014
1015
|
[c, s]
|
|
1015
1016
|
), f = Ee(), b = pt();
|
|
1016
|
-
|
|
1017
|
+
$(() => {
|
|
1017
1018
|
s || !f.location || d(!0);
|
|
1018
|
-
}, [s, f.location]),
|
|
1019
|
+
}, [s, f.location]), be ??= new ir(t, b);
|
|
1019
1020
|
const y = t.plugins?.flatMap(
|
|
1020
1021
|
(m) => Ot(m) ? m.getHead?.({ location: o }) ?? [] : []
|
|
1021
|
-
).map((m, l) => /* @__PURE__ */ r.jsx(
|
|
1022
|
+
).map((m, l) => /* @__PURE__ */ r.jsx(je, { children: m }, l));
|
|
1022
1023
|
return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
1023
1024
|
y,
|
|
1024
|
-
/* @__PURE__ */ r.jsx(
|
|
1025
|
-
/* @__PURE__ */ r.jsx(
|
|
1026
|
-
/* @__PURE__ */ r.jsx(jt, { slots: t.slots ?? t.UNSAFE_slotlets, children: /* @__PURE__ */ r.jsx(
|
|
1025
|
+
/* @__PURE__ */ r.jsx(de.Provider, { value: v, children: /* @__PURE__ */ r.jsxs(Rr, { context: be, children: [
|
|
1026
|
+
/* @__PURE__ */ r.jsx(Mr, {}),
|
|
1027
|
+
/* @__PURE__ */ r.jsx(jt, { slots: t.slots ?? t.UNSAFE_slotlets, children: /* @__PURE__ */ r.jsx(nt, { components: i, children: /* @__PURE__ */ r.jsx(ot, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ r.jsx(Ar, { value: n, children: /* @__PURE__ */ r.jsx(St, { children: e ?? /* @__PURE__ */ r.jsx(it, {}) }) }) }) }) })
|
|
1027
1028
|
] }) })
|
|
1028
1029
|
] });
|
|
1029
1030
|
}
|
|
1030
1031
|
);
|
|
1031
|
-
|
|
1032
|
-
const
|
|
1033
|
-
|
|
1034
|
-
const Jr =
|
|
1032
|
+
Fe.displayName = "ZudokuInner";
|
|
1033
|
+
const Le = (e) => /* @__PURE__ */ r.jsx(nr, { FallbackComponent: lr, children: /* @__PURE__ */ r.jsx(Fe, { ...e }) });
|
|
1034
|
+
Le.displayName = "Zudoku";
|
|
1035
|
+
const Jr = je, en = lt, tn = Et, rn = Ct, nn = F, on = ct, sn = re, an = Le, cn = wt, ln = R, un = st, dn = O, fn = q, mn = gt, hn = vt, pn = Se;
|
|
1035
1036
|
export {
|
|
1036
1037
|
on as B,
|
|
1037
1038
|
en as C,
|
|
@@ -1043,15 +1044,16 @@ export {
|
|
|
1043
1044
|
rn as S,
|
|
1044
1045
|
cn as T,
|
|
1045
1046
|
an as Z,
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1047
|
+
de as a,
|
|
1048
|
+
Er as b,
|
|
1049
|
+
Jr as c,
|
|
1050
|
+
nn as d,
|
|
1051
|
+
ln as e,
|
|
1052
|
+
un as f,
|
|
1052
1053
|
fn as g,
|
|
1053
1054
|
mn as h,
|
|
1054
1055
|
hn as i,
|
|
1055
|
-
|
|
1056
|
+
pn as j,
|
|
1057
|
+
dn as u
|
|
1056
1058
|
};
|
|
1057
|
-
//# sourceMappingURL=index-
|
|
1059
|
+
//# sourceMappingURL=index-B1rmok4X.js.map
|