zudoku 0.22.0 → 0.23.0
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/dist/app/demo.js +1 -1
- package/dist/app/demo.js.map +1 -1
- package/dist/app/entry.client.js +1 -15
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.js +1 -2
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/main.d.ts +1 -1
- package/dist/app/sentry.js +1 -1
- package/dist/app/sentry.js.map +1 -1
- package/dist/app/standalone.js +1 -1
- package/dist/app/standalone.js.map +1 -1
- package/dist/cli/cmds/build.js +1 -0
- package/dist/cli/cmds/build.js.map +1 -1
- package/dist/config/validators/common.d.ts +104 -104
- package/dist/config/validators/icon-types.d.ts +1 -1
- package/dist/config/validators/validate.d.ts +90 -90
- package/dist/lib/authentication/components/CallbackHandler.js +1 -1
- package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
- package/dist/lib/authentication/components/SignIn.js +1 -1
- package/dist/lib/authentication/components/SignIn.js.map +1 -1
- package/dist/lib/authentication/components/SignOut.js +1 -1
- package/dist/lib/authentication/components/SignOut.js.map +1 -1
- package/dist/lib/components/AnchorLink.d.ts +1 -1
- package/dist/lib/components/AnchorLink.js +1 -1
- package/dist/lib/components/AnchorLink.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +1 -2
- package/dist/lib/components/Bootstrap.js +3 -3
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/Header.js +1 -1
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Layout.js +1 -1
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/NotFoundPage.js +1 -1
- package/dist/lib/components/NotFoundPage.js.map +1 -1
- package/dist/lib/components/SlotletProvider.d.ts +2 -2
- package/dist/lib/components/TopNavigation.js +1 -1
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.js +1 -1
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.js +1 -1
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/index.d.ts +4 -4
- package/dist/lib/components/index.js +1 -1
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/SidebarCategory.js +1 -1
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
- package/dist/lib/components/navigation/SidebarItem.js +1 -1
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/components/navigation/utils.js +1 -1
- package/dist/lib/components/navigation/utils.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +3 -5
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/errors/RouterError.js +1 -1
- package/dist/lib/errors/RouterError.js.map +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.js +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/index.d.ts +1 -0
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/openapi/Route.js +1 -1
- package/dist/lib/plugins/openapi/Route.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/index.js +1 -1
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/redirect/index.js +1 -1
- package/dist/lib/plugins/redirect/index.js.map +1 -1
- package/dist/lib/util/MdxComponents.d.ts +16 -16
- package/dist/lib/util/MdxComponents.js +1 -3
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/createVariantComponent.d.ts +2 -2
- package/dist/lib/util/useExposedProps.js +1 -1
- package/dist/lib/util/useExposedProps.js.map +1 -1
- package/dist/lib/util/useOnScreen.d.ts +1 -1
- package/dist/lib/util/useScrollToAnchor.js +1 -1
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/lib/util/useScrollToTop.js +1 -1
- package/dist/lib/util/useScrollToTop.js.map +1 -1
- package/dist/vite/config.js +15 -8
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/css/collect.d.ts +2 -0
- package/dist/vite/css/collect.js +27 -0
- package/dist/vite/css/collect.js.map +1 -0
- package/dist/vite/css/plugin.d.ts +5 -0
- package/dist/vite/css/plugin.js +79 -0
- package/dist/vite/css/plugin.js.map +1 -0
- package/dist/vite/dev-server.js +7 -3
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/plugin-mdx.js +2 -0
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin.js +4 -0
- package/dist/vite/plugin.js.map +1 -1
- package/lib/{AnchorLink-BR0MvI7n.js → AnchorLink-DFZZbmvr.js} +13 -14
- package/lib/AnchorLink-DFZZbmvr.js.map +1 -0
- package/lib/{AuthenticationPlugin-D0Em0SwR.js → AuthenticationPlugin-DQy635W9.js} +15 -16
- package/lib/AuthenticationPlugin-DQy635W9.js.map +1 -0
- package/lib/{Button-jK0EsymC.js → Button-DeAoTouo.js} +4 -4
- package/lib/{Button-jK0EsymC.js.map → Button-DeAoTouo.js.map} +1 -1
- package/lib/{CategoryHeading-Bb9dqxD3.js → CategoryHeading-CBconmtI.js} +3 -3
- package/lib/{CategoryHeading-Bb9dqxD3.js.map → CategoryHeading-CBconmtI.js.map} +1 -1
- package/lib/ClientOnly-E7hGysn1.js.map +1 -1
- package/lib/{Dialog-k70Qfukb.js → Dialog-Bxv1yEIg.js} +3 -3
- package/lib/{Dialog-k70Qfukb.js.map → Dialog-Bxv1yEIg.js.map} +1 -1
- package/lib/{Markdown-CRsmPPfY.js → Markdown-CZDLNOFc.js} +3080 -3058
- package/lib/{Markdown-CRsmPPfY.js.map → Markdown-CZDLNOFc.js.map} +1 -1
- package/lib/{MdxPage-Wp8QU0-q.js → MdxPage-CBa4X6L5.js} +9 -9
- package/lib/MdxPage-CBa4X6L5.js.map +1 -0
- package/lib/OperationList-Bj-6EKhp.js +4889 -0
- package/lib/{OperationList-u8xHU9-b.js.map → OperationList-Bj-6EKhp.js.map} +1 -1
- package/lib/Route-C9cYcP-j.js +11 -0
- package/lib/Route-C9cYcP-j.js.map +1 -0
- package/lib/{Select-O9ZM3ZgX.js → Select-Bb_Hqc70.js} +5 -5
- package/lib/{Select-O9ZM3ZgX.js.map → Select-Bb_Hqc70.js.map} +1 -1
- package/lib/{SidebarBadge-DxFJcJ6V.js → SidebarBadge-Bm793GDY.js} +3 -3
- package/lib/{SidebarBadge-DxFJcJ6V.js.map → SidebarBadge-Bm793GDY.js.map} +1 -1
- package/lib/SlotletProvider-pfc9oejW.js +221 -0
- package/lib/SlotletProvider-pfc9oejW.js.map +1 -0
- package/lib/{Spinner-3cQDBVGr.js → Spinner-DuxJLLNE.js} +2 -2
- package/lib/{Spinner-3cQDBVGr.js.map → Spinner-DuxJLLNE.js.map} +1 -1
- package/lib/{SyntaxHighlight-C31iouiO.js → SyntaxHighlight-Bz-lOJtH.js} +8 -10
- package/lib/{SyntaxHighlight-C31iouiO.js.map → SyntaxHighlight-Bz-lOJtH.js.map} +1 -1
- package/lib/assets/{index-B_Jk_Yzp.js → index-C7jnHK4b.js} +218 -197
- package/lib/assets/index-C7jnHK4b.js.map +1 -0
- package/lib/assets/{worker-C_2va8B8.js → worker-BmEAZjUP.js} +5249 -4922
- package/lib/assets/worker-BmEAZjUP.js.map +1 -0
- package/lib/chunk-D52XG6IA-Dl7HLe6j.js +1823 -0
- package/lib/chunk-D52XG6IA-Dl7HLe6j.js.map +1 -0
- package/lib/{cn-BmFQLtkS.js → cn-qaFjX9_3.js} +2 -2
- package/lib/cn-qaFjX9_3.js.map +1 -0
- package/lib/{context-D1nXWxm7.js → context-h_UkBLvr.js} +2 -2
- package/lib/{context-D1nXWxm7.js.map → context-h_UkBLvr.js.map} +1 -1
- package/lib/{createServer-BCAHdrpE.js → createServer-BVFp6Bl3.js} +4521 -4195
- package/lib/createServer-BVFp6Bl3.js.map +1 -0
- package/lib/{hook-hEqe7fPB.js → hook-DMHiUaIV.js} +3 -3
- package/lib/{hook-hEqe7fPB.js.map → hook-DMHiUaIV.js.map} +1 -1
- package/lib/{index-CmdLGbbk.js → index-B6rTMjdI.js} +47 -47
- package/lib/{index-CmdLGbbk.js.map → index-B6rTMjdI.js.map} +1 -1
- package/lib/{index-CkwDvuPt.js → index-CBXSgjaE.js} +259 -238
- package/lib/index-CBXSgjaE.js.map +1 -0
- package/lib/index-CPNSgwSb.js +36 -0
- package/lib/index-CPNSgwSb.js.map +1 -0
- package/lib/index-LNp6rxyU.js.map +1 -1
- package/lib/index.esm-BSV1C092.js +692 -0
- package/lib/{index.esm-Bm8pj-bc.js.map → index.esm-BSV1C092.js.map} +1 -1
- package/lib/index.esm-BnnBRKJX.js +1214 -0
- package/lib/index.esm-BnnBRKJX.js.map +1 -0
- package/lib/invariant-Caa8-XvF.js.map +1 -1
- package/lib/jsx-runtime-Dx-03ztt.js +446 -0
- package/lib/jsx-runtime-Dx-03ztt.js.map +1 -0
- package/lib/object_hash-BNWPnMN9.js +787 -0
- package/lib/object_hash-BNWPnMN9.js.map +1 -0
- package/lib/post-processors/removeExtensions.js.map +1 -1
- package/lib/post-processors/removePaths.js.map +1 -1
- package/lib/post-processors/traverse.js.map +1 -1
- package/lib/prism-csharp.min-DUwvItt4.js +63 -0
- package/lib/{prism-csharp.min-Yizuc34Y.js.map → prism-csharp.min-DUwvItt4.js.map} +1 -1
- package/lib/prism-java.min-BtgBR4yd.js +35 -0
- package/lib/{prism-java.min-d5iT_mOd.js.map → prism-java.min-BtgBR4yd.js.map} +1 -1
- package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
- package/lib/prism-ruby.min-DeDXCp1r.js +38 -0
- package/lib/{prism-ruby.min-C7LwcKyz.js.map → prism-ruby.min-DeDXCp1r.js.map} +1 -1
- package/lib/prism-typescript.min-CD7H2IYQ.js +34 -0
- package/lib/{prism-typescript.min-oSVeWCAd.js.map → prism-typescript.min-CD7H2IYQ.js.map} +1 -1
- package/lib/state-CFQsUZUP.js +202 -0
- package/lib/state-CFQsUZUP.js.map +1 -0
- package/lib/ui/Accordion.js +2 -2
- package/lib/ui/Accordion.js.map +1 -1
- package/lib/ui/ActionButton.js +4 -4
- package/lib/ui/ActionButton.js.map +1 -1
- package/lib/ui/Alert.js +3 -3
- 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 +3 -3
- package/lib/ui/Badge.js.map +1 -1
- package/lib/ui/Breadcrumb.js +2 -2
- package/lib/ui/Breadcrumb.js.map +1 -1
- package/lib/ui/Button.js +3 -3
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/Callout.js +2 -2
- package/lib/ui/Callout.js.map +1 -1
- package/lib/ui/Card.js +2 -2
- package/lib/ui/Card.js.map +1 -1
- package/lib/ui/Carousel.js +407 -401
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/Checkbox.js +2 -2
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/Command.js +111 -108
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Dialog.js +2 -2
- package/lib/ui/Dialog.js.map +1 -1
- package/lib/ui/Drawer.js +2 -2
- package/lib/ui/Drawer.js.map +1 -1
- package/lib/ui/DropdownMenu.js +2 -2
- package/lib/ui/DropdownMenu.js.map +1 -1
- package/lib/ui/Form.js +3 -3
- package/lib/ui/Form.js.map +1 -1
- package/lib/ui/HoverCard.js +2 -2
- package/lib/ui/Input.js +2 -2
- package/lib/ui/Input.js.map +1 -1
- package/lib/ui/Label.js +3 -3
- package/lib/ui/Pagination.js +2 -2
- package/lib/ui/Pagination.js.map +1 -1
- package/lib/ui/Popover.js +2 -2
- 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 +2 -2
- package/lib/ui/RadioGroup.js.map +1 -1
- package/lib/ui/ScrollArea.js +2 -2
- package/lib/ui/ScrollArea.js.map +1 -1
- package/lib/ui/Select.js +2 -2
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/Skeleton.js +2 -2
- package/lib/ui/Skeleton.js.map +1 -1
- package/lib/ui/Slider.js +2 -2
- package/lib/ui/Switch.js +2 -2
- package/lib/ui/Switch.js.map +1 -1
- package/lib/ui/Tabs.js +2 -2
- package/lib/ui/Textarea.js +2 -2
- package/lib/ui/Textarea.js.map +1 -1
- package/lib/ui/Toggle.js +3 -3
- 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 +2 -2
- package/lib/useExposedProps-DE9lR6MF.js +9 -0
- package/lib/useExposedProps-DE9lR6MF.js.map +1 -0
- package/lib/{utils-DcpDOncX.js → utils-R0j3Raw1.js} +30 -31
- package/lib/{utils-DcpDOncX.js.map → utils-R0j3Raw1.js.map} +1 -1
- package/lib/zudoku.auth-auth0.js +1 -1
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +2 -2
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +348 -346
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +679 -939
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.openapi-worker.js +1 -1
- package/lib/zudoku.openapi-worker.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +3 -3
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +15 -16
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +4 -4
- package/lib/zudoku.plugin-custom-pages.js.map +1 -1
- package/lib/zudoku.plugin-markdown.js +2 -2
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +5 -5
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-redirect.js.map +1 -1
- package/lib/zudoku.plugin-search-inkeep.js +1 -1
- package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
- package/package.json +35 -35
- package/src/app/demo.tsx +1 -1
- package/src/app/entry.client.tsx +1 -15
- package/src/app/entry.server.tsx +2 -2
- package/src/app/main.tsx +1 -1
- package/src/app/sentry.ts +1 -1
- package/src/app/standalone.tsx +1 -1
- package/src/lib/authentication/components/CallbackHandler.tsx +1 -1
- package/src/lib/authentication/components/SignIn.tsx +1 -1
- package/src/lib/authentication/components/SignOut.tsx +1 -1
- package/src/lib/components/AnchorLink.tsx +1 -1
- package/src/lib/components/Bootstrap.tsx +4 -6
- package/src/lib/components/Header.tsx +1 -1
- package/src/lib/components/Layout.tsx +1 -1
- package/src/lib/components/NotFoundPage.tsx +1 -1
- package/src/lib/components/SlotletProvider.tsx +1 -1
- package/src/lib/components/TopNavigation.tsx +1 -1
- package/src/lib/components/Zudoku.tsx +1 -1
- package/src/lib/components/context/ZudokuContext.ts +1 -1
- package/src/lib/components/index.ts +1 -1
- package/src/lib/components/navigation/SidebarCategory.tsx +1 -1
- package/src/lib/components/navigation/SidebarItem.tsx +1 -1
- package/src/lib/components/navigation/utils.ts +1 -1
- package/src/lib/core/plugins.ts +3 -7
- package/src/lib/errors/RouterError.tsx +1 -1
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +1 -1
- package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +1 -1
- package/src/lib/plugins/api-keys/index.tsx +1 -1
- package/src/lib/plugins/custom-pages/index.tsx +1 -1
- package/src/lib/plugins/markdown/MdxPage.tsx +1 -1
- package/src/lib/plugins/markdown/index.tsx +2 -1
- package/src/lib/plugins/openapi/Route.tsx +1 -1
- package/src/lib/plugins/openapi/Sidecar.tsx +1 -1
- package/src/lib/plugins/openapi/index.tsx +1 -1
- package/src/lib/plugins/redirect/index.tsx +1 -1
- package/src/lib/util/MdxComponents.tsx +1 -3
- package/src/lib/util/createVariantComponent.tsx +2 -2
- package/src/lib/util/useExposedProps.tsx +1 -1
- package/src/lib/util/useScrollToAnchor.ts +1 -1
- package/src/lib/util/useScrollToTop.ts +1 -1
- package/lib/AnchorLink-BR0MvI7n.js.map +0 -1
- package/lib/AuthenticationPlugin-D0Em0SwR.js.map +0 -1
- package/lib/MdxPage-Wp8QU0-q.js.map +0 -1
- package/lib/OperationList-u8xHU9-b.js +0 -4706
- package/lib/Route-DlG_HTMu.js +0 -11
- package/lib/Route-DlG_HTMu.js.map +0 -1
- package/lib/SlotletProvider-BgvYIPQe.js +0 -252
- package/lib/SlotletProvider-BgvYIPQe.js.map +0 -1
- package/lib/assets/index-B_Jk_Yzp.js.map +0 -1
- package/lib/assets/worker-C_2va8B8.js.map +0 -1
- package/lib/cn-BmFQLtkS.js.map +0 -1
- package/lib/createServer-BCAHdrpE.js.map +0 -1
- package/lib/index-BuAyrJe3.js +0 -46
- package/lib/index-BuAyrJe3.js.map +0 -1
- package/lib/index-CkwDvuPt.js.map +0 -1
- package/lib/index-Czzd9rjU.js +0 -899
- package/lib/index-Czzd9rjU.js.map +0 -1
- package/lib/index-Yn8c3UWE.js +0 -921
- package/lib/index-Yn8c3UWE.js.map +0 -1
- package/lib/index.esm-Bm8pj-bc.js +0 -675
- package/lib/index.esm-C5mr_sKO.js +0 -1193
- package/lib/index.esm-C5mr_sKO.js.map +0 -1
- package/lib/jsx-runtime-B6kdoens.js +0 -635
- package/lib/jsx-runtime-B6kdoens.js.map +0 -1
- package/lib/object_hash-CvlLgU-M.js +0 -785
- package/lib/object_hash-CvlLgU-M.js.map +0 -1
- package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
- package/lib/prism-java.min-d5iT_mOd.js +0 -7
- package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
- package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
- package/lib/router-lfyopgBI.js +0 -3024
- package/lib/router-lfyopgBI.js.map +0 -1
- package/lib/state-tsXBLONe.js +0 -203
- package/lib/state-tsXBLONe.js.map +0 -1
- package/lib/useExposedProps-CTPtylCV.js +0 -10
- package/lib/useExposedProps-CTPtylCV.js.map +0 -1
package/lib/zudoku.components.js
CHANGED
|
@@ -1,77 +1,75 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var ut = Object.defineProperty;
|
|
2
|
+
var be = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
set _(
|
|
10
|
-
|
|
5
|
+
var dt = (e, t, s) => t in e ? ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
6
|
+
var k = (e, t, s) => dt(e, typeof t != "symbol" ? t + "" : t, s), je = (e, t, s) => t.has(e) || be("Cannot " + s);
|
|
7
|
+
var c = (e, t, s) => (je(e, t, "read from private field"), s ? s.call(e) : t.get(e)), C = (e, t, s) => t.has(e) ? be("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), v = (e, t, s, r) => (je(e, t, "write to private field"), r ? r.call(e, s) : t.set(e, s), s);
|
|
8
|
+
var _ = (e, t, s, r) => ({
|
|
9
|
+
set _(a) {
|
|
10
|
+
v(e, t, a, s);
|
|
11
11
|
},
|
|
12
12
|
get _() {
|
|
13
|
-
return
|
|
13
|
+
return c(e, t, r);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import { a as
|
|
17
|
-
import {
|
|
18
|
-
import { u as
|
|
19
|
-
import { E as
|
|
20
|
-
import { j as
|
|
21
|
-
import { Button as
|
|
22
|
-
import { Callout as
|
|
23
|
-
import { S as
|
|
24
|
-
import { M as
|
|
25
|
-
import * as
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import { c as
|
|
35
|
-
import {
|
|
36
|
-
import
|
|
37
|
-
import {
|
|
38
|
-
import
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
function Er({ error: e }) {
|
|
46
|
-
return /* @__PURE__ */ a.jsx(Ue, { error: e });
|
|
16
|
+
import { a as Fe, H as ue } from "./index.esm-BSV1C092.js";
|
|
17
|
+
import { R as ht, S as ft, e as mt, f as ee, b as gt, u as de, g as he, L as fe, O as Be } from "./chunk-D52XG6IA-Dl7HLe6j.js";
|
|
18
|
+
import { u as pt } from "./state-CFQsUZUP.js";
|
|
19
|
+
import { E as ze, S as D, a as xt, R as yt } from "./SlotletProvider-pfc9oejW.js";
|
|
20
|
+
import { j as n } from "./jsx-runtime-Dx-03ztt.js";
|
|
21
|
+
import { Button as vt } from "./ui/Button.js";
|
|
22
|
+
import { Callout as bt } from "./ui/Callout.js";
|
|
23
|
+
import { S as He, l as Le, Q as jt, n as w, m as we, o as ke, p as O, q as wt, r as kt, t as Ct, v as Nt, w as Ce, x as Ne, y as Pt, h as Pe, z as Se, A as St, d as Dt, B as Ke, C as Ot, j as q, u as T, D as $e, E as Mt, g as At, Z as Et } from "./utils-R0j3Raw1.js";
|
|
24
|
+
import { M as It, u as te } from "./hook-DMHiUaIV.js";
|
|
25
|
+
import * as $ from "react";
|
|
26
|
+
import Qt, { StrictMode as Ze, useState as Q, useEffect as R, useRef as me, useCallback as Tt, Suspense as ge, memo as Ve, forwardRef as qt, createContext as Ue, Component as Rt, createElement as De, useMemo as se, useContext as Ft, Fragment as Bt } from "react";
|
|
27
|
+
import * as zt from "react-dom";
|
|
28
|
+
import { S as oe, a as ne } from "./SidebarBadge-Bm793GDY.js";
|
|
29
|
+
import { C as pe } from "./ClientOnly-E7hGysn1.js";
|
|
30
|
+
import { ChevronRightIcon as Ht, ExternalLinkIcon as Lt, CircleXIcon as Kt, SearchIcon as $t, MoonStarIcon as Zt, SunIcon as Vt, MenuIcon as Ut, PanelLeftIcon as Wt } from "lucide-react";
|
|
31
|
+
import { Drawer as We, DrawerTrigger as Xe, DrawerContent as _e, DrawerTitle as Ye } from "./ui/Drawer.js";
|
|
32
|
+
import { c as M } from "./cn-qaFjX9_3.js";
|
|
33
|
+
import { u as xe, a as Xt, V as _t } from "./Markdown-CZDLNOFc.js";
|
|
34
|
+
import { c as Yt, a as Jt } from "./index-CPNSgwSb.js";
|
|
35
|
+
import { A as Gt, M as es, u as ts } from "./AnchorLink-DFZZbmvr.js";
|
|
36
|
+
import * as re from "@radix-ui/react-collapsible";
|
|
37
|
+
import { B as le } from "./Button-DeAoTouo.js";
|
|
38
|
+
import { DropdownMenu as ss, DropdownMenuTrigger as ns, DropdownMenuContent as rs, DropdownMenuLabel as as, DropdownMenuSeparator as ae, DropdownMenuSub as is, DropdownMenuSubTrigger as os, DropdownMenuPortal as ls, DropdownMenuSubContent as cs, DropdownMenuItem as us } from "./ui/DropdownMenu.js";
|
|
39
|
+
import { VisuallyHidden as Je } from "@radix-ui/react-visually-hidden";
|
|
40
|
+
import { z as ds, J as hs } from "./SyntaxHighlight-Bz-lOJtH.js";
|
|
41
|
+
import { Z as fs } from "./invariant-Caa8-XvF.js";
|
|
42
|
+
import { S as ms } from "./Spinner-DuxJLLNE.js";
|
|
43
|
+
function gs({ error: e }) {
|
|
44
|
+
return /* @__PURE__ */ n.jsx(ze, { error: e });
|
|
47
45
|
}
|
|
48
|
-
var
|
|
46
|
+
var S, Te, ps = (Te = class extends He {
|
|
49
47
|
constructor(t = {}) {
|
|
50
48
|
super();
|
|
51
|
-
|
|
52
|
-
this.config = t,
|
|
49
|
+
C(this, S);
|
|
50
|
+
this.config = t, v(this, S, /* @__PURE__ */ new Map());
|
|
53
51
|
}
|
|
54
|
-
build(t,
|
|
55
|
-
const
|
|
56
|
-
let
|
|
57
|
-
return
|
|
52
|
+
build(t, s, r) {
|
|
53
|
+
const a = s.queryKey, i = s.queryHash ?? Le(a, s);
|
|
54
|
+
let o = this.get(i);
|
|
55
|
+
return o || (o = new jt({
|
|
58
56
|
cache: this,
|
|
59
|
-
queryKey:
|
|
60
|
-
queryHash:
|
|
61
|
-
options: t.defaultQueryOptions(
|
|
62
|
-
state:
|
|
63
|
-
defaultOptions: t.getQueryDefaults(
|
|
64
|
-
}), this.add(
|
|
57
|
+
queryKey: a,
|
|
58
|
+
queryHash: i,
|
|
59
|
+
options: t.defaultQueryOptions(s),
|
|
60
|
+
state: r,
|
|
61
|
+
defaultOptions: t.getQueryDefaults(a)
|
|
62
|
+
}), this.add(o)), o;
|
|
65
63
|
}
|
|
66
64
|
add(t) {
|
|
67
|
-
|
|
65
|
+
c(this, S).has(t.queryHash) || (c(this, S).set(t.queryHash, t), this.notify({
|
|
68
66
|
type: "added",
|
|
69
67
|
query: t
|
|
70
68
|
}));
|
|
71
69
|
}
|
|
72
70
|
remove(t) {
|
|
73
|
-
const
|
|
74
|
-
|
|
71
|
+
const s = c(this, S).get(t.queryHash);
|
|
72
|
+
s && (t.destroy(), s === t && c(this, S).delete(t.queryHash), this.notify({ type: "removed", query: t }));
|
|
75
73
|
}
|
|
76
74
|
clear() {
|
|
77
75
|
w.batch(() => {
|
|
@@ -81,25 +79,25 @@ var k, ze, Cr = (ze = class extends $e {
|
|
|
81
79
|
});
|
|
82
80
|
}
|
|
83
81
|
get(t) {
|
|
84
|
-
return
|
|
82
|
+
return c(this, S).get(t);
|
|
85
83
|
}
|
|
86
84
|
getAll() {
|
|
87
|
-
return [...
|
|
85
|
+
return [...c(this, S).values()];
|
|
88
86
|
}
|
|
89
87
|
find(t) {
|
|
90
|
-
const
|
|
88
|
+
const s = { exact: !0, ...t };
|
|
91
89
|
return this.getAll().find(
|
|
92
|
-
(
|
|
90
|
+
(r) => we(s, r)
|
|
93
91
|
);
|
|
94
92
|
}
|
|
95
93
|
findAll(t = {}) {
|
|
96
|
-
const
|
|
97
|
-
return Object.keys(t).length > 0 ?
|
|
94
|
+
const s = this.getAll();
|
|
95
|
+
return Object.keys(t).length > 0 ? s.filter((r) => we(t, r)) : s;
|
|
98
96
|
}
|
|
99
97
|
notify(t) {
|
|
100
98
|
w.batch(() => {
|
|
101
|
-
this.listeners.forEach((
|
|
102
|
-
|
|
99
|
+
this.listeners.forEach((s) => {
|
|
100
|
+
s(t);
|
|
103
101
|
});
|
|
104
102
|
});
|
|
105
103
|
}
|
|
@@ -117,44 +115,44 @@ var k, ze, Cr = (ze = class extends $e {
|
|
|
117
115
|
});
|
|
118
116
|
});
|
|
119
117
|
}
|
|
120
|
-
},
|
|
118
|
+
}, S = new WeakMap(), Te), j, U, qe, xs = (qe = class extends He {
|
|
121
119
|
constructor(t = {}) {
|
|
122
120
|
super();
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
this.config = t,
|
|
121
|
+
C(this, j);
|
|
122
|
+
C(this, U);
|
|
123
|
+
this.config = t, v(this, j, /* @__PURE__ */ new Map()), v(this, U, Date.now());
|
|
126
124
|
}
|
|
127
|
-
build(t,
|
|
128
|
-
const
|
|
125
|
+
build(t, s, r) {
|
|
126
|
+
const a = new It({
|
|
129
127
|
mutationCache: this,
|
|
130
|
-
mutationId: ++
|
|
131
|
-
options: t.defaultMutationOptions(
|
|
132
|
-
state:
|
|
128
|
+
mutationId: ++_(this, U)._,
|
|
129
|
+
options: t.defaultMutationOptions(s),
|
|
130
|
+
state: r
|
|
133
131
|
});
|
|
134
|
-
return this.add(
|
|
132
|
+
return this.add(a), a;
|
|
135
133
|
}
|
|
136
134
|
add(t) {
|
|
137
|
-
const
|
|
138
|
-
|
|
135
|
+
const s = Y(t), r = c(this, j).get(s) ?? [];
|
|
136
|
+
r.push(t), c(this, j).set(s, r), this.notify({ type: "added", mutation: t });
|
|
139
137
|
}
|
|
140
138
|
remove(t) {
|
|
141
|
-
var
|
|
142
|
-
const
|
|
143
|
-
if (
|
|
144
|
-
const
|
|
145
|
-
|
|
139
|
+
var r;
|
|
140
|
+
const s = Y(t);
|
|
141
|
+
if (c(this, j).has(s)) {
|
|
142
|
+
const a = (r = c(this, j).get(s)) == null ? void 0 : r.filter((i) => i !== t);
|
|
143
|
+
a && (a.length === 0 ? c(this, j).delete(s) : c(this, j).set(s, a));
|
|
146
144
|
}
|
|
147
145
|
this.notify({ type: "removed", mutation: t });
|
|
148
146
|
}
|
|
149
147
|
canRun(t) {
|
|
150
|
-
var
|
|
151
|
-
const
|
|
152
|
-
return !
|
|
148
|
+
var r;
|
|
149
|
+
const s = (r = c(this, j).get(Y(t))) == null ? void 0 : r.find((a) => a.state.status === "pending");
|
|
150
|
+
return !s || s === t;
|
|
153
151
|
}
|
|
154
152
|
runNext(t) {
|
|
155
|
-
var
|
|
156
|
-
const
|
|
157
|
-
return (
|
|
153
|
+
var r;
|
|
154
|
+
const s = (r = c(this, j).get(Y(t))) == null ? void 0 : r.find((a) => a !== t && a.state.isPaused);
|
|
155
|
+
return (s == null ? void 0 : s.continue()) ?? Promise.resolve();
|
|
158
156
|
}
|
|
159
157
|
clear() {
|
|
160
158
|
w.batch(() => {
|
|
@@ -164,92 +162,92 @@ var k, ze, Cr = (ze = class extends $e {
|
|
|
164
162
|
});
|
|
165
163
|
}
|
|
166
164
|
getAll() {
|
|
167
|
-
return [...
|
|
165
|
+
return [...c(this, j).values()].flat();
|
|
168
166
|
}
|
|
169
167
|
find(t) {
|
|
170
|
-
const
|
|
168
|
+
const s = { exact: !0, ...t };
|
|
171
169
|
return this.getAll().find(
|
|
172
|
-
(
|
|
170
|
+
(r) => ke(s, r)
|
|
173
171
|
);
|
|
174
172
|
}
|
|
175
173
|
findAll(t = {}) {
|
|
176
|
-
return this.getAll().filter((
|
|
174
|
+
return this.getAll().filter((s) => ke(t, s));
|
|
177
175
|
}
|
|
178
176
|
notify(t) {
|
|
179
177
|
w.batch(() => {
|
|
180
|
-
this.listeners.forEach((
|
|
181
|
-
|
|
178
|
+
this.listeners.forEach((s) => {
|
|
179
|
+
s(t);
|
|
182
180
|
});
|
|
183
181
|
});
|
|
184
182
|
}
|
|
185
183
|
resumePausedMutations() {
|
|
186
|
-
const t = this.getAll().filter((
|
|
184
|
+
const t = this.getAll().filter((s) => s.state.isPaused);
|
|
187
185
|
return w.batch(
|
|
188
186
|
() => Promise.all(
|
|
189
|
-
t.map((
|
|
187
|
+
t.map((s) => s.continue().catch(O))
|
|
190
188
|
)
|
|
191
189
|
);
|
|
192
190
|
}
|
|
193
|
-
}, j = new WeakMap(),
|
|
194
|
-
function
|
|
191
|
+
}, j = new WeakMap(), U = new WeakMap(), qe);
|
|
192
|
+
function Y(e) {
|
|
195
193
|
var t;
|
|
196
194
|
return ((t = e.options.scope) == null ? void 0 : t.id) ?? String(e.mutationId);
|
|
197
195
|
}
|
|
198
|
-
function
|
|
196
|
+
function Oe(e) {
|
|
199
197
|
return {
|
|
200
|
-
onFetch: (t,
|
|
201
|
-
var f, m, h, p,
|
|
202
|
-
const
|
|
203
|
-
let
|
|
198
|
+
onFetch: (t, s) => {
|
|
199
|
+
var f, m, h, p, x;
|
|
200
|
+
const r = t.options, a = (h = (m = (f = t.fetchOptions) == null ? void 0 : f.meta) == null ? void 0 : m.fetchMore) == null ? void 0 : h.direction, i = ((p = t.state.data) == null ? void 0 : p.pages) || [], o = ((x = t.state.data) == null ? void 0 : x.pageParams) || [];
|
|
201
|
+
let u = { pages: [], pageParams: [] }, d = 0;
|
|
204
202
|
const l = async () => {
|
|
205
203
|
let g = !1;
|
|
206
|
-
const
|
|
204
|
+
const N = (b) => {
|
|
207
205
|
Object.defineProperty(b, "signal", {
|
|
208
206
|
enumerable: !0,
|
|
209
207
|
get: () => (t.signal.aborted ? g = !0 : t.signal.addEventListener("abort", () => {
|
|
210
208
|
g = !0;
|
|
211
209
|
}), t.signal)
|
|
212
210
|
});
|
|
213
|
-
}, W =
|
|
211
|
+
}, W = wt(t.options, t.fetchOptions), L = async (b, P, K) => {
|
|
214
212
|
if (g)
|
|
215
213
|
return Promise.reject();
|
|
216
|
-
if (
|
|
214
|
+
if (P == null && b.pages.length)
|
|
217
215
|
return Promise.resolve(b);
|
|
218
216
|
const X = {
|
|
219
217
|
queryKey: t.queryKey,
|
|
220
|
-
pageParam:
|
|
218
|
+
pageParam: P,
|
|
221
219
|
direction: K ? "backward" : "forward",
|
|
222
220
|
meta: t.options.meta
|
|
223
221
|
};
|
|
224
|
-
|
|
225
|
-
const
|
|
222
|
+
N(X);
|
|
223
|
+
const ct = await W(
|
|
226
224
|
X
|
|
227
|
-
), { maxPages:
|
|
225
|
+
), { maxPages: ye } = t.options, ve = K ? kt : Ct;
|
|
228
226
|
return {
|
|
229
|
-
pages:
|
|
230
|
-
pageParams:
|
|
227
|
+
pages: ve(b.pages, ct, ye),
|
|
228
|
+
pageParams: ve(b.pageParams, P, ye)
|
|
231
229
|
};
|
|
232
230
|
};
|
|
233
|
-
if (
|
|
234
|
-
const b =
|
|
235
|
-
pages:
|
|
236
|
-
pageParams:
|
|
237
|
-
}, X =
|
|
238
|
-
|
|
231
|
+
if (a && i.length) {
|
|
232
|
+
const b = a === "backward", P = b ? ys : Me, K = {
|
|
233
|
+
pages: i,
|
|
234
|
+
pageParams: o
|
|
235
|
+
}, X = P(r, K);
|
|
236
|
+
u = await L(K, X, b);
|
|
239
237
|
} else {
|
|
240
|
-
const b = e ??
|
|
238
|
+
const b = e ?? i.length;
|
|
241
239
|
do {
|
|
242
|
-
const
|
|
243
|
-
if (d > 0 &&
|
|
240
|
+
const P = d === 0 ? o[0] ?? r.initialPageParam : Me(r, u);
|
|
241
|
+
if (d > 0 && P == null)
|
|
244
242
|
break;
|
|
245
|
-
|
|
243
|
+
u = await L(u, P), d++;
|
|
246
244
|
} while (d < b);
|
|
247
245
|
}
|
|
248
|
-
return
|
|
246
|
+
return u;
|
|
249
247
|
};
|
|
250
248
|
t.options.persister ? t.fetchFn = () => {
|
|
251
|
-
var g,
|
|
252
|
-
return (
|
|
249
|
+
var g, N;
|
|
250
|
+
return (N = (g = t.options).persister) == null ? void 0 : N.call(
|
|
253
251
|
g,
|
|
254
252
|
l,
|
|
255
253
|
{
|
|
@@ -257,266 +255,267 @@ function Te(e) {
|
|
|
257
255
|
meta: t.options.meta,
|
|
258
256
|
signal: t.signal
|
|
259
257
|
},
|
|
260
|
-
|
|
258
|
+
s
|
|
261
259
|
);
|
|
262
260
|
} : t.fetchFn = l;
|
|
263
261
|
}
|
|
264
262
|
};
|
|
265
263
|
}
|
|
266
|
-
function
|
|
267
|
-
const
|
|
264
|
+
function Me(e, { pages: t, pageParams: s }) {
|
|
265
|
+
const r = t.length - 1;
|
|
268
266
|
return t.length > 0 ? e.getNextPageParam(
|
|
269
|
-
t[
|
|
267
|
+
t[r],
|
|
270
268
|
t,
|
|
271
|
-
r
|
|
272
|
-
|
|
269
|
+
s[r],
|
|
270
|
+
s
|
|
273
271
|
) : void 0;
|
|
274
272
|
}
|
|
275
|
-
function
|
|
276
|
-
var
|
|
277
|
-
return t.length > 0 ? (
|
|
273
|
+
function ys(e, { pages: t, pageParams: s }) {
|
|
274
|
+
var r;
|
|
275
|
+
return t.length > 0 ? (r = e.getPreviousPageParam) == null ? void 0 : r.call(e, t[0], t, s[0], s) : void 0;
|
|
278
276
|
}
|
|
279
|
-
var
|
|
277
|
+
var y, A, E, F, B, I, z, H, Re, vs = (Re = class {
|
|
280
278
|
constructor(e = {}) {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
279
|
+
C(this, y);
|
|
280
|
+
C(this, A);
|
|
281
|
+
C(this, E);
|
|
282
|
+
C(this, F);
|
|
283
|
+
C(this, B);
|
|
284
|
+
C(this, I);
|
|
285
|
+
C(this, z);
|
|
286
|
+
C(this, H);
|
|
287
|
+
v(this, y, e.queryCache || new ps()), v(this, A, e.mutationCache || new xs()), v(this, E, e.defaultOptions || {}), v(this, F, /* @__PURE__ */ new Map()), v(this, B, /* @__PURE__ */ new Map()), v(this, I, 0);
|
|
290
288
|
}
|
|
291
289
|
mount() {
|
|
292
|
-
|
|
293
|
-
e && (await this.resumePausedMutations(),
|
|
294
|
-
})),
|
|
295
|
-
e && (await this.resumePausedMutations(),
|
|
290
|
+
_(this, I)._++, c(this, I) === 1 && (v(this, z, Nt.subscribe(async (e) => {
|
|
291
|
+
e && (await this.resumePausedMutations(), c(this, y).onFocus());
|
|
292
|
+
})), v(this, H, Ce.subscribe(async (e) => {
|
|
293
|
+
e && (await this.resumePausedMutations(), c(this, y).onOnline());
|
|
296
294
|
})));
|
|
297
295
|
}
|
|
298
296
|
unmount() {
|
|
299
297
|
var e, t;
|
|
300
|
-
|
|
298
|
+
_(this, I)._--, c(this, I) === 0 && ((e = c(this, z)) == null || e.call(this), v(this, z, void 0), (t = c(this, H)) == null || t.call(this), v(this, H, void 0));
|
|
301
299
|
}
|
|
302
300
|
isFetching(e) {
|
|
303
|
-
return
|
|
301
|
+
return c(this, y).findAll({ ...e, fetchStatus: "fetching" }).length;
|
|
304
302
|
}
|
|
305
303
|
isMutating(e) {
|
|
306
|
-
return
|
|
304
|
+
return c(this, A).findAll({ ...e, status: "pending" }).length;
|
|
307
305
|
}
|
|
308
306
|
getQueryData(e) {
|
|
309
|
-
var
|
|
307
|
+
var s;
|
|
310
308
|
const t = this.defaultQueryOptions({ queryKey: e });
|
|
311
|
-
return (
|
|
309
|
+
return (s = c(this, y).get(t.queryHash)) == null ? void 0 : s.state.data;
|
|
312
310
|
}
|
|
313
311
|
ensureQueryData(e) {
|
|
314
312
|
const t = this.getQueryData(e.queryKey);
|
|
315
313
|
if (t === void 0)
|
|
316
314
|
return this.fetchQuery(e);
|
|
317
315
|
{
|
|
318
|
-
const
|
|
319
|
-
return e.revalidateIfStale &&
|
|
316
|
+
const s = this.defaultQueryOptions(e), r = c(this, y).build(this, s);
|
|
317
|
+
return e.revalidateIfStale && r.isStaleByTime(Ne(s.staleTime, r)) && this.prefetchQuery(s), Promise.resolve(t);
|
|
320
318
|
}
|
|
321
319
|
}
|
|
322
320
|
getQueriesData(e) {
|
|
323
|
-
return
|
|
324
|
-
const
|
|
325
|
-
return [t,
|
|
321
|
+
return c(this, y).findAll(e).map(({ queryKey: t, state: s }) => {
|
|
322
|
+
const r = s.data;
|
|
323
|
+
return [t, r];
|
|
326
324
|
});
|
|
327
325
|
}
|
|
328
|
-
setQueryData(e, t,
|
|
329
|
-
const
|
|
330
|
-
|
|
331
|
-
),
|
|
332
|
-
if (
|
|
333
|
-
return
|
|
326
|
+
setQueryData(e, t, s) {
|
|
327
|
+
const r = this.defaultQueryOptions({ queryKey: e }), a = c(this, y).get(
|
|
328
|
+
r.queryHash
|
|
329
|
+
), i = a == null ? void 0 : a.state.data, o = Pt(t, i);
|
|
330
|
+
if (o !== void 0)
|
|
331
|
+
return c(this, y).build(this, r).setData(o, { ...s, manual: !0 });
|
|
334
332
|
}
|
|
335
|
-
setQueriesData(e, t,
|
|
333
|
+
setQueriesData(e, t, s) {
|
|
336
334
|
return w.batch(
|
|
337
|
-
() =>
|
|
338
|
-
|
|
339
|
-
this.setQueryData(
|
|
335
|
+
() => c(this, y).findAll(e).map(({ queryKey: r }) => [
|
|
336
|
+
r,
|
|
337
|
+
this.setQueryData(r, t, s)
|
|
340
338
|
])
|
|
341
339
|
);
|
|
342
340
|
}
|
|
343
341
|
getQueryState(e) {
|
|
344
|
-
var
|
|
342
|
+
var s;
|
|
345
343
|
const t = this.defaultQueryOptions({ queryKey: e });
|
|
346
|
-
return (
|
|
344
|
+
return (s = c(this, y).get(
|
|
345
|
+
t.queryHash
|
|
346
|
+
)) == null ? void 0 : s.state;
|
|
347
347
|
}
|
|
348
348
|
removeQueries(e) {
|
|
349
|
-
const t =
|
|
349
|
+
const t = c(this, y);
|
|
350
350
|
w.batch(() => {
|
|
351
|
-
t.findAll(e).forEach((
|
|
352
|
-
t.remove(
|
|
351
|
+
t.findAll(e).forEach((s) => {
|
|
352
|
+
t.remove(s);
|
|
353
353
|
});
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
356
|
resetQueries(e, t) {
|
|
357
|
-
const
|
|
357
|
+
const s = c(this, y), r = {
|
|
358
358
|
type: "active",
|
|
359
359
|
...e
|
|
360
360
|
};
|
|
361
|
-
return w.batch(() => (
|
|
362
|
-
|
|
363
|
-
}), this.refetchQueries(
|
|
361
|
+
return w.batch(() => (s.findAll(e).forEach((a) => {
|
|
362
|
+
a.reset();
|
|
363
|
+
}), this.refetchQueries(r, t)));
|
|
364
364
|
}
|
|
365
|
-
cancelQueries(e
|
|
366
|
-
const
|
|
367
|
-
() =>
|
|
365
|
+
cancelQueries(e, t = {}) {
|
|
366
|
+
const s = { revert: !0, ...t }, r = w.batch(
|
|
367
|
+
() => c(this, y).findAll(e).map((a) => a.cancel(s))
|
|
368
368
|
);
|
|
369
|
-
return Promise.all(
|
|
369
|
+
return Promise.all(r).then(O).catch(O);
|
|
370
370
|
}
|
|
371
|
-
invalidateQueries(e
|
|
371
|
+
invalidateQueries(e, t = {}) {
|
|
372
372
|
return w.batch(() => {
|
|
373
|
-
if (
|
|
374
|
-
|
|
375
|
-
}), e.refetchType === "none")
|
|
373
|
+
if (c(this, y).findAll(e).forEach((r) => {
|
|
374
|
+
r.invalidate();
|
|
375
|
+
}), (e == null ? void 0 : e.refetchType) === "none")
|
|
376
376
|
return Promise.resolve();
|
|
377
|
-
const
|
|
377
|
+
const s = {
|
|
378
378
|
...e,
|
|
379
|
-
type: e.refetchType ?? e.type ?? "active"
|
|
379
|
+
type: (e == null ? void 0 : e.refetchType) ?? (e == null ? void 0 : e.type) ?? "active"
|
|
380
380
|
};
|
|
381
|
-
return this.refetchQueries(
|
|
381
|
+
return this.refetchQueries(s, t);
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
|
-
refetchQueries(e = {}
|
|
385
|
-
const
|
|
384
|
+
refetchQueries(e, t = {}) {
|
|
385
|
+
const s = {
|
|
386
386
|
...t,
|
|
387
|
-
cancelRefetch:
|
|
388
|
-
},
|
|
389
|
-
() =>
|
|
390
|
-
let
|
|
391
|
-
return
|
|
387
|
+
cancelRefetch: t.cancelRefetch ?? !0
|
|
388
|
+
}, r = w.batch(
|
|
389
|
+
() => c(this, y).findAll(e).filter((a) => !a.isDisabled()).map((a) => {
|
|
390
|
+
let i = a.fetch(void 0, s);
|
|
391
|
+
return s.throwOnError || (i = i.catch(O)), a.state.fetchStatus === "paused" ? Promise.resolve() : i;
|
|
392
392
|
})
|
|
393
393
|
);
|
|
394
|
-
return Promise.all(
|
|
394
|
+
return Promise.all(r).then(O);
|
|
395
395
|
}
|
|
396
396
|
fetchQuery(e) {
|
|
397
397
|
const t = this.defaultQueryOptions(e);
|
|
398
398
|
t.retry === void 0 && (t.retry = !1);
|
|
399
|
-
const
|
|
400
|
-
return
|
|
401
|
-
|
|
402
|
-
) ?
|
|
399
|
+
const s = c(this, y).build(this, t);
|
|
400
|
+
return s.isStaleByTime(
|
|
401
|
+
Ne(t.staleTime, s)
|
|
402
|
+
) ? s.fetch(t) : Promise.resolve(s.state.data);
|
|
403
403
|
}
|
|
404
404
|
prefetchQuery(e) {
|
|
405
|
-
return this.fetchQuery(e).then(
|
|
405
|
+
return this.fetchQuery(e).then(O).catch(O);
|
|
406
406
|
}
|
|
407
407
|
fetchInfiniteQuery(e) {
|
|
408
|
-
return e.behavior =
|
|
408
|
+
return e.behavior = Oe(e.pages), this.fetchQuery(e);
|
|
409
409
|
}
|
|
410
410
|
prefetchInfiniteQuery(e) {
|
|
411
|
-
return this.fetchInfiniteQuery(e).then(
|
|
411
|
+
return this.fetchInfiniteQuery(e).then(O).catch(O);
|
|
412
412
|
}
|
|
413
413
|
ensureInfiniteQueryData(e) {
|
|
414
|
-
return e.behavior =
|
|
414
|
+
return e.behavior = Oe(e.pages), this.ensureQueryData(e);
|
|
415
415
|
}
|
|
416
416
|
resumePausedMutations() {
|
|
417
|
-
return
|
|
417
|
+
return Ce.isOnline() ? c(this, A).resumePausedMutations() : Promise.resolve();
|
|
418
418
|
}
|
|
419
419
|
getQueryCache() {
|
|
420
|
-
return
|
|
420
|
+
return c(this, y);
|
|
421
421
|
}
|
|
422
422
|
getMutationCache() {
|
|
423
|
-
return
|
|
423
|
+
return c(this, A);
|
|
424
424
|
}
|
|
425
425
|
getDefaultOptions() {
|
|
426
|
-
return
|
|
426
|
+
return c(this, E);
|
|
427
427
|
}
|
|
428
428
|
setDefaultOptions(e) {
|
|
429
|
-
|
|
429
|
+
v(this, E, e);
|
|
430
430
|
}
|
|
431
431
|
setQueryDefaults(e, t) {
|
|
432
|
-
|
|
432
|
+
c(this, F).set(Pe(e), {
|
|
433
433
|
queryKey: e,
|
|
434
434
|
defaultOptions: t
|
|
435
435
|
});
|
|
436
436
|
}
|
|
437
437
|
getQueryDefaults(e) {
|
|
438
|
-
const t = [...
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
}), r;
|
|
438
|
+
const t = [...c(this, F).values()], s = {};
|
|
439
|
+
return t.forEach((r) => {
|
|
440
|
+
Se(e, r.queryKey) && Object.assign(s, r.defaultOptions);
|
|
441
|
+
}), s;
|
|
443
442
|
}
|
|
444
443
|
setMutationDefaults(e, t) {
|
|
445
|
-
|
|
444
|
+
c(this, B).set(Pe(e), {
|
|
446
445
|
mutationKey: e,
|
|
447
446
|
defaultOptions: t
|
|
448
447
|
});
|
|
449
448
|
}
|
|
450
449
|
getMutationDefaults(e) {
|
|
451
|
-
const t = [...
|
|
452
|
-
let
|
|
453
|
-
return t.forEach((
|
|
454
|
-
|
|
455
|
-
}),
|
|
450
|
+
const t = [...c(this, B).values()];
|
|
451
|
+
let s = {};
|
|
452
|
+
return t.forEach((r) => {
|
|
453
|
+
Se(e, r.mutationKey) && (s = { ...s, ...r.defaultOptions });
|
|
454
|
+
}), s;
|
|
456
455
|
}
|
|
457
456
|
defaultQueryOptions(e) {
|
|
458
457
|
if (e._defaulted)
|
|
459
458
|
return e;
|
|
460
459
|
const t = {
|
|
461
|
-
...
|
|
460
|
+
...c(this, E).queries,
|
|
462
461
|
...this.getQueryDefaults(e.queryKey),
|
|
463
462
|
...e,
|
|
464
463
|
_defaulted: !0
|
|
465
464
|
};
|
|
466
|
-
return t.queryHash || (t.queryHash =
|
|
465
|
+
return t.queryHash || (t.queryHash = Le(
|
|
467
466
|
t.queryKey,
|
|
468
467
|
t
|
|
469
|
-
)), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.
|
|
468
|
+
)), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === St && (t.enabled = !1), t;
|
|
470
469
|
}
|
|
471
470
|
defaultMutationOptions(e) {
|
|
472
471
|
return e != null && e._defaulted ? e : {
|
|
473
|
-
...
|
|
472
|
+
...c(this, E).mutations,
|
|
474
473
|
...(e == null ? void 0 : e.mutationKey) && this.getMutationDefaults(e.mutationKey),
|
|
475
474
|
...e,
|
|
476
475
|
_defaulted: !0
|
|
477
476
|
};
|
|
478
477
|
}
|
|
479
478
|
clear() {
|
|
480
|
-
|
|
479
|
+
c(this, y).clear(), c(this, A).clear();
|
|
481
480
|
}
|
|
482
|
-
},
|
|
483
|
-
function
|
|
481
|
+
}, y = new WeakMap(), A = new WeakMap(), E = new WeakMap(), F = new WeakMap(), B = new WeakMap(), I = new WeakMap(), z = new WeakMap(), H = new WeakMap(), Re);
|
|
482
|
+
function bs(e) {
|
|
484
483
|
return e;
|
|
485
484
|
}
|
|
486
|
-
function
|
|
485
|
+
function Ae(e, t, s) {
|
|
487
486
|
var d, l;
|
|
488
487
|
if (typeof t != "object" || t === null)
|
|
489
488
|
return;
|
|
490
|
-
const
|
|
491
|
-
|
|
489
|
+
const r = e.getMutationCache(), a = e.getQueryCache(), i = ((d = s == null ? void 0 : s.defaultOptions) == null ? void 0 : d.deserializeData) ?? ((l = e.getDefaultOptions().hydrate) == null ? void 0 : l.deserializeData) ?? bs, o = t.mutations || [], u = t.queries || [];
|
|
490
|
+
o.forEach(({ state: f, ...m }) => {
|
|
492
491
|
var h, p;
|
|
493
|
-
|
|
492
|
+
r.build(
|
|
494
493
|
e,
|
|
495
494
|
{
|
|
496
495
|
...(h = e.getDefaultOptions().hydrate) == null ? void 0 : h.mutations,
|
|
497
|
-
...(p =
|
|
496
|
+
...(p = s == null ? void 0 : s.defaultOptions) == null ? void 0 : p.mutations,
|
|
498
497
|
...m
|
|
499
498
|
},
|
|
500
499
|
f
|
|
501
500
|
);
|
|
502
|
-
}),
|
|
503
|
-
var W,
|
|
504
|
-
let g =
|
|
505
|
-
const
|
|
501
|
+
}), u.forEach(({ queryKey: f, state: m, queryHash: h, meta: p, promise: x }) => {
|
|
502
|
+
var W, L;
|
|
503
|
+
let g = a.get(h);
|
|
504
|
+
const N = m.data === void 0 ? m.data : i(m.data);
|
|
506
505
|
if (g) {
|
|
507
506
|
if (g.state.dataUpdatedAt < m.dataUpdatedAt) {
|
|
508
|
-
const { fetchStatus: b, ...
|
|
507
|
+
const { fetchStatus: b, ...P } = m;
|
|
509
508
|
g.setState({
|
|
510
|
-
...
|
|
511
|
-
data:
|
|
509
|
+
...P,
|
|
510
|
+
data: N
|
|
512
511
|
});
|
|
513
512
|
}
|
|
514
513
|
} else
|
|
515
|
-
g =
|
|
514
|
+
g = a.build(
|
|
516
515
|
e,
|
|
517
516
|
{
|
|
518
517
|
...(W = e.getDefaultOptions().hydrate) == null ? void 0 : W.queries,
|
|
519
|
-
...(
|
|
518
|
+
...(L = s == null ? void 0 : s.defaultOptions) == null ? void 0 : L.queries,
|
|
520
519
|
queryKey: f,
|
|
521
520
|
queryHash: h,
|
|
522
521
|
meta: p
|
|
@@ -525,477 +524,218 @@ function Qe(e, t, r) {
|
|
|
525
524
|
// query being stuck in fetching state upon hydration
|
|
526
525
|
{
|
|
527
526
|
...m,
|
|
528
|
-
data:
|
|
527
|
+
data: N,
|
|
529
528
|
fetchStatus: "idle"
|
|
530
529
|
}
|
|
531
530
|
);
|
|
532
|
-
if (
|
|
533
|
-
const b = Promise.resolve(
|
|
531
|
+
if (x) {
|
|
532
|
+
const b = Promise.resolve(x).then(i);
|
|
534
533
|
g.fetch(void 0, { initialPromise: b });
|
|
535
534
|
}
|
|
536
535
|
});
|
|
537
536
|
}
|
|
538
|
-
var
|
|
537
|
+
var js = ({
|
|
539
538
|
children: e,
|
|
540
539
|
options: t = {},
|
|
541
|
-
state:
|
|
542
|
-
queryClient:
|
|
540
|
+
state: s,
|
|
541
|
+
queryClient: r
|
|
543
542
|
}) => {
|
|
544
|
-
const
|
|
545
|
-
return
|
|
546
|
-
if (
|
|
547
|
-
if (typeof
|
|
543
|
+
const a = Dt(r), [i, o] = $.useState(), u = $.useRef(t);
|
|
544
|
+
return u.current = t, $.useMemo(() => {
|
|
545
|
+
if (s) {
|
|
546
|
+
if (typeof s != "object")
|
|
548
547
|
return;
|
|
549
|
-
const d =
|
|
548
|
+
const d = a.getQueryCache(), l = s.queries || [], f = [], m = [];
|
|
550
549
|
for (const h of l) {
|
|
551
550
|
const p = d.get(h.queryHash);
|
|
552
551
|
if (!p)
|
|
553
552
|
f.push(h);
|
|
554
553
|
else {
|
|
555
|
-
const
|
|
556
|
-
(
|
|
554
|
+
const x = h.state.dataUpdatedAt > p.state.dataUpdatedAt, g = i == null ? void 0 : i.find(
|
|
555
|
+
(N) => N.queryHash === h.queryHash
|
|
557
556
|
);
|
|
558
|
-
|
|
557
|
+
x && (!g || h.state.dataUpdatedAt > g.state.dataUpdatedAt) && m.push(h);
|
|
559
558
|
}
|
|
560
559
|
}
|
|
561
|
-
f.length > 0 &&
|
|
560
|
+
f.length > 0 && Ae(a, { queries: f }, u.current), m.length > 0 && o(
|
|
562
561
|
(h) => h ? [...h, ...m] : m
|
|
563
562
|
);
|
|
564
563
|
}
|
|
565
|
-
}, [
|
|
566
|
-
|
|
567
|
-
}, [
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
return e[r];
|
|
582
|
-
}
|
|
583
|
-
});
|
|
584
|
-
}
|
|
585
|
-
}), t.default = e, Object.freeze(t);
|
|
586
|
-
}
|
|
587
|
-
var P = /* @__PURE__ */ _r(Tr);
|
|
588
|
-
function Qr({
|
|
589
|
-
basename: e,
|
|
590
|
-
children: t,
|
|
591
|
-
location: r = "/",
|
|
592
|
-
future: s
|
|
593
|
-
}) {
|
|
594
|
-
typeof r == "string" && (r = M.parsePath(r));
|
|
595
|
-
let n = D.Action.Pop, o = {
|
|
596
|
-
pathname: r.pathname || "/",
|
|
597
|
-
search: r.search || "",
|
|
598
|
-
hash: r.hash || "",
|
|
599
|
-
state: r.state != null ? r.state : null,
|
|
600
|
-
key: r.key || "default"
|
|
601
|
-
}, i = nt();
|
|
602
|
-
return /* @__PURE__ */ P.createElement(M.Router, {
|
|
603
|
-
basename: e,
|
|
604
|
-
children: t,
|
|
605
|
-
location: o,
|
|
606
|
-
navigationType: n,
|
|
607
|
-
navigator: i,
|
|
608
|
-
future: s,
|
|
609
|
-
static: !0
|
|
610
|
-
});
|
|
611
|
-
}
|
|
612
|
-
function Fr({
|
|
613
|
-
context: e,
|
|
614
|
-
router: t,
|
|
615
|
-
hydrate: r = !0,
|
|
616
|
-
nonce: s
|
|
617
|
-
}) {
|
|
618
|
-
t && e || (process.env.NODE_ENV !== "production" ? D.UNSAFE_invariant(!1, "You must provide `router` and `context` to <StaticRouterProvider>") : D.UNSAFE_invariant(!1));
|
|
619
|
-
let n = {
|
|
620
|
-
router: t,
|
|
621
|
-
navigator: nt(),
|
|
622
|
-
static: !0,
|
|
623
|
-
staticContext: e,
|
|
624
|
-
basename: e.basename || "/"
|
|
625
|
-
}, o = /* @__PURE__ */ new Map(), i = "";
|
|
626
|
-
if (r !== !1) {
|
|
627
|
-
let d = {
|
|
628
|
-
loaderData: e.loaderData,
|
|
629
|
-
actionData: e.actionData,
|
|
630
|
-
errors: zr(e.errors)
|
|
631
|
-
};
|
|
632
|
-
i = `window.__staticRouterHydrationData = JSON.parse(${Kr(JSON.stringify(JSON.stringify(d)))});`;
|
|
633
|
-
}
|
|
634
|
-
let {
|
|
635
|
-
state: c
|
|
636
|
-
} = n.router;
|
|
637
|
-
return /* @__PURE__ */ P.createElement(P.Fragment, null, /* @__PURE__ */ P.createElement(M.UNSAFE_DataRouterContext.Provider, {
|
|
638
|
-
value: n
|
|
639
|
-
}, /* @__PURE__ */ P.createElement(M.UNSAFE_DataRouterStateContext.Provider, {
|
|
640
|
-
value: c
|
|
641
|
-
}, /* @__PURE__ */ P.createElement(M.UNSAFE_FetchersContext.Provider, {
|
|
642
|
-
value: o
|
|
643
|
-
}, /* @__PURE__ */ P.createElement(M.UNSAFE_ViewTransitionContext.Provider, {
|
|
644
|
-
value: {
|
|
645
|
-
isTransitioning: !1
|
|
646
|
-
}
|
|
647
|
-
}, /* @__PURE__ */ P.createElement(M.Router, {
|
|
648
|
-
basename: n.basename,
|
|
649
|
-
location: c.location,
|
|
650
|
-
navigationType: c.historyAction,
|
|
651
|
-
navigator: n.navigator,
|
|
652
|
-
static: n.static,
|
|
653
|
-
future: {
|
|
654
|
-
v7_relativeSplatPath: t.future.v7_relativeSplatPath
|
|
655
|
-
}
|
|
656
|
-
}, /* @__PURE__ */ P.createElement(qr, {
|
|
657
|
-
routes: t.routes,
|
|
658
|
-
future: t.future,
|
|
659
|
-
state: c
|
|
660
|
-
})))))), i ? /* @__PURE__ */ P.createElement("script", {
|
|
661
|
-
suppressHydrationWarning: !0,
|
|
662
|
-
nonce: s,
|
|
663
|
-
dangerouslySetInnerHTML: {
|
|
664
|
-
__html: i
|
|
665
|
-
}
|
|
666
|
-
}) : null);
|
|
667
|
-
}
|
|
668
|
-
function qr({
|
|
669
|
-
routes: e,
|
|
670
|
-
future: t,
|
|
671
|
-
state: r
|
|
672
|
-
}) {
|
|
673
|
-
return Se.UNSAFE_useRoutesImpl(e, void 0, r, t);
|
|
674
|
-
}
|
|
675
|
-
function zr(e) {
|
|
676
|
-
if (!e) return null;
|
|
677
|
-
let t = Object.entries(e), r = {};
|
|
678
|
-
for (let [s, n] of t)
|
|
679
|
-
D.isRouteErrorResponse(n) ? r[s] = {
|
|
680
|
-
...n,
|
|
681
|
-
__type: "RouteErrorResponse"
|
|
682
|
-
} : n instanceof Error ? r[s] = {
|
|
683
|
-
message: n.message,
|
|
684
|
-
__type: "Error",
|
|
685
|
-
// If this is a subclass (i.e., ReferenceError), send up the type so we
|
|
686
|
-
// can re-create the same type during hydration.
|
|
687
|
-
...n.name !== "Error" ? {
|
|
688
|
-
__subType: n.name
|
|
689
|
-
} : {}
|
|
690
|
-
} : r[s] = n;
|
|
691
|
-
return r;
|
|
692
|
-
}
|
|
693
|
-
function nt() {
|
|
694
|
-
return {
|
|
695
|
-
createHref: it,
|
|
696
|
-
encodeLocation: ot,
|
|
697
|
-
push(e) {
|
|
698
|
-
throw new Error(`You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)})\` somewhere in your app.`);
|
|
699
|
-
},
|
|
700
|
-
replace(e) {
|
|
701
|
-
throw new Error(`You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)}, { replace: true })\` somewhere in your app.`);
|
|
702
|
-
},
|
|
703
|
-
go(e) {
|
|
704
|
-
throw new Error(`You cannot use navigator.go() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${e})\` somewhere in your app.`);
|
|
705
|
-
},
|
|
706
|
-
back() {
|
|
707
|
-
throw new Error("You cannot use navigator.back() on the server because it is a stateless environment.");
|
|
708
|
-
},
|
|
709
|
-
forward() {
|
|
710
|
-
throw new Error("You cannot use navigator.forward() on the server because it is a stateless environment.");
|
|
711
|
-
}
|
|
712
|
-
};
|
|
713
|
-
}
|
|
714
|
-
function Br(e, t) {
|
|
715
|
-
return D.createStaticHandler(e, {
|
|
716
|
-
...t,
|
|
717
|
-
mapRouteProperties: Se.UNSAFE_mapRouteProperties
|
|
718
|
-
});
|
|
719
|
-
}
|
|
720
|
-
function Lr(e, t, r = {}) {
|
|
721
|
-
let s = {}, n = D.UNSAFE_convertRoutesToDataRoutes(e, Se.UNSAFE_mapRouteProperties, void 0, s), o = t.matches.map((c) => {
|
|
722
|
-
let d = s[c.route.id] || c.route;
|
|
723
|
-
return {
|
|
724
|
-
...c,
|
|
725
|
-
route: d
|
|
726
|
-
};
|
|
727
|
-
}), i = (c) => `You cannot use router.${c}() on the server because it is a stateless environment`;
|
|
728
|
-
return {
|
|
729
|
-
get basename() {
|
|
730
|
-
return t.basename;
|
|
731
|
-
},
|
|
732
|
-
get future() {
|
|
733
|
-
var c, d;
|
|
734
|
-
return {
|
|
735
|
-
v7_fetcherPersist: !1,
|
|
736
|
-
v7_normalizeFormMethod: !1,
|
|
737
|
-
v7_partialHydration: ((c = r.future) == null ? void 0 : c.v7_partialHydration) === !0,
|
|
738
|
-
v7_prependBasename: !1,
|
|
739
|
-
v7_relativeSplatPath: ((d = r.future) == null ? void 0 : d.v7_relativeSplatPath) === !0,
|
|
740
|
-
v7_skipActionErrorRevalidation: !1
|
|
741
|
-
};
|
|
742
|
-
},
|
|
743
|
-
get state() {
|
|
744
|
-
return {
|
|
745
|
-
historyAction: D.Action.Pop,
|
|
746
|
-
location: t.location,
|
|
747
|
-
matches: o,
|
|
748
|
-
loaderData: t.loaderData,
|
|
749
|
-
actionData: t.actionData,
|
|
750
|
-
errors: t.errors,
|
|
751
|
-
initialized: !0,
|
|
752
|
-
navigation: D.IDLE_NAVIGATION,
|
|
753
|
-
restoreScrollPosition: null,
|
|
754
|
-
preventScrollReset: !1,
|
|
755
|
-
revalidation: "idle",
|
|
756
|
-
fetchers: /* @__PURE__ */ new Map(),
|
|
757
|
-
blockers: /* @__PURE__ */ new Map()
|
|
758
|
-
};
|
|
759
|
-
},
|
|
760
|
-
get routes() {
|
|
761
|
-
return n;
|
|
762
|
-
},
|
|
763
|
-
get window() {
|
|
764
|
-
},
|
|
765
|
-
initialize() {
|
|
766
|
-
throw i("initialize");
|
|
767
|
-
},
|
|
768
|
-
subscribe() {
|
|
769
|
-
throw i("subscribe");
|
|
770
|
-
},
|
|
771
|
-
enableScrollRestoration() {
|
|
772
|
-
throw i("enableScrollRestoration");
|
|
773
|
-
},
|
|
774
|
-
navigate() {
|
|
775
|
-
throw i("navigate");
|
|
776
|
-
},
|
|
777
|
-
fetch() {
|
|
778
|
-
throw i("fetch");
|
|
779
|
-
},
|
|
780
|
-
revalidate() {
|
|
781
|
-
throw i("revalidate");
|
|
782
|
-
},
|
|
783
|
-
createHref: it,
|
|
784
|
-
encodeLocation: ot,
|
|
785
|
-
getFetcher() {
|
|
786
|
-
return D.IDLE_FETCHER;
|
|
787
|
-
},
|
|
788
|
-
deleteFetcher() {
|
|
789
|
-
throw i("deleteFetcher");
|
|
790
|
-
},
|
|
791
|
-
dispose() {
|
|
792
|
-
throw i("dispose");
|
|
793
|
-
},
|
|
794
|
-
getBlocker() {
|
|
795
|
-
return D.IDLE_BLOCKER;
|
|
796
|
-
},
|
|
797
|
-
deleteBlocker() {
|
|
798
|
-
throw i("deleteBlocker");
|
|
799
|
-
},
|
|
800
|
-
patchRoutes() {
|
|
801
|
-
throw i("patchRoutes");
|
|
802
|
-
},
|
|
803
|
-
_internalFetchControllers: /* @__PURE__ */ new Map(),
|
|
804
|
-
_internalActiveDeferreds: /* @__PURE__ */ new Map(),
|
|
805
|
-
_internalSetRoutes() {
|
|
806
|
-
throw i("_internalSetRoutes");
|
|
807
|
-
}
|
|
808
|
-
};
|
|
809
|
-
}
|
|
810
|
-
function it(e) {
|
|
811
|
-
return typeof e == "string" ? e : M.createPath(e);
|
|
812
|
-
}
|
|
813
|
-
function ot(e) {
|
|
814
|
-
let t = typeof e == "string" ? e : M.createPath(e);
|
|
815
|
-
t = t.replace(/ $/, "%20");
|
|
816
|
-
let r = Hr.test(t) ? new URL(t) : new URL(t, "http://localhost");
|
|
817
|
-
return {
|
|
818
|
-
pathname: r.pathname,
|
|
819
|
-
search: r.search,
|
|
820
|
-
hash: r.hash
|
|
821
|
-
};
|
|
822
|
-
}
|
|
823
|
-
const Hr = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ur = {
|
|
824
|
-
"&": "\\u0026",
|
|
825
|
-
">": "\\u003e",
|
|
826
|
-
"<": "\\u003c",
|
|
827
|
-
"\u2028": "\\u2028",
|
|
828
|
-
"\u2029": "\\u2029"
|
|
829
|
-
}, $r = /[&><\u2028\u2029]/g;
|
|
830
|
-
function Kr(e) {
|
|
831
|
-
return e.replace($r, (t) => Ur[t]);
|
|
564
|
+
}, [a, i, s]), $.useEffect(() => {
|
|
565
|
+
i && (Ae(a, { queries: i }, u.current), o(void 0));
|
|
566
|
+
}, [a, i]), e;
|
|
567
|
+
};
|
|
568
|
+
/**
|
|
569
|
+
* react-router v7.0.2
|
|
570
|
+
*
|
|
571
|
+
* Copyright (c) Remix Software Inc.
|
|
572
|
+
*
|
|
573
|
+
* This source code is licensed under the MIT license found in the
|
|
574
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
575
|
+
*
|
|
576
|
+
* @license MIT
|
|
577
|
+
*/
|
|
578
|
+
function ws(e) {
|
|
579
|
+
return /* @__PURE__ */ $.createElement(ht, { flushSync: zt.flushSync, ...e });
|
|
832
580
|
}
|
|
833
|
-
|
|
834
|
-
var Vr = Y.StaticRouterProvider = Fr;
|
|
835
|
-
Y.createStaticHandler = Br;
|
|
836
|
-
Y.createStaticRouter = Lr;
|
|
837
|
-
const Zr = new Dr({
|
|
581
|
+
const ks = new vs({
|
|
838
582
|
defaultOptions: {
|
|
839
583
|
queries: {
|
|
840
584
|
staleTime: 1e3 * 60 * 5
|
|
841
585
|
}
|
|
842
586
|
}
|
|
843
|
-
}),
|
|
587
|
+
}), Cs = ({
|
|
844
588
|
router: e,
|
|
845
589
|
hydrate: t = !1
|
|
846
|
-
}) => /* @__PURE__ */
|
|
847
|
-
wt,
|
|
848
|
-
{
|
|
849
|
-
router: e,
|
|
850
|
-
future: { v7_startTransition: !0 }
|
|
851
|
-
}
|
|
852
|
-
) }) }) }) }) }), Wr = ({
|
|
590
|
+
}) => /* @__PURE__ */ n.jsx(Ze, { children: /* @__PURE__ */ n.jsx(Ke, { client: ks, children: /* @__PURE__ */ n.jsx(js, { state: t ? window.DATA : void 0, children: /* @__PURE__ */ n.jsx(Fe, { children: /* @__PURE__ */ n.jsx(oe.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ n.jsx(ws, { router: e }) }) }) }) }) }), Ns = ({
|
|
853
591
|
router: e,
|
|
854
592
|
context: t,
|
|
855
|
-
queryClient:
|
|
856
|
-
helmetContext:
|
|
857
|
-
}) => /* @__PURE__ */
|
|
858
|
-
var
|
|
859
|
-
|
|
860
|
-
(function(
|
|
861
|
-
s
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
if (!c)
|
|
883
|
-
return h("IDLE");
|
|
593
|
+
queryClient: s,
|
|
594
|
+
helmetContext: r
|
|
595
|
+
}) => /* @__PURE__ */ n.jsx(Ze, { children: /* @__PURE__ */ n.jsx(Ke, { client: s, children: /* @__PURE__ */ n.jsx(Fe, { context: r, children: /* @__PURE__ */ n.jsx(ft, { router: e, context: t }) }) }) });
|
|
596
|
+
var Z = { exports: {} }, Ps = Z.exports, Ee;
|
|
597
|
+
function Ss() {
|
|
598
|
+
return Ee || (Ee = 1, function(e, t) {
|
|
599
|
+
(function(s, r) {
|
|
600
|
+
r(t, Qt);
|
|
601
|
+
})(Ps, function(s, r) {
|
|
602
|
+
const a = {
|
|
603
|
+
delay: 500,
|
|
604
|
+
minDuration: 200,
|
|
605
|
+
ssr: !0
|
|
606
|
+
};
|
|
607
|
+
function i() {
|
|
608
|
+
const [u, d] = r.useState(!0);
|
|
609
|
+
return r.useEffect(() => {
|
|
610
|
+
d(!1);
|
|
611
|
+
}, []), u;
|
|
612
|
+
}
|
|
613
|
+
function o(u, d) {
|
|
614
|
+
d = Object.assign({}, a, d);
|
|
615
|
+
const l = i() && d.ssr, f = l && u ? "DISPLAY" : "IDLE", [m, h] = r.useState(f), p = r.useRef(null);
|
|
616
|
+
return r.useEffect(() => {
|
|
617
|
+
if (u && (m === "IDLE" || l)) {
|
|
618
|
+
clearTimeout(p.current);
|
|
619
|
+
const x = l ? 0 : d.delay;
|
|
884
620
|
p.current = setTimeout(() => {
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
|
|
621
|
+
if (!u)
|
|
622
|
+
return h("IDLE");
|
|
623
|
+
p.current = setTimeout(() => {
|
|
624
|
+
h("EXPIRE");
|
|
625
|
+
}, d.minDuration), h("DISPLAY");
|
|
626
|
+
}, x), l || h("DELAY");
|
|
627
|
+
}
|
|
628
|
+
!u && m !== "DISPLAY" && (clearTimeout(p.current), h("IDLE"));
|
|
629
|
+
}, [u, m, d.delay, d.minDuration, l]), r.useEffect(() => () => clearTimeout(p.current), []), m === "DISPLAY" || m === "EXPIRE";
|
|
630
|
+
}
|
|
631
|
+
s.defaultOptions = a, s.useSpinDelay = o;
|
|
632
|
+
});
|
|
633
|
+
}(Z, Z.exports)), Z.exports;
|
|
634
|
+
}
|
|
635
|
+
var Ds = Ss();
|
|
636
|
+
const Os = ({
|
|
897
637
|
category: e,
|
|
898
638
|
onRequestClose: t
|
|
899
639
|
}) => {
|
|
900
640
|
var h, p;
|
|
901
|
-
const
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
}, [
|
|
905
|
-
const m =
|
|
641
|
+
const s = Ot(e), [r, a] = Q(!1), i = e.collapsible ?? !0, o = e.collapsed ?? !0, u = !!(!i || !o || s), [d, l] = Q(u), f = mt(((h = e.link) == null ? void 0 : h.id) ?? "");
|
|
642
|
+
R(() => {
|
|
643
|
+
s && l(!0);
|
|
644
|
+
}, [s]);
|
|
645
|
+
const m = i && /* @__PURE__ */ n.jsx(
|
|
906
646
|
"button",
|
|
907
647
|
{
|
|
908
648
|
type: "button",
|
|
909
|
-
onClick: (
|
|
910
|
-
|
|
649
|
+
onClick: (x) => {
|
|
650
|
+
x.preventDefault(), l((g) => !g), a(!0);
|
|
911
651
|
},
|
|
912
|
-
children: /* @__PURE__ */
|
|
913
|
-
|
|
652
|
+
children: /* @__PURE__ */ n.jsx(
|
|
653
|
+
Ht,
|
|
914
654
|
{
|
|
915
655
|
size: 16,
|
|
916
|
-
className:
|
|
917
|
-
|
|
656
|
+
className: M(
|
|
657
|
+
r && "transition",
|
|
918
658
|
"shrink-0 group-data-[state=open]:rotate-90"
|
|
919
659
|
)
|
|
920
660
|
}
|
|
921
661
|
)
|
|
922
662
|
}
|
|
923
663
|
);
|
|
924
|
-
return /* @__PURE__ */
|
|
925
|
-
|
|
664
|
+
return /* @__PURE__ */ n.jsxs(
|
|
665
|
+
re.Root,
|
|
926
666
|
{
|
|
927
667
|
className: "flex flex-col",
|
|
928
|
-
defaultOpen:
|
|
668
|
+
defaultOpen: u,
|
|
929
669
|
open: d,
|
|
930
670
|
onOpenChange: () => l(!0),
|
|
931
671
|
children: [
|
|
932
|
-
/* @__PURE__ */
|
|
672
|
+
/* @__PURE__ */ n.jsx(re.Trigger, { className: "group", asChild: !0, disabled: !i, children: /* @__PURE__ */ n.jsxs(
|
|
933
673
|
"div",
|
|
934
674
|
{
|
|
935
|
-
onClick: () =>
|
|
675
|
+
onClick: () => a(!0),
|
|
936
676
|
className: V({
|
|
937
677
|
isActive: !1,
|
|
938
678
|
className: [
|
|
939
679
|
"text-start",
|
|
940
|
-
|
|
680
|
+
i ? "cursor-pointer" : "cursor-default hover:bg-transparent"
|
|
941
681
|
]
|
|
942
682
|
}),
|
|
943
683
|
children: [
|
|
944
|
-
e.icon && /* @__PURE__ */
|
|
684
|
+
e.icon && /* @__PURE__ */ n.jsx(
|
|
945
685
|
e.icon,
|
|
946
686
|
{
|
|
947
687
|
size: 16,
|
|
948
|
-
className:
|
|
688
|
+
className: M("align-[-0.125em] ", f && "text-primary")
|
|
949
689
|
}
|
|
950
690
|
),
|
|
951
|
-
((p = e.link) == null ? void 0 : p.type) === "doc" ? /* @__PURE__ */
|
|
952
|
-
|
|
691
|
+
((p = e.link) == null ? void 0 : p.type) === "doc" ? /* @__PURE__ */ n.jsx(
|
|
692
|
+
ee,
|
|
953
693
|
{
|
|
954
694
|
to: q(e.link.id),
|
|
955
695
|
className: "flex-1",
|
|
956
696
|
onClick: () => {
|
|
957
697
|
f && !d && l(!0);
|
|
958
698
|
},
|
|
959
|
-
children: /* @__PURE__ */
|
|
699
|
+
children: /* @__PURE__ */ n.jsxs(
|
|
960
700
|
"div",
|
|
961
701
|
{
|
|
962
|
-
className:
|
|
702
|
+
className: M(
|
|
963
703
|
"flex items-center gap-2 justify-between w-full",
|
|
964
704
|
f ? "text-primary" : "text-foreground/80"
|
|
965
705
|
),
|
|
966
706
|
children: [
|
|
967
|
-
/* @__PURE__ */
|
|
707
|
+
/* @__PURE__ */ n.jsx("div", { className: "truncate", children: e.label }),
|
|
968
708
|
m
|
|
969
709
|
]
|
|
970
710
|
}
|
|
971
711
|
)
|
|
972
712
|
}
|
|
973
|
-
) : /* @__PURE__ */
|
|
974
|
-
/* @__PURE__ */
|
|
713
|
+
) : /* @__PURE__ */ n.jsxs("div", { className: "flex items-center justify-between w-full", children: [
|
|
714
|
+
/* @__PURE__ */ n.jsx("div", { className: "flex gap-2 truncate w-full", children: e.label }),
|
|
975
715
|
m
|
|
976
716
|
] })
|
|
977
717
|
]
|
|
978
718
|
}
|
|
979
719
|
) }),
|
|
980
|
-
/* @__PURE__ */
|
|
981
|
-
|
|
720
|
+
/* @__PURE__ */ n.jsx(
|
|
721
|
+
re.Content,
|
|
982
722
|
{
|
|
983
|
-
className:
|
|
723
|
+
className: M(
|
|
984
724
|
// CollapsibleContent class is used to animate and it should only be applied when the user has triggered the toggle
|
|
985
|
-
|
|
725
|
+
r && "CollapsibleContent",
|
|
986
726
|
"ms-6 my-1"
|
|
987
727
|
),
|
|
988
|
-
children: /* @__PURE__ */
|
|
728
|
+
children: /* @__PURE__ */ n.jsx(
|
|
989
729
|
"ul",
|
|
990
730
|
{
|
|
991
731
|
className: "relative after:absolute after:-left-[--padding-nav-item] after:translate-x-[1.5px] after:top-0 after:bottom-0 after:w-px after:bg-border",
|
|
992
|
-
children: e.items.map((
|
|
993
|
-
|
|
732
|
+
children: e.items.map((x) => /* @__PURE__ */ n.jsx(
|
|
733
|
+
ce,
|
|
994
734
|
{
|
|
995
735
|
onRequestClose: t,
|
|
996
|
-
item:
|
|
736
|
+
item: x
|
|
997
737
|
},
|
|
998
|
-
("id" in
|
|
738
|
+
("id" in x ? x.id : "") + ("href" in x ? x.href : "") + x.label
|
|
999
739
|
))
|
|
1000
740
|
}
|
|
1001
741
|
)
|
|
@@ -1004,7 +744,7 @@ const Jr = ({
|
|
|
1004
744
|
]
|
|
1005
745
|
}
|
|
1006
746
|
);
|
|
1007
|
-
}, V =
|
|
747
|
+
}, V = Yt(
|
|
1008
748
|
"flex items-center gap-2 px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
|
|
1009
749
|
{
|
|
1010
750
|
variants: {
|
|
@@ -1021,48 +761,48 @@ const Jr = ({
|
|
|
1021
761
|
isActive: !1
|
|
1022
762
|
}
|
|
1023
763
|
}
|
|
1024
|
-
),
|
|
764
|
+
), Ge = "data-anchor", ce = ({
|
|
1025
765
|
item: e,
|
|
1026
766
|
onRequestClose: t
|
|
1027
767
|
}) => {
|
|
1028
|
-
var
|
|
1029
|
-
const { activeAnchor:
|
|
768
|
+
var a, i;
|
|
769
|
+
const { activeAnchor: s } = xe(), [r] = gt();
|
|
1030
770
|
switch (e.type) {
|
|
1031
771
|
case "category":
|
|
1032
|
-
return /* @__PURE__ */
|
|
772
|
+
return /* @__PURE__ */ n.jsx(Os, { category: e, onRequestClose: t });
|
|
1033
773
|
case "doc":
|
|
1034
|
-
return /* @__PURE__ */
|
|
1035
|
-
|
|
774
|
+
return /* @__PURE__ */ n.jsxs(
|
|
775
|
+
ee,
|
|
1036
776
|
{
|
|
1037
|
-
className: ({ isActive:
|
|
777
|
+
className: ({ isActive: o }) => V({ isActive: o }),
|
|
1038
778
|
to: q(e.id),
|
|
1039
779
|
onClick: t,
|
|
1040
780
|
children: [
|
|
1041
|
-
e.icon && /* @__PURE__ */
|
|
1042
|
-
e.badge ? /* @__PURE__ */
|
|
1043
|
-
/* @__PURE__ */
|
|
1044
|
-
/* @__PURE__ */
|
|
781
|
+
e.icon && /* @__PURE__ */ n.jsx(e.icon, { size: 16, className: "align-[-0.125em]" }),
|
|
782
|
+
e.badge ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
783
|
+
/* @__PURE__ */ n.jsx("span", { className: "truncate flex-1", title: e.label, children: e.label }),
|
|
784
|
+
/* @__PURE__ */ n.jsx(ne, { ...e.badge })
|
|
1045
785
|
] }) : e.label
|
|
1046
786
|
]
|
|
1047
787
|
}
|
|
1048
788
|
);
|
|
1049
789
|
case "link":
|
|
1050
|
-
return e.href.startsWith("#") ? /* @__PURE__ */
|
|
1051
|
-
|
|
790
|
+
return e.href.startsWith("#") ? /* @__PURE__ */ n.jsx(
|
|
791
|
+
Gt,
|
|
1052
792
|
{
|
|
1053
|
-
to: { hash: e.href, search:
|
|
1054
|
-
[
|
|
793
|
+
to: { hash: e.href, search: r.toString() },
|
|
794
|
+
[Ge]: e.href.slice(1),
|
|
1055
795
|
className: V({
|
|
1056
|
-
isActive: e.href.slice(1) ===
|
|
1057
|
-
className: ((
|
|
796
|
+
isActive: e.href.slice(1) === s,
|
|
797
|
+
className: ((a = e.badge) == null ? void 0 : a.placement) !== "start" && "justify-between"
|
|
1058
798
|
}),
|
|
1059
799
|
onClick: t,
|
|
1060
|
-
children: e.badge ? /* @__PURE__ */
|
|
1061
|
-
/* @__PURE__ */
|
|
1062
|
-
/* @__PURE__ */
|
|
1063
|
-
] }) : /* @__PURE__ */
|
|
800
|
+
children: e.badge ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
801
|
+
/* @__PURE__ */ n.jsx("span", { className: "truncate", title: e.label, children: e.label }),
|
|
802
|
+
/* @__PURE__ */ n.jsx(ne, { ...e.badge })
|
|
803
|
+
] }) : /* @__PURE__ */ n.jsx("span", { className: "break-all", children: e.label })
|
|
1064
804
|
}
|
|
1065
|
-
) : e.href.startsWith("http") ? /* @__PURE__ */
|
|
805
|
+
) : e.href.startsWith("http") ? /* @__PURE__ */ n.jsxs(
|
|
1066
806
|
"a",
|
|
1067
807
|
{
|
|
1068
808
|
className: V(),
|
|
@@ -1071,192 +811,192 @@ const Jr = ({
|
|
|
1071
811
|
rel: "noopener noreferrer",
|
|
1072
812
|
onClick: t,
|
|
1073
813
|
children: [
|
|
1074
|
-
/* @__PURE__ */
|
|
1075
|
-
/* @__PURE__ */
|
|
814
|
+
/* @__PURE__ */ n.jsx("span", { className: "whitespace-normal", children: e.label }),
|
|
815
|
+
/* @__PURE__ */ n.jsx("span", { className: "whitespace-nowrap", children: /* @__PURE__ */ n.jsx(Lt, { className: "inline -translate-y-0.5", size: 12 }) })
|
|
1076
816
|
]
|
|
1077
817
|
}
|
|
1078
|
-
) : /* @__PURE__ */
|
|
1079
|
-
|
|
818
|
+
) : /* @__PURE__ */ n.jsx(
|
|
819
|
+
ee,
|
|
1080
820
|
{
|
|
1081
821
|
className: V({
|
|
1082
|
-
className: ((
|
|
822
|
+
className: ((i = e.badge) == null ? void 0 : i.placement) !== "start" && "justify-between"
|
|
1083
823
|
}),
|
|
1084
824
|
to: e.href,
|
|
1085
|
-
children: e.badge ? /* @__PURE__ */
|
|
1086
|
-
/* @__PURE__ */
|
|
1087
|
-
/* @__PURE__ */
|
|
1088
|
-
] }) : /* @__PURE__ */
|
|
825
|
+
children: e.badge ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
826
|
+
/* @__PURE__ */ n.jsx("span", { className: "truncate", title: e.label, children: e.label }),
|
|
827
|
+
/* @__PURE__ */ n.jsx(ne, { ...e.badge })
|
|
828
|
+
] }) : /* @__PURE__ */ n.jsx("span", { className: "break-all", children: e.label })
|
|
1089
829
|
}
|
|
1090
830
|
);
|
|
1091
831
|
}
|
|
1092
|
-
},
|
|
832
|
+
}, Ms = (e, t = { block: "center" }) => {
|
|
1093
833
|
if (!e) return;
|
|
1094
|
-
const
|
|
1095
|
-
|
|
1096
|
-
},
|
|
1097
|
-
const e =
|
|
1098
|
-
|
|
834
|
+
const s = e.getBoundingClientRect();
|
|
835
|
+
s.top >= 0 && s.left >= 0 && s.bottom <= (window.innerHeight || document.documentElement.clientHeight) && s.right <= (window.innerWidth || document.documentElement.clientWidth) || e.scrollIntoView(t);
|
|
836
|
+
}, As = () => {
|
|
837
|
+
const e = de(), { setActiveAnchor: t } = xe();
|
|
838
|
+
R(() => {
|
|
1099
839
|
if (!e.hash) return;
|
|
1100
|
-
const
|
|
1101
|
-
const
|
|
1102
|
-
return
|
|
840
|
+
const s = decodeURIComponent(e.hash.split("/")[0].slice(1)), r = () => {
|
|
841
|
+
const a = document.getElementById(s), i = document.querySelector(`[${Ge}="${s}"]`);
|
|
842
|
+
return a ? (a.scrollIntoView(), Ms(i), requestIdleCallback(() => t(s)), !0) : !1;
|
|
1103
843
|
};
|
|
1104
|
-
if (!
|
|
1105
|
-
const
|
|
1106
|
-
|
|
844
|
+
if (!r()) {
|
|
845
|
+
const a = new MutationObserver((i, o) => {
|
|
846
|
+
r() && o.disconnect();
|
|
1107
847
|
});
|
|
1108
|
-
return
|
|
848
|
+
return a.observe(document.body, { childList: !0, subtree: !0 }), () => a.disconnect();
|
|
1109
849
|
}
|
|
1110
850
|
}, [e.hash, t]);
|
|
1111
|
-
},
|
|
1112
|
-
const e =
|
|
1113
|
-
|
|
851
|
+
}, Es = () => {
|
|
852
|
+
const e = de(), t = me(e.pathname);
|
|
853
|
+
R(() => {
|
|
1114
854
|
t.current !== e.pathname && (window.scrollTo(0, 0), t.current = e.pathname);
|
|
1115
855
|
}, [e.pathname]);
|
|
1116
856
|
};
|
|
1117
|
-
function
|
|
857
|
+
function Is({
|
|
1118
858
|
className: e,
|
|
1119
859
|
...t
|
|
1120
860
|
}) {
|
|
1121
|
-
return /* @__PURE__ */
|
|
861
|
+
return /* @__PURE__ */ n.jsx(
|
|
1122
862
|
"div",
|
|
1123
863
|
{
|
|
1124
|
-
className:
|
|
864
|
+
className: M("animate-pulse rounded-md bg-muted", e),
|
|
1125
865
|
...t
|
|
1126
866
|
}
|
|
1127
867
|
);
|
|
1128
868
|
}
|
|
1129
|
-
const
|
|
869
|
+
const Qs = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems == "function", Ts = (e) => "getRoutes" in e && typeof e.getRoutes == "function", qs = (e) => "renderSearch" in e && typeof e.renderSearch == "function", Rs = (e) => "initialize" in e && typeof e.initialize == "function", Fs = (e) => "getHead" in e && typeof e.getHead == "function", Bs = (e) => "getMdxComponents" in e && typeof e.getMdxComponents == "function", zs = (e) => "getIdentities" in e && typeof e.getIdentities == "function", Ie = {
|
|
1130
870
|
info: "bg-blue-500",
|
|
1131
871
|
note: "bg-gray-500",
|
|
1132
872
|
tip: "bg-green-600",
|
|
1133
873
|
caution: "bg-orange-500",
|
|
1134
874
|
danger: "bg-rose-500"
|
|
1135
|
-
},
|
|
1136
|
-
const { page: e } =
|
|
875
|
+
}, Hs = () => {
|
|
876
|
+
const { page: e } = T(), [t, s] = Q(!0);
|
|
1137
877
|
if (!(e != null && e.banner) || !t)
|
|
1138
|
-
return /* @__PURE__ */
|
|
1139
|
-
const
|
|
1140
|
-
return /* @__PURE__ */
|
|
878
|
+
return /* @__PURE__ */ n.jsx("style", { children: ":root { --banner-height: 0px; }" });
|
|
879
|
+
const r = e.banner.color && e.banner.color in Ie ? Ie[e.banner.color] : e.banner.color ? void 0 : "bg-primary", a = r ? {} : { backgroundColor: e.banner.color };
|
|
880
|
+
return /* @__PURE__ */ n.jsxs(
|
|
1141
881
|
"div",
|
|
1142
882
|
{
|
|
1143
|
-
className:
|
|
883
|
+
className: M(
|
|
1144
884
|
"relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
|
|
1145
|
-
|
|
885
|
+
r
|
|
1146
886
|
),
|
|
1147
|
-
style:
|
|
887
|
+
style: a,
|
|
1148
888
|
children: [
|
|
1149
|
-
/* @__PURE__ */
|
|
1150
|
-
e.banner.dismissible && /* @__PURE__ */
|
|
889
|
+
/* @__PURE__ */ n.jsx("div", { className: "w-full", children: e.banner.message }),
|
|
890
|
+
e.banner.dismissible && /* @__PURE__ */ n.jsx(
|
|
1151
891
|
"button",
|
|
1152
892
|
{
|
|
1153
893
|
type: "button",
|
|
1154
894
|
className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
|
|
1155
|
-
onClick: () =>
|
|
1156
|
-
children: /* @__PURE__ */
|
|
895
|
+
onClick: () => s(!1),
|
|
896
|
+
children: /* @__PURE__ */ n.jsx(Kt, { size: 16 })
|
|
1157
897
|
}
|
|
1158
898
|
)
|
|
1159
899
|
]
|
|
1160
900
|
}
|
|
1161
901
|
);
|
|
1162
|
-
},
|
|
1163
|
-
const t =
|
|
1164
|
-
|
|
1165
|
-
if (
|
|
902
|
+
}, et = ({ className: e }) => {
|
|
903
|
+
const t = T(), [s, r] = Q(!1), a = Tt(() => r(!1), []);
|
|
904
|
+
R(() => {
|
|
905
|
+
if (s)
|
|
1166
906
|
return;
|
|
1167
|
-
function
|
|
1168
|
-
|
|
907
|
+
function o(u) {
|
|
908
|
+
u.key === "k" && (u.metaKey || u.ctrlKey) && (u.preventDefault(), r(!0));
|
|
1169
909
|
}
|
|
1170
|
-
return window.addEventListener("keydown",
|
|
1171
|
-
window.removeEventListener("keydown",
|
|
910
|
+
return window.addEventListener("keydown", o), () => {
|
|
911
|
+
window.removeEventListener("keydown", o);
|
|
1172
912
|
};
|
|
1173
|
-
}, [
|
|
1174
|
-
const
|
|
1175
|
-
return
|
|
1176
|
-
/* @__PURE__ */
|
|
913
|
+
}, [s, r]);
|
|
914
|
+
const i = t.plugins.find(qs);
|
|
915
|
+
return i ? /* @__PURE__ */ n.jsxs("div", { className: e, children: [
|
|
916
|
+
/* @__PURE__ */ n.jsxs(
|
|
1177
917
|
"button",
|
|
1178
918
|
{
|
|
1179
919
|
type: "button",
|
|
1180
|
-
onClick: () =>
|
|
920
|
+
onClick: () => r(!0),
|
|
1181
921
|
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",
|
|
1182
922
|
children: [
|
|
1183
|
-
/* @__PURE__ */
|
|
1184
|
-
/* @__PURE__ */
|
|
923
|
+
/* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
|
|
924
|
+
/* @__PURE__ */ n.jsx($t, { size: 14 }),
|
|
1185
925
|
"Search"
|
|
1186
926
|
] }),
|
|
1187
|
-
/* @__PURE__ */
|
|
927
|
+
/* @__PURE__ */ n.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] 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: "⌘K" })
|
|
1188
928
|
]
|
|
1189
929
|
}
|
|
1190
930
|
),
|
|
1191
|
-
/* @__PURE__ */
|
|
1192
|
-
isOpen:
|
|
1193
|
-
onClose:
|
|
931
|
+
/* @__PURE__ */ n.jsx(ge, { fallback: null, children: i.renderSearch({
|
|
932
|
+
isOpen: s,
|
|
933
|
+
onClose: a
|
|
1194
934
|
}) })
|
|
1195
935
|
] }) : null;
|
|
1196
|
-
},
|
|
1197
|
-
const { resolvedTheme: e, setTheme: t } =
|
|
1198
|
-
return /* @__PURE__ */
|
|
1199
|
-
|
|
936
|
+
}, tt = () => {
|
|
937
|
+
const { resolvedTheme: e, setTheme: t } = ds(), s = e === "dark" ? Zt : Vt;
|
|
938
|
+
return /* @__PURE__ */ n.jsx(pe, { children: /* @__PURE__ */ n.jsx(
|
|
939
|
+
le,
|
|
1200
940
|
{
|
|
1201
941
|
variant: "ghost",
|
|
1202
942
|
"aria-label": e === "dark" ? "Switch to light mode" : "Switch to dark mode",
|
|
1203
943
|
className: "p-2.5 -m-2.5 rounded-full",
|
|
1204
944
|
onClick: () => t(e === "dark" ? "light" : "dark"),
|
|
1205
|
-
children: /* @__PURE__ */
|
|
945
|
+
children: /* @__PURE__ */ n.jsx(s, { size: 18 })
|
|
1206
946
|
}
|
|
1207
947
|
) });
|
|
1208
|
-
},
|
|
1209
|
-
const { topNavigation: e } =
|
|
1210
|
-
return e.length <= 1 ? /* @__PURE__ */
|
|
1211
|
-
},
|
|
948
|
+
}, st = (e) => (t) => t.display === "auth" && e || t.display === "anon" && !e || !t.display || t.display === "always", Ls = () => {
|
|
949
|
+
const { topNavigation: e } = T(), { isAuthenticated: t } = te();
|
|
950
|
+
return e.length <= 1 ? /* @__PURE__ */ n.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ n.jsx(ge, { children: /* @__PURE__ */ n.jsx("nav", { className: "hidden lg:block border-b text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: e.filter(st(t)).map((s) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(nt, { ...s }) }, s.id)) }) }) });
|
|
951
|
+
}, nt = ({
|
|
1212
952
|
id: e,
|
|
1213
953
|
label: t,
|
|
1214
|
-
default:
|
|
954
|
+
default: s
|
|
1215
955
|
}) => {
|
|
1216
956
|
var l;
|
|
1217
|
-
const { sidebars:
|
|
957
|
+
const { sidebars: r } = T(), a = r[e], i = $e(), o = !!he().location, u = ((l = i.topNavItem) == null ? void 0 : l.id) === e && !o, d = s ?? (a ? Mt(a, (f) => {
|
|
1218
958
|
if (f.type === "doc") return q(f.id);
|
|
1219
959
|
}) : q(e));
|
|
1220
960
|
if (!d)
|
|
1221
|
-
throw new
|
|
961
|
+
throw new fs("Page not found.", {
|
|
1222
962
|
developerHint: `No links found in top navigation for '${e}'. Check that the sidebar isn't empty or that a default link is set.`
|
|
1223
963
|
});
|
|
1224
964
|
return (
|
|
1225
965
|
// We don't use isActive here because it has to be inside the sidebar,
|
|
1226
966
|
// the top nav id doesn't necessarily start with the sidebar id
|
|
1227
|
-
/* @__PURE__ */
|
|
1228
|
-
|
|
967
|
+
/* @__PURE__ */ n.jsx(
|
|
968
|
+
ee,
|
|
1229
969
|
{
|
|
1230
|
-
className: ({ isPending: f }) =>
|
|
970
|
+
className: ({ isPending: f }) => Jt(
|
|
1231
971
|
"block lg:py-3.5 font-medium -mb-px border-b-2",
|
|
1232
|
-
|
|
972
|
+
u || f ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
|
|
1233
973
|
),
|
|
1234
974
|
to: d,
|
|
1235
975
|
children: t
|
|
1236
976
|
}
|
|
1237
977
|
)
|
|
1238
978
|
);
|
|
1239
|
-
},
|
|
1240
|
-
const { topNavigation: e } =
|
|
1241
|
-
return /* @__PURE__ */
|
|
1242
|
-
|
|
979
|
+
}, Ks = () => {
|
|
980
|
+
const { topNavigation: e } = T(), { isAuthenticated: t } = te(), [s, r] = Q(!1);
|
|
981
|
+
return /* @__PURE__ */ n.jsxs(
|
|
982
|
+
We,
|
|
1243
983
|
{
|
|
1244
984
|
direction: "right",
|
|
1245
|
-
open:
|
|
1246
|
-
onOpenChange: (
|
|
985
|
+
open: s,
|
|
986
|
+
onOpenChange: (a) => r(a),
|
|
1247
987
|
children: [
|
|
1248
|
-
/* @__PURE__ */
|
|
1249
|
-
/* @__PURE__ */
|
|
1250
|
-
|
|
988
|
+
/* @__PURE__ */ n.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ n.jsx(Xe, { className: "lg:hidden", children: /* @__PURE__ */ n.jsx(Ut, { size: 22 }) }) }),
|
|
989
|
+
/* @__PURE__ */ n.jsx(
|
|
990
|
+
_e,
|
|
1251
991
|
{
|
|
1252
992
|
className: "lg:hidden h-[100dvh] right-0 left-auto w-[320px] rounded-none",
|
|
1253
993
|
"aria-describedby": void 0,
|
|
1254
|
-
children: /* @__PURE__ */
|
|
1255
|
-
/* @__PURE__ */
|
|
1256
|
-
/* @__PURE__ */
|
|
1257
|
-
/* @__PURE__ */
|
|
1258
|
-
/* @__PURE__ */
|
|
1259
|
-
e.filter(
|
|
994
|
+
children: /* @__PURE__ */ n.jsxs("div", { className: "p-6 overflow-y-auto overscroll-none", children: [
|
|
995
|
+
/* @__PURE__ */ n.jsx(Je, { children: /* @__PURE__ */ n.jsx(Ye, { children: "Navigation" }) }),
|
|
996
|
+
/* @__PURE__ */ n.jsx(et, { className: "flex p-4" }),
|
|
997
|
+
/* @__PURE__ */ n.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
|
|
998
|
+
/* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(tt, {}) }),
|
|
999
|
+
e.filter(st(t)).map((a) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("button", { onClick: () => r(!1), children: /* @__PURE__ */ n.jsx(nt, { ...a }) }) }, a.label))
|
|
1260
1000
|
] })
|
|
1261
1001
|
] })
|
|
1262
1002
|
}
|
|
@@ -1264,191 +1004,191 @@ const aa = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems ==
|
|
|
1264
1004
|
]
|
|
1265
1005
|
}
|
|
1266
1006
|
);
|
|
1267
|
-
},
|
|
1268
|
-
/* @__PURE__ */
|
|
1269
|
-
/* @__PURE__ */
|
|
1007
|
+
}, G = ({ item: e }) => e.children ? /* @__PURE__ */ n.jsxs(is, { children: [
|
|
1008
|
+
/* @__PURE__ */ n.jsx(os, { children: e.label }),
|
|
1009
|
+
/* @__PURE__ */ n.jsx(ls, { children: /* @__PURE__ */ n.jsx(cs, { children: e.children.map((t, s) => (
|
|
1270
1010
|
// eslint-disable-next-line react/no-array-index-key
|
|
1271
|
-
/* @__PURE__ */
|
|
1011
|
+
/* @__PURE__ */ n.jsx(G, { item: t }, s)
|
|
1272
1012
|
)) }) })
|
|
1273
|
-
] }, e.label) : /* @__PURE__ */
|
|
1274
|
-
e.icon && /* @__PURE__ */
|
|
1013
|
+
] }, e.label) : /* @__PURE__ */ n.jsx(fe, { to: e.path ?? "", children: /* @__PURE__ */ n.jsxs(us, { className: "flex gap-2", children: [
|
|
1014
|
+
e.icon && /* @__PURE__ */ n.jsx(e.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
|
|
1275
1015
|
e.label
|
|
1276
|
-
] }, e.label) }),
|
|
1277
|
-
const t =
|
|
1278
|
-
return /* @__PURE__ */
|
|
1279
|
-
/* @__PURE__ */
|
|
1280
|
-
/* @__PURE__ */
|
|
1281
|
-
/* @__PURE__ */
|
|
1282
|
-
/* @__PURE__ */
|
|
1283
|
-
(
|
|
1284
|
-
/* @__PURE__ */
|
|
1016
|
+
] }, e.label) }), rt = Ve(function() {
|
|
1017
|
+
const t = te(), { isAuthenticated: s, profile: r, isAuthEnabled: a } = te(), i = T(), { page: o, plugins: u } = i, d = u.filter((l) => Qs(l)).flatMap((l) => l.getProfileMenuItems(i)).sort((l) => l.weight ?? 0);
|
|
1018
|
+
return /* @__PURE__ */ n.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
|
|
1019
|
+
/* @__PURE__ */ n.jsx(Hs, {}),
|
|
1020
|
+
/* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
|
|
1021
|
+
/* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-2 lg:grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b px-10 lg:px-12 h-[--top-header-height]", children: [
|
|
1022
|
+
/* @__PURE__ */ n.jsx("div", { className: "flex", children: /* @__PURE__ */ n.jsx(fe, { to: "/", children: /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-3.5", children: [
|
|
1023
|
+
(o == null ? void 0 : o.logo) && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1024
|
+
/* @__PURE__ */ n.jsx(
|
|
1285
1025
|
"img",
|
|
1286
1026
|
{
|
|
1287
|
-
src: /https?:\/\//.test(
|
|
1027
|
+
src: /https?:\/\//.test(o.logo.src.light) ? o.logo.src.light : q(
|
|
1288
1028
|
"/",
|
|
1289
|
-
|
|
1029
|
+
o.logo.src.light
|
|
1290
1030
|
),
|
|
1291
|
-
alt:
|
|
1292
|
-
style: { width:
|
|
1031
|
+
alt: o.logo.alt ?? o.pageTitle,
|
|
1032
|
+
style: { width: o.logo.width },
|
|
1293
1033
|
className: "h-10 dark:hidden",
|
|
1294
1034
|
loading: "lazy"
|
|
1295
1035
|
}
|
|
1296
1036
|
),
|
|
1297
|
-
/* @__PURE__ */
|
|
1037
|
+
/* @__PURE__ */ n.jsx(
|
|
1298
1038
|
"img",
|
|
1299
1039
|
{
|
|
1300
|
-
src: /https?:\/\//.test(
|
|
1040
|
+
src: /https?:\/\//.test(o.logo.src.dark) ? o.logo.src.dark : q(
|
|
1301
1041
|
"/",
|
|
1302
|
-
|
|
1042
|
+
o.logo.src.dark
|
|
1303
1043
|
),
|
|
1304
|
-
alt:
|
|
1305
|
-
style: { width:
|
|
1044
|
+
alt: o.logo.alt ?? o.pageTitle,
|
|
1045
|
+
style: { width: o.logo.width },
|
|
1306
1046
|
className: "h-10 hidden dark:block",
|
|
1307
1047
|
loading: "lazy"
|
|
1308
1048
|
}
|
|
1309
1049
|
)
|
|
1310
1050
|
] }),
|
|
1311
|
-
/* @__PURE__ */
|
|
1051
|
+
/* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: o == null ? void 0 : o.pageTitle })
|
|
1312
1052
|
] }) }) }),
|
|
1313
|
-
/* @__PURE__ */
|
|
1314
|
-
/* @__PURE__ */
|
|
1315
|
-
/* @__PURE__ */
|
|
1316
|
-
/* @__PURE__ */
|
|
1317
|
-
/* @__PURE__ */
|
|
1318
|
-
|
|
1319
|
-
|
|
1053
|
+
/* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
|
|
1054
|
+
/* @__PURE__ */ n.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ n.jsx(et, {}) }),
|
|
1055
|
+
/* @__PURE__ */ n.jsx(Ks, {}),
|
|
1056
|
+
/* @__PURE__ */ n.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
|
|
1057
|
+
/* @__PURE__ */ n.jsx(D, { name: "head-navigation-start" }),
|
|
1058
|
+
a && /* @__PURE__ */ n.jsx(
|
|
1059
|
+
pe,
|
|
1320
1060
|
{
|
|
1321
|
-
fallback: /* @__PURE__ */
|
|
1322
|
-
children:
|
|
1323
|
-
/* @__PURE__ */
|
|
1324
|
-
/* @__PURE__ */
|
|
1325
|
-
/* @__PURE__ */
|
|
1326
|
-
|
|
1327
|
-
(
|
|
1061
|
+
fallback: /* @__PURE__ */ n.jsx(Is, { className: "rounded h-5 w-24 mr-4" }),
|
|
1062
|
+
children: s ? Object.values(d).length > 0 && /* @__PURE__ */ n.jsxs(ss, { modal: !1, children: [
|
|
1063
|
+
/* @__PURE__ */ n.jsx(ns, { asChild: !0, children: /* @__PURE__ */ n.jsx(le, { variant: "ghost", children: r != null && r.name ? `${r.name}` : "My Account" }) }),
|
|
1064
|
+
/* @__PURE__ */ n.jsxs(rs, { className: "w-56", children: [
|
|
1065
|
+
/* @__PURE__ */ n.jsxs(as, { children: [
|
|
1066
|
+
r != null && r.name ? `${r.name}` : "My Account",
|
|
1067
|
+
(r == null ? void 0 : r.email) && /* @__PURE__ */ n.jsx("div", { className: "font-normal text-muted-foreground", children: r.email })
|
|
1328
1068
|
] }),
|
|
1329
|
-
d.filter((l) => l.category === "top").length > 0 && /* @__PURE__ */
|
|
1330
|
-
d.filter((l) => l.category === "top").map((l) => /* @__PURE__ */
|
|
1069
|
+
d.filter((l) => l.category === "top").length > 0 && /* @__PURE__ */ n.jsx(ae, {}),
|
|
1070
|
+
d.filter((l) => l.category === "top").map((l) => /* @__PURE__ */ n.jsx(G, { item: l }, l.label)),
|
|
1331
1071
|
d.filter(
|
|
1332
1072
|
(l) => !l.category || l.category === "middle"
|
|
1333
|
-
).length > 0 && /* @__PURE__ */
|
|
1073
|
+
).length > 0 && /* @__PURE__ */ n.jsx(ae, {}),
|
|
1334
1074
|
d.filter(
|
|
1335
1075
|
(l) => !l.category || l.category === "middle"
|
|
1336
|
-
).map((l) => /* @__PURE__ */
|
|
1337
|
-
d.filter((l) => l.category === "bottom").length > 0 && /* @__PURE__ */
|
|
1338
|
-
d.filter((l) => l.category === "bottom").map((l) => /* @__PURE__ */
|
|
1076
|
+
).map((l) => /* @__PURE__ */ n.jsx(G, { item: l }, l.label)),
|
|
1077
|
+
d.filter((l) => l.category === "bottom").length > 0 && /* @__PURE__ */ n.jsx(ae, {}),
|
|
1078
|
+
d.filter((l) => l.category === "bottom").map((l) => /* @__PURE__ */ n.jsx(G, { item: l }, l.label))
|
|
1339
1079
|
] })
|
|
1340
|
-
] }) : /* @__PURE__ */
|
|
1080
|
+
] }) : /* @__PURE__ */ n.jsx(le, { variant: "ghost", onClick: () => t.login(), children: "Login" })
|
|
1341
1081
|
}
|
|
1342
1082
|
),
|
|
1343
|
-
/* @__PURE__ */
|
|
1344
|
-
/* @__PURE__ */
|
|
1083
|
+
/* @__PURE__ */ n.jsx(tt, {}),
|
|
1084
|
+
/* @__PURE__ */ n.jsx(D, { name: "head-navigation-end" })
|
|
1345
1085
|
] })
|
|
1346
1086
|
] })
|
|
1347
1087
|
] }),
|
|
1348
|
-
/* @__PURE__ */
|
|
1349
|
-
/* @__PURE__ */
|
|
1350
|
-
/* @__PURE__ */
|
|
1088
|
+
/* @__PURE__ */ n.jsx(D, { name: "top-navigation-before" }),
|
|
1089
|
+
/* @__PURE__ */ n.jsx(Ls, {}),
|
|
1090
|
+
/* @__PURE__ */ n.jsx(D, { name: "top-navigation-after" })
|
|
1351
1091
|
] })
|
|
1352
1092
|
] });
|
|
1353
|
-
}),
|
|
1093
|
+
}), at = qt(({ children: e, className: t, pushMainContent: s }, r) => /* @__PURE__ */ n.jsx(
|
|
1354
1094
|
"nav",
|
|
1355
1095
|
{
|
|
1356
|
-
"data-navigation": String(
|
|
1357
|
-
className:
|
|
1096
|
+
"data-navigation": String(s),
|
|
1097
|
+
className: M(
|
|
1358
1098
|
"scrollbar peer hidden lg:flex flex-col fixed text-sm overflow-y-auto shrink-0",
|
|
1359
1099
|
"-mx-[--padding-nav-item] pb-20 mt-[--padding-content-top]",
|
|
1360
1100
|
"w-[--side-nav-width] h-[calc(100%-var(--header-height))] scroll-pt-2 gap-2",
|
|
1361
1101
|
t
|
|
1362
1102
|
),
|
|
1363
|
-
ref:
|
|
1103
|
+
ref: r,
|
|
1364
1104
|
children: e
|
|
1365
1105
|
}
|
|
1366
1106
|
));
|
|
1367
|
-
|
|
1368
|
-
const
|
|
1107
|
+
at.displayName = "SidebarWrapper";
|
|
1108
|
+
const $s = ({
|
|
1369
1109
|
onRequestClose: e
|
|
1370
1110
|
}) => {
|
|
1371
|
-
const t =
|
|
1372
|
-
return /* @__PURE__ */
|
|
1373
|
-
/* @__PURE__ */
|
|
1374
|
-
|
|
1111
|
+
const t = me(null), s = $e();
|
|
1112
|
+
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1113
|
+
/* @__PURE__ */ n.jsxs(
|
|
1114
|
+
at,
|
|
1375
1115
|
{
|
|
1376
1116
|
ref: t,
|
|
1377
|
-
pushMainContent:
|
|
1117
|
+
pushMainContent: s.sidebar.length > 0,
|
|
1378
1118
|
children: [
|
|
1379
|
-
/* @__PURE__ */
|
|
1380
|
-
|
|
1381
|
-
/* @__PURE__ */
|
|
1119
|
+
/* @__PURE__ */ n.jsx(D, { name: "zudoku-before-navigation" }),
|
|
1120
|
+
s.sidebar.map((r) => /* @__PURE__ */ n.jsx(ce, { item: r }, r.label)),
|
|
1121
|
+
/* @__PURE__ */ n.jsx(D, { name: "zudoku-after-navigation" })
|
|
1382
1122
|
]
|
|
1383
1123
|
}
|
|
1384
1124
|
),
|
|
1385
|
-
/* @__PURE__ */
|
|
1386
|
-
|
|
1125
|
+
/* @__PURE__ */ n.jsx(
|
|
1126
|
+
_e,
|
|
1387
1127
|
{
|
|
1388
1128
|
className: "lg:hidden h-[100dvh] left-0 w-[320px] rounded-none",
|
|
1389
1129
|
"aria-describedby": void 0,
|
|
1390
|
-
children: /* @__PURE__ */
|
|
1391
|
-
/* @__PURE__ */
|
|
1392
|
-
|
|
1393
|
-
|
|
1130
|
+
children: /* @__PURE__ */ n.jsxs("div", { className: "p-6 overflow-y-auto overscroll-none", children: [
|
|
1131
|
+
/* @__PURE__ */ n.jsx(Je, { children: /* @__PURE__ */ n.jsx(Ye, { children: "Sidebar" }) }),
|
|
1132
|
+
s.sidebar.map((r) => /* @__PURE__ */ n.jsx(
|
|
1133
|
+
ce,
|
|
1394
1134
|
{
|
|
1395
|
-
item:
|
|
1135
|
+
item: r,
|
|
1396
1136
|
onRequestClose: e
|
|
1397
1137
|
},
|
|
1398
|
-
|
|
1138
|
+
r.label
|
|
1399
1139
|
))
|
|
1400
1140
|
] })
|
|
1401
1141
|
}
|
|
1402
1142
|
)
|
|
1403
1143
|
] });
|
|
1404
|
-
},
|
|
1405
|
-
const t =
|
|
1406
|
-
|
|
1407
|
-
const
|
|
1408
|
-
|
|
1144
|
+
}, Qe = () => /* @__PURE__ */ n.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ n.jsx(ms, {}) }), Zs = ({ children: e }) => {
|
|
1145
|
+
const t = de(), { setActiveAnchor: s } = xe(), { meta: r, authentication: a } = T();
|
|
1146
|
+
As(), Es();
|
|
1147
|
+
const i = me(t.pathname);
|
|
1148
|
+
R(() => {
|
|
1409
1149
|
var f;
|
|
1410
|
-
(f =
|
|
1411
|
-
}, [
|
|
1412
|
-
t.pathname !==
|
|
1413
|
-
}, [t.pathname,
|
|
1414
|
-
const
|
|
1150
|
+
(f = a == null ? void 0 : a.onPageLoad) == null || f.call(a);
|
|
1151
|
+
}, [a]), R(() => {
|
|
1152
|
+
t.pathname !== i.current && s(""), i.current = t.pathname;
|
|
1153
|
+
}, [t.pathname, s]);
|
|
1154
|
+
const o = !!he().location, u = Ds.useSpinDelay(o, {
|
|
1415
1155
|
delay: 300,
|
|
1416
1156
|
minDuration: 500
|
|
1417
1157
|
}), [d, l] = Q(!1);
|
|
1418
|
-
return /* @__PURE__ */
|
|
1158
|
+
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1419
1159
|
!1,
|
|
1420
|
-
/* @__PURE__ */
|
|
1421
|
-
(
|
|
1422
|
-
(
|
|
1160
|
+
/* @__PURE__ */ n.jsxs(ue, { titleTemplate: r == null ? void 0 : r.title, children: [
|
|
1161
|
+
(r == null ? void 0 : r.description) && /* @__PURE__ */ n.jsx("meta", { name: "description", content: r.description }),
|
|
1162
|
+
(r == null ? void 0 : r.favicon) && /* @__PURE__ */ n.jsx("link", { rel: "icon", href: r.favicon })
|
|
1423
1163
|
] }),
|
|
1424
|
-
/* @__PURE__ */
|
|
1425
|
-
/* @__PURE__ */
|
|
1426
|
-
/* @__PURE__ */
|
|
1427
|
-
/* @__PURE__ */
|
|
1428
|
-
|
|
1164
|
+
/* @__PURE__ */ n.jsx(D, { name: "layout-before-head" }),
|
|
1165
|
+
/* @__PURE__ */ n.jsx(rt, {}),
|
|
1166
|
+
/* @__PURE__ */ n.jsx(D, { name: "layout-after-head" }),
|
|
1167
|
+
/* @__PURE__ */ n.jsx("div", { className: "w-full max-w-screen-2xl mx-auto px-10 lg:px-12", children: u ? /* @__PURE__ */ n.jsx(Qe, {}) : /* @__PURE__ */ n.jsx(ge, { fallback: /* @__PURE__ */ n.jsx(Qe, {}), children: /* @__PURE__ */ n.jsxs(
|
|
1168
|
+
We,
|
|
1429
1169
|
{
|
|
1430
1170
|
direction: "left",
|
|
1431
1171
|
open: d,
|
|
1432
1172
|
onOpenChange: (f) => l(f),
|
|
1433
1173
|
children: [
|
|
1434
|
-
/* @__PURE__ */
|
|
1435
|
-
/* @__PURE__ */
|
|
1174
|
+
/* @__PURE__ */ n.jsx($s, { onRequestClose: () => l(!1) }),
|
|
1175
|
+
/* @__PURE__ */ n.jsx(
|
|
1436
1176
|
"div",
|
|
1437
1177
|
{
|
|
1438
|
-
className:
|
|
1178
|
+
className: M(
|
|
1439
1179
|
"lg:hidden -mx-10 px-10 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b",
|
|
1440
1180
|
"peer-data-[navigation=false]:hidden"
|
|
1441
1181
|
),
|
|
1442
|
-
children: /* @__PURE__ */
|
|
1443
|
-
/* @__PURE__ */
|
|
1444
|
-
/* @__PURE__ */
|
|
1182
|
+
children: /* @__PURE__ */ n.jsxs(Xe, { className: "flex items-center gap-2", children: [
|
|
1183
|
+
/* @__PURE__ */ n.jsx(Wt, { size: 16, strokeWidth: 1.5 }),
|
|
1184
|
+
/* @__PURE__ */ n.jsx("span", { className: "text-sm", children: "Menu" })
|
|
1445
1185
|
] })
|
|
1446
1186
|
}
|
|
1447
1187
|
),
|
|
1448
|
-
/* @__PURE__ */
|
|
1188
|
+
/* @__PURE__ */ n.jsxs(
|
|
1449
1189
|
"main",
|
|
1450
1190
|
{
|
|
1451
|
-
className:
|
|
1191
|
+
className: M(
|
|
1452
1192
|
"h-full dark:border-white/10 translate-x-0",
|
|
1453
1193
|
"lg:overflow-visible",
|
|
1454
1194
|
// This works in tandem with the `SidebarWrapper` component
|
|
@@ -1456,9 +1196,9 @@ const fa = ({
|
|
|
1456
1196
|
"lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] lg:peer-data-[navigation=true]:pl-12"
|
|
1457
1197
|
),
|
|
1458
1198
|
children: [
|
|
1459
|
-
/* @__PURE__ */
|
|
1460
|
-
e ?? /* @__PURE__ */
|
|
1461
|
-
/* @__PURE__ */
|
|
1199
|
+
/* @__PURE__ */ n.jsx(D, { name: "zudoku-before-content" }),
|
|
1200
|
+
e ?? /* @__PURE__ */ n.jsx(Be, {}),
|
|
1201
|
+
/* @__PURE__ */ n.jsx(D, { name: "zudoku-after-content" })
|
|
1462
1202
|
]
|
|
1463
1203
|
}
|
|
1464
1204
|
)
|
|
@@ -1466,13 +1206,13 @@ const fa = ({
|
|
|
1466
1206
|
}
|
|
1467
1207
|
) }) })
|
|
1468
1208
|
] });
|
|
1469
|
-
},
|
|
1209
|
+
}, Vs = Ue(null), ie = {
|
|
1470
1210
|
didCatch: !1,
|
|
1471
1211
|
error: null
|
|
1472
1212
|
};
|
|
1473
|
-
class
|
|
1213
|
+
class Us extends Rt {
|
|
1474
1214
|
constructor(t) {
|
|
1475
|
-
super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state =
|
|
1215
|
+
super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = ie;
|
|
1476
1216
|
}
|
|
1477
1217
|
static getDerivedStateFromError(t) {
|
|
1478
1218
|
return {
|
|
@@ -1485,174 +1225,174 @@ class pa extends Ut {
|
|
|
1485
1225
|
error: t
|
|
1486
1226
|
} = this.state;
|
|
1487
1227
|
if (t !== null) {
|
|
1488
|
-
for (var
|
|
1489
|
-
o
|
|
1490
|
-
(
|
|
1491
|
-
args:
|
|
1228
|
+
for (var s, r, a = arguments.length, i = new Array(a), o = 0; o < a; o++)
|
|
1229
|
+
i[o] = arguments[o];
|
|
1230
|
+
(s = (r = this.props).onReset) === null || s === void 0 || s.call(r, {
|
|
1231
|
+
args: i,
|
|
1492
1232
|
reason: "imperative-api"
|
|
1493
|
-
}), this.setState(
|
|
1233
|
+
}), this.setState(ie);
|
|
1494
1234
|
}
|
|
1495
1235
|
}
|
|
1496
|
-
componentDidCatch(t,
|
|
1497
|
-
var
|
|
1498
|
-
(
|
|
1236
|
+
componentDidCatch(t, s) {
|
|
1237
|
+
var r, a;
|
|
1238
|
+
(r = (a = this.props).onError) === null || r === void 0 || r.call(a, t, s);
|
|
1499
1239
|
}
|
|
1500
|
-
componentDidUpdate(t,
|
|
1240
|
+
componentDidUpdate(t, s) {
|
|
1501
1241
|
const {
|
|
1502
|
-
didCatch:
|
|
1242
|
+
didCatch: r
|
|
1503
1243
|
} = this.state, {
|
|
1504
|
-
resetKeys:
|
|
1244
|
+
resetKeys: a
|
|
1505
1245
|
} = this.props;
|
|
1506
|
-
if (
|
|
1507
|
-
var
|
|
1508
|
-
(
|
|
1509
|
-
next:
|
|
1246
|
+
if (r && s.error !== null && Ws(t.resetKeys, a)) {
|
|
1247
|
+
var i, o;
|
|
1248
|
+
(i = (o = this.props).onReset) === null || i === void 0 || i.call(o, {
|
|
1249
|
+
next: a,
|
|
1510
1250
|
prev: t.resetKeys,
|
|
1511
1251
|
reason: "keys"
|
|
1512
|
-
}), this.setState(
|
|
1252
|
+
}), this.setState(ie);
|
|
1513
1253
|
}
|
|
1514
1254
|
}
|
|
1515
1255
|
render() {
|
|
1516
1256
|
const {
|
|
1517
1257
|
children: t,
|
|
1518
|
-
fallbackRender:
|
|
1519
|
-
FallbackComponent:
|
|
1520
|
-
fallback:
|
|
1258
|
+
fallbackRender: s,
|
|
1259
|
+
FallbackComponent: r,
|
|
1260
|
+
fallback: a
|
|
1521
1261
|
} = this.props, {
|
|
1522
|
-
didCatch:
|
|
1523
|
-
error:
|
|
1262
|
+
didCatch: i,
|
|
1263
|
+
error: o
|
|
1524
1264
|
} = this.state;
|
|
1525
|
-
let
|
|
1526
|
-
if (
|
|
1265
|
+
let u = t;
|
|
1266
|
+
if (i) {
|
|
1527
1267
|
const d = {
|
|
1528
|
-
error:
|
|
1268
|
+
error: o,
|
|
1529
1269
|
resetErrorBoundary: this.resetErrorBoundary
|
|
1530
1270
|
};
|
|
1531
|
-
if (typeof
|
|
1532
|
-
|
|
1533
|
-
else if (
|
|
1534
|
-
|
|
1535
|
-
else if (
|
|
1536
|
-
|
|
1271
|
+
if (typeof s == "function")
|
|
1272
|
+
u = s(d);
|
|
1273
|
+
else if (r)
|
|
1274
|
+
u = De(r, d);
|
|
1275
|
+
else if (a !== void 0)
|
|
1276
|
+
u = a;
|
|
1537
1277
|
else
|
|
1538
|
-
throw
|
|
1278
|
+
throw o;
|
|
1539
1279
|
}
|
|
1540
|
-
return
|
|
1280
|
+
return De(Vs.Provider, {
|
|
1541
1281
|
value: {
|
|
1542
|
-
didCatch:
|
|
1543
|
-
error:
|
|
1282
|
+
didCatch: i,
|
|
1283
|
+
error: o,
|
|
1544
1284
|
resetErrorBoundary: this.resetErrorBoundary
|
|
1545
1285
|
}
|
|
1546
|
-
},
|
|
1286
|
+
}, u);
|
|
1547
1287
|
}
|
|
1548
1288
|
}
|
|
1549
|
-
function
|
|
1289
|
+
function Ws() {
|
|
1550
1290
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
1551
|
-
return e.length !== t.length || e.some((
|
|
1291
|
+
return e.length !== t.length || e.some((s, r) => !Object.is(s, t[r]));
|
|
1552
1292
|
}
|
|
1553
|
-
class
|
|
1293
|
+
class Xs {
|
|
1554
1294
|
constructor(t) {
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1295
|
+
k(this, "plugins");
|
|
1296
|
+
k(this, "sidebars");
|
|
1297
|
+
k(this, "topNavigation");
|
|
1298
|
+
k(this, "meta");
|
|
1299
|
+
k(this, "page");
|
|
1300
|
+
k(this, "authentication");
|
|
1301
|
+
k(this, "navigationPlugins");
|
|
1302
|
+
k(this, "initialize", async () => {
|
|
1563
1303
|
await Promise.all(
|
|
1564
|
-
this.plugins.filter(
|
|
1565
|
-
var
|
|
1566
|
-
return (
|
|
1304
|
+
this.plugins.filter(Rs).map((t) => {
|
|
1305
|
+
var s;
|
|
1306
|
+
return (s = t.initialize) == null ? void 0 : s.call(t, this);
|
|
1567
1307
|
})
|
|
1568
1308
|
);
|
|
1569
1309
|
});
|
|
1570
|
-
|
|
1571
|
-
this.plugins.filter(
|
|
1310
|
+
k(this, "getApiIdentities", async () => (await Promise.all(
|
|
1311
|
+
this.plugins.filter(zs).map((s) => s.getIdentities(this))
|
|
1572
1312
|
)).flat());
|
|
1573
|
-
|
|
1313
|
+
k(this, "getPluginSidebar", async (t) => (await Promise.all(
|
|
1574
1314
|
this.navigationPlugins.map(
|
|
1575
|
-
(
|
|
1576
|
-
var
|
|
1577
|
-
return (
|
|
1315
|
+
(r) => {
|
|
1316
|
+
var a;
|
|
1317
|
+
return (a = r.getSidebar) == null ? void 0 : a.call(r, q(t));
|
|
1578
1318
|
}
|
|
1579
1319
|
)
|
|
1580
|
-
)).flatMap((
|
|
1581
|
-
|
|
1320
|
+
)).flatMap((r) => r ?? []));
|
|
1321
|
+
k(this, "signRequest", async (t) => {
|
|
1582
1322
|
if (!this.authentication)
|
|
1583
1323
|
throw new Error("No authentication provider configured");
|
|
1584
|
-
const
|
|
1585
|
-
return t.headers.set("Authorization", `Bearer ${
|
|
1324
|
+
const s = await this.authentication.getAccessToken();
|
|
1325
|
+
return t.headers.set("Authorization", `Bearer ${s}`), t;
|
|
1586
1326
|
});
|
|
1587
|
-
this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(
|
|
1327
|
+
this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(Ts), this.authentication = t.authentication, this.meta = t.metadata, this.page = t.page;
|
|
1588
1328
|
}
|
|
1589
1329
|
}
|
|
1590
|
-
function
|
|
1591
|
-
return /* @__PURE__ */
|
|
1330
|
+
function _s({ error: e, resetErrorBoundary: t }) {
|
|
1331
|
+
return /* @__PURE__ */ n.jsx(ze, { error: e });
|
|
1592
1332
|
}
|
|
1593
|
-
const
|
|
1594
|
-
(!
|
|
1595
|
-
const
|
|
1596
|
-
Header:
|
|
1597
|
-
},
|
|
1333
|
+
const J = globalThis;
|
|
1334
|
+
(!J.requestIdleCallback || !J.cancelIdleCallback) && (J.requestIdleCallback = (e) => setTimeout(e, 1), J.cancelIdleCallback = clearTimeout);
|
|
1335
|
+
const it = {
|
|
1336
|
+
Header: rt
|
|
1337
|
+
}, Ys = Ue(it), Js = Ys.Provider, Gs = ({
|
|
1598
1338
|
children: e,
|
|
1599
1339
|
context: t
|
|
1600
|
-
}) => (
|
|
1340
|
+
}) => (At({
|
|
1601
1341
|
queryFn: async () => (await t.initialize(), !0),
|
|
1602
1342
|
queryKey: ["zudoku-initialize"]
|
|
1603
|
-
}), /* @__PURE__ */
|
|
1343
|
+
}), /* @__PURE__ */ n.jsx(Et.Provider, { value: t, children: e })), ot = Ve(
|
|
1604
1344
|
({ children: e, ...t }) => {
|
|
1605
1345
|
var m, h;
|
|
1606
|
-
const
|
|
1607
|
-
() => ({ ...
|
|
1346
|
+
const s = se(
|
|
1347
|
+
() => ({ ...it, ...t.overrides }),
|
|
1608
1348
|
[t.overrides]
|
|
1609
|
-
),
|
|
1610
|
-
var
|
|
1349
|
+
), r = se(() => {
|
|
1350
|
+
var x;
|
|
1611
1351
|
return {
|
|
1612
|
-
...(t.plugins ?? []).filter(
|
|
1352
|
+
...(t.plugins ?? []).filter(Bs).flatMap(
|
|
1613
1353
|
(g) => g.getMdxComponents ? [g.getMdxComponents()] : []
|
|
1614
1354
|
).reduce(
|
|
1615
|
-
(g,
|
|
1355
|
+
(g, N) => ({ ...g, ...N }),
|
|
1616
1356
|
{}
|
|
1617
1357
|
),
|
|
1618
|
-
...
|
|
1619
|
-
...(
|
|
1358
|
+
...Xt,
|
|
1359
|
+
...(x = t.mdx) == null ? void 0 : x.components
|
|
1620
1360
|
};
|
|
1621
|
-
}, [(m = t.mdx) == null ? void 0 : m.components, t.plugins]), { stagger:
|
|
1622
|
-
() =>
|
|
1623
|
-
[
|
|
1624
|
-
), d =
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
}, [
|
|
1628
|
-
const [l] = Q(() => new
|
|
1361
|
+
}, [(m = t.mdx) == null ? void 0 : m.components, t.plugins]), { stagger: a } = Ft(oe), [i, o] = Q(!1), u = se(
|
|
1362
|
+
() => i ? { stagger: !0 } : { stagger: a },
|
|
1363
|
+
[a, i]
|
|
1364
|
+
), d = he();
|
|
1365
|
+
R(() => {
|
|
1366
|
+
i || o(!0);
|
|
1367
|
+
}, [i, d.location]);
|
|
1368
|
+
const [l] = Q(() => new Xs(t)), f = (h = t.plugins) == null ? void 0 : h.filter(Fs).map((p, x) => {
|
|
1629
1369
|
var g;
|
|
1630
|
-
return /* @__PURE__ */
|
|
1370
|
+
return /* @__PURE__ */ n.jsx(Bt, { children: (g = p.getHead) == null ? void 0 : g.call(p) }, x);
|
|
1631
1371
|
});
|
|
1632
|
-
return /* @__PURE__ */
|
|
1633
|
-
/* @__PURE__ */
|
|
1634
|
-
/* @__PURE__ */
|
|
1372
|
+
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1373
|
+
/* @__PURE__ */ n.jsx(ue, { children: f }),
|
|
1374
|
+
/* @__PURE__ */ n.jsx(oe.Provider, { value: u, children: /* @__PURE__ */ n.jsx(Gs, { context: l, children: /* @__PURE__ */ n.jsx(es, { components: r, children: /* @__PURE__ */ n.jsx(hs, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ n.jsx(Js, { value: s, children: /* @__PURE__ */ n.jsx(xt, { slotlets: t.slotlets, children: /* @__PURE__ */ n.jsx(_t, { children: e ?? /* @__PURE__ */ n.jsx(Be, {}) }) }) }) }) }) }) })
|
|
1635
1375
|
] });
|
|
1636
1376
|
}
|
|
1637
1377
|
);
|
|
1638
|
-
|
|
1639
|
-
const
|
|
1640
|
-
|
|
1641
|
-
const
|
|
1378
|
+
ot.displayName = "ZudokoInner";
|
|
1379
|
+
const lt = (e) => /* @__PURE__ */ n.jsx(Us, { FallbackComponent: _s, children: /* @__PURE__ */ n.jsx(ot, { ...e }) });
|
|
1380
|
+
lt.displayName = "Zudoku";
|
|
1381
|
+
const Pn = ts, Sn = Zs, Dn = yt, On = gs, Mn = Cs, An = Ns, En = ue, In = T, Qn = pt, Tn = lt, qn = bt, Rn = pe, Fn = vt, Bn = fe;
|
|
1642
1382
|
export {
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1383
|
+
Mn as Bootstrap,
|
|
1384
|
+
An as BootstrapStatic,
|
|
1385
|
+
Fn as Button,
|
|
1386
|
+
qn as Callout,
|
|
1387
|
+
Rn as ClientOnly,
|
|
1388
|
+
En as Head,
|
|
1389
|
+
Sn as Layout,
|
|
1390
|
+
Bn as Link,
|
|
1391
|
+
Dn as RouterError,
|
|
1392
|
+
On as ServerError,
|
|
1393
|
+
Tn as Zudoku,
|
|
1394
|
+
Qn as useAuth,
|
|
1395
|
+
Pn as useMDXComponents,
|
|
1396
|
+
In as useZudoku
|
|
1657
1397
|
};
|
|
1658
1398
|
//# sourceMappingURL=zudoku.components.js.map
|