sosk-ui-lib 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Form/ImageField.d.ts +18 -0
- package/dist/components/Form/TextField.d.ts +30 -0
- package/dist/components/ItemGrid.d.ts +27 -0
- package/dist/components/MediaCard.d.ts +26 -0
- package/dist/index.d.ts +8 -2
- package/dist/sosk-ui-lib.cjs +79 -4
- package/dist/sosk-ui-lib.cjs.map +1 -0
- package/dist/sosk-ui-lib.js +4646 -201
- package/dist/sosk-ui-lib.js.map +1 -0
- package/package.json +13 -3
- package/dist/components/ProductCard.d.ts +0 -4
- package/dist/types.d.ts +0 -13
package/dist/sosk-ui-lib.js
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import * as ve from "react";
|
|
2
|
+
import un, { useState as Pe, useRef as fn, useCallback as Jt, forwardRef as dn } from "react";
|
|
3
|
+
import { Box as be, Stack as et, IconButton as ke, Card as Dr, CardMedia as pn, CardContent as mn, Typography as ce, Dialog as Pt, DialogTitle as It, DialogContent as jt, Button as Qt, Grid as Xe, Skeleton as hn, CardActionArea as gn, Paper as yn, Avatar as bn, FormHelperText as vn, TextField as Zt, InputAdornment as Sn } from "@mui/material";
|
|
4
|
+
import xn from "@emotion/styled";
|
|
5
|
+
import "@emotion/react";
|
|
6
|
+
function En(e) {
|
|
7
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
8
|
+
}
|
|
9
|
+
var Nt = { exports: {} }, Fe = {};
|
|
4
10
|
/**
|
|
5
11
|
* @license React
|
|
6
12
|
* react-jsx-runtime.production.js
|
|
@@ -10,29 +16,29 @@ var g = { exports: {} }, E = {};
|
|
|
10
16
|
* This source code is licensed under the MIT license found in the
|
|
11
17
|
* LICENSE file in the root directory of this source tree.
|
|
12
18
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
if (
|
|
21
|
-
|
|
22
|
-
for (var
|
|
23
|
-
|
|
24
|
-
} else
|
|
25
|
-
return
|
|
26
|
-
$$typeof:
|
|
27
|
-
type:
|
|
28
|
-
key:
|
|
29
|
-
ref:
|
|
30
|
-
props:
|
|
19
|
+
var er;
|
|
20
|
+
function Tn() {
|
|
21
|
+
if (er) return Fe;
|
|
22
|
+
er = 1;
|
|
23
|
+
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
24
|
+
function r(n, o, i) {
|
|
25
|
+
var a = null;
|
|
26
|
+
if (i !== void 0 && (a = "" + i), o.key !== void 0 && (a = "" + o.key), "key" in o) {
|
|
27
|
+
i = {};
|
|
28
|
+
for (var l in o)
|
|
29
|
+
l !== "key" && (i[l] = o[l]);
|
|
30
|
+
} else i = o;
|
|
31
|
+
return o = i.ref, {
|
|
32
|
+
$$typeof: e,
|
|
33
|
+
type: n,
|
|
34
|
+
key: a,
|
|
35
|
+
ref: o !== void 0 ? o : null,
|
|
36
|
+
props: i
|
|
31
37
|
};
|
|
32
38
|
}
|
|
33
|
-
return
|
|
39
|
+
return Fe.Fragment = t, Fe.jsx = r, Fe.jsxs = r, Fe;
|
|
34
40
|
}
|
|
35
|
-
var
|
|
41
|
+
var Be = {};
|
|
36
42
|
/**
|
|
37
43
|
* @license React
|
|
38
44
|
* react-jsx-runtime.development.js
|
|
@@ -42,269 +48,4708 @@ var b = {};
|
|
|
42
48
|
* This source code is licensed under the MIT license found in the
|
|
43
49
|
* LICENSE file in the root directory of this source tree.
|
|
44
50
|
*/
|
|
45
|
-
var
|
|
46
|
-
function
|
|
47
|
-
return
|
|
48
|
-
function
|
|
49
|
-
if (
|
|
50
|
-
if (typeof
|
|
51
|
-
return
|
|
52
|
-
if (typeof
|
|
53
|
-
switch (
|
|
54
|
-
case
|
|
51
|
+
var tr;
|
|
52
|
+
function Cn() {
|
|
53
|
+
return tr || (tr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
54
|
+
function e(f) {
|
|
55
|
+
if (f == null) return null;
|
|
56
|
+
if (typeof f == "function")
|
|
57
|
+
return f.$$typeof === Y ? null : f.displayName || f.name || null;
|
|
58
|
+
if (typeof f == "string") return f;
|
|
59
|
+
switch (f) {
|
|
60
|
+
case x:
|
|
55
61
|
return "Fragment";
|
|
56
|
-
case
|
|
62
|
+
case I:
|
|
57
63
|
return "Profiler";
|
|
58
|
-
case
|
|
64
|
+
case P:
|
|
59
65
|
return "StrictMode";
|
|
60
|
-
case
|
|
66
|
+
case _:
|
|
61
67
|
return "Suspense";
|
|
62
|
-
case
|
|
68
|
+
case B:
|
|
63
69
|
return "SuspenseList";
|
|
64
|
-
case
|
|
70
|
+
case ie:
|
|
65
71
|
return "Activity";
|
|
66
72
|
}
|
|
67
|
-
if (typeof
|
|
68
|
-
switch (typeof
|
|
73
|
+
if (typeof f == "object")
|
|
74
|
+
switch (typeof f.tag == "number" && console.error(
|
|
69
75
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
70
|
-
),
|
|
71
|
-
case
|
|
76
|
+
), f.$$typeof) {
|
|
77
|
+
case c:
|
|
72
78
|
return "Portal";
|
|
73
|
-
case
|
|
74
|
-
return
|
|
75
|
-
case
|
|
76
|
-
return (
|
|
77
|
-
case
|
|
78
|
-
var
|
|
79
|
-
return
|
|
80
|
-
case
|
|
81
|
-
return
|
|
82
|
-
case
|
|
83
|
-
|
|
79
|
+
case w:
|
|
80
|
+
return f.displayName || "Context";
|
|
81
|
+
case j:
|
|
82
|
+
return (f._context.displayName || "Context") + ".Consumer";
|
|
83
|
+
case g:
|
|
84
|
+
var T = f.render;
|
|
85
|
+
return f = f.displayName, f || (f = T.displayName || T.name || "", f = f !== "" ? "ForwardRef(" + f + ")" : "ForwardRef"), f;
|
|
86
|
+
case J:
|
|
87
|
+
return T = f.displayName || null, T !== null ? T : e(f.type) || "Memo";
|
|
88
|
+
case Q:
|
|
89
|
+
T = f._payload, f = f._init;
|
|
84
90
|
try {
|
|
85
|
-
return
|
|
91
|
+
return e(f(T));
|
|
86
92
|
} catch {
|
|
87
93
|
}
|
|
88
94
|
}
|
|
89
95
|
return null;
|
|
90
96
|
}
|
|
91
|
-
function
|
|
92
|
-
return "" +
|
|
97
|
+
function t(f) {
|
|
98
|
+
return "" + f;
|
|
93
99
|
}
|
|
94
|
-
function f
|
|
100
|
+
function r(f) {
|
|
95
101
|
try {
|
|
96
|
-
|
|
97
|
-
var
|
|
102
|
+
t(f);
|
|
103
|
+
var T = !1;
|
|
98
104
|
} catch {
|
|
99
|
-
|
|
105
|
+
T = !0;
|
|
100
106
|
}
|
|
101
|
-
if (
|
|
102
|
-
|
|
103
|
-
var
|
|
104
|
-
return
|
|
105
|
-
|
|
107
|
+
if (T) {
|
|
108
|
+
T = console;
|
|
109
|
+
var R = T.error, $ = typeof Symbol == "function" && Symbol.toStringTag && f[Symbol.toStringTag] || f.constructor.name || "Object";
|
|
110
|
+
return R.call(
|
|
111
|
+
T,
|
|
106
112
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
107
|
-
|
|
108
|
-
),
|
|
113
|
+
$
|
|
114
|
+
), t(f);
|
|
109
115
|
}
|
|
110
116
|
}
|
|
111
|
-
function
|
|
112
|
-
if (
|
|
113
|
-
if (typeof
|
|
117
|
+
function n(f) {
|
|
118
|
+
if (f === x) return "<>";
|
|
119
|
+
if (typeof f == "object" && f !== null && f.$$typeof === Q)
|
|
114
120
|
return "<...>";
|
|
115
121
|
try {
|
|
116
|
-
var
|
|
117
|
-
return
|
|
122
|
+
var T = e(f);
|
|
123
|
+
return T ? "<" + T + ">" : "<...>";
|
|
118
124
|
} catch {
|
|
119
125
|
return "<...>";
|
|
120
126
|
}
|
|
121
127
|
}
|
|
122
|
-
function
|
|
123
|
-
var
|
|
124
|
-
return
|
|
128
|
+
function o() {
|
|
129
|
+
var f = s.A;
|
|
130
|
+
return f === null ? null : f.getOwner();
|
|
125
131
|
}
|
|
126
|
-
function
|
|
132
|
+
function i() {
|
|
127
133
|
return Error("react-stack-top-frame");
|
|
128
134
|
}
|
|
129
|
-
function
|
|
130
|
-
if (
|
|
131
|
-
var
|
|
132
|
-
if (
|
|
135
|
+
function a(f) {
|
|
136
|
+
if (A.call(f, "key")) {
|
|
137
|
+
var T = Object.getOwnPropertyDescriptor(f, "key").get;
|
|
138
|
+
if (T && T.isReactWarning) return !1;
|
|
133
139
|
}
|
|
134
|
-
return
|
|
140
|
+
return f.key !== void 0;
|
|
135
141
|
}
|
|
136
|
-
function
|
|
137
|
-
function
|
|
138
|
-
|
|
142
|
+
function l(f, T) {
|
|
143
|
+
function R() {
|
|
144
|
+
M || (M = !0, console.error(
|
|
139
145
|
"%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)",
|
|
140
|
-
|
|
146
|
+
T
|
|
141
147
|
));
|
|
142
148
|
}
|
|
143
|
-
|
|
144
|
-
get:
|
|
149
|
+
R.isReactWarning = !0, Object.defineProperty(f, "key", {
|
|
150
|
+
get: R,
|
|
145
151
|
configurable: !0
|
|
146
152
|
});
|
|
147
153
|
}
|
|
148
|
-
function
|
|
149
|
-
var
|
|
150
|
-
return
|
|
154
|
+
function d() {
|
|
155
|
+
var f = e(this.type);
|
|
156
|
+
return ee[f] || (ee[f] = !0, console.error(
|
|
151
157
|
"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."
|
|
152
|
-
)),
|
|
153
|
-
}
|
|
154
|
-
function
|
|
155
|
-
var
|
|
156
|
-
return
|
|
157
|
-
$$typeof:
|
|
158
|
-
type:
|
|
159
|
-
key:
|
|
160
|
-
props:
|
|
161
|
-
_owner:
|
|
162
|
-
}, (
|
|
158
|
+
)), f = this.props.ref, f !== void 0 ? f : null;
|
|
159
|
+
}
|
|
160
|
+
function p(f, T, R, $, V, D) {
|
|
161
|
+
var k = R.ref;
|
|
162
|
+
return f = {
|
|
163
|
+
$$typeof: b,
|
|
164
|
+
type: f,
|
|
165
|
+
key: T,
|
|
166
|
+
props: R,
|
|
167
|
+
_owner: $
|
|
168
|
+
}, (k !== void 0 ? k : null) !== null ? Object.defineProperty(f, "ref", {
|
|
163
169
|
enumerable: !1,
|
|
164
|
-
get:
|
|
165
|
-
}) : Object.defineProperty(
|
|
170
|
+
get: d
|
|
171
|
+
}) : Object.defineProperty(f, "ref", { enumerable: !1, value: null }), f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
166
172
|
configurable: !1,
|
|
167
173
|
enumerable: !1,
|
|
168
174
|
writable: !0,
|
|
169
175
|
value: 0
|
|
170
|
-
}), Object.defineProperty(
|
|
176
|
+
}), Object.defineProperty(f, "_debugInfo", {
|
|
171
177
|
configurable: !1,
|
|
172
178
|
enumerable: !1,
|
|
173
179
|
writable: !0,
|
|
174
180
|
value: null
|
|
175
|
-
}), Object.defineProperty(
|
|
181
|
+
}), Object.defineProperty(f, "_debugStack", {
|
|
176
182
|
configurable: !1,
|
|
177
183
|
enumerable: !1,
|
|
178
184
|
writable: !0,
|
|
179
|
-
value:
|
|
180
|
-
}), Object.defineProperty(
|
|
185
|
+
value: V
|
|
186
|
+
}), Object.defineProperty(f, "_debugTask", {
|
|
181
187
|
configurable: !1,
|
|
182
188
|
enumerable: !1,
|
|
183
189
|
writable: !0,
|
|
184
|
-
value:
|
|
185
|
-
}), Object.freeze && (Object.freeze(
|
|
186
|
-
}
|
|
187
|
-
function
|
|
188
|
-
var
|
|
189
|
-
if (
|
|
190
|
-
if (
|
|
191
|
-
if (
|
|
192
|
-
for (
|
|
193
|
-
|
|
194
|
-
Object.freeze && Object.freeze(
|
|
190
|
+
value: D
|
|
191
|
+
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
192
|
+
}
|
|
193
|
+
function h(f, T, R, $, V, D) {
|
|
194
|
+
var k = T.children;
|
|
195
|
+
if (k !== void 0)
|
|
196
|
+
if ($)
|
|
197
|
+
if (E(k)) {
|
|
198
|
+
for ($ = 0; $ < k.length; $++)
|
|
199
|
+
y(k[$]);
|
|
200
|
+
Object.freeze && Object.freeze(k);
|
|
195
201
|
} else
|
|
196
202
|
console.error(
|
|
197
203
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
198
204
|
);
|
|
199
|
-
else
|
|
200
|
-
if (
|
|
201
|
-
|
|
202
|
-
var
|
|
203
|
-
return
|
|
205
|
+
else y(k);
|
|
206
|
+
if (A.call(T, "key")) {
|
|
207
|
+
k = e(f);
|
|
208
|
+
var F = Object.keys(T).filter(function(L) {
|
|
209
|
+
return L !== "key";
|
|
204
210
|
});
|
|
205
|
-
|
|
211
|
+
$ = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", S[k + $] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
206
212
|
`A props object containing a "key" prop is being spread into JSX:
|
|
207
213
|
let props = %s;
|
|
208
214
|
<%s {...props} />
|
|
209
215
|
React keys must be passed directly to JSX without using spread:
|
|
210
216
|
let props = %s;
|
|
211
217
|
<%s key={someKey} {...props} />`,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
),
|
|
217
|
-
}
|
|
218
|
-
if (
|
|
219
|
-
|
|
220
|
-
for (var
|
|
221
|
-
|
|
222
|
-
} else
|
|
223
|
-
return
|
|
224
|
-
|
|
225
|
-
typeof
|
|
226
|
-
),
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
218
|
+
$,
|
|
219
|
+
k,
|
|
220
|
+
F,
|
|
221
|
+
k
|
|
222
|
+
), S[k + $] = !0);
|
|
223
|
+
}
|
|
224
|
+
if (k = null, R !== void 0 && (r(R), k = "" + R), a(T) && (r(T.key), k = "" + T.key), "key" in T) {
|
|
225
|
+
R = {};
|
|
226
|
+
for (var W in T)
|
|
227
|
+
W !== "key" && (R[W] = T[W]);
|
|
228
|
+
} else R = T;
|
|
229
|
+
return k && l(
|
|
230
|
+
R,
|
|
231
|
+
typeof f == "function" ? f.displayName || f.name || "Unknown" : f
|
|
232
|
+
), p(
|
|
233
|
+
f,
|
|
234
|
+
k,
|
|
235
|
+
R,
|
|
236
|
+
o(),
|
|
237
|
+
V,
|
|
238
|
+
D
|
|
233
239
|
);
|
|
234
240
|
}
|
|
235
|
-
function
|
|
236
|
-
|
|
241
|
+
function y(f) {
|
|
242
|
+
v(f) ? f._store && (f._store.validated = 1) : typeof f == "object" && f !== null && f.$$typeof === Q && (f._payload.status === "fulfilled" ? v(f._payload.value) && f._payload.value._store && (f._payload.value._store.validated = 1) : f._store && (f._store.validated = 1));
|
|
237
243
|
}
|
|
238
|
-
function
|
|
239
|
-
return typeof
|
|
244
|
+
function v(f) {
|
|
245
|
+
return typeof f == "object" && f !== null && f.$$typeof === b;
|
|
240
246
|
}
|
|
241
|
-
var
|
|
247
|
+
var u = un, b = Symbol.for("react.transitional.element"), c = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), j = Symbol.for("react.consumer"), w = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), B = Symbol.for("react.suspense_list"), J = Symbol.for("react.memo"), Q = Symbol.for("react.lazy"), ie = Symbol.for("react.activity"), Y = Symbol.for("react.client.reference"), s = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, E = Array.isArray, N = console.createTask ? console.createTask : function() {
|
|
242
248
|
return null;
|
|
243
249
|
};
|
|
244
|
-
|
|
245
|
-
react_stack_bottom_frame: function(
|
|
246
|
-
return
|
|
250
|
+
u = {
|
|
251
|
+
react_stack_bottom_frame: function(f) {
|
|
252
|
+
return f();
|
|
247
253
|
}
|
|
248
254
|
};
|
|
249
|
-
var
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
)(),
|
|
253
|
-
|
|
254
|
-
var
|
|
255
|
-
return
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
255
|
+
var M, ee = {}, oe = u.react_stack_bottom_frame.bind(
|
|
256
|
+
u,
|
|
257
|
+
i
|
|
258
|
+
)(), me = N(n(i)), S = {};
|
|
259
|
+
Be.Fragment = x, Be.jsx = function(f, T, R) {
|
|
260
|
+
var $ = 1e4 > s.recentlyCreatedOwnerStacks++;
|
|
261
|
+
return h(
|
|
262
|
+
f,
|
|
263
|
+
T,
|
|
264
|
+
R,
|
|
259
265
|
!1,
|
|
260
|
-
|
|
261
|
-
|
|
266
|
+
$ ? Error("react-stack-top-frame") : oe,
|
|
267
|
+
$ ? N(n(f)) : me
|
|
262
268
|
);
|
|
263
|
-
},
|
|
264
|
-
var
|
|
265
|
-
return
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
+
}, Be.jsxs = function(f, T, R) {
|
|
270
|
+
var $ = 1e4 > s.recentlyCreatedOwnerStacks++;
|
|
271
|
+
return h(
|
|
272
|
+
f,
|
|
273
|
+
T,
|
|
274
|
+
R,
|
|
269
275
|
!0,
|
|
270
|
-
|
|
271
|
-
|
|
276
|
+
$ ? Error("react-stack-top-frame") : oe,
|
|
277
|
+
$ ? N(n(f)) : me
|
|
272
278
|
);
|
|
273
279
|
};
|
|
274
|
-
}()),
|
|
275
|
-
}
|
|
276
|
-
process.env.NODE_ENV === "production" ?
|
|
277
|
-
var
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
280
|
+
}()), Be;
|
|
281
|
+
}
|
|
282
|
+
process.env.NODE_ENV === "production" ? Nt.exports = Tn() : Nt.exports = Cn();
|
|
283
|
+
var C = Nt.exports, Mt = { exports: {} }, Je = { exports: {} }, U = {};
|
|
284
|
+
/** @license React v16.13.1
|
|
285
|
+
* react-is.production.min.js
|
|
286
|
+
*
|
|
287
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
288
|
+
*
|
|
289
|
+
* This source code is licensed under the MIT license found in the
|
|
290
|
+
* LICENSE file in the root directory of this source tree.
|
|
291
|
+
*/
|
|
292
|
+
var rr;
|
|
293
|
+
function wn() {
|
|
294
|
+
if (rr) return U;
|
|
295
|
+
rr = 1;
|
|
296
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, u = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, c = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, P = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
|
|
297
|
+
function j(g) {
|
|
298
|
+
if (typeof g == "object" && g !== null) {
|
|
299
|
+
var _ = g.$$typeof;
|
|
300
|
+
switch (_) {
|
|
301
|
+
case t:
|
|
302
|
+
switch (g = g.type, g) {
|
|
303
|
+
case d:
|
|
304
|
+
case p:
|
|
305
|
+
case n:
|
|
306
|
+
case i:
|
|
307
|
+
case o:
|
|
308
|
+
case y:
|
|
309
|
+
return g;
|
|
310
|
+
default:
|
|
311
|
+
switch (g = g && g.$$typeof, g) {
|
|
312
|
+
case l:
|
|
313
|
+
case h:
|
|
314
|
+
case b:
|
|
315
|
+
case u:
|
|
316
|
+
case a:
|
|
317
|
+
return g;
|
|
318
|
+
default:
|
|
319
|
+
return _;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
case r:
|
|
323
|
+
return _;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
function w(g) {
|
|
328
|
+
return j(g) === p;
|
|
329
|
+
}
|
|
330
|
+
return U.AsyncMode = d, U.ConcurrentMode = p, U.ContextConsumer = l, U.ContextProvider = a, U.Element = t, U.ForwardRef = h, U.Fragment = n, U.Lazy = b, U.Memo = u, U.Portal = r, U.Profiler = i, U.StrictMode = o, U.Suspense = y, U.isAsyncMode = function(g) {
|
|
331
|
+
return w(g) || j(g) === d;
|
|
332
|
+
}, U.isConcurrentMode = w, U.isContextConsumer = function(g) {
|
|
333
|
+
return j(g) === l;
|
|
334
|
+
}, U.isContextProvider = function(g) {
|
|
335
|
+
return j(g) === a;
|
|
336
|
+
}, U.isElement = function(g) {
|
|
337
|
+
return typeof g == "object" && g !== null && g.$$typeof === t;
|
|
338
|
+
}, U.isForwardRef = function(g) {
|
|
339
|
+
return j(g) === h;
|
|
340
|
+
}, U.isFragment = function(g) {
|
|
341
|
+
return j(g) === n;
|
|
342
|
+
}, U.isLazy = function(g) {
|
|
343
|
+
return j(g) === b;
|
|
344
|
+
}, U.isMemo = function(g) {
|
|
345
|
+
return j(g) === u;
|
|
346
|
+
}, U.isPortal = function(g) {
|
|
347
|
+
return j(g) === r;
|
|
348
|
+
}, U.isProfiler = function(g) {
|
|
349
|
+
return j(g) === i;
|
|
350
|
+
}, U.isStrictMode = function(g) {
|
|
351
|
+
return j(g) === o;
|
|
352
|
+
}, U.isSuspense = function(g) {
|
|
353
|
+
return j(g) === y;
|
|
354
|
+
}, U.isValidElementType = function(g) {
|
|
355
|
+
return typeof g == "string" || typeof g == "function" || g === n || g === p || g === i || g === o || g === y || g === v || typeof g == "object" && g !== null && (g.$$typeof === b || g.$$typeof === u || g.$$typeof === a || g.$$typeof === l || g.$$typeof === h || g.$$typeof === x || g.$$typeof === P || g.$$typeof === I || g.$$typeof === c);
|
|
356
|
+
}, U.typeOf = j, U;
|
|
357
|
+
}
|
|
358
|
+
var G = {};
|
|
359
|
+
/** @license React v16.13.1
|
|
360
|
+
* react-is.development.js
|
|
361
|
+
*
|
|
362
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
363
|
+
*
|
|
364
|
+
* This source code is licensed under the MIT license found in the
|
|
365
|
+
* LICENSE file in the root directory of this source tree.
|
|
366
|
+
*/
|
|
367
|
+
var nr;
|
|
368
|
+
function _n() {
|
|
369
|
+
return nr || (nr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
370
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, u = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, c = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, P = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
|
|
371
|
+
function j(O) {
|
|
372
|
+
return typeof O == "string" || typeof O == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
373
|
+
O === n || O === p || O === i || O === o || O === y || O === v || typeof O == "object" && O !== null && (O.$$typeof === b || O.$$typeof === u || O.$$typeof === a || O.$$typeof === l || O.$$typeof === h || O.$$typeof === x || O.$$typeof === P || O.$$typeof === I || O.$$typeof === c);
|
|
374
|
+
}
|
|
375
|
+
function w(O) {
|
|
376
|
+
if (typeof O == "object" && O !== null) {
|
|
377
|
+
var de = O.$$typeof;
|
|
378
|
+
switch (de) {
|
|
379
|
+
case t:
|
|
380
|
+
var Ke = O.type;
|
|
381
|
+
switch (Ke) {
|
|
382
|
+
case d:
|
|
383
|
+
case p:
|
|
384
|
+
case n:
|
|
385
|
+
case i:
|
|
386
|
+
case o:
|
|
387
|
+
case y:
|
|
388
|
+
return Ke;
|
|
389
|
+
default:
|
|
390
|
+
var Xt = Ke && Ke.$$typeof;
|
|
391
|
+
switch (Xt) {
|
|
392
|
+
case l:
|
|
393
|
+
case h:
|
|
394
|
+
case b:
|
|
395
|
+
case u:
|
|
396
|
+
case a:
|
|
397
|
+
return Xt;
|
|
398
|
+
default:
|
|
399
|
+
return de;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
case r:
|
|
403
|
+
return de;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
var g = d, _ = p, B = l, J = a, Q = t, ie = h, Y = n, s = b, A = u, E = r, N = i, M = o, ee = y, oe = !1;
|
|
408
|
+
function me(O) {
|
|
409
|
+
return oe || (oe = !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.")), S(O) || w(O) === d;
|
|
410
|
+
}
|
|
411
|
+
function S(O) {
|
|
412
|
+
return w(O) === p;
|
|
413
|
+
}
|
|
414
|
+
function f(O) {
|
|
415
|
+
return w(O) === l;
|
|
416
|
+
}
|
|
417
|
+
function T(O) {
|
|
418
|
+
return w(O) === a;
|
|
419
|
+
}
|
|
420
|
+
function R(O) {
|
|
421
|
+
return typeof O == "object" && O !== null && O.$$typeof === t;
|
|
422
|
+
}
|
|
423
|
+
function $(O) {
|
|
424
|
+
return w(O) === h;
|
|
425
|
+
}
|
|
426
|
+
function V(O) {
|
|
427
|
+
return w(O) === n;
|
|
428
|
+
}
|
|
429
|
+
function D(O) {
|
|
430
|
+
return w(O) === b;
|
|
431
|
+
}
|
|
432
|
+
function k(O) {
|
|
433
|
+
return w(O) === u;
|
|
434
|
+
}
|
|
435
|
+
function F(O) {
|
|
436
|
+
return w(O) === r;
|
|
437
|
+
}
|
|
438
|
+
function W(O) {
|
|
439
|
+
return w(O) === i;
|
|
440
|
+
}
|
|
441
|
+
function L(O) {
|
|
442
|
+
return w(O) === o;
|
|
443
|
+
}
|
|
444
|
+
function ae(O) {
|
|
445
|
+
return w(O) === y;
|
|
446
|
+
}
|
|
447
|
+
G.AsyncMode = g, G.ConcurrentMode = _, G.ContextConsumer = B, G.ContextProvider = J, G.Element = Q, G.ForwardRef = ie, G.Fragment = Y, G.Lazy = s, G.Memo = A, G.Portal = E, G.Profiler = N, G.StrictMode = M, G.Suspense = ee, G.isAsyncMode = me, G.isConcurrentMode = S, G.isContextConsumer = f, G.isContextProvider = T, G.isElement = R, G.isForwardRef = $, G.isFragment = V, G.isLazy = D, G.isMemo = k, G.isPortal = F, G.isProfiler = W, G.isStrictMode = L, G.isSuspense = ae, G.isValidElementType = j, G.typeOf = w;
|
|
448
|
+
}()), G;
|
|
449
|
+
}
|
|
450
|
+
var or;
|
|
451
|
+
function Fr() {
|
|
452
|
+
return or || (or = 1, process.env.NODE_ENV === "production" ? Je.exports = wn() : Je.exports = _n()), Je.exports;
|
|
453
|
+
}
|
|
454
|
+
/*
|
|
455
|
+
object-assign
|
|
456
|
+
(c) Sindre Sorhus
|
|
457
|
+
@license MIT
|
|
458
|
+
*/
|
|
459
|
+
var xt, ir;
|
|
460
|
+
function On() {
|
|
461
|
+
if (ir) return xt;
|
|
462
|
+
ir = 1;
|
|
463
|
+
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
464
|
+
function n(i) {
|
|
465
|
+
if (i == null)
|
|
466
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
467
|
+
return Object(i);
|
|
468
|
+
}
|
|
469
|
+
function o() {
|
|
470
|
+
try {
|
|
471
|
+
if (!Object.assign)
|
|
472
|
+
return !1;
|
|
473
|
+
var i = new String("abc");
|
|
474
|
+
if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
|
|
475
|
+
return !1;
|
|
476
|
+
for (var a = {}, l = 0; l < 10; l++)
|
|
477
|
+
a["_" + String.fromCharCode(l)] = l;
|
|
478
|
+
var d = Object.getOwnPropertyNames(a).map(function(h) {
|
|
479
|
+
return a[h];
|
|
480
|
+
});
|
|
481
|
+
if (d.join("") !== "0123456789")
|
|
482
|
+
return !1;
|
|
483
|
+
var p = {};
|
|
484
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(h) {
|
|
485
|
+
p[h] = h;
|
|
486
|
+
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
|
|
487
|
+
} catch {
|
|
488
|
+
return !1;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
return xt = o() ? Object.assign : function(i, a) {
|
|
492
|
+
for (var l, d = n(i), p, h = 1; h < arguments.length; h++) {
|
|
493
|
+
l = Object(arguments[h]);
|
|
494
|
+
for (var y in l)
|
|
495
|
+
t.call(l, y) && (d[y] = l[y]);
|
|
496
|
+
if (e) {
|
|
497
|
+
p = e(l);
|
|
498
|
+
for (var v = 0; v < p.length; v++)
|
|
499
|
+
r.call(l, p[v]) && (d[p[v]] = l[p[v]]);
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
return d;
|
|
503
|
+
}, xt;
|
|
504
|
+
}
|
|
505
|
+
var Et, ar;
|
|
506
|
+
function Wt() {
|
|
507
|
+
if (ar) return Et;
|
|
508
|
+
ar = 1;
|
|
509
|
+
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
510
|
+
return Et = e, Et;
|
|
511
|
+
}
|
|
512
|
+
var Tt, sr;
|
|
513
|
+
function Br() {
|
|
514
|
+
return sr || (sr = 1, Tt = Function.call.bind(Object.prototype.hasOwnProperty)), Tt;
|
|
515
|
+
}
|
|
516
|
+
var Ct, lr;
|
|
517
|
+
function An() {
|
|
518
|
+
if (lr) return Ct;
|
|
519
|
+
lr = 1;
|
|
520
|
+
var e = function() {
|
|
521
|
+
};
|
|
522
|
+
if (process.env.NODE_ENV !== "production") {
|
|
523
|
+
var t = Wt(), r = {}, n = Br();
|
|
524
|
+
e = function(i) {
|
|
525
|
+
var a = "Warning: " + i;
|
|
526
|
+
typeof console < "u" && console.error(a);
|
|
527
|
+
try {
|
|
528
|
+
throw new Error(a);
|
|
529
|
+
} catch {
|
|
530
|
+
}
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
function o(i, a, l, d, p) {
|
|
534
|
+
if (process.env.NODE_ENV !== "production") {
|
|
535
|
+
for (var h in i)
|
|
536
|
+
if (n(i, h)) {
|
|
537
|
+
var y;
|
|
538
|
+
try {
|
|
539
|
+
if (typeof i[h] != "function") {
|
|
540
|
+
var v = Error(
|
|
541
|
+
(d || "React class") + ": " + l + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
542
|
+
);
|
|
543
|
+
throw v.name = "Invariant Violation", v;
|
|
544
|
+
}
|
|
545
|
+
y = i[h](a, h, d, l, null, t);
|
|
546
|
+
} catch (b) {
|
|
547
|
+
y = b;
|
|
548
|
+
}
|
|
549
|
+
if (y && !(y instanceof Error) && e(
|
|
550
|
+
(d || "React class") + ": type specification of " + l + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof y + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
551
|
+
), y instanceof Error && !(y.message in r)) {
|
|
552
|
+
r[y.message] = !0;
|
|
553
|
+
var u = p ? p() : "";
|
|
554
|
+
e(
|
|
555
|
+
"Failed " + l + " type: " + y.message + (u ?? "")
|
|
556
|
+
);
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
return o.resetWarningCache = function() {
|
|
562
|
+
process.env.NODE_ENV !== "production" && (r = {});
|
|
563
|
+
}, Ct = o, Ct;
|
|
564
|
+
}
|
|
565
|
+
var wt, cr;
|
|
566
|
+
function $n() {
|
|
567
|
+
if (cr) return wt;
|
|
568
|
+
cr = 1;
|
|
569
|
+
var e = Fr(), t = On(), r = Wt(), n = Br(), o = An(), i = function() {
|
|
570
|
+
};
|
|
571
|
+
process.env.NODE_ENV !== "production" && (i = function(l) {
|
|
572
|
+
var d = "Warning: " + l;
|
|
573
|
+
typeof console < "u" && console.error(d);
|
|
574
|
+
try {
|
|
575
|
+
throw new Error(d);
|
|
576
|
+
} catch {
|
|
577
|
+
}
|
|
578
|
+
});
|
|
579
|
+
function a() {
|
|
580
|
+
return null;
|
|
581
|
+
}
|
|
582
|
+
return wt = function(l, d) {
|
|
583
|
+
var p = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
|
|
584
|
+
function y(S) {
|
|
585
|
+
var f = S && (p && S[p] || S[h]);
|
|
586
|
+
if (typeof f == "function")
|
|
587
|
+
return f;
|
|
588
|
+
}
|
|
589
|
+
var v = "<<anonymous>>", u = {
|
|
590
|
+
array: P("array"),
|
|
591
|
+
bigint: P("bigint"),
|
|
592
|
+
bool: P("boolean"),
|
|
593
|
+
func: P("function"),
|
|
594
|
+
number: P("number"),
|
|
595
|
+
object: P("object"),
|
|
596
|
+
string: P("string"),
|
|
597
|
+
symbol: P("symbol"),
|
|
598
|
+
any: I(),
|
|
599
|
+
arrayOf: j,
|
|
600
|
+
element: w(),
|
|
601
|
+
elementType: g(),
|
|
602
|
+
instanceOf: _,
|
|
603
|
+
node: ie(),
|
|
604
|
+
objectOf: J,
|
|
605
|
+
oneOf: B,
|
|
606
|
+
oneOfType: Q,
|
|
607
|
+
shape: s,
|
|
608
|
+
exact: A
|
|
609
|
+
};
|
|
610
|
+
function b(S, f) {
|
|
611
|
+
return S === f ? S !== 0 || 1 / S === 1 / f : S !== S && f !== f;
|
|
612
|
+
}
|
|
613
|
+
function c(S, f) {
|
|
614
|
+
this.message = S, this.data = f && typeof f == "object" ? f : {}, this.stack = "";
|
|
615
|
+
}
|
|
616
|
+
c.prototype = Error.prototype;
|
|
617
|
+
function x(S) {
|
|
618
|
+
if (process.env.NODE_ENV !== "production")
|
|
619
|
+
var f = {}, T = 0;
|
|
620
|
+
function R(V, D, k, F, W, L, ae) {
|
|
621
|
+
if (F = F || v, L = L || k, ae !== r) {
|
|
622
|
+
if (d) {
|
|
623
|
+
var O = new Error(
|
|
624
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
625
|
+
);
|
|
626
|
+
throw O.name = "Invariant Violation", O;
|
|
627
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
628
|
+
var de = F + ":" + k;
|
|
629
|
+
!f[de] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
630
|
+
T < 3 && (i(
|
|
631
|
+
"You are manually calling a React.PropTypes validation function for the `" + L + "` prop on `" + F + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
632
|
+
), f[de] = !0, T++);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
return D[k] == null ? V ? D[k] === null ? new c("The " + W + " `" + L + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new c("The " + W + " `" + L + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : S(D, k, F, W, L);
|
|
636
|
+
}
|
|
637
|
+
var $ = R.bind(null, !1);
|
|
638
|
+
return $.isRequired = R.bind(null, !0), $;
|
|
639
|
+
}
|
|
640
|
+
function P(S) {
|
|
641
|
+
function f(T, R, $, V, D, k) {
|
|
642
|
+
var F = T[R], W = M(F);
|
|
643
|
+
if (W !== S) {
|
|
644
|
+
var L = ee(F);
|
|
645
|
+
return new c(
|
|
646
|
+
"Invalid " + V + " `" + D + "` of type " + ("`" + L + "` supplied to `" + $ + "`, expected ") + ("`" + S + "`."),
|
|
647
|
+
{ expectedType: S }
|
|
648
|
+
);
|
|
649
|
+
}
|
|
650
|
+
return null;
|
|
651
|
+
}
|
|
652
|
+
return x(f);
|
|
653
|
+
}
|
|
654
|
+
function I() {
|
|
655
|
+
return x(a);
|
|
656
|
+
}
|
|
657
|
+
function j(S) {
|
|
658
|
+
function f(T, R, $, V, D) {
|
|
659
|
+
if (typeof S != "function")
|
|
660
|
+
return new c("Property `" + D + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
|
|
661
|
+
var k = T[R];
|
|
662
|
+
if (!Array.isArray(k)) {
|
|
663
|
+
var F = M(k);
|
|
664
|
+
return new c("Invalid " + V + " `" + D + "` of type " + ("`" + F + "` supplied to `" + $ + "`, expected an array."));
|
|
665
|
+
}
|
|
666
|
+
for (var W = 0; W < k.length; W++) {
|
|
667
|
+
var L = S(k, W, $, V, D + "[" + W + "]", r);
|
|
668
|
+
if (L instanceof Error)
|
|
669
|
+
return L;
|
|
670
|
+
}
|
|
671
|
+
return null;
|
|
672
|
+
}
|
|
673
|
+
return x(f);
|
|
674
|
+
}
|
|
675
|
+
function w() {
|
|
676
|
+
function S(f, T, R, $, V) {
|
|
677
|
+
var D = f[T];
|
|
678
|
+
if (!l(D)) {
|
|
679
|
+
var k = M(D);
|
|
680
|
+
return new c("Invalid " + $ + " `" + V + "` of type " + ("`" + k + "` supplied to `" + R + "`, expected a single ReactElement."));
|
|
681
|
+
}
|
|
682
|
+
return null;
|
|
683
|
+
}
|
|
684
|
+
return x(S);
|
|
685
|
+
}
|
|
686
|
+
function g() {
|
|
687
|
+
function S(f, T, R, $, V) {
|
|
688
|
+
var D = f[T];
|
|
689
|
+
if (!e.isValidElementType(D)) {
|
|
690
|
+
var k = M(D);
|
|
691
|
+
return new c("Invalid " + $ + " `" + V + "` of type " + ("`" + k + "` supplied to `" + R + "`, expected a single ReactElement type."));
|
|
692
|
+
}
|
|
693
|
+
return null;
|
|
694
|
+
}
|
|
695
|
+
return x(S);
|
|
696
|
+
}
|
|
697
|
+
function _(S) {
|
|
698
|
+
function f(T, R, $, V, D) {
|
|
699
|
+
if (!(T[R] instanceof S)) {
|
|
700
|
+
var k = S.name || v, F = me(T[R]);
|
|
701
|
+
return new c("Invalid " + V + " `" + D + "` of type " + ("`" + F + "` supplied to `" + $ + "`, expected ") + ("instance of `" + k + "`."));
|
|
702
|
+
}
|
|
703
|
+
return null;
|
|
704
|
+
}
|
|
705
|
+
return x(f);
|
|
706
|
+
}
|
|
707
|
+
function B(S) {
|
|
708
|
+
if (!Array.isArray(S))
|
|
709
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
710
|
+
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
711
|
+
) : i("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
712
|
+
function f(T, R, $, V, D) {
|
|
713
|
+
for (var k = T[R], F = 0; F < S.length; F++)
|
|
714
|
+
if (b(k, S[F]))
|
|
715
|
+
return null;
|
|
716
|
+
var W = JSON.stringify(S, function(ae, O) {
|
|
717
|
+
var de = ee(O);
|
|
718
|
+
return de === "symbol" ? String(O) : O;
|
|
719
|
+
});
|
|
720
|
+
return new c("Invalid " + V + " `" + D + "` of value `" + String(k) + "` " + ("supplied to `" + $ + "`, expected one of " + W + "."));
|
|
721
|
+
}
|
|
722
|
+
return x(f);
|
|
723
|
+
}
|
|
724
|
+
function J(S) {
|
|
725
|
+
function f(T, R, $, V, D) {
|
|
726
|
+
if (typeof S != "function")
|
|
727
|
+
return new c("Property `" + D + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
|
|
728
|
+
var k = T[R], F = M(k);
|
|
729
|
+
if (F !== "object")
|
|
730
|
+
return new c("Invalid " + V + " `" + D + "` of type " + ("`" + F + "` supplied to `" + $ + "`, expected an object."));
|
|
731
|
+
for (var W in k)
|
|
732
|
+
if (n(k, W)) {
|
|
733
|
+
var L = S(k, W, $, V, D + "." + W, r);
|
|
734
|
+
if (L instanceof Error)
|
|
735
|
+
return L;
|
|
736
|
+
}
|
|
737
|
+
return null;
|
|
738
|
+
}
|
|
739
|
+
return x(f);
|
|
740
|
+
}
|
|
741
|
+
function Q(S) {
|
|
742
|
+
if (!Array.isArray(S))
|
|
743
|
+
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
744
|
+
for (var f = 0; f < S.length; f++) {
|
|
745
|
+
var T = S[f];
|
|
746
|
+
if (typeof T != "function")
|
|
747
|
+
return i(
|
|
748
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + oe(T) + " at index " + f + "."
|
|
749
|
+
), a;
|
|
750
|
+
}
|
|
751
|
+
function R($, V, D, k, F) {
|
|
752
|
+
for (var W = [], L = 0; L < S.length; L++) {
|
|
753
|
+
var ae = S[L], O = ae($, V, D, k, F, r);
|
|
754
|
+
if (O == null)
|
|
755
|
+
return null;
|
|
756
|
+
O.data && n(O.data, "expectedType") && W.push(O.data.expectedType);
|
|
757
|
+
}
|
|
758
|
+
var de = W.length > 0 ? ", expected one of type [" + W.join(", ") + "]" : "";
|
|
759
|
+
return new c("Invalid " + k + " `" + F + "` supplied to " + ("`" + D + "`" + de + "."));
|
|
760
|
+
}
|
|
761
|
+
return x(R);
|
|
762
|
+
}
|
|
763
|
+
function ie() {
|
|
764
|
+
function S(f, T, R, $, V) {
|
|
765
|
+
return E(f[T]) ? null : new c("Invalid " + $ + " `" + V + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
|
|
766
|
+
}
|
|
767
|
+
return x(S);
|
|
768
|
+
}
|
|
769
|
+
function Y(S, f, T, R, $) {
|
|
770
|
+
return new c(
|
|
771
|
+
(S || "React class") + ": " + f + " type `" + T + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
|
|
772
|
+
);
|
|
773
|
+
}
|
|
774
|
+
function s(S) {
|
|
775
|
+
function f(T, R, $, V, D) {
|
|
776
|
+
var k = T[R], F = M(k);
|
|
777
|
+
if (F !== "object")
|
|
778
|
+
return new c("Invalid " + V + " `" + D + "` of type `" + F + "` " + ("supplied to `" + $ + "`, expected `object`."));
|
|
779
|
+
for (var W in S) {
|
|
780
|
+
var L = S[W];
|
|
781
|
+
if (typeof L != "function")
|
|
782
|
+
return Y($, V, D, W, ee(L));
|
|
783
|
+
var ae = L(k, W, $, V, D + "." + W, r);
|
|
784
|
+
if (ae)
|
|
785
|
+
return ae;
|
|
786
|
+
}
|
|
787
|
+
return null;
|
|
788
|
+
}
|
|
789
|
+
return x(f);
|
|
790
|
+
}
|
|
791
|
+
function A(S) {
|
|
792
|
+
function f(T, R, $, V, D) {
|
|
793
|
+
var k = T[R], F = M(k);
|
|
794
|
+
if (F !== "object")
|
|
795
|
+
return new c("Invalid " + V + " `" + D + "` of type `" + F + "` " + ("supplied to `" + $ + "`, expected `object`."));
|
|
796
|
+
var W = t({}, T[R], S);
|
|
797
|
+
for (var L in W) {
|
|
798
|
+
var ae = S[L];
|
|
799
|
+
if (n(S, L) && typeof ae != "function")
|
|
800
|
+
return Y($, V, D, L, ee(ae));
|
|
801
|
+
if (!ae)
|
|
802
|
+
return new c(
|
|
803
|
+
"Invalid " + V + " `" + D + "` key `" + L + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(T[R], null, " ") + `
|
|
804
|
+
Valid keys: ` + JSON.stringify(Object.keys(S), null, " ")
|
|
805
|
+
);
|
|
806
|
+
var O = ae(k, L, $, V, D + "." + L, r);
|
|
807
|
+
if (O)
|
|
808
|
+
return O;
|
|
809
|
+
}
|
|
810
|
+
return null;
|
|
811
|
+
}
|
|
812
|
+
return x(f);
|
|
813
|
+
}
|
|
814
|
+
function E(S) {
|
|
815
|
+
switch (typeof S) {
|
|
816
|
+
case "number":
|
|
817
|
+
case "string":
|
|
818
|
+
case "undefined":
|
|
819
|
+
return !0;
|
|
820
|
+
case "boolean":
|
|
821
|
+
return !S;
|
|
822
|
+
case "object":
|
|
823
|
+
if (Array.isArray(S))
|
|
824
|
+
return S.every(E);
|
|
825
|
+
if (S === null || l(S))
|
|
826
|
+
return !0;
|
|
827
|
+
var f = y(S);
|
|
828
|
+
if (f) {
|
|
829
|
+
var T = f.call(S), R;
|
|
830
|
+
if (f !== S.entries) {
|
|
831
|
+
for (; !(R = T.next()).done; )
|
|
832
|
+
if (!E(R.value))
|
|
833
|
+
return !1;
|
|
834
|
+
} else
|
|
835
|
+
for (; !(R = T.next()).done; ) {
|
|
836
|
+
var $ = R.value;
|
|
837
|
+
if ($ && !E($[1]))
|
|
838
|
+
return !1;
|
|
839
|
+
}
|
|
840
|
+
} else
|
|
841
|
+
return !1;
|
|
842
|
+
return !0;
|
|
843
|
+
default:
|
|
844
|
+
return !1;
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
function N(S, f) {
|
|
848
|
+
return S === "symbol" ? !0 : f ? f["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && f instanceof Symbol : !1;
|
|
849
|
+
}
|
|
850
|
+
function M(S) {
|
|
851
|
+
var f = typeof S;
|
|
852
|
+
return Array.isArray(S) ? "array" : S instanceof RegExp ? "object" : N(f, S) ? "symbol" : f;
|
|
853
|
+
}
|
|
854
|
+
function ee(S) {
|
|
855
|
+
if (typeof S > "u" || S === null)
|
|
856
|
+
return "" + S;
|
|
857
|
+
var f = M(S);
|
|
858
|
+
if (f === "object") {
|
|
859
|
+
if (S instanceof Date)
|
|
860
|
+
return "date";
|
|
861
|
+
if (S instanceof RegExp)
|
|
862
|
+
return "regexp";
|
|
863
|
+
}
|
|
864
|
+
return f;
|
|
865
|
+
}
|
|
866
|
+
function oe(S) {
|
|
867
|
+
var f = ee(S);
|
|
868
|
+
switch (f) {
|
|
869
|
+
case "array":
|
|
870
|
+
case "object":
|
|
871
|
+
return "an " + f;
|
|
872
|
+
case "boolean":
|
|
873
|
+
case "date":
|
|
874
|
+
case "regexp":
|
|
875
|
+
return "a " + f;
|
|
876
|
+
default:
|
|
877
|
+
return f;
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
function me(S) {
|
|
881
|
+
return !S.constructor || !S.constructor.name ? v : S.constructor.name;
|
|
882
|
+
}
|
|
883
|
+
return u.checkPropTypes = o, u.resetWarningCache = o.resetWarningCache, u.PropTypes = u, u;
|
|
884
|
+
}, wt;
|
|
885
|
+
}
|
|
886
|
+
var _t, ur;
|
|
887
|
+
function Rn() {
|
|
888
|
+
if (ur) return _t;
|
|
889
|
+
ur = 1;
|
|
890
|
+
var e = Wt();
|
|
891
|
+
function t() {
|
|
892
|
+
}
|
|
893
|
+
function r() {
|
|
894
|
+
}
|
|
895
|
+
return r.resetWarningCache = t, _t = function() {
|
|
896
|
+
function n(a, l, d, p, h, y) {
|
|
897
|
+
if (y !== e) {
|
|
898
|
+
var v = new Error(
|
|
899
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
900
|
+
);
|
|
901
|
+
throw v.name = "Invariant Violation", v;
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
n.isRequired = n;
|
|
905
|
+
function o() {
|
|
906
|
+
return n;
|
|
907
|
+
}
|
|
908
|
+
var i = {
|
|
909
|
+
array: n,
|
|
910
|
+
bigint: n,
|
|
911
|
+
bool: n,
|
|
912
|
+
func: n,
|
|
913
|
+
number: n,
|
|
914
|
+
object: n,
|
|
915
|
+
string: n,
|
|
916
|
+
symbol: n,
|
|
917
|
+
any: n,
|
|
918
|
+
arrayOf: o,
|
|
919
|
+
element: n,
|
|
920
|
+
elementType: n,
|
|
921
|
+
instanceOf: o,
|
|
922
|
+
node: n,
|
|
923
|
+
objectOf: o,
|
|
924
|
+
oneOf: o,
|
|
925
|
+
oneOfType: o,
|
|
926
|
+
shape: o,
|
|
927
|
+
exact: o,
|
|
928
|
+
checkPropTypes: r,
|
|
929
|
+
resetWarningCache: t
|
|
930
|
+
};
|
|
931
|
+
return i.PropTypes = i, i;
|
|
932
|
+
}, _t;
|
|
933
|
+
}
|
|
934
|
+
if (process.env.NODE_ENV !== "production") {
|
|
935
|
+
var kn = Fr(), Pn = !0;
|
|
936
|
+
Mt.exports = $n()(kn.isElement, Pn);
|
|
937
|
+
} else
|
|
938
|
+
Mt.exports = Rn()();
|
|
939
|
+
var In = Mt.exports;
|
|
940
|
+
const z = /* @__PURE__ */ En(In);
|
|
941
|
+
function Vr(e) {
|
|
942
|
+
var t, r, n = "";
|
|
943
|
+
if (typeof e == "string" || typeof e == "number") n += e;
|
|
944
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
945
|
+
var o = e.length;
|
|
946
|
+
for (t = 0; t < o; t++) e[t] && (r = Vr(e[t])) && (n && (n += " "), n += r);
|
|
947
|
+
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
948
|
+
return n;
|
|
949
|
+
}
|
|
950
|
+
function Lr() {
|
|
951
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = Vr(e)) && (n && (n += " "), n += t);
|
|
952
|
+
return n;
|
|
953
|
+
}
|
|
954
|
+
function jn(e, t, r = void 0) {
|
|
955
|
+
const n = {};
|
|
956
|
+
for (const o in e) {
|
|
957
|
+
const i = e[o];
|
|
958
|
+
let a = "", l = !0;
|
|
959
|
+
for (let d = 0; d < i.length; d += 1) {
|
|
960
|
+
const p = i[d];
|
|
961
|
+
p && (a += (l === !0 ? "" : " ") + t(p), l = !1, r && r[p] && (a += " " + r[p]));
|
|
962
|
+
}
|
|
963
|
+
n[o] = a;
|
|
964
|
+
}
|
|
965
|
+
return n;
|
|
966
|
+
}
|
|
967
|
+
function we(e, ...t) {
|
|
968
|
+
const r = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
969
|
+
return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
|
|
970
|
+
}
|
|
971
|
+
function Ne(e) {
|
|
972
|
+
if (typeof e != "string")
|
|
973
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : we(7));
|
|
974
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
975
|
+
}
|
|
976
|
+
function Ie(e, t) {
|
|
977
|
+
const r = Array.isArray(t), n = Array.isArray(e);
|
|
978
|
+
return Bn(t) ? t : Vn(e) ? Me(t) : r && n ? Dn(e, t) : r !== n ? Me(t) : Ln(e, t);
|
|
979
|
+
}
|
|
980
|
+
function Nn(e) {
|
|
981
|
+
let t = 0;
|
|
982
|
+
const r = e.length, n = new Array(r);
|
|
983
|
+
for (t = 0; t < r; t += 1)
|
|
984
|
+
n[t] = Me(e[t]);
|
|
985
|
+
return n;
|
|
986
|
+
}
|
|
987
|
+
function Mn(e) {
|
|
988
|
+
const t = {};
|
|
989
|
+
for (const r in e)
|
|
990
|
+
r === "__proto__" || r === "constructor" || r === "prototype" || (t[r] = Me(e[r]));
|
|
991
|
+
return t;
|
|
992
|
+
}
|
|
993
|
+
function Dn(e, t) {
|
|
994
|
+
const r = e.length;
|
|
995
|
+
for (let n = 0; n < t.length; n += 1)
|
|
996
|
+
e[r + n] = Me(t[n]);
|
|
997
|
+
return e;
|
|
998
|
+
}
|
|
999
|
+
function Fn(e) {
|
|
1000
|
+
return typeof e == "object" && e !== null && !(e instanceof RegExp) && !(e instanceof Date);
|
|
1001
|
+
}
|
|
1002
|
+
function Bn(e) {
|
|
1003
|
+
return typeof e != "object" || e === null;
|
|
1004
|
+
}
|
|
1005
|
+
function Vn(e) {
|
|
1006
|
+
return typeof e != "object" || e === null || e instanceof RegExp || e instanceof Date;
|
|
1007
|
+
}
|
|
1008
|
+
function Me(e) {
|
|
1009
|
+
return Fn(e) ? Array.isArray(e) ? Nn(e) : Mn(e) : e;
|
|
1010
|
+
}
|
|
1011
|
+
function Ln(e, t) {
|
|
1012
|
+
for (const r in t)
|
|
1013
|
+
r === "__proto__" || r === "constructor" || r === "prototype" || (r in e ? e[r] = Ie(e[r], t[r]) : e[r] = Me(t[r]));
|
|
1014
|
+
return e;
|
|
1015
|
+
}
|
|
1016
|
+
const xe = process.env.NODE_ENV !== "production" ? z.oneOfType([z.number, z.string, z.object, z.array]) : {};
|
|
1017
|
+
function Wr(e) {
|
|
1018
|
+
if (e == null)
|
|
1019
|
+
return !0;
|
|
1020
|
+
for (const t in e)
|
|
1021
|
+
return !1;
|
|
1022
|
+
return !0;
|
|
1023
|
+
}
|
|
1024
|
+
var Dt = { exports: {} }, K = {};
|
|
1025
|
+
/**
|
|
1026
|
+
* @license React
|
|
1027
|
+
* react-is.production.js
|
|
1028
|
+
*
|
|
1029
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1030
|
+
*
|
|
1031
|
+
* This source code is licensed under the MIT license found in the
|
|
1032
|
+
* LICENSE file in the root directory of this source tree.
|
|
1033
|
+
*/
|
|
1034
|
+
var fr;
|
|
1035
|
+
function Wn() {
|
|
1036
|
+
if (fr) return K;
|
|
1037
|
+
fr = 1;
|
|
1038
|
+
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), v = Symbol.for("react.view_transition"), u = Symbol.for("react.client.reference");
|
|
1039
|
+
function b(c) {
|
|
1040
|
+
if (typeof c == "object" && c !== null) {
|
|
1041
|
+
var x = c.$$typeof;
|
|
1042
|
+
switch (x) {
|
|
1043
|
+
case e:
|
|
1044
|
+
switch (c = c.type, c) {
|
|
1045
|
+
case r:
|
|
1046
|
+
case o:
|
|
1047
|
+
case n:
|
|
1048
|
+
case d:
|
|
1049
|
+
case p:
|
|
1050
|
+
case v:
|
|
1051
|
+
return c;
|
|
1052
|
+
default:
|
|
1053
|
+
switch (c = c && c.$$typeof, c) {
|
|
1054
|
+
case a:
|
|
1055
|
+
case l:
|
|
1056
|
+
case y:
|
|
1057
|
+
case h:
|
|
1058
|
+
return c;
|
|
1059
|
+
case i:
|
|
1060
|
+
return c;
|
|
1061
|
+
default:
|
|
1062
|
+
return x;
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
case t:
|
|
1066
|
+
return x;
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
return K.ContextConsumer = i, K.ContextProvider = a, K.Element = e, K.ForwardRef = l, K.Fragment = r, K.Lazy = y, K.Memo = h, K.Portal = t, K.Profiler = o, K.StrictMode = n, K.Suspense = d, K.SuspenseList = p, K.isContextConsumer = function(c) {
|
|
1071
|
+
return b(c) === i;
|
|
1072
|
+
}, K.isContextProvider = function(c) {
|
|
1073
|
+
return b(c) === a;
|
|
1074
|
+
}, K.isElement = function(c) {
|
|
1075
|
+
return typeof c == "object" && c !== null && c.$$typeof === e;
|
|
1076
|
+
}, K.isForwardRef = function(c) {
|
|
1077
|
+
return b(c) === l;
|
|
1078
|
+
}, K.isFragment = function(c) {
|
|
1079
|
+
return b(c) === r;
|
|
1080
|
+
}, K.isLazy = function(c) {
|
|
1081
|
+
return b(c) === y;
|
|
1082
|
+
}, K.isMemo = function(c) {
|
|
1083
|
+
return b(c) === h;
|
|
1084
|
+
}, K.isPortal = function(c) {
|
|
1085
|
+
return b(c) === t;
|
|
1086
|
+
}, K.isProfiler = function(c) {
|
|
1087
|
+
return b(c) === o;
|
|
1088
|
+
}, K.isStrictMode = function(c) {
|
|
1089
|
+
return b(c) === n;
|
|
1090
|
+
}, K.isSuspense = function(c) {
|
|
1091
|
+
return b(c) === d;
|
|
1092
|
+
}, K.isSuspenseList = function(c) {
|
|
1093
|
+
return b(c) === p;
|
|
1094
|
+
}, K.isValidElementType = function(c) {
|
|
1095
|
+
return typeof c == "string" || typeof c == "function" || c === r || c === o || c === n || c === d || c === p || typeof c == "object" && c !== null && (c.$$typeof === y || c.$$typeof === h || c.$$typeof === a || c.$$typeof === i || c.$$typeof === l || c.$$typeof === u || c.getModuleId !== void 0);
|
|
1096
|
+
}, K.typeOf = b, K;
|
|
1097
|
+
}
|
|
1098
|
+
var X = {};
|
|
1099
|
+
/**
|
|
1100
|
+
* @license React
|
|
1101
|
+
* react-is.development.js
|
|
1102
|
+
*
|
|
1103
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1104
|
+
*
|
|
1105
|
+
* This source code is licensed under the MIT license found in the
|
|
1106
|
+
* LICENSE file in the root directory of this source tree.
|
|
1107
|
+
*/
|
|
1108
|
+
var dr;
|
|
1109
|
+
function zn() {
|
|
1110
|
+
return dr || (dr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1111
|
+
function e(c) {
|
|
1112
|
+
if (typeof c == "object" && c !== null) {
|
|
1113
|
+
var x = c.$$typeof;
|
|
1114
|
+
switch (x) {
|
|
1115
|
+
case t:
|
|
1116
|
+
switch (c = c.type, c) {
|
|
1117
|
+
case n:
|
|
1118
|
+
case i:
|
|
1119
|
+
case o:
|
|
1120
|
+
case p:
|
|
1121
|
+
case h:
|
|
1122
|
+
case u:
|
|
1123
|
+
return c;
|
|
1124
|
+
default:
|
|
1125
|
+
switch (c = c && c.$$typeof, c) {
|
|
1126
|
+
case l:
|
|
1127
|
+
case d:
|
|
1128
|
+
case v:
|
|
1129
|
+
case y:
|
|
1130
|
+
return c;
|
|
1131
|
+
case a:
|
|
1132
|
+
return c;
|
|
1133
|
+
default:
|
|
1134
|
+
return x;
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
case r:
|
|
1138
|
+
return x;
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), u = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
|
|
1143
|
+
X.ContextConsumer = a, X.ContextProvider = l, X.Element = t, X.ForwardRef = d, X.Fragment = n, X.Lazy = v, X.Memo = y, X.Portal = r, X.Profiler = i, X.StrictMode = o, X.Suspense = p, X.SuspenseList = h, X.isContextConsumer = function(c) {
|
|
1144
|
+
return e(c) === a;
|
|
1145
|
+
}, X.isContextProvider = function(c) {
|
|
1146
|
+
return e(c) === l;
|
|
1147
|
+
}, X.isElement = function(c) {
|
|
1148
|
+
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
1149
|
+
}, X.isForwardRef = function(c) {
|
|
1150
|
+
return e(c) === d;
|
|
1151
|
+
}, X.isFragment = function(c) {
|
|
1152
|
+
return e(c) === n;
|
|
1153
|
+
}, X.isLazy = function(c) {
|
|
1154
|
+
return e(c) === v;
|
|
1155
|
+
}, X.isMemo = function(c) {
|
|
1156
|
+
return e(c) === y;
|
|
1157
|
+
}, X.isPortal = function(c) {
|
|
1158
|
+
return e(c) === r;
|
|
1159
|
+
}, X.isProfiler = function(c) {
|
|
1160
|
+
return e(c) === i;
|
|
1161
|
+
}, X.isStrictMode = function(c) {
|
|
1162
|
+
return e(c) === o;
|
|
1163
|
+
}, X.isSuspense = function(c) {
|
|
1164
|
+
return e(c) === p;
|
|
1165
|
+
}, X.isSuspenseList = function(c) {
|
|
1166
|
+
return e(c) === h;
|
|
1167
|
+
}, X.isValidElementType = function(c) {
|
|
1168
|
+
return typeof c == "string" || typeof c == "function" || c === n || c === i || c === o || c === p || c === h || typeof c == "object" && c !== null && (c.$$typeof === v || c.$$typeof === y || c.$$typeof === l || c.$$typeof === a || c.$$typeof === d || c.$$typeof === b || c.getModuleId !== void 0);
|
|
1169
|
+
}, X.typeOf = e;
|
|
1170
|
+
}()), X;
|
|
1171
|
+
}
|
|
1172
|
+
process.env.NODE_ENV === "production" ? Dt.exports = Wn() : Dt.exports = zn();
|
|
1173
|
+
var tt = Dt.exports;
|
|
1174
|
+
function ge(e) {
|
|
1175
|
+
if (typeof e != "object" || e === null)
|
|
1176
|
+
return !1;
|
|
1177
|
+
const t = Object.getPrototypeOf(e);
|
|
1178
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
1179
|
+
}
|
|
1180
|
+
function zr(e) {
|
|
1181
|
+
if (/* @__PURE__ */ ve.isValidElement(e) || tt.isValidElementType(e) || !ge(e))
|
|
1182
|
+
return e;
|
|
1183
|
+
const t = {};
|
|
1184
|
+
return Object.keys(e).forEach((r) => {
|
|
1185
|
+
t[r] = zr(e[r]);
|
|
1186
|
+
}), t;
|
|
1187
|
+
}
|
|
1188
|
+
function ue(e, t, r = {
|
|
1189
|
+
clone: !0
|
|
1190
|
+
}) {
|
|
1191
|
+
const n = r.clone ? {
|
|
1192
|
+
...e
|
|
1193
|
+
} : e;
|
|
1194
|
+
return ge(e) && ge(t) && Object.keys(t).forEach((o) => {
|
|
1195
|
+
/* @__PURE__ */ ve.isValidElement(t[o]) || tt.isValidElementType(t[o]) ? n[o] = t[o] : ge(t[o]) && // Avoid prototype pollution
|
|
1196
|
+
Object.prototype.hasOwnProperty.call(e, o) && ge(e[o]) ? n[o] = ue(e[o], t[o], r) : r.clone ? n[o] = ge(t[o]) ? zr(t[o]) : t[o] : n[o] = t[o];
|
|
1197
|
+
}), n;
|
|
1198
|
+
}
|
|
1199
|
+
const pr = /min-width:\s*([0-9.]+)/;
|
|
1200
|
+
function mr(e, t) {
|
|
1201
|
+
if (!e.containerQueries || !Yn(t))
|
|
1202
|
+
return t;
|
|
1203
|
+
const r = [];
|
|
1204
|
+
for (const o in t)
|
|
1205
|
+
o.startsWith("@container") && r.push(o);
|
|
1206
|
+
r.sort((o, i) => {
|
|
1207
|
+
var a, l;
|
|
1208
|
+
return +(((a = o.match(pr)) == null ? void 0 : a[1]) || 0) - +(((l = i.match(pr)) == null ? void 0 : l[1]) || 0);
|
|
1209
|
+
});
|
|
1210
|
+
const n = t;
|
|
1211
|
+
for (let o = 0; o < r.length; o += 1) {
|
|
1212
|
+
const i = r[o], a = n[i];
|
|
1213
|
+
delete n[i], n[i] = a;
|
|
1214
|
+
}
|
|
1215
|
+
return n;
|
|
1216
|
+
}
|
|
1217
|
+
function Yn(e) {
|
|
1218
|
+
for (const t in e)
|
|
1219
|
+
if (t.startsWith("@container"))
|
|
1220
|
+
return !0;
|
|
1221
|
+
return !1;
|
|
1222
|
+
}
|
|
1223
|
+
function Yr(e, t) {
|
|
1224
|
+
return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
|
|
1225
|
+
}
|
|
1226
|
+
function Un(e, t) {
|
|
1227
|
+
const r = t.match(/^@([^/]+)?\/?(.+)?$/);
|
|
1228
|
+
if (!r) {
|
|
1229
|
+
if (process.env.NODE_ENV !== "production")
|
|
1230
|
+
throw (
|
|
1231
|
+
/* minify-error */
|
|
1232
|
+
new Error(`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
1233
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`)
|
|
1234
|
+
);
|
|
1235
|
+
return null;
|
|
1236
|
+
}
|
|
1237
|
+
const [, n, o] = r, i = Number.isNaN(+n) ? n || 0 : +n;
|
|
1238
|
+
return e.containerQueries(o).up(i);
|
|
1239
|
+
}
|
|
1240
|
+
function Gn(e) {
|
|
1241
|
+
const t = (i, a) => i.replace("@media", a ? `@container ${a}` : "@container");
|
|
1242
|
+
function r(i, a) {
|
|
1243
|
+
i.up = (...l) => t(e.breakpoints.up(...l), a), i.down = (...l) => t(e.breakpoints.down(...l), a), i.between = (...l) => t(e.breakpoints.between(...l), a), i.only = (...l) => t(e.breakpoints.only(...l), a), i.not = (...l) => {
|
|
1244
|
+
const d = t(e.breakpoints.not(...l), a);
|
|
1245
|
+
return d.includes("not all and") ? d.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : d;
|
|
1246
|
+
};
|
|
1247
|
+
}
|
|
1248
|
+
const n = {}, o = (i) => (r(n, i), n);
|
|
1249
|
+
return r(o), {
|
|
1250
|
+
...e,
|
|
1251
|
+
containerQueries: o
|
|
1252
|
+
};
|
|
1253
|
+
}
|
|
1254
|
+
const qn = (e) => {
|
|
1255
|
+
const t = Object.keys(e).map((r) => ({
|
|
1256
|
+
key: r,
|
|
1257
|
+
val: e[r]
|
|
1258
|
+
})) || [];
|
|
1259
|
+
return t.sort((r, n) => r.val - n.val), t.reduce((r, n) => ({
|
|
1260
|
+
...r,
|
|
1261
|
+
[n.key]: n.val
|
|
1262
|
+
}), {});
|
|
1263
|
+
};
|
|
1264
|
+
function Ur(e) {
|
|
1265
|
+
const {
|
|
1266
|
+
values: t = {
|
|
1267
|
+
xs: 0,
|
|
1268
|
+
sm: 600,
|
|
1269
|
+
md: 900,
|
|
1270
|
+
lg: 1200,
|
|
1271
|
+
xl: 1536
|
|
1272
|
+
},
|
|
1273
|
+
unit: r = "px",
|
|
1274
|
+
step: n = 5,
|
|
1275
|
+
...o
|
|
1276
|
+
} = e, i = qn(t), a = Object.keys(i);
|
|
1277
|
+
function l(u) {
|
|
1278
|
+
return `@media (min-width:${typeof t[u] == "number" ? t[u] : u}${r})`;
|
|
1279
|
+
}
|
|
1280
|
+
function d(u) {
|
|
1281
|
+
return `@media (max-width:${(typeof t[u] == "number" ? t[u] : u) - n / 100}${r})`;
|
|
1282
|
+
}
|
|
1283
|
+
function p(u, b) {
|
|
1284
|
+
const c = a.indexOf(b);
|
|
1285
|
+
return `@media (min-width:${typeof t[u] == "number" ? t[u] : u}${r}) and (max-width:${(c !== -1 && typeof t[a[c]] == "number" ? t[a[c]] : b) - n / 100}${r})`;
|
|
1286
|
+
}
|
|
1287
|
+
function h(u) {
|
|
1288
|
+
return a.indexOf(u) + 1 < a.length ? p(u, a[a.indexOf(u) + 1]) : l(u);
|
|
1289
|
+
}
|
|
1290
|
+
function y(u) {
|
|
1291
|
+
const b = a.indexOf(u);
|
|
1292
|
+
return b === 0 ? l(a[1]) : b === a.length - 1 ? d(a[b]) : p(u, a[a.indexOf(u) + 1]).replace("@media", "@media not all and");
|
|
1293
|
+
}
|
|
1294
|
+
const v = [];
|
|
1295
|
+
for (let u = 0; u < a.length; u += 1)
|
|
1296
|
+
v.push(l(a[u]));
|
|
1297
|
+
return {
|
|
1298
|
+
keys: a,
|
|
1299
|
+
values: i,
|
|
1300
|
+
up: l,
|
|
1301
|
+
down: d,
|
|
1302
|
+
between: p,
|
|
1303
|
+
only: h,
|
|
1304
|
+
not: y,
|
|
1305
|
+
unit: r,
|
|
1306
|
+
internal_mediaKeys: v,
|
|
1307
|
+
...o
|
|
1308
|
+
};
|
|
1309
|
+
}
|
|
1310
|
+
const Hn = {}, st = {
|
|
1311
|
+
xs: 0,
|
|
1312
|
+
// phone
|
|
1313
|
+
sm: 600,
|
|
1314
|
+
// tablet
|
|
1315
|
+
md: 900,
|
|
1316
|
+
// small laptop
|
|
1317
|
+
lg: 1200,
|
|
1318
|
+
// desktop
|
|
1319
|
+
xl: 1536
|
|
1320
|
+
// large screen
|
|
1321
|
+
}, rt = Ur({
|
|
1322
|
+
values: st
|
|
1323
|
+
}), Kn = {
|
|
1324
|
+
containerQueries: (e) => ({
|
|
1325
|
+
up: (t) => {
|
|
1326
|
+
let r = typeof t == "number" ? t : st[t] || t;
|
|
1327
|
+
return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
|
|
1328
|
+
}
|
|
1329
|
+
})
|
|
1330
|
+
};
|
|
1331
|
+
function De(e, t, r) {
|
|
1332
|
+
const n = {};
|
|
1333
|
+
return lt(n, e.theme, t, (o, i, a) => {
|
|
1334
|
+
const l = r(i, a);
|
|
1335
|
+
o ? n[o] = l : Ie(n, l);
|
|
1336
|
+
});
|
|
1337
|
+
}
|
|
1338
|
+
function lt(e, t, r, n) {
|
|
1339
|
+
if (t ?? (t = Hn), Array.isArray(r)) {
|
|
1340
|
+
const o = t.breakpoints ?? rt;
|
|
1341
|
+
for (let i = 0; i < r.length; i += 1)
|
|
1342
|
+
Ot(e, o.up(o.keys[i]), r[i], void 0, n);
|
|
1343
|
+
return e;
|
|
1344
|
+
}
|
|
1345
|
+
if (typeof r == "object") {
|
|
1346
|
+
const o = t.breakpoints ?? rt, i = o.values ?? st;
|
|
1347
|
+
for (const a in r)
|
|
1348
|
+
if (Yr(o.keys, a)) {
|
|
1349
|
+
const l = Un(t.containerQueries ? t : Kn, a);
|
|
1350
|
+
l && Ot(e, l, r[a], a, n);
|
|
1351
|
+
} else if (a in i) {
|
|
1352
|
+
const l = o.up(a);
|
|
1353
|
+
Ot(e, l, r[a], a, n);
|
|
1354
|
+
} else {
|
|
1355
|
+
const l = a;
|
|
1356
|
+
e[l] = r[l];
|
|
1357
|
+
}
|
|
1358
|
+
return e;
|
|
1359
|
+
}
|
|
1360
|
+
return n(void 0, r), e;
|
|
1361
|
+
}
|
|
1362
|
+
function Ot(e, t, r, n, o) {
|
|
1363
|
+
e[t] ?? (e[t] = {}), o(t, r, n);
|
|
1364
|
+
}
|
|
1365
|
+
function Xn(e = rt) {
|
|
1366
|
+
const {
|
|
1367
|
+
internal_mediaKeys: t
|
|
1368
|
+
} = e, r = {};
|
|
1369
|
+
for (let n = 0; n < t.length; n += 1)
|
|
1370
|
+
r[t[n]] = {};
|
|
1371
|
+
return r;
|
|
1372
|
+
}
|
|
1373
|
+
function hr(e, t) {
|
|
1374
|
+
const r = e.internal_mediaKeys;
|
|
1375
|
+
for (let n = 0; n < r.length; n += 1) {
|
|
1376
|
+
const o = r[n];
|
|
1377
|
+
Wr(t[o]) && delete t[o];
|
|
1378
|
+
}
|
|
1379
|
+
return t;
|
|
1380
|
+
}
|
|
1381
|
+
function Jn(e, t) {
|
|
1382
|
+
if (Array.isArray(t))
|
|
1383
|
+
return !0;
|
|
1384
|
+
if (typeof t == "object" && t !== null) {
|
|
1385
|
+
for (let n = 0; n < e.keys.length; n += 1)
|
|
1386
|
+
if (e.keys[n] in t)
|
|
1387
|
+
return !0;
|
|
1388
|
+
const r = Object.keys(t);
|
|
1389
|
+
for (let n = 0; n < r.length; n += 1)
|
|
1390
|
+
if (Yr(e.keys, r[n]))
|
|
1391
|
+
return !0;
|
|
1392
|
+
}
|
|
1393
|
+
return !1;
|
|
1394
|
+
}
|
|
1395
|
+
function Gr(e, t, r, n) {
|
|
1396
|
+
let o;
|
|
1397
|
+
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || r : typeof r == "string" ? o = ct(e, r, !0, n) || r : o = r, t && (o = t(o, r, e)), o;
|
|
1398
|
+
}
|
|
1399
|
+
function ct(e, t, r = !0, n = void 0) {
|
|
1400
|
+
if (!e || !t)
|
|
1401
|
+
return null;
|
|
1402
|
+
const o = t.split(".");
|
|
1403
|
+
if (e.vars && r) {
|
|
1404
|
+
const i = gr(e.vars, o, n);
|
|
1405
|
+
if (i != null)
|
|
1406
|
+
return i;
|
|
1407
|
+
}
|
|
1408
|
+
return gr(e, o, n);
|
|
1409
|
+
}
|
|
1410
|
+
function gr(e, t, r = void 0) {
|
|
1411
|
+
let n, o = e, i = 0;
|
|
1412
|
+
for (; i < t.length; ) {
|
|
1413
|
+
if (o == null)
|
|
1414
|
+
return o;
|
|
1415
|
+
n = o, o = o[t[i]], i += 1;
|
|
1416
|
+
}
|
|
1417
|
+
if (r && o === void 0) {
|
|
1418
|
+
const a = t[t.length - 1], l = `${r}${a === "default" ? "" : Ne(a)}`;
|
|
1419
|
+
return n == null ? void 0 : n[l];
|
|
1420
|
+
}
|
|
1421
|
+
return o;
|
|
1422
|
+
}
|
|
1423
|
+
function te(e) {
|
|
1424
|
+
const {
|
|
1425
|
+
prop: t,
|
|
1426
|
+
cssProperty: r = e.prop,
|
|
1427
|
+
themeKey: n,
|
|
1428
|
+
transform: o
|
|
1429
|
+
} = e, i = (a) => {
|
|
1430
|
+
if (a[t] == null)
|
|
1431
|
+
return null;
|
|
1432
|
+
const l = a[t], d = a.theme, p = ct(d, n) || {};
|
|
1433
|
+
return De(a, l, (y) => {
|
|
1434
|
+
const v = Gr(p, o, y, t);
|
|
1435
|
+
return r === !1 ? v : {
|
|
1436
|
+
[r]: v
|
|
1437
|
+
};
|
|
1438
|
+
});
|
|
1439
|
+
};
|
|
1440
|
+
return i.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1441
|
+
[t]: xe
|
|
1442
|
+
} : {}, i.filterProps = [t], i;
|
|
1443
|
+
}
|
|
1444
|
+
const Qn = {
|
|
1445
|
+
internal_cache: {}
|
|
1446
|
+
}, nt = {
|
|
1447
|
+
m: "margin",
|
|
1448
|
+
p: "padding"
|
|
1449
|
+
}, yr = {
|
|
1450
|
+
t: "Top",
|
|
1451
|
+
r: "Right",
|
|
1452
|
+
b: "Bottom",
|
|
1453
|
+
l: "Left",
|
|
1454
|
+
x: ["Left", "Right"],
|
|
1455
|
+
y: ["Top", "Bottom"]
|
|
1456
|
+
}, br = {
|
|
1457
|
+
marginX: "mx",
|
|
1458
|
+
marginY: "my",
|
|
1459
|
+
paddingX: "px",
|
|
1460
|
+
paddingY: "py"
|
|
1461
|
+
}, ze = {};
|
|
1462
|
+
for (const e in nt)
|
|
1463
|
+
ze[e] = [nt[e]];
|
|
1464
|
+
for (const e in nt)
|
|
1465
|
+
for (const t in yr) {
|
|
1466
|
+
const r = nt[e], n = yr[t], o = Array.isArray(n) ? n.map((i) => r + i) : [r + n];
|
|
1467
|
+
ze[e + t] = o;
|
|
1468
|
+
}
|
|
1469
|
+
for (const e in br)
|
|
1470
|
+
ze[e] = ze[br[e]];
|
|
1471
|
+
const ut = /* @__PURE__ */ new Set(["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"]), ft = /* @__PURE__ */ new Set(["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"]), Zn = /* @__PURE__ */ new Set([...ut, ...ft]);
|
|
1472
|
+
function Ge(e, t, r, n) {
|
|
1473
|
+
const o = ct(e, t, !0) ?? r;
|
|
1474
|
+
return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? o.startsWith("var(") && i === 0 ? 0 : o.startsWith("var(") && i === 1 ? o : `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
|
|
1475
|
+
if (typeof i == "string")
|
|
1476
|
+
return i;
|
|
1477
|
+
const a = Math.abs(i);
|
|
1478
|
+
process.env.NODE_ENV !== "production" && (Number.isInteger(a) ? a > o.length - 1 && console.error([`MUI: The value provided (${a}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${a} > ${o.length - 1}, you need to add the missing values.`].join(`
|
|
1479
|
+
`)) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
1480
|
+
`)));
|
|
1481
|
+
const l = o[a];
|
|
1482
|
+
return i >= 0 ? l : typeof l == "number" ? -l : typeof l == "string" && l.startsWith("var(") ? `calc(-1 * ${l})` : `-${l}`;
|
|
1483
|
+
} : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
1484
|
+
`)), () => {
|
|
1485
|
+
});
|
|
1486
|
+
}
|
|
1487
|
+
function zt(e) {
|
|
1488
|
+
return Ge(e, "spacing", 8, "spacing");
|
|
1489
|
+
}
|
|
1490
|
+
function qe(e, t) {
|
|
1491
|
+
return typeof t == "string" || t == null ? t : e(t);
|
|
1492
|
+
}
|
|
1493
|
+
const vr = [""];
|
|
1494
|
+
function qr(e, t) {
|
|
1495
|
+
var i;
|
|
1496
|
+
const r = e.theme ?? Qn, n = ((i = r == null ? void 0 : r.internal_cache) == null ? void 0 : i.unarySpacing) ?? zt(r), o = {};
|
|
1497
|
+
for (const a in e) {
|
|
1498
|
+
if (!t.has(a))
|
|
1499
|
+
continue;
|
|
1500
|
+
const l = ze[a] ?? (vr[0] = a, vr), d = e[a];
|
|
1501
|
+
lt(o, e.theme, d, (p, h) => {
|
|
1502
|
+
const y = p ? o[p] : o;
|
|
1503
|
+
for (let v = 0; v < l.length; v += 1)
|
|
1504
|
+
y[l[v]] = qe(n, h);
|
|
1505
|
+
});
|
|
1506
|
+
}
|
|
1507
|
+
return o;
|
|
1508
|
+
}
|
|
1509
|
+
function Yt(e) {
|
|
1510
|
+
return qr(e, ut);
|
|
1511
|
+
}
|
|
1512
|
+
Yt.propTypes = process.env.NODE_ENV !== "production" ? Array.from(ut).reduce((e, t) => (e[t] = xe, e), {}) : {};
|
|
1513
|
+
Yt.filterProps = ut;
|
|
1514
|
+
const re = Yt;
|
|
1515
|
+
function Ut(e) {
|
|
1516
|
+
return qr(e, ft);
|
|
1517
|
+
}
|
|
1518
|
+
Ut.propTypes = process.env.NODE_ENV !== "production" ? Array.from(ft).reduce((e, t) => (e[t] = xe, e), {}) : {};
|
|
1519
|
+
Ut.filterProps = ft;
|
|
1520
|
+
const ne = Ut;
|
|
1521
|
+
process.env.NODE_ENV !== "production" && Array.from(Zn).reduce((e, t) => (e[t] = xe, e), {});
|
|
1522
|
+
function dt(...e) {
|
|
1523
|
+
const t = e.reduce((n, o) => (o.filterProps.forEach((i) => {
|
|
1524
|
+
n[i] = o;
|
|
1525
|
+
}), n), {}), r = (n) => {
|
|
1526
|
+
const o = {};
|
|
1527
|
+
for (const i in n)
|
|
1528
|
+
t[i] && Ie(o, t[i](n));
|
|
1529
|
+
return o;
|
|
1530
|
+
};
|
|
1531
|
+
return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
|
|
1532
|
+
}
|
|
1533
|
+
function le(e) {
|
|
1534
|
+
return typeof e != "number" ? e : `${e}px solid`;
|
|
1535
|
+
}
|
|
1536
|
+
function fe(e, t) {
|
|
1537
|
+
return te({
|
|
1538
|
+
prop: e,
|
|
1539
|
+
themeKey: "borders",
|
|
1540
|
+
transform: t
|
|
1541
|
+
});
|
|
1542
|
+
}
|
|
1543
|
+
const eo = fe("border", le), to = fe("borderTop", le), ro = fe("borderRight", le), no = fe("borderBottom", le), oo = fe("borderLeft", le), io = fe("borderColor"), ao = fe("borderTopColor"), so = fe("borderRightColor"), lo = fe("borderBottomColor"), co = fe("borderLeftColor"), uo = fe("outline", le), fo = fe("outlineColor"), pt = (e) => {
|
|
1544
|
+
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1545
|
+
const t = Ge(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
1546
|
+
borderRadius: qe(t, n)
|
|
1547
|
+
});
|
|
1548
|
+
return De(e, e.borderRadius, r);
|
|
1549
|
+
}
|
|
1550
|
+
return null;
|
|
1551
|
+
};
|
|
1552
|
+
pt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1553
|
+
borderRadius: xe
|
|
1554
|
+
} : {};
|
|
1555
|
+
pt.filterProps = ["borderRadius"];
|
|
1556
|
+
dt(eo, to, ro, no, oo, io, ao, so, lo, co, pt, uo, fo);
|
|
1557
|
+
const mt = (e) => {
|
|
1558
|
+
if (e.gap !== void 0 && e.gap !== null) {
|
|
1559
|
+
const t = Ge(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
1560
|
+
gap: qe(t, n)
|
|
1561
|
+
});
|
|
1562
|
+
return De(e, e.gap, r);
|
|
1563
|
+
}
|
|
1564
|
+
return null;
|
|
1565
|
+
};
|
|
1566
|
+
mt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1567
|
+
gap: xe
|
|
1568
|
+
} : {};
|
|
1569
|
+
mt.filterProps = ["gap"];
|
|
1570
|
+
const ht = (e) => {
|
|
1571
|
+
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1572
|
+
const t = Ge(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
|
|
1573
|
+
columnGap: qe(t, n)
|
|
1574
|
+
});
|
|
1575
|
+
return De(e, e.columnGap, r);
|
|
1576
|
+
}
|
|
1577
|
+
return null;
|
|
1578
|
+
};
|
|
1579
|
+
ht.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1580
|
+
columnGap: xe
|
|
1581
|
+
} : {};
|
|
1582
|
+
ht.filterProps = ["columnGap"];
|
|
1583
|
+
const gt = (e) => {
|
|
1584
|
+
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1585
|
+
const t = Ge(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
|
|
1586
|
+
rowGap: qe(t, n)
|
|
1587
|
+
});
|
|
1588
|
+
return De(e, e.rowGap, r);
|
|
1589
|
+
}
|
|
1590
|
+
return null;
|
|
1591
|
+
};
|
|
1592
|
+
gt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1593
|
+
rowGap: xe
|
|
1594
|
+
} : {};
|
|
1595
|
+
gt.filterProps = ["rowGap"];
|
|
1596
|
+
const po = te({
|
|
1597
|
+
prop: "gridColumn"
|
|
1598
|
+
}), mo = te({
|
|
1599
|
+
prop: "gridRow"
|
|
1600
|
+
}), ho = te({
|
|
1601
|
+
prop: "gridAutoFlow"
|
|
1602
|
+
}), go = te({
|
|
1603
|
+
prop: "gridAutoColumns"
|
|
1604
|
+
}), yo = te({
|
|
1605
|
+
prop: "gridAutoRows"
|
|
1606
|
+
}), bo = te({
|
|
1607
|
+
prop: "gridTemplateColumns"
|
|
1608
|
+
}), vo = te({
|
|
1609
|
+
prop: "gridTemplateRows"
|
|
1610
|
+
}), So = te({
|
|
1611
|
+
prop: "gridTemplateAreas"
|
|
1612
|
+
}), xo = te({
|
|
1613
|
+
prop: "gridArea"
|
|
1614
|
+
});
|
|
1615
|
+
dt(mt, ht, gt, po, mo, ho, go, yo, bo, vo, So, xo);
|
|
1616
|
+
function je(e, t) {
|
|
1617
|
+
return t === "grey" ? t : e;
|
|
1618
|
+
}
|
|
1619
|
+
const Eo = te({
|
|
1620
|
+
prop: "color",
|
|
1621
|
+
themeKey: "palette",
|
|
1622
|
+
transform: je
|
|
1623
|
+
}), To = te({
|
|
1624
|
+
prop: "bgcolor",
|
|
1625
|
+
cssProperty: "backgroundColor",
|
|
1626
|
+
themeKey: "palette",
|
|
1627
|
+
transform: je
|
|
1628
|
+
}), Co = te({
|
|
1629
|
+
prop: "backgroundColor",
|
|
1630
|
+
themeKey: "palette",
|
|
1631
|
+
transform: je
|
|
1632
|
+
});
|
|
1633
|
+
dt(Eo, To, Co);
|
|
1634
|
+
const wo = st;
|
|
1635
|
+
function se(e) {
|
|
1636
|
+
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1637
|
+
}
|
|
1638
|
+
const _o = te({
|
|
1639
|
+
prop: "width",
|
|
1640
|
+
transform: se
|
|
1641
|
+
}), Gt = (e) => {
|
|
1642
|
+
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
1643
|
+
const t = (r) => {
|
|
1644
|
+
var o, i, a, l, d;
|
|
1645
|
+
const n = ((a = (i = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : i.values) == null ? void 0 : a[r]) || wo[r];
|
|
1646
|
+
return n ? ((d = (l = e.theme) == null ? void 0 : l.breakpoints) == null ? void 0 : d.unit) !== "px" ? {
|
|
1647
|
+
maxWidth: `${n}${e.theme.breakpoints.unit}`
|
|
1648
|
+
} : {
|
|
1649
|
+
maxWidth: n
|
|
1650
|
+
} : {
|
|
1651
|
+
maxWidth: se(r)
|
|
1652
|
+
};
|
|
1653
|
+
};
|
|
1654
|
+
return De(e, e.maxWidth, t);
|
|
1655
|
+
}
|
|
1656
|
+
return null;
|
|
1657
|
+
};
|
|
1658
|
+
Gt.filterProps = ["maxWidth"];
|
|
1659
|
+
const Oo = te({
|
|
1660
|
+
prop: "minWidth",
|
|
1661
|
+
transform: se
|
|
1662
|
+
}), Ao = te({
|
|
1663
|
+
prop: "height",
|
|
1664
|
+
transform: se
|
|
1665
|
+
}), $o = te({
|
|
1666
|
+
prop: "maxHeight",
|
|
1667
|
+
transform: se
|
|
1668
|
+
}), Ro = te({
|
|
1669
|
+
prop: "minHeight",
|
|
1670
|
+
transform: se
|
|
1671
|
+
});
|
|
1672
|
+
te({
|
|
1673
|
+
prop: "size",
|
|
1674
|
+
cssProperty: "width",
|
|
1675
|
+
transform: se
|
|
1676
|
+
});
|
|
1677
|
+
te({
|
|
1678
|
+
prop: "size",
|
|
1679
|
+
cssProperty: "height",
|
|
1680
|
+
transform: se
|
|
1681
|
+
});
|
|
1682
|
+
const ko = te({
|
|
1683
|
+
prop: "boxSizing"
|
|
1684
|
+
});
|
|
1685
|
+
dt(_o, Gt, Oo, Ao, $o, Ro, ko);
|
|
1686
|
+
const yt = {
|
|
1687
|
+
// borders
|
|
1688
|
+
border: {
|
|
1689
|
+
themeKey: "borders",
|
|
1690
|
+
transform: le
|
|
1691
|
+
},
|
|
1692
|
+
borderTop: {
|
|
1693
|
+
themeKey: "borders",
|
|
1694
|
+
transform: le
|
|
1695
|
+
},
|
|
1696
|
+
borderRight: {
|
|
1697
|
+
themeKey: "borders",
|
|
1698
|
+
transform: le
|
|
1699
|
+
},
|
|
1700
|
+
borderBottom: {
|
|
1701
|
+
themeKey: "borders",
|
|
1702
|
+
transform: le
|
|
1703
|
+
},
|
|
1704
|
+
borderLeft: {
|
|
1705
|
+
themeKey: "borders",
|
|
1706
|
+
transform: le
|
|
1707
|
+
},
|
|
1708
|
+
borderColor: {
|
|
1709
|
+
themeKey: "palette"
|
|
1710
|
+
},
|
|
1711
|
+
borderTopColor: {
|
|
1712
|
+
themeKey: "palette"
|
|
1713
|
+
},
|
|
1714
|
+
borderRightColor: {
|
|
1715
|
+
themeKey: "palette"
|
|
1716
|
+
},
|
|
1717
|
+
borderBottomColor: {
|
|
1718
|
+
themeKey: "palette"
|
|
1719
|
+
},
|
|
1720
|
+
borderLeftColor: {
|
|
1721
|
+
themeKey: "palette"
|
|
1722
|
+
},
|
|
1723
|
+
outline: {
|
|
1724
|
+
themeKey: "borders",
|
|
1725
|
+
transform: le
|
|
1726
|
+
},
|
|
1727
|
+
outlineColor: {
|
|
1728
|
+
themeKey: "palette"
|
|
1729
|
+
},
|
|
1730
|
+
borderRadius: {
|
|
1731
|
+
themeKey: "shape.borderRadius",
|
|
1732
|
+
style: pt
|
|
1733
|
+
},
|
|
1734
|
+
// palette
|
|
1735
|
+
color: {
|
|
1736
|
+
themeKey: "palette",
|
|
1737
|
+
transform: je
|
|
1738
|
+
},
|
|
1739
|
+
bgcolor: {
|
|
1740
|
+
themeKey: "palette",
|
|
1741
|
+
cssProperty: "backgroundColor",
|
|
1742
|
+
transform: je
|
|
1743
|
+
},
|
|
1744
|
+
backgroundColor: {
|
|
1745
|
+
themeKey: "palette",
|
|
1746
|
+
transform: je
|
|
1747
|
+
},
|
|
1748
|
+
// spacing
|
|
1749
|
+
p: {
|
|
1750
|
+
style: ne
|
|
1751
|
+
},
|
|
1752
|
+
pt: {
|
|
1753
|
+
style: ne
|
|
1754
|
+
},
|
|
1755
|
+
pr: {
|
|
1756
|
+
style: ne
|
|
1757
|
+
},
|
|
1758
|
+
pb: {
|
|
1759
|
+
style: ne
|
|
1760
|
+
},
|
|
1761
|
+
pl: {
|
|
1762
|
+
style: ne
|
|
1763
|
+
},
|
|
1764
|
+
px: {
|
|
1765
|
+
style: ne
|
|
1766
|
+
},
|
|
1767
|
+
py: {
|
|
1768
|
+
style: ne
|
|
1769
|
+
},
|
|
1770
|
+
padding: {
|
|
1771
|
+
style: ne
|
|
1772
|
+
},
|
|
1773
|
+
paddingTop: {
|
|
1774
|
+
style: ne
|
|
1775
|
+
},
|
|
1776
|
+
paddingRight: {
|
|
1777
|
+
style: ne
|
|
1778
|
+
},
|
|
1779
|
+
paddingBottom: {
|
|
1780
|
+
style: ne
|
|
1781
|
+
},
|
|
1782
|
+
paddingLeft: {
|
|
1783
|
+
style: ne
|
|
1784
|
+
},
|
|
1785
|
+
paddingX: {
|
|
1786
|
+
style: ne
|
|
1787
|
+
},
|
|
1788
|
+
paddingY: {
|
|
1789
|
+
style: ne
|
|
1790
|
+
},
|
|
1791
|
+
paddingInline: {
|
|
1792
|
+
style: ne
|
|
1793
|
+
},
|
|
1794
|
+
paddingInlineStart: {
|
|
1795
|
+
style: ne
|
|
1796
|
+
},
|
|
1797
|
+
paddingInlineEnd: {
|
|
1798
|
+
style: ne
|
|
1799
|
+
},
|
|
1800
|
+
paddingBlock: {
|
|
1801
|
+
style: ne
|
|
1802
|
+
},
|
|
1803
|
+
paddingBlockStart: {
|
|
1804
|
+
style: ne
|
|
1805
|
+
},
|
|
1806
|
+
paddingBlockEnd: {
|
|
1807
|
+
style: ne
|
|
1808
|
+
},
|
|
1809
|
+
m: {
|
|
1810
|
+
style: re
|
|
1811
|
+
},
|
|
1812
|
+
mt: {
|
|
1813
|
+
style: re
|
|
1814
|
+
},
|
|
1815
|
+
mr: {
|
|
1816
|
+
style: re
|
|
1817
|
+
},
|
|
1818
|
+
mb: {
|
|
1819
|
+
style: re
|
|
1820
|
+
},
|
|
1821
|
+
ml: {
|
|
1822
|
+
style: re
|
|
1823
|
+
},
|
|
1824
|
+
mx: {
|
|
1825
|
+
style: re
|
|
1826
|
+
},
|
|
1827
|
+
my: {
|
|
1828
|
+
style: re
|
|
1829
|
+
},
|
|
1830
|
+
margin: {
|
|
1831
|
+
style: re
|
|
1832
|
+
},
|
|
1833
|
+
marginTop: {
|
|
1834
|
+
style: re
|
|
1835
|
+
},
|
|
1836
|
+
marginRight: {
|
|
1837
|
+
style: re
|
|
1838
|
+
},
|
|
1839
|
+
marginBottom: {
|
|
1840
|
+
style: re
|
|
1841
|
+
},
|
|
1842
|
+
marginLeft: {
|
|
1843
|
+
style: re
|
|
1844
|
+
},
|
|
1845
|
+
marginX: {
|
|
1846
|
+
style: re
|
|
1847
|
+
},
|
|
1848
|
+
marginY: {
|
|
1849
|
+
style: re
|
|
1850
|
+
},
|
|
1851
|
+
marginInline: {
|
|
1852
|
+
style: re
|
|
1853
|
+
},
|
|
1854
|
+
marginInlineStart: {
|
|
1855
|
+
style: re
|
|
1856
|
+
},
|
|
1857
|
+
marginInlineEnd: {
|
|
1858
|
+
style: re
|
|
1859
|
+
},
|
|
1860
|
+
marginBlock: {
|
|
1861
|
+
style: re
|
|
1862
|
+
},
|
|
1863
|
+
marginBlockStart: {
|
|
1864
|
+
style: re
|
|
1865
|
+
},
|
|
1866
|
+
marginBlockEnd: {
|
|
1867
|
+
style: re
|
|
1868
|
+
},
|
|
1869
|
+
// display
|
|
1870
|
+
displayPrint: {
|
|
1871
|
+
cssProperty: !1,
|
|
1872
|
+
transform: (e) => ({
|
|
1873
|
+
"@media print": {
|
|
1874
|
+
display: e
|
|
1875
|
+
}
|
|
1876
|
+
})
|
|
1877
|
+
},
|
|
1878
|
+
display: {},
|
|
1879
|
+
overflow: {},
|
|
1880
|
+
textOverflow: {},
|
|
1881
|
+
visibility: {},
|
|
1882
|
+
whiteSpace: {},
|
|
1883
|
+
// flexbox
|
|
1884
|
+
flexBasis: {},
|
|
1885
|
+
flexDirection: {},
|
|
1886
|
+
flexWrap: {},
|
|
1887
|
+
justifyContent: {},
|
|
1888
|
+
alignItems: {},
|
|
1889
|
+
alignContent: {},
|
|
1890
|
+
order: {},
|
|
1891
|
+
flex: {},
|
|
1892
|
+
flexGrow: {},
|
|
1893
|
+
flexShrink: {},
|
|
1894
|
+
alignSelf: {},
|
|
1895
|
+
justifyItems: {},
|
|
1896
|
+
justifySelf: {},
|
|
1897
|
+
// grid
|
|
1898
|
+
gap: {
|
|
1899
|
+
style: mt
|
|
1900
|
+
},
|
|
1901
|
+
rowGap: {
|
|
1902
|
+
style: gt
|
|
1903
|
+
},
|
|
1904
|
+
columnGap: {
|
|
1905
|
+
style: ht
|
|
1906
|
+
},
|
|
1907
|
+
gridColumn: {},
|
|
1908
|
+
gridRow: {},
|
|
1909
|
+
gridAutoFlow: {},
|
|
1910
|
+
gridAutoColumns: {},
|
|
1911
|
+
gridAutoRows: {},
|
|
1912
|
+
gridTemplateColumns: {},
|
|
1913
|
+
gridTemplateRows: {},
|
|
1914
|
+
gridTemplateAreas: {},
|
|
1915
|
+
gridArea: {},
|
|
1916
|
+
// positions
|
|
1917
|
+
position: {},
|
|
1918
|
+
zIndex: {
|
|
1919
|
+
themeKey: "zIndex"
|
|
1920
|
+
},
|
|
1921
|
+
top: {},
|
|
1922
|
+
right: {},
|
|
1923
|
+
bottom: {},
|
|
1924
|
+
left: {},
|
|
1925
|
+
// shadows
|
|
1926
|
+
boxShadow: {
|
|
1927
|
+
themeKey: "shadows"
|
|
1928
|
+
},
|
|
1929
|
+
// sizing
|
|
1930
|
+
width: {
|
|
1931
|
+
transform: se
|
|
1932
|
+
},
|
|
1933
|
+
maxWidth: {
|
|
1934
|
+
style: Gt
|
|
1935
|
+
},
|
|
1936
|
+
minWidth: {
|
|
1937
|
+
transform: se
|
|
1938
|
+
},
|
|
1939
|
+
height: {
|
|
1940
|
+
transform: se
|
|
1941
|
+
},
|
|
1942
|
+
maxHeight: {
|
|
1943
|
+
transform: se
|
|
1944
|
+
},
|
|
1945
|
+
minHeight: {
|
|
1946
|
+
transform: se
|
|
1947
|
+
},
|
|
1948
|
+
boxSizing: {},
|
|
1949
|
+
// typography
|
|
1950
|
+
font: {
|
|
1951
|
+
themeKey: "font"
|
|
1952
|
+
},
|
|
1953
|
+
fontFamily: {
|
|
1954
|
+
themeKey: "typography"
|
|
1955
|
+
},
|
|
1956
|
+
fontSize: {
|
|
1957
|
+
themeKey: "typography"
|
|
1958
|
+
},
|
|
1959
|
+
fontStyle: {
|
|
1960
|
+
themeKey: "typography"
|
|
1961
|
+
},
|
|
1962
|
+
fontWeight: {
|
|
1963
|
+
themeKey: "typography"
|
|
1964
|
+
},
|
|
1965
|
+
letterSpacing: {},
|
|
1966
|
+
textTransform: {},
|
|
1967
|
+
lineHeight: {},
|
|
1968
|
+
textAlign: {},
|
|
1969
|
+
typography: {
|
|
1970
|
+
cssProperty: !1,
|
|
1971
|
+
themeKey: "typography"
|
|
1972
|
+
}
|
|
1973
|
+
}, Po = {};
|
|
1974
|
+
function Io() {
|
|
1975
|
+
function e(t) {
|
|
1976
|
+
if (!t.sx)
|
|
1977
|
+
return null;
|
|
1978
|
+
const {
|
|
1979
|
+
sx: r,
|
|
1980
|
+
theme: n = Po,
|
|
1981
|
+
nested: o
|
|
1982
|
+
} = t, i = n.unstable_sxConfig ?? yt, a = {
|
|
1983
|
+
sx: null,
|
|
1984
|
+
theme: n,
|
|
1985
|
+
nested: !0
|
|
1986
|
+
};
|
|
1987
|
+
function l(d) {
|
|
1988
|
+
let p = d;
|
|
1989
|
+
if (typeof d == "function")
|
|
1990
|
+
p = d(n);
|
|
1991
|
+
else if (typeof d != "object")
|
|
1992
|
+
return d;
|
|
1993
|
+
if (!p)
|
|
1994
|
+
return null;
|
|
1995
|
+
const h = n.breakpoints ?? rt, y = Xn(h);
|
|
1996
|
+
for (const v in p) {
|
|
1997
|
+
const u = jo(p[v], n);
|
|
1998
|
+
if (u != null) {
|
|
1999
|
+
if (typeof u != "object") {
|
|
2000
|
+
Sr(y, v, u, n, i);
|
|
2001
|
+
continue;
|
|
2002
|
+
}
|
|
2003
|
+
if (i[v]) {
|
|
2004
|
+
Sr(y, v, u, n, i);
|
|
2005
|
+
continue;
|
|
2006
|
+
}
|
|
2007
|
+
Jn(h, u) ? lt(y, t.theme, u, (b, c) => {
|
|
2008
|
+
y[b][v] = c;
|
|
2009
|
+
}) : (a.sx = u, y[v] = e(a));
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
return !o && n.modularCssLayers ? {
|
|
2013
|
+
"@layer sx": mr(n, hr(h, y))
|
|
2014
|
+
} : mr(n, hr(h, y));
|
|
2015
|
+
}
|
|
2016
|
+
return Array.isArray(r) ? r.map(l) : l(r);
|
|
2017
|
+
}
|
|
2018
|
+
return e.filterProps = ["sx"], e;
|
|
2019
|
+
}
|
|
2020
|
+
const Ye = Io();
|
|
2021
|
+
function Sr(e, t, r, n, o) {
|
|
2022
|
+
const i = o[t];
|
|
2023
|
+
if (!i) {
|
|
2024
|
+
e[t] = r;
|
|
2025
|
+
return;
|
|
2026
|
+
}
|
|
2027
|
+
if (r == null)
|
|
2028
|
+
return;
|
|
2029
|
+
const {
|
|
2030
|
+
themeKey: a
|
|
2031
|
+
} = i;
|
|
2032
|
+
if (a === "typography" && r === "inherit") {
|
|
2033
|
+
e[t] = r;
|
|
2034
|
+
return;
|
|
2035
|
+
}
|
|
2036
|
+
const {
|
|
2037
|
+
style: l
|
|
2038
|
+
} = i;
|
|
2039
|
+
if (l) {
|
|
2040
|
+
Ie(e, l({
|
|
2041
|
+
[t]: r,
|
|
2042
|
+
theme: n
|
|
2043
|
+
}));
|
|
2044
|
+
return;
|
|
2045
|
+
}
|
|
2046
|
+
const {
|
|
2047
|
+
cssProperty: d = t,
|
|
2048
|
+
transform: p
|
|
2049
|
+
} = i, h = ct(n, a);
|
|
2050
|
+
lt(e, n, r, (y, v) => {
|
|
2051
|
+
const u = Gr(h, p, v, t);
|
|
2052
|
+
d === !1 ? Ie(y ? e[y] : e, u) : y ? e[y][d] = u : e[d] = u;
|
|
2053
|
+
});
|
|
2054
|
+
}
|
|
2055
|
+
function jo(e, t) {
|
|
2056
|
+
return typeof e == "function" ? e(t) : e;
|
|
2057
|
+
}
|
|
2058
|
+
function No(e) {
|
|
2059
|
+
for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
|
|
2060
|
+
r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
|
|
2061
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
2062
|
+
r >>> 24, t = /* Math.imul(k, m): */
|
|
2063
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
2064
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
2065
|
+
switch (o) {
|
|
2066
|
+
case 3:
|
|
2067
|
+
t ^= (e.charCodeAt(n + 2) & 255) << 16;
|
|
2068
|
+
case 2:
|
|
2069
|
+
t ^= (e.charCodeAt(n + 1) & 255) << 8;
|
|
2070
|
+
case 1:
|
|
2071
|
+
t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
|
|
2072
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
2073
|
+
}
|
|
2074
|
+
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
2075
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
2076
|
+
}
|
|
2077
|
+
var Mo = {
|
|
2078
|
+
animationIterationCount: 1,
|
|
2079
|
+
aspectRatio: 1,
|
|
2080
|
+
borderImageOutset: 1,
|
|
2081
|
+
borderImageSlice: 1,
|
|
2082
|
+
borderImageWidth: 1,
|
|
2083
|
+
boxFlex: 1,
|
|
2084
|
+
boxFlexGroup: 1,
|
|
2085
|
+
boxOrdinalGroup: 1,
|
|
2086
|
+
columnCount: 1,
|
|
2087
|
+
columns: 1,
|
|
2088
|
+
flex: 1,
|
|
2089
|
+
flexGrow: 1,
|
|
2090
|
+
flexPositive: 1,
|
|
2091
|
+
flexShrink: 1,
|
|
2092
|
+
flexNegative: 1,
|
|
2093
|
+
flexOrder: 1,
|
|
2094
|
+
gridRow: 1,
|
|
2095
|
+
gridRowEnd: 1,
|
|
2096
|
+
gridRowSpan: 1,
|
|
2097
|
+
gridRowStart: 1,
|
|
2098
|
+
gridColumn: 1,
|
|
2099
|
+
gridColumnEnd: 1,
|
|
2100
|
+
gridColumnSpan: 1,
|
|
2101
|
+
gridColumnStart: 1,
|
|
2102
|
+
msGridRow: 1,
|
|
2103
|
+
msGridRowSpan: 1,
|
|
2104
|
+
msGridColumn: 1,
|
|
2105
|
+
msGridColumnSpan: 1,
|
|
2106
|
+
fontWeight: 1,
|
|
2107
|
+
lineHeight: 1,
|
|
2108
|
+
opacity: 1,
|
|
2109
|
+
order: 1,
|
|
2110
|
+
orphans: 1,
|
|
2111
|
+
scale: 1,
|
|
2112
|
+
tabSize: 1,
|
|
2113
|
+
widows: 1,
|
|
2114
|
+
zIndex: 1,
|
|
2115
|
+
zoom: 1,
|
|
2116
|
+
WebkitLineClamp: 1,
|
|
2117
|
+
// SVG-related properties
|
|
2118
|
+
fillOpacity: 1,
|
|
2119
|
+
floodOpacity: 1,
|
|
2120
|
+
stopOpacity: 1,
|
|
2121
|
+
strokeDasharray: 1,
|
|
2122
|
+
strokeDashoffset: 1,
|
|
2123
|
+
strokeMiterlimit: 1,
|
|
2124
|
+
strokeOpacity: 1,
|
|
2125
|
+
strokeWidth: 1
|
|
2126
|
+
};
|
|
2127
|
+
function Do(e) {
|
|
2128
|
+
var t = /* @__PURE__ */ Object.create(null);
|
|
2129
|
+
return function(r) {
|
|
2130
|
+
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
2131
|
+
};
|
|
2132
|
+
}
|
|
2133
|
+
var Fo = /[A-Z]|^ms/g, Bo = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Hr = function(t) {
|
|
2134
|
+
return t.charCodeAt(1) === 45;
|
|
2135
|
+
}, xr = function(t) {
|
|
2136
|
+
return t != null && typeof t != "boolean";
|
|
2137
|
+
}, At = /* @__PURE__ */ Do(function(e) {
|
|
2138
|
+
return Hr(e) ? e : e.replace(Fo, "-$&").toLowerCase();
|
|
2139
|
+
}), Er = function(t, r) {
|
|
2140
|
+
switch (t) {
|
|
2141
|
+
case "animation":
|
|
2142
|
+
case "animationName":
|
|
2143
|
+
if (typeof r == "string")
|
|
2144
|
+
return r.replace(Bo, function(n, o, i) {
|
|
2145
|
+
return ye = {
|
|
2146
|
+
name: o,
|
|
2147
|
+
styles: i,
|
|
2148
|
+
next: ye
|
|
2149
|
+
}, o;
|
|
2150
|
+
});
|
|
2151
|
+
}
|
|
2152
|
+
return Mo[t] !== 1 && !Hr(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
2153
|
+
};
|
|
2154
|
+
function ot(e, t, r) {
|
|
2155
|
+
if (r == null)
|
|
2156
|
+
return "";
|
|
2157
|
+
var n = r;
|
|
2158
|
+
if (n.__emotion_styles !== void 0)
|
|
2159
|
+
return n;
|
|
2160
|
+
switch (typeof r) {
|
|
2161
|
+
case "boolean":
|
|
2162
|
+
return "";
|
|
2163
|
+
case "object": {
|
|
2164
|
+
var o = r;
|
|
2165
|
+
if (o.anim === 1)
|
|
2166
|
+
return ye = {
|
|
2167
|
+
name: o.name,
|
|
2168
|
+
styles: o.styles,
|
|
2169
|
+
next: ye
|
|
2170
|
+
}, o.name;
|
|
2171
|
+
var i = r;
|
|
2172
|
+
if (i.styles !== void 0) {
|
|
2173
|
+
var a = i.next;
|
|
2174
|
+
if (a !== void 0)
|
|
2175
|
+
for (; a !== void 0; )
|
|
2176
|
+
ye = {
|
|
2177
|
+
name: a.name,
|
|
2178
|
+
styles: a.styles,
|
|
2179
|
+
next: ye
|
|
2180
|
+
}, a = a.next;
|
|
2181
|
+
var l = i.styles + ";";
|
|
2182
|
+
return l;
|
|
2183
|
+
}
|
|
2184
|
+
return Vo(e, t, r);
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
var d = r;
|
|
2188
|
+
return d;
|
|
2189
|
+
}
|
|
2190
|
+
function Vo(e, t, r) {
|
|
2191
|
+
var n = "";
|
|
2192
|
+
if (Array.isArray(r))
|
|
2193
|
+
for (var o = 0; o < r.length; o++)
|
|
2194
|
+
n += ot(e, t, r[o]) + ";";
|
|
2195
|
+
else
|
|
2196
|
+
for (var i in r) {
|
|
2197
|
+
var a = r[i];
|
|
2198
|
+
if (typeof a != "object") {
|
|
2199
|
+
var l = a;
|
|
2200
|
+
xr(l) && (n += At(i) + ":" + Er(i, l) + ";");
|
|
2201
|
+
} else if (Array.isArray(a) && typeof a[0] == "string" && t == null)
|
|
2202
|
+
for (var d = 0; d < a.length; d++)
|
|
2203
|
+
xr(a[d]) && (n += At(i) + ":" + Er(i, a[d]) + ";");
|
|
2204
|
+
else {
|
|
2205
|
+
var p = ot(e, t, a);
|
|
2206
|
+
switch (i) {
|
|
2207
|
+
case "animation":
|
|
2208
|
+
case "animationName": {
|
|
2209
|
+
n += At(i) + ":" + p + ";";
|
|
2210
|
+
break;
|
|
2211
|
+
}
|
|
2212
|
+
default:
|
|
2213
|
+
n += i + "{" + p + "}";
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2217
|
+
return n;
|
|
2218
|
+
}
|
|
2219
|
+
var Tr = /label:\s*([^\s;{]+)\s*(;|$)/g, ye;
|
|
2220
|
+
function Lo(e, t, r) {
|
|
2221
|
+
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
2222
|
+
return e[0];
|
|
2223
|
+
var n = !0, o = "";
|
|
2224
|
+
ye = void 0;
|
|
2225
|
+
var i = e[0];
|
|
2226
|
+
if (i == null || i.raw === void 0)
|
|
2227
|
+
n = !1, o += ot(r, t, i);
|
|
2228
|
+
else {
|
|
2229
|
+
var a = i;
|
|
2230
|
+
o += a[0];
|
|
2231
|
+
}
|
|
2232
|
+
for (var l = 1; l < e.length; l++)
|
|
2233
|
+
if (o += ot(r, t, e[l]), n) {
|
|
2234
|
+
var d = i;
|
|
2235
|
+
o += d[l];
|
|
2236
|
+
}
|
|
2237
|
+
Tr.lastIndex = 0;
|
|
2238
|
+
for (var p = "", h; (h = Tr.exec(o)) !== null; )
|
|
2239
|
+
p += "-" + h[1];
|
|
2240
|
+
var y = No(o) + p;
|
|
2241
|
+
return {
|
|
2242
|
+
name: y,
|
|
2243
|
+
styles: o,
|
|
2244
|
+
next: ye
|
|
2245
|
+
};
|
|
2246
|
+
}
|
|
2247
|
+
/**
|
|
2248
|
+
* @mui/styled-engine v9.1.1
|
|
2249
|
+
*
|
|
2250
|
+
* @license MIT
|
|
2251
|
+
* This source code is licensed under the MIT license found in the
|
|
2252
|
+
* LICENSE file in the root directory of this source tree.
|
|
2253
|
+
*/
|
|
2254
|
+
function Wo(e, t) {
|
|
2255
|
+
const r = xn(e, t);
|
|
2256
|
+
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
2257
|
+
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
2258
|
+
return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
2259
|
+
`)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
|
|
2260
|
+
} : r;
|
|
2261
|
+
}
|
|
2262
|
+
function zo(e, t) {
|
|
2263
|
+
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
2264
|
+
}
|
|
2265
|
+
const Cr = [];
|
|
2266
|
+
function Ce(e) {
|
|
2267
|
+
return Cr[0] = e, Lo(Cr);
|
|
2268
|
+
}
|
|
2269
|
+
const Yo = {
|
|
2270
|
+
borderRadius: 4
|
|
2271
|
+
};
|
|
2272
|
+
function Kr(e = 8, t = zt({
|
|
2273
|
+
spacing: e
|
|
2274
|
+
})) {
|
|
2275
|
+
if (e.mui)
|
|
2276
|
+
return e;
|
|
2277
|
+
const r = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((i) => {
|
|
2278
|
+
const a = t(i);
|
|
2279
|
+
return typeof a == "number" ? `${a}px` : a;
|
|
2280
|
+
}).join(" "));
|
|
2281
|
+
return r.mui = !0, r;
|
|
2282
|
+
}
|
|
2283
|
+
function Uo(e, t) {
|
|
2284
|
+
var n;
|
|
2285
|
+
const r = this;
|
|
2286
|
+
if (r.vars) {
|
|
2287
|
+
if (!((n = r.colorSchemes) != null && n[e]) || typeof r.getColorSchemeSelector != "function")
|
|
2288
|
+
return {};
|
|
2289
|
+
let o = r.getColorSchemeSelector(e);
|
|
2290
|
+
return o === "&" ? t : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
|
|
2291
|
+
[o]: t
|
|
2292
|
+
});
|
|
2293
|
+
}
|
|
2294
|
+
return r.palette.mode === e ? t : {};
|
|
2295
|
+
}
|
|
2296
|
+
function Xr(e = {}, ...t) {
|
|
2297
|
+
const {
|
|
2298
|
+
breakpoints: r = {},
|
|
2299
|
+
palette: n = {},
|
|
2300
|
+
spacing: o,
|
|
2301
|
+
shape: i = {},
|
|
2302
|
+
...a
|
|
2303
|
+
} = e, l = Ur(r), d = Kr(o);
|
|
2304
|
+
let p = ue({
|
|
2305
|
+
breakpoints: l,
|
|
2306
|
+
direction: "ltr",
|
|
2307
|
+
components: {},
|
|
2308
|
+
// Inject component definitions.
|
|
2309
|
+
palette: {
|
|
2310
|
+
mode: "light",
|
|
2311
|
+
...n
|
|
2312
|
+
},
|
|
2313
|
+
spacing: d,
|
|
2314
|
+
shape: {
|
|
2315
|
+
...Yo,
|
|
2316
|
+
...i
|
|
2317
|
+
}
|
|
2318
|
+
}, a);
|
|
2319
|
+
return p = Gn(p), p.applyStyles = Uo, p = t.reduce((h, y) => ue(h, y), p), p.unstable_sxConfig = {
|
|
2320
|
+
...yt,
|
|
2321
|
+
...a == null ? void 0 : a.unstable_sxConfig
|
|
2322
|
+
}, p.unstable_sx = function(y) {
|
|
2323
|
+
return Ye({
|
|
2324
|
+
sx: y,
|
|
2325
|
+
theme: this
|
|
2326
|
+
});
|
|
2327
|
+
}, p.internal_cache = {}, p;
|
|
2328
|
+
}
|
|
2329
|
+
const wr = (e) => e, Go = () => {
|
|
2330
|
+
let e = wr;
|
|
2331
|
+
return {
|
|
2332
|
+
configure(t) {
|
|
2333
|
+
e = t;
|
|
2334
|
+
},
|
|
2335
|
+
generate(t) {
|
|
2336
|
+
return e(t);
|
|
2337
|
+
},
|
|
2338
|
+
reset() {
|
|
2339
|
+
e = wr;
|
|
2340
|
+
}
|
|
2341
|
+
};
|
|
2342
|
+
}, qo = Go(), Ho = {
|
|
2343
|
+
active: "active",
|
|
2344
|
+
checked: "checked",
|
|
2345
|
+
completed: "completed",
|
|
2346
|
+
disabled: "disabled",
|
|
2347
|
+
error: "error",
|
|
2348
|
+
expanded: "expanded",
|
|
2349
|
+
focused: "focused",
|
|
2350
|
+
focusVisible: "focusVisible",
|
|
2351
|
+
open: "open",
|
|
2352
|
+
readOnly: "readOnly",
|
|
2353
|
+
required: "required",
|
|
2354
|
+
selected: "selected"
|
|
2355
|
+
};
|
|
2356
|
+
function qt(e, t, r = "Mui") {
|
|
2357
|
+
const n = Ho[t];
|
|
2358
|
+
return n ? `${r}-${n}` : `${qo.generate(e)}-${t}`;
|
|
2359
|
+
}
|
|
2360
|
+
function Ko(e, t, r = "Mui") {
|
|
2361
|
+
const n = {};
|
|
2362
|
+
return t.forEach((o) => {
|
|
2363
|
+
n[o] = qt(e, o, r);
|
|
2364
|
+
}), n;
|
|
2365
|
+
}
|
|
2366
|
+
function Jr(e, t = "") {
|
|
2367
|
+
return e.displayName || e.name || t;
|
|
2368
|
+
}
|
|
2369
|
+
function _r(e, t, r) {
|
|
2370
|
+
const n = Jr(t);
|
|
2371
|
+
return e.displayName || (n !== "" ? `${r}(${n})` : r);
|
|
2372
|
+
}
|
|
2373
|
+
function Xo(e) {
|
|
2374
|
+
if (e != null) {
|
|
2375
|
+
if (typeof e == "string")
|
|
2376
|
+
return e;
|
|
2377
|
+
if (typeof e == "function")
|
|
2378
|
+
return Jr(e, "Component");
|
|
2379
|
+
if (typeof e == "object")
|
|
2380
|
+
switch (e.$$typeof) {
|
|
2381
|
+
case tt.ForwardRef:
|
|
2382
|
+
return _r(e, e.render, "ForwardRef");
|
|
2383
|
+
case tt.Memo:
|
|
2384
|
+
return _r(e, e.type, "memo");
|
|
2385
|
+
default:
|
|
2386
|
+
return;
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
function Qr(e) {
|
|
2391
|
+
const {
|
|
2392
|
+
variants: t,
|
|
2393
|
+
...r
|
|
2394
|
+
} = e, n = {
|
|
2395
|
+
variants: t,
|
|
2396
|
+
style: Ce(r),
|
|
2397
|
+
isProcessed: !0
|
|
2398
|
+
};
|
|
2399
|
+
return n.style === r || t && t.forEach((o) => {
|
|
2400
|
+
typeof o.style != "function" && (o.style = Ce(o.style));
|
|
2401
|
+
}), n;
|
|
2402
|
+
}
|
|
2403
|
+
const Jo = Xr();
|
|
2404
|
+
function $t(e) {
|
|
2405
|
+
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
2406
|
+
}
|
|
2407
|
+
function Te(e, t) {
|
|
2408
|
+
return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e;
|
|
2409
|
+
}
|
|
2410
|
+
function Qo(e) {
|
|
2411
|
+
return e ? (t, r) => r[e] : null;
|
|
2412
|
+
}
|
|
2413
|
+
function Zo(e, t, r) {
|
|
2414
|
+
e.theme = Wr(e.theme) ? r : e.theme[t] || e.theme;
|
|
2415
|
+
}
|
|
2416
|
+
function Ze(e, t, r) {
|
|
2417
|
+
const n = typeof t == "function" ? t(e) : t;
|
|
2418
|
+
if (Array.isArray(n))
|
|
2419
|
+
return n.flatMap((o) => Ze(e, o, r));
|
|
2420
|
+
if (Array.isArray(n == null ? void 0 : n.variants)) {
|
|
2421
|
+
let o;
|
|
2422
|
+
if (n.isProcessed)
|
|
2423
|
+
o = r ? Te(n.style, r) : n.style;
|
|
2424
|
+
else {
|
|
2425
|
+
const {
|
|
2426
|
+
variants: i,
|
|
2427
|
+
...a
|
|
2428
|
+
} = n;
|
|
2429
|
+
o = r ? Te(Ce(a), r) : a;
|
|
2430
|
+
}
|
|
2431
|
+
return Zr(e, n.variants, [o], r);
|
|
2432
|
+
}
|
|
2433
|
+
return n != null && n.isProcessed ? r ? Te(Ce(n.style), r) : n.style : r ? Te(Ce(n), r) : n;
|
|
2434
|
+
}
|
|
2435
|
+
function Zr(e, t, r = [], n = void 0) {
|
|
2436
|
+
var i;
|
|
2437
|
+
let o;
|
|
2438
|
+
e: for (let a = 0; a < t.length; a += 1) {
|
|
2439
|
+
const l = t[a];
|
|
2440
|
+
if (typeof l.props == "function") {
|
|
2441
|
+
if (o ?? (o = {
|
|
2442
|
+
...e,
|
|
2443
|
+
...e.ownerState,
|
|
2444
|
+
ownerState: e.ownerState
|
|
2445
|
+
}), !l.props(o))
|
|
2446
|
+
continue;
|
|
2447
|
+
} else
|
|
2448
|
+
for (const d in l.props)
|
|
2449
|
+
if (e[d] !== l.props[d] && ((i = e.ownerState) == null ? void 0 : i[d]) !== l.props[d])
|
|
2450
|
+
continue e;
|
|
2451
|
+
typeof l.style == "function" ? (o ?? (o = {
|
|
2452
|
+
...e,
|
|
2453
|
+
...e.ownerState,
|
|
2454
|
+
ownerState: e.ownerState
|
|
2455
|
+
}), r.push(n ? Te(Ce(l.style(o)), n) : l.style(o))) : r.push(n ? Te(Ce(l.style), n) : l.style);
|
|
2456
|
+
}
|
|
2457
|
+
return r;
|
|
2458
|
+
}
|
|
2459
|
+
function ei(e = {}) {
|
|
2460
|
+
const {
|
|
2461
|
+
themeId: t,
|
|
2462
|
+
defaultTheme: r = Jo,
|
|
2463
|
+
rootShouldForwardProp: n = $t,
|
|
2464
|
+
slotShouldForwardProp: o = $t
|
|
2465
|
+
} = e;
|
|
2466
|
+
function i(l) {
|
|
2467
|
+
Zo(l, t, r);
|
|
2468
|
+
}
|
|
2469
|
+
return (l, d = {}) => {
|
|
2470
|
+
zo(l, (_) => _.filter((B) => B !== Ye));
|
|
2471
|
+
const {
|
|
2472
|
+
name: p,
|
|
2473
|
+
slot: h,
|
|
2474
|
+
skipVariantsResolver: y,
|
|
2475
|
+
skipSx: v,
|
|
2476
|
+
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
2477
|
+
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
2478
|
+
overridesResolver: u = Qo(en(h)),
|
|
2479
|
+
...b
|
|
2480
|
+
} = d, c = p && p.startsWith("Mui") || h ? "components" : "custom", x = y !== void 0 ? y : (
|
|
2481
|
+
// TODO v6: remove `Root` in the next major release
|
|
2482
|
+
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
2483
|
+
h && h !== "Root" && h !== "root" || !1
|
|
2484
|
+
), P = v || !1;
|
|
2485
|
+
let I = $t;
|
|
2486
|
+
h === "Root" || h === "root" ? I = n : h ? I = o : ni(l) && (I = void 0);
|
|
2487
|
+
const j = Wo(l, {
|
|
2488
|
+
shouldForwardProp: I,
|
|
2489
|
+
label: ri(p, h),
|
|
2490
|
+
...b
|
|
2491
|
+
}), w = (_) => {
|
|
2492
|
+
if (_.__emotion_real === _)
|
|
2493
|
+
return _;
|
|
2494
|
+
if (typeof _ == "function")
|
|
2495
|
+
return function(J) {
|
|
2496
|
+
return Ze(J, _, J.theme.modularCssLayers ? c : void 0);
|
|
2497
|
+
};
|
|
2498
|
+
if (ge(_)) {
|
|
2499
|
+
const B = Qr(_);
|
|
2500
|
+
return function(Q) {
|
|
2501
|
+
return B.variants ? Ze(Q, B, Q.theme.modularCssLayers ? c : void 0) : Q.theme.modularCssLayers ? Te(B.style, c) : B.style;
|
|
2502
|
+
};
|
|
2503
|
+
}
|
|
2504
|
+
return _;
|
|
2505
|
+
}, g = (..._) => {
|
|
2506
|
+
const B = [], J = _.map(w), Q = [];
|
|
2507
|
+
if (B.push(i), p && u && Q.push(function(A) {
|
|
2508
|
+
var ee, oe;
|
|
2509
|
+
const N = (oe = (ee = A.theme.components) == null ? void 0 : ee[p]) == null ? void 0 : oe.styleOverrides;
|
|
2510
|
+
if (!N)
|
|
2511
|
+
return null;
|
|
2512
|
+
const M = {};
|
|
2513
|
+
for (const me in N)
|
|
2514
|
+
M[me] = Ze(A, N[me], A.theme.modularCssLayers ? "theme" : void 0);
|
|
2515
|
+
return u(A, M);
|
|
2516
|
+
}), p && !x && Q.push(function(A) {
|
|
2517
|
+
var M, ee;
|
|
2518
|
+
const E = A.theme, N = (ee = (M = E == null ? void 0 : E.components) == null ? void 0 : M[p]) == null ? void 0 : ee.variants;
|
|
2519
|
+
return N ? Zr(A, N, [], A.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
2520
|
+
}), P || Q.push(Ye), Array.isArray(J[0])) {
|
|
2521
|
+
const s = J.shift(), A = new Array(B.length).fill(""), E = new Array(Q.length).fill("");
|
|
2522
|
+
let N;
|
|
2523
|
+
N = [...A, ...s, ...E], N.raw = [...A, ...s.raw, ...E], B.unshift(N);
|
|
2524
|
+
}
|
|
2525
|
+
const ie = [...B, ...J, ...Q], Y = j(...ie);
|
|
2526
|
+
return l.muiName && (Y.muiName = l.muiName), process.env.NODE_ENV !== "production" && (Y.displayName = ti(p, h, l)), Y;
|
|
2527
|
+
};
|
|
2528
|
+
return j.withConfig && (g.withConfig = j.withConfig), g;
|
|
2529
|
+
};
|
|
2530
|
+
}
|
|
2531
|
+
function ti(e, t, r) {
|
|
2532
|
+
return e ? `${e}${Ne(t || "")}` : `Styled(${Xo(r)})`;
|
|
2533
|
+
}
|
|
2534
|
+
function ri(e, t) {
|
|
2535
|
+
let r;
|
|
2536
|
+
return process.env.NODE_ENV !== "production" && e && (r = `${e}-${en(t || "Root")}`), r;
|
|
2537
|
+
}
|
|
2538
|
+
function ni(e) {
|
|
2539
|
+
return typeof e == "string" && // 96 is one less than the char code
|
|
2540
|
+
// for "a" so this is checking that
|
|
2541
|
+
// it's a lowercase character
|
|
2542
|
+
e.charCodeAt(0) > 96;
|
|
2543
|
+
}
|
|
2544
|
+
function en(e) {
|
|
2545
|
+
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
2546
|
+
}
|
|
2547
|
+
function Ft(e, t, r = !1) {
|
|
2548
|
+
const n = {
|
|
2549
|
+
...t
|
|
2550
|
+
};
|
|
2551
|
+
for (const o in e)
|
|
2552
|
+
if (Object.prototype.hasOwnProperty.call(e, o)) {
|
|
2553
|
+
const i = o;
|
|
2554
|
+
if (i === "components" || i === "slots")
|
|
2555
|
+
n[i] = {
|
|
2556
|
+
...e[i],
|
|
2557
|
+
...n[i]
|
|
2558
|
+
};
|
|
2559
|
+
else if (i === "componentsProps" || i === "slotProps") {
|
|
2560
|
+
const a = e[i], l = t[i];
|
|
2561
|
+
if (!l)
|
|
2562
|
+
n[i] = a || {};
|
|
2563
|
+
else if (!a)
|
|
2564
|
+
n[i] = l;
|
|
2565
|
+
else {
|
|
2566
|
+
n[i] = {
|
|
2567
|
+
...l
|
|
2568
|
+
};
|
|
2569
|
+
for (const d in a)
|
|
2570
|
+
if (Object.prototype.hasOwnProperty.call(a, d)) {
|
|
2571
|
+
const p = d;
|
|
2572
|
+
n[i][p] = Ft(a[p], l[p], r);
|
|
2573
|
+
}
|
|
2574
|
+
}
|
|
2575
|
+
} else i === "className" && r && t.className !== void 0 ? n.className = Lr(e == null ? void 0 : e.className, t == null ? void 0 : t.className) : i === "style" && r && t.style ? n.style = {
|
|
2576
|
+
...e == null ? void 0 : e.style,
|
|
2577
|
+
...t == null ? void 0 : t.style
|
|
2578
|
+
} : n[i] === void 0 && (n[i] = e[i]);
|
|
2579
|
+
}
|
|
2580
|
+
return n;
|
|
2581
|
+
}
|
|
2582
|
+
function oi(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
2583
|
+
return Math.max(t, Math.min(e, r));
|
|
2584
|
+
}
|
|
2585
|
+
function Ht(e, t = 0, r = 1) {
|
|
2586
|
+
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), oi(e, t, r);
|
|
2587
|
+
}
|
|
2588
|
+
function ii(e) {
|
|
2589
|
+
e = e.slice(1);
|
|
2590
|
+
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
2591
|
+
let r = e.match(t);
|
|
2592
|
+
return r && r[0].length === 1 && (r = r.map((n) => n + n)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
2593
|
+
}
|
|
2594
|
+
function Se(e) {
|
|
2595
|
+
if (e.type)
|
|
2596
|
+
return e;
|
|
2597
|
+
if (e.charAt(0) === "#")
|
|
2598
|
+
return Se(ii(e));
|
|
2599
|
+
const t = e.indexOf("("), r = e.substring(0, t);
|
|
2600
|
+
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
|
|
2601
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
2602
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : we(9, e));
|
|
2603
|
+
let n = e.substring(t + 1, e.length - 1), o;
|
|
2604
|
+
if (r === "color") {
|
|
2605
|
+
if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
|
|
2606
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
2607
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : we(10, o));
|
|
2608
|
+
} else
|
|
2609
|
+
n = n.split(",");
|
|
2610
|
+
return n = n.map((i) => parseFloat(i)), {
|
|
2611
|
+
type: r,
|
|
2612
|
+
values: n,
|
|
2613
|
+
colorSpace: o
|
|
2614
|
+
};
|
|
2615
|
+
}
|
|
2616
|
+
const ai = (e) => {
|
|
2617
|
+
const t = Se(e);
|
|
2618
|
+
return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
|
|
2619
|
+
}, Le = (e, t) => {
|
|
2620
|
+
try {
|
|
2621
|
+
return ai(e);
|
|
2622
|
+
} catch {
|
|
2623
|
+
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
2624
|
+
}
|
|
2625
|
+
};
|
|
2626
|
+
function bt(e) {
|
|
2627
|
+
const {
|
|
2628
|
+
type: t,
|
|
2629
|
+
colorSpace: r
|
|
2630
|
+
} = e;
|
|
2631
|
+
let {
|
|
2632
|
+
values: n
|
|
2633
|
+
} = e;
|
|
2634
|
+
return t.includes("rgb") ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.includes("color") ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
|
|
2635
|
+
}
|
|
2636
|
+
function tn(e) {
|
|
2637
|
+
e = Se(e);
|
|
2638
|
+
const {
|
|
2639
|
+
values: t
|
|
2640
|
+
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), a = (p, h = (p + r / 30) % 12) => o - i * Math.max(Math.min(h - 3, 9 - h, 1), -1);
|
|
2641
|
+
let l = "rgb";
|
|
2642
|
+
const d = [Math.round(a(0) * 255), Math.round(a(8) * 255), Math.round(a(4) * 255)];
|
|
2643
|
+
return e.type === "hsla" && (l += "a", d.push(t[3])), bt({
|
|
2644
|
+
type: l,
|
|
2645
|
+
values: d
|
|
2646
|
+
});
|
|
2647
|
+
}
|
|
2648
|
+
function Bt(e) {
|
|
2649
|
+
e = Se(e);
|
|
2650
|
+
let t = e.type === "hsl" || e.type === "hsla" ? Se(tn(e)).values : e.values;
|
|
2651
|
+
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
2652
|
+
}
|
|
2653
|
+
function Or(e, t) {
|
|
2654
|
+
const r = Bt(e), n = Bt(t);
|
|
2655
|
+
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
2656
|
+
}
|
|
2657
|
+
function rn(e, t) {
|
|
2658
|
+
return e = Se(e), t = Ht(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, bt(e);
|
|
2659
|
+
}
|
|
2660
|
+
function Ee(e, t, r) {
|
|
2661
|
+
try {
|
|
2662
|
+
return rn(e, t);
|
|
2663
|
+
} catch {
|
|
2664
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2665
|
+
}
|
|
2666
|
+
}
|
|
2667
|
+
function vt(e, t) {
|
|
2668
|
+
if (e = Se(e), t = Ht(t), e.type.includes("hsl"))
|
|
2669
|
+
e.values[2] *= 1 - t;
|
|
2670
|
+
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
2671
|
+
for (let r = 0; r < 3; r += 1)
|
|
2672
|
+
e.values[r] *= 1 - t;
|
|
2673
|
+
return bt(e);
|
|
2674
|
+
}
|
|
2675
|
+
function q(e, t, r) {
|
|
2676
|
+
try {
|
|
2677
|
+
return vt(e, t);
|
|
2678
|
+
} catch {
|
|
2679
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2682
|
+
function St(e, t) {
|
|
2683
|
+
if (e = Se(e), t = Ht(t), e.type.includes("hsl"))
|
|
2684
|
+
e.values[2] += (100 - e.values[2]) * t;
|
|
2685
|
+
else if (e.type.includes("rgb"))
|
|
2686
|
+
for (let r = 0; r < 3; r += 1)
|
|
2687
|
+
e.values[r] += (255 - e.values[r]) * t;
|
|
2688
|
+
else if (e.type.includes("color"))
|
|
2689
|
+
for (let r = 0; r < 3; r += 1)
|
|
2690
|
+
e.values[r] += (1 - e.values[r]) * t;
|
|
2691
|
+
return bt(e);
|
|
2692
|
+
}
|
|
2693
|
+
function H(e, t, r) {
|
|
2694
|
+
try {
|
|
2695
|
+
return St(e, t);
|
|
2696
|
+
} catch {
|
|
2697
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
function si(e, t = 0.15) {
|
|
2701
|
+
return Bt(e) > 0.5 ? vt(e, t) : St(e, t);
|
|
2702
|
+
}
|
|
2703
|
+
function Qe(e, t, r) {
|
|
2704
|
+
try {
|
|
2705
|
+
return si(e, t);
|
|
2706
|
+
} catch {
|
|
2707
|
+
return e;
|
|
2708
|
+
}
|
|
2709
|
+
}
|
|
2710
|
+
const li = /* @__PURE__ */ ve.createContext(void 0);
|
|
2711
|
+
process.env.NODE_ENV !== "production" && (z.node, z.object);
|
|
2712
|
+
function ci(e) {
|
|
2713
|
+
const {
|
|
2714
|
+
theme: t,
|
|
2715
|
+
name: r,
|
|
2716
|
+
props: n
|
|
2717
|
+
} = e;
|
|
2718
|
+
if (!t || !t.components || !t.components[r])
|
|
2719
|
+
return n;
|
|
2720
|
+
const o = t.components[r];
|
|
2721
|
+
return o.defaultProps ? Ft(o.defaultProps, n, t.components.mergeClassNameAndStyle) : !o.styleOverrides && !o.variants ? Ft(o, n, t.components.mergeClassNameAndStyle) : n;
|
|
2722
|
+
}
|
|
2723
|
+
function ui({
|
|
2724
|
+
props: e,
|
|
2725
|
+
name: t
|
|
2726
|
+
}) {
|
|
2727
|
+
const r = ve.useContext(li);
|
|
2728
|
+
return ci({
|
|
2729
|
+
props: e,
|
|
2730
|
+
name: t,
|
|
2731
|
+
theme: {
|
|
2732
|
+
components: r
|
|
2733
|
+
}
|
|
2734
|
+
});
|
|
2735
|
+
}
|
|
2736
|
+
const Ar = {
|
|
2737
|
+
theme: void 0
|
|
2738
|
+
};
|
|
2739
|
+
function fi(e) {
|
|
2740
|
+
let t, r;
|
|
2741
|
+
return function(o) {
|
|
2742
|
+
let i = t;
|
|
2743
|
+
return (i === void 0 || o.theme !== r) && (Ar.theme = o.theme, i = Qr(e(Ar)), t = i, r = o.theme), i;
|
|
2744
|
+
};
|
|
2745
|
+
}
|
|
2746
|
+
function di(e = "") {
|
|
2747
|
+
function t(...n) {
|
|
2748
|
+
if (!n.length)
|
|
2749
|
+
return "";
|
|
2750
|
+
const o = n[0];
|
|
2751
|
+
return typeof o == "string" && !o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${o}${t(...n.slice(1))})` : `, ${o}`;
|
|
2752
|
+
}
|
|
2753
|
+
return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${t(...o)})`;
|
|
2754
|
+
}
|
|
2755
|
+
const $r = (e, t, r, n = []) => {
|
|
2756
|
+
let o = e;
|
|
2757
|
+
t.forEach((i, a) => {
|
|
2758
|
+
a === t.length - 1 ? Array.isArray(o) ? o[Number(i)] = r : o && typeof o == "object" && (o[i] = r) : o && typeof o == "object" && (o[i] || (o[i] = n.includes(i) ? [] : {}), o = o[i]);
|
|
2759
|
+
});
|
|
2760
|
+
}, pi = (e, t, r) => {
|
|
2761
|
+
function n(o, i = [], a = []) {
|
|
2762
|
+
Object.entries(o).forEach(([l, d]) => {
|
|
2763
|
+
(!r || r && !r([...i, l])) && d != null && (typeof d == "object" && Object.keys(d).length > 0 ? n(d, [...i, l], Array.isArray(d) ? [...a, l] : a) : t([...i, l], d, a));
|
|
2764
|
+
});
|
|
2765
|
+
}
|
|
2766
|
+
n(e);
|
|
2767
|
+
}, mi = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
|
|
2768
|
+
function Rt(e, t) {
|
|
2769
|
+
const {
|
|
2770
|
+
prefix: r,
|
|
2771
|
+
shouldSkipGeneratingVar: n
|
|
2772
|
+
} = t || {}, o = {}, i = {}, a = {};
|
|
2773
|
+
return pi(
|
|
2774
|
+
e,
|
|
2775
|
+
(l, d, p) => {
|
|
2776
|
+
if ((typeof d == "string" || typeof d == "number") && (!n || !n(l, d))) {
|
|
2777
|
+
const h = `--${r ? `${r}-` : ""}${l.join("-")}`, y = mi(l, d);
|
|
2778
|
+
Object.assign(o, {
|
|
2779
|
+
[h]: y
|
|
2780
|
+
}), $r(i, l, `var(${h})`, p), $r(a, l, `var(${h}, ${y})`, p);
|
|
2781
|
+
}
|
|
2782
|
+
},
|
|
2783
|
+
(l) => l[0] === "vars"
|
|
2784
|
+
// skip 'vars/*' paths
|
|
2785
|
+
), {
|
|
2786
|
+
css: o,
|
|
2787
|
+
vars: i,
|
|
2788
|
+
varsWithDefaults: a
|
|
2789
|
+
};
|
|
2790
|
+
}
|
|
2791
|
+
function hi(e, t = {}) {
|
|
2792
|
+
const {
|
|
2793
|
+
getSelector: r = P,
|
|
2794
|
+
disableCssColorScheme: n,
|
|
2795
|
+
colorSchemeSelector: o,
|
|
2796
|
+
enableContrastVars: i
|
|
2797
|
+
} = t, {
|
|
2798
|
+
colorSchemes: a = {},
|
|
2799
|
+
components: l,
|
|
2800
|
+
defaultColorScheme: d = "light",
|
|
2801
|
+
...p
|
|
2802
|
+
} = e, {
|
|
2803
|
+
vars: h,
|
|
2804
|
+
css: y,
|
|
2805
|
+
varsWithDefaults: v
|
|
2806
|
+
} = Rt(p, t);
|
|
2807
|
+
let u = v;
|
|
2808
|
+
const b = {}, {
|
|
2809
|
+
[d]: c,
|
|
2810
|
+
...x
|
|
2811
|
+
} = a;
|
|
2812
|
+
if (Object.entries(x || {}).forEach(([w, g]) => {
|
|
2813
|
+
const {
|
|
2814
|
+
vars: _,
|
|
2815
|
+
css: B,
|
|
2816
|
+
varsWithDefaults: J
|
|
2817
|
+
} = Rt(g, t);
|
|
2818
|
+
u = ue(u, J), b[w] = {
|
|
2819
|
+
css: B,
|
|
2820
|
+
vars: _
|
|
2821
|
+
};
|
|
2822
|
+
}), c) {
|
|
2823
|
+
const {
|
|
2824
|
+
css: w,
|
|
2825
|
+
vars: g,
|
|
2826
|
+
varsWithDefaults: _
|
|
2827
|
+
} = Rt(c, t);
|
|
2828
|
+
u = ue(u, _), b[d] = {
|
|
2829
|
+
css: w,
|
|
2830
|
+
vars: g
|
|
2831
|
+
};
|
|
2832
|
+
}
|
|
2833
|
+
function P(w, g) {
|
|
2834
|
+
var B, J;
|
|
2835
|
+
let _ = o;
|
|
2836
|
+
if (o === "class" && (_ = ".%s"), o === "data" && (_ = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (_ = `[${o}="%s"]`), w) {
|
|
2837
|
+
if (_ === "media")
|
|
2838
|
+
return e.defaultColorScheme === w ? ":root" : {
|
|
2839
|
+
[`@media (prefers-color-scheme: ${((J = (B = a[w]) == null ? void 0 : B.palette) == null ? void 0 : J.mode) || w})`]: {
|
|
2840
|
+
":root": g
|
|
2841
|
+
}
|
|
2842
|
+
};
|
|
2843
|
+
if (_)
|
|
2844
|
+
return e.defaultColorScheme === w ? `:root, ${_.replace("%s", String(w))}` : _.replace("%s", String(w));
|
|
2845
|
+
}
|
|
2846
|
+
return ":root";
|
|
2847
|
+
}
|
|
2848
|
+
return {
|
|
2849
|
+
vars: u,
|
|
2850
|
+
generateThemeVars: () => {
|
|
2851
|
+
let w = {
|
|
2852
|
+
...h
|
|
2853
|
+
};
|
|
2854
|
+
return Object.entries(b).forEach(([, {
|
|
2855
|
+
vars: g
|
|
2856
|
+
}]) => {
|
|
2857
|
+
w = ue(w, g);
|
|
2858
|
+
}), w;
|
|
2859
|
+
},
|
|
2860
|
+
generateStyleSheets: () => {
|
|
2861
|
+
var Q, ie;
|
|
2862
|
+
const w = [], g = e.defaultColorScheme || "light";
|
|
2863
|
+
function _(Y, s) {
|
|
2864
|
+
Object.keys(s).length && w.push(typeof Y == "string" ? {
|
|
2865
|
+
[Y]: {
|
|
2866
|
+
...s
|
|
2867
|
+
}
|
|
2868
|
+
} : Y);
|
|
2869
|
+
}
|
|
2870
|
+
_(r(void 0, {
|
|
2871
|
+
...y
|
|
2872
|
+
}), y);
|
|
2873
|
+
const {
|
|
2874
|
+
[g]: B,
|
|
2875
|
+
...J
|
|
2876
|
+
} = b;
|
|
2877
|
+
if (B) {
|
|
2878
|
+
const {
|
|
2879
|
+
css: Y
|
|
2880
|
+
} = B, s = (ie = (Q = a[g]) == null ? void 0 : Q.palette) == null ? void 0 : ie.mode, A = !n && s ? {
|
|
2881
|
+
colorScheme: s,
|
|
2882
|
+
...Y
|
|
2883
|
+
} : {
|
|
2884
|
+
...Y
|
|
2885
|
+
};
|
|
2886
|
+
_(r(g, {
|
|
2887
|
+
...A
|
|
2888
|
+
}), A);
|
|
2889
|
+
}
|
|
2890
|
+
return Object.entries(J).forEach(([Y, {
|
|
2891
|
+
css: s
|
|
2892
|
+
}]) => {
|
|
2893
|
+
var N, M;
|
|
2894
|
+
const A = (M = (N = a[Y]) == null ? void 0 : N.palette) == null ? void 0 : M.mode, E = !n && A ? {
|
|
2895
|
+
colorScheme: A,
|
|
2896
|
+
...s
|
|
2897
|
+
} : {
|
|
2898
|
+
...s
|
|
2899
|
+
};
|
|
2900
|
+
_(r(Y, {
|
|
2901
|
+
...E
|
|
2902
|
+
}), E);
|
|
2903
|
+
}), i && w.push({
|
|
2904
|
+
":root": {
|
|
2905
|
+
// use double underscore to indicate that these are private variables
|
|
2906
|
+
"--__l-threshold": "0.7",
|
|
2907
|
+
"--__l": "clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)",
|
|
2908
|
+
"--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
|
|
2909
|
+
// 0.87 is the default alpha value for black text.
|
|
2910
|
+
}
|
|
2911
|
+
}), w;
|
|
2912
|
+
}
|
|
2913
|
+
};
|
|
2914
|
+
}
|
|
2915
|
+
function gi(e) {
|
|
2916
|
+
return function(r) {
|
|
2917
|
+
return e === "media" ? (process.env.NODE_ENV !== "production" && r !== "light" && r !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`), `@media (prefers-color-scheme: ${r})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${r}"] &` : e === "class" ? `.${r} &` : e === "data" ? `[data-${r}] &` : `${e.replace("%s", r)} &` : "&";
|
|
2918
|
+
};
|
|
2919
|
+
}
|
|
2920
|
+
const Ue = {
|
|
2921
|
+
black: "#000",
|
|
2922
|
+
white: "#fff"
|
|
2923
|
+
}, yi = {
|
|
2924
|
+
50: "#fafafa",
|
|
2925
|
+
100: "#f5f5f5",
|
|
2926
|
+
200: "#eeeeee",
|
|
2927
|
+
300: "#e0e0e0",
|
|
2928
|
+
400: "#bdbdbd",
|
|
2929
|
+
500: "#9e9e9e",
|
|
2930
|
+
600: "#757575",
|
|
2931
|
+
700: "#616161",
|
|
2932
|
+
800: "#424242",
|
|
2933
|
+
900: "#212121",
|
|
2934
|
+
A100: "#f5f5f5",
|
|
2935
|
+
A200: "#eeeeee",
|
|
2936
|
+
A400: "#bdbdbd",
|
|
2937
|
+
A700: "#616161"
|
|
2938
|
+
}, _e = {
|
|
2939
|
+
50: "#f3e5f5",
|
|
2940
|
+
200: "#ce93d8",
|
|
2941
|
+
300: "#ba68c8",
|
|
2942
|
+
400: "#ab47bc",
|
|
2943
|
+
500: "#9c27b0",
|
|
2944
|
+
700: "#7b1fa2"
|
|
2945
|
+
}, Oe = {
|
|
2946
|
+
300: "#e57373",
|
|
2947
|
+
400: "#ef5350",
|
|
2948
|
+
500: "#f44336",
|
|
2949
|
+
700: "#d32f2f",
|
|
2950
|
+
800: "#c62828"
|
|
2951
|
+
}, Ve = {
|
|
2952
|
+
300: "#ffb74d",
|
|
2953
|
+
400: "#ffa726",
|
|
2954
|
+
500: "#ff9800",
|
|
2955
|
+
700: "#f57c00",
|
|
2956
|
+
900: "#e65100"
|
|
2957
|
+
}, Ae = {
|
|
2958
|
+
50: "#e3f2fd",
|
|
2959
|
+
200: "#90caf9",
|
|
2960
|
+
400: "#42a5f5",
|
|
2961
|
+
700: "#1976d2",
|
|
2962
|
+
800: "#1565c0"
|
|
2963
|
+
}, $e = {
|
|
2964
|
+
300: "#4fc3f7",
|
|
2965
|
+
400: "#29b6f6",
|
|
2966
|
+
500: "#03a9f4",
|
|
2967
|
+
700: "#0288d1",
|
|
2968
|
+
900: "#01579b"
|
|
2969
|
+
}, Re = {
|
|
2970
|
+
300: "#81c784",
|
|
2971
|
+
400: "#66bb6a",
|
|
2972
|
+
500: "#4caf50",
|
|
2973
|
+
700: "#388e3c",
|
|
2974
|
+
800: "#2e7d32",
|
|
2975
|
+
900: "#1b5e20"
|
|
2976
|
+
};
|
|
2977
|
+
function nn() {
|
|
2978
|
+
return {
|
|
2979
|
+
// The colors used to style the text.
|
|
2980
|
+
text: {
|
|
2981
|
+
// The most important text.
|
|
2982
|
+
primary: "rgba(0, 0, 0, 0.87)",
|
|
2983
|
+
// Secondary text.
|
|
2984
|
+
secondary: "rgba(0, 0, 0, 0.6)",
|
|
2985
|
+
// Disabled text have even lower visual prominence.
|
|
2986
|
+
disabled: "rgba(0, 0, 0, 0.38)"
|
|
2987
|
+
},
|
|
2988
|
+
// The color used to divide different elements.
|
|
2989
|
+
divider: "rgba(0, 0, 0, 0.12)",
|
|
2990
|
+
// The background colors used to style the surfaces.
|
|
2991
|
+
// Consistency between these values is important.
|
|
2992
|
+
background: {
|
|
2993
|
+
paper: Ue.white,
|
|
2994
|
+
default: Ue.white
|
|
2995
|
+
},
|
|
2996
|
+
// The colors used to style the action elements.
|
|
2997
|
+
action: {
|
|
2998
|
+
// The color of an active action like an icon button.
|
|
2999
|
+
active: "rgba(0, 0, 0, 0.54)",
|
|
3000
|
+
// The color of an hovered action.
|
|
3001
|
+
hover: "rgba(0, 0, 0, 0.04)",
|
|
3002
|
+
hoverOpacity: 0.04,
|
|
3003
|
+
// The color of a selected action.
|
|
3004
|
+
selected: "rgba(0, 0, 0, 0.08)",
|
|
3005
|
+
selectedOpacity: 0.08,
|
|
3006
|
+
// The color of a disabled action.
|
|
3007
|
+
disabled: "rgba(0, 0, 0, 0.26)",
|
|
3008
|
+
// The background color of a disabled action.
|
|
3009
|
+
disabledBackground: "rgba(0, 0, 0, 0.12)",
|
|
3010
|
+
disabledOpacity: 0.38,
|
|
3011
|
+
focus: "rgba(0, 0, 0, 0.12)",
|
|
3012
|
+
focusOpacity: 0.12,
|
|
3013
|
+
activatedOpacity: 0.12
|
|
3014
|
+
}
|
|
3015
|
+
};
|
|
3016
|
+
}
|
|
3017
|
+
const on = nn();
|
|
3018
|
+
function an() {
|
|
3019
|
+
return {
|
|
3020
|
+
text: {
|
|
3021
|
+
primary: Ue.white,
|
|
3022
|
+
secondary: "rgba(255, 255, 255, 0.7)",
|
|
3023
|
+
disabled: "rgba(255, 255, 255, 0.5)",
|
|
3024
|
+
icon: "rgba(255, 255, 255, 0.5)"
|
|
3025
|
+
},
|
|
3026
|
+
divider: "rgba(255, 255, 255, 0.12)",
|
|
3027
|
+
background: {
|
|
3028
|
+
paper: "#121212",
|
|
3029
|
+
default: "#121212"
|
|
3030
|
+
},
|
|
3031
|
+
action: {
|
|
3032
|
+
active: Ue.white,
|
|
3033
|
+
hover: "rgba(255, 255, 255, 0.08)",
|
|
3034
|
+
hoverOpacity: 0.08,
|
|
3035
|
+
selected: "rgba(255, 255, 255, 0.16)",
|
|
3036
|
+
selectedOpacity: 0.16,
|
|
3037
|
+
disabled: "rgba(255, 255, 255, 0.3)",
|
|
3038
|
+
disabledBackground: "rgba(255, 255, 255, 0.12)",
|
|
3039
|
+
disabledOpacity: 0.38,
|
|
3040
|
+
focus: "rgba(255, 255, 255, 0.12)",
|
|
3041
|
+
focusOpacity: 0.12,
|
|
3042
|
+
activatedOpacity: 0.24
|
|
3043
|
+
}
|
|
3044
|
+
};
|
|
3045
|
+
}
|
|
3046
|
+
const Vt = an();
|
|
3047
|
+
function Rr(e, t, r, n) {
|
|
3048
|
+
const o = n.light || n, i = n.dark || n * 1.5;
|
|
3049
|
+
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = St(e.main, o) : t === "dark" && (e.dark = vt(e.main, i)));
|
|
3050
|
+
}
|
|
3051
|
+
function kr(e, t, r, n, o) {
|
|
3052
|
+
const i = o.light || o, a = o.dark || o * 1.5;
|
|
3053
|
+
t[r] || (t.hasOwnProperty(n) ? t[r] = t[n] : r === "light" ? t.light = `color-mix(in ${e}, ${t.main}, #fff ${(i * 100).toFixed(0)}%)` : r === "dark" && (t.dark = `color-mix(in ${e}, ${t.main}, #000 ${(a * 100).toFixed(0)}%)`));
|
|
3054
|
+
}
|
|
3055
|
+
function bi(e = "light") {
|
|
3056
|
+
return e === "dark" ? {
|
|
3057
|
+
main: Ae[200],
|
|
3058
|
+
light: Ae[50],
|
|
3059
|
+
dark: Ae[400]
|
|
3060
|
+
} : {
|
|
3061
|
+
main: Ae[700],
|
|
3062
|
+
light: Ae[400],
|
|
3063
|
+
dark: Ae[800]
|
|
3064
|
+
};
|
|
3065
|
+
}
|
|
3066
|
+
function vi(e = "light") {
|
|
3067
|
+
return e === "dark" ? {
|
|
3068
|
+
main: _e[200],
|
|
3069
|
+
light: _e[50],
|
|
3070
|
+
dark: _e[400]
|
|
3071
|
+
} : {
|
|
3072
|
+
main: _e[500],
|
|
3073
|
+
light: _e[300],
|
|
3074
|
+
dark: _e[700]
|
|
3075
|
+
};
|
|
3076
|
+
}
|
|
3077
|
+
function Si(e = "light") {
|
|
3078
|
+
return e === "dark" ? {
|
|
3079
|
+
main: Oe[500],
|
|
3080
|
+
light: Oe[300],
|
|
3081
|
+
dark: Oe[700]
|
|
3082
|
+
} : {
|
|
3083
|
+
main: Oe[700],
|
|
3084
|
+
light: Oe[400],
|
|
3085
|
+
dark: Oe[800]
|
|
3086
|
+
};
|
|
3087
|
+
}
|
|
3088
|
+
function xi(e = "light") {
|
|
3089
|
+
return e === "dark" ? {
|
|
3090
|
+
main: $e[400],
|
|
3091
|
+
light: $e[300],
|
|
3092
|
+
dark: $e[700]
|
|
3093
|
+
} : {
|
|
3094
|
+
main: $e[700],
|
|
3095
|
+
light: $e[500],
|
|
3096
|
+
dark: $e[900]
|
|
3097
|
+
};
|
|
3098
|
+
}
|
|
3099
|
+
function Ei(e = "light") {
|
|
3100
|
+
return e === "dark" ? {
|
|
3101
|
+
main: Re[400],
|
|
3102
|
+
light: Re[300],
|
|
3103
|
+
dark: Re[700]
|
|
3104
|
+
} : {
|
|
3105
|
+
main: Re[800],
|
|
3106
|
+
light: Re[500],
|
|
3107
|
+
dark: Re[900]
|
|
3108
|
+
};
|
|
3109
|
+
}
|
|
3110
|
+
function Ti(e = "light") {
|
|
3111
|
+
return e === "dark" ? {
|
|
3112
|
+
main: Ve[400],
|
|
3113
|
+
light: Ve[300],
|
|
3114
|
+
dark: Ve[700]
|
|
3115
|
+
} : {
|
|
3116
|
+
main: "#ed6c02",
|
|
3117
|
+
// closest to orange[800] that pass 3:1.
|
|
3118
|
+
light: Ve[500],
|
|
3119
|
+
dark: Ve[900]
|
|
3120
|
+
};
|
|
3121
|
+
}
|
|
3122
|
+
function Ci(e) {
|
|
3123
|
+
return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
|
|
3124
|
+
}
|
|
3125
|
+
function Kt(e) {
|
|
3126
|
+
const {
|
|
3127
|
+
mode: t = "light",
|
|
3128
|
+
contrastThreshold: r = 3,
|
|
3129
|
+
tonalOffset: n = 0.2,
|
|
3130
|
+
colorSpace: o,
|
|
3131
|
+
...i
|
|
3132
|
+
} = e, a = e.primary || bi(t), l = e.secondary || vi(t), d = e.error || Si(t), p = e.info || xi(t), h = e.success || Ei(t), y = e.warning || Ti(t);
|
|
3133
|
+
function v(x) {
|
|
3134
|
+
if (o)
|
|
3135
|
+
return Ci(x);
|
|
3136
|
+
const P = Or(x, Vt.text.primary) >= r ? Vt.text.primary : on.text.primary;
|
|
3137
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3138
|
+
const I = Or(x, P);
|
|
3139
|
+
I < 3 && console.error([`MUI: The contrast ratio of ${I}:1 for ${P} on ${x}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
3140
|
+
`));
|
|
3141
|
+
}
|
|
3142
|
+
return P;
|
|
3143
|
+
}
|
|
3144
|
+
const u = ({
|
|
3145
|
+
color: x,
|
|
3146
|
+
name: P,
|
|
3147
|
+
mainShade: I = 500,
|
|
3148
|
+
lightShade: j = 300,
|
|
3149
|
+
darkShade: w = 700
|
|
3150
|
+
}) => {
|
|
3151
|
+
if (x = {
|
|
3152
|
+
...x
|
|
3153
|
+
}, !x.main && x[I] && (x.main = x[I]), !x.hasOwnProperty("main"))
|
|
3154
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${P ? ` (${P})` : ""} provided to augmentColor(color) is invalid.
|
|
3155
|
+
The color object needs to have a \`main\` property or a \`${I}\` property.` : we(11, P ? ` (${P})` : "", I));
|
|
3156
|
+
if (typeof x.main != "string")
|
|
3157
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${P ? ` (${P})` : ""} provided to augmentColor(color) is invalid.
|
|
3158
|
+
\`color.main\` should be a string, but \`${JSON.stringify(x.main)}\` was provided instead.
|
|
3159
|
+
|
|
3160
|
+
Did you intend to use one of the following approaches?
|
|
3161
|
+
|
|
3162
|
+
import { green } from "@mui/material/colors";
|
|
3163
|
+
|
|
3164
|
+
const theme1 = createTheme({ palette: {
|
|
3165
|
+
primary: green,
|
|
3166
|
+
} });
|
|
3167
|
+
|
|
3168
|
+
const theme2 = createTheme({ palette: {
|
|
3169
|
+
primary: { main: green[500] },
|
|
3170
|
+
} });` : we(12, P ? ` (${P})` : "", JSON.stringify(x.main)));
|
|
3171
|
+
return o ? (kr(o, x, "light", j, n), kr(o, x, "dark", w, n)) : (Rr(x, "light", j, n), Rr(x, "dark", w, n)), x.contrastText || (x.contrastText = v(x.main)), x;
|
|
3172
|
+
};
|
|
3173
|
+
let b;
|
|
3174
|
+
return t === "light" ? b = nn() : t === "dark" && (b = an()), process.env.NODE_ENV !== "production" && (b || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), ue({
|
|
3175
|
+
// A collection of common colors.
|
|
3176
|
+
common: {
|
|
3177
|
+
...Ue
|
|
3178
|
+
},
|
|
3179
|
+
// prevent mutable object.
|
|
3180
|
+
// The palette mode, can be light or dark.
|
|
3181
|
+
mode: t,
|
|
3182
|
+
// The colors used to represent primary interface elements for a user.
|
|
3183
|
+
primary: u({
|
|
3184
|
+
color: a,
|
|
3185
|
+
name: "primary"
|
|
3186
|
+
}),
|
|
3187
|
+
// The colors used to represent secondary interface elements for a user.
|
|
3188
|
+
secondary: u({
|
|
3189
|
+
color: l,
|
|
3190
|
+
name: "secondary",
|
|
3191
|
+
mainShade: "A400",
|
|
3192
|
+
lightShade: "A200",
|
|
3193
|
+
darkShade: "A700"
|
|
3194
|
+
}),
|
|
3195
|
+
// The colors used to represent interface elements that the user should be made aware of.
|
|
3196
|
+
error: u({
|
|
3197
|
+
color: d,
|
|
3198
|
+
name: "error"
|
|
3199
|
+
}),
|
|
3200
|
+
// The colors used to represent potentially dangerous actions or important messages.
|
|
3201
|
+
warning: u({
|
|
3202
|
+
color: y,
|
|
3203
|
+
name: "warning"
|
|
3204
|
+
}),
|
|
3205
|
+
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
3206
|
+
info: u({
|
|
3207
|
+
color: p,
|
|
3208
|
+
name: "info"
|
|
3209
|
+
}),
|
|
3210
|
+
// The colors used to indicate the successful completion of an action that user triggered.
|
|
3211
|
+
success: u({
|
|
3212
|
+
color: h,
|
|
3213
|
+
name: "success"
|
|
3214
|
+
}),
|
|
3215
|
+
// The grey colors.
|
|
3216
|
+
grey: yi,
|
|
3217
|
+
// Used by `getContrastText()` to maximize the contrast between
|
|
3218
|
+
// the background and the text.
|
|
3219
|
+
contrastThreshold: r,
|
|
3220
|
+
// Takes a background color and returns the text color that maximizes the contrast.
|
|
3221
|
+
getContrastText: v,
|
|
3222
|
+
// Generate a rich color object.
|
|
3223
|
+
augmentColor: u,
|
|
3224
|
+
// Used by the functions below to shift a color's luminance by approximately
|
|
3225
|
+
// two indexes within its tonal palette.
|
|
3226
|
+
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
3227
|
+
tonalOffset: n,
|
|
3228
|
+
// The light and dark mode object.
|
|
3229
|
+
...b
|
|
3230
|
+
}, i);
|
|
3231
|
+
}
|
|
3232
|
+
function wi(e) {
|
|
3233
|
+
const t = {};
|
|
3234
|
+
return Object.entries(e).forEach((n) => {
|
|
3235
|
+
const [o, i] = n;
|
|
3236
|
+
typeof i == "object" && (t[o] = `${i.fontStyle ? `${i.fontStyle} ` : ""}${i.fontVariant ? `${i.fontVariant} ` : ""}${i.fontWeight ? `${i.fontWeight} ` : ""}${i.fontStretch ? `${i.fontStretch} ` : ""}${i.fontSize || ""}${i.lineHeight ? `/${i.lineHeight} ` : ""}${i.fontFamily || ""}`);
|
|
3237
|
+
}), t;
|
|
3238
|
+
}
|
|
3239
|
+
function _i(e, t) {
|
|
3240
|
+
return {
|
|
3241
|
+
toolbar: {
|
|
3242
|
+
minHeight: 56,
|
|
3243
|
+
[e.up("xs")]: {
|
|
3244
|
+
"@media (orientation: landscape)": {
|
|
3245
|
+
minHeight: 48
|
|
3246
|
+
}
|
|
3247
|
+
},
|
|
3248
|
+
[e.up("sm")]: {
|
|
3249
|
+
minHeight: 64
|
|
3250
|
+
}
|
|
3251
|
+
},
|
|
3252
|
+
...t
|
|
3253
|
+
};
|
|
3254
|
+
}
|
|
3255
|
+
function Oi(e) {
|
|
3256
|
+
return Math.round(e * 1e5) / 1e5;
|
|
3257
|
+
}
|
|
3258
|
+
const Pr = {
|
|
3259
|
+
textTransform: "uppercase"
|
|
3260
|
+
}, Ir = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
3261
|
+
function Ai(e, t) {
|
|
3262
|
+
const {
|
|
3263
|
+
fontFamily: r = Ir,
|
|
3264
|
+
// The default font size of the Material Specification.
|
|
3265
|
+
fontSize: n = 14,
|
|
3266
|
+
// px
|
|
3267
|
+
fontWeightLight: o = 300,
|
|
3268
|
+
fontWeightRegular: i = 400,
|
|
3269
|
+
fontWeightMedium: a = 500,
|
|
3270
|
+
fontWeightBold: l = 700,
|
|
3271
|
+
// Tell MUI what's the font-size on the html element.
|
|
3272
|
+
// 16px is the default font-size used by browsers.
|
|
3273
|
+
htmlFontSize: d = 16,
|
|
3274
|
+
// Apply the CSS properties to all the variants.
|
|
3275
|
+
allVariants: p,
|
|
3276
|
+
pxToRem: h,
|
|
3277
|
+
...y
|
|
3278
|
+
} = typeof t == "function" ? t(e) : t;
|
|
3279
|
+
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
3280
|
+
const v = n / 14, u = h || ((x) => `${x / d * v}rem`), b = (x, P, I, j, w) => ({
|
|
3281
|
+
fontFamily: r,
|
|
3282
|
+
fontWeight: x,
|
|
3283
|
+
fontSize: u(P),
|
|
3284
|
+
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
3285
|
+
lineHeight: I,
|
|
3286
|
+
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
3287
|
+
// across font-families can cause issues with the kerning.
|
|
3288
|
+
...r === Ir ? {
|
|
3289
|
+
letterSpacing: `${Oi(j / P)}em`
|
|
3290
|
+
} : {},
|
|
3291
|
+
...w,
|
|
3292
|
+
...p
|
|
3293
|
+
}), c = {
|
|
3294
|
+
h1: b(o, 96, 1.167, -1.5),
|
|
3295
|
+
h2: b(o, 60, 1.2, -0.5),
|
|
3296
|
+
h3: b(i, 48, 1.167, 0),
|
|
3297
|
+
h4: b(i, 34, 1.235, 0.25),
|
|
3298
|
+
h5: b(i, 24, 1.334, 0),
|
|
3299
|
+
h6: b(a, 20, 1.6, 0.15),
|
|
3300
|
+
subtitle1: b(i, 16, 1.75, 0.15),
|
|
3301
|
+
subtitle2: b(a, 14, 1.57, 0.1),
|
|
3302
|
+
body1: b(i, 16, 1.5, 0.15),
|
|
3303
|
+
body2: b(i, 14, 1.43, 0.15),
|
|
3304
|
+
button: b(a, 14, 1.75, 0.4, Pr),
|
|
3305
|
+
caption: b(i, 12, 1.66, 0.4),
|
|
3306
|
+
overline: b(i, 12, 2.66, 1, Pr),
|
|
3307
|
+
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
3308
|
+
inherit: {
|
|
3309
|
+
fontFamily: "inherit",
|
|
3310
|
+
fontWeight: "inherit",
|
|
3311
|
+
fontSize: "inherit",
|
|
3312
|
+
lineHeight: "inherit",
|
|
3313
|
+
letterSpacing: "inherit"
|
|
3314
|
+
}
|
|
3315
|
+
};
|
|
3316
|
+
return ue({
|
|
3317
|
+
htmlFontSize: d,
|
|
3318
|
+
pxToRem: u,
|
|
3319
|
+
fontFamily: r,
|
|
3320
|
+
fontSize: n,
|
|
3321
|
+
fontWeightLight: o,
|
|
3322
|
+
fontWeightRegular: i,
|
|
3323
|
+
fontWeightMedium: a,
|
|
3324
|
+
fontWeightBold: l,
|
|
3325
|
+
...c
|
|
3326
|
+
}, y, {
|
|
3327
|
+
clone: !1
|
|
3328
|
+
// No need to clone deep
|
|
3329
|
+
});
|
|
3330
|
+
}
|
|
3331
|
+
const $i = 0.2, Ri = 0.14, ki = 0.12;
|
|
3332
|
+
function Z(...e) {
|
|
3333
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${$i})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ri})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ki})`].join(",");
|
|
3334
|
+
}
|
|
3335
|
+
const Pi = ["none", Z(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Z(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), Z(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), Z(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), Z(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), Z(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), Z(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), Z(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), Z(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), Z(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), Z(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), Z(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), Z(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), Z(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), Z(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), Z(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), Z(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), Z(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), Z(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), Z(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), Z(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), Z(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), Z(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), Z(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ii = ["all"], ji = {}, Ni = {
|
|
3336
|
+
// This is the most common easing curve.
|
|
3337
|
+
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
3338
|
+
// Objects enter the screen at full velocity from off-screen and
|
|
3339
|
+
// slowly decelerate to a resting point.
|
|
3340
|
+
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
3341
|
+
// Objects leave the screen at full velocity. They do not decelerate when off-screen.
|
|
3342
|
+
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
3343
|
+
// The sharp curve is used by objects that may return to the screen at any time.
|
|
3344
|
+
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
3345
|
+
}, Mi = {
|
|
3346
|
+
shortest: 150,
|
|
3347
|
+
shorter: 200,
|
|
3348
|
+
short: 250,
|
|
3349
|
+
// most basic recommended timing
|
|
3350
|
+
standard: 300,
|
|
3351
|
+
// this is to be used in complex animations
|
|
3352
|
+
complex: 375,
|
|
3353
|
+
// recommended when something is entering screen
|
|
3354
|
+
enteringScreen: 225,
|
|
3355
|
+
// recommended when something is leaving screen
|
|
3356
|
+
leavingScreen: 195
|
|
3357
|
+
};
|
|
3358
|
+
function jr(e) {
|
|
3359
|
+
return `${Math.round(e)}ms`;
|
|
3360
|
+
}
|
|
3361
|
+
function Di(e) {
|
|
3362
|
+
if (!e)
|
|
3363
|
+
return 0;
|
|
3364
|
+
const t = e / 36;
|
|
3365
|
+
return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
|
|
3366
|
+
}
|
|
3367
|
+
function Fi(e) {
|
|
3368
|
+
const t = {
|
|
3369
|
+
...e
|
|
3370
|
+
};
|
|
3371
|
+
delete t.reducedMotion;
|
|
3372
|
+
const r = {
|
|
3373
|
+
...Ni,
|
|
3374
|
+
...t.easing
|
|
3375
|
+
}, n = {
|
|
3376
|
+
...Mi,
|
|
3377
|
+
...t.duration
|
|
3378
|
+
}, o = (a = Ii, l = ji) => {
|
|
3379
|
+
const {
|
|
3380
|
+
duration: d = n.standard,
|
|
3381
|
+
easing: p = r.easeInOut,
|
|
3382
|
+
delay: h = 0,
|
|
3383
|
+
...y
|
|
3384
|
+
} = l;
|
|
3385
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3386
|
+
const v = (b) => typeof b == "string", u = (b) => !Number.isNaN(parseFloat(b));
|
|
3387
|
+
!v(a) && !Array.isArray(a) && console.error('MUI: Argument "props" must be a string or Array.'), !u(d) && !v(d) && console.error(`MUI: Argument "duration" must be a number or a string but found ${d}.`), v(p) || console.error('MUI: Argument "easing" must be a string.'), !u(h) && !v(h) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof l != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
3388
|
+
`)), Object.keys(y).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(y).join(",")}].`);
|
|
3389
|
+
}
|
|
3390
|
+
return (Array.isArray(a) ? a : [a]).map((v) => `${v} ${typeof d == "string" ? d : jr(d)} ${p} ${typeof h == "string" ? h : jr(h)}`).join(",");
|
|
3391
|
+
}, i = t.create ?? o;
|
|
3392
|
+
return {
|
|
3393
|
+
getAutoHeightDuration: Di,
|
|
3394
|
+
create: i,
|
|
3395
|
+
...t,
|
|
3396
|
+
easing: r,
|
|
3397
|
+
duration: n
|
|
3398
|
+
};
|
|
3399
|
+
}
|
|
3400
|
+
const Bi = {};
|
|
3401
|
+
function Vi(e = Bi) {
|
|
3402
|
+
return {
|
|
3403
|
+
reducedMotion: "never",
|
|
3404
|
+
...e
|
|
3405
|
+
};
|
|
3406
|
+
}
|
|
3407
|
+
const Li = {
|
|
3408
|
+
mobileStepper: 1e3,
|
|
3409
|
+
fab: 1050,
|
|
3410
|
+
speedDial: 1050,
|
|
3411
|
+
appBar: 1100,
|
|
3412
|
+
drawer: 1200,
|
|
3413
|
+
modal: 1300,
|
|
3414
|
+
snackbar: 1400,
|
|
3415
|
+
tooltip: 1500
|
|
3416
|
+
};
|
|
3417
|
+
function Wi(e) {
|
|
3418
|
+
return ge(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
3419
|
+
}
|
|
3420
|
+
function sn(e = {}) {
|
|
3421
|
+
const t = {
|
|
3422
|
+
...e
|
|
3423
|
+
};
|
|
3424
|
+
function r(n) {
|
|
3425
|
+
const o = Object.entries(n);
|
|
3426
|
+
for (let i = 0; i < o.length; i++) {
|
|
3427
|
+
const [a, l] = o[i];
|
|
3428
|
+
!Wi(l) || a.startsWith("unstable_") || a.startsWith("internal_") ? delete n[a] : ge(l) && (n[a] = {
|
|
3429
|
+
...l
|
|
3430
|
+
}, r(n[a]));
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
return r(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
3434
|
+
|
|
3435
|
+
const theme = ${JSON.stringify(t, null, 2)};
|
|
3436
|
+
|
|
3437
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
3438
|
+
theme.motion = { reducedMotion: 'never', ...theme.motion };
|
|
3439
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
3440
|
+
|
|
3441
|
+
export default theme;`;
|
|
3442
|
+
}
|
|
3443
|
+
function Nr(e) {
|
|
3444
|
+
return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
|
|
3445
|
+
}
|
|
3446
|
+
const zi = (e) => {
|
|
3447
|
+
if (!Number.isNaN(+e))
|
|
3448
|
+
return +e;
|
|
3449
|
+
const t = e.match(/\d*\.?\d+/g);
|
|
3450
|
+
if (!t)
|
|
3451
|
+
return 0;
|
|
3452
|
+
let r = 0;
|
|
3453
|
+
for (let n = 0; n < t.length; n += 1)
|
|
3454
|
+
r += +t[n];
|
|
3455
|
+
return r;
|
|
3456
|
+
};
|
|
3457
|
+
function Yi(e) {
|
|
3458
|
+
Object.assign(e, {
|
|
3459
|
+
alpha(t, r) {
|
|
3460
|
+
const n = this || e;
|
|
3461
|
+
return n.colorSpace ? `oklch(from ${t} l c h / ${typeof r == "string" ? `calc(${r})` : r})` : n.vars ? `rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof r == "string" ? `calc(${r})` : r})` : rn(t, zi(r));
|
|
3462
|
+
},
|
|
3463
|
+
lighten(t, r) {
|
|
3464
|
+
const n = this || e;
|
|
3465
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #fff ${Nr(r)})` : St(t, r);
|
|
3466
|
+
},
|
|
3467
|
+
darken(t, r) {
|
|
3468
|
+
const n = this || e;
|
|
3469
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #000 ${Nr(r)})` : vt(t, r);
|
|
3470
|
+
}
|
|
3471
|
+
});
|
|
3472
|
+
}
|
|
3473
|
+
function Lt(e = {}, ...t) {
|
|
3474
|
+
const {
|
|
3475
|
+
breakpoints: r,
|
|
3476
|
+
mixins: n = {},
|
|
3477
|
+
spacing: o,
|
|
3478
|
+
palette: i = {},
|
|
3479
|
+
motion: a = {},
|
|
3480
|
+
transitions: l = {},
|
|
3481
|
+
typography: d = {},
|
|
3482
|
+
shape: p,
|
|
3483
|
+
colorSpace: h,
|
|
3484
|
+
...y
|
|
3485
|
+
} = e;
|
|
3486
|
+
if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
3487
|
+
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
3488
|
+
e.generateThemeVars === void 0)
|
|
3489
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : we(22));
|
|
3490
|
+
const v = Kt({
|
|
3491
|
+
...i,
|
|
3492
|
+
colorSpace: h
|
|
3493
|
+
}), u = Xr(e);
|
|
3494
|
+
let b = ue(u, {
|
|
3495
|
+
mixins: _i(u.breakpoints, n),
|
|
3496
|
+
palette: v,
|
|
3497
|
+
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
3498
|
+
shadows: Pi.slice(),
|
|
3499
|
+
typography: Ai(v, d),
|
|
3500
|
+
motion: Vi(a),
|
|
3501
|
+
transitions: Fi(l),
|
|
3502
|
+
zIndex: {
|
|
3503
|
+
...Li
|
|
3504
|
+
}
|
|
3505
|
+
});
|
|
3506
|
+
if (b = ue(b, y), b = t.reduce((c, x) => ue(c, x), b), delete b.transitions.reducedMotion, process.env.NODE_ENV !== "production") {
|
|
3507
|
+
const c = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], x = (P, I) => {
|
|
3508
|
+
let j;
|
|
3509
|
+
for (j in P) {
|
|
3510
|
+
const w = P[j];
|
|
3511
|
+
if (c.includes(j) && Object.keys(w).length > 0) {
|
|
3512
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3513
|
+
const g = qt("", j);
|
|
3514
|
+
console.error([`MUI: The \`${I}\` component increases the CSS specificity of the \`${j}\` internal state.`, "You can not override it like this: ", JSON.stringify(P, null, 2), "", `Instead, you need to use the '&.${g}' syntax:`, JSON.stringify({
|
|
3515
|
+
root: {
|
|
3516
|
+
[`&.${g}`]: w
|
|
3517
|
+
}
|
|
3518
|
+
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
3519
|
+
`));
|
|
3520
|
+
}
|
|
3521
|
+
P[j] = {};
|
|
3522
|
+
}
|
|
3523
|
+
}
|
|
3524
|
+
};
|
|
3525
|
+
Object.keys(b.components).forEach((P) => {
|
|
3526
|
+
const I = b.components[P].styleOverrides;
|
|
3527
|
+
I && P.startsWith("Mui") && x(I, P);
|
|
3528
|
+
});
|
|
3529
|
+
}
|
|
3530
|
+
return b.unstable_sxConfig = {
|
|
3531
|
+
...yt,
|
|
3532
|
+
...y == null ? void 0 : y.unstable_sxConfig
|
|
3533
|
+
}, b.unstable_sx = function(x) {
|
|
3534
|
+
return Ye({
|
|
3535
|
+
sx: x,
|
|
3536
|
+
theme: this
|
|
3537
|
+
});
|
|
3538
|
+
}, b.toRuntimeSource = sn, Yi(b), b;
|
|
3539
|
+
}
|
|
3540
|
+
function Ui(e) {
|
|
3541
|
+
let t;
|
|
3542
|
+
return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
|
|
3543
|
+
}
|
|
3544
|
+
const Gi = [...Array(25)].map((e, t) => {
|
|
3545
|
+
if (t === 0)
|
|
3546
|
+
return "none";
|
|
3547
|
+
const r = Ui(t);
|
|
3548
|
+
return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
|
|
3549
|
+
});
|
|
3550
|
+
function ln(e) {
|
|
3551
|
+
return {
|
|
3552
|
+
inputPlaceholder: e === "dark" ? 0.5 : 0.42,
|
|
3553
|
+
inputUnderline: e === "dark" ? 0.7 : 0.42,
|
|
3554
|
+
switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
|
|
3555
|
+
switchTrack: e === "dark" ? 0.3 : 0.38
|
|
3556
|
+
};
|
|
3557
|
+
}
|
|
3558
|
+
function cn(e) {
|
|
3559
|
+
return e === "dark" ? Gi : [];
|
|
3560
|
+
}
|
|
3561
|
+
function qi(e) {
|
|
3562
|
+
const {
|
|
3563
|
+
palette: t = {
|
|
3564
|
+
mode: "light"
|
|
3565
|
+
},
|
|
3566
|
+
// need to cast to avoid module augmentation test
|
|
3567
|
+
opacity: r,
|
|
3568
|
+
overlays: n,
|
|
3569
|
+
colorSpace: o,
|
|
3570
|
+
...i
|
|
3571
|
+
} = e, a = Kt({
|
|
3572
|
+
...t,
|
|
3573
|
+
colorSpace: o
|
|
3574
|
+
});
|
|
3575
|
+
return {
|
|
3576
|
+
palette: a,
|
|
3577
|
+
opacity: {
|
|
3578
|
+
...ln(a.mode),
|
|
3579
|
+
...r
|
|
3580
|
+
},
|
|
3581
|
+
overlays: n || cn(a.mode),
|
|
3582
|
+
...i
|
|
3583
|
+
};
|
|
3584
|
+
}
|
|
3585
|
+
function Hi(e) {
|
|
3586
|
+
var t;
|
|
3587
|
+
return e[0] === "motion" || !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
3588
|
+
e[0] === "palette" && !!((t = e[1]) != null && t.match(/(mode|contrastThreshold|tonalOffset)/));
|
|
3589
|
+
}
|
|
3590
|
+
const Ki = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Xi = (e) => (t, r) => {
|
|
3591
|
+
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
3592
|
+
let i = o;
|
|
3593
|
+
if (o === "class" && (i = ".%s"), o === "data" && (i = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (i = `[${o}="%s"]`), e.defaultColorScheme === t) {
|
|
3594
|
+
if (t === "dark") {
|
|
3595
|
+
const a = {};
|
|
3596
|
+
return Ki(e.cssVarPrefix).forEach((l) => {
|
|
3597
|
+
a[l] = r[l], delete r[l];
|
|
3598
|
+
}), i === "media" ? {
|
|
3599
|
+
[n]: r,
|
|
3600
|
+
"@media (prefers-color-scheme: dark)": {
|
|
3601
|
+
[n]: a
|
|
3602
|
+
}
|
|
3603
|
+
} : i ? {
|
|
3604
|
+
[i.replace("%s", t)]: a,
|
|
3605
|
+
[`${n}, ${i.replace("%s", t)}`]: r
|
|
3606
|
+
} : {
|
|
3607
|
+
[n]: {
|
|
3608
|
+
...r,
|
|
3609
|
+
...a
|
|
3610
|
+
}
|
|
3611
|
+
};
|
|
3612
|
+
}
|
|
3613
|
+
if (i && i !== "media")
|
|
3614
|
+
return `${n}, ${i.replace("%s", String(t))}`;
|
|
3615
|
+
} else if (t) {
|
|
3616
|
+
if (i === "media")
|
|
3617
|
+
return {
|
|
3618
|
+
[`@media (prefers-color-scheme: ${String(t)})`]: {
|
|
3619
|
+
[n]: r
|
|
3620
|
+
}
|
|
3621
|
+
};
|
|
3622
|
+
if (i)
|
|
3623
|
+
return i.replace("%s", String(t));
|
|
3624
|
+
}
|
|
3625
|
+
return n;
|
|
3626
|
+
};
|
|
3627
|
+
function Ji(e, t) {
|
|
3628
|
+
t.forEach((r) => {
|
|
3629
|
+
e[r] || (e[r] = {});
|
|
3630
|
+
});
|
|
3631
|
+
}
|
|
3632
|
+
function m(e, t, r) {
|
|
3633
|
+
!e[t] && r && (e[t] = r);
|
|
3634
|
+
}
|
|
3635
|
+
function We(e) {
|
|
3636
|
+
return typeof e != "string" || !e.startsWith("hsl") ? e : tn(e);
|
|
3637
|
+
}
|
|
3638
|
+
function he(e, t) {
|
|
3639
|
+
`${t}Channel` in e || (e[`${t}Channel`] = Le(We(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
3640
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
3641
|
+
}
|
|
3642
|
+
function Qi(e) {
|
|
3643
|
+
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
3644
|
+
}
|
|
3645
|
+
const pe = (e) => {
|
|
3646
|
+
try {
|
|
3647
|
+
return e();
|
|
3648
|
+
} catch {
|
|
3649
|
+
}
|
|
3650
|
+
}, Zi = (e = "mui") => di(e);
|
|
3651
|
+
function kt(e, t, r, n, o) {
|
|
3652
|
+
if (!r)
|
|
3653
|
+
return;
|
|
3654
|
+
r = r === !0 ? {} : r;
|
|
3655
|
+
const i = o === "dark" ? "dark" : "light";
|
|
3656
|
+
if (!n) {
|
|
3657
|
+
t[o] = qi({
|
|
3658
|
+
...r,
|
|
3659
|
+
palette: {
|
|
3660
|
+
mode: i,
|
|
3661
|
+
...r == null ? void 0 : r.palette
|
|
3662
|
+
},
|
|
3663
|
+
colorSpace: e
|
|
3664
|
+
});
|
|
3665
|
+
return;
|
|
3666
|
+
}
|
|
3667
|
+
const {
|
|
3668
|
+
palette: a,
|
|
3669
|
+
...l
|
|
3670
|
+
} = Lt({
|
|
3671
|
+
...n,
|
|
3672
|
+
palette: {
|
|
3673
|
+
mode: i,
|
|
3674
|
+
...r == null ? void 0 : r.palette
|
|
3675
|
+
},
|
|
3676
|
+
colorSpace: e
|
|
3677
|
+
});
|
|
3678
|
+
return t[o] = {
|
|
3679
|
+
...r,
|
|
3680
|
+
palette: a,
|
|
3681
|
+
opacity: {
|
|
3682
|
+
...ln(i),
|
|
3683
|
+
...r == null ? void 0 : r.opacity
|
|
3684
|
+
},
|
|
3685
|
+
overlays: (r == null ? void 0 : r.overlays) || cn(i)
|
|
3686
|
+
}, l;
|
|
3687
|
+
}
|
|
3688
|
+
function ea(e = {}, ...t) {
|
|
3689
|
+
const {
|
|
3690
|
+
colorSchemes: r = {
|
|
3691
|
+
light: !0
|
|
3692
|
+
},
|
|
3693
|
+
defaultColorScheme: n,
|
|
3694
|
+
disableCssColorScheme: o = !1,
|
|
3695
|
+
cssVarPrefix: i = "mui",
|
|
3696
|
+
nativeColor: a = !1,
|
|
3697
|
+
shouldSkipGeneratingVar: l = Hi,
|
|
3698
|
+
colorSchemeSelector: d = r.light && r.dark ? "media" : void 0,
|
|
3699
|
+
rootSelector: p = ":root",
|
|
3700
|
+
...h
|
|
3701
|
+
} = e, y = Object.keys(r)[0], v = n || (r.light && y !== "light" ? "light" : y), u = Zi(i), {
|
|
3702
|
+
[v]: b,
|
|
3703
|
+
light: c,
|
|
3704
|
+
dark: x,
|
|
3705
|
+
...P
|
|
3706
|
+
} = r, I = {
|
|
3707
|
+
...P
|
|
3708
|
+
};
|
|
3709
|
+
let j = b;
|
|
3710
|
+
if ((v === "dark" && !("dark" in r) || v === "light" && !("light" in r)) && (j = !0), !j)
|
|
3711
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${v}\` option is either missing or invalid.` : we(21, v));
|
|
3712
|
+
let w;
|
|
3713
|
+
a && (w = "oklch");
|
|
3714
|
+
const g = kt(w, I, j, h, v);
|
|
3715
|
+
c && !I.light && kt(w, I, c, void 0, "light"), x && !I.dark && kt(w, I, x, void 0, "dark");
|
|
3716
|
+
let _ = {
|
|
3717
|
+
defaultColorScheme: v,
|
|
3718
|
+
...g,
|
|
3719
|
+
cssVarPrefix: i,
|
|
3720
|
+
colorSchemeSelector: d,
|
|
3721
|
+
rootSelector: p,
|
|
3722
|
+
getCssVar: u,
|
|
3723
|
+
colorSchemes: I,
|
|
3724
|
+
font: {
|
|
3725
|
+
...wi(g.typography),
|
|
3726
|
+
...g.font
|
|
3727
|
+
},
|
|
3728
|
+
spacing: Qi(h.spacing)
|
|
3729
|
+
};
|
|
3730
|
+
Object.keys(_.colorSchemes).forEach((Y) => {
|
|
3731
|
+
const s = _.colorSchemes[Y].palette, A = (N) => {
|
|
3732
|
+
const M = N.split("-"), ee = M[1], oe = M[2];
|
|
3733
|
+
return u(N, s[ee][oe]);
|
|
3734
|
+
};
|
|
3735
|
+
s.mode === "light" && (m(s.common, "background", "#fff"), m(s.common, "onBackground", "#000")), s.mode === "dark" && (m(s.common, "background", "#000"), m(s.common, "onBackground", "#fff"));
|
|
3736
|
+
function E(N, M, ee) {
|
|
3737
|
+
if (w) {
|
|
3738
|
+
let oe;
|
|
3739
|
+
return N === Ee && (oe = `transparent ${((1 - ee) * 100).toFixed(0)}%`), N === q && (oe = `#000 ${(ee * 100).toFixed(0)}%`), N === H && (oe = `#fff ${(ee * 100).toFixed(0)}%`), `color-mix(in ${w}, ${M}, ${oe})`;
|
|
3740
|
+
}
|
|
3741
|
+
return N(M, ee);
|
|
3742
|
+
}
|
|
3743
|
+
if (Ji(s, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), s.mode === "light") {
|
|
3744
|
+
m(s.Alert, "errorColor", E(q, a ? u("palette-error-light") : s.error.light, 0.6)), m(s.Alert, "infoColor", E(q, a ? u("palette-info-light") : s.info.light, 0.6)), m(s.Alert, "successColor", E(q, a ? u("palette-success-light") : s.success.light, 0.6)), m(s.Alert, "warningColor", E(q, a ? u("palette-warning-light") : s.warning.light, 0.6)), m(s.Alert, "errorFilledBg", A("palette-error-main")), m(s.Alert, "infoFilledBg", A("palette-info-main")), m(s.Alert, "successFilledBg", A("palette-success-main")), m(s.Alert, "warningFilledBg", A("palette-warning-main")), m(s.Alert, "errorFilledColor", pe(() => s.getContrastText(s.error.main))), m(s.Alert, "infoFilledColor", pe(() => s.getContrastText(s.info.main))), m(s.Alert, "successFilledColor", pe(() => s.getContrastText(s.success.main))), m(s.Alert, "warningFilledColor", pe(() => s.getContrastText(s.warning.main))), m(s.Alert, "errorStandardBg", E(H, a ? u("palette-error-light") : s.error.light, 0.9)), m(s.Alert, "infoStandardBg", E(H, a ? u("palette-info-light") : s.info.light, 0.9)), m(s.Alert, "successStandardBg", E(H, a ? u("palette-success-light") : s.success.light, 0.9)), m(s.Alert, "warningStandardBg", E(H, a ? u("palette-warning-light") : s.warning.light, 0.9)), m(s.Alert, "errorIconColor", A("palette-error-main")), m(s.Alert, "infoIconColor", A("palette-info-main")), m(s.Alert, "successIconColor", A("palette-success-main")), m(s.Alert, "warningIconColor", A("palette-warning-main")), m(s.AppBar, "defaultBg", A("palette-grey-100")), m(s.Avatar, "defaultBg", A("palette-grey-400")), m(s.Button, "inheritContainedBg", A("palette-grey-300")), m(s.Button, "inheritContainedHoverBg", A("palette-grey-A100")), m(s.Chip, "defaultBorder", A("palette-grey-400")), m(s.Chip, "defaultAvatarColor", A("palette-grey-700")), m(s.Chip, "defaultIconColor", A("palette-grey-700")), m(s.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), m(s.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), m(s.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), m(s.LinearProgress, "primaryBg", E(H, a ? u("palette-primary-main") : s.primary.main, 0.62)), m(s.LinearProgress, "secondaryBg", E(H, a ? u("palette-secondary-main") : s.secondary.main, 0.62)), m(s.LinearProgress, "errorBg", E(H, a ? u("palette-error-main") : s.error.main, 0.62)), m(s.LinearProgress, "infoBg", E(H, a ? u("palette-info-main") : s.info.main, 0.62)), m(s.LinearProgress, "successBg", E(H, a ? u("palette-success-main") : s.success.main, 0.62)), m(s.LinearProgress, "warningBg", E(H, a ? u("palette-warning-light") : s.warning.main, 0.62)), m(s.Skeleton, "bg", w ? E(Ee, a ? u("palette-text-primary") : s.text.primary, 0.11) : `rgba(${A("palette-text-primaryChannel")} / 0.11)`), m(s.Slider, "primaryTrack", E(H, a ? u("palette-primary-main") : s.primary.main, 0.62)), m(s.Slider, "secondaryTrack", E(H, a ? u("palette-secondary-main") : s.secondary.main, 0.62)), m(s.Slider, "errorTrack", E(H, a ? u("palette-error-main") : s.error.main, 0.62)), m(s.Slider, "infoTrack", E(H, a ? u("palette-info-main") : s.info.main, 0.62)), m(s.Slider, "successTrack", E(H, a ? u("palette-success-main") : s.success.main, 0.62)), m(s.Slider, "warningTrack", E(H, a ? u("palette-warning-main") : s.warning.main, 0.62));
|
|
3745
|
+
const N = w ? E(q, a ? u("palette-background-default") : s.background.default, 0.6825) : Qe(s.background.default, 0.8);
|
|
3746
|
+
m(s.SnackbarContent, "bg", N), m(s.SnackbarContent, "color", pe(() => w ? Vt.text.primary : s.getContrastText(N))), m(s.SpeedDialAction, "fabHoverBg", Qe(s.background.paper, 0.15)), m(s.StepConnector, "border", A("palette-grey-400")), m(s.StepContent, "border", A("palette-grey-400")), m(s.Switch, "defaultColor", A("palette-common-white")), m(s.Switch, "defaultDisabledColor", A("palette-grey-100")), m(s.Switch, "primaryDisabledColor", E(H, a ? u("palette-primary-main") : s.primary.main, 0.62)), m(s.Switch, "secondaryDisabledColor", E(H, a ? u("palette-secondary-main") : s.secondary.main, 0.62)), m(s.Switch, "errorDisabledColor", E(H, a ? u("palette-error-main") : s.error.main, 0.62)), m(s.Switch, "infoDisabledColor", E(H, a ? u("palette-info-main") : s.info.main, 0.62)), m(s.Switch, "successDisabledColor", E(H, a ? u("palette-success-main") : s.success.main, 0.62)), m(s.Switch, "warningDisabledColor", E(H, a ? u("palette-warning-main") : s.warning.main, 0.62)), m(s.TableCell, "border", E(H, Ee(a ? u("palette-divider") : s.divider, 1), 0.88)), m(s.Tooltip, "bg", E(Ee, a ? u("palette-grey-700") : s.grey[700], 0.92));
|
|
3747
|
+
}
|
|
3748
|
+
if (s.mode === "dark") {
|
|
3749
|
+
m(s.Alert, "errorColor", E(H, a ? u("palette-error-light") : s.error.light, 0.6)), m(s.Alert, "infoColor", E(H, a ? u("palette-info-light") : s.info.light, 0.6)), m(s.Alert, "successColor", E(H, a ? u("palette-success-light") : s.success.light, 0.6)), m(s.Alert, "warningColor", E(H, a ? u("palette-warning-light") : s.warning.light, 0.6)), m(s.Alert, "errorFilledBg", A("palette-error-dark")), m(s.Alert, "infoFilledBg", A("palette-info-dark")), m(s.Alert, "successFilledBg", A("palette-success-dark")), m(s.Alert, "warningFilledBg", A("palette-warning-dark")), m(s.Alert, "errorFilledColor", pe(() => s.getContrastText(s.error.dark))), m(s.Alert, "infoFilledColor", pe(() => s.getContrastText(s.info.dark))), m(s.Alert, "successFilledColor", pe(() => s.getContrastText(s.success.dark))), m(s.Alert, "warningFilledColor", pe(() => s.getContrastText(s.warning.dark))), m(s.Alert, "errorStandardBg", E(q, a ? u("palette-error-light") : s.error.light, 0.9)), m(s.Alert, "infoStandardBg", E(q, a ? u("palette-info-light") : s.info.light, 0.9)), m(s.Alert, "successStandardBg", E(q, a ? u("palette-success-light") : s.success.light, 0.9)), m(s.Alert, "warningStandardBg", E(q, a ? u("palette-warning-light") : s.warning.light, 0.9)), m(s.Alert, "errorIconColor", A("palette-error-main")), m(s.Alert, "infoIconColor", A("palette-info-main")), m(s.Alert, "successIconColor", A("palette-success-main")), m(s.Alert, "warningIconColor", A("palette-warning-main")), m(s.AppBar, "defaultBg", A("palette-grey-900")), m(s.AppBar, "darkBg", A("palette-background-paper")), m(s.AppBar, "darkColor", A("palette-text-primary")), m(s.Avatar, "defaultBg", A("palette-grey-600")), m(s.Button, "inheritContainedBg", A("palette-grey-800")), m(s.Button, "inheritContainedHoverBg", A("palette-grey-700")), m(s.Chip, "defaultBorder", A("palette-grey-700")), m(s.Chip, "defaultAvatarColor", A("palette-grey-300")), m(s.Chip, "defaultIconColor", A("palette-grey-300")), m(s.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), m(s.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), m(s.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), m(s.LinearProgress, "primaryBg", E(q, a ? u("palette-primary-main") : s.primary.main, 0.5)), m(s.LinearProgress, "secondaryBg", E(q, a ? u("palette-secondary-main") : s.secondary.main, 0.5)), m(s.LinearProgress, "errorBg", E(q, a ? u("palette-error-main") : s.error.main, 0.5)), m(s.LinearProgress, "infoBg", E(q, a ? u("palette-info-main") : s.info.main, 0.5)), m(s.LinearProgress, "successBg", E(q, a ? u("palette-success-main") : s.success.main, 0.5)), m(s.LinearProgress, "warningBg", E(q, a ? u("palette-warning-main") : s.warning.main, 0.5)), m(s.Skeleton, "bg", w ? E(Ee, a ? u("palette-text-primary") : s.text.primary, 0.13) : `rgba(${A("palette-text-primaryChannel")} / 0.13)`), m(s.Slider, "primaryTrack", E(q, a ? u("palette-primary-main") : s.primary.main, 0.5)), m(s.Slider, "secondaryTrack", E(q, a ? u("palette-secondary-main") : s.secondary.main, 0.5)), m(s.Slider, "errorTrack", E(q, a ? u("palette-error-main") : s.error.main, 0.5)), m(s.Slider, "infoTrack", E(q, a ? u("palette-info-main") : s.info.main, 0.5)), m(s.Slider, "successTrack", E(q, a ? u("palette-success-main") : s.success.main, 0.5)), m(s.Slider, "warningTrack", E(q, a ? u("palette-warning-light") : s.warning.main, 0.5));
|
|
3750
|
+
const N = w ? E(H, a ? u("palette-background-default") : s.background.default, 0.985) : Qe(s.background.default, 0.98);
|
|
3751
|
+
m(s.SnackbarContent, "bg", N), m(s.SnackbarContent, "color", pe(() => w ? on.text.primary : s.getContrastText(N))), m(s.SpeedDialAction, "fabHoverBg", Qe(s.background.paper, 0.15)), m(s.StepConnector, "border", A("palette-grey-600")), m(s.StepContent, "border", A("palette-grey-600")), m(s.Switch, "defaultColor", A("palette-grey-300")), m(s.Switch, "defaultDisabledColor", A("palette-grey-600")), m(s.Switch, "primaryDisabledColor", E(q, a ? u("palette-primary-main") : s.primary.main, 0.55)), m(s.Switch, "secondaryDisabledColor", E(q, a ? u("palette-secondary-main") : s.secondary.main, 0.55)), m(s.Switch, "errorDisabledColor", E(q, a ? u("palette-error-main") : s.error.main, 0.55)), m(s.Switch, "infoDisabledColor", E(q, a ? u("palette-info-main") : s.info.main, 0.55)), m(s.Switch, "successDisabledColor", E(q, a ? u("palette-success-main") : s.success.main, 0.55)), m(s.Switch, "warningDisabledColor", E(q, a ? u("palette-warning-light") : s.warning.main, 0.55)), m(s.TableCell, "border", E(q, Ee(a ? u("palette-divider") : s.divider, 1), 0.68)), m(s.Tooltip, "bg", E(Ee, a ? u("palette-grey-700") : s.grey[700], 0.92));
|
|
3752
|
+
}
|
|
3753
|
+
a || (he(s.background, "default"), he(s.background, "paper"), he(s.common, "background"), he(s.common, "onBackground"), he(s, "divider")), Object.keys(s).forEach((N) => {
|
|
3754
|
+
const M = s[N];
|
|
3755
|
+
N !== "tonalOffset" && !a && M && typeof M == "object" && (M.main && m(s[N], "mainChannel", Le(We(M.main))), M.light && m(s[N], "lightChannel", Le(We(M.light))), M.dark && m(s[N], "darkChannel", Le(We(M.dark))), M.contrastText && m(s[N], "contrastTextChannel", Le(We(M.contrastText))), N === "text" && (he(s[N], "primary"), he(s[N], "secondary")), N === "action" && (M.active && he(s[N], "active"), M.selected && he(s[N], "selected")));
|
|
3756
|
+
});
|
|
3757
|
+
}), _ = t.reduce((Y, s) => ue(Y, s), _);
|
|
3758
|
+
const B = {
|
|
3759
|
+
prefix: i,
|
|
3760
|
+
disableCssColorScheme: o,
|
|
3761
|
+
shouldSkipGeneratingVar: l,
|
|
3762
|
+
getSelector: Xi(_),
|
|
3763
|
+
enableContrastVars: a
|
|
3764
|
+
}, {
|
|
3765
|
+
vars: J,
|
|
3766
|
+
generateThemeVars: Q,
|
|
3767
|
+
generateStyleSheets: ie
|
|
3768
|
+
} = hi(_, B);
|
|
3769
|
+
return _.vars = J, Object.entries(_.colorSchemes[_.defaultColorScheme]).forEach(([Y, s]) => {
|
|
3770
|
+
_[Y] = s;
|
|
3771
|
+
}), _.generateThemeVars = Q, _.generateStyleSheets = ie, _.generateSpacing = function() {
|
|
3772
|
+
return Kr(h.spacing, zt(this));
|
|
3773
|
+
}, _.getColorSchemeSelector = gi(d), _.spacing = _.generateSpacing(), _.shouldSkipGeneratingVar = l, _.unstable_sxConfig = {
|
|
3774
|
+
...yt,
|
|
3775
|
+
...h == null ? void 0 : h.unstable_sxConfig
|
|
3776
|
+
}, _.unstable_sx = function(s) {
|
|
3777
|
+
return Ye({
|
|
3778
|
+
sx: s,
|
|
3779
|
+
theme: this
|
|
3780
|
+
});
|
|
3781
|
+
}, _.internal_cache = {}, _.toRuntimeSource = sn, _;
|
|
3782
|
+
}
|
|
3783
|
+
function Mr(e, t, r) {
|
|
3784
|
+
e.colorSchemes && r && (e.colorSchemes[t] = {
|
|
3785
|
+
...r !== !0 && r,
|
|
3786
|
+
palette: Kt({
|
|
3787
|
+
...r === !0 ? {} : r.palette,
|
|
3788
|
+
mode: t
|
|
3789
|
+
})
|
|
3790
|
+
// cast type to skip module augmentation test
|
|
3791
|
+
});
|
|
3792
|
+
}
|
|
3793
|
+
function ta(e = {}, ...t) {
|
|
3794
|
+
const {
|
|
3795
|
+
palette: r,
|
|
3796
|
+
cssVariables: n = !1,
|
|
3797
|
+
colorSchemes: o = r ? void 0 : {
|
|
3798
|
+
light: !0
|
|
3799
|
+
},
|
|
3800
|
+
defaultColorScheme: i = r == null ? void 0 : r.mode,
|
|
3801
|
+
...a
|
|
3802
|
+
} = e, l = i || "light", d = o == null ? void 0 : o[l], p = {
|
|
3803
|
+
...o,
|
|
3804
|
+
...r ? {
|
|
3805
|
+
[l]: {
|
|
3806
|
+
...typeof d != "boolean" && d,
|
|
3807
|
+
palette: r
|
|
3808
|
+
}
|
|
3809
|
+
} : void 0
|
|
3810
|
+
};
|
|
3811
|
+
if (n === !1) {
|
|
3812
|
+
if (!("colorSchemes" in e))
|
|
3813
|
+
return Lt(e, ...t);
|
|
3814
|
+
let h = r;
|
|
3815
|
+
"palette" in e || p[l] && (p[l] !== !0 ? h = p[l].palette : l === "dark" && (h = {
|
|
3816
|
+
mode: "dark"
|
|
3817
|
+
}));
|
|
3818
|
+
const y = Lt({
|
|
3819
|
+
...e,
|
|
3820
|
+
palette: h
|
|
3821
|
+
}, ...t);
|
|
3822
|
+
return y.defaultColorScheme = l, y.colorSchemes = p, y.palette.mode === "light" && (y.colorSchemes.light = {
|
|
3823
|
+
...p.light !== !0 && p.light,
|
|
3824
|
+
palette: y.palette
|
|
3825
|
+
}, Mr(y, "dark", p.dark)), y.palette.mode === "dark" && (y.colorSchemes.dark = {
|
|
3826
|
+
...p.dark !== !0 && p.dark,
|
|
3827
|
+
palette: y.palette
|
|
3828
|
+
}, Mr(y, "light", p.light)), y;
|
|
3829
|
+
}
|
|
3830
|
+
return !r && !("light" in p) && l === "light" && (p.light = !0), ea({
|
|
3831
|
+
...a,
|
|
3832
|
+
colorSchemes: p,
|
|
3833
|
+
defaultColorScheme: l,
|
|
3834
|
+
...typeof n != "boolean" && n
|
|
3835
|
+
}, ...t);
|
|
3836
|
+
}
|
|
3837
|
+
const ra = ta(), na = "$$material";
|
|
3838
|
+
function oa(e) {
|
|
3839
|
+
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
3840
|
+
}
|
|
3841
|
+
const ia = (e) => oa(e) && e !== "classes", aa = ei({
|
|
3842
|
+
themeId: na,
|
|
3843
|
+
defaultTheme: ra,
|
|
3844
|
+
rootShouldForwardProp: ia
|
|
3845
|
+
}), sa = fi;
|
|
3846
|
+
process.env.NODE_ENV !== "production" && (z.node, z.object.isRequired);
|
|
3847
|
+
function la(e) {
|
|
3848
|
+
return ui(e);
|
|
3849
|
+
}
|
|
3850
|
+
function ca(e) {
|
|
3851
|
+
return qt("MuiSvgIcon", e);
|
|
3852
|
+
}
|
|
3853
|
+
Ko("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
3854
|
+
const ua = {
|
|
3855
|
+
transition: "none"
|
|
3856
|
+
};
|
|
3857
|
+
function fa(e, t) {
|
|
3858
|
+
return e === "always" ? t : e === "system" ? {
|
|
3859
|
+
"@media (prefers-reduced-motion: reduce)": t
|
|
3860
|
+
} : null;
|
|
3861
|
+
}
|
|
3862
|
+
const da = {}, pa = ["all"], ma = {};
|
|
3863
|
+
function ha(e, t) {
|
|
3864
|
+
var n;
|
|
3865
|
+
const r = ua;
|
|
3866
|
+
return fa((n = e.motion) == null ? void 0 : n.reducedMotion, r);
|
|
3867
|
+
}
|
|
3868
|
+
function ga(e, t = pa, r = ma) {
|
|
3869
|
+
var a, l;
|
|
3870
|
+
const n = (l = (a = e.transitions) == null ? void 0 : a.create) == null ? void 0 : l.call(a, t, r), o = ha(e);
|
|
3871
|
+
if (n === void 0)
|
|
3872
|
+
return o ?? da;
|
|
3873
|
+
const i = {
|
|
3874
|
+
transition: n
|
|
3875
|
+
};
|
|
3876
|
+
return o ? {
|
|
3877
|
+
...i,
|
|
3878
|
+
...o
|
|
3879
|
+
} : i;
|
|
3880
|
+
}
|
|
3881
|
+
const ya = (e) => {
|
|
3882
|
+
const {
|
|
3883
|
+
color: t,
|
|
3884
|
+
fontSize: r,
|
|
3885
|
+
classes: n
|
|
3886
|
+
} = e, o = {
|
|
3887
|
+
root: ["root", t !== "inherit" && `color${Ne(t)}`, `fontSize${Ne(r)}`]
|
|
3888
|
+
};
|
|
3889
|
+
return jn(o, ca, n);
|
|
3890
|
+
}, ba = aa("svg", {
|
|
3891
|
+
name: "MuiSvgIcon",
|
|
3892
|
+
slot: "Root",
|
|
3893
|
+
overridesResolver: (e, t) => {
|
|
3894
|
+
const {
|
|
3895
|
+
ownerState: r
|
|
3896
|
+
} = e;
|
|
3897
|
+
return [t.root, r.color !== "inherit" && t[`color${Ne(r.color)}`], t[`fontSize${Ne(r.fontSize)}`]];
|
|
3898
|
+
}
|
|
3899
|
+
})(sa(({
|
|
3900
|
+
theme: e
|
|
3901
|
+
}) => {
|
|
3902
|
+
var t, r, n, o, i, a, l, d, p, h, y, v;
|
|
3903
|
+
return {
|
|
3904
|
+
userSelect: "none",
|
|
3905
|
+
width: "1em",
|
|
3906
|
+
height: "1em",
|
|
3907
|
+
display: "inline-block",
|
|
3908
|
+
flexShrink: 0,
|
|
3909
|
+
...ga(e, "fill", {
|
|
3910
|
+
duration: (r = (t = (e.vars ?? e).transitions) == null ? void 0 : t.duration) == null ? void 0 : r.shorter
|
|
3911
|
+
}),
|
|
3912
|
+
variants: [
|
|
3913
|
+
{
|
|
3914
|
+
props: (u) => !u.hasSvgAsChild,
|
|
3915
|
+
style: {
|
|
3916
|
+
// the <svg> will define the property that has `currentColor`
|
|
3917
|
+
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
3918
|
+
fill: "currentColor"
|
|
3919
|
+
}
|
|
3920
|
+
},
|
|
3921
|
+
{
|
|
3922
|
+
props: {
|
|
3923
|
+
fontSize: "inherit"
|
|
3924
|
+
},
|
|
3925
|
+
style: {
|
|
3926
|
+
fontSize: "inherit"
|
|
3927
|
+
}
|
|
3928
|
+
},
|
|
3929
|
+
{
|
|
3930
|
+
props: {
|
|
3931
|
+
fontSize: "small"
|
|
3932
|
+
},
|
|
3933
|
+
style: {
|
|
3934
|
+
fontSize: ((o = (n = e.typography) == null ? void 0 : n.pxToRem) == null ? void 0 : o.call(n, 20)) || "1.25rem"
|
|
3935
|
+
}
|
|
3936
|
+
},
|
|
282
3937
|
{
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
3938
|
+
props: {
|
|
3939
|
+
fontSize: "medium"
|
|
3940
|
+
},
|
|
3941
|
+
style: {
|
|
3942
|
+
fontSize: ((a = (i = e.typography) == null ? void 0 : i.pxToRem) == null ? void 0 : a.call(i, 24)) || "1.5rem"
|
|
3943
|
+
}
|
|
3944
|
+
},
|
|
3945
|
+
{
|
|
3946
|
+
props: {
|
|
3947
|
+
fontSize: "large"
|
|
3948
|
+
},
|
|
3949
|
+
style: {
|
|
3950
|
+
fontSize: ((d = (l = e.typography) == null ? void 0 : l.pxToRem) == null ? void 0 : d.call(l, 35)) || "2.1875rem"
|
|
3951
|
+
}
|
|
3952
|
+
},
|
|
3953
|
+
// TODO v5 deprecate color prop, v6 remove for sx
|
|
3954
|
+
...Object.entries((e.vars ?? e).palette).filter(([, u]) => u && u.main).map(([u]) => {
|
|
3955
|
+
var b, c;
|
|
3956
|
+
return {
|
|
3957
|
+
props: {
|
|
3958
|
+
color: u
|
|
3959
|
+
},
|
|
3960
|
+
style: {
|
|
3961
|
+
color: (c = (b = (e.vars ?? e).palette) == null ? void 0 : b[u]) == null ? void 0 : c.main
|
|
3962
|
+
}
|
|
3963
|
+
};
|
|
3964
|
+
}),
|
|
3965
|
+
{
|
|
3966
|
+
props: {
|
|
3967
|
+
color: "action"
|
|
3968
|
+
},
|
|
3969
|
+
style: {
|
|
3970
|
+
color: (h = (p = (e.vars ?? e).palette) == null ? void 0 : p.action) == null ? void 0 : h.active
|
|
3971
|
+
}
|
|
3972
|
+
},
|
|
3973
|
+
{
|
|
3974
|
+
props: {
|
|
3975
|
+
color: "disabled"
|
|
3976
|
+
},
|
|
3977
|
+
style: {
|
|
3978
|
+
color: (v = (y = (e.vars ?? e).palette) == null ? void 0 : y.action) == null ? void 0 : v.disabled
|
|
3979
|
+
}
|
|
3980
|
+
},
|
|
3981
|
+
{
|
|
3982
|
+
props: {
|
|
3983
|
+
color: "inherit"
|
|
3984
|
+
},
|
|
3985
|
+
style: {
|
|
3986
|
+
color: void 0
|
|
3987
|
+
}
|
|
3988
|
+
}
|
|
3989
|
+
]
|
|
3990
|
+
};
|
|
3991
|
+
})), it = /* @__PURE__ */ ve.forwardRef(function(t, r) {
|
|
3992
|
+
const n = la({
|
|
3993
|
+
props: t,
|
|
3994
|
+
name: "MuiSvgIcon"
|
|
3995
|
+
}), {
|
|
3996
|
+
children: o,
|
|
3997
|
+
className: i,
|
|
3998
|
+
color: a = "inherit",
|
|
3999
|
+
component: l = "svg",
|
|
4000
|
+
fontSize: d = "medium",
|
|
4001
|
+
htmlColor: p,
|
|
4002
|
+
inheritViewBox: h = !1,
|
|
4003
|
+
titleAccess: y,
|
|
4004
|
+
viewBox: v = "0 0 24 24",
|
|
4005
|
+
...u
|
|
4006
|
+
} = n, b = /* @__PURE__ */ ve.isValidElement(o) && o.type === "svg", c = {
|
|
4007
|
+
...n,
|
|
4008
|
+
color: a,
|
|
4009
|
+
component: l,
|
|
4010
|
+
fontSize: d,
|
|
4011
|
+
instanceFontSize: t.fontSize,
|
|
4012
|
+
inheritViewBox: h,
|
|
4013
|
+
viewBox: v,
|
|
4014
|
+
hasSvgAsChild: b
|
|
4015
|
+
}, x = {};
|
|
4016
|
+
h || (x.viewBox = v);
|
|
4017
|
+
const P = ya(c);
|
|
4018
|
+
return /* @__PURE__ */ C.jsxs(ba, {
|
|
4019
|
+
as: l,
|
|
4020
|
+
className: Lr(P.root, i),
|
|
4021
|
+
focusable: "false",
|
|
4022
|
+
color: p,
|
|
4023
|
+
"aria-hidden": y ? void 0 : !0,
|
|
4024
|
+
role: y ? "img" : void 0,
|
|
4025
|
+
ref: r,
|
|
4026
|
+
...x,
|
|
4027
|
+
...u,
|
|
4028
|
+
...b && o.props,
|
|
4029
|
+
ownerState: c,
|
|
4030
|
+
children: [b ? o.props.children : o, y ? /* @__PURE__ */ C.jsx("title", {
|
|
4031
|
+
children: y
|
|
4032
|
+
}) : null]
|
|
4033
|
+
});
|
|
4034
|
+
});
|
|
4035
|
+
process.env.NODE_ENV !== "production" && (it.propTypes = {
|
|
4036
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
4037
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
4038
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
4039
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
4040
|
+
/**
|
|
4041
|
+
* Node passed into the SVG element.
|
|
4042
|
+
*/
|
|
4043
|
+
children: z.node,
|
|
4044
|
+
/**
|
|
4045
|
+
* Override or extend the styles applied to the component.
|
|
4046
|
+
*/
|
|
4047
|
+
classes: z.object,
|
|
4048
|
+
/**
|
|
4049
|
+
* @ignore
|
|
4050
|
+
*/
|
|
4051
|
+
className: z.string,
|
|
4052
|
+
/**
|
|
4053
|
+
* The color of the component.
|
|
4054
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
4055
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
4056
|
+
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
4057
|
+
* @default 'inherit'
|
|
4058
|
+
*/
|
|
4059
|
+
color: z.oneOfType([z.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), z.string]),
|
|
4060
|
+
/**
|
|
4061
|
+
* The component used for the root node.
|
|
4062
|
+
* Either a string to use a HTML element or a component.
|
|
4063
|
+
*/
|
|
4064
|
+
component: z.elementType,
|
|
4065
|
+
/**
|
|
4066
|
+
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
4067
|
+
* @default 'medium'
|
|
4068
|
+
*/
|
|
4069
|
+
fontSize: z.oneOfType([z.oneOf(["inherit", "large", "medium", "small"]), z.string]),
|
|
4070
|
+
/**
|
|
4071
|
+
* Applies a color attribute to the SVG element.
|
|
4072
|
+
*/
|
|
4073
|
+
htmlColor: z.string,
|
|
4074
|
+
/**
|
|
4075
|
+
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
4076
|
+
* prop will be ignored.
|
|
4077
|
+
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
|
4078
|
+
* `component`'s viewBox to the root node.
|
|
4079
|
+
* @default false
|
|
4080
|
+
*/
|
|
4081
|
+
inheritViewBox: z.bool,
|
|
4082
|
+
/**
|
|
4083
|
+
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
4084
|
+
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
|
|
4085
|
+
* If you are having issues with blurry icons you should investigate this prop.
|
|
4086
|
+
*/
|
|
4087
|
+
shapeRendering: z.string,
|
|
4088
|
+
/**
|
|
4089
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
4090
|
+
*/
|
|
4091
|
+
sx: z.oneOfType([z.arrayOf(z.oneOfType([z.func, z.object, z.bool])), z.func, z.object]),
|
|
4092
|
+
/**
|
|
4093
|
+
* Provides a human-readable title for the element that contains it.
|
|
4094
|
+
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
4095
|
+
*/
|
|
4096
|
+
titleAccess: z.string,
|
|
4097
|
+
/**
|
|
4098
|
+
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
4099
|
+
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
4100
|
+
* and you pass viewBox="0 0 50 20",
|
|
4101
|
+
* this means that the coordinates inside the SVG will go from the top left corner (0,0)
|
|
4102
|
+
* to bottom right (50,20) and each unit will be worth 10px.
|
|
4103
|
+
* @default '0 0 24 24'
|
|
4104
|
+
*/
|
|
4105
|
+
viewBox: z.string
|
|
4106
|
+
});
|
|
4107
|
+
it.muiName = "SvgIcon";
|
|
4108
|
+
function He(e, t) {
|
|
4109
|
+
function r(n, o) {
|
|
4110
|
+
return /* @__PURE__ */ C.jsx(it, {
|
|
4111
|
+
"data-testid": process.env.NODE_ENV !== "production" ? `${t}Icon` : void 0,
|
|
4112
|
+
ref: o,
|
|
4113
|
+
...n,
|
|
4114
|
+
children: e
|
|
4115
|
+
});
|
|
4116
|
+
}
|
|
4117
|
+
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = it.muiName, /* @__PURE__ */ ve.memo(/* @__PURE__ */ ve.forwardRef(r));
|
|
4118
|
+
}
|
|
4119
|
+
const va = He(/* @__PURE__ */ C.jsx("path", {
|
|
4120
|
+
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
|
|
4121
|
+
}), "Edit"), Sa = He(/* @__PURE__ */ C.jsx("path", {
|
|
4122
|
+
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
|
|
4123
|
+
}), "Delete"), at = He(/* @__PURE__ */ C.jsx("path", {
|
|
4124
|
+
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
4125
|
+
}), "Close");
|
|
4126
|
+
function Aa({
|
|
4127
|
+
image: e,
|
|
4128
|
+
imageAlt: t = "",
|
|
4129
|
+
imageHeight: r = 260,
|
|
4130
|
+
fallback: n = /* @__PURE__ */ C.jsx(ce, { children: "No Image Available" }),
|
|
4131
|
+
title: o,
|
|
4132
|
+
description: i,
|
|
4133
|
+
descriptionLines: a = 3,
|
|
4134
|
+
highlight: l,
|
|
4135
|
+
footer: d,
|
|
4136
|
+
sx: p,
|
|
4137
|
+
onEdit: h,
|
|
4138
|
+
editForm: y,
|
|
4139
|
+
editLabel: v = "Edit",
|
|
4140
|
+
onDelete: u,
|
|
4141
|
+
deleteLabel: b = "Delete",
|
|
4142
|
+
deleteConfirmMessage: c = "Are you sure you want to delete this item? This action cannot be undone.",
|
|
4143
|
+
onClick: x
|
|
4144
|
+
}) {
|
|
4145
|
+
const [P, I] = Pe(!1), [j, w] = Pe(!1), [g, _] = Pe(!1), B = !!(h && y), J = !!u, Q = async (Y) => {
|
|
4146
|
+
h && (await h(Y), I(!1));
|
|
4147
|
+
}, ie = async () => {
|
|
4148
|
+
if (u) {
|
|
4149
|
+
_(!0);
|
|
4150
|
+
try {
|
|
4151
|
+
await u(), w(!1);
|
|
4152
|
+
} finally {
|
|
4153
|
+
_(!1);
|
|
4154
|
+
}
|
|
4155
|
+
}
|
|
4156
|
+
};
|
|
4157
|
+
return /* @__PURE__ */ C.jsxs(be, { sx: { position: "relative", height: "100%" }, children: [
|
|
4158
|
+
(B || J) && /* @__PURE__ */ C.jsxs(
|
|
4159
|
+
et,
|
|
4160
|
+
{
|
|
4161
|
+
direction: "row",
|
|
4162
|
+
spacing: 0.5,
|
|
4163
|
+
sx: {
|
|
4164
|
+
position: "absolute",
|
|
4165
|
+
top: 8,
|
|
4166
|
+
right: 8,
|
|
4167
|
+
zIndex: 1,
|
|
4168
|
+
bgcolor: "background.paper",
|
|
4169
|
+
borderRadius: 1,
|
|
4170
|
+
boxShadow: 1
|
|
4171
|
+
},
|
|
4172
|
+
children: [
|
|
4173
|
+
B && /* @__PURE__ */ C.jsx(
|
|
4174
|
+
ke,
|
|
4175
|
+
{
|
|
4176
|
+
size: "small",
|
|
4177
|
+
onClick: () => I(!0),
|
|
4178
|
+
"aria-label": v,
|
|
4179
|
+
children: /* @__PURE__ */ C.jsx(va, { fontSize: "small" })
|
|
4180
|
+
}
|
|
4181
|
+
),
|
|
4182
|
+
J && /* @__PURE__ */ C.jsx(
|
|
4183
|
+
ke,
|
|
4184
|
+
{
|
|
4185
|
+
size: "small",
|
|
4186
|
+
onClick: () => w(!0),
|
|
4187
|
+
"aria-label": b,
|
|
4188
|
+
children: /* @__PURE__ */ C.jsx(Sa, { fontSize: "small", color: "error" })
|
|
4189
|
+
}
|
|
4190
|
+
)
|
|
4191
|
+
]
|
|
4192
|
+
}
|
|
4193
|
+
),
|
|
4194
|
+
/* @__PURE__ */ C.jsxs(
|
|
4195
|
+
Dr,
|
|
4196
|
+
{
|
|
4197
|
+
onClick: x,
|
|
4198
|
+
sx: {
|
|
4199
|
+
height: "100%",
|
|
4200
|
+
display: "flex",
|
|
4201
|
+
flexDirection: "column",
|
|
4202
|
+
borderRadius: 3,
|
|
4203
|
+
overflow: "hidden",
|
|
4204
|
+
boxShadow: "0 4px 16px rgba(0,0,0,0.08)",
|
|
4205
|
+
transition: "all 0.25s ease",
|
|
4206
|
+
"&:hover": {
|
|
4207
|
+
transform: "translateY(-4px)",
|
|
4208
|
+
boxShadow: "0 10px 28px rgba(0,0,0,0.12)"
|
|
4209
|
+
},
|
|
4210
|
+
...p
|
|
4211
|
+
},
|
|
4212
|
+
children: [
|
|
4213
|
+
e ? /* @__PURE__ */ C.jsx(
|
|
4214
|
+
pn,
|
|
4215
|
+
{
|
|
4216
|
+
component: "img",
|
|
4217
|
+
image: e,
|
|
4218
|
+
alt: t,
|
|
4219
|
+
sx: {
|
|
4220
|
+
height: r,
|
|
4221
|
+
objectFit: "cover",
|
|
4222
|
+
bgcolor: "background.default"
|
|
4223
|
+
}
|
|
4224
|
+
}
|
|
4225
|
+
) : /* @__PURE__ */ C.jsx(
|
|
4226
|
+
be,
|
|
4227
|
+
{
|
|
4228
|
+
sx: {
|
|
4229
|
+
height: r,
|
|
4230
|
+
display: "flex",
|
|
4231
|
+
alignItems: "center",
|
|
4232
|
+
justifyContent: "center",
|
|
4233
|
+
bgcolor: "grey.100",
|
|
4234
|
+
color: "text.secondary"
|
|
4235
|
+
},
|
|
4236
|
+
children: n
|
|
4237
|
+
}
|
|
4238
|
+
),
|
|
4239
|
+
/* @__PURE__ */ C.jsxs(
|
|
4240
|
+
mn,
|
|
4241
|
+
{
|
|
4242
|
+
sx: { display: "flex", flexDirection: "column", flexGrow: 1, p: 3 },
|
|
4243
|
+
children: [
|
|
4244
|
+
/* @__PURE__ */ C.jsx(
|
|
4245
|
+
ce,
|
|
4246
|
+
{
|
|
4247
|
+
variant: "h6",
|
|
4248
|
+
sx: { fontWeight: 600, color: "text.primary", mb: 1 },
|
|
4249
|
+
children: o
|
|
4250
|
+
}
|
|
4251
|
+
),
|
|
4252
|
+
i && /* @__PURE__ */ C.jsx(
|
|
4253
|
+
ce,
|
|
4254
|
+
{
|
|
4255
|
+
variant: "body2",
|
|
4256
|
+
color: "text.secondary",
|
|
4257
|
+
sx: {
|
|
4258
|
+
flexGrow: 1,
|
|
4259
|
+
mb: 2,
|
|
4260
|
+
display: "-webkit-box",
|
|
4261
|
+
WebkitLineClamp: a,
|
|
4262
|
+
WebkitBoxOrient: "vertical",
|
|
4263
|
+
overflow: "hidden"
|
|
4264
|
+
},
|
|
4265
|
+
children: i
|
|
4266
|
+
}
|
|
4267
|
+
),
|
|
4268
|
+
l && /* @__PURE__ */ C.jsx(
|
|
4269
|
+
ce,
|
|
4270
|
+
{
|
|
4271
|
+
variant: "h5",
|
|
4272
|
+
sx: { fontWeight: 700, color: "primary.main", mb: 2 },
|
|
4273
|
+
children: l
|
|
4274
|
+
}
|
|
4275
|
+
),
|
|
4276
|
+
d
|
|
4277
|
+
]
|
|
4278
|
+
}
|
|
4279
|
+
)
|
|
4280
|
+
]
|
|
287
4281
|
}
|
|
288
4282
|
),
|
|
289
|
-
/* @__PURE__ */
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
4283
|
+
B && /* @__PURE__ */ C.jsxs(
|
|
4284
|
+
Pt,
|
|
4285
|
+
{
|
|
4286
|
+
open: P,
|
|
4287
|
+
onClose: () => I(!1),
|
|
4288
|
+
fullWidth: !0,
|
|
4289
|
+
maxWidth: "sm",
|
|
4290
|
+
children: [
|
|
4291
|
+
/* @__PURE__ */ C.jsxs(
|
|
4292
|
+
It,
|
|
4293
|
+
{
|
|
4294
|
+
sx: {
|
|
4295
|
+
borderBottom: 2,
|
|
4296
|
+
borderColor: "divider",
|
|
4297
|
+
display: "flex",
|
|
4298
|
+
alignItems: "center",
|
|
4299
|
+
justifyContent: "space-between"
|
|
4300
|
+
},
|
|
4301
|
+
children: [
|
|
4302
|
+
v,
|
|
4303
|
+
/* @__PURE__ */ C.jsx(
|
|
4304
|
+
ke,
|
|
4305
|
+
{
|
|
4306
|
+
size: "small",
|
|
4307
|
+
onClick: () => I(!1),
|
|
4308
|
+
"aria-label": "Close",
|
|
4309
|
+
children: /* @__PURE__ */ C.jsx(at, { fontSize: "small" })
|
|
4310
|
+
}
|
|
4311
|
+
)
|
|
4312
|
+
]
|
|
4313
|
+
}
|
|
4314
|
+
),
|
|
4315
|
+
/* @__PURE__ */ C.jsx(jt, { sx: { padding: 0 }, children: y({
|
|
4316
|
+
onSubmit: Q,
|
|
4317
|
+
onCancel: () => I(!1)
|
|
4318
|
+
}) })
|
|
4319
|
+
]
|
|
4320
|
+
}
|
|
4321
|
+
),
|
|
4322
|
+
J && /* @__PURE__ */ C.jsxs(
|
|
4323
|
+
Pt,
|
|
4324
|
+
{
|
|
4325
|
+
open: j,
|
|
4326
|
+
onClose: () => !g && w(!1),
|
|
4327
|
+
fullWidth: !0,
|
|
4328
|
+
maxWidth: "xs",
|
|
4329
|
+
children: [
|
|
4330
|
+
/* @__PURE__ */ C.jsxs(
|
|
4331
|
+
It,
|
|
4332
|
+
{
|
|
4333
|
+
sx: {
|
|
4334
|
+
borderBottom: 2,
|
|
4335
|
+
borderColor: "divider",
|
|
4336
|
+
display: "flex",
|
|
4337
|
+
alignItems: "center",
|
|
4338
|
+
justifyContent: "space-between"
|
|
4339
|
+
},
|
|
4340
|
+
children: [
|
|
4341
|
+
b,
|
|
4342
|
+
/* @__PURE__ */ C.jsx(
|
|
4343
|
+
ke,
|
|
4344
|
+
{
|
|
4345
|
+
size: "small",
|
|
4346
|
+
onClick: () => w(!1),
|
|
4347
|
+
disabled: g,
|
|
4348
|
+
"aria-label": "Close",
|
|
4349
|
+
children: /* @__PURE__ */ C.jsx(at, { fontSize: "small" })
|
|
4350
|
+
}
|
|
4351
|
+
)
|
|
4352
|
+
]
|
|
4353
|
+
}
|
|
4354
|
+
),
|
|
4355
|
+
/* @__PURE__ */ C.jsxs(jt, { sx: { padding: 0 }, children: [
|
|
4356
|
+
/* @__PURE__ */ C.jsx(be, { sx: { p: 2 }, children: /* @__PURE__ */ C.jsx(ce, { children: c }) }),
|
|
4357
|
+
/* @__PURE__ */ C.jsxs(
|
|
4358
|
+
et,
|
|
4359
|
+
{
|
|
4360
|
+
direction: "row",
|
|
4361
|
+
spacing: 2,
|
|
4362
|
+
sx: {
|
|
4363
|
+
justifyContent: "flex-end",
|
|
4364
|
+
borderTop: 2,
|
|
4365
|
+
borderColor: "divider",
|
|
4366
|
+
p: 2
|
|
4367
|
+
},
|
|
4368
|
+
children: [
|
|
4369
|
+
/* @__PURE__ */ C.jsx(
|
|
4370
|
+
Qt,
|
|
4371
|
+
{
|
|
4372
|
+
variant: "outlined",
|
|
4373
|
+
color: "inherit",
|
|
4374
|
+
onClick: () => w(!1),
|
|
4375
|
+
disabled: g,
|
|
4376
|
+
children: "Cancel"
|
|
4377
|
+
}
|
|
4378
|
+
),
|
|
4379
|
+
/* @__PURE__ */ C.jsx(
|
|
4380
|
+
Qt,
|
|
4381
|
+
{
|
|
4382
|
+
onClick: ie,
|
|
4383
|
+
color: "error",
|
|
4384
|
+
variant: "contained",
|
|
4385
|
+
disabled: g,
|
|
4386
|
+
children: g ? "Deleting…" : b
|
|
4387
|
+
}
|
|
4388
|
+
)
|
|
4389
|
+
]
|
|
4390
|
+
}
|
|
4391
|
+
)
|
|
4392
|
+
] })
|
|
4393
|
+
]
|
|
4394
|
+
}
|
|
4395
|
+
)
|
|
4396
|
+
] });
|
|
4397
|
+
}
|
|
4398
|
+
const xa = He(/* @__PURE__ */ C.jsx("path", {
|
|
4399
|
+
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
4400
|
+
}), "Add");
|
|
4401
|
+
function $a({
|
|
4402
|
+
items: e,
|
|
4403
|
+
renderItem: t,
|
|
4404
|
+
getItemKey: r,
|
|
4405
|
+
margin: n = 8,
|
|
4406
|
+
spacing: o = 2,
|
|
4407
|
+
gridSize: i = { xs: 12, sm: 6, md: 4 },
|
|
4408
|
+
onAddNewItem: a,
|
|
4409
|
+
addNewItemForm: l,
|
|
4410
|
+
addNewItemLabel: d = "Add New Item",
|
|
4411
|
+
loading: p = !1,
|
|
4412
|
+
skeletonCount: h = 6,
|
|
4413
|
+
skeletonWidth: y = 500,
|
|
4414
|
+
skeletonHeight: v = 450
|
|
4415
|
+
}) {
|
|
4416
|
+
const [u, b] = Pe(!1), c = !!(a && l), x = {
|
|
4417
|
+
xs: i.xs,
|
|
4418
|
+
sm: i.sm ? Math.max(1, Math.floor(i.sm / 2)) : void 0,
|
|
4419
|
+
md: i.md ? Math.max(1, Math.floor(i.md / 2)) : void 0,
|
|
4420
|
+
lg: i.lg ? Math.max(1, Math.floor(i.lg / 2)) : void 0
|
|
4421
|
+
}, P = async (I) => {
|
|
4422
|
+
a && (await a(I), b(!1));
|
|
4423
|
+
};
|
|
4424
|
+
return /* @__PURE__ */ C.jsxs(be, { sx: { margin: n }, children: [
|
|
4425
|
+
/* @__PURE__ */ C.jsxs(Xe, { container: !0, spacing: o, sx: { width: "100%" }, children: [
|
|
4426
|
+
p ? Array.from({ length: h }).map((I, j) => /* @__PURE__ */ C.jsx(Xe, { size: i, children: /* @__PURE__ */ C.jsx(
|
|
4427
|
+
hn,
|
|
298
4428
|
{
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
4429
|
+
variant: "rounded",
|
|
4430
|
+
animation: "wave",
|
|
4431
|
+
height: v,
|
|
4432
|
+
sx: {
|
|
4433
|
+
width: "100%",
|
|
4434
|
+
maxWidth: y,
|
|
4435
|
+
mx: "auto",
|
|
4436
|
+
borderRadius: 4
|
|
4437
|
+
}
|
|
303
4438
|
}
|
|
304
|
-
)
|
|
305
|
-
|
|
4439
|
+
) }, `skeleton-${j}`)) : e.map((I) => /* @__PURE__ */ C.jsx(Xe, { size: i, children: t(I) }, r(I))),
|
|
4440
|
+
!p && c && /* @__PURE__ */ C.jsx(Xe, { size: x, children: /* @__PURE__ */ C.jsx(
|
|
4441
|
+
be,
|
|
4442
|
+
{
|
|
4443
|
+
sx: {
|
|
4444
|
+
height: "100%",
|
|
4445
|
+
minHeight: 160,
|
|
4446
|
+
display: "flex",
|
|
4447
|
+
alignItems: "center",
|
|
4448
|
+
justifyContent: "center"
|
|
4449
|
+
},
|
|
4450
|
+
children: /* @__PURE__ */ C.jsx(
|
|
4451
|
+
Dr,
|
|
4452
|
+
{
|
|
4453
|
+
variant: "outlined",
|
|
4454
|
+
sx: {
|
|
4455
|
+
width: "100%",
|
|
4456
|
+
height: "50%",
|
|
4457
|
+
minHeight: 80,
|
|
4458
|
+
display: "flex",
|
|
4459
|
+
alignItems: "center",
|
|
4460
|
+
justifyContent: "center",
|
|
4461
|
+
bgcolor: "rgba(0, 0, 0, 0.04)",
|
|
4462
|
+
border: "3px dashed",
|
|
4463
|
+
borderColor: "grey.400",
|
|
4464
|
+
boxShadow: "none",
|
|
4465
|
+
transition: "all 0.2s ease",
|
|
4466
|
+
borderRadius: 4,
|
|
4467
|
+
"&:hover": {
|
|
4468
|
+
bgcolor: "rgba(0, 0, 0, 0.08)",
|
|
4469
|
+
borderColor: "primary.main"
|
|
4470
|
+
}
|
|
4471
|
+
},
|
|
4472
|
+
children: /* @__PURE__ */ C.jsxs(
|
|
4473
|
+
gn,
|
|
4474
|
+
{
|
|
4475
|
+
onClick: () => b(!0),
|
|
4476
|
+
sx: {
|
|
4477
|
+
height: "100%",
|
|
4478
|
+
display: "flex",
|
|
4479
|
+
flexDirection: "column",
|
|
4480
|
+
alignItems: "center",
|
|
4481
|
+
justifyContent: "center",
|
|
4482
|
+
gap: 1,
|
|
4483
|
+
p: 2
|
|
4484
|
+
},
|
|
4485
|
+
children: [
|
|
4486
|
+
/* @__PURE__ */ C.jsx(xa, { fontSize: "large", color: "action" }),
|
|
4487
|
+
/* @__PURE__ */ C.jsx(ce, { color: "text.secondary", children: d })
|
|
4488
|
+
]
|
|
4489
|
+
}
|
|
4490
|
+
)
|
|
4491
|
+
}
|
|
4492
|
+
)
|
|
4493
|
+
}
|
|
4494
|
+
) })
|
|
4495
|
+
] }),
|
|
4496
|
+
c && /* @__PURE__ */ C.jsxs(
|
|
4497
|
+
Pt,
|
|
4498
|
+
{
|
|
4499
|
+
open: u,
|
|
4500
|
+
onClose: () => b(!1),
|
|
4501
|
+
fullWidth: !0,
|
|
4502
|
+
maxWidth: "sm",
|
|
4503
|
+
children: [
|
|
4504
|
+
/* @__PURE__ */ C.jsxs(
|
|
4505
|
+
It,
|
|
4506
|
+
{
|
|
4507
|
+
sx: {
|
|
4508
|
+
borderBottom: 2,
|
|
4509
|
+
borderColor: "divider",
|
|
4510
|
+
display: "flex",
|
|
4511
|
+
alignItems: "center",
|
|
4512
|
+
justifyContent: "space-between"
|
|
4513
|
+
},
|
|
4514
|
+
children: [
|
|
4515
|
+
d,
|
|
4516
|
+
/* @__PURE__ */ C.jsx(
|
|
4517
|
+
ke,
|
|
4518
|
+
{
|
|
4519
|
+
size: "small",
|
|
4520
|
+
onClick: () => b(!1),
|
|
4521
|
+
"aria-label": "Close",
|
|
4522
|
+
children: /* @__PURE__ */ C.jsx(at, { fontSize: "small" })
|
|
4523
|
+
}
|
|
4524
|
+
)
|
|
4525
|
+
]
|
|
4526
|
+
}
|
|
4527
|
+
),
|
|
4528
|
+
/* @__PURE__ */ C.jsx(jt, { sx: { padding: 0 }, children: l({
|
|
4529
|
+
onSubmit: P,
|
|
4530
|
+
onCancel: () => b(!1)
|
|
4531
|
+
}) })
|
|
4532
|
+
]
|
|
4533
|
+
}
|
|
4534
|
+
)
|
|
306
4535
|
] });
|
|
307
4536
|
}
|
|
4537
|
+
const Ea = He(/* @__PURE__ */ C.jsx("path", {
|
|
4538
|
+
d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"
|
|
4539
|
+
}), "CloudUpload"), Ta = (e) => new Promise((t, r) => {
|
|
4540
|
+
const n = new FileReader();
|
|
4541
|
+
n.onload = () => t(n.result), n.onerror = r, n.readAsDataURL(e);
|
|
4542
|
+
});
|
|
4543
|
+
function Ra({
|
|
4544
|
+
label: e = "Image",
|
|
4545
|
+
value: t,
|
|
4546
|
+
onChange: r,
|
|
4547
|
+
error: n,
|
|
4548
|
+
helperText: o,
|
|
4549
|
+
maxSizeMB: i = 5,
|
|
4550
|
+
disabled: a = !1
|
|
4551
|
+
}) {
|
|
4552
|
+
const [l, d] = Pe(!1), [p, h] = Pe(null), y = fn(null), v = Jt(
|
|
4553
|
+
async (g) => {
|
|
4554
|
+
if (h(null), !g.type.startsWith("image/")) {
|
|
4555
|
+
h("Only image files are allowed.");
|
|
4556
|
+
return;
|
|
4557
|
+
}
|
|
4558
|
+
if (g.size > i * 1024 * 1024) {
|
|
4559
|
+
h(`Image must be smaller than ${i}MB.`);
|
|
4560
|
+
return;
|
|
4561
|
+
}
|
|
4562
|
+
try {
|
|
4563
|
+
const _ = await Ta(g);
|
|
4564
|
+
r({
|
|
4565
|
+
base64: _,
|
|
4566
|
+
fileName: g.name,
|
|
4567
|
+
fileType: g.type,
|
|
4568
|
+
fileSize: g.size
|
|
4569
|
+
});
|
|
4570
|
+
} catch {
|
|
4571
|
+
h("Failed to read the image file.");
|
|
4572
|
+
}
|
|
4573
|
+
},
|
|
4574
|
+
[i, r]
|
|
4575
|
+
), u = Jt(
|
|
4576
|
+
(g) => {
|
|
4577
|
+
var B;
|
|
4578
|
+
if (g.preventDefault(), g.stopPropagation(), d(!1), a) return;
|
|
4579
|
+
const _ = (B = g.dataTransfer.files) == null ? void 0 : B[0];
|
|
4580
|
+
_ && v(_);
|
|
4581
|
+
},
|
|
4582
|
+
[a, v]
|
|
4583
|
+
), b = (g) => {
|
|
4584
|
+
g.preventDefault(), g.stopPropagation(), a || d(!0);
|
|
4585
|
+
}, c = (g) => {
|
|
4586
|
+
g.preventDefault(), g.stopPropagation(), d(!1);
|
|
4587
|
+
}, x = (g) => {
|
|
4588
|
+
var B;
|
|
4589
|
+
const _ = (B = g.target.files) == null ? void 0 : B[0];
|
|
4590
|
+
_ && v(_), g.target.value = "";
|
|
4591
|
+
}, P = () => {
|
|
4592
|
+
var g;
|
|
4593
|
+
a || (g = y.current) == null || g.click();
|
|
4594
|
+
}, I = (g) => {
|
|
4595
|
+
g.stopPropagation(), r(null), h(null);
|
|
4596
|
+
}, j = n || !!p, w = p || o;
|
|
4597
|
+
return /* @__PURE__ */ C.jsxs(be, { children: [
|
|
4598
|
+
/* @__PURE__ */ C.jsx(ce, { variant: "subtitle2", sx: { mb: 0.5 }, children: e }),
|
|
4599
|
+
/* @__PURE__ */ C.jsxs(
|
|
4600
|
+
yn,
|
|
4601
|
+
{
|
|
4602
|
+
variant: "outlined",
|
|
4603
|
+
onClick: P,
|
|
4604
|
+
onDrop: u,
|
|
4605
|
+
onDragOver: b,
|
|
4606
|
+
onDragLeave: c,
|
|
4607
|
+
sx: {
|
|
4608
|
+
p: 3,
|
|
4609
|
+
textAlign: "center",
|
|
4610
|
+
cursor: a ? "not-allowed" : "pointer",
|
|
4611
|
+
borderStyle: "dashed",
|
|
4612
|
+
borderWidth: 2,
|
|
4613
|
+
borderColor: j ? "error.main" : l ? "primary.main" : "divider",
|
|
4614
|
+
bgcolor: l ? "action.hover" : "background.paper",
|
|
4615
|
+
opacity: a ? 0.5 : 1,
|
|
4616
|
+
transition: "border-color 0.15s, background-color 0.15s",
|
|
4617
|
+
"&:hover": a ? void 0 : { borderColor: "primary.main", bgcolor: "action.hover" }
|
|
4618
|
+
},
|
|
4619
|
+
children: [
|
|
4620
|
+
/* @__PURE__ */ C.jsx(
|
|
4621
|
+
"input",
|
|
4622
|
+
{
|
|
4623
|
+
ref: y,
|
|
4624
|
+
type: "file",
|
|
4625
|
+
accept: "image/*",
|
|
4626
|
+
hidden: !0,
|
|
4627
|
+
disabled: a,
|
|
4628
|
+
onChange: x
|
|
4629
|
+
}
|
|
4630
|
+
),
|
|
4631
|
+
t ? /* @__PURE__ */ C.jsxs(
|
|
4632
|
+
et,
|
|
4633
|
+
{
|
|
4634
|
+
direction: "row",
|
|
4635
|
+
spacing: 2,
|
|
4636
|
+
sx: { alignItems: "center", justifyContent: "center" },
|
|
4637
|
+
children: [
|
|
4638
|
+
/* @__PURE__ */ C.jsx(
|
|
4639
|
+
bn,
|
|
4640
|
+
{
|
|
4641
|
+
src: t.base64,
|
|
4642
|
+
variant: "rounded",
|
|
4643
|
+
sx: { width: 56, height: 56 }
|
|
4644
|
+
}
|
|
4645
|
+
),
|
|
4646
|
+
/* @__PURE__ */ C.jsxs(be, { sx: { textAlign: "left", minWidth: 0 }, children: [
|
|
4647
|
+
/* @__PURE__ */ C.jsx(ce, { variant: "body2", noWrap: !0, sx: { maxWidth: 220 }, children: t.fileName }),
|
|
4648
|
+
/* @__PURE__ */ C.jsxs(ce, { variant: "caption", color: "text.secondary", children: [
|
|
4649
|
+
(t.fileSize / 1024).toFixed(1),
|
|
4650
|
+
" KB"
|
|
4651
|
+
] })
|
|
4652
|
+
] }),
|
|
4653
|
+
/* @__PURE__ */ C.jsx(ke, { size: "small", onClick: I, disabled: a, children: /* @__PURE__ */ C.jsx(at, { fontSize: "small" }) })
|
|
4654
|
+
]
|
|
4655
|
+
}
|
|
4656
|
+
) : /* @__PURE__ */ C.jsxs(et, { spacing: 1, sx: { alignItems: "center" }, children: [
|
|
4657
|
+
/* @__PURE__ */ C.jsx(Ea, { color: "action" }),
|
|
4658
|
+
/* @__PURE__ */ C.jsx(ce, { variant: "body2", color: "text.secondary", children: "Drag & drop an image here, or click to browse" })
|
|
4659
|
+
] })
|
|
4660
|
+
]
|
|
4661
|
+
}
|
|
4662
|
+
),
|
|
4663
|
+
w && /* @__PURE__ */ C.jsx(vn, { error: j, children: w })
|
|
4664
|
+
] });
|
|
4665
|
+
}
|
|
4666
|
+
const ka = dn(
|
|
4667
|
+
function(t, r) {
|
|
4668
|
+
const { fullWidth: n = !0, label: o, ...i } = t, a = (h) => /* @__PURE__ */ C.jsxs(be, { sx: { width: n ? "100%" : "auto" }, children: [
|
|
4669
|
+
o && /* @__PURE__ */ C.jsxs(
|
|
4670
|
+
ce,
|
|
4671
|
+
{
|
|
4672
|
+
component: "label",
|
|
4673
|
+
variant: "body2",
|
|
4674
|
+
sx: { display: "block", mb: 0.5, fontWeight: 500 },
|
|
4675
|
+
children: [
|
|
4676
|
+
o,
|
|
4677
|
+
i.required && /* @__PURE__ */ C.jsx(
|
|
4678
|
+
ce,
|
|
4679
|
+
{
|
|
4680
|
+
component: "span",
|
|
4681
|
+
sx: { color: "error.main", ml: 0.5 },
|
|
4682
|
+
children: "*"
|
|
4683
|
+
}
|
|
4684
|
+
)
|
|
4685
|
+
]
|
|
4686
|
+
}
|
|
4687
|
+
),
|
|
4688
|
+
h
|
|
4689
|
+
] });
|
|
4690
|
+
if (i.price) {
|
|
4691
|
+
const {
|
|
4692
|
+
price: h,
|
|
4693
|
+
value: y,
|
|
4694
|
+
onChange: v,
|
|
4695
|
+
currencySymbol: u = "$",
|
|
4696
|
+
slotProps: b,
|
|
4697
|
+
...c
|
|
4698
|
+
} = i, x = (P) => {
|
|
4699
|
+
const I = P.target.value;
|
|
4700
|
+
if (I === "") {
|
|
4701
|
+
v(void 0);
|
|
4702
|
+
return;
|
|
4703
|
+
}
|
|
4704
|
+
const j = Number(I);
|
|
4705
|
+
Number.isNaN(j) || v(j);
|
|
4706
|
+
};
|
|
4707
|
+
return a(
|
|
4708
|
+
/* @__PURE__ */ C.jsx(
|
|
4709
|
+
Zt,
|
|
4710
|
+
{
|
|
4711
|
+
...c,
|
|
4712
|
+
ref: r,
|
|
4713
|
+
fullWidth: n,
|
|
4714
|
+
type: "number",
|
|
4715
|
+
value: y ?? "",
|
|
4716
|
+
onChange: x,
|
|
4717
|
+
hiddenLabel: !0,
|
|
4718
|
+
slotProps: {
|
|
4719
|
+
...b,
|
|
4720
|
+
input: {
|
|
4721
|
+
...b == null ? void 0 : b.input,
|
|
4722
|
+
startAdornment: /* @__PURE__ */ C.jsx(Sn, { position: "start", children: u })
|
|
4723
|
+
},
|
|
4724
|
+
htmlInput: { min: 0, step: "0.01", ...b == null ? void 0 : b.htmlInput },
|
|
4725
|
+
formHelperText: { sx: { mx: 0 }, ...b == null ? void 0 : b.formHelperText }
|
|
4726
|
+
}
|
|
4727
|
+
}
|
|
4728
|
+
)
|
|
4729
|
+
);
|
|
4730
|
+
}
|
|
4731
|
+
const { price: l, slotProps: d, ...p } = i;
|
|
4732
|
+
return a(
|
|
4733
|
+
/* @__PURE__ */ C.jsx(
|
|
4734
|
+
Zt,
|
|
4735
|
+
{
|
|
4736
|
+
...p,
|
|
4737
|
+
ref: r,
|
|
4738
|
+
fullWidth: n,
|
|
4739
|
+
hiddenLabel: !0,
|
|
4740
|
+
slotProps: {
|
|
4741
|
+
...d,
|
|
4742
|
+
formHelperText: { sx: { mx: 0 }, ...d == null ? void 0 : d.formHelperText }
|
|
4743
|
+
}
|
|
4744
|
+
}
|
|
4745
|
+
)
|
|
4746
|
+
);
|
|
4747
|
+
}
|
|
4748
|
+
);
|
|
308
4749
|
export {
|
|
309
|
-
|
|
4750
|
+
Ra as ImageField,
|
|
4751
|
+
$a as ItemGrid,
|
|
4752
|
+
Aa as MediaCard,
|
|
4753
|
+
ka as TextField
|
|
310
4754
|
};
|
|
4755
|
+
//# sourceMappingURL=sosk-ui-lib.js.map
|