@umriss-ui/core 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./core.css";
2
2
  import { useMemo as se, useContext as He, createContext as Ge, forwardRef as ae, useId as De, useRef as R, useEffect as ne, useState as I, useCallback as X, useLayoutEffect as je, cloneElement as $n, useImperativeHandle as Gt } from "react";
3
3
  import { jsx as s, jsxs as k, Fragment as we } from "react/jsx-runtime";
4
- import { D as qt, a as Dn, s as or } from "./formats-DrB9TuzO.js";
4
+ import { D as Et, a as Dn, s as or } from "./formats-DrB9TuzO.js";
5
5
  import { createPortal as Vt } from "react-dom";
6
6
  function P(...e) {
7
7
  return e.filter(Boolean).join(" ");
@@ -223,16 +223,38 @@ const sr = "_alert_1rqhr_12 _text_1hv7a_23", ir = "_content_1rqhr_26", ar = "_ti
223
223
  scheduleLaneRefused: "Not this lane",
224
224
  scheduleFoldGroup: "Fold group",
225
225
  scheduleUnfoldGroup: "Unfold group",
226
- scheduleLaneCount: (e) => e === 1 ? "1 lane" : `${e} lanes`
226
+ scheduleLaneCount: (e) => e === 1 ? "1 lane" : `${e} lanes`,
227
+ calculationSumSymbol: "+",
228
+ calculationDifferenceSymbol: "−",
229
+ calculationProductSymbol: "×",
230
+ calculationQuotientSymbol: "÷",
231
+ calculationSumWord: "plus",
232
+ calculationDifferenceWord: "minus",
233
+ calculationProductWord: "times",
234
+ calculationQuotientWord: "divided by",
235
+ calculationEquals: "equals",
236
+ calculationApproximately: "approximately",
237
+ calculationApproximateNote: "The rounded figures do not give this exactly; it is computed from the unrounded ones.",
238
+ calculationPercent: "percent",
239
+ calculationMissing: (e) => `${e} is missing`,
240
+ calculationDivisionByZero: (e) => `Division by zero: ${e} is 0`,
241
+ calculationAboveTarget: (e) => `above target ${e}`,
242
+ calculationBelowTarget: (e) => `below target ${e}`,
243
+ calculationOnTarget: (e) => `on target ${e}`,
244
+ calculationWorstInside: (e) => `Inside: ${e}`,
245
+ calculationSource: (e) => `Source: ${e}`,
246
+ calculationShowDerivation: (e) => `Show how ${e} is derived`,
247
+ calculationHideDerivation: (e) => `Hide how ${e} is derived`,
248
+ calculationOperandCount: (e) => `${e} operands`
227
249
  }, Tn = {
228
- formats: qt,
250
+ formats: Et,
229
251
  wording: st
230
252
  }, Mn = Ge(null);
231
253
  function _r(e) {
232
254
  if (!e) return Tn;
233
255
  const { presets: t, ...n } = e.wording ?? {};
234
256
  return {
235
- formats: e.formats ? { ...qt, ...e.formats } : qt,
257
+ formats: e.formats ? { ...Et, ...e.formats } : Et,
236
258
  wording: e.wording ? {
237
259
  ...st,
238
260
  ...n,
@@ -338,10 +360,10 @@ const Tr = "_button_182pk_4 _ring_1hv7a_65 _text_1hv7a_23", Mr = "_sm_182pk_46",
338
360
  ]
339
361
  }
340
362
  );
341
- }), Pr = "_field_1jyg7_4 _text_1hv7a_23", Er = "_label_1jyg7_12", qr = "_required_1jyg7_19", Fr = "_message_1jyg7_24", Ir = "_hint_1jyg7_30", Br = "_error_1jyg7_34", ct = {
363
+ }), Pr = "_field_1jyg7_4 _text_1hv7a_23", qr = "_label_1jyg7_12", Er = "_required_1jyg7_19", Fr = "_message_1jyg7_24", Ir = "_hint_1jyg7_30", Br = "_error_1jyg7_34", ct = {
342
364
  field: Pr,
343
- label: Er,
344
- required: qr,
365
+ label: qr,
366
+ required: Er,
345
367
  message: Fr,
346
368
  hint: Ir,
347
369
  error: Br
@@ -450,13 +472,13 @@ function Ze({
450
472
  ne(() => {
451
473
  y.current = o;
452
474
  });
453
- const [g, N] = I(null), [M, q] = I(null), D = Xt(), _ = X(
475
+ const [g, N] = I(null), [M, E] = I(null), D = Xt(), _ = X(
454
476
  (b) => {
455
477
  var F;
456
478
  t(!1), b && d && ((F = (r ?? n).current) == null || F.focus());
457
479
  },
458
480
  [t, d, n, r]
459
- ), E = X(() => {
481
+ ), q = X(() => {
460
482
  var Y;
461
483
  const b = (Y = n.current) == null ? void 0 : Y.getBoundingClientRect(), F = w.current;
462
484
  if (!b || !F) return;
@@ -472,10 +494,10 @@ function Ze({
472
494
  );
473
495
  }, [n, i, a, c, l]);
474
496
  return je(() => {
475
- e && q(Rn(n.current, D));
497
+ e && E(Rn(n.current, D));
476
498
  }, [e, n, D]), je(() => {
477
- !e || !M || E();
478
- }, [e, M, E]), ne(() => {
499
+ !e || !M || q();
500
+ }, [e, M, q]), ne(() => {
479
501
  if (!e) return;
480
502
  const b = (U) => {
481
503
  var G, Q;
@@ -491,7 +513,7 @@ function Ze({
491
513
  let Y = 0;
492
514
  const L = () => {
493
515
  Y || (Y = requestAnimationFrame(() => {
494
- Y = 0, E();
516
+ Y = 0, q();
495
517
  }));
496
518
  }, j = () => {
497
519
  u ? _(!1) : L();
@@ -499,7 +521,7 @@ function Ze({
499
521
  return document.addEventListener("mousedown", F), document.addEventListener("keydown", V), window.addEventListener("scroll", j, !0), window.addEventListener("resize", j), T == null || T.addEventListener("resize", L), T == null || T.addEventListener("scroll", L), () => {
500
522
  T == null || T.removeEventListener("resize", L), T == null || T.removeEventListener("scroll", L), document.removeEventListener("mousedown", F), document.removeEventListener("keydown", V), window.removeEventListener("scroll", j, !0), window.removeEventListener("resize", j), Y && cancelAnimationFrame(Y);
501
523
  };
502
- }, [e, n, _, E, u]), !e || !M ? null : Vt(
524
+ }, [e, n, _, q, u]), !e || !M ? null : Vt(
503
525
  /* @__PURE__ */ s(
504
526
  "div",
505
527
  {
@@ -764,7 +786,7 @@ function kt(e, t) {
764
786
  const n = e.getPropertyValue(t).trim(), r = Number.parseFloat(n);
765
787
  return Number.isFinite(r) ? n.endsWith("ms") ? r : n.endsWith("s") ? r * 1e3 : r : 0;
766
788
  }
767
- function En(e, t, n) {
789
+ function qn(e, t, n) {
768
790
  const r = R(null), [o, i] = I(!1), a = R(!1), c = () => {
769
791
  if (a.current) {
770
792
  a.current = !1;
@@ -800,7 +822,7 @@ function Qe(e) {
800
822
  (t) => `_${t.codePointAt(0).toString(16)}_`
801
823
  );
802
824
  }
803
- function qn(e, t) {
825
+ function En(e, t) {
804
826
  const n = t.trim().toLowerCase();
805
827
  return n ? e.filter((r) => r.label.toLowerCase().includes(n)) : e;
806
828
  }
@@ -830,7 +852,7 @@ function Mo(e, t) {
830
852
  return n === -1 ? 0 : n;
831
853
  }
832
854
  const Co = 10, So = 8, Ao = 0.5, Lo = /[\p{L}\p{N}]/u, Ro = (e) => e !== e.toLowerCase() && e === e.toUpperCase(), Po = (e) => e !== e.toUpperCase() && e === e.toLowerCase();
833
- function Eo(e, t) {
855
+ function qo(e, t) {
834
856
  if (t === 0) return !0;
835
857
  const n = e[t - 1], r = e[t];
836
858
  return Lo.test(n) ? Po(n) && Ro(r) : !0;
@@ -845,7 +867,7 @@ function dn(e, t) {
845
867
  const p = new Array(t.length).fill(null), h = new Array(t.length).fill(null);
846
868
  for (let f = 0; f < t.length; f++) {
847
869
  if (r[f] !== n[u]) continue;
848
- const m = Eo(t, f) ? Co : 0;
870
+ const m = qo(t, f) ? Co : 0;
849
871
  if (u === 0) {
850
872
  p[f] = m;
851
873
  continue;
@@ -869,9 +891,9 @@ function dn(e, t) {
869
891
  c.push(l), l = i[u][l];
870
892
  c.reverse();
871
893
  const d = (t.length - n.length) * Ao;
872
- return { rank: o[a] - d, finds: qo(c) };
894
+ return { rank: o[a] - d, finds: Eo(c) };
873
895
  }
874
- function qo(e) {
896
+ function Eo(e) {
875
897
  const t = [];
876
898
  for (const n of e) {
877
899
  const r = t[t.length - 1];
@@ -953,22 +975,22 @@ function su({
953
975
  restingItems: o
954
976
  }) {
955
977
  var me;
956
- const i = ce(), a = De(), c = `${a}-list`, { dialogRef: l, beimSchliessen: d, beimAbbrechen: u } = En(e, 0, t), p = R(null), h = R(null), [f, m] = I(""), [v, w] = I(null), y = f.trim() !== "", g = se(() => n.map(hn), [n]), N = se(() => Fo(g, f), [g, f]), M = se(
978
+ const i = ce(), a = De(), c = `${a}-list`, { dialogRef: l, beimSchliessen: d, beimAbbrechen: u } = qn(e, 0, t), p = R(null), h = R(null), [f, m] = I(""), [v, w] = I(null), y = f.trim() !== "", g = se(() => n.map(hn), [n]), N = se(() => Fo(g, f), [g, f]), M = se(
957
979
  () => (o ?? []).map((A) => ({
958
980
  kandidat: hn(A),
959
981
  rank: 0,
960
982
  finds: []
961
983
  })),
962
984
  [o]
963
- ), q = y ? N : M, D = se(() => {
985
+ ), E = y ? N : M, D = se(() => {
964
986
  const A = [];
965
- for (const B of q) {
987
+ for (const B of E) {
966
988
  const z = B.kandidat.gruppe;
967
989
  let te = A.find((xe) => xe.name === z);
968
990
  te === void 0 && (te = { name: z, finds: [] }, A.push(te)), te.finds.push(B);
969
991
  }
970
992
  return A;
971
- }, [q]), _ = se(() => D.flatMap((A) => A.finds), [D]), E = v !== null && _.some((A) => A.kandidat.id === v) ? v : ((me = _[0]) == null ? void 0 : me.kandidat.id) ?? null, b = R(!1), F = X(() => {
993
+ }, [E]), _ = se(() => D.flatMap((A) => A.finds), [D]), q = v !== null && _.some((A) => A.kandidat.id === v) ? v : ((me = _[0]) == null ? void 0 : me.kandidat.id) ?? null, b = R(!1), F = X(() => {
972
994
  b.current = !1;
973
995
  }, []), V = X((A) => {
974
996
  b.current = !0, w(A);
@@ -980,8 +1002,8 @@ function su({
980
1002
  e && (h.current = document.activeElement, m(""), w(null), b.current = !1, (A = p.current) == null || A.focus());
981
1003
  }, [e]), ne(() => {
982
1004
  var A;
983
- E !== null && ((A = document.getElementById(It(a, E))) == null || A.scrollIntoView({ block: "nearest" }));
984
- }, [E, a]);
1005
+ q !== null && ((A = document.getElementById(It(a, q))) == null || A.scrollIntoView({ block: "nearest" }));
1006
+ }, [q, a]);
985
1007
  const L = R(null), [j, T] = I(0);
986
1008
  ne(() => {
987
1009
  const A = L.current;
@@ -992,7 +1014,7 @@ function su({
992
1014
  }, [e]);
993
1015
  const U = (A) => {
994
1016
  if (F(), _.length === 0) return;
995
- const B = _.findIndex((te) => te.kandidat.id === E), z = tn(B === -1 ? 0 : B, _.length, A);
1017
+ const B = _.findIndex((te) => te.kandidat.id === q), z = tn(B === -1 ? 0 : B, _.length, A);
996
1018
  w(_[z].kandidat.id);
997
1019
  }, G = (A) => {
998
1020
  if (!A.nativeEvent.isComposing) {
@@ -1005,7 +1027,7 @@ function su({
1005
1027
  return;
1006
1028
  }
1007
1029
  if (A.key === "Enter") {
1008
- A.preventDefault(), E !== null && r(E);
1030
+ A.preventDefault(), q !== null && r(q);
1009
1031
  return;
1010
1032
  }
1011
1033
  A.key === "Escape" && (A.preventDefault(), t());
@@ -1038,7 +1060,7 @@ function su({
1038
1060
  role: "combobox",
1039
1061
  "aria-expanded": _.length > 0,
1040
1062
  "aria-controls": _.length > 0 ? c : void 0,
1041
- "aria-activedescendant": E === null ? void 0 : It(a, E),
1063
+ "aria-activedescendant": q === null ? void 0 : It(a, q),
1042
1064
  autoComplete: "off",
1043
1065
  spellCheck: !1,
1044
1066
  onChange: (A) => {
@@ -1061,7 +1083,7 @@ function su({
1061
1083
  {
1062
1084
  find: te,
1063
1085
  baseId: a,
1064
- active: te.kandidat.id === E,
1086
+ active: te.kandidat.id === q,
1065
1087
  withIcon: Q,
1066
1088
  onSweep: Y,
1067
1089
  onMove: V,
@@ -1247,7 +1269,7 @@ function lu({
1247
1269
  emptyText: a,
1248
1270
  clearable: c = !1
1249
1271
  }) {
1250
- const l = Ie(), d = ce(), u = r ?? d.comboboxPlaceholder, p = a ?? d.noMatches, h = i ?? (l == null ? void 0 : l.invalid) ?? !1, [f, m] = I(!1), [v, w] = I(null), [y, g] = I(0), N = R(null), M = R(null), q = De(), D = se(() => e.find((L) => L.value === t) ?? null, [e, t]), _ = se(() => qn(e, v ?? ""), [e, v]), E = () => {
1272
+ const l = Ie(), d = ce(), u = r ?? d.comboboxPlaceholder, p = a ?? d.noMatches, h = i ?? (l == null ? void 0 : l.invalid) ?? !1, [f, m] = I(!1), [v, w] = I(null), [y, g] = I(0), N = R(null), M = R(null), E = De(), D = se(() => e.find((L) => L.value === t) ?? null, [e, t]), _ = se(() => En(e, v ?? ""), [e, v]), q = () => {
1251
1273
  g(Mo(_, t)), m(!0);
1252
1274
  }, b = () => {
1253
1275
  m(!1), w(null);
@@ -1263,7 +1285,7 @@ function lu({
1263
1285
  if (!L.nativeEvent.isComposing) {
1264
1286
  if (L.key === "ArrowDown" || L.key === "ArrowUp") {
1265
1287
  if (L.preventDefault(), !f) {
1266
- E();
1288
+ q();
1267
1289
  return;
1268
1290
  }
1269
1291
  if (_.length === 0) return;
@@ -1288,9 +1310,9 @@ function lu({
1288
1310
  id: l == null ? void 0 : l.id,
1289
1311
  disabled: o,
1290
1312
  "aria-expanded": f,
1291
- "aria-controls": f ? q : void 0,
1313
+ "aria-controls": f ? E : void 0,
1292
1314
  "aria-autocomplete": "list",
1293
- "aria-activedescendant": f && _[y] ? `${q}-${y}` : void 0,
1315
+ "aria-activedescendant": f && _[y] ? `${E}-${y}` : void 0,
1294
1316
  "aria-describedby": l == null ? void 0 : l.describedBy,
1295
1317
  "aria-required": (l == null ? void 0 : l.required) || void 0,
1296
1318
  "aria-invalid": h || void 0,
@@ -1298,10 +1320,10 @@ function lu({
1298
1320
  value: Y,
1299
1321
  className: P(Se.input, c && Se.inputClearable, h && Se.invalid),
1300
1322
  onChange: (L) => {
1301
- w(L.target.value), g(0), f || E();
1323
+ w(L.target.value), g(0), f || q();
1302
1324
  },
1303
1325
  onClick: () => {
1304
- f || E();
1326
+ f || q();
1305
1327
  },
1306
1328
  onKeyDown: V,
1307
1329
  onBlur: (L) => {
@@ -1337,10 +1359,10 @@ function lu({
1337
1359
  anchorRef: N,
1338
1360
  width: "anchor",
1339
1361
  className: Se.panel,
1340
- children: /* @__PURE__ */ s("div", { ref: M, role: "listbox", id: q, className: Se.list, "aria-label": u, children: _.length === 0 ? /* @__PURE__ */ s("div", { className: Se.empty, children: p }) : _.map((L, j) => /* @__PURE__ */ k(
1362
+ children: /* @__PURE__ */ s("div", { ref: M, role: "listbox", id: E, className: Se.list, "aria-label": u, children: _.length === 0 ? /* @__PURE__ */ s("div", { className: Se.empty, children: p }) : _.map((L, j) => /* @__PURE__ */ k(
1341
1363
  "div",
1342
1364
  {
1343
- id: `${q}-${j}`,
1365
+ id: `${E}-${j}`,
1344
1366
  "data-index": j,
1345
1367
  role: "option",
1346
1368
  "aria-selected": L.value === t,
@@ -1372,7 +1394,7 @@ function xs(e, t, n, r) {
1372
1394
  return [u, p];
1373
1395
  });
1374
1396
  }
1375
- const In = (e) => Math.max(0, Math.min(1, e)), Ns = (e) => Math.round(In(e) * 100), $s = "_meter_378vq_4 _text_1hv7a_23", Ds = "_track_378vq_13", Ts = "_fill_378vq_21", Ms = "_neutral_378vq_28", Cs = "_accent_378vq_29", Ss = "_success_378vq_30", As = "_warning_378vq_31", Ls = "_danger_378vq_32", Rs = "_meterLabel_378vq_34", Ps = "_sparkline_378vq_45 _text_1hv7a_23", Es = "_sparklineAccent_378vq_54", qs = "_sparklineDot_378vq_58", Ke = {
1397
+ const In = (e) => Math.max(0, Math.min(1, e)), Ns = (e) => Math.round(In(e) * 100), $s = "_meter_378vq_4 _text_1hv7a_23", Ds = "_track_378vq_13", Ts = "_fill_378vq_21", Ms = "_neutral_378vq_28", Cs = "_accent_378vq_29", Ss = "_success_378vq_30", As = "_warning_378vq_31", Ls = "_danger_378vq_32", Rs = "_meterLabel_378vq_34", Ps = "_sparkline_378vq_45 _text_1hv7a_23", qs = "_sparklineAccent_378vq_54", Es = "_sparklineDot_378vq_58", Ke = {
1376
1398
  meter: $s,
1377
1399
  track: Ds,
1378
1400
  fill: Ts,
@@ -1383,8 +1405,8 @@ const In = (e) => Math.max(0, Math.min(1, e)), Ns = (e) => Math.round(In(e) * 10
1383
1405
  danger: Ls,
1384
1406
  meterLabel: Rs,
1385
1407
  sparkline: Ps,
1386
- sparklineAccent: Es,
1387
- sparklineDot: qs
1408
+ sparklineAccent: qs,
1409
+ sparklineDot: Es
1388
1410
  };
1389
1411
  function du({
1390
1412
  value: e,
@@ -1453,7 +1475,7 @@ const Ws = {
1453
1475
  ArrowRight: 1,
1454
1476
  ArrowUp: -7,
1455
1477
  ArrowDown: 7
1456
- }, zs = (e) => Ws[e], js = (e, t) => e.getMonth() !== t.getMonth() || e.getFullYear() !== t.getFullYear(), Gs = "_trigger_10qsh_4", Vs = "_sm_10qsh_38", Us = "_invalid_10qsh_44", Ys = "_value_10qsh_53", Ks = "_placeholder_10qsh_64", Xs = "_icon_10qsh_70", Qs = "_panel_10qsh_79 _text_1hv7a_23", Zs = "_head_10qsh_89", Js = "_month_10qsh_97", ei = "_page_10qsh_102 _ring_1hv7a_65", ti = "_weekdays_10qsh_122", ni = "_grid_10qsh_123", ri = "_day_10qsh_142 _ring_1hv7a_65", oi = "_otherMonth_10qsh_165", si = "_today_10qsh_169", ii = "_selected_10qsh_175", ai = "_foot_10qsh_182", ci = "_timeRow_10qsh_195", li = "_timeLabel_10qsh_205", di = "_timeGroup_10qsh_213", ui = "_timeFieldWrap_10qsh_223", hi = "_timeField_10qsh_223 _field_1hv7a_34", fi = "_timeStepper_10qsh_262", pi = "_timeSeparator_10qsh_312", mi = "_dstHint_10qsh_318", _i = "_dstChoice_10qsh_325", gi = "_dstButtons_10qsh_331", vi = "_footLeft_10qsh_336", yi = "_triggerWrap_10qsh_345 _text_1hv7a_23", bi = "_triggerClear_10qsh_354", wi = "_rangeDash_10qsh_402", ki = "_rangePanel_10qsh_407 _text_1hv7a_23", xi = "_rangeRight_10qsh_415", Ni = "_rangeBody_10qsh_419", $i = "_presetColumn_10qsh_425", Di = "_preset_10qsh_425 _ring_1hv7a_65", Ti = "_presetActive_10qsh_454", Mi = "_monthPair_10qsh_461", Ci = "_monthColumn_10qsh_466", Si = "_pageSpacer_10qsh_501", Ai = "_dayEmpty_10qsh_507", Li = "_inRange_10qsh_514", Ri = "_rangeFrom_10qsh_524", Pi = "_rangeTo_10qsh_526", Ei = "_rangeSingle_10qsh_528", qi = "_inPreview_10qsh_546", Fi = "_previewEnd_10qsh_551", Ii = "_footNote_10qsh_558", Bi = "_timeRangeRow_10qsh_578", Hi = "_timeHalf_10qsh_587", Oi = "_timeHalfHead_10qsh_595", Wi = "_timeDate_10qsh_602", zi = "_footNoteRight_10qsh_609", ji = "_timeFieldDisabled_10qsh_615", C = {
1478
+ }, zs = (e) => Ws[e], js = (e, t) => e.getMonth() !== t.getMonth() || e.getFullYear() !== t.getFullYear(), Gs = "_trigger_10qsh_4", Vs = "_sm_10qsh_38", Us = "_invalid_10qsh_44", Ys = "_value_10qsh_53", Ks = "_placeholder_10qsh_64", Xs = "_icon_10qsh_70", Qs = "_panel_10qsh_79 _text_1hv7a_23", Zs = "_head_10qsh_89", Js = "_month_10qsh_97", ei = "_page_10qsh_102 _ring_1hv7a_65", ti = "_weekdays_10qsh_122", ni = "_grid_10qsh_123", ri = "_day_10qsh_142 _ring_1hv7a_65", oi = "_otherMonth_10qsh_165", si = "_today_10qsh_169", ii = "_selected_10qsh_175", ai = "_foot_10qsh_182", ci = "_timeRow_10qsh_195", li = "_timeLabel_10qsh_205", di = "_timeGroup_10qsh_213", ui = "_timeFieldWrap_10qsh_223", hi = "_timeField_10qsh_223 _field_1hv7a_34", fi = "_timeStepper_10qsh_262", pi = "_timeSeparator_10qsh_312", mi = "_dstHint_10qsh_318", _i = "_dstChoice_10qsh_325", gi = "_dstButtons_10qsh_331", vi = "_footLeft_10qsh_336", yi = "_triggerWrap_10qsh_345 _text_1hv7a_23", bi = "_triggerClear_10qsh_354", wi = "_rangeDash_10qsh_402", ki = "_rangePanel_10qsh_407 _text_1hv7a_23", xi = "_rangeRight_10qsh_415", Ni = "_rangeBody_10qsh_419", $i = "_presetColumn_10qsh_425", Di = "_preset_10qsh_425 _ring_1hv7a_65", Ti = "_presetActive_10qsh_454", Mi = "_monthPair_10qsh_461", Ci = "_monthColumn_10qsh_466", Si = "_pageSpacer_10qsh_501", Ai = "_dayEmpty_10qsh_507", Li = "_inRange_10qsh_514", Ri = "_rangeFrom_10qsh_524", Pi = "_rangeTo_10qsh_526", qi = "_rangeSingle_10qsh_528", Ei = "_inPreview_10qsh_546", Fi = "_previewEnd_10qsh_551", Ii = "_footNote_10qsh_558", Bi = "_timeRangeRow_10qsh_578", Hi = "_timeHalf_10qsh_587", Oi = "_timeHalfHead_10qsh_595", Wi = "_timeDate_10qsh_602", zi = "_footNoteRight_10qsh_609", ji = "_timeFieldDisabled_10qsh_615", C = {
1457
1479
  trigger: Gs,
1458
1480
  sm: Vs,
1459
1481
  invalid: Us,
@@ -1498,8 +1520,8 @@ const Ws = {
1498
1520
  inRange: Li,
1499
1521
  rangeFrom: Ri,
1500
1522
  rangeTo: Pi,
1501
- rangeSingle: Ei,
1502
- inPreview: qi,
1523
+ rangeSingle: qi,
1524
+ inPreview: Ei,
1503
1525
  previewEnd: Fi,
1504
1526
  footNote: Ii,
1505
1527
  timeRangeRow: Bi,
@@ -1547,7 +1569,7 @@ function Nt({
1547
1569
  (b.key === "Enter" || b.key === " ") && (b.preventDefault(), a(r));
1548
1570
  }, N = (b) => {
1549
1571
  n(xt(t, b)), o(Is(r, b));
1550
- }, M = Hs(t), q = m ?? /* @__PURE__ */ new Date(), { from: D, to: _, isPreview: E } = Os(c, l, d);
1572
+ }, M = Hs(t), E = m ?? /* @__PURE__ */ new Date(), { from: D, to: _, isPreview: q } = Os(c, l, d);
1551
1573
  return /* @__PURE__ */ k(we, { children: [
1552
1574
  /* @__PURE__ */ k("div", { className: C.head, children: [
1553
1575
  p ? /* @__PURE__ */ s("span", { className: C.pageSpacer, "aria-hidden": "true" }) : /* @__PURE__ */ s("button", { type: "button", className: C.page, "aria-label": v.previousMonth, onClick: () => N(-1), children: /* @__PURE__ */ s("svg", { viewBox: "0 0 10 10", width: "10", height: "10", "aria-hidden": "true", children: /* @__PURE__ */ s("path", { d: "M6.4 1.8 3.2 5l3.2 3.2", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) }),
@@ -1575,18 +1597,18 @@ function Nt({
1575
1597
  "data-active": V || void 0,
1576
1598
  "aria-label": w.dateLong(b),
1577
1599
  "aria-pressed": Re(b, i) || Y || L || U,
1578
- "aria-current": Re(b, q) ? "date" : void 0,
1600
+ "aria-current": Re(b, E) ? "date" : void 0,
1579
1601
  className: P(
1580
1602
  C.day,
1581
1603
  !F && C.otherMonth,
1582
1604
  Re(b, i) && C.selected,
1583
- Re(b, q) && C.today,
1605
+ Re(b, E) && C.today,
1584
1606
  T && C.inRange,
1585
- T && E && C.inPreview,
1607
+ T && q && C.inPreview,
1586
1608
  (Y || U) && !j && C.rangeFrom,
1587
1609
  L && !j && C.rangeTo,
1588
1610
  j && C.rangeSingle,
1589
- L && E && C.previewEnd
1611
+ L && q && C.previewEnd
1590
1612
  ),
1591
1613
  onClick: () => a(b),
1592
1614
  onMouseEnter: u ? () => u(b) : void 0,
@@ -1665,13 +1687,13 @@ function uu({
1665
1687
  size: i = "md",
1666
1688
  clearable: a = !1
1667
1689
  }) {
1668
- const c = Ie(), l = ce(), d = Ve(), u = n ?? l.datePlaceholder, p = o ?? (c == null ? void 0 : c.invalid) ?? !1, [h, f] = I(!1), [m, v] = I(() => Ce(e ?? /* @__PURE__ */ new Date())), [w, y] = I(() => e ?? /* @__PURE__ */ new Date()), g = R(null), N = R(null), M = R(null), q = De(), D = () => {
1690
+ const c = Ie(), l = ce(), d = Ve(), u = n ?? l.datePlaceholder, p = o ?? (c == null ? void 0 : c.invalid) ?? !1, [h, f] = I(!1), [m, v] = I(() => Ce(e ?? /* @__PURE__ */ new Date())), [w, y] = I(() => e ?? /* @__PURE__ */ new Date()), g = R(null), N = R(null), M = R(null), E = De(), D = () => {
1669
1691
  const b = e ?? /* @__PURE__ */ new Date();
1670
1692
  v(Ce(b)), y(b), f(!0);
1671
1693
  }, _ = (b = !0) => {
1672
1694
  var F;
1673
1695
  f(!1), b && ((F = g.current) == null || F.focus());
1674
- }, E = (b) => {
1696
+ }, q = (b) => {
1675
1697
  t(Ht(b)), _();
1676
1698
  };
1677
1699
  return /* @__PURE__ */ k(we, { children: [
@@ -1680,7 +1702,7 @@ function uu({
1680
1702
  {
1681
1703
  wrapRef: N,
1682
1704
  triggerRef: g,
1683
- panel: { id: q, open: h, onToggle: () => h ? f(!1) : D() },
1705
+ panel: { id: E, open: h, onToggle: () => h ? f(!1) : D() },
1684
1706
  field: c,
1685
1707
  state: { disabled: r, invalid: p, clearable: a, size: i },
1686
1708
  hasValue: !!e,
@@ -1707,7 +1729,7 @@ function uu({
1707
1729
  insideRefs: [N],
1708
1730
  role: "dialog",
1709
1731
  ariaLabel: l.datePanel,
1710
- id: q,
1732
+ id: E,
1711
1733
  className: C.panel,
1712
1734
  children: /* @__PURE__ */ k("div", { ref: M, children: [
1713
1735
  /* @__PURE__ */ s(
@@ -1719,11 +1741,11 @@ function uu({
1719
1741
  active: w,
1720
1742
  onActive: y,
1721
1743
  value: e,
1722
- onPick: E
1744
+ onPick: q
1723
1745
  }
1724
1746
  ),
1725
1747
  /* @__PURE__ */ k("div", { className: C.foot, children: [
1726
- /* @__PURE__ */ s(ve, { size: "sm", variant: "ghost", onClick: () => E(/* @__PURE__ */ new Date()), children: l.today }),
1748
+ /* @__PURE__ */ s(ve, { size: "sm", variant: "ghost", onClick: () => q(/* @__PURE__ */ new Date()), children: l.today }),
1727
1749
  e && /* @__PURE__ */ s(ve, { size: "sm", variant: "ghost", onClick: () => {
1728
1750
  t(null), _();
1729
1751
  }, children: l.clear })
@@ -1857,9 +1879,9 @@ function hu({
1857
1879
  invalid: a,
1858
1880
  clearable: c = !1
1859
1881
  }) {
1860
- const l = Ie(), d = ce(), u = Ve(), p = r ?? d.dateTimePlaceholder, h = a ?? (l == null ? void 0 : l.invalid) ?? !1, [f, m] = I(!1), [v, w] = I(() => Ce(e ?? /* @__PURE__ */ new Date())), [y, g] = I(() => e ?? /* @__PURE__ */ new Date()), [N, M] = I(e), [q, D] = I("00"), [_, E] = I("00"), [b, F] = I("00"), [V, Y] = I("earlier"), L = R(null), j = R(null), T = R(null), U = R(null), G = R(null), Q = R(null), me = De(), A = () => {
1882
+ const l = Ie(), d = ce(), u = Ve(), p = r ?? d.dateTimePlaceholder, h = a ?? (l == null ? void 0 : l.invalid) ?? !1, [f, m] = I(!1), [v, w] = I(() => Ce(e ?? /* @__PURE__ */ new Date())), [y, g] = I(() => e ?? /* @__PURE__ */ new Date()), [N, M] = I(e), [E, D] = I("00"), [_, q] = I("00"), [b, F] = I("00"), [V, Y] = I("earlier"), L = R(null), j = R(null), T = R(null), U = R(null), G = R(null), Q = R(null), me = De(), A = () => {
1861
1883
  const oe = e ?? /* @__PURE__ */ new Date();
1862
- w(Ce(oe)), g(oe), M(e ? oe : null), D(Xe(e ? oe.getHours() : 0)), E(Xe(e ? oe.getMinutes() : 0)), F(Xe(e && n ? oe.getSeconds() : 0)), Y(e ? Ot(e) : "earlier"), m(!0);
1884
+ w(Ce(oe)), g(oe), M(e ? oe : null), D(Xe(e ? oe.getHours() : 0)), q(Xe(e ? oe.getMinutes() : 0)), F(Xe(e && n ? oe.getSeconds() : 0)), Y(e ? Ot(e) : "earlier"), m(!0);
1863
1885
  }, B = (oe = !0) => {
1864
1886
  var K;
1865
1887
  m(!1), oe && ((K = L.current) == null || K.focus());
@@ -1867,12 +1889,12 @@ function hu({
1867
1889
  N.getFullYear(),
1868
1890
  N.getMonth(),
1869
1891
  N.getDate(),
1870
- Math.min(23, Number.parseInt(q, 10) || 0),
1892
+ Math.min(23, Number.parseInt(E, 10) || 0),
1871
1893
  Math.min(59, Number.parseInt(_, 10) || 0),
1872
1894
  n ? Math.min(59, Number.parseInt(b, 10) || 0) : 0
1873
- ) : null, [N, q, _, b, n]), te = se(() => z ? z.kind === "ambiguous" ? V === "earlier" ? z.earlier : z.later : z.date : null, [z, V]), xe = () => {
1895
+ ) : null, [N, E, _, b, n]), te = se(() => z ? z.kind === "ambiguous" ? V === "earlier" ? z.earlier : z.later : z.date : null, [z, V]), xe = () => {
1874
1896
  te && (t(te), B());
1875
- }, Ee = () => {
1897
+ }, qe = () => {
1876
1898
  t(Ui(/* @__PURE__ */ new Date(), n)), B();
1877
1899
  };
1878
1900
  return /* @__PURE__ */ k(we, { children: [
@@ -1938,9 +1960,9 @@ function hu({
1938
1960
  children: [
1939
1961
  /* @__PURE__ */ s("span", { className: C.timeLabel, children: d.timeOfDay }),
1940
1962
  /* @__PURE__ */ k("div", { className: C.timeGroup, children: [
1941
- /* @__PURE__ */ s(ht, { own: U, value: q, onValue: D, max: 23, label: d.hour, next: G }),
1963
+ /* @__PURE__ */ s(ht, { own: U, value: E, onValue: D, max: 23, label: d.hour, next: G }),
1942
1964
  /* @__PURE__ */ s("span", { className: C.timeSeparator, children: ":" }),
1943
- /* @__PURE__ */ s(ht, { own: G, value: _, onValue: E, max: 59, label: d.minute, next: n ? Q : void 0 }),
1965
+ /* @__PURE__ */ s(ht, { own: G, value: _, onValue: q, max: 59, label: d.minute, next: n ? Q : void 0 }),
1944
1966
  n && /* @__PURE__ */ k(we, { children: [
1945
1967
  /* @__PURE__ */ s("span", { className: C.timeSeparator, children: ":" }),
1946
1968
  /* @__PURE__ */ s(ht, { own: Q, value: b, onValue: F, max: 59, label: d.second })
@@ -1975,7 +1997,7 @@ function hu({
1975
1997
  ] }),
1976
1998
  /* @__PURE__ */ k("div", { className: C.foot, children: [
1977
1999
  /* @__PURE__ */ k("div", { className: C.footLeft, children: [
1978
- /* @__PURE__ */ s(ve, { size: "sm", variant: "ghost", onClick: Ee, children: d.now }),
2000
+ /* @__PURE__ */ s(ve, { size: "sm", variant: "ghost", onClick: qe, children: d.now }),
1979
2001
  e && /* @__PURE__ */ s(ve, { size: "sm", variant: "ghost", onClick: () => {
1980
2002
  t(null), B();
1981
2003
  }, children: d.clear })
@@ -2075,17 +2097,17 @@ function pu({
2075
2097
  clearable: a = !1,
2076
2098
  presets: c
2077
2099
  }) {
2078
- const l = Ie(), d = ce(), u = Ve(), p = n ?? d.dateRangePlaceholder, h = o ?? (l == null ? void 0 : l.invalid) ?? !1, f = se(() => c ?? rn(d), [c, d]), [m, v] = I(!1), [w, y] = I(() => Ce((e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date())), [g, N] = I(() => (e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date()), [M, q] = I(null), [D, _] = I(null), E = R(null), b = R(null), F = R(null), V = De(), Y = () => {
2100
+ const l = Ie(), d = ce(), u = Ve(), p = n ?? d.dateRangePlaceholder, h = o ?? (l == null ? void 0 : l.invalid) ?? !1, f = se(() => c ?? rn(d), [c, d]), [m, v] = I(!1), [w, y] = I(() => Ce((e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date())), [g, N] = I(() => (e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date()), [M, E] = I(null), [D, _] = I(null), q = R(null), b = R(null), F = R(null), V = De(), Y = () => {
2079
2101
  const B = (e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date();
2080
- y(Ce(B)), N(B), q(null), _(null), v(!0);
2102
+ y(Ce(B)), N(B), E(null), _(null), v(!0);
2081
2103
  }, L = (B = !0) => {
2082
2104
  var z;
2083
- v(!1), q(null), _(null), B && ((z = E.current) == null || z.focus());
2105
+ v(!1), E(null), _(null), B && ((z = q.current) == null || z.focus());
2084
2106
  }, j = (B, z) => {
2085
2107
  t(Hn(B, z, "day", !1)), L();
2086
2108
  }, T = (B) => {
2087
2109
  if (!M) {
2088
- q(B), N(B);
2110
+ E(B), N(B);
2089
2111
  return;
2090
2112
  }
2091
2113
  j(M, B);
@@ -2117,7 +2139,7 @@ function pu({
2117
2139
  Mt,
2118
2140
  {
2119
2141
  wrapRef: b,
2120
- triggerRef: E,
2142
+ triggerRef: q,
2121
2143
  panel: { id: V, open: m, onToggle: () => m ? v(!1) : Y() },
2122
2144
  field: l,
2123
2145
  state: { disabled: r, invalid: h, clearable: a, size: i },
@@ -2146,7 +2168,7 @@ function pu({
2146
2168
  onOpenChange: (B) => {
2147
2169
  B || v(!1);
2148
2170
  },
2149
- anchorRef: E,
2171
+ anchorRef: q,
2150
2172
  insideRefs: [b],
2151
2173
  role: "dialog",
2152
2174
  ariaLabel: d.dateRangePanel,
@@ -2218,19 +2240,19 @@ function mu({
2218
2240
  clearable: c = !1,
2219
2241
  presets: l
2220
2242
  }) {
2221
- const d = Ie(), u = ce(), p = Ve(), h = r ?? u.dateRangePlaceholder, f = i ?? (d == null ? void 0 : d.invalid) ?? !1, m = se(() => l ?? rn(u), [l, u]), [v, w] = I(!1), [y, g] = I(() => Ce((e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date())), [N, M] = I(() => (e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date()), [q, D] = I(null), [_, E] = I(null), [b, F] = I(null), [V, Y] = I(Lt), [L, j] = I(() => Rt(n)), [T, U] = I(!0), [G, Q] = I("earlier"), [me, A] = I("earlier"), B = R(null), z = R(null), te = R(null), xe = R(null), Ee = R(null), oe = R(null), K = R(null), _e = R(null), ye = R(null), Ne = R(null), $ = De(), H = () => {
2243
+ const d = Ie(), u = ce(), p = Ve(), h = r ?? u.dateRangePlaceholder, f = i ?? (d == null ? void 0 : d.invalid) ?? !1, m = se(() => l ?? rn(u), [l, u]), [v, w] = I(!1), [y, g] = I(() => Ce((e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date())), [N, M] = I(() => (e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date()), [E, D] = I(null), [_, q] = I(null), [b, F] = I(null), [V, Y] = I(Lt), [L, j] = I(() => Rt(n)), [T, U] = I(!0), [G, Q] = I("earlier"), [me, A] = I("earlier"), B = R(null), z = R(null), te = R(null), xe = R(null), qe = R(null), oe = R(null), K = R(null), _e = R(null), ye = R(null), Ne = R(null), $ = De(), H = () => {
2222
2244
  const Z = (e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date();
2223
- g(Ce(Z)), M(Z), D(e ? $e(e.from) : null), E(e ? $e(e.to) : null), Y(e ? fn(e.from, n) : Lt), j(e ? fn(e.to, n) : Rt(n)), U(e ? Ji(e.from, e.to, n) : !0), Q(e ? Ot(e.from) : "earlier"), A(e ? Ot(e.to) : "earlier"), F(null), w(!0);
2245
+ g(Ce(Z)), M(Z), D(e ? $e(e.from) : null), q(e ? $e(e.to) : null), Y(e ? fn(e.from, n) : Lt), j(e ? fn(e.to, n) : Rt(n)), U(e ? Ji(e.from, e.to, n) : !0), Q(e ? Ot(e.from) : "earlier"), A(e ? Ot(e.to) : "earlier"), F(null), w(!0);
2224
2246
  }, S = (Z = !0) => {
2225
2247
  var J;
2226
2248
  w(!1), F(null), Z && ((J = B.current) == null || J.focus());
2227
2249
  }, W = (Z) => {
2228
- if (!q || _) {
2229
- D(Z), E(null), M(Z);
2250
+ if (!E || _) {
2251
+ D(Z), q(null), M(Z);
2230
2252
  return;
2231
2253
  }
2232
- const [J, pe] = Bn(q, Z);
2233
- D($e(J)), E($e(pe)), M(Z), Q("earlier"), A("earlier"), requestAnimationFrame(() => {
2254
+ const [J, pe] = Bn(E, Z);
2255
+ D($e(J)), q($e(pe)), M(Z), Q("earlier"), A("earlier"), requestAnimationFrame(() => {
2234
2256
  var Te, et;
2235
2257
  T ? (Te = Ne.current) == null || Te.focus() : (et = xe.current) == null || et.focus();
2236
2258
  });
@@ -2246,32 +2268,32 @@ function mu({
2246
2268
  const x = T ? Lt : V, O = se(
2247
2269
  () => T ? Rt(n) : L,
2248
2270
  [T, n, L]
2249
- ), ee = se(() => pn(q, x, n), [q, x, n]), ie = se(() => pn(_, O, n), [_, O, n]), le = se(() => mn(ee, G), [ee, G]), ue = se(() => mn(ie, me), [ie, me]), de = () => {
2271
+ ), ee = se(() => pn(E, x, n), [E, x, n]), ie = se(() => pn(_, O, n), [_, O, n]), le = se(() => mn(ee, G), [ee, G]), ue = se(() => mn(ie, me), [ie, me]), de = () => {
2250
2272
  if (!le || !ue) return;
2251
2273
  const [Z, J] = Vi(le, ue);
2252
2274
  t({ from: Z, to: J }), S();
2253
- }, fe = q, be = _, ke = q && !_ ? b : null, he = () => {
2275
+ }, fe = E, be = _, ke = E && !_ ? b : null, he = () => {
2254
2276
  if (!le || !ue) return "";
2255
- if (T && q && _) {
2256
- const Ct = $t(q, _);
2277
+ if (T && E && _) {
2278
+ const Ct = $t(E, _);
2257
2279
  return u.daysAllDay(Ct);
2258
2280
  }
2259
2281
  const Z = Math.abs(ue.getTime() - le.getTime()), J = Math.round(Z / 6e4), pe = Math.floor(J / 1440), Te = Math.floor(J % 1440 / 60), et = J % 60, Ue = [];
2260
2282
  return pe > 0 && Ue.push(u.days(pe)), Te > 0 && Ue.push(u.hoursShort(Te)), (et > 0 || Ue.length === 0) && Ue.push(u.minutesShort(et)), u.duration(Ue);
2261
- }, qe = (() => {
2262
- if (!q) return u.chooseStartDate;
2283
+ }, Ee = (() => {
2284
+ if (!E) return u.chooseStartDate;
2263
2285
  if (!_) {
2264
2286
  if (b) {
2265
- const [Z, J] = $e(b).getTime() < $e(q).getTime() ? [b, q] : [q, b], pe = $t(Z, J);
2287
+ const [Z, J] = $e(b).getTime() < $e(E).getTime() ? [b, E] : [E, b], pe = $t(Z, J);
2266
2288
  return u.rangePreview(p.dateShort(Z), p.dateShort(J), pe);
2267
2289
  }
2268
2290
  return u.chooseEndDate;
2269
2291
  }
2270
2292
  return he();
2271
2293
  })(), Je = (Z) => {
2272
- if (!q || !_ || !T) return !1;
2294
+ if (!E || !_ || !T) return !1;
2273
2295
  const J = Z.range();
2274
- return Re(J.from, q) && Re(J.to, _);
2296
+ return Re(J.from, E) && Re(J.to, _);
2275
2297
  }, vt = (Z, J, pe, Te, et, Ue) => {
2276
2298
  const [Ct, an, cn] = et;
2277
2299
  return /* @__PURE__ */ k("div", { className: C.timeHalf, children: [
@@ -2414,7 +2436,7 @@ function mu({
2414
2436
  Z.key === "Enter" && (Z.preventDefault(), de());
2415
2437
  },
2416
2438
  children: [
2417
- vt("from", q, V, Y, [xe, Ee, oe], K),
2439
+ vt("from", E, V, Y, [xe, qe, oe], K),
2418
2440
  vt("to", _, L, j, [K, _e, ye])
2419
2441
  ]
2420
2442
  }
@@ -2434,12 +2456,12 @@ function mu({
2434
2456
  const J = Z.target.checked;
2435
2457
  U(J), requestAnimationFrame(() => {
2436
2458
  var pe, Te;
2437
- J ? q && _ && ((Te = Ne.current) == null || Te.focus()) : (pe = xe.current) == null || pe.focus();
2459
+ J ? E && _ && ((Te = Ne.current) == null || Te.focus()) : (pe = xe.current) == null || pe.focus();
2438
2460
  });
2439
2461
  }
2440
2462
  }
2441
2463
  ),
2442
- /* @__PURE__ */ s("span", { className: P(C.footNote, C.footNoteRight), "aria-live": "polite", children: qe }),
2464
+ /* @__PURE__ */ s("span", { className: P(C.footNote, C.footNoteRight), "aria-live": "polite", children: Ee }),
2443
2465
  /* @__PURE__ */ k("div", { className: C.footLeft, children: [
2444
2466
  e && /* @__PURE__ */ s(ve, { size: "sm", variant: "ghost", onClick: () => {
2445
2467
  t(null), S();
@@ -2657,10 +2679,10 @@ const Ta = "_wrapper_f3ja0_4 _text_1hv7a_23", Ma = "_sm_f3ja0_26", Ca = "_invali
2657
2679
  onKeyDown: w,
2658
2680
  ...y
2659
2681
  }, g) {
2660
- const N = Ie(), M = ce(), q = Ve(), D = (K) => q.number(K, a), _ = se(() => or(q), [q]), E = (K) => xa(K, _), b = u ?? (N == null ? void 0 : N.invalid) ?? !1, F = se(() => ({ min: r, max: o, decimals: a }), [r, o, a]), [V, Y] = I(() => t === null ? "" : D(t)), [L, j] = I(!1);
2682
+ const N = Ie(), M = ce(), E = Ve(), D = (K) => E.number(K, a), _ = se(() => or(E), [E]), q = (K) => xa(K, _), b = u ?? (N == null ? void 0 : N.invalid) ?? !1, F = se(() => ({ min: r, max: o, decimals: a }), [r, o, a]), [V, Y] = I(() => t === null ? "" : D(t)), [L, j] = I(!1);
2661
2683
  ne(() => {
2662
2684
  L || Y(t === null ? "" : D(t));
2663
- }, [t, L, a, q]);
2685
+ }, [t, L, a, E]);
2664
2686
  const T = (K) => {
2665
2687
  if (K === null) {
2666
2688
  Y(""), n(null);
@@ -2673,7 +2695,7 @@ const Ta = "_wrapper_f3ja0_4 _text_1hv7a_23", Ma = "_sm_f3ja0_26", Ca = "_invali
2673
2695
  const G = R(t);
2674
2696
  G.current = t;
2675
2697
  const Q = (K, _e = 1) => {
2676
- const ye = E(U.current) ?? G.current ?? 0;
2698
+ const ye = q(U.current) ?? G.current ?? 0;
2677
2699
  T(Da(ye, K, i, _e));
2678
2700
  }, me = (K) => {
2679
2701
  w == null || w(K), !K.defaultPrevented && (K.key !== "ArrowUp" && K.key !== "ArrowDown" || (K.preventDefault(), Q(K.key === "ArrowUp" ? 1 : -1, K.shiftKey ? 10 : 1)));
@@ -2689,7 +2711,7 @@ const Ta = "_wrapper_f3ja0_4 _text_1hv7a_23", Ma = "_sm_f3ja0_26", Ca = "_invali
2689
2711
  }, Ne);
2690
2712
  };
2691
2713
  ye(400);
2692
- }, te = E(V) ?? t, xe = !p && (o === void 0 || te === null || te < o), Ee = !p && (r === void 0 || te === null || te > r), oe = (K, _e, ye, Ne) => /* @__PURE__ */ s(
2714
+ }, te = q(V) ?? t, xe = !p && (o === void 0 || te === null || te < o), qe = !p && (r === void 0 || te === null || te > r), oe = (K, _e, ye, Ne) => /* @__PURE__ */ s(
2693
2715
  "button",
2694
2716
  {
2695
2717
  type: "button",
@@ -2734,7 +2756,7 @@ const Ta = "_wrapper_f3ja0_4 _text_1hv7a_23", Ma = "_sm_f3ja0_26", Ca = "_invali
2734
2756
  onChange: (K) => {
2735
2757
  const _e = $a(K.target.value, F, _);
2736
2758
  Y(_e);
2737
- const ye = E(_e);
2759
+ const ye = q(_e);
2738
2760
  n(ye === null ? null : _n(ye, F));
2739
2761
  },
2740
2762
  ...y,
@@ -2743,22 +2765,22 @@ const Ta = "_wrapper_f3ja0_4 _text_1hv7a_23", Ma = "_sm_f3ja0_26", Ca = "_invali
2743
2765
  m == null || m(K), j(!0);
2744
2766
  },
2745
2767
  onBlur: (K) => {
2746
- v == null || v(K), j(!1), T(E(K.currentTarget.value));
2768
+ v == null || v(K), j(!1), T(q(K.currentTarget.value));
2747
2769
  }
2748
2770
  }
2749
2771
  ),
2750
2772
  l && /* @__PURE__ */ s("span", { className: Ye.adornment, children: l }),
2751
2773
  /* @__PURE__ */ k("span", { className: Ye.stepper, children: [
2752
- oe(-1, Ee, M.decreaseValue, /* @__PURE__ */ s(bs, {})),
2774
+ oe(-1, qe, M.decreaseValue, /* @__PURE__ */ s(bs, {})),
2753
2775
  oe(1, xe, M.increaseValue, /* @__PURE__ */ s(ys, {}))
2754
2776
  ] })
2755
2777
  ]
2756
2778
  }
2757
2779
  );
2758
- }), Pa = "_dialog_105hh_8 _text_1hv7a_23", Ea = "_spacerTop_105hh_30", qa = "_spacerBottom_105hh_35", Fa = "_sheet_105hh_2", Ia = "_sm_105hh_52", Ba = "_md_105hh_53", Ha = "_lg_105hh_54", Oa = "_header_105hh_102", Wa = "_headerText_105hh_110", za = "_title_105hh_117", ja = "_description_105hh_125", Ga = "_close_105hh_132 _ring_1hv7a_65", Va = "_footer_105hh_158", Ua = "_body_105hh_162 _scroll_1hv7a_40", Ya = "_modalIn_105hh_1", Ka = "_modalOut_105hh_1", Xa = "_backdropIn_105hh_1", Qa = "_backdropOut_105hh_1", Fe = {
2780
+ }), Pa = "_dialog_105hh_8 _text_1hv7a_23", qa = "_spacerTop_105hh_30", Ea = "_spacerBottom_105hh_35", Fa = "_sheet_105hh_2", Ia = "_sm_105hh_52", Ba = "_md_105hh_53", Ha = "_lg_105hh_54", Oa = "_header_105hh_102", Wa = "_headerText_105hh_110", za = "_title_105hh_117", ja = "_description_105hh_125", Ga = "_close_105hh_132 _ring_1hv7a_65", Va = "_footer_105hh_158", Ua = "_body_105hh_162 _scroll_1hv7a_40", Ya = "_modalIn_105hh_1", Ka = "_modalOut_105hh_1", Xa = "_backdropIn_105hh_1", Qa = "_backdropOut_105hh_1", Fe = {
2759
2781
  dialog: Pa,
2760
- spacerTop: Ea,
2761
- spacerBottom: qa,
2782
+ spacerTop: qa,
2783
+ spacerBottom: Ea,
2762
2784
  sheet: Fa,
2763
2785
  sm: Ia,
2764
2786
  md: Ba,
@@ -2784,7 +2806,7 @@ function Za({
2784
2806
  children: i,
2785
2807
  ...a
2786
2808
  }) {
2787
- const c = R(null), l = De(), { dialogRef: d, closing: u, beimSchliessen: p, beimAbbrechen: h } = En(e, "--u-duration-exit", t), f = (m) => {
2809
+ const c = R(null), l = De(), { dialogRef: d, closing: u, beimSchliessen: p, beimAbbrechen: h } = qn(e, "--u-duration-exit", t), f = (m) => {
2788
2810
  r && c.current && !c.current.contains(m.target) && t();
2789
2811
  };
2790
2812
  return /* @__PURE__ */ k(
@@ -2886,18 +2908,18 @@ function xu({
2886
2908
  disabled: a = !1,
2887
2909
  invalid: c
2888
2910
  }) {
2889
- const l = Ie(), d = ce(), u = r ?? d.multiSelectPlaceholder, p = o ?? d.multiSelectSearchPlaceholder, h = i ?? d.noMatches, f = c ?? (l == null ? void 0 : l.invalid) ?? !1, [m, v] = I(!1), [w, y] = I(""), [g, N] = I("all"), [M, q] = I(/* @__PURE__ */ new Set()), D = R(null), _ = R(null), E = R(null), b = R(null), F = De(), V = (x = "all") => {
2890
- N(x), q(new Set(t)), y(""), v(!0);
2911
+ const l = Ie(), d = ce(), u = r ?? d.multiSelectPlaceholder, p = o ?? d.multiSelectSearchPlaceholder, h = i ?? d.noMatches, f = c ?? (l == null ? void 0 : l.invalid) ?? !1, [m, v] = I(!1), [w, y] = I(""), [g, N] = I("all"), [M, E] = I(/* @__PURE__ */ new Set()), D = R(null), _ = R(null), q = R(null), b = R(null), F = De(), V = (x = "all") => {
2912
+ N(x), E(new Set(t)), y(""), v(!0);
2891
2913
  }, Y = (x) => {
2892
2914
  var O;
2893
- N(x), x === "selected" && q(new Set(t)), (O = E.current) == null || O.focus();
2915
+ N(x), x === "selected" && E(new Set(t)), (O = q.current) == null || O.focus();
2894
2916
  }, L = X((x) => {
2895
2917
  var O;
2896
- x && ((O = E.current) == null || O.focus());
2918
+ x && ((O = q.current) == null || O.focus());
2897
2919
  }, []), j = se(
2898
2920
  () => g === "selected" ? e.filter((x) => M.has(x.value)) : e,
2899
2921
  [e, g, M]
2900
- ), T = se(() => qn(j, w), [j, w]), U = (x) => {
2922
+ ), T = se(() => En(j, w), [j, w]), U = (x) => {
2901
2923
  n(
2902
2924
  t.includes(x) ? t.filter((O) => O !== x) : [...t, x]
2903
2925
  );
@@ -2923,14 +2945,14 @@ function xu({
2923
2945
  var ie, le, ue, de, fe;
2924
2946
  if (!["ArrowDown", "ArrowUp", "Home", "End"].includes(x.key)) return;
2925
2947
  const O = z(), ee = O.findIndex((be) => be === document.activeElement);
2926
- ee !== -1 && (x.preventDefault(), x.key === "ArrowDown" && ((ie = O[Math.min(ee + 1, O.length - 1)]) == null || ie.focus()), x.key === "ArrowUp" && (ee === 0 ? (le = E.current) == null || le.focus() : (ue = O[ee - 1]) == null || ue.focus()), x.key === "Home" && ((de = O[0]) == null || de.focus()), x.key === "End" && ((fe = O[O.length - 1]) == null || fe.focus()));
2927
- }, Ee = () => {
2948
+ ee !== -1 && (x.preventDefault(), x.key === "ArrowDown" && ((ie = O[Math.min(ee + 1, O.length - 1)]) == null || ie.focus()), x.key === "ArrowUp" && (ee === 0 ? (le = q.current) == null || le.focus() : (ue = O[ee - 1]) == null || ue.focus()), x.key === "Home" && ((de = O[0]) == null || de.focus()), x.key === "End" && ((fe = O[O.length - 1]) == null || fe.focus()));
2949
+ }, qe = () => {
2928
2950
  var x;
2929
2951
  return Array.from(((x = D.current) == null ? void 0 : x.querySelectorAll("[data-nav]")) ?? []);
2930
2952
  }, oe = (x) => {
2931
2953
  var le, ue, de;
2932
2954
  if (a) return;
2933
- const O = x.target, ee = Ee();
2955
+ const O = x.target, ee = qe();
2934
2956
  if (O === _.current) {
2935
2957
  x.key === "ArrowLeft" && ee.length > 0 ? (x.preventDefault(), (le = ee[ee.length - 1]) == null || le.focus()) : x.key === "Backspace" && t.length > 0 && (x.preventDefault(), n(t.slice(0, -1)));
2936
2958
  return;
@@ -2938,7 +2960,7 @@ function xu({
2938
2960
  const ie = ee.indexOf(O);
2939
2961
  ie !== -1 && (x.key === "ArrowRight" ? (x.preventDefault(), (ue = ee[ie + 1] ?? _.current) == null || ue.focus()) : x.key === "ArrowLeft" ? (x.preventDefault(), (de = ee[ie - 1]) == null || de.focus()) : (x.key === "Delete" || x.key === "Backspace") && O.dataset.value && (x.preventDefault(), G(O.dataset.value), requestAnimationFrame(() => {
2940
2962
  var be;
2941
- const fe = Ee();
2963
+ const fe = qe();
2942
2964
  (be = fe[Math.min(ie, fe.length - 1)] ?? _.current) == null || be.focus();
2943
2965
  })));
2944
2966
  }, K = se(
@@ -2957,7 +2979,7 @@ function xu({
2957
2979
  let fe = 1;
2958
2980
  for (let ke = le.length; ke >= 1; ke -= 1) {
2959
2981
  let he = (ke - 1) * de;
2960
- for (let qe = 0; qe < ke; qe += 1) he += le[qe] ?? 0;
2982
+ for (let Ee = 0; Ee < ke; Ee += 1) he += le[Ee] ?? 0;
2961
2983
  if (ke < le.length && (he += de + ie), he <= ue) {
2962
2984
  fe = ke;
2963
2985
  break;
@@ -3081,7 +3103,7 @@ function xu({
3081
3103
  /* @__PURE__ */ s(
3082
3104
  zn,
3083
3105
  {
3084
- ref: E,
3106
+ ref: q,
3085
3107
  size: "sm",
3086
3108
  value: w,
3087
3109
  placeholder: p,
@@ -3089,7 +3111,7 @@ function xu({
3089
3111
  clearable: !0,
3090
3112
  onClear: () => {
3091
3113
  var x;
3092
- y(""), (x = E.current) == null || x.focus();
3114
+ y(""), (x = q.current) == null || x.focus();
3093
3115
  },
3094
3116
  onChange: (x) => y(x.target.value),
3095
3117
  onKeyDown: te
@@ -3180,17 +3202,17 @@ const Nc = "_group_1rlbr_8 _text_1hv7a_23", $c = "_horizontal_1rlbr_15", Dc = "_
3180
3202
  }, M = (D) => {
3181
3203
  var j, T, U, G;
3182
3204
  if (u == null || u(D), D.defaultPrevented) return;
3183
- const _ = D.key === "ArrowDown" || D.key === "ArrowRight", E = D.key === "ArrowUp" || D.key === "ArrowLeft";
3184
- if (!_ && !E || g.length === 0) return;
3205
+ const _ = D.key === "ArrowDown" || D.key === "ArrowRight", q = D.key === "ArrowUp" || D.key === "ArrowLeft";
3206
+ if (!_ && !q || g.length === 0) return;
3185
3207
  D.preventDefault();
3186
3208
  const b = (y ? n : (T = (j = w.current) == null ? void 0 : j.querySelector("input:checked")) == null ? void 0 : T.value) ?? null, F = g.findIndex((Q) => Q.value === b), V = F === -1 ? 0 : (F + (_ ? 1 : -1) + g.length) % g.length, Y = g[V];
3187
3209
  if (!Y) return;
3188
3210
  (G = Array.from(
3189
3211
  ((U = w.current) == null ? void 0 : U.querySelectorAll('input[type="radio"]')) ?? []
3190
3212
  ).find((Q) => Q.value === Y.value)) == null || G.focus(), N(Y);
3191
- }, q = (D) => {
3192
- var E;
3193
- return y ? D.disabled || c ? -1 : n === D.value || !g.some((b) => b.value === n) && ((E = g[0]) == null ? void 0 : E.value) === D.value ? 0 : -1 : void 0;
3213
+ }, E = (D) => {
3214
+ var q;
3215
+ return y ? D.disabled || c ? -1 : n === D.value || !g.some((b) => b.value === n) && ((q = g[0]) == null ? void 0 : q.value) === D.value ? 0 : -1 : void 0;
3194
3216
  };
3195
3217
  return /* @__PURE__ */ s(
3196
3218
  "div",
@@ -3213,7 +3235,7 @@ const Nc = "_group_1rlbr_8 _text_1hv7a_23", $c = "_horizontal_1rlbr_15", Dc = "_
3213
3235
  ...p,
3214
3236
  onKeyDown: M,
3215
3237
  children: t.map((D) => {
3216
- const _ = `${m}-${Qe(D.value)}`, E = D.description ? `${_}-description` : void 0, b = c || D.disabled;
3238
+ const _ = `${m}-${Qe(D.value)}`, q = D.description ? `${_}-description` : void 0, b = c || D.disabled;
3217
3239
  return /* @__PURE__ */ k(
3218
3240
  "label",
3219
3241
  {
@@ -3228,16 +3250,16 @@ const Nc = "_group_1rlbr_8 _text_1hv7a_23", $c = "_horizontal_1rlbr_15", Dc = "_
3228
3250
  name: v,
3229
3251
  value: D.value,
3230
3252
  disabled: b,
3231
- tabIndex: q(D),
3253
+ tabIndex: E(D),
3232
3254
  className: Oe.input,
3233
- "aria-describedby": E,
3255
+ "aria-describedby": q,
3234
3256
  ...y ? { checked: n === D.value, onChange: () => N(D) } : { defaultChecked: r === D.value, onChange: () => N(D) }
3235
3257
  }
3236
3258
  ),
3237
3259
  /* @__PURE__ */ s("span", { className: Oe.dot, "aria-hidden": "true" }),
3238
3260
  /* @__PURE__ */ k("span", { className: Oe.texts, children: [
3239
3261
  /* @__PURE__ */ s("span", { className: Oe.label, children: D.label }),
3240
- D.description && /* @__PURE__ */ s("span", { id: E, className: Oe.description, children: D.description })
3262
+ D.description && /* @__PURE__ */ s("span", { id: q, className: Oe.description, children: D.description })
3241
3263
  ] })
3242
3264
  ]
3243
3265
  },
@@ -3246,10 +3268,10 @@ const Nc = "_group_1rlbr_8 _text_1hv7a_23", $c = "_horizontal_1rlbr_15", Dc = "_
3246
3268
  })
3247
3269
  }
3248
3270
  );
3249
- }), Pc = "_wrapper_11qvp_4 _text_1hv7a_23", Ec = "_select_11qvp_11 _field_1hv7a_34", qc = "_sm_11qvp_43", Fc = "_invalid_11qvp_49", Ic = "_chevron_11qvp_58", Bc = "_selectClearable_11qvp_75", Hc = "_clear_11qvp_80", nt = {
3271
+ }), Pc = "_wrapper_11qvp_4 _text_1hv7a_23", qc = "_select_11qvp_11 _field_1hv7a_34", Ec = "_sm_11qvp_43", Fc = "_invalid_11qvp_49", Ic = "_chevron_11qvp_58", Bc = "_selectClearable_11qvp_75", Hc = "_clear_11qvp_80", nt = {
3250
3272
  wrapper: Pc,
3251
- select: Ec,
3252
- sm: qc,
3273
+ select: qc,
3274
+ sm: Ec,
3253
3275
  invalid: Fc,
3254
3276
  chevron: Ic,
3255
3277
  selectClearable: Bc,
@@ -3558,7 +3580,7 @@ const ol = (e, t) => t === void 0 ? void 0 : t - e.length, sl = (e, t, n) => !n
3558
3580
  b = !0;
3559
3581
  };
3560
3582
  }, [r, y]);
3561
- const [g, N] = I(() => String(h.defaultValue ?? "")), M = h.value !== void 0, q = M ? String(h.value ?? "") : g, D = ol(q, h.maxLength), _ = i && D !== void 0, E = /* @__PURE__ */ s(
3583
+ const [g, N] = I(() => String(h.defaultValue ?? "")), M = h.value !== void 0, E = M ? String(h.value ?? "") : g, D = ol(E, h.maxLength), _ = i && D !== void 0, q = /* @__PURE__ */ s(
3562
3584
  "textarea",
3563
3585
  {
3564
3586
  ref: w,
@@ -3582,7 +3604,7 @@ const ol = (e, t) => t === void 0 ? void 0 : t - e.length, sl = (e, t, n) => !n
3582
3604
  }
3583
3605
  );
3584
3606
  return _ ? /* @__PURE__ */ k("span", { className: P(ut.wrapper, c), children: [
3585
- E,
3607
+ q,
3586
3608
  /* @__PURE__ */ s(
3587
3609
  "span",
3588
3610
  {
@@ -3591,7 +3613,7 @@ const ol = (e, t) => t === void 0 ? void 0 : t - e.length, sl = (e, t, n) => !n
3591
3613
  children: D
3592
3614
  }
3593
3615
  )
3594
- ] }) : E;
3616
+ ] }) : q;
3595
3617
  }), hl = "_region_18dvk_4 _text_1hv7a_23", fl = "_live_18dvk_17", pl = "_itemWrap_18dvk_26", ml = "_itemWrapLeaving_18dvk_32", _l = "_itemInner_18dvk_36", gl = "_toast_18dvk_46", vl = "_icon_18dvk_79", yl = "_neutral_18dvk_90", bl = "_success_18dvk_95", wl = "_warning_18dvk_100", kl = "_danger_18dvk_105", xl = "_text_18dvk_110", Nl = "_title_18dvk_119", $l = "_descriptionText_18dvk_127", Dl = "_close_18dvk_134 _ring_1hv7a_65", Tl = "_toastIn_18dvk_1", Le = {
3596
3618
  region: hl,
3597
3619
  live: fl,
@@ -3630,7 +3652,7 @@ function Ml({ tone: e }) {
3630
3652
  ] })
3631
3653
  ] }) });
3632
3654
  }
3633
- function Eu({ children: e }) {
3655
+ function qu({ children: e }) {
3634
3656
  const t = Vr().duration ?? 5e3, [n, r] = I([]), o = R(1), i = R(/* @__PURE__ */ new Map()), a = R(null), c = X((y) => {
3635
3657
  r((g) => g.filter((N) => N.id !== y)), i.current.delete(y);
3636
3658
  }, []), l = X(
@@ -3643,7 +3665,7 @@ function Eu({ children: e }) {
3643
3665
  return;
3644
3666
  }
3645
3667
  r(
3646
- (q) => q.map((D) => D.id === y ? { ...D, leaving: !0 } : D)
3668
+ (E) => E.map((D) => D.id === y ? { ...D, leaving: !0 } : D)
3647
3669
  ), setTimeout(() => c(y), M);
3648
3670
  },
3649
3671
  [c]
@@ -3742,15 +3764,15 @@ function Eu({ children: e }) {
3742
3764
  )
3743
3765
  ] });
3744
3766
  }
3745
- const Cl = "_tree_13ukh_10 _text_1hv7a_23", Sl = "_row_13ukh_23", Al = "_active_13ukh_42", Ll = "_pathOnly_13ukh_54", Rl = "_chevron_13ukh_58", Pl = "_chevronOpen_13ukh_70", El = "_placeholder_13ukh_76", ql = "_emptyDot_13ukh_82", Fl = "_check_13ukh_100", Il = "_content_13ukh_106", Bl = "_noMatches_13ukh_120", Hl = "_scrolls_13ukh_131 _scroll_1hv7a_40", Ol = "_disabled_13ukh_139", Wl = "_loading_13ukh_143", Ae = {
3767
+ const Cl = "_tree_13ukh_10 _text_1hv7a_23", Sl = "_row_13ukh_23", Al = "_active_13ukh_42", Ll = "_pathOnly_13ukh_54", Rl = "_chevron_13ukh_58", Pl = "_chevronOpen_13ukh_70", ql = "_placeholder_13ukh_76", El = "_emptyDot_13ukh_82", Fl = "_check_13ukh_100", Il = "_content_13ukh_106", Bl = "_noMatches_13ukh_120", Hl = "_scrolls_13ukh_131 _scroll_1hv7a_40", Ol = "_disabled_13ukh_139", Wl = "_loading_13ukh_143", Ae = {
3746
3768
  tree: Cl,
3747
3769
  row: Sl,
3748
3770
  active: Al,
3749
3771
  pathOnly: Ll,
3750
3772
  chevron: Rl,
3751
3773
  chevronOpen: Pl,
3752
- placeholder: El,
3753
- emptyDot: ql,
3774
+ placeholder: ql,
3775
+ emptyDot: El,
3754
3776
  check: Fl,
3755
3777
  content: Il,
3756
3778
  noMatches: Bl,
@@ -3758,7 +3780,7 @@ const Cl = "_tree_13ukh_10 _text_1hv7a_23", Sl = "_row_13ukh_23", Al = "_active_
3758
3780
  disabled: Ol,
3759
3781
  loading: Wl
3760
3782
  }, zl = 600;
3761
- function qu({
3783
+ function Eu({
3762
3784
  tree: e,
3763
3785
  ariaLabel: t,
3764
3786
  checkable: n = !1,
@@ -3782,8 +3804,8 @@ function qu({
3782
3804
  return;
3783
3805
  }
3784
3806
  }
3785
- const E = e.revealCount !== w.current;
3786
- if (w.current = e.revealCount, !v.current && !E) return;
3807
+ const q = e.revealCount !== w.current;
3808
+ if (w.current = e.revealCount, !v.current && !q) return;
3787
3809
  const b = _.querySelector(
3788
3810
  `[data-key="${CSS.escape(String(e.active))}"]`
3789
3811
  );
@@ -3843,7 +3865,7 @@ function qu({
3843
3865
  }
3844
3866
  _.preventDefault();
3845
3867
  }
3846
- }, M = h === void 0 ? e.flattening : e.flattening.slice(h.from, h.to), q = e.active !== null && M.some((_) => _.key === e.active) ? e.active : (D = M[0]) == null ? void 0 : D.key;
3868
+ }, M = h === void 0 ? e.flattening : e.flattening.slice(h.from, h.to), E = e.active !== null && M.some((_) => _.key === e.active) ? e.active : (D = M[0]) == null ? void 0 : D.key;
3847
3869
  return /* @__PURE__ */ k(
3848
3870
  "div",
3849
3871
  {
@@ -3865,7 +3887,7 @@ function qu({
3865
3887
  children: [
3866
3888
  h !== void 0 && h.fillerBefore > 0 ? /* @__PURE__ */ s("div", { "aria-hidden": "true", style: { height: h.fillerBefore } }) : null,
3867
3889
  M.map((_) => {
3868
- const E = _.branch && !_.empty;
3890
+ const q = _.branch && !_.empty;
3869
3891
  return /* @__PURE__ */ k(
3870
3892
  "div",
3871
3893
  {
@@ -3875,10 +3897,10 @@ function qu({
3875
3897
  "aria-level": _.level + 1,
3876
3898
  "aria-posinset": _.position,
3877
3899
  "aria-setsize": _.siblings,
3878
- "aria-expanded": E ? _.expanded : void 0,
3900
+ "aria-expanded": q ? _.expanded : void 0,
3879
3901
  "aria-checked": n ? _.indeterminate ? "mixed" : _.checked : void 0,
3880
3902
  "aria-disabled": n && _.disabled ? !0 : void 0,
3881
- tabIndex: _.key === q ? 0 : -1,
3903
+ tabIndex: _.key === E ? 0 : -1,
3882
3904
  className: P(
3883
3905
  Ae.row,
3884
3906
  _.active && Ae.active,
@@ -3888,7 +3910,7 @@ function qu({
3888
3910
  style: { "--tree-level": _.level },
3889
3911
  onClick: () => e.activate(_.key),
3890
3912
  children: [
3891
- E ? /* @__PURE__ */ s(
3913
+ q ? /* @__PURE__ */ s(
3892
3914
  "span",
3893
3915
  {
3894
3916
  "aria-hidden": "true",
@@ -4050,7 +4072,7 @@ function Kl(e, t, n) {
4050
4072
  const u = d ? c : c.filter((p) => !r || o.survives.has(t.key(p)));
4051
4073
  u.forEach((p, h) => {
4052
4074
  var D, _;
4053
- const f = t.key(p), m = t.children(p), v = ((D = t.unloaded) == null ? void 0 : D.call(t, p)) === !0, w = m !== void 0 || v, y = w && !v && (m ?? []).length === 0, g = o.matches.has(f), N = r && !g && o.descendantMatches.has(f), M = r && o.descendantMatches.has(f), q = !y && w && (M || n.expanded.has(f));
4075
+ const f = t.key(p), m = t.children(p), v = ((D = t.unloaded) == null ? void 0 : D.call(t, p)) === !0, w = m !== void 0 || v, y = w && !v && (m ?? []).length === 0, g = o.matches.has(f), N = r && !g && o.descendantMatches.has(f), M = r && o.descendantMatches.has(f), E = !y && w && (M || n.expanded.has(f));
4054
4076
  i.push({
4055
4077
  node: p,
4056
4078
  key: f,
@@ -4060,7 +4082,7 @@ function Kl(e, t, n) {
4060
4082
  empty: y,
4061
4083
  disabled: ((_ = t.disabled) == null ? void 0 : _.call(t, p)) === !0,
4062
4084
  unloaded: v,
4063
- expanded: q,
4085
+ expanded: E,
4064
4086
  checked: n.checked.has(f),
4065
4087
  indeterminate: o.indeterminate.has(f),
4066
4088
  active: n.active === f,
@@ -4068,7 +4090,7 @@ function Kl(e, t, n) {
4068
4090
  pathOnly: N,
4069
4091
  position: h + 1,
4070
4092
  siblings: u.length
4071
- }), q && a(m ?? [], l + 1, d || g);
4093
+ }), E && a(m ?? [], l + 1, d || g);
4072
4094
  });
4073
4095
  }
4074
4096
  return a(e, 0, !1), i;
@@ -4282,12 +4304,12 @@ function Bu(e, t) {
4282
4304
  virtual: g
4283
4305
  } = t, [N, M] = I(
4284
4306
  () => new Set(r ?? [])
4285
- ), [q, D] = I(
4307
+ ), [E, D] = I(
4286
4308
  () => new Set(o ?? [])
4287
- ), [_, E] = I(i), [b, F] = I(null), [V, Y] = I(""), [L, j] = I(0), T = se(
4309
+ ), [_, q] = I(i), [b, F] = I(null), [V, Y] = I(""), [L, j] = I(0), T = se(
4288
4310
  () => ({
4289
4311
  expanded: a ?? N,
4290
- checked: c ?? q,
4312
+ checked: c ?? E,
4291
4313
  active: l !== void 0 ? l : _,
4292
4314
  anchor: d !== void 0 ? d : b,
4293
4315
  search: u ?? V
@@ -4296,7 +4318,7 @@ function Bu(e, t) {
4296
4318
  a,
4297
4319
  N,
4298
4320
  c,
4299
- q,
4321
+ E,
4300
4322
  l,
4301
4323
  _,
4302
4324
  d,
@@ -4312,7 +4334,7 @@ function Bu(e, t) {
4312
4334
  }, [e, n]);
4313
4335
  const G = X(
4314
4336
  (S) => {
4315
- S.expanded !== T.expanded && (a === void 0 && M(S.expanded), p == null || p(S.expanded)), S.checked !== T.checked && (c === void 0 && D(S.checked), h == null || h(S.checked)), S.anchor !== T.anchor && (d === void 0 && F(S.anchor), m == null || m(S.anchor)), S.active !== T.active && (l === void 0 && E(S.active), f == null || f(S.active));
4337
+ S.expanded !== T.expanded && (a === void 0 && M(S.expanded), p == null || p(S.expanded)), S.checked !== T.checked && (c === void 0 && D(S.checked), h == null || h(S.checked)), S.anchor !== T.anchor && (d === void 0 && F(S.anchor), m == null || m(S.anchor)), S.active !== T.active && (l === void 0 && q(S.active), f == null || f(S.active));
4316
4338
  },
4317
4339
  [
4318
4340
  T,
@@ -4368,7 +4390,7 @@ function Bu(e, t) {
4368
4390
  W !== void 0 && (w == null || w(W.node));
4369
4391
  },
4370
4392
  [T, G, Q, w]
4371
- ), Ee = X(
4393
+ ), qe = X(
4372
4394
  (S) => G(vn(U, T, S)),
4373
4395
  [U, T, G]
4374
4396
  ), oe = X(
@@ -4410,7 +4432,7 @@ function Bu(e, t) {
4410
4432
  toggleExpanded: me,
4411
4433
  toggleCheck: A,
4412
4434
  activate: xe,
4413
- move: Ee,
4435
+ move: qe,
4414
4436
  setSearch: $,
4415
4437
  revealNode: K,
4416
4438
  revealPath: oe,
@@ -4532,13 +4554,13 @@ function dd({ content: e, children: t, delay: n = 300 }) {
4532
4554
  if (!r || !d) return;
4533
4555
  const N = (D = h.current) == null ? void 0 : D.getBoundingClientRect(), M = f.current;
4534
4556
  if (!N || !M) return;
4535
- const q = An(
4557
+ const E = An(
4536
4558
  N,
4537
4559
  { width: M.offsetWidth, height: M.offsetHeight },
4538
4560
  Ln(),
4539
4561
  { align: "center", side: "top", offset: 8 }
4540
4562
  );
4541
- l(q.flipped), a({ top: q.top, left: q.left });
4563
+ l(E.flipped), a({ top: E.top, left: E.left });
4542
4564
  }, [r, d, e]), ne(() => {
4543
4565
  if (!r) return;
4544
4566
  const N = (M) => {
@@ -4713,8 +4735,8 @@ function ju({
4713
4735
  className: l,
4714
4736
  ...d
4715
4737
  }) {
4716
- var q;
4717
- const u = Ve(), p = ce(), h = pd(t, o), f = h.verdict, m = Sd(f, p), v = f !== "unknown", y = (((q = o == null ? void 0 : o.limits) == null ? void 0 : q.length) ?? 0) > 0 || !v, g = Ad(h.deviation, r, u, p), N = v ? u.number(t, r) : p.statAbsentValue, M = `${e}: ${v ? `${N}${n ? ` ${n}` : ""}` : m}${v && y && f !== "ok" ? `, ${m}` : ""}`;
4738
+ var E;
4739
+ const u = Ve(), p = ce(), h = pd(t, o), f = h.verdict, m = Sd(f, p), v = f !== "unknown", y = (((E = o == null ? void 0 : o.limits) == null ? void 0 : E.length) ?? 0) > 0 || !v, g = Ad(h.deviation, r, u, p), N = v ? u.number(t, r) : p.statAbsentValue, M = `${e}: ${v ? `${N}${n ? ` ${n}` : ""}` : m}${v && y && f !== "ok" ? `, ${m}` : ""}`;
4718
4740
  return /* @__PURE__ */ k(
4719
4741
  "div",
4720
4742
  {
@@ -4771,13 +4793,13 @@ function Nn(e, t) {
4771
4793
  const n = Math.abs(bt.indexOf(e) - bt.indexOf(t));
4772
4794
  return Math.min(n, bt.length - n);
4773
4795
  }
4774
- function Ed(e, t, n, r) {
4796
+ function qd(e, t, n, r) {
4775
4797
  return [...bt].sort(
4776
4798
  (o, i) => Nn(e, o) - Nn(e, i) || xn.indexOf(o) - xn.indexOf(i)
4777
4799
  ).find((o) => jt(o, t, n, r));
4778
4800
  }
4779
- const qd = "_root_guuz1_22 _text_1hv7a_23", Fd = "_strip_guuz1_31", Id = "_gripSlot_guuz1_111", Bd = "_grip_guuz1_111 _ring_1hv7a_65", Hd = "_tool_guuz1_157 _ring_1hv7a_65", Od = "_inMode_guuz1_187", Wd = "_refusal_guuz1_199", rt = {
4780
- root: qd,
4801
+ const Ed = "_root_guuz1_22 _text_1hv7a_23", Fd = "_strip_guuz1_31", Id = "_gripSlot_guuz1_111", Bd = "_grip_guuz1_111 _ring_1hv7a_65", Hd = "_tool_guuz1_157 _ring_1hv7a_65", Od = "_inMode_guuz1_187", Wd = "_refusal_guuz1_199", rt = {
4802
+ root: Ed,
4781
4803
  strip: Fd,
4782
4804
  gripSlot: Id,
4783
4805
  grip: Bd,
@@ -4785,7 +4807,7 @@ const qd = "_root_guuz1_22 _text_1hv7a_23", Fd = "_strip_guuz1_31", Id = "_gripS
4785
4807
  inMode: Od,
4786
4808
  refusal: Wd
4787
4809
  };
4788
- function Et(e) {
4810
+ function qt(e) {
4789
4811
  return Array.from(e.children);
4790
4812
  }
4791
4813
  function _t(e, t) {
@@ -4809,10 +4831,10 @@ const Gu = ae(function({
4809
4831
  Gt(p, () => f.current, []);
4810
4832
  const [v, w] = I(r), y = n !== void 0, g = n ?? v, N = R(g);
4811
4833
  N.current = g;
4812
- const [M, q] = I(null), [D, _] = I(""), E = R(null);
4834
+ const [M, E] = I(null), [D, _] = I(""), q = R(null);
4813
4835
  ne(
4814
4836
  () => () => {
4815
- E.current !== null && clearTimeout(E.current);
4837
+ q.current !== null && clearTimeout(q.current);
4816
4838
  },
4817
4839
  []
4818
4840
  );
@@ -4820,7 +4842,7 @@ const Gu = ae(function({
4820
4842
  var de;
4821
4843
  const $ = m.current;
4822
4844
  if ($ === null) return null;
4823
- const H = Et($), S = H[0];
4845
+ const H = qt($), S = H[0];
4824
4846
  if (S === void 0) return null;
4825
4847
  const W = $.getBoundingClientRect();
4826
4848
  if (W.width === 0 && W.height === 0) return null;
@@ -4851,10 +4873,10 @@ const Gu = ae(function({
4851
4873
  place: $,
4852
4874
  root: S.getBoundingClientRect(),
4853
4875
  strip: H.getBoundingClientRect(),
4854
- children: Et(H).map((W) => W.getBoundingClientRect())
4876
+ children: qt(H).map((W) => W.getBoundingClientRect())
4855
4877
  };
4856
4878
  }, []), j = X(() => {
4857
- E.current !== null && (clearTimeout(E.current), E.current = null), q(null);
4879
+ q.current !== null && (clearTimeout(q.current), q.current = null), E(null);
4858
4880
  }, []), T = X(
4859
4881
  ($) => {
4860
4882
  $ !== N.current && (V.current = L(N.current), j(), y || w($), N.current = $, o == null || o($), _(h.dockPlaced(h.dockPlace($))));
@@ -4863,14 +4885,14 @@ const Gu = ae(function({
4863
4885
  ), U = X(
4864
4886
  ($, H, S, W) => {
4865
4887
  const x = rr(S, H);
4866
- q({
4888
+ E({
4867
4889
  place: $,
4868
4890
  width: `${wt($) ? H.thickness : x}px`,
4869
4891
  height: `${wt($) ? x : H.thickness}px`
4870
- }), _(h.dockNoPlace(h.dockPlace($))), E.current !== null && clearTimeout(E.current);
4892
+ }), _(h.dockNoPlace(h.dockPlace($))), q.current !== null && clearTimeout(q.current);
4871
4893
  const O = m.current === null ? null : getComputedStyle(m.current), ee = O === null ? 0 : kt(O, "--u-dock-refusal-duration");
4872
- E.current = W && ee > 0 ? setTimeout(() => {
4873
- E.current = null, q(null);
4894
+ q.current = W && ee > 0 ? setTimeout(() => {
4895
+ q.current = null, E(null);
4874
4896
  }, ee) : null;
4875
4897
  },
4876
4898
  [h]
@@ -4898,17 +4920,17 @@ const Gu = ae(function({
4898
4920
  H.setPointerCapture(S), H.dataset.dragging = "";
4899
4921
  const W = F(), x = b(), O = _t(getComputedStyle(H), "--u-dock-grip-travel"), ee = N.current;
4900
4922
  let ie = $.clientX, le = $.clientY;
4901
- const ue = (he, qe) => {
4923
+ const ue = (he, Ee) => {
4902
4924
  const Je = (vt) => Math.max(-O, Math.min(O, vt));
4903
- H.style.transform = `translate(${Je(he - ie)}px, ${Je(qe - le)}px)`;
4925
+ H.style.transform = `translate(${Je(he - ie)}px, ${Je(Ee - le)}px)`;
4904
4926
  }, de = (he) => {
4905
4927
  if (he.pointerId !== S) return;
4906
- const qe = N.current;
4928
+ const Ee = N.current;
4907
4929
  if (W !== null) {
4908
4930
  const Je = Rd({ x: he.clientX, y: he.clientY }, W);
4909
4931
  Je === N.current ? j() : G(Je, W, x, !1);
4910
4932
  }
4911
- N.current !== qe && (ie = he.clientX, le = he.clientY), ue(he.clientX, he.clientY);
4933
+ N.current !== Ee && (ie = he.clientX, le = he.clientY), ue(he.clientX, he.clientY);
4912
4934
  }, fe = () => {
4913
4935
  Q.current = null, H.removeEventListener("pointermove", de), H.removeEventListener("pointerup", be), H.removeEventListener("pointercancel", be), window.removeEventListener("keydown", ke, !0), H.hasPointerCapture(S) && H.releasePointerCapture(S), delete H.dataset.dragging, H.style.transform = "", j();
4914
4936
  }, be = (he) => {
@@ -4923,7 +4945,7 @@ const Gu = ae(function({
4923
4945
  }, B = t.filter(($) => $.disabled !== !0), [z, te] = I(null), xe = ($) => {
4924
4946
  var H;
4925
4947
  return Array.from(((H = m.current) == null ? void 0 : H.querySelectorAll("[data-tool]")) ?? []).find((S) => S.dataset.tool === $);
4926
- }, Ee = z !== null && B.some(($) => $.id === z) ? z : ((Ne = B[0]) == null ? void 0 : Ne.id) ?? null, oe = ($) => {
4948
+ }, qe = z !== null && B.some(($) => $.id === z) ? z : ((Ne = B[0]) == null ? void 0 : Ne.id) ?? null, oe = ($) => {
4927
4949
  var le;
4928
4950
  const H = $.key === "ArrowRight" || $.key === "ArrowDown", S = $.key === "ArrowLeft" || $.key === "ArrowUp", W = $.key === "Home", x = $.key === "End";
4929
4951
  if (!H && !S && !W && !x || B.length === 0) return;
@@ -4967,14 +4989,14 @@ const Gu = ae(function({
4967
4989
  marginBottom: "0px"
4968
4990
  });
4969
4991
  Y.current.push(S.animate([ee($), ee(H)], O));
4970
- const ie = Et(S), le = $.strip.left - H.strip.left, ue = $.strip.top - H.strip.top;
4992
+ const ie = qt(S), le = $.strip.left - H.strip.left, ue = $.strip.top - H.strip.top;
4971
4993
  ie.forEach((de, fe) => {
4972
4994
  const be = $.children[fe], ke = H.children[fe];
4973
4995
  if (be === void 0 || ke === void 0) return;
4974
- const he = be.left - ke.left - le, qe = be.top - ke.top - ue;
4975
- Math.abs(he) < 0.5 && Math.abs(qe) < 0.5 || Y.current.push(
4996
+ const he = be.left - ke.left - le, Ee = be.top - ke.top - ue;
4997
+ Math.abs(he) < 0.5 && Math.abs(Ee) < 0.5 || Y.current.push(
4976
4998
  de.animate(
4977
- [{ transform: `translate(${he}px, ${qe}px)` }, { transform: "none" }],
4999
+ [{ transform: `translate(${he}px, ${Ee}px)` }, { transform: "none" }],
4978
5000
  O
4979
5001
  )
4980
5002
  );
@@ -4986,7 +5008,7 @@ const Gu = ae(function({
4986
5008
  const H = new ResizeObserver(() => {
4987
5009
  const S = F(), W = b();
4988
5010
  if (S === null || W === null || jt(N.current, t.length, S, W)) return;
4989
- const x = Ed(N.current, t.length, S, W);
5011
+ const x = qd(N.current, t.length, S, W);
4990
5012
  x !== void 0 && T(x);
4991
5013
  });
4992
5014
  return H.observe($), () => H.disconnect();
@@ -5022,7 +5044,7 @@ const Gu = ae(function({
5022
5044
  "aria-label": $.label,
5023
5045
  "aria-pressed": H ? !0 : void 0,
5024
5046
  disabled: $.disabled,
5025
- tabIndex: $.id === Ee ? 0 : -1,
5047
+ tabIndex: $.id === qe ? 0 : -1,
5026
5048
  onClick: () => K($),
5027
5049
  onKeyDown: oe,
5028
5050
  onFocus: () => te($.id),
@@ -5109,7 +5131,7 @@ export {
5109
5131
  ku as ConfirmDialog,
5110
5132
  Vu as ContextMenu,
5111
5133
  Tt as CrossGlyph,
5112
- qt as DEFAULT_FORMATS,
5134
+ Et as DEFAULT_FORMATS,
5113
5135
  Tn as DEFAULT_LANGUAGE,
5114
5136
  fu as DEFAULT_PRESETS,
5115
5137
  Dn as DEFAULT_SEPARATORS,
@@ -5160,10 +5182,10 @@ export {
5160
5182
  Tu as TagGroup,
5161
5183
  Hu as Text,
5162
5184
  Ru as Textarea,
5163
- Eu as ToastProvider,
5185
+ qu as ToastProvider,
5164
5186
  dd as Tooltip,
5165
5187
  Fu as TreeSearch,
5166
- qu as TreeView,
5188
+ Eu as TreeView,
5167
5189
  Zd as UmrissProvider,
5168
5190
  Fn as VisuallyHidden,
5169
5191
  tr as age,