@tracktor/design-system 4.6.2 → 4.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -3
- package/dist/main.cjs +9 -9
- package/dist/main.js +355 -353
- package/dist/src/components/Inputs/File/File.d.ts +1 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useTheme as uA, Box as R, Skeleton as cA, Tab as rr, Card as je, GlobalStyles as jA, TextareaAutosize as tr, InputAdornment as PA, IconButton as gA, SvgIcon as pA, TextField as ue, Toolbar as nr, Stack as Q, AppBar as Se, Typography as z, Divider as ze, Fade as Je, List as ie, ListItem as EA, Chip as zA, useMediaQuery as JA, SwipeableDrawer as or, Alert as Ue, alpha as fA, Button as Ye, CircularProgress as R1, Modal as ir, Avatar as kA, Tooltip as Be, Collapse as t1, CardContent as ar, Menu as sr, MenuItem as lr, ListItemIcon as cr, ListItemText as BA, Backdrop as P1, responsiveFontSizes as We, createTheme as MA, getOverlayAlpha as Me, css as ae, CssBaseline as dr, ThemeProvider as pr, InputLabel as ur, ListItemButton as Re, Checkbox as Pe, ListItemAvatar as fr, Autocomplete as gr, Paper as Ge, Badge as hr, Slide as Cr, Popper as xr, DialogContent as mr, DialogContentText as br, DialogActions as yr, Dialog as wr, Snackbar as vr } from "@mui/material";
|
|
2
2
|
export * from "@mui/material";
|
|
3
3
|
import * as yA from "react";
|
|
4
|
-
import Er, { createContext as fe, useContext as wA, useCallback as
|
|
4
|
+
import Er, { createContext as fe, useContext as wA, useCallback as oA, forwardRef as iA, useState as G, useEffect as qe, cloneElement as Xe, isValidElement as UA, memo as T1, useMemo as YA, useRef as Te, Children as Ir, useImperativeHandle as kr } from "react";
|
|
5
5
|
import { createElement as Sr } from "@emotion/react";
|
|
6
6
|
const Br = {
|
|
7
7
|
disabledPermissions: void 0,
|
|
@@ -9,7 +9,7 @@ const Br = {
|
|
|
9
9
|
setPermissions: () => {
|
|
10
10
|
}
|
|
11
11
|
}, L1 = fe(Br), Le = "or", ye = (A, e) => A === "" || !e.length ? !1 : e.some((r) => A === r), Mr = () => {
|
|
12
|
-
const { permissions: A, setPermissions: e, disabledPermissions: r } = wA(L1), n =
|
|
12
|
+
const { permissions: A, setPermissions: e, disabledPermissions: r } = wA(L1), n = oA(
|
|
13
13
|
(i, s, a = Le) => {
|
|
14
14
|
const d = [...s || [], ...A || []].filter((p) => !r?.includes(p));
|
|
15
15
|
return d.length ? Array.isArray(i) ? a === Le ? i.some((p) => ye(p, d)) : i.every((p) => ye(p, d)) : ye(i, d) : !1;
|
|
@@ -17,7 +17,7 @@ const Br = {
|
|
|
17
17
|
[r, A]
|
|
18
18
|
);
|
|
19
19
|
return {
|
|
20
|
-
appendPermissions:
|
|
20
|
+
appendPermissions: oA(
|
|
21
21
|
(i) => {
|
|
22
22
|
e((s) => [...s || [], i]);
|
|
23
23
|
},
|
|
@@ -86,7 +86,7 @@ function Pr() {
|
|
|
86
86
|
function A(f) {
|
|
87
87
|
if (f == null) return null;
|
|
88
88
|
if (typeof f == "function")
|
|
89
|
-
return f.$$typeof ===
|
|
89
|
+
return f.$$typeof === rA ? null : f.displayName || f.name || null;
|
|
90
90
|
if (typeof f == "string") return f;
|
|
91
91
|
switch (f) {
|
|
92
92
|
case u:
|
|
@@ -97,7 +97,7 @@ function Pr() {
|
|
|
97
97
|
return "StrictMode";
|
|
98
98
|
case l:
|
|
99
99
|
return "Suspense";
|
|
100
|
-
case
|
|
100
|
+
case k:
|
|
101
101
|
return "SuspenseList";
|
|
102
102
|
case T:
|
|
103
103
|
return "Activity";
|
|
@@ -110,9 +110,9 @@ function Pr() {
|
|
|
110
110
|
return "Portal";
|
|
111
111
|
case h:
|
|
112
112
|
return (f.displayName || "Context") + ".Provider";
|
|
113
|
-
case
|
|
113
|
+
case S:
|
|
114
114
|
return (f._context.displayName || "Context") + ".Consumer";
|
|
115
|
-
case
|
|
115
|
+
case w:
|
|
116
116
|
var x = f.render;
|
|
117
117
|
return f = f.displayName, f || (f = x.displayName || x.name || "", f = f !== "" ? "ForwardRef(" + f + ")" : "ForwardRef"), f;
|
|
118
118
|
case E:
|
|
@@ -158,14 +158,14 @@ function Pr() {
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
function o() {
|
|
161
|
-
var f =
|
|
161
|
+
var f = V.A;
|
|
162
162
|
return f === null ? null : f.getOwner();
|
|
163
163
|
}
|
|
164
164
|
function i() {
|
|
165
165
|
return Error("react-stack-top-frame");
|
|
166
166
|
}
|
|
167
167
|
function s(f) {
|
|
168
|
-
if (
|
|
168
|
+
if (J.call(f, "key")) {
|
|
169
169
|
var x = Object.getOwnPropertyDescriptor(f, "key").get;
|
|
170
170
|
if (x && x.isReactWarning) return !1;
|
|
171
171
|
}
|
|
@@ -173,7 +173,7 @@ function Pr() {
|
|
|
173
173
|
}
|
|
174
174
|
function a(f, x) {
|
|
175
175
|
function M() {
|
|
176
|
-
|
|
176
|
+
X || (X = !0, console.error(
|
|
177
177
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
178
178
|
x
|
|
179
179
|
));
|
|
@@ -185,16 +185,16 @@ function Pr() {
|
|
|
185
185
|
}
|
|
186
186
|
function c() {
|
|
187
187
|
var f = A(this.type);
|
|
188
|
-
return
|
|
188
|
+
return Z[f] || (Z[f] = !0, console.error(
|
|
189
189
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
190
190
|
)), f = this.props.ref, f !== void 0 ? f : null;
|
|
191
191
|
}
|
|
192
|
-
function d(f, x, M, L, P,
|
|
193
|
-
return M =
|
|
194
|
-
$$typeof:
|
|
192
|
+
function d(f, x, M, L, P, tA, aA, bA) {
|
|
193
|
+
return M = tA.ref, f = {
|
|
194
|
+
$$typeof: y,
|
|
195
195
|
type: f,
|
|
196
196
|
key: x,
|
|
197
|
-
props:
|
|
197
|
+
props: tA,
|
|
198
198
|
_owner: P
|
|
199
199
|
}, (M !== void 0 ? M : null) !== null ? Object.defineProperty(f, "ref", {
|
|
200
200
|
enumerable: !1,
|
|
@@ -221,11 +221,11 @@ function Pr() {
|
|
|
221
221
|
value: bA
|
|
222
222
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
223
223
|
}
|
|
224
|
-
function p(f, x, M, L, P,
|
|
224
|
+
function p(f, x, M, L, P, tA, aA, bA) {
|
|
225
225
|
var Y = x.children;
|
|
226
226
|
if (Y !== void 0)
|
|
227
227
|
if (L)
|
|
228
|
-
if (
|
|
228
|
+
if ($(Y)) {
|
|
229
229
|
for (L = 0; L < Y.length; L++)
|
|
230
230
|
g(Y[L]);
|
|
231
231
|
Object.freeze && Object.freeze(Y);
|
|
@@ -234,12 +234,12 @@ function Pr() {
|
|
|
234
234
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
235
235
|
);
|
|
236
236
|
else g(Y);
|
|
237
|
-
if (
|
|
237
|
+
if (J.call(x, "key")) {
|
|
238
238
|
Y = A(f);
|
|
239
239
|
var vA = Object.keys(x).filter(function(me) {
|
|
240
240
|
return me !== "key";
|
|
241
241
|
});
|
|
242
|
-
L = 0 < vA.length ? "{key: someKey, " + vA.join(": ..., ") + ": ...}" : "{key: someKey}",
|
|
242
|
+
L = 0 < vA.length ? "{key: someKey, " + vA.join(": ..., ") + ": ...}" : "{key: someKey}", AA[Y + L] || (vA = 0 < vA.length ? "{" + vA.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
243
243
|
`A props object containing a "key" prop is being spread into JSX:
|
|
244
244
|
let props = %s;
|
|
245
245
|
<%s {...props} />
|
|
@@ -250,7 +250,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
250
250
|
Y,
|
|
251
251
|
vA,
|
|
252
252
|
Y
|
|
253
|
-
),
|
|
253
|
+
), AA[Y + L] = !0);
|
|
254
254
|
}
|
|
255
255
|
if (Y = null, M !== void 0 && (r(M), Y = "" + M), s(x) && (r(x.key), Y = "" + x.key), "key" in x) {
|
|
256
256
|
M = {};
|
|
@@ -263,7 +263,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
263
263
|
), d(
|
|
264
264
|
f,
|
|
265
265
|
Y,
|
|
266
|
-
|
|
266
|
+
tA,
|
|
267
267
|
P,
|
|
268
268
|
o(),
|
|
269
269
|
M,
|
|
@@ -272,9 +272,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
272
272
|
);
|
|
273
273
|
}
|
|
274
274
|
function g(f) {
|
|
275
|
-
typeof f == "object" && f !== null && f.$$typeof ===
|
|
275
|
+
typeof f == "object" && f !== null && f.$$typeof === y && f._store && (f._store.validated = 1);
|
|
276
276
|
}
|
|
277
|
-
var v = Er,
|
|
277
|
+
var v = Er, y = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), S = Symbol.for("react.consumer"), h = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), T = Symbol.for("react.activity"), rA = Symbol.for("react.client.reference"), V = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, $ = Array.isArray, K = console.createTask ? console.createTask : function() {
|
|
278
278
|
return null;
|
|
279
279
|
};
|
|
280
280
|
v = {
|
|
@@ -282,12 +282,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
282
282
|
return f();
|
|
283
283
|
}
|
|
284
284
|
};
|
|
285
|
-
var
|
|
285
|
+
var X, Z = {}, q = v["react-stack-bottom-frame"].bind(
|
|
286
286
|
v,
|
|
287
287
|
i
|
|
288
|
-
)(),
|
|
288
|
+
)(), U = K(n(i)), AA = {};
|
|
289
289
|
QA.Fragment = u, QA.jsx = function(f, x, M, L, P) {
|
|
290
|
-
var
|
|
290
|
+
var tA = 1e4 > V.recentlyCreatedOwnerStacks++;
|
|
291
291
|
return p(
|
|
292
292
|
f,
|
|
293
293
|
x,
|
|
@@ -295,11 +295,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
295
295
|
!1,
|
|
296
296
|
L,
|
|
297
297
|
P,
|
|
298
|
-
|
|
299
|
-
|
|
298
|
+
tA ? Error("react-stack-top-frame") : q,
|
|
299
|
+
tA ? K(n(f)) : U
|
|
300
300
|
);
|
|
301
301
|
}, QA.jsxs = function(f, x, M, L, P) {
|
|
302
|
-
var
|
|
302
|
+
var tA = 1e4 > V.recentlyCreatedOwnerStacks++;
|
|
303
303
|
return p(
|
|
304
304
|
f,
|
|
305
305
|
x,
|
|
@@ -307,8 +307,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
307
307
|
!0,
|
|
308
308
|
L,
|
|
309
309
|
P,
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
tA ? Error("react-stack-top-frame") : q,
|
|
311
|
+
tA ? K(n(f)) : U
|
|
312
312
|
);
|
|
313
313
|
};
|
|
314
314
|
}()), QA;
|
|
@@ -358,9 +358,9 @@ var Hr = /* @__PURE__ */ function() {
|
|
|
358
358
|
return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
|
|
359
359
|
}), this.tags = [], this.ctr = 0;
|
|
360
360
|
}, A;
|
|
361
|
-
}(),
|
|
361
|
+
}(), nA = "-ms-", se = "-moz-", H = "-webkit-", D1 = "comm", _e = "rule", $e = "decl", Or = "@import", H1 = "@keyframes", Qr = "@layer", Vr = Math.abs, ge = String.fromCharCode, Fr = Object.assign;
|
|
362
362
|
function Nr(A, e) {
|
|
363
|
-
return
|
|
363
|
+
return eA(A, 0) ^ 45 ? (((e << 2 ^ eA(A, 0)) << 2 ^ eA(A, 1)) << 2 ^ eA(A, 2)) << 2 ^ eA(A, 3) : 0;
|
|
364
364
|
}
|
|
365
365
|
function O1(A) {
|
|
366
366
|
return A.trim();
|
|
@@ -374,7 +374,7 @@ function O(A, e, r) {
|
|
|
374
374
|
function De(A, e) {
|
|
375
375
|
return A.indexOf(e);
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function eA(A, e) {
|
|
378
378
|
return A.charCodeAt(e) | 0;
|
|
379
379
|
}
|
|
380
380
|
function GA(A, e, r) {
|
|
@@ -403,13 +403,13 @@ function zr() {
|
|
|
403
403
|
return W;
|
|
404
404
|
}
|
|
405
405
|
function Jr() {
|
|
406
|
-
return W = lA > 0 ?
|
|
406
|
+
return W = lA > 0 ? eA(LA, --lA) : 0, TA--, W === 10 && (TA = 1, he--), W;
|
|
407
407
|
}
|
|
408
408
|
function dA() {
|
|
409
|
-
return W = lA < Q1 ?
|
|
409
|
+
return W = lA < Q1 ? eA(LA, lA++) : 0, TA++, W === 10 && (TA = 1, he++), W;
|
|
410
410
|
}
|
|
411
411
|
function xA() {
|
|
412
|
-
return
|
|
412
|
+
return eA(LA, lA);
|
|
413
413
|
}
|
|
414
414
|
function re() {
|
|
415
415
|
return lA;
|
|
@@ -511,19 +511,19 @@ function qr(A) {
|
|
|
511
511
|
return F1(ne("", null, null, null, [""], A = V1(A), 0, [0], A));
|
|
512
512
|
}
|
|
513
513
|
function ne(A, e, r, n, o, i, s, a, c) {
|
|
514
|
-
for (var d = 0, p = 0, g = s, v = 0,
|
|
515
|
-
switch (C =
|
|
514
|
+
for (var d = 0, p = 0, g = s, v = 0, y = 0, C = 0, u = 1, b = 1, I = 1, S = 0, h = "", w = o, l = i, k = n, E = h; b; )
|
|
515
|
+
switch (C = S, S = dA()) {
|
|
516
516
|
// (
|
|
517
517
|
case 40:
|
|
518
|
-
if (C != 108 &&
|
|
519
|
-
De(E += O(te(
|
|
518
|
+
if (C != 108 && eA(E, g - 1) == 58) {
|
|
519
|
+
De(E += O(te(S), "&", "&\f"), "&\f") != -1 && (I = -1);
|
|
520
520
|
break;
|
|
521
521
|
}
|
|
522
522
|
// " ' [
|
|
523
523
|
case 34:
|
|
524
524
|
case 39:
|
|
525
525
|
case 91:
|
|
526
|
-
E += te(
|
|
526
|
+
E += te(S);
|
|
527
527
|
break;
|
|
528
528
|
// \t \n \r \s
|
|
529
529
|
case 9:
|
|
@@ -554,49 +554,49 @@ function ne(A, e, r, n, o, i, s, a, c) {
|
|
|
554
554
|
case 125 * u:
|
|
555
555
|
case 59:
|
|
556
556
|
case 0:
|
|
557
|
-
switch (
|
|
557
|
+
switch (S) {
|
|
558
558
|
// \0 }
|
|
559
559
|
case 0:
|
|
560
560
|
case 125:
|
|
561
561
|
b = 0;
|
|
562
562
|
// ;
|
|
563
563
|
case 59 + p:
|
|
564
|
-
I == -1 && (E = O(E, /\f/g, "")),
|
|
564
|
+
I == -1 && (E = O(E, /\f/g, "")), y > 0 && hA(E) - g && Ae(y > 32 ? s1(E + ";", n, r, g - 1) : s1(O(E, " ", "") + ";", n, r, g - 2), c);
|
|
565
565
|
break;
|
|
566
566
|
// @ ;
|
|
567
567
|
case 59:
|
|
568
568
|
E += ";";
|
|
569
569
|
// { rule/at-rule
|
|
570
570
|
default:
|
|
571
|
-
if (Ae(
|
|
571
|
+
if (Ae(k = a1(E, e, r, d, p, o, a, h, w = [], l = [], g), i), S === 123)
|
|
572
572
|
if (p === 0)
|
|
573
|
-
ne(E, e,
|
|
573
|
+
ne(E, e, k, k, w, i, g, a, l);
|
|
574
574
|
else
|
|
575
|
-
switch (v === 99 &&
|
|
575
|
+
switch (v === 99 && eA(E, 3) === 110 ? 100 : v) {
|
|
576
576
|
// d l m s
|
|
577
577
|
case 100:
|
|
578
578
|
case 108:
|
|
579
579
|
case 109:
|
|
580
580
|
case 115:
|
|
581
|
-
ne(A,
|
|
581
|
+
ne(A, k, k, n && Ae(a1(A, k, k, 0, 0, o, a, h, o, w = [], g), l), o, l, g, a, n ? w : l);
|
|
582
582
|
break;
|
|
583
583
|
default:
|
|
584
|
-
ne(E,
|
|
584
|
+
ne(E, k, k, k, [""], l, 0, a, l);
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
|
-
d = p =
|
|
587
|
+
d = p = y = 0, u = I = 1, h = E = "", g = s;
|
|
588
588
|
break;
|
|
589
589
|
// :
|
|
590
590
|
case 58:
|
|
591
|
-
g = 1 + hA(E),
|
|
591
|
+
g = 1 + hA(E), y = C;
|
|
592
592
|
default:
|
|
593
593
|
if (u < 1) {
|
|
594
|
-
if (
|
|
594
|
+
if (S == 123)
|
|
595
595
|
--u;
|
|
596
|
-
else if (
|
|
596
|
+
else if (S == 125 && u++ == 0 && Jr() == 125)
|
|
597
597
|
continue;
|
|
598
598
|
}
|
|
599
|
-
switch (E += ge(
|
|
599
|
+
switch (E += ge(S), S * u) {
|
|
600
600
|
// &
|
|
601
601
|
case 38:
|
|
602
602
|
I = p > 0 ? 1 : (E += "\f", -1);
|
|
@@ -607,7 +607,7 @@ function ne(A, e, r, n, o, i, s, a, c) {
|
|
|
607
607
|
break;
|
|
608
608
|
// @
|
|
609
609
|
case 64:
|
|
610
|
-
xA() === 45 && (E += te(dA())), v = xA(), p = g = hA(h = E += Gr(re())),
|
|
610
|
+
xA() === 45 && (E += te(dA())), v = xA(), p = g = hA(h = E += Gr(re())), S++;
|
|
611
611
|
break;
|
|
612
612
|
// -
|
|
613
613
|
case 45:
|
|
@@ -617,9 +617,9 @@ function ne(A, e, r, n, o, i, s, a, c) {
|
|
|
617
617
|
return i;
|
|
618
618
|
}
|
|
619
619
|
function a1(A, e, r, n, o, i, s, a, c, d, p) {
|
|
620
|
-
for (var g = o - 1, v = o === 0 ? i : [""],
|
|
621
|
-
for (var I = 0,
|
|
622
|
-
(h = O1(u > 0 ? v[I] + " " +
|
|
620
|
+
for (var g = o - 1, v = o === 0 ? i : [""], y = Ke(v), C = 0, u = 0, b = 0; C < n; ++C)
|
|
621
|
+
for (var I = 0, S = GA(A, g + 1, g = Vr(u = s[C])), h = A; I < y; ++I)
|
|
622
|
+
(h = O1(u > 0 ? v[I] + " " + S : O(S, /&\f/g, v[I]))) && (c[b++] = h);
|
|
623
623
|
return Ce(A, e, r, o === 0 ? _e : a, c, d, p);
|
|
624
624
|
}
|
|
625
625
|
function Xr(A, e, r) {
|
|
@@ -757,32 +757,32 @@ function N1(A, e) {
|
|
|
757
757
|
case 4810:
|
|
758
758
|
case 6968:
|
|
759
759
|
case 2756:
|
|
760
|
-
return H + A + se + A +
|
|
760
|
+
return H + A + se + A + nA + A + A;
|
|
761
761
|
// flex, flex-direction
|
|
762
762
|
case 6828:
|
|
763
763
|
case 4268:
|
|
764
|
-
return H + A +
|
|
764
|
+
return H + A + nA + A + A;
|
|
765
765
|
// order
|
|
766
766
|
case 6165:
|
|
767
|
-
return H + A +
|
|
767
|
+
return H + A + nA + "flex-" + A + A;
|
|
768
768
|
// align-items
|
|
769
769
|
case 5187:
|
|
770
|
-
return H + A + O(A, /(\w+).+(:[^]+)/, H + "box-$1$2" +
|
|
770
|
+
return H + A + O(A, /(\w+).+(:[^]+)/, H + "box-$1$2" + nA + "flex-$1$2") + A;
|
|
771
771
|
// align-self
|
|
772
772
|
case 5443:
|
|
773
|
-
return H + A +
|
|
773
|
+
return H + A + nA + "flex-item-" + O(A, /flex-|-self/, "") + A;
|
|
774
774
|
// align-content
|
|
775
775
|
case 4675:
|
|
776
|
-
return H + A +
|
|
776
|
+
return H + A + nA + "flex-line-pack" + O(A, /align-content|flex-|-self/, "") + A;
|
|
777
777
|
// flex-shrink
|
|
778
778
|
case 5548:
|
|
779
|
-
return H + A +
|
|
779
|
+
return H + A + nA + O(A, "shrink", "negative") + A;
|
|
780
780
|
// flex-basis
|
|
781
781
|
case 5292:
|
|
782
|
-
return H + A +
|
|
782
|
+
return H + A + nA + O(A, "basis", "preferred-size") + A;
|
|
783
783
|
// flex-grow
|
|
784
784
|
case 6060:
|
|
785
|
-
return H + "box-" + O(A, "-grow", "") + H + A +
|
|
785
|
+
return H + "box-" + O(A, "-grow", "") + H + A + nA + O(A, "grow", "positive") + A;
|
|
786
786
|
// transition
|
|
787
787
|
case 4554:
|
|
788
788
|
return H + O(A, /([^-])(transform)/g, "$1" + H + "$2") + A;
|
|
@@ -795,7 +795,7 @@ function N1(A, e) {
|
|
|
795
795
|
return O(A, /(image-set\([^]*)/, H + "$1$`$1");
|
|
796
796
|
// justify-content
|
|
797
797
|
case 4968:
|
|
798
|
-
return O(O(A, /(.+:)(flex-)?(.*)/, H + "box-pack:$3" +
|
|
798
|
+
return O(O(A, /(.+:)(flex-)?(.*)/, H + "box-pack:$3" + nA + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + H + A + A;
|
|
799
799
|
// (margin|padding)-inline-(start|end)
|
|
800
800
|
case 4095:
|
|
801
801
|
case 3583:
|
|
@@ -815,13 +815,13 @@ function N1(A, e) {
|
|
|
815
815
|
case 5789:
|
|
816
816
|
case 5021:
|
|
817
817
|
case 4765:
|
|
818
|
-
if (hA(A) - 1 - e > 6) switch (
|
|
818
|
+
if (hA(A) - 1 - e > 6) switch (eA(A, e + 1)) {
|
|
819
819
|
// (m)ax-content, (m)in-content
|
|
820
820
|
case 109:
|
|
821
|
-
if (
|
|
821
|
+
if (eA(A, e + 4) !== 45) break;
|
|
822
822
|
// (f)ill-available, (f)it-content
|
|
823
823
|
case 102:
|
|
824
|
-
return O(A, /(.+:)(.+)-([^]+)/, "$1" + H + "$2-$3$1" + se + (
|
|
824
|
+
return O(A, /(.+:)(.+)-([^]+)/, "$1" + H + "$2-$3$1" + se + (eA(A, e + 3) == 108 ? "$3" : "$2-$3")) + A;
|
|
825
825
|
// (s)tretch
|
|
826
826
|
case 115:
|
|
827
827
|
return ~De(A, "stretch") ? N1(O(A, "stretch", "fill-available"), e) + A : A;
|
|
@@ -829,32 +829,32 @@ function N1(A, e) {
|
|
|
829
829
|
break;
|
|
830
830
|
// position: sticky
|
|
831
831
|
case 4949:
|
|
832
|
-
if (
|
|
832
|
+
if (eA(A, e + 1) !== 115) break;
|
|
833
833
|
// display: (flex|inline-flex)
|
|
834
834
|
case 6444:
|
|
835
|
-
switch (
|
|
835
|
+
switch (eA(A, hA(A) - 3 - (~De(A, "!important") && 10))) {
|
|
836
836
|
// stic(k)y
|
|
837
837
|
case 107:
|
|
838
838
|
return O(A, ":", ":" + H) + A;
|
|
839
839
|
// (inline-)?fl(e)x
|
|
840
840
|
case 101:
|
|
841
|
-
return O(A, /(.+:)([^;!]+)(;|!.+)?/, "$1" + H + (
|
|
841
|
+
return O(A, /(.+:)([^;!]+)(;|!.+)?/, "$1" + H + (eA(A, 14) === 45 ? "inline-" : "") + "box$3$1" + H + "$2$3$1" + nA + "$2box$3") + A;
|
|
842
842
|
}
|
|
843
843
|
break;
|
|
844
844
|
// writing-mode
|
|
845
845
|
case 5936:
|
|
846
|
-
switch (
|
|
846
|
+
switch (eA(A, e + 11)) {
|
|
847
847
|
// vertical-l(r)
|
|
848
848
|
case 114:
|
|
849
|
-
return H + A +
|
|
849
|
+
return H + A + nA + O(A, /[svh]\w+-[tblr]{2}/, "tb") + A;
|
|
850
850
|
// vertical-r(l)
|
|
851
851
|
case 108:
|
|
852
|
-
return H + A +
|
|
852
|
+
return H + A + nA + O(A, /[svh]\w+-[tblr]{2}/, "tb-rl") + A;
|
|
853
853
|
// horizontal(-)tb
|
|
854
854
|
case 45:
|
|
855
|
-
return H + A +
|
|
855
|
+
return H + A + nA + O(A, /[svh]\w+-[tblr]{2}/, "lr") + A;
|
|
856
856
|
}
|
|
857
|
-
return H + A +
|
|
857
|
+
return H + A + nA + A + A;
|
|
858
858
|
}
|
|
859
859
|
return A;
|
|
860
860
|
}
|
|
@@ -883,7 +883,7 @@ var it = function(e, r, n, o) {
|
|
|
883
883
|
}), VA(e, {
|
|
884
884
|
props: [O(i, /:(plac\w+)/, ":" + se + "$1")]
|
|
885
885
|
}), VA(e, {
|
|
886
|
-
props: [O(i, /:(plac\w+)/,
|
|
886
|
+
props: [O(i, /:(plac\w+)/, nA + "input-$1")]
|
|
887
887
|
})], o);
|
|
888
888
|
}
|
|
889
889
|
return "";
|
|
@@ -913,11 +913,11 @@ var it = function(e, r, n, o) {
|
|
|
913
913
|
{
|
|
914
914
|
var p, g = [_r, Kr(function(u) {
|
|
915
915
|
p.insert(u);
|
|
916
|
-
})], v = $r(d.concat(o, g)),
|
|
916
|
+
})], v = $r(d.concat(o, g)), y = function(b) {
|
|
917
917
|
return RA(qr(b), v);
|
|
918
918
|
};
|
|
919
|
-
c = function(b, I,
|
|
920
|
-
p =
|
|
919
|
+
c = function(b, I, S, h) {
|
|
920
|
+
p = S, y(b ? b + "{" + I.styles + "}" : I.styles), h && (C.inserted[I.name] = !0);
|
|
921
921
|
};
|
|
922
922
|
}
|
|
923
923
|
var C = {
|
|
@@ -936,7 +936,7 @@ var it = function(e, r, n, o) {
|
|
|
936
936
|
insert: c
|
|
937
937
|
};
|
|
938
938
|
return C.sheet.hydrate(a), C;
|
|
939
|
-
}, ee = { exports: {} },
|
|
939
|
+
}, ee = { exports: {} }, F = {};
|
|
940
940
|
/** @license React v16.13.1
|
|
941
941
|
* react-is.production.min.js
|
|
942
942
|
*
|
|
@@ -947,13 +947,13 @@ var it = function(e, r, n, o) {
|
|
|
947
947
|
*/
|
|
948
948
|
var c1;
|
|
949
949
|
function lt() {
|
|
950
|
-
if (c1) return
|
|
950
|
+
if (c1) return F;
|
|
951
951
|
c1 = 1;
|
|
952
|
-
var A = typeof Symbol == "function" && Symbol.for, e = A ? Symbol.for("react.element") : 60103, r = A ? Symbol.for("react.portal") : 60106, n = A ? Symbol.for("react.fragment") : 60107, o = A ? Symbol.for("react.strict_mode") : 60108, i = A ? Symbol.for("react.profiler") : 60114, s = A ? Symbol.for("react.provider") : 60109, a = A ? Symbol.for("react.context") : 60110, c = A ? Symbol.for("react.async_mode") : 60111, d = A ? Symbol.for("react.concurrent_mode") : 60111, p = A ? Symbol.for("react.forward_ref") : 60112, g = A ? Symbol.for("react.suspense") : 60113, v = A ? Symbol.for("react.suspense_list") : 60120,
|
|
952
|
+
var A = typeof Symbol == "function" && Symbol.for, e = A ? Symbol.for("react.element") : 60103, r = A ? Symbol.for("react.portal") : 60106, n = A ? Symbol.for("react.fragment") : 60107, o = A ? Symbol.for("react.strict_mode") : 60108, i = A ? Symbol.for("react.profiler") : 60114, s = A ? Symbol.for("react.provider") : 60109, a = A ? Symbol.for("react.context") : 60110, c = A ? Symbol.for("react.async_mode") : 60111, d = A ? Symbol.for("react.concurrent_mode") : 60111, p = A ? Symbol.for("react.forward_ref") : 60112, g = A ? Symbol.for("react.suspense") : 60113, v = A ? Symbol.for("react.suspense_list") : 60120, y = A ? Symbol.for("react.memo") : 60115, C = A ? Symbol.for("react.lazy") : 60116, u = A ? Symbol.for("react.block") : 60121, b = A ? Symbol.for("react.fundamental") : 60117, I = A ? Symbol.for("react.responder") : 60118, S = A ? Symbol.for("react.scope") : 60119;
|
|
953
953
|
function h(l) {
|
|
954
954
|
if (typeof l == "object" && l !== null) {
|
|
955
|
-
var
|
|
956
|
-
switch (
|
|
955
|
+
var k = l.$$typeof;
|
|
956
|
+
switch (k) {
|
|
957
957
|
case e:
|
|
958
958
|
switch (l = l.type, l) {
|
|
959
959
|
case c:
|
|
@@ -968,50 +968,50 @@ function lt() {
|
|
|
968
968
|
case a:
|
|
969
969
|
case p:
|
|
970
970
|
case C:
|
|
971
|
-
case
|
|
971
|
+
case y:
|
|
972
972
|
case s:
|
|
973
973
|
return l;
|
|
974
974
|
default:
|
|
975
|
-
return
|
|
975
|
+
return k;
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
978
|
case r:
|
|
979
|
-
return
|
|
979
|
+
return k;
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
982
|
}
|
|
983
|
-
function
|
|
983
|
+
function w(l) {
|
|
984
984
|
return h(l) === d;
|
|
985
985
|
}
|
|
986
|
-
return
|
|
987
|
-
return
|
|
988
|
-
},
|
|
986
|
+
return F.AsyncMode = c, F.ConcurrentMode = d, F.ContextConsumer = a, F.ContextProvider = s, F.Element = e, F.ForwardRef = p, F.Fragment = n, F.Lazy = C, F.Memo = y, F.Portal = r, F.Profiler = i, F.StrictMode = o, F.Suspense = g, F.isAsyncMode = function(l) {
|
|
987
|
+
return w(l) || h(l) === c;
|
|
988
|
+
}, F.isConcurrentMode = w, F.isContextConsumer = function(l) {
|
|
989
989
|
return h(l) === a;
|
|
990
|
-
},
|
|
990
|
+
}, F.isContextProvider = function(l) {
|
|
991
991
|
return h(l) === s;
|
|
992
|
-
},
|
|
992
|
+
}, F.isElement = function(l) {
|
|
993
993
|
return typeof l == "object" && l !== null && l.$$typeof === e;
|
|
994
|
-
},
|
|
994
|
+
}, F.isForwardRef = function(l) {
|
|
995
995
|
return h(l) === p;
|
|
996
|
-
},
|
|
996
|
+
}, F.isFragment = function(l) {
|
|
997
997
|
return h(l) === n;
|
|
998
|
-
},
|
|
998
|
+
}, F.isLazy = function(l) {
|
|
999
999
|
return h(l) === C;
|
|
1000
|
-
},
|
|
1001
|
-
return h(l) ===
|
|
1002
|
-
},
|
|
1000
|
+
}, F.isMemo = function(l) {
|
|
1001
|
+
return h(l) === y;
|
|
1002
|
+
}, F.isPortal = function(l) {
|
|
1003
1003
|
return h(l) === r;
|
|
1004
|
-
},
|
|
1004
|
+
}, F.isProfiler = function(l) {
|
|
1005
1005
|
return h(l) === i;
|
|
1006
|
-
},
|
|
1006
|
+
}, F.isStrictMode = function(l) {
|
|
1007
1007
|
return h(l) === o;
|
|
1008
|
-
},
|
|
1008
|
+
}, F.isSuspense = function(l) {
|
|
1009
1009
|
return h(l) === g;
|
|
1010
|
-
},
|
|
1011
|
-
return typeof l == "string" || typeof l == "function" || l === n || l === d || l === i || l === o || l === g || l === v || typeof l == "object" && l !== null && (l.$$typeof === C || l.$$typeof ===
|
|
1012
|
-
},
|
|
1010
|
+
}, F.isValidElementType = function(l) {
|
|
1011
|
+
return typeof l == "string" || typeof l == "function" || l === n || l === d || l === i || l === o || l === g || l === v || typeof l == "object" && l !== null && (l.$$typeof === C || l.$$typeof === y || l.$$typeof === s || l.$$typeof === a || l.$$typeof === p || l.$$typeof === b || l.$$typeof === I || l.$$typeof === S || l.$$typeof === u);
|
|
1012
|
+
}, F.typeOf = h, F;
|
|
1013
1013
|
}
|
|
1014
|
-
var
|
|
1014
|
+
var N = {};
|
|
1015
1015
|
/** @license React v16.13.1
|
|
1016
1016
|
* react-is.development.js
|
|
1017
1017
|
*
|
|
@@ -1023,12 +1023,12 @@ var F = {};
|
|
|
1023
1023
|
var d1;
|
|
1024
1024
|
function ct() {
|
|
1025
1025
|
return d1 || (d1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1026
|
-
var A = typeof Symbol == "function" && Symbol.for, e = A ? Symbol.for("react.element") : 60103, r = A ? Symbol.for("react.portal") : 60106, n = A ? Symbol.for("react.fragment") : 60107, o = A ? Symbol.for("react.strict_mode") : 60108, i = A ? Symbol.for("react.profiler") : 60114, s = A ? Symbol.for("react.provider") : 60109, a = A ? Symbol.for("react.context") : 60110, c = A ? Symbol.for("react.async_mode") : 60111, d = A ? Symbol.for("react.concurrent_mode") : 60111, p = A ? Symbol.for("react.forward_ref") : 60112, g = A ? Symbol.for("react.suspense") : 60113, v = A ? Symbol.for("react.suspense_list") : 60120,
|
|
1026
|
+
var A = typeof Symbol == "function" && Symbol.for, e = A ? Symbol.for("react.element") : 60103, r = A ? Symbol.for("react.portal") : 60106, n = A ? Symbol.for("react.fragment") : 60107, o = A ? Symbol.for("react.strict_mode") : 60108, i = A ? Symbol.for("react.profiler") : 60114, s = A ? Symbol.for("react.provider") : 60109, a = A ? Symbol.for("react.context") : 60110, c = A ? Symbol.for("react.async_mode") : 60111, d = A ? Symbol.for("react.concurrent_mode") : 60111, p = A ? Symbol.for("react.forward_ref") : 60112, g = A ? Symbol.for("react.suspense") : 60113, v = A ? Symbol.for("react.suspense_list") : 60120, y = A ? Symbol.for("react.memo") : 60115, C = A ? Symbol.for("react.lazy") : 60116, u = A ? Symbol.for("react.block") : 60121, b = A ? Symbol.for("react.fundamental") : 60117, I = A ? Symbol.for("react.responder") : 60118, S = A ? Symbol.for("react.scope") : 60119;
|
|
1027
1027
|
function h(B) {
|
|
1028
1028
|
return typeof B == "string" || typeof B == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1029
|
-
B === n || B === d || B === i || B === o || B === g || B === v || typeof B == "object" && B !== null && (B.$$typeof === C || B.$$typeof ===
|
|
1029
|
+
B === n || B === d || B === i || B === o || B === g || B === v || typeof B == "object" && B !== null && (B.$$typeof === C || B.$$typeof === y || B.$$typeof === s || B.$$typeof === a || B.$$typeof === p || B.$$typeof === b || B.$$typeof === I || B.$$typeof === S || B.$$typeof === u);
|
|
1030
1030
|
}
|
|
1031
|
-
function
|
|
1031
|
+
function w(B) {
|
|
1032
1032
|
if (typeof B == "object" && B !== null) {
|
|
1033
1033
|
var be = B.$$typeof;
|
|
1034
1034
|
switch (be) {
|
|
@@ -1048,7 +1048,7 @@ function ct() {
|
|
|
1048
1048
|
case a:
|
|
1049
1049
|
case p:
|
|
1050
1050
|
case C:
|
|
1051
|
-
case
|
|
1051
|
+
case y:
|
|
1052
1052
|
case s:
|
|
1053
1053
|
return r1;
|
|
1054
1054
|
default:
|
|
@@ -1060,48 +1060,48 @@ function ct() {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
1062
|
}
|
|
1063
|
-
var l = c,
|
|
1064
|
-
function
|
|
1065
|
-
return
|
|
1063
|
+
var l = c, k = d, E = a, D = s, T = e, rA = p, V = n, J = C, $ = y, K = r, X = i, Z = o, q = g, U = !1;
|
|
1064
|
+
function AA(B) {
|
|
1065
|
+
return U || (U = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(B) || w(B) === c;
|
|
1066
1066
|
}
|
|
1067
1067
|
function f(B) {
|
|
1068
|
-
return
|
|
1068
|
+
return w(B) === d;
|
|
1069
1069
|
}
|
|
1070
1070
|
function x(B) {
|
|
1071
|
-
return
|
|
1071
|
+
return w(B) === a;
|
|
1072
1072
|
}
|
|
1073
1073
|
function M(B) {
|
|
1074
|
-
return
|
|
1074
|
+
return w(B) === s;
|
|
1075
1075
|
}
|
|
1076
1076
|
function L(B) {
|
|
1077
1077
|
return typeof B == "object" && B !== null && B.$$typeof === e;
|
|
1078
1078
|
}
|
|
1079
1079
|
function P(B) {
|
|
1080
|
-
return
|
|
1080
|
+
return w(B) === p;
|
|
1081
1081
|
}
|
|
1082
|
-
function
|
|
1083
|
-
return
|
|
1082
|
+
function tA(B) {
|
|
1083
|
+
return w(B) === n;
|
|
1084
1084
|
}
|
|
1085
1085
|
function aA(B) {
|
|
1086
|
-
return
|
|
1086
|
+
return w(B) === C;
|
|
1087
1087
|
}
|
|
1088
1088
|
function bA(B) {
|
|
1089
|
-
return
|
|
1089
|
+
return w(B) === y;
|
|
1090
1090
|
}
|
|
1091
1091
|
function Y(B) {
|
|
1092
|
-
return
|
|
1092
|
+
return w(B) === r;
|
|
1093
1093
|
}
|
|
1094
1094
|
function vA(B) {
|
|
1095
|
-
return
|
|
1095
|
+
return w(B) === i;
|
|
1096
1096
|
}
|
|
1097
1097
|
function HA(B) {
|
|
1098
|
-
return
|
|
1098
|
+
return w(B) === o;
|
|
1099
1099
|
}
|
|
1100
1100
|
function me(B) {
|
|
1101
|
-
return
|
|
1101
|
+
return w(B) === g;
|
|
1102
1102
|
}
|
|
1103
|
-
|
|
1104
|
-
}()),
|
|
1103
|
+
N.AsyncMode = l, N.ConcurrentMode = k, N.ContextConsumer = E, N.ContextProvider = D, N.Element = T, N.ForwardRef = rA, N.Fragment = V, N.Lazy = J, N.Memo = $, N.Portal = K, N.Profiler = X, N.StrictMode = Z, N.Suspense = q, N.isAsyncMode = AA, N.isConcurrentMode = f, N.isContextConsumer = x, N.isContextProvider = M, N.isElement = L, N.isForwardRef = P, N.isFragment = tA, N.isLazy = aA, N.isMemo = bA, N.isPortal = Y, N.isProfiler = vA, N.isStrictMode = HA, N.isSuspense = me, N.isValidElementType = h, N.typeOf = w;
|
|
1104
|
+
}()), N;
|
|
1105
1105
|
}
|
|
1106
1106
|
var p1;
|
|
1107
1107
|
function dt() {
|
|
@@ -1150,20 +1150,20 @@ function pt() {
|
|
|
1150
1150
|
return A.isMemo(C) ? o : i[C.$$typeof] || e;
|
|
1151
1151
|
}
|
|
1152
1152
|
var a = Object.defineProperty, c = Object.getOwnPropertyNames, d = Object.getOwnPropertySymbols, p = Object.getOwnPropertyDescriptor, g = Object.getPrototypeOf, v = Object.prototype;
|
|
1153
|
-
function
|
|
1153
|
+
function y(C, u, b) {
|
|
1154
1154
|
if (typeof u != "string") {
|
|
1155
1155
|
if (v) {
|
|
1156
1156
|
var I = g(u);
|
|
1157
|
-
I && I !== v &&
|
|
1157
|
+
I && I !== v && y(C, I, b);
|
|
1158
1158
|
}
|
|
1159
|
-
var
|
|
1160
|
-
d && (
|
|
1161
|
-
for (var h = s(C),
|
|
1162
|
-
var
|
|
1163
|
-
if (!r[
|
|
1164
|
-
var E = p(u,
|
|
1159
|
+
var S = c(u);
|
|
1160
|
+
d && (S = S.concat(d(u)));
|
|
1161
|
+
for (var h = s(C), w = s(u), l = 0; l < S.length; ++l) {
|
|
1162
|
+
var k = S[l];
|
|
1163
|
+
if (!r[k] && !(b && b[k]) && !(w && w[k]) && !(h && h[k])) {
|
|
1164
|
+
var E = p(u, k);
|
|
1165
1165
|
try {
|
|
1166
|
-
a(C,
|
|
1166
|
+
a(C, k, E);
|
|
1167
1167
|
} catch {
|
|
1168
1168
|
}
|
|
1169
1169
|
}
|
|
@@ -1171,7 +1171,7 @@ function pt() {
|
|
|
1171
1171
|
}
|
|
1172
1172
|
return C;
|
|
1173
1173
|
}
|
|
1174
|
-
return we =
|
|
1174
|
+
return we = y, we;
|
|
1175
1175
|
}
|
|
1176
1176
|
pt();
|
|
1177
1177
|
var ut = !0;
|
|
@@ -1407,7 +1407,7 @@ var wt = function(e) {
|
|
|
1407
1407
|
);
|
|
1408
1408
|
z1.Provider;
|
|
1409
1409
|
var It = function(e) {
|
|
1410
|
-
return /* @__PURE__ */
|
|
1410
|
+
return /* @__PURE__ */ iA(function(r, n) {
|
|
1411
1411
|
var o = wA(z1);
|
|
1412
1412
|
return e(r, o, n);
|
|
1413
1413
|
});
|
|
@@ -1442,16 +1442,16 @@ var It = function(e) {
|
|
|
1442
1442
|
return xe.call(r, "css") ? WA.jsxs(U1, J1(e, r), n) : WA.jsxs(e, r, n);
|
|
1443
1443
|
};
|
|
1444
1444
|
const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = () => {
|
|
1445
|
-
const { palette: A } = uA(), e =
|
|
1445
|
+
const { palette: A } = uA(), e = oA(
|
|
1446
1446
|
(s) => s === "white" ? "#fff" : s === "black" ? "#000" : s || A.text.primary,
|
|
1447
1447
|
[A.text.primary]
|
|
1448
|
-
), r =
|
|
1448
|
+
), r = oA(
|
|
1449
1449
|
(s) => s || A.primary.contrastText,
|
|
1450
1450
|
[A.primary.contrastText]
|
|
1451
|
-
), n =
|
|
1451
|
+
), n = oA(
|
|
1452
1452
|
(s) => s || A.text.primary,
|
|
1453
1453
|
[A.text.primary]
|
|
1454
|
-
), o =
|
|
1454
|
+
), o = oA(async (s, a, c) => {
|
|
1455
1455
|
if (c)
|
|
1456
1456
|
return import("./tracktor-logo-BZpNIZuZ.js");
|
|
1457
1457
|
switch (s) {
|
|
@@ -1462,7 +1462,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1462
1462
|
default:
|
|
1463
1463
|
return a === "dark" ? import("./tracktor-dark-CczqlSbH.js") : import("./tracktor-light-D8rOyXuS.js");
|
|
1464
1464
|
}
|
|
1465
|
-
}, []), i =
|
|
1465
|
+
}, []), i = oA(
|
|
1466
1466
|
({
|
|
1467
1467
|
variant: s,
|
|
1468
1468
|
width: a,
|
|
@@ -1491,13 +1491,13 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1491
1491
|
getTextColor: e
|
|
1492
1492
|
};
|
|
1493
1493
|
}, Ot = ({ colorShape: A, shapeBackgroundColor: e, color: r, height: n, width: o, withoutText: i, mode: s, sx: a, variant: c = "default", component: d = "img" }, p) => {
|
|
1494
|
-
const [g, v] = G(""), { palette:
|
|
1494
|
+
const [g, v] = G(""), { palette: y } = uA(), { getTextColor: C, getImageModule: u, getSize: b, getShapeColor: I, getShapeBackgroundColor: S } = Ht(), { height: h, width: w } = b({ height: n, variant: c, width: o, withoutText: i }), l = C(r), k = I(A), E = S(e);
|
|
1495
1495
|
if (qe(() => {
|
|
1496
1496
|
d !== "svg" && (async () => {
|
|
1497
|
-
const D = await u(c, s ||
|
|
1497
|
+
const D = await u(c, s || y.mode, i);
|
|
1498
1498
|
D?.default && typeof D.default == "string" && v(D.default);
|
|
1499
1499
|
})();
|
|
1500
|
-
}, [d, u, s,
|
|
1500
|
+
}, [d, u, s, y.mode, c, i]), d === "img")
|
|
1501
1501
|
return g ? /* @__PURE__ */ t(
|
|
1502
1502
|
R,
|
|
1503
1503
|
{
|
|
@@ -1505,7 +1505,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1505
1505
|
src: g,
|
|
1506
1506
|
alt: "Tracktor",
|
|
1507
1507
|
height: h,
|
|
1508
|
-
width:
|
|
1508
|
+
width: w,
|
|
1509
1509
|
ref: p,
|
|
1510
1510
|
sx: a
|
|
1511
1511
|
}
|
|
@@ -1519,14 +1519,14 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1519
1519
|
fontSize: 0,
|
|
1520
1520
|
height: h,
|
|
1521
1521
|
maxHeight: h,
|
|
1522
|
-
maxWidth:
|
|
1523
|
-
width:
|
|
1522
|
+
maxWidth: w,
|
|
1523
|
+
width: w
|
|
1524
1524
|
}
|
|
1525
1525
|
}
|
|
1526
1526
|
);
|
|
1527
1527
|
if (i) {
|
|
1528
|
-
const D = A ||
|
|
1529
|
-
return /* @__PURE__ */ m(R, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: h, width:
|
|
1528
|
+
const D = A || y.primary.main;
|
|
1529
|
+
return /* @__PURE__ */ m(R, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: h, width: w, ...a }, children: [
|
|
1530
1530
|
/* @__PURE__ */ t("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: D }),
|
|
1531
1531
|
/* @__PURE__ */ t("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: D }),
|
|
1532
1532
|
/* @__PURE__ */ t("path", { d: "M14.9955 16C14.9955 16 15.0056 16 14.9955 16V32H0C0 23.1576 6.71832 16 14.9955 16Z", fill: D }),
|
|
@@ -1539,7 +1539,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1539
1539
|
component: "svg",
|
|
1540
1540
|
viewBox: "0 0 147 44",
|
|
1541
1541
|
fill: "none",
|
|
1542
|
-
sx: { height: h, width:
|
|
1542
|
+
sx: { height: h, width: w, ...a },
|
|
1543
1543
|
ref: p,
|
|
1544
1544
|
children: [
|
|
1545
1545
|
/* @__PURE__ */ m("g", { clipPath: "url(#clip0_12018_69701)", children: [
|
|
@@ -1640,7 +1640,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1640
1640
|
component: "svg",
|
|
1641
1641
|
viewBox: "0 0 195 24",
|
|
1642
1642
|
fill: "none",
|
|
1643
|
-
sx: { height: h, width:
|
|
1643
|
+
sx: { height: h, width: w, ...a },
|
|
1644
1644
|
ref: p,
|
|
1645
1645
|
children: [
|
|
1646
1646
|
/* @__PURE__ */ t(
|
|
@@ -1651,20 +1651,20 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1651
1651
|
}
|
|
1652
1652
|
),
|
|
1653
1653
|
/* @__PURE__ */ m("g", { clipPath: "url(#clip0_14141_226706)", children: [
|
|
1654
|
-
/* @__PURE__ */ t("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill:
|
|
1655
|
-
/* @__PURE__ */ t("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill:
|
|
1654
|
+
/* @__PURE__ */ t("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: k }),
|
|
1655
|
+
/* @__PURE__ */ t("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: k }),
|
|
1656
1656
|
/* @__PURE__ */ t(
|
|
1657
1657
|
"path",
|
|
1658
1658
|
{
|
|
1659
1659
|
d: "M11.6364 12.3619C11.6371 12.3619 11.6378 12.3619 11.6386 12.3619V20H4C4.00073 15.7816 7.41898 12.3619 11.6364 12.3619Z",
|
|
1660
|
-
fill:
|
|
1660
|
+
fill: k
|
|
1661
1661
|
}
|
|
1662
1662
|
),
|
|
1663
1663
|
/* @__PURE__ */ t(
|
|
1664
1664
|
"path",
|
|
1665
1665
|
{
|
|
1666
1666
|
d: "M19.9978 12.3619C19.9986 12.3619 19.9993 12.3619 20 12.3619V20H12.3615C12.3622 15.7816 15.7804 12.3619 19.9978 12.3619Z",
|
|
1667
|
-
fill:
|
|
1667
|
+
fill: k
|
|
1668
1668
|
}
|
|
1669
1669
|
)
|
|
1670
1670
|
] }),
|
|
@@ -1742,7 +1742,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1742
1742
|
"path",
|
|
1743
1743
|
{
|
|
1744
1744
|
d: "M118.652 9.636V10.524H115.016V13.344H117.968V14.232H115.016V18H113.924V9.636H118.652ZM124.163 18.084C123.387 18.084 122.679 17.904 122.039 17.544C121.399 17.176 120.891 16.668 120.515 16.02C120.147 15.364 119.963 14.628 119.963 13.812C119.963 12.996 120.147 12.264 120.515 11.616C120.891 10.96 121.399 10.452 122.039 10.092C122.679 9.724 123.387 9.54 124.163 9.54C124.947 9.54 125.659 9.724 126.299 10.092C126.939 10.452 127.443 10.956 127.811 11.604C128.179 12.252 128.363 12.988 128.363 13.812C128.363 14.636 128.179 15.372 127.811 16.02C127.443 16.668 126.939 17.176 126.299 17.544C125.659 17.904 124.947 18.084 124.163 18.084ZM124.163 17.136C124.747 17.136 125.271 17 125.735 16.728C126.207 16.456 126.575 16.068 126.839 15.564C127.111 15.06 127.247 14.476 127.247 13.812C127.247 13.14 127.111 12.556 126.839 12.06C126.575 11.556 126.211 11.168 125.747 10.896C125.283 10.624 124.755 10.488 124.163 10.488C123.571 10.488 123.043 10.624 122.579 10.896C122.115 11.168 121.747 11.556 121.475 12.06C121.211 12.556 121.079 13.14 121.079 13.812C121.079 14.476 121.211 15.06 121.475 15.564C121.747 16.068 122.115 16.456 122.579 16.728C123.051 17 123.579 17.136 124.163 17.136ZM131.272 9.636V14.928C131.272 15.672 131.452 16.224 131.812 16.584C132.18 16.944 132.688 17.124 133.336 17.124C133.976 17.124 134.476 16.944 134.836 16.584C135.204 16.224 135.388 15.672 135.388 14.928V9.636H136.48V14.916C136.48 15.612 136.34 16.2 136.06 16.68C135.78 17.152 135.4 17.504 134.92 17.736C134.448 17.968 133.916 18.084 133.324 18.084C132.732 18.084 132.196 17.968 131.716 17.736C131.244 17.504 130.868 17.152 130.588 16.68C130.316 16.2 130.18 15.612 130.18 14.916V9.636H131.272ZM143.106 18L141.114 14.58H139.794V18H138.702V9.636H141.402C142.034 9.636 142.566 9.744 142.998 9.96C143.438 10.176 143.766 10.468 143.982 10.836C144.198 11.204 144.306 11.624 144.306 12.096C144.306 12.672 144.138 13.18 143.802 13.62C143.474 14.06 142.978 14.352 142.314 14.496L144.414 18H143.106ZM139.794 13.704H141.402C141.994 13.704 142.438 13.56 142.734 13.272C143.03 12.976 143.178 12.584 143.178 12.096C143.178 11.6 143.03 11.216 142.734 10.944C142.446 10.672 142.002 10.536 141.402 10.536H139.794V13.704ZM152.979 18H151.887L147.495 11.34V18H146.403V9.624H147.495L151.887 16.272V9.624H152.979V18ZM156.332 9.636V18H155.24V9.636H156.332ZM161.246 18.084C160.694 18.084 160.198 17.988 159.758 17.796C159.326 17.596 158.986 17.324 158.738 16.98C158.49 16.628 158.362 16.224 158.354 15.768H159.518C159.558 16.16 159.718 16.492 159.998 16.764C160.286 17.028 160.702 17.16 161.246 17.16C161.766 17.16 162.174 17.032 162.47 16.776C162.774 16.512 162.926 16.176 162.926 15.768C162.926 15.448 162.838 15.188 162.662 14.988C162.486 14.788 162.266 14.636 162.002 14.532C161.738 14.428 161.382 14.316 160.934 14.196C160.382 14.052 159.938 13.908 159.602 13.764C159.274 13.62 158.99 13.396 158.75 13.092C158.518 12.78 158.402 12.364 158.402 11.844C158.402 11.388 158.518 10.984 158.75 10.632C158.982 10.28 159.306 10.008 159.722 9.816C160.146 9.624 160.63 9.528 161.174 9.528C161.958 9.528 162.598 9.724 163.094 10.116C163.598 10.508 163.882 11.028 163.946 11.676H162.746C162.706 11.356 162.538 11.076 162.242 10.836C161.946 10.588 161.554 10.464 161.066 10.464C160.61 10.464 160.238 10.584 159.95 10.824C159.662 11.056 159.518 11.384 159.518 11.808C159.518 12.112 159.602 12.36 159.77 12.552C159.946 12.744 160.158 12.892 160.406 12.996C160.662 13.092 161.018 13.204 161.474 13.332C162.026 13.484 162.47 13.636 162.806 13.788C163.142 13.932 163.43 14.16 163.67 14.472C163.91 14.776 164.03 15.192 164.03 15.72C164.03 16.128 163.922 16.512 163.706 16.872C163.49 17.232 163.17 17.524 162.746 17.748C162.322 17.972 161.822 18.084 161.246 18.084ZM168.688 18.084C168.136 18.084 167.64 17.988 167.2 17.796C166.768 17.596 166.428 17.324 166.18 16.98C165.932 16.628 165.804 16.224 165.796 15.768H166.96C167 16.16 167.16 16.492 167.44 16.764C167.728 17.028 168.144 17.16 168.688 17.16C169.208 17.16 169.616 17.032 169.912 16.776C170.216 16.512 170.368 16.176 170.368 15.768C170.368 15.448 170.28 15.188 170.104 14.988C169.928 14.788 169.708 14.636 169.444 14.532C169.18 14.428 168.824 14.316 168.376 14.196C167.824 14.052 167.38 13.908 167.044 13.764C166.716 13.62 166.432 13.396 166.192 13.092C165.96 12.78 165.844 12.364 165.844 11.844C165.844 11.388 165.96 10.984 166.192 10.632C166.424 10.28 166.748 10.008 167.164 9.816C167.588 9.624 168.072 9.528 168.616 9.528C169.4 9.528 170.04 9.724 170.536 10.116C171.04 10.508 171.324 11.028 171.388 11.676H170.188C170.148 11.356 169.98 11.076 169.684 10.836C169.388 10.588 168.996 10.464 168.508 10.464C168.052 10.464 167.68 10.584 167.392 10.824C167.104 11.056 166.96 11.384 166.96 11.808C166.96 12.112 167.044 12.36 167.212 12.552C167.388 12.744 167.6 12.892 167.848 12.996C168.104 13.092 168.46 13.204 168.916 13.332C169.468 13.484 169.912 13.636 170.248 13.788C170.584 13.932 170.872 14.16 171.112 14.472C171.352 14.776 171.472 15.192 171.472 15.72C171.472 16.128 171.364 16.512 171.148 16.872C170.932 17.232 170.612 17.524 170.188 17.748C169.764 17.972 169.264 18.084 168.688 18.084ZM174.571 10.524V13.32H177.619V14.22H174.571V17.1H177.979V18H173.479V9.624H177.979V10.524H174.571ZM181.1 9.636V14.928C181.1 15.672 181.28 16.224 181.64 16.584C182.008 16.944 182.516 17.124 183.164 17.124C183.804 17.124 184.304 16.944 184.664 16.584C185.032 16.224 185.216 15.672 185.216 14.928V9.636H186.308V14.916C186.308 15.612 186.168 16.2 185.888 16.68C185.608 17.152 185.228 17.504 184.748 17.736C184.276 17.968 183.744 18.084 183.152 18.084C182.56 18.084 182.024 17.968 181.544 17.736C181.072 17.504 180.696 17.152 180.416 16.68C180.144 16.2 180.008 15.612 180.008 14.916V9.636H181.1ZM192.933 18L190.941 14.58H189.621V18H188.529V9.636H191.229C191.861 9.636 192.393 9.744 192.825 9.96C193.265 10.176 193.593 10.468 193.809 10.836C194.025 11.204 194.133 11.624 194.133 12.096C194.133 12.672 193.965 13.18 193.629 13.62C193.301 14.06 192.805 14.352 192.141 14.496L194.241 18H192.933ZM189.621 13.704H191.229C191.821 13.704 192.265 13.56 192.561 13.272C192.857 12.976 193.005 12.584 193.005 12.096C193.005 11.6 192.857 11.216 192.561 10.944C192.273 10.672 191.829 10.536 191.229 10.536H189.621V13.704Z",
|
|
1745
|
-
fill:
|
|
1745
|
+
fill: y.text.secondary
|
|
1746
1746
|
}
|
|
1747
1747
|
),
|
|
1748
1748
|
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_14141_226706", children: /* @__PURE__ */ t("rect", { width: "16", height: "16", fill: "white", transform: "translate(4 4)" }) }) })
|
|
@@ -1754,7 +1754,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1754
1754
|
component: "svg",
|
|
1755
1755
|
viewBox: "0 0 105 24",
|
|
1756
1756
|
fill: "none",
|
|
1757
|
-
sx: { height: h, width:
|
|
1757
|
+
sx: { height: h, width: w, ...a },
|
|
1758
1758
|
ref: p,
|
|
1759
1759
|
children: [
|
|
1760
1760
|
/* @__PURE__ */ t(
|
|
@@ -1765,20 +1765,20 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1765
1765
|
}
|
|
1766
1766
|
),
|
|
1767
1767
|
/* @__PURE__ */ m("g", { clipPath: "url(#clip0_14141_226601)", children: [
|
|
1768
|
-
/* @__PURE__ */ t("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill:
|
|
1769
|
-
/* @__PURE__ */ t("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill:
|
|
1768
|
+
/* @__PURE__ */ t("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: k }),
|
|
1769
|
+
/* @__PURE__ */ t("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: k }),
|
|
1770
1770
|
/* @__PURE__ */ t(
|
|
1771
1771
|
"path",
|
|
1772
1772
|
{
|
|
1773
1773
|
d: "M11.6364 12.3619C11.6371 12.3619 11.6378 12.3619 11.6386 12.3619V20H4C4.00073 15.7816 7.41898 12.3619 11.6364 12.3619Z",
|
|
1774
|
-
fill:
|
|
1774
|
+
fill: k
|
|
1775
1775
|
}
|
|
1776
1776
|
),
|
|
1777
1777
|
/* @__PURE__ */ t(
|
|
1778
1778
|
"path",
|
|
1779
1779
|
{
|
|
1780
1780
|
d: "M19.9978 12.3619C19.9986 12.3619 19.9993 12.3619 20 12.3619V20H12.3615C12.3622 15.7816 15.7804 12.3619 19.9978 12.3619Z",
|
|
1781
|
-
fill:
|
|
1781
|
+
fill: k
|
|
1782
1782
|
}
|
|
1783
1783
|
)
|
|
1784
1784
|
] }),
|
|
@@ -1856,7 +1856,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1856
1856
|
]
|
|
1857
1857
|
}
|
|
1858
1858
|
);
|
|
1859
|
-
}, Qt =
|
|
1859
|
+
}, Qt = iA(Ot), zn = ({ component: A = "a", ...e }) => /* @__PURE__ */ t(rr, { component: A, onClick: (r) => r.preventDefault(), ...e }), Vt = ({ children: A, sx: e, ...r }, n) => /* @__PURE__ */ t(
|
|
1860
1860
|
je,
|
|
1861
1861
|
{
|
|
1862
1862
|
sx: {
|
|
@@ -1876,7 +1876,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1876
1876
|
...r,
|
|
1877
1877
|
children: A
|
|
1878
1878
|
}
|
|
1879
|
-
), Jn =
|
|
1879
|
+
), Jn = iA(Vt), Ft = ({ className: A, style: e, minRows: r = 4, ...n }, o) => {
|
|
1880
1880
|
const { palette: i, shape: s, spacing: a } = uA();
|
|
1881
1881
|
return /* @__PURE__ */ m(mA, { children: [
|
|
1882
1882
|
/* @__PURE__ */ t(
|
|
@@ -1913,12 +1913,12 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
1913
1913
|
}
|
|
1914
1914
|
)
|
|
1915
1915
|
] });
|
|
1916
|
-
}, Un =
|
|
1916
|
+
}, Un = iA(Ft), Yn = ({ fullWidth: A, value: e, setValue: r, min: n = 1, max: o = 50, ...i }) => /* @__PURE__ */ t(
|
|
1917
1917
|
ue,
|
|
1918
1918
|
{
|
|
1919
1919
|
onChange: (g) => {
|
|
1920
|
-
const { target: v } = g,
|
|
1921
|
-
|
|
1920
|
+
const { target: v } = g, y = +v.value;
|
|
1921
|
+
y <= o && y >= n && r?.(y);
|
|
1922
1922
|
},
|
|
1923
1923
|
autoComplete: "off",
|
|
1924
1924
|
InputProps: {
|
|
@@ -2091,7 +2091,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
2091
2091
|
bottomLink: p,
|
|
2092
2092
|
NavLink: g,
|
|
2093
2093
|
Footer: v,
|
|
2094
|
-
Search:
|
|
2094
|
+
Search: y = e.Logo,
|
|
2095
2095
|
Logo: C = e.Logo
|
|
2096
2096
|
} = wA(DA), { palette: u } = uA(), b = u.mode === "dark" ? u.background.default : u.primary.black, I = o && s ? "none" : `solid 1px ${u.divider}`, h = r ? !(!o && !i) : !0;
|
|
2097
2097
|
return /* @__PURE__ */ m(
|
|
@@ -2139,11 +2139,11 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
2139
2139
|
]
|
|
2140
2140
|
}
|
|
2141
2141
|
),
|
|
2142
|
-
|
|
2142
|
+
y && h && /* @__PURE__ */ t(R, { p: 2, children: y }),
|
|
2143
2143
|
/* @__PURE__ */ t(R, { flex: 1, children: A }),
|
|
2144
|
-
p && /* @__PURE__ */ t(Q, { sx: IA.bottomLinkWrapper, spacing: 1, whiteSpace: "nowrap", children: Array.isArray(p) ? p.map((
|
|
2145
|
-
const
|
|
2146
|
-
return /* @__PURE__ */ t(x1, { link:
|
|
2144
|
+
p && /* @__PURE__ */ t(Q, { sx: IA.bottomLinkWrapper, spacing: 1, whiteSpace: "nowrap", children: Array.isArray(p) ? p.map((w, l) => {
|
|
2145
|
+
const k = typeof w == "object" && "url" in w ? `$${w.url}-${l}` : l;
|
|
2146
|
+
return /* @__PURE__ */ t(x1, { link: w, NavLink: g, isCollapsed: a, sx: IA }, k);
|
|
2147
2147
|
}) : /* @__PURE__ */ t(x1, { link: p, NavLink: g, isCollapsed: a, sx: IA }) }),
|
|
2148
2148
|
/* @__PURE__ */ t(ze, {}),
|
|
2149
2149
|
/* @__PURE__ */ t(R, { display: "flex", justifyContent: "flex-end", children: /* @__PURE__ */ t(
|
|
@@ -2232,8 +2232,8 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
2232
2232
|
if (UA(i))
|
|
2233
2233
|
return i;
|
|
2234
2234
|
if (i && typeof i == "object" && "label" in i) {
|
|
2235
|
-
const { count: a, url: c, label: d, icon: p, active: g, disabled: v, target:
|
|
2236
|
-
return /* @__PURE__ */ t(EA, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ t(A1, { url: c, component: r, active: g, disabled: v, target:
|
|
2235
|
+
const { count: a, url: c, label: d, icon: p, active: g, disabled: v, target: y } = i, C = `${c}-${d}-${s}`;
|
|
2236
|
+
return /* @__PURE__ */ t(EA, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ t(A1, { url: c, component: r, active: g, disabled: v, target: y, children: /* @__PURE__ */ m(Q, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
|
|
2237
2237
|
p ? /* @__PURE__ */ t(R, { component: "div", sx: Ee.iconWrapper, children: p }) : o && /* @__PURE__ */ t(R, { component: "div", sx: Ee.iconWrapper, children: typeof d == "string" ? d.charAt(0) : "" }),
|
|
2238
2238
|
/* @__PURE__ */ t(Je, { in: !o, children: /* @__PURE__ */ m(Q, { direction: "row", justifyContent: "space-between", flex: 1, whiteSpace: "nowrap", children: [
|
|
2239
2239
|
d,
|
|
@@ -2273,17 +2273,17 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
2273
2273
|
bottomLink: d,
|
|
2274
2274
|
sideBarWidth: p = 260
|
|
2275
2275
|
}) => {
|
|
2276
|
-
const { breakpoints: g } = uA(), v = JA(g.down("sm")),
|
|
2276
|
+
const { breakpoints: g } = uA(), v = JA(g.down("sm")), y = JA(g.between("sm", "md")), [C, u] = G(Qe.isDrawerOpen), [b, I] = G(Qe.isCollapsed), S = oA(() => {
|
|
2277
2277
|
u(!1);
|
|
2278
|
-
}, []), h =
|
|
2278
|
+
}, []), h = oA(() => {
|
|
2279
2279
|
u(!0);
|
|
2280
|
-
}, []),
|
|
2281
|
-
I((
|
|
2280
|
+
}, []), w = oA(() => {
|
|
2281
|
+
I((k) => !k);
|
|
2282
2282
|
}, []), l = YA(
|
|
2283
2283
|
() => ({
|
|
2284
2284
|
AppBar: A,
|
|
2285
2285
|
bottomLink: d,
|
|
2286
|
-
closeDrawerMenu:
|
|
2286
|
+
closeDrawerMenu: S,
|
|
2287
2287
|
disableResponsive: a,
|
|
2288
2288
|
enableSearchFocusShortcut: s,
|
|
2289
2289
|
Footer: o,
|
|
@@ -2291,21 +2291,21 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
2291
2291
|
isCollapsed: b,
|
|
2292
2292
|
isDrawerOpen: C,
|
|
2293
2293
|
isMobile: v,
|
|
2294
|
-
isTablet:
|
|
2294
|
+
isTablet: y,
|
|
2295
2295
|
items: i,
|
|
2296
2296
|
Logo: n,
|
|
2297
2297
|
NavLink: e,
|
|
2298
2298
|
openDrawerMenu: h,
|
|
2299
2299
|
Search: r,
|
|
2300
2300
|
sideBarWidth: p,
|
|
2301
|
-
toggleCollapse:
|
|
2301
|
+
toggleCollapse: w
|
|
2302
2302
|
}),
|
|
2303
2303
|
[
|
|
2304
|
-
|
|
2304
|
+
S,
|
|
2305
2305
|
a,
|
|
2306
2306
|
C,
|
|
2307
2307
|
v,
|
|
2308
|
-
|
|
2308
|
+
y,
|
|
2309
2309
|
i,
|
|
2310
2310
|
h,
|
|
2311
2311
|
p,
|
|
@@ -2318,7 +2318,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
2318
2318
|
A,
|
|
2319
2319
|
o,
|
|
2320
2320
|
b,
|
|
2321
|
-
|
|
2321
|
+
w
|
|
2322
2322
|
]
|
|
2323
2323
|
);
|
|
2324
2324
|
return /* @__PURE__ */ t(DA.Provider, { value: l, children: /* @__PURE__ */ t(zt, {}) });
|
|
@@ -2326,7 +2326,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
2326
2326
|
large: 80,
|
|
2327
2327
|
medium: 50,
|
|
2328
2328
|
small: 40
|
|
2329
|
-
}, Yt = ({ children: A, ...e }, r) => /* @__PURE__ */ t(je, { component: "li", ref: r, ...e, children: A }), Wt =
|
|
2329
|
+
}, Yt = ({ children: A, ...e }, r) => /* @__PURE__ */ t(je, { component: "li", ref: r, ...e, children: A }), Wt = iA(Yt), Gt = ({ children: A, isEmpty: e, isLoading: r, emptyMessage: n, sx: o, height: i, onClick: s, size: a = "medium", ...c }, d) => r ? /* @__PURE__ */ t(cA, { width: "100%", variant: "rounded", height: i || y1[a], sx: { marginBottom: 1 }, ref: d, component: "li" }) : e ? /* @__PURE__ */ t(EA, { disablePadding: !0, children: /* @__PURE__ */ t(Ue, { severity: "info", sx: { width: "100%" }, ref: d, children: n || Ut }) }) : /* @__PURE__ */ t(
|
|
2330
2330
|
EA,
|
|
2331
2331
|
{
|
|
2332
2332
|
component: Wt,
|
|
@@ -2350,7 +2350,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
2350
2350
|
...c,
|
|
2351
2351
|
children: /* @__PURE__ */ t(R, { flex: "auto", minWidth: 0, children: A })
|
|
2352
2352
|
}
|
|
2353
|
-
), Gn = T1(
|
|
2353
|
+
), Gn = T1(iA(Gt)), qt = ["warning", "info", "success", "error", "primary", "secondary"], Xt = (A) => qt.includes(A), _t = ({ color: A, sx: e, variant: r = "filled", fontSize: n = "medium" }, o) => {
|
|
2354
2354
|
const { palette: i } = uA(), s = i.mode === "dark" ? i.text.disabled : i.grey[400], a = A || s, c = Xt(A) ? i?.[A]?.main : a, d = fA(c, 0.2);
|
|
2355
2355
|
return /* @__PURE__ */ m(
|
|
2356
2356
|
pA,
|
|
@@ -2369,7 +2369,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
2369
2369
|
]
|
|
2370
2370
|
}
|
|
2371
2371
|
);
|
|
2372
|
-
}, oe =
|
|
2372
|
+
}, oe = iA(_t), $t = {
|
|
2373
2373
|
large: 17,
|
|
2374
2374
|
medium: 16,
|
|
2375
2375
|
small: 15
|
|
@@ -2454,7 +2454,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
2454
2454
|
)
|
|
2455
2455
|
}
|
|
2456
2456
|
);
|
|
2457
|
-
}, w1 =
|
|
2457
|
+
}, w1 = iA(An), W1 = ({ children: A, open: e, onClose: r, src: n, ...o }) => {
|
|
2458
2458
|
const [i, s] = G(!1), a = () => {
|
|
2459
2459
|
s(!0);
|
|
2460
2460
|
}, c = (d, p) => (d && (r?.(d, p), s(!1)), (g) => {
|
|
@@ -2527,7 +2527,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
2527
2527
|
children: A
|
|
2528
2528
|
}
|
|
2529
2529
|
) : null;
|
|
2530
|
-
}, qn =
|
|
2530
|
+
}, qn = iA(rn), Xn = ({
|
|
2531
2531
|
isLoading: A,
|
|
2532
2532
|
children: e,
|
|
2533
2533
|
emptyText: r,
|
|
@@ -2569,7 +2569,7 @@ const C1 = 32, Mt = 24, Rt = 105, Pt = 24, Tt = 195, Lt = 44, Dt = 147, Ht = ()
|
|
|
2569
2569
|
height: _.medium.secondary,
|
|
2570
2570
|
width: _.medium.secondary
|
|
2571
2571
|
};
|
|
2572
|
-
}, G1 =
|
|
2572
|
+
}, G1 = iA(
|
|
2573
2573
|
({ secondarySrc: A, secondaryAvatarProps: e, size: r, ...n }, o) => {
|
|
2574
2574
|
if (A || e) {
|
|
2575
2575
|
const i = r ? _[r].primary : de(Ve(n.sx) ? n.sx.width : void 0), s = r ? _[r].primary : de(Ve(n.sx) ? n.sx.height : void 0), a = tn(n?.sx, r), c = a.width / 3, d = a.height / 3;
|
|
@@ -2645,9 +2645,9 @@ const nn = (A, e) => {
|
|
|
2645
2645
|
height: a = 64,
|
|
2646
2646
|
alt: c = "Article"
|
|
2647
2647
|
}) => {
|
|
2648
|
-
const [d, p] = G(!1), [g, v] = G(!1), { borderRadius:
|
|
2648
|
+
const [d, p] = G(!1), [g, v] = G(!1), { borderRadius: y, padding: C } = nn(s, a), u = { borderRadius: y, flexShrink: 0 }, b = A && !d && !g, I = !A || g, S = A?.endsWith(".png") || A?.endsWith(".svg") || A?.endsWith(".gif") || A?.endsWith(".webp") || !1, h = () => {
|
|
2649
2649
|
v(!1), p(!0);
|
|
2650
|
-
},
|
|
2650
|
+
}, w = () => {
|
|
2651
2651
|
v(!0), p(!1);
|
|
2652
2652
|
};
|
|
2653
2653
|
return /* @__PURE__ */ m(
|
|
@@ -2663,7 +2663,7 @@ const nn = (A, e) => {
|
|
|
2663
2663
|
title: i
|
|
2664
2664
|
},
|
|
2665
2665
|
alt: c,
|
|
2666
|
-
onError:
|
|
2666
|
+
onError: w,
|
|
2667
2667
|
onLoad: h,
|
|
2668
2668
|
sx: {
|
|
2669
2669
|
...u,
|
|
@@ -2673,7 +2673,7 @@ const nn = (A, e) => {
|
|
|
2673
2673
|
},
|
|
2674
2674
|
background: ({ palette: l }) => l.grey[100],
|
|
2675
2675
|
height: a,
|
|
2676
|
-
padding:
|
|
2676
|
+
padding: S || I ? C : 0,
|
|
2677
2677
|
width: s,
|
|
2678
2678
|
...o
|
|
2679
2679
|
},
|
|
@@ -2797,39 +2797,39 @@ const nn = (A, e) => {
|
|
|
2797
2797
|
open: p,
|
|
2798
2798
|
onClose: g,
|
|
2799
2799
|
onClickThumb: v,
|
|
2800
|
-
variant:
|
|
2800
|
+
variant: y,
|
|
2801
2801
|
height: C = 152,
|
|
2802
2802
|
width: u = 220
|
|
2803
2803
|
}) => {
|
|
2804
|
-
const [b, I] = G(!1), [
|
|
2804
|
+
const [b, I] = G(!1), [S, h] = G(!1), [w, l] = G(!0), k = A?.toLowerCase(), E = !k?.endsWith(".pdf") && !k?.startsWith("blob:") && !k?.endsWith(".eml"), D = k?.endsWith(".pdf"), T = c ? 1 : 0.8, rA = d ? !0 : !w, V = Fe(A) || Fe(e), J = (E || D) && !V && rA && !S && !c && A, $ = A?.split(".").pop()?.toLowerCase(), K = r || A?.split("/").pop()?.split("?")[0] || "", X = () => V ? q1 : S ? an : e || A || void 0, Z = () => {
|
|
2805
2805
|
I((x) => !x);
|
|
2806
|
-
},
|
|
2806
|
+
}, q = () => {
|
|
2807
2807
|
I(!1), g?.();
|
|
2808
|
-
},
|
|
2808
|
+
}, U = () => {
|
|
2809
2809
|
h(!0);
|
|
2810
|
-
},
|
|
2810
|
+
}, AA = () => {
|
|
2811
2811
|
l(!1);
|
|
2812
2812
|
};
|
|
2813
2813
|
return /* @__PURE__ */ m(mA, { children: [
|
|
2814
|
-
!d && !n && /* @__PURE__ */ t(Be, { title:
|
|
2814
|
+
!d && !n && /* @__PURE__ */ t(Be, { title: V ? K : "", children: /* @__PURE__ */ m(
|
|
2815
2815
|
R,
|
|
2816
2816
|
{
|
|
2817
2817
|
"data-test": "fileViewer",
|
|
2818
2818
|
width: u,
|
|
2819
2819
|
height: C,
|
|
2820
2820
|
onClick: async () => {
|
|
2821
|
-
if (
|
|
2821
|
+
if (V && A) {
|
|
2822
2822
|
const M = await (await fetch(A)).blob(), L = window.URL.createObjectURL(M), P = document.createElement("a");
|
|
2823
|
-
P.href = L, P.download =
|
|
2823
|
+
P.href = L, P.download = K, P.target = "_blank", document.body.appendChild(P), P.click(), setTimeout(() => {
|
|
2824
2824
|
document.body.removeChild(P), window.URL.revokeObjectURL(L);
|
|
2825
2825
|
}, 100);
|
|
2826
2826
|
}
|
|
2827
|
-
v?.(),
|
|
2827
|
+
v?.(), Z();
|
|
2828
2828
|
},
|
|
2829
2829
|
sx: {
|
|
2830
2830
|
...FA.container,
|
|
2831
2831
|
":hover": { opacity: T },
|
|
2832
|
-
borderRadius:
|
|
2832
|
+
borderRadius: y === "rounded" ? 1 : "0",
|
|
2833
2833
|
cursor: c ? "default" : "pointer",
|
|
2834
2834
|
pointerEvents: c ? "none" : "auto",
|
|
2835
2835
|
...o
|
|
@@ -2842,22 +2842,22 @@ const nn = (A, e) => {
|
|
|
2842
2842
|
width: "100%",
|
|
2843
2843
|
component: E ? "img" : "iframe",
|
|
2844
2844
|
height: E ? "100%" : "auto",
|
|
2845
|
-
src:
|
|
2846
|
-
onError:
|
|
2847
|
-
onLoad:
|
|
2845
|
+
src: X(),
|
|
2846
|
+
onError: U,
|
|
2847
|
+
onLoad: AA,
|
|
2848
2848
|
sx: {
|
|
2849
2849
|
...FA.thumb,
|
|
2850
|
-
objectFit:
|
|
2851
|
-
padding:
|
|
2850
|
+
objectFit: V ? "contain" : "cover",
|
|
2851
|
+
padding: V ? "15%" : 0
|
|
2852
2852
|
}
|
|
2853
2853
|
},
|
|
2854
|
-
|
|
2854
|
+
X()
|
|
2855
2855
|
),
|
|
2856
|
-
|
|
2856
|
+
V && /* @__PURE__ */ t(z, { sx: FA.extension, variant: "body3", color: "black", children: $ })
|
|
2857
2857
|
]
|
|
2858
2858
|
}
|
|
2859
2859
|
) }),
|
|
2860
|
-
|
|
2860
|
+
J && /* @__PURE__ */ t(W1, { open: p !== void 0 && (D || E) ? p : b, onClose: q, src: A, title: r, children: /* @__PURE__ */ t(
|
|
2861
2861
|
R,
|
|
2862
2862
|
{
|
|
2863
2863
|
component: D ? "iframe" : "img",
|
|
@@ -2873,7 +2873,7 @@ const nn = (A, e) => {
|
|
|
2873
2873
|
n && /* @__PURE__ */ t(
|
|
2874
2874
|
R,
|
|
2875
2875
|
{
|
|
2876
|
-
onClick:
|
|
2876
|
+
onClick: Z,
|
|
2877
2877
|
sx: {
|
|
2878
2878
|
":hover": { opacity: T },
|
|
2879
2879
|
cursor: "pointer"
|
|
@@ -2897,7 +2897,7 @@ const nn = (A, e) => {
|
|
|
2897
2897
|
Footer: g,
|
|
2898
2898
|
Collapse: v
|
|
2899
2899
|
}) => {
|
|
2900
|
-
const [
|
|
2900
|
+
const [y, C] = G(!1), u = v || !!a?.length;
|
|
2901
2901
|
return qe(() => {
|
|
2902
2902
|
c && C(!0);
|
|
2903
2903
|
}, [c]), /* @__PURE__ */ m(Q, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
|
|
@@ -2961,7 +2961,7 @@ const nn = (A, e) => {
|
|
|
2961
2961
|
X1,
|
|
2962
2962
|
{
|
|
2963
2963
|
sx: {
|
|
2964
|
-
transform:
|
|
2964
|
+
transform: y ? "rotate(180deg)" : "rotate(0deg)",
|
|
2965
2965
|
transition: "transform 0.3s"
|
|
2966
2966
|
}
|
|
2967
2967
|
}
|
|
@@ -2985,9 +2985,9 @@ const nn = (A, e) => {
|
|
|
2985
2985
|
)
|
|
2986
2986
|
] }),
|
|
2987
2987
|
g,
|
|
2988
|
-
v && /* @__PURE__ */ t(t1, { in:
|
|
2989
|
-
!!a?.length && /* @__PURE__ */ t(t1, { in:
|
|
2990
|
-
const
|
|
2988
|
+
v && /* @__PURE__ */ t(t1, { in: y, children: v }),
|
|
2989
|
+
!!a?.length && /* @__PURE__ */ t(t1, { in: y, children: /* @__PURE__ */ t(Q, { marginTop: 3, spacing: 3, children: a?.map((b, I) => {
|
|
2990
|
+
const S = `${b.title}-${I}`, h = Array.isArray(b?.file) ? b?.file : [b?.file], w = h.length > 0 ? h[0] : null;
|
|
2991
2991
|
return /* @__PURE__ */ m(Q, { direction: "row", spacing: 1, minWidth: 0, children: [
|
|
2992
2992
|
/* @__PURE__ */ t(sn, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
|
|
2993
2993
|
/* @__PURE__ */ m(Q, { minWidth: 0, children: [
|
|
@@ -3032,10 +3032,10 @@ const nn = (A, e) => {
|
|
|
3032
3032
|
}
|
|
3033
3033
|
) }),
|
|
3034
3034
|
b?.file && /* @__PURE__ */ m(Q, { direction: "row", marginTop: 1, spacing: 0.5, children: [
|
|
3035
|
-
|
|
3035
|
+
w && (typeof w == "string" ? /* @__PURE__ */ t(
|
|
3036
3036
|
pe,
|
|
3037
3037
|
{
|
|
3038
|
-
src:
|
|
3038
|
+
src: w,
|
|
3039
3039
|
sx: {
|
|
3040
3040
|
borderRadius: 0.5,
|
|
3041
3041
|
cursor: "pointer",
|
|
@@ -3046,9 +3046,9 @@ const nn = (A, e) => {
|
|
|
3046
3046
|
) : /* @__PURE__ */ t(
|
|
3047
3047
|
pe,
|
|
3048
3048
|
{
|
|
3049
|
-
src:
|
|
3050
|
-
srcThumb:
|
|
3051
|
-
fileName:
|
|
3049
|
+
src: w.src || "",
|
|
3050
|
+
srcThumb: w.srcThumb,
|
|
3051
|
+
fileName: w.fileName,
|
|
3052
3052
|
sx: {
|
|
3053
3053
|
borderRadius: 0.5,
|
|
3054
3054
|
cursor: "pointer",
|
|
@@ -3074,7 +3074,7 @@ const nn = (A, e) => {
|
|
|
3074
3074
|
)
|
|
3075
3075
|
] })
|
|
3076
3076
|
] })
|
|
3077
|
-
] },
|
|
3077
|
+
] }, S);
|
|
3078
3078
|
}) }) })
|
|
3079
3079
|
]
|
|
3080
3080
|
}
|
|
@@ -3130,8 +3130,8 @@ const nn = (A, e) => {
|
|
|
3130
3130
|
] })
|
|
3131
3131
|
] }) }) : !A?.length && !e ? /* @__PURE__ */ t(Ie, { sx: n, children: /* @__PURE__ */ t(Ue, { severity: "info", children: r }) }) : /* @__PURE__ */ m(mA, { children: [
|
|
3132
3132
|
/* @__PURE__ */ t(Ie, { sx: n, "data-test": i, "data-testid": s, children: A?.map(
|
|
3133
|
-
({ Action: d, Collapse: p, collapseItems: g, collapseDefaultOpen: v, subtitle:
|
|
3134
|
-
const
|
|
3133
|
+
({ Action: d, Collapse: p, collapseItems: g, collapseDefaultOpen: v, subtitle: y, key: C, active: u, Footer: b, Icon: I, onClick: S, tag: h, title: w }, l) => {
|
|
3134
|
+
const k = `${C}-${l}-${w}`, E = l === A.length - 1;
|
|
3135
3135
|
return /* @__PURE__ */ t(
|
|
3136
3136
|
ln,
|
|
3137
3137
|
{
|
|
@@ -3141,15 +3141,15 @@ const nn = (A, e) => {
|
|
|
3141
3141
|
collapseDefaultOpen: v,
|
|
3142
3142
|
collapseItems: g,
|
|
3143
3143
|
active: u,
|
|
3144
|
-
title:
|
|
3145
|
-
subtitle:
|
|
3144
|
+
title: w,
|
|
3145
|
+
subtitle: y,
|
|
3146
3146
|
Icon: I,
|
|
3147
3147
|
isLastElement: E,
|
|
3148
|
-
onClick:
|
|
3148
|
+
onClick: S,
|
|
3149
3149
|
tag: h,
|
|
3150
3150
|
variant: o
|
|
3151
3151
|
},
|
|
3152
|
-
|
|
3152
|
+
k
|
|
3153
3153
|
);
|
|
3154
3154
|
}
|
|
3155
3155
|
) }),
|
|
@@ -3465,7 +3465,7 @@ const nn = (A, e) => {
|
|
|
3465
3465
|
},
|
|
3466
3466
|
...e
|
|
3467
3467
|
}
|
|
3468
|
-
), un =
|
|
3468
|
+
), un = iA(({ sx: A, slotProps: e, type: r = "search", ...n }, o) => /* @__PURE__ */ t(
|
|
3469
3469
|
ue,
|
|
3470
3470
|
{
|
|
3471
3471
|
fullWidth: !0,
|
|
@@ -3519,9 +3519,9 @@ const nn = (A, e) => {
|
|
|
3519
3519
|
...n
|
|
3520
3520
|
}
|
|
3521
3521
|
)), fn = () => {
|
|
3522
|
-
const [A, e] = G(null), r = !!A, n =
|
|
3522
|
+
const [A, e] = G(null), r = !!A, n = oA(() => {
|
|
3523
3523
|
e(null);
|
|
3524
|
-
}, []), o =
|
|
3524
|
+
}, []), o = oA(({ currentTarget: i }) => {
|
|
3525
3525
|
e(i);
|
|
3526
3526
|
}, []);
|
|
3527
3527
|
return {
|
|
@@ -3544,9 +3544,9 @@ const nn = (A, e) => {
|
|
|
3544
3544
|
onClickBurger: p,
|
|
3545
3545
|
sx: g,
|
|
3546
3546
|
position: v = "static",
|
|
3547
|
-
elevation:
|
|
3547
|
+
elevation: y = 0
|
|
3548
3548
|
}) => {
|
|
3549
|
-
const { breakpoints: C } = uA(), { closeMenu: u, isMenuOpen: b, anchorMenu: I, openMenu:
|
|
3549
|
+
const { breakpoints: C } = uA(), { closeMenu: u, isMenuOpen: b, anchorMenu: I, openMenu: S } = fn(), { menuItems: h, ...w } = i || {}, l = JA(C.down("sm")), k = JA(C.between("sm", "md")), E = l || k, D = {
|
|
3550
3550
|
logoContainer: {
|
|
3551
3551
|
a: {
|
|
3552
3552
|
display: "flex"
|
|
@@ -3576,8 +3576,8 @@ const nn = (A, e) => {
|
|
|
3576
3576
|
paddingX: l ? 1 : 3,
|
|
3577
3577
|
...g
|
|
3578
3578
|
};
|
|
3579
|
-
return d ? /* @__PURE__ */ t(Se, { position: v, elevation:
|
|
3580
|
-
/* @__PURE__ */ t(Se, { position: v, elevation:
|
|
3579
|
+
return d ? /* @__PURE__ */ t(Se, { position: v, elevation: y, sx: D, children: d }) : /* @__PURE__ */ m(mA, { children: [
|
|
3580
|
+
/* @__PURE__ */ t(Se, { position: v, elevation: y, sx: D, children: /* @__PURE__ */ m(Q, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
|
|
3581
3581
|
E && /* @__PURE__ */ t(gA, { onClick: p, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ t(Y1, {}) }),
|
|
3582
3582
|
E || n === null ? null : /* @__PURE__ */ t(R, { sx: D.logoContainer, children: n || /* @__PURE__ */ t(Qt, { mode: "dark", ...c }) }),
|
|
3583
3583
|
/* @__PURE__ */ m(Q, { alignItems: "center", direction: "row", justifyContent: l ? "flex-end" : "center", spacing: 1, flex: 1, children: [
|
|
@@ -3589,12 +3589,12 @@ const nn = (A, e) => {
|
|
|
3589
3589
|
A === null ? null : A || /* @__PURE__ */ t(
|
|
3590
3590
|
pn,
|
|
3591
3591
|
{
|
|
3592
|
-
...
|
|
3592
|
+
...w,
|
|
3593
3593
|
sx: {
|
|
3594
3594
|
cursor: h ? "pointer" : "default"
|
|
3595
3595
|
},
|
|
3596
3596
|
onClick: (T) => {
|
|
3597
|
-
|
|
3597
|
+
S(T), i?.onClick?.(T);
|
|
3598
3598
|
}
|
|
3599
3599
|
}
|
|
3600
3600
|
)
|
|
@@ -3619,19 +3619,19 @@ const nn = (A, e) => {
|
|
|
3619
3619
|
}
|
|
3620
3620
|
}
|
|
3621
3621
|
},
|
|
3622
|
-
children: h?.map((T,
|
|
3622
|
+
children: h?.map((T, rA) => {
|
|
3623
3623
|
if (UA(T)) {
|
|
3624
3624
|
if (T.key)
|
|
3625
3625
|
return T;
|
|
3626
|
-
const
|
|
3627
|
-
return Xe(T, { key:
|
|
3626
|
+
const V = `${h}-${rA}`;
|
|
3627
|
+
return Xe(T, { key: V });
|
|
3628
3628
|
}
|
|
3629
3629
|
if (T && typeof T == "object" && "url" in T) {
|
|
3630
|
-
const { url:
|
|
3631
|
-
return /* @__PURE__ */ t(lr, { sx: D.menuItem, onClick: u, children: /* @__PURE__ */ m(A1, { url:
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
] },
|
|
3630
|
+
const { url: V, label: J, icon: $, active: K, end: X, state: Z } = T, q = `${V}-${J}-${rA}`;
|
|
3631
|
+
return /* @__PURE__ */ t(lr, { sx: D.menuItem, onClick: u, children: /* @__PURE__ */ m(A1, { url: V, component: o, active: K, end: X, state: Z, children: [
|
|
3632
|
+
$ && /* @__PURE__ */ t(cr, { children: $ }),
|
|
3633
|
+
J && /* @__PURE__ */ t(BA, { children: J })
|
|
3634
|
+
] }, q) }, q);
|
|
3635
3635
|
}
|
|
3636
3636
|
return null;
|
|
3637
3637
|
})
|
|
@@ -3674,7 +3674,7 @@ const nn = (A, e) => {
|
|
|
3674
3674
|
...i
|
|
3675
3675
|
}
|
|
3676
3676
|
);
|
|
3677
|
-
}, eo =
|
|
3677
|
+
}, eo = iA(Cn), xn = ({ fontSize: A, sx: e, color: r = "currentColor" }) => /* @__PURE__ */ m(pA, { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: A, sx: e, children: [
|
|
3678
3678
|
/* @__PURE__ */ t("g", { clipPath: "url(#clip0_12914_201806)", children: /* @__PURE__ */ t(
|
|
3679
3679
|
"path",
|
|
3680
3680
|
{
|
|
@@ -4709,10 +4709,10 @@ const nn = (A, e) => {
|
|
|
4709
4709
|
font: a = k1
|
|
4710
4710
|
}) => {
|
|
4711
4711
|
const c = { ...k1, ...a }, d = c?.googleFontName || Ne.typography.fontFamily?.split(",")[0], p = c?.fontWeight?.join(";"), g = YA(() => ({ language: s }), [s]), v = YA(() => {
|
|
4712
|
-
const
|
|
4712
|
+
const y = typeof i == "object" ? i : {}, C = {
|
|
4713
4713
|
...s === "fr" && mn
|
|
4714
4714
|
};
|
|
4715
|
-
return i === "dark" || typeof i == "object" && "palette" in i && i?.palette?.mode === "dark" ? MA($1,
|
|
4715
|
+
return i === "dark" || typeof i == "object" && "palette" in i && i?.palette?.mode === "dark" ? MA($1, y, C) : !i || i === "light" || typeof i == "object" && "palette" in i && i?.palette?.mode === "light" ? MA(_1, y, C) : MA(Ne, y, C);
|
|
4716
4716
|
}, [i, s]);
|
|
4717
4717
|
return /* @__PURE__ */ t(K1.Provider, { value: g, children: /* @__PURE__ */ m(pr, { theme: v, children: [
|
|
4718
4718
|
/* @__PURE__ */ t(
|
|
@@ -4769,7 +4769,7 @@ const nn = (A, e) => {
|
|
|
4769
4769
|
return o.length > 10 && e ? `${o.substring(0, 10)}(...).${i}` : o;
|
|
4770
4770
|
}).join(" • ");
|
|
4771
4771
|
return A.length > S1 ? `${n} + ${A.length - S1}` : n;
|
|
4772
|
-
}, no =
|
|
4772
|
+
}, no = iA(
|
|
4773
4773
|
({
|
|
4774
4774
|
accept: A,
|
|
4775
4775
|
name: e,
|
|
@@ -4784,40 +4784,41 @@ const nn = (A, e) => {
|
|
|
4784
4784
|
fullWidth: p,
|
|
4785
4785
|
icon: g,
|
|
4786
4786
|
onChange: v,
|
|
4787
|
-
label:
|
|
4787
|
+
label: y,
|
|
4788
4788
|
pattern: C,
|
|
4789
4789
|
title: u,
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4790
|
+
value: b,
|
|
4791
|
+
variant: I = "vertical"
|
|
4792
|
+
}, S) => {
|
|
4793
|
+
const [h, w] = G(null), { t: l } = Ar(), { palette: k } = uA(), E = I === "vertical", D = a || e, T = Te(null), rA = Te(null), V = b !== void 0 ? b : h, J = Bn(V);
|
|
4794
|
+
kr(S, () => rA.current);
|
|
4795
|
+
const $ = (Z) => {
|
|
4796
|
+
v?.(Z), w(Z.target.files);
|
|
4796
4797
|
};
|
|
4797
4798
|
return /* @__PURE__ */ m(
|
|
4798
4799
|
ur,
|
|
4799
4800
|
{
|
|
4800
|
-
ref:
|
|
4801
|
-
htmlFor:
|
|
4801
|
+
ref: T,
|
|
4802
|
+
htmlFor: D,
|
|
4802
4803
|
onDragOver: (Z) => {
|
|
4803
4804
|
Z.preventDefault();
|
|
4804
4805
|
},
|
|
4805
4806
|
onDrop: (Z) => {
|
|
4806
4807
|
if (Z.preventDefault(), Z.dataTransfer.files.length > 0) {
|
|
4807
|
-
const
|
|
4808
|
-
|
|
4808
|
+
const q = rA.current, U = Z.dataTransfer.files;
|
|
4809
|
+
w(U);
|
|
4809
4810
|
const AA = new DataTransfer();
|
|
4810
|
-
Array.from(
|
|
4811
|
+
Array.from(U).forEach((f) => AA.items.add(f)), q && (q.files = AA.files), q?.focus(), q?.blur(), v?.({ ...Z, target: q }), Z.dataTransfer.clearData();
|
|
4811
4812
|
}
|
|
4812
4813
|
},
|
|
4813
4814
|
sx: {
|
|
4814
4815
|
"&:hover, &:focus": {
|
|
4815
|
-
borderColor:
|
|
4816
|
+
borderColor: k.primary.main
|
|
4816
4817
|
},
|
|
4817
|
-
border: `1px dashed ${o ?
|
|
4818
|
+
border: `1px dashed ${o ? k.error.main : k.divider}`,
|
|
4818
4819
|
borderRadius: 1,
|
|
4819
4820
|
cursor: "pointer",
|
|
4820
|
-
height: Sn(c,
|
|
4821
|
+
height: Sn(c, I),
|
|
4821
4822
|
maxWidth: p ? "100%" : 400,
|
|
4822
4823
|
padding: 2,
|
|
4823
4824
|
position: "relative",
|
|
@@ -4829,32 +4830,32 @@ const nn = (A, e) => {
|
|
|
4829
4830
|
{
|
|
4830
4831
|
alignItems: "center",
|
|
4831
4832
|
height: "100%",
|
|
4832
|
-
direction:
|
|
4833
|
-
justifyContent:
|
|
4834
|
-
textAlign:
|
|
4833
|
+
direction: E ? "column" : "row",
|
|
4834
|
+
justifyContent: E ? "center" : "flex-start",
|
|
4835
|
+
textAlign: E ? "center" : "left",
|
|
4835
4836
|
spacing: 0.5,
|
|
4836
4837
|
color: r ? "text.disabled" : "text.secondary",
|
|
4837
4838
|
children: [
|
|
4838
4839
|
g || /* @__PURE__ */ t(xn, { sx: { height: 40, width: 40 } }),
|
|
4839
|
-
|
|
4840
|
+
J ? /* @__PURE__ */ m(mA, { children: [
|
|
4840
4841
|
/* @__PURE__ */ m(z, { variant: "body2", color: "textSecondary", children: [
|
|
4841
|
-
|
|
4842
|
+
V?.length,
|
|
4842
4843
|
" ",
|
|
4843
|
-
i?.files ||
|
|
4844
|
+
i?.files || l("files")
|
|
4844
4845
|
] }),
|
|
4845
4846
|
/* @__PURE__ */ t(
|
|
4846
4847
|
z,
|
|
4847
4848
|
{
|
|
4848
4849
|
variant: "body2",
|
|
4849
4850
|
color: "primary",
|
|
4850
|
-
whiteSpace:
|
|
4851
|
+
whiteSpace: E ? "normal" : "nowrap",
|
|
4851
4852
|
textOverflow: "ellipsis",
|
|
4852
4853
|
overflow: "hidden",
|
|
4853
|
-
children:
|
|
4854
|
+
children: J
|
|
4854
4855
|
}
|
|
4855
4856
|
)
|
|
4856
4857
|
] }) : /* @__PURE__ */ m(z, { variant: "subtitle1", color: r ? "text.disabled" : "primary", children: [
|
|
4857
|
-
|
|
4858
|
+
y || l("clickToUpload"),
|
|
4858
4859
|
" ",
|
|
4859
4860
|
n && "*"
|
|
4860
4861
|
] }),
|
|
@@ -4865,8 +4866,8 @@ const nn = (A, e) => {
|
|
|
4865
4866
|
/* @__PURE__ */ t(
|
|
4866
4867
|
"input",
|
|
4867
4868
|
{
|
|
4868
|
-
id:
|
|
4869
|
-
ref:
|
|
4869
|
+
id: D,
|
|
4870
|
+
ref: rA,
|
|
4870
4871
|
type: "file",
|
|
4871
4872
|
title: u,
|
|
4872
4873
|
disabled: r,
|
|
@@ -4875,7 +4876,7 @@ const nn = (A, e) => {
|
|
|
4875
4876
|
multiple: s,
|
|
4876
4877
|
accept: A,
|
|
4877
4878
|
pattern: C,
|
|
4878
|
-
onChange:
|
|
4879
|
+
onChange: $,
|
|
4879
4880
|
style: {
|
|
4880
4881
|
left: "50%",
|
|
4881
4882
|
opacity: 0,
|
|
@@ -4885,7 +4886,8 @@ const nn = (A, e) => {
|
|
|
4885
4886
|
transform: "translate(-50%, -50%)",
|
|
4886
4887
|
zIndex: -1
|
|
4887
4888
|
}
|
|
4888
|
-
}
|
|
4889
|
+
},
|
|
4890
|
+
V ? "has-files" : "no-files"
|
|
4889
4891
|
)
|
|
4890
4892
|
]
|
|
4891
4893
|
}
|
|
@@ -4950,23 +4952,23 @@ const nn = (A, e) => {
|
|
|
4950
4952
|
},
|
|
4951
4953
|
children: [
|
|
4952
4954
|
r?.map(
|
|
4953
|
-
({ id: g, title: v, subtitle:
|
|
4954
|
-
const E = `key-${
|
|
4955
|
+
({ id: g, title: v, subtitle: y, image: C, thumbnail: u, secondaryAction: b, chipLabel: I, chipColor: S, onClick: h, icon: w, Avatar: l }, k) => {
|
|
4956
|
+
const E = `key-${k}-${v}-${g}`, D = !!C?.toLowerCase()?.endsWith(".pdf"), T = B1(C), rA = B1(u), V = Fe(C), J = h ? "none" : void 0, $ = a || !!w || !T || V, K = !!h || !!(!h && !a && (u || C)), X = d === E, U = (rA ? u : "") || (T ? C : "") || "";
|
|
4955
4957
|
return /* @__PURE__ */ m(
|
|
4956
4958
|
EA,
|
|
4957
4959
|
{
|
|
4958
4960
|
secondaryAction: b,
|
|
4959
|
-
onClick: (
|
|
4960
|
-
h?.(
|
|
4961
|
-
...
|
|
4961
|
+
onClick: (AA) => {
|
|
4962
|
+
h?.(AA, {
|
|
4963
|
+
...w && { icon: w },
|
|
4962
4964
|
...g && { id: g },
|
|
4963
4965
|
...C && { image: C },
|
|
4964
|
-
...
|
|
4966
|
+
...y && { subtitle: y },
|
|
4965
4967
|
...u && { thumbnail: u },
|
|
4966
4968
|
...v && { thumbnail: u },
|
|
4967
|
-
isFile:
|
|
4969
|
+
isFile: V,
|
|
4968
4970
|
isPdf: D
|
|
4969
|
-
}),
|
|
4971
|
+
}), K && !X && !h && p(E);
|
|
4970
4972
|
},
|
|
4971
4973
|
sx: {
|
|
4972
4974
|
...ZA.listItem,
|
|
@@ -4976,16 +4978,16 @@ const nn = (A, e) => {
|
|
|
4976
4978
|
justifyContent: "center",
|
|
4977
4979
|
opacity: i ? 1 : 0,
|
|
4978
4980
|
position: "static",
|
|
4979
|
-
right: ({ spacing:
|
|
4981
|
+
right: ({ spacing: AA }) => AA(0.5),
|
|
4980
4982
|
transform: "none"
|
|
4981
4983
|
},
|
|
4982
4984
|
"&:hover": {
|
|
4983
4985
|
"& .MuiListItemSecondaryAction-root": {
|
|
4984
4986
|
opacity: 1
|
|
4985
4987
|
},
|
|
4986
|
-
backgroundColor: ({ palette:
|
|
4988
|
+
backgroundColor: ({ palette: AA }) => K ? AA.action.hover : "transparent"
|
|
4987
4989
|
},
|
|
4988
|
-
cursor:
|
|
4990
|
+
cursor: K ? "pointer" : "default"
|
|
4989
4991
|
},
|
|
4990
4992
|
children: [
|
|
4991
4993
|
l !== void 0 && /* @__PURE__ */ t(R, { marginRight: NA, children: l }),
|
|
@@ -4998,7 +5000,7 @@ const nn = (A, e) => {
|
|
|
4998
5000
|
height: 40,
|
|
4999
5001
|
sx: { borderRadius: 1, marginRight: NA },
|
|
5000
5002
|
disableLightbox: a,
|
|
5001
|
-
open:
|
|
5003
|
+
open: X,
|
|
5002
5004
|
onClose: () => p("")
|
|
5003
5005
|
}
|
|
5004
5006
|
),
|
|
@@ -5008,23 +5010,23 @@ const nn = (A, e) => {
|
|
|
5008
5010
|
disableThumb: !0,
|
|
5009
5011
|
src: C,
|
|
5010
5012
|
srcThumb: u,
|
|
5011
|
-
disableLightbox:
|
|
5012
|
-
open:
|
|
5013
|
+
disableLightbox: $,
|
|
5014
|
+
open: X,
|
|
5013
5015
|
onClose: () => p(""),
|
|
5014
5016
|
children: /* @__PURE__ */ t(
|
|
5015
5017
|
kA,
|
|
5016
5018
|
{
|
|
5017
|
-
src:
|
|
5019
|
+
src: V ? q1 : U,
|
|
5018
5020
|
variant: "rounded",
|
|
5019
5021
|
sx: { marginRight: NA },
|
|
5020
5022
|
slotProps: {
|
|
5021
5023
|
img: {
|
|
5022
5024
|
sx: {
|
|
5023
|
-
...
|
|
5025
|
+
...V && { padding: "15%" }
|
|
5024
5026
|
}
|
|
5025
5027
|
}
|
|
5026
5028
|
},
|
|
5027
|
-
children: !
|
|
5029
|
+
children: !V && (w || typeof v == "string" && (v || "")?.charAt(0).toUpperCase())
|
|
5028
5030
|
}
|
|
5029
5031
|
)
|
|
5030
5032
|
}
|
|
@@ -5034,9 +5036,9 @@ const nn = (A, e) => {
|
|
|
5034
5036
|
{
|
|
5035
5037
|
primary: /* @__PURE__ */ m(Q, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
5036
5038
|
v && /* @__PURE__ */ t(z, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: v }),
|
|
5037
|
-
I && /* @__PURE__ */ t(zA, { label: I, variant: "rounded", size: "xSmall", color: Mn(
|
|
5039
|
+
I && /* @__PURE__ */ t(zA, { label: I, variant: "rounded", size: "xSmall", color: Mn(S) ? S : "default" })
|
|
5038
5040
|
] }),
|
|
5039
|
-
secondary:
|
|
5041
|
+
secondary: y,
|
|
5040
5042
|
slotProps: {
|
|
5041
5043
|
primary: {
|
|
5042
5044
|
component: "div"
|
|
@@ -5045,7 +5047,7 @@ const nn = (A, e) => {
|
|
|
5045
5047
|
component: "div"
|
|
5046
5048
|
}
|
|
5047
5049
|
},
|
|
5048
|
-
sx: { marginY: 0, userSelect:
|
|
5050
|
+
sx: { marginY: 0, userSelect: J }
|
|
5049
5051
|
}
|
|
5050
5052
|
)
|
|
5051
5053
|
]
|
|
@@ -5124,7 +5126,7 @@ const nn = (A, e) => {
|
|
|
5124
5126
|
multiple: d,
|
|
5125
5127
|
...p
|
|
5126
5128
|
}) => {
|
|
5127
|
-
const { t: g } = Ar(), v = Array.isArray(c) ? c?.length === a?.length : !1,
|
|
5129
|
+
const { t: g } = Ar(), v = Array.isArray(c) ? c?.length === a?.length : !1, y = Array.isArray(a) && a.every((u) => typeof u == "string"), C = !y && a?.filter((u) => u?.isHeader) || [];
|
|
5128
5130
|
return /* @__PURE__ */ m(Ge, { sx: { minWidth: 250 }, ...p, children: [
|
|
5129
5131
|
d && !s && (!r || !!C?.length) && /* @__PURE__ */ m(mA, { children: [
|
|
5130
5132
|
/* @__PURE__ */ m(ie, { role: "listbox", children: [
|
|
@@ -5164,8 +5166,8 @@ const nn = (A, e) => {
|
|
|
5164
5166
|
] })
|
|
5165
5167
|
}
|
|
5166
5168
|
),
|
|
5167
|
-
!
|
|
5168
|
-
const I = `header-options-${b}`,
|
|
5169
|
+
!y && C?.map((u, b) => {
|
|
5170
|
+
const I = `header-options-${b}`, S = Array.isArray(c) && c.some(
|
|
5169
5171
|
(h) => JSON.stringify(h) === JSON.stringify(u) || h && typeof h == "object" && "id" in h && h?.id === u?.id
|
|
5170
5172
|
);
|
|
5171
5173
|
return /* @__PURE__ */ t(
|
|
@@ -5173,17 +5175,17 @@ const nn = (A, e) => {
|
|
|
5173
5175
|
{
|
|
5174
5176
|
disablePadding: !0,
|
|
5175
5177
|
onMouseDown: (h) => {
|
|
5176
|
-
if (h.stopPropagation(), h.preventDefault(),
|
|
5177
|
-
const
|
|
5178
|
+
if (h.stopPropagation(), h.preventDefault(), S) {
|
|
5179
|
+
const w = Array.isArray(c) ? c?.filter(
|
|
5178
5180
|
(l) => !(JSON.stringify(l) === JSON.stringify(u) || l && typeof l == "object" && "id" in l && l?.id === u?.id)
|
|
5179
5181
|
) : [];
|
|
5180
|
-
i?.(h,
|
|
5182
|
+
i?.(h, w, "removeOption");
|
|
5181
5183
|
return;
|
|
5182
5184
|
}
|
|
5183
5185
|
i?.(h, [...Array.isArray(c) ? c : [], u], "selectOption");
|
|
5184
5186
|
},
|
|
5185
5187
|
children: /* @__PURE__ */ m(Re, { disableRipple: !0, children: [
|
|
5186
|
-
/* @__PURE__ */ t(Pe, { disableRipple: !0, checked:
|
|
5188
|
+
/* @__PURE__ */ t(Pe, { disableRipple: !0, checked: S, sx: Ze }),
|
|
5187
5189
|
/* @__PURE__ */ t(BA, { primary: u?.label })
|
|
5188
5190
|
] })
|
|
5189
5191
|
},
|
|
@@ -5209,48 +5211,48 @@ const nn = (A, e) => {
|
|
|
5209
5211
|
open: p,
|
|
5210
5212
|
getOptionLabel: g,
|
|
5211
5213
|
onInputChange: v,
|
|
5212
|
-
inputValue:
|
|
5214
|
+
inputValue: y,
|
|
5213
5215
|
disableClearable: C,
|
|
5214
5216
|
loading: u,
|
|
5215
5217
|
resetInputValueOnSelectOption: b,
|
|
5216
5218
|
renderOption: I,
|
|
5217
|
-
renderValue:
|
|
5219
|
+
renderValue: S,
|
|
5218
5220
|
width: h,
|
|
5219
|
-
sx:
|
|
5221
|
+
sx: w,
|
|
5220
5222
|
size: l = "small",
|
|
5221
|
-
disableCloseOnSelect:
|
|
5223
|
+
disableCloseOnSelect: k = !0,
|
|
5222
5224
|
multiple: E = !0,
|
|
5223
5225
|
options: D = [],
|
|
5224
5226
|
slotProps: T,
|
|
5225
|
-
...
|
|
5226
|
-
},
|
|
5227
|
-
const [
|
|
5227
|
+
...rA
|
|
5228
|
+
}, V) => {
|
|
5229
|
+
const [J, $] = G(!1), [K, X] = G(""), Z = y || K, q = A === "chip", U = Array.isArray(a) ? !!a.length : a != null, AA = Rn(a, E);
|
|
5228
5230
|
return /* @__PURE__ */ t(
|
|
5229
5231
|
gr,
|
|
5230
5232
|
{
|
|
5231
5233
|
freeSolo: !1,
|
|
5232
5234
|
multiple: E,
|
|
5233
5235
|
disableClearable: C,
|
|
5234
|
-
value:
|
|
5236
|
+
value: AA,
|
|
5235
5237
|
options: D,
|
|
5236
5238
|
loading: u,
|
|
5237
|
-
ref:
|
|
5239
|
+
ref: V,
|
|
5238
5240
|
size: l,
|
|
5239
|
-
disableCloseOnSelect:
|
|
5241
|
+
disableCloseOnSelect: k,
|
|
5240
5242
|
onChange: (x, M, L, P) => {
|
|
5241
5243
|
if (M === null) {
|
|
5242
5244
|
e?.(x, E ? [] : null, L, P);
|
|
5243
5245
|
return;
|
|
5244
5246
|
}
|
|
5245
|
-
e?.(x, M, L, P), (!
|
|
5247
|
+
e?.(x, M, L, P), (!k || !E) && $(!1);
|
|
5246
5248
|
},
|
|
5247
5249
|
getLimitTagsText: Pn(A),
|
|
5248
|
-
inputValue:
|
|
5249
|
-
open: p ||
|
|
5250
|
-
onOpen: () =>
|
|
5250
|
+
inputValue: Z,
|
|
5251
|
+
open: p || J,
|
|
5252
|
+
onOpen: () => $(!0),
|
|
5251
5253
|
sx: {
|
|
5252
5254
|
width: h,
|
|
5253
|
-
...
|
|
5255
|
+
...w
|
|
5254
5256
|
},
|
|
5255
5257
|
slots: {
|
|
5256
5258
|
paper: Tn
|
|
@@ -5271,13 +5273,13 @@ const nn = (A, e) => {
|
|
|
5271
5273
|
}
|
|
5272
5274
|
},
|
|
5273
5275
|
onInputChange: (x, M, L) => {
|
|
5274
|
-
L === "reset" &&
|
|
5276
|
+
L === "reset" && J && !b || L === "selectOption" && !b || L === "removeOption" && !b || (y || X(M), v?.(x, M, L));
|
|
5275
5277
|
},
|
|
5276
5278
|
onFocus: (x) => {
|
|
5277
|
-
|
|
5279
|
+
$(!0), c?.(x);
|
|
5278
5280
|
},
|
|
5279
5281
|
onBlur: (x) => {
|
|
5280
|
-
|
|
5282
|
+
$(!1), d?.(x);
|
|
5281
5283
|
},
|
|
5282
5284
|
getOptionLabel: g || ((x) => {
|
|
5283
5285
|
const M = typeof x == "object" && "label" in x ? x.label : x;
|
|
@@ -5287,7 +5289,7 @@ const nn = (A, e) => {
|
|
|
5287
5289
|
const P = typeof M != "string" && M.isHeader;
|
|
5288
5290
|
if (u || P)
|
|
5289
5291
|
return null;
|
|
5290
|
-
const
|
|
5292
|
+
const tA = typeof M == "string" ? M : M?.id || M?.value || "", aA = typeof M == "string" ? M : M?.label, bA = typeof M == "string" ? void 0 : M?.image, Y = `${tA}-${x?.key}`;
|
|
5291
5293
|
return /* @__PURE__ */ Sr(EA, { ...x, key: Y }, !r && /* @__PURE__ */ t(Pe, { disableRipple: !0, checked: L, sx: Ze }), bA && /* @__PURE__ */ t(
|
|
5292
5294
|
fr,
|
|
5293
5295
|
{
|
|
@@ -5301,34 +5303,34 @@ const nn = (A, e) => {
|
|
|
5301
5303
|
}
|
|
5302
5304
|
), typeof aA == "string" ? /* @__PURE__ */ t(z, { variant: "body2", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", title: aA, children: aA }) : aA);
|
|
5303
5305
|
}),
|
|
5304
|
-
renderValue:
|
|
5306
|
+
renderValue: S || (E ? (x, M, L) => Array.isArray(x) ? x.map((P, tA) => {
|
|
5305
5307
|
if (L?.focused)
|
|
5306
5308
|
return null;
|
|
5307
|
-
const { key: aA } = M({ index:
|
|
5309
|
+
const { key: aA } = M({ index: tA });
|
|
5308
5310
|
return /* @__PURE__ */ t(z, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: typeof P == "object" && "label" in P && P?.label ? P.label : P.toString() }, aA);
|
|
5309
5311
|
}) : null : void 0),
|
|
5310
5312
|
renderInput: (x) => {
|
|
5311
5313
|
const M = () => {
|
|
5312
|
-
if (!(!
|
|
5314
|
+
if (!(!J && (Array.isArray(a) && a.length || !Array.isArray(a) && a)))
|
|
5313
5315
|
return n;
|
|
5314
|
-
}, L = () =>
|
|
5316
|
+
}, L = () => q ? /* @__PURE__ */ m(
|
|
5315
5317
|
PA,
|
|
5316
5318
|
{
|
|
5317
5319
|
position: "end",
|
|
5318
5320
|
sx: {
|
|
5319
|
-
color:
|
|
5321
|
+
color: U ? "text.contrast" : "text.primary",
|
|
5320
5322
|
position: "absolute",
|
|
5321
5323
|
right: 5,
|
|
5322
|
-
transform:
|
|
5324
|
+
transform: J ? "rotate(180deg)" : "rotate(0deg)",
|
|
5323
5325
|
transition: "transform 0.2s ease-in-out"
|
|
5324
5326
|
},
|
|
5325
5327
|
children: [
|
|
5326
|
-
(
|
|
5328
|
+
(Z || U) && !C && /* @__PURE__ */ t(
|
|
5327
5329
|
gA,
|
|
5328
5330
|
{
|
|
5329
5331
|
size: "small",
|
|
5330
5332
|
onClick: (P) => {
|
|
5331
|
-
P.preventDefault(), P.stopPropagation(),
|
|
5333
|
+
P.preventDefault(), P.stopPropagation(), X(""), v?.(P, "", "clear"), U && e?.(P, E ? [] : null, "clear");
|
|
5332
5334
|
},
|
|
5333
5335
|
onMouseDown: (P) => {
|
|
5334
5336
|
P.preventDefault(), P.stopPropagation();
|
|
@@ -5341,7 +5343,7 @@ const nn = (A, e) => {
|
|
|
5341
5343
|
".MuiTextField-root:hover &": {
|
|
5342
5344
|
opacity: 1
|
|
5343
5345
|
},
|
|
5344
|
-
color:
|
|
5346
|
+
color: U ? "text.contrast" : "text.primary",
|
|
5345
5347
|
cursor: "pointer",
|
|
5346
5348
|
left: "50%",
|
|
5347
5349
|
opacity: 0,
|
|
@@ -5363,7 +5365,7 @@ const nn = (A, e) => {
|
|
|
5363
5365
|
sx: {
|
|
5364
5366
|
cursor: "pointer",
|
|
5365
5367
|
transition: "opacity 0.2s ease-in-out",
|
|
5366
|
-
...(
|
|
5368
|
+
...(Z || U) && !C && {
|
|
5367
5369
|
".MuiTextField-root:hover &": {
|
|
5368
5370
|
opacity: 0
|
|
5369
5371
|
}
|
|
@@ -5373,7 +5375,7 @@ const nn = (A, e) => {
|
|
|
5373
5375
|
)
|
|
5374
5376
|
]
|
|
5375
5377
|
}
|
|
5376
|
-
) :
|
|
5378
|
+
) : J ? /* @__PURE__ */ m(
|
|
5377
5379
|
PA,
|
|
5378
5380
|
{
|
|
5379
5381
|
position: "end",
|
|
@@ -5382,12 +5384,12 @@ const nn = (A, e) => {
|
|
|
5382
5384
|
right: 8
|
|
5383
5385
|
},
|
|
5384
5386
|
children: [
|
|
5385
|
-
|
|
5387
|
+
Z && !C && /* @__PURE__ */ t(
|
|
5386
5388
|
gA,
|
|
5387
5389
|
{
|
|
5388
5390
|
size: "small",
|
|
5389
5391
|
onClick: (P) => {
|
|
5390
|
-
|
|
5392
|
+
X(""), v?.(P, "", "clear");
|
|
5391
5393
|
},
|
|
5392
5394
|
sx: { marginRight: "-3px" },
|
|
5393
5395
|
children: /* @__PURE__ */ t(le, { sx: { fontSize: j(20) } })
|
|
@@ -5402,14 +5404,14 @@ const nn = (A, e) => {
|
|
|
5402
5404
|
{
|
|
5403
5405
|
sx: {
|
|
5404
5406
|
"& .MuiInputBase-root .MuiInputBase-input": {
|
|
5405
|
-
flex: !E || !
|
|
5407
|
+
flex: !E || !J && !Z || J ? 1 : 0,
|
|
5406
5408
|
minWidth: 0
|
|
5407
5409
|
},
|
|
5408
|
-
...
|
|
5410
|
+
...q && {
|
|
5409
5411
|
"& .MuiInputBase-root": {
|
|
5410
|
-
backgroundColor:
|
|
5412
|
+
backgroundColor: U ? "text.primary" : "grey.100",
|
|
5411
5413
|
borderRadius: 20,
|
|
5412
|
-
color:
|
|
5414
|
+
color: U ? "text.contrast" : "text.primary",
|
|
5413
5415
|
fieldset: {
|
|
5414
5416
|
borderColor: "transparent !important"
|
|
5415
5417
|
},
|
|
@@ -5439,10 +5441,10 @@ const nn = (A, e) => {
|
|
|
5439
5441
|
}
|
|
5440
5442
|
);
|
|
5441
5443
|
},
|
|
5442
|
-
...
|
|
5444
|
+
...rA
|
|
5443
5445
|
}
|
|
5444
5446
|
);
|
|
5445
|
-
}, io =
|
|
5447
|
+
}, io = iA(Ln), Dn = ({
|
|
5446
5448
|
in: A,
|
|
5447
5449
|
children: e,
|
|
5448
5450
|
sx: r,
|
|
@@ -5481,7 +5483,7 @@ const nn = (A, e) => {
|
|
|
5481
5483
|
...c,
|
|
5482
5484
|
children: e
|
|
5483
5485
|
}
|
|
5484
|
-
) }), ao =
|
|
5486
|
+
) }), ao = iA(Dn), Hn = ({ sx: A, fontSize: e, color: r = "currentColor" }) => /* @__PURE__ */ t(pA, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: e, sx: A, children: /* @__PURE__ */ t(
|
|
5485
5487
|
"path",
|
|
5486
5488
|
{
|
|
5487
5489
|
d: "M12 4.5C7 4.5 2.73 7.61 1 12C2.73 16.39 7 19.5 12 19.5C17 19.5 21.27 16.39 23 12C21.27 7.61 17 4.5 12 4.5ZM12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z",
|
|
@@ -5687,7 +5689,7 @@ const nn = (A, e) => {
|
|
|
5687
5689
|
autoHideDuration: e = 5e3,
|
|
5688
5690
|
anchorOrigin: r = { horizontal: "center", vertical: "bottom" }
|
|
5689
5691
|
}) => {
|
|
5690
|
-
const [n, o] = G(Vn), i =
|
|
5692
|
+
const [n, o] = G(Vn), i = oA((c) => {
|
|
5691
5693
|
o({
|
|
5692
5694
|
component: c?.component,
|
|
5693
5695
|
isOpen: !0,
|
|
@@ -5695,7 +5697,7 @@ const nn = (A, e) => {
|
|
|
5695
5697
|
severity: c?.severity || "success",
|
|
5696
5698
|
variant: c?.variant || "standard"
|
|
5697
5699
|
});
|
|
5698
|
-
}, []), s =
|
|
5700
|
+
}, []), s = oA((c, d) => {
|
|
5699
5701
|
d !== "clickaway" && o((p) => ({ ...p, isOpen: !1 }));
|
|
5700
5702
|
}, []), a = YA(
|
|
5701
5703
|
() => ({
|
|
@@ -5731,7 +5733,7 @@ const nn = (A, e) => {
|
|
|
5731
5733
|
}, go = () => {
|
|
5732
5734
|
const [A, e] = G(0);
|
|
5733
5735
|
return {
|
|
5734
|
-
handleChange:
|
|
5736
|
+
handleChange: oA((n, o) => {
|
|
5735
5737
|
e(o);
|
|
5736
5738
|
}, []),
|
|
5737
5739
|
value: A
|