zudoku 0.3.0-dev.10 → 0.3.0-dev.12

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 (125) hide show
  1. package/dist/app/App.js +8 -6
  2. package/dist/app/App.js.map +1 -1
  3. package/dist/config/config.d.ts +5 -14
  4. package/dist/lib/authentication/authentication.d.ts +2 -2
  5. package/dist/lib/components/DevPortal.d.ts +2 -20
  6. package/dist/lib/components/DevPortal.js +13 -8
  7. package/dist/lib/components/DevPortal.js.map +1 -1
  8. package/dist/lib/components/Header.js +2 -2
  9. package/dist/lib/components/Header.js.map +1 -1
  10. package/dist/lib/components/Heading.d.ts +9 -4
  11. package/dist/lib/components/Heading.js +17 -2
  12. package/dist/lib/components/Heading.js.map +1 -1
  13. package/dist/lib/components/Layout.js +1 -1
  14. package/dist/lib/components/Layout.js.map +1 -1
  15. package/dist/lib/components/context/DevPortalProvider.d.ts +1 -1
  16. package/dist/lib/components/context/DevPortalProvider.js +2 -2
  17. package/dist/lib/components/context/DevPortalProvider.js.map +1 -1
  18. package/dist/lib/core/DevPortalContext.d.ts +33 -3
  19. package/dist/lib/core/DevPortalContext.js +4 -2
  20. package/dist/lib/core/DevPortalContext.js.map +1 -1
  21. package/dist/lib/core/plugins.d.ts +7 -4
  22. package/dist/lib/core/plugins.js +1 -0
  23. package/dist/lib/core/plugins.js.map +1 -1
  24. package/dist/lib/oas/graphql/index.js +1 -1
  25. package/dist/lib/oas/graphql/index.js.map +1 -1
  26. package/dist/lib/oas/parser/index.js +3 -1
  27. package/dist/lib/oas/parser/index.js.map +1 -1
  28. package/dist/lib/plugins/markdown/MdxPage.d.ts +3 -2
  29. package/dist/lib/plugins/markdown/MdxPage.js +5 -4
  30. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  31. package/dist/lib/plugins/markdown/generateRoutes.d.ts +2 -2
  32. package/dist/lib/plugins/markdown/generateRoutes.js +2 -2
  33. package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
  34. package/dist/lib/plugins/markdown/index.d.ts +4 -1
  35. package/dist/lib/plugins/markdown/index.js +2 -2
  36. package/dist/lib/plugins/markdown/index.js.map +1 -1
  37. package/dist/lib/plugins/openapi/OperationList.js +4 -3
  38. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  39. package/dist/lib/plugins/openapi/OperationListItem.js +8 -4
  40. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  41. package/dist/lib/plugins/openapi/ParameterList.js +1 -1
  42. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  43. package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
  44. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  45. package/dist/lib/plugins/openapi/{MakeRequest.d.ts → PlaygroundDialogWrapper.d.ts} +1 -1
  46. package/dist/lib/plugins/openapi/{MakeRequest.js → PlaygroundDialogWrapper.js} +4 -4
  47. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -0
  48. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +1 -9
  49. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  50. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -1
  51. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  52. package/dist/lib/plugins/openapi/SchemaListView.js +4 -26
  53. package/dist/lib/plugins/openapi/SchemaListView.js.map +1 -1
  54. package/dist/lib/plugins/openapi/SchemaListViewItem.d.ts +7 -0
  55. package/dist/lib/plugins/openapi/SchemaListViewItem.js +16 -0
  56. package/dist/lib/plugins/openapi/SchemaListViewItem.js.map +1 -0
  57. package/dist/lib/plugins/openapi/SchemaListViewItemGroup.d.ts +8 -0
  58. package/dist/lib/plugins/openapi/SchemaListViewItemGroup.js +17 -0
  59. package/dist/lib/plugins/openapi/SchemaListViewItemGroup.js.map +1 -0
  60. package/dist/lib/plugins/openapi/Sidecar.js +2 -2
  61. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  62. package/dist/lib/plugins/openapi/index.js +8 -0
  63. package/dist/lib/plugins/openapi/index.js.map +1 -1
  64. package/dist/lib/plugins/openapi/playground/Playground.d.ts +4 -4
  65. package/dist/lib/plugins/openapi/playground/Playground.js +7 -11
  66. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  67. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.d.ts +3 -0
  68. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +10 -0
  69. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -0
  70. package/dist/lib/plugins/openapi/util/prose.d.ts +1 -0
  71. package/dist/lib/plugins/openapi/util/prose.js +4 -0
  72. package/dist/lib/plugins/openapi/util/prose.js.map +1 -0
  73. package/dist/lib/plugins/openapi/worker/worker.js +25 -1
  74. package/dist/lib/plugins/openapi/worker/worker.js.map +1 -1
  75. package/dist/lib/ui/button-variants.d.ts +1 -1
  76. package/dist/lib/util/MdxComponents.js +1 -1
  77. package/dist/lib/util/MdxComponents.js.map +1 -1
  78. package/dist/lib/util/objectEntries.d.ts +4 -0
  79. package/dist/lib/util/objectEntries.js +2 -0
  80. package/dist/lib/util/objectEntries.js.map +1 -0
  81. package/dist/lib/util/renderIf.d.ts +1 -0
  82. package/dist/lib/util/renderIf.js +2 -0
  83. package/dist/lib/util/renderIf.js.map +1 -0
  84. package/dist/vite/plugin-docs.js +1 -1
  85. package/dist/vite/plugin-docs.js.map +1 -1
  86. package/lib/{Spinner-DCwVN24H.js → Spinner-CbtkR-Im.js} +3249 -3232
  87. package/lib/assets/{worker-BCcpCNJ7.js → worker-DGvzLstc.js} +9843 -9800
  88. package/lib/zudoku.components.js +174 -161
  89. package/lib/zudoku.openapi-worker.js +12 -12
  90. package/lib/zudoku.plugins.js +3722 -3712
  91. package/package.json +2 -1
  92. package/src/app/App.tsx +9 -7
  93. package/src/lib/authentication/authentication.ts +2 -5
  94. package/src/lib/components/DevPortal.tsx +12 -27
  95. package/src/lib/components/Header.tsx +4 -4
  96. package/src/lib/components/Heading.tsx +26 -7
  97. package/src/lib/components/Layout.tsx +1 -1
  98. package/src/lib/components/context/DevPortalProvider.ts +2 -2
  99. package/src/lib/core/DevPortalContext.ts +38 -10
  100. package/src/lib/core/plugins.ts +10 -5
  101. package/src/lib/oas/graphql/index.ts +2 -2
  102. package/src/lib/oas/parser/index.ts +3 -1
  103. package/src/lib/plugins/markdown/MdxPage.tsx +49 -32
  104. package/src/lib/plugins/markdown/generateRoutes.tsx +12 -2
  105. package/src/lib/plugins/markdown/index.tsx +8 -1
  106. package/src/lib/plugins/openapi/OperationList.tsx +9 -3
  107. package/src/lib/plugins/openapi/OperationListItem.tsx +39 -18
  108. package/src/lib/plugins/openapi/ParameterList.tsx +1 -1
  109. package/src/lib/plugins/openapi/ParameterListItem.tsx +3 -4
  110. package/src/lib/plugins/openapi/{MakeRequest.tsx → PlaygroundDialogWrapper.tsx} +3 -3
  111. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +2 -17
  112. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +3 -1
  113. package/src/lib/plugins/openapi/SchemaListView.tsx +15 -182
  114. package/src/lib/plugins/openapi/SchemaListViewItem.tsx +110 -0
  115. package/src/lib/plugins/openapi/SchemaListViewItemGroup.tsx +63 -0
  116. package/src/lib/plugins/openapi/Sidecar.tsx +2 -2
  117. package/src/lib/plugins/openapi/index.tsx +17 -4
  118. package/src/lib/plugins/openapi/playground/Playground.tsx +157 -187
  119. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +34 -0
  120. package/src/lib/plugins/openapi/util/prose.ts +7 -0
  121. package/src/lib/plugins/openapi/worker/worker.ts +27 -1
  122. package/src/lib/util/MdxComponents.tsx +1 -1
  123. package/src/lib/util/objectEntries.ts +5 -0
  124. package/src/lib/util/renderIf.ts +4 -0
  125. package/dist/lib/plugins/openapi/MakeRequest.js.map +0 -1
@@ -1,10 +1,10 @@
1
- var De = Object.defineProperty;
1
+ var Te = Object.defineProperty;
2
2
  var se = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
- var Te = (t, e, s) => e in t ? De(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
6
- var y = (t, e, s) => Te(t, typeof e != "symbol" ? e + "" : e, s), ae = (t, e, s) => e.has(t) || se("Cannot " + s);
7
- var i = (t, e, s) => (ae(t, e, "read from private field"), s ? s.call(t) : e.get(t)), m = (t, e, s) => e.has(t) ? se("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), u = (t, e, s, a) => (ae(t, e, "write to private field"), a ? a.call(t, s) : e.set(t, s), s);
5
+ var Ie = (t, e, s) => e in t ? Te(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
6
+ var g = (t, e, s) => Ie(t, typeof e != "symbol" ? e + "" : e, s), ae = (t, e, s) => e.has(t) || se("Cannot " + s);
7
+ var i = (t, e, s) => (ae(t, e, "read from private field"), s ? s.call(t) : e.get(t)), v = (t, e, s) => e.has(t) ? se("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), u = (t, e, s, a) => (ae(t, e, "write to private field"), a ? a.call(t, s) : e.set(t, s), s);
8
8
  var S = (t, e, s, a) => ({
9
9
  set _(r) {
10
10
  u(t, e, r, s);
@@ -13,21 +13,21 @@ var S = (t, e, s, a) => ({
13
13
  return i(t, e, a);
14
14
  }
15
15
  });
16
- import { j as n, u as D, O as Ie } from "./index-PyGcnQFX.js";
17
- import { S as me, h as ge, Q as Ee, n as p, m as ne, M as Se, a as re, b as j, e as Fe, c as Re, d as He, f as Le, o as ie, r as oe, g as ze, i as le, p as ce, s as Ke, j as z, u as U, N as B, k as _e, l as Be, q as Ve, t as W, v as X, w as V, x as ve, y as Ue, z as L, R as ye, T as xe, C as be, A as We, B as Xe, D as $e, E as Ge, H as Je, F as Ye, G as Ze, I as et, J as tt, K as st, L as at, O as nt, P as rt, U as it, V as ot } from "./Spinner-DCwVN24H.js";
18
- import { X as _t, W as Bt } from "./Spinner-DCwVN24H.js";
19
- import { memo as je, createContext as lt, useEffect as I, useRef as K, useState as ct, forwardRef as ht, Suspense as Pe, useMemo as H } from "react";
20
- import { c as ut } from "./state-2Hu1renZ.js";
21
- var x, de, dt = (de = class extends me {
16
+ import { j as n, u as D, O as Ee } from "./index-PyGcnQFX.js";
17
+ import { S as me, h as ge, Q as Se, n as m, m as ne, M as Fe, a as re, b as j, e as Re, c as He, d as Le, f as ze, o as ie, r as oe, g as Ke, i as le, p as ce, s as _e, j as z, u as U, N as B, k as Be, l as Ve, q as Ue, t as W, v as X, w as V, x as ve, y as We, z as L, R as ye, T as xe, C as be, A as Xe, B as $e, D as Ge, E as Je, H as je, F as Ye, G as Ze, I as et, J as tt, K as st, L as at, O as nt, P as rt, U as it, V as ot } from "./Spinner-CbtkR-Im.js";
18
+ import { X as Vt, W as Ut } from "./Spinner-CbtkR-Im.js";
19
+ import { memo as Pe, createContext as lt, useEffect as I, useRef as K, useState as ct, forwardRef as ht, Suspense as we, useMemo as H, Fragment as ut } from "react";
20
+ import { c as dt } from "./state-2Hu1renZ.js";
21
+ var x, de, ft = (de = class extends me {
22
22
  constructor(e = {}) {
23
23
  super();
24
- m(this, x);
24
+ v(this, x);
25
25
  this.config = e, u(this, x, /* @__PURE__ */ new Map());
26
26
  }
27
27
  build(e, s, a) {
28
28
  const r = s.queryKey, o = s.queryHash ?? ge(r, s);
29
29
  let l = this.get(o);
30
- return l || (l = new Ee({
30
+ return l || (l = new Se({
31
31
  cache: this,
32
32
  queryKey: r,
33
33
  queryHash: o,
@@ -47,7 +47,7 @@ var x, de, dt = (de = class extends me {
47
47
  s && (e.destroy(), s === e && i(this, x).delete(e.queryHash), this.notify({ type: "removed", query: e }));
48
48
  }
49
49
  clear() {
50
- p.batch(() => {
50
+ m.batch(() => {
51
51
  this.getAll().forEach((e) => {
52
52
  this.remove(e);
53
53
  });
@@ -70,35 +70,35 @@ var x, de, dt = (de = class extends me {
70
70
  return Object.keys(e).length > 0 ? s.filter((a) => ne(e, a)) : s;
71
71
  }
72
72
  notify(e) {
73
- p.batch(() => {
73
+ m.batch(() => {
74
74
  this.listeners.forEach((s) => {
75
75
  s(e);
76
76
  });
77
77
  });
78
78
  }
79
79
  onFocus() {
80
- p.batch(() => {
80
+ m.batch(() => {
81
81
  this.getAll().forEach((e) => {
82
82
  e.onFocus();
83
83
  });
84
84
  });
85
85
  }
86
86
  onOnline() {
87
- p.batch(() => {
87
+ m.batch(() => {
88
88
  this.getAll().forEach((e) => {
89
89
  e.onOnline();
90
90
  });
91
91
  });
92
92
  }
93
- }, x = new WeakMap(), de), f, T, fe, ft = (fe = class extends me {
93
+ }, x = new WeakMap(), de), p, T, fe, pt = (fe = class extends me {
94
94
  constructor(e = {}) {
95
95
  super();
96
- m(this, f);
97
- m(this, T);
98
- this.config = e, u(this, f, /* @__PURE__ */ new Map()), u(this, T, Date.now());
96
+ v(this, p);
97
+ v(this, T);
98
+ this.config = e, u(this, p, /* @__PURE__ */ new Map()), u(this, T, Date.now());
99
99
  }
100
100
  build(e, s, a) {
101
- const r = new Se({
101
+ const r = new Fe({
102
102
  mutationCache: this,
103
103
  mutationId: ++S(this, T)._,
104
104
  options: e.defaultMutationOptions(s),
@@ -107,37 +107,37 @@ var x, de, dt = (de = class extends me {
107
107
  return this.add(r), r;
108
108
  }
109
109
  add(e) {
110
- const s = F(e), a = i(this, f).get(s) ?? [];
111
- a.push(e), i(this, f).set(s, a), this.notify({ type: "added", mutation: e });
110
+ const s = F(e), a = i(this, p).get(s) ?? [];
111
+ a.push(e), i(this, p).set(s, a), this.notify({ type: "added", mutation: e });
112
112
  }
113
113
  remove(e) {
114
114
  var a;
115
115
  const s = F(e);
116
- if (i(this, f).has(s)) {
117
- const r = (a = i(this, f).get(s)) == null ? void 0 : a.filter((o) => o !== e);
118
- r && (r.length === 0 ? i(this, f).delete(s) : i(this, f).set(s, r));
116
+ if (i(this, p).has(s)) {
117
+ const r = (a = i(this, p).get(s)) == null ? void 0 : a.filter((o) => o !== e);
118
+ r && (r.length === 0 ? i(this, p).delete(s) : i(this, p).set(s, r));
119
119
  }
120
120
  this.notify({ type: "removed", mutation: e });
121
121
  }
122
122
  canRun(e) {
123
123
  var a;
124
- const s = (a = i(this, f).get(F(e))) == null ? void 0 : a.find((r) => r.state.status === "pending");
124
+ const s = (a = i(this, p).get(F(e))) == null ? void 0 : a.find((r) => r.state.status === "pending");
125
125
  return !s || s === e;
126
126
  }
127
127
  runNext(e) {
128
128
  var a;
129
- const s = (a = i(this, f).get(F(e))) == null ? void 0 : a.find((r) => r !== e && r.state.isPaused);
129
+ const s = (a = i(this, p).get(F(e))) == null ? void 0 : a.find((r) => r !== e && r.state.isPaused);
130
130
  return (s == null ? void 0 : s.continue()) ?? Promise.resolve();
131
131
  }
132
132
  clear() {
133
- p.batch(() => {
133
+ m.batch(() => {
134
134
  this.getAll().forEach((e) => {
135
135
  this.remove(e);
136
136
  });
137
137
  });
138
138
  }
139
139
  getAll() {
140
- return [...i(this, f).values()].flat();
140
+ return [...i(this, p).values()].flat();
141
141
  }
142
142
  find(e) {
143
143
  const s = { exact: !0, ...e };
@@ -149,7 +149,7 @@ var x, de, dt = (de = class extends me {
149
149
  return this.getAll().filter((s) => re(e, s));
150
150
  }
151
151
  notify(e) {
152
- p.batch(() => {
152
+ m.batch(() => {
153
153
  this.listeners.forEach((s) => {
154
154
  s(e);
155
155
  });
@@ -157,65 +157,65 @@ var x, de, dt = (de = class extends me {
157
157
  }
158
158
  resumePausedMutations() {
159
159
  const e = this.getAll().filter((s) => s.state.isPaused);
160
- return p.batch(
160
+ return m.batch(
161
161
  () => Promise.all(
162
162
  e.map((s) => s.continue().catch(j))
163
163
  )
164
164
  );
165
165
  }
166
- }, f = new WeakMap(), T = new WeakMap(), fe);
166
+ }, p = new WeakMap(), T = new WeakMap(), fe);
167
167
  function F(t) {
168
168
  var e;
169
169
  return ((e = t.options.scope) == null ? void 0 : e.id) ?? String(t.mutationId);
170
170
  }
171
- function pt(t) {
171
+ function mt(t) {
172
172
  return {
173
173
  onFetch: (e, s) => {
174
174
  const a = async () => {
175
175
  var $, G, J, Y, Z;
176
- const r = e.options, o = (J = (G = ($ = e.fetchOptions) == null ? void 0 : $.meta) == null ? void 0 : G.fetchMore) == null ? void 0 : J.direction, l = ((Y = e.state.data) == null ? void 0 : Y.pages) || [], h = ((Z = e.state.data) == null ? void 0 : Z.pageParams) || [], g = { pages: [], pageParams: [] };
176
+ const r = e.options, o = (J = (G = ($ = e.fetchOptions) == null ? void 0 : $.meta) == null ? void 0 : G.fetchMore) == null ? void 0 : J.direction, l = ((Y = e.state.data) == null ? void 0 : Y.pages) || [], h = ((Z = e.state.data) == null ? void 0 : Z.pageParams) || [], d = { pages: [], pageParams: [] };
177
177
  let b = !1;
178
- const d = (v) => {
179
- Object.defineProperty(v, "signal", {
178
+ const f = (y) => {
179
+ Object.defineProperty(y, "signal", {
180
180
  enumerable: !0,
181
181
  get: () => (e.signal.aborted ? b = !0 : e.signal.addEventListener("abort", () => {
182
182
  b = !0;
183
183
  }), e.signal)
184
184
  });
185
- }, Qe = Fe(e.options, e.fetchOptions), _ = async (v, P, O) => {
185
+ }, qe = Re(e.options, e.fetchOptions), _ = async (y, P, O) => {
186
186
  if (b)
187
187
  return Promise.reject();
188
- if (P == null && v.pages.length)
189
- return Promise.resolve(v);
188
+ if (P == null && y.pages.length)
189
+ return Promise.resolve(y);
190
190
  const E = {
191
191
  queryKey: e.queryKey,
192
192
  pageParam: P,
193
193
  direction: O ? "backward" : "forward",
194
194
  meta: e.options.meta
195
195
  };
196
- d(E);
197
- const qe = await Qe(
196
+ f(E);
197
+ const De = await qe(
198
198
  E
199
- ), { maxPages: ee } = e.options, te = O ? Re : He;
199
+ ), { maxPages: ee } = e.options, te = O ? He : Le;
200
200
  return {
201
- pages: te(v.pages, qe, ee),
202
- pageParams: te(v.pageParams, P, ee)
201
+ pages: te(y.pages, De, ee),
202
+ pageParams: te(y.pageParams, P, ee)
203
203
  };
204
204
  };
205
205
  let C;
206
206
  if (o && l.length) {
207
- const v = o === "backward", P = v ? mt : he, O = {
207
+ const y = o === "backward", P = y ? gt : he, O = {
208
208
  pages: l,
209
209
  pageParams: h
210
210
  }, E = P(r, O);
211
- C = await _(O, E, v);
211
+ C = await _(O, E, y);
212
212
  } else {
213
213
  C = await _(
214
- g,
214
+ d,
215
215
  h[0] ?? r.initialPageParam
216
216
  );
217
- const v = t ?? l.length;
218
- for (let P = 1; P < v; P++) {
217
+ const y = t ?? l.length;
218
+ for (let P = 1; P < y; P++) {
219
219
  const O = he(r, C);
220
220
  C = await _(C, O);
221
221
  }
@@ -247,7 +247,7 @@ function he(t, { pages: e, pageParams: s }) {
247
247
  s
248
248
  );
249
249
  }
250
- function mt(t, { pages: e, pageParams: s }) {
250
+ function gt(t, { pages: e, pageParams: s }) {
251
251
  var a;
252
252
  return (a = t.getPreviousPageParam) == null ? void 0 : a.call(
253
253
  t,
@@ -257,20 +257,20 @@ function mt(t, { pages: e, pageParams: s }) {
257
257
  s
258
258
  );
259
259
  }
260
- var c, w, N, M, A, k, Q, q, pe, gt = (pe = class {
260
+ var c, w, N, M, A, k, Q, q, pe, vt = (pe = class {
261
261
  constructor(t = {}) {
262
- m(this, c);
263
- m(this, w);
264
- m(this, N);
265
- m(this, M);
266
- m(this, A);
267
- m(this, k);
268
- m(this, Q);
269
- m(this, q);
270
- u(this, c, t.queryCache || new dt()), u(this, w, t.mutationCache || new ft()), u(this, N, t.defaultOptions || {}), u(this, M, /* @__PURE__ */ new Map()), u(this, A, /* @__PURE__ */ new Map()), u(this, k, 0);
262
+ v(this, c);
263
+ v(this, w);
264
+ v(this, N);
265
+ v(this, M);
266
+ v(this, A);
267
+ v(this, k);
268
+ v(this, Q);
269
+ v(this, q);
270
+ u(this, c, t.queryCache || new ft()), u(this, w, t.mutationCache || new pt()), u(this, N, t.defaultOptions || {}), u(this, M, /* @__PURE__ */ new Map()), u(this, A, /* @__PURE__ */ new Map()), u(this, k, 0);
271
271
  }
272
272
  mount() {
273
- S(this, k)._++, i(this, k) === 1 && (u(this, Q, Le.subscribe(async (t) => {
273
+ S(this, k)._++, i(this, k) === 1 && (u(this, Q, ze.subscribe(async (t) => {
274
274
  t && (await this.resumePausedMutations(), i(this, c).onFocus());
275
275
  })), u(this, q, ie.subscribe(async (t) => {
276
276
  t && (await this.resumePausedMutations(), i(this, c).onOnline());
@@ -309,12 +309,12 @@ var c, w, N, M, A, k, Q, q, pe, gt = (pe = class {
309
309
  setQueryData(t, e, s) {
310
310
  const a = this.defaultQueryOptions({ queryKey: t }), r = i(this, c).get(
311
311
  a.queryHash
312
- ), o = r == null ? void 0 : r.state.data, l = ze(e, o);
312
+ ), o = r == null ? void 0 : r.state.data, l = Ke(e, o);
313
313
  if (l !== void 0)
314
314
  return i(this, c).build(this, a).setData(l, { ...s, manual: !0 });
315
315
  }
316
316
  setQueriesData(t, e, s) {
317
- return p.batch(
317
+ return m.batch(
318
318
  () => i(this, c).findAll(t).map(({ queryKey: a }) => [
319
319
  a,
320
320
  this.setQueryData(a, e, s)
@@ -328,7 +328,7 @@ var c, w, N, M, A, k, Q, q, pe, gt = (pe = class {
328
328
  }
329
329
  removeQueries(t) {
330
330
  const e = i(this, c);
331
- p.batch(() => {
331
+ m.batch(() => {
332
332
  e.findAll(t).forEach((s) => {
333
333
  e.remove(s);
334
334
  });
@@ -339,18 +339,18 @@ var c, w, N, M, A, k, Q, q, pe, gt = (pe = class {
339
339
  type: "active",
340
340
  ...t
341
341
  };
342
- return p.batch(() => (s.findAll(t).forEach((r) => {
342
+ return m.batch(() => (s.findAll(t).forEach((r) => {
343
343
  r.reset();
344
344
  }), this.refetchQueries(a, e)));
345
345
  }
346
346
  cancelQueries(t = {}, e = {}) {
347
- const s = { revert: !0, ...e }, a = p.batch(
347
+ const s = { revert: !0, ...e }, a = m.batch(
348
348
  () => i(this, c).findAll(t).map((r) => r.cancel(s))
349
349
  );
350
350
  return Promise.all(a).then(j).catch(j);
351
351
  }
352
352
  invalidateQueries(t = {}, e = {}) {
353
- return p.batch(() => {
353
+ return m.batch(() => {
354
354
  if (i(this, c).findAll(t).forEach((a) => {
355
355
  a.invalidate();
356
356
  }), t.refetchType === "none")
@@ -366,7 +366,7 @@ var c, w, N, M, A, k, Q, q, pe, gt = (pe = class {
366
366
  const s = {
367
367
  ...e,
368
368
  cancelRefetch: (e == null ? void 0 : e.cancelRefetch) ?? !0
369
- }, a = p.batch(
369
+ }, a = m.batch(
370
370
  () => i(this, c).findAll(t).filter((r) => !r.isDisabled()).map((r) => {
371
371
  let o = r.fetch(void 0, s);
372
372
  return s.throwOnError || (o = o.catch(j)), r.state.fetchStatus === "paused" ? Promise.resolve() : o;
@@ -386,7 +386,7 @@ var c, w, N, M, A, k, Q, q, pe, gt = (pe = class {
386
386
  return this.fetchQuery(t).then(j).catch(j);
387
387
  }
388
388
  fetchInfiniteQuery(t) {
389
- return t.behavior = pt(t.pages), this.fetchQuery(t);
389
+ return t.behavior = mt(t.pages), this.fetchQuery(t);
390
390
  }
391
391
  prefetchInfiniteQuery(t) {
392
392
  return this.fetchInfiniteQuery(t).then(j).catch(j);
@@ -444,7 +444,7 @@ var c, w, N, M, A, k, Q, q, pe, gt = (pe = class {
444
444
  return e.queryHash || (e.queryHash = ge(
445
445
  e.queryKey,
446
446
  e
447
- )), 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.enabled !== !0 && e.queryFn === Ke && (e.enabled = !1), e;
447
+ )), 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.enabled !== !0 && e.queryFn === _e && (e.enabled = !1), e;
448
448
  }
449
449
  defaultMutationOptions(t) {
450
450
  return t != null && t._defaulted ? t : {
@@ -458,27 +458,31 @@ var c, w, N, M, A, k, Q, q, pe, gt = (pe = class {
458
458
  i(this, c).clear(), i(this, w).clear();
459
459
  }
460
460
  }, c = new WeakMap(), w = new WeakMap(), N = new WeakMap(), M = new WeakMap(), A = new WeakMap(), k = new WeakMap(), Q = new WeakMap(), q = new WeakMap(), pe);
461
- const we = (t) => "getRoutes" in t && typeof t.getRoutes == "function", vt = (t) => "initialize" in t && typeof t.initialize == "function", yt = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Ne = new gt(), xt = ut(() => ({}));
462
- class bt {
461
+ const Ne = (t) => "getRoutes" in t && typeof t.getRoutes == "function", yt = (t) => "initialize" in t && typeof t.initialize == "function", xt = (t) => "getHead" in t && typeof t.getHead == "function", bt = (t) => "getIdentities" in t && typeof t.getIdentities == "function", ke = new vt(), jt = dt(() => ({}));
462
+ class Pt {
463
463
  constructor(e) {
464
- y(this, "plugins", []);
465
- y(this, "navigationPlugins");
466
- y(this, "navigation");
467
- y(this, "meta");
468
- y(this, "authentication");
469
- y(this, "state");
470
- y(this, "initialize", async () => {
464
+ g(this, "plugins", []);
465
+ g(this, "navigationPlugins");
466
+ g(this, "navigation");
467
+ g(this, "meta");
468
+ g(this, "page");
469
+ g(this, "authentication");
470
+ g(this, "state");
471
+ g(this, "initialize", async () => {
471
472
  await Promise.all([
472
- this.plugins.filter(vt).map((e) => e.initialize(this))
473
+ this.plugins.filter(yt).map((e) => {
474
+ var s;
475
+ return (s = e.initialize) == null ? void 0 : s.call(e, this);
476
+ })
473
477
  ]);
474
478
  });
475
- y(this, "invalidateCache", async (e) => {
476
- await Ne.invalidateQueries({ queryKey: e });
479
+ g(this, "invalidateCache", async (e) => {
480
+ await ke.invalidateQueries({ queryKey: e });
477
481
  });
478
- y(this, "getApiIdentities", async () => (await Promise.all(
479
- this.plugins.filter(yt).map((s) => s.getIdentities(this))
482
+ g(this, "getApiIdentities", async () => (await Promise.all(
483
+ this.plugins.filter(bt).map((s) => s.getIdentities(this))
480
484
  )).flat());
481
- y(this, "getNavigation", async (e) => (await Promise.all(
485
+ g(this, "getNavigation", async (e) => (await Promise.all(
482
486
  this.navigationPlugins.map(
483
487
  async (a) => {
484
488
  var r;
@@ -486,7 +490,7 @@ class bt {
486
490
  }
487
491
  )
488
492
  )).flatMap((a) => a ?? []));
489
- this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(we), this.authentication = e.authentication, this.meta = e.meta, this.state = xt;
493
+ this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(Ne), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.state = jt;
490
494
  }
491
495
  async signRequest(e) {
492
496
  if (!this.authentication)
@@ -501,7 +505,7 @@ class bt {
501
505
  * This source code is licensed under the ISC license.
502
506
  * See the LICENSE file in the root directory of this source tree.
503
507
  */
504
- const ke = z("ChevronRight", [
508
+ const Oe = z("ChevronRight", [
505
509
  ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
506
510
  ]);
507
511
  /**
@@ -510,7 +514,7 @@ const ke = z("ChevronRight", [
510
514
  * This source code is licensed under the ISC license.
511
515
  * See the LICENSE file in the root directory of this source tree.
512
516
  */
513
- const jt = z("ExternalLink", [
517
+ const wt = z("ExternalLink", [
514
518
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
515
519
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
516
520
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
@@ -521,7 +525,7 @@ const jt = z("ExternalLink", [
521
525
  * This source code is licensed under the ISC license.
522
526
  * See the LICENSE file in the root directory of this source tree.
523
527
  */
524
- const Pt = z("MoonStar", [
528
+ const Nt = z("MoonStar", [
525
529
  ["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
526
530
  ["path", { d: "M20 3v4", key: "1olli1" }],
527
531
  ["path", { d: "M22 5h-4", key: "1gvqau" }]
@@ -532,7 +536,7 @@ const Pt = z("MoonStar", [
532
536
  * This source code is licensed under the ISC license.
533
537
  * See the LICENSE file in the root directory of this source tree.
534
538
  */
535
- const wt = z("Sun", [
539
+ const kt = z("Sun", [
536
540
  ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
537
541
  ["path", { d: "M12 2v2", key: "tus03m" }],
538
542
  ["path", { d: "M12 20v2", key: "1lh1kg" }],
@@ -542,12 +546,12 @@ const wt = z("Sun", [
542
546
  ["path", { d: "M20 12h2", key: "1q8mjw" }],
543
547
  ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
544
548
  ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
545
- ]), Nt = () => {
549
+ ]), Ot = () => {
546
550
  const { navigation: t } = U();
547
551
  return /* @__PURE__ */ n.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(
548
552
  B,
549
553
  {
550
- className: ({ isActive: s }) => _e(
554
+ className: ({ isActive: s }) => Be(
551
555
  "block py-3.5 font-medium -mb-px border-b-2",
552
556
  s ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
553
557
  ),
@@ -555,13 +559,13 @@ const wt = z("Sun", [
555
559
  children: e.label
556
560
  }
557
561
  ) }, e.label)) }) });
558
- }, Oe = je(function() {
559
- const [e, s] = Be(), { isAuthenticated: a, profile: r, isAuthEnabled: o, login: l, logout: h } = Ve(), { meta: g } = U(), b = e ? Pt : wt;
562
+ }, Ce = Pe(function() {
563
+ const [e, s] = Ve(), { isAuthenticated: a, profile: r, isAuthEnabled: o, login: l, logout: h } = Ue(), { page: d } = U(), b = e ? Nt : kt;
560
564
  return /* @__PURE__ */ n.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
561
565
  /* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b border-border px-12 h-[--top-header-height]", children: [
562
566
  /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-3.5", children: [
563
- (g == null ? void 0 : g.logo) && /* @__PURE__ */ n.jsx("img", { src: g.logo, alt: "My Dev Portal", className: "h-10" }),
564
- /* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: g == null ? void 0 : g.headerTitle })
567
+ (d == null ? void 0 : d.logo) && /* @__PURE__ */ n.jsx("img", { src: d.logo, alt: d.pageTitle, className: "h-10" }),
568
+ /* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: d == null ? void 0 : d.pageTitle })
565
569
  ] }),
566
570
  /* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
567
571
  /* @__PURE__ */ n.jsx("div", { className: "w-full max-w-prose" }),
@@ -595,11 +599,11 @@ const wt = z("Sun", [
595
599
  ] })
596
600
  ] })
597
601
  ] }),
598
- /* @__PURE__ */ n.jsx(Nt, {})
602
+ /* @__PURE__ */ n.jsx(Ot, {})
599
603
  ] }) });
600
- }), Ce = {
601
- Header: Oe
602
- }, kt = lt(Ce), Ot = kt.Provider, Ct = () => {
604
+ }), Me = {
605
+ Header: Ce
606
+ }, Ct = lt(Me), Mt = Ct.Provider, At = () => {
603
607
  const t = D(), { setActiveAnchor: e } = W();
604
608
  I(() => {
605
609
  if (!t.hash) return;
@@ -616,12 +620,12 @@ const wt = z("Sun", [
616
620
  });
617
621
  return r.observe(document.body, { childList: !0, subtree: !0 }), () => r.disconnect();
618
622
  }, [t.hash, e]);
619
- }, Mt = () => {
623
+ }, Qt = () => {
620
624
  const t = D(), e = K(t.pathname);
621
625
  I(() => {
622
626
  e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
623
627
  }, [t.pathname]);
624
- }, Me = ({
628
+ }, Ae = ({
625
629
  item: t,
626
630
  defaultOpen: e,
627
631
  path: s
@@ -630,7 +634,7 @@ const wt = z("Sun", [
630
634
  return I(() => {
631
635
  !a && l.current !== o.pathname && r(X(t, o.pathname, s)), l.current = o.pathname;
632
636
  }, [a, t, s, o.pathname]), [a, r];
633
- }, R = Xe(
637
+ }, R = $e(
634
638
  "flex px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
635
639
  {
636
640
  variants: {
@@ -644,20 +648,20 @@ const wt = z("Sun", [
644
648
  }
645
649
  }
646
650
  }
647
- ), At = "data-anchor", Ae = ({
651
+ ), qt = "data-anchor", Qe = ({
648
652
  category: t,
649
653
  item: e,
650
654
  activeAnchor: s,
651
655
  currentTopNavItem: a,
652
656
  basePath: r = ""
653
657
  }) => {
654
- const o = V(e) ? ve(r, e.path) : "", l = D(), [h, g] = Me({
658
+ const o = V(e) ? ve(r, e.path) : "", l = D(), [h, d] = Ae({
655
659
  item: e,
656
660
  path: o,
657
661
  defaultOpen: () => X(e, l.pathname, o)
658
662
  });
659
- if (Ue(e)) {
660
- const d = L(
663
+ if (We(e)) {
664
+ const f = L(
661
665
  "flex items-center gap-2",
662
666
  R({
663
667
  isActive: e.href === l.pathname
@@ -666,16 +670,16 @@ const wt = z("Sun", [
666
670
  return e.href.startsWith("http") ? /* @__PURE__ */ n.jsxs(
667
671
  "a",
668
672
  {
669
- className: d,
673
+ className: f,
670
674
  href: e.href,
671
675
  target: "_blank",
672
676
  rel: "noopener noreferrer",
673
677
  children: [
674
678
  e.label,
675
- /* @__PURE__ */ n.jsx(jt, { size: 14 })
679
+ /* @__PURE__ */ n.jsx(wt, { size: 14 })
676
680
  ]
677
681
  }
678
- ) : /* @__PURE__ */ n.jsx(B, { className: d, to: e.href, children: e.label });
682
+ ) : /* @__PURE__ */ n.jsx(B, { className: f, to: e.href, children: e.label });
679
683
  }
680
684
  const b = /* @__PURE__ */ n.jsxs("div", { className: "flex justify-between w-full", children: [
681
685
  /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-2 truncate w-full", children: [
@@ -683,7 +687,7 @@ const wt = z("Sun", [
683
687
  typeof e.label != "string" ? e.label : /* @__PURE__ */ n.jsx("span", { className: "truncate", children: e.label })
684
688
  ] }),
685
689
  e.children && /* @__PURE__ */ n.jsx(
686
- ke,
690
+ Oe,
687
691
  {
688
692
  size: 16,
689
693
  className: "transition shrink-0 group-data-[state=open]:rotate-90"
@@ -694,7 +698,7 @@ const wt = z("Sun", [
694
698
  ye,
695
699
  {
696
700
  open: h,
697
- onOpenChange: () => g((d) => !d),
701
+ onOpenChange: () => d((f) => !f),
698
702
  className: "flex flex-col",
699
703
  children: [
700
704
  /* @__PURE__ */ n.jsx(
@@ -707,24 +711,24 @@ const wt = z("Sun", [
707
711
  children: b
708
712
  }
709
713
  ),
710
- /* @__PURE__ */ n.jsx(be, { className: "CollapsibleContent ms-[calc(var(--padding-nav-item)*1.125)]", children: /* @__PURE__ */ n.jsx("ul", { className: "mt-1 border-border border-l ps-1.5", children: e.children.map((d) => /* @__PURE__ */ n.jsx(
711
- Ae,
714
+ /* @__PURE__ */ n.jsx(be, { className: "CollapsibleContent ms-[calc(var(--padding-nav-item)*1.125)]", children: /* @__PURE__ */ n.jsx("ul", { className: "mt-1 border-border border-l ps-1.5", children: e.children.map((f) => /* @__PURE__ */ n.jsx(
715
+ Qe,
712
716
  {
713
717
  category: t,
714
- item: d,
718
+ item: f,
715
719
  activeAnchor: s,
716
720
  currentTopNavItem: a,
717
721
  basePath: o
718
722
  },
719
- V(d) ? d.path : d.href
723
+ V(f) ? f.path : f.href
720
724
  )) }) })
721
725
  ]
722
726
  }
723
727
  ) : e.path.startsWith("#") ? /* @__PURE__ */ n.jsx(
724
- We,
728
+ Xe,
725
729
  {
726
730
  to: e.path,
727
- [At]: e.path,
731
+ [qt]: e.path,
728
732
  className: R({
729
733
  isActive: e.path.slice(1) === s,
730
734
  isMuted: e.muted
@@ -734,15 +738,15 @@ const wt = z("Sun", [
734
738
  ) : /* @__PURE__ */ n.jsx(
735
739
  B,
736
740
  {
737
- className: ({ isActive: d }) => R({ isActive: d }),
741
+ className: ({ isActive: f }) => R({ isActive: f }),
738
742
  to: o,
739
743
  children: b
740
744
  }
741
745
  ) });
742
- }, Qt = ({
746
+ }, Dt = ({
743
747
  category: t
744
748
  }) => {
745
- const { activeAnchor: e } = W(), s = $e(), a = D(), r = t.collapsible ?? !0, [o, l] = Me({
749
+ const { activeAnchor: e } = W(), s = Ge(), a = D(), r = t.collapsible ?? !0, [o, l] = Ae({
746
750
  item: t,
747
751
  path: (s == null ? void 0 : s.path) ?? "",
748
752
  defaultOpen: () => !r || t.expanded || X(t, a.pathname, (s == null ? void 0 : s.path) ?? "")
@@ -763,7 +767,7 @@ const wt = z("Sun", [
763
767
  children: [
764
768
  t.label,
765
769
  r && /* @__PURE__ */ n.jsx(
766
- ke,
770
+ Oe,
767
771
  {
768
772
  className: "group-data-[state=open]:rotate-90 transition",
769
773
  size: 16
@@ -773,7 +777,7 @@ const wt = z("Sun", [
773
777
  }
774
778
  ) }) : "Endpoints",
775
779
  /* @__PURE__ */ n.jsx(be, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ n.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((h) => /* @__PURE__ */ n.jsx(
776
- Ae,
780
+ Qe,
777
781
  {
778
782
  category: t,
779
783
  item: h,
@@ -787,7 +791,7 @@ const wt = z("Sun", [
787
791
  },
788
792
  t.label
789
793
  );
790
- }, qt = ht(function({ children: e, className: s, pushMainContent: a }, r) {
794
+ }, Tt = ht(function({ children: e, className: s, pushMainContent: a }, r) {
791
795
  return /* @__PURE__ */ n.jsx(
792
796
  "nav",
793
797
  {
@@ -800,35 +804,35 @@ const wt = z("Sun", [
800
804
  children: e
801
805
  }
802
806
  );
803
- }), Dt = () => {
804
- const t = K(null), e = Ge();
807
+ }), It = () => {
808
+ const t = K(null), e = Je();
805
809
  return /* @__PURE__ */ n.jsx(
806
- qt,
810
+ Tt,
807
811
  {
808
812
  ref: t,
809
813
  pushMainContent: e.data.items.length > 0,
810
- children: e.data.items.map((s) => /* @__PURE__ */ n.jsx(Qt, { category: s }, s.label))
814
+ children: e.data.items.map((s) => /* @__PURE__ */ n.jsx(Dt, { category: s }, s.label))
811
815
  }
812
816
  );
813
817
  }, ue = ({ children: t }) => {
814
818
  const e = D(), { setActiveAnchor: s } = W(), { meta: a } = U();
815
- Ct(), Mt();
819
+ At(), Qt();
816
820
  const r = K(e.pathname);
817
821
  return I(() => {
818
822
  e.pathname !== r.current && s(""), r.current = e.pathname;
819
823
  }, [e.pathname, s]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
820
- /* @__PURE__ */ n.jsxs(Je, { titleTemplate: a == null ? void 0 : a.pageTitle, children: [
824
+ /* @__PURE__ */ n.jsxs(je, { titleTemplate: a == null ? void 0 : a.title, children: [
821
825
  /* @__PURE__ */ n.jsx("title", { children: "Home" }),
822
826
  (a == null ? void 0 : a.description) && /* @__PURE__ */ n.jsx("meta", { name: "description", content: a.description }),
823
827
  (a == null ? void 0 : a.favicon) && /* @__PURE__ */ n.jsx("link", { rel: "icon", href: a.favicon })
824
828
  ] }),
825
- /* @__PURE__ */ n.jsx(Oe, {}),
829
+ /* @__PURE__ */ n.jsx(Ce, {}),
826
830
  /* @__PURE__ */ n.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ n.jsxs(
827
- Pe,
831
+ we,
828
832
  {
829
833
  fallback: /* @__PURE__ */ n.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ n.jsx(Ye, {}) }),
830
834
  children: [
831
- /* @__PURE__ */ n.jsx(Dt, {}),
835
+ /* @__PURE__ */ n.jsx(It, {}),
832
836
  /* @__PURE__ */ n.jsx(
833
837
  "main",
834
838
  {
@@ -836,7 +840,7 @@ const wt = z("Sun", [
836
840
  lg:overflow-visible
837
841
  lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]
838
842
  lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] peer-data-[navigation=true]:pl-12`,
839
- children: t ?? /* @__PURE__ */ n.jsx(Ie, {})
843
+ children: t ?? /* @__PURE__ */ n.jsx(Ee, {})
840
844
  }
841
845
  )
842
846
  ]
@@ -844,10 +848,10 @@ const wt = z("Sun", [
844
848
  ) })
845
849
  ] });
846
850
  };
847
- function Tt({ plugins: t }) {
851
+ function Et({ plugins: t }) {
848
852
  const e = H(() => {
849
853
  const s = (t ?? []).flatMap(
850
- (a) => we(a) ? a.getRoutes() : []
854
+ (a) => Ne(a) ? a.getRoutes() : []
851
855
  );
852
856
  return Ze([
853
857
  {
@@ -860,35 +864,44 @@ function Tt({ plugins: t }) {
860
864
  }, [t]);
861
865
  return /* @__PURE__ */ n.jsx(et, { router: e });
862
866
  }
863
- const It = (t) => {
867
+ const St = (t) => {
868
+ var o;
864
869
  const e = H(
865
- () => ({ ...Ce, ...t.overrides }),
870
+ () => ({ ...Me, ...t.overrides }),
866
871
  [t.overrides]
867
872
  ), s = H(
868
873
  () => ({ ...tt, ...t.mdxComponents }),
869
874
  [t.mdxComponents]
870
- ), a = H(() => new bt(t), [t]);
871
- return I(() => {
875
+ ), a = H(() => new Pt(t), [t]);
876
+ I(() => {
872
877
  a.initialize();
873
- }, [a]), /* @__PURE__ */ n.jsx(st, { client: Ne, children: /* @__PURE__ */ n.jsx(at, { children: /* @__PURE__ */ n.jsx(nt, { value: a, children: /* @__PURE__ */ n.jsx(rt, { components: s, children: /* @__PURE__ */ n.jsx(it, { children: /* @__PURE__ */ n.jsx(Ot, { value: e, children: /* @__PURE__ */ n.jsx(ot, { children: /* @__PURE__ */ n.jsx(
874
- Pe,
875
- {
876
- fallback: /* @__PURE__ */ n.jsx("div", { className: "grid place-items-center h-full", children: "Loading..." }),
877
- children: /* @__PURE__ */ n.jsx(
878
- Tt,
879
- {
880
- plugins: [
881
- ...t.plugins ?? [],
882
- ...t.authentication ? [t.authentication] : []
883
- ]
884
- }
885
- )
886
- }
887
- ) }) }) }) }) }) }) });
888
- }, Et = je(It);
889
- Et.displayName = "DevPortal";
878
+ }, [a]);
879
+ const r = (o = t.plugins) == null ? void 0 : o.filter(xt).map((l, h) => {
880
+ var d;
881
+ return /* @__PURE__ */ n.jsx(ut, { children: (d = l.getHead) == null ? void 0 : d.call(l) }, h);
882
+ });
883
+ return /* @__PURE__ */ n.jsx(st, { client: ke, children: /* @__PURE__ */ n.jsxs(at, { children: [
884
+ /* @__PURE__ */ n.jsx(je, { children: r }),
885
+ /* @__PURE__ */ n.jsx(nt, { value: a, children: /* @__PURE__ */ n.jsx(rt, { components: s, children: /* @__PURE__ */ n.jsx(it, { children: /* @__PURE__ */ n.jsx(Mt, { value: e, children: /* @__PURE__ */ n.jsx(ot, { children: /* @__PURE__ */ n.jsx(
886
+ we,
887
+ {
888
+ fallback: /* @__PURE__ */ n.jsx("div", { className: "grid place-items-center h-full", children: "Loading..." }),
889
+ children: /* @__PURE__ */ n.jsx(
890
+ Et,
891
+ {
892
+ plugins: [
893
+ ...t.plugins ?? [],
894
+ ...t.authentication ? [t.authentication] : []
895
+ ]
896
+ }
897
+ )
898
+ }
899
+ ) }) }) }) }) })
900
+ ] }) });
901
+ }, Ft = Pe(St);
902
+ Ft.displayName = "DevPortal";
890
903
  export {
891
- Et as DevPortal,
892
- _t as Link,
893
- Bt as useMDXComponents
904
+ Ft as DevPortal,
905
+ Vt as Link,
906
+ Ut as useMDXComponents
894
907
  };