@cronocode/react-box 3.1.11 → 3.1.13
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/BOX_AI_CONTEXT.md +48 -0
- package/core/boxStyles.d.ts +4 -2
- package/core/boxStylesFormatters.d.ts +1 -1
- package/core/coreTypes.d.ts +1 -1
- package/core.cjs +3 -3
- package/core.mjs +279 -272
- package/package.json +1 -1
package/core.mjs
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Ce, { useContext as we, useState as ge, useLayoutEffect as U, useMemo as ne, useEffect as fe, useRef as xe } from "react";
|
|
2
2
|
import { jsx as S } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
function
|
|
6
|
-
return e.reduce((r,
|
|
3
|
+
import _ from "./components/baseSvg.mjs";
|
|
4
|
+
import Ne from "./box.mjs";
|
|
5
|
+
function me(...e) {
|
|
6
|
+
return e.reduce((r, a) => a ? typeof a == "string" ? (r.push(a), r) : Array.isArray(a) ? (r.push(...me(...a)), r) : (Object.entries(a).forEach(([o, t]) => {
|
|
7
7
|
t && r.push(o);
|
|
8
8
|
}), r) : r, []);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
11
|
-
var
|
|
10
|
+
const Z = 4;
|
|
11
|
+
var l;
|
|
12
12
|
((e) => {
|
|
13
13
|
((r) => {
|
|
14
|
-
function
|
|
14
|
+
function a(t, n) {
|
|
15
15
|
return `${t}${n.replace("/", "-")}`;
|
|
16
16
|
}
|
|
17
|
-
r.fraction =
|
|
17
|
+
r.fraction = a;
|
|
18
18
|
function o(t) {
|
|
19
19
|
return [`${t} path`, `${t} circle`, `${t} rect`, `${t} line`];
|
|
20
20
|
}
|
|
21
21
|
r.svg = o;
|
|
22
22
|
})(e.ClassName || (e.ClassName = {})), ((r) => {
|
|
23
|
-
function
|
|
24
|
-
return `${x /
|
|
23
|
+
function a(x) {
|
|
24
|
+
return `${x / Z}rem`;
|
|
25
25
|
}
|
|
26
|
-
r.rem =
|
|
26
|
+
r.rem = a;
|
|
27
27
|
function o(x) {
|
|
28
28
|
return `${x}px`;
|
|
29
29
|
}
|
|
@@ -73,8 +73,8 @@ var a;
|
|
|
73
73
|
}
|
|
74
74
|
r.flip = z;
|
|
75
75
|
})(e.Value || (e.Value = {}));
|
|
76
|
-
})(
|
|
77
|
-
var
|
|
76
|
+
})(l || (l = {}));
|
|
77
|
+
var Q;
|
|
78
78
|
((e) => {
|
|
79
79
|
e.colors = {
|
|
80
80
|
currentColor: "currentColor",
|
|
@@ -398,13 +398,13 @@ var Z;
|
|
|
398
398
|
"-10/12",
|
|
399
399
|
"-11/12"
|
|
400
400
|
], e.percentString = "";
|
|
401
|
-
const
|
|
401
|
+
const a = { ...{
|
|
402
402
|
inherit: "inherit",
|
|
403
403
|
none: "none"
|
|
404
404
|
}, ...e.colors, ...e.bgImages, ...e.shadows }, o = {}, t = {};
|
|
405
405
|
let n = {};
|
|
406
406
|
function s(y) {
|
|
407
|
-
return y in o || (y in n ? (t[y] = n[y], o[y] = n[y]) : y in
|
|
407
|
+
return y in o || (y in n ? (t[y] = n[y], o[y] = n[y]) : y in a ? (t[y] = a[y], o[y] = a[y]) : (t[y] = y, o[y] = y)), `var(--${y})`;
|
|
408
408
|
}
|
|
409
409
|
e.getVariableValue = s;
|
|
410
410
|
function c() {
|
|
@@ -424,8 +424,8 @@ var Z;
|
|
|
424
424
|
n = y;
|
|
425
425
|
}
|
|
426
426
|
e.setUserVariables = f;
|
|
427
|
-
})(
|
|
428
|
-
const i =
|
|
427
|
+
})(Q || (Q = {}));
|
|
428
|
+
const i = Q, B = {
|
|
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 i = Z, L = {
|
|
|
437
437
|
{
|
|
438
438
|
values: 0,
|
|
439
439
|
styleName: "border-width",
|
|
440
|
-
valueFormat:
|
|
440
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
445
445
|
{
|
|
446
446
|
values: 0,
|
|
447
447
|
styleName: "border-inline-width",
|
|
448
|
-
valueFormat:
|
|
448
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
453
453
|
{
|
|
454
454
|
values: 0,
|
|
455
455
|
styleName: "border-block-width",
|
|
456
|
-
valueFormat:
|
|
456
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
461
461
|
{
|
|
462
462
|
values: 0,
|
|
463
463
|
styleName: "border-top-width",
|
|
464
|
-
valueFormat:
|
|
464
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
469
469
|
{
|
|
470
470
|
values: 0,
|
|
471
471
|
styleName: "border-right-width",
|
|
472
|
-
valueFormat:
|
|
472
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
477
477
|
{
|
|
478
478
|
values: 0,
|
|
479
479
|
styleName: "border-bottom-width",
|
|
480
|
-
valueFormat:
|
|
480
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
485
485
|
{
|
|
486
486
|
values: 0,
|
|
487
487
|
styleName: "border-left-width",
|
|
488
|
-
valueFormat:
|
|
488
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
500
500
|
{
|
|
501
501
|
styleName: "border-radius",
|
|
502
502
|
values: 0,
|
|
503
|
-
valueFormat:
|
|
503
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
508
508
|
{
|
|
509
509
|
values: 0,
|
|
510
510
|
styleName: ["border-top-left-radius", "border-top-right-radius"],
|
|
511
|
-
valueFormat:
|
|
511
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
516
516
|
{
|
|
517
517
|
values: 0,
|
|
518
518
|
styleName: ["border-top-right-radius", "border-bottom-right-radius"],
|
|
519
|
-
valueFormat:
|
|
519
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
524
524
|
{
|
|
525
525
|
values: 0,
|
|
526
526
|
styleName: ["border-bottom-left-radius", "border-bottom-right-radius"],
|
|
527
|
-
valueFormat:
|
|
527
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
532
532
|
{
|
|
533
533
|
values: 0,
|
|
534
534
|
styleName: ["border-top-left-radius", "border-bottom-left-radius"],
|
|
535
|
-
valueFormat:
|
|
535
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
540
540
|
{
|
|
541
541
|
values: 0,
|
|
542
542
|
styleName: "border-top-left-radius",
|
|
543
|
-
valueFormat:
|
|
543
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
548
548
|
{
|
|
549
549
|
values: 0,
|
|
550
550
|
styleName: "border-top-right-radius",
|
|
551
|
-
valueFormat:
|
|
551
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
556
556
|
{
|
|
557
557
|
values: 0,
|
|
558
558
|
styleName: "border-bottom-right-radius",
|
|
559
|
-
valueFormat:
|
|
559
|
+
valueFormat: l.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 i = Z, L = {
|
|
|
564
564
|
{
|
|
565
565
|
values: 0,
|
|
566
566
|
styleName: "border-bottom-left-radius",
|
|
567
|
-
valueFormat:
|
|
567
|
+
valueFormat: l.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,15 +577,15 @@ const i = Z, L = {
|
|
|
577
577
|
top: [
|
|
578
578
|
{
|
|
579
579
|
values: 0,
|
|
580
|
-
valueFormat:
|
|
580
|
+
valueFormat: l.Value.rem
|
|
581
581
|
},
|
|
582
582
|
{
|
|
583
583
|
values: i.percentages,
|
|
584
|
-
valueFormat:
|
|
584
|
+
valueFormat: l.Value.fraction
|
|
585
585
|
},
|
|
586
586
|
{
|
|
587
587
|
values: i.negativePercentages,
|
|
588
|
-
valueFormat:
|
|
588
|
+
valueFormat: l.Value.fraction
|
|
589
589
|
},
|
|
590
590
|
{
|
|
591
591
|
values: i.percentString
|
|
@@ -595,15 +595,15 @@ const i = Z, L = {
|
|
|
595
595
|
right: [
|
|
596
596
|
{
|
|
597
597
|
values: 0,
|
|
598
|
-
valueFormat:
|
|
598
|
+
valueFormat: l.Value.rem
|
|
599
599
|
},
|
|
600
600
|
{
|
|
601
601
|
values: i.percentages,
|
|
602
|
-
valueFormat:
|
|
602
|
+
valueFormat: l.Value.fraction
|
|
603
603
|
},
|
|
604
604
|
{
|
|
605
605
|
values: i.negativePercentages,
|
|
606
|
-
valueFormat:
|
|
606
|
+
valueFormat: l.Value.fraction
|
|
607
607
|
},
|
|
608
608
|
{
|
|
609
609
|
values: i.percentString
|
|
@@ -613,15 +613,15 @@ const i = Z, L = {
|
|
|
613
613
|
bottom: [
|
|
614
614
|
{
|
|
615
615
|
values: 0,
|
|
616
|
-
valueFormat:
|
|
616
|
+
valueFormat: l.Value.rem
|
|
617
617
|
},
|
|
618
618
|
{
|
|
619
619
|
values: i.percentages,
|
|
620
|
-
valueFormat:
|
|
620
|
+
valueFormat: l.Value.fraction
|
|
621
621
|
},
|
|
622
622
|
{
|
|
623
623
|
values: i.negativePercentages,
|
|
624
|
-
valueFormat:
|
|
624
|
+
valueFormat: l.Value.fraction
|
|
625
625
|
},
|
|
626
626
|
{
|
|
627
627
|
values: i.percentString
|
|
@@ -631,15 +631,15 @@ const i = Z, L = {
|
|
|
631
631
|
left: [
|
|
632
632
|
{
|
|
633
633
|
values: 0,
|
|
634
|
-
valueFormat:
|
|
634
|
+
valueFormat: l.Value.rem
|
|
635
635
|
},
|
|
636
636
|
{
|
|
637
637
|
values: i.percentages,
|
|
638
|
-
valueFormat:
|
|
638
|
+
valueFormat: l.Value.fraction
|
|
639
639
|
},
|
|
640
640
|
{
|
|
641
641
|
values: i.negativePercentages,
|
|
642
|
-
valueFormat:
|
|
642
|
+
valueFormat: l.Value.fraction
|
|
643
643
|
},
|
|
644
644
|
{
|
|
645
645
|
values: i.percentString
|
|
@@ -649,7 +649,7 @@ const i = Z, L = {
|
|
|
649
649
|
inset: [
|
|
650
650
|
{
|
|
651
651
|
values: 0,
|
|
652
|
-
valueFormat:
|
|
652
|
+
valueFormat: l.Value.rem
|
|
653
653
|
},
|
|
654
654
|
{
|
|
655
655
|
values: i.percentString
|
|
@@ -831,7 +831,7 @@ const i = Z, L = {
|
|
|
831
831
|
{
|
|
832
832
|
styleName: "font-size",
|
|
833
833
|
values: 0,
|
|
834
|
-
valueFormat: (e) =>
|
|
834
|
+
valueFormat: (e) => `${e / 16}rem`
|
|
835
835
|
},
|
|
836
836
|
{
|
|
837
837
|
styleName: "font-size",
|
|
@@ -856,7 +856,7 @@ const i = Z, L = {
|
|
|
856
856
|
gap: [
|
|
857
857
|
{
|
|
858
858
|
values: 0,
|
|
859
|
-
valueFormat:
|
|
859
|
+
valueFormat: l.Value.rem
|
|
860
860
|
},
|
|
861
861
|
{
|
|
862
862
|
values: i.percentString
|
|
@@ -867,7 +867,7 @@ const i = Z, L = {
|
|
|
867
867
|
{
|
|
868
868
|
styleName: "row-gap",
|
|
869
869
|
values: 0,
|
|
870
|
-
valueFormat:
|
|
870
|
+
valueFormat: l.Value.rem
|
|
871
871
|
},
|
|
872
872
|
{
|
|
873
873
|
styleName: "row-gap",
|
|
@@ -879,7 +879,7 @@ const i = Z, L = {
|
|
|
879
879
|
{
|
|
880
880
|
styleName: "column-gap",
|
|
881
881
|
values: 0,
|
|
882
|
-
valueFormat:
|
|
882
|
+
valueFormat: l.Value.rem
|
|
883
883
|
},
|
|
884
884
|
{
|
|
885
885
|
styleName: "column-gap",
|
|
@@ -895,7 +895,7 @@ const i = Z, L = {
|
|
|
895
895
|
],
|
|
896
896
|
/** 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. */
|
|
897
897
|
height: [
|
|
898
|
-
{ values: 0, valueFormat:
|
|
898
|
+
{ values: 0, valueFormat: l.Value.rem },
|
|
899
899
|
{
|
|
900
900
|
values: ["fit"],
|
|
901
901
|
valueFormat: () => "100%"
|
|
@@ -906,7 +906,7 @@ const i = Z, L = {
|
|
|
906
906
|
},
|
|
907
907
|
{
|
|
908
908
|
values: i.percentages,
|
|
909
|
-
valueFormat:
|
|
909
|
+
valueFormat: l.Value.fraction
|
|
910
910
|
},
|
|
911
911
|
{
|
|
912
912
|
values: ["auto", "fit-content", "max-content", "min-content"]
|
|
@@ -917,7 +917,7 @@ const i = Z, L = {
|
|
|
917
917
|
],
|
|
918
918
|
/** 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. */
|
|
919
919
|
minHeight: [
|
|
920
|
-
{ styleName: "min-height", values: 0, valueFormat:
|
|
920
|
+
{ styleName: "min-height", values: 0, valueFormat: l.Value.rem },
|
|
921
921
|
{
|
|
922
922
|
styleName: "min-height",
|
|
923
923
|
values: ["fit"],
|
|
@@ -931,7 +931,7 @@ const i = Z, L = {
|
|
|
931
931
|
{
|
|
932
932
|
styleName: "min-height",
|
|
933
933
|
values: i.percentages,
|
|
934
|
-
valueFormat:
|
|
934
|
+
valueFormat: l.Value.fraction
|
|
935
935
|
},
|
|
936
936
|
{
|
|
937
937
|
styleName: "min-height",
|
|
@@ -944,7 +944,7 @@ const i = Z, L = {
|
|
|
944
944
|
],
|
|
945
945
|
/** 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. */
|
|
946
946
|
maxHeight: [
|
|
947
|
-
{ styleName: "max-height", values: 0, valueFormat:
|
|
947
|
+
{ styleName: "max-height", values: 0, valueFormat: l.Value.rem },
|
|
948
948
|
{
|
|
949
949
|
styleName: "max-height",
|
|
950
950
|
values: ["fit"],
|
|
@@ -958,7 +958,7 @@ const i = Z, L = {
|
|
|
958
958
|
{
|
|
959
959
|
styleName: "max-height",
|
|
960
960
|
values: i.percentages,
|
|
961
|
-
valueFormat:
|
|
961
|
+
valueFormat: l.Value.fraction
|
|
962
962
|
},
|
|
963
963
|
{
|
|
964
964
|
styleName: "max-height",
|
|
@@ -971,7 +971,7 @@ const i = Z, L = {
|
|
|
971
971
|
],
|
|
972
972
|
/** 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. */
|
|
973
973
|
width: [
|
|
974
|
-
{ values: 0, valueFormat:
|
|
974
|
+
{ values: 0, valueFormat: l.Value.rem },
|
|
975
975
|
{
|
|
976
976
|
values: ["fit"],
|
|
977
977
|
valueFormat: () => "100%"
|
|
@@ -982,7 +982,7 @@ const i = Z, L = {
|
|
|
982
982
|
},
|
|
983
983
|
{
|
|
984
984
|
values: i.percentages,
|
|
985
|
-
valueFormat:
|
|
985
|
+
valueFormat: l.Value.fraction
|
|
986
986
|
},
|
|
987
987
|
{
|
|
988
988
|
values: ["auto", "fit-content", "max-content", "min-content"]
|
|
@@ -993,7 +993,7 @@ const i = Z, L = {
|
|
|
993
993
|
],
|
|
994
994
|
/** 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. */
|
|
995
995
|
minWidth: [
|
|
996
|
-
{ styleName: "min-width", values: 0, valueFormat:
|
|
996
|
+
{ styleName: "min-width", values: 0, valueFormat: l.Value.rem },
|
|
997
997
|
{
|
|
998
998
|
styleName: "min-width",
|
|
999
999
|
values: ["fit"],
|
|
@@ -1007,7 +1007,7 @@ const i = Z, L = {
|
|
|
1007
1007
|
{
|
|
1008
1008
|
styleName: "min-width",
|
|
1009
1009
|
values: i.percentages,
|
|
1010
|
-
valueFormat:
|
|
1010
|
+
valueFormat: l.Value.fraction
|
|
1011
1011
|
},
|
|
1012
1012
|
{
|
|
1013
1013
|
styleName: "min-width",
|
|
@@ -1020,7 +1020,7 @@ const i = Z, L = {
|
|
|
1020
1020
|
],
|
|
1021
1021
|
/** 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. */
|
|
1022
1022
|
maxWidth: [
|
|
1023
|
-
{ styleName: "max-width", values: 0, valueFormat:
|
|
1023
|
+
{ styleName: "max-width", values: 0, valueFormat: l.Value.rem },
|
|
1024
1024
|
{
|
|
1025
1025
|
styleName: "max-width",
|
|
1026
1026
|
values: ["fit"],
|
|
@@ -1034,7 +1034,7 @@ const i = Z, L = {
|
|
|
1034
1034
|
{
|
|
1035
1035
|
styleName: "max-width",
|
|
1036
1036
|
values: i.percentages,
|
|
1037
|
-
valueFormat:
|
|
1037
|
+
valueFormat: l.Value.fraction
|
|
1038
1038
|
},
|
|
1039
1039
|
{
|
|
1040
1040
|
styleName: "max-width",
|
|
@@ -1050,7 +1050,7 @@ const i = Z, L = {
|
|
|
1050
1050
|
{
|
|
1051
1051
|
styleName: "letter-spacing",
|
|
1052
1052
|
values: 0,
|
|
1053
|
-
valueFormat:
|
|
1053
|
+
valueFormat: l.Value.px
|
|
1054
1054
|
}
|
|
1055
1055
|
],
|
|
1056
1056
|
/** 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. */
|
|
@@ -1058,7 +1058,7 @@ const i = Z, L = {
|
|
|
1058
1058
|
{
|
|
1059
1059
|
styleName: "line-height",
|
|
1060
1060
|
values: 0,
|
|
1061
|
-
valueFormat:
|
|
1061
|
+
valueFormat: l.Value.px
|
|
1062
1062
|
},
|
|
1063
1063
|
{
|
|
1064
1064
|
styleName: "line-height",
|
|
@@ -1078,7 +1078,7 @@ const i = Z, L = {
|
|
|
1078
1078
|
{
|
|
1079
1079
|
values: 0,
|
|
1080
1080
|
styleName: "margin",
|
|
1081
|
-
valueFormat:
|
|
1081
|
+
valueFormat: l.Value.rem
|
|
1082
1082
|
},
|
|
1083
1083
|
{
|
|
1084
1084
|
values: ["auto"],
|
|
@@ -1087,7 +1087,7 @@ const i = Z, L = {
|
|
|
1087
1087
|
{
|
|
1088
1088
|
styleName: "margin",
|
|
1089
1089
|
values: i.percentages,
|
|
1090
|
-
valueFormat:
|
|
1090
|
+
valueFormat: l.Value.fraction
|
|
1091
1091
|
},
|
|
1092
1092
|
{
|
|
1093
1093
|
values: i.percentString,
|
|
@@ -1099,7 +1099,7 @@ const i = Z, L = {
|
|
|
1099
1099
|
{
|
|
1100
1100
|
values: 0,
|
|
1101
1101
|
styleName: "margin-inline",
|
|
1102
|
-
valueFormat:
|
|
1102
|
+
valueFormat: l.Value.rem
|
|
1103
1103
|
},
|
|
1104
1104
|
{
|
|
1105
1105
|
values: ["auto"],
|
|
@@ -1108,7 +1108,7 @@ const i = Z, L = {
|
|
|
1108
1108
|
{
|
|
1109
1109
|
styleName: "margin-inline",
|
|
1110
1110
|
values: i.percentages,
|
|
1111
|
-
valueFormat:
|
|
1111
|
+
valueFormat: l.Value.fraction
|
|
1112
1112
|
},
|
|
1113
1113
|
{
|
|
1114
1114
|
values: i.percentString,
|
|
@@ -1120,7 +1120,7 @@ const i = Z, L = {
|
|
|
1120
1120
|
{
|
|
1121
1121
|
values: 0,
|
|
1122
1122
|
styleName: "margin-block",
|
|
1123
|
-
valueFormat:
|
|
1123
|
+
valueFormat: l.Value.rem
|
|
1124
1124
|
},
|
|
1125
1125
|
{
|
|
1126
1126
|
values: ["auto"],
|
|
@@ -1129,7 +1129,7 @@ const i = Z, L = {
|
|
|
1129
1129
|
{
|
|
1130
1130
|
styleName: "margin-block",
|
|
1131
1131
|
values: i.percentages,
|
|
1132
|
-
valueFormat:
|
|
1132
|
+
valueFormat: l.Value.fraction
|
|
1133
1133
|
},
|
|
1134
1134
|
{
|
|
1135
1135
|
values: i.percentString,
|
|
@@ -1141,7 +1141,7 @@ const i = Z, L = {
|
|
|
1141
1141
|
{
|
|
1142
1142
|
values: 0,
|
|
1143
1143
|
styleName: "margin-top",
|
|
1144
|
-
valueFormat:
|
|
1144
|
+
valueFormat: l.Value.rem
|
|
1145
1145
|
},
|
|
1146
1146
|
{
|
|
1147
1147
|
values: ["auto"],
|
|
@@ -1149,7 +1149,7 @@ const i = Z, L = {
|
|
|
1149
1149
|
},
|
|
1150
1150
|
{
|
|
1151
1151
|
values: i.percentages,
|
|
1152
|
-
valueFormat:
|
|
1152
|
+
valueFormat: l.Value.fraction,
|
|
1153
1153
|
styleName: "margin-top"
|
|
1154
1154
|
},
|
|
1155
1155
|
{
|
|
@@ -1162,7 +1162,7 @@ const i = Z, L = {
|
|
|
1162
1162
|
{
|
|
1163
1163
|
values: 0,
|
|
1164
1164
|
styleName: "margin-right",
|
|
1165
|
-
valueFormat:
|
|
1165
|
+
valueFormat: l.Value.rem
|
|
1166
1166
|
},
|
|
1167
1167
|
{
|
|
1168
1168
|
values: ["auto"],
|
|
@@ -1170,7 +1170,7 @@ const i = Z, L = {
|
|
|
1170
1170
|
},
|
|
1171
1171
|
{
|
|
1172
1172
|
values: i.percentages,
|
|
1173
|
-
valueFormat:
|
|
1173
|
+
valueFormat: l.Value.fraction,
|
|
1174
1174
|
styleName: "margin-right"
|
|
1175
1175
|
},
|
|
1176
1176
|
{
|
|
@@ -1183,7 +1183,7 @@ const i = Z, L = {
|
|
|
1183
1183
|
{
|
|
1184
1184
|
values: 0,
|
|
1185
1185
|
styleName: "margin-bottom",
|
|
1186
|
-
valueFormat:
|
|
1186
|
+
valueFormat: l.Value.rem
|
|
1187
1187
|
},
|
|
1188
1188
|
{
|
|
1189
1189
|
values: ["auto"],
|
|
@@ -1191,7 +1191,7 @@ const i = Z, L = {
|
|
|
1191
1191
|
},
|
|
1192
1192
|
{
|
|
1193
1193
|
values: i.percentages,
|
|
1194
|
-
valueFormat:
|
|
1194
|
+
valueFormat: l.Value.fraction,
|
|
1195
1195
|
styleName: "margin-bottom"
|
|
1196
1196
|
},
|
|
1197
1197
|
{
|
|
@@ -1204,7 +1204,7 @@ const i = Z, L = {
|
|
|
1204
1204
|
{
|
|
1205
1205
|
values: 0,
|
|
1206
1206
|
styleName: "margin-left",
|
|
1207
|
-
valueFormat:
|
|
1207
|
+
valueFormat: l.Value.rem
|
|
1208
1208
|
},
|
|
1209
1209
|
{
|
|
1210
1210
|
values: ["auto"],
|
|
@@ -1212,7 +1212,7 @@ const i = Z, L = {
|
|
|
1212
1212
|
},
|
|
1213
1213
|
{
|
|
1214
1214
|
values: i.percentages,
|
|
1215
|
-
valueFormat:
|
|
1215
|
+
valueFormat: l.Value.fraction,
|
|
1216
1216
|
styleName: "margin-left"
|
|
1217
1217
|
},
|
|
1218
1218
|
{
|
|
@@ -1225,11 +1225,11 @@ const i = Z, L = {
|
|
|
1225
1225
|
{
|
|
1226
1226
|
values: 0,
|
|
1227
1227
|
styleName: "padding",
|
|
1228
|
-
valueFormat:
|
|
1228
|
+
valueFormat: l.Value.rem
|
|
1229
1229
|
},
|
|
1230
1230
|
{
|
|
1231
1231
|
values: i.percentages,
|
|
1232
|
-
valueFormat:
|
|
1232
|
+
valueFormat: l.Value.fraction,
|
|
1233
1233
|
styleName: "padding"
|
|
1234
1234
|
},
|
|
1235
1235
|
{
|
|
@@ -1242,11 +1242,11 @@ const i = Z, L = {
|
|
|
1242
1242
|
{
|
|
1243
1243
|
values: 0,
|
|
1244
1244
|
styleName: "padding-inline",
|
|
1245
|
-
valueFormat:
|
|
1245
|
+
valueFormat: l.Value.rem
|
|
1246
1246
|
},
|
|
1247
1247
|
{
|
|
1248
1248
|
values: i.percentages,
|
|
1249
|
-
valueFormat:
|
|
1249
|
+
valueFormat: l.Value.fraction,
|
|
1250
1250
|
styleName: "padding-inline"
|
|
1251
1251
|
},
|
|
1252
1252
|
{
|
|
@@ -1259,11 +1259,11 @@ const i = Z, L = {
|
|
|
1259
1259
|
{
|
|
1260
1260
|
values: 0,
|
|
1261
1261
|
styleName: "padding-block",
|
|
1262
|
-
valueFormat:
|
|
1262
|
+
valueFormat: l.Value.rem
|
|
1263
1263
|
},
|
|
1264
1264
|
{
|
|
1265
1265
|
values: i.percentages,
|
|
1266
|
-
valueFormat:
|
|
1266
|
+
valueFormat: l.Value.fraction,
|
|
1267
1267
|
styleName: "padding-block"
|
|
1268
1268
|
},
|
|
1269
1269
|
{
|
|
@@ -1276,11 +1276,11 @@ const i = Z, L = {
|
|
|
1276
1276
|
{
|
|
1277
1277
|
values: 0,
|
|
1278
1278
|
styleName: "padding-top",
|
|
1279
|
-
valueFormat:
|
|
1279
|
+
valueFormat: l.Value.rem
|
|
1280
1280
|
},
|
|
1281
1281
|
{
|
|
1282
1282
|
values: i.percentages,
|
|
1283
|
-
valueFormat:
|
|
1283
|
+
valueFormat: l.Value.fraction,
|
|
1284
1284
|
styleName: "padding-top"
|
|
1285
1285
|
},
|
|
1286
1286
|
{
|
|
@@ -1293,11 +1293,11 @@ const i = Z, L = {
|
|
|
1293
1293
|
{
|
|
1294
1294
|
values: 0,
|
|
1295
1295
|
styleName: "padding-right",
|
|
1296
|
-
valueFormat:
|
|
1296
|
+
valueFormat: l.Value.rem
|
|
1297
1297
|
},
|
|
1298
1298
|
{
|
|
1299
1299
|
values: i.percentages,
|
|
1300
|
-
valueFormat:
|
|
1300
|
+
valueFormat: l.Value.fraction,
|
|
1301
1301
|
styleName: "padding-right"
|
|
1302
1302
|
},
|
|
1303
1303
|
{
|
|
@@ -1310,11 +1310,11 @@ const i = Z, L = {
|
|
|
1310
1310
|
{
|
|
1311
1311
|
values: 0,
|
|
1312
1312
|
styleName: "padding-bottom",
|
|
1313
|
-
valueFormat:
|
|
1313
|
+
valueFormat: l.Value.rem
|
|
1314
1314
|
},
|
|
1315
1315
|
{
|
|
1316
1316
|
values: i.percentages,
|
|
1317
|
-
valueFormat:
|
|
1317
|
+
valueFormat: l.Value.fraction,
|
|
1318
1318
|
styleName: "padding-bottom"
|
|
1319
1319
|
},
|
|
1320
1320
|
{
|
|
@@ -1327,11 +1327,11 @@ const i = Z, L = {
|
|
|
1327
1327
|
{
|
|
1328
1328
|
values: 0,
|
|
1329
1329
|
styleName: "padding-left",
|
|
1330
|
-
valueFormat:
|
|
1330
|
+
valueFormat: l.Value.rem
|
|
1331
1331
|
},
|
|
1332
1332
|
{
|
|
1333
1333
|
values: i.percentages,
|
|
1334
|
-
valueFormat:
|
|
1334
|
+
valueFormat: l.Value.fraction,
|
|
1335
1335
|
styleName: "padding-left"
|
|
1336
1336
|
},
|
|
1337
1337
|
{
|
|
@@ -1357,7 +1357,7 @@ const i = Z, L = {
|
|
|
1357
1357
|
{
|
|
1358
1358
|
styleName: "outline-width",
|
|
1359
1359
|
values: 0,
|
|
1360
|
-
valueFormat:
|
|
1360
|
+
valueFormat: l.Value.px
|
|
1361
1361
|
}
|
|
1362
1362
|
],
|
|
1363
1363
|
/** 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. */
|
|
@@ -1372,7 +1372,7 @@ const i = Z, L = {
|
|
|
1372
1372
|
{
|
|
1373
1373
|
styleName: "outline-offset",
|
|
1374
1374
|
values: 0,
|
|
1375
|
-
valueFormat:
|
|
1375
|
+
valueFormat: l.Value.px
|
|
1376
1376
|
}
|
|
1377
1377
|
],
|
|
1378
1378
|
/** 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. */
|
|
@@ -1650,17 +1650,17 @@ const i = Z, L = {
|
|
|
1650
1650
|
translateX: [
|
|
1651
1651
|
{
|
|
1652
1652
|
values: 0,
|
|
1653
|
-
valueFormat: (e) => `translateX(${e /
|
|
1653
|
+
valueFormat: (e) => `translateX(${e / Z}rem)`,
|
|
1654
1654
|
styleName: "transform"
|
|
1655
1655
|
},
|
|
1656
1656
|
{
|
|
1657
1657
|
values: i.percentages,
|
|
1658
|
-
valueFormat: (e) => `translateX(${
|
|
1658
|
+
valueFormat: (e) => `translateX(${l.Value.fraction(e)})`,
|
|
1659
1659
|
styleName: "transform"
|
|
1660
1660
|
},
|
|
1661
1661
|
{
|
|
1662
1662
|
values: i.negativePercentages,
|
|
1663
|
-
valueFormat: (e) => `translateX(${
|
|
1663
|
+
valueFormat: (e) => `translateX(${l.Value.fraction(e)})`,
|
|
1664
1664
|
styleName: "transform"
|
|
1665
1665
|
},
|
|
1666
1666
|
{
|
|
@@ -1673,17 +1673,17 @@ const i = Z, L = {
|
|
|
1673
1673
|
translateY: [
|
|
1674
1674
|
{
|
|
1675
1675
|
values: 0,
|
|
1676
|
-
valueFormat: (e) => `translateY(${e /
|
|
1676
|
+
valueFormat: (e) => `translateY(${e / Z}rem)`,
|
|
1677
1677
|
styleName: "transform"
|
|
1678
1678
|
},
|
|
1679
1679
|
{
|
|
1680
1680
|
values: i.percentages,
|
|
1681
|
-
valueFormat: (e) => `translateY(${
|
|
1681
|
+
valueFormat: (e) => `translateY(${l.Value.fraction(e)})`,
|
|
1682
1682
|
styleName: "transform"
|
|
1683
1683
|
},
|
|
1684
1684
|
{
|
|
1685
1685
|
values: i.negativePercentages,
|
|
1686
|
-
valueFormat: (e) => `translateY(${
|
|
1686
|
+
valueFormat: (e) => `translateY(${l.Value.fraction(e)})`,
|
|
1687
1687
|
styleName: "transform"
|
|
1688
1688
|
},
|
|
1689
1689
|
{
|
|
@@ -1705,7 +1705,7 @@ const i = Z, L = {
|
|
|
1705
1705
|
styleName: "backdrop-filter"
|
|
1706
1706
|
}
|
|
1707
1707
|
]
|
|
1708
|
-
},
|
|
1708
|
+
}, ye = {
|
|
1709
1709
|
hover: ":hover",
|
|
1710
1710
|
focus: ":focus-within",
|
|
1711
1711
|
hasFocus: ":has(:focus)",
|
|
@@ -1719,23 +1719,24 @@ const i = Z, L = {
|
|
|
1719
1719
|
hasRequired: ":has(:required)",
|
|
1720
1720
|
hasDisabled: ":has([disabled])",
|
|
1721
1721
|
before: "::before",
|
|
1722
|
-
after: "::after"
|
|
1722
|
+
after: "::after",
|
|
1723
|
+
placeholderStyles: "::placeholder"
|
|
1723
1724
|
}, W = {
|
|
1724
1725
|
indeterminate: ":indeterminate",
|
|
1725
1726
|
checked: ":checked",
|
|
1726
1727
|
required: ":required",
|
|
1727
1728
|
disabled: "[disabled]",
|
|
1728
1729
|
selected: '[aria-selected="true"]'
|
|
1729
|
-
},
|
|
1730
|
+
}, Fe = {
|
|
1730
1731
|
theme: ""
|
|
1731
|
-
}, K = { ...
|
|
1732
|
-
(e, [r],
|
|
1732
|
+
}, K = { ...ye, ...W, ...Fe }, be = Object.entries(K).reduce(
|
|
1733
|
+
(e, [r], a) => (e[r] = Math.pow(2, a), e),
|
|
1733
1734
|
{}
|
|
1734
|
-
),
|
|
1735
|
+
), Y = Object.entries(K).reduce(
|
|
1735
1736
|
(e, [r]) => {
|
|
1736
|
-
const
|
|
1737
|
+
const a = be[r];
|
|
1737
1738
|
return Object.entries(e).forEach(([o, t]) => {
|
|
1738
|
-
e[+o +
|
|
1739
|
+
e[+o + a] = [...t, r];
|
|
1739
1740
|
}), e;
|
|
1740
1741
|
},
|
|
1741
1742
|
{ 0: [] }
|
|
@@ -1745,7 +1746,7 @@ const i = Z, L = {
|
|
|
1745
1746
|
activeGroup: "active",
|
|
1746
1747
|
disabledGroup: "disabled",
|
|
1747
1748
|
selectedGroup: "selected"
|
|
1748
|
-
},
|
|
1749
|
+
}, se = {
|
|
1749
1750
|
theme: "theme"
|
|
1750
1751
|
}, P = {
|
|
1751
1752
|
/** Styles applied for small screens and larger. >= 640 */
|
|
@@ -1759,7 +1760,7 @@ const i = Z, L = {
|
|
|
1759
1760
|
/** Styles applied for 2x extra-large screens and larger. >= 1536 */
|
|
1760
1761
|
xxl: 1536
|
|
1761
1762
|
};
|
|
1762
|
-
var
|
|
1763
|
+
var J;
|
|
1763
1764
|
((e) => {
|
|
1764
1765
|
function r(n, s, c) {
|
|
1765
1766
|
const u = { ...n }, m = u.props || {};
|
|
@@ -1770,14 +1771,14 @@ var Q;
|
|
|
1770
1771
|
}), u.props = m, u;
|
|
1771
1772
|
}
|
|
1772
1773
|
e.buildProps = r;
|
|
1773
|
-
function
|
|
1774
|
+
function a(n) {
|
|
1774
1775
|
return !!n && typeof n == "object";
|
|
1775
1776
|
}
|
|
1776
|
-
e.isObject =
|
|
1777
|
+
e.isObject = a;
|
|
1777
1778
|
function o(...n) {
|
|
1778
1779
|
return n.reduce((s, c) => (Object.keys(c ?? {}).forEach((u) => {
|
|
1779
1780
|
const m = s[u], f = c[u];
|
|
1780
|
-
|
|
1781
|
+
a(f) && "clean" in f && f.clean ? s[u] = f : u in W && typeof f == "boolean" || (u in W && Array.isArray(f) ? s[u] = o(m, f[1] ?? {}) : Array.isArray(m) && Array.isArray(f) ? s[u] = m.concat(...f) : a(m) && a(f) ? s[u] = o(m, f) : s[u] = f);
|
|
1781
1782
|
}), s), {});
|
|
1782
1783
|
}
|
|
1783
1784
|
e.mergeDeep = o;
|
|
@@ -1785,8 +1786,8 @@ var Q;
|
|
|
1785
1786
|
return n in s;
|
|
1786
1787
|
}
|
|
1787
1788
|
e.isKeyOf = t;
|
|
1788
|
-
})(
|
|
1789
|
-
const k =
|
|
1789
|
+
})(J || (J = {}));
|
|
1790
|
+
const k = J, ue = {
|
|
1790
1791
|
h1: {
|
|
1791
1792
|
styles: { fontSize: 14 * 2.5 }
|
|
1792
1793
|
},
|
|
@@ -2909,62 +2910,62 @@ const k = Q, se = {
|
|
|
2909
2910
|
}
|
|
2910
2911
|
}
|
|
2911
2912
|
};
|
|
2912
|
-
function
|
|
2913
|
+
function Ve(e) {
|
|
2913
2914
|
const r = { ...e };
|
|
2914
|
-
for (const [
|
|
2915
|
+
for (const [a, o] of Object.entries(r)) {
|
|
2915
2916
|
if (!o.extends) continue;
|
|
2916
2917
|
const t = r[o.extends];
|
|
2917
2918
|
if (!t) continue;
|
|
2918
2919
|
const { extends: n, ...s } = o;
|
|
2919
|
-
r[
|
|
2920
|
+
r[a] = k.mergeDeep({}, t, s);
|
|
2920
2921
|
}
|
|
2921
2922
|
return r;
|
|
2922
2923
|
}
|
|
2923
|
-
var
|
|
2924
|
+
var ee;
|
|
2924
2925
|
((e) => {
|
|
2925
2926
|
function r(o, t, n) {
|
|
2926
2927
|
return i.setUserVariables(o), Object.entries(t).forEach(([s, c]) => {
|
|
2927
|
-
|
|
2928
|
+
B[s] = c;
|
|
2928
2929
|
}), Object.entries(n).forEach(([s, c]) => {
|
|
2929
|
-
const u =
|
|
2930
|
-
|
|
2930
|
+
const u = B[s];
|
|
2931
|
+
B[s] = u ? [...c, ...u] : c;
|
|
2931
2932
|
}), { extendedProps: t, extendedPropTypes: n };
|
|
2932
2933
|
}
|
|
2933
|
-
e.extend = r, e.componentsStyles =
|
|
2934
|
-
function
|
|
2935
|
-
return e.componentsStyles =
|
|
2934
|
+
e.extend = r, e.componentsStyles = ue;
|
|
2935
|
+
function a(o) {
|
|
2936
|
+
return e.componentsStyles = Ve(k.mergeDeep(ue, o)), o;
|
|
2936
2937
|
}
|
|
2937
|
-
e.components =
|
|
2938
|
-
})(
|
|
2939
|
-
const
|
|
2938
|
+
e.components = a;
|
|
2939
|
+
})(ee || (ee = {}));
|
|
2940
|
+
const $e = ee, re = Ce.createContext({ theme: "", setTheme: () => {
|
|
2940
2941
|
} });
|
|
2941
|
-
function
|
|
2942
|
-
const { children: r, theme:
|
|
2942
|
+
function te(e) {
|
|
2943
|
+
const { children: r, theme: a, use: o = "local" } = e, [t, n] = ge(a ?? "light");
|
|
2943
2944
|
return U(() => {
|
|
2944
|
-
if (
|
|
2945
|
+
if (a !== void 0) return;
|
|
2945
2946
|
const s = window.matchMedia("(prefers-color-scheme: dark)");
|
|
2946
2947
|
n(s.matches ? "dark" : "light");
|
|
2947
2948
|
const c = (u) => {
|
|
2948
2949
|
n(u.matches ? "dark" : "light");
|
|
2949
2950
|
};
|
|
2950
2951
|
return s.addEventListener("change", c), () => s.removeEventListener("change", c);
|
|
2951
|
-
}, [
|
|
2952
|
+
}, [a]), U(() => {
|
|
2952
2953
|
if (o === "local") return;
|
|
2953
2954
|
const s = document.documentElement;
|
|
2954
2955
|
return s.classList.add(t), () => {
|
|
2955
2956
|
s.classList.remove(t);
|
|
2956
2957
|
};
|
|
2957
|
-
}, [t, o]), o === "local" ? /* @__PURE__ */ S(
|
|
2958
|
+
}, [t, o]), o === "local" ? /* @__PURE__ */ S(re.Provider, { value: { theme: t, setTheme: n }, children: /* @__PURE__ */ S(Ne, { className: t, children: r }) }) : /* @__PURE__ */ S(re.Provider, { value: { theme: t, setTheme: n }, children: r });
|
|
2958
2959
|
}
|
|
2959
2960
|
((e) => {
|
|
2960
2961
|
function r() {
|
|
2961
|
-
const { theme:
|
|
2962
|
-
return [
|
|
2962
|
+
const { theme: a, setTheme: o } = we(re);
|
|
2963
|
+
return [a, o];
|
|
2963
2964
|
}
|
|
2964
2965
|
e.useTheme = r;
|
|
2965
|
-
})(
|
|
2966
|
-
const
|
|
2967
|
-
class
|
|
2966
|
+
})(te || (te = {}));
|
|
2967
|
+
const Se = te;
|
|
2968
|
+
class ze {
|
|
2968
2969
|
constructor() {
|
|
2969
2970
|
this._index = 0, this._cache = {};
|
|
2970
2971
|
}
|
|
@@ -2972,52 +2973,52 @@ class ke {
|
|
|
2972
2973
|
return this._cache[r] || (this._cache[r] = this.getByIndex(this._index++)), this._cache[r];
|
|
2973
2974
|
}
|
|
2974
2975
|
getByIndex(r) {
|
|
2975
|
-
const { first:
|
|
2976
|
+
const { first: a, next: o } = ke, t = r - a.length;
|
|
2976
2977
|
if (t < 0)
|
|
2977
|
-
return
|
|
2978
|
+
return a[r];
|
|
2978
2979
|
const n = Math.floor(t / o.length), s = t - n * o.length;
|
|
2979
2980
|
return this.getByIndex(n) + o[s];
|
|
2980
2981
|
}
|
|
2981
2982
|
}
|
|
2982
|
-
const
|
|
2983
|
+
const ke = {
|
|
2983
2984
|
first: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
|
2984
2985
|
next: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
|
|
2985
2986
|
};
|
|
2986
|
-
function
|
|
2987
|
-
const { clean: r, component:
|
|
2988
|
-
return
|
|
2987
|
+
function Re(e) {
|
|
2988
|
+
const { clean: r, component: a, variant: o } = e;
|
|
2989
|
+
return ne(() => {
|
|
2989
2990
|
if (r) return;
|
|
2990
|
-
const t =
|
|
2991
|
+
const t = a?.split(".");
|
|
2991
2992
|
if (!t) return;
|
|
2992
|
-
const n = t.reduce((u, m, f) => f === 0 ?
|
|
2993
|
+
const n = t.reduce((u, m, f) => f === 0 ? $e.componentsStyles[m] : u?.children?.[m], void 0);
|
|
2993
2994
|
if (!n) return;
|
|
2994
2995
|
if (!o) return n.styles;
|
|
2995
|
-
const s =
|
|
2996
|
+
const s = me(o);
|
|
2996
2997
|
if (s.length === 0) return n.styles;
|
|
2997
2998
|
const c = k.mergeDeep(...s.map((u) => n.variants?.[u]));
|
|
2998
2999
|
return n.styles ? k.mergeDeep(n.styles, c) : c;
|
|
2999
|
-
}, [r,
|
|
3000
|
+
}, [r, a, o]);
|
|
3000
3001
|
}
|
|
3001
|
-
const
|
|
3002
|
-
function
|
|
3003
|
-
const
|
|
3004
|
-
return
|
|
3005
|
-
|
|
3002
|
+
const Ae = new ze(), Oe = typeof window < "u" && typeof window.document < "u", M = typeof process == "object" && process.env?.NODE_ENV === "test", Ee = Oe && !M ? U : fe, he = "_b", L = "_s";
|
|
3003
|
+
function He(e, r) {
|
|
3004
|
+
const a = Re(e), o = ne(() => a ? k.mergeDeep(a, e) : e, [e, a]), t = [r ? L : he];
|
|
3005
|
+
return T.addClassNames(o, t, []), Ee(() => {
|
|
3006
|
+
T.flush();
|
|
3006
3007
|
}, [o]), t;
|
|
3007
3008
|
}
|
|
3008
|
-
var
|
|
3009
|
+
var T;
|
|
3009
3010
|
((e) => {
|
|
3010
|
-
let r = !0,
|
|
3011
|
+
let r = !0, a = !1;
|
|
3011
3012
|
const o = /* @__PURE__ */ new Set(), t = [], n = [];
|
|
3012
3013
|
let s = 0;
|
|
3013
|
-
const c = Object.keys(
|
|
3014
|
+
const c = Object.keys(B).reduce((b, h, w) => (b[h] = w, b), {});
|
|
3014
3015
|
let u = {};
|
|
3015
3016
|
function m(b, h, w, p, g) {
|
|
3016
3017
|
Object.entries(b).forEach(([v, d]) => {
|
|
3017
3018
|
if (d != null)
|
|
3018
|
-
if (k.isKeyOf(v,
|
|
3019
|
+
if (k.isKeyOf(v, B))
|
|
3019
3020
|
x(v, d, h, w, p, g);
|
|
3020
|
-
else if (k.isKeyOf(v,
|
|
3021
|
+
else if (k.isKeyOf(v, ye))
|
|
3021
3022
|
m(d, h, [...w, v], p, g);
|
|
3022
3023
|
else if (k.isKeyOf(v, W)) {
|
|
3023
3024
|
if (Array.isArray(d)) {
|
|
@@ -3027,19 +3028,19 @@ var B;
|
|
|
3027
3028
|
k.isObject(d) && m(d, h, [...w, v], p, g);
|
|
3028
3029
|
} else k.isKeyOf(v, P) ? m(d, h, w, v, g) : k.isKeyOf(v, D) ? Object.entries(d).forEach(([N, F]) => {
|
|
3029
3030
|
m(F, h, [...w, D[v]], p, N);
|
|
3030
|
-
}) : k.isKeyOf(v,
|
|
3031
|
-
const $ = [...w,
|
|
3032
|
-
Object.entries(F).forEach(([V,
|
|
3033
|
-
k.isKeyOf(V, D) ? Object.entries(
|
|
3031
|
+
}) : k.isKeyOf(v, se) && Object.entries(d).forEach(([N, F]) => {
|
|
3032
|
+
const $ = [...w, se[v]];
|
|
3033
|
+
Object.entries(F).forEach(([V, E]) => {
|
|
3034
|
+
k.isKeyOf(V, D) ? Object.entries(E).forEach(([G, A]) => {
|
|
3034
3035
|
m(
|
|
3035
|
-
|
|
3036
|
+
A,
|
|
3036
3037
|
h,
|
|
3037
3038
|
[...$, D[V]],
|
|
3038
3039
|
p,
|
|
3039
3040
|
// Use | as separator to distinguish theme from group name
|
|
3040
|
-
`${N}|${
|
|
3041
|
+
`${N}|${G}`
|
|
3041
3042
|
);
|
|
3042
|
-
}) : m({ [V]:
|
|
3043
|
+
}) : m({ [V]: E }, h, $, p, N);
|
|
3043
3044
|
});
|
|
3044
3045
|
});
|
|
3045
3046
|
});
|
|
@@ -3050,10 +3051,10 @@ var B;
|
|
|
3050
3051
|
if (!r && !b) return;
|
|
3051
3052
|
console.debug("\x1B[36m%s\x1B[0m", "[react-box]: flush");
|
|
3052
3053
|
const h = q(), w = h.sheet;
|
|
3053
|
-
if (
|
|
3054
|
+
if (a) {
|
|
3054
3055
|
if (i.hasPendingVariables()) {
|
|
3055
3056
|
const p = i.getPendingVariables(), g = `:root{${Object.entries(p).map(([v, d]) => `--${v}: ${d};`).join("")}}`;
|
|
3056
|
-
if (w && !
|
|
3057
|
+
if (w && !M)
|
|
3057
3058
|
try {
|
|
3058
3059
|
w.insertRule(g, 0), s++;
|
|
3059
3060
|
} catch {
|
|
@@ -3073,11 +3074,11 @@ var B;
|
|
|
3073
3074
|
"button{color: inherit;}",
|
|
3074
3075
|
'input[type="number"]{-moz-appearance: textfield;}',
|
|
3075
3076
|
'input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{-webkit-appearance: none;margin: 0;}',
|
|
3076
|
-
`.${
|
|
3077
|
-
`.${
|
|
3078
|
-
`.${
|
|
3077
|
+
`.${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;}`,
|
|
3078
|
+
`.${L}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;transition: all var(--svgTransitionTime);}`,
|
|
3079
|
+
`.${L} path,.${L} circle,.${L} rect,.${L} line {transition: all var(--svgTransitionTime);}`
|
|
3079
3080
|
];
|
|
3080
|
-
if (w && !
|
|
3081
|
+
if (w && !M)
|
|
3081
3082
|
for (const g of p)
|
|
3082
3083
|
try {
|
|
3083
3084
|
w.insertRule(g, s), s++;
|
|
@@ -3086,10 +3087,10 @@ var B;
|
|
|
3086
3087
|
else
|
|
3087
3088
|
h.textContent = p.join(`
|
|
3088
3089
|
`);
|
|
3089
|
-
|
|
3090
|
+
a = !0;
|
|
3090
3091
|
}
|
|
3091
3092
|
if (t.length > 0) {
|
|
3092
|
-
if (t.sort((p, g) => p[1] - g[1] || p[0] - g[0]), w && !
|
|
3093
|
+
if (t.sort((p, g) => p[1] - g[1] || p[0] - g[0]), w && !M)
|
|
3093
3094
|
for (const [p, g, v] of t) {
|
|
3094
3095
|
const d = g * 1e5 + p;
|
|
3095
3096
|
let N = n.length;
|
|
@@ -3112,7 +3113,7 @@ var B;
|
|
|
3112
3113
|
}
|
|
3113
3114
|
e.flush = f;
|
|
3114
3115
|
function y(b, h, w, p, g) {
|
|
3115
|
-
const d =
|
|
3116
|
+
const d = B[b].find((V) => Array.isArray(V.values) ? V.values.includes(h) : typeof h == typeof V.values);
|
|
3116
3117
|
if (!d) return null;
|
|
3117
3118
|
const N = c[b] ?? 0, F = P[p] ?? 0, $ = C(
|
|
3118
3119
|
b,
|
|
@@ -3122,26 +3123,32 @@ var B;
|
|
|
3122
3123
|
g
|
|
3123
3124
|
);
|
|
3124
3125
|
if (g) {
|
|
3125
|
-
const V =
|
|
3126
|
-
let
|
|
3127
|
-
if (
|
|
3128
|
-
const [
|
|
3129
|
-
|
|
3130
|
-
} else
|
|
3131
|
-
const
|
|
3132
|
-
|
|
3126
|
+
const V = Y[w], E = V.includes("theme"), A = (E ? V.filter((O) => O !== "theme") : V).map((O) => K[O]).join(""), I = g.includes("|");
|
|
3127
|
+
let j;
|
|
3128
|
+
if (I) {
|
|
3129
|
+
const [O, X] = g.split("|");
|
|
3130
|
+
j = `.${O} .${X}${A} .${$}`;
|
|
3131
|
+
} else E ? j = `.${g} .${$}${A}` : j = `.${g}${A} .${$}`;
|
|
3132
|
+
const ve = d.selector?.(j, "") ?? j, pe = Array.isArray(d.styleName) ? d.styleName : [d.styleName ?? b], ie = `${ve}{${pe.map((O) => {
|
|
3133
|
+
const X = d.valueFormat?.(h, i.getVariableValue, O) ?? h;
|
|
3134
|
+
return `${O}:${X}`;
|
|
3135
|
+
}).join(";")}}`;
|
|
3136
|
+
return p !== "normal" ? { rule: `@media(min-width: ${P[p]}px){${ie}}`, sortIndex: N, breakpointOrder: F } : { rule: ie, sortIndex: N, breakpointOrder: F };
|
|
3133
3137
|
} else {
|
|
3134
|
-
const V =
|
|
3135
|
-
|
|
3138
|
+
const V = Y[w].map((I) => K[I]).join(""), E = d.selector?.(`.${$}`, V) ?? `.${$}${V}`, G = Array.isArray(d.styleName) ? d.styleName : [d.styleName ?? b], A = `${E}{${G.map((I) => {
|
|
3139
|
+
const j = d.valueFormat?.(h, i.getVariableValue, I) ?? h;
|
|
3140
|
+
return `${I}:${j}`;
|
|
3141
|
+
}).join(";")}}`;
|
|
3142
|
+
return p !== "normal" ? { rule: `@media(min-width: ${P[p]}px){${A}}`, sortIndex: N, breakpointOrder: F } : { rule: A, sortIndex: N, breakpointOrder: F };
|
|
3136
3143
|
}
|
|
3137
3144
|
}
|
|
3138
3145
|
function z() {
|
|
3139
|
-
u = {}, o.clear(), t.length = 0, n.length = 0, s = 0,
|
|
3146
|
+
u = {}, o.clear(), t.length = 0, n.length = 0, s = 0, a = !1;
|
|
3140
3147
|
}
|
|
3141
3148
|
e.clear = z;
|
|
3142
3149
|
function x(b, h, w, p, g = "normal", v) {
|
|
3143
3150
|
if (h == null) return;
|
|
3144
|
-
const d = p.reduce(($, V) => $ +
|
|
3151
|
+
const d = p.reduce(($, V) => $ + be[V], 0), N = C(b, h, d, g, v), F = `${g}-${d}-${b}-${h}-${v ?? ""}`;
|
|
3145
3152
|
if (!o.has(F)) {
|
|
3146
3153
|
o.add(F);
|
|
3147
3154
|
const $ = y(b, h, d, g, v);
|
|
@@ -3150,19 +3157,19 @@ var B;
|
|
|
3150
3157
|
w.push(N);
|
|
3151
3158
|
}
|
|
3152
3159
|
function C(b, h, w, p, g) {
|
|
3153
|
-
const v =
|
|
3154
|
-
return
|
|
3160
|
+
const v = Y[w], d = `${p === "normal" ? "" : `${p}-`}${v.map((N) => `${N}-`).join("")}${g ? `${g}-` : ""}${b}-${h}`;
|
|
3161
|
+
return M ? d : Ae.getIdentity(d);
|
|
3155
3162
|
}
|
|
3156
3163
|
const R = "crono-styles";
|
|
3157
3164
|
function q() {
|
|
3158
3165
|
let b = document.getElementById(R);
|
|
3159
3166
|
return b || (b = document.createElement("style"), b.setAttribute("id", R), b.setAttribute("type", "text/css"), document.head.insertBefore(b, document.head.firstChild)), b;
|
|
3160
3167
|
}
|
|
3161
|
-
})(
|
|
3162
|
-
var
|
|
3168
|
+
})(T || (T = {}));
|
|
3169
|
+
var ce;
|
|
3163
3170
|
((e) => {
|
|
3164
|
-
e.flush =
|
|
3165
|
-
})(
|
|
3171
|
+
e.flush = T.flush, e.clear = T.clear;
|
|
3172
|
+
})(ce || (ce = {}));
|
|
3166
3173
|
Array.prototype.removeBy || (Array.prototype.removeBy = function(e) {
|
|
3167
3174
|
return this.filter((r) => !e(r));
|
|
3168
3175
|
});
|
|
@@ -3174,7 +3181,7 @@ Array.prototype.add || (Array.prototype.add = function(...e) {
|
|
|
3174
3181
|
return r.push(...e), r;
|
|
3175
3182
|
});
|
|
3176
3183
|
Array.prototype.sumBy || (Array.prototype.sumBy = function(e, r = 0) {
|
|
3177
|
-
return this.reduce((
|
|
3184
|
+
return this.reduce((a, o, t) => a + e(o, t), r);
|
|
3178
3185
|
});
|
|
3179
3186
|
Array.prototype.sortBy || (Array.prototype.sortBy = function(e, r) {
|
|
3180
3187
|
return [...this].sort((o, t) => {
|
|
@@ -3192,8 +3199,8 @@ Array.prototype.findOrThrow || (Array.prototype.findOrThrow = function(e) {
|
|
|
3192
3199
|
});
|
|
3193
3200
|
Array.prototype.toRecord || (Array.prototype.toRecord = function(e) {
|
|
3194
3201
|
return this.reduce(
|
|
3195
|
-
(r,
|
|
3196
|
-
const o = e(
|
|
3202
|
+
(r, a) => {
|
|
3203
|
+
const o = e(a);
|
|
3197
3204
|
if (!o) return r;
|
|
3198
3205
|
const [t, n] = o;
|
|
3199
3206
|
return r[t] = n, r;
|
|
@@ -3202,15 +3209,15 @@ Array.prototype.toRecord || (Array.prototype.toRecord = function(e) {
|
|
|
3202
3209
|
);
|
|
3203
3210
|
});
|
|
3204
3211
|
Array.prototype.groupBy || (Array.prototype.groupBy = function(e, r = !1) {
|
|
3205
|
-
const
|
|
3212
|
+
const a = this.reduce((o, t, n) => {
|
|
3206
3213
|
const s = e(t, n);
|
|
3207
3214
|
return r && typeof s != "number" && !s || (o.has(s) === !1 && o.set(s, []), o.get(s)?.push(t)), o;
|
|
3208
3215
|
}, /* @__PURE__ */ new Map());
|
|
3209
|
-
return Array.from(
|
|
3216
|
+
return Array.from(a, ([o, t]) => ({ key: o, values: t }));
|
|
3210
3217
|
});
|
|
3211
|
-
function
|
|
3212
|
-
const { node: r = null, event:
|
|
3213
|
-
return
|
|
3218
|
+
function Me(e) {
|
|
3219
|
+
const { node: r = null, event: a = "click", hideOnScroll: o = !1, hideOnResize: t = !1, hideOnEscape: n = !0 } = e ?? {}, [s, c] = ge(!1), u = xe(null);
|
|
3220
|
+
return fe(() => {
|
|
3214
3221
|
function m(C) {
|
|
3215
3222
|
(r ?? u.current)?.contains(C.target) === !1 && c(!1);
|
|
3216
3223
|
}
|
|
@@ -3224,22 +3231,22 @@ function Ge(e) {
|
|
|
3224
3231
|
C.key === "Escape" && c(!1);
|
|
3225
3232
|
}
|
|
3226
3233
|
const x = new AbortController();
|
|
3227
|
-
return s && (window.addEventListener(
|
|
3234
|
+
return s && (window.addEventListener(a, m, x), n && window.addEventListener("keydown", z, x), t && window.addEventListener("resize", f, x), o && window.addEventListener("scroll", y, { signal: x.signal, capture: !0 })), () => {
|
|
3228
3235
|
x.abort();
|
|
3229
3236
|
};
|
|
3230
3237
|
}, [r, s]), [s, c, u];
|
|
3231
3238
|
}
|
|
3232
|
-
const
|
|
3239
|
+
const je = {
|
|
3233
3240
|
selected: "aria-selected"
|
|
3234
3241
|
};
|
|
3235
|
-
var
|
|
3242
|
+
var de;
|
|
3236
3243
|
((e) => {
|
|
3237
|
-
function r(
|
|
3238
|
-
|
|
3244
|
+
function r(a, o, t) {
|
|
3245
|
+
a !== void 0 && a != null && (t[je[o] ?? o] = Array.isArray(a) ? a[0] : a);
|
|
3239
3246
|
}
|
|
3240
3247
|
e.assignBooleanProp = r;
|
|
3241
|
-
})(
|
|
3242
|
-
function
|
|
3248
|
+
})(de || (de = {}));
|
|
3249
|
+
function Ge(e) {
|
|
3243
3250
|
let r;
|
|
3244
3251
|
return Object.defineProperty({
|
|
3245
3252
|
clear() {
|
|
@@ -3249,22 +3256,22 @@ function De(e) {
|
|
|
3249
3256
|
get: () => (r === void 0 && (r = e()), r)
|
|
3250
3257
|
});
|
|
3251
3258
|
}
|
|
3252
|
-
function
|
|
3259
|
+
function Ie(e, r) {
|
|
3253
3260
|
if (!e) return { score: 1, matches: [] };
|
|
3254
3261
|
if (!r) return null;
|
|
3255
|
-
const
|
|
3262
|
+
const a = e.toLowerCase(), o = r.toLowerCase();
|
|
3256
3263
|
let t = 0, n = 0;
|
|
3257
3264
|
const s = [];
|
|
3258
3265
|
let c = -1, u = 0, m = 0;
|
|
3259
|
-
for (; t <
|
|
3260
|
-
|
|
3261
|
-
return c !== -1 && s.push([c, n]), t <
|
|
3266
|
+
for (; t < a.length && n < o.length; )
|
|
3267
|
+
a[t] === o[n] ? (c === -1 && (c = n), t++, m++, u += m, (n === 0 || /\s|_|-/.test(r[n - 1])) && (u += 5), e[t - 1] === r[n] && (u += 1)) : (c !== -1 && (s.push([c, n]), c = -1), m = 0), n++;
|
|
3268
|
+
return c !== -1 && s.push([c, n]), t < a.length ? null : (u = u / r.length, { score: u, matches: s });
|
|
3262
3269
|
}
|
|
3263
|
-
function
|
|
3264
|
-
return
|
|
3270
|
+
function De(e, r) {
|
|
3271
|
+
return Ie(e, r) !== null;
|
|
3265
3272
|
}
|
|
3266
|
-
function
|
|
3267
|
-
return /* @__PURE__ */ S(
|
|
3273
|
+
function Pe(e) {
|
|
3274
|
+
return /* @__PURE__ */ S(_, { viewBox: "4 2 16 18", width: "1rem", fill: "currentColor", ...e, children: /* @__PURE__ */ S(
|
|
3268
3275
|
"path",
|
|
3269
3276
|
{
|
|
3270
3277
|
fillRule: "evenodd",
|
|
@@ -3273,43 +3280,43 @@ function Ue(e) {
|
|
|
3273
3280
|
}
|
|
3274
3281
|
) });
|
|
3275
3282
|
}
|
|
3276
|
-
var
|
|
3283
|
+
var oe;
|
|
3277
3284
|
((e) => {
|
|
3278
|
-
function r(
|
|
3285
|
+
function r(a, o = 300) {
|
|
3279
3286
|
let t = !1, n;
|
|
3280
3287
|
return (...s) => {
|
|
3281
3288
|
if (t) {
|
|
3282
3289
|
n = s;
|
|
3283
3290
|
return;
|
|
3284
3291
|
}
|
|
3285
|
-
|
|
3286
|
-
t = !1, n &&
|
|
3292
|
+
a(...s), t = !0, setTimeout(() => {
|
|
3293
|
+
t = !1, n && a(...n);
|
|
3287
3294
|
}, o);
|
|
3288
3295
|
};
|
|
3289
3296
|
}
|
|
3290
3297
|
e.throttle = r;
|
|
3291
|
-
})(
|
|
3292
|
-
const
|
|
3293
|
-
function
|
|
3294
|
-
const [e] =
|
|
3295
|
-
const
|
|
3296
|
-
let o = document.getElementById(
|
|
3297
|
-
return o || (o = document.createElement("div"), o.id =
|
|
3298
|
+
})(oe || (oe = {}));
|
|
3299
|
+
const Ue = oe, H = /* @__PURE__ */ new Map();
|
|
3300
|
+
function We() {
|
|
3301
|
+
const [e] = Se.useTheme(), r = ne(() => {
|
|
3302
|
+
const a = "crono-box";
|
|
3303
|
+
let o = document.getElementById(a);
|
|
3304
|
+
return o || (o = document.createElement("div"), o.id = a, document.body.appendChild(o)), o;
|
|
3298
3305
|
}, []);
|
|
3299
3306
|
return U(() => {
|
|
3300
3307
|
if (!e) return;
|
|
3301
|
-
const
|
|
3302
|
-
return
|
|
3303
|
-
const t = (
|
|
3304
|
-
t <= 0 ? (
|
|
3308
|
+
const a = H.get(e) ?? 0;
|
|
3309
|
+
return H.set(e, a + 1), a === 0 && r.classList.add(e), () => {
|
|
3310
|
+
const t = (H.get(e) ?? 1) - 1;
|
|
3311
|
+
t <= 0 ? (H.delete(e), r.classList.remove(e)) : H.set(e, t);
|
|
3305
3312
|
};
|
|
3306
3313
|
}, [r, e]), r;
|
|
3307
3314
|
}
|
|
3308
|
-
function
|
|
3309
|
-
return /* @__PURE__ */ S(
|
|
3315
|
+
function Ke(e) {
|
|
3316
|
+
return /* @__PURE__ */ S(_, { ...e, children: /* @__PURE__ */ S("path", { d: "M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z" }) });
|
|
3310
3317
|
}
|
|
3311
|
-
function
|
|
3312
|
-
return /* @__PURE__ */ S(
|
|
3318
|
+
function qe(e) {
|
|
3319
|
+
return /* @__PURE__ */ S(_, { viewBox: "0 0 16 16", width: "18", ...e, children: /* @__PURE__ */ S(
|
|
3313
3320
|
"path",
|
|
3314
3321
|
{
|
|
3315
3322
|
strokeWidth: 4,
|
|
@@ -3317,24 +3324,24 @@ function Xe(e) {
|
|
|
3317
3324
|
}
|
|
3318
3325
|
) });
|
|
3319
3326
|
}
|
|
3320
|
-
function
|
|
3321
|
-
return /* @__PURE__ */ S(
|
|
3327
|
+
function Xe(e) {
|
|
3328
|
+
return /* @__PURE__ */ S(_, { viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ S("path", { d: "M3 5h8v2H3V5zm0 6h8v2H3v-2zm0 6h8v2H3v-2zm12-12h6v6h-6V5zm1 1v4h4V6h-4zm-1 7h6v6h-6v-6zm1 1v4h4v-4h-4z" }) });
|
|
3322
3329
|
}
|
|
3323
|
-
function
|
|
3324
|
-
return /* @__PURE__ */ S(
|
|
3330
|
+
function Ye(e) {
|
|
3331
|
+
return /* @__PURE__ */ S(_, { viewBox: "0 0 1024 1024", ...e, children: /* @__PURE__ */ S("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" }) });
|
|
3325
3332
|
}
|
|
3326
|
-
var
|
|
3333
|
+
var ae;
|
|
3327
3334
|
((e) => {
|
|
3328
|
-
function r(
|
|
3329
|
-
return
|
|
3335
|
+
function r(a) {
|
|
3336
|
+
return a.charAt(0).toUpperCase() + a.slice(1);
|
|
3330
3337
|
}
|
|
3331
3338
|
e.capitalize = r;
|
|
3332
|
-
})(
|
|
3333
|
-
const
|
|
3334
|
-
function
|
|
3335
|
-
return /* @__PURE__ */ S(
|
|
3339
|
+
})(ae || (ae = {}));
|
|
3340
|
+
const Ze = ae;
|
|
3341
|
+
function Qe(e) {
|
|
3342
|
+
return /* @__PURE__ */ S(_, { viewBox: "0 0 488.4 488.4", ...e, children: /* @__PURE__ */ S("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" }) });
|
|
3336
3343
|
}
|
|
3337
|
-
var
|
|
3344
|
+
var le;
|
|
3338
3345
|
((e) => {
|
|
3339
3346
|
function r(o) {
|
|
3340
3347
|
const t = Array.from(o.elements).reduce(
|
|
@@ -3347,16 +3354,16 @@ var ae;
|
|
|
3347
3354
|
return Object.entries(t).reduce((n, [s, c]) => {
|
|
3348
3355
|
if (c.length === 1) {
|
|
3349
3356
|
const u = c[0];
|
|
3350
|
-
|
|
3357
|
+
a(n, s, u.type === "checkbox" || u.type === "radio" ? u.checked : u.value);
|
|
3351
3358
|
} else {
|
|
3352
3359
|
const u = c.reduce((m, f) => (f.type === "checkbox" || f.type === "radio" ? f.checked && m.push(f.value) : m.push(f.value), m), []);
|
|
3353
|
-
|
|
3360
|
+
a(n, s, u);
|
|
3354
3361
|
}
|
|
3355
3362
|
return n;
|
|
3356
3363
|
}, {});
|
|
3357
3364
|
}
|
|
3358
3365
|
e.getFormEntries = r;
|
|
3359
|
-
function
|
|
3366
|
+
function a(o, t, n) {
|
|
3360
3367
|
if (t.includes(".")) {
|
|
3361
3368
|
const s = t.split(".");
|
|
3362
3369
|
let c = o;
|
|
@@ -3374,28 +3381,28 @@ var ae;
|
|
|
3374
3381
|
} else
|
|
3375
3382
|
o[t] = n;
|
|
3376
3383
|
}
|
|
3377
|
-
})(
|
|
3378
|
-
const
|
|
3384
|
+
})(le || (le = {}));
|
|
3385
|
+
const Je = le;
|
|
3379
3386
|
export {
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3387
|
+
de as B,
|
|
3388
|
+
qe as D,
|
|
3389
|
+
Pe as E,
|
|
3390
|
+
Ue as F,
|
|
3391
|
+
Xe as G,
|
|
3385
3392
|
k as O,
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3393
|
+
Ye as P,
|
|
3394
|
+
Ke as S,
|
|
3395
|
+
Se as T,
|
|
3389
3396
|
i as V,
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3397
|
+
$e as a,
|
|
3398
|
+
Me as b,
|
|
3399
|
+
me as c,
|
|
3400
|
+
Qe as d,
|
|
3401
|
+
Je as e,
|
|
3402
|
+
De as f,
|
|
3403
|
+
Ze as g,
|
|
3404
|
+
We as h,
|
|
3405
|
+
ce as i,
|
|
3406
|
+
Ge as m,
|
|
3407
|
+
He as u
|
|
3401
3408
|
};
|