zudoku 0.0.0-e614aaa → 0.0.0-e6d1d34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/app/entry.server.d.ts +8 -6
- package/dist/app/entry.server.js +12 -8
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/main.js +2 -0
- package/dist/app/main.js.map +1 -1
- package/dist/app/tailwind.js +14 -0
- package/dist/app/tailwind.js.map +1 -1
- package/dist/cli/build/handler.js +2 -1
- package/dist/cli/build/handler.js.map +1 -1
- package/dist/cli/cmds/dev.d.ts +1 -1
- package/dist/cli/cmds/dev.js.map +1 -1
- package/dist/cli/dev/handler.js +2 -1
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/cli/preview/handler.js +13 -15
- package/dist/cli/preview/handler.js.map +1 -1
- package/dist/config/common.d.ts +0 -1
- package/dist/config/config.d.ts +13 -8
- package/dist/config/loader.d.ts +2 -2
- package/dist/config/loader.js +14 -25
- package/dist/config/loader.js.map +1 -1
- package/dist/config/validators/common.d.ts +2773 -597
- package/dist/config/validators/common.js +81 -4
- package/dist/config/validators/common.js.map +1 -1
- package/dist/config/validators/validate.d.ts +1013 -257
- package/dist/lib/authentication/authentication.d.ts +1 -0
- package/dist/lib/authentication/hook.d.ts +1 -0
- package/dist/lib/authentication/hook.js +11 -1
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.d.ts +2 -2
- package/dist/lib/authentication/providers/clerk.js +19 -0
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +1 -0
- package/dist/lib/authentication/providers/openid.js +20 -8
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/providers/supabase.d.ts +4 -0
- package/dist/lib/authentication/providers/supabase.js +117 -0
- package/dist/lib/authentication/providers/supabase.js.map +1 -0
- package/dist/lib/authentication/state.d.ts +0 -26
- package/dist/lib/authentication/state.js +1 -16
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/AnchorLink.d.ts +2 -2
- package/dist/lib/components/AnchorLink.js +5 -4
- package/dist/lib/components/AnchorLink.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +2 -1
- package/dist/lib/components/Bootstrap.js +3 -2
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/Footer.d.ts +1 -0
- package/dist/lib/components/Footer.js +32 -0
- package/dist/lib/components/Footer.js.map +1 -0
- package/dist/lib/components/Header.js +4 -4
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +1 -1
- package/dist/lib/components/InlineCode.d.ts +2 -1
- package/dist/lib/components/InlineCode.js +2 -9
- package/dist/lib/components/InlineCode.js.map +1 -1
- package/dist/lib/components/Layout.js +8 -29
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Main.d.ts +2 -0
- package/dist/lib/components/Main.js +17 -0
- package/dist/lib/components/Main.js.map +1 -0
- package/dist/lib/components/MobileTopNavigation.js +6 -3
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/Pagination.d.ts +11 -0
- package/dist/lib/components/Pagination.js +10 -0
- package/dist/lib/components/Pagination.js.map +1 -0
- package/dist/lib/components/TopNavigation.d.ts +3 -2
- package/dist/lib/components/TopNavigation.js +26 -13
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.js +9 -3
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/cache.d.ts +7 -0
- package/dist/lib/components/cache.js +7 -0
- package/dist/lib/components/cache.js.map +1 -1
- package/dist/lib/components/context/BypassProtectedRoutesContext.d.ts +1 -0
- package/dist/lib/components/context/BypassProtectedRoutesContext.js +3 -0
- package/dist/lib/components/context/BypassProtectedRoutesContext.js.map +1 -0
- package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
- package/dist/lib/components/context/ViewportAnchorContext.js +5 -10
- package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +2 -2
- package/dist/lib/components/context/ZudokuContext.js +13 -7
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/index.d.ts +5 -2
- package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
- package/dist/lib/components/navigation/PoweredByZudoku.js +6 -0
- package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
- package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
- package/dist/lib/components/navigation/Sidebar.js +1 -12
- package/dist/lib/components/navigation/Sidebar.js.map +1 -1
- package/dist/lib/components/navigation/SidebarCategory.d.ts +2 -2
- package/dist/lib/components/navigation/SidebarCategory.js +10 -6
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
- package/dist/lib/components/navigation/SidebarItem.d.ts +1 -0
- package/dist/lib/components/navigation/SidebarItem.js +17 -11
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/components/navigation/SidebarWrapper.d.ts +7 -6
- package/dist/lib/components/navigation/SidebarWrapper.js +18 -3
- package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
- package/dist/lib/{plugins/markdown → components/navigation}/Toc.js +5 -7
- package/dist/lib/components/navigation/Toc.js.map +1 -0
- package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
- package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
- package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
- package/dist/lib/core/RouteGuard.d.ts +1 -0
- package/dist/lib/core/RouteGuard.js +10 -3
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +23 -7
- package/dist/lib/core/ZudokuContext.js +12 -5
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +9 -7
- package/dist/lib/errors/ErrorAlert.js +6 -1
- package/dist/lib/errors/ErrorAlert.js.map +1 -1
- package/dist/lib/hooks/useEvent.test.js +1 -1
- package/dist/lib/hooks/useEvent.test.js.map +1 -1
- package/dist/lib/oas/graphql/index.d.ts +17 -4
- package/dist/lib/oas/graphql/index.js +148 -38
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.js +2 -0
- package/dist/lib/oas/parser/dereference/index.js.map +1 -1
- package/dist/lib/oas/parser/index.d.ts +5 -3
- package/dist/lib/oas/parser/index.js +0 -22
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.js +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
- package/dist/lib/plugins/api-catalog/index.js +19 -17
- package/dist/lib/plugins/api-catalog/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +3 -9
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.d.ts +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +63 -19
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +6 -12
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
- package/dist/lib/plugins/openapi/ParamInfos.js +42 -0
- package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
- package/dist/lib/plugins/openapi/ParameterListItem.js +9 -4
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +3 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
- package/dist/lib/plugins/openapi/SchemaList.js +52 -0
- package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
- package/dist/lib/plugins/openapi/Sidecar.js +38 -9
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.js +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +6 -2
- package/dist/lib/plugins/openapi/client/useCreateQuery.js +6 -5
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
- package/dist/lib/plugins/openapi/components/EnumValues.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js +15 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.js +16 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.js.map +1 -0
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +9 -5
- package/dist/lib/plugins/openapi/graphql/gql.js +5 -4
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +108 -55
- package/dist/lib/plugins/openapi/graphql/graphql.js +59 -34
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +6 -11
- package/dist/lib/plugins/openapi/index.js +41 -60
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +36 -10
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +2 -2
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +1 -5
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js +14 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js +10 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +13 -2
- package/dist/lib/plugins/openapi/playground/Playground.js +81 -27
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +8 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +17 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +19 -13
- 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 +4 -3
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +1 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +2 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +2 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +2 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.d.ts +4 -0
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +12 -0
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +2 -4
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +18 -13
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +1 -2
- package/dist/lib/plugins/openapi/schema/SchemaView.js +33 -48
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.d.ts +1 -0
- package/dist/lib/plugins/openapi/schema/utils.js +3 -1
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/lib/plugins/openapi/state.d.ts +25 -0
- package/dist/lib/plugins/openapi/state.js +18 -0
- package/dist/lib/plugins/openapi/state.js.map +1 -0
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js +5 -7
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.js +9 -3
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +23 -10
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/ResultList.d.ts +1 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js +19 -17
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/get-results.d.ts +8 -1
- package/dist/lib/plugins/search-pagefind/get-results.js +9 -4
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
- package/dist/lib/ui/Badge.d.ts +1 -1
- package/dist/lib/ui/Button.d.ts +2 -2
- package/dist/lib/ui/Button.js +2 -1
- package/dist/lib/ui/Button.js.map +1 -1
- package/dist/lib/ui/Callout.d.ts +2 -1
- package/dist/lib/ui/Callout.js +3 -2
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/ui/Checkbox.d.ts +2 -8
- package/dist/lib/ui/Checkbox.js +1 -13
- package/dist/lib/ui/Checkbox.js.map +1 -1
- package/dist/lib/ui/Command.d.ts +1 -1
- package/dist/lib/ui/Select.js +1 -1
- package/dist/lib/ui/Select.js.map +1 -1
- package/dist/lib/ui/Stepper.d.ts +0 -1
- package/dist/lib/ui/Stepper.js +1 -1
- package/dist/lib/ui/Stepper.js.map +1 -1
- package/dist/lib/ui/SyntaxHighlight.d.ts +2 -1
- package/dist/lib/ui/SyntaxHighlight.js +21 -15
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
- package/dist/lib/util/MdxComponents.d.ts +3 -2
- package/dist/lib/util/MdxComponents.js +2 -2
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/joinPath.d.ts +3 -0
- package/dist/lib/util/joinPath.js +3 -0
- package/dist/lib/util/joinPath.js.map +1 -1
- package/dist/lib/util/traverse.d.ts +2 -8
- package/dist/lib/util/traverse.js +2 -2
- package/dist/lib/util/traverse.js.map +1 -1
- package/dist/lib/util/types.d.ts +7 -0
- package/dist/lib/util/types.js +2 -0
- package/dist/lib/util/types.js.map +1 -0
- package/dist/lib/util/useOnScreen.d.ts +3 -2
- package/dist/lib/util/useOnScreen.js +3 -3
- package/dist/lib/util/useOnScreen.js.map +1 -1
- package/dist/lib/util/useScrollToAnchor.js +20 -12
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/vite/api/schema-codegen.d.ts +1 -1
- package/dist/vite/api/schema-codegen.js +35 -12
- package/dist/vite/api/schema-codegen.js.map +1 -1
- package/dist/vite/api/schema-codegen.test.js +66 -0
- package/dist/vite/api/schema-codegen.test.js.map +1 -1
- package/dist/vite/build.js +1 -4
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.js +7 -9
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/create-pagefind-index.d.ts +4 -0
- package/dist/vite/create-pagefind-index.js +12 -0
- package/dist/vite/create-pagefind-index.js.map +1 -0
- package/dist/vite/dev-server.js +4 -4
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/plugin-api.js +36 -29
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-config-reload.js +3 -2
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-docs.d.ts +1 -1
- package/dist/vite/plugin-docs.js +18 -1
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/prerender/FileWritingResponse.d.ts +9 -5
- package/dist/vite/prerender/FileWritingResponse.js +5 -5
- package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
- package/dist/vite/prerender/InMemoryResponse.d.ts +16 -0
- package/dist/vite/prerender/InMemoryResponse.js +32 -0
- package/dist/vite/prerender/InMemoryResponse.js.map +1 -0
- package/dist/vite/prerender/PrerenderResponse.d.ts +10 -0
- package/dist/vite/prerender/PrerenderResponse.js +2 -0
- package/dist/vite/prerender/PrerenderResponse.js.map +1 -0
- package/dist/vite/prerender/prerender.d.ts +1 -0
- package/dist/vite/prerender/prerender.js +32 -8
- package/dist/vite/prerender/prerender.js.map +1 -1
- package/dist/vite/prerender/worker.js +41 -14
- package/dist/vite/prerender/worker.js.map +1 -1
- package/dist/zuplo/with-zuplo.js +4 -0
- package/dist/zuplo/with-zuplo.js.map +1 -1
- package/lib/{AuthenticationPlugin-CiO1FM6Q.js → AuthenticationPlugin-foqdvvkf.js} +3 -3
- package/lib/{AuthenticationPlugin-CiO1FM6Q.js.map → AuthenticationPlugin-foqdvvkf.js.map} +1 -1
- package/lib/Button-Fp19CMUr.js +49 -0
- package/lib/Button-Fp19CMUr.js.map +1 -0
- package/lib/Callout-B2vsR09t.js +229 -0
- package/lib/Callout-B2vsR09t.js.map +1 -0
- package/lib/{Dialog-DIKGQxQc.js → Dialog-sbgekbjb.js} +47 -32
- package/lib/{Dialog-DIKGQxQc.js.map → Dialog-sbgekbjb.js.map} +1 -1
- package/lib/Drawer-kDAfOq_2.js +1133 -0
- package/lib/Drawer-kDAfOq_2.js.map +1 -0
- package/lib/{Markdown-DePfm7oQ.js → Markdown-aF5FdsNi.js} +6268 -4572
- package/lib/Markdown-aF5FdsNi.js.map +1 -0
- package/lib/MdxPage-Vw_dc9Yz.js +85 -0
- package/lib/MdxPage-Vw_dc9Yz.js.map +1 -0
- package/lib/{OasProvider-BSuptFK-.js → OasProvider-C5paEivQ.js} +4 -4
- package/lib/{OasProvider-BSuptFK-.js.map → OasProvider-C5paEivQ.js.map} +1 -1
- package/lib/OperationList-Ds9Izgkn.js +5069 -0
- package/lib/OperationList-Ds9Izgkn.js.map +1 -0
- package/lib/Pagination-SdlocK96.js +48 -0
- package/lib/Pagination-SdlocK96.js.map +1 -0
- package/lib/{index.esm-CQHE3GEU.js → RouteGuard-CqZPoZYJ.js} +192 -139
- package/lib/RouteGuard-CqZPoZYJ.js.map +1 -0
- package/lib/SchemaList-NZbDXAV5.js +148 -0
- package/lib/SchemaList-NZbDXAV5.js.map +1 -0
- package/lib/SchemaView-B3fOPR4V.js +357 -0
- package/lib/SchemaView-B3fOPR4V.js.map +1 -0
- package/lib/{Select-Dqtcn53H.js → Select-DVFRKf1R.js} +9 -9
- package/lib/{Select-Dqtcn53H.js.map → Select-DVFRKf1R.js.map} +1 -1
- package/lib/SlotletProvider-DXvc0aY6.js +338 -0
- package/lib/SlotletProvider-DXvc0aY6.js.map +1 -0
- package/lib/Spinner-CE68iCm0.js +7 -0
- package/lib/Spinner-CE68iCm0.js.map +1 -0
- package/lib/SyntaxHighlight-BEoSoPEo.js +2890 -0
- package/lib/SyntaxHighlight-BEoSoPEo.js.map +1 -0
- package/lib/Toc-YBsgI72s.js +92 -0
- package/lib/Toc-YBsgI72s.js.map +1 -0
- package/lib/{chunk-IR6S3I6Y-D_3UmFIn.js → chunk-HA7DTUK3-C4gP41vD.js} +278 -278
- package/lib/chunk-HA7DTUK3-C4gP41vD.js.map +1 -0
- package/lib/{circular-v7K6lDDh.js → circular-ByJI6Mci.js} +4887 -4419
- package/lib/circular-ByJI6Mci.js.map +1 -0
- package/lib/{createServer-DmusVVsi.js → createServer-mYvGvmc0.js} +4150 -4424
- package/lib/createServer-mYvGvmc0.js.map +1 -0
- package/lib/{hook-CN__aZIt.js → hook-CqpVYDqN.js} +398 -379
- package/lib/hook-CqpVYDqN.js.map +1 -0
- package/lib/index-D48iOQvJ.js +1973 -0
- package/lib/index-D48iOQvJ.js.map +1 -0
- package/lib/index-PGJOZ6R-.js +2227 -0
- package/lib/index-PGJOZ6R-.js.map +1 -0
- package/lib/{mutation-EclmI0is.js → mutation-8LjrN7uz.js} +2 -2
- package/lib/{mutation-EclmI0is.js.map → mutation-8LjrN7uz.js.map} +1 -1
- package/lib/post-processors/traverse.js +2 -2
- package/lib/post-processors/traverse.js.map +1 -1
- package/lib/prism-bash.min-HHIMdNJ_.js.map +1 -1
- package/lib/prism-csharp.min-bQAo2pmx.js.map +1 -1
- package/lib/prism-java.min-BpvsOuIa.js.map +1 -1
- package/lib/prism-javascript.min-CEqHqgbm.js.map +1 -1
- package/lib/prism-json.min-B1GJqK1k.js.map +1 -1
- package/lib/prism-jsstacktrace.min-BfobCF2F.js +2 -0
- package/lib/prism-jsstacktrace.min-BfobCF2F.js.map +1 -0
- package/lib/prism-markdown.min-C0Qn0m-5.js.map +1 -1
- package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
- package/lib/prism-objectivec.min-BXSWqpJJ.js.map +1 -1
- package/lib/prism-ruby.min-Dx9KO9ds.js.map +1 -1
- package/lib/prism-typescript.min-CD7H2IYQ.js.map +1 -1
- package/lib/ui/ActionButton.js +11 -10
- package/lib/ui/ActionButton.js.map +1 -1
- package/lib/ui/Button.js +13 -12
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/Callout.js +39 -21
- package/lib/ui/Callout.js.map +1 -1
- package/lib/ui/Checkbox.js +15 -25
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/Command.js +1 -1
- package/lib/ui/Drawer.js +14 -1129
- package/lib/ui/Drawer.js.map +1 -1
- package/lib/ui/Select.js +1 -1
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/Stepper.js.map +1 -1
- package/lib/ui/SyntaxHighlight.js +8 -2902
- package/lib/ui/SyntaxHighlight.js.map +1 -1
- package/lib/{useExposedProps-RIvey2Oy.js → useExposedProps-B9qXJedG.js} +2 -2
- package/lib/{useExposedProps-RIvey2Oy.js.map → useExposedProps-B9qXJedG.js.map} +1 -1
- package/lib/useLatest-hmRS46UF.js +11 -0
- package/lib/useLatest-hmRS46UF.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +1 -1
- package/lib/zudoku.auth-clerk.js +59 -41
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +341 -337
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +32 -1395
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +1 -1
- package/lib/zudoku.plugin-api-catalog.js +94 -98
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +4 -4
- package/lib/zudoku.plugin-custom-pages.js +2 -2
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +5 -7
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +233 -0
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
- package/lib/zudoku.plugins.js.map +1 -1
- package/package.json +32 -24
- package/src/app/entry.server.tsx +23 -13
- package/src/app/main.css +98 -57
- package/src/app/main.tsx +2 -0
- package/src/app/tailwind.ts +14 -0
- package/src/lib/authentication/authentication.ts +2 -0
- package/src/lib/authentication/hook.ts +12 -1
- package/src/lib/authentication/providers/clerk.tsx +22 -2
- package/src/lib/authentication/providers/openid.tsx +23 -10
- package/src/lib/authentication/providers/supabase.tsx +157 -0
- package/src/lib/authentication/state.ts +1 -35
- package/src/lib/components/AnchorLink.tsx +9 -7
- package/src/lib/components/Bootstrap.tsx +13 -6
- package/src/lib/components/Footer.tsx +136 -0
- package/src/lib/components/Header.tsx +11 -7
- package/src/lib/components/InlineCode.tsx +13 -16
- package/src/lib/components/Layout.tsx +22 -68
- package/src/lib/components/Main.tsx +50 -0
- package/src/lib/components/MobileTopNavigation.tsx +27 -18
- package/src/lib/components/Pagination.tsx +50 -0
- package/src/lib/components/TopNavigation.tsx +40 -17
- package/src/lib/components/Zudoku.tsx +12 -3
- package/src/lib/components/cache.ts +8 -0
- package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
- package/src/lib/components/context/ViewportAnchorContext.tsx +6 -15
- package/src/lib/components/context/ZudokuContext.ts +17 -8
- package/src/lib/components/navigation/PoweredByZudoku.tsx +23 -0
- package/src/lib/components/navigation/Sidebar.tsx +30 -44
- package/src/lib/components/navigation/SidebarCategory.tsx +15 -12
- package/src/lib/components/navigation/SidebarItem.tsx +21 -29
- package/src/lib/components/navigation/SidebarWrapper.tsx +42 -23
- package/src/lib/{plugins/markdown → components/navigation}/Toc.tsx +5 -14
- package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
- package/src/lib/core/RouteGuard.tsx +27 -4
- package/src/lib/core/ZudokuContext.ts +35 -15
- package/src/lib/core/plugins.ts +8 -8
- package/src/lib/errors/ErrorAlert.tsx +24 -17
- package/src/lib/hooks/useEvent.test.tsx +1 -1
- package/src/lib/oas/graphql/index.ts +202 -54
- package/src/lib/oas/parser/dereference/index.ts +2 -0
- package/src/lib/oas/parser/index.ts +7 -29
- package/src/lib/plugins/api-catalog/Catalog.tsx +1 -4
- package/src/lib/plugins/api-catalog/index.tsx +40 -35
- package/src/lib/plugins/markdown/MdxPage.tsx +11 -47
- package/src/lib/plugins/openapi/ColorizedParam.tsx +1 -1
- package/src/lib/plugins/openapi/Endpoint.tsx +1 -1
- package/src/lib/plugins/openapi/OperationList.tsx +162 -84
- package/src/lib/plugins/openapi/OperationListItem.tsx +116 -110
- package/src/lib/plugins/openapi/ParamInfos.tsx +87 -0
- package/src/lib/plugins/openapi/ParameterListItem.tsx +35 -23
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +7 -0
- package/src/lib/plugins/openapi/SchemaList.tsx +151 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +47 -11
- package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
- package/src/lib/plugins/openapi/client/GraphQLClient.tsx +1 -1
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +13 -5
- package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
- package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
- package/src/lib/plugins/openapi/graphql/gql.ts +29 -20
- package/src/lib/plugins/openapi/graphql/graphql.ts +172 -86
- package/src/lib/plugins/openapi/index.tsx +55 -87
- package/src/lib/plugins/openapi/interfaces.ts +44 -15
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +30 -32
- package/src/lib/plugins/openapi/playground/Headers.tsx +0 -1
- package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +74 -0
- package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +54 -0
- package/src/lib/plugins/openapi/playground/Playground.tsx +175 -88
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +0 -1
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
- package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +24 -4
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +67 -45
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +1 -8
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +3 -0
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +6 -3
- package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +36 -0
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +47 -50
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +84 -138
- package/src/lib/plugins/openapi/schema/utils.ts +7 -1
- package/src/lib/plugins/openapi/state.ts +36 -0
- package/src/lib/plugins/openapi/util/createSidebarCategory.tsx +5 -7
- package/src/lib/plugins/openapi/util/getRoutes.tsx +9 -6
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +39 -14
- package/src/lib/plugins/search-pagefind/ResultList.tsx +60 -53
- package/src/lib/plugins/search-pagefind/get-results.tsx +31 -10
- package/src/lib/ui/Button.tsx +4 -2
- package/src/lib/ui/Callout.tsx +28 -10
- package/src/lib/ui/Checkbox.tsx +8 -24
- package/src/lib/ui/Select.tsx +1 -1
- package/src/lib/ui/Stepper.tsx +1 -1
- package/src/lib/ui/SyntaxHighlight.tsx +96 -96
- package/src/lib/util/MdxComponents.tsx +2 -2
- package/src/lib/util/joinPath.tsx +3 -0
- package/src/lib/util/traverse.ts +4 -8
- package/src/lib/util/types.ts +7 -0
- package/src/lib/util/useOnScreen.ts +6 -4
- package/src/lib/util/useScrollToAnchor.ts +22 -12
- package/dist/lib/components/context/PluginSystem.d.ts +0 -1
- package/dist/lib/components/context/PluginSystem.js +0 -2
- package/dist/lib/components/context/PluginSystem.js.map +0 -1
- package/dist/lib/plugins/markdown/Toc.js.map +0 -1
- package/dist/vite/pagefind.d.ts +0 -4
- package/dist/vite/pagefind.js +0 -15
- package/dist/vite/pagefind.js.map +0 -1
- package/lib/Markdown-DePfm7oQ.js.map +0 -1
- package/lib/MdxPage-BN6l6zXL.js +0 -201
- package/lib/MdxPage-BN6l6zXL.js.map +0 -1
- package/lib/OperationList-DOcfDmJP.js +0 -5217
- package/lib/OperationList-DOcfDmJP.js.map +0 -1
- package/lib/SlotletProvider-DdtIOUi6.js +0 -221
- package/lib/SlotletProvider-DdtIOUi6.js.map +0 -1
- package/lib/Spinner-1KrEmx1V.js +0 -51
- package/lib/Spinner-1KrEmx1V.js.map +0 -1
- package/lib/chunk-IR6S3I6Y-D_3UmFIn.js.map +0 -1
- package/lib/circular-v7K6lDDh.js.map +0 -1
- package/lib/createServer-DmusVVsi.js.map +0 -1
- package/lib/hook-CN__aZIt.js.map +0 -1
- package/lib/index-BTbP6Lgf.js +0 -2103
- package/lib/index-BTbP6Lgf.js.map +0 -1
- package/lib/index.esm-CQHE3GEU.js.map +0 -1
- package/lib/joinUrl-10po2Jdj.js +0 -20
- package/lib/joinUrl-10po2Jdj.js.map +0 -1
- package/lib/useScrollToAnchor-RyqO3lj4.js +0 -290
- package/lib/useScrollToAnchor-RyqO3lj4.js.map +0 -1
- package/lib/zudoku.css +0 -1
- package/src/lib/components/context/PluginSystem.ts +0 -0
- package/src/lib/ui/Stepper.css +0 -43
- /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
var ie = Object.defineProperty;
|
|
2
|
+
var oe = (e, t, r) => t in e ? ie(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var T = (e, t, r) => oe(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
+
import { j as y } from "./jsx-runtime-CYK1ROHF.js";
|
|
5
|
+
import { l as le, e as ce, m as ue } from "./hook-CqpVYDqN.js";
|
|
6
|
+
import g, { Component as F, createContext as fe, use as pe } from "react";
|
|
7
|
+
import { g as U } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
8
|
+
import { a as de, u as me, m as he, O as ye } from "./chunk-HA7DTUK3-C4gP41vD.js";
|
|
9
|
+
import { D as Te, a as ge, c as ve, b as Ae, d as Ee } from "./Dialog-sbgekbjb.js";
|
|
10
|
+
import { Z as be } from "./invariant-Caa8-XvF.js";
|
|
11
|
+
import { u as Ce } from "./useLatest-hmRS46UF.js";
|
|
12
|
+
var D, B;
|
|
13
|
+
function Oe() {
|
|
14
|
+
if (B) return D;
|
|
15
|
+
B = 1;
|
|
10
16
|
var e = typeof Element < "u", t = typeof Map == "function", r = typeof Set == "function", n = typeof ArrayBuffer == "function" && !!ArrayBuffer.isView;
|
|
11
17
|
function o(s, i) {
|
|
12
18
|
if (s === i) return !0;
|
|
@@ -54,7 +60,7 @@ function oe() {
|
|
|
54
60
|
}
|
|
55
61
|
return s !== s && i !== i;
|
|
56
62
|
}
|
|
57
|
-
return
|
|
63
|
+
return D = function(i, l) {
|
|
58
64
|
try {
|
|
59
65
|
return o(i, l);
|
|
60
66
|
} catch (a) {
|
|
@@ -62,13 +68,13 @@ function oe() {
|
|
|
62
68
|
return console.warn("react-fast-compare cannot handle circular refs"), !1;
|
|
63
69
|
throw a;
|
|
64
70
|
}
|
|
65
|
-
},
|
|
71
|
+
}, D;
|
|
66
72
|
}
|
|
67
|
-
var
|
|
68
|
-
const
|
|
69
|
-
var
|
|
70
|
-
function
|
|
71
|
-
if (V) return
|
|
73
|
+
var we = Oe();
|
|
74
|
+
const Se = /* @__PURE__ */ U(we);
|
|
75
|
+
var I, V;
|
|
76
|
+
function xe() {
|
|
77
|
+
if (V) return I;
|
|
72
78
|
V = 1;
|
|
73
79
|
var e = function(t, r, n, o, s, i, l, a) {
|
|
74
80
|
if (process.env.NODE_ENV !== "production" && r === void 0)
|
|
@@ -90,13 +96,13 @@ function ue() {
|
|
|
90
96
|
throw c.framesToPop = 1, c;
|
|
91
97
|
}
|
|
92
98
|
};
|
|
93
|
-
return
|
|
99
|
+
return I = e, I;
|
|
94
100
|
}
|
|
95
|
-
var
|
|
96
|
-
const
|
|
97
|
-
var
|
|
98
|
-
function
|
|
99
|
-
return Y || (Y = 1,
|
|
101
|
+
var Pe = xe();
|
|
102
|
+
const Z = /* @__PURE__ */ U(Pe);
|
|
103
|
+
var R, Y;
|
|
104
|
+
function De() {
|
|
105
|
+
return Y || (Y = 1, R = function(t, r, n, o) {
|
|
100
106
|
var s = n ? n.call(o, t, r) : void 0;
|
|
101
107
|
if (s !== void 0)
|
|
102
108
|
return !!s;
|
|
@@ -116,11 +122,11 @@ function pe() {
|
|
|
116
122
|
return !1;
|
|
117
123
|
}
|
|
118
124
|
return !0;
|
|
119
|
-
}),
|
|
125
|
+
}), R;
|
|
120
126
|
}
|
|
121
|
-
var
|
|
122
|
-
const
|
|
123
|
-
var
|
|
127
|
+
var Ie = De();
|
|
128
|
+
const Re = /* @__PURE__ */ U(Ie);
|
|
129
|
+
var X = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "head", e.HTML = "html", e.LINK = "link", e.META = "meta", e.NOSCRIPT = "noscript", e.SCRIPT = "script", e.STYLE = "style", e.TITLE = "title", e.FRAGMENT = "Symbol(react.fragment)", e))(X || {}), $ = {
|
|
124
130
|
link: { rel: ["amphtml", "canonical", "alternate"] },
|
|
125
131
|
script: { type: ["application/ld+json"] },
|
|
126
132
|
meta: {
|
|
@@ -142,7 +148,7 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
142
148
|
"twitter:site"
|
|
143
149
|
]
|
|
144
150
|
}
|
|
145
|
-
},
|
|
151
|
+
}, G = Object.values(X), K = {
|
|
146
152
|
accesskey: "accessKey",
|
|
147
153
|
charset: "charSet",
|
|
148
154
|
class: "className",
|
|
@@ -151,36 +157,36 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
151
157
|
"http-equiv": "httpEquiv",
|
|
152
158
|
itemprop: "itemProp",
|
|
153
159
|
tabindex: "tabIndex"
|
|
154
|
-
},
|
|
160
|
+
}, $e = Object.entries(K).reduce(
|
|
155
161
|
(e, [t, r]) => (e[r] = t, e),
|
|
156
162
|
{}
|
|
157
|
-
), h = "data-rh",
|
|
163
|
+
), h = "data-rh", b = {
|
|
158
164
|
DEFAULT_TITLE: "defaultTitle",
|
|
159
165
|
DEFER: "defer",
|
|
160
166
|
ENCODE_SPECIAL_CHARACTERS: "encodeSpecialCharacters",
|
|
161
167
|
ON_CHANGE_CLIENT_STATE: "onChangeClientState",
|
|
162
168
|
TITLE_TEMPLATE: "titleTemplate",
|
|
163
169
|
PRIORITIZE_SEO_TAGS: "prioritizeSeoTags"
|
|
164
|
-
},
|
|
170
|
+
}, C = (e, t) => {
|
|
165
171
|
for (let r = e.length - 1; r >= 0; r -= 1) {
|
|
166
172
|
const n = e[r];
|
|
167
173
|
if (Object.prototype.hasOwnProperty.call(n, t))
|
|
168
174
|
return n[t];
|
|
169
175
|
}
|
|
170
176
|
return null;
|
|
171
|
-
},
|
|
172
|
-
let t =
|
|
177
|
+
}, He = (e) => {
|
|
178
|
+
let t = C(
|
|
173
179
|
e,
|
|
174
180
|
"title"
|
|
175
181
|
/* TITLE */
|
|
176
182
|
);
|
|
177
|
-
const r =
|
|
183
|
+
const r = C(e, b.TITLE_TEMPLATE);
|
|
178
184
|
if (Array.isArray(t) && (t = t.join("")), r && t)
|
|
179
185
|
return r.replace(/%s/g, () => t);
|
|
180
|
-
const n =
|
|
186
|
+
const n = C(e, b.DEFAULT_TITLE);
|
|
181
187
|
return t || n || void 0;
|
|
182
|
-
},
|
|
183
|
-
}),
|
|
188
|
+
}, _e = (e) => C(e, b.ON_CHANGE_CLIENT_STATE) || (() => {
|
|
189
|
+
}), H = (e, t) => t.filter((r) => typeof r[e] < "u").map((r) => r[e]).reduce((r, n) => ({ ...r, ...n }), {}), je = (e, t) => t.filter((r) => typeof r.base < "u").map((r) => r.base).reverse().reduce((r, n) => {
|
|
184
190
|
if (!r.length) {
|
|
185
191
|
const o = Object.keys(n);
|
|
186
192
|
for (let s = 0; s < o.length; s += 1) {
|
|
@@ -190,9 +196,9 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
190
196
|
}
|
|
191
197
|
}
|
|
192
198
|
return r;
|
|
193
|
-
}, []),
|
|
199
|
+
}, []), ke = (e) => console && typeof console.warn == "function" && console.warn(e), O = (e, t, r) => {
|
|
194
200
|
const n = {};
|
|
195
|
-
return r.filter((o) => Array.isArray(o[e]) ? !0 : (typeof o[e] < "u" &&
|
|
201
|
+
return r.filter((o) => Array.isArray(o[e]) ? !0 : (typeof o[e] < "u" && ke(
|
|
196
202
|
`Helmet: ${e} should be of type "Array". Instead found type "${typeof o[e]}"`
|
|
197
203
|
), !1)).map((o) => o[e]).reverse().reduce((o, s) => {
|
|
198
204
|
const i = {};
|
|
@@ -200,8 +206,8 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
200
206
|
let c;
|
|
201
207
|
const u = Object.keys(a);
|
|
202
208
|
for (let m = 0; m < u.length; m += 1) {
|
|
203
|
-
const p = u[m],
|
|
204
|
-
t.indexOf(
|
|
209
|
+
const p = u[m], v = p.toLowerCase();
|
|
210
|
+
t.indexOf(v) !== -1 && !(c === "rel" && a[c].toLowerCase() === "canonical") && !(v === "rel" && a[v].toLowerCase() === "stylesheet") && (c = v), t.indexOf(p) !== -1 && (p === "innerHTML" || p === "cssText" || p === "itemprop") && (c = p);
|
|
205
211
|
}
|
|
206
212
|
if (!c || !a[c])
|
|
207
213
|
return !1;
|
|
@@ -218,22 +224,22 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
218
224
|
}
|
|
219
225
|
return o;
|
|
220
226
|
}, []).reverse();
|
|
221
|
-
},
|
|
227
|
+
}, Me = (e, t) => {
|
|
222
228
|
if (Array.isArray(e) && e.length) {
|
|
223
229
|
for (let r = 0; r < e.length; r += 1)
|
|
224
230
|
if (e[r][t])
|
|
225
231
|
return !0;
|
|
226
232
|
}
|
|
227
233
|
return !1;
|
|
228
|
-
},
|
|
229
|
-
baseTag:
|
|
234
|
+
}, Le = (e) => ({
|
|
235
|
+
baseTag: je([
|
|
230
236
|
"href"
|
|
231
237
|
/* HREF */
|
|
232
238
|
], e),
|
|
233
|
-
bodyAttributes:
|
|
234
|
-
defer:
|
|
235
|
-
encode:
|
|
236
|
-
htmlAttributes:
|
|
239
|
+
bodyAttributes: H("bodyAttributes", e),
|
|
240
|
+
defer: C(e, b.DEFER),
|
|
241
|
+
encode: C(e, b.ENCODE_SPECIAL_CHARACTERS),
|
|
242
|
+
htmlAttributes: H("htmlAttributes", e),
|
|
237
243
|
linkTags: O(
|
|
238
244
|
"link",
|
|
239
245
|
[
|
|
@@ -259,7 +265,7 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
259
265
|
"innerHTML"
|
|
260
266
|
/* INNER_HTML */
|
|
261
267
|
], e),
|
|
262
|
-
onChangeClientState:
|
|
268
|
+
onChangeClientState: _e(e),
|
|
263
269
|
scriptTags: O(
|
|
264
270
|
"script",
|
|
265
271
|
[
|
|
@@ -273,95 +279,95 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
273
279
|
"cssText"
|
|
274
280
|
/* CSS_TEXT */
|
|
275
281
|
], e),
|
|
276
|
-
title:
|
|
277
|
-
titleAttributes:
|
|
278
|
-
prioritizeSeoTags:
|
|
279
|
-
}),
|
|
282
|
+
title: He(e),
|
|
283
|
+
titleAttributes: H("titleAttributes", e),
|
|
284
|
+
prioritizeSeoTags: Me(e, b.PRIORITIZE_SEO_TAGS)
|
|
285
|
+
}), ee = (e) => Array.isArray(e) ? e.join("") : e, qe = (e, t) => {
|
|
280
286
|
const r = Object.keys(e);
|
|
281
287
|
for (let n = 0; n < r.length; n += 1)
|
|
282
288
|
if (t[r[n]] && t[r[n]].includes(e[r[n]]))
|
|
283
289
|
return !0;
|
|
284
290
|
return !1;
|
|
285
|
-
},
|
|
286
|
-
(r, n) => (
|
|
291
|
+
}, _ = (e, t) => Array.isArray(e) ? e.reduce(
|
|
292
|
+
(r, n) => (qe(n, t) ? r.priority.push(n) : r.default.push(n), r),
|
|
287
293
|
{ priority: [], default: [] }
|
|
288
|
-
) : { default: e, priority: [] },
|
|
294
|
+
) : { default: e, priority: [] }, Q = (e, t) => ({
|
|
289
295
|
...e,
|
|
290
296
|
[t]: void 0
|
|
291
|
-
}),
|
|
297
|
+
}), Fe = [
|
|
292
298
|
"noscript",
|
|
293
299
|
"script",
|
|
294
300
|
"style"
|
|
295
301
|
/* STYLE */
|
|
296
|
-
],
|
|
302
|
+
], k = (e, t = !0) => t === !1 ? String(e) : String(e).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"), te = (e) => Object.keys(e).reduce((t, r) => {
|
|
297
303
|
const n = typeof e[r] < "u" ? `${r}="${e[r]}"` : `${r}`;
|
|
298
304
|
return t ? `${t} ${n}` : n;
|
|
299
|
-
}, ""),
|
|
300
|
-
const o =
|
|
301
|
-
return o ? `<${e} ${h}="true" ${o}>${
|
|
305
|
+
}, ""), Ue = (e, t, r, n) => {
|
|
306
|
+
const o = te(r), s = ee(t);
|
|
307
|
+
return o ? `<${e} ${h}="true" ${o}>${k(
|
|
302
308
|
s,
|
|
303
309
|
n
|
|
304
|
-
)}</${e}>` : `<${e} ${h}="true">${
|
|
310
|
+
)}</${e}>` : `<${e} ${h}="true">${k(
|
|
305
311
|
s,
|
|
306
312
|
n
|
|
307
313
|
)}</${e}>`;
|
|
308
|
-
},
|
|
314
|
+
}, Ke = (e, t, r = !0) => t.reduce((n, o) => {
|
|
309
315
|
const s = o, i = Object.keys(s).filter(
|
|
310
316
|
(c) => !(c === "innerHTML" || c === "cssText")
|
|
311
317
|
).reduce((c, u) => {
|
|
312
|
-
const f = typeof s[u] > "u" ? u : `${u}="${
|
|
318
|
+
const f = typeof s[u] > "u" ? u : `${u}="${k(s[u], r)}"`;
|
|
313
319
|
return c ? `${c} ${f}` : f;
|
|
314
|
-
}, ""), l = s.innerHTML || s.cssText || "", a =
|
|
320
|
+
}, ""), l = s.innerHTML || s.cssText || "", a = Fe.indexOf(e) === -1;
|
|
315
321
|
return `${n}<${e} ${h}="true" ${i}${a ? "/>" : `>${l}</${e}>`}`;
|
|
316
|
-
}, ""),
|
|
317
|
-
const o =
|
|
322
|
+
}, ""), re = (e, t = {}) => Object.keys(e).reduce((r, n) => {
|
|
323
|
+
const o = K[n];
|
|
318
324
|
return r[o || n] = e[n], r;
|
|
319
|
-
}, t),
|
|
325
|
+
}, t), ze = (e, t, r) => {
|
|
320
326
|
const n = {
|
|
321
327
|
key: t,
|
|
322
328
|
[h]: !0
|
|
323
|
-
}, o =
|
|
324
|
-
return [
|
|
325
|
-
},
|
|
329
|
+
}, o = re(r, n);
|
|
330
|
+
return [g.createElement("title", o, t)];
|
|
331
|
+
}, P = (e, t) => t.map((r, n) => {
|
|
326
332
|
const o = {
|
|
327
333
|
key: n,
|
|
328
334
|
[h]: !0
|
|
329
335
|
};
|
|
330
336
|
return Object.keys(r).forEach((s) => {
|
|
331
|
-
const l =
|
|
337
|
+
const l = K[s] || s;
|
|
332
338
|
if (l === "innerHTML" || l === "cssText") {
|
|
333
339
|
const a = r.innerHTML || r.cssText;
|
|
334
340
|
o.dangerouslySetInnerHTML = { __html: a };
|
|
335
341
|
} else
|
|
336
342
|
o[l] = r[s];
|
|
337
|
-
}),
|
|
343
|
+
}), g.createElement(e, o);
|
|
338
344
|
}), d = (e, t, r = !0) => {
|
|
339
345
|
switch (e) {
|
|
340
346
|
case "title":
|
|
341
347
|
return {
|
|
342
|
-
toComponent: () =>
|
|
343
|
-
toString: () =>
|
|
348
|
+
toComponent: () => ze(e, t.title, t.titleAttributes),
|
|
349
|
+
toString: () => Ue(e, t.title, t.titleAttributes, r)
|
|
344
350
|
};
|
|
345
351
|
case "bodyAttributes":
|
|
346
352
|
case "htmlAttributes":
|
|
347
353
|
return {
|
|
348
|
-
toComponent: () =>
|
|
349
|
-
toString: () =>
|
|
354
|
+
toComponent: () => re(t),
|
|
355
|
+
toString: () => te(t)
|
|
350
356
|
};
|
|
351
357
|
default:
|
|
352
358
|
return {
|
|
353
|
-
toComponent: () =>
|
|
354
|
-
toString: () =>
|
|
359
|
+
toComponent: () => P(e, t),
|
|
360
|
+
toString: () => Ke(e, t, r)
|
|
355
361
|
};
|
|
356
362
|
}
|
|
357
|
-
},
|
|
358
|
-
const o =
|
|
363
|
+
}, Ne = ({ metaTags: e, linkTags: t, scriptTags: r, encode: n }) => {
|
|
364
|
+
const o = _(e, $.meta), s = _(t, $.link), i = _(r, $.script);
|
|
359
365
|
return {
|
|
360
366
|
priorityMethods: {
|
|
361
367
|
toComponent: () => [
|
|
362
|
-
...
|
|
363
|
-
...
|
|
364
|
-
...
|
|
368
|
+
...P("meta", o.priority),
|
|
369
|
+
...P("link", s.priority),
|
|
370
|
+
...P("script", i.priority)
|
|
365
371
|
],
|
|
366
372
|
toString: () => (
|
|
367
373
|
// generate all the tags as strings and concatenate them
|
|
@@ -376,7 +382,7 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
376
382
|
linkTags: s.default,
|
|
377
383
|
scriptTags: i.default
|
|
378
384
|
};
|
|
379
|
-
},
|
|
385
|
+
}, Be = (e) => {
|
|
380
386
|
const {
|
|
381
387
|
baseTag: t,
|
|
382
388
|
bodyAttributes: r,
|
|
@@ -393,7 +399,7 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
393
399
|
},
|
|
394
400
|
toString: () => ""
|
|
395
401
|
};
|
|
396
|
-
return c && ({ priorityMethods: p, linkTags: u, metaTags: f, scriptTags: m } =
|
|
402
|
+
return c && ({ priorityMethods: p, linkTags: u, metaTags: f, scriptTags: m } = Ne(e)), {
|
|
397
403
|
priority: p,
|
|
398
404
|
base: d("base", t, n),
|
|
399
405
|
bodyAttributes: d("bodyAttributes", r, n),
|
|
@@ -405,27 +411,27 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
405
411
|
style: d("style", i, n),
|
|
406
412
|
title: d("title", { title: l, titleAttributes: a }, n)
|
|
407
413
|
};
|
|
408
|
-
},
|
|
414
|
+
}, M = Be, x = [], ne = !!(typeof window < "u" && window.document && window.document.createElement), L = class {
|
|
409
415
|
constructor(e, t) {
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
416
|
+
T(this, "instances", []);
|
|
417
|
+
T(this, "canUseDOM", ne);
|
|
418
|
+
T(this, "context");
|
|
419
|
+
T(this, "value", {
|
|
414
420
|
setHelmet: (e) => {
|
|
415
421
|
this.context.helmet = e;
|
|
416
422
|
},
|
|
417
423
|
helmetInstances: {
|
|
418
|
-
get: () => this.canUseDOM ?
|
|
424
|
+
get: () => this.canUseDOM ? x : this.instances,
|
|
419
425
|
add: (e) => {
|
|
420
|
-
(this.canUseDOM ?
|
|
426
|
+
(this.canUseDOM ? x : this.instances).push(e);
|
|
421
427
|
},
|
|
422
428
|
remove: (e) => {
|
|
423
|
-
const t = (this.canUseDOM ?
|
|
424
|
-
(this.canUseDOM ?
|
|
429
|
+
const t = (this.canUseDOM ? x : this.instances).indexOf(e);
|
|
430
|
+
(this.canUseDOM ? x : this.instances).splice(t, 1);
|
|
425
431
|
}
|
|
426
432
|
}
|
|
427
433
|
});
|
|
428
|
-
this.context = e, this.canUseDOM = t || !1, t || (e.helmet =
|
|
434
|
+
this.context = e, this.canUseDOM = t || !1, t || (e.helmet = M({
|
|
429
435
|
baseTag: [],
|
|
430
436
|
bodyAttributes: {},
|
|
431
437
|
htmlAttributes: {},
|
|
@@ -438,16 +444,16 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
438
444
|
titleAttributes: {}
|
|
439
445
|
}));
|
|
440
446
|
}
|
|
441
|
-
},
|
|
447
|
+
}, Ve = {}, se = g.createContext(Ve), A, Ze = (A = class extends F {
|
|
442
448
|
constructor(r) {
|
|
443
449
|
super(r);
|
|
444
|
-
|
|
445
|
-
this.helmetData = new
|
|
450
|
+
T(this, "helmetData");
|
|
451
|
+
this.helmetData = new L(this.props.context || {}, A.canUseDOM);
|
|
446
452
|
}
|
|
447
453
|
render() {
|
|
448
|
-
return /* @__PURE__ */
|
|
454
|
+
return /* @__PURE__ */ g.createElement(se.Provider, { value: this.helmetData.value }, this.props.children);
|
|
449
455
|
}
|
|
450
|
-
},
|
|
456
|
+
}, T(A, "canUseDOM", ne), A), E = (e, t) => {
|
|
451
457
|
const r = document.head || document.querySelector(
|
|
452
458
|
"head"
|
|
453
459
|
/* HEAD */
|
|
@@ -487,8 +493,8 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
487
493
|
for (let l = s.length - 1; l >= 0; l -= 1)
|
|
488
494
|
r.removeAttribute(s[l]);
|
|
489
495
|
o.length === s.length ? r.removeAttribute(h) : r.getAttribute(h) !== i.join(",") && r.setAttribute(h, i.join(","));
|
|
490
|
-
},
|
|
491
|
-
typeof e < "u" && document.title !== e && (document.title =
|
|
496
|
+
}, Ye = (e, t) => {
|
|
497
|
+
typeof e < "u" && document.title !== e && (document.title = ee(e)), q("title", t);
|
|
492
498
|
}, W = (e, t) => {
|
|
493
499
|
const {
|
|
494
500
|
baseTag: r,
|
|
@@ -503,32 +509,32 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
503
509
|
title: f,
|
|
504
510
|
titleAttributes: m
|
|
505
511
|
} = e;
|
|
506
|
-
q("body", n), q("html", o),
|
|
512
|
+
q("body", n), q("html", o), Ye(f, m);
|
|
507
513
|
const p = {
|
|
508
|
-
baseTag:
|
|
509
|
-
linkTags:
|
|
510
|
-
metaTags:
|
|
511
|
-
noscriptTags:
|
|
512
|
-
scriptTags:
|
|
513
|
-
styleTags:
|
|
514
|
-
},
|
|
515
|
-
Object.keys(p).forEach((
|
|
516
|
-
const { newTags:
|
|
517
|
-
|
|
518
|
-
}), t && t(), a(e,
|
|
519
|
-
},
|
|
520
|
-
|
|
514
|
+
baseTag: E("base", r),
|
|
515
|
+
linkTags: E("link", s),
|
|
516
|
+
metaTags: E("meta", i),
|
|
517
|
+
noscriptTags: E("noscript", l),
|
|
518
|
+
scriptTags: E("script", c),
|
|
519
|
+
styleTags: E("style", u)
|
|
520
|
+
}, v = {}, z = {};
|
|
521
|
+
Object.keys(p).forEach((S) => {
|
|
522
|
+
const { newTags: N, oldTags: ae } = p[S];
|
|
523
|
+
N.length && (v[S] = N), ae.length && (z[S] = p[S].oldTags);
|
|
524
|
+
}), t && t(), a(e, v, z);
|
|
525
|
+
}, w = null, Ge = (e) => {
|
|
526
|
+
w && cancelAnimationFrame(w), e.defer ? w = requestAnimationFrame(() => {
|
|
521
527
|
W(e, () => {
|
|
522
|
-
|
|
528
|
+
w = null;
|
|
523
529
|
});
|
|
524
|
-
}) : (W(e),
|
|
525
|
-
},
|
|
530
|
+
}) : (W(e), w = null);
|
|
531
|
+
}, Qe = Ge, J = class extends F {
|
|
526
532
|
constructor() {
|
|
527
533
|
super(...arguments);
|
|
528
|
-
|
|
534
|
+
T(this, "rendered", !1);
|
|
529
535
|
}
|
|
530
536
|
shouldComponentUpdate(t) {
|
|
531
|
-
return !
|
|
537
|
+
return !Re(t, this.props);
|
|
532
538
|
}
|
|
533
539
|
componentDidUpdate() {
|
|
534
540
|
this.emitChange();
|
|
@@ -540,13 +546,13 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
540
546
|
emitChange() {
|
|
541
547
|
const { helmetInstances: t, setHelmet: r } = this.props.context;
|
|
542
548
|
let n = null;
|
|
543
|
-
const o =
|
|
549
|
+
const o = Le(
|
|
544
550
|
t.get().map((s) => {
|
|
545
551
|
const i = { ...s.props };
|
|
546
552
|
return delete i.context, i;
|
|
547
553
|
})
|
|
548
554
|
);
|
|
549
|
-
|
|
555
|
+
Ze.canUseDOM ? Qe(o) : M && (n = M(o)), r(n);
|
|
550
556
|
}
|
|
551
557
|
// componentWillMount will be deprecated
|
|
552
558
|
// for SSR, initialize on first render
|
|
@@ -561,9 +567,9 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
561
567
|
render() {
|
|
562
568
|
return this.init(), null;
|
|
563
569
|
}
|
|
564
|
-
},
|
|
570
|
+
}, j, We = (j = class extends F {
|
|
565
571
|
shouldComponentUpdate(e) {
|
|
566
|
-
return !
|
|
572
|
+
return !Se(Q(this.props, "helmetData"), Q(e, "helmetData"));
|
|
567
573
|
}
|
|
568
574
|
mapNestedChildrenToProps(e, t) {
|
|
569
575
|
if (!t)
|
|
@@ -631,22 +637,22 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
631
637
|
}), r;
|
|
632
638
|
}
|
|
633
639
|
warnOnInvalidChildren(e, t) {
|
|
634
|
-
return
|
|
635
|
-
|
|
636
|
-
typeof e.type == "function" ? "You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information." : `Only elements types ${
|
|
640
|
+
return Z(
|
|
641
|
+
G.some((r) => e.type === r),
|
|
642
|
+
typeof e.type == "function" ? "You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information." : `Only elements types ${G.join(
|
|
637
643
|
", "
|
|
638
644
|
)} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`
|
|
639
|
-
),
|
|
645
|
+
), Z(
|
|
640
646
|
!t || typeof t == "string" || Array.isArray(t) && !t.some((r) => typeof r != "string"),
|
|
641
647
|
`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`
|
|
642
648
|
), !0;
|
|
643
649
|
}
|
|
644
650
|
mapChildrenToProps(e, t) {
|
|
645
651
|
let r = {};
|
|
646
|
-
return
|
|
652
|
+
return g.Children.forEach(e, (n) => {
|
|
647
653
|
if (!n || !n.props)
|
|
648
654
|
return;
|
|
649
|
-
const { children: o, ...s } = n.props, i = Object.keys(s).reduce((a, c) => (a[
|
|
655
|
+
const { children: o, ...s } = n.props, i = Object.keys(s).reduce((a, c) => (a[$e[c] || c] = s[c], a), {});
|
|
650
656
|
let { type: l } = n;
|
|
651
657
|
switch (typeof l == "symbol" ? l = l.toString() : this.warnOnInvalidChildren(n, o), l) {
|
|
652
658
|
case "Symbol(react.fragment)":
|
|
@@ -673,19 +679,66 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
|
|
|
673
679
|
render() {
|
|
674
680
|
const { children: e, ...t } = this.props;
|
|
675
681
|
let r = { ...t }, { helmetData: n } = t;
|
|
676
|
-
if (e && (r = this.mapChildrenToProps(e, r)), n && !(n instanceof
|
|
682
|
+
if (e && (r = this.mapChildrenToProps(e, r)), n && !(n instanceof L)) {
|
|
677
683
|
const o = n;
|
|
678
|
-
n = new
|
|
684
|
+
n = new L(o.context, !0), delete r.helmetData;
|
|
679
685
|
}
|
|
680
|
-
return n ? /* @__PURE__ */
|
|
686
|
+
return n ? /* @__PURE__ */ g.createElement(J, { ...r, context: n.value }) : /* @__PURE__ */ g.createElement(se.Consumer, null, (o) => /* @__PURE__ */ g.createElement(J, { ...r, context: o }));
|
|
681
687
|
}
|
|
682
|
-
},
|
|
688
|
+
}, T(j, "defaultProps", {
|
|
683
689
|
defer: !0,
|
|
684
690
|
encodeSpecialCharacters: !0,
|
|
685
691
|
prioritizeSeoTags: !1
|
|
686
|
-
}),
|
|
692
|
+
}), j);
|
|
693
|
+
const Je = fe(!1), Xe = "protected", ct = () => {
|
|
694
|
+
const e = le(), t = ce(), r = de(), n = me(), o = Ce(n.pathname), s = pe(Je), { protectedRoutes: i = [] } = t.options, l = !s && i.some(
|
|
695
|
+
(a) => he({ path: a, end: !0 }, n.pathname)
|
|
696
|
+
);
|
|
697
|
+
if (ue({
|
|
698
|
+
queryKey: ["login-redirect"],
|
|
699
|
+
queryFn: async () => {
|
|
700
|
+
var a;
|
|
701
|
+
return await new Promise((c) => setTimeout(c, 1200)), await ((a = t.authentication) == null ? void 0 : a.signIn({
|
|
702
|
+
redirectTo: o.current
|
|
703
|
+
})), !0;
|
|
704
|
+
},
|
|
705
|
+
enabled: typeof window < "u" && l && !e.isPending && !e.isAuthenticated
|
|
706
|
+
}), l && !e.isAuthenticated)
|
|
707
|
+
return /* @__PURE__ */ y.jsx(
|
|
708
|
+
Te,
|
|
709
|
+
{
|
|
710
|
+
open: !0,
|
|
711
|
+
onOpenChange: (a) => {
|
|
712
|
+
a || r(-1);
|
|
713
|
+
},
|
|
714
|
+
children: /* @__PURE__ */ y.jsxs(ge, { children: [
|
|
715
|
+
/* @__PURE__ */ y.jsx(ve, { children: /* @__PURE__ */ y.jsx(Ae, { children: "Logging you in..." }) }),
|
|
716
|
+
/* @__PURE__ */ y.jsx(Ee, { children: "Please wait while we log you in." })
|
|
717
|
+
] })
|
|
718
|
+
}
|
|
719
|
+
);
|
|
720
|
+
if (l && !e.isAuthEnabled)
|
|
721
|
+
throw new be("Authentication is not enabled", {
|
|
722
|
+
title: "Authentication is not enabled",
|
|
723
|
+
developerHint: "To use protectedRoutes you need authentication to be enabled"
|
|
724
|
+
});
|
|
725
|
+
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
726
|
+
s && /* @__PURE__ */ y.jsx(We, { children: /* @__PURE__ */ y.jsx(
|
|
727
|
+
"meta",
|
|
728
|
+
{
|
|
729
|
+
name: "pagefind",
|
|
730
|
+
"data-pagefind-filter": `section:${Xe}`,
|
|
731
|
+
content: "true"
|
|
732
|
+
}
|
|
733
|
+
) }),
|
|
734
|
+
/* @__PURE__ */ y.jsx(ye, {})
|
|
735
|
+
] });
|
|
736
|
+
};
|
|
687
737
|
export {
|
|
688
|
-
|
|
689
|
-
|
|
738
|
+
Je as B,
|
|
739
|
+
We as H,
|
|
740
|
+
ct as R,
|
|
741
|
+
Xe as S,
|
|
742
|
+
Ze as a
|
|
690
743
|
};
|
|
691
|
-
//# sourceMappingURL=
|
|
744
|
+
//# sourceMappingURL=RouteGuard-CqZPoZYJ.js.map
|