@sme.up/ketchup2 2.0.0-SNAPSHOT-20250626154924 → 2.0.0-SNAPSHOT-20250627075216

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.
@@ -57,9 +57,9 @@ function Hr() {
57
57
  switch (h) {
58
58
  case v:
59
59
  return "Fragment";
60
- case E:
61
- return "Profiler";
62
60
  case w:
61
+ return "Profiler";
62
+ case E:
63
63
  return "StrictMode";
64
64
  case y:
65
65
  return "Suspense";
@@ -76,9 +76,9 @@ function Hr() {
76
76
  return "Portal";
77
77
  case O:
78
78
  return (h.displayName || "Context") + ".Provider";
79
- case b:
80
- return (h._context.displayName || "Context") + ".Consumer";
81
79
  case S:
80
+ return (h._context.displayName || "Context") + ".Consumer";
81
+ case b:
82
82
  var x = h.render;
83
83
  return h = h.displayName, h || (h = x.displayName || x.name || "", h = h !== "" ? "ForwardRef(" + h + ")" : "ForwardRef"), h;
84
84
  case k:
@@ -240,7 +240,7 @@ React keys must be passed directly to JSX without using spread:
240
240
  function f(h) {
241
241
  typeof h == "object" && h !== null && h.$$typeof === m && h._store && (h._store.validated = 1);
242
242
  }
243
- var d = at, m = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), E = Symbol.for("react.profiler"), b = Symbol.for("react.consumer"), O = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), T = Symbol.for("react.activity"), D = Symbol.for("react.client.reference"), N = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, P = Object.prototype.hasOwnProperty, A = Array.isArray, V = console.createTask ? console.createTask : function() {
243
+ var d = at, m = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), S = Symbol.for("react.consumer"), O = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), T = Symbol.for("react.activity"), D = Symbol.for("react.client.reference"), N = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, P = Object.prototype.hasOwnProperty, A = Array.isArray, V = console.createTask ? console.createTask : function() {
244
244
  return null;
245
245
  };
246
246
  d = {
@@ -365,19 +365,19 @@ const Re = ({ label: r, disabled: e, htmlFor: t }) => {
365
365
  e.sections ?? [],
366
366
  Object.keys(t)
367
367
  ), i = (d) => d.reduce((m, p) => {
368
- var O, S;
369
- let v = "", w = {}, E = {}, b = "";
370
- return (O = p.sections) != null && O.length ? (v = ge["smp-layout-section-grid"], w = i(p.sections), p.gridCols === void 0 && (b = ge[p.horizontal ? "smp-grid-template-cols" : "smp-grid-template-rows"], (p.horizontal || Vt(p.sections)) && (E = Ft(
368
+ var O, b;
369
+ let v = "", E = {}, w = {}, S = "";
370
+ return (O = p.sections) != null && O.length ? (v = ge["smp-layout-section-grid"], E = i(p.sections), p.gridCols === void 0 && (S = ge[p.horizontal ? "smp-grid-template-cols" : "smp-grid-template-rows"], (p.horizontal || Vt(p.sections)) && (w = Ft(
371
371
  p.sections,
372
372
  p.horizontal ? n : s
373
- )))) : (S = p.content) != null && S.length && (p.gridCols !== void 0 && p.gridCols > 0 ? (v = ge["smp-layout-section-grid"], b = ge["smp-grid-template-cols"], E = {
373
+ )))) : (b = p.content) != null && b.length && (p.gridCols !== void 0 && p.gridCols > 0 ? (v = ge["smp-layout-section-grid"], S = ge["smp-grid-template-cols"], w = {
374
374
  [n]: `repeat(${p.gridCols}, 1fr)`
375
375
  }) : v = ge["smp-layout-section-flex"]), {
376
376
  ...m,
377
- ...w,
377
+ ...E,
378
378
  [p.id]: {
379
- classes: `${v} ${ge[p.horizontal ? "smp-layout-section-horizontal" : "smp-layout-section-vertical"]} ${b} ${p.justify ? `smp-justifyContent-${p.justify}` : ""} ${p.align ? `smp-alignItems-${p.align}` : ""}`,
380
- styles: E
379
+ classes: `${v} ${ge[p.horizontal ? "smp-layout-section-horizontal" : "smp-layout-section-vertical"]} ${S} ${p.justify ? `smp-justifyContent-${p.justify}` : ""} ${p.align ? `smp-alignItems-${p.align}` : ""}`,
380
+ styles: w
381
381
  }
382
382
  };
383
383
  }, {}), o = i(a), c = `${ge["smp-layout"]} ${e.horizontal ? ge["smp-layout-horizontal"] : ge["smp-layout-vertical"]}`, l = e.horizontal || Vt(e.sections || []) ? Ft(
@@ -391,8 +391,8 @@ const Re = ({ label: r, disabled: e, htmlFor: t }) => {
391
391
  "smp-id": `section-${d.id}`,
392
392
  className: o[d.id].classes,
393
393
  style: o[d.id].styles,
394
- children: (p = d.sections) != null && p.length ? d.sections.map((w) => u(w)) : (v = d.content) == null ? void 0 : v.map(
395
- (w) => f(w, d.justify, d.align)
394
+ children: (p = d.sections) != null && p.length ? d.sections.map((E) => u(E)) : (v = d.content) == null ? void 0 : v.map(
395
+ (E) => f(E, d.justify, d.align)
396
396
  )
397
397
  },
398
398
  `section-${d.id}`
@@ -417,15 +417,15 @@ const Re = ({ label: r, disabled: e, htmlFor: t }) => {
417
417
  }, f = (d, m, p) => {
418
418
  const v = t[d.id];
419
419
  if (!v) return null;
420
- const E = {
420
+ const w = {
421
421
  gridColumnStart: (d.colSpan && d.colSpan > 0 ? `span ${d.colSpan}` : d.colStart && d.colStart < 1 ? "1" : void 0) ?? d.colStart,
422
422
  gridColumnEnd: d.colEnd && d.colEnd > 0 ? d.colEnd : void 0
423
- }, b = `${ge["smp-layout-cell-container"]} ${m ? `smp-justifyContent-${m}` : ""} ${p ? `smp-alignItems-${p}` : ""}`;
423
+ }, S = `${ge["smp-layout-cell-container"]} ${m ? `smp-justifyContent-${m}` : ""} ${p ? `smp-alignItems-${p}` : ""}`;
424
424
  return /* @__PURE__ */ g.jsx(
425
425
  "div",
426
426
  {
427
- className: b,
428
- style: E,
427
+ className: S,
428
+ style: w,
429
429
  "smp-id": d.id,
430
430
  children: v
431
431
  },
@@ -621,7 +621,7 @@ function ht({
621
621
  requestAnimationFrame(i);
622
622
  return;
623
623
  }
624
- let v = l + window.scrollY, w = u + window.scrollX;
624
+ let v = l + window.scrollY, E = u + window.scrollX;
625
625
  switch (r) {
626
626
  case "top":
627
627
  v -= m;
@@ -630,14 +630,14 @@ function ht({
630
630
  v += d;
631
631
  break;
632
632
  case "left":
633
- w -= p;
633
+ E -= p;
634
634
  break;
635
635
  case "right":
636
- w += f;
636
+ E += f;
637
637
  break;
638
638
  }
639
639
  requestAnimationFrame(() => {
640
- c.style.transform = `translate(${w}px, ${v}px)`, c.style.opacity = "1";
640
+ c.style.transform = `translate(${E}px, ${v}px)`, c.style.opacity = "1";
641
641
  });
642
642
  }, [r]);
643
643
  return Vr(() => {
@@ -731,8 +731,8 @@ function nn() {
731
731
  throw new TypeError("invalid type");
732
732
  var p = m;
733
733
  if (d && typeof d == "object")
734
- for (var v, w = Object.keys(d).sort(), E = 0; E < w.length; E++) {
735
- if (v = w[E], !t.test(v))
734
+ for (var v, E = Object.keys(d).sort(), w = 0; w < E.length; w++) {
735
+ if (v = E[w], !t.test(v))
736
736
  throw new TypeError("invalid parameter name");
737
737
  p += "; " + v + "=" + l(d[v]);
738
738
  }
@@ -749,11 +749,11 @@ function nn() {
749
749
  throw new TypeError("invalid media type");
750
750
  var v = new u(p.toLowerCase());
751
751
  if (m !== -1) {
752
- var w, E, b;
753
- for (r.lastIndex = m; E = r.exec(d); ) {
754
- if (E.index !== m)
752
+ var E, w, S;
753
+ for (r.lastIndex = m; w = r.exec(d); ) {
754
+ if (w.index !== m)
755
755
  throw new TypeError("invalid parameter format");
756
- m += E[0].length, w = E[1].toLowerCase(), b = E[2], b.charCodeAt(0) === 34 && (b = b.slice(1, -1), b.indexOf("\\") !== -1 && (b = b.replace(n, "$1"))), v.parameters[w] = b;
756
+ m += w[0].length, E = w[1].toLowerCase(), S = w[2], S.charCodeAt(0) === 34 && (S = S.slice(1, -1), S.indexOf("\\") !== -1 && (S = S.replace(n, "$1"))), v.parameters[E] = S;
757
757
  }
758
758
  if (m !== d.length)
759
759
  throw new TypeError("invalid parameter format");
@@ -870,14 +870,14 @@ var sn = nn(), Ce = /* @__PURE__ */ new Map(), Dr = function(e) {
870
870
  p && f.setAttribute("width", p);
871
871
  var v = e.getAttribute("height");
872
872
  v && f.setAttribute("height", v);
873
- var w = Array.from(new Set(yt(yt(yt([], (f.getAttribute("class") || "").split(" "), !0), ["injected-svg"], !1), (e.getAttribute("class") || "").split(" "), !0))).join(" ").trim();
874
- f.setAttribute("class", w);
875
- var E = e.getAttribute("style");
876
- E && f.setAttribute("style", E), f.setAttribute("data-src", c);
877
- var b = [].filter.call(e.attributes, function(X) {
873
+ var E = Array.from(new Set(yt(yt(yt([], (f.getAttribute("class") || "").split(" "), !0), ["injected-svg"], !1), (e.getAttribute("class") || "").split(" "), !0))).join(" ").trim();
874
+ f.setAttribute("class", E);
875
+ var w = e.getAttribute("style");
876
+ w && f.setAttribute("style", w), f.setAttribute("data-src", c);
877
+ var S = [].filter.call(e.attributes, function(X) {
878
878
  return /^data-\w[\w-]*$/.test(X.name);
879
879
  });
880
- if (Array.prototype.forEach.call(b, function(X) {
880
+ if (Array.prototype.forEach.call(S, function(X) {
881
881
  X.name && X.value && f.setAttribute(X.name, X.value);
882
882
  }), n) {
883
883
  var O = {
@@ -891,9 +891,9 @@ var sn = nn(), Ce = /* @__PURE__ */ new Map(), Dr = function(e) {
891
891
  path: [],
892
892
  pattern: ["fill", "stroke"],
893
893
  radialGradient: ["fill", "stroke"]
894
- }, S, y, R, k, _;
894
+ }, b, y, R, k, _;
895
895
  Object.keys(O).forEach(function(X) {
896
- S = X, R = O[X], y = f.querySelectorAll(S + "[id]");
896
+ b = X, R = O[X], y = f.querySelectorAll(b + "[id]");
897
897
  for (var F = function(C, $) {
898
898
  k = y[C].id, _ = k + "-" + un();
899
899
  var L;
@@ -936,13 +936,13 @@ var sn = nn(), Ce = /* @__PURE__ */ new Map(), Dr = function(e) {
936
936
  var n = t === void 0 ? {} : t, s = n.afterAll, a = s === void 0 ? function() {
937
937
  } : s, i = n.afterEach, o = i === void 0 ? function() {
938
938
  } : i, c = n.beforeEach, l = c === void 0 ? function() {
939
- } : c, u = n.cacheRequests, f = u === void 0 ? !0 : u, d = n.evalScripts, m = d === void 0 ? "never" : d, p = n.httpRequestWithCredentials, v = p === void 0 ? !1 : p, w = n.renumerateIRIElements, E = w === void 0 ? !0 : w;
939
+ } : c, u = n.cacheRequests, f = u === void 0 ? !0 : u, d = n.evalScripts, m = d === void 0 ? "never" : d, p = n.httpRequestWithCredentials, v = p === void 0 ? !1 : p, E = n.renumerateIRIElements, w = E === void 0 ? !0 : E;
940
940
  if (e && "length" in e)
941
- for (var b = 0, O = 0, S = e.length; O < S; O++)
942
- Gt(e[O], m, E, f, v, l, function(y, R) {
943
- o(y, R), e && "length" in e && e.length === ++b && a(b);
941
+ for (var S = 0, O = 0, b = e.length; O < b; O++)
942
+ Gt(e[O], m, w, f, v, l, function(y, R) {
943
+ o(y, R), e && "length" in e && e.length === ++S && a(S);
944
944
  });
945
- else e ? Gt(e, m, E, f, v, l, function(y, R) {
945
+ else e ? Gt(e, m, w, f, v, l, function(y, R) {
946
946
  o(y, R), a(1), e = null;
947
947
  }) : a(0);
948
948
  }, Xe = { exports: {} }, Ze = { exports: {} }, Q = {};
@@ -958,7 +958,7 @@ var Kt;
958
958
  function pn() {
959
959
  if (Kt) return Q;
960
960
  Kt = 1;
961
- 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, c = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, u = r ? Symbol.for("react.forward_ref") : 60112, f = r ? Symbol.for("react.suspense") : 60113, d = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115, p = r ? Symbol.for("react.lazy") : 60116, v = r ? Symbol.for("react.block") : 60121, w = r ? Symbol.for("react.fundamental") : 60117, E = r ? Symbol.for("react.responder") : 60118, b = r ? Symbol.for("react.scope") : 60119;
961
+ 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, c = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, u = r ? Symbol.for("react.forward_ref") : 60112, f = r ? Symbol.for("react.suspense") : 60113, d = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115, p = r ? Symbol.for("react.lazy") : 60116, v = r ? Symbol.for("react.block") : 60121, E = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118, S = r ? Symbol.for("react.scope") : 60119;
962
962
  function O(y) {
963
963
  if (typeof y == "object" && y !== null) {
964
964
  var R = y.$$typeof;
@@ -989,12 +989,12 @@ function pn() {
989
989
  }
990
990
  }
991
991
  }
992
- function S(y) {
992
+ function b(y) {
993
993
  return O(y) === l;
994
994
  }
995
995
  return Q.AsyncMode = c, Q.ConcurrentMode = l, Q.ContextConsumer = o, Q.ContextProvider = i, Q.Element = e, Q.ForwardRef = u, Q.Fragment = n, Q.Lazy = p, Q.Memo = m, Q.Portal = t, Q.Profiler = a, Q.StrictMode = s, Q.Suspense = f, Q.isAsyncMode = function(y) {
996
- return S(y) || O(y) === c;
997
- }, Q.isConcurrentMode = S, Q.isContextConsumer = function(y) {
996
+ return b(y) || O(y) === c;
997
+ }, Q.isConcurrentMode = b, Q.isContextConsumer = function(y) {
998
998
  return O(y) === o;
999
999
  }, Q.isContextProvider = function(y) {
1000
1000
  return O(y) === i;
@@ -1017,7 +1017,7 @@ function pn() {
1017
1017
  }, Q.isSuspense = function(y) {
1018
1018
  return O(y) === f;
1019
1019
  }, Q.isValidElementType = function(y) {
1020
- return typeof y == "string" || typeof y == "function" || y === n || y === l || y === a || y === s || y === f || y === d || typeof y == "object" && y !== null && (y.$$typeof === p || y.$$typeof === m || y.$$typeof === i || y.$$typeof === o || y.$$typeof === u || y.$$typeof === w || y.$$typeof === E || y.$$typeof === b || y.$$typeof === v);
1020
+ return typeof y == "string" || typeof y == "function" || y === n || y === l || y === a || y === s || y === f || y === d || typeof y == "object" && y !== null && (y.$$typeof === p || y.$$typeof === m || y.$$typeof === i || y.$$typeof === o || y.$$typeof === u || y.$$typeof === E || y.$$typeof === w || y.$$typeof === S || y.$$typeof === v);
1021
1021
  }, Q.typeOf = O, Q;
1022
1022
  }
1023
1023
  var ee = {};
@@ -1032,12 +1032,12 @@ var ee = {};
1032
1032
  var qt;
1033
1033
  function hn() {
1034
1034
  return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
1035
- 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, c = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, u = r ? Symbol.for("react.forward_ref") : 60112, f = r ? Symbol.for("react.suspense") : 60113, d = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115, p = r ? Symbol.for("react.lazy") : 60116, v = r ? Symbol.for("react.block") : 60121, w = r ? Symbol.for("react.fundamental") : 60117, E = r ? Symbol.for("react.responder") : 60118, b = r ? Symbol.for("react.scope") : 60119;
1035
+ 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, c = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, u = r ? Symbol.for("react.forward_ref") : 60112, f = r ? Symbol.for("react.suspense") : 60113, d = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115, p = r ? Symbol.for("react.lazy") : 60116, v = r ? Symbol.for("react.block") : 60121, E = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118, S = r ? Symbol.for("react.scope") : 60119;
1036
1036
  function O(M) {
1037
1037
  return typeof M == "string" || typeof M == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1038
- M === n || M === l || M === a || M === s || M === f || M === d || typeof M == "object" && M !== null && (M.$$typeof === p || M.$$typeof === m || M.$$typeof === i || M.$$typeof === o || M.$$typeof === u || M.$$typeof === w || M.$$typeof === E || M.$$typeof === b || M.$$typeof === v);
1038
+ M === n || M === l || M === a || M === s || M === f || M === d || typeof M == "object" && M !== null && (M.$$typeof === p || M.$$typeof === m || M.$$typeof === i || M.$$typeof === o || M.$$typeof === u || M.$$typeof === E || M.$$typeof === w || M.$$typeof === S || M.$$typeof === v);
1039
1039
  }
1040
- function S(M) {
1040
+ function b(M) {
1041
1041
  if (typeof M == "object" && M !== null) {
1042
1042
  var H = M.$$typeof;
1043
1043
  switch (H) {
@@ -1071,45 +1071,45 @@ function hn() {
1071
1071
  }
1072
1072
  var y = c, R = l, k = o, _ = i, T = e, D = u, N = n, P = p, A = m, V = t, I = a, W = s, z = f, X = !1;
1073
1073
  function F(M) {
1074
- return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), h(M) || S(M) === c;
1074
+ return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), h(M) || b(M) === c;
1075
1075
  }
1076
1076
  function h(M) {
1077
- return S(M) === l;
1077
+ return b(M) === l;
1078
1078
  }
1079
1079
  function x(M) {
1080
- return S(M) === o;
1080
+ return b(M) === o;
1081
1081
  }
1082
1082
  function j(M) {
1083
- return S(M) === i;
1083
+ return b(M) === i;
1084
1084
  }
1085
1085
  function C(M) {
1086
1086
  return typeof M == "object" && M !== null && M.$$typeof === e;
1087
1087
  }
1088
1088
  function $(M) {
1089
- return S(M) === u;
1089
+ return b(M) === u;
1090
1090
  }
1091
1091
  function L(M) {
1092
- return S(M) === n;
1092
+ return b(M) === n;
1093
1093
  }
1094
1094
  function U(M) {
1095
- return S(M) === p;
1095
+ return b(M) === p;
1096
1096
  }
1097
1097
  function B(M) {
1098
- return S(M) === m;
1098
+ return b(M) === m;
1099
1099
  }
1100
1100
  function Y(M) {
1101
- return S(M) === t;
1101
+ return b(M) === t;
1102
1102
  }
1103
1103
  function J(M) {
1104
- return S(M) === a;
1104
+ return b(M) === a;
1105
1105
  }
1106
1106
  function G(M) {
1107
- return S(M) === s;
1107
+ return b(M) === s;
1108
1108
  }
1109
1109
  function ae(M) {
1110
- return S(M) === f;
1110
+ return b(M) === f;
1111
1111
  }
1112
- ee.AsyncMode = y, ee.ConcurrentMode = R, ee.ContextConsumer = k, ee.ContextProvider = _, ee.Element = T, ee.ForwardRef = D, ee.Fragment = N, ee.Lazy = P, ee.Memo = A, ee.Portal = V, ee.Profiler = I, ee.StrictMode = W, ee.Suspense = z, ee.isAsyncMode = F, ee.isConcurrentMode = h, ee.isContextConsumer = x, ee.isContextProvider = j, ee.isElement = C, ee.isForwardRef = $, ee.isFragment = L, ee.isLazy = U, ee.isMemo = B, ee.isPortal = Y, ee.isProfiler = J, ee.isStrictMode = G, ee.isSuspense = ae, ee.isValidElementType = O, ee.typeOf = S;
1112
+ ee.AsyncMode = y, ee.ConcurrentMode = R, ee.ContextConsumer = k, ee.ContextProvider = _, ee.Element = T, ee.ForwardRef = D, ee.Fragment = N, ee.Lazy = P, ee.Memo = A, ee.Portal = V, ee.Profiler = I, ee.StrictMode = W, ee.Suspense = z, ee.isAsyncMode = F, ee.isConcurrentMode = h, ee.isContextConsumer = x, ee.isContextProvider = j, ee.isElement = C, ee.isForwardRef = $, ee.isFragment = L, ee.isLazy = U, ee.isMemo = B, ee.isPortal = Y, ee.isProfiler = J, ee.isStrictMode = G, ee.isSuspense = ae, ee.isValidElementType = O, ee.typeOf = b;
1113
1113
  }()), ee;
1114
1114
  }
1115
1115
  var zt;
@@ -1252,17 +1252,17 @@ function yn() {
1252
1252
  return x;
1253
1253
  }
1254
1254
  var d = "<<anonymous>>", m = {
1255
- array: E("array"),
1256
- bigint: E("bigint"),
1257
- bool: E("boolean"),
1258
- func: E("function"),
1259
- number: E("number"),
1260
- object: E("object"),
1261
- string: E("string"),
1262
- symbol: E("symbol"),
1263
- any: b(),
1255
+ array: w("array"),
1256
+ bigint: w("bigint"),
1257
+ bool: w("boolean"),
1258
+ func: w("function"),
1259
+ number: w("number"),
1260
+ object: w("object"),
1261
+ string: w("string"),
1262
+ symbol: w("symbol"),
1263
+ any: S(),
1264
1264
  arrayOf: O,
1265
- element: S(),
1265
+ element: b(),
1266
1266
  elementType: y(),
1267
1267
  instanceOf: R,
1268
1268
  node: D(),
@@ -1279,7 +1279,7 @@ function yn() {
1279
1279
  this.message = h, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
1280
1280
  }
1281
1281
  v.prototype = Error.prototype;
1282
- function w(h) {
1282
+ function E(h) {
1283
1283
  if (process.env.NODE_ENV !== "production")
1284
1284
  var x = {}, j = 0;
1285
1285
  function C(L, U, B, Y, J, G, ae) {
@@ -1302,7 +1302,7 @@ function yn() {
1302
1302
  var $ = C.bind(null, !1);
1303
1303
  return $.isRequired = C.bind(null, !0), $;
1304
1304
  }
1305
- function E(h) {
1305
+ function w(h) {
1306
1306
  function x(j, C, $, L, U, B) {
1307
1307
  var Y = j[C], J = W(Y);
1308
1308
  if (J !== h) {
@@ -1314,10 +1314,10 @@ function yn() {
1314
1314
  }
1315
1315
  return null;
1316
1316
  }
1317
- return w(x);
1317
+ return E(x);
1318
1318
  }
1319
- function b() {
1320
- return w(i);
1319
+ function S() {
1320
+ return E(i);
1321
1321
  }
1322
1322
  function O(h) {
1323
1323
  function x(j, C, $, L, U) {
@@ -1335,9 +1335,9 @@ function yn() {
1335
1335
  }
1336
1336
  return null;
1337
1337
  }
1338
- return w(x);
1338
+ return E(x);
1339
1339
  }
1340
- function S() {
1340
+ function b() {
1341
1341
  function h(x, j, C, $, L) {
1342
1342
  var U = x[j];
1343
1343
  if (!o(U)) {
@@ -1346,7 +1346,7 @@ function yn() {
1346
1346
  }
1347
1347
  return null;
1348
1348
  }
1349
- return w(h);
1349
+ return E(h);
1350
1350
  }
1351
1351
  function y() {
1352
1352
  function h(x, j, C, $, L) {
@@ -1357,7 +1357,7 @@ function yn() {
1357
1357
  }
1358
1358
  return null;
1359
1359
  }
1360
- return w(h);
1360
+ return E(h);
1361
1361
  }
1362
1362
  function R(h) {
1363
1363
  function x(j, C, $, L, U) {
@@ -1367,7 +1367,7 @@ function yn() {
1367
1367
  }
1368
1368
  return null;
1369
1369
  }
1370
- return w(x);
1370
+ return E(x);
1371
1371
  }
1372
1372
  function k(h) {
1373
1373
  if (!Array.isArray(h))
@@ -1384,7 +1384,7 @@ function yn() {
1384
1384
  });
1385
1385
  return new v("Invalid " + L + " `" + U + "` of value `" + String(B) + "` " + ("supplied to `" + $ + "`, expected one of " + J + "."));
1386
1386
  }
1387
- return w(x);
1387
+ return E(x);
1388
1388
  }
1389
1389
  function _(h) {
1390
1390
  function x(j, C, $, L, U) {
@@ -1401,7 +1401,7 @@ function yn() {
1401
1401
  }
1402
1402
  return null;
1403
1403
  }
1404
- return w(x);
1404
+ return E(x);
1405
1405
  }
1406
1406
  function T(h) {
1407
1407
  if (!Array.isArray(h))
@@ -1423,13 +1423,13 @@ function yn() {
1423
1423
  var H = J.length > 0 ? ", expected one of type [" + J.join(", ") + "]" : "";
1424
1424
  return new v("Invalid " + B + " `" + Y + "` supplied to " + ("`" + U + "`" + H + "."));
1425
1425
  }
1426
- return w(C);
1426
+ return E(C);
1427
1427
  }
1428
1428
  function D() {
1429
1429
  function h(x, j, C, $, L) {
1430
1430
  return V(x[j]) ? null : new v("Invalid " + $ + " `" + L + "` supplied to " + ("`" + C + "`, expected a ReactNode."));
1431
1431
  }
1432
- return w(h);
1432
+ return E(h);
1433
1433
  }
1434
1434
  function N(h, x, j, C, $) {
1435
1435
  return new v(
@@ -1451,7 +1451,7 @@ function yn() {
1451
1451
  }
1452
1452
  return null;
1453
1453
  }
1454
- return w(x);
1454
+ return E(x);
1455
1455
  }
1456
1456
  function A(h) {
1457
1457
  function x(j, C, $, L, U) {
@@ -1474,7 +1474,7 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1474
1474
  }
1475
1475
  return null;
1476
1476
  }
1477
- return w(x);
1477
+ return E(x);
1478
1478
  }
1479
1479
  function V(h) {
1480
1480
  switch (typeof h) {
@@ -1633,8 +1633,8 @@ var oe = /* @__PURE__ */ xn(), bn = function(e) {
1633
1633
  return t.renderSVG = function() {
1634
1634
  var s = this;
1635
1635
  if (this.reactWrapper instanceof bn(this.reactWrapper).Node) {
1636
- var a = this.props, i = a.desc, o = a.evalScripts, c = a.httpRequestWithCredentials, l = a.renumerateIRIElements, u = a.src, f = a.title, d = a.useRequestCache, m = this.props.onError, p = this.props.beforeInjection, v = this.props.afterInjection, w = this.props.wrapper, E, b;
1637
- w === "svg" ? (E = document.createElementNS(Qe, w), E.setAttribute("xmlns", Qe), E.setAttribute("xmlns:xlink", nr), b = document.createElementNS(Qe, w)) : (E = document.createElement(w), b = document.createElement(w)), E.appendChild(b), b.dataset.src = u, this.nonReactWrapper = this.reactWrapper.appendChild(E);
1636
+ var a = this.props, i = a.desc, o = a.evalScripts, c = a.httpRequestWithCredentials, l = a.renumerateIRIElements, u = a.src, f = a.title, d = a.useRequestCache, m = this.props.onError, p = this.props.beforeInjection, v = this.props.afterInjection, E = this.props.wrapper, w, S;
1637
+ E === "svg" ? (w = document.createElementNS(Qe, E), w.setAttribute("xmlns", Qe), w.setAttribute("xmlns:xlink", nr), S = document.createElementNS(Qe, E)) : (w = document.createElement(E), S = document.createElement(E)), w.appendChild(S), S.dataset.src = u, this.nonReactWrapper = this.reactWrapper.appendChild(w);
1638
1638
  var O = function(k) {
1639
1639
  if (s.removeSVG(), !s._isMounted) {
1640
1640
  m(k);
@@ -1648,7 +1648,7 @@ var oe = /* @__PURE__ */ xn(), bn = function(e) {
1648
1648
  }, function() {
1649
1649
  m(k);
1650
1650
  });
1651
- }, S = function(k, _) {
1651
+ }, b = function(k, _) {
1652
1652
  if (k) {
1653
1653
  O(k);
1654
1654
  return;
@@ -1683,8 +1683,8 @@ var oe = /* @__PURE__ */ xn(), bn = function(e) {
1683
1683
  O(P);
1684
1684
  }
1685
1685
  };
1686
- dn(b, {
1687
- afterEach: S,
1686
+ dn(S, {
1687
+ afterEach: b,
1688
1688
  beforeEach: y,
1689
1689
  cacheRequests: d,
1690
1690
  evalScripts: o,
@@ -1776,21 +1776,21 @@ const Qs = (r) => {
1776
1776
  title: f,
1777
1777
  tabIndex: d
1778
1778
  }) => {
1779
- const [m, p] = q(r), v = (r == null ? void 0 : r.startsWith("http")) || (r == null ? void 0 : r.startsWith("/")), w = v && (r == null ? void 0 : r.toLowerCase().endsWith(".svg")), E = sr(`assets/svg/${r}.svg`), b = sr(
1779
+ const [m, p] = q(r), v = (r == null ? void 0 : r.startsWith("http")) || (r == null ? void 0 : r.startsWith("/")), E = v && (r == null ? void 0 : r.toLowerCase().endsWith(".svg")), w = sr(`assets/svg/${r}.svg`), S = sr(
1780
1780
  `assets/svg/${n}.svg`
1781
1781
  ), O = {
1782
1782
  img: `${l ? "smp-image-interactable" : ""}`,
1783
1783
  svg: `smp-icon ${i ? `smp-icon-${i}` : ""} ${o ? "smp-icon-rotated" : ""} ${l ? "smp-icon-interactable" : ""} ${u ? "smp-icon-spin" : ""}`
1784
- }, S = () => {
1784
+ }, b = () => {
1785
1785
  !a && l && c && c();
1786
1786
  }, y = (R) => {
1787
- !a && l && (R.key === "Enter" || R.key === " ") && (R.preventDefault(), S());
1787
+ !a && l && (R.key === "Enter" || R.key === " ") && (R.preventDefault(), b());
1788
1788
  };
1789
- return /* @__PURE__ */ g.jsx(g.Fragment, { children: w ? /* @__PURE__ */ g.jsx(
1789
+ return /* @__PURE__ */ g.jsx(g.Fragment, { children: E ? /* @__PURE__ */ g.jsx(
1790
1790
  Ae,
1791
1791
  {
1792
1792
  src: r,
1793
- fallback: () => /* @__PURE__ */ g.jsx(Ae, { src: b, wrapper: "svg" }),
1793
+ fallback: () => /* @__PURE__ */ g.jsx(Ae, { src: S, wrapper: "svg" }),
1794
1794
  width: e || "1rem",
1795
1795
  height: t || "1rem",
1796
1796
  wrapper: "svg",
@@ -1799,7 +1799,7 @@ const Qs = (r) => {
1799
1799
  fill: s,
1800
1800
  "aria-disabled": a,
1801
1801
  className: O.svg,
1802
- onClick: S,
1802
+ onClick: b,
1803
1803
  onKeyDown: y,
1804
1804
  tabIndex: d
1805
1805
  }
@@ -1812,20 +1812,20 @@ const Qs = (r) => {
1812
1812
  width: e || "16px",
1813
1813
  height: t || "auto",
1814
1814
  alt: f,
1815
- onError: () => p(b),
1816
- onClick: S,
1815
+ onError: () => p(S),
1816
+ onClick: b,
1817
1817
  className: O.img,
1818
1818
  title: f,
1819
1819
  onKeyDown: (R) => {
1820
- (R.key === "Enter" || R.key === " ") && S();
1820
+ (R.key === "Enter" || R.key === " ") && b();
1821
1821
  }
1822
1822
  }
1823
1823
  )
1824
1824
  ) : /* @__PURE__ */ g.jsx(
1825
1825
  Ae,
1826
1826
  {
1827
- src: E,
1828
- fallback: () => /* @__PURE__ */ g.jsx(Ae, { src: b, wrapper: "svg" }),
1827
+ src: w,
1828
+ fallback: () => /* @__PURE__ */ g.jsx(Ae, { src: S, wrapper: "svg" }),
1829
1829
  width: e || "1rem",
1830
1830
  height: t || "1rem",
1831
1831
  wrapper: "svg",
@@ -1834,7 +1834,7 @@ const Qs = (r) => {
1834
1834
  fill: s,
1835
1835
  "aria-disabled": a,
1836
1836
  className: O.svg,
1837
- onClick: S,
1837
+ onClick: b,
1838
1838
  onKeyDown: y,
1839
1839
  tabIndex: d
1840
1840
  }
@@ -1873,11 +1873,11 @@ const Qs = (r) => {
1873
1873
  onShapeIconClick: m,
1874
1874
  ref: p,
1875
1875
  inputRef: v,
1876
- onKeyDown: w,
1877
- inputType: E = "text",
1878
- ariaLabel: b = "input field",
1876
+ onKeyDown: E,
1877
+ inputType: w = "text",
1878
+ ariaLabel: S = "input field",
1879
1879
  label: O,
1880
- helperText: S = !1,
1880
+ helperText: b = !1,
1881
1881
  error: y,
1882
1882
  appearance: R = "base",
1883
1883
  fullWidth: k = !1,
@@ -1891,7 +1891,7 @@ const Qs = (r) => {
1891
1891
  size: I,
1892
1892
  maxLength: W
1893
1893
  }) => {
1894
- const z = Ge(), X = `${z}-helper`, F = y ? "danger" : l, h = y || l == "danger" ? "error" : o, x = S || !!y, j = (L) => {
1894
+ const z = Ge(), X = `${z}-helper`, F = y ? "danger" : l, h = y || l == "danger" ? "error" : o, x = b || !!y, j = (L) => {
1895
1895
  s == null || s(L.target.value);
1896
1896
  }, C = {
1897
1897
  wrapper: `${ye["smp-textfield-wrapper"]} ${k ? ye["smp-textfield-fullWidth"] : ""}`,
@@ -1917,7 +1917,7 @@ const Qs = (r) => {
1917
1917
  "input",
1918
1918
  {
1919
1919
  id: z,
1920
- type: E,
1920
+ type: w,
1921
1921
  value: e,
1922
1922
  placeholder: a,
1923
1923
  onChange: j,
@@ -1925,8 +1925,8 @@ const Qs = (r) => {
1925
1925
  className: C.input,
1926
1926
  disabled: r,
1927
1927
  readOnly: !i,
1928
- onKeyDown: w,
1929
- "aria-label": b,
1928
+ onKeyDown: E,
1929
+ "aria-label": S,
1930
1930
  ref: v,
1931
1931
  "aria-describedby": x ? X : void 0,
1932
1932
  min: T,
@@ -1985,8 +1985,8 @@ function Cr({
1985
1985
  a(p);
1986
1986
  }, []), d = (m) => {
1987
1987
  if (!i.current) return;
1988
- const p = m * e, v = p + e, w = i.current, E = w.scrollTop, b = E + t;
1989
- p < E ? w.scrollTop = p : v > b && (w.scrollTop = v - t);
1988
+ const p = m * e, v = p + e, E = i.current, w = E.scrollTop, S = w + t;
1989
+ p < w ? E.scrollTop = p : v > S && (E.scrollTop = v - t);
1990
1990
  };
1991
1991
  return {
1992
1992
  virtualItems: u,
@@ -2051,12 +2051,12 @@ const Tn = 10, Pr = ({
2051
2051
  var V;
2052
2052
  const [f, d] = q(""), m = 40, [p, v] = q(
2053
2053
  a !== null ? a : -1
2054
- ), [w, E] = q(o || 200), b = ce(null), O = s !== void 0 ? s : e.length > Tn, S = f ? e.filter(
2054
+ ), [E, w] = q(o || 200), S = ce(null), O = s !== void 0 ? s : e.length > Tn, b = f ? e.filter(
2055
2055
  (I) => I.label.toLowerCase().includes(f.toLowerCase())
2056
2056
  ) : e, y = (I) => {
2057
2057
  d(I);
2058
2058
  }, { virtualItems: R, containerProps: k, innerProps: _, scrollToIndex: T } = Cr({
2059
- items: S,
2059
+ items: b,
2060
2060
  itemHeight: m,
2061
2061
  containerHeight: 200,
2062
2062
  overscan: 5
@@ -2064,19 +2064,19 @@ const Tn = 10, Pr = ({
2064
2064
  ne(() => {
2065
2065
  a !== null && a !== p && v(a);
2066
2066
  }, [a]), ne(() => {
2067
- p >= 0 && p < S.length && T(p);
2068
- }, [p, S]), ne(() => {
2069
- u && (b != null && b.current) && b.current.focus();
2070
- }, [u, b]), ne(() => {
2067
+ p >= 0 && p < b.length && T(p);
2068
+ }, [p, b]), ne(() => {
2069
+ u && (S != null && S.current) && S.current.focus();
2070
+ }, [u, S]), ne(() => {
2071
2071
  const I = En(e, t);
2072
- E(I);
2072
+ w(I);
2073
2073
  }, [e, t]);
2074
2074
  const D = (I) => {
2075
2075
  if (I.key === "ArrowDown" || I.key === "ArrowUp") {
2076
2076
  I.preventDefault();
2077
2077
  let W = p;
2078
- I.key === "ArrowDown" ? W = p < S.length - 1 ? p + 1 : 0 : I.key === "ArrowUp" && (W = p > 0 ? p - 1 : S.length - 1), v(W);
2079
- } else I.key === "Enter" ? p >= 0 && p < S.length && (c == null || c(S[p])) : I.key === "Escape" && (I.preventDefault(), I.stopPropagation());
2078
+ I.key === "ArrowDown" ? W = p < b.length - 1 ? p + 1 : 0 : I.key === "ArrowUp" && (W = p > 0 ? p - 1 : b.length - 1), v(W);
2079
+ } else I.key === "Enter" ? p >= 0 && p < b.length && (c == null || c(b[p])) : I.key === "Escape" && (I.preventDefault(), I.stopPropagation());
2080
2080
  l && l(I);
2081
2081
  }, N = (I) => {
2082
2082
  D(I);
@@ -2096,7 +2096,7 @@ const Tn = 10, Pr = ({
2096
2096
  className: A.wrapper,
2097
2097
  "data-component": "list",
2098
2098
  style: {
2099
- width: w,
2099
+ width: E,
2100
2100
  minWidth: o
2101
2101
  },
2102
2102
  children: [
@@ -2108,7 +2108,7 @@ const Tn = 10, Pr = ({
2108
2108
  fullWidth: !0,
2109
2109
  onChange: y,
2110
2110
  onKeyDown: N,
2111
- inputRef: b
2111
+ inputRef: S
2112
2112
  }
2113
2113
  ),
2114
2114
  /* @__PURE__ */ g.jsx(
@@ -2120,7 +2120,7 @@ const Tn = 10, Pr = ({
2120
2120
  role: "listbox",
2121
2121
  "aria-label": "List",
2122
2122
  onKeyDown: P,
2123
- "aria-activedescendant": p >= 0 && p < S.length ? (V = S[p]) == null ? void 0 : V.id : void 0,
2123
+ "aria-activedescendant": p >= 0 && p < b.length ? (V = b[p]) == null ? void 0 : V.id : void 0,
2124
2124
  children: /* @__PURE__ */ g.jsx("div", { ..._, className: A.virtualScroll, children: R.map(({ item: I, index: W, offsetTop: z }) => {
2125
2125
  const X = i.includes(I.id);
2126
2126
  return (
@@ -2542,13 +2542,13 @@ class dt extends gt {
2542
2542
  } : o;
2543
2543
  const m = this.resolve(e, s);
2544
2544
  let p = m == null ? void 0 : m.res;
2545
- const v = (m == null ? void 0 : m.usedKey) || o, w = (m == null ? void 0 : m.exactUsedKey) || o, E = ["[object Number]", "[object Function]", "[object RegExp]"], b = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, O = !this.i18nFormat || this.i18nFormat.handleAsObject, S = s.count !== void 0 && !K(s.count), y = dt.hasDefaultValue(s), R = S ? this.pluralResolver.getSuffix(f, s.count, s) : "", k = s.ordinal && S ? this.pluralResolver.getSuffix(f, s.count, {
2545
+ const v = (m == null ? void 0 : m.usedKey) || o, E = (m == null ? void 0 : m.exactUsedKey) || o, w = ["[object Number]", "[object Function]", "[object RegExp]"], S = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, O = !this.i18nFormat || this.i18nFormat.handleAsObject, b = s.count !== void 0 && !K(s.count), y = dt.hasDefaultValue(s), R = b ? this.pluralResolver.getSuffix(f, s.count, s) : "", k = s.ordinal && b ? this.pluralResolver.getSuffix(f, s.count, {
2546
2546
  ordinal: !1
2547
- }) : "", _ = S && !s.ordinal && s.count === 0, T = _ && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${R}`] || s[`defaultValue${k}`] || s.defaultValue;
2547
+ }) : "", _ = b && !s.ordinal && s.count === 0, T = _ && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${R}`] || s[`defaultValue${k}`] || s.defaultValue;
2548
2548
  let D = p;
2549
2549
  O && !p && y && (D = T);
2550
2550
  const N = fr(D), P = Object.prototype.toString.apply(D);
2551
- if (O && D && N && E.indexOf(P) < 0 && !(K(b) && Array.isArray(D))) {
2551
+ if (O && D && N && w.indexOf(P) < 0 && !(K(S) && Array.isArray(D))) {
2552
2552
  if (!s.returnObjects && !this.options.returnObjects) {
2553
2553
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
2554
2554
  const A = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(v, D, {
@@ -2558,7 +2558,7 @@ class dt extends gt {
2558
2558
  return a ? (m.res = A, m.usedParams = this.getUsedParamsDetails(s), m) : A;
2559
2559
  }
2560
2560
  if (i) {
2561
- const A = Array.isArray(D), V = A ? [] : {}, I = A ? w : v;
2561
+ const A = Array.isArray(D), V = A ? [] : {}, I = A ? E : v;
2562
2562
  for (const W in D)
2563
2563
  if (Object.prototype.hasOwnProperty.call(D, W)) {
2564
2564
  const z = `${I}${i}${W}`;
@@ -2575,8 +2575,8 @@ class dt extends gt {
2575
2575
  }
2576
2576
  p = V;
2577
2577
  }
2578
- } else if (O && K(b) && Array.isArray(p))
2579
- p = p.join(b), p && (p = this.extendTranslation(p, e, s, n));
2578
+ } else if (O && K(S) && Array.isArray(p))
2579
+ p = p.join(S), p && (p = this.extendTranslation(p, e, s, n));
2580
2580
  else {
2581
2581
  let A = !1, V = !1;
2582
2582
  !this.isValidLookup(p) && y && (A = !0, p = T), this.isValidLookup(p) || (V = !0, p = o);
@@ -2600,7 +2600,7 @@ class dt extends gt {
2600
2600
  const $ = y && C !== p ? C : W;
2601
2601
  this.options.missingKeyHandler ? this.options.missingKeyHandler(x, l, j, $, z, s) : (L = this.backendConnector) != null && L.saveMissing && this.backendConnector.saveMissing(x, l, j, $, z, s), this.emit("missingKey", x, l, j, p);
2602
2602
  };
2603
- this.options.saveMissing && (this.options.saveMissingPlurals && S ? X.forEach((x) => {
2603
+ this.options.saveMissing && (this.options.saveMissingPlurals && b ? X.forEach((x) => {
2604
2604
  const j = this.pluralResolver.getSuffixes(x, s);
2605
2605
  _ && s[`defaultValue${this.options.pluralSeparator}zero`] && j.indexOf(`${this.options.pluralSeparator}zero`) < 0 && j.push(`${this.options.pluralSeparator}zero`), j.forEach((C) => {
2606
2606
  h([x], o + C, s[`defaultValue${C}`] || T);
@@ -2662,27 +2662,27 @@ class dt extends gt {
2662
2662
  let f = l.namespaces;
2663
2663
  this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
2664
2664
  const d = t.count !== void 0 && !K(t.count), m = d && !t.ordinal && t.count === 0, p = t.context !== void 0 && (K(t.context) || typeof t.context == "number") && t.context !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
2665
- f.forEach((w) => {
2666
- var E, b;
2667
- this.isValidLookup(n) || (o = w, !ur[`${v[0]}-${w}`] && ((E = this.utils) != null && E.hasLoadedNamespace) && !((b = this.utils) != null && b.hasLoadedNamespace(o)) && (ur[`${v[0]}-${w}`] = !0, this.logger.warn(`key "${s}" for languages "${v.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!!!")), v.forEach((O) => {
2665
+ f.forEach((E) => {
2666
+ var w, S;
2667
+ this.isValidLookup(n) || (o = E, !ur[`${v[0]}-${E}`] && ((w = this.utils) != null && w.hasLoadedNamespace) && !((S = this.utils) != null && S.hasLoadedNamespace(o)) && (ur[`${v[0]}-${E}`] = !0, this.logger.warn(`key "${s}" for languages "${v.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!!!")), v.forEach((O) => {
2668
2668
  var R;
2669
2669
  if (this.isValidLookup(n)) return;
2670
2670
  i = O;
2671
- const S = [u];
2671
+ const b = [u];
2672
2672
  if ((R = this.i18nFormat) != null && R.addLookupKeys)
2673
- this.i18nFormat.addLookupKeys(S, u, O, w, t);
2673
+ this.i18nFormat.addLookupKeys(b, u, O, E, t);
2674
2674
  else {
2675
2675
  let k;
2676
2676
  d && (k = this.pluralResolver.getSuffix(O, t.count, t));
2677
2677
  const _ = `${this.options.pluralSeparator}zero`, T = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2678
- if (d && (S.push(u + k), t.ordinal && k.indexOf(T) === 0 && S.push(u + k.replace(T, this.options.pluralSeparator)), m && S.push(u + _)), p) {
2678
+ if (d && (b.push(u + k), t.ordinal && k.indexOf(T) === 0 && b.push(u + k.replace(T, this.options.pluralSeparator)), m && b.push(u + _)), p) {
2679
2679
  const D = `${u}${this.options.contextSeparator}${t.context}`;
2680
- S.push(D), d && (S.push(D + k), t.ordinal && k.indexOf(T) === 0 && S.push(D + k.replace(T, this.options.pluralSeparator)), m && S.push(D + _));
2680
+ b.push(D), d && (b.push(D + k), t.ordinal && k.indexOf(T) === 0 && b.push(D + k.replace(T, this.options.pluralSeparator)), m && b.push(D + _));
2681
2681
  }
2682
2682
  }
2683
2683
  let y;
2684
- for (; y = S.pop(); )
2685
- this.isValidLookup(n) || (a = y, n = this.getResource(O, w, y, t));
2684
+ for (; y = b.pop(); )
2685
+ this.isValidLookup(n) || (a = y, n = this.getResource(O, E, y, t));
2686
2686
  }));
2687
2687
  });
2688
2688
  }), {
@@ -2875,11 +2875,11 @@ class Mn {
2875
2875
  nestingPrefixEscaped: m,
2876
2876
  nestingSuffix: p,
2877
2877
  nestingSuffixEscaped: v,
2878
- nestingOptionsSeparator: w,
2879
- maxReplaces: E,
2880
- alwaysFormat: b
2878
+ nestingOptionsSeparator: E,
2879
+ maxReplaces: w,
2880
+ alwaysFormat: S
2881
2881
  } = e.interpolation;
2882
- this.escape = t !== void 0 ? t : Cn, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? $e(a) : i || "{{", this.suffix = o ? $e(o) : c || "}}", this.formatSeparator = l || ",", this.unescapePrefix = u ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : u || "", this.nestingPrefix = d ? $e(d) : m || $e("$t("), this.nestingSuffix = p ? $e(p) : v || $e(")"), this.nestingOptionsSeparator = w || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
2882
+ this.escape = t !== void 0 ? t : Cn, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? $e(a) : i || "{{", this.suffix = o ? $e(o) : c || "}}", this.formatSeparator = l || ",", this.unescapePrefix = u ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : u || "", this.nestingPrefix = d ? $e(d) : m || $e("$t("), this.nestingSuffix = p ? $e(p) : v || $e(")"), this.nestingOptionsSeparator = E || ",", this.maxReplaces = w || 1e3, this.alwaysFormat = S !== void 0 ? S : !1, this.resetRegExp();
2883
2883
  }
2884
2884
  reset() {
2885
2885
  this.options && this.init(this.options);
@@ -2893,18 +2893,18 @@ class Mn {
2893
2893
  let a, i, o;
2894
2894
  const c = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, l = (p) => {
2895
2895
  if (p.indexOf(this.formatSeparator) < 0) {
2896
- const b = mr(t, c, p, this.options.keySeparator, this.options.ignoreJSONStructure);
2897
- return this.alwaysFormat ? this.format(b, void 0, n, {
2896
+ const S = mr(t, c, p, this.options.keySeparator, this.options.ignoreJSONStructure);
2897
+ return this.alwaysFormat ? this.format(S, void 0, n, {
2898
2898
  ...s,
2899
2899
  ...t,
2900
2900
  interpolationkey: p
2901
- }) : b;
2901
+ }) : S;
2902
2902
  }
2903
- const v = p.split(this.formatSeparator), w = v.shift().trim(), E = v.join(this.formatSeparator).trim();
2904
- return this.format(mr(t, c, w, this.options.keySeparator, this.options.ignoreJSONStructure), E, n, {
2903
+ const v = p.split(this.formatSeparator), E = v.shift().trim(), w = v.join(this.formatSeparator).trim();
2904
+ return this.format(mr(t, c, E, this.options.keySeparator, this.options.ignoreJSONStructure), w, n, {
2905
2905
  ...s,
2906
2906
  ...t,
2907
- interpolationkey: w
2907
+ interpolationkey: E
2908
2908
  });
2909
2909
  };
2910
2910
  this.resetRegExp();
@@ -2920,8 +2920,8 @@ class Mn {
2920
2920
  const v = a[1].trim();
2921
2921
  if (i = l(v), i === void 0)
2922
2922
  if (typeof u == "function") {
2923
- const E = u(e, a, s);
2924
- i = K(E) ? E : "";
2923
+ const w = u(e, a, s);
2924
+ i = K(w) ? w : "";
2925
2925
  } else if (s && Object.prototype.hasOwnProperty.call(s, v))
2926
2926
  i = "";
2927
2927
  else if (f) {
@@ -2930,8 +2930,8 @@ class Mn {
2930
2930
  } else
2931
2931
  this.logger.warn(`missed to pass in variable ${v} for interpolating ${e}`), i = "";
2932
2932
  else !K(i) && !this.useRawValueToEscape && (i = ar(i));
2933
- const w = p.safeValue(i);
2934
- if (e = e.replace(a[0], w), f ? (p.regex.lastIndex += i.length, p.regex.lastIndex -= a[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
2933
+ const E = p.safeValue(i);
2934
+ if (e = e.replace(a[0], E), f ? (p.regex.lastIndex += i.length, p.regex.lastIndex -= a[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
2935
2935
  break;
2936
2936
  }
2937
2937
  }), e;
@@ -3210,7 +3210,7 @@ class Wn extends gt {
3210
3210
  if (p.length < 6)
3211
3211
  try {
3212
3212
  let v;
3213
- p.length === 5 ? v = p(e, t, n, s, m) : v = p(e, t, n, s), v && typeof v.then == "function" ? v.then((w) => o(null, w)).catch(o) : o(null, v);
3213
+ p.length === 5 ? v = p(e, t, n, s, m) : v = p(e, t, n, s), v && typeof v.then == "function" ? v.then((E) => o(null, E)).catch(o) : o(null, v);
3214
3214
  } catch (v) {
3215
3215
  o(v);
3216
3216
  }
@@ -3665,21 +3665,21 @@ const kr = ({
3665
3665
  _multiActiveIndex: f,
3666
3666
  ...d
3667
3667
  }) => {
3668
- const m = ce(null), [p, v] = q(r), [w, E] = q(e), { translate: b } = je(), [O, S] = q(!1), [y, R] = q(t || []), [k, _] = q(0), [T, D] = q([r]), { anchorRef: N, targetRef: P, anchorWidth: A } = ht({
3668
+ const m = ce(null), [p, v] = q(r), [E, w] = q(e), { translate: S } = je(), [O, b] = q(!1), [y, R] = q(t || []), [k, _] = q(0), [T, D] = q([r]), { anchorRef: N, targetRef: P, anchorWidth: A } = ht({
3669
3669
  position: "bottom",
3670
3670
  enabled: O
3671
3671
  }), V = le(() => {
3672
3672
  var h;
3673
- S(!1), (h = m == null ? void 0 : m.current) == null || h.focus();
3673
+ b(!1), (h = m == null ? void 0 : m.current) == null || h.focus();
3674
3674
  }, []);
3675
3675
  Ye(P, O, () => V());
3676
3676
  const I = On(400), W = (h) => {
3677
3677
  h.length >= a ? o && u && I(async () => {
3678
3678
  const x = await u(o, h);
3679
- R(x), _(x.length > 0 ? 0 : -1), S(!0);
3680
- }) : V(), v(h), E(e), c || l == null || l(h, e);
3679
+ R(x), _(x.length > 0 ? 0 : -1), b(!0);
3680
+ }) : V(), v(h), w(e), c || l == null || l(h, e);
3681
3681
  }, z = (h) => {
3682
- c ? (v(""), E("")) : (v(h.id), E(h.label)), l == null || l(h.id, h.label);
3682
+ c ? (v(""), w("")) : (v(h.id), w(h.label)), l == null || l(h.id, h.label);
3683
3683
  const x = y.findIndex((j) => j.id === h.id);
3684
3684
  _(x), D([h.id]), V();
3685
3685
  }, X = (h) => {
@@ -3691,7 +3691,7 @@ const kr = ({
3691
3691
  }
3692
3692
  switch (h.key) {
3693
3693
  case "Enter":
3694
- k >= 0 && k < y.length ? z(y[k]) : c && (l == null || l(p, ""), V(), v(""), E(""));
3694
+ k >= 0 && k < y.length ? z(y[k]) : c && (l == null || l(p, ""), V(), v(""), w(""));
3695
3695
  break;
3696
3696
  case "Escape":
3697
3697
  V(), _(-1);
@@ -3704,11 +3704,11 @@ const kr = ({
3704
3704
  {
3705
3705
  ...d,
3706
3706
  bindValue: p,
3707
- optionalDisplayValue: w,
3707
+ optionalDisplayValue: E,
3708
3708
  displayMode: n,
3709
3709
  isEditable: i,
3710
3710
  shapeIcon: "magnify",
3711
- placeholder: b(
3711
+ placeholder: S(
3712
3712
  ke.AUTOCOMPLETE_DEFAULT_PLACEHOLDER
3713
3713
  ),
3714
3714
  ref: N,
@@ -3760,10 +3760,11 @@ const kr = ({
3760
3760
  loading: d = !1,
3761
3761
  justify: m = "center",
3762
3762
  title: p,
3763
- optionalDisplayValue: v
3763
+ optionalDisplayValue: v,
3764
+ squared: E = !1
3764
3765
  }) => {
3765
3766
  const w = {
3766
- container: `smp-button smp-button-container ${i ? `smp-button-${i}` : ""} ${o ? `smp-buttonVariant-${o}` : ""} ${c ? `smp-buttonType-${c}` : ""} ${f ? "smp-button-fullWidth" : ""} smp-justifyContent-${m}`
3767
+ container: `smp-button smp-button-container ${i ? `smp-button-${i}` : ""} ${o ? `smp-buttonVariant-${o}` : ""} ${c ? `smp-buttonType-${c}` : ""} ${f ? "smp-button-fullWidth" : ""} smp-justifyContent-${m} ${E && !u ? "smp-button-squared" : ""}`
3767
3768
  };
3768
3769
  return /* @__PURE__ */ g.jsx(
3769
3770
  "button",
@@ -3803,26 +3804,27 @@ const kr = ({
3803
3804
  fullWidth: l,
3804
3805
  disabled: u,
3805
3806
  justify: f,
3806
- onClick: d,
3807
- onOptionsRequest: m
3807
+ squared: d,
3808
+ onClick: m,
3809
+ onOptionsRequest: p
3808
3810
  }) => {
3809
- const [p, v] = q(r);
3811
+ const [v, E] = q(r);
3810
3812
  ne(() => {
3811
- !p && m && e && m(e, void 0).then((b) => v(b)).catch((b) => {
3813
+ !v && p && e && p(e, void 0).then((O) => E(O)).catch((O) => {
3812
3814
  console.error(
3813
3815
  "Errore nel caricamento delle opzioni per ButtonList",
3814
- b
3816
+ O
3815
3817
  );
3816
3818
  });
3817
- }, [p, e, m]);
3819
+ }, [v, e, p]);
3818
3820
  const w = {
3819
3821
  container: `smp-button-list smp-button-list-${t} smp-justifyContent-${n}`
3820
- }, E = p == null ? void 0 : p.map((b, O) => {
3821
- const S = {
3822
- bindValue: b.id,
3823
- optionalDisplayValue: b.label,
3824
- fun: b.fun,
3825
- icon: b.icon,
3822
+ }, S = v == null ? void 0 : v.map((O, b) => {
3823
+ const y = {
3824
+ bindValue: O.id,
3825
+ optionalDisplayValue: O.label,
3826
+ fun: O.fun,
3827
+ icon: O.icon,
3826
3828
  variant: a,
3827
3829
  appearance: i,
3828
3830
  showText: o,
@@ -3831,13 +3833,14 @@ const kr = ({
3831
3833
  disabled: u,
3832
3834
  sizing: s,
3833
3835
  justify: f,
3836
+ squared: d,
3834
3837
  onClick: () => {
3835
- d == null || d(b.id, b.fun);
3838
+ m == null || m(O.id, O.fun);
3836
3839
  }
3837
3840
  };
3838
- return /* @__PURE__ */ g.jsx(Be, { ...S }, `button-${O}`);
3841
+ return /* @__PURE__ */ g.jsx(Be, { ...y }, `button-${b}`);
3839
3842
  });
3840
- return /* @__PURE__ */ g.jsx("div", { role: "list", "data-component": "button-list", className: w.container, children: E });
3843
+ return /* @__PURE__ */ g.jsx("div", { role: "list", "data-component": "button-list", className: w.container, children: S });
3841
3844
  }, us = {
3842
3845
  "smp-checkbox-wrapper": "_smp-checkbox-wrapper_z14lq_2"
3843
3846
  }, fs = ({
@@ -3921,14 +3924,14 @@ const kr = ({
3921
3924
  m.bindValue,
3922
3925
  m.optionalDisplayValue,
3923
3926
  t
3924
- ), w = /* @__PURE__ */ g.jsxs(
3927
+ ), E = /* @__PURE__ */ g.jsxs(
3925
3928
  "div",
3926
3929
  {
3927
3930
  className: l.element,
3928
3931
  role: "listitem",
3929
3932
  draggable: i,
3930
3933
  onDragStart: () => f(p),
3931
- onDragOver: (b) => i && b.preventDefault(),
3934
+ onDragOver: (S) => i && S.preventDefault(),
3932
3935
  onDrop: () => i && d(p),
3933
3936
  style: {
3934
3937
  "--smp-chips-backgroundColor-base": a
@@ -3948,7 +3951,7 @@ const kr = ({
3948
3951
  ]
3949
3952
  },
3950
3953
  `chip-${p}`
3951
- ), E = i && p < r.length - 1 ? /* @__PURE__ */ g.jsx(
3954
+ ), w = i && p < r.length - 1 ? /* @__PURE__ */ g.jsx(
3952
3955
  fe,
3953
3956
  {
3954
3957
  icon: "chevron-right",
@@ -3956,7 +3959,7 @@ const kr = ({
3956
3959
  },
3957
3960
  `separator-${p}`
3958
3961
  ) : null;
3959
- return [w, E].filter(Boolean);
3962
+ return [E, w].filter(Boolean);
3960
3963
  }) });
3961
3964
  };
3962
3965
  function kt(r, e) {
@@ -4011,7 +4014,7 @@ const ps = ({
4011
4014
  multiActiveIndex: l,
4012
4015
  ...u
4013
4016
  }) => {
4014
- const f = ce(null), [d, m] = q(!1), [p, v] = q(t), [w, E] = q(-1), [b, O] = q([r]), S = Ge(), { anchorRef: y, targetRef: R, anchorWidth: k } = ht({
4017
+ const f = ce(null), [d, m] = q(!1), [p, v] = q(t), [E, w] = q(-1), [S, O] = q([r]), b = Ge(), { anchorRef: y, targetRef: R, anchorWidth: k } = ht({
4015
4018
  position: "bottom",
4016
4019
  enabled: d
4017
4020
  }), _ = le(() => {
@@ -4022,14 +4025,14 @@ const ps = ({
4022
4025
  const T = (A) => {
4023
4026
  e == null || e(A.id, A.label);
4024
4027
  const V = p.findIndex((I) => I.id === A.id);
4025
- E(V), O([A.id]), _();
4028
+ w(V), O([A.id]), _();
4026
4029
  }, D = (A) => {
4027
- A.key === "Escape" && (_(), E(-1));
4030
+ A.key === "Escape" && (_(), w(-1));
4028
4031
  }, N = (A) => {
4029
4032
  (A.key === "ArrowDown" || A.key === "ArrowUp") && (A.preventDefault(), P());
4030
4033
  }, P = () => {
4031
4034
  o && c && c(o, void 0).then((A) => {
4032
- v(A), E(A.length > 0 ? 0 : -1), m(!0);
4035
+ v(A), w(A.length > 0 ? 0 : -1), m(!0);
4033
4036
  });
4034
4037
  };
4035
4038
  return /* @__PURE__ */ g.jsxs(
@@ -4037,8 +4040,8 @@ const ps = ({
4037
4040
  {
4038
4041
  role: "combobox",
4039
4042
  "aria-expanded": d,
4040
- "aria-controls": S,
4041
- "aria-owns": S,
4043
+ "aria-controls": b,
4044
+ "aria-owns": b,
4042
4045
  "data-component": "combobox",
4043
4046
  children: [
4044
4047
  /* @__PURE__ */ g.jsx(
@@ -4062,13 +4065,13 @@ const ps = ({
4062
4065
  d && /* @__PURE__ */ g.jsx(mt, { children: /* @__PURE__ */ g.jsx(
4063
4066
  Pr,
4064
4067
  {
4065
- id: S,
4068
+ id: b,
4066
4069
  options: p,
4067
4070
  displayMode: i,
4068
4071
  ref: R,
4069
4072
  isOpen: d,
4070
- selectedIndex: w,
4071
- activeIndex: l || b,
4073
+ selectedIndex: E,
4074
+ activeIndex: l || S,
4072
4075
  width: k,
4073
4076
  onClick: T,
4074
4077
  onKeyDown: D
@@ -4099,7 +4102,7 @@ function ms({
4099
4102
  c ? c.getFullYear() : (/* @__PURE__ */ new Date()).getFullYear()
4100
4103
  ), [p, v] = q(
4101
4104
  c ? c.getDate() : null
4102
- ), w = ce(null), E = ce([]), b = [
4105
+ ), E = ce(null), w = ce([]), S = [
4103
4106
  a(pe.JANUARY),
4104
4107
  a(pe.FEBRUARY),
4105
4108
  a(pe.MARCH),
@@ -4141,11 +4144,11 @@ function ms({
4141
4144
  value: a(ue.SATURDAY_SHORT),
4142
4145
  full: a(ue.SATURDAY)
4143
4146
  }
4144
- ], S = (F) => t.some((h) => {
4147
+ ], b = (F) => t.some((h) => {
4145
4148
  const x = h.start.getTime(), j = h.end.getTime(), C = F.getTime();
4146
4149
  return C >= x && C <= j;
4147
4150
  }), y = (F) => {
4148
- S(F) || (l(F), v(F.getDate()), e && e(en(F)));
4151
+ b(F) || (l(F), v(F.getDate()), e && e(en(F)));
4149
4152
  }, R = () => {
4150
4153
  u === 0 ? (f(11), m(d - 1)) : f(u - 1), v(1);
4151
4154
  }, k = () => {
@@ -4155,7 +4158,7 @@ function ms({
4155
4158
  const h = V.findIndex(
4156
4159
  (j) => j !== null && j.getDate() === F
4157
4160
  );
4158
- h !== -1 && E.current[h] && ((x = E.current[h]) == null || x.focus(), v(F));
4161
+ h !== -1 && w.current[h] && ((x = w.current[h]) == null || x.focus(), v(F));
4159
4162
  }, N = (F, h) => {
4160
4163
  const x = V[h];
4161
4164
  if (!x) return;
@@ -4172,7 +4175,7 @@ function ms({
4172
4175
  }, 0);
4173
4176
  return;
4174
4177
  }
4175
- S(L) ? P($, "forward") : D($);
4178
+ b(L) ? P($, "forward") : D($);
4176
4179
  }
4177
4180
  break;
4178
4181
  case "Tab":
@@ -4188,7 +4191,7 @@ function ms({
4188
4191
  }, 0);
4189
4192
  return;
4190
4193
  }
4191
- S(L) ? P($, "backward") : D($);
4194
+ b(L) ? P($, "backward") : D($);
4192
4195
  }
4193
4196
  break;
4194
4197
  case "ArrowUp":
@@ -4202,7 +4205,7 @@ function ms({
4202
4205
  }, 0);
4203
4206
  return;
4204
4207
  }
4205
- S(L) ? P($, "backward") : D($);
4208
+ b(L) ? P($, "backward") : D($);
4206
4209
  }
4207
4210
  break;
4208
4211
  case "ArrowDown":
@@ -4216,7 +4219,7 @@ function ms({
4216
4219
  }, 0);
4217
4220
  return;
4218
4221
  }
4219
- S(L) ? P($, "forward") : D($);
4222
+ b(L) ? P($, "forward") : D($);
4220
4223
  }
4221
4224
  break;
4222
4225
  case "Home":
@@ -4245,7 +4248,7 @@ function ms({
4245
4248
  break;
4246
4249
  case " ":
4247
4250
  case "Space":
4248
- if (S(x)) return;
4251
+ if (b(x)) return;
4249
4252
  v(x.getDate()), l(x);
4250
4253
  break;
4251
4254
  case "Enter":
@@ -4257,7 +4260,7 @@ function ms({
4257
4260
  if (h === "forward") {
4258
4261
  for (let j = F; j <= x; j++) {
4259
4262
  const C = new Date(d, u, j);
4260
- if (!S(C)) {
4263
+ if (!b(C)) {
4261
4264
  D(j);
4262
4265
  return;
4263
4266
  }
@@ -4268,7 +4271,7 @@ function ms({
4268
4271
  } else {
4269
4272
  for (let L = F; L >= 1; L--) {
4270
4273
  const U = new Date(d, u, L);
4271
- if (!S(U)) {
4274
+ if (!b(U)) {
4272
4275
  D(L);
4273
4276
  return;
4274
4277
  }
@@ -4301,7 +4304,7 @@ function ms({
4301
4304
  const h = V.findIndex(
4302
4305
  (x) => x !== null && x.getDate() === p
4303
4306
  );
4304
- h !== -1 && E.current[h] && ((F = E.current[h]) == null || F.focus());
4307
+ h !== -1 && w.current[h] && ((F = w.current[h]) == null || F.focus());
4305
4308
  }
4306
4309
  }, [u, d, p, V]);
4307
4310
  const z = {
@@ -4315,7 +4318,7 @@ function ms({
4315
4318
  ${h ? "smp-datepickercalendar-td-selected" : ""}
4316
4319
  ${x ? "smp-datepickercalendar-td-focused" : ""}
4317
4320
  ${j ? "smp-datepickercalendar-td-disabled" : ""}`
4318
- }, X = () => `${b[u]} ${d.toString()}`;
4321
+ }, X = () => `${S[u]} ${d.toString()}`;
4319
4322
  return /* @__PURE__ */ g.jsxs(
4320
4323
  "div",
4321
4324
  {
@@ -4372,9 +4375,9 @@ function ms({
4372
4375
  /* @__PURE__ */ g.jsxs(
4373
4376
  "table",
4374
4377
  {
4375
- ref: w,
4378
+ ref: E,
4376
4379
  role: "grid",
4377
- "aria-label": `${a(ke.CALENDAR_FOR)} ${b[u]} ${d}`,
4380
+ "aria-label": `${a(ke.CALENDAR_FOR)} ${S[u]} ${d}`,
4378
4381
  className: z.table,
4379
4382
  children: [
4380
4383
  /* @__PURE__ */ g.jsx("thead", { children: /* @__PURE__ */ g.jsx("tr", { children: O.map((F) => /* @__PURE__ */ g.jsx(
@@ -4402,7 +4405,7 @@ function ms({
4402
4405
  },
4403
4406
  `empty-${j}`
4404
4407
  );
4405
- const $ = x.getDate() === o.getDate() && x.getMonth() === o.getMonth() && x.getFullYear() === o.getFullYear(), L = c && x.getDate() === c.getDate() && x.getMonth() === c.getMonth() && x.getFullYear() === c.getFullYear(), U = p === x.getDate(), B = S(x);
4408
+ const $ = x.getDate() === o.getDate() && x.getMonth() === o.getMonth() && x.getFullYear() === o.getFullYear(), L = c && x.getDate() === c.getDate() && x.getMonth() === c.getMonth() && x.getFullYear() === c.getFullYear(), U = p === x.getDate(), B = b(x);
4406
4409
  return /* @__PURE__ */ g.jsx(
4407
4410
  "td",
4408
4411
  {
@@ -4411,11 +4414,11 @@ function ms({
4411
4414
  tabIndex: U ? 0 : -1,
4412
4415
  onClick: () => y(x),
4413
4416
  onKeyDown: (Y) => N(Y, C),
4414
- "aria-label": `${x.getDate()} ${b[x.getMonth()]} ${x.getFullYear()}`,
4417
+ "aria-label": `${x.getDate()} ${S[x.getMonth()]} ${x.getFullYear()}`,
4415
4418
  "data-selected": L,
4416
4419
  "aria-disabled": B,
4417
4420
  ref: (Y) => {
4418
- E.current[C] = Y;
4421
+ w.current[C] = Y;
4419
4422
  },
4420
4423
  className: z.td(
4421
4424
  $,
@@ -4458,13 +4461,13 @@ const gs = ({
4458
4461
  typeof m == "object" && m !== null && "current" in m
4459
4462
  ) {
4460
4463
  const T = m.current.querySelector("input");
4461
- T && T === document.activeElement && S();
4464
+ T && T === document.activeElement && b();
4462
4465
  }
4463
4466
  v();
4464
4467
  }), kt(o, p);
4465
- const { format: w, getCurrentLanguage: E } = je(), b = le(
4468
+ const { format: E, getCurrentLanguage: w } = je(), S = le(
4466
4469
  (T) => {
4467
- const D = T.length > 5 && Xr(T, E()) || T, N = w(D, void 0, void 0, {
4470
+ const D = T.length > 5 && Xr(T, w()) || T, N = E(D, void 0, void 0, {
4468
4471
  type: "date"
4469
4472
  }), P = typeof D != "string", A = P && D.toISOString().substring(0, 10) || "";
4470
4473
  return {
@@ -4474,18 +4477,18 @@ const gs = ({
4474
4477
  normalizedDate: D
4475
4478
  };
4476
4479
  },
4477
- [E, w]
4480
+ [w, E]
4478
4481
  );
4479
4482
  ne(() => {
4480
- const { formattedDate: T, isoDate: D, isValid: N } = b(r);
4483
+ const { formattedDate: T, isoDate: D, isValid: N } = S(r);
4481
4484
  u(N && D || r), d(N && T || r);
4482
- }, [r, w, b]);
4483
- const O = () => c((T) => !T), S = () => {
4485
+ }, [r, E, S]);
4486
+ const O = () => c((T) => !T), b = () => {
4484
4487
  R(f);
4485
4488
  }, y = (T) => {
4486
4489
  R(T), v();
4487
4490
  }, R = (T) => {
4488
- const { isoDate: D, isValid: N } = b(T);
4491
+ const { isoDate: D, isValid: N } = S(T);
4489
4492
  t && t(N && D || T);
4490
4493
  }, k = (T) => {
4491
4494
  d(T);
@@ -4499,7 +4502,7 @@ const gs = ({
4499
4502
  ...a,
4500
4503
  bindValue: f,
4501
4504
  placeholder: e,
4502
- onBlur: S,
4505
+ onBlur: b,
4503
4506
  onChange: k,
4504
4507
  onKeyDown: _,
4505
4508
  shapeIcon: "calendar",
@@ -4536,20 +4539,20 @@ const gs = ({
4536
4539
  onChange: f,
4537
4540
  onBlur: d
4538
4541
  }) => {
4539
- const m = r.map((w) => w.bindValue), p = (w, E) => {
4540
- const b = [...r];
4541
- if (w == "")
4542
- b.pop();
4542
+ const m = r.map((E) => E.bindValue), p = (E, w) => {
4543
+ const S = [...r];
4544
+ if (E == "")
4545
+ S.pop();
4543
4546
  else {
4544
- const O = b.findIndex(
4545
- (S) => S.bindValue === w && S.optionalDisplayValue === E
4547
+ const O = S.findIndex(
4548
+ (b) => b.bindValue === E && b.optionalDisplayValue === w
4546
4549
  );
4547
- O >= 0 ? b.splice(O, 1) : b.push({
4548
- bindValue: w,
4549
- optionalDisplayValue: E
4550
+ O >= 0 ? S.splice(O, 1) : S.push({
4551
+ bindValue: E,
4552
+ optionalDisplayValue: w
4550
4553
  });
4551
4554
  }
4552
- f == null || f(b);
4555
+ f == null || f(S);
4553
4556
  }, v = {
4554
4557
  container: "smp-multipleAutocomplete-container"
4555
4558
  };
@@ -4566,8 +4569,8 @@ const gs = ({
4566
4569
  elements: r,
4567
4570
  displayMode: e,
4568
4571
  isEditable: s,
4569
- onChange: (w) => {
4570
- f == null || f(w);
4572
+ onChange: (E) => {
4573
+ f == null || f(E);
4571
4574
  }
4572
4575
  }
4573
4576
  ),
@@ -4718,16 +4721,16 @@ const Pe = (r, e, t) => ({
4718
4721
  useGrouping: !0
4719
4722
  }).format(P),
4720
4723
  [f]
4721
- ), v = le(ss, [d, m]), w = le(es, [r, e]), E = a != null && a.toString().includes(".") ? a.toString().split(".")[1].length : 0, [b, O] = q(E), [S, y] = q(
4722
- a != null ? p(a, b) : ""
4724
+ ), v = le(ss, [d, m]), E = le(es, [r, e]), w = a != null && a.toString().includes(".") ? a.toString().split(".")[1].length : 0, [S, O] = q(w), [b, y] = q(
4725
+ a != null ? p(a, S) : ""
4723
4726
  ), R = ce(a ?? null);
4724
4727
  ne(() => {
4725
4728
  if (a == null) {
4726
4729
  y(""), R.current = null;
4727
4730
  return;
4728
4731
  }
4729
- const P = a.toString().includes(".") ? a.toString().split(".")[1].length : 0, A = P === 0 ? b : P;
4730
- A !== b && O(A), y(p(a, A)), R.current = a;
4732
+ const P = a.toString().includes(".") ? a.toString().split(".")[1].length : 0, A = P === 0 ? S : P;
4733
+ A !== S && O(A), y(p(a, A)), R.current = a;
4731
4734
  }, [a, p]);
4732
4735
  const k = le(
4733
4736
  (P, A = !1) => {
@@ -4738,12 +4741,12 @@ const Pe = (r, e, t) => ({
4738
4741
  const V = v(P, d, m);
4739
4742
  if (isNaN(V))
4740
4743
  if (R.current != null) {
4741
- const I = p(R.current, b);
4744
+ const I = p(R.current, S);
4742
4745
  y(I);
4743
4746
  } else
4744
4747
  y("");
4745
4748
  else {
4746
- const I = w(V, r, e), W = ns(
4749
+ const I = E(V, r, e), W = ns(
4747
4750
  P,
4748
4751
  d,
4749
4752
  m
@@ -4757,29 +4760,29 @@ const Pe = (r, e, t) => ({
4757
4760
  v,
4758
4761
  d,
4759
4762
  m,
4760
- w,
4763
+ E,
4761
4764
  r,
4762
4765
  e,
4763
4766
  p,
4764
4767
  i,
4765
4768
  o,
4766
- b
4769
+ S
4767
4770
  ]
4768
- ), _ = (P) => y(P), T = () => k(S), D = (P) => {
4771
+ ), _ = (P) => y(P), T = () => k(b), D = (P) => {
4769
4772
  if (P.key === "Enter") {
4770
- P.preventDefault(), k(S, !0);
4773
+ P.preventDefault(), k(b, !0);
4771
4774
  return;
4772
4775
  }
4773
4776
  if (P.key === "ArrowUp" || P.key === "ArrowDown") {
4774
4777
  P.preventDefault();
4775
- const A = P.key === "ArrowUp" ? 1 : -1, V = R.current ?? 0, I = w(V + A * t, r, e);
4776
- k(p(I, b));
4778
+ const A = P.key === "ArrowUp" ? 1 : -1, V = R.current ?? 0, I = E(V + A * t, r, e);
4779
+ k(p(I, S));
4777
4780
  }
4778
4781
  }, N = (P) => {
4779
4782
  if (!P.currentTarget.contains(document.activeElement)) return;
4780
4783
  P.preventDefault();
4781
- const A = P.deltaY < 0 ? 1 : -1, V = R.current ?? 0, I = w(V + A * t, r, e);
4782
- k(p(I, b));
4784
+ const A = P.deltaY < 0 ? 1 : -1, V = R.current ?? 0, I = E(V + A * t, r, e);
4785
+ k(p(I, S));
4783
4786
  };
4784
4787
  return /* @__PURE__ */ g.jsx("div", { ref: u, "data-component": "input-number", onWheel: N, children: /* @__PURE__ */ g.jsx(
4785
4788
  De,
@@ -4788,7 +4791,7 @@ const Pe = (r, e, t) => ({
4788
4791
  "aria-valuemin": r,
4789
4792
  "aria-valuemax": e,
4790
4793
  "aria-valuenow": R.current ?? void 0,
4791
- bindValue: S,
4794
+ bindValue: b,
4792
4795
  inputType: "text",
4793
4796
  inputMode: n,
4794
4797
  min: r,
@@ -4858,13 +4861,13 @@ const Es = ({
4858
4861
  onBlur: f,
4859
4862
  onKeyDown: d
4860
4863
  }) => {
4861
- const m = Ge(), p = `${m}-helper`, v = u ? "danger" : s, w = l || !!u, E = (O) => {
4864
+ const m = Ge(), p = `${m}-helper`, v = u ? "danger" : s, E = l || !!u, w = (O) => {
4862
4865
  t == null || t(O.target.value);
4863
- }, b = {
4866
+ }, S = {
4864
4867
  wrapper: "smp-textarea-wrapper",
4865
4868
  container: `smp-textarea ${r ? "smp-textarea-disabled" : ""} ${n ? "smp-textarea-placeholder" : ""} ${v ? `smp-textarea-${v}` : ""} ${a ? `smp-textarea-${a}` : ""} ${i ? "" : "smp-textarea-readOnly"}`
4866
4869
  };
4867
- return /* @__PURE__ */ g.jsxs("div", { className: b.wrapper, "data-component": "textarea", children: [
4870
+ return /* @__PURE__ */ g.jsxs("div", { className: S.wrapper, "data-component": "textarea", children: [
4868
4871
  o && /* @__PURE__ */ g.jsx(Re, { htmlFor: m, label: o, disabled: r }),
4869
4872
  /* @__PURE__ */ g.jsx(
4870
4873
  "textarea",
@@ -4872,18 +4875,18 @@ const Es = ({
4872
4875
  id: m,
4873
4876
  value: e,
4874
4877
  placeholder: n,
4875
- onChange: E,
4878
+ onChange: w,
4876
4879
  onBlur: f,
4877
- className: b.container,
4880
+ className: S.container,
4878
4881
  disabled: r,
4879
4882
  readOnly: !i,
4880
4883
  onKeyDown: d,
4881
4884
  "aria-label": o ? void 0 : c,
4882
4885
  "aria-labelledby": o ? m : void 0,
4883
- "aria-describedby": w ? p : void 0
4886
+ "aria-describedby": E ? p : void 0
4884
4887
  }
4885
4888
  ),
4886
- w && /* @__PURE__ */ g.jsx(
4889
+ E && /* @__PURE__ */ g.jsx(
4887
4890
  Rr,
4888
4891
  {
4889
4892
  id: p,
@@ -5040,16 +5043,16 @@ const Es = ({
5040
5043
  }, [i]);
5041
5044
  const v = () => {
5042
5045
  n && o((y) => !y);
5043
- }, w = (y) => {
5046
+ }, E = (y) => {
5044
5047
  f(y);
5045
- }, E = (y, R, k) => {
5048
+ }, w = (y, R, k) => {
5046
5049
  const _ = Ds(y, R, k);
5047
5050
  l(_), f(_), t == null || t(_), p();
5048
- }, b = () => {
5049
- S(u);
5051
+ }, S = () => {
5052
+ b(u);
5050
5053
  }, O = (y) => {
5051
- y.key === "Enter" && (y.preventDefault(), S(u));
5052
- }, S = (y) => {
5054
+ y.key === "Enter" && (y.preventDefault(), b(u));
5055
+ }, b = (y) => {
5053
5056
  if (y.trim() === "") {
5054
5057
  l(""), f(""), t == null || t("");
5055
5058
  return;
@@ -5063,8 +5066,8 @@ const Es = ({
5063
5066
  ...s,
5064
5067
  bindValue: u,
5065
5068
  placeholder: e,
5066
- onChange: w,
5067
- onBlur: b,
5069
+ onChange: E,
5070
+ onBlur: S,
5068
5071
  onKeyDown: O,
5069
5072
  shapeIcon: "clock",
5070
5073
  onShapeIconClick: v,
@@ -5077,7 +5080,7 @@ const Es = ({
5077
5080
  Os,
5078
5081
  {
5079
5082
  value: Rs(c),
5080
- onChange: E,
5083
+ onChange: w,
5081
5084
  targetRef: m,
5082
5085
  isOpen: i
5083
5086
  }
@@ -5142,56 +5145,56 @@ const Tr = /* @__PURE__ */ new Map([
5142
5145
  onBlur: m,
5143
5146
  onOptionsRequest: p,
5144
5147
  onContextMenu: v,
5145
- isEditable: w
5148
+ isEditable: E
5146
5149
  }) => {
5147
- const E = {
5150
+ const w = {
5148
5151
  obj: t,
5149
5152
  shape: e,
5150
5153
  decode: r,
5151
5154
  icon: s,
5152
5155
  fun: a
5153
- }, b = {
5156
+ }, S = {
5154
5157
  onBlur: m,
5155
5158
  onOptionsRequest: p,
5156
5159
  fun: a,
5157
5160
  icon: s,
5158
5161
  tooltip: c,
5159
5162
  label: o,
5160
- isEditable: w,
5163
+ isEditable: E,
5161
5164
  ...n
5162
- }, O = (T, D, N) => qr(t) ? Pe(T, new lt(t, D).getLegacyValue()) : zr(t) ? Pe(T, new pt(t, D).getLegacyValue()) : Pe(T, D, N), S = (T, D) => Pe(
5165
+ }, O = (T, D, N) => qr(t) ? Pe(T, new lt(t, D).getLegacyValue()) : zr(t) ? Pe(T, new pt(t, D).getLegacyValue()) : Pe(T, D, N), b = (T, D) => Pe(
5163
5166
  T,
5164
5167
  new He(t, D, ".").getLegacyValue()
5165
- ), y = (T) => Pe(E, new ot(t, T).getLegacyValue()), R = (T) => Ss(E, T), k = () => {
5168
+ ), y = (T) => Pe(w, new ot(t, T).getLegacyValue()), R = (T) => Ss(w, T), k = () => {
5166
5169
  switch (e) {
5167
5170
  case te.AUTOCOMPLETE: {
5168
5171
  const T = {
5169
- ...b,
5172
+ ...S,
5170
5173
  bindValue: t.k,
5171
5174
  optionalDisplayValue: r,
5172
5175
  onChange: (D, N) => {
5173
- u == null || u(O(E, D, N));
5176
+ u == null || u(O(w, D, N));
5174
5177
  }
5175
5178
  };
5176
5179
  return /* @__PURE__ */ g.jsx(kr, { ...T });
5177
5180
  }
5178
5181
  case te.BUTTON: {
5179
5182
  const T = {
5180
- ...b,
5183
+ ...S,
5181
5184
  bindValue: t.k,
5182
5185
  optionalDisplayValue: r,
5183
5186
  onClick: () => {
5184
- f == null || f(O(E, t.k));
5187
+ f == null || f(O(w, t.k));
5185
5188
  }
5186
5189
  };
5187
5190
  return /* @__PURE__ */ g.jsx(Be, { ...T });
5188
5191
  }
5189
5192
  case te.BUTTON_LIST: {
5190
5193
  const T = {
5191
- ...b,
5194
+ ...S,
5192
5195
  options: l,
5193
5196
  onClick: (D, N) => {
5194
- const P = { ...E, fun: N };
5197
+ const P = { ...w, fun: N };
5195
5198
  f == null || f(O(P, D));
5196
5199
  }
5197
5200
  };
@@ -5199,15 +5202,15 @@ const Tr = /* @__PURE__ */ new Map([
5199
5202
  }
5200
5203
  case te.CHIP: {
5201
5204
  const T = {
5202
- ...b,
5203
- elements: wr(E)
5205
+ ...S,
5206
+ elements: wr(w)
5204
5207
  };
5205
5208
  return /* @__PURE__ */ g.jsx(Lt, { ...T });
5206
5209
  }
5207
5210
  case te.CHECKBOX:
5208
5211
  case te.SWITCH: {
5209
5212
  const T = e === te.SWITCH, D = {
5210
- ...b,
5213
+ ...S,
5211
5214
  bindValue: ot.fromDataObj(t).getValue(),
5212
5215
  optionalDisplayValue: r,
5213
5216
  onChange: (N) => {
@@ -5219,21 +5222,21 @@ const Tr = /* @__PURE__ */ new Map([
5219
5222
  }
5220
5223
  case te.COMBOBOX: {
5221
5224
  const T = {
5222
- ...b,
5225
+ ...S,
5223
5226
  bindValue: t.k,
5224
5227
  optionalDisplayValue: r,
5225
5228
  onChange: (D, N) => {
5226
- u == null || u(O(E, D, N));
5229
+ u == null || u(O(w, D, N));
5227
5230
  }
5228
5231
  };
5229
5232
  return /* @__PURE__ */ g.jsx(ps, { ...T });
5230
5233
  }
5231
5234
  case te.DATE: {
5232
5235
  const T = {
5233
- ...b,
5236
+ ...S,
5234
5237
  bindValue: lt.fromDataObj(t).getValue(),
5235
5238
  onChange: (D) => {
5236
- u == null || u(O(E, D));
5239
+ u == null || u(O(w, D));
5237
5240
  }
5238
5241
  };
5239
5242
  return /* @__PURE__ */ g.jsx(gs, { ...T });
@@ -5241,41 +5244,41 @@ const Tr = /* @__PURE__ */ new Map([
5241
5244
  case te.ICON:
5242
5245
  case te.IMAGE: {
5243
5246
  const T = {
5244
- ...b,
5247
+ ...S,
5245
5248
  icon: s,
5246
5249
  placeholderIcon: i,
5247
- isInteractable: !!b.fun,
5250
+ isInteractable: !!S.fun,
5248
5251
  onClick: () => {
5249
- f == null || f(O(E, t.k));
5252
+ f == null || f(O(w, t.k));
5250
5253
  }
5251
5254
  };
5252
5255
  return /* @__PURE__ */ g.jsx(fe, { ...T });
5253
5256
  }
5254
5257
  case te.INPUT_NUMBER: {
5255
5258
  const T = {
5256
- ...b,
5259
+ ...S,
5257
5260
  bindValue: He.fromDataObj(t, ".").getValue(),
5258
5261
  onChange: (D) => {
5259
- u == null || u(S(E, D));
5262
+ u == null || u(b(w, D));
5260
5263
  }
5261
5264
  };
5262
5265
  return /* @__PURE__ */ g.jsx(ws, { ...T });
5263
5266
  }
5264
5267
  case te.MEMO: {
5265
5268
  const T = {
5266
- ...b,
5269
+ ...S,
5267
5270
  bindValue: t.k,
5268
5271
  optionalDisplayValue: r,
5269
5272
  onChange: (D) => {
5270
- u == null || u(O(E, D));
5273
+ u == null || u(O(w, D));
5271
5274
  }
5272
5275
  };
5273
5276
  return /* @__PURE__ */ g.jsx(Es, { ...T });
5274
5277
  }
5275
5278
  case te.MULTI_AUTOCOMPLETE: {
5276
5279
  const T = {
5277
- ...b,
5278
- elements: wr(E),
5280
+ ...S,
5281
+ elements: wr(w),
5279
5282
  onChange: (D) => {
5280
5283
  u == null || u(R(D));
5281
5284
  }
@@ -5284,58 +5287,58 @@ const Tr = /* @__PURE__ */ new Map([
5284
5287
  }
5285
5288
  case te.PASSWORD: {
5286
5289
  const T = {
5287
- ...b,
5290
+ ...S,
5288
5291
  bindValue: t.k,
5289
5292
  onChange: (D) => {
5290
- u == null || u(O(E, D));
5293
+ u == null || u(O(w, D));
5291
5294
  }
5292
5295
  };
5293
5296
  return /* @__PURE__ */ g.jsx(vs, { ...T });
5294
5297
  }
5295
5298
  case te.RADIO: {
5296
5299
  const T = {
5297
- ...b,
5300
+ ...S,
5298
5301
  bindValue: t.k,
5299
5302
  onChange: (D, N) => {
5300
- u == null || u(O(E, D, N));
5303
+ u == null || u(O(w, D, N));
5301
5304
  }
5302
5305
  };
5303
5306
  return /* @__PURE__ */ g.jsx(Ts, { ...T });
5304
5307
  }
5305
5308
  case te.SPOTLIGHT: {
5306
5309
  const T = {
5307
- ...b,
5310
+ ...S,
5308
5311
  bindValue: t.k,
5309
5312
  onEnter: (D) => {
5310
- d == null || d(O(E, D));
5313
+ d == null || d(O(w, D));
5311
5314
  }
5312
5315
  };
5313
5316
  return /* @__PURE__ */ g.jsx(xs, { ...T });
5314
5317
  }
5315
5318
  case te.TEXT_FIELD: {
5316
5319
  const T = {
5317
- ...b,
5320
+ ...S,
5318
5321
  bindValue: t.k,
5319
5322
  optionalDisplayValue: r,
5320
5323
  onChange: (D) => {
5321
- u == null || u(O(E, D));
5324
+ u == null || u(O(w, D));
5322
5325
  }
5323
5326
  };
5324
5327
  return /* @__PURE__ */ g.jsx(De, { ...T });
5325
5328
  }
5326
5329
  case te.TIME: {
5327
5330
  const T = {
5328
- ...b,
5331
+ ...S,
5329
5332
  bindValue: pt.fromDataObj(t).getValue(),
5330
5333
  onChange: (D) => {
5331
- u == null || u(O(E, D));
5334
+ u == null || u(O(w, D));
5332
5335
  }
5333
5336
  };
5334
5337
  return /* @__PURE__ */ g.jsx(js, { ...T });
5335
5338
  }
5336
5339
  default: {
5337
5340
  const T = {
5338
- ...b,
5341
+ ...S,
5339
5342
  bindValue: t.k,
5340
5343
  optionalDisplayValue: r
5341
5344
  };
@@ -5350,7 +5353,7 @@ const Tr = /* @__PURE__ */ new Map([
5350
5353
  {
5351
5354
  className: _.wrapper,
5352
5355
  onContextMenu: (T) => {
5353
- v && c && (T.preventDefault(), v(E, T.currentTarget));
5356
+ v && c && (T.preventDefault(), v(w, T.currentTarget));
5354
5357
  },
5355
5358
  children: k()
5356
5359
  }
@@ -5369,17 +5372,17 @@ const Tr = /* @__PURE__ */ new Map([
5369
5372
  return {};
5370
5373
  const u = l.rows[0];
5371
5374
  return l.columns.filter((m) => m.visible).reduce((m, p) => {
5372
- const v = u.cells[p.name], w = {
5375
+ const v = u.cells[p.name], E = {
5373
5376
  ...v,
5374
5377
  id: p.name,
5375
- onChange: (E) => {
5376
- a((b) => b && {
5377
- ...b,
5378
+ onChange: (w) => {
5379
+ a((S) => S && {
5380
+ ...S,
5378
5381
  [p.name]: {
5379
- ...b[p.name],
5382
+ ...S[p.name],
5380
5383
  obj: {
5381
- ...b[p.name].obj,
5382
- k: E.obj.k
5384
+ ...S[p.name].obj,
5385
+ k: w.obj.k
5383
5386
  }
5384
5387
  }
5385
5388
  });
@@ -5389,16 +5392,16 @@ const Tr = /* @__PURE__ */ new Map([
5389
5392
  ...v
5390
5393
  });
5391
5394
  },
5392
- onEnter: (E) => {
5393
- t && t(E);
5395
+ onEnter: (w) => {
5396
+ t && t(w);
5394
5397
  },
5395
- onContextMenu: (E, b) => {
5396
- n && n(E, b);
5398
+ onContextMenu: (w, S) => {
5399
+ n && n(w, S);
5397
5400
  }
5398
5401
  };
5399
5402
  return {
5400
5403
  ...m,
5401
- [p.name]: w
5404
+ [p.name]: E
5402
5405
  };
5403
5406
  }, {});
5404
5407
  },
@@ -5430,8 +5433,8 @@ const Tr = /* @__PURE__ */ new Map([
5430
5433
  loadOptions: c,
5431
5434
  onContextMenu: l
5432
5435
  }) => {
5433
- var S, y;
5434
- const [u, f] = q(), [d, m] = q(t ?? !0), p = ce(null), v = s.trim() ? s : "100vh", w = le(
5436
+ var b, y;
5437
+ const [u, f] = q(), [d, m] = q(t ?? !0), p = ce(null), v = s.trim() ? s : "100vh", E = le(
5435
5438
  (R) => {
5436
5439
  var _, T;
5437
5440
  if (!((_ = R == null ? void 0 : R.rows) != null && _.length) || !((T = R == null ? void 0 : R.columns) != null && T.length))
@@ -5465,7 +5468,8 @@ const Tr = /* @__PURE__ */ new Map([
5465
5468
  )), !d && de(n) && (A.data = {
5466
5469
  ...A.data,
5467
5470
  showText: !1,
5468
- justify: "center"
5471
+ justify: "center",
5472
+ squared: !0
5469
5473
  }), {
5470
5474
  ...D,
5471
5475
  [N.name]: A
@@ -5473,18 +5477,18 @@ const Tr = /* @__PURE__ */ new Map([
5473
5477
  }, {});
5474
5478
  },
5475
5479
  [d, n, a, i, c, l]
5476
- ), E = le(() => {
5480
+ ), w = le(() => {
5477
5481
  o == null || o();
5478
- }, [o]), b = () => {
5482
+ }, [o]), S = () => {
5479
5483
  de(n) ? m((R) => !R) : (m(!1), o == null || o());
5480
5484
  };
5481
5485
  if (ne(() => {
5482
- f(w(r));
5486
+ f(E(r));
5483
5487
  }, [r]), ne(() => {
5484
5488
  if (!p.current)
5485
5489
  return;
5486
5490
  if (!de(n)) {
5487
- f(w(r));
5491
+ f(E(r));
5488
5492
  return;
5489
5493
  }
5490
5494
  const R = getComputedStyle(p.current).getPropertyValue(
@@ -5492,11 +5496,11 @@ const Tr = /* @__PURE__ */ new Map([
5492
5496
  );
5493
5497
  let k = Number(R);
5494
5498
  R.endsWith("ms") ? k = parseFloat(R) : R.endsWith("s") && (k = parseFloat(R) * 1e3), setTimeout(() => {
5495
- f(w(r));
5499
+ f(E(r));
5496
5500
  }, k / 2);
5497
5501
  }, [d, n]), ne(() => {
5498
5502
  t !== void 0 && !de(n) && m(t);
5499
- }, [n, t]), !((S = r == null ? void 0 : r.rows) != null && S.length) || !((y = r.columns) != null && y.length))
5503
+ }, [n, t]), !((b = r == null ? void 0 : r.rows) != null && b.length) || !((y = r.columns) != null && y.length))
5500
5504
  return null;
5501
5505
  const O = {
5502
5506
  drawer: `smp-drawer ${de(n) ? "smp-drawer-minified" : "smp-drawer-fixed"} ${d ? "smp-drawer-open" : ""} ${!de(n) && !d ? "smp-drawer-no-border" : ""}`,
@@ -5514,7 +5518,7 @@ const Tr = /* @__PURE__ */ new Map([
5514
5518
  "aria-hidden": "true",
5515
5519
  "aria-label": "drawer-backdrop",
5516
5520
  className: O.backdrop,
5517
- onClick: E
5521
+ onClick: w
5518
5522
  }
5519
5523
  ),
5520
5524
  /* @__PURE__ */ g.jsx(
@@ -5543,7 +5547,7 @@ const Tr = /* @__PURE__ */ new Map([
5543
5547
  title: "drawer_icon",
5544
5548
  rotated: !d,
5545
5549
  isInteractable: !0,
5546
- onClick: b,
5550
+ onClick: S,
5547
5551
  width: 20,
5548
5552
  height: 20
5549
5553
  }
@@ -5571,12 +5575,12 @@ const Tr = /* @__PURE__ */ new Map([
5571
5575
  UmColName: m,
5572
5576
  UmColor: p = "var(--smp-dashList-color-base)",
5573
5577
  ForceValue: v,
5574
- ValueColName: w,
5575
- ValueColor: E = "var(--smp-dashList-color-base)",
5576
- SelectLayout: b = "1",
5578
+ ValueColName: E,
5579
+ ValueColor: w = "var(--smp-dashList-color-base)",
5580
+ SelectLayout: S = "1",
5577
5581
  onClick: O
5578
5582
  }) => {
5579
- const S = "N/A", y = (e == null ? void 0 : e.columns) || [], R = (e == null ? void 0 : e.rows) || [], k = R.length > 0, _ = "--smp-dashList-color", T = "smp-layout", D = "descr", N = "icon", P = "um", A = "value", V = i || "1em", I = "18px", W = "--smp-dashList-columns", z = "--smp-dashList-fontSize", X = {
5583
+ const b = "N/A", y = (e == null ? void 0 : e.columns) || [], R = (e == null ? void 0 : e.rows) || [], k = R.length > 0, _ = "--smp-dashList-color", T = "smp-layout", D = "descr", N = "icon", P = "um", A = "value", V = i || "1em", I = "18px", W = "--smp-dashList-columns", z = "--smp-dashList-fontSize", X = {
5580
5584
  dash: (H = "1") => {
5581
5585
  const Z = h(H), re = Z, se = x(Z, D), he = x(Z, N), Se = x(Z, P), ve = x(Z, A);
5582
5586
  return {
@@ -5619,7 +5623,7 @@ const Tr = /* @__PURE__ */ new Map([
5619
5623
  descr: t || Z(n) || re(2) || "",
5620
5624
  icon: c || Z(l) || re(3) || "",
5621
5625
  um: d || Z(m) || re(1) || "",
5622
- value: v || Z(w) || re(0) || ""
5626
+ value: v || Z(E) || re(0) || ""
5623
5627
  };
5624
5628
  }, B = (H) => {
5625
5629
  O == null || O(H);
@@ -5642,13 +5646,13 @@ const Tr = /* @__PURE__ */ new Map([
5642
5646
  um: (re) => /* @__PURE__ */ g.jsx("div", { className: Z.um, children: re }, `${H}-${P}`),
5643
5647
  value: (re) => /* @__PURE__ */ g.jsx("div", { className: Z.value, children: re }, `${H}-${A}`)
5644
5648
  };
5645
- })(b), ae = (H) => {
5649
+ })(S), ae = (H) => {
5646
5650
  const { descr: Z, icon: re, um: se, value: he } = U(H), Se = {
5647
5651
  [j(D)]: C(s),
5648
5652
  [j(P)]: C(p),
5649
- [j(A)]: C(E)
5653
+ [j(A)]: C(w)
5650
5654
  }, ve = [], _e = $(he);
5651
- switch (b) {
5655
+ switch (S) {
5652
5656
  case "2":
5653
5657
  re && ve.push(G.icon(re)), ve.push(G.descr(Z)), ve.push(
5654
5658
  G.value(se ? _e + " " + se : _e)
@@ -5677,7 +5681,7 @@ const Tr = /* @__PURE__ */ new Map([
5677
5681
  [W]: String(r),
5678
5682
  [z]: V
5679
5683
  };
5680
- return /* @__PURE__ */ g.jsx("div", { className: X.dashList, style: M, children: k ? R.map((H) => ae(H)) : S });
5684
+ return /* @__PURE__ */ g.jsx("div", { className: X.dashList, style: M, children: k ? R.map((H) => ae(H)) : b });
5681
5685
  }, nt = {
5682
5686
  "smp-table": "_smp-table_1qmju_1",
5683
5687
  "smp-headerCell": "_smp-headerCell_1qmju_35",
@@ -5711,8 +5715,8 @@ const Nr = ({
5711
5715
  rowHeight: n = 26,
5712
5716
  offsetTop: s
5713
5717
  }) => {
5714
- var b;
5715
- const [a, i] = q(!1), o = st(r) && !!((b = r.children) != null && b.length), c = r.cells && Object.keys(r.cells).length > 0, l = o, u = t * 20, f = () => {
5718
+ var S;
5719
+ const [a, i] = q(!1), o = st(r) && !!((S = r.children) != null && S.length), c = r.cells && Object.keys(r.cells).length > 0, l = o, u = t * 20, f = () => {
5716
5720
  o && i(!a);
5717
5721
  }, d = {
5718
5722
  content: `${Ee.rowContent} ${o ? Ee.clickable : ""}`,
@@ -5732,8 +5736,8 @@ const Nr = ({
5732
5736
  style: { width: `${u}px` },
5733
5737
  "aria-hidden": "true"
5734
5738
  }
5735
- ), w = () => {
5736
- const O = Ms(r) ? "" : r.decode || (c ? "" : "Untitled"), S = s ?? n * t;
5739
+ ), E = () => {
5740
+ const O = Ms(r) ? "" : r.decode || (c ? "" : "Untitled"), b = s ?? n * t;
5737
5741
  return /* @__PURE__ */ g.jsxs(
5738
5742
  "tr",
5739
5743
  {
@@ -5744,7 +5748,7 @@ const Nr = ({
5744
5748
  style: {
5745
5749
  height: `${n}px`,
5746
5750
  lineHeight: `calc(${n}px - 2*2px)`,
5747
- transform: `translateY(${S}px)`
5751
+ transform: `translateY(${b}px)`
5748
5752
  },
5749
5753
  children: [
5750
5754
  st(r) && /* @__PURE__ */ g.jsxs(
@@ -5780,13 +5784,13 @@ const Nr = ({
5780
5784
  ]
5781
5785
  }
5782
5786
  );
5783
- }, E = () => {
5787
+ }, w = () => {
5784
5788
  var O;
5785
- return a || !o ? null : /* @__PURE__ */ g.jsx(g.Fragment, { children: st(r) && ((O = r.children) == null ? void 0 : O.map((S, y) => /* @__PURE__ */ g.jsx(Nr, { row: S, level: t + 1 }, `child-${y}`))) });
5789
+ return a || !o ? null : /* @__PURE__ */ g.jsx(g.Fragment, { children: st(r) && ((O = r.children) == null ? void 0 : O.map((b, y) => /* @__PURE__ */ g.jsx(Nr, { row: b, level: t + 1 }, `child-${y}`))) });
5786
5790
  };
5787
5791
  return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
5788
- w(),
5789
- E()
5792
+ E(),
5793
+ w()
5790
5794
  ] });
5791
5795
  }, Vs = ({
5792
5796
  label: r,
@@ -5855,17 +5859,17 @@ function Ws(r, e, t, n) {
5855
5859
  return;
5856
5860
  }
5857
5861
  const p = e[d].column, v = o(f, p);
5858
- for (const [w, E] of v) {
5859
- const b = [...m, w], O = c(b, d), S = n.has(O);
5860
- s.push(l(w, O, d, S)), a += t, S && i(E, d + 1, b);
5862
+ for (const [E, w] of v) {
5863
+ const S = [...m, E], O = c(S, d), b = n.has(O);
5864
+ s.push(l(E, O, d, b)), a += t, b && i(w, d + 1, S);
5861
5865
  }
5862
5866
  }
5863
5867
  function o(f, d) {
5864
5868
  var p;
5865
5869
  const m = /* @__PURE__ */ new Map();
5866
5870
  for (const v of f) {
5867
- const w = ((p = v.cells[d]) == null ? void 0 : p.decode) ?? "N/D";
5868
- m.has(w) || m.set(w, []), m.get(w).push(v);
5871
+ const E = ((p = v.cells[d]) == null ? void 0 : p.decode) ?? "N/D";
5872
+ m.has(E) || m.set(E, []), m.get(E).push(v);
5869
5873
  }
5870
5874
  return m;
5871
5875
  }
@@ -5960,8 +5964,8 @@ const Bs = ({
5960
5964
  if (!l.visible) continue;
5961
5965
  const u = ((o = l.title) == null ? void 0 : o.length) || 0, f = Math.max(
5962
5966
  ...e.map((d) => {
5963
- var m, p, v, w;
5964
- return `${((p = (m = d.cells) == null ? void 0 : m[l.name]) == null ? void 0 : p.decode) || ((w = (v = d.cells) == null ? void 0 : v[l.name]) == null ? void 0 : w.value) || ""}`.length;
5967
+ var m, p, v, E;
5968
+ return `${((p = (m = d.cells) == null ? void 0 : m[l.name]) == null ? void 0 : p.decode) || ((E = (v = d.cells) == null ? void 0 : v[l.name]) == null ? void 0 : E.value) || ""}`.length;
5965
5969
  }),
5966
5970
  u
5967
5971
  );
@@ -6003,16 +6007,16 @@ const Bs = ({
6003
6007
  }, [r, c, u, e]);
6004
6008
  const v = (_) => {
6005
6009
  l(Us(_, c));
6006
- }, w = (_) => {
6010
+ }, E = (_) => {
6007
6011
  _.preventDefault();
6008
6012
  const T = _.dataTransfer.getData("text/plain");
6009
6013
  if (!T || c.some((P) => P.column === T))
6010
6014
  return;
6011
6015
  const N = [...c, { column: T, visible: !0 }];
6012
6016
  l(N);
6013
- }, E = (_) => {
6017
+ }, w = (_) => {
6014
6018
  _.preventDefault();
6015
- }, { virtualItems: b, containerProps: O, innerProps: S } = Cr({
6019
+ }, { virtualItems: S, containerProps: O, innerProps: b } = Cr({
6016
6020
  items: (i == null ? void 0 : i.rows) ?? [],
6017
6021
  itemHeight: e,
6018
6022
  containerHeight: t,
@@ -6046,8 +6050,8 @@ const Bs = ({
6046
6050
  {
6047
6051
  groups: c,
6048
6052
  onChange: v,
6049
- onDrop: w,
6050
- onDragOver: E
6053
+ onDrop: E,
6054
+ onDragOver: w
6051
6055
  }
6052
6056
  ),
6053
6057
  /* @__PURE__ */ g.jsx("tr", { children: i.columns && ((k = i.columns) == null ? void 0 : k.map(
@@ -6086,7 +6090,7 @@ const Bs = ({
6086
6090
  )
6087
6091
  )) })
6088
6092
  ] }),
6089
- /* @__PURE__ */ g.jsx("tbody", { ...S, children: b.map(({ item: _, index: T, offsetTop: D }) => {
6093
+ /* @__PURE__ */ g.jsx("tbody", { ...b, children: S.map(({ item: _, index: T, offsetTop: D }) => {
6090
6094
  const N = _.rowId || _.value || `${_.isGroup ? "group" : "row"}-${T}`;
6091
6095
  return _.isGroup ? /* @__PURE__ */ g.jsx(
6092
6096
  Vs,
@@ -6202,63 +6206,63 @@ const Bs = ({
6202
6206
  onCheckObj: o,
6203
6207
  onContextMenu: c
6204
6208
  }) => {
6205
- var b, O;
6209
+ var S, O;
6206
6210
  const [l, u] = q({}), { translate: f } = je();
6207
6211
  ne(() => {
6208
6212
  u(v(r));
6209
6213
  }, [r]);
6210
- const d = (S, y) => {
6214
+ const d = (b, y) => {
6211
6215
  u((R) => ({
6212
6216
  ...R,
6213
- [S]: {
6214
- ...R[S],
6217
+ [b]: {
6218
+ ...R[b],
6215
6219
  obj: {
6216
- ...R[S].obj,
6220
+ ...R[b].obj,
6217
6221
  k: y.obj.k
6218
6222
  },
6219
6223
  decode: y.decode,
6220
6224
  data: {
6221
- ...R[S].data,
6225
+ ...R[b].data,
6222
6226
  error: void 0
6223
6227
  },
6224
6228
  // FIXME: remove this when webup.js will not use value
6225
6229
  value: y.obj.k
6226
6230
  }
6227
6231
  })), n && (y.shape == te.CHECKBOX || y.shape == te.SWITCH) && m();
6228
- }, m = (S) => {
6229
- const y = w();
6232
+ }, m = (b) => {
6233
+ const y = E();
6230
6234
  a({
6231
6235
  value: y,
6232
- cell: S
6236
+ cell: b
6233
6237
  });
6234
- }, p = async (S) => {
6238
+ }, p = async (b) => {
6235
6239
  var y, R;
6236
- if (l[S].obj.k != r.rows[0].cells[S].obj.k && ((y = l[S].inputSettings) != null && y.checkObject && o && ((await o({
6237
- obj: l[S].obj,
6238
- fun: l[S].fun,
6239
- cellId: S
6240
+ if (l[b].obj.k != r.rows[0].cells[b].obj.k && ((y = l[b].inputSettings) != null && y.checkObject && o && ((await o({
6241
+ obj: l[b].obj,
6242
+ fun: l[b].fun,
6243
+ cellId: b
6240
6244
  })).valid || u((_) => ({
6241
6245
  ..._,
6242
- [S]: {
6243
- ..._[S],
6246
+ [b]: {
6247
+ ..._[b],
6244
6248
  data: {
6245
- ..._[S].data,
6249
+ ..._[b].data,
6246
6250
  error: f(ke.CHECK_OBJECT_WRONG_VALIDATION)
6247
6251
  }
6248
6252
  }
6249
- }))), (R = l[S].inputSettings) != null && R.checkValueOnExit)) {
6250
- const k = w();
6253
+ }))), (R = l[b].inputSettings) != null && R.checkValueOnExit)) {
6254
+ const k = E();
6251
6255
  i == null || i({
6252
6256
  value: k,
6253
- cell: S
6257
+ cell: b
6254
6258
  });
6255
6259
  }
6256
- }, v = (S) => {
6260
+ }, v = (b) => {
6257
6261
  var R, k, _;
6258
- if (!((R = S.rows) != null && R.length) || !((k = S.columns) != null && k.length))
6262
+ if (!((R = b.rows) != null && R.length) || !((k = b.columns) != null && k.length))
6259
6263
  return {};
6260
- const y = (_ = S.rows) == null ? void 0 : _[0];
6261
- return S.columns.filter((T) => T.visible ?? !0).reduce((T, D) => {
6264
+ const y = (_ = b.rows) == null ? void 0 : _[0];
6265
+ return b.columns.filter((T) => T.visible ?? !0).reduce((T, D) => {
6262
6266
  const N = {
6263
6267
  ...y.cells[D.name],
6264
6268
  id: D.name,
@@ -6271,7 +6275,7 @@ const Bs = ({
6271
6275
  [D.name]: N
6272
6276
  };
6273
6277
  }, {});
6274
- }, w = () => ({
6278
+ }, E = () => ({
6275
6279
  before: r,
6276
6280
  after: {
6277
6281
  type: "SmeupDataTable",
@@ -6282,18 +6286,18 @@ const Bs = ({
6282
6286
  }
6283
6287
  ]
6284
6288
  }
6285
- }), E = ((O = (b = r.setup) == null ? void 0 : b.commands) == null ? void 0 : O.map((S, y) => /* @__PURE__ */ Ur(
6289
+ }), w = ((O = (S = r.setup) == null ? void 0 : S.commands) == null ? void 0 : O.map((b, y) => /* @__PURE__ */ Ur(
6286
6290
  Te,
6287
6291
  {
6288
- ...S,
6289
- decode: S.value,
6292
+ ...b,
6293
+ decode: b.value,
6290
6294
  id: `command-${y}`,
6291
6295
  key: `command-${y}`,
6292
6296
  shape: te.BUTTON,
6293
- onClick: () => m(S.obj.k)
6297
+ onClick: () => m(b.obj.k)
6294
6298
  }
6295
6299
  ))) || [];
6296
- return t || E.unshift(
6300
+ return t || w.unshift(
6297
6301
  /* @__PURE__ */ g.jsx(
6298
6302
  Te,
6299
6303
  {
@@ -6316,22 +6320,22 @@ const Bs = ({
6316
6320
  style: {
6317
6321
  padding: "1em 0"
6318
6322
  },
6319
- children: /* @__PURE__ */ g.jsx(it, { layout: r.rows[0].layout, children: Object.values(l).map((S) => /* @__PURE__ */ g.jsx(
6323
+ children: /* @__PURE__ */ g.jsx(it, { layout: r.rows[0].layout, children: Object.values(l).map((b) => /* @__PURE__ */ g.jsx(
6320
6324
  Te,
6321
6325
  {
6322
- ...S,
6323
- onChange: (y) => d(S.id, y),
6324
- onBlur: () => p(S.id),
6326
+ ...b,
6327
+ onChange: (y) => d(b.id, y),
6328
+ onBlur: () => p(b.id),
6325
6329
  onContextMenu: c,
6326
6330
  data: {
6327
- ...S.data,
6331
+ ...b.data,
6328
6332
  autocomplete: "off"
6329
6333
  }
6330
6334
  }
6331
6335
  )) })
6332
6336
  }
6333
6337
  ),
6334
- E.length > 0 && /* @__PURE__ */ g.jsx(
6338
+ w.length > 0 && /* @__PURE__ */ g.jsx(
6335
6339
  it,
6336
6340
  {
6337
6341
  layout: {
@@ -6340,13 +6344,13 @@ const Bs = ({
6340
6344
  id: "1",
6341
6345
  horizontal: !0,
6342
6346
  justify: "start",
6343
- content: E.map((S) => ({
6344
- id: S.props.id
6347
+ content: w.map((b) => ({
6348
+ id: b.props.id
6345
6349
  }))
6346
6350
  }
6347
6351
  ]
6348
6352
  },
6349
- children: E
6353
+ children: w
6350
6354
  }
6351
6355
  )
6352
6356
  ] });