@bitrise/bitkit-v2 0.3.45 → 0.3.46
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/bitkit-v2.js +254 -235
- package/dist/bitkit-v2.umd.cjs +5 -5
- package/dist/theme/recipes/Link.recipe.d.ts +11 -0
- package/dist/theme/recipes/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/bitkit-v2.js
CHANGED
|
@@ -3,7 +3,7 @@ import To, { forwardRef as c, useContext as Hl, createContext as Po, useMemo as
|
|
|
3
3
|
function Fo(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
6
|
+
var Qt = { exports: {} }, Vt = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.js
|
|
@@ -278,7 +278,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
278
278
|
}
|
|
279
279
|
var un;
|
|
280
280
|
function qo() {
|
|
281
|
-
return un || (un = 1, process.env.NODE_ENV === "production" ?
|
|
281
|
+
return un || (un = 1, process.env.NODE_ENV === "production" ? Qt.exports = _o() : Qt.exports = Do()), Qt.exports;
|
|
282
282
|
}
|
|
283
283
|
var r = qo();
|
|
284
284
|
function kl(e) {
|
|
@@ -333,7 +333,7 @@ var Yo = /* @__PURE__ */ (function() {
|
|
|
333
333
|
return (i = o.parentNode) == null ? void 0 : i.removeChild(o);
|
|
334
334
|
}), this.tags = [], this.ctr = 0;
|
|
335
335
|
}, e;
|
|
336
|
-
})(), me = "-ms-",
|
|
336
|
+
})(), me = "-ms-", E1 = "-moz-", U = "-webkit-", Ll = "comm", E0 = "rule", x0 = "decl", Xo = "@import", Nl = "@keyframes", Ko = "@layer", Jo = Math.abs, z1 = String.fromCharCode, Qo = Object.assign;
|
|
337
337
|
function Zo(e, t) {
|
|
338
338
|
return ge(e, 0) ^ 45 ? (((t << 2 ^ ge(e, 0)) << 2 ^ ge(e, 1)) << 2 ^ ge(e, 2)) << 2 ^ ge(e, 3) : 0;
|
|
339
339
|
}
|
|
@@ -361,32 +361,32 @@ function je(e) {
|
|
|
361
361
|
function C0(e) {
|
|
362
362
|
return e.length;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Zt(e, t) {
|
|
365
365
|
return t.push(e), e;
|
|
366
366
|
}
|
|
367
367
|
function tr(e, t) {
|
|
368
368
|
return e.map(t).join("");
|
|
369
369
|
}
|
|
370
|
-
var
|
|
371
|
-
function
|
|
372
|
-
return { value: e, root: t, parent: l, type: o, props: i, children: a, line:
|
|
370
|
+
var A1 = 1, xt = 1, Tl = 0, Ee = 0, he = 0, bt = "";
|
|
371
|
+
function V1(e, t, l, o, i, a, s) {
|
|
372
|
+
return { value: e, root: t, parent: l, type: o, props: i, children: a, line: A1, column: xt, length: s, return: "" };
|
|
373
373
|
}
|
|
374
374
|
function jt(e, t) {
|
|
375
|
-
return Qo(
|
|
375
|
+
return Qo(V1("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
376
376
|
}
|
|
377
377
|
function nr() {
|
|
378
378
|
return he;
|
|
379
379
|
}
|
|
380
380
|
function lr() {
|
|
381
|
-
return he = Ee > 0 ? ge(bt, --Ee) : 0, xt--, he === 10 && (xt = 1,
|
|
381
|
+
return he = Ee > 0 ? ge(bt, --Ee) : 0, xt--, he === 10 && (xt = 1, A1--), he;
|
|
382
382
|
}
|
|
383
383
|
function Ie() {
|
|
384
|
-
return he = Ee < Tl ? ge(bt, Ee++) : 0, xt++, he === 10 && (xt = 1,
|
|
384
|
+
return he = Ee < Tl ? ge(bt, Ee++) : 0, xt++, he === 10 && (xt = 1, A1++), he;
|
|
385
385
|
}
|
|
386
386
|
function Le() {
|
|
387
387
|
return ge(bt, Ee);
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function s1() {
|
|
390
390
|
return Ee;
|
|
391
391
|
}
|
|
392
392
|
function Gt(e, t) {
|
|
@@ -431,12 +431,12 @@ function Dt(e) {
|
|
|
431
431
|
return 0;
|
|
432
432
|
}
|
|
433
433
|
function Pl(e) {
|
|
434
|
-
return
|
|
434
|
+
return A1 = xt = 1, Tl = je(bt = e), Ee = 0, [];
|
|
435
435
|
}
|
|
436
436
|
function Fl(e) {
|
|
437
437
|
return bt = "", e;
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function c1(e) {
|
|
440
440
|
return Bl(Gt(Ee - 1, o0(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
441
441
|
}
|
|
442
442
|
function or(e) {
|
|
@@ -447,7 +447,7 @@ function or(e) {
|
|
|
447
447
|
function rr(e, t) {
|
|
448
448
|
for (; --t && Ie() && !(he < 48 || he > 102 || he > 57 && he < 65 || he > 70 && he < 97); )
|
|
449
449
|
;
|
|
450
|
-
return Gt(e,
|
|
450
|
+
return Gt(e, s1() + (t < 6 && Le() == 32 && Ie() == 32));
|
|
451
451
|
}
|
|
452
452
|
function o0(e) {
|
|
453
453
|
for (; Ie(); )
|
|
@@ -475,7 +475,7 @@ function ir(e, t) {
|
|
|
475
475
|
for (; Ie() && e + he !== 57; )
|
|
476
476
|
if (e + he === 84 && Le() === 47)
|
|
477
477
|
break;
|
|
478
|
-
return "/*" + Gt(t, Ee - 1) + "*" +
|
|
478
|
+
return "/*" + Gt(t, Ee - 1) + "*" + z1(e === 47 ? e : Ie());
|
|
479
479
|
}
|
|
480
480
|
function ar(e) {
|
|
481
481
|
for (; !Dt(Le()); )
|
|
@@ -483,22 +483,22 @@ function ar(e) {
|
|
|
483
483
|
return Gt(e, Ee);
|
|
484
484
|
}
|
|
485
485
|
function sr(e) {
|
|
486
|
-
return Fl(
|
|
486
|
+
return Fl(h1("", null, null, null, [""], e = Pl(e), 0, [0], e));
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function h1(e, t, l, o, i, a, s, d, u) {
|
|
489
489
|
for (var m = 0, g = 0, f = s, v = 0, p = 0, E = 0, w = 1, C = 1, I = 1, b = 0, x = "", M = i, y = a, A = o, H = x; C; )
|
|
490
490
|
switch (E = b, b = Ie()) {
|
|
491
491
|
// (
|
|
492
492
|
case 40:
|
|
493
493
|
if (E != 108 && ge(H, f - 1) == 58) {
|
|
494
|
-
l0(H += Y(
|
|
494
|
+
l0(H += Y(c1(b), "&", "&\f"), "&\f") != -1 && (I = -1);
|
|
495
495
|
break;
|
|
496
496
|
}
|
|
497
497
|
// " ' [
|
|
498
498
|
case 34:
|
|
499
499
|
case 39:
|
|
500
500
|
case 91:
|
|
501
|
-
H +=
|
|
501
|
+
H += c1(b);
|
|
502
502
|
break;
|
|
503
503
|
// \t \n \r \s
|
|
504
504
|
case 9:
|
|
@@ -509,14 +509,14 @@ function c1(e, t, l, o, i, a, s, d, u) {
|
|
|
509
509
|
break;
|
|
510
510
|
// \
|
|
511
511
|
case 92:
|
|
512
|
-
H += rr(
|
|
512
|
+
H += rr(s1() - 1, 7);
|
|
513
513
|
continue;
|
|
514
514
|
// /
|
|
515
515
|
case 47:
|
|
516
516
|
switch (Le()) {
|
|
517
517
|
case 42:
|
|
518
518
|
case 47:
|
|
519
|
-
|
|
519
|
+
Zt(cr(ir(Ie(), s1()), t, l), u);
|
|
520
520
|
break;
|
|
521
521
|
default:
|
|
522
522
|
H += "/";
|
|
@@ -536,16 +536,16 @@ function c1(e, t, l, o, i, a, s, d, u) {
|
|
|
536
536
|
C = 0;
|
|
537
537
|
// ;
|
|
538
538
|
case 59 + g:
|
|
539
|
-
I == -1 && (H = Y(H, /\f/g, "")), p > 0 && je(H) - f &&
|
|
539
|
+
I == -1 && (H = Y(H, /\f/g, "")), p > 0 && je(H) - f && Zt(p > 32 ? mn(H + ";", o, l, f - 1) : mn(Y(H, " ", "") + ";", o, l, f - 2), u);
|
|
540
540
|
break;
|
|
541
541
|
// @ ;
|
|
542
542
|
case 59:
|
|
543
543
|
H += ";";
|
|
544
544
|
// { rule/at-rule
|
|
545
545
|
default:
|
|
546
|
-
if (
|
|
546
|
+
if (Zt(A = gn(H, t, l, m, g, i, d, x, M = [], y = [], f), a), b === 123)
|
|
547
547
|
if (g === 0)
|
|
548
|
-
|
|
548
|
+
h1(H, t, A, A, M, a, f, d, y);
|
|
549
549
|
else
|
|
550
550
|
switch (v === 99 && ge(H, 3) === 110 ? 100 : v) {
|
|
551
551
|
// d l m s
|
|
@@ -553,10 +553,10 @@ function c1(e, t, l, o, i, a, s, d, u) {
|
|
|
553
553
|
case 108:
|
|
554
554
|
case 109:
|
|
555
555
|
case 115:
|
|
556
|
-
|
|
556
|
+
h1(e, A, A, o && Zt(gn(e, A, A, 0, 0, i, d, x, i, M = [], f), y), i, y, f, d, o ? M : y);
|
|
557
557
|
break;
|
|
558
558
|
default:
|
|
559
|
-
|
|
559
|
+
h1(H, A, A, A, [""], y, 0, d, y);
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
562
|
m = g = p = 0, w = I = 1, x = H = "", f = s;
|
|
@@ -571,7 +571,7 @@ function c1(e, t, l, o, i, a, s, d, u) {
|
|
|
571
571
|
else if (b == 125 && w++ == 0 && lr() == 125)
|
|
572
572
|
continue;
|
|
573
573
|
}
|
|
574
|
-
switch (H +=
|
|
574
|
+
switch (H += z1(b), b * w) {
|
|
575
575
|
// &
|
|
576
576
|
case 38:
|
|
577
577
|
I = g > 0 ? 1 : (H += "\f", -1);
|
|
@@ -582,7 +582,7 @@ function c1(e, t, l, o, i, a, s, d, u) {
|
|
|
582
582
|
break;
|
|
583
583
|
// @
|
|
584
584
|
case 64:
|
|
585
|
-
Le() === 45 && (H +=
|
|
585
|
+
Le() === 45 && (H += c1(Ie())), v = Le(), g = f = je(x = H += ar(s1())), b++;
|
|
586
586
|
break;
|
|
587
587
|
// -
|
|
588
588
|
case 45:
|
|
@@ -595,13 +595,13 @@ function gn(e, t, l, o, i, a, s, d, u, m, g) {
|
|
|
595
595
|
for (var f = i - 1, v = i === 0 ? a : [""], p = C0(v), E = 0, w = 0, C = 0; E < o; ++E)
|
|
596
596
|
for (var I = 0, b = _t(e, f + 1, f = Jo(w = s[E])), x = e; I < p; ++I)
|
|
597
597
|
(x = Bl(w > 0 ? v[I] + " " + b : Y(b, /&\f/g, v[I]))) && (u[C++] = x);
|
|
598
|
-
return
|
|
598
|
+
return V1(e, t, l, i === 0 ? E0 : d, u, m, g);
|
|
599
599
|
}
|
|
600
600
|
function cr(e, t, l) {
|
|
601
|
-
return
|
|
601
|
+
return V1(e, t, l, Ll, z1(nr()), _t(e, 2, -2), 0);
|
|
602
602
|
}
|
|
603
603
|
function mn(e, t, l, o) {
|
|
604
|
-
return
|
|
604
|
+
return V1(e, t, l, x0, _t(e, 0, o), _t(e, o + 1, -1), o);
|
|
605
605
|
}
|
|
606
606
|
function pt(e, t) {
|
|
607
607
|
for (var l = "", o = C0(e), i = 0; i < o; i++)
|
|
@@ -649,7 +649,7 @@ var gr = function(t, l, o) {
|
|
|
649
649
|
i === 38 && Le() === 12 && (l[o] = 1), t[o] += gr(Ee - 1, l, o);
|
|
650
650
|
break;
|
|
651
651
|
case 2:
|
|
652
|
-
t[o] +=
|
|
652
|
+
t[o] += c1(i);
|
|
653
653
|
break;
|
|
654
654
|
case 4:
|
|
655
655
|
if (i === 44) {
|
|
@@ -658,7 +658,7 @@ var gr = function(t, l, o) {
|
|
|
658
658
|
}
|
|
659
659
|
// fallthrough
|
|
660
660
|
default:
|
|
661
|
-
t[o] +=
|
|
661
|
+
t[o] += z1(i);
|
|
662
662
|
}
|
|
663
663
|
while (i = Ie());
|
|
664
664
|
return t;
|
|
@@ -726,7 +726,7 @@ function _l(e, t) {
|
|
|
726
726
|
case 4810:
|
|
727
727
|
case 6968:
|
|
728
728
|
case 2756:
|
|
729
|
-
return U + e +
|
|
729
|
+
return U + e + E1 + e + me + e + e;
|
|
730
730
|
// flex, flex-direction
|
|
731
731
|
case 6828:
|
|
732
732
|
case 4268:
|
|
@@ -790,7 +790,7 @@ function _l(e, t) {
|
|
|
790
790
|
if (ge(e, t + 4) !== 45) break;
|
|
791
791
|
// (f)ill-available, (f)it-content
|
|
792
792
|
case 102:
|
|
793
|
-
return Y(e, /(.+:)(.+)-([^]+)/, "$1" + U + "$2-$3$1" +
|
|
793
|
+
return Y(e, /(.+:)(.+)-([^]+)/, "$1" + U + "$2-$3$1" + E1 + (ge(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
794
794
|
// (s)tretch
|
|
795
795
|
case 115:
|
|
796
796
|
return ~l0(e, "stretch") ? _l(Y(e, "stretch", "fill-available"), t) + e : e;
|
|
@@ -843,14 +843,14 @@ var wr = function(t, l, o, i) {
|
|
|
843
843
|
case ":read-only":
|
|
844
844
|
case ":read-write":
|
|
845
845
|
return pt([jt(t, {
|
|
846
|
-
props: [Y(a, /:(read-\w+)/, ":" +
|
|
846
|
+
props: [Y(a, /:(read-\w+)/, ":" + E1 + "$1")]
|
|
847
847
|
})], i);
|
|
848
848
|
// :placeholder
|
|
849
849
|
case "::placeholder":
|
|
850
850
|
return pt([jt(t, {
|
|
851
851
|
props: [Y(a, /:(plac\w+)/, ":" + U + "input-$1")]
|
|
852
852
|
}), jt(t, {
|
|
853
|
-
props: [Y(a, /:(plac\w+)/, ":" +
|
|
853
|
+
props: [Y(a, /:(plac\w+)/, ":" + E1 + "$1")]
|
|
854
854
|
}), jt(t, {
|
|
855
855
|
props: [Y(a, /:(plac\w+)/, me + "input-$1")]
|
|
856
856
|
})], i);
|
|
@@ -905,7 +905,7 @@ var wr = function(t, l, o, i) {
|
|
|
905
905
|
insert: u
|
|
906
906
|
};
|
|
907
907
|
return E.sheet.hydrate(d), E;
|
|
908
|
-
},
|
|
908
|
+
}, e1 = { exports: {} }, J = {};
|
|
909
909
|
/** @license React v16.13.1
|
|
910
910
|
* react-is.production.min.js
|
|
911
911
|
*
|
|
@@ -1074,7 +1074,7 @@ function yr() {
|
|
|
1074
1074
|
}
|
|
1075
1075
|
var wn;
|
|
1076
1076
|
function Ir() {
|
|
1077
|
-
return wn || (wn = 1, process.env.NODE_ENV === "production" ?
|
|
1077
|
+
return wn || (wn = 1, process.env.NODE_ENV === "production" ? e1.exports = Cr() : e1.exports = yr()), e1.exports;
|
|
1078
1078
|
}
|
|
1079
1079
|
var D1, En;
|
|
1080
1080
|
function br() {
|
|
@@ -1807,7 +1807,7 @@ function hi(e) {
|
|
|
1807
1807
|
useRecipeResult: s
|
|
1808
1808
|
};
|
|
1809
1809
|
}
|
|
1810
|
-
var Kl = (e) => e[0], Jl = (e) => e[e.length - 1], di = (e, t) => e.indexOf(t) !== -1, Ql = (e, ...t) => e.concat(t), O0 = (e, ...t) => e.filter((l) => !t.includes(l)),
|
|
1810
|
+
var Kl = (e) => e[0], Jl = (e) => e[e.length - 1], di = (e, t) => e.indexOf(t) !== -1, Ql = (e, ...t) => e.concat(t), O0 = (e, ...t) => e.filter((l) => !t.includes(l)), x1 = (e, t) => di(e, t) ? O0(e, t) : Ql(e, t);
|
|
1811
1811
|
function Zl(e, t, l = {}) {
|
|
1812
1812
|
const { step: o = 1, loop: i = !0 } = l, a = t + o, s = e.length, d = s - 1;
|
|
1813
1813
|
return t === -1 ? o > 0 ? 0 : d : a < 0 ? i ? d : 0 : a >= s ? i ? 0 : t > s ? s : t : a;
|
|
@@ -1845,11 +1845,11 @@ var zn = (e) => e?.constructor.name === "Array", vi = (e, t) => {
|
|
|
1845
1845
|
if (!Mt(e[a], t[a])) return !1;
|
|
1846
1846
|
}
|
|
1847
1847
|
return !0;
|
|
1848
|
-
}, fi = (e) => Array.isArray(e), pi = (e) => e === !0 || e === !1, e2 = (e) => e != null && typeof e == "object", U1 = (e) => e2(e) && !fi(e), t2 = (e) => typeof e == "function", wi = (e) => e == null,
|
|
1848
|
+
}, fi = (e) => Array.isArray(e), pi = (e) => e === !0 || e === !1, e2 = (e) => e != null && typeof e == "object", U1 = (e) => e2(e) && !fi(e), t2 = (e) => typeof e == "function", wi = (e) => e == null, d1 = (e, t) => Object.prototype.hasOwnProperty.call(e, t), Ei = (e) => Object.prototype.toString.call(e), n2 = Function.prototype.toString, xi = n2.call(Object), Ci = (e) => {
|
|
1849
1849
|
if (!e2(e) || Ei(e) != "[object Object]" || bi(e)) return !1;
|
|
1850
1850
|
const t = Object.getPrototypeOf(e);
|
|
1851
1851
|
if (t === null) return !0;
|
|
1852
|
-
const l =
|
|
1852
|
+
const l = d1(t, "constructor") && t.constructor;
|
|
1853
1853
|
return typeof l == "function" && l instanceof l && n2.call(l) == xi;
|
|
1854
1854
|
}, yi = (e) => typeof e == "object" && e !== null && "$$typeof" in e && "props" in e, Ii = (e) => typeof e == "object" && e !== null && "__v_isVNode" in e, bi = (e) => yi(e) || Ii(e), Mi = () => {
|
|
1855
1855
|
}, An = (...e) => (...t) => {
|
|
@@ -1911,11 +1911,11 @@ function ki(e) {
|
|
|
1911
1911
|
Math.abs(l - t) === 0 && t === 0 && e.setSelectionRange(e.value.length, e.value.length);
|
|
1912
1912
|
}
|
|
1913
1913
|
var Hn = (e) => Math.max(0, Math.min(1, e)), Li = (e, t) => e.map((l, o) => e[(Math.max(t, 0) + o) % e.length]), Ni = () => {
|
|
1914
|
-
},
|
|
1914
|
+
}, O1 = (e) => typeof e == "object" && e !== null, Bi = 1, Ti = 9, Pi = 11, ve = (e) => O1(e) && e.nodeType === Bi && typeof e.nodeName == "string", k0 = (e) => O1(e) && e.nodeType === Ti, Fi = (e) => O1(e) && e === e.window, a2 = (e) => ve(e) ? e.localName || "" : "#document";
|
|
1915
1915
|
function _i(e) {
|
|
1916
1916
|
return ["html", "body", "#document"].includes(a2(e));
|
|
1917
1917
|
}
|
|
1918
|
-
var Di = (e) =>
|
|
1918
|
+
var Di = (e) => O1(e) && e.nodeType !== void 0, Ct = (e) => Di(e) && e.nodeType === Pi && "host" in e, qi = (e) => ve(e) && e.localName === "input", $i = (e) => !!e?.matches("a[href]"), Wi = (e) => ve(e) ? e.offsetWidth > 0 || e.offsetHeight > 0 || e.getClientRects().length > 0 : !1, Gi = /(textarea|select)/;
|
|
1919
1919
|
function Ui(e) {
|
|
1920
1920
|
if (e == null || !ve(e)) return !1;
|
|
1921
1921
|
try {
|
|
@@ -2170,7 +2170,7 @@ function w2(e) {
|
|
|
2170
2170
|
function Ia(e) {
|
|
2171
2171
|
return e.scrollHeight > e.clientHeight || e.scrollWidth > e.clientWidth;
|
|
2172
2172
|
}
|
|
2173
|
-
function
|
|
2173
|
+
function C1(e, t) {
|
|
2174
2174
|
const { rootEl: l, ...o } = t || {};
|
|
2175
2175
|
!e || !l || !w2(l) || !Ia(l) || e.scrollIntoView(o);
|
|
2176
2176
|
}
|
|
@@ -2182,10 +2182,10 @@ function E2(e, t) {
|
|
|
2182
2182
|
}
|
|
2183
2183
|
return { offset: s, percent: d, getPercentValue: u };
|
|
2184
2184
|
}
|
|
2185
|
-
var mt = "default", s0 = "",
|
|
2185
|
+
var mt = "default", s0 = "", u1 = /* @__PURE__ */ new WeakMap();
|
|
2186
2186
|
function ba(e = {}) {
|
|
2187
2187
|
const { target: t, doc: l } = e, o = l ?? document, i = o.documentElement;
|
|
2188
|
-
return d2() ? (mt === "default" && (s0 = i.style.webkitUserSelect, i.style.webkitUserSelect = "none"), mt = "disabled") : t && (
|
|
2188
|
+
return d2() ? (mt === "default" && (s0 = i.style.webkitUserSelect, i.style.webkitUserSelect = "none"), mt = "disabled") : t && (u1.set(t, t.style.userSelect), t.style.userSelect = "none"), () => Ma({ target: t, doc: o });
|
|
2189
2189
|
}
|
|
2190
2190
|
function Ma(e = {}) {
|
|
2191
2191
|
const { target: t, doc: l } = e, i = (l ?? document).documentElement;
|
|
@@ -2196,9 +2196,9 @@ function Ma(e = {}) {
|
|
|
2196
2196
|
mt === "restoring" && (i.style.webkitUserSelect === "none" && (i.style.webkitUserSelect = s0 || ""), s0 = "", mt = "default");
|
|
2197
2197
|
});
|
|
2198
2198
|
}, 300);
|
|
2199
|
-
} else if (t &&
|
|
2200
|
-
const a =
|
|
2201
|
-
t.style.userSelect === "none" && (t.style.userSelect = a ?? ""), t.getAttribute("style") === "" && t.removeAttribute("style"),
|
|
2199
|
+
} else if (t && u1.has(t)) {
|
|
2200
|
+
const a = u1.get(t);
|
|
2201
|
+
t.style.userSelect === "none" && (t.style.userSelect = a ?? ""), t.getAttribute("style") === "" && t.removeAttribute("style"), u1.delete(t);
|
|
2202
2202
|
}
|
|
2203
2203
|
}
|
|
2204
2204
|
function x2(e = {}) {
|
|
@@ -2236,7 +2236,7 @@ function Sa(e, t) {
|
|
|
2236
2236
|
s.forEach((d) => d());
|
|
2237
2237
|
};
|
|
2238
2238
|
}
|
|
2239
|
-
function
|
|
2239
|
+
function y1(e, t) {
|
|
2240
2240
|
return Array.from(e?.querySelectorAll(t) ?? []);
|
|
2241
2241
|
}
|
|
2242
2242
|
function Ra(e, t) {
|
|
@@ -2423,7 +2423,7 @@ var q = () => (e) => Array.from(new Set(e)), $ = (e, t = []) => ({
|
|
|
2423
2423
|
isEqual(e) {
|
|
2424
2424
|
return $a(this.toJSON(), e.toJSON()) && this.getChannelValue("alpha") === e.getChannelValue("alpha");
|
|
2425
2425
|
}
|
|
2426
|
-
}, Wa = /^#[\da-f]+$/i, Ga = /^rgba?\((.*)\)$/, Ua = /[^#]/gi, C2 = class
|
|
2426
|
+
}, Wa = /^#[\da-f]+$/i, Ga = /^rgba?\((.*)\)$/, Ua = /[^#]/gi, C2 = class g1 extends W0 {
|
|
2427
2427
|
constructor(t, l, o, i) {
|
|
2428
2428
|
super(), this.red = t, this.green = l, this.blue = o, this.alpha = i;
|
|
2429
2429
|
}
|
|
@@ -2436,7 +2436,7 @@ var q = () => (e) => Array.from(new Set(e)), $ = (e, t = []) => ({
|
|
|
2436
2436
|
l[3] = l[3] !== void 0 ? l[3] / 255 : void 0;
|
|
2437
2437
|
}
|
|
2438
2438
|
const o = t.match(Ga);
|
|
2439
|
-
return o?.[1] && (l = o[1].split(",").map((i) => Number(i.trim())).map((i, a) => Ne(i, 0, a < 3 ? 255 : 1))), l.length < 3 ? void 0 : new
|
|
2439
|
+
return o?.[1] && (l = o[1].split(",").map((i) => Number(i.trim())).map((i, a) => Ne(i, 0, a < 3 ? 255 : 1))), l.length < 3 ? void 0 : new g1(l[0], l[1], l[2], l[3] ?? 1);
|
|
2440
2440
|
}
|
|
2441
2441
|
toString(t) {
|
|
2442
2442
|
switch (t) {
|
|
@@ -2533,7 +2533,7 @@ var q = () => (e) => Array.from(new Set(e)), $ = (e, t = []) => ({
|
|
|
2533
2533
|
);
|
|
2534
2534
|
}
|
|
2535
2535
|
clone() {
|
|
2536
|
-
return new
|
|
2536
|
+
return new g1(this.red, this.green, this.blue, this.alpha);
|
|
2537
2537
|
}
|
|
2538
2538
|
getChannelFormatOptions(t) {
|
|
2539
2539
|
switch (t) {
|
|
@@ -2570,11 +2570,11 @@ var q = () => (e) => Array.from(new Set(e)), $ = (e, t = []) => ({
|
|
|
2570
2570
|
return "rgba";
|
|
2571
2571
|
}
|
|
2572
2572
|
getChannels() {
|
|
2573
|
-
return
|
|
2573
|
+
return g1.colorChannels;
|
|
2574
2574
|
}
|
|
2575
2575
|
};
|
|
2576
2576
|
$0(C2, "colorChannels", ["red", "green", "blue"]);
|
|
2577
|
-
var G0 = C2, Ya = /hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/, y2 = class
|
|
2577
|
+
var G0 = C2, Ya = /hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/, y2 = class m1 extends W0 {
|
|
2578
2578
|
constructor(t, l, o, i) {
|
|
2579
2579
|
super(), this.hue = t, this.saturation = l, this.lightness = o, this.alpha = i;
|
|
2580
2580
|
}
|
|
@@ -2582,7 +2582,7 @@ var G0 = C2, Ya = /hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\
|
|
|
2582
2582
|
let l;
|
|
2583
2583
|
if (l = t.match(Ya)) {
|
|
2584
2584
|
const [o, i, a, s] = (l[1] ?? l[2]).split(",").map((d) => Number(d.trim().replace("%", "")));
|
|
2585
|
-
return new
|
|
2585
|
+
return new m1(o2(o, 360), Ne(i, 0, 100), Ne(a, 0, 100), Ne(s ?? 1, 0, 1));
|
|
2586
2586
|
}
|
|
2587
2587
|
}
|
|
2588
2588
|
toString(t) {
|
|
@@ -2645,7 +2645,7 @@ var G0 = C2, Ya = /hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\
|
|
|
2645
2645
|
);
|
|
2646
2646
|
}
|
|
2647
2647
|
clone() {
|
|
2648
|
-
return new
|
|
2648
|
+
return new m1(this.hue, this.saturation, this.lightness, this.alpha);
|
|
2649
2649
|
}
|
|
2650
2650
|
getChannelFormatOptions(t) {
|
|
2651
2651
|
switch (t) {
|
|
@@ -2683,11 +2683,11 @@ var G0 = C2, Ya = /hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\
|
|
|
2683
2683
|
return "hsla";
|
|
2684
2684
|
}
|
|
2685
2685
|
getChannels() {
|
|
2686
|
-
return
|
|
2686
|
+
return m1.colorChannels;
|
|
2687
2687
|
}
|
|
2688
2688
|
};
|
|
2689
2689
|
$0(y2, "colorChannels", ["hue", "saturation", "lightness"]);
|
|
2690
|
-
var U0 = y2, Xa = /hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/, I2 = class
|
|
2690
|
+
var U0 = y2, Xa = /hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/, I2 = class v1 extends W0 {
|
|
2691
2691
|
constructor(t, l, o, i) {
|
|
2692
2692
|
super(), this.hue = t, this.saturation = l, this.brightness = o, this.alpha = i;
|
|
2693
2693
|
}
|
|
@@ -2695,7 +2695,7 @@ var U0 = y2, Xa = /hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\
|
|
|
2695
2695
|
let l;
|
|
2696
2696
|
if (l = t.match(Xa)) {
|
|
2697
2697
|
const [o, i, a, s] = (l[1] ?? l[2]).split(",").map((d) => Number(d.trim().replace("%", "")));
|
|
2698
|
-
return new
|
|
2698
|
+
return new v1(o2(o, 360), Ne(i, 0, 100), Ne(a, 0, 100), Ne(s ?? 1, 0, 1));
|
|
2699
2699
|
}
|
|
2700
2700
|
}
|
|
2701
2701
|
toString(t) {
|
|
@@ -2759,7 +2759,7 @@ var U0 = y2, Xa = /hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\
|
|
|
2759
2759
|
);
|
|
2760
2760
|
}
|
|
2761
2761
|
clone() {
|
|
2762
|
-
return new
|
|
2762
|
+
return new v1(this.hue, this.saturation, this.brightness, this.alpha);
|
|
2763
2763
|
}
|
|
2764
2764
|
getChannelFormatOptions(t) {
|
|
2765
2765
|
switch (t) {
|
|
@@ -2797,7 +2797,7 @@ var U0 = y2, Xa = /hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\
|
|
|
2797
2797
|
return "hsba";
|
|
2798
2798
|
}
|
|
2799
2799
|
getChannels() {
|
|
2800
|
-
return
|
|
2800
|
+
return v1.colorChannels;
|
|
2801
2801
|
}
|
|
2802
2802
|
};
|
|
2803
2803
|
$0(I2, "colorChannels", ["hue", "saturation", "brightness"]);
|
|
@@ -2808,17 +2808,17 @@ var Y0 = I2, Ka = "aliceblue:f0f8ff,antiquewhite:faebd7,aqua:00ffff,aquamarine:7
|
|
|
2808
2808
|
t.set(i, `#${a}`), i.includes("gray") && t.set(i.replace("gray", "grey"), `#${a}`);
|
|
2809
2809
|
}
|
|
2810
2810
|
return t;
|
|
2811
|
-
}, Nn = Ja(Ka),
|
|
2811
|
+
}, Nn = Ja(Ka), I1 = (e) => {
|
|
2812
2812
|
if (Nn.has(e))
|
|
2813
|
-
return
|
|
2813
|
+
return I1(Nn.get(e));
|
|
2814
2814
|
const t = G0.parse(e) || Y0.parse(e) || U0.parse(e);
|
|
2815
2815
|
if (!t) {
|
|
2816
2816
|
const l = new Error("Invalid color value: " + e);
|
|
2817
|
-
throw Error.captureStackTrace?.(l,
|
|
2817
|
+
throw Error.captureStackTrace?.(l, I1), l;
|
|
2818
2818
|
}
|
|
2819
2819
|
return t;
|
|
2820
2820
|
};
|
|
2821
|
-
const Qa = ["top", "right", "bottom", "left"], Ze = Math.min, ye = Math.max,
|
|
2821
|
+
const Qa = ["top", "right", "bottom", "left"], Ze = Math.min, ye = Math.max, b1 = Math.round, t1 = Math.floor, Be = (e) => ({
|
|
2822
2822
|
x: e,
|
|
2823
2823
|
y: e
|
|
2824
2824
|
}), Za = {
|
|
@@ -2859,10 +2859,10 @@ function ns(e, t, l) {
|
|
|
2859
2859
|
l === void 0 && (l = !1);
|
|
2860
2860
|
const o = Rt(e), i = J0(e), a = K0(i);
|
|
2861
2861
|
let s = i === "x" ? o === (l ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
2862
|
-
return t.reference[a] > t.floating[a] && (s =
|
|
2862
|
+
return t.reference[a] > t.floating[a] && (s = M1(s)), [s, M1(s)];
|
|
2863
2863
|
}
|
|
2864
2864
|
function ls(e) {
|
|
2865
|
-
const t =
|
|
2865
|
+
const t = M1(e);
|
|
2866
2866
|
return [h0(e), t, h0(t)];
|
|
2867
2867
|
}
|
|
2868
2868
|
function h0(e) {
|
|
@@ -2886,7 +2886,7 @@ function as(e, t, l, o) {
|
|
|
2886
2886
|
let a = is(Ue(e), l === "start", o);
|
|
2887
2887
|
return i && (a = a.map((s) => s + "-" + i), t && (a = a.concat(a.map(h0)))), a;
|
|
2888
2888
|
}
|
|
2889
|
-
function
|
|
2889
|
+
function M1(e) {
|
|
2890
2890
|
return e.replace(/left|right|bottom|top/g, (t) => Za[t]);
|
|
2891
2891
|
}
|
|
2892
2892
|
function ss(e) {
|
|
@@ -2906,7 +2906,7 @@ function b2(e) {
|
|
|
2906
2906
|
left: e
|
|
2907
2907
|
};
|
|
2908
2908
|
}
|
|
2909
|
-
function
|
|
2909
|
+
function S1(e) {
|
|
2910
2910
|
const {
|
|
2911
2911
|
x: t,
|
|
2912
2912
|
y: l,
|
|
@@ -3049,7 +3049,7 @@ async function $t(e, t) {
|
|
|
3049
3049
|
elementContext: f = "floating",
|
|
3050
3050
|
altBoundary: v = !1,
|
|
3051
3051
|
padding: p = 0
|
|
3052
|
-
} = Ge(t, e), E = b2(p), C = d[v ? f === "floating" ? "reference" : "floating" : f], I =
|
|
3052
|
+
} = Ge(t, e), E = b2(p), C = d[v ? f === "floating" ? "reference" : "floating" : f], I = S1(await a.getClippingRect({
|
|
3053
3053
|
element: (l = await (a.isElement == null ? void 0 : a.isElement(C))) == null || l ? C : C.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(d.floating)),
|
|
3054
3054
|
boundary: m,
|
|
3055
3055
|
rootBoundary: g,
|
|
@@ -3065,7 +3065,7 @@ async function $t(e, t) {
|
|
|
3065
3065
|
} : {
|
|
3066
3066
|
x: 1,
|
|
3067
3067
|
y: 1
|
|
3068
|
-
}, y =
|
|
3068
|
+
}, y = S1(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
3069
3069
|
elements: d,
|
|
3070
3070
|
rect: b,
|
|
3071
3071
|
offsetParent: x,
|
|
@@ -3139,7 +3139,7 @@ const hs = (e) => ({
|
|
|
3139
3139
|
} = Ge(e, t);
|
|
3140
3140
|
if ((l = a.arrow) != null && l.alignmentOffset)
|
|
3141
3141
|
return {};
|
|
3142
|
-
const I = Ue(i), b = ke(d), x = Ue(d) === d, M = await (u.isRTL == null ? void 0 : u.isRTL(m.floating)), y = v || (x || !w ? [
|
|
3142
|
+
const I = Ue(i), b = ke(d), x = Ue(d) === d, M = await (u.isRTL == null ? void 0 : u.isRTL(m.floating)), y = v || (x || !w ? [M1(d)] : ls(d)), A = E !== "none";
|
|
3143
3143
|
!v && A && y.push(...as(d, w, E, M));
|
|
3144
3144
|
const H = [d, ...y], j = await $t(t, C), V = [];
|
|
3145
3145
|
let k = ((o = a.flip) == null ? void 0 : o.overflows) || [];
|
|
@@ -3438,7 +3438,7 @@ const ms = function(e) {
|
|
|
3438
3438
|
}
|
|
3439
3439
|
};
|
|
3440
3440
|
};
|
|
3441
|
-
function
|
|
3441
|
+
function j1() {
|
|
3442
3442
|
return typeof window < "u";
|
|
3443
3443
|
}
|
|
3444
3444
|
function zt(e) {
|
|
@@ -3453,16 +3453,16 @@ function _e(e) {
|
|
|
3453
3453
|
return (t = (S2(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
3454
3454
|
}
|
|
3455
3455
|
function S2(e) {
|
|
3456
|
-
return
|
|
3456
|
+
return j1() ? e instanceof Node || e instanceof be(e).Node : !1;
|
|
3457
3457
|
}
|
|
3458
3458
|
function Ae(e) {
|
|
3459
|
-
return
|
|
3459
|
+
return j1() ? e instanceof Element || e instanceof be(e).Element : !1;
|
|
3460
3460
|
}
|
|
3461
3461
|
function Pe(e) {
|
|
3462
|
-
return
|
|
3462
|
+
return j1() ? e instanceof HTMLElement || e instanceof be(e).HTMLElement : !1;
|
|
3463
3463
|
}
|
|
3464
3464
|
function Dn(e) {
|
|
3465
|
-
return !
|
|
3465
|
+
return !j1() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof be(e).ShadowRoot;
|
|
3466
3466
|
}
|
|
3467
3467
|
const ws = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
3468
3468
|
function Xt(e) {
|
|
@@ -3479,7 +3479,7 @@ function xs(e) {
|
|
|
3479
3479
|
return Es.has(zt(e));
|
|
3480
3480
|
}
|
|
3481
3481
|
const Cs = [":popover-open", ":modal"];
|
|
3482
|
-
function
|
|
3482
|
+
function H1(e) {
|
|
3483
3483
|
return Cs.some((t) => {
|
|
3484
3484
|
try {
|
|
3485
3485
|
return e.matches(t);
|
|
@@ -3498,7 +3498,7 @@ function Ms(e) {
|
|
|
3498
3498
|
for (; Pe(t) && !It(t); ) {
|
|
3499
3499
|
if (Q0(t))
|
|
3500
3500
|
return t;
|
|
3501
|
-
if (
|
|
3501
|
+
if (H1(t))
|
|
3502
3502
|
return null;
|
|
3503
3503
|
t = et(t);
|
|
3504
3504
|
}
|
|
@@ -3514,7 +3514,7 @@ function It(e) {
|
|
|
3514
3514
|
function Ve(e) {
|
|
3515
3515
|
return be(e).getComputedStyle(e);
|
|
3516
3516
|
}
|
|
3517
|
-
function
|
|
3517
|
+
function k1(e) {
|
|
3518
3518
|
return Ae(e) ? {
|
|
3519
3519
|
scrollLeft: e.scrollLeft,
|
|
3520
3520
|
scrollTop: e.scrollTop
|
|
@@ -3555,7 +3555,7 @@ function d0(e) {
|
|
|
3555
3555
|
function z2(e) {
|
|
3556
3556
|
const t = Ve(e);
|
|
3557
3557
|
let l = parseFloat(t.width) || 0, o = parseFloat(t.height) || 0;
|
|
3558
|
-
const i = Pe(e), a = i ? e.offsetWidth : l, s = i ? e.offsetHeight : o, d =
|
|
3558
|
+
const i = Pe(e), a = i ? e.offsetWidth : l, s = i ? e.offsetHeight : o, d = b1(l) !== a || b1(o) !== s;
|
|
3559
3559
|
return d && (l = a, o = s), {
|
|
3560
3560
|
width: l,
|
|
3561
3561
|
height: o,
|
|
@@ -3574,7 +3574,7 @@ function Et(e) {
|
|
|
3574
3574
|
height: i,
|
|
3575
3575
|
$: a
|
|
3576
3576
|
} = z2(t);
|
|
3577
|
-
let s = (a ?
|
|
3577
|
+
let s = (a ? b1(l.width) : l.width) / o, d = (a ? b1(l.height) : l.height) / i;
|
|
3578
3578
|
return (!s || !Number.isFinite(s)) && (s = 1), (!d || !Number.isFinite(d)) && (d = 1), {
|
|
3579
3579
|
x: s,
|
|
3580
3580
|
y: d
|
|
@@ -3606,19 +3606,19 @@ function it(e, t, l, o) {
|
|
|
3606
3606
|
u *= C.x, m *= C.y, g *= C.x, f *= C.y, u += x, m += M, E = be(w), w = d0(E);
|
|
3607
3607
|
}
|
|
3608
3608
|
}
|
|
3609
|
-
return
|
|
3609
|
+
return S1({
|
|
3610
3610
|
width: g,
|
|
3611
3611
|
height: f,
|
|
3612
3612
|
x: u,
|
|
3613
3613
|
y: m
|
|
3614
3614
|
});
|
|
3615
3615
|
}
|
|
3616
|
-
function
|
|
3617
|
-
const l =
|
|
3616
|
+
function L1(e, t) {
|
|
3617
|
+
const l = k1(e).scrollLeft;
|
|
3618
3618
|
return t ? t.left + l : it(_e(e)).left + l;
|
|
3619
3619
|
}
|
|
3620
3620
|
function V2(e, t) {
|
|
3621
|
-
const l = e.getBoundingClientRect(), o = l.left + t.scrollLeft -
|
|
3621
|
+
const l = e.getBoundingClientRect(), o = l.left + t.scrollLeft - L1(e, l), i = l.top + t.scrollTop;
|
|
3622
3622
|
return {
|
|
3623
3623
|
x: o,
|
|
3624
3624
|
y: i
|
|
@@ -3631,7 +3631,7 @@ function As(e) {
|
|
|
3631
3631
|
offsetParent: o,
|
|
3632
3632
|
strategy: i
|
|
3633
3633
|
} = e;
|
|
3634
|
-
const a = i === "fixed", s = _e(o), d = t ?
|
|
3634
|
+
const a = i === "fixed", s = _e(o), d = t ? H1(t.floating) : !1;
|
|
3635
3635
|
if (o === s || d && a)
|
|
3636
3636
|
return l;
|
|
3637
3637
|
let u = {
|
|
@@ -3639,7 +3639,7 @@ function As(e) {
|
|
|
3639
3639
|
scrollTop: 0
|
|
3640
3640
|
}, m = Be(1);
|
|
3641
3641
|
const g = Be(0), f = Pe(o);
|
|
3642
|
-
if ((f || !f && !a) && ((zt(o) !== "body" || Xt(s)) && (u =
|
|
3642
|
+
if ((f || !f && !a) && ((zt(o) !== "body" || Xt(s)) && (u = k1(o)), Pe(o))) {
|
|
3643
3643
|
const p = it(o);
|
|
3644
3644
|
m = Et(o), g.x = p.x + o.clientLeft, g.y = p.y + o.clientTop;
|
|
3645
3645
|
}
|
|
@@ -3655,8 +3655,8 @@ function Vs(e) {
|
|
|
3655
3655
|
return Array.from(e.getClientRects());
|
|
3656
3656
|
}
|
|
3657
3657
|
function Os(e) {
|
|
3658
|
-
const t = _e(e), l =
|
|
3659
|
-
let s = -l.scrollLeft +
|
|
3658
|
+
const t = _e(e), l = k1(e), o = e.ownerDocument.body, i = ye(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), a = ye(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
|
|
3659
|
+
let s = -l.scrollLeft + L1(e);
|
|
3660
3660
|
const d = -l.scrollTop;
|
|
3661
3661
|
return Ve(o).direction === "rtl" && (s += ye(t.clientWidth, o.clientWidth) - i), {
|
|
3662
3662
|
width: i,
|
|
@@ -3674,7 +3674,7 @@ function js(e, t) {
|
|
|
3674
3674
|
const g = Z0();
|
|
3675
3675
|
(!g || g && t === "fixed") && (d = i.offsetLeft, u = i.offsetTop);
|
|
3676
3676
|
}
|
|
3677
|
-
const m =
|
|
3677
|
+
const m = L1(o);
|
|
3678
3678
|
if (m <= 0) {
|
|
3679
3679
|
const g = o.ownerDocument, f = g.body, v = getComputedStyle(f), p = g.compatMode === "CSS1Compat" && parseFloat(v.marginLeft) + parseFloat(v.marginRight) || 0, E = Math.abs(o.clientWidth - f.clientWidth - p);
|
|
3680
3680
|
E <= qn && (a -= E);
|
|
@@ -3713,7 +3713,7 @@ function $n(e, t, l) {
|
|
|
3713
3713
|
height: t.height
|
|
3714
3714
|
};
|
|
3715
3715
|
}
|
|
3716
|
-
return
|
|
3716
|
+
return S1(o);
|
|
3717
3717
|
}
|
|
3718
3718
|
function O2(e, t) {
|
|
3719
3719
|
const l = et(e);
|
|
@@ -3739,7 +3739,7 @@ function Ns(e) {
|
|
|
3739
3739
|
rootBoundary: o,
|
|
3740
3740
|
strategy: i
|
|
3741
3741
|
} = e;
|
|
3742
|
-
const s = [...l === "clippingAncestors" ?
|
|
3742
|
+
const s = [...l === "clippingAncestors" ? H1(t) ? [] : Ls(t, this._c) : [].concat(l), o], d = s[0], u = s.reduce((m, g) => {
|
|
3743
3743
|
const f = $n(t, g, i);
|
|
3744
3744
|
return m.top = ye(f.top, m.top), m.right = Ze(f.right, m.right), m.bottom = Ze(f.bottom, m.bottom), m.left = ye(f.left, m.left), m;
|
|
3745
3745
|
}, $n(t, d, i));
|
|
@@ -3768,10 +3768,10 @@ function Ts(e, t, l) {
|
|
|
3768
3768
|
};
|
|
3769
3769
|
const u = Be(0);
|
|
3770
3770
|
function m() {
|
|
3771
|
-
u.x =
|
|
3771
|
+
u.x = L1(i);
|
|
3772
3772
|
}
|
|
3773
3773
|
if (o || !o && !a)
|
|
3774
|
-
if ((zt(t) !== "body" || Xt(i)) && (d =
|
|
3774
|
+
if ((zt(t) !== "body" || Xt(i)) && (d = k1(t)), o) {
|
|
3775
3775
|
const p = it(t, !0, a, t);
|
|
3776
3776
|
u.x = p.x + t.clientLeft, u.y = p.y + t.clientTop;
|
|
3777
3777
|
} else i && m();
|
|
@@ -3797,7 +3797,7 @@ function Wn(e, t) {
|
|
|
3797
3797
|
}
|
|
3798
3798
|
function j2(e, t) {
|
|
3799
3799
|
const l = be(e);
|
|
3800
|
-
if (
|
|
3800
|
+
if (H1(e))
|
|
3801
3801
|
return l;
|
|
3802
3802
|
if (!Pe(e)) {
|
|
3803
3803
|
let i = et(e);
|
|
@@ -3860,7 +3860,7 @@ function Ds(e, t) {
|
|
|
3860
3860
|
} = m;
|
|
3861
3861
|
if (d || t(), !v || !p)
|
|
3862
3862
|
return;
|
|
3863
|
-
const E =
|
|
3863
|
+
const E = t1(f), w = t1(i.clientWidth - (g + v)), C = t1(i.clientHeight - (f + p)), I = t1(g), x = {
|
|
3864
3864
|
rootMargin: -E + "px " + -w + "px " + -C + "px " + -I + "px",
|
|
3865
3865
|
threshold: ye(0, Ze(1, u)) || 1
|
|
3866
3866
|
};
|
|
@@ -4477,7 +4477,7 @@ function Rc(e, t) {
|
|
|
4477
4477
|
Se.remove(e), tl(), Mc(e), E.forEach((w) => w?.());
|
|
4478
4478
|
};
|
|
4479
4479
|
}
|
|
4480
|
-
function
|
|
4480
|
+
function N1(e, t) {
|
|
4481
4481
|
const { defer: l } = t, o = l ? X : (a) => a(), i = [];
|
|
4482
4482
|
return i.push(
|
|
4483
4483
|
o(() => {
|
|
@@ -4515,7 +4515,7 @@ var N2 = $("color-picker", [
|
|
|
4515
4515
|
"formatSelect"
|
|
4516
4516
|
]);
|
|
4517
4517
|
N2.build();
|
|
4518
|
-
var zc = (e) => e.ids?.hiddenInput ?? `color-picker:${e.id}:hidden-input`, Ac = (e) => e.ids?.control ?? `color-picker:${e.id}:control`, Vc = (e) => e.ids?.trigger ?? `color-picker:${e.id}:trigger`, Oc = (e) => e.ids?.content ?? `color-picker:${e.id}:content`, jc = (e) => e.ids?.positioner ?? `color-picker:${e.id}:positioner`, Hc = (e) => e.ids?.formatSelect ?? `color-picker:${e.id}:format-select`, kc = (e) => e.ids?.area ?? `color-picker:${e.id}:area`, Lc = (e) => e.ids?.areaThumb ?? `color-picker:${e.id}:area-thumb`, Nc = (e, t) => e.ids?.channelSliderTrack?.(t) ?? `color-picker:${e.id}:slider-track:${t}`, Bc = (e, t) => e.ids?.channelSliderThumb?.(t) ?? `color-picker:${e.id}:slider-thumb:${t}`,
|
|
4518
|
+
var zc = (e) => e.ids?.hiddenInput ?? `color-picker:${e.id}:hidden-input`, Ac = (e) => e.ids?.control ?? `color-picker:${e.id}:control`, Vc = (e) => e.ids?.trigger ?? `color-picker:${e.id}:trigger`, Oc = (e) => e.ids?.content ?? `color-picker:${e.id}:content`, jc = (e) => e.ids?.positioner ?? `color-picker:${e.id}:positioner`, Hc = (e) => e.ids?.formatSelect ?? `color-picker:${e.id}:format-select`, kc = (e) => e.ids?.area ?? `color-picker:${e.id}:area`, Lc = (e) => e.ids?.areaThumb ?? `color-picker:${e.id}:area-thumb`, Nc = (e, t) => e.ids?.channelSliderTrack?.(t) ?? `color-picker:${e.id}:slider-track:${t}`, Bc = (e, t) => e.ids?.channelSliderThumb?.(t) ?? `color-picker:${e.id}:slider-thumb:${t}`, f1 = (e) => e.getById(Oc(e)), Tc = (e) => e.getById(Lc(e)), Pc = (e, t) => e.getById(Bc(e, t)), Fc = (e) => e.getById(Hc(e)), nl = (e) => e.getById(zc(e)), _c = (e) => e.getById(kc(e)), Dc = (e, t, l) => {
|
|
4519
4519
|
const o = _c(e);
|
|
4520
4520
|
if (!o) return;
|
|
4521
4521
|
const { getPercentValue: i } = E2(t, o);
|
|
@@ -4532,8 +4532,8 @@ var zc = (e) => e.ids?.hiddenInput ?? `color-picker:${e.id}:hidden-input`, Ac =
|
|
|
4532
4532
|
y: a({ orientation: "vertical" })
|
|
4533
4533
|
};
|
|
4534
4534
|
}, Uc = (e) => [
|
|
4535
|
-
...
|
|
4536
|
-
...
|
|
4535
|
+
...y1(f1(e), "input[data-channel]"),
|
|
4536
|
+
...y1(qc(e), "input[data-channel]")
|
|
4537
4537
|
];
|
|
4538
4538
|
function Yc(e, t) {
|
|
4539
4539
|
if (t == null) return "";
|
|
@@ -4561,7 +4561,7 @@ function Yc(e, t) {
|
|
|
4561
4561
|
return e.getChannelValue(t).toString();
|
|
4562
4562
|
}
|
|
4563
4563
|
}
|
|
4564
|
-
var ll = (e) =>
|
|
4564
|
+
var ll = (e) => I1(e), Xc = /^[0-9a-fA-F]{3,8}$/;
|
|
4565
4565
|
function Kc(e) {
|
|
4566
4566
|
return Xc.test(e);
|
|
4567
4567
|
}
|
|
@@ -4620,10 +4620,10 @@ q()(["value", "respectAlpha"]);
|
|
|
4620
4620
|
q()(["size"]);
|
|
4621
4621
|
var B2 = $("accordion").parts("root", "item", "itemTrigger", "itemContent", "itemIndicator");
|
|
4622
4622
|
B2.build();
|
|
4623
|
-
var T2 = (e) => e.ids?.root ?? `accordion:${e.id}`, P2 = (e, t) => e.ids?.itemTrigger?.(t) ?? `accordion:${e.id}:trigger:${t}`, e5 = (e) => e.getById(T2(e)),
|
|
4623
|
+
var T2 = (e) => e.ids?.root ?? `accordion:${e.id}`, P2 = (e, t) => e.ids?.itemTrigger?.(t) ?? `accordion:${e.id}:trigger:${t}`, e5 = (e) => e.getById(T2(e)), B1 = (e) => {
|
|
4624
4624
|
const l = `[aria-controls][data-ownedby='${CSS.escape(T2(e))}']:not([disabled])`;
|
|
4625
|
-
return
|
|
4626
|
-
}, t5 = (e) => Kl(
|
|
4625
|
+
return y1(e5(e), l);
|
|
4626
|
+
}, t5 = (e) => Kl(B1(e)), n5 = (e) => Jl(B1(e)), l5 = (e, t) => Aa(B1(e), P2(e, t)), o5 = (e, t) => Va(B1(e), P2(e, t)), { and: r5, not: i5 } = Yt();
|
|
4627
4627
|
r5("isExpanded", "canToggle"), i5("isExpanded");
|
|
4628
4628
|
q()([
|
|
4629
4629
|
"collapsible",
|
|
@@ -4679,14 +4679,14 @@ function h5(e, t) {
|
|
|
4679
4679
|
}
|
|
4680
4680
|
return i;
|
|
4681
4681
|
}
|
|
4682
|
-
var ct = /* @__PURE__ */ new WeakMap(),
|
|
4682
|
+
var ct = /* @__PURE__ */ new WeakMap(), n1 = /* @__PURE__ */ new WeakMap(), l1 = {}, J1 = 0, F2 = (e) => e && (e.host || F2(e.parentNode)), d5 = (e, t) => t.map((l) => {
|
|
4683
4683
|
if (e.contains(l)) return l;
|
|
4684
4684
|
const o = F2(l);
|
|
4685
4685
|
return o && e.contains(o) ? o : (console.error("[zag-js > ariaHidden] target", l, "in not contained inside", e, ". Doing nothing"), null);
|
|
4686
4686
|
}).filter((l) => !!l), u5 = /* @__PURE__ */ new Set(["script", "output", "status", "next-route-announcer"]), g5 = (e) => u5.has(e.localName) || e.role === "status" || e.hasAttribute("aria-live") ? !0 : e.matches("[data-live-announcer]"), m5 = (e, t) => {
|
|
4687
4687
|
const { parentNode: l, markerName: o, controlAttribute: i, followControlledElements: a = !0 } = t, s = d5(l, Array.isArray(e) ? e : [e]);
|
|
4688
|
-
|
|
4689
|
-
const d =
|
|
4688
|
+
l1[o] || (l1[o] = /* @__PURE__ */ new WeakMap());
|
|
4689
|
+
const d = l1[o], u = [], m = /* @__PURE__ */ new Set(), g = new Set(s), f = (p) => {
|
|
4690
4690
|
!p || m.has(p) || (m.add(p), f(p.parentNode));
|
|
4691
4691
|
};
|
|
4692
4692
|
s.forEach((p) => {
|
|
@@ -4702,7 +4702,7 @@ var ct = /* @__PURE__ */ new WeakMap(), t1 = /* @__PURE__ */ new WeakMap(), n1 =
|
|
|
4702
4702
|
try {
|
|
4703
4703
|
if (g5(E)) return;
|
|
4704
4704
|
const C = E.getAttribute(i) === "true", I = (ct.get(E) || 0) + 1, b = (d.get(E) || 0) + 1;
|
|
4705
|
-
ct.set(E, I), d.set(E, b), u.push(E), I === 1 && C &&
|
|
4705
|
+
ct.set(E, I), d.set(E, b), u.push(E), I === 1 && C && n1.set(E, !0), b === 1 && E.setAttribute(o, ""), C || E.setAttribute(i, "true");
|
|
4706
4706
|
} catch (w) {
|
|
4707
4707
|
console.error("[zag-js > ariaHidden] cannot operate on ", E, w);
|
|
4708
4708
|
}
|
|
@@ -4711,8 +4711,8 @@ var ct = /* @__PURE__ */ new WeakMap(), t1 = /* @__PURE__ */ new WeakMap(), n1 =
|
|
|
4711
4711
|
return v(l), m.clear(), J1++, () => {
|
|
4712
4712
|
u.forEach((p) => {
|
|
4713
4713
|
const E = ct.get(p) - 1, w = d.get(p) - 1;
|
|
4714
|
-
ct.set(p, E), d.set(p, w), E || (
|
|
4715
|
-
}), J1--, J1 || (ct = /* @__PURE__ */ new WeakMap(), ct = /* @__PURE__ */ new WeakMap(),
|
|
4714
|
+
ct.set(p, E), d.set(p, w), E || (n1.has(p) || p.removeAttribute(i), n1.delete(p)), w || p.removeAttribute(o);
|
|
4715
|
+
}), J1--, J1 || (ct = /* @__PURE__ */ new WeakMap(), ct = /* @__PURE__ */ new WeakMap(), n1 = /* @__PURE__ */ new WeakMap(), l1 = {});
|
|
4716
4716
|
};
|
|
4717
4717
|
}, v5 = (e) => (Array.isArray(e) ? e[0] : e).ownerDocument.body, f5 = (e, t = v5(e), l = "data-aria-hidden", o = !0) => {
|
|
4718
4718
|
if (t)
|
|
@@ -4751,17 +4751,17 @@ q()([
|
|
|
4751
4751
|
]);
|
|
4752
4752
|
q()(["copied"]);
|
|
4753
4753
|
const E5 = N2.extendWith("view");
|
|
4754
|
-
var x5 = Object.defineProperty, C5 = (e, t, l) => t in e ? x5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l, P = (e, t, l) => C5(e, typeof t != "symbol" ? t + "" : t, l),
|
|
4754
|
+
var x5 = Object.defineProperty, C5 = (e, t, l) => t in e ? x5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l, P = (e, t, l) => C5(e, typeof t != "symbol" ? t + "" : t, l), p1 = {
|
|
4755
4755
|
itemToValue(e) {
|
|
4756
|
-
return typeof e == "string" ? e : U1(e) &&
|
|
4756
|
+
return typeof e == "string" ? e : U1(e) && d1(e, "value") ? e.value : "";
|
|
4757
4757
|
},
|
|
4758
4758
|
itemToString(e) {
|
|
4759
|
-
return typeof e == "string" ? e : U1(e) &&
|
|
4759
|
+
return typeof e == "string" ? e : U1(e) && d1(e, "label") ? e.label : p1.itemToValue(e);
|
|
4760
4760
|
},
|
|
4761
4761
|
isItemDisabled(e) {
|
|
4762
|
-
return U1(e) &&
|
|
4762
|
+
return U1(e) && d1(e, "disabled") ? !!e.disabled : !1;
|
|
4763
4763
|
}
|
|
4764
|
-
},
|
|
4764
|
+
}, T1 = class D2 {
|
|
4765
4765
|
constructor(t) {
|
|
4766
4766
|
this.options = t, P(this, "items"), P(this, "indexMap", null), P(this, "copy", (l) => new D2({ ...this.options, items: l ?? [...this.items] })), P(this, "isEqual", (l) => Mt(this.items, l.items)), P(this, "setItems", (l) => this.copy(l)), P(this, "getValues", (l = this.items) => {
|
|
4767
4767
|
const o = [];
|
|
@@ -4795,7 +4795,7 @@ var x5 = Object.defineProperty, C5 = (e, t, l) => t in e ? x5(e, t, { enumerable
|
|
|
4795
4795
|
}), P(this, "sortFn", (l, o) => {
|
|
4796
4796
|
const i = this.indexOf(l), a = this.indexOf(o);
|
|
4797
4797
|
return (i ?? 0) - (a ?? 0);
|
|
4798
|
-
}), P(this, "sort", (l) => [...l].sort(this.sortFn.bind(this))), P(this, "getItemValue", (l) => l == null ? null : this.options.itemToValue?.(l) ??
|
|
4798
|
+
}), P(this, "sort", (l) => [...l].sort(this.sortFn.bind(this))), P(this, "getItemValue", (l) => l == null ? null : this.options.itemToValue?.(l) ?? p1.itemToValue(l)), P(this, "getItemDisabled", (l) => l == null ? !1 : this.options.isItemDisabled?.(l) ?? p1.isItemDisabled(l)), P(this, "stringifyItem", (l) => l == null ? null : this.options.itemToString?.(l) ?? p1.itemToString(l)), P(this, "stringify", (l) => l == null ? null : this.stringifyItem(this.find(l))), P(this, "stringifyItems", (l, o = ", ") => {
|
|
4799
4799
|
const i = [];
|
|
4800
4800
|
for (const a of l) {
|
|
4801
4801
|
const s = this.stringifyItem(a);
|
|
@@ -4895,18 +4895,18 @@ var x5 = Object.defineProperty, C5 = (e, t, l) => t in e ? x5(e, t, { enumerable
|
|
|
4895
4895
|
);
|
|
4896
4896
|
}), P(this, "move", (l, o) => {
|
|
4897
4897
|
const i = this.indexOf(l);
|
|
4898
|
-
return i === -1 ? this : this.copy(
|
|
4898
|
+
return i === -1 ? this : this.copy(o1(this.items, [i], o));
|
|
4899
4899
|
}), P(this, "moveBefore", (l, ...o) => {
|
|
4900
4900
|
let i = this.items.findIndex((s) => this.getItemValue(s) === l);
|
|
4901
4901
|
if (i === -1) return this;
|
|
4902
4902
|
let a = o.map((s) => this.items.findIndex((d) => this.getItemValue(d) === s)).sort((s, d) => s - d);
|
|
4903
|
-
return this.copy(
|
|
4903
|
+
return this.copy(o1(this.items, a, i));
|
|
4904
4904
|
}), P(this, "moveAfter", (l, ...o) => {
|
|
4905
4905
|
let i = this.items.findIndex((s) => this.getItemValue(s) === l);
|
|
4906
4906
|
if (i === -1) return this;
|
|
4907
4907
|
let a = o.map((s) => this.items.findIndex((d) => this.getItemValue(d) === s)).sort((s, d) => s - d);
|
|
4908
|
-
return this.copy(
|
|
4909
|
-
}), P(this, "reorder", (l, o) => this.copy(
|
|
4908
|
+
return this.copy(o1(this.items, a, i + 1));
|
|
4909
|
+
}), P(this, "reorder", (l, o) => this.copy(o1(this.items, [l], o))), P(this, "compareValue", (l, o) => {
|
|
4910
4910
|
const i = this.indexOf(l), a = this.indexOf(o);
|
|
4911
4911
|
return i < a ? -1 : i > a ? 1 : 0;
|
|
4912
4912
|
}), P(this, "range", (l, o) => {
|
|
@@ -4958,7 +4958,7 @@ var x5 = Object.defineProperty, C5 = (e, t, l) => t in e ? x5(e, t, { enumerable
|
|
|
4958
4958
|
function Ht(e, t, ...l) {
|
|
4959
4959
|
return [...e.slice(0, t), ...l, ...e.slice(t)];
|
|
4960
4960
|
}
|
|
4961
|
-
function
|
|
4961
|
+
function o1(e, t, l) {
|
|
4962
4962
|
t = [...t].sort((i, a) => i - a);
|
|
4963
4963
|
const o = t.map((i) => e[i]);
|
|
4964
4964
|
for (let i = t.length - 1; i >= 0; i--)
|
|
@@ -4982,8 +4982,8 @@ var q2 = $("combobox").parts(
|
|
|
4982
4982
|
"trigger"
|
|
4983
4983
|
);
|
|
4984
4984
|
q2.build();
|
|
4985
|
-
var $2 = (e) => new
|
|
4986
|
-
$2.empty = () => new
|
|
4985
|
+
var $2 = (e) => new T1(e);
|
|
4986
|
+
$2.empty = () => new T1({ items: [] });
|
|
4987
4987
|
var I5 = (e) => e.ids?.control ?? `combobox:${e.id}:control`, b5 = (e) => e.ids?.input ?? `combobox:${e.id}:input`, M5 = (e) => e.ids?.content ?? `combobox:${e.id}:content`, S5 = (e) => e.ids?.positioner ?? `combobox:${e.id}:popper`, R5 = (e) => e.ids?.trigger ?? `combobox:${e.id}:toggle-btn`, z5 = (e) => e.ids?.clearTrigger ?? `combobox:${e.id}:clear-btn`, Xe = (e) => e.getById(M5(e)), ut = (e) => e.getById(b5(e)), rl = (e) => e.getById(S5(e)), il = (e) => e.getById(I5(e)), Tt = (e) => e.getById(R5(e)), al = (e) => e.getById(z5(e)), kt = (e, t) => {
|
|
4988
4988
|
if (t == null) return null;
|
|
4989
4989
|
const l = `[role=option][data-value="${CSS.escape(t)}"]`;
|
|
@@ -5654,7 +5654,7 @@ O5({
|
|
|
5654
5654
|
},
|
|
5655
5655
|
effects: {
|
|
5656
5656
|
trackDismissableLayer({ send: e, prop: t, scope: l }) {
|
|
5657
|
-
return t("disableLayer") ? void 0 :
|
|
5657
|
+
return t("disableLayer") ? void 0 : N1(() => Xe(l), {
|
|
5658
5658
|
type: "listbox",
|
|
5659
5659
|
defer: !0,
|
|
5660
5660
|
exclude: () => [ut(l), Tt(l), al(l)],
|
|
@@ -5704,7 +5704,7 @@ O5({
|
|
|
5704
5704
|
return;
|
|
5705
5705
|
}
|
|
5706
5706
|
const E = kt(l, f), w = X(() => {
|
|
5707
|
-
|
|
5707
|
+
C1(E, { rootEl: v, block: "nearest" });
|
|
5708
5708
|
});
|
|
5709
5709
|
a.push(w);
|
|
5710
5710
|
}, d = X(() => s(!0));
|
|
@@ -5739,7 +5739,7 @@ O5({
|
|
|
5739
5739
|
selectHighlightedItem(e) {
|
|
5740
5740
|
const { context: t, prop: l } = e, o = l("collection"), i = t.get("highlightedValue");
|
|
5741
5741
|
if (!i || !o.has(i)) return;
|
|
5742
|
-
const a = l("multiple") ?
|
|
5742
|
+
const a = l("multiple") ? x1(t.get("value"), i) : [i];
|
|
5743
5743
|
l("onSelect")?.({ value: a, itemValue: i }), t.set("value", a);
|
|
5744
5744
|
const s = $e(l("selectionBehavior"), {
|
|
5745
5745
|
preserve: t.get("inputValue"),
|
|
@@ -5762,13 +5762,13 @@ O5({
|
|
|
5762
5762
|
});
|
|
5763
5763
|
return;
|
|
5764
5764
|
}
|
|
5765
|
-
|
|
5765
|
+
C1(i, { rootEl: a, block: "nearest" });
|
|
5766
5766
|
});
|
|
5767
5767
|
},
|
|
5768
5768
|
selectItem(e) {
|
|
5769
5769
|
const { context: t, event: l, flush: o, prop: i } = e;
|
|
5770
5770
|
l.value != null && o(() => {
|
|
5771
|
-
const a = i("multiple") ?
|
|
5771
|
+
const a = i("multiple") ? x1(t.get("value"), l.value) : [l.value];
|
|
5772
5772
|
i("onSelect")?.({ value: a, itemValue: l.value }), t.set("value", a);
|
|
5773
5773
|
const s = $e(i("selectionBehavior"), {
|
|
5774
5774
|
preserve: t.get("inputValue"),
|
|
@@ -6150,9 +6150,9 @@ var X2 = $("menu").parts(
|
|
|
6150
6150
|
"triggerItem"
|
|
6151
6151
|
);
|
|
6152
6152
|
X2.build();
|
|
6153
|
-
var K2 = (e) => e.ids?.trigger ?? `menu:${e.id}:trigger`, k5 = (e) => e.ids?.contextTrigger ?? `menu:${e.id}:ctx-trigger`, J2 = (e) => e.ids?.content ?? `menu:${e.id}:content`, L5 = (e) => e.ids?.positioner ?? `menu:${e.id}:popper`, u0 = (e, t) => `${e.id}/${t}`, nt = (e) => e?.dataset.value ?? null, Ke = (e) => e.getById(J2(e)), hl = (e) => e.getById(L5(e)),
|
|
6153
|
+
var K2 = (e) => e.ids?.trigger ?? `menu:${e.id}:trigger`, k5 = (e) => e.ids?.contextTrigger ?? `menu:${e.id}:ctx-trigger`, J2 = (e) => e.ids?.content ?? `menu:${e.id}:content`, L5 = (e) => e.ids?.positioner ?? `menu:${e.id}:popper`, u0 = (e, t) => `${e.id}/${t}`, nt = (e) => e?.dataset.value ?? null, Ke = (e) => e.getById(J2(e)), hl = (e) => e.getById(L5(e)), r1 = (e) => e.getById(K2(e)), N5 = (e, t) => t ? e.getById(u0(e, t)) : null, Q1 = (e) => e.getById(k5(e)), Kt = (e) => {
|
|
6154
6154
|
const l = `[role^="menuitem"][data-ownedby=${CSS.escape(J2(e))}]:not([data-disabled])`;
|
|
6155
|
-
return
|
|
6155
|
+
return y1(Ke(e), l);
|
|
6156
6156
|
}, B5 = (e) => Kl(Kt(e)), T5 = (e) => Jl(Kt(e)), ln = (e, t) => t ? e.id === t || e.dataset.value === t : !1, P5 = (e, t) => {
|
|
6157
6157
|
const l = Kt(e), o = l.findIndex((i) => ln(i, t.value));
|
|
6158
6158
|
return ui(l, o, { loop: t.loop ?? t.loopFocus });
|
|
@@ -6333,9 +6333,9 @@ var to = $("select").parts(
|
|
|
6333
6333
|
"valueText"
|
|
6334
6334
|
);
|
|
6335
6335
|
to.build();
|
|
6336
|
-
var no = (e) => new
|
|
6337
|
-
no.empty = () => new
|
|
6338
|
-
var Y5 = (e) => e.ids?.content ?? `select:${e.id}:content`, X5 = (e) => e.ids?.trigger ?? `select:${e.id}:trigger`, K5 = (e) => e.ids?.clearTrigger ?? `select:${e.id}:clear-trigger`, J5 = (e, t) => e.ids?.item?.(t) ?? `select:${e.id}:option:${t}`, Q5 = (e) => e.ids?.hiddenSelect ?? `select:${e.id}:select`, Z5 = (e) => e.ids?.positioner ?? `select:${e.id}:positioner`, Z1 = (e) => e.getById(Q5(e)), Lt = (e) => e.getById(Y5(e)),
|
|
6336
|
+
var no = (e) => new T1(e);
|
|
6337
|
+
no.empty = () => new T1({ items: [] });
|
|
6338
|
+
var Y5 = (e) => e.ids?.content ?? `select:${e.id}:content`, X5 = (e) => e.ids?.trigger ?? `select:${e.id}:trigger`, K5 = (e) => e.ids?.clearTrigger ?? `select:${e.id}:clear-trigger`, J5 = (e, t) => e.ids?.item?.(t) ?? `select:${e.id}:option:${t}`, Q5 = (e) => e.ids?.hiddenSelect ?? `select:${e.id}:select`, Z5 = (e) => e.ids?.positioner ?? `select:${e.id}:positioner`, Z1 = (e) => e.getById(Q5(e)), Lt = (e) => e.getById(Y5(e)), i1 = (e) => e.getById(X5(e)), e4 = (e) => e.getById(K5(e)), ul = (e) => e.getById(Z5(e)), e0 = (e, t) => t == null ? null : e.getById(J5(e, t)), { and: Nt, not: lt, or: t4 } = Yt();
|
|
6339
6339
|
t4("isTriggerArrowDownEvent", "isTriggerEnterEvent"), Nt(lt("multiple"), "hasSelectedItems"), lt("multiple"), Nt(lt("multiple"), "hasSelectedItems"), lt("multiple"), lt("multiple"), lt("multiple"), lt("multiple"), Nt("closeOnSelect", "isOpenControlled"), Nt("hasHighlightedItem", "loop", "isLastItemHighlighted"), Nt("hasHighlightedItem", "loop", "isFirstItemHighlighted");
|
|
6340
6340
|
function gl(e) {
|
|
6341
6341
|
const t = e.restoreFocus ?? e.previousEvent?.restoreFocus;
|
|
@@ -6520,13 +6520,13 @@ function Fe(e, t, l = {}) {
|
|
|
6520
6520
|
function l4(e, t) {
|
|
6521
6521
|
return Array.isArray(e) ? e.map((l) => v0(l) ? t(l) : l) : we(e) ? Fe(e, (l) => t(l)) : v0(e) ? t(e) : e;
|
|
6522
6522
|
}
|
|
6523
|
-
const
|
|
6523
|
+
const a1 = ["value", "type", "description"], o4 = (e) => e && typeof e == "object" && !Array.isArray(e), r4 = (...e) => {
|
|
6524
6524
|
const t = At({}, ...e.map(g0));
|
|
6525
6525
|
return t.theme?.tokens && Fe(
|
|
6526
6526
|
t.theme.tokens,
|
|
6527
6527
|
(l) => {
|
|
6528
|
-
const a = Object.keys(l).filter((d) => !
|
|
6529
|
-
return a && s && (l.DEFAULT || (l.DEFAULT = {}),
|
|
6528
|
+
const a = Object.keys(l).filter((d) => !a1.includes(d)).length > 0, s = a1.some((d) => l[d] != null);
|
|
6529
|
+
return a && s && (l.DEFAULT || (l.DEFAULT = {}), a1.forEach((d) => {
|
|
6530
6530
|
var u;
|
|
6531
6531
|
l[d] != null && ((u = l.DEFAULT)[d] || (u[d] = l[d]), delete l[d]);
|
|
6532
6532
|
})), l;
|
|
@@ -6534,12 +6534,12 @@ const i1 = ["value", "type", "description"], o4 = (e) => e && typeof e == "objec
|
|
|
6534
6534
|
{
|
|
6535
6535
|
stop(l) {
|
|
6536
6536
|
return o4(l) && Object.keys(l).some(
|
|
6537
|
-
(o) =>
|
|
6537
|
+
(o) => a1.includes(o) || o !== o.toLowerCase() && o !== o.toUpperCase()
|
|
6538
6538
|
);
|
|
6539
6539
|
}
|
|
6540
6540
|
}
|
|
6541
6541
|
), t;
|
|
6542
|
-
}, i4 = (e) => e,
|
|
6542
|
+
}, i4 = (e) => e, Jt = (e) => e, a4 = (e) => e, s4 = (e) => e, c4 = (e) => e, h4 = (e) => e;
|
|
6543
6543
|
function io() {
|
|
6544
6544
|
const e = (t) => t;
|
|
6545
6545
|
return new Proxy(e, {
|
|
@@ -7777,9 +7777,9 @@ const V4 = /* @__PURE__ */ Fo(A4), ze = (e) => {
|
|
|
7777
7777
|
return t[i] === void 0 && (t[i] = e(...o)), t[i];
|
|
7778
7778
|
}
|
|
7779
7779
|
return l;
|
|
7780
|
-
}, uo = 16,
|
|
7780
|
+
}, uo = 16, R1 = "px", on = "em", Ft = "rem";
|
|
7781
7781
|
function go(e = "") {
|
|
7782
|
-
const t = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), l = new RegExp(`${
|
|
7782
|
+
const t = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), l = new RegExp(`${R1}|${on}|${Ft}`);
|
|
7783
7783
|
return e.match(
|
|
7784
7784
|
new RegExp(`${t.source}(${l.source})`)
|
|
7785
7785
|
)?.[1];
|
|
@@ -7788,10 +7788,10 @@ function mo(e = "") {
|
|
|
7788
7788
|
if (typeof e == "number")
|
|
7789
7789
|
return `${e}px`;
|
|
7790
7790
|
const t = go(e);
|
|
7791
|
-
if (!t || t ===
|
|
7791
|
+
if (!t || t === R1)
|
|
7792
7792
|
return e;
|
|
7793
7793
|
if (t === on || t === Ft)
|
|
7794
|
-
return `${parseFloat(e) * uo}${
|
|
7794
|
+
return `${parseFloat(e) * uo}${R1}`;
|
|
7795
7795
|
}
|
|
7796
7796
|
function vo(e = "") {
|
|
7797
7797
|
const t = go(e);
|
|
@@ -7799,7 +7799,7 @@ function vo(e = "") {
|
|
|
7799
7799
|
return e;
|
|
7800
7800
|
if (t === on)
|
|
7801
7801
|
return `${parseFloat(e)}${Ft}`;
|
|
7802
|
-
if (t ===
|
|
7802
|
+
if (t === R1)
|
|
7803
7803
|
return `${parseFloat(e) / uo}${Ft}`;
|
|
7804
7804
|
}
|
|
7805
7805
|
const O4 = (e) => e.charAt(0).toUpperCase() + e.slice(1);
|
|
@@ -7815,7 +7815,7 @@ function j4(e) {
|
|
|
7815
7815
|
const v = Object.keys(l), p = k4(v), E = v.flatMap((w) => {
|
|
7816
7816
|
const C = o(w), I = [
|
|
7817
7817
|
`${w}Down`,
|
|
7818
|
-
dt({ max:
|
|
7818
|
+
dt({ max: w1(C.min) })
|
|
7819
7819
|
], b = [w, dt({ min: C.min })], x = [`${w}Only`, i(w)];
|
|
7820
7820
|
return [b, x, I];
|
|
7821
7821
|
}).filter(([, w]) => w !== "").concat(
|
|
@@ -7823,7 +7823,7 @@ function j4(e) {
|
|
|
7823
7823
|
const I = o(w), b = o(C);
|
|
7824
7824
|
return [
|
|
7825
7825
|
`${w}To${O4(C)}`,
|
|
7826
|
-
dt({ min: I.min, max:
|
|
7826
|
+
dt({ min: I.min, max: w1(b.min) })
|
|
7827
7827
|
];
|
|
7828
7828
|
})
|
|
7829
7829
|
);
|
|
@@ -7841,7 +7841,7 @@ function j4(e) {
|
|
|
7841
7841
|
return dt({ min: o(v).min });
|
|
7842
7842
|
}
|
|
7843
7843
|
function f(v) {
|
|
7844
|
-
return dt({ max:
|
|
7844
|
+
return dt({ max: w1(o(v).min) });
|
|
7845
7845
|
}
|
|
7846
7846
|
return {
|
|
7847
7847
|
values: Object.values(l),
|
|
@@ -7853,14 +7853,14 @@ function j4(e) {
|
|
|
7853
7853
|
down: f
|
|
7854
7854
|
};
|
|
7855
7855
|
}
|
|
7856
|
-
function
|
|
7856
|
+
function w1(e) {
|
|
7857
7857
|
const t = parseFloat(mo(e) ?? "") - 0.04;
|
|
7858
7858
|
return vo(`${t}px`);
|
|
7859
7859
|
}
|
|
7860
7860
|
function H4(e) {
|
|
7861
7861
|
return Object.entries(e).sort(([, l], [, o]) => parseInt(l, 10) < parseInt(o, 10) ? -1 : 1).map(([l, o], i, a) => {
|
|
7862
7862
|
let s = null;
|
|
7863
|
-
return i <= a.length - 1 && (s = a[i + 1]?.[1]), s != null && (s =
|
|
7863
|
+
return i <= a.length - 1 && (s = a[i + 1]?.[1]), s != null && (s = w1(s)), [l, { name: l, min: vo(o), max: s }];
|
|
7864
7864
|
});
|
|
7865
7865
|
}
|
|
7866
7866
|
function k4(e) {
|
|
@@ -10490,7 +10490,7 @@ const Re = (e) => {
|
|
|
10490
10490
|
}, e;
|
|
10491
10491
|
},
|
|
10492
10492
|
{}
|
|
10493
|
-
), sM =
|
|
10493
|
+
), sM = Jt({
|
|
10494
10494
|
className: "button",
|
|
10495
10495
|
base: {
|
|
10496
10496
|
borderRadius: "4",
|
|
@@ -10589,12 +10589,30 @@ const Re = (e) => {
|
|
|
10589
10589
|
}
|
|
10590
10590
|
}, Ho = {
|
|
10591
10591
|
size: "lg"
|
|
10592
|
-
}, cM =
|
|
10592
|
+
}, cM = Jt({
|
|
10593
10593
|
className: "input",
|
|
10594
10594
|
base: Oo,
|
|
10595
10595
|
variants: jo,
|
|
10596
10596
|
defaultVariants: Ho
|
|
10597
|
-
}), hM =
|
|
10597
|
+
}), hM = Jt({
|
|
10598
|
+
className: "link",
|
|
10599
|
+
base: {
|
|
10600
|
+
color: "currentcolor",
|
|
10601
|
+
_hover: {
|
|
10602
|
+
textDecoration: "underline"
|
|
10603
|
+
}
|
|
10604
|
+
},
|
|
10605
|
+
variants: {
|
|
10606
|
+
variant: {
|
|
10607
|
+
purple: {
|
|
10608
|
+
color: "text/link",
|
|
10609
|
+
_hover: {
|
|
10610
|
+
color: "text/link-hover"
|
|
10611
|
+
}
|
|
10612
|
+
}
|
|
10613
|
+
}
|
|
10614
|
+
}
|
|
10615
|
+
}), dM = Jt({
|
|
10598
10616
|
className: "spinner",
|
|
10599
10617
|
base: {
|
|
10600
10618
|
"--spinner-color": "currentColor",
|
|
@@ -10634,42 +10652,43 @@ const Re = (e) => {
|
|
|
10634
10652
|
defaultVariants: {
|
|
10635
10653
|
size: "lg"
|
|
10636
10654
|
}
|
|
10637
|
-
}),
|
|
10655
|
+
}), uM = Jt({
|
|
10638
10656
|
className: "textarea",
|
|
10639
10657
|
base: Oo,
|
|
10640
10658
|
variants: jo,
|
|
10641
10659
|
defaultVariants: Ho
|
|
10642
|
-
}),
|
|
10660
|
+
}), gM = {
|
|
10643
10661
|
button: sM,
|
|
10644
10662
|
input: cM,
|
|
10645
|
-
|
|
10646
|
-
|
|
10647
|
-
}, gM = { primary: { value: { _light: "{colors.pal.purple.30}" } } }, mM = { primary: { value: { _light: "{colors.pal.neutral.90}" } } }, vM = { fg: { base: { value: { _light: "{colors.pal.neutral.10}" } }, primary: { value: { _light: "{colors.pal.purple.10}" } }, secondary: { value: { _light: "{colors.pal.neutral.40}" } }, tertiary: { value: { _light: "{colors.pal.neutral.60}" } }, subtle: { value: { _light: "{colors.pal.neutral.70}" } }, minimal: { value: { _light: "{colors.pal.neutral.80}" } }, positive: { value: { _light: "{colors.pal.green.50}" } }, negative: { value: { _light: "{colors.pal.red.50}" } }, "on-color": { value: { _light: "{colors.pal.neutral.100}" } }, "on-contrast": { value: { _light: "{colors.pal.neutral.95}" } }, "on-disabled": { value: { _light: "{colors.pal.neutral.70}" } }, disabled: { value: { _light: "{colors.pal.neutral.80}" } } }, bg: { surface: { value: { _light: "{colors.pal.neutral.100}" } }, contrast: { value: { _light: "{colors.pal.neutral.10}" } }, moderate: { value: { _light: "{colors.pal.neutral.90}" } }, subtle: { value: { _light: "{colors.pal.neutral.93}" } }, minimal: { value: { _light: "{colors.pal.neutral.95}" } }, disabled: { value: { _light: "{colors.pal.neutral.95}" } } }, border: { minimal: { value: { _light: "{colors.pal.neutral.93}" } }, subtle: { value: { _light: "{colors.pal.neutral.90}" } }, strong: { value: { _light: "{colors.pal.neutral.80}" } }, emphasized: { value: { _light: "{colors.pal.neutral.70}" } }, critical: { value: { _light: "{colors.pal.red.50}" } }, inverse: { value: { _light: "{colors.pal.neutral.100}" } }, "on-contrast": { value: { _light: "{colors.pal.neutral.95}" } }, disabled: { value: { _light: "{colors.pal.neutral.90}" } } }, primary: { base: { value: { _light: "{colors.pal.purple.40}" } }, emphasized: { value: { _light: "{colors.pal.purple.30}" } }, contrast: { value: { _light: "{colors.pal.purple.10}" } }, muted: { value: { _light: "{colors.pal.purple.80}" } }, subtle: { value: { _light: "{colors.pal.purple.93}" } }, disabled: { value: { _light: "{colors.pal.neutral.90}" } } }, interactive: { base: { value: { _light: "{colors.pal.purple.50}" } }, strong: { value: { _light: "{colors.pal.purple.40}" } }, bold: { value: { _light: "{colors.pal.purple.60}" } }, highlight: { value: { _light: "{colors.pal.purple.70}" } }, muted: { value: { _light: "{colors.pal.purple.80}" } }, moderate: { value: { _light: "{colors.pal.purple.90}" } }, subtle: { value: { _light: "{colors.pal.purple.93}" } }, minimal: { value: { _light: "{colors.pal.purple.95}" } }, disabled: { value: { _light: "{colors.pal.neutral.90}" } } }, info: { base: { value: { _light: "{colors.pal.blue.50}" } }, strong: { value: { _light: "{colors.pal.blue.40}" } }, bold: { value: { _light: "{colors.pal.blue.60}" } }, muted: { value: { _light: "{colors.pal.blue.80}" } }, moderate: { value: { _light: "{colors.pal.blue.90}" } }, subtle: { value: { _light: "{colors.pal.blue.93}" } }, minimal: { value: { _light: "{colors.pal.blue.95}" } } }, success: { base: { value: { _light: "{colors.pal.green.50}" } }, strong: { value: { _light: "{colors.pal.green.40}" } }, bold: { value: { _light: "{colors.pal.green.60}" } }, muted: { value: { _light: "{colors.pal.green.80}" } }, moderate: { value: { _light: "{colors.pal.green.90}" } }, subtle: { value: { _light: "{colors.pal.green.93}" } }, minimal: { value: { _light: "{colors.pal.green.95}" } } }, warning: { base: { value: { _light: "{colors.pal.yellow.50}" } }, strong: { value: { _light: "{colors.pal.yellow.40}" } }, bold: { value: { _light: "{colors.pal.yellow.60}" } }, muted: { value: { _light: "{colors.pal.yellow.80}" } }, moderate: { value: { _light: "{colors.pal.yellow.90}" } }, subtle: { value: { _light: "{colors.pal.yellow.93}" } }, minimal: { value: { _light: "{colors.pal.yellow.95}" } } }, critical: { base: { value: { _light: "{colors.pal.red.50}" } }, dark: { value: { _light: "{colors.pal.red.20}" } }, strong: { value: { _light: "{colors.pal.red.40}" } }, bold: { value: { _light: "{colors.pal.red.60}" } }, muted: { value: { _light: "{colors.pal.red.80}" } }, moderate: { value: { _light: "{colors.pal.red.90}" } }, subtle: { value: { _light: "{colors.pal.red.93}" } }, minimal: { value: { _light: "{colors.pal.red.95}" } } }, neutral: { base: { value: { _light: "{colors.pal.neutral.50}" } }, strong: { value: { _light: "{colors.pal.neutral.40}" } }, bold: { value: { _light: "{colors.pal.neutral.60}" } }, muted: { value: { _light: "{colors.pal.neutral.80}" } }, moderate: { value: { _light: "{colors.pal.neutral.90}" } }, subtle: { value: { _light: "{colors.pal.neutral.93}" } }, minimal: { value: { _light: "{colors.pal.neutral.95}" } } }, orange: { base: { value: { _light: "{colors.pal.orange.50}" } }, strong: { value: { _light: "{colors.pal.orange.40}" } }, bold: { value: { _light: "{colors.pal.orange.60}" } }, muted: { value: { _light: "{colors.pal.orange.80}" } }, moderate: { value: { _light: "{colors.pal.orange.90}" } }, subtle: { value: { _light: "{colors.pal.orange.93}" } }, minimal: { value: { _light: "{colors.pal.orange.95}" } } }, turquoise: { base: { value: { _light: "{colors.pal.turquoise.50}" } }, dark: { value: { _light: "{colors.pal.turquoise.20}" } }, emphasized: { value: { _light: "{colors.pal.turquoise.30}" } }, strong: { value: { _light: "{colors.pal.turquoise.40}" } }, bold: { value: { _light: "{colors.pal.turquoise.60}" } }, muted: { value: { _light: "{colors.pal.turquoise.80}" } }, moderate: { value: { _light: "{colors.pal.turquoise.90}" } }, subtle: { value: { _light: "{colors.pal.turquoise.93}" } }, minimal: { value: { _light: "{colors.pal.turquoise.95}" } } } }, fM = { primary: { value: { _light: "{colors.sys.bg.surface}" } }, secondary: { value: { _light: "{colors.sys.bg.minimal}" } }, tertiary: { value: { _light: "{colors.sys.bg.subtle}" } }, hover: { value: { _light: "{colors.sys.bg.subtle}" } }, active: { value: { _light: "{colors.sys.bg.moderate}" } }, selected: { value: { _light: "{colors.sys.interactive.minimal}" } }, "selected-hover": { value: { _light: "{colors.sys.interactive.subtle}" } }, contrast: { value: { _light: "{colors.sys.bg.contrast}" } }, disabled: { value: { _light: "{colors.sys.bg.disabled}" } } }, pM = { regular: { value: { _light: "{colors.sys.border.subtle}" } }, minimal: { value: { _light: "{colors.sys.border.minimal}" } }, strong: { value: { _light: "{colors.sys.border.strong}" } }, hover: { value: { _light: "{colors.sys.border.emphasized}" } }, focus: { value: { _light: "{colors.sys.interactive.highlight}" } }, selected: { value: { _light: "{colors.sys.interactive}" } }, error: { value: { _light: "{colors.sys.border.critical}" } }, inverse: { value: { _light: "{colors.sys.border.inverse}" } }, "on-contrast": { value: { _light: "{colors.sys.border.on-contrast}" } }, disabled: { value: { _light: "{colors.sys.border.disabled}" } } }, wM = { primary: { value: { _light: "{colors.sys.fg.primary}" } }, secondary: { value: { _light: "{colors.sys.fg.secondary}" } }, tertiary: { value: { _light: "{colors.sys.fg.tertiary}" } }, body: { value: { _light: "{colors.sys.fg}" } }, helper: { value: { _light: "{colors.sys.fg.secondary}" } }, link: { value: { _light: "{colors.sys.interactive}" } }, "link-hover": { value: { _light: "{colors.sys.interactive.strong}" } }, selected: { value: { _light: "{colors.sys.interactive}" } }, positive: { value: { _light: "{colors.sys.fg.positive}" } }, negative: { value: { _light: "{colors.sys.fg.negative}" } }, "on-color": { value: { _light: "{colors.sys.fg.on-color}" } }, "on-contrast": { value: { _light: "{colors.sys.fg.on-contrast}" } }, "on-disabled": { value: { _light: "{colors.sys.fg.on-disabled}" } }, disabled: { value: { _light: "{colors.sys.fg.disabled}" } } }, EM = { primary: { value: { _light: "{colors.sys.fg.primary}" } }, secondary: { value: { _light: "{colors.sys.fg.secondary}" } }, tertiary: { value: { _light: "{colors.sys.fg.tertiary}" } }, interactive: { value: { _light: "{colors.sys.interactive}" } }, "interactive-hover": { value: { _light: "{colors.sys.interactive.strong}" } }, positive: { value: { _light: "{colors.sys.fg.positive}" } }, negative: { value: { _light: "{colors.sys.fg.negative}" } }, "on-color": { value: { _light: "{colors.sys.fg.on-color}" } }, "on-contrast": { value: { _light: "{colors.sys.fg.on-contrast}" } }, "on-disabled": { value: { _light: "{colors.sys.fg.on-disabled}" } }, disabled: { value: { _light: "{colors.sys.fg.disabled}" } } }, xM = { primary: { bg: { value: { _light: "{colors.sys.primary}" } }, "bg-hover": { value: { _light: "{colors.sys.primary.emphasized}" } }, "bg-active": { value: { _light: "{colors.sys.fg.primary}" } }, "bg-disabled": { value: { _light: "{colors.sys.primary.disabled}" } }, fg: { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-hover": { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-active": { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.on-disabled}" } } }, secondary: { bg: { value: { _light: "{colors.sys.bg.surface}" } }, "bg-hover": { value: { _light: "{colors.sys.bg.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.bg.moderate}" } }, "bg-disabled": { value: { _light: "{colors.sys.bg.minimal}" } }, fg: { value: { _light: "{colors.sys.fg.primary}" } }, "fg-hover": { value: { _light: "{colors.sys.fg.primary}" } }, "fg-active": { value: { _light: "{colors.sys.fg.primary}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.disabled}" } }, border: { value: { _light: "{colors.sys.border.strong}" } }, "border-hover": { value: { _light: "{colors.sys.border.emphasized}" } }, "border-active": { value: { _light: "{colors.sys.border.emphasized}" } }, "border-disabled": { value: { _light: "{colors.sys.border.disabled}" } } }, tertiary: { bg: { value: { _light: "transparent" } }, "bg-hover": { value: { _light: "{colors.sys.bg.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.bg.moderate}" } }, "bg-disabled": { value: { _light: "transparent" } }, fg: { value: { _light: "{colors.sys.interactive}" } }, "fg-hover": { value: { _light: "{colors.sys.interactive.strong}" } }, "fg-active": { value: { _light: "{colors.sys.fg.primary}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.disabled}" } } }, "danger-primary": { bg: { value: { _light: "{colors.sys.critical}" } }, "bg-hover": { value: { _light: "{colors.sys.critical.strong}" } }, "bg-active": { value: { _light: "{colors.sys.critical.dark}" } }, "bg-disabled": { value: { _light: "{colors.sys.primary.disabled}" } }, fg: { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-hover": { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-active": { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.on-disabled}" } } }, "danger-secondary": { bg: { value: { _light: "{colors.sys.bg.surface}" } }, "bg-hover": { value: { _light: "{colors.sys.critical.minimal}" } }, "bg-active": { value: { _light: "{colors.sys.critical.moderate}" } }, "bg-disabled": { value: { _light: "{colors.sys.bg.minimal}" } }, fg: { value: { _light: "{colors.sys.critical}" } }, "fg-hover": { value: { _light: "{colors.sys.critical}" } }, "fg-active": { value: { _light: "{colors.sys.critical.strong}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.disabled}" } }, border: { value: { _light: "{colors.sys.critical.muted}" } }, "border-hover": { value: { _light: "{colors.sys.critical.muted}" } }, "border-active": { value: { _light: "{colors.sys.critical}" } }, "border-disabled": { value: { _light: "{colors.sys.border.disabled}" } } }, "danger-tertiary": { bg: { value: { _light: "transparent" } }, "bg-hover": { value: { _light: "{colors.sys.critical.minimal}" } }, "bg-active": { value: { _light: "{colors.sys.critical.moderate}" } }, "bg-disabled": { value: { _light: "transparent" } }, fg: { value: { _light: "{colors.sys.critical}" } }, "fg-hover": { value: { _light: "{colors.sys.critical}" } }, "fg-active": { value: { _light: "{colors.sys.critical.strong}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.disabled}" } } }, "ai-primary": { bg: { value: { _light: "{colors.sys.turquoise.strong}" } }, "bg-hover": { value: { _light: "{colors.sys.turquoise.emphasized}" } }, "bg-active": { value: { _light: "{colors.sys.turquoise.dark}" } }, "bg-disabled": { value: { _light: "{colors.sys.primary.disabled}" } }, fg: { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-hover": { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-active": { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.on-disabled}" } } }, "ai-secondary": { bg: { value: { _light: "{colors.sys.bg.surface}" } }, "bg-hover": { value: { _light: "{colors.sys.turquoise.minimal}" } }, "bg-active": { value: { _light: "{colors.sys.turquoise.moderate}" } }, "bg-disabled": { value: { _light: "{colors.sys.bg.minimal}" } }, fg: { value: { _light: "{colors.sys.turquoise}" } }, "fg-hover": { value: { _light: "{colors.sys.turquoise}" } }, "fg-active": { value: { _light: "{colors.sys.turquoise.strong}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.disabled}" } }, border: { value: { _light: "{colors.sys.turquoise.muted}" } }, "border-hover": { value: { _light: "{colors.sys.turquoise.muted}" } }, "border-active": { value: { _light: "{colors.sys.turquoise}" } }, "border-disabled": { value: { _light: "{colors.sys.border.disabled}" } } }, "ai-tertiary": { bg: { value: { _light: "{colors.sys.bg.transparent}" } }, "bg-hover": { value: { _light: "{colors.sys.turquoise.minimal}" } }, "bg-active": { value: { _light: "{colors.sys.turquoise.moderate}" } }, "bg-disabled": { value: { _light: "{colors.sys.bg.transparent}" } }, fg: { value: { _light: "{colors.sys.turquoise}" } }, "fg-hover": { value: { _light: "{colors.sys.turquoise}" } }, "fg-active": { value: { _light: "{colors.sys.turquoise.strong}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.disabled}" } } } }, CM = { text: { label: { value: { _light: "{colors.sys.fg.primary}" } }, inputValue: { value: { _light: "{colors.sys.fg}" } }, placeholder: { value: { _light: "{colors.sys.fg.subtle}" } }, helper: { value: { _light: "{colors.sys.fg.secondary}" } }, error: { value: { _light: "{colors.sys.fg.negative}" } } } }, yM = { info: { bg: { value: { _light: "{colors.sys.info.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.info.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.info.moderate}" } }, border: { value: { _light: "{colors.sys.info.muted}" } }, icon: { value: { _light: "{colors.sys.info.strong}" } }, text: { value: { _light: "{colors.sys.info.strong}" } } }, success: { bg: { value: { _light: "{colors.sys.success.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.success.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.success.moderate}" } }, border: { value: { _light: "{colors.sys.success.muted}" } }, icon: { value: { _light: "{colors.sys.success.strong}" } }, text: { value: { _light: "{colors.sys.success.strong}" } } }, warning: { bg: { value: { _light: "{colors.sys.warning.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.warning.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.warning.moderate}" } }, border: { value: { _light: "{colors.sys.warning.muted}" } }, icon: { value: { _light: "{colors.sys.warning.strong}" } }, text: { value: { _light: "{colors.sys.warning.strong}" } } }, critical: { bg: { value: { _light: "{colors.sys.critical.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.critical.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.critical.moderate}" } }, border: { value: { _light: "{colors.sys.critical.muted}" } }, icon: { value: { _light: "{colors.sys.critical.strong}" } }, text: { value: { _light: "{colors.sys.critical.strong}" } } }, progress: { bg: { value: { _light: "{colors.sys.interactive.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.interactive.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.interactive.moderate}" } }, border: { value: { _light: "{colors.sys.interactive.muted}" } }, icon: { value: { _light: "{colors.sys.interactive.strong}" } }, text: { value: { _light: "{colors.sys.interactive.strong}" } } }, neutral: { bg: { value: { _light: "{colors.sys.neutral.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.neutral.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.neutral.moderate}" } }, border: { value: { _light: "{colors.sys.neutral.muted}" } }, icon: { value: { _light: "{colors.sys.neutral.strong}" } }, text: { value: { _light: "{colors.sys.neutral.strong}" } } }, ai: { bg: { value: { _light: "{colors.sys.turquoise.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.turquoise.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.turquoise.moderate}" } }, border: { value: { _light: "{colors.sys.turquoise.muted}" } }, icon: { value: { _light: "{colors.sys.turquoise.strong}" } }, text: { value: { _light: "{colors.sys.turquoise.strong}" } } } }, IM = { overlay: { value: { _light: "{colors.sys.bg.contrast/50}" } }, "overlay-side": { value: { _light: "linear-gradient (90deg, {colors.sys.bg.contrast/0} 0%, {colors.sys.bg.contrast/32} 100%)" } }, "overlay-light": { value: { _light: "{colors.sys.bg.contrast/16}" } }, skeleton: { value: { _light: "{colors.sys.bg.subtle}" } }, "skeleton-strong": { value: { _light: "{colors.sys.fg.minimal}" } } }, bM = { "header-action": { bg: { value: { _light: "{colors.sys.bg.surface/0}" } }, "bg-hover": { value: { _light: "{colors.sys.bg.surface/20}" } }, "bg-active": { value: { _light: "{colors.sys.bg.surface/20}" } }, "bg-selected": { value: { _light: "{colors.sys.bg.surface/20}" } }, "bg-selected-hover": { value: { _light: "{colors.sys.bg.surface/10}" } } } }, MM = {
|
|
10648
|
-
brand: gM,
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
|
|
10670
|
-
|
|
10671
|
-
|
|
10672
|
-
|
|
10663
|
+
link: hM,
|
|
10664
|
+
spinner: dM,
|
|
10665
|
+
textarea: uM
|
|
10666
|
+
}, mM = { primary: { value: { _light: "{colors.pal.purple.30}" } } }, vM = { primary: { value: { _light: "{colors.pal.neutral.90}" } } }, fM = { fg: { base: { value: { _light: "{colors.pal.neutral.10}" } }, primary: { value: { _light: "{colors.pal.purple.10}" } }, secondary: { value: { _light: "{colors.pal.neutral.40}" } }, tertiary: { value: { _light: "{colors.pal.neutral.60}" } }, subtle: { value: { _light: "{colors.pal.neutral.70}" } }, minimal: { value: { _light: "{colors.pal.neutral.80}" } }, positive: { value: { _light: "{colors.pal.green.50}" } }, negative: { value: { _light: "{colors.pal.red.50}" } }, "on-color": { value: { _light: "{colors.pal.neutral.100}" } }, "on-contrast": { value: { _light: "{colors.pal.neutral.95}" } }, "on-disabled": { value: { _light: "{colors.pal.neutral.70}" } }, disabled: { value: { _light: "{colors.pal.neutral.80}" } } }, bg: { surface: { value: { _light: "{colors.pal.neutral.100}" } }, contrast: { value: { _light: "{colors.pal.neutral.10}" } }, moderate: { value: { _light: "{colors.pal.neutral.90}" } }, subtle: { value: { _light: "{colors.pal.neutral.93}" } }, minimal: { value: { _light: "{colors.pal.neutral.95}" } }, disabled: { value: { _light: "{colors.pal.neutral.95}" } } }, border: { minimal: { value: { _light: "{colors.pal.neutral.93}" } }, subtle: { value: { _light: "{colors.pal.neutral.90}" } }, strong: { value: { _light: "{colors.pal.neutral.80}" } }, emphasized: { value: { _light: "{colors.pal.neutral.70}" } }, critical: { value: { _light: "{colors.pal.red.50}" } }, inverse: { value: { _light: "{colors.pal.neutral.100}" } }, "on-contrast": { value: { _light: "{colors.pal.neutral.95}" } }, disabled: { value: { _light: "{colors.pal.neutral.90}" } } }, primary: { base: { value: { _light: "{colors.pal.purple.40}" } }, emphasized: { value: { _light: "{colors.pal.purple.30}" } }, contrast: { value: { _light: "{colors.pal.purple.10}" } }, muted: { value: { _light: "{colors.pal.purple.80}" } }, subtle: { value: { _light: "{colors.pal.purple.93}" } }, disabled: { value: { _light: "{colors.pal.neutral.90}" } } }, interactive: { base: { value: { _light: "{colors.pal.purple.50}" } }, strong: { value: { _light: "{colors.pal.purple.40}" } }, bold: { value: { _light: "{colors.pal.purple.60}" } }, highlight: { value: { _light: "{colors.pal.purple.70}" } }, muted: { value: { _light: "{colors.pal.purple.80}" } }, moderate: { value: { _light: "{colors.pal.purple.90}" } }, subtle: { value: { _light: "{colors.pal.purple.93}" } }, minimal: { value: { _light: "{colors.pal.purple.95}" } }, disabled: { value: { _light: "{colors.pal.neutral.90}" } } }, info: { base: { value: { _light: "{colors.pal.blue.50}" } }, strong: { value: { _light: "{colors.pal.blue.40}" } }, bold: { value: { _light: "{colors.pal.blue.60}" } }, muted: { value: { _light: "{colors.pal.blue.80}" } }, moderate: { value: { _light: "{colors.pal.blue.90}" } }, subtle: { value: { _light: "{colors.pal.blue.93}" } }, minimal: { value: { _light: "{colors.pal.blue.95}" } } }, success: { base: { value: { _light: "{colors.pal.green.50}" } }, strong: { value: { _light: "{colors.pal.green.40}" } }, bold: { value: { _light: "{colors.pal.green.60}" } }, muted: { value: { _light: "{colors.pal.green.80}" } }, moderate: { value: { _light: "{colors.pal.green.90}" } }, subtle: { value: { _light: "{colors.pal.green.93}" } }, minimal: { value: { _light: "{colors.pal.green.95}" } } }, warning: { base: { value: { _light: "{colors.pal.yellow.50}" } }, strong: { value: { _light: "{colors.pal.yellow.40}" } }, bold: { value: { _light: "{colors.pal.yellow.60}" } }, muted: { value: { _light: "{colors.pal.yellow.80}" } }, moderate: { value: { _light: "{colors.pal.yellow.90}" } }, subtle: { value: { _light: "{colors.pal.yellow.93}" } }, minimal: { value: { _light: "{colors.pal.yellow.95}" } } }, critical: { base: { value: { _light: "{colors.pal.red.50}" } }, dark: { value: { _light: "{colors.pal.red.20}" } }, strong: { value: { _light: "{colors.pal.red.40}" } }, bold: { value: { _light: "{colors.pal.red.60}" } }, muted: { value: { _light: "{colors.pal.red.80}" } }, moderate: { value: { _light: "{colors.pal.red.90}" } }, subtle: { value: { _light: "{colors.pal.red.93}" } }, minimal: { value: { _light: "{colors.pal.red.95}" } } }, neutral: { base: { value: { _light: "{colors.pal.neutral.50}" } }, strong: { value: { _light: "{colors.pal.neutral.40}" } }, bold: { value: { _light: "{colors.pal.neutral.60}" } }, muted: { value: { _light: "{colors.pal.neutral.80}" } }, moderate: { value: { _light: "{colors.pal.neutral.90}" } }, subtle: { value: { _light: "{colors.pal.neutral.93}" } }, minimal: { value: { _light: "{colors.pal.neutral.95}" } } }, orange: { base: { value: { _light: "{colors.pal.orange.50}" } }, strong: { value: { _light: "{colors.pal.orange.40}" } }, bold: { value: { _light: "{colors.pal.orange.60}" } }, muted: { value: { _light: "{colors.pal.orange.80}" } }, moderate: { value: { _light: "{colors.pal.orange.90}" } }, subtle: { value: { _light: "{colors.pal.orange.93}" } }, minimal: { value: { _light: "{colors.pal.orange.95}" } } }, turquoise: { base: { value: { _light: "{colors.pal.turquoise.50}" } }, dark: { value: { _light: "{colors.pal.turquoise.20}" } }, emphasized: { value: { _light: "{colors.pal.turquoise.30}" } }, strong: { value: { _light: "{colors.pal.turquoise.40}" } }, bold: { value: { _light: "{colors.pal.turquoise.60}" } }, muted: { value: { _light: "{colors.pal.turquoise.80}" } }, moderate: { value: { _light: "{colors.pal.turquoise.90}" } }, subtle: { value: { _light: "{colors.pal.turquoise.93}" } }, minimal: { value: { _light: "{colors.pal.turquoise.95}" } } } }, pM = { primary: { value: { _light: "{colors.sys.bg.surface}" } }, secondary: { value: { _light: "{colors.sys.bg.minimal}" } }, tertiary: { value: { _light: "{colors.sys.bg.subtle}" } }, hover: { value: { _light: "{colors.sys.bg.subtle}" } }, active: { value: { _light: "{colors.sys.bg.moderate}" } }, selected: { value: { _light: "{colors.sys.interactive.minimal}" } }, "selected-hover": { value: { _light: "{colors.sys.interactive.subtle}" } }, contrast: { value: { _light: "{colors.sys.bg.contrast}" } }, disabled: { value: { _light: "{colors.sys.bg.disabled}" } } }, wM = { regular: { value: { _light: "{colors.sys.border.subtle}" } }, minimal: { value: { _light: "{colors.sys.border.minimal}" } }, strong: { value: { _light: "{colors.sys.border.strong}" } }, hover: { value: { _light: "{colors.sys.border.emphasized}" } }, focus: { value: { _light: "{colors.sys.interactive.highlight}" } }, selected: { value: { _light: "{colors.sys.interactive}" } }, error: { value: { _light: "{colors.sys.border.critical}" } }, inverse: { value: { _light: "{colors.sys.border.inverse}" } }, "on-contrast": { value: { _light: "{colors.sys.border.on-contrast}" } }, disabled: { value: { _light: "{colors.sys.border.disabled}" } } }, EM = { primary: { value: { _light: "{colors.sys.fg.primary}" } }, secondary: { value: { _light: "{colors.sys.fg.secondary}" } }, tertiary: { value: { _light: "{colors.sys.fg.tertiary}" } }, body: { value: { _light: "{colors.sys.fg}" } }, helper: { value: { _light: "{colors.sys.fg.secondary}" } }, link: { value: { _light: "{colors.sys.interactive}" } }, "link-hover": { value: { _light: "{colors.sys.interactive.strong}" } }, selected: { value: { _light: "{colors.sys.interactive}" } }, positive: { value: { _light: "{colors.sys.fg.positive}" } }, negative: { value: { _light: "{colors.sys.fg.negative}" } }, "on-color": { value: { _light: "{colors.sys.fg.on-color}" } }, "on-contrast": { value: { _light: "{colors.sys.fg.on-contrast}" } }, "on-disabled": { value: { _light: "{colors.sys.fg.on-disabled}" } }, disabled: { value: { _light: "{colors.sys.fg.disabled}" } } }, xM = { primary: { value: { _light: "{colors.sys.fg.primary}" } }, secondary: { value: { _light: "{colors.sys.fg.secondary}" } }, tertiary: { value: { _light: "{colors.sys.fg.tertiary}" } }, interactive: { value: { _light: "{colors.sys.interactive}" } }, "interactive-hover": { value: { _light: "{colors.sys.interactive.strong}" } }, positive: { value: { _light: "{colors.sys.fg.positive}" } }, negative: { value: { _light: "{colors.sys.fg.negative}" } }, "on-color": { value: { _light: "{colors.sys.fg.on-color}" } }, "on-contrast": { value: { _light: "{colors.sys.fg.on-contrast}" } }, "on-disabled": { value: { _light: "{colors.sys.fg.on-disabled}" } }, disabled: { value: { _light: "{colors.sys.fg.disabled}" } } }, CM = { primary: { bg: { value: { _light: "{colors.sys.primary}" } }, "bg-hover": { value: { _light: "{colors.sys.primary.emphasized}" } }, "bg-active": { value: { _light: "{colors.sys.fg.primary}" } }, "bg-disabled": { value: { _light: "{colors.sys.primary.disabled}" } }, fg: { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-hover": { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-active": { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.on-disabled}" } } }, secondary: { bg: { value: { _light: "{colors.sys.bg.surface}" } }, "bg-hover": { value: { _light: "{colors.sys.bg.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.bg.moderate}" } }, "bg-disabled": { value: { _light: "{colors.sys.bg.minimal}" } }, fg: { value: { _light: "{colors.sys.fg.primary}" } }, "fg-hover": { value: { _light: "{colors.sys.fg.primary}" } }, "fg-active": { value: { _light: "{colors.sys.fg.primary}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.disabled}" } }, border: { value: { _light: "{colors.sys.border.strong}" } }, "border-hover": { value: { _light: "{colors.sys.border.emphasized}" } }, "border-active": { value: { _light: "{colors.sys.border.emphasized}" } }, "border-disabled": { value: { _light: "{colors.sys.border.disabled}" } } }, tertiary: { bg: { value: { _light: "transparent" } }, "bg-hover": { value: { _light: "{colors.sys.bg.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.bg.moderate}" } }, "bg-disabled": { value: { _light: "transparent" } }, fg: { value: { _light: "{colors.sys.interactive}" } }, "fg-hover": { value: { _light: "{colors.sys.interactive.strong}" } }, "fg-active": { value: { _light: "{colors.sys.fg.primary}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.disabled}" } } }, "danger-primary": { bg: { value: { _light: "{colors.sys.critical}" } }, "bg-hover": { value: { _light: "{colors.sys.critical.strong}" } }, "bg-active": { value: { _light: "{colors.sys.critical.dark}" } }, "bg-disabled": { value: { _light: "{colors.sys.primary.disabled}" } }, fg: { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-hover": { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-active": { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.on-disabled}" } } }, "danger-secondary": { bg: { value: { _light: "{colors.sys.bg.surface}" } }, "bg-hover": { value: { _light: "{colors.sys.critical.minimal}" } }, "bg-active": { value: { _light: "{colors.sys.critical.moderate}" } }, "bg-disabled": { value: { _light: "{colors.sys.bg.minimal}" } }, fg: { value: { _light: "{colors.sys.critical}" } }, "fg-hover": { value: { _light: "{colors.sys.critical}" } }, "fg-active": { value: { _light: "{colors.sys.critical.strong}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.disabled}" } }, border: { value: { _light: "{colors.sys.critical.muted}" } }, "border-hover": { value: { _light: "{colors.sys.critical.muted}" } }, "border-active": { value: { _light: "{colors.sys.critical}" } }, "border-disabled": { value: { _light: "{colors.sys.border.disabled}" } } }, "danger-tertiary": { bg: { value: { _light: "transparent" } }, "bg-hover": { value: { _light: "{colors.sys.critical.minimal}" } }, "bg-active": { value: { _light: "{colors.sys.critical.moderate}" } }, "bg-disabled": { value: { _light: "transparent" } }, fg: { value: { _light: "{colors.sys.critical}" } }, "fg-hover": { value: { _light: "{colors.sys.critical}" } }, "fg-active": { value: { _light: "{colors.sys.critical.strong}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.disabled}" } } }, "ai-primary": { bg: { value: { _light: "{colors.sys.turquoise.strong}" } }, "bg-hover": { value: { _light: "{colors.sys.turquoise.emphasized}" } }, "bg-active": { value: { _light: "{colors.sys.turquoise.dark}" } }, "bg-disabled": { value: { _light: "{colors.sys.primary.disabled}" } }, fg: { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-hover": { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-active": { value: { _light: "{colors.sys.fg.on-color}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.on-disabled}" } } }, "ai-secondary": { bg: { value: { _light: "{colors.sys.bg.surface}" } }, "bg-hover": { value: { _light: "{colors.sys.turquoise.minimal}" } }, "bg-active": { value: { _light: "{colors.sys.turquoise.moderate}" } }, "bg-disabled": { value: { _light: "{colors.sys.bg.minimal}" } }, fg: { value: { _light: "{colors.sys.turquoise}" } }, "fg-hover": { value: { _light: "{colors.sys.turquoise}" } }, "fg-active": { value: { _light: "{colors.sys.turquoise.strong}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.disabled}" } }, border: { value: { _light: "{colors.sys.turquoise.muted}" } }, "border-hover": { value: { _light: "{colors.sys.turquoise.muted}" } }, "border-active": { value: { _light: "{colors.sys.turquoise}" } }, "border-disabled": { value: { _light: "{colors.sys.border.disabled}" } } }, "ai-tertiary": { bg: { value: { _light: "{colors.sys.bg.transparent}" } }, "bg-hover": { value: { _light: "{colors.sys.turquoise.minimal}" } }, "bg-active": { value: { _light: "{colors.sys.turquoise.moderate}" } }, "bg-disabled": { value: { _light: "{colors.sys.bg.transparent}" } }, fg: { value: { _light: "{colors.sys.turquoise}" } }, "fg-hover": { value: { _light: "{colors.sys.turquoise}" } }, "fg-active": { value: { _light: "{colors.sys.turquoise.strong}" } }, "fg-disabled": { value: { _light: "{colors.sys.fg.disabled}" } } } }, yM = { text: { label: { value: { _light: "{colors.sys.fg.primary}" } }, inputValue: { value: { _light: "{colors.sys.fg}" } }, placeholder: { value: { _light: "{colors.sys.fg.subtle}" } }, helper: { value: { _light: "{colors.sys.fg.secondary}" } }, error: { value: { _light: "{colors.sys.fg.negative}" } } } }, IM = { info: { bg: { value: { _light: "{colors.sys.info.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.info.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.info.moderate}" } }, border: { value: { _light: "{colors.sys.info.muted}" } }, icon: { value: { _light: "{colors.sys.info.strong}" } }, text: { value: { _light: "{colors.sys.info.strong}" } } }, success: { bg: { value: { _light: "{colors.sys.success.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.success.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.success.moderate}" } }, border: { value: { _light: "{colors.sys.success.muted}" } }, icon: { value: { _light: "{colors.sys.success.strong}" } }, text: { value: { _light: "{colors.sys.success.strong}" } } }, warning: { bg: { value: { _light: "{colors.sys.warning.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.warning.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.warning.moderate}" } }, border: { value: { _light: "{colors.sys.warning.muted}" } }, icon: { value: { _light: "{colors.sys.warning.strong}" } }, text: { value: { _light: "{colors.sys.warning.strong}" } } }, critical: { bg: { value: { _light: "{colors.sys.critical.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.critical.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.critical.moderate}" } }, border: { value: { _light: "{colors.sys.critical.muted}" } }, icon: { value: { _light: "{colors.sys.critical.strong}" } }, text: { value: { _light: "{colors.sys.critical.strong}" } } }, progress: { bg: { value: { _light: "{colors.sys.interactive.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.interactive.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.interactive.moderate}" } }, border: { value: { _light: "{colors.sys.interactive.muted}" } }, icon: { value: { _light: "{colors.sys.interactive.strong}" } }, text: { value: { _light: "{colors.sys.interactive.strong}" } } }, neutral: { bg: { value: { _light: "{colors.sys.neutral.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.neutral.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.neutral.moderate}" } }, border: { value: { _light: "{colors.sys.neutral.muted}" } }, icon: { value: { _light: "{colors.sys.neutral.strong}" } }, text: { value: { _light: "{colors.sys.neutral.strong}" } } }, ai: { bg: { value: { _light: "{colors.sys.turquoise.minimal}" } }, "bg-hover": { value: { _light: "{colors.sys.turquoise.subtle}" } }, "bg-active": { value: { _light: "{colors.sys.turquoise.moderate}" } }, border: { value: { _light: "{colors.sys.turquoise.muted}" } }, icon: { value: { _light: "{colors.sys.turquoise.strong}" } }, text: { value: { _light: "{colors.sys.turquoise.strong}" } } } }, bM = { overlay: { value: { _light: "{colors.sys.bg.contrast/50}" } }, "overlay-side": { value: { _light: "linear-gradient (90deg, {colors.sys.bg.contrast/0} 0%, {colors.sys.bg.contrast/32} 100%)" } }, "overlay-light": { value: { _light: "{colors.sys.bg.contrast/16}" } }, skeleton: { value: { _light: "{colors.sys.bg.subtle}" } }, "skeleton-strong": { value: { _light: "{colors.sys.fg.minimal}" } } }, MM = { "header-action": { bg: { value: { _light: "{colors.sys.bg.surface/0}" } }, "bg-hover": { value: { _light: "{colors.sys.bg.surface/20}" } }, "bg-active": { value: { _light: "{colors.sys.bg.surface/20}" } }, "bg-selected": { value: { _light: "{colors.sys.bg.surface/20}" } }, "bg-selected-hover": { value: { _light: "{colors.sys.bg.surface/10}" } } } }, SM = {
|
|
10667
|
+
brand: mM,
|
|
10668
|
+
separator: vM,
|
|
10669
|
+
sys: fM,
|
|
10670
|
+
background: pM,
|
|
10671
|
+
border: wM,
|
|
10672
|
+
text: EM,
|
|
10673
|
+
icon: xM,
|
|
10674
|
+
button: CM,
|
|
10675
|
+
input: yM,
|
|
10676
|
+
status: IM,
|
|
10677
|
+
utilities: bM,
|
|
10678
|
+
ui: MM
|
|
10679
|
+
}, RM = ao.colors(rn(SM)), zM = { value: { _light: "0 0.125rem 0.1875rem 0 rgba(0, 0, 0, 0.1) inset, 0 0 0 3px var(--colors-purple-70)" } }, AM = { value: { _light: "0 0.125rem 0.1875rem 0 rgba(0, 0, 0, 0.1) inset" } }, VM = { value: { _light: "0 0.0625rem 0.125rem 0 rgba(0, 0, 0, 0.1) inset" } }, OM = { value: { _light: "0 0.125rem 1.5rem 0 rgba(0, 0, 0, 0.08)" } }, jM = { value: { _light: "0 0.125rem 0.75rem 0 rgba(0, 0, 0, 0.06)" } }, HM = { value: { _light: "0 0 0 3px var(--colors-purple-70)" } }, kM = { value: { _light: "0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.06)" } }, LM = { value: { _light: "0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.2)" } }, NM = {
|
|
10680
|
+
formFocus: zM,
|
|
10681
|
+
inner: AM,
|
|
10682
|
+
innerSmall: VM,
|
|
10683
|
+
large: OM,
|
|
10684
|
+
medium: jM,
|
|
10685
|
+
outline: HM,
|
|
10686
|
+
small: kM,
|
|
10687
|
+
tooltip: LM
|
|
10688
|
+
}, BM = ao.shadows(NM), TM = {
|
|
10689
|
+
colors: RM,
|
|
10690
|
+
shadows: BM
|
|
10691
|
+
}, PM = a4({
|
|
10673
10692
|
className: "field",
|
|
10674
10693
|
slots: j3.keys(),
|
|
10675
10694
|
base: {
|
|
@@ -10712,8 +10731,8 @@ const Re = (e) => {
|
|
|
10712
10731
|
}
|
|
10713
10732
|
}
|
|
10714
10733
|
}
|
|
10715
|
-
}),
|
|
10716
|
-
field:
|
|
10734
|
+
}), FM = {
|
|
10735
|
+
field: PM
|
|
10717
10736
|
}, T = {
|
|
10718
10737
|
"mono/code-2": {
|
|
10719
10738
|
value: {
|
|
@@ -10938,7 +10957,7 @@ const Re = (e) => {
|
|
|
10938
10957
|
fontSize: "3rem"
|
|
10939
10958
|
}
|
|
10940
10959
|
}
|
|
10941
|
-
},
|
|
10960
|
+
}, _M = {
|
|
10942
10961
|
...T,
|
|
10943
10962
|
"display/lg": T["sans/size-8/bold"],
|
|
10944
10963
|
"display/sm": T["sans/size-7/bold"],
|
|
@@ -10991,15 +11010,15 @@ const Re = (e) => {
|
|
|
10991
11010
|
"comp/badge/sm": T["sans/size-1/uppercase-bold"],
|
|
10992
11011
|
"comp/dialog/title": T["sans/size-5/bold"],
|
|
10993
11012
|
"comp/dialog/label": T["sans/size-2/uppercase-semibold"]
|
|
10994
|
-
},
|
|
11013
|
+
}, DM = h4(_M), qM = Ye.animations({
|
|
10995
11014
|
spin: { value: "spin 1s linear infinite" }
|
|
10996
|
-
}),
|
|
10997
|
-
pal:
|
|
10998
|
-
brand:
|
|
10999
|
-
},
|
|
11000
|
-
body:
|
|
11001
|
-
mono:
|
|
11002
|
-
},
|
|
11015
|
+
}), $M = { neutral: { 10: { value: "#201b22" }, 20: { value: "#362d39" }, 30: { value: "#49404f" }, 40: { value: "#6b6071" }, 50: { value: "#7d7184" }, 60: { value: "#94879b" }, 70: { value: "#afa4b4" }, 80: { value: "#c9c1cd" }, 90: { value: "#dfdae1" }, 93: { value: "#efebef" }, 95: { value: "#f6f4f6" }, 100: { value: "#fff" } }, purple: { 10: { value: "#2b0e3f" }, 20: { value: "#421560" }, 30: { value: "#5c2a7e" }, 40: { value: "#7b3ba5" }, 50: { value: "#9247c2" }, 60: { value: "#ae63de" }, 70: { value: "#c289e6" }, 80: { value: "#d5adeb" }, 90: { value: "#ead4f2" }, 93: { value: "#f3e7f9" }, 95: { value: "#f9f2fd" } }, red: { 10: { value: "#47060c" }, 20: { value: "#630811" }, 30: { value: "#78111c" }, 40: { value: "#a91e2e" }, 50: { value: "#d72d40" }, 60: { value: "#f7596c" }, 70: { value: "#ff8091" }, 80: { value: "#ffa8b5" }, 90: { value: "#ffccd5" }, 93: { value: "#ffe5eb" }, 95: { value: "#fff0f3" } }, orange: { 10: { value: "#421000" }, 20: { value: "#661900" }, 30: { value: "#7a2200" }, 40: { value: "#a33500" }, 50: { value: "#d45202" }, 60: { value: "#ed720c" }, 70: { value: "#fd9730" }, 80: { value: "#ffb766" }, 90: { value: "#ffd5a3" }, 93: { value: "#ffe9cf" }, 95: { value: "#fff4e5" } }, yellow: { 10: { value: "#2e1c00" }, 20: { value: "#4d2f00" }, 30: { value: "#613e00" }, 40: { value: "#875b00" }, 50: { value: "#b27e00" }, 60: { value: "#d6a200" }, 70: { value: "#ebba00" }, 80: { value: "#f9cc15" }, 90: { value: "#fbe074" }, 93: { value: "#ffefad" }, 95: { value: "#fff6d1" } }, green: { 10: { value: "#042a0f" }, 20: { value: "#064217" }, 30: { value: "#0b5620" }, 40: { value: "#167231" }, 50: { value: "#2a9d4c" }, 60: { value: "#4eb76c" }, 70: { value: "#77cf8f" }, 80: { value: "#a1deb2" }, 90: { value: "#c3eace" }, 93: { value: "#e1f4e7" }, 95: { value: "#eef9f1" } }, turquoise: { 10: { value: "#002924" }, 20: { value: "#003d36" }, 30: { value: "#005248" }, 40: { value: "#007366" }, 50: { value: "#009e8e" }, 60: { value: "#11bba9" }, 70: { value: "#55cec3" }, 80: { value: "#8ae0d7" }, 90: { value: "#aeefe8" }, 93: { value: "#d8f8f4" }, 95: { value: "#e9fbf9" } }, blue: { 10: { value: "#002442" }, 20: { value: "#00315c" }, 30: { value: "#044781" }, 40: { value: "#1066ac" }, 50: { value: "#2582d0" }, 60: { value: "#4f9bde" }, 70: { value: "#71b8ef" }, 80: { value: "#99d1f5" }, 90: { value: "#c2e7fa" }, 93: { value: "#def2fc" }, 95: { value: "#ecf8fd" } } }, WM = { purple: { darkest: { value: "#3d125f" }, dark: { value: "#500e82" }, mid: { value: "#6a3c98" }, light: { value: "#deb4ff" }, lightest: { value: "#f6eaff" } }, blue: { dark: { value: "#11258e" }, mid: { value: "#005fbe" }, light: { value: "#88e3ff" }, lightest: { value: "#d7f5ff" } }, teal: { dark: { value: "#106375" }, mid: { value: "#10c0c0" }, light: { value: "#95ffec" }, lightest: { value: "#dbfffd" } }, green: { dark: { value: "#107557" }, mid: { value: "#0fc382" }, light: { value: "#95ffcc" }, lightest: { value: "#dbfff3" } }, yellow: { mid: { value: "#ffc500" }, light: { value: "#ffe27f" }, lightest: { value: "#fff4cd" } }, orange: { dark: { value: "#ff4400" }, mid: { value: "#ffa17f" }, light: { value: "#ffd7c9" } }, red: { dark: { value: "#e5113c" }, mid: { value: "#ff9cd8" }, light: { value: "#ffd0ec" } }, neutral: { black: { value: "#000" }, dark: { value: "#7c7c7c" }, light: { value: "#dbdbdb" }, white: { value: "#fff" } } }, GM = {
|
|
11016
|
+
pal: $M,
|
|
11017
|
+
brand: WM
|
|
11018
|
+
}, UM = Ye.colors(rn(GM)), YM = { value: '"Figtree Variable", sans-serif' }, XM = { value: '"Source Code Pro Variable", monospace' }, KM = {
|
|
11019
|
+
body: YM,
|
|
11020
|
+
mono: XM
|
|
11021
|
+
}, JM = Ye.fonts(KM), QM = { value: "1rem" }, ZM = {
|
|
11003
11022
|
1: { value: "0.75rem" },
|
|
11004
11023
|
2: { value: "0.875rem" },
|
|
11005
11024
|
3: { value: "1rem" },
|
|
@@ -11008,20 +11027,20 @@ const Re = (e) => {
|
|
|
11008
11027
|
6: { value: "1.875rem" },
|
|
11009
11028
|
7: { value: "2.25rem" },
|
|
11010
11029
|
8: { value: "3rem" },
|
|
11011
|
-
base:
|
|
11012
|
-
},
|
|
11013
|
-
bold:
|
|
11014
|
-
demiBold:
|
|
11015
|
-
normal:
|
|
11016
|
-
semibold:
|
|
11017
|
-
},
|
|
11030
|
+
base: QM
|
|
11031
|
+
}, eS = Ye.fontSizes(ZM), tS = { value: 700 }, nS = { value: 600 }, lS = { value: 400 }, oS = { value: 600 }, rS = {
|
|
11032
|
+
bold: tS,
|
|
11033
|
+
demiBold: nS,
|
|
11034
|
+
normal: lS,
|
|
11035
|
+
semibold: oS
|
|
11036
|
+
}, iS = Ye.fontWeights(rS), aS = {
|
|
11018
11037
|
2: { value: "0.125rem" },
|
|
11019
11038
|
4: { value: "0.25rem" },
|
|
11020
11039
|
8: { value: "0.5rem" },
|
|
11021
11040
|
12: { value: "0.75rem" },
|
|
11022
11041
|
16: { value: "1rem" },
|
|
11023
11042
|
24: { value: "1.5rem" }
|
|
11024
|
-
},
|
|
11043
|
+
}, sS = Ye.radii(aS), ko = {
|
|
11025
11044
|
1: { value: "0.0625rem" },
|
|
11026
11045
|
2: { value: "0.125rem" },
|
|
11027
11046
|
4: { value: "0.25rem" },
|
|
@@ -11037,48 +11056,48 @@ const Re = (e) => {
|
|
|
11037
11056
|
64: { value: "4rem" },
|
|
11038
11057
|
96: { value: "6rem" },
|
|
11039
11058
|
128: { value: "8rem" }
|
|
11040
|
-
},
|
|
11041
|
-
base:
|
|
11042
|
-
dialog:
|
|
11043
|
-
dialogOverlay:
|
|
11044
|
-
fullDialog:
|
|
11045
|
-
fullDialogOverlay:
|
|
11046
|
-
header:
|
|
11047
|
-
hide:
|
|
11048
|
-
popover:
|
|
11049
|
-
tooltip:
|
|
11050
|
-
},
|
|
11051
|
-
animations:
|
|
11052
|
-
colors:
|
|
11053
|
-
fonts:
|
|
11054
|
-
fontSizes:
|
|
11055
|
-
fontWeights:
|
|
11056
|
-
radii:
|
|
11057
|
-
sizes:
|
|
11058
|
-
spacing:
|
|
11059
|
-
zIndex:
|
|
11060
|
-
},
|
|
11059
|
+
}, cS = Ye.sizes(ko), hS = Ye.spacing(ko), dS = { value: 0 }, uS = { value: 1300 }, gS = { value: 1299 }, mS = { value: 1200 }, vS = { value: 1199 }, fS = { value: 1100 }, pS = { value: -1 }, wS = { value: 1400 }, ES = { value: 1500 }, xS = {
|
|
11060
|
+
base: dS,
|
|
11061
|
+
dialog: uS,
|
|
11062
|
+
dialogOverlay: gS,
|
|
11063
|
+
fullDialog: mS,
|
|
11064
|
+
fullDialogOverlay: vS,
|
|
11065
|
+
header: fS,
|
|
11066
|
+
hide: pS,
|
|
11067
|
+
popover: wS,
|
|
11068
|
+
tooltip: ES
|
|
11069
|
+
}, CS = Ye.zIndex(xS), yS = {
|
|
11070
|
+
animations: qM,
|
|
11071
|
+
colors: UM,
|
|
11072
|
+
fonts: JM,
|
|
11073
|
+
fontSizes: eS,
|
|
11074
|
+
fontWeights: iS,
|
|
11075
|
+
radii: sS,
|
|
11076
|
+
sizes: cS,
|
|
11077
|
+
spacing: hS,
|
|
11078
|
+
zIndex: CS
|
|
11079
|
+
}, IS = s4({
|
|
11061
11080
|
spin: {
|
|
11062
11081
|
"0%": { transform: "rotate(0deg)" },
|
|
11063
11082
|
"100%": { transform: "rotate(360deg)" }
|
|
11064
11083
|
}
|
|
11065
|
-
}),
|
|
11084
|
+
}), bS = so({
|
|
11066
11085
|
preflight: !0,
|
|
11067
11086
|
cssVarsPrefix: "",
|
|
11068
11087
|
cssVarsRoot: ":where(:root, :host)",
|
|
11069
11088
|
globalCss: rM,
|
|
11070
11089
|
theme: {
|
|
11071
11090
|
breakpoints: oM,
|
|
11072
|
-
keyframes:
|
|
11073
|
-
tokens:
|
|
11074
|
-
semanticTokens:
|
|
11075
|
-
slotRecipes:
|
|
11076
|
-
recipes:
|
|
11077
|
-
textStyles:
|
|
11078
|
-
}
|
|
11079
|
-
}),
|
|
11091
|
+
keyframes: IS,
|
|
11092
|
+
tokens: yS,
|
|
11093
|
+
semanticTokens: TM,
|
|
11094
|
+
slotRecipes: FM,
|
|
11095
|
+
recipes: gM,
|
|
11096
|
+
textStyles: DM
|
|
11097
|
+
}
|
|
11098
|
+
}), MS = V3(w4, bS), RS = (e) => /* @__PURE__ */ r.jsx(Gr, { ...e, value: MS });
|
|
11080
11099
|
export {
|
|
11081
|
-
|
|
11100
|
+
RS as BitkitProvider,
|
|
11082
11101
|
N3 as IconAbortCircle16,
|
|
11083
11102
|
xv as IconAbortCircle24,
|
|
11084
11103
|
T3 as IconAbortCircleFilled16,
|
|
@@ -11603,5 +11622,5 @@ export {
|
|
|
11603
11622
|
Zb as IconXamarin24,
|
|
11604
11623
|
fv as IconXcode16,
|
|
11605
11624
|
tM as IconXcode24,
|
|
11606
|
-
|
|
11625
|
+
MS as bitriseTheme
|
|
11607
11626
|
};
|