@sme.up/ketchup2 2.0.0-SNAPSHOT-20250704071554 → 2.0.0-SNAPSHOT-20250704072950

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.
@@ -1,7 +1,7 @@
1
1
  import * as He from "react";
2
2
  import rt, { useState as G, useRef as le, useEffect as ne, useCallback as ue, useLayoutEffect as Fn, useId as Ce, useMemo as Vn, createElement as Un } from "react";
3
3
  import { createPortal as Wn } from "react-dom";
4
- var Ke = { exports: {} }, Me = {};
4
+ var Ke = { exports: {} }, Fe = {};
5
5
  /**
6
6
  * @license React
7
7
  * react-jsx-runtime.production.js
@@ -13,7 +13,7 @@ var Ke = { exports: {} }, Me = {};
13
13
  */
14
14
  var Nt;
15
15
  function Yn() {
16
- if (Nt) return Me;
16
+ if (Nt) return Fe;
17
17
  Nt = 1;
18
18
  var n = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
19
19
  function t(r, s, a) {
@@ -31,9 +31,9 @@ function Yn() {
31
31
  props: a
32
32
  };
33
33
  }
34
- return Me.Fragment = e, Me.jsx = t, Me.jsxs = t, Me;
34
+ return Fe.Fragment = e, Fe.jsx = t, Fe.jsxs = t, Fe;
35
35
  }
36
- var Fe = {};
36
+ var Ve = {};
37
37
  /**
38
38
  * @license React
39
39
  * react-jsx-runtime.development.js
@@ -52,17 +52,17 @@ function Bn() {
52
52
  return h.$$typeof === R ? null : h.displayName || h.name || null;
53
53
  if (typeof h == "string") return h;
54
54
  switch (h) {
55
- case b:
55
+ case S:
56
56
  return "Fragment";
57
57
  case E:
58
58
  return "Profiler";
59
59
  case w:
60
60
  return "StrictMode";
61
- case y:
61
+ case g:
62
62
  return "Suspense";
63
- case L:
64
- return "SuspenseList";
65
63
  case k:
64
+ return "SuspenseList";
65
+ case L:
66
66
  return "Activity";
67
67
  }
68
68
  if (typeof h == "object")
@@ -73,9 +73,9 @@ function Bn() {
73
73
  return "Portal";
74
74
  case T:
75
75
  return (h.displayName || "Context") + ".Provider";
76
- case v:
76
+ case b:
77
77
  return (h._context.displayName || "Context") + ".Consumer";
78
- case S:
78
+ case v:
79
79
  var x = h.render;
80
80
  return h = h.displayName, h || (h = x.displayName || x.name || "", h = h !== "" ? "ForwardRef(" + h + ")" : "ForwardRef"), h;
81
81
  case A:
@@ -110,7 +110,7 @@ function Bn() {
110
110
  }
111
111
  }
112
112
  function r(h) {
113
- if (h === b) return "<>";
113
+ if (h === S) return "<>";
114
114
  if (typeof h == "object" && h !== null && h.$$typeof === C)
115
115
  return "<...>";
116
116
  try {
@@ -121,7 +121,7 @@ function Bn() {
121
121
  }
122
122
  }
123
123
  function s() {
124
- var h = j.A;
124
+ var h = D.A;
125
125
  return h === null ? null : h.getOwner();
126
126
  }
127
127
  function a() {
@@ -152,13 +152,13 @@ function Bn() {
152
152
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
153
153
  )), h = this.props.ref, h !== void 0 ? h : null;
154
154
  }
155
- function c(h, x, $, _, D, I, U, W) {
155
+ function c(h, x, $, _, j, I, U, W) {
156
156
  return $ = I.ref, h = {
157
- $$typeof: g,
157
+ $$typeof: y,
158
158
  type: h,
159
159
  key: x,
160
160
  props: I,
161
- _owner: D
161
+ _owner: j
162
162
  }, ($ !== void 0 ? $ : null) !== null ? Object.defineProperty(h, "ref", {
163
163
  enumerable: !1,
164
164
  get: l
@@ -184,7 +184,7 @@ function Bn() {
184
184
  value: W
185
185
  }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
186
186
  }
187
- function d(h, x, $, _, D, I, U, W) {
187
+ function d(h, x, $, _, j, I, U, W) {
188
188
  var V = x.children;
189
189
  if (V !== void 0)
190
190
  if (_)
@@ -227,7 +227,7 @@ React keys must be passed directly to JSX without using spread:
227
227
  h,
228
228
  V,
229
229
  I,
230
- D,
230
+ j,
231
231
  s(),
232
232
  $,
233
233
  U,
@@ -235,9 +235,9 @@ React keys must be passed directly to JSX without using spread:
235
235
  );
236
236
  }
237
237
  function u(h) {
238
- typeof h == "object" && h !== null && h.$$typeof === g && h._store && (h._store.validated = 1);
238
+ typeof h == "object" && h !== null && h.$$typeof === y && h._store && (h._store.validated = 1);
239
239
  }
240
- var f = rt, g = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), E = Symbol.for("react.profiler"), v = Symbol.for("react.consumer"), T = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), R = Symbol.for("react.client.reference"), j = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, O = Object.prototype.hasOwnProperty, P = Array.isArray, N = console.createTask ? console.createTask : function() {
240
+ var f = rt, y = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), S = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), E = Symbol.for("react.profiler"), b = Symbol.for("react.consumer"), T = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), L = Symbol.for("react.activity"), R = Symbol.for("react.client.reference"), D = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, O = Object.prototype.hasOwnProperty, P = Array.isArray, N = console.createTask ? console.createTask : function() {
241
241
  return null;
242
242
  };
243
243
  f = {
@@ -249,39 +249,39 @@ React keys must be passed directly to JSX without using spread:
249
249
  f,
250
250
  a
251
251
  )(), X = N(r(a)), F = {};
252
- Fe.Fragment = b, Fe.jsx = function(h, x, $, _, D) {
253
- var I = 1e4 > j.recentlyCreatedOwnerStacks++;
252
+ Ve.Fragment = S, Ve.jsx = function(h, x, $, _, j) {
253
+ var I = 1e4 > D.recentlyCreatedOwnerStacks++;
254
254
  return d(
255
255
  h,
256
256
  x,
257
257
  $,
258
258
  !1,
259
259
  _,
260
- D,
260
+ j,
261
261
  I ? Error("react-stack-top-frame") : q,
262
262
  I ? N(r(h)) : X
263
263
  );
264
- }, Fe.jsxs = function(h, x, $, _, D) {
265
- var I = 1e4 > j.recentlyCreatedOwnerStacks++;
264
+ }, Ve.jsxs = function(h, x, $, _, j) {
265
+ var I = 1e4 > D.recentlyCreatedOwnerStacks++;
266
266
  return d(
267
267
  h,
268
268
  x,
269
269
  $,
270
270
  !0,
271
271
  _,
272
- D,
272
+ j,
273
273
  I ? Error("react-stack-top-frame") : q,
274
274
  I ? N(r(h)) : X
275
275
  );
276
276
  };
277
- }()), Fe;
277
+ }()), Ve;
278
278
  }
279
279
  var Ft;
280
280
  function Gn() {
281
281
  return Ft || (Ft = 1, process.env.NODE_ENV === "production" ? Ke.exports = Yn() : Ke.exports = Bn()), Ke.exports;
282
282
  }
283
283
  var m = Gn();
284
- const je = ({ label: n, disabled: e, htmlFor: t }) => {
284
+ const De = ({ label: n, disabled: e, htmlFor: t }) => {
285
285
  const r = {
286
286
  container: `smp-label ${e ? "smp-label-disabled" : ""}`
287
287
  };
@@ -382,15 +382,15 @@ function qn() {
382
382
  function i(u) {
383
383
  if (!u || typeof u != "object")
384
384
  throw new TypeError("argument obj is required");
385
- var f = u.parameters, g = u.type;
386
- if (!g || !a.test(g))
385
+ var f = u.parameters, y = u.type;
386
+ if (!y || !a.test(y))
387
387
  throw new TypeError("invalid type");
388
- var p = g;
388
+ var p = y;
389
389
  if (f && typeof f == "object")
390
- for (var b, w = Object.keys(f).sort(), E = 0; E < w.length; E++) {
391
- if (b = w[E], !t.test(b))
390
+ for (var S, w = Object.keys(f).sort(), E = 0; E < w.length; E++) {
391
+ if (S = w[E], !t.test(S))
392
392
  throw new TypeError("invalid parameter name");
393
- p += "; " + b + "=" + c(f[b]);
393
+ p += "; " + S + "=" + c(f[S]);
394
394
  }
395
395
  return p;
396
396
  }
@@ -400,21 +400,21 @@ function qn() {
400
400
  var f = typeof u == "object" ? l(u) : u;
401
401
  if (typeof f != "string")
402
402
  throw new TypeError("argument string is required to be a string");
403
- var g = f.indexOf(";"), p = g !== -1 ? f.slice(0, g).trim() : f.trim();
403
+ var y = f.indexOf(";"), p = y !== -1 ? f.slice(0, y).trim() : f.trim();
404
404
  if (!a.test(p))
405
405
  throw new TypeError("invalid media type");
406
- var b = new d(p.toLowerCase());
407
- if (g !== -1) {
408
- var w, E, v;
409
- for (n.lastIndex = g; E = n.exec(f); ) {
410
- if (E.index !== g)
406
+ var S = new d(p.toLowerCase());
407
+ if (y !== -1) {
408
+ var w, E, b;
409
+ for (n.lastIndex = y; E = n.exec(f); ) {
410
+ if (E.index !== y)
411
411
  throw new TypeError("invalid parameter format");
412
- g += E[0].length, w = E[1].toLowerCase(), v = E[2], v.charCodeAt(0) === 34 && (v = v.slice(1, -1), v.indexOf("\\") !== -1 && (v = v.replace(r, "$1"))), b.parameters[w] = v;
412
+ y += E[0].length, w = E[1].toLowerCase(), b = E[2], b.charCodeAt(0) === 34 && (b = b.slice(1, -1), b.indexOf("\\") !== -1 && (b = b.replace(r, "$1"))), S.parameters[w] = b;
413
413
  }
414
- if (g !== f.length)
414
+ if (y !== f.length)
415
415
  throw new TypeError("invalid parameter format");
416
416
  }
417
- return b;
417
+ return S;
418
418
  }
419
419
  function l(u) {
420
420
  var f;
@@ -435,7 +435,7 @@ function qn() {
435
435
  }
436
436
  return ze;
437
437
  }
438
- var Jn = qn(), Pe = /* @__PURE__ */ new Map(), _n = function(e) {
438
+ var Jn = qn(), Ie = /* @__PURE__ */ new Map(), _n = function(e) {
439
439
  return e.cloneNode(!0);
440
440
  }, Yt = function() {
441
441
  return window.location.protocol === "file:";
@@ -472,15 +472,15 @@ var Jn = qn(), Pe = /* @__PURE__ */ new Map(), _n = function(e) {
472
472
  for (var t = function(i, o) {
473
473
  setTimeout(function() {
474
474
  if (Array.isArray(xe[e])) {
475
- var l = Pe.get(e), c = xe[e][i];
475
+ var l = Ie.get(e), c = xe[e][i];
476
476
  l instanceof SVGSVGElement && c(null, _n(l)), l instanceof Error && c(l), i === xe[e].length - 1 && delete xe[e];
477
477
  }
478
478
  }, 0);
479
479
  }, r = 0, s = xe[e].length; r < s; r++)
480
480
  t(r);
481
481
  }, Zn = function(e, t, r) {
482
- if (Pe.has(e)) {
483
- var s = Pe.get(e);
482
+ if (Ie.has(e)) {
483
+ var s = Ie.get(e);
484
484
  if (s === void 0) {
485
485
  Bt(e, r);
486
486
  return;
@@ -490,9 +490,9 @@ var Jn = qn(), Pe = /* @__PURE__ */ new Map(), _n = function(e) {
490
490
  return;
491
491
  }
492
492
  }
493
- Pe.set(e, void 0), Bt(e, r), Rn(e, t, function(a, i) {
493
+ Ie.set(e, void 0), Bt(e, r), Rn(e, t, function(a, i) {
494
494
  var o;
495
- a ? Pe.set(e, a) : ((o = i.responseXML) === null || o === void 0 ? void 0 : o.documentElement) instanceof SVGSVGElement && Pe.set(e, i.responseXML.documentElement), Xn(e);
495
+ a ? Ie.set(e, a) : ((o = i.responseXML) === null || o === void 0 ? void 0 : o.documentElement) instanceof SVGSVGElement && Ie.set(e, i.responseXML.documentElement), Xn(e);
496
496
  });
497
497
  }, Qn = function(e, t, r) {
498
498
  Rn(e, t, function(s, a) {
@@ -520,20 +520,20 @@ var Jn = qn(), Pe = /* @__PURE__ */ new Map(), _n = function(e) {
520
520
  }
521
521
  var f = e.getAttribute("id");
522
522
  f && u.setAttribute("id", f);
523
- var g = e.getAttribute("title");
524
- g && u.setAttribute("title", g);
523
+ var y = e.getAttribute("title");
524
+ y && u.setAttribute("title", y);
525
525
  var p = e.getAttribute("width");
526
526
  p && u.setAttribute("width", p);
527
- var b = e.getAttribute("height");
528
- b && u.setAttribute("height", b);
527
+ var S = e.getAttribute("height");
528
+ S && u.setAttribute("height", S);
529
529
  var w = Array.from(new Set(gt(gt(gt([], (u.getAttribute("class") || "").split(" "), !0), ["injected-svg"], !1), (e.getAttribute("class") || "").split(" "), !0))).join(" ").trim();
530
530
  u.setAttribute("class", w);
531
531
  var E = e.getAttribute("style");
532
532
  E && u.setAttribute("style", E), u.setAttribute("data-src", l);
533
- var v = [].filter.call(e.attributes, function(X) {
533
+ var b = [].filter.call(e.attributes, function(X) {
534
534
  return /^data-\w[\w-]*$/.test(X.name);
535
535
  });
536
- if (Array.prototype.forEach.call(v, function(X) {
536
+ if (Array.prototype.forEach.call(b, function(X) {
537
537
  X.name && X.value && u.setAttribute(X.name, X.value);
538
538
  }), r) {
539
539
  var T = {
@@ -547,13 +547,13 @@ var Jn = qn(), Pe = /* @__PURE__ */ new Map(), _n = function(e) {
547
547
  path: [],
548
548
  pattern: ["fill", "stroke"],
549
549
  radialGradient: ["fill", "stroke"]
550
- }, S, y, L, A, C;
550
+ }, v, g, k, A, C;
551
551
  Object.keys(T).forEach(function(X) {
552
- S = X, L = T[X], y = u.querySelectorAll(S + "[id]");
553
- for (var F = function(_, D) {
554
- A = y[_].id, C = A + "-" + tr();
552
+ v = X, k = T[X], g = u.querySelectorAll(v + "[id]");
553
+ for (var F = function(_, j) {
554
+ A = g[_].id, C = A + "-" + tr();
555
555
  var I;
556
- Array.prototype.forEach.call(L, function(Y) {
556
+ Array.prototype.forEach.call(k, function(Y) {
557
557
  I = u.querySelectorAll("[" + Y + '*="' + A + '"]');
558
558
  for (var Z = 0, re = I.length; Z < re; Z++) {
559
559
  var ae = I[Z].getAttribute(Y);
@@ -562,18 +562,18 @@ var Jn = qn(), Pe = /* @__PURE__ */ new Map(), _n = function(e) {
562
562
  });
563
563
  for (var U = u.querySelectorAll("[*|href]"), W = [], V = 0, J = U.length; V < J; V++) {
564
564
  var K = U[V].getAttributeNS(yt, "href");
565
- K && K.toString() === "#" + y[_].id && W.push(U[V]);
565
+ K && K.toString() === "#" + g[_].id && W.push(U[V]);
566
566
  }
567
567
  for (var se = 0, M = W.length; se < M; se++)
568
568
  W[se].setAttributeNS(yt, "href", "#" + C);
569
- y[_].id = C;
570
- }, h = 0, x = y.length; h < x; h++)
569
+ g[_].id = C;
570
+ }, h = 0, x = g.length; h < x; h++)
571
571
  F(h);
572
572
  });
573
573
  }
574
574
  u.removeAttribute("xmlns:a");
575
- for (var k = u.querySelectorAll("script"), R = [], j, O, P = 0, N = k.length; P < N; P++)
576
- O = k[P].getAttribute("type"), (!O || O === "application/ecmascript" || O === "application/javascript" || O === "text/javascript") && (j = k[P].innerText || k[P].textContent, j && R.push(j), u.removeChild(k[P]));
575
+ for (var L = u.querySelectorAll("script"), R = [], D, O, P = 0, N = L.length; P < N; P++)
576
+ O = L[P].getAttribute("type"), (!O || O === "application/ecmascript" || O === "application/javascript" || O === "text/javascript") && (D = L[P].innerText || L[P].textContent, D && R.push(D), u.removeChild(L[P]));
577
577
  if (R.length > 0 && (t === "always" || t === "once" && !Gt[l])) {
578
578
  for (var B = 0, H = R.length; B < H; B++)
579
579
  new Function(R[B])(window);
@@ -592,14 +592,14 @@ var Jn = qn(), Pe = /* @__PURE__ */ new Map(), _n = function(e) {
592
592
  var r = t === void 0 ? {} : t, s = r.afterAll, a = s === void 0 ? function() {
593
593
  } : s, i = r.afterEach, o = i === void 0 ? function() {
594
594
  } : i, l = r.beforeEach, c = l === void 0 ? function() {
595
- } : l, d = r.cacheRequests, u = d === void 0 ? !0 : d, f = r.evalScripts, g = f === void 0 ? "never" : f, p = r.httpRequestWithCredentials, b = p === void 0 ? !1 : p, w = r.renumerateIRIElements, E = w === void 0 ? !0 : w;
595
+ } : l, d = r.cacheRequests, u = d === void 0 ? !0 : d, f = r.evalScripts, y = f === void 0 ? "never" : f, p = r.httpRequestWithCredentials, S = p === void 0 ? !1 : p, w = r.renumerateIRIElements, E = w === void 0 ? !0 : w;
596
596
  if (e && "length" in e)
597
- for (var v = 0, T = 0, S = e.length; T < S; T++)
598
- Ht(e[T], g, E, u, b, c, function(y, L) {
599
- o(y, L), e && "length" in e && e.length === ++v && a(v);
597
+ for (var b = 0, T = 0, v = e.length; T < v; T++)
598
+ Ht(e[T], y, E, u, S, c, function(g, k) {
599
+ o(g, k), e && "length" in e && e.length === ++b && a(b);
600
600
  });
601
- else e ? Ht(e, g, E, u, b, c, function(y, L) {
602
- o(y, L), a(1), e = null;
601
+ else e ? Ht(e, y, E, u, S, c, function(g, k) {
602
+ o(g, k), a(1), e = null;
603
603
  }) : a(0);
604
604
  }, qe = { exports: {} }, Je = { exports: {} }, Q = {};
605
605
  /** @license React v16.13.1
@@ -614,66 +614,66 @@ var Kt;
614
614
  function sr() {
615
615
  if (Kt) return Q;
616
616
  Kt = 1;
617
- var n = typeof Symbol == "function" && Symbol.for, e = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, r = n ? Symbol.for("react.fragment") : 60107, s = n ? Symbol.for("react.strict_mode") : 60108, a = n ? Symbol.for("react.profiler") : 60114, i = n ? Symbol.for("react.provider") : 60109, o = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, c = n ? Symbol.for("react.concurrent_mode") : 60111, d = n ? Symbol.for("react.forward_ref") : 60112, u = n ? Symbol.for("react.suspense") : 60113, f = n ? Symbol.for("react.suspense_list") : 60120, g = n ? Symbol.for("react.memo") : 60115, p = n ? Symbol.for("react.lazy") : 60116, b = n ? Symbol.for("react.block") : 60121, w = n ? Symbol.for("react.fundamental") : 60117, E = n ? Symbol.for("react.responder") : 60118, v = n ? Symbol.for("react.scope") : 60119;
618
- function T(y) {
619
- if (typeof y == "object" && y !== null) {
620
- var L = y.$$typeof;
621
- switch (L) {
617
+ var n = typeof Symbol == "function" && Symbol.for, e = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, r = n ? Symbol.for("react.fragment") : 60107, s = n ? Symbol.for("react.strict_mode") : 60108, a = n ? Symbol.for("react.profiler") : 60114, i = n ? Symbol.for("react.provider") : 60109, o = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, c = n ? Symbol.for("react.concurrent_mode") : 60111, d = n ? Symbol.for("react.forward_ref") : 60112, u = n ? Symbol.for("react.suspense") : 60113, f = n ? Symbol.for("react.suspense_list") : 60120, y = n ? Symbol.for("react.memo") : 60115, p = n ? Symbol.for("react.lazy") : 60116, S = n ? Symbol.for("react.block") : 60121, w = n ? Symbol.for("react.fundamental") : 60117, E = n ? Symbol.for("react.responder") : 60118, b = n ? Symbol.for("react.scope") : 60119;
618
+ function T(g) {
619
+ if (typeof g == "object" && g !== null) {
620
+ var k = g.$$typeof;
621
+ switch (k) {
622
622
  case e:
623
- switch (y = y.type, y) {
623
+ switch (g = g.type, g) {
624
624
  case l:
625
625
  case c:
626
626
  case r:
627
627
  case a:
628
628
  case s:
629
629
  case u:
630
- return y;
630
+ return g;
631
631
  default:
632
- switch (y = y && y.$$typeof, y) {
632
+ switch (g = g && g.$$typeof, g) {
633
633
  case o:
634
634
  case d:
635
635
  case p:
636
- case g:
636
+ case y:
637
637
  case i:
638
- return y;
638
+ return g;
639
639
  default:
640
- return L;
640
+ return k;
641
641
  }
642
642
  }
643
643
  case t:
644
- return L;
644
+ return k;
645
645
  }
646
646
  }
647
647
  }
648
- function S(y) {
649
- return T(y) === c;
650
- }
651
- return Q.AsyncMode = l, Q.ConcurrentMode = c, Q.ContextConsumer = o, Q.ContextProvider = i, Q.Element = e, Q.ForwardRef = d, Q.Fragment = r, Q.Lazy = p, Q.Memo = g, Q.Portal = t, Q.Profiler = a, Q.StrictMode = s, Q.Suspense = u, Q.isAsyncMode = function(y) {
652
- return S(y) || T(y) === l;
653
- }, Q.isConcurrentMode = S, Q.isContextConsumer = function(y) {
654
- return T(y) === o;
655
- }, Q.isContextProvider = function(y) {
656
- return T(y) === i;
657
- }, Q.isElement = function(y) {
658
- return typeof y == "object" && y !== null && y.$$typeof === e;
659
- }, Q.isForwardRef = function(y) {
660
- return T(y) === d;
661
- }, Q.isFragment = function(y) {
662
- return T(y) === r;
663
- }, Q.isLazy = function(y) {
664
- return T(y) === p;
665
- }, Q.isMemo = function(y) {
666
- return T(y) === g;
667
- }, Q.isPortal = function(y) {
668
- return T(y) === t;
669
- }, Q.isProfiler = function(y) {
670
- return T(y) === a;
671
- }, Q.isStrictMode = function(y) {
672
- return T(y) === s;
673
- }, Q.isSuspense = function(y) {
674
- return T(y) === u;
675
- }, Q.isValidElementType = function(y) {
676
- return typeof y == "string" || typeof y == "function" || y === r || y === c || y === a || y === s || y === u || y === f || typeof y == "object" && y !== null && (y.$$typeof === p || y.$$typeof === g || y.$$typeof === i || y.$$typeof === o || y.$$typeof === d || y.$$typeof === w || y.$$typeof === E || y.$$typeof === v || y.$$typeof === b);
648
+ function v(g) {
649
+ return T(g) === c;
650
+ }
651
+ return Q.AsyncMode = l, Q.ConcurrentMode = c, Q.ContextConsumer = o, Q.ContextProvider = i, Q.Element = e, Q.ForwardRef = d, Q.Fragment = r, Q.Lazy = p, Q.Memo = y, Q.Portal = t, Q.Profiler = a, Q.StrictMode = s, Q.Suspense = u, Q.isAsyncMode = function(g) {
652
+ return v(g) || T(g) === l;
653
+ }, Q.isConcurrentMode = v, Q.isContextConsumer = function(g) {
654
+ return T(g) === o;
655
+ }, Q.isContextProvider = function(g) {
656
+ return T(g) === i;
657
+ }, Q.isElement = function(g) {
658
+ return typeof g == "object" && g !== null && g.$$typeof === e;
659
+ }, Q.isForwardRef = function(g) {
660
+ return T(g) === d;
661
+ }, Q.isFragment = function(g) {
662
+ return T(g) === r;
663
+ }, Q.isLazy = function(g) {
664
+ return T(g) === p;
665
+ }, Q.isMemo = function(g) {
666
+ return T(g) === y;
667
+ }, Q.isPortal = function(g) {
668
+ return T(g) === t;
669
+ }, Q.isProfiler = function(g) {
670
+ return T(g) === a;
671
+ }, Q.isStrictMode = function(g) {
672
+ return T(g) === s;
673
+ }, Q.isSuspense = function(g) {
674
+ return T(g) === u;
675
+ }, Q.isValidElementType = function(g) {
676
+ return typeof g == "string" || typeof g == "function" || g === r || g === c || g === a || g === s || g === u || g === f || typeof g == "object" && g !== null && (g.$$typeof === p || g.$$typeof === y || g.$$typeof === i || g.$$typeof === o || g.$$typeof === d || g.$$typeof === w || g.$$typeof === E || g.$$typeof === b || g.$$typeof === S);
677
677
  }, Q.typeOf = T, Q;
678
678
  }
679
679
  var ee = {};
@@ -688,12 +688,12 @@ var ee = {};
688
688
  var zt;
689
689
  function ar() {
690
690
  return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
691
- var n = typeof Symbol == "function" && Symbol.for, e = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, r = n ? Symbol.for("react.fragment") : 60107, s = n ? Symbol.for("react.strict_mode") : 60108, a = n ? Symbol.for("react.profiler") : 60114, i = n ? Symbol.for("react.provider") : 60109, o = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, c = n ? Symbol.for("react.concurrent_mode") : 60111, d = n ? Symbol.for("react.forward_ref") : 60112, u = n ? Symbol.for("react.suspense") : 60113, f = n ? Symbol.for("react.suspense_list") : 60120, g = n ? Symbol.for("react.memo") : 60115, p = n ? Symbol.for("react.lazy") : 60116, b = n ? Symbol.for("react.block") : 60121, w = n ? Symbol.for("react.fundamental") : 60117, E = n ? Symbol.for("react.responder") : 60118, v = n ? Symbol.for("react.scope") : 60119;
691
+ var n = typeof Symbol == "function" && Symbol.for, e = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, r = n ? Symbol.for("react.fragment") : 60107, s = n ? Symbol.for("react.strict_mode") : 60108, a = n ? Symbol.for("react.profiler") : 60114, i = n ? Symbol.for("react.provider") : 60109, o = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, c = n ? Symbol.for("react.concurrent_mode") : 60111, d = n ? Symbol.for("react.forward_ref") : 60112, u = n ? Symbol.for("react.suspense") : 60113, f = n ? Symbol.for("react.suspense_list") : 60120, y = n ? Symbol.for("react.memo") : 60115, p = n ? Symbol.for("react.lazy") : 60116, S = n ? Symbol.for("react.block") : 60121, w = n ? Symbol.for("react.fundamental") : 60117, E = n ? Symbol.for("react.responder") : 60118, b = n ? Symbol.for("react.scope") : 60119;
692
692
  function T(M) {
693
693
  return typeof M == "string" || typeof M == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
694
- M === r || M === c || M === a || M === s || M === u || M === f || typeof M == "object" && M !== null && (M.$$typeof === p || M.$$typeof === g || M.$$typeof === i || M.$$typeof === o || M.$$typeof === d || M.$$typeof === w || M.$$typeof === E || M.$$typeof === v || M.$$typeof === b);
694
+ M === r || M === c || M === a || M === s || M === u || M === f || typeof M == "object" && M !== null && (M.$$typeof === p || M.$$typeof === y || M.$$typeof === i || M.$$typeof === o || M.$$typeof === d || M.$$typeof === w || M.$$typeof === E || M.$$typeof === b || M.$$typeof === S);
695
695
  }
696
- function S(M) {
696
+ function v(M) {
697
697
  if (typeof M == "object" && M !== null) {
698
698
  var Y = M.$$typeof;
699
699
  switch (Y) {
@@ -713,7 +713,7 @@ function ar() {
713
713
  case o:
714
714
  case d:
715
715
  case p:
716
- case g:
716
+ case y:
717
717
  case i:
718
718
  return re;
719
719
  default:
@@ -725,51 +725,51 @@ function ar() {
725
725
  }
726
726
  }
727
727
  }
728
- var y = l, L = c, A = o, C = i, k = e, R = d, j = r, O = p, P = g, N = t, B = a, H = s, q = u, X = !1;
728
+ var g = l, k = c, A = o, C = i, L = e, R = d, D = r, O = p, P = y, N = t, B = a, H = s, q = u, X = !1;
729
729
  function F(M) {
730
- return X || (X = !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.")), h(M) || S(M) === l;
730
+ return X || (X = !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.")), h(M) || v(M) === l;
731
731
  }
732
732
  function h(M) {
733
- return S(M) === c;
733
+ return v(M) === c;
734
734
  }
735
735
  function x(M) {
736
- return S(M) === o;
736
+ return v(M) === o;
737
737
  }
738
738
  function $(M) {
739
- return S(M) === i;
739
+ return v(M) === i;
740
740
  }
741
741
  function _(M) {
742
742
  return typeof M == "object" && M !== null && M.$$typeof === e;
743
743
  }
744
- function D(M) {
745
- return S(M) === d;
744
+ function j(M) {
745
+ return v(M) === d;
746
746
  }
747
747
  function I(M) {
748
- return S(M) === r;
748
+ return v(M) === r;
749
749
  }
750
750
  function U(M) {
751
- return S(M) === p;
751
+ return v(M) === p;
752
752
  }
753
753
  function W(M) {
754
- return S(M) === g;
754
+ return v(M) === y;
755
755
  }
756
756
  function V(M) {
757
- return S(M) === t;
757
+ return v(M) === t;
758
758
  }
759
759
  function J(M) {
760
- return S(M) === a;
760
+ return v(M) === a;
761
761
  }
762
762
  function K(M) {
763
- return S(M) === s;
763
+ return v(M) === s;
764
764
  }
765
765
  function se(M) {
766
- return S(M) === u;
766
+ return v(M) === u;
767
767
  }
768
- ee.AsyncMode = y, ee.ConcurrentMode = L, ee.ContextConsumer = A, ee.ContextProvider = C, ee.Element = k, ee.ForwardRef = R, ee.Fragment = j, ee.Lazy = O, ee.Memo = P, ee.Portal = N, ee.Profiler = B, ee.StrictMode = H, ee.Suspense = q, ee.isAsyncMode = F, ee.isConcurrentMode = h, ee.isContextConsumer = x, ee.isContextProvider = $, ee.isElement = _, ee.isForwardRef = D, ee.isFragment = I, ee.isLazy = U, ee.isMemo = W, ee.isPortal = V, ee.isProfiler = J, ee.isStrictMode = K, ee.isSuspense = se, ee.isValidElementType = T, ee.typeOf = S;
768
+ ee.AsyncMode = g, ee.ConcurrentMode = k, ee.ContextConsumer = A, ee.ContextProvider = C, ee.Element = L, ee.ForwardRef = R, ee.Fragment = D, ee.Lazy = O, ee.Memo = P, ee.Portal = N, ee.Profiler = B, ee.StrictMode = H, ee.Suspense = q, ee.isAsyncMode = F, ee.isConcurrentMode = h, ee.isContextConsumer = x, ee.isContextProvider = $, ee.isElement = _, ee.isForwardRef = j, ee.isFragment = I, ee.isLazy = U, ee.isMemo = W, ee.isPortal = V, ee.isProfiler = J, ee.isStrictMode = K, ee.isSuspense = se, ee.isValidElementType = T, ee.typeOf = v;
769
769
  }()), ee;
770
770
  }
771
771
  var qt;
772
- function jn() {
772
+ function Dn() {
773
773
  return qt || (qt = 1, process.env.NODE_ENV === "production" ? Je.exports = sr() : Je.exports = ar()), Je.exports;
774
774
  }
775
775
  /*
@@ -831,7 +831,7 @@ function $t() {
831
831
  return vt = n, vt;
832
832
  }
833
833
  var xt, Zt;
834
- function Dn() {
834
+ function jn() {
835
835
  return Zt || (Zt = 1, xt = Function.call.bind(Object.prototype.hasOwnProperty)), xt;
836
836
  }
837
837
  var St, Qt;
@@ -841,7 +841,7 @@ function ir() {
841
841
  var n = function() {
842
842
  };
843
843
  if (process.env.NODE_ENV !== "production") {
844
- var e = /* @__PURE__ */ $t(), t = {}, r = /* @__PURE__ */ Dn();
844
+ var e = /* @__PURE__ */ $t(), t = {}, r = /* @__PURE__ */ jn();
845
845
  n = function(a) {
846
846
  var i = "Warning: " + a;
847
847
  typeof console < "u" && console.error(i);
@@ -871,9 +871,9 @@ function ir() {
871
871
  (l || "React class") + ": type specification of " + o + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
872
872
  ), u instanceof Error && !(u.message in t)) {
873
873
  t[u.message] = !0;
874
- var g = c ? c() : "";
874
+ var y = c ? c() : "";
875
875
  n(
876
- "Failed " + o + " type: " + u.message + (g ?? "")
876
+ "Failed " + o + " type: " + u.message + (y ?? "")
877
877
  );
878
878
  }
879
879
  }
@@ -887,7 +887,7 @@ var wt, en;
887
887
  function lr() {
888
888
  if (en) return wt;
889
889
  en = 1;
890
- var n = jn(), e = or(), t = /* @__PURE__ */ $t(), r = /* @__PURE__ */ Dn(), s = /* @__PURE__ */ ir(), a = function() {
890
+ var n = Dn(), e = or(), t = /* @__PURE__ */ $t(), r = /* @__PURE__ */ jn(), s = /* @__PURE__ */ ir(), a = function() {
891
891
  };
892
892
  process.env.NODE_ENV !== "production" && (a = function(o) {
893
893
  var l = "Warning: " + o;
@@ -907,7 +907,7 @@ function lr() {
907
907
  if (typeof x == "function")
908
908
  return x;
909
909
  }
910
- var f = "<<anonymous>>", g = {
910
+ var f = "<<anonymous>>", y = {
911
911
  array: E("array"),
912
912
  bigint: E("bigint"),
913
913
  bool: E("boolean"),
@@ -916,25 +916,25 @@ function lr() {
916
916
  object: E("object"),
917
917
  string: E("string"),
918
918
  symbol: E("symbol"),
919
- any: v(),
919
+ any: b(),
920
920
  arrayOf: T,
921
- element: S(),
922
- elementType: y(),
923
- instanceOf: L,
921
+ element: v(),
922
+ elementType: g(),
923
+ instanceOf: k,
924
924
  node: R(),
925
925
  objectOf: C,
926
926
  oneOf: A,
927
- oneOfType: k,
927
+ oneOfType: L,
928
928
  shape: O,
929
929
  exact: P
930
930
  };
931
931
  function p(h, x) {
932
932
  return h === x ? h !== 0 || 1 / h === 1 / x : h !== h && x !== x;
933
933
  }
934
- function b(h, x) {
934
+ function S(h, x) {
935
935
  this.message = h, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
936
936
  }
937
- b.prototype = Error.prototype;
937
+ S.prototype = Error.prototype;
938
938
  function w(h) {
939
939
  if (process.env.NODE_ENV !== "production")
940
940
  var x = {}, $ = 0;
@@ -953,18 +953,18 @@ function lr() {
953
953
  ), x[Y] = !0, $++);
954
954
  }
955
955
  }
956
- return U[W] == null ? I ? U[W] === null ? new b("The " + J + " `" + K + "` is marked as required " + ("in `" + V + "`, but its value is `null`.")) : new b("The " + J + " `" + K + "` is marked as required in " + ("`" + V + "`, but its value is `undefined`.")) : null : h(U, W, V, J, K);
956
+ return U[W] == null ? I ? U[W] === null ? new S("The " + J + " `" + K + "` is marked as required " + ("in `" + V + "`, but its value is `null`.")) : new S("The " + J + " `" + K + "` is marked as required in " + ("`" + V + "`, but its value is `undefined`.")) : null : h(U, W, V, J, K);
957
957
  }
958
- var D = _.bind(null, !1);
959
- return D.isRequired = _.bind(null, !0), D;
958
+ var j = _.bind(null, !1);
959
+ return j.isRequired = _.bind(null, !0), j;
960
960
  }
961
961
  function E(h) {
962
- function x($, _, D, I, U, W) {
962
+ function x($, _, j, I, U, W) {
963
963
  var V = $[_], J = H(V);
964
964
  if (J !== h) {
965
965
  var K = q(V);
966
- return new b(
967
- "Invalid " + I + " `" + U + "` of type " + ("`" + K + "` supplied to `" + D + "`, expected ") + ("`" + h + "`."),
966
+ return new S(
967
+ "Invalid " + I + " `" + U + "` of type " + ("`" + K + "` supplied to `" + j + "`, expected ") + ("`" + h + "`."),
968
968
  { expectedType: h }
969
969
  );
970
970
  }
@@ -972,20 +972,20 @@ function lr() {
972
972
  }
973
973
  return w(x);
974
974
  }
975
- function v() {
975
+ function b() {
976
976
  return w(i);
977
977
  }
978
978
  function T(h) {
979
- function x($, _, D, I, U) {
979
+ function x($, _, j, I, U) {
980
980
  if (typeof h != "function")
981
- return new b("Property `" + U + "` of component `" + D + "` has invalid PropType notation inside arrayOf.");
981
+ return new S("Property `" + U + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
982
982
  var W = $[_];
983
983
  if (!Array.isArray(W)) {
984
984
  var V = H(W);
985
- return new b("Invalid " + I + " `" + U + "` of type " + ("`" + V + "` supplied to `" + D + "`, expected an array."));
985
+ return new S("Invalid " + I + " `" + U + "` of type " + ("`" + V + "` supplied to `" + j + "`, expected an array."));
986
986
  }
987
987
  for (var J = 0; J < W.length; J++) {
988
- var K = h(W, J, D, I, U + "[" + J + "]", t);
988
+ var K = h(W, J, j, I, U + "[" + J + "]", t);
989
989
  if (K instanceof Error)
990
990
  return K;
991
991
  }
@@ -993,33 +993,33 @@ function lr() {
993
993
  }
994
994
  return w(x);
995
995
  }
996
- function S() {
997
- function h(x, $, _, D, I) {
996
+ function v() {
997
+ function h(x, $, _, j, I) {
998
998
  var U = x[$];
999
999
  if (!o(U)) {
1000
1000
  var W = H(U);
1001
- return new b("Invalid " + D + " `" + I + "` of type " + ("`" + W + "` supplied to `" + _ + "`, expected a single ReactElement."));
1001
+ return new S("Invalid " + j + " `" + I + "` of type " + ("`" + W + "` supplied to `" + _ + "`, expected a single ReactElement."));
1002
1002
  }
1003
1003
  return null;
1004
1004
  }
1005
1005
  return w(h);
1006
1006
  }
1007
- function y() {
1008
- function h(x, $, _, D, I) {
1007
+ function g() {
1008
+ function h(x, $, _, j, I) {
1009
1009
  var U = x[$];
1010
1010
  if (!n.isValidElementType(U)) {
1011
1011
  var W = H(U);
1012
- return new b("Invalid " + D + " `" + I + "` of type " + ("`" + W + "` supplied to `" + _ + "`, expected a single ReactElement type."));
1012
+ return new S("Invalid " + j + " `" + I + "` of type " + ("`" + W + "` supplied to `" + _ + "`, expected a single ReactElement type."));
1013
1013
  }
1014
1014
  return null;
1015
1015
  }
1016
1016
  return w(h);
1017
1017
  }
1018
- function L(h) {
1019
- function x($, _, D, I, U) {
1018
+ function k(h) {
1019
+ function x($, _, j, I, U) {
1020
1020
  if (!($[_] instanceof h)) {
1021
1021
  var W = h.name || f, V = F($[_]);
1022
- return new b("Invalid " + I + " `" + U + "` of type " + ("`" + V + "` supplied to `" + D + "`, expected ") + ("instance of `" + W + "`."));
1022
+ return new S("Invalid " + I + " `" + U + "` of type " + ("`" + V + "` supplied to `" + j + "`, expected ") + ("instance of `" + W + "`."));
1023
1023
  }
1024
1024
  return null;
1025
1025
  }
@@ -1030,7 +1030,7 @@ function lr() {
1030
1030
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
1031
1031
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1032
1032
  ) : a("Invalid argument supplied to oneOf, expected an array.")), i;
1033
- function x($, _, D, I, U) {
1033
+ function x($, _, j, I, U) {
1034
1034
  for (var W = $[_], V = 0; V < h.length; V++)
1035
1035
  if (p(W, h[V]))
1036
1036
  return null;
@@ -1038,20 +1038,20 @@ function lr() {
1038
1038
  var Y = q(M);
1039
1039
  return Y === "symbol" ? String(M) : M;
1040
1040
  });
1041
- return new b("Invalid " + I + " `" + U + "` of value `" + String(W) + "` " + ("supplied to `" + D + "`, expected one of " + J + "."));
1041
+ return new S("Invalid " + I + " `" + U + "` of value `" + String(W) + "` " + ("supplied to `" + j + "`, expected one of " + J + "."));
1042
1042
  }
1043
1043
  return w(x);
1044
1044
  }
1045
1045
  function C(h) {
1046
- function x($, _, D, I, U) {
1046
+ function x($, _, j, I, U) {
1047
1047
  if (typeof h != "function")
1048
- return new b("Property `" + U + "` of component `" + D + "` has invalid PropType notation inside objectOf.");
1048
+ return new S("Property `" + U + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
1049
1049
  var W = $[_], V = H(W);
1050
1050
  if (V !== "object")
1051
- return new b("Invalid " + I + " `" + U + "` of type " + ("`" + V + "` supplied to `" + D + "`, expected an object."));
1051
+ return new S("Invalid " + I + " `" + U + "` of type " + ("`" + V + "` supplied to `" + j + "`, expected an object."));
1052
1052
  for (var J in W)
1053
1053
  if (r(W, J)) {
1054
- var K = h(W, J, D, I, U + "." + J, t);
1054
+ var K = h(W, J, j, I, U + "." + J, t);
1055
1055
  if (K instanceof Error)
1056
1056
  return K;
1057
1057
  }
@@ -1059,7 +1059,7 @@ function lr() {
1059
1059
  }
1060
1060
  return w(x);
1061
1061
  }
1062
- function k(h) {
1062
+ function L(h) {
1063
1063
  if (!Array.isArray(h))
1064
1064
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), i;
1065
1065
  for (var x = 0; x < h.length; x++) {
@@ -1069,39 +1069,39 @@ function lr() {
1069
1069
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + X($) + " at index " + x + "."
1070
1070
  ), i;
1071
1071
  }
1072
- function _(D, I, U, W, V) {
1072
+ function _(j, I, U, W, V) {
1073
1073
  for (var J = [], K = 0; K < h.length; K++) {
1074
- var se = h[K], M = se(D, I, U, W, V, t);
1074
+ var se = h[K], M = se(j, I, U, W, V, t);
1075
1075
  if (M == null)
1076
1076
  return null;
1077
1077
  M.data && r(M.data, "expectedType") && J.push(M.data.expectedType);
1078
1078
  }
1079
1079
  var Y = J.length > 0 ? ", expected one of type [" + J.join(", ") + "]" : "";
1080
- return new b("Invalid " + W + " `" + V + "` supplied to " + ("`" + U + "`" + Y + "."));
1080
+ return new S("Invalid " + W + " `" + V + "` supplied to " + ("`" + U + "`" + Y + "."));
1081
1081
  }
1082
1082
  return w(_);
1083
1083
  }
1084
1084
  function R() {
1085
- function h(x, $, _, D, I) {
1086
- return N(x[$]) ? null : new b("Invalid " + D + " `" + I + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
1085
+ function h(x, $, _, j, I) {
1086
+ return N(x[$]) ? null : new S("Invalid " + j + " `" + I + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
1087
1087
  }
1088
1088
  return w(h);
1089
1089
  }
1090
- function j(h, x, $, _, D) {
1091
- return new b(
1092
- (h || "React class") + ": " + x + " type `" + $ + "." + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + D + "`."
1090
+ function D(h, x, $, _, j) {
1091
+ return new S(
1092
+ (h || "React class") + ": " + x + " type `" + $ + "." + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
1093
1093
  );
1094
1094
  }
1095
1095
  function O(h) {
1096
- function x($, _, D, I, U) {
1096
+ function x($, _, j, I, U) {
1097
1097
  var W = $[_], V = H(W);
1098
1098
  if (V !== "object")
1099
- return new b("Invalid " + I + " `" + U + "` of type `" + V + "` " + ("supplied to `" + D + "`, expected `object`."));
1099
+ return new S("Invalid " + I + " `" + U + "` of type `" + V + "` " + ("supplied to `" + j + "`, expected `object`."));
1100
1100
  for (var J in h) {
1101
1101
  var K = h[J];
1102
1102
  if (typeof K != "function")
1103
- return j(D, I, U, J, q(K));
1104
- var se = K(W, J, D, I, U + "." + J, t);
1103
+ return D(j, I, U, J, q(K));
1104
+ var se = K(W, J, j, I, U + "." + J, t);
1105
1105
  if (se)
1106
1106
  return se;
1107
1107
  }
@@ -1110,21 +1110,21 @@ function lr() {
1110
1110
  return w(x);
1111
1111
  }
1112
1112
  function P(h) {
1113
- function x($, _, D, I, U) {
1113
+ function x($, _, j, I, U) {
1114
1114
  var W = $[_], V = H(W);
1115
1115
  if (V !== "object")
1116
- return new b("Invalid " + I + " `" + U + "` of type `" + V + "` " + ("supplied to `" + D + "`, expected `object`."));
1116
+ return new S("Invalid " + I + " `" + U + "` of type `" + V + "` " + ("supplied to `" + j + "`, expected `object`."));
1117
1117
  var J = e({}, $[_], h);
1118
1118
  for (var K in J) {
1119
1119
  var se = h[K];
1120
1120
  if (r(h, K) && typeof se != "function")
1121
- return j(D, I, U, K, q(se));
1121
+ return D(j, I, U, K, q(se));
1122
1122
  if (!se)
1123
- return new b(
1124
- "Invalid " + I + " `" + U + "` key `" + K + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify($[_], null, " ") + `
1123
+ return new S(
1124
+ "Invalid " + I + " `" + U + "` key `" + K + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify($[_], null, " ") + `
1125
1125
  Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1126
1126
  );
1127
- var M = se(W, K, D, I, U + "." + K, t);
1127
+ var M = se(W, K, j, I, U + "." + K, t);
1128
1128
  if (M)
1129
1129
  return M;
1130
1130
  }
@@ -1154,8 +1154,8 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1154
1154
  return !1;
1155
1155
  } else
1156
1156
  for (; !(_ = $.next()).done; ) {
1157
- var D = _.value;
1158
- if (D && !N(D[1]))
1157
+ var j = _.value;
1158
+ if (j && !N(j[1]))
1159
1159
  return !1;
1160
1160
  }
1161
1161
  } else
@@ -1201,7 +1201,7 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1201
1201
  function F(h) {
1202
1202
  return !h.constructor || !h.constructor.name ? f : h.constructor.name;
1203
1203
  }
1204
- return g.checkPropTypes = s, g.resetWarningCache = s.resetWarningCache, g.PropTypes = g, g;
1204
+ return y.checkPropTypes = s, y.resetWarningCache = s.resetWarningCache, y.PropTypes = y, y;
1205
1205
  }, wt;
1206
1206
  }
1207
1207
  var Et, tn;
@@ -1256,7 +1256,7 @@ var nn;
1256
1256
  function ur() {
1257
1257
  if (nn) return qe.exports;
1258
1258
  if (nn = 1, process.env.NODE_ENV !== "production") {
1259
- var n = jn(), e = !0;
1259
+ var n = Dn(), e = !0;
1260
1260
  qe.exports = /* @__PURE__ */ lr()(n.isElement, e);
1261
1261
  } else
1262
1262
  qe.exports = /* @__PURE__ */ cr()();
@@ -1289,11 +1289,11 @@ var ie = /* @__PURE__ */ ur(), dr = function(e) {
1289
1289
  return t.renderSVG = function() {
1290
1290
  var s = this;
1291
1291
  if (this.reactWrapper instanceof dr(this.reactWrapper).Node) {
1292
- var a = this.props, i = a.desc, o = a.evalScripts, l = a.httpRequestWithCredentials, c = a.renumerateIRIElements, d = a.src, u = a.title, f = a.useRequestCache, g = this.props.onError, p = this.props.beforeInjection, b = this.props.afterInjection, w = this.props.wrapper, E, v;
1293
- w === "svg" ? (E = document.createElementNS(Xe, w), E.setAttribute("xmlns", Xe), E.setAttribute("xmlns:xlink", rn), v = document.createElementNS(Xe, w)) : (E = document.createElement(w), v = document.createElement(w)), E.appendChild(v), v.dataset.src = d, this.nonReactWrapper = this.reactWrapper.appendChild(E);
1292
+ var a = this.props, i = a.desc, o = a.evalScripts, l = a.httpRequestWithCredentials, c = a.renumerateIRIElements, d = a.src, u = a.title, f = a.useRequestCache, y = this.props.onError, p = this.props.beforeInjection, S = this.props.afterInjection, w = this.props.wrapper, E, b;
1293
+ w === "svg" ? (E = document.createElementNS(Xe, w), E.setAttribute("xmlns", Xe), E.setAttribute("xmlns:xlink", rn), b = document.createElementNS(Xe, w)) : (E = document.createElement(w), b = document.createElement(w)), E.appendChild(b), b.dataset.src = d, this.nonReactWrapper = this.reactWrapper.appendChild(E);
1294
1294
  var T = function(A) {
1295
1295
  if (s.removeSVG(), !s._isMounted) {
1296
- g(A);
1296
+ y(A);
1297
1297
  return;
1298
1298
  }
1299
1299
  s.setState(function() {
@@ -1302,9 +1302,9 @@ var ie = /* @__PURE__ */ ur(), dr = function(e) {
1302
1302
  isLoading: !1
1303
1303
  };
1304
1304
  }, function() {
1305
- g(A);
1305
+ y(A);
1306
1306
  });
1307
- }, S = function(A, C) {
1307
+ }, v = function(A, C) {
1308
1308
  if (A) {
1309
1309
  T(A);
1310
1310
  return;
@@ -1315,23 +1315,23 @@ var ie = /* @__PURE__ */ ur(), dr = function(e) {
1315
1315
  };
1316
1316
  }, function() {
1317
1317
  try {
1318
- b(C);
1319
- } catch (k) {
1320
- T(k);
1318
+ S(C);
1319
+ } catch (L) {
1320
+ T(L);
1321
1321
  }
1322
1322
  });
1323
- }, y = function(A) {
1323
+ }, g = function(A) {
1324
1324
  if (A.setAttribute("role", "img"), i) {
1325
1325
  var C = A.querySelector(":scope > desc");
1326
1326
  C && A.removeChild(C);
1327
- var k = document.createElement("desc");
1328
- k.innerHTML = i, A.prepend(k);
1327
+ var L = document.createElement("desc");
1328
+ L.innerHTML = i, A.prepend(L);
1329
1329
  }
1330
1330
  if (u) {
1331
1331
  var R = A.querySelector(":scope > title");
1332
1332
  R && A.removeChild(R);
1333
- var j = document.createElement("title");
1334
- j.innerHTML = u, A.prepend(j);
1333
+ var D = document.createElement("title");
1334
+ D.innerHTML = u, A.prepend(D);
1335
1335
  }
1336
1336
  try {
1337
1337
  p(A);
@@ -1339,9 +1339,9 @@ var ie = /* @__PURE__ */ ur(), dr = function(e) {
1339
1339
  T(O);
1340
1340
  }
1341
1341
  };
1342
- rr(v, {
1343
- afterEach: S,
1344
- beforeEach: y,
1342
+ rr(b, {
1343
+ afterEach: v,
1344
+ beforeEach: g,
1345
1345
  cacheRequests: f,
1346
1346
  evalScripts: o,
1347
1347
  httpRequestWithCredentials: l,
@@ -1435,15 +1435,15 @@ const ta = (n) => {
1435
1435
  title: u,
1436
1436
  tabIndex: f
1437
1437
  }) => {
1438
- const [g, p] = G(!1), b = (R) => R?.toLowerCase().endsWith(".svg") || !R?.includes("/"), w = (R) => R?.startsWith("http") || R?.startsWith("/"), E = {
1438
+ const [y, p] = G(!1), S = (R) => R?.toLowerCase().endsWith(".svg") || !R?.includes("/"), w = (R) => R?.startsWith("http") || R?.startsWith("/"), E = {
1439
1439
  img: `${c ? "smp-image-interactable" : ""}`,
1440
1440
  svg: `smp-icon ${i ? `smp-icon-${i}` : ""} ${o ? "smp-icon-rotated" : ""} ${c ? "smp-icon-interactable" : ""} ${d ? "smp-icon-spin" : ""}`
1441
- }, v = (R) => {
1441
+ }, b = (R) => {
1442
1442
  !a && c && l && l(R);
1443
1443
  }, T = (R) => {
1444
- !a && c && (R.key === "Enter" || R.key === " ") && (R.preventDefault(), v(R));
1445
- }, S = g ? r : n, y = b(S), A = w(S) ? S : hr(`assets/svg/${S}`);
1446
- return y ? /* @__PURE__ */ m.jsx(
1444
+ !a && c && (R.key === "Enter" || R.key === " ") && (R.preventDefault(), b(R));
1445
+ }, v = y ? r : n, g = S(v), A = w(v) ? v : hr(`assets/svg/${v}`);
1446
+ return g ? /* @__PURE__ */ m.jsx(
1447
1447
  kt,
1448
1448
  {
1449
1449
  src: A,
@@ -1456,23 +1456,23 @@ const ta = (n) => {
1456
1456
  fill: s,
1457
1457
  "aria-disabled": a,
1458
1458
  className: E.svg,
1459
- onClick: v,
1459
+ onClick: b,
1460
1460
  onKeyDown: T,
1461
1461
  tabIndex: f
1462
1462
  }
1463
1463
  ) : /* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions */ /* @__PURE__ */ m.jsx(
1464
1464
  "img",
1465
1465
  {
1466
- src: S,
1466
+ src: v,
1467
1467
  width: e || "16px",
1468
1468
  height: t || "auto",
1469
1469
  alt: u,
1470
1470
  onError: () => p(!0),
1471
- onClick: v,
1471
+ onClick: b,
1472
1472
  className: E.img,
1473
1473
  title: u,
1474
1474
  onKeyDown: (R) => {
1475
- (R.key === "Enter" || R.key === " ") && v(R);
1475
+ (R.key === "Enter" || R.key === " ") && b(R);
1476
1476
  }
1477
1477
  }
1478
1478
  );
@@ -1501,28 +1501,28 @@ const ta = (n) => {
1501
1501
  showText: d = !0,
1502
1502
  fullWidth: u = !1,
1503
1503
  loading: f = !1,
1504
- justify: g = "center",
1504
+ justify: y = "center",
1505
1505
  title: p,
1506
- optionalDisplayValue: b,
1506
+ optionalDisplayValue: S,
1507
1507
  squared: w = !1,
1508
1508
  submit: E = !1,
1509
- active: v = !1,
1509
+ active: b = !1,
1510
1510
  buttonExt: T
1511
1511
  }) => {
1512
- const S = {
1513
- container: `smp-button smp-button-container ${i ? `smp-button-${i}` : ""} ${o ? `smp-buttonVariant-${o}` : ""} ${l ? `smp-buttonType-${l}` : ""} ${u ? "smp-button-fullWidth" : ""} smp-justifyContent-${g} ${w && !d ? "smp-button-squared" : ""} ${v ? "smp-buttonActive" : ""} ${T ? `smp-buttonExt-${T}` : ""}`
1512
+ const v = {
1513
+ container: `smp-button smp-button-container ${i ? `smp-button-${i}` : ""} ${o ? `smp-buttonVariant-${o}` : ""} ${l ? `smp-buttonType-${l}` : ""} ${u ? "smp-button-fullWidth" : ""} smp-justifyContent-${y} ${w && !d ? "smp-button-squared" : ""} ${b ? "smp-buttonActive" : ""} ${T ? `smp-buttonExt-${T}` : ""}`
1514
1514
  };
1515
1515
  return /* @__PURE__ */ m.jsx(
1516
1516
  "button",
1517
1517
  {
1518
1518
  "data-component": "button",
1519
1519
  type: E ? "submit" : "button",
1520
- className: S.container,
1520
+ className: v.container,
1521
1521
  onClick: e,
1522
1522
  "aria-label": t,
1523
1523
  disabled: a,
1524
1524
  "aria-busy": f,
1525
- title: p || b,
1525
+ title: p || S,
1526
1526
  children: f ? /* @__PURE__ */ m.jsx(de, { icon: "spinner", state: an(o), spin: !0 }) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
1527
1527
  r && c && /* @__PURE__ */ m.jsx(
1528
1528
  de,
@@ -1535,7 +1535,7 @@ const ta = (n) => {
1535
1535
  height: sn(i)
1536
1536
  }
1537
1537
  ),
1538
- d && /* @__PURE__ */ m.jsx("span", { children: b || n })
1538
+ d && /* @__PURE__ */ m.jsx("span", { children: S || n })
1539
1539
  ] })
1540
1540
  }
1541
1541
  );
@@ -1587,12 +1587,12 @@ const ta = (n) => {
1587
1587
  }) => {
1588
1588
  const [a, i] = G(r ?? 0), [o, l] = G(!1), [c, d] = G(!1), u = le(null);
1589
1589
  if (ne(() => {
1590
- const v = u.current;
1591
- if (!v) return;
1592
- b();
1593
- const T = () => b();
1594
- return v.addEventListener("scroll", T), window.addEventListener("resize", b), () => {
1595
- v.removeEventListener("scroll", T), window.removeEventListener("resize", b);
1590
+ const b = u.current;
1591
+ if (!b) return;
1592
+ S();
1593
+ const T = () => S();
1594
+ return b.addEventListener("scroll", T), window.addEventListener("resize", S), () => {
1595
+ b.removeEventListener("scroll", T), window.removeEventListener("resize", S);
1596
1596
  };
1597
1597
  }, []), ne(() => {
1598
1598
  r !== void 0 && i(r);
@@ -1606,15 +1606,15 @@ const ta = (n) => {
1606
1606
  scrollButtonRight: `${be["smp-tabbar-scroll-button"]} ${be["smp-tabbar-scroll-buttonRight"]}`,
1607
1607
  scrollButtonLeft: `${be["smp-tabbar-scroll-button"]} ${be["smp-tabbar-scroll-buttonLeft"]}`,
1608
1608
  active: be["smp-active"]
1609
- }, g = 100, p = 2, b = () => {
1610
- const v = u.current;
1611
- v && (l(v.scrollLeft > 0), d(
1612
- v.scrollLeft + v.clientWidth < v.scrollWidth - p
1609
+ }, y = 100, p = 2, S = () => {
1610
+ const b = u.current;
1611
+ b && (l(b.scrollLeft > 0), d(
1612
+ b.scrollLeft + b.clientWidth < b.scrollWidth - p
1613
1613
  ));
1614
1614
  }, w = () => {
1615
- u.current?.scrollBy({ left: -g, behavior: "smooth" });
1615
+ u.current?.scrollBy({ left: -y, behavior: "smooth" });
1616
1616
  }, E = () => {
1617
- u.current?.scrollBy({ left: g, behavior: "smooth" });
1617
+ u.current?.scrollBy({ left: y, behavior: "smooth" });
1618
1618
  };
1619
1619
  return /* @__PURE__ */ m.jsxs(
1620
1620
  "div",
@@ -1633,7 +1633,7 @@ const ta = (n) => {
1633
1633
  sizing: e
1634
1634
  }
1635
1635
  ) }),
1636
- /* @__PURE__ */ m.jsx("div", { className: f.listWrapper, children: /* @__PURE__ */ m.jsx("div", { className: f.list, ref: u, role: "tablist", children: n.children.map((v, T) => /* @__PURE__ */ m.jsxs(
1636
+ /* @__PURE__ */ m.jsx("div", { className: f.listWrapper, children: /* @__PURE__ */ m.jsx("div", { className: f.list, ref: u, role: "tablist", children: n.children.map((b, T) => /* @__PURE__ */ m.jsxs(
1637
1637
  "button",
1638
1638
  {
1639
1639
  type: "button",
@@ -1642,21 +1642,21 @@ const ta = (n) => {
1642
1642
  "aria-selected": T === a,
1643
1643
  tabIndex: T === a ? 0 : -1,
1644
1644
  onClick: () => {
1645
- s?.(T, v), i(T);
1645
+ s?.(T, b), i(T);
1646
1646
  },
1647
1647
  children: [
1648
- v.icon && /* @__PURE__ */ m.jsx(
1648
+ b.icon && /* @__PURE__ */ m.jsx(
1649
1649
  de,
1650
1650
  {
1651
- icon: v.icon,
1652
- placeholderIcon: v.placeholderIcon
1651
+ icon: b.icon,
1652
+ placeholderIcon: b.placeholderIcon
1653
1653
  }
1654
1654
  ),
1655
1655
  /* @__PURE__ */ m.jsx(
1656
1656
  Oe,
1657
1657
  {
1658
1658
  variant: "body",
1659
- bindValue: v.decode || "Tab[object Object]"
1659
+ bindValue: b.decode || "Tab[object Object]"
1660
1660
  }
1661
1661
  ),
1662
1662
  t && (a === T ? /* @__PURE__ */ m.jsx(
@@ -1664,8 +1664,8 @@ const ta = (n) => {
1664
1664
  {
1665
1665
  icon: "more_vert",
1666
1666
  isInteractable: !0,
1667
- onClick: (S) => {
1668
- S.stopPropagation(), console.log("clicked icon");
1667
+ onClick: (v) => {
1668
+ v.stopPropagation(), console.log("clicked icon");
1669
1669
  }
1670
1670
  }
1671
1671
  ) : /* @__PURE__ */ m.jsx("span", { style: { width: "1rem" } }))
@@ -1712,25 +1712,25 @@ const ta = (n) => {
1712
1712
  const a = "--smp-grid-template-cols", i = "--smp-grid-template-rows", o = On(
1713
1713
  e.sections ?? [],
1714
1714
  Object.keys(s)
1715
- ), l = (p) => p.reduce((b, w) => {
1716
- let E = "", v = {}, T = {}, S = "";
1717
- return w.sections?.length ? (E = he["smp-layout-section-grid"], v = l(w.sections), w.gridCols === void 0 && (S = he[w.horizontal ? "smp-grid-template-cols" : "smp-grid-template-rows"], (w.horizontal || Ut(w.sections)) && (T = Vt(
1715
+ ), l = (p) => p.reduce((S, w) => {
1716
+ let E = "", b = {}, T = {}, v = "";
1717
+ return w.sections?.length ? (E = he["smp-layout-section-grid"], b = l(w.sections), w.gridCols === void 0 && (v = he[w.horizontal ? "smp-grid-template-cols" : "smp-grid-template-rows"], (w.horizontal || Ut(w.sections)) && (T = Vt(
1718
1718
  w.sections,
1719
1719
  w.horizontal ? a : i
1720
- )))) : w.content?.length && (w.gridCols !== void 0 && w.gridCols > 0 ? (E = he["smp-layout-section-grid"], S = he["smp-grid-template-cols"], T = {
1720
+ )))) : w.content?.length && (w.gridCols !== void 0 && w.gridCols > 0 ? (E = he["smp-layout-section-grid"], v = he["smp-grid-template-cols"], T = {
1721
1721
  [a]: `repeat(${w.gridCols}, 1fr)`
1722
1722
  }) : E = he["smp-layout-section-flex"]), {
1723
+ ...S,
1723
1724
  ...b,
1724
- ...v,
1725
1725
  [w.id]: {
1726
- classes: `${E} ${he[w.horizontal ? "smp-layout-section-horizontal" : "smp-layout-section-vertical"]} ${S} ${w.justify ? `smp-justifyContent-${w.justify}` : ""} ${w.align ? `smp-alignItems-${w.align}` : ""}`,
1726
+ classes: `${E} ${he[w.horizontal ? "smp-layout-section-horizontal" : "smp-layout-section-vertical"]} ${v} ${w.justify ? `smp-justifyContent-${w.justify}` : ""} ${w.align ? `smp-alignItems-${w.align}` : ""}`,
1727
1727
  styles: T
1728
1728
  }
1729
1729
  };
1730
1730
  }, {}), c = l(o), d = `${he["smp-layout"]} ${e.horizontal ? he["smp-layout-horizontal"] : he["smp-layout-vertical"]}`, u = e.horizontal || Ut(e.sections || []) ? Vt(
1731
1731
  o,
1732
1732
  e.horizontal ? a : i
1733
- ) : {}, f = (p, b) => {
1733
+ ) : {}, f = (p, S) => {
1734
1734
  const w = /* @__PURE__ */ m.jsx(
1735
1735
  "div",
1736
1736
  {
@@ -1738,12 +1738,12 @@ const ta = (n) => {
1738
1738
  className: c[p.id].classes,
1739
1739
  style: c[p.id].styles,
1740
1740
  children: p.sections?.length ? p.sections.map((E) => f(E)) : p.content?.map(
1741
- (E) => g(E, p.justify, p.align)
1741
+ (E) => y(E, p.justify, p.align)
1742
1742
  )
1743
1743
  },
1744
1744
  `section-${p.id}`
1745
1745
  );
1746
- return p.title && !b ? /* @__PURE__ */ m.jsxs(
1746
+ return p.title && !S ? /* @__PURE__ */ m.jsxs(
1747
1747
  "div",
1748
1748
  {
1749
1749
  className: he["smp-layout-section-with-title"],
@@ -1752,7 +1752,7 @@ const ta = (n) => {
1752
1752
  "span",
1753
1753
  {
1754
1754
  className: `${he["smp-layout-section-title"]} ${p.justify ? `smp-justifyContent-${p.justify}` : ""} ${p.align ? `smp-alignItems-${p.align}` : ""}`,
1755
- children: /* @__PURE__ */ m.jsx(je, { label: p.title })
1755
+ children: /* @__PURE__ */ m.jsx(De, { label: p.title })
1756
1756
  }
1757
1757
  ),
1758
1758
  w
@@ -1760,17 +1760,17 @@ const ta = (n) => {
1760
1760
  },
1761
1761
  `title-section-${p.id}`
1762
1762
  ) : w;
1763
- }, g = (p, b, w) => {
1763
+ }, y = (p, S, w) => {
1764
1764
  const E = s[p.id];
1765
1765
  if (!E) return null;
1766
1766
  const T = {
1767
1767
  gridColumnStart: (p.colSpan && p.colSpan > 0 ? `span ${p.colSpan}` : p.colStart && p.colStart < 1 ? "1" : void 0) ?? p.colStart,
1768
1768
  gridColumnEnd: p.colEnd && p.colEnd > 0 ? p.colEnd : void 0
1769
- }, S = `${he["smp-layout-cell-container"]} ${b ? `smp-justifyContent-${b}` : ""} ${w ? `smp-alignItems-${w}` : ""}`;
1769
+ }, v = `${he["smp-layout-cell-container"]} ${S ? `smp-justifyContent-${S}` : ""} ${w ? `smp-alignItems-${w}` : ""}`;
1770
1770
  return /* @__PURE__ */ m.jsx(
1771
1771
  "div",
1772
1772
  {
1773
- className: S,
1773
+ className: v,
1774
1774
  style: T,
1775
1775
  "smp-id": p.id,
1776
1776
  children: E
@@ -1985,55 +1985,55 @@ function ft({
1985
1985
  if (!o || !l) return;
1986
1986
  const { top: c, left: d, width: u, height: f } = o.getBoundingClientRect();
1987
1987
  a(u);
1988
- const g = l.offsetHeight, p = l.offsetWidth;
1989
- if (p === 0 || g === 0) {
1988
+ const y = l.offsetHeight, p = l.offsetWidth;
1989
+ if (p === 0 || y === 0) {
1990
1990
  requestAnimationFrame(i);
1991
1991
  return;
1992
1992
  }
1993
- const b = window.scrollY, w = window.scrollX, E = window.innerWidth, v = window.innerHeight;
1994
- let T = c + b, S = d + w, y = n;
1995
- const L = {
1996
- top: c - g < 0,
1997
- bottom: c + f + g > v,
1993
+ const S = window.scrollY, w = window.scrollX, E = window.innerWidth, b = window.innerHeight;
1994
+ let T = c + S, v = d + w, g = n;
1995
+ const k = {
1996
+ top: c - y < 0,
1997
+ bottom: c + f + y > b,
1998
1998
  left: d - p < 0,
1999
1999
  right: d + u + p > E
2000
2000
  };
2001
2001
  switch (n) {
2002
2002
  case "top":
2003
- L.top && !L.bottom && (y = "bottom");
2003
+ k.top && !k.bottom && (g = "bottom");
2004
2004
  break;
2005
2005
  case "bottom":
2006
- L.bottom && !L.top && (y = "top");
2006
+ k.bottom && !k.top && (g = "top");
2007
2007
  break;
2008
2008
  case "left":
2009
- L.left && !L.right && (y = "right");
2009
+ k.left && !k.right && (g = "right");
2010
2010
  break;
2011
2011
  case "right":
2012
- L.right && !L.left && (y = "left");
2012
+ k.right && !k.left && (g = "left");
2013
2013
  break;
2014
2014
  }
2015
- switch (y) {
2015
+ switch (g) {
2016
2016
  case "top":
2017
- T = c + b - g;
2017
+ T = c + S - y;
2018
2018
  break;
2019
2019
  case "bottom":
2020
- T = c + b + f;
2020
+ T = c + S + f;
2021
2021
  break;
2022
2022
  case "left":
2023
- S = d + w - p;
2023
+ v = d + w - p;
2024
2024
  break;
2025
2025
  case "right":
2026
- S = d + w + u;
2026
+ v = d + w + u;
2027
2027
  break;
2028
2028
  }
2029
2029
  T = Math.max(
2030
- b,
2031
- Math.min(T, b + v - g)
2032
- ), S = Math.max(
2030
+ S,
2031
+ Math.min(T, S + b - y)
2032
+ ), v = Math.max(
2033
2033
  w,
2034
- Math.min(S, w + E - p)
2034
+ Math.min(v, w + E - p)
2035
2035
  ), requestAnimationFrame(() => {
2036
- l.style.transform = `translate(${S}px, ${T}px)`, l.style.opacity = "1";
2036
+ l.style.transform = `translate(${v}px, ${T}px)`, l.style.opacity = "1";
2037
2037
  });
2038
2038
  }, [n]);
2039
2039
  return Fn(() => {
@@ -2091,7 +2091,7 @@ const _e = (n, e, t) => {
2091
2091
  "smp-textfield-disabled": "_smp-textfield-disabled_ep1c3_114",
2092
2092
  "smp-textfield-fullWidth": "_smp-textfield-fullWidth_ep1c3_123",
2093
2093
  "smp-textfield-top-right-indicator": "_smp-textfield-top-right-indicator_ep1c3_127"
2094
- }, De = ({
2094
+ }, je = ({
2095
2095
  disabled: n,
2096
2096
  bindValue: e,
2097
2097
  icon: t,
@@ -2105,21 +2105,21 @@ const _e = (n, e, t) => {
2105
2105
  rotatedShapeIcon: d = !1,
2106
2106
  ref: u,
2107
2107
  inputRef: f,
2108
- inputType: g = "text",
2108
+ inputType: y = "text",
2109
2109
  ariaLabel: p = "input field",
2110
- label: b,
2110
+ label: S,
2111
2111
  helperText: w = !1,
2112
2112
  error: E,
2113
- appearance: v = "base",
2113
+ appearance: b = "base",
2114
2114
  fullWidth: T = !1,
2115
- _dataComponent: S = "textfield",
2116
- min: y,
2117
- max: L,
2115
+ _dataComponent: v = "textfield",
2116
+ min: g,
2117
+ max: k,
2118
2118
  step: A,
2119
2119
  inputMode: C = "text",
2120
- width: k,
2120
+ width: L,
2121
2121
  autocomplete: R,
2122
- size: j,
2122
+ size: D,
2123
2123
  maxLength: O,
2124
2124
  onBlur: P,
2125
2125
  onChange: N,
@@ -2131,29 +2131,29 @@ const _e = (n, e, t) => {
2131
2131
  N?.(I.target.value);
2132
2132
  }, _ = {
2133
2133
  wrapper: `${me["smp-textfield-wrapper"]} ${T ? me["smp-textfield-fullWidth"] : ""}`,
2134
- container: `${me["smp-textfield"]} ${n ? me["smp-textfield-disabled"] : ""} ${r ? me["smp-textfield-placeholder"] : ""} ${i ? me[`smp-textfield-${i}`] : ""} ${h ? me[`smp-textfield-${h}`] : ""} ${v ? me[`smp-textfield-${v}`] : ""} ${s ? "" : me["smp-textfield-readOnly"]} ${c ? me["smp-textfield-top-right-indicator"] : ""}`,
2134
+ container: `${me["smp-textfield"]} ${n ? me["smp-textfield-disabled"] : ""} ${r ? me["smp-textfield-placeholder"] : ""} ${i ? me[`smp-textfield-${i}`] : ""} ${h ? me[`smp-textfield-${h}`] : ""} ${b ? me[`smp-textfield-${b}`] : ""} ${s ? "" : me["smp-textfield-readOnly"]} ${c ? me["smp-textfield-top-right-indicator"] : ""}`,
2135
2135
  input: `${me["smp-textfield-input"]}`
2136
2136
  };
2137
2137
  if (l && (l !== "notSelectable" || s)) {
2138
2138
  const I = me[`smp-textfield-variant-${l}`];
2139
2139
  I && (_.container += ` ${I}`);
2140
2140
  }
2141
- const D = k ? { "--smp-textField-width-base": k } : void 0;
2142
- return /* @__PURE__ */ m.jsxs("div", { className: _.wrapper, "data-component": S, children: [
2143
- b && /* @__PURE__ */ m.jsx(je, { label: b, disabled: n, htmlFor: X }),
2141
+ const j = L ? { "--smp-textField-width-base": L } : void 0;
2142
+ return /* @__PURE__ */ m.jsxs("div", { className: _.wrapper, "data-component": v, children: [
2143
+ S && /* @__PURE__ */ m.jsx(De, { label: S, disabled: n, htmlFor: X }),
2144
2144
  /* @__PURE__ */ m.jsxs(
2145
2145
  "div",
2146
2146
  {
2147
2147
  className: _.container,
2148
2148
  ref: u,
2149
- style: D,
2149
+ style: j,
2150
2150
  children: [
2151
2151
  t && /* @__PURE__ */ m.jsx(de, { icon: t, disabled: n }),
2152
2152
  /* @__PURE__ */ m.jsx(
2153
2153
  "input",
2154
2154
  {
2155
2155
  id: X,
2156
- type: g,
2156
+ type: y,
2157
2157
  value: e,
2158
2158
  placeholder: r,
2159
2159
  onChange: $,
@@ -2165,12 +2165,12 @@ const _e = (n, e, t) => {
2165
2165
  "aria-label": p,
2166
2166
  ref: f,
2167
2167
  "aria-describedby": x ? F : void 0,
2168
- min: y,
2169
- max: L,
2168
+ min: g,
2169
+ max: k,
2170
2170
  step: A,
2171
2171
  inputMode: C,
2172
2172
  autoComplete: R,
2173
- size: j,
2173
+ size: D,
2174
2174
  maxLength: O,
2175
2175
  onClick: q
2176
2176
  }
@@ -2210,19 +2210,19 @@ function kn({
2210
2210
  n.length - 1,
2211
2211
  Math.floor((s + t) / e) + r
2212
2212
  ), d = [];
2213
- for (let g = l; g <= c; g++)
2213
+ for (let y = l; y <= c; y++)
2214
2214
  d.push({
2215
- item: n[g],
2216
- index: g,
2217
- offsetTop: g * e
2215
+ item: n[y],
2216
+ index: y,
2217
+ offsetTop: y * e
2218
2218
  });
2219
- const u = ue((g) => {
2220
- const p = g.target.scrollTop;
2219
+ const u = ue((y) => {
2220
+ const p = y.target.scrollTop;
2221
2221
  a(p);
2222
- }, []), f = (g) => {
2222
+ }, []), f = (y) => {
2223
2223
  if (!i.current) return;
2224
- const p = g * e, b = p + e, w = i.current, E = w.scrollTop, v = E + t;
2225
- p < E ? w.scrollTop = p : b > v && (w.scrollTop = b - t);
2224
+ const p = y * e, S = p + e, w = i.current, E = w.scrollTop, b = E + t;
2225
+ p < E ? w.scrollTop = p : S > b && (w.scrollTop = S - t);
2226
2226
  };
2227
2227
  return {
2228
2228
  virtualItems: d,
@@ -2284,25 +2284,25 @@ const Cr = 10, Ln = ({
2284
2284
  onKeyDown: c,
2285
2285
  isOpen: d
2286
2286
  }) => {
2287
- const [u, f] = G(""), g = 40, [p, b] = G(
2287
+ const [u, f] = G(""), y = 40, [p, S] = G(
2288
2288
  a !== null ? a : -1
2289
- ), [w, E] = G(o || 200), v = le(null), T = s !== void 0 ? s : e.length > Cr, S = u ? e.filter(
2289
+ ), [w, E] = G(o || 200), b = le(null), T = s !== void 0 ? s : e.length > Cr, v = u ? e.filter(
2290
2290
  (N) => N.label.toLowerCase().includes(u.toLowerCase())
2291
- ) : e, y = (N) => {
2291
+ ) : e, g = (N) => {
2292
2292
  f(N);
2293
- }, { virtualItems: L, containerProps: A, innerProps: C, scrollToIndex: k } = kn({
2294
- items: S,
2295
- itemHeight: g,
2293
+ }, { virtualItems: k, containerProps: A, innerProps: C, scrollToIndex: L } = kn({
2294
+ items: v,
2295
+ itemHeight: y,
2296
2296
  containerHeight: 200,
2297
2297
  overscan: 5
2298
2298
  });
2299
2299
  ne(() => {
2300
- a !== null && a !== p && b(a);
2300
+ a !== null && a !== p && S(a);
2301
2301
  }, [a]), ne(() => {
2302
- p >= 0 && p < S.length && k(p);
2303
- }, [p, S]), ne(() => {
2304
- d && v?.current && v.current.focus();
2305
- }, [d, v]), ne(() => {
2302
+ p >= 0 && p < v.length && L(p);
2303
+ }, [p, v]), ne(() => {
2304
+ d && b?.current && b.current.focus();
2305
+ }, [d, b]), ne(() => {
2306
2306
  const N = Tr(e, t);
2307
2307
  E(N);
2308
2308
  }, [e, t]);
@@ -2310,10 +2310,10 @@ const Cr = 10, Ln = ({
2310
2310
  if (N.key === "ArrowDown" || N.key === "ArrowUp") {
2311
2311
  N.preventDefault();
2312
2312
  let B = p;
2313
- N.key === "ArrowDown" ? B = p < S.length - 1 ? p + 1 : 0 : N.key === "ArrowUp" && (B = p > 0 ? p - 1 : S.length - 1), b(B);
2314
- } else N.key === "Enter" ? p >= 0 && p < S.length && l?.(S[p]) : N.key === "Escape" && (N.preventDefault(), N.stopPropagation());
2313
+ N.key === "ArrowDown" ? B = p < v.length - 1 ? p + 1 : 0 : N.key === "ArrowUp" && (B = p > 0 ? p - 1 : v.length - 1), S(B);
2314
+ } else N.key === "Enter" ? p >= 0 && p < v.length && l?.(v[p]) : N.key === "Escape" && (N.preventDefault(), N.stopPropagation());
2315
2315
  c && c(N);
2316
- }, j = (N) => {
2316
+ }, D = (N) => {
2317
2317
  R(N);
2318
2318
  }, O = (N) => {
2319
2319
  R(N);
@@ -2336,14 +2336,14 @@ const Cr = 10, Ln = ({
2336
2336
  },
2337
2337
  children: [
2338
2338
  T && /* @__PURE__ */ m.jsx(
2339
- De,
2339
+ je,
2340
2340
  {
2341
2341
  bindValue: u,
2342
2342
  placeholder: "Search...",
2343
2343
  fullWidth: !0,
2344
- onChange: y,
2345
- onKeyDown: j,
2346
- inputRef: v
2344
+ onChange: g,
2345
+ onKeyDown: D,
2346
+ inputRef: b
2347
2347
  }
2348
2348
  ),
2349
2349
  /* @__PURE__ */ m.jsx(
@@ -2355,8 +2355,8 @@ const Cr = 10, Ln = ({
2355
2355
  role: "listbox",
2356
2356
  "aria-label": "List",
2357
2357
  onKeyDown: O,
2358
- "aria-activedescendant": p >= 0 && p < S.length ? S[p]?.id : void 0,
2359
- children: /* @__PURE__ */ m.jsx("div", { ...C, className: P.virtualScroll, children: L.map(({ item: N, index: B, offsetTop: H }) => {
2358
+ "aria-activedescendant": p >= 0 && p < v.length ? v[p]?.id : void 0,
2359
+ children: /* @__PURE__ */ m.jsx("div", { ...C, className: P.virtualScroll, children: k.map(({ item: N, index: B, offsetTop: H }) => {
2360
2360
  const q = i.includes(N.id);
2361
2361
  return (
2362
2362
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
@@ -2370,13 +2370,13 @@ const Cr = 10, Ln = ({
2370
2370
  className: `${P.listItem} ${p === B ? "selected-item" : ""}`,
2371
2371
  "aria-label": N.id + "-" + N.label,
2372
2372
  style: {
2373
- height: `${g}px`,
2374
- lineHeight: `calc(${g}px - 2*2px)`,
2373
+ height: `${y}px`,
2374
+ lineHeight: `calc(${y}px - 2*2px)`,
2375
2375
  // lineHeight - 2*padding
2376
2376
  transform: `translateY(${H}px)`
2377
2377
  },
2378
2378
  onClick: () => {
2379
- l?.(N), b(B);
2379
+ l?.(N), S(B);
2380
2380
  },
2381
2381
  children: [
2382
2382
  _e(N.id, N.label, t),
@@ -2407,7 +2407,7 @@ const Cr = 10, Ln = ({
2407
2407
  a(
2408
2408
  _e(e, t, n)
2409
2409
  );
2410
- }, [t, n]), /* @__PURE__ */ m.jsx(De, { ...r, bindValue: s });
2410
+ }, [t, n]), /* @__PURE__ */ m.jsx(je, { ...r, bindValue: s });
2411
2411
  }, Or = (n) => {
2412
2412
  const e = le(null);
2413
2413
  return ne(() => () => {
@@ -2441,7 +2441,7 @@ const ht = (n, e, t) => {
2441
2441
  document.removeEventListener("mousedown", r);
2442
2442
  };
2443
2443
  }, [n, t, e]);
2444
- }, z = (n) => typeof n == "string", Ve = () => {
2444
+ }, z = (n) => typeof n == "string", Ue = () => {
2445
2445
  let n, e;
2446
2446
  const t = new Promise((r, s) => {
2447
2447
  n = r, e = s;
@@ -2476,7 +2476,7 @@ const ht = (n, e, t) => {
2476
2476
  for (; o.obj === void 0 && i.length; )
2477
2477
  a = `${i[i.length - 1]}.${a}`, i = i.slice(0, i.length - 1), o = We(n, i, Object), o?.obj && typeof o.obj[`${o.k}.${a}`] < "u" && (o.obj = void 0);
2478
2478
  o.obj[`${o.k}.${a}`] = t;
2479
- }, jr = (n, e, t, r) => {
2479
+ }, Dr = (n, e, t, r) => {
2480
2480
  const {
2481
2481
  obj: s,
2482
2482
  k: a
@@ -2489,7 +2489,7 @@ const ht = (n, e, t) => {
2489
2489
  } = We(n, e);
2490
2490
  if (t && Object.prototype.hasOwnProperty.call(t, r))
2491
2491
  return t[r];
2492
- }, Dr = (n, e, t) => {
2492
+ }, jr = (n, e, t) => {
2493
2493
  const r = lt(n, t);
2494
2494
  return r !== void 0 ? r : lt(e, t);
2495
2495
  }, An = (n, e, t) => {
@@ -2775,31 +2775,31 @@ class ut extends mt {
2775
2775
  usedNS: c,
2776
2776
  usedParams: this.getUsedParamsDetails(s)
2777
2777
  } : o;
2778
- const g = this.resolve(e, s);
2779
- let p = g?.res;
2780
- const b = g?.usedKey || o, w = g?.exactUsedKey || o, E = ["[object Number]", "[object Function]", "[object RegExp]"], v = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, T = !this.i18nFormat || this.i18nFormat.handleAsObject, S = s.count !== void 0 && !z(s.count), y = ut.hasDefaultValue(s), L = S ? this.pluralResolver.getSuffix(u, s.count, s) : "", A = s.ordinal && S ? this.pluralResolver.getSuffix(u, s.count, {
2778
+ const y = this.resolve(e, s);
2779
+ let p = y?.res;
2780
+ const S = y?.usedKey || o, w = y?.exactUsedKey || o, E = ["[object Number]", "[object Function]", "[object RegExp]"], b = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, T = !this.i18nFormat || this.i18nFormat.handleAsObject, v = s.count !== void 0 && !z(s.count), g = ut.hasDefaultValue(s), k = v ? this.pluralResolver.getSuffix(u, s.count, s) : "", A = s.ordinal && v ? this.pluralResolver.getSuffix(u, s.count, {
2781
2781
  ordinal: !1
2782
- }) : "", C = S && !s.ordinal && s.count === 0, k = C && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${L}`] || s[`defaultValue${A}`] || s.defaultValue;
2782
+ }) : "", C = v && !s.ordinal && s.count === 0, L = C && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${k}`] || s[`defaultValue${A}`] || s.defaultValue;
2783
2783
  let R = p;
2784
- T && !p && y && (R = k);
2785
- const j = hn(R), O = Object.prototype.toString.apply(R);
2786
- if (T && R && j && E.indexOf(O) < 0 && !(z(v) && Array.isArray(R))) {
2784
+ T && !p && g && (R = L);
2785
+ const D = hn(R), O = Object.prototype.toString.apply(R);
2786
+ if (T && R && D && E.indexOf(O) < 0 && !(z(b) && Array.isArray(R))) {
2787
2787
  if (!s.returnObjects && !this.options.returnObjects) {
2788
2788
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
2789
- const P = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, R, {
2789
+ const P = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(S, R, {
2790
2790
  ...s,
2791
2791
  ns: l
2792
2792
  }) : `key '${o} (${this.language})' returned an object instead of string.`;
2793
- return a ? (g.res = P, g.usedParams = this.getUsedParamsDetails(s), g) : P;
2793
+ return a ? (y.res = P, y.usedParams = this.getUsedParamsDetails(s), y) : P;
2794
2794
  }
2795
2795
  if (i) {
2796
- const P = Array.isArray(R), N = P ? [] : {}, B = P ? w : b;
2796
+ const P = Array.isArray(R), N = P ? [] : {}, B = P ? w : S;
2797
2797
  for (const H in R)
2798
2798
  if (Object.prototype.hasOwnProperty.call(R, H)) {
2799
2799
  const q = `${B}${i}${H}`;
2800
- y && !p ? N[H] = this.translate(q, {
2800
+ g && !p ? N[H] = this.translate(q, {
2801
2801
  ...s,
2802
- defaultValue: hn(k) ? k[H] : void 0,
2802
+ defaultValue: hn(L) ? L[H] : void 0,
2803
2803
  joinArrays: !1,
2804
2804
  ns: l
2805
2805
  }) : N[H] = this.translate(q, {
@@ -2810,14 +2810,14 @@ class ut extends mt {
2810
2810
  }
2811
2811
  p = N;
2812
2812
  }
2813
- } else if (T && z(v) && Array.isArray(p))
2814
- p = p.join(v), p && (p = this.extendTranslation(p, e, s, r));
2813
+ } else if (T && z(b) && Array.isArray(p))
2814
+ p = p.join(b), p && (p = this.extendTranslation(p, e, s, r));
2815
2815
  else {
2816
2816
  let P = !1, N = !1;
2817
- !this.isValidLookup(p) && y && (P = !0, p = k), this.isValidLookup(p) || (N = !0, p = o);
2818
- const H = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && N ? void 0 : p, q = y && k !== p && this.options.updateMissing;
2817
+ !this.isValidLookup(p) && g && (P = !0, p = L), this.isValidLookup(p) || (N = !0, p = o);
2818
+ const H = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && N ? void 0 : p, q = g && L !== p && this.options.updateMissing;
2819
2819
  if (N || P || q) {
2820
- if (this.logger.log(q ? "updateKey" : "missingKey", u, c, o, q ? k : p), i) {
2820
+ if (this.logger.log(q ? "updateKey" : "missingKey", u, c, o, q ? L : p), i) {
2821
2821
  const x = this.resolve(o, {
2822
2822
  ...s,
2823
2823
  keySeparator: !1
@@ -2831,19 +2831,19 @@ class ut extends mt {
2831
2831
  X.push(F[x]);
2832
2832
  else this.options.saveMissingTo === "all" ? X = this.languageUtils.toResolveHierarchy(s.lng || this.language) : X.push(s.lng || this.language);
2833
2833
  const h = (x, $, _) => {
2834
- const D = y && _ !== p ? _ : H;
2835
- this.options.missingKeyHandler ? this.options.missingKeyHandler(x, c, $, D, q, s) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(x, c, $, D, q, s), this.emit("missingKey", x, c, $, p);
2834
+ const j = g && _ !== p ? _ : H;
2835
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(x, c, $, j, q, s) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(x, c, $, j, q, s), this.emit("missingKey", x, c, $, p);
2836
2836
  };
2837
- this.options.saveMissing && (this.options.saveMissingPlurals && S ? X.forEach((x) => {
2837
+ this.options.saveMissing && (this.options.saveMissingPlurals && v ? X.forEach((x) => {
2838
2838
  const $ = this.pluralResolver.getSuffixes(x, s);
2839
2839
  C && s[`defaultValue${this.options.pluralSeparator}zero`] && $.indexOf(`${this.options.pluralSeparator}zero`) < 0 && $.push(`${this.options.pluralSeparator}zero`), $.forEach((_) => {
2840
- h([x], o + _, s[`defaultValue${_}`] || k);
2840
+ h([x], o + _, s[`defaultValue${_}`] || L);
2841
2841
  });
2842
- }) : h(X, o, k));
2842
+ }) : h(X, o, L));
2843
2843
  }
2844
- p = this.extendTranslation(p, e, s, g, r), N && p === o && this.options.appendNamespaceToMissingKey && (p = `${c}${d}${o}`), (N || P) && this.options.parseMissingKeyHandler && (p = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}${d}${o}` : o, P ? p : void 0, s));
2844
+ p = this.extendTranslation(p, e, s, y, r), N && p === o && this.options.appendNamespaceToMissingKey && (p = `${c}${d}${o}`), (N || P) && this.options.parseMissingKeyHandler && (p = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}${d}${o}` : o, P ? p : void 0, s));
2845
2845
  }
2846
- return a ? (g.res = p, g.usedParams = this.getUsedParamsDetails(s), g) : p;
2846
+ return a ? (y.res = p, y.usedParams = this.getUsedParamsDetails(s), y) : p;
2847
2847
  }
2848
2848
  extendTranslation(e, t, r, s, a) {
2849
2849
  if (this.i18nFormat?.parse)
@@ -2894,25 +2894,25 @@ class ut extends mt {
2894
2894
  s = d;
2895
2895
  let u = c.namespaces;
2896
2896
  this.options.fallbackNS && (u = u.concat(this.options.fallbackNS));
2897
- const f = t.count !== void 0 && !z(t.count), g = f && !t.ordinal && t.count === 0, p = t.context !== void 0 && (z(t.context) || typeof t.context == "number") && t.context !== "", b = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
2897
+ const f = t.count !== void 0 && !z(t.count), y = f && !t.ordinal && t.count === 0, p = t.context !== void 0 && (z(t.context) || typeof t.context == "number") && t.context !== "", S = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
2898
2898
  u.forEach((w) => {
2899
- this.isValidLookup(r) || (o = w, !pn[`${b[0]}-${w}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (pn[`${b[0]}-${w}`] = !0, this.logger.warn(`key "${s}" for languages "${b.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), b.forEach((E) => {
2899
+ this.isValidLookup(r) || (o = w, !pn[`${S[0]}-${w}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (pn[`${S[0]}-${w}`] = !0, this.logger.warn(`key "${s}" for languages "${S.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), S.forEach((E) => {
2900
2900
  if (this.isValidLookup(r)) return;
2901
2901
  i = E;
2902
- const v = [d];
2902
+ const b = [d];
2903
2903
  if (this.i18nFormat?.addLookupKeys)
2904
- this.i18nFormat.addLookupKeys(v, d, E, w, t);
2904
+ this.i18nFormat.addLookupKeys(b, d, E, w, t);
2905
2905
  else {
2906
- let S;
2907
- f && (S = this.pluralResolver.getSuffix(E, t.count, t));
2908
- const y = `${this.options.pluralSeparator}zero`, L = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2909
- if (f && (v.push(d + S), t.ordinal && S.indexOf(L) === 0 && v.push(d + S.replace(L, this.options.pluralSeparator)), g && v.push(d + y)), p) {
2906
+ let v;
2907
+ f && (v = this.pluralResolver.getSuffix(E, t.count, t));
2908
+ const g = `${this.options.pluralSeparator}zero`, k = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2909
+ if (f && (b.push(d + v), t.ordinal && v.indexOf(k) === 0 && b.push(d + v.replace(k, this.options.pluralSeparator)), y && b.push(d + g)), p) {
2910
2910
  const A = `${d}${this.options.contextSeparator}${t.context}`;
2911
- v.push(A), f && (v.push(A + S), t.ordinal && S.indexOf(L) === 0 && v.push(A + S.replace(L, this.options.pluralSeparator)), g && v.push(A + y));
2911
+ b.push(A), f && (b.push(A + v), t.ordinal && v.indexOf(k) === 0 && b.push(A + v.replace(k, this.options.pluralSeparator)), y && b.push(A + g));
2912
2912
  }
2913
2913
  }
2914
2914
  let T;
2915
- for (; T = v.pop(); )
2915
+ for (; T = b.pop(); )
2916
2916
  this.isValidLookup(r) || (a = T, r = this.getResource(E, w, T, t));
2917
2917
  }));
2918
2918
  });
@@ -3078,7 +3078,7 @@ class Mr {
3078
3078
  }
3079
3079
  }
3080
3080
  const bn = (n, e, t, r = ".", s = !0) => {
3081
- let a = Dr(n, e, t);
3081
+ let a = jr(n, e, t);
3082
3082
  return !a && s && z(t) && (a = Rt(n, t, r), a === void 0 && (a = Rt(e, t, r))), a;
3083
3083
  }, Tt = (n) => n.replace(/\$/g, "$$$$");
3084
3084
  class Fr {
@@ -3101,14 +3101,14 @@ class Fr {
3101
3101
  unescapeSuffix: d,
3102
3102
  unescapePrefix: u,
3103
3103
  nestingPrefix: f,
3104
- nestingPrefixEscaped: g,
3104
+ nestingPrefixEscaped: y,
3105
3105
  nestingSuffix: p,
3106
- nestingSuffixEscaped: b,
3106
+ nestingSuffixEscaped: S,
3107
3107
  nestingOptionsSeparator: w,
3108
3108
  maxReplaces: E,
3109
- alwaysFormat: v
3109
+ alwaysFormat: b
3110
3110
  } = e.interpolation;
3111
- this.escape = t !== void 0 ? t : kr, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? Ae(a) : i || "{{", this.suffix = o ? Ae(o) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = f ? Ae(f) : g || Ae("$t("), this.nestingSuffix = p ? Ae(p) : b || Ae(")"), this.nestingOptionsSeparator = w || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = v !== void 0 ? v : !1, this.resetRegExp();
3111
+ this.escape = t !== void 0 ? t : kr, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? Ae(a) : i || "{{", this.suffix = o ? Ae(o) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = f ? Ae(f) : y || Ae("$t("), this.nestingSuffix = p ? Ae(p) : S || Ae(")"), this.nestingOptionsSeparator = w || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
3112
3112
  }
3113
3113
  reset() {
3114
3114
  this.options && this.init(this.options);
@@ -3119,32 +3119,32 @@ class Fr {
3119
3119
  }
3120
3120
  interpolate(e, t, r, s) {
3121
3121
  let a, i, o;
3122
- const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (g) => {
3123
- if (g.indexOf(this.formatSeparator) < 0) {
3124
- const E = bn(t, l, g, this.options.keySeparator, this.options.ignoreJSONStructure);
3122
+ const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (y) => {
3123
+ if (y.indexOf(this.formatSeparator) < 0) {
3124
+ const E = bn(t, l, y, this.options.keySeparator, this.options.ignoreJSONStructure);
3125
3125
  return this.alwaysFormat ? this.format(E, void 0, r, {
3126
3126
  ...s,
3127
3127
  ...t,
3128
- interpolationkey: g
3128
+ interpolationkey: y
3129
3129
  }) : E;
3130
3130
  }
3131
- const p = g.split(this.formatSeparator), b = p.shift().trim(), w = p.join(this.formatSeparator).trim();
3132
- return this.format(bn(t, l, b, this.options.keySeparator, this.options.ignoreJSONStructure), w, r, {
3131
+ const p = y.split(this.formatSeparator), S = p.shift().trim(), w = p.join(this.formatSeparator).trim();
3132
+ return this.format(bn(t, l, S, this.options.keySeparator, this.options.ignoreJSONStructure), w, r, {
3133
3133
  ...s,
3134
3134
  ...t,
3135
- interpolationkey: b
3135
+ interpolationkey: S
3136
3136
  });
3137
3137
  };
3138
3138
  this.resetRegExp();
3139
3139
  const d = s?.missingInterpolationHandler || this.options.missingInterpolationHandler, u = s?.interpolation?.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
3140
3140
  return [{
3141
3141
  regex: this.regexpUnescape,
3142
- safeValue: (g) => Tt(g)
3142
+ safeValue: (y) => Tt(y)
3143
3143
  }, {
3144
3144
  regex: this.regexp,
3145
- safeValue: (g) => this.escapeValue ? Tt(this.escape(g)) : Tt(g)
3146
- }].forEach((g) => {
3147
- for (o = 0; a = g.regex.exec(e); ) {
3145
+ safeValue: (y) => this.escapeValue ? Tt(this.escape(y)) : Tt(y)
3146
+ }].forEach((y) => {
3147
+ for (o = 0; a = y.regex.exec(e); ) {
3148
3148
  const p = a[1].trim();
3149
3149
  if (i = c(p), i === void 0)
3150
3150
  if (typeof d == "function") {
@@ -3158,8 +3158,8 @@ class Fr {
3158
3158
  } else
3159
3159
  this.logger.warn(`missed to pass in variable ${p} for interpolating ${e}`), i = "";
3160
3160
  else !z(i) && !this.useRawValueToEscape && (i = ln(i));
3161
- const b = g.safeValue(i);
3162
- if (e = e.replace(a[0], b), u ? (g.regex.lastIndex += i.length, g.regex.lastIndex -= a[0].length) : g.regex.lastIndex = 0, o++, o >= this.maxReplaces)
3161
+ const S = y.safeValue(i);
3162
+ if (e = e.replace(a[0], S), u ? (y.regex.lastIndex += i.length, y.regex.lastIndex -= a[0].length) : y.regex.lastIndex = 0, o++, o >= this.maxReplaces)
3163
3163
  break;
3164
3164
  }
3165
3165
  }), e;
@@ -3172,15 +3172,15 @@ class Fr {
3172
3172
  const u = l.split(new RegExp(`${d}[ ]*{`));
3173
3173
  let f = `{${u[1]}`;
3174
3174
  l = u[0], f = this.interpolate(f, i);
3175
- const g = f.match(/'/g), p = f.match(/"/g);
3176
- ((g?.length ?? 0) % 2 === 0 && !p || p.length % 2 !== 0) && (f = f.replace(/'/g, '"'));
3175
+ const y = f.match(/'/g), p = f.match(/"/g);
3176
+ ((y?.length ?? 0) % 2 === 0 && !p || p.length % 2 !== 0) && (f = f.replace(/'/g, '"'));
3177
3177
  try {
3178
3178
  i = JSON.parse(f), c && (i = {
3179
3179
  ...c,
3180
3180
  ...i
3181
3181
  });
3182
- } catch (b) {
3183
- return this.logger.warn(`failed parsing options string in nesting for key ${l}`, b), `${l}${d}${f}`;
3182
+ } catch (S) {
3183
+ return this.logger.warn(`failed parsing options string in nesting for key ${l}`, S), `${l}${d}${f}`;
3184
3184
  }
3185
3185
  return i.defaultValue && i.defaultValue.indexOf(this.prefix) > -1 && delete i.defaultValue, l;
3186
3186
  };
@@ -3293,8 +3293,8 @@ class Wr {
3293
3293
  if (this.formats[c]) {
3294
3294
  let u = o;
3295
3295
  try {
3296
- const f = s?.formatParams?.[s.interpolationkey] || {}, g = f.locale || f.lng || s.locale || s.lng || r;
3297
- u = this.formats[c](o, g, {
3296
+ const f = s?.formatParams?.[s.interpolationkey] || {}, y = f.locale || f.lng || s.locale || s.lng || r;
3297
+ u = this.formats[c](o, y, {
3298
3298
  ...d,
3299
3299
  ...s,
3300
3300
  ...f
@@ -3344,7 +3344,7 @@ class Br extends mt {
3344
3344
  }), this.state[e] = t ? -1 : 2, t && r && (this.state[e] = 0);
3345
3345
  const o = {};
3346
3346
  this.queue.forEach((l) => {
3347
- jr(l.loaded, [a], i), Yr(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
3347
+ Dr(l.loaded, [a], i), Yr(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
3348
3348
  o[c] || (o[c] = {});
3349
3349
  const d = l.loaded[c];
3350
3350
  d.length && d.forEach((u) => {
@@ -3541,10 +3541,10 @@ class Be extends mt {
3541
3541
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
3542
3542
  }), c && (!this.options.interpolation.format || this.options.interpolation.format === r.interpolation.format) && (u.formatter = s(c), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new Fr(this.options), u.utils = {
3543
3543
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
3544
- }, u.backendConnector = new Br(s(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (f, ...g) => {
3545
- this.emit(f, ...g);
3546
- }), this.modules.languageDetector && (u.languageDetector = s(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = s(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new ut(this.services, this.options), this.translator.on("*", (f, ...g) => {
3547
- this.emit(f, ...g);
3544
+ }, u.backendConnector = new Br(s(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (f, ...y) => {
3545
+ this.emit(f, ...y);
3546
+ }), this.modules.languageDetector && (u.languageDetector = s(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = s(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new ut(this.services, this.options), this.translator.on("*", (f, ...y) => {
3547
+ this.emit(f, ...y);
3548
3548
  }), this.modules.external.forEach((f) => {
3549
3549
  f.init && f.init(this);
3550
3550
  });
@@ -3558,7 +3558,7 @@ class Be extends mt {
3558
3558
  }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((c) => {
3559
3559
  this[c] = (...d) => (this.store[c](...d), this);
3560
3560
  });
3561
- const o = Ve(), l = () => {
3561
+ const o = Ue(), l = () => {
3562
3562
  const c = (d, u) => {
3563
3563
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), o.resolve(u), t(d, u);
3564
3564
  };
@@ -3585,7 +3585,7 @@ class Be extends mt {
3585
3585
  r(null);
3586
3586
  }
3587
3587
  reloadResources(e, t, r) {
3588
- const s = Ve();
3588
+ const s = Ue();
3589
3589
  return typeof e == "function" && (r = e, e = void 0), typeof t == "function" && (r = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), r || (r = et), this.services.backendConnector.reload(e, t, (a) => {
3590
3590
  s.resolve(), r(a);
3591
3591
  }), s;
@@ -3609,7 +3609,7 @@ class Be extends mt {
3609
3609
  }
3610
3610
  changeLanguage(e, t) {
3611
3611
  this.isLanguageChangingTo = e;
3612
- const r = Ve();
3612
+ const r = Ue();
3613
3613
  this.emit("languageChanging", e);
3614
3614
  const s = (o) => {
3615
3615
  this.language = o, this.languages = this.services.languageUtils.toResolveHierarchy(o), this.resolvedLanguage = void 0, this.setResolvedLanguage(o);
@@ -3663,7 +3663,7 @@ class Be extends mt {
3663
3663
  return !!(this.hasResourceBundle(r, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || i(r, e) && (!s || i(a, e)));
3664
3664
  }
3665
3665
  loadNamespaces(e, t) {
3666
- const r = Ve();
3666
+ const r = Ue();
3667
3667
  return this.options.ns ? (z(e) && (e = [e]), e.forEach((s) => {
3668
3668
  this.options.ns.indexOf(s) < 0 && this.options.ns.push(s);
3669
3669
  }), this.loadResources((s) => {
@@ -3671,7 +3671,7 @@ class Be extends mt {
3671
3671
  }), r) : (t && t(), Promise.resolve());
3672
3672
  }
3673
3673
  loadLanguages(e, t) {
3674
- const r = Ve();
3674
+ const r = Ue();
3675
3675
  z(e) && (e = [e]);
3676
3676
  const s = this.options.preload || [], a = e.filter((i) => s.indexOf(i) < 0 && this.services.languageUtils.isSupportedCode(i));
3677
3677
  return a.length ? (this.options.preload = s.concat(a), this.loadResources((i) => {
@@ -3868,7 +3868,7 @@ function $e() {
3868
3868
  );
3869
3869
  return { format: n, getCurrentLanguage: e, translate: t };
3870
3870
  }
3871
- var Ee = /* @__PURE__ */ ((n) => (n.CALENDAR_FOR = "Date.CalendarFor", n.CLOSE = "Generic.Close", n.SPOTLIGHT_DEFAULT_PLACEHOLDER = "Generic.SpotlightDefaultPlaceholder", n.CHECK_OBJECT_WRONG_VALIDATION = "Generic.CheckObjectWrongValidation", n.CONFIRM_BUTTON = "Generic.ConfirmButton", n.AUTOCOMPLETE_DEFAULT_PLACEHOLDER = "Generic.AutocompleteDefaultPlaceholder", n))(Ee || {}), fe = /* @__PURE__ */ ((n) => (n.MONDAY = "Day.Monday", n.MONDAY_SHORT = "Day.MondayShort", n.TUESDAY = "Day.Tuesday", n.TUESDAY_SHORT = "Day.TuesdayShort", n.WEDNESDAY = "Day.Wednesday", n.WEDNESDAY_SHORT = "Day.WednesdayShort", n.THURSDAY = "Day.Thursday", n.THURSDAY_SHORT = "Day.ThursdayShort", n.FRIDAY = "Day.Friday", n.FRIDAY_SHORT = "Day.FridayShort", n.SATURDAY = "Day.Saturday", n.SATURDAY_SHORT = "Day.SaturdayShort", n.SUNDAY = "Day.Sunday", n.SUNDAY_SHORT = "Day.SundayShort", n))(fe || {}), pe = /* @__PURE__ */ ((n) => (n.JANUARY = "Month.January", n.FEBRUARY = "Month.February", n.MARCH = "Month.March", n.APRIL = "Month.April", n.MAY = "Month.May", n.JUNE = "Month.June", n.JULY = "Month.July", n.AUGUST = "Month.August", n.SEPTEMBER = "Month.September", n.OCTOBER = "Month.October", n.NOVEMBER = "Month.November", n.DECEMBER = "Month.December", n))(pe || {}), jt = /* @__PURE__ */ ((n) => (n.PREVIOUS_DAY = "Date.PreviousDay", n.PREVIOUS_WEEK = "Date.PreviousWeek", n.PREVIOUS_MONTH = "Date.PreviousMonth", n.PREVIOUS_YEAR = "Date.PreviousYear", n.NEXT_DAY = "Date.NextDay", n.NEXT_WEEK = "Date.NextWeek", n.NEXT_MONTH = "Date.NextMonth", n.NEXT_YEAR = "Date.NextYear", n.YESTERDAY = "Date.Yesterday", n.TODAY = "Date.Today", n.TOMORROW = "Date.Tomorrow", n))(jt || {});
3871
+ var Ee = /* @__PURE__ */ ((n) => (n.CALENDAR_FOR = "Date.CalendarFor", n.CLOSE = "Generic.Close", n.SPOTLIGHT_DEFAULT_PLACEHOLDER = "Generic.SpotlightDefaultPlaceholder", n.CHECK_OBJECT_WRONG_VALIDATION = "Generic.CheckObjectWrongValidation", n.CONFIRM_BUTTON = "Generic.ConfirmButton", n.AUTOCOMPLETE_DEFAULT_PLACEHOLDER = "Generic.AutocompleteDefaultPlaceholder", n))(Ee || {}), fe = /* @__PURE__ */ ((n) => (n.MONDAY = "Day.Monday", n.MONDAY_SHORT = "Day.MondayShort", n.TUESDAY = "Day.Tuesday", n.TUESDAY_SHORT = "Day.TuesdayShort", n.WEDNESDAY = "Day.Wednesday", n.WEDNESDAY_SHORT = "Day.WednesdayShort", n.THURSDAY = "Day.Thursday", n.THURSDAY_SHORT = "Day.ThursdayShort", n.FRIDAY = "Day.Friday", n.FRIDAY_SHORT = "Day.FridayShort", n.SATURDAY = "Day.Saturday", n.SATURDAY_SHORT = "Day.SaturdayShort", n.SUNDAY = "Day.Sunday", n.SUNDAY_SHORT = "Day.SundayShort", n))(fe || {}), pe = /* @__PURE__ */ ((n) => (n.JANUARY = "Month.January", n.FEBRUARY = "Month.February", n.MARCH = "Month.March", n.APRIL = "Month.April", n.MAY = "Month.May", n.JUNE = "Month.June", n.JULY = "Month.July", n.AUGUST = "Month.August", n.SEPTEMBER = "Month.September", n.OCTOBER = "Month.October", n.NOVEMBER = "Month.November", n.DECEMBER = "Month.December", n))(pe || {}), Dt = /* @__PURE__ */ ((n) => (n.PREVIOUS_DAY = "Date.PreviousDay", n.PREVIOUS_WEEK = "Date.PreviousWeek", n.PREVIOUS_MONTH = "Date.PreviousMonth", n.PREVIOUS_YEAR = "Date.PreviousYear", n.NEXT_DAY = "Date.NextDay", n.NEXT_WEEK = "Date.NextWeek", n.NEXT_MONTH = "Date.NextMonth", n.NEXT_YEAR = "Date.NextYear", n.YESTERDAY = "Date.Yesterday", n.TODAY = "Date.Today", n.TOMORROW = "Date.Tomorrow", n))(Dt || {});
3872
3872
  const In = ({
3873
3873
  bindValue: n,
3874
3874
  optionalDisplayValue: e,
@@ -3883,43 +3883,43 @@ const In = ({
3883
3883
  onOptionsRequest: d,
3884
3884
  onBlur: u,
3885
3885
  _multiActiveIndex: f,
3886
- ...g
3886
+ ...y
3887
3887
  }) => {
3888
- const p = le(null), [b, w] = G(n), [E, v] = G(e), { translate: T } = $e(), [S, y] = G(!1), [L, A] = G(t || []), [C, k] = G(0), [R, j] = G([n]), { anchorRef: O, targetRef: P, anchorWidth: N } = ft({
3888
+ const p = le(null), [S, w] = G(n), [E, b] = G(e), { translate: T } = $e(), [v, g] = G(!1), [k, A] = G(t || []), [C, L] = G(0), [R, D] = G([n]), { anchorRef: O, targetRef: P, anchorWidth: N } = ft({
3889
3889
  position: "bottom",
3890
- enabled: S
3890
+ enabled: v
3891
3891
  }), B = ue(() => {
3892
- y(!1), p?.current?.focus();
3892
+ g(!1), p?.current?.focus();
3893
3893
  }, []);
3894
- ht([P], S, () => B());
3894
+ ht([P], v, () => B());
3895
3895
  const H = Or(400), q = (_) => {
3896
- _.length >= a ? X(_) : B(), w(_), v(e), l || c?.(_, e);
3896
+ _.length >= a ? X(_) : B(), w(_), b(e), l || c?.(_, e);
3897
3897
  }, X = (_) => {
3898
3898
  H(async () => {
3899
3899
  if (o && d) {
3900
- const D = await d(o, _);
3901
- A(D), k(D.length > 0 ? 0 : -1), y(!0);
3900
+ const j = await d(o, _);
3901
+ A(j), L(j.length > 0 ? 0 : -1), g(!0);
3902
3902
  }
3903
3903
  });
3904
3904
  }, F = () => {
3905
- S || u?.();
3905
+ v || u?.();
3906
3906
  }, h = (_) => {
3907
- l ? (w(""), v("")) : (w(_.id), v(_.label)), c?.(_.id, _.label);
3908
- const D = L.findIndex((I) => I.id === _.id);
3909
- k(D), j([_.id]), B();
3907
+ l ? (w(""), b("")) : (w(_.id), b(_.label)), c?.(_.id, _.label);
3908
+ const j = k.findIndex((I) => I.id === _.id);
3909
+ L(j), D([_.id]), B();
3910
3910
  }, x = (_) => {
3911
- _.key === "Escape" && (B(), k(-1));
3911
+ _.key === "Escape" && (B(), L(-1));
3912
3912
  }, $ = (_) => {
3913
- if ((_.key === "ArrowDown" || _.key === "ArrowUp") && (_.preventDefault(), S)) {
3914
- const D = _.key === "ArrowDown" ? (C + 1) % L.length : (C - 1 + L.length) % L.length;
3915
- k(D);
3913
+ if ((_.key === "ArrowDown" || _.key === "ArrowUp") && (_.preventDefault(), v)) {
3914
+ const j = _.key === "ArrowDown" ? (C + 1) % k.length : (C - 1 + k.length) % k.length;
3915
+ L(j);
3916
3916
  }
3917
3917
  switch (_.key) {
3918
3918
  case "Enter":
3919
- C >= 0 && C < L.length ? h(L[C]) : l && (c?.(b, ""), B(), w(""), v(""));
3919
+ C >= 0 && C < k.length ? h(k[C]) : l && (c?.(S, ""), B(), w(""), b(""));
3920
3920
  break;
3921
3921
  case "Escape":
3922
- B(), k(-1);
3922
+ B(), L(-1);
3923
3923
  break;
3924
3924
  }
3925
3925
  };
@@ -3927,8 +3927,8 @@ const In = ({
3927
3927
  /* @__PURE__ */ m.jsx(
3928
3928
  At,
3929
3929
  {
3930
- ...g,
3931
- bindValue: b,
3930
+ ...y,
3931
+ bindValue: S,
3932
3932
  optionalDisplayValue: E,
3933
3933
  displayMode: r,
3934
3934
  isEditable: i,
@@ -3941,14 +3941,14 @@ const In = ({
3941
3941
  onChange: q,
3942
3942
  onKeyDown: $,
3943
3943
  onBlur: F,
3944
- onShapeIconClick: () => X(b),
3944
+ onShapeIconClick: () => X(S),
3945
3945
  "aria-autocomplete": "list"
3946
3946
  }
3947
3947
  ),
3948
- S && /* @__PURE__ */ m.jsx(pt, { children: /* @__PURE__ */ m.jsx(
3948
+ v && /* @__PURE__ */ m.jsx(pt, { children: /* @__PURE__ */ m.jsx(
3949
3949
  Ln,
3950
3950
  {
3951
- options: L,
3951
+ options: k,
3952
3952
  displayMode: s,
3953
3953
  onClick: h,
3954
3954
  ref: P,
@@ -3957,7 +3957,7 @@ const In = ({
3957
3957
  width: N,
3958
3958
  showFilter: !1,
3959
3959
  onKeyDown: x,
3960
- isOpen: S
3960
+ isOpen: v
3961
3961
  }
3962
3962
  ) })
3963
3963
  ] });
@@ -3975,22 +3975,22 @@ const In = ({
3975
3975
  disabled: d,
3976
3976
  justify: u,
3977
3977
  squared: f,
3978
- onClick: g,
3978
+ onClick: y,
3979
3979
  onOptionsRequest: p
3980
3980
  }) => {
3981
- const [b, w] = G(n);
3981
+ const [S, w] = G(n);
3982
3982
  ne(() => {
3983
- !b && p && e && p(e, void 0).then((T) => w(T)).catch((T) => {
3983
+ !S && p && e && p(e, void 0).then((T) => w(T)).catch((T) => {
3984
3984
  console.error(
3985
3985
  "Errore nel caricamento delle opzioni per ButtonList",
3986
3986
  T
3987
3987
  );
3988
3988
  });
3989
- }, [b, e, p]);
3989
+ }, [S, e, p]);
3990
3990
  const E = {
3991
3991
  container: `smp-button-list smp-button-list-${t} smp-justifyContent-${r}`
3992
- }, v = b?.map((T, S) => {
3993
- const y = {
3992
+ }, b = S?.map((T, v) => {
3993
+ const g = {
3994
3994
  bindValue: T.id,
3995
3995
  optionalDisplayValue: T.label,
3996
3996
  fun: T.fun,
@@ -4005,12 +4005,12 @@ const In = ({
4005
4005
  justify: u,
4006
4006
  squared: f,
4007
4007
  onClick: () => {
4008
- g?.(T.id, T.fun);
4008
+ y?.(T.id, T.fun);
4009
4009
  }
4010
4010
  };
4011
- return /* @__PURE__ */ m.jsx(Se, { ...y }, `button-${S}`);
4011
+ return /* @__PURE__ */ m.jsx(Se, { ...g }, `button-${v}`);
4012
4012
  });
4013
- return /* @__PURE__ */ m.jsx("div", { role: "list", "data-component": "button-list", className: E.container, children: v });
4013
+ return /* @__PURE__ */ m.jsx("div", { role: "list", "data-component": "button-list", className: E.container, children: b });
4014
4014
  }, ds = {
4015
4015
  "smp-checkbox-wrapper": "_smp-checkbox-wrapper_z14lq_2"
4016
4016
  }, fs = ({
@@ -4029,7 +4029,7 @@ const In = ({
4029
4029
  wrapper: `${ds["smp-checkbox-wrapper"]}`
4030
4030
  };
4031
4031
  return /* @__PURE__ */ m.jsxs("div", { className: d.wrapper, "data-component": e, children: [
4032
- r && /* @__PURE__ */ m.jsx(je, { label: r, disabled: t, htmlFor: l }),
4032
+ r && /* @__PURE__ */ m.jsx(De, { label: r, disabled: t, htmlFor: l }),
4033
4033
  /* @__PURE__ */ m.jsx(
4034
4034
  "input",
4035
4035
  {
@@ -4055,19 +4055,19 @@ const In = ({
4055
4055
  const [o, l] = G(null), c = {
4056
4056
  container: `${["smp-chips-container"]}`,
4057
4057
  element: "smp-chips-element"
4058
- }, d = (g) => {
4059
- r?.(n.filter((p, b) => b !== g));
4060
- }, u = (g) => {
4061
- l(g);
4062
- }, f = (g) => {
4063
- if (o === null || o === g) return;
4064
- const p = [...n], [b] = p.splice(o, 1);
4065
- p.splice(g, 0, b), r?.(p), l(null);
4058
+ }, d = (y) => {
4059
+ r?.(n.filter((p, S) => S !== y));
4060
+ }, u = (y) => {
4061
+ l(y);
4062
+ }, f = (y) => {
4063
+ if (o === null || o === y) return;
4064
+ const p = [...n], [S] = p.splice(o, 1);
4065
+ p.splice(y, 0, S), r?.(p), l(null);
4066
4066
  };
4067
- return /* @__PURE__ */ m.jsx("div", { className: c.container, role: "list", "data-component": "chip", children: n.flatMap((g, p) => {
4068
- const b = _e(
4069
- g.bindValue,
4070
- g.optionalDisplayValue,
4067
+ return /* @__PURE__ */ m.jsx("div", { className: c.container, role: "list", "data-component": "chip", children: n.flatMap((y, p) => {
4068
+ const S = _e(
4069
+ y.bindValue,
4070
+ y.optionalDisplayValue,
4071
4071
  t
4072
4072
  ), w = /* @__PURE__ */ m.jsxs(
4073
4073
  "div",
@@ -4076,14 +4076,14 @@ const In = ({
4076
4076
  role: "listitem",
4077
4077
  draggable: i,
4078
4078
  onDragStart: () => u(p),
4079
- onDragOver: (v) => i && v.preventDefault(),
4079
+ onDragOver: (b) => i && b.preventDefault(),
4080
4080
  onDrop: () => i && f(p),
4081
4081
  style: {
4082
4082
  "--smp-chips-backgroundColor-base": a
4083
4083
  },
4084
4084
  children: [
4085
4085
  i && /* @__PURE__ */ m.jsx(de, { icon: "drag_indicator_horizontal", isInteractable: !0 }),
4086
- /* @__PURE__ */ m.jsx(Oe, { variant: "label", bindValue: b, color: s }),
4086
+ /* @__PURE__ */ m.jsx(Oe, { variant: "label", bindValue: S, color: s }),
4087
4087
  e && /* @__PURE__ */ m.jsx(
4088
4088
  de,
4089
4089
  {
@@ -4158,33 +4158,33 @@ const ps = ({
4158
4158
  multiActiveIndex: c,
4159
4159
  ...d
4160
4160
  }) => {
4161
- const u = le(null), [f, g] = G(!1), [p, b] = G(t), [w, E] = G(-1), [v, T] = G([n]), S = Ce(), { anchorRef: y, targetRef: L, anchorWidth: A } = ft({
4161
+ const u = le(null), [f, y] = G(!1), [p, S] = G(t), [w, E] = G(-1), [b, T] = G([n]), v = Ce(), { anchorRef: g, targetRef: k, anchorWidth: A } = ft({
4162
4162
  position: "bottom",
4163
4163
  enabled: f
4164
4164
  }), C = ue(() => {
4165
- g(!1), u?.current?.focus();
4165
+ y(!1), u?.current?.focus();
4166
4166
  }, []);
4167
- ht([L, y], f, () => C()), It(f, L);
4168
- const k = (P) => {
4167
+ ht([k, g], f, () => C()), It(f, k);
4168
+ const L = (P) => {
4169
4169
  e?.(P.id, P.label);
4170
4170
  const N = p.findIndex((B) => B.id === P.id);
4171
4171
  E(N), T([P.id]), C();
4172
4172
  }, R = (P) => {
4173
4173
  P.key === "Escape" && (C(), E(-1));
4174
- }, j = (P) => {
4174
+ }, D = (P) => {
4175
4175
  (P.key === "ArrowDown" || P.key === "ArrowUp") && (P.preventDefault(), O());
4176
4176
  }, O = () => {
4177
- s && (o && l ? f ? g(!1) : l(o, void 0).then((P) => {
4178
- b(P), E(P.length > 0 ? 0 : -1), g(!0);
4179
- }) : g((P) => !P));
4177
+ s && (o && l ? f ? y(!1) : l(o, void 0).then((P) => {
4178
+ S(P), E(P.length > 0 ? 0 : -1), y(!0);
4179
+ }) : y((P) => !P));
4180
4180
  };
4181
4181
  return /* @__PURE__ */ m.jsxs(
4182
4182
  "div",
4183
4183
  {
4184
4184
  role: "combobox",
4185
4185
  "aria-expanded": f,
4186
- "aria-controls": S,
4187
- "aria-owns": S,
4186
+ "aria-controls": v,
4187
+ "aria-owns": v,
4188
4188
  "data-component": "combobox",
4189
4189
  children: [
4190
4190
  /* @__PURE__ */ m.jsx(
@@ -4195,12 +4195,12 @@ const ps = ({
4195
4195
  optionalDisplayValue: r,
4196
4196
  displayMode: a,
4197
4197
  onShapeIconClick: O,
4198
- onKeyDown: j,
4198
+ onKeyDown: D,
4199
4199
  onClick: O,
4200
4200
  shapeIcon: "arrow_drop_down",
4201
4201
  rotatedShapeIcon: f,
4202
4202
  isEditable: s,
4203
- ref: y,
4203
+ ref: g,
4204
4204
  inputRef: u,
4205
4205
  "aria-autocomplete": "list",
4206
4206
  variant: "notSelectable"
@@ -4209,15 +4209,15 @@ const ps = ({
4209
4209
  f && /* @__PURE__ */ m.jsx(pt, { children: /* @__PURE__ */ m.jsx(
4210
4210
  Ln,
4211
4211
  {
4212
- id: S,
4212
+ id: v,
4213
4213
  options: p,
4214
4214
  displayMode: i,
4215
- ref: L,
4215
+ ref: k,
4216
4216
  isOpen: f,
4217
4217
  selectedIndex: w,
4218
- activeIndex: c || v,
4218
+ activeIndex: c || b,
4219
4219
  width: A,
4220
- onClick: k,
4220
+ onClick: L,
4221
4221
  onKeyDown: R
4222
4222
  }
4223
4223
  ) })
@@ -4242,11 +4242,11 @@ function ms({
4242
4242
  n || i() || /* @__PURE__ */ new Date()
4243
4243
  ), [d, u] = G(
4244
4244
  l ? l.getMonth() : (/* @__PURE__ */ new Date()).getMonth()
4245
- ), [f, g] = G(
4245
+ ), [f, y] = G(
4246
4246
  l ? l.getFullYear() : (/* @__PURE__ */ new Date()).getFullYear()
4247
- ), [p, b] = G(
4247
+ ), [p, S] = G(
4248
4248
  l ? l.getDate() : null
4249
- ), w = le(null), E = le([]), v = [
4249
+ ), w = le(null), E = le([]), b = [
4250
4250
  a(pe.JANUARY),
4251
4251
  a(pe.FEBRUARY),
4252
4252
  a(pe.MARCH),
@@ -4288,21 +4288,21 @@ function ms({
4288
4288
  value: a(fe.SATURDAY_SHORT),
4289
4289
  full: a(fe.SATURDAY)
4290
4290
  }
4291
- ], S = (F) => t.some((h) => {
4291
+ ], v = (F) => t.some((h) => {
4292
4292
  const x = h.start.getTime(), $ = h.end.getTime(), _ = F.getTime();
4293
4293
  return _ >= x && _ <= $;
4294
- }), y = (F) => {
4295
- S(F) || (c(F), b(F.getDate()), e && e(Er(F)));
4296
- }, L = () => {
4297
- d === 0 ? (u(11), g(f - 1)) : u(d - 1), b(1);
4294
+ }), g = (F) => {
4295
+ v(F) || (c(F), S(F.getDate()), e && e(Er(F)));
4296
+ }, k = () => {
4297
+ d === 0 ? (u(11), y(f - 1)) : u(d - 1), S(1);
4298
4298
  }, A = () => {
4299
- d === 11 ? (u(0), g(f + 1)) : u(d + 1), b(1);
4300
- }, C = (F, h) => new Date(F, h + 1, 0).getDate(), k = (F, h) => new Date(F, h, 1).getDay(), R = (F) => {
4299
+ d === 11 ? (u(0), y(f + 1)) : u(d + 1), S(1);
4300
+ }, C = (F, h) => new Date(F, h + 1, 0).getDate(), L = (F, h) => new Date(F, h, 1).getDay(), R = (F) => {
4301
4301
  const h = N.findIndex(
4302
4302
  (x) => x !== null && x.getDate() === F
4303
4303
  );
4304
- h !== -1 && E.current[h] && (E.current[h]?.focus(), b(F));
4305
- }, j = (F, h) => {
4304
+ h !== -1 && E.current[h] && (E.current[h]?.focus(), S(F));
4305
+ }, D = (F, h) => {
4306
4306
  const x = N[h];
4307
4307
  if (!x) return;
4308
4308
  const $ = C(f, d), _ = x.getDate();
@@ -4310,15 +4310,15 @@ function ms({
4310
4310
  case "ArrowRight":
4311
4311
  F.preventDefault();
4312
4312
  {
4313
- let D = _ + 1, I = new Date(f, d, D);
4314
- if (D > $) {
4313
+ let j = _ + 1, I = new Date(f, d, j);
4314
+ if (j > $) {
4315
4315
  const U = d === 11 ? f + 1 : f, W = d === 11 ? 0 : d + 1;
4316
- D = 1, I = new Date(U, W, D), A(), setTimeout(() => {
4316
+ j = 1, I = new Date(U, W, j), A(), setTimeout(() => {
4317
4317
  O(1, "forward");
4318
4318
  }, 0);
4319
4319
  return;
4320
4320
  }
4321
- S(I) ? O(D, "forward") : R(D);
4321
+ v(I) ? O(j, "forward") : R(j);
4322
4322
  }
4323
4323
  break;
4324
4324
  case "Tab":
@@ -4326,43 +4326,43 @@ function ms({
4326
4326
  case "ArrowLeft":
4327
4327
  F.preventDefault();
4328
4328
  {
4329
- let D = _ - 1, I = new Date(f, d, D);
4330
- if (D < 1) {
4329
+ let j = _ - 1, I = new Date(f, d, j);
4330
+ if (j < 1) {
4331
4331
  const U = d === 0 ? f - 1 : f, W = d === 0 ? 11 : d - 1, V = C(U, W);
4332
- D = V, I = new Date(U, W, D), L(), setTimeout(() => {
4332
+ j = V, I = new Date(U, W, j), k(), setTimeout(() => {
4333
4333
  O(V, "backward");
4334
4334
  }, 0);
4335
4335
  return;
4336
4336
  }
4337
- S(I) ? O(D, "backward") : R(D);
4337
+ v(I) ? O(j, "backward") : R(j);
4338
4338
  }
4339
4339
  break;
4340
4340
  case "ArrowUp":
4341
4341
  F.preventDefault();
4342
4342
  {
4343
- let D = _ - 7, I = new Date(f, d, D);
4344
- if (D < 1) {
4343
+ let j = _ - 7, I = new Date(f, d, j);
4344
+ if (j < 1) {
4345
4345
  const U = d === 0 ? f - 1 : f, W = d === 0 ? 11 : d - 1;
4346
- D = C(U, W) + D, I = new Date(U, W, D), L(), setTimeout(() => {
4347
- O(D, "backward");
4346
+ j = C(U, W) + j, I = new Date(U, W, j), k(), setTimeout(() => {
4347
+ O(j, "backward");
4348
4348
  }, 0);
4349
4349
  return;
4350
4350
  }
4351
- S(I) ? O(D, "backward") : R(D);
4351
+ v(I) ? O(j, "backward") : R(j);
4352
4352
  }
4353
4353
  break;
4354
4354
  case "ArrowDown":
4355
4355
  F.preventDefault();
4356
4356
  {
4357
- let D = _ + 7, I = new Date(f, d, D);
4358
- if (D > $) {
4357
+ let j = _ + 7, I = new Date(f, d, j);
4358
+ if (j > $) {
4359
4359
  const U = d === 11 ? f + 1 : f, W = d === 11 ? 0 : d + 1;
4360
- D = D - $, I = new Date(U, W, D), A(), setTimeout(() => {
4361
- O(D, "forward");
4360
+ j = j - $, I = new Date(U, W, j), A(), setTimeout(() => {
4361
+ O(j, "forward");
4362
4362
  }, 0);
4363
4363
  return;
4364
4364
  }
4365
- S(I) ? O(D, "forward") : R(D);
4365
+ v(I) ? O(j, "forward") : R(j);
4366
4366
  }
4367
4367
  break;
4368
4368
  case "Home":
@@ -4372,30 +4372,30 @@ function ms({
4372
4372
  F.preventDefault(), O($, "backward");
4373
4373
  break;
4374
4374
  case "PageUp":
4375
- F.preventDefault(), L(), setTimeout(() => {
4376
- const D = C(
4375
+ F.preventDefault(), k(), setTimeout(() => {
4376
+ const j = C(
4377
4377
  d === 0 ? f - 1 : f,
4378
4378
  d === 0 ? 11 : d - 1
4379
- ), I = Math.min(_, D);
4379
+ ), I = Math.min(_, j);
4380
4380
  O(I, "forward");
4381
4381
  }, 0);
4382
4382
  break;
4383
4383
  case "PageDown":
4384
4384
  F.preventDefault(), A(), setTimeout(() => {
4385
- const D = C(
4385
+ const j = C(
4386
4386
  d === 11 ? f + 1 : f,
4387
4387
  d === 11 ? 0 : d + 1
4388
- ), I = Math.min(_, D);
4388
+ ), I = Math.min(_, j);
4389
4389
  O(I, "forward");
4390
4390
  }, 0);
4391
4391
  break;
4392
4392
  case " ":
4393
4393
  case "Space":
4394
- if (S(x)) return;
4395
- b(x.getDate()), c(x);
4394
+ if (v(x)) return;
4395
+ S(x.getDate()), c(x);
4396
4396
  break;
4397
4397
  case "Enter":
4398
- F.preventDefault(), y(x);
4398
+ F.preventDefault(), g(x);
4399
4399
  break;
4400
4400
  }
4401
4401
  }, O = (F, h) => {
@@ -4403,7 +4403,7 @@ function ms({
4403
4403
  if (h === "forward") {
4404
4404
  for (let $ = F; $ <= x; $++) {
4405
4405
  const _ = new Date(f, d, $);
4406
- if (!S(_)) {
4406
+ if (!v(_)) {
4407
4407
  R($);
4408
4408
  return;
4409
4409
  }
@@ -4414,18 +4414,18 @@ function ms({
4414
4414
  } else {
4415
4415
  for (let I = F; I >= 1; I--) {
4416
4416
  const U = new Date(f, d, I);
4417
- if (!S(U)) {
4417
+ if (!v(U)) {
4418
4418
  R(I);
4419
4419
  return;
4420
4420
  }
4421
4421
  }
4422
- const $ = d === 0 ? f - 1 : f, _ = d === 0 ? 11 : d - 1, D = C($, _);
4423
- L(), setTimeout(() => {
4424
- O(D, "backward");
4422
+ const $ = d === 0 ? f - 1 : f, _ = d === 0 ? 11 : d - 1, j = C($, _);
4423
+ k(), setTimeout(() => {
4424
+ O(j, "backward");
4425
4425
  }, 0);
4426
4426
  }
4427
4427
  }, N = (() => {
4428
- const F = C(f, d), h = k(f, d), x = [];
4428
+ const F = C(f, d), h = L(f, d), x = [];
4429
4429
  for (let $ = 0; $ < h; $++)
4430
4430
  x.push(null);
4431
4431
  for (let $ = 1; $ <= F; $++) {
@@ -4460,7 +4460,7 @@ function ms({
4460
4460
  ${h ? "smp-datepickercalendar-td-selected" : ""}
4461
4461
  ${x ? "smp-datepickercalendar-td-focused" : ""}
4462
4462
  ${$ ? "smp-datepickercalendar-td-disabled" : ""}`
4463
- }, X = () => `${v[d]} ${f.toString()}`;
4463
+ }, X = () => `${b[d]} ${f.toString()}`;
4464
4464
  return /* @__PURE__ */ m.jsxs(
4465
4465
  "div",
4466
4466
  {
@@ -4484,8 +4484,8 @@ function ms({
4484
4484
  /* @__PURE__ */ m.jsx(
4485
4485
  Se,
4486
4486
  {
4487
- onClick: L,
4488
- ariaLabel: a(jt.PREVIOUS_MONTH),
4487
+ onClick: k,
4488
+ ariaLabel: a(Dt.PREVIOUS_MONTH),
4489
4489
  optionalDisplayValue: "<",
4490
4490
  appearance: "ghost",
4491
4491
  variant: "base",
@@ -4504,7 +4504,7 @@ function ms({
4504
4504
  Se,
4505
4505
  {
4506
4506
  onClick: A,
4507
- ariaLabel: a(jt.NEXT_MONTH),
4507
+ ariaLabel: a(Dt.NEXT_MONTH),
4508
4508
  bindValue: ">",
4509
4509
  optionalDisplayValue: ">",
4510
4510
  appearance: "ghost",
@@ -4519,7 +4519,7 @@ function ms({
4519
4519
  {
4520
4520
  ref: w,
4521
4521
  role: "grid",
4522
- "aria-label": `${a(Ee.CALENDAR_FOR)} ${v[d]} ${f}`,
4522
+ "aria-label": `${a(Ee.CALENDAR_FOR)} ${b[d]} ${f}`,
4523
4523
  className: q.table,
4524
4524
  children: [
4525
4525
  /* @__PURE__ */ m.jsx("thead", { children: /* @__PURE__ */ m.jsx("tr", { children: T.map((F) => /* @__PURE__ */ m.jsx(
@@ -4547,23 +4547,23 @@ function ms({
4547
4547
  },
4548
4548
  `empty-${$}`
4549
4549
  );
4550
- const D = x.getDate() === o.getDate() && x.getMonth() === o.getMonth() && x.getFullYear() === o.getFullYear(), I = l && x.getDate() === l.getDate() && x.getMonth() === l.getMonth() && x.getFullYear() === l.getFullYear(), U = p === x.getDate(), W = S(x);
4550
+ const j = x.getDate() === o.getDate() && x.getMonth() === o.getMonth() && x.getFullYear() === o.getFullYear(), I = l && x.getDate() === l.getDate() && x.getMonth() === l.getMonth() && x.getFullYear() === l.getFullYear(), U = p === x.getDate(), W = v(x);
4551
4551
  return /* @__PURE__ */ m.jsx(
4552
4552
  "td",
4553
4553
  {
4554
4554
  role: "gridcell",
4555
4555
  "aria-selected": I,
4556
4556
  tabIndex: U ? 0 : -1,
4557
- onClick: () => y(x),
4558
- onKeyDown: (V) => j(V, _),
4559
- "aria-label": `${x.getDate()} ${v[x.getMonth()]} ${x.getFullYear()}`,
4557
+ onClick: () => g(x),
4558
+ onKeyDown: (V) => D(V, _),
4559
+ "aria-label": `${x.getDate()} ${b[x.getMonth()]} ${x.getFullYear()}`,
4560
4560
  "data-selected": I,
4561
4561
  "aria-disabled": W,
4562
4562
  ref: (V) => {
4563
4563
  E.current[_] = V;
4564
4564
  },
4565
4565
  className: q.td(
4566
- D,
4566
+ j,
4567
4567
  I,
4568
4568
  U,
4569
4569
  W
@@ -4588,23 +4588,23 @@ const gs = ({
4588
4588
  isEditable: s = !0,
4589
4589
  ...a
4590
4590
  }) => {
4591
- const i = le(null), [o, l] = G(!1), [c, d] = G(n || ""), [u, f] = G(""), { anchorRef: g, targetRef: p } = ft({
4591
+ const i = le(null), [o, l] = G(!1), [c, d] = G(n || ""), [u, f] = G(""), { anchorRef: y, targetRef: p } = ft({
4592
4592
  position: "bottom",
4593
4593
  enabled: o
4594
- }), b = ue(() => {
4594
+ }), S = ue(() => {
4595
4595
  l(!1), i?.current?.focus();
4596
4596
  }, []);
4597
- ht([p, g], o, () => {
4598
- b();
4597
+ ht([p, y], o, () => {
4598
+ S();
4599
4599
  }), It(o, p);
4600
- const { format: w, getCurrentLanguage: E } = $e(), v = ue(
4601
- (k) => {
4602
- const R = k.length > 5 && xr(k, E()) || k, j = w(R, void 0, void 0, {
4600
+ const { format: w, getCurrentLanguage: E } = $e(), b = ue(
4601
+ (L) => {
4602
+ const R = L.length > 5 && xr(L, E()) || L, D = w(R, void 0, void 0, {
4603
4603
  type: "date"
4604
4604
  }), O = typeof R != "string", P = O && R.toISOString().substring(0, 10) || "";
4605
4605
  return {
4606
4606
  isValid: O,
4607
- formattedDate: j,
4607
+ formattedDate: D,
4608
4608
  isoDate: P,
4609
4609
  normalizedDate: R
4610
4610
  };
@@ -4612,34 +4612,34 @@ const gs = ({
4612
4612
  [E, w]
4613
4613
  );
4614
4614
  ne(() => {
4615
- const { formattedDate: k, isoDate: R, isValid: j } = v(n);
4616
- d(j && R || n), f(j && k || n);
4617
- }, [n, w, v]);
4618
- const T = () => l((k) => !k), S = () => {
4619
- L(u);
4620
- }, y = (k) => {
4621
- L(k), b();
4622
- }, L = (k) => {
4623
- const { isoDate: R, isValid: j } = v(k);
4624
- t && t(j && R || k);
4625
- }, A = (k) => {
4626
- f(k);
4627
- }, C = (k) => {
4628
- k.key === "Enter" && (k.preventDefault(), L(u));
4615
+ const { formattedDate: L, isoDate: R, isValid: D } = b(n);
4616
+ d(D && R || n), f(D && L || n);
4617
+ }, [n, w, b]);
4618
+ const T = () => l((L) => !L), v = () => {
4619
+ k(u);
4620
+ }, g = (L) => {
4621
+ k(L), S();
4622
+ }, k = (L) => {
4623
+ const { isoDate: R, isValid: D } = b(L);
4624
+ t && t(D && R || L);
4625
+ }, A = (L) => {
4626
+ f(L);
4627
+ }, C = (L) => {
4628
+ L.key === "Enter" && (L.preventDefault(), k(u));
4629
4629
  };
4630
4630
  return /* @__PURE__ */ m.jsxs("div", { "data-component": "date-picker", children: [
4631
4631
  /* @__PURE__ */ m.jsx(
4632
- De,
4632
+ je,
4633
4633
  {
4634
4634
  ...a,
4635
4635
  bindValue: u,
4636
4636
  placeholder: e,
4637
- onBlur: S,
4637
+ onBlur: v,
4638
4638
  onChange: A,
4639
4639
  onKeyDown: C,
4640
4640
  shapeIcon: "calendar",
4641
4641
  onShapeIconClick: T,
4642
- ref: g,
4642
+ ref: y,
4643
4643
  inputRef: i,
4644
4644
  isEditable: s,
4645
4645
  size: 10,
@@ -4650,7 +4650,7 @@ const gs = ({
4650
4650
  ms,
4651
4651
  {
4652
4652
  disabledDateRanges: r,
4653
- onDateChange: y,
4653
+ onDateChange: g,
4654
4654
  initialValue: Lt(c) && c || "",
4655
4655
  targetRef: p
4656
4656
  }
@@ -4670,19 +4670,19 @@ const gs = ({
4670
4670
  onOptionsRequest: d,
4671
4671
  onChange: u,
4672
4672
  onBlur: f,
4673
- ...g
4673
+ ...y
4674
4674
  }) => {
4675
- const p = n.map((E) => E.bindValue), b = (E, v) => {
4675
+ const p = n.map((E) => E.bindValue), S = (E, b) => {
4676
4676
  const T = [...n];
4677
4677
  if (E == "")
4678
4678
  T.pop();
4679
4679
  else {
4680
- const S = T.findIndex(
4681
- (y) => y.bindValue === E && y.optionalDisplayValue === v
4680
+ const v = T.findIndex(
4681
+ (g) => g.bindValue === E && g.optionalDisplayValue === b
4682
4682
  );
4683
- S >= 0 ? T.splice(S, 1) : T.push({
4683
+ v >= 0 ? T.splice(v, 1) : T.push({
4684
4684
  bindValue: E,
4685
- optionalDisplayValue: v
4685
+ optionalDisplayValue: b
4686
4686
  });
4687
4687
  }
4688
4688
  u?.(T);
@@ -4695,7 +4695,7 @@ const gs = ({
4695
4695
  className: w.container,
4696
4696
  "data-component": "multiple-autocomplete",
4697
4697
  children: [
4698
- i && /* @__PURE__ */ m.jsx(je, { label: i, disabled: o }),
4698
+ i && /* @__PURE__ */ m.jsx(De, { label: i, disabled: o }),
4699
4699
  /* @__PURE__ */ m.jsx(
4700
4700
  Pt,
4701
4701
  {
@@ -4710,11 +4710,11 @@ const gs = ({
4710
4710
  /* @__PURE__ */ m.jsx(
4711
4711
  In,
4712
4712
  {
4713
- ...g,
4713
+ ...y,
4714
4714
  bindValue: "",
4715
4715
  fun: l,
4716
4716
  isEditable: s,
4717
- onChange: b,
4717
+ onChange: S,
4718
4718
  _changeOnEnter: !0,
4719
4719
  listDisplayMode: r,
4720
4720
  minimumChars: t,
@@ -4731,7 +4731,7 @@ const gs = ({
4731
4731
  }, bs = ({ ...n }) => {
4732
4732
  const [e, t] = G(!1), r = e ? "visibility-off" : "visibility";
4733
4733
  return /* @__PURE__ */ m.jsx(
4734
- De,
4734
+ je,
4735
4735
  {
4736
4736
  ...n,
4737
4737
  inputType: e ? "text" : "password",
@@ -4746,7 +4746,7 @@ const gs = ({
4746
4746
  a.key === "Enter" && (a.preventDefault(), n.onEnter?.(e));
4747
4747
  };
4748
4748
  return /* @__PURE__ */ m.jsx(
4749
- De,
4749
+ je,
4750
4750
  {
4751
4751
  ...n,
4752
4752
  placeholder: n.placeholder ? n.placeholder : r(Ee.SPOTLIGHT_DEFAULT_PLACEHOLDER),
@@ -4768,7 +4768,7 @@ const gs = ({
4768
4768
  wrapper: "smp-text-wrapper"
4769
4769
  };
4770
4770
  return t ? /* @__PURE__ */ m.jsxs("div", { className: r.wrapper, children: [
4771
- /* @__PURE__ */ m.jsx(je, { label: t }),
4771
+ /* @__PURE__ */ m.jsx(De, { label: t }),
4772
4772
  /* @__PURE__ */ m.jsx(
4773
4773
  Oe,
4774
4774
  {
@@ -4809,7 +4809,7 @@ class Re {
4809
4809
  return this.value.join(";");
4810
4810
  }
4811
4811
  }
4812
- const Ie = (n, e, t) => ({
4812
+ const Ne = (n, e, t) => ({
4813
4813
  obj: {
4814
4814
  t: n.obj.t,
4815
4815
  p: n.obj.p,
@@ -4832,7 +4832,7 @@ const Ie = (n, e, t) => ({
4832
4832
  n.obj,
4833
4833
  e.map((s) => s.optionalDisplayValue ? s.optionalDisplayValue : "")
4834
4834
  ).getLegacyValue();
4835
- return Ie(n, t, r);
4835
+ return Ne(n, t, r);
4836
4836
  }, ws = (n) => {
4837
4837
  switch (n) {
4838
4838
  case "CodeOnly":
@@ -4856,7 +4856,7 @@ const Ie = (n, e, t) => ({
4856
4856
  onEnter: o,
4857
4857
  ...l
4858
4858
  }) => {
4859
- const { getCurrentLanguage: c } = $e(), d = le(null), u = c(), { groupingChar: f, decimalChar: g } = Vn(
4859
+ const { getCurrentLanguage: c } = $e(), d = le(null), u = c(), { groupingChar: f, decimalChar: y } = Vn(
4860
4860
  () => ns(u, s),
4861
4861
  [u, s]
4862
4862
  ), p = ue(
@@ -4866,84 +4866,84 @@ const Ie = (n, e, t) => ({
4866
4866
  useGrouping: !0
4867
4867
  }).format(O),
4868
4868
  [u]
4869
- ), b = ue(as, [f, g]), w = ue(ts, [n, e]), E = a != null && a.toString().includes(".") ? a.toString().split(".")[1].length : 0, [v, T] = G(E), [S, y] = G(
4870
- a != null ? p(a, v) : ""
4871
- ), L = le(a ?? null);
4869
+ ), S = ue(as, [f, y]), w = ue(ts, [n, e]), E = a != null && a.toString().includes(".") ? a.toString().split(".")[1].length : 0, [b, T] = G(E), [v, g] = G(
4870
+ a != null ? p(a, b) : ""
4871
+ ), k = le(a ?? null);
4872
4872
  ne(() => {
4873
4873
  if (a == null) {
4874
- y(""), L.current = null;
4874
+ g(""), k.current = null;
4875
4875
  return;
4876
4876
  }
4877
- const O = a.toString().includes(".") ? a.toString().split(".")[1].length : 0, P = O === 0 ? v : O;
4878
- P !== v && T(P), y(p(a, P)), L.current = a;
4877
+ const O = a.toString().includes(".") ? a.toString().split(".")[1].length : 0, P = O === 0 ? b : O;
4878
+ P !== b && T(P), g(p(a, P)), k.current = a;
4879
4879
  }, [a, p]);
4880
4880
  const A = ue(
4881
4881
  (O, P = !1) => {
4882
4882
  if (O.trim() === "") {
4883
- y(""), L.current = null, i?.(void 0, ""), P && o?.(void 0);
4883
+ g(""), k.current = null, i?.(void 0, ""), P && o?.(void 0);
4884
4884
  return;
4885
4885
  }
4886
- const N = b(O, f, g);
4886
+ const N = S(O, f, y);
4887
4887
  if (isNaN(N))
4888
- if (L.current != null) {
4889
- const B = p(L.current, v);
4890
- y(B);
4888
+ if (k.current != null) {
4889
+ const B = p(k.current, b);
4890
+ g(B);
4891
4891
  } else
4892
- y("");
4892
+ g("");
4893
4893
  else {
4894
4894
  const B = w(N, n, e), H = ss(
4895
4895
  O,
4896
4896
  f,
4897
- g
4897
+ y
4898
4898
  );
4899
4899
  T(H);
4900
4900
  const q = p(B, H);
4901
- y(q), L.current = B, i?.(B, q), P && o?.(B);
4901
+ g(q), k.current = B, i?.(B, q), P && o?.(B);
4902
4902
  }
4903
4903
  },
4904
4904
  [
4905
- b,
4905
+ S,
4906
4906
  f,
4907
- g,
4907
+ y,
4908
4908
  w,
4909
4909
  n,
4910
4910
  e,
4911
4911
  p,
4912
4912
  i,
4913
4913
  o,
4914
- v
4914
+ b
4915
4915
  ]
4916
- ), C = (O) => y(O), k = () => A(S), R = (O) => {
4916
+ ), C = (O) => g(O), L = () => A(v), R = (O) => {
4917
4917
  if (O.key === "Enter") {
4918
- O.preventDefault(), A(S, !0);
4918
+ O.preventDefault(), A(v, !0);
4919
4919
  return;
4920
4920
  }
4921
4921
  if (O.key === "ArrowUp" || O.key === "ArrowDown") {
4922
4922
  O.preventDefault();
4923
- const P = O.key === "ArrowUp" ? 1 : -1, N = L.current ?? 0, B = w(N + P * t, n, e);
4924
- A(p(B, v));
4923
+ const P = O.key === "ArrowUp" ? 1 : -1, N = k.current ?? 0, B = w(N + P * t, n, e);
4924
+ A(p(B, b));
4925
4925
  }
4926
- }, j = (O) => {
4926
+ }, D = (O) => {
4927
4927
  if (!O.currentTarget.contains(document.activeElement)) return;
4928
4928
  O.preventDefault();
4929
- const P = O.deltaY < 0 ? 1 : -1, N = L.current ?? 0, B = w(N + P * t, n, e);
4930
- A(p(B, v));
4929
+ const P = O.deltaY < 0 ? 1 : -1, N = k.current ?? 0, B = w(N + P * t, n, e);
4930
+ A(p(B, b));
4931
4931
  };
4932
- return /* @__PURE__ */ m.jsx("div", { ref: d, "data-component": "input-number", onWheel: j, children: /* @__PURE__ */ m.jsx(
4933
- De,
4932
+ return /* @__PURE__ */ m.jsx("div", { ref: d, "data-component": "input-number", onWheel: D, children: /* @__PURE__ */ m.jsx(
4933
+ je,
4934
4934
  {
4935
4935
  ...l,
4936
4936
  "aria-valuemin": n,
4937
4937
  "aria-valuemax": e,
4938
- "aria-valuenow": L.current ?? void 0,
4939
- bindValue: S,
4938
+ "aria-valuenow": k.current ?? void 0,
4939
+ bindValue: v,
4940
4940
  inputType: "text",
4941
4941
  inputMode: r,
4942
4942
  min: n,
4943
4943
  max: e,
4944
4944
  step: t,
4945
4945
  onChange: C,
4946
- onBlur: k,
4946
+ onBlur: L,
4947
4947
  onKeyDown: R
4948
4948
  }
4949
4949
  ) });
@@ -5005,37 +5005,37 @@ const Ts = ({
5005
5005
  error: d,
5006
5006
  onBlur: u,
5007
5007
  onKeyDown: f,
5008
- rows: g = 10,
5008
+ rows: y = 10,
5009
5009
  cols: p = 35
5010
5010
  }) => {
5011
- const b = Ce(), w = `${b}-helper`, E = d ? "danger" : s, v = c || !!d, T = (y) => {
5012
- t?.(y.target.value);
5013
- }, S = {
5011
+ const S = Ce(), w = `${S}-helper`, E = d ? "danger" : s, b = c || !!d, T = (g) => {
5012
+ t?.(g.target.value);
5013
+ }, v = {
5014
5014
  wrapper: "smp-textarea-wrapper",
5015
5015
  container: `smp-textarea ${n ? "smp-textarea-disabled" : ""} ${r ? "smp-textarea-placeholder" : ""} ${E ? `smp-textarea-${E}` : ""} ${a ? `smp-textarea-${a}` : ""} ${i ? "" : "smp-textarea-readOnly"}`
5016
5016
  };
5017
- return /* @__PURE__ */ m.jsxs("div", { className: S.wrapper, "data-component": "textarea", children: [
5018
- o && /* @__PURE__ */ m.jsx(je, { htmlFor: b, label: o, disabled: n }),
5017
+ return /* @__PURE__ */ m.jsxs("div", { className: v.wrapper, "data-component": "textarea", children: [
5018
+ o && /* @__PURE__ */ m.jsx(De, { htmlFor: S, label: o, disabled: n }),
5019
5019
  /* @__PURE__ */ m.jsx(
5020
5020
  "textarea",
5021
5021
  {
5022
- id: b,
5022
+ id: S,
5023
5023
  value: e,
5024
5024
  placeholder: r,
5025
5025
  onChange: T,
5026
5026
  onBlur: u,
5027
- className: S.container,
5027
+ className: v.container,
5028
5028
  disabled: n,
5029
5029
  readOnly: !i,
5030
5030
  onKeyDown: f,
5031
5031
  "aria-label": o ? void 0 : l,
5032
- "aria-labelledby": o ? b : void 0,
5033
- "aria-describedby": v ? w : void 0,
5034
- rows: g,
5032
+ "aria-labelledby": o ? S : void 0,
5033
+ "aria-describedby": b ? w : void 0,
5034
+ rows: y,
5035
5035
  cols: p
5036
5036
  }
5037
5037
  ),
5038
- v && /* @__PURE__ */ m.jsx(
5038
+ b && /* @__PURE__ */ m.jsx(
5039
5039
  $n,
5040
5040
  {
5041
5041
  id: w,
@@ -5046,51 +5046,53 @@ const Ts = ({
5046
5046
  )
5047
5047
  ] });
5048
5048
  };
5049
- var Dt = /* @__PURE__ */ ((n) => (n.PAGE_DIRECTION = "pageDirection", n.LINE_DIRECTION = "lineDirection", n))(Dt || {});
5050
- const Ue = {
5051
- "smp-radio": "_smp-radio_1wj31_1",
5052
- "smp-radio-options-container": "_smp-radio-options-container_1wj31_10",
5053
- "smp-radio-horizontal": "_smp-radio-horizontal_1wj31_16",
5054
- "smp-radio-element": "_smp-radio-element_1wj31_20",
5055
- "smp-radio-disabled": "_smp-radio-disabled_1wj31_26"
5049
+ var jt = /* @__PURE__ */ ((n) => (n.PAGE_DIRECTION = "pageDirection", n.LINE_DIRECTION = "lineDirection", n))(jt || {});
5050
+ const Pe = {
5051
+ "smp-radio": "_smp-radio_1fqe8_1",
5052
+ "smp-radio-options-container": "_smp-radio-options-container_1fqe8_10",
5053
+ "smp-radio-horizontal": "_smp-radio-horizontal_1fqe8_16",
5054
+ "smp-radio-element": "_smp-radio-element_1fqe8_20",
5055
+ "smp-radio-disabled": "_smp-radio-disabled_1fqe8_26",
5056
+ "smp-radio-horizontal-grid": "_smp-radio-horizontal-grid_1fqe8_32"
5056
5057
  }, Cs = ({
5057
5058
  disabled: n = !1,
5058
5059
  displayMode: e = "DescOnly",
5059
- RadLay: t = Dt.PAGE_DIRECTION,
5060
- options: r,
5061
- onOptionsRequest: s,
5062
- fun: a,
5063
- label: i,
5064
- ...o
5060
+ RadLay: t = jt.PAGE_DIRECTION,
5061
+ RadCol: r,
5062
+ options: s,
5063
+ onOptionsRequest: a,
5064
+ fun: i,
5065
+ label: o,
5066
+ ...l
5065
5067
  }) => {
5066
- const [l, c] = G(r), d = Ce();
5068
+ const [c, d] = G(s), u = Ce();
5067
5069
  ne(() => {
5068
- !l && s && a && s(a, void 0).then((b) => c(b)).catch((b) => {
5069
- console.error("Error during loading options (radio)", b);
5070
+ !c && a && i && a(i, void 0).then((g) => d(g)).catch((g) => {
5071
+ console.error("Error during loading options (radio)", g);
5070
5072
  });
5071
- }, [l, s, a]);
5072
- const u = {
5073
- container: Ue["smp-radio"],
5074
- optionsContainer: `${Ue["smp-radio-options-container"]} ${t == Dt.LINE_DIRECTION ? Ue["smp-radio-horizontal"] : ""}`,
5075
- option: `${Ue["smp-radio-element"]} ${n ? Ue["smp-radio-disabled"] : ""}`
5076
- }, f = () => {
5077
- n || o.onBlur?.();
5078
- }, g = (b) => {
5079
- n || o.onChange?.(b.id, b.label);
5080
- }, p = Ce();
5081
- return /* @__PURE__ */ m.jsxs("div", { "smp-id": "radio-container", className: u.container, id: d, children: [
5082
- i && /* @__PURE__ */ m.jsx(je, { label: i, disabled: n, htmlFor: d }),
5083
- /* @__PURE__ */ m.jsx("div", { className: u.optionsContainer, children: l?.map((b, w) => /* @__PURE__ */ m.jsxs("label", { className: u.option, children: [
5073
+ }, [c, a, i]);
5074
+ const f = parseInt(r ?? "", 10), y = t === jt.LINE_DIRECTION, p = y && !isNaN(f), S = p ? Pe["smp-radio-horizontal-grid"] : y ? Pe["smp-radio-horizontal"] : "", w = p ? { gridTemplateColumns: `repeat(${f}, 1fr)` } : void 0, E = {
5075
+ container: Pe["smp-radio"],
5076
+ optionsContainer: `${Pe["smp-radio-options-container"]} ${S}`,
5077
+ option: `${Pe["smp-radio-element"]} ${n ? Pe["smp-radio-disabled"] : ""}`
5078
+ }, b = () => {
5079
+ n || l.onBlur?.();
5080
+ }, T = (g) => {
5081
+ n || l.onChange?.(g.id, g.label);
5082
+ }, v = Ce();
5083
+ return /* @__PURE__ */ m.jsxs("div", { "smp-id": "radio-container", className: E.container, id: u, children: [
5084
+ o && /* @__PURE__ */ m.jsx(De, { label: o, disabled: n, htmlFor: u }),
5085
+ /* @__PURE__ */ m.jsx("div", { className: E.optionsContainer, style: w, children: c?.map((g, k) => /* @__PURE__ */ m.jsxs("label", { className: E.option, children: [
5084
5086
  /* @__PURE__ */ m.jsx(
5085
5087
  "input",
5086
5088
  {
5087
5089
  type: "radio",
5088
- name: p,
5089
- value: b.id,
5090
+ name: v,
5091
+ value: g.id,
5090
5092
  disabled: n,
5091
- checked: b.id === o.bindValue,
5092
- onChange: () => g(b),
5093
- onBlur: f
5093
+ checked: g.id === l.bindValue,
5094
+ onChange: () => T(g),
5095
+ onBlur: b
5094
5096
  }
5095
5097
  ),
5096
5098
  /* @__PURE__ */ m.jsx(
@@ -5098,13 +5100,13 @@ const Ue = {
5098
5100
  {
5099
5101
  variant: "body",
5100
5102
  bindValue: _e(
5101
- b.id,
5102
- b.label,
5103
+ g.id,
5104
+ g.label,
5103
5105
  e
5104
5106
  )
5105
5107
  }
5106
5108
  )
5107
- ] }, w)) })
5109
+ ] }, k)) })
5108
5110
  ] });
5109
5111
  }, Os = ({
5110
5112
  value: n,
@@ -5167,47 +5169,47 @@ const Ue = {
5167
5169
  }, Rs = (n, e, t) => {
5168
5170
  const r = n != null && !isNaN(n) ? n.toString().padStart(2, "0") : "", s = e != null && !isNaN(e) ? e.toString().padStart(2, "0") : "", a = t != null && !isNaN(t) ? t.toString().padStart(2, "0") : "";
5169
5171
  return r && s ? `${r}:${s}:${a}` : s ? `${s}:${a}` : a;
5170
- }, js = ({
5172
+ }, Ds = ({
5171
5173
  bindValue: n,
5172
5174
  placeholder: e = "HH:MM:SS",
5173
5175
  onChange: t,
5174
5176
  isEditable: r = !0,
5175
5177
  ...s
5176
5178
  }) => {
5177
- const a = le(null), [i, o] = G(!1), [l, c] = G(n || ""), [d, u] = G(""), { anchorRef: f, targetRef: g } = ft({
5179
+ const a = le(null), [i, o] = G(!1), [l, c] = G(n || ""), [d, u] = G(""), { anchorRef: f, targetRef: y } = ft({
5178
5180
  position: "bottom",
5179
5181
  enabled: i
5180
5182
  }), p = ue(() => {
5181
5183
  o(!1), a?.current?.focus();
5182
5184
  }, []);
5183
- ht([g, f], i, () => o(!1)), It(i, g), ne(() => {
5184
- const y = n || "", L = Tn(y) ? y : n || "";
5185
- c(y), u(L);
5185
+ ht([y, f], i, () => o(!1)), It(i, y), ne(() => {
5186
+ const g = n || "", k = Tn(g) ? g : n || "";
5187
+ c(g), u(k);
5186
5188
  }, [n]), ne(() => {
5187
- const y = (L) => {
5188
- L.key === "Escape" && o(!1);
5189
+ const g = (k) => {
5190
+ k.key === "Escape" && o(!1);
5189
5191
  };
5190
- return i && document.addEventListener("keydown", y), () => {
5191
- document.removeEventListener("keydown", y);
5192
+ return i && document.addEventListener("keydown", g), () => {
5193
+ document.removeEventListener("keydown", g);
5192
5194
  };
5193
5195
  }, [i]);
5194
- const b = () => {
5195
- r && o((y) => !y);
5196
- }, w = (y) => {
5197
- u(y);
5198
- }, E = (y, L, A) => {
5199
- const C = Rs(y, L, A);
5196
+ const S = () => {
5197
+ r && o((g) => !g);
5198
+ }, w = (g) => {
5199
+ u(g);
5200
+ }, E = (g, k, A) => {
5201
+ const C = Rs(g, k, A);
5200
5202
  c(C), u(C), t?.(C), p();
5201
- }, v = () => {
5202
- S(d);
5203
- }, T = (y) => {
5204
- y.key === "Enter" && (y.preventDefault(), S(d));
5205
- }, S = (y) => {
5206
- if (y.trim() === "") {
5203
+ }, b = () => {
5204
+ v(d);
5205
+ }, T = (g) => {
5206
+ g.key === "Enter" && (g.preventDefault(), v(d));
5207
+ }, v = (g) => {
5208
+ if (g.trim() === "") {
5207
5209
  c(""), u(""), t?.("");
5208
5210
  return;
5209
5211
  }
5210
- Tn(y) ? (c(y), u(y), t?.(y)) : u(y);
5212
+ Tn(g) ? (c(g), u(g), t?.(g)) : u(g);
5211
5213
  };
5212
5214
  return /* @__PURE__ */ m.jsxs("div", { "data-component": "time-picker", children: [
5213
5215
  /* @__PURE__ */ m.jsx(
@@ -5217,10 +5219,10 @@ const Ue = {
5217
5219
  bindValue: d,
5218
5220
  placeholder: e,
5219
5221
  onChange: w,
5220
- onBlur: v,
5222
+ onBlur: b,
5221
5223
  onKeyDown: T,
5222
5224
  shapeIcon: "clock",
5223
- onShapeIconClick: b,
5225
+ onShapeIconClick: S,
5224
5226
  isEditable: r,
5225
5227
  ref: f,
5226
5228
  inputRef: a
@@ -5231,13 +5233,13 @@ const Ue = {
5231
5233
  {
5232
5234
  value: _s(l),
5233
5235
  onChange: E,
5234
- targetRef: g,
5236
+ targetRef: y,
5235
5237
  isOpen: i
5236
5238
  }
5237
5239
  ) })
5238
5240
  ] });
5239
5241
  };
5240
- function Ds(n) {
5242
+ function js(n) {
5241
5243
  return typeof n == "string" && /^\d{6}$/.test(n);
5242
5244
  }
5243
5245
  class dt {
@@ -5269,7 +5271,7 @@ const Cn = /* @__PURE__ */ new Map([
5269
5271
  "I12",
5270
5272
  {
5271
5273
  legacyToIso(n) {
5272
- return Ds(n) && `${n.substring(0, 2)}:${n.substring(2, 4)}:${n.substring(4, 6)}` || n;
5274
+ return js(n) && `${n.substring(0, 2)}:${n.substring(2, 4)}:${n.substring(4, 6)}` || n;
5273
5275
  },
5274
5276
  isoToLegacy(n) {
5275
5277
  return n.replaceAll(":", "") || n;
@@ -5333,21 +5335,21 @@ const Cn = /* @__PURE__ */ new Map([
5333
5335
  onChange: d,
5334
5336
  onClick: u,
5335
5337
  onEnter: f,
5336
- onBlur: g,
5338
+ onBlur: y,
5337
5339
  onOptionsRequest: p,
5338
- onContextMenu: b,
5340
+ onContextMenu: S,
5339
5341
  isEditable: w,
5340
5342
  dSep: E = "."
5341
5343
  }) => {
5342
- const v = {
5344
+ const b = {
5343
5345
  obj: t,
5344
5346
  shape: e,
5345
5347
  decode: n,
5346
5348
  icon: s,
5347
5349
  fun: a,
5348
5350
  data: r
5349
- }, T = v.data && v.data.size && v.data.size >= 256 && (e === "ITX" || !e) ? "MEM" : e, S = {
5350
- onBlur: g,
5351
+ }, T = b.data && b.data.size && b.data.size >= 256 && (e === "ITX" || !e) ? "MEM" : e, v = {
5352
+ onBlur: y,
5351
5353
  onOptionsRequest: p,
5352
5354
  fun: a,
5353
5355
  icon: s,
@@ -5355,200 +5357,200 @@ const Cn = /* @__PURE__ */ new Map([
5355
5357
  tooltip: l,
5356
5358
  label: o,
5357
5359
  isEditable: w,
5358
- size: v.data && v.data.size ? v.data.size : v.data?.displayMode && ws(v.data.displayMode || "CodeOnly"),
5360
+ size: b.data && b.data.size ? b.data.size : b.data?.displayMode && ws(b.data.displayMode || "CodeOnly"),
5359
5361
  ...r
5360
- }, y = (j, O, P) => yr(t) ? Ie(j, new it(t, O).getLegacyValue()) : br(t) ? Ie(j, new dt(t, O).getLegacyValue()) : Ie(j, O, P), L = (j, O) => Ie(
5361
- j,
5362
+ }, g = (D, O, P) => yr(t) ? Ne(D, new it(t, O).getLegacyValue()) : br(t) ? Ne(D, new dt(t, O).getLegacyValue()) : Ne(D, O, P), k = (D, O) => Ne(
5363
+ D,
5362
5364
  new Ge(t, O, E).getLegacyValue()
5363
- ), A = (j) => Ie(v, new ot(t, j).getLegacyValue()), C = (j) => Ss(v, j), k = () => {
5365
+ ), A = (D) => Ne(b, new ot(t, D).getLegacyValue()), C = (D) => Ss(b, D), L = () => {
5364
5366
  switch (T) {
5365
5367
  case te.AUTOCOMPLETE: {
5366
- const j = {
5367
- ...S,
5368
+ const D = {
5369
+ ...v,
5368
5370
  bindValue: t.k,
5369
5371
  optionalDisplayValue: n,
5370
5372
  onChange: (O, P) => {
5371
- d?.(y(v, O, P));
5373
+ d?.(g(b, O, P));
5372
5374
  }
5373
5375
  };
5374
- return /* @__PURE__ */ m.jsx(In, { ...j });
5376
+ return /* @__PURE__ */ m.jsx(In, { ...D });
5375
5377
  }
5376
5378
  case te.BUTTON: {
5377
- const j = {
5378
- ...S,
5379
+ const D = {
5380
+ ...v,
5379
5381
  bindValue: t.k,
5380
5382
  optionalDisplayValue: r?.label && typeof r.label == "string" ? r.label : void 0,
5381
5383
  title: n,
5382
5384
  onClick: () => {
5383
- u?.(y(v, t.k));
5385
+ u?.(g(b, t.k));
5384
5386
  }
5385
5387
  };
5386
- return /* @__PURE__ */ m.jsx(Se, { ...j });
5388
+ return /* @__PURE__ */ m.jsx(Se, { ...D });
5387
5389
  }
5388
5390
  case te.BUTTON_LIST: {
5389
- const j = {
5390
- ...S,
5391
+ const D = {
5392
+ ...v,
5391
5393
  options: c,
5392
5394
  onClick: (O, P) => {
5393
- const N = { ...v, fun: P };
5394
- u?.(y(N, O));
5395
+ const N = { ...b, fun: P };
5396
+ u?.(g(N, O));
5395
5397
  }
5396
5398
  };
5397
- return /* @__PURE__ */ m.jsx(us, { ...j });
5399
+ return /* @__PURE__ */ m.jsx(us, { ...D });
5398
5400
  }
5399
5401
  case te.CHIP: {
5400
- const j = {
5401
- ...S,
5402
- elements: En(v)
5402
+ const D = {
5403
+ ...v,
5404
+ elements: En(b)
5403
5405
  };
5404
- return /* @__PURE__ */ m.jsx(Pt, { ...j });
5406
+ return /* @__PURE__ */ m.jsx(Pt, { ...D });
5405
5407
  }
5406
5408
  case te.CHECKBOX:
5407
5409
  case te.SWITCH: {
5408
- const j = e === te.SWITCH, O = {
5409
- ...S,
5410
+ const D = e === te.SWITCH, O = {
5411
+ ...v,
5410
5412
  bindValue: ot.fromDataObj(t).getValue(),
5411
5413
  optionalDisplayValue: n,
5412
5414
  onChange: (P) => {
5413
5415
  d?.(A(P));
5414
5416
  },
5415
- ...j && { variant: "switch" }
5417
+ ...D && { variant: "switch" }
5416
5418
  };
5417
5419
  return /* @__PURE__ */ m.jsx(fs, { ...O });
5418
5420
  }
5419
5421
  case te.COMBOBOX: {
5420
- const j = {
5421
- ...S,
5422
+ const D = {
5423
+ ...v,
5422
5424
  bindValue: t.k,
5423
5425
  optionalDisplayValue: n,
5424
5426
  onChange: (O, P) => {
5425
- d?.(y(v, O, P));
5427
+ d?.(g(b, O, P));
5426
5428
  }
5427
5429
  };
5428
- return /* @__PURE__ */ m.jsx(ps, { ...j });
5430
+ return /* @__PURE__ */ m.jsx(ps, { ...D });
5429
5431
  }
5430
5432
  case te.DATE: {
5431
- const j = {
5432
- ...S,
5433
+ const D = {
5434
+ ...v,
5433
5435
  bindValue: it.fromDataObj(t).getValue(),
5434
5436
  onChange: (O) => {
5435
- d?.(y(v, O));
5437
+ d?.(g(b, O));
5436
5438
  }
5437
5439
  };
5438
- return /* @__PURE__ */ m.jsx(gs, { ...j });
5440
+ return /* @__PURE__ */ m.jsx(gs, { ...D });
5439
5441
  }
5440
5442
  case te.ICON:
5441
5443
  case te.IMAGE: {
5442
- const j = {
5443
- ...S,
5444
+ const D = {
5445
+ ...v,
5444
5446
  icon: s,
5445
- isInteractable: !!S.fun,
5447
+ isInteractable: !!v.fun,
5446
5448
  onClick: () => {
5447
- u?.(y(v, t.k));
5449
+ u?.(g(b, t.k));
5448
5450
  }
5449
5451
  };
5450
- return /* @__PURE__ */ m.jsx(de, { ...j });
5452
+ return /* @__PURE__ */ m.jsx(de, { ...D });
5451
5453
  }
5452
5454
  case te.INPUT_NUMBER: {
5453
- const j = {
5454
- ...S,
5455
+ const D = {
5456
+ ...v,
5455
5457
  bindValue: Ge.fromDataObj(t, E).getValue(),
5456
5458
  onChange: (O) => {
5457
- d?.(L(v, O));
5459
+ d?.(k(b, O));
5458
5460
  }
5459
5461
  };
5460
- return /* @__PURE__ */ m.jsx(Es, { ...j });
5462
+ return /* @__PURE__ */ m.jsx(Es, { ...D });
5461
5463
  }
5462
5464
  case te.EDITOR:
5463
5465
  case te.MEMO: {
5464
- const j = {
5465
- ...S,
5466
+ const D = {
5467
+ ...v,
5466
5468
  bindValue: t.k,
5467
5469
  optionalDisplayValue: n,
5468
5470
  onChange: (O) => {
5469
- d?.(y(v, O));
5471
+ d?.(g(b, O));
5470
5472
  }
5471
5473
  };
5472
- return /* @__PURE__ */ m.jsx(Ts, { ...j });
5474
+ return /* @__PURE__ */ m.jsx(Ts, { ...D });
5473
5475
  }
5474
5476
  case te.MULTI_AUTOCOMPLETE: {
5475
- const j = {
5476
- ...S,
5477
- elements: En(v),
5477
+ const D = {
5478
+ ...v,
5479
+ elements: En(b),
5478
5480
  onChange: (O) => {
5479
5481
  d?.(C(O));
5480
5482
  }
5481
5483
  };
5482
- return /* @__PURE__ */ m.jsx(ys, { ...j });
5484
+ return /* @__PURE__ */ m.jsx(ys, { ...D });
5483
5485
  }
5484
5486
  case te.PASSWORD: {
5485
- const j = {
5486
- ...S,
5487
+ const D = {
5488
+ ...v,
5487
5489
  bindValue: t.k,
5488
5490
  onChange: (O) => {
5489
- d?.(y(v, O));
5491
+ d?.(g(b, O));
5490
5492
  }
5491
5493
  };
5492
- return /* @__PURE__ */ m.jsx(bs, { ...j });
5494
+ return /* @__PURE__ */ m.jsx(bs, { ...D });
5493
5495
  }
5494
5496
  case te.RADIO: {
5495
- const j = {
5496
- ...S,
5497
+ const D = {
5498
+ ...v,
5497
5499
  bindValue: t.k,
5498
5500
  onChange: (O, P) => {
5499
- d?.(y(v, O, P));
5501
+ d?.(g(b, O, P));
5500
5502
  }
5501
5503
  };
5502
- return /* @__PURE__ */ m.jsx(Cs, { ...j });
5504
+ return /* @__PURE__ */ m.jsx(Cs, { ...D });
5503
5505
  }
5504
5506
  case te.SPOTLIGHT: {
5505
- const j = {
5506
- ...S,
5507
+ const D = {
5508
+ ...v,
5507
5509
  bindValue: t.k,
5508
5510
  onEnter: (O) => {
5509
- f?.(y(v, O));
5511
+ f?.(g(b, O));
5510
5512
  }
5511
5513
  };
5512
- return /* @__PURE__ */ m.jsx(vs, { ...j });
5514
+ return /* @__PURE__ */ m.jsx(vs, { ...D });
5513
5515
  }
5514
5516
  case te.TEXT_FIELD: {
5515
- const j = {
5516
- ...S,
5517
+ const D = {
5518
+ ...v,
5517
5519
  bindValue: t.k,
5518
5520
  optionalDisplayValue: n,
5519
5521
  onChange: (O) => {
5520
- d?.(y(v, O));
5522
+ d?.(g(b, O));
5521
5523
  }
5522
5524
  };
5523
- return /* @__PURE__ */ m.jsx(De, { ...j });
5525
+ return /* @__PURE__ */ m.jsx(je, { ...D });
5524
5526
  }
5525
5527
  case te.BUTTON_GROUP: {
5526
- const j = {
5527
- ...S,
5528
+ const D = {
5529
+ ...v,
5528
5530
  bindValue: t.k,
5529
5531
  onChange: (O, P) => {
5530
- d?.(y(v, O, P));
5532
+ d?.(g(b, O, P));
5531
5533
  }
5532
5534
  };
5533
- return /* @__PURE__ */ m.jsx(ks, { ...j });
5535
+ return /* @__PURE__ */ m.jsx(ks, { ...D });
5534
5536
  }
5535
5537
  case te.TIME: {
5536
- const j = {
5537
- ...S,
5538
+ const D = {
5539
+ ...v,
5538
5540
  bindValue: dt.fromDataObj(t).getValue(),
5539
5541
  onChange: (O) => {
5540
- d?.(y(v, O));
5542
+ d?.(g(b, O));
5541
5543
  }
5542
5544
  };
5543
- return /* @__PURE__ */ m.jsx(js, { ...j });
5545
+ return /* @__PURE__ */ m.jsx(Ds, { ...D });
5544
5546
  }
5545
5547
  default: {
5546
- const j = {
5547
- ...S,
5548
+ const D = {
5549
+ ...v,
5548
5550
  bindValue: t.k,
5549
5551
  optionalDisplayValue: n
5550
5552
  };
5551
- return /* @__PURE__ */ m.jsx(xs, { ...j });
5553
+ return /* @__PURE__ */ m.jsx(xs, { ...D });
5552
5554
  }
5553
5555
  }
5554
5556
  }, R = {
@@ -5558,10 +5560,10 @@ const Cn = /* @__PURE__ */ new Map([
5558
5560
  "span",
5559
5561
  {
5560
5562
  className: R.wrapper,
5561
- onContextMenu: (j) => {
5562
- b && l && (j.preventDefault(), b(v, j.currentTarget));
5563
+ onContextMenu: (D) => {
5564
+ S && l && (D.preventDefault(), S(b, D.currentTarget));
5563
5565
  },
5564
- children: k()
5566
+ children: L()
5565
5567
  }
5566
5568
  );
5567
5569
  }, na = ({
@@ -5579,14 +5581,14 @@ const Cn = /* @__PURE__ */ new Map([
5579
5581
  const u = l.cells[d.name], f = {
5580
5582
  ...u,
5581
5583
  id: d.name,
5582
- onChange: (g) => {
5584
+ onChange: (y) => {
5583
5585
  a((p) => p && {
5584
5586
  ...p,
5585
5587
  [d.name]: {
5586
5588
  ...p[d.name],
5587
5589
  obj: {
5588
5590
  ...p[d.name].obj,
5589
- k: g.obj.k
5591
+ k: y.obj.k
5590
5592
  }
5591
5593
  }
5592
5594
  });
@@ -5596,11 +5598,11 @@ const Cn = /* @__PURE__ */ new Map([
5596
5598
  ...u
5597
5599
  });
5598
5600
  },
5599
- onEnter: (g) => {
5600
- t && t(g);
5601
+ onEnter: (y) => {
5602
+ t && t(y);
5601
5603
  },
5602
- onContextMenu: (g, p) => {
5603
- r && r(g, p);
5604
+ onContextMenu: (y, p) => {
5605
+ r && r(y, p);
5604
5606
  }
5605
5607
  };
5606
5608
  return {
@@ -5631,21 +5633,21 @@ const Cn = /* @__PURE__ */ new Map([
5631
5633
  loadOptions: l,
5632
5634
  onContextMenu: c
5633
5635
  }) => {
5634
- const [d, u] = G(), [f, g] = G(t ?? !0), p = le(null), b = s.trim() ? s : "100vh", w = ue(
5635
- (S) => {
5636
- if (!S?.rows?.length || !S?.columns?.length)
5636
+ const [d, u] = G(), [f, y] = G(t ?? !0), p = le(null), S = s.trim() ? s : "100vh", w = ue(
5637
+ (v) => {
5638
+ if (!v?.rows?.length || !v?.columns?.length)
5637
5639
  return {};
5638
- const y = S.rows[0];
5639
- return S.columns.filter((L) => L.visible ?? !0).reduce((L, A) => {
5640
- const C = y.cells[A.name];
5640
+ const g = v.rows[0];
5641
+ return v.columns.filter((k) => k.visible ?? !0).reduce((k, A) => {
5642
+ const C = g.cells[A.name];
5641
5643
  if (!C || !f && ce(r) && C.shape !== te.BUTTON && C.shape !== te.BUTTON_LIST)
5642
- return L;
5643
- const k = {
5644
+ return k;
5645
+ const L = {
5644
5646
  ...C,
5645
5647
  id: A.name,
5646
5648
  onChange: (R) => {
5647
- u((j) => {
5648
- const O = { ...j };
5649
+ u((D) => {
5650
+ const O = { ...D };
5649
5651
  return O?.[A.name] && (O[A.name].obj.k = R.obj.k), O;
5650
5652
  });
5651
5653
  },
@@ -5655,28 +5657,28 @@ const Cn = /* @__PURE__ */ new Map([
5655
5657
  onEnter: (R) => {
5656
5658
  i && i(R);
5657
5659
  },
5658
- onContextMenu: (R, j) => {
5659
- c && c(R, j);
5660
+ onContextMenu: (R, D) => {
5661
+ c && c(R, D);
5660
5662
  }
5661
5663
  };
5662
- return l && C.shape == te.BUTTON_LIST && (k.onOptionsRequest = (R, j) => l(R, j).then(
5664
+ return l && C.shape == te.BUTTON_LIST && (L.onOptionsRequest = (R, D) => l(R, D).then(
5663
5665
  (O) => Ls(O)
5664
- )), !f && ce(r) && (k.data = {
5665
- ...k.data,
5666
+ )), !f && ce(r) && (L.data = {
5667
+ ...L.data,
5666
5668
  showText: !1,
5667
5669
  justify: "center",
5668
5670
  squared: !0
5669
5671
  }), {
5670
- ...L,
5671
- [A.name]: k
5672
+ ...k,
5673
+ [A.name]: L
5672
5674
  };
5673
5675
  }, {});
5674
5676
  },
5675
5677
  [f, r, a, i, l, c]
5676
5678
  ), E = ue(() => {
5677
5679
  o?.();
5678
- }, [o]), v = () => {
5679
- ce(r) ? g((S) => !S) : (g(!1), o?.());
5680
+ }, [o]), b = () => {
5681
+ ce(r) ? y((v) => !v) : (y(!1), o?.());
5680
5682
  };
5681
5683
  if (ne(() => {
5682
5684
  u(w(n));
@@ -5687,15 +5689,15 @@ const Cn = /* @__PURE__ */ new Map([
5687
5689
  u(w(n));
5688
5690
  return;
5689
5691
  }
5690
- const S = getComputedStyle(p.current).getPropertyValue(
5692
+ const v = getComputedStyle(p.current).getPropertyValue(
5691
5693
  "--smp-drawer-slide-transition"
5692
5694
  );
5693
- let y = Number(S);
5694
- S.endsWith("ms") ? y = parseFloat(S) : S.endsWith("s") && (y = parseFloat(S) * 1e3), setTimeout(() => {
5695
+ let g = Number(v);
5696
+ v.endsWith("ms") ? g = parseFloat(v) : v.endsWith("s") && (g = parseFloat(v) * 1e3), setTimeout(() => {
5695
5697
  u(w(n));
5696
- }, y / 2);
5698
+ }, g / 2);
5697
5699
  }, [f, r]), ne(() => {
5698
- t !== void 0 && !ce(r) && g(t);
5700
+ t !== void 0 && !ce(r) && y(t);
5699
5701
  }, [r, t]), !n?.rows?.length || !n.columns?.length)
5700
5702
  return null;
5701
5703
  const T = {
@@ -5722,7 +5724,7 @@ const Cn = /* @__PURE__ */ new Map([
5722
5724
  {
5723
5725
  ref: p,
5724
5726
  className: T.drawer,
5725
- style: { height: b },
5727
+ style: { height: S },
5726
5728
  "aria-label": "Drawer",
5727
5729
  "smp-id": "drawer",
5728
5730
  children: /* @__PURE__ */ m.jsxs("div", { className: T.container, children: [
@@ -5743,13 +5745,13 @@ const Cn = /* @__PURE__ */ new Map([
5743
5745
  title: "drawer_icon",
5744
5746
  rotated: !f,
5745
5747
  isInteractable: !0,
5746
- onClick: v,
5748
+ onClick: b,
5747
5749
  width: 20,
5748
5750
  height: 20
5749
5751
  }
5750
5752
  ) })
5751
5753
  ] }),
5752
- /* @__PURE__ */ m.jsx("div", { className: T.containerLayout, children: /* @__PURE__ */ m.jsx(at, { layout: n.rows[0].layout, children: Object.values(d).map((S) => /* @__PURE__ */ m.jsx(Te, { ...S })) }) })
5754
+ /* @__PURE__ */ m.jsx("div", { className: T.containerLayout, children: /* @__PURE__ */ m.jsx(at, { layout: n.rows[0].layout, children: Object.values(d).map((v) => /* @__PURE__ */ m.jsx(Te, { ...v })) }) })
5753
5755
  ] })
5754
5756
  }
5755
5757
  )
@@ -5768,28 +5770,28 @@ const Cn = /* @__PURE__ */ new Map([
5768
5770
  IconColor: d = "var(--smp-dashList-color-base)",
5769
5771
  NumberFormat: u,
5770
5772
  ForceUM: f,
5771
- UmColName: g,
5773
+ UmColName: y,
5772
5774
  UmColor: p = "var(--smp-dashList-color-base)",
5773
- ForceValue: b,
5775
+ ForceValue: S,
5774
5776
  ValueColName: w,
5775
5777
  ValueColor: E = "var(--smp-dashList-color-base)",
5776
- SelectLayout: v = "1",
5778
+ SelectLayout: b = "1",
5777
5779
  onClick: T
5778
5780
  }) => {
5779
- const S = "N/A", y = e?.columns || [], L = e?.rows || [], A = L.length > 0, C = "--smp-dashList-color", k = "smp-layout", R = "descr", j = "icon", O = "um", P = "value", N = i || "1em", B = "18px", H = "--smp-dashList-columns", q = "--smp-dashList-fontSize", X = {
5781
+ const v = "N/A", g = e?.columns || [], k = e?.rows || [], A = k.length > 0, C = "--smp-dashList-color", L = "smp-layout", R = "descr", D = "icon", O = "um", P = "value", N = i || "1em", B = "18px", H = "--smp-dashList-columns", q = "--smp-dashList-fontSize", X = {
5780
5782
  dash: (Y = "1") => {
5781
- const Z = h(Y), re = Z, ae = x(Z, R), ke = x(Z, j), Ne = x(Z, O), ge = x(Z, P);
5783
+ const Z = h(Y), re = Z, ae = x(Z, R), ke = x(Z, D), Me = x(Z, O), ge = x(Z, P);
5782
5784
  return {
5783
5785
  container: re,
5784
5786
  descr: ae,
5785
5787
  icon: ke,
5786
- um: Ne,
5788
+ um: Me,
5787
5789
  value: ge
5788
5790
  };
5789
5791
  },
5790
5792
  dashList: `smp-dash-list ${ce(a) ? "smp-dash-list-fill-space" : ""}
5791
5793
  ${ce(o) ? "smp-dash-list-horizontal" : ""}`
5792
- }, { format: F } = $e(), h = (Y) => `${k}-${Y}`, x = (Y, Z) => `${Y}__${Z}`, $ = (Y) => `${C}-${Y}`, _ = (Y) => {
5794
+ }, { format: F } = $e(), h = (Y) => `${L}-${Y}`, x = (Y, Z) => `${Y}__${Z}`, $ = (Y) => `${C}-${Y}`, _ = (Y) => {
5793
5795
  const Z = /R(\d{1,3})G(\d{1,3})B(\d{1,3})/;
5794
5796
  if (Z.test(Y)) {
5795
5797
  const ae = Y.match(Z) || [];
@@ -5797,27 +5799,27 @@ const Cn = /* @__PURE__ */ new Map([
5797
5799
  return "rgb(" + ae[1] + "," + ae[2] + "," + ae[3] + ")";
5798
5800
  }
5799
5801
  return Y;
5800
- }, D = (Y) => {
5802
+ }, j = (Y) => {
5801
5803
  if (!u) return Y;
5802
5804
  const [Z, re] = I(u).map(
5803
5805
  (Le) => parseInt(Le || "0")
5804
5806
  ), ae = "0,0" + (re ? "." + "0".repeat(re) : ""), ke = F(Y, ae, "it");
5805
5807
  if (!Z) return ke;
5806
- const [Ne, ge] = ke.split(",");
5807
- return Ne + (ge ? `,${ge}` : "");
5808
+ const [Me, ge] = ke.split(",");
5809
+ return Me + (ge ? `,${ge}` : "");
5808
5810
  }, I = (Y) => Y.includes(";") ? Y.split(";") : [Y], U = (Y) => {
5809
5811
  const Z = (ae) => {
5810
5812
  if (ae)
5811
5813
  return Y?.cells[ae]?.obj.k;
5812
5814
  }, re = (ae) => {
5813
- if (!(y.length <= ae))
5814
- return Y?.cells[y[ae].name]?.obj?.k;
5815
+ if (!(g.length <= ae))
5816
+ return Y?.cells[g[ae].name]?.obj?.k;
5815
5817
  };
5816
5818
  return {
5817
5819
  descr: t || Z(r) || re(2) || "",
5818
5820
  icon: l || Z(c) || re(3) || "",
5819
- um: f || Z(g) || re(1) || "",
5820
- value: b || Z(w) || re(0) || ""
5821
+ um: f || Z(y) || re(1) || "",
5822
+ value: S || Z(w) || re(0) || ""
5821
5823
  };
5822
5824
  }, W = (Y) => {
5823
5825
  T?.(Y);
@@ -5836,17 +5838,17 @@ const Cn = /* @__PURE__ */ new Map([
5836
5838
  icon: re,
5837
5839
  width: B
5838
5840
  }
5839
- ) }, `${Y}-${j}`),
5841
+ ) }, `${Y}-${D}`),
5840
5842
  um: (re) => /* @__PURE__ */ m.jsx("div", { className: Z.um, children: re }, `${Y}-${O}`),
5841
5843
  value: (re) => /* @__PURE__ */ m.jsx("div", { className: Z.value, children: re }, `${Y}-${P}`)
5842
5844
  };
5843
- })(v), se = (Y) => {
5844
- const { descr: Z, icon: re, um: ae, value: ke } = U(Y), Ne = {
5845
+ })(b), se = (Y) => {
5846
+ const { descr: Z, icon: re, um: ae, value: ke } = U(Y), Me = {
5845
5847
  [$(R)]: _(s),
5846
5848
  [$(O)]: _(p),
5847
5849
  [$(P)]: _(E)
5848
- }, ge = [], Le = D(ke);
5849
- switch (v) {
5850
+ }, ge = [], Le = j(ke);
5851
+ switch (b) {
5850
5852
  case "2":
5851
5853
  re && ge.push(K.icon(re)), ge.push(K.descr(Z)), ge.push(
5852
5854
  K.value(ae ? Le + " " + ae : Le)
@@ -5863,7 +5865,7 @@ const Cn = /* @__PURE__ */ new Map([
5863
5865
  {
5864
5866
  className: K.className.container,
5865
5867
  role: "button",
5866
- style: Ne,
5868
+ style: Me,
5867
5869
  tabIndex: 0,
5868
5870
  onClick: () => W(Y),
5869
5871
  onKeyDown: (Mn) => V(Mn, Y),
@@ -5875,7 +5877,7 @@ const Cn = /* @__PURE__ */ new Map([
5875
5877
  [H]: String(n),
5876
5878
  [q]: N
5877
5879
  };
5878
- return /* @__PURE__ */ m.jsx("div", { className: X.dashList, style: M, children: A ? L.map((Y) => se(Y)) : S });
5880
+ return /* @__PURE__ */ m.jsx("div", { className: X.dashList, style: M, children: A ? k.map((Y) => se(Y)) : v });
5879
5881
  }, tt = {
5880
5882
  "smp-table": "_smp-table_1qmju_1",
5881
5883
  "smp-headerCell": "_smp-headerCell_1qmju_35",
@@ -5916,13 +5918,13 @@ const Nn = ({
5916
5918
  toggle: `${we.toggle}`,
5917
5919
  indent: `${we.indent}`,
5918
5920
  cell: `${we.cell}`
5919
- }, g = (v) => /* @__PURE__ */ m.jsx(Te, { ...v }), p = () => /* @__PURE__ */ m.jsx("span", { className: f.toggle, children: c && /* @__PURE__ */ m.jsx(
5921
+ }, y = (b) => /* @__PURE__ */ m.jsx(Te, { ...b }), p = () => /* @__PURE__ */ m.jsx("span", { className: f.toggle, children: c && /* @__PURE__ */ m.jsx(
5920
5922
  de,
5921
5923
  {
5922
5924
  icon: a ? "arrow_drop_right" : "arrow_drop_down",
5923
5925
  width: 16
5924
5926
  }
5925
- ) }), b = () => /* @__PURE__ */ m.jsx(
5927
+ ) }), S = () => /* @__PURE__ */ m.jsx(
5926
5928
  "span",
5927
5929
  {
5928
5930
  className: f.indent,
@@ -5930,7 +5932,7 @@ const Nn = ({
5930
5932
  "aria-hidden": "true"
5931
5933
  }
5932
5934
  ), w = () => {
5933
- const v = Vs(n) ? "" : n.decode || (l ? "" : "Untitled"), T = s ?? r * t;
5935
+ const b = Vs(n) ? "" : n.decode || (l ? "" : "Untitled"), T = s ?? r * t;
5934
5936
  return /* @__PURE__ */ m.jsxs(
5935
5937
  "tr",
5936
5938
  {
@@ -5952,32 +5954,32 @@ const Nn = ({
5952
5954
  height: `${r}px`
5953
5955
  },
5954
5956
  children: [
5955
- b(),
5957
+ S(),
5956
5958
  p(),
5957
- /* @__PURE__ */ m.jsx("span", { className: we.rowLabel, children: v })
5959
+ /* @__PURE__ */ m.jsx("span", { className: we.rowLabel, children: b })
5958
5960
  ]
5959
5961
  }
5960
5962
  ),
5961
- n.cells && Object.keys(n.cells).length > 0 && Object.entries(n.cells).map(([S, y]) => /* @__PURE__ */ m.jsx(
5963
+ n.cells && Object.keys(n.cells).length > 0 && Object.entries(n.cells).map(([v, g]) => /* @__PURE__ */ m.jsx(
5962
5964
  "td",
5963
5965
  {
5964
5966
  className: f.cell,
5965
5967
  style: {
5966
- width: e[S],
5967
- minWidth: e[S],
5968
+ width: e[v],
5969
+ minWidth: e[v],
5968
5970
  height: `${r}px`
5969
5971
  },
5970
- children: g({
5971
- ...y,
5972
- id: S
5972
+ children: y({
5973
+ ...g,
5974
+ id: v
5973
5975
  })
5974
5976
  },
5975
- Us(y) || S
5977
+ Us(g) || v
5976
5978
  ))
5977
5979
  ]
5978
5980
  }
5979
5981
  );
5980
- }, E = () => a || !o ? null : /* @__PURE__ */ m.jsx(m.Fragment, { children: nt(n) && n.children?.map((v, T) => /* @__PURE__ */ m.jsx(Nn, { row: v, level: t + 1 }, `child-${T}`)) });
5982
+ }, E = () => a || !o ? null : /* @__PURE__ */ m.jsx(m.Fragment, { children: nt(n) && n.children?.map((b, T) => /* @__PURE__ */ m.jsx(Nn, { row: b, level: t + 1 }, `child-${T}`)) });
5981
5983
  return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
5982
5984
  w(),
5983
5985
  E()
@@ -6043,35 +6045,35 @@ function Gs(n, e, t, r) {
6043
6045
  const s = [];
6044
6046
  let a = 0;
6045
6047
  return i(n, 0, []), { flatRows: s, offset: a };
6046
- function i(u, f, g) {
6048
+ function i(u, f, y) {
6047
6049
  if (f >= e.length) {
6048
6050
  d(u);
6049
6051
  return;
6050
6052
  }
6051
- const p = e[f].column, b = o(u, p);
6052
- for (const [w, E] of b) {
6053
- const v = [...g, w], T = l(v, f), S = r.has(T);
6054
- s.push(c(w, T, f, S)), a += t, S && i(E, f + 1, v);
6053
+ const p = e[f].column, S = o(u, p);
6054
+ for (const [w, E] of S) {
6055
+ const b = [...y, w], T = l(b, f), v = r.has(T);
6056
+ s.push(c(w, T, f, v)), a += t, v && i(E, f + 1, b);
6055
6057
  }
6056
6058
  }
6057
6059
  function o(u, f) {
6058
- const g = /* @__PURE__ */ new Map();
6060
+ const y = /* @__PURE__ */ new Map();
6059
6061
  for (const p of u) {
6060
- const b = p.cells[f]?.decode ?? "N/D";
6061
- g.has(b) || g.set(b, []), g.get(b).push(p);
6062
+ const S = p.cells[f]?.decode ?? "N/D";
6063
+ y.has(S) || y.set(S, []), y.get(S).push(p);
6062
6064
  }
6063
- return g;
6065
+ return y;
6064
6066
  }
6065
6067
  function l(u, f) {
6066
6068
  return `group-${u.join("-")}-${f}`;
6067
6069
  }
6068
- function c(u, f, g, p) {
6070
+ function c(u, f, y, p) {
6069
6071
  return {
6070
6072
  isGroup: !0,
6071
6073
  value: u,
6072
6074
  cells: {},
6073
6075
  rowId: f,
6074
- level: g,
6076
+ level: y,
6075
6077
  isExpanded: p
6076
6078
  };
6077
6079
  }
@@ -6171,7 +6173,7 @@ const Hs = ({
6171
6173
  }) => {
6172
6174
  const [i, o] = G(
6173
6175
  n ?? { columns: [], rows: [] }
6174
- ), [l, c] = G(r || []), [d, u] = G(/* @__PURE__ */ new Set()), f = le(null), [g, p] = zs({
6176
+ ), [l, c] = G(r || []), [d, u] = G(/* @__PURE__ */ new Set()), f = le(null), [y, p] = zs({
6175
6177
  columns: i?.columns ?? [],
6176
6178
  rows: i?.rows ?? [],
6177
6179
  containerRef: f,
@@ -6189,34 +6191,34 @@ const Hs = ({
6189
6191
  } else
6190
6192
  o(n);
6191
6193
  }, [n, l, d, e]);
6192
- const b = (A) => {
6194
+ const S = (A) => {
6193
6195
  c(Bs(A, l));
6194
6196
  }, w = (A) => {
6195
6197
  A.preventDefault();
6196
6198
  const C = A.dataTransfer.getData("text/plain");
6197
- if (!C || l.some((j) => j.column === C))
6199
+ if (!C || l.some((D) => D.column === C))
6198
6200
  return;
6199
6201
  const R = [...l, { column: C, visible: !0 }];
6200
6202
  c(R);
6201
6203
  }, E = (A) => {
6202
6204
  A.preventDefault();
6203
- }, { virtualItems: v, containerProps: T, innerProps: S } = kn({
6205
+ }, { virtualItems: b, containerProps: T, innerProps: v } = kn({
6204
6206
  items: i?.rows ?? [],
6205
6207
  itemHeight: e,
6206
6208
  containerHeight: t,
6207
6209
  overscan: 5
6208
- }), y = (A, C) => {
6209
- const k = A.clientX, R = g[C], j = (P) => {
6210
- const N = P.clientX - k, B = Math.max(50, R + N);
6210
+ }), g = (A, C) => {
6211
+ const L = A.clientX, R = y[C], D = (P) => {
6212
+ const N = P.clientX - L, B = Math.max(50, R + N);
6211
6213
  p((H) => ({
6212
6214
  ...H,
6213
6215
  [C]: B
6214
6216
  }));
6215
6217
  }, O = () => {
6216
- window.removeEventListener("mousemove", j), window.removeEventListener("mouseup", O);
6218
+ window.removeEventListener("mousemove", D), window.removeEventListener("mouseup", O);
6217
6219
  };
6218
- window.addEventListener("mousemove", j), window.addEventListener("mouseup", O);
6219
- }, L = {
6220
+ window.addEventListener("mousemove", D), window.addEventListener("mouseup", O);
6221
+ }, k = {
6220
6222
  smpTable: `${tt["smp-table"]}`,
6221
6223
  headerCell: `${tt["smp-headerCell"]}`,
6222
6224
  resizer: `${tt["smp-resizer"]}`
@@ -6224,7 +6226,7 @@ const Hs = ({
6224
6226
  return i && /* @__PURE__ */ m.jsx(
6225
6227
  "div",
6226
6228
  {
6227
- className: L.smpTable,
6229
+ className: k.smpTable,
6228
6230
  ...T,
6229
6231
  ref: f,
6230
6232
  children: /* @__PURE__ */ m.jsxs("table", { children: [
@@ -6233,7 +6235,7 @@ const Hs = ({
6233
6235
  Hs,
6234
6236
  {
6235
6237
  groups: l,
6236
- onChange: b,
6238
+ onChange: S,
6237
6239
  onDrop: w,
6238
6240
  onDragOver: E
6239
6241
  }
@@ -6242,15 +6244,15 @@ const Hs = ({
6242
6244
  (A) => A.visible && /* @__PURE__ */ m.jsxs(
6243
6245
  "th",
6244
6246
  {
6245
- className: L.headerCell,
6247
+ className: k.headerCell,
6246
6248
  draggable: !0,
6247
6249
  onDragStart: (C) => {
6248
6250
  C.dataTransfer.setData("text/plain", A.name);
6249
6251
  },
6250
6252
  style: {
6251
- width: g[A.name],
6252
- minWidth: g[A.name],
6253
- maxWidth: g[A.name]
6253
+ width: y[A.name],
6254
+ minWidth: y[A.name],
6255
+ maxWidth: y[A.name]
6254
6256
  },
6255
6257
  children: [
6256
6258
  /* @__PURE__ */ m.jsx(
@@ -6263,8 +6265,8 @@ const Hs = ({
6263
6265
  /* @__PURE__ */ m.jsx(
6264
6266
  "div",
6265
6267
  {
6266
- className: L.resizer,
6267
- onMouseDown: (C) => y(C, A.name),
6268
+ className: k.resizer,
6269
+ onMouseDown: (C) => g(C, A.name),
6268
6270
  role: "region"
6269
6271
  }
6270
6272
  )
@@ -6274,18 +6276,18 @@ const Hs = ({
6274
6276
  )
6275
6277
  ) })
6276
6278
  ] }),
6277
- /* @__PURE__ */ m.jsx("tbody", { ...S, children: v.map(({ item: A, index: C, offsetTop: k }) => {
6279
+ /* @__PURE__ */ m.jsx("tbody", { ...v, children: b.map(({ item: A, index: C, offsetTop: L }) => {
6278
6280
  const R = A.rowId || A.value || `${A.isGroup ? "group" : "row"}-${C}`;
6279
6281
  return A.isGroup ? /* @__PURE__ */ m.jsx(
6280
6282
  Ws,
6281
6283
  {
6282
6284
  label: A.value || "",
6283
6285
  rowHeight: e,
6284
- offsetTop: k,
6286
+ offsetTop: L,
6285
6287
  level: A.level,
6286
6288
  onClick: () => {
6287
- const j = A.rowId;
6288
- j && u((O) => Ys(O, j));
6289
+ const D = A.rowId;
6290
+ D && u((O) => Ys(O, D));
6289
6291
  },
6290
6292
  isExpanded: A.isExpanded
6291
6293
  },
@@ -6294,15 +6296,15 @@ const Hs = ({
6294
6296
  Nn,
6295
6297
  {
6296
6298
  row: A,
6297
- columnWidths: g,
6299
+ columnWidths: y,
6298
6300
  rowHeight: e,
6299
- offsetTop: k,
6301
+ offsetTop: L,
6300
6302
  isGroup: !1
6301
6303
  },
6302
6304
  `row-${R}`
6303
6305
  );
6304
6306
  }) }),
6305
- /* @__PURE__ */ m.jsx(Ks, { columns: i.columns, columnWidths: g })
6307
+ /* @__PURE__ */ m.jsx(Ks, { columns: i.columns, columnWidths: y })
6306
6308
  ] })
6307
6309
  }
6308
6310
  );
@@ -6323,17 +6325,17 @@ const Hs = ({
6323
6325
  u(() => {
6324
6326
  if (!n)
6325
6327
  return;
6326
- const b = { ...n };
6327
- return e && (b.shape = e), b.shape == null && (b.shape = te.TEXT_FIELD), s && (b.obj = vr(s)), b;
6328
+ const S = { ...n };
6329
+ return e && (S.shape = e), S.shape == null && (S.shape = te.TEXT_FIELD), s && (S.obj = vr(s)), S;
6328
6330
  });
6329
6331
  }, [n, s, e]);
6330
- const g = {
6332
+ const y = {
6331
6333
  container: `smp-field-container ${ce(t) ? `smp-field-position-${r}` : ""}`
6332
6334
  }, p = () => {
6333
6335
  ce(t) || o?.(d);
6334
6336
  };
6335
6337
  if (d)
6336
- return /* @__PURE__ */ m.jsxs("div", { className: g.container, children: [
6338
+ return /* @__PURE__ */ m.jsxs("div", { className: y.container, children: [
6337
6339
  /* @__PURE__ */ m.jsx(
6338
6340
  "div",
6339
6341
  {
@@ -6395,41 +6397,41 @@ const Hs = ({
6395
6397
  onContextMenu: d,
6396
6398
  onButtonClick: u
6397
6399
  }) => {
6398
- const [f, g] = G({}), { translate: p } = $e(), b = Ce();
6400
+ const [f, y] = G({}), { translate: p } = $e(), S = Ce();
6399
6401
  ne(() => {
6400
- g(S(n));
6402
+ y(v(n));
6401
6403
  }, [n]);
6402
- const w = (C, k) => {
6403
- if (g((R) => ({
6404
+ const w = (C, L) => {
6405
+ if (y((R) => ({
6404
6406
  ...R,
6405
6407
  [C]: {
6406
6408
  ...R[C],
6407
6409
  obj: {
6408
6410
  ...R[C].obj,
6409
- k: k.obj.k
6411
+ k: L.obj.k
6410
6412
  },
6411
- decode: k.decode,
6413
+ decode: L.decode,
6412
6414
  data: {
6413
6415
  ...R[C].data,
6414
6416
  error: void 0
6415
6417
  },
6416
6418
  // FIXME: remove this when webup.js will not use value
6417
- value: k.obj.k
6419
+ value: L.obj.k
6418
6420
  }
6419
- })), s && (k.shape == te.CHECKBOX || k.shape == te.SWITCH)) {
6421
+ })), s && (L.shape == te.CHECKBOX || L.shape == te.SWITCH)) {
6420
6422
  const R = structuredClone(f);
6421
- R[C].obj.k = k.obj.k, R[C].value = k.obj.k, o({
6422
- value: y(R),
6423
+ R[C].obj.k = L.obj.k, R[C].value = L.obj.k, o({
6424
+ value: g(R),
6423
6425
  cell: C
6424
6426
  });
6425
6427
  }
6426
6428
  }, E = (C) => {
6427
- const k = y(f);
6429
+ const L = g(f);
6428
6430
  o({
6429
- value: k,
6431
+ value: L,
6430
6432
  cell: C
6431
6433
  });
6432
- }, v = (C, k) => {
6434
+ }, b = (C, L) => {
6433
6435
  u?.({
6434
6436
  cellId: C,
6435
6437
  currentState: {
@@ -6441,14 +6443,14 @@ const Hs = ({
6441
6443
  }
6442
6444
  ]
6443
6445
  },
6444
- fun: k || ""
6446
+ fun: L || ""
6445
6447
  });
6446
6448
  }, T = async (C) => {
6447
6449
  if (f[C].obj.k != n.rows[0].cells[C].obj.k && (f[C].inputSettings?.checkObject && c && ((await c({
6448
6450
  obj: f[C].obj,
6449
6451
  fun: f[C].fun,
6450
6452
  cellId: C
6451
- })).valid || g((R) => ({
6453
+ })).valid || y((R) => ({
6452
6454
  ...R,
6453
6455
  [C]: {
6454
6456
  ...R[C],
@@ -6458,33 +6460,33 @@ const Hs = ({
6458
6460
  }
6459
6461
  }
6460
6462
  }))), f[C].inputSettings?.checkValueOnExit)) {
6461
- const k = y(f);
6463
+ const L = g(f);
6462
6464
  l?.({
6463
- value: k,
6465
+ value: L,
6464
6466
  cell: C
6465
6467
  });
6466
6468
  }
6467
- }, S = (C) => {
6469
+ }, v = (C) => {
6468
6470
  if (!C.rows?.length || !C.columns?.length)
6469
6471
  return {};
6470
- const k = C.rows?.[0];
6471
- return C.columns.filter((R) => R.visible ?? !0).reduce((R, j) => {
6472
+ const L = C.rows?.[0];
6473
+ return C.columns.filter((R) => R.visible ?? !0).reduce((R, D) => {
6472
6474
  const O = {
6473
- ...k.cells[j.name],
6474
- id: j.name,
6475
- label: j.title,
6475
+ ...L.cells[D.name],
6476
+ id: D.name,
6477
+ label: D.title,
6476
6478
  dSep: a,
6477
6479
  data: {
6478
- ...k.cells[j.name].data,
6480
+ ...L.cells[D.name].data,
6479
6481
  dSep: a
6480
6482
  }
6481
6483
  };
6482
6484
  return O.isEditable == null && (O.isEditable = !0), t && (O.isEditable = !1), O.isEditable && O.shape == null && (O.shape = te.TEXT_FIELD), {
6483
6485
  ...R,
6484
- [j.name]: O
6486
+ [D.name]: O
6485
6487
  };
6486
6488
  }, {});
6487
- }, y = (C) => ({
6489
+ }, g = (C) => ({
6488
6490
  before: n,
6489
6491
  after: {
6490
6492
  type: "SmeupDataTable",
@@ -6495,7 +6497,7 @@ const Hs = ({
6495
6497
  }
6496
6498
  ]
6497
6499
  }
6498
- }), L = n.setup?.commands?.map((C, k) => /* @__PURE__ */ Un(
6500
+ }), k = n.setup?.commands?.map((C, L) => /* @__PURE__ */ Un(
6499
6501
  Te,
6500
6502
  {
6501
6503
  ...C,
@@ -6503,13 +6505,13 @@ const Hs = ({
6503
6505
  data: {
6504
6506
  label: C.value
6505
6507
  },
6506
- id: `command-${k}`,
6507
- key: `command-${k}`,
6508
+ id: `command-${L}`,
6509
+ key: `command-${L}`,
6508
6510
  shape: te.BUTTON,
6509
6511
  onClick: () => E(C.obj.k)
6510
6512
  }
6511
6513
  )) || [];
6512
- r || L.unshift(
6514
+ r || k.unshift(
6513
6515
  /* @__PURE__ */ m.jsx(
6514
6516
  Te,
6515
6517
  {
@@ -6537,7 +6539,7 @@ const Hs = ({
6537
6539
  {
6538
6540
  "data-component": "input-panel",
6539
6541
  className: A.smpForm,
6540
- id: e || b,
6542
+ id: e || S,
6541
6543
  onSubmit: (C) => {
6542
6544
  C.preventDefault(), E();
6543
6545
  },
@@ -6546,14 +6548,14 @@ const Hs = ({
6546
6548
  Te,
6547
6549
  {
6548
6550
  ...C,
6549
- onOptionsRequest: C.fun ? async (k, R) => Xs(
6550
- await i(k, R, n, C.id)
6551
+ onOptionsRequest: C.fun ? async (L, R) => Xs(
6552
+ await i(L, R, n, C.id)
6551
6553
  ) : void 0,
6552
- onChange: (k) => w(C.id, k),
6554
+ onChange: (L) => w(C.id, L),
6553
6555
  onBlur: () => T(C.id),
6554
6556
  onContextMenu: d,
6555
6557
  onClick: () => {
6556
- C.shape == "BTN" && v(C.id, C.fun);
6558
+ C.shape == "BTN" && b(C.id, C.fun);
6557
6559
  },
6558
6560
  data: {
6559
6561
  ...C.data,
@@ -6561,7 +6563,7 @@ const Hs = ({
6561
6563
  }
6562
6564
  }
6563
6565
  )) }),
6564
- L.length > 0 && /* @__PURE__ */ m.jsx(
6566
+ k.length > 0 && /* @__PURE__ */ m.jsx(
6565
6567
  at,
6566
6568
  {
6567
6569
  layout: {
@@ -6570,13 +6572,13 @@ const Hs = ({
6570
6572
  id: "1",
6571
6573
  horizontal: !0,
6572
6574
  justify: "start",
6573
- content: L.map((C) => ({
6575
+ content: k.map((C) => ({
6574
6576
  id: C.props.id
6575
6577
  }))
6576
6578
  }
6577
6579
  ]
6578
6580
  },
6579
- children: L
6581
+ children: k
6580
6582
  }
6581
6583
  )
6582
6584
  ]
@@ -6599,6 +6601,6 @@ export {
6599
6601
  ia as InputPanel,
6600
6602
  bs as Password,
6601
6603
  gr as TabBar,
6602
- De as Textfield,
6604
+ je as Textfield,
6603
6605
  ta as configurePaths
6604
6606
  };