chop-logic-components 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +100 -82
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +350 -330
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -126,14 +126,14 @@ function oo() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var se = Object.assign, we = 0,
|
|
129
|
+
var se = Object.assign, we = 0, st, Ie, Ye, X, pe, me, G;
|
|
130
130
|
function _e() {
|
|
131
131
|
}
|
|
132
132
|
_e.__reactDisabledLog = !0;
|
|
133
133
|
function Ke() {
|
|
134
134
|
{
|
|
135
135
|
if (we === 0) {
|
|
136
|
-
|
|
136
|
+
st = console.log, Ie = console.info, Ye = console.warn, X = console.error, pe = console.group, me = console.groupCollapsed, G = console.groupEnd;
|
|
137
137
|
var a = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
@@ -163,7 +163,7 @@ function oo() {
|
|
|
163
163
|
};
|
|
164
164
|
Object.defineProperties(console, {
|
|
165
165
|
log: se({}, a, {
|
|
166
|
-
value:
|
|
166
|
+
value: st
|
|
167
167
|
}),
|
|
168
168
|
info: se({}, a, {
|
|
169
169
|
value: Ie
|
|
@@ -285,7 +285,7 @@ function oo() {
|
|
|
285
285
|
var p = a.prototype;
|
|
286
286
|
return !!(p && p.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function at(a, p, v) {
|
|
289
289
|
if (a == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof a == "function")
|
|
@@ -303,11 +303,11 @@ function oo() {
|
|
|
303
303
|
case l:
|
|
304
304
|
return In(a.render);
|
|
305
305
|
case f:
|
|
306
|
-
return
|
|
306
|
+
return at(a.type, p, v);
|
|
307
307
|
case g: {
|
|
308
308
|
var S = a, P = S._payload, O = S._init;
|
|
309
309
|
try {
|
|
310
|
-
return
|
|
310
|
+
return at(O(P), p, v);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
@@ -315,9 +315,9 @@ function oo() {
|
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
317
|
var qe = Object.prototype.hasOwnProperty, ar = {}, cr = w.ReactDebugCurrentFrame;
|
|
318
|
-
function
|
|
318
|
+
function ct(a) {
|
|
319
319
|
if (a) {
|
|
320
|
-
var p = a._owner, v =
|
|
320
|
+
var p = a._owner, v = at(a.type, a._source, p ? p.type : null);
|
|
321
321
|
cr.setExtraStackFrame(v);
|
|
322
322
|
} else
|
|
323
323
|
cr.setExtraStackFrame(null);
|
|
@@ -337,7 +337,7 @@ function oo() {
|
|
|
337
337
|
} catch (D) {
|
|
338
338
|
T = D;
|
|
339
339
|
}
|
|
340
|
-
T && !(T instanceof Error) && (
|
|
340
|
+
T && !(T instanceof Error) && (ct(P), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", v, z, typeof T), ct(null)), T instanceof Error && !(T.message in ar) && (ar[T.message] = !0, ct(P), b("Failed %s type: %s", v, T.message), ct(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
@@ -466,7 +466,7 @@ function oo() {
|
|
|
466
466
|
var Pt = w.ReactCurrentOwner, fr = w.ReactDebugCurrentFrame;
|
|
467
467
|
function Pe(a) {
|
|
468
468
|
if (a) {
|
|
469
|
-
var p = a._owner, v =
|
|
469
|
+
var p = a._owner, v = at(a.type, a._source, p ? p.type : null);
|
|
470
470
|
fr.setExtraStackFrame(v);
|
|
471
471
|
} else
|
|
472
472
|
fr.setExtraStackFrame(null);
|
|
@@ -654,7 +654,7 @@ var so = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
654
654
|
return so.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
655
655
|
}
|
|
656
656
|
/* Z+1 */
|
|
657
|
-
), B = "-ms-", et = "-moz-", M = "-webkit-", Vr = "comm",
|
|
657
|
+
), B = "-ms-", et = "-moz-", M = "-webkit-", Vr = "comm", St = "rule", Jt = "decl", co = "@import", Gr = "@keyframes", lo = "@layer", Ur = Math.abs, Zt = String.fromCharCode, Wt = Object.assign;
|
|
658
658
|
function uo(e, t) {
|
|
659
659
|
return V(e, 0) ^ 45 ? (((t << 2 ^ V(e, 0)) << 2 ^ V(e, 1)) << 2 ^ V(e, 2)) << 2 ^ V(e, 3) : 0;
|
|
660
660
|
}
|
|
@@ -667,7 +667,7 @@ function ce(e, t) {
|
|
|
667
667
|
function E(e, t, r) {
|
|
668
668
|
return e.replace(t, r);
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function ft(e, t, r) {
|
|
671
671
|
return e.indexOf(t, r);
|
|
672
672
|
}
|
|
673
673
|
function V(e, t) {
|
|
@@ -693,12 +693,12 @@ function Sr(e, t) {
|
|
|
693
693
|
return !ce(r, t);
|
|
694
694
|
});
|
|
695
695
|
}
|
|
696
|
-
var
|
|
697
|
-
function
|
|
698
|
-
return { value: e, root: t, parent: r, type: n, props: o, children: s, line:
|
|
696
|
+
var Ct = 1, Ne = 1, qr = 0, Q = 0, F = 0, Ve = "";
|
|
697
|
+
function kt(e, t, r, n, o, s, c, d) {
|
|
698
|
+
return { value: e, root: t, parent: r, type: n, props: o, children: s, line: Ct, column: Ne, length: c, return: "", siblings: d };
|
|
699
699
|
}
|
|
700
700
|
function ye(e, t) {
|
|
701
|
-
return Wt(
|
|
701
|
+
return Wt(kt("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
|
|
702
702
|
}
|
|
703
703
|
function Oe(e) {
|
|
704
704
|
for (; e.root; )
|
|
@@ -709,18 +709,18 @@ function fo() {
|
|
|
709
709
|
return F;
|
|
710
710
|
}
|
|
711
711
|
function po() {
|
|
712
|
-
return F = Q > 0 ? V(Ve, --Q) : 0, Ne--, F === 10 && (Ne = 1,
|
|
712
|
+
return F = Q > 0 ? V(Ve, --Q) : 0, Ne--, F === 10 && (Ne = 1, Ct--), F;
|
|
713
713
|
}
|
|
714
714
|
function oe() {
|
|
715
|
-
return F = Q < qr ? V(Ve, Q++) : 0, Ne++, F === 10 && (Ne = 1,
|
|
715
|
+
return F = Q < qr ? V(Ve, Q++) : 0, Ne++, F === 10 && (Ne = 1, Ct++), F;
|
|
716
716
|
}
|
|
717
717
|
function je() {
|
|
718
718
|
return V(Ve, Q);
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function pt() {
|
|
721
721
|
return Q;
|
|
722
722
|
}
|
|
723
|
-
function
|
|
723
|
+
function jt(e, t) {
|
|
724
724
|
return Le(Ve, e, t);
|
|
725
725
|
}
|
|
726
726
|
function Vt(e) {
|
|
@@ -756,13 +756,13 @@ function Vt(e) {
|
|
|
756
756
|
return 0;
|
|
757
757
|
}
|
|
758
758
|
function mo(e) {
|
|
759
|
-
return
|
|
759
|
+
return Ct = Ne = 1, qr = ie(Ve = e), Q = 0, [];
|
|
760
760
|
}
|
|
761
761
|
function go(e) {
|
|
762
762
|
return Ve = "", e;
|
|
763
763
|
}
|
|
764
764
|
function Dt(e) {
|
|
765
|
-
return Yr(
|
|
765
|
+
return Yr(jt(Q - 1, Gt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
766
766
|
}
|
|
767
767
|
function vo(e) {
|
|
768
768
|
for (; (F = je()) && F < 33; )
|
|
@@ -772,7 +772,7 @@ function vo(e) {
|
|
|
772
772
|
function yo(e, t) {
|
|
773
773
|
for (; --t && oe() && !(F < 48 || F > 102 || F > 57 && F < 65 || F > 70 && F < 97); )
|
|
774
774
|
;
|
|
775
|
-
return
|
|
775
|
+
return jt(e, pt() + (t < 6 && je() == 32 && oe() == 32));
|
|
776
776
|
}
|
|
777
777
|
function Gt(e) {
|
|
778
778
|
for (; oe(); )
|
|
@@ -796,22 +796,22 @@ function bo(e, t) {
|
|
|
796
796
|
for (; oe() && e + F !== 57; )
|
|
797
797
|
if (e + F === 84 && je() === 47)
|
|
798
798
|
break;
|
|
799
|
-
return "/*" +
|
|
799
|
+
return "/*" + jt(t, Q - 1) + "*" + Zt(e === 47 ? e : oe());
|
|
800
800
|
}
|
|
801
801
|
function xo(e) {
|
|
802
802
|
for (; !Vt(je()); )
|
|
803
803
|
oe();
|
|
804
|
-
return
|
|
804
|
+
return jt(e, Q);
|
|
805
805
|
}
|
|
806
806
|
function $o(e) {
|
|
807
|
-
return go(
|
|
807
|
+
return go(mt("", null, null, null, [""], e = mo(e), 0, [0], e));
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function mt(e, t, r, n, o, s, c, d, l) {
|
|
810
810
|
for (var h = 0, u = 0, f = c, g = 0, m = 0, y = 0, $ = 1, C = 1, w = 1, b = 0, k = "", _ = o, A = s, j = n, x = k; C; )
|
|
811
811
|
switch (y = b, b = oe()) {
|
|
812
812
|
case 40:
|
|
813
813
|
if (y != 108 && V(x, f - 1) == 58) {
|
|
814
|
-
|
|
814
|
+
ft(x += E(Dt(b), "&", "&\f"), "&\f", Ur(h ? d[h - 1] : 0)) != -1 && (w = -1);
|
|
815
815
|
break;
|
|
816
816
|
}
|
|
817
817
|
case 34:
|
|
@@ -826,13 +826,13 @@ function pt(e, t, r, n, o, s, c, d, l) {
|
|
|
826
826
|
x += vo(y);
|
|
827
827
|
break;
|
|
828
828
|
case 92:
|
|
829
|
-
x += yo(
|
|
829
|
+
x += yo(pt() - 1, 7);
|
|
830
830
|
continue;
|
|
831
831
|
case 47:
|
|
832
832
|
switch (je()) {
|
|
833
833
|
case 42:
|
|
834
834
|
case 47:
|
|
835
|
-
Qe(wo(bo(oe(),
|
|
835
|
+
Qe(wo(bo(oe(), pt()), t, r, l), l);
|
|
836
836
|
break;
|
|
837
837
|
default:
|
|
838
838
|
x += "/";
|
|
@@ -855,17 +855,17 @@ function pt(e, t, r, n, o, s, c, d, l) {
|
|
|
855
855
|
default:
|
|
856
856
|
if (Qe(j = Cr(x, t, r, h, u, o, d, k, _ = [], A = [], f, s), s), b === 123)
|
|
857
857
|
if (u === 0)
|
|
858
|
-
|
|
858
|
+
mt(x, t, j, j, _, s, f, d, A);
|
|
859
859
|
else
|
|
860
860
|
switch (g === 99 && V(x, 3) === 110 ? 100 : g) {
|
|
861
861
|
case 100:
|
|
862
862
|
case 108:
|
|
863
863
|
case 109:
|
|
864
864
|
case 115:
|
|
865
|
-
|
|
865
|
+
mt(e, j, j, n && Qe(Cr(e, j, j, 0, 0, o, d, k, o, _ = [], f, A), A), o, A, f, d, n ? _ : A);
|
|
866
866
|
break;
|
|
867
867
|
default:
|
|
868
|
-
|
|
868
|
+
mt(x, j, j, j, [""], A, 0, d, A);
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
h = u = m = 0, $ = w = 1, k = x = "", f = c;
|
|
@@ -887,7 +887,7 @@ function pt(e, t, r, n, o, s, c, d, l) {
|
|
|
887
887
|
d[h++] = (ie(x) - 1) * w, w = 1;
|
|
888
888
|
break;
|
|
889
889
|
case 64:
|
|
890
|
-
je() === 45 && (x += Dt(oe())), g = je(), u = f = ie(k = x += xo(
|
|
890
|
+
je() === 45 && (x += Dt(oe())), g = je(), u = f = ie(k = x += xo(pt())), b++;
|
|
891
891
|
break;
|
|
892
892
|
case 45:
|
|
893
893
|
y === 45 && ie(x) == 2 && ($ = 0);
|
|
@@ -899,13 +899,13 @@ function Cr(e, t, r, n, o, s, c, d, l, h, u, f) {
|
|
|
899
899
|
for (var g = o - 1, m = o === 0 ? s : [""], y = Kr(m), $ = 0, C = 0, w = 0; $ < n; ++$)
|
|
900
900
|
for (var b = 0, k = Le(e, g + 1, g = Ur(C = c[$])), _ = e; b < y; ++b)
|
|
901
901
|
(_ = Yr(C > 0 ? m[b] + " " + k : E(k, /&\f/g, m[b]))) && (l[w++] = _);
|
|
902
|
-
return
|
|
902
|
+
return kt(e, t, r, o === 0 ? St : d, l, h, u, f);
|
|
903
903
|
}
|
|
904
904
|
function wo(e, t, r, n) {
|
|
905
|
-
return
|
|
905
|
+
return kt(e, t, r, Vr, Zt(fo()), Le(e, 2, -2), 0, n);
|
|
906
906
|
}
|
|
907
907
|
function kr(e, t, r, n, o) {
|
|
908
|
-
return
|
|
908
|
+
return kt(e, t, r, Jt, Le(e, 0, n), Le(e, n + 1, -1), n, o);
|
|
909
909
|
}
|
|
910
910
|
function Xr(e, t, r) {
|
|
911
911
|
switch (uo(e, t)) {
|
|
@@ -991,7 +991,7 @@ function Xr(e, t, r) {
|
|
|
991
991
|
case 3616:
|
|
992
992
|
return r && r.some(function(n, o) {
|
|
993
993
|
return t = o, ce(n.props, /grid-\w+-end/);
|
|
994
|
-
}) ? ~
|
|
994
|
+
}) ? ~ft(e + (r = r[t].value), "span", 0) ? e : B + E(e, "-start", "") + e + B + "grid-row-span:" + (~ft(r, "span", 0) ? ce(r, /\d+/) : +ce(r, /\d+/) - +ce(e, /\d+/)) + ";" : B + E(e, "-start", "") + e;
|
|
995
995
|
case 4896:
|
|
996
996
|
case 4128:
|
|
997
997
|
return r && r.some(function(n) {
|
|
@@ -1022,7 +1022,7 @@ function Xr(e, t, r) {
|
|
|
1022
1022
|
case 102:
|
|
1023
1023
|
return E(e, /(.+:)(.+)-([^]+)/, "$1" + M + "$2-$3$1" + et + (V(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
1024
1024
|
case 115:
|
|
1025
|
-
return ~
|
|
1025
|
+
return ~ft(e, "stretch", 0) ? Xr(E(e, "stretch", "fill-available"), t, r) + e : e;
|
|
1026
1026
|
}
|
|
1027
1027
|
break;
|
|
1028
1028
|
case 5152:
|
|
@@ -1051,7 +1051,7 @@ function Xr(e, t, r) {
|
|
|
1051
1051
|
}
|
|
1052
1052
|
return e;
|
|
1053
1053
|
}
|
|
1054
|
-
function
|
|
1054
|
+
function yt(e, t) {
|
|
1055
1055
|
for (var r = "", n = 0; n < e.length; n++)
|
|
1056
1056
|
r += t(e[n], n, e, t) || "";
|
|
1057
1057
|
return r;
|
|
@@ -1066,11 +1066,11 @@ function So(e, t, r, n) {
|
|
|
1066
1066
|
case Vr:
|
|
1067
1067
|
return "";
|
|
1068
1068
|
case Gr:
|
|
1069
|
-
return e.return = e.value + "{" +
|
|
1070
|
-
case
|
|
1069
|
+
return e.return = e.value + "{" + yt(e.children, n) + "}";
|
|
1070
|
+
case St:
|
|
1071
1071
|
if (!ie(e.value = e.props.join(","))) return "";
|
|
1072
1072
|
}
|
|
1073
|
-
return ie(r =
|
|
1073
|
+
return ie(r = yt(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
|
|
1074
1074
|
}
|
|
1075
1075
|
function Co(e) {
|
|
1076
1076
|
var t = Kr(e);
|
|
@@ -1092,8 +1092,8 @@ function jo(e, t, r, n) {
|
|
|
1092
1092
|
e.return = Xr(e.value, e.length, r);
|
|
1093
1093
|
return;
|
|
1094
1094
|
case Gr:
|
|
1095
|
-
return
|
|
1096
|
-
case
|
|
1095
|
+
return yt([ye(e, { value: E(e.value, "@", "@" + M) })], n);
|
|
1096
|
+
case St:
|
|
1097
1097
|
if (e.length)
|
|
1098
1098
|
return ho(r = e.props, function(o) {
|
|
1099
1099
|
switch (ce(o, n = /(::plac\w+|:read-\w+)/)) {
|
|
@@ -1157,8 +1157,8 @@ var Eo = {
|
|
|
1157
1157
|
strokeMiterlimit: 1,
|
|
1158
1158
|
strokeOpacity: 1,
|
|
1159
1159
|
strokeWidth: 1
|
|
1160
|
-
}, Re = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Jr = "active", Zr = "data-styled-version",
|
|
1161
|
-
`,
|
|
1160
|
+
}, Re = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Jr = "active", Zr = "data-styled-version", Et = "6.1.13", Qt = `/*!sc*/
|
|
1161
|
+
`, bt = typeof window < "u" && "HTMLElement" in window, Ro = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), jr = /invalid hook call/i, lt = /* @__PURE__ */ new Set(), Ao = function(e, t) {
|
|
1162
1162
|
if (process.env.NODE_ENV !== "production") {
|
|
1163
1163
|
var r = t ? ' with the id of "'.concat(t, '"') : "", n = "The component ".concat(e).concat(r, ` has been created dynamically.
|
|
1164
1164
|
`) + `You may see this warning because you've called styled inside another component.
|
|
@@ -1167,15 +1167,15 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
1167
1167
|
var s = !0;
|
|
1168
1168
|
console.error = function(c) {
|
|
1169
1169
|
for (var d = [], l = 1; l < arguments.length; l++) d[l - 1] = arguments[l];
|
|
1170
|
-
jr.test(c) ? (s = !1,
|
|
1171
|
-
}, Be(), s && !
|
|
1170
|
+
jr.test(c) ? (s = !1, lt.delete(n)) : o.apply(void 0, De([c], d, !1));
|
|
1171
|
+
}, Be(), s && !lt.has(n) && (console.warn(n), lt.add(n));
|
|
1172
1172
|
} catch (c) {
|
|
1173
|
-
jr.test(c.message) &&
|
|
1173
|
+
jr.test(c.message) && lt.delete(n);
|
|
1174
1174
|
} finally {
|
|
1175
1175
|
console.error = o;
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
|
-
},
|
|
1178
|
+
}, Rt = Object.freeze([]), Fe = Object.freeze({});
|
|
1179
1179
|
function Io(e, t, r) {
|
|
1180
1180
|
return r === void 0 && (r = Fe), e.theme !== r.theme && e.theme || t || r.theme;
|
|
1181
1181
|
}
|
|
@@ -1183,13 +1183,13 @@ var Ut = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "as
|
|
|
1183
1183
|
function Er(e) {
|
|
1184
1184
|
return e.replace(_o, "-").replace(To, "");
|
|
1185
1185
|
}
|
|
1186
|
-
var zo = /(a)(d)/gi,
|
|
1186
|
+
var zo = /(a)(d)/gi, dt = 52, Rr = function(e) {
|
|
1187
1187
|
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
1188
1188
|
};
|
|
1189
1189
|
function Yt(e) {
|
|
1190
1190
|
var t, r = "";
|
|
1191
|
-
for (t = Math.abs(e); t >
|
|
1192
|
-
return (Rr(t %
|
|
1191
|
+
for (t = Math.abs(e); t > dt; t = t / dt | 0) r = Rr(t % dt) + r;
|
|
1192
|
+
return (Rr(t % dt) + r).replace(zo, "$1-$2");
|
|
1193
1193
|
}
|
|
1194
1194
|
var Lt, Qr = 5381, Ce = function(e, t) {
|
|
1195
1195
|
for (var r = t.length; r; ) e = 33 * e ^ t.charCodeAt(--r);
|
|
@@ -1338,15 +1338,15 @@ var Go = function() {
|
|
|
1338
1338
|
for (var n = this.groupSizes[t], o = this.indexOfGroup(t), s = o + n, c = o; c < s; c++) r += "".concat(this.tag.getRule(c)).concat(Qt);
|
|
1339
1339
|
return r;
|
|
1340
1340
|
}, e;
|
|
1341
|
-
}(), Uo = 1 << 30,
|
|
1342
|
-
if (
|
|
1343
|
-
for (;
|
|
1344
|
-
var t =
|
|
1341
|
+
}(), Uo = 1 << 30, gt = /* @__PURE__ */ new Map(), xt = /* @__PURE__ */ new Map(), vt = 1, ut = function(e) {
|
|
1342
|
+
if (gt.has(e)) return gt.get(e);
|
|
1343
|
+
for (; xt.has(vt); ) vt++;
|
|
1344
|
+
var t = vt++;
|
|
1345
1345
|
if (process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > Uo)) throw Ge(16, "".concat(t));
|
|
1346
|
-
return
|
|
1346
|
+
return gt.set(e, t), xt.set(t, e), t;
|
|
1347
1347
|
}, Yo = function(e, t) {
|
|
1348
|
-
|
|
1349
|
-
}, Ko = "style[".concat(Re, "][").concat(Zr, '="').concat(
|
|
1348
|
+
vt = t + 1, gt.set(e, t), xt.set(t, e);
|
|
1349
|
+
}, Ko = "style[".concat(Re, "][").concat(Zr, '="').concat(Et, '"]'), qo = new RegExp("^".concat(Re, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), Xo = function(e, t, r) {
|
|
1350
1350
|
for (var n, o = r.split(","), s = 0, c = o.length; s < c; s++) (n = o[s]) && e.registerName(t, n);
|
|
1351
1351
|
}, Jo = function(e, t) {
|
|
1352
1352
|
for (var r, n = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(Qt), o = [], s = 0, c = n.length; s < c; s++) {
|
|
@@ -1373,7 +1373,7 @@ var an = function(e) {
|
|
|
1373
1373
|
var l = Array.from(d.querySelectorAll("style[".concat(Re, "]")));
|
|
1374
1374
|
return l[l.length - 1];
|
|
1375
1375
|
}(r), s = o !== void 0 ? o.nextSibling : null;
|
|
1376
|
-
n.setAttribute(Re, Jr), n.setAttribute(Zr,
|
|
1376
|
+
n.setAttribute(Re, Jr), n.setAttribute(Zr, Et);
|
|
1377
1377
|
var c = Zo();
|
|
1378
1378
|
return c && n.setAttribute("nonce", c), r.insertBefore(n, s), n;
|
|
1379
1379
|
}, Qo = function() {
|
|
@@ -1425,15 +1425,15 @@ var an = function(e) {
|
|
|
1425
1425
|
}, e.prototype.getRule = function(t) {
|
|
1426
1426
|
return t < this.length ? this.rules[t] : "";
|
|
1427
1427
|
}, e;
|
|
1428
|
-
}(), Pr =
|
|
1428
|
+
}(), Pr = bt, ri = { isServer: !bt, useCSSOMInjection: !Ro }, cn = function() {
|
|
1429
1429
|
function e(t, r, n) {
|
|
1430
1430
|
t === void 0 && (t = Fe), r === void 0 && (r = {});
|
|
1431
1431
|
var o = this;
|
|
1432
|
-
this.options = K(K({}, ri), t), this.gs = r, this.names = new Map(n), this.server = !!t.isServer, !this.server &&
|
|
1432
|
+
this.options = K(K({}, ri), t), this.gs = r, this.names = new Map(n), this.server = !!t.isServer, !this.server && bt && Pr && (Pr = !1, zr(this)), tr(this, function() {
|
|
1433
1433
|
return function(s) {
|
|
1434
1434
|
for (var c = s.getTag(), d = c.length, l = "", h = function(f) {
|
|
1435
1435
|
var g = function(w) {
|
|
1436
|
-
return
|
|
1436
|
+
return xt.get(w);
|
|
1437
1437
|
}(f);
|
|
1438
1438
|
if (g === void 0) return "continue";
|
|
1439
1439
|
var m = s.names.get(g), y = c.getGroup(f);
|
|
@@ -1448,9 +1448,9 @@ var an = function(e) {
|
|
|
1448
1448
|
});
|
|
1449
1449
|
}
|
|
1450
1450
|
return e.registerId = function(t) {
|
|
1451
|
-
return
|
|
1451
|
+
return ut(t);
|
|
1452
1452
|
}, e.prototype.rehydrate = function() {
|
|
1453
|
-
!this.server &&
|
|
1453
|
+
!this.server && bt && zr(this);
|
|
1454
1454
|
}, e.prototype.reconstructWithOptions = function(t, r) {
|
|
1455
1455
|
return r === void 0 && (r = !0), new e(K(K({}, this.options), t), this.gs, r && this.names || void 0);
|
|
1456
1456
|
}, e.prototype.allocateGSInstance = function(t) {
|
|
@@ -1464,17 +1464,17 @@ var an = function(e) {
|
|
|
1464
1464
|
}, e.prototype.hasNameForId = function(t, r) {
|
|
1465
1465
|
return this.names.has(t) && this.names.get(t).has(r);
|
|
1466
1466
|
}, e.prototype.registerName = function(t, r) {
|
|
1467
|
-
if (
|
|
1467
|
+
if (ut(t), this.names.has(t)) this.names.get(t).add(r);
|
|
1468
1468
|
else {
|
|
1469
1469
|
var n = /* @__PURE__ */ new Set();
|
|
1470
1470
|
n.add(r), this.names.set(t, n);
|
|
1471
1471
|
}
|
|
1472
1472
|
}, e.prototype.insertRules = function(t, r, n) {
|
|
1473
|
-
this.registerName(t, r), this.getTag().insertRules(
|
|
1473
|
+
this.registerName(t, r), this.getTag().insertRules(ut(t), n);
|
|
1474
1474
|
}, e.prototype.clearNames = function(t) {
|
|
1475
1475
|
this.names.has(t) && this.names.get(t).clear();
|
|
1476
1476
|
}, e.prototype.clearRules = function(t) {
|
|
1477
|
-
this.getTag().clearGroup(
|
|
1477
|
+
this.getTag().clearGroup(ut(t)), this.clearNames(t);
|
|
1478
1478
|
}, e.prototype.clearTag = function() {
|
|
1479
1479
|
this.tag = void 0;
|
|
1480
1480
|
}, e;
|
|
@@ -1487,18 +1487,18 @@ function ln(e, t) {
|
|
|
1487
1487
|
});
|
|
1488
1488
|
}
|
|
1489
1489
|
function ii(e) {
|
|
1490
|
-
var t, r, n, o = Fe, s = o.options, c = s === void 0 ? Fe : s, d = o.plugins, l = d === void 0 ?
|
|
1490
|
+
var t, r, n, o = Fe, s = o.options, c = s === void 0 ? Fe : s, d = o.plugins, l = d === void 0 ? Rt : d, h = function(g, m, y) {
|
|
1491
1491
|
return y.startsWith(r) && y.endsWith(r) && y.replaceAll(r, "").length > 0 ? ".".concat(t) : g;
|
|
1492
1492
|
}, u = l.slice();
|
|
1493
1493
|
u.push(function(g) {
|
|
1494
|
-
g.type ===
|
|
1494
|
+
g.type === St && g.value.includes("&") && (g.props[0] = g.props[0].replace(ni, r).replace(n, h));
|
|
1495
1495
|
}), c.prefix && u.push(jo), u.push(So);
|
|
1496
1496
|
var f = function(g, m, y, $) {
|
|
1497
1497
|
m === void 0 && (m = ""), y === void 0 && (y = ""), $ === void 0 && ($ = "&"), t = $, r = m, n = new RegExp("\\".concat(r, "\\b"), "g");
|
|
1498
1498
|
var C = g.replace(oi, ""), w = $o(y || m ? "".concat(y, " ").concat(m, " { ").concat(C, " }") : C);
|
|
1499
1499
|
c.namespace && (w = ln(w, c.namespace));
|
|
1500
1500
|
var b = [];
|
|
1501
|
-
return
|
|
1501
|
+
return yt(w, Co(u.concat(ko(function(k) {
|
|
1502
1502
|
return b.push(k);
|
|
1503
1503
|
})))), b;
|
|
1504
1504
|
};
|
|
@@ -1556,7 +1556,7 @@ function Ee(e, t, r, n) {
|
|
|
1556
1556
|
return process.env.NODE_ENV === "production" || typeof o != "object" || Array.isArray(o) || o instanceof Or || We(o) || o === null || console.error("".concat(tn(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), Ee(o, t, r, n);
|
|
1557
1557
|
}
|
|
1558
1558
|
var s;
|
|
1559
|
-
return e instanceof Or ? r ? (e.inject(r, n), [e.getName(n)]) : [e] : We(e) ? hn(e) : Array.isArray(e) ? Array.prototype.concat.apply(
|
|
1559
|
+
return e instanceof Or ? r ? (e.inject(r, n), [e.getName(n)]) : [e] : We(e) ? hn(e) : Array.isArray(e) ? Array.prototype.concat.apply(Rt, e.map(function(c) {
|
|
1560
1560
|
return Ee(c, t, r, n);
|
|
1561
1561
|
})) : [e.toString()];
|
|
1562
1562
|
}
|
|
@@ -1567,7 +1567,7 @@ function ci(e) {
|
|
|
1567
1567
|
}
|
|
1568
1568
|
return !0;
|
|
1569
1569
|
}
|
|
1570
|
-
var li = en(
|
|
1570
|
+
var li = en(Et), di = function() {
|
|
1571
1571
|
function e(t, r, n) {
|
|
1572
1572
|
this.rules = t, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (n === void 0 || n.isStatic) && ci(t), this.componentId = r, this.baseHash = Ce(li, r), this.baseStyle = n, cn.registerId(r);
|
|
1573
1573
|
}
|
|
@@ -1602,10 +1602,10 @@ var li = en(jt), di = function() {
|
|
|
1602
1602
|
fn.Consumer;
|
|
1603
1603
|
var Ft = {}, Dr = /* @__PURE__ */ new Set();
|
|
1604
1604
|
function ui(e, t, r) {
|
|
1605
|
-
var n = er(e), o = e, s = !Nt(e), c = t.attrs, d = c === void 0 ?
|
|
1605
|
+
var n = er(e), o = e, s = !Nt(e), c = t.attrs, d = c === void 0 ? Rt : c, l = t.componentId, h = l === void 0 ? function(_, A) {
|
|
1606
1606
|
var j = typeof _ != "string" ? "sc" : Er(_);
|
|
1607
1607
|
Ft[j] = (Ft[j] || 0) + 1;
|
|
1608
|
-
var x = "".concat(j, "-").concat(Po(
|
|
1608
|
+
var x = "".concat(j, "-").concat(Po(Et + j + Ft[j]));
|
|
1609
1609
|
return A ? "".concat(A, "-").concat(x) : x;
|
|
1610
1610
|
}(t.displayName, t.parentComponentId) : l, u = t.displayName, f = u === void 0 ? function(_) {
|
|
1611
1611
|
return Nt(_) ? "styled.".concat(_) : "Styled(".concat(tn(_), ")");
|
|
@@ -1622,7 +1622,7 @@ function ui(e, t, r) {
|
|
|
1622
1622
|
var w = new di(r, g, n ? o.componentStyle : void 0);
|
|
1623
1623
|
function b(_, A) {
|
|
1624
1624
|
return function(j, x, H) {
|
|
1625
|
-
var q = j.attrs, ue = j.componentStyle, he = j.defaultProps, fe = j.foldedComponentIds, W = j.styledComponentId, se = j.target, we = le.useContext(fn),
|
|
1625
|
+
var q = j.attrs, ue = j.componentStyle, he = j.defaultProps, fe = j.foldedComponentIds, W = j.styledComponentId, se = j.target, we = le.useContext(fn), st = Mr(), Ie = j.shouldForwardProp || st.shouldForwardProp;
|
|
1626
1626
|
process.env.NODE_ENV !== "production" && xr(W);
|
|
1627
1627
|
var Ye = Io(x, we, he) || Fe, X = function(Te, ae, ge) {
|
|
1628
1628
|
for (var te, re = K(K({}, ae), { className: void 0, theme: ge }), ve = 0; ve < Te.length; ve += 1) {
|
|
@@ -1681,7 +1681,7 @@ var Nr = function(e) {
|
|
|
1681
1681
|
};
|
|
1682
1682
|
function hi(e) {
|
|
1683
1683
|
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
1684
|
-
if (He(e) || We(e)) return Nr(Ee(Lr(
|
|
1684
|
+
if (He(e) || We(e)) return Nr(Ee(Lr(Rt, De([e], t, !0))));
|
|
1685
1685
|
var n = e;
|
|
1686
1686
|
return t.length === 0 && n.length === 1 && typeof n[0] == "string" ? Ee(n) : Nr(Ee(Lr(n, t)));
|
|
1687
1687
|
}
|
|
@@ -1706,23 +1706,183 @@ Ut.forEach(function(e) {
|
|
|
1706
1706
|
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
1707
1707
|
Perhaps you're looking to import 'styled-components/native'?
|
|
1708
1708
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`);
|
|
1709
|
-
var
|
|
1710
|
-
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[
|
|
1709
|
+
var ht = "__sc-".concat(Re, "__");
|
|
1710
|
+
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[ht] || (window[ht] = 0), window[ht] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
1711
1711
|
|
|
1712
|
-
See https://s-c.sh/2BAXzed for more info.`), window[
|
|
1713
|
-
const
|
|
1712
|
+
See https://s-c.sh/2BAXzed for more info.`), window[ht] += 1);
|
|
1713
|
+
const ot = `
|
|
1714
|
+
animation: fadeIn ease 400ms;
|
|
1715
|
+
-webkit-animation: fadeIn ease 400ms;
|
|
1716
|
+
-moz-animation: fadeIn ease 400ms;
|
|
1717
|
+
|
|
1718
|
+
@keyframes fadeIn {
|
|
1719
|
+
0% {
|
|
1720
|
+
opacity: 0;
|
|
1721
|
+
}
|
|
1722
|
+
100% {
|
|
1723
|
+
opacity: 1;
|
|
1724
|
+
}
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
@-moz-keyframes fadeIn {
|
|
1728
|
+
0% {
|
|
1729
|
+
opacity: 0;
|
|
1730
|
+
}
|
|
1731
|
+
100% {
|
|
1732
|
+
opacity: 1;
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
@-webkit-keyframes fadeIn {
|
|
1737
|
+
0% {
|
|
1738
|
+
opacity: 0;
|
|
1739
|
+
}
|
|
1740
|
+
100% {
|
|
1741
|
+
opacity: 1;
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
`, mn = `
|
|
1745
|
+
animation: fadeOut ease 400ms;
|
|
1746
|
+
-webkit-animation: fadeOut ease 400ms;
|
|
1747
|
+
-moz-animation: fadeOut ease 400ms;
|
|
1748
|
+
|
|
1749
|
+
@keyframes fadeOut {
|
|
1750
|
+
0% {
|
|
1751
|
+
opacity: 1;
|
|
1752
|
+
}
|
|
1753
|
+
100% {
|
|
1754
|
+
opacity: 0;
|
|
1755
|
+
}
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
@-moz-keyframes fadeOut {
|
|
1759
|
+
0% {
|
|
1760
|
+
opacity: 1;
|
|
1761
|
+
}
|
|
1762
|
+
100% {
|
|
1763
|
+
opacity: 0;
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
@-webkit-keyframes fadeOut {
|
|
1768
|
+
0% {
|
|
1769
|
+
opacity: 1;
|
|
1770
|
+
}
|
|
1771
|
+
100% {
|
|
1772
|
+
opacity: 0;
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
`, fi = Object.freeze({
|
|
1776
|
+
/* Very small devices (phones, 600px and down) */
|
|
1777
|
+
/* @media only screen and (max-width: 600px) {...} */
|
|
1778
|
+
phones: "only screen and (max-width: 600px)",
|
|
1779
|
+
/* Small devices (portrait tablets and large phones, 600px and up) */
|
|
1780
|
+
/* @media only screen and (min-width: 600px) {...} */
|
|
1781
|
+
portraitTablets: "only screen and (min-width: 600px)",
|
|
1782
|
+
/* Medium devices (landscape tablets, 768px and up) */
|
|
1783
|
+
/* @media only screen and (min-width: 768px) {...} */
|
|
1784
|
+
landscapeTablets: "only screen and (min-width: 768px)",
|
|
1785
|
+
/* Large devices (laptops/desktops, 992px and up) */
|
|
1786
|
+
/* @media only screen and (min-width: 992px) {...} */
|
|
1787
|
+
laptops: "only screen and (min-width: 992px)",
|
|
1788
|
+
/* Extra large devices (large laptops and desktops, 1200px and up) */
|
|
1789
|
+
/* @media only screen and (min-width: 1200px) {...} */
|
|
1790
|
+
desktops: "only screen and (min-width: 1200px)"
|
|
1791
|
+
}), pi = {
|
|
1792
|
+
// Colors
|
|
1793
|
+
fontColorBase: "hsl(0, 0%, 24%)",
|
|
1794
|
+
fontColorLight: "hsl(0, 0%, 62%)",
|
|
1795
|
+
fontColorAccent: "hsl(345, 100%, 47%)",
|
|
1796
|
+
backgroundColorBase: "hsl(0, 0%, 100%)",
|
|
1797
|
+
backgroundColorLight: "hsl(0, 0%, 95%)",
|
|
1798
|
+
backgroundColorTransparent: "hsla(0, 0%, 0%, 0.3)",
|
|
1799
|
+
// Gradients
|
|
1800
|
+
gradientShadow: "linear-gradient(to left, hsl(340deg 100% 16%) 0%, hsl(340deg 100% 32%) 8%, hsl(340deg 100% 32%) 92%, hsl(340deg 100% 16%) 100%)",
|
|
1801
|
+
// Fonts
|
|
1802
|
+
fontFamilyCore: "Arial, Helvetica, sans-serif",
|
|
1803
|
+
fontFamilyMonospace: "'Courier New', Courier, monospace",
|
|
1804
|
+
fontSizeBase: "1.2rem",
|
|
1805
|
+
fontSizeSmall: "0.8rem",
|
|
1806
|
+
fontSizeHeader: "2rem",
|
|
1807
|
+
// Units
|
|
1808
|
+
gapSmall: "0.25rem",
|
|
1809
|
+
gapMedium: "0.6rem",
|
|
1810
|
+
gapBig: "1rem",
|
|
1811
|
+
iconSize: "1.2rem",
|
|
1812
|
+
blockBorderRadius: "0.25rem",
|
|
1813
|
+
// Shadows
|
|
1814
|
+
boxShadow: "hsla(0, 0%, 0%, 0.15) 2.4px 2.4px 3.2px",
|
|
1815
|
+
textShadow: "2.4px 2.4px 3.2px hsla(0, 0%, 0%, 0.3)",
|
|
1816
|
+
// Borders
|
|
1817
|
+
borderBase: "1px solid hsl(0, 0%, 84%)",
|
|
1818
|
+
borderLight: "1px solid hsl(0, 0%, 89%)",
|
|
1819
|
+
borderAccent: "1px solid hsl(345, 100%, 47%)",
|
|
1820
|
+
borderOutline: "1px solid hsl(0, 0%, 24%)",
|
|
1821
|
+
// Z-indexes
|
|
1822
|
+
zIndexBase: "1",
|
|
1823
|
+
zIndexPopup: "100",
|
|
1824
|
+
zIndexModal: "200"
|
|
1825
|
+
}, mi = {
|
|
1826
|
+
// Colors
|
|
1827
|
+
fontColorBase: "hsl(0, 0%, 100%)",
|
|
1828
|
+
fontColorLight: "hsl(0, 0%, 92%)",
|
|
1829
|
+
fontColorAccent: "hsl(16, 82%, 52%)",
|
|
1830
|
+
backgroundColorBase: "hsl(0, 0%, 17%)",
|
|
1831
|
+
backgroundColorLight: "hsl(0, 0%, 24%)",
|
|
1832
|
+
backgroundColorTransparent: "hsla(0, 0%, 92%, 0.3)",
|
|
1833
|
+
// Gradients
|
|
1834
|
+
gradientShadow: "linear-gradient(to left, hsl(16, 86%, 26%) 0%, hsl(16, 86%, 30%) 8%, hsl(16, 86%, 30%) 92%, hsl(16, 86%, 26%) 100%)",
|
|
1835
|
+
// Fonts
|
|
1836
|
+
fontFamilyCore: "Arial, Helvetica, sans-serif",
|
|
1837
|
+
fontFamilyMonospace: "'Courier New', Courier, monospace",
|
|
1838
|
+
fontSizeBase: "1.2rem",
|
|
1839
|
+
fontSizeSmall: "0.8rem",
|
|
1840
|
+
fontSizeHeader: "2rem",
|
|
1841
|
+
// Units
|
|
1842
|
+
gapSmall: "0.25rem",
|
|
1843
|
+
gapMedium: "0.6rem",
|
|
1844
|
+
gapBig: "1rem",
|
|
1845
|
+
iconSize: "1.2rem",
|
|
1846
|
+
blockBorderRadius: "0.25rem",
|
|
1847
|
+
// Shadows
|
|
1848
|
+
boxShadow: "hsla(0, 0%, 92%, 0.15) 2.4px 2.4px 3.2px",
|
|
1849
|
+
textShadow: "2.4px 2.4px 3.2px hsla(0, 0%, 92%, 0.3)",
|
|
1850
|
+
// Borders
|
|
1851
|
+
borderBase: "1px solid hsl(0, 0%, 11%)",
|
|
1852
|
+
borderLight: "1px solid hsl(0, 0%, 29%)",
|
|
1853
|
+
borderAccent: "1px solid hsl(16, 82%, 52%)",
|
|
1854
|
+
borderOutline: "1px solid hsl(0, 0%, 100%)",
|
|
1855
|
+
// Z-indexes
|
|
1856
|
+
zIndexBase: "1",
|
|
1857
|
+
zIndexPopup: "100",
|
|
1858
|
+
zIndexModal: "200"
|
|
1859
|
+
}, gi = R.span`
|
|
1860
|
+
display: ${({ $visible: e }) => e ? "block" : "none"};
|
|
1861
|
+
position: absolute;
|
|
1862
|
+
max-width: 100%;
|
|
1863
|
+
right: 0;
|
|
1864
|
+
top: 72px;
|
|
1865
|
+
opacity: 0.8;
|
|
1866
|
+
z-index: ${(e) => e.$theme.zIndexPopup};
|
|
1867
|
+
background-color: ${(e) => e.$theme.backgroundColorBase};
|
|
1868
|
+
border: ${(e) => e.$theme.borderAccent};
|
|
1869
|
+
color: ${(e) => e.$theme.fontColorAccent};
|
|
1870
|
+
padding: ${(e) => e.$theme.gapMedium};
|
|
1714
1871
|
font-size: ${(e) => e.$theme.fontSizeSmall};
|
|
1715
1872
|
font-family: ${(e) => e.$theme.fontFamilyCore};
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1873
|
+
border-radius: ${(e) => e.$theme.blockBorderRadius};
|
|
1874
|
+
box-shadow: ${(e) => e.$theme.boxShadow};
|
|
1875
|
+
pointer-events: none;
|
|
1876
|
+
|
|
1877
|
+
${ot}
|
|
1878
|
+
`, gn = ({
|
|
1719
1879
|
errorId: e,
|
|
1720
1880
|
testId: t,
|
|
1721
1881
|
message: r = "Invalid input",
|
|
1722
1882
|
visible: n = !1,
|
|
1723
1883
|
style: o,
|
|
1724
1884
|
theme: s
|
|
1725
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
1885
|
+
}) => /* @__PURE__ */ i.jsx(gi, { id: e, $visible: n, "data-testid": t, style: o, $theme: s, "aria-hidden": !n, children: r });
|
|
1726
1886
|
var Z = /* @__PURE__ */ ((e) => (e.Success = "success", e.Error = "error", e.Warning = "warning", e.Info = "info", e.Help = "help", e))(Z || {}), be = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Flat = "flat", e.Icon = "icon", e))(be || {}), I = /* @__PURE__ */ ((e) => (e.ArrowDown = "arrow-down", e.ArrowUp = "arrow-up", e.Back = "back", e.Cancel = "cancel", e.CheckboxChecked = "checkbox-checked", e.CheckboxUnchecked = "checkbox-unchecked", e.CheckMark = "check-mark", e.ChevronDown = "chevron-down", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.ChevronUp = "chevron-up", e.Clear = "clear", e.Copy = "copy", e.Cut = "cut", e.Delete = "delete", e.Download = "download", e.Error = "error", e.Forward = "forward", e.Help = "help", e.Hide = "hide", e.Info = "info", e.Paste = "paste", e.Question = "question", e.Save = "save", e.Show = "show", e.Upload = "upload", e.Warning = "warning", e.Remove = "remove", e))(I || {});
|
|
1727
1887
|
function rr(e) {
|
|
1728
1888
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { d: "M21.886 5.536A1.002 1.002 0 0021 5H3a1.002 1.002 0 00-.822 1.569l9 13a.998.998 0 001.644 0l9-13a.998.998 0 00.064-1.033zM12 17.243L4.908 7h14.184L12 17.243z" }) });
|
|
@@ -1730,13 +1890,13 @@ function rr(e) {
|
|
|
1730
1890
|
function nr(e) {
|
|
1731
1891
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { d: "M3 19h18a1.002 1.002 0 00.823-1.569l-9-13c-.373-.539-1.271-.539-1.645 0l-9 13A.999.999 0 003 19zm9-12.243L19.092 17H4.908L12 6.757z" }) });
|
|
1732
1892
|
}
|
|
1733
|
-
function
|
|
1893
|
+
function vi(e) {
|
|
1734
1894
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 512 512", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 48, d: "M328 112L184 256l144 144" }) });
|
|
1735
1895
|
}
|
|
1736
|
-
function
|
|
1896
|
+
function yi(e) {
|
|
1737
1897
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 470 1000", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { d: "M452 656c12 12 18 26.333 18 43s-6 31-18 43c-12 10.667-26.333 16-43 16s-31-5.333-43-16L234 590 102 742c-12 10.667-26.333 16-43 16s-31-5.333-43-16C5.333 730 0 715.667 0 699s5.333-31 16-43l138-156L16 342C5.333 330 0 315.667 0 299s5.333-31 16-43c12-10.667 26.333-16 43-16s31 5.333 43 16l132 152 132-152c12-10.667 26.333-16 43-16s31 5.333 43 16c12 12 18 26.333 18 43s-6 31-18 43L314 500l138 156" }) });
|
|
1738
1898
|
}
|
|
1739
|
-
function
|
|
1899
|
+
function At(e) {
|
|
1740
1900
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 16 16", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx(
|
|
1741
1901
|
"path",
|
|
1742
1902
|
{
|
|
@@ -1745,13 +1905,13 @@ function Rt(e) {
|
|
|
1745
1905
|
}
|
|
1746
1906
|
) });
|
|
1747
1907
|
}
|
|
1748
|
-
function
|
|
1908
|
+
function It(e) {
|
|
1749
1909
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 16 16", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { fill: "currentColor", d: "M14 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h12v12z" }) });
|
|
1750
1910
|
}
|
|
1751
1911
|
function or(e) {
|
|
1752
1912
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 512 512", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { d: "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z" }) });
|
|
1753
1913
|
}
|
|
1754
|
-
function
|
|
1914
|
+
function bi(e) {
|
|
1755
1915
|
return /* @__PURE__ */ i.jsx("svg", { fill: "currentColor", viewBox: "0 0 16 16", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx(
|
|
1756
1916
|
"path",
|
|
1757
1917
|
{
|
|
@@ -1760,7 +1920,7 @@ function gi(e) {
|
|
|
1760
1920
|
}
|
|
1761
1921
|
) });
|
|
1762
1922
|
}
|
|
1763
|
-
function
|
|
1923
|
+
function xi(e) {
|
|
1764
1924
|
return /* @__PURE__ */ i.jsx("svg", { fill: "currentColor", viewBox: "0 0 16 16", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx(
|
|
1765
1925
|
"path",
|
|
1766
1926
|
{
|
|
@@ -1769,7 +1929,7 @@ function vi(e) {
|
|
|
1769
1929
|
}
|
|
1770
1930
|
) });
|
|
1771
1931
|
}
|
|
1772
|
-
function
|
|
1932
|
+
function $i(e) {
|
|
1773
1933
|
return /* @__PURE__ */ i.jsx("svg", { fill: "currentColor", viewBox: "0 0 16 16", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx(
|
|
1774
1934
|
"path",
|
|
1775
1935
|
{
|
|
@@ -1778,16 +1938,16 @@ function yi(e) {
|
|
|
1778
1938
|
}
|
|
1779
1939
|
) });
|
|
1780
1940
|
}
|
|
1781
|
-
function
|
|
1941
|
+
function wi(e) {
|
|
1782
1942
|
return /* @__PURE__ */ i.jsx("svg", { fill: "currentColor", viewBox: "0 0 16 16", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { fillRule: "evenodd", d: "M7.776 5.553a.5.5 0 01.448 0l6 3a.5.5 0 11-.448.894L8 6.56 2.224 9.447a.5.5 0 11-.448-.894l6-3z" }) });
|
|
1783
1943
|
}
|
|
1784
|
-
function
|
|
1944
|
+
function Si(e) {
|
|
1785
1945
|
return /* @__PURE__ */ i.jsxs("svg", { viewBox: "0 0 1024 1024", fill: "currentColor", height: "1em", width: "1em", ...e, children: [
|
|
1786
1946
|
/* @__PURE__ */ i.jsx("defs", { children: /* @__PURE__ */ i.jsx("style", {}) }),
|
|
1787
1947
|
/* @__PURE__ */ i.jsx("path", { d: "M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6c-.3 1.5-.4 3-.4 4.4 0 14.4 11.6 26 26 26h723c1.5 0 3-.1 4.4-.4 14.2-2.4 23.7-15.9 21.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z" })
|
|
1788
1948
|
] });
|
|
1789
1949
|
}
|
|
1790
|
-
function
|
|
1950
|
+
function Ci(e) {
|
|
1791
1951
|
return /* @__PURE__ */ i.jsxs(
|
|
1792
1952
|
"svg",
|
|
1793
1953
|
{
|
|
@@ -1807,7 +1967,7 @@ function $i(e) {
|
|
|
1807
1967
|
}
|
|
1808
1968
|
);
|
|
1809
1969
|
}
|
|
1810
|
-
function
|
|
1970
|
+
function ki(e) {
|
|
1811
1971
|
return /* @__PURE__ */ i.jsxs(
|
|
1812
1972
|
"svg",
|
|
1813
1973
|
{
|
|
@@ -1829,37 +1989,37 @@ function wi(e) {
|
|
|
1829
1989
|
}
|
|
1830
1990
|
);
|
|
1831
1991
|
}
|
|
1832
|
-
function
|
|
1992
|
+
function ji(e) {
|
|
1833
1993
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 1024 1024", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" }) });
|
|
1834
1994
|
}
|
|
1835
|
-
function
|
|
1995
|
+
function Ei(e) {
|
|
1836
1996
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 1024 1024", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { d: "M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" }) });
|
|
1837
1997
|
}
|
|
1838
|
-
function
|
|
1998
|
+
function vn(e) {
|
|
1839
1999
|
return /* @__PURE__ */ i.jsxs("svg", { viewBox: "0 0 24 24", fill: "currentColor", height: "1em", width: "1em", ...e, children: [
|
|
1840
2000
|
/* @__PURE__ */ i.jsx("path", { d: "M11 7h2v7h-2zm0 8h2v2h-2z" }),
|
|
1841
2001
|
/* @__PURE__ */ i.jsx("path", { d: "M21.707 7.293l-5-5A.996.996 0 0016 2H8a.996.996 0 00-.707.293l-5 5A.996.996 0 002 8v8c0 .266.105.52.293.707l5 5A.996.996 0 008 22h8c.266 0 .52-.105.707-.293l5-5A.996.996 0 0022 16V8a.996.996 0 00-.293-.707zM20 15.586L15.586 20H8.414L4 15.586V8.414L8.414 4h7.172L20 8.414v7.172z" })
|
|
1842
2002
|
] });
|
|
1843
2003
|
}
|
|
1844
|
-
function
|
|
2004
|
+
function Ri(e) {
|
|
1845
2005
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 512 512", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 48, d: "M184 112l144 144-144 144" }) });
|
|
1846
2006
|
}
|
|
1847
|
-
function
|
|
2007
|
+
function yn(e) {
|
|
1848
2008
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 512 512", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { d: "M414.39 97.61A224 224 0 1097.61 414.39 224 224 0 10414.39 97.61zM192.13 260.18a64 64 0 1159.69 59.69 64.07 64.07 0 01-59.69-59.69zm240-66.64l-96.37 5.84a4.06 4.06 0 01-3.44-1.59 96 96 0 00-18.07-18.07 4.06 4.06 0 01-1.59-3.44l5.84-96.37a4 4 0 015.42-3.51A193 193 0 01435.6 188.12a4 4 0 01-3.51 5.42zM193.54 79.91l5.84 96.37a4.06 4.06 0 01-1.59 3.44 96 96 0 00-18.07 18.07 4.06 4.06 0 01-3.44 1.59l-96.37-5.84a4 4 0 01-3.51-5.42A193 193 0 01188.12 76.4a4 4 0 015.42 3.51zM79.91 318.46l96.37-5.84a4.06 4.06 0 013.44 1.59 96 96 0 0018.07 18.07 4.06 4.06 0 011.59 3.44l-5.84 96.37a4 4 0 01-5.42 3.51A193 193 0 0176.4 323.88a4 4 0 013.51-5.42zm238.55 113.63l-5.84-96.37a4.06 4.06 0 011.59-3.44 96 96 0 0018.07-18.07 4.06 4.06 0 013.44-1.59l96.37 5.84a4 4 0 013.51 5.42A193 193 0 01323.88 435.6a4 4 0 01-5.42-3.51z" }) });
|
|
1849
2009
|
}
|
|
1850
|
-
function
|
|
2010
|
+
function Ai(e) {
|
|
1851
2011
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { d: "M12 19c.946 0 1.81-.103 2.598-.281l-1.757-1.757c-.273.021-.55.038-.841.038-5.351 0-7.424-3.846-7.926-5a8.642 8.642 0 011.508-2.297L4.184 8.305c-1.538 1.667-2.121 3.346-2.132 3.379a.994.994 0 000 .633C2.073 12.383 4.367 19 12 19zm0-14c-1.837 0-3.346.396-4.604.981L3.707 2.293 2.293 3.707l18 18 1.414-1.414-3.319-3.319c2.614-1.951 3.547-4.615 3.561-4.657a.994.994 0 000-.633C21.927 11.617 19.633 5 12 5zm4.972 10.558l-2.28-2.28c.19-.39.308-.819.308-1.278 0-1.641-1.359-3-3-3-.459 0-.888.118-1.277.309L8.915 7.501A9.26 9.26 0 0112 7c5.351 0 7.424 3.846 7.926 5-.302.692-1.166 2.342-2.954 3.558z" }) });
|
|
1852
2012
|
}
|
|
1853
|
-
function
|
|
2013
|
+
function bn(e) {
|
|
1854
2014
|
return /* @__PURE__ */ i.jsxs("svg", { viewBox: "0 0 1024 1024", fill: "currentColor", height: "1em", width: "1em", ...e, children: [
|
|
1855
2015
|
/* @__PURE__ */ i.jsx("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" }),
|
|
1856
2016
|
/* @__PURE__ */ i.jsx("path", { d: "M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" })
|
|
1857
2017
|
] });
|
|
1858
2018
|
}
|
|
1859
|
-
function
|
|
2019
|
+
function Ii(e) {
|
|
1860
2020
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { d: "M20 11V5c0-1.103-.897-2-2-2h-3a1 1 0 00-1-1H8a1 1 0 00-1 1H4c-1.103 0-2 .897-2 2v13c0 1.103.897 2 2 2h7c0 1.103.897 2 2 2h7c1.103 0 2-.897 2-2v-7c0-1.103-.897-2-2-2zm-9 2v5H4V5h3v2h8V5h3v6h-5c-1.103 0-2 .897-2 2zm2 7v-7h7l.001 7H13z" }) });
|
|
1861
2021
|
}
|
|
1862
|
-
function
|
|
2022
|
+
function _i(e) {
|
|
1863
2023
|
return /* @__PURE__ */ i.jsxs("svg", { viewBox: "0 0 512 512", fill: "currentColor", height: "1em", width: "1em", ...e, children: [
|
|
1864
2024
|
/* @__PURE__ */ i.jsx("path", { fill: "none", stroke: "currentColor", strokeMiterlimit: 10, strokeWidth: 32, d: "M256 80a176 176 0 10176 176A176 176 0 00256 80z" }),
|
|
1865
2025
|
/* @__PURE__ */ i.jsx(
|
|
@@ -1876,7 +2036,7 @@ function Ri(e) {
|
|
|
1876
2036
|
/* @__PURE__ */ i.jsx("path", { d: "M270 348 A20 20 0 0 1 250 368 A20 20 0 0 1 230 348 A20 20 0 0 1 270 348 z" })
|
|
1877
2037
|
] });
|
|
1878
2038
|
}
|
|
1879
|
-
function
|
|
2039
|
+
function Ti(e) {
|
|
1880
2040
|
return /* @__PURE__ */ i.jsxs("svg", { viewBox: "0 0 512 512", fill: "currentColor", height: "1em", width: "1em", ...e, children: [
|
|
1881
2041
|
/* @__PURE__ */ i.jsx(
|
|
1882
2042
|
"path",
|
|
@@ -1901,22 +2061,22 @@ function Ai(e) {
|
|
|
1901
2061
|
)
|
|
1902
2062
|
] });
|
|
1903
2063
|
}
|
|
1904
|
-
function
|
|
2064
|
+
function zi(e) {
|
|
1905
2065
|
return /* @__PURE__ */ i.jsx("svg", { viewBox: "0 0 1024 1024", fill: "currentColor", height: "1em", width: "1em", ...e, children: /* @__PURE__ */ i.jsx("path", { d: "M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z" }) });
|
|
1906
2066
|
}
|
|
1907
|
-
function
|
|
2067
|
+
function Pi(e) {
|
|
1908
2068
|
return /* @__PURE__ */ i.jsxs("svg", { viewBox: "0 0 24 24", fill: "currentColor", height: "1em", width: "1em", ...e, children: [
|
|
1909
2069
|
/* @__PURE__ */ i.jsx("path", { d: "M12 9a3.02 3.02 0 00-3 3c0 1.642 1.358 3 3 3 1.641 0 3-1.358 3-3 0-1.641-1.359-3-3-3z" }),
|
|
1910
2070
|
/* @__PURE__ */ i.jsx("path", { d: "M12 5c-7.633 0-9.927 6.617-9.948 6.684L1.946 12l.105.316C2.073 12.383 4.367 19 12 19s9.927-6.617 9.948-6.684l.106-.316-.105-.316C21.927 11.617 19.633 5 12 5zm0 12c-5.351 0-7.424-3.846-7.926-5C4.578 10.842 6.652 7 12 7c5.351 0 7.424 3.846 7.926 5-.504 1.158-2.578 5-7.926 5z" })
|
|
1911
2071
|
] });
|
|
1912
2072
|
}
|
|
1913
|
-
function
|
|
2073
|
+
function Mi(e) {
|
|
1914
2074
|
return /* @__PURE__ */ i.jsxs("svg", { fill: "currentColor", viewBox: "0 0 16 16", height: "1em", width: "1em", ...e, children: [
|
|
1915
2075
|
/* @__PURE__ */ i.jsx("path", { d: "M.5 9.9a.5.5 0 01.5.5v2.5a1 1 0 001 1h12a1 1 0 001-1v-2.5a.5.5 0 011 0v2.5a2 2 0 01-2 2H2a2 2 0 01-2-2v-2.5a.5.5 0 01.5-.5z" }),
|
|
1916
2076
|
/* @__PURE__ */ i.jsx("path", { d: "M7.646 1.146a.5.5 0 01.708 0l3 3a.5.5 0 01-.708.708L8.5 2.707V11.5a.5.5 0 01-1 0V2.707L5.354 4.854a.5.5 0 11-.708-.708l3-3z" })
|
|
1917
2077
|
] });
|
|
1918
2078
|
}
|
|
1919
|
-
function
|
|
2079
|
+
function xn(e) {
|
|
1920
2080
|
return /* @__PURE__ */ i.jsxs("svg", { viewBox: "0 0 24 24", fill: "currentColor", height: "1em", width: "1em", ...e, children: [
|
|
1921
2081
|
/* @__PURE__ */ i.jsx("path", { fill: "none", d: "M0 0h24v24H0z" }),
|
|
1922
2082
|
/* @__PURE__ */ i.jsx("path", { d: "M4 20v-6a8 8 0 1116 0v6h1v2H3v-2h1zm2 0h12v-6a6 6 0 10-12 0v6zm5-18h2v3h-2V2zm8.778 2.808l1.414 1.414-2.12 2.121-1.415-1.414 2.121-2.121zM2.808 6.222l1.414-1.414 2.121 2.12L4.93 8.344 2.808 6.222zM7 14a5 5 0 015-5v2a3 3 0 00-3 3H7z" })
|
|
@@ -1929,61 +2089,61 @@ const tt = ({ name: e }) => {
|
|
|
1929
2089
|
case I.ArrowUp:
|
|
1930
2090
|
return /* @__PURE__ */ i.jsx(nr, {});
|
|
1931
2091
|
case I.Back:
|
|
1932
|
-
return /* @__PURE__ */ i.jsx(
|
|
2092
|
+
return /* @__PURE__ */ i.jsx(vi, {});
|
|
1933
2093
|
case I.Cancel:
|
|
1934
|
-
return /* @__PURE__ */ i.jsx(
|
|
2094
|
+
return /* @__PURE__ */ i.jsx(yi, {});
|
|
1935
2095
|
case I.CheckboxChecked:
|
|
1936
|
-
return /* @__PURE__ */ i.jsx(Rt, {});
|
|
1937
|
-
case I.CheckboxUnchecked:
|
|
1938
2096
|
return /* @__PURE__ */ i.jsx(At, {});
|
|
2097
|
+
case I.CheckboxUnchecked:
|
|
2098
|
+
return /* @__PURE__ */ i.jsx(It, {});
|
|
1939
2099
|
case I.CheckMark:
|
|
1940
2100
|
return /* @__PURE__ */ i.jsx(or, {});
|
|
1941
2101
|
case I.ChevronDown:
|
|
1942
|
-
return /* @__PURE__ */ i.jsx(gi, {});
|
|
1943
|
-
case I.ChevronUp:
|
|
1944
2102
|
return /* @__PURE__ */ i.jsx(bi, {});
|
|
2103
|
+
case I.ChevronUp:
|
|
2104
|
+
return /* @__PURE__ */ i.jsx(wi, {});
|
|
1945
2105
|
case I.ChevronLeft:
|
|
1946
|
-
return /* @__PURE__ */ i.jsx(
|
|
2106
|
+
return /* @__PURE__ */ i.jsx(xi, {});
|
|
1947
2107
|
case I.ChevronRight:
|
|
1948
|
-
return /* @__PURE__ */ i.jsx(
|
|
2108
|
+
return /* @__PURE__ */ i.jsx($i, {});
|
|
1949
2109
|
case I.Clear:
|
|
1950
|
-
return /* @__PURE__ */ i.jsx(
|
|
2110
|
+
return /* @__PURE__ */ i.jsx(Si, {});
|
|
1951
2111
|
case I.Copy:
|
|
1952
|
-
return /* @__PURE__ */ i.jsx(
|
|
2112
|
+
return /* @__PURE__ */ i.jsx(Ci, {});
|
|
1953
2113
|
case I.Cut:
|
|
1954
|
-
return /* @__PURE__ */ i.jsx(
|
|
2114
|
+
return /* @__PURE__ */ i.jsx(ki, {});
|
|
1955
2115
|
case I.Delete:
|
|
1956
|
-
return /* @__PURE__ */ i.jsx(
|
|
2116
|
+
return /* @__PURE__ */ i.jsx(ji, {});
|
|
1957
2117
|
case I.Download:
|
|
1958
|
-
return /* @__PURE__ */ i.jsx(
|
|
2118
|
+
return /* @__PURE__ */ i.jsx(Ei, {});
|
|
1959
2119
|
case I.Error:
|
|
1960
|
-
return /* @__PURE__ */ i.jsx(
|
|
2120
|
+
return /* @__PURE__ */ i.jsx(vn, {});
|
|
1961
2121
|
case I.Forward:
|
|
1962
|
-
return /* @__PURE__ */ i.jsx(
|
|
2122
|
+
return /* @__PURE__ */ i.jsx(Ri, {});
|
|
1963
2123
|
case I.Help:
|
|
1964
|
-
return /* @__PURE__ */ i.jsx(
|
|
2124
|
+
return /* @__PURE__ */ i.jsx(yn, {});
|
|
1965
2125
|
case I.Hide:
|
|
1966
|
-
return /* @__PURE__ */ i.jsx(
|
|
2126
|
+
return /* @__PURE__ */ i.jsx(Ai, {});
|
|
1967
2127
|
case I.Info:
|
|
1968
|
-
return /* @__PURE__ */ i.jsx(
|
|
2128
|
+
return /* @__PURE__ */ i.jsx(bn, {});
|
|
1969
2129
|
case I.Paste:
|
|
1970
|
-
return /* @__PURE__ */ i.jsx(
|
|
2130
|
+
return /* @__PURE__ */ i.jsx(Ii, {});
|
|
1971
2131
|
case I.Question:
|
|
1972
|
-
return /* @__PURE__ */ i.jsx(
|
|
2132
|
+
return /* @__PURE__ */ i.jsx(_i, {});
|
|
1973
2133
|
case I.Save:
|
|
1974
|
-
return /* @__PURE__ */ i.jsx(
|
|
2134
|
+
return /* @__PURE__ */ i.jsx(zi, {});
|
|
1975
2135
|
case I.Show:
|
|
1976
|
-
return /* @__PURE__ */ i.jsx(
|
|
2136
|
+
return /* @__PURE__ */ i.jsx(Pi, {});
|
|
1977
2137
|
case I.Upload:
|
|
1978
|
-
return /* @__PURE__ */ i.jsx(
|
|
2138
|
+
return /* @__PURE__ */ i.jsx(Mi, {});
|
|
1979
2139
|
case I.Warning:
|
|
1980
|
-
return /* @__PURE__ */ i.jsx(
|
|
2140
|
+
return /* @__PURE__ */ i.jsx(xn, {});
|
|
1981
2141
|
case I.Remove:
|
|
1982
|
-
return /* @__PURE__ */ i.jsx(
|
|
2142
|
+
return /* @__PURE__ */ i.jsx(Ti, {});
|
|
1983
2143
|
default:
|
|
1984
2144
|
return null;
|
|
1985
2145
|
}
|
|
1986
|
-
},
|
|
2146
|
+
}, Oi = R.button`
|
|
1987
2147
|
background: transparent;
|
|
1988
2148
|
border: none;
|
|
1989
2149
|
display: flex;
|
|
@@ -2011,7 +2171,7 @@ const tt = ({ name: e }) => {
|
|
|
2011
2171
|
pointer-events: none;
|
|
2012
2172
|
opacity: 0.5;
|
|
2013
2173
|
}
|
|
2014
|
-
`,
|
|
2174
|
+
`, $t = ({ onClick: e, label: t, icon: r, disabled: n, theme: o }) => /* @__PURE__ */ i.jsx(Oi, { onClick: e, "aria-label": t, type: "button", disabled: n, $theme: o, children: /* @__PURE__ */ i.jsx(tt, { name: r }) }), Bi = R.label`
|
|
2015
2175
|
display: flex;
|
|
2016
2176
|
align-items: center;
|
|
2017
2177
|
font-size: ${(e) => e.$theme.fontSizeSmall};
|
|
@@ -2033,6 +2193,7 @@ const tt = ({ name: e }) => {
|
|
|
2033
2193
|
text-decoration: none;
|
|
2034
2194
|
cursor: pointer;
|
|
2035
2195
|
color: ${(e) => e.$theme.fontColorAccent};
|
|
2196
|
+
margin-left: ${(e) => e.$theme.gapSmall};
|
|
2036
2197
|
}
|
|
2037
2198
|
`, Ue = ({
|
|
2038
2199
|
label: e,
|
|
@@ -2045,167 +2206,23 @@ const tt = ({ name: e }) => {
|
|
|
2045
2206
|
style: d
|
|
2046
2207
|
}) => {
|
|
2047
2208
|
const l = !!o && s === "left", h = !!o && s === "right";
|
|
2048
|
-
return /* @__PURE__ */ i.jsxs(
|
|
2209
|
+
return /* @__PURE__ */ i.jsxs(Bi, { htmlFor: r, style: d, $theme: n, children: [
|
|
2049
2210
|
l && o,
|
|
2050
|
-
!c && /* @__PURE__ */ i.
|
|
2051
|
-
|
|
2211
|
+
!c && /* @__PURE__ */ i.jsxs("span", { children: [
|
|
2212
|
+
e,
|
|
2213
|
+
t && /* @__PURE__ */ i.jsx("abbr", { title: "required", children: "*" })
|
|
2214
|
+
] }),
|
|
2052
2215
|
h && o
|
|
2053
2216
|
] });
|
|
2054
2217
|
};
|
|
2055
|
-
function
|
|
2218
|
+
function Di(e) {
|
|
2056
2219
|
return ({ tooltip: t, visibleOn: r, ...n }) => t != null && t.length ? /* @__PURE__ */ i.jsx(Ts, { tooltipContent: t, visibleOn: r, children: /* @__PURE__ */ i.jsx(e, { ...n }) }) : /* @__PURE__ */ i.jsx(e, { ...n });
|
|
2057
2220
|
}
|
|
2058
|
-
const Ae = le.createContext({}),
|
|
2221
|
+
const Ae = le.createContext({}), Li = le.createContext({
|
|
2059
2222
|
mode: "light"
|
|
2060
|
-
})
|
|
2061
|
-
animation: fadeIn ease 400ms;
|
|
2062
|
-
-webkit-animation: fadeIn ease 400ms;
|
|
2063
|
-
-moz-animation: fadeIn ease 400ms;
|
|
2064
|
-
|
|
2065
|
-
@keyframes fadeIn {
|
|
2066
|
-
0% {
|
|
2067
|
-
opacity: 0;
|
|
2068
|
-
}
|
|
2069
|
-
100% {
|
|
2070
|
-
opacity: 1;
|
|
2071
|
-
}
|
|
2072
|
-
}
|
|
2073
|
-
|
|
2074
|
-
@-moz-keyframes fadeIn {
|
|
2075
|
-
0% {
|
|
2076
|
-
opacity: 0;
|
|
2077
|
-
}
|
|
2078
|
-
100% {
|
|
2079
|
-
opacity: 1;
|
|
2080
|
-
}
|
|
2081
|
-
}
|
|
2082
|
-
|
|
2083
|
-
@-webkit-keyframes fadeIn {
|
|
2084
|
-
0% {
|
|
2085
|
-
opacity: 0;
|
|
2086
|
-
}
|
|
2087
|
-
100% {
|
|
2088
|
-
opacity: 1;
|
|
2089
|
-
}
|
|
2090
|
-
}
|
|
2091
|
-
`, xn = `
|
|
2092
|
-
animation: fadeOut ease 400ms;
|
|
2093
|
-
-webkit-animation: fadeOut ease 400ms;
|
|
2094
|
-
-moz-animation: fadeOut ease 400ms;
|
|
2095
|
-
|
|
2096
|
-
@keyframes fadeOut {
|
|
2097
|
-
0% {
|
|
2098
|
-
opacity: 1;
|
|
2099
|
-
}
|
|
2100
|
-
100% {
|
|
2101
|
-
opacity: 0;
|
|
2102
|
-
}
|
|
2103
|
-
}
|
|
2104
|
-
|
|
2105
|
-
@-moz-keyframes fadeOut {
|
|
2106
|
-
0% {
|
|
2107
|
-
opacity: 1;
|
|
2108
|
-
}
|
|
2109
|
-
100% {
|
|
2110
|
-
opacity: 0;
|
|
2111
|
-
}
|
|
2112
|
-
}
|
|
2113
|
-
|
|
2114
|
-
@-webkit-keyframes fadeOut {
|
|
2115
|
-
0% {
|
|
2116
|
-
opacity: 1;
|
|
2117
|
-
}
|
|
2118
|
-
100% {
|
|
2119
|
-
opacity: 0;
|
|
2120
|
-
}
|
|
2121
|
-
}
|
|
2122
|
-
`, Bi = Object.freeze({
|
|
2123
|
-
/* Very small devices (phones, 600px and down) */
|
|
2124
|
-
/* @media only screen and (max-width: 600px) {...} */
|
|
2125
|
-
phones: "only screen and (max-width: 600px)",
|
|
2126
|
-
/* Small devices (portrait tablets and large phones, 600px and up) */
|
|
2127
|
-
/* @media only screen and (min-width: 600px) {...} */
|
|
2128
|
-
portraitTablets: "only screen and (min-width: 600px)",
|
|
2129
|
-
/* Medium devices (landscape tablets, 768px and up) */
|
|
2130
|
-
/* @media only screen and (min-width: 768px) {...} */
|
|
2131
|
-
landscapeTablets: "only screen and (min-width: 768px)",
|
|
2132
|
-
/* Large devices (laptops/desktops, 992px and up) */
|
|
2133
|
-
/* @media only screen and (min-width: 992px) {...} */
|
|
2134
|
-
laptops: "only screen and (min-width: 992px)",
|
|
2135
|
-
/* Extra large devices (large laptops and desktops, 1200px and up) */
|
|
2136
|
-
/* @media only screen and (min-width: 1200px) {...} */
|
|
2137
|
-
desktops: "only screen and (min-width: 1200px)"
|
|
2138
|
-
}), Di = {
|
|
2139
|
-
// Colors
|
|
2140
|
-
fontColorBase: "hsl(0, 0%, 24%)",
|
|
2141
|
-
fontColorLight: "hsl(0, 0%, 62%)",
|
|
2142
|
-
fontColorAccent: "hsl(345, 100%, 47%)",
|
|
2143
|
-
backgroundColorBase: "hsl(0, 0%, 100%)",
|
|
2144
|
-
backgroundColorLight: "hsl(0, 0%, 95%)",
|
|
2145
|
-
backgroundColorTransparent: "hsla(0, 0%, 0%, 0.3)",
|
|
2146
|
-
// Gradients
|
|
2147
|
-
gradientShadow: "linear-gradient(to left, hsl(340deg 100% 16%) 0%, hsl(340deg 100% 32%) 8%, hsl(340deg 100% 32%) 92%, hsl(340deg 100% 16%) 100%)",
|
|
2148
|
-
// Fonts
|
|
2149
|
-
fontFamilyCore: "Arial, Helvetica, sans-serif",
|
|
2150
|
-
fontFamilyMonospace: "'Courier New', Courier, monospace",
|
|
2151
|
-
fontSizeBase: "1.2rem",
|
|
2152
|
-
fontSizeSmall: "0.8rem",
|
|
2153
|
-
fontSizeHeader: "2rem",
|
|
2154
|
-
// Units
|
|
2155
|
-
gapSmall: "0.25rem",
|
|
2156
|
-
gapMedium: "0.6rem",
|
|
2157
|
-
gapBig: "1rem",
|
|
2158
|
-
iconSize: "1.2rem",
|
|
2159
|
-
blockBorderRadius: "0.25rem",
|
|
2160
|
-
// Shadows
|
|
2161
|
-
boxShadow: "hsla(0, 0%, 0%, 0.15) 2.4px 2.4px 3.2px",
|
|
2162
|
-
textShadow: "2.4px 2.4px 3.2px hsla(0, 0%, 0%, 0.3)",
|
|
2163
|
-
// Borders
|
|
2164
|
-
borderBase: "1px solid hsl(0, 0%, 84%)",
|
|
2165
|
-
borderLight: "1px solid hsl(0, 0%, 89%)",
|
|
2166
|
-
borderAccent: "1px solid hsl(345, 100%, 47%)",
|
|
2167
|
-
borderOutline: "1px solid hsl(0, 0%, 24%)",
|
|
2168
|
-
// Z-indexes
|
|
2169
|
-
zIndexBase: "1",
|
|
2170
|
-
zIndexPopup: "100",
|
|
2171
|
-
zIndexModal: "200"
|
|
2172
|
-
}, Li = {
|
|
2173
|
-
// Colors
|
|
2174
|
-
fontColorBase: "hsl(0, 0%, 100%)",
|
|
2175
|
-
fontColorLight: "hsl(0, 0%, 92%)",
|
|
2176
|
-
fontColorAccent: "hsl(16, 82%, 52%)",
|
|
2177
|
-
backgroundColorBase: "hsl(0, 0%, 17%)",
|
|
2178
|
-
backgroundColorLight: "hsl(0, 0%, 24%)",
|
|
2179
|
-
backgroundColorTransparent: "hsla(0, 0%, 92%, 0.3)",
|
|
2180
|
-
// Gradients
|
|
2181
|
-
gradientShadow: "linear-gradient(to left, hsl(16, 86%, 26%) 0%, hsl(16, 86%, 30%) 8%, hsl(16, 86%, 30%) 92%, hsl(16, 86%, 26%) 100%)",
|
|
2182
|
-
// Fonts
|
|
2183
|
-
fontFamilyCore: "Arial, Helvetica, sans-serif",
|
|
2184
|
-
fontFamilyMonospace: "'Courier New', Courier, monospace",
|
|
2185
|
-
fontSizeBase: "1.2rem",
|
|
2186
|
-
fontSizeSmall: "0.8rem",
|
|
2187
|
-
fontSizeHeader: "2rem",
|
|
2188
|
-
// Units
|
|
2189
|
-
gapSmall: "0.25rem",
|
|
2190
|
-
gapMedium: "0.6rem",
|
|
2191
|
-
gapBig: "1rem",
|
|
2192
|
-
iconSize: "1.2rem",
|
|
2193
|
-
blockBorderRadius: "0.25rem",
|
|
2194
|
-
// Shadows
|
|
2195
|
-
boxShadow: "hsla(0, 0%, 92%, 0.15) 2.4px 2.4px 3.2px",
|
|
2196
|
-
textShadow: "2.4px 2.4px 3.2px hsla(0, 0%, 92%, 0.3)",
|
|
2197
|
-
// Borders
|
|
2198
|
-
borderBase: "1px solid hsl(0, 0%, 11%)",
|
|
2199
|
-
borderLight: "1px solid hsl(0, 0%, 29%)",
|
|
2200
|
-
borderAccent: "1px solid hsl(16, 82%, 52%)",
|
|
2201
|
-
borderOutline: "1px solid hsl(0, 0%, 100%)",
|
|
2202
|
-
// Z-indexes
|
|
2203
|
-
zIndexBase: "1",
|
|
2204
|
-
zIndexPopup: "100",
|
|
2205
|
-
zIndexModal: "200"
|
|
2206
|
-
};
|
|
2223
|
+
});
|
|
2207
2224
|
function Ni(e, t) {
|
|
2208
|
-
const r = e === "dark" ?
|
|
2225
|
+
const r = e === "dark" ? mi : pi;
|
|
2209
2226
|
if (t)
|
|
2210
2227
|
for (const n in t) {
|
|
2211
2228
|
const o = n;
|
|
@@ -2247,7 +2264,7 @@ function $n({
|
|
|
2247
2264
|
}
|
|
2248
2265
|
}
|
|
2249
2266
|
const ee = () => {
|
|
2250
|
-
const { customTheme: e, mode: t } = xe(
|
|
2267
|
+
const { customTheme: e, mode: t } = xe(Li);
|
|
2251
2268
|
return Ni(t, e);
|
|
2252
2269
|
}, ir = ({ ref: e, onClickOutsideHandler: t, dependentRef: r }) => {
|
|
2253
2270
|
de(() => {
|
|
@@ -2303,7 +2320,7 @@ const _t = ({ ref: e, keyCode: t, onKeyPress: r }) => {
|
|
|
2303
2320
|
n(!1);
|
|
2304
2321
|
}, t);
|
|
2305
2322
|
}, [e]), r;
|
|
2306
|
-
},
|
|
2323
|
+
}, it = (e) => {
|
|
2307
2324
|
const { resetSignal: t } = xe(Ae);
|
|
2308
2325
|
de(() => {
|
|
2309
2326
|
t && e();
|
|
@@ -2530,7 +2547,7 @@ const Vi = ({ wrapperRef: e, tooltipRef: t, isOpened: r, spacing: n = 4 }) => {
|
|
|
2530
2547
|
default:
|
|
2531
2548
|
return null;
|
|
2532
2549
|
}
|
|
2533
|
-
},
|
|
2550
|
+
}, wt = Di(Ki), qi = R.div`
|
|
2534
2551
|
display: flex;
|
|
2535
2552
|
gap: ${(e) => e.$theme.gapMedium};
|
|
2536
2553
|
padding: ${(e) => e.$theme.gapMedium} 0;
|
|
@@ -2588,7 +2605,7 @@ function Ji({
|
|
|
2588
2605
|
}, h = nt(() => {
|
|
2589
2606
|
d(s), n == null || n({ name: e, value: s });
|
|
2590
2607
|
}, [e]);
|
|
2591
|
-
return
|
|
2608
|
+
return it(h), {
|
|
2592
2609
|
handleChange: l,
|
|
2593
2610
|
checked: c
|
|
2594
2611
|
};
|
|
@@ -2627,7 +2644,7 @@ const ha = ({
|
|
|
2627
2644
|
required: o,
|
|
2628
2645
|
inputId: g,
|
|
2629
2646
|
isTextHidden: n,
|
|
2630
|
-
icon: f ? /* @__PURE__ */ i.jsx(
|
|
2647
|
+
icon: f ? /* @__PURE__ */ i.jsx(At, {}) : /* @__PURE__ */ i.jsx(It, {}),
|
|
2631
2648
|
iconPosition: s,
|
|
2632
2649
|
theme: m
|
|
2633
2650
|
}
|
|
@@ -2790,7 +2807,7 @@ const ha = ({
|
|
|
2790
2807
|
$theme: r,
|
|
2791
2808
|
$selected: s,
|
|
2792
2809
|
children: [
|
|
2793
|
-
s ? /* @__PURE__ */ i.jsx(
|
|
2810
|
+
s ? /* @__PURE__ */ i.jsx(At, {}) : /* @__PURE__ */ i.jsx(It, {}),
|
|
2794
2811
|
/* @__PURE__ */ i.jsx("span", { children: o })
|
|
2795
2812
|
]
|
|
2796
2813
|
}
|
|
@@ -2834,7 +2851,7 @@ function os({
|
|
|
2834
2851
|
}, y = nt(() => {
|
|
2835
2852
|
s(!1), u(l), c == null || c({ name: e, value: Hr(l) });
|
|
2836
2853
|
}, [e]);
|
|
2837
|
-
return
|
|
2854
|
+
return it(y), {
|
|
2838
2855
|
handleClose: f,
|
|
2839
2856
|
handleToggle: g,
|
|
2840
2857
|
handleSelect: m,
|
|
@@ -2929,9 +2946,9 @@ function as({
|
|
|
2929
2946
|
}, A = () => {
|
|
2930
2947
|
b(y - c), n == null || n(y - c);
|
|
2931
2948
|
}, j = nt(() => {
|
|
2932
|
-
$(f), h == null || h({ name: e, value: f, valid: !0 });
|
|
2949
|
+
$(f), w(!0), h == null || h({ name: e, value: f, valid: !0 });
|
|
2933
2950
|
}, [e]);
|
|
2934
|
-
return
|
|
2951
|
+
return it(j), {
|
|
2935
2952
|
handleChange: k,
|
|
2936
2953
|
value: y,
|
|
2937
2954
|
valid: C,
|
|
@@ -2945,6 +2962,7 @@ const cs = R.div`
|
|
|
2945
2962
|
display: flex;
|
|
2946
2963
|
flex-direction: column;
|
|
2947
2964
|
gap: ${(e) => e.$theme.gapMedium};
|
|
2965
|
+
position: relative;
|
|
2948
2966
|
|
|
2949
2967
|
& > div:nth-child(2) {
|
|
2950
2968
|
display: flex;
|
|
@@ -3061,7 +3079,7 @@ const cs = R.div`
|
|
|
3061
3079
|
),
|
|
3062
3080
|
$ && /* @__PURE__ */ i.jsxs("span", { children: [
|
|
3063
3081
|
/* @__PURE__ */ i.jsx(
|
|
3064
|
-
|
|
3082
|
+
$t,
|
|
3065
3083
|
{
|
|
3066
3084
|
onClick: ue,
|
|
3067
3085
|
label: `Decrement value for ${t}`,
|
|
@@ -3071,7 +3089,7 @@ const cs = R.div`
|
|
|
3071
3089
|
}
|
|
3072
3090
|
),
|
|
3073
3091
|
/* @__PURE__ */ i.jsx(
|
|
3074
|
-
|
|
3092
|
+
$t,
|
|
3075
3093
|
{
|
|
3076
3094
|
onClick: q,
|
|
3077
3095
|
label: `Increment value for ${t}`,
|
|
@@ -3082,7 +3100,7 @@ const cs = R.div`
|
|
|
3082
3100
|
)
|
|
3083
3101
|
] })
|
|
3084
3102
|
] }),
|
|
3085
|
-
/* @__PURE__ */ i.jsx(
|
|
3103
|
+
/* @__PURE__ */ i.jsx(gn, { errorId: _, message: r, visible: !x, theme: A })
|
|
3086
3104
|
] });
|
|
3087
3105
|
}, ls = ({
|
|
3088
3106
|
opened: e,
|
|
@@ -3205,7 +3223,7 @@ function fs({
|
|
|
3205
3223
|
}, $ = nt(() => {
|
|
3206
3224
|
l(!1), u(c), o == null || o({ name: e, value: c == null ? void 0 : c.id });
|
|
3207
3225
|
}, [e]);
|
|
3208
|
-
return
|
|
3226
|
+
return it($), {
|
|
3209
3227
|
selected: h,
|
|
3210
3228
|
opened: d,
|
|
3211
3229
|
handleClear: y,
|
|
@@ -3297,7 +3315,7 @@ function gs({
|
|
|
3297
3315
|
}, [e]), b = () => {
|
|
3298
3316
|
y(!m);
|
|
3299
3317
|
};
|
|
3300
|
-
return
|
|
3318
|
+
return it(w), {
|
|
3301
3319
|
value: h,
|
|
3302
3320
|
valid: f,
|
|
3303
3321
|
passwordShown: m,
|
|
@@ -3310,6 +3328,7 @@ const vs = R.div`
|
|
|
3310
3328
|
display: flex;
|
|
3311
3329
|
flex-direction: column;
|
|
3312
3330
|
gap: ${(e) => e.$theme.gapMedium};
|
|
3331
|
+
position: relative;
|
|
3313
3332
|
|
|
3314
3333
|
& > div:nth-child(2) {
|
|
3315
3334
|
display: flex;
|
|
@@ -3419,7 +3438,7 @@ const vs = R.div`
|
|
|
3419
3438
|
),
|
|
3420
3439
|
/* @__PURE__ */ i.jsxs("span", { children: [
|
|
3421
3440
|
$ && /* @__PURE__ */ i.jsx(
|
|
3422
|
-
|
|
3441
|
+
$t,
|
|
3423
3442
|
{
|
|
3424
3443
|
onClick: x,
|
|
3425
3444
|
label: `Clear input for ${t}`,
|
|
@@ -3429,7 +3448,7 @@ const vs = R.div`
|
|
|
3429
3448
|
}
|
|
3430
3449
|
),
|
|
3431
3450
|
fe && /* @__PURE__ */ i.jsx(
|
|
3432
|
-
|
|
3451
|
+
$t,
|
|
3433
3452
|
{
|
|
3434
3453
|
onClick: q,
|
|
3435
3454
|
label: "Toggle password visibility",
|
|
@@ -3440,7 +3459,7 @@ const vs = R.div`
|
|
|
3440
3459
|
)
|
|
3441
3460
|
] })
|
|
3442
3461
|
] }),
|
|
3443
|
-
/* @__PURE__ */ i.jsx(
|
|
3462
|
+
/* @__PURE__ */ i.jsx(gn, { errorId: he, message: r, visible: !A, theme: W })
|
|
3444
3463
|
] });
|
|
3445
3464
|
}, ys = R.header`
|
|
3446
3465
|
display: flex;
|
|
@@ -3464,9 +3483,9 @@ const vs = R.div`
|
|
|
3464
3483
|
left: 50%;
|
|
3465
3484
|
transform: translateX(-50%);
|
|
3466
3485
|
z-index: ${(e) => e.$theme.zIndexPopup};
|
|
3467
|
-
${
|
|
3486
|
+
${ot}
|
|
3468
3487
|
|
|
3469
|
-
${(e) => e.$isClosing &&
|
|
3488
|
+
${(e) => e.$isClosing && mn}
|
|
3470
3489
|
`, xs = R.div`
|
|
3471
3490
|
display: flex;
|
|
3472
3491
|
flex-direction: column;
|
|
@@ -3502,15 +3521,15 @@ function ws(e, t) {
|
|
|
3502
3521
|
return /* @__PURE__ */ i.jsx(tt, { name: t });
|
|
3503
3522
|
switch (e) {
|
|
3504
3523
|
case Z.Info:
|
|
3505
|
-
return /* @__PURE__ */ i.jsx(yn, {});
|
|
3506
|
-
case Z.Warning:
|
|
3507
3524
|
return /* @__PURE__ */ i.jsx(bn, {});
|
|
3525
|
+
case Z.Warning:
|
|
3526
|
+
return /* @__PURE__ */ i.jsx(xn, {});
|
|
3508
3527
|
case Z.Error:
|
|
3509
|
-
return /* @__PURE__ */ i.jsx(
|
|
3528
|
+
return /* @__PURE__ */ i.jsx(vn, {});
|
|
3510
3529
|
case Z.Success:
|
|
3511
3530
|
return /* @__PURE__ */ i.jsx(or, {});
|
|
3512
3531
|
case Z.Help:
|
|
3513
|
-
return /* @__PURE__ */ i.jsx(
|
|
3532
|
+
return /* @__PURE__ */ i.jsx(yn, {});
|
|
3514
3533
|
default:
|
|
3515
3534
|
return null;
|
|
3516
3535
|
}
|
|
@@ -3522,7 +3541,7 @@ const Ss = ({ title: e, onClose: t, mode: r, icon: n, theme: o }) => {
|
|
|
3522
3541
|
c,
|
|
3523
3542
|
s
|
|
3524
3543
|
] }),
|
|
3525
|
-
/* @__PURE__ */ i.jsx(
|
|
3544
|
+
/* @__PURE__ */ i.jsx(wt, { icon: I.Cancel, view: be.Icon, label: "Close alert popup", onClick: t })
|
|
3526
3545
|
] });
|
|
3527
3546
|
}, va = ({
|
|
3528
3547
|
isOpened: e,
|
|
@@ -3551,9 +3570,9 @@ const Ss = ({ title: e, onClose: t, mode: r, icon: n, theme: o }) => {
|
|
|
3551
3570
|
left: 0;
|
|
3552
3571
|
border-top-left-radius: ${(e) => e.$theme.blockBorderRadius};
|
|
3553
3572
|
border-top-right-radius: ${(e) => e.$theme.blockBorderRadius};
|
|
3554
|
-
${
|
|
3573
|
+
${ot}
|
|
3555
3574
|
|
|
3556
|
-
@media ${
|
|
3575
|
+
@media ${fi.landscapeTablets} {
|
|
3557
3576
|
width: fit-content;
|
|
3558
3577
|
height: fit-content;
|
|
3559
3578
|
position: relative;
|
|
@@ -3578,9 +3597,9 @@ const Ss = ({ title: e, onClose: t, mode: r, icon: n, theme: o }) => {
|
|
|
3578
3597
|
justify-content: center;
|
|
3579
3598
|
align-items: center;
|
|
3580
3599
|
background-color: ${(e) => e.$theme.backgroundColorTransparent};
|
|
3581
|
-
${
|
|
3600
|
+
${ot}
|
|
3582
3601
|
|
|
3583
|
-
${(e) => e.$isClosing &&
|
|
3602
|
+
${(e) => e.$isClosing && mn}
|
|
3584
3603
|
`, js = R.header`
|
|
3585
3604
|
font-size: 1.6rem;
|
|
3586
3605
|
font-weight: bold;
|
|
@@ -3596,7 +3615,7 @@ const Ss = ({ title: e, onClose: t, mode: r, icon: n, theme: o }) => {
|
|
|
3596
3615
|
font-size: ${(e) => e.$theme.fontSizeBase};
|
|
3597
3616
|
`, Rs = ({ title: e, onClose: t, theme: r }) => /* @__PURE__ */ i.jsxs(js, { $theme: r, children: [
|
|
3598
3617
|
e,
|
|
3599
|
-
/* @__PURE__ */ i.jsx(
|
|
3618
|
+
/* @__PURE__ */ i.jsx(wt, { icon: I.Cancel, view: be.Icon, label: "Close modal window", onClick: t })
|
|
3600
3619
|
] }), As = ({ title: e, onClose: t, isOpened: r, children: n, theme: o, ...s }) => {
|
|
3601
3620
|
const c = Be(null);
|
|
3602
3621
|
return Hi({ modalRef: c, isOpened: r }), _t({ keyCode: "Escape", ref: c, onKeyPress: t }), /* @__PURE__ */ i.jsxs(Cs, { ref: c, role: "dialog", "aria-modal": "true", $theme: o, ...s, children: [
|
|
@@ -3637,7 +3656,8 @@ const Ss = ({ title: e, onClose: t, mode: r, icon: n, theme: o }) => {
|
|
|
3637
3656
|
box-shadow: ${(e) => e.$theme.boxShadow};
|
|
3638
3657
|
pointer-events: none;
|
|
3639
3658
|
white-space: nowrap;
|
|
3640
|
-
|
|
3659
|
+
|
|
3660
|
+
${ot}
|
|
3641
3661
|
`, Ts = ({
|
|
3642
3662
|
children: e,
|
|
3643
3663
|
tooltipContent: t,
|
|
@@ -3740,8 +3760,8 @@ const Bs = R.form`
|
|
|
3740
3760
|
return /* @__PURE__ */ i.jsx(Bs, { onSubmit: h, onReset: u, $columns: s, $theme: m, ...d, children: /* @__PURE__ */ i.jsxs(Ae.Provider, { value: { onChangeFormInput: l, initialValues: t, resetSignal: f }, children: [
|
|
3741
3761
|
e,
|
|
3742
3762
|
/* @__PURE__ */ i.jsxs(Ds, { $columns: s, children: [
|
|
3743
|
-
c && /* @__PURE__ */ i.jsx(
|
|
3744
|
-
/* @__PURE__ */ i.jsx(
|
|
3763
|
+
c && /* @__PURE__ */ i.jsx(wt, { type: "reset", text: "Reset", icon: I.Clear, view: be.Flat }),
|
|
3764
|
+
/* @__PURE__ */ i.jsx(wt, { type: "submit", text: "Submit", icon: I.Forward, extended: !c, disabled: !g })
|
|
3745
3765
|
] })
|
|
3746
3766
|
] }) });
|
|
3747
3767
|
}, Ls = R.table`
|
|
@@ -3863,7 +3883,7 @@ const Ks = ({ value: e, theme: t }) => /* @__PURE__ */ i.jsx(Rn, { $theme: t, ch
|
|
|
3863
3883
|
isTextHidden: !0,
|
|
3864
3884
|
iconPosition: "left",
|
|
3865
3885
|
theme: c,
|
|
3866
|
-
icon: s ? /* @__PURE__ */ i.jsx(
|
|
3886
|
+
icon: s ? /* @__PURE__ */ i.jsx(At, {}) : /* @__PURE__ */ i.jsx(It, {})
|
|
3867
3887
|
}
|
|
3868
3888
|
)
|
|
3869
3889
|
] });
|
|
@@ -4235,17 +4255,17 @@ const Ks = ({ value: e, theme: t }) => /* @__PURE__ */ i.jsx(Rn, { $theme: t, ch
|
|
|
4235
4255
|
export {
|
|
4236
4256
|
va as ChopLogicAlert,
|
|
4237
4257
|
Z as ChopLogicAlertMode,
|
|
4238
|
-
|
|
4258
|
+
wt as ChopLogicButton,
|
|
4239
4259
|
be as ChopLogicButtonView,
|
|
4240
4260
|
ha as ChopLogicCheckbox,
|
|
4241
4261
|
ya as ChopLogicDialog,
|
|
4242
|
-
|
|
4262
|
+
gn as ChopLogicErrorMessage,
|
|
4243
4263
|
ba as ChopLogicForm,
|
|
4244
4264
|
Ae as ChopLogicFormContext,
|
|
4245
4265
|
xa as ChopLogicGrid,
|
|
4246
4266
|
tt as ChopLogicIcon,
|
|
4247
4267
|
I as ChopLogicIconName,
|
|
4248
|
-
|
|
4268
|
+
$t as ChopLogicInputInnerButton,
|
|
4249
4269
|
Ue as ChopLogicLabel,
|
|
4250
4270
|
fa as ChopLogicMultiSelect,
|
|
4251
4271
|
pa as ChopLogicNumericInput,
|
|
@@ -4253,7 +4273,7 @@ export {
|
|
|
4253
4273
|
ma as ChopLogicSelect,
|
|
4254
4274
|
$a as ChopLogicTabs,
|
|
4255
4275
|
ga as ChopLogicTextInput,
|
|
4256
|
-
|
|
4276
|
+
Li as ChopLogicThemeContext,
|
|
4257
4277
|
Ts as ChopLogicTooltip,
|
|
4258
4278
|
ee as useChopLogicTheme,
|
|
4259
4279
|
ir as useClickOutside,
|
|
@@ -4262,7 +4282,7 @@ export {
|
|
|
4262
4282
|
_t as useKeyPress,
|
|
4263
4283
|
Hi as useModalFocusTrap,
|
|
4264
4284
|
wn as useMount,
|
|
4265
|
-
|
|
4285
|
+
it as useResetFormInput,
|
|
4266
4286
|
Vi as useTooltipPosition,
|
|
4267
4287
|
Wi as useWindowDimensions
|
|
4268
4288
|
};
|