@cronocode/react-box 3.1.6 → 3.1.7

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/core.mjs CHANGED
@@ -3,24 +3,24 @@ import { jsx as z } from "react/jsx-runtime";
3
3
  import T from "./components/baseSvg.mjs";
4
4
  import Ne from "./box.mjs";
5
5
  function fe(...e) {
6
- return e.reduce((r, l) => l ? typeof l == "string" ? (r.push(l), r) : Array.isArray(l) ? (r.push(...fe(...l)), r) : (Object.entries(l).forEach(([a, o]) => {
7
- o && r.push(a);
6
+ return e.reduce((r, l) => l ? typeof l == "string" ? (r.push(l), r) : Array.isArray(l) ? (r.push(...fe(...l)), r) : (Object.entries(l).forEach(([a, t]) => {
7
+ t && r.push(a);
8
8
  }), r) : r, []);
9
9
  }
10
- const Y = 4;
11
- var t;
10
+ const X = 4;
11
+ var o;
12
12
  ((e) => {
13
13
  ((r) => {
14
- function l(o, n) {
15
- return `${o}${n.replace("/", "-")}`;
14
+ function l(t, n) {
15
+ return `${t}${n.replace("/", "-")}`;
16
16
  }
17
17
  r.fraction = l;
18
- function a(o) {
19
- return [`${o} path`, `${o} circle`, `${o} rect`, `${o} line`];
18
+ function a(t) {
19
+ return [`${t} path`, `${t} circle`, `${t} rect`, `${t} line`];
20
20
  }
21
21
  r.svg = a;
22
22
  })(e.ClassName || (e.ClassName = {})), ((r) => {
23
- function l(x, C, R = Y) {
23
+ function l(x, C, R = X) {
24
24
  return `${x / R}rem`;
25
25
  }
26
26
  r.rem = l;
@@ -28,11 +28,11 @@ var t;
28
28
  return `${x}px`;
29
29
  }
30
30
  r.px = a;
31
- function o(x) {
31
+ function t(x) {
32
32
  const [C, R] = x.split("/");
33
33
  return `${+C / +R * 100}%`;
34
34
  }
35
- r.fraction = o;
35
+ r.fraction = t;
36
36
  function n(x, C) {
37
37
  switch (C) {
38
38
  case "fit":
@@ -73,8 +73,8 @@ var t;
73
73
  }
74
74
  r.flip = k;
75
75
  })(e.Value || (e.Value = {}));
76
- })(t || (t = {}));
77
- var X;
76
+ })(o || (o = {}));
77
+ var Y;
78
78
  ((e) => {
79
79
  e.colors = {
80
80
  currentColor: "currentColor",
@@ -401,10 +401,10 @@ var X;
401
401
  const l = { ...{
402
402
  inherit: "inherit",
403
403
  none: "none"
404
- }, ...e.colors, ...e.bgImages, ...e.shadows }, a = {}, o = {};
404
+ }, ...e.colors, ...e.bgImages, ...e.shadows }, a = {}, t = {};
405
405
  let n = {};
406
406
  function s(y) {
407
- return y in a || (y in n ? (o[y] = n[y], a[y] = n[y]) : y in l ? (o[y] = l[y], a[y] = l[y]) : (o[y] = y, a[y] = y)), `var(--${y})`;
407
+ return y in a || (y in n ? (t[y] = n[y], a[y] = n[y]) : y in l ? (t[y] = l[y], a[y] = l[y]) : (t[y] = y, a[y] = y)), `var(--${y})`;
408
408
  }
409
409
  e.getVariableValue = s;
410
410
  function u() {
@@ -412,20 +412,20 @@ var X;
412
412
  }
413
413
  e.generateVariables = u;
414
414
  function i() {
415
- const y = { ...o };
416
- return Object.keys(o).forEach((k) => delete o[k]), y;
415
+ const y = { ...t };
416
+ return Object.keys(t).forEach((k) => delete t[k]), y;
417
417
  }
418
418
  e.getPendingVariables = i;
419
419
  function m() {
420
- return Object.keys(o).length > 0;
420
+ return Object.keys(t).length > 0;
421
421
  }
422
422
  e.hasPendingVariables = m;
423
423
  function f(y) {
424
424
  n = y;
425
425
  }
426
426
  e.setUserVariables = f;
427
- })(X || (X = {}));
428
- const d = X, L = {
427
+ })(Y || (Y = {}));
428
+ const d = Y, L = {
429
429
  /** The appearance CSS property is used to display UI elements with platform-specific styling, based on the operating system's theme. */
430
430
  appearance: [
431
431
  {
@@ -437,7 +437,7 @@ const d = X, L = {
437
437
  {
438
438
  values: 0,
439
439
  styleName: "border-width",
440
- valueFormat: t.Value.px
440
+ valueFormat: o.Value.px
441
441
  }
442
442
  ],
443
443
  /** The border-width shorthand CSS property sets the width of an element's left and right border. */
@@ -445,7 +445,7 @@ const d = X, L = {
445
445
  {
446
446
  values: 0,
447
447
  styleName: "border-inline-width",
448
- valueFormat: t.Value.px
448
+ valueFormat: o.Value.px
449
449
  }
450
450
  ],
451
451
  /** The border-width shorthand CSS property sets the width of an element's top and bottom border. */
@@ -453,7 +453,7 @@ const d = X, L = {
453
453
  {
454
454
  values: 0,
455
455
  styleName: "border-block-width",
456
- valueFormat: t.Value.px
456
+ valueFormat: o.Value.px
457
457
  }
458
458
  ],
459
459
  /** The border-top-width CSS property sets the width of the top border of an element. */
@@ -461,7 +461,7 @@ const d = X, L = {
461
461
  {
462
462
  values: 0,
463
463
  styleName: "border-top-width",
464
- valueFormat: t.Value.px
464
+ valueFormat: o.Value.px
465
465
  }
466
466
  ],
467
467
  /** The border-right-width CSS property sets the width of the right border of an element. */
@@ -469,7 +469,7 @@ const d = X, L = {
469
469
  {
470
470
  values: 0,
471
471
  styleName: "border-right-width",
472
- valueFormat: t.Value.px
472
+ valueFormat: o.Value.px
473
473
  }
474
474
  ],
475
475
  /** The border-bottom-width CSS property sets the width of the bottom border of an element. */
@@ -477,7 +477,7 @@ const d = X, L = {
477
477
  {
478
478
  values: 0,
479
479
  styleName: "border-bottom-width",
480
- valueFormat: t.Value.px
480
+ valueFormat: o.Value.px
481
481
  }
482
482
  ],
483
483
  /** The border-left-width CSS property sets the width of the left border of an element. */
@@ -485,7 +485,7 @@ const d = X, L = {
485
485
  {
486
486
  values: 0,
487
487
  styleName: "border-left-width",
488
- valueFormat: t.Value.px
488
+ valueFormat: o.Value.px
489
489
  }
490
490
  ],
491
491
  /** The border-style shorthand CSS property sets the line style for all four sides of an element's border. */
@@ -500,7 +500,7 @@ const d = X, L = {
500
500
  {
501
501
  styleName: "border-radius",
502
502
  values: 0,
503
- valueFormat: t.Value.rem
503
+ valueFormat: o.Value.rem
504
504
  }
505
505
  ],
506
506
  /** The border-top-radius CSS property rounds the top corners of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
@@ -508,7 +508,7 @@ const d = X, L = {
508
508
  {
509
509
  values: 0,
510
510
  styleName: ["border-top-left-radius", "border-top-right-radius"],
511
- valueFormat: t.Value.rem
511
+ valueFormat: o.Value.rem
512
512
  }
513
513
  ],
514
514
  /** The border-right-radius CSS property rounds the right corners of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
@@ -516,7 +516,7 @@ const d = X, L = {
516
516
  {
517
517
  values: 0,
518
518
  styleName: ["border-top-right-radius", "border-bottom-right-radius"],
519
- valueFormat: t.Value.rem
519
+ valueFormat: o.Value.rem
520
520
  }
521
521
  ],
522
522
  /** The border-bottom-radius CSS property rounds the bottom corners of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
@@ -524,7 +524,7 @@ const d = X, L = {
524
524
  {
525
525
  values: 0,
526
526
  styleName: ["border-bottom-left-radius", "border-bottom-right-radius"],
527
- valueFormat: t.Value.rem
527
+ valueFormat: o.Value.rem
528
528
  }
529
529
  ],
530
530
  /** The border-left-radius CSS property rounds the left corners of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
@@ -532,7 +532,7 @@ const d = X, L = {
532
532
  {
533
533
  values: 0,
534
534
  styleName: ["border-top-left-radius", "border-bottom-left-radius"],
535
- valueFormat: t.Value.rem
535
+ valueFormat: o.Value.rem
536
536
  }
537
537
  ],
538
538
  /** The border-top-left-radius CSS property rounds the top-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
@@ -540,7 +540,7 @@ const d = X, L = {
540
540
  {
541
541
  values: 0,
542
542
  styleName: "border-top-left-radius",
543
- valueFormat: t.Value.rem
543
+ valueFormat: o.Value.rem
544
544
  }
545
545
  ],
546
546
  /** The border-top-right-radius CSS property rounds the top-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
@@ -548,7 +548,7 @@ const d = X, L = {
548
548
  {
549
549
  values: 0,
550
550
  styleName: "border-top-right-radius",
551
- valueFormat: t.Value.rem
551
+ valueFormat: o.Value.rem
552
552
  }
553
553
  ],
554
554
  /** The border-bottom-right-radius CSS property rounds the bottom-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
@@ -556,7 +556,7 @@ const d = X, L = {
556
556
  {
557
557
  values: 0,
558
558
  styleName: "border-bottom-right-radius",
559
- valueFormat: t.Value.rem
559
+ valueFormat: o.Value.rem
560
560
  }
561
561
  ],
562
562
  /** The border-bottom-left-radius CSS property rounds the bottom-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
@@ -564,7 +564,7 @@ const d = X, L = {
564
564
  {
565
565
  values: 0,
566
566
  styleName: "border-bottom-left-radius",
567
- valueFormat: t.Value.rem
567
+ valueFormat: o.Value.rem
568
568
  }
569
569
  ],
570
570
  /** The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements. */
@@ -577,67 +577,67 @@ const d = X, L = {
577
577
  top: [
578
578
  {
579
579
  values: 0,
580
- valueFormat: t.Value.rem
580
+ valueFormat: o.Value.rem
581
581
  },
582
582
  {
583
583
  values: d.percentages,
584
- valueFormat: t.Value.fraction
584
+ valueFormat: o.Value.fraction
585
585
  },
586
586
  {
587
587
  values: d.negativePercentages,
588
- valueFormat: t.Value.fraction
588
+ valueFormat: o.Value.fraction
589
589
  }
590
590
  ],
591
591
  /** The right CSS property participates in specifying the horizontal position of a positioned element. This inset property has no effect on non-positioned elements. */
592
592
  right: [
593
593
  {
594
594
  values: 0,
595
- valueFormat: t.Value.rem
595
+ valueFormat: o.Value.rem
596
596
  },
597
597
  {
598
598
  values: d.percentages,
599
- valueFormat: t.Value.fraction
599
+ valueFormat: o.Value.fraction
600
600
  },
601
601
  {
602
602
  values: d.negativePercentages,
603
- valueFormat: t.Value.fraction
603
+ valueFormat: o.Value.fraction
604
604
  }
605
605
  ],
606
606
  /** The bottom CSS property participates in setting the vertical position of a positioned element. This inset property has no effect on non-positioned elements. */
607
607
  bottom: [
608
608
  {
609
609
  values: 0,
610
- valueFormat: t.Value.rem
610
+ valueFormat: o.Value.rem
611
611
  },
612
612
  {
613
613
  values: d.percentages,
614
- valueFormat: t.Value.fraction
614
+ valueFormat: o.Value.fraction
615
615
  },
616
616
  {
617
617
  values: d.negativePercentages,
618
- valueFormat: t.Value.fraction
618
+ valueFormat: o.Value.fraction
619
619
  }
620
620
  ],
621
621
  /** The left CSS property participates in specifying the horizontal position of a positioned element. This inset property has no effect on non-positioned elements. */
622
622
  left: [
623
623
  {
624
624
  values: 0,
625
- valueFormat: t.Value.rem
625
+ valueFormat: o.Value.rem
626
626
  },
627
627
  {
628
628
  values: d.percentages,
629
- valueFormat: t.Value.fraction
629
+ valueFormat: o.Value.fraction
630
630
  },
631
631
  {
632
632
  values: d.negativePercentages,
633
- valueFormat: t.Value.fraction
633
+ valueFormat: o.Value.fraction
634
634
  }
635
635
  ],
636
636
  /** The inset CSS property is a shorthand that corresponds to the top, right, bottom, and/or left properties. It has the same multi-value syntax of the margin shorthand. */
637
637
  inset: [
638
638
  {
639
639
  values: 0,
640
- valueFormat: t.Value.rem
640
+ valueFormat: o.Value.rem
641
641
  }
642
642
  ],
643
643
  /** The `box-sizing` CSS property sets how the total width and height of an element is calculated. */
@@ -816,7 +816,7 @@ const d = X, L = {
816
816
  {
817
817
  styleName: "font-size",
818
818
  values: 0,
819
- valueFormat: (e) => t.Value.rem(e, void 0, 16)
819
+ valueFormat: (e) => o.Value.rem(e, void 0, 16)
820
820
  },
821
821
  {
822
822
  styleName: "font-size",
@@ -841,7 +841,7 @@ const d = X, L = {
841
841
  gap: [
842
842
  {
843
843
  values: 0,
844
- valueFormat: t.Value.rem
844
+ valueFormat: o.Value.rem
845
845
  }
846
846
  ],
847
847
  /** The row-gap CSS property sets the size of the gap (gutter) between an element's rows. */
@@ -849,7 +849,7 @@ const d = X, L = {
849
849
  {
850
850
  styleName: "row-gap",
851
851
  values: 0,
852
- valueFormat: t.Value.rem
852
+ valueFormat: o.Value.rem
853
853
  }
854
854
  ],
855
855
  /** The column-gap CSS property sets the size of the gap (gutter) between an element's columns. */
@@ -857,7 +857,7 @@ const d = X, L = {
857
857
  {
858
858
  styleName: "column-gap",
859
859
  values: 0,
860
- valueFormat: t.Value.rem
860
+ valueFormat: o.Value.rem
861
861
  }
862
862
  ],
863
863
  /** The order CSS property sets the order to lay out an item in a flex or grid container. Items in a container are sorted by ascending order value and then by their source code order. Items not given an explicit order value are assigned the default value of 0. */
@@ -869,7 +869,7 @@ const d = X, L = {
869
869
  ],
870
870
  /** The height CSS property specifies the height of an element. By default, the property defines the height of the content area. If box-sizing is set to border-box, however, it instead determines the height of the border area. */
871
871
  height: [
872
- { values: 0, valueFormat: t.Value.rem },
872
+ { values: 0, valueFormat: o.Value.rem },
873
873
  {
874
874
  values: ["fit"],
875
875
  valueFormat: () => "100%"
@@ -880,7 +880,7 @@ const d = X, L = {
880
880
  },
881
881
  {
882
882
  values: d.percentages,
883
- valueFormat: t.Value.fraction
883
+ valueFormat: o.Value.fraction
884
884
  },
885
885
  {
886
886
  values: ["auto", "fit-content", "max-content", "min-content"]
@@ -888,7 +888,7 @@ const d = X, L = {
888
888
  ],
889
889
  /** The min-height CSS property sets the minimum height of an element. It prevents the used value of the height property from becoming smaller than the value specified for min-height. */
890
890
  minHeight: [
891
- { styleName: "min-height", values: 0, valueFormat: t.Value.rem },
891
+ { styleName: "min-height", values: 0, valueFormat: o.Value.rem },
892
892
  {
893
893
  styleName: "min-height",
894
894
  values: ["fit"],
@@ -902,7 +902,7 @@ const d = X, L = {
902
902
  {
903
903
  styleName: "min-height",
904
904
  values: d.percentages,
905
- valueFormat: t.Value.fraction
905
+ valueFormat: o.Value.fraction
906
906
  },
907
907
  {
908
908
  styleName: "min-height",
@@ -911,7 +911,7 @@ const d = X, L = {
911
911
  ],
912
912
  /** The max-height CSS property sets the maximum height of an element. It prevents the used value of the height property from becoming larger than the value specified for max-height. */
913
913
  maxHeight: [
914
- { styleName: "max-height", values: 0, valueFormat: t.Value.rem },
914
+ { styleName: "max-height", values: 0, valueFormat: o.Value.rem },
915
915
  {
916
916
  styleName: "max-height",
917
917
  values: ["fit"],
@@ -925,7 +925,7 @@ const d = X, L = {
925
925
  {
926
926
  styleName: "max-height",
927
927
  values: d.percentages,
928
- valueFormat: t.Value.fraction
928
+ valueFormat: o.Value.fraction
929
929
  },
930
930
  {
931
931
  styleName: "max-height",
@@ -934,7 +934,7 @@ const d = X, L = {
934
934
  ],
935
935
  /** The width CSS property sets an element's width. By default, it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area. */
936
936
  width: [
937
- { values: 0, valueFormat: t.Value.rem },
937
+ { values: 0, valueFormat: o.Value.rem },
938
938
  {
939
939
  values: ["fit"],
940
940
  valueFormat: () => "100%"
@@ -945,7 +945,7 @@ const d = X, L = {
945
945
  },
946
946
  {
947
947
  values: d.percentages,
948
- valueFormat: t.Value.fraction
948
+ valueFormat: o.Value.fraction
949
949
  },
950
950
  {
951
951
  values: ["auto", "fit-content", "max-content", "min-content"]
@@ -953,7 +953,7 @@ const d = X, L = {
953
953
  ],
954
954
  /** The min-width CSS property sets the minimum width of an element. It prevents the used value of the width property from becoming smaller than the value specified for min-width. */
955
955
  minWidth: [
956
- { styleName: "min-width", values: 0, valueFormat: t.Value.rem },
956
+ { styleName: "min-width", values: 0, valueFormat: o.Value.rem },
957
957
  {
958
958
  styleName: "min-width",
959
959
  values: ["fit"],
@@ -967,7 +967,7 @@ const d = X, L = {
967
967
  {
968
968
  styleName: "min-width",
969
969
  values: d.percentages,
970
- valueFormat: t.Value.fraction
970
+ valueFormat: o.Value.fraction
971
971
  },
972
972
  {
973
973
  styleName: "min-width",
@@ -976,7 +976,7 @@ const d = X, L = {
976
976
  ],
977
977
  /** The max-width CSS property sets the maximum width of an element. It prevents the used value of the width property from becoming larger than the value specified by max-width. */
978
978
  maxWidth: [
979
- { styleName: "max-width", values: 0, valueFormat: t.Value.rem },
979
+ { styleName: "max-width", values: 0, valueFormat: o.Value.rem },
980
980
  {
981
981
  styleName: "max-width",
982
982
  values: ["fit"],
@@ -990,7 +990,7 @@ const d = X, L = {
990
990
  {
991
991
  styleName: "max-width",
992
992
  values: d.percentages,
993
- valueFormat: t.Value.fraction
993
+ valueFormat: o.Value.fraction
994
994
  },
995
995
  {
996
996
  styleName: "max-width",
@@ -1002,7 +1002,7 @@ const d = X, L = {
1002
1002
  {
1003
1003
  styleName: "letter-spacing",
1004
1004
  values: 0,
1005
- valueFormat: t.Value.px
1005
+ valueFormat: o.Value.px
1006
1006
  }
1007
1007
  ],
1008
1008
  /** The line-height CSS property sets the height of a line box in horizontal writing modes. In vertical writing modes, it sets the width of a line box. It's commonly used to set the distance between lines of text. On block-level elements in horizontal writing modes, it specifies the preferred height of line boxes within the element, and on non-replaced inline elements, it specifies the height that is used to calculate line box height. */
@@ -1010,7 +1010,7 @@ const d = X, L = {
1010
1010
  {
1011
1011
  styleName: "line-height",
1012
1012
  values: 0,
1013
- valueFormat: t.Value.px
1013
+ valueFormat: o.Value.px
1014
1014
  },
1015
1015
  {
1016
1016
  styleName: "line-height",
@@ -1030,7 +1030,7 @@ const d = X, L = {
1030
1030
  {
1031
1031
  values: 0,
1032
1032
  styleName: "margin",
1033
- valueFormat: t.Value.rem
1033
+ valueFormat: o.Value.rem
1034
1034
  },
1035
1035
  {
1036
1036
  values: ["auto"],
@@ -1038,7 +1038,7 @@ const d = X, L = {
1038
1038
  },
1039
1039
  {
1040
1040
  values: d.percentages,
1041
- valueFormat: t.Value.fraction
1041
+ valueFormat: o.Value.fraction
1042
1042
  }
1043
1043
  ],
1044
1044
  /** The margin-inline CSS shorthand property is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. */
@@ -1046,7 +1046,7 @@ const d = X, L = {
1046
1046
  {
1047
1047
  values: 0,
1048
1048
  styleName: "margin-inline",
1049
- valueFormat: t.Value.rem
1049
+ valueFormat: o.Value.rem
1050
1050
  },
1051
1051
  {
1052
1052
  values: ["auto"],
@@ -1054,7 +1054,7 @@ const d = X, L = {
1054
1054
  },
1055
1055
  {
1056
1056
  values: d.percentages,
1057
- valueFormat: t.Value.fraction
1057
+ valueFormat: o.Value.fraction
1058
1058
  }
1059
1059
  ],
1060
1060
  /** The margin-block CSS shorthand property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. */
@@ -1062,7 +1062,7 @@ const d = X, L = {
1062
1062
  {
1063
1063
  values: 0,
1064
1064
  styleName: "margin-block",
1065
- valueFormat: t.Value.rem
1065
+ valueFormat: o.Value.rem
1066
1066
  },
1067
1067
  {
1068
1068
  values: ["auto"],
@@ -1070,7 +1070,7 @@ const d = X, L = {
1070
1070
  },
1071
1071
  {
1072
1072
  values: d.percentages,
1073
- valueFormat: t.Value.fraction
1073
+ valueFormat: o.Value.fraction
1074
1074
  }
1075
1075
  ],
1076
1076
  /** The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer. */
@@ -1078,7 +1078,7 @@ const d = X, L = {
1078
1078
  {
1079
1079
  values: 0,
1080
1080
  styleName: "margin-top",
1081
- valueFormat: t.Value.rem
1081
+ valueFormat: o.Value.rem
1082
1082
  },
1083
1083
  {
1084
1084
  values: ["auto"],
@@ -1086,7 +1086,7 @@ const d = X, L = {
1086
1086
  },
1087
1087
  {
1088
1088
  values: d.percentages,
1089
- valueFormat: t.Value.fraction
1089
+ valueFormat: o.Value.fraction
1090
1090
  }
1091
1091
  ],
1092
1092
  /** The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. */
@@ -1094,7 +1094,7 @@ const d = X, L = {
1094
1094
  {
1095
1095
  values: 0,
1096
1096
  styleName: "margin-right",
1097
- valueFormat: t.Value.rem
1097
+ valueFormat: o.Value.rem
1098
1098
  },
1099
1099
  {
1100
1100
  values: ["auto"],
@@ -1102,7 +1102,7 @@ const d = X, L = {
1102
1102
  },
1103
1103
  {
1104
1104
  values: d.percentages,
1105
- valueFormat: t.Value.fraction
1105
+ valueFormat: o.Value.fraction
1106
1106
  }
1107
1107
  ],
1108
1108
  /** The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer. */
@@ -1110,7 +1110,7 @@ const d = X, L = {
1110
1110
  {
1111
1111
  values: 0,
1112
1112
  styleName: "margin-bottom",
1113
- valueFormat: t.Value.rem
1113
+ valueFormat: o.Value.rem
1114
1114
  },
1115
1115
  {
1116
1116
  values: ["auto"],
@@ -1118,7 +1118,7 @@ const d = X, L = {
1118
1118
  },
1119
1119
  {
1120
1120
  values: d.percentages,
1121
- valueFormat: t.Value.fraction
1121
+ valueFormat: o.Value.fraction
1122
1122
  }
1123
1123
  ],
1124
1124
  /** The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. */
@@ -1126,7 +1126,7 @@ const d = X, L = {
1126
1126
  {
1127
1127
  values: 0,
1128
1128
  styleName: "margin-left",
1129
- valueFormat: t.Value.rem
1129
+ valueFormat: o.Value.rem
1130
1130
  },
1131
1131
  {
1132
1132
  values: ["auto"],
@@ -1134,7 +1134,7 @@ const d = X, L = {
1134
1134
  },
1135
1135
  {
1136
1136
  values: d.percentages,
1137
- valueFormat: t.Value.fraction
1137
+ valueFormat: o.Value.fraction
1138
1138
  }
1139
1139
  ],
1140
1140
  /** The padding CSS shorthand property sets the padding area on all four sides of an element at once. */
@@ -1142,11 +1142,11 @@ const d = X, L = {
1142
1142
  {
1143
1143
  values: 0,
1144
1144
  styleName: "padding",
1145
- valueFormat: t.Value.rem
1145
+ valueFormat: o.Value.rem
1146
1146
  },
1147
1147
  {
1148
1148
  values: d.percentages,
1149
- valueFormat: t.Value.fraction
1149
+ valueFormat: o.Value.fraction
1150
1150
  }
1151
1151
  ],
1152
1152
  /** The padding-inline CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. */
@@ -1154,11 +1154,11 @@ const d = X, L = {
1154
1154
  {
1155
1155
  values: 0,
1156
1156
  styleName: "padding-inline",
1157
- valueFormat: t.Value.rem
1157
+ valueFormat: o.Value.rem
1158
1158
  },
1159
1159
  {
1160
1160
  values: d.percentages,
1161
- valueFormat: t.Value.fraction
1161
+ valueFormat: o.Value.fraction
1162
1162
  }
1163
1163
  ],
1164
1164
  /** The padding-block CSS shorthand property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. */
@@ -1166,11 +1166,11 @@ const d = X, L = {
1166
1166
  {
1167
1167
  values: 0,
1168
1168
  styleName: "padding-block",
1169
- valueFormat: t.Value.rem
1169
+ valueFormat: o.Value.rem
1170
1170
  },
1171
1171
  {
1172
1172
  values: d.percentages,
1173
- valueFormat: t.Value.fraction
1173
+ valueFormat: o.Value.fraction
1174
1174
  }
1175
1175
  ],
1176
1176
  /** The padding-top CSS property sets the height of the padding area on the top of an element. */
@@ -1178,11 +1178,11 @@ const d = X, L = {
1178
1178
  {
1179
1179
  values: 0,
1180
1180
  styleName: "padding-top",
1181
- valueFormat: t.Value.rem
1181
+ valueFormat: o.Value.rem
1182
1182
  },
1183
1183
  {
1184
1184
  values: d.percentages,
1185
- valueFormat: t.Value.fraction
1185
+ valueFormat: o.Value.fraction
1186
1186
  }
1187
1187
  ],
1188
1188
  /** The padding-right CSS property sets the width of the padding area on the right of an element. */
@@ -1190,11 +1190,11 @@ const d = X, L = {
1190
1190
  {
1191
1191
  values: 0,
1192
1192
  styleName: "padding-right",
1193
- valueFormat: t.Value.rem
1193
+ valueFormat: o.Value.rem
1194
1194
  },
1195
1195
  {
1196
1196
  values: d.percentages,
1197
- valueFormat: t.Value.fraction
1197
+ valueFormat: o.Value.fraction
1198
1198
  }
1199
1199
  ],
1200
1200
  /** The padding-bottom CSS property sets the height of the padding area on the bottom of an element. */
@@ -1202,11 +1202,11 @@ const d = X, L = {
1202
1202
  {
1203
1203
  values: 0,
1204
1204
  styleName: "padding-bottom",
1205
- valueFormat: t.Value.rem
1205
+ valueFormat: o.Value.rem
1206
1206
  },
1207
1207
  {
1208
1208
  values: d.percentages,
1209
- valueFormat: t.Value.fraction
1209
+ valueFormat: o.Value.fraction
1210
1210
  }
1211
1211
  ],
1212
1212
  /** The padding-left CSS property sets the width of the padding area to the left of an element. */
@@ -1214,11 +1214,11 @@ const d = X, L = {
1214
1214
  {
1215
1215
  values: 0,
1216
1216
  styleName: "padding-left",
1217
- valueFormat: t.Value.rem
1217
+ valueFormat: o.Value.rem
1218
1218
  },
1219
1219
  {
1220
1220
  values: d.percentages,
1221
- valueFormat: t.Value.fraction
1221
+ valueFormat: o.Value.fraction
1222
1222
  }
1223
1223
  ],
1224
1224
  /** The object-fit CSS property sets how the content of a replaced element, such as an <img> or <video>, should be resized to fit its container. */
@@ -1239,7 +1239,7 @@ const d = X, L = {
1239
1239
  {
1240
1240
  styleName: "outline-width",
1241
1241
  values: 0,
1242
- valueFormat: t.Value.px
1242
+ valueFormat: o.Value.px
1243
1243
  }
1244
1244
  ],
1245
1245
  /** The outline-style CSS property sets the style of an element's outline. An outline is a line that is drawn around an element, outside the border. */
@@ -1254,7 +1254,7 @@ const d = X, L = {
1254
1254
  {
1255
1255
  styleName: "outline-offset",
1256
1256
  values: 0,
1257
- valueFormat: t.Value.px
1257
+ valueFormat: o.Value.px
1258
1258
  }
1259
1259
  ],
1260
1260
  /** The overflow CSS shorthand property sets the desired behavior when content does not fit in the element's padding box (overflows) in the horizontal and/or vertical direction. */
@@ -1532,17 +1532,17 @@ const d = X, L = {
1532
1532
  translateX: [
1533
1533
  {
1534
1534
  values: 0,
1535
- valueFormat: (e) => `translateX(${e / Y}rem)`,
1535
+ valueFormat: (e) => `translateX(${e / X}rem)`,
1536
1536
  styleName: "transform"
1537
1537
  },
1538
1538
  {
1539
1539
  values: d.percentages,
1540
- valueFormat: (e) => `translateX(${t.Value.fraction(e)})`,
1540
+ valueFormat: (e) => `translateX(${o.Value.fraction(e)})`,
1541
1541
  styleName: "transform"
1542
1542
  },
1543
1543
  {
1544
1544
  values: d.negativePercentages,
1545
- valueFormat: (e) => `translateX(${t.Value.fraction(e)})`,
1545
+ valueFormat: (e) => `translateX(${o.Value.fraction(e)})`,
1546
1546
  styleName: "transform"
1547
1547
  }
1548
1548
  ],
@@ -1550,17 +1550,17 @@ const d = X, L = {
1550
1550
  translateY: [
1551
1551
  {
1552
1552
  values: 0,
1553
- valueFormat: (e) => `translateY(${e / Y}rem)`,
1553
+ valueFormat: (e) => `translateY(${e / X}rem)`,
1554
1554
  styleName: "transform"
1555
1555
  },
1556
1556
  {
1557
1557
  values: d.percentages,
1558
- valueFormat: (e) => `translateY(${t.Value.fraction(e)})`,
1558
+ valueFormat: (e) => `translateY(${o.Value.fraction(e)})`,
1559
1559
  styleName: "transform"
1560
1560
  },
1561
1561
  {
1562
1562
  values: d.negativePercentages,
1563
- valueFormat: (e) => `translateY(${t.Value.fraction(e)})`,
1563
+ valueFormat: (e) => `translateY(${o.Value.fraction(e)})`,
1564
1564
  styleName: "transform"
1565
1565
  }
1566
1566
  ],
@@ -1606,8 +1606,8 @@ const d = X, L = {
1606
1606
  ), q = Object.entries(W).reduce(
1607
1607
  (e, [r]) => {
1608
1608
  const l = ye[r];
1609
- return Object.entries(e).forEach(([a, o]) => {
1610
- e[+a + l] = [...o, r];
1609
+ return Object.entries(e).forEach(([a, t]) => {
1610
+ e[+a + l] = [...t, r];
1611
1611
  }), e;
1612
1612
  },
1613
1613
  { 0: [] }
@@ -1653,10 +1653,10 @@ var Z;
1653
1653
  }), s), {});
1654
1654
  }
1655
1655
  e.mergeDeep = a;
1656
- function o(n, s) {
1656
+ function t(n, s) {
1657
1657
  return n in s;
1658
1658
  }
1659
- e.isKeyOf = o;
1659
+ e.isKeyOf = t;
1660
1660
  })(Z || (Z = {}));
1661
1661
  const S = Z, se = {
1662
1662
  h1: {
@@ -2055,7 +2055,7 @@ const S = Z, se = {
2055
2055
  borderRadius: 2,
2056
2056
  userSelect: "none",
2057
2057
  lineHeight: 20,
2058
- minWidth: 40,
2058
+ width: "fit-content",
2059
2059
  transition: "none",
2060
2060
  hover: {
2061
2061
  borderColor: "gray-400"
@@ -2096,7 +2096,8 @@ const S = Z, se = {
2096
2096
  compact: {
2097
2097
  px: 2,
2098
2098
  py: 1,
2099
- fontSize: 13
2099
+ fontSize: 13,
2100
+ height: 7.5
2100
2101
  }
2101
2102
  },
2102
2103
  children: {
@@ -2126,6 +2127,7 @@ const S = Z, se = {
2126
2127
  },
2127
2128
  item: {
2128
2129
  styles: {
2130
+ textWrap: "nowrap",
2129
2131
  display: "flex",
2130
2132
  width: "fit",
2131
2133
  p: 3,
@@ -2334,173 +2336,20 @@ const S = Z, se = {
2334
2336
  children: {
2335
2337
  stats: {
2336
2338
  styles: {
2337
- fontSize: 13,
2338
- color: "gray-500",
2339
- textWrap: "nowrap",
2339
+ fontSize: 11,
2340
+ fontWeight: 500,
2341
+ px: 2,
2342
+ py: 1,
2343
+ borderRadius: 1,
2344
+ bgColor: "violet-100",
2345
+ color: "violet-700",
2340
2346
  theme: {
2341
2347
  dark: {
2342
- color: "gray-400"
2343
- }
2344
- }
2345
- }
2346
- },
2347
- inputWrapper: {
2348
- styles: {
2349
- display: "flex",
2350
- position: "relative"
2351
- },
2352
- children: {
2353
- icon: {
2354
- styles: {
2355
- display: "flex",
2356
- position: "absolute",
2357
- left: 2,
2358
- top: "1/2",
2359
- translateY: "-1/2",
2360
- pointerEvents: "none",
2361
- color: "gray-500",
2362
- theme: {
2363
- dark: {
2364
- color: "gray-400"
2365
- }
2366
- }
2367
- }
2368
- },
2369
- input: {
2370
- styles: {
2371
- display: "inline-block",
2372
- b: 1,
2373
- borderColor: "gray-300",
2374
- bgColor: "white",
2375
- color: "gray-900",
2376
- borderRadius: 2,
2377
- py: 2,
2378
- fontSize: 13,
2379
- focus: {
2380
- outline: 2,
2381
- outlineOffset: 0,
2382
- borderColor: "violet-500",
2383
- outlineColor: "violet-100"
2384
- },
2385
- theme: {
2386
- dark: {
2387
- bgColor: "gray-800",
2388
- borderColor: "gray-700",
2389
- color: "gray-100",
2390
- focus: {
2391
- borderColor: "violet-500",
2392
- outlineColor: "violet-950"
2393
- }
2394
- }
2395
- }
2348
+ bgColor: "violet-900",
2349
+ color: "violet-300"
2396
2350
  }
2397
2351
  },
2398
- clear: {
2399
- styles: {
2400
- display: "flex",
2401
- position: "absolute",
2402
- right: 2,
2403
- top: "1/2",
2404
- translateY: "-1/2",
2405
- cursor: "pointer",
2406
- fontSize: 13,
2407
- color: "gray-500",
2408
- hover: {
2409
- color: "gray-700"
2410
- },
2411
- theme: {
2412
- dark: {
2413
- color: "gray-400",
2414
- hover: {
2415
- color: "gray-200"
2416
- }
2417
- }
2418
- }
2419
- }
2420
- }
2421
- }
2422
- }
2423
- }
2424
- },
2425
- contextMenu: {
2426
- clean: !0,
2427
- styles: {
2428
- cursor: "pointer",
2429
- p: 2,
2430
- borderRadius: 2,
2431
- color: "gray-700",
2432
- hover: {
2433
- bgColor: "gray-100"
2434
- },
2435
- theme: {
2436
- dark: {
2437
- color: "gray-300",
2438
- hover: {
2439
- bgColor: "gray-800"
2440
- }
2441
- }
2442
- }
2443
- },
2444
- children: {
2445
- tooltip: {
2446
- styles: {
2447
- bgColor: "white",
2448
- color: "gray-900",
2449
- width: 56,
2450
- b: 1,
2451
- borderColor: "gray-300",
2452
- borderRadius: 3,
2453
- display: "flex",
2454
- d: "column",
2455
- mt: 2,
2456
- py: 2,
2457
- translateX: -1,
2458
- shadow: "large",
2459
- overflow: "auto",
2460
- maxHeight: 100,
2461
- theme: {
2462
- dark: {
2463
- bgColor: "gray-800",
2464
- borderColor: "gray-700",
2465
- color: "gray-100"
2466
- }
2467
- }
2468
- },
2469
- children: {
2470
- item: {
2471
- clean: !0,
2472
- styles: {
2473
- display: "flex",
2474
- gap: 2,
2475
- p: 3,
2476
- cursor: "pointer",
2477
- color: "gray-900",
2478
- hover: {
2479
- bgColor: "violet-50"
2480
- },
2481
- theme: {
2482
- dark: {
2483
- color: "gray-100",
2484
- hover: {
2485
- bgColor: "gray-700"
2486
- }
2487
- }
2488
- }
2489
- },
2490
- children: {
2491
- icon: {
2492
- styles: {
2493
- width: 4,
2494
- color: "violet-950",
2495
- theme: {
2496
- dark: {
2497
- color: "violet-300"
2498
- }
2499
- }
2500
- }
2501
- }
2502
- }
2503
- }
2352
+ textWrap: "nowrap"
2504
2353
  }
2505
2354
  }
2506
2355
  }
@@ -2645,9 +2494,6 @@ const S = Z, se = {
2645
2494
  }
2646
2495
  }
2647
2496
  },
2648
- variants: {
2649
- isResizeMode: { userSelect: "none" }
2650
- },
2651
2497
  children: {
2652
2498
  cell: {
2653
2499
  styles: {
@@ -2713,7 +2559,10 @@ const S = Z, se = {
2713
2559
  },
2714
2560
  isRowSelected: {},
2715
2561
  isRowSelection: {},
2716
- isRowNumber: { jc: "center" }
2562
+ isRowNumber: { jc: "center" },
2563
+ isFirstLeaf: {},
2564
+ isLastLeaf: {},
2565
+ isEmptyCell: {}
2717
2566
  },
2718
2567
  children: {
2719
2568
  contextMenu: {
@@ -2880,7 +2729,10 @@ const S = Z, se = {
2880
2729
  isLastRightPinned: {},
2881
2730
  isRowNumber: { jc: "right" },
2882
2731
  isRowSelection: {},
2883
- isRowSelected: {}
2732
+ isRowSelected: {},
2733
+ isFirstLeaf: {},
2734
+ isLastLeaf: {},
2735
+ isEmptyCell: {}
2884
2736
  }
2885
2737
  }
2886
2738
  }
@@ -2911,13 +2763,13 @@ const S = Z, se = {
2911
2763
  };
2912
2764
  var J;
2913
2765
  ((e) => {
2914
- function r(a, o, n) {
2915
- return d.setUserVariables(a), Object.entries(o).forEach(([s, u]) => {
2766
+ function r(a, t, n) {
2767
+ return d.setUserVariables(a), Object.entries(t).forEach(([s, u]) => {
2916
2768
  L[s] = u;
2917
2769
  }), Object.entries(n).forEach(([s, u]) => {
2918
2770
  const i = L[s];
2919
2771
  L[s] = i ? [...u, ...i] : u;
2920
- }), { extendedProps: o, extendedPropTypes: n };
2772
+ }), { extendedProps: t, extendedPropTypes: n };
2921
2773
  }
2922
2774
  e.extend = r, e.componentsStyles = se;
2923
2775
  function l(a) {
@@ -2928,14 +2780,14 @@ var J;
2928
2780
  const $e = J, Q = we.createContext({ theme: "", setTheme: () => {
2929
2781
  } });
2930
2782
  function ee(e) {
2931
- const { children: r, theme: l, use: a = "local" } = e, [o, n] = de(l);
2783
+ const { children: r, theme: l, use: a = "local" } = e, [t, n] = de(l);
2932
2784
  return ae(() => {
2933
2785
  if (a === "local") return;
2934
2786
  const s = document.documentElement;
2935
- return s.classList.add(o), () => {
2936
- s.classList.remove(o);
2787
+ return s.classList.add(t), () => {
2788
+ s.classList.remove(t);
2937
2789
  };
2938
- }, [o, a]), a === "local" ? /* @__PURE__ */ z(Q.Provider, { value: { theme: o, setTheme: n }, children: /* @__PURE__ */ z(Ne, { className: o, children: r }) }) : /* @__PURE__ */ z(Q.Provider, { value: { theme: o, setTheme: n }, children: r });
2790
+ }, [t, a]), a === "local" ? /* @__PURE__ */ z(Q.Provider, { value: { theme: t, setTheme: n }, children: /* @__PURE__ */ z(Ne, { className: t, children: r }) }) : /* @__PURE__ */ z(Q.Provider, { value: { theme: t, setTheme: n }, children: r });
2939
2791
  }
2940
2792
  ((e) => {
2941
2793
  function r() {
@@ -2953,10 +2805,10 @@ class ke {
2953
2805
  return this._cache[r] || (this._cache[r] = this.getByIndex(this._index++)), this._cache[r];
2954
2806
  }
2955
2807
  getByIndex(r) {
2956
- const { first: l, next: a } = Re, o = r - l.length;
2957
- if (o < 0)
2808
+ const { first: l, next: a } = Re, t = r - l.length;
2809
+ if (t < 0)
2958
2810
  return l[r];
2959
- const n = Math.floor(o / a.length), s = o - n * a.length;
2811
+ const n = Math.floor(t / a.length), s = t - n * a.length;
2960
2812
  return this.getByIndex(n) + a[s];
2961
2813
  }
2962
2814
  }
@@ -2968,9 +2820,9 @@ function Se(e) {
2968
2820
  const { clean: r, component: l, variant: a } = e;
2969
2821
  return le(() => {
2970
2822
  if (r) return;
2971
- const o = l?.split(".");
2972
- if (!o) return;
2973
- const n = o.reduce((i, m, f) => f === 0 ? $e.componentsStyles[m] : i?.children?.[m], void 0);
2823
+ const t = l?.split(".");
2824
+ if (!t) return;
2825
+ const n = t.reduce((i, m, f) => f === 0 ? $e.componentsStyles[m] : i?.children?.[m], void 0);
2974
2826
  if (!n) return;
2975
2827
  if (!a) return n.styles;
2976
2828
  const s = fe(a);
@@ -2979,17 +2831,17 @@ function Se(e) {
2979
2831
  return n.styles ? S.mergeDeep(n.styles, u) : u;
2980
2832
  }, [r, l, a]);
2981
2833
  }
2982
- const Ae = new ke(), Oe = typeof window < "u" && typeof window.document < "u", H = typeof process == "object" && process.env?.NODE_ENV === "test", je = Oe && !H ? ae : ge, be = "_b", E = "_s";
2834
+ const Ae = new ke(), Oe = typeof window < "u" && typeof window.document < "u", H = typeof process == "object" && process.env?.NODE_ENV === "test", je = Oe && !H ? ae : ge, be = "_b", I = "_s";
2983
2835
  function He(e, r) {
2984
- const l = Se(e), a = le(() => l ? S.mergeDeep(l, e) : e, [e, l]), o = [r ? E : be];
2985
- return B.addClassNames(a, o, []), je(() => {
2836
+ const l = Se(e), a = le(() => l ? S.mergeDeep(l, e) : e, [e, l]), t = [r ? I : be];
2837
+ return B.addClassNames(a, t, []), je(() => {
2986
2838
  B.flush();
2987
- }, [a]), o;
2839
+ }, [a]), t;
2988
2840
  }
2989
2841
  var B;
2990
2842
  ((e) => {
2991
2843
  let r = !0, l = !1;
2992
- const a = /* @__PURE__ */ new Set(), o = [], n = [];
2844
+ const a = /* @__PURE__ */ new Set(), t = [], n = [];
2993
2845
  let s = 0;
2994
2846
  const u = Object.keys(L).reduce((b, h, w) => (b[h] = w, b), {});
2995
2847
  let i = {};
@@ -3010,14 +2862,14 @@ var B;
3010
2862
  }) : S.isKeyOf(v, ie) && Object.entries(c).forEach(([F, N]) => {
3011
2863
  const $ = [...w, ie[v]];
3012
2864
  Object.entries(N).forEach(([V, O]) => {
3013
- S.isKeyOf(V, P) ? Object.entries(O).forEach(([M, j]) => {
2865
+ S.isKeyOf(V, P) ? Object.entries(O).forEach(([G, j]) => {
3014
2866
  m(
3015
2867
  j,
3016
2868
  h,
3017
2869
  [...$, P[V]],
3018
2870
  p,
3019
2871
  // Use | as separator to distinguish theme from group name
3020
- `${F}|${M}`
2872
+ `${F}|${G}`
3021
2873
  );
3022
2874
  }) : m({ [V]: O }, h, $, p, F);
3023
2875
  });
@@ -3054,8 +2906,8 @@ var B;
3054
2906
  'input[type="number"]{-moz-appearance: textfield;}',
3055
2907
  'input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{-webkit-appearance: none;margin: 0;}',
3056
2908
  `.${be}{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;}`,
3057
- `.${E}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;transition: all var(--svgTransitionTime);}`,
3058
- `.${E} path,.${E} circle,.${E} rect,.${E} line {transition: all var(--svgTransitionTime);}`
2909
+ `.${I}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;transition: all var(--svgTransitionTime);}`,
2910
+ `.${I} path,.${I} circle,.${I} rect,.${I} line {transition: all var(--svgTransitionTime);}`
3059
2911
  ];
3060
2912
  if (w && !H)
3061
2913
  for (const g of p)
@@ -3068,9 +2920,9 @@ var B;
3068
2920
  `);
3069
2921
  l = !0;
3070
2922
  }
3071
- if (o.length > 0) {
3072
- if (o.sort((p, g) => p[1] - g[1] || p[0] - g[0]), w && !H)
3073
- for (const [p, g, v] of o) {
2923
+ if (t.length > 0) {
2924
+ if (t.sort((p, g) => p[1] - g[1] || p[0] - g[0]), w && !H)
2925
+ for (const [p, g, v] of t) {
3074
2926
  const c = g * 1e5 + p;
3075
2927
  let F = n.length;
3076
2928
  for (let N = 0; N < n.length; N++)
@@ -3085,8 +2937,8 @@ var B;
3085
2937
  }
3086
2938
  }
3087
2939
  else
3088
- h.textContent += o.map((p) => p[2]).join("");
3089
- o.length = 0;
2940
+ h.textContent += t.map((p) => p[2]).join("");
2941
+ t.length = 0;
3090
2942
  }
3091
2943
  r = !1;
3092
2944
  }
@@ -3102,21 +2954,21 @@ var B;
3102
2954
  g
3103
2955
  );
3104
2956
  if (g) {
3105
- const V = q[w], O = V.includes("theme"), j = (O ? V.filter((I) => I !== "theme") : V).map((I) => W[I]).join(""), G = g.includes("|");
2957
+ const V = q[w], O = V.includes("theme"), j = (O ? V.filter((E) => E !== "theme") : V).map((E) => W[E]).join(""), M = g.includes("|");
3106
2958
  let A;
3107
- if (G) {
3108
- const [I, Ce] = g.split("|");
3109
- A = `.${I} .${Ce}${j} .${$}`;
2959
+ if (M) {
2960
+ const [E, Ce] = g.split("|");
2961
+ A = `.${E} .${Ce}${j} .${$}`;
3110
2962
  } else O ? A = `.${g} .${$}${j}` : A = `.${g}${j} .${$}`;
3111
- const he = c.selector?.(A, "") ?? A, ve = Array.isArray(c.styleName) ? c.styleName : [c.styleName ?? b], pe = c.valueFormat?.(h, d.getVariableValue) ?? h, ne = `${he}{${ve.map((I) => `${I}:${pe}`).join(";")}}`;
2963
+ const he = c.selector?.(A, "") ?? A, ve = Array.isArray(c.styleName) ? c.styleName : [c.styleName ?? b], pe = c.valueFormat?.(h, d.getVariableValue) ?? h, ne = `${he}{${ve.map((E) => `${E}:${pe}`).join(";")}}`;
3112
2964
  return p !== "normal" ? { rule: `@media(min-width: ${D[p]}px){${ne}}`, sortIndex: F, breakpointOrder: N } : { rule: ne, sortIndex: F, breakpointOrder: N };
3113
2965
  } else {
3114
- const V = q[w].map((A) => W[A]).join(""), O = c.selector?.(`.${$}`, V) ?? `.${$}${V}`, M = Array.isArray(c.styleName) ? c.styleName : [c.styleName ?? b], j = c.valueFormat?.(h, d.getVariableValue) ?? h, G = `${O}{${M.map((A) => `${A}:${j}`).join(";")}}`;
3115
- return p !== "normal" ? { rule: `@media(min-width: ${D[p]}px){${G}}`, sortIndex: F, breakpointOrder: N } : { rule: G, sortIndex: F, breakpointOrder: N };
2966
+ const V = q[w].map((A) => W[A]).join(""), O = c.selector?.(`.${$}`, V) ?? `.${$}${V}`, G = Array.isArray(c.styleName) ? c.styleName : [c.styleName ?? b], j = c.valueFormat?.(h, d.getVariableValue) ?? h, M = `${O}{${G.map((A) => `${A}:${j}`).join(";")}}`;
2967
+ return p !== "normal" ? { rule: `@media(min-width: ${D[p]}px){${M}}`, sortIndex: F, breakpointOrder: N } : { rule: M, sortIndex: F, breakpointOrder: N };
3116
2968
  }
3117
2969
  }
3118
2970
  function k() {
3119
- i = {}, a.clear(), o.length = 0, n.length = 0, s = 0, l = !1;
2971
+ i = {}, a.clear(), t.length = 0, n.length = 0, s = 0, l = !1;
3120
2972
  }
3121
2973
  e.clear = k;
3122
2974
  function x(b, h, w, p, g = "normal", v) {
@@ -3125,7 +2977,7 @@ var B;
3125
2977
  if (!a.has(N)) {
3126
2978
  a.add(N);
3127
2979
  const $ = y(b, h, c, g, v);
3128
- $ && (o.push([$.sortIndex, $.breakpointOrder, $.rule]), r = !0), i[g] ? i[g][c] ? i[g][c][b] || (i[g][c][b] = /* @__PURE__ */ new Set()) : i[g][c] = { [b]: /* @__PURE__ */ new Set() } : i[g] = { [c]: { [b]: /* @__PURE__ */ new Set() } }, v ? (i[g][c].__parents ? i[g][c].__parents[v] ? i[g][c].__parents[v][b] || (i[g][c].__parents[v][b] = /* @__PURE__ */ new Set()) : i[g][c].__parents[v] = { [b]: /* @__PURE__ */ new Set() } : i[g][c].__parents = { [v]: { [b]: /* @__PURE__ */ new Set() } }, i[g][c].__parents[v][b].add(h)) : i[g][c][b].add(h);
2980
+ $ && (t.push([$.sortIndex, $.breakpointOrder, $.rule]), r = !0), i[g] ? i[g][c] ? i[g][c][b] || (i[g][c][b] = /* @__PURE__ */ new Set()) : i[g][c] = { [b]: /* @__PURE__ */ new Set() } : i[g] = { [c]: { [b]: /* @__PURE__ */ new Set() } }, v ? (i[g][c].__parents ? i[g][c].__parents[v] ? i[g][c].__parents[v][b] || (i[g][c].__parents[v][b] = /* @__PURE__ */ new Set()) : i[g][c].__parents[v] = { [b]: /* @__PURE__ */ new Set() } : i[g][c].__parents = { [v]: { [b]: /* @__PURE__ */ new Set() } }, i[g][c].__parents[v][b].add(h)) : i[g][c][b].add(h);
3129
2981
  }
3130
2982
  w.push(F);
3131
2983
  }
@@ -3154,11 +3006,11 @@ Array.prototype.add || (Array.prototype.add = function(...e) {
3154
3006
  return r.push(...e), r;
3155
3007
  });
3156
3008
  Array.prototype.sumBy || (Array.prototype.sumBy = function(e, r = 0) {
3157
- return this.reduce((l, a, o) => l + e(a, o), r);
3009
+ return this.reduce((l, a, t) => l + e(a, t), r);
3158
3010
  });
3159
3011
  Array.prototype.sortBy || (Array.prototype.sortBy = function(e, r) {
3160
- return [...this].sort((a, o) => {
3161
- const n = e(a), s = e(o);
3012
+ return [...this].sort((a, t) => {
3013
+ const n = e(a), s = e(t);
3162
3014
  return n < s ? r === "DESC" ? 1 : -1 : n > s ? r === "DESC" ? -1 : 1 : 0;
3163
3015
  });
3164
3016
  });
@@ -3175,21 +3027,21 @@ Array.prototype.toRecord || (Array.prototype.toRecord = function(e) {
3175
3027
  (r, l) => {
3176
3028
  const a = e(l);
3177
3029
  if (!a) return r;
3178
- const [o, n] = a;
3179
- return r[o] = n, r;
3030
+ const [t, n] = a;
3031
+ return r[t] = n, r;
3180
3032
  },
3181
3033
  {}
3182
3034
  );
3183
3035
  });
3184
3036
  Array.prototype.groupBy || (Array.prototype.groupBy = function(e, r = !1) {
3185
- const l = this.reduce((a, o, n) => {
3186
- const s = e(o, n);
3187
- return r && typeof s != "number" && !s || (a.has(s) === !1 && a.set(s, []), a.get(s)?.push(o)), a;
3037
+ const l = this.reduce((a, t, n) => {
3038
+ const s = e(t, n);
3039
+ return r && typeof s != "number" && !s || (a.has(s) === !1 && a.set(s, []), a.get(s)?.push(t)), a;
3188
3040
  }, /* @__PURE__ */ new Map());
3189
- return Array.from(l, ([a, o]) => ({ key: a, values: o }));
3041
+ return Array.from(l, ([a, t]) => ({ key: a, values: t }));
3190
3042
  });
3191
- function Me(e) {
3192
- const { node: r = null, event: l = "click", hideOnScroll: a = !1, hideOnResize: o = !1, hideOnEscape: n = !0 } = e ?? {}, [s, u] = de(!1), i = Fe(null);
3043
+ function Ge(e) {
3044
+ const { node: r = null, event: l = "click", hideOnScroll: a = !1, hideOnResize: t = !1, hideOnEscape: n = !0 } = e ?? {}, [s, u] = de(!1), i = Fe(null);
3193
3045
  return ge(() => {
3194
3046
  function m(C) {
3195
3047
  (r ?? i.current)?.contains(C.target) === !1 && u(!1);
@@ -3204,22 +3056,22 @@ function Me(e) {
3204
3056
  C.key === "Escape" && u(!1);
3205
3057
  }
3206
3058
  const x = new AbortController();
3207
- return s && (window.addEventListener(l, m, x), n && window.addEventListener("keydown", k, x), o && window.addEventListener("resize", f, x), a && window.addEventListener("scroll", y, { signal: x.signal, capture: !0 })), () => {
3059
+ return s && (window.addEventListener(l, m, x), n && window.addEventListener("keydown", k, x), t && window.addEventListener("resize", f, x), a && window.addEventListener("scroll", y, { signal: x.signal, capture: !0 })), () => {
3208
3060
  x.abort();
3209
3061
  };
3210
3062
  }, [r, s]), [s, u, i];
3211
3063
  }
3212
- const Ie = {
3064
+ const Ee = {
3213
3065
  selected: "aria-selected"
3214
3066
  };
3215
3067
  var ce;
3216
3068
  ((e) => {
3217
- function r(l, a, o) {
3218
- l !== void 0 && l != null && (o[Ie[a] ?? a] = Array.isArray(l) ? l[0] : l);
3069
+ function r(l, a, t) {
3070
+ l !== void 0 && l != null && (t[Ee[a] ?? a] = Array.isArray(l) ? l[0] : l);
3219
3071
  }
3220
3072
  e.assignBooleanProp = r;
3221
3073
  })(ce || (ce = {}));
3222
- function Ge(e) {
3074
+ function Me(e) {
3223
3075
  let r;
3224
3076
  return Object.defineProperty({
3225
3077
  clear() {
@@ -3229,31 +3081,31 @@ function Ge(e) {
3229
3081
  get: () => (r === void 0 && (r = e()), r)
3230
3082
  });
3231
3083
  }
3232
- function Ee(e, r) {
3084
+ function Ie(e, r) {
3233
3085
  if (!e) return { score: 1, matches: [] };
3234
3086
  if (!r) return null;
3235
3087
  const l = e.toLowerCase(), a = r.toLowerCase();
3236
- let o = 0, n = 0;
3088
+ let t = 0, n = 0;
3237
3089
  const s = [];
3238
3090
  let u = -1, i = 0, m = 0;
3239
- for (; o < l.length && n < a.length; )
3240
- l[o] === a[n] ? (u === -1 && (u = n), o++, m++, i += m, (n === 0 || /\s|_|-/.test(r[n - 1])) && (i += 5), e[o - 1] === r[n] && (i += 1)) : (u !== -1 && (s.push([u, n]), u = -1), m = 0), n++;
3241
- return u !== -1 && s.push([u, n]), o < l.length ? null : (i = i / r.length, { score: i, matches: s });
3091
+ for (; t < l.length && n < a.length; )
3092
+ l[t] === a[n] ? (u === -1 && (u = n), t++, m++, i += m, (n === 0 || /\s|_|-/.test(r[n - 1])) && (i += 5), e[t - 1] === r[n] && (i += 1)) : (u !== -1 && (s.push([u, n]), u = -1), m = 0), n++;
3093
+ return u !== -1 && s.push([u, n]), t < l.length ? null : (i = i / r.length, { score: i, matches: s });
3242
3094
  }
3243
3095
  function Pe(e, r) {
3244
- return Ee(e, r) !== null;
3096
+ return Ie(e, r) !== null;
3245
3097
  }
3246
3098
  var re;
3247
3099
  ((e) => {
3248
3100
  function r(l, a = 300) {
3249
- let o = !1, n;
3101
+ let t = !1, n;
3250
3102
  return (...s) => {
3251
- if (o) {
3103
+ if (t) {
3252
3104
  n = s;
3253
3105
  return;
3254
3106
  }
3255
- l(...s), o = !0, setTimeout(() => {
3256
- o = !1, n && l(...n);
3107
+ l(...s), t = !0, setTimeout(() => {
3108
+ t = !1, n && l(...n);
3257
3109
  }, a);
3258
3110
  };
3259
3111
  }
@@ -3281,8 +3133,8 @@ function We() {
3281
3133
  if (!e) return;
3282
3134
  const l = _.get(e) ?? 0;
3283
3135
  return _.set(e, l + 1), l === 0 && r.classList.add(e), () => {
3284
- const o = (_.get(e) ?? 1) - 1;
3285
- o <= 0 ? (_.delete(e), r.classList.remove(e)) : _.set(e, o);
3136
+ const t = (_.get(e) ?? 1) - 1;
3137
+ t <= 0 ? (_.delete(e), r.classList.remove(e)) : _.set(e, t);
3286
3138
  };
3287
3139
  }, [r, e]), r;
3288
3140
  }
@@ -3298,34 +3150,34 @@ function qe(e) {
3298
3150
  }
3299
3151
  ) });
3300
3152
  }
3301
- function Ye(e) {
3153
+ function Xe(e) {
3302
3154
  return /* @__PURE__ */ z(T, { viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ z("path", { d: "M3 5h8v2H3V5zm0 6h8v2H3v-2zm0 6h8v2H3v-2zm12-12h6v6h-6V5zm1 1v4h4V6h-4zm-1 7h6v6h-6v-6zm1 1v4h4v-4h-4z" }) });
3303
3155
  }
3304
- function Xe(e) {
3156
+ function Ye(e) {
3305
3157
  return /* @__PURE__ */ z(T, { viewBox: "0 0 1024 1024", ...e, children: /* @__PURE__ */ z("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" }) });
3306
3158
  }
3307
- var oe;
3159
+ var te;
3308
3160
  ((e) => {
3309
3161
  function r(l) {
3310
3162
  return l.charAt(0).toUpperCase() + l.slice(1);
3311
3163
  }
3312
3164
  e.capitalize = r;
3313
- })(oe || (oe = {}));
3314
- const Ze = oe;
3165
+ })(te || (te = {}));
3166
+ const Ze = te;
3315
3167
  function Je(e) {
3316
3168
  return /* @__PURE__ */ z(T, { viewBox: "0 0 488.4 488.4", ...e, children: /* @__PURE__ */ z("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" }) });
3317
3169
  }
3318
- var te;
3170
+ var oe;
3319
3171
  ((e) => {
3320
3172
  function r(a) {
3321
- const o = Array.from(a.elements).reduce(
3173
+ const t = Array.from(a.elements).reduce(
3322
3174
  (n, s) => {
3323
3175
  const u = s.name;
3324
3176
  return u && (n[u] || (n[u] = []), n[u].push(s)), n;
3325
3177
  },
3326
3178
  {}
3327
3179
  );
3328
- return Object.entries(o).reduce((n, [s, u]) => {
3180
+ return Object.entries(t).reduce((n, [s, u]) => {
3329
3181
  if (u.length === 1) {
3330
3182
  const i = u[0];
3331
3183
  l(n, s, i.type === "checkbox" || i.type === "radio" ? i.checked : i.value);
@@ -3337,9 +3189,9 @@ var te;
3337
3189
  }, {});
3338
3190
  }
3339
3191
  e.getFormEntries = r;
3340
- function l(a, o, n) {
3341
- if (o.includes(".")) {
3342
- const s = o.split(".");
3192
+ function l(a, t, n) {
3193
+ if (t.includes(".")) {
3194
+ const s = t.split(".");
3343
3195
  let u = a;
3344
3196
  s.forEach((i, m) => {
3345
3197
  if (s.length > m + 1) {
@@ -3353,23 +3205,23 @@ var te;
3353
3205
  u[i] = n;
3354
3206
  });
3355
3207
  } else
3356
- a[o] = n;
3208
+ a[t] = n;
3357
3209
  }
3358
- })(te || (te = {}));
3359
- const Qe = te;
3210
+ })(oe || (oe = {}));
3211
+ const Qe = oe;
3360
3212
  export {
3361
3213
  ce as B,
3362
3214
  qe as D,
3363
3215
  Ue as E,
3364
3216
  De as F,
3365
- Ye as G,
3217
+ Xe as G,
3366
3218
  S as O,
3367
- Xe as P,
3219
+ Ye as P,
3368
3220
  Ke as S,
3369
3221
  ze as T,
3370
3222
  d as V,
3371
3223
  $e as a,
3372
- Me as b,
3224
+ Ge as b,
3373
3225
  fe as c,
3374
3226
  Je as d,
3375
3227
  Qe as e,
@@ -3377,6 +3229,6 @@ export {
3377
3229
  Ze as g,
3378
3230
  We as h,
3379
3231
  ue as i,
3380
- Ge as m,
3232
+ Me as m,
3381
3233
  He as u
3382
3234
  };