@kosdev-code/kos-ui-plugin 2.1.10 → 2.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,21 +1,22 @@
1
- import * as Q from "react/jsx-runtime";
1
+ import * as ee from "react/jsx-runtime";
2
2
  import * as V from "react";
3
- import K, { forwardRef as Ot, useContext as Xe, createContext as It, useState as j, useEffect as ee, Suspense as Dt, useMemo as Y } from "react";
3
+ import Y, { forwardRef as Ot, useContext as Xe, createContext as It, useState as B, useEffect as te, Suspense as Dt, useMemo as j } from "react";
4
4
  import h from "@emotion/styled";
5
- import { a as Vt, b as jt, r as Se, m as Yt, P as te, g as Bt, c as Te, D as Kt } from "./documentation-generator-DZ1-wZzF.js";
5
+ import { a as Vt, b as jt, r as Se, m as Bt, P as ne, g as Kt, c as Te, D as Yt } from "./documentation-generator-auruIa_o.js";
6
+ import { useKosTranslation as Wt } from "@kosdev-code/kos-ui-sdk";
6
7
  import "zod";
7
- function Wt(e) {
8
+ function Ht(e) {
8
9
  if (e.sheet)
9
10
  return e.sheet;
10
11
  for (var t = 0; t < document.styleSheets.length; t++)
11
12
  if (document.styleSheets[t].ownerNode === e)
12
13
  return document.styleSheets[t];
13
14
  }
14
- function Ht(e) {
15
+ function Ut(e) {
15
16
  var t = document.createElement("style");
16
17
  return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
17
18
  }
18
- var Ut = /* @__PURE__ */ function() {
19
+ var Gt = /* @__PURE__ */ function() {
19
20
  function e(n) {
20
21
  var r = this;
21
22
  this._insertTag = function(o) {
@@ -27,10 +28,10 @@ var Ut = /* @__PURE__ */ function() {
27
28
  return t.hydrate = function(r) {
28
29
  r.forEach(this._insertTag);
29
30
  }, t.insert = function(r) {
30
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Ht(this));
31
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Ut(this));
31
32
  var o = this.tags[this.tags.length - 1];
32
33
  if (this.isSpeedy) {
33
- var i = Wt(o);
34
+ var i = Ht(o);
34
35
  try {
35
36
  i.insertRule(r, i.cssRules.length);
36
37
  } catch {
@@ -44,14 +45,14 @@ var Ut = /* @__PURE__ */ function() {
44
45
  return (o = r.parentNode) == null ? void 0 : o.removeChild(r);
45
46
  }), this.tags = [], this.ctr = 0;
46
47
  }, e;
47
- }(), z = "-ms-", he = "-moz-", v = "-webkit-", Je = "comm", Re = "rule", Me = "decl", Gt = "@import", Qe = "@keyframes", qt = "@layer", Zt = Math.abs, me = String.fromCharCode, Xt = Object.assign;
48
- function Jt(e, t) {
48
+ }(), z = "-ms-", he = "-moz-", v = "-webkit-", Je = "comm", Re = "rule", Me = "decl", qt = "@import", Qe = "@keyframes", Zt = "@layer", Xt = Math.abs, me = String.fromCharCode, Jt = Object.assign;
49
+ function Qt(e, t) {
49
50
  return A(e, 0) ^ 45 ? (((t << 2 ^ A(e, 0)) << 2 ^ A(e, 1)) << 2 ^ A(e, 2)) << 2 ^ A(e, 3) : 0;
50
51
  }
51
52
  function et(e) {
52
53
  return e.trim();
53
54
  }
54
- function Qt(e, t) {
55
+ function en(e, t) {
55
56
  return (e = t.exec(e)) ? e[0] : e;
56
57
  }
57
58
  function w(e, t, n) {
@@ -63,7 +64,7 @@ function Ce(e, t) {
63
64
  function A(e, t) {
64
65
  return e.charCodeAt(t) | 0;
65
66
  }
66
- function ne(e, t, n) {
67
+ function re(e, t, n) {
67
68
  return e.slice(t, n);
68
69
  }
69
70
  function O(e) {
@@ -75,20 +76,20 @@ function Ae(e) {
75
76
  function le(e, t) {
76
77
  return t.push(e), e;
77
78
  }
78
- function en(e, t) {
79
+ function tn(e, t) {
79
80
  return e.map(t).join("");
80
81
  }
81
82
  var ge = 1, G = 1, tt = 0, F = 0, R = 0, q = "";
82
83
  function xe(e, t, n, r, o, i, a) {
83
84
  return { value: e, root: t, parent: n, type: r, props: o, children: i, line: ge, column: G, length: a, return: "" };
84
85
  }
85
- function Z(e, t) {
86
- return Xt(xe("", null, null, "", null, null, 0), e, { length: -e.length }, t);
86
+ function X(e, t) {
87
+ return Jt(xe("", null, null, "", null, null, 0), e, { length: -e.length }, t);
87
88
  }
88
- function tn() {
89
+ function nn() {
89
90
  return R;
90
91
  }
91
- function nn() {
92
+ function rn() {
92
93
  return R = F > 0 ? A(q, --F) : 0, G--, R === 10 && (G = 1, ge--), R;
93
94
  }
94
95
  function L() {
@@ -100,10 +101,10 @@ function D() {
100
101
  function fe() {
101
102
  return F;
102
103
  }
103
- function ie(e, t) {
104
- return ne(q, e, t);
104
+ function ae(e, t) {
105
+ return re(q, e, t);
105
106
  }
106
- function re(e) {
107
+ function oe(e) {
107
108
  switch (e) {
108
109
  case 0:
109
110
  case 9:
@@ -142,17 +143,17 @@ function rt(e) {
142
143
  return q = "", e;
143
144
  }
144
145
  function ue(e) {
145
- return et(ie(F - 1, Pe(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
146
+ return et(ae(F - 1, Pe(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
146
147
  }
147
- function rn(e) {
148
+ function on(e) {
148
149
  for (; (R = D()) && R < 33; )
149
150
  L();
150
- return re(e) > 2 || re(R) > 3 ? "" : " ";
151
+ return oe(e) > 2 || oe(R) > 3 ? "" : " ";
151
152
  }
152
- function on(e, t) {
153
+ function an(e, t) {
153
154
  for (; --t && L() && !(R < 48 || R > 102 || R > 57 && R < 65 || R > 70 && R < 97); )
154
155
  ;
155
- return ie(e, fe() + (t < 6 && D() == 32 && L() == 32));
156
+ return ae(e, fe() + (t < 6 && D() == 32 && L() == 32));
156
157
  }
157
158
  function Pe(e) {
158
159
  for (; L(); )
@@ -172,22 +173,22 @@ function Pe(e) {
172
173
  }
173
174
  return F;
174
175
  }
175
- function an(e, t) {
176
+ function sn(e, t) {
176
177
  for (; L() && e + R !== 57; )
177
178
  if (e + R === 84 && D() === 47)
178
179
  break;
179
- return "/*" + ie(t, F - 1) + "*" + me(e === 47 ? e : L());
180
+ return "/*" + ae(t, F - 1) + "*" + me(e === 47 ? e : L());
180
181
  }
181
- function sn(e) {
182
- for (; !re(D()); )
182
+ function cn(e) {
183
+ for (; !oe(D()); )
183
184
  L();
184
- return ie(e, F);
185
+ return ae(e, F);
185
186
  }
186
- function cn(e) {
187
+ function ln(e) {
187
188
  return rt(pe("", null, null, null, [""], e = nt(e), 0, [0], e));
188
189
  }
189
190
  function pe(e, t, n, r, o, i, a, d, f) {
190
- for (var p = 0, l = 0, s = a, x = 0, b = 0, y = 0, E = 1, M = 1, $ = 1, T = 0, k = "", _ = o, u = i, N = r, P = k; M; )
191
+ for (var u = 0, l = 0, s = a, x = 0, b = 0, y = 0, E = 1, M = 1, $ = 1, T = 0, k = "", _ = o, p = i, N = r, P = k; M; )
191
192
  switch (y = T, T = L()) {
192
193
  case 40:
193
194
  if (y != 108 && A(P, s - 1) == 58) {
@@ -203,23 +204,23 @@ function pe(e, t, n, r, o, i, a, d, f) {
203
204
  case 10:
204
205
  case 13:
205
206
  case 32:
206
- P += rn(y);
207
+ P += on(y);
207
208
  break;
208
209
  case 92:
209
- P += on(fe() - 1, 7);
210
+ P += an(fe() - 1, 7);
210
211
  continue;
211
212
  case 47:
212
213
  switch (D()) {
213
214
  case 42:
214
215
  case 47:
215
- le(ln(an(L(), fe()), t, n), f);
216
+ le(dn(sn(L(), fe()), t, n), f);
216
217
  break;
217
218
  default:
218
219
  P += "/";
219
220
  }
220
221
  break;
221
222
  case 123 * E:
222
- d[p++] = O(P) * $;
223
+ d[u++] = O(P) * $;
223
224
  case 125 * E:
224
225
  case 59:
225
226
  case 0:
@@ -233,22 +234,22 @@ function pe(e, t, n, r, o, i, a, d, f) {
233
234
  case 59:
234
235
  P += ";";
235
236
  default:
236
- if (le(N = Ie(P, t, n, p, l, o, d, k, _ = [], u = [], s), i), T === 123)
237
+ if (le(N = Ie(P, t, n, u, l, o, d, k, _ = [], p = [], s), i), T === 123)
237
238
  if (l === 0)
238
- pe(P, t, N, N, _, i, s, d, u);
239
+ pe(P, t, N, N, _, i, s, d, p);
239
240
  else
240
241
  switch (x === 99 && A(P, 3) === 110 ? 100 : x) {
241
242
  case 100:
242
243
  case 108:
243
244
  case 109:
244
245
  case 115:
245
- pe(e, N, N, r && le(Ie(e, N, N, 0, 0, o, d, k, o, _ = [], s), u), o, u, s, d, r ? _ : u);
246
+ pe(e, N, N, r && le(Ie(e, N, N, 0, 0, o, d, k, o, _ = [], s), p), o, p, s, d, r ? _ : p);
246
247
  break;
247
248
  default:
248
- pe(P, N, N, N, [""], u, 0, d, u);
249
+ pe(P, N, N, N, [""], p, 0, d, p);
249
250
  }
250
251
  }
251
- p = l = b = 0, E = $ = 1, k = P = "", s = a;
252
+ u = l = b = 0, E = $ = 1, k = P = "", s = a;
252
253
  break;
253
254
  case 58:
254
255
  s = 1 + O(P), b = y;
@@ -256,7 +257,7 @@ function pe(e, t, n, r, o, i, a, d, f) {
256
257
  if (E < 1) {
257
258
  if (T == 123)
258
259
  --E;
259
- else if (T == 125 && E++ == 0 && nn() == 125)
260
+ else if (T == 125 && E++ == 0 && rn() == 125)
260
261
  continue;
261
262
  }
262
263
  switch (P += me(T), T * E) {
@@ -264,10 +265,10 @@ function pe(e, t, n, r, o, i, a, d, f) {
264
265
  $ = l > 0 ? 1 : (P += "\f", -1);
265
266
  break;
266
267
  case 44:
267
- d[p++] = (O(P) - 1) * $, $ = 1;
268
+ d[u++] = (O(P) - 1) * $, $ = 1;
268
269
  break;
269
270
  case 64:
270
- D() === 45 && (P += ue(L())), x = D(), l = s = O(k = P += sn(fe())), T++;
271
+ D() === 45 && (P += ue(L())), x = D(), l = s = O(k = P += cn(fe())), T++;
271
272
  break;
272
273
  case 45:
273
274
  y === 45 && O(P) == 2 && (E = 0);
@@ -275,29 +276,29 @@ function pe(e, t, n, r, o, i, a, d, f) {
275
276
  }
276
277
  return i;
277
278
  }
278
- function Ie(e, t, n, r, o, i, a, d, f, p, l) {
279
+ function Ie(e, t, n, r, o, i, a, d, f, u, l) {
279
280
  for (var s = o - 1, x = o === 0 ? i : [""], b = Ae(x), y = 0, E = 0, M = 0; y < r; ++y)
280
- for (var $ = 0, T = ne(e, s + 1, s = Zt(E = a[y])), k = e; $ < b; ++$)
281
+ for (var $ = 0, T = re(e, s + 1, s = Xt(E = a[y])), k = e; $ < b; ++$)
281
282
  (k = et(E > 0 ? x[$] + " " + T : w(T, /&\f/g, x[$]))) && (f[M++] = k);
282
- return xe(e, t, n, o === 0 ? Re : d, f, p, l);
283
+ return xe(e, t, n, o === 0 ? Re : d, f, u, l);
283
284
  }
284
- function ln(e, t, n) {
285
- return xe(e, t, n, Je, me(tn()), ne(e, 2, -2), 0);
285
+ function dn(e, t, n) {
286
+ return xe(e, t, n, Je, me(nn()), re(e, 2, -2), 0);
286
287
  }
287
288
  function De(e, t, n, r) {
288
- return xe(e, t, n, Me, ne(e, 0, r), ne(e, r + 1, -1), r);
289
+ return xe(e, t, n, Me, re(e, 0, r), re(e, r + 1, -1), r);
289
290
  }
290
291
  function U(e, t) {
291
292
  for (var n = "", r = Ae(e), o = 0; o < r; o++)
292
293
  n += t(e[o], o, e, t) || "";
293
294
  return n;
294
295
  }
295
- function dn(e, t, n, r) {
296
+ function fn(e, t, n, r) {
296
297
  switch (e.type) {
297
- case qt:
298
+ case Zt:
298
299
  if (e.children.length)
299
300
  break;
300
- case Gt:
301
+ case qt:
301
302
  case Me:
302
303
  return e.return = e.return || e.value;
303
304
  case Je:
@@ -309,7 +310,7 @@ function dn(e, t, n, r) {
309
310
  }
310
311
  return O(n = U(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
311
312
  }
312
- function fn(e) {
313
+ function un(e) {
313
314
  var t = Ae(e);
314
315
  return function(n, r, o, i) {
315
316
  for (var a = "", d = 0; d < t; d++)
@@ -317,21 +318,21 @@ function fn(e) {
317
318
  return a;
318
319
  };
319
320
  }
320
- function un(e) {
321
+ function pn(e) {
321
322
  return function(t) {
322
323
  t.root || (t = t.return) && e(t);
323
324
  };
324
325
  }
325
- var pn = function(t, n, r) {
326
- for (var o = 0, i = 0; o = i, i = D(), o === 38 && i === 12 && (n[r] = 1), !re(i); )
326
+ var hn = function(t, n, r) {
327
+ for (var o = 0, i = 0; o = i, i = D(), o === 38 && i === 12 && (n[r] = 1), !oe(i); )
327
328
  L();
328
- return ie(t, F);
329
- }, hn = function(t, n) {
329
+ return ae(t, F);
330
+ }, mn = function(t, n) {
330
331
  var r = -1, o = 44;
331
332
  do
332
- switch (re(o)) {
333
+ switch (oe(o)) {
333
334
  case 0:
334
- o === 38 && D() === 12 && (n[r] = 1), t[r] += pn(F - 1, n, r);
335
+ o === 38 && D() === 12 && (n[r] = 1), t[r] += hn(F - 1, n, r);
335
336
  break;
336
337
  case 2:
337
338
  t[r] += ue(o);
@@ -346,9 +347,9 @@ var pn = function(t, n, r) {
346
347
  }
347
348
  while (o = L());
348
349
  return t;
349
- }, mn = function(t, n) {
350
- return rt(hn(nt(t), n));
351
- }, Ve = /* @__PURE__ */ new WeakMap(), gn = function(t) {
350
+ }, gn = function(t, n) {
351
+ return rt(mn(nt(t), n));
352
+ }, Ve = /* @__PURE__ */ new WeakMap(), xn = function(t) {
352
353
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
353
354
  // negative .length indicates that this rule has been already prefixed
354
355
  t.length < 1)) {
@@ -357,12 +358,12 @@ var pn = function(t, n, r) {
357
358
  return;
358
359
  if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !Ve.get(r)) && !o) {
359
360
  Ve.set(t, !0);
360
- for (var i = [], a = mn(n, i), d = r.props, f = 0, p = 0; f < a.length; f++)
361
- for (var l = 0; l < d.length; l++, p++)
362
- t.props[p] = i[f] ? a[f].replace(/&\f/g, d[l]) : d[l] + " " + a[f];
361
+ for (var i = [], a = gn(n, i), d = r.props, f = 0, u = 0; f < a.length; f++)
362
+ for (var l = 0; l < d.length; l++, u++)
363
+ t.props[u] = i[f] ? a[f].replace(/&\f/g, d[l]) : d[l] + " " + a[f];
363
364
  }
364
365
  }
365
- }, xn = function(t) {
366
+ }, yn = function(t) {
366
367
  if (t.type === "decl") {
367
368
  var n = t.value;
368
369
  // charcode for l
@@ -371,7 +372,7 @@ var pn = function(t, n, r) {
371
372
  }
372
373
  };
373
374
  function ot(e, t) {
374
- switch (Jt(e, t)) {
375
+ switch (Qt(e, t)) {
375
376
  case 5103:
376
377
  return v + "print-" + e + e;
377
378
  case 5737:
@@ -484,38 +485,38 @@ function ot(e, t) {
484
485
  }
485
486
  return e;
486
487
  }
487
- var yn = function(t, n, r, o) {
488
+ var bn = function(t, n, r, o) {
488
489
  if (t.length > -1 && !t.return)
489
490
  switch (t.type) {
490
491
  case Me:
491
492
  t.return = ot(t.value, t.length);
492
493
  break;
493
494
  case Qe:
494
- return U([Z(t, {
495
+ return U([X(t, {
495
496
  value: w(t.value, "@", "@" + v)
496
497
  })], o);
497
498
  case Re:
498
499
  if (t.length)
499
- return en(t.props, function(i) {
500
- switch (Qt(i, /(::plac\w+|:read-\w+)/)) {
500
+ return tn(t.props, function(i) {
501
+ switch (en(i, /(::plac\w+|:read-\w+)/)) {
501
502
  case ":read-only":
502
503
  case ":read-write":
503
- return U([Z(t, {
504
+ return U([X(t, {
504
505
  props: [w(i, /:(read-\w+)/, ":" + he + "$1")]
505
506
  })], o);
506
507
  case "::placeholder":
507
- return U([Z(t, {
508
+ return U([X(t, {
508
509
  props: [w(i, /:(plac\w+)/, ":" + v + "input-$1")]
509
- }), Z(t, {
510
+ }), X(t, {
510
511
  props: [w(i, /:(plac\w+)/, ":" + he + "$1")]
511
- }), Z(t, {
512
+ }), X(t, {
512
513
  props: [w(i, /:(plac\w+)/, z + "input-$1")]
513
514
  })], o);
514
515
  }
515
516
  return "";
516
517
  });
517
518
  }
518
- }, bn = [yn], vn = function(t) {
519
+ }, vn = [bn], wn = function(t) {
519
520
  var n = t.key;
520
521
  if (n === "css") {
521
522
  var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
@@ -524,7 +525,7 @@ var yn = function(t, n, r, o) {
524
525
  M.indexOf(" ") !== -1 && (document.head.appendChild(E), E.setAttribute("data-s", ""));
525
526
  });
526
527
  }
527
- var o = t.stylisPlugins || bn, i = {}, a, d = [];
528
+ var o = t.stylisPlugins || vn, i = {}, a, d = [];
528
529
  a = t.container || document.head, Array.prototype.forEach.call(
529
530
  // this means we will ignore elements which don't have a space in them which
530
531
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
@@ -535,12 +536,12 @@ var yn = function(t, n, r, o) {
535
536
  d.push(E);
536
537
  }
537
538
  );
538
- var f, p = [gn, xn];
539
+ var f, u = [xn, yn];
539
540
  {
540
- var l, s = [dn, un(function(E) {
541
+ var l, s = [fn, pn(function(E) {
541
542
  l.insert(E);
542
- })], x = fn(p.concat(o, s)), b = function(M) {
543
- return U(cn(M), x);
543
+ })], x = un(u.concat(o, s)), b = function(M) {
544
+ return U(ln(M), x);
544
545
  };
545
546
  f = function(M, $, T, k) {
546
547
  l = T, b(M ? M + "{" + $.styles + "}" : $.styles), k && (y.inserted[$.name] = !0);
@@ -548,7 +549,7 @@ var yn = function(t, n, r, o) {
548
549
  }
549
550
  var y = {
550
551
  key: n,
551
- sheet: new Ut({
552
+ sheet: new Gt({
552
553
  key: n,
553
554
  container: a,
554
555
  nonce: t.nonce,
@@ -572,32 +573,32 @@ var yn = function(t, n, r, o) {
572
573
  * LICENSE file in the root directory of this source tree.
573
574
  */
574
575
  var je;
575
- function wn() {
576
+ function En() {
576
577
  if (je)
577
578
  return S;
578
579
  je = 1;
579
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, s = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
580
- function k(u) {
581
- if (typeof u == "object" && u !== null) {
582
- var N = u.$$typeof;
580
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, s = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
581
+ function k(p) {
582
+ if (typeof p == "object" && p !== null) {
583
+ var N = p.$$typeof;
583
584
  switch (N) {
584
585
  case t:
585
- switch (u = u.type, u) {
586
+ switch (p = p.type, p) {
586
587
  case f:
587
- case p:
588
+ case u:
588
589
  case r:
589
590
  case i:
590
591
  case o:
591
592
  case s:
592
- return u;
593
+ return p;
593
594
  default:
594
- switch (u = u && u.$$typeof, u) {
595
+ switch (p = p && p.$$typeof, p) {
595
596
  case d:
596
597
  case l:
597
598
  case y:
598
599
  case b:
599
600
  case a:
600
- return u;
601
+ return p;
601
602
  default:
602
603
  return N;
603
604
  }
@@ -607,35 +608,35 @@ function wn() {
607
608
  }
608
609
  }
609
610
  }
610
- function _(u) {
611
- return k(u) === p;
611
+ function _(p) {
612
+ return k(p) === u;
612
613
  }
613
- return S.AsyncMode = f, S.ConcurrentMode = p, S.ContextConsumer = d, S.ContextProvider = a, S.Element = t, S.ForwardRef = l, S.Fragment = r, S.Lazy = y, S.Memo = b, S.Portal = n, S.Profiler = i, S.StrictMode = o, S.Suspense = s, S.isAsyncMode = function(u) {
614
- return _(u) || k(u) === f;
615
- }, S.isConcurrentMode = _, S.isContextConsumer = function(u) {
616
- return k(u) === d;
617
- }, S.isContextProvider = function(u) {
618
- return k(u) === a;
619
- }, S.isElement = function(u) {
620
- return typeof u == "object" && u !== null && u.$$typeof === t;
621
- }, S.isForwardRef = function(u) {
622
- return k(u) === l;
623
- }, S.isFragment = function(u) {
624
- return k(u) === r;
625
- }, S.isLazy = function(u) {
626
- return k(u) === y;
627
- }, S.isMemo = function(u) {
628
- return k(u) === b;
629
- }, S.isPortal = function(u) {
630
- return k(u) === n;
631
- }, S.isProfiler = function(u) {
632
- return k(u) === i;
633
- }, S.isStrictMode = function(u) {
634
- return k(u) === o;
635
- }, S.isSuspense = function(u) {
636
- return k(u) === s;
637
- }, S.isValidElementType = function(u) {
638
- return typeof u == "string" || typeof u == "function" || u === r || u === p || u === i || u === o || u === s || u === x || typeof u == "object" && u !== null && (u.$$typeof === y || u.$$typeof === b || u.$$typeof === a || u.$$typeof === d || u.$$typeof === l || u.$$typeof === M || u.$$typeof === $ || u.$$typeof === T || u.$$typeof === E);
614
+ return S.AsyncMode = f, S.ConcurrentMode = u, S.ContextConsumer = d, S.ContextProvider = a, S.Element = t, S.ForwardRef = l, S.Fragment = r, S.Lazy = y, S.Memo = b, S.Portal = n, S.Profiler = i, S.StrictMode = o, S.Suspense = s, S.isAsyncMode = function(p) {
615
+ return _(p) || k(p) === f;
616
+ }, S.isConcurrentMode = _, S.isContextConsumer = function(p) {
617
+ return k(p) === d;
618
+ }, S.isContextProvider = function(p) {
619
+ return k(p) === a;
620
+ }, S.isElement = function(p) {
621
+ return typeof p == "object" && p !== null && p.$$typeof === t;
622
+ }, S.isForwardRef = function(p) {
623
+ return k(p) === l;
624
+ }, S.isFragment = function(p) {
625
+ return k(p) === r;
626
+ }, S.isLazy = function(p) {
627
+ return k(p) === y;
628
+ }, S.isMemo = function(p) {
629
+ return k(p) === b;
630
+ }, S.isPortal = function(p) {
631
+ return k(p) === n;
632
+ }, S.isProfiler = function(p) {
633
+ return k(p) === i;
634
+ }, S.isStrictMode = function(p) {
635
+ return k(p) === o;
636
+ }, S.isSuspense = function(p) {
637
+ return k(p) === s;
638
+ }, S.isValidElementType = function(p) {
639
+ return typeof p == "string" || typeof p == "function" || p === r || p === u || p === i || p === o || p === s || p === x || typeof p == "object" && p !== null && (p.$$typeof === y || p.$$typeof === b || p.$$typeof === a || p.$$typeof === d || p.$$typeof === l || p.$$typeof === M || p.$$typeof === $ || p.$$typeof === T || p.$$typeof === E);
639
640
  }, S.typeOf = k, S;
640
641
  }
641
642
  var C = {};
@@ -647,13 +648,13 @@ var C = {};
647
648
  * This source code is licensed under the MIT license found in the
648
649
  * LICENSE file in the root directory of this source tree.
649
650
  */
650
- var Ye;
651
- function En() {
652
- return Ye || (Ye = 1, process.env.NODE_ENV !== "production" && function() {
653
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, s = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
651
+ var Be;
652
+ function Sn() {
653
+ return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
654
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, s = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
654
655
  function k(m) {
655
656
  return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
656
- m === r || m === p || m === i || m === o || m === s || m === x || typeof m == "object" && m !== null && (m.$$typeof === y || m.$$typeof === b || m.$$typeof === a || m.$$typeof === d || m.$$typeof === l || m.$$typeof === M || m.$$typeof === $ || m.$$typeof === T || m.$$typeof === E);
657
+ m === r || m === u || m === i || m === o || m === s || m === x || typeof m == "object" && m !== null && (m.$$typeof === y || m.$$typeof === b || m.$$typeof === a || m.$$typeof === d || m.$$typeof === l || m.$$typeof === M || m.$$typeof === $ || m.$$typeof === T || m.$$typeof === E);
657
658
  }
658
659
  function _(m) {
659
660
  if (typeof m == "object" && m !== null) {
@@ -663,7 +664,7 @@ function En() {
663
664
  var ce = m.type;
664
665
  switch (ce) {
665
666
  case f:
666
- case p:
667
+ case u:
667
668
  case r:
668
669
  case i:
669
670
  case o:
@@ -687,12 +688,12 @@ function En() {
687
688
  }
688
689
  }
689
690
  }
690
- var u = f, N = p, P = d, mt = a, gt = t, xt = l, yt = r, bt = y, vt = b, wt = n, Et = i, St = o, Ct = s, Fe = !1;
691
+ var p = f, N = u, P = d, mt = a, gt = t, xt = l, yt = r, bt = y, vt = b, wt = n, Et = i, St = o, Ct = s, Fe = !1;
691
692
  function Pt(m) {
692
693
  return Fe || (Fe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Le(m) || _(m) === f;
693
694
  }
694
695
  function Le(m) {
695
- return _(m) === p;
696
+ return _(m) === u;
696
697
  }
697
698
  function kt(m) {
698
699
  return _(m) === d;
@@ -727,17 +728,17 @@ function En() {
727
728
  function Lt(m) {
728
729
  return _(m) === s;
729
730
  }
730
- C.AsyncMode = u, C.ConcurrentMode = N, C.ContextConsumer = P, C.ContextProvider = mt, C.Element = gt, C.ForwardRef = xt, C.Fragment = yt, C.Lazy = bt, C.Memo = vt, C.Portal = wt, C.Profiler = Et, C.StrictMode = St, C.Suspense = Ct, C.isAsyncMode = Pt, C.isConcurrentMode = Le, C.isContextConsumer = kt, C.isContextProvider = $t, C.isElement = _t, C.isForwardRef = Tt, C.isFragment = Rt, C.isLazy = Mt, C.isMemo = At, C.isPortal = Nt, C.isProfiler = zt, C.isStrictMode = Ft, C.isSuspense = Lt, C.isValidElementType = k, C.typeOf = _;
731
+ C.AsyncMode = p, C.ConcurrentMode = N, C.ContextConsumer = P, C.ContextProvider = mt, C.Element = gt, C.ForwardRef = xt, C.Fragment = yt, C.Lazy = bt, C.Memo = vt, C.Portal = wt, C.Profiler = Et, C.StrictMode = St, C.Suspense = Ct, C.isAsyncMode = Pt, C.isConcurrentMode = Le, C.isContextConsumer = kt, C.isContextProvider = $t, C.isElement = _t, C.isForwardRef = Tt, C.isFragment = Rt, C.isLazy = Mt, C.isMemo = At, C.isPortal = Nt, C.isProfiler = zt, C.isStrictMode = Ft, C.isSuspense = Lt, C.isValidElementType = k, C.typeOf = _;
731
732
  }()), C;
732
733
  }
733
- process.env.NODE_ENV === "production" ? ke.exports = wn() : ke.exports = En();
734
- var Sn = ke.exports, it = Sn, Cn = {
734
+ process.env.NODE_ENV === "production" ? ke.exports = En() : ke.exports = Sn();
735
+ var Cn = ke.exports, it = Cn, Pn = {
735
736
  $$typeof: !0,
736
737
  render: !0,
737
738
  defaultProps: !0,
738
739
  displayName: !0,
739
740
  propTypes: !0
740
- }, Pn = {
741
+ }, kn = {
741
742
  $$typeof: !0,
742
743
  compare: !0,
743
744
  defaultProps: !0,
@@ -745,10 +746,10 @@ var Sn = ke.exports, it = Sn, Cn = {
745
746
  propTypes: !0,
746
747
  type: !0
747
748
  }, at = {};
748
- at[it.ForwardRef] = Cn;
749
- at[it.Memo] = Pn;
750
- var kn = !0;
751
- function $n(e, t, n) {
749
+ at[it.ForwardRef] = Pn;
750
+ at[it.Memo] = kn;
751
+ var $n = !0;
752
+ function _n(e, t, n) {
752
753
  var r = "";
753
754
  return n.split(" ").forEach(function(o) {
754
755
  e[o] !== void 0 ? t.push(e[o] + ";") : o && (r += o + " ");
@@ -765,8 +766,8 @@ var st = function(t, n, r) {
765
766
  // in node since emotion-server relies on whether a style is in
766
767
  // the registered cache to know whether a style is global or not
767
768
  // also, note that this check will be dead code eliminated in the browser
768
- kn === !1) && t.registered[o] === void 0 && (t.registered[o] = n.styles);
769
- }, _n = function(t, n, r) {
769
+ $n === !1) && t.registered[o] === void 0 && (t.registered[o] = n.styles);
770
+ }, Tn = function(t, n, r) {
770
771
  st(t, n, r);
771
772
  var o = t.key + "-" + n.name;
772
773
  if (t.inserted[n.name] === void 0) {
@@ -776,7 +777,7 @@ var st = function(t, n, r) {
776
777
  while (i !== void 0);
777
778
  }
778
779
  };
779
- function Tn(e) {
780
+ function Rn(e) {
780
781
  for (var t = 0, n, r = 0, o = e.length; o >= 4; ++r, o -= 4)
781
782
  n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
782
783
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
@@ -795,7 +796,7 @@ function Tn(e) {
795
796
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
796
797
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
797
798
  }
798
- var Rn = {
799
+ var Mn = {
799
800
  animationIterationCount: 1,
800
801
  aspectRatio: 1,
801
802
  borderImageOutset: 1,
@@ -845,24 +846,24 @@ var Rn = {
845
846
  strokeOpacity: 1,
846
847
  strokeWidth: 1
847
848
  };
848
- function Mn(e) {
849
+ function An(e) {
849
850
  var t = /* @__PURE__ */ Object.create(null);
850
851
  return function(n) {
851
852
  return t[n] === void 0 && (t[n] = e(n)), t[n];
852
853
  };
853
854
  }
854
- var An = /[A-Z]|^ms/g, Nn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ct = function(t) {
855
+ var Nn = /[A-Z]|^ms/g, zn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ct = function(t) {
855
856
  return t.charCodeAt(1) === 45;
856
- }, Be = function(t) {
857
+ }, Ke = function(t) {
857
858
  return t != null && typeof t != "boolean";
858
- }, ve = /* @__PURE__ */ Mn(function(e) {
859
- return ct(e) ? e : e.replace(An, "-$&").toLowerCase();
860
- }), Ke = function(t, n) {
859
+ }, ve = /* @__PURE__ */ An(function(e) {
860
+ return ct(e) ? e : e.replace(Nn, "-$&").toLowerCase();
861
+ }), Ye = function(t, n) {
861
862
  switch (t) {
862
863
  case "animation":
863
864
  case "animationName":
864
865
  if (typeof n == "string")
865
- return n.replace(Nn, function(r, o, i) {
866
+ return n.replace(zn, function(r, o, i) {
866
867
  return I = {
867
868
  name: o,
868
869
  styles: i,
@@ -870,9 +871,9 @@ var An = /[A-Z]|^ms/g, Nn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ct = function(t) {
870
871
  }, o;
871
872
  });
872
873
  }
873
- return Rn[t] !== 1 && !ct(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
874
+ return Mn[t] !== 1 && !ct(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
874
875
  };
875
- function oe(e, t, n) {
876
+ function ie(e, t, n) {
876
877
  if (n == null)
877
878
  return "";
878
879
  var r = n;
@@ -902,12 +903,12 @@ function oe(e, t, n) {
902
903
  var d = i.styles + ";";
903
904
  return d;
904
905
  }
905
- return zn(e, t, n);
906
+ return Fn(e, t, n);
906
907
  }
907
908
  case "function": {
908
909
  if (e !== void 0) {
909
- var f = I, p = n(e);
910
- return I = f, oe(e, t, p);
910
+ var f = I, u = n(e);
911
+ return I = f, ie(e, t, u);
911
912
  }
912
913
  break;
913
914
  }
@@ -915,30 +916,30 @@ function oe(e, t, n) {
915
916
  var l = n;
916
917
  return l;
917
918
  }
918
- function zn(e, t, n) {
919
+ function Fn(e, t, n) {
919
920
  var r = "";
920
921
  if (Array.isArray(n))
921
922
  for (var o = 0; o < n.length; o++)
922
- r += oe(e, t, n[o]) + ";";
923
+ r += ie(e, t, n[o]) + ";";
923
924
  else
924
925
  for (var i in n) {
925
926
  var a = n[i];
926
927
  if (typeof a != "object") {
927
928
  var d = a;
928
- Be(d) && (r += ve(i) + ":" + Ke(i, d) + ";");
929
+ Ke(d) && (r += ve(i) + ":" + Ye(i, d) + ";");
929
930
  } else if (Array.isArray(a) && typeof a[0] == "string" && t == null)
930
931
  for (var f = 0; f < a.length; f++)
931
- Be(a[f]) && (r += ve(i) + ":" + Ke(i, a[f]) + ";");
932
+ Ke(a[f]) && (r += ve(i) + ":" + Ye(i, a[f]) + ";");
932
933
  else {
933
- var p = oe(e, t, a);
934
+ var u = ie(e, t, a);
934
935
  switch (i) {
935
936
  case "animation":
936
937
  case "animationName": {
937
- r += ve(i) + ":" + p + ";";
938
+ r += ve(i) + ":" + u + ";";
938
939
  break;
939
940
  }
940
941
  default:
941
- r += i + "{" + p + "}";
942
+ r += i + "{" + u + "}";
942
943
  }
943
944
  }
944
945
  }
@@ -952,42 +953,42 @@ function He(e, t, n) {
952
953
  I = void 0;
953
954
  var i = e[0];
954
955
  if (i == null || i.raw === void 0)
955
- r = !1, o += oe(n, t, i);
956
+ r = !1, o += ie(n, t, i);
956
957
  else {
957
958
  var a = i;
958
959
  o += a[0];
959
960
  }
960
961
  for (var d = 1; d < e.length; d++)
961
- if (o += oe(n, t, e[d]), r) {
962
+ if (o += ie(n, t, e[d]), r) {
962
963
  var f = i;
963
964
  o += f[d];
964
965
  }
965
966
  We.lastIndex = 0;
966
- for (var p = "", l; (l = We.exec(o)) !== null; )
967
- p += "-" + l[1];
968
- var s = Tn(o) + p;
967
+ for (var u = "", l; (l = We.exec(o)) !== null; )
968
+ u += "-" + l[1];
969
+ var s = Rn(o) + u;
969
970
  return {
970
971
  name: s,
971
972
  styles: o,
972
973
  next: I
973
974
  };
974
975
  }
975
- var Fn = function(t) {
976
+ var Ln = function(t) {
976
977
  return t();
977
- }, Ln = V.useInsertionEffect ? V.useInsertionEffect : !1, On = Ln || Fn, ye = {}.hasOwnProperty, Ne = /* @__PURE__ */ V.createContext(
978
+ }, On = V.useInsertionEffect ? V.useInsertionEffect : !1, In = On || Ln, ye = {}.hasOwnProperty, Ne = /* @__PURE__ */ V.createContext(
978
979
  // we're doing this to avoid preconstruct's dead code elimination in this one case
979
980
  // because this module is primarily intended for the browser and node
980
981
  // but it's also required in react native and similar environments sometimes
981
982
  // and we could have a special build just for that
982
983
  // but this is much easier and the native packages
983
984
  // might use a different theme context in the future anyway
984
- typeof HTMLElement < "u" ? /* @__PURE__ */ vn({
985
+ typeof HTMLElement < "u" ? /* @__PURE__ */ wn({
985
986
  key: "css"
986
987
  }) : null
987
988
  );
988
989
  process.env.NODE_ENV !== "production" && (Ne.displayName = "EmotionCacheContext");
989
990
  Ne.Provider;
990
- var In = function(t) {
991
+ var Dn = function(t) {
991
992
  return /* @__PURE__ */ Ot(function(n, r) {
992
993
  var o = Xe(Ne);
993
994
  return t(n, o, r);
@@ -997,22 +998,22 @@ process.env.NODE_ENV !== "production" && (lt.displayName = "EmotionThemeContext"
997
998
  var Ue = function(t) {
998
999
  var n = t.split(".");
999
1000
  return n[n.length - 1];
1000
- }, Dn = function(t) {
1001
+ }, Vn = function(t) {
1001
1002
  var n = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);
1002
1003
  if (n || (n = /^([A-Za-z0-9$.]+)@/.exec(t), n))
1003
1004
  return Ue(n[1]);
1004
- }, Vn = /* @__PURE__ */ new Set(["renderWithHooks", "processChild", "finishClassComponent", "renderToString"]), jn = function(t) {
1005
+ }, jn = /* @__PURE__ */ new Set(["renderWithHooks", "processChild", "finishClassComponent", "renderToString"]), Bn = function(t) {
1005
1006
  return t.replace(/\$/g, "-");
1006
- }, Yn = function(t) {
1007
+ }, Kn = function(t) {
1007
1008
  if (t)
1008
1009
  for (var n = t.split(`
1009
1010
  `), r = 0; r < n.length; r++) {
1010
- var o = Dn(n[r]);
1011
+ var o = Vn(n[r]);
1011
1012
  if (o) {
1012
- if (Vn.has(o))
1013
+ if (jn.has(o))
1013
1014
  break;
1014
1015
  if (/^[A-Z]/.test(o))
1015
- return jn(o);
1016
+ return Bn(o);
1016
1017
  }
1017
1018
  }
1018
1019
  }, $e = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", _e = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", dt = function(t, n) {
@@ -1023,42 +1024,42 @@ var Ue = function(t) {
1023
1024
  for (var o in n)
1024
1025
  ye.call(n, o) && (r[o] = n[o]);
1025
1026
  if (r[$e] = t, process.env.NODE_ENV !== "production" && n.css && (typeof n.css != "object" || typeof n.css.name != "string" || n.css.name.indexOf("-") === -1)) {
1026
- var i = Yn(new Error().stack);
1027
+ var i = Kn(new Error().stack);
1027
1028
  i && (r[_e] = i);
1028
1029
  }
1029
1030
  return r;
1030
- }, Bn = function(t) {
1031
+ }, Yn = function(t) {
1031
1032
  var n = t.cache, r = t.serialized, o = t.isStringTag;
1032
- return st(n, r, o), On(function() {
1033
- return _n(n, r, o);
1033
+ return st(n, r, o), In(function() {
1034
+ return Tn(n, r, o);
1034
1035
  }), null;
1035
- }, ft = /* @__PURE__ */ In(function(e, t, n) {
1036
+ }, ft = /* @__PURE__ */ Dn(function(e, t, n) {
1036
1037
  var r = e.css;
1037
1038
  typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
1038
1039
  var o = e[$e], i = [r], a = "";
1039
- typeof e.className == "string" ? a = $n(t.registered, i, e.className) : e.className != null && (a = e.className + " ");
1040
+ typeof e.className == "string" ? a = _n(t.registered, i, e.className) : e.className != null && (a = e.className + " ");
1040
1041
  var d = He(i, void 0, V.useContext(lt));
1041
1042
  if (process.env.NODE_ENV !== "production" && d.name.indexOf("-") === -1) {
1042
1043
  var f = e[_e];
1043
1044
  f && (d = He([d, "label:" + f + ";"]));
1044
1045
  }
1045
1046
  a += t.key + "-" + d.name;
1046
- var p = {};
1047
+ var u = {};
1047
1048
  for (var l in e)
1048
- ye.call(e, l) && l !== "css" && l !== $e && (process.env.NODE_ENV === "production" || l !== _e) && (p[l] = e[l]);
1049
- return p.ref = n, p.className = a, /* @__PURE__ */ V.createElement(V.Fragment, null, /* @__PURE__ */ V.createElement(Bn, {
1049
+ ye.call(e, l) && l !== "css" && l !== $e && (process.env.NODE_ENV === "production" || l !== _e) && (u[l] = e[l]);
1050
+ return u.ref = n, u.className = a, /* @__PURE__ */ V.createElement(V.Fragment, null, /* @__PURE__ */ V.createElement(Yn, {
1050
1051
  cache: t,
1051
1052
  serialized: d,
1052
1053
  isStringTag: typeof o == "string"
1053
- }), /* @__PURE__ */ V.createElement(o, p));
1054
+ }), /* @__PURE__ */ V.createElement(o, u));
1054
1055
  });
1055
1056
  process.env.NODE_ENV !== "production" && (ft.displayName = "EmotionCssPropInternal");
1056
- var ut = ft, B = Q.Fragment;
1057
+ var ut = ft, K = ee.Fragment;
1057
1058
  function c(e, t, n) {
1058
- return ye.call(t, "css") ? Q.jsx(ut, dt(e, t), n) : Q.jsx(e, t, n);
1059
+ return ye.call(t, "css") ? ee.jsx(ut, dt(e, t), n) : ee.jsx(e, t, n);
1059
1060
  }
1060
1061
  function g(e, t, n) {
1061
- return ye.call(t, "css") ? Q.jsxs(ut, dt(e, t), n) : Q.jsxs(e, t, n);
1062
+ return ye.call(t, "css") ? ee.jsxs(ut, dt(e, t), n) : ee.jsxs(e, t, n);
1062
1063
  }
1063
1064
  const pt = It(void 0), Ge = h.div`
1064
1065
  padding-inline: 20px;
@@ -1073,17 +1074,17 @@ const pt = It(void 0), Ge = h.div`
1073
1074
  top: 0;
1074
1075
  left: 0;
1075
1076
  z-index: 10000;
1076
- `, qr = ({ remotesOverride: e, onBeforeInitialize: t, pluginConfig: n, children: r }) => {
1077
- const [o, i] = j(), [a, d] = j(null);
1078
- return ee(() => {
1077
+ `, Jr = ({ remotesOverride: e, onBeforeInitialize: t, pluginConfig: n, children: r }) => {
1078
+ const [o, i] = B(), [a, d] = B(null);
1079
+ return te(() => {
1079
1080
  (async () => {
1080
- var p, l;
1081
+ var u, l;
1081
1082
  try {
1082
1083
  t && (console.log(
1083
1084
  "KosPluginProvider: Waiting for pre-initialization conditions..."
1084
1085
  ), await t(), console.log("KosPluginProvider: Pre-initialization complete"));
1085
1086
  let s = e;
1086
- const x = (p = window.KosPlugins) == null ? void 0 : p.__dynamicRemotes;
1087
+ const x = (u = window.KosPlugins) == null ? void 0 : u.__dynamicRemotes;
1087
1088
  s || (x && Object.keys(x).length > 0 ? (console.log(
1088
1089
  "KosPluginProvider: Using existing plugin initialization"
1089
1090
  ), s = x) : (console.log("KosPluginProvider: Initializing plugins..."), await Vt(n), s = (l = window.KosPlugins) == null ? void 0 : l.__dynamicRemotes));
@@ -1097,37 +1098,37 @@ const pt = It(void 0), Ge = h.div`
1097
1098
  /* @__PURE__ */ c("div", { children: "Failed to load plugins" }),
1098
1099
  /* @__PURE__ */ c("div", { style: { fontSize: "12px", marginTop: "10px", opacity: 0.8 }, children: a.message })
1099
1100
  ] }) : /* @__PURE__ */ c(pt.Provider, { value: o, children: o ? r : /* @__PURE__ */ c(Ge, { children: "Loading remote plugins..." }) });
1100
- }, ae = () => {
1101
+ }, se = () => {
1101
1102
  const e = Xe(pt);
1102
1103
  if (!e)
1103
1104
  throw new Error(
1104
1105
  "useKosPluginsContext must be used within a KosPluginProvider"
1105
1106
  );
1106
1107
  return e;
1107
- }, Kn = (e) => {
1108
+ }, Wn = (e) => {
1108
1109
  var t;
1109
1110
  return ((t = e == null ? void 0 : e.view) == null ? void 0 : t.component) !== void 0;
1110
- }, Wn = ({
1111
+ }, Hn = ({
1111
1112
  extension: e,
1112
1113
  module: t
1113
1114
  }) => {
1114
- const { extensions: n } = ae(), [r, o] = j(
1115
+ const { extensions: n } = se(), [r, o] = B(
1115
1116
  null
1116
- ), [i, a] = j(null);
1117
- return ee(() => {
1117
+ ), [i, a] = B(null);
1118
+ return te(() => {
1118
1119
  async function d() {
1119
1120
  const f = Se(n == null ? void 0 : n[e], t);
1120
1121
  a(f ?? null);
1121
- const p = (f == null ? void 0 : f.remote) || "", l = Kn(f) ? f.view.component : f == null ? void 0 : f.component, s = l ? `./${l}` : "";
1122
- if (!p)
1122
+ const u = (f == null ? void 0 : f.remote) || "", l = Wn(f) ? f.view.component : f == null ? void 0 : f.component, s = l ? `./${l}` : "";
1123
+ if (!u)
1123
1124
  return;
1124
- const x = K.lazy(() => Yt.loadRemoteModule(p, s));
1125
+ const x = Y.lazy(() => Bt.loadRemoteModule(u, s));
1125
1126
  o(x);
1126
1127
  }
1127
1128
  d();
1128
1129
  }, [n, t, e]), [r, i];
1129
1130
  };
1130
- class Hn extends K.Component {
1131
+ class Un extends Y.Component {
1131
1132
  constructor(t) {
1132
1133
  super(t), this.state = { hasError: !1 };
1133
1134
  }
@@ -1141,13 +1142,13 @@ class Hn extends K.Component {
1141
1142
  return this.state.hasError ? this.props.fallback : this.props.children;
1142
1143
  }
1143
1144
  }
1144
- const Un = h.div`
1145
+ const Gn = h.div`
1145
1146
  align-items: center;
1146
1147
  display: flex;
1147
1148
  height: 100%;
1148
1149
  justify-content: center;
1149
1150
  width: 100%;
1150
- `, Gn = h.div`
1151
+ `, qn = h.div`
1151
1152
  align-items: center;
1152
1153
  background-color: transparent;
1153
1154
  display: flex;
@@ -1161,18 +1162,18 @@ const Un = h.div`
1161
1162
  module: n,
1162
1163
  props: r
1163
1164
  }) => {
1164
- const [o, i] = Wn({
1165
+ const [o, i] = Hn({
1165
1166
  extension: e,
1166
1167
  module: n
1167
1168
  });
1168
1169
  if (!o)
1169
1170
  return null;
1170
- const a = t || /* @__PURE__ */ c(Un, { children: `Dynamic component, ${e}, not found...` });
1171
- return /* @__PURE__ */ c(Hn, { fallback: a, children: /* @__PURE__ */ c(
1171
+ const a = t || /* @__PURE__ */ c(Gn, { children: `Dynamic component, ${e}, not found...` });
1172
+ return /* @__PURE__ */ c(Un, { fallback: a, children: /* @__PURE__ */ c(
1172
1173
  Dt,
1173
1174
  {
1174
1175
  fallback: i != null && i.size ? /* @__PURE__ */ c(
1175
- Gn,
1176
+ qn,
1176
1177
  {
1177
1178
  width: i.size.width,
1178
1179
  height: i.size.height
@@ -1181,22 +1182,22 @@ const Un = h.div`
1181
1182
  children: /* @__PURE__ */ c(o, { ...r })
1182
1183
  }
1183
1184
  ) });
1184
- }, qn = h.div`
1185
+ }, Zn = h.div`
1185
1186
  display: flex;
1186
1187
  flex-direction: column;
1187
1188
  height: 100%;
1188
1189
  min-height: 0; /* Important for flexbox children to shrink */
1189
- `, Zn = h.div`
1190
+ `, Xn = h.div`
1190
1191
  padding: 16px;
1191
1192
  border-bottom: 1px solid #e1e5e9;
1192
1193
  background: #f6f8fa;
1193
1194
  flex-shrink: 0; /* Prevent header from shrinking */
1194
- `, Xn = h.h3`
1195
+ `, Jn = h.h3`
1195
1196
  margin: 0 0 8px 0;
1196
1197
  font-size: 16px;
1197
1198
  font-weight: 600;
1198
1199
  color: #24292f;
1199
- `, Jn = h.input`
1200
+ `, Qn = h.input`
1200
1201
  width: 100%;
1201
1202
  padding: 8px 12px;
1202
1203
  border: 1px solid #d0d7de;
@@ -1209,11 +1210,11 @@ const Un = h.div`
1209
1210
  border-color: #0969da;
1210
1211
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
1211
1212
  }
1212
- `, Qn = h.div`
1213
+ `, er = h.div`
1213
1214
  flex: 1;
1214
1215
  overflow-y: auto;
1215
1216
  min-height: 0; /* Critical for making overflow work in flexbox */
1216
- `, er = h.div`
1217
+ `, tr = h.div`
1217
1218
  padding: 12px 16px;
1218
1219
  border-bottom: 1px solid #f0f0f0;
1219
1220
  cursor: pointer;
@@ -1224,12 +1225,12 @@ const Un = h.div`
1224
1225
  &:hover {
1225
1226
  background: #f6f8fa;
1226
1227
  }
1227
- `, tr = h.div`
1228
+ `, nr = h.div`
1228
1229
  font-weight: 500;
1229
1230
  font-size: 14px;
1230
1231
  color: #24292f;
1231
1232
  margin-bottom: 4px;
1232
- `, nr = h.div`
1233
+ `, rr = h.div`
1233
1234
  font-size: 12px;
1234
1235
  color: #656d76;
1235
1236
  display: flex;
@@ -1253,23 +1254,23 @@ const Un = h.div`
1253
1254
  return "background: #f6f8fa; color: #656d76;";
1254
1255
  }
1255
1256
  }}
1256
- `, rr = h.div`
1257
+ `, or = h.div`
1257
1258
  padding: 40px 16px;
1258
1259
  text-align: center;
1259
1260
  color: #656d76;
1260
1261
  font-size: 14px;
1261
- `, or = ({
1262
+ `, ir = ({
1262
1263
  extensionPoints: e,
1263
1264
  selectedExtensionId: t,
1264
1265
  onExtensionSelect: n,
1265
1266
  searchTerm: r,
1266
1267
  onSearchChange: o,
1267
1268
  className: i
1268
- }) => /* @__PURE__ */ g(qn, { className: i, children: [
1269
- /* @__PURE__ */ g(Zn, { children: [
1270
- /* @__PURE__ */ c(Xn, { children: "Extension Points" }),
1269
+ }) => /* @__PURE__ */ g(Zn, { className: i, children: [
1270
+ /* @__PURE__ */ g(Xn, { children: [
1271
+ /* @__PURE__ */ c(Jn, { children: "Extension Points" }),
1271
1272
  /* @__PURE__ */ c(
1272
- Jn,
1273
+ Qn,
1273
1274
  {
1274
1275
  placeholder: "Search extension points...",
1275
1276
  value: r,
@@ -1277,16 +1278,16 @@ const Un = h.div`
1277
1278
  }
1278
1279
  )
1279
1280
  ] }),
1280
- /* @__PURE__ */ c(Qn, { children: e.length > 0 ? e.map((a) => {
1281
+ /* @__PURE__ */ c(er, { children: e.length > 0 ? e.map((a) => {
1281
1282
  var d;
1282
1283
  return /* @__PURE__ */ g(
1283
- er,
1284
+ tr,
1284
1285
  {
1285
1286
  selected: a.id === t,
1286
1287
  onClick: () => n(a.id),
1287
1288
  children: [
1288
- /* @__PURE__ */ c(tr, { children: a.displayName || a.id }),
1289
- /* @__PURE__ */ g(nr, { children: [
1289
+ /* @__PURE__ */ c(nr, { children: a.displayName || a.id }),
1290
+ /* @__PURE__ */ g(rr, { children: [
1290
1291
  /* @__PURE__ */ g("div", { children: [
1291
1292
  /* @__PURE__ */ c(qe, { variant: a.source, children: a.source }),
1292
1293
  ((d = a.metadata) == null ? void 0 : d.deprecated) && /* @__PURE__ */ c(qe, { variant: "deprecated", style: { marginLeft: 4 }, children: "deprecated" })
@@ -1301,16 +1302,16 @@ const Un = h.div`
1301
1302
  },
1302
1303
  a.id
1303
1304
  );
1304
- }) : /* @__PURE__ */ c(rr, { children: r ? `No extension points match "${r}"` : "No extension points available" }) })
1305
+ }) : /* @__PURE__ */ c(or, { children: r ? `No extension points match "${r}"` : "No extension points available" }) })
1305
1306
  ] });
1306
1307
  function ht(e) {
1307
- const { extensions: t } = ae();
1308
- return Y(() => {
1308
+ const { extensions: t } = se();
1309
+ return j(() => {
1309
1310
  try {
1310
- const r = te.getExtensionPoints(
1311
+ const r = ne.getExtensionPoints(
1311
1312
  t,
1312
1313
  e
1313
- ), o = te.calculateHealthStats(r);
1314
+ ), o = ne.calculateHealthStats(r);
1314
1315
  return {
1315
1316
  extensionPoints: r,
1316
1317
  healthStats: o,
@@ -1334,9 +1335,9 @@ function ht(e) {
1334
1335
  }
1335
1336
  }, [t, e]);
1336
1337
  }
1337
- function ir(e, t) {
1338
- const n = ht(t), r = Y(
1339
- () => te.filterExtensionPoints(
1338
+ function ar(e, t) {
1339
+ const n = ht(t), r = j(
1340
+ () => ne.filterExtensionPoints(
1340
1341
  n.extensionPoints,
1341
1342
  e
1342
1343
  ),
@@ -1347,31 +1348,31 @@ function ir(e, t) {
1347
1348
  filteredExtensionPoints: r
1348
1349
  };
1349
1350
  }
1350
- function Zr(e) {
1351
+ function Qr(e) {
1351
1352
  const { extensionPoints: t } = ht();
1352
- return Y(
1353
- () => te.getExtensionPointById(
1353
+ return j(
1354
+ () => ne.getExtensionPointById(
1354
1355
  t,
1355
1356
  e
1356
1357
  ),
1357
1358
  [t, e]
1358
1359
  );
1359
1360
  }
1360
- const ar = h.div`
1361
+ const sr = h.div`
1361
1362
  border: 1px solid #e1e5e9;
1362
1363
  border-radius: 6px;
1363
1364
  padding: 12px;
1364
1365
  background: white;
1365
1366
  transition: all 0.2s ease;
1366
- `, sr = h.div`
1367
+ `, cr = h.div`
1367
1368
  display: flex;
1368
1369
  align-items: center;
1369
1370
  justify-content: space-between;
1370
1371
  margin-bottom: 8px;
1371
- `, cr = h.div`
1372
+ `, lr = h.div`
1372
1373
  display: flex;
1373
1374
  align-items: center;
1374
- `, lr = h.div`
1375
+ `, dr = h.div`
1375
1376
  display: inline-block;
1376
1377
  width: 8px;
1377
1378
  height: 8px;
@@ -1390,18 +1391,18 @@ const ar = h.div`
1390
1391
  return "background: #656d76;";
1391
1392
  }
1392
1393
  }}
1393
- `, dr = h.h5`
1394
+ `, fr = h.h5`
1394
1395
  margin: 0;
1395
1396
  font-size: 14px;
1396
1397
  font-weight: 600;
1397
1398
  color: #24292f;
1398
- `, fr = h.div`
1399
+ `, ur = h.div`
1399
1400
  font-size: 12px;
1400
1401
  color: #656d76;
1401
1402
  line-height: 1.4;
1402
1403
  display: grid;
1403
1404
  gap: 2px;
1404
- `, X = h.div`
1405
+ `, J = h.div`
1405
1406
  display: grid;
1406
1407
  grid-template-columns: 80px 1fr; /* Fixed label width, flexible value */
1407
1408
  gap: 8px;
@@ -1417,28 +1418,28 @@ const ar = h.div`
1417
1418
  text-overflow: ellipsis;
1418
1419
  white-space: nowrap;
1419
1420
  }
1420
- `, ur = h.div`
1421
+ `, pr = h.div`
1421
1422
  color: #656d76;
1422
1423
  font-style: italic;
1423
1424
  margin-top: 4px;
1424
1425
  font-size: 12px;
1425
- `, pr = h.div`
1426
+ `, hr = h.div`
1426
1427
  margin-top: 6px;
1427
1428
  display: flex;
1428
1429
  flex-wrap: wrap;
1429
1430
  gap: 4px;
1430
- `, hr = h.span`
1431
+ `, mr = h.span`
1431
1432
  background: #f6f8fa;
1432
1433
  border: 1px solid #d0d7de;
1433
1434
  border-radius: 12px;
1434
1435
  padding: 2px 6px;
1435
1436
  font-size: 10px;
1436
1437
  color: #24292f;
1437
- `, mr = h.div`
1438
+ `, gr = h.div`
1438
1439
  margin-top: 8px;
1439
1440
  padding-top: 8px;
1440
1441
  border-top: 1px solid #f0f0f0;
1441
- `, gr = h.div`
1442
+ `, xr = h.div`
1442
1443
  display: flex;
1443
1444
  align-items: flex-start;
1444
1445
  gap: 6px;
@@ -1460,7 +1461,7 @@ const ar = h.div`
1460
1461
  return "background: #f6f8fa; color: #656d76;";
1461
1462
  }
1462
1463
  }}
1463
- `, xr = h.span`
1464
+ `, yr = h.span`
1464
1465
  font-size: 12px;
1465
1466
  font-weight: bold;
1466
1467
  flex-shrink: 0;
@@ -1480,54 +1481,54 @@ const ar = h.div`
1480
1481
  }
1481
1482
  }}";
1482
1483
  }
1483
- `, yr = h.div`
1484
+ `, br = h.div`
1484
1485
  flex: 1;
1485
1486
  `;
1486
- function br(e, t) {
1487
+ function vr(e, t) {
1487
1488
  if (Te().getExtensionPoint(t) && e.data)
1488
1489
  return e.data;
1489
1490
  }
1490
- function vr(e) {
1491
+ function wr(e) {
1491
1492
  const n = Te().getExtensionPoint(e);
1492
1493
  return n != null && n.getSchemaFieldInfo ? n.getSchemaFieldInfo().map((r) => r.name) : [];
1493
1494
  }
1494
- const wr = ({
1495
+ const Er = ({
1495
1496
  plugin: e,
1496
1497
  extensionPointId: t,
1497
1498
  className: n
1498
1499
  }) => {
1499
- const r = te.analyzePlugin(e), { hasComponent: o, healthStatus: i, capabilities: a } = r, d = Bt(e.id), f = br(e, t), p = vr(t);
1500
- return /* @__PURE__ */ g(ar, { className: n, children: [
1501
- /* @__PURE__ */ c(sr, { children: /* @__PURE__ */ g(cr, { children: [
1502
- /* @__PURE__ */ c(lr, { status: i }),
1503
- /* @__PURE__ */ c(dr, { children: e.id })
1500
+ const r = ne.analyzePlugin(e), { hasComponent: o, healthStatus: i, capabilities: a } = r, d = Kt(e.id), f = vr(e, t), u = wr(t);
1501
+ return /* @__PURE__ */ g(sr, { className: n, children: [
1502
+ /* @__PURE__ */ c(cr, { children: /* @__PURE__ */ g(lr, { children: [
1503
+ /* @__PURE__ */ c(dr, { status: i }),
1504
+ /* @__PURE__ */ c(fr, { children: e.id })
1504
1505
  ] }) }),
1505
- /* @__PURE__ */ g(fr, { children: [
1506
- /* @__PURE__ */ g(X, { children: [
1506
+ /* @__PURE__ */ g(ur, { children: [
1507
+ /* @__PURE__ */ g(J, { children: [
1507
1508
  /* @__PURE__ */ c("strong", { children: "Source:" }),
1508
1509
  /* @__PURE__ */ c("span", { children: e.remote ? `${e.remote} plugin` : "Local" })
1509
1510
  ] }),
1510
- /* @__PURE__ */ g(X, { children: [
1511
+ /* @__PURE__ */ g(J, { children: [
1511
1512
  /* @__PURE__ */ c("strong", { children: "Type:" }),
1512
1513
  /* @__PURE__ */ c("span", { children: e.type })
1513
1514
  ] }),
1514
- typeof e.rank == "number" && /* @__PURE__ */ g(X, { children: [
1515
+ typeof e.rank == "number" && /* @__PURE__ */ g(J, { children: [
1515
1516
  /* @__PURE__ */ c("strong", { children: "Priority:" }),
1516
1517
  /* @__PURE__ */ g("span", { children: [
1517
1518
  e.rank,
1518
1519
  " (higher = preferred)"
1519
1520
  ] })
1520
1521
  ] }),
1521
- e.component && /* @__PURE__ */ g(X, { children: [
1522
+ e.component && /* @__PURE__ */ g(J, { children: [
1522
1523
  /* @__PURE__ */ c("strong", { children: "Component:" }),
1523
1524
  /* @__PURE__ */ c("span", { children: e.component })
1524
1525
  ] }),
1525
- f && p.map((l) => {
1526
+ f && u.map((l) => {
1526
1527
  const s = f[l];
1527
1528
  if (s == null)
1528
1529
  return null;
1529
1530
  const x = l.replace(/([A-Z])/g, " $1").replace(/^./, (b) => b.toUpperCase()).trim();
1530
- return /* @__PURE__ */ g(X, { children: [
1531
+ return /* @__PURE__ */ g(J, { children: [
1531
1532
  /* @__PURE__ */ g("strong", { children: [
1532
1533
  x,
1533
1534
  ":"
@@ -1535,21 +1536,21 @@ const wr = ({
1535
1536
  /* @__PURE__ */ c("span", { children: String(s) })
1536
1537
  ] }, l);
1537
1538
  }),
1538
- !o && /* @__PURE__ */ c(ur, { children: "No UI component (data/utility plugin)" }),
1539
- a.length > 0 && /* @__PURE__ */ c(pr, { children: a.map((l) => /* @__PURE__ */ c(hr, { children: l }, l)) }),
1540
- d.length > 0 && /* @__PURE__ */ c(mr, { children: d.map((l, s) => /* @__PURE__ */ g(gr, { type: l.type, children: [
1541
- /* @__PURE__ */ c(xr, { type: l.type }),
1542
- /* @__PURE__ */ c(yr, { children: l.message })
1539
+ !o && /* @__PURE__ */ c(pr, { children: "No UI component (data/utility plugin)" }),
1540
+ a.length > 0 && /* @__PURE__ */ c(hr, { children: a.map((l) => /* @__PURE__ */ c(mr, { children: l }, l)) }),
1541
+ d.length > 0 && /* @__PURE__ */ c(gr, { children: d.map((l, s) => /* @__PURE__ */ g(xr, { type: l.type, children: [
1542
+ /* @__PURE__ */ c(yr, { type: l.type }),
1543
+ /* @__PURE__ */ c(br, { children: l.message })
1543
1544
  ] }, s)) })
1544
1545
  ] })
1545
1546
  ] });
1546
- }, Er = h.div`
1547
+ }, Sr = h.div`
1547
1548
  padding: 12px 16px;
1548
1549
  border-bottom: 1px solid #e1e5e9;
1549
1550
  background: #f9f9f9;
1550
1551
  font-size: 12px;
1551
1552
  flex-shrink: 0; /* Prevent from shrinking */
1552
- `, Sr = h.div`
1553
+ `, Cr = h.div`
1553
1554
  font-weight: 600;
1554
1555
  margin-bottom: 8px;
1555
1556
  color: #24292f;
@@ -1561,11 +1562,11 @@ const wr = ({
1561
1562
  &:not(:last-child) {
1562
1563
  margin-bottom: 4px;
1563
1564
  }
1564
- `, J = h.div`
1565
+ `, Q = h.div`
1565
1566
  display: flex;
1566
1567
  align-items: center;
1567
1568
  gap: 4px;
1568
- `, Cr = h.div`
1569
+ `, Pr = h.div`
1569
1570
  display: inline-block;
1570
1571
  width: 8px;
1571
1572
  height: 8px;
@@ -1603,7 +1604,7 @@ const wr = ({
1603
1604
  return "background: #f6f8fa; color: #656d76;";
1604
1605
  }
1605
1606
  }}
1606
- `, Pr = h.button`
1607
+ `, kr = h.button`
1607
1608
  background: #0969da;
1608
1609
  border: 1px solid #0969da;
1609
1610
  border-radius: 4px;
@@ -1622,20 +1623,20 @@ const wr = ({
1622
1623
  &:active {
1623
1624
  background: #0757ba;
1624
1625
  }
1625
- `, kr = ({
1626
+ `, $r = ({
1626
1627
  healthStats: e,
1627
1628
  className: t
1628
1629
  }) => {
1629
- const { extensions: n } = ae(), {
1630
+ const { extensions: n } = se(), {
1630
1631
  totalPlugins: r,
1631
1632
  extensionPointsWithPlugins: o,
1632
1633
  totalExtensionPoints: i,
1633
1634
  simplifiedExtensionPoints: a,
1634
1635
  legacyExtensionPoints: d,
1635
1636
  deprecatedExtensionPoints: f
1636
- } = e, p = () => {
1637
+ } = e, u = () => {
1637
1638
  try {
1638
- const l = Kt.generateFullDocumentation(
1639
+ const l = Yt.generateFullDocumentation(
1639
1640
  n,
1640
1641
  {
1641
1642
  includeUsageExamples: !0,
@@ -1649,17 +1650,17 @@ const wr = ({
1649
1650
  console.error("Failed to generate documentation:", l);
1650
1651
  }
1651
1652
  };
1652
- return /* @__PURE__ */ g(Er, { className: t, children: [
1653
- /* @__PURE__ */ c(Sr, { children: "System Health" }),
1653
+ return /* @__PURE__ */ g(Sr, { className: t, children: [
1654
+ /* @__PURE__ */ c(Cr, { children: "System Health" }),
1654
1655
  /* @__PURE__ */ g(Ze, { children: [
1655
- /* @__PURE__ */ g(J, { children: [
1656
- /* @__PURE__ */ c(Cr, { status: "healthy" }),
1656
+ /* @__PURE__ */ g(Q, { children: [
1657
+ /* @__PURE__ */ c(Pr, { status: "healthy" }),
1657
1658
  /* @__PURE__ */ g("span", { children: [
1658
1659
  r,
1659
1660
  " plugins"
1660
1661
  ] })
1661
1662
  ] }),
1662
- /* @__PURE__ */ c(J, { children: /* @__PURE__ */ g("span", { children: [
1663
+ /* @__PURE__ */ c(Q, { children: /* @__PURE__ */ g("span", { children: [
1663
1664
  o,
1664
1665
  "/",
1665
1666
  i,
@@ -1667,20 +1668,20 @@ const wr = ({
1667
1668
  ] }) })
1668
1669
  ] }),
1669
1670
  /* @__PURE__ */ g(Ze, { children: [
1670
- /* @__PURE__ */ g(J, { children: [
1671
+ /* @__PURE__ */ g(Q, { children: [
1671
1672
  /* @__PURE__ */ c(we, { variant: "simplified", children: a }),
1672
1673
  /* @__PURE__ */ c("span", { children: "simplified" })
1673
1674
  ] }),
1674
- /* @__PURE__ */ g(J, { children: [
1675
+ /* @__PURE__ */ g(Q, { children: [
1675
1676
  /* @__PURE__ */ c(we, { variant: "legacy", children: d }),
1676
1677
  /* @__PURE__ */ c("span", { children: "legacy" })
1677
1678
  ] }),
1678
- f > 0 && /* @__PURE__ */ g(J, { children: [
1679
+ f > 0 && /* @__PURE__ */ g(Q, { children: [
1679
1680
  /* @__PURE__ */ c(we, { variant: "deprecated", children: f }),
1680
1681
  /* @__PURE__ */ c("span", { children: "deprecated" })
1681
1682
  ] })
1682
1683
  ] }),
1683
- /* @__PURE__ */ c(Pr, { onClick: p, children: "Export Documentation" })
1684
+ /* @__PURE__ */ c(kr, { onClick: u, children: "Export Documentation" })
1684
1685
  ] });
1685
1686
  }, Ee = h.div`
1686
1687
  display: flex;
@@ -1694,7 +1695,7 @@ const wr = ({
1694
1695
  sans-serif;
1695
1696
  background: white;
1696
1697
  container-type: inline-size; /* Enable container queries */
1697
- `, $r = h.div`
1698
+ `, _r = h.div`
1698
1699
  flex: 0 0 35%; /* Take 35% of container width */
1699
1700
  min-width: 280px; /* Minimum usable width */
1700
1701
  max-width: 400px; /* Maximum width to prevent too wide */
@@ -1709,7 +1710,7 @@ const wr = ({
1709
1710
  max-width: 100%;
1710
1711
  border-right: none;
1711
1712
  }
1712
- `, _r = h.div`
1713
+ `, Tr = h.div`
1713
1714
  flex: 1;
1714
1715
  min-width: 0; /* Allows flex child to shrink below content size */
1715
1716
  display: flex;
@@ -1720,24 +1721,24 @@ const wr = ({
1720
1721
  @media (max-width: 768px) {
1721
1722
  display: none; /* We'll add mobile navigation later if needed */
1722
1723
  }
1723
- `, Tr = h.div`
1724
+ `, Rr = h.div`
1724
1725
  padding: 16px;
1725
1726
  border-bottom: 1px solid #e1e5e9;
1726
1727
  background: #f6f8fa;
1727
- `, Rr = h.h4`
1728
+ `, Mr = h.h4`
1728
1729
  margin: 0 0 8px 0;
1729
1730
  font-size: 16px;
1730
1731
  font-weight: 600;
1731
1732
  color: #24292f;
1732
- `, Mr = h.p`
1733
+ `, Ar = h.p`
1733
1734
  margin: 0;
1734
1735
  font-size: 14px;
1735
1736
  color: #656d76;
1736
- `, Ar = h.div`
1737
+ `, Nr = h.div`
1737
1738
  flex: 1;
1738
1739
  padding: 16px;
1739
1740
  overflow-y: auto;
1740
- `, Nr = h.div`
1741
+ `, zr = h.div`
1741
1742
  display: flex;
1742
1743
  flex-direction: column;
1743
1744
  gap: 12px;
@@ -1750,16 +1751,16 @@ const wr = ({
1750
1751
  height: 100%;
1751
1752
  color: #656d76;
1752
1753
  text-align: center;
1753
- `, zr = h.div`
1754
+ `, Fr = h.div`
1754
1755
  margin-top: 16px;
1755
1756
  padding-top: 16px;
1756
1757
  border-top: 1px solid #e1e5e9;
1757
- `, Fr = h.h5`
1758
+ `, Lr = h.h5`
1758
1759
  margin: 0 0 8px 0;
1759
1760
  font-size: 14px;
1760
1761
  font-weight: 600;
1761
1762
  color: #24292f;
1762
- `, Lr = h.div`
1763
+ `, Or = h.div`
1763
1764
  display: grid;
1764
1765
  grid-template-columns: auto 1fr;
1765
1766
  gap: 8px 16px;
@@ -1769,14 +1770,14 @@ const wr = ({
1769
1770
  font-weight: 500;
1770
1771
  `, H = h.div`
1771
1772
  color: #24292f;
1772
- `, Or = ({
1773
+ `, Ir = ({
1773
1774
  className: e,
1774
1775
  showLegacyExtensions: t = !0,
1775
1776
  extensionFilter: n = ""
1776
1777
  }) => {
1777
- const [r, o] = j(
1778
+ const [r, o] = B(
1778
1779
  null
1779
- ), [i, a] = j(n), { filteredExtensionPoints: d, healthStats: f, isLoading: p, error: l } = ir(i, {
1780
+ ), [i, a] = B(n), { filteredExtensionPoints: d, healthStats: f, isLoading: u, error: l } = ar(i, {
1780
1781
  includeLegacyExtensions: t
1781
1782
  }), s = d.find(
1782
1783
  (y) => y.id === r
@@ -1788,11 +1789,11 @@ const wr = ({
1788
1789
  return l ? /* @__PURE__ */ c(Ee, { className: e, children: /* @__PURE__ */ c(de, { children: /* @__PURE__ */ g("div", { children: [
1789
1790
  "Error loading plugins: ",
1790
1791
  l.message
1791
- ] }) }) }) : p ? /* @__PURE__ */ c(Ee, { className: e, children: /* @__PURE__ */ c(de, { children: /* @__PURE__ */ c("div", { children: "Loading plugins..." }) }) }) : /* @__PURE__ */ g(Ee, { className: e, children: [
1792
- /* @__PURE__ */ g($r, { children: [
1793
- /* @__PURE__ */ c(kr, { healthStats: f }),
1792
+ ] }) }) }) : u ? /* @__PURE__ */ c(Ee, { className: e, children: /* @__PURE__ */ c(de, { children: /* @__PURE__ */ c("div", { children: "Loading plugins..." }) }) }) : /* @__PURE__ */ g(Ee, { className: e, children: [
1793
+ /* @__PURE__ */ g(_r, { children: [
1794
+ /* @__PURE__ */ c($r, { healthStats: f }),
1794
1795
  /* @__PURE__ */ c(
1795
- or,
1796
+ ir,
1796
1797
  {
1797
1798
  extensionPoints: d,
1798
1799
  selectedExtensionId: r,
@@ -1802,13 +1803,13 @@ const wr = ({
1802
1803
  }
1803
1804
  )
1804
1805
  ] }),
1805
- /* @__PURE__ */ c(_r, { children: s ? /* @__PURE__ */ g(B, { children: [
1806
- /* @__PURE__ */ g(Tr, { children: [
1807
- /* @__PURE__ */ c(Rr, { children: s.displayName || s.id }),
1808
- s.description && /* @__PURE__ */ c(Mr, { children: s.description })
1806
+ /* @__PURE__ */ c(Tr, { children: s ? /* @__PURE__ */ g(K, { children: [
1807
+ /* @__PURE__ */ g(Rr, { children: [
1808
+ /* @__PURE__ */ c(Mr, { children: s.displayName || s.id }),
1809
+ s.description && /* @__PURE__ */ c(Ar, { children: s.description })
1809
1810
  ] }),
1810
- /* @__PURE__ */ g(Ar, { children: [
1811
- s.plugins.length > 0 ? /* @__PURE__ */ g(B, { children: [
1811
+ /* @__PURE__ */ g(Nr, { children: [
1812
+ s.plugins.length > 0 ? /* @__PURE__ */ g(K, { children: [
1812
1813
  /* @__PURE__ */ g(
1813
1814
  "h5",
1814
1815
  {
@@ -1824,8 +1825,8 @@ const wr = ({
1824
1825
  ]
1825
1826
  }
1826
1827
  ),
1827
- /* @__PURE__ */ c(Nr, { children: s.plugins.map((y) => /* @__PURE__ */ c(
1828
- wr,
1828
+ /* @__PURE__ */ c(zr, { children: s.plugins.map((y) => /* @__PURE__ */ c(
1829
+ Er,
1829
1830
  {
1830
1831
  plugin: y,
1831
1832
  extensionPointId: s.id
@@ -1847,26 +1848,26 @@ const wr = ({
1847
1848
  ),
1848
1849
  /* @__PURE__ */ c("div", { style: { fontSize: "14px" }, children: "This extension point is available but no plugins are currently contributing to it." })
1849
1850
  ] }),
1850
- s.metadata && /* @__PURE__ */ g(zr, { children: [
1851
- /* @__PURE__ */ c(Fr, { children: "Extension Point Details" }),
1852
- /* @__PURE__ */ g(Lr, { children: [
1851
+ s.metadata && /* @__PURE__ */ g(Fr, { children: [
1852
+ /* @__PURE__ */ c(Lr, { children: "Extension Point Details" }),
1853
+ /* @__PURE__ */ g(Or, { children: [
1853
1854
  /* @__PURE__ */ c(W, { children: "ID:" }),
1854
1855
  /* @__PURE__ */ c(H, { children: s.id }),
1855
1856
  /* @__PURE__ */ c(W, { children: "Source:" }),
1856
1857
  /* @__PURE__ */ c(H, { children: s.source }),
1857
- s.metadata.category && /* @__PURE__ */ g(B, { children: [
1858
+ s.metadata.category && /* @__PURE__ */ g(K, { children: [
1858
1859
  /* @__PURE__ */ c(W, { children: "Category:" }),
1859
1860
  /* @__PURE__ */ c(H, { children: s.metadata.category })
1860
1861
  ] }),
1861
- s.metadata.owner && /* @__PURE__ */ g(B, { children: [
1862
+ s.metadata.owner && /* @__PURE__ */ g(K, { children: [
1862
1863
  /* @__PURE__ */ c(W, { children: "Owner:" }),
1863
1864
  /* @__PURE__ */ c(H, { children: s.metadata.owner })
1864
1865
  ] }),
1865
- s.metadata.since && /* @__PURE__ */ g(B, { children: [
1866
+ s.metadata.since && /* @__PURE__ */ g(K, { children: [
1866
1867
  /* @__PURE__ */ c(W, { children: "Since:" }),
1867
1868
  /* @__PURE__ */ c(H, { children: s.metadata.since })
1868
1869
  ] }),
1869
- s.metadata.tags && s.metadata.tags.length > 0 && /* @__PURE__ */ g(B, { children: [
1870
+ s.metadata.tags && s.metadata.tags.length > 0 && /* @__PURE__ */ g(K, { children: [
1870
1871
  /* @__PURE__ */ c(W, { children: "Tags:" }),
1871
1872
  /* @__PURE__ */ c(H, { children: s.metadata.tags.join(", ") })
1872
1873
  ] })
@@ -1885,7 +1886,7 @@ const wr = ({
1885
1886
  /* @__PURE__ */ c("div", { style: { fontSize: "14px" }, children: "Choose an extension point from the sidebar to view its plugins and details." })
1886
1887
  ] }) })
1887
1888
  ] });
1888
- }, Ir = h.div`
1889
+ }, Dr = h.div`
1889
1890
  position: fixed;
1890
1891
  top: 0;
1891
1892
  left: 0;
@@ -1898,7 +1899,7 @@ const wr = ({
1898
1899
  justify-content: center;
1899
1900
  padding: 20px;
1900
1901
  box-sizing: border-box;
1901
- `, Dr = h.div`
1902
+ `, Vr = h.div`
1902
1903
  background: white;
1903
1904
  border-radius: 12px;
1904
1905
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
@@ -1908,19 +1909,19 @@ const wr = ({
1908
1909
  position: relative;
1909
1910
  display: flex;
1910
1911
  flex-direction: column;
1911
- `, Vr = h.div`
1912
+ `, jr = h.div`
1912
1913
  display: flex;
1913
1914
  align-items: center;
1914
1915
  justify-content: space-between;
1915
1916
  padding: 16px 20px;
1916
1917
  border-bottom: 1px solid #e1e5e9;
1917
1918
  background: #f6f8fa;
1918
- `, jr = h.h3`
1919
+ `, Br = h.h3`
1919
1920
  margin: 0;
1920
1921
  font-size: 18px;
1921
1922
  font-weight: 600;
1922
1923
  color: #24292f;
1923
- `, Yr = h.button`
1924
+ `, Kr = h.button`
1924
1925
  background: none;
1925
1926
  border: none;
1926
1927
  font-size: 20px;
@@ -1933,7 +1934,7 @@ const wr = ({
1933
1934
  background: #f0f0f0;
1934
1935
  color: #24292f;
1935
1936
  }
1936
- `, Br = h.button`
1937
+ `, Yr = h.button`
1937
1938
  position: fixed;
1938
1939
  ${(e) => {
1939
1940
  switch (e.position) {
@@ -1974,31 +1975,31 @@ const wr = ({
1974
1975
  &:active {
1975
1976
  transform: scale(0.95);
1976
1977
  }
1977
- `, Kr = h.div`
1978
+ `, Wr = h.div`
1978
1979
  font-size: 12px;
1979
1980
  color: #656d76;
1980
1981
  margin-left: 8px;
1981
- `, Xr = ({
1982
+ `, eo = ({
1982
1983
  keyboardShortcut: e = "ctrl+shift+p",
1983
1984
  showToggleButton: t = !0,
1984
1985
  toggleButtonPosition: n = "bottom-right",
1985
1986
  ...r
1986
1987
  }) => {
1987
- const [o, i] = j(!1);
1988
- ee(() => {
1989
- const f = (p) => {
1988
+ const [o, i] = B(!1);
1989
+ te(() => {
1990
+ const f = (u) => {
1990
1991
  const s = e.toLowerCase().split("+").map((y) => y.trim());
1991
1992
  let x = !0;
1992
- s.includes("ctrl") && !p.ctrlKey && (x = !1), s.includes("shift") && !p.shiftKey && (x = !1), s.includes("alt") && !p.altKey && (x = !1), s.includes("meta") && !p.metaKey && (x = !1);
1993
+ s.includes("ctrl") && !u.ctrlKey && (x = !1), s.includes("shift") && !u.shiftKey && (x = !1), s.includes("alt") && !u.altKey && (x = !1), s.includes("meta") && !u.metaKey && (x = !1);
1993
1994
  const b = s.find(
1994
1995
  (y) => !["ctrl", "shift", "alt", "meta"].includes(y)
1995
1996
  );
1996
- b && p.key.toLowerCase() !== b.toLowerCase() && (x = !1), x && (p.preventDefault(), i((y) => !y));
1997
+ b && u.key.toLowerCase() !== b.toLowerCase() && (x = !1), x && (u.preventDefault(), i((y) => !y));
1997
1998
  };
1998
1999
  return document.addEventListener("keydown", f), () => document.removeEventListener("keydown", f);
1999
- }, [e]), ee(() => {
2000
- const f = (p) => {
2001
- p.key === "Escape" && o && i(!1);
2000
+ }, [e]), te(() => {
2001
+ const f = (u) => {
2002
+ u.key === "Escape" && o && i(!1);
2002
2003
  };
2003
2004
  return document.addEventListener("keydown", f), () => document.removeEventListener("keydown", f);
2004
2005
  }, [o]);
@@ -2007,9 +2008,9 @@ const wr = ({
2007
2008
  }, d = (f) => {
2008
2009
  f.target === f.currentTarget && i(!1);
2009
2010
  };
2010
- return process.env.NODE_ENV !== "development" ? null : /* @__PURE__ */ g(B, { children: [
2011
+ return process.env.NODE_ENV !== "development" ? null : /* @__PURE__ */ g(K, { children: [
2011
2012
  t && /* @__PURE__ */ c(
2012
- Br,
2013
+ Yr,
2013
2014
  {
2014
2015
  position: n,
2015
2016
  onClick: a,
@@ -2047,24 +2048,24 @@ const wr = ({
2047
2048
  )
2048
2049
  }
2049
2050
  ),
2050
- /* @__PURE__ */ c(Ir, { visible: o, onClick: d, children: /* @__PURE__ */ g(Dr, { children: [
2051
- /* @__PURE__ */ g(Vr, { children: [
2051
+ /* @__PURE__ */ c(Dr, { visible: o, onClick: d, children: /* @__PURE__ */ g(Vr, { children: [
2052
+ /* @__PURE__ */ g(jr, { children: [
2052
2053
  /* @__PURE__ */ g("div", { style: { display: "flex", alignItems: "center" }, children: [
2053
- /* @__PURE__ */ c(jr, { children: "KOS Plugin Explorer" }),
2054
- /* @__PURE__ */ g(Kr, { children: [
2054
+ /* @__PURE__ */ c(Br, { children: "KOS Plugin Explorer" }),
2055
+ /* @__PURE__ */ g(Wr, { children: [
2055
2056
  e,
2056
2057
  " to toggle"
2057
2058
  ] })
2058
2059
  ] }),
2059
- /* @__PURE__ */ c(Yr, { onClick: () => i(!1), "aria-label": "Close", children: "×" })
2060
+ /* @__PURE__ */ c(Kr, { onClick: () => i(!1), "aria-label": "Close", children: "×" })
2060
2061
  ] }),
2061
- /* @__PURE__ */ c(Or, { ...r })
2062
+ /* @__PURE__ */ c(Ir, { ...r })
2062
2063
  ] }) })
2063
2064
  ] });
2064
2065
  };
2065
- function se(e) {
2066
- const { extensions: t, getExtensions: n } = ae();
2067
- return Y(() => {
2066
+ function Z(e) {
2067
+ const { extensions: t, getExtensions: n } = se();
2068
+ return j(() => {
2068
2069
  if (typeof e == "object" && e.id) {
2069
2070
  const o = e;
2070
2071
  if (o.getExtensions && t) {
@@ -2072,14 +2073,16 @@ function se(e) {
2072
2073
  return Object.values(a);
2073
2074
  }
2074
2075
  const i = (t == null ? void 0 : t[o.id]) || {};
2075
- return Object.values(i);
2076
+ return Object.values(
2077
+ i
2078
+ );
2076
2079
  }
2077
2080
  return n(e);
2078
2081
  }, [e, t, n]);
2079
2082
  }
2080
- function Jr(e, t) {
2081
- const { extensions: n } = ae(), r = se(e);
2082
- return Y(() => {
2083
+ function to(e, t) {
2084
+ const { extensions: n } = se(), r = Z(e);
2085
+ return j(() => {
2083
2086
  if (!r || r.length === 0)
2084
2087
  return null;
2085
2088
  if (t != null && t.customRanker)
@@ -2087,49 +2090,49 @@ function Jr(e, t) {
2087
2090
  if (typeof e == "object" && t) {
2088
2091
  let d = r;
2089
2092
  if (t.propertyMatches && (d = d.filter(
2090
- (p) => Object.entries(t.propertyMatches).every(
2093
+ (u) => Object.entries(t.propertyMatches).every(
2091
2094
  ([l, s]) => {
2092
2095
  var x;
2093
- return ((x = p.data) == null ? void 0 : x[l]) === s;
2096
+ return ((x = u.data) == null ? void 0 : x[l]) === s;
2094
2097
  }
2095
2098
  )
2096
2099
  )), t.preferredModule) {
2097
- const p = d.find(
2100
+ const u = d.find(
2098
2101
  (l) => l.sectionId === t.preferredModule
2099
2102
  );
2100
- if (p)
2101
- return p;
2103
+ if (u)
2104
+ return u;
2102
2105
  }
2103
- const f = d.reduce((p, l) => (p[l.id] = l, p), {});
2106
+ const f = d.reduce((u, l) => (u[l.id] = l, u), {});
2104
2107
  return Se(f);
2105
2108
  }
2106
2109
  const o = typeof e == "string" ? e : e.id, i = (n == null ? void 0 : n[o]) || {};
2107
2110
  return Se(i, t == null ? void 0 : t.preferredModule);
2108
2111
  }, [e, r, n, t]);
2109
2112
  }
2110
- function Qr(e) {
2111
- return se(e).length > 0;
2113
+ function no(e) {
2114
+ return Z(e).length > 0;
2112
2115
  }
2113
- function eo(e) {
2114
- return se(e).length;
2116
+ function ro(e) {
2117
+ return Z(e).length;
2115
2118
  }
2116
- function to(e, t) {
2117
- const n = se(e);
2118
- return Y(() => {
2119
+ function oo(e, t) {
2120
+ const n = Z(e);
2121
+ return j(() => {
2119
2122
  let r = n.filter(t.filter);
2120
2123
  return t.sort && (r = r.sort(t.sort)), r;
2121
2124
  }, [n, t.filter, t.sort]);
2122
2125
  }
2123
- function no(e, t) {
2124
- const n = se(e), [r, o] = j(/* @__PURE__ */ new Map()), i = Y(
2126
+ function io(e, t) {
2127
+ const n = Z(e), [r, o] = B(/* @__PURE__ */ new Map()), i = j(
2125
2128
  () => t != null && t.filter ? n.filter(t.filter) : n,
2126
2129
  [n, t == null ? void 0 : t.filter]
2127
2130
  ), a = (t == null ? void 0 : t.moduleProperty) || "module";
2128
- return ee(() => {
2131
+ return te(() => {
2129
2132
  (async () => {
2130
2133
  var f;
2131
- for (const p of i) {
2132
- const l = p.id;
2134
+ for (const u of i) {
2135
+ const l = u.id;
2133
2136
  if (!r.has(l)) {
2134
2137
  o(
2135
2138
  (s) => new Map(s).set(l, {
@@ -2139,10 +2142,10 @@ function no(e, t) {
2139
2142
  })
2140
2143
  );
2141
2144
  try {
2142
- const s = ((f = p.data) == null ? void 0 : f[a]) || p[a] || `./${p.id}`, x = p.remote;
2145
+ const s = ((f = u.data) == null ? void 0 : f[a]) || u[a] || `./${u.id}`, x = u.remote;
2143
2146
  if (!x)
2144
2147
  throw new Error(`No remote specified for extension ${l}`);
2145
- const { loadRemoteModule: b } = await import("./documentation-generator-DZ1-wZzF.js").then((E) => E.i), y = await b(x, s);
2148
+ const { loadRemoteModule: b } = await import("./documentation-generator-auruIa_o.js").then((E) => E.i), y = await b(x, s);
2146
2149
  o(
2147
2150
  (E) => new Map(E).set(l, {
2148
2151
  module: y,
@@ -2163,7 +2166,7 @@ function no(e, t) {
2163
2166
  }
2164
2167
  }
2165
2168
  })();
2166
- }, [i, a, r]), Y(
2169
+ }, [i, a, r]), j(
2167
2170
  () => i.map((d) => {
2168
2171
  const f = r.get(d.id) || {
2169
2172
  module: null,
@@ -2180,13 +2183,13 @@ function no(e, t) {
2180
2183
  [i, r]
2181
2184
  );
2182
2185
  }
2183
- function ro(e) {
2184
- return K.useMemo(() => {
2186
+ function ao(e) {
2187
+ return Y.useMemo(() => {
2185
2188
  if (!e.config.hasView)
2186
2189
  return null;
2187
2190
  const t = (n) => {
2188
2191
  const { module: r, fallback: o, ...i } = n;
2189
- return K.createElement(ze, {
2192
+ return Y.createElement(ze, {
2190
2193
  extension: e.id,
2191
2194
  module: r,
2192
2195
  fallback: o,
@@ -2196,12 +2199,12 @@ function ro(e) {
2196
2199
  return t.displayName = `${e.config.displayName || e.id}.Component`, t;
2197
2200
  }, [e]);
2198
2201
  }
2199
- function oo(e) {
2202
+ function so(e) {
2200
2203
  if (!e.config.hasView)
2201
2204
  return null;
2202
2205
  const t = (n) => {
2203
2206
  const { module: r, fallback: o, ...i } = n;
2204
- return K.createElement(ze, {
2207
+ return Y.createElement(ze, {
2205
2208
  extension: e.id,
2206
2209
  module: r,
2207
2210
  fallback: o,
@@ -2210,8 +2213,8 @@ function oo(e) {
2210
2213
  };
2211
2214
  return t.displayName = `${e.config.displayName || e.id}.Component`, t;
2212
2215
  }
2213
- function io(e) {
2214
- return K.useMemo(() => {
2216
+ function Hr(e) {
2217
+ return Y.useMemo(() => {
2215
2218
  const n = Te().getExtensionPoint(e);
2216
2219
  if (!n)
2217
2220
  return console.warn(`Extension point not found: ${e}`), null;
@@ -2219,7 +2222,7 @@ function io(e) {
2219
2222
  return null;
2220
2223
  const r = (o) => {
2221
2224
  const { module: i, fallback: a, ...d } = o;
2222
- return K.createElement(ze, {
2225
+ return Y.createElement(ze, {
2223
2226
  extension: e,
2224
2227
  module: i,
2225
2228
  fallback: a,
@@ -2229,28 +2232,45 @@ function io(e) {
2229
2232
  return r.displayName = `${n.config.displayName || e}.Component`, r;
2230
2233
  }, [e]);
2231
2234
  }
2235
+ function co(e, t) {
2236
+ const n = Z(e), r = Hr(e), o = (t == null ? void 0 : t.namespaceProperty) || "namespace", i = j(() => {
2237
+ const f = n.map((u) => {
2238
+ var l;
2239
+ return (l = u.data) == null ? void 0 : l[o];
2240
+ }).filter(Boolean);
2241
+ return Array.from(new Set(f));
2242
+ }, [n, o]), { t: a, i18n: d } = Wt(i);
2243
+ return {
2244
+ extensions: n,
2245
+ t: a,
2246
+ i18n: d,
2247
+ Component: r,
2248
+ namespaces: i
2249
+ };
2250
+ }
2232
2251
  export {
2233
2252
  ze as DynamicComponent,
2234
- or as ExtensionPointList,
2235
- Xr as FloatingPluginExplorer,
2236
- qr as KosPluginProvider,
2237
- wr as PluginCard,
2238
- Or as PluginExplorer,
2239
- kr as PluginHealthDashboard,
2253
+ ir as ExtensionPointList,
2254
+ eo as FloatingPluginExplorer,
2255
+ Jr as KosPluginProvider,
2256
+ Er as PluginCard,
2257
+ Ir as PluginExplorer,
2258
+ $r as PluginHealthDashboard,
2240
2259
  pt as RemotesContext,
2241
- oo as createExtensionComponent,
2242
- Jr as useBest,
2243
- Wn as useDynamicComponent,
2244
- ro as useExtensionComponent,
2245
- io as useExtensionComponentById,
2246
- eo as useExtensionCount,
2247
- Zr as useExtensionPoint,
2248
- se as useExtensions,
2249
- ir as useFilteredExtensionPoints,
2250
- to as useFilteredExtensions,
2251
- Qr as useHasExtensions,
2252
- ae as useKosPluginsContext,
2253
- no as useModules,
2260
+ so as createExtensionComponent,
2261
+ to as useBest,
2262
+ Hn as useDynamicComponent,
2263
+ ao as useExtensionComponent,
2264
+ Hr as useExtensionComponentById,
2265
+ ro as useExtensionCount,
2266
+ co as useExtensionI18n,
2267
+ Qr as useExtensionPoint,
2268
+ Z as useExtensions,
2269
+ ar as useFilteredExtensionPoints,
2270
+ oo as useFilteredExtensions,
2271
+ no as useHasExtensions,
2272
+ se as useKosPluginsContext,
2273
+ io as useModules,
2254
2274
  ht as usePluginDiscovery
2255
2275
  };
2256
2276
  //# sourceMappingURL=index.js.map