zudoku 0.0.0-feda542 → 0.0.0-ff27e7ea
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 +33 -13
- package/cli.js +9 -2
- package/dist/app/ZuploBuildConfig.d.ts +45 -0
- package/dist/app/ZuploBuildConfig.js +29 -0
- package/dist/app/ZuploBuildConfig.js.map +1 -0
- package/dist/app/demo.js +22 -6
- package/dist/app/demo.js.map +1 -1
- package/dist/app/entry.client.d.ts +0 -2
- package/dist/app/entry.client.js +39 -4
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.d.ts +0 -2
- package/dist/app/entry.server.js +17 -6
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/env.d.ts +33 -0
- package/dist/app/env.js +37 -0
- package/dist/app/env.js.map +1 -0
- package/dist/app/main.d.ts +93 -2
- package/dist/app/main.js +45 -47
- package/dist/app/main.js.map +1 -1
- package/dist/app/standalone.js +11 -7
- package/dist/app/standalone.js.map +1 -1
- package/dist/cli/build/handler.js +9 -1
- package/dist/cli/build/handler.js.map +1 -1
- package/dist/cli/cli.d.ts +9 -0
- package/dist/cli/cli.js +17 -11
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/cmds/build.d.ts +1 -1
- package/dist/cli/cmds/dev.d.ts +1 -1
- package/dist/cli/cmds/preview.d.ts +1 -1
- package/dist/cli/common/analytics/lib.js +1 -1
- package/dist/cli/common/analytics/lib.js.map +1 -1
- package/dist/cli/common/logger.js +0 -1
- package/dist/cli/common/logger.js.map +1 -1
- package/dist/cli/common/machine-id/lib.js +3 -1
- package/dist/cli/common/machine-id/lib.js.map +1 -1
- package/dist/cli/common/outdated.js +2 -1
- package/dist/cli/common/outdated.js.map +1 -1
- package/dist/cli/common/output.js +2 -3
- package/dist/cli/common/output.js.map +1 -1
- package/dist/cli/common/utils/box.js +2 -2
- package/dist/cli/common/utils/box.js.map +1 -1
- package/dist/cli/common/validators/lib.js +1 -1
- package/dist/cli/common/validators/lib.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/cli/dev/handler.js +0 -4
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/codegen.js +2 -2
- package/dist/codegen.js.map +1 -1
- package/dist/config/config.d.ts +18 -32
- package/dist/config/file-exists.d.ts +1 -0
- package/dist/config/file-exists.js +5 -0
- package/dist/config/file-exists.js.map +1 -0
- package/dist/config/loader.d.ts +18 -18
- package/dist/config/loader.js +95 -103
- package/dist/config/loader.js.map +1 -1
- package/dist/config/validators/BuildSchema.d.ts +31 -46
- package/dist/config/validators/BuildSchema.js +29 -18
- package/dist/config/validators/BuildSchema.js.map +1 -1
- package/dist/config/validators/InputNavigationSchema.d.ts +7646 -0
- package/dist/config/validators/InputNavigationSchema.js +78 -0
- package/dist/config/validators/InputNavigationSchema.js.map +1 -0
- package/dist/config/validators/InputNavigationSchema.test-d.js +146 -0
- package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -0
- package/dist/config/validators/NavigationSchema.d.ts +44 -0
- package/dist/config/validators/NavigationSchema.js +98 -0
- package/dist/config/validators/NavigationSchema.js.map +1 -0
- package/dist/config/validators/ProtectedRoutesSchema.d.ts +13 -0
- package/dist/config/validators/ProtectedRoutesSchema.js +10 -0
- package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -0
- package/dist/config/validators/auth.d.ts +2 -2
- package/dist/config/validators/auth.js +1 -1
- package/dist/config/validators/auth.js.map +1 -1
- package/dist/config/validators/icon-types.d.ts +2 -1
- package/dist/config/validators/icon-types.js +1872 -1
- package/dist/config/validators/icon-types.js.map +1 -1
- package/dist/config/validators/validate.d.ts +775 -2744
- package/dist/config/validators/validate.js +501 -18
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/config/validators/validate.test.d.ts +1 -0
- package/dist/config/validators/validate.test.js +183 -0
- package/dist/config/validators/validate.test.js.map +1 -0
- package/dist/flat-config.d.ts +379 -0
- package/dist/index.d.ts +9 -5
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/MissingIcon.d.ts +1 -1
- package/dist/lib/MissingIcon.js.map +1 -1
- 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/auth/issuer.d.ts +2 -0
- package/dist/lib/auth/issuer.js +40 -0
- package/dist/lib/auth/issuer.js.map +1 -0
- package/dist/lib/auth/issuer.test.d.ts +1 -0
- package/dist/lib/auth/issuer.test.js +95 -0
- package/dist/lib/auth/issuer.test.js.map +1 -0
- package/dist/lib/authentication/AuthenticationPlugin.d.ts +2 -2
- package/dist/lib/authentication/AuthenticationPlugin.js +1 -1
- package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
- package/dist/lib/authentication/authentication.d.ts +20 -14
- package/dist/lib/authentication/components/CallbackHandler.js +16 -10
- package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
- package/dist/lib/authentication/components/OAuthErrorPage.d.ts +3 -0
- package/dist/lib/authentication/components/OAuthErrorPage.js +99 -0
- package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -0
- package/dist/lib/authentication/components/SignIn.d.ts +1 -1
- package/dist/lib/authentication/components/SignIn.js +11 -6
- 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.d.ts +1 -1
- package/dist/lib/authentication/components/SignUp.js +8 -5
- package/dist/lib/authentication/components/SignUp.js.map +1 -1
- package/dist/lib/authentication/errors.d.ts +6 -12
- package/dist/lib/authentication/errors.js +2 -1
- package/dist/lib/authentication/errors.js.map +1 -1
- package/dist/lib/authentication/hook.d.ts +10 -2
- package/dist/lib/authentication/hook.js +12 -8
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.d.ts +2 -2
- package/dist/lib/authentication/providers/auth0.js +16 -7
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/azureb2c.d.ts +28 -0
- package/dist/lib/authentication/providers/azureb2c.js +147 -0
- package/dist/lib/authentication/providers/azureb2c.js.map +1 -0
- package/dist/lib/authentication/providers/clerk.d.ts +2 -2
- package/dist/lib/authentication/providers/clerk.js +80 -60
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/firebase.d.ts +4 -0
- package/dist/lib/authentication/providers/firebase.js +215 -0
- package/dist/lib/authentication/providers/firebase.js.map +1 -0
- package/dist/lib/authentication/providers/openid.d.ts +20 -23
- package/dist/lib/authentication/providers/openid.js +76 -45
- 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.d.ts +2 -2
- package/dist/lib/authentication/providers/supabase.js +35 -44
- package/dist/lib/authentication/providers/supabase.js.map +1 -1
- package/dist/lib/authentication/state.d.ts +11 -12
- package/dist/lib/authentication/state.js +21 -20
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/authentication/ui/ZudokuAuthUi.d.ts +24 -0
- package/dist/lib/authentication/ui/ZudokuAuthUi.js +124 -0
- package/dist/lib/authentication/ui/ZudokuAuthUi.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Apple.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Apple.js +4 -0
- package/dist/lib/authentication/ui/icons/Apple.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Facebook.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Facebook.js +4 -0
- package/dist/lib/authentication/ui/icons/Facebook.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Github.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Github.js +4 -0
- package/dist/lib/authentication/ui/icons/Github.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Google.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Google.js +4 -0
- package/dist/lib/authentication/ui/icons/Google.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Microsoft.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Microsoft.js +4 -0
- package/dist/lib/authentication/ui/icons/Microsoft.js.map +1 -0
- package/dist/lib/authentication/ui/icons/X.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/X.js +4 -0
- package/dist/lib/authentication/ui/icons/X.js.map +1 -0
- package/dist/lib/authentication/use-broadcast/shared.d.ts +1 -1
- package/dist/lib/authentication/use-broadcast/shared.js +3 -3
- package/dist/lib/authentication/use-broadcast/shared.js.map +1 -1
- package/dist/lib/authentication/use-broadcast/useBroadcast.js +2 -2
- package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -1
- package/dist/lib/components/Autocomplete.d.ts +3 -1
- package/dist/lib/components/Autocomplete.js +8 -4
- package/dist/lib/components/Autocomplete.js.map +1 -1
- package/dist/lib/components/Banner.js +2 -2
- package/dist/lib/components/Banner.js.map +1 -1
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/BuildCheck.d.ts +5 -0
- package/dist/lib/components/BuildCheck.js +45 -0
- package/dist/lib/components/BuildCheck.js.map +1 -0
- package/dist/lib/components/CategoryHeading.js +1 -1
- package/dist/lib/components/CategoryHeading.js.map +1 -1
- package/dist/lib/components/ErrorPage.js +2 -2
- package/dist/lib/components/ErrorPage.js.map +1 -1
- package/dist/lib/components/Footer.js +6 -6
- package/dist/lib/components/Footer.js.map +1 -1
- package/dist/lib/components/Framed.d.ts +7 -0
- package/dist/lib/components/Framed.js +26 -0
- package/dist/lib/components/Framed.js.map +1 -0
- package/dist/lib/components/Header.js +25 -18
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +9 -5
- package/dist/lib/components/Heading.js +4 -3
- package/dist/lib/components/Heading.js.map +1 -1
- package/dist/lib/components/InlineCode.js +1 -1
- package/dist/lib/components/InlineCode.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/Layout.js +6 -8
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Main.js +7 -6
- package/dist/lib/components/Main.js.map +1 -1
- package/dist/lib/components/Markdown.d.ts +3 -2
- package/dist/lib/components/Markdown.js +14 -16
- package/dist/lib/components/Markdown.js.map +1 -1
- package/dist/lib/components/Meta.d.ts +2 -0
- package/dist/lib/components/Meta.js +11 -0
- package/dist/lib/components/Meta.js.map +1 -0
- package/dist/lib/components/MobileTopNavigation.js +13 -6
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/NotFoundPage.js +2 -2
- package/dist/lib/components/NotFoundPage.js.map +1 -1
- package/dist/lib/components/PageProgress.d.ts +1 -0
- package/dist/lib/components/PageProgress.js +20 -0
- package/dist/lib/components/PageProgress.js.map +1 -0
- package/dist/lib/components/Pagination.js +2 -2
- package/dist/lib/components/Pagination.js.map +1 -1
- package/dist/lib/components/PathRenderer.js +1 -1
- package/dist/lib/components/PathRenderer.js.map +1 -1
- package/dist/lib/components/Search.js +3 -3
- package/dist/lib/components/Search.js.map +1 -1
- package/dist/lib/components/Slot.d.ts +17 -0
- package/dist/lib/components/Slot.js +24 -0
- package/dist/lib/components/Slot.js.map +1 -0
- package/dist/lib/components/Slot.test.d.ts +1 -0
- package/dist/lib/components/Slot.test.js +172 -0
- package/dist/lib/components/Slot.test.js.map +1 -0
- package/dist/lib/components/StatusPage.js +4 -0
- package/dist/lib/components/StatusPage.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +7 -6
- package/dist/lib/components/TopNavigation.js +53 -55
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Typography.d.ts +5 -0
- package/dist/lib/components/Typography.js +8 -0
- package/dist/lib/components/Typography.js.map +1 -0
- package/dist/lib/components/Zudoku.js +8 -10
- package/dist/lib/components/Zudoku.js.map +1 -1
- 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/ComponentsContext.js.map +1 -1
- package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -1
- package/dist/lib/components/context/SlotProvider.d.ts +26 -0
- package/dist/lib/components/context/SlotProvider.js +83 -0
- package/dist/lib/components/context/SlotProvider.js.map +1 -0
- package/dist/lib/components/context/ViewportAnchorContext.js +9 -10
- package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +3 -7
- package/dist/lib/components/context/ZudokuContext.js +66 -33
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuProvider.d.ts +1 -1
- package/dist/lib/components/context/ZudokuProvider.js +2 -1
- package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
- package/dist/lib/components/index.d.ts +51 -47
- package/dist/lib/components/index.js +17 -20
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/Navigation.d.ts +5 -0
- package/dist/lib/components/navigation/Navigation.js +12 -0
- package/dist/lib/components/navigation/Navigation.js.map +1 -0
- package/dist/lib/components/navigation/NavigationBadge.d.ts +26 -0
- package/dist/lib/components/navigation/NavigationBadge.js +26 -0
- package/dist/lib/components/navigation/NavigationBadge.js.map +1 -0
- package/dist/lib/components/navigation/NavigationCategory.d.ts +5 -0
- package/dist/lib/components/navigation/NavigationCategory.js +66 -0
- package/dist/lib/components/navigation/NavigationCategory.js.map +1 -0
- package/dist/lib/components/navigation/NavigationItem.d.ts +6 -0
- package/dist/lib/components/navigation/NavigationItem.js +55 -0
- package/dist/lib/components/navigation/NavigationItem.js.map +1 -0
- package/dist/lib/components/navigation/NavigationWrapper.d.ts +7 -0
- package/dist/lib/components/navigation/NavigationWrapper.js +21 -0
- package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -0
- package/dist/lib/components/navigation/PoweredByZudoku.js +2 -1
- package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -1
- package/dist/lib/components/navigation/Toc.js +2 -2
- package/dist/lib/components/navigation/Toc.js.map +1 -1
- package/dist/lib/components/navigation/ZudokuLogo.d.ts +1 -1
- package/dist/lib/components/navigation/ZuploLogo.d.ts +3 -0
- package/dist/lib/components/navigation/ZuploLogo.js +4 -0
- package/dist/lib/components/navigation/ZuploLogo.js.map +1 -0
- package/dist/lib/components/navigation/utils.d.ts +16 -8
- package/dist/lib/components/navigation/utils.js +58 -27
- package/dist/lib/components/navigation/utils.js.map +1 -1
- package/dist/lib/core/RouteGuard.d.ts +1 -1
- package/dist/lib/core/RouteGuard.js +19 -27
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +38 -21
- package/dist/lib/core/ZudokuContext.js +51 -14
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/__internal.d.ts +37 -0
- package/dist/lib/core/__internal.js +26 -0
- package/dist/lib/core/__internal.js.map +1 -0
- package/dist/lib/core/plugins.d.ts +8 -4
- package/dist/lib/core/plugins.js +1 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/core/router.d.ts +1 -0
- package/dist/lib/core/router.js +2 -0
- package/dist/lib/core/router.js.map +1 -0
- package/dist/lib/errors/ErrorAlert.js +2 -4
- package/dist/lib/errors/ErrorAlert.js.map +1 -1
- package/dist/lib/errors/RouterError.d.ts +3 -1
- package/dist/lib/errors/RouterError.js +3 -2
- package/dist/lib/errors/RouterError.js.map +1 -1
- package/dist/lib/errors/TopLevelError.d.ts +2 -2
- package/dist/lib/errors/TopLevelError.js +1 -2
- package/dist/lib/errors/TopLevelError.js.map +1 -1
- package/dist/lib/hooks/index.d.ts +25 -0
- package/dist/lib/hooks/index.js +11 -0
- package/dist/lib/hooks/index.js.map +1 -1
- package/dist/lib/hooks/useEvent.test.js +5 -3
- package/dist/lib/hooks/useEvent.test.js.map +1 -1
- package/dist/lib/hooks/useHotkey.d.ts +4 -0
- package/dist/lib/hooks/useHotkey.js +58 -0
- package/dist/lib/hooks/useHotkey.js.map +1 -0
- package/dist/lib/oas/graphql/circular.js +24 -19
- package/dist/lib/oas/graphql/circular.js.map +1 -1
- package/dist/lib/oas/graphql/index.js +39 -3
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.js +2 -1
- package/dist/lib/oas/parser/dereference/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/resolveRef.js +3 -3
- package/dist/lib/oas/parser/dereference/resolveRef.js.map +1 -1
- package/dist/lib/oas/parser/index.d.ts +3 -0
- package/dist/lib/oas/parser/index.js +12 -2
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/oas/parser/upgrade/index.d.ts +1 -0
- package/dist/lib/oas/parser/upgrade/index.js +79 -26
- package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.d.ts +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.js +8 -2
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
- package/dist/lib/plugins/api-catalog/index.d.ts +6 -6
- package/dist/lib/plugins/api-catalog/index.js +10 -10
- package/dist/lib/plugins/api-catalog/index.js.map +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
- package/dist/lib/plugins/api-keys/CreateApiKey.js +18 -4
- package/dist/lib/plugins/api-keys/CreateApiKey.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/ProtectedRoute.js +4 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +146 -27
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.d.ts +29 -15
- package/dist/lib/plugins/api-keys/index.js +63 -33
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/custom-pages/index.d.ts +4 -6
- package/dist/lib/plugins/custom-pages/index.js +18 -10
- package/dist/lib/plugins/custom-pages/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +3 -3
- package/dist/lib/plugins/markdown/MdxPage.js +56 -12
- 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 +14 -4
- package/dist/lib/plugins/markdown/index.js +9 -26
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.d.ts +1 -0
- package/dist/lib/plugins/openapi/CollapsibleCode.js +2 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js +5 -2
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +2 -2
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.d.ts +5 -0
- package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.js +10 -0
- package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.js.map +1 -0
- 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/OasProvider.d.ts +1 -1
- package/dist/lib/plugins/openapi/OasProvider.js +1 -0
- package/dist/lib/plugins/openapi/OasProvider.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.d.ts +1 -3
- package/dist/lib/plugins/openapi/OperationList.js +39 -13
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +4 -3
- package/dist/lib/plugins/openapi/OperationListItem.js +16 -7
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.d.ts +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.js +15 -10
- package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -2
- package/dist/lib/plugins/openapi/ParameterList.js +8 -5
- 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 +25 -7
- 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 +8 -6
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +11 -4
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +5 -2
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +5 -6
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +25 -7
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaList.js +7 -7
- package/dist/lib/plugins/openapi/SchemaList.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.d.ts +5 -4
- package/dist/lib/plugins/openapi/Sidecar.js +64 -88
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarBox.js +4 -4
- package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarExamples.d.ts +11 -6
- package/dist/lib/plugins/openapi/SidecarExamples.js +32 -43
- package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
- package/dist/lib/plugins/openapi/StaggeredRender.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/createServer.js +1 -2
- package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +5 -0
- package/dist/lib/plugins/openapi/client/useCreateQuery.js +10 -4
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
- package/dist/lib/plugins/openapi/components/ConstValue.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/ConstValue.js +6 -0
- package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js +1 -1
- package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -1
- package/dist/lib/plugins/openapi/components/NonHighlightedCode.d.ts +4 -0
- package/dist/lib/plugins/openapi/components/NonHighlightedCode.js +5 -0
- package/dist/lib/plugins/openapi/components/NonHighlightedCode.js.map +1 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.d.ts +12 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.js +20 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -0
- package/dist/lib/plugins/openapi/context.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +3 -3
- package/dist/lib/plugins/openapi/graphql/gql.js +3 -3
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +15 -5
- package/dist/lib/plugins/openapi/graphql/graphql.js +14 -2
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +5 -6
- package/dist/lib/plugins/openapi/index.js +61 -31
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +22 -7
- package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +5 -0
- package/dist/lib/plugins/openapi/playground/BodyPanel.js +78 -0
- package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.d.ts +8 -0
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +11 -0
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +3 -3
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +2 -1
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.d.ts +5 -4
- package/dist/lib/plugins/openapi/playground/Headers.js +42 -80
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js +2 -1
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js +1 -4
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +10 -2
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js +9 -2
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.js +2 -4
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +12 -10
- package/dist/lib/plugins/openapi/playground/Playground.js +166 -106
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +5 -2
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +4 -4
- package/dist/lib/plugins/openapi/playground/QueryParams.js +20 -29
- package/dist/lib/plugins/openapi/playground/QueryParams.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/Spinner.d.ts +2 -0
- package/dist/lib/plugins/openapi/playground/Spinner.js +63 -0
- package/dist/lib/plugins/openapi/playground/Spinner.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/fileUtils.d.ts +2 -0
- package/dist/lib/plugins/openapi/playground/fileUtils.js +22 -0
- package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +5 -3
- package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.d.ts +8 -0
- package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.js +19 -0
- package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.d.ts +3 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js +13 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.d.ts +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +12 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.js +540 -0
- package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.d.ts +40 -0
- package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.js +205 -0
- package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/Highlight.d.ts +12 -0
- package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js +11 -0
- package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.d.ts +8 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +71 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +10 -4
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +55 -39
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +6 -4
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +8 -10
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.d.ts +18 -0
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js +12 -0
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.d.ts +3 -2
- package/dist/lib/plugins/openapi/processors/removeExtensions.js +1 -1
- package/dist/lib/plugins/openapi/processors/removeExtensions.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +27 -6
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/removeParameters.d.ts +3 -1
- package/dist/lib/plugins/openapi/processors/removeParameters.js +1 -1
- package/dist/lib/plugins/openapi/processors/removeParameters.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js +54 -25
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/removePaths.d.ts +3 -1
- package/dist/lib/plugins/openapi/processors/removePaths.js +1 -1
- package/dist/lib/plugins/openapi/processors/removePaths.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/removePaths.test.js +75 -35
- package/dist/lib/plugins/openapi/processors/removePaths.test.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -1
- package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +5 -2
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +0 -3
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +29 -26
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +4 -2
- package/dist/lib/plugins/openapi/schema/SchemaView.js +33 -19
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/UnionView.d.ts +5 -0
- package/dist/lib/plugins/openapi/schema/UnionView.js +33 -0
- package/dist/lib/plugins/openapi/schema/UnionView.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/union-helpers.d.ts +28 -0
- package/dist/lib/plugins/openapi/schema/union-helpers.js +71 -0
- package/dist/lib/plugins/openapi/schema/union-helpers.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/utils.d.ts +6 -8
- package/dist/lib/plugins/openapi/schema/utils.js +15 -13
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/lib/plugins/openapi/state.d.ts +5 -3
- package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +11 -0
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js +89 -0
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -0
- package/dist/lib/plugins/openapi/util/createNavigationCategory.d.ts +9 -0
- package/dist/lib/plugins/openapi/util/createNavigationCategory.js +25 -0
- package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -0
- package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +2 -2
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js +43 -2
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.js +52 -15
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
- package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +1 -1
- package/dist/lib/plugins/redirect/index.d.ts +1 -1
- package/dist/lib/plugins/search-inkeep/index.d.ts +5 -22
- package/dist/lib/plugins/search-inkeep/index.js +35 -29
- package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
- package/dist/lib/plugins/search-inkeep/inkeep.d.ts +5 -21
- package/dist/lib/plugins/search-inkeep/inkeep.js +10 -19
- package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +2 -2
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/ResultList.d.ts +2 -2
- package/dist/lib/plugins/search-pagefind/ResultList.js +15 -5
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/get-results.js +0 -1
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
- package/dist/lib/shiki.d.ts +32 -0
- package/dist/lib/shiki.js +124 -0
- package/dist/lib/shiki.js.map +1 -0
- package/dist/lib/ui/ActionButton.js +1 -1
- package/dist/lib/ui/ActionButton.js.map +1 -1
- package/dist/lib/ui/Alert.d.ts +6 -5
- package/dist/lib/ui/Alert.js +12 -10
- package/dist/lib/ui/Alert.js.map +1 -1
- package/dist/lib/ui/Badge.d.ts +5 -5
- package/dist/lib/ui/Badge.js +9 -7
- package/dist/lib/ui/Badge.js.map +1 -1
- package/dist/lib/ui/Breadcrumb.js +1 -1
- package/dist/lib/ui/Breadcrumb.js.map +1 -1
- package/dist/lib/ui/Button.d.ts +2 -2
- package/dist/lib/ui/Button.js +9 -6
- package/dist/lib/ui/Button.js.map +1 -1
- package/dist/lib/ui/Callout.d.ts +5 -5
- package/dist/lib/ui/Callout.js +6 -6
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/ui/Card.js +1 -1
- package/dist/lib/ui/Checkbox.d.ts +2 -2
- package/dist/lib/ui/Checkbox.js +4 -4
- package/dist/lib/ui/Checkbox.js.map +1 -1
- package/dist/lib/ui/CodeBlock.d.ts +14 -0
- package/dist/lib/ui/CodeBlock.js +18 -0
- package/dist/lib/ui/CodeBlock.js.map +1 -0
- package/dist/lib/ui/Collapsible.d.ts +4 -4
- package/dist/lib/ui/Collapsible.js +11 -4
- package/dist/lib/ui/Collapsible.js.map +1 -1
- package/dist/lib/ui/Command.d.ts +5 -5
- package/dist/lib/ui/Command.js +3 -7
- package/dist/lib/ui/Command.js.map +1 -1
- package/dist/lib/ui/Dialog.d.ts +13 -17
- package/dist/lib/ui/Dialog.js +31 -18
- package/dist/lib/ui/Dialog.js.map +1 -1
- package/dist/lib/ui/DropdownMenu.js +4 -4
- package/dist/lib/ui/DropdownMenu.js.map +1 -1
- package/dist/lib/ui/EmbeddedCodeBlock.d.ts +16 -0
- package/dist/lib/ui/EmbeddedCodeBlock.js +19 -0
- package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -0
- package/dist/lib/ui/Form.d.ts +3 -3
- package/dist/lib/ui/Frame.d.ts +8 -0
- package/dist/lib/ui/Frame.js +22 -0
- package/dist/lib/ui/Frame.js.map +1 -0
- package/dist/lib/ui/HoverCard.js +1 -1
- package/dist/lib/ui/HoverCard.js.map +1 -1
- package/dist/lib/ui/Input.js +1 -1
- package/dist/lib/ui/Input.js.map +1 -1
- package/dist/lib/ui/Item.d.ts +23 -0
- package/dist/lib/ui/Item.js +67 -0
- package/dist/lib/ui/Item.js.map +1 -0
- package/dist/lib/ui/NativeSelect.d.ts +5 -0
- package/dist/lib/ui/NativeSelect.js +14 -0
- package/dist/lib/ui/NativeSelect.js.map +1 -0
- package/dist/lib/ui/Pagination.d.ts +1 -1
- package/dist/lib/ui/Pagination.js +1 -1
- package/dist/lib/ui/Pagination.js.map +1 -1
- package/dist/lib/ui/Popover.js +1 -1
- package/dist/lib/ui/Popover.js.map +1 -1
- package/dist/lib/ui/RadioGroup.js +1 -1
- package/dist/lib/ui/RadioGroup.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/Select.d.ts +13 -11
- package/dist/lib/ui/Select.js +34 -23
- package/dist/lib/ui/Select.js.map +1 -1
- package/dist/lib/ui/Separator.d.ts +4 -0
- package/dist/lib/ui/Separator.js +8 -0
- package/dist/lib/ui/Separator.js.map +1 -0
- package/dist/lib/ui/Slider.js +1 -1
- package/dist/lib/ui/Slider.js.map +1 -1
- package/dist/lib/ui/Switch.js +1 -1
- package/dist/lib/ui/Switch.js.map +1 -1
- package/dist/lib/ui/SyntaxHighlight.d.ts +13 -15
- package/dist/lib/ui/SyntaxHighlight.js +13 -60
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
- package/dist/lib/ui/Tabs.js +2 -2
- package/dist/lib/ui/Tabs.js.map +1 -1
- package/dist/lib/ui/Textarea.js +1 -1
- package/dist/lib/ui/Textarea.js.map +1 -1
- package/dist/lib/ui/Toggle.js +1 -1
- package/dist/lib/ui/Toggle.js.map +1 -1
- package/dist/lib/ui/ToggleGroup.d.ts +1 -1
- package/dist/lib/ui/Tooltip.d.ts +7 -6
- package/dist/lib/ui/Tooltip.js +16 -9
- package/dist/lib/ui/Tooltip.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 +19 -4
- package/dist/lib/util/MdxComponents.js +16 -12
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/cn.js.map +1 -1
- package/dist/lib/util/createVariantComponent.d.ts +7 -4
- package/dist/lib/util/createVariantComponent.js +5 -2
- package/dist/lib/util/createVariantComponent.js.map +1 -1
- package/dist/lib/util/ensureArray.d.ts +1 -0
- package/dist/lib/util/ensureArray.js +2 -0
- package/dist/lib/util/ensureArray.js.map +1 -0
- package/dist/lib/util/flattenAllOf.d.ts +4 -0
- package/dist/lib/util/flattenAllOf.js +65 -0
- package/dist/lib/util/flattenAllOf.js.map +1 -0
- package/dist/lib/util/flattenAllOf.test.d.ts +1 -0
- package/dist/lib/util/flattenAllOf.test.js +532 -0
- package/dist/lib/util/flattenAllOf.test.js.map +1 -0
- package/dist/lib/util/groupBy.js +1 -0
- package/dist/lib/util/groupBy.js.map +1 -1
- package/dist/lib/util/humanFileSize.d.ts +6 -0
- package/dist/lib/util/humanFileSize.js +14 -0
- package/dist/lib/util/humanFileSize.js.map +1 -0
- package/dist/lib/util/humanFileSize.test.d.ts +1 -0
- package/dist/lib/util/humanFileSize.test.js +22 -0
- package/dist/lib/util/humanFileSize.test.js.map +1 -0
- package/dist/lib/util/invariant.d.ts +6 -5
- package/dist/lib/util/invariant.js +4 -2
- package/dist/lib/util/invariant.js.map +1 -1
- package/dist/lib/util/os.d.ts +2 -0
- package/dist/lib/util/os.js +21 -0
- package/dist/lib/util/os.js.map +1 -0
- 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 +2 -1
- package/dist/lib/util/traverse.js +31 -5
- package/dist/lib/util/traverse.js.map +1 -1
- package/dist/lib/util/url.d.ts +4 -0
- package/dist/lib/util/url.js +13 -0
- package/dist/lib/util/url.js.map +1 -0
- package/dist/lib/util/url.test.d.ts +1 -0
- package/dist/lib/util/url.test.js +26 -0
- package/dist/lib/util/url.test.js.map +1 -0
- package/dist/lib/util/useCopyToClipboard.d.ts +1 -0
- package/dist/lib/util/useCopyToClipboard.js +11 -0
- package/dist/lib/util/useCopyToClipboard.js.map +1 -0
- package/dist/lib/util/useExposedProps.d.ts +8 -1
- package/dist/lib/util/useExposedProps.js.map +1 -1
- package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -1
- package/dist/lib/util/useScrollToAnchor.js +5 -3
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/ts.js +3 -3
- package/dist/ts.js.map +1 -1
- package/dist/vite/api/SchemaManager.d.ts +38 -0
- package/dist/vite/api/SchemaManager.js +152 -0
- package/dist/vite/api/SchemaManager.js.map +1 -0
- package/dist/vite/api/SchemaManager.test.d.ts +1 -0
- package/dist/vite/api/SchemaManager.test.js +106 -0
- package/dist/vite/api/SchemaManager.test.js.map +1 -0
- package/dist/vite/api/schema-codegen.js +71 -22
- package/dist/vite/api/schema-codegen.js.map +1 -1
- package/dist/vite/api/schema-codegen.test.js +156 -1
- package/dist/vite/api/schema-codegen.test.js.map +1 -1
- package/dist/vite/build.js +22 -7
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +2 -9
- package/dist/vite/config.js +61 -97
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +1 -1
- package/dist/vite/config.test.js.map +1 -1
- package/dist/vite/css/plugin.d.ts +1 -2
- package/dist/vite/css/plugin.js +14 -2
- package/dist/vite/css/plugin.js.map +1 -1
- package/dist/vite/dev-server.d.ts +0 -1
- package/dist/vite/dev-server.js +25 -16
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/error-handler.d.ts +2 -2
- package/dist/vite/error-handler.js.map +1 -1
- package/dist/vite/html.d.ts +7 -3
- package/dist/vite/html.js +15 -9
- package/dist/vite/html.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/mdx/remark-inject-filepath.d.ts +3 -0
- package/dist/vite/mdx/remark-inject-filepath.js +6 -0
- package/dist/vite/mdx/remark-inject-filepath.js.map +1 -0
- package/dist/vite/mdx/remark-last-modified.d.ts +3 -0
- package/dist/vite/mdx/remark-last-modified.js +82 -0
- package/dist/vite/mdx/remark-last-modified.js.map +1 -0
- package/dist/vite/mdx/remark-link-rewrite.d.ts +2 -0
- package/dist/vite/mdx/remark-link-rewrite.js +20 -0
- package/dist/vite/mdx/remark-link-rewrite.js.map +1 -0
- package/dist/vite/mdx/remark-normalize-image-url.d.ts +2 -0
- package/dist/vite/mdx/remark-normalize-image-url.js +12 -0
- package/dist/vite/mdx/remark-normalize-image-url.js.map +1 -0
- package/dist/vite/mdx/remark-static-generation.d.ts +3 -0
- package/dist/vite/mdx/remark-static-generation.js +125 -0
- package/dist/vite/mdx/remark-static-generation.js.map +1 -0
- package/dist/vite/mdx/utils.d.ts +2 -0
- package/dist/vite/mdx/utils.js +31 -0
- package/dist/vite/mdx/utils.js.map +1 -0
- package/dist/vite/output.d.ts +1 -1
- package/dist/vite/output.js +1 -1
- package/dist/vite/output.js.map +1 -1
- package/dist/vite/plugin-api-keys.d.ts +2 -3
- package/dist/vite/plugin-api-keys.js +10 -4
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.d.ts +1 -2
- package/dist/vite/plugin-api.js +59 -135
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.d.ts +2 -3
- package/dist/vite/plugin-auth.js +4 -3
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.d.ts +2 -3
- package/dist/vite/plugin-component.js +3 -2
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config-reload.d.ts +2 -3
- package/dist/vite/plugin-config-reload.js +23 -22
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +2 -3
- package/dist/vite/plugin-config.js +6 -4
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-custom-pages.d.ts +2 -3
- package/dist/vite/plugin-custom-pages.js +6 -5
- package/dist/vite/plugin-custom-pages.js.map +1 -1
- package/dist/vite/plugin-docs.d.ts +10 -2
- package/dist/vite/plugin-docs.js +95 -64
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-frontmatter.d.ts +1 -2
- package/dist/vite/plugin-frontmatter.js +10 -5
- package/dist/vite/plugin-frontmatter.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 +2 -3
- package/dist/vite/plugin-mdx.js +60 -94
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-metadata.d.ts +1 -1
- package/dist/vite/plugin-navigation.d.ts +4 -0
- package/dist/vite/plugin-navigation.js +67 -0
- package/dist/vite/plugin-navigation.js.map +1 -0
- package/dist/vite/plugin-redirect.d.ts +2 -3
- package/dist/vite/plugin-redirect.js +4 -3
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin-search.d.ts +2 -3
- package/dist/vite/plugin-search.js +4 -3
- package/dist/vite/plugin-search.js.map +1 -1
- package/dist/vite/plugin-shiki-register.d.ts +2 -0
- package/dist/vite/plugin-shiki-register.js +39 -0
- package/dist/vite/plugin-shiki-register.js.map +1 -0
- package/dist/vite/plugin-theme.d.ts +8 -0
- package/dist/vite/plugin-theme.js +283 -0
- package/dist/vite/plugin-theme.js.map +1 -0
- package/dist/vite/plugin-theme.test.d.ts +1 -0
- package/dist/vite/plugin-theme.test.js +314 -0
- package/dist/vite/plugin-theme.test.js.map +1 -0
- package/dist/vite/plugin.d.ts +2 -3
- package/dist/vite/plugin.js +26 -23
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender/FileWritingResponse.js +5 -3
- package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
- package/dist/vite/prerender/InMemoryResponse.js +3 -1
- package/dist/vite/prerender/InMemoryResponse.js.map +1 -1
- package/dist/vite/prerender/prerender.js +38 -5
- package/dist/vite/prerender/prerender.js.map +1 -1
- package/dist/vite/prerender/worker.d.ts +1 -1
- package/dist/vite/prerender/worker.js +5 -1
- package/dist/vite/prerender/worker.js.map +1 -1
- package/dist/vite/reporter.js +2 -2
- package/dist/vite/reporter.js.map +1 -1
- package/dist/vite/shadcn-registry.d.ts +20 -0
- package/dist/vite/shadcn-registry.js +29 -0
- package/dist/vite/shadcn-registry.js.map +1 -0
- package/dist/vite/sitemap.d.ts +1 -1
- package/dist/vite/sitemap.js +14 -13
- package/dist/vite/sitemap.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 +4 -3
- package/dist/zuplo/enrich-with-zuplo.js +22 -21
- package/dist/zuplo/enrich-with-zuplo.js.map +1 -1
- package/dist/zuplo/policy-types.js +0 -1
- package/dist/zuplo/policy-types.js.map +1 -1
- package/dist/zuplo/with-zuplo-processors.d.ts +2 -2
- package/dist/zuplo/with-zuplo-processors.js +6 -4
- package/dist/zuplo/with-zuplo-processors.js.map +1 -1
- package/dist/zuplo/with-zuplo.d.ts +5 -2
- package/dist/zuplo/with-zuplo.js +6 -9
- package/dist/zuplo/with-zuplo.js.map +1 -1
- package/lib/Button-B3ucvvQw.js +52 -0
- package/lib/Button-B3ucvvQw.js.map +1 -0
- package/lib/Card-KFniaZn5.js +61 -0
- package/lib/Card-KFniaZn5.js.map +1 -0
- package/lib/CategoryHeading-DhmodDcq.js +17 -0
- package/lib/CategoryHeading-DhmodDcq.js.map +1 -0
- package/lib/ClientOnly-E7hGysn1.js.map +1 -1
- package/lib/Command-CUcrW3qs.js +134 -0
- package/lib/Command-CUcrW3qs.js.map +1 -0
- package/lib/Dialog-BQciPiHN.js +144 -0
- package/lib/Dialog-BQciPiHN.js.map +1 -0
- package/lib/Drawer-Ci7XwhqT.js +1133 -0
- package/lib/Drawer-Ci7XwhqT.js.map +1 -0
- package/lib/DropdownMenu-BZ2NKQ3K.js +126 -0
- package/lib/DropdownMenu-BZ2NKQ3K.js.map +1 -0
- package/lib/ErrorAlert-_1Zmhr68.js +15475 -0
- package/lib/ErrorAlert-_1Zmhr68.js.map +1 -0
- package/lib/MdxPage-B2t1EShN.js +240 -0
- package/lib/MdxPage-B2t1EShN.js.map +1 -0
- package/lib/OAuthErrorPage-DnKnq4xK.js +150 -0
- package/lib/OAuthErrorPage-DnKnq4xK.js.map +1 -0
- package/lib/OasProvider-Df8i4LN9.js +36 -0
- package/lib/OasProvider-Df8i4LN9.js.map +1 -0
- package/lib/OperationList-BGhUll5h.js +5688 -0
- package/lib/OperationList-BGhUll5h.js.map +1 -0
- package/lib/Pagination-hk-llhpw.js +37 -0
- package/lib/Pagination-hk-llhpw.js.map +1 -0
- package/lib/RouteGuard-Brz95MSt.js +77 -0
- package/lib/RouteGuard-Brz95MSt.js.map +1 -0
- package/lib/RouterError-CMaIfdjb.js +42 -0
- package/lib/RouterError-CMaIfdjb.js.map +1 -0
- package/lib/SchemaList-1BwTDYj4.js +150 -0
- package/lib/SchemaList-1BwTDYj4.js.map +1 -0
- package/lib/SchemaView-iAxsr0Pr.js +572 -0
- package/lib/SchemaView-iAxsr0Pr.js.map +1 -0
- package/lib/Select-DFRCS31-.js +399 -0
- package/lib/Select-DFRCS31-.js.map +1 -0
- package/lib/SignUp-sGYAsj2K.js +50 -0
- package/lib/SignUp-sGYAsj2K.js.map +1 -0
- package/lib/Spinner-CI6bRyZw.js +7 -0
- package/lib/Spinner-CI6bRyZw.js.map +1 -0
- package/lib/SyntaxHighlight-C19vH0V_.js +10352 -0
- package/lib/SyntaxHighlight-C19vH0V_.js.map +1 -0
- package/lib/Toc-DbWS75JZ.js +92 -0
- package/lib/Toc-DbWS75JZ.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-KI-MGwIg.js +15341 -0
- package/lib/circular-KI-MGwIg.js.map +1 -0
- package/lib/clsx-OuTLNxxd.js +17 -0
- package/lib/clsx-OuTLNxxd.js.map +1 -0
- package/lib/cn-dYga0KKN.js +2731 -0
- package/lib/cn-dYga0KKN.js.map +1 -0
- 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-CBgHAqRV.js +13018 -0
- package/lib/createServer-CBgHAqRV.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-CD873hrG.js +45 -0
- package/lib/errors-CD873hrG.js.map +1 -0
- 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-BK0jKRrX.js +2210 -0
- package/lib/index-BK0jKRrX.js.map +1 -0
- package/lib/index-CrcNWbel.js +316 -0
- package/lib/index-CrcNWbel.js.map +1 -0
- package/lib/index-CscynaXA.js +3680 -0
- package/lib/index-CscynaXA.js.map +1 -0
- package/lib/index-DI5SPFK9.js +36 -0
- package/lib/index-DI5SPFK9.js.map +1 -0
- package/lib/index-nGbmHh_A.js +4827 -0
- package/lib/index-nGbmHh_A.js.map +1 -0
- package/lib/index-pMMX55GH.js +1059 -0
- package/lib/index-pMMX55GH.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 +683 -0
- package/lib/index.esm-BnYHxCYC.js.map +1 -0
- package/lib/invariant-Bm-FVUQE.js +44 -0
- package/lib/invariant-Bm-FVUQE.js.map +1 -0
- 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-BzflLqGi.js +283 -0
- 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-BSU0xu4m.js +196 -0
- package/lib/mutation-BSU0xu4m.js.map +1 -0
- 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/removeExtensions.js +1 -1
- package/lib/processors/removeExtensions.js.map +1 -1
- package/lib/processors/removeParameters.js +27 -28
- package/lib/processors/removeParameters.js.map +1 -1
- package/lib/processors/removePaths.js +17 -17
- package/lib/processors/removePaths.js.map +1 -1
- package/lib/processors/traverse.js +9 -7
- 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 +2 -2
- package/lib/ui/Accordion.js.map +1 -1
- package/lib/ui/ActionButton.js +11 -11
- package/lib/ui/ActionButton.js.map +1 -1
- package/lib/ui/Alert.js +55 -39
- package/lib/ui/Alert.js.map +1 -1
- package/lib/ui/AlertDialog.js +2 -2
- package/lib/ui/AlertDialog.js.map +1 -1
- package/lib/ui/Badge.js +28 -14
- package/lib/ui/Badge.js.map +1 -1
- package/lib/ui/Breadcrumb.js +24 -23
- package/lib/ui/Breadcrumb.js.map +1 -1
- package/lib/ui/Button.js +20 -17
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/Callout.js +18 -17
- package/lib/ui/Callout.js.map +1 -1
- package/lib/ui/Card.js +9 -9
- package/lib/ui/Card.js.map +1 -1
- package/lib/ui/Carousel.js +348 -348
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/Checkbox.js +29 -26
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/CodeBlock.js +220 -0
- package/lib/ui/CodeBlock.js.map +1 -0
- package/lib/ui/Collapsible.js +32 -5
- package/lib/ui/Collapsible.js.map +1 -1
- package/lib/ui/Command.js +67 -73
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Dialog.js +140 -95
- package/lib/ui/Dialog.js.map +1 -1
- package/lib/ui/Drawer.js +3 -3
- package/lib/ui/DropdownMenu.js +35 -35
- package/lib/ui/DropdownMenu.js.map +1 -1
- package/lib/ui/EmbeddedCodeBlock.js +84 -0
- package/lib/ui/EmbeddedCodeBlock.js.map +1 -0
- package/lib/ui/Form.js +3 -3
- package/lib/ui/Form.js.map +1 -1
- package/lib/ui/Frame.js +81 -0
- package/lib/ui/Frame.js.map +1 -0
- package/lib/ui/HoverCard.js +6 -6
- package/lib/ui/HoverCard.js.map +1 -1
- package/lib/ui/Input.js +3 -3
- package/lib/ui/Input.js.map +1 -1
- package/lib/ui/Item.js +188 -0
- package/lib/ui/Item.js.map +1 -0
- package/lib/ui/Label.js +3 -3
- package/lib/ui/Label.js.map +1 -1
- package/lib/ui/NativeSelect.js +57 -0
- package/lib/ui/NativeSelect.js.map +1 -0
- package/lib/ui/Pagination.js +29 -30
- package/lib/ui/Pagination.js.map +1 -1
- package/lib/ui/Popover.js +3 -3
- package/lib/ui/Popover.js.map +1 -1
- package/lib/ui/Progress.js +2 -2
- package/lib/ui/Progress.js.map +1 -1
- package/lib/ui/RadioGroup.js +11 -11
- package/lib/ui/RadioGroup.js.map +1 -1
- package/lib/ui/ReactComponentDoc.js +28 -0
- package/lib/ui/ReactComponentDoc.js.map +1 -0
- package/lib/ui/ScrollArea.js +2 -2
- package/lib/ui/ScrollArea.js.map +1 -1
- package/lib/ui/Secret.js +106 -0
- package/lib/ui/Secret.js.map +1 -0
- package/lib/ui/Select.js +166 -116
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/Separator.js +27 -0
- package/lib/ui/Separator.js.map +1 -0
- package/lib/ui/Skeleton.js +2 -2
- package/lib/ui/Skeleton.js.map +1 -1
- package/lib/ui/Slider.js +6 -6
- package/lib/ui/Slider.js.map +1 -1
- package/lib/ui/Stepper.js +1 -1
- package/lib/ui/Stepper.js.map +1 -1
- package/lib/ui/Switch.js +6 -6
- package/lib/ui/Switch.js.map +1 -1
- package/lib/ui/SyntaxHighlight.js +6 -6
- package/lib/ui/Tabs.js +12 -12
- package/lib/ui/Tabs.js.map +1 -1
- package/lib/ui/Textarea.js +6 -6
- package/lib/ui/Textarea.js.map +1 -1
- package/lib/ui/Toggle.js +8 -8
- package/lib/ui/Toggle.js.map +1 -1
- package/lib/ui/ToggleGroup.js +2 -2
- package/lib/ui/ToggleGroup.js.map +1 -1
- package/lib/ui/Tooltip.js +55 -21
- package/lib/ui/Tooltip.js.map +1 -1
- package/lib/ui/Value.js +39 -0
- package/lib/ui/Value.js.map +1 -0
- package/lib/ui/util.js +1 -1
- package/lib/useCopyToClipboard-B_085nfO.js +14 -0
- package/lib/useCopyToClipboard-B_085nfO.js.map +1 -0
- package/lib/useExposedProps-U3pmsHaG.js +113 -0
- package/lib/useExposedProps-U3pmsHaG.js.map +1 -0
- package/lib/useLatest-hmRS46UF.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 +3084 -0
- package/lib/zudoku.__internal.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +36 -38
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +136 -0
- package/lib/zudoku.auth-azureb2c.js.map +1 -0
- package/lib/zudoku.auth-clerk.js +94 -89
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +558 -549
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.auth-supabase.js +154 -0
- package/lib/zudoku.auth-supabase.js.map +1 -0
- package/lib/zudoku.components.js +24 -29
- package/lib/zudoku.hooks.js +21 -13
- package/lib/zudoku.hooks.js.map +1 -1
- package/lib/zudoku.icons.js +1 -1
- package/lib/zudoku.icons.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +74 -67
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +632 -193
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +15 -18
- package/lib/zudoku.plugin-custom-pages.js.map +1 -1
- package/lib/zudoku.plugin-markdown.js +21 -73
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +7 -6
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-redirect.js.map +1 -1
- package/lib/zudoku.plugin-search-inkeep.js +55 -59
- package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +216 -125
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
- package/lib/zudoku.plugins.js +7 -6
- package/lib/zudoku.plugins.js.map +1 -1
- package/lib/zudoku.router.js +2507 -0
- package/lib/zudoku.router.js.map +1 -0
- package/package.json +156 -115
- package/src/app/ZuploBuildConfig.ts +33 -0
- package/src/app/defaultTheme.css +73 -0
- package/src/app/demo.html +1 -1
- package/src/app/demo.tsx +25 -7
- package/src/app/entry.client.tsx +47 -5
- package/src/app/entry.server.tsx +20 -12
- package/src/app/env.ts +43 -0
- package/src/app/font.geist.css +73 -0
- package/src/app/main.css +186 -152
- package/src/app/main.tsx +67 -58
- package/src/app/standalone.tsx +14 -8
- package/src/lib/MissingIcon.tsx +1 -1
- 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/auth/issuer.test.ts +121 -0
- package/src/lib/auth/issuer.ts +44 -0
- package/src/lib/authentication/AuthenticationPlugin.tsx +2 -2
- package/src/lib/authentication/authentication.ts +26 -11
- package/src/lib/authentication/components/CallbackHandler.tsx +28 -11
- package/src/lib/authentication/components/OAuthErrorPage.tsx +171 -0
- package/src/lib/authentication/components/SignIn.tsx +34 -6
- package/src/lib/authentication/components/SignOut.tsx +7 -6
- package/src/lib/authentication/components/SignUp.tsx +36 -5
- package/src/lib/authentication/errors.ts +27 -13
- package/src/lib/authentication/hook.ts +23 -10
- package/src/lib/authentication/providers/auth0.tsx +26 -10
- package/src/lib/authentication/providers/azureb2c.tsx +208 -0
- package/src/lib/authentication/providers/clerk.tsx +100 -71
- package/src/lib/authentication/providers/firebase.tsx +284 -0
- package/src/lib/authentication/providers/openid.tsx +127 -58
- package/src/lib/authentication/providers/supabase/SupabaseAuthUI.tsx +75 -0
- package/src/lib/authentication/providers/supabase.tsx +68 -63
- package/src/lib/authentication/state.ts +40 -30
- package/src/lib/authentication/ui/ZudokuAuthUi.tsx +335 -0
- package/src/lib/authentication/ui/icons/Apple.tsx +10 -0
- package/src/lib/authentication/ui/icons/Facebook.tsx +15 -0
- package/src/lib/authentication/ui/icons/Github.tsx +16 -0
- package/src/lib/authentication/ui/icons/Google.tsx +16 -0
- package/src/lib/authentication/ui/icons/Microsoft.tsx +12 -0
- package/src/lib/authentication/ui/icons/X.tsx +10 -0
- package/src/lib/authentication/use-broadcast/LICENSE.md +12 -3
- package/src/lib/authentication/use-broadcast/shared.ts +4 -4
- package/src/lib/authentication/use-broadcast/useBroadcast.ts +2 -2
- package/src/lib/components/AnchorLink.tsx +1 -1
- package/src/lib/components/Autocomplete.tsx +15 -5
- package/src/lib/components/Banner.tsx +3 -4
- package/src/lib/components/Bootstrap.tsx +1 -0
- package/src/lib/components/BuildCheck.tsx +88 -0
- package/src/lib/components/CategoryHeading.tsx +4 -1
- package/src/lib/components/ErrorPage.tsx +3 -3
- package/src/lib/components/Footer.tsx +8 -11
- package/src/lib/components/Framed.tsx +51 -0
- package/src/lib/components/Header.tsx +46 -43
- package/src/lib/components/Heading.tsx +14 -11
- package/src/lib/components/InlineCode.tsx +1 -1
- package/src/lib/components/LanguageIcon.tsx +181 -0
- package/src/lib/components/Layout.tsx +10 -31
- package/src/lib/components/Main.tsx +15 -14
- package/src/lib/components/Markdown.tsx +43 -27
- package/src/lib/components/Meta.tsx +45 -0
- package/src/lib/components/MobileTopNavigation.tsx +72 -16
- package/src/lib/components/NotFoundPage.tsx +6 -5
- package/src/lib/components/PageProgress.tsx +28 -0
- package/src/lib/components/Pagination.tsx +6 -11
- package/src/lib/components/PathRenderer.tsx +2 -2
- package/src/lib/components/Search.tsx +3 -3
- package/src/lib/components/Slot.test.tsx +465 -0
- package/src/lib/components/Slot.tsx +64 -0
- package/src/lib/components/StatusPage.tsx +5 -0
- package/src/lib/components/TopNavigation.tsx +81 -86
- package/src/lib/components/Typography.tsx +14 -0
- package/src/lib/components/Zudoku.tsx +15 -17
- package/src/lib/components/cache.ts +9 -5
- package/src/lib/components/context/ComponentsContext.tsx +2 -2
- package/src/lib/components/context/RouterEventsEmitter.tsx +1 -1
- package/src/lib/components/context/SlotProvider.tsx +149 -0
- package/src/lib/components/context/ViewportAnchorContext.tsx +10 -17
- package/src/lib/components/context/ZudokuContext.ts +77 -44
- package/src/lib/components/context/ZudokuProvider.tsx +3 -2
- package/src/lib/components/index.ts +18 -26
- package/src/lib/components/navigation/Navigation.tsx +50 -0
- package/src/lib/components/navigation/NavigationBadge.tsx +48 -0
- package/src/lib/components/navigation/NavigationCategory.tsx +153 -0
- package/src/lib/components/navigation/NavigationItem.tsx +148 -0
- package/src/lib/components/navigation/NavigationWrapper.tsx +49 -0
- package/src/lib/components/navigation/PoweredByZudoku.tsx +15 -5
- package/src/lib/components/navigation/Toc.tsx +8 -8
- package/src/lib/components/navigation/ZudokuLogo.tsx +1 -1
- package/src/lib/components/navigation/ZuploLogo.tsx +14 -0
- package/src/lib/components/navigation/utils.ts +82 -42
- package/src/lib/core/RouteGuard.tsx +52 -32
- package/src/lib/core/ZudokuContext.ts +99 -30
- package/src/lib/core/__internal.tsx +30 -0
- package/src/lib/core/plugins.ts +13 -4
- package/src/lib/core/router.ts +1 -0
- package/src/lib/errors/ErrorAlert.tsx +8 -17
- package/src/lib/errors/RouterError.tsx +7 -2
- package/src/lib/errors/TopLevelError.tsx +2 -4
- package/src/lib/hooks/index.ts +11 -0
- package/src/lib/hooks/useEvent.test.tsx +9 -7
- package/src/lib/hooks/useHotkey.ts +70 -0
- package/src/lib/oas/graphql/circular.ts +28 -20
- package/src/lib/oas/graphql/index.ts +39 -3
- package/src/lib/oas/parser/dereference/index.ts +2 -1
- package/src/lib/oas/parser/dereference/resolveRef.ts +4 -4
- package/src/lib/oas/parser/index.ts +14 -3
- package/src/lib/oas/parser/upgrade/index.ts +100 -29
- package/src/lib/plugins/api-catalog/Catalog.tsx +9 -2
- package/src/lib/plugins/api-catalog/index.tsx +19 -19
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +70 -44
- package/src/lib/plugins/api-keys/CreateApiKeyDialog.tsx +49 -0
- package/src/lib/plugins/api-keys/ProtectedRoute.tsx +11 -7
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +441 -122
- package/src/lib/plugins/api-keys/index.tsx +143 -65
- package/src/lib/plugins/custom-pages/index.tsx +24 -16
- package/src/lib/plugins/markdown/MdxPage.tsx +205 -33
- 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 +28 -43
- package/src/lib/plugins/openapi/CollapsibleCode.tsx +12 -7
- package/src/lib/plugins/openapi/ColorizedParam.tsx +5 -3
- package/src/lib/plugins/openapi/Endpoint.tsx +2 -2
- package/src/lib/plugins/openapi/GeneratedExampleSidecarBox.tsx +52 -0
- package/src/lib/plugins/openapi/MCPEndpoint.tsx +273 -0
- package/src/lib/plugins/openapi/OasProvider.tsx +2 -1
- package/src/lib/plugins/openapi/OperationList.tsx +68 -36
- package/src/lib/plugins/openapi/OperationListItem.tsx +113 -105
- package/src/lib/plugins/openapi/ParamInfos.tsx +14 -10
- package/src/lib/plugins/openapi/ParameterList.tsx +40 -28
- package/src/lib/plugins/openapi/ParameterListItem.tsx +128 -47
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +15 -14
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +51 -9
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +76 -41
- package/src/lib/plugins/openapi/SchemaList.tsx +25 -19
- package/src/lib/plugins/openapi/Sidecar.tsx +145 -132
- package/src/lib/plugins/openapi/SidecarBox.tsx +26 -4
- package/src/lib/plugins/openapi/SidecarExamples.tsx +99 -87
- package/src/lib/plugins/openapi/StaggeredRender.tsx +1 -1
- package/src/lib/plugins/openapi/client/GraphQLContext.tsx +1 -1
- package/src/lib/plugins/openapi/client/createServer.ts +1 -2
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +24 -4
- package/src/lib/plugins/openapi/components/ConstValue.tsx +24 -0
- package/src/lib/plugins/openapi/components/EnumValues.tsx +3 -3
- package/src/lib/plugins/openapi/components/NonHighlightedCode.tsx +22 -0
- package/src/lib/plugins/openapi/components/ResponseContent.tsx +114 -0
- package/src/lib/plugins/openapi/context.tsx +1 -1
- package/src/lib/plugins/openapi/graphql/fragment-masking.ts +1 -1
- package/src/lib/plugins/openapi/graphql/gql.ts +11 -11
- package/src/lib/plugins/openapi/graphql/graphql.ts +33 -9
- package/src/lib/plugins/openapi/index.tsx +94 -62
- package/src/lib/plugins/openapi/interfaces.ts +23 -7
- package/src/lib/plugins/openapi/playground/BodyPanel.tsx +271 -0
- package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +51 -0
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +12 -4
- package/src/lib/plugins/openapi/playground/Headers.tsx +158 -172
- package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +4 -3
- package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +20 -36
- package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +34 -2
- package/src/lib/plugins/openapi/playground/PathParams.tsx +26 -35
- package/src/lib/plugins/openapi/playground/Playground.tsx +327 -301
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +23 -32
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +92 -100
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +20 -1
- package/src/lib/plugins/openapi/playground/Spinner.tsx +87 -0
- package/src/lib/plugins/openapi/playground/fileUtils.ts +32 -0
- package/src/lib/plugins/openapi/playground/request-panel/MultipartField.tsx +91 -0
- package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +31 -0
- package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +25 -0
- package/src/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.tsx +872 -0
- package/src/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.ts +349 -0
- package/src/lib/plugins/openapi/playground/result-panel/Highlight.tsx +26 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +117 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +228 -119
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +70 -91
- package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +1 -1
- package/src/lib/plugins/openapi/playground/useRememberSkipLoginDialog.tsx +23 -0
- package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +30 -9
- package/src/lib/plugins/openapi/processors/removeExtensions.ts +5 -3
- package/src/lib/plugins/openapi/processors/removeParameters.test.ts +68 -33
- package/src/lib/plugins/openapi/processors/removeParameters.ts +5 -3
- package/src/lib/plugins/openapi/processors/removePaths.test.ts +85 -44
- package/src/lib/plugins/openapi/processors/removePaths.ts +5 -3
- package/src/lib/plugins/openapi/processors/traverse.ts +1 -1
- package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +11 -8
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +114 -87
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +113 -64
- package/src/lib/plugins/openapi/schema/UnionView.tsx +132 -0
- package/src/lib/plugins/openapi/schema/union-helpers.ts +123 -0
- package/src/lib/plugins/openapi/schema/utils.ts +24 -17
- package/src/lib/plugins/openapi/util/createHttpSnippet.ts +107 -0
- package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +39 -0
- package/src/lib/plugins/openapi/util/generateSchemaExample.ts +54 -5
- package/src/lib/plugins/openapi/util/getRoutes.tsx +87 -15
- package/src/lib/plugins/openapi/util/methodColorMap.tsx +1 -1
- package/src/lib/plugins/redirect/index.tsx +1 -1
- package/src/lib/plugins/search-inkeep/index.tsx +54 -58
- package/src/lib/plugins/search-inkeep/inkeep.ts +19 -21
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +3 -4
- package/src/lib/plugins/search-pagefind/ResultList.tsx +16 -8
- package/src/lib/plugins/search-pagefind/get-results.tsx +0 -1
- package/src/lib/shiki.ts +161 -0
- package/src/lib/ui/ActionButton.tsx +3 -1
- package/src/lib/ui/Alert.tsx +45 -39
- package/src/lib/ui/Badge.tsx +22 -13
- package/src/lib/ui/Breadcrumb.tsx +1 -0
- package/src/lib/ui/Button.tsx +10 -6
- package/src/lib/ui/Callout.tsx +12 -6
- package/src/lib/ui/Card.tsx +1 -1
- package/src/lib/ui/Checkbox.tsx +23 -24
- package/src/lib/ui/CodeBlock.tsx +79 -0
- package/src/lib/ui/Collapsible.tsx +26 -4
- package/src/lib/ui/Command.tsx +6 -8
- package/src/lib/ui/Dialog.tsx +114 -96
- package/src/lib/ui/DropdownMenu.tsx +4 -4
- package/src/lib/ui/EmbeddedCodeBlock.tsx +99 -0
- package/src/lib/ui/Form.tsx +4 -4
- package/src/lib/ui/Frame.tsx +81 -0
- package/src/lib/ui/HoverCard.tsx +1 -1
- package/src/lib/ui/Input.tsx +1 -1
- package/src/lib/ui/Item.tsx +192 -0
- package/src/lib/ui/NativeSelect.tsx +47 -0
- package/src/lib/ui/Pagination.tsx +1 -2
- package/src/lib/ui/Popover.tsx +1 -1
- package/src/lib/ui/RadioGroup.tsx +1 -1
- package/src/lib/ui/ReactComponentDoc.tsx +68 -0
- package/src/lib/ui/Secret.tsx +123 -0
- package/src/lib/ui/Select.tsx +153 -126
- package/src/lib/ui/Separator.tsx +25 -0
- package/src/lib/ui/Slider.tsx +1 -1
- package/src/lib/ui/Switch.tsx +1 -1
- package/src/lib/ui/SyntaxHighlight.tsx +33 -179
- package/src/lib/ui/Tabs.tsx +2 -2
- package/src/lib/ui/Textarea.tsx +1 -1
- package/src/lib/ui/Toggle.tsx +1 -1
- package/src/lib/ui/ToggleGroup.tsx +1 -1
- package/src/lib/ui/Tooltip.tsx +59 -22
- package/src/lib/ui/Value.tsx +42 -0
- package/src/lib/util/MdxComponents.tsx +49 -17
- package/src/lib/util/cn.ts +1 -1
- package/src/lib/util/createVariantComponent.tsx +33 -7
- package/src/lib/util/ensureArray.ts +3 -0
- package/src/lib/util/flattenAllOf.test.ts +637 -0
- package/src/lib/util/flattenAllOf.ts +101 -0
- package/src/lib/util/groupBy.ts +1 -0
- package/src/lib/util/humanFileSize.test.ts +24 -0
- package/src/lib/util/humanFileSize.ts +15 -0
- package/src/lib/util/invariant.ts +8 -5
- package/src/lib/util/os.ts +18 -0
- package/src/lib/util/pastellize.ts +4 -4
- package/src/lib/util/syncZustandState.ts +22 -0
- package/src/lib/util/traverse.ts +44 -5
- package/src/lib/util/types.ts +1 -1
- package/src/lib/util/url.test.ts +51 -0
- package/src/lib/util/url.ts +18 -0
- package/src/lib/util/useCopyToClipboard.ts +17 -0
- package/src/lib/util/useExposedProps.tsx +12 -1
- package/src/lib/util/useIsomorphicLayoutEffect.ts +1 -0
- package/src/lib/util/useScrollToAnchor.ts +6 -4
- package/src/shiki/langs/abap.js +1 -0
- package/src/shiki/langs/actionscript-3.js +1 -0
- package/src/shiki/langs/ada.js +1 -0
- package/src/shiki/langs/angular-expression.js +1 -0
- package/src/shiki/langs/angular-html.js +1 -0
- package/src/shiki/langs/angular-inline-style.js +1 -0
- package/src/shiki/langs/angular-inline-template.js +1 -0
- package/src/shiki/langs/angular-let-declaration.js +1 -0
- package/src/shiki/langs/angular-template-blocks.js +1 -0
- package/src/shiki/langs/angular-template.js +1 -0
- package/src/shiki/langs/angular-ts.js +1 -0
- package/src/shiki/langs/apache.js +1 -0
- package/src/shiki/langs/apex.js +1 -0
- package/src/shiki/langs/apl.js +1 -0
- package/src/shiki/langs/applescript.js +1 -0
- package/src/shiki/langs/ara.js +1 -0
- package/src/shiki/langs/asciidoc.js +1 -0
- package/src/shiki/langs/asm.js +1 -0
- package/src/shiki/langs/astro.js +1 -0
- package/src/shiki/langs/awk.js +1 -0
- package/src/shiki/langs/ballerina.js +1 -0
- package/src/shiki/langs/bat.js +1 -0
- package/src/shiki/langs/beancount.js +1 -0
- package/src/shiki/langs/berry.js +1 -0
- package/src/shiki/langs/bibtex.js +1 -0
- package/src/shiki/langs/bicep.js +1 -0
- package/src/shiki/langs/blade.js +1 -0
- package/src/shiki/langs/bsl.js +1 -0
- package/src/shiki/langs/c.js +1 -0
- package/src/shiki/langs/cadence.js +1 -0
- package/src/shiki/langs/cairo.js +1 -0
- package/src/shiki/langs/clarity.js +1 -0
- package/src/shiki/langs/clojure.js +1 -0
- package/src/shiki/langs/cmake.js +1 -0
- package/src/shiki/langs/cobol.js +1 -0
- package/src/shiki/langs/codeowners.js +1 -0
- package/src/shiki/langs/codeql.js +1 -0
- package/src/shiki/langs/coffee.js +1 -0
- package/src/shiki/langs/common-lisp.js +1 -0
- package/src/shiki/langs/coq.js +1 -0
- package/src/shiki/langs/cpp-macro.js +1 -0
- package/src/shiki/langs/cpp.js +1 -0
- package/src/shiki/langs/crystal.js +1 -0
- package/src/shiki/langs/csharp.js +1 -0
- package/src/shiki/langs/css.js +1 -0
- package/src/shiki/langs/csv.js +1 -0
- package/src/shiki/langs/cue.js +1 -0
- package/src/shiki/langs/cypher.js +1 -0
- package/src/shiki/langs/d.js +1 -0
- package/src/shiki/langs/dart.js +1 -0
- package/src/shiki/langs/dax.js +1 -0
- package/src/shiki/langs/desktop.js +1 -0
- package/src/shiki/langs/diff.js +1 -0
- package/src/shiki/langs/docker.js +1 -0
- package/src/shiki/langs/dotenv.js +1 -0
- package/src/shiki/langs/dream-maker.js +1 -0
- package/src/shiki/langs/edge.js +1 -0
- package/src/shiki/langs/elixir.js +1 -0
- package/src/shiki/langs/elm.js +1 -0
- package/src/shiki/langs/emacs-lisp.js +1 -0
- package/src/shiki/langs/erb.js +1 -0
- package/src/shiki/langs/erlang.js +1 -0
- package/src/shiki/langs/es-tag-css.js +1 -0
- package/src/shiki/langs/es-tag-glsl.js +1 -0
- package/src/shiki/langs/es-tag-html.js +1 -0
- package/src/shiki/langs/es-tag-sql.js +1 -0
- package/src/shiki/langs/es-tag-xml.js +1 -0
- package/src/shiki/langs/fennel.js +1 -0
- package/src/shiki/langs/fish.js +1 -0
- package/src/shiki/langs/fluent.js +1 -0
- package/src/shiki/langs/fortran-fixed-form.js +1 -0
- package/src/shiki/langs/fortran-free-form.js +1 -0
- package/src/shiki/langs/fsharp.js +1 -0
- package/src/shiki/langs/gdresource.js +1 -0
- package/src/shiki/langs/gdscript.js +1 -0
- package/src/shiki/langs/gdshader.js +1 -0
- package/src/shiki/langs/genie.js +1 -0
- package/src/shiki/langs/gherkin.js +1 -0
- package/src/shiki/langs/git-commit.js +1 -0
- package/src/shiki/langs/git-rebase.js +1 -0
- package/src/shiki/langs/gleam.js +1 -0
- package/src/shiki/langs/glimmer-js.js +1 -0
- package/src/shiki/langs/glimmer-ts.js +1 -0
- package/src/shiki/langs/glsl.js +1 -0
- package/src/shiki/langs/gnuplot.js +1 -0
- package/src/shiki/langs/go.js +1 -0
- package/src/shiki/langs/graphql.js +1 -0
- package/src/shiki/langs/groovy.js +1 -0
- package/src/shiki/langs/hack.js +1 -0
- package/src/shiki/langs/haml.js +1 -0
- package/src/shiki/langs/handlebars.js +1 -0
- package/src/shiki/langs/haskell.js +1 -0
- package/src/shiki/langs/haxe.js +1 -0
- package/src/shiki/langs/hcl.js +1 -0
- package/src/shiki/langs/hjson.js +1 -0
- package/src/shiki/langs/hlsl.js +1 -0
- package/src/shiki/langs/html-derivative.js +1 -0
- package/src/shiki/langs/html.js +1 -0
- package/src/shiki/langs/http.js +1 -0
- package/src/shiki/langs/hurl.js +1 -0
- package/src/shiki/langs/hxml.js +1 -0
- package/src/shiki/langs/hy.js +1 -0
- package/src/shiki/langs/imba.js +1 -0
- package/src/shiki/langs/ini.js +1 -0
- package/src/shiki/langs/java.js +1 -0
- package/src/shiki/langs/javascript.js +1 -0
- package/src/shiki/langs/jinja-html.js +1 -0
- package/src/shiki/langs/jinja.js +1 -0
- package/src/shiki/langs/jison.js +1 -0
- package/src/shiki/langs/json.js +1 -0
- package/src/shiki/langs/json5.js +1 -0
- package/src/shiki/langs/jsonc.js +1 -0
- package/src/shiki/langs/jsonl.js +1 -0
- package/src/shiki/langs/jsonnet.js +1 -0
- package/src/shiki/langs/jssm.js +1 -0
- package/src/shiki/langs/jsx.js +1 -0
- package/src/shiki/langs/julia.js +1 -0
- package/src/shiki/langs/kdl.js +1 -0
- package/src/shiki/langs/kotlin.js +1 -0
- package/src/shiki/langs/kusto.js +1 -0
- package/src/shiki/langs/latex.js +1 -0
- package/src/shiki/langs/lean.js +1 -0
- package/src/shiki/langs/less.js +1 -0
- package/src/shiki/langs/liquid.js +1 -0
- package/src/shiki/langs/llvm.js +1 -0
- package/src/shiki/langs/log.js +1 -0
- package/src/shiki/langs/logo.js +1 -0
- package/src/shiki/langs/lua.js +1 -0
- package/src/shiki/langs/luau.js +1 -0
- package/src/shiki/langs/make.js +1 -0
- package/src/shiki/langs/markdown-vue.js +1 -0
- package/src/shiki/langs/markdown.js +1 -0
- package/src/shiki/langs/marko.js +1 -0
- package/src/shiki/langs/matlab.js +1 -0
- package/src/shiki/langs/mdc.js +1 -0
- package/src/shiki/langs/mdx.js +1 -0
- package/src/shiki/langs/mermaid.js +1 -0
- package/src/shiki/langs/mipsasm.js +1 -0
- package/src/shiki/langs/mojo.js +1 -0
- package/src/shiki/langs/move.js +1 -0
- package/src/shiki/langs/narrat.js +1 -0
- package/src/shiki/langs/nextflow.js +1 -0
- package/src/shiki/langs/nginx.js +1 -0
- package/src/shiki/langs/nim.js +1 -0
- package/src/shiki/langs/nix.js +1 -0
- package/src/shiki/langs/nushell.js +1 -0
- package/src/shiki/langs/objective-c.js +1 -0
- package/src/shiki/langs/objective-cpp.js +1 -0
- package/src/shiki/langs/ocaml.js +1 -0
- package/src/shiki/langs/pascal.js +1 -0
- package/src/shiki/langs/perl.js +1 -0
- package/src/shiki/langs/php.js +1 -0
- package/src/shiki/langs/pkl.js +1 -0
- package/src/shiki/langs/plsql.js +1 -0
- package/src/shiki/langs/po.js +1 -0
- package/src/shiki/langs/polar.js +1 -0
- package/src/shiki/langs/postcss.js +1 -0
- package/src/shiki/langs/powerquery.js +1 -0
- package/src/shiki/langs/powershell.js +1 -0
- package/src/shiki/langs/prisma.js +1 -0
- package/src/shiki/langs/prolog.js +1 -0
- package/src/shiki/langs/proto.js +1 -0
- package/src/shiki/langs/pug.js +1 -0
- package/src/shiki/langs/puppet.js +1 -0
- package/src/shiki/langs/purescript.js +1 -0
- package/src/shiki/langs/python.js +1 -0
- package/src/shiki/langs/qml.js +1 -0
- package/src/shiki/langs/qmldir.js +1 -0
- package/src/shiki/langs/qss.js +1 -0
- package/src/shiki/langs/r.js +1 -0
- package/src/shiki/langs/racket.js +1 -0
- package/src/shiki/langs/raku.js +1 -0
- package/src/shiki/langs/razor.js +1 -0
- package/src/shiki/langs/reg.js +1 -0
- package/src/shiki/langs/regexp.js +1 -0
- package/src/shiki/langs/rel.js +1 -0
- package/src/shiki/langs/riscv.js +1 -0
- package/src/shiki/langs/rosmsg.js +1 -0
- package/src/shiki/langs/rst.js +1 -0
- package/src/shiki/langs/ruby.js +1 -0
- package/src/shiki/langs/rust.js +1 -0
- package/src/shiki/langs/sas.js +1 -0
- package/src/shiki/langs/sass.js +1 -0
- package/src/shiki/langs/scala.js +1 -0
- package/src/shiki/langs/scheme.js +1 -0
- package/src/shiki/langs/scss.js +1 -0
- package/src/shiki/langs/sdbl.js +1 -0
- package/src/shiki/langs/shaderlab.js +1 -0
- package/src/shiki/langs/shellscript.js +1 -0
- package/src/shiki/langs/shellsession.js +1 -0
- package/src/shiki/langs/smalltalk.js +1 -0
- package/src/shiki/langs/solidity.js +1 -0
- package/src/shiki/langs/soy.js +1 -0
- package/src/shiki/langs/sparql.js +1 -0
- package/src/shiki/langs/splunk.js +1 -0
- package/src/shiki/langs/sql.js +1 -0
- package/src/shiki/langs/ssh-config.js +1 -0
- package/src/shiki/langs/stata.js +1 -0
- package/src/shiki/langs/stylus.js +1 -0
- package/src/shiki/langs/svelte.js +1 -0
- package/src/shiki/langs/swift.js +1 -0
- package/src/shiki/langs/system-verilog.js +1 -0
- package/src/shiki/langs/systemd.js +1 -0
- package/src/shiki/langs/talonscript.js +1 -0
- package/src/shiki/langs/tasl.js +1 -0
- package/src/shiki/langs/tcl.js +1 -0
- package/src/shiki/langs/templ.js +1 -0
- package/src/shiki/langs/terraform.js +1 -0
- package/src/shiki/langs/tex.js +1 -0
- package/src/shiki/langs/toml.js +1 -0
- package/src/shiki/langs/ts-tags.js +1 -0
- package/src/shiki/langs/tsv.js +1 -0
- package/src/shiki/langs/tsx.js +1 -0
- package/src/shiki/langs/turtle.js +1 -0
- package/src/shiki/langs/twig.js +1 -0
- package/src/shiki/langs/typescript.js +1 -0
- package/src/shiki/langs/typespec.js +1 -0
- package/src/shiki/langs/typst.js +1 -0
- package/src/shiki/langs/v.js +1 -0
- package/src/shiki/langs/vala.js +1 -0
- package/src/shiki/langs/vb.js +1 -0
- package/src/shiki/langs/verilog.js +1 -0
- package/src/shiki/langs/vhdl.js +1 -0
- package/src/shiki/langs/viml.js +1 -0
- package/src/shiki/langs/vue-directives.js +1 -0
- package/src/shiki/langs/vue-html.js +1 -0
- package/src/shiki/langs/vue-interpolations.js +1 -0
- package/src/shiki/langs/vue-sfc-style-variable-injection.js +1 -0
- package/src/shiki/langs/vue-vine.js +1 -0
- package/src/shiki/langs/vue.js +1 -0
- package/src/shiki/langs/vyper.js +1 -0
- package/src/shiki/langs/wasm.js +1 -0
- package/src/shiki/langs/wenyan.js +1 -0
- package/src/shiki/langs/wgsl.js +1 -0
- package/src/shiki/langs/wikitext.js +1 -0
- package/src/shiki/langs/wit.js +1 -0
- package/src/shiki/langs/wolfram.js +1 -0
- package/src/shiki/langs/xml.js +1 -0
- package/src/shiki/langs/xsl.js +1 -0
- package/src/shiki/langs/yaml.js +1 -0
- package/src/shiki/langs/zenscript.js +1 -0
- package/src/shiki/langs/zig.js +1 -0
- package/src/shiki/themes/andromeeda.js +1 -0
- package/src/shiki/themes/aurora-x.js +1 -0
- package/src/shiki/themes/ayu-dark.js +1 -0
- package/src/shiki/themes/catppuccin-frappe.js +1 -0
- package/src/shiki/themes/catppuccin-latte.js +1 -0
- package/src/shiki/themes/catppuccin-macchiato.js +1 -0
- package/src/shiki/themes/catppuccin-mocha.js +1 -0
- package/src/shiki/themes/dark-plus.js +1 -0
- package/src/shiki/themes/dracula-soft.js +1 -0
- package/src/shiki/themes/dracula.js +1 -0
- package/src/shiki/themes/everforest-dark.js +1 -0
- package/src/shiki/themes/everforest-light.js +1 -0
- package/src/shiki/themes/github-dark-default.js +1 -0
- package/src/shiki/themes/github-dark-dimmed.js +1 -0
- package/src/shiki/themes/github-dark-high-contrast.js +1 -0
- package/src/shiki/themes/github-dark.js +1 -0
- package/src/shiki/themes/github-light-default.js +1 -0
- package/src/shiki/themes/github-light-high-contrast.js +1 -0
- package/src/shiki/themes/github-light.js +1 -0
- package/src/shiki/themes/gruvbox-dark-hard.js +1 -0
- package/src/shiki/themes/gruvbox-dark-medium.js +1 -0
- package/src/shiki/themes/gruvbox-dark-soft.js +1 -0
- package/src/shiki/themes/gruvbox-light-hard.js +1 -0
- package/src/shiki/themes/gruvbox-light-medium.js +1 -0
- package/src/shiki/themes/gruvbox-light-soft.js +1 -0
- package/src/shiki/themes/houston.js +1 -0
- package/src/shiki/themes/kanagawa-dragon.js +1 -0
- package/src/shiki/themes/kanagawa-lotus.js +1 -0
- package/src/shiki/themes/kanagawa-wave.js +1 -0
- package/src/shiki/themes/laserwave.js +1 -0
- package/src/shiki/themes/light-plus.js +1 -0
- package/src/shiki/themes/material-theme-darker.js +1 -0
- package/src/shiki/themes/material-theme-lighter.js +1 -0
- package/src/shiki/themes/material-theme-ocean.js +1 -0
- package/src/shiki/themes/material-theme-palenight.js +1 -0
- package/src/shiki/themes/material-theme.js +1 -0
- package/src/shiki/themes/min-dark.js +1 -0
- package/src/shiki/themes/min-light.js +1 -0
- package/src/shiki/themes/monokai.js +1 -0
- package/src/shiki/themes/night-owl.js +1 -0
- package/src/shiki/themes/nord.js +1 -0
- package/src/shiki/themes/one-dark-pro.js +1 -0
- package/src/shiki/themes/one-light.js +1 -0
- package/src/shiki/themes/plastic.js +1 -0
- package/src/shiki/themes/poimandres.js +1 -0
- package/src/shiki/themes/red.js +1 -0
- package/src/shiki/themes/rose-pine-dawn.js +1 -0
- package/src/shiki/themes/rose-pine-moon.js +1 -0
- package/src/shiki/themes/rose-pine.js +1 -0
- package/src/shiki/themes/slack-dark.js +1 -0
- package/src/shiki/themes/slack-ochin.js +1 -0
- package/src/shiki/themes/snazzy-light.js +1 -0
- package/src/shiki/themes/solarized-dark.js +1 -0
- package/src/shiki/themes/solarized-light.js +1 -0
- package/src/shiki/themes/synthwave-84.js +1 -0
- package/src/shiki/themes/tokyo-night.js +1 -0
- package/src/shiki/themes/vesper.js +1 -0
- package/src/shiki/themes/vitesse-black.js +1 -0
- package/src/shiki/themes/vitesse-dark.js +1 -0
- package/src/shiki/themes/vitesse-light.js +1 -0
- package/dist/app/tailwind.d.ts +0 -4
- package/dist/app/tailwind.js +0 -97
- package/dist/app/tailwind.js.map +0 -1
- package/dist/config/common.d.ts +0 -10
- package/dist/config/common.js +0 -2
- package/dist/config/common.js.map +0 -1
- package/dist/config/validators/InputSidebarSchema.d.ts +0 -217
- package/dist/config/validators/InputSidebarSchema.js +0 -62
- package/dist/config/validators/InputSidebarSchema.js.map +0 -1
- package/dist/config/validators/SidebarSchema.d.ts +0 -46
- package/dist/config/validators/SidebarSchema.js +0 -118
- package/dist/config/validators/SidebarSchema.js.map +0 -1
- package/dist/config/validators/common.d.ts +0 -7670
- package/dist/config/validators/common.js +0 -402
- package/dist/config/validators/common.js.map +0 -1
- package/dist/lib/components/ReactMarkdown.d.ts +0 -29
- package/dist/lib/components/ReactMarkdown.js +0 -182
- package/dist/lib/components/ReactMarkdown.js.map +0 -1
- package/dist/lib/components/SlotletProvider.d.ts +0 -17
- package/dist/lib/components/SlotletProvider.js +0 -18
- package/dist/lib/components/SlotletProvider.js.map +0 -1
- package/dist/lib/components/navigation/Sidebar.d.ts +0 -5
- package/dist/lib/components/navigation/Sidebar.js +0 -10
- package/dist/lib/components/navigation/Sidebar.js.map +0 -1
- package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -26
- package/dist/lib/components/navigation/SidebarBadge.js +0 -26
- package/dist/lib/components/navigation/SidebarBadge.js.map +0 -1
- package/dist/lib/components/navigation/SidebarCategory.d.ts +0 -5
- package/dist/lib/components/navigation/SidebarCategory.js +0 -55
- package/dist/lib/components/navigation/SidebarCategory.js.map +0 -1
- package/dist/lib/components/navigation/SidebarItem.d.ts +0 -11
- package/dist/lib/components/navigation/SidebarItem.js +0 -50
- package/dist/lib/components/navigation/SidebarItem.js.map +0 -1
- package/dist/lib/components/navigation/SidebarWrapper.d.ts +0 -7
- package/dist/lib/components/navigation/SidebarWrapper.js +0 -21
- package/dist/lib/components/navigation/SidebarWrapper.js.map +0 -1
- package/dist/lib/plugins/custom-pages/CustomPage.d.ts +0 -2
- package/dist/lib/plugins/custom-pages/CustomPage.js +0 -11
- package/dist/lib/plugins/custom-pages/CustomPage.js.map +0 -1
- package/dist/lib/plugins/markdown/resolver.d.ts +0 -32
- package/dist/lib/plugins/markdown/resolver.js +0 -46
- package/dist/lib/plugins/markdown/resolver.js.map +0 -1
- package/dist/lib/plugins/openapi/playground/InlineInput.d.ts +0 -4
- package/dist/lib/plugins/openapi/playground/InlineInput.js +0 -3
- package/dist/lib/plugins/openapi/playground/InlineInput.js.map +0 -1
- package/dist/lib/plugins/openapi/playground/SubmitButton.d.ts +0 -7
- package/dist/lib/plugins/openapi/playground/SubmitButton.js +0 -22
- package/dist/lib/plugins/openapi/playground/SubmitButton.js.map +0 -1
- package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +0 -4
- package/dist/lib/plugins/openapi/playground/UrlDisplay.js +0 -22
- package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +0 -1
- package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.d.ts +0 -7
- package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +0 -11
- package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +0 -8
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +0 -14
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +0 -7
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +0 -17
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -6
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +0 -10
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +0 -1
- package/dist/lib/plugins/openapi/util/createSidebarCategory.d.ts +0 -9
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js +0 -23
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +0 -1
- package/dist/vite/plugin-docs.test.js +0 -22
- package/dist/vite/plugin-docs.test.js.map +0 -1
- package/dist/vite/plugin-sidebar.d.ts +0 -3
- package/dist/vite/plugin-sidebar.js +0 -56
- package/dist/vite/plugin-sidebar.js.map +0 -1
- package/dist/vite/plugin-theme-css.d.ts +0 -6
- package/dist/vite/plugin-theme-css.js +0 -117
- package/dist/vite/plugin-theme-css.js.map +0 -1
- package/dist/vite/remarkStaticGeneration.d.ts +0 -3
- package/dist/vite/remarkStaticGeneration.js +0 -125
- package/dist/vite/remarkStaticGeneration.js.map +0 -1
- package/dist/zuplo/env.d.ts +0 -7
- package/dist/zuplo/env.js +0 -12
- package/dist/zuplo/env.js.map +0 -1
- package/lib/AuthenticationPlugin-foqdvvkf.js +0 -58
- package/lib/AuthenticationPlugin-foqdvvkf.js.map +0 -1
- package/lib/Button-Fp19CMUr.js +0 -49
- package/lib/Button-Fp19CMUr.js.map +0 -1
- package/lib/Callout-Boqdgl-z.js +0 -230
- package/lib/Callout-Boqdgl-z.js.map +0 -1
- package/lib/CategoryHeading-DpB47wvk.js +0 -10
- package/lib/CategoryHeading-DpB47wvk.js.map +0 -1
- package/lib/Dialog-sbgekbjb.js +0 -98
- package/lib/Dialog-sbgekbjb.js.map +0 -1
- package/lib/Drawer-kDAfOq_2.js +0 -1133
- package/lib/Drawer-kDAfOq_2.js.map +0 -1
- package/lib/Markdown-CKXePgqR.js +0 -16962
- package/lib/Markdown-CKXePgqR.js.map +0 -1
- package/lib/MdxPage-DzpRK-fu.js +0 -85
- package/lib/MdxPage-DzpRK-fu.js.map +0 -1
- package/lib/OasProvider-Dw2mP5VZ.js +0 -34
- package/lib/OasProvider-Dw2mP5VZ.js.map +0 -1
- package/lib/OperationList-Cr_NA4e2.js +0 -5069
- package/lib/OperationList-Cr_NA4e2.js.map +0 -1
- package/lib/Pagination-DT6eKg_U.js +0 -48
- package/lib/Pagination-DT6eKg_U.js.map +0 -1
- package/lib/RouteGuard-CqZPoZYJ.js +0 -744
- package/lib/RouteGuard-CqZPoZYJ.js.map +0 -1
- package/lib/SchemaList-DNvUJgwI.js +0 -148
- package/lib/SchemaList-DNvUJgwI.js.map +0 -1
- package/lib/SchemaView-Cxh_msLc.js +0 -357
- package/lib/SchemaView-Cxh_msLc.js.map +0 -1
- package/lib/Select-DVFRKf1R.js +0 -223
- package/lib/Select-DVFRKf1R.js.map +0 -1
- package/lib/SlotletProvider-BV1xrg-l.js +0 -338
- package/lib/SlotletProvider-BV1xrg-l.js.map +0 -1
- package/lib/Spinner-CE68iCm0.js +0 -7
- package/lib/Spinner-CE68iCm0.js.map +0 -1
- package/lib/SyntaxHighlight-BEoSoPEo.js +0 -2890
- package/lib/SyntaxHighlight-BEoSoPEo.js.map +0 -1
- package/lib/Toc-D40bDl5J.js +0 -92
- package/lib/Toc-D40bDl5J.js.map +0 -1
- package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
- package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
- package/lib/chunk-HA7DTUK3-C4gP41vD.js +0 -1821
- package/lib/chunk-HA7DTUK3-C4gP41vD.js.map +0 -1
- package/lib/circular-ByJI6Mci.js +0 -15877
- package/lib/circular-ByJI6Mci.js.map +0 -1
- package/lib/cn-qaFjX9_3.js +0 -2279
- package/lib/cn-qaFjX9_3.js.map +0 -1
- package/lib/context-DLCwaMXN.js +0 -22
- package/lib/context-DLCwaMXN.js.map +0 -1
- package/lib/createServer-Cq73y9Kv.js +0 -12454
- package/lib/createServer-Cq73y9Kv.js.map +0 -1
- package/lib/hook-CqpVYDqN.js +0 -1483
- package/lib/hook-CqpVYDqN.js.map +0 -1
- package/lib/index-Bn6Lc9tq.js +0 -9
- package/lib/index-Bn6Lc9tq.js.map +0 -1
- package/lib/index-CN3TIw7H.js +0 -2009
- package/lib/index-CN3TIw7H.js.map +0 -1
- package/lib/index-CPNSgwSb.js +0 -36
- package/lib/index-CPNSgwSb.js.map +0 -1
- package/lib/index-Dl3Yl0yb.js +0 -4837
- package/lib/index-Dl3Yl0yb.js.map +0 -1
- package/lib/index-DwT-v3zK.js +0 -86
- package/lib/index-DwT-v3zK.js.map +0 -1
- package/lib/index-LNp6rxyU.js +0 -2094
- package/lib/index-LNp6rxyU.js.map +0 -1
- package/lib/index-dQecW8K5.js +0 -2227
- package/lib/index-dQecW8K5.js.map +0 -1
- package/lib/index-gQD2h1wX.js +0 -447
- package/lib/index-gQD2h1wX.js.map +0 -1
- package/lib/index.esm--gIChbWs.js +0 -1207
- package/lib/index.esm--gIChbWs.js.map +0 -1
- package/lib/invariant-Caa8-XvF.js +0 -26
- package/lib/invariant-Caa8-XvF.js.map +0 -1
- package/lib/jsx-runtime-CYK1ROHF.js +0 -446
- package/lib/jsx-runtime-CYK1ROHF.js.map +0 -1
- package/lib/mutation-8LjrN7uz.js +0 -208
- package/lib/mutation-8LjrN7uz.js.map +0 -1
- package/lib/objectEntries-yMIkr2mI.js +0 -5
- package/lib/objectEntries-yMIkr2mI.js.map +0 -1
- package/lib/prism-bash.min-HHIMdNJ_.js +0 -7
- package/lib/prism-bash.min-HHIMdNJ_.js.map +0 -1
- package/lib/prism-csharp.min-bQAo2pmx.js +0 -63
- package/lib/prism-csharp.min-bQAo2pmx.js.map +0 -1
- package/lib/prism-java.min-BpvsOuIa.js +0 -35
- package/lib/prism-java.min-BpvsOuIa.js.map +0 -1
- package/lib/prism-javascript.min-CEqHqgbm.js +0 -9
- package/lib/prism-javascript.min-CEqHqgbm.js.map +0 -1
- package/lib/prism-json.min-B1GJqK1k.js +0 -2
- package/lib/prism-json.min-B1GJqK1k.js.map +0 -1
- package/lib/prism-jsstacktrace.min-BfobCF2F.js +0 -2
- package/lib/prism-jsstacktrace.min-BfobCF2F.js.map +0 -1
- package/lib/prism-markdown.min-C0Qn0m-5.js +0 -61
- package/lib/prism-markdown.min-C0Qn0m-5.js.map +0 -1
- package/lib/prism-markup-BNGj0Tvm.js +0 -174
- package/lib/prism-markup-BNGj0Tvm.js.map +0 -1
- package/lib/prism-objectivec.min-BXSWqpJJ.js +0 -2
- package/lib/prism-objectivec.min-BXSWqpJJ.js.map +0 -1
- package/lib/prism-ruby.min-Dx9KO9ds.js +0 -38
- package/lib/prism-ruby.min-Dx9KO9ds.js.map +0 -1
- package/lib/prism-typescript.min-CD7H2IYQ.js +0 -34
- package/lib/prism-typescript.min-CD7H2IYQ.js.map +0 -1
- package/lib/useExposedProps-B9qXJedG.js +0 -9
- package/lib/useExposedProps-B9qXJedG.js.map +0 -1
- package/src/app/tailwind.ts +0 -103
- package/src/lib/components/ReactMarkdown.license.txt +0 -21
- package/src/lib/components/ReactMarkdown.tsx +0 -264
- package/src/lib/components/SlotletProvider.tsx +0 -55
- package/src/lib/components/navigation/Sidebar.tsx +0 -48
- package/src/lib/components/navigation/SidebarBadge.tsx +0 -48
- package/src/lib/components/navigation/SidebarCategory.tsx +0 -140
- package/src/lib/components/navigation/SidebarItem.tsx +0 -118
- package/src/lib/components/navigation/SidebarWrapper.tsx +0 -46
- package/src/lib/plugins/custom-pages/CustomPage.tsx +0 -18
- package/src/lib/plugins/markdown/resolver.ts +0 -57
- package/src/lib/plugins/openapi/playground/InlineInput.tsx +0 -6
- package/src/lib/plugins/openapi/playground/SubmitButton.tsx +0 -75
- package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +0 -32
- package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +0 -73
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +0 -40
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +0 -57
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +0 -33
- package/src/lib/plugins/openapi/util/createSidebarCategory.tsx +0 -37
- /package/dist/{vite/plugin-docs.test.d.ts → config/validators/InputNavigationSchema.test-d.d.ts} +0 -0
package/lib/index-CN3TIw7H.js
DELETED
|
@@ -1,2009 +0,0 @@
|
|
|
1
|
-
var nr = Object.defineProperty;
|
|
2
|
-
var De = (t) => {
|
|
3
|
-
throw TypeError(t);
|
|
4
|
-
};
|
|
5
|
-
var sr = (t, e, r) => e in t ? nr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
6
|
-
var A = (t, e, r) => sr(t, typeof e != "symbol" ? e + "" : e, r), qe = (t, e, r) => e.has(t) || De("Cannot " + r);
|
|
7
|
-
var d = (t, e, r) => (qe(t, e, "read from private field"), r ? r.call(t) : e.get(t)), R = (t, e, r) => e.has(t) ? De("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), M = (t, e, r, s) => (qe(t, e, "write to private field"), s ? s.call(t, r) : e.set(t, r), r);
|
|
8
|
-
var ce = (t, e, r, s) => ({
|
|
9
|
-
set _(a) {
|
|
10
|
-
M(t, e, a, r);
|
|
11
|
-
},
|
|
12
|
-
get _() {
|
|
13
|
-
return d(t, e, s);
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
import { B as ot, a as it, H as Te, R as ar } from "./RouteGuard-CqZPoZYJ.js";
|
|
17
|
-
import { z as ct, J as or } from "./index-DwT-v3zK.js";
|
|
18
|
-
import { R as ir, S as cr, u as ge, f as pe, g as lr, L as Me, O as lt } from "./chunk-HA7DTUK3-C4gP41vD.js";
|
|
19
|
-
import { S as ut, v as dt, Q as ur, n as k, w as $e, x as Fe, y as B, z as dr, A as fr, B as hr, C as mr, D as Ie, E as Qe, F as gr, h as ze, G as Le, H as pr, g as ft, I as ht, e as I, l as ae, J as mt, K as vr, f as ee, u as xr, j as yr, d as br, Z as jr, L as wr, M as Pr } from "./hook-CqpVYDqN.js";
|
|
20
|
-
import { E as gt, S as _, a as Sr, R as Cr } from "./SlotletProvider-BV1xrg-l.js";
|
|
21
|
-
import { j as n } from "./jsx-runtime-CYK1ROHF.js";
|
|
22
|
-
import { Button as Er } from "./ui/Button.js";
|
|
23
|
-
import { Callout as Nr } from "./ui/Callout.js";
|
|
24
|
-
import { M as Tr } from "./mutation-8LjrN7uz.js";
|
|
25
|
-
import * as K from "react";
|
|
26
|
-
import he, { createContext as Oe, StrictMode as pt, useRef as G, useEffect as Q, useState as J, useCallback as W, Suspense as Ae, memo as vt, Component as Mr, createElement as Be, useMemo as be, useContext as Or } from "react";
|
|
27
|
-
import * as Ar from "react-dom";
|
|
28
|
-
import { C as ve } from "./ClientOnly-E7hGysn1.js";
|
|
29
|
-
import { c as O } from "./cn-qaFjX9_3.js";
|
|
30
|
-
import { A as Rr, s as kr, a as He, b as _r, H as Dr, P as qr, c as $r, V as Fr, M as Ir } from "./Markdown-CKXePgqR.js";
|
|
31
|
-
import { ExternalLink as Qr, CircleXIcon as zr, ChevronRightIcon as Lr, SearchIcon as Br, SunIcon as Hr, MoonIcon as Kr, MenuIcon as Ur, PanelLeftIcon as Yr } from "lucide-react";
|
|
32
|
-
import { S as xt } from "./Spinner-CE68iCm0.js";
|
|
33
|
-
import { C as Zr } from "./CategoryHeading-DpB47wvk.js";
|
|
34
|
-
import { isSearchPlugin as Vr, isProfileMenuPlugin as Wr, isNavigationPlugin as Gr, isEventConsumerPlugin as Xr, needsInitialization as Jr, isApiIdentityPlugin as en, isMdxProviderPlugin as tn, hasHead as rn } from "./zudoku.plugins.js";
|
|
35
|
-
import { o as nn } from "./objectEntries-yMIkr2mI.js";
|
|
36
|
-
import { B as Ce } from "./Button-Fp19CMUr.js";
|
|
37
|
-
import { DropdownMenu as sn, DropdownMenuTrigger as an, DropdownMenuContent as on, DropdownMenuLabel as cn, DropdownMenuSeparator as je, DropdownMenuSub as ln, DropdownMenuSubTrigger as un, DropdownMenuPortal as dn, DropdownMenuSubContent as fn, DropdownMenuItem as hn } from "./ui/DropdownMenu.js";
|
|
38
|
-
import { VisuallyHidden as yt } from "@radix-ui/react-visually-hidden";
|
|
39
|
-
import { D as mn, a as gn, b as bt, c as jt, d as z } from "./Drawer-kDAfOq_2.js";
|
|
40
|
-
import { a as pn } from "./index-CPNSgwSb.js";
|
|
41
|
-
const Ee = {}, wt = he.createContext(Ee);
|
|
42
|
-
function Pt(t) {
|
|
43
|
-
const e = he.useContext(wt);
|
|
44
|
-
return he.useMemo(
|
|
45
|
-
function() {
|
|
46
|
-
return typeof t == "function" ? t(e) : { ...e, ...t };
|
|
47
|
-
},
|
|
48
|
-
[e, t]
|
|
49
|
-
);
|
|
50
|
-
}
|
|
51
|
-
function vn(t) {
|
|
52
|
-
let e;
|
|
53
|
-
return t.disableParentContext ? e = typeof t.components == "function" ? t.components(Ee) : t.components || Ee : e = Pt(t.components), he.createElement(
|
|
54
|
-
wt.Provider,
|
|
55
|
-
{ value: e },
|
|
56
|
-
t.children
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
var F, nt, xn = (nt = class extends ut {
|
|
60
|
-
constructor(e = {}) {
|
|
61
|
-
super();
|
|
62
|
-
R(this, F);
|
|
63
|
-
this.config = e, M(this, F, /* @__PURE__ */ new Map());
|
|
64
|
-
}
|
|
65
|
-
build(e, r, s) {
|
|
66
|
-
const a = r.queryKey, i = r.queryHash ?? dt(a, r);
|
|
67
|
-
let o = this.get(i);
|
|
68
|
-
return o || (o = new ur({
|
|
69
|
-
client: e,
|
|
70
|
-
queryKey: a,
|
|
71
|
-
queryHash: i,
|
|
72
|
-
options: e.defaultQueryOptions(r),
|
|
73
|
-
state: s,
|
|
74
|
-
defaultOptions: e.getQueryDefaults(a)
|
|
75
|
-
}), this.add(o)), o;
|
|
76
|
-
}
|
|
77
|
-
add(e) {
|
|
78
|
-
d(this, F).has(e.queryHash) || (d(this, F).set(e.queryHash, e), this.notify({
|
|
79
|
-
type: "added",
|
|
80
|
-
query: e
|
|
81
|
-
}));
|
|
82
|
-
}
|
|
83
|
-
remove(e) {
|
|
84
|
-
const r = d(this, F).get(e.queryHash);
|
|
85
|
-
r && (e.destroy(), r === e && d(this, F).delete(e.queryHash), this.notify({ type: "removed", query: e }));
|
|
86
|
-
}
|
|
87
|
-
clear() {
|
|
88
|
-
k.batch(() => {
|
|
89
|
-
this.getAll().forEach((e) => {
|
|
90
|
-
this.remove(e);
|
|
91
|
-
});
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
get(e) {
|
|
95
|
-
return d(this, F).get(e);
|
|
96
|
-
}
|
|
97
|
-
getAll() {
|
|
98
|
-
return [...d(this, F).values()];
|
|
99
|
-
}
|
|
100
|
-
find(e) {
|
|
101
|
-
const r = { exact: !0, ...e };
|
|
102
|
-
return this.getAll().find(
|
|
103
|
-
(s) => $e(r, s)
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
findAll(e = {}) {
|
|
107
|
-
const r = this.getAll();
|
|
108
|
-
return Object.keys(e).length > 0 ? r.filter((s) => $e(e, s)) : r;
|
|
109
|
-
}
|
|
110
|
-
notify(e) {
|
|
111
|
-
k.batch(() => {
|
|
112
|
-
this.listeners.forEach((r) => {
|
|
113
|
-
r(e);
|
|
114
|
-
});
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
onFocus() {
|
|
118
|
-
k.batch(() => {
|
|
119
|
-
this.getAll().forEach((e) => {
|
|
120
|
-
e.onFocus();
|
|
121
|
-
});
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
onOnline() {
|
|
125
|
-
k.batch(() => {
|
|
126
|
-
this.getAll().forEach((e) => {
|
|
127
|
-
e.onOnline();
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
}, F = new WeakMap(), nt), H, $, oe, st, yn = (st = class extends ut {
|
|
132
|
-
constructor(e = {}) {
|
|
133
|
-
super();
|
|
134
|
-
R(this, H);
|
|
135
|
-
R(this, $);
|
|
136
|
-
R(this, oe);
|
|
137
|
-
this.config = e, M(this, H, /* @__PURE__ */ new Set()), M(this, $, /* @__PURE__ */ new Map()), M(this, oe, 0);
|
|
138
|
-
}
|
|
139
|
-
build(e, r, s) {
|
|
140
|
-
const a = new Tr({
|
|
141
|
-
mutationCache: this,
|
|
142
|
-
mutationId: ++ce(this, oe)._,
|
|
143
|
-
options: e.defaultMutationOptions(r),
|
|
144
|
-
state: s
|
|
145
|
-
});
|
|
146
|
-
return this.add(a), a;
|
|
147
|
-
}
|
|
148
|
-
add(e) {
|
|
149
|
-
d(this, H).add(e);
|
|
150
|
-
const r = le(e);
|
|
151
|
-
if (typeof r == "string") {
|
|
152
|
-
const s = d(this, $).get(r);
|
|
153
|
-
s ? s.push(e) : d(this, $).set(r, [e]);
|
|
154
|
-
}
|
|
155
|
-
this.notify({ type: "added", mutation: e });
|
|
156
|
-
}
|
|
157
|
-
remove(e) {
|
|
158
|
-
if (d(this, H).delete(e)) {
|
|
159
|
-
const r = le(e);
|
|
160
|
-
if (typeof r == "string") {
|
|
161
|
-
const s = d(this, $).get(r);
|
|
162
|
-
if (s)
|
|
163
|
-
if (s.length > 1) {
|
|
164
|
-
const a = s.indexOf(e);
|
|
165
|
-
a !== -1 && s.splice(a, 1);
|
|
166
|
-
} else s[0] === e && d(this, $).delete(r);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
this.notify({ type: "removed", mutation: e });
|
|
170
|
-
}
|
|
171
|
-
canRun(e) {
|
|
172
|
-
const r = le(e);
|
|
173
|
-
if (typeof r == "string") {
|
|
174
|
-
const s = d(this, $).get(r), a = s == null ? void 0 : s.find(
|
|
175
|
-
(i) => i.state.status === "pending"
|
|
176
|
-
);
|
|
177
|
-
return !a || a === e;
|
|
178
|
-
} else
|
|
179
|
-
return !0;
|
|
180
|
-
}
|
|
181
|
-
runNext(e) {
|
|
182
|
-
var s;
|
|
183
|
-
const r = le(e);
|
|
184
|
-
if (typeof r == "string") {
|
|
185
|
-
const a = (s = d(this, $).get(r)) == null ? void 0 : s.find((i) => i !== e && i.state.isPaused);
|
|
186
|
-
return (a == null ? void 0 : a.continue()) ?? Promise.resolve();
|
|
187
|
-
} else
|
|
188
|
-
return Promise.resolve();
|
|
189
|
-
}
|
|
190
|
-
clear() {
|
|
191
|
-
k.batch(() => {
|
|
192
|
-
d(this, H).forEach((e) => {
|
|
193
|
-
this.notify({ type: "removed", mutation: e });
|
|
194
|
-
}), d(this, H).clear(), d(this, $).clear();
|
|
195
|
-
});
|
|
196
|
-
}
|
|
197
|
-
getAll() {
|
|
198
|
-
return Array.from(d(this, H));
|
|
199
|
-
}
|
|
200
|
-
find(e) {
|
|
201
|
-
const r = { exact: !0, ...e };
|
|
202
|
-
return this.getAll().find(
|
|
203
|
-
(s) => Fe(r, s)
|
|
204
|
-
);
|
|
205
|
-
}
|
|
206
|
-
findAll(e = {}) {
|
|
207
|
-
return this.getAll().filter((r) => Fe(e, r));
|
|
208
|
-
}
|
|
209
|
-
notify(e) {
|
|
210
|
-
k.batch(() => {
|
|
211
|
-
this.listeners.forEach((r) => {
|
|
212
|
-
r(e);
|
|
213
|
-
});
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
resumePausedMutations() {
|
|
217
|
-
const e = this.getAll().filter((r) => r.state.isPaused);
|
|
218
|
-
return k.batch(
|
|
219
|
-
() => Promise.all(
|
|
220
|
-
e.map((r) => r.continue().catch(B))
|
|
221
|
-
)
|
|
222
|
-
);
|
|
223
|
-
}
|
|
224
|
-
}, H = new WeakMap(), $ = new WeakMap(), oe = new WeakMap(), st);
|
|
225
|
-
function le(t) {
|
|
226
|
-
var e;
|
|
227
|
-
return (e = t.options.scope) == null ? void 0 : e.id;
|
|
228
|
-
}
|
|
229
|
-
function Ke(t) {
|
|
230
|
-
return {
|
|
231
|
-
onFetch: (e, r) => {
|
|
232
|
-
var b, x, p, y, m;
|
|
233
|
-
const s = e.options, a = (p = (x = (b = e.fetchOptions) == null ? void 0 : b.meta) == null ? void 0 : x.fetchMore) == null ? void 0 : p.direction, i = ((y = e.state.data) == null ? void 0 : y.pages) || [], o = ((m = e.state.data) == null ? void 0 : m.pageParams) || [];
|
|
234
|
-
let f = { pages: [], pageParams: [] }, h = 0;
|
|
235
|
-
const l = async () => {
|
|
236
|
-
let g = !1;
|
|
237
|
-
const C = (v) => {
|
|
238
|
-
Object.defineProperty(v, "signal", {
|
|
239
|
-
enumerable: !0,
|
|
240
|
-
get: () => (e.signal.aborted ? g = !0 : e.signal.addEventListener("abort", () => {
|
|
241
|
-
g = !0;
|
|
242
|
-
}), e.signal)
|
|
243
|
-
});
|
|
244
|
-
}, N = dr(e.options, e.fetchOptions), T = async (v, j, c) => {
|
|
245
|
-
if (g)
|
|
246
|
-
return Promise.reject();
|
|
247
|
-
if (j == null && v.pages.length)
|
|
248
|
-
return Promise.resolve(v);
|
|
249
|
-
const S = {
|
|
250
|
-
client: e.client,
|
|
251
|
-
queryKey: e.queryKey,
|
|
252
|
-
pageParam: j,
|
|
253
|
-
direction: c ? "backward" : "forward",
|
|
254
|
-
meta: e.options.meta
|
|
255
|
-
};
|
|
256
|
-
C(S);
|
|
257
|
-
const D = await N(
|
|
258
|
-
S
|
|
259
|
-
), { maxPages: q } = e.options, L = c ? fr : hr;
|
|
260
|
-
return {
|
|
261
|
-
pages: L(v.pages, D, q),
|
|
262
|
-
pageParams: L(v.pageParams, j, q)
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
if (a && i.length) {
|
|
266
|
-
const v = a === "backward", j = v ? bn : Ue, c = {
|
|
267
|
-
pages: i,
|
|
268
|
-
pageParams: o
|
|
269
|
-
}, S = j(s, c);
|
|
270
|
-
f = await T(c, S, v);
|
|
271
|
-
} else {
|
|
272
|
-
const v = t ?? i.length;
|
|
273
|
-
do {
|
|
274
|
-
const j = h === 0 ? o[0] ?? s.initialPageParam : Ue(s, f);
|
|
275
|
-
if (h > 0 && j == null)
|
|
276
|
-
break;
|
|
277
|
-
f = await T(f, j), h++;
|
|
278
|
-
} while (h < v);
|
|
279
|
-
}
|
|
280
|
-
return f;
|
|
281
|
-
};
|
|
282
|
-
e.options.persister ? e.fetchFn = () => {
|
|
283
|
-
var g, C;
|
|
284
|
-
return (C = (g = e.options).persister) == null ? void 0 : C.call(
|
|
285
|
-
g,
|
|
286
|
-
l,
|
|
287
|
-
{
|
|
288
|
-
client: e.client,
|
|
289
|
-
queryKey: e.queryKey,
|
|
290
|
-
meta: e.options.meta,
|
|
291
|
-
signal: e.signal
|
|
292
|
-
},
|
|
293
|
-
r
|
|
294
|
-
);
|
|
295
|
-
} : e.fetchFn = l;
|
|
296
|
-
}
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
function Ue(t, { pages: e, pageParams: r }) {
|
|
300
|
-
const s = e.length - 1;
|
|
301
|
-
return e.length > 0 ? t.getNextPageParam(
|
|
302
|
-
e[s],
|
|
303
|
-
e,
|
|
304
|
-
r[s],
|
|
305
|
-
r
|
|
306
|
-
) : void 0;
|
|
307
|
-
}
|
|
308
|
-
function bn(t, { pages: e, pageParams: r }) {
|
|
309
|
-
var s;
|
|
310
|
-
return e.length > 0 ? (s = t.getPreviousPageParam) == null ? void 0 : s.call(t, e[0], e, r[0], r) : void 0;
|
|
311
|
-
}
|
|
312
|
-
var E, Y, Z, te, re, V, ne, se, at, jn = (at = class {
|
|
313
|
-
constructor(t = {}) {
|
|
314
|
-
R(this, E);
|
|
315
|
-
R(this, Y);
|
|
316
|
-
R(this, Z);
|
|
317
|
-
R(this, te);
|
|
318
|
-
R(this, re);
|
|
319
|
-
R(this, V);
|
|
320
|
-
R(this, ne);
|
|
321
|
-
R(this, se);
|
|
322
|
-
M(this, E, t.queryCache || new xn()), M(this, Y, t.mutationCache || new yn()), M(this, Z, t.defaultOptions || {}), M(this, te, /* @__PURE__ */ new Map()), M(this, re, /* @__PURE__ */ new Map()), M(this, V, 0);
|
|
323
|
-
}
|
|
324
|
-
mount() {
|
|
325
|
-
ce(this, V)._++, d(this, V) === 1 && (M(this, ne, mr.subscribe(async (t) => {
|
|
326
|
-
t && (await this.resumePausedMutations(), d(this, E).onFocus());
|
|
327
|
-
})), M(this, se, Ie.subscribe(async (t) => {
|
|
328
|
-
t && (await this.resumePausedMutations(), d(this, E).onOnline());
|
|
329
|
-
})));
|
|
330
|
-
}
|
|
331
|
-
unmount() {
|
|
332
|
-
var t, e;
|
|
333
|
-
ce(this, V)._--, d(this, V) === 0 && ((t = d(this, ne)) == null || t.call(this), M(this, ne, void 0), (e = d(this, se)) == null || e.call(this), M(this, se, void 0));
|
|
334
|
-
}
|
|
335
|
-
isFetching(t) {
|
|
336
|
-
return d(this, E).findAll({ ...t, fetchStatus: "fetching" }).length;
|
|
337
|
-
}
|
|
338
|
-
isMutating(t) {
|
|
339
|
-
return d(this, Y).findAll({ ...t, status: "pending" }).length;
|
|
340
|
-
}
|
|
341
|
-
getQueryData(t) {
|
|
342
|
-
var r;
|
|
343
|
-
const e = this.defaultQueryOptions({ queryKey: t });
|
|
344
|
-
return (r = d(this, E).get(e.queryHash)) == null ? void 0 : r.state.data;
|
|
345
|
-
}
|
|
346
|
-
ensureQueryData(t) {
|
|
347
|
-
const e = this.defaultQueryOptions(t), r = d(this, E).build(this, e), s = r.state.data;
|
|
348
|
-
return s === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && r.isStaleByTime(Qe(e.staleTime, r)) && this.prefetchQuery(e), Promise.resolve(s));
|
|
349
|
-
}
|
|
350
|
-
getQueriesData(t) {
|
|
351
|
-
return d(this, E).findAll(t).map(({ queryKey: e, state: r }) => {
|
|
352
|
-
const s = r.data;
|
|
353
|
-
return [e, s];
|
|
354
|
-
});
|
|
355
|
-
}
|
|
356
|
-
setQueryData(t, e, r) {
|
|
357
|
-
const s = this.defaultQueryOptions({ queryKey: t }), a = d(this, E).get(
|
|
358
|
-
s.queryHash
|
|
359
|
-
), i = a == null ? void 0 : a.state.data, o = gr(e, i);
|
|
360
|
-
if (o !== void 0)
|
|
361
|
-
return d(this, E).build(this, s).setData(o, { ...r, manual: !0 });
|
|
362
|
-
}
|
|
363
|
-
setQueriesData(t, e, r) {
|
|
364
|
-
return k.batch(
|
|
365
|
-
() => d(this, E).findAll(t).map(({ queryKey: s }) => [
|
|
366
|
-
s,
|
|
367
|
-
this.setQueryData(s, e, r)
|
|
368
|
-
])
|
|
369
|
-
);
|
|
370
|
-
}
|
|
371
|
-
getQueryState(t) {
|
|
372
|
-
var r;
|
|
373
|
-
const e = this.defaultQueryOptions({ queryKey: t });
|
|
374
|
-
return (r = d(this, E).get(
|
|
375
|
-
e.queryHash
|
|
376
|
-
)) == null ? void 0 : r.state;
|
|
377
|
-
}
|
|
378
|
-
removeQueries(t) {
|
|
379
|
-
const e = d(this, E);
|
|
380
|
-
k.batch(() => {
|
|
381
|
-
e.findAll(t).forEach((r) => {
|
|
382
|
-
e.remove(r);
|
|
383
|
-
});
|
|
384
|
-
});
|
|
385
|
-
}
|
|
386
|
-
resetQueries(t, e) {
|
|
387
|
-
const r = d(this, E), s = {
|
|
388
|
-
type: "active",
|
|
389
|
-
...t
|
|
390
|
-
};
|
|
391
|
-
return k.batch(() => (r.findAll(t).forEach((a) => {
|
|
392
|
-
a.reset();
|
|
393
|
-
}), this.refetchQueries(s, e)));
|
|
394
|
-
}
|
|
395
|
-
cancelQueries(t, e = {}) {
|
|
396
|
-
const r = { revert: !0, ...e }, s = k.batch(
|
|
397
|
-
() => d(this, E).findAll(t).map((a) => a.cancel(r))
|
|
398
|
-
);
|
|
399
|
-
return Promise.all(s).then(B).catch(B);
|
|
400
|
-
}
|
|
401
|
-
invalidateQueries(t, e = {}) {
|
|
402
|
-
return k.batch(() => {
|
|
403
|
-
if (d(this, E).findAll(t).forEach((s) => {
|
|
404
|
-
s.invalidate();
|
|
405
|
-
}), (t == null ? void 0 : t.refetchType) === "none")
|
|
406
|
-
return Promise.resolve();
|
|
407
|
-
const r = {
|
|
408
|
-
...t,
|
|
409
|
-
type: (t == null ? void 0 : t.refetchType) ?? (t == null ? void 0 : t.type) ?? "active"
|
|
410
|
-
};
|
|
411
|
-
return this.refetchQueries(r, e);
|
|
412
|
-
});
|
|
413
|
-
}
|
|
414
|
-
refetchQueries(t, e = {}) {
|
|
415
|
-
const r = {
|
|
416
|
-
...e,
|
|
417
|
-
cancelRefetch: e.cancelRefetch ?? !0
|
|
418
|
-
}, s = k.batch(
|
|
419
|
-
() => d(this, E).findAll(t).filter((a) => !a.isDisabled()).map((a) => {
|
|
420
|
-
let i = a.fetch(void 0, r);
|
|
421
|
-
return r.throwOnError || (i = i.catch(B)), a.state.fetchStatus === "paused" ? Promise.resolve() : i;
|
|
422
|
-
})
|
|
423
|
-
);
|
|
424
|
-
return Promise.all(s).then(B);
|
|
425
|
-
}
|
|
426
|
-
fetchQuery(t) {
|
|
427
|
-
const e = this.defaultQueryOptions(t);
|
|
428
|
-
e.retry === void 0 && (e.retry = !1);
|
|
429
|
-
const r = d(this, E).build(this, e);
|
|
430
|
-
return r.isStaleByTime(
|
|
431
|
-
Qe(e.staleTime, r)
|
|
432
|
-
) ? r.fetch(e) : Promise.resolve(r.state.data);
|
|
433
|
-
}
|
|
434
|
-
prefetchQuery(t) {
|
|
435
|
-
return this.fetchQuery(t).then(B).catch(B);
|
|
436
|
-
}
|
|
437
|
-
fetchInfiniteQuery(t) {
|
|
438
|
-
return t.behavior = Ke(t.pages), this.fetchQuery(t);
|
|
439
|
-
}
|
|
440
|
-
prefetchInfiniteQuery(t) {
|
|
441
|
-
return this.fetchInfiniteQuery(t).then(B).catch(B);
|
|
442
|
-
}
|
|
443
|
-
ensureInfiniteQueryData(t) {
|
|
444
|
-
return t.behavior = Ke(t.pages), this.ensureQueryData(t);
|
|
445
|
-
}
|
|
446
|
-
resumePausedMutations() {
|
|
447
|
-
return Ie.isOnline() ? d(this, Y).resumePausedMutations() : Promise.resolve();
|
|
448
|
-
}
|
|
449
|
-
getQueryCache() {
|
|
450
|
-
return d(this, E);
|
|
451
|
-
}
|
|
452
|
-
getMutationCache() {
|
|
453
|
-
return d(this, Y);
|
|
454
|
-
}
|
|
455
|
-
getDefaultOptions() {
|
|
456
|
-
return d(this, Z);
|
|
457
|
-
}
|
|
458
|
-
setDefaultOptions(t) {
|
|
459
|
-
M(this, Z, t);
|
|
460
|
-
}
|
|
461
|
-
setQueryDefaults(t, e) {
|
|
462
|
-
d(this, te).set(ze(t), {
|
|
463
|
-
queryKey: t,
|
|
464
|
-
defaultOptions: e
|
|
465
|
-
});
|
|
466
|
-
}
|
|
467
|
-
getQueryDefaults(t) {
|
|
468
|
-
const e = [...d(this, te).values()], r = {};
|
|
469
|
-
return e.forEach((s) => {
|
|
470
|
-
Le(t, s.queryKey) && Object.assign(r, s.defaultOptions);
|
|
471
|
-
}), r;
|
|
472
|
-
}
|
|
473
|
-
setMutationDefaults(t, e) {
|
|
474
|
-
d(this, re).set(ze(t), {
|
|
475
|
-
mutationKey: t,
|
|
476
|
-
defaultOptions: e
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
getMutationDefaults(t) {
|
|
480
|
-
const e = [...d(this, re).values()];
|
|
481
|
-
let r = {};
|
|
482
|
-
return e.forEach((s) => {
|
|
483
|
-
Le(t, s.mutationKey) && (r = { ...r, ...s.defaultOptions });
|
|
484
|
-
}), r;
|
|
485
|
-
}
|
|
486
|
-
defaultQueryOptions(t) {
|
|
487
|
-
if (t._defaulted)
|
|
488
|
-
return t;
|
|
489
|
-
const e = {
|
|
490
|
-
...d(this, Z).queries,
|
|
491
|
-
...this.getQueryDefaults(t.queryKey),
|
|
492
|
-
...t,
|
|
493
|
-
_defaulted: !0
|
|
494
|
-
};
|
|
495
|
-
return e.queryHash || (e.queryHash = dt(
|
|
496
|
-
e.queryKey,
|
|
497
|
-
e
|
|
498
|
-
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === pr && (e.enabled = !1), e;
|
|
499
|
-
}
|
|
500
|
-
defaultMutationOptions(t) {
|
|
501
|
-
return t != null && t._defaulted ? t : {
|
|
502
|
-
...d(this, Z).mutations,
|
|
503
|
-
...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
|
|
504
|
-
...t,
|
|
505
|
-
_defaulted: !0
|
|
506
|
-
};
|
|
507
|
-
}
|
|
508
|
-
clear() {
|
|
509
|
-
d(this, E).clear(), d(this, Y).clear();
|
|
510
|
-
}
|
|
511
|
-
}, E = new WeakMap(), Y = new WeakMap(), Z = new WeakMap(), te = new WeakMap(), re = new WeakMap(), V = new WeakMap(), ne = new WeakMap(), se = new WeakMap(), at);
|
|
512
|
-
function wn(t) {
|
|
513
|
-
return t;
|
|
514
|
-
}
|
|
515
|
-
function Ye(t, e, r) {
|
|
516
|
-
var h, l;
|
|
517
|
-
if (typeof e != "object" || e === null)
|
|
518
|
-
return;
|
|
519
|
-
const s = t.getMutationCache(), a = t.getQueryCache(), i = ((h = r == null ? void 0 : r.defaultOptions) == null ? void 0 : h.deserializeData) ?? ((l = t.getDefaultOptions().hydrate) == null ? void 0 : l.deserializeData) ?? wn, o = e.mutations || [], f = e.queries || [];
|
|
520
|
-
o.forEach(({ state: b, ...x }) => {
|
|
521
|
-
var p, y;
|
|
522
|
-
s.build(
|
|
523
|
-
t,
|
|
524
|
-
{
|
|
525
|
-
...(p = t.getDefaultOptions().hydrate) == null ? void 0 : p.mutations,
|
|
526
|
-
...(y = r == null ? void 0 : r.defaultOptions) == null ? void 0 : y.mutations,
|
|
527
|
-
...x
|
|
528
|
-
},
|
|
529
|
-
b
|
|
530
|
-
);
|
|
531
|
-
}), f.forEach(({ queryKey: b, state: x, queryHash: p, meta: y, promise: m }) => {
|
|
532
|
-
var N, T;
|
|
533
|
-
let g = a.get(p);
|
|
534
|
-
const C = x.data === void 0 ? x.data : i(x.data);
|
|
535
|
-
if (g) {
|
|
536
|
-
if (g.state.dataUpdatedAt < x.dataUpdatedAt) {
|
|
537
|
-
const { fetchStatus: v, ...j } = x;
|
|
538
|
-
g.setState({
|
|
539
|
-
...j,
|
|
540
|
-
data: C
|
|
541
|
-
});
|
|
542
|
-
}
|
|
543
|
-
} else
|
|
544
|
-
g = a.build(
|
|
545
|
-
t,
|
|
546
|
-
{
|
|
547
|
-
...(N = t.getDefaultOptions().hydrate) == null ? void 0 : N.queries,
|
|
548
|
-
...(T = r == null ? void 0 : r.defaultOptions) == null ? void 0 : T.queries,
|
|
549
|
-
queryKey: b,
|
|
550
|
-
queryHash: p,
|
|
551
|
-
meta: y
|
|
552
|
-
},
|
|
553
|
-
// Reset fetch status to idle to avoid
|
|
554
|
-
// query being stuck in fetching state upon hydration
|
|
555
|
-
{
|
|
556
|
-
...x,
|
|
557
|
-
data: C,
|
|
558
|
-
fetchStatus: "idle"
|
|
559
|
-
}
|
|
560
|
-
);
|
|
561
|
-
if (m) {
|
|
562
|
-
const v = Promise.resolve(m).then(i);
|
|
563
|
-
g.fetch(void 0, { initialPromise: v });
|
|
564
|
-
}
|
|
565
|
-
});
|
|
566
|
-
}
|
|
567
|
-
var Ze = (t, e) => typeof t == "object" && t !== null && e in t, Pn = ({
|
|
568
|
-
children: t,
|
|
569
|
-
options: e = {},
|
|
570
|
-
state: r,
|
|
571
|
-
queryClient: s
|
|
572
|
-
}) => {
|
|
573
|
-
const a = ft(s), [i, o] = K.useState(), f = K.useRef(e);
|
|
574
|
-
return f.current = e, K.useMemo(() => {
|
|
575
|
-
if (r) {
|
|
576
|
-
if (typeof r != "object")
|
|
577
|
-
return;
|
|
578
|
-
const h = a.getQueryCache(), l = r.queries || [], b = [], x = [];
|
|
579
|
-
for (const p of l) {
|
|
580
|
-
const y = h.get(p.queryHash);
|
|
581
|
-
if (!y)
|
|
582
|
-
b.push(p);
|
|
583
|
-
else {
|
|
584
|
-
const m = p.state.dataUpdatedAt > y.state.dataUpdatedAt || // RSC special serialized then-able chunks
|
|
585
|
-
Ze(p.promise, "status") && Ze(y.promise, "status") && p.promise.status !== y.promise.status, g = i == null ? void 0 : i.find(
|
|
586
|
-
(C) => C.queryHash === p.queryHash
|
|
587
|
-
);
|
|
588
|
-
m && (!g || p.state.dataUpdatedAt > g.state.dataUpdatedAt) && x.push(p);
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
b.length > 0 && Ye(a, { queries: b }, f.current), x.length > 0 && o(
|
|
592
|
-
(p) => p ? [...p, ...x] : x
|
|
593
|
-
);
|
|
594
|
-
}
|
|
595
|
-
}, [a, i, r]), K.useEffect(() => {
|
|
596
|
-
i && (Ye(a, { queries: i }, f.current), o(void 0));
|
|
597
|
-
}, [a, i]), t;
|
|
598
|
-
};
|
|
599
|
-
function Sn({ error: t }) {
|
|
600
|
-
return /* @__PURE__ */ n.jsx(gt, { error: t });
|
|
601
|
-
}
|
|
602
|
-
/**
|
|
603
|
-
* react-router v7.2.0
|
|
604
|
-
*
|
|
605
|
-
* Copyright (c) Remix Software Inc.
|
|
606
|
-
*
|
|
607
|
-
* This source code is licensed under the MIT license found in the
|
|
608
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
609
|
-
*
|
|
610
|
-
* @license MIT
|
|
611
|
-
*/
|
|
612
|
-
function Cn(t) {
|
|
613
|
-
return /* @__PURE__ */ K.createElement(ir, { flushSync: Ar.flushSync, ...t });
|
|
614
|
-
}
|
|
615
|
-
const Ne = Oe({ stagger: !1 }), En = new jn({
|
|
616
|
-
defaultOptions: {
|
|
617
|
-
queries: {
|
|
618
|
-
staleTime: 1e3 * 60 * 5
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
}), Nn = ({
|
|
622
|
-
router: t,
|
|
623
|
-
hydrate: e = !1
|
|
624
|
-
}) => /* @__PURE__ */ n.jsx(pt, { children: /* @__PURE__ */ n.jsx(ht, { client: En, children: /* @__PURE__ */ n.jsx(Pn, { state: e ? window.DATA : void 0, children: /* @__PURE__ */ n.jsx(ot, { value: !1, children: /* @__PURE__ */ n.jsx(it, { children: /* @__PURE__ */ n.jsx(Ne.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ n.jsx(Cn, { router: t }) }) }) }) }) }) }), Tn = ({
|
|
625
|
-
router: t,
|
|
626
|
-
context: e,
|
|
627
|
-
queryClient: r,
|
|
628
|
-
helmetContext: s,
|
|
629
|
-
bypassProtection: a = !1
|
|
630
|
-
}) => /* @__PURE__ */ n.jsx(pt, { children: /* @__PURE__ */ n.jsx(ht, { client: r, children: /* @__PURE__ */ n.jsx(it, { context: s, children: /* @__PURE__ */ n.jsx(ot, { value: a, children: /* @__PURE__ */ n.jsx(cr, { router: t, context: e }) }) }) }) }), Mn = () => {
|
|
631
|
-
const t = ge(), e = G(t.pathname);
|
|
632
|
-
Q(() => {
|
|
633
|
-
const r = e.current !== t.pathname, s = t.hash !== "";
|
|
634
|
-
r && !s && window.scrollTo(0, 0), e.current = t.pathname;
|
|
635
|
-
}, [t.pathname, t.hash]);
|
|
636
|
-
}, On = ({
|
|
637
|
-
icon: t
|
|
638
|
-
}) => typeof t == "string" ? /* @__PURE__ */ n.jsx(
|
|
639
|
-
"img",
|
|
640
|
-
{
|
|
641
|
-
src: `https://cdn.simpleicons.org/${t}/000000/ffffff`,
|
|
642
|
-
className: "size-5",
|
|
643
|
-
alt: t
|
|
644
|
-
}
|
|
645
|
-
) : t, An = (t) => /^https?:/.test(t), Rn = () => {
|
|
646
|
-
var r;
|
|
647
|
-
const { page: t } = ys(), e = t == null ? void 0 : t.footer;
|
|
648
|
-
return e ? /* @__PURE__ */ n.jsx("footer", { className: "border-t bg-background", children: /* @__PURE__ */ n.jsxs("div", { className: "mx-auto max-w-screen-2xl px-4 lg:px-8 py-8 pt-20", children: [
|
|
649
|
-
/* @__PURE__ */ n.jsxs(
|
|
650
|
-
"div",
|
|
651
|
-
{
|
|
652
|
-
className: O("flex flex-row gap-8", {
|
|
653
|
-
"justify-center": !e.position || e.position === "center",
|
|
654
|
-
"justify-start": e.position === "start",
|
|
655
|
-
"justify-end": e.position === "end"
|
|
656
|
-
}),
|
|
657
|
-
children: [
|
|
658
|
-
/* @__PURE__ */ n.jsx(_, { name: "footer-before" }),
|
|
659
|
-
e.columns && /* @__PURE__ */ n.jsx(
|
|
660
|
-
"div",
|
|
661
|
-
{
|
|
662
|
-
className: "w-full md:max-w-screen-md grid grid-cols-[1fr_1fr] gap-8 md:grid-cols-[repeat(var(--columns),minmax(0,1fr))]",
|
|
663
|
-
style: { "--columns": e.columns.length },
|
|
664
|
-
children: e.columns.map((s) => /* @__PURE__ */ n.jsxs(
|
|
665
|
-
"div",
|
|
666
|
-
{
|
|
667
|
-
className: O({
|
|
668
|
-
"justify-self-center": !s.position || s.position === "center",
|
|
669
|
-
"justify-self-start": s.position === "start",
|
|
670
|
-
"justify-self-end": s.position === "end"
|
|
671
|
-
}),
|
|
672
|
-
children: [
|
|
673
|
-
/* @__PURE__ */ n.jsx("span", { className: "text-sm font-semibold", children: s.title }),
|
|
674
|
-
/* @__PURE__ */ n.jsx("ul", { className: "mt-4 space-y-2", children: s.links.map((a, i) => {
|
|
675
|
-
const o = "flex flex-row gap-1 items-center text-sm text-muted-foreground hover:text-accent-foreground";
|
|
676
|
-
return /* @__PURE__ */ n.jsx("li", { children: An(a.href) ? /* @__PURE__ */ n.jsxs(
|
|
677
|
-
"a",
|
|
678
|
-
{
|
|
679
|
-
href: a.href,
|
|
680
|
-
target: "_blank",
|
|
681
|
-
rel: "noopener noreferrer",
|
|
682
|
-
className: o,
|
|
683
|
-
children: [
|
|
684
|
-
/* @__PURE__ */ n.jsx("span", { children: a.label }),
|
|
685
|
-
/* @__PURE__ */ n.jsx(Qr, { size: 12 })
|
|
686
|
-
]
|
|
687
|
-
}
|
|
688
|
-
) : /* @__PURE__ */ n.jsx(
|
|
689
|
-
Rr,
|
|
690
|
-
{
|
|
691
|
-
to: a.href + i,
|
|
692
|
-
className: o,
|
|
693
|
-
children: /* @__PURE__ */ n.jsx("span", { children: a.label })
|
|
694
|
-
}
|
|
695
|
-
) }, a.href + i);
|
|
696
|
-
}) })
|
|
697
|
-
]
|
|
698
|
-
},
|
|
699
|
-
s.title
|
|
700
|
-
))
|
|
701
|
-
}
|
|
702
|
-
),
|
|
703
|
-
/* @__PURE__ */ n.jsx(_, { name: "footer-after" })
|
|
704
|
-
]
|
|
705
|
-
}
|
|
706
|
-
),
|
|
707
|
-
/* @__PURE__ */ n.jsxs(
|
|
708
|
-
"div",
|
|
709
|
-
{
|
|
710
|
-
className: O(
|
|
711
|
-
"flex items-center justify-between",
|
|
712
|
-
e.columns && "border-t mt-8 pt-8"
|
|
713
|
-
),
|
|
714
|
-
children: [
|
|
715
|
-
e.logo && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
716
|
-
/* @__PURE__ */ n.jsx(
|
|
717
|
-
"img",
|
|
718
|
-
{
|
|
719
|
-
src: e.logo.src.light,
|
|
720
|
-
alt: e.logo.alt,
|
|
721
|
-
className: "w-8 dark:hidden",
|
|
722
|
-
style: { width: e.logo.width }
|
|
723
|
-
}
|
|
724
|
-
),
|
|
725
|
-
/* @__PURE__ */ n.jsx(
|
|
726
|
-
"img",
|
|
727
|
-
{
|
|
728
|
-
src: e.logo.src.dark,
|
|
729
|
-
alt: e.logo.alt,
|
|
730
|
-
className: "w-8 hidden dark:block",
|
|
731
|
-
style: { width: e.logo.width }
|
|
732
|
-
}
|
|
733
|
-
)
|
|
734
|
-
] }),
|
|
735
|
-
e.copyright && /* @__PURE__ */ n.jsx("p", { className: "text-sm text-muted-foreground", children: e.copyright }),
|
|
736
|
-
/* @__PURE__ */ n.jsx("div", { className: "flex items-center gap-2", children: (r = e.social) == null ? void 0 : r.map((s) => /* @__PURE__ */ n.jsxs(
|
|
737
|
-
"a",
|
|
738
|
-
{
|
|
739
|
-
href: s.href,
|
|
740
|
-
target: "_blank",
|
|
741
|
-
rel: "noopener noreferrer",
|
|
742
|
-
className: "w-auto gap-2 flex text-muted-foreground hover:text-accent-foreground",
|
|
743
|
-
children: [
|
|
744
|
-
/* @__PURE__ */ n.jsx(On, { icon: s.icon }),
|
|
745
|
-
s.label
|
|
746
|
-
]
|
|
747
|
-
},
|
|
748
|
-
s.href
|
|
749
|
-
)) })
|
|
750
|
-
]
|
|
751
|
-
}
|
|
752
|
-
)
|
|
753
|
-
] }) }) : null;
|
|
754
|
-
};
|
|
755
|
-
function kn({
|
|
756
|
-
className: t,
|
|
757
|
-
...e
|
|
758
|
-
}) {
|
|
759
|
-
return /* @__PURE__ */ n.jsx(
|
|
760
|
-
"div",
|
|
761
|
-
{
|
|
762
|
-
className: O("animate-pulse rounded-md bg-muted", t),
|
|
763
|
-
...e
|
|
764
|
-
}
|
|
765
|
-
);
|
|
766
|
-
}
|
|
767
|
-
const Ve = {
|
|
768
|
-
info: "bg-blue-500",
|
|
769
|
-
note: "bg-gray-500",
|
|
770
|
-
tip: "bg-green-600",
|
|
771
|
-
caution: "bg-orange-500",
|
|
772
|
-
danger: "bg-rose-500"
|
|
773
|
-
}, _n = () => {
|
|
774
|
-
const { page: t } = I(), [e, r] = J(!0);
|
|
775
|
-
if (!(t != null && t.banner) || !e)
|
|
776
|
-
return /* @__PURE__ */ n.jsx("style", { children: ":root { --banner-height: 0px; }" });
|
|
777
|
-
const s = t.banner.color && t.banner.color in Ve ? Ve[t.banner.color] : t.banner.color ? void 0 : "bg-primary", a = s ? {} : { backgroundColor: t.banner.color };
|
|
778
|
-
return /* @__PURE__ */ n.jsxs(
|
|
779
|
-
"div",
|
|
780
|
-
{
|
|
781
|
-
className: O(
|
|
782
|
-
"relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
|
|
783
|
-
s
|
|
784
|
-
),
|
|
785
|
-
"data-pagefind-ignore": "all",
|
|
786
|
-
style: a,
|
|
787
|
-
children: [
|
|
788
|
-
/* @__PURE__ */ n.jsx("div", { className: "w-full", children: t.banner.message }),
|
|
789
|
-
t.banner.dismissible && /* @__PURE__ */ n.jsx(
|
|
790
|
-
"button",
|
|
791
|
-
{
|
|
792
|
-
type: "button",
|
|
793
|
-
className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
|
|
794
|
-
onClick: () => r(!1),
|
|
795
|
-
children: /* @__PURE__ */ n.jsx(zr, { size: 16 })
|
|
796
|
-
}
|
|
797
|
-
)
|
|
798
|
-
]
|
|
799
|
-
}
|
|
800
|
-
);
|
|
801
|
-
}, St = (t) => /* @__PURE__ */ n.jsxs(
|
|
802
|
-
"svg",
|
|
803
|
-
{
|
|
804
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
805
|
-
viewBox: "0 0 132 100",
|
|
806
|
-
fill: "none",
|
|
807
|
-
...t,
|
|
808
|
-
children: [
|
|
809
|
-
/* @__PURE__ */ n.jsx(
|
|
810
|
-
"path",
|
|
811
|
-
{
|
|
812
|
-
fill: "currentColor",
|
|
813
|
-
fillRule: "evenodd",
|
|
814
|
-
d: "M80.092 2.963A4.66 4.66 0 0 1 84.449 0h34.049c6.325 0 10.835 6.135 8.948 12.172L116.653 46.71a4.688 4.688 0 0 1-4.474 3.29H75c-5.178 0-7.813 4.687-9.375 9.374-1.288 3.864-11.07 28.963-14.467 37.662A4.66 4.66 0 0 1 46.801 100H12.75c-6.324 0-10.834-6.134-8.947-12.171l10.793-34.54A4.688 4.688 0 0 1 19.071 50H56.25c5.178 0 7.813-4.687 9.375-9.375 1.288-3.864 11.07-28.962 14.467-37.662Z",
|
|
815
|
-
clipRule: "evenodd"
|
|
816
|
-
}
|
|
817
|
-
),
|
|
818
|
-
/* @__PURE__ */ n.jsx(
|
|
819
|
-
"path",
|
|
820
|
-
{
|
|
821
|
-
fill: "currentColor",
|
|
822
|
-
d: "M83.54 57.813a7.813 7.813 0 0 0-7.316 5.07L63.888 95.777c-.766 2.043.744 4.222 2.926 4.222h36.828c5.211 0 9.875-3.232 11.704-8.11l8.821-23.522c1.915-5.107-1.861-10.555-7.315-10.555H83.539ZM29.17 0a12.5 12.5 0 0 0-11.704 8.111l-8.82 23.521c-1.915 5.107 1.86 10.556 7.315 10.556h33.312a7.813 7.813 0 0 0 7.316-5.07L68.924 4.223C69.691 2.18 68.18 0 65.998 0H29.17Z"
|
|
823
|
-
}
|
|
824
|
-
)
|
|
825
|
-
]
|
|
826
|
-
}
|
|
827
|
-
);
|
|
828
|
-
St.displayName = "ZudokuLogo";
|
|
829
|
-
const Ct = ({ className: t }) => /* @__PURE__ */ n.jsxs(
|
|
830
|
-
"a",
|
|
831
|
-
{
|
|
832
|
-
href: "https://zudoku.dev",
|
|
833
|
-
target: "_blank",
|
|
834
|
-
rel: "noopener noreferrer",
|
|
835
|
-
className: O(
|
|
836
|
-
"flex justify-between items-center w-full border border-transparent hover:border-border rounded-full hover:shadow-sm h-7 px-3 text-nowrap hover:bg-muted/80 transition-all",
|
|
837
|
-
t
|
|
838
|
-
),
|
|
839
|
-
children: [
|
|
840
|
-
/* @__PURE__ */ n.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: [
|
|
841
|
-
/* @__PURE__ */ n.jsx(St, { className: "w-3.5 h-3.5 dark:fill-white" }),
|
|
842
|
-
"powered by Zudoku"
|
|
843
|
-
] }),
|
|
844
|
-
/* @__PURE__ */ n.jsx("div", { className: "text-xs font-medium opacity-70 hover:text-foreground transition-colors cursor-pointer", children: /* @__PURE__ */ n.jsx(Lr, { size: 12, absoluteStrokeWidth: !0, strokeWidth: 1.5 }) })
|
|
845
|
-
]
|
|
846
|
-
}
|
|
847
|
-
);
|
|
848
|
-
function Dn() {
|
|
849
|
-
const t = navigator.userAgent.toLowerCase();
|
|
850
|
-
if (t.includes("win")) return "Windows";
|
|
851
|
-
if (t.includes("mac")) return "macOS";
|
|
852
|
-
if (t.includes("linux")) return "Linux";
|
|
853
|
-
}
|
|
854
|
-
const Et = ({ className: t }) => {
|
|
855
|
-
const e = I(), [r, s] = J(!1), a = W(() => s(!1), []);
|
|
856
|
-
Q(() => {
|
|
857
|
-
if (r)
|
|
858
|
-
return;
|
|
859
|
-
function o(f) {
|
|
860
|
-
f.key === "k" && (f.metaKey || f.ctrlKey) && (f.preventDefault(), s(!0));
|
|
861
|
-
}
|
|
862
|
-
return window.addEventListener("keydown", o), () => {
|
|
863
|
-
window.removeEventListener("keydown", o);
|
|
864
|
-
};
|
|
865
|
-
}, [r, s]);
|
|
866
|
-
const i = e.plugins.find(Vr);
|
|
867
|
-
return i ? /* @__PURE__ */ n.jsxs("div", { className: t, children: [
|
|
868
|
-
/* @__PURE__ */ n.jsxs(
|
|
869
|
-
"button",
|
|
870
|
-
{
|
|
871
|
-
type: "button",
|
|
872
|
-
onClick: () => s(!0),
|
|
873
|
-
className: "flex items-center border border-input hover:bg-accent hover:text-accent-foreground p-4 relative h-8 justify-start rounded-lg bg-background text-sm text-muted-foreground shadow-none w-full sm:w-72",
|
|
874
|
-
children: [
|
|
875
|
-
/* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
|
|
876
|
-
/* @__PURE__ */ n.jsx(Br, { size: 14 }),
|
|
877
|
-
"Search"
|
|
878
|
-
] }),
|
|
879
|
-
/* @__PURE__ */ n.jsx(ve, { children: /* @__PURE__ */ n.jsx(qn, {}) })
|
|
880
|
-
]
|
|
881
|
-
}
|
|
882
|
-
),
|
|
883
|
-
/* @__PURE__ */ n.jsx(Ae, { fallback: null, children: i.renderSearch({
|
|
884
|
-
isOpen: r,
|
|
885
|
-
onClose: a
|
|
886
|
-
}) })
|
|
887
|
-
] }) : null;
|
|
888
|
-
}, qn = () => {
|
|
889
|
-
const t = Dn();
|
|
890
|
-
return /* @__PURE__ */ n.jsxs("kbd", { className: "absolute right-[0.3rem] top-[0.35rem] hidden h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: [
|
|
891
|
-
t === "macOS" ? "⌘" : "Ctrl",
|
|
892
|
-
"+K"
|
|
893
|
-
] });
|
|
894
|
-
}, Nt = () => {
|
|
895
|
-
const { resolvedTheme: t, setTheme: e } = ct();
|
|
896
|
-
return /* @__PURE__ */ n.jsx(ve, { fallback: /* @__PURE__ */ n.jsx(Ce, { variant: "ghost", size: "icon" }), children: /* @__PURE__ */ n.jsxs(
|
|
897
|
-
"button",
|
|
898
|
-
{
|
|
899
|
-
type: "button",
|
|
900
|
-
className: "flex rounded-full border p-0.5 gap-0.5 group",
|
|
901
|
-
onClick: () => e(t === "dark" ? "light" : "dark"),
|
|
902
|
-
"aria-label": t === "dark" ? "Switch to light mode" : "Switch to dark mode",
|
|
903
|
-
children: [
|
|
904
|
-
/* @__PURE__ */ n.jsx(
|
|
905
|
-
"div",
|
|
906
|
-
{
|
|
907
|
-
className: O(
|
|
908
|
-
"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",
|
|
909
|
-
t === "light" && "border-border bg-muted",
|
|
910
|
-
t === "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] "
|
|
911
|
-
),
|
|
912
|
-
children: /* @__PURE__ */ n.jsx(Hr, { size: 16 })
|
|
913
|
-
}
|
|
914
|
-
),
|
|
915
|
-
/* @__PURE__ */ n.jsx(
|
|
916
|
-
"div",
|
|
917
|
-
{
|
|
918
|
-
className: O(
|
|
919
|
-
"border border-transparent rounded-full p-0.5 transition-transform transform-gpu duration-500",
|
|
920
|
-
t === "dark" && "border-border bg-muted [&>svg>path]:fill-white [&>svg>path]:stroke-transparent",
|
|
921
|
-
t === "light" && "group-hover:rotate-[-10deg] [&>svg>path]:stroke-currentColor"
|
|
922
|
-
),
|
|
923
|
-
children: /* @__PURE__ */ n.jsx(Kr, { size: 16 })
|
|
924
|
-
}
|
|
925
|
-
)
|
|
926
|
-
]
|
|
927
|
-
}
|
|
928
|
-
) });
|
|
929
|
-
};
|
|
930
|
-
function me() {
|
|
931
|
-
return me = Object.assign ? Object.assign.bind() : function(t) {
|
|
932
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
933
|
-
var r = arguments[e];
|
|
934
|
-
for (var s in r) ({}).hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
935
|
-
}
|
|
936
|
-
return t;
|
|
937
|
-
}, me.apply(null, arguments);
|
|
938
|
-
}
|
|
939
|
-
var ue = { exports: {} }, w = {};
|
|
940
|
-
/** @license React v16.13.1
|
|
941
|
-
* react-is.production.min.js
|
|
942
|
-
*
|
|
943
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
944
|
-
*
|
|
945
|
-
* This source code is licensed under the MIT license found in the
|
|
946
|
-
* LICENSE file in the root directory of this source tree.
|
|
947
|
-
*/
|
|
948
|
-
var We;
|
|
949
|
-
function $n() {
|
|
950
|
-
if (We) return w;
|
|
951
|
-
We = 1;
|
|
952
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, s = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, f = t ? Symbol.for("react.context") : 60110, h = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, b = t ? Symbol.for("react.forward_ref") : 60112, x = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, C = t ? Symbol.for("react.fundamental") : 60117, N = t ? Symbol.for("react.responder") : 60118, T = t ? Symbol.for("react.scope") : 60119;
|
|
953
|
-
function v(c) {
|
|
954
|
-
if (typeof c == "object" && c !== null) {
|
|
955
|
-
var S = c.$$typeof;
|
|
956
|
-
switch (S) {
|
|
957
|
-
case e:
|
|
958
|
-
switch (c = c.type, c) {
|
|
959
|
-
case h:
|
|
960
|
-
case l:
|
|
961
|
-
case s:
|
|
962
|
-
case i:
|
|
963
|
-
case a:
|
|
964
|
-
case x:
|
|
965
|
-
return c;
|
|
966
|
-
default:
|
|
967
|
-
switch (c = c && c.$$typeof, c) {
|
|
968
|
-
case f:
|
|
969
|
-
case b:
|
|
970
|
-
case m:
|
|
971
|
-
case y:
|
|
972
|
-
case o:
|
|
973
|
-
return c;
|
|
974
|
-
default:
|
|
975
|
-
return S;
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
case r:
|
|
979
|
-
return S;
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
function j(c) {
|
|
984
|
-
return v(c) === l;
|
|
985
|
-
}
|
|
986
|
-
return w.AsyncMode = h, w.ConcurrentMode = l, w.ContextConsumer = f, w.ContextProvider = o, w.Element = e, w.ForwardRef = b, w.Fragment = s, w.Lazy = m, w.Memo = y, w.Portal = r, w.Profiler = i, w.StrictMode = a, w.Suspense = x, w.isAsyncMode = function(c) {
|
|
987
|
-
return j(c) || v(c) === h;
|
|
988
|
-
}, w.isConcurrentMode = j, w.isContextConsumer = function(c) {
|
|
989
|
-
return v(c) === f;
|
|
990
|
-
}, w.isContextProvider = function(c) {
|
|
991
|
-
return v(c) === o;
|
|
992
|
-
}, w.isElement = function(c) {
|
|
993
|
-
return typeof c == "object" && c !== null && c.$$typeof === e;
|
|
994
|
-
}, w.isForwardRef = function(c) {
|
|
995
|
-
return v(c) === b;
|
|
996
|
-
}, w.isFragment = function(c) {
|
|
997
|
-
return v(c) === s;
|
|
998
|
-
}, w.isLazy = function(c) {
|
|
999
|
-
return v(c) === m;
|
|
1000
|
-
}, w.isMemo = function(c) {
|
|
1001
|
-
return v(c) === y;
|
|
1002
|
-
}, w.isPortal = function(c) {
|
|
1003
|
-
return v(c) === r;
|
|
1004
|
-
}, w.isProfiler = function(c) {
|
|
1005
|
-
return v(c) === i;
|
|
1006
|
-
}, w.isStrictMode = function(c) {
|
|
1007
|
-
return v(c) === a;
|
|
1008
|
-
}, w.isSuspense = function(c) {
|
|
1009
|
-
return v(c) === x;
|
|
1010
|
-
}, w.isValidElementType = function(c) {
|
|
1011
|
-
return typeof c == "string" || typeof c == "function" || c === s || c === l || c === i || c === a || c === x || c === p || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === y || c.$$typeof === o || c.$$typeof === f || c.$$typeof === b || c.$$typeof === C || c.$$typeof === N || c.$$typeof === T || c.$$typeof === g);
|
|
1012
|
-
}, w.typeOf = v, w;
|
|
1013
|
-
}
|
|
1014
|
-
var P = {};
|
|
1015
|
-
/** @license React v16.13.1
|
|
1016
|
-
* react-is.development.js
|
|
1017
|
-
*
|
|
1018
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1019
|
-
*
|
|
1020
|
-
* This source code is licensed under the MIT license found in the
|
|
1021
|
-
* LICENSE file in the root directory of this source tree.
|
|
1022
|
-
*/
|
|
1023
|
-
var Ge;
|
|
1024
|
-
function Fn() {
|
|
1025
|
-
return Ge || (Ge = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1026
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, s = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, f = t ? Symbol.for("react.context") : 60110, h = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, b = t ? Symbol.for("react.forward_ref") : 60112, x = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, C = t ? Symbol.for("react.fundamental") : 60117, N = t ? Symbol.for("react.responder") : 60118, T = t ? Symbol.for("react.scope") : 60119;
|
|
1027
|
-
function v(u) {
|
|
1028
|
-
return typeof u == "string" || typeof u == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1029
|
-
u === s || u === l || u === i || u === a || u === x || u === p || typeof u == "object" && u !== null && (u.$$typeof === m || u.$$typeof === y || u.$$typeof === o || u.$$typeof === f || u.$$typeof === b || u.$$typeof === C || u.$$typeof === N || u.$$typeof === T || u.$$typeof === g);
|
|
1030
|
-
}
|
|
1031
|
-
function j(u) {
|
|
1032
|
-
if (typeof u == "object" && u !== null) {
|
|
1033
|
-
var ye = u.$$typeof;
|
|
1034
|
-
switch (ye) {
|
|
1035
|
-
case e:
|
|
1036
|
-
var ie = u.type;
|
|
1037
|
-
switch (ie) {
|
|
1038
|
-
case h:
|
|
1039
|
-
case l:
|
|
1040
|
-
case s:
|
|
1041
|
-
case i:
|
|
1042
|
-
case a:
|
|
1043
|
-
case x:
|
|
1044
|
-
return ie;
|
|
1045
|
-
default:
|
|
1046
|
-
var _e = ie && ie.$$typeof;
|
|
1047
|
-
switch (_e) {
|
|
1048
|
-
case f:
|
|
1049
|
-
case b:
|
|
1050
|
-
case m:
|
|
1051
|
-
case y:
|
|
1052
|
-
case o:
|
|
1053
|
-
return _e;
|
|
1054
|
-
default:
|
|
1055
|
-
return ye;
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
1058
|
-
case r:
|
|
1059
|
-
return ye;
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
var c = h, S = l, D = f, q = o, L = e, U = b, xe = s, X = m, Qt = y, zt = r, Lt = i, Bt = a, Ht = x, Re = !1;
|
|
1064
|
-
function Kt(u) {
|
|
1065
|
-
return Re || (Re = !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.")), ke(u) || j(u) === h;
|
|
1066
|
-
}
|
|
1067
|
-
function ke(u) {
|
|
1068
|
-
return j(u) === l;
|
|
1069
|
-
}
|
|
1070
|
-
function Ut(u) {
|
|
1071
|
-
return j(u) === f;
|
|
1072
|
-
}
|
|
1073
|
-
function Yt(u) {
|
|
1074
|
-
return j(u) === o;
|
|
1075
|
-
}
|
|
1076
|
-
function Zt(u) {
|
|
1077
|
-
return typeof u == "object" && u !== null && u.$$typeof === e;
|
|
1078
|
-
}
|
|
1079
|
-
function Vt(u) {
|
|
1080
|
-
return j(u) === b;
|
|
1081
|
-
}
|
|
1082
|
-
function Wt(u) {
|
|
1083
|
-
return j(u) === s;
|
|
1084
|
-
}
|
|
1085
|
-
function Gt(u) {
|
|
1086
|
-
return j(u) === m;
|
|
1087
|
-
}
|
|
1088
|
-
function Xt(u) {
|
|
1089
|
-
return j(u) === y;
|
|
1090
|
-
}
|
|
1091
|
-
function Jt(u) {
|
|
1092
|
-
return j(u) === r;
|
|
1093
|
-
}
|
|
1094
|
-
function er(u) {
|
|
1095
|
-
return j(u) === i;
|
|
1096
|
-
}
|
|
1097
|
-
function tr(u) {
|
|
1098
|
-
return j(u) === a;
|
|
1099
|
-
}
|
|
1100
|
-
function rr(u) {
|
|
1101
|
-
return j(u) === x;
|
|
1102
|
-
}
|
|
1103
|
-
P.AsyncMode = c, P.ConcurrentMode = S, P.ContextConsumer = D, P.ContextProvider = q, P.Element = L, P.ForwardRef = U, P.Fragment = xe, P.Lazy = X, P.Memo = Qt, P.Portal = zt, P.Profiler = Lt, P.StrictMode = Bt, P.Suspense = Ht, P.isAsyncMode = Kt, P.isConcurrentMode = ke, P.isContextConsumer = Ut, P.isContextProvider = Yt, P.isElement = Zt, P.isForwardRef = Vt, P.isFragment = Wt, P.isLazy = Gt, P.isMemo = Xt, P.isPortal = Jt, P.isProfiler = er, P.isStrictMode = tr, P.isSuspense = rr, P.isValidElementType = v, P.typeOf = j;
|
|
1104
|
-
}()), P;
|
|
1105
|
-
}
|
|
1106
|
-
var Xe;
|
|
1107
|
-
function In() {
|
|
1108
|
-
return Xe || (Xe = 1, process.env.NODE_ENV === "production" ? ue.exports = $n() : ue.exports = Fn()), ue.exports;
|
|
1109
|
-
}
|
|
1110
|
-
var we, Je;
|
|
1111
|
-
function Qn() {
|
|
1112
|
-
if (Je) return we;
|
|
1113
|
-
Je = 1;
|
|
1114
|
-
var t = In(), e = {
|
|
1115
|
-
childContextTypes: !0,
|
|
1116
|
-
contextType: !0,
|
|
1117
|
-
contextTypes: !0,
|
|
1118
|
-
defaultProps: !0,
|
|
1119
|
-
displayName: !0,
|
|
1120
|
-
getDefaultProps: !0,
|
|
1121
|
-
getDerivedStateFromError: !0,
|
|
1122
|
-
getDerivedStateFromProps: !0,
|
|
1123
|
-
mixins: !0,
|
|
1124
|
-
propTypes: !0,
|
|
1125
|
-
type: !0
|
|
1126
|
-
}, r = {
|
|
1127
|
-
name: !0,
|
|
1128
|
-
length: !0,
|
|
1129
|
-
prototype: !0,
|
|
1130
|
-
caller: !0,
|
|
1131
|
-
callee: !0,
|
|
1132
|
-
arguments: !0,
|
|
1133
|
-
arity: !0
|
|
1134
|
-
}, s = {
|
|
1135
|
-
$$typeof: !0,
|
|
1136
|
-
render: !0,
|
|
1137
|
-
defaultProps: !0,
|
|
1138
|
-
displayName: !0,
|
|
1139
|
-
propTypes: !0
|
|
1140
|
-
}, a = {
|
|
1141
|
-
$$typeof: !0,
|
|
1142
|
-
compare: !0,
|
|
1143
|
-
defaultProps: !0,
|
|
1144
|
-
displayName: !0,
|
|
1145
|
-
propTypes: !0,
|
|
1146
|
-
type: !0
|
|
1147
|
-
}, i = {};
|
|
1148
|
-
i[t.ForwardRef] = s, i[t.Memo] = a;
|
|
1149
|
-
function o(m) {
|
|
1150
|
-
return t.isMemo(m) ? a : i[m.$$typeof] || e;
|
|
1151
|
-
}
|
|
1152
|
-
var f = Object.defineProperty, h = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, b = Object.getOwnPropertyDescriptor, x = Object.getPrototypeOf, p = Object.prototype;
|
|
1153
|
-
function y(m, g, C) {
|
|
1154
|
-
if (typeof g != "string") {
|
|
1155
|
-
if (p) {
|
|
1156
|
-
var N = x(g);
|
|
1157
|
-
N && N !== p && y(m, N, C);
|
|
1158
|
-
}
|
|
1159
|
-
var T = h(g);
|
|
1160
|
-
l && (T = T.concat(l(g)));
|
|
1161
|
-
for (var v = o(m), j = o(g), c = 0; c < T.length; ++c) {
|
|
1162
|
-
var S = T[c];
|
|
1163
|
-
if (!r[S] && !(C && C[S]) && !(j && j[S]) && !(v && v[S])) {
|
|
1164
|
-
var D = b(g, S);
|
|
1165
|
-
try {
|
|
1166
|
-
f(m, S, D);
|
|
1167
|
-
} catch {
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1170
|
-
}
|
|
1171
|
-
}
|
|
1172
|
-
return m;
|
|
1173
|
-
}
|
|
1174
|
-
return we = y, we;
|
|
1175
|
-
}
|
|
1176
|
-
Qn();
|
|
1177
|
-
var Tt = function(e, r, s) {
|
|
1178
|
-
return e = e <= s ? e : s, e = e >= r ? e : r, e;
|
|
1179
|
-
}, zn = function() {
|
|
1180
|
-
var e = !1, r = [], s = function() {
|
|
1181
|
-
e = !0;
|
|
1182
|
-
var f = r.shift();
|
|
1183
|
-
if (f)
|
|
1184
|
-
return f(s);
|
|
1185
|
-
e = !1;
|
|
1186
|
-
}, a = function() {
|
|
1187
|
-
e = !1, r = [];
|
|
1188
|
-
}, i = function(f) {
|
|
1189
|
-
r.push(f), !e && r.length === 1 && s();
|
|
1190
|
-
};
|
|
1191
|
-
return {
|
|
1192
|
-
clear: a,
|
|
1193
|
-
enqueue: i
|
|
1194
|
-
};
|
|
1195
|
-
}, Ln = function() {
|
|
1196
|
-
var e, r = function() {
|
|
1197
|
-
e && window.cancelAnimationFrame(e);
|
|
1198
|
-
}, s = function(i, o) {
|
|
1199
|
-
var f, h, l = function(x) {
|
|
1200
|
-
if (h = h || x, f = x - h, f > o) {
|
|
1201
|
-
i();
|
|
1202
|
-
return;
|
|
1203
|
-
}
|
|
1204
|
-
e = window.requestAnimationFrame(l);
|
|
1205
|
-
};
|
|
1206
|
-
e = window.requestAnimationFrame(l);
|
|
1207
|
-
};
|
|
1208
|
-
return {
|
|
1209
|
-
cancel: r,
|
|
1210
|
-
schedule: s
|
|
1211
|
-
};
|
|
1212
|
-
}, Bn = function(e) {
|
|
1213
|
-
var r = 0;
|
|
1214
|
-
return e >= 0 && e < 0.2 ? r = 0.1 : e >= 0.2 && e < 0.5 ? r = 0.04 : e >= 0.5 && e < 0.8 ? r = 0.02 : e >= 0.8 && e < 0.99 && (r = 5e-3), Tt(e + r, 0, 0.994);
|
|
1215
|
-
}, et = function(e) {
|
|
1216
|
-
Q(e, []);
|
|
1217
|
-
}, Hn = function(e) {
|
|
1218
|
-
return ++e % 1e6;
|
|
1219
|
-
}, Kn = function() {
|
|
1220
|
-
var e = J(0), r = e[1];
|
|
1221
|
-
return W(function() {
|
|
1222
|
-
return r(Hn);
|
|
1223
|
-
}, []);
|
|
1224
|
-
}, Un = function(e) {
|
|
1225
|
-
e === void 0 && (e = {});
|
|
1226
|
-
var r = Kn(), s = G(me({}, e)), a = W(function() {
|
|
1227
|
-
return s.current;
|
|
1228
|
-
}, []), i = W(function(o) {
|
|
1229
|
-
o && (Object.assign(s.current, o), r());
|
|
1230
|
-
}, []);
|
|
1231
|
-
return [a, i];
|
|
1232
|
-
}, Yn = function() {
|
|
1233
|
-
var e = G(!0);
|
|
1234
|
-
return e.current ? (e.current = !1, !0) : e.current;
|
|
1235
|
-
}, tt = function(e, r) {
|
|
1236
|
-
var s = Yn();
|
|
1237
|
-
Q(function() {
|
|
1238
|
-
if (!s)
|
|
1239
|
-
return e();
|
|
1240
|
-
}, r);
|
|
1241
|
-
}, Mt = function() {
|
|
1242
|
-
}, rt = {
|
|
1243
|
-
isFinished: !0,
|
|
1244
|
-
progress: 0,
|
|
1245
|
-
sideEffect: Mt
|
|
1246
|
-
}, Zn = function(e) {
|
|
1247
|
-
var r = e === void 0 ? {} : e, s = r.animationDuration, a = s === void 0 ? 200 : s, i = r.incrementDuration, o = i === void 0 ? 800 : i, f = r.isAnimating, h = f === void 0 ? !1 : f, l = r.minimum, b = l === void 0 ? 0.08 : l, x = Un(rt), p = x[0], y = x[1], m = G(null), g = G(null);
|
|
1248
|
-
et(function() {
|
|
1249
|
-
m.current = zn(), g.current = Ln();
|
|
1250
|
-
});
|
|
1251
|
-
var C = W(function() {
|
|
1252
|
-
var S, D;
|
|
1253
|
-
(S = g.current) == null || S.cancel(), (D = m.current) == null || D.clear();
|
|
1254
|
-
}, []), N = W(function(S) {
|
|
1255
|
-
var D;
|
|
1256
|
-
if (S = Tt(S, b, 1), S === 1) {
|
|
1257
|
-
var q, L;
|
|
1258
|
-
C(), (q = m.current) == null || q.enqueue(function(U) {
|
|
1259
|
-
y({
|
|
1260
|
-
progress: S,
|
|
1261
|
-
sideEffect: function() {
|
|
1262
|
-
var X;
|
|
1263
|
-
return (X = g.current) == null ? void 0 : X.schedule(U, a);
|
|
1264
|
-
}
|
|
1265
|
-
});
|
|
1266
|
-
}), (L = m.current) == null || L.enqueue(function() {
|
|
1267
|
-
y({
|
|
1268
|
-
isFinished: !0,
|
|
1269
|
-
sideEffect: C
|
|
1270
|
-
});
|
|
1271
|
-
});
|
|
1272
|
-
return;
|
|
1273
|
-
}
|
|
1274
|
-
(D = m.current) == null || D.enqueue(function(U) {
|
|
1275
|
-
y({
|
|
1276
|
-
isFinished: !1,
|
|
1277
|
-
progress: S,
|
|
1278
|
-
sideEffect: function() {
|
|
1279
|
-
var X;
|
|
1280
|
-
return (X = g.current) == null ? void 0 : X.schedule(U, a);
|
|
1281
|
-
}
|
|
1282
|
-
});
|
|
1283
|
-
});
|
|
1284
|
-
}, [a, C, b, m, y, g]), T = W(function() {
|
|
1285
|
-
N(Bn(p().progress));
|
|
1286
|
-
}, [p, N]), v = W(function() {
|
|
1287
|
-
var S = function() {
|
|
1288
|
-
var q;
|
|
1289
|
-
T(), (q = m.current) == null || q.enqueue(function(L) {
|
|
1290
|
-
var U;
|
|
1291
|
-
(U = g.current) == null || U.schedule(function() {
|
|
1292
|
-
S(), L();
|
|
1293
|
-
}, o);
|
|
1294
|
-
});
|
|
1295
|
-
};
|
|
1296
|
-
S();
|
|
1297
|
-
}, [o, m, g, T]), j = G(Mt), c = p().sideEffect;
|
|
1298
|
-
return Q(function() {
|
|
1299
|
-
j.current = T;
|
|
1300
|
-
}), et(function() {
|
|
1301
|
-
return h && v(), C;
|
|
1302
|
-
}), tt(function() {
|
|
1303
|
-
p().sideEffect();
|
|
1304
|
-
}, [p, c]), tt(function() {
|
|
1305
|
-
h ? y(me({}, rt, {
|
|
1306
|
-
sideEffect: v
|
|
1307
|
-
})) : N(1);
|
|
1308
|
-
}, [h, N, y, v]), {
|
|
1309
|
-
animationDuration: a,
|
|
1310
|
-
isFinished: p().isFinished,
|
|
1311
|
-
progress: p().progress
|
|
1312
|
-
};
|
|
1313
|
-
};
|
|
1314
|
-
const Ot = (t) => (e) => e.display === "hide" ? !1 : e.display === "auth" && t || e.display === "anon" && !t || !e.display || e.display === "always", At = () => {
|
|
1315
|
-
const e = pe().state === "loading", [r, s] = J(!1);
|
|
1316
|
-
Q(() => {
|
|
1317
|
-
const o = setTimeout(() => s(e), 100);
|
|
1318
|
-
return () => clearTimeout(o);
|
|
1319
|
-
}, [e]);
|
|
1320
|
-
const { isFinished: a, progress: i } = Zn({ isAnimating: r });
|
|
1321
|
-
return /* @__PURE__ */ n.jsx(
|
|
1322
|
-
"div",
|
|
1323
|
-
{
|
|
1324
|
-
className: "absolute w-0 left-0 right-0 bottom-[-1px] h-[2px] bg-primary transition-all duration-300 ease-in-out",
|
|
1325
|
-
style: {
|
|
1326
|
-
opacity: a ? 0 : 1,
|
|
1327
|
-
width: a ? 0 : `${i * 100}%`
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
|
-
);
|
|
1331
|
-
}, Vn = () => {
|
|
1332
|
-
const { topNavigation: t } = I(), { isAuthenticated: e } = ae(), r = t.filter(Ot(e));
|
|
1333
|
-
return r.length === 0 ? /* @__PURE__ */ n.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ n.jsxs(Ae, { children: [
|
|
1334
|
-
/* @__PURE__ */ n.jsxs("div", { className: "items-center justify-between px-8 h-[--top-nav-height] hidden lg:flex text-sm relative", children: [
|
|
1335
|
-
/* @__PURE__ */ n.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: r.map((s) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(Rt, { ...s }) }, s.id)) }) }),
|
|
1336
|
-
/* @__PURE__ */ n.jsx(_, { name: "top-navigation-side" })
|
|
1337
|
-
] }),
|
|
1338
|
-
/* @__PURE__ */ n.jsx(At, {})
|
|
1339
|
-
] });
|
|
1340
|
-
}, Rt = ({
|
|
1341
|
-
id: t,
|
|
1342
|
-
label: e,
|
|
1343
|
-
default: r
|
|
1344
|
-
}) => {
|
|
1345
|
-
var l;
|
|
1346
|
-
const { sidebars: s } = I(), a = s[t], i = mt(), o = !!pe().location, f = ((l = i.topNavItem) == null ? void 0 : l.id) === t && !o, h = r ?? (a ? vr(a, (b) => {
|
|
1347
|
-
if (b.type === "doc") return ee(b.id);
|
|
1348
|
-
}) : ee(t)) ?? ee(t);
|
|
1349
|
-
return (
|
|
1350
|
-
// We don't use isActive here because it has to be inside the sidebar,
|
|
1351
|
-
// the top nav id doesn't necessarily start with the sidebar id
|
|
1352
|
-
/* @__PURE__ */ n.jsx(
|
|
1353
|
-
lr,
|
|
1354
|
-
{
|
|
1355
|
-
className: ({ isPending: b }) => pn(
|
|
1356
|
-
"block lg:py-3.5 font-medium -mb-px",
|
|
1357
|
-
f || b ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
|
|
1358
|
-
),
|
|
1359
|
-
to: h,
|
|
1360
|
-
children: e
|
|
1361
|
-
}
|
|
1362
|
-
)
|
|
1363
|
-
);
|
|
1364
|
-
}, Wn = () => {
|
|
1365
|
-
var i;
|
|
1366
|
-
const { topNavigation: t, options: e } = I(), { isAuthenticated: r } = ae(), [s, a] = J(!1);
|
|
1367
|
-
return /* @__PURE__ */ n.jsxs(
|
|
1368
|
-
mn,
|
|
1369
|
-
{
|
|
1370
|
-
direction: "right",
|
|
1371
|
-
open: s,
|
|
1372
|
-
onOpenChange: (o) => a(o),
|
|
1373
|
-
children: [
|
|
1374
|
-
/* @__PURE__ */ n.jsxs("div", { className: "flex lg:hidden justify-self-end", children: [
|
|
1375
|
-
/* @__PURE__ */ n.jsx(gn, { className: "lg:hidden", children: /* @__PURE__ */ n.jsx(Ur, { size: 22 }) }),
|
|
1376
|
-
/* @__PURE__ */ n.jsx(At, {})
|
|
1377
|
-
] }),
|
|
1378
|
-
/* @__PURE__ */ n.jsx(
|
|
1379
|
-
bt,
|
|
1380
|
-
{
|
|
1381
|
-
className: "lg:hidden h-[100dvh] right-0 left-auto w-[320px] rounded-none",
|
|
1382
|
-
"aria-describedby": void 0,
|
|
1383
|
-
children: /* @__PURE__ */ n.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none h-full flex flex-col justify-between", children: [
|
|
1384
|
-
/* @__PURE__ */ n.jsxs("div", { children: [
|
|
1385
|
-
/* @__PURE__ */ n.jsx(yt, { children: /* @__PURE__ */ n.jsx(jt, { children: "Navigation" }) }),
|
|
1386
|
-
/* @__PURE__ */ n.jsx(Et, { className: "flex p-4" }),
|
|
1387
|
-
/* @__PURE__ */ n.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
|
|
1388
|
-
/* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(Nt, {}) }),
|
|
1389
|
-
t.filter(Ot(r)).map((o) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("button", { type: "button", onClick: () => a(!1), children: /* @__PURE__ */ n.jsx(Rt, { ...o }) }) }, o.label))
|
|
1390
|
-
] })
|
|
1391
|
-
] }),
|
|
1392
|
-
((i = e.page) == null ? void 0 : i.showPoweredBy) !== !1 && /* @__PURE__ */ n.jsx(Ct, { className: "flex-grow-0 justify-center gap-1" })
|
|
1393
|
-
] })
|
|
1394
|
-
}
|
|
1395
|
-
)
|
|
1396
|
-
]
|
|
1397
|
-
}
|
|
1398
|
-
);
|
|
1399
|
-
}, fe = ({ item: t }) => t.children ? /* @__PURE__ */ n.jsxs(ln, { children: [
|
|
1400
|
-
/* @__PURE__ */ n.jsx(un, { children: t.label }),
|
|
1401
|
-
/* @__PURE__ */ n.jsx(dn, { children: /* @__PURE__ */ n.jsx(fn, { children: t.children.map((e, r) => (
|
|
1402
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
1403
|
-
/* @__PURE__ */ n.jsx(fe, { item: e }, r)
|
|
1404
|
-
)) }) })
|
|
1405
|
-
] }, t.label) : /* @__PURE__ */ n.jsx(Me, { to: t.path ?? "", children: /* @__PURE__ */ n.jsxs(hn, { className: "flex gap-2", children: [
|
|
1406
|
-
t.icon && /* @__PURE__ */ n.jsx(t.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
|
|
1407
|
-
t.label
|
|
1408
|
-
] }, t.label) }), kt = vt(function() {
|
|
1409
|
-
const e = ae(), { isAuthenticated: r, profile: s, isAuthEnabled: a } = ae(), i = I(), { page: o, plugins: f } = i, h = f.filter((l) => Wr(l)).flatMap((l) => l.getProfileMenuItems(i)).sort((l) => l.weight ?? 0);
|
|
1410
|
-
return /* @__PURE__ */ n.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
|
|
1411
|
-
/* @__PURE__ */ n.jsx(_n, {}),
|
|
1412
|
-
/* @__PURE__ */ n.jsx("div", { className: "border-b", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto flex relative items-center justify-between px-4 lg:px-8 h-[--top-header-height] border-transparent", children: [
|
|
1413
|
-
/* @__PURE__ */ n.jsx("div", { className: "flex", children: /* @__PURE__ */ n.jsx(Me, { to: "/", children: /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-3.5", children: [
|
|
1414
|
-
(o == null ? void 0 : o.logo) && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1415
|
-
/* @__PURE__ */ n.jsx(
|
|
1416
|
-
"img",
|
|
1417
|
-
{
|
|
1418
|
-
src: /https?:\/\//.test(o.logo.src.light) ? o.logo.src.light : ee(
|
|
1419
|
-
"/",
|
|
1420
|
-
o.logo.src.light
|
|
1421
|
-
),
|
|
1422
|
-
alt: o.logo.alt ?? o.pageTitle,
|
|
1423
|
-
style: { width: o.logo.width },
|
|
1424
|
-
className: "h-10 dark:hidden",
|
|
1425
|
-
loading: "lazy"
|
|
1426
|
-
}
|
|
1427
|
-
),
|
|
1428
|
-
/* @__PURE__ */ n.jsx(
|
|
1429
|
-
"img",
|
|
1430
|
-
{
|
|
1431
|
-
src: /https?:\/\//.test(o.logo.src.dark) ? o.logo.src.dark : ee(
|
|
1432
|
-
"/",
|
|
1433
|
-
o.logo.src.dark
|
|
1434
|
-
),
|
|
1435
|
-
alt: o.logo.alt ?? o.pageTitle,
|
|
1436
|
-
style: { width: o.logo.width },
|
|
1437
|
-
className: "h-10 hidden dark:block",
|
|
1438
|
-
loading: "lazy"
|
|
1439
|
-
}
|
|
1440
|
-
)
|
|
1441
|
-
] }),
|
|
1442
|
-
/* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: o == null ? void 0 : o.pageTitle })
|
|
1443
|
-
] }) }) }),
|
|
1444
|
-
/* @__PURE__ */ n.jsx("div", { className: "absolute inset-x-0 justify-center items-center hidden lg:flex w-full pointer-events-none", children: /* @__PURE__ */ n.jsx(Et, { className: "pointer-events-auto" }) }),
|
|
1445
|
-
/* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-8", children: [
|
|
1446
|
-
/* @__PURE__ */ n.jsx(Wn, {}),
|
|
1447
|
-
/* @__PURE__ */ n.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
|
|
1448
|
-
/* @__PURE__ */ n.jsx(_, { name: "head-navigation-start" }),
|
|
1449
|
-
a && /* @__PURE__ */ n.jsx(
|
|
1450
|
-
ve,
|
|
1451
|
-
{
|
|
1452
|
-
fallback: /* @__PURE__ */ n.jsx(kn, { className: "rounded h-5 w-24 mr-4" }),
|
|
1453
|
-
children: r ? Object.values(h).length > 0 && /* @__PURE__ */ n.jsxs(sn, { modal: !1, children: [
|
|
1454
|
-
/* @__PURE__ */ n.jsx(an, { asChild: !0, children: /* @__PURE__ */ n.jsx(Ce, { variant: "ghost", children: s != null && s.name ? `${s.name}` : "My Account" }) }),
|
|
1455
|
-
/* @__PURE__ */ n.jsxs(on, { className: "w-56", children: [
|
|
1456
|
-
/* @__PURE__ */ n.jsxs(cn, { children: [
|
|
1457
|
-
s != null && s.name ? `${s.name}` : "My Account",
|
|
1458
|
-
(s == null ? void 0 : s.email) && /* @__PURE__ */ n.jsx("div", { className: "font-normal text-muted-foreground", children: s.email })
|
|
1459
|
-
] }),
|
|
1460
|
-
h.filter((l) => l.category === "top").length > 0 && /* @__PURE__ */ n.jsx(je, {}),
|
|
1461
|
-
h.filter((l) => l.category === "top").map((l) => /* @__PURE__ */ n.jsx(fe, { item: l }, l.label)),
|
|
1462
|
-
h.filter(
|
|
1463
|
-
(l) => !l.category || l.category === "middle"
|
|
1464
|
-
).length > 0 && /* @__PURE__ */ n.jsx(je, {}),
|
|
1465
|
-
h.filter(
|
|
1466
|
-
(l) => !l.category || l.category === "middle"
|
|
1467
|
-
).map((l) => /* @__PURE__ */ n.jsx(fe, { item: l }, l.label)),
|
|
1468
|
-
h.filter((l) => l.category === "bottom").length > 0 && /* @__PURE__ */ n.jsx(je, {}),
|
|
1469
|
-
h.filter((l) => l.category === "bottom").map((l) => /* @__PURE__ */ n.jsx(fe, { item: l }, l.label))
|
|
1470
|
-
] })
|
|
1471
|
-
] }) : /* @__PURE__ */ n.jsx(Ce, { variant: "ghost", onClick: () => e.login(), children: "Login" })
|
|
1472
|
-
}
|
|
1473
|
-
),
|
|
1474
|
-
/* @__PURE__ */ n.jsx(_, { name: "head-navigation-end" }),
|
|
1475
|
-
/* @__PURE__ */ n.jsx(Nt, {})
|
|
1476
|
-
] })
|
|
1477
|
-
] })
|
|
1478
|
-
] }) }),
|
|
1479
|
-
/* @__PURE__ */ n.jsx("div", { className: "border-b hidden lg:block", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto border-transparent", children: [
|
|
1480
|
-
/* @__PURE__ */ n.jsx(_, { name: "top-navigation-before" }),
|
|
1481
|
-
/* @__PURE__ */ n.jsx(Vn, {}),
|
|
1482
|
-
/* @__PURE__ */ n.jsx(_, { name: "top-navigation-after" })
|
|
1483
|
-
] }) })
|
|
1484
|
-
] });
|
|
1485
|
-
}), _t = ({
|
|
1486
|
-
shouldScaleBackground: t = !0,
|
|
1487
|
-
...e
|
|
1488
|
-
}) => /* @__PURE__ */ n.jsx(
|
|
1489
|
-
z.Root,
|
|
1490
|
-
{
|
|
1491
|
-
shouldScaleBackground: t,
|
|
1492
|
-
...e
|
|
1493
|
-
}
|
|
1494
|
-
);
|
|
1495
|
-
_t.displayName = "Drawer";
|
|
1496
|
-
const Gn = z.Trigger, Xn = z.Portal, Dt = K.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ n.jsx(
|
|
1497
|
-
z.Overlay,
|
|
1498
|
-
{
|
|
1499
|
-
ref: r,
|
|
1500
|
-
className: O("fixed inset-0 z-50 bg-black/80", t),
|
|
1501
|
-
...e
|
|
1502
|
-
}
|
|
1503
|
-
));
|
|
1504
|
-
Dt.displayName = z.Overlay.displayName;
|
|
1505
|
-
const Jn = K.forwardRef(
|
|
1506
|
-
({ className: t, children: e, hideBar: r = !0, ...s }, a) => /* @__PURE__ */ n.jsxs(Xn, { children: [
|
|
1507
|
-
/* @__PURE__ */ n.jsx(Dt, {}),
|
|
1508
|
-
/* @__PURE__ */ n.jsxs(
|
|
1509
|
-
z.Content,
|
|
1510
|
-
{
|
|
1511
|
-
ref: a,
|
|
1512
|
-
className: O(
|
|
1513
|
-
"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
|
|
1514
|
-
t
|
|
1515
|
-
),
|
|
1516
|
-
...s,
|
|
1517
|
-
children: [
|
|
1518
|
-
!r && /* @__PURE__ */ n.jsx("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
|
|
1519
|
-
e
|
|
1520
|
-
]
|
|
1521
|
-
}
|
|
1522
|
-
)
|
|
1523
|
-
] })
|
|
1524
|
-
);
|
|
1525
|
-
Jn.displayName = "DrawerContent";
|
|
1526
|
-
const es = K.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ n.jsx(
|
|
1527
|
-
z.Title,
|
|
1528
|
-
{
|
|
1529
|
-
ref: r,
|
|
1530
|
-
className: O(
|
|
1531
|
-
"text-lg font-semibold leading-none tracking-tight",
|
|
1532
|
-
t
|
|
1533
|
-
),
|
|
1534
|
-
...e
|
|
1535
|
-
}
|
|
1536
|
-
));
|
|
1537
|
-
es.displayName = z.Title.displayName;
|
|
1538
|
-
const ts = K.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ n.jsx(
|
|
1539
|
-
z.Description,
|
|
1540
|
-
{
|
|
1541
|
-
ref: r,
|
|
1542
|
-
className: O("text-sm text-muted-foreground", t),
|
|
1543
|
-
...e
|
|
1544
|
-
}
|
|
1545
|
-
));
|
|
1546
|
-
ts.displayName = z.Description.displayName;
|
|
1547
|
-
const qt = ({
|
|
1548
|
-
children: t,
|
|
1549
|
-
className: e
|
|
1550
|
-
}) => {
|
|
1551
|
-
var a;
|
|
1552
|
-
const { options: r } = I(), s = G(null);
|
|
1553
|
-
return Q(() => {
|
|
1554
|
-
var o;
|
|
1555
|
-
const i = (o = s.current) == null ? void 0 : o.querySelector('[aria-current="page"]');
|
|
1556
|
-
kr(i ?? null);
|
|
1557
|
-
}, []), /* @__PURE__ */ n.jsxs("div", { className: "grid sticky top-[--header-height] lg:h-[calc(100vh-var(--header-height))] grid-rows-[1fr_min-content] border-r", children: [
|
|
1558
|
-
/* @__PURE__ */ n.jsx(
|
|
1559
|
-
"nav",
|
|
1560
|
-
{
|
|
1561
|
-
ref: s,
|
|
1562
|
-
className: O(
|
|
1563
|
-
"hidden max-w-[calc(var(--side-nav-width)+var(--padding-nav-item))] lg:flex scrollbar flex-col overflow-y-auto shrink-0 text-sm pe-3 ps-4 lg:ps-8",
|
|
1564
|
-
"-mx-[--padding-nav-item] pb-[8vh] pt-[--padding-content-top] scroll-pt-2 gap-1",
|
|
1565
|
-
// Revert the padding/margin on the first child
|
|
1566
|
-
"-mt-2.5",
|
|
1567
|
-
e
|
|
1568
|
-
),
|
|
1569
|
-
style: {
|
|
1570
|
-
maskImage: "linear-gradient(180deg, transparent 1%, rgba(0, 0, 0, 1) 20px, rgba(0, 0, 0, 1) 90%, transparent 99%)"
|
|
1571
|
-
},
|
|
1572
|
-
children: t
|
|
1573
|
-
}
|
|
1574
|
-
),
|
|
1575
|
-
/* @__PURE__ */ n.jsx("div", { className: "bg-background border-t p-2 mx-5 gap-2 items-center mt-2 drop-shadow-[0_-3px_1px_rgba(0,0,0,0.015)] hidden lg:[&:has(>_:nth-child(1):last-child)]:flex", children: ((a = r.page) == null ? void 0 : a.showPoweredBy) !== !1 && /* @__PURE__ */ n.jsx(Ct, {}) })
|
|
1576
|
-
] });
|
|
1577
|
-
};
|
|
1578
|
-
qt.displayName = "SidebarWrapper";
|
|
1579
|
-
const rs = ({
|
|
1580
|
-
onRequestClose: t,
|
|
1581
|
-
sidebar: e
|
|
1582
|
-
}) => /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1583
|
-
/* @__PURE__ */ n.jsxs(qt, { children: [
|
|
1584
|
-
/* @__PURE__ */ n.jsx(_, { name: "zudoku-before-navigation" }),
|
|
1585
|
-
e.map((r) => /* @__PURE__ */ n.jsx(
|
|
1586
|
-
He,
|
|
1587
|
-
{
|
|
1588
|
-
item: r
|
|
1589
|
-
},
|
|
1590
|
-
("id" in r ? r.id : "") + ("href" in r ? r.href : "") + r.label
|
|
1591
|
-
)),
|
|
1592
|
-
/* @__PURE__ */ n.jsx(_, { name: "zudoku-after-navigation" })
|
|
1593
|
-
] }),
|
|
1594
|
-
/* @__PURE__ */ n.jsx(
|
|
1595
|
-
bt,
|
|
1596
|
-
{
|
|
1597
|
-
className: "lg:hidden h-[100dvh] left-0 w-[320px] rounded-none",
|
|
1598
|
-
"aria-describedby": void 0,
|
|
1599
|
-
children: /* @__PURE__ */ n.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
|
|
1600
|
-
/* @__PURE__ */ n.jsx(yt, { children: /* @__PURE__ */ n.jsx(jt, { children: "Sidebar" }) }),
|
|
1601
|
-
e.map((r) => /* @__PURE__ */ n.jsx(
|
|
1602
|
-
He,
|
|
1603
|
-
{
|
|
1604
|
-
item: r,
|
|
1605
|
-
onRequestClose: t
|
|
1606
|
-
},
|
|
1607
|
-
r.label
|
|
1608
|
-
))
|
|
1609
|
-
] })
|
|
1610
|
-
}
|
|
1611
|
-
)
|
|
1612
|
-
] }), ns = ({ children: t }) => {
|
|
1613
|
-
const [e, r] = J(!1), { sidebar: s } = mt(), a = s.length > 0, i = pe().state === "loading";
|
|
1614
|
-
return /* @__PURE__ */ n.jsxs(
|
|
1615
|
-
_t,
|
|
1616
|
-
{
|
|
1617
|
-
direction: "left",
|
|
1618
|
-
open: e,
|
|
1619
|
-
onOpenChange: (o) => r(o),
|
|
1620
|
-
children: [
|
|
1621
|
-
a && /* @__PURE__ */ n.jsx(
|
|
1622
|
-
rs,
|
|
1623
|
-
{
|
|
1624
|
-
onRequestClose: () => r(!1),
|
|
1625
|
-
sidebar: s
|
|
1626
|
-
}
|
|
1627
|
-
),
|
|
1628
|
-
a && /* @__PURE__ */ n.jsx("div", { className: "lg:hidden -mx-4 px-4 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b", children: /* @__PURE__ */ n.jsxs(Gn, { className: "flex items-center gap-2 px-4", children: [
|
|
1629
|
-
/* @__PURE__ */ n.jsx(Yr, { size: 16, strokeWidth: 1.5 }),
|
|
1630
|
-
/* @__PURE__ */ n.jsx("span", { className: "text-sm", children: "Menu" })
|
|
1631
|
-
] }) }),
|
|
1632
|
-
/* @__PURE__ */ n.jsxs(
|
|
1633
|
-
"main",
|
|
1634
|
-
{
|
|
1635
|
-
"data-pagefind-body": !0,
|
|
1636
|
-
className: O(
|
|
1637
|
-
"px-4 lg:pe-8 lg:px-8",
|
|
1638
|
-
!a && "col-span-full",
|
|
1639
|
-
i && "animate-pulse"
|
|
1640
|
-
),
|
|
1641
|
-
children: [
|
|
1642
|
-
/* @__PURE__ */ n.jsx(_, { name: "zudoku-before-content" }),
|
|
1643
|
-
t,
|
|
1644
|
-
/* @__PURE__ */ n.jsx(_, { name: "zudoku-after-content" })
|
|
1645
|
-
]
|
|
1646
|
-
}
|
|
1647
|
-
)
|
|
1648
|
-
]
|
|
1649
|
-
}
|
|
1650
|
-
);
|
|
1651
|
-
}, ss = () => /* @__PURE__ */ n.jsx("main", { className: "col-span-full row-span-full grid place-items-center", children: /* @__PURE__ */ n.jsx(xt, {}) }), as = ({ children: t }) => {
|
|
1652
|
-
const { meta: e, authentication: r, options: s } = I(), a = ge();
|
|
1653
|
-
return _r(), Mn(), Q(() => {
|
|
1654
|
-
var i;
|
|
1655
|
-
(i = r == null ? void 0 : r.onPageLoad) == null || i.call(r);
|
|
1656
|
-
}, [r]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1657
|
-
!1,
|
|
1658
|
-
/* @__PURE__ */ n.jsxs(Te, { titleTemplate: e == null ? void 0 : e.title, children: [
|
|
1659
|
-
s.canonicalUrlOrigin && /* @__PURE__ */ n.jsx(
|
|
1660
|
-
"link",
|
|
1661
|
-
{
|
|
1662
|
-
rel: "canonical",
|
|
1663
|
-
href: ee(
|
|
1664
|
-
s.canonicalUrlOrigin,
|
|
1665
|
-
s.basePath,
|
|
1666
|
-
a.pathname
|
|
1667
|
-
)
|
|
1668
|
-
}
|
|
1669
|
-
),
|
|
1670
|
-
(e == null ? void 0 : e.description) && /* @__PURE__ */ n.jsx("meta", { name: "description", content: e.description }),
|
|
1671
|
-
(e == null ? void 0 : e.favicon) && /* @__PURE__ */ n.jsx("link", { rel: "icon", href: e.favicon })
|
|
1672
|
-
] }),
|
|
1673
|
-
/* @__PURE__ */ n.jsx(_, { name: "layout-before-head" }),
|
|
1674
|
-
/* @__PURE__ */ n.jsx(kt, {}),
|
|
1675
|
-
/* @__PURE__ */ n.jsx(_, { name: "layout-after-head" }),
|
|
1676
|
-
/* @__PURE__ */ n.jsx(
|
|
1677
|
-
"div",
|
|
1678
|
-
{
|
|
1679
|
-
className: O(
|
|
1680
|
-
"grid max-w-screen-2xl w-full lg:mx-auto",
|
|
1681
|
-
"has-[:only-child]:grid-rows-1 grid-rows-[0_min-content_1fr] lg:grid-rows-[min-content_1fr]",
|
|
1682
|
-
"grid-cols-1 lg:grid-cols-[var(--side-nav-width)_1fr]"
|
|
1683
|
-
),
|
|
1684
|
-
children: /* @__PURE__ */ n.jsx(Ae, { fallback: /* @__PURE__ */ n.jsx(ss, {}), children: /* @__PURE__ */ n.jsx(ns, { children: t ?? /* @__PURE__ */ n.jsx(lt, {}) }) })
|
|
1685
|
-
}
|
|
1686
|
-
),
|
|
1687
|
-
/* @__PURE__ */ n.jsx(Rn, {})
|
|
1688
|
-
] });
|
|
1689
|
-
}, os = ({
|
|
1690
|
-
title: t = "An error occurred",
|
|
1691
|
-
message: e,
|
|
1692
|
-
category: r
|
|
1693
|
-
}) => /* @__PURE__ */ n.jsxs("div", { className: qr + " h-full pt-[--padding-content-top]", children: [
|
|
1694
|
-
r && /* @__PURE__ */ n.jsx(Zr, { children: r }),
|
|
1695
|
-
t && /* @__PURE__ */ n.jsx(Dr, { level: 1, className: "flex gap-3.5 items-center", children: t }),
|
|
1696
|
-
/* @__PURE__ */ n.jsx("p", { children: e })
|
|
1697
|
-
] }), is = (t) => {
|
|
1698
|
-
switch (t) {
|
|
1699
|
-
case 400:
|
|
1700
|
-
return {
|
|
1701
|
-
title: "Bad Request",
|
|
1702
|
-
message: "The request could not be understood by the server due to malformed syntax."
|
|
1703
|
-
};
|
|
1704
|
-
case 403:
|
|
1705
|
-
return {
|
|
1706
|
-
title: "Forbidden",
|
|
1707
|
-
message: "You don't have permission to access this resource."
|
|
1708
|
-
};
|
|
1709
|
-
case 404:
|
|
1710
|
-
return {
|
|
1711
|
-
title: "Not Found",
|
|
1712
|
-
message: "The requested resource could not be found."
|
|
1713
|
-
};
|
|
1714
|
-
case 405:
|
|
1715
|
-
return {
|
|
1716
|
-
title: "Method Not Allowed",
|
|
1717
|
-
message: "The request method is not supported for the requested resource."
|
|
1718
|
-
};
|
|
1719
|
-
case 414:
|
|
1720
|
-
return {
|
|
1721
|
-
title: "Request URI Too Large",
|
|
1722
|
-
message: "The request URI is too large."
|
|
1723
|
-
};
|
|
1724
|
-
case 416:
|
|
1725
|
-
return {
|
|
1726
|
-
title: "Range Not Satisfiable",
|
|
1727
|
-
message: "The server cannot satisfy the request range."
|
|
1728
|
-
};
|
|
1729
|
-
case 500:
|
|
1730
|
-
return {
|
|
1731
|
-
title: "Internal Server Error",
|
|
1732
|
-
message: "An unexpected error occurred while processing your request."
|
|
1733
|
-
};
|
|
1734
|
-
case 501:
|
|
1735
|
-
return {
|
|
1736
|
-
title: "Not Implemented",
|
|
1737
|
-
message: "The server does not support the functionality required to fulfill the request."
|
|
1738
|
-
};
|
|
1739
|
-
case 502:
|
|
1740
|
-
return {
|
|
1741
|
-
title: "Bad Gateway",
|
|
1742
|
-
message: "The server received an invalid response from the upstream server."
|
|
1743
|
-
};
|
|
1744
|
-
case 503:
|
|
1745
|
-
return {
|
|
1746
|
-
title: "Service Unavailable",
|
|
1747
|
-
message: "The server is temporarily unable to handle the request."
|
|
1748
|
-
};
|
|
1749
|
-
case 504:
|
|
1750
|
-
return {
|
|
1751
|
-
title: "Gateway Timeout",
|
|
1752
|
-
message: "The server did not receive a timely response from the upstream server."
|
|
1753
|
-
};
|
|
1754
|
-
default:
|
|
1755
|
-
return {
|
|
1756
|
-
title: "An error occurred",
|
|
1757
|
-
message: "Something went wrong while processing your request."
|
|
1758
|
-
};
|
|
1759
|
-
}
|
|
1760
|
-
}, cs = ({ statusCode: t, message: e }) => {
|
|
1761
|
-
const r = is(t);
|
|
1762
|
-
return /* @__PURE__ */ n.jsx(
|
|
1763
|
-
os,
|
|
1764
|
-
{
|
|
1765
|
-
title: r.title,
|
|
1766
|
-
message: e ?? r.message,
|
|
1767
|
-
category: t
|
|
1768
|
-
}
|
|
1769
|
-
);
|
|
1770
|
-
}, ls = Oe(null), Pe = {
|
|
1771
|
-
didCatch: !1,
|
|
1772
|
-
error: null
|
|
1773
|
-
};
|
|
1774
|
-
class us extends Mr {
|
|
1775
|
-
constructor(e) {
|
|
1776
|
-
super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Pe;
|
|
1777
|
-
}
|
|
1778
|
-
static getDerivedStateFromError(e) {
|
|
1779
|
-
return {
|
|
1780
|
-
didCatch: !0,
|
|
1781
|
-
error: e
|
|
1782
|
-
};
|
|
1783
|
-
}
|
|
1784
|
-
resetErrorBoundary() {
|
|
1785
|
-
const {
|
|
1786
|
-
error: e
|
|
1787
|
-
} = this.state;
|
|
1788
|
-
if (e !== null) {
|
|
1789
|
-
for (var r, s, a = arguments.length, i = new Array(a), o = 0; o < a; o++)
|
|
1790
|
-
i[o] = arguments[o];
|
|
1791
|
-
(r = (s = this.props).onReset) === null || r === void 0 || r.call(s, {
|
|
1792
|
-
args: i,
|
|
1793
|
-
reason: "imperative-api"
|
|
1794
|
-
}), this.setState(Pe);
|
|
1795
|
-
}
|
|
1796
|
-
}
|
|
1797
|
-
componentDidCatch(e, r) {
|
|
1798
|
-
var s, a;
|
|
1799
|
-
(s = (a = this.props).onError) === null || s === void 0 || s.call(a, e, r);
|
|
1800
|
-
}
|
|
1801
|
-
componentDidUpdate(e, r) {
|
|
1802
|
-
const {
|
|
1803
|
-
didCatch: s
|
|
1804
|
-
} = this.state, {
|
|
1805
|
-
resetKeys: a
|
|
1806
|
-
} = this.props;
|
|
1807
|
-
if (s && r.error !== null && ds(e.resetKeys, a)) {
|
|
1808
|
-
var i, o;
|
|
1809
|
-
(i = (o = this.props).onReset) === null || i === void 0 || i.call(o, {
|
|
1810
|
-
next: a,
|
|
1811
|
-
prev: e.resetKeys,
|
|
1812
|
-
reason: "keys"
|
|
1813
|
-
}), this.setState(Pe);
|
|
1814
|
-
}
|
|
1815
|
-
}
|
|
1816
|
-
render() {
|
|
1817
|
-
const {
|
|
1818
|
-
children: e,
|
|
1819
|
-
fallbackRender: r,
|
|
1820
|
-
FallbackComponent: s,
|
|
1821
|
-
fallback: a
|
|
1822
|
-
} = this.props, {
|
|
1823
|
-
didCatch: i,
|
|
1824
|
-
error: o
|
|
1825
|
-
} = this.state;
|
|
1826
|
-
let f = e;
|
|
1827
|
-
if (i) {
|
|
1828
|
-
const h = {
|
|
1829
|
-
error: o,
|
|
1830
|
-
resetErrorBoundary: this.resetErrorBoundary
|
|
1831
|
-
};
|
|
1832
|
-
if (typeof r == "function")
|
|
1833
|
-
f = r(h);
|
|
1834
|
-
else if (s)
|
|
1835
|
-
f = Be(s, h);
|
|
1836
|
-
else if (a !== void 0)
|
|
1837
|
-
f = a;
|
|
1838
|
-
else
|
|
1839
|
-
throw o;
|
|
1840
|
-
}
|
|
1841
|
-
return Be(ls.Provider, {
|
|
1842
|
-
value: {
|
|
1843
|
-
didCatch: i,
|
|
1844
|
-
error: o,
|
|
1845
|
-
resetErrorBoundary: this.resetErrorBoundary
|
|
1846
|
-
}
|
|
1847
|
-
}, f);
|
|
1848
|
-
}
|
|
1849
|
-
}
|
|
1850
|
-
function ds() {
|
|
1851
|
-
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
1852
|
-
return t.length !== e.length || t.some((r, s) => !Object.is(r, e[s]));
|
|
1853
|
-
}
|
|
1854
|
-
let fs = () => ({
|
|
1855
|
-
emit(t, ...e) {
|
|
1856
|
-
for (let r = this.events[t] || [], s = 0, a = r.length; s < a; s++)
|
|
1857
|
-
r[s](...e);
|
|
1858
|
-
},
|
|
1859
|
-
events: {},
|
|
1860
|
-
on(t, e) {
|
|
1861
|
-
var r;
|
|
1862
|
-
return ((r = this.events)[t] || (r[t] = [])).push(e), () => {
|
|
1863
|
-
var s;
|
|
1864
|
-
this.events[t] = (s = this.events[t]) == null ? void 0 : s.filter((a) => e !== a);
|
|
1865
|
-
};
|
|
1866
|
-
}
|
|
1867
|
-
});
|
|
1868
|
-
class hs {
|
|
1869
|
-
constructor(e, r) {
|
|
1870
|
-
A(this, "plugins");
|
|
1871
|
-
A(this, "sidebars");
|
|
1872
|
-
A(this, "topNavigation");
|
|
1873
|
-
A(this, "meta");
|
|
1874
|
-
A(this, "page");
|
|
1875
|
-
A(this, "authentication");
|
|
1876
|
-
A(this, "navigationPlugins");
|
|
1877
|
-
A(this, "emitter", fs());
|
|
1878
|
-
A(this, "initialize", async () => {
|
|
1879
|
-
await Promise.all(
|
|
1880
|
-
this.plugins.filter(Jr).map((e) => {
|
|
1881
|
-
var r;
|
|
1882
|
-
return (r = e.initialize) == null ? void 0 : r.call(e, this);
|
|
1883
|
-
})
|
|
1884
|
-
);
|
|
1885
|
-
});
|
|
1886
|
-
A(this, "getApiIdentities", async () => (await Promise.all(
|
|
1887
|
-
this.plugins.filter(en).map((r) => r.getIdentities(this))
|
|
1888
|
-
)).flat());
|
|
1889
|
-
A(this, "emitEvent", (e, ...r) => this.emitter.emit(e, ...r));
|
|
1890
|
-
A(this, "getPluginSidebar", async (e) => (await Promise.all(
|
|
1891
|
-
this.navigationPlugins.map(
|
|
1892
|
-
(s) => {
|
|
1893
|
-
var a;
|
|
1894
|
-
return (a = s.getSidebar) == null ? void 0 : a.call(s, yr(e), this);
|
|
1895
|
-
}
|
|
1896
|
-
)
|
|
1897
|
-
)).flatMap((s) => s ?? []));
|
|
1898
|
-
A(this, "signRequest", async (e) => {
|
|
1899
|
-
if (!this.authentication)
|
|
1900
|
-
throw new Error("No authentication provider configured");
|
|
1901
|
-
return await this.authentication.signRequest(e);
|
|
1902
|
-
});
|
|
1903
|
-
this.options = e, this.queryClient = r, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(Gr), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.plugins.forEach((s) => {
|
|
1904
|
-
Xr(s) && nn(s.events).forEach(([a, i]) => {
|
|
1905
|
-
this.emitter.on(a, i);
|
|
1906
|
-
});
|
|
1907
|
-
}), xr.subscribe((s, a) => {
|
|
1908
|
-
this.emitEvent("auth", {
|
|
1909
|
-
prev: a,
|
|
1910
|
-
next: s
|
|
1911
|
-
});
|
|
1912
|
-
});
|
|
1913
|
-
}
|
|
1914
|
-
addEventListener(e, r) {
|
|
1915
|
-
return this.emitter.on(e, r);
|
|
1916
|
-
}
|
|
1917
|
-
}
|
|
1918
|
-
function ms({ error: t, resetErrorBoundary: e }) {
|
|
1919
|
-
return /* @__PURE__ */ n.jsx(gt, { error: t });
|
|
1920
|
-
}
|
|
1921
|
-
const de = globalThis;
|
|
1922
|
-
(!de.requestIdleCallback || !de.cancelIdleCallback) && (de.requestIdleCallback = (t) => setTimeout(t, 1), de.cancelIdleCallback = clearTimeout);
|
|
1923
|
-
const $t = {
|
|
1924
|
-
Header: kt
|
|
1925
|
-
}, gs = Oe($t), ps = gs.Provider, vs = () => {
|
|
1926
|
-
const t = ge(), e = I(), r = G(void 0);
|
|
1927
|
-
return Q(() => {
|
|
1928
|
-
e.emitEvent("location", {
|
|
1929
|
-
from: r.current,
|
|
1930
|
-
to: t
|
|
1931
|
-
}), r.current = t;
|
|
1932
|
-
}, [e, t]), null;
|
|
1933
|
-
}, xs = ({
|
|
1934
|
-
children: t,
|
|
1935
|
-
context: e
|
|
1936
|
-
}) => (br({
|
|
1937
|
-
queryFn: async () => (await e.initialize(), !0),
|
|
1938
|
-
queryKey: ["zudoku-initialize"]
|
|
1939
|
-
}), /* @__PURE__ */ n.jsx(jr.Provider, { value: e, children: t }));
|
|
1940
|
-
let Se;
|
|
1941
|
-
const Ft = vt(
|
|
1942
|
-
({ children: t, ...e }) => {
|
|
1943
|
-
var p, y;
|
|
1944
|
-
const r = be(
|
|
1945
|
-
() => ({ ...$t, ...e.overrides }),
|
|
1946
|
-
[e.overrides]
|
|
1947
|
-
), s = ge(), a = be(() => {
|
|
1948
|
-
var g;
|
|
1949
|
-
return {
|
|
1950
|
-
...(e.plugins ?? []).filter(tn).flatMap(
|
|
1951
|
-
(C) => C.getMdxComponents ? [C.getMdxComponents()] : []
|
|
1952
|
-
).reduce(
|
|
1953
|
-
(C, N) => ({ ...C, ...N }),
|
|
1954
|
-
{}
|
|
1955
|
-
),
|
|
1956
|
-
...$r,
|
|
1957
|
-
...(g = e.mdx) == null ? void 0 : g.components
|
|
1958
|
-
};
|
|
1959
|
-
}, [(p = e.mdx) == null ? void 0 : p.components, e.plugins]), { stagger: i } = Or(Ne), [o, f] = J(!1), h = be(
|
|
1960
|
-
() => o ? { stagger: !0 } : { stagger: i },
|
|
1961
|
-
[i, o]
|
|
1962
|
-
), l = pe(), b = ft();
|
|
1963
|
-
Q(() => {
|
|
1964
|
-
o || f(!0);
|
|
1965
|
-
}, [o, l.location]), Se || (Se = new hs(e, b));
|
|
1966
|
-
const x = (y = e.plugins) == null ? void 0 : y.flatMap(
|
|
1967
|
-
(m) => {
|
|
1968
|
-
var g;
|
|
1969
|
-
return rn(m) ? ((g = m.getHead) == null ? void 0 : g.call(m, { location: s })) ?? [] : [];
|
|
1970
|
-
}
|
|
1971
|
-
).map((m, g) => /* @__PURE__ */ n.jsx(Te, { children: m }, g));
|
|
1972
|
-
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1973
|
-
x,
|
|
1974
|
-
/* @__PURE__ */ n.jsx(Ne.Provider, { value: h, children: /* @__PURE__ */ n.jsxs(xs, { context: Se, children: [
|
|
1975
|
-
/* @__PURE__ */ n.jsx(vs, {}),
|
|
1976
|
-
/* @__PURE__ */ n.jsx(vn, { components: a, children: /* @__PURE__ */ n.jsx(or, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ n.jsx(ps, { value: r, children: /* @__PURE__ */ n.jsx(Sr, { slotlets: e.slotlets, children: /* @__PURE__ */ n.jsx(Fr, { children: t ?? /* @__PURE__ */ n.jsx(lt, {}) }) }) }) }) })
|
|
1977
|
-
] }) })
|
|
1978
|
-
] });
|
|
1979
|
-
}
|
|
1980
|
-
);
|
|
1981
|
-
Ft.displayName = "ZudokoInner";
|
|
1982
|
-
const It = (t) => /* @__PURE__ */ n.jsx(us, { FallbackComponent: ms, children: /* @__PURE__ */ n.jsx(Ft, { ...t }) });
|
|
1983
|
-
It.displayName = "Zudoku";
|
|
1984
|
-
const Hs = Pt, Ks = as, Us = Cr, Ys = Sn, Zs = Nn, Vs = Tn, Ws = ar, Gs = Te, ys = I, Xs = ae, Js = wr, ea = Pr, ta = It, ra = cs, na = Nr, sa = Ir, aa = xt, oa = ve, ia = Er, ca = Me, la = ct;
|
|
1985
|
-
export {
|
|
1986
|
-
ia as B,
|
|
1987
|
-
ea as C,
|
|
1988
|
-
Gs as H,
|
|
1989
|
-
ca as L,
|
|
1990
|
-
sa as M,
|
|
1991
|
-
Us as R,
|
|
1992
|
-
Ys as S,
|
|
1993
|
-
ta as Z,
|
|
1994
|
-
Xs as a,
|
|
1995
|
-
ys as b,
|
|
1996
|
-
Hs as c,
|
|
1997
|
-
Ks as d,
|
|
1998
|
-
Zs as e,
|
|
1999
|
-
Vs as f,
|
|
2000
|
-
Ws as g,
|
|
2001
|
-
Js as h,
|
|
2002
|
-
ra as i,
|
|
2003
|
-
na as j,
|
|
2004
|
-
aa as k,
|
|
2005
|
-
oa as l,
|
|
2006
|
-
la as m,
|
|
2007
|
-
Pt as u
|
|
2008
|
-
};
|
|
2009
|
-
//# sourceMappingURL=index-CN3TIw7H.js.map
|