@kosdev-code/kos-ui-plugin 2.1.19 → 2.1.20

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,9 +1,9 @@
1
1
  import * as te from "react/jsx-runtime";
2
2
  import * as j from "react";
3
- import Y, { forwardRef as Vt, useContext as Re, createContext as Je, useState as B, useEffect as W, useMemo as O, Suspense as jt } from "react";
3
+ import Y, { forwardRef as Vt, useContext as Re, createContext as Je, useState as B, useEffect as W, useMemo as L, Suspense as jt } from "react";
4
4
  import h from "@emotion/styled";
5
5
  import { r as ne, m as Bt, R as Kt, a as Yt, b as Wt, P as re, g as Ht, c as _e, D as Ut } from "./documentation-generator-Di4c9D9P.js";
6
- import { C as go, f as xo, h as yo, e as bo, d as vo, l as Eo } from "./documentation-generator-Di4c9D9P.js";
6
+ import { C as mi, f as gi, h as xi, e as yi, d as bi, l as vi } from "./documentation-generator-Di4c9D9P.js";
7
7
  import { useKosTranslation as Gt } from "@kosdev-code/kos-ui-sdk";
8
8
  import "zod";
9
9
  function qt(e) {
@@ -20,9 +20,9 @@ function Zt(e) {
20
20
  var Xt = /* @__PURE__ */ function() {
21
21
  function e(n) {
22
22
  var r = this;
23
- this._insertTag = function(o) {
24
- var i;
25
- r.tags.length === 0 ? r.insertionPoint ? i = r.insertionPoint.nextSibling : r.prepend ? i = r.container.firstChild : i = r.before : i = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(o, i), r.tags.push(o);
23
+ this._insertTag = function(i) {
24
+ var o;
25
+ r.tags.length === 0 ? r.insertionPoint ? o = r.insertionPoint.nextSibling : r.prepend ? o = r.container.firstChild : o = r.before : o = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(i, o), r.tags.push(i);
26
26
  }, this.isSpeedy = n.speedy === void 0 ? !0 : n.speedy, this.tags = [], this.ctr = 0, this.nonce = n.nonce, this.key = n.key, this.container = n.container, this.prepend = n.prepend, this.insertionPoint = n.insertionPoint, this.before = null;
27
27
  }
28
28
  var t = e.prototype;
@@ -30,20 +30,20 @@ var Xt = /* @__PURE__ */ function() {
30
30
  r.forEach(this._insertTag);
31
31
  }, t.insert = function(r) {
32
32
  this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Zt(this));
33
- var o = this.tags[this.tags.length - 1];
33
+ var i = this.tags[this.tags.length - 1];
34
34
  if (this.isSpeedy) {
35
- var i = qt(o);
35
+ var o = qt(i);
36
36
  try {
37
- i.insertRule(r, i.cssRules.length);
37
+ o.insertRule(r, o.cssRules.length);
38
38
  } catch {
39
39
  }
40
40
  } else
41
- o.appendChild(document.createTextNode(r));
41
+ i.appendChild(document.createTextNode(r));
42
42
  this.ctr++;
43
43
  }, t.flush = function() {
44
44
  this.tags.forEach(function(r) {
45
- var o;
46
- return (o = r.parentNode) == null ? void 0 : o.removeChild(r);
45
+ var i;
46
+ return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
47
47
  }), this.tags = [], this.ctr = 0;
48
48
  }, e;
49
49
  }(), z = "-ms-", he = "-moz-", E = "-webkit-", Qe = "comm", Te = "rule", Me = "decl", Jt = "@import", et = "@keyframes", Qt = "@layer", en = Math.abs, me = String.fromCharCode, tn = Object.assign;
@@ -65,7 +65,7 @@ function Ce(e, t) {
65
65
  function A(e, t) {
66
66
  return e.charCodeAt(t) | 0;
67
67
  }
68
- function oe(e, t, n) {
68
+ function ie(e, t, n) {
69
69
  return e.slice(t, n);
70
70
  }
71
71
  function D(e) {
@@ -80,9 +80,9 @@ function le(e, t) {
80
80
  function on(e, t) {
81
81
  return e.map(t).join("");
82
82
  }
83
- var ge = 1, q = 1, nt = 0, F = 0, T = 0, Z = "";
84
- function xe(e, t, n, r, o, i, s) {
85
- return { value: e, root: t, parent: n, type: r, props: o, children: i, line: ge, column: q, length: s, return: "" };
83
+ var ge = 1, q = 1, nt = 0, O = 0, T = 0, Z = "";
84
+ function xe(e, t, n, r, i, o, s) {
85
+ return { value: e, root: t, parent: n, type: r, props: i, children: o, line: ge, column: q, length: s, return: "" };
86
86
  }
87
87
  function J(e, t) {
88
88
  return tn(xe("", null, null, "", null, null, 0), e, { length: -e.length }, t);
@@ -91,21 +91,21 @@ function sn() {
91
91
  return T;
92
92
  }
93
93
  function an() {
94
- return T = F > 0 ? A(Z, --F) : 0, q--, T === 10 && (q = 1, ge--), T;
94
+ return T = O > 0 ? A(Z, --O) : 0, q--, T === 10 && (q = 1, ge--), T;
95
95
  }
96
- function L() {
97
- return T = F < nt ? A(Z, F++) : 0, q++, T === 10 && (q = 1, ge++), T;
96
+ function F() {
97
+ return T = O < nt ? A(Z, O++) : 0, q++, T === 10 && (q = 1, ge++), T;
98
98
  }
99
99
  function V() {
100
- return A(Z, F);
100
+ return A(Z, O);
101
101
  }
102
102
  function fe() {
103
- return F;
103
+ return O;
104
104
  }
105
105
  function ae(e, t) {
106
- return oe(Z, e, t);
106
+ return ie(Z, e, t);
107
107
  }
108
- function ie(e) {
108
+ function oe(e) {
109
109
  switch (e) {
110
110
  case 0:
111
111
  case 9:
@@ -138,29 +138,29 @@ function ie(e) {
138
138
  return 0;
139
139
  }
140
140
  function rt(e) {
141
- return ge = q = 1, nt = D(Z = e), F = 0, [];
141
+ return ge = q = 1, nt = D(Z = e), O = 0, [];
142
142
  }
143
- function ot(e) {
143
+ function it(e) {
144
144
  return Z = "", e;
145
145
  }
146
146
  function ue(e) {
147
- return tt(ae(F - 1, Se(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
147
+ return tt(ae(O - 1, Se(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
148
148
  }
149
149
  function cn(e) {
150
150
  for (; (T = V()) && T < 33; )
151
- L();
152
- return ie(e) > 2 || ie(T) > 3 ? "" : " ";
151
+ F();
152
+ return oe(e) > 2 || oe(T) > 3 ? "" : " ";
153
153
  }
154
154
  function ln(e, t) {
155
- for (; --t && L() && !(T < 48 || T > 102 || T > 57 && T < 65 || T > 70 && T < 97); )
155
+ for (; --t && F() && !(T < 48 || T > 102 || T > 57 && T < 65 || T > 70 && T < 97); )
156
156
  ;
157
- return ae(e, fe() + (t < 6 && V() == 32 && L() == 32));
157
+ return ae(e, fe() + (t < 6 && V() == 32 && F() == 32));
158
158
  }
159
159
  function Se(e) {
160
- for (; L(); )
160
+ for (; F(); )
161
161
  switch (T) {
162
162
  case e:
163
- return F;
163
+ return O;
164
164
  case 34:
165
165
  case 39:
166
166
  e !== 34 && e !== 39 && Se(T);
@@ -169,30 +169,30 @@ function Se(e) {
169
169
  e === 41 && Se(e);
170
170
  break;
171
171
  case 92:
172
- L();
172
+ F();
173
173
  break;
174
174
  }
175
- return F;
175
+ return O;
176
176
  }
177
177
  function dn(e, t) {
178
- for (; L() && e + T !== 57; )
178
+ for (; F() && e + T !== 57; )
179
179
  if (e + T === 84 && V() === 47)
180
180
  break;
181
- return "/*" + ae(t, F - 1) + "*" + me(e === 47 ? e : L());
181
+ return "/*" + ae(t, O - 1) + "*" + me(e === 47 ? e : F());
182
182
  }
183
183
  function fn(e) {
184
- for (; !ie(V()); )
185
- L();
186
- return ae(e, F);
184
+ for (; !oe(V()); )
185
+ F();
186
+ return ae(e, O);
187
187
  }
188
188
  function un(e) {
189
- return ot(pe("", null, null, null, [""], e = rt(e), 0, [0], e));
189
+ return it(pe("", null, null, null, [""], e = rt(e), 0, [0], e));
190
190
  }
191
- function pe(e, t, n, r, o, i, s, c, f) {
192
- for (var u = 0, d = 0, a = s, x = 0, b = 0, y = 0, v = 1, M = 1, $ = 1, _ = 0, k = "", R = o, p = i, N = r, P = k; M; )
193
- switch (y = _, _ = L()) {
191
+ function pe(e, t, n, r, i, o, s, a, f) {
192
+ for (var u = 0, d = 0, c = s, x = 0, b = 0, y = 0, v = 1, M = 1, $ = 1, _ = 0, k = "", R = i, p = o, N = r, P = k; M; )
193
+ switch (y = _, _ = F()) {
194
194
  case 40:
195
- if (y != 108 && A(P, a - 1) == 58) {
195
+ if (y != 108 && A(P, c - 1) == 58) {
196
196
  Ce(P += w(ue(_), "&", "&\f"), "&\f") != -1 && ($ = -1);
197
197
  break;
198
198
  }
@@ -214,14 +214,14 @@ function pe(e, t, n, r, o, i, s, c, f) {
214
214
  switch (V()) {
215
215
  case 42:
216
216
  case 47:
217
- le(pn(dn(L(), fe()), t, n), f);
217
+ le(pn(dn(F(), fe()), t, n), f);
218
218
  break;
219
219
  default:
220
220
  P += "/";
221
221
  }
222
222
  break;
223
223
  case 123 * v:
224
- c[u++] = D(P) * $;
224
+ a[u++] = D(P) * $;
225
225
  case 125 * v:
226
226
  case 59:
227
227
  case 0:
@@ -230,30 +230,30 @@ function pe(e, t, n, r, o, i, s, c, f) {
230
230
  case 125:
231
231
  M = 0;
232
232
  case 59 + d:
233
- $ == -1 && (P = w(P, /\f/g, "")), b > 0 && D(P) - a && le(b > 32 ? Ve(P + ";", r, n, a - 1) : Ve(w(P, " ", "") + ";", r, n, a - 2), f);
233
+ $ == -1 && (P = w(P, /\f/g, "")), b > 0 && D(P) - c && le(b > 32 ? Ve(P + ";", r, n, c - 1) : Ve(w(P, " ", "") + ";", r, n, c - 2), f);
234
234
  break;
235
235
  case 59:
236
236
  P += ";";
237
237
  default:
238
- if (le(N = Ie(P, t, n, u, d, o, c, k, R = [], p = [], a), i), _ === 123)
238
+ if (le(N = Ie(P, t, n, u, d, i, a, k, R = [], p = [], c), o), _ === 123)
239
239
  if (d === 0)
240
- pe(P, t, N, N, R, i, a, c, p);
240
+ pe(P, t, N, N, R, o, c, a, p);
241
241
  else
242
242
  switch (x === 99 && A(P, 3) === 110 ? 100 : x) {
243
243
  case 100:
244
244
  case 108:
245
245
  case 109:
246
246
  case 115:
247
- pe(e, N, N, r && le(Ie(e, N, N, 0, 0, o, c, k, o, R = [], a), p), o, p, a, c, r ? R : p);
247
+ pe(e, N, N, r && le(Ie(e, N, N, 0, 0, i, a, k, i, R = [], c), p), i, p, c, a, r ? R : p);
248
248
  break;
249
249
  default:
250
- pe(P, N, N, N, [""], p, 0, c, p);
250
+ pe(P, N, N, N, [""], p, 0, a, p);
251
251
  }
252
252
  }
253
- u = d = b = 0, v = $ = 1, k = P = "", a = s;
253
+ u = d = b = 0, v = $ = 1, k = P = "", c = s;
254
254
  break;
255
255
  case 58:
256
- a = 1 + D(P), b = y;
256
+ c = 1 + D(P), b = y;
257
257
  default:
258
258
  if (v < 1) {
259
259
  if (_ == 123)
@@ -266,32 +266,32 @@ function pe(e, t, n, r, o, i, s, c, f) {
266
266
  $ = d > 0 ? 1 : (P += "\f", -1);
267
267
  break;
268
268
  case 44:
269
- c[u++] = (D(P) - 1) * $, $ = 1;
269
+ a[u++] = (D(P) - 1) * $, $ = 1;
270
270
  break;
271
271
  case 64:
272
- V() === 45 && (P += ue(L())), x = V(), d = a = D(k = P += fn(fe())), _++;
272
+ V() === 45 && (P += ue(F())), x = V(), d = c = D(k = P += fn(fe())), _++;
273
273
  break;
274
274
  case 45:
275
275
  y === 45 && D(P) == 2 && (v = 0);
276
276
  }
277
277
  }
278
- return i;
278
+ return o;
279
279
  }
280
- function Ie(e, t, n, r, o, i, s, c, f, u, d) {
281
- for (var a = o - 1, x = o === 0 ? i : [""], b = Ae(x), y = 0, v = 0, M = 0; y < r; ++y)
282
- for (var $ = 0, _ = oe(e, a + 1, a = en(v = s[y])), k = e; $ < b; ++$)
280
+ function Ie(e, t, n, r, i, o, s, a, f, u, d) {
281
+ for (var c = i - 1, x = i === 0 ? o : [""], b = Ae(x), y = 0, v = 0, M = 0; y < r; ++y)
282
+ for (var $ = 0, _ = ie(e, c + 1, c = en(v = s[y])), k = e; $ < b; ++$)
283
283
  (k = tt(v > 0 ? x[$] + " " + _ : w(_, /&\f/g, x[$]))) && (f[M++] = k);
284
- return xe(e, t, n, o === 0 ? Te : c, f, u, d);
284
+ return xe(e, t, n, i === 0 ? Te : a, f, u, d);
285
285
  }
286
286
  function pn(e, t, n) {
287
- return xe(e, t, n, Qe, me(sn()), oe(e, 2, -2), 0);
287
+ return xe(e, t, n, Qe, me(sn()), ie(e, 2, -2), 0);
288
288
  }
289
289
  function Ve(e, t, n, r) {
290
- return xe(e, t, n, Me, oe(e, 0, r), oe(e, r + 1, -1), r);
290
+ return xe(e, t, n, Me, ie(e, 0, r), ie(e, r + 1, -1), r);
291
291
  }
292
292
  function G(e, t) {
293
- for (var n = "", r = Ae(e), o = 0; o < r; o++)
294
- n += t(e[o], o, e, t) || "";
293
+ for (var n = "", r = Ae(e), i = 0; i < r; i++)
294
+ n += t(e[i], i, e, t) || "";
295
295
  return n;
296
296
  }
297
297
  function hn(e, t, n, r) {
@@ -313,9 +313,9 @@ function hn(e, t, n, r) {
313
313
  }
314
314
  function mn(e) {
315
315
  var t = Ae(e);
316
- return function(n, r, o, i) {
317
- for (var s = "", c = 0; c < t; c++)
318
- s += e[c](n, r, o, i) || "";
316
+ return function(n, r, i, o) {
317
+ for (var s = "", a = 0; a < t; a++)
318
+ s += e[a](n, r, i, o) || "";
319
319
  return s;
320
320
  };
321
321
  }
@@ -325,43 +325,43 @@ function gn(e) {
325
325
  };
326
326
  }
327
327
  var xn = function(t, n, r) {
328
- for (var o = 0, i = 0; o = i, i = V(), o === 38 && i === 12 && (n[r] = 1), !ie(i); )
329
- L();
330
- return ae(t, F);
328
+ for (var i = 0, o = 0; i = o, o = V(), i === 38 && o === 12 && (n[r] = 1), !oe(o); )
329
+ F();
330
+ return ae(t, O);
331
331
  }, yn = function(t, n) {
332
- var r = -1, o = 44;
332
+ var r = -1, i = 44;
333
333
  do
334
- switch (ie(o)) {
334
+ switch (oe(i)) {
335
335
  case 0:
336
- o === 38 && V() === 12 && (n[r] = 1), t[r] += xn(F - 1, n, r);
336
+ i === 38 && V() === 12 && (n[r] = 1), t[r] += xn(O - 1, n, r);
337
337
  break;
338
338
  case 2:
339
- t[r] += ue(o);
339
+ t[r] += ue(i);
340
340
  break;
341
341
  case 4:
342
- if (o === 44) {
342
+ if (i === 44) {
343
343
  t[++r] = V() === 58 ? "&\f" : "", n[r] = t[r].length;
344
344
  break;
345
345
  }
346
346
  default:
347
- t[r] += me(o);
347
+ t[r] += me(i);
348
348
  }
349
- while (o = L());
349
+ while (i = F());
350
350
  return t;
351
351
  }, bn = function(t, n) {
352
- return ot(yn(rt(t), n));
352
+ return it(yn(rt(t), n));
353
353
  }, je = /* @__PURE__ */ new WeakMap(), vn = function(t) {
354
354
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
355
355
  // negative .length indicates that this rule has been already prefixed
356
356
  t.length < 1)) {
357
- for (var n = t.value, r = t.parent, o = t.column === r.column && t.line === r.line; r.type !== "rule"; )
357
+ for (var n = t.value, r = t.parent, i = t.column === r.column && t.line === r.line; r.type !== "rule"; )
358
358
  if (r = r.parent, !r)
359
359
  return;
360
- if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !je.get(r)) && !o) {
360
+ if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !je.get(r)) && !i) {
361
361
  je.set(t, !0);
362
- for (var i = [], s = bn(n, i), c = r.props, f = 0, u = 0; f < s.length; f++)
363
- for (var d = 0; d < c.length; d++, u++)
364
- t.props[u] = i[f] ? s[f].replace(/&\f/g, c[d]) : c[d] + " " + s[f];
362
+ for (var o = [], s = bn(n, o), a = r.props, f = 0, u = 0; f < s.length; f++)
363
+ for (var d = 0; d < a.length; d++, u++)
364
+ t.props[u] = o[f] ? s[f].replace(/&\f/g, a[d]) : a[d] + " " + s[f];
365
365
  }
366
366
  }
367
367
  }, En = function(t) {
@@ -372,7 +372,7 @@ var xn = function(t, n, r) {
372
372
  n.charCodeAt(2) === 98 && (t.return = "", t.value = "");
373
373
  }
374
374
  };
375
- function it(e, t) {
375
+ function ot(e, t) {
376
376
  switch (nn(e, t)) {
377
377
  case 5103:
378
378
  return E + "print-" + e + e;
@@ -459,7 +459,7 @@ function it(e, t) {
459
459
  case 102:
460
460
  return w(e, /(.+:)(.+)-([^]+)/, "$1" + E + "$2-$3$1" + he + (A(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
461
461
  case 115:
462
- return ~Ce(e, "stretch") ? it(w(e, "stretch", "fill-available"), t) + e : e;
462
+ return ~Ce(e, "stretch") ? ot(w(e, "stretch", "fill-available"), t) + e : e;
463
463
  }
464
464
  break;
465
465
  case 4949:
@@ -486,33 +486,33 @@ function it(e, t) {
486
486
  }
487
487
  return e;
488
488
  }
489
- var wn = function(t, n, r, o) {
489
+ var wn = function(t, n, r, i) {
490
490
  if (t.length > -1 && !t.return)
491
491
  switch (t.type) {
492
492
  case Me:
493
- t.return = it(t.value, t.length);
493
+ t.return = ot(t.value, t.length);
494
494
  break;
495
495
  case et:
496
496
  return G([J(t, {
497
497
  value: w(t.value, "@", "@" + E)
498
- })], o);
498
+ })], i);
499
499
  case Te:
500
500
  if (t.length)
501
- return on(t.props, function(i) {
502
- switch (rn(i, /(::plac\w+|:read-\w+)/)) {
501
+ return on(t.props, function(o) {
502
+ switch (rn(o, /(::plac\w+|:read-\w+)/)) {
503
503
  case ":read-only":
504
504
  case ":read-write":
505
505
  return G([J(t, {
506
- props: [w(i, /:(read-\w+)/, ":" + he + "$1")]
507
- })], o);
506
+ props: [w(o, /:(read-\w+)/, ":" + he + "$1")]
507
+ })], i);
508
508
  case "::placeholder":
509
509
  return G([J(t, {
510
- props: [w(i, /:(plac\w+)/, ":" + E + "input-$1")]
510
+ props: [w(o, /:(plac\w+)/, ":" + E + "input-$1")]
511
511
  }), J(t, {
512
- props: [w(i, /:(plac\w+)/, ":" + he + "$1")]
512
+ props: [w(o, /:(plac\w+)/, ":" + he + "$1")]
513
513
  }), J(t, {
514
- props: [w(i, /:(plac\w+)/, z + "input-$1")]
515
- })], o);
514
+ props: [w(o, /:(plac\w+)/, z + "input-$1")]
515
+ })], i);
516
516
  }
517
517
  return "";
518
518
  });
@@ -526,22 +526,22 @@ var wn = function(t, n, r, o) {
526
526
  M.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
527
527
  });
528
528
  }
529
- var o = t.stylisPlugins || Cn, i = {}, s, c = [];
529
+ var i = t.stylisPlugins || Cn, o = {}, s, a = [];
530
530
  s = t.container || document.head, Array.prototype.forEach.call(
531
531
  // this means we will ignore elements which don't have a space in them which
532
532
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
533
533
  document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
534
534
  function(v) {
535
535
  for (var M = v.getAttribute("data-emotion").split(" "), $ = 1; $ < M.length; $++)
536
- i[M[$]] = !0;
537
- c.push(v);
536
+ o[M[$]] = !0;
537
+ a.push(v);
538
538
  }
539
539
  );
540
540
  var f, u = [vn, En];
541
541
  {
542
- var d, a = [hn, gn(function(v) {
542
+ var d, c = [hn, gn(function(v) {
543
543
  d.insert(v);
544
- })], x = mn(u.concat(o, a)), b = function(M) {
544
+ })], x = mn(u.concat(i, c)), b = function(M) {
545
545
  return G(un(M), x);
546
546
  };
547
547
  f = function(M, $, _, k) {
@@ -559,11 +559,11 @@ var wn = function(t, n, r, o) {
559
559
  insertionPoint: t.insertionPoint
560
560
  }),
561
561
  nonce: t.nonce,
562
- inserted: i,
562
+ inserted: o,
563
563
  registered: {},
564
564
  insert: f
565
565
  };
566
- return y.sheet.hydrate(c), y;
566
+ return y.sheet.hydrate(a), y;
567
567
  }, Pe = { exports: {} }, C = {};
568
568
  /** @license React v16.13.1
569
569
  * react-is.production.min.js
@@ -578,7 +578,7 @@ function Pn() {
578
578
  if (Be)
579
579
  return C;
580
580
  Be = 1;
581
- 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, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, a = 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, v = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
581
+ 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, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, c = 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, v = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
582
582
  function k(p) {
583
583
  if (typeof p == "object" && p !== null) {
584
584
  var N = p.$$typeof;
@@ -588,13 +588,13 @@ function Pn() {
588
588
  case f:
589
589
  case u:
590
590
  case r:
591
- case i:
592
591
  case o:
593
- case a:
592
+ case i:
593
+ case c:
594
594
  return p;
595
595
  default:
596
596
  switch (p = p && p.$$typeof, p) {
597
- case c:
597
+ case a:
598
598
  case d:
599
599
  case y:
600
600
  case b:
@@ -612,10 +612,10 @@ function Pn() {
612
612
  function R(p) {
613
613
  return k(p) === u;
614
614
  }
615
- return C.AsyncMode = f, C.ConcurrentMode = u, C.ContextConsumer = c, C.ContextProvider = s, C.Element = t, C.ForwardRef = d, C.Fragment = r, C.Lazy = y, C.Memo = b, C.Portal = n, C.Profiler = i, C.StrictMode = o, C.Suspense = a, C.isAsyncMode = function(p) {
615
+ return C.AsyncMode = f, C.ConcurrentMode = u, C.ContextConsumer = a, C.ContextProvider = s, C.Element = t, C.ForwardRef = d, C.Fragment = r, C.Lazy = y, C.Memo = b, C.Portal = n, C.Profiler = o, C.StrictMode = i, C.Suspense = c, C.isAsyncMode = function(p) {
616
616
  return R(p) || k(p) === f;
617
617
  }, C.isConcurrentMode = R, C.isContextConsumer = function(p) {
618
- return k(p) === c;
618
+ return k(p) === a;
619
619
  }, C.isContextProvider = function(p) {
620
620
  return k(p) === s;
621
621
  }, C.isElement = function(p) {
@@ -631,13 +631,13 @@ function Pn() {
631
631
  }, C.isPortal = function(p) {
632
632
  return k(p) === n;
633
633
  }, C.isProfiler = function(p) {
634
- return k(p) === i;
635
- }, C.isStrictMode = function(p) {
636
634
  return k(p) === o;
635
+ }, C.isStrictMode = function(p) {
636
+ return k(p) === i;
637
637
  }, C.isSuspense = function(p) {
638
- return k(p) === a;
638
+ return k(p) === c;
639
639
  }, C.isValidElementType = function(p) {
640
- return typeof p == "string" || typeof p == "function" || p === r || p === u || p === i || p === o || p === a || p === x || typeof p == "object" && p !== null && (p.$$typeof === y || p.$$typeof === b || p.$$typeof === s || p.$$typeof === c || p.$$typeof === d || p.$$typeof === M || p.$$typeof === $ || p.$$typeof === _ || p.$$typeof === v);
640
+ return typeof p == "string" || typeof p == "function" || p === r || p === u || p === o || p === i || p === c || p === x || typeof p == "object" && p !== null && (p.$$typeof === y || p.$$typeof === b || p.$$typeof === s || p.$$typeof === a || p.$$typeof === d || p.$$typeof === M || p.$$typeof === $ || p.$$typeof === _ || p.$$typeof === v);
641
641
  }, C.typeOf = k, C;
642
642
  }
643
643
  var S = {};
@@ -652,10 +652,10 @@ var S = {};
652
652
  var Ke;
653
653
  function kn() {
654
654
  return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
655
- 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, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, a = 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, v = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
655
+ 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, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, c = 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, v = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
656
656
  function k(m) {
657
657
  return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
658
- m === r || m === u || m === i || m === o || m === a || m === x || typeof m == "object" && m !== null && (m.$$typeof === y || m.$$typeof === b || m.$$typeof === s || m.$$typeof === c || m.$$typeof === d || m.$$typeof === M || m.$$typeof === $ || m.$$typeof === _ || m.$$typeof === v);
658
+ m === r || m === u || m === o || m === i || m === c || m === x || typeof m == "object" && m !== null && (m.$$typeof === y || m.$$typeof === b || m.$$typeof === s || m.$$typeof === a || m.$$typeof === d || m.$$typeof === M || m.$$typeof === $ || m.$$typeof === _ || m.$$typeof === v);
659
659
  }
660
660
  function R(m) {
661
661
  if (typeof m == "object" && m !== null) {
@@ -667,14 +667,14 @@ function kn() {
667
667
  case f:
668
668
  case u:
669
669
  case r:
670
- case i:
671
670
  case o:
672
- case a:
671
+ case i:
672
+ case c:
673
673
  return ce;
674
674
  default:
675
675
  var De = ce && ce.$$typeof;
676
676
  switch (De) {
677
- case c:
677
+ case a:
678
678
  case d:
679
679
  case y:
680
680
  case b:
@@ -689,15 +689,15 @@ function kn() {
689
689
  }
690
690
  }
691
691
  }
692
- var p = f, N = u, P = c, yt = s, bt = t, vt = d, Et = r, wt = y, Ct = b, St = n, Pt = i, kt = o, $t = a, Le = !1;
692
+ var p = f, N = u, P = a, yt = s, bt = t, vt = d, Et = r, wt = y, Ct = b, St = n, Pt = o, kt = i, $t = c, Fe = !1;
693
693
  function Rt(m) {
694
- return Le || (Le = !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.")), Oe(m) || R(m) === f;
694
+ 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) || R(m) === f;
695
695
  }
696
- function Oe(m) {
696
+ function Le(m) {
697
697
  return R(m) === u;
698
698
  }
699
699
  function _t(m) {
700
- return R(m) === c;
700
+ return R(m) === a;
701
701
  }
702
702
  function Tt(m) {
703
703
  return R(m) === s;
@@ -714,22 +714,22 @@ function kn() {
714
714
  function zt(m) {
715
715
  return R(m) === y;
716
716
  }
717
- function Ft(m) {
717
+ function Ot(m) {
718
718
  return R(m) === b;
719
719
  }
720
- function Lt(m) {
720
+ function Ft(m) {
721
721
  return R(m) === n;
722
722
  }
723
- function Ot(m) {
724
- return R(m) === i;
723
+ function Lt(m) {
724
+ return R(m) === o;
725
725
  }
726
726
  function Dt(m) {
727
- return R(m) === o;
727
+ return R(m) === i;
728
728
  }
729
729
  function It(m) {
730
- return R(m) === a;
730
+ return R(m) === c;
731
731
  }
732
- S.AsyncMode = p, S.ConcurrentMode = N, S.ContextConsumer = P, S.ContextProvider = yt, S.Element = bt, S.ForwardRef = vt, S.Fragment = Et, S.Lazy = wt, S.Memo = Ct, S.Portal = St, S.Profiler = Pt, S.StrictMode = kt, S.Suspense = $t, S.isAsyncMode = Rt, S.isConcurrentMode = Oe, S.isContextConsumer = _t, S.isContextProvider = Tt, S.isElement = Mt, S.isForwardRef = At, S.isFragment = Nt, S.isLazy = zt, S.isMemo = Ft, S.isPortal = Lt, S.isProfiler = Ot, S.isStrictMode = Dt, S.isSuspense = It, S.isValidElementType = k, S.typeOf = R;
732
+ S.AsyncMode = p, S.ConcurrentMode = N, S.ContextConsumer = P, S.ContextProvider = yt, S.Element = bt, S.ForwardRef = vt, S.Fragment = Et, S.Lazy = wt, S.Memo = Ct, S.Portal = St, S.Profiler = Pt, S.StrictMode = kt, S.Suspense = $t, S.isAsyncMode = Rt, S.isConcurrentMode = Le, S.isContextConsumer = _t, S.isContextProvider = Tt, S.isElement = Mt, S.isForwardRef = At, S.isFragment = Nt, S.isLazy = zt, S.isMemo = Ot, S.isPortal = Ft, S.isProfiler = Lt, S.isStrictMode = Dt, S.isSuspense = It, S.isValidElementType = k, S.typeOf = R;
733
733
  }()), S;
734
734
  }
735
735
  process.env.NODE_ENV === "production" ? Pe.exports = Pn() : Pe.exports = kn();
@@ -752,12 +752,12 @@ at[st.Memo] = _n;
752
752
  var Tn = !0;
753
753
  function Mn(e, t, n) {
754
754
  var r = "";
755
- return n.split(" ").forEach(function(o) {
756
- e[o] !== void 0 ? t.push(e[o] + ";") : o && (r += o + " ");
755
+ return n.split(" ").forEach(function(i) {
756
+ e[i] !== void 0 ? t.push(e[i] + ";") : i && (r += i + " ");
757
757
  }), r;
758
758
  }
759
759
  var ct = function(t, n, r) {
760
- var o = t.key + "-" + n.name;
760
+ var i = t.key + "-" + n.name;
761
761
  // we only need to add the styles to the registered cache if the
762
762
  // class name could be used further down
763
763
  // the tree but if it's a string tag, we know it won't
@@ -767,25 +767,25 @@ var ct = function(t, n, r) {
767
767
  // in node since emotion-server relies on whether a style is in
768
768
  // the registered cache to know whether a style is global or not
769
769
  // also, note that this check will be dead code eliminated in the browser
770
- Tn === !1) && t.registered[o] === void 0 && (t.registered[o] = n.styles);
770
+ Tn === !1) && t.registered[i] === void 0 && (t.registered[i] = n.styles);
771
771
  }, An = function(t, n, r) {
772
772
  ct(t, n, r);
773
- var o = t.key + "-" + n.name;
773
+ var i = t.key + "-" + n.name;
774
774
  if (t.inserted[n.name] === void 0) {
775
- var i = n;
775
+ var o = n;
776
776
  do
777
- t.insert(n === i ? "." + o : "", i, t.sheet, !0), i = i.next;
778
- while (i !== void 0);
777
+ t.insert(n === o ? "." + i : "", o, t.sheet, !0), o = o.next;
778
+ while (o !== void 0);
779
779
  }
780
780
  };
781
781
  function Nn(e) {
782
- for (var t = 0, n, r = 0, o = e.length; o >= 4; ++r, o -= 4)
782
+ for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4)
783
783
  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): */
784
784
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
785
785
  n >>> 24, t = /* Math.imul(k, m): */
786
786
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
787
787
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
788
- switch (o) {
788
+ switch (i) {
789
789
  case 3:
790
790
  t ^= (e.charCodeAt(r + 2) & 255) << 16;
791
791
  case 2:
@@ -847,29 +847,29 @@ var zn = {
847
847
  strokeOpacity: 1,
848
848
  strokeWidth: 1
849
849
  };
850
- function Fn(e) {
850
+ function On(e) {
851
851
  var t = /* @__PURE__ */ Object.create(null);
852
852
  return function(n) {
853
853
  return t[n] === void 0 && (t[n] = e(n)), t[n];
854
854
  };
855
855
  }
856
- var Ln = /[A-Z]|^ms/g, On = /_EMO_([^_]+?)_([^]*?)_EMO_/g, lt = function(t) {
856
+ var Fn = /[A-Z]|^ms/g, Ln = /_EMO_([^_]+?)_([^]*?)_EMO_/g, lt = function(t) {
857
857
  return t.charCodeAt(1) === 45;
858
858
  }, Ye = function(t) {
859
859
  return t != null && typeof t != "boolean";
860
- }, ve = /* @__PURE__ */ Fn(function(e) {
861
- return lt(e) ? e : e.replace(Ln, "-$&").toLowerCase();
860
+ }, ve = /* @__PURE__ */ On(function(e) {
861
+ return lt(e) ? e : e.replace(Fn, "-$&").toLowerCase();
862
862
  }), We = function(t, n) {
863
863
  switch (t) {
864
864
  case "animation":
865
865
  case "animationName":
866
866
  if (typeof n == "string")
867
- return n.replace(On, function(r, o, i) {
867
+ return n.replace(Ln, function(r, i, o) {
868
868
  return I = {
869
- name: o,
870
- styles: i,
869
+ name: i,
870
+ styles: o,
871
871
  next: I
872
- }, o;
872
+ }, i;
873
873
  });
874
874
  }
875
875
  return zn[t] !== 1 && !lt(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
@@ -884,16 +884,16 @@ function se(e, t, n) {
884
884
  case "boolean":
885
885
  return "";
886
886
  case "object": {
887
- var o = n;
888
- if (o.anim === 1)
887
+ var i = n;
888
+ if (i.anim === 1)
889
889
  return I = {
890
- name: o.name,
891
- styles: o.styles,
890
+ name: i.name,
891
+ styles: i.styles,
892
892
  next: I
893
- }, o.name;
894
- var i = n;
895
- if (i.styles !== void 0) {
896
- var s = i.next;
893
+ }, i.name;
894
+ var o = n;
895
+ if (o.styles !== void 0) {
896
+ var s = o.next;
897
897
  if (s !== void 0)
898
898
  for (; s !== void 0; )
899
899
  I = {
@@ -901,8 +901,8 @@ function se(e, t, n) {
901
901
  styles: s.styles,
902
902
  next: I
903
903
  }, s = s.next;
904
- var c = i.styles + ";";
905
- return c;
904
+ var a = o.styles + ";";
905
+ return a;
906
906
  }
907
907
  return Dn(e, t, n);
908
908
  }
@@ -920,27 +920,27 @@ function se(e, t, n) {
920
920
  function Dn(e, t, n) {
921
921
  var r = "";
922
922
  if (Array.isArray(n))
923
- for (var o = 0; o < n.length; o++)
924
- r += se(e, t, n[o]) + ";";
923
+ for (var i = 0; i < n.length; i++)
924
+ r += se(e, t, n[i]) + ";";
925
925
  else
926
- for (var i in n) {
927
- var s = n[i];
926
+ for (var o in n) {
927
+ var s = n[o];
928
928
  if (typeof s != "object") {
929
- var c = s;
930
- Ye(c) && (r += ve(i) + ":" + We(i, c) + ";");
929
+ var a = s;
930
+ Ye(a) && (r += ve(o) + ":" + We(o, a) + ";");
931
931
  } else if (Array.isArray(s) && typeof s[0] == "string" && t == null)
932
932
  for (var f = 0; f < s.length; f++)
933
- Ye(s[f]) && (r += ve(i) + ":" + We(i, s[f]) + ";");
933
+ Ye(s[f]) && (r += ve(o) + ":" + We(o, s[f]) + ";");
934
934
  else {
935
935
  var u = se(e, t, s);
936
- switch (i) {
936
+ switch (o) {
937
937
  case "animation":
938
938
  case "animationName": {
939
- r += ve(i) + ":" + u + ";";
939
+ r += ve(o) + ":" + u + ";";
940
940
  break;
941
941
  }
942
942
  default:
943
- r += i + "{" + u + "}";
943
+ r += o + "{" + u + "}";
944
944
  }
945
945
  }
946
946
  }
@@ -950,27 +950,27 @@ var He = /label:\s*([^\s;{]+)\s*(;|$)/g, I;
950
950
  function Ue(e, t, n) {
951
951
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
952
952
  return e[0];
953
- var r = !0, o = "";
953
+ var r = !0, i = "";
954
954
  I = void 0;
955
- var i = e[0];
956
- if (i == null || i.raw === void 0)
957
- r = !1, o += se(n, t, i);
955
+ var o = e[0];
956
+ if (o == null || o.raw === void 0)
957
+ r = !1, i += se(n, t, o);
958
958
  else {
959
- var s = i;
960
- o += s[0];
959
+ var s = o;
960
+ i += s[0];
961
961
  }
962
- for (var c = 1; c < e.length; c++)
963
- if (o += se(n, t, e[c]), r) {
964
- var f = i;
965
- o += f[c];
962
+ for (var a = 1; a < e.length; a++)
963
+ if (i += se(n, t, e[a]), r) {
964
+ var f = o;
965
+ i += f[a];
966
966
  }
967
967
  He.lastIndex = 0;
968
- for (var u = "", d; (d = He.exec(o)) !== null; )
968
+ for (var u = "", d; (d = He.exec(i)) !== null; )
969
969
  u += "-" + d[1];
970
- var a = Nn(o) + u;
970
+ var c = Nn(i) + u;
971
971
  return {
972
- name: a,
973
- styles: o,
972
+ name: c,
973
+ styles: i,
974
974
  next: I
975
975
  };
976
976
  }
@@ -991,8 +991,8 @@ process.env.NODE_ENV !== "production" && (Ne.displayName = "EmotionCacheContext"
991
991
  Ne.Provider;
992
992
  var Bn = function(t) {
993
993
  return /* @__PURE__ */ Vt(function(n, r) {
994
- var o = Re(Ne);
995
- return t(n, o, r);
994
+ var i = Re(Ne);
995
+ return t(n, i, r);
996
996
  });
997
997
  }, dt = /* @__PURE__ */ j.createContext({});
998
998
  process.env.NODE_ENV !== "production" && (dt.displayName = "EmotionThemeContext");
@@ -1009,12 +1009,12 @@ var Ge = function(t) {
1009
1009
  if (t)
1010
1010
  for (var n = t.split(`
1011
1011
  `), r = 0; r < n.length; r++) {
1012
- var o = Kn(n[r]);
1013
- if (o) {
1014
- if (Yn.has(o))
1012
+ var i = Kn(n[r]);
1013
+ if (i) {
1014
+ if (Yn.has(i))
1015
1015
  break;
1016
- if (/^[A-Z]/.test(o))
1017
- return Wn(o);
1016
+ if (/^[A-Z]/.test(i))
1017
+ return Wn(i);
1018
1018
  }
1019
1019
  }
1020
1020
  }, ke = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", $e = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", ft = function(t, n) {
@@ -1022,37 +1022,37 @@ var Ge = function(t) {
1022
1022
  n.css.indexOf(":") !== -1)
1023
1023
  throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + n.css + "`");
1024
1024
  var r = {};
1025
- for (var o in n)
1026
- ye.call(n, o) && (r[o] = n[o]);
1025
+ for (var i in n)
1026
+ ye.call(n, i) && (r[i] = n[i]);
1027
1027
  if (r[ke] = t, process.env.NODE_ENV !== "production" && n.css && (typeof n.css != "object" || typeof n.css.name != "string" || n.css.name.indexOf("-") === -1)) {
1028
- var i = Hn(new Error().stack);
1029
- i && (r[$e] = i);
1028
+ var o = Hn(new Error().stack);
1029
+ o && (r[$e] = o);
1030
1030
  }
1031
1031
  return r;
1032
1032
  }, Un = function(t) {
1033
- var n = t.cache, r = t.serialized, o = t.isStringTag;
1034
- return ct(n, r, o), jn(function() {
1035
- return An(n, r, o);
1033
+ var n = t.cache, r = t.serialized, i = t.isStringTag;
1034
+ return ct(n, r, i), jn(function() {
1035
+ return An(n, r, i);
1036
1036
  }), null;
1037
1037
  }, ut = /* @__PURE__ */ Bn(function(e, t, n) {
1038
1038
  var r = e.css;
1039
1039
  typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
1040
- var o = e[ke], i = [r], s = "";
1041
- typeof e.className == "string" ? s = Mn(t.registered, i, e.className) : e.className != null && (s = e.className + " ");
1042
- var c = Ue(i, void 0, j.useContext(dt));
1043
- if (process.env.NODE_ENV !== "production" && c.name.indexOf("-") === -1) {
1040
+ var i = e[ke], o = [r], s = "";
1041
+ typeof e.className == "string" ? s = Mn(t.registered, o, e.className) : e.className != null && (s = e.className + " ");
1042
+ var a = Ue(o, void 0, j.useContext(dt));
1043
+ if (process.env.NODE_ENV !== "production" && a.name.indexOf("-") === -1) {
1044
1044
  var f = e[$e];
1045
- f && (c = Ue([c, "label:" + f + ";"]));
1045
+ f && (a = Ue([a, "label:" + f + ";"]));
1046
1046
  }
1047
- s += t.key + "-" + c.name;
1047
+ s += t.key + "-" + a.name;
1048
1048
  var u = {};
1049
1049
  for (var d in e)
1050
1050
  ye.call(e, d) && d !== "css" && d !== ke && (process.env.NODE_ENV === "production" || d !== $e) && (u[d] = e[d]);
1051
1051
  return u.ref = n, u.className = s, /* @__PURE__ */ j.createElement(j.Fragment, null, /* @__PURE__ */ j.createElement(Un, {
1052
1052
  cache: t,
1053
- serialized: c,
1054
- isStringTag: typeof o == "string"
1055
- }), /* @__PURE__ */ j.createElement(o, u));
1053
+ serialized: a,
1054
+ isStringTag: typeof i == "string"
1055
+ }), /* @__PURE__ */ j.createElement(i, u));
1056
1056
  });
1057
1057
  process.env.NODE_ENV !== "production" && (ut.displayName = "EmotionCssPropInternal");
1058
1058
  var pt = ut, K = te.Fragment;
@@ -1071,16 +1071,16 @@ const ht = Je(null), Gn = () => {
1071
1071
  return e;
1072
1072
  };
1073
1073
  function mt(e, t) {
1074
- const n = Gn(), r = (t == null ? void 0 : t.includeDisabled) ?? !1, o = (t == null ? void 0 : t.autoResolve) ?? !1, [i, s] = B(
1074
+ const n = Gn(), r = (t == null ? void 0 : t.includeDisabled) ?? !1, i = (t == null ? void 0 : t.autoResolve) ?? !1, [o, s] = B(
1075
1075
  () => n.getExtensions(e, r)
1076
1076
  );
1077
1077
  W(() => (s(n.getExtensions(e, r)), n.subscribe(e, () => {
1078
1078
  s(n.getExtensions(e, r));
1079
1079
  })), [n, e, r]);
1080
- const c = O(() => o ? ne(i) : null, [i, o]);
1080
+ const a = L(() => i ? ne(o) : null, [o, i]);
1081
1081
  return {
1082
- extensions: i,
1083
- best: c,
1082
+ extensions: o,
1083
+ best: a,
1084
1084
  isLoading: !1
1085
1085
  // Not async, so never loading
1086
1086
  };
@@ -1094,32 +1094,34 @@ const qn = (e) => {
1094
1094
  fallbackOnDisabled: n = !0,
1095
1095
  autoSwitchOnDisabled: r = !1
1096
1096
  }) => {
1097
- const { extensions: o } = mt(e, {
1097
+ const { extensions: i } = mt(e, {
1098
1098
  includeDisabled: !1,
1099
1099
  // Only get enabled contributions
1100
1100
  autoResolve: !1
1101
1101
  // We'll resolve manually based on module prop
1102
- }), [i, s] = B(
1102
+ }), [o, s] = B(
1103
1103
  null
1104
- ), [c, f] = B(null), u = O(() => {
1104
+ ), [a, f] = B(null), u = L(() => {
1105
1105
  if (t) {
1106
- const d = o[t];
1107
- return d || (r && !n ? ne(o) : null);
1106
+ const d = i[t];
1107
+ return d || (r && !n ? ne(i) : null);
1108
1108
  }
1109
- return ne(o);
1110
- }, [o, t, n, r]);
1109
+ return ne(i);
1110
+ }, [i, t, n, r]);
1111
1111
  return W(() => {
1112
1112
  async function d() {
1113
- const a = u;
1114
- f(a ?? null);
1115
- const x = (a == null ? void 0 : a.remote) || "", b = qn(a) ? a.view.component : a == null ? void 0 : a.component, y = b ? `./${b}` : "";
1116
- if (!x)
1113
+ const c = u;
1114
+ f(c ?? null);
1115
+ const x = (c == null ? void 0 : c.remote) || "", b = qn(c) ? c.view.component : c == null ? void 0 : c.component, y = b ? `./${b}` : "";
1116
+ if (!x) {
1117
+ s(null);
1117
1118
  return;
1119
+ }
1118
1120
  const v = Y.lazy(() => Bt.loadRemoteModule(x, y));
1119
1121
  s(v);
1120
1122
  }
1121
1123
  d();
1122
- }, [u]), [i, c];
1124
+ }, [u]), [o, a];
1123
1125
  };
1124
1126
  class Xn extends Y.Component {
1125
1127
  constructor(t) {
@@ -1154,23 +1156,23 @@ const Jn = h.div`
1154
1156
  fallback: t,
1155
1157
  module: n,
1156
1158
  props: r,
1157
- fallbackOnDisabled: o = !0,
1158
- autoSwitchOnDisabled: i = !1
1159
+ fallbackOnDisabled: i = !0,
1160
+ autoSwitchOnDisabled: o = !1
1159
1161
  }) => {
1160
- const [s, c] = Zn({
1162
+ const [s, a] = Zn({
1161
1163
  extension: e,
1162
1164
  module: n,
1163
- fallbackOnDisabled: o,
1164
- autoSwitchOnDisabled: i
1165
+ fallbackOnDisabled: i,
1166
+ autoSwitchOnDisabled: o
1165
1167
  }), f = !s, u = t || /* @__PURE__ */ l(Jn, { children: `Dynamic component, ${e}, not found...` });
1166
1168
  return f ? /* @__PURE__ */ l(K, { children: u }) : /* @__PURE__ */ l(Xn, { fallback: u, children: /* @__PURE__ */ l(
1167
1169
  jt,
1168
1170
  {
1169
- fallback: c != null && c.size ? /* @__PURE__ */ l(
1171
+ fallback: a != null && a.size ? /* @__PURE__ */ l(
1170
1172
  Qn,
1171
1173
  {
1172
- width: c.size.width,
1173
- height: c.size.height
1174
+ width: a.size.width,
1175
+ height: a.size.height
1174
1176
  }
1175
1177
  ) : null,
1176
1178
  children: /* @__PURE__ */ l(s, { ...r })
@@ -1204,11 +1206,11 @@ const Jn = h.div`
1204
1206
  border-color: #0969da;
1205
1207
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
1206
1208
  }
1207
- `, or = h.div`
1209
+ `, ir = h.div`
1208
1210
  flex: 1;
1209
1211
  overflow-y: auto;
1210
1212
  min-height: 0; /* Critical for making overflow work in flexbox */
1211
- `, ir = h.div`
1213
+ `, or = h.div`
1212
1214
  padding: 12px 16px;
1213
1215
  border-bottom: 1px solid #f0f0f0;
1214
1216
  cursor: pointer;
@@ -1258,9 +1260,9 @@ const Jn = h.div`
1258
1260
  selectedExtensionId: t,
1259
1261
  onExtensionSelect: n,
1260
1262
  searchTerm: r,
1261
- onSearchChange: o,
1262
- className: i
1263
- }) => /* @__PURE__ */ g(er, { className: i, children: [
1263
+ onSearchChange: i,
1264
+ className: o
1265
+ }) => /* @__PURE__ */ g(er, { className: o, children: [
1264
1266
  /* @__PURE__ */ g(tr, { children: [
1265
1267
  /* @__PURE__ */ l(nr, { children: "Extension Points" }),
1266
1268
  /* @__PURE__ */ l(
@@ -1268,14 +1270,14 @@ const Jn = h.div`
1268
1270
  {
1269
1271
  placeholder: "Search extension points...",
1270
1272
  value: r,
1271
- onChange: (s) => o(s.target.value)
1273
+ onChange: (s) => i(s.target.value)
1272
1274
  }
1273
1275
  )
1274
1276
  ] }),
1275
- /* @__PURE__ */ l(or, { children: e.length > 0 ? e.map((s) => {
1276
- var c;
1277
+ /* @__PURE__ */ l(ir, { children: e.length > 0 ? e.map((s) => {
1278
+ var a;
1277
1279
  return /* @__PURE__ */ g(
1278
- ir,
1280
+ or,
1279
1281
  {
1280
1282
  selected: s.id === t,
1281
1283
  onClick: () => n(s.id),
@@ -1284,7 +1286,7 @@ const Jn = h.div`
1284
1286
  /* @__PURE__ */ g(ar, { children: [
1285
1287
  /* @__PURE__ */ g("div", { children: [
1286
1288
  /* @__PURE__ */ l(qe, { variant: s.source, children: s.source }),
1287
- ((c = s.metadata) == null ? void 0 : c.deprecated) && /* @__PURE__ */ l(qe, { variant: "deprecated", style: { marginLeft: 4 }, children: "deprecated" })
1289
+ ((a = s.metadata) == null ? void 0 : a.deprecated) && /* @__PURE__ */ l(qe, { variant: "deprecated", style: { marginLeft: 4 }, children: "deprecated" })
1288
1290
  ] }),
1289
1291
  /* @__PURE__ */ g("div", { children: [
1290
1292
  s.pluginCount,
@@ -1310,8 +1312,8 @@ const Jn = h.div`
1310
1312
  top: 0;
1311
1313
  left: 0;
1312
1314
  z-index: 10000;
1313
- `, no = ({ remotesOverride: e, onBeforeInitialize: t, pluginConfig: n, children: r }) => {
1314
- const [o, i] = B(), [s, c] = B(null), f = O(() => o != null && o.extensions ? new Kt(o.extensions) : null, [o == null ? void 0 : o.extensions]);
1315
+ `, ni = ({ remotesOverride: e, onBeforeInitialize: t, pluginConfig: n, children: r }) => {
1316
+ const [i, o] = B(), [s, a] = B(null), f = L(() => i != null && i.extensions ? new Kt(i.extensions) : null, [i == null ? void 0 : i.extensions]);
1315
1317
  return W(
1316
1318
  () => () => {
1317
1319
  f == null || f.destroy();
@@ -1319,7 +1321,7 @@ const Jn = h.div`
1319
1321
  [f]
1320
1322
  ), W(() => {
1321
1323
  (async () => {
1322
- var d, a;
1324
+ var d, c;
1323
1325
  try {
1324
1326
  t && (console.log(
1325
1327
  "KosPluginProvider: Waiting for pre-initialization conditions..."
@@ -1328,18 +1330,18 @@ const Jn = h.div`
1328
1330
  const b = (d = window.KosPlugins) == null ? void 0 : d.__dynamicRemotes;
1329
1331
  x || (b && Object.keys(b).length > 0 ? (console.log(
1330
1332
  "KosPluginProvider: Using existing plugin initialization"
1331
- ), x = b) : (console.log("KosPluginProvider: Initializing plugins..."), await Yt(n), x = (a = window.KosPlugins) == null ? void 0 : a.__dynamicRemotes));
1333
+ ), x = b) : (console.log("KosPluginProvider: Initializing plugins..."), await Yt(n), x = (c = window.KosPlugins) == null ? void 0 : c.__dynamicRemotes));
1332
1334
  const y = await Wt(x);
1333
- i(y);
1335
+ o(y);
1334
1336
  } catch (x) {
1335
- console.error("KosPluginProvider: Failed to initialize plugins", x), c(x);
1337
+ console.error("KosPluginProvider: Failed to initialize plugins", x), a(x);
1336
1338
  }
1337
1339
  })();
1338
1340
  }, [e, t, n]), s ? /* @__PURE__ */ g(Ze, { children: [
1339
1341
  /* @__PURE__ */ l("div", { children: "Failed to load plugins" }),
1340
1342
  /* @__PURE__ */ l("div", { style: { fontSize: "12px", marginTop: "10px", opacity: 0.8 }, children: s.message })
1341
- ] }) : /* @__PURE__ */ l(gt.Provider, { value: o, children: /* @__PURE__ */ l(ht.Provider, { value: f, children: o ? r : /* @__PURE__ */ l(Ze, { children: "Loading remote plugins..." }) }) });
1342
- }, Fe = () => {
1343
+ ] }) : /* @__PURE__ */ l(gt.Provider, { value: i, children: /* @__PURE__ */ l(ht.Provider, { value: f, children: i ? r : /* @__PURE__ */ l(Ze, { children: "Loading remote plugins..." }) }) });
1344
+ }, Oe = () => {
1343
1345
  const e = Re(gt);
1344
1346
  if (!e)
1345
1347
  throw new Error(
@@ -1348,16 +1350,16 @@ const Jn = h.div`
1348
1350
  return e;
1349
1351
  };
1350
1352
  function xt(e) {
1351
- const { extensions: t } = Fe();
1352
- return O(() => {
1353
+ const { extensions: t } = Oe();
1354
+ return L(() => {
1353
1355
  try {
1354
1356
  const r = re.getExtensionPoints(
1355
1357
  t,
1356
1358
  e
1357
- ), o = re.calculateHealthStats(r);
1359
+ ), i = re.calculateHealthStats(r);
1358
1360
  return {
1359
1361
  extensionPoints: r,
1360
- healthStats: o,
1362
+ healthStats: i,
1361
1363
  isLoading: !1,
1362
1364
  error: void 0
1363
1365
  };
@@ -1379,7 +1381,7 @@ function xt(e) {
1379
1381
  }, [t, e]);
1380
1382
  }
1381
1383
  function dr(e, t) {
1382
- const n = xt(t), r = O(
1384
+ const n = xt(t), r = L(
1383
1385
  () => re.filterExtensionPoints(
1384
1386
  n.extensionPoints,
1385
1387
  e
@@ -1391,9 +1393,9 @@ function dr(e, t) {
1391
1393
  filteredExtensionPoints: r
1392
1394
  };
1393
1395
  }
1394
- function ro(e) {
1396
+ function ri(e) {
1395
1397
  const { extensionPoints: t } = xt();
1396
- return O(
1398
+ return L(
1397
1399
  () => re.getExtensionPointById(
1398
1400
  t,
1399
1401
  e
@@ -1540,10 +1542,10 @@ const kr = ({
1540
1542
  extensionPointId: t,
1541
1543
  className: n
1542
1544
  }) => {
1543
- const r = re.analyzePlugin(e), { hasComponent: o, healthStatus: i, capabilities: s } = r, c = Ht(e.id), f = Sr(e, t), u = Pr(t);
1545
+ const r = re.analyzePlugin(e), { hasComponent: i, healthStatus: o, capabilities: s } = r, a = Ht(e.id), f = Sr(e, t), u = Pr(t);
1544
1546
  return /* @__PURE__ */ g(fr, { className: n, children: [
1545
1547
  /* @__PURE__ */ l(ur, { children: /* @__PURE__ */ g(pr, { children: [
1546
- /* @__PURE__ */ l(hr, { status: i }),
1548
+ /* @__PURE__ */ l(hr, { status: o }),
1547
1549
  /* @__PURE__ */ l(mr, { children: e.id })
1548
1550
  ] }) }),
1549
1551
  /* @__PURE__ */ g(gr, { children: [
@@ -1567,8 +1569,8 @@ const kr = ({
1567
1569
  /* @__PURE__ */ l("span", { children: e.component })
1568
1570
  ] }),
1569
1571
  f && u.map((d) => {
1570
- const a = f[d];
1571
- if (a == null)
1572
+ const c = f[d];
1573
+ if (c == null)
1572
1574
  return null;
1573
1575
  const x = d.replace(/([A-Z])/g, " $1").replace(/^./, (b) => b.toUpperCase()).trim();
1574
1576
  return /* @__PURE__ */ g(Q, { children: [
@@ -1576,15 +1578,15 @@ const kr = ({
1576
1578
  x,
1577
1579
  ":"
1578
1580
  ] }),
1579
- /* @__PURE__ */ l("span", { children: String(a) })
1581
+ /* @__PURE__ */ l("span", { children: String(c) })
1580
1582
  ] }, d);
1581
1583
  }),
1582
- !o && /* @__PURE__ */ l(xr, { children: "No UI component (data/utility plugin)" }),
1584
+ !i && /* @__PURE__ */ l(xr, { children: "No UI component (data/utility plugin)" }),
1583
1585
  s.length > 0 && /* @__PURE__ */ l(yr, { children: s.map((d) => /* @__PURE__ */ l(br, { children: d }, d)) }),
1584
- c.length > 0 && /* @__PURE__ */ l(vr, { children: c.map((d, a) => /* @__PURE__ */ g(Er, { type: d.type, children: [
1586
+ a.length > 0 && /* @__PURE__ */ l(vr, { children: a.map((d, c) => /* @__PURE__ */ g(Er, { type: d.type, children: [
1585
1587
  /* @__PURE__ */ l(wr, { type: d.type }),
1586
1588
  /* @__PURE__ */ l(Cr, { children: d.message })
1587
- ] }, a)) })
1589
+ ] }, c)) })
1588
1590
  ] })
1589
1591
  ] });
1590
1592
  }, $r = h.div`
@@ -1670,12 +1672,12 @@ const kr = ({
1670
1672
  healthStats: e,
1671
1673
  className: t
1672
1674
  }) => {
1673
- const { extensions: n } = Fe(), {
1675
+ const { extensions: n } = Oe(), {
1674
1676
  totalPlugins: r,
1675
- extensionPointsWithPlugins: o,
1676
- totalExtensionPoints: i,
1677
+ extensionPointsWithPlugins: i,
1678
+ totalExtensionPoints: o,
1677
1679
  simplifiedExtensionPoints: s,
1678
- legacyExtensionPoints: c,
1680
+ legacyExtensionPoints: a,
1679
1681
  deprecatedExtensionPoints: f
1680
1682
  } = e, u = () => {
1681
1683
  try {
@@ -1687,7 +1689,7 @@ const kr = ({
1687
1689
  includeLegacyExtensions: !0,
1688
1690
  includePluginHealth: !0
1689
1691
  }
1690
- ), a = new Blob([d.content], { type: "text/markdown" }), x = URL.createObjectURL(a), b = document.createElement("a");
1692
+ ), c = new Blob([d.content], { type: "text/markdown" }), x = URL.createObjectURL(c), b = document.createElement("a");
1691
1693
  b.href = x, b.download = `kos-extension-points-${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}.md`, document.body.appendChild(b), b.click(), document.body.removeChild(b), URL.revokeObjectURL(x);
1692
1694
  } catch (d) {
1693
1695
  console.error("Failed to generate documentation:", d);
@@ -1704,9 +1706,9 @@ const kr = ({
1704
1706
  ] })
1705
1707
  ] }),
1706
1708
  /* @__PURE__ */ l(ee, { children: /* @__PURE__ */ g("span", { children: [
1707
- o,
1708
- "/",
1709
1709
  i,
1710
+ "/",
1711
+ o,
1710
1712
  " active"
1711
1713
  ] }) })
1712
1714
  ] }),
@@ -1716,7 +1718,7 @@ const kr = ({
1716
1718
  /* @__PURE__ */ l("span", { children: "simplified" })
1717
1719
  ] }),
1718
1720
  /* @__PURE__ */ g(ee, { children: [
1719
- /* @__PURE__ */ l(Ee, { variant: "legacy", children: c }),
1721
+ /* @__PURE__ */ l(Ee, { variant: "legacy", children: a }),
1720
1722
  /* @__PURE__ */ l("span", { children: "legacy" })
1721
1723
  ] }),
1722
1724
  f > 0 && /* @__PURE__ */ g(ee, { children: [
@@ -1768,16 +1770,16 @@ const kr = ({
1768
1770
  padding: 16px;
1769
1771
  border-bottom: 1px solid #e1e5e9;
1770
1772
  background: #f6f8fa;
1771
- `, Fr = h.h4`
1773
+ `, Or = h.h4`
1772
1774
  margin: 0 0 8px 0;
1773
1775
  font-size: 16px;
1774
1776
  font-weight: 600;
1775
1777
  color: #24292f;
1776
- `, Lr = h.p`
1778
+ `, Fr = h.p`
1777
1779
  margin: 0;
1778
1780
  font-size: 14px;
1779
1781
  color: #656d76;
1780
- `, Or = h.div`
1782
+ `, Lr = h.div`
1781
1783
  flex: 1;
1782
1784
  padding: 16px;
1783
1785
  overflow-y: auto;
@@ -1818,14 +1820,14 @@ const kr = ({
1818
1820
  showLegacyExtensions: t = !0,
1819
1821
  extensionFilter: n = ""
1820
1822
  }) => {
1821
- const [r, o] = B(
1823
+ const [r, i] = B(
1822
1824
  null
1823
- ), [i, s] = B(n), { filteredExtensionPoints: c, healthStats: f, isLoading: u, error: d } = dr(i, {
1825
+ ), [o, s] = B(n), { filteredExtensionPoints: a, healthStats: f, isLoading: u, error: d } = dr(o, {
1824
1826
  includeLegacyExtensions: t
1825
- }), a = c.find(
1827
+ }), c = a.find(
1826
1828
  (y) => y.id === r
1827
1829
  ), x = (y) => {
1828
- o(y);
1830
+ i(y);
1829
1831
  }, b = (y) => {
1830
1832
  s(y);
1831
1833
  };
@@ -1838,21 +1840,21 @@ const kr = ({
1838
1840
  /* @__PURE__ */ l(
1839
1841
  lr,
1840
1842
  {
1841
- extensionPoints: c,
1843
+ extensionPoints: a,
1842
1844
  selectedExtensionId: r,
1843
1845
  onExtensionSelect: x,
1844
- searchTerm: i,
1846
+ searchTerm: o,
1845
1847
  onSearchChange: b
1846
1848
  }
1847
1849
  )
1848
1850
  ] }),
1849
- /* @__PURE__ */ l(Nr, { children: a ? /* @__PURE__ */ g(K, { children: [
1851
+ /* @__PURE__ */ l(Nr, { children: c ? /* @__PURE__ */ g(K, { children: [
1850
1852
  /* @__PURE__ */ g(zr, { children: [
1851
- /* @__PURE__ */ l(Fr, { children: a.displayName || a.id }),
1852
- a.description && /* @__PURE__ */ l(Lr, { children: a.description })
1853
+ /* @__PURE__ */ l(Or, { children: c.displayName || c.id }),
1854
+ c.description && /* @__PURE__ */ l(Fr, { children: c.description })
1853
1855
  ] }),
1854
- /* @__PURE__ */ g(Or, { children: [
1855
- a.plugins.length > 0 ? /* @__PURE__ */ g(K, { children: [
1856
+ /* @__PURE__ */ g(Lr, { children: [
1857
+ c.plugins.length > 0 ? /* @__PURE__ */ g(K, { children: [
1856
1858
  /* @__PURE__ */ g(
1857
1859
  "h5",
1858
1860
  {
@@ -1863,16 +1865,16 @@ const kr = ({
1863
1865
  },
1864
1866
  children: [
1865
1867
  "Active Plugins (",
1866
- a.pluginCount,
1868
+ c.pluginCount,
1867
1869
  ")"
1868
1870
  ]
1869
1871
  }
1870
1872
  ),
1871
- /* @__PURE__ */ l(Dr, { children: a.plugins.map((y) => /* @__PURE__ */ l(
1873
+ /* @__PURE__ */ l(Dr, { children: c.plugins.map((y) => /* @__PURE__ */ l(
1872
1874
  kr,
1873
1875
  {
1874
1876
  plugin: y,
1875
- extensionPointId: a.id
1877
+ extensionPointId: c.id
1876
1878
  },
1877
1879
  y.id
1878
1880
  )) })
@@ -1891,28 +1893,28 @@ const kr = ({
1891
1893
  ),
1892
1894
  /* @__PURE__ */ l("div", { style: { fontSize: "14px" }, children: "This extension point is available but no plugins are currently contributing to it." })
1893
1895
  ] }),
1894
- a.metadata && /* @__PURE__ */ g(Ir, { children: [
1896
+ c.metadata && /* @__PURE__ */ g(Ir, { children: [
1895
1897
  /* @__PURE__ */ l(Vr, { children: "Extension Point Details" }),
1896
1898
  /* @__PURE__ */ g(jr, { children: [
1897
1899
  /* @__PURE__ */ l(H, { children: "ID:" }),
1898
- /* @__PURE__ */ l(U, { children: a.id }),
1900
+ /* @__PURE__ */ l(U, { children: c.id }),
1899
1901
  /* @__PURE__ */ l(H, { children: "Source:" }),
1900
- /* @__PURE__ */ l(U, { children: a.source }),
1901
- a.metadata.category && /* @__PURE__ */ g(K, { children: [
1902
+ /* @__PURE__ */ l(U, { children: c.source }),
1903
+ c.metadata.category && /* @__PURE__ */ g(K, { children: [
1902
1904
  /* @__PURE__ */ l(H, { children: "Category:" }),
1903
- /* @__PURE__ */ l(U, { children: a.metadata.category })
1905
+ /* @__PURE__ */ l(U, { children: c.metadata.category })
1904
1906
  ] }),
1905
- a.metadata.owner && /* @__PURE__ */ g(K, { children: [
1907
+ c.metadata.owner && /* @__PURE__ */ g(K, { children: [
1906
1908
  /* @__PURE__ */ l(H, { children: "Owner:" }),
1907
- /* @__PURE__ */ l(U, { children: a.metadata.owner })
1909
+ /* @__PURE__ */ l(U, { children: c.metadata.owner })
1908
1910
  ] }),
1909
- a.metadata.since && /* @__PURE__ */ g(K, { children: [
1911
+ c.metadata.since && /* @__PURE__ */ g(K, { children: [
1910
1912
  /* @__PURE__ */ l(H, { children: "Since:" }),
1911
- /* @__PURE__ */ l(U, { children: a.metadata.since })
1913
+ /* @__PURE__ */ l(U, { children: c.metadata.since })
1912
1914
  ] }),
1913
- a.metadata.tags && a.metadata.tags.length > 0 && /* @__PURE__ */ g(K, { children: [
1915
+ c.metadata.tags && c.metadata.tags.length > 0 && /* @__PURE__ */ g(K, { children: [
1914
1916
  /* @__PURE__ */ l(H, { children: "Tags:" }),
1915
- /* @__PURE__ */ l(U, { children: a.metadata.tags.join(", ") })
1917
+ /* @__PURE__ */ l(U, { children: c.metadata.tags.join(", ") })
1916
1918
  ] })
1917
1919
  ] })
1918
1920
  ] })
@@ -2022,34 +2024,34 @@ const kr = ({
2022
2024
  font-size: 12px;
2023
2025
  color: #656d76;
2024
2026
  margin-left: 8px;
2025
- `, oo = ({
2027
+ `, ii = ({
2026
2028
  keyboardShortcut: e = "ctrl+shift+p",
2027
2029
  showToggleButton: t = !0,
2028
2030
  toggleButtonPosition: n = "bottom-right",
2029
2031
  ...r
2030
2032
  }) => {
2031
- const [o, i] = B(!1);
2033
+ const [i, o] = B(!1);
2032
2034
  W(() => {
2033
2035
  const f = (u) => {
2034
- const a = e.toLowerCase().split("+").map((y) => y.trim());
2036
+ const c = e.toLowerCase().split("+").map((y) => y.trim());
2035
2037
  let x = !0;
2036
- a.includes("ctrl") && !u.ctrlKey && (x = !1), a.includes("shift") && !u.shiftKey && (x = !1), a.includes("alt") && !u.altKey && (x = !1), a.includes("meta") && !u.metaKey && (x = !1);
2037
- const b = a.find(
2038
+ c.includes("ctrl") && !u.ctrlKey && (x = !1), c.includes("shift") && !u.shiftKey && (x = !1), c.includes("alt") && !u.altKey && (x = !1), c.includes("meta") && !u.metaKey && (x = !1);
2039
+ const b = c.find(
2038
2040
  (y) => !["ctrl", "shift", "alt", "meta"].includes(y)
2039
2041
  );
2040
- b && u.key.toLowerCase() !== b.toLowerCase() && (x = !1), x && (u.preventDefault(), i((y) => !y));
2042
+ b && u.key.toLowerCase() !== b.toLowerCase() && (x = !1), x && (u.preventDefault(), o((y) => !y));
2041
2043
  };
2042
2044
  return document.addEventListener("keydown", f), () => document.removeEventListener("keydown", f);
2043
2045
  }, [e]), W(() => {
2044
2046
  const f = (u) => {
2045
- u.key === "Escape" && o && i(!1);
2047
+ u.key === "Escape" && i && o(!1);
2046
2048
  };
2047
2049
  return document.addEventListener("keydown", f), () => document.removeEventListener("keydown", f);
2048
- }, [o]);
2050
+ }, [i]);
2049
2051
  const s = () => {
2050
- i((f) => !f);
2051
- }, c = (f) => {
2052
- f.target === f.currentTarget && i(!1);
2052
+ o((f) => !f);
2053
+ }, a = (f) => {
2054
+ f.target === f.currentTarget && o(!1);
2053
2055
  };
2054
2056
  return process.env.NODE_ENV !== "development" ? null : /* @__PURE__ */ g(K, { children: [
2055
2057
  t && /* @__PURE__ */ l(
@@ -2091,7 +2093,7 @@ const kr = ({
2091
2093
  )
2092
2094
  }
2093
2095
  ),
2094
- /* @__PURE__ */ l(Kr, { visible: o, onClick: c, children: /* @__PURE__ */ g(Yr, { children: [
2096
+ /* @__PURE__ */ l(Kr, { visible: i, onClick: a, children: /* @__PURE__ */ g(Yr, { children: [
2095
2097
  /* @__PURE__ */ g(Wr, { children: [
2096
2098
  /* @__PURE__ */ g("div", { style: { display: "flex", alignItems: "center" }, children: [
2097
2099
  /* @__PURE__ */ l(Hr, { children: "KOS Plugin Explorer" }),
@@ -2100,38 +2102,54 @@ const kr = ({
2100
2102
  " to toggle"
2101
2103
  ] })
2102
2104
  ] }),
2103
- /* @__PURE__ */ l(Ur, { onClick: () => i(!1), "aria-label": "Close", children: "×" })
2105
+ /* @__PURE__ */ l(Ur, { onClick: () => o(!1), "aria-label": "Close", children: "×" })
2104
2106
  ] }),
2105
2107
  /* @__PURE__ */ l(Br, { ...r })
2106
2108
  ] }) })
2107
2109
  ] });
2108
2110
  };
2109
- function io(e) {
2111
+ function oi(e) {
2110
2112
  return Y.useMemo(() => {
2111
2113
  if (!e.config.hasView)
2112
2114
  return null;
2113
2115
  const t = (n) => {
2114
- const { module: r, fallback: o, ...i } = n;
2116
+ const {
2117
+ module: r,
2118
+ fallback: i,
2119
+ fallbackOnDisabled: o,
2120
+ autoSwitchOnDisabled: s,
2121
+ ...a
2122
+ } = n;
2115
2123
  return Y.createElement(ze, {
2116
2124
  extension: e.id,
2117
2125
  module: r,
2118
- fallback: o,
2119
- props: i
2126
+ fallback: i,
2127
+ fallbackOnDisabled: o,
2128
+ autoSwitchOnDisabled: s,
2129
+ props: a
2120
2130
  });
2121
2131
  };
2122
2132
  return t.displayName = `${e.config.displayName || e.id}.Component`, t;
2123
2133
  }, [e]);
2124
2134
  }
2125
- function so(e) {
2135
+ function si(e) {
2126
2136
  if (!e.config.hasView)
2127
2137
  return null;
2128
2138
  const t = (n) => {
2129
- const { module: r, fallback: o, ...i } = n;
2139
+ const {
2140
+ module: r,
2141
+ fallback: i,
2142
+ fallbackOnDisabled: o,
2143
+ autoSwitchOnDisabled: s,
2144
+ ...a
2145
+ } = n;
2130
2146
  return Y.createElement(ze, {
2131
2147
  extension: e.id,
2132
2148
  module: r,
2133
- fallback: o,
2134
- props: i
2149
+ fallback: i,
2150
+ fallbackOnDisabled: o,
2151
+ autoSwitchOnDisabled: s,
2152
+ props: a
2135
2153
  });
2136
2154
  };
2137
2155
  return t.displayName = `${e.config.displayName || e.id}.Component`, t;
@@ -2143,13 +2161,21 @@ function Zr(e) {
2143
2161
  return console.warn(`Extension point not found: ${e}`), null;
2144
2162
  if (!n.config.hasView)
2145
2163
  return null;
2146
- const r = (o) => {
2147
- const { module: i, fallback: s, ...c } = o;
2164
+ const r = (i) => {
2165
+ const {
2166
+ module: o,
2167
+ fallback: s,
2168
+ fallbackOnDisabled: a,
2169
+ autoSwitchOnDisabled: f,
2170
+ ...u
2171
+ } = i;
2148
2172
  return Y.createElement(ze, {
2149
2173
  extension: e,
2150
- module: i,
2174
+ module: o,
2151
2175
  fallback: s,
2152
- props: c
2176
+ fallbackOnDisabled: a,
2177
+ autoSwitchOnDisabled: f,
2178
+ props: u
2153
2179
  });
2154
2180
  };
2155
2181
  return r.displayName = `${n.config.displayName || e}.Component`, r;
@@ -2164,14 +2190,14 @@ function X(e) {
2164
2190
  autoResolve: !1
2165
2191
  }
2166
2192
  );
2167
- return O(() => {
2193
+ return L(() => {
2168
2194
  if (typeof e == "object" && e.id) {
2169
2195
  const r = e;
2170
2196
  if (r.getExtensions) {
2171
- const o = r.getExtensions({
2197
+ const i = r.getExtensions({
2172
2198
  [r.id]: n
2173
2199
  });
2174
- return Object.values(o);
2200
+ return Object.values(i);
2175
2201
  }
2176
2202
  return Object.values(
2177
2203
  n
@@ -2180,82 +2206,82 @@ function X(e) {
2180
2206
  return Object.values(n);
2181
2207
  }, [e, n]);
2182
2208
  }
2183
- function ao(e, t) {
2184
- const { extensions: n } = Fe(), r = X(e);
2185
- return O(() => {
2209
+ function ai(e, t) {
2210
+ const { extensions: n } = Oe(), r = X(e);
2211
+ return L(() => {
2186
2212
  if (!r || r.length === 0)
2187
2213
  return null;
2188
2214
  if (t != null && t.customRanker)
2189
2215
  return t.customRanker(r);
2190
2216
  if (typeof e == "object" && t) {
2191
- let c = r;
2192
- if (t.propertyMatches && (c = c.filter(
2217
+ let a = r;
2218
+ if (t.propertyMatches && (a = a.filter(
2193
2219
  (u) => Object.entries(t.propertyMatches).every(
2194
- ([d, a]) => {
2220
+ ([d, c]) => {
2195
2221
  var x;
2196
- return ((x = u.data) == null ? void 0 : x[d]) === a;
2222
+ return ((x = u.data) == null ? void 0 : x[d]) === c;
2197
2223
  }
2198
2224
  )
2199
2225
  )), t.preferredModule) {
2200
- const u = c.find(
2226
+ const u = a.find(
2201
2227
  (d) => d.sectionId === t.preferredModule
2202
2228
  );
2203
2229
  if (u)
2204
2230
  return u;
2205
2231
  }
2206
- const f = c.reduce((u, d) => (u[d.id] = d, u), {});
2232
+ const f = a.reduce((u, d) => (u[d.id] = d, u), {});
2207
2233
  return ne(f);
2208
2234
  }
2209
- const o = typeof e == "string" ? e : e.id, i = (n == null ? void 0 : n[o]) || {};
2210
- return ne(i, t == null ? void 0 : t.preferredModule);
2235
+ const i = typeof e == "string" ? e : e.id, o = (n == null ? void 0 : n[i]) || {};
2236
+ return ne(o, t == null ? void 0 : t.preferredModule);
2211
2237
  }, [e, r, n, t]);
2212
2238
  }
2213
- function co(e) {
2239
+ function ci(e) {
2214
2240
  return X(e).length > 0;
2215
2241
  }
2216
- function lo(e) {
2242
+ function li(e) {
2217
2243
  return X(e).length;
2218
2244
  }
2219
- function fo(e, t) {
2245
+ function di(e, t) {
2220
2246
  const n = X(e);
2221
- return O(() => {
2247
+ return L(() => {
2222
2248
  let r = n.filter(t.filter);
2223
2249
  return t.sort && (r = r.sort(t.sort)), r;
2224
2250
  }, [n, t.filter, t.sort]);
2225
2251
  }
2226
- function uo(e, t) {
2227
- const n = X(e), [r, o] = B(/* @__PURE__ */ new Map()), i = O(
2252
+ function fi(e, t) {
2253
+ const n = X(e), [r, i] = B(/* @__PURE__ */ new Map()), o = L(
2228
2254
  () => t != null && t.filter ? n.filter(t.filter) : n,
2229
2255
  [n, t == null ? void 0 : t.filter]
2230
2256
  ), s = (t == null ? void 0 : t.moduleProperty) || "module";
2231
2257
  return W(() => {
2232
2258
  (async () => {
2233
2259
  var f;
2234
- for (const u of i) {
2260
+ for (const u of o) {
2235
2261
  const d = u.id;
2236
2262
  if (!r.has(d)) {
2237
- o(
2238
- (a) => new Map(a).set(d, {
2263
+ i(
2264
+ (c) => new Map(c).set(d, {
2239
2265
  module: null,
2240
2266
  loading: !0,
2241
2267
  error: null
2242
2268
  })
2243
2269
  );
2244
2270
  try {
2245
- const a = ((f = u.data) == null ? void 0 : f[s]) || u[s] || `./${u.id}`, x = u.remote;
2271
+ const c = ((f = u.data) == null ? void 0 : f[s]) || u[s] || `./${u.id}`, x = u.remote;
2246
2272
  if (!x)
2247
2273
  throw new Error(`No remote specified for extension ${d}`);
2248
- const { loadRemoteModule: b } = await import("./documentation-generator-Di4c9D9P.js").then((v) => v.i), y = await b(x, a);
2249
- o(
2274
+ const { loadRemoteModule: b } = await import("./documentation-generator-Di4c9D9P.js").then((v) => v.i), y = await b(x, c);
2275
+ i(
2250
2276
  (v) => new Map(v).set(d, {
2251
2277
  module: y,
2252
2278
  loading: !1,
2253
2279
  error: null
2254
2280
  })
2255
2281
  );
2256
- } catch (a) {
2257
- const x = a instanceof Error ? a.message : "Unknown error";
2258
- o(
2282
+ } catch (c) {
2283
+ const x = c instanceof Error ? c.message : "Unknown error";
2284
+ i(
2259
2285
  (b) => new Map(b).set(d, {
2260
2286
  module: null,
2261
2287
  loading: !1,
@@ -2266,73 +2292,73 @@ function uo(e, t) {
2266
2292
  }
2267
2293
  }
2268
2294
  })();
2269
- }, [i, s, r]), O(
2270
- () => i.map((c) => {
2271
- const f = r.get(c.id) || {
2295
+ }, [o, s, r]), L(
2296
+ () => o.map((a) => {
2297
+ const f = r.get(a.id) || {
2272
2298
  module: null,
2273
2299
  loading: !0,
2274
2300
  error: null
2275
2301
  };
2276
2302
  return {
2277
- extension: c,
2303
+ extension: a,
2278
2304
  module: f.module,
2279
2305
  loading: f.loading,
2280
2306
  error: f.error
2281
2307
  };
2282
2308
  }),
2283
- [i, r]
2309
+ [o, r]
2284
2310
  );
2285
2311
  }
2286
- function po(e, t) {
2287
- const n = X(e), r = Zr(e), o = (t == null ? void 0 : t.namespaceProperty) || "namespace", i = O(() => {
2312
+ function ui(e, t) {
2313
+ const n = X(e), r = Zr(e), i = (t == null ? void 0 : t.namespaceProperty) || "namespace", o = L(() => {
2288
2314
  const f = n.map((u) => {
2289
2315
  var d;
2290
- return (d = u.data) == null ? void 0 : d[o];
2316
+ return (d = u.data) == null ? void 0 : d[i];
2291
2317
  }).filter(Boolean);
2292
2318
  return Array.from(new Set(f));
2293
- }, [n, o]), { t: s, i18n: c } = Gt(i);
2319
+ }, [n, i]), { t: s, i18n: a } = Gt(o);
2294
2320
  return {
2295
2321
  extensions: n,
2296
2322
  t: s,
2297
- i18n: c,
2323
+ i18n: a,
2298
2324
  Component: r,
2299
- namespaces: i
2325
+ namespaces: o
2300
2326
  };
2301
2327
  }
2302
2328
  export {
2303
- go as ContributionRegistry,
2329
+ mi as ContributionRegistry,
2304
2330
  ze as DynamicComponent,
2305
2331
  lr as ExtensionPointList,
2306
- oo as FloatingPluginExplorer,
2307
- no as KosPluginProvider,
2332
+ ii as FloatingPluginExplorer,
2333
+ ni as KosPluginProvider,
2308
2334
  kr as PluginCard,
2309
2335
  Br as PluginExplorer,
2310
2336
  Mr as PluginHealthDashboard,
2311
2337
  Kt as ReactiveExtensionRegistry,
2312
2338
  ht as ReactiveExtensionRegistryContext,
2313
2339
  gt as RemotesContext,
2314
- so as createExtensionComponent,
2315
- xo as defineExtensionPoint,
2316
- yo as generatePluginConfiguration,
2317
- bo as getContributions,
2318
- vo as getExtensions,
2340
+ si as createExtensionComponent,
2341
+ gi as defineExtensionPoint,
2342
+ xi as generatePluginConfiguration,
2343
+ yi as getContributions,
2344
+ bi as getExtensions,
2319
2345
  Wt as initPluginManager,
2320
2346
  Yt as initializeKosPlugins,
2321
- Eo as loadExtensions,
2347
+ vi as loadExtensions,
2322
2348
  ne as resolveBestExtension,
2323
- ao as useBest,
2349
+ ai as useBest,
2324
2350
  Zn as useDynamicComponent,
2325
- io as useExtensionComponent,
2351
+ oi as useExtensionComponent,
2326
2352
  Zr as useExtensionComponentById,
2327
- lo as useExtensionCount,
2328
- po as useExtensionI18n,
2329
- ro as useExtensionPoint,
2353
+ li as useExtensionCount,
2354
+ ui as useExtensionI18n,
2355
+ ri as useExtensionPoint,
2330
2356
  X as useExtensions,
2331
2357
  dr as useFilteredExtensionPoints,
2332
- fo as useFilteredExtensions,
2333
- co as useHasExtensions,
2334
- Fe as useKosPluginsContext,
2335
- uo as useModules,
2358
+ di as useFilteredExtensions,
2359
+ ci as useHasExtensions,
2360
+ Oe as useKosPluginsContext,
2361
+ fi as useModules,
2336
2362
  xt as usePluginDiscovery,
2337
2363
  Gn as useReactiveExtensionRegistry,
2338
2364
  mt as useReactiveExtensions