@redis-ui/styles 12.7.0 → 12.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useTheme as To, css as
|
|
2
|
-
import Ae, { useRef as Ge, useCallback as wr, useState as Ce, useEffect as Dr, useLayoutEffect as Eo, createContext as
|
|
1
|
+
import { useTheme as To, css as zr, ThemeProvider as Fo, createGlobalStyle as Io } from "styled-components";
|
|
2
|
+
import Ae, { useRef as Ge, useCallback as wr, useState as Ce, useEffect as Dr, useLayoutEffect as Eo, createContext as Bo, useMemo as Oo, useContext as Mo } from "react";
|
|
3
3
|
const l = {
|
|
4
4
|
transparent: "#00000000",
|
|
5
5
|
pink500: "#de47bb",
|
|
@@ -391,7 +391,7 @@ const l = {
|
|
|
391
391
|
color: l.blue600
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
|
-
},
|
|
394
|
+
}, _o = {
|
|
395
395
|
sizes: {
|
|
396
396
|
L: {
|
|
397
397
|
size: "3rem",
|
|
@@ -1202,14 +1202,14 @@ function Qo(t, a) {
|
|
|
1202
1202
|
var { space: s, values: u, alpha: d } = Zo(t);
|
|
1203
1203
|
return s[0] === "h" ? `${s}a(${u[0]}, ${u[1]}%, ${u[2]}%, ${a})` : `${s}a(${u}, ${a})`;
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1206
|
-
return
|
|
1205
|
+
function _() {
|
|
1206
|
+
return _ = Object.assign ? Object.assign.bind() : function(t) {
|
|
1207
1207
|
for (var a = 1; a < arguments.length; a++) {
|
|
1208
1208
|
var s = arguments[a];
|
|
1209
1209
|
for (var u in s) ({}).hasOwnProperty.call(s, u) && (t[u] = s[u]);
|
|
1210
1210
|
}
|
|
1211
1211
|
return t;
|
|
1212
|
-
},
|
|
1212
|
+
}, _.apply(null, arguments);
|
|
1213
1213
|
}
|
|
1214
1214
|
function rt(t) {
|
|
1215
1215
|
if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -1527,11 +1527,11 @@ var Y = /* @__PURE__ */ function(t) {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
return a;
|
|
1529
1529
|
}(/* @__PURE__ */ Gr(Error));
|
|
1530
|
-
function
|
|
1530
|
+
function _r(t) {
|
|
1531
1531
|
return Math.round(t * 255);
|
|
1532
1532
|
}
|
|
1533
1533
|
function lt(t, a, s) {
|
|
1534
|
-
return
|
|
1534
|
+
return _r(t) + "," + _r(a) + "," + _r(s);
|
|
1535
1535
|
}
|
|
1536
1536
|
function br(t, a, s, u) {
|
|
1537
1537
|
if (u === void 0 && (u = lt), a === 0)
|
|
@@ -1847,7 +1847,7 @@ function qr(t, a, s) {
|
|
|
1847
1847
|
return Xr("#" + or(t.red) + or(t.green) + or(t.blue));
|
|
1848
1848
|
throw new Y(6);
|
|
1849
1849
|
}
|
|
1850
|
-
function
|
|
1850
|
+
function $r(t, a, s, u) {
|
|
1851
1851
|
if (typeof t == "string" && typeof a == "number") {
|
|
1852
1852
|
var d = tr(t);
|
|
1853
1853
|
return "rgba(" + d.red + "," + d.green + "," + d.blue + "," + a + ")";
|
|
@@ -1870,7 +1870,7 @@ var yt = function(a) {
|
|
|
1870
1870
|
};
|
|
1871
1871
|
function Q(t) {
|
|
1872
1872
|
if (typeof t != "object") throw new Y(8);
|
|
1873
|
-
if (kt(t)) return
|
|
1873
|
+
if (kt(t)) return $r(t);
|
|
1874
1874
|
if (yt(t)) return qr(t);
|
|
1875
1875
|
if (wt(t)) return ht(t);
|
|
1876
1876
|
if (vt(t)) return Ct(t);
|
|
@@ -1888,7 +1888,7 @@ function H(t) {
|
|
|
1888
1888
|
function St(t, a) {
|
|
1889
1889
|
if (a === "transparent") return a;
|
|
1890
1890
|
var s = Z(a);
|
|
1891
|
-
return Q(
|
|
1891
|
+
return Q(_({}, s, {
|
|
1892
1892
|
hue: s.hue + parseFloat(t)
|
|
1893
1893
|
}));
|
|
1894
1894
|
}
|
|
@@ -1896,18 +1896,18 @@ H(St);
|
|
|
1896
1896
|
function cr(t, a, s) {
|
|
1897
1897
|
return Math.max(t, Math.min(a, s));
|
|
1898
1898
|
}
|
|
1899
|
-
function
|
|
1899
|
+
function zt(t, a) {
|
|
1900
1900
|
if (a === "transparent") return a;
|
|
1901
1901
|
var s = Z(a);
|
|
1902
|
-
return Q(
|
|
1902
|
+
return Q(_({}, s, {
|
|
1903
1903
|
lightness: cr(0, 1, s.lightness - parseFloat(t))
|
|
1904
1904
|
}));
|
|
1905
1905
|
}
|
|
1906
|
-
var
|
|
1906
|
+
var $t = H(zt), Rt = $t;
|
|
1907
1907
|
function Pt(t, a) {
|
|
1908
1908
|
if (a === "transparent") return a;
|
|
1909
1909
|
var s = Z(a);
|
|
1910
|
-
return Q(
|
|
1910
|
+
return Q(_({}, s, {
|
|
1911
1911
|
saturation: cr(0, 1, s.saturation - parseFloat(t))
|
|
1912
1912
|
}));
|
|
1913
1913
|
}
|
|
@@ -1923,7 +1923,7 @@ function Wt(t) {
|
|
|
1923
1923
|
function Tt(t, a) {
|
|
1924
1924
|
if (a === "transparent") return a;
|
|
1925
1925
|
var s = Z(a);
|
|
1926
|
-
return Q(
|
|
1926
|
+
return Q(_({}, s, {
|
|
1927
1927
|
lightness: cr(0, 1, s.lightness + parseFloat(t))
|
|
1928
1928
|
}));
|
|
1929
1929
|
}
|
|
@@ -1932,9 +1932,9 @@ function Et(t, a, s) {
|
|
|
1932
1932
|
if (a === "transparent") return s;
|
|
1933
1933
|
if (s === "transparent") return a;
|
|
1934
1934
|
if (t === 0) return s;
|
|
1935
|
-
var u = tr(a), d =
|
|
1935
|
+
var u = tr(a), d = _({}, u, {
|
|
1936
1936
|
alpha: typeof u.alpha == "number" ? u.alpha : 1
|
|
1937
|
-
}), g = tr(s), f =
|
|
1937
|
+
}), g = tr(s), f = _({}, g, {
|
|
1938
1938
|
alpha: typeof g.alpha == "number" ? g.alpha : 1
|
|
1939
1939
|
}), h = d.alpha - f.alpha, C = parseFloat(t) * 2 - 1, y = C * h === -1 ? C : C + h, k = 1 + C * h, S = (y / k + 1) / 2, p = 1 - S, R = {
|
|
1940
1940
|
red: Math.floor(d.red * S + f.red * p),
|
|
@@ -1942,39 +1942,39 @@ function Et(t, a, s) {
|
|
|
1942
1942
|
blue: Math.floor(d.blue * S + f.blue * p),
|
|
1943
1943
|
alpha: d.alpha * parseFloat(t) + f.alpha * (1 - parseFloat(t))
|
|
1944
1944
|
};
|
|
1945
|
-
return
|
|
1945
|
+
return $r(R);
|
|
1946
1946
|
}
|
|
1947
|
-
var
|
|
1948
|
-
function
|
|
1947
|
+
var Bt = H(Et), Ne = Bt;
|
|
1948
|
+
function Ot(t, a) {
|
|
1949
1949
|
if (a === "transparent") return a;
|
|
1950
|
-
var s = tr(a), u = typeof s.alpha == "number" ? s.alpha : 1, d =
|
|
1950
|
+
var s = tr(a), u = typeof s.alpha == "number" ? s.alpha : 1, d = _({}, s, {
|
|
1951
1951
|
alpha: cr(0, 1, (u * 100 + parseFloat(t) * 100) / 100)
|
|
1952
1952
|
});
|
|
1953
|
-
return
|
|
1953
|
+
return $r(d);
|
|
1954
1954
|
}
|
|
1955
|
-
H(
|
|
1956
|
-
function
|
|
1955
|
+
H(Ot);
|
|
1956
|
+
function Mt(t, a) {
|
|
1957
1957
|
if (a === "transparent") return a;
|
|
1958
1958
|
var s = Z(a);
|
|
1959
|
-
return Q(
|
|
1959
|
+
return Q(_({}, s, {
|
|
1960
1960
|
saturation: cr(0, 1, s.saturation + parseFloat(t))
|
|
1961
1961
|
}));
|
|
1962
1962
|
}
|
|
1963
|
-
H(
|
|
1964
|
-
function
|
|
1965
|
-
return a === "transparent" ? a : Q(
|
|
1963
|
+
H(Mt);
|
|
1964
|
+
function _t(t, a) {
|
|
1965
|
+
return a === "transparent" ? a : Q(_({}, Z(a), {
|
|
1966
1966
|
hue: parseFloat(t)
|
|
1967
1967
|
}));
|
|
1968
1968
|
}
|
|
1969
|
-
H(
|
|
1969
|
+
H(_t);
|
|
1970
1970
|
function Ht(t, a) {
|
|
1971
|
-
return a === "transparent" ? a : Q(
|
|
1971
|
+
return a === "transparent" ? a : Q(_({}, Z(a), {
|
|
1972
1972
|
lightness: parseFloat(t)
|
|
1973
1973
|
}));
|
|
1974
1974
|
}
|
|
1975
1975
|
H(Ht);
|
|
1976
1976
|
function jt(t, a) {
|
|
1977
|
-
return a === "transparent" ? a : Q(
|
|
1977
|
+
return a === "transparent" ? a : Q(_({}, Z(a), {
|
|
1978
1978
|
saturation: parseFloat(t)
|
|
1979
1979
|
}));
|
|
1980
1980
|
}
|
|
@@ -1989,14 +1989,14 @@ function Dt(t, a) {
|
|
|
1989
1989
|
H(Dt);
|
|
1990
1990
|
function At(t, a) {
|
|
1991
1991
|
if (a === "transparent") return a;
|
|
1992
|
-
var s = tr(a), u = typeof s.alpha == "number" ? s.alpha : 1, d =
|
|
1992
|
+
var s = tr(a), u = typeof s.alpha == "number" ? s.alpha : 1, d = _({}, s, {
|
|
1993
1993
|
alpha: cr(0, 1, +(u * 100 - parseFloat(t) * 100).toFixed(2) / 100)
|
|
1994
1994
|
});
|
|
1995
|
-
return
|
|
1995
|
+
return $r(d);
|
|
1996
1996
|
}
|
|
1997
1997
|
H(At);
|
|
1998
1998
|
const F = (t, a) => Qo(t, a);
|
|
1999
|
-
function
|
|
1999
|
+
function Mn(t) {
|
|
2000
2000
|
const a = Wt(t), s = Math.max(Math.abs(a - 0.5) * 1.2, 0.3);
|
|
2001
2001
|
return a < 0.5 ? It(s, t) : Rt(s, t);
|
|
2002
2002
|
}
|
|
@@ -3221,6 +3221,31 @@ const Gt = {
|
|
|
3221
3221
|
color: o.semantic.color.text.neutral700
|
|
3222
3222
|
}
|
|
3223
3223
|
},
|
|
3224
|
+
pagination: {
|
|
3225
|
+
bar: {
|
|
3226
|
+
borderColor: o.semantic.color.border.neutral400,
|
|
3227
|
+
borderSize: "1px 0 0",
|
|
3228
|
+
gap: "3.2rem",
|
|
3229
|
+
height: "4rem",
|
|
3230
|
+
padding: "0 1.2rem",
|
|
3231
|
+
fontSize: "1.2rem",
|
|
3232
|
+
textColor: o.semantic.color.text.neutral700
|
|
3233
|
+
},
|
|
3234
|
+
navButton: {
|
|
3235
|
+
color: o.semantic.color.text.neutral700,
|
|
3236
|
+
disabledColor: o.semantic.color.text.neutral600,
|
|
3237
|
+
width: "1.6rem",
|
|
3238
|
+
height: "2rem",
|
|
3239
|
+
padding: "0.4rem 0.2rem"
|
|
3240
|
+
},
|
|
3241
|
+
select: {
|
|
3242
|
+
height: "2rem",
|
|
3243
|
+
padding: "0 0.4rem",
|
|
3244
|
+
gap: "0.4rem",
|
|
3245
|
+
fontSize: "1.2rem",
|
|
3246
|
+
textColor: o.semantic.color.text.neutral800
|
|
3247
|
+
}
|
|
3248
|
+
},
|
|
3224
3249
|
components: {
|
|
3225
3250
|
tablePagination: {
|
|
3226
3251
|
paginationIconButton: {
|
|
@@ -3345,13 +3370,13 @@ const Gt = {
|
|
|
3345
3370
|
}
|
|
3346
3371
|
}
|
|
3347
3372
|
}
|
|
3348
|
-
}, K = "transparent",
|
|
3373
|
+
}, K = "transparent", ze = "0.4rem 0.6rem", $e = "0", Re = "0.4rem", Pe = "0", Ca = {
|
|
3349
3374
|
gap: "0.4rem",
|
|
3350
3375
|
height: "2.7rem",
|
|
3351
3376
|
lineHeight: "1.9rem",
|
|
3352
3377
|
variants: {
|
|
3353
3378
|
primary: {
|
|
3354
|
-
padding:
|
|
3379
|
+
padding: ze,
|
|
3355
3380
|
borderRadius: Re,
|
|
3356
3381
|
states: {
|
|
3357
3382
|
normal: {
|
|
@@ -3371,7 +3396,7 @@ const Gt = {
|
|
|
3371
3396
|
}
|
|
3372
3397
|
},
|
|
3373
3398
|
destructive: {
|
|
3374
|
-
padding:
|
|
3399
|
+
padding: ze,
|
|
3375
3400
|
borderRadius: Re,
|
|
3376
3401
|
states: {
|
|
3377
3402
|
normal: {
|
|
@@ -3391,7 +3416,7 @@ const Gt = {
|
|
|
3391
3416
|
}
|
|
3392
3417
|
},
|
|
3393
3418
|
"primary-inline": {
|
|
3394
|
-
padding:
|
|
3419
|
+
padding: $e,
|
|
3395
3420
|
borderRadius: Pe,
|
|
3396
3421
|
states: {
|
|
3397
3422
|
normal: {
|
|
@@ -3411,7 +3436,7 @@ const Gt = {
|
|
|
3411
3436
|
}
|
|
3412
3437
|
},
|
|
3413
3438
|
"destructive-inline": {
|
|
3414
|
-
padding:
|
|
3439
|
+
padding: $e,
|
|
3415
3440
|
borderRadius: Pe,
|
|
3416
3441
|
states: {
|
|
3417
3442
|
normal: {
|
|
@@ -3539,6 +3564,10 @@ const Gt = {
|
|
|
3539
3564
|
fontSize: o.core.font.fontSize.s14,
|
|
3540
3565
|
fontWeight: "600"
|
|
3541
3566
|
}
|
|
3567
|
+
},
|
|
3568
|
+
fontWeight: {
|
|
3569
|
+
bold: "700",
|
|
3570
|
+
semiBold: "600"
|
|
3542
3571
|
}
|
|
3543
3572
|
},
|
|
3544
3573
|
body: {
|
|
@@ -3625,13 +3654,13 @@ const Gt = {
|
|
|
3625
3654
|
borderColor: o.semantic.color.border.neutral300
|
|
3626
3655
|
}
|
|
3627
3656
|
}
|
|
3628
|
-
},
|
|
3657
|
+
}, za = {
|
|
3629
3658
|
bgColor: o.semantic.color.background.neutral100,
|
|
3630
3659
|
textColor: o.semantic.color.background.neutral700,
|
|
3631
3660
|
fontFamily: o.core.font.fontFamily.regular,
|
|
3632
3661
|
fontSize: o.core.font.fontSize.s14,
|
|
3633
3662
|
lineHeight: "1.4"
|
|
3634
|
-
},
|
|
3663
|
+
}, $a = {
|
|
3635
3664
|
width: "0.5rem",
|
|
3636
3665
|
height: "0.5rem",
|
|
3637
3666
|
bgColor: o.semantic.color.background.neutral300,
|
|
@@ -3640,11 +3669,11 @@ const Gt = {
|
|
|
3640
3669
|
bgColor: o.semantic.color.background.neutral600,
|
|
3641
3670
|
borderRadius: "99rem"
|
|
3642
3671
|
}
|
|
3643
|
-
},
|
|
3672
|
+
}, _n = {
|
|
3644
3673
|
name: "old",
|
|
3645
3674
|
...o,
|
|
3646
3675
|
components: {
|
|
3647
|
-
actionIconButton:
|
|
3676
|
+
actionIconButton: _o,
|
|
3648
3677
|
appBar: Ho,
|
|
3649
3678
|
appSelectionMenu: jo,
|
|
3650
3679
|
autoComplete: Lo,
|
|
@@ -3697,8 +3726,8 @@ const Gt = {
|
|
|
3697
3726
|
windowBar: Sa
|
|
3698
3727
|
},
|
|
3699
3728
|
globals: {
|
|
3700
|
-
body:
|
|
3701
|
-
scrollbar:
|
|
3729
|
+
body: za,
|
|
3730
|
+
scrollbar: $a
|
|
3702
3731
|
}
|
|
3703
3732
|
}, c = {
|
|
3704
3733
|
transparent: "#00000000",
|
|
@@ -4325,7 +4354,7 @@ const Gt = {
|
|
|
4325
4354
|
defaultItem: {
|
|
4326
4355
|
gap: "0.4rem"
|
|
4327
4356
|
}
|
|
4328
|
-
},
|
|
4357
|
+
}, Ba = {
|
|
4329
4358
|
gap: "0.2rem",
|
|
4330
4359
|
sizes: {
|
|
4331
4360
|
small: {
|
|
@@ -4435,7 +4464,7 @@ const Gt = {
|
|
|
4435
4464
|
}
|
|
4436
4465
|
}
|
|
4437
4466
|
}
|
|
4438
|
-
},
|
|
4467
|
+
}, Oa = {
|
|
4439
4468
|
borderRadius: "0.4rem",
|
|
4440
4469
|
border: `1px solid ${e.semantic.color.border.neutral600}`,
|
|
4441
4470
|
fontSize: "1.4rem",
|
|
@@ -4478,13 +4507,13 @@ const Gt = {
|
|
|
4478
4507
|
}
|
|
4479
4508
|
}
|
|
4480
4509
|
}
|
|
4481
|
-
},
|
|
4510
|
+
}, Ma = {
|
|
4482
4511
|
width: "100%",
|
|
4483
4512
|
height: "fit-content",
|
|
4484
4513
|
bgColor: e.semantic.color.background.neutral100,
|
|
4485
4514
|
shadow: e.core.shadow.shadow4,
|
|
4486
4515
|
borderRadius: "0.8rem"
|
|
4487
|
-
},
|
|
4516
|
+
}, _a = {
|
|
4488
4517
|
width: "1.8rem",
|
|
4489
4518
|
height: "1.8rem",
|
|
4490
4519
|
padding: "0",
|
|
@@ -5449,7 +5478,7 @@ const Gt = {
|
|
|
5449
5478
|
}, G = {
|
|
5450
5479
|
bgColor: { disabled: e.semantic.color.background.neutral400 },
|
|
5451
5480
|
textColor: { disabled: e.semantic.color.text.neutral600 }
|
|
5452
|
-
},
|
|
5481
|
+
}, B = {
|
|
5453
5482
|
borderColor: { disabled: e.semantic.color.border.neutral500 },
|
|
5454
5483
|
bgColor: { disabled: "transparent" },
|
|
5455
5484
|
textColor: { disabled: e.semantic.color.text.neutral500 }
|
|
@@ -5492,9 +5521,9 @@ const Gt = {
|
|
|
5492
5521
|
bgColor: X(e.semantic.color.background.success700, 12)
|
|
5493
5522
|
},
|
|
5494
5523
|
disabled: {
|
|
5495
|
-
borderColor:
|
|
5496
|
-
bgColor:
|
|
5497
|
-
textColor:
|
|
5524
|
+
borderColor: B.borderColor.disabled,
|
|
5525
|
+
bgColor: B.bgColor.disabled,
|
|
5526
|
+
textColor: B.textColor.disabled
|
|
5498
5527
|
}
|
|
5499
5528
|
}
|
|
5500
5529
|
},
|
|
@@ -5528,9 +5557,9 @@ const Gt = {
|
|
|
5528
5557
|
bgColor: X(e.semantic.color.background.attention700, 12)
|
|
5529
5558
|
},
|
|
5530
5559
|
disabled: {
|
|
5531
|
-
borderColor:
|
|
5532
|
-
bgColor:
|
|
5533
|
-
textColor:
|
|
5560
|
+
borderColor: B.borderColor.disabled,
|
|
5561
|
+
bgColor: B.bgColor.disabled,
|
|
5562
|
+
textColor: B.textColor.disabled
|
|
5534
5563
|
}
|
|
5535
5564
|
}
|
|
5536
5565
|
},
|
|
@@ -5564,9 +5593,9 @@ const Gt = {
|
|
|
5564
5593
|
bgColor: X(e.semantic.color.background.danger700, 12)
|
|
5565
5594
|
},
|
|
5566
5595
|
disabled: {
|
|
5567
|
-
borderColor:
|
|
5568
|
-
bgColor:
|
|
5569
|
-
textColor:
|
|
5596
|
+
borderColor: B.borderColor.disabled,
|
|
5597
|
+
bgColor: B.bgColor.disabled,
|
|
5598
|
+
textColor: B.textColor.disabled
|
|
5570
5599
|
}
|
|
5571
5600
|
}
|
|
5572
5601
|
},
|
|
@@ -5600,9 +5629,9 @@ const Gt = {
|
|
|
5600
5629
|
bgColor: X(e.semantic.color.background.notice700, 12)
|
|
5601
5630
|
},
|
|
5602
5631
|
disabled: {
|
|
5603
|
-
borderColor:
|
|
5604
|
-
bgColor:
|
|
5605
|
-
textColor:
|
|
5632
|
+
borderColor: B.borderColor.disabled,
|
|
5633
|
+
bgColor: B.bgColor.disabled,
|
|
5634
|
+
textColor: B.textColor.disabled
|
|
5606
5635
|
}
|
|
5607
5636
|
}
|
|
5608
5637
|
},
|
|
@@ -5636,9 +5665,9 @@ const Gt = {
|
|
|
5636
5665
|
bgColor: X(e.semantic.color.background.informative700, 12)
|
|
5637
5666
|
},
|
|
5638
5667
|
disabled: {
|
|
5639
|
-
borderColor:
|
|
5640
|
-
bgColor:
|
|
5641
|
-
textColor:
|
|
5668
|
+
borderColor: B.borderColor.disabled,
|
|
5669
|
+
bgColor: B.bgColor.disabled,
|
|
5670
|
+
textColor: B.textColor.disabled
|
|
5642
5671
|
}
|
|
5643
5672
|
}
|
|
5644
5673
|
}
|
|
@@ -5938,6 +5967,31 @@ const Gt = {
|
|
|
5938
5967
|
color: e.semantic.color.text.neutral700
|
|
5939
5968
|
}
|
|
5940
5969
|
},
|
|
5970
|
+
pagination: {
|
|
5971
|
+
bar: {
|
|
5972
|
+
borderColor: e.color.dusk200,
|
|
5973
|
+
borderSize: "1px 0 0",
|
|
5974
|
+
gap: "3.2rem",
|
|
5975
|
+
height: "4rem",
|
|
5976
|
+
padding: "0 1.2rem",
|
|
5977
|
+
fontSize: "1.2rem",
|
|
5978
|
+
textColor: e.semantic.color.text.neutral700
|
|
5979
|
+
},
|
|
5980
|
+
navButton: {
|
|
5981
|
+
color: e.semantic.color.text.neutral700,
|
|
5982
|
+
disabledColor: e.semantic.color.text.neutral600,
|
|
5983
|
+
width: "1.6rem",
|
|
5984
|
+
height: "2rem",
|
|
5985
|
+
padding: "0.4rem 0.2rem"
|
|
5986
|
+
},
|
|
5987
|
+
select: {
|
|
5988
|
+
height: "2rem",
|
|
5989
|
+
padding: "0 0.4rem",
|
|
5990
|
+
gap: "0.4rem",
|
|
5991
|
+
fontSize: "1.2rem",
|
|
5992
|
+
textColor: e.color.dusk800
|
|
5993
|
+
}
|
|
5994
|
+
},
|
|
5941
5995
|
components: {
|
|
5942
5996
|
tablePagination: {
|
|
5943
5997
|
paginationIconButton: {
|
|
@@ -5945,7 +5999,7 @@ const Gt = {
|
|
|
5945
5999
|
disabledColor: e.semantic.color.text.neutral700
|
|
5946
6000
|
},
|
|
5947
6001
|
paginationRow: {
|
|
5948
|
-
borderTop: e.
|
|
6002
|
+
borderTop: e.color.dusk200
|
|
5949
6003
|
},
|
|
5950
6004
|
countInfoText: {
|
|
5951
6005
|
color: e.semantic.color.text.neutral700
|
|
@@ -6070,7 +6124,7 @@ const Gt = {
|
|
|
6070
6124
|
}
|
|
6071
6125
|
}
|
|
6072
6126
|
}
|
|
6073
|
-
}, J = "transparent", Fe = "0.4rem 0.6rem", Ie = "0", Ee = "0.4rem",
|
|
6127
|
+
}, J = "transparent", Fe = "0.4rem 0.6rem", Ie = "0", Ee = "0.4rem", Be = "0", x0 = {
|
|
6074
6128
|
gap: "0.4rem",
|
|
6075
6129
|
height: "2.7rem",
|
|
6076
6130
|
lineHeight: "1.9rem",
|
|
@@ -6118,7 +6172,7 @@ const Gt = {
|
|
|
6118
6172
|
},
|
|
6119
6173
|
"primary-inline": {
|
|
6120
6174
|
padding: Ie,
|
|
6121
|
-
borderRadius:
|
|
6175
|
+
borderRadius: Be,
|
|
6122
6176
|
states: {
|
|
6123
6177
|
normal: {
|
|
6124
6178
|
bgColor: J,
|
|
@@ -6138,7 +6192,7 @@ const Gt = {
|
|
|
6138
6192
|
},
|
|
6139
6193
|
"destructive-inline": {
|
|
6140
6194
|
padding: Ie,
|
|
6141
|
-
borderRadius:
|
|
6195
|
+
borderRadius: Be,
|
|
6142
6196
|
states: {
|
|
6143
6197
|
normal: {
|
|
6144
6198
|
bgColor: J,
|
|
@@ -6278,6 +6332,10 @@ const Gt = {
|
|
|
6278
6332
|
fontSize: e.core.font.fontSize.s14,
|
|
6279
6333
|
fontWeight: "600"
|
|
6280
6334
|
}
|
|
6335
|
+
},
|
|
6336
|
+
fontWeight: {
|
|
6337
|
+
bold: "700",
|
|
6338
|
+
semiBold: "600"
|
|
6281
6339
|
}
|
|
6282
6340
|
},
|
|
6283
6341
|
body: {
|
|
@@ -6370,7 +6428,7 @@ const Gt = {
|
|
|
6370
6428
|
fontFamily: e.core.font.fontFamily.regular,
|
|
6371
6429
|
fontSize: e.core.font.fontSize.s14,
|
|
6372
6430
|
lineHeight: "1.4"
|
|
6373
|
-
},
|
|
6431
|
+
}, z0 = {
|
|
6374
6432
|
width: "0.5rem",
|
|
6375
6433
|
height: "0.5rem",
|
|
6376
6434
|
bgColor: e.color.dusk100,
|
|
@@ -6379,7 +6437,7 @@ const Gt = {
|
|
|
6379
6437
|
bgColor: e.color.dusk400,
|
|
6380
6438
|
borderRadius: "99rem"
|
|
6381
6439
|
}
|
|
6382
|
-
},
|
|
6440
|
+
}, $0 = {
|
|
6383
6441
|
name: "light",
|
|
6384
6442
|
...e,
|
|
6385
6443
|
components: {
|
|
@@ -6390,10 +6448,10 @@ const Gt = {
|
|
|
6390
6448
|
badge: Fa,
|
|
6391
6449
|
banner: Ia,
|
|
6392
6450
|
boxSelectionGroup: Ea,
|
|
6393
|
-
button:
|
|
6394
|
-
buttonGroup:
|
|
6395
|
-
card:
|
|
6396
|
-
checkbox:
|
|
6451
|
+
button: Ba,
|
|
6452
|
+
buttonGroup: Oa,
|
|
6453
|
+
card: Ma,
|
|
6454
|
+
checkbox: _a,
|
|
6397
6455
|
chip: Ha,
|
|
6398
6456
|
chipList: ja,
|
|
6399
6457
|
countryFlag: La,
|
|
@@ -6437,7 +6495,7 @@ const Gt = {
|
|
|
6437
6495
|
},
|
|
6438
6496
|
globals: {
|
|
6439
6497
|
body: S0,
|
|
6440
|
-
scrollbar:
|
|
6498
|
+
scrollbar: z0
|
|
6441
6499
|
}
|
|
6442
6500
|
}, i = {
|
|
6443
6501
|
transparent: "#00000000",
|
|
@@ -6943,12 +7001,12 @@ const Gt = {
|
|
|
6943
7001
|
screenMarginHeight: "6px",
|
|
6944
7002
|
maxHeight: "50vh"
|
|
6945
7003
|
}
|
|
6946
|
-
},
|
|
7004
|
+
}, Oe = "1px", F0 = {
|
|
6947
7005
|
padding: `${r.core.space.space025} ${r.core.space.space050}`,
|
|
6948
7006
|
gap: r.core.space.space025,
|
|
6949
7007
|
borderRadius: "2px",
|
|
6950
|
-
height: `calc(${r.core.space.space200} + ${
|
|
6951
|
-
borderWidth:
|
|
7008
|
+
height: `calc(${r.core.space.space200} + ${Oe} * 2)`,
|
|
7009
|
+
borderWidth: Oe,
|
|
6952
7010
|
borderStyle: "solid",
|
|
6953
7011
|
variants: {
|
|
6954
7012
|
white: {
|
|
@@ -7064,7 +7122,7 @@ const Gt = {
|
|
|
7064
7122
|
defaultItem: {
|
|
7065
7123
|
gap: "0.4rem"
|
|
7066
7124
|
}
|
|
7067
|
-
},
|
|
7125
|
+
}, B0 = {
|
|
7068
7126
|
gap: "0.2rem",
|
|
7069
7127
|
sizes: {
|
|
7070
7128
|
small: {
|
|
@@ -7178,7 +7236,7 @@ const Gt = {
|
|
|
7178
7236
|
}
|
|
7179
7237
|
}
|
|
7180
7238
|
}
|
|
7181
|
-
},
|
|
7239
|
+
}, O0 = {
|
|
7182
7240
|
borderRadius: "0.4rem",
|
|
7183
7241
|
border: `1px solid ${r.semantic.color.border.neutral600}`,
|
|
7184
7242
|
fontSize: "1.4rem",
|
|
@@ -7221,13 +7279,13 @@ const Gt = {
|
|
|
7221
7279
|
}
|
|
7222
7280
|
}
|
|
7223
7281
|
}
|
|
7224
|
-
},
|
|
7282
|
+
}, M0 = {
|
|
7225
7283
|
width: "100%",
|
|
7226
7284
|
height: "fit-content",
|
|
7227
7285
|
bgColor: r.semantic.color.background.neutral100,
|
|
7228
7286
|
shadow: r.core.shadow.shadow4,
|
|
7229
7287
|
borderRadius: "0.8rem"
|
|
7230
|
-
},
|
|
7288
|
+
}, _0 = {
|
|
7231
7289
|
width: "1.8rem",
|
|
7232
7290
|
height: "1.8rem",
|
|
7233
7291
|
padding: "0",
|
|
@@ -8171,7 +8229,7 @@ const Gt = {
|
|
|
8171
8229
|
}, q = {
|
|
8172
8230
|
bgColor: { disabled: r.semantic.color.background.neutral400 },
|
|
8173
8231
|
textColor: { disabled: r.semantic.color.text.neutral600 }
|
|
8174
|
-
},
|
|
8232
|
+
}, O = {
|
|
8175
8233
|
borderColor: { disabled: r.semantic.color.border.neutral500 },
|
|
8176
8234
|
bgColor: { disabled: "transparent" },
|
|
8177
8235
|
textColor: { disabled: r.semantic.color.text.neutral500 }
|
|
@@ -8214,9 +8272,9 @@ const Gt = {
|
|
|
8214
8272
|
bgColor: N(r.semantic.color.background.success700, 12)
|
|
8215
8273
|
},
|
|
8216
8274
|
disabled: {
|
|
8217
|
-
borderColor:
|
|
8218
|
-
bgColor:
|
|
8219
|
-
textColor:
|
|
8275
|
+
borderColor: O.borderColor.disabled,
|
|
8276
|
+
bgColor: O.bgColor.disabled,
|
|
8277
|
+
textColor: O.textColor.disabled
|
|
8220
8278
|
}
|
|
8221
8279
|
}
|
|
8222
8280
|
},
|
|
@@ -8250,9 +8308,9 @@ const Gt = {
|
|
|
8250
8308
|
bgColor: N(r.semantic.color.background.attention700, 12)
|
|
8251
8309
|
},
|
|
8252
8310
|
disabled: {
|
|
8253
|
-
borderColor:
|
|
8254
|
-
bgColor:
|
|
8255
|
-
textColor:
|
|
8311
|
+
borderColor: O.borderColor.disabled,
|
|
8312
|
+
bgColor: O.bgColor.disabled,
|
|
8313
|
+
textColor: O.textColor.disabled
|
|
8256
8314
|
}
|
|
8257
8315
|
}
|
|
8258
8316
|
},
|
|
@@ -8286,9 +8344,9 @@ const Gt = {
|
|
|
8286
8344
|
bgColor: N(r.semantic.color.background.danger700, 12)
|
|
8287
8345
|
},
|
|
8288
8346
|
disabled: {
|
|
8289
|
-
borderColor:
|
|
8290
|
-
bgColor:
|
|
8291
|
-
textColor:
|
|
8347
|
+
borderColor: O.borderColor.disabled,
|
|
8348
|
+
bgColor: O.bgColor.disabled,
|
|
8349
|
+
textColor: O.textColor.disabled
|
|
8292
8350
|
}
|
|
8293
8351
|
}
|
|
8294
8352
|
},
|
|
@@ -8322,9 +8380,9 @@ const Gt = {
|
|
|
8322
8380
|
bgColor: N(r.semantic.color.background.notice700, 12)
|
|
8323
8381
|
},
|
|
8324
8382
|
disabled: {
|
|
8325
|
-
borderColor:
|
|
8326
|
-
bgColor:
|
|
8327
|
-
textColor:
|
|
8383
|
+
borderColor: O.borderColor.disabled,
|
|
8384
|
+
bgColor: O.bgColor.disabled,
|
|
8385
|
+
textColor: O.textColor.disabled
|
|
8328
8386
|
}
|
|
8329
8387
|
}
|
|
8330
8388
|
},
|
|
@@ -8358,9 +8416,9 @@ const Gt = {
|
|
|
8358
8416
|
bgColor: N(r.semantic.color.background.informative700, 12)
|
|
8359
8417
|
},
|
|
8360
8418
|
disabled: {
|
|
8361
|
-
borderColor:
|
|
8362
|
-
bgColor:
|
|
8363
|
-
textColor:
|
|
8419
|
+
borderColor: O.borderColor.disabled,
|
|
8420
|
+
bgColor: O.bgColor.disabled,
|
|
8421
|
+
textColor: O.textColor.disabled
|
|
8364
8422
|
}
|
|
8365
8423
|
}
|
|
8366
8424
|
}
|
|
@@ -8660,6 +8718,31 @@ const Gt = {
|
|
|
8660
8718
|
color: r.semantic.color.text.neutral700
|
|
8661
8719
|
}
|
|
8662
8720
|
},
|
|
8721
|
+
pagination: {
|
|
8722
|
+
bar: {
|
|
8723
|
+
borderColor: r.semantic.color.border.neutral400,
|
|
8724
|
+
borderSize: "1px 0 0",
|
|
8725
|
+
gap: "3.2rem",
|
|
8726
|
+
height: "4rem",
|
|
8727
|
+
padding: "0 1.2rem",
|
|
8728
|
+
fontSize: "1.2rem",
|
|
8729
|
+
textColor: r.color.dark200
|
|
8730
|
+
},
|
|
8731
|
+
navButton: {
|
|
8732
|
+
color: r.color.dark200,
|
|
8733
|
+
disabledColor: r.color.dark300,
|
|
8734
|
+
width: "1.6rem",
|
|
8735
|
+
height: "2rem",
|
|
8736
|
+
padding: "0.4rem 0.2rem"
|
|
8737
|
+
},
|
|
8738
|
+
select: {
|
|
8739
|
+
height: "2rem",
|
|
8740
|
+
padding: "0 0.4rem",
|
|
8741
|
+
gap: "0.4rem",
|
|
8742
|
+
fontSize: "1.2rem",
|
|
8743
|
+
textColor: r.color.dark50
|
|
8744
|
+
}
|
|
8745
|
+
},
|
|
8663
8746
|
components: {
|
|
8664
8747
|
tablePagination: {
|
|
8665
8748
|
paginationIconButton: {
|
|
@@ -8795,13 +8878,13 @@ const Gt = {
|
|
|
8795
8878
|
}
|
|
8796
8879
|
}
|
|
8797
8880
|
}
|
|
8798
|
-
}, V = "transparent",
|
|
8881
|
+
}, V = "transparent", Me = "0.4rem 0.6rem", _e = "0", He = "0.4rem", je = "0", Cn = {
|
|
8799
8882
|
gap: "0.4rem",
|
|
8800
8883
|
height: "2.7rem",
|
|
8801
8884
|
lineHeight: "1.9rem",
|
|
8802
8885
|
variants: {
|
|
8803
8886
|
primary: {
|
|
8804
|
-
padding:
|
|
8887
|
+
padding: Me,
|
|
8805
8888
|
borderRadius: He,
|
|
8806
8889
|
states: {
|
|
8807
8890
|
normal: {
|
|
@@ -8822,7 +8905,7 @@ const Gt = {
|
|
|
8822
8905
|
}
|
|
8823
8906
|
},
|
|
8824
8907
|
destructive: {
|
|
8825
|
-
padding:
|
|
8908
|
+
padding: Me,
|
|
8826
8909
|
borderRadius: He,
|
|
8827
8910
|
states: {
|
|
8828
8911
|
normal: {
|
|
@@ -8842,7 +8925,7 @@ const Gt = {
|
|
|
8842
8925
|
}
|
|
8843
8926
|
},
|
|
8844
8927
|
"primary-inline": {
|
|
8845
|
-
padding:
|
|
8928
|
+
padding: _e,
|
|
8846
8929
|
borderRadius: je,
|
|
8847
8930
|
states: {
|
|
8848
8931
|
normal: {
|
|
@@ -8862,7 +8945,7 @@ const Gt = {
|
|
|
8862
8945
|
}
|
|
8863
8946
|
},
|
|
8864
8947
|
"destructive-inline": {
|
|
8865
|
-
padding:
|
|
8948
|
+
padding: _e,
|
|
8866
8949
|
borderRadius: je,
|
|
8867
8950
|
states: {
|
|
8868
8951
|
normal: {
|
|
@@ -9003,6 +9086,10 @@ const Gt = {
|
|
|
9003
9086
|
fontSize: r.core.font.fontSize.s14,
|
|
9004
9087
|
fontWeight: "600"
|
|
9005
9088
|
}
|
|
9089
|
+
},
|
|
9090
|
+
fontWeight: {
|
|
9091
|
+
bold: "700",
|
|
9092
|
+
semiBold: "600"
|
|
9006
9093
|
}
|
|
9007
9094
|
},
|
|
9008
9095
|
body: {
|
|
@@ -9089,13 +9176,13 @@ const Gt = {
|
|
|
9089
9176
|
borderColor: r.semantic.color.border.neutral300
|
|
9090
9177
|
}
|
|
9091
9178
|
}
|
|
9092
|
-
},
|
|
9179
|
+
}, zn = {
|
|
9093
9180
|
bgColor: r.semantic.color.background.neutral100,
|
|
9094
9181
|
textColor: r.semantic.color.background.neutral700,
|
|
9095
9182
|
fontFamily: r.core.font.fontFamily.regular,
|
|
9096
9183
|
fontSize: r.core.font.fontSize.s14,
|
|
9097
9184
|
lineHeight: "1.4"
|
|
9098
|
-
},
|
|
9185
|
+
}, $n = {
|
|
9099
9186
|
width: "0.5rem",
|
|
9100
9187
|
height: "0.5rem",
|
|
9101
9188
|
bgColor: r.color.dark700,
|
|
@@ -9115,10 +9202,10 @@ const Gt = {
|
|
|
9115
9202
|
badge: F0,
|
|
9116
9203
|
banner: I0,
|
|
9117
9204
|
boxSelectionGroup: E0,
|
|
9118
|
-
button:
|
|
9119
|
-
buttonGroup:
|
|
9120
|
-
card:
|
|
9121
|
-
checkbox:
|
|
9205
|
+
button: B0,
|
|
9206
|
+
buttonGroup: O0,
|
|
9207
|
+
card: M0,
|
|
9208
|
+
checkbox: _0,
|
|
9122
9209
|
chip: H0,
|
|
9123
9210
|
chipList: j0,
|
|
9124
9211
|
countryFlag: L0,
|
|
@@ -9161,15 +9248,15 @@ const Gt = {
|
|
|
9161
9248
|
windowBar: Sn
|
|
9162
9249
|
},
|
|
9163
9250
|
globals: {
|
|
9164
|
-
body:
|
|
9165
|
-
scrollbar:
|
|
9251
|
+
body: zn,
|
|
9252
|
+
scrollbar: $n
|
|
9166
9253
|
}
|
|
9167
|
-
}, lr = () => To() ||
|
|
9254
|
+
}, lr = () => To() || $0, jn = (t) => zr`
|
|
9168
9255
|
&:focus-visible {
|
|
9169
9256
|
outline: ${() => lr().core.focus.size} solid ${() => lr().core.focus.color};
|
|
9170
9257
|
outline-offset: ${() => t || lr().core.focus.margin};
|
|
9171
9258
|
}
|
|
9172
|
-
`, Ln = (t) =>
|
|
9259
|
+
`, Ln = (t) => zr`
|
|
9173
9260
|
outline: ${() => lr().core.focus.size} solid ${() => lr().core.focus.color};
|
|
9174
9261
|
outline-offset: ${() => t || lr().core.focus.margin};
|
|
9175
9262
|
`, Lr = () => window.matchMedia("(prefers-color-scheme: dark)"), Rn = (t) => {
|
|
@@ -9277,12 +9364,12 @@ function Tn() {
|
|
|
9277
9364
|
}
|
|
9278
9365
|
function Ue(n, m, b) {
|
|
9279
9366
|
{
|
|
9280
|
-
var x = L.ReactDebugCurrentFrame,
|
|
9281
|
-
|
|
9282
|
-
var
|
|
9367
|
+
var x = L.ReactDebugCurrentFrame, z = x.getStackAddendum();
|
|
9368
|
+
z !== "" && (m += "%s", b = b.concat([z]));
|
|
9369
|
+
var $ = b.map(function(w) {
|
|
9283
9370
|
return String(w);
|
|
9284
9371
|
});
|
|
9285
|
-
|
|
9372
|
+
$.unshift("Warning: " + m), Function.prototype.apply.call(console[n], console, $);
|
|
9286
9373
|
}
|
|
9287
9374
|
}
|
|
9288
9375
|
var Ke = !1, Je = !1, Ve = !1, Ze = !1, Qe = !1, Ur;
|
|
@@ -9298,8 +9385,8 @@ function Tn() {
|
|
|
9298
9385
|
var x = n.displayName;
|
|
9299
9386
|
if (x)
|
|
9300
9387
|
return x;
|
|
9301
|
-
var
|
|
9302
|
-
return
|
|
9388
|
+
var z = m.displayName || m.name || "";
|
|
9389
|
+
return z !== "" ? b + "(" + z + ")" : b;
|
|
9303
9390
|
}
|
|
9304
9391
|
function Kr(n) {
|
|
9305
9392
|
return n.displayName || "Context";
|
|
@@ -9339,9 +9426,9 @@ function Tn() {
|
|
|
9339
9426
|
var x = n.displayName || null;
|
|
9340
9427
|
return x !== null ? x : D(n.type) || "Memo";
|
|
9341
9428
|
case p: {
|
|
9342
|
-
var
|
|
9429
|
+
var z = n, $ = z._payload, w = z._init;
|
|
9343
9430
|
try {
|
|
9344
|
-
return D(w(
|
|
9431
|
+
return D(w($));
|
|
9345
9432
|
} catch {
|
|
9346
9433
|
return null;
|
|
9347
9434
|
}
|
|
@@ -9417,8 +9504,8 @@ function Tn() {
|
|
|
9417
9504
|
if (Wr === void 0)
|
|
9418
9505
|
try {
|
|
9419
9506
|
throw Error();
|
|
9420
|
-
} catch (
|
|
9421
|
-
var x =
|
|
9507
|
+
} catch (z) {
|
|
9508
|
+
var x = z.stack.trim().match(/\n( *(at )?)/);
|
|
9422
9509
|
Wr = x && x[1] || "";
|
|
9423
9510
|
}
|
|
9424
9511
|
return `
|
|
@@ -9440,10 +9527,10 @@ function Tn() {
|
|
|
9440
9527
|
}
|
|
9441
9528
|
var x;
|
|
9442
9529
|
Tr = !0;
|
|
9443
|
-
var
|
|
9530
|
+
var z = Error.prepareStackTrace;
|
|
9444
9531
|
Error.prepareStackTrace = void 0;
|
|
9445
|
-
var
|
|
9446
|
-
|
|
9532
|
+
var $;
|
|
9533
|
+
$ = Pr.current, Pr.current = null, oo();
|
|
9447
9534
|
try {
|
|
9448
9535
|
if (m) {
|
|
9449
9536
|
var w = function() {
|
|
@@ -9456,29 +9543,29 @@ function Tn() {
|
|
|
9456
9543
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
9457
9544
|
try {
|
|
9458
9545
|
Reflect.construct(w, []);
|
|
9459
|
-
} catch (
|
|
9460
|
-
x =
|
|
9546
|
+
} catch (M) {
|
|
9547
|
+
x = M;
|
|
9461
9548
|
}
|
|
9462
9549
|
Reflect.construct(n, [], w);
|
|
9463
9550
|
} else {
|
|
9464
9551
|
try {
|
|
9465
9552
|
w.call();
|
|
9466
|
-
} catch (
|
|
9467
|
-
x =
|
|
9553
|
+
} catch (M) {
|
|
9554
|
+
x = M;
|
|
9468
9555
|
}
|
|
9469
9556
|
n.call(w.prototype);
|
|
9470
9557
|
}
|
|
9471
9558
|
} else {
|
|
9472
9559
|
try {
|
|
9473
9560
|
throw Error();
|
|
9474
|
-
} catch (
|
|
9475
|
-
x =
|
|
9561
|
+
} catch (M) {
|
|
9562
|
+
x = M;
|
|
9476
9563
|
}
|
|
9477
9564
|
n();
|
|
9478
9565
|
}
|
|
9479
|
-
} catch (
|
|
9480
|
-
if (
|
|
9481
|
-
for (var v =
|
|
9566
|
+
} catch (M) {
|
|
9567
|
+
if (M && x && typeof M.stack == "string") {
|
|
9568
|
+
for (var v = M.stack.split(`
|
|
9482
9569
|
`), I = x.stack.split(`
|
|
9483
9570
|
`), P = v.length - 1, W = I.length - 1; P >= 1 && W >= 0 && v[P] !== I[W]; )
|
|
9484
9571
|
W--;
|
|
@@ -9496,7 +9583,7 @@ function Tn() {
|
|
|
9496
9583
|
}
|
|
9497
9584
|
}
|
|
9498
9585
|
} finally {
|
|
9499
|
-
Tr = !1, Pr.current =
|
|
9586
|
+
Tr = !1, Pr.current = $, to(), Error.prepareStackTrace = z;
|
|
9500
9587
|
}
|
|
9501
9588
|
var nr = n ? n.displayName || n.name : "", er = nr ? fr(nr) : "";
|
|
9502
9589
|
return typeof n == "function" && xr.set(n, er), er;
|
|
@@ -9528,9 +9615,9 @@ function Tn() {
|
|
|
9528
9615
|
case S:
|
|
9529
9616
|
return Cr(n.type, m, b);
|
|
9530
9617
|
case p: {
|
|
9531
|
-
var x = n,
|
|
9618
|
+
var x = n, z = x._payload, $ = x._init;
|
|
9532
9619
|
try {
|
|
9533
|
-
return Cr(z
|
|
9620
|
+
return Cr($(z), m, b);
|
|
9534
9621
|
} catch {
|
|
9535
9622
|
}
|
|
9536
9623
|
}
|
|
@@ -9545,11 +9632,11 @@ function Tn() {
|
|
|
9545
9632
|
} else
|
|
9546
9633
|
le.setExtraStackFrame(null);
|
|
9547
9634
|
}
|
|
9548
|
-
function co(n, m, b, x,
|
|
9635
|
+
function co(n, m, b, x, z) {
|
|
9549
9636
|
{
|
|
9550
|
-
var
|
|
9637
|
+
var $ = Function.call.bind(sr);
|
|
9551
9638
|
for (var w in n)
|
|
9552
|
-
if (
|
|
9639
|
+
if ($(n, w)) {
|
|
9553
9640
|
var v = void 0;
|
|
9554
9641
|
try {
|
|
9555
9642
|
if (typeof n[w] != "function") {
|
|
@@ -9560,7 +9647,7 @@ function Tn() {
|
|
|
9560
9647
|
} catch (P) {
|
|
9561
9648
|
v = P;
|
|
9562
9649
|
}
|
|
9563
|
-
v && !(v instanceof Error) && (hr(
|
|
9650
|
+
v && !(v instanceof Error) && (hr(z), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", x || "React class", b, w, typeof v), hr(null)), v instanceof Error && !(v.message in ne) && (ne[v.message] = !0, hr(z), T("Failed %s type: %s", b, v.message), hr(null));
|
|
9564
9651
|
}
|
|
9565
9652
|
}
|
|
9566
9653
|
}
|
|
@@ -9639,7 +9726,7 @@ function Tn() {
|
|
|
9639
9726
|
});
|
|
9640
9727
|
}
|
|
9641
9728
|
}
|
|
9642
|
-
var Co = function(n, m, b, x,
|
|
9729
|
+
var Co = function(n, m, b, x, z, $, w) {
|
|
9643
9730
|
var v = {
|
|
9644
9731
|
// This tag allows us to uniquely identify this as a React Element
|
|
9645
9732
|
$$typeof: a,
|
|
@@ -9649,7 +9736,7 @@ function Tn() {
|
|
|
9649
9736
|
ref: b,
|
|
9650
9737
|
props: w,
|
|
9651
9738
|
// Record the component responsible for creating this element.
|
|
9652
|
-
_owner:
|
|
9739
|
+
_owner: $
|
|
9653
9740
|
};
|
|
9654
9741
|
return v._store = {}, Object.defineProperty(v._store, "validated", {
|
|
9655
9742
|
configurable: !1,
|
|
@@ -9665,25 +9752,25 @@ function Tn() {
|
|
|
9665
9752
|
configurable: !1,
|
|
9666
9753
|
enumerable: !1,
|
|
9667
9754
|
writable: !1,
|
|
9668
|
-
value:
|
|
9755
|
+
value: z
|
|
9669
9756
|
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
9670
9757
|
};
|
|
9671
|
-
function ho(n, m, b, x,
|
|
9758
|
+
function ho(n, m, b, x, z) {
|
|
9672
9759
|
{
|
|
9673
|
-
var
|
|
9674
|
-
b !== void 0 && (ie(b), v = "" + b), bo(m) && (ie(m.key), v = "" + m.key), go(m) && (I = m.ref, po(m,
|
|
9675
|
-
for (
|
|
9676
|
-
sr.call(m,
|
|
9760
|
+
var $, w = {}, v = null, I = null;
|
|
9761
|
+
b !== void 0 && (ie(b), v = "" + b), bo(m) && (ie(m.key), v = "" + m.key), go(m) && (I = m.ref, po(m, z));
|
|
9762
|
+
for ($ in m)
|
|
9763
|
+
sr.call(m, $) && !uo.hasOwnProperty($) && (w[$] = m[$]);
|
|
9677
9764
|
if (n && n.defaultProps) {
|
|
9678
9765
|
var P = n.defaultProps;
|
|
9679
|
-
for (
|
|
9680
|
-
w[
|
|
9766
|
+
for ($ in P)
|
|
9767
|
+
w[$] === void 0 && (w[$] = P[$]);
|
|
9681
9768
|
}
|
|
9682
9769
|
if (v || I) {
|
|
9683
9770
|
var W = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
9684
9771
|
v && fo(w, W), I && xo(w, W);
|
|
9685
9772
|
}
|
|
9686
|
-
return Co(n, v, I,
|
|
9773
|
+
return Co(n, v, I, z, x, dr.current, w);
|
|
9687
9774
|
}
|
|
9688
9775
|
}
|
|
9689
9776
|
var Er = L.ReactCurrentOwner, me = L.ReactDebugCurrentFrame;
|
|
@@ -9694,9 +9781,9 @@ function Tn() {
|
|
|
9694
9781
|
} else
|
|
9695
9782
|
me.setExtraStackFrame(null);
|
|
9696
9783
|
}
|
|
9697
|
-
var
|
|
9698
|
-
|
|
9699
|
-
function
|
|
9784
|
+
var Br;
|
|
9785
|
+
Br = !1;
|
|
9786
|
+
function Or(n) {
|
|
9700
9787
|
return typeof n == "object" && n !== null && n.$$typeof === a;
|
|
9701
9788
|
}
|
|
9702
9789
|
function ue() {
|
|
@@ -9747,15 +9834,15 @@ Check the top-level render call using <` + b + ">.");
|
|
|
9747
9834
|
if (Fr(n))
|
|
9748
9835
|
for (var b = 0; b < n.length; b++) {
|
|
9749
9836
|
var x = n[b];
|
|
9750
|
-
|
|
9837
|
+
Or(x) && be(x, m);
|
|
9751
9838
|
}
|
|
9752
|
-
else if (
|
|
9839
|
+
else if (Or(n))
|
|
9753
9840
|
n._store && (n._store.validated = !0);
|
|
9754
9841
|
else if (n) {
|
|
9755
|
-
var
|
|
9756
|
-
if (typeof
|
|
9757
|
-
for (var
|
|
9758
|
-
|
|
9842
|
+
var z = pr(n);
|
|
9843
|
+
if (typeof z == "function" && z !== n.entries)
|
|
9844
|
+
for (var $ = z.call(n), w; !(w = $.next()).done; )
|
|
9845
|
+
Or(w.value) && be(w.value, m);
|
|
9759
9846
|
}
|
|
9760
9847
|
}
|
|
9761
9848
|
}
|
|
@@ -9776,10 +9863,10 @@ Check the top-level render call using <` + b + ">.");
|
|
|
9776
9863
|
if (b) {
|
|
9777
9864
|
var x = D(m);
|
|
9778
9865
|
co(b, n.props, "prop", x, n);
|
|
9779
|
-
} else if (m.PropTypes !== void 0 && !
|
|
9780
|
-
|
|
9781
|
-
var
|
|
9782
|
-
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
9866
|
+
} else if (m.PropTypes !== void 0 && !Br) {
|
|
9867
|
+
Br = !0;
|
|
9868
|
+
var z = D(m);
|
|
9869
|
+
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", z || "Unknown");
|
|
9783
9870
|
}
|
|
9784
9871
|
typeof m.getDefaultProps == "function" && !m.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
9785
9872
|
}
|
|
@@ -9797,7 +9884,7 @@ Check the top-level render call using <` + b + ">.");
|
|
|
9797
9884
|
}
|
|
9798
9885
|
}
|
|
9799
9886
|
var fe = {};
|
|
9800
|
-
function xe(n, m, b, x,
|
|
9887
|
+
function xe(n, m, b, x, z, $) {
|
|
9801
9888
|
{
|
|
9802
9889
|
var w = ro(n);
|
|
9803
9890
|
if (!w) {
|
|
@@ -9808,7 +9895,7 @@ Check the top-level render call using <` + b + ">.");
|
|
|
9808
9895
|
var P;
|
|
9809
9896
|
n === null ? P = "null" : Fr(n) ? P = "array" : n !== void 0 && n.$$typeof === a ? (P = "<" + (D(n.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : P = typeof n, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, v);
|
|
9810
9897
|
}
|
|
9811
|
-
var W = ho(n, m, b,
|
|
9898
|
+
var W = ho(n, m, b, z, $);
|
|
9812
9899
|
if (W == null)
|
|
9813
9900
|
return W;
|
|
9814
9901
|
if (w) {
|
|
@@ -9825,17 +9912,17 @@ Check the top-level render call using <` + b + ">.");
|
|
|
9825
9912
|
pe(j, n);
|
|
9826
9913
|
}
|
|
9827
9914
|
if (sr.call(m, "key")) {
|
|
9828
|
-
var er = D(n),
|
|
9915
|
+
var er = D(n), M = Object.keys(m).filter(function(Wo) {
|
|
9829
9916
|
return Wo !== "key";
|
|
9830
|
-
}),
|
|
9831
|
-
if (!fe[er +
|
|
9832
|
-
var Po =
|
|
9917
|
+
}), Mr = M.length > 0 ? "{key: someKey, " + M.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
9918
|
+
if (!fe[er + Mr]) {
|
|
9919
|
+
var Po = M.length > 0 ? "{" + M.join(": ..., ") + ": ...}" : "{}";
|
|
9833
9920
|
T(`A props object containing a "key" prop is being spread into JSX:
|
|
9834
9921
|
let props = %s;
|
|
9835
9922
|
<%s {...props} />
|
|
9836
9923
|
React keys must be passed directly to JSX without using spread:
|
|
9837
9924
|
let props = %s;
|
|
9838
|
-
<%s key={someKey} {...props} />`,
|
|
9925
|
+
<%s key={someKey} {...props} />`, Mr, er, Po, er), fe[er + Mr] = !0;
|
|
9839
9926
|
}
|
|
9840
9927
|
}
|
|
9841
9928
|
return n === u ? wo(W) : vo(W), W;
|
|
@@ -9844,20 +9931,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
9844
9931
|
function So(n, m, b) {
|
|
9845
9932
|
return xe(n, m, b, !0);
|
|
9846
9933
|
}
|
|
9847
|
-
function
|
|
9934
|
+
function zo(n, m, b) {
|
|
9848
9935
|
return xe(n, m, b, !1);
|
|
9849
9936
|
}
|
|
9850
|
-
var
|
|
9851
|
-
ur.Fragment = u, ur.jsx =
|
|
9937
|
+
var $o = zo, Ro = So;
|
|
9938
|
+
ur.Fragment = u, ur.jsx = $o, ur.jsxs = Ro;
|
|
9852
9939
|
}()), ur;
|
|
9853
9940
|
}
|
|
9854
9941
|
process.env.NODE_ENV === "production" ? Nr.exports = Wn() : Nr.exports = Tn();
|
|
9855
9942
|
var Yr = Nr.exports;
|
|
9856
|
-
const Ye =
|
|
9857
|
-
const f =
|
|
9943
|
+
const Ye = Bo(null), Fn = ({ children: t, selectedTheme: a, setSelectedTheme: s, lightThemeName: u, darkThemeName: d, systemThemeName: g }) => {
|
|
9944
|
+
const f = Oo(() => ({ selectedTheme: a, setSelectedTheme: s, lightThemeName: u, darkThemeName: d, systemThemeName: g }), [a, s, u, d, g]);
|
|
9858
9945
|
return Yr.jsx(Ye.Provider, { value: f, children: t });
|
|
9859
9946
|
}, Dn = () => {
|
|
9860
|
-
const t =
|
|
9947
|
+
const t = Mo(Ye);
|
|
9861
9948
|
if (!t)
|
|
9862
9949
|
throw new Error("Missing ThemeSwitchContext");
|
|
9863
9950
|
return t;
|
|
@@ -9867,7 +9954,7 @@ const Ye = Oo(null), Fn = ({ children: t, selectedTheme: a, setSelectedTheme: s,
|
|
|
9867
9954
|
...C
|
|
9868
9955
|
});
|
|
9869
9956
|
return Pn({ storageKey: g, value: y, onChange: k }), Yr.jsx(Fo, { theme: S === (s == null ? void 0 : s.name) ? s : a, children: Yr.jsx(Fn, { selectedTheme: y, setSelectedTheme: k, ...C, children: t }) });
|
|
9870
|
-
}, In =
|
|
9957
|
+
}, In = zr`
|
|
9871
9958
|
body {
|
|
9872
9959
|
background: ${({ theme: t }) => t.globals.body.bgColor};
|
|
9873
9960
|
color: ${({ theme: t }) => t.globals.body.textColor};
|
|
@@ -9877,7 +9964,7 @@ const Ye = Oo(null), Fn = ({ children: t, selectedTheme: a, setSelectedTheme: s,
|
|
|
9877
9964
|
|
|
9878
9965
|
color-scheme: only ${({ theme: t }) => t.name === "dark" ? "dark" : "light"};
|
|
9879
9966
|
}
|
|
9880
|
-
`, En =
|
|
9967
|
+
`, En = zr`
|
|
9881
9968
|
@media (pointer: fine) {
|
|
9882
9969
|
@-moz-document url-prefix() {
|
|
9883
9970
|
* {
|
|
@@ -9924,14 +10011,14 @@ export {
|
|
|
9924
10011
|
Fn as ThemeSwitchProvider,
|
|
9925
10012
|
jn as getFocusStyle,
|
|
9926
10013
|
Ln as getFocusStyleProperties,
|
|
9927
|
-
|
|
10014
|
+
$0 as theme,
|
|
9928
10015
|
Hn as themeDark,
|
|
9929
|
-
|
|
9930
|
-
|
|
10016
|
+
$0 as themeLight,
|
|
10017
|
+
_n as themeOld,
|
|
9931
10018
|
Pn as useStorage,
|
|
9932
10019
|
lr as useTheme,
|
|
9933
10020
|
Rn as useThemeSelector,
|
|
9934
10021
|
Dn as useThemeSwitchContext,
|
|
9935
|
-
|
|
10022
|
+
Mn as withContrast,
|
|
9936
10023
|
F as withOpacity
|
|
9937
10024
|
};
|