@cronocode/react-box 3.0.21 → 3.1.2

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.
Files changed (56) hide show
  1. package/box.d.ts +6 -1
  2. package/box.mjs +4 -4
  3. package/components/baseSvg.cjs +1 -1
  4. package/components/baseSvg.d.ts +1 -1
  5. package/components/button.cjs +1 -1
  6. package/components/checkbox.cjs +1 -1
  7. package/components/dataGrid/components/dataGridBody.d.ts +7 -0
  8. package/components/dataGrid/components/dataGridBottomBar.d.ts +6 -0
  9. package/components/dataGrid/components/dataGridCellRowSelection.d.ts +6 -0
  10. package/components/dataGrid/components/dataGridCellText.d.ts +6 -0
  11. package/components/dataGrid/components/dataGridColumnGroups.d.ts +1 -1
  12. package/components/dataGrid/components/dataGridContent.d.ts +6 -0
  13. package/components/dataGrid/components/dataGridHeader.d.ts +6 -0
  14. package/components/dataGrid/components/dataGridHeaderCellContextMenu.d.ts +6 -0
  15. package/components/dataGrid/components/dataGridHeaderCellResizer.d.ts +6 -0
  16. package/components/dataGrid/components/dataGridPagination.d.ts +1 -1
  17. package/components/dataGrid/components/dataGridTopBar.d.ts +6 -0
  18. package/components/dataGrid/components/dataGridTopBarContextMenu.d.ts +6 -0
  19. package/components/dataGrid/contracts/dataGridContract.d.ts +22 -1
  20. package/components/dataGrid/models/cellModel.d.ts +1 -1
  21. package/components/dataGrid/models/columnModel.d.ts +5 -2
  22. package/components/dataGrid/models/gridModel.d.ts +16 -8
  23. package/components/dataGrid/models/groupRowModel.d.ts +2 -1
  24. package/components/dataGrid/models/rowModel.d.ts +7 -6
  25. package/components/dataGrid.cjs +1 -1
  26. package/components/dataGrid.d.ts +1 -1
  27. package/components/dataGrid.mjs +560 -604
  28. package/components/dropdown.cjs +1 -1
  29. package/components/dropdown.mjs +112 -136
  30. package/components/flex.cjs +1 -1
  31. package/components/form.cjs +1 -1
  32. package/components/form.mjs +1 -1
  33. package/components/grid.cjs +1 -1
  34. package/components/radioButton.cjs +1 -1
  35. package/components/radioButton.mjs +10 -10
  36. package/components/semantics.d.ts +25 -25
  37. package/components/semantics.mjs +1 -1
  38. package/components/textarea.cjs +1 -1
  39. package/components/textbox.cjs +1 -1
  40. package/components/tooltip.cjs +1 -1
  41. package/components/tooltip.d.ts +6 -3
  42. package/components/tooltip.mjs +34 -34
  43. package/core/boxStyles.d.ts +28 -4
  44. package/core/boxStylesFormatters.d.ts +1 -1
  45. package/core/coreTypes.d.ts +1 -1
  46. package/core/extends/boxComponents.d.ts +196 -19
  47. package/core/extends/useComponents.d.ts +1 -1
  48. package/core.cjs +3 -3
  49. package/core.mjs +477 -307
  50. package/icons/expandIcon.d.ts +2 -0
  51. package/icons/sortIcon.d.ts +2 -0
  52. package/package.json +24 -14
  53. package/ssg.cjs +1 -1
  54. package/ssg.mjs +17 -16
  55. package/utils/object/objectUtils.d.ts +2 -2
  56. package/icons/arrowIcon.d.ts +0 -2
package/core.mjs CHANGED
@@ -1,13 +1,13 @@
1
- import xe, { useMemo as te, useLayoutEffect as de, useEffect as fe, useState as me, useContext as Fe, useRef as Ne } from "react";
2
- import { jsx as p, jsxs as Ce } from "react/jsx-runtime";
3
- import Ve from "./box.mjs";
4
- import R from "./components/baseSvg.mjs";
5
- function ve(...e) {
6
- return e.reduce((t, r) => r ? typeof r == "string" ? (t.push(r), t) : Array.isArray(r) ? (t.push(...ve(...r)), t) : (Object.entries(r).forEach(([o, i]) => {
1
+ import { jsx as h, jsxs as pe } from "react/jsx-runtime";
2
+ import he, { useContext as we, useState as se, useLayoutEffect as ie, useMemo as J, useEffect as ne, useRef as xe } from "react";
3
+ import Fe from "./box.mjs";
4
+ import O from "./components/baseSvg.mjs";
5
+ function ue(...e) {
6
+ return e.reduce((t, r) => r ? typeof r == "string" ? (t.push(r), t) : Array.isArray(r) ? (t.push(...ue(...r)), t) : (Object.entries(r).forEach(([o, i]) => {
7
7
  i && t.push(o);
8
8
  }), t) : t, []);
9
9
  }
10
- const W = 4;
10
+ const U = 4;
11
11
  var a;
12
12
  ((e) => {
13
13
  ((t) => {
@@ -20,8 +20,8 @@ var a;
20
20
  }
21
21
  t.svg = o;
22
22
  })(e.ClassName || (e.ClassName = {})), ((t) => {
23
- function r(v, c, d = W) {
24
- return `${v / d}rem`;
23
+ function r(v, c, f = U) {
24
+ return `${v / f}rem`;
25
25
  }
26
26
  t.rem = r;
27
27
  function o(v) {
@@ -29,8 +29,8 @@ var a;
29
29
  }
30
30
  t.px = o;
31
31
  function i(v) {
32
- const [c, d] = v.split("/");
33
- return `${+c / +d * 100}%`;
32
+ const [c, f] = v.split("/");
33
+ return `${+c / +f * 100}%`;
34
34
  }
35
35
  t.fraction = i;
36
36
  function n(v, c) {
@@ -45,36 +45,36 @@ var a;
45
45
  }
46
46
  t.widthHeight = n;
47
47
  function u(v) {
48
- return (c, d) => `var(--${v}${d});`;
48
+ return (c, f) => `var(--${v}${f});`;
49
49
  }
50
50
  t.variables = u;
51
- function l(v) {
52
- return (c, d) => `var(--${v}${d});`;
51
+ function s(v) {
52
+ return (c, f) => `var(--${v}${f});`;
53
53
  }
54
- t.svgVariables = l;
55
- function f(v, c) {
54
+ t.svgVariables = s;
55
+ function d(v, c) {
56
56
  return `repeat(${c},minmax(0,1fr))`;
57
57
  }
58
- t.gridColumns = f;
58
+ t.gridColumns = d;
59
59
  function b(v, c) {
60
60
  return c === "full-row" ? "1/-1" : `span ${c}/span ${c}`;
61
61
  }
62
62
  t.gridColumn = b;
63
- function s(v, c) {
63
+ function l(v, c) {
64
64
  return `${c}ms`;
65
65
  }
66
- t.ms = s;
66
+ t.ms = l;
67
67
  function g(v, c) {
68
68
  return `${c}deg`;
69
69
  }
70
70
  t.rotate = g;
71
- function h(v, c) {
71
+ function p(v, c) {
72
72
  return c === "xAxis" ? "-1 1" : "1 -1";
73
73
  }
74
- t.flip = h;
74
+ t.flip = p;
75
75
  })(e.Value || (e.Value = {}));
76
76
  })(a || (a = {}));
77
- var K;
77
+ var G;
78
78
  ((e) => {
79
79
  e.colors = {
80
80
  currentColor: "currentColor",
@@ -367,20 +367,20 @@ var K;
367
367
  "large-shadow": "rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px"
368
368
  }, r = {};
369
369
  let o = {};
370
- function i(l) {
371
- return l in o ? r[l] = o[l] : l in t ? r[l] = t[l] : l in e.colors ? r[l] = e.colors[l] : r[l] = l, `var(--${l})`;
370
+ function i(s) {
371
+ return s in o ? r[s] = o[s] : s in t ? r[s] = t[s] : s in e.colors ? r[s] = e.colors[s] : r[s] = s, `var(--${s})`;
372
372
  }
373
373
  e.getVariableValue = i;
374
374
  function n() {
375
- return Object.entries(r).map(([l, f]) => `--${l}: ${f};`).join("");
375
+ return Object.entries(r).map(([s, d]) => `--${s}: ${d};`).join("");
376
376
  }
377
377
  e.generateVariables = n;
378
- function u(l) {
379
- o = l;
378
+ function u(s) {
379
+ o = s;
380
380
  }
381
381
  e.setUserVariables = u;
382
- })(K || (K = {}));
383
- const y = K, S = {
382
+ })(G || (G = {}));
383
+ const y = G, S = {
384
384
  /** The appearance CSS property is used to display UI elements with platform-specific styling, based on the operating system's theme. */
385
385
  appearance: [
386
386
  {
@@ -954,7 +954,7 @@ const y = K, S = {
954
954
  {
955
955
  styleName: "line-height",
956
956
  values: ["font-size"],
957
- valueFormat: (e) => "1"
957
+ valueFormat: () => "1"
958
958
  }
959
959
  ],
960
960
  /** The list-style CSS shorthand property allows you to set all the list style properties at once. */
@@ -1293,6 +1293,13 @@ const y = K, S = {
1293
1293
  valueFormat: (e) => `${e}ms`
1294
1294
  }
1295
1295
  ],
1296
+ /** The transition-timing-function CSS property sets how intermediate values are calculated for CSS properties being affected by a transition effect. */
1297
+ transitionTimingFunction: [
1298
+ {
1299
+ styleName: "transition-timing-function",
1300
+ values: ["linear", "ease", "ease-in", "ease-in-out", "ease-out"]
1301
+ }
1302
+ ],
1296
1303
  /** The user-select CSS property controls whether the user can select text. This doesn't have any effect on content loaded as part of a browser's user interface (its chrome), except in textboxes. */
1297
1304
  userSelect: [
1298
1305
  {
@@ -1399,12 +1406,14 @@ const y = K, S = {
1399
1406
  values: 0
1400
1407
  }
1401
1408
  ],
1409
+ /** The color CSS property sets the foreground color value of an element's text and text decorations, and sets the currentcolor value. */
1402
1410
  color: [
1403
1411
  {
1404
1412
  values: Object.keys(y.colors),
1405
1413
  valueFormat: (e, t) => t(e)
1406
1414
  }
1407
1415
  ],
1416
+ /** The background-color CSS property sets the background color of an element. */
1408
1417
  bgColor: [
1409
1418
  {
1410
1419
  values: Object.keys(y.colors),
@@ -1412,6 +1421,7 @@ const y = K, S = {
1412
1421
  styleName: "background-color"
1413
1422
  }
1414
1423
  ],
1424
+ /** The border-color shorthand CSS property sets the color of an element's border. */
1415
1425
  borderColor: [
1416
1426
  {
1417
1427
  values: Object.keys(y.colors),
@@ -1419,6 +1429,7 @@ const y = K, S = {
1419
1429
  styleName: "border-color"
1420
1430
  }
1421
1431
  ],
1432
+ /** The outline-color CSS property sets the color of an element's outline. */
1422
1433
  outlineColor: [
1423
1434
  {
1424
1435
  values: Object.keys(y.colors),
@@ -1426,18 +1437,21 @@ const y = K, S = {
1426
1437
  styleName: "outline-color"
1427
1438
  }
1428
1439
  ],
1440
+ /** The fill CSS property defines how SVG text content and the interior canvas of SVG shapes are filled or painted. If present, it overrides the element's fill attribute. */
1429
1441
  fill: [
1430
1442
  {
1431
1443
  values: Object.keys(y.colors),
1432
1444
  valueFormat: (e, t) => t(e)
1433
1445
  }
1434
1446
  ],
1447
+ /** The stroke CSS property defines the color or SVG paint server used to draw an element's stroke. */
1435
1448
  stroke: [
1436
1449
  {
1437
1450
  values: Object.keys(y.colors),
1438
1451
  valueFormat: (e, t) => t(e)
1439
1452
  }
1440
1453
  ],
1454
+ /** The background-image CSS property sets one or more background images on an element. */
1441
1455
  bgImage: [
1442
1456
  {
1443
1457
  values: ["none", "bg-img-checked", "bg-img-indeterminate", "bg-img-radio"],
@@ -1445,28 +1459,38 @@ const y = K, S = {
1445
1459
  styleName: "background-image"
1446
1460
  }
1447
1461
  ],
1462
+ /** The box-shadow CSS property adds shadow effects around an element's frame */
1448
1463
  shadow: [
1449
1464
  {
1450
- values: ["small-shadow", "medium-shadow", "large-shadow"],
1451
- valueFormat: (e, t) => t(e),
1465
+ values: ["small", "medium", "large"],
1466
+ valueFormat: (e, t) => t(`${e}-shadow`),
1452
1467
  styleName: "box-shadow"
1453
1468
  }
1454
1469
  ],
1470
+ /** The translateY() CSS function repositions an element vertically on the 2D plane. */
1455
1471
  translateX: [
1456
1472
  {
1457
1473
  values: 0,
1458
- valueFormat: (e) => `translateX(${e / W}rem)`,
1474
+ valueFormat: (e) => `translateX(${e / U}rem)`,
1459
1475
  styleName: "transform"
1460
1476
  }
1461
1477
  ],
1478
+ /** The translateY() CSS function repositions an element vertically on the 2D plane. */
1462
1479
  translateY: [
1463
1480
  {
1464
1481
  values: 0,
1465
- valueFormat: (e) => `translateY(${e / W}rem)`,
1482
+ valueFormat: (e) => `translateY(${e / U}rem)`,
1466
1483
  styleName: "transform"
1467
1484
  }
1485
+ ],
1486
+ /** The content CSS property replaces content with a generated value. It can be used to define what is rendered inside an element or pseudo-element. */
1487
+ content: [
1488
+ {
1489
+ values: ["empty"],
1490
+ valueFormat: () => "''"
1491
+ }
1468
1492
  ]
1469
- }, ye = {
1493
+ }, ce = {
1470
1494
  hover: ":hover",
1471
1495
  focus: ":focus-within",
1472
1496
  hasFocus: ":has(:focus)",
@@ -1478,33 +1502,35 @@ const y = K, S = {
1478
1502
  optional: ":optional",
1479
1503
  hasChecked: ":has(:checked)",
1480
1504
  hasRequired: ":has(:required)",
1481
- hasDisabled: ":has([disabled])"
1482
- }, M = {
1505
+ hasDisabled: ":has([disabled])",
1506
+ before: "::before",
1507
+ after: "::after"
1508
+ }, k = {
1483
1509
  indeterminate: ":indeterminate",
1484
1510
  checked: ":checked",
1485
1511
  required: ":required",
1486
1512
  disabled: "[disabled]",
1487
1513
  selected: '[aria-selected="true"]'
1488
- }, ze = {
1514
+ }, Ne = {
1489
1515
  theme: ""
1490
- }, re = { ...ye, ...M, ...ze }, ge = Object.entries(re).reduce(
1516
+ }, Q = { ...ce, ...k, ...Ne }, de = Object.entries(Q).reduce(
1491
1517
  (e, [t], r) => (e[t] = Math.pow(2, r), e),
1492
1518
  {}
1493
- ), G = Object.entries(re).reduce(
1519
+ ), D = Object.entries(Q).reduce(
1494
1520
  (e, [t]) => {
1495
- const r = ge[t];
1521
+ const r = de[t];
1496
1522
  return Object.entries(e).forEach(([o, i]) => {
1497
1523
  e[+o + r] = [...i, t];
1498
1524
  }), e;
1499
1525
  },
1500
1526
  { 0: [] }
1501
- ), ie = {
1527
+ ), re = {
1502
1528
  hoverGroup: "hover",
1503
1529
  focusGroup: "focus",
1504
1530
  activeGroup: "active",
1505
1531
  disabledGroup: "disabled",
1506
1532
  theme: "theme"
1507
- }, H = {
1533
+ }, _ = {
1508
1534
  /** Styles applied for small screens and larger. >= 640 */
1509
1535
  sm: 640,
1510
1536
  /** Styles applied for medium screens and larger. >= 768 */
@@ -1516,15 +1542,15 @@ const y = K, S = {
1516
1542
  /** Styles applied for 2x extra-large screens and larger. >= 1536 */
1517
1543
  xxl: 1536
1518
1544
  };
1519
- var q;
1545
+ var W;
1520
1546
  ((e) => {
1521
- function t(n, u, l) {
1522
- const f = { ...n }, b = f.props || {};
1523
- return u.forEach((s) => {
1524
- s in f && (b[s] = f[s], delete f[s]);
1525
- }), l && Object.entries(l).forEach(([s, g]) => {
1526
- b[s] = g;
1527
- }), f.props = b, f;
1547
+ function t(n, u, s) {
1548
+ const d = { ...n }, b = d.props || {};
1549
+ return u.forEach((l) => {
1550
+ l in d && (b[l] = d[l], delete d[l]);
1551
+ }), s && Object.entries(s).forEach(([l, g]) => {
1552
+ b[l] = g;
1553
+ }), d.props = b, d;
1528
1554
  }
1529
1555
  e.buildProps = t;
1530
1556
  function r(n) {
@@ -1532,9 +1558,9 @@ var q;
1532
1558
  }
1533
1559
  e.isObject = r;
1534
1560
  function o(...n) {
1535
- return n.reduce((u, l) => (Object.keys(l ?? {}).forEach((f) => {
1536
- const b = u[f], s = l[f];
1537
- r(s) && "clean" in s && s.clean ? u[f] = s : f in M && typeof s == "boolean" || (f in M && Array.isArray(s) ? u[f] = o(b, s[1] ?? {}) : Array.isArray(b) && Array.isArray(s) ? u[f] = b.concat(...s) : r(b) && r(s) ? u[f] = o(b, s) : u[f] = s);
1561
+ return n.reduce((u, s) => (Object.keys(s ?? {}).forEach((d) => {
1562
+ const b = u[d], l = s[d];
1563
+ r(l) && "clean" in l && l.clean ? u[d] = l : d in k && typeof l == "boolean" || (d in k && Array.isArray(l) ? u[d] = o(b, l[1] ?? {}) : Array.isArray(b) && Array.isArray(l) ? u[d] = b.concat(...l) : r(b) && r(l) ? u[d] = o(b, l) : u[d] = l);
1538
1564
  }), u), {});
1539
1565
  }
1540
1566
  e.mergeDeep = o;
@@ -1542,27 +1568,8 @@ var q;
1542
1568
  return n in u;
1543
1569
  }
1544
1570
  e.isKeyOf = i;
1545
- })(q || (q = {}));
1546
- const C = q;
1547
- class $e {
1548
- constructor() {
1549
- this._index = 0, this._cache = {};
1550
- }
1551
- getIdentity(t) {
1552
- return this._cache[t] || (this._cache[t] = this.getByIndex(this._index++)), this._cache[t];
1553
- }
1554
- getByIndex(t) {
1555
- const { first: r, next: o } = Ae, i = t - r.length;
1556
- if (i < 0)
1557
- return r[t];
1558
- const n = Math.floor(i / o.length), u = i - n * o.length;
1559
- return this.getByIndex(n) + o[u];
1560
- }
1561
- }
1562
- const Ae = {
1563
- first: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
1564
- next: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
1565
- }, ne = {
1571
+ })(W || (W = {}));
1572
+ const C = W, ae = {
1566
1573
  h1: {
1567
1574
  styles: { fontSize: 14 * 2.5 }
1568
1575
  },
@@ -1606,6 +1613,24 @@ const Ae = {
1606
1613
  color: "gray-400",
1607
1614
  borderColor: "gray-300"
1608
1615
  }
1616
+ },
1617
+ variants: {
1618
+ hover: {
1619
+ position: "relative",
1620
+ overflow: "hidden",
1621
+ b: 0,
1622
+ before: {
1623
+ position: "absolute",
1624
+ top: 0,
1625
+ left: 0,
1626
+ width: 0,
1627
+ height: "fit",
1628
+ bgColor: "violet-700",
1629
+ content: "empty",
1630
+ transitionDuration: 300
1631
+ },
1632
+ hover: { before: { width: "fit" } }
1633
+ }
1609
1634
  }
1610
1635
  },
1611
1636
  textbox: {
@@ -1695,6 +1720,9 @@ const Ae = {
1695
1720
  color: "gray-400",
1696
1721
  borderColor: "gray-300"
1697
1722
  }
1723
+ },
1724
+ variants: {
1725
+ datagrid: {}
1698
1726
  }
1699
1727
  },
1700
1728
  radioButton: {
@@ -1782,7 +1810,7 @@ const Ae = {
1782
1810
  maxHeight: 62,
1783
1811
  borderColor: "violet-300",
1784
1812
  color: "violet-950",
1785
- shadow: "medium-shadow"
1813
+ shadow: "medium"
1786
1814
  }
1787
1815
  },
1788
1816
  item: {
@@ -1873,41 +1901,97 @@ const Ae = {
1873
1901
  datagrid: {
1874
1902
  styles: {
1875
1903
  b: 1,
1904
+ bgColor: "white",
1876
1905
  borderColor: "gray-400",
1877
1906
  overflow: "hidden",
1878
1907
  borderRadius: 1
1879
1908
  },
1880
1909
  children: {
1881
- columnGroups: {
1910
+ topBar: {
1882
1911
  styles: {
1883
- p: 3,
1912
+ p: 2,
1884
1913
  bb: 1,
1885
1914
  borderColor: "gray-400",
1886
1915
  color: "gray-400",
1887
1916
  gap: 2,
1888
- ai: "center",
1889
- height: 12
1917
+ ai: "center"
1890
1918
  },
1891
1919
  children: {
1892
- item: {
1920
+ contextMenu: {
1921
+ clean: !0,
1922
+ styles: {
1923
+ cursor: "pointer",
1924
+ p: 1,
1925
+ hover: { bgColor: "gray-200", borderRadius: 1 }
1926
+ },
1927
+ children: {
1928
+ tooltip: {
1929
+ styles: {
1930
+ bgColor: "white",
1931
+ width: 56,
1932
+ b: 1,
1933
+ borderColor: "gray-300",
1934
+ borderRadius: 1,
1935
+ display: "flex",
1936
+ d: "column",
1937
+ mt: 4,
1938
+ py: 2,
1939
+ translateX: -1,
1940
+ shadow: "medium",
1941
+ overflow: "auto",
1942
+ maxHeight: 100
1943
+ },
1944
+ children: {
1945
+ item: {
1946
+ clean: !0,
1947
+ styles: {
1948
+ display: "flex",
1949
+ gap: 2,
1950
+ p: 3,
1951
+ cursor: "pointer",
1952
+ hover: { bgColor: "gray-200" }
1953
+ }
1954
+ }
1955
+ }
1956
+ }
1957
+ }
1958
+ },
1959
+ columnGroups: {
1893
1960
  styles: {
1894
1961
  gap: 2,
1895
- ai: "center",
1896
- b: 1,
1897
- borderColor: "gray-400",
1898
- bgColor: "gray-100",
1899
- borderRadius: 1,
1900
- py: 1,
1901
- pl: 2,
1902
- pr: 1,
1903
- color: "violet-950"
1962
+ ai: "center"
1904
1963
  },
1905
1964
  children: {
1906
1965
  icon: {
1907
1966
  styles: {
1908
- width: 3,
1909
- color: "gray-400",
1910
- cursor: "pointer"
1967
+ color: "violet-950",
1968
+ width: 4
1969
+ }
1970
+ },
1971
+ separator: {
1972
+ styles: {}
1973
+ },
1974
+ item: {
1975
+ styles: {
1976
+ gap: 2,
1977
+ ai: "center",
1978
+ b: 1,
1979
+ borderColor: "gray-400",
1980
+ bgColor: "gray-100",
1981
+ borderRadius: 1,
1982
+ py: 1,
1983
+ pl: 2,
1984
+ pr: 1,
1985
+ color: "violet-950"
1986
+ },
1987
+ children: {
1988
+ icon: {
1989
+ styles: {
1990
+ width: 3,
1991
+ color: "gray-400",
1992
+ cursor: "pointer"
1993
+ }
1994
+ }
1911
1995
  }
1912
1996
  }
1913
1997
  }
@@ -1920,7 +2004,8 @@ const Ae = {
1920
2004
  top: 0,
1921
2005
  width: "max-content",
1922
2006
  minWidth: "fit",
1923
- zIndex: 1
2007
+ zIndex: 1,
2008
+ bgColor: "gray-200"
1924
2009
  },
1925
2010
  variants: {
1926
2011
  isResizeMode: { userSelect: "none" }
@@ -1928,7 +2013,6 @@ const Ae = {
1928
2013
  children: {
1929
2014
  cell: {
1930
2015
  styles: {
1931
- bgColor: "gray-200",
1932
2016
  borderColor: "gray-400",
1933
2017
  bb: 1,
1934
2018
  minHeight: 12,
@@ -1938,108 +2022,213 @@ const Ae = {
1938
2022
  variants: {
1939
2023
  isRowNumber: {},
1940
2024
  isRowSelection: {},
1941
- isPinned: { position: "sticky", zIndex: 2 },
2025
+ isPinned: { position: "sticky", zIndex: 2, bgColor: "gray-200" },
1942
2026
  isFirstLeftPinned: {},
1943
2027
  isLastLeftPinned: { br: 1 },
1944
2028
  isFirstRightPinned: { bl: 1 },
1945
2029
  isLastRightPinned: {},
1946
2030
  isSortable: { cursor: "pointer" }
2031
+ },
2032
+ children: {
2033
+ contextMenu: {
2034
+ clean: !0,
2035
+ styles: {
2036
+ width: 6,
2037
+ height: 6,
2038
+ cursor: "pointer",
2039
+ userSelect: "none",
2040
+ borderRadius: 1,
2041
+ borderColor: "gray-200",
2042
+ display: "flex",
2043
+ jc: "center",
2044
+ ai: "center",
2045
+ transition: "none",
2046
+ bgColor: "gray-200",
2047
+ hover: { bgColor: "gray-300" }
2048
+ },
2049
+ children: {
2050
+ icon: {
2051
+ styles: {}
2052
+ },
2053
+ tooltip: {
2054
+ styles: {
2055
+ bgColor: "white",
2056
+ width: 56,
2057
+ b: 1,
2058
+ borderColor: "gray-300",
2059
+ borderRadius: 1,
2060
+ display: "flex",
2061
+ d: "column",
2062
+ mt: 4,
2063
+ py: 2,
2064
+ overflow: "hidden",
2065
+ translateX: -5,
2066
+ shadow: "medium"
2067
+ },
2068
+ variants: {
2069
+ openLeft: { translateX: -55 }
2070
+ },
2071
+ children: {
2072
+ item: {
2073
+ clean: !0,
2074
+ styles: {
2075
+ display: "flex",
2076
+ gap: 2,
2077
+ p: 3,
2078
+ cursor: "pointer",
2079
+ hover: { bgColor: "gray-200" }
2080
+ },
2081
+ children: {
2082
+ icon: {
2083
+ styles: {
2084
+ width: 4,
2085
+ color: "violet-950"
2086
+ }
2087
+ }
2088
+ }
2089
+ }
2090
+ }
2091
+ }
2092
+ }
2093
+ },
2094
+ resizer: {
2095
+ styles: {
2096
+ width: 0.5,
2097
+ height: "fit",
2098
+ bgColor: "gray-400",
2099
+ hoverGroup: { resizer: { bgColor: "gray-600" } }
2100
+ }
2101
+ }
1947
2102
  }
1948
2103
  }
1949
2104
  }
1950
2105
  },
1951
2106
  cell: {
1952
2107
  styles: {
1953
- bgColor: "gray-100",
1954
2108
  bb: 1,
1955
2109
  borderColor: "gray-400",
1956
2110
  transition: "none",
1957
2111
  ai: "center",
1958
- overflow: "hidden",
1959
- minHeight: 12,
1960
2112
  hoverGroup: { "grid-row": { bgColor: "gray-200" } }
1961
2113
  },
1962
2114
  variants: {
1963
- isRowNumber: {
1964
- bgColor: "gray-200"
1965
- },
2115
+ isRowNumber: { bgColor: "gray-200", jc: "right" },
1966
2116
  isRowSelection: {},
1967
- isPinned: { position: "sticky" },
2117
+ isPinned: { position: "sticky", bgColor: "gray-100", zIndex: 1 },
1968
2118
  isFirstLeftPinned: {},
1969
2119
  isLastLeftPinned: { br: 1 },
1970
2120
  isFirstRightPinned: { bl: 1 },
1971
2121
  isLastRightPinned: {}
1972
2122
  }
2123
+ },
2124
+ bottomBar: {
2125
+ styles: {
2126
+ p: 3,
2127
+ bgColor: "gray-200",
2128
+ bt: 1,
2129
+ borderColor: "gray-400",
2130
+ gap: 4
2131
+ }
1973
2132
  }
1974
2133
  }
1975
2134
  }
1976
2135
  };
1977
- var X;
2136
+ var K;
1978
2137
  ((e) => {
1979
2138
  function t(o, i, n) {
1980
- return y.setUserVariables(o), Object.entries(i).forEach(([u, l]) => {
1981
- S[u] = l;
1982
- }), Object.entries(n).forEach(([u, l]) => {
1983
- const f = S[u];
1984
- S[u] = f ? [...l, ...f] : l;
2139
+ return y.setUserVariables(o), Object.entries(i).forEach(([u, s]) => {
2140
+ S[u] = s;
2141
+ }), Object.entries(n).forEach(([u, s]) => {
2142
+ const d = S[u];
2143
+ S[u] = d ? [...s, ...d] : s;
1985
2144
  }), { extendedProps: i, extendedPropTypes: n };
1986
2145
  }
1987
- e.extend = t, e.componentsStyles = ne;
2146
+ e.extend = t, e.componentsStyles = ae;
1988
2147
  function r(o) {
1989
- return e.componentsStyles = C.mergeDeep(ne, o), o;
2148
+ return e.componentsStyles = C.mergeDeep(ae, o), o;
1990
2149
  }
1991
2150
  e.components = r;
2151
+ })(K || (K = {}));
2152
+ const Ce = K, q = he.createContext({ theme: "", setTheme: () => {
2153
+ } });
2154
+ function X(e) {
2155
+ const { children: t, theme: r, use: o = "local" } = e, [i, n] = se(r);
2156
+ return ie(() => {
2157
+ if (o === "local") return;
2158
+ const u = document.documentElement;
2159
+ return u.classList.add(i), () => {
2160
+ u.classList.remove(i);
2161
+ };
2162
+ }, [i]), o === "local" ? /* @__PURE__ */ h(q.Provider, { value: { theme: i, setTheme: n }, children: /* @__PURE__ */ h(Fe, { className: i, children: t }) }) : /* @__PURE__ */ h(q.Provider, { value: { theme: i, setTheme: n }, children: t });
2163
+ }
2164
+ ((e) => {
2165
+ function t() {
2166
+ const { theme: r, setTheme: o } = we(q);
2167
+ return [r, o];
2168
+ }
2169
+ e.useTheme = t;
1992
2170
  })(X || (X = {}));
1993
- const Se = X;
1994
- function Ee(e) {
2171
+ const Le = X;
2172
+ class Ve {
2173
+ constructor() {
2174
+ this._index = 0, this._cache = {};
2175
+ }
2176
+ getIdentity(t) {
2177
+ return this._cache[t] || (this._cache[t] = this.getByIndex(this._index++)), this._cache[t];
2178
+ }
2179
+ getByIndex(t) {
2180
+ const { first: r, next: o } = ze, i = t - r.length;
2181
+ if (i < 0)
2182
+ return r[t];
2183
+ const n = Math.floor(i / o.length), u = i - n * o.length;
2184
+ return this.getByIndex(n) + o[u];
2185
+ }
2186
+ }
2187
+ const ze = {
2188
+ first: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
2189
+ next: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
2190
+ };
2191
+ function $e(e) {
1995
2192
  const { clean: t, component: r, variant: o } = e;
1996
- return te(() => {
2193
+ return J(() => {
1997
2194
  if (t) return;
1998
- const i = r == null ? void 0 : r.split(".");
2195
+ const i = r?.split(".");
1999
2196
  if (!i) return;
2000
- const n = i.reduce((f, b, s) => {
2001
- var g;
2002
- return s === 0 ? Se.componentsStyles[b] : (g = f == null ? void 0 : f.children) == null ? void 0 : g[b];
2003
- }, void 0);
2197
+ const n = i.reduce((d, b, l) => l === 0 ? Ce.componentsStyles[b] : d?.children?.[b], void 0);
2004
2198
  if (!n) return;
2005
2199
  if (!o) return n.styles;
2006
- const u = ve(o);
2200
+ const u = ue(o);
2007
2201
  if (u.length === 0) return n.styles;
2008
- const l = C.mergeDeep(...u.map((f) => {
2009
- var b;
2010
- return (b = n.variants) == null ? void 0 : b[f];
2011
- }));
2012
- return C.mergeDeep(n.styles, l);
2202
+ const s = C.mergeDeep(...u.map((d) => n.variants?.[d]));
2203
+ return n.styles ? C.mergeDeep(n.styles, s) : s;
2013
2204
  }, [t, r, o]);
2014
2205
  }
2015
- const Oe = new $e(), je = typeof window < "u" && typeof window.document < "u";
2016
- var ce;
2017
- const be = typeof process == "object" && ((ce = process.env) == null ? void 0 : ce.NODE_ENV) === "test", Re = je && !be ? de : fe, he = "_b", O = "_s";
2018
- function ke(e, t) {
2206
+ const Ae = new Ve(), Se = typeof window < "u" && typeof window.document < "u", fe = typeof process == "object" && process.env?.NODE_ENV === "test", Re = Se && !fe ? ie : ne, me = "_b", E = "_s";
2207
+ function Ie(e, t) {
2019
2208
  Re(j.flush, [e]);
2020
- const r = Ee(e);
2021
- return te(() => {
2022
- const o = [t ? O : he], i = r ? C.mergeDeep(r, e) : e;
2209
+ const r = $e(e);
2210
+ return J(() => {
2211
+ const o = [t ? E : me], i = r ? C.mergeDeep(r, e) : e;
2023
2212
  return j.addClassNames(i, o, []), o;
2024
2213
  }, [e, t, r]);
2025
2214
  }
2026
2215
  var j;
2027
2216
  ((e) => {
2028
2217
  let t = !0, r = {};
2029
- function o(s, g, h, v, c) {
2030
- Object.entries(s).forEach(([d, m]) => {
2031
- if (C.isKeyOf(d, S))
2032
- u(d, m, g, h, v, c);
2033
- else if (C.isKeyOf(d, ye))
2034
- o(m, g, [...h, d], v, c);
2035
- else if (C.isKeyOf(d, M)) {
2218
+ function o(l, g, p, v, c) {
2219
+ Object.entries(l).forEach(([f, m]) => {
2220
+ if (C.isKeyOf(f, S))
2221
+ u(f, m, g, p, v, c);
2222
+ else if (C.isKeyOf(f, ce))
2223
+ o(m, g, [...p, f], v, c);
2224
+ else if (C.isKeyOf(f, k)) {
2036
2225
  if (Array.isArray(m)) {
2037
- const [F, N] = m;
2038
- o(N, g, [...h, d], v, c);
2226
+ const [w, x] = m;
2227
+ o(x, g, [...p, f], v, c);
2039
2228
  }
2040
- C.isObject(m) && o(m, g, [...h, d], v, c);
2041
- } else C.isKeyOf(d, H) ? o(m, g, h, d, c) : C.isKeyOf(d, ie) && Object.entries(m).forEach(([F, N]) => {
2042
- o(N, g, [...h, ie[d]], v, F);
2229
+ C.isObject(m) && o(m, g, [...p, f], v, c);
2230
+ } else C.isKeyOf(f, _) ? o(m, g, p, f, c) : C.isKeyOf(f, re) && Object.entries(m).forEach(([w, x]) => {
2231
+ o(x, g, [...p, re[f]], v, w);
2043
2232
  });
2044
2233
  });
2045
2234
  }
@@ -2047,40 +2236,38 @@ var j;
2047
2236
  function i() {
2048
2237
  if (!t) return;
2049
2238
  console.debug("\x1B[36m%s\x1B[0m", "[react-box]: flush");
2050
- const s = Object.entries(S).reduce((d, [m], F) => (d[m] = F, d), {}), g = `:root{--borderColor: black;--outlineColor: black;--lineHeight: 1.2;--fontSize: 14px;--transitionTime: 0.25s;--svgTransitionTime: 0.3s;}#crono-box {position: absolute;top: 0;left: 0;height: 0;z-index:99999;}
2239
+ const l = Object.entries(S).reduce((f, [m], w) => (f[m] = w, f), {}), g = `:root{--borderColor: black;--outlineColor: black;--lineHeight: 1.2;--fontSize: 14px;--transitionTime: 0.25s;--svgTransitionTime: 0.3s;}#crono-box {position: absolute;top: 0;left: 0;height: 0;z-index:99999;}
2051
2240
  html{font-size: 16px;font-family: Arial, sans-serif;}
2052
2241
  body{margin: 0;line-height: var(--lineHeight);font-size: var(--fontSize);}
2053
2242
  a,ul{all: unset;}
2054
- .${he}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;background-color: initial;transition: all var(--transitionTime);box-sizing: border-box;font-family: inherit;font-size: inherit;}
2055
- .${O}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;transition: all var(--svgTransitionTime);}.${O} path,.${O} circle,.${O} rect,.${O} line {transition: all var(--svgTransitionTime);}
2056
- `, h = Object.entries(r);
2057
- h.sort(
2058
- ([d], [m]) => (H[d] ?? 0) - (H[m] ?? 0)
2243
+ .${me}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;background-color: initial;transition: all var(--transitionTime);box-sizing: border-box;font-family: inherit;font-size: inherit;}
2244
+ .${E}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;transition: all var(--svgTransitionTime);}.${E} path,.${E} circle,.${E} rect,.${E} line {transition: all var(--svgTransitionTime);}
2245
+ `, p = Object.entries(r);
2246
+ p.sort(
2247
+ ([f], [m]) => (_[f] ?? 0) - (_[m] ?? 0)
2059
2248
  );
2060
- const v = h.reduce(
2061
- (d, [m, F]) => (m !== "normal" && d.push(`@media(min-width: ${H[m]}px){`), Object.entries(F).forEach(([N, U]) => {
2062
- const { __parents: ae, ...pe } = U, oe = Object.entries(pe);
2063
- oe.sort(([V], [B]) => s[V] - s[B]), oe.forEach(([V, B]) => {
2064
- B.forEach(($) => {
2065
- var T, k;
2066
- const w = S[V].find((z) => Array.isArray(z.values) ? z.values.includes($) : typeof $ == typeof z.values);
2067
- if (!w) return;
2068
- const A = l(V, $, +N, m), D = G[+N].map((z) => re[z]).join(""), x = ((T = w.selector) == null ? void 0 : T.call(w, `.${A}`, D)) ?? `.${A}${D}`, L = Array.isArray(w.styleName) ? w.styleName : [w.styleName ?? V], _ = ((k = w.valueFormat) == null ? void 0 : k.call(w, $, y.getVariableValue)) ?? $;
2069
- d.push(`${x}{${L.map((z) => `${z}:${_}`).join(";")}}`);
2249
+ const v = p.reduce(
2250
+ (f, [m, w]) => (m !== "normal" && f.push(`@media(min-width: ${_[m]}px){`), Object.entries(w).forEach(([x, M]) => {
2251
+ const { __parents: ee, ...ve } = M, te = Object.entries(ve);
2252
+ te.sort(([V], [B]) => l[V] - l[B]), te.forEach(([V, B]) => {
2253
+ B.forEach((z) => {
2254
+ const F = S[V].find((N) => Array.isArray(N.values) ? N.values.includes(z) : typeof z == typeof N.values);
2255
+ if (!F) return;
2256
+ const $ = s(V, z, +x, m), H = D[+x].map((N) => Q[N]).join(""), A = F.selector?.(`.${$}`, H) ?? `.${$}${H}`, L = Array.isArray(F.styleName) ? F.styleName : [F.styleName ?? V], I = F.valueFormat?.(z, y.getVariableValue) ?? z;
2257
+ f.push(`${A}{${L.map((N) => `${N}:${I}`).join(";")}}`);
2070
2258
  });
2071
- }), ae && Object.entries(ae).forEach(([V, B]) => {
2072
- const $ = Object.entries(B);
2073
- $.sort(([E], [w]) => s[E] - s[w]), $.forEach(([E, w]) => {
2074
- w.forEach((A) => {
2075
- var le, se;
2076
- const x = S[E].find((I) => Array.isArray(I.values) ? I.values.includes(A) : typeof A == typeof I.values);
2077
- if (!x) return;
2078
- const L = l(E, A, +N, m, V), [_] = G[+N], T = _ === "theme" ? `.${V} .${L}` : `.${V}:${_} .${L}`, k = ((le = x.selector) == null ? void 0 : le.call(x, T, "")) ?? T, z = Array.isArray(x.styleName) ? x.styleName : [x.styleName ?? E], we = ((se = x.valueFormat) == null ? void 0 : se.call(x, A, y.getVariableValue)) ?? A;
2079
- d.push(`${k}{${z.map((I) => `${I}:${we}`).join(";")}}`);
2259
+ }), ee && Object.entries(ee).forEach(([V, B]) => {
2260
+ const z = Object.entries(B);
2261
+ z.sort(([R], [F]) => l[R] - l[F]), z.forEach(([R, F]) => {
2262
+ F.forEach(($) => {
2263
+ const A = S[R].find((T) => Array.isArray(T.values) ? T.values.includes($) : typeof $ == typeof T.values);
2264
+ if (!A) return;
2265
+ const L = s(R, $, +x, m, V), [I] = D[+x], N = I === "theme" ? `.${V} .${L}` : `.${V}:${I} .${L}`, ye = A.selector?.(N, "") ?? N, ge = Array.isArray(A.styleName) ? A.styleName : [A.styleName ?? R], be = A.valueFormat?.($, y.getVariableValue) ?? $;
2266
+ f.push(`${ye}{${ge.map((T) => `${T}:${be}`).join(";")}}`);
2080
2267
  });
2081
2268
  });
2082
2269
  });
2083
- }), m !== "normal" && d.push("}"), d),
2270
+ }), m !== "normal" && f.push("}"), f),
2084
2271
  [g]
2085
2272
  );
2086
2273
  v.unshift(`:root{${y.generateVariables()}}`);
@@ -2092,57 +2279,27 @@ a,ul{all: unset;}
2092
2279
  r = {};
2093
2280
  }
2094
2281
  e.clear = n;
2095
- function u(s, g, h, v, c = "normal", d) {
2282
+ function u(l, g, p, v, c = "normal", f) {
2096
2283
  if (g == null) return;
2097
- const m = v.reduce((N, U) => N + ge[U], 0);
2098
- r[c] ? r[c][m] ? r[c][m][s] || (r[c][m][s] = /* @__PURE__ */ new Set()) : r[c][m] = { [s]: /* @__PURE__ */ new Set() } : r[c] = { [m]: { [s]: /* @__PURE__ */ new Set() } }, d ? (r[c][m].__parents ? r[c][m].__parents[d] ? r[c][m].__parents[d][s] || (r[c][m].__parents[d][s] = /* @__PURE__ */ new Set()) : r[c][m].__parents[d] = { [s]: /* @__PURE__ */ new Set() } : r[c][m].__parents = { [d]: { [s]: /* @__PURE__ */ new Set() } }, r[c][m].__parents[d][s].has(g) || (r[c][m].__parents[d][s].add(g), t = !0)) : r[c][m][s].has(g) || (r[c][m][s].add(g), t = !0);
2099
- const F = l(s, g, m, c, d);
2100
- h.push(F);
2284
+ const m = v.reduce((x, M) => x + de[M], 0);
2285
+ r[c] ? r[c][m] ? r[c][m][l] || (r[c][m][l] = /* @__PURE__ */ new Set()) : r[c][m] = { [l]: /* @__PURE__ */ new Set() } : r[c] = { [m]: { [l]: /* @__PURE__ */ new Set() } }, f ? (r[c][m].__parents ? r[c][m].__parents[f] ? r[c][m].__parents[f][l] || (r[c][m].__parents[f][l] = /* @__PURE__ */ new Set()) : r[c][m].__parents[f] = { [l]: /* @__PURE__ */ new Set() } : r[c][m].__parents = { [f]: { [l]: /* @__PURE__ */ new Set() } }, r[c][m].__parents[f][l].has(g) || (r[c][m].__parents[f][l].add(g), t = !0)) : r[c][m][l].has(g) || (r[c][m][l].add(g), t = !0);
2286
+ const w = s(l, g, m, c, f);
2287
+ p.push(w);
2101
2288
  }
2102
- function l(s, g, h, v, c) {
2103
- const d = G[h], m = `${v === "normal" ? "" : `${v}-`}${d.map((F) => `${F}-`).join("")}${c ? `${c}-` : ""}${s}-${g}`;
2104
- return be ? m : Oe.getIdentity(m);
2289
+ function s(l, g, p, v, c) {
2290
+ const f = D[p], m = `${v === "normal" ? "" : `${v}-`}${f.map((w) => `${w}-`).join("")}${c ? `${c}-` : ""}${l}-${g}`;
2291
+ return fe ? m : Ae.getIdentity(m);
2105
2292
  }
2106
- const f = "crono-styles";
2293
+ const d = "crono-styles";
2107
2294
  function b() {
2108
- let s = document.getElementById(f);
2109
- return s || (s = document.createElement("style"), s.setAttribute("id", f), s.setAttribute("type", "text/css"), document.head.insertBefore(s, document.head.firstChild)), s;
2295
+ let l = document.getElementById(d);
2296
+ return l || (l = document.createElement("style"), l.setAttribute("id", d), l.setAttribute("type", "text/css"), document.head.insertBefore(l, document.head.firstChild)), l;
2110
2297
  }
2111
2298
  })(j || (j = {}));
2112
- var ue;
2299
+ var oe;
2113
2300
  ((e) => {
2114
2301
  e.flush = j.flush, e.clear = j.clear;
2115
- })(ue || (ue = {}));
2116
- const Y = xe.createContext({ theme: "", setTheme: () => {
2117
- } });
2118
- function Z(e) {
2119
- const { children: t, theme: r, use: o = "local" } = e, [i, n] = me(r);
2120
- return de(() => {
2121
- if (o === "local") return;
2122
- const u = document.documentElement;
2123
- return u.classList.add(i), () => {
2124
- u.classList.remove(i);
2125
- };
2126
- }, [i]), o === "local" ? /* @__PURE__ */ p(Y.Provider, { value: { theme: i, setTheme: n }, children: /* @__PURE__ */ p(Ve, { className: i, children: t }) }) : /* @__PURE__ */ p(Y.Provider, { value: { theme: i, setTheme: n }, children: t });
2127
- }
2128
- ((e) => {
2129
- function t() {
2130
- const { theme: r, setTheme: o } = Fe(Y);
2131
- return [r, o];
2132
- }
2133
- e.useTheme = t;
2134
- })(Z || (Z = {}));
2135
- const He = Z, Be = {
2136
- selected: "aria-selected"
2137
- };
2138
- var P;
2139
- ((e) => {
2140
- function t(r, o, i) {
2141
- r !== void 0 && r != null && (i[Be[o] ?? o] = Array.isArray(r) ? r[0] : r);
2142
- }
2143
- e.assignBooleanProp = t;
2144
- })(P || (P = {}));
2145
- const Me = P;
2302
+ })(oe || (oe = {}));
2146
2303
  Array.prototype.removeBy || (Array.prototype.removeBy = function(e) {
2147
2304
  return this.filter((t) => !e(t));
2148
2305
  });
@@ -2183,46 +2340,43 @@ Array.prototype.toRecord || (Array.prototype.toRecord = function(e) {
2183
2340
  });
2184
2341
  Array.prototype.groupBy || (Array.prototype.groupBy = function(e, t = !1) {
2185
2342
  const r = this.reduce((o, i, n) => {
2186
- var l;
2187
2343
  const u = e(i, n);
2188
- return t && typeof u != "number" && !u || (o.has(u) === !1 && o.set(u, []), (l = o.get(u)) == null || l.push(i)), o;
2344
+ return t && typeof u != "number" && !u || (o.has(u) === !1 && o.set(u, []), o.get(u)?.push(i)), o;
2189
2345
  }, /* @__PURE__ */ new Map());
2190
2346
  return Array.from(r, ([o, i]) => ({ key: o, values: i }));
2191
2347
  });
2192
- function Ue(e) {
2193
- const { node: t = null, event: r = "click", hideOnScroll: o = !1, hideOnResize: i = !1, hideOnEscape: n = !0 } = e ?? {}, [u, l] = me(!1), f = Ne(null);
2194
- return fe(() => {
2348
+ function _e(e) {
2349
+ const { node: t = null, event: r = "click", hideOnScroll: o = !1, hideOnResize: i = !1, hideOnEscape: n = !0 } = e ?? {}, [u, s] = se(!1), d = xe(null);
2350
+ return ne(() => {
2195
2351
  function b(c) {
2196
- const d = t ?? f.current;
2197
- (d == null ? void 0 : d.contains(c.target)) === !1 && l(!1);
2352
+ (t ?? d.current)?.contains(c.target) === !1 && s(!1);
2198
2353
  }
2199
- function s() {
2200
- l(!1);
2354
+ function l() {
2355
+ s(!1);
2201
2356
  }
2202
2357
  function g(c) {
2203
- const d = t ?? f.current;
2204
- (d == null ? void 0 : d.contains(c.target)) === !1 && l(!1);
2358
+ (t ?? d.current)?.contains(c.target) === !1 && s(!1);
2205
2359
  }
2206
- function h(c) {
2207
- c.key === "Escape" && l(!1);
2360
+ function p(c) {
2361
+ c.key === "Escape" && s(!1);
2208
2362
  }
2209
2363
  const v = new AbortController();
2210
- return u && (window.addEventListener(r, b, v), n && window.addEventListener("keydown", h, v), i && window.addEventListener("resize", s, v), o && window.addEventListener("scroll", g, { signal: v.signal, capture: !0 })), () => {
2364
+ return u && (window.addEventListener(r, b, v), n && window.addEventListener("keydown", p, v), i && window.addEventListener("resize", l, v), o && window.addEventListener("scroll", g, { signal: v.signal, capture: !0 })), () => {
2211
2365
  v.abort();
2212
2366
  };
2213
- }, [t, u]), [u, l, f];
2214
- }
2215
- function De(e) {
2216
- let t;
2217
- return Object.defineProperty({
2218
- clear() {
2219
- t = void 0;
2220
- }
2221
- }, "value", {
2222
- get: () => (t || (t = e()), t)
2223
- });
2367
+ }, [t, u]), [u, s, d];
2224
2368
  }
2225
- var J;
2369
+ const Ee = {
2370
+ selected: "aria-selected"
2371
+ };
2372
+ var le;
2373
+ ((e) => {
2374
+ function t(r, o, i) {
2375
+ r !== void 0 && r != null && (i[Ee[o] ?? o] = Array.isArray(r) ? r[0] : r);
2376
+ }
2377
+ e.assignBooleanProp = t;
2378
+ })(le || (le = {}));
2379
+ var Z;
2226
2380
  ((e) => {
2227
2381
  function t(r, o = 300) {
2228
2382
  let i = !1, n;
@@ -2237,13 +2391,33 @@ var J;
2237
2391
  };
2238
2392
  }
2239
2393
  e.throttle = t;
2240
- })(J || (J = {}));
2241
- const Ge = J;
2242
- function We(e) {
2243
- return /* @__PURE__ */ p(R, { ...e, children: /* @__PURE__ */ p("path", { d: "M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z" }) });
2394
+ })(Z || (Z = {}));
2395
+ const ke = Z;
2396
+ function Me(e) {
2397
+ let t;
2398
+ return Object.defineProperty({
2399
+ clear() {
2400
+ t = void 0;
2401
+ }
2402
+ }, "value", {
2403
+ get: () => (t === void 0 && (t = e()), t)
2404
+ });
2244
2405
  }
2245
- function Ke(e) {
2246
- return /* @__PURE__ */ p(R, { viewBox: "0 0 16 16", width: "18", ...e, children: /* @__PURE__ */ p(
2406
+ function He(e) {
2407
+ return /* @__PURE__ */ h(O, { viewBox: "4 2 16 18", width: "1rem", fill: "currentColor", ...e, children: /* @__PURE__ */ h(
2408
+ "path",
2409
+ {
2410
+ fillRule: "evenodd",
2411
+ d: "M12.707 14.707a1 1 0 0 1-1.414 0l-5-5a1 1 0 0 1 1.414-1.414L12 12.586l4.293-4.293a1 1 0 1 1 1.414 1.414l-5 5Z",
2412
+ clipRule: "evenodd"
2413
+ }
2414
+ ) });
2415
+ }
2416
+ function De(e) {
2417
+ return /* @__PURE__ */ h(O, { ...e, children: /* @__PURE__ */ h("path", { d: "M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z" }) });
2418
+ }
2419
+ function Ue(e) {
2420
+ return /* @__PURE__ */ h(O, { viewBox: "0 0 16 16", width: "18", ...e, children: /* @__PURE__ */ h(
2247
2421
  "path",
2248
2422
  {
2249
2423
  strokeWidth: 4,
@@ -2251,48 +2425,53 @@ function Ke(e) {
2251
2425
  }
2252
2426
  ) });
2253
2427
  }
2254
- function qe(e) {
2255
- return /* @__PURE__ */ Ce(R, { viewBox: "0 0 490.6 490.6", ...e, children: [
2256
- /* @__PURE__ */ p("path", { d: "M151.549 145.274c0 23.39 9.145 50.385 24.462 72.214 17.389 24.78 39.376 38.427 61.911 38.427 22.534 0 44.521-13.647 61.91-38.428 15.317-21.828 24.462-48.824 24.462-72.213 0-47.626-38.746-86.372-86.372-86.372s-86.373 38.746-86.373 86.372zm86.373-71.372c39.354 0 71.372 32.018 71.372 71.372 0 20.118-8.33 44.487-21.74 63.598-14.29 20.364-32.38 32.043-49.632 32.043-17.252 0-35.342-11.679-49.632-32.043-13.41-19.11-21.741-43.479-21.741-63.598 0-39.355 32.018-71.372 71.373-71.372z" }),
2257
- /* @__PURE__ */ p("path", { d: "M302.372 239.167a7.502 7.502 0 0 0-8.52 1.461c-16.775 16.728-36.117 25.569-55.935 25.569-19.821 0-39.158-8.841-55.923-25.567a7.5 7.5 0 0 0-8.521-1.463c-25.254 12.022-46.628 30.829-61.811 54.388-15.596 24.2-23.84 52.277-23.84 81.195v.121c0 2.116.894 4.134 2.461 5.556 40.492 36.722 92.922 56.945 147.633 56.945s107.141-20.224 147.632-56.945a7.499 7.499 0 0 0 2.462-5.556v-.121c0-28.918-8.242-56.995-23.834-81.194-15.179-23.561-36.551-42.368-61.804-54.389zm-64.454 183.205c-49.861 0-97.685-18.023-135.057-50.827.583-24.896 7.956-48.986 21.411-69.865 12.741-19.77 30.322-35.823 51.058-46.676 18.746 17.157 40.285 26.193 62.588 26.193 22.3 0 43.842-9.035 62.598-26.193 20.734 10.853 38.313 26.906 51.053 46.676 13.452 20.877 20.823 44.968 21.406 69.865-37.373 32.804-85.197 50.827-135.057 50.827z" }),
2258
- /* @__PURE__ */ p("path", { d: "M455.077 243.89c-13.23-20.532-31.856-36.923-53.864-47.399a7.501 7.501 0 0 0-8.52 1.461c-14.312 14.271-30.79 21.815-47.654 21.815-9.142 0-18.184-2.205-26.873-6.553a7.5 7.5 0 0 0-6.712 13.414c10.793 5.401 22.093 8.139 33.586 8.139 19.335 0 38.004-7.737 54.288-22.437a116.088 116.088 0 0 1 43.141 39.685c11.445 17.763 17.756 38.243 18.338 59.416-18.524 16.158-40.553 28.449-63.91 35.634a7.5 7.5 0 0 0 4.41 14.338c26.509-8.154 51.435-22.362 72.082-41.088a7.499 7.499 0 0 0 2.462-5.556v-.105c-.001-25.204-7.185-49.674-20.774-70.764zM130.493 210.473c7.93 0 15.841-1.934 23.516-5.748a7.5 7.5 0 0 0-6.675-13.433c-5.582 2.774-11.248 4.18-16.841 4.18-14.541 0-29.836-9.914-41.964-27.2-11.449-16.318-18.562-37.112-18.562-54.266 0-33.375 27.152-60.527 60.526-60.527 15.752 0 30.67 6.022 42.006 16.958a7.499 7.499 0 0 0 10.604-.19 7.499 7.499 0 0 0-.19-10.604c-14.146-13.647-32.763-21.163-52.42-21.163-41.646 0-75.526 33.881-75.526 75.527 0 20.38 7.957 43.887 21.283 62.881 15.195 21.657 34.459 33.585 54.243 33.585z" }),
2259
- /* @__PURE__ */ p("path", { d: "M61.034 340.143a175.333 175.333 0 0 1-45.989-29.004c.582-21.112 6.875-41.53 18.291-59.243a115.795 115.795 0 0 1 43.01-39.566c16.239 14.662 34.856 22.376 54.139 22.376 11.587 0 22.969-2.785 33.829-8.277a7.501 7.501 0 0 0-6.77-13.386c-8.742 4.421-17.846 6.663-27.059 6.663-16.811 0-33.238-7.522-47.504-21.754a7.501 7.501 0 0 0-8.521-1.462c-21.954 10.451-40.534 26.8-53.733 47.28C7.167 264.811 0 289.221 0 314.362v.103c0 2.116.894 4.134 2.461 5.556 15.629 14.174 33.338 25.579 52.634 33.897a7.481 7.481 0 0 0 2.966.615 7.503 7.503 0 0 0 2.973-14.39zM69.854 351.003c-2.671 6.443 4.532 12.832 10.617 9.387 3.238-1.834 4.683-5.937 3.227-9.385-2.407-6.145-11.378-5.952-13.844-.002z" }),
2260
- /* @__PURE__ */ p("path", { d: "M83.698 351.005c.19.45-.18-.46 0 0zM303.345 70.438c11.336-10.936 26.254-16.958 42.006-16.958 33.374 0 60.526 27.152 60.526 60.527 0 17.154-7.112 37.947-18.563 54.266-12.128 17.286-27.424 27.2-41.964 27.2-5.593 0-11.259-1.406-16.841-4.18a7.5 7.5 0 0 0-6.676 13.433c7.675 3.814 15.587 5.748 23.517 5.748 19.783 0 39.048-11.927 54.243-33.585 13.327-18.994 21.283-42.501 21.283-62.881 0-41.646-33.881-75.527-75.526-75.527-19.657 0-38.273 7.516-52.42 21.163a7.5 7.5 0 0 0 10.415 10.794z" })
2428
+ function Ge(e) {
2429
+ return /* @__PURE__ */ pe(O, { viewBox: "0 0 490.6 490.6", ...e, children: [
2430
+ /* @__PURE__ */ h("path", { d: "M151.549 145.274c0 23.39 9.145 50.385 24.462 72.214 17.389 24.78 39.376 38.427 61.911 38.427 22.534 0 44.521-13.647 61.91-38.428 15.317-21.828 24.462-48.824 24.462-72.213 0-47.626-38.746-86.372-86.372-86.372s-86.373 38.746-86.373 86.372zm86.373-71.372c39.354 0 71.372 32.018 71.372 71.372 0 20.118-8.33 44.487-21.74 63.598-14.29 20.364-32.38 32.043-49.632 32.043-17.252 0-35.342-11.679-49.632-32.043-13.41-19.11-21.741-43.479-21.741-63.598 0-39.355 32.018-71.372 71.373-71.372z" }),
2431
+ /* @__PURE__ */ h("path", { d: "M302.372 239.167a7.502 7.502 0 0 0-8.52 1.461c-16.775 16.728-36.117 25.569-55.935 25.569-19.821 0-39.158-8.841-55.923-25.567a7.5 7.5 0 0 0-8.521-1.463c-25.254 12.022-46.628 30.829-61.811 54.388-15.596 24.2-23.84 52.277-23.84 81.195v.121c0 2.116.894 4.134 2.461 5.556 40.492 36.722 92.922 56.945 147.633 56.945s107.141-20.224 147.632-56.945a7.499 7.499 0 0 0 2.462-5.556v-.121c0-28.918-8.242-56.995-23.834-81.194-15.179-23.561-36.551-42.368-61.804-54.389zm-64.454 183.205c-49.861 0-97.685-18.023-135.057-50.827.583-24.896 7.956-48.986 21.411-69.865 12.741-19.77 30.322-35.823 51.058-46.676 18.746 17.157 40.285 26.193 62.588 26.193 22.3 0 43.842-9.035 62.598-26.193 20.734 10.853 38.313 26.906 51.053 46.676 13.452 20.877 20.823 44.968 21.406 69.865-37.373 32.804-85.197 50.827-135.057 50.827z" }),
2432
+ /* @__PURE__ */ h("path", { d: "M455.077 243.89c-13.23-20.532-31.856-36.923-53.864-47.399a7.501 7.501 0 0 0-8.52 1.461c-14.312 14.271-30.79 21.815-47.654 21.815-9.142 0-18.184-2.205-26.873-6.553a7.5 7.5 0 0 0-6.712 13.414c10.793 5.401 22.093 8.139 33.586 8.139 19.335 0 38.004-7.737 54.288-22.437a116.088 116.088 0 0 1 43.141 39.685c11.445 17.763 17.756 38.243 18.338 59.416-18.524 16.158-40.553 28.449-63.91 35.634a7.5 7.5 0 0 0 4.41 14.338c26.509-8.154 51.435-22.362 72.082-41.088a7.499 7.499 0 0 0 2.462-5.556v-.105c-.001-25.204-7.185-49.674-20.774-70.764zM130.493 210.473c7.93 0 15.841-1.934 23.516-5.748a7.5 7.5 0 0 0-6.675-13.433c-5.582 2.774-11.248 4.18-16.841 4.18-14.541 0-29.836-9.914-41.964-27.2-11.449-16.318-18.562-37.112-18.562-54.266 0-33.375 27.152-60.527 60.526-60.527 15.752 0 30.67 6.022 42.006 16.958a7.499 7.499 0 0 0 10.604-.19 7.499 7.499 0 0 0-.19-10.604c-14.146-13.647-32.763-21.163-52.42-21.163-41.646 0-75.526 33.881-75.526 75.527 0 20.38 7.957 43.887 21.283 62.881 15.195 21.657 34.459 33.585 54.243 33.585z" }),
2433
+ /* @__PURE__ */ h("path", { d: "M61.034 340.143a175.333 175.333 0 0 1-45.989-29.004c.582-21.112 6.875-41.53 18.291-59.243a115.795 115.795 0 0 1 43.01-39.566c16.239 14.662 34.856 22.376 54.139 22.376 11.587 0 22.969-2.785 33.829-8.277a7.501 7.501 0 0 0-6.77-13.386c-8.742 4.421-17.846 6.663-27.059 6.663-16.811 0-33.238-7.522-47.504-21.754a7.501 7.501 0 0 0-8.521-1.462c-21.954 10.451-40.534 26.8-53.733 47.28C7.167 264.811 0 289.221 0 314.362v.103c0 2.116.894 4.134 2.461 5.556 15.629 14.174 33.338 25.579 52.634 33.897a7.481 7.481 0 0 0 2.966.615 7.503 7.503 0 0 0 2.973-14.39zM69.854 351.003c-2.671 6.443 4.532 12.832 10.617 9.387 3.238-1.834 4.683-5.937 3.227-9.385-2.407-6.145-11.378-5.952-13.844-.002z" }),
2434
+ /* @__PURE__ */ h("path", { d: "M83.698 351.005c.19.45-.18-.46 0 0zM303.345 70.438c11.336-10.936 26.254-16.958 42.006-16.958 33.374 0 60.526 27.152 60.526 60.527 0 17.154-7.112 37.947-18.563 54.266-12.128 17.286-27.424 27.2-41.964 27.2-5.593 0-11.259-1.406-16.841-4.18a7.5 7.5 0 0 0-6.676 13.433c7.675 3.814 15.587 5.748 23.517 5.748 19.783 0 39.048-11.927 54.243-33.585 13.327-18.994 21.283-42.501 21.283-62.881 0-41.646-33.881-75.527-75.526-75.527-19.657 0-38.273 7.516-52.42 21.163a7.5 7.5 0 0 0 10.415 10.794z" })
2261
2435
  ] });
2262
2436
  }
2263
- function Xe(e) {
2264
- return /* @__PURE__ */ p(R, { viewBox: "0 0 1024 1024", ...e, children: /* @__PURE__ */ p("path", { d: "M31.997 1023.957a31.699 31.699 0 0 1-22.611-9.386C3.328 1008.556 0 1000.493 0 991.96s3.328-16.596 9.386-22.611L328.25 650.484l-152.52-152.52a95.907 95.907 0 0 1-25.087-92.152 95.31 95.31 0 0 1 44.327-58.62l.896-.512a353.464 353.464 0 0 1 176.156-47.398c20.137 0 40.36 1.749 60.283 5.205L597.71 44.54A95.224 95.224 0 0 1 678.685.085c25.64 0 49.745 9.983 67.877 28.073l249.195 249.195a95.224 95.224 0 0 1 25.897 88.74 95.139 95.139 0 0 1-42.152 60.154L719.513 591.695a352.227 352.227 0 0 1-42.663 237.292A95.395 95.395 0 0 1 594 876.514a95.523 95.523 0 0 1-67.963-28.2L373.43 695.706 54.61 1014.614a31.912 31.912 0 0 1-22.612 9.343zm340.025-660.68c-50.64 0-100.685 13.566-144.798 39.207a31.57 31.57 0 0 0-14.676 19.497 31.699 31.699 0 0 0 8.362 30.675L571.344 803.09c6.059 6.059 14.122 9.386 22.697 9.386a31.699 31.699 0 0 0 27.56-15.785 287.421 287.421 0 0 0 31.06-212.676 31.997 31.997 0 0 1 13.907-34.471l278.59-177.266a31.57 31.57 0 0 0 14.037-20.051 31.699 31.699 0 0 0-8.618-29.566l-249.28-249.28a31.912 31.912 0 0 0-49.618 5.418l-177.308 278.59a31.827 31.827 0 0 1-34.472 13.908 293.778 293.778 0 0 0-67.877-8.02z" }) });
2437
+ function We(e) {
2438
+ return /* @__PURE__ */ h(O, { viewBox: "0 0 1024 1024", ...e, children: /* @__PURE__ */ h("path", { d: "M31.997 1023.957a31.699 31.699 0 0 1-22.611-9.386C3.328 1008.556 0 1000.493 0 991.96s3.328-16.596 9.386-22.611L328.25 650.484l-152.52-152.52a95.907 95.907 0 0 1-25.087-92.152 95.31 95.31 0 0 1 44.327-58.62l.896-.512a353.464 353.464 0 0 1 176.156-47.398c20.137 0 40.36 1.749 60.283 5.205L597.71 44.54A95.224 95.224 0 0 1 678.685.085c25.64 0 49.745 9.983 67.877 28.073l249.195 249.195a95.224 95.224 0 0 1 25.897 88.74 95.139 95.139 0 0 1-42.152 60.154L719.513 591.695a352.227 352.227 0 0 1-42.663 237.292A95.395 95.395 0 0 1 594 876.514a95.523 95.523 0 0 1-67.963-28.2L373.43 695.706 54.61 1014.614a31.912 31.912 0 0 1-22.612 9.343zm340.025-660.68c-50.64 0-100.685 13.566-144.798 39.207a31.57 31.57 0 0 0-14.676 19.497 31.699 31.699 0 0 0 8.362 30.675L571.344 803.09c6.059 6.059 14.122 9.386 22.697 9.386a31.699 31.699 0 0 0 27.56-15.785 287.421 287.421 0 0 0 31.06-212.676 31.997 31.997 0 0 1 13.907-34.471l278.59-177.266a31.57 31.57 0 0 0 14.037-20.051 31.699 31.699 0 0 0-8.618-29.566l-249.28-249.28a31.912 31.912 0 0 0-49.618 5.418l-177.308 278.59a31.827 31.827 0 0 1-34.472 13.908 293.778 293.778 0 0 0-67.877-8.02z" }) });
2265
2439
  }
2266
- function Ye() {
2267
- return te(() => {
2440
+ var Y;
2441
+ ((e) => {
2442
+ function t(r) {
2443
+ return r.charAt(0).toUpperCase() + r.slice(1);
2444
+ }
2445
+ e.capitalize = t;
2446
+ })(Y || (Y = {}));
2447
+ const Ke = Y;
2448
+ function qe() {
2449
+ return J(() => {
2268
2450
  const e = "crono-box";
2269
2451
  let t = document.getElementById(e);
2270
2452
  return t || (t = document.createElement("div"), t.id = e, document.body.appendChild(t)), t;
2271
2453
  }, []);
2272
2454
  }
2273
- function Ze(e) {
2274
- return /* @__PURE__ */ p(R, { viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ p("path", { d: "M4.238 2.988a1.25 1.25 0 0 0-.87 2.147L10.231 12l-6.87 6.87a1.251 1.251 0 1 0 1.769 1.769L12 13.768l6.865 6.865a1.25 1.25 0 1 0 1.768-1.768L13.768 12l6.857-6.857a1.25 1.25 0 1 0-1.768-1.768L12 10.232 5.135 3.367a1.25 1.25 0 0 0-.897-.379z" }) });
2275
- }
2276
- function Pe(e) {
2277
- return /* @__PURE__ */ p(R, { viewBox: "0 0 488.4 488.4", ...e, children: /* @__PURE__ */ p("path", { d: "M0 203.25c0 112.1 91.2 203.2 203.2 203.2 51.6 0 98.8-19.4 134.7-51.2l129.5 129.5c2.4 2.4 5.5 3.6 8.7 3.6s6.3-1.2 8.7-3.6c4.8-4.8 4.8-12.5 0-17.3l-129.6-129.5c31.8-35.9 51.2-83 51.2-134.7C406.4 91.15 315.2.05 203.2.05S0 91.15 0 203.25zm381.9 0c0 98.5-80.2 178.7-178.7 178.7s-178.7-80.2-178.7-178.7 80.2-178.7 178.7-178.7 178.7 80.1 178.7 178.7z" }) });
2455
+ function Xe(e) {
2456
+ return /* @__PURE__ */ h(O, { viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ h("path", { d: "M4.238 2.988a1.25 1.25 0 0 0-.87 2.147L10.231 12l-6.87 6.87a1.251 1.251 0 1 0 1.769 1.769L12 13.768l6.865 6.865a1.25 1.25 0 1 0 1.768-1.768L13.768 12l6.857-6.857a1.25 1.25 0 1 0-1.768-1.768L12 10.232 5.135 3.367a1.25 1.25 0 0 0-.897-.379z" }) });
2278
2457
  }
2279
- var Q;
2458
+ var P;
2280
2459
  ((e) => {
2281
2460
  function t(o) {
2282
2461
  const i = Array.from(o.elements).reduce(
2283
2462
  (n, u) => {
2284
- const l = u.name;
2285
- return l && (n[l] || (n[l] = []), n[l].push(u)), n;
2463
+ const s = u.name;
2464
+ return s && (n[s] || (n[s] = []), n[s].push(u)), n;
2286
2465
  },
2287
2466
  {}
2288
2467
  );
2289
- return Object.entries(i).reduce((n, [u, l]) => {
2290
- if (l.length === 1) {
2291
- const f = l[0];
2292
- r(n, u, f.type === "checkbox" || f.type === "radio" ? f.checked : f.value);
2468
+ return Object.entries(i).reduce((n, [u, s]) => {
2469
+ if (s.length === 1) {
2470
+ const d = s[0];
2471
+ r(n, u, d.type === "checkbox" || d.type === "radio" ? d.checked : d.value);
2293
2472
  } else {
2294
- const f = l.reduce((b, s) => (s.type === "checkbox" || s.type === "radio" ? s.checked && b.push(s.value) : b.push(s.value), b), []);
2295
- r(n, u, f);
2473
+ const d = s.reduce((b, l) => (l.type === "checkbox" || l.type === "radio" ? l.checked && b.push(l.value) : b.push(l.value), b), []);
2474
+ r(n, u, d);
2296
2475
  }
2297
2476
  return n;
2298
2477
  }, {});
@@ -2301,51 +2480,42 @@ var Q;
2301
2480
  function r(o, i, n) {
2302
2481
  if (i.includes(".")) {
2303
2482
  const u = i.split(".");
2304
- let l = o;
2305
- u.forEach((f, b) => {
2483
+ let s = o;
2484
+ u.forEach((d, b) => {
2306
2485
  if (u.length > b + 1) {
2307
- const s = f.match(/^(.+)\[(\d)\]$/);
2308
- if (s) {
2309
- const [, g, h] = s;
2310
- l[g] = l[g] || [], l[g][h] = l[g][h] || {}, l = l[g][h];
2486
+ const l = d.match(/^(.+)\[(\d)\]$/);
2487
+ if (l) {
2488
+ const [, g, p] = l;
2489
+ s[g] = s[g] || [], s[g][p] = s[g][p] || {}, s = s[g][p];
2311
2490
  } else
2312
- l[f] = l[f] || {}, l = l[f];
2491
+ s[d] = s[d] || {}, s = s[d];
2313
2492
  } else
2314
- l[f] = n;
2493
+ s[d] = n;
2315
2494
  });
2316
2495
  } else
2317
2496
  o[i] = n;
2318
2497
  }
2319
- })(Q || (Q = {}));
2320
- const Je = Q;
2321
- var ee;
2322
- ((e) => {
2323
- function t(r) {
2324
- return r.charAt(0).toUpperCase() + r.slice(1);
2325
- }
2326
- e.capitalize = t;
2327
- })(ee || (ee = {}));
2328
- const Qe = ee;
2498
+ })(P || (P = {}));
2499
+ const Ze = P;
2329
2500
  export {
2330
- We as A,
2331
- Se as B,
2332
- Ze as C,
2333
- Ke as D,
2334
- Ge as F,
2335
- qe as G,
2501
+ le as B,
2502
+ Xe as C,
2503
+ Ue as D,
2504
+ He as E,
2505
+ ke as F,
2506
+ Ge as G,
2336
2507
  C as O,
2337
- Xe as P,
2338
- Pe as S,
2339
- He as T,
2508
+ We as P,
2509
+ De as S,
2510
+ Le as T,
2340
2511
  y as V,
2341
- Me as a,
2342
- Ue as b,
2343
- ve as c,
2344
- W as d,
2345
- Je as e,
2346
- Qe as f,
2347
- Ye as g,
2348
- ue as h,
2349
- De as m,
2350
- ke as u
2512
+ Ce as a,
2513
+ _e as b,
2514
+ ue as c,
2515
+ Ze as d,
2516
+ Ke as e,
2517
+ qe as f,
2518
+ oe as g,
2519
+ Me as m,
2520
+ Ie as u
2351
2521
  };