zudoku 0.33.1 → 0.34.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/config/validators/common.d.ts +572 -354
- package/dist/config/validators/common.js +26 -8
- package/dist/config/validators/common.js.map +1 -1
- package/dist/config/validators/validate.d.ts +254 -167
- package/dist/lib/authentication/hook.d.ts +1 -0
- package/dist/lib/authentication/hook.js +11 -1
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.js +6 -6
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/components/AnchorLink.d.ts +2 -2
- package/dist/lib/components/AnchorLink.js +4 -4
- package/dist/lib/components/AnchorLink.js.map +1 -1
- package/dist/lib/components/Banner.js +1 -1
- package/dist/lib/components/Banner.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +2 -2
- package/dist/lib/components/Layout.js +1 -1
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +1 -1
- package/dist/lib/components/index.d.ts +1 -0
- package/dist/lib/components/navigation/SidebarItem.js +6 -5
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/core/RouteGuard.js +2 -1
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +4 -0
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.d.ts +3 -1
- package/dist/lib/plugins/api-catalog/Catalog.js +7 -4
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
- package/dist/lib/plugins/api-catalog/index.js +1 -1
- package/dist/lib/plugins/api-catalog/index.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/openapi/OperationList.d.ts +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +5 -1
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +6 -3
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -1
- package/dist/lib/plugins/openapi/ParameterList.js +3 -2
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +3 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +1 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js +2 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +2 -2
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +1 -5
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js +14 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js +10 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/PathParams.d.ts +3 -2
- package/dist/lib/plugins/openapi/playground/PathParams.js +3 -2
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +13 -2
- package/dist/lib/plugins/openapi/playground/Playground.js +80 -26
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +8 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +17 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +19 -13
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +6 -4
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +4 -3
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.d.ts +6 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +66 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/ResultList.d.ts +8 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js +31 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/get-results.d.ts +3 -0
- package/dist/lib/plugins/search-pagefind/get-results.js +37 -0
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/index.d.ts +8 -0
- package/dist/lib/plugins/search-pagefind/index.js +9 -0
- package/dist/lib/plugins/search-pagefind/index.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/types.d.ts +85 -0
- package/dist/lib/plugins/search-pagefind/types.js +2 -0
- package/dist/lib/plugins/search-pagefind/types.js.map +1 -0
- package/dist/lib/ui/Checkbox.d.ts +2 -8
- package/dist/lib/ui/Checkbox.js +1 -13
- package/dist/lib/ui/Checkbox.js.map +1 -1
- package/dist/lib/ui/Command.d.ts +13 -7
- package/dist/lib/ui/Command.js +2 -2
- package/dist/lib/ui/Command.js.map +1 -1
- package/dist/lib/ui/Select.js +1 -1
- package/dist/lib/ui/Select.js.map +1 -1
- package/dist/lib/ui/SyntaxHighlight.d.ts +2 -1
- package/dist/lib/ui/SyntaxHighlight.js +19 -15
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
- package/dist/lib/util/MdxComponents.d.ts +1 -1
- package/dist/lib/util/MdxComponents.js +2 -2
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/useScrollToAnchor.js +6 -8
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/vite/build.js +4 -0
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.js +7 -2
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/dev-server.js +8 -0
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/pagefind.d.ts +4 -0
- package/dist/vite/pagefind.js +15 -0
- package/dist/vite/pagefind.js.map +1 -0
- package/dist/vite/plugin-component.js +4 -0
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-search.js +4 -0
- package/dist/vite/plugin-search.js.map +1 -1
- package/dist/vite/prerender/prerender.js +1 -1
- package/dist/vite/prerender/prerender.js.map +1 -1
- package/dist/vite/sitemap.js +2 -1
- package/dist/vite/sitemap.js.map +1 -1
- package/lib/{AuthenticationPlugin-CiO1FM6Q.js → AuthenticationPlugin-4ip08maU.js} +3 -3
- package/lib/{AuthenticationPlugin-CiO1FM6Q.js.map → AuthenticationPlugin-4ip08maU.js.map} +1 -1
- package/lib/Callout-B_sEhkYd.js +211 -0
- package/lib/Callout-B_sEhkYd.js.map +1 -0
- package/lib/{Dialog-DIKGQxQc.js → Dialog-sbgekbjb.js} +47 -32
- package/lib/{Dialog-DIKGQxQc.js.map → Dialog-sbgekbjb.js.map} +1 -1
- package/lib/{Markdown-DePfm7oQ.js → Markdown-DZXjQjpH.js} +4099 -3848
- package/lib/Markdown-DZXjQjpH.js.map +1 -0
- package/lib/MdxPage-52vRwa_7.js +200 -0
- package/lib/MdxPage-52vRwa_7.js.map +1 -0
- package/lib/{OasProvider-SzD9mHJc.js → OasProvider-CR2nG1Eg.js} +4 -4
- package/lib/{OasProvider-SzD9mHJc.js.map → OasProvider-CR2nG1Eg.js.map} +1 -1
- package/lib/{OperationList-DDs9NblY.js → OperationList-DndcCJUG.js} +2069 -1983
- package/lib/OperationList-DndcCJUG.js.map +1 -0
- package/lib/{Select-Dqtcn53H.js → Select-FAYHOYTy.js} +4 -4
- package/lib/{Select-Dqtcn53H.js.map → Select-FAYHOYTy.js.map} +1 -1
- package/lib/{SlotletProvider-DdtIOUi6.js → SlotletProvider-TydSHROc.js} +4 -4
- package/lib/{SlotletProvider-DdtIOUi6.js.map → SlotletProvider-TydSHROc.js.map} +1 -1
- package/lib/{chunk-IR6S3I6Y-D_3UmFIn.js → chunk-HA7DTUK3-ZGg2W6yV.js} +277 -277
- package/lib/chunk-HA7DTUK3-ZGg2W6yV.js.map +1 -0
- package/lib/hook-CfCFKZ-2.js +350 -0
- package/lib/hook-CfCFKZ-2.js.map +1 -0
- package/lib/index-DK7IuUyR.js +2201 -0
- package/lib/index-DK7IuUyR.js.map +1 -0
- package/lib/{index.esm-CQHE3GEU.js → index.esm-CltAN0Tf.js} +259 -239
- package/lib/index.esm-CltAN0Tf.js.map +1 -0
- package/lib/{mutation-EclmI0is.js → mutation-B81DztCT.js} +2 -2
- package/lib/{mutation-EclmI0is.js.map → mutation-B81DztCT.js.map} +1 -1
- package/lib/objectEntries-BS7aAgOm.js +12 -0
- package/lib/objectEntries-BS7aAgOm.js.map +1 -0
- package/lib/ui/Checkbox.js +15 -25
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/Command.js +96 -70
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Select.js +1 -1
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/SyntaxHighlight.js +483 -502
- package/lib/ui/SyntaxHighlight.js.map +1 -1
- package/lib/{useExposedProps-RIvey2Oy.js → useExposedProps-BslIn-FE.js} +2 -2
- package/lib/{useExposedProps-RIvey2Oy.js.map → useExposedProps-BslIn-FE.js.map} +1 -1
- package/lib/useQuery-CQUwWR9i.js +1137 -0
- package/lib/useQuery-CQUwWR9i.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +1 -1
- package/lib/zudoku.auth-clerk.js +29 -29
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +3 -3
- package/lib/zudoku.components.js +146 -149
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +1 -1
- package/lib/zudoku.plugin-api-catalog.js +87 -71
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +16 -15
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +2 -2
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +3 -3
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +204 -0
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
- package/package.json +10 -5
- package/src/lib/authentication/hook.ts +12 -1
- package/src/lib/authentication/providers/clerk.tsx +10 -6
- package/src/lib/components/AnchorLink.tsx +7 -7
- package/src/lib/components/Banner.tsx +1 -0
- package/src/lib/components/Heading.tsx +1 -1
- package/src/lib/components/Layout.tsx +1 -0
- package/src/lib/components/navigation/SidebarItem.tsx +8 -23
- package/src/lib/core/RouteGuard.tsx +2 -1
- package/src/lib/core/ZudokuContext.ts +4 -0
- package/src/lib/plugins/api-catalog/Catalog.tsx +23 -7
- package/src/lib/plugins/api-catalog/index.tsx +1 -0
- package/src/lib/plugins/markdown/MdxPage.tsx +5 -1
- package/src/lib/plugins/openapi/OperationList.tsx +83 -31
- package/src/lib/plugins/openapi/OperationListItem.tsx +107 -86
- package/src/lib/plugins/openapi/ParameterList.tsx +4 -0
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +7 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +1 -0
- package/src/lib/plugins/openapi/graphql/gql.ts +3 -3
- package/src/lib/plugins/openapi/graphql/graphql.ts +3 -0
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +30 -32
- package/src/lib/plugins/openapi/playground/Headers.tsx +0 -1
- package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +74 -0
- package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +54 -0
- package/src/lib/plugins/openapi/playground/PathParams.tsx +8 -2
- package/src/lib/plugins/openapi/playground/Playground.tsx +175 -88
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +0 -1
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
- package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +24 -4
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +66 -45
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +135 -0
- package/src/lib/plugins/search-pagefind/ResultList.tsx +104 -0
- package/src/lib/plugins/search-pagefind/get-results.tsx +54 -0
- package/src/lib/plugins/search-pagefind/index.tsx +21 -0
- package/src/lib/plugins/search-pagefind/types.ts +118 -0
- package/src/lib/ui/Checkbox.tsx +8 -24
- package/src/lib/ui/Command.tsx +25 -3
- package/src/lib/ui/Select.tsx +1 -1
- package/src/lib/ui/SyntaxHighlight.tsx +94 -96
- package/src/lib/util/MdxComponents.tsx +2 -2
- package/src/lib/util/useScrollToAnchor.ts +8 -8
- package/lib/Markdown-DePfm7oQ.js.map +0 -1
- package/lib/MdxPage-DZTt9ld7.js +0 -193
- package/lib/MdxPage-DZTt9ld7.js.map +0 -1
- package/lib/OperationList-DDs9NblY.js.map +0 -1
- package/lib/chunk-IR6S3I6Y-D_3UmFIn.js.map +0 -1
- package/lib/hook-CN__aZIt.js +0 -1464
- package/lib/hook-CN__aZIt.js.map +0 -1
- package/lib/index-CibzSNks.js +0 -2100
- package/lib/index-CibzSNks.js.map +0 -1
- package/lib/index.esm-CQHE3GEU.js.map +0 -1
- package/lib/objectEntries-yMIkr2mI.js +0 -5
- package/lib/objectEntries-yMIkr2mI.js.map +0 -1
- package/lib/useScrollToAnchor-C7ilRSts.js +0 -290
- package/lib/useScrollToAnchor-C7ilRSts.js.map +0 -1
package/lib/zudoku.components.js
CHANGED
|
@@ -13,44 +13,44 @@ var _ = (t, e, r, n) => ({
|
|
|
13
13
|
return l(t, e, n);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import { a as Fe, H as le } from "./index.esm-
|
|
17
|
-
import { z as He, J as
|
|
18
|
-
import { a as
|
|
19
|
-
import {
|
|
16
|
+
import { a as Fe, H as le, M as ht, u as ft } from "./index.esm-CltAN0Tf.js";
|
|
17
|
+
import { z as He, J as gt } from "./index-DwT-v3zK.js";
|
|
18
|
+
import { a as mt, u as ee, m as pt, O as ce, R as xt, S as vt, g as ue, h as yt, L as de } from "./chunk-HA7DTUK3-ZGg2W6yV.js";
|
|
19
|
+
import { e as z, a as E, f as Le, t as bt, j as ae, b as jt, Z as wt, g as Pt, C as Ct } from "./hook-CfCFKZ-2.js";
|
|
20
20
|
import { j as s } from "./jsx-runtime-CYK1ROHF.js";
|
|
21
|
-
import {
|
|
21
|
+
import { S as ze, i as Be, j as kt, n as P, m as ye, l as be, o as M, p as St, q as Nt, r as Dt, t as Et, v as je, w as we, x as Mt, h as Pe, y as Ce, e as Ot, u as At, d as qt, z as Ke } from "./useQuery-CQUwWR9i.js";
|
|
22
|
+
import { D as Tt, a as It, c as Qt, b as Rt, d as Ft } from "./Dialog-sbgekbjb.js";
|
|
22
23
|
import { Z as $e } from "./invariant-Caa8-XvF.js";
|
|
24
|
+
import { u as Ht, o as Lt } from "./objectEntries-BS7aAgOm.js";
|
|
25
|
+
import { E as Ue, S, a as zt, R as Bt } from "./SlotletProvider-TydSHROc.js";
|
|
26
|
+
import { Button as Kt } from "./ui/Button.js";
|
|
27
|
+
import { Callout as $t } from "./ui/Callout.js";
|
|
28
|
+
import { M as Ut } from "./mutation-B81DztCT.js";
|
|
23
29
|
import * as U from "react";
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import { Button as $t } from "./ui/Button.js";
|
|
27
|
-
import { Callout as Ut } from "./ui/Callout.js";
|
|
28
|
-
import { M as Zt } from "./mutation-EclmI0is.js";
|
|
29
|
-
import * as Yt from "react-dom";
|
|
30
|
+
import Zt, { createContext as he, StrictMode as Ze, useRef as te, useEffect as I, useState as B, useCallback as Yt, Suspense as fe, memo as Ye, forwardRef as Vt, Component as Xt, createElement as ke, useMemo as re, useContext as _t } from "react";
|
|
31
|
+
import * as Gt from "react-dom";
|
|
30
32
|
import { C as ge } from "./ClientOnly-E7hGysn1.js";
|
|
31
|
-
import { CircleXIcon as
|
|
32
|
-
import { Drawer as Ve, DrawerTrigger as Xe, DrawerContent as
|
|
33
|
+
import { CircleXIcon as Wt, SearchIcon as Jt, SunIcon as er, MoonIcon as tr, MenuIcon as rr, PanelLeftIcon as sr } from "lucide-react";
|
|
34
|
+
import { Drawer as Ve, DrawerTrigger as Xe, DrawerContent as _e, DrawerTitle as Ge } from "./ui/Drawer.js";
|
|
33
35
|
import { c as Q } from "./cn-qaFjX9_3.js";
|
|
34
|
-
import { s as
|
|
35
|
-
import { u as nr, H as ar, P as ir, a as or, V as lr, M as cr } from "./Markdown-DePfm7oQ.js";
|
|
36
|
+
import { s as nr, S as Se, u as ar, a as ir, H as or, P as lr, b as cr, V as ur, M as dr } from "./Markdown-DZXjQjpH.js";
|
|
36
37
|
import { B as ie, S as We } from "./Spinner-1KrEmx1V.js";
|
|
37
|
-
import { isSearchPlugin as
|
|
38
|
-
import { DropdownMenu as
|
|
38
|
+
import { isSearchPlugin as hr, isProfileMenuPlugin as fr, isNavigationPlugin as gr, isEventConsumerPlugin as mr, needsInitialization as pr, isApiIdentityPlugin as xr, isMdxProviderPlugin as vr, hasHead as yr } from "./zudoku.plugins.js";
|
|
39
|
+
import { DropdownMenu as br, DropdownMenuTrigger as jr, DropdownMenuContent as wr, DropdownMenuLabel as Pr, DropdownMenuSeparator as se, DropdownMenuSub as Cr, DropdownMenuSubTrigger as kr, DropdownMenuPortal as Sr, DropdownMenuSubContent as Nr, DropdownMenuItem as Dr } from "./ui/DropdownMenu.js";
|
|
39
40
|
import { j as Ne } from "./joinUrl-10po2Jdj.js";
|
|
40
41
|
import { VisuallyHidden as Je } from "@radix-ui/react-visually-hidden";
|
|
41
|
-
import { a as
|
|
42
|
-
import { C as
|
|
43
|
-
|
|
44
|
-
var D, Ie, Mr = (Ie = class extends Be {
|
|
42
|
+
import { a as Er } from "./index-CPNSgwSb.js";
|
|
43
|
+
import { C as Mr } from "./CategoryHeading-DpB47wvk.js";
|
|
44
|
+
var D, Ie, Or = (Ie = class extends ze {
|
|
45
45
|
constructor(e = {}) {
|
|
46
46
|
super();
|
|
47
47
|
w(this, D);
|
|
48
48
|
this.config = e, y(this, D, /* @__PURE__ */ new Map());
|
|
49
49
|
}
|
|
50
50
|
build(e, r, n) {
|
|
51
|
-
const a = r.queryKey, i = r.queryHash ??
|
|
51
|
+
const a = r.queryKey, i = r.queryHash ?? Be(a, r);
|
|
52
52
|
let o = this.get(i);
|
|
53
|
-
return o || (o = new
|
|
53
|
+
return o || (o = new kt({
|
|
54
54
|
client: e,
|
|
55
55
|
queryKey: a,
|
|
56
56
|
queryHash: i,
|
|
@@ -113,7 +113,7 @@ var D, Ie, Mr = (Ie = class extends Be {
|
|
|
113
113
|
});
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
|
-
}, D = new WeakMap(), Ie), O, k, Y, Qe,
|
|
116
|
+
}, D = new WeakMap(), Ie), O, k, Y, Qe, Ar = (Qe = class extends ze {
|
|
117
117
|
constructor(e = {}) {
|
|
118
118
|
super();
|
|
119
119
|
w(this, O);
|
|
@@ -122,7 +122,7 @@ var D, Ie, Mr = (Ie = class extends Be {
|
|
|
122
122
|
this.config = e, y(this, O, /* @__PURE__ */ new Set()), y(this, k, /* @__PURE__ */ new Map()), y(this, Y, 0);
|
|
123
123
|
}
|
|
124
124
|
build(e, r, n) {
|
|
125
|
-
const a = new
|
|
125
|
+
const a = new Ut({
|
|
126
126
|
mutationCache: this,
|
|
127
127
|
mutationId: ++_(this, Y)._,
|
|
128
128
|
options: e.defaultMutationOptions(r),
|
|
@@ -132,7 +132,7 @@ var D, Ie, Mr = (Ie = class extends Be {
|
|
|
132
132
|
}
|
|
133
133
|
add(e) {
|
|
134
134
|
l(this, O).add(e);
|
|
135
|
-
const r =
|
|
135
|
+
const r = G(e);
|
|
136
136
|
if (typeof r == "string") {
|
|
137
137
|
const n = l(this, k).get(r);
|
|
138
138
|
n ? n.push(e) : l(this, k).set(r, [e]);
|
|
@@ -141,7 +141,7 @@ var D, Ie, Mr = (Ie = class extends Be {
|
|
|
141
141
|
}
|
|
142
142
|
remove(e) {
|
|
143
143
|
if (l(this, O).delete(e)) {
|
|
144
|
-
const r =
|
|
144
|
+
const r = G(e);
|
|
145
145
|
if (typeof r == "string") {
|
|
146
146
|
const n = l(this, k).get(r);
|
|
147
147
|
if (n)
|
|
@@ -154,7 +154,7 @@ var D, Ie, Mr = (Ie = class extends Be {
|
|
|
154
154
|
this.notify({ type: "removed", mutation: e });
|
|
155
155
|
}
|
|
156
156
|
canRun(e) {
|
|
157
|
-
const r =
|
|
157
|
+
const r = G(e);
|
|
158
158
|
if (typeof r == "string") {
|
|
159
159
|
const n = l(this, k).get(r), a = n == null ? void 0 : n.find(
|
|
160
160
|
(i) => i.state.status === "pending"
|
|
@@ -165,7 +165,7 @@ var D, Ie, Mr = (Ie = class extends Be {
|
|
|
165
165
|
}
|
|
166
166
|
runNext(e) {
|
|
167
167
|
var n;
|
|
168
|
-
const r =
|
|
168
|
+
const r = G(e);
|
|
169
169
|
if (typeof r == "string") {
|
|
170
170
|
const a = (n = l(this, k).get(r)) == null ? void 0 : n.find((i) => i !== e && i.state.isPaused);
|
|
171
171
|
return (a == null ? void 0 : a.continue()) ?? Promise.resolve();
|
|
@@ -207,7 +207,7 @@ var D, Ie, Mr = (Ie = class extends Be {
|
|
|
207
207
|
);
|
|
208
208
|
}
|
|
209
209
|
}, O = new WeakMap(), k = new WeakMap(), Y = new WeakMap(), Qe);
|
|
210
|
-
function
|
|
210
|
+
function G(t) {
|
|
211
211
|
var e;
|
|
212
212
|
return (e = t.options.scope) == null ? void 0 : e.id;
|
|
213
213
|
}
|
|
@@ -226,33 +226,33 @@ function De(t) {
|
|
|
226
226
|
x = !0;
|
|
227
227
|
}), e.signal)
|
|
228
228
|
});
|
|
229
|
-
},
|
|
229
|
+
}, V = St(e.options, e.fetchOptions), K = async (b, N, $) => {
|
|
230
230
|
if (x)
|
|
231
231
|
return Promise.reject();
|
|
232
232
|
if (N == null && b.pages.length)
|
|
233
233
|
return Promise.resolve(b);
|
|
234
|
-
const
|
|
234
|
+
const X = {
|
|
235
235
|
client: e.client,
|
|
236
236
|
queryKey: e.queryKey,
|
|
237
237
|
pageParam: N,
|
|
238
238
|
direction: $ ? "backward" : "forward",
|
|
239
239
|
meta: e.options.meta
|
|
240
240
|
};
|
|
241
|
-
C(
|
|
242
|
-
const ct = await
|
|
243
|
-
|
|
244
|
-
), { maxPages: me } = e.options, pe = $ ?
|
|
241
|
+
C(X);
|
|
242
|
+
const ct = await V(
|
|
243
|
+
X
|
|
244
|
+
), { maxPages: me } = e.options, pe = $ ? Nt : Dt;
|
|
245
245
|
return {
|
|
246
246
|
pages: pe(b.pages, ct, me),
|
|
247
247
|
pageParams: pe(b.pageParams, N, me)
|
|
248
248
|
};
|
|
249
249
|
};
|
|
250
250
|
if (a && i.length) {
|
|
251
|
-
const b = a === "backward", N = b ?
|
|
251
|
+
const b = a === "backward", N = b ? qr : Ee, $ = {
|
|
252
252
|
pages: i,
|
|
253
253
|
pageParams: o
|
|
254
|
-
},
|
|
255
|
-
u = await K($,
|
|
254
|
+
}, X = N(n, $);
|
|
255
|
+
u = await K($, X, b);
|
|
256
256
|
} else {
|
|
257
257
|
const b = t ?? i.length;
|
|
258
258
|
do {
|
|
@@ -290,11 +290,11 @@ function Ee(t, { pages: e, pageParams: r }) {
|
|
|
290
290
|
r
|
|
291
291
|
) : void 0;
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function qr(t, { pages: e, pageParams: r }) {
|
|
294
294
|
var n;
|
|
295
295
|
return e.length > 0 ? (n = t.getPreviousPageParam) == null ? void 0 : n.call(t, e[0], e, r[0], r) : void 0;
|
|
296
296
|
}
|
|
297
|
-
var p, A, q, R, F, T, H,
|
|
297
|
+
var p, A, q, R, F, T, H, L, Re, Tr = (Re = class {
|
|
298
298
|
constructor(t = {}) {
|
|
299
299
|
w(this, p);
|
|
300
300
|
w(this, A);
|
|
@@ -303,19 +303,19 @@ var p, A, q, R, F, T, H, B, Re, qr = (Re = class {
|
|
|
303
303
|
w(this, F);
|
|
304
304
|
w(this, T);
|
|
305
305
|
w(this, H);
|
|
306
|
-
w(this,
|
|
307
|
-
y(this, p, t.queryCache || new
|
|
306
|
+
w(this, L);
|
|
307
|
+
y(this, p, t.queryCache || new Or()), y(this, A, t.mutationCache || new Ar()), y(this, q, t.defaultOptions || {}), y(this, R, /* @__PURE__ */ new Map()), y(this, F, /* @__PURE__ */ new Map()), y(this, T, 0);
|
|
308
308
|
}
|
|
309
309
|
mount() {
|
|
310
|
-
_(this, T)._++, l(this, T) === 1 && (y(this, H,
|
|
310
|
+
_(this, T)._++, l(this, T) === 1 && (y(this, H, Et.subscribe(async (t) => {
|
|
311
311
|
t && (await this.resumePausedMutations(), l(this, p).onFocus());
|
|
312
|
-
})), y(this,
|
|
312
|
+
})), y(this, L, je.subscribe(async (t) => {
|
|
313
313
|
t && (await this.resumePausedMutations(), l(this, p).onOnline());
|
|
314
314
|
})));
|
|
315
315
|
}
|
|
316
316
|
unmount() {
|
|
317
317
|
var t, e;
|
|
318
|
-
_(this, T)._--, l(this, T) === 0 && ((t = l(this, H)) == null || t.call(this), y(this, H, void 0), (e = l(this,
|
|
318
|
+
_(this, T)._--, l(this, T) === 0 && ((t = l(this, H)) == null || t.call(this), y(this, H, void 0), (e = l(this, L)) == null || e.call(this), y(this, L, void 0));
|
|
319
319
|
}
|
|
320
320
|
isFetching(t) {
|
|
321
321
|
return l(this, p).findAll({ ...t, fetchStatus: "fetching" }).length;
|
|
@@ -341,7 +341,7 @@ var p, A, q, R, F, T, H, B, Re, qr = (Re = class {
|
|
|
341
341
|
setQueryData(t, e, r) {
|
|
342
342
|
const n = this.defaultQueryOptions({ queryKey: t }), a = l(this, p).get(
|
|
343
343
|
n.queryHash
|
|
344
|
-
), i = a == null ? void 0 : a.state.data, o =
|
|
344
|
+
), i = a == null ? void 0 : a.state.data, o = Mt(e, i);
|
|
345
345
|
if (o !== void 0)
|
|
346
346
|
return l(this, p).build(this, n).setData(o, { ...r, manual: !0 });
|
|
347
347
|
}
|
|
@@ -477,10 +477,10 @@ var p, A, q, R, F, T, H, B, Re, qr = (Re = class {
|
|
|
477
477
|
...t,
|
|
478
478
|
_defaulted: !0
|
|
479
479
|
};
|
|
480
|
-
return e.queryHash || (e.queryHash =
|
|
480
|
+
return e.queryHash || (e.queryHash = Be(
|
|
481
481
|
e.queryKey,
|
|
482
482
|
e
|
|
483
|
-
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn ===
|
|
483
|
+
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === Ot && (e.enabled = !1), e;
|
|
484
484
|
}
|
|
485
485
|
defaultMutationOptions(t) {
|
|
486
486
|
return t != null && t._defaulted ? t : {
|
|
@@ -493,15 +493,15 @@ var p, A, q, R, F, T, H, B, Re, qr = (Re = class {
|
|
|
493
493
|
clear() {
|
|
494
494
|
l(this, p).clear(), l(this, A).clear();
|
|
495
495
|
}
|
|
496
|
-
}, p = new WeakMap(), A = new WeakMap(), q = new WeakMap(), R = new WeakMap(), F = new WeakMap(), T = new WeakMap(), H = new WeakMap(),
|
|
497
|
-
function
|
|
496
|
+
}, p = new WeakMap(), A = new WeakMap(), q = new WeakMap(), R = new WeakMap(), F = new WeakMap(), T = new WeakMap(), H = new WeakMap(), L = new WeakMap(), Re);
|
|
497
|
+
function Ir(t) {
|
|
498
498
|
return t;
|
|
499
499
|
}
|
|
500
500
|
function Me(t, e, r) {
|
|
501
501
|
var d, c;
|
|
502
502
|
if (typeof e != "object" || e === null)
|
|
503
503
|
return;
|
|
504
|
-
const n = t.getMutationCache(), a = t.getQueryCache(), i = ((d = r == null ? void 0 : r.defaultOptions) == null ? void 0 : d.deserializeData) ?? ((c = t.getDefaultOptions().hydrate) == null ? void 0 : c.deserializeData) ??
|
|
504
|
+
const n = t.getMutationCache(), a = t.getQueryCache(), i = ((d = r == null ? void 0 : r.defaultOptions) == null ? void 0 : d.deserializeData) ?? ((c = t.getDefaultOptions().hydrate) == null ? void 0 : c.deserializeData) ?? Ir, o = e.mutations || [], u = e.queries || [];
|
|
505
505
|
o.forEach(({ state: m, ...g }) => {
|
|
506
506
|
var h, f;
|
|
507
507
|
n.build(
|
|
@@ -514,7 +514,7 @@ function Me(t, e, r) {
|
|
|
514
514
|
m
|
|
515
515
|
);
|
|
516
516
|
}), u.forEach(({ queryKey: m, state: g, queryHash: h, meta: f, promise: v }) => {
|
|
517
|
-
var
|
|
517
|
+
var V, K;
|
|
518
518
|
let x = a.get(h);
|
|
519
519
|
const C = g.data === void 0 ? g.data : i(g.data);
|
|
520
520
|
if (x) {
|
|
@@ -529,7 +529,7 @@ function Me(t, e, r) {
|
|
|
529
529
|
x = a.build(
|
|
530
530
|
t,
|
|
531
531
|
{
|
|
532
|
-
...(
|
|
532
|
+
...(V = t.getDefaultOptions().hydrate) == null ? void 0 : V.queries,
|
|
533
533
|
...(K = r == null ? void 0 : r.defaultOptions) == null ? void 0 : K.queries,
|
|
534
534
|
queryKey: m,
|
|
535
535
|
queryHash: h,
|
|
@@ -549,13 +549,13 @@ function Me(t, e, r) {
|
|
|
549
549
|
}
|
|
550
550
|
});
|
|
551
551
|
}
|
|
552
|
-
var Oe = (t, e) => typeof t == "object" && t !== null && e in t,
|
|
552
|
+
var Oe = (t, e) => typeof t == "object" && t !== null && e in t, Qr = ({
|
|
553
553
|
children: t,
|
|
554
554
|
options: e = {},
|
|
555
555
|
state: r,
|
|
556
556
|
queryClient: n
|
|
557
557
|
}) => {
|
|
558
|
-
const a =
|
|
558
|
+
const a = At(n), [i, o] = U.useState(), u = U.useRef(e);
|
|
559
559
|
return u.current = e, U.useMemo(() => {
|
|
560
560
|
if (r) {
|
|
561
561
|
if (typeof r != "object")
|
|
@@ -581,36 +581,31 @@ var Oe = (t, e) => typeof t == "object" && t !== null && e in t, Ir = ({
|
|
|
581
581
|
i && (Me(a, { queries: i }, u.current), o(void 0));
|
|
582
582
|
}, [a, i]), t;
|
|
583
583
|
};
|
|
584
|
-
const
|
|
585
|
-
const e = V(t);
|
|
586
|
-
return e.current = t, I(() => {
|
|
587
|
-
e.current = t;
|
|
588
|
-
}, [t]), e;
|
|
589
|
-
}, Rr = () => {
|
|
584
|
+
const Rr = () => {
|
|
590
585
|
var o;
|
|
591
|
-
const t =
|
|
592
|
-
(u) =>
|
|
586
|
+
const t = z(), e = E(), r = mt(), n = ee(), a = Ht(n.pathname), i = (o = e.options.protectedRoutes) == null ? void 0 : o.some(
|
|
587
|
+
(u) => pt({ path: u, end: !0 }, n.pathname)
|
|
593
588
|
);
|
|
594
|
-
if (
|
|
589
|
+
if (qt({
|
|
595
590
|
queryKey: ["login-redirect"],
|
|
596
591
|
queryFn: async () => {
|
|
597
592
|
var u;
|
|
598
|
-
return await new Promise((d) => setTimeout(d, 1200)), (u = e.authentication) == null ? void 0 : u.signIn({
|
|
593
|
+
return await new Promise((d) => setTimeout(d, 1200)), await ((u = e.authentication) == null ? void 0 : u.signIn({
|
|
599
594
|
redirectTo: a.current
|
|
600
|
-
});
|
|
595
|
+
})), !0;
|
|
601
596
|
},
|
|
602
597
|
enabled: typeof window < "u" && i && !t.isPending && !t.isAuthenticated
|
|
603
598
|
}), i && !t.isAuthenticated)
|
|
604
599
|
return /* @__PURE__ */ s.jsx(
|
|
605
|
-
|
|
600
|
+
Tt,
|
|
606
601
|
{
|
|
607
602
|
open: !0,
|
|
608
603
|
onOpenChange: (u) => {
|
|
609
604
|
u || r(-1);
|
|
610
605
|
},
|
|
611
|
-
children: /* @__PURE__ */ s.jsxs(
|
|
612
|
-
/* @__PURE__ */ s.jsx(
|
|
613
|
-
/* @__PURE__ */ s.jsx(
|
|
606
|
+
children: /* @__PURE__ */ s.jsxs(It, { children: [
|
|
607
|
+
/* @__PURE__ */ s.jsx(Qt, { children: /* @__PURE__ */ s.jsx(Rt, { children: "Logging you in..." }) }),
|
|
608
|
+
/* @__PURE__ */ s.jsx(Ft, { children: "Please wait while we log you in." })
|
|
614
609
|
] })
|
|
615
610
|
}
|
|
616
611
|
);
|
|
@@ -622,10 +617,10 @@ const Qr = (t) => {
|
|
|
622
617
|
return /* @__PURE__ */ s.jsx(ce, {});
|
|
623
618
|
};
|
|
624
619
|
function Fr({ error: t }) {
|
|
625
|
-
return /* @__PURE__ */ s.jsx(
|
|
620
|
+
return /* @__PURE__ */ s.jsx(Ue, { error: t });
|
|
626
621
|
}
|
|
627
622
|
/**
|
|
628
|
-
* react-router v7.
|
|
623
|
+
* react-router v7.2.0
|
|
629
624
|
*
|
|
630
625
|
* Copyright (c) Remix Software Inc.
|
|
631
626
|
*
|
|
@@ -635,28 +630,28 @@ function Fr({ error: t }) {
|
|
|
635
630
|
* @license MIT
|
|
636
631
|
*/
|
|
637
632
|
function Hr(t) {
|
|
638
|
-
return /* @__PURE__ */ U.createElement(
|
|
633
|
+
return /* @__PURE__ */ U.createElement(xt, { flushSync: Gt.flushSync, ...t });
|
|
639
634
|
}
|
|
640
|
-
const oe = he({ stagger: !1 }),
|
|
635
|
+
const oe = he({ stagger: !1 }), Lr = new Tr({
|
|
641
636
|
defaultOptions: {
|
|
642
637
|
queries: {
|
|
643
638
|
staleTime: 1e3 * 60 * 5
|
|
644
639
|
}
|
|
645
640
|
}
|
|
646
|
-
}),
|
|
641
|
+
}), zr = ({
|
|
647
642
|
router: t,
|
|
648
643
|
hydrate: e = !1
|
|
649
|
-
}) => /* @__PURE__ */ s.jsx(
|
|
644
|
+
}) => /* @__PURE__ */ s.jsx(Ze, { children: /* @__PURE__ */ s.jsx(Ke, { client: Lr, children: /* @__PURE__ */ s.jsx(Qr, { state: e ? window.DATA : void 0, children: /* @__PURE__ */ s.jsx(Fe, { children: /* @__PURE__ */ s.jsx(oe.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ s.jsx(Hr, { router: t }) }) }) }) }) }), Br = ({
|
|
650
645
|
router: t,
|
|
651
646
|
context: e,
|
|
652
647
|
queryClient: r,
|
|
653
648
|
helmetContext: n
|
|
654
|
-
}) => /* @__PURE__ */ s.jsx(
|
|
649
|
+
}) => /* @__PURE__ */ s.jsx(Ze, { children: /* @__PURE__ */ s.jsx(Ke, { client: r, children: /* @__PURE__ */ s.jsx(Fe, { context: n, children: /* @__PURE__ */ s.jsx(vt, { router: t, context: e }) }) }) });
|
|
655
650
|
var Z = { exports: {} }, Kr = Z.exports, Ae;
|
|
656
651
|
function $r() {
|
|
657
652
|
return Ae || (Ae = 1, function(t, e) {
|
|
658
653
|
(function(r, n) {
|
|
659
|
-
n(e,
|
|
654
|
+
n(e, Zt);
|
|
660
655
|
})(Kr, function(r, n) {
|
|
661
656
|
const a = {
|
|
662
657
|
delay: 500,
|
|
@@ -693,7 +688,7 @@ function $r() {
|
|
|
693
688
|
}
|
|
694
689
|
var Ur = $r();
|
|
695
690
|
const Zr = () => {
|
|
696
|
-
const t =
|
|
691
|
+
const t = ee(), e = te(t.pathname);
|
|
697
692
|
I(() => {
|
|
698
693
|
const r = e.current !== t.pathname, n = t.hash !== "";
|
|
699
694
|
r && !n && window.scrollTo(0, 0), e.current = t.pathname;
|
|
@@ -718,7 +713,7 @@ const qe = {
|
|
|
718
713
|
caution: "bg-orange-500",
|
|
719
714
|
danger: "bg-rose-500"
|
|
720
715
|
}, Vr = () => {
|
|
721
|
-
const { page: t } = E(), [e, r] =
|
|
716
|
+
const { page: t } = E(), [e, r] = B(!0);
|
|
722
717
|
if (!(t != null && t.banner) || !e)
|
|
723
718
|
return /* @__PURE__ */ s.jsx("style", { children: ":root { --banner-height: 0px; }" });
|
|
724
719
|
const n = t.banner.color && t.banner.color in qe ? qe[t.banner.color] : t.banner.color ? void 0 : "bg-primary", a = n ? {} : { backgroundColor: t.banner.color };
|
|
@@ -729,6 +724,7 @@ const qe = {
|
|
|
729
724
|
"relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
|
|
730
725
|
n
|
|
731
726
|
),
|
|
727
|
+
"data-pagefind-ignore": "all",
|
|
732
728
|
style: a,
|
|
733
729
|
children: [
|
|
734
730
|
/* @__PURE__ */ s.jsx("div", { className: "w-full", children: t.banner.message }),
|
|
@@ -738,14 +734,14 @@ const qe = {
|
|
|
738
734
|
type: "button",
|
|
739
735
|
className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
|
|
740
736
|
onClick: () => r(!1),
|
|
741
|
-
children: /* @__PURE__ */ s.jsx(
|
|
737
|
+
children: /* @__PURE__ */ s.jsx(Wt, { size: 16 })
|
|
742
738
|
}
|
|
743
739
|
)
|
|
744
740
|
]
|
|
745
741
|
}
|
|
746
742
|
);
|
|
747
743
|
}, et = ({ className: t }) => {
|
|
748
|
-
const e = E(), [r, n] =
|
|
744
|
+
const e = E(), [r, n] = B(!1), a = Yt(() => n(!1), []);
|
|
749
745
|
I(() => {
|
|
750
746
|
if (r)
|
|
751
747
|
return;
|
|
@@ -756,7 +752,7 @@ const qe = {
|
|
|
756
752
|
window.removeEventListener("keydown", o);
|
|
757
753
|
};
|
|
758
754
|
}, [r, n]);
|
|
759
|
-
const i = e.plugins.find(
|
|
755
|
+
const i = e.plugins.find(hr);
|
|
760
756
|
return i ? /* @__PURE__ */ s.jsxs("div", { className: t, children: [
|
|
761
757
|
/* @__PURE__ */ s.jsxs(
|
|
762
758
|
"button",
|
|
@@ -766,7 +762,7 @@ const qe = {
|
|
|
766
762
|
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",
|
|
767
763
|
children: [
|
|
768
764
|
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
|
|
769
|
-
/* @__PURE__ */ s.jsx(
|
|
765
|
+
/* @__PURE__ */ s.jsx(Jt, { size: 14 }),
|
|
770
766
|
"Search"
|
|
771
767
|
] }),
|
|
772
768
|
/* @__PURE__ */ s.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" })
|
|
@@ -796,7 +792,7 @@ const qe = {
|
|
|
796
792
|
t === "light" && "border-border bg-muted",
|
|
797
793
|
t === "dark" && "group-hover:[&>svg>path]:scale-110 group-hover:[&>svg>path]:-translate-x-[1px] group-hover:[&>svg>path]:-translate-y-[1px] group-hover:rotate-[15deg] "
|
|
798
794
|
),
|
|
799
|
-
children: /* @__PURE__ */ s.jsx(
|
|
795
|
+
children: /* @__PURE__ */ s.jsx(er, { size: 16 })
|
|
800
796
|
}
|
|
801
797
|
),
|
|
802
798
|
/* @__PURE__ */ s.jsx(
|
|
@@ -807,14 +803,14 @@ const qe = {
|
|
|
807
803
|
t === "dark" && "border-border bg-muted [&>svg>path]:fill-white [&>svg>path]:stroke-transparent",
|
|
808
804
|
t === "light" && "group-hover:rotate-[-10deg] [&>svg>path]:stroke-currentColor"
|
|
809
805
|
),
|
|
810
|
-
children: /* @__PURE__ */ s.jsx(
|
|
806
|
+
children: /* @__PURE__ */ s.jsx(tr, { size: 16 })
|
|
811
807
|
}
|
|
812
808
|
)
|
|
813
809
|
]
|
|
814
810
|
}
|
|
815
811
|
) });
|
|
816
812
|
}, rt = (t) => (e) => e.display === "auth" && t || e.display === "anon" && !t || !e.display || e.display === "always", Xr = () => {
|
|
817
|
-
const { topNavigation: t } = E(), { isAuthenticated: e } =
|
|
813
|
+
const { topNavigation: t } = E(), { isAuthenticated: e } = z();
|
|
818
814
|
return t.length <= 1 ? /* @__PURE__ */ s.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ s.jsx(fe, { children: /* @__PURE__ */ s.jsxs("div", { className: " items-center justify-between px-8 h-[--top-nav-height] hidden lg:flex text-sm", children: [
|
|
819
815
|
/* @__PURE__ */ s.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ s.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.filter(rt(e)).map((r) => /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(st, { ...r }) }, r.id)) }) }),
|
|
820
816
|
/* @__PURE__ */ s.jsx(S, { name: "top-navigation-side" })
|
|
@@ -825,7 +821,7 @@ const qe = {
|
|
|
825
821
|
default: r
|
|
826
822
|
}) => {
|
|
827
823
|
var c;
|
|
828
|
-
const { sidebars: n } = E(), a = n[t], i =
|
|
824
|
+
const { sidebars: n } = E(), a = n[t], i = Le(), o = !!ue().location, u = ((c = i.topNavItem) == null ? void 0 : c.id) === t && !o, d = r ?? (a ? bt(a, (m) => {
|
|
829
825
|
if (m.type === "doc") return ae(m.id);
|
|
830
826
|
}) : ae(t));
|
|
831
827
|
if (!d)
|
|
@@ -836,9 +832,9 @@ const qe = {
|
|
|
836
832
|
// We don't use isActive here because it has to be inside the sidebar,
|
|
837
833
|
// the top nav id doesn't necessarily start with the sidebar id
|
|
838
834
|
/* @__PURE__ */ s.jsx(
|
|
839
|
-
|
|
835
|
+
yt,
|
|
840
836
|
{
|
|
841
|
-
className: ({ isPending: m }) =>
|
|
837
|
+
className: ({ isPending: m }) => Er(
|
|
842
838
|
"block lg:py-3.5 font-medium -mb-px",
|
|
843
839
|
u || m ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
|
|
844
840
|
),
|
|
@@ -847,8 +843,8 @@ const qe = {
|
|
|
847
843
|
}
|
|
848
844
|
)
|
|
849
845
|
);
|
|
850
|
-
},
|
|
851
|
-
const { topNavigation: t } = E(), { isAuthenticated: e } =
|
|
846
|
+
}, _r = () => {
|
|
847
|
+
const { topNavigation: t } = E(), { isAuthenticated: e } = z(), [r, n] = B(!1);
|
|
852
848
|
return /* @__PURE__ */ s.jsxs(
|
|
853
849
|
Ve,
|
|
854
850
|
{
|
|
@@ -856,14 +852,14 @@ const qe = {
|
|
|
856
852
|
open: r,
|
|
857
853
|
onOpenChange: (a) => n(a),
|
|
858
854
|
children: [
|
|
859
|
-
/* @__PURE__ */ s.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ s.jsx(Xe, { className: "lg:hidden", children: /* @__PURE__ */ s.jsx(
|
|
855
|
+
/* @__PURE__ */ s.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ s.jsx(Xe, { className: "lg:hidden", children: /* @__PURE__ */ s.jsx(rr, { size: 22 }) }) }),
|
|
860
856
|
/* @__PURE__ */ s.jsx(
|
|
861
|
-
|
|
857
|
+
_e,
|
|
862
858
|
{
|
|
863
859
|
className: "lg:hidden h-[100dvh] right-0 left-auto w-[320px] rounded-none",
|
|
864
860
|
"aria-describedby": void 0,
|
|
865
861
|
children: /* @__PURE__ */ s.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
|
|
866
|
-
/* @__PURE__ */ s.jsx(Je, { children: /* @__PURE__ */ s.jsx(
|
|
862
|
+
/* @__PURE__ */ s.jsx(Je, { children: /* @__PURE__ */ s.jsx(Ge, { children: "Navigation" }) }),
|
|
867
863
|
/* @__PURE__ */ s.jsx(et, { className: "flex p-4" }),
|
|
868
864
|
/* @__PURE__ */ s.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
|
|
869
865
|
/* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(tt, {}) }),
|
|
@@ -875,17 +871,17 @@ const qe = {
|
|
|
875
871
|
]
|
|
876
872
|
}
|
|
877
873
|
);
|
|
878
|
-
},
|
|
879
|
-
/* @__PURE__ */ s.jsx(
|
|
880
|
-
/* @__PURE__ */ s.jsx(
|
|
874
|
+
}, J = ({ item: t }) => t.children ? /* @__PURE__ */ s.jsxs(Cr, { children: [
|
|
875
|
+
/* @__PURE__ */ s.jsx(kr, { children: t.label }),
|
|
876
|
+
/* @__PURE__ */ s.jsx(Sr, { children: /* @__PURE__ */ s.jsx(Nr, { children: t.children.map((e, r) => (
|
|
881
877
|
// eslint-disable-next-line react/no-array-index-key
|
|
882
|
-
/* @__PURE__ */ s.jsx(
|
|
878
|
+
/* @__PURE__ */ s.jsx(J, { item: e }, r)
|
|
883
879
|
)) }) })
|
|
884
|
-
] }, t.label) : /* @__PURE__ */ s.jsx(de, { to: t.path ?? "", children: /* @__PURE__ */ s.jsxs(
|
|
880
|
+
] }, t.label) : /* @__PURE__ */ s.jsx(de, { to: t.path ?? "", children: /* @__PURE__ */ s.jsxs(Dr, { className: "flex gap-2", children: [
|
|
885
881
|
t.icon && /* @__PURE__ */ s.jsx(t.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
|
|
886
882
|
t.label
|
|
887
|
-
] }, t.label) }), nt =
|
|
888
|
-
const e =
|
|
883
|
+
] }, t.label) }), nt = Ye(function() {
|
|
884
|
+
const e = z(), { isAuthenticated: r, profile: n, isAuthEnabled: a } = z(), i = E(), { page: o, plugins: u } = i, d = u.filter((c) => fr(c)).flatMap((c) => c.getProfileMenuItems(i)).sort((c) => c.weight ?? 0);
|
|
889
885
|
return /* @__PURE__ */ s.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
|
|
890
886
|
/* @__PURE__ */ s.jsx(Vr, {}),
|
|
891
887
|
/* @__PURE__ */ s.jsx("div", { className: "border-b", children: /* @__PURE__ */ s.jsxs("div", { className: "max-w-screen-2xl 2xl:border-x mx-auto grid grid-cols-[1fr_auto] lg:grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center px-4 lg:px-8 h-[--top-header-height]", children: [
|
|
@@ -922,30 +918,30 @@ const qe = {
|
|
|
922
918
|
] }) }) }),
|
|
923
919
|
/* @__PURE__ */ s.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
|
|
924
920
|
/* @__PURE__ */ s.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ s.jsx(et, {}) }),
|
|
925
|
-
/* @__PURE__ */ s.jsx(
|
|
921
|
+
/* @__PURE__ */ s.jsx(_r, {}),
|
|
926
922
|
/* @__PURE__ */ s.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
|
|
927
923
|
/* @__PURE__ */ s.jsx(S, { name: "head-navigation-start" }),
|
|
928
924
|
a && /* @__PURE__ */ s.jsx(
|
|
929
925
|
ge,
|
|
930
926
|
{
|
|
931
927
|
fallback: /* @__PURE__ */ s.jsx(Yr, { className: "rounded h-5 w-24 mr-4" }),
|
|
932
|
-
children: r ? Object.values(d).length > 0 && /* @__PURE__ */ s.jsxs(
|
|
933
|
-
/* @__PURE__ */ s.jsx(
|
|
934
|
-
/* @__PURE__ */ s.jsxs(
|
|
935
|
-
/* @__PURE__ */ s.jsxs(
|
|
928
|
+
children: r ? Object.values(d).length > 0 && /* @__PURE__ */ s.jsxs(br, { modal: !1, children: [
|
|
929
|
+
/* @__PURE__ */ s.jsx(jr, { asChild: !0, children: /* @__PURE__ */ s.jsx(ie, { variant: "ghost", children: n != null && n.name ? `${n.name}` : "My Account" }) }),
|
|
930
|
+
/* @__PURE__ */ s.jsxs(wr, { className: "w-56", children: [
|
|
931
|
+
/* @__PURE__ */ s.jsxs(Pr, { children: [
|
|
936
932
|
n != null && n.name ? `${n.name}` : "My Account",
|
|
937
933
|
(n == null ? void 0 : n.email) && /* @__PURE__ */ s.jsx("div", { className: "font-normal text-muted-foreground", children: n.email })
|
|
938
934
|
] }),
|
|
939
935
|
d.filter((c) => c.category === "top").length > 0 && /* @__PURE__ */ s.jsx(se, {}),
|
|
940
|
-
d.filter((c) => c.category === "top").map((c) => /* @__PURE__ */ s.jsx(
|
|
936
|
+
d.filter((c) => c.category === "top").map((c) => /* @__PURE__ */ s.jsx(J, { item: c }, c.label)),
|
|
941
937
|
d.filter(
|
|
942
938
|
(c) => !c.category || c.category === "middle"
|
|
943
939
|
).length > 0 && /* @__PURE__ */ s.jsx(se, {}),
|
|
944
940
|
d.filter(
|
|
945
941
|
(c) => !c.category || c.category === "middle"
|
|
946
|
-
).map((c) => /* @__PURE__ */ s.jsx(
|
|
942
|
+
).map((c) => /* @__PURE__ */ s.jsx(J, { item: c }, c.label)),
|
|
947
943
|
d.filter((c) => c.category === "bottom").length > 0 && /* @__PURE__ */ s.jsx(se, {}),
|
|
948
|
-
d.filter((c) => c.category === "bottom").map((c) => /* @__PURE__ */ s.jsx(
|
|
944
|
+
d.filter((c) => c.category === "bottom").map((c) => /* @__PURE__ */ s.jsx(J, { item: c }, c.label))
|
|
949
945
|
] })
|
|
950
946
|
] }) : /* @__PURE__ */ s.jsx(ie, { variant: "ghost", onClick: () => e.login(), children: "Login" })
|
|
951
947
|
}
|
|
@@ -961,7 +957,7 @@ const qe = {
|
|
|
961
957
|
/* @__PURE__ */ s.jsx(S, { name: "top-navigation-after" })
|
|
962
958
|
] }) })
|
|
963
959
|
] });
|
|
964
|
-
}), at =
|
|
960
|
+
}), at = Vt(({ children: t, className: e, pushMainContent: r }, n) => /* @__PURE__ */ s.jsx(
|
|
965
961
|
"nav",
|
|
966
962
|
{
|
|
967
963
|
"data-navigation": String(r),
|
|
@@ -977,14 +973,14 @@ const qe = {
|
|
|
977
973
|
}
|
|
978
974
|
));
|
|
979
975
|
at.displayName = "SidebarWrapper";
|
|
980
|
-
const
|
|
976
|
+
const Gr = ({
|
|
981
977
|
onRequestClose: t
|
|
982
978
|
}) => {
|
|
983
|
-
const e =
|
|
979
|
+
const e = te(null), r = Le();
|
|
984
980
|
return I(() => {
|
|
985
981
|
var a;
|
|
986
982
|
const n = (a = e.current) == null ? void 0 : a.querySelector('[aria-current="page"]');
|
|
987
|
-
|
|
983
|
+
nr(n ?? null);
|
|
988
984
|
}, []), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
989
985
|
/* @__PURE__ */ s.jsxs(
|
|
990
986
|
at,
|
|
@@ -999,12 +995,12 @@ const _r = ({
|
|
|
999
995
|
}
|
|
1000
996
|
),
|
|
1001
997
|
/* @__PURE__ */ s.jsx(
|
|
1002
|
-
|
|
998
|
+
_e,
|
|
1003
999
|
{
|
|
1004
1000
|
className: "lg:hidden h-[100dvh] left-0 w-[320px] rounded-none",
|
|
1005
1001
|
"aria-describedby": void 0,
|
|
1006
1002
|
children: /* @__PURE__ */ s.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
|
|
1007
|
-
/* @__PURE__ */ s.jsx(Je, { children: /* @__PURE__ */ s.jsx(
|
|
1003
|
+
/* @__PURE__ */ s.jsx(Je, { children: /* @__PURE__ */ s.jsx(Ge, { children: "Sidebar" }) }),
|
|
1008
1004
|
r.sidebar.map((n) => /* @__PURE__ */ s.jsx(
|
|
1009
1005
|
Se,
|
|
1010
1006
|
{
|
|
@@ -1018,9 +1014,9 @@ const _r = ({
|
|
|
1018
1014
|
)
|
|
1019
1015
|
] });
|
|
1020
1016
|
}, Te = () => /* @__PURE__ */ s.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ s.jsx(We, {}) }), Wr = ({ children: t }) => {
|
|
1021
|
-
const e =
|
|
1022
|
-
|
|
1023
|
-
const i =
|
|
1017
|
+
const e = ee(), { setActiveAnchor: r } = ar(), { meta: n, authentication: a } = E();
|
|
1018
|
+
ir(), Zr();
|
|
1019
|
+
const i = te(e.pathname);
|
|
1024
1020
|
I(() => {
|
|
1025
1021
|
var m;
|
|
1026
1022
|
(m = a == null ? void 0 : a.onPageLoad) == null || m.call(a);
|
|
@@ -1030,7 +1026,7 @@ const _r = ({
|
|
|
1030
1026
|
const o = !!ue().location, u = Ur.useSpinDelay(o, {
|
|
1031
1027
|
delay: 300,
|
|
1032
1028
|
minDuration: 500
|
|
1033
|
-
}), [d, c] =
|
|
1029
|
+
}), [d, c] = B(!1);
|
|
1034
1030
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1035
1031
|
!1,
|
|
1036
1032
|
/* @__PURE__ */ s.jsxs(le, { titleTemplate: n == null ? void 0 : n.title, children: [
|
|
@@ -1047,7 +1043,7 @@ const _r = ({
|
|
|
1047
1043
|
open: d,
|
|
1048
1044
|
onOpenChange: (m) => c(m),
|
|
1049
1045
|
children: [
|
|
1050
|
-
/* @__PURE__ */ s.jsx(
|
|
1046
|
+
/* @__PURE__ */ s.jsx(Gr, { onRequestClose: () => c(!1) }),
|
|
1051
1047
|
/* @__PURE__ */ s.jsx(
|
|
1052
1048
|
"div",
|
|
1053
1049
|
{
|
|
@@ -1056,7 +1052,7 @@ const _r = ({
|
|
|
1056
1052
|
"peer-data-[navigation=false]:hidden"
|
|
1057
1053
|
),
|
|
1058
1054
|
children: /* @__PURE__ */ s.jsxs(Xe, { className: "flex items-center gap-2", children: [
|
|
1059
|
-
/* @__PURE__ */ s.jsx(
|
|
1055
|
+
/* @__PURE__ */ s.jsx(sr, { size: 16, strokeWidth: 1.5 }),
|
|
1060
1056
|
/* @__PURE__ */ s.jsx("span", { className: "text-sm", children: "Menu" })
|
|
1061
1057
|
] })
|
|
1062
1058
|
}
|
|
@@ -1064,6 +1060,7 @@ const _r = ({
|
|
|
1064
1060
|
/* @__PURE__ */ s.jsxs(
|
|
1065
1061
|
"main",
|
|
1066
1062
|
{
|
|
1063
|
+
"data-pagefind-body": !0,
|
|
1067
1064
|
className: Q(
|
|
1068
1065
|
"h-full dark:border-white/10 translate-x-0",
|
|
1069
1066
|
"lg:overflow-visible",
|
|
@@ -1086,9 +1083,9 @@ const _r = ({
|
|
|
1086
1083
|
title: t = "An error occurred",
|
|
1087
1084
|
message: e,
|
|
1088
1085
|
category: r
|
|
1089
|
-
}) => /* @__PURE__ */ s.jsxs("div", { className:
|
|
1090
|
-
r && /* @__PURE__ */ s.jsx(
|
|
1091
|
-
t && /* @__PURE__ */ s.jsx(
|
|
1086
|
+
}) => /* @__PURE__ */ s.jsxs("div", { className: lr + " h-full pt-[--padding-content-top]", children: [
|
|
1087
|
+
r && /* @__PURE__ */ s.jsx(Mr, { children: r }),
|
|
1088
|
+
t && /* @__PURE__ */ s.jsx(or, { level: 1, className: "flex gap-3.5 items-center", children: t }),
|
|
1092
1089
|
/* @__PURE__ */ s.jsx("p", { children: e })
|
|
1093
1090
|
] }), es = (t) => {
|
|
1094
1091
|
switch (t) {
|
|
@@ -1167,7 +1164,7 @@ const _r = ({
|
|
|
1167
1164
|
didCatch: !1,
|
|
1168
1165
|
error: null
|
|
1169
1166
|
};
|
|
1170
|
-
class ss extends
|
|
1167
|
+
class ss extends Xt {
|
|
1171
1168
|
constructor(e) {
|
|
1172
1169
|
super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = ne;
|
|
1173
1170
|
}
|
|
@@ -1273,14 +1270,14 @@ class is {
|
|
|
1273
1270
|
j(this, "emitter", as());
|
|
1274
1271
|
j(this, "initialize", async () => {
|
|
1275
1272
|
await Promise.all(
|
|
1276
|
-
this.plugins.filter(
|
|
1273
|
+
this.plugins.filter(pr).map((e) => {
|
|
1277
1274
|
var r;
|
|
1278
1275
|
return (r = e.initialize) == null ? void 0 : r.call(e, this);
|
|
1279
1276
|
})
|
|
1280
1277
|
);
|
|
1281
1278
|
});
|
|
1282
1279
|
j(this, "getApiIdentities", async () => (await Promise.all(
|
|
1283
|
-
this.plugins.filter(
|
|
1280
|
+
this.plugins.filter(xr).map((r) => r.getIdentities(this))
|
|
1284
1281
|
)).flat());
|
|
1285
1282
|
j(this, "emitEvent", (e, ...r) => this.emitter.emit(e, ...r));
|
|
1286
1283
|
j(this, "getPluginSidebar", async (e) => (await Promise.all(
|
|
@@ -1297,8 +1294,8 @@ class is {
|
|
|
1297
1294
|
const r = await this.authentication.getAccessToken();
|
|
1298
1295
|
return e.headers.set("Authorization", `Bearer ${r}`), e;
|
|
1299
1296
|
});
|
|
1300
|
-
this.options = e, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(
|
|
1301
|
-
|
|
1297
|
+
this.options = e, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(gr), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.plugins.forEach((r) => {
|
|
1298
|
+
mr(r) && Lt(r.events).forEach(([n, a]) => {
|
|
1302
1299
|
this.emitter.on(n, a);
|
|
1303
1300
|
});
|
|
1304
1301
|
});
|
|
@@ -1308,14 +1305,14 @@ class is {
|
|
|
1308
1305
|
}
|
|
1309
1306
|
}
|
|
1310
1307
|
function os({ error: t, resetErrorBoundary: e }) {
|
|
1311
|
-
return /* @__PURE__ */ s.jsx(
|
|
1308
|
+
return /* @__PURE__ */ s.jsx(Ue, { error: t });
|
|
1312
1309
|
}
|
|
1313
|
-
const
|
|
1314
|
-
(!
|
|
1310
|
+
const W = globalThis;
|
|
1311
|
+
(!W.requestIdleCallback || !W.cancelIdleCallback) && (W.requestIdleCallback = (t) => setTimeout(t, 1), W.cancelIdleCallback = clearTimeout);
|
|
1315
1312
|
const it = {
|
|
1316
1313
|
Header: nt
|
|
1317
1314
|
}, ls = he(it), cs = ls.Provider, us = () => {
|
|
1318
|
-
const t =
|
|
1315
|
+
const t = ee(), e = E(), r = te(void 0);
|
|
1319
1316
|
return I(() => {
|
|
1320
1317
|
e.emitEvent("location", {
|
|
1321
1318
|
from: r.current,
|
|
@@ -1325,10 +1322,10 @@ const it = {
|
|
|
1325
1322
|
}, ds = ({
|
|
1326
1323
|
children: t,
|
|
1327
1324
|
context: e
|
|
1328
|
-
}) => (
|
|
1325
|
+
}) => (jt({
|
|
1329
1326
|
queryFn: async () => (await e.initialize(), !0),
|
|
1330
1327
|
queryKey: ["zudoku-initialize"]
|
|
1331
|
-
}), /* @__PURE__ */ s.jsx(
|
|
1328
|
+
}), /* @__PURE__ */ s.jsx(wt.Provider, { value: e, children: t })), ot = Ye(
|
|
1332
1329
|
({ children: t, ...e }) => {
|
|
1333
1330
|
var g, h;
|
|
1334
1331
|
const r = re(
|
|
@@ -1337,31 +1334,31 @@ const it = {
|
|
|
1337
1334
|
), n = re(() => {
|
|
1338
1335
|
var v;
|
|
1339
1336
|
return {
|
|
1340
|
-
...(e.plugins ?? []).filter(
|
|
1337
|
+
...(e.plugins ?? []).filter(vr).flatMap(
|
|
1341
1338
|
(x) => x.getMdxComponents ? [x.getMdxComponents()] : []
|
|
1342
1339
|
).reduce(
|
|
1343
1340
|
(x, C) => ({ ...x, ...C }),
|
|
1344
1341
|
{}
|
|
1345
1342
|
),
|
|
1346
|
-
...
|
|
1343
|
+
...cr,
|
|
1347
1344
|
...(v = e.mdx) == null ? void 0 : v.components
|
|
1348
1345
|
};
|
|
1349
|
-
}, [(g = e.mdx) == null ? void 0 : g.components, e.plugins]), { stagger: a } =
|
|
1346
|
+
}, [(g = e.mdx) == null ? void 0 : g.components, e.plugins]), { stagger: a } = _t(oe), [i, o] = B(!1), u = re(
|
|
1350
1347
|
() => i ? { stagger: !0 } : { stagger: a },
|
|
1351
1348
|
[a, i]
|
|
1352
1349
|
), d = ue();
|
|
1353
1350
|
I(() => {
|
|
1354
1351
|
i || o(!0);
|
|
1355
1352
|
}, [i, d.location]);
|
|
1356
|
-
const [c] =
|
|
1353
|
+
const [c] = B(() => new is(e)), m = (h = e.plugins) == null ? void 0 : h.flatMap((f) => {
|
|
1357
1354
|
var v;
|
|
1358
|
-
return
|
|
1355
|
+
return yr(f) ? ((v = f.getHead) == null ? void 0 : v.call(f)) ?? [] : [];
|
|
1359
1356
|
}).map((f, v) => /* @__PURE__ */ s.jsx(le, { children: f }, v));
|
|
1360
1357
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1361
1358
|
m,
|
|
1362
1359
|
/* @__PURE__ */ s.jsx(oe.Provider, { value: u, children: /* @__PURE__ */ s.jsxs(ds, { context: c, children: [
|
|
1363
1360
|
/* @__PURE__ */ s.jsx(us, {}),
|
|
1364
|
-
/* @__PURE__ */ s.jsx(
|
|
1361
|
+
/* @__PURE__ */ s.jsx(ht, { components: n, children: /* @__PURE__ */ s.jsx(gt, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ s.jsx(cs, { value: r, children: /* @__PURE__ */ s.jsx(zt, { slotlets: e.slotlets, children: /* @__PURE__ */ s.jsx(ur, { children: t ?? /* @__PURE__ */ s.jsx(ce, {}) }) }) }) }) })
|
|
1365
1362
|
] }) })
|
|
1366
1363
|
] });
|
|
1367
1364
|
}
|
|
@@ -1369,24 +1366,24 @@ const it = {
|
|
|
1369
1366
|
ot.displayName = "ZudokoInner";
|
|
1370
1367
|
const lt = (t) => /* @__PURE__ */ s.jsx(ss, { FallbackComponent: os, children: /* @__PURE__ */ s.jsx(ot, { ...t }) });
|
|
1371
1368
|
lt.displayName = "Zudoku";
|
|
1372
|
-
const Hs =
|
|
1369
|
+
const Hs = ft, Ls = Wr, zs = Bt, Bs = Fr, Ks = zr, $s = Br, Us = Rr, Zs = le, Ys = E, Vs = z, Xs = Pt, _s = Ct, Gs = lt, Ws = ts, Js = $t, en = dr, tn = We, rn = ge, sn = Kt, nn = de, an = He;
|
|
1373
1370
|
export {
|
|
1374
1371
|
Ks as Bootstrap,
|
|
1375
1372
|
$s as BootstrapStatic,
|
|
1376
1373
|
sn as Button,
|
|
1377
|
-
|
|
1374
|
+
_s as CACHE_KEYS,
|
|
1378
1375
|
Js as Callout,
|
|
1379
1376
|
rn as ClientOnly,
|
|
1380
1377
|
Zs as Head,
|
|
1381
|
-
|
|
1378
|
+
Ls as Layout,
|
|
1382
1379
|
nn as Link,
|
|
1383
1380
|
en as Markdown,
|
|
1384
1381
|
Us as RouteGuard,
|
|
1385
|
-
|
|
1386
|
-
|
|
1382
|
+
zs as RouterError,
|
|
1383
|
+
Bs as ServerError,
|
|
1387
1384
|
tn as Spinner,
|
|
1388
1385
|
Ws as StatusPage,
|
|
1389
|
-
|
|
1386
|
+
Gs as Zudoku,
|
|
1390
1387
|
Vs as useAuth,
|
|
1391
1388
|
Xs as useCache,
|
|
1392
1389
|
Hs as useMDXComponents,
|