@sme.up/ketchup2 2.0.0-SNAPSHOT-20250519131124 → 2.0.0-SNAPSHOT-20250519142626

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- var wr = Object.defineProperty;
2
- var Or = (s, e, t) => e in s ? wr(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
- var be = (s, e, t) => Or(s, typeof e != "symbol" ? e + "" : e, t);
1
+ var Or = Object.defineProperty;
2
+ var Tr = (n, e, t) => e in n ? Or(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var be = (n, e, t) => Tr(n, typeof e != "symbol" ? e + "" : e, t);
4
4
  import * as Me from "react";
5
- import ur, { useState as ee, useCallback as Te, useEffect as he, useRef as xe, useLayoutEffect as Tr, useId as Rr } from "react";
5
+ import fr, { useState as ee, useCallback as Te, useEffect as he, useRef as xe, useLayoutEffect as Rr, useId as Dr } from "react";
6
6
  var Fe = { exports: {} }, Re = {};
7
7
  /**
8
8
  * @license React
@@ -14,22 +14,22 @@ var Fe = { exports: {} }, Re = {};
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
16
  var Ot;
17
- function Dr() {
17
+ function Pr() {
18
18
  if (Ot) return Re;
19
19
  Ot = 1;
20
- var s = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
21
- function t(r, n, i) {
20
+ var n = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
21
+ function t(r, s, i) {
22
22
  var o = null;
23
- if (i !== void 0 && (o = "" + i), n.key !== void 0 && (o = "" + n.key), "key" in n) {
23
+ if (i !== void 0 && (o = "" + i), s.key !== void 0 && (o = "" + s.key), "key" in s) {
24
24
  i = {};
25
- for (var a in n)
26
- a !== "key" && (i[a] = n[a]);
27
- } else i = n;
28
- return n = i.ref, {
29
- $$typeof: s,
25
+ for (var a in s)
26
+ a !== "key" && (i[a] = s[a]);
27
+ } else i = s;
28
+ return s = i.ref, {
29
+ $$typeof: n,
30
30
  type: r,
31
31
  key: o,
32
- ref: n !== void 0 ? n : null,
32
+ ref: s !== void 0 ? s : null,
33
33
  props: i
34
34
  };
35
35
  }
@@ -46,12 +46,12 @@ var De = {};
46
46
  * LICENSE file in the root directory of this source tree.
47
47
  */
48
48
  var Tt;
49
- function Pr() {
49
+ function Ar() {
50
50
  return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && function() {
51
- function s(d) {
51
+ function n(d) {
52
52
  if (d == null) return null;
53
53
  if (typeof d == "function")
54
- return d.$$typeof === $ ? null : d.displayName || d.name || null;
54
+ return d.$$typeof === C ? null : d.displayName || d.name || null;
55
55
  if (typeof d == "string") return d;
56
56
  switch (d) {
57
57
  case v:
@@ -81,11 +81,11 @@ function Pr() {
81
81
  var m = d.render;
82
82
  return d = d.displayName, d || (d = m.displayName || m.name || "", d = d !== "" ? "ForwardRef(" + d + ")" : "ForwardRef"), d;
83
83
  case L:
84
- return m = d.displayName || null, m !== null ? m : s(d.type) || "Memo";
84
+ return m = d.displayName || null, m !== null ? m : n(d.type) || "Memo";
85
85
  case Y:
86
86
  m = d._payload, d = d._init;
87
87
  try {
88
- return s(d(m));
88
+ return n(d(m));
89
89
  } catch {
90
90
  }
91
91
  }
@@ -116,13 +116,13 @@ function Pr() {
116
116
  if (typeof d == "object" && d !== null && d.$$typeof === Y)
117
117
  return "<...>";
118
118
  try {
119
- var m = s(d);
119
+ var m = n(d);
120
120
  return m ? "<" + m + ">" : "<...>";
121
121
  } catch {
122
122
  return "<...>";
123
123
  }
124
124
  }
125
- function n() {
125
+ function s() {
126
126
  var d = M.A;
127
127
  return d === null ? null : d.getOwner();
128
128
  }
@@ -149,7 +149,7 @@ function Pr() {
149
149
  });
150
150
  }
151
151
  function l() {
152
- var d = s(this.type);
152
+ var d = n(this.type);
153
153
  return G[d] || (G[d] = !0, console.error(
154
154
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
155
155
  )), d = this.props.ref, d !== void 0 ? d : null;
@@ -187,24 +187,24 @@ function Pr() {
187
187
  }), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
188
188
  }
189
189
  function f(d, m, x, _, S, T, j, I) {
190
- var C = m.children;
191
- if (C !== void 0)
190
+ var $ = m.children;
191
+ if ($ !== void 0)
192
192
  if (_)
193
- if (J(C)) {
194
- for (_ = 0; _ < C.length; _++)
195
- u(C[_]);
196
- Object.freeze && Object.freeze(C);
193
+ if (J($)) {
194
+ for (_ = 0; _ < $.length; _++)
195
+ u($[_]);
196
+ Object.freeze && Object.freeze($);
197
197
  } else
198
198
  console.error(
199
199
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
200
200
  );
201
- else u(C);
201
+ else u($);
202
202
  if (U.call(m, "key")) {
203
- C = s(d);
203
+ $ = n(d);
204
204
  var q = Object.keys(m).filter(function(re) {
205
205
  return re !== "key";
206
206
  });
207
- _ = 0 < q.length ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}", k[C + _] || (q = 0 < q.length ? "{" + q.join(": ..., ") + ": ...}" : "{}", console.error(
207
+ _ = 0 < q.length ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}", k[$ + _] || (q = 0 < q.length ? "{" + q.join(": ..., ") + ": ...}" : "{}", console.error(
208
208
  `A props object containing a "key" prop is being spread into JSX:
209
209
  let props = %s;
210
210
  <%s {...props} />
@@ -212,25 +212,25 @@ React keys must be passed directly to JSX without using spread:
212
212
  let props = %s;
213
213
  <%s key={someKey} {...props} />`,
214
214
  _,
215
- C,
215
+ $,
216
216
  q,
217
- C
218
- ), k[C + _] = !0);
217
+ $
218
+ ), k[$ + _] = !0);
219
219
  }
220
- if (C = null, x !== void 0 && (t(x), C = "" + x), o(m) && (t(m.key), C = "" + m.key), "key" in m) {
220
+ if ($ = null, x !== void 0 && (t(x), $ = "" + x), o(m) && (t(m.key), $ = "" + m.key), "key" in m) {
221
221
  x = {};
222
222
  for (var W in m)
223
223
  W !== "key" && (x[W] = m[W]);
224
224
  } else x = m;
225
- return C && a(
225
+ return $ && a(
226
226
  x,
227
227
  typeof d == "function" ? d.displayName || d.name || "Unknown" : d
228
228
  ), c(
229
229
  d,
230
- C,
230
+ $,
231
231
  T,
232
232
  S,
233
- n(),
233
+ s(),
234
234
  x,
235
235
  j,
236
236
  I
@@ -239,7 +239,7 @@ React keys must be passed directly to JSX without using spread:
239
239
  function u(d) {
240
240
  typeof d == "object" && d !== null && d.$$typeof === h && d._store && (d._store.validated = 1);
241
241
  }
242
- var p = ur, h = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), w = Symbol.for("react.consumer"), A = Symbol.for("react.context"), D = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), Y = Symbol.for("react.lazy"), F = Symbol.for("react.activity"), $ = Symbol.for("react.client.reference"), M = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, U = Object.prototype.hasOwnProperty, J = Array.isArray, K = console.createTask ? console.createTask : function() {
242
+ var p = fr, h = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), w = Symbol.for("react.consumer"), A = Symbol.for("react.context"), D = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), Y = Symbol.for("react.lazy"), F = Symbol.for("react.activity"), C = Symbol.for("react.client.reference"), M = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, U = Object.prototype.hasOwnProperty, J = Array.isArray, K = console.createTask ? console.createTask : function() {
243
243
  return null;
244
244
  };
245
245
  p = {
@@ -279,40 +279,40 @@ React keys must be passed directly to JSX without using spread:
279
279
  }()), De;
280
280
  }
281
281
  var Rt;
282
- function Ar() {
283
- return Rt || (Rt = 1, process.env.NODE_ENV === "production" ? Fe.exports = Dr() : Fe.exports = Pr()), Fe.exports;
282
+ function Cr() {
283
+ return Rt || (Rt = 1, process.env.NODE_ENV === "production" ? Fe.exports = Pr() : Fe.exports = Ar()), Fe.exports;
284
284
  }
285
- var O = Ar();
286
- function $r(s, e) {
287
- if (s == null) return {};
285
+ var O = Cr();
286
+ function $r(n, e) {
287
+ if (n == null) return {};
288
288
  var t = {};
289
- for (var r in s) if ({}.hasOwnProperty.call(s, r)) {
289
+ for (var r in n) if ({}.hasOwnProperty.call(n, r)) {
290
290
  if (e.indexOf(r) !== -1) continue;
291
- t[r] = s[r];
291
+ t[r] = n[r];
292
292
  }
293
293
  return t;
294
294
  }
295
295
  function Be() {
296
- return Be = Object.assign ? Object.assign.bind() : function(s) {
296
+ return Be = Object.assign ? Object.assign.bind() : function(n) {
297
297
  for (var e = 1; e < arguments.length; e++) {
298
298
  var t = arguments[e];
299
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (s[r] = t[r]);
299
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
300
300
  }
301
- return s;
301
+ return n;
302
302
  }, Be.apply(null, arguments);
303
303
  }
304
- function gt(s, e) {
304
+ function gt(n, e) {
305
305
  return gt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, r) {
306
306
  return t.__proto__ = r, t;
307
- }, gt(s, e);
307
+ }, gt(n, e);
308
308
  }
309
- function Cr(s, e) {
310
- s.prototype = Object.create(e.prototype), s.prototype.constructor = s, gt(s, e);
309
+ function kr(n, e) {
310
+ n.prototype = Object.create(e.prototype), n.prototype.constructor = n, gt(n, e);
311
311
  }
312
- function it(s, e, t) {
313
- if (t || arguments.length === 2) for (var r = 0, n = e.length, i; r < n; r++)
312
+ function it(n, e, t) {
313
+ if (t || arguments.length === 2) for (var r = 0, s = e.length, i; r < s; r++)
314
314
  (i || !(r in e)) && (i || (i = Array.prototype.slice.call(e, 0, r)), i[r] = e[r]);
315
- return s.concat(i || Array.prototype.slice.call(e));
315
+ return n.concat(i || Array.prototype.slice.call(e));
316
316
  }
317
317
  var Ve = {};
318
318
  /*!
@@ -321,10 +321,10 @@ var Ve = {};
321
321
  * MIT Licensed
322
322
  */
323
323
  var Dt;
324
- function kr() {
324
+ function jr() {
325
325
  if (Dt) return Ve;
326
326
  Dt = 1;
327
- var s = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, e = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/, t = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, r = /\\([\u000b\u0020-\u00ff])/g, n = /([\\"])/g, i = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
327
+ var n = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, e = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/, t = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, r = /\\([\u000b\u0020-\u00ff])/g, s = /([\\"])/g, i = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
328
328
  Ve.format = o, Ve.parse = a;
329
329
  function o(u) {
330
330
  if (!u || typeof u != "object")
@@ -353,7 +353,7 @@ function kr() {
353
353
  var v = new f(g.toLowerCase());
354
354
  if (h !== -1) {
355
355
  var E, b, w;
356
- for (s.lastIndex = h; b = s.exec(p); ) {
356
+ for (n.lastIndex = h; b = n.exec(p); ) {
357
357
  if (b.index !== h)
358
358
  throw new TypeError("invalid parameter format");
359
359
  h += b[0].length, E = b[1].toLowerCase(), w = b[2], w.charCodeAt(0) === 34 && (w = w.slice(1, -1), w.indexOf("\\") !== -1 && (w = w.replace(r, "$1"))), v.parameters[E] = w;
@@ -375,80 +375,80 @@ function kr() {
375
375
  return p;
376
376
  if (p.length > 0 && !e.test(p))
377
377
  throw new TypeError("invalid parameter value");
378
- return '"' + p.replace(n, "\\$1") + '"';
378
+ return '"' + p.replace(s, "\\$1") + '"';
379
379
  }
380
380
  function f(u) {
381
381
  this.parameters = /* @__PURE__ */ Object.create(null), this.type = u;
382
382
  }
383
383
  return Ve;
384
384
  }
385
- var jr = kr(), Oe = /* @__PURE__ */ new Map(), fr = function(e) {
385
+ var Lr = jr(), Oe = /* @__PURE__ */ new Map(), dr = function(e) {
386
386
  return e.cloneNode(!0);
387
387
  }, Pt = function() {
388
388
  return window.location.protocol === "file:";
389
- }, dr = function(e, t, r) {
390
- var n = new XMLHttpRequest();
391
- n.onreadystatechange = function() {
389
+ }, pr = function(e, t, r) {
390
+ var s = new XMLHttpRequest();
391
+ s.onreadystatechange = function() {
392
392
  try {
393
- if (!/\.svg/i.test(e) && n.readyState === 2) {
394
- var i = n.getResponseHeader("Content-Type");
393
+ if (!/\.svg/i.test(e) && s.readyState === 2) {
394
+ var i = s.getResponseHeader("Content-Type");
395
395
  if (!i)
396
396
  throw new Error("Content type not found");
397
- var o = jr.parse(i).type;
397
+ var o = Lr.parse(i).type;
398
398
  if (!(o === "image/svg+xml" || o === "text/plain"))
399
399
  throw new Error("Invalid content type: ".concat(o));
400
400
  }
401
- if (n.readyState === 4) {
402
- if (n.status === 404 || n.responseXML === null)
401
+ if (s.readyState === 4) {
402
+ if (s.status === 404 || s.responseXML === null)
403
403
  throw new Error(Pt() ? "Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver." : "Unable to load SVG file: " + e);
404
- if (n.status === 200 || Pt() && n.status === 0)
405
- r(null, n);
404
+ if (s.status === 200 || Pt() && s.status === 0)
405
+ r(null, s);
406
406
  else
407
- throw new Error("There was a problem injecting the SVG: " + n.status + " " + n.statusText);
407
+ throw new Error("There was a problem injecting the SVG: " + s.status + " " + s.statusText);
408
408
  }
409
409
  } catch (a) {
410
- if (n.abort(), a instanceof Error)
411
- r(a, n);
410
+ if (s.abort(), a instanceof Error)
411
+ r(a, s);
412
412
  else
413
413
  throw a;
414
414
  }
415
- }, n.open("GET", e), n.withCredentials = t, n.overrideMimeType && n.overrideMimeType("text/xml"), n.send();
415
+ }, s.open("GET", e), s.withCredentials = t, s.overrideMimeType && s.overrideMimeType("text/xml"), s.send();
416
416
  }, ye = {}, At = function(e, t) {
417
417
  ye[e] = ye[e] || [], ye[e].push(t);
418
- }, Lr = function(e) {
418
+ }, Ir = function(e) {
419
419
  for (var t = function(o, a) {
420
420
  setTimeout(function() {
421
421
  if (Array.isArray(ye[e])) {
422
422
  var l = Oe.get(e), c = ye[e][o];
423
- l instanceof SVGSVGElement && c(null, fr(l)), l instanceof Error && c(l), o === ye[e].length - 1 && delete ye[e];
423
+ l instanceof SVGSVGElement && c(null, dr(l)), l instanceof Error && c(l), o === ye[e].length - 1 && delete ye[e];
424
424
  }
425
425
  }, 0);
426
- }, r = 0, n = ye[e].length; r < n; r++)
426
+ }, r = 0, s = ye[e].length; r < s; r++)
427
427
  t(r);
428
- }, Ir = function(e, t, r) {
428
+ }, Nr = function(e, t, r) {
429
429
  if (Oe.has(e)) {
430
- var n = Oe.get(e);
431
- if (n === void 0) {
430
+ var s = Oe.get(e);
431
+ if (s === void 0) {
432
432
  At(e, r);
433
433
  return;
434
434
  }
435
- if (n instanceof SVGSVGElement) {
436
- r(null, fr(n));
435
+ if (s instanceof SVGSVGElement) {
436
+ r(null, dr(s));
437
437
  return;
438
438
  }
439
439
  }
440
- Oe.set(e, void 0), At(e, r), dr(e, t, function(i, o) {
440
+ Oe.set(e, void 0), At(e, r), pr(e, t, function(i, o) {
441
441
  var a;
442
- i ? Oe.set(e, i) : ((a = o.responseXML) === null || a === void 0 ? void 0 : a.documentElement) instanceof SVGSVGElement && Oe.set(e, o.responseXML.documentElement), Lr(e);
442
+ i ? Oe.set(e, i) : ((a = o.responseXML) === null || a === void 0 ? void 0 : a.documentElement) instanceof SVGSVGElement && Oe.set(e, o.responseXML.documentElement), Ir(e);
443
443
  });
444
- }, Nr = function(e, t, r) {
445
- dr(e, t, function(n, i) {
444
+ }, Mr = function(e, t, r) {
445
+ pr(e, t, function(s, i) {
446
446
  var o;
447
- n ? r(n) : ((o = i.responseXML) === null || o === void 0 ? void 0 : o.documentElement) instanceof SVGSVGElement && r(null, i.responseXML.documentElement);
447
+ s ? r(s) : ((o = i.responseXML) === null || o === void 0 ? void 0 : o.documentElement) instanceof SVGSVGElement && r(null, i.responseXML.documentElement);
448
448
  });
449
- }, Mr = 0, Fr = function() {
450
- return ++Mr;
451
- }, ue = [], $t = {}, Vr = "http://www.w3.org/2000/svg", at = "http://www.w3.org/1999/xlink", Ct = function(e, t, r, n, i, o, a) {
449
+ }, Fr = 0, Vr = function() {
450
+ return ++Fr;
451
+ }, ue = [], Ct = {}, Yr = "http://www.w3.org/2000/svg", at = "http://www.w3.org/1999/xlink", $t = function(e, t, r, s, i, o, a) {
452
452
  var l = e.getAttribute("data-src") || e.getAttribute("src");
453
453
  if (!l) {
454
454
  a(new Error("Invalid data-src or src attribute"));
@@ -459,7 +459,7 @@ var jr = kr(), Oe = /* @__PURE__ */ new Map(), fr = function(e) {
459
459
  return;
460
460
  }
461
461
  ue.push(e), e.setAttribute("src", "");
462
- var c = n ? Ir : Nr;
462
+ var c = s ? Nr : Mr;
463
463
  c(l, i, function(f, u) {
464
464
  if (!u) {
465
465
  ue.splice(ue.indexOf(e), 1), e = null, a(f);
@@ -498,7 +498,7 @@ var jr = kr(), Oe = /* @__PURE__ */ new Map(), fr = function(e) {
498
498
  Object.keys(A).forEach(function(B) {
499
499
  D = B, P = A[B], y = u.querySelectorAll(D + "[id]");
500
500
  for (var k = function(_, S) {
501
- L = y[_].id, Y = L + "-" + Fr();
501
+ L = y[_].id, Y = L + "-" + Vr();
502
502
  var T;
503
503
  Array.prototype.forEach.call(P, function(N) {
504
504
  T = u.querySelectorAll("[" + N + '*="' + L + '"]');
@@ -507,9 +507,9 @@ var jr = kr(), Oe = /* @__PURE__ */ new Map(), fr = function(e) {
507
507
  te && !te.match(new RegExp('url\\("?#' + L + '"?\\)')) || T[z].setAttribute(N, "url(#" + Y + ")");
508
508
  }
509
509
  });
510
- for (var j = u.querySelectorAll("[*|href]"), I = [], C = 0, q = j.length; C < q; C++) {
511
- var W = j[C].getAttributeNS(at, "href");
512
- W && W.toString() === "#" + y[_].id && I.push(j[C]);
510
+ for (var j = u.querySelectorAll("[*|href]"), I = [], $ = 0, q = j.length; $ < q; $++) {
511
+ var W = j[$].getAttributeNS(at, "href");
512
+ W && W.toString() === "#" + y[_].id && I.push(j[$]);
513
513
  }
514
514
  for (var re = 0, R = I.length; re < R; re++)
515
515
  I[re].setAttributeNS(at, "href", "#" + Y);
@@ -519,33 +519,33 @@ var jr = kr(), Oe = /* @__PURE__ */ new Map(), fr = function(e) {
519
519
  });
520
520
  }
521
521
  u.removeAttribute("xmlns:a");
522
- for (var F = u.querySelectorAll("script"), $ = [], M, U, J = 0, K = F.length; J < K; J++)
523
- U = F[J].getAttribute("type"), (!U || U === "application/ecmascript" || U === "application/javascript" || U === "text/javascript") && (M = F[J].innerText || F[J].textContent, M && $.push(M), u.removeChild(F[J]));
524
- if ($.length > 0 && (t === "always" || t === "once" && !$t[l])) {
525
- for (var ne = 0, G = $.length; ne < G; ne++)
526
- new Function($[ne])(window);
527
- $t[l] = !0;
522
+ for (var F = u.querySelectorAll("script"), C = [], M, U, J = 0, K = F.length; J < K; J++)
523
+ U = F[J].getAttribute("type"), (!U || U === "application/ecmascript" || U === "application/javascript" || U === "text/javascript") && (M = F[J].innerText || F[J].textContent, M && C.push(M), u.removeChild(F[J]));
524
+ if (C.length > 0 && (t === "always" || t === "once" && !Ct[l])) {
525
+ for (var ne = 0, G = C.length; ne < G; ne++)
526
+ new Function(C[ne])(window);
527
+ Ct[l] = !0;
528
528
  }
529
529
  var V = u.querySelectorAll("style");
530
530
  if (Array.prototype.forEach.call(V, function(B) {
531
531
  B.textContent += "";
532
- }), u.setAttribute("xmlns", Vr), u.setAttribute("xmlns:xlink", at), o(u), !e.parentNode) {
532
+ }), u.setAttribute("xmlns", Yr), u.setAttribute("xmlns:xlink", at), o(u), !e.parentNode) {
533
533
  ue.splice(ue.indexOf(e), 1), e = null, a(new Error("Parent node is null"));
534
534
  return;
535
535
  }
536
536
  e.parentNode.replaceChild(u, e), ue.splice(ue.indexOf(e), 1), e = null, a(null, u);
537
537
  });
538
- }, Yr = function(e, t) {
539
- var r = t === void 0 ? {} : t, n = r.afterAll, i = n === void 0 ? function() {
540
- } : n, o = r.afterEach, a = o === void 0 ? function() {
538
+ }, Ur = function(e, t) {
539
+ var r = t === void 0 ? {} : t, s = r.afterAll, i = s === void 0 ? function() {
540
+ } : s, o = r.afterEach, a = o === void 0 ? function() {
541
541
  } : o, l = r.beforeEach, c = l === void 0 ? function() {
542
542
  } : l, f = r.cacheRequests, u = f === void 0 ? !0 : f, p = r.evalScripts, h = p === void 0 ? "never" : p, g = r.httpRequestWithCredentials, v = g === void 0 ? !1 : g, E = r.renumerateIRIElements, b = E === void 0 ? !0 : E;
543
543
  if (e && "length" in e)
544
544
  for (var w = 0, A = 0, D = e.length; A < D; A++)
545
- Ct(e[A], h, b, u, v, c, function(y, P) {
545
+ $t(e[A], h, b, u, v, c, function(y, P) {
546
546
  a(y, P), e && "length" in e && e.length === ++w && i(w);
547
547
  });
548
- else e ? Ct(e, h, b, u, v, c, function(y, P) {
548
+ else e ? $t(e, h, b, u, v, c, function(y, P) {
549
549
  a(y, P), i(1), e = null;
550
550
  }) : i(0);
551
551
  }, Ye = { exports: {} }, Ue = { exports: {} }, X = {};
@@ -558,10 +558,10 @@ var jr = kr(), Oe = /* @__PURE__ */ new Map(), fr = function(e) {
558
558
  * LICENSE file in the root directory of this source tree.
559
559
  */
560
560
  var kt;
561
- function Ur() {
561
+ function Wr() {
562
562
  if (kt) return X;
563
563
  kt = 1;
564
- var s = typeof Symbol == "function" && Symbol.for, e = s ? Symbol.for("react.element") : 60103, t = s ? Symbol.for("react.portal") : 60106, r = s ? Symbol.for("react.fragment") : 60107, n = s ? Symbol.for("react.strict_mode") : 60108, i = s ? Symbol.for("react.profiler") : 60114, o = s ? Symbol.for("react.provider") : 60109, a = s ? Symbol.for("react.context") : 60110, l = s ? Symbol.for("react.async_mode") : 60111, c = s ? Symbol.for("react.concurrent_mode") : 60111, f = s ? Symbol.for("react.forward_ref") : 60112, u = s ? Symbol.for("react.suspense") : 60113, p = s ? Symbol.for("react.suspense_list") : 60120, h = s ? Symbol.for("react.memo") : 60115, g = s ? Symbol.for("react.lazy") : 60116, v = s ? Symbol.for("react.block") : 60121, E = s ? Symbol.for("react.fundamental") : 60117, b = s ? Symbol.for("react.responder") : 60118, w = s ? Symbol.for("react.scope") : 60119;
564
+ var n = typeof Symbol == "function" && Symbol.for, e = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, r = n ? Symbol.for("react.fragment") : 60107, s = n ? Symbol.for("react.strict_mode") : 60108, i = n ? Symbol.for("react.profiler") : 60114, o = n ? Symbol.for("react.provider") : 60109, a = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, c = n ? Symbol.for("react.concurrent_mode") : 60111, f = n ? Symbol.for("react.forward_ref") : 60112, u = n ? Symbol.for("react.suspense") : 60113, p = n ? Symbol.for("react.suspense_list") : 60120, h = n ? Symbol.for("react.memo") : 60115, g = n ? Symbol.for("react.lazy") : 60116, v = n ? Symbol.for("react.block") : 60121, E = n ? Symbol.for("react.fundamental") : 60117, b = n ? Symbol.for("react.responder") : 60118, w = n ? Symbol.for("react.scope") : 60119;
565
565
  function A(y) {
566
566
  if (typeof y == "object" && y !== null) {
567
567
  var P = y.$$typeof;
@@ -572,7 +572,7 @@ function Ur() {
572
572
  case c:
573
573
  case r:
574
574
  case i:
575
- case n:
575
+ case s:
576
576
  case u:
577
577
  return y;
578
578
  default:
@@ -595,7 +595,7 @@ function Ur() {
595
595
  function D(y) {
596
596
  return A(y) === c;
597
597
  }
598
- return X.AsyncMode = l, X.ConcurrentMode = c, X.ContextConsumer = a, X.ContextProvider = o, X.Element = e, X.ForwardRef = f, X.Fragment = r, X.Lazy = g, X.Memo = h, X.Portal = t, X.Profiler = i, X.StrictMode = n, X.Suspense = u, X.isAsyncMode = function(y) {
598
+ return X.AsyncMode = l, X.ConcurrentMode = c, X.ContextConsumer = a, X.ContextProvider = o, X.Element = e, X.ForwardRef = f, X.Fragment = r, X.Lazy = g, X.Memo = h, X.Portal = t, X.Profiler = i, X.StrictMode = s, X.Suspense = u, X.isAsyncMode = function(y) {
599
599
  return D(y) || A(y) === l;
600
600
  }, X.isConcurrentMode = D, X.isContextConsumer = function(y) {
601
601
  return A(y) === a;
@@ -616,11 +616,11 @@ function Ur() {
616
616
  }, X.isProfiler = function(y) {
617
617
  return A(y) === i;
618
618
  }, X.isStrictMode = function(y) {
619
- return A(y) === n;
619
+ return A(y) === s;
620
620
  }, X.isSuspense = function(y) {
621
621
  return A(y) === u;
622
622
  }, X.isValidElementType = function(y) {
623
- return typeof y == "string" || typeof y == "function" || y === r || y === c || y === i || y === n || y === u || y === p || typeof y == "object" && y !== null && (y.$$typeof === g || y.$$typeof === h || y.$$typeof === o || y.$$typeof === a || y.$$typeof === f || y.$$typeof === E || y.$$typeof === b || y.$$typeof === w || y.$$typeof === v);
623
+ return typeof y == "string" || typeof y == "function" || y === r || y === c || y === i || y === s || y === u || y === p || typeof y == "object" && y !== null && (y.$$typeof === g || y.$$typeof === h || y.$$typeof === o || y.$$typeof === a || y.$$typeof === f || y.$$typeof === E || y.$$typeof === b || y.$$typeof === w || y.$$typeof === v);
624
624
  }, X.typeOf = A, X;
625
625
  }
626
626
  var Z = {};
@@ -633,12 +633,12 @@ var Z = {};
633
633
  * LICENSE file in the root directory of this source tree.
634
634
  */
635
635
  var jt;
636
- function Wr() {
636
+ function Hr() {
637
637
  return jt || (jt = 1, process.env.NODE_ENV !== "production" && function() {
638
- var s = typeof Symbol == "function" && Symbol.for, e = s ? Symbol.for("react.element") : 60103, t = s ? Symbol.for("react.portal") : 60106, r = s ? Symbol.for("react.fragment") : 60107, n = s ? Symbol.for("react.strict_mode") : 60108, i = s ? Symbol.for("react.profiler") : 60114, o = s ? Symbol.for("react.provider") : 60109, a = s ? Symbol.for("react.context") : 60110, l = s ? Symbol.for("react.async_mode") : 60111, c = s ? Symbol.for("react.concurrent_mode") : 60111, f = s ? Symbol.for("react.forward_ref") : 60112, u = s ? Symbol.for("react.suspense") : 60113, p = s ? Symbol.for("react.suspense_list") : 60120, h = s ? Symbol.for("react.memo") : 60115, g = s ? Symbol.for("react.lazy") : 60116, v = s ? Symbol.for("react.block") : 60121, E = s ? Symbol.for("react.fundamental") : 60117, b = s ? Symbol.for("react.responder") : 60118, w = s ? Symbol.for("react.scope") : 60119;
638
+ var n = typeof Symbol == "function" && Symbol.for, e = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, r = n ? Symbol.for("react.fragment") : 60107, s = n ? Symbol.for("react.strict_mode") : 60108, i = n ? Symbol.for("react.profiler") : 60114, o = n ? Symbol.for("react.provider") : 60109, a = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, c = n ? Symbol.for("react.concurrent_mode") : 60111, f = n ? Symbol.for("react.forward_ref") : 60112, u = n ? Symbol.for("react.suspense") : 60113, p = n ? Symbol.for("react.suspense_list") : 60120, h = n ? Symbol.for("react.memo") : 60115, g = n ? Symbol.for("react.lazy") : 60116, v = n ? Symbol.for("react.block") : 60121, E = n ? Symbol.for("react.fundamental") : 60117, b = n ? Symbol.for("react.responder") : 60118, w = n ? Symbol.for("react.scope") : 60119;
639
639
  function A(R) {
640
640
  return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
641
- R === r || R === c || R === i || R === n || R === u || R === p || typeof R == "object" && R !== null && (R.$$typeof === g || R.$$typeof === h || R.$$typeof === o || R.$$typeof === a || R.$$typeof === f || R.$$typeof === E || R.$$typeof === b || R.$$typeof === w || R.$$typeof === v);
641
+ R === r || R === c || R === i || R === s || R === u || R === p || typeof R == "object" && R !== null && (R.$$typeof === g || R.$$typeof === h || R.$$typeof === o || R.$$typeof === a || R.$$typeof === f || R.$$typeof === E || R.$$typeof === b || R.$$typeof === w || R.$$typeof === v);
642
642
  }
643
643
  function D(R) {
644
644
  if (typeof R == "object" && R !== null) {
@@ -651,7 +651,7 @@ function Wr() {
651
651
  case c:
652
652
  case r:
653
653
  case i:
654
- case n:
654
+ case s:
655
655
  case u:
656
656
  return z;
657
657
  default:
@@ -672,7 +672,7 @@ function Wr() {
672
672
  }
673
673
  }
674
674
  }
675
- var y = l, P = c, L = a, Y = o, F = e, $ = f, M = r, U = g, J = h, K = t, ne = i, G = n, V = u, B = !1;
675
+ var y = l, P = c, L = a, Y = o, F = e, C = f, M = r, U = g, J = h, K = t, ne = i, G = s, V = u, B = !1;
676
676
  function k(R) {
677
677
  return B || (B = !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.")), d(R) || D(R) === l;
678
678
  }
@@ -700,24 +700,24 @@ function Wr() {
700
700
  function I(R) {
701
701
  return D(R) === h;
702
702
  }
703
- function C(R) {
703
+ function $(R) {
704
704
  return D(R) === t;
705
705
  }
706
706
  function q(R) {
707
707
  return D(R) === i;
708
708
  }
709
709
  function W(R) {
710
- return D(R) === n;
710
+ return D(R) === s;
711
711
  }
712
712
  function re(R) {
713
713
  return D(R) === u;
714
714
  }
715
- Z.AsyncMode = y, Z.ConcurrentMode = P, Z.ContextConsumer = L, Z.ContextProvider = Y, Z.Element = F, Z.ForwardRef = $, Z.Fragment = M, Z.Lazy = U, Z.Memo = J, Z.Portal = K, Z.Profiler = ne, Z.StrictMode = G, Z.Suspense = V, Z.isAsyncMode = k, Z.isConcurrentMode = d, Z.isContextConsumer = m, Z.isContextProvider = x, Z.isElement = _, Z.isForwardRef = S, Z.isFragment = T, Z.isLazy = j, Z.isMemo = I, Z.isPortal = C, Z.isProfiler = q, Z.isStrictMode = W, Z.isSuspense = re, Z.isValidElementType = A, Z.typeOf = D;
715
+ Z.AsyncMode = y, Z.ConcurrentMode = P, Z.ContextConsumer = L, Z.ContextProvider = Y, Z.Element = F, Z.ForwardRef = C, Z.Fragment = M, Z.Lazy = U, Z.Memo = J, Z.Portal = K, Z.Profiler = ne, Z.StrictMode = G, Z.Suspense = V, Z.isAsyncMode = k, Z.isConcurrentMode = d, Z.isContextConsumer = m, Z.isContextProvider = x, Z.isElement = _, Z.isForwardRef = S, Z.isFragment = T, Z.isLazy = j, Z.isMemo = I, Z.isPortal = $, Z.isProfiler = q, Z.isStrictMode = W, Z.isSuspense = re, Z.isValidElementType = A, Z.typeOf = D;
716
716
  }()), Z;
717
717
  }
718
718
  var Lt;
719
- function pr() {
720
- return Lt || (Lt = 1, process.env.NODE_ENV === "production" ? Ue.exports = Ur() : Ue.exports = Wr()), Ue.exports;
719
+ function hr() {
720
+ return Lt || (Lt = 1, process.env.NODE_ENV === "production" ? Ue.exports = Wr() : Ue.exports = Hr()), Ue.exports;
721
721
  }
722
722
  /*
723
723
  object-assign
@@ -725,16 +725,16 @@ object-assign
725
725
  @license MIT
726
726
  */
727
727
  var ot, It;
728
- function Hr() {
728
+ function qr() {
729
729
  if (It) return ot;
730
730
  It = 1;
731
- var s = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
731
+ var n = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
732
732
  function r(i) {
733
733
  if (i == null)
734
734
  throw new TypeError("Object.assign cannot be called with null or undefined");
735
735
  return Object(i);
736
736
  }
737
- function n() {
737
+ function s() {
738
738
  try {
739
739
  if (!Object.assign)
740
740
  return !1;
@@ -756,13 +756,13 @@ function Hr() {
756
756
  return !1;
757
757
  }
758
758
  }
759
- return ot = n() ? Object.assign : function(i, o) {
759
+ return ot = s() ? Object.assign : function(i, o) {
760
760
  for (var a, l = r(i), c, f = 1; f < arguments.length; f++) {
761
761
  a = Object(arguments[f]);
762
762
  for (var u in a)
763
763
  e.call(a, u) && (l[u] = a[u]);
764
- if (s) {
765
- c = s(a);
764
+ if (n) {
765
+ c = n(a);
766
766
  for (var p = 0; p < c.length; p++)
767
767
  t.call(a, c[p]) && (l[c[p]] = a[c[p]]);
768
768
  }
@@ -774,22 +774,22 @@ var lt, Nt;
774
774
  function St() {
775
775
  if (Nt) return lt;
776
776
  Nt = 1;
777
- var s = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
778
- return lt = s, lt;
777
+ var n = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
778
+ return lt = n, lt;
779
779
  }
780
780
  var ct, Mt;
781
- function hr() {
781
+ function mr() {
782
782
  return Mt || (Mt = 1, ct = Function.call.bind(Object.prototype.hasOwnProperty)), ct;
783
783
  }
784
784
  var ut, Ft;
785
- function qr() {
785
+ function Kr() {
786
786
  if (Ft) return ut;
787
787
  Ft = 1;
788
- var s = function() {
788
+ var n = function() {
789
789
  };
790
790
  if (process.env.NODE_ENV !== "production") {
791
- var e = /* @__PURE__ */ St(), t = {}, r = /* @__PURE__ */ hr();
792
- s = function(i) {
791
+ var e = /* @__PURE__ */ St(), t = {}, r = /* @__PURE__ */ mr();
792
+ n = function(i) {
793
793
  var o = "Warning: " + i;
794
794
  typeof console < "u" && console.error(o);
795
795
  try {
@@ -798,7 +798,7 @@ function qr() {
798
798
  }
799
799
  };
800
800
  }
801
- function n(i, o, a, l, c) {
801
+ function s(i, o, a, l, c) {
802
802
  if (process.env.NODE_ENV !== "production") {
803
803
  for (var f in i)
804
804
  if (r(i, f)) {
@@ -814,27 +814,27 @@ function qr() {
814
814
  } catch (g) {
815
815
  u = g;
816
816
  }
817
- if (u && !(u instanceof Error) && s(
817
+ if (u && !(u instanceof Error) && n(
818
818
  (l || "React class") + ": type specification of " + a + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
819
819
  ), u instanceof Error && !(u.message in t)) {
820
820
  t[u.message] = !0;
821
821
  var h = c ? c() : "";
822
- s(
822
+ n(
823
823
  "Failed " + a + " type: " + u.message + (h ?? "")
824
824
  );
825
825
  }
826
826
  }
827
827
  }
828
828
  }
829
- return n.resetWarningCache = function() {
829
+ return s.resetWarningCache = function() {
830
830
  process.env.NODE_ENV !== "production" && (t = {});
831
- }, ut = n, ut;
831
+ }, ut = s, ut;
832
832
  }
833
833
  var ft, Vt;
834
- function Kr() {
834
+ function Br() {
835
835
  if (Vt) return ft;
836
836
  Vt = 1;
837
- var s = pr(), e = Hr(), t = /* @__PURE__ */ St(), r = /* @__PURE__ */ hr(), n = /* @__PURE__ */ qr(), i = function() {
837
+ var n = hr(), e = qr(), t = /* @__PURE__ */ St(), r = /* @__PURE__ */ mr(), s = /* @__PURE__ */ Kr(), i = function() {
838
838
  };
839
839
  process.env.NODE_ENV !== "production" && (i = function(a) {
840
840
  var l = "Warning: " + a;
@@ -868,7 +868,7 @@ function Kr() {
868
868
  element: D(),
869
869
  elementType: y(),
870
870
  instanceOf: P,
871
- node: $(),
871
+ node: C(),
872
872
  objectOf: Y,
873
873
  oneOf: L,
874
874
  oneOfType: F,
@@ -885,31 +885,31 @@ function Kr() {
885
885
  function E(d) {
886
886
  if (process.env.NODE_ENV !== "production")
887
887
  var m = {}, x = 0;
888
- function _(T, j, I, C, q, W, re) {
889
- if (C = C || p, W = W || I, re !== t) {
888
+ function _(T, j, I, $, q, W, re) {
889
+ if ($ = $ || p, W = W || I, re !== t) {
890
890
  if (l) {
891
891
  var R = new Error(
892
892
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
893
893
  );
894
894
  throw R.name = "Invariant Violation", R;
895
895
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
896
- var N = C + ":" + I;
896
+ var N = $ + ":" + I;
897
897
  !m[N] && // Avoid spamming the console because they are often not actionable except for lib authors
898
898
  x < 3 && (i(
899
- "You are manually calling a React.PropTypes validation function for the `" + W + "` prop on `" + C + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
899
+ "You are manually calling a React.PropTypes validation function for the `" + W + "` prop on `" + $ + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
900
900
  ), m[N] = !0, x++);
901
901
  }
902
902
  }
903
- return j[I] == null ? T ? j[I] === null ? new v("The " + q + " `" + W + "` is marked as required " + ("in `" + C + "`, but its value is `null`.")) : new v("The " + q + " `" + W + "` is marked as required in " + ("`" + C + "`, but its value is `undefined`.")) : null : d(j, I, C, q, W);
903
+ return j[I] == null ? T ? j[I] === null ? new v("The " + q + " `" + W + "` is marked as required " + ("in `" + $ + "`, but its value is `null`.")) : new v("The " + q + " `" + W + "` is marked as required in " + ("`" + $ + "`, but its value is `undefined`.")) : null : d(j, I, $, q, W);
904
904
  }
905
905
  var S = _.bind(null, !1);
906
906
  return S.isRequired = _.bind(null, !0), S;
907
907
  }
908
908
  function b(d) {
909
909
  function m(x, _, S, T, j, I) {
910
- var C = x[_], q = G(C);
910
+ var $ = x[_], q = G($);
911
911
  if (q !== d) {
912
- var W = V(C);
912
+ var W = V($);
913
913
  return new v(
914
914
  "Invalid " + T + " `" + j + "` of type " + ("`" + W + "` supplied to `" + S + "`, expected ") + ("`" + d + "`."),
915
915
  { expectedType: d }
@@ -928,8 +928,8 @@ function Kr() {
928
928
  return new v("Property `" + j + "` of component `" + S + "` has invalid PropType notation inside arrayOf.");
929
929
  var I = x[_];
930
930
  if (!Array.isArray(I)) {
931
- var C = G(I);
932
- return new v("Invalid " + T + " `" + j + "` of type " + ("`" + C + "` supplied to `" + S + "`, expected an array."));
931
+ var $ = G(I);
932
+ return new v("Invalid " + T + " `" + j + "` of type " + ("`" + $ + "` supplied to `" + S + "`, expected an array."));
933
933
  }
934
934
  for (var q = 0; q < I.length; q++) {
935
935
  var W = d(I, q, S, T, j + "[" + q + "]", t);
@@ -954,7 +954,7 @@ function Kr() {
954
954
  function y() {
955
955
  function d(m, x, _, S, T) {
956
956
  var j = m[x];
957
- if (!s.isValidElementType(j)) {
957
+ if (!n.isValidElementType(j)) {
958
958
  var I = G(j);
959
959
  return new v("Invalid " + S + " `" + T + "` of type " + ("`" + I + "` supplied to `" + _ + "`, expected a single ReactElement type."));
960
960
  }
@@ -965,8 +965,8 @@ function Kr() {
965
965
  function P(d) {
966
966
  function m(x, _, S, T, j) {
967
967
  if (!(x[_] instanceof d)) {
968
- var I = d.name || p, C = k(x[_]);
969
- return new v("Invalid " + T + " `" + j + "` of type " + ("`" + C + "` supplied to `" + S + "`, expected ") + ("instance of `" + I + "`."));
968
+ var I = d.name || p, $ = k(x[_]);
969
+ return new v("Invalid " + T + " `" + j + "` of type " + ("`" + $ + "` supplied to `" + S + "`, expected ") + ("instance of `" + I + "`."));
970
970
  }
971
971
  return null;
972
972
  }
@@ -978,8 +978,8 @@ function Kr() {
978
978
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
979
979
  ) : i("Invalid argument supplied to oneOf, expected an array.")), o;
980
980
  function m(x, _, S, T, j) {
981
- for (var I = x[_], C = 0; C < d.length; C++)
982
- if (g(I, d[C]))
981
+ for (var I = x[_], $ = 0; $ < d.length; $++)
982
+ if (g(I, d[$]))
983
983
  return null;
984
984
  var q = JSON.stringify(d, function(re, R) {
985
985
  var N = V(R);
@@ -993,9 +993,9 @@ function Kr() {
993
993
  function m(x, _, S, T, j) {
994
994
  if (typeof d != "function")
995
995
  return new v("Property `" + j + "` of component `" + S + "` has invalid PropType notation inside objectOf.");
996
- var I = x[_], C = G(I);
997
- if (C !== "object")
998
- return new v("Invalid " + T + " `" + j + "` of type " + ("`" + C + "` supplied to `" + S + "`, expected an object."));
996
+ var I = x[_], $ = G(I);
997
+ if ($ !== "object")
998
+ return new v("Invalid " + T + " `" + j + "` of type " + ("`" + $ + "` supplied to `" + S + "`, expected an object."));
999
999
  for (var q in I)
1000
1000
  if (r(I, q)) {
1001
1001
  var W = d(I, q, S, T, j + "." + q, t);
@@ -1016,19 +1016,19 @@ function Kr() {
1016
1016
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + B(x) + " at index " + m + "."
1017
1017
  ), o;
1018
1018
  }
1019
- function _(S, T, j, I, C) {
1019
+ function _(S, T, j, I, $) {
1020
1020
  for (var q = [], W = 0; W < d.length; W++) {
1021
- var re = d[W], R = re(S, T, j, I, C, t);
1021
+ var re = d[W], R = re(S, T, j, I, $, t);
1022
1022
  if (R == null)
1023
1023
  return null;
1024
1024
  R.data && r(R.data, "expectedType") && q.push(R.data.expectedType);
1025
1025
  }
1026
1026
  var N = q.length > 0 ? ", expected one of type [" + q.join(", ") + "]" : "";
1027
- return new v("Invalid " + I + " `" + C + "` supplied to " + ("`" + j + "`" + N + "."));
1027
+ return new v("Invalid " + I + " `" + $ + "` supplied to " + ("`" + j + "`" + N + "."));
1028
1028
  }
1029
1029
  return E(_);
1030
1030
  }
1031
- function $() {
1031
+ function C() {
1032
1032
  function d(m, x, _, S, T) {
1033
1033
  return K(m[x]) ? null : new v("Invalid " + S + " `" + T + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
1034
1034
  }
@@ -1041,9 +1041,9 @@ function Kr() {
1041
1041
  }
1042
1042
  function U(d) {
1043
1043
  function m(x, _, S, T, j) {
1044
- var I = x[_], C = G(I);
1045
- if (C !== "object")
1046
- return new v("Invalid " + T + " `" + j + "` of type `" + C + "` " + ("supplied to `" + S + "`, expected `object`."));
1044
+ var I = x[_], $ = G(I);
1045
+ if ($ !== "object")
1046
+ return new v("Invalid " + T + " `" + j + "` of type `" + $ + "` " + ("supplied to `" + S + "`, expected `object`."));
1047
1047
  for (var q in d) {
1048
1048
  var W = d[q];
1049
1049
  if (typeof W != "function")
@@ -1058,9 +1058,9 @@ function Kr() {
1058
1058
  }
1059
1059
  function J(d) {
1060
1060
  function m(x, _, S, T, j) {
1061
- var I = x[_], C = G(I);
1062
- if (C !== "object")
1063
- return new v("Invalid " + T + " `" + j + "` of type `" + C + "` " + ("supplied to `" + S + "`, expected `object`."));
1061
+ var I = x[_], $ = G(I);
1062
+ if ($ !== "object")
1063
+ return new v("Invalid " + T + " `" + j + "` of type `" + $ + "` " + ("supplied to `" + S + "`, expected `object`."));
1064
1064
  var q = e({}, x[_], d);
1065
1065
  for (var W in q) {
1066
1066
  var re = d[W];
@@ -1148,21 +1148,21 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
1148
1148
  function k(d) {
1149
1149
  return !d.constructor || !d.constructor.name ? p : d.constructor.name;
1150
1150
  }
1151
- return h.checkPropTypes = n, h.resetWarningCache = n.resetWarningCache, h.PropTypes = h, h;
1151
+ return h.checkPropTypes = s, h.resetWarningCache = s.resetWarningCache, h.PropTypes = h, h;
1152
1152
  }, ft;
1153
1153
  }
1154
1154
  var dt, Yt;
1155
- function Br() {
1155
+ function zr() {
1156
1156
  if (Yt) return dt;
1157
1157
  Yt = 1;
1158
- var s = /* @__PURE__ */ St();
1158
+ var n = /* @__PURE__ */ St();
1159
1159
  function e() {
1160
1160
  }
1161
1161
  function t() {
1162
1162
  }
1163
1163
  return t.resetWarningCache = e, dt = function() {
1164
1164
  function r(o, a, l, c, f, u) {
1165
- if (u !== s) {
1165
+ if (u !== n) {
1166
1166
  var p = new Error(
1167
1167
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
1168
1168
  );
@@ -1170,7 +1170,7 @@ function Br() {
1170
1170
  }
1171
1171
  }
1172
1172
  r.isRequired = r;
1173
- function n() {
1173
+ function s() {
1174
1174
  return r;
1175
1175
  }
1176
1176
  var i = {
@@ -1183,16 +1183,16 @@ function Br() {
1183
1183
  string: r,
1184
1184
  symbol: r,
1185
1185
  any: r,
1186
- arrayOf: n,
1186
+ arrayOf: s,
1187
1187
  element: r,
1188
1188
  elementType: r,
1189
- instanceOf: n,
1189
+ instanceOf: s,
1190
1190
  node: r,
1191
- objectOf: n,
1192
- oneOf: n,
1193
- oneOfType: n,
1194
- shape: n,
1195
- exact: n,
1191
+ objectOf: s,
1192
+ oneOf: s,
1193
+ oneOfType: s,
1194
+ shape: s,
1195
+ exact: s,
1196
1196
  checkPropTypes: t,
1197
1197
  resetWarningCache: e
1198
1198
  };
@@ -1200,50 +1200,50 @@ function Br() {
1200
1200
  }, dt;
1201
1201
  }
1202
1202
  var Ut;
1203
- function zr() {
1203
+ function Gr() {
1204
1204
  if (Ut) return Ye.exports;
1205
1205
  if (Ut = 1, process.env.NODE_ENV !== "production") {
1206
- var s = pr(), e = !0;
1207
- Ye.exports = /* @__PURE__ */ Kr()(s.isElement, e);
1206
+ var n = hr(), e = !0;
1207
+ Ye.exports = /* @__PURE__ */ Br()(n.isElement, e);
1208
1208
  } else
1209
- Ye.exports = /* @__PURE__ */ Br()();
1209
+ Ye.exports = /* @__PURE__ */ zr()();
1210
1210
  return Ye.exports;
1211
1211
  }
1212
- var ie = /* @__PURE__ */ zr(), Gr = function(e) {
1212
+ var ie = /* @__PURE__ */ Gr(), Jr = function(e) {
1213
1213
  var t = (e == null ? void 0 : e.ownerDocument) || document;
1214
1214
  return t.defaultView || window;
1215
- }, Jr = function(e, t) {
1215
+ }, Xr = function(e, t) {
1216
1216
  for (var r in e)
1217
1217
  if (!(r in t))
1218
1218
  return !0;
1219
- for (var n in t)
1220
- if (e[n] !== t[n])
1219
+ for (var s in t)
1220
+ if (e[s] !== t[s])
1221
1221
  return !0;
1222
1222
  return !1;
1223
- }, Xr = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], We = "http://www.w3.org/2000/svg", Wt = "http://www.w3.org/1999/xlink", ze = /* @__PURE__ */ function(s) {
1223
+ }, Zr = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], We = "http://www.w3.org/2000/svg", Wt = "http://www.w3.org/1999/xlink", ze = /* @__PURE__ */ function(n) {
1224
1224
  function e() {
1225
- for (var r, n = arguments.length, i = new Array(n), o = 0; o < n; o++)
1225
+ for (var r, s = arguments.length, i = new Array(s), o = 0; o < s; o++)
1226
1226
  i[o] = arguments[o];
1227
- return r = s.call.apply(s, [this].concat(i)) || this, r.initialState = {
1227
+ return r = n.call.apply(n, [this].concat(i)) || this, r.initialState = {
1228
1228
  hasError: !1,
1229
1229
  isLoading: !0
1230
1230
  }, r.state = r.initialState, r._isMounted = !1, r.reactWrapper = void 0, r.nonReactWrapper = void 0, r.refCallback = function(a) {
1231
1231
  r.reactWrapper = a;
1232
1232
  }, r;
1233
1233
  }
1234
- Cr(e, s);
1234
+ kr(e, n);
1235
1235
  var t = e.prototype;
1236
1236
  return t.renderSVG = function() {
1237
- var n = this;
1238
- if (this.reactWrapper instanceof Gr(this.reactWrapper).Node) {
1237
+ var s = this;
1238
+ if (this.reactWrapper instanceof Jr(this.reactWrapper).Node) {
1239
1239
  var i = this.props, o = i.desc, a = i.evalScripts, l = i.httpRequestWithCredentials, c = i.renumerateIRIElements, f = i.src, u = i.title, p = i.useRequestCache, h = this.props.onError, g = this.props.beforeInjection, v = this.props.afterInjection, E = this.props.wrapper, b, w;
1240
1240
  E === "svg" ? (b = document.createElementNS(We, E), b.setAttribute("xmlns", We), b.setAttribute("xmlns:xlink", Wt), w = document.createElementNS(We, E)) : (b = document.createElement(E), w = document.createElement(E)), b.appendChild(w), w.dataset.src = f, this.nonReactWrapper = this.reactWrapper.appendChild(b);
1241
1241
  var A = function(L) {
1242
- if (n.removeSVG(), !n._isMounted) {
1242
+ if (s.removeSVG(), !s._isMounted) {
1243
1243
  h(L);
1244
1244
  return;
1245
1245
  }
1246
- n.setState(function() {
1246
+ s.setState(function() {
1247
1247
  return {
1248
1248
  hasError: !0,
1249
1249
  isLoading: !1
@@ -1256,7 +1256,7 @@ var ie = /* @__PURE__ */ zr(), Gr = function(e) {
1256
1256
  A(L);
1257
1257
  return;
1258
1258
  }
1259
- n._isMounted && n.setState(function() {
1259
+ s._isMounted && s.setState(function() {
1260
1260
  return {
1261
1261
  isLoading: !1
1262
1262
  };
@@ -1275,8 +1275,8 @@ var ie = /* @__PURE__ */ zr(), Gr = function(e) {
1275
1275
  F.innerHTML = o, L.prepend(F);
1276
1276
  }
1277
1277
  if (u) {
1278
- var $ = L.querySelector(":scope > title");
1279
- $ && L.removeChild($);
1278
+ var C = L.querySelector(":scope > title");
1279
+ C && L.removeChild(C);
1280
1280
  var M = document.createElement("title");
1281
1281
  M.innerHTML = u, L.prepend(M);
1282
1282
  }
@@ -1286,7 +1286,7 @@ var ie = /* @__PURE__ */ zr(), Gr = function(e) {
1286
1286
  A(U);
1287
1287
  }
1288
1288
  };
1289
- Yr(w, {
1289
+ Ur(w, {
1290
1290
  afterEach: D,
1291
1291
  beforeEach: y,
1292
1292
  cacheRequests: p,
@@ -1296,13 +1296,13 @@ var ie = /* @__PURE__ */ zr(), Gr = function(e) {
1296
1296
  });
1297
1297
  }
1298
1298
  }, t.removeSVG = function() {
1299
- var n;
1300
- (n = this.nonReactWrapper) != null && n.parentNode && (this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper), this.nonReactWrapper = null);
1299
+ var s;
1300
+ (s = this.nonReactWrapper) != null && s.parentNode && (this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper), this.nonReactWrapper = null);
1301
1301
  }, t.componentDidMount = function() {
1302
1302
  this._isMounted = !0, this.renderSVG();
1303
- }, t.componentDidUpdate = function(n) {
1303
+ }, t.componentDidUpdate = function(s) {
1304
1304
  var i = this;
1305
- Jr(Be({}, n), this.props) && this.setState(function() {
1305
+ Xr(Be({}, s), this.props) && this.setState(function() {
1306
1306
  return i.initialState;
1307
1307
  }, function() {
1308
1308
  i.removeSVG(), i.renderSVG();
@@ -1310,13 +1310,13 @@ var ie = /* @__PURE__ */ zr(), Gr = function(e) {
1310
1310
  }, t.componentWillUnmount = function() {
1311
1311
  this._isMounted = !1, this.removeSVG();
1312
1312
  }, t.render = function() {
1313
- var n = this.props;
1314
- n.afterInjection, n.beforeInjection, n.desc, n.evalScripts;
1315
- var i = n.fallback;
1316
- n.httpRequestWithCredentials;
1317
- var o = n.loading;
1318
- n.renumerateIRIElements, n.src, n.title, n.useRequestCache;
1319
- var a = n.wrapper, l = $r(n, Xr), c = a;
1313
+ var s = this.props;
1314
+ s.afterInjection, s.beforeInjection, s.desc, s.evalScripts;
1315
+ var i = s.fallback;
1316
+ s.httpRequestWithCredentials;
1317
+ var o = s.loading;
1318
+ s.renumerateIRIElements, s.src, s.title, s.useRequestCache;
1319
+ var a = s.wrapper, l = $r(s, Zr), c = a;
1320
1320
  return /* @__PURE__ */ Me.createElement(c, Be({}, l, {
1321
1321
  ref: this.refCallback
1322
1322
  }, a === "svg" ? {
@@ -1372,15 +1372,15 @@ let yt = {
1372
1372
  assets: "/"
1373
1373
  // Default for storybook isolation development
1374
1374
  };
1375
- const ts = (s) => {
1376
- yt = { ...yt, ...s };
1377
- }, Ht = (s) => `${yt.assets}/${s}`.replace(/\/+/g, "/"), ve = ur.memo(
1375
+ const rs = (n) => {
1376
+ yt = { ...yt, ...n };
1377
+ }, Ht = (n) => `${yt.assets}/${n}`.replace(/\/+/g, "/"), ve = fr.memo(
1378
1378
  ({
1379
- icon: s,
1379
+ icon: n,
1380
1380
  width: e,
1381
1381
  height: t,
1382
1382
  placeholderIcon: r,
1383
- color: n,
1383
+ color: s,
1384
1384
  disabled: i,
1385
1385
  state: o = "base",
1386
1386
  rotated: a = !1,
@@ -1388,7 +1388,7 @@ const ts = (s) => {
1388
1388
  isInteractable: c = !1,
1389
1389
  spin: f = !1
1390
1390
  }) => {
1391
- const [u, p] = ee(s), h = s.indexOf(".") > -1 || s.indexOf("/") > -1 || s.indexOf("\\") > -1, g = Ht(`assets/svg/${s}.svg`), v = Ht(
1391
+ const [u, p] = ee(n), h = n.indexOf(".") > -1 || n.indexOf("/") > -1 || n.indexOf("\\") > -1, g = Ht(`assets/svg/${n}.svg`), v = Ht(
1392
1392
  `assets/svg/${r}.svg`
1393
1393
  ), E = {
1394
1394
  svg: `${Pe["smp-icon"]} ${o ? Pe[`smp-icon-${o}`] : ""} ${a ? Pe["smp-icon-rotated"] : ""} ${c ? Pe["smp-icon-interactable"] : ""} ${f ? Pe["smp-icon-spin"] : ""}`
@@ -1401,7 +1401,7 @@ const ts = (s) => {
1401
1401
  src: u,
1402
1402
  width: e || "16px",
1403
1403
  height: t || "auto",
1404
- alt: s || "image",
1404
+ alt: n || "image",
1405
1405
  onError: () => p(v)
1406
1406
  }
1407
1407
  ) : /* @__PURE__ */ O.jsx(
@@ -1412,9 +1412,9 @@ const ts = (s) => {
1412
1412
  width: e || "1rem",
1413
1413
  height: t || "1rem",
1414
1414
  wrapper: "svg",
1415
- title: s,
1415
+ title: n,
1416
1416
  role: "application",
1417
- fill: n,
1417
+ fill: s,
1418
1418
  "aria-disabled": i,
1419
1419
  className: E.svg,
1420
1420
  onClick: b
@@ -1432,63 +1432,63 @@ const ts = (s) => {
1432
1432
  "smp-layout-1__value": "_smp-layout-1__value_ajkcc_76",
1433
1433
  "smp-layout-2__value": "_smp-layout-2__value_ajkcc_77",
1434
1434
  "smp-layout-2__icon": "_smp-layout-2__icon_ajkcc_84"
1435
- }, H = (s) => typeof s == "string", $e = () => {
1436
- let s, e;
1437
- const t = new Promise((r, n) => {
1438
- s = r, e = n;
1435
+ }, H = (n) => typeof n == "string", Ce = () => {
1436
+ let n, e;
1437
+ const t = new Promise((r, s) => {
1438
+ n = r, e = s;
1439
1439
  });
1440
- return t.resolve = s, t.reject = e, t;
1441
- }, qt = (s) => s == null ? "" : "" + s, Zr = (s, e, t) => {
1442
- s.forEach((r) => {
1440
+ return t.resolve = n, t.reject = e, t;
1441
+ }, qt = (n) => n == null ? "" : "" + n, Qr = (n, e, t) => {
1442
+ n.forEach((r) => {
1443
1443
  e[r] && (t[r] = e[r]);
1444
1444
  });
1445
- }, Qr = /###/g, Kt = (s) => s && s.indexOf("###") > -1 ? s.replace(Qr, ".") : s, Bt = (s) => !s || H(s), je = (s, e, t) => {
1445
+ }, en = /###/g, Kt = (n) => n && n.indexOf("###") > -1 ? n.replace(en, ".") : n, Bt = (n) => !n || H(n), je = (n, e, t) => {
1446
1446
  const r = H(e) ? e.split(".") : e;
1447
- let n = 0;
1448
- for (; n < r.length - 1; ) {
1449
- if (Bt(s)) return {};
1450
- const i = Kt(r[n]);
1451
- !s[i] && t && (s[i] = new t()), Object.prototype.hasOwnProperty.call(s, i) ? s = s[i] : s = {}, ++n;
1447
+ let s = 0;
1448
+ for (; s < r.length - 1; ) {
1449
+ if (Bt(n)) return {};
1450
+ const i = Kt(r[s]);
1451
+ !n[i] && t && (n[i] = new t()), Object.prototype.hasOwnProperty.call(n, i) ? n = n[i] : n = {}, ++s;
1452
1452
  }
1453
- return Bt(s) ? {} : {
1454
- obj: s,
1455
- k: Kt(r[n])
1453
+ return Bt(n) ? {} : {
1454
+ obj: n,
1455
+ k: Kt(r[s])
1456
1456
  };
1457
- }, zt = (s, e, t) => {
1457
+ }, zt = (n, e, t) => {
1458
1458
  const {
1459
1459
  obj: r,
1460
- k: n
1461
- } = je(s, e, Object);
1460
+ k: s
1461
+ } = je(n, e, Object);
1462
1462
  if (r !== void 0 || e.length === 1) {
1463
- r[n] = t;
1463
+ r[s] = t;
1464
1464
  return;
1465
1465
  }
1466
- let i = e[e.length - 1], o = e.slice(0, e.length - 1), a = je(s, o, Object);
1466
+ let i = e[e.length - 1], o = e.slice(0, e.length - 1), a = je(n, o, Object);
1467
1467
  for (; a.obj === void 0 && o.length; )
1468
- i = `${o[o.length - 1]}.${i}`, o = o.slice(0, o.length - 1), a = je(s, o, Object), a != null && a.obj && typeof a.obj[`${a.k}.${i}`] < "u" && (a.obj = void 0);
1468
+ i = `${o[o.length - 1]}.${i}`, o = o.slice(0, o.length - 1), a = je(n, o, Object), a != null && a.obj && typeof a.obj[`${a.k}.${i}`] < "u" && (a.obj = void 0);
1469
1469
  a.obj[`${a.k}.${i}`] = t;
1470
- }, en = (s, e, t, r) => {
1470
+ }, tn = (n, e, t, r) => {
1471
1471
  const {
1472
- obj: n,
1472
+ obj: s,
1473
1473
  k: i
1474
- } = je(s, e, Object);
1475
- n[i] = n[i] || [], n[i].push(t);
1476
- }, Ge = (s, e) => {
1474
+ } = je(n, e, Object);
1475
+ s[i] = s[i] || [], s[i].push(t);
1476
+ }, Ge = (n, e) => {
1477
1477
  const {
1478
1478
  obj: t,
1479
1479
  k: r
1480
- } = je(s, e);
1480
+ } = je(n, e);
1481
1481
  if (t && Object.prototype.hasOwnProperty.call(t, r))
1482
1482
  return t[r];
1483
- }, tn = (s, e, t) => {
1484
- const r = Ge(s, t);
1483
+ }, rn = (n, e, t) => {
1484
+ const r = Ge(n, t);
1485
1485
  return r !== void 0 ? r : Ge(e, t);
1486
- }, mr = (s, e, t) => {
1486
+ }, gr = (n, e, t) => {
1487
1487
  for (const r in e)
1488
- r !== "__proto__" && r !== "constructor" && (r in s ? H(s[r]) || s[r] instanceof String || H(e[r]) || e[r] instanceof String ? t && (s[r] = e[r]) : mr(s[r], e[r], t) : s[r] = e[r]);
1489
- return s;
1490
- }, _e = (s) => s.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
1491
- var rn = {
1488
+ r !== "__proto__" && r !== "constructor" && (r in n ? H(n[r]) || n[r] instanceof String || H(e[r]) || e[r] instanceof String ? t && (n[r] = e[r]) : gr(n[r], e[r], t) : n[r] = e[r]);
1489
+ return n;
1490
+ }, _e = (n) => n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
1491
+ var nn = {
1492
1492
  "&": "&amp;",
1493
1493
  "<": "&lt;",
1494
1494
  ">": "&gt;",
@@ -1496,8 +1496,8 @@ var rn = {
1496
1496
  "'": "&#39;",
1497
1497
  "/": "&#x2F;"
1498
1498
  };
1499
- const nn = (s) => H(s) ? s.replace(/[&<>"'\/]/g, (e) => rn[e]) : s;
1500
- class sn {
1499
+ const sn = (n) => H(n) ? n.replace(/[&<>"'\/]/g, (e) => nn[e]) : n;
1500
+ class an {
1501
1501
  constructor(e) {
1502
1502
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
1503
1503
  }
@@ -1509,51 +1509,51 @@ class sn {
1509
1509
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, r), this.regExpQueue.push(e), r;
1510
1510
  }
1511
1511
  }
1512
- const an = [" ", ",", "?", "!", ";"], on = new sn(20), ln = (s, e, t) => {
1512
+ const on = [" ", ",", "?", "!", ";"], ln = new an(20), cn = (n, e, t) => {
1513
1513
  e = e || "", t = t || "";
1514
- const r = an.filter((o) => e.indexOf(o) < 0 && t.indexOf(o) < 0);
1514
+ const r = on.filter((o) => e.indexOf(o) < 0 && t.indexOf(o) < 0);
1515
1515
  if (r.length === 0) return !0;
1516
- const n = on.getRegExp(`(${r.map((o) => o === "?" ? "\\?" : o).join("|")})`);
1517
- let i = !n.test(s);
1516
+ const s = ln.getRegExp(`(${r.map((o) => o === "?" ? "\\?" : o).join("|")})`);
1517
+ let i = !s.test(n);
1518
1518
  if (!i) {
1519
- const o = s.indexOf(t);
1520
- o > 0 && !n.test(s.substring(0, o)) && (i = !0);
1519
+ const o = n.indexOf(t);
1520
+ o > 0 && !s.test(n.substring(0, o)) && (i = !0);
1521
1521
  }
1522
1522
  return i;
1523
- }, vt = (s, e, t = ".") => {
1524
- if (!s) return;
1525
- if (s[e])
1526
- return Object.prototype.hasOwnProperty.call(s, e) ? s[e] : void 0;
1523
+ }, vt = (n, e, t = ".") => {
1524
+ if (!n) return;
1525
+ if (n[e])
1526
+ return Object.prototype.hasOwnProperty.call(n, e) ? n[e] : void 0;
1527
1527
  const r = e.split(t);
1528
- let n = s;
1528
+ let s = n;
1529
1529
  for (let i = 0; i < r.length; ) {
1530
- if (!n || typeof n != "object")
1530
+ if (!s || typeof s != "object")
1531
1531
  return;
1532
1532
  let o, a = "";
1533
1533
  for (let l = i; l < r.length; ++l)
1534
- if (l !== i && (a += t), a += r[l], o = n[a], o !== void 0) {
1534
+ if (l !== i && (a += t), a += r[l], o = s[a], o !== void 0) {
1535
1535
  if (["string", "number", "boolean"].indexOf(typeof o) > -1 && l < r.length - 1)
1536
1536
  continue;
1537
1537
  i += l - i + 1;
1538
1538
  break;
1539
1539
  }
1540
- n = o;
1540
+ s = o;
1541
1541
  }
1542
- return n;
1543
- }, Je = (s) => s == null ? void 0 : s.replace("_", "-"), cn = {
1542
+ return s;
1543
+ }, Je = (n) => n == null ? void 0 : n.replace("_", "-"), un = {
1544
1544
  type: "logger",
1545
- log(s) {
1546
- this.output("log", s);
1545
+ log(n) {
1546
+ this.output("log", n);
1547
1547
  },
1548
- warn(s) {
1549
- this.output("warn", s);
1548
+ warn(n) {
1549
+ this.output("warn", n);
1550
1550
  },
1551
- error(s) {
1552
- this.output("error", s);
1551
+ error(n) {
1552
+ this.output("error", n);
1553
1553
  },
1554
- output(s, e) {
1554
+ output(n, e) {
1555
1555
  var t, r;
1556
- (r = (t = console == null ? void 0 : console[s]) == null ? void 0 : t.apply) == null || r.call(t, console, e);
1556
+ (r = (t = console == null ? void 0 : console[n]) == null ? void 0 : t.apply) == null || r.call(t, console, e);
1557
1557
  }
1558
1558
  };
1559
1559
  class Xe {
@@ -1561,7 +1561,7 @@ class Xe {
1561
1561
  this.init(e, t);
1562
1562
  }
1563
1563
  init(e, t = {}) {
1564
- this.prefix = t.prefix || "i18next:", this.logger = e || cn, this.options = t, this.debug = t.debug;
1564
+ this.prefix = t.prefix || "i18next:", this.logger = e || un, this.options = t, this.debug = t.debug;
1565
1565
  }
1566
1566
  log(...e) {
1567
1567
  return this.forward(e, "log", "", !0);
@@ -1575,8 +1575,8 @@ class Xe {
1575
1575
  deprecate(...e) {
1576
1576
  return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
1577
1577
  }
1578
- forward(e, t, r, n) {
1579
- return n && !this.debug ? null : (H(e[0]) && (e[0] = `${r}${this.prefix} ${e[0]}`), this.logger[t](e));
1578
+ forward(e, t, r, s) {
1579
+ return s && !this.debug ? null : (H(e[0]) && (e[0] = `${r}${this.prefix} ${e[0]}`), this.logger[t](e));
1580
1580
  }
1581
1581
  create(e) {
1582
1582
  return new Xe(this.logger, {
@@ -1596,8 +1596,8 @@ class st {
1596
1596
  on(e, t) {
1597
1597
  return e.split(" ").forEach((r) => {
1598
1598
  this.observers[r] || (this.observers[r] = /* @__PURE__ */ new Map());
1599
- const n = this.observers[r].get(t) || 0;
1600
- this.observers[r].set(t, n + 1);
1599
+ const s = this.observers[r].get(t) || 0;
1600
+ this.observers[r].set(t, s + 1);
1601
1601
  }), this;
1602
1602
  }
1603
1603
  off(e, t) {
@@ -1610,12 +1610,12 @@ class st {
1610
1610
  }
1611
1611
  }
1612
1612
  emit(e, ...t) {
1613
- this.observers[e] && Array.from(this.observers[e].entries()).forEach(([n, i]) => {
1613
+ this.observers[e] && Array.from(this.observers[e].entries()).forEach(([s, i]) => {
1614
1614
  for (let o = 0; o < i; o++)
1615
- n(...t);
1616
- }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([n, i]) => {
1615
+ s(...t);
1616
+ }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([s, i]) => {
1617
1617
  for (let o = 0; o < i; o++)
1618
- n.apply(n, [e, ...t]);
1618
+ s.apply(s, [e, ...t]);
1619
1619
  });
1620
1620
  }
1621
1621
  }
@@ -1633,38 +1633,38 @@ class Gt extends st {
1633
1633
  const t = this.options.ns.indexOf(e);
1634
1634
  t > -1 && this.options.ns.splice(t, 1);
1635
1635
  }
1636
- getResource(e, t, r, n = {}) {
1636
+ getResource(e, t, r, s = {}) {
1637
1637
  var c, f;
1638
- const i = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, o = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
1638
+ const i = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, o = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
1639
1639
  let a;
1640
1640
  e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], r && (Array.isArray(r) ? a.push(...r) : H(r) && i ? a.push(...r.split(i)) : a.push(r)));
1641
1641
  const l = Ge(this.data, a);
1642
1642
  return !l && !t && !r && e.indexOf(".") > -1 && (e = a[0], t = a[1], r = a.slice(2).join(".")), l || !o || !H(r) ? l : vt((f = (c = this.data) == null ? void 0 : c[e]) == null ? void 0 : f[t], r, i);
1643
1643
  }
1644
- addResource(e, t, r, n, i = {
1644
+ addResource(e, t, r, s, i = {
1645
1645
  silent: !1
1646
1646
  }) {
1647
1647
  const o = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator;
1648
1648
  let a = [e, t];
1649
- r && (a = a.concat(o ? r.split(o) : r)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), zt(this.data, a, n), i.silent || this.emit("added", e, t, r, n);
1649
+ r && (a = a.concat(o ? r.split(o) : r)), e.indexOf(".") > -1 && (a = e.split("."), s = t, t = a[1]), this.addNamespaces(t), zt(this.data, a, s), i.silent || this.emit("added", e, t, r, s);
1650
1650
  }
1651
- addResources(e, t, r, n = {
1651
+ addResources(e, t, r, s = {
1652
1652
  silent: !1
1653
1653
  }) {
1654
1654
  for (const i in r)
1655
1655
  (H(r[i]) || Array.isArray(r[i])) && this.addResource(e, t, i, r[i], {
1656
1656
  silent: !0
1657
1657
  });
1658
- n.silent || this.emit("added", e, t, r);
1658
+ s.silent || this.emit("added", e, t, r);
1659
1659
  }
1660
- addResourceBundle(e, t, r, n, i, o = {
1660
+ addResourceBundle(e, t, r, s, i, o = {
1661
1661
  silent: !1,
1662
1662
  skipCopy: !1
1663
1663
  }) {
1664
1664
  let a = [e, t];
1665
- e.indexOf(".") > -1 && (a = e.split("."), n = r, r = t, t = a[1]), this.addNamespaces(t);
1665
+ e.indexOf(".") > -1 && (a = e.split("."), s = r, r = t, t = a[1]), this.addNamespaces(t);
1666
1666
  let l = Ge(this.data, a) || {};
1667
- o.skipCopy || (r = JSON.parse(JSON.stringify(r))), n ? mr(l, r, i) : l = {
1667
+ o.skipCopy || (r = JSON.parse(JSON.stringify(r))), s ? gr(l, r, i) : l = {
1668
1668
  ...l,
1669
1669
  ...r
1670
1670
  }, zt(this.data, a, l), o.silent || this.emit("added", e, t, r);
@@ -1683,28 +1683,28 @@ class Gt extends st {
1683
1683
  }
1684
1684
  hasLanguageSomeTranslations(e) {
1685
1685
  const t = this.getDataByLanguage(e);
1686
- return !!(t && Object.keys(t) || []).find((n) => t[n] && Object.keys(t[n]).length > 0);
1686
+ return !!(t && Object.keys(t) || []).find((s) => t[s] && Object.keys(t[s]).length > 0);
1687
1687
  }
1688
1688
  toJSON() {
1689
1689
  return this.data;
1690
1690
  }
1691
1691
  }
1692
- var gr = {
1692
+ var yr = {
1693
1693
  processors: {},
1694
- addPostProcessor(s) {
1695
- this.processors[s.name] = s;
1694
+ addPostProcessor(n) {
1695
+ this.processors[n.name] = n;
1696
1696
  },
1697
- handle(s, e, t, r, n) {
1698
- return s.forEach((i) => {
1697
+ handle(n, e, t, r, s) {
1698
+ return n.forEach((i) => {
1699
1699
  var o;
1700
- e = ((o = this.processors[i]) == null ? void 0 : o.process(e, t, r, n)) ?? e;
1700
+ e = ((o = this.processors[i]) == null ? void 0 : o.process(e, t, r, s)) ?? e;
1701
1701
  }), e;
1702
1702
  }
1703
1703
  };
1704
- const Jt = {}, Xt = (s) => !H(s) && typeof s != "boolean" && typeof s != "number";
1704
+ const Jt = {}, Xt = (n) => !H(n) && typeof n != "boolean" && typeof n != "number";
1705
1705
  class Ze extends st {
1706
1706
  constructor(e, t = {}) {
1707
- super(), Zr(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = pe.create("translator");
1707
+ super(), Qr(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = pe.create("translator");
1708
1708
  }
1709
1709
  changeLanguage(e) {
1710
1710
  e && (this.language = e);
@@ -1716,15 +1716,15 @@ class Ze extends st {
1716
1716
  ...t
1717
1717
  };
1718
1718
  if (e == null) return !1;
1719
- const n = this.resolve(e, r);
1720
- return (n == null ? void 0 : n.res) !== void 0;
1719
+ const s = this.resolve(e, r);
1720
+ return (s == null ? void 0 : s.res) !== void 0;
1721
1721
  }
1722
1722
  extractFromKey(e, t) {
1723
1723
  let r = t.nsSeparator !== void 0 ? t.nsSeparator : this.options.nsSeparator;
1724
1724
  r === void 0 && (r = ":");
1725
- const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
1725
+ const s = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
1726
1726
  let i = t.ns || this.options.defaultNS || [];
1727
- const o = r && e.indexOf(r) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !ln(e, r, n);
1727
+ const o = r && e.indexOf(r) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !cn(e, r, s);
1728
1728
  if (o && !a) {
1729
1729
  const l = e.match(this.interpolator.nestingRegexp);
1730
1730
  if (l && l.length > 0)
@@ -1733,7 +1733,7 @@ class Ze extends st {
1733
1733
  namespaces: H(i) ? [i] : i
1734
1734
  };
1735
1735
  const c = e.split(r);
1736
- (r !== n || r === n && this.options.ns.indexOf(c[0]) > -1) && (i = c.shift()), e = c.join(n);
1736
+ (r !== s || r === s && this.options.ns.indexOf(c[0]) > -1) && (i = c.shift()), e = c.join(s);
1737
1737
  }
1738
1738
  return {
1739
1739
  key: e,
@@ -1741,20 +1741,20 @@ class Ze extends st {
1741
1741
  };
1742
1742
  }
1743
1743
  translate(e, t, r) {
1744
- let n = typeof t == "object" ? {
1744
+ let s = typeof t == "object" ? {
1745
1745
  ...t
1746
1746
  } : t;
1747
- if (typeof n != "object" && this.options.overloadTranslationOptionHandler && (n = this.options.overloadTranslationOptionHandler(arguments)), typeof options == "object" && (n = {
1748
- ...n
1749
- }), n || (n = {}), e == null) return "";
1747
+ if (typeof s != "object" && this.options.overloadTranslationOptionHandler && (s = this.options.overloadTranslationOptionHandler(arguments)), typeof options == "object" && (s = {
1748
+ ...s
1749
+ }), s || (s = {}), e == null) return "";
1750
1750
  Array.isArray(e) || (e = [String(e)]);
1751
- const i = n.returnDetails !== void 0 ? n.returnDetails : this.options.returnDetails, o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, {
1751
+ const i = s.returnDetails !== void 0 ? s.returnDetails : this.options.returnDetails, o = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, {
1752
1752
  key: a,
1753
1753
  namespaces: l
1754
- } = this.extractFromKey(e[e.length - 1], n), c = l[l.length - 1];
1755
- let f = n.nsSeparator !== void 0 ? n.nsSeparator : this.options.nsSeparator;
1754
+ } = this.extractFromKey(e[e.length - 1], s), c = l[l.length - 1];
1755
+ let f = s.nsSeparator !== void 0 ? s.nsSeparator : this.options.nsSeparator;
1756
1756
  f === void 0 && (f = ":");
1757
- const u = n.lng || this.language, p = n.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
1757
+ const u = s.lng || this.language, p = s.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
1758
1758
  if ((u == null ? void 0 : u.toLowerCase()) === "cimode")
1759
1759
  return p ? i ? {
1760
1760
  res: `${c}${f}${a}`,
@@ -1762,94 +1762,94 @@ class Ze extends st {
1762
1762
  exactUsedKey: a,
1763
1763
  usedLng: u,
1764
1764
  usedNS: c,
1765
- usedParams: this.getUsedParamsDetails(n)
1765
+ usedParams: this.getUsedParamsDetails(s)
1766
1766
  } : `${c}${f}${a}` : i ? {
1767
1767
  res: a,
1768
1768
  usedKey: a,
1769
1769
  exactUsedKey: a,
1770
1770
  usedLng: u,
1771
1771
  usedNS: c,
1772
- usedParams: this.getUsedParamsDetails(n)
1772
+ usedParams: this.getUsedParamsDetails(s)
1773
1773
  } : a;
1774
- const h = this.resolve(e, n);
1774
+ const h = this.resolve(e, s);
1775
1775
  let g = h == null ? void 0 : h.res;
1776
- const v = (h == null ? void 0 : h.usedKey) || a, E = (h == null ? void 0 : h.exactUsedKey) || a, b = ["[object Number]", "[object Function]", "[object RegExp]"], w = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, A = !this.i18nFormat || this.i18nFormat.handleAsObject, D = n.count !== void 0 && !H(n.count), y = Ze.hasDefaultValue(n), P = D ? this.pluralResolver.getSuffix(u, n.count, n) : "", L = n.ordinal && D ? this.pluralResolver.getSuffix(u, n.count, {
1776
+ const v = (h == null ? void 0 : h.usedKey) || a, E = (h == null ? void 0 : h.exactUsedKey) || a, b = ["[object Number]", "[object Function]", "[object RegExp]"], w = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, A = !this.i18nFormat || this.i18nFormat.handleAsObject, D = s.count !== void 0 && !H(s.count), y = Ze.hasDefaultValue(s), P = D ? this.pluralResolver.getSuffix(u, s.count, s) : "", L = s.ordinal && D ? this.pluralResolver.getSuffix(u, s.count, {
1777
1777
  ordinal: !1
1778
- }) : "", Y = D && !n.ordinal && n.count === 0, F = Y && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${P}`] || n[`defaultValue${L}`] || n.defaultValue;
1779
- let $ = g;
1780
- A && !g && y && ($ = F);
1781
- const M = Xt($), U = Object.prototype.toString.apply($);
1782
- if (A && $ && M && b.indexOf(U) < 0 && !(H(w) && Array.isArray($))) {
1783
- if (!n.returnObjects && !this.options.returnObjects) {
1778
+ }) : "", Y = D && !s.ordinal && s.count === 0, F = Y && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${P}`] || s[`defaultValue${L}`] || s.defaultValue;
1779
+ let C = g;
1780
+ A && !g && y && (C = F);
1781
+ const M = Xt(C), U = Object.prototype.toString.apply(C);
1782
+ if (A && C && M && b.indexOf(U) < 0 && !(H(w) && Array.isArray(C))) {
1783
+ if (!s.returnObjects && !this.options.returnObjects) {
1784
1784
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
1785
- const J = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(v, $, {
1786
- ...n,
1785
+ const J = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(v, C, {
1786
+ ...s,
1787
1787
  ns: l
1788
1788
  }) : `key '${a} (${this.language})' returned an object instead of string.`;
1789
- return i ? (h.res = J, h.usedParams = this.getUsedParamsDetails(n), h) : J;
1789
+ return i ? (h.res = J, h.usedParams = this.getUsedParamsDetails(s), h) : J;
1790
1790
  }
1791
1791
  if (o) {
1792
- const J = Array.isArray($), K = J ? [] : {}, ne = J ? E : v;
1793
- for (const G in $)
1794
- if (Object.prototype.hasOwnProperty.call($, G)) {
1792
+ const J = Array.isArray(C), K = J ? [] : {}, ne = J ? E : v;
1793
+ for (const G in C)
1794
+ if (Object.prototype.hasOwnProperty.call(C, G)) {
1795
1795
  const V = `${ne}${o}${G}`;
1796
1796
  y && !g ? K[G] = this.translate(V, {
1797
- ...n,
1797
+ ...s,
1798
1798
  defaultValue: Xt(F) ? F[G] : void 0,
1799
1799
  joinArrays: !1,
1800
1800
  ns: l
1801
1801
  }) : K[G] = this.translate(V, {
1802
- ...n,
1802
+ ...s,
1803
1803
  joinArrays: !1,
1804
1804
  ns: l
1805
- }), K[G] === V && (K[G] = $[G]);
1805
+ }), K[G] === V && (K[G] = C[G]);
1806
1806
  }
1807
1807
  g = K;
1808
1808
  }
1809
1809
  } else if (A && H(w) && Array.isArray(g))
1810
- g = g.join(w), g && (g = this.extendTranslation(g, e, n, r));
1810
+ g = g.join(w), g && (g = this.extendTranslation(g, e, s, r));
1811
1811
  else {
1812
1812
  let J = !1, K = !1;
1813
1813
  !this.isValidLookup(g) && y && (J = !0, g = F), this.isValidLookup(g) || (K = !0, g = a);
1814
- const G = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && K ? void 0 : g, V = y && F !== g && this.options.updateMissing;
1814
+ const G = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && K ? void 0 : g, V = y && F !== g && this.options.updateMissing;
1815
1815
  if (K || J || V) {
1816
1816
  if (this.logger.log(V ? "updateKey" : "missingKey", u, c, a, V ? F : g), o) {
1817
1817
  const m = this.resolve(a, {
1818
- ...n,
1818
+ ...s,
1819
1819
  keySeparator: !1
1820
1820
  });
1821
1821
  m && m.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
1822
1822
  }
1823
1823
  let B = [];
1824
- const k = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language);
1824
+ const k = this.languageUtils.getFallbackCodes(this.options.fallbackLng, s.lng || this.language);
1825
1825
  if (this.options.saveMissingTo === "fallback" && k && k[0])
1826
1826
  for (let m = 0; m < k.length; m++)
1827
1827
  B.push(k[m]);
1828
- else this.options.saveMissingTo === "all" ? B = this.languageUtils.toResolveHierarchy(n.lng || this.language) : B.push(n.lng || this.language);
1828
+ else this.options.saveMissingTo === "all" ? B = this.languageUtils.toResolveHierarchy(s.lng || this.language) : B.push(s.lng || this.language);
1829
1829
  const d = (m, x, _) => {
1830
1830
  var T;
1831
1831
  const S = y && _ !== g ? _ : G;
1832
- this.options.missingKeyHandler ? this.options.missingKeyHandler(m, c, x, S, V, n) : (T = this.backendConnector) != null && T.saveMissing && this.backendConnector.saveMissing(m, c, x, S, V, n), this.emit("missingKey", m, c, x, g);
1832
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(m, c, x, S, V, s) : (T = this.backendConnector) != null && T.saveMissing && this.backendConnector.saveMissing(m, c, x, S, V, s), this.emit("missingKey", m, c, x, g);
1833
1833
  };
1834
1834
  this.options.saveMissing && (this.options.saveMissingPlurals && D ? B.forEach((m) => {
1835
- const x = this.pluralResolver.getSuffixes(m, n);
1836
- Y && n[`defaultValue${this.options.pluralSeparator}zero`] && x.indexOf(`${this.options.pluralSeparator}zero`) < 0 && x.push(`${this.options.pluralSeparator}zero`), x.forEach((_) => {
1837
- d([m], a + _, n[`defaultValue${_}`] || F);
1835
+ const x = this.pluralResolver.getSuffixes(m, s);
1836
+ Y && s[`defaultValue${this.options.pluralSeparator}zero`] && x.indexOf(`${this.options.pluralSeparator}zero`) < 0 && x.push(`${this.options.pluralSeparator}zero`), x.forEach((_) => {
1837
+ d([m], a + _, s[`defaultValue${_}`] || F);
1838
1838
  });
1839
1839
  }) : d(B, a, F));
1840
1840
  }
1841
- g = this.extendTranslation(g, e, n, h, r), K && g === a && this.options.appendNamespaceToMissingKey && (g = `${c}${f}${a}`), (K || J) && this.options.parseMissingKeyHandler && (g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}${f}${a}` : a, J ? g : void 0, n));
1841
+ g = this.extendTranslation(g, e, s, h, r), K && g === a && this.options.appendNamespaceToMissingKey && (g = `${c}${f}${a}`), (K || J) && this.options.parseMissingKeyHandler && (g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}${f}${a}` : a, J ? g : void 0, s));
1842
1842
  }
1843
- return i ? (h.res = g, h.usedParams = this.getUsedParamsDetails(n), h) : g;
1843
+ return i ? (h.res = g, h.usedParams = this.getUsedParamsDetails(s), h) : g;
1844
1844
  }
1845
- extendTranslation(e, t, r, n, i) {
1845
+ extendTranslation(e, t, r, s, i) {
1846
1846
  var l, c;
1847
1847
  if ((l = this.i18nFormat) != null && l.parse)
1848
1848
  e = this.i18nFormat.parse(e, {
1849
1849
  ...this.options.interpolation.defaultVariables,
1850
1850
  ...r
1851
- }, r.lng || this.language || n.usedLng, n.usedNS, n.usedKey, {
1852
- resolved: n
1851
+ }, r.lng || this.language || s.usedLng, s.usedNS, s.usedKey, {
1852
+ resolved: s
1853
1853
  });
1854
1854
  else if (!r.skipInterpolation) {
1855
1855
  r.interpolation && this.interpolator.init({
@@ -1869,33 +1869,33 @@ class Ze extends st {
1869
1869
  if (this.options.interpolation.defaultVariables && (p = {
1870
1870
  ...this.options.interpolation.defaultVariables,
1871
1871
  ...p
1872
- }), e = this.interpolator.interpolate(e, p, r.lng || this.language || n.usedLng, r), f) {
1872
+ }), e = this.interpolator.interpolate(e, p, r.lng || this.language || s.usedLng, r), f) {
1873
1873
  const h = e.match(this.interpolator.nestingRegexp), g = h && h.length;
1874
1874
  u < g && (r.nest = !1);
1875
1875
  }
1876
- !r.lng && n && n.res && (r.lng = this.language || n.usedLng), r.nest !== !1 && (e = this.interpolator.nest(e, (...h) => (i == null ? void 0 : i[0]) === h[0] && !r.context ? (this.logger.warn(`It seems you are nesting recursively key: ${h[0]} in key: ${t[0]}`), null) : this.translate(...h, t), r)), r.interpolation && this.interpolator.reset();
1876
+ !r.lng && s && s.res && (r.lng = this.language || s.usedLng), r.nest !== !1 && (e = this.interpolator.nest(e, (...h) => (i == null ? void 0 : i[0]) === h[0] && !r.context ? (this.logger.warn(`It seems you are nesting recursively key: ${h[0]} in key: ${t[0]}`), null) : this.translate(...h, t), r)), r.interpolation && this.interpolator.reset();
1877
1877
  }
1878
1878
  const o = r.postProcess || this.options.postProcess, a = H(o) ? [o] : o;
1879
- return e != null && (a != null && a.length) && r.applyPostProcessor !== !1 && (e = gr.handle(a, e, t, this.options && this.options.postProcessPassResolved ? {
1879
+ return e != null && (a != null && a.length) && r.applyPostProcessor !== !1 && (e = yr.handle(a, e, t, this.options && this.options.postProcessPassResolved ? {
1880
1880
  i18nResolved: {
1881
- ...n,
1881
+ ...s,
1882
1882
  usedParams: this.getUsedParamsDetails(r)
1883
1883
  },
1884
1884
  ...r
1885
1885
  } : r, this)), e;
1886
1886
  }
1887
1887
  resolve(e, t = {}) {
1888
- let r, n, i, o, a;
1888
+ let r, s, i, o, a;
1889
1889
  return H(e) && (e = [e]), e.forEach((l) => {
1890
1890
  if (this.isValidLookup(r)) return;
1891
1891
  const c = this.extractFromKey(l, t), f = c.key;
1892
- n = f;
1892
+ s = f;
1893
1893
  let u = c.namespaces;
1894
1894
  this.options.fallbackNS && (u = u.concat(this.options.fallbackNS));
1895
1895
  const p = t.count !== void 0 && !H(t.count), h = p && !t.ordinal && t.count === 0, g = t.context !== void 0 && (H(t.context) || typeof t.context == "number") && t.context !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
1896
1896
  u.forEach((E) => {
1897
1897
  var b, w;
1898
- this.isValidLookup(r) || (a = E, !Jt[`${v[0]}-${E}`] && ((b = this.utils) != null && b.hasLoadedNamespace) && !((w = this.utils) != null && w.hasLoadedNamespace(a)) && (Jt[`${v[0]}-${E}`] = !0, this.logger.warn(`key "${n}" for languages "${v.join(", ")}" won't get resolved as namespace "${a}" 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((A) => {
1898
+ this.isValidLookup(r) || (a = E, !Jt[`${v[0]}-${E}`] && ((b = this.utils) != null && b.hasLoadedNamespace) && !((w = this.utils) != null && w.hasLoadedNamespace(a)) && (Jt[`${v[0]}-${E}`] = !0, this.logger.warn(`key "${s}" for languages "${v.join(", ")}" won't get resolved as namespace "${a}" 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((A) => {
1899
1899
  var P;
1900
1900
  if (this.isValidLookup(r)) return;
1901
1901
  o = A;
@@ -1907,8 +1907,8 @@ class Ze extends st {
1907
1907
  p && (L = this.pluralResolver.getSuffix(A, t.count, t));
1908
1908
  const Y = `${this.options.pluralSeparator}zero`, F = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
1909
1909
  if (p && (D.push(f + L), t.ordinal && L.indexOf(F) === 0 && D.push(f + L.replace(F, this.options.pluralSeparator)), h && D.push(f + Y)), g) {
1910
- const $ = `${f}${this.options.contextSeparator}${t.context}`;
1911
- D.push($), p && (D.push($ + L), t.ordinal && L.indexOf(F) === 0 && D.push($ + L.replace(F, this.options.pluralSeparator)), h && D.push($ + Y));
1910
+ const C = `${f}${this.options.contextSeparator}${t.context}`;
1911
+ D.push(C), p && (D.push(C + L), t.ordinal && L.indexOf(F) === 0 && D.push(C + L.replace(F, this.options.pluralSeparator)), h && D.push(C + Y));
1912
1912
  }
1913
1913
  }
1914
1914
  let y;
@@ -1918,7 +1918,7 @@ class Ze extends st {
1918
1918
  });
1919
1919
  }), {
1920
1920
  res: r,
1921
- usedKey: n,
1921
+ usedKey: s,
1922
1922
  exactUsedKey: i,
1923
1923
  usedLng: o,
1924
1924
  usedNS: a
@@ -1927,24 +1927,24 @@ class Ze extends st {
1927
1927
  isValidLookup(e) {
1928
1928
  return e !== void 0 && !(!this.options.returnNull && e === null) && !(!this.options.returnEmptyString && e === "");
1929
1929
  }
1930
- getResource(e, t, r, n = {}) {
1930
+ getResource(e, t, r, s = {}) {
1931
1931
  var i;
1932
- return (i = this.i18nFormat) != null && i.getResource ? this.i18nFormat.getResource(e, t, r, n) : this.resourceStore.getResource(e, t, r, n);
1932
+ return (i = this.i18nFormat) != null && i.getResource ? this.i18nFormat.getResource(e, t, r, s) : this.resourceStore.getResource(e, t, r, s);
1933
1933
  }
1934
1934
  getUsedParamsDetails(e = {}) {
1935
1935
  const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], r = e.replace && !H(e.replace);
1936
- let n = r ? e.replace : e;
1937
- if (r && typeof e.count < "u" && (n.count = e.count), this.options.interpolation.defaultVariables && (n = {
1936
+ let s = r ? e.replace : e;
1937
+ if (r && typeof e.count < "u" && (s.count = e.count), this.options.interpolation.defaultVariables && (s = {
1938
1938
  ...this.options.interpolation.defaultVariables,
1939
- ...n
1939
+ ...s
1940
1940
  }), !r) {
1941
- n = {
1942
- ...n
1941
+ s = {
1942
+ ...s
1943
1943
  };
1944
1944
  for (const i of t)
1945
- delete n[i];
1945
+ delete s[i];
1946
1946
  }
1947
- return n;
1947
+ return s;
1948
1948
  }
1949
1949
  static hasDefaultValue(e) {
1950
1950
  const t = "defaultValue";
@@ -1987,12 +1987,12 @@ class Zt {
1987
1987
  let t;
1988
1988
  return e.forEach((r) => {
1989
1989
  if (t) return;
1990
- const n = this.formatLanguageCode(r);
1991
- (!this.options.supportedLngs || this.isSupportedCode(n)) && (t = n);
1990
+ const s = this.formatLanguageCode(r);
1991
+ (!this.options.supportedLngs || this.isSupportedCode(s)) && (t = s);
1992
1992
  }), !t && this.options.supportedLngs && e.forEach((r) => {
1993
1993
  if (t) return;
1994
- const n = this.getScriptPartFromCode(r);
1995
- if (this.isSupportedCode(n)) return t = n;
1994
+ const s = this.getScriptPartFromCode(r);
1995
+ if (this.isSupportedCode(s)) return t = s;
1996
1996
  const i = this.getLanguagePartFromCode(r);
1997
1997
  if (this.isSupportedCode(i)) return t = i;
1998
1998
  t = this.options.supportedLngs.find((o) => {
@@ -2010,12 +2010,12 @@ class Zt {
2010
2010
  return r || (r = e[this.getScriptPartFromCode(t)]), r || (r = e[this.formatLanguageCode(t)]), r || (r = e[this.getLanguagePartFromCode(t)]), r || (r = e.default), r || [];
2011
2011
  }
2012
2012
  toResolveHierarchy(e, t) {
2013
- const r = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], i = (o) => {
2014
- o && (this.isSupportedCode(o) ? n.push(o) : this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`));
2013
+ const r = this.getFallbackCodes(t || this.options.fallbackLng || [], e), s = [], i = (o) => {
2014
+ o && (this.isSupportedCode(o) ? s.push(o) : this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`));
2015
2015
  };
2016
2016
  return H(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : H(e) && i(this.formatLanguageCode(e)), r.forEach((o) => {
2017
- n.indexOf(o) < 0 && i(this.formatLanguageCode(o));
2018
- }), n;
2017
+ s.indexOf(o) < 0 && i(this.formatLanguageCode(o));
2018
+ }), s;
2019
2019
  }
2020
2020
  }
2021
2021
  const Qt = {
@@ -2026,12 +2026,12 @@ const Qt = {
2026
2026
  many: 4,
2027
2027
  other: 5
2028
2028
  }, er = {
2029
- select: (s) => s === 1 ? "one" : "other",
2029
+ select: (n) => n === 1 ? "one" : "other",
2030
2030
  resolvedOptions: () => ({
2031
2031
  pluralCategories: ["one", "other"]
2032
2032
  })
2033
2033
  };
2034
- class un {
2034
+ class fn {
2035
2035
  constructor(e, t = {}) {
2036
2036
  this.languageUtils = e, this.options = t, this.logger = pe.create("pluralResolver"), this.pluralRulesCache = {};
2037
2037
  }
@@ -2042,16 +2042,16 @@ class un {
2042
2042
  this.pluralRulesCache = {};
2043
2043
  }
2044
2044
  getRule(e, t = {}) {
2045
- const r = Je(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
2045
+ const r = Je(e === "dev" ? "en" : e), s = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
2046
2046
  cleanedCode: r,
2047
- type: n
2047
+ type: s
2048
2048
  });
2049
2049
  if (i in this.pluralRulesCache)
2050
2050
  return this.pluralRulesCache[i];
2051
2051
  let o;
2052
2052
  try {
2053
2053
  o = new Intl.PluralRules(r, {
2054
- type: n
2054
+ type: s
2055
2055
  });
2056
2056
  } catch {
2057
2057
  if (!Intl)
@@ -2067,22 +2067,22 @@ class un {
2067
2067
  return r || (r = this.getRule("dev", t)), (r == null ? void 0 : r.resolvedOptions().pluralCategories.length) > 1;
2068
2068
  }
2069
2069
  getPluralFormsOfKey(e, t, r = {}) {
2070
- return this.getSuffixes(e, r).map((n) => `${t}${n}`);
2070
+ return this.getSuffixes(e, r).map((s) => `${t}${s}`);
2071
2071
  }
2072
2072
  getSuffixes(e, t = {}) {
2073
2073
  let r = this.getRule(e, t);
2074
- return r || (r = this.getRule("dev", t)), r ? r.resolvedOptions().pluralCategories.sort((n, i) => Qt[n] - Qt[i]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : [];
2074
+ return r || (r = this.getRule("dev", t)), r ? r.resolvedOptions().pluralCategories.sort((s, i) => Qt[s] - Qt[i]).map((s) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : [];
2075
2075
  }
2076
2076
  getSuffix(e, t, r = {}) {
2077
- const n = this.getRule(e, r);
2078
- return n ? `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${n.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, r));
2077
+ const s = this.getRule(e, r);
2078
+ return s ? `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${s.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, r));
2079
2079
  }
2080
2080
  }
2081
- const tr = (s, e, t, r = ".", n = !0) => {
2082
- let i = tn(s, e, t);
2083
- return !i && n && H(t) && (i = vt(s, t, r), i === void 0 && (i = vt(e, t, r))), i;
2084
- }, pt = (s) => s.replace(/\$/g, "$$$$");
2085
- class fn {
2081
+ const tr = (n, e, t, r = ".", s = !0) => {
2082
+ let i = rn(n, e, t);
2083
+ return !i && s && H(t) && (i = vt(n, t, r), i === void 0 && (i = vt(e, t, r))), i;
2084
+ }, pt = (n) => n.replace(/\$/g, "$$$$");
2085
+ class dn {
2086
2086
  constructor(e = {}) {
2087
2087
  var t;
2088
2088
  this.logger = pe.create("interpolator"), this.options = e, this.format = ((t = e == null ? void 0 : e.interpolation) == null ? void 0 : t.format) || ((r) => r), this.init(e);
@@ -2094,7 +2094,7 @@ class fn {
2094
2094
  const {
2095
2095
  escape: t,
2096
2096
  escapeValue: r,
2097
- useRawValueToEscape: n,
2097
+ useRawValueToEscape: s,
2098
2098
  prefix: i,
2099
2099
  prefixEscaped: o,
2100
2100
  suffix: a,
@@ -2110,7 +2110,7 @@ class fn {
2110
2110
  maxReplaces: b,
2111
2111
  alwaysFormat: w
2112
2112
  } = e.interpolation;
2113
- this.escape = t !== void 0 ? t : nn, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = i ? _e(i) : o || "{{", this.suffix = a ? _e(a) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = f ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = p ? _e(p) : h || _e("$t("), this.nestingSuffix = g ? _e(g) : v || _e(")"), this.nestingOptionsSeparator = E || ",", this.maxReplaces = b || 1e3, this.alwaysFormat = w !== void 0 ? w : !1, this.resetRegExp();
2113
+ this.escape = t !== void 0 ? t : sn, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = i ? _e(i) : o || "{{", this.suffix = a ? _e(a) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = f ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = p ? _e(p) : h || _e("$t("), this.nestingSuffix = g ? _e(g) : v || _e(")"), this.nestingOptionsSeparator = E || ",", this.maxReplaces = b || 1e3, this.alwaysFormat = w !== void 0 ? w : !1, this.resetRegExp();
2114
2114
  }
2115
2115
  reset() {
2116
2116
  this.options && this.init(this.options);
@@ -2119,27 +2119,27 @@ class fn {
2119
2119
  const e = (t, r) => (t == null ? void 0 : t.source) === r ? (t.lastIndex = 0, t) : new RegExp(r, "g");
2120
2120
  this.regexp = e(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = e(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = e(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`);
2121
2121
  }
2122
- interpolate(e, t, r, n) {
2122
+ interpolate(e, t, r, s) {
2123
2123
  var h;
2124
2124
  let i, o, a;
2125
2125
  const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (g) => {
2126
2126
  if (g.indexOf(this.formatSeparator) < 0) {
2127
2127
  const w = tr(t, l, g, this.options.keySeparator, this.options.ignoreJSONStructure);
2128
2128
  return this.alwaysFormat ? this.format(w, void 0, r, {
2129
- ...n,
2129
+ ...s,
2130
2130
  ...t,
2131
2131
  interpolationkey: g
2132
2132
  }) : w;
2133
2133
  }
2134
2134
  const v = g.split(this.formatSeparator), E = v.shift().trim(), b = v.join(this.formatSeparator).trim();
2135
2135
  return this.format(tr(t, l, E, this.options.keySeparator, this.options.ignoreJSONStructure), b, r, {
2136
- ...n,
2136
+ ...s,
2137
2137
  ...t,
2138
2138
  interpolationkey: E
2139
2139
  });
2140
2140
  };
2141
2141
  this.resetRegExp();
2142
- const f = (n == null ? void 0 : n.missingInterpolationHandler) || this.options.missingInterpolationHandler, u = ((h = n == null ? void 0 : n.interpolation) == null ? void 0 : h.skipOnVariables) !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
2142
+ const f = (s == null ? void 0 : s.missingInterpolationHandler) || this.options.missingInterpolationHandler, u = ((h = s == null ? void 0 : s.interpolation) == null ? void 0 : h.skipOnVariables) !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
2143
2143
  return [{
2144
2144
  regex: this.regexpUnescape,
2145
2145
  safeValue: (g) => pt(g)
@@ -2151,9 +2151,9 @@ class fn {
2151
2151
  const v = i[1].trim();
2152
2152
  if (o = c(v), o === void 0)
2153
2153
  if (typeof f == "function") {
2154
- const b = f(e, i, n);
2154
+ const b = f(e, i, s);
2155
2155
  o = H(b) ? b : "";
2156
- } else if (n && Object.prototype.hasOwnProperty.call(n, v))
2156
+ } else if (s && Object.prototype.hasOwnProperty.call(s, v))
2157
2157
  o = "";
2158
2158
  else if (u) {
2159
2159
  o = i[0];
@@ -2168,7 +2168,7 @@ class fn {
2168
2168
  }), e;
2169
2169
  }
2170
2170
  nest(e, t, r = {}) {
2171
- let n, i, o;
2171
+ let s, i, o;
2172
2172
  const a = (l, c) => {
2173
2173
  const f = this.nestingOptionsSeparator;
2174
2174
  if (l.indexOf(f) < 0) return l;
@@ -2187,33 +2187,33 @@ class fn {
2187
2187
  }
2188
2188
  return o.defaultValue && o.defaultValue.indexOf(this.prefix) > -1 && delete o.defaultValue, l;
2189
2189
  };
2190
- for (; n = this.nestingRegexp.exec(e); ) {
2190
+ for (; s = this.nestingRegexp.exec(e); ) {
2191
2191
  let l = [];
2192
2192
  o = {
2193
2193
  ...r
2194
2194
  }, o = o.replace && !H(o.replace) ? o.replace : o, o.applyPostProcessor = !1, delete o.defaultValue;
2195
2195
  let c = !1;
2196
- if (n[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(n[1])) {
2197
- const f = n[1].split(this.formatSeparator).map((u) => u.trim());
2198
- n[1] = f.shift(), l = f, c = !0;
2196
+ if (s[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(s[1])) {
2197
+ const f = s[1].split(this.formatSeparator).map((u) => u.trim());
2198
+ s[1] = f.shift(), l = f, c = !0;
2199
2199
  }
2200
- if (i = t(a.call(this, n[1].trim(), o), o), i && n[0] === e && !H(i)) return i;
2201
- H(i) || (i = qt(i)), i || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), i = ""), c && (i = l.reduce((f, u) => this.format(f, u, r.lng, {
2200
+ if (i = t(a.call(this, s[1].trim(), o), o), i && s[0] === e && !H(i)) return i;
2201
+ H(i) || (i = qt(i)), i || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), i = ""), c && (i = l.reduce((f, u) => this.format(f, u, r.lng, {
2202
2202
  ...r,
2203
- interpolationkey: n[1].trim()
2204
- }), i.trim())), e = e.replace(n[0], i), this.regexp.lastIndex = 0;
2203
+ interpolationkey: s[1].trim()
2204
+ }), i.trim())), e = e.replace(s[0], i), this.regexp.lastIndex = 0;
2205
2205
  }
2206
2206
  return e;
2207
2207
  }
2208
2208
  }
2209
- const dn = (s) => {
2210
- let e = s.toLowerCase().trim();
2209
+ const pn = (n) => {
2210
+ let e = n.toLowerCase().trim();
2211
2211
  const t = {};
2212
- if (s.indexOf("(") > -1) {
2213
- const r = s.split("(");
2212
+ if (n.indexOf("(") > -1) {
2213
+ const r = n.split("(");
2214
2214
  e = r[0].toLowerCase().trim();
2215
- const n = r[1].substring(0, r[1].length - 1);
2216
- e === "currency" && n.indexOf(":") < 0 ? t.currency || (t.currency = n.trim()) : e === "relativetime" && n.indexOf(":") < 0 ? t.range || (t.range = n.trim()) : n.split(";").forEach((o) => {
2215
+ const s = r[1].substring(0, r[1].length - 1);
2216
+ e === "currency" && s.indexOf(":") < 0 ? t.currency || (t.currency = s.trim()) : e === "relativetime" && s.indexOf(":") < 0 ? t.range || (t.range = s.trim()) : s.split(";").forEach((o) => {
2217
2217
  if (o) {
2218
2218
  const [a, ...l] = o.split(":"), c = l.join(":").trim().replace(/^'+|'+$/g, ""), f = a.trim();
2219
2219
  t[f] || (t[f] = c), c === "false" && (t[f] = !1), c === "true" && (t[f] = !0), isNaN(c) || (t[f] = parseInt(c, 10));
@@ -2224,52 +2224,52 @@ const dn = (s) => {
2224
2224
  formatName: e,
2225
2225
  formatOptions: t
2226
2226
  };
2227
- }, we = (s) => {
2227
+ }, we = (n) => {
2228
2228
  const e = {};
2229
- return (t, r, n) => {
2230
- let i = n;
2231
- n && n.interpolationkey && n.formatParams && n.formatParams[n.interpolationkey] && n[n.interpolationkey] && (i = {
2229
+ return (t, r, s) => {
2230
+ let i = s;
2231
+ s && s.interpolationkey && s.formatParams && s.formatParams[s.interpolationkey] && s[s.interpolationkey] && (i = {
2232
2232
  ...i,
2233
- [n.interpolationkey]: void 0
2233
+ [s.interpolationkey]: void 0
2234
2234
  });
2235
2235
  const o = r + JSON.stringify(i);
2236
2236
  let a = e[o];
2237
- return a || (a = s(Je(r), n), e[o] = a), a(t);
2237
+ return a || (a = n(Je(r), s), e[o] = a), a(t);
2238
2238
  };
2239
2239
  };
2240
- class pn {
2240
+ class hn {
2241
2241
  constructor(e = {}) {
2242
2242
  this.logger = pe.create("formatter"), this.options = e, this.formats = {
2243
2243
  number: we((t, r) => {
2244
- const n = new Intl.NumberFormat(t, {
2244
+ const s = new Intl.NumberFormat(t, {
2245
2245
  ...r
2246
2246
  });
2247
- return (i) => n.format(i);
2247
+ return (i) => s.format(i);
2248
2248
  }),
2249
2249
  currency: we((t, r) => {
2250
- const n = new Intl.NumberFormat(t, {
2250
+ const s = new Intl.NumberFormat(t, {
2251
2251
  ...r,
2252
2252
  style: "currency"
2253
2253
  });
2254
- return (i) => n.format(i);
2254
+ return (i) => s.format(i);
2255
2255
  }),
2256
2256
  datetime: we((t, r) => {
2257
- const n = new Intl.DateTimeFormat(t, {
2257
+ const s = new Intl.DateTimeFormat(t, {
2258
2258
  ...r
2259
2259
  });
2260
- return (i) => n.format(i);
2260
+ return (i) => s.format(i);
2261
2261
  }),
2262
2262
  relativetime: we((t, r) => {
2263
- const n = new Intl.RelativeTimeFormat(t, {
2263
+ const s = new Intl.RelativeTimeFormat(t, {
2264
2264
  ...r
2265
2265
  });
2266
- return (i) => n.format(i, r.range || "day");
2266
+ return (i) => s.format(i, r.range || "day");
2267
2267
  }),
2268
2268
  list: we((t, r) => {
2269
- const n = new Intl.ListFormat(t, {
2269
+ const s = new Intl.ListFormat(t, {
2270
2270
  ...r
2271
2271
  });
2272
- return (i) => n.format(i);
2272
+ return (i) => s.format(i);
2273
2273
  })
2274
2274
  }, this.init(e);
2275
2275
  }
@@ -2284,7 +2284,7 @@ class pn {
2284
2284
  addCached(e, t) {
2285
2285
  this.formats[e.toLowerCase().trim()] = we(t);
2286
2286
  }
2287
- format(e, t, r, n = {}) {
2287
+ format(e, t, r, s = {}) {
2288
2288
  const i = t.split(this.formatSeparator);
2289
2289
  if (i.length > 1 && i[0].indexOf("(") > 1 && i[0].indexOf(")") < 0 && i.find((a) => a.indexOf(")") > -1)) {
2290
2290
  const a = i.findIndex((l) => l.indexOf(")") > -1);
@@ -2295,14 +2295,14 @@ class pn {
2295
2295
  const {
2296
2296
  formatName: c,
2297
2297
  formatOptions: f
2298
- } = dn(l);
2298
+ } = pn(l);
2299
2299
  if (this.formats[c]) {
2300
2300
  let p = a;
2301
2301
  try {
2302
- const h = ((u = n == null ? void 0 : n.formatParams) == null ? void 0 : u[n.interpolationkey]) || {}, g = h.locale || h.lng || n.locale || n.lng || r;
2302
+ const h = ((u = s == null ? void 0 : s.formatParams) == null ? void 0 : u[s.interpolationkey]) || {}, g = h.locale || h.lng || s.locale || s.lng || r;
2303
2303
  p = this.formats[c](a, g, {
2304
2304
  ...f,
2305
- ...n,
2305
+ ...s,
2306
2306
  ...h
2307
2307
  });
2308
2308
  } catch (h) {
@@ -2315,15 +2315,15 @@ class pn {
2315
2315
  }, e);
2316
2316
  }
2317
2317
  }
2318
- const hn = (s, e) => {
2319
- s.pending[e] !== void 0 && (delete s.pending[e], s.pendingCount--);
2318
+ const mn = (n, e) => {
2319
+ n.pending[e] !== void 0 && (delete n.pending[e], n.pendingCount--);
2320
2320
  };
2321
- class mn extends st {
2322
- constructor(e, t, r, n = {}) {
2321
+ class gn extends st {
2322
+ constructor(e, t, r, s = {}) {
2323
2323
  var i, o;
2324
- super(), this.backend = e, this.store = t, this.services = r, this.languageUtils = r.languageUtils, this.options = n, this.logger = pe.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], (o = (i = this.backend) == null ? void 0 : i.init) == null || o.call(i, r, n.backend, n);
2324
+ super(), this.backend = e, this.store = t, this.services = r, this.languageUtils = r.languageUtils, this.options = s, this.logger = pe.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], (o = (i = this.backend) == null ? void 0 : i.init) == null || o.call(i, r, s.backend, s);
2325
2325
  }
2326
- queueLoad(e, t, r, n) {
2326
+ queueLoad(e, t, r, s) {
2327
2327
  const i = {}, o = {}, a = {}, l = {};
2328
2328
  return e.forEach((c) => {
2329
2329
  let f = !0;
@@ -2336,7 +2336,7 @@ class mn extends st {
2336
2336
  pendingCount: Object.keys(o).length,
2337
2337
  loaded: {},
2338
2338
  errors: [],
2339
- callback: n
2339
+ callback: s
2340
2340
  }), {
2341
2341
  toLoad: Object.keys(i),
2342
2342
  pending: Object.keys(o),
@@ -2345,13 +2345,13 @@ class mn extends st {
2345
2345
  };
2346
2346
  }
2347
2347
  loaded(e, t, r) {
2348
- const n = e.split("|"), i = n[0], o = n[1];
2348
+ const s = e.split("|"), i = s[0], o = s[1];
2349
2349
  t && this.emit("failedLoading", i, o, t), !t && r && this.store.addResourceBundle(i, o, r, void 0, void 0, {
2350
2350
  skipCopy: !0
2351
2351
  }), this.state[e] = t ? -1 : 2, t && r && (this.state[e] = 0);
2352
2352
  const a = {};
2353
2353
  this.queue.forEach((l) => {
2354
- en(l.loaded, [i], o), hn(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
2354
+ tn(l.loaded, [i], o), mn(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
2355
2355
  a[c] || (a[c] = {});
2356
2356
  const f = l.loaded[c];
2357
2357
  f.length && f.forEach((u) => {
@@ -2360,14 +2360,14 @@ class mn extends st {
2360
2360
  }), l.done = !0, l.errors.length ? l.callback(l.errors) : l.callback());
2361
2361
  }), this.emit("loaded", a), this.queue = this.queue.filter((l) => !l.done);
2362
2362
  }
2363
- read(e, t, r, n = 0, i = this.retryTimeout, o) {
2363
+ read(e, t, r, s = 0, i = this.retryTimeout, o) {
2364
2364
  if (!e.length) return o(null, {});
2365
2365
  if (this.readingCalls >= this.maxParallelReads) {
2366
2366
  this.waitingReads.push({
2367
2367
  lng: e,
2368
2368
  ns: t,
2369
2369
  fcName: r,
2370
- tried: n,
2370
+ tried: s,
2371
2371
  wait: i,
2372
2372
  callback: o
2373
2373
  });
@@ -2379,9 +2379,9 @@ class mn extends st {
2379
2379
  const u = this.waitingReads.shift();
2380
2380
  this.read(u.lng, u.ns, u.fcName, u.tried, u.wait, u.callback);
2381
2381
  }
2382
- if (c && f && n < this.maxRetries) {
2382
+ if (c && f && s < this.maxRetries) {
2383
2383
  setTimeout(() => {
2384
- this.read.call(this, e, t, r, n + 1, i * 2, o);
2384
+ this.read.call(this, e, t, r, s + 1, i * 2, o);
2385
2385
  }, i);
2386
2386
  return;
2387
2387
  }
@@ -2398,13 +2398,13 @@ class mn extends st {
2398
2398
  }
2399
2399
  return l(e, t, a);
2400
2400
  }
2401
- prepareLoading(e, t, r = {}, n) {
2401
+ prepareLoading(e, t, r = {}, s) {
2402
2402
  if (!this.backend)
2403
- return this.logger.warn("No backend was added via i18next.use. Will not load resources."), n && n();
2403
+ return this.logger.warn("No backend was added via i18next.use. Will not load resources."), s && s();
2404
2404
  H(e) && (e = this.languageUtils.toResolveHierarchy(e)), H(t) && (t = [t]);
2405
- const i = this.queueLoad(e, t, r, n);
2405
+ const i = this.queueLoad(e, t, r, s);
2406
2406
  if (!i.toLoad.length)
2407
- return i.pending.length || n(), null;
2407
+ return i.pending.length || s(), null;
2408
2408
  i.toLoad.forEach((o) => {
2409
2409
  this.loadOne(o);
2410
2410
  });
@@ -2418,12 +2418,12 @@ class mn extends st {
2418
2418
  }, r);
2419
2419
  }
2420
2420
  loadOne(e, t = "") {
2421
- const r = e.split("|"), n = r[0], i = r[1];
2422
- this.read(n, i, "read", void 0, void 0, (o, a) => {
2423
- o && this.logger.warn(`${t}loading namespace ${i} for language ${n} failed`, o), !o && a && this.logger.log(`${t}loaded namespace ${i} for language ${n}`, a), this.loaded(e, o, a);
2421
+ const r = e.split("|"), s = r[0], i = r[1];
2422
+ this.read(s, i, "read", void 0, void 0, (o, a) => {
2423
+ o && this.logger.warn(`${t}loading namespace ${i} for language ${s} failed`, o), !o && a && this.logger.log(`${t}loaded namespace ${i} for language ${s}`, a), this.loaded(e, o, a);
2424
2424
  });
2425
2425
  }
2426
- saveMissing(e, t, r, n, i, o = {}, a = () => {
2426
+ saveMissing(e, t, r, s, i, o = {}, a = () => {
2427
2427
  }) {
2428
2428
  var l, c, f, u, p;
2429
2429
  if ((c = (l = this.services) == null ? void 0 : l.utils) != null && c.hasLoadedNamespace && !((u = (f = this.services) == null ? void 0 : f.utils) != null && u.hasLoadedNamespace(t))) {
@@ -2439,14 +2439,14 @@ class mn extends st {
2439
2439
  if (g.length < 6)
2440
2440
  try {
2441
2441
  let v;
2442
- g.length === 5 ? v = g(e, t, r, n, h) : v = g(e, t, r, n), v && typeof v.then == "function" ? v.then((E) => a(null, E)).catch(a) : a(null, v);
2442
+ g.length === 5 ? v = g(e, t, r, s, h) : v = g(e, t, r, s), v && typeof v.then == "function" ? v.then((E) => a(null, E)).catch(a) : a(null, v);
2443
2443
  } catch (v) {
2444
2444
  a(v);
2445
2445
  }
2446
2446
  else
2447
- g(e, t, r, n, a, h);
2447
+ g(e, t, r, s, a, h);
2448
2448
  }
2449
- !e || !e[0] || this.store.addResource(e[0], t, r, n);
2449
+ !e || !e[0] || this.store.addResource(e[0], t, r, s);
2450
2450
  }
2451
2451
  }
2452
2452
  }
@@ -2483,10 +2483,10 @@ const rr = () => ({
2483
2483
  parseMissingKeyHandler: !1,
2484
2484
  appendNamespaceToMissingKey: !1,
2485
2485
  appendNamespaceToCIMode: !1,
2486
- overloadTranslationOptionHandler: (s) => {
2486
+ overloadTranslationOptionHandler: (n) => {
2487
2487
  let e = {};
2488
- if (typeof s[1] == "object" && (e = s[1]), H(s[1]) && (e.defaultValue = s[1]), H(s[2]) && (e.tDescription = s[2]), typeof s[2] == "object" || typeof s[3] == "object") {
2489
- const t = s[3] || s[2];
2488
+ if (typeof n[1] == "object" && (e = n[1]), H(n[1]) && (e.defaultValue = n[1]), H(n[2]) && (e.tDescription = n[2]), typeof n[2] == "object" || typeof n[3] == "object") {
2489
+ const t = n[3] || n[2];
2490
2490
  Object.keys(t).forEach((r) => {
2491
2491
  e[r] = t[r];
2492
2492
  });
@@ -2495,7 +2495,7 @@ const rr = () => ({
2495
2495
  },
2496
2496
  interpolation: {
2497
2497
  escapeValue: !0,
2498
- format: (s) => s,
2498
+ format: (n) => n,
2499
2499
  prefix: "{{",
2500
2500
  suffix: "}}",
2501
2501
  formatSeparator: ",",
@@ -2506,20 +2506,20 @@ const rr = () => ({
2506
2506
  maxReplaces: 1e3,
2507
2507
  skipOnVariables: !0
2508
2508
  }
2509
- }), nr = (s) => {
2509
+ }), nr = (n) => {
2510
2510
  var e, t;
2511
- return H(s.ns) && (s.ns = [s.ns]), H(s.fallbackLng) && (s.fallbackLng = [s.fallbackLng]), H(s.fallbackNS) && (s.fallbackNS = [s.fallbackNS]), ((t = (e = s.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (s.supportedLngs = s.supportedLngs.concat(["cimode"])), typeof s.initImmediate == "boolean" && (s.initAsync = s.initImmediate), s;
2511
+ return H(n.ns) && (n.ns = [n.ns]), H(n.fallbackLng) && (n.fallbackLng = [n.fallbackLng]), H(n.fallbackNS) && (n.fallbackNS = [n.fallbackNS]), ((t = (e = n.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (n.supportedLngs = n.supportedLngs.concat(["cimode"])), typeof n.initImmediate == "boolean" && (n.initAsync = n.initImmediate), n;
2512
2512
  }, He = () => {
2513
- }, gn = (s) => {
2514
- Object.getOwnPropertyNames(Object.getPrototypeOf(s)).forEach((t) => {
2515
- typeof s[t] == "function" && (s[t] = s[t].bind(s));
2513
+ }, yn = (n) => {
2514
+ Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((t) => {
2515
+ typeof n[t] == "function" && (n[t] = n[t].bind(n));
2516
2516
  });
2517
2517
  };
2518
2518
  class Ie extends st {
2519
2519
  constructor(e = {}, t) {
2520
2520
  if (super(), this.options = nr(e), this.services = {}, this.logger = pe, this.modules = {
2521
2521
  external: []
2522
- }, gn(this), t && !this.isInitialized && !e.isClone) {
2522
+ }, yn(this), t && !this.isInitialized && !e.isClone) {
2523
2523
  if (!this.options.initAsync)
2524
2524
  return this.init(e, t), this;
2525
2525
  setTimeout(() => {
@@ -2538,22 +2538,22 @@ class Ie extends st {
2538
2538
  ...r.interpolation,
2539
2539
  ...this.options.interpolation
2540
2540
  }, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator);
2541
- const n = (c) => c ? typeof c == "function" ? new c() : c : null;
2541
+ const s = (c) => c ? typeof c == "function" ? new c() : c : null;
2542
2542
  if (!this.options.isClone) {
2543
- this.modules.logger ? pe.init(n(this.modules.logger), this.options) : pe.init(null, this.options);
2543
+ this.modules.logger ? pe.init(s(this.modules.logger), this.options) : pe.init(null, this.options);
2544
2544
  let c;
2545
- this.modules.formatter ? c = this.modules.formatter : c = pn;
2545
+ this.modules.formatter ? c = this.modules.formatter : c = hn;
2546
2546
  const f = new Zt(this.options);
2547
2547
  this.store = new Gt(this.options.resources, this.options);
2548
2548
  const u = this.services;
2549
- u.logger = pe, u.resourceStore = this.store, u.languageUtils = f, u.pluralResolver = new un(f, {
2549
+ u.logger = pe, u.resourceStore = this.store, u.languageUtils = f, u.pluralResolver = new fn(f, {
2550
2550
  prepend: this.options.pluralSeparator,
2551
2551
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
2552
- }), c && (!this.options.interpolation.format || this.options.interpolation.format === r.interpolation.format) && (u.formatter = n(c), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new fn(this.options), u.utils = {
2552
+ }), c && (!this.options.interpolation.format || this.options.interpolation.format === r.interpolation.format) && (u.formatter = s(c), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new dn(this.options), u.utils = {
2553
2553
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
2554
- }, u.backendConnector = new mn(n(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (p, ...h) => {
2554
+ }, u.backendConnector = new gn(s(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (p, ...h) => {
2555
2555
  this.emit(p, ...h);
2556
- }), this.modules.languageDetector && (u.languageDetector = n(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = n(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new Ze(this.services, this.options), this.translator.on("*", (p, ...h) => {
2556
+ }), this.modules.languageDetector && (u.languageDetector = s(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = s(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new Ze(this.services, this.options), this.translator.on("*", (p, ...h) => {
2557
2557
  this.emit(p, ...h);
2558
2558
  }), this.modules.external.forEach((p) => {
2559
2559
  p.init && p.init(this);
@@ -2568,7 +2568,7 @@ class Ie extends st {
2568
2568
  }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((c) => {
2569
2569
  this[c] = (...f) => (this.store[c](...f), this);
2570
2570
  });
2571
- const a = $e(), l = () => {
2571
+ const a = Ce(), l = () => {
2572
2572
  const c = (f, u) => {
2573
2573
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), a.resolve(u), t(f, u);
2574
2574
  };
@@ -2580,31 +2580,31 @@ class Ie extends st {
2580
2580
  loadResources(e, t = He) {
2581
2581
  var i, o;
2582
2582
  let r = t;
2583
- const n = H(e) ? e : this.language;
2583
+ const s = H(e) ? e : this.language;
2584
2584
  if (typeof e == "function" && (r = e), !this.options.resources || this.options.partialBundledLanguages) {
2585
- if ((n == null ? void 0 : n.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return r();
2585
+ if ((s == null ? void 0 : s.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return r();
2586
2586
  const a = [], l = (c) => {
2587
2587
  if (!c || c === "cimode") return;
2588
2588
  this.services.languageUtils.toResolveHierarchy(c).forEach((u) => {
2589
2589
  u !== "cimode" && a.indexOf(u) < 0 && a.push(u);
2590
2590
  });
2591
2591
  };
2592
- n ? l(n) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((f) => l(f)), (o = (i = this.options.preload) == null ? void 0 : i.forEach) == null || o.call(i, (c) => l(c)), this.services.backendConnector.load(a, this.options.ns, (c) => {
2592
+ s ? l(s) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((f) => l(f)), (o = (i = this.options.preload) == null ? void 0 : i.forEach) == null || o.call(i, (c) => l(c)), this.services.backendConnector.load(a, this.options.ns, (c) => {
2593
2593
  !c && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), r(c);
2594
2594
  });
2595
2595
  } else
2596
2596
  r(null);
2597
2597
  }
2598
2598
  reloadResources(e, t, r) {
2599
- const n = $e();
2599
+ const s = Ce();
2600
2600
  return typeof e == "function" && (r = e, e = void 0), typeof t == "function" && (r = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), r || (r = He), this.services.backendConnector.reload(e, t, (i) => {
2601
- n.resolve(), r(i);
2602
- }), n;
2601
+ s.resolve(), r(i);
2602
+ }), s;
2603
2603
  }
2604
2604
  use(e) {
2605
2605
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
2606
2606
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
2607
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && gr.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
2607
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && yr.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
2608
2608
  }
2609
2609
  setResolvedLanguage(e) {
2610
2610
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
@@ -2620,33 +2620,33 @@ class Ie extends st {
2620
2620
  }
2621
2621
  changeLanguage(e, t) {
2622
2622
  this.isLanguageChangingTo = e;
2623
- const r = $e();
2623
+ const r = Ce();
2624
2624
  this.emit("languageChanging", e);
2625
- const n = (a) => {
2625
+ const s = (a) => {
2626
2626
  this.language = a, this.languages = this.services.languageUtils.toResolveHierarchy(a), this.resolvedLanguage = void 0, this.setResolvedLanguage(a);
2627
2627
  }, i = (a, l) => {
2628
- l ? this.isLanguageChangingTo === e && (n(l), this.translator.changeLanguage(l), this.isLanguageChangingTo = void 0, this.emit("languageChanged", l), this.logger.log("languageChanged", l)) : this.isLanguageChangingTo = void 0, r.resolve((...c) => this.t(...c)), t && t(a, (...c) => this.t(...c));
2628
+ l ? this.isLanguageChangingTo === e && (s(l), this.translator.changeLanguage(l), this.isLanguageChangingTo = void 0, this.emit("languageChanged", l), this.logger.log("languageChanged", l)) : this.isLanguageChangingTo = void 0, r.resolve((...c) => this.t(...c)), t && t(a, (...c) => this.t(...c));
2629
2629
  }, o = (a) => {
2630
2630
  var f, u;
2631
2631
  !e && !a && this.services.languageDetector && (a = []);
2632
2632
  const l = H(a) ? a : a && a[0], c = this.store.hasLanguageSomeTranslations(l) ? l : this.services.languageUtils.getBestMatchFromCodes(H(a) ? [a] : a);
2633
- c && (this.language || n(c), this.translator.language || this.translator.changeLanguage(c), (u = (f = this.services.languageDetector) == null ? void 0 : f.cacheUserLanguage) == null || u.call(f, c)), this.loadResources(c, (p) => {
2633
+ c && (this.language || s(c), this.translator.language || this.translator.changeLanguage(c), (u = (f = this.services.languageDetector) == null ? void 0 : f.cacheUserLanguage) == null || u.call(f, c)), this.loadResources(c, (p) => {
2634
2634
  i(p, c);
2635
2635
  });
2636
2636
  };
2637
2637
  return !e && this.services.languageDetector && !this.services.languageDetector.async ? o(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(o) : this.services.languageDetector.detect(o) : o(e), r;
2638
2638
  }
2639
2639
  getFixedT(e, t, r) {
2640
- const n = (i, o, ...a) => {
2640
+ const s = (i, o, ...a) => {
2641
2641
  let l;
2642
2642
  typeof o != "object" ? l = this.options.overloadTranslationOptionHandler([i, o].concat(a)) : l = {
2643
2643
  ...o
2644
- }, l.lng = l.lng || n.lng, l.lngs = l.lngs || n.lngs, l.ns = l.ns || n.ns, l.keyPrefix !== "" && (l.keyPrefix = l.keyPrefix || r || n.keyPrefix);
2644
+ }, l.lng = l.lng || s.lng, l.lngs = l.lngs || s.lngs, l.ns = l.ns || s.ns, l.keyPrefix !== "" && (l.keyPrefix = l.keyPrefix || r || s.keyPrefix);
2645
2645
  const c = this.options.keySeparator || ".";
2646
2646
  let f;
2647
2647
  return l.keyPrefix && Array.isArray(i) ? f = i.map((u) => `${l.keyPrefix}${c}${u}`) : f = l.keyPrefix ? `${l.keyPrefix}${c}${i}` : i, this.t(f, l);
2648
2648
  };
2649
- return H(e) ? n.lng = e : n.lngs = e, n.ns = t, n.keyPrefix = r, n;
2649
+ return H(e) ? s.lng = e : s.lngs = e, s.ns = t, s.keyPrefix = r, s;
2650
2650
  }
2651
2651
  t(...e) {
2652
2652
  var t;
@@ -2664,7 +2664,7 @@ class Ie extends st {
2664
2664
  return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
2665
2665
  if (!this.languages || !this.languages.length)
2666
2666
  return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
2667
- const r = t.lng || this.resolvedLanguage || this.languages[0], n = this.options ? this.options.fallbackLng : !1, i = this.languages[this.languages.length - 1];
2667
+ const r = t.lng || this.resolvedLanguage || this.languages[0], s = this.options ? this.options.fallbackLng : !1, i = this.languages[this.languages.length - 1];
2668
2668
  if (r.toLowerCase() === "cimode") return !0;
2669
2669
  const o = (a, l) => {
2670
2670
  const c = this.services.backendConnector.state[`${a}|${l}`];
@@ -2674,27 +2674,27 @@ class Ie extends st {
2674
2674
  const a = t.precheck(this, o);
2675
2675
  if (a !== void 0) return a;
2676
2676
  }
2677
- return !!(this.hasResourceBundle(r, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || o(r, e) && (!n || o(i, e)));
2677
+ return !!(this.hasResourceBundle(r, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || o(r, e) && (!s || o(i, e)));
2678
2678
  }
2679
2679
  loadNamespaces(e, t) {
2680
- const r = $e();
2681
- return this.options.ns ? (H(e) && (e = [e]), e.forEach((n) => {
2682
- this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
2683
- }), this.loadResources((n) => {
2684
- r.resolve(), t && t(n);
2680
+ const r = Ce();
2681
+ return this.options.ns ? (H(e) && (e = [e]), e.forEach((s) => {
2682
+ this.options.ns.indexOf(s) < 0 && this.options.ns.push(s);
2683
+ }), this.loadResources((s) => {
2684
+ r.resolve(), t && t(s);
2685
2685
  }), r) : (t && t(), Promise.resolve());
2686
2686
  }
2687
2687
  loadLanguages(e, t) {
2688
- const r = $e();
2688
+ const r = Ce();
2689
2689
  H(e) && (e = [e]);
2690
- const n = this.options.preload || [], i = e.filter((o) => n.indexOf(o) < 0 && this.services.languageUtils.isSupportedCode(o));
2691
- return i.length ? (this.options.preload = n.concat(i), this.loadResources((o) => {
2690
+ const s = this.options.preload || [], i = e.filter((o) => s.indexOf(o) < 0 && this.services.languageUtils.isSupportedCode(o));
2691
+ return i.length ? (this.options.preload = s.concat(i), this.loadResources((o) => {
2692
2692
  r.resolve(), t && t(o);
2693
2693
  }), r) : (t && t(), Promise.resolve());
2694
2694
  }
2695
2695
  dir(e) {
2696
- var n, i;
2697
- if (e || (e = this.resolvedLanguage || (((n = this.languages) == null ? void 0 : n.length) > 0 ? this.languages[0] : this.language)), !e) return "rtl";
2696
+ var s, i;
2697
+ if (e || (e = this.resolvedLanguage || (((s = this.languages) == null ? void 0 : s.length) > 0 ? this.languages[0] : this.language)), !e) return "rtl";
2698
2698
  const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = ((i = this.services) == null ? void 0 : i.languageUtils) || new Zt(rr());
2699
2699
  return t.indexOf(r.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
2700
2700
  }
@@ -2704,11 +2704,11 @@ class Ie extends st {
2704
2704
  cloneInstance(e = {}, t = He) {
2705
2705
  const r = e.forkResourceStore;
2706
2706
  r && delete e.forkResourceStore;
2707
- const n = {
2707
+ const s = {
2708
2708
  ...this.options,
2709
2709
  ...e,
2710
2710
  isClone: !0
2711
- }, i = new Ie(n);
2711
+ }, i = new Ie(s);
2712
2712
  if ((e.debug !== void 0 || e.prefix !== void 0) && (i.logger = i.logger.clone(e)), ["store", "services", "language"].forEach((a) => {
2713
2713
  i[a] = this[a];
2714
2714
  }), i.services = {
@@ -2721,11 +2721,11 @@ class Ie extends st {
2721
2721
  }, l[c] = Object.keys(l[c]).reduce((f, u) => (f[u] = {
2722
2722
  ...l[c][u]
2723
2723
  }, f), l[c]), l), {});
2724
- i.store = new Gt(a, n), i.services.resourceStore = i.store;
2724
+ i.store = new Gt(a, s), i.services.resourceStore = i.store;
2725
2725
  }
2726
- return i.translator = new Ze(i.services, n), i.translator.on("*", (a, ...l) => {
2726
+ return i.translator = new Ze(i.services, s), i.translator.on("*", (a, ...l) => {
2727
2727
  i.emit(a, ...l);
2728
- }), i.init(n, t), i.translator.options = n, i.translator.backendConnector.services.utils = {
2728
+ }), i.init(s, t), i.translator.options = s, i.translator.backendConnector.services.utils = {
2729
2729
  hasLoadedNamespace: i.hasLoadedNamespace.bind(i)
2730
2730
  }, i;
2731
2731
  }
@@ -2755,35 +2755,35 @@ se.setDefaultNamespace;
2755
2755
  se.hasLoadedNamespace;
2756
2756
  se.loadNamespaces;
2757
2757
  se.loadLanguages;
2758
- const yn = { Friday: "Venerdì", FridayShort: "Ven", Monday: "Lunedì", MondayShort: "Lun", Saturday: "Sabato", SaturdayShort: "Sab", Sunday: "Domenica", SundayShort: "Dom", Tuesday: "Martedì", TuesdayShort: "Mar", Thursday: "Giovedì", ThursdayShort: "Gio", Wednesday: "Mercoledì", WednesdayShort: "Mer" }, vn = { April: "Aprile", August: "Agosto", December: "Dicembre", February: "Febbraio", January: "Gennaio", June: "Giugno", July: "Luglio", March: "Marzo", May: "Maggio", October: "Ottobre", November: "Novembre", September: "Settembre" }, bn = { CalendarFor: "Calendario per", Close: "Chiudi" }, xn = {
2758
+ const vn = { Friday: "Venerdì", FridayShort: "Ven", Monday: "Lunedì", MondayShort: "Lun", Saturday: "Sabato", SaturdayShort: "Sab", Sunday: "Domenica", SundayShort: "Dom", Tuesday: "Martedì", TuesdayShort: "Mar", Thursday: "Giovedì", ThursdayShort: "Gio", Wednesday: "Mercoledì", WednesdayShort: "Mer" }, bn = { April: "Aprile", August: "Agosto", December: "Dicembre", February: "Febbraio", January: "Gennaio", June: "Giugno", July: "Luglio", March: "Marzo", May: "Maggio", October: "Ottobre", November: "Novembre", September: "Settembre" }, xn = { CalendarFor: "Calendario per", Close: "Chiudi" }, Sn = {
2759
2759
  Date: { NextDay: "Giorno Successivo", NextMonth: "Mese Successivo", NextWeek: "Settimana Successiva", NextYear: "Anno Successivo", PreviousDay: "Giorno Precedente", PreviousMonth: "Mese Precedente", PreviousWeek: "Settimana Precedente", PreviousYear: "Anno Precedente", Today: "Oggi", Tomorrow: "Domani", Yesterday: "Ieri" },
2760
- Day: yn,
2761
- Month: vn,
2762
- Generic: bn
2763
- }, Sn = { Friday: "Friday", FridayShort: "Fri", Monday: "Monday", MondayShort: "Mon", Saturday: "Saturday", SaturdayShort: "Sat", Sunday: "Sunday", SundayShort: "Sun", Tuesday: "Tuesday", TuesdayShort: "Tue", Thursday: "Thursday", ThursdayShort: "Thu", Wednesday: "Wednesday", WednesdayShort: "Wed" }, En = { April: "April", August: "August", December: "December", February: "February", January: "January", July: "July", June: "June", March: "March", May: "May", November: "November", October: "October", September: "September" }, _n = { CalendarFor: "Calendar for", Close: "Close" }, wn = {
2760
+ Day: vn,
2761
+ Month: bn,
2762
+ Generic: xn
2763
+ }, En = { Friday: "Friday", FridayShort: "Fri", Monday: "Monday", MondayShort: "Mon", Saturday: "Saturday", SaturdayShort: "Sat", Sunday: "Sunday", SundayShort: "Sun", Tuesday: "Tuesday", TuesdayShort: "Tue", Thursday: "Thursday", ThursdayShort: "Thu", Wednesday: "Wednesday", WednesdayShort: "Wed" }, _n = { April: "April", August: "August", December: "December", February: "February", January: "January", July: "July", June: "June", March: "March", May: "May", November: "November", October: "October", September: "September" }, wn = { CalendarFor: "Calendar for", Close: "Close" }, On = {
2764
2764
  Date: { NextDay: "Next Day", NextMonth: "Next Month", NextWeek: "Next Week", NextYear: "Next Year", PreviousDay: "Previous Day", PreviousMonth: "Previous Month", PreviousWeek: "Previous Week", PreviousYear: "Previous Year", Today: "Today", Tomorrow: "Tomorrow", Yesterday: "Yesterday" },
2765
- Day: Sn,
2766
- Month: En,
2767
- Generic: _n
2765
+ Day: En,
2766
+ Month: _n,
2767
+ Generic: wn
2768
2768
  };
2769
- function sr(s, e) {
2770
- return new RegExp(On(s), e);
2769
+ function sr(n, e) {
2770
+ return new RegExp(Tn(n), e);
2771
2771
  }
2772
- function On(s) {
2773
- return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2772
+ function Tn(n) {
2773
+ return n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2774
2774
  }
2775
- function Tn(s, e, t, r) {
2776
- let n = e;
2777
- const i = Rn(s, t);
2778
- if (!n) {
2775
+ function Rn(n, e, t, r) {
2776
+ let s = e;
2777
+ const i = Dn(n, t);
2778
+ if (!s) {
2779
2779
  const a = Math.abs(i);
2780
- a - Math.floor(a) ? n = "0,0.00" : n = "0,0";
2780
+ a - Math.floor(a) ? s = "0,0.00" : s = "0,0";
2781
2781
  }
2782
- const o = Dn(n);
2782
+ const o = Pn(s);
2783
2783
  return new Intl.NumberFormat(r, o).format(i);
2784
2784
  }
2785
- function Rn(s, e, t, r, n) {
2786
- let i = s;
2785
+ function Dn(n, e, t, r, s) {
2786
+ let i = n;
2787
2787
  if (typeof i != "number") {
2788
2788
  let a;
2789
2789
  e && r === void 0 ? a = "," : a = ".";
@@ -2793,13 +2793,13 @@ function Rn(s, e, t, r, n) {
2793
2793
  const o = Number(i);
2794
2794
  return isNaN(o) ? NaN : o;
2795
2795
  }
2796
- function Dn(s) {
2796
+ function Pn(n) {
2797
2797
  const e = {};
2798
- s.includes(",") ? e.useGrouping = !0 : e.useGrouping = !1;
2799
- const t = s.indexOf(".");
2798
+ n.includes(",") ? e.useGrouping = !0 : e.useGrouping = !1;
2799
+ const t = n.indexOf(".");
2800
2800
  if (t > -1) {
2801
- const n = (s.substring(t + 1).match(/0/g) || []).length;
2802
- e.minimumFractionDigits = n, e.maximumFractionDigits = n;
2801
+ const s = (n.substring(t + 1).match(/0/g) || []).length;
2802
+ e.minimumFractionDigits = s, e.maximumFractionDigits = s;
2803
2803
  } else
2804
2804
  e.minimumFractionDigits = 0, e.maximumFractionDigits = 0;
2805
2805
  return e;
@@ -2810,12 +2810,12 @@ se.init({
2810
2810
  debug: !1,
2811
2811
  interpolation: {
2812
2812
  escapeValue: !1,
2813
- format: (s, e, t, r) => {
2814
- const n = (r == null ? void 0 : r.type) ?? "number";
2813
+ format: (n, e, t, r) => {
2814
+ const s = (r == null ? void 0 : r.type) ?? "number";
2815
2815
  try {
2816
- switch (n) {
2816
+ switch (s) {
2817
2817
  case "date": {
2818
- const i = s instanceof Date ? s : new Date(s);
2818
+ const i = n instanceof Date ? n : new Date(n);
2819
2819
  return new Intl.DateTimeFormat(t, {
2820
2820
  dateStyle: e || "short"
2821
2821
  }).format(i);
@@ -2823,40 +2823,45 @@ se.init({
2823
2823
  default:
2824
2824
  case "number": {
2825
2825
  const i = (r == null ? void 0 : r.inputIsLocalized) ?? !1;
2826
- return Tn(s, e, i, t);
2826
+ return Rn(n, e, i, t);
2827
2827
  }
2828
2828
  }
2829
2829
  } catch {
2830
- return s;
2830
+ return n;
2831
2831
  }
2832
2832
  }
2833
2833
  },
2834
2834
  resources: {
2835
2835
  en: {
2836
- translation: wn
2836
+ translation: On
2837
2837
  },
2838
2838
  it: {
2839
- translation: xn
2839
+ translation: Sn
2840
2840
  }
2841
2841
  }
2842
2842
  });
2843
- const Pn = (s, e, t, r) => se.format(s, e, t || se.language, r), An = (s, e) => se.t(s, e);
2843
+ const An = (n, e, t, r) => se.format(n, e, t || se.language, r), Cn = (n, e) => se.t(n, e);
2844
2844
  function Et() {
2845
- const s = Te(
2846
- (r, n, i, o) => Pn(r, n, i || void 0, o),
2845
+ const n = Te(
2846
+ (r, s, i, o) => An(r, s, i || void 0, o),
2847
2847
  []
2848
2848
  ), e = Te(() => se.languages[0], []), t = Te(
2849
- (r, n) => An(r, n),
2849
+ (r, s) => Cn(r, s),
2850
2850
  []
2851
2851
  );
2852
- return { format: s, getCurrentLanguage: e, translate: t };
2852
+ return { format: n, getCurrentLanguage: e, translate: t };
2853
+ }
2854
+ const Le = (n) => n == null ? !1 : typeof n == "string" ? n.toLocaleLowerCase() == "yes" : n;
2855
+ function ir(n) {
2856
+ if (n)
2857
+ return n.toLowerCase();
2853
2858
  }
2854
- const Le = (s) => s == null ? !1 : typeof s == "string" ? s.toLocaleLowerCase() == "yes" : s, rs = ({
2855
- ColumnsNumber: s = 1,
2859
+ const ns = ({
2860
+ ColumnsNumber: n = 1,
2856
2861
  data: e = {},
2857
2862
  ForceText: t,
2858
2863
  TextColName: r,
2859
- TextColor: n = "var(--smp-dashList-color-base)",
2864
+ TextColor: s = "var(--smp-dashList-color-base)",
2860
2865
  Fillspace: i,
2861
2866
  FontSize: o,
2862
2867
  Horizontal: a,
@@ -2873,9 +2878,9 @@ const Le = (s) => s == null ? !1 : typeof s == "string" ? s.toLocaleLowerCase()
2873
2878
  SelectLayout: w = "1",
2874
2879
  onClick: A
2875
2880
  }) => {
2876
- const D = "N/A", y = (e == null ? void 0 : e.columns) || [], P = (e == null ? void 0 : e.rows) || [], L = P.length > 0, Y = "--smp-dashList-color", F = "smp-layout", $ = "descr", M = "icon", U = "um", J = "value", K = o || "1em", ne = "18px", G = "--smp-dashList-columns", V = "--smp-dashList-fontSize", B = {
2881
+ const D = "N/A", y = (e == null ? void 0 : e.columns) || [], P = (e == null ? void 0 : e.rows) || [], L = P.length > 0, Y = "--smp-dashList-color", F = "smp-layout", C = "descr", M = "icon", U = "um", J = "value", K = o || "1em", ne = "18px", G = "--smp-dashList-columns", V = "--smp-dashList-fontSize", B = {
2877
2882
  dash: (N = "1") => {
2878
- const z = d(N), Q = Ae[z], te = m(z, $), le = m(z, M), ge = m(z, U), ce = m(z, J);
2883
+ const z = d(N), Q = Ae[z], te = m(z, C), le = m(z, M), ge = m(z, U), ce = m(z, J);
2879
2884
  return {
2880
2885
  container: Q,
2881
2886
  descr: te,
@@ -2920,13 +2925,13 @@ const Le = (s) => s == null ? !1 : typeof s == "string" ? s.toLocaleLowerCase()
2920
2925
  };
2921
2926
  }, I = (N) => {
2922
2927
  A == null || A(N);
2923
- }, C = (N, z) => {
2928
+ }, $ = (N, z) => {
2924
2929
  (N.key === "Enter" || N.key === " ") && (N.preventDefault(), N.stopPropagation(), I(z));
2925
2930
  }, W = ((N) => {
2926
2931
  const z = B.dash(N);
2927
2932
  return {
2928
2933
  className: z,
2929
- descr: (Q) => /* @__PURE__ */ O.jsx("div", { className: z.descr, children: Q }, `${N}-${$}`),
2934
+ descr: (Q) => /* @__PURE__ */ O.jsx("div", { className: z.descr, children: Q }, `${N}-${C}`),
2930
2935
  icon: (Q) => /* @__PURE__ */ O.jsx("div", { className: z.icon, children: /* @__PURE__ */ O.jsx(
2931
2936
  ve,
2932
2937
  {
@@ -2941,7 +2946,7 @@ const Le = (s) => s == null ? !1 : typeof s == "string" ? s.toLocaleLowerCase()
2941
2946
  };
2942
2947
  })(w), re = (N) => {
2943
2948
  const { descr: z, icon: Q, um: te, value: le } = j(N), ge = {
2944
- [x($)]: _(n),
2949
+ [x(C)]: _(s),
2945
2950
  [x(U)]: _(g),
2946
2951
  [x(J)]: _(b)
2947
2952
  }, ce = [], Ee = S(le);
@@ -2965,13 +2970,13 @@ const Le = (s) => s == null ? !1 : typeof s == "string" ? s.toLocaleLowerCase()
2965
2970
  style: ge,
2966
2971
  tabIndex: 0,
2967
2972
  onClick: () => I(N),
2968
- onKeyDown: (_r) => C(_r, N),
2973
+ onKeyDown: (wr) => $(wr, N),
2969
2974
  children: ce
2970
2975
  },
2971
2976
  N.id
2972
2977
  );
2973
2978
  }, R = {
2974
- [G]: String(s),
2979
+ [G]: String(n),
2975
2980
  [V]: K
2976
2981
  };
2977
2982
  return /* @__PURE__ */ O.jsx("div", { className: B.dashList, style: R, children: L ? P.map((N) => re(N)) : D });
@@ -2986,9 +2991,9 @@ const Le = (s) => s == null ? !1 : typeof s == "string" ? s.toLocaleLowerCase()
2986
2991
  MULTI_AUTOCOMPLETE: "AML",
2987
2992
  TEXT_FIELD: "ITX",
2988
2993
  PASSWORD: "PWD"
2989
- }, $n = (s) => s.t == "D8", Cn = (s) => {
2990
- if (s) {
2991
- const e = s.split(";");
2994
+ }, $n = (n) => n.t == "D8", kn = (n) => {
2995
+ if (n) {
2996
+ const e = n.split(";");
2992
2997
  if (e.length == 3)
2993
2998
  return {
2994
2999
  t: e[0],
@@ -3024,55 +3029,55 @@ class Qe {
3024
3029
  return this.value ? "true" : "false";
3025
3030
  }
3026
3031
  }
3027
- function kn(s, e) {
3028
- if (_t(s)) {
3029
- const f = new Date(s);
3032
+ function jn(n, e) {
3033
+ if (_t(n)) {
3034
+ const f = new Date(n);
3030
3035
  if (!isNaN(f.getTime()))
3031
3036
  return f;
3032
3037
  }
3033
- const t = /* @__PURE__ */ new Date(), r = s.replaceAll("/", "").replaceAll("-", "");
3034
- let n = "DDMMYYYY";
3035
- e === "en" && (n = "MMDDYYYY");
3036
- const i = n.indexOf("DD"), o = n.indexOf("MM");
3038
+ const t = /* @__PURE__ */ new Date(), r = n.replaceAll("/", "").replaceAll("-", "");
3039
+ let s = "DDMMYYYY";
3040
+ e === "en" && (s = "MMDDYYYY");
3041
+ const i = s.indexOf("DD"), o = s.indexOf("MM");
3037
3042
  let a = 0, l = 0, c = "";
3038
3043
  switch (r.length) {
3039
3044
  case 1:
3040
3045
  case 2:
3041
- return a = parseInt(r), t.setDate(a), qe(t) ? t : s;
3046
+ return a = parseInt(r), t.setDate(a), qe(t) ? t : n;
3042
3047
  case 3:
3043
3048
  case 4:
3044
- return a = parseInt(r.substring(0, 2)), l = parseInt(r.substring(2, 4)), o === 0 ? (t.setDate(l), t.setMonth(a - 1)) : i === 0 && (t.setDate(a), t.setMonth(l - 1)), qe(t) ? t : s;
3049
+ return a = parseInt(r.substring(0, 2)), l = parseInt(r.substring(2, 4)), o === 0 ? (t.setDate(l), t.setMonth(a - 1)) : i === 0 && (t.setDate(a), t.setMonth(l - 1)), qe(t) ? t : n;
3045
3050
  case 5:
3046
3051
  case 6: {
3047
3052
  a = parseInt(r.substring(0, 2)), l = parseInt(r.substring(2, 4)), Number(r.substring(4)) > 50 ? c = "19" + r.substring(4) : c = "20" + r.substring(4);
3048
3053
  let f = 0, u = 0;
3049
- return o === 0 ? (f = l, u = a - 1, t.setFullYear(parseInt(c), u, f)) : i === 0 && (f = a, u = l - 1, t.setFullYear(parseInt(c), u, f)), bt(a, u, parseInt(c)) && qe(t) ? t : s;
3054
+ return o === 0 ? (f = l, u = a - 1, t.setFullYear(parseInt(c), u, f)) : i === 0 && (f = a, u = l - 1, t.setFullYear(parseInt(c), u, f)), bt(a, u, parseInt(c)) && qe(t) ? t : n;
3050
3055
  }
3051
3056
  case 7:
3052
3057
  case 8: {
3053
3058
  a = parseInt(r.substring(0, 2)), l = parseInt(r.substring(2, 4)), c = r.substring(4);
3054
3059
  let f = 0, u = 0;
3055
- return o === 0 ? (f = l, u = a - 1, t.setFullYear(parseInt(c), u, f)) : i === 0 && (f = a, u = l - 1, t.setFullYear(parseInt(c), u, f)), bt(f, u, parseInt(c)) && qe(t) ? t : s;
3060
+ return o === 0 ? (f = l, u = a - 1, t.setFullYear(parseInt(c), u, f)) : i === 0 && (f = a, u = l - 1, t.setFullYear(parseInt(c), u, f)), bt(f, u, parseInt(c)) && qe(t) ? t : n;
3056
3061
  }
3057
3062
  }
3058
- return s;
3063
+ return n;
3059
3064
  }
3060
- function _t(s) {
3061
- return /^\d{4}-\d{2}-\d{2}$/.test(s) && s.length === 10;
3065
+ function _t(n) {
3066
+ return /^\d{4}-\d{2}-\d{2}$/.test(n) && n.length === 10;
3062
3067
  }
3063
- function qe(s) {
3064
- return s instanceof Date && !isNaN(s.getTime());
3068
+ function qe(n) {
3069
+ return n instanceof Date && !isNaN(n.getTime());
3065
3070
  }
3066
- function jn(s) {
3067
- if (!/^\d{8}$/.test(s)) return !1;
3068
- const e = parseInt(s.slice(0, 4), 10), t = parseInt(s.slice(4, 6), 10), r = parseInt(s.slice(6, 8), 10);
3071
+ function Ln(n) {
3072
+ if (!/^\d{8}$/.test(n)) return !1;
3073
+ const e = parseInt(n.slice(0, 4), 10), t = parseInt(n.slice(4, 6), 10), r = parseInt(n.slice(6, 8), 10);
3069
3074
  return bt(r, t - 1, e);
3070
3075
  }
3071
- function bt(s, e, t) {
3076
+ function bt(n, e, t) {
3072
3077
  const r = [
3073
3078
  31,
3074
3079
  // January
3075
- Ln(t) ? 29 : 28,
3080
+ In(t) ? 29 : 28,
3076
3081
  // February
3077
3082
  31,
3078
3083
  // March
@@ -3095,14 +3100,14 @@ function bt(s, e, t) {
3095
3100
  31
3096
3101
  // December
3097
3102
  ];
3098
- return !(e < 0 || e > 11 || s < 1 || s > r[e]);
3103
+ return !(e < 0 || e > 11 || n < 1 || n > r[e]);
3099
3104
  }
3100
- function Ln(s) {
3101
- return s % 4 === 0 && (s % 100 !== 0 || s % 400 === 0);
3105
+ function In(n) {
3106
+ return n % 4 === 0 && (n % 100 !== 0 || n % 400 === 0);
3102
3107
  }
3103
- function In(s) {
3104
- const e = s.getFullYear(), t = String(s.getMonth() + 1).padStart(2, "0"), r = String(s.getDate()).padStart(2, "0");
3105
- return isNaN(e) || isNaN(Number(t)) || isNaN(Number(r)) ? s.toString() : `${e}-${t}-${r}`;
3108
+ function Nn(n) {
3109
+ const e = n.getFullYear(), t = String(n.getMonth() + 1).padStart(2, "0"), r = String(n.getDate()).padStart(2, "0");
3110
+ return isNaN(e) || isNaN(Number(t)) || isNaN(Number(r)) ? n.toString() : `${e}-${t}-${r}`;
3106
3111
  }
3107
3112
  class et {
3108
3113
  constructor(e, t) {
@@ -3111,13 +3116,13 @@ class et {
3111
3116
  this.class = e, this.date = t;
3112
3117
  }
3113
3118
  static fromDataObj(e) {
3114
- const t = ir.get(`${e.t}${e.p}`);
3119
+ const t = ar.get(`${e.t}${e.p}`);
3115
3120
  if (t)
3116
3121
  return new et(e, t.legacyToIso(e.k));
3117
3122
  throw new Error(`Date creation from ${e.t}${e.p} not implemented yet`);
3118
3123
  }
3119
3124
  getLegacyValue() {
3120
- const e = ir.get(`${this.class.t}${this.class.p}`);
3125
+ const e = ar.get(`${this.class.t}${this.class.p}`);
3121
3126
  if (e)
3122
3127
  return e.isoToLegacy(this.date);
3123
3128
  throw new Error(
@@ -3128,33 +3133,33 @@ class et {
3128
3133
  return this.date;
3129
3134
  }
3130
3135
  }
3131
- const ir = /* @__PURE__ */ new Map([
3136
+ const ar = /* @__PURE__ */ new Map([
3132
3137
  [
3133
3138
  "D8*YYMD",
3134
3139
  {
3135
- legacyToIso(s) {
3136
- return jn(s) && `${s.substring(0, 4)}-${s.substring(4, 6)}-${s.substring(6, 8)}` || s;
3140
+ legacyToIso(n) {
3141
+ return Ln(n) && `${n.substring(0, 4)}-${n.substring(4, 6)}-${n.substring(6, 8)}` || n;
3137
3142
  },
3138
- isoToLegacy(s) {
3139
- return _t(s) && s.replaceAll("-", "") || s;
3143
+ isoToLegacy(n) {
3144
+ return _t(n) && n.replaceAll("-", "") || n;
3140
3145
  }
3141
3146
  }
3142
3147
  ]
3143
- ]), tt = (s, e) => {
3148
+ ]), tt = (n, e) => {
3144
3149
  he(() => {
3145
3150
  const t = (r) => {
3146
- typeof s == "object" && s !== null && "current" in s && s.current && !s.current.contains(r.target) && e();
3151
+ typeof n == "object" && n !== null && "current" in n && n.current && !n.current.contains(r.target) && e();
3147
3152
  };
3148
3153
  return document.addEventListener("mousedown", t), () => {
3149
3154
  document.removeEventListener("mousedown", t);
3150
3155
  };
3151
- }, [s, e]);
3156
+ }, [n, e]);
3152
3157
  };
3153
3158
  function wt({
3154
- position: s = "bottom",
3159
+ position: n = "bottom",
3155
3160
  enabled: e = !0
3156
3161
  }) {
3157
- const t = xe(null), r = xe(null), [n, i] = ee(0), o = Te(() => {
3162
+ const t = xe(null), r = xe(null), [s, i] = ee(0), o = Te(() => {
3158
3163
  const a = t.current, l = r.current;
3159
3164
  if (!a || !l) return;
3160
3165
  const { top: c, left: f, width: u, height: p } = a.getBoundingClientRect();
@@ -3165,7 +3170,7 @@ function wt({
3165
3170
  return;
3166
3171
  }
3167
3172
  let v = c + window.scrollY, E = f + window.scrollX;
3168
- switch (s) {
3173
+ switch (n) {
3169
3174
  case "top":
3170
3175
  v -= h;
3171
3176
  break;
@@ -3182,8 +3187,8 @@ function wt({
3182
3187
  requestAnimationFrame(() => {
3183
3188
  l.style.transform = `translate(${E}px, ${v}px)`;
3184
3189
  });
3185
- }, [s]);
3186
- return Tr(() => {
3190
+ }, [n]);
3191
+ return Rr(() => {
3187
3192
  e && t.current && r.current && o();
3188
3193
  const a = new MutationObserver(() => {
3189
3194
  r.current && o();
@@ -3191,20 +3196,20 @@ function wt({
3191
3196
  return r.current && a.observe(r.current, { childList: !0, subtree: !0 }), window.addEventListener("resize", o), window.addEventListener("scroll", o, !0), () => {
3192
3197
  window.removeEventListener("resize", o), window.removeEventListener("scroll", o, !0), a.disconnect();
3193
3198
  };
3194
- }, [o, e]), { anchorRef: t, targetRef: r, anchorWidth: n };
3199
+ }, [o, e]), { anchorRef: t, targetRef: r, anchorWidth: s };
3195
3200
  }
3196
- const rt = (s, e, t) => {
3201
+ const rt = (n, e, t) => {
3197
3202
  if (t)
3198
3203
  switch (t) {
3199
3204
  case "CodeOnly":
3200
- return s;
3205
+ return n;
3201
3206
  case "DescOnly":
3202
3207
  return e || "";
3203
3208
  case "Both":
3204
- return `${s} - ${e}`;
3209
+ return `${n} - ${e}`;
3205
3210
  }
3206
- return s;
3207
- }, Ce = {
3211
+ return n;
3212
+ }, $e = {
3208
3213
  "smp-list": "_smp-list_1ux5k_1",
3209
3214
  "smp-list-container": "_smp-list-container_1ux5k_18",
3210
3215
  "smp-list-listItem": "_smp-list-listItem_1ux5k_23"
@@ -3213,23 +3218,23 @@ const rt = (s, e, t) => {
3213
3218
  "smp-helper-text-danger": "_smp-helper-text-danger_10pis_9",
3214
3219
  "smp-helper-text-warning": "_smp-helper-text-warning_10pis_13",
3215
3220
  "smp-helper-text-disabled": "_smp-helper-text-disabled_10pis_17"
3216
- }, Nn = ({
3217
- helperText: s,
3221
+ }, Mn = ({
3222
+ helperText: n,
3218
3223
  disabled: e,
3219
3224
  state: t
3220
3225
  }) => {
3221
3226
  const r = {
3222
3227
  container: `${ht["smp-helper-text"]} ${e ? ht["smp-helper-text-disabled"] : ""} ${t ? ht[`smp-helper-text-${t}`] : ""}`
3223
3228
  };
3224
- return /* @__PURE__ */ O.jsx("span", { className: r.container, children: s });
3225
- }, ar = {
3229
+ return /* @__PURE__ */ O.jsx("span", { className: r.container, children: n });
3230
+ }, or = {
3226
3231
  "smp-label": "_smp-label_3ywt3_1",
3227
3232
  "smp-label-disabled": "_smp-label-disabled_3ywt3_5"
3228
- }, Mn = ({ label: s, disabled: e }) => {
3233
+ }, Fn = ({ label: n, disabled: e }) => {
3229
3234
  const t = {
3230
- container: `${ar["smp-label"]} ${e ? ar["smp-label-disabled"] : ""}`
3235
+ container: `${or["smp-label"]} ${e ? or["smp-label-disabled"] : ""}`
3231
3236
  };
3232
- return /* @__PURE__ */ O.jsx("span", { className: t.container, children: s });
3237
+ return /* @__PURE__ */ O.jsx("span", { className: t.container, children: n });
3233
3238
  }, me = {
3234
3239
  "smp-textfield-wrapper": "_smp-textfield-wrapper_1tjct_4",
3235
3240
  "smp-textfield": "_smp-textfield_1tjct_4",
@@ -3244,11 +3249,11 @@ const rt = (s, e, t) => {
3244
3249
  "smp-textfield-variant-notSelectable": "_smp-textfield-variant-notSelectable_1tjct_115",
3245
3250
  "smp-textfield-disabled": "_smp-textfield-disabled_1tjct_125"
3246
3251
  }, Ne = ({
3247
- disabled: s,
3252
+ disabled: n,
3248
3253
  readOnly: e,
3249
3254
  bindValue: t,
3250
3255
  icon: r,
3251
- onBlur: n,
3256
+ onBlur: s,
3252
3257
  onChange: i,
3253
3258
  placeholder: o,
3254
3259
  shapeIcon: a,
@@ -3266,17 +3271,17 @@ const rt = (s, e, t) => {
3266
3271
  helperText: A = !1,
3267
3272
  error: D
3268
3273
  }) => {
3269
- const y = D ? "danger" : c, P = D || c == "danger" ? "error" : a, L = A || !!D, Y = ($) => {
3270
- i == null || i($.target.value);
3274
+ const y = D ? "danger" : c, P = D || c == "danger" ? "error" : a, L = A || !!D, Y = (C) => {
3275
+ i == null || i(C.target.value);
3271
3276
  }, F = {
3272
3277
  wrapper: `${me["smp-textfield-wrapper"]}`,
3273
- container: `${me["smp-textfield"]} ${s ? me["smp-textfield-disabled"] : ""} ${e ? me["smp-textfield-readOnly"] : ""} ${o ? me["smp-textfield-placeholder"] : ""} ${l ? me[`smp-textfield-${l}`] : ""} ${y ? me[`smp-textfield-${y}`] : ""} ${f ? me[`smp-textfield-variant-${f}`] : ""}`,
3278
+ container: `${me["smp-textfield"]} ${n ? me["smp-textfield-disabled"] : ""} ${e ? me["smp-textfield-readOnly"] : ""} ${o ? me["smp-textfield-placeholder"] : ""} ${l ? me[`smp-textfield-${l}`] : ""} ${y ? me[`smp-textfield-${y}`] : ""} ${f ? me[`smp-textfield-variant-${f}`] : ""}`,
3274
3279
  input: `${me["smp-textfield-input"]}`
3275
3280
  };
3276
3281
  return /* @__PURE__ */ O.jsxs("div", { className: F.wrapper, children: [
3277
- w && /* @__PURE__ */ O.jsx(Mn, { label: w, disabled: s }),
3282
+ w && /* @__PURE__ */ O.jsx(Fn, { label: w, disabled: n }),
3278
3283
  /* @__PURE__ */ O.jsxs("div", { className: F.container, ref: h, children: [
3279
- r && /* @__PURE__ */ O.jsx(ve, { icon: r, disabled: s }),
3284
+ r && /* @__PURE__ */ O.jsx(ve, { icon: r, disabled: n }),
3280
3285
  /* @__PURE__ */ O.jsx(
3281
3286
  "input",
3282
3287
  {
@@ -3284,9 +3289,9 @@ const rt = (s, e, t) => {
3284
3289
  value: t,
3285
3290
  placeholder: o,
3286
3291
  onChange: Y,
3287
- onBlur: n,
3292
+ onBlur: s,
3288
3293
  className: F.input,
3289
- disabled: s,
3294
+ disabled: n,
3290
3295
  readOnly: e,
3291
3296
  onKeyDown: v,
3292
3297
  "aria-label": b,
@@ -3297,7 +3302,7 @@ const rt = (s, e, t) => {
3297
3302
  ve,
3298
3303
  {
3299
3304
  icon: P,
3300
- disabled: s,
3305
+ disabled: n,
3301
3306
  state: y,
3302
3307
  onClick: p,
3303
3308
  rotated: u
@@ -3305,28 +3310,28 @@ const rt = (s, e, t) => {
3305
3310
  )
3306
3311
  ] }),
3307
3312
  L && /* @__PURE__ */ O.jsx(
3308
- Nn,
3313
+ Mn,
3309
3314
  {
3310
3315
  helperText: D,
3311
- disabled: s,
3316
+ disabled: n,
3312
3317
  state: y
3313
3318
  }
3314
3319
  )
3315
3320
  ] });
3316
3321
  };
3317
- function Fn({
3318
- items: s,
3322
+ function Vn({
3323
+ items: n,
3319
3324
  itemHeight: e,
3320
3325
  containerHeight: t,
3321
3326
  overscan: r = 5
3322
3327
  }) {
3323
- const [n, i] = ee(0), o = xe(null), a = s.length * e, l = Math.max(0, Math.floor(n / e) - r), c = Math.min(
3324
- s.length - 1,
3325
- Math.floor((n + t) / e) + r
3328
+ const [s, i] = ee(0), o = xe(null), a = n.length * e, l = Math.max(0, Math.floor(s / e) - r), c = Math.min(
3329
+ n.length - 1,
3330
+ Math.floor((s + t) / e) + r
3326
3331
  ), f = [];
3327
3332
  for (let h = l; h <= c; h++)
3328
3333
  f.push({
3329
- item: s[h],
3334
+ item: n[h],
3330
3335
  index: h,
3331
3336
  offsetTop: h * e
3332
3337
  });
@@ -3358,7 +3363,7 @@ function Fn({
3358
3363
  }
3359
3364
  },
3360
3365
  scrollInfo: {
3361
- scrollTop: n,
3366
+ scrollTop: s,
3362
3367
  viewportHeight: t,
3363
3368
  totalHeight: a,
3364
3369
  startIndex: l,
@@ -3367,12 +3372,12 @@ function Fn({
3367
3372
  scrollToIndex: p
3368
3373
  };
3369
3374
  }
3370
- const Vn = 10, yr = ({
3371
- id: s,
3375
+ const Yn = 10, vr = ({
3376
+ id: n,
3372
3377
  options: e,
3373
3378
  displayMode: t,
3374
3379
  ref: r,
3375
- showFilter: n,
3380
+ showFilter: s,
3376
3381
  selectedIndex: i = null,
3377
3382
  // current outline element
3378
3383
  activeIndex: o = [],
@@ -3381,14 +3386,14 @@ const Vn = 10, yr = ({
3381
3386
  onClick: l,
3382
3387
  onKeyDown: c
3383
3388
  }) => {
3384
- var $;
3389
+ var C;
3385
3390
  const [f, u] = ee(""), p = 24, [h, g] = ee(
3386
3391
  i !== null ? i : -1
3387
- ), v = n !== void 0 ? n : e.length > Vn, E = f ? e.filter(
3392
+ ), v = s !== void 0 ? s : e.length > Yn, E = f ? e.filter(
3388
3393
  (M) => M.label.toLowerCase().includes(f.toLowerCase())
3389
3394
  ) : e, b = (M) => {
3390
3395
  u(M);
3391
- }, { virtualItems: w, containerProps: A, innerProps: D, scrollToIndex: y } = Fn({
3396
+ }, { virtualItems: w, containerProps: A, innerProps: D, scrollToIndex: y } = Vn({
3392
3397
  items: E,
3393
3398
  itemHeight: p,
3394
3399
  containerHeight: 200,
@@ -3411,15 +3416,15 @@ const Vn = 10, yr = ({
3411
3416
  }, Y = (M) => {
3412
3417
  P(M);
3413
3418
  }, F = {
3414
- wrapper: `${Ce["smp-list"]}`,
3415
- container: `${Ce["smp-list-container"]}`,
3416
- virtualScroll: `${Ce["smp-list-virtualScroll"]}`,
3417
- listItem: `${Ce["smp-list-listItem"]}`
3419
+ wrapper: `${$e["smp-list"]}`,
3420
+ container: `${$e["smp-list-container"]}`,
3421
+ virtualScroll: `${$e["smp-list-virtualScroll"]}`,
3422
+ listItem: `${$e["smp-list-listItem"]}`
3418
3423
  };
3419
3424
  return /* @__PURE__ */ O.jsxs(
3420
3425
  "div",
3421
3426
  {
3422
- id: s,
3427
+ id: n,
3423
3428
  ref: r,
3424
3429
  className: F.wrapper,
3425
3430
  style: {
@@ -3444,7 +3449,7 @@ const Vn = 10, yr = ({
3444
3449
  role: "listbox",
3445
3450
  "aria-label": "List",
3446
3451
  onKeyDown: Y,
3447
- "aria-activedescendant": h >= 0 && h < E.length ? ($ = E[h]) == null ? void 0 : $.id : void 0,
3452
+ "aria-activedescendant": h >= 0 && h < E.length ? (C = E[h]) == null ? void 0 : C.id : void 0,
3448
3453
  children: /* @__PURE__ */ O.jsx("div", { ...D, className: F.virtualScroll, children: w.map(({ item: M, index: U, offsetTop: J }) => {
3449
3454
  const K = o.includes(M.id);
3450
3455
  return (
@@ -3456,7 +3461,7 @@ const Vn = 10, yr = ({
3456
3461
  id: M.id,
3457
3462
  "aria-selected": h === U ? "true" : "false",
3458
3463
  tabIndex: -1,
3459
- className: `${F.listItem} ${h === U ? Ce["selected-item"] : ""}`,
3464
+ className: `${F.listItem} ${h === U ? $e["selected-item"] : ""}`,
3460
3465
  "aria-label": M.id + "-" + M.label,
3461
3466
  style: {
3462
3467
  height: `${p}px`,
@@ -3481,37 +3486,37 @@ const Vn = 10, yr = ({
3481
3486
  ]
3482
3487
  }
3483
3488
  );
3484
- }, vr = ({
3485
- displayMode: s,
3489
+ }, br = ({
3490
+ displayMode: n,
3486
3491
  bindValue: e,
3487
3492
  optionalDisplayValue: t,
3488
3493
  ...r
3489
3494
  }) => {
3490
- const [n, i] = ee(
3491
- rt(e, t, s)
3495
+ const [s, i] = ee(
3496
+ rt(e, t, n)
3492
3497
  );
3493
3498
  return he(() => {
3494
3499
  i(e);
3495
3500
  }, [e]), he(() => {
3496
3501
  i(
3497
- rt(e, t, s)
3502
+ rt(e, t, n)
3498
3503
  );
3499
- }, [t, s]), /* @__PURE__ */ O.jsx(Ne, { ...r, bindValue: n });
3500
- }, Yn = (s) => {
3504
+ }, [t, n]), /* @__PURE__ */ O.jsx(Ne, { ...r, bindValue: s });
3505
+ }, Un = (n) => {
3501
3506
  const e = xe(null);
3502
3507
  return he(() => () => {
3503
3508
  e.current && clearTimeout(e.current);
3504
3509
  }, []), (r) => {
3505
3510
  e.current && clearTimeout(e.current), e.current = setTimeout(() => {
3506
3511
  r();
3507
- }, s);
3512
+ }, n);
3508
3513
  };
3509
- }, br = ({
3510
- bindValue: s,
3514
+ }, xr = ({
3515
+ bindValue: n,
3511
3516
  optionalDisplayValue: e,
3512
3517
  options: t,
3513
3518
  displayMode: r,
3514
- listDisplayMode: n = "Both",
3519
+ listDisplayMode: s = "Both",
3515
3520
  minimumChars: i = 3,
3516
3521
  placeholder: o,
3517
3522
  fun: a,
@@ -3521,12 +3526,12 @@ const Vn = 10, yr = ({
3521
3526
  _multiActiveIndex: u,
3522
3527
  ...p
3523
3528
  }) => {
3524
- const [h, g] = ee(s), [v, E] = ee(e), [b, w] = ee(!1), [A, D] = ee(t || []), [y, P] = ee(0), [L, Y] = ee([s]), { anchorRef: F, targetRef: $, anchorWidth: M } = wt({
3529
+ const [h, g] = ee(n), [v, E] = ee(e), [b, w] = ee(!1), [A, D] = ee(t || []), [y, P] = ee(0), [L, Y] = ee([n]), { anchorRef: F, targetRef: C, anchorWidth: M } = wt({
3525
3530
  position: "bottom",
3526
3531
  enabled: b
3527
3532
  });
3528
- tt($, () => w(!1));
3529
- const U = Yn(400), J = (V) => {
3533
+ tt(C, () => w(!1));
3534
+ const U = Un(400), J = (V) => {
3530
3535
  V.length >= i ? a && f && U(async () => {
3531
3536
  const B = await f(a, V);
3532
3537
  D(B), P(B.length > 0 ? 0 : -1), w(!0);
@@ -3553,7 +3558,7 @@ const Vn = 10, yr = ({
3553
3558
  };
3554
3559
  return /* @__PURE__ */ O.jsxs("div", { children: [
3555
3560
  /* @__PURE__ */ O.jsx(
3556
- vr,
3561
+ br,
3557
3562
  {
3558
3563
  ...p,
3559
3564
  bindValue: h,
@@ -3568,12 +3573,12 @@ const Vn = 10, yr = ({
3568
3573
  }
3569
3574
  ),
3570
3575
  b && /* @__PURE__ */ O.jsx(
3571
- yr,
3576
+ vr,
3572
3577
  {
3573
3578
  options: A,
3574
- displayMode: n,
3579
+ displayMode: s,
3575
3580
  onClick: K,
3576
- ref: $,
3581
+ ref: C,
3577
3582
  selectedIndex: y,
3578
3583
  activeIndex: u || L,
3579
3584
  width: M,
@@ -3596,11 +3601,11 @@ const Vn = 10, yr = ({
3596
3601
  "smp-buttonVariant-danger": "_smp-buttonVariant-danger_pte2h_111",
3597
3602
  "smp-buttonType-ghost": "_smp-buttonType-ghost_pte2h_138"
3598
3603
  }, nt = ({
3599
- bindValue: s,
3604
+ bindValue: n,
3600
3605
  onClick: e,
3601
3606
  ariaLabel: t,
3602
3607
  icon: r,
3603
- disabled: n,
3608
+ disabled: s,
3604
3609
  sizing: i = "base",
3605
3610
  variant: o = "primary",
3606
3611
  type: a = "raised",
@@ -3623,39 +3628,39 @@ const Vn = 10, yr = ({
3623
3628
  className: p.container,
3624
3629
  onClick: e,
3625
3630
  "aria-label": t,
3626
- disabled: n,
3631
+ disabled: s,
3627
3632
  "aria-busy": u,
3628
3633
  children: u ? /* @__PURE__ */ O.jsx(ve, { icon: "spinner", state: h(o), spin: !0 }) : /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
3629
3634
  r && l && /* @__PURE__ */ O.jsx(
3630
3635
  ve,
3631
3636
  {
3632
3637
  icon: r,
3633
- disabled: n,
3638
+ disabled: s,
3634
3639
  state: h(o)
3635
3640
  }
3636
3641
  ),
3637
- c && /* @__PURE__ */ O.jsx("span", { children: s })
3642
+ c && /* @__PURE__ */ O.jsx("span", { children: n })
3638
3643
  ] })
3639
3644
  }
3640
3645
  );
3641
- }, Un = ({
3642
- bindValue: s,
3646
+ }, Wn = ({
3647
+ bindValue: n,
3643
3648
  onChange: e,
3644
3649
  onBlur: t
3645
3650
  }) => {
3646
- const r = (n) => {
3647
- e && e(n.target.checked);
3651
+ const r = (s) => {
3652
+ e && e(s.target.checked);
3648
3653
  };
3649
3654
  return /* @__PURE__ */ O.jsx(
3650
3655
  "input",
3651
3656
  {
3652
3657
  type: "checkbox",
3653
- checked: s,
3658
+ checked: n,
3654
3659
  onChange: r,
3655
3660
  onBlur: t
3656
3661
  }
3657
3662
  );
3658
- }, Wn = {
3663
+ }, Hn = {
3659
3664
  titleLarge: "h2",
3660
3665
  title: "h3",
3661
3666
  body: "h6",
@@ -3667,38 +3672,38 @@ const Vn = 10, yr = ({
3667
3672
  "smp-typography-titleLarge": "_smp-typography-titleLarge_oznk3_20",
3668
3673
  "smp-typography-label": "_smp-typography-label_oznk3_24",
3669
3674
  "smp-typography-disabled": "_smp-typography-disabled_oznk3_29"
3670
- }, Hn = ({
3671
- variant: s = "body",
3675
+ }, qn = ({
3676
+ variant: n = "body",
3672
3677
  bindValue: e,
3673
3678
  ...t
3674
3679
  }) => {
3675
- const r = Wn[s], n = {
3676
- container: `${mt["smp-typography"]} ${s ? mt[`smp-typography-${s}`] : ""} ${t.disabled ? mt["smp-typography-disabled"] : ""}`
3680
+ const r = Hn[n], s = {
3681
+ container: `${mt["smp-typography"]} ${n ? mt[`smp-typography-${n}`] : ""} ${t.disabled ? mt["smp-typography-disabled"] : ""}`
3677
3682
  };
3678
- return /* @__PURE__ */ O.jsx(r, { className: n.container, disabled: t.disabled, children: e });
3679
- }, or = {
3683
+ return /* @__PURE__ */ O.jsx(r, { className: s.container, disabled: t.disabled, children: e });
3684
+ }, lr = {
3680
3685
  "smp-chips-container": "_smp-chips-container_g7dut_1",
3681
3686
  "smp-chips-element": "_smp-chips-element_g7dut_9"
3682
- }, xr = ({
3683
- elements: s,
3687
+ }, Sr = ({
3688
+ elements: n,
3684
3689
  isEditable: e = !1,
3685
3690
  displayMode: t = "Both",
3686
3691
  onChange: r
3687
3692
  }) => {
3688
- const n = {
3689
- container: `${or["smp-chips-container"]}`,
3690
- element: `${or["smp-chips-element"]}`
3693
+ const s = {
3694
+ container: `${lr["smp-chips-container"]}`,
3695
+ element: `${lr["smp-chips-element"]}`
3691
3696
  }, i = (o) => {
3692
- r == null || r(s.filter((a, l) => l !== o));
3697
+ r == null || r(n.filter((a, l) => l !== o));
3693
3698
  };
3694
- return /* @__PURE__ */ O.jsx("div", { className: n.container, role: "list", children: s.map((o, a) => {
3699
+ return /* @__PURE__ */ O.jsx("div", { className: s.container, role: "list", children: n.map((o, a) => {
3695
3700
  const l = rt(
3696
3701
  o.bindValue,
3697
3702
  o.optionalDisplayValue,
3698
3703
  t
3699
3704
  );
3700
- return /* @__PURE__ */ O.jsxs("div", { className: n.element, role: "listitem", children: [
3701
- /* @__PURE__ */ O.jsx(Hn, { variant: "label", bindValue: l }),
3705
+ return /* @__PURE__ */ O.jsxs("div", { className: s.element, role: "listitem", children: [
3706
+ /* @__PURE__ */ O.jsx(qn, { variant: "label", bindValue: l }),
3702
3707
  e && /* @__PURE__ */ O.jsx(
3703
3708
  ve,
3704
3709
  {
@@ -3710,32 +3715,32 @@ const Vn = 10, yr = ({
3710
3715
  ] }, a);
3711
3716
  }) });
3712
3717
  };
3713
- function Sr(s, e) {
3718
+ function Er(n, e) {
3714
3719
  const t = xe(null);
3715
3720
  he(() => {
3716
- if (!s) return;
3721
+ if (!n) return;
3717
3722
  const r = typeof e == "object" && e !== null && "current" in e ? e.current : null;
3718
3723
  if (!r) return;
3719
3724
  t.current = document.activeElement;
3720
- const n = () => r ? Array.from(
3725
+ const s = () => r ? Array.from(
3721
3726
  r.querySelectorAll(
3722
3727
  'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
3723
3728
  )
3724
3729
  ).filter((c) => !c.hasAttribute("disabled") && c.offsetParent !== null) : [];
3725
3730
  (() => {
3726
- const c = n();
3731
+ const c = s();
3727
3732
  c.length > 0 && requestAnimationFrame(() => c[0].focus());
3728
3733
  })();
3729
3734
  const o = (c) => {
3730
3735
  if (c.key === "Escape" || c.key !== "Tab") return;
3731
- const f = n();
3736
+ const f = s();
3732
3737
  if (f.length === 0) return;
3733
3738
  const u = f[0], p = f[f.length - 1];
3734
3739
  c.shiftKey && document.activeElement === u ? (c.preventDefault(), p.focus()) : !c.shiftKey && document.activeElement === p && (c.preventDefault(), u.focus());
3735
3740
  }, a = (c) => {
3736
3741
  if (r && !r.contains(c.target)) {
3737
3742
  c.preventDefault();
3738
- const f = n();
3743
+ const f = s();
3739
3744
  f.length > 0 && f[0].focus();
3740
3745
  }
3741
3746
  };
@@ -3747,36 +3752,36 @@ function Sr(s, e) {
3747
3752
  (c = t.current) == null || c.focus();
3748
3753
  });
3749
3754
  };
3750
- }, [s, e]);
3755
+ }, [n, e]);
3751
3756
  }
3752
- const qn = ({
3753
- bindValue: s,
3757
+ const Kn = ({
3758
+ bindValue: n,
3754
3759
  onChange: e,
3755
3760
  options: t = [],
3756
3761
  optionalDisplayValue: r,
3757
- displayMode: n,
3762
+ displayMode: s,
3758
3763
  listDisplayMode: i = "Both",
3759
3764
  fun: o,
3760
3765
  onOptionsRequest: a,
3761
3766
  multiActiveIndex: l,
3762
3767
  ...c
3763
3768
  }) => {
3764
- const [f, u] = ee(!1), [p, h] = ee(t), [g, v] = ee(-1), [E, b] = ee([s]), w = Rr(), { anchorRef: A, targetRef: D, anchorWidth: y } = wt({
3769
+ const [f, u] = ee(!1), [p, h] = ee(t), [g, v] = ee(-1), [E, b] = ee([n]), w = Dr(), { anchorRef: A, targetRef: D, anchorWidth: y } = wt({
3765
3770
  position: "bottom",
3766
3771
  enabled: f
3767
3772
  });
3768
- tt(D, () => u(!1)), Sr(f, D);
3769
- const P = ($) => {
3770
- e == null || e($.id, $.label);
3771
- const M = p.findIndex((U) => U.id === $.id);
3772
- v(M), b([$.id]), u(!1);
3773
- }, L = ($) => {
3774
- $.key === "Escape" && (u(!1), v(-1));
3775
- }, Y = ($) => {
3776
- ($.key === "ArrowDown" || $.key === "ArrowUp") && ($.preventDefault(), F());
3773
+ tt(D, () => u(!1)), Er(f, D);
3774
+ const P = (C) => {
3775
+ e == null || e(C.id, C.label);
3776
+ const M = p.findIndex((U) => U.id === C.id);
3777
+ v(M), b([C.id]), u(!1);
3778
+ }, L = (C) => {
3779
+ C.key === "Escape" && (u(!1), v(-1));
3780
+ }, Y = (C) => {
3781
+ (C.key === "ArrowDown" || C.key === "ArrowUp") && (C.preventDefault(), F());
3777
3782
  }, F = () => {
3778
- o && a && a(o, void 0).then(($) => {
3779
- h($), v($.length > 0 ? 0 : -1), u(!0);
3783
+ o && a && a(o, void 0).then((C) => {
3784
+ h(C), v(C.length > 0 ? 0 : -1), u(!0);
3780
3785
  });
3781
3786
  };
3782
3787
  return /* @__PURE__ */ O.jsxs(
@@ -3788,12 +3793,12 @@ const qn = ({
3788
3793
  "aria-owns": w,
3789
3794
  children: [
3790
3795
  /* @__PURE__ */ O.jsx(
3791
- vr,
3796
+ br,
3792
3797
  {
3793
3798
  ...c,
3794
- bindValue: s,
3799
+ bindValue: n,
3795
3800
  optionalDisplayValue: r,
3796
- displayMode: n,
3801
+ displayMode: s,
3797
3802
  onShapeIconClick: F,
3798
3803
  onKeyDown: Y,
3799
3804
  shapeIcon: "arrow_drop_down",
@@ -3805,7 +3810,7 @@ const qn = ({
3805
3810
  }
3806
3811
  ),
3807
3812
  f && /* @__PURE__ */ O.jsx(
3808
- yr,
3813
+ vr,
3809
3814
  {
3810
3815
  id: w,
3811
3816
  options: p,
@@ -3822,7 +3827,7 @@ const qn = ({
3822
3827
  }
3823
3828
  );
3824
3829
  };
3825
- var Er = /* @__PURE__ */ ((s) => (s.CALENDAR_FOR = "Date.CalendarFor", s.CLOSE = "Generic.Close", s))(Er || {}), ae = /* @__PURE__ */ ((s) => (s.MONDAY = "Day.Monday", s.MONDAY_SHORT = "Day.MondayShort", s.TUESDAY = "Day.Tuesday", s.TUESDAY_SHORT = "Day.TuesdayShort", s.WEDNESDAY = "Day.Wednesday", s.WEDNESDAY_SHORT = "Day.WednesdayShort", s.THURSDAY = "Day.Thursday", s.THURSDAY_SHORT = "Day.ThursdayShort", s.FRIDAY = "Day.Friday", s.FRIDAY_SHORT = "Day.FridayShort", s.SATURDAY = "Day.Saturday", s.SATURDAY_SHORT = "Day.SaturdayShort", s.SUNDAY = "Day.Sunday", s.SUNDAY_SHORT = "Day.SundayShort", s))(ae || {}), oe = /* @__PURE__ */ ((s) => (s.JANUARY = "Month.January", s.FEBRUARY = "Month.February", s.MARCH = "Month.March", s.APRIL = "Month.April", s.MAY = "Month.May", s.JUNE = "Month.June", s.JULY = "Month.July", s.AUGUST = "Month.August", s.SEPTEMBER = "Month.September", s.OCTOBER = "Month.October", s.NOVEMBER = "Month.November", s.DECEMBER = "Month.December", s))(oe || {}), xt = /* @__PURE__ */ ((s) => (s.PREVIOUS_DAY = "Date.PreviousDay", s.PREVIOUS_WEEK = "Date.PreviousWeek", s.PREVIOUS_MONTH = "Date.PreviousMonth", s.PREVIOUS_YEAR = "Date.PreviousYear", s.NEXT_DAY = "Date.NextDay", s.NEXT_WEEK = "Date.NextWeek", s.NEXT_MONTH = "Date.NextMonth", s.NEXT_YEAR = "Date.NextYear", s.YESTERDAY = "Date.Yesterday", s.TODAY = "Date.Today", s.TOMORROW = "Date.Tomorrow", s))(xt || {});
3830
+ var _r = /* @__PURE__ */ ((n) => (n.CALENDAR_FOR = "Date.CalendarFor", n.CLOSE = "Generic.Close", n))(_r || {}), ae = /* @__PURE__ */ ((n) => (n.MONDAY = "Day.Monday", n.MONDAY_SHORT = "Day.MondayShort", n.TUESDAY = "Day.Tuesday", n.TUESDAY_SHORT = "Day.TuesdayShort", n.WEDNESDAY = "Day.Wednesday", n.WEDNESDAY_SHORT = "Day.WednesdayShort", n.THURSDAY = "Day.Thursday", n.THURSDAY_SHORT = "Day.ThursdayShort", n.FRIDAY = "Day.Friday", n.FRIDAY_SHORT = "Day.FridayShort", n.SATURDAY = "Day.Saturday", n.SATURDAY_SHORT = "Day.SaturdayShort", n.SUNDAY = "Day.Sunday", n.SUNDAY_SHORT = "Day.SundayShort", n))(ae || {}), oe = /* @__PURE__ */ ((n) => (n.JANUARY = "Month.January", n.FEBRUARY = "Month.February", n.MARCH = "Month.March", n.APRIL = "Month.April", n.MAY = "Month.May", n.JUNE = "Month.June", n.JULY = "Month.July", n.AUGUST = "Month.August", n.SEPTEMBER = "Month.September", n.OCTOBER = "Month.October", n.NOVEMBER = "Month.November", n.DECEMBER = "Month.December", n))(oe || {}), xt = /* @__PURE__ */ ((n) => (n.PREVIOUS_DAY = "Date.PreviousDay", n.PREVIOUS_WEEK = "Date.PreviousWeek", n.PREVIOUS_MONTH = "Date.PreviousMonth", n.PREVIOUS_YEAR = "Date.PreviousYear", n.NEXT_DAY = "Date.NextDay", n.NEXT_WEEK = "Date.NextWeek", n.NEXT_MONTH = "Date.NextMonth", n.NEXT_YEAR = "Date.NextYear", n.YESTERDAY = "Date.Yesterday", n.TODAY = "Date.Today", n.TOMORROW = "Date.Tomorrow", n))(xt || {});
3826
3831
  const de = {
3827
3832
  "smp-datepickercalendar": "_smp-datepickercalendar_u2io5_1",
3828
3833
  "smp-datepickercalendar-table": "_smp-datepickercalendar-table_u2io5_30",
@@ -3833,19 +3838,19 @@ const de = {
3833
3838
  "smp-datepickercalendar-td-focused": "_smp-datepickercalendar-td-focused_u2io5_83",
3834
3839
  "smp-datepickercalendar-label": "_smp-datepickercalendar-label_u2io5_93"
3835
3840
  };
3836
- function Kn({
3837
- selectedDate: s,
3841
+ function Bn({
3842
+ selectedDate: n,
3838
3843
  onDateChange: e,
3839
3844
  disabledDateRanges: t = [],
3840
3845
  initialValue: r,
3841
- targetRef: n
3846
+ targetRef: s
3842
3847
  }) {
3843
3848
  const { translate: i } = Et(), o = () => {
3844
3849
  if (!r) return;
3845
3850
  const k = new Date(r);
3846
3851
  return isNaN(k.getTime()) ? void 0 : k;
3847
3852
  }, [a] = ee(/* @__PURE__ */ new Date()), [l, c] = ee(
3848
- s || o() || /* @__PURE__ */ new Date()
3853
+ n || o() || /* @__PURE__ */ new Date()
3849
3854
  ), [f, u] = ee(
3850
3855
  l ? l.getMonth() : (/* @__PURE__ */ new Date()).getMonth()
3851
3856
  ), [p, h] = ee(
@@ -3898,12 +3903,12 @@ function Kn({
3898
3903
  const m = d.start.getTime(), x = d.end.getTime(), _ = k.getTime();
3899
3904
  return _ >= m && _ <= x;
3900
3905
  }), y = (k) => {
3901
- D(k) || (c(k), v(k.getDate()), e && e(In(k)));
3906
+ D(k) || (c(k), v(k.getDate()), e && e(Nn(k)));
3902
3907
  }, P = () => {
3903
3908
  f === 0 ? (u(11), h(p - 1)) : u(f - 1), v(1);
3904
3909
  }, L = () => {
3905
3910
  f === 11 ? (u(0), h(p + 1)) : u(f + 1), v(1);
3906
- }, Y = (k, d) => new Date(k, d + 1, 0).getDate(), F = (k, d) => new Date(k, d, 1).getDay(), $ = (k) => {
3911
+ }, Y = (k, d) => new Date(k, d + 1, 0).getDate(), F = (k, d) => new Date(k, d, 1).getDay(), C = (k) => {
3907
3912
  var m;
3908
3913
  const d = K.findIndex(
3909
3914
  (x) => x !== null && x.getDate() === k
@@ -3925,7 +3930,7 @@ function Kn({
3925
3930
  }, 0);
3926
3931
  return;
3927
3932
  }
3928
- D(T) ? U(S, "forward") : $(S);
3933
+ D(T) ? U(S, "forward") : C(S);
3929
3934
  }
3930
3935
  break;
3931
3936
  case "Tab":
@@ -3935,13 +3940,13 @@ function Kn({
3935
3940
  {
3936
3941
  let S = _ - 1, T = new Date(p, f, S);
3937
3942
  if (S < 1) {
3938
- const j = f === 0 ? p - 1 : p, I = f === 0 ? 11 : f - 1, C = Y(j, I);
3939
- S = C, T = new Date(j, I, S), P(), setTimeout(() => {
3940
- U(C, "backward");
3943
+ const j = f === 0 ? p - 1 : p, I = f === 0 ? 11 : f - 1, $ = Y(j, I);
3944
+ S = $, T = new Date(j, I, S), P(), setTimeout(() => {
3945
+ U($, "backward");
3941
3946
  }, 0);
3942
3947
  return;
3943
3948
  }
3944
- D(T) ? U(S, "backward") : $(S);
3949
+ D(T) ? U(S, "backward") : C(S);
3945
3950
  }
3946
3951
  break;
3947
3952
  case "ArrowUp":
@@ -3955,7 +3960,7 @@ function Kn({
3955
3960
  }, 0);
3956
3961
  return;
3957
3962
  }
3958
- D(T) ? U(S, "backward") : $(S);
3963
+ D(T) ? U(S, "backward") : C(S);
3959
3964
  }
3960
3965
  break;
3961
3966
  case "ArrowDown":
@@ -3969,7 +3974,7 @@ function Kn({
3969
3974
  }, 0);
3970
3975
  return;
3971
3976
  }
3972
- D(T) ? U(S, "forward") : $(S);
3977
+ D(T) ? U(S, "forward") : C(S);
3973
3978
  }
3974
3979
  break;
3975
3980
  case "Home":
@@ -4011,7 +4016,7 @@ function Kn({
4011
4016
  for (let x = k; x <= m; x++) {
4012
4017
  const _ = new Date(p, f, x);
4013
4018
  if (!D(_)) {
4014
- $(x);
4019
+ C(x);
4015
4020
  return;
4016
4021
  }
4017
4022
  }
@@ -4022,7 +4027,7 @@ function Kn({
4022
4027
  for (let T = k; T >= 1; T--) {
4023
4028
  const j = new Date(p, f, T);
4024
4029
  if (!D(j)) {
4025
- $(T);
4030
+ C(T);
4026
4031
  return;
4027
4032
  }
4028
4033
  }
@@ -4073,7 +4078,7 @@ function Kn({
4073
4078
  "div",
4074
4079
  {
4075
4080
  className: V.wrapper,
4076
- ref: n,
4081
+ ref: s,
4077
4082
  role: "dialog",
4078
4083
  tabIndex: -1,
4079
4084
  "aria-modal": "true",
@@ -4124,7 +4129,7 @@ function Kn({
4124
4129
  {
4125
4130
  ref: E,
4126
4131
  role: "grid",
4127
- "aria-label": `${i(Er.CALENDAR_FOR)} ${w[f]} ${p}`,
4132
+ "aria-label": `${i(_r.CALENDAR_FOR)} ${w[f]} ${p}`,
4128
4133
  className: V.table,
4129
4134
  children: [
4130
4135
  /* @__PURE__ */ O.jsx("thead", { children: /* @__PURE__ */ O.jsx("tr", { children: A.map((k) => /* @__PURE__ */ O.jsx(
@@ -4160,12 +4165,12 @@ function Kn({
4160
4165
  "aria-selected": T,
4161
4166
  tabIndex: j ? 0 : -1,
4162
4167
  onClick: () => y(m),
4163
- onKeyDown: (C) => M(C, _),
4168
+ onKeyDown: ($) => M($, _),
4164
4169
  "aria-label": `${m.getDate()} ${w[m.getMonth()]} ${m.getFullYear()}`,
4165
4170
  "data-selected": T,
4166
4171
  "aria-disabled": I,
4167
- ref: (C) => {
4168
- b.current[_] = C;
4172
+ ref: ($) => {
4173
+ b.current[_] = $;
4169
4174
  },
4170
4175
  className: V.td(
4171
4176
  S,
@@ -4185,14 +4190,14 @@ function Kn({
4185
4190
  }
4186
4191
  );
4187
4192
  }
4188
- const Bn = ({
4189
- bindValue: s,
4193
+ const zn = ({
4194
+ bindValue: n,
4190
4195
  placeholder: e,
4191
4196
  onChange: t,
4192
4197
  disabledDateRanges: r,
4193
- ...n
4198
+ ...s
4194
4199
  }) => {
4195
- const [i, o] = ee(!1), [a, l] = ee(s || ""), [c, f] = ee(""), { anchorRef: u, targetRef: p } = wt({
4200
+ const [i, o] = ee(!1), [a, l] = ee(n || ""), [c, f] = ee(""), { anchorRef: u, targetRef: p } = wt({
4196
4201
  position: "bottom",
4197
4202
  enabled: i
4198
4203
  });
@@ -4206,25 +4211,25 @@ const Bn = ({
4206
4211
  const P = u.current.querySelector("input");
4207
4212
  P && P === document.activeElement && b();
4208
4213
  }
4209
- }), Sr(i, p);
4214
+ }), Er(i, p);
4210
4215
  const { format: h, getCurrentLanguage: g } = Et(), v = Te(
4211
4216
  (P) => {
4212
- const L = P.length > 5 && kn(P, g()) || P, Y = h(L, void 0, void 0, {
4217
+ const L = P.length > 5 && jn(P, g()) || P, Y = h(L, void 0, void 0, {
4213
4218
  type: "date"
4214
- }), F = typeof L != "string", $ = F && L.toISOString().substring(0, 10) || "";
4219
+ }), F = typeof L != "string", C = F && L.toISOString().substring(0, 10) || "";
4215
4220
  return {
4216
4221
  isValid: F,
4217
4222
  formattedDate: Y,
4218
- isoDate: $,
4223
+ isoDate: C,
4219
4224
  normalizedDate: L
4220
4225
  };
4221
4226
  },
4222
4227
  [g, h]
4223
4228
  );
4224
4229
  he(() => {
4225
- const { formattedDate: P, isoDate: L, isValid: Y } = v(s);
4226
- l(Y && L || s), f(Y && P || s);
4227
- }, [s, h, v]);
4230
+ const { formattedDate: P, isoDate: L, isValid: Y } = v(n);
4231
+ l(Y && L || n), f(Y && P || n);
4232
+ }, [n, h, v]);
4228
4233
  const E = () => o((P) => !P), b = () => {
4229
4234
  A(c);
4230
4235
  }, w = (P) => {
@@ -4249,11 +4254,11 @@ const Bn = ({
4249
4254
  shapeIcon: "calendar",
4250
4255
  onShapeIconClick: E,
4251
4256
  ref: u,
4252
- ...n
4257
+ ...s
4253
4258
  }
4254
4259
  ),
4255
4260
  i && /* @__PURE__ */ O.jsx(
4256
- Kn,
4261
+ Bn,
4257
4262
  {
4258
4263
  disabledDateRanges: r,
4259
4264
  onDateChange: w,
@@ -4262,20 +4267,20 @@ const Bn = ({
4262
4267
  }
4263
4268
  )
4264
4269
  ] });
4265
- }, zn = {
4270
+ }, Gn = {
4266
4271
  "smp-multipleAutocomplete-container": "_smp-multipleAutocomplete-container_1mtv2_1"
4267
- }, Gn = ({
4268
- elements: s,
4272
+ }, Jn = ({
4273
+ elements: n,
4269
4274
  displayMode: e,
4270
4275
  minimumChars: t,
4271
4276
  listDisplayMode: r,
4272
- placeholder: n,
4277
+ placeholder: s,
4273
4278
  fun: i,
4274
4279
  onOptionsRequest: o,
4275
4280
  onChange: a
4276
4281
  }) => {
4277
- const l = s.map((u) => u.bindValue), c = (u, p) => {
4278
- const h = [...s];
4282
+ const l = n.map((u) => u.bindValue), c = (u, p) => {
4283
+ const h = [...n];
4279
4284
  if (u == "")
4280
4285
  h.pop();
4281
4286
  else {
@@ -4289,13 +4294,13 @@ const Bn = ({
4289
4294
  }
4290
4295
  a == null || a(h);
4291
4296
  }, f = {
4292
- container: `${zn["smp-multipleAutocomplete-container"]}`
4297
+ container: `${Gn["smp-multipleAutocomplete-container"]}`
4293
4298
  };
4294
4299
  return /* @__PURE__ */ O.jsxs("div", { className: f.container, children: [
4295
4300
  /* @__PURE__ */ O.jsx(
4296
- xr,
4301
+ Sr,
4297
4302
  {
4298
- elements: s,
4303
+ elements: n,
4299
4304
  displayMode: e,
4300
4305
  isEditable: !0,
4301
4306
  onChange: (u) => {
@@ -4304,7 +4309,7 @@ const Bn = ({
4304
4309
  }
4305
4310
  ),
4306
4311
  /* @__PURE__ */ O.jsx(
4307
- br,
4312
+ xr,
4308
4313
  {
4309
4314
  bindValue: "",
4310
4315
  fun: i,
@@ -4312,18 +4317,18 @@ const Bn = ({
4312
4317
  _changeOnEnter: !0,
4313
4318
  listDisplayMode: r,
4314
4319
  minimumChars: t,
4315
- placeholder: n,
4320
+ placeholder: s,
4316
4321
  onOptionsRequest: o,
4317
4322
  _multiActiveIndex: l
4318
4323
  }
4319
4324
  )
4320
4325
  ] });
4321
- }, Jn = ({ ...s }) => {
4326
+ }, Xn = ({ ...n }) => {
4322
4327
  const [e, t] = ee(!1), r = e ? "visibility-off" : "visibility";
4323
4328
  return /* @__PURE__ */ O.jsx(
4324
4329
  Ne,
4325
4330
  {
4326
- ...s,
4331
+ ...n,
4327
4332
  inputType: e ? "text" : "password",
4328
4333
  shapeIcon: r,
4329
4334
  onShapeIconClick: () => t(!e),
@@ -4356,35 +4361,35 @@ class Se {
4356
4361
  return this.value.join(";");
4357
4362
  }
4358
4363
  }
4359
- const Ke = (s, e, t) => ({
4364
+ const Ke = (n, e, t) => ({
4360
4365
  obj: {
4361
- t: s.obj.t,
4362
- p: s.obj.p,
4366
+ t: n.obj.t,
4367
+ p: n.obj.p,
4363
4368
  k: e
4364
4369
  },
4365
- decode: t || s.decode,
4366
- shape: s.shape
4367
- }), lr = (s) => {
4368
- const e = Se.fromDataObj(s.obj), t = s.decode ? Se.fromString(s.decode).getValue() : [];
4369
- return e.getValue().map((r, n) => ({
4370
+ decode: t || n.decode,
4371
+ shape: n.shape
4372
+ }), cr = (n) => {
4373
+ const e = Se.fromDataObj(n.obj), t = n.decode ? Se.fromString(n.decode).getValue() : [];
4374
+ return e.getValue().map((r, s) => ({
4370
4375
  bindValue: r,
4371
- optionalDisplayValue: t.length >= n ? t[n] : ""
4376
+ optionalDisplayValue: t.length >= s ? t[s] : ""
4372
4377
  }));
4373
- }, Xn = (s, e) => {
4378
+ }, Zn = (n, e) => {
4374
4379
  const t = new Se(
4375
- s.obj,
4376
- e.map((n) => n.bindValue)
4380
+ n.obj,
4381
+ e.map((s) => s.bindValue)
4377
4382
  ).getLegacyValue(), r = new Se(
4378
- s.obj,
4379
- e.map((n) => n.optionalDisplayValue ? n.optionalDisplayValue : "")
4383
+ n.obj,
4384
+ e.map((s) => s.optionalDisplayValue ? s.optionalDisplayValue : "")
4380
4385
  ).getLegacyValue();
4381
- return Ke(s, t, r);
4382
- }, Zn = ({
4383
- decode: s,
4386
+ return Ke(n, t, r);
4387
+ }, Qn = ({
4388
+ decode: n,
4384
4389
  shape: e,
4385
4390
  obj: t,
4386
4391
  data: r,
4387
- icon: n,
4392
+ icon: s,
4388
4393
  fun: i,
4389
4394
  placeholderIcon: o,
4390
4395
  label: a,
@@ -4396,32 +4401,32 @@ const Ke = (s, e, t) => ({
4396
4401
  const p = {
4397
4402
  obj: t,
4398
4403
  shape: e,
4399
- decode: s
4404
+ decode: n
4400
4405
  }, h = {
4401
4406
  onBlur: f,
4402
4407
  onOptionsRequest: u,
4403
4408
  fun: i,
4404
- icon: n,
4409
+ icon: s,
4405
4410
  label: a,
4406
4411
  ...r
4407
- }, g = (b, w) => $n(t) ? Ke(p, new et(t, b).getLegacyValue()) : Ke(p, b, w), v = (b) => Ke(p, new Qe(t, b).getLegacyValue()), E = (b) => Xn(p, b);
4412
+ }, g = (b, w) => $n(t) ? Ke(p, new et(t, b).getLegacyValue()) : Ke(p, b, w), v = (b) => Ke(p, new Qe(t, b).getLegacyValue()), E = (b) => Zn(p, b);
4408
4413
  switch (e) {
4409
4414
  case fe.AUTOCOMPLETE: {
4410
4415
  const b = {
4411
4416
  ...h,
4412
4417
  bindValue: t.k,
4413
- optionalDisplayValue: s,
4418
+ optionalDisplayValue: n,
4414
4419
  onChange: (w, A) => {
4415
4420
  l == null || l(g(w, A));
4416
4421
  }
4417
4422
  };
4418
- return /* @__PURE__ */ O.jsx(br, { ...b });
4423
+ return /* @__PURE__ */ O.jsx(xr, { ...b });
4419
4424
  }
4420
4425
  case fe.BUTTON: {
4421
4426
  const b = {
4422
4427
  ...h,
4423
4428
  bindValue: t.k,
4424
- optionalDisplayValue: s,
4429
+ optionalDisplayValue: n,
4425
4430
  onClick: () => {
4426
4431
  c == null || c(g(t.k));
4427
4432
  }
@@ -4432,30 +4437,30 @@ const Ke = (s, e, t) => ({
4432
4437
  const b = {
4433
4438
  ...h,
4434
4439
  bindValue: t.k,
4435
- optionalDisplayValue: s,
4440
+ optionalDisplayValue: n,
4436
4441
  onChange: (w, A) => {
4437
4442
  l == null || l(g(w, A));
4438
4443
  }
4439
4444
  };
4440
- return /* @__PURE__ */ O.jsx(qn, { ...b });
4445
+ return /* @__PURE__ */ O.jsx(Kn, { ...b });
4441
4446
  }
4442
4447
  case fe.CHECKBOX: {
4443
4448
  const b = {
4444
4449
  ...h,
4445
4450
  bindValue: Qe.fromDataObj(t).getValue(),
4446
- optionalDisplayValue: s,
4451
+ optionalDisplayValue: n,
4447
4452
  onChange: (w) => {
4448
4453
  l == null || l(v(w));
4449
4454
  }
4450
4455
  };
4451
- return /* @__PURE__ */ O.jsx(Un, { ...b });
4456
+ return /* @__PURE__ */ O.jsx(Wn, { ...b });
4452
4457
  }
4453
4458
  case fe.CHIP: {
4454
4459
  const b = {
4455
4460
  ...h,
4456
- elements: lr(p)
4461
+ elements: cr(p)
4457
4462
  };
4458
- return /* @__PURE__ */ O.jsx(xr, { ...b });
4463
+ return /* @__PURE__ */ O.jsx(Sr, { ...b });
4459
4464
  }
4460
4465
  case fe.DATE: {
4461
4466
  const b = {
@@ -4465,12 +4470,12 @@ const Ke = (s, e, t) => ({
4465
4470
  l == null || l(g(w));
4466
4471
  }
4467
4472
  };
4468
- return /* @__PURE__ */ O.jsx(Bn, { ...b });
4473
+ return /* @__PURE__ */ O.jsx(zn, { ...b });
4469
4474
  }
4470
4475
  case fe.ICON: {
4471
4476
  const b = {
4472
4477
  ...h,
4473
- icon: n,
4478
+ icon: s,
4474
4479
  placeholderIcon: o,
4475
4480
  onClick: () => {
4476
4481
  c == null || c(g(t.k));
@@ -4481,12 +4486,12 @@ const Ke = (s, e, t) => ({
4481
4486
  case fe.MULTI_AUTOCOMPLETE: {
4482
4487
  const b = {
4483
4488
  ...h,
4484
- elements: lr(p),
4489
+ elements: cr(p),
4485
4490
  onChange: (w) => {
4486
4491
  l == null || l(E(w));
4487
4492
  }
4488
4493
  };
4489
- return /* @__PURE__ */ O.jsx(Gn, { ...b });
4494
+ return /* @__PURE__ */ O.jsx(Jn, { ...b });
4490
4495
  }
4491
4496
  case fe.PASSWORD: {
4492
4497
  const b = {
@@ -4496,7 +4501,7 @@ const Ke = (s, e, t) => ({
4496
4501
  l == null || l(g(w));
4497
4502
  }
4498
4503
  };
4499
- return /* @__PURE__ */ O.jsx(Jn, { ...b });
4504
+ return /* @__PURE__ */ O.jsx(Xn, { ...b });
4500
4505
  }
4501
4506
  case fe.TEXT_FIELD:
4502
4507
  case void 0: {
@@ -4510,20 +4515,20 @@ const Ke = (s, e, t) => ({
4510
4515
  return /* @__PURE__ */ O.jsx(Ne, { ...b });
4511
4516
  }
4512
4517
  }
4513
- }, cr = {
4518
+ }, ur = {
4514
4519
  "smp-field-container": "_smp-field-container_nnmjb_1",
4515
4520
  "smp-field-position-left": "_smp-field-position-left_nnmjb_6",
4516
4521
  "smp-field-position-right": "_smp-field-position-right_nnmjb_10",
4517
4522
  "smp-field-position-top": "_smp-field-position-top_nnmjb_14",
4518
4523
  "smp-field-position-bottom": "_smp-field-position-bottom_nnmjb_18"
4519
- }, ns = ({
4520
- data: s,
4521
- type: e,
4522
- showSubmit: t = !1,
4523
- submitPosition: r = "right",
4524
- defaultValue: n,
4525
- label: i,
4526
- labelPosition: o = "left",
4524
+ }, ss = ({
4525
+ data: n,
4526
+ Type: e,
4527
+ ShowSubmit: t = !1,
4528
+ SubmitPosition: r = "right",
4529
+ DefaultValue: s,
4530
+ Label: i,
4531
+ LabelPosition: o = "left",
4527
4532
  onBlur: a,
4528
4533
  onClick: l,
4529
4534
  onOptionsRequest: c
@@ -4531,12 +4536,12 @@ const Ke = (s, e, t) => ({
4531
4536
  const [f, u] = ee();
4532
4537
  he(() => {
4533
4538
  u(() => {
4534
- const v = { ...s };
4535
- return e && (v.shape = e), n && (v.obj = Cn(n)), v;
4539
+ const v = { ...n };
4540
+ return e && (v.shape = e), s && (v.obj = kn(s)), v;
4536
4541
  });
4537
- }, [s, n, e]);
4538
- const p = Le(t) ? cr[`smp-field-position-${r}`] : "", h = {
4539
- container: `${cr["smp-field-container"]} ${p}`
4542
+ }, [n, s, e]);
4543
+ const p = Le(t) ? ur[`smp-field-position-${ir(r)}`] : "", h = {
4544
+ container: `${ur["smp-field-container"]} ${p}`
4540
4545
  }, g = () => {
4541
4546
  Le(t) || a == null || a(f);
4542
4547
  };
@@ -4552,15 +4557,15 @@ const Ke = (s, e, t) => ({
4552
4557
  font: "var(--smp-fontLabel-base)"
4553
4558
  },
4554
4559
  children: /* @__PURE__ */ O.jsx(
4555
- Zn,
4560
+ Qn,
4556
4561
  {
4557
4562
  ...f,
4558
4563
  onChange: u,
4559
4564
  onOptionsRequest: c,
4560
- fun: s.fun,
4565
+ fun: n.fun,
4561
4566
  onBlur: g,
4562
4567
  label: i,
4563
- labelPosition: o
4568
+ labelPosition: ir(o)
4564
4569
  }
4565
4570
  )
4566
4571
  }
@@ -4570,15 +4575,15 @@ const Ke = (s, e, t) => ({
4570
4575
  ] });
4571
4576
  };
4572
4577
  export {
4573
- br as Autocomplete,
4578
+ xr as Autocomplete,
4574
4579
  nt as Button,
4575
- Un as Checkbox,
4576
- qn as Combobox,
4577
- rs as DashList,
4578
- Bn as DatePicker,
4579
- ns as Field,
4580
+ Wn as Checkbox,
4581
+ Kn as Combobox,
4582
+ ns as DashList,
4583
+ zn as DatePicker,
4584
+ ss as Field,
4580
4585
  ve as Icon,
4581
- Jn as Password,
4586
+ Xn as Password,
4582
4587
  Ne as Textfield,
4583
- ts as configurePaths
4588
+ rs as configurePaths
4584
4589
  };