@sme.up/ketchup2 2.0.0-SNAPSHOT-20250620110152 → 2.0.0-SNAPSHOT-20250620145158

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,10 +1,10 @@
1
1
  var Lr = Object.defineProperty;
2
2
  var kr = (r, e, t) => e in r ? Lr(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
3
  var we = (r, e, t) => kr(r, typeof e != "symbol" ? e + "" : e, t);
4
- import * as Ve from "react";
5
- import vr, { useEffect as ae, useRef as xe, useState as z, useCallback as ve, useLayoutEffect as Ir, useId as it } from "react";
4
+ import * as Ye from "react";
5
+ import vr, { useEffect as ae, useRef as xe, useState as z, useCallback as ve, useLayoutEffect as Ir, useId as Ve } from "react";
6
6
  import { createPortal as Nr } from "react-dom";
7
- var Ye = { exports: {} }, Pe = {};
7
+ var Ue = { exports: {} }, Pe = {};
8
8
  /**
9
9
  * @license React
10
10
  * react-jsx-runtime.production.js
@@ -63,7 +63,7 @@ function Fr() {
63
63
  return "StrictMode";
64
64
  case v:
65
65
  return "Suspense";
66
- case P:
66
+ case C:
67
67
  return "SuspenseList";
68
68
  case A:
69
69
  return "Activity";
@@ -155,12 +155,12 @@ function Fr() {
155
155
  "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."
156
156
  )), h = this.props.ref, h !== void 0 ? h : null;
157
157
  }
158
- function c(h, x, T, D, R, C, F, V) {
159
- return T = C.ref, h = {
158
+ function c(h, x, T, D, R, P, F, V) {
159
+ return T = P.ref, h = {
160
160
  $$typeof: d,
161
161
  type: h,
162
162
  key: x,
163
- props: C,
163
+ props: P,
164
164
  _owner: R
165
165
  }, (T !== void 0 ? T : null) !== null ? Object.defineProperty(h, "ref", {
166
166
  enumerable: !1,
@@ -187,7 +187,7 @@ function Fr() {
187
187
  value: V
188
188
  }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
189
189
  }
190
- function f(h, x, T, D, R, C, F, V) {
190
+ function f(h, x, T, D, R, P, F, V) {
191
191
  var N = x.children;
192
192
  if (N !== void 0)
193
193
  if (D)
@@ -229,7 +229,7 @@ React keys must be passed directly to JSX without using spread:
229
229
  ), c(
230
230
  h,
231
231
  N,
232
- C,
232
+ P,
233
233
  R,
234
234
  s(),
235
235
  T,
@@ -240,7 +240,7 @@ React keys must be passed directly to JSX without using spread:
240
240
  function l(h) {
241
241
  typeof h == "object" && h !== null && h.$$typeof === d && h._store && (h._store.validated = 1);
242
242
  }
243
- var p = vr, d = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), O = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), A = Symbol.for("react.activity"), I = Symbol.for("react.client.reference"), j = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, U = Array.isArray, G = console.createTask ? console.createTask : function() {
243
+ var p = vr, d = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), O = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), A = Symbol.for("react.activity"), I = Symbol.for("react.client.reference"), j = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, U = Array.isArray, G = console.createTask ? console.createTask : function() {
244
244
  return null;
245
245
  };
246
246
  p = {
@@ -253,7 +253,7 @@ React keys must be passed directly to JSX without using spread:
253
253
  a
254
254
  )(), W = G(n(a)), k = {};
255
255
  Ae.Fragment = y, Ae.jsx = function(h, x, T, D, R) {
256
- var C = 1e4 > j.recentlyCreatedOwnerStacks++;
256
+ var P = 1e4 > j.recentlyCreatedOwnerStacks++;
257
257
  return f(
258
258
  h,
259
259
  x,
@@ -261,11 +261,11 @@ React keys must be passed directly to JSX without using spread:
261
261
  !1,
262
262
  D,
263
263
  R,
264
- C ? Error("react-stack-top-frame") : K,
265
- C ? G(n(h)) : W
264
+ P ? Error("react-stack-top-frame") : K,
265
+ P ? G(n(h)) : W
266
266
  );
267
267
  }, Ae.jsxs = function(h, x, T, D, R) {
268
- var C = 1e4 > j.recentlyCreatedOwnerStacks++;
268
+ var P = 1e4 > j.recentlyCreatedOwnerStacks++;
269
269
  return f(
270
270
  h,
271
271
  x,
@@ -273,15 +273,15 @@ React keys must be passed directly to JSX without using spread:
273
273
  !0,
274
274
  D,
275
275
  R,
276
- C ? Error("react-stack-top-frame") : K,
277
- C ? G(n(h)) : W
276
+ P ? Error("react-stack-top-frame") : K,
277
+ P ? G(n(h)) : W
278
278
  );
279
279
  };
280
280
  }()), Ae;
281
281
  }
282
282
  var At;
283
283
  function Vr() {
284
- return At || (At = 1, process.env.NODE_ENV === "production" ? Ye.exports = Mr() : Ye.exports = Fr()), Ye.exports;
284
+ return At || (At = 1, process.env.NODE_ENV === "production" ? Ue.exports = Mr() : Ue.exports = Fr()), Ue.exports;
285
285
  }
286
286
  var g = Vr();
287
287
  const re = {
@@ -317,14 +317,14 @@ const re = {
317
317
  k: ""
318
318
  };
319
319
  };
320
- class Qe {
320
+ class et {
321
321
  constructor(e, t) {
322
322
  we(this, "class");
323
323
  we(this, "value");
324
324
  this.class = e, this.value = t;
325
325
  }
326
326
  static fromDataObj(e) {
327
- return new Qe(e, e.k == "1" || e.k == "true");
327
+ return new et(e, e.k == "1" || e.k == "true");
328
328
  }
329
329
  getValue() {
330
330
  return this.value;
@@ -353,21 +353,21 @@ function Wr(r, e) {
353
353
  switch (n.length) {
354
354
  case 1:
355
355
  case 2:
356
- return o = parseInt(n), t.setDate(o), Ue(t) ? t : r;
356
+ return o = parseInt(n), t.setDate(o), We(t) ? t : r;
357
357
  case 3:
358
358
  case 4:
359
- return o = parseInt(n.substring(0, 2)), u = parseInt(n.substring(2, 4)), i === 0 ? (t.setMonth(o - 1), t.setDate(u)) : a === 0 && (t.setMonth(u - 1), t.setDate(o)), Ue(t) ? t : r;
359
+ return o = parseInt(n.substring(0, 2)), u = parseInt(n.substring(2, 4)), i === 0 ? (t.setMonth(o - 1), t.setDate(u)) : a === 0 && (t.setMonth(u - 1), t.setDate(o)), We(t) ? t : r;
360
360
  case 5:
361
361
  case 6: {
362
362
  o = parseInt(n.substring(0, 2)), u = parseInt(n.substring(2, 4)), Number(n.substring(4)) > 50 ? c = "19" + n.substring(4) : c = "20" + n.substring(4);
363
363
  let f = 0, l = 0;
364
- return i === 0 ? (f = u, l = o - 1, t.setFullYear(parseInt(c), l, f)) : a === 0 && (f = o, l = u - 1, t.setFullYear(parseInt(c), l, f)), vt(o, l, parseInt(c)) && Ue(t) ? t : r;
364
+ return i === 0 ? (f = u, l = o - 1, t.setFullYear(parseInt(c), l, f)) : a === 0 && (f = o, l = u - 1, t.setFullYear(parseInt(c), l, f)), vt(o, l, parseInt(c)) && We(t) ? t : r;
365
365
  }
366
366
  case 7:
367
367
  case 8: {
368
368
  o = parseInt(n.substring(0, 2)), u = parseInt(n.substring(2, 4)), c = n.substring(4);
369
369
  let f = 0, l = 0;
370
- return i === 0 ? (f = u, l = o - 1, t.setFullYear(parseInt(c), l, f)) : a === 0 && (f = o, l = u - 1, t.setFullYear(parseInt(c), l, f)), vt(f, l, parseInt(c)) && Ue(t) ? t : r;
370
+ return i === 0 ? (f = u, l = o - 1, t.setFullYear(parseInt(c), l, f)) : a === 0 && (f = o, l = u - 1, t.setFullYear(parseInt(c), l, f)), vt(f, l, parseInt(c)) && We(t) ? t : r;
371
371
  }
372
372
  }
373
373
  return r;
@@ -375,7 +375,7 @@ function Wr(r, e) {
375
375
  function Et(r) {
376
376
  return /^\d{4}-\d{2}-\d{2}$/.test(r) && r.length === 10;
377
377
  }
378
- function Ue(r) {
378
+ function We(r) {
379
379
  return r instanceof Date && !isNaN(r.getTime());
380
380
  }
381
381
  function Hr(r) {
@@ -419,7 +419,7 @@ function Gr(r) {
419
419
  const e = r.getFullYear(), t = String(r.getMonth() + 1).padStart(2, "0"), n = String(r.getDate()).padStart(2, "0");
420
420
  return isNaN(e) || isNaN(Number(t)) || isNaN(Number(n)) ? r.toString() : `${e}-${t}-${n}`;
421
421
  }
422
- class et {
422
+ class tt {
423
423
  constructor(e, t) {
424
424
  we(this, "class");
425
425
  we(this, "date");
@@ -428,7 +428,7 @@ class et {
428
428
  static fromDataObj(e) {
429
429
  const t = Lt.get(`${e.t}${e.p}`);
430
430
  if (t)
431
- return new et(e, t.legacyToIso(e.k));
431
+ return new tt(e, t.legacyToIso(e.k));
432
432
  throw new Error(`Date creation from ${e.t}${e.p} not implemented yet`);
433
433
  }
434
434
  getLegacyValue() {
@@ -455,7 +455,7 @@ const Lt = /* @__PURE__ */ new Map([
455
455
  }
456
456
  }
457
457
  ]
458
- ]), tt = (r, e) => {
458
+ ]), rt = (r, e) => {
459
459
  ae(() => {
460
460
  const t = (n) => {
461
461
  typeof r == "object" && r !== null && "current" in r && r.current && !r.current.contains(n.target) && e();
@@ -548,14 +548,14 @@ function qr(r, e) {
548
548
  }
549
549
  return t;
550
550
  }
551
- function rt() {
552
- return rt = Object.assign ? Object.assign.bind() : function(r) {
551
+ function nt() {
552
+ return nt = Object.assign ? Object.assign.bind() : function(r) {
553
553
  for (var e = 1; e < arguments.length; e++) {
554
554
  var t = arguments[e];
555
555
  for (var n in t) ({}).hasOwnProperty.call(t, n) && (r[n] = t[n]);
556
556
  }
557
557
  return r;
558
- }, rt.apply(null, arguments);
558
+ }, nt.apply(null, arguments);
559
559
  }
560
560
  function xt(r, e) {
561
561
  return xt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, n) {
@@ -570,7 +570,7 @@ function ct(r, e, t) {
570
570
  (a || !(n in e)) && (a || (a = Array.prototype.slice.call(e, 0, n)), a[n] = e[n]);
571
571
  return r.concat(a || Array.prototype.slice.call(e));
572
572
  }
573
- var We = {};
573
+ var He = {};
574
574
  /*!
575
575
  * content-type
576
576
  * Copyright(c) 2015 Douglas Christopher Wilson
@@ -578,10 +578,10 @@ var We = {};
578
578
  */
579
579
  var kt;
580
580
  function zr() {
581
- if (kt) return We;
581
+ if (kt) return He;
582
582
  kt = 1;
583
583
  var r = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, e = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/, t = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, n = /\\([\u000b\u0020-\u00ff])/g, s = /([\\"])/g, a = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
584
- We.format = i, We.parse = o;
584
+ He.format = i, He.parse = o;
585
585
  function i(l) {
586
586
  if (!l || typeof l != "object")
587
587
  throw new TypeError("argument obj is required");
@@ -636,7 +636,7 @@ function zr() {
636
636
  function f(l) {
637
637
  this.parameters = /* @__PURE__ */ Object.create(null), this.type = l;
638
638
  }
639
- return We;
639
+ return He;
640
640
  }
641
641
  var Jr = zr(), je = /* @__PURE__ */ new Map(), br = function(e) {
642
642
  return e.cloneNode(!0);
@@ -750,17 +750,17 @@ var Jr = zr(), je = /* @__PURE__ */ new Map(), br = function(e) {
750
750
  path: [],
751
751
  pattern: ["fill", "stroke"],
752
752
  radialGradient: ["fill", "stroke"]
753
- }, S, v, P, _, $;
753
+ }, S, v, C, _, $;
754
754
  Object.keys(O).forEach(function(W) {
755
- S = W, P = O[W], v = l.querySelectorAll(S + "[id]");
755
+ S = W, C = O[W], v = l.querySelectorAll(S + "[id]");
756
756
  for (var k = function(D, R) {
757
757
  _ = v[D].id, $ = _ + "-" + tn();
758
- var C;
759
- Array.prototype.forEach.call(P, function(Y) {
760
- C = l.querySelectorAll("[" + Y + '*="' + _ + '"]');
761
- for (var X = 0, te = C.length; X < te; X++) {
762
- var ne = C[X].getAttribute(Y);
763
- ne && !ne.match(new RegExp('url\\("?#' + _ + '"?\\)')) || C[X].setAttribute(Y, "url(#" + $ + ")");
758
+ var P;
759
+ Array.prototype.forEach.call(C, function(Y) {
760
+ P = l.querySelectorAll("[" + Y + '*="' + _ + '"]');
761
+ for (var X = 0, te = P.length; X < te; X++) {
762
+ var ne = P[X].getAttribute(Y);
763
+ ne && !ne.match(new RegExp('url\\("?#' + _ + '"?\\)')) || P[X].setAttribute(Y, "url(#" + $ + ")");
764
764
  }
765
765
  });
766
766
  for (var F = l.querySelectorAll("[*|href]"), V = [], N = 0, J = F.length; N < J; N++) {
@@ -798,13 +798,13 @@ var Jr = zr(), je = /* @__PURE__ */ new Map(), br = function(e) {
798
798
  } : u, f = n.cacheRequests, l = f === void 0 ? !0 : f, p = n.evalScripts, d = p === void 0 ? "never" : p, m = n.httpRequestWithCredentials, y = m === void 0 ? !1 : m, b = n.renumerateIRIElements, w = b === void 0 ? !0 : b;
799
799
  if (e && "length" in e)
800
800
  for (var E = 0, O = 0, S = e.length; O < S; O++)
801
- Ft(e[O], d, w, l, y, c, function(v, P) {
802
- o(v, P), e && "length" in e && e.length === ++E && a(E);
801
+ Ft(e[O], d, w, l, y, c, function(v, C) {
802
+ o(v, C), e && "length" in e && e.length === ++E && a(E);
803
803
  });
804
- else e ? Ft(e, d, w, l, y, c, function(v, P) {
805
- o(v, P), a(1), e = null;
804
+ else e ? Ft(e, d, w, l, y, c, function(v, C) {
805
+ o(v, C), a(1), e = null;
806
806
  }) : a(0);
807
- }, He = { exports: {} }, Be = { exports: {} }, Q = {};
807
+ }, Be = { exports: {} }, Ge = { exports: {} }, Q = {};
808
808
  /** @license React v16.13.1
809
809
  * react-is.production.min.js
810
810
  *
@@ -820,8 +820,8 @@ function sn() {
820
820
  var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, s = r ? Symbol.for("react.strict_mode") : 60108, a = r ? Symbol.for("react.profiler") : 60114, i = r ? Symbol.for("react.provider") : 60109, o = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, c = r ? Symbol.for("react.concurrent_mode") : 60111, f = r ? Symbol.for("react.forward_ref") : 60112, l = r ? Symbol.for("react.suspense") : 60113, p = r ? Symbol.for("react.suspense_list") : 60120, d = r ? Symbol.for("react.memo") : 60115, m = r ? Symbol.for("react.lazy") : 60116, y = r ? Symbol.for("react.block") : 60121, b = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118, E = r ? Symbol.for("react.scope") : 60119;
821
821
  function O(v) {
822
822
  if (typeof v == "object" && v !== null) {
823
- var P = v.$$typeof;
824
- switch (P) {
823
+ var C = v.$$typeof;
824
+ switch (C) {
825
825
  case e:
826
826
  switch (v = v.type, v) {
827
827
  case u:
@@ -840,11 +840,11 @@ function sn() {
840
840
  case i:
841
841
  return v;
842
842
  default:
843
- return P;
843
+ return C;
844
844
  }
845
845
  }
846
846
  case t:
847
- return P;
847
+ return C;
848
848
  }
849
849
  }
850
850
  }
@@ -928,7 +928,7 @@ function an() {
928
928
  }
929
929
  }
930
930
  }
931
- var v = u, P = c, _ = o, $ = i, A = e, I = f, j = n, M = m, U = d, G = t, Z = a, q = s, K = l, W = !1;
931
+ var v = u, C = c, _ = o, $ = i, A = e, I = f, j = n, M = m, U = d, G = t, Z = a, q = s, K = l, W = !1;
932
932
  function k(L) {
933
933
  return W || (W = !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(L) || S(L) === u;
934
934
  }
@@ -947,7 +947,7 @@ function an() {
947
947
  function R(L) {
948
948
  return S(L) === f;
949
949
  }
950
- function C(L) {
950
+ function P(L) {
951
951
  return S(L) === n;
952
952
  }
953
953
  function F(L) {
@@ -968,12 +968,12 @@ function an() {
968
968
  function se(L) {
969
969
  return S(L) === l;
970
970
  }
971
- ee.AsyncMode = v, ee.ConcurrentMode = P, ee.ContextConsumer = _, ee.ContextProvider = $, ee.Element = A, ee.ForwardRef = I, ee.Fragment = j, ee.Lazy = M, ee.Memo = U, ee.Portal = G, ee.Profiler = Z, ee.StrictMode = q, ee.Suspense = K, ee.isAsyncMode = k, ee.isConcurrentMode = h, ee.isContextConsumer = x, ee.isContextProvider = T, ee.isElement = D, ee.isForwardRef = R, ee.isFragment = C, ee.isLazy = F, ee.isMemo = V, ee.isPortal = N, ee.isProfiler = J, ee.isStrictMode = H, ee.isSuspense = se, ee.isValidElementType = O, ee.typeOf = S;
971
+ ee.AsyncMode = v, ee.ConcurrentMode = C, ee.ContextConsumer = _, ee.ContextProvider = $, ee.Element = A, ee.ForwardRef = I, ee.Fragment = j, ee.Lazy = M, ee.Memo = U, ee.Portal = G, ee.Profiler = Z, ee.StrictMode = q, ee.Suspense = K, ee.isAsyncMode = k, ee.isConcurrentMode = h, ee.isContextConsumer = x, ee.isContextProvider = T, ee.isElement = D, ee.isForwardRef = R, ee.isFragment = P, ee.isLazy = F, ee.isMemo = V, ee.isPortal = N, ee.isProfiler = J, ee.isStrictMode = H, ee.isSuspense = se, ee.isValidElementType = O, ee.typeOf = S;
972
972
  }()), ee;
973
973
  }
974
974
  var Ut;
975
975
  function wr() {
976
- return Ut || (Ut = 1, process.env.NODE_ENV === "production" ? Be.exports = sn() : Be.exports = an()), Be.exports;
976
+ return Ut || (Ut = 1, process.env.NODE_ENV === "production" ? Ge.exports = sn() : Ge.exports = an()), Ge.exports;
977
977
  }
978
978
  /*
979
979
  object-assign
@@ -1123,7 +1123,7 @@ function cn() {
1123
1123
  arrayOf: O,
1124
1124
  element: S(),
1125
1125
  elementType: v(),
1126
- instanceOf: P,
1126
+ instanceOf: C,
1127
1127
  node: I(),
1128
1128
  objectOf: $,
1129
1129
  oneOf: _,
@@ -1141,7 +1141,7 @@ function cn() {
1141
1141
  function b(h) {
1142
1142
  if (process.env.NODE_ENV !== "production")
1143
1143
  var x = {}, T = 0;
1144
- function D(C, F, V, N, J, H, se) {
1144
+ function D(P, F, V, N, J, H, se) {
1145
1145
  if (N = N || p, H = H || V, se !== t) {
1146
1146
  if (u) {
1147
1147
  var L = new Error(
@@ -1156,18 +1156,18 @@ function cn() {
1156
1156
  ), x[Y] = !0, T++);
1157
1157
  }
1158
1158
  }
1159
- return F[V] == null ? C ? F[V] === null ? new y("The " + J + " `" + H + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new y("The " + J + " `" + H + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : h(F, V, N, J, H);
1159
+ return F[V] == null ? P ? F[V] === null ? new y("The " + J + " `" + H + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new y("The " + J + " `" + H + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : h(F, V, N, J, H);
1160
1160
  }
1161
1161
  var R = D.bind(null, !1);
1162
1162
  return R.isRequired = D.bind(null, !0), R;
1163
1163
  }
1164
1164
  function w(h) {
1165
- function x(T, D, R, C, F, V) {
1165
+ function x(T, D, R, P, F, V) {
1166
1166
  var N = T[D], J = q(N);
1167
1167
  if (J !== h) {
1168
1168
  var H = K(N);
1169
1169
  return new y(
1170
- "Invalid " + C + " `" + F + "` of type " + ("`" + H + "` supplied to `" + R + "`, expected ") + ("`" + h + "`."),
1170
+ "Invalid " + P + " `" + F + "` of type " + ("`" + H + "` supplied to `" + R + "`, expected ") + ("`" + h + "`."),
1171
1171
  { expectedType: h }
1172
1172
  );
1173
1173
  }
@@ -1179,16 +1179,16 @@ function cn() {
1179
1179
  return b(i);
1180
1180
  }
1181
1181
  function O(h) {
1182
- function x(T, D, R, C, F) {
1182
+ function x(T, D, R, P, F) {
1183
1183
  if (typeof h != "function")
1184
1184
  return new y("Property `" + F + "` of component `" + R + "` has invalid PropType notation inside arrayOf.");
1185
1185
  var V = T[D];
1186
1186
  if (!Array.isArray(V)) {
1187
1187
  var N = q(V);
1188
- return new y("Invalid " + C + " `" + F + "` of type " + ("`" + N + "` supplied to `" + R + "`, expected an array."));
1188
+ return new y("Invalid " + P + " `" + F + "` of type " + ("`" + N + "` supplied to `" + R + "`, expected an array."));
1189
1189
  }
1190
1190
  for (var J = 0; J < V.length; J++) {
1191
- var H = h(V, J, R, C, F + "[" + J + "]", t);
1191
+ var H = h(V, J, R, P, F + "[" + J + "]", t);
1192
1192
  if (H instanceof Error)
1193
1193
  return H;
1194
1194
  }
@@ -1197,32 +1197,32 @@ function cn() {
1197
1197
  return b(x);
1198
1198
  }
1199
1199
  function S() {
1200
- function h(x, T, D, R, C) {
1200
+ function h(x, T, D, R, P) {
1201
1201
  var F = x[T];
1202
1202
  if (!o(F)) {
1203
1203
  var V = q(F);
1204
- return new y("Invalid " + R + " `" + C + "` of type " + ("`" + V + "` supplied to `" + D + "`, expected a single ReactElement."));
1204
+ return new y("Invalid " + R + " `" + P + "` of type " + ("`" + V + "` supplied to `" + D + "`, expected a single ReactElement."));
1205
1205
  }
1206
1206
  return null;
1207
1207
  }
1208
1208
  return b(h);
1209
1209
  }
1210
1210
  function v() {
1211
- function h(x, T, D, R, C) {
1211
+ function h(x, T, D, R, P) {
1212
1212
  var F = x[T];
1213
1213
  if (!r.isValidElementType(F)) {
1214
1214
  var V = q(F);
1215
- return new y("Invalid " + R + " `" + C + "` of type " + ("`" + V + "` supplied to `" + D + "`, expected a single ReactElement type."));
1215
+ return new y("Invalid " + R + " `" + P + "` of type " + ("`" + V + "` supplied to `" + D + "`, expected a single ReactElement type."));
1216
1216
  }
1217
1217
  return null;
1218
1218
  }
1219
1219
  return b(h);
1220
1220
  }
1221
- function P(h) {
1222
- function x(T, D, R, C, F) {
1221
+ function C(h) {
1222
+ function x(T, D, R, P, F) {
1223
1223
  if (!(T[D] instanceof h)) {
1224
1224
  var V = h.name || p, N = k(T[D]);
1225
- return new y("Invalid " + C + " `" + F + "` of type " + ("`" + N + "` supplied to `" + R + "`, expected ") + ("instance of `" + V + "`."));
1225
+ return new y("Invalid " + P + " `" + F + "` of type " + ("`" + N + "` supplied to `" + R + "`, expected ") + ("instance of `" + V + "`."));
1226
1226
  }
1227
1227
  return null;
1228
1228
  }
@@ -1233,7 +1233,7 @@ function cn() {
1233
1233
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
1234
1234
  "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])."
1235
1235
  ) : a("Invalid argument supplied to oneOf, expected an array.")), i;
1236
- function x(T, D, R, C, F) {
1236
+ function x(T, D, R, P, F) {
1237
1237
  for (var V = T[D], N = 0; N < h.length; N++)
1238
1238
  if (m(V, h[N]))
1239
1239
  return null;
@@ -1241,20 +1241,20 @@ function cn() {
1241
1241
  var Y = K(L);
1242
1242
  return Y === "symbol" ? String(L) : L;
1243
1243
  });
1244
- return new y("Invalid " + C + " `" + F + "` of value `" + String(V) + "` " + ("supplied to `" + R + "`, expected one of " + J + "."));
1244
+ return new y("Invalid " + P + " `" + F + "` of value `" + String(V) + "` " + ("supplied to `" + R + "`, expected one of " + J + "."));
1245
1245
  }
1246
1246
  return b(x);
1247
1247
  }
1248
1248
  function $(h) {
1249
- function x(T, D, R, C, F) {
1249
+ function x(T, D, R, P, F) {
1250
1250
  if (typeof h != "function")
1251
1251
  return new y("Property `" + F + "` of component `" + R + "` has invalid PropType notation inside objectOf.");
1252
1252
  var V = T[D], N = q(V);
1253
1253
  if (N !== "object")
1254
- return new y("Invalid " + C + " `" + F + "` of type " + ("`" + N + "` supplied to `" + R + "`, expected an object."));
1254
+ return new y("Invalid " + P + " `" + F + "` of type " + ("`" + N + "` supplied to `" + R + "`, expected an object."));
1255
1255
  for (var J in V)
1256
1256
  if (n(V, J)) {
1257
- var H = h(V, J, R, C, F + "." + J, t);
1257
+ var H = h(V, J, R, P, F + "." + J, t);
1258
1258
  if (H instanceof Error)
1259
1259
  return H;
1260
1260
  }
@@ -1272,9 +1272,9 @@ function cn() {
1272
1272
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(T) + " at index " + x + "."
1273
1273
  ), i;
1274
1274
  }
1275
- function D(R, C, F, V, N) {
1275
+ function D(R, P, F, V, N) {
1276
1276
  for (var J = [], H = 0; H < h.length; H++) {
1277
- var se = h[H], L = se(R, C, F, V, N, t);
1277
+ var se = h[H], L = se(R, P, F, V, N, t);
1278
1278
  if (L == null)
1279
1279
  return null;
1280
1280
  L.data && n(L.data, "expectedType") && J.push(L.data.expectedType);
@@ -1285,8 +1285,8 @@ function cn() {
1285
1285
  return b(D);
1286
1286
  }
1287
1287
  function I() {
1288
- function h(x, T, D, R, C) {
1289
- return G(x[T]) ? null : new y("Invalid " + R + " `" + C + "` supplied to " + ("`" + D + "`, expected a ReactNode."));
1288
+ function h(x, T, D, R, P) {
1289
+ return G(x[T]) ? null : new y("Invalid " + R + " `" + P + "` supplied to " + ("`" + D + "`, expected a ReactNode."));
1290
1290
  }
1291
1291
  return b(h);
1292
1292
  }
@@ -1296,15 +1296,15 @@ function cn() {
1296
1296
  );
1297
1297
  }
1298
1298
  function M(h) {
1299
- function x(T, D, R, C, F) {
1299
+ function x(T, D, R, P, F) {
1300
1300
  var V = T[D], N = q(V);
1301
1301
  if (N !== "object")
1302
- return new y("Invalid " + C + " `" + F + "` of type `" + N + "` " + ("supplied to `" + R + "`, expected `object`."));
1302
+ return new y("Invalid " + P + " `" + F + "` of type `" + N + "` " + ("supplied to `" + R + "`, expected `object`."));
1303
1303
  for (var J in h) {
1304
1304
  var H = h[J];
1305
1305
  if (typeof H != "function")
1306
- return j(R, C, F, J, K(H));
1307
- var se = H(V, J, R, C, F + "." + J, t);
1306
+ return j(R, P, F, J, K(H));
1307
+ var se = H(V, J, R, P, F + "." + J, t);
1308
1308
  if (se)
1309
1309
  return se;
1310
1310
  }
@@ -1313,21 +1313,21 @@ function cn() {
1313
1313
  return b(x);
1314
1314
  }
1315
1315
  function U(h) {
1316
- function x(T, D, R, C, F) {
1316
+ function x(T, D, R, P, F) {
1317
1317
  var V = T[D], N = q(V);
1318
1318
  if (N !== "object")
1319
- return new y("Invalid " + C + " `" + F + "` of type `" + N + "` " + ("supplied to `" + R + "`, expected `object`."));
1319
+ return new y("Invalid " + P + " `" + F + "` of type `" + N + "` " + ("supplied to `" + R + "`, expected `object`."));
1320
1320
  var J = e({}, T[D], h);
1321
1321
  for (var H in J) {
1322
1322
  var se = h[H];
1323
1323
  if (n(h, H) && typeof se != "function")
1324
- return j(R, C, F, H, K(se));
1324
+ return j(R, P, F, H, K(se));
1325
1325
  if (!se)
1326
1326
  return new y(
1327
- "Invalid " + C + " `" + F + "` key `" + H + "` supplied to `" + R + "`.\nBad object: " + JSON.stringify(T[D], null, " ") + `
1327
+ "Invalid " + P + " `" + F + "` key `" + H + "` supplied to `" + R + "`.\nBad object: " + JSON.stringify(T[D], null, " ") + `
1328
1328
  Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1329
1329
  );
1330
- var L = se(V, H, R, C, F + "." + H, t);
1330
+ var L = se(V, H, R, P, F + "." + H, t);
1331
1331
  if (L)
1332
1332
  return L;
1333
1333
  }
@@ -1457,13 +1457,13 @@ function un() {
1457
1457
  }
1458
1458
  var zt;
1459
1459
  function fn() {
1460
- if (zt) return He.exports;
1460
+ if (zt) return Be.exports;
1461
1461
  if (zt = 1, process.env.NODE_ENV !== "production") {
1462
1462
  var r = wr(), e = !0;
1463
- He.exports = /* @__PURE__ */ cn()(r.isElement, e);
1463
+ Be.exports = /* @__PURE__ */ cn()(r.isElement, e);
1464
1464
  } else
1465
- He.exports = /* @__PURE__ */ un()();
1466
- return He.exports;
1465
+ Be.exports = /* @__PURE__ */ un()();
1466
+ return Be.exports;
1467
1467
  }
1468
1468
  var oe = /* @__PURE__ */ fn(), dn = function(e) {
1469
1469
  var t = (e == null ? void 0 : e.ownerDocument) || document;
@@ -1476,7 +1476,7 @@ var oe = /* @__PURE__ */ fn(), dn = function(e) {
1476
1476
  if (e[s] !== t[s])
1477
1477
  return !0;
1478
1478
  return !1;
1479
- }, hn = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], Ge = "http://www.w3.org/2000/svg", Jt = "http://www.w3.org/1999/xlink", De = /* @__PURE__ */ function(r) {
1479
+ }, hn = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], qe = "http://www.w3.org/2000/svg", Jt = "http://www.w3.org/1999/xlink", De = /* @__PURE__ */ function(r) {
1480
1480
  function e() {
1481
1481
  for (var n, s = arguments.length, a = new Array(s), i = 0; i < s; i++)
1482
1482
  a[i] = arguments[i];
@@ -1493,7 +1493,7 @@ var oe = /* @__PURE__ */ fn(), dn = function(e) {
1493
1493
  var s = this;
1494
1494
  if (this.reactWrapper instanceof dn(this.reactWrapper).Node) {
1495
1495
  var a = this.props, i = a.desc, o = a.evalScripts, u = a.httpRequestWithCredentials, c = a.renumerateIRIElements, f = a.src, l = a.title, p = a.useRequestCache, d = this.props.onError, m = this.props.beforeInjection, y = this.props.afterInjection, b = this.props.wrapper, w, E;
1496
- b === "svg" ? (w = document.createElementNS(Ge, b), w.setAttribute("xmlns", Ge), w.setAttribute("xmlns:xlink", Jt), E = document.createElementNS(Ge, b)) : (w = document.createElement(b), E = document.createElement(b)), w.appendChild(E), E.dataset.src = f, this.nonReactWrapper = this.reactWrapper.appendChild(w);
1496
+ b === "svg" ? (w = document.createElementNS(qe, b), w.setAttribute("xmlns", qe), w.setAttribute("xmlns:xlink", Jt), E = document.createElementNS(qe, b)) : (w = document.createElement(b), E = document.createElement(b)), w.appendChild(E), E.dataset.src = f, this.nonReactWrapper = this.reactWrapper.appendChild(w);
1497
1497
  var O = function(_) {
1498
1498
  if (s.removeSVG(), !s._isMounted) {
1499
1499
  d(_);
@@ -1558,7 +1558,7 @@ var oe = /* @__PURE__ */ fn(), dn = function(e) {
1558
1558
  this._isMounted = !0, this.renderSVG();
1559
1559
  }, t.componentDidUpdate = function(s) {
1560
1560
  var a = this;
1561
- pn(rt({}, s), this.props) && this.setState(function() {
1561
+ pn(nt({}, s), this.props) && this.setState(function() {
1562
1562
  return a.initialState;
1563
1563
  }, function() {
1564
1564
  a.removeSVG(), a.renderSVG();
@@ -1573,14 +1573,14 @@ var oe = /* @__PURE__ */ fn(), dn = function(e) {
1573
1573
  var i = s.loading;
1574
1574
  s.renumerateIRIElements, s.src, s.title, s.useRequestCache;
1575
1575
  var o = s.wrapper, u = qr(s, hn), c = o;
1576
- return /* @__PURE__ */ Ve.createElement(c, rt({}, u, {
1576
+ return /* @__PURE__ */ Ye.createElement(c, nt({}, u, {
1577
1577
  ref: this.refCallback
1578
1578
  }, o === "svg" ? {
1579
- xmlns: Ge,
1579
+ xmlns: qe,
1580
1580
  xmlnsXlink: Jt
1581
- } : {}), this.state.isLoading && i && /* @__PURE__ */ Ve.createElement(i, null), this.state.hasError && a && /* @__PURE__ */ Ve.createElement(a, null));
1581
+ } : {}), this.state.isLoading && i && /* @__PURE__ */ Ye.createElement(i, null), this.state.hasError && a && /* @__PURE__ */ Ye.createElement(a, null));
1582
1582
  }, e;
1583
- }(Ve.Component);
1583
+ }(Ye.Component);
1584
1584
  De.defaultProps = {
1585
1585
  afterInjection: function() {
1586
1586
  },
@@ -1617,7 +1617,7 @@ let bt = {
1617
1617
  assets: "/"
1618
1618
  // Default for storybook isolation development
1619
1619
  };
1620
- const As = (r) => {
1620
+ const Ls = (r) => {
1621
1621
  bt = { ...bt, ...r };
1622
1622
  }, Xt = (r) => `${bt.assets}/${r}`.replace(/\/+/g, "/"), ce = vr.memo(
1623
1623
  ({
@@ -1642,8 +1642,8 @@ const As = (r) => {
1642
1642
  svg: `smp-icon ${i ? `smp-icon-${i}` : ""} ${o ? "smp-icon-rotated" : ""} ${c ? "smp-icon-interactable" : ""} ${f ? "smp-icon-spin" : ""}`
1643
1643
  }, S = () => {
1644
1644
  !a && c && u && u();
1645
- }, v = (P) => {
1646
- !a && c && (P.key === "Enter" || P.key === " ") && (P.preventDefault(), S());
1645
+ }, v = (C) => {
1646
+ !a && c && (C.key === "Enter" || C.key === " ") && (C.preventDefault(), S());
1647
1647
  };
1648
1648
  return /* @__PURE__ */ g.jsx(g.Fragment, { children: b ? /* @__PURE__ */ g.jsx(
1649
1649
  De,
@@ -1675,8 +1675,8 @@ const As = (r) => {
1675
1675
  onClick: S,
1676
1676
  className: O.img,
1677
1677
  title: l,
1678
- onKeyDown: (P) => {
1679
- (P.key === "Enter" || P.key === " ") && S();
1678
+ onKeyDown: (C) => {
1679
+ (C.key === "Enter" || C.key === " ") && S();
1680
1680
  }
1681
1681
  }
1682
1682
  )
@@ -1737,14 +1737,14 @@ const As = (r) => {
1737
1737
  helperText: O = !1,
1738
1738
  error: S,
1739
1739
  appearance: v = "base",
1740
- fullWidth: P = !1,
1740
+ fullWidth: C = !1,
1741
1741
  _dataComponent: _ = "textfield",
1742
1742
  width: $
1743
1743
  }) => {
1744
- const A = it(), I = `${A}-helper`, j = S ? "danger" : c, M = S || c == "danger" ? "error" : o, U = O || !!S, G = (K) => {
1744
+ const A = Ve(), I = `${A}-helper`, j = S ? "danger" : c, M = S || c == "danger" ? "error" : o, U = O || !!S, G = (K) => {
1745
1745
  s == null || s(K.target.value);
1746
1746
  }, Z = {
1747
- wrapper: `${me["smp-textfield-wrapper"]} ${P ? me["smp-textfield-fullWidth"] : ""}`,
1747
+ wrapper: `${me["smp-textfield-wrapper"]} ${C ? me["smp-textfield-fullWidth"] : ""}`,
1748
1748
  container: `${me["smp-textfield"]} ${r ? me["smp-textfield-disabled"] : ""} ${a ? me["smp-textfield-placeholder"] : ""} ${u ? me[`smp-textfield-${u}`] : ""} ${j ? me[`smp-textfield-${j}`] : ""} ${v ? me[`smp-textfield-${v}`] : ""} ${i ? "" : me["smp-textfield-readOnly"]}`,
1749
1749
  input: `${me["smp-textfield-input"]}`
1750
1750
  };
@@ -1860,7 +1860,7 @@ function Tr({
1860
1860
  scrollToIndex: p
1861
1861
  };
1862
1862
  }
1863
- const qe = {
1863
+ const Ke = {
1864
1864
  "smp-list": "_smp-list_t8eqj_1",
1865
1865
  "smp-list-container": "_smp-list-container_t8eqj_10",
1866
1866
  "smp-list-listItem": "_smp-list-listItem_t8eqj_15"
@@ -1896,7 +1896,7 @@ const qe = {
1896
1896
  }, [a]), ae(() => {
1897
1897
  d >= 0 && d < b.length && v(d);
1898
1898
  }, [d, b]);
1899
- const P = (j) => {
1899
+ const C = (j) => {
1900
1900
  if (j.key === "ArrowDown" || j.key === "ArrowUp") {
1901
1901
  j.preventDefault();
1902
1902
  let M = d;
@@ -1904,14 +1904,14 @@ const qe = {
1904
1904
  } else j.key === "Enter" ? d >= 0 && d < b.length && (u == null || u(b[d])) : j.key === "Escape" && (j.preventDefault(), j.stopPropagation());
1905
1905
  c && c(j);
1906
1906
  }, _ = (j) => {
1907
- P(j);
1907
+ C(j);
1908
1908
  }, $ = (j) => {
1909
- P(j);
1909
+ C(j);
1910
1910
  }, A = {
1911
- wrapper: `${qe["smp-list"]}`,
1912
- container: `${qe["smp-list-container"]}`,
1913
- virtualScroll: `${qe["smp-list-virtualScroll"]}`,
1914
- listItem: `${qe["smp-list-listItem"]}`
1911
+ wrapper: `${Ke["smp-list"]}`,
1912
+ container: `${Ke["smp-list-container"]}`,
1913
+ virtualScroll: `${Ke["smp-list-virtualScroll"]}`,
1914
+ listItem: `${Ke["smp-list-listItem"]}`
1915
1915
  };
1916
1916
  return /* @__PURE__ */ g.jsxs(
1917
1917
  "div",
@@ -2029,11 +2029,11 @@ const jr = ({
2029
2029
  _multiActiveIndex: p,
2030
2030
  ...d
2031
2031
  }) => {
2032
- const [m, y] = z(r), [b, w] = z(e), [E, O] = z(!1), [S, v] = z(t || []), [P, _] = z(0), [$, A] = z([r]), { anchorRef: I, targetRef: j, anchorWidth: M } = Tt({
2032
+ const [m, y] = z(r), [b, w] = z(e), [E, O] = z(!1), [S, v] = z(t || []), [C, _] = z(0), [$, A] = z([r]), { anchorRef: I, targetRef: j, anchorWidth: M } = Tt({
2033
2033
  position: "bottom",
2034
2034
  enabled: E
2035
2035
  });
2036
- tt(j, () => O(!1));
2036
+ rt(j, () => O(!1));
2037
2037
  const U = gn(400), G = (W) => {
2038
2038
  W.length >= a ? u && l && U(async () => {
2039
2039
  const k = await l(u, W);
@@ -2047,12 +2047,12 @@ const jr = ({
2047
2047
  W.key === "Escape" && (O(!1), _(-1));
2048
2048
  }, K = (W) => {
2049
2049
  if ((W.key === "ArrowDown" || W.key === "ArrowUp") && (W.preventDefault(), E)) {
2050
- const k = W.key === "ArrowDown" ? (P + 1) % S.length : (P - 1 + S.length) % S.length;
2050
+ const k = W.key === "ArrowDown" ? (C + 1) % S.length : (C - 1 + S.length) % S.length;
2051
2051
  _(k);
2052
2052
  }
2053
2053
  switch (W.key) {
2054
2054
  case "Enter":
2055
- P >= 0 && P < S.length ? Z(S[P]) : c && (f == null || f(m, ""), O(!1), y(""), w(""));
2055
+ C >= 0 && C < S.length ? Z(S[C]) : c && (f == null || f(m, ""), O(!1), y(""), w(""));
2056
2056
  break;
2057
2057
  case "Escape":
2058
2058
  O(!1), _(-1);
@@ -2083,7 +2083,7 @@ const jr = ({
2083
2083
  displayMode: s,
2084
2084
  onClick: Z,
2085
2085
  ref: j,
2086
- selectedIndex: P,
2086
+ selectedIndex: C,
2087
2087
  activeIndex: p || $,
2088
2088
  width: M,
2089
2089
  showFilter: !1,
@@ -2194,34 +2194,39 @@ const jr = ({
2194
2194
  return /* @__PURE__ */ g.jsx(_e, { ...S }, `button-${O}`);
2195
2195
  });
2196
2196
  return /* @__PURE__ */ g.jsx("div", { role: "list", "data-component": "button-list", className: b.container, children: w });
2197
- }, vn = ({
2197
+ }, vn = {
2198
+ "smp-checkbox-wrapper": "_smp-checkbox-wrapper_z14lq_2"
2199
+ }, xn = ({
2198
2200
  bindValue: r,
2199
2201
  _dataComponent: e = "checkbox",
2200
2202
  disabled: t,
2201
2203
  label: n,
2202
2204
  isEditable: s = !0,
2203
2205
  onChange: a,
2204
- onBlur: i
2206
+ onBlur: i,
2207
+ variant: o = "checkbox"
2205
2208
  }) => {
2206
- const o = (c) => {
2207
- s && a && a(c.target.checked);
2208
- }, u = {
2209
- wrapper: "smp-checkbox-wrapper"
2209
+ const u = Ve(), c = (l) => {
2210
+ s && a && a(l.target.checked);
2211
+ }, f = {
2212
+ wrapper: `${vn["smp-checkbox-wrapper"]}`
2210
2213
  };
2211
- return /* @__PURE__ */ g.jsxs("div", { className: u.wrapper, "data-component": e, children: [
2212
- n && /* @__PURE__ */ g.jsx($e, { label: n, disabled: t }),
2214
+ return /* @__PURE__ */ g.jsxs("div", { className: f.wrapper, "data-component": e, children: [
2215
+ n && /* @__PURE__ */ g.jsx($e, { label: n, disabled: t, htmlFor: u }),
2213
2216
  /* @__PURE__ */ g.jsx(
2214
2217
  "input",
2215
2218
  {
2216
2219
  "data-component": "checkbox",
2217
2220
  type: "checkbox",
2218
2221
  checked: r,
2219
- onChange: o,
2220
- onBlur: i
2222
+ onChange: c,
2223
+ onBlur: i,
2224
+ role: o === "switch" ? "switch" : "checkbox",
2225
+ id: u
2221
2226
  }
2222
2227
  )
2223
2228
  ] });
2224
- }, xn = {
2229
+ }, bn = {
2225
2230
  titleLarge: "h2",
2226
2231
  title: "h3",
2227
2232
  body: "h6",
@@ -2232,7 +2237,7 @@ const jr = ({
2232
2237
  color: t,
2233
2238
  ...n
2234
2239
  }) => {
2235
- const s = xn[r], a = {
2240
+ const s = bn[r], a = {
2236
2241
  container: `smp-typography ${r ? `smp-typography-${r}` : ""} ${n.disabled ? "smp-typography-disabled" : ""}`
2237
2242
  };
2238
2243
  return /* @__PURE__ */ g.jsx(
@@ -2349,7 +2354,7 @@ function Dr(r, e) {
2349
2354
  };
2350
2355
  }, [r, e]);
2351
2356
  }
2352
- const bn = ({
2357
+ const Sn = ({
2353
2358
  bindValue: r,
2354
2359
  onChange: e,
2355
2360
  options: t = [],
@@ -2362,11 +2367,11 @@ const bn = ({
2362
2367
  multiActiveIndex: c,
2363
2368
  ...f
2364
2369
  }) => {
2365
- const [l, p] = z(!1), [d, m] = z(t), [y, b] = z(-1), [w, E] = z([r]), O = it(), { anchorRef: S, targetRef: v, anchorWidth: P } = Tt({
2370
+ const [l, p] = z(!1), [d, m] = z(t), [y, b] = z(-1), [w, E] = z([r]), O = Ve(), { anchorRef: S, targetRef: v, anchorWidth: C } = Tt({
2366
2371
  position: "bottom",
2367
2372
  enabled: l
2368
2373
  });
2369
- tt(v, () => p(!1)), Dr(l, v);
2374
+ rt(v, () => p(!1)), Dr(l, v);
2370
2375
  const _ = (j) => {
2371
2376
  e == null || e(j.id, j.label);
2372
2377
  const M = d.findIndex((U) => U.id === j.id);
@@ -2415,7 +2420,7 @@ const bn = ({
2415
2420
  ref: v,
2416
2421
  selectedIndex: y,
2417
2422
  activeIndex: c || w,
2418
- width: P,
2423
+ width: C,
2419
2424
  onClick: _,
2420
2425
  onKeyDown: $
2421
2426
  }
@@ -2429,11 +2434,11 @@ const bn = ({
2429
2434
  r = n, e = s;
2430
2435
  });
2431
2436
  return t.resolve = r, t.reject = e, t;
2432
- }, er = (r) => r == null ? "" : "" + r, Sn = (r, e, t) => {
2437
+ }, er = (r) => r == null ? "" : "" + r, wn = (r, e, t) => {
2433
2438
  r.forEach((n) => {
2434
2439
  e[n] && (t[n] = e[n]);
2435
2440
  });
2436
- }, wn = /###/g, tr = (r) => r && r.indexOf("###") > -1 ? r.replace(wn, ".") : r, rr = (r) => !r || B(r), ke = (r, e, t) => {
2441
+ }, En = /###/g, tr = (r) => r && r.indexOf("###") > -1 ? r.replace(En, ".") : r, rr = (r) => !r || B(r), ke = (r, e, t) => {
2437
2442
  const n = B(e) ? e.split(".") : e;
2438
2443
  let s = 0;
2439
2444
  for (; s < n.length - 1; ) {
@@ -2458,28 +2463,28 @@ const bn = ({
2458
2463
  for (; o.obj === void 0 && i.length; )
2459
2464
  a = `${i[i.length - 1]}.${a}`, i = i.slice(0, i.length - 1), o = ke(r, i, Object), o != null && o.obj && typeof o.obj[`${o.k}.${a}`] < "u" && (o.obj = void 0);
2460
2465
  o.obj[`${o.k}.${a}`] = t;
2461
- }, En = (r, e, t, n) => {
2466
+ }, Tn = (r, e, t, n) => {
2462
2467
  const {
2463
2468
  obj: s,
2464
2469
  k: a
2465
2470
  } = ke(r, e, Object);
2466
2471
  s[a] = s[a] || [], s[a].push(t);
2467
- }, nt = (r, e) => {
2472
+ }, st = (r, e) => {
2468
2473
  const {
2469
2474
  obj: t,
2470
2475
  k: n
2471
2476
  } = ke(r, e);
2472
2477
  if (t && Object.prototype.hasOwnProperty.call(t, n))
2473
2478
  return t[n];
2474
- }, Tn = (r, e, t) => {
2475
- const n = nt(r, t);
2476
- return n !== void 0 ? n : nt(e, t);
2479
+ }, On = (r, e, t) => {
2480
+ const n = st(r, t);
2481
+ return n !== void 0 ? n : st(e, t);
2477
2482
  }, _r = (r, e, t) => {
2478
2483
  for (const n in e)
2479
2484
  n !== "__proto__" && n !== "constructor" && (n in r ? B(r[n]) || r[n] instanceof String || B(e[n]) || e[n] instanceof String ? t && (r[n] = e[n]) : _r(r[n], e[n], t) : r[n] = e[n]);
2480
2485
  return r;
2481
2486
  }, Re = (r) => r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
2482
- var On = {
2487
+ var Rn = {
2483
2488
  "&": "&amp;",
2484
2489
  "<": "&lt;",
2485
2490
  ">": "&gt;",
@@ -2487,8 +2492,8 @@ var On = {
2487
2492
  "'": "&#39;",
2488
2493
  "/": "&#x2F;"
2489
2494
  };
2490
- const Rn = (r) => B(r) ? r.replace(/[&<>"'\/]/g, (e) => On[e]) : r;
2491
- class jn {
2495
+ const jn = (r) => B(r) ? r.replace(/[&<>"'\/]/g, (e) => Rn[e]) : r;
2496
+ class Dn {
2492
2497
  constructor(e) {
2493
2498
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
2494
2499
  }
@@ -2500,11 +2505,11 @@ class jn {
2500
2505
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
2501
2506
  }
2502
2507
  }
2503
- const Dn = [" ", ",", "?", "!", ";"], _n = new jn(20), $n = (r, e, t) => {
2508
+ const _n = [" ", ",", "?", "!", ";"], $n = new Dn(20), Cn = (r, e, t) => {
2504
2509
  e = e || "", t = t || "";
2505
- const n = Dn.filter((i) => e.indexOf(i) < 0 && t.indexOf(i) < 0);
2510
+ const n = _n.filter((i) => e.indexOf(i) < 0 && t.indexOf(i) < 0);
2506
2511
  if (n.length === 0) return !0;
2507
- const s = _n.getRegExp(`(${n.map((i) => i === "?" ? "\\?" : i).join("|")})`);
2512
+ const s = $n.getRegExp(`(${n.map((i) => i === "?" ? "\\?" : i).join("|")})`);
2508
2513
  let a = !s.test(r);
2509
2514
  if (!a) {
2510
2515
  const i = r.indexOf(t);
@@ -2531,7 +2536,7 @@ const Dn = [" ", ",", "?", "!", ";"], _n = new jn(20), $n = (r, e, t) => {
2531
2536
  s = i;
2532
2537
  }
2533
2538
  return s;
2534
- }, Me = (r) => r == null ? void 0 : r.replace("_", "-"), Cn = {
2539
+ }, Me = (r) => r == null ? void 0 : r.replace("_", "-"), Pn = {
2535
2540
  type: "logger",
2536
2541
  log(r) {
2537
2542
  this.output("log", r);
@@ -2547,12 +2552,12 @@ const Dn = [" ", ",", "?", "!", ";"], _n = new jn(20), $n = (r, e, t) => {
2547
2552
  (n = (t = console == null ? void 0 : console[r]) == null ? void 0 : t.apply) == null || n.call(t, console, e);
2548
2553
  }
2549
2554
  };
2550
- class st {
2555
+ class at {
2551
2556
  constructor(e, t = {}) {
2552
2557
  this.init(e, t);
2553
2558
  }
2554
2559
  init(e, t = {}) {
2555
- this.prefix = t.prefix || "i18next:", this.logger = e || Cn, this.options = t, this.debug = t.debug;
2560
+ this.prefix = t.prefix || "i18next:", this.logger = e || Pn, this.options = t, this.debug = t.debug;
2556
2561
  }
2557
2562
  log(...e) {
2558
2563
  return this.forward(e, "log", "", !0);
@@ -2570,16 +2575,16 @@ class st {
2570
2575
  return s && !this.debug ? null : (B(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
2571
2576
  }
2572
2577
  create(e) {
2573
- return new st(this.logger, {
2578
+ return new at(this.logger, {
2574
2579
  prefix: `${this.prefix}:${e}:`,
2575
2580
  ...this.options
2576
2581
  });
2577
2582
  }
2578
2583
  clone(e) {
2579
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new st(this.logger, e);
2584
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new at(this.logger, e);
2580
2585
  }
2581
2586
  }
2582
- var ye = new st();
2587
+ var ye = new at();
2583
2588
  class ot {
2584
2589
  constructor() {
2585
2590
  this.observers = {};
@@ -2629,7 +2634,7 @@ class sr extends ot {
2629
2634
  const a = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, i = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
2630
2635
  let o;
2631
2636
  e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : B(n) && a ? o.push(...n.split(a)) : o.push(n)));
2632
- const u = nt(this.data, o);
2637
+ const u = st(this.data, o);
2633
2638
  return !u && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), u || !i || !B(n) ? u : St((f = (c = this.data) == null ? void 0 : c[e]) == null ? void 0 : f[t], n, a);
2634
2639
  }
2635
2640
  addResource(e, t, n, s, a = {
@@ -2654,7 +2659,7 @@ class sr extends ot {
2654
2659
  }) {
2655
2660
  let o = [e, t];
2656
2661
  e.indexOf(".") > -1 && (o = e.split("."), s = n, n = t, t = o[1]), this.addNamespaces(t);
2657
- let u = nt(this.data, o) || {};
2662
+ let u = st(this.data, o) || {};
2658
2663
  i.skipCopy || (n = JSON.parse(JSON.stringify(n))), s ? _r(u, n, a) : u = {
2659
2664
  ...u,
2660
2665
  ...n
@@ -2693,9 +2698,9 @@ var $r = {
2693
2698
  }
2694
2699
  };
2695
2700
  const ar = {}, ir = (r) => !B(r) && typeof r != "boolean" && typeof r != "number";
2696
- class at extends ot {
2701
+ class it extends ot {
2697
2702
  constructor(e, t = {}) {
2698
- super(), Sn(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = ye.create("translator");
2703
+ super(), wn(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = ye.create("translator");
2699
2704
  }
2700
2705
  changeLanguage(e) {
2701
2706
  e && (this.language = e);
@@ -2715,7 +2720,7 @@ class at extends ot {
2715
2720
  n === void 0 && (n = ":");
2716
2721
  const s = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
2717
2722
  let a = t.ns || this.options.defaultNS || [];
2718
- const i = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !$n(e, n, s);
2723
+ const i = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Cn(e, n, s);
2719
2724
  if (i && !o) {
2720
2725
  const u = e.match(this.interpolator.nestingRegexp);
2721
2726
  if (u && u.length > 0)
@@ -2764,9 +2769,9 @@ class at extends ot {
2764
2769
  } : o;
2765
2770
  const d = this.resolve(e, s);
2766
2771
  let m = d == null ? void 0 : d.res;
2767
- const y = (d == null ? void 0 : d.usedKey) || o, b = (d == null ? void 0 : d.exactUsedKey) || o, w = ["[object Number]", "[object Function]", "[object RegExp]"], E = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, O = !this.i18nFormat || this.i18nFormat.handleAsObject, S = s.count !== void 0 && !B(s.count), v = at.hasDefaultValue(s), P = S ? this.pluralResolver.getSuffix(l, s.count, s) : "", _ = s.ordinal && S ? this.pluralResolver.getSuffix(l, s.count, {
2772
+ const y = (d == null ? void 0 : d.usedKey) || o, b = (d == null ? void 0 : d.exactUsedKey) || o, w = ["[object Number]", "[object Function]", "[object RegExp]"], E = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, O = !this.i18nFormat || this.i18nFormat.handleAsObject, S = s.count !== void 0 && !B(s.count), v = it.hasDefaultValue(s), C = S ? this.pluralResolver.getSuffix(l, s.count, s) : "", _ = s.ordinal && S ? this.pluralResolver.getSuffix(l, s.count, {
2768
2773
  ordinal: !1
2769
- }) : "", $ = S && !s.ordinal && s.count === 0, A = $ && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${P}`] || s[`defaultValue${_}`] || s.defaultValue;
2774
+ }) : "", $ = S && !s.ordinal && s.count === 0, A = $ && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${C}`] || s[`defaultValue${_}`] || s.defaultValue;
2770
2775
  let I = m;
2771
2776
  O && !m && v && (I = A);
2772
2777
  const j = ir(I), M = Object.prototype.toString.apply(I);
@@ -2818,9 +2823,9 @@ class at extends ot {
2818
2823
  W.push(k[x]);
2819
2824
  else this.options.saveMissingTo === "all" ? W = this.languageUtils.toResolveHierarchy(s.lng || this.language) : W.push(s.lng || this.language);
2820
2825
  const h = (x, T, D) => {
2821
- var C;
2826
+ var P;
2822
2827
  const R = v && D !== m ? D : q;
2823
- this.options.missingKeyHandler ? this.options.missingKeyHandler(x, c, T, R, K, s) : (C = this.backendConnector) != null && C.saveMissing && this.backendConnector.saveMissing(x, c, T, R, K, s), this.emit("missingKey", x, c, T, m);
2828
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(x, c, T, R, K, s) : (P = this.backendConnector) != null && P.saveMissing && this.backendConnector.saveMissing(x, c, T, R, K, s), this.emit("missingKey", x, c, T, m);
2824
2829
  };
2825
2830
  this.options.saveMissing && (this.options.saveMissingPlurals && S ? W.forEach((x) => {
2826
2831
  const T = this.pluralResolver.getSuffixes(x, s);
@@ -2887,11 +2892,11 @@ class at extends ot {
2887
2892
  l.forEach((b) => {
2888
2893
  var w, E;
2889
2894
  this.isValidLookup(n) || (o = b, !ar[`${y[0]}-${b}`] && ((w = this.utils) != null && w.hasLoadedNamespace) && !((E = this.utils) != null && E.hasLoadedNamespace(o)) && (ar[`${y[0]}-${b}`] = !0, this.logger.warn(`key "${s}" for languages "${y.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!!!")), y.forEach((O) => {
2890
- var P;
2895
+ var C;
2891
2896
  if (this.isValidLookup(n)) return;
2892
2897
  i = O;
2893
2898
  const S = [f];
2894
- if ((P = this.i18nFormat) != null && P.addLookupKeys)
2899
+ if ((C = this.i18nFormat) != null && C.addLookupKeys)
2895
2900
  this.i18nFormat.addLookupKeys(S, f, O, b, t);
2896
2901
  else {
2897
2902
  let _;
@@ -3022,7 +3027,7 @@ const lr = {
3022
3027
  pluralCategories: ["one", "other"]
3023
3028
  })
3024
3029
  };
3025
- class Pn {
3030
+ class An {
3026
3031
  constructor(e, t = {}) {
3027
3032
  this.languageUtils = e, this.options = t, this.logger = ye.create("pluralResolver"), this.pluralRulesCache = {};
3028
3033
  }
@@ -3070,10 +3075,10 @@ class Pn {
3070
3075
  }
3071
3076
  }
3072
3077
  const ur = (r, e, t, n = ".", s = !0) => {
3073
- let a = Tn(r, e, t);
3078
+ let a = On(r, e, t);
3074
3079
  return !a && s && B(t) && (a = St(r, t, n), a === void 0 && (a = St(e, t, n))), a;
3075
3080
  }, yt = (r) => r.replace(/\$/g, "$$$$");
3076
- class An {
3081
+ class Ln {
3077
3082
  constructor(e = {}) {
3078
3083
  var t;
3079
3084
  this.logger = ye.create("interpolator"), this.options = e, this.format = ((t = e == null ? void 0 : e.interpolation) == null ? void 0 : t.format) || ((n) => n), this.init(e);
@@ -3101,7 +3106,7 @@ class An {
3101
3106
  maxReplaces: w,
3102
3107
  alwaysFormat: E
3103
3108
  } = e.interpolation;
3104
- this.escape = t !== void 0 ? t : Rn, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? Re(a) : i || "{{", this.suffix = o ? Re(o) : u || "}}", this.formatSeparator = c || ",", this.unescapePrefix = f ? "" : l || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = p ? Re(p) : d || Re("$t("), this.nestingSuffix = m ? Re(m) : y || Re(")"), this.nestingOptionsSeparator = b || ",", this.maxReplaces = w || 1e3, this.alwaysFormat = E !== void 0 ? E : !1, this.resetRegExp();
3109
+ this.escape = t !== void 0 ? t : jn, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? Re(a) : i || "{{", this.suffix = o ? Re(o) : u || "}}", this.formatSeparator = c || ",", this.unescapePrefix = f ? "" : l || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = p ? Re(p) : d || Re("$t("), this.nestingSuffix = m ? Re(m) : y || Re(")"), this.nestingOptionsSeparator = b || ",", this.maxReplaces = w || 1e3, this.alwaysFormat = E !== void 0 ? E : !1, this.resetRegExp();
3105
3110
  }
3106
3111
  reset() {
3107
3112
  this.options && this.init(this.options);
@@ -3197,7 +3202,7 @@ class An {
3197
3202
  return e;
3198
3203
  }
3199
3204
  }
3200
- const Ln = (r) => {
3205
+ const kn = (r) => {
3201
3206
  let e = r.toLowerCase().trim();
3202
3207
  const t = {};
3203
3208
  if (r.indexOf("(") > -1) {
@@ -3227,8 +3232,8 @@ const Ln = (r) => {
3227
3232
  let o = e[i];
3228
3233
  return o || (o = r(Me(n), s), e[i] = o), o(t);
3229
3234
  };
3230
- }, kn = (r) => (e, t, n) => r(Me(t), n)(e);
3231
- class In {
3235
+ }, In = (r) => (e, t, n) => r(Me(t), n)(e);
3236
+ class Nn {
3232
3237
  constructor(e = {}) {
3233
3238
  this.logger = ye.create("formatter"), this.options = e, this.init(e);
3234
3239
  }
@@ -3236,7 +3241,7 @@ class In {
3236
3241
  interpolation: {}
3237
3242
  }) {
3238
3243
  this.formatSeparator = t.interpolation.formatSeparator || ",";
3239
- const n = t.cacheInBuiltFormats ? fr : kn;
3244
+ const n = t.cacheInBuiltFormats ? fr : In;
3240
3245
  this.formats = {
3241
3246
  number: n((s, a) => {
3242
3247
  const i = new Intl.NumberFormat(s, {
@@ -3288,7 +3293,7 @@ class In {
3288
3293
  const {
3289
3294
  formatName: c,
3290
3295
  formatOptions: f
3291
- } = Ln(u);
3296
+ } = kn(u);
3292
3297
  if (this.formats[c]) {
3293
3298
  let p = o;
3294
3299
  try {
@@ -3308,10 +3313,10 @@ class In {
3308
3313
  }, e);
3309
3314
  }
3310
3315
  }
3311
- const Nn = (r, e) => {
3316
+ const Mn = (r, e) => {
3312
3317
  r.pending[e] !== void 0 && (delete r.pending[e], r.pendingCount--);
3313
3318
  };
3314
- class Mn extends ot {
3319
+ class Fn extends ot {
3315
3320
  constructor(e, t, n, s = {}) {
3316
3321
  var a, i;
3317
3322
  super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = s, this.logger = ye.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], (i = (a = this.backend) == null ? void 0 : a.init) == null || i.call(a, n, s.backend, s);
@@ -3344,7 +3349,7 @@ class Mn extends ot {
3344
3349
  }), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
3345
3350
  const o = {};
3346
3351
  this.queue.forEach((u) => {
3347
- En(u.loaded, [a], i), Nn(u, e), t && u.errors.push(t), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((c) => {
3352
+ Tn(u.loaded, [a], i), Mn(u, e), t && u.errors.push(t), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((c) => {
3348
3353
  o[c] || (o[c] = {});
3349
3354
  const f = u.loaded[c];
3350
3355
  f.length && f.forEach((l) => {
@@ -3503,8 +3508,8 @@ const dr = () => ({
3503
3508
  }), pr = (r) => {
3504
3509
  var e, t;
3505
3510
  return B(r.ns) && (r.ns = [r.ns]), B(r.fallbackLng) && (r.fallbackLng = [r.fallbackLng]), B(r.fallbackNS) && (r.fallbackNS = [r.fallbackNS]), ((t = (e = r.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (r.supportedLngs = r.supportedLngs.concat(["cimode"])), typeof r.initImmediate == "boolean" && (r.initAsync = r.initImmediate), r;
3506
- }, Ke = () => {
3507
- }, Fn = (r) => {
3511
+ }, ze = () => {
3512
+ }, Vn = (r) => {
3508
3513
  Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((t) => {
3509
3514
  typeof r[t] == "function" && (r[t] = r[t].bind(r));
3510
3515
  });
@@ -3513,7 +3518,7 @@ class Fe extends ot {
3513
3518
  constructor(e = {}, t) {
3514
3519
  if (super(), this.options = pr(e), this.services = {}, this.logger = ye, this.modules = {
3515
3520
  external: []
3516
- }, Fn(this), t && !this.isInitialized && !e.isClone) {
3521
+ }, Vn(this), t && !this.isInitialized && !e.isClone) {
3517
3522
  if (!this.options.initAsync)
3518
3523
  return this.init(e, t), this;
3519
3524
  setTimeout(() => {
@@ -3536,24 +3541,24 @@ class Fe extends ot {
3536
3541
  if (!this.options.isClone) {
3537
3542
  this.modules.logger ? ye.init(s(this.modules.logger), this.options) : ye.init(null, this.options);
3538
3543
  let c;
3539
- this.modules.formatter ? c = this.modules.formatter : c = In;
3544
+ this.modules.formatter ? c = this.modules.formatter : c = Nn;
3540
3545
  const f = new or(this.options);
3541
3546
  this.store = new sr(this.options.resources, this.options);
3542
3547
  const l = this.services;
3543
- l.logger = ye, l.resourceStore = this.store, l.languageUtils = f, l.pluralResolver = new Pn(f, {
3548
+ l.logger = ye, l.resourceStore = this.store, l.languageUtils = f, l.pluralResolver = new An(f, {
3544
3549
  prepend: this.options.pluralSeparator,
3545
3550
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
3546
- }), c && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (l.formatter = s(c), l.formatter.init(l, this.options), this.options.interpolation.format = l.formatter.format.bind(l.formatter)), l.interpolator = new An(this.options), l.utils = {
3551
+ }), c && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (l.formatter = s(c), l.formatter.init(l, this.options), this.options.interpolation.format = l.formatter.format.bind(l.formatter)), l.interpolator = new Ln(this.options), l.utils = {
3547
3552
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
3548
- }, l.backendConnector = new Mn(s(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", (p, ...d) => {
3553
+ }, l.backendConnector = new Fn(s(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", (p, ...d) => {
3549
3554
  this.emit(p, ...d);
3550
- }), this.modules.languageDetector && (l.languageDetector = s(this.modules.languageDetector), l.languageDetector.init && l.languageDetector.init(l, this.options.detection, this.options)), this.modules.i18nFormat && (l.i18nFormat = s(this.modules.i18nFormat), l.i18nFormat.init && l.i18nFormat.init(this)), this.translator = new at(this.services, this.options), this.translator.on("*", (p, ...d) => {
3555
+ }), this.modules.languageDetector && (l.languageDetector = s(this.modules.languageDetector), l.languageDetector.init && l.languageDetector.init(l, this.options.detection, this.options)), this.modules.i18nFormat && (l.i18nFormat = s(this.modules.i18nFormat), l.i18nFormat.init && l.i18nFormat.init(this)), this.translator = new it(this.services, this.options), this.translator.on("*", (p, ...d) => {
3551
3556
  this.emit(p, ...d);
3552
3557
  }), this.modules.external.forEach((p) => {
3553
3558
  p.init && p.init(this);
3554
3559
  });
3555
3560
  }
3556
- if (this.format = this.options.interpolation.format, t || (t = Ke), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
3561
+ if (this.format = this.options.interpolation.format, t || (t = ze), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
3557
3562
  const c = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
3558
3563
  c.length > 0 && c[0] !== "dev" && (this.options.lng = c[0]);
3559
3564
  }
@@ -3571,7 +3576,7 @@ class Fe extends ot {
3571
3576
  };
3572
3577
  return this.options.resources || !this.options.initAsync ? u() : setTimeout(u, 0), o;
3573
3578
  }
3574
- loadResources(e, t = Ke) {
3579
+ loadResources(e, t = ze) {
3575
3580
  var a, i;
3576
3581
  let n = t;
3577
3582
  const s = B(e) ? e : this.language;
@@ -3591,7 +3596,7 @@ class Fe extends ot {
3591
3596
  }
3592
3597
  reloadResources(e, t, n) {
3593
3598
  const s = Le();
3594
- return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), n || (n = Ke), this.services.backendConnector.reload(e, t, (a) => {
3599
+ return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), n || (n = ze), this.services.backendConnector.reload(e, t, (a) => {
3595
3600
  s.resolve(), n(a);
3596
3601
  }), s;
3597
3602
  }
@@ -3695,7 +3700,7 @@ class Fe extends ot {
3695
3700
  static createInstance(e = {}, t) {
3696
3701
  return new Fe(e, t);
3697
3702
  }
3698
- cloneInstance(e = {}, t = Ke) {
3703
+ cloneInstance(e = {}, t = ze) {
3699
3704
  const n = e.forkResourceStore;
3700
3705
  n && delete e.forkResourceStore;
3701
3706
  const s = {
@@ -3717,7 +3722,7 @@ class Fe extends ot {
3717
3722
  }, f), u[c]), u), {});
3718
3723
  a.store = new sr(o, s), a.services.resourceStore = a.store;
3719
3724
  }
3720
- return a.translator = new at(a.services, s), a.translator.on("*", (o, ...u) => {
3725
+ return a.translator = new it(a.services, s), a.translator.on("*", (o, ...u) => {
3721
3726
  a.emit(o, ...u);
3722
3727
  }), a.init(s, t), a.translator.options = s, a.translator.backendConnector.services.utils = {
3723
3728
  hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
@@ -3749,34 +3754,34 @@ ie.setDefaultNamespace;
3749
3754
  ie.hasLoadedNamespace;
3750
3755
  ie.loadNamespaces;
3751
3756
  ie.loadLanguages;
3752
- const Vn = { Friday: "Venerdì", FridayShort: "Ven", Monday: "Lunedì", MondayShort: "Lun", Saturday: "Sabato", SaturdayShort: "Sab", Sunday: "Domenica", SundayShort: "Dom", Tuesday: "Martedì", TuesdayShort: "Mar", Thursday: "Giovedì", ThursdayShort: "Gio", Wednesday: "Mercoledì", WednesdayShort: "Mer" }, Yn = { April: "Aprile", August: "Agosto", December: "Dicembre", February: "Febbraio", January: "Gennaio", June: "Giugno", July: "Luglio", March: "Marzo", May: "Maggio", October: "Ottobre", November: "Novembre", September: "Settembre" }, Un = { CalendarFor: "Calendario per", Close: "Chiudi", SpotlightDefaultPlaceholder: "Esegui Comando" }, Wn = {
3757
+ const Yn = { Friday: "Venerdì", FridayShort: "Ven", Monday: "Lunedì", MondayShort: "Lun", Saturday: "Sabato", SaturdayShort: "Sab", Sunday: "Domenica", SundayShort: "Dom", Tuesday: "Martedì", TuesdayShort: "Mar", Thursday: "Giovedì", ThursdayShort: "Gio", Wednesday: "Mercoledì", WednesdayShort: "Mer" }, Un = { April: "Aprile", August: "Agosto", December: "Dicembre", February: "Febbraio", January: "Gennaio", June: "Giugno", July: "Luglio", March: "Marzo", May: "Maggio", October: "Ottobre", November: "Novembre", September: "Settembre" }, Wn = { CalendarFor: "Calendario per", Close: "Chiudi", SpotlightDefaultPlaceholder: "Esegui Comando" }, Hn = {
3753
3758
  Date: { NextDay: "Giorno Successivo", NextMonth: "Mese Successivo", NextWeek: "Settimana Successiva", NextYear: "Anno Successivo", PreviousDay: "Giorno Precedente", PreviousMonth: "Mese Precedente", PreviousWeek: "Settimana Precedente", PreviousYear: "Anno Precedente", Today: "Oggi", Tomorrow: "Domani", Yesterday: "Ieri" },
3754
- Day: Vn,
3755
- Month: Yn,
3756
- Generic: Un
3757
- }, Hn = { Friday: "Friday", FridayShort: "Fri", Monday: "Monday", MondayShort: "Mon", Saturday: "Saturday", SaturdayShort: "Sat", Sunday: "Sunday", SundayShort: "Sun", Tuesday: "Tuesday", TuesdayShort: "Tue", Thursday: "Thursday", ThursdayShort: "Thu", Wednesday: "Wednesday", WednesdayShort: "Wed" }, Bn = { April: "April", August: "August", December: "December", February: "February", January: "January", July: "July", June: "June", March: "March", May: "May", November: "November", October: "October", September: "September" }, Gn = { CalendarFor: "Calendar for", Close: "Close", SpotlightDefaultPlaceholder: "Execute Command" }, qn = {
3759
+ Day: Yn,
3760
+ Month: Un,
3761
+ Generic: Wn
3762
+ }, Bn = { Friday: "Friday", FridayShort: "Fri", Monday: "Monday", MondayShort: "Mon", Saturday: "Saturday", SaturdayShort: "Sat", Sunday: "Sunday", SundayShort: "Sun", Tuesday: "Tuesday", TuesdayShort: "Tue", Thursday: "Thursday", ThursdayShort: "Thu", Wednesday: "Wednesday", WednesdayShort: "Wed" }, Gn = { April: "April", August: "August", December: "December", February: "February", January: "January", July: "July", June: "June", March: "March", May: "May", November: "November", October: "October", September: "September" }, qn = { CalendarFor: "Calendar for", Close: "Close", SpotlightDefaultPlaceholder: "Execute Command" }, Kn = {
3758
3763
  Date: { NextDay: "Next Day", NextMonth: "Next Month", NextWeek: "Next Week", NextYear: "Next Year", PreviousDay: "Previous Day", PreviousMonth: "Previous Month", PreviousWeek: "Previous Week", PreviousYear: "Previous Year", Today: "Today", Tomorrow: "Tomorrow", Yesterday: "Yesterday" },
3759
- Day: Hn,
3760
- Month: Bn,
3761
- Generic: Gn
3764
+ Day: Bn,
3765
+ Month: Gn,
3766
+ Generic: qn
3762
3767
  };
3763
3768
  function hr(r, e) {
3764
- return new RegExp(Kn(r), e);
3769
+ return new RegExp(zn(r), e);
3765
3770
  }
3766
- function Kn(r) {
3771
+ function zn(r) {
3767
3772
  return r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
3768
3773
  }
3769
- function zn(r, e, t, n) {
3774
+ function Jn(r, e, t, n) {
3770
3775
  let s = e;
3771
- const a = Jn(r, t);
3776
+ const a = Xn(r, t);
3772
3777
  if (!s) {
3773
3778
  const o = Math.abs(a);
3774
3779
  o - Math.floor(o) ? s = "0,0.00" : s = "0,0";
3775
3780
  }
3776
- const i = Xn(s);
3781
+ const i = Zn(s);
3777
3782
  return new Intl.NumberFormat(n, i).format(a);
3778
3783
  }
3779
- function Jn(r, e, t, n, s) {
3784
+ function Xn(r, e, t, n, s) {
3780
3785
  let a = r;
3781
3786
  if (typeof a != "number") {
3782
3787
  let o;
@@ -3787,7 +3792,7 @@ function Jn(r, e, t, n, s) {
3787
3792
  const i = Number(a);
3788
3793
  return isNaN(i) ? NaN : i;
3789
3794
  }
3790
- function Xn(r) {
3795
+ function Zn(r) {
3791
3796
  const e = {};
3792
3797
  r.includes(",") ? e.useGrouping = !0 : e.useGrouping = !1;
3793
3798
  const t = r.indexOf(".");
@@ -3817,7 +3822,7 @@ ie.init({
3817
3822
  default:
3818
3823
  case "number": {
3819
3824
  const a = (n == null ? void 0 : n.inputIsLocalized) ?? !1;
3820
- return zn(r, e, a, t);
3825
+ return Jn(r, e, a, t);
3821
3826
  }
3822
3827
  }
3823
3828
  } catch {
@@ -3827,29 +3832,29 @@ ie.init({
3827
3832
  },
3828
3833
  resources: {
3829
3834
  en: {
3830
- translation: qn
3835
+ translation: Kn
3831
3836
  },
3832
3837
  it: {
3833
- translation: Wn
3838
+ translation: Hn
3834
3839
  }
3835
3840
  }
3836
3841
  });
3837
- const Zn = (r, e, t, n) => ie.format(r, e, t || ie.language, n), Qn = (r, e) => ie.t(r, e);
3842
+ const Qn = (r, e, t, n) => ie.format(r, e, t || ie.language, n), es = (r, e) => ie.t(r, e);
3838
3843
  function lt() {
3839
3844
  const r = ve(
3840
- (n, s, a, i) => Zn(n, s, a || void 0, i),
3845
+ (n, s, a, i) => Qn(n, s, a || void 0, i),
3841
3846
  []
3842
3847
  ), e = ve(() => ie.languages[0], []), t = ve(
3843
- (n, s) => Qn(n, s),
3848
+ (n, s) => es(n, s),
3844
3849
  []
3845
3850
  );
3846
3851
  return { format: r, getCurrentLanguage: e, translate: t };
3847
3852
  }
3848
3853
  var Dt = /* @__PURE__ */ ((r) => (r.CALENDAR_FOR = "Date.CalendarFor", r.CLOSE = "Generic.Close", r.SPOTLIGHT_DEFAULT_PLACEHOLDER = "Generic.SpotlightDefaultPlaceholder", r))(Dt || {}), le = /* @__PURE__ */ ((r) => (r.MONDAY = "Day.Monday", r.MONDAY_SHORT = "Day.MondayShort", r.TUESDAY = "Day.Tuesday", r.TUESDAY_SHORT = "Day.TuesdayShort", r.WEDNESDAY = "Day.Wednesday", r.WEDNESDAY_SHORT = "Day.WednesdayShort", r.THURSDAY = "Day.Thursday", r.THURSDAY_SHORT = "Day.ThursdayShort", r.FRIDAY = "Day.Friday", r.FRIDAY_SHORT = "Day.FridayShort", r.SATURDAY = "Day.Saturday", r.SATURDAY_SHORT = "Day.SaturdayShort", r.SUNDAY = "Day.Sunday", r.SUNDAY_SHORT = "Day.SundayShort", r))(le || {}), fe = /* @__PURE__ */ ((r) => (r.JANUARY = "Month.January", r.FEBRUARY = "Month.February", r.MARCH = "Month.March", r.APRIL = "Month.April", r.MAY = "Month.May", r.JUNE = "Month.June", r.JULY = "Month.July", r.AUGUST = "Month.August", r.SEPTEMBER = "Month.September", r.OCTOBER = "Month.October", r.NOVEMBER = "Month.November", r.DECEMBER = "Month.December", r))(fe || {}), wt = /* @__PURE__ */ ((r) => (r.PREVIOUS_DAY = "Date.PreviousDay", r.PREVIOUS_WEEK = "Date.PreviousWeek", r.PREVIOUS_MONTH = "Date.PreviousMonth", r.PREVIOUS_YEAR = "Date.PreviousYear", r.NEXT_DAY = "Date.NextDay", r.NEXT_WEEK = "Date.NextWeek", r.NEXT_MONTH = "Date.NextMonth", r.NEXT_YEAR = "Date.NextYear", r.YESTERDAY = "Date.Yesterday", r.TODAY = "Date.Today", r.TOMORROW = "Date.Tomorrow", r))(wt || {});
3849
- const es = {
3854
+ const ts = {
3850
3855
  "smp-datepickercalendar-position": "_smp-datepickercalendar-position_19hwj_1"
3851
3856
  };
3852
- function ts({
3857
+ function rs({
3853
3858
  selectedDate: r,
3854
3859
  onDateChange: e,
3855
3860
  disabledDateRanges: t = [],
@@ -3915,7 +3920,7 @@ function ts({
3915
3920
  return D >= x && D <= T;
3916
3921
  }), v = (k) => {
3917
3922
  S(k) || (c(k), y(k.getDate()), e && e(Gr(k)));
3918
- }, P = () => {
3923
+ }, C = () => {
3919
3924
  f === 0 ? (l(11), d(p - 1)) : l(f - 1), y(1);
3920
3925
  }, _ = () => {
3921
3926
  f === 11 ? (l(0), d(p + 1)) : l(f + 1), y(1);
@@ -3933,15 +3938,15 @@ function ts({
3933
3938
  case "ArrowRight":
3934
3939
  k.preventDefault();
3935
3940
  {
3936
- let R = D + 1, C = new Date(p, f, R);
3941
+ let R = D + 1, P = new Date(p, f, R);
3937
3942
  if (R > T) {
3938
3943
  const F = f === 11 ? p + 1 : p, V = f === 11 ? 0 : f + 1;
3939
- R = 1, C = new Date(F, V, R), _(), setTimeout(() => {
3944
+ R = 1, P = new Date(F, V, R), _(), setTimeout(() => {
3940
3945
  M(1, "forward");
3941
3946
  }, 0);
3942
3947
  return;
3943
3948
  }
3944
- S(C) ? M(R, "forward") : I(R);
3949
+ S(P) ? M(R, "forward") : I(R);
3945
3950
  }
3946
3951
  break;
3947
3952
  case "Tab":
@@ -3949,43 +3954,43 @@ function ts({
3949
3954
  case "ArrowLeft":
3950
3955
  k.preventDefault();
3951
3956
  {
3952
- let R = D - 1, C = new Date(p, f, R);
3957
+ let R = D - 1, P = new Date(p, f, R);
3953
3958
  if (R < 1) {
3954
3959
  const F = f === 0 ? p - 1 : p, V = f === 0 ? 11 : f - 1, N = $(F, V);
3955
- R = N, C = new Date(F, V, R), P(), setTimeout(() => {
3960
+ R = N, P = new Date(F, V, R), C(), setTimeout(() => {
3956
3961
  M(N, "backward");
3957
3962
  }, 0);
3958
3963
  return;
3959
3964
  }
3960
- S(C) ? M(R, "backward") : I(R);
3965
+ S(P) ? M(R, "backward") : I(R);
3961
3966
  }
3962
3967
  break;
3963
3968
  case "ArrowUp":
3964
3969
  k.preventDefault();
3965
3970
  {
3966
- let R = D - 7, C = new Date(p, f, R);
3971
+ let R = D - 7, P = new Date(p, f, R);
3967
3972
  if (R < 1) {
3968
3973
  const F = f === 0 ? p - 1 : p, V = f === 0 ? 11 : f - 1;
3969
- R = $(F, V) + R, C = new Date(F, V, R), P(), setTimeout(() => {
3974
+ R = $(F, V) + R, P = new Date(F, V, R), C(), setTimeout(() => {
3970
3975
  M(R, "backward");
3971
3976
  }, 0);
3972
3977
  return;
3973
3978
  }
3974
- S(C) ? M(R, "backward") : I(R);
3979
+ S(P) ? M(R, "backward") : I(R);
3975
3980
  }
3976
3981
  break;
3977
3982
  case "ArrowDown":
3978
3983
  k.preventDefault();
3979
3984
  {
3980
- let R = D + 7, C = new Date(p, f, R);
3985
+ let R = D + 7, P = new Date(p, f, R);
3981
3986
  if (R > T) {
3982
3987
  const F = f === 11 ? p + 1 : p, V = f === 11 ? 0 : f + 1;
3983
- R = R - T, C = new Date(F, V, R), _(), setTimeout(() => {
3988
+ R = R - T, P = new Date(F, V, R), _(), setTimeout(() => {
3984
3989
  M(R, "forward");
3985
3990
  }, 0);
3986
3991
  return;
3987
3992
  }
3988
- S(C) ? M(R, "forward") : I(R);
3993
+ S(P) ? M(R, "forward") : I(R);
3989
3994
  }
3990
3995
  break;
3991
3996
  case "Home":
@@ -3995,12 +4000,12 @@ function ts({
3995
4000
  k.preventDefault(), M(T, "backward");
3996
4001
  break;
3997
4002
  case "PageUp":
3998
- k.preventDefault(), P(), setTimeout(() => {
4003
+ k.preventDefault(), C(), setTimeout(() => {
3999
4004
  const R = $(
4000
4005
  f === 0 ? p - 1 : p,
4001
4006
  f === 0 ? 11 : f - 1
4002
- ), C = Math.min(D, R);
4003
- M(C, "forward");
4007
+ ), P = Math.min(D, R);
4008
+ M(P, "forward");
4004
4009
  }, 0);
4005
4010
  break;
4006
4011
  case "PageDown":
@@ -4008,8 +4013,8 @@ function ts({
4008
4013
  const R = $(
4009
4014
  f === 11 ? p + 1 : p,
4010
4015
  f === 11 ? 0 : f + 1
4011
- ), C = Math.min(D, R);
4012
- M(C, "forward");
4016
+ ), P = Math.min(D, R);
4017
+ M(P, "forward");
4013
4018
  }, 0);
4014
4019
  break;
4015
4020
  case " ":
@@ -4035,15 +4040,15 @@ function ts({
4035
4040
  M(1, "forward");
4036
4041
  }, 0);
4037
4042
  } else {
4038
- for (let C = k; C >= 1; C--) {
4039
- const F = new Date(p, f, C);
4043
+ for (let P = k; P >= 1; P--) {
4044
+ const F = new Date(p, f, P);
4040
4045
  if (!S(F)) {
4041
- I(C);
4046
+ I(P);
4042
4047
  return;
4043
4048
  }
4044
4049
  }
4045
4050
  const T = f === 0 ? p - 1 : p, D = f === 0 ? 11 : f - 1, R = $(T, D);
4046
- P(), setTimeout(() => {
4051
+ C(), setTimeout(() => {
4047
4052
  M(R, "backward");
4048
4053
  }, 0);
4049
4054
  }
@@ -4075,7 +4080,7 @@ function ts({
4075
4080
  }, [f, p, m, G]);
4076
4081
  const K = {
4077
4082
  label: "smp-datepickercalendar-label",
4078
- wrapper: `smp-datepickercalendar ${es["smp-datepickercalendar-position"]}`,
4083
+ wrapper: `smp-datepickercalendar ${ts["smp-datepickercalendar-position"]}`,
4079
4084
  calendar: "smp-datepickercalendar",
4080
4085
  table: "smp-datepickercalendar-table",
4081
4086
  th: "smp-datepickercalendar-th",
@@ -4108,7 +4113,7 @@ function ts({
4108
4113
  /* @__PURE__ */ g.jsx(
4109
4114
  _e,
4110
4115
  {
4111
- onClick: P,
4116
+ onClick: C,
4112
4117
  ariaLabel: a(wt.PREVIOUS_MONTH),
4113
4118
  optionalDisplayValue: "<",
4114
4119
  appearance: "ghost",
@@ -4171,24 +4176,24 @@ function ts({
4171
4176
  },
4172
4177
  `empty-${T}`
4173
4178
  );
4174
- const R = x.getDate() === o.getDate() && x.getMonth() === o.getMonth() && x.getFullYear() === o.getFullYear(), C = u && x.getDate() === u.getDate() && x.getMonth() === u.getMonth() && x.getFullYear() === u.getFullYear(), F = m === x.getDate(), V = S(x);
4179
+ const R = x.getDate() === o.getDate() && x.getMonth() === o.getMonth() && x.getFullYear() === o.getFullYear(), P = u && x.getDate() === u.getDate() && x.getMonth() === u.getMonth() && x.getFullYear() === u.getFullYear(), F = m === x.getDate(), V = S(x);
4175
4180
  return /* @__PURE__ */ g.jsx(
4176
4181
  "td",
4177
4182
  {
4178
4183
  role: "gridcell",
4179
- "aria-selected": C,
4184
+ "aria-selected": P,
4180
4185
  tabIndex: F ? 0 : -1,
4181
4186
  onClick: () => v(x),
4182
4187
  onKeyDown: (N) => j(N, D),
4183
4188
  "aria-label": `${x.getDate()} ${E[x.getMonth()]} ${x.getFullYear()}`,
4184
- "data-selected": C,
4189
+ "data-selected": P,
4185
4190
  "aria-disabled": V,
4186
4191
  ref: (N) => {
4187
4192
  w.current[D] = N;
4188
4193
  },
4189
4194
  className: K.td(
4190
4195
  R,
4191
- C,
4196
+ P,
4192
4197
  F,
4193
4198
  V
4194
4199
  ),
@@ -4204,7 +4209,7 @@ function ts({
4204
4209
  }
4205
4210
  );
4206
4211
  }
4207
- const rs = ({
4212
+ const ns = ({
4208
4213
  bindValue: r,
4209
4214
  placeholder: e,
4210
4215
  onChange: t,
@@ -4216,9 +4221,9 @@ const rs = ({
4216
4221
  position: "bottom",
4217
4222
  enabled: i
4218
4223
  });
4219
- tt(d, () => {
4224
+ rt(d, () => {
4220
4225
  o(!1);
4221
- }), tt(p, () => {
4226
+ }), rt(p, () => {
4222
4227
  if (
4223
4228
  // FIXME: Copied from useClickOutside.
4224
4229
  typeof p == "object" && p !== null && "current" in p
@@ -4254,7 +4259,7 @@ const rs = ({
4254
4259
  t && t(A && $ || _);
4255
4260
  }, v = (_) => {
4256
4261
  l(_);
4257
- }, P = (_) => {
4262
+ }, C = (_) => {
4258
4263
  _.key === "Enter" && (_.preventDefault(), S(f));
4259
4264
  };
4260
4265
  return /* @__PURE__ */ g.jsxs("div", { "data-component": "date-picker", children: [
@@ -4265,7 +4270,7 @@ const rs = ({
4265
4270
  placeholder: e,
4266
4271
  onBlur: E,
4267
4272
  onChange: v,
4268
- onKeyDown: P,
4273
+ onKeyDown: C,
4269
4274
  shapeIcon: "calendar",
4270
4275
  onShapeIconClick: w,
4271
4276
  ref: p,
@@ -4274,7 +4279,7 @@ const rs = ({
4274
4279
  }
4275
4280
  ),
4276
4281
  i && /* @__PURE__ */ g.jsx(Rt, { children: /* @__PURE__ */ g.jsx(
4277
- ts,
4282
+ rs,
4278
4283
  {
4279
4284
  disabledDateRanges: n,
4280
4285
  onDateChange: O,
@@ -4283,7 +4288,7 @@ const rs = ({
4283
4288
  }
4284
4289
  ) })
4285
4290
  ] });
4286
- }, ns = ({
4291
+ }, ss = ({
4287
4292
  elements: r,
4288
4293
  displayMode: e,
4289
4294
  minimumChars: t,
@@ -4349,12 +4354,12 @@ const rs = ({
4349
4354
  ]
4350
4355
  }
4351
4356
  );
4352
- }, ze = {
4357
+ }, Je = {
4353
4358
  "smp-radio": "_smp-radio_1vo2u_1",
4354
4359
  "smp-radio-horizontal": "_smp-radio-horizontal_1vo2u_10",
4355
4360
  "smp-radio-element": "_smp-radio-element_1vo2u_14",
4356
4361
  "smp-radio-disabled": "_smp-radio-disabled_1vo2u_20"
4357
- }, ss = ({
4362
+ }, as = ({
4358
4363
  disabled: r = !1,
4359
4364
  displayMode: e = "DescOnly",
4360
4365
  horizontal: t = !1,
@@ -4373,15 +4378,15 @@ const rs = ({
4373
4378
  });
4374
4379
  }, [o, s, a]);
4375
4380
  const c = {
4376
- container: `${ze["smp-radio"]} ${t ? ze["smp-radio-horizontal"] : ""}`,
4377
- option: `${ze["smp-radio-element"]} ${r ? ze["smp-radio-disabled"] : ""}`
4381
+ container: `${Je["smp-radio"]} ${t ? Je["smp-radio-horizontal"] : ""}`,
4382
+ option: `${Je["smp-radio-element"]} ${r ? Je["smp-radio-disabled"] : ""}`
4378
4383
  }, f = () => {
4379
4384
  var d;
4380
4385
  r || (d = i.onBlur) == null || d.call(i);
4381
4386
  }, l = (d) => {
4382
4387
  var m;
4383
4388
  r || (m = i.onChange) == null || m.call(i, d.target.value);
4384
- }, p = it();
4389
+ }, p = Ve();
4385
4390
  return /* @__PURE__ */ g.jsx("div", { "smp-id": "radio-container", className: c.container, children: o == null ? void 0 : o.map((d, m) => /* @__PURE__ */ g.jsxs("label", { className: c.option, children: [
4386
4391
  /* @__PURE__ */ g.jsx(
4387
4392
  "input",
@@ -4397,7 +4402,7 @@ const rs = ({
4397
4402
  ),
4398
4403
  Ie(d.id, d.label, e)
4399
4404
  ] }, m)) });
4400
- }, as = ({ ...r }) => {
4405
+ }, is = ({ ...r }) => {
4401
4406
  const [e, t] = z(!1), n = e ? "visibility-off" : "visibility";
4402
4407
  return /* @__PURE__ */ g.jsx(
4403
4408
  Ce,
@@ -4410,7 +4415,7 @@ const rs = ({
4410
4415
  "data-component": "password"
4411
4416
  }
4412
4417
  );
4413
- }, is = ({ ...r }) => {
4418
+ }, os = ({ ...r }) => {
4414
4419
  const [e, t] = z(r.bindValue), { translate: n } = lt(), s = (a) => {
4415
4420
  var i;
4416
4421
  a.key === "Enter" && (a.preventDefault(), (i = r.onEnter) == null || i.call(r, e));
@@ -4429,7 +4434,7 @@ const rs = ({
4429
4434
  _dataComponent: "search-bar"
4430
4435
  }
4431
4436
  );
4432
- }, os = ({
4437
+ }, ls = ({
4433
4438
  bindValue: r,
4434
4439
  optionalDisplayValue: e,
4435
4440
  label: t
@@ -4479,7 +4484,7 @@ class Te {
4479
4484
  return this.value.join(";");
4480
4485
  }
4481
4486
  }
4482
- const Je = (r, e, t) => ({
4487
+ const Xe = (r, e, t) => ({
4483
4488
  obj: {
4484
4489
  t: r.obj.t,
4485
4490
  p: r.obj.p,
@@ -4494,7 +4499,7 @@ const Je = (r, e, t) => ({
4494
4499
  bindValue: n,
4495
4500
  optionalDisplayValue: t.length >= s ? t[s] : ""
4496
4501
  }));
4497
- }, ls = (r, e) => {
4502
+ }, cs = (r, e) => {
4498
4503
  const t = new Te(
4499
4504
  r.obj,
4500
4505
  e.map((s) => s.bindValue)
@@ -4502,8 +4507,8 @@ const Je = (r, e, t) => ({
4502
4507
  r.obj,
4503
4508
  e.map((s) => s.optionalDisplayValue ? s.optionalDisplayValue : "")
4504
4509
  ).getLegacyValue();
4505
- return Je(r, t, n);
4506
- }, cs = ({
4510
+ return Xe(r, t, n);
4511
+ }, us = ({
4507
4512
  disabled: r,
4508
4513
  bindValue: e,
4509
4514
  onChange: t,
@@ -4518,7 +4523,7 @@ const Je = (r, e, t) => ({
4518
4523
  onBlur: l,
4519
4524
  onKeyDown: p
4520
4525
  }) => {
4521
- const d = it(), m = `${d}-helper`, y = f ? "danger" : s, b = c || !!f, w = (O) => {
4526
+ const d = Ve(), m = `${d}-helper`, y = f ? "danger" : s, b = c || !!f, w = (O) => {
4522
4527
  t == null || t(O.target.value);
4523
4528
  }, E = {
4524
4529
  wrapper: "smp-textarea-wrapper",
@@ -4584,15 +4589,15 @@ const Je = (r, e, t) => ({
4584
4589
  label: o,
4585
4590
  isEditable: m,
4586
4591
  ...n
4587
- }, w = (S, v, P) => Yr(t) ? Je(S, new et(t, v).getLegacyValue()) : Je(S, v, P), E = (S) => Je(y, new Qe(t, S).getLegacyValue()), O = (S) => ls(y, S);
4592
+ }, w = (S, v, C) => Yr(t) ? Xe(S, new tt(t, v).getLegacyValue()) : Xe(S, v, C), E = (S) => Xe(y, new et(t, S).getLegacyValue()), O = (S) => cs(y, S);
4588
4593
  switch (e) {
4589
4594
  case re.AUTOCOMPLETE: {
4590
4595
  const S = {
4591
4596
  ...b,
4592
4597
  bindValue: t.k,
4593
4598
  optionalDisplayValue: r,
4594
- onChange: (v, P) => {
4595
- c == null || c(w(y, v, P));
4599
+ onChange: (v, C) => {
4600
+ c == null || c(w(y, v, C));
4596
4601
  }
4597
4602
  };
4598
4603
  return /* @__PURE__ */ g.jsx(jr, { ...S });
@@ -4612,8 +4617,8 @@ const Je = (r, e, t) => ({
4612
4617
  const S = {
4613
4618
  ...b,
4614
4619
  options: u,
4615
- onClick: (v, P) => {
4616
- const _ = { ...y, fun: P };
4620
+ onClick: (v, C) => {
4621
+ const _ = { ...y, fun: C };
4617
4622
  f == null || f(w(_, v));
4618
4623
  }
4619
4624
  };
@@ -4624,11 +4629,11 @@ const Je = (r, e, t) => ({
4624
4629
  ...b,
4625
4630
  bindValue: t.k,
4626
4631
  optionalDisplayValue: r,
4627
- onChange: (v, P) => {
4628
- c == null || c(w(y, v, P));
4632
+ onChange: (v, C) => {
4633
+ c == null || c(w(y, v, C));
4629
4634
  }
4630
4635
  };
4631
- return /* @__PURE__ */ g.jsx(bn, { ...S });
4636
+ return /* @__PURE__ */ g.jsx(Sn, { ...S });
4632
4637
  }
4633
4638
  case re.RADIO: {
4634
4639
  const S = {
@@ -4638,19 +4643,20 @@ const Je = (r, e, t) => ({
4638
4643
  c == null || c(w(y, v));
4639
4644
  }
4640
4645
  };
4641
- return /* @__PURE__ */ g.jsx(ss, { ...S });
4646
+ return /* @__PURE__ */ g.jsx(as, { ...S });
4642
4647
  }
4643
4648
  case re.SWITCH:
4644
4649
  case re.CHECKBOX: {
4645
- const S = {
4650
+ const S = e === re.SWITCH, v = {
4646
4651
  ...b,
4647
- bindValue: Qe.fromDataObj(t).getValue(),
4652
+ bindValue: et.fromDataObj(t).getValue(),
4648
4653
  optionalDisplayValue: r,
4649
- onChange: (v) => {
4650
- c == null || c(E(v));
4651
- }
4654
+ onChange: (C) => {
4655
+ c == null || c(E(C));
4656
+ },
4657
+ ...S && { variant: "switch" }
4652
4658
  };
4653
- return /* @__PURE__ */ g.jsx(vn, { ...S });
4659
+ return /* @__PURE__ */ g.jsx(xn, { ...v });
4654
4660
  }
4655
4661
  case re.CHIP: {
4656
4662
  const S = {
@@ -4662,12 +4668,12 @@ const Je = (r, e, t) => ({
4662
4668
  case re.DATE: {
4663
4669
  const S = {
4664
4670
  ...b,
4665
- bindValue: et.fromDataObj(t).getValue(),
4671
+ bindValue: tt.fromDataObj(t).getValue(),
4666
4672
  onChange: (v) => {
4667
4673
  c == null || c(w(y, v));
4668
4674
  }
4669
4675
  };
4670
- return /* @__PURE__ */ g.jsx(rs, { ...S });
4676
+ return /* @__PURE__ */ g.jsx(ns, { ...S });
4671
4677
  }
4672
4678
  case re.ICON:
4673
4679
  case re.IMAGE: {
@@ -4690,7 +4696,7 @@ const Je = (r, e, t) => ({
4690
4696
  c == null || c(O(v));
4691
4697
  }
4692
4698
  };
4693
- return /* @__PURE__ */ g.jsx(ns, { ...S });
4699
+ return /* @__PURE__ */ g.jsx(ss, { ...S });
4694
4700
  }
4695
4701
  case re.MEMO: {
4696
4702
  const S = {
@@ -4701,7 +4707,7 @@ const Je = (r, e, t) => ({
4701
4707
  c == null || c(w(y, v));
4702
4708
  }
4703
4709
  };
4704
- return /* @__PURE__ */ g.jsx(cs, { ...S });
4710
+ return /* @__PURE__ */ g.jsx(us, { ...S });
4705
4711
  }
4706
4712
  case re.PASSWORD: {
4707
4713
  const S = {
@@ -4711,7 +4717,7 @@ const Je = (r, e, t) => ({
4711
4717
  c == null || c(w(y, v));
4712
4718
  }
4713
4719
  };
4714
- return /* @__PURE__ */ g.jsx(as, { ...S });
4720
+ return /* @__PURE__ */ g.jsx(is, { ...S });
4715
4721
  }
4716
4722
  case re.SPOTLIGHT: {
4717
4723
  const S = {
@@ -4721,7 +4727,7 @@ const Je = (r, e, t) => ({
4721
4727
  l == null || l(w(y, v));
4722
4728
  }
4723
4729
  };
4724
- return /* @__PURE__ */ g.jsx(is, { ...S });
4730
+ return /* @__PURE__ */ g.jsx(os, { ...S });
4725
4731
  }
4726
4732
  case re.TEXT_FIELD: {
4727
4733
  const S = {
@@ -4740,10 +4746,10 @@ const Je = (r, e, t) => ({
4740
4746
  bindValue: t.k,
4741
4747
  optionalDisplayValue: r
4742
4748
  };
4743
- return /* @__PURE__ */ g.jsx(os, { ...S });
4749
+ return /* @__PURE__ */ g.jsx(ls, { ...S });
4744
4750
  }
4745
4751
  }
4746
- }, us = (r, e) => {
4752
+ }, fs = (r, e) => {
4747
4753
  const t = [];
4748
4754
  for (let n = 0; n < r.length; n += e)
4749
4755
  t.push(r.slice(n, n + e));
@@ -4757,7 +4763,7 @@ const Je = (r, e, t) => ({
4757
4763
  content: t.content
4758
4764
  };
4759
4765
  let n = t.sections, s = t.content;
4760
- return (i = t.content) != null && i.length && t.columns && +t.columns > 1 && (n = us(
4766
+ return (i = t.content) != null && i.length && t.columns && +t.columns > 1 && (n = fs(
4761
4767
  t.content.filter((u) => !!e[u.id]),
4762
4768
  +t.columns
4763
4769
  ).map(
@@ -4875,7 +4881,7 @@ const Je = (r, e, t) => ({
4875
4881
  ) : /* @__PURE__ */ g.jsx(g.Fragment, {});
4876
4882
  };
4877
4883
  return /* @__PURE__ */ g.jsx("div", { className: o.container, style: u, "smp-id": "layout", children: s == null ? void 0 : s.map((l) => c(l)) });
4878
- }, Ls = ({ data: r, onClick: e, onEnter: t }) => {
4884
+ }, ks = ({ data: r, onClick: e, onEnter: t }) => {
4879
4885
  var i, o;
4880
4886
  const [n, s] = z(), a = ve(
4881
4887
  (u) => {
@@ -4918,7 +4924,7 @@ const Je = (r, e, t) => ({
4918
4924
  return ae(() => {
4919
4925
  r && s(a(r));
4920
4926
  }, [r, a]), !((i = r == null ? void 0 : r.rows) != null && i.length) || !((o = r.columns) != null && o.length) ? null : n && /* @__PURE__ */ g.jsx("header", { className: "smp-appbar", "aria-label": "App Bar", children: /* @__PURE__ */ g.jsx($t, { layout: r.rows[0].layout, cells: n }) });
4921
- }, fs = (r) => {
4927
+ }, ds = (r) => {
4922
4928
  var e;
4923
4929
  return (e = r.children) != null && e.length ? r.children.map((t) => {
4924
4930
  var n, s;
@@ -4929,7 +4935,7 @@ const Je = (r, e, t) => ({
4929
4935
  icon: t.icon
4930
4936
  };
4931
4937
  }) : [];
4932
- }, ue = (r) => r == null ? !1 : typeof r == "string" ? r.toLocaleLowerCase() == "yes" : r, ks = ({
4938
+ }, ue = (r) => r == null ? !1 : typeof r == "string" ? r.toLocaleLowerCase() == "yes" : r, Is = ({
4933
4939
  data: r,
4934
4940
  logo: e,
4935
4941
  open: t,
@@ -4946,9 +4952,9 @@ const Je = (r, e, t) => ({
4946
4952
  var _, $;
4947
4953
  if (!((_ = v == null ? void 0 : v.rows) != null && _.length) || !(($ = v == null ? void 0 : v.columns) != null && $.length))
4948
4954
  return {};
4949
- const P = v.rows[0];
4955
+ const C = v.rows[0];
4950
4956
  return v.columns.filter((A) => A.visible ?? !0).reduce((A, I) => {
4951
- const j = P.cells[I.name];
4957
+ const j = C.cells[I.name];
4952
4958
  if (!j || !l && ue(n) && j.shape !== re.BUTTON && j.shape !== re.BUTTON_LIST)
4953
4959
  return A;
4954
4960
  const M = {
@@ -4967,7 +4973,7 @@ const Je = (r, e, t) => ({
4967
4973
  }
4968
4974
  };
4969
4975
  return u && j.shape == re.BUTTON_LIST && (M.onOptionsRequest = (U, G) => u(U, G).then(
4970
- (Z) => fs(Z)
4976
+ (Z) => ds(Z)
4971
4977
  )), !l && ue(n) && (M.data = {
4972
4978
  ...M.data,
4973
4979
  showText: !1,
@@ -4996,10 +5002,10 @@ const Je = (r, e, t) => ({
4996
5002
  const v = getComputedStyle(d.current).getPropertyValue(
4997
5003
  "--smp-drawer-slide-transition"
4998
5004
  );
4999
- let P = Number(v);
5000
- v.endsWith("ms") ? P = parseFloat(v) : v.endsWith("s") && (P = parseFloat(v) * 1e3), setTimeout(() => {
5005
+ let C = Number(v);
5006
+ v.endsWith("ms") ? C = parseFloat(v) : v.endsWith("s") && (C = parseFloat(v) * 1e3), setTimeout(() => {
5001
5007
  f(y(r));
5002
- }, P / 2);
5008
+ }, C / 2);
5003
5009
  }, [l, n]), ae(() => {
5004
5010
  t !== void 0 && !ue(n) && p(t);
5005
5011
  }, [n, t]), !((O = r == null ? void 0 : r.rows) != null && O.length) || !((S = r.columns) != null && S.length))
@@ -5060,7 +5066,7 @@ const Je = (r, e, t) => ({
5060
5066
  }
5061
5067
  )
5062
5068
  ] });
5063
- }, Is = ({
5069
+ }, Ns = ({
5064
5070
  ColumnsNumber: r = 1,
5065
5071
  data: e = {},
5066
5072
  ForceText: t,
@@ -5082,7 +5088,7 @@ const Je = (r, e, t) => ({
5082
5088
  SelectLayout: E = "1",
5083
5089
  onClick: O
5084
5090
  }) => {
5085
- const S = "N/A", v = (e == null ? void 0 : e.columns) || [], P = (e == null ? void 0 : e.rows) || [], _ = P.length > 0, $ = "--smp-dashList-color", A = "smp-layout", I = "descr", j = "icon", M = "um", U = "value", G = i || "1em", Z = "18px", q = "--smp-dashList-columns", K = "--smp-dashList-fontSize", W = {
5091
+ const S = "N/A", v = (e == null ? void 0 : e.columns) || [], C = (e == null ? void 0 : e.rows) || [], _ = C.length > 0, $ = "--smp-dashList-color", A = "smp-layout", I = "descr", j = "icon", M = "um", U = "value", G = i || "1em", Z = "18px", q = "--smp-dashList-columns", K = "--smp-dashList-fontSize", W = {
5086
5092
  dash: (Y = "1") => {
5087
5093
  const X = h(Y), te = X, ne = x(X, I), de = x(X, j), be = x(X, M), he = x(X, U);
5088
5094
  return {
@@ -5105,13 +5111,13 @@ const Je = (r, e, t) => ({
5105
5111
  return Y;
5106
5112
  }, R = (Y) => {
5107
5113
  if (!l) return Y;
5108
- const [X, te] = C(l).map(
5114
+ const [X, te] = P(l).map(
5109
5115
  (Oe) => parseInt(Oe || "0")
5110
5116
  ), ne = "0,0" + (te ? "." + "0".repeat(te) : ""), de = k(Y, ne, "it");
5111
5117
  if (!X) return de;
5112
5118
  const [be, he] = de.split(",");
5113
5119
  return be + (he ? `,${he}` : "");
5114
- }, C = (Y) => Y.includes(";") ? Y.split(";") : [Y], F = (Y) => {
5120
+ }, P = (Y) => Y.includes(";") ? Y.split(";") : [Y], F = (Y) => {
5115
5121
  const X = (ne) => {
5116
5122
  var de;
5117
5123
  if (ne)
@@ -5183,26 +5189,26 @@ const Je = (r, e, t) => ({
5183
5189
  [q]: String(r),
5184
5190
  [K]: G
5185
5191
  };
5186
- return /* @__PURE__ */ g.jsx("div", { className: W.dashList, style: L, children: _ ? P.map((Y) => se(Y)) : S });
5187
- }, Xe = {
5192
+ return /* @__PURE__ */ g.jsx("div", { className: W.dashList, style: L, children: _ ? C.map((Y) => se(Y)) : S });
5193
+ }, Ze = {
5188
5194
  "smp-table": "_smp-table_1qmju_1",
5189
5195
  "smp-headerCell": "_smp-headerCell_1qmju_35",
5190
5196
  "smp-resizer": "_smp-resizer_1qmju_44"
5191
- }, ds = "_rowContent_20wit_2", ps = "_clickable_20wit_21", hs = "_indent_20wit_26", ms = "_toggle_20wit_32", gs = "_cell_20wit_38", ys = "_leftSection_20wit_46", Ee = {
5192
- rowContent: ds,
5193
- clickable: ps,
5194
- indent: hs,
5195
- toggle: ms,
5196
- cell: gs,
5197
- leftSection: ys
5197
+ }, ps = "_rowContent_20wit_2", hs = "_clickable_20wit_21", ms = "_indent_20wit_26", gs = "_toggle_20wit_32", ys = "_cell_20wit_38", vs = "_leftSection_20wit_46", Ee = {
5198
+ rowContent: ps,
5199
+ clickable: hs,
5200
+ indent: ms,
5201
+ toggle: gs,
5202
+ cell: ys,
5203
+ leftSection: vs
5198
5204
  };
5199
- function Ze(r) {
5205
+ function Qe(r) {
5200
5206
  return !!r && "children" in r;
5201
5207
  }
5202
- function vs(r) {
5203
- return !Ze(r);
5204
- }
5205
5208
  function xs(r) {
5209
+ return !Qe(r);
5210
+ }
5211
+ function bs(r) {
5206
5212
  const e = JSON.stringify(r, Object.keys(r).sort());
5207
5213
  let t = 0, n, s;
5208
5214
  if (e.length === 0) return t.toString();
@@ -5218,7 +5224,7 @@ const Pr = ({
5218
5224
  offsetTop: s
5219
5225
  }) => {
5220
5226
  var E;
5221
- const [a, i] = z(!1), o = Ze(r) && !!((E = r.children) != null && E.length), u = r.cells && Object.keys(r.cells).length > 0, c = o, f = t * 20, l = () => {
5227
+ const [a, i] = z(!1), o = Qe(r) && !!((E = r.children) != null && E.length), u = r.cells && Object.keys(r.cells).length > 0, c = o, f = t * 20, l = () => {
5222
5228
  o && i(!a);
5223
5229
  }, p = {
5224
5230
  content: `${Ee.rowContent} ${o ? Ee.clickable : ""}`,
@@ -5239,7 +5245,7 @@ const Pr = ({
5239
5245
  "aria-hidden": "true"
5240
5246
  }
5241
5247
  ), b = () => {
5242
- const O = vs(r) ? "" : r.decode || (u ? "" : "Untitled"), S = s ?? n * t;
5248
+ const O = xs(r) ? "" : r.decode || (u ? "" : "Untitled"), S = s ?? n * t;
5243
5249
  return /* @__PURE__ */ g.jsxs(
5244
5250
  "tr",
5245
5251
  {
@@ -5253,7 +5259,7 @@ const Pr = ({
5253
5259
  transform: `translateY(${S}px)`
5254
5260
  },
5255
5261
  children: [
5256
- Ze(r) && /* @__PURE__ */ g.jsxs(
5262
+ Qe(r) && /* @__PURE__ */ g.jsxs(
5257
5263
  "td",
5258
5264
  {
5259
5265
  className: Ee.leftSection,
@@ -5267,7 +5273,7 @@ const Pr = ({
5267
5273
  ]
5268
5274
  }
5269
5275
  ),
5270
- r.cells && Object.keys(r.cells).length > 0 && Object.entries(r.cells).map(([v, P]) => /* @__PURE__ */ g.jsx(
5276
+ r.cells && Object.keys(r.cells).length > 0 && Object.entries(r.cells).map(([v, C]) => /* @__PURE__ */ g.jsx(
5271
5277
  "td",
5272
5278
  {
5273
5279
  className: p.cell,
@@ -5276,22 +5282,22 @@ const Pr = ({
5276
5282
  minWidth: e[v],
5277
5283
  height: `${n}px`
5278
5284
  },
5279
- children: d(P)
5285
+ children: d(C)
5280
5286
  },
5281
- xs(P) || v
5287
+ bs(C) || v
5282
5288
  ))
5283
5289
  ]
5284
5290
  }
5285
5291
  );
5286
5292
  }, w = () => {
5287
5293
  var O;
5288
- return a || !o ? null : /* @__PURE__ */ g.jsx(g.Fragment, { children: Ze(r) && ((O = r.children) == null ? void 0 : O.map((S, v) => /* @__PURE__ */ g.jsx(Pr, { row: S, level: t + 1 }, `child-${v}`))) });
5294
+ return a || !o ? null : /* @__PURE__ */ g.jsx(g.Fragment, { children: Qe(r) && ((O = r.children) == null ? void 0 : O.map((S, v) => /* @__PURE__ */ g.jsx(Pr, { row: S, level: t + 1 }, `child-${v}`))) });
5289
5295
  };
5290
5296
  return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
5291
5297
  b(),
5292
5298
  w()
5293
5299
  ] });
5294
- }, bs = ({
5300
+ }, Ss = ({
5295
5301
  label: r,
5296
5302
  rowHeight: e = 28,
5297
5303
  offsetTop: t = 0,
@@ -5335,11 +5341,11 @@ const Pr = ({
5335
5341
  }
5336
5342
  );
5337
5343
  };
5338
- function Ss(r, e) {
5344
+ function ws(r, e) {
5339
5345
  const t = new Set(r);
5340
5346
  return t.has(e) ? t.delete(e) : t.add(e), t;
5341
5347
  }
5342
- function ws(r, e) {
5348
+ function Es(r, e) {
5343
5349
  return r.map((t) => {
5344
5350
  const n = e.find((s) => s.column === t.bindValue);
5345
5351
  return {
@@ -5348,7 +5354,7 @@ function ws(r, e) {
5348
5354
  };
5349
5355
  });
5350
5356
  }
5351
- function Es(r, e, t, n) {
5357
+ function Ts(r, e, t, n) {
5352
5358
  const s = [];
5353
5359
  let a = 0;
5354
5360
  return i(r, 0, []), { flatRows: s, offset: a };
@@ -5390,7 +5396,7 @@ function Es(r, e, t, n) {
5390
5396
  s.push(p), a += t;
5391
5397
  }
5392
5398
  }
5393
- const Ts = ({
5399
+ const Os = ({
5394
5400
  groups: r = [],
5395
5401
  isDraggable: e = !0,
5396
5402
  isEditable: t = !0,
@@ -5424,11 +5430,11 @@ const Ts = ({
5424
5430
  ]
5425
5431
  }
5426
5432
  );
5427
- }, Os = ({ columns: r, columnWidths: e }) => /* @__PURE__ */ g.jsx("tfoot", { children: /* @__PURE__ */ g.jsx("tr", { children: r.map(
5433
+ }, Rs = ({ columns: r, columnWidths: e }) => /* @__PURE__ */ g.jsx("tfoot", { children: /* @__PURE__ */ g.jsx("tr", { children: r.map(
5428
5434
  (t) => t.visible && /* @__PURE__ */ g.jsx(
5429
5435
  "td",
5430
5436
  {
5431
- className: Xe["smp-headerCell"],
5437
+ className: Ze["smp-headerCell"],
5432
5438
  style: {
5433
5439
  width: e[t.name],
5434
5440
  minWidth: e[t.name],
@@ -5437,7 +5443,7 @@ const Ts = ({
5437
5443
  },
5438
5444
  t.name
5439
5445
  )
5440
- ) }) }), Rs = ({
5446
+ ) }) }), js = ({
5441
5447
  columns: r,
5442
5448
  rows: e,
5443
5449
  containerRef: t,
@@ -5474,7 +5480,7 @@ const Ts = ({
5474
5480
  }
5475
5481
  }
5476
5482
  }, [r, e, t, n]), [s, a];
5477
- }, Ns = ({
5483
+ }, Ms = ({
5478
5484
  data: r,
5479
5485
  lineHeight: e = 28,
5480
5486
  TableHeight: t = 400,
@@ -5486,7 +5492,7 @@ const Ts = ({
5486
5492
  var _;
5487
5493
  const [i, o] = z(
5488
5494
  r ?? { columns: [], rows: [] }
5489
- ), [u, c] = z(n || []), [f, l] = z(/* @__PURE__ */ new Set()), p = xe(null), [d, m] = Rs({
5495
+ ), [u, c] = z(n || []), [f, l] = z(/* @__PURE__ */ new Set()), p = xe(null), [d, m] = js({
5490
5496
  columns: (i == null ? void 0 : i.columns) ?? [],
5491
5497
  rows: (i == null ? void 0 : i.rows) ?? [],
5492
5498
  containerRef: p,
@@ -5494,7 +5500,7 @@ const Ts = ({
5494
5500
  });
5495
5501
  ae(() => {
5496
5502
  if (u != null && u.length && r.rows) {
5497
- const { flatRows: $ } = Es(
5503
+ const { flatRows: $ } = Ts(
5498
5504
  r.rows,
5499
5505
  u,
5500
5506
  e,
@@ -5505,7 +5511,7 @@ const Ts = ({
5505
5511
  o(r);
5506
5512
  }, [r, u, f, e]);
5507
5513
  const y = ($) => {
5508
- c(ws($, u));
5514
+ c(Es($, u));
5509
5515
  }, b = ($) => {
5510
5516
  $.preventDefault();
5511
5517
  const A = $.dataTransfer.getData("text/plain");
@@ -5531,21 +5537,21 @@ const Ts = ({
5531
5537
  window.removeEventListener("mousemove", M), window.removeEventListener("mouseup", U);
5532
5538
  };
5533
5539
  window.addEventListener("mousemove", M), window.addEventListener("mouseup", U);
5534
- }, P = {
5535
- smpTable: `${Xe["smp-table"]}`,
5536
- headerCell: `${Xe["smp-headerCell"]}`,
5537
- resizer: `${Xe["smp-resizer"]}`
5540
+ }, C = {
5541
+ smpTable: `${Ze["smp-table"]}`,
5542
+ headerCell: `${Ze["smp-headerCell"]}`,
5543
+ resizer: `${Ze["smp-resizer"]}`
5538
5544
  };
5539
5545
  return i && /* @__PURE__ */ g.jsx(
5540
5546
  "div",
5541
5547
  {
5542
- className: P.smpTable,
5548
+ className: C.smpTable,
5543
5549
  ...O,
5544
5550
  ref: p,
5545
5551
  children: /* @__PURE__ */ g.jsxs("table", { children: [
5546
5552
  /* @__PURE__ */ g.jsxs("thead", { children: [
5547
5553
  (n || a) && /* @__PURE__ */ g.jsx(
5548
- Ts,
5554
+ Os,
5549
5555
  {
5550
5556
  groups: u,
5551
5557
  onChange: y,
@@ -5557,7 +5563,7 @@ const Ts = ({
5557
5563
  ($) => $.visible && /* @__PURE__ */ g.jsxs(
5558
5564
  "th",
5559
5565
  {
5560
- className: P.headerCell,
5566
+ className: C.headerCell,
5561
5567
  draggable: !0,
5562
5568
  onDragStart: (A) => {
5563
5569
  A.dataTransfer.setData("text/plain", $.name);
@@ -5578,7 +5584,7 @@ const Ts = ({
5578
5584
  /* @__PURE__ */ g.jsx(
5579
5585
  "div",
5580
5586
  {
5581
- className: P.resizer,
5587
+ className: C.resizer,
5582
5588
  onMouseDown: (A) => v(A, $.name),
5583
5589
  role: "region"
5584
5590
  }
@@ -5592,7 +5598,7 @@ const Ts = ({
5592
5598
  /* @__PURE__ */ g.jsx("tbody", { ...S, children: E.map(({ item: $, index: A, offsetTop: I }) => {
5593
5599
  const j = $.rowId || $.value || `${$.isGroup ? "group" : "row"}-${A}`;
5594
5600
  return $.isGroup ? /* @__PURE__ */ g.jsx(
5595
- bs,
5601
+ Ss,
5596
5602
  {
5597
5603
  label: $.value || "",
5598
5604
  rowHeight: e,
@@ -5600,7 +5606,7 @@ const Ts = ({
5600
5606
  level: $.level,
5601
5607
  onClick: () => {
5602
5608
  const M = $.rowId;
5603
- M && l((U) => Ss(U, M));
5609
+ M && l((U) => ws(U, M));
5604
5610
  },
5605
5611
  isExpanded: $.isExpanded
5606
5612
  },
@@ -5617,11 +5623,11 @@ const Ts = ({
5617
5623
  `row-${j}`
5618
5624
  );
5619
5625
  }) }),
5620
- /* @__PURE__ */ g.jsx(Os, { columns: i.columns, columnWidths: d })
5626
+ /* @__PURE__ */ g.jsx(Rs, { columns: i.columns, columnWidths: d })
5621
5627
  ] })
5622
5628
  }
5623
5629
  );
5624
- }, Ms = ({
5630
+ }, Fs = ({
5625
5631
  data: r,
5626
5632
  Type: e,
5627
5633
  ShowSubmit: t = !1,
@@ -5682,18 +5688,18 @@ const Ts = ({
5682
5688
  }
5683
5689
  )
5684
5690
  ] });
5685
- }, js = (r) => (r == null ? void 0 : r.type) === "SmeupDataTree", Ds = (r) => (r == null ? void 0 : r.type) === "SmeupDataTable", _s = (r) => js(r) ? r.children ? r.children.map(
5691
+ }, Ds = (r) => (r == null ? void 0 : r.type) === "SmeupDataTree", _s = (r) => (r == null ? void 0 : r.type) === "SmeupDataTable", $s = (r) => Ds(r) ? r.children ? r.children.map(
5686
5692
  (e) => ({
5687
5693
  id: e.obj.k,
5688
5694
  label: e.value ?? ""
5689
5695
  })
5690
- ) : [] : Ds(r) ? r.rows.map((e) => {
5696
+ ) : [] : _s(r) ? r.rows.map((e) => {
5691
5697
  const t = e.cells || e.cells, [n, s] = Object.keys(t);
5692
5698
  return {
5693
5699
  id: t[n].obj.k,
5694
5700
  label: t[s].value || t[s].obj.k
5695
5701
  };
5696
- }) : [], Fs = ({
5702
+ }) : [], Vs = ({
5697
5703
  data: r,
5698
5704
  readOnly: e = !1,
5699
5705
  hiddenSubmitButton: t = !1,
@@ -5732,7 +5738,7 @@ const Ts = ({
5732
5738
  }));
5733
5739
  }
5734
5740
  };
5735
- return w.fun && (w.shape == re.AUTOCOMPLETE || w.shape == re.MULTI_AUTOCOMPLETE || w.shape == re.COMBOBOX || w.shape == re.RADIO) && (w.onOptionsRequest = async (E, O) => _s(
5741
+ return w.fun && (w.shape == re.AUTOCOMPLETE || w.shape == re.MULTI_AUTOCOMPLETE || w.shape == re.COMBOBOX || w.shape == re.RADIO) && (w.onOptionsRequest = async (E, O) => $s(
5736
5742
  await n(E, O, r, b.name)
5737
5743
  )), w.isEditable == null && (w.isEditable = !0), e && (w.isEditable = !1), w.isEditable && w.shape == null && (w.shape = re.TEXT_FIELD), {
5738
5744
  ...y,
@@ -5776,20 +5782,20 @@ const Ts = ({
5776
5782
  );
5777
5783
  };
5778
5784
  export {
5779
- Ls as AppBar,
5785
+ ks as AppBar,
5780
5786
  jr as Autocomplete,
5781
5787
  _e as Button,
5782
5788
  yn as ButtonList,
5783
- vn as Checkbox,
5784
- bn as Combobox,
5785
- Is as DashList,
5786
- Ns as DataTableComponent,
5787
- rs as DatePicker,
5788
- ks as Drawer,
5789
- Ms as Field,
5789
+ xn as Checkbox,
5790
+ Sn as Combobox,
5791
+ Ns as DashList,
5792
+ Ms as DataTableComponent,
5793
+ ns as DatePicker,
5794
+ Is as Drawer,
5795
+ Fs as Field,
5790
5796
  ce as Icon,
5791
- Fs as InputPanel,
5792
- as as Password,
5797
+ Vs as InputPanel,
5798
+ is as Password,
5793
5799
  Ce as Textfield,
5794
- As as configurePaths
5800
+ Ls as configurePaths
5795
5801
  };