zudoku 0.3.0-dev.68 → 0.3.0-dev.69

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.
Files changed (85) hide show
  1. package/dist/app/main.js +1 -0
  2. package/dist/app/main.js.map +1 -1
  3. package/dist/config/validators/validate.d.ts +3 -0
  4. package/dist/config/validators/validate.js +1 -0
  5. package/dist/config/validators/validate.js.map +1 -1
  6. package/dist/lib/components/DevPortal.d.ts +1 -0
  7. package/dist/lib/components/DevPortal.js +3 -1
  8. package/dist/lib/components/DevPortal.js.map +1 -1
  9. package/dist/lib/components/Layout.js +2 -1
  10. package/dist/lib/components/Layout.js.map +1 -1
  11. package/dist/lib/components/SlotletProvider.d.ts +9 -0
  12. package/dist/lib/components/SlotletProvider.js +11 -0
  13. package/dist/lib/components/SlotletProvider.js.map +1 -0
  14. package/dist/lib/components/context/ViewportAnchorContext.js +1 -2
  15. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  16. package/dist/lib/components/navigation/SideNavigation.js +3 -2
  17. package/dist/lib/components/navigation/SideNavigation.js.map +1 -1
  18. package/dist/lib/core/DevPortalContext.d.ts +2 -0
  19. package/dist/lib/core/DevPortalContext.js.map +1 -1
  20. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +2 -1
  21. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  22. package/dist/lib/plugins/api-keys/index.js +1 -1
  23. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  24. package/dist/lib/plugins/markdown/Toc.js +1 -2
  25. package/dist/lib/plugins/markdown/Toc.js.map +1 -1
  26. package/dist/lib/plugins/openapi/StaggeredRender.js +2 -3
  27. package/dist/lib/plugins/openapi/StaggeredRender.js.map +1 -1
  28. package/dist/lib/util/invariant.d.ts +6 -0
  29. package/dist/lib/util/invariant.js +21 -0
  30. package/dist/lib/util/invariant.js.map +1 -0
  31. package/dist/lib/util/requestIdleCallbackPolyfill.d.ts +1 -0
  32. package/dist/lib/util/requestIdleCallbackPolyfill.js +7 -0
  33. package/dist/lib/util/requestIdleCallbackPolyfill.js.map +1 -0
  34. package/dist/lib/util/useScrollToAnchor.js +2 -3
  35. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  36. package/lib/{AnchorLink-61IZfWrS.js → AnchorLink-C_pYhuZi.js} +2 -2
  37. package/lib/{AnchorLink-61IZfWrS.js.map → AnchorLink-C_pYhuZi.js.map} +1 -1
  38. package/lib/{CategoryHeading-aW8CL0KA.js → CategoryHeading-D5Q-X6lE.js} +2 -2
  39. package/lib/{CategoryHeading-aW8CL0KA.js.map → CategoryHeading-D5Q-X6lE.js.map} +1 -1
  40. package/lib/{Combination-BbWKjDLe.js → Combination-Cq0UkOXq.js} +2 -2
  41. package/lib/{Combination-BbWKjDLe.js.map → Combination-Cq0UkOXq.js.map} +1 -1
  42. package/lib/{Input-BY0B_0qy.js → Input-DdAxw3vC.js} +3 -3
  43. package/lib/{Input-BY0B_0qy.js.map → Input-DdAxw3vC.js.map} +1 -1
  44. package/lib/{Markdown-BO5EsS-C.js → Markdown-DsCvZnhw.js} +746 -748
  45. package/lib/Markdown-DsCvZnhw.js.map +1 -0
  46. package/lib/{MdxPage-DEfyHwSx.js → MdxPage-B_7x36CA.js} +28 -28
  47. package/lib/MdxPage-B_7x36CA.js.map +1 -0
  48. package/lib/{OperationList-VK1_1rzp.js → OperationList-i6FGZUu4.js} +7 -7
  49. package/lib/{OperationList-VK1_1rzp.js.map → OperationList-i6FGZUu4.js.map} +1 -1
  50. package/lib/{hook-gOGk1OUF.js → SlotletProvider-CpNYmq6S.js} +42 -33
  51. package/lib/SlotletProvider-CpNYmq6S.js.map +1 -0
  52. package/lib/{Spinner-6NfpF1CA.js → Spinner-BBPlEab_.js} +48 -48
  53. package/lib/Spinner-BBPlEab_.js.map +1 -0
  54. package/lib/{index-7W7DUZbY.js → index-DT-cf5tv.js} +4 -4
  55. package/lib/{index-7W7DUZbY.js.map → index-DT-cf5tv.js.map} +1 -1
  56. package/lib/zudoku.components.js +544 -534
  57. package/lib/zudoku.components.js.map +1 -1
  58. package/lib/zudoku.plugin-api-keys.js +49 -46
  59. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  60. package/lib/zudoku.plugin-custom-page.js +1 -1
  61. package/lib/zudoku.plugin-markdown.js +1 -1
  62. package/lib/zudoku.plugin-openapi.js +2 -2
  63. package/package.json +1 -2
  64. package/src/app/main.tsx +1 -0
  65. package/src/lib/components/DevPortal.tsx +5 -1
  66. package/src/lib/components/Layout.tsx +3 -0
  67. package/src/lib/components/SlotletProvider.tsx +25 -0
  68. package/src/lib/components/context/ViewportAnchorContext.tsx +1 -2
  69. package/src/lib/components/navigation/SideNavigation.tsx +3 -0
  70. package/src/lib/core/DevPortalContext.ts +2 -0
  71. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +3 -0
  72. package/src/lib/plugins/api-keys/index.tsx +1 -1
  73. package/src/lib/plugins/markdown/Toc.tsx +1 -2
  74. package/src/lib/plugins/openapi/StaggeredRender.tsx +2 -3
  75. package/src/lib/util/invariant.ts +26 -0
  76. package/src/lib/util/requestIdleCallbackPolyfill.ts +6 -0
  77. package/src/lib/util/useScrollToAnchor.ts +2 -3
  78. package/dist/lib/util/requestIdle.d.ts +0 -2
  79. package/dist/lib/util/requestIdle.js +0 -3
  80. package/dist/lib/util/requestIdle.js.map +0 -1
  81. package/lib/Markdown-BO5EsS-C.js.map +0 -1
  82. package/lib/MdxPage-DEfyHwSx.js.map +0 -1
  83. package/lib/Spinner-6NfpF1CA.js.map +0 -1
  84. package/lib/hook-gOGk1OUF.js.map +0 -1
  85. package/src/lib/util/requestIdle.ts +0 -4
@@ -1,17 +1,18 @@
1
- import { c as a, j as t, e as o } from "./jsx-runtime-BIr0WBt_.js";
2
- import { c as i, P as r, H as c, L as l } from "./Markdown-BO5EsS-C.js";
3
- import { C as d } from "./CategoryHeading-aW8CL0KA.js";
4
- import { p as m } from "./Combination-BbWKjDLe.js";
5
- import { i as x } from "./router-BiRCp01d.js";
6
- import { u } from "./DevPortalProvider-BBhQ8kgI.js";
7
- import { u as h } from "./state-DKdaQzvh.js";
1
+ import { c as a, j as t, e as r } from "./jsx-runtime-BIr0WBt_.js";
2
+ import { c as i, P as l, H as c, L as d } from "./Markdown-DsCvZnhw.js";
3
+ import { C as m } from "./CategoryHeading-D5Q-X6lE.js";
4
+ import { p as x } from "./Combination-Cq0UkOXq.js";
5
+ import { i as u } from "./router-BiRCp01d.js";
6
+ import { u as h } from "./DevPortalProvider-BBhQ8kgI.js";
7
+ import { u as p } from "./state-DKdaQzvh.js";
8
+ import f, { useContext as g } from "react";
8
9
  /**
9
10
  * @license lucide-react v0.378.0 - ISC
10
11
  *
11
12
  * This source code is licensed under the ISC license.
12
13
  * See the LICENSE file in the root directory of this source tree.
13
14
  */
14
- const p = i("Unlink", [
15
+ const y = i("Unlink", [
15
16
  [
16
17
  "path",
17
18
  {
@@ -30,15 +31,15 @@ const p = i("Unlink", [
30
31
  ["line", { x1: "2", x2: "5", y1: "8", y2: "8", key: "14m1p5" }],
31
32
  ["line", { x1: "16", x2: "16", y1: "19", y2: "22", key: "rzdirn" }],
32
33
  ["line", { x1: "19", x2: "22", y1: "16", y2: "16", key: "ox905f" }]
33
- ]), f = () => {
34
+ ]), j = () => {
34
35
  const e = a();
35
- return /* @__PURE__ */ t.jsxs("div", { className: r + " h-full pt-[--padding-content-top]", children: [
36
- /* @__PURE__ */ t.jsx(d, { children: "404" }),
36
+ return /* @__PURE__ */ t.jsxs("div", { className: l + " h-full pt-[--padding-content-top]", children: [
37
+ /* @__PURE__ */ t.jsx(m, { children: "404" }),
37
38
  /* @__PURE__ */ t.jsxs(c, { level: 1, className: "flex gap-3.5 items-center", children: [
38
39
  "Page not found",
39
- /* @__PURE__ */ t.jsx(p, { size: 24 })
40
+ /* @__PURE__ */ t.jsx(y, { size: 24 })
40
41
  ] }),
41
- /* @__PURE__ */ t.jsxs(m, { children: [
42
+ /* @__PURE__ */ t.jsxs(x, { children: [
42
43
  "Start by adding a file at",
43
44
  " ",
44
45
  /* @__PURE__ */ t.jsxs("code", { children: [
@@ -51,43 +52,51 @@ const p = i("Unlink", [
51
52
  "and add some content to make this error go away."
52
53
  ] }),
53
54
  /* @__PURE__ */ t.jsx("p", { children: "It seems that the page you are looking for does not exist or may have been moved. Please check the URL for any typos or use the navigation menu to find the correct page." }),
54
- /* @__PURE__ */ t.jsx(l, { to: "/", children: "Go back home" })
55
+ /* @__PURE__ */ t.jsx(d, { to: "/", children: "Go back home" })
55
56
  ] });
56
57
  };
57
- function g({ error: e }) {
58
- const s = (e == null ? void 0 : e.message) ?? "Something went wrong", n = e == null ? void 0 : e.stack;
58
+ function k({ error: e }) {
59
+ const n = (e == null ? void 0 : e.message) ?? "Something went wrong", s = e == null ? void 0 : e.stack;
59
60
  return /* @__PURE__ */ t.jsx("div", { className: "flex h-screen max-h-screen min-h-full items-center justify-center bg-primary-background px-4 py-16 lg:px-8", children: /* @__PURE__ */ t.jsxs("div", { className: "mx-auto max-w-[85%] sm:max-w-[50%]", children: [
60
61
  /* @__PURE__ */ t.jsx("h1", { className: "text-4xl font-bold tracking-tight text-h1-text sm:text-5xl", children: "Something went wrong" }),
61
- /* @__PURE__ */ t.jsx("p", { className: "mt-5 text-h1-text", children: s }),
62
- n ? /* @__PURE__ */ t.jsx("pre", { className: "mt-5 max-h-[400px] w-full overflow-scroll rounded-md border border-input-border bg-input-background p-3 text-property-name-text text-red-700", children: n }) : null
62
+ /* @__PURE__ */ t.jsx("p", { className: "mt-5 text-h1-text", children: n }),
63
+ s ? /* @__PURE__ */ t.jsx("pre", { className: "mt-5 max-h-[400px] w-full overflow-scroll rounded-md border border-input-border bg-input-background p-3 text-property-name-text text-red-700", children: s }) : null
63
64
  ] }) });
64
65
  }
65
- function P() {
66
- const e = o();
67
- return x(e) && e.status === 404 ? /* @__PURE__ */ t.jsx(f, {}) : /* @__PURE__ */ t.jsx(g, { error: e });
66
+ function A() {
67
+ const e = r();
68
+ return u(e) && e.status === 404 ? /* @__PURE__ */ t.jsx(j, {}) : /* @__PURE__ */ t.jsx(k, { error: e });
68
69
  }
69
- const R = () => {
70
- const { authentication: e } = u(), s = h(), n = typeof e < "u";
70
+ const C = () => {
71
+ const { authentication: e } = h(), n = p(), s = typeof e < "u";
71
72
  return {
72
- isAuthEnabled: n,
73
- isPending: s.isPending,
74
- profile: s.profile,
75
- isAuthenticated: s.profile,
73
+ isAuthEnabled: s,
74
+ isPending: n.isPending,
75
+ profile: n.profile,
76
+ isAuthenticated: n.profile,
76
77
  login: async () => {
77
- if (!n)
78
+ if (!s)
78
79
  throw new Error("Authentication is not enabled.");
79
80
  await e.signIn();
80
81
  },
81
82
  logout: async () => {
82
- if (!n)
83
+ if (!s)
83
84
  throw new Error("Authentication is not enabled.");
84
85
  await e.signOut(), window.location.href = "/";
85
86
  }
86
87
  };
88
+ }, o = f.createContext({}), H = ({
89
+ slotlets: e,
90
+ children: n
91
+ }) => /* @__PURE__ */ t.jsx(o.Provider, { value: e, children: n }), L = ({ name: e }) => {
92
+ const n = g(o);
93
+ return n == null ? void 0 : n[e];
87
94
  };
88
95
  export {
89
- g as E,
90
- P as R,
91
- R as u
96
+ k as E,
97
+ A as R,
98
+ H as S,
99
+ L as a,
100
+ C as u
92
101
  };
93
- //# sourceMappingURL=hook-gOGk1OUF.js.map
102
+ //# sourceMappingURL=SlotletProvider-CpNYmq6S.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SlotletProvider-CpNYmq6S.js","sources":["../../../node_modules/.pnpm/lucide-react@0.378.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/unlink.js","../src/lib/components/NotFoundPage.tsx","../src/lib/errors/ErrorAlert.tsx","../src/lib/errors/RouterError.tsx","../src/lib/authentication/hook.ts","../src/lib/components/SlotletProvider.tsx"],"sourcesContent":["/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst Unlink = createLucideIcon(\"Unlink\", [\n [\n \"path\",\n {\n d: \"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71\",\n key: \"yqzxt4\"\n }\n ],\n [\n \"path\",\n {\n d: \"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71\",\n key: \"4qinb0\"\n }\n ],\n [\"line\", { x1: \"8\", x2: \"8\", y1: \"2\", y2: \"5\", key: \"1041cp\" }],\n [\"line\", { x1: \"2\", x2: \"5\", y1: \"8\", y2: \"8\", key: \"14m1p5\" }],\n [\"line\", { x1: \"16\", x2: \"16\", y1: \"19\", y2: \"22\", key: \"rzdirn\" }],\n [\"line\", { x1: \"19\", x2: \"22\", y1: \"16\", y2: \"16\", key: \"ox905f\" }]\n]);\n\nexport { Unlink as default };\n//# sourceMappingURL=unlink.js.map\n","import { UnlinkIcon } from \"lucide-react\";\nimport { Link, useParams } from \"react-router-dom\";\nimport { CategoryHeading } from \"./CategoryHeading.js\";\nimport { DeveloperHint } from \"./DeveloperHint.js\";\nimport { Heading } from \"./Heading.js\";\nimport { ProseClasses } from \"./Markdown.js\";\n\nexport const NotFoundPage = () => {\n const params = useParams();\n\n return (\n <div className={ProseClasses + \" h-full pt-[--padding-content-top]\"}>\n <CategoryHeading>404</CategoryHeading>\n <Heading level={1} className=\"flex gap-3.5 items-center\">\n Page not found\n <UnlinkIcon size={24} />\n </Heading>\n <DeveloperHint>\n Start by adding a file at{\" \"}\n <code>\n {\"{PROJECT_ROOT}\"}/{params[\"*\"]}.mdx\n </code>{\" \"}\n and add some content to make this error go away.\n </DeveloperHint>\n <p>\n It seems that the page you are looking for does not exist or may have\n been moved. Please check the URL for any typos or use the navigation\n menu to find the correct page.\n </p>\n <Link to=\"/\">Go back home</Link>\n </div>\n );\n};\n","// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function ErrorAlert({ error }: { error: any }) {\n const message = error?.message ?? \"Something went wrong\";\n const stack = error?.stack;\n\n return (\n <div className=\"flex h-screen max-h-screen min-h-full items-center justify-center bg-primary-background px-4 py-16 lg:px-8\">\n <div className=\"mx-auto max-w-[85%] sm:max-w-[50%]\">\n <h1 className=\"text-4xl font-bold tracking-tight text-h1-text sm:text-5xl\">\n Something went wrong\n </h1>\n <p className=\"mt-5 text-h1-text\">{message}</p>\n {stack ? (\n <pre className=\"mt-5 max-h-[400px] w-full overflow-scroll rounded-md border border-input-border bg-input-background p-3 text-property-name-text text-red-700\">\n {stack}\n </pre>\n ) : null}\n </div>\n </div>\n );\n}\n","import { isRouteErrorResponse, useRouteError } from \"react-router-dom\";\nimport { NotFoundPage } from \"../components/NotFoundPage.js\";\nimport { ErrorAlert } from \"./ErrorAlert.js\";\n\nexport function RouterError() {\n const error = useRouteError();\n\n if (isRouteErrorResponse(error) && error.status === 404) {\n return <NotFoundPage />;\n }\n\n return <ErrorAlert error={error} />;\n}\n","import { useDevPortal } from \"../components/context/DevPortalProvider.js\";\nimport { useAuthState } from \"./state.js\";\n\nexport const useAuth = () => {\n const { authentication } = useDevPortal();\n const authState = useAuthState();\n const isAuthEnabled = typeof authentication !== \"undefined\";\n\n return {\n isAuthEnabled,\n isPending: authState.isPending,\n profile: authState.profile,\n isAuthenticated: authState.profile,\n\n login: async () => {\n if (!isAuthEnabled) {\n throw new Error(\"Authentication is not enabled.\");\n }\n // TODO: Should handle errors/state\n await authentication.signIn();\n },\n\n logout: async () => {\n if (!isAuthEnabled) {\n throw new Error(\"Authentication is not enabled.\");\n }\n // TODO: Should handle errors/state\n await authentication.signOut();\n\n // Redirect to home\n window.location.href = \"/\";\n },\n };\n};\n","import React, { ReactNode, useContext } from \"react\";\n\nexport type Slotlets = Record<string, ReactNode>;\n\nconst SlotletContext = React.createContext<Slotlets | undefined>({});\n\nexport const SlotletProvider = ({\n slotlets,\n children,\n}: {\n children: ReactNode;\n slotlets?: Slotlets;\n}) => {\n return (\n <SlotletContext.Provider value={slotlets}>\n {children}\n </SlotletContext.Provider>\n );\n};\n\nexport const Slotlet = ({ name }: { name: string }) => {\n const x = useContext(SlotletContext);\n\n return x?.[name];\n};\n"],"names":["Unlink","createLucideIcon","NotFoundPage","params","useParams","jsxs","ProseClasses","jsx","CategoryHeading","Heading","UnlinkIcon","DeveloperHint","Link","ErrorAlert","error","message","stack","RouterError","useRouteError","isRouteErrorResponse","useAuth","authentication","useDevPortal","authState","useAuthState","isAuthEnabled","SlotletContext","React","SlotletProvider","slotlets","children","Slotlet","name","x","useContext"],"mappings":";;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,MAAMA,IAASC,EAAiB,UAAU;AAAA,EACxC;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IACN;AAAA,EACF;AAAA,EACD;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IACN;AAAA,EACF;AAAA,EACD,CAAC,QAAQ,EAAE,IAAI,KAAK,IAAI,KAAK,IAAI,KAAK,IAAI,KAAK,KAAK,SAAQ,CAAE;AAAA,EAC9D,CAAC,QAAQ,EAAE,IAAI,KAAK,IAAI,KAAK,IAAI,KAAK,IAAI,KAAK,KAAK,SAAQ,CAAE;AAAA,EAC9D,CAAC,QAAQ,EAAE,IAAI,MAAM,IAAI,MAAM,IAAI,MAAM,IAAI,MAAM,KAAK,SAAQ,CAAE;AAAA,EAClE,CAAC,QAAQ,EAAE,IAAI,MAAM,IAAI,MAAM,IAAI,MAAM,IAAI,MAAM,KAAK,SAAQ,CAAE;AACpE,CAAC,GCrBYC,IAAe,MAAM;AAChC,QAAMC,IAASC;AAEf,SACGC,gBAAAA,EAAAA,KAAA,OAAA,EAAI,WAAWC,IAAe,sCAC7B,UAAA;AAAA,IAAAC,gBAAAA,EAAAA,IAACC,KAAgB,UAAG,MAAA,CAAA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ACrB,QAAA,EAAE,gBAAAC,MAAmBC,KACrBC,IAAYC,KACZC,IAAgB,OAAOJ,IAAmB;AAEzC,SAAA;AAAA,IACL,eAAAI;AAAA,IACA,WAAWF,EAAU;AAAA,IACrB,SAASA,EAAU;AAAA,IACnB,iBAAiBA,EAAU;AAAA,IAE3B,OAAO,YAAY;AACjB,UAAI,CAACE;AACG,cAAA,IAAI,MAAM,gCAAgC;AAGlD,YAAMJ,EAAe;IACvB;AAAA,IAEA,QAAQ,YAAY;AAClB,UAAI,CAACI;AACG,cAAA,IAAI,MAAM,gCAAgC;AAGlD,YAAMJ,EAAe,WAGrB,OAAO,SAAS,OAAO;AAAA,IACzB;AAAA,EAAA;AAEJ,GC7BMK,IAAiBC,EAAM,cAAoC,CAAA,CAAE,GAEtDC,IAAkB,CAAC;AAAA,EAC9B,UAAAC;AAAA,EACA,UAAAC;AACF,4BAKKJ,EAAe,UAAf,EAAwB,OAAOG,GAC7B,UAAAC,EACH,CAAA,GAISC,IAAU,CAAC,EAAE,MAAAC,QAA6B;AAC/C,QAAAC,IAAIC,EAAWR,CAAc;AAEnC,SAAOO,KAAA,gBAAAA,EAAID;AACb;","x_google_ignoreList":[0]}
@@ -1,38 +1,38 @@
1
1
  import * as r from "react";
2
2
  import { createContext as se, useContext as ae, useState as ie, useEffect as ce, Children as ue } from "react";
3
- import { c as le, r as de, k as fe } from "./Markdown-BO5EsS-C.js";
4
- import { u as _, r as w, c as pe, a as G, k as me, o as K, f as ge, P as T, d as A, n as B } from "./Combination-BbWKjDLe.js";
3
+ import { u as _, r as w, c as le, a as G, k as de, o as K, f as fe, P as T, d as A, n as B } from "./Combination-Cq0UkOXq.js";
5
4
  import { j as p } from "./jsx-runtime-BIr0WBt_.js";
6
- import * as ve from "react-dom";
5
+ import * as pe from "react-dom";
6
+ import { c as me } from "./Markdown-DsCvZnhw.js";
7
7
  /**
8
8
  * @license lucide-react v0.378.0 - ISC
9
9
  *
10
10
  * This source code is licensed under the ISC license.
11
11
  * See the LICENSE file in the root directory of this source tree.
12
12
  */
13
- const be = le("LoaderCircle", [
13
+ const ge = me("LoaderCircle", [
14
14
  ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
15
- ]), Ce = se({ stagger: !1 }), Ge = ({ children: e }) => {
16
- const { stagger: t } = ae(Ce), [o, n] = ie(!t);
15
+ ]), ve = se({ stagger: !1 }), je = ({ children: e }) => {
16
+ const { stagger: t } = ae(ve), [o, n] = ie(!t);
17
17
  return ce(() => {
18
18
  if (o)
19
19
  return;
20
- const a = de(() => {
20
+ const a = requestIdleCallback(() => {
21
21
  n(!0);
22
22
  });
23
- return () => fe(a);
23
+ return () => cancelIdleCallback(a);
24
24
  }, [o]), o ? e : ue.toArray(e).slice(0, 3);
25
25
  };
26
- function Re(e, t) {
26
+ function be(e, t) {
27
27
  return r.useReducer((o, n) => t[o][n] ?? o, e);
28
28
  }
29
29
  var W = (e) => {
30
- const { present: t, children: o } = e, n = Ie(t), a = typeof o == "function" ? o({ present: n.isPresent }) : r.Children.only(o), l = _(n.ref, Ne(a));
30
+ const { present: t, children: o } = e, n = Ce(t), a = typeof o == "function" ? o({ present: n.isPresent }) : r.Children.only(o), l = _(n.ref, Re(a));
31
31
  return typeof o == "function" || n.isPresent ? r.cloneElement(a, { ref: l }) : null;
32
32
  };
33
33
  W.displayName = "Presence";
34
- function Ie(e) {
35
- const [t, o] = r.useState(), n = r.useRef({}), a = r.useRef(e), l = r.useRef("none"), f = e ? "mounted" : "unmounted", [R, i] = Re(f, {
34
+ function Ce(e) {
35
+ const [t, o] = r.useState(), n = r.useRef({}), a = r.useRef(e), l = r.useRef("none"), f = e ? "mounted" : "unmounted", [R, i] = be(f, {
36
36
  mounted: {
37
37
  UNMOUNT: "unmounted",
38
38
  ANIMATION_OUT: "unmountSuspended"
@@ -58,7 +58,7 @@ function Ie(e) {
58
58
  if (t) {
59
59
  const s = (v) => {
60
60
  const b = S(n.current).includes(v.animationName);
61
- v.target === t && b && ve.flushSync(() => i("ANIMATION_END"));
61
+ v.target === t && b && pe.flushSync(() => i("ANIMATION_END"));
62
62
  }, m = (v) => {
63
63
  v.target === t && (l.current = S(n.current));
64
64
  };
@@ -77,19 +77,19 @@ function Ie(e) {
77
77
  function S(e) {
78
78
  return (e == null ? void 0 : e.animationName) || "none";
79
79
  }
80
- function Ne(e) {
80
+ function Re(e) {
81
81
  var n, a;
82
82
  let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, o = t && "isReactWarning" in t && t.isReactWarning;
83
83
  return o ? e.ref : (t = (a = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : a.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
84
84
  }
85
- var P = "rovingFocusGroup.onEntryFocus", Ae = { bubbles: !1, cancelable: !0 }, x = "RovingFocusGroup", [O, Y, Ee] = pe(x), [he, Ke] = G(
85
+ var P = "rovingFocusGroup.onEntryFocus", Ie = { bubbles: !1, cancelable: !0 }, x = "RovingFocusGroup", [O, Y, Ne] = le(x), [Ae, ke] = G(
86
86
  x,
87
- [Ee]
88
- ), [Te, Se] = he(x), $ = r.forwardRef(
89
- (e, t) => /* @__PURE__ */ p.jsx(O.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ p.jsx(O.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ p.jsx(xe, { ...e, ref: t }) }) })
87
+ [Ne]
88
+ ), [Ee, he] = Ae(x), $ = r.forwardRef(
89
+ (e, t) => /* @__PURE__ */ p.jsx(O.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ p.jsx(O.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ p.jsx(Te, { ...e, ref: t }) }) })
90
90
  );
91
91
  $.displayName = x;
92
- var xe = r.forwardRef((e, t) => {
92
+ var Te = r.forwardRef((e, t) => {
93
93
  const {
94
94
  __scopeRovingFocusGroup: o,
95
95
  orientation: n,
@@ -101,17 +101,17 @@ var xe = r.forwardRef((e, t) => {
101
101
  onEntryFocus: s,
102
102
  preventScrollOnEntryFocus: m = !1,
103
103
  ...v
104
- } = e, I = r.useRef(null), b = _(t, I), u = me(l), [C = null, E] = K({
104
+ } = e, I = r.useRef(null), b = _(t, I), u = de(l), [C = null, E] = K({
105
105
  prop: f,
106
106
  defaultProp: R,
107
107
  onChange: i
108
- }), [d, c] = r.useState(!1), h = ge(s), Z = Y(o), F = r.useRef(!1), [ee, j] = r.useState(0);
108
+ }), [d, c] = r.useState(!1), h = fe(s), Z = Y(o), F = r.useRef(!1), [ee, j] = r.useState(0);
109
109
  return r.useEffect(() => {
110
110
  const g = I.current;
111
111
  if (g)
112
112
  return g.addEventListener(P, h), () => g.removeEventListener(P, h);
113
113
  }, [h]), /* @__PURE__ */ p.jsx(
114
- Te,
114
+ Ee,
115
115
  {
116
116
  scope: o,
117
117
  orientation: n,
@@ -145,7 +145,7 @@ var xe = r.forwardRef((e, t) => {
145
145
  onFocus: A(e.onFocus, (g) => {
146
146
  const te = !F.current;
147
147
  if (g.target === g.currentTarget && te && !d) {
148
- const k = new CustomEvent(P, Ae);
148
+ const k = new CustomEvent(P, Ie);
149
149
  if (g.currentTarget.dispatchEvent(k), !k.defaultPrevented) {
150
150
  const y = Z().filter((N) => N.focusable), ne = y.find((N) => N.active), oe = y.find((N) => N.id === C), re = [ne, oe, ...y].filter(
151
151
  Boolean
@@ -168,7 +168,7 @@ var xe = r.forwardRef((e, t) => {
168
168
  active: a = !1,
169
169
  tabStopId: l,
170
170
  ...f
171
- } = e, R = B(), i = l || R, s = Se(q, o), m = s.currentTabStopId === i, v = Y(o), { onFocusableItemAdd: I, onFocusableItemRemove: b } = s;
171
+ } = e, R = B(), i = l || R, s = he(q, o), m = s.currentTabStopId === i, v = Y(o), { onFocusableItemAdd: I, onFocusableItemRemove: b } = s;
172
172
  return r.useEffect(() => {
173
173
  if (n)
174
174
  return I(), () => b();
@@ -196,7 +196,7 @@ var xe = r.forwardRef((e, t) => {
196
196
  return;
197
197
  }
198
198
  if (u.target !== u.currentTarget) return;
199
- const C = Pe(u, s.orientation, s.dir);
199
+ const C = Fe(u, s.orientation, s.dir);
200
200
  if (C !== void 0) {
201
201
  if (u.metaKey || u.ctrlKey || u.altKey || u.shiftKey) return;
202
202
  u.preventDefault();
@@ -205,7 +205,7 @@ var xe = r.forwardRef((e, t) => {
205
205
  else if (C === "prev" || C === "next") {
206
206
  C === "prev" && d.reverse();
207
207
  const c = d.indexOf(u.currentTarget);
208
- d = s.loop ? we(d, c + 1) : d.slice(c + 1);
208
+ d = s.loop ? ye(d, c + 1) : d.slice(c + 1);
209
209
  }
210
210
  setTimeout(() => H(d));
211
211
  }
@@ -217,7 +217,7 @@ var xe = r.forwardRef((e, t) => {
217
217
  }
218
218
  );
219
219
  z.displayName = q;
220
- var Fe = {
220
+ var Se = {
221
221
  ArrowLeft: "prev",
222
222
  ArrowUp: "prev",
223
223
  ArrowRight: "next",
@@ -227,23 +227,23 @@ var Fe = {
227
227
  PageDown: "last",
228
228
  End: "last"
229
229
  };
230
- function ye(e, t) {
230
+ function xe(e, t) {
231
231
  return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
232
232
  }
233
- function Pe(e, t, o) {
234
- const n = ye(e.key, o);
233
+ function Fe(e, t, o) {
234
+ const n = xe(e.key, o);
235
235
  if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(n)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(n)))
236
- return Fe[n];
236
+ return Se[n];
237
237
  }
238
238
  function H(e, t = !1) {
239
239
  const o = document.activeElement;
240
240
  for (const n of e)
241
241
  if (n === o || (n.focus({ preventScroll: t }), document.activeElement !== o)) return;
242
242
  }
243
- function we(e, t) {
243
+ function ye(e, t) {
244
244
  return e.map((o, n) => e[(t + n) % e.length]);
245
245
  }
246
- var Be = $, We = z, M = "Collapsible", [Oe, Ye] = G(M), [_e, D] = Oe(M), V = r.forwardRef(
246
+ var Ge = $, Ke = z, M = "Collapsible", [Pe, Be] = G(M), [we, D] = Pe(M), V = r.forwardRef(
247
247
  (e, t) => {
248
248
  const {
249
249
  __scopeCollapsible: o,
@@ -258,7 +258,7 @@ var Be = $, We = z, M = "Collapsible", [Oe, Ye] = G(M), [_e, D] = Oe(M), V = r.f
258
258
  onChange: f
259
259
  });
260
260
  return /* @__PURE__ */ p.jsx(
261
- _e,
261
+ we,
262
262
  {
263
263
  scope: o,
264
264
  disabled: l,
@@ -302,11 +302,11 @@ Q.displayName = J;
302
302
  var L = "CollapsibleContent", X = r.forwardRef(
303
303
  (e, t) => {
304
304
  const { forceMount: o, ...n } = e, a = D(L, e.__scopeCollapsible);
305
- return /* @__PURE__ */ p.jsx(W, { present: o || a.open, children: ({ present: l }) => /* @__PURE__ */ p.jsx(Me, { ...n, ref: t, present: l }) });
305
+ return /* @__PURE__ */ p.jsx(W, { present: o || a.open, children: ({ present: l }) => /* @__PURE__ */ p.jsx(Oe, { ...n, ref: t, present: l }) });
306
306
  }
307
307
  );
308
308
  X.displayName = L;
309
- var Me = r.forwardRef((e, t) => {
309
+ var Oe = r.forwardRef((e, t) => {
310
310
  const { __scopeCollapsible: o, present: n, children: a, ...l } = e, f = D(L, o), [R, i] = r.useState(n), s = r.useRef(null), m = _(t, s), v = r.useRef(0), I = v.current, b = r.useRef(0), u = b.current, C = f.open || R, E = r.useRef(C), d = r.useRef();
311
311
  return r.useEffect(() => {
312
312
  const c = requestAnimationFrame(() => E.current = !1);
@@ -342,18 +342,18 @@ var Me = r.forwardRef((e, t) => {
342
342
  function U(e) {
343
343
  return e ? "open" : "closed";
344
344
  }
345
- var $e = V, qe = Q, ze = X;
346
- const He = ({ size: e = 16 }) => /* @__PURE__ */ p.jsx(be, { size: e, className: "animate-spin" });
345
+ var We = V, Ye = Q, $e = X;
346
+ const qe = ({ size: e = 16 }) => /* @__PURE__ */ p.jsx(ge, { size: e, className: "animate-spin" });
347
347
  export {
348
- ze as C,
349
- We as I,
348
+ $e as C,
349
+ Ke as I,
350
350
  W as P,
351
- Be as R,
352
- Ce as S,
353
- qe as T,
354
- $e as a,
355
- He as b,
356
- Ke as c,
357
- Ge as d
351
+ Ge as R,
352
+ ve as S,
353
+ Ye as T,
354
+ We as a,
355
+ qe as b,
356
+ ke as c,
357
+ je as d
358
358
  };
359
- //# sourceMappingURL=Spinner-6NfpF1CA.js.map
359
+ //# sourceMappingURL=Spinner-BBPlEab_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spinner-BBPlEab_.js","sources":["../../../node_modules/.pnpm/lucide-react@0.378.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/loader-circle.js","../src/lib/plugins/openapi/StaggeredRender.tsx","../../../node_modules/.pnpm/@radix-ui+react-presence@1.1.0_@types+react-dom@18.3.0_@types+react@18.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-presence/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.0_@types+react-dom@18.3.0_@types+react@18.3.3_react-dom@18.3_c7p7fyahj7jvpuxrqgc7mv7csa/node_modules/@radix-ui/react-roving-focus/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.0_@types+react-dom@18.3.0_@types+react@18.3.3_react-dom@18.3._qjsk5diswkeszbepgt4ntypuku/node_modules/@radix-ui/react-collapsible/dist/index.mjs","../src/lib/components/Spinner.tsx"],"sourcesContent":["/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst LoaderCircle = createLucideIcon(\"LoaderCircle\", [\n [\"path\", { d: \"M21 12a9 9 0 1 1-6.219-8.56\", key: \"13zald\" }]\n]);\n\nexport { LoaderCircle as default };\n//# sourceMappingURL=loader-circle.js.map\n","import {\n Children,\n createContext,\n ReactNode,\n useContext,\n useEffect,\n useState,\n} from \"react\";\n\nexport const StaggeredRenderContext = createContext({ stagger: false });\n\nconst StaggeredRender = ({ children }: { children: ReactNode[] }) => {\n const { stagger } = useContext(StaggeredRenderContext);\n const [renderAll, setRenderAll] = useState(!stagger);\n\n useEffect(() => {\n if (renderAll) {\n return;\n }\n\n const idle = requestIdleCallback(() => {\n setRenderAll(true);\n });\n\n return () => cancelIdleCallback(idle);\n }, [renderAll]);\n\n return !renderAll ? Children.toArray(children).slice(0, 3) : children;\n};\n\nexport default StaggeredRender;\n","\"use client\";\n\n// packages/react/presence/src/Presence.tsx\nimport * as React2 from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// packages/react/presence/src/useStateMachine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/Presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef({});\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n ReactDOM.flushSync(() => send(\"ANIMATION_END\"));\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Presence\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// packages/react/roving-focus/src/RovingFocusGroup.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId = null, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId,\n onChange: onCurrentTabStopIdChange\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n })\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// packages/react/collapsible/src/Collapsible.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { jsx } from \"react/jsx-runtime\";\nvar COLLAPSIBLE_NAME = \"Collapsible\";\nvar [createCollapsibleContext, createCollapsibleScope] = createContextScope(COLLAPSIBLE_NAME);\nvar [CollapsibleProvider, useCollapsibleContext] = createCollapsibleContext(COLLAPSIBLE_NAME);\nvar Collapsible = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeCollapsible,\n open: openProp,\n defaultOpen,\n disabled,\n onOpenChange,\n ...collapsibleProps\n } = props;\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n CollapsibleProvider,\n {\n scope: __scopeCollapsible,\n disabled,\n contentId: useId(),\n open,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(open),\n \"data-disabled\": disabled ? \"\" : void 0,\n ...collapsibleProps,\n ref: forwardedRef\n }\n )\n }\n );\n }\n);\nCollapsible.displayName = COLLAPSIBLE_NAME;\nvar TRIGGER_NAME = \"CollapsibleTrigger\";\nvar CollapsibleTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeCollapsible, ...triggerProps } = props;\n const context = useCollapsibleContext(TRIGGER_NAME, __scopeCollapsible);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-controls\": context.contentId,\n \"aria-expanded\": context.open || false,\n \"data-state\": getState(context.open),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n disabled: context.disabled,\n ...triggerProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nCollapsibleTrigger.displayName = TRIGGER_NAME;\nvar CONTENT_NAME = \"CollapsibleContent\";\nvar CollapsibleContent = React.forwardRef(\n (props, forwardedRef) => {\n const { forceMount, ...contentProps } = props;\n const context = useCollapsibleContext(CONTENT_NAME, props.__scopeCollapsible);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: ({ present }) => /* @__PURE__ */ jsx(CollapsibleContentImpl, { ...contentProps, ref: forwardedRef, present }) });\n }\n);\nCollapsibleContent.displayName = CONTENT_NAME;\nvar CollapsibleContentImpl = React.forwardRef((props, forwardedRef) => {\n const { __scopeCollapsible, present, children, ...contentProps } = props;\n const context = useCollapsibleContext(CONTENT_NAME, __scopeCollapsible);\n const [isPresent, setIsPresent] = React.useState(present);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const heightRef = React.useRef(0);\n const height = heightRef.current;\n const widthRef = React.useRef(0);\n const width = widthRef.current;\n const isOpen = context.open || isPresent;\n const isMountAnimationPreventedRef = React.useRef(isOpen);\n const originalStylesRef = React.useRef();\n React.useEffect(() => {\n const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);\n return () => cancelAnimationFrame(rAF);\n }, []);\n useLayoutEffect(() => {\n const node = ref.current;\n if (node) {\n originalStylesRef.current = originalStylesRef.current || {\n transitionDuration: node.style.transitionDuration,\n animationName: node.style.animationName\n };\n node.style.transitionDuration = \"0s\";\n node.style.animationName = \"none\";\n const rect = node.getBoundingClientRect();\n heightRef.current = rect.height;\n widthRef.current = rect.width;\n if (!isMountAnimationPreventedRef.current) {\n node.style.transitionDuration = originalStylesRef.current.transitionDuration;\n node.style.animationName = originalStylesRef.current.animationName;\n }\n setIsPresent(present);\n }\n }, [context.open, present]);\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n id: context.contentId,\n hidden: !isOpen,\n ...contentProps,\n ref: composedRefs,\n style: {\n [`--radix-collapsible-content-height`]: height ? `${height}px` : void 0,\n [`--radix-collapsible-content-width`]: width ? `${width}px` : void 0,\n ...props.style\n },\n children: isOpen && children\n }\n );\n});\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar Root = Collapsible;\nvar Trigger = CollapsibleTrigger;\nvar Content = CollapsibleContent;\nexport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n Content,\n Root,\n Trigger,\n createCollapsibleScope\n};\n//# sourceMappingURL=index.mjs.map\n","import { LoaderCircle } from \"lucide-react\";\n\nexport const Spinner = ({ size = 16 }: { size?: number }) => (\n <LoaderCircle size={size} className=\"animate-spin\" />\n);\n"],"names":["LoaderCircle","createLucideIcon","StaggeredRenderContext","createContext","StaggeredRender","children","stagger","useContext","renderAll","setRenderAll","useState","useEffect","idle","Children","useStateMachine","initialState","machine","React","state","event","Presence","props","present","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","handleAnimationEnd","isCurrentAnimation","ReactDOM","handleAnimationStart","node2","element","getter","_a","mayWarn","_b","ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","composedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","tabStopId","prevCount","Primitive","composeEventHandlers","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item","COLLAPSIBLE_NAME","createCollapsibleContext","createCollapsibleScope","CollapsibleProvider","useCollapsibleContext","Collapsible","__scopeCollapsible","openProp","defaultOpen","disabled","onOpenChange","collapsibleProps","open","setOpen","prevOpen","getState","TRIGGER_NAME","CollapsibleTrigger","triggerProps","CONTENT_NAME","CollapsibleContent","forceMount","contentProps","CollapsibleContentImpl","isPresent","setIsPresent","heightRef","height","widthRef","width","isOpen","isMountAnimationPreventedRef","originalStylesRef","rAF","rect","Trigger","Content","Spinner","size"],"mappings":";;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,MAAMA,KAAeC,GAAiB,gBAAgB;AAAA,EACpD,CAAC,QAAQ,EAAE,GAAG,+BAA+B,KAAK,SAAQ,CAAE;AAC9D,CAAC,GCFYC,KAAyBC,GAAc,EAAE,SAAS,IAAO,GAEhEC,KAAkB,CAAC,EAAE,UAAAC,QAA0C;AACnE,QAAM,EAAE,SAAAC,EAAA,IAAYC,GAAWL,EAAsB,GAC/C,CAACM,GAAWC,CAAY,IAAIC,GAAS,CAACJ,CAAO;AAEn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ACxB4B,EAAU;AAAA,IACV;AAAA,MACE,cAAcsD,EAASpC,EAAQ,IAAI;AAAA,MACnC,iBAAiBA,EAAQ,WAAW,KAAK;AAAA,MACzC,IAAIA,EAAQ;AAAA,MACZ,QAAQ,CAACmD;AAAA,MACT,GAAGR;AAAA,MACH,KAAK7E;AAAA,MACL,OAAO;AAAA,QACJ,sCAAuCkF,IAAS,GAAGA,CAAM,OAAO;AAAA,QAChE,qCAAsCE,IAAQ,GAAGA,CAAK,OAAO;AAAA,QAC9D,GAAG7I,EAAM;AAAA,MACV;AAAA,MACD,UAAU8I,KAAU9J;AAAA,IACrB;AAAA,EACL;AACA,CAAC;AACD,SAAS+I,EAASH,GAAM;AACtB,SAAOA,IAAO,SAAS;AACzB;AACG,IAACd,KAAOO,GACP8B,KAAUlB,GACVmB,KAAUhB;AC7ID,MAAAiB,KAAU,CAAC,EAAE,MAAAC,IAAO,SAC9BzG,gBAAAA,MAAAlE,IAAA,EAAa,MAAA2K,GAAY,WAAU,eAAe,CAAA;","x_google_ignoreList":[0,2,3,4]}
@@ -1,8 +1,8 @@
1
1
  import { j as n, e as k } from "./jsx-runtime-BIr0WBt_.js";
2
- import { a as r, P as o, H as u, L as c, S as p } from "./Markdown-BO5EsS-C.js";
2
+ import { a as r, P as o, H as u, L as c, S as p } from "./Markdown-DsCvZnhw.js";
3
3
  import { C as v, c as N, f as y } from "./urql-DMlBWUKL.js";
4
4
  import { createClient as F } from "zudoku/openapi-worker";
5
- import { C as S } from "./CategoryHeading-aW8CL0KA.js";
5
+ import { C as S } from "./CategoryHeading-D5Q-X6lE.js";
6
6
  import { m as g } from "./router-BiRCp01d.js";
7
7
  const M = {
8
8
  get: "text-green-600",
@@ -706,7 +706,7 @@ const j = ({
706
706
  {
707
707
  index: !0,
708
708
  async lazy() {
709
- const { OperationList: i } = await import("./OperationList-VK1_1rzp.js");
709
+ const { OperationList: i } = await import("./OperationList-i6FGZUu4.js");
710
710
  return { element: /* @__PURE__ */ n.jsx(i, {}) };
711
711
  }
712
712
  }
@@ -723,4 +723,4 @@ export {
723
723
  V as g,
724
724
  G as o
725
725
  };
726
- //# sourceMappingURL=index-7W7DUZbY.js.map
726
+ //# sourceMappingURL=index-DT-cf5tv.js.map