@tracktor/design-system 3.1.3 → 3.1.4
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/CHANGELOG.md +1 -1
- package/dist/main.cjs +12 -12
- package/dist/main.js +117 -117
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -48,11 +48,11 @@ function xn() {
|
|
|
48
48
|
_1 = 1;
|
|
49
49
|
var e = Q1, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
50
50
|
function l(d, c, f) {
|
|
51
|
-
var g, C = {},
|
|
52
|
-
f !== void 0 && (
|
|
51
|
+
var g, C = {}, y = null, h = null;
|
|
52
|
+
f !== void 0 && (y = "" + f), c.key !== void 0 && (y = "" + c.key), c.ref !== void 0 && (h = c.ref);
|
|
53
53
|
for (g in c) i.call(c, g) && !o.hasOwnProperty(g) && (C[g] = c[g]);
|
|
54
54
|
if (d && d.defaultProps) for (g in c = d.defaultProps, c) C[g] === void 0 && (C[g] = c[g]);
|
|
55
|
-
return { $$typeof: r, type: d, key:
|
|
55
|
+
return { $$typeof: r, type: d, key: y, ref: h, props: C, _owner: a.current };
|
|
56
56
|
}
|
|
57
57
|
return qe.Fragment = t, qe.jsx = l, qe.jsxs = l, qe;
|
|
58
58
|
}
|
|
@@ -69,14 +69,14 @@ var Je = {};
|
|
|
69
69
|
var F1;
|
|
70
70
|
function Cn() {
|
|
71
71
|
return F1 || (F1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
72
|
-
var e = Q1, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"),
|
|
72
|
+
var e = Q1, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), M = Symbol.iterator, b = "@@iterator";
|
|
73
73
|
function u(s) {
|
|
74
74
|
if (s === null || typeof s != "object")
|
|
75
75
|
return null;
|
|
76
76
|
var x = M && s[M] || s[b];
|
|
77
77
|
return typeof x == "function" ? x : null;
|
|
78
78
|
}
|
|
79
|
-
var
|
|
79
|
+
var v = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
80
80
|
function S(s) {
|
|
81
81
|
{
|
|
82
82
|
for (var x = arguments.length, m = new Array(x > 1 ? x - 1 : 0), F = 1; F < x; F++)
|
|
@@ -86,7 +86,7 @@ function Cn() {
|
|
|
86
86
|
}
|
|
87
87
|
function w(s, x, m) {
|
|
88
88
|
{
|
|
89
|
-
var F =
|
|
89
|
+
var F = v.ReactDebugCurrentFrame, Z = F.getStackAddendum();
|
|
90
90
|
Z !== "" && (x += "%s", m = m.concat([Z]));
|
|
91
91
|
var U = m.map(function(V) {
|
|
92
92
|
return String(V);
|
|
@@ -97,7 +97,7 @@ function Cn() {
|
|
|
97
97
|
var R = !1, p = !1, _ = !1, k = !1, j = !1, I;
|
|
98
98
|
I = Symbol.for("react.module.reference");
|
|
99
99
|
function Q(s) {
|
|
100
|
-
return !!(typeof s == "string" || typeof s == "function" || s === i || s === o || j || s === a || s === f || s === g || k || s === h || R || p || _ || typeof s == "object" && s !== null && (s.$$typeof ===
|
|
100
|
+
return !!(typeof s == "string" || typeof s == "function" || s === i || s === o || j || s === a || s === f || s === g || k || s === h || R || p || _ || typeof s == "object" && s !== null && (s.$$typeof === y || s.$$typeof === C || s.$$typeof === l || s.$$typeof === d || s.$$typeof === c || // This needs to include all possible module reference object
|
|
101
101
|
// types supported by any Flight configuration anywhere since
|
|
102
102
|
// we don't know which Flight build this will end up being used
|
|
103
103
|
// with.
|
|
@@ -147,7 +147,7 @@ function Cn() {
|
|
|
147
147
|
case C:
|
|
148
148
|
var F = s.displayName || null;
|
|
149
149
|
return F !== null ? F : P(s.type) || "Memo";
|
|
150
|
-
case
|
|
150
|
+
case y: {
|
|
151
151
|
var Z = s, U = Z._payload, V = Z._init;
|
|
152
152
|
try {
|
|
153
153
|
return P(V(U));
|
|
@@ -220,7 +220,7 @@ function Cn() {
|
|
|
220
220
|
oe < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
var We =
|
|
223
|
+
var We = v.ReactCurrentDispatcher, je;
|
|
224
224
|
function He(s, x, m) {
|
|
225
225
|
{
|
|
226
226
|
if (je === void 0)
|
|
@@ -336,7 +336,7 @@ function Cn() {
|
|
|
336
336
|
return Ue(s.render);
|
|
337
337
|
case C:
|
|
338
338
|
return Fe(s.type, x, m);
|
|
339
|
-
case
|
|
339
|
+
case y: {
|
|
340
340
|
var F = s, Z = F._payload, U = F._init;
|
|
341
341
|
try {
|
|
342
342
|
return Fe(U(Z), x, m);
|
|
@@ -346,7 +346,7 @@ function Cn() {
|
|
|
346
346
|
}
|
|
347
347
|
return "";
|
|
348
348
|
}
|
|
349
|
-
var Ge = Object.prototype.hasOwnProperty, h1 = {}, g1 =
|
|
349
|
+
var Ge = Object.prototype.hasOwnProperty, h1 = {}, g1 = v.ReactDebugCurrentFrame;
|
|
350
350
|
function dr(s) {
|
|
351
351
|
if (s) {
|
|
352
352
|
var x = s._owner, m = Fe(s.type, s._source, x ? x.type : null);
|
|
@@ -397,7 +397,7 @@ function Cn() {
|
|
|
397
397
|
if (Tt(s))
|
|
398
398
|
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(s)), x1(s);
|
|
399
399
|
}
|
|
400
|
-
var Xe =
|
|
400
|
+
var Xe = v.ReactCurrentOwner, kt = {
|
|
401
401
|
key: !0,
|
|
402
402
|
ref: !0,
|
|
403
403
|
__self: !0,
|
|
@@ -495,7 +495,7 @@ function Cn() {
|
|
|
495
495
|
return Lt(s, O, ce, Z, F, Xe.current, V);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
var $r =
|
|
498
|
+
var $r = v.ReactCurrentOwner, v1 = v.ReactDebugCurrentFrame;
|
|
499
499
|
function Ve(s) {
|
|
500
500
|
if (s) {
|
|
501
501
|
var x = s._owner, m = Fe(s.type, s._source, x ? x.type : null);
|
|
@@ -845,11 +845,11 @@ function On(e) {
|
|
|
845
845
|
return st(xr("", null, null, null, [""], e = ot(e), 0, [0], e));
|
|
846
846
|
}
|
|
847
847
|
function xr(e, r, t, i, a, o, l, d, c) {
|
|
848
|
-
for (var f = 0, g = 0, C = l,
|
|
848
|
+
for (var f = 0, g = 0, C = l, y = 0, h = 0, M = 0, b = 1, u = 1, v = 1, S = 0, w = "", R = a, p = o, _ = i, k = w; u; )
|
|
849
849
|
switch (M = S, S = he()) {
|
|
850
850
|
case 40:
|
|
851
851
|
if (M != 108 && ie(k, C - 1) == 58) {
|
|
852
|
-
Xr(k += D(gr(S), "&", "&\f"), "&\f") != -1 && (
|
|
852
|
+
Xr(k += D(gr(S), "&", "&\f"), "&\f") != -1 && (v = -1);
|
|
853
853
|
break;
|
|
854
854
|
}
|
|
855
855
|
case 34:
|
|
@@ -877,7 +877,7 @@ function xr(e, r, t, i, a, o, l, d, c) {
|
|
|
877
877
|
}
|
|
878
878
|
break;
|
|
879
879
|
case 123 * b:
|
|
880
|
-
d[f++] = me(k) *
|
|
880
|
+
d[f++] = me(k) * v;
|
|
881
881
|
case 125 * b:
|
|
882
882
|
case 59:
|
|
883
883
|
case 0:
|
|
@@ -886,7 +886,7 @@ function xr(e, r, t, i, a, o, l, d, c) {
|
|
|
886
886
|
case 125:
|
|
887
887
|
u = 0;
|
|
888
888
|
case 59 + g:
|
|
889
|
-
|
|
889
|
+
v == -1 && (k = D(k, /\f/g, "")), h > 0 && me(k) - C && pr(h > 32 ? H1(k + ";", i, t, C - 1) : H1(D(k, " ", "") + ";", i, t, C - 2), c);
|
|
890
890
|
break;
|
|
891
891
|
case 59:
|
|
892
892
|
k += ";";
|
|
@@ -895,7 +895,7 @@ function xr(e, r, t, i, a, o, l, d, c) {
|
|
|
895
895
|
if (g === 0)
|
|
896
896
|
xr(k, r, _, _, R, o, C, d, p);
|
|
897
897
|
else
|
|
898
|
-
switch (
|
|
898
|
+
switch (y === 99 && ie(k, 3) === 110 ? 100 : y) {
|
|
899
899
|
case 100:
|
|
900
900
|
case 108:
|
|
901
901
|
case 109:
|
|
@@ -906,7 +906,7 @@ function xr(e, r, t, i, a, o, l, d, c) {
|
|
|
906
906
|
xr(k, _, _, _, [""], p, 0, d, p);
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
|
-
f = g = h = 0, b =
|
|
909
|
+
f = g = h = 0, b = v = 1, w = k = "", C = l;
|
|
910
910
|
break;
|
|
911
911
|
case 58:
|
|
912
912
|
C = 1 + me(k), h = M;
|
|
@@ -919,13 +919,13 @@ function xr(e, r, t, i, a, o, l, d, c) {
|
|
|
919
919
|
}
|
|
920
920
|
switch (k += Ar(S), S * b) {
|
|
921
921
|
case 38:
|
|
922
|
-
|
|
922
|
+
v = g > 0 ? 1 : (k += "\f", -1);
|
|
923
923
|
break;
|
|
924
924
|
case 44:
|
|
925
|
-
d[f++] = (me(k) - 1) *
|
|
925
|
+
d[f++] = (me(k) - 1) * v, v = 1;
|
|
926
926
|
break;
|
|
927
927
|
case 64:
|
|
928
|
-
Ee() === 45 && (k += gr(he())),
|
|
928
|
+
Ee() === 45 && (k += gr(he())), y = Ee(), g = C = me(w = k += Ln(hr())), S++;
|
|
929
929
|
break;
|
|
930
930
|
case 45:
|
|
931
931
|
M === 45 && me(k) == 2 && (b = 0);
|
|
@@ -934,9 +934,9 @@ function xr(e, r, t, i, a, o, l, d, c) {
|
|
|
934
934
|
return o;
|
|
935
935
|
}
|
|
936
936
|
function I1(e, r, t, i, a, o, l, d, c, f, g) {
|
|
937
|
-
for (var C = a - 1,
|
|
938
|
-
for (var
|
|
939
|
-
(w = it(b > 0 ? v
|
|
937
|
+
for (var C = a - 1, y = a === 0 ? o : [""], h = d1(y), M = 0, b = 0, u = 0; M < i; ++M)
|
|
938
|
+
for (var v = 0, S = or(e, C + 1, C = Mn(b = l[M])), w = e; v < h; ++v)
|
|
939
|
+
(w = it(b > 0 ? y[v] + " " + S : D(S, /&\f/g, y[v]))) && (c[u++] = w);
|
|
940
940
|
return Fr(e, r, t, a === 0 ? l1 : d, c, f, g);
|
|
941
941
|
}
|
|
942
942
|
function Vn(e, r, t) {
|
|
@@ -1187,8 +1187,8 @@ var Yn = function(r, t, i, a) {
|
|
|
1187
1187
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1188
1188
|
document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
|
|
1189
1189
|
function(b) {
|
|
1190
|
-
for (var u = b.getAttribute("data-emotion").split(" "),
|
|
1191
|
-
o[u[
|
|
1190
|
+
for (var u = b.getAttribute("data-emotion").split(" "), v = 1; v < u.length; v++)
|
|
1191
|
+
o[u[v]] = !0;
|
|
1192
1192
|
d.push(b);
|
|
1193
1193
|
}
|
|
1194
1194
|
);
|
|
@@ -1196,11 +1196,11 @@ var Yn = function(r, t, i, a) {
|
|
|
1196
1196
|
{
|
|
1197
1197
|
var g, C = [Pn, Dn(function(b) {
|
|
1198
1198
|
g.insert(b);
|
|
1199
|
-
})],
|
|
1200
|
-
return Be(On(u),
|
|
1199
|
+
})], y = $n(f.concat(a, C)), h = function(u) {
|
|
1200
|
+
return Be(On(u), y);
|
|
1201
1201
|
};
|
|
1202
|
-
c = function(u,
|
|
1203
|
-
g = S, h(u ? u + "{" +
|
|
1202
|
+
c = function(u, v, S, w) {
|
|
1203
|
+
g = S, h(u ? u + "{" + v.styles + "}" : v.styles), w && (M.inserted[v.name] = !0);
|
|
1204
1204
|
};
|
|
1205
1205
|
}
|
|
1206
1206
|
var M = {
|
|
@@ -1232,7 +1232,7 @@ var O1;
|
|
|
1232
1232
|
function Xn() {
|
|
1233
1233
|
if (O1) return N;
|
|
1234
1234
|
O1 = 1;
|
|
1235
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113,
|
|
1235
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1236
1236
|
function w(p) {
|
|
1237
1237
|
if (typeof p == "object" && p !== null) {
|
|
1238
1238
|
var _ = p.$$typeof;
|
|
@@ -1291,7 +1291,7 @@ function Xn() {
|
|
|
1291
1291
|
}, N.isSuspense = function(p) {
|
|
1292
1292
|
return w(p) === C;
|
|
1293
1293
|
}, N.isValidElementType = function(p) {
|
|
1294
|
-
return typeof p == "string" || typeof p == "function" || p === i || p === f || p === o || p === a || p === C || p ===
|
|
1294
|
+
return typeof p == "string" || typeof p == "function" || p === i || p === f || p === o || p === a || p === C || p === y || typeof p == "object" && p !== null && (p.$$typeof === M || p.$$typeof === h || p.$$typeof === l || p.$$typeof === d || p.$$typeof === g || p.$$typeof === u || p.$$typeof === v || p.$$typeof === S || p.$$typeof === b);
|
|
1295
1295
|
}, N.typeOf = w, N;
|
|
1296
1296
|
}
|
|
1297
1297
|
var W = {};
|
|
@@ -1306,10 +1306,10 @@ var W = {};
|
|
|
1306
1306
|
var V1;
|
|
1307
1307
|
function qn() {
|
|
1308
1308
|
return V1 || (V1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1309
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113,
|
|
1309
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1310
1310
|
function w(T) {
|
|
1311
1311
|
return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1312
|
-
T === i || T === f || T === o || T === a || T === C || T ===
|
|
1312
|
+
T === i || T === f || T === o || T === a || T === C || T === y || typeof T == "object" && T !== null && (T.$$typeof === M || T.$$typeof === h || T.$$typeof === l || T.$$typeof === d || T.$$typeof === g || T.$$typeof === u || T.$$typeof === v || T.$$typeof === S || T.$$typeof === b);
|
|
1313
1313
|
}
|
|
1314
1314
|
function R(T) {
|
|
1315
1315
|
if (typeof T == "object" && T !== null) {
|
|
@@ -1729,11 +1729,11 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
1729
1729
|
getTextColor: r
|
|
1730
1730
|
};
|
|
1731
1731
|
}, Ri = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: o, mode: l, sx: d, variant: c = "default", component: f = "img" }, g) => {
|
|
1732
|
-
const [C,
|
|
1732
|
+
const [C, y] = ae(""), { palette: h } = ge(), { getTextColor: M, getImageModule: b, getSize: u, getShapeColor: v, getShapeBackgroundColor: S } = Si(), { height: w, width: R } = u({ height: i, variant: c, width: a, withoutText: o }), p = M(t), _ = v(e), k = S(r);
|
|
1733
1733
|
if (Rr(() => {
|
|
1734
1734
|
f !== "svg" && (async () => {
|
|
1735
1735
|
const j = await b(c, l || h.mode, o);
|
|
1736
|
-
|
|
1736
|
+
y(j.default);
|
|
1737
1737
|
})();
|
|
1738
1738
|
}, [f, b, l, h.mode, c, o]), f === "img")
|
|
1739
1739
|
return C ? /* @__PURE__ */ n(
|
|
@@ -2155,7 +2155,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2155
2155
|
n1,
|
|
2156
2156
|
{
|
|
2157
2157
|
onChange: (C) => {
|
|
2158
|
-
const { target:
|
|
2158
|
+
const { target: y } = C, h = +y.value;
|
|
2159
2159
|
h <= a && h >= i && (t == null || t(h));
|
|
2160
2160
|
},
|
|
2161
2161
|
autoComplete: "off",
|
|
@@ -2279,8 +2279,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2279
2279
|
NavLink: f,
|
|
2280
2280
|
Footer: g,
|
|
2281
2281
|
Search: C = r.Logo,
|
|
2282
|
-
Logo:
|
|
2283
|
-
} = Te(Ne), { palette: h } = ge(), M = h.mode === "dark" ? h.background.default : h.primary.black, b = a && l ? "none" : `solid 1px ${h.divider}`,
|
|
2282
|
+
Logo: y = r.Logo
|
|
2283
|
+
} = Te(Ne), { palette: h } = ge(), M = h.mode === "dark" ? h.background.default : h.primary.black, b = a && l ? "none" : `solid 1px ${h.divider}`, v = t ? !(!a && !o) : !0;
|
|
2284
2284
|
return /* @__PURE__ */ E(
|
|
2285
2285
|
L,
|
|
2286
2286
|
{
|
|
@@ -2292,7 +2292,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2292
2292
|
},
|
|
2293
2293
|
component: "aside",
|
|
2294
2294
|
children: [
|
|
2295
|
-
|
|
2295
|
+
y && /* @__PURE__ */ E(
|
|
2296
2296
|
B,
|
|
2297
2297
|
{
|
|
2298
2298
|
sx: {
|
|
@@ -2316,14 +2316,14 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2316
2316
|
}
|
|
2317
2317
|
}
|
|
2318
2318
|
},
|
|
2319
|
-
children:
|
|
2319
|
+
children: y
|
|
2320
2320
|
}
|
|
2321
2321
|
),
|
|
2322
2322
|
a && /* @__PURE__ */ n(Ae, { onClick: i, children: /* @__PURE__ */ n(p1, { color: h.getContrastText(M) }) })
|
|
2323
2323
|
]
|
|
2324
2324
|
}
|
|
2325
2325
|
),
|
|
2326
|
-
C &&
|
|
2326
|
+
C && v && /* @__PURE__ */ n(L, { p: 2, children: C }),
|
|
2327
2327
|
/* @__PURE__ */ n(L, { flex: 1, children: e }),
|
|
2328
2328
|
c && /* @__PURE__ */ n(L, { sx: Qe.bottomLink, children: /* @__PURE__ */ n(u1, { component: f, ...c, children: /* @__PURE__ */ E(B, { alignItems: "center", justifyContent: "center", spacing: 1, direction: "row", children: [
|
|
2329
2329
|
(c == null ? void 0 : c.icon) && /* @__PURE__ */ n(L, { component: "span", display: "flex", children: c == null ? void 0 : c.icon }),
|
|
@@ -2376,19 +2376,19 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2376
2376
|
mt: 3
|
|
2377
2377
|
}
|
|
2378
2378
|
}, Z1 = ({ items: e, ...r }) => {
|
|
2379
|
-
const { NavLink: t = r.NavLink } = Te(Ne);
|
|
2380
|
-
return /* @__PURE__ */ n(L, { px: 2, component: "nav", children: /* @__PURE__ */ n(yr, { sx: { ...Fi.list }, children: e == null ? void 0 : e.filter((
|
|
2381
|
-
if (Tr(
|
|
2382
|
-
return
|
|
2383
|
-
if (
|
|
2384
|
-
const { count:
|
|
2385
|
-
return /* @__PURE__ */ n(_e, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(u1, { url:
|
|
2386
|
-
|
|
2379
|
+
const { NavLink: t = r.NavLink, isMobile: i } = Te(Ne);
|
|
2380
|
+
return /* @__PURE__ */ n(L, { px: 2, component: "nav", children: /* @__PURE__ */ n(yr, { sx: { ...Fi.list }, children: e == null ? void 0 : e.filter((a) => !(a && typeof a == "object" && "hideOnMobile" in a && i && a.hideOnMobile)).map((a, o) => {
|
|
2381
|
+
if (Tr(a))
|
|
2382
|
+
return a;
|
|
2383
|
+
if (a && typeof a == "object" && "label" in a) {
|
|
2384
|
+
const { count: l, url: d, label: c, icon: f, active: g, disabled: C } = a, y = `${d}-${c}-${o}`;
|
|
2385
|
+
return /* @__PURE__ */ n(_e, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(u1, { url: d, component: t, active: g, disabled: C, children: /* @__PURE__ */ E(B, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
|
|
2386
|
+
f && /* @__PURE__ */ n(L, { component: "span", display: "flex", alignItems: "center", children: f }),
|
|
2387
2387
|
/* @__PURE__ */ E(B, { direction: "row", justifyContent: "space-between", flex: 1, children: [
|
|
2388
|
-
|
|
2389
|
-
|
|
2388
|
+
c,
|
|
2389
|
+
l && /* @__PURE__ */ n(nr, { color: "warning", size: "small", label: l, variant: "rounded" })
|
|
2390
2390
|
] })
|
|
2391
|
-
] }) }) },
|
|
2391
|
+
] }) }) }, y);
|
|
2392
2392
|
}
|
|
2393
2393
|
return null;
|
|
2394
2394
|
}) }) });
|
|
@@ -2419,9 +2419,9 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2419
2419
|
bottomLink: f,
|
|
2420
2420
|
sideBarWidth: g = 260
|
|
2421
2421
|
}) => {
|
|
2422
|
-
const { breakpoints: C } = ge(),
|
|
2422
|
+
const { breakpoints: C } = ge(), y = ir(C.down("sm")), h = ir(C.between("sm", "md")), [M, b] = ae(Ct.isDrawerOpen), u = de(() => {
|
|
2423
2423
|
b(!1);
|
|
2424
|
-
}, []),
|
|
2424
|
+
}, []), v = de(() => {
|
|
2425
2425
|
b(!0);
|
|
2426
2426
|
}, []), S = kr(
|
|
2427
2427
|
() => ({
|
|
@@ -2433,12 +2433,12 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2433
2433
|
Footer: a,
|
|
2434
2434
|
hideSearchDesktop: c,
|
|
2435
2435
|
isDrawerOpen: M,
|
|
2436
|
-
isMobile:
|
|
2436
|
+
isMobile: y,
|
|
2437
2437
|
isTablet: h,
|
|
2438
2438
|
items: o,
|
|
2439
2439
|
Logo: i,
|
|
2440
2440
|
NavLink: r,
|
|
2441
|
-
openDrawerMenu:
|
|
2441
|
+
openDrawerMenu: v,
|
|
2442
2442
|
Search: t,
|
|
2443
2443
|
sideBarWidth: g
|
|
2444
2444
|
}),
|
|
@@ -2446,10 +2446,10 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2446
2446
|
u,
|
|
2447
2447
|
d,
|
|
2448
2448
|
M,
|
|
2449
|
-
|
|
2449
|
+
y,
|
|
2450
2450
|
h,
|
|
2451
2451
|
o,
|
|
2452
|
-
|
|
2452
|
+
v,
|
|
2453
2453
|
g,
|
|
2454
2454
|
i,
|
|
2455
2455
|
r,
|
|
@@ -2568,7 +2568,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2568
2568
|
variant: f,
|
|
2569
2569
|
startIcon: g,
|
|
2570
2570
|
endIcon: C,
|
|
2571
|
-
...
|
|
2571
|
+
...y
|
|
2572
2572
|
} = e;
|
|
2573
2573
|
return /* @__PURE__ */ n(
|
|
2574
2574
|
a1,
|
|
@@ -2580,7 +2580,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2580
2580
|
disableRipple: a || f === "link",
|
|
2581
2581
|
startIcon: o && g ? /* @__PURE__ */ n(Mr, { position: "relative", size: c }) : g,
|
|
2582
2582
|
endIcon: o && C ? /* @__PURE__ */ n(Mr, { position: "relative", size: c }) : C,
|
|
2583
|
-
...
|
|
2583
|
+
...y,
|
|
2584
2584
|
children: /* @__PURE__ */ n(
|
|
2585
2585
|
Zi,
|
|
2586
2586
|
{
|
|
@@ -2677,8 +2677,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2677
2677
|
const { w: i, h: a } = { h: Number(r), w: Number(e) };
|
|
2678
2678
|
return i < 25 || a < 25 ? { borderRadius: `${t.borderRadiusS}px`, padding: 0.5 } : i < 50 || a < 50 ? { borderRadius: `${t.borderRadius}px`, padding: 1 } : { borderRadius: `${t.borderRadiusL}px`, padding: 1.5 };
|
|
2679
2679
|
}, W1 = ({ width: e, height: r, sx: t }) => /* @__PURE__ */ n(fe, { variant: "rounded", width: e, height: r, sx: t }), La = ({ src: e, isLoading: r, sx: t, width: i = 64, height: a = 64, alt: o = "Article" }) => {
|
|
2680
|
-
const [l, d] = ae(), [c, f] = ae(), { shape: g } = ge(), { borderRadius: C, padding:
|
|
2681
|
-
f(void 0), d(
|
|
2680
|
+
const [l, d] = ae(), [c, f] = ae(), { shape: g } = ge(), { borderRadius: C, padding: y } = ji(i, a, g), h = { borderRadius: C, flexShrink: 0 }, M = e && !l && !c, b = !e || c && !l || c && l, u = (v) => {
|
|
2681
|
+
f(void 0), d(v);
|
|
2682
2682
|
};
|
|
2683
2683
|
return r ? /* @__PURE__ */ n(W1, { width: i, height: a, sx: h }) : /* @__PURE__ */ E(be, { children: [
|
|
2684
2684
|
M && /* @__PURE__ */ n(W1, { width: i, height: a, sx: h }),
|
|
@@ -2690,8 +2690,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2690
2690
|
width: i,
|
|
2691
2691
|
height: a,
|
|
2692
2692
|
sx: {
|
|
2693
|
-
background: ({ palette:
|
|
2694
|
-
padding:
|
|
2693
|
+
background: ({ palette: v }) => v.background.paper,
|
|
2694
|
+
padding: y,
|
|
2695
2695
|
...h,
|
|
2696
2696
|
...t
|
|
2697
2697
|
},
|
|
@@ -2787,15 +2787,15 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2787
2787
|
sxLightbox: f,
|
|
2788
2788
|
disableLightbox: g,
|
|
2789
2789
|
disableThumb: C,
|
|
2790
|
-
open:
|
|
2790
|
+
open: y,
|
|
2791
2791
|
onClose: h,
|
|
2792
2792
|
onClickThumb: M,
|
|
2793
2793
|
variant: b
|
|
2794
2794
|
}) => {
|
|
2795
|
-
const [u,
|
|
2796
|
-
|
|
2795
|
+
const [u, v] = ae(!1), [S, w] = ae(!1), R = e == null ? void 0 : e.toLowerCase(), p = !(R != null && R.endsWith(".pdf")) && !(R != null && R.startsWith("blob:")), _ = R == null ? void 0 : R.endsWith(".pdf"), k = wr(null), j = S ? Yi : r || e, I = g ? 1 : 0.8, Q = () => {
|
|
2796
|
+
v((P) => !P);
|
|
2797
2797
|
}, X = () => {
|
|
2798
|
-
|
|
2798
|
+
v(!1), h == null || h();
|
|
2799
2799
|
}, Y = de(() => {
|
|
2800
2800
|
w(!0);
|
|
2801
2801
|
}, []);
|
|
@@ -2838,7 +2838,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2838
2838
|
)
|
|
2839
2839
|
}
|
|
2840
2840
|
),
|
|
2841
|
-
!g && e && /* @__PURE__ */ n(bt, { open:
|
|
2841
|
+
!g && e && /* @__PURE__ */ n(bt, { open: y !== void 0 ? y : u, onClose: X, src: e, title: t, children: /* @__PURE__ */ n(
|
|
2842
2842
|
L,
|
|
2843
2843
|
{
|
|
2844
2844
|
component: _ ? "iframe" : "img",
|
|
@@ -2876,9 +2876,9 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2876
2876
|
Action: f,
|
|
2877
2877
|
Icon: g,
|
|
2878
2878
|
Footer: C,
|
|
2879
|
-
Collapse:
|
|
2879
|
+
Collapse: y
|
|
2880
2880
|
}) => {
|
|
2881
|
-
const [h, M] = ae(!1), b =
|
|
2881
|
+
const [h, M] = ae(!1), b = y || !!(d != null && d.length);
|
|
2882
2882
|
return Rr(() => {
|
|
2883
2883
|
c && M(!0);
|
|
2884
2884
|
}, [c]), /* @__PURE__ */ E(B, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
|
|
@@ -2966,10 +2966,10 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
2966
2966
|
)
|
|
2967
2967
|
] }),
|
|
2968
2968
|
C,
|
|
2969
|
-
|
|
2970
|
-
!!(d != null && d.length) && /* @__PURE__ */ n(T1, { in: h, children: /* @__PURE__ */ n(B, { marginTop: 3, spacing: 3, children: d == null ? void 0 : d.map((u,
|
|
2969
|
+
y && /* @__PURE__ */ n(T1, { in: h, children: y }),
|
|
2970
|
+
!!(d != null && d.length) && /* @__PURE__ */ n(T1, { in: h, children: /* @__PURE__ */ n(B, { marginTop: 3, spacing: 3, children: d == null ? void 0 : d.map((u, v) => {
|
|
2971
2971
|
var R, p, _, k;
|
|
2972
|
-
const S = `${u.title}-${
|
|
2972
|
+
const S = `${u.title}-${v}`, w = Array.isArray(u == null ? void 0 : u.file) ? u == null ? void 0 : u.file[0] : u == null ? void 0 : u.file;
|
|
2973
2973
|
return /* @__PURE__ */ E(B, { direction: "row", spacing: 1, minWidth: 0, children: [
|
|
2974
2974
|
/* @__PURE__ */ n(Ui, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
|
|
2975
2975
|
/* @__PURE__ */ E(B, { minWidth: 0, children: [
|
|
@@ -3099,7 +3099,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
3099
3099
|
] })
|
|
3100
3100
|
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(Nr, { sx: i, children: /* @__PURE__ */ n(i1, { severity: "info", children: t }) }) : /* @__PURE__ */ E(be, { children: [
|
|
3101
3101
|
/* @__PURE__ */ n(Nr, { sx: i, "data-test": o, "data-testid": l, children: e == null ? void 0 : e.map(
|
|
3102
|
-
({ Action: f, Collapse: g, collapseItems: C, collapseDefaultOpen:
|
|
3102
|
+
({ Action: f, Collapse: g, collapseItems: C, collapseDefaultOpen: y, subtitle: h, key: M, active: b, Footer: u, Icon: v, onClick: S, tag: w, title: R }, p) => {
|
|
3103
3103
|
const _ = `${M}-${p}-${R}`, k = p === e.length - 1;
|
|
3104
3104
|
return /* @__PURE__ */ n(
|
|
3105
3105
|
Xi,
|
|
@@ -3107,12 +3107,12 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
3107
3107
|
Action: f,
|
|
3108
3108
|
Footer: u,
|
|
3109
3109
|
Collapse: g,
|
|
3110
|
-
collapseDefaultOpen:
|
|
3110
|
+
collapseDefaultOpen: y,
|
|
3111
3111
|
collapseItems: C,
|
|
3112
3112
|
active: b,
|
|
3113
3113
|
title: R,
|
|
3114
3114
|
subtitle: h,
|
|
3115
|
-
Icon:
|
|
3115
|
+
Icon: v,
|
|
3116
3116
|
isLastElement: k,
|
|
3117
3117
|
onClick: S,
|
|
3118
3118
|
tag: w,
|
|
@@ -3441,7 +3441,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
3441
3441
|
}
|
|
3442
3442
|
);
|
|
3443
3443
|
}, Ki = xe(({ sx: e, slotProps: r, type: t = "search", ...i }, a) => {
|
|
3444
|
-
var o, l, d, c, f, g, C,
|
|
3444
|
+
var o, l, d, c, f, g, C, y, h, M;
|
|
3445
3445
|
return /* @__PURE__ */ n(
|
|
3446
3446
|
n1,
|
|
3447
3447
|
{
|
|
@@ -3459,7 +3459,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
3459
3459
|
},
|
|
3460
3460
|
// Border
|
|
3461
3461
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
3462
|
-
borderColor: ye((
|
|
3462
|
+
borderColor: ye((y = (C = H == null ? void 0 : H.palette) == null ? void 0 : C.border) == null ? void 0 : y.outline, 0.23)
|
|
3463
3463
|
},
|
|
3464
3464
|
// Border focus
|
|
3465
3465
|
"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
@@ -3521,10 +3521,10 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
3521
3521
|
children: f,
|
|
3522
3522
|
onClickBurger: g,
|
|
3523
3523
|
sx: C,
|
|
3524
|
-
position:
|
|
3524
|
+
position: y = "static",
|
|
3525
3525
|
elevation: h = 0
|
|
3526
3526
|
}) => {
|
|
3527
|
-
const { breakpoints: M } = ge(), { closeMenu: b, isMenuOpen: u, anchorMenu:
|
|
3527
|
+
const { breakpoints: M } = ge(), { closeMenu: b, isMenuOpen: u, anchorMenu: v, openMenu: S } = Qi(), { menuItems: w, ...R } = o || {}, p = ir(M.down("sm")), _ = ir(M.between("sm", "md")), k = p || _, j = {
|
|
3528
3528
|
logoContainer: {
|
|
3529
3529
|
a: {
|
|
3530
3530
|
display: "flex"
|
|
@@ -3554,8 +3554,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
3554
3554
|
paddingX: p ? 1 : 3,
|
|
3555
3555
|
...C
|
|
3556
3556
|
};
|
|
3557
|
-
return f ? /* @__PURE__ */ n(Wr, { position:
|
|
3558
|
-
/* @__PURE__ */ n(Wr, { position:
|
|
3557
|
+
return f ? /* @__PURE__ */ n(Wr, { position: y, elevation: h, sx: j, children: f }) : /* @__PURE__ */ E(be, { children: [
|
|
3558
|
+
/* @__PURE__ */ n(Wr, { position: y, elevation: h, sx: j, children: /* @__PURE__ */ E(B, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
|
|
3559
3559
|
k && /* @__PURE__ */ n(Ae, { onClick: g, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(xt, {}) }),
|
|
3560
3560
|
k || i === null ? null : /* @__PURE__ */ n(L, { sx: j.logoContainer, children: i || /* @__PURE__ */ n(Ti, { mode: "dark", ...c }) }),
|
|
3561
3561
|
/* @__PURE__ */ E(B, { alignItems: "center", direction: "row", justifyContent: p ? "flex-end" : "center", spacing: 1, flex: 1, children: [
|
|
@@ -3583,7 +3583,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
3583
3583
|
Qt,
|
|
3584
3584
|
{
|
|
3585
3585
|
id: ea,
|
|
3586
|
-
anchorEl:
|
|
3586
|
+
anchorEl: v,
|
|
3587
3587
|
open: u,
|
|
3588
3588
|
onClose: b,
|
|
3589
3589
|
onChange: b,
|
|
@@ -4627,14 +4627,14 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
4627
4627
|
font: d = G1
|
|
4628
4628
|
}) => {
|
|
4629
4629
|
var h, M;
|
|
4630
|
-
const c = { ...G1, ...d }, f = (c == null ? void 0 : c.googleFontName) || ((h = e1.typography.fontFamily) == null ? void 0 : h.split(",")[0]), g = (M = c == null ? void 0 : c.fontWeight) == null ? void 0 : M.join(";"), C = kr(() => ({ language: l }), [l]),
|
|
4631
|
-
var
|
|
4630
|
+
const c = { ...G1, ...d }, f = (c == null ? void 0 : c.googleFontName) || ((h = e1.typography.fontFamily) == null ? void 0 : h.split(",")[0]), g = (M = c == null ? void 0 : c.fontWeight) == null ? void 0 : M.join(";"), C = kr(() => ({ language: l }), [l]), y = () => {
|
|
4631
|
+
var v, S;
|
|
4632
4632
|
const b = typeof o == "object" ? o : {}, u = {
|
|
4633
4633
|
...l === "fr" && ia
|
|
4634
4634
|
};
|
|
4635
|
-
return o === "dark" || typeof o == "object" && "palette" in o && ((
|
|
4635
|
+
return o === "dark" || typeof o == "object" && "palette" in o && ((v = o == null ? void 0 : o.palette) == null ? void 0 : v.mode) === "dark" ? De(vt, b, u) : o === "light" || typeof o == "object" && "palette" in o && ((S = o == null ? void 0 : o.palette) == null ? void 0 : S.mode) === "light" ? De(yt, b, u) : De(e1, b, u);
|
|
4636
4636
|
};
|
|
4637
|
-
return /* @__PURE__ */ n(mt.Provider, { value: C, children: /* @__PURE__ */ E(an, { theme:
|
|
4637
|
+
return /* @__PURE__ */ n(mt.Provider, { value: C, children: /* @__PURE__ */ E(an, { theme: y(), children: [
|
|
4638
4638
|
/* @__PURE__ */ n(
|
|
4639
4639
|
tr,
|
|
4640
4640
|
{
|
|
@@ -4700,12 +4700,12 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
4700
4700
|
helperText: f,
|
|
4701
4701
|
fullWidth: g,
|
|
4702
4702
|
icon: C,
|
|
4703
|
-
onChange:
|
|
4703
|
+
onChange: y,
|
|
4704
4704
|
label: h,
|
|
4705
4705
|
variant: M = "vertical"
|
|
4706
4706
|
}) => {
|
|
4707
|
-
const { t: b } = wt(), { palette: u } = ge(),
|
|
4708
|
-
|
|
4707
|
+
const { t: b } = wt(), { palette: u } = ge(), v = M === "vertical", S = d || r, w = wr(null), R = wr(null), [p, _] = ae(null), k = fa(p), j = (X) => {
|
|
4708
|
+
y == null || y(X), _(X.target.files);
|
|
4709
4709
|
};
|
|
4710
4710
|
return /* @__PURE__ */ E(
|
|
4711
4711
|
on,
|
|
@@ -4720,7 +4720,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
4720
4720
|
const Y = R.current, P = X.dataTransfer.files;
|
|
4721
4721
|
_(P);
|
|
4722
4722
|
const K = new DataTransfer();
|
|
4723
|
-
Array.from(P).forEach((oe) => K.items.add(oe)), Y && (Y.files = K.files), Y == null || Y.focus(), Y == null || Y.blur(),
|
|
4723
|
+
Array.from(P).forEach((oe) => K.items.add(oe)), Y && (Y.files = K.files), Y == null || Y.focus(), Y == null || Y.blur(), y == null || y({ ...X, target: Y }), X.dataTransfer.clearData();
|
|
4724
4724
|
}
|
|
4725
4725
|
},
|
|
4726
4726
|
sx: {
|
|
@@ -4742,9 +4742,9 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
4742
4742
|
{
|
|
4743
4743
|
alignItems: "center",
|
|
4744
4744
|
height: "100%",
|
|
4745
|
-
direction:
|
|
4746
|
-
justifyContent:
|
|
4747
|
-
textAlign:
|
|
4745
|
+
direction: v ? "column" : "row",
|
|
4746
|
+
justifyContent: v ? "center" : "flex-start",
|
|
4747
|
+
textAlign: v ? "center" : "left",
|
|
4748
4748
|
spacing: 0.5,
|
|
4749
4749
|
color: t ? "text.disabled" : "text.secondary",
|
|
4750
4750
|
children: [
|
|
@@ -4760,7 +4760,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
4760
4760
|
{
|
|
4761
4761
|
variant: "body2",
|
|
4762
4762
|
color: "primary",
|
|
4763
|
-
whiteSpace:
|
|
4763
|
+
whiteSpace: v ? "normal" : "nowrap",
|
|
4764
4764
|
textOverflow: "ellipsis",
|
|
4765
4765
|
overflow: "hidden",
|
|
4766
4766
|
children: k
|
|
@@ -4831,7 +4831,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
4831
4831
|
...rr.list,
|
|
4832
4832
|
...i && { width: "100%" }
|
|
4833
4833
|
},
|
|
4834
|
-
children: [...Array(c).keys()].map((
|
|
4834
|
+
children: [...Array(c).keys()].map((y) => /* @__PURE__ */ E(_e, { sx: rr.listItem, children: [
|
|
4835
4835
|
/* @__PURE__ */ n(fe, { width: 40, height: 40, sx: { marginRight: er }, variant: "rounded" }),
|
|
4836
4836
|
/* @__PURE__ */ n(
|
|
4837
4837
|
$e,
|
|
@@ -4841,7 +4841,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
4841
4841
|
sx: { marginY: 0 }
|
|
4842
4842
|
}
|
|
4843
4843
|
)
|
|
4844
|
-
] },
|
|
4844
|
+
] }, y))
|
|
4845
4845
|
}
|
|
4846
4846
|
) : /* @__PURE__ */ E(
|
|
4847
4847
|
yr,
|
|
@@ -4853,13 +4853,13 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
4853
4853
|
},
|
|
4854
4854
|
children: [
|
|
4855
4855
|
t == null ? void 0 : t.map(
|
|
4856
|
-
({ id:
|
|
4856
|
+
({ id: y, title: h, subtitle: M, image: b, thumbnail: u, secondaryAction: v, chipLabel: S, chipColor: w, onClick: R, icon: p, Avatar: _ }, k) => {
|
|
4857
4857
|
var G, re, le, Se;
|
|
4858
|
-
const j = `key-${k}-${h}-${
|
|
4858
|
+
const j = `key-${k}-${h}-${y}`, I = (G = b == null ? void 0 : b.toLowerCase()) == null ? void 0 : G.endsWith(".pdf"), Q = (re = b == null ? void 0 : b.toLowerCase()) == null ? void 0 : re.startsWith("http"), X = (le = u == null ? void 0 : u.toLowerCase()) == null ? void 0 : le.startsWith("http"), Y = R ? "none" : void 0, P = d || !!p || !Q, K = !!R || !!(!R && !d && (u || b)), oe = f === j, A = (X ? u : "") || (Q ? b : "") || "";
|
|
4859
4859
|
return /* @__PURE__ */ E(
|
|
4860
4860
|
_e,
|
|
4861
4861
|
{
|
|
4862
|
-
secondaryAction:
|
|
4862
|
+
secondaryAction: v,
|
|
4863
4863
|
onClick: (ve) => {
|
|
4864
4864
|
R == null || R(ve), K && !oe && !R && g(j);
|
|
4865
4865
|
},
|
|
@@ -4939,7 +4939,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
4939
4939
|
sx: {
|
|
4940
4940
|
...rr.listItem,
|
|
4941
4941
|
"&:hover": {
|
|
4942
|
-
backgroundColor: ({ palette:
|
|
4942
|
+
backgroundColor: ({ palette: y }) => y.action.hover
|
|
4943
4943
|
}
|
|
4944
4944
|
},
|
|
4945
4945
|
children: [
|
|
@@ -4985,9 +4985,9 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
4985
4985
|
multiple: c,
|
|
4986
4986
|
...f
|
|
4987
4987
|
}) => {
|
|
4988
|
-
const { t: g } = wt(), C = Array.isArray(d) ? (d == null ? void 0 : d.length) === (l == null ? void 0 : l.length) : !1,
|
|
4988
|
+
const { t: g } = wt(), C = Array.isArray(d) ? (d == null ? void 0 : d.length) === (l == null ? void 0 : l.length) : !1, y = l == null ? void 0 : l.filter((h) => h == null ? void 0 : h.isHeader);
|
|
4989
4989
|
return /* @__PURE__ */ E(K1, { ...f, children: [
|
|
4990
|
-
c && !o && (!r || !!(
|
|
4990
|
+
c && !o && (!r || !!(y != null && y.length)) && /* @__PURE__ */ E(be, { children: [
|
|
4991
4991
|
/* @__PURE__ */ E(yr, { role: "listbox", children: [
|
|
4992
4992
|
!r && /* @__PURE__ */ n(
|
|
4993
4993
|
_e,
|
|
@@ -5025,23 +5025,23 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
5025
5025
|
] })
|
|
5026
5026
|
}
|
|
5027
5027
|
),
|
|
5028
|
-
|
|
5028
|
+
y == null ? void 0 : y.map((h, M) => {
|
|
5029
5029
|
const b = `header-options-${h == null ? void 0 : h.id}-${M}`, u = Array.isArray(d) && d.some(
|
|
5030
|
-
(
|
|
5030
|
+
(v) => JSON.stringify(v) === JSON.stringify(h) || v && typeof v == "object" && "id" in v && (v == null ? void 0 : v.id) === (h == null ? void 0 : h.id)
|
|
5031
5031
|
);
|
|
5032
5032
|
return /* @__PURE__ */ n(
|
|
5033
5033
|
_e,
|
|
5034
5034
|
{
|
|
5035
5035
|
disablePadding: !0,
|
|
5036
|
-
onMouseDown: (
|
|
5037
|
-
if (
|
|
5036
|
+
onMouseDown: (v) => {
|
|
5037
|
+
if (v.stopPropagation(), v.preventDefault(), u) {
|
|
5038
5038
|
const S = Array.isArray(d) ? d == null ? void 0 : d.filter(
|
|
5039
5039
|
(w) => !(JSON.stringify(w) === JSON.stringify(h) || w && typeof w == "object" && "id" in w && (w == null ? void 0 : w.id) === (h == null ? void 0 : h.id))
|
|
5040
5040
|
) : [];
|
|
5041
|
-
a == null || a(
|
|
5041
|
+
a == null || a(v, S, "removeOption");
|
|
5042
5042
|
return;
|
|
5043
5043
|
}
|
|
5044
|
-
a == null || a(
|
|
5044
|
+
a == null || a(v, [...Array.isArray(d) ? d : [], h], "selectOption");
|
|
5045
5045
|
},
|
|
5046
5046
|
children: /* @__PURE__ */ E(Yr, { disableRipple: !0, children: [
|
|
5047
5047
|
/* @__PURE__ */ n(Ur, { disableRipple: !0, checked: u, sx: r1 }),
|
|
@@ -5069,12 +5069,12 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
5069
5069
|
open: f,
|
|
5070
5070
|
onInputChange: g,
|
|
5071
5071
|
inputValue: C,
|
|
5072
|
-
disableClearable:
|
|
5072
|
+
disableClearable: y,
|
|
5073
5073
|
loading: h,
|
|
5074
5074
|
resetInputValueOnSelectOption: M,
|
|
5075
5075
|
renderOption: b,
|
|
5076
5076
|
renderTags: u,
|
|
5077
|
-
size:
|
|
5077
|
+
size: v = "small",
|
|
5078
5078
|
disableCloseOnSelect: S = !0,
|
|
5079
5079
|
multiple: w = !0,
|
|
5080
5080
|
options: R = [],
|
|
@@ -5087,12 +5087,12 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
5087
5087
|
{
|
|
5088
5088
|
freeSolo: !1,
|
|
5089
5089
|
multiple: w,
|
|
5090
|
-
disableClearable:
|
|
5090
|
+
disableClearable: y,
|
|
5091
5091
|
value: w ? l || [] : l || null,
|
|
5092
5092
|
loading: h,
|
|
5093
5093
|
options: R,
|
|
5094
5094
|
ref: k,
|
|
5095
|
-
size:
|
|
5095
|
+
size: v,
|
|
5096
5096
|
disableCloseOnSelect: S,
|
|
5097
5097
|
onChange: (z, A, G, re) => {
|
|
5098
5098
|
if (A === null) {
|
|
@@ -5182,7 +5182,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
|
|
|
5182
5182
|
right: 9
|
|
5183
5183
|
},
|
|
5184
5184
|
children: [
|
|
5185
|
-
I && K && !
|
|
5185
|
+
I && K && !y && /* @__PURE__ */ n(Ae, { size: "small", onClick: () => Y(""), sx: { marginRight: "-3px" }, children: /* @__PURE__ */ n(p1, { sx: { fontSize: J(20) } }) }),
|
|
5186
5186
|
G == null ? void 0 : G.props.children[1]
|
|
5187
5187
|
]
|
|
5188
5188
|
}
|