@movable/ui 0.3.1-import-troubleshooting.0 → 0.3.1-import-troubleshooting.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/lib/components/DemoComponent.d.ts +5 -0
- package/lib/components/index.d.ts +1 -2
- package/lib/index.d.ts +2 -1
- package/lib/index.mjs +2924 -387
- package/lib/index.mjs.map +1 -1
- package/lib/theme.d.ts +128 -0
- package/package.json +1 -1
- package/lib/components/TestComponentNoTypography.d.ts +0 -5
- package/lib/components/TestComponentTypography.d.ts +0 -5
package/lib/index.mjs
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Typography as
|
|
3
|
-
|
|
1
|
+
import ut from "react";
|
|
2
|
+
import { Typography as Ft } from "@mui/material";
|
|
3
|
+
function Nt(e) {
|
|
4
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
|
+
}
|
|
6
|
+
var Er = { exports: {} }, Ye = {};
|
|
4
7
|
/**
|
|
5
8
|
* @license React
|
|
6
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,25 +13,25 @@ var H = { exports: {} }, k = {};
|
|
|
10
13
|
* This source code is licensed under the MIT license found in the
|
|
11
14
|
* LICENSE file in the root directory of this source tree.
|
|
12
15
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
for (
|
|
23
|
-
|
|
24
|
-
if (
|
|
25
|
-
for (
|
|
26
|
-
g
|
|
27
|
-
return { $$typeof:
|
|
16
|
+
var Wr;
|
|
17
|
+
function Bt() {
|
|
18
|
+
if (Wr)
|
|
19
|
+
return Ye;
|
|
20
|
+
Wr = 1;
|
|
21
|
+
var e = ut, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
|
+
function s(l, d, p) {
|
|
23
|
+
var g, b = {}, f = null, T = null;
|
|
24
|
+
p !== void 0 && (f = "" + p), d.key !== void 0 && (f = "" + d.key), d.ref !== void 0 && (T = d.ref);
|
|
25
|
+
for (g in d)
|
|
26
|
+
n.call(d, g) && !a.hasOwnProperty(g) && (b[g] = d[g]);
|
|
27
|
+
if (l && l.defaultProps)
|
|
28
|
+
for (g in d = l.defaultProps, d)
|
|
29
|
+
b[g] === void 0 && (b[g] = d[g]);
|
|
30
|
+
return { $$typeof: r, type: l, key: f, ref: T, props: b, _owner: i.current };
|
|
28
31
|
}
|
|
29
|
-
return
|
|
32
|
+
return Ye.Fragment = o, Ye.jsx = s, Ye.jsxs = s, Ye;
|
|
30
33
|
}
|
|
31
|
-
var
|
|
34
|
+
var Le = {};
|
|
32
35
|
/**
|
|
33
36
|
* @license React
|
|
34
37
|
* react-jsx-runtime.development.js
|
|
@@ -38,91 +41,91 @@ var D = {};
|
|
|
38
41
|
* This source code is licensed under the MIT license found in the
|
|
39
42
|
* LICENSE file in the root directory of this source tree.
|
|
40
43
|
*/
|
|
41
|
-
var
|
|
42
|
-
function
|
|
43
|
-
return
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
if (
|
|
44
|
+
var Ur;
|
|
45
|
+
function Wt() {
|
|
46
|
+
return Ur || (Ur = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
var e = ut, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), O = Symbol.iterator, h = "@@iterator";
|
|
48
|
+
function S(t) {
|
|
49
|
+
if (t === null || typeof t != "object")
|
|
47
50
|
return null;
|
|
48
|
-
var
|
|
49
|
-
return typeof
|
|
51
|
+
var u = O && t[O] || t[h];
|
|
52
|
+
return typeof u == "function" ? u : null;
|
|
50
53
|
}
|
|
51
|
-
var
|
|
52
|
-
function
|
|
54
|
+
var F = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
55
|
+
function G(t) {
|
|
53
56
|
{
|
|
54
|
-
for (var
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
for (var u = arguments.length, m = new Array(u > 1 ? u - 1 : 0), x = 1; x < u; x++)
|
|
58
|
+
m[x - 1] = arguments[x];
|
|
59
|
+
K("error", t, m);
|
|
57
60
|
}
|
|
58
61
|
}
|
|
59
|
-
function
|
|
62
|
+
function K(t, u, m) {
|
|
60
63
|
{
|
|
61
|
-
var
|
|
62
|
-
|
|
63
|
-
var
|
|
64
|
-
return String(
|
|
64
|
+
var x = F.ReactDebugCurrentFrame, N = x.getStackAddendum();
|
|
65
|
+
N !== "" && (u += "%s", m = m.concat([N]));
|
|
66
|
+
var L = m.map(function(M) {
|
|
67
|
+
return String(M);
|
|
65
68
|
});
|
|
66
|
-
|
|
69
|
+
L.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, L);
|
|
67
70
|
}
|
|
68
71
|
}
|
|
69
|
-
var
|
|
70
|
-
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof
|
|
72
|
+
var V = !1, v = !1, he = !1, Ne = !1, Be = !1, we;
|
|
73
|
+
we = Symbol.for("react.module.reference");
|
|
74
|
+
function We(t) {
|
|
75
|
+
return !!(typeof t == "string" || typeof t == "function" || t === n || t === a || Be || t === i || t === p || t === g || Ne || t === T || V || v || he || typeof t == "object" && t !== null && (t.$$typeof === f || t.$$typeof === b || t.$$typeof === s || t.$$typeof === l || t.$$typeof === d || // This needs to include all possible module reference object
|
|
73
76
|
// types supported by any Flight configuration anywhere since
|
|
74
77
|
// we don't know which Flight build this will end up being used
|
|
75
78
|
// with.
|
|
76
|
-
|
|
79
|
+
t.$$typeof === we || t.getModuleId !== void 0));
|
|
77
80
|
}
|
|
78
|
-
function
|
|
79
|
-
var
|
|
80
|
-
if (
|
|
81
|
-
return
|
|
82
|
-
var
|
|
83
|
-
return
|
|
81
|
+
function Ce(t, u, m) {
|
|
82
|
+
var x = t.displayName;
|
|
83
|
+
if (x)
|
|
84
|
+
return x;
|
|
85
|
+
var N = u.displayName || u.name || "";
|
|
86
|
+
return N !== "" ? m + "(" + N + ")" : m;
|
|
84
87
|
}
|
|
85
|
-
function
|
|
86
|
-
return
|
|
88
|
+
function Se(t) {
|
|
89
|
+
return t.displayName || "Context";
|
|
87
90
|
}
|
|
88
|
-
function
|
|
89
|
-
if (
|
|
91
|
+
function ae(t) {
|
|
92
|
+
if (t == null)
|
|
90
93
|
return null;
|
|
91
|
-
if (typeof
|
|
92
|
-
return
|
|
93
|
-
if (typeof
|
|
94
|
-
return
|
|
95
|
-
switch (
|
|
96
|
-
case
|
|
94
|
+
if (typeof t.tag == "number" && G("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
95
|
+
return t.displayName || t.name || null;
|
|
96
|
+
if (typeof t == "string")
|
|
97
|
+
return t;
|
|
98
|
+
switch (t) {
|
|
99
|
+
case n:
|
|
97
100
|
return "Fragment";
|
|
98
|
-
case
|
|
101
|
+
case o:
|
|
99
102
|
return "Portal";
|
|
100
|
-
case
|
|
103
|
+
case a:
|
|
101
104
|
return "Profiler";
|
|
102
|
-
case
|
|
105
|
+
case i:
|
|
103
106
|
return "StrictMode";
|
|
104
|
-
case
|
|
107
|
+
case p:
|
|
105
108
|
return "Suspense";
|
|
106
|
-
case
|
|
109
|
+
case g:
|
|
107
110
|
return "SuspenseList";
|
|
108
111
|
}
|
|
109
|
-
if (typeof
|
|
110
|
-
switch (
|
|
111
|
-
case E:
|
|
112
|
-
var r = e;
|
|
113
|
-
return ee(r) + ".Consumer";
|
|
114
|
-
case w:
|
|
115
|
-
var t = e;
|
|
116
|
-
return ee(t._context) + ".Provider";
|
|
112
|
+
if (typeof t == "object")
|
|
113
|
+
switch (t.$$typeof) {
|
|
117
114
|
case l:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
115
|
+
var u = t;
|
|
116
|
+
return Se(u) + ".Consumer";
|
|
117
|
+
case s:
|
|
118
|
+
var m = t;
|
|
119
|
+
return Se(m._context) + ".Provider";
|
|
120
|
+
case d:
|
|
121
|
+
return Ce(t, t.render, "ForwardRef");
|
|
122
|
+
case b:
|
|
123
|
+
var x = t.displayName || null;
|
|
124
|
+
return x !== null ? x : ae(t.type) || "Memo";
|
|
125
|
+
case f: {
|
|
126
|
+
var N = t, L = N._payload, M = N._init;
|
|
124
127
|
try {
|
|
125
|
-
return
|
|
128
|
+
return ae(M(L));
|
|
126
129
|
} catch {
|
|
127
130
|
return null;
|
|
128
131
|
}
|
|
@@ -130,511 +133,3045 @@ function fr() {
|
|
|
130
133
|
}
|
|
131
134
|
return null;
|
|
132
135
|
}
|
|
133
|
-
var
|
|
134
|
-
function
|
|
136
|
+
var ie = Object.assign, be = 0, se, le, xe, Pe, c, E, P;
|
|
137
|
+
function C() {
|
|
135
138
|
}
|
|
136
|
-
|
|
137
|
-
function
|
|
139
|
+
C.__reactDisabledLog = !0;
|
|
140
|
+
function _() {
|
|
138
141
|
{
|
|
139
|
-
if (
|
|
140
|
-
|
|
141
|
-
var
|
|
142
|
+
if (be === 0) {
|
|
143
|
+
se = console.log, le = console.info, xe = console.warn, Pe = console.error, c = console.group, E = console.groupCollapsed, P = console.groupEnd;
|
|
144
|
+
var t = {
|
|
142
145
|
configurable: !0,
|
|
143
146
|
enumerable: !0,
|
|
144
|
-
value:
|
|
147
|
+
value: C,
|
|
145
148
|
writable: !0
|
|
146
149
|
};
|
|
147
150
|
Object.defineProperties(console, {
|
|
148
|
-
info:
|
|
149
|
-
log:
|
|
150
|
-
warn:
|
|
151
|
-
error:
|
|
152
|
-
group:
|
|
153
|
-
groupCollapsed:
|
|
154
|
-
groupEnd:
|
|
151
|
+
info: t,
|
|
152
|
+
log: t,
|
|
153
|
+
warn: t,
|
|
154
|
+
error: t,
|
|
155
|
+
group: t,
|
|
156
|
+
groupCollapsed: t,
|
|
157
|
+
groupEnd: t
|
|
155
158
|
});
|
|
156
159
|
}
|
|
157
|
-
|
|
160
|
+
be++;
|
|
158
161
|
}
|
|
159
162
|
}
|
|
160
|
-
function
|
|
163
|
+
function I() {
|
|
161
164
|
{
|
|
162
|
-
if (
|
|
163
|
-
var
|
|
165
|
+
if (be--, be === 0) {
|
|
166
|
+
var t = {
|
|
164
167
|
configurable: !0,
|
|
165
168
|
enumerable: !0,
|
|
166
169
|
writable: !0
|
|
167
170
|
};
|
|
168
171
|
Object.defineProperties(console, {
|
|
169
|
-
log:
|
|
170
|
-
value:
|
|
172
|
+
log: ie({}, t, {
|
|
173
|
+
value: se
|
|
171
174
|
}),
|
|
172
|
-
info:
|
|
173
|
-
value:
|
|
175
|
+
info: ie({}, t, {
|
|
176
|
+
value: le
|
|
174
177
|
}),
|
|
175
|
-
warn:
|
|
176
|
-
value:
|
|
178
|
+
warn: ie({}, t, {
|
|
179
|
+
value: xe
|
|
177
180
|
}),
|
|
178
|
-
error:
|
|
179
|
-
value:
|
|
181
|
+
error: ie({}, t, {
|
|
182
|
+
value: Pe
|
|
180
183
|
}),
|
|
181
|
-
group:
|
|
182
|
-
value:
|
|
184
|
+
group: ie({}, t, {
|
|
185
|
+
value: c
|
|
183
186
|
}),
|
|
184
|
-
groupCollapsed:
|
|
185
|
-
value:
|
|
187
|
+
groupCollapsed: ie({}, t, {
|
|
188
|
+
value: E
|
|
186
189
|
}),
|
|
187
|
-
groupEnd:
|
|
188
|
-
value:
|
|
190
|
+
groupEnd: ie({}, t, {
|
|
191
|
+
value: P
|
|
189
192
|
})
|
|
190
193
|
});
|
|
191
194
|
}
|
|
192
|
-
|
|
195
|
+
be < 0 && G("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
196
|
}
|
|
194
197
|
}
|
|
195
|
-
var
|
|
196
|
-
function
|
|
198
|
+
var R = F.ReactCurrentDispatcher, w;
|
|
199
|
+
function A(t, u, m) {
|
|
197
200
|
{
|
|
198
|
-
if (
|
|
201
|
+
if (w === void 0)
|
|
199
202
|
try {
|
|
200
203
|
throw Error();
|
|
201
|
-
} catch (
|
|
202
|
-
var
|
|
203
|
-
|
|
204
|
+
} catch (N) {
|
|
205
|
+
var x = N.stack.trim().match(/\n( *(at )?)/);
|
|
206
|
+
w = x && x[1] || "";
|
|
204
207
|
}
|
|
205
208
|
return `
|
|
206
|
-
` +
|
|
209
|
+
` + w + t;
|
|
207
210
|
}
|
|
208
211
|
}
|
|
209
|
-
var
|
|
212
|
+
var D = !1, $;
|
|
210
213
|
{
|
|
211
|
-
var
|
|
212
|
-
|
|
214
|
+
var ne = typeof WeakMap == "function" ? WeakMap : Map;
|
|
215
|
+
$ = new ne();
|
|
213
216
|
}
|
|
214
|
-
function
|
|
215
|
-
if (!
|
|
217
|
+
function y(t, u) {
|
|
218
|
+
if (!t || D)
|
|
216
219
|
return "";
|
|
217
220
|
{
|
|
218
|
-
var
|
|
219
|
-
if (
|
|
220
|
-
return
|
|
221
|
+
var m = $.get(t);
|
|
222
|
+
if (m !== void 0)
|
|
223
|
+
return m;
|
|
221
224
|
}
|
|
222
|
-
var
|
|
223
|
-
|
|
224
|
-
var
|
|
225
|
+
var x;
|
|
226
|
+
D = !0;
|
|
227
|
+
var N = Error.prepareStackTrace;
|
|
225
228
|
Error.prepareStackTrace = void 0;
|
|
226
|
-
var
|
|
227
|
-
|
|
229
|
+
var L;
|
|
230
|
+
L = R.current, R.current = null, _();
|
|
228
231
|
try {
|
|
229
|
-
if (
|
|
230
|
-
var
|
|
232
|
+
if (u) {
|
|
233
|
+
var M = function() {
|
|
231
234
|
throw Error();
|
|
232
235
|
};
|
|
233
|
-
if (Object.defineProperty(
|
|
236
|
+
if (Object.defineProperty(M.prototype, "props", {
|
|
234
237
|
set: function() {
|
|
235
238
|
throw Error();
|
|
236
239
|
}
|
|
237
240
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
241
|
try {
|
|
239
|
-
Reflect.construct(
|
|
240
|
-
} catch (
|
|
241
|
-
|
|
242
|
+
Reflect.construct(M, []);
|
|
243
|
+
} catch (ve) {
|
|
244
|
+
x = ve;
|
|
242
245
|
}
|
|
243
|
-
Reflect.construct(
|
|
246
|
+
Reflect.construct(t, [], M);
|
|
244
247
|
} else {
|
|
245
248
|
try {
|
|
246
|
-
|
|
247
|
-
} catch (
|
|
248
|
-
|
|
249
|
+
M.call();
|
|
250
|
+
} catch (ve) {
|
|
251
|
+
x = ve;
|
|
249
252
|
}
|
|
250
|
-
|
|
253
|
+
t.call(M.prototype);
|
|
251
254
|
}
|
|
252
255
|
} else {
|
|
253
256
|
try {
|
|
254
257
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
|
|
258
|
+
} catch (ve) {
|
|
259
|
+
x = ve;
|
|
257
260
|
}
|
|
258
|
-
|
|
259
|
-
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var
|
|
263
|
-
`),
|
|
264
|
-
`),
|
|
265
|
-
|
|
266
|
-
for (;
|
|
267
|
-
if (
|
|
268
|
-
if (
|
|
261
|
+
t();
|
|
262
|
+
}
|
|
263
|
+
} catch (ve) {
|
|
264
|
+
if (ve && x && typeof ve.stack == "string") {
|
|
265
|
+
for (var k = ve.stack.split(`
|
|
266
|
+
`), oe = x.stack.split(`
|
|
267
|
+
`), J = k.length - 1, Z = oe.length - 1; J >= 1 && Z >= 0 && k[J] !== oe[Z]; )
|
|
268
|
+
Z--;
|
|
269
|
+
for (; J >= 1 && Z >= 0; J--, Z--)
|
|
270
|
+
if (k[J] !== oe[Z]) {
|
|
271
|
+
if (J !== 1 || Z !== 1)
|
|
269
272
|
do
|
|
270
|
-
if (
|
|
271
|
-
var
|
|
272
|
-
` +
|
|
273
|
-
return
|
|
273
|
+
if (J--, Z--, Z < 0 || k[J] !== oe[Z]) {
|
|
274
|
+
var fe = `
|
|
275
|
+
` + k[J].replace(" at new ", " at ");
|
|
276
|
+
return t.displayName && fe.includes("<anonymous>") && (fe = fe.replace("<anonymous>", t.displayName)), typeof t == "function" && $.set(t, fe), fe;
|
|
274
277
|
}
|
|
275
|
-
while (
|
|
278
|
+
while (J >= 1 && Z >= 0);
|
|
276
279
|
break;
|
|
277
280
|
}
|
|
278
281
|
}
|
|
279
282
|
} finally {
|
|
280
|
-
|
|
283
|
+
D = !1, R.current = L, I(), Error.prepareStackTrace = N;
|
|
281
284
|
}
|
|
282
|
-
var
|
|
283
|
-
return typeof
|
|
285
|
+
var ke = t ? t.displayName || t.name : "", Br = ke ? A(ke) : "";
|
|
286
|
+
return typeof t == "function" && $.set(t, Br), Br;
|
|
284
287
|
}
|
|
285
|
-
function
|
|
286
|
-
return
|
|
288
|
+
function ce(t, u, m) {
|
|
289
|
+
return y(t, !1);
|
|
287
290
|
}
|
|
288
|
-
function
|
|
289
|
-
var
|
|
290
|
-
return !!(
|
|
291
|
+
function Ae(t) {
|
|
292
|
+
var u = t.prototype;
|
|
293
|
+
return !!(u && u.isReactComponent);
|
|
291
294
|
}
|
|
292
|
-
function
|
|
293
|
-
if (
|
|
295
|
+
function _e(t, u, m) {
|
|
296
|
+
if (t == null)
|
|
294
297
|
return "";
|
|
295
|
-
if (typeof
|
|
296
|
-
return
|
|
297
|
-
if (typeof
|
|
298
|
-
return
|
|
299
|
-
switch (
|
|
300
|
-
case
|
|
301
|
-
return
|
|
302
|
-
case
|
|
303
|
-
return
|
|
304
|
-
}
|
|
305
|
-
if (typeof
|
|
306
|
-
switch (
|
|
307
|
-
case
|
|
308
|
-
return
|
|
309
|
-
case
|
|
310
|
-
return
|
|
311
|
-
case
|
|
312
|
-
var
|
|
298
|
+
if (typeof t == "function")
|
|
299
|
+
return y(t, Ae(t));
|
|
300
|
+
if (typeof t == "string")
|
|
301
|
+
return A(t);
|
|
302
|
+
switch (t) {
|
|
303
|
+
case p:
|
|
304
|
+
return A("Suspense");
|
|
305
|
+
case g:
|
|
306
|
+
return A("SuspenseList");
|
|
307
|
+
}
|
|
308
|
+
if (typeof t == "object")
|
|
309
|
+
switch (t.$$typeof) {
|
|
310
|
+
case d:
|
|
311
|
+
return ce(t.render);
|
|
312
|
+
case b:
|
|
313
|
+
return _e(t.type, u, m);
|
|
314
|
+
case f: {
|
|
315
|
+
var x = t, N = x._payload, L = x._init;
|
|
313
316
|
try {
|
|
314
|
-
return
|
|
317
|
+
return _e(L(N), u, m);
|
|
315
318
|
} catch {
|
|
316
319
|
}
|
|
317
320
|
}
|
|
318
321
|
}
|
|
319
322
|
return "";
|
|
320
323
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
323
|
-
if (
|
|
324
|
-
var
|
|
325
|
-
|
|
324
|
+
var He = Object.prototype.hasOwnProperty, Cr = {}, Sr = F.ReactDebugCurrentFrame;
|
|
325
|
+
function Je(t) {
|
|
326
|
+
if (t) {
|
|
327
|
+
var u = t._owner, m = _e(t.type, t._source, u ? u.type : null);
|
|
328
|
+
Sr.setExtraStackFrame(m);
|
|
326
329
|
} else
|
|
327
|
-
|
|
330
|
+
Sr.setExtraStackFrame(null);
|
|
328
331
|
}
|
|
329
|
-
function
|
|
332
|
+
function ht(t, u, m, x, N) {
|
|
330
333
|
{
|
|
331
|
-
var
|
|
332
|
-
for (var
|
|
333
|
-
if (
|
|
334
|
-
var
|
|
334
|
+
var L = Function.call.bind(He);
|
|
335
|
+
for (var M in t)
|
|
336
|
+
if (L(t, M)) {
|
|
337
|
+
var k = void 0;
|
|
335
338
|
try {
|
|
336
|
-
if (typeof
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
339
|
+
if (typeof t[M] != "function") {
|
|
340
|
+
var oe = Error((x || "React class") + ": " + m + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
341
|
+
throw oe.name = "Invariant Violation", oe;
|
|
339
342
|
}
|
|
340
|
-
|
|
341
|
-
} catch (
|
|
342
|
-
|
|
343
|
+
k = t[M](u, M, x, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
344
|
+
} catch (J) {
|
|
345
|
+
k = J;
|
|
343
346
|
}
|
|
344
|
-
|
|
347
|
+
k && !(k instanceof Error) && (Je(N), G("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", x || "React class", m, M, typeof k), Je(null)), k instanceof Error && !(k.message in Cr) && (Cr[k.message] = !0, Je(N), G("Failed %s type: %s", m, k.message), Je(null));
|
|
345
348
|
}
|
|
346
349
|
}
|
|
347
350
|
}
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
return
|
|
351
|
+
var bt = Array.isArray;
|
|
352
|
+
function ur(t) {
|
|
353
|
+
return bt(t);
|
|
351
354
|
}
|
|
352
|
-
function
|
|
355
|
+
function vt(t) {
|
|
353
356
|
{
|
|
354
|
-
var
|
|
355
|
-
return
|
|
357
|
+
var u = typeof Symbol == "function" && Symbol.toStringTag, m = u && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
358
|
+
return m;
|
|
356
359
|
}
|
|
357
360
|
}
|
|
358
|
-
function
|
|
361
|
+
function Et(t) {
|
|
359
362
|
try {
|
|
360
|
-
return
|
|
363
|
+
return Pr(t), !1;
|
|
361
364
|
} catch {
|
|
362
365
|
return !0;
|
|
363
366
|
}
|
|
364
367
|
}
|
|
365
|
-
function
|
|
366
|
-
return "" +
|
|
368
|
+
function Pr(t) {
|
|
369
|
+
return "" + t;
|
|
367
370
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
370
|
-
return
|
|
371
|
+
function Ar(t) {
|
|
372
|
+
if (Et(t))
|
|
373
|
+
return G("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", vt(t)), Pr(t);
|
|
371
374
|
}
|
|
372
|
-
var
|
|
375
|
+
var Ue = F.ReactCurrentOwner, Tt = {
|
|
373
376
|
key: !0,
|
|
374
377
|
ref: !0,
|
|
375
378
|
__self: !0,
|
|
376
379
|
__source: !0
|
|
377
|
-
},
|
|
378
|
-
|
|
379
|
-
function
|
|
380
|
-
if (
|
|
381
|
-
var
|
|
382
|
-
if (
|
|
380
|
+
}, $r, kr, cr;
|
|
381
|
+
cr = {};
|
|
382
|
+
function Ot(t) {
|
|
383
|
+
if (He.call(t, "ref")) {
|
|
384
|
+
var u = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
385
|
+
if (u && u.isReactWarning)
|
|
383
386
|
return !1;
|
|
384
387
|
}
|
|
385
|
-
return
|
|
388
|
+
return t.ref !== void 0;
|
|
386
389
|
}
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
389
|
-
var
|
|
390
|
-
if (
|
|
390
|
+
function xt(t) {
|
|
391
|
+
if (He.call(t, "key")) {
|
|
392
|
+
var u = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
393
|
+
if (u && u.isReactWarning)
|
|
391
394
|
return !1;
|
|
392
395
|
}
|
|
393
|
-
return
|
|
396
|
+
return t.key !== void 0;
|
|
394
397
|
}
|
|
395
|
-
function
|
|
396
|
-
if (typeof
|
|
397
|
-
var
|
|
398
|
-
|
|
398
|
+
function _t(t, u) {
|
|
399
|
+
if (typeof t.ref == "string" && Ue.current && u && Ue.current.stateNode !== u) {
|
|
400
|
+
var m = ae(Ue.current.type);
|
|
401
|
+
cr[m] || (G('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', ae(Ue.current.type), t.ref), cr[m] = !0);
|
|
399
402
|
}
|
|
400
403
|
}
|
|
401
|
-
function
|
|
404
|
+
function Rt(t, u) {
|
|
402
405
|
{
|
|
403
|
-
var
|
|
404
|
-
|
|
406
|
+
var m = function() {
|
|
407
|
+
$r || ($r = !0, G("%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://reactjs.org/link/special-props)", u));
|
|
405
408
|
};
|
|
406
|
-
|
|
407
|
-
get:
|
|
409
|
+
m.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
410
|
+
get: m,
|
|
408
411
|
configurable: !0
|
|
409
412
|
});
|
|
410
413
|
}
|
|
411
414
|
}
|
|
412
|
-
function
|
|
415
|
+
function wt(t, u) {
|
|
413
416
|
{
|
|
414
|
-
var
|
|
415
|
-
|
|
417
|
+
var m = function() {
|
|
418
|
+
kr || (kr = !0, G("%s: `ref` 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://reactjs.org/link/special-props)", u));
|
|
416
419
|
};
|
|
417
|
-
|
|
418
|
-
get:
|
|
420
|
+
m.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
421
|
+
get: m,
|
|
419
422
|
configurable: !0
|
|
420
423
|
});
|
|
421
424
|
}
|
|
422
425
|
}
|
|
423
|
-
var
|
|
424
|
-
var
|
|
426
|
+
var Ct = function(t, u, m, x, N, L, M) {
|
|
427
|
+
var k = {
|
|
425
428
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
|
-
$$typeof:
|
|
429
|
+
$$typeof: r,
|
|
427
430
|
// Built-in properties that belong on the element
|
|
428
|
-
type:
|
|
429
|
-
key:
|
|
430
|
-
ref:
|
|
431
|
-
props:
|
|
431
|
+
type: t,
|
|
432
|
+
key: u,
|
|
433
|
+
ref: m,
|
|
434
|
+
props: M,
|
|
432
435
|
// Record the component responsible for creating this element.
|
|
433
|
-
_owner:
|
|
436
|
+
_owner: L
|
|
434
437
|
};
|
|
435
|
-
return
|
|
438
|
+
return k._store = {}, Object.defineProperty(k._store, "validated", {
|
|
436
439
|
configurable: !1,
|
|
437
440
|
enumerable: !1,
|
|
438
441
|
writable: !0,
|
|
439
442
|
value: !1
|
|
440
|
-
}), Object.defineProperty(
|
|
443
|
+
}), Object.defineProperty(k, "_self", {
|
|
441
444
|
configurable: !1,
|
|
442
445
|
enumerable: !1,
|
|
443
446
|
writable: !1,
|
|
444
|
-
value:
|
|
445
|
-
}), Object.defineProperty(
|
|
447
|
+
value: x
|
|
448
|
+
}), Object.defineProperty(k, "_source", {
|
|
446
449
|
configurable: !1,
|
|
447
450
|
enumerable: !1,
|
|
448
451
|
writable: !1,
|
|
449
|
-
value:
|
|
450
|
-
}), Object.freeze && (Object.freeze(
|
|
452
|
+
value: N
|
|
453
|
+
}), Object.freeze && (Object.freeze(k.props), Object.freeze(k)), k;
|
|
451
454
|
};
|
|
452
|
-
function
|
|
455
|
+
function St(t, u, m, x, N) {
|
|
453
456
|
{
|
|
454
|
-
var
|
|
455
|
-
|
|
456
|
-
for (
|
|
457
|
-
|
|
458
|
-
if (
|
|
459
|
-
var
|
|
460
|
-
for (
|
|
461
|
-
|
|
457
|
+
var L, M = {}, k = null, oe = null;
|
|
458
|
+
m !== void 0 && (Ar(m), k = "" + m), xt(u) && (Ar(u.key), k = "" + u.key), Ot(u) && (oe = u.ref, _t(u, N));
|
|
459
|
+
for (L in u)
|
|
460
|
+
He.call(u, L) && !Tt.hasOwnProperty(L) && (M[L] = u[L]);
|
|
461
|
+
if (t && t.defaultProps) {
|
|
462
|
+
var J = t.defaultProps;
|
|
463
|
+
for (L in J)
|
|
464
|
+
M[L] === void 0 && (M[L] = J[L]);
|
|
462
465
|
}
|
|
463
|
-
if (
|
|
464
|
-
var
|
|
465
|
-
|
|
466
|
+
if (k || oe) {
|
|
467
|
+
var Z = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
468
|
+
k && Rt(M, Z), oe && wt(M, Z);
|
|
466
469
|
}
|
|
467
|
-
return
|
|
470
|
+
return Ct(t, k, oe, N, x, Ue.current, M);
|
|
468
471
|
}
|
|
469
472
|
}
|
|
470
|
-
var
|
|
471
|
-
function
|
|
472
|
-
if (
|
|
473
|
-
var
|
|
474
|
-
|
|
473
|
+
var fr = F.ReactCurrentOwner, jr = F.ReactDebugCurrentFrame;
|
|
474
|
+
function $e(t) {
|
|
475
|
+
if (t) {
|
|
476
|
+
var u = t._owner, m = _e(t.type, t._source, u ? u.type : null);
|
|
477
|
+
jr.setExtraStackFrame(m);
|
|
475
478
|
} else
|
|
476
|
-
|
|
479
|
+
jr.setExtraStackFrame(null);
|
|
477
480
|
}
|
|
478
|
-
var
|
|
479
|
-
|
|
480
|
-
function
|
|
481
|
-
return typeof
|
|
481
|
+
var lr;
|
|
482
|
+
lr = !1;
|
|
483
|
+
function dr(t) {
|
|
484
|
+
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
482
485
|
}
|
|
483
|
-
function
|
|
486
|
+
function Ir() {
|
|
484
487
|
{
|
|
485
|
-
if (
|
|
486
|
-
var
|
|
487
|
-
if (
|
|
488
|
+
if (fr.current) {
|
|
489
|
+
var t = ae(fr.current.type);
|
|
490
|
+
if (t)
|
|
488
491
|
return `
|
|
489
492
|
|
|
490
|
-
Check the render method of \`` +
|
|
493
|
+
Check the render method of \`` + t + "`.";
|
|
491
494
|
}
|
|
492
495
|
return "";
|
|
493
496
|
}
|
|
494
497
|
}
|
|
495
|
-
function
|
|
498
|
+
function Pt(t) {
|
|
496
499
|
{
|
|
497
|
-
if (
|
|
498
|
-
var
|
|
500
|
+
if (t !== void 0) {
|
|
501
|
+
var u = t.fileName.replace(/^.*[\\\/]/, ""), m = t.lineNumber;
|
|
499
502
|
return `
|
|
500
503
|
|
|
501
|
-
Check your code at ` +
|
|
504
|
+
Check your code at ` + u + ":" + m + ".";
|
|
502
505
|
}
|
|
503
506
|
return "";
|
|
504
507
|
}
|
|
505
508
|
}
|
|
506
|
-
var
|
|
507
|
-
function
|
|
509
|
+
var Mr = {};
|
|
510
|
+
function At(t) {
|
|
508
511
|
{
|
|
509
|
-
var
|
|
510
|
-
if (!
|
|
511
|
-
var
|
|
512
|
-
|
|
512
|
+
var u = Ir();
|
|
513
|
+
if (!u) {
|
|
514
|
+
var m = typeof t == "string" ? t : t.displayName || t.name;
|
|
515
|
+
m && (u = `
|
|
513
516
|
|
|
514
|
-
Check the top-level render call using <` +
|
|
517
|
+
Check the top-level render call using <` + m + ">.");
|
|
515
518
|
}
|
|
516
|
-
return
|
|
519
|
+
return u;
|
|
517
520
|
}
|
|
518
521
|
}
|
|
519
|
-
function
|
|
522
|
+
function Dr(t, u) {
|
|
520
523
|
{
|
|
521
|
-
if (!
|
|
524
|
+
if (!t._store || t._store.validated || t.key != null)
|
|
522
525
|
return;
|
|
523
|
-
|
|
524
|
-
var
|
|
525
|
-
if (
|
|
526
|
+
t._store.validated = !0;
|
|
527
|
+
var m = At(u);
|
|
528
|
+
if (Mr[m])
|
|
526
529
|
return;
|
|
527
|
-
|
|
528
|
-
var
|
|
529
|
-
|
|
530
|
+
Mr[m] = !0;
|
|
531
|
+
var x = "";
|
|
532
|
+
t && t._owner && t._owner !== fr.current && (x = " It was passed a child from " + ae(t._owner.type) + "."), $e(t), G('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, x), $e(null);
|
|
530
533
|
}
|
|
531
534
|
}
|
|
532
|
-
function
|
|
535
|
+
function Fr(t, u) {
|
|
533
536
|
{
|
|
534
|
-
if (typeof
|
|
537
|
+
if (typeof t != "object")
|
|
535
538
|
return;
|
|
536
|
-
if (
|
|
537
|
-
for (var
|
|
538
|
-
var
|
|
539
|
-
|
|
539
|
+
if (ur(t))
|
|
540
|
+
for (var m = 0; m < t.length; m++) {
|
|
541
|
+
var x = t[m];
|
|
542
|
+
dr(x) && Dr(x, u);
|
|
540
543
|
}
|
|
541
|
-
else if (
|
|
542
|
-
|
|
543
|
-
else if (
|
|
544
|
-
var
|
|
545
|
-
if (typeof
|
|
546
|
-
for (var
|
|
547
|
-
|
|
544
|
+
else if (dr(t))
|
|
545
|
+
t._store && (t._store.validated = !0);
|
|
546
|
+
else if (t) {
|
|
547
|
+
var N = S(t);
|
|
548
|
+
if (typeof N == "function" && N !== t.entries)
|
|
549
|
+
for (var L = N.call(t), M; !(M = L.next()).done; )
|
|
550
|
+
dr(M.value) && Dr(M.value, u);
|
|
548
551
|
}
|
|
549
552
|
}
|
|
550
553
|
}
|
|
551
|
-
function
|
|
554
|
+
function $t(t) {
|
|
552
555
|
{
|
|
553
|
-
var
|
|
554
|
-
if (
|
|
556
|
+
var u = t.type;
|
|
557
|
+
if (u == null || typeof u == "string")
|
|
555
558
|
return;
|
|
556
|
-
var
|
|
557
|
-
if (typeof
|
|
558
|
-
|
|
559
|
-
else if (typeof
|
|
559
|
+
var m;
|
|
560
|
+
if (typeof u == "function")
|
|
561
|
+
m = u.propTypes;
|
|
562
|
+
else if (typeof u == "object" && (u.$$typeof === d || // Note: Memo only checks outer props here.
|
|
560
563
|
// Inner props are checked in the reconciler.
|
|
561
|
-
|
|
562
|
-
|
|
564
|
+
u.$$typeof === b))
|
|
565
|
+
m = u.propTypes;
|
|
563
566
|
else
|
|
564
567
|
return;
|
|
565
|
-
if (
|
|
566
|
-
var
|
|
567
|
-
|
|
568
|
-
} else if (
|
|
569
|
-
|
|
570
|
-
var
|
|
571
|
-
|
|
568
|
+
if (m) {
|
|
569
|
+
var x = ae(u);
|
|
570
|
+
ht(m, t.props, "prop", x, t);
|
|
571
|
+
} else if (u.PropTypes !== void 0 && !lr) {
|
|
572
|
+
lr = !0;
|
|
573
|
+
var N = ae(u);
|
|
574
|
+
G("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", N || "Unknown");
|
|
572
575
|
}
|
|
573
|
-
typeof
|
|
576
|
+
typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && G("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
577
|
}
|
|
575
578
|
}
|
|
576
|
-
function
|
|
579
|
+
function kt(t) {
|
|
577
580
|
{
|
|
578
|
-
for (var
|
|
579
|
-
var
|
|
580
|
-
if (
|
|
581
|
-
|
|
581
|
+
for (var u = Object.keys(t.props), m = 0; m < u.length; m++) {
|
|
582
|
+
var x = u[m];
|
|
583
|
+
if (x !== "children" && x !== "key") {
|
|
584
|
+
$e(t), G("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), $e(null);
|
|
582
585
|
break;
|
|
583
586
|
}
|
|
584
587
|
}
|
|
585
|
-
|
|
588
|
+
t.ref !== null && ($e(t), G("Invalid attribute `ref` supplied to `React.Fragment`."), $e(null));
|
|
586
589
|
}
|
|
587
590
|
}
|
|
588
|
-
function
|
|
591
|
+
function Nr(t, u, m, x, N, L) {
|
|
589
592
|
{
|
|
590
|
-
var
|
|
591
|
-
if (!
|
|
592
|
-
var
|
|
593
|
-
(
|
|
594
|
-
var
|
|
595
|
-
|
|
596
|
-
var
|
|
597
|
-
|
|
598
|
-
}
|
|
599
|
-
var
|
|
600
|
-
if (
|
|
601
|
-
return
|
|
602
|
-
if (
|
|
603
|
-
var
|
|
604
|
-
if (
|
|
605
|
-
if (
|
|
606
|
-
if (
|
|
607
|
-
for (var
|
|
608
|
-
|
|
609
|
-
Object.freeze && Object.freeze(
|
|
593
|
+
var M = We(t);
|
|
594
|
+
if (!M) {
|
|
595
|
+
var k = "";
|
|
596
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (k += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
597
|
+
var oe = Pt(N);
|
|
598
|
+
oe ? k += oe : k += Ir();
|
|
599
|
+
var J;
|
|
600
|
+
t === null ? J = "null" : ur(t) ? J = "array" : t !== void 0 && t.$$typeof === r ? (J = "<" + (ae(t.type) || "Unknown") + " />", k = " Did you accidentally export a JSX literal instead of a component?") : J = typeof t, G("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", J, k);
|
|
601
|
+
}
|
|
602
|
+
var Z = St(t, u, m, N, L);
|
|
603
|
+
if (Z == null)
|
|
604
|
+
return Z;
|
|
605
|
+
if (M) {
|
|
606
|
+
var fe = u.children;
|
|
607
|
+
if (fe !== void 0)
|
|
608
|
+
if (x)
|
|
609
|
+
if (ur(fe)) {
|
|
610
|
+
for (var ke = 0; ke < fe.length; ke++)
|
|
611
|
+
Fr(fe[ke], t);
|
|
612
|
+
Object.freeze && Object.freeze(fe);
|
|
610
613
|
} else
|
|
611
|
-
|
|
614
|
+
G("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
612
615
|
else
|
|
613
|
-
|
|
616
|
+
Fr(fe, t);
|
|
617
|
+
}
|
|
618
|
+
return t === n ? kt(Z) : $t(Z), Z;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
function jt(t, u, m) {
|
|
622
|
+
return Nr(t, u, m, !0);
|
|
623
|
+
}
|
|
624
|
+
function It(t, u, m) {
|
|
625
|
+
return Nr(t, u, m, !1);
|
|
626
|
+
}
|
|
627
|
+
var Mt = It, Dt = jt;
|
|
628
|
+
Le.Fragment = n, Le.jsx = Mt, Le.jsxs = Dt;
|
|
629
|
+
}()), Le;
|
|
630
|
+
}
|
|
631
|
+
process.env.NODE_ENV === "production" ? Er.exports = Bt() : Er.exports = Wt();
|
|
632
|
+
var Ut = Er.exports;
|
|
633
|
+
function Lo({ stringToDisplay: e }) {
|
|
634
|
+
return Ut.jsxs(Ft, { children: ["stringToDisplay prop is: ", e] });
|
|
635
|
+
}
|
|
636
|
+
const Yt = {
|
|
637
|
+
black: "#000",
|
|
638
|
+
white: "#fff"
|
|
639
|
+
}, Ke = Yt, Lt = {
|
|
640
|
+
50: "#ffebee",
|
|
641
|
+
100: "#ffcdd2",
|
|
642
|
+
200: "#ef9a9a",
|
|
643
|
+
300: "#e57373",
|
|
644
|
+
400: "#ef5350",
|
|
645
|
+
500: "#f44336",
|
|
646
|
+
600: "#e53935",
|
|
647
|
+
700: "#d32f2f",
|
|
648
|
+
800: "#c62828",
|
|
649
|
+
900: "#b71c1c",
|
|
650
|
+
A100: "#ff8a80",
|
|
651
|
+
A200: "#ff5252",
|
|
652
|
+
A400: "#ff1744",
|
|
653
|
+
A700: "#d50000"
|
|
654
|
+
}, me = Lt, Gt = {
|
|
655
|
+
50: "#f3e5f5",
|
|
656
|
+
100: "#e1bee7",
|
|
657
|
+
200: "#ce93d8",
|
|
658
|
+
300: "#ba68c8",
|
|
659
|
+
400: "#ab47bc",
|
|
660
|
+
500: "#9c27b0",
|
|
661
|
+
600: "#8e24aa",
|
|
662
|
+
700: "#7b1fa2",
|
|
663
|
+
800: "#6a1b9a",
|
|
664
|
+
900: "#4a148c",
|
|
665
|
+
A100: "#ea80fc",
|
|
666
|
+
A200: "#e040fb",
|
|
667
|
+
A400: "#d500f9",
|
|
668
|
+
A700: "#aa00ff"
|
|
669
|
+
}, ee = Gt, zt = {
|
|
670
|
+
50: "#e8eaf6",
|
|
671
|
+
100: "#c5cae9",
|
|
672
|
+
200: "#9fa8da",
|
|
673
|
+
300: "#7986cb",
|
|
674
|
+
400: "#5c6bc0",
|
|
675
|
+
500: "#3f51b5",
|
|
676
|
+
600: "#3949ab",
|
|
677
|
+
700: "#303f9f",
|
|
678
|
+
800: "#283593",
|
|
679
|
+
900: "#1a237e",
|
|
680
|
+
A100: "#8c9eff",
|
|
681
|
+
A200: "#536dfe",
|
|
682
|
+
A400: "#3d5afe",
|
|
683
|
+
A700: "#304ffe"
|
|
684
|
+
}, de = zt, Kt = {
|
|
685
|
+
50: "#e3f2fd",
|
|
686
|
+
100: "#bbdefb",
|
|
687
|
+
200: "#90caf9",
|
|
688
|
+
300: "#64b5f6",
|
|
689
|
+
400: "#42a5f5",
|
|
690
|
+
500: "#2196f3",
|
|
691
|
+
600: "#1e88e5",
|
|
692
|
+
700: "#1976d2",
|
|
693
|
+
800: "#1565c0",
|
|
694
|
+
900: "#0d47a1",
|
|
695
|
+
A100: "#82b1ff",
|
|
696
|
+
A200: "#448aff",
|
|
697
|
+
A400: "#2979ff",
|
|
698
|
+
A700: "#2962ff"
|
|
699
|
+
}, B = Kt, Vt = {
|
|
700
|
+
50: "#e1f5fe",
|
|
701
|
+
100: "#b3e5fc",
|
|
702
|
+
200: "#81d4fa",
|
|
703
|
+
300: "#4fc3f7",
|
|
704
|
+
400: "#29b6f6",
|
|
705
|
+
500: "#03a9f4",
|
|
706
|
+
600: "#039be5",
|
|
707
|
+
700: "#0288d1",
|
|
708
|
+
800: "#0277bd",
|
|
709
|
+
900: "#01579b",
|
|
710
|
+
A100: "#80d8ff",
|
|
711
|
+
A200: "#40c4ff",
|
|
712
|
+
A400: "#00b0ff",
|
|
713
|
+
A700: "#0091ea"
|
|
714
|
+
}, te = Vt, qt = {
|
|
715
|
+
50: "#e8f5e9",
|
|
716
|
+
100: "#c8e6c9",
|
|
717
|
+
200: "#a5d6a7",
|
|
718
|
+
300: "#81c784",
|
|
719
|
+
400: "#66bb6a",
|
|
720
|
+
500: "#4caf50",
|
|
721
|
+
600: "#43a047",
|
|
722
|
+
700: "#388e3c",
|
|
723
|
+
800: "#2e7d32",
|
|
724
|
+
900: "#1b5e20",
|
|
725
|
+
A100: "#b9f6ca",
|
|
726
|
+
A200: "#69f0ae",
|
|
727
|
+
A400: "#00e676",
|
|
728
|
+
A700: "#00c853"
|
|
729
|
+
}, X = qt, Ht = {
|
|
730
|
+
50: "#f1f8e9",
|
|
731
|
+
100: "#dcedc8",
|
|
732
|
+
200: "#c5e1a5",
|
|
733
|
+
300: "#aed581",
|
|
734
|
+
400: "#9ccc65",
|
|
735
|
+
500: "#8bc34a",
|
|
736
|
+
600: "#7cb342",
|
|
737
|
+
700: "#689f38",
|
|
738
|
+
800: "#558b2f",
|
|
739
|
+
900: "#33691e",
|
|
740
|
+
A100: "#ccff90",
|
|
741
|
+
A200: "#b2ff59",
|
|
742
|
+
A400: "#76ff03",
|
|
743
|
+
A700: "#64dd17"
|
|
744
|
+
}, pe = Ht, Jt = {
|
|
745
|
+
50: "#fffde7",
|
|
746
|
+
100: "#fff9c4",
|
|
747
|
+
200: "#fff59d",
|
|
748
|
+
300: "#fff176",
|
|
749
|
+
400: "#ffee58",
|
|
750
|
+
500: "#ffeb3b",
|
|
751
|
+
600: "#fdd835",
|
|
752
|
+
700: "#fbc02d",
|
|
753
|
+
800: "#f9a825",
|
|
754
|
+
900: "#f57f17",
|
|
755
|
+
A100: "#ffff8d",
|
|
756
|
+
A200: "#ffff00",
|
|
757
|
+
A400: "#ffea00",
|
|
758
|
+
A700: "#ffd600"
|
|
759
|
+
}, ge = Jt, Xt = {
|
|
760
|
+
50: "#fff3e0",
|
|
761
|
+
100: "#ffe0b2",
|
|
762
|
+
200: "#ffcc80",
|
|
763
|
+
300: "#ffb74d",
|
|
764
|
+
400: "#ffa726",
|
|
765
|
+
500: "#ff9800",
|
|
766
|
+
600: "#fb8c00",
|
|
767
|
+
700: "#f57c00",
|
|
768
|
+
800: "#ef6c00",
|
|
769
|
+
900: "#e65100",
|
|
770
|
+
A100: "#ffd180",
|
|
771
|
+
A200: "#ffab40",
|
|
772
|
+
A400: "#ff9100",
|
|
773
|
+
A700: "#ff6d00"
|
|
774
|
+
}, Q = Xt, Zt = {
|
|
775
|
+
50: "#fafafa",
|
|
776
|
+
100: "#f5f5f5",
|
|
777
|
+
200: "#eeeeee",
|
|
778
|
+
300: "#e0e0e0",
|
|
779
|
+
400: "#bdbdbd",
|
|
780
|
+
500: "#9e9e9e",
|
|
781
|
+
600: "#757575",
|
|
782
|
+
700: "#616161",
|
|
783
|
+
800: "#424242",
|
|
784
|
+
900: "#212121",
|
|
785
|
+
A100: "#f5f5f5",
|
|
786
|
+
A200: "#eeeeee",
|
|
787
|
+
A400: "#bdbdbd",
|
|
788
|
+
A700: "#616161"
|
|
789
|
+
}, j = Zt;
|
|
790
|
+
function re() {
|
|
791
|
+
return re = Object.assign ? Object.assign.bind() : function(e) {
|
|
792
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
793
|
+
var o = arguments[r];
|
|
794
|
+
for (var n in o)
|
|
795
|
+
Object.prototype.hasOwnProperty.call(o, n) && (e[n] = o[n]);
|
|
796
|
+
}
|
|
797
|
+
return e;
|
|
798
|
+
}, re.apply(this, arguments);
|
|
799
|
+
}
|
|
800
|
+
function Ie(e) {
|
|
801
|
+
return e !== null && typeof e == "object" && e.constructor === Object;
|
|
802
|
+
}
|
|
803
|
+
function ct(e) {
|
|
804
|
+
if (!Ie(e))
|
|
805
|
+
return e;
|
|
806
|
+
const r = {};
|
|
807
|
+
return Object.keys(e).forEach((o) => {
|
|
808
|
+
r[o] = ct(e[o]);
|
|
809
|
+
}), r;
|
|
810
|
+
}
|
|
811
|
+
function Ee(e, r, o = {
|
|
812
|
+
clone: !0
|
|
813
|
+
}) {
|
|
814
|
+
const n = o.clone ? re({}, e) : e;
|
|
815
|
+
return Ie(e) && Ie(r) && Object.keys(r).forEach((i) => {
|
|
816
|
+
i !== "__proto__" && (Ie(r[i]) && i in e && Ie(e[i]) ? n[i] = Ee(e[i], r[i], o) : o.clone ? n[i] = Ie(r[i]) ? ct(r[i]) : r[i] : n[i] = r[i]);
|
|
817
|
+
}), n;
|
|
818
|
+
}
|
|
819
|
+
var Tr = { exports: {} }, Xe = { exports: {} }, W = {};
|
|
820
|
+
/** @license React v16.13.1
|
|
821
|
+
* react-is.production.min.js
|
|
822
|
+
*
|
|
823
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
824
|
+
*
|
|
825
|
+
* This source code is licensed under the MIT license found in the
|
|
826
|
+
* LICENSE file in the root directory of this source tree.
|
|
827
|
+
*/
|
|
828
|
+
var Yr;
|
|
829
|
+
function Qt() {
|
|
830
|
+
if (Yr)
|
|
831
|
+
return W;
|
|
832
|
+
Yr = 1;
|
|
833
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = 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, g = e ? Symbol.for("react.forward_ref") : 60112, b = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, T = e ? Symbol.for("react.memo") : 60115, O = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, F = e ? Symbol.for("react.responder") : 60118, G = e ? Symbol.for("react.scope") : 60119;
|
|
834
|
+
function K(v) {
|
|
835
|
+
if (typeof v == "object" && v !== null) {
|
|
836
|
+
var he = v.$$typeof;
|
|
837
|
+
switch (he) {
|
|
838
|
+
case r:
|
|
839
|
+
switch (v = v.type, v) {
|
|
840
|
+
case d:
|
|
841
|
+
case p:
|
|
842
|
+
case n:
|
|
843
|
+
case a:
|
|
844
|
+
case i:
|
|
845
|
+
case b:
|
|
846
|
+
return v;
|
|
847
|
+
default:
|
|
848
|
+
switch (v = v && v.$$typeof, v) {
|
|
849
|
+
case l:
|
|
850
|
+
case g:
|
|
851
|
+
case O:
|
|
852
|
+
case T:
|
|
853
|
+
case s:
|
|
854
|
+
return v;
|
|
855
|
+
default:
|
|
856
|
+
return he;
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
case o:
|
|
860
|
+
return he;
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
function V(v) {
|
|
865
|
+
return K(v) === p;
|
|
866
|
+
}
|
|
867
|
+
return W.AsyncMode = d, W.ConcurrentMode = p, W.ContextConsumer = l, W.ContextProvider = s, W.Element = r, W.ForwardRef = g, W.Fragment = n, W.Lazy = O, W.Memo = T, W.Portal = o, W.Profiler = a, W.StrictMode = i, W.Suspense = b, W.isAsyncMode = function(v) {
|
|
868
|
+
return V(v) || K(v) === d;
|
|
869
|
+
}, W.isConcurrentMode = V, W.isContextConsumer = function(v) {
|
|
870
|
+
return K(v) === l;
|
|
871
|
+
}, W.isContextProvider = function(v) {
|
|
872
|
+
return K(v) === s;
|
|
873
|
+
}, W.isElement = function(v) {
|
|
874
|
+
return typeof v == "object" && v !== null && v.$$typeof === r;
|
|
875
|
+
}, W.isForwardRef = function(v) {
|
|
876
|
+
return K(v) === g;
|
|
877
|
+
}, W.isFragment = function(v) {
|
|
878
|
+
return K(v) === n;
|
|
879
|
+
}, W.isLazy = function(v) {
|
|
880
|
+
return K(v) === O;
|
|
881
|
+
}, W.isMemo = function(v) {
|
|
882
|
+
return K(v) === T;
|
|
883
|
+
}, W.isPortal = function(v) {
|
|
884
|
+
return K(v) === o;
|
|
885
|
+
}, W.isProfiler = function(v) {
|
|
886
|
+
return K(v) === a;
|
|
887
|
+
}, W.isStrictMode = function(v) {
|
|
888
|
+
return K(v) === i;
|
|
889
|
+
}, W.isSuspense = function(v) {
|
|
890
|
+
return K(v) === b;
|
|
891
|
+
}, W.isValidElementType = function(v) {
|
|
892
|
+
return typeof v == "string" || typeof v == "function" || v === n || v === p || v === a || v === i || v === b || v === f || typeof v == "object" && v !== null && (v.$$typeof === O || v.$$typeof === T || v.$$typeof === s || v.$$typeof === l || v.$$typeof === g || v.$$typeof === S || v.$$typeof === F || v.$$typeof === G || v.$$typeof === h);
|
|
893
|
+
}, W.typeOf = K, W;
|
|
894
|
+
}
|
|
895
|
+
var U = {};
|
|
896
|
+
/** @license React v16.13.1
|
|
897
|
+
* react-is.development.js
|
|
898
|
+
*
|
|
899
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
900
|
+
*
|
|
901
|
+
* This source code is licensed under the MIT license found in the
|
|
902
|
+
* LICENSE file in the root directory of this source tree.
|
|
903
|
+
*/
|
|
904
|
+
var Lr;
|
|
905
|
+
function en() {
|
|
906
|
+
return Lr || (Lr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
907
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = 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, g = e ? Symbol.for("react.forward_ref") : 60112, b = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, T = e ? Symbol.for("react.memo") : 60115, O = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, F = e ? Symbol.for("react.responder") : 60118, G = e ? Symbol.for("react.scope") : 60119;
|
|
908
|
+
function K(y) {
|
|
909
|
+
return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
910
|
+
y === n || y === p || y === a || y === i || y === b || y === f || typeof y == "object" && y !== null && (y.$$typeof === O || y.$$typeof === T || y.$$typeof === s || y.$$typeof === l || y.$$typeof === g || y.$$typeof === S || y.$$typeof === F || y.$$typeof === G || y.$$typeof === h);
|
|
911
|
+
}
|
|
912
|
+
function V(y) {
|
|
913
|
+
if (typeof y == "object" && y !== null) {
|
|
914
|
+
var ce = y.$$typeof;
|
|
915
|
+
switch (ce) {
|
|
916
|
+
case r:
|
|
917
|
+
var Ae = y.type;
|
|
918
|
+
switch (Ae) {
|
|
919
|
+
case d:
|
|
920
|
+
case p:
|
|
921
|
+
case n:
|
|
922
|
+
case a:
|
|
923
|
+
case i:
|
|
924
|
+
case b:
|
|
925
|
+
return Ae;
|
|
926
|
+
default:
|
|
927
|
+
var _e = Ae && Ae.$$typeof;
|
|
928
|
+
switch (_e) {
|
|
929
|
+
case l:
|
|
930
|
+
case g:
|
|
931
|
+
case O:
|
|
932
|
+
case T:
|
|
933
|
+
case s:
|
|
934
|
+
return _e;
|
|
935
|
+
default:
|
|
936
|
+
return ce;
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
case o:
|
|
940
|
+
return ce;
|
|
614
941
|
}
|
|
615
|
-
return e === R ? tr(f) : rr(f), f;
|
|
616
942
|
}
|
|
617
943
|
}
|
|
618
|
-
|
|
619
|
-
|
|
944
|
+
var v = d, he = p, Ne = l, Be = s, we = r, We = g, Ce = n, Se = O, ae = T, ie = o, be = a, se = i, le = b, xe = !1;
|
|
945
|
+
function Pe(y) {
|
|
946
|
+
return xe || (xe = !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.")), c(y) || V(y) === d;
|
|
947
|
+
}
|
|
948
|
+
function c(y) {
|
|
949
|
+
return V(y) === p;
|
|
950
|
+
}
|
|
951
|
+
function E(y) {
|
|
952
|
+
return V(y) === l;
|
|
953
|
+
}
|
|
954
|
+
function P(y) {
|
|
955
|
+
return V(y) === s;
|
|
956
|
+
}
|
|
957
|
+
function C(y) {
|
|
958
|
+
return typeof y == "object" && y !== null && y.$$typeof === r;
|
|
620
959
|
}
|
|
621
|
-
function
|
|
622
|
-
return
|
|
960
|
+
function _(y) {
|
|
961
|
+
return V(y) === g;
|
|
623
962
|
}
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
963
|
+
function I(y) {
|
|
964
|
+
return V(y) === n;
|
|
965
|
+
}
|
|
966
|
+
function R(y) {
|
|
967
|
+
return V(y) === O;
|
|
968
|
+
}
|
|
969
|
+
function w(y) {
|
|
970
|
+
return V(y) === T;
|
|
971
|
+
}
|
|
972
|
+
function A(y) {
|
|
973
|
+
return V(y) === o;
|
|
974
|
+
}
|
|
975
|
+
function D(y) {
|
|
976
|
+
return V(y) === a;
|
|
977
|
+
}
|
|
978
|
+
function $(y) {
|
|
979
|
+
return V(y) === i;
|
|
980
|
+
}
|
|
981
|
+
function ne(y) {
|
|
982
|
+
return V(y) === b;
|
|
983
|
+
}
|
|
984
|
+
U.AsyncMode = v, U.ConcurrentMode = he, U.ContextConsumer = Ne, U.ContextProvider = Be, U.Element = we, U.ForwardRef = We, U.Fragment = Ce, U.Lazy = Se, U.Memo = ae, U.Portal = ie, U.Profiler = be, U.StrictMode = se, U.Suspense = le, U.isAsyncMode = Pe, U.isConcurrentMode = c, U.isContextConsumer = E, U.isContextProvider = P, U.isElement = C, U.isForwardRef = _, U.isFragment = I, U.isLazy = R, U.isMemo = w, U.isPortal = A, U.isProfiler = D, U.isStrictMode = $, U.isSuspense = ne, U.isValidElementType = K, U.typeOf = V;
|
|
985
|
+
}()), U;
|
|
627
986
|
}
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
987
|
+
var Gr;
|
|
988
|
+
function ft() {
|
|
989
|
+
return Gr || (Gr = 1, process.env.NODE_ENV === "production" ? Xe.exports = Qt() : Xe.exports = en()), Xe.exports;
|
|
990
|
+
}
|
|
991
|
+
/*
|
|
992
|
+
object-assign
|
|
993
|
+
(c) Sindre Sorhus
|
|
994
|
+
@license MIT
|
|
995
|
+
*/
|
|
996
|
+
var pr, zr;
|
|
997
|
+
function rn() {
|
|
998
|
+
if (zr)
|
|
999
|
+
return pr;
|
|
1000
|
+
zr = 1;
|
|
1001
|
+
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
1002
|
+
function n(a) {
|
|
1003
|
+
if (a == null)
|
|
1004
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
1005
|
+
return Object(a);
|
|
1006
|
+
}
|
|
1007
|
+
function i() {
|
|
1008
|
+
try {
|
|
1009
|
+
if (!Object.assign)
|
|
1010
|
+
return !1;
|
|
1011
|
+
var a = new String("abc");
|
|
1012
|
+
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
1013
|
+
return !1;
|
|
1014
|
+
for (var s = {}, l = 0; l < 10; l++)
|
|
1015
|
+
s["_" + String.fromCharCode(l)] = l;
|
|
1016
|
+
var d = Object.getOwnPropertyNames(s).map(function(g) {
|
|
1017
|
+
return s[g];
|
|
1018
|
+
});
|
|
1019
|
+
if (d.join("") !== "0123456789")
|
|
1020
|
+
return !1;
|
|
1021
|
+
var p = {};
|
|
1022
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(g) {
|
|
1023
|
+
p[g] = g;
|
|
1024
|
+
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
|
|
1025
|
+
} catch {
|
|
1026
|
+
return !1;
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
return pr = i() ? Object.assign : function(a, s) {
|
|
1030
|
+
for (var l, d = n(a), p, g = 1; g < arguments.length; g++) {
|
|
1031
|
+
l = Object(arguments[g]);
|
|
1032
|
+
for (var b in l)
|
|
1033
|
+
r.call(l, b) && (d[b] = l[b]);
|
|
1034
|
+
if (e) {
|
|
1035
|
+
p = e(l);
|
|
1036
|
+
for (var f = 0; f < p.length; f++)
|
|
1037
|
+
o.call(l, p[f]) && (d[p[f]] = l[p[f]]);
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
return d;
|
|
1041
|
+
}, pr;
|
|
1042
|
+
}
|
|
1043
|
+
var gr, Kr;
|
|
1044
|
+
function Or() {
|
|
1045
|
+
if (Kr)
|
|
1046
|
+
return gr;
|
|
1047
|
+
Kr = 1;
|
|
1048
|
+
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
1049
|
+
return gr = e, gr;
|
|
1050
|
+
}
|
|
1051
|
+
var mr, Vr;
|
|
1052
|
+
function lt() {
|
|
1053
|
+
return Vr || (Vr = 1, mr = Function.call.bind(Object.prototype.hasOwnProperty)), mr;
|
|
1054
|
+
}
|
|
1055
|
+
var yr, qr;
|
|
1056
|
+
function tn() {
|
|
1057
|
+
if (qr)
|
|
1058
|
+
return yr;
|
|
1059
|
+
qr = 1;
|
|
1060
|
+
var e = function() {
|
|
1061
|
+
};
|
|
1062
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1063
|
+
var r = Or(), o = {}, n = lt();
|
|
1064
|
+
e = function(a) {
|
|
1065
|
+
var s = "Warning: " + a;
|
|
1066
|
+
typeof console < "u" && console.error(s);
|
|
1067
|
+
try {
|
|
1068
|
+
throw new Error(s);
|
|
1069
|
+
} catch {
|
|
1070
|
+
}
|
|
1071
|
+
};
|
|
1072
|
+
}
|
|
1073
|
+
function i(a, s, l, d, p) {
|
|
1074
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1075
|
+
for (var g in a)
|
|
1076
|
+
if (n(a, g)) {
|
|
1077
|
+
var b;
|
|
1078
|
+
try {
|
|
1079
|
+
if (typeof a[g] != "function") {
|
|
1080
|
+
var f = Error(
|
|
1081
|
+
(d || "React class") + ": " + l + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
1082
|
+
);
|
|
1083
|
+
throw f.name = "Invariant Violation", f;
|
|
1084
|
+
}
|
|
1085
|
+
b = a[g](s, g, d, l, null, r);
|
|
1086
|
+
} catch (O) {
|
|
1087
|
+
b = O;
|
|
1088
|
+
}
|
|
1089
|
+
if (b && !(b instanceof Error) && e(
|
|
1090
|
+
(d || "React class") + ": type specification of " + l + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof b + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1091
|
+
), b instanceof Error && !(b.message in o)) {
|
|
1092
|
+
o[b.message] = !0;
|
|
1093
|
+
var T = p ? p() : "";
|
|
1094
|
+
e(
|
|
1095
|
+
"Failed " + l + " type: " + b.message + (T ?? "")
|
|
1096
|
+
);
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
return i.resetWarningCache = function() {
|
|
1102
|
+
process.env.NODE_ENV !== "production" && (o = {});
|
|
1103
|
+
}, yr = i, yr;
|
|
632
1104
|
}
|
|
633
|
-
|
|
634
|
-
|
|
1105
|
+
var hr, Hr;
|
|
1106
|
+
function nn() {
|
|
1107
|
+
if (Hr)
|
|
1108
|
+
return hr;
|
|
1109
|
+
Hr = 1;
|
|
1110
|
+
var e = ft(), r = rn(), o = Or(), n = lt(), i = tn(), a = function() {
|
|
1111
|
+
};
|
|
1112
|
+
process.env.NODE_ENV !== "production" && (a = function(l) {
|
|
1113
|
+
var d = "Warning: " + l;
|
|
1114
|
+
typeof console < "u" && console.error(d);
|
|
1115
|
+
try {
|
|
1116
|
+
throw new Error(d);
|
|
1117
|
+
} catch {
|
|
1118
|
+
}
|
|
1119
|
+
});
|
|
1120
|
+
function s() {
|
|
1121
|
+
return null;
|
|
1122
|
+
}
|
|
1123
|
+
return hr = function(l, d) {
|
|
1124
|
+
var p = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
|
|
1125
|
+
function b(c) {
|
|
1126
|
+
var E = c && (p && c[p] || c[g]);
|
|
1127
|
+
if (typeof E == "function")
|
|
1128
|
+
return E;
|
|
1129
|
+
}
|
|
1130
|
+
var f = "<<anonymous>>", T = {
|
|
1131
|
+
array: F("array"),
|
|
1132
|
+
bigint: F("bigint"),
|
|
1133
|
+
bool: F("boolean"),
|
|
1134
|
+
func: F("function"),
|
|
1135
|
+
number: F("number"),
|
|
1136
|
+
object: F("object"),
|
|
1137
|
+
string: F("string"),
|
|
1138
|
+
symbol: F("symbol"),
|
|
1139
|
+
any: G(),
|
|
1140
|
+
arrayOf: K,
|
|
1141
|
+
element: V(),
|
|
1142
|
+
elementType: v(),
|
|
1143
|
+
instanceOf: he,
|
|
1144
|
+
node: We(),
|
|
1145
|
+
objectOf: Be,
|
|
1146
|
+
oneOf: Ne,
|
|
1147
|
+
oneOfType: we,
|
|
1148
|
+
shape: Se,
|
|
1149
|
+
exact: ae
|
|
1150
|
+
};
|
|
1151
|
+
function O(c, E) {
|
|
1152
|
+
return c === E ? c !== 0 || 1 / c === 1 / E : c !== c && E !== E;
|
|
1153
|
+
}
|
|
1154
|
+
function h(c, E) {
|
|
1155
|
+
this.message = c, this.data = E && typeof E == "object" ? E : {}, this.stack = "";
|
|
1156
|
+
}
|
|
1157
|
+
h.prototype = Error.prototype;
|
|
1158
|
+
function S(c) {
|
|
1159
|
+
if (process.env.NODE_ENV !== "production")
|
|
1160
|
+
var E = {}, P = 0;
|
|
1161
|
+
function C(I, R, w, A, D, $, ne) {
|
|
1162
|
+
if (A = A || f, $ = $ || w, ne !== o) {
|
|
1163
|
+
if (d) {
|
|
1164
|
+
var y = new Error(
|
|
1165
|
+
"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"
|
|
1166
|
+
);
|
|
1167
|
+
throw y.name = "Invariant Violation", y;
|
|
1168
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1169
|
+
var ce = A + ":" + w;
|
|
1170
|
+
!E[ce] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1171
|
+
P < 3 && (a(
|
|
1172
|
+
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + A + "`. 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."
|
|
1173
|
+
), E[ce] = !0, P++);
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
return R[w] == null ? I ? R[w] === null ? new h("The " + D + " `" + $ + "` is marked as required " + ("in `" + A + "`, but its value is `null`.")) : new h("The " + D + " `" + $ + "` is marked as required in " + ("`" + A + "`, but its value is `undefined`.")) : null : c(R, w, A, D, $);
|
|
1177
|
+
}
|
|
1178
|
+
var _ = C.bind(null, !1);
|
|
1179
|
+
return _.isRequired = C.bind(null, !0), _;
|
|
1180
|
+
}
|
|
1181
|
+
function F(c) {
|
|
1182
|
+
function E(P, C, _, I, R, w) {
|
|
1183
|
+
var A = P[C], D = se(A);
|
|
1184
|
+
if (D !== c) {
|
|
1185
|
+
var $ = le(A);
|
|
1186
|
+
return new h(
|
|
1187
|
+
"Invalid " + I + " `" + R + "` of type " + ("`" + $ + "` supplied to `" + _ + "`, expected ") + ("`" + c + "`."),
|
|
1188
|
+
{ expectedType: c }
|
|
1189
|
+
);
|
|
1190
|
+
}
|
|
1191
|
+
return null;
|
|
1192
|
+
}
|
|
1193
|
+
return S(E);
|
|
1194
|
+
}
|
|
1195
|
+
function G() {
|
|
1196
|
+
return S(s);
|
|
1197
|
+
}
|
|
1198
|
+
function K(c) {
|
|
1199
|
+
function E(P, C, _, I, R) {
|
|
1200
|
+
if (typeof c != "function")
|
|
1201
|
+
return new h("Property `" + R + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
|
|
1202
|
+
var w = P[C];
|
|
1203
|
+
if (!Array.isArray(w)) {
|
|
1204
|
+
var A = se(w);
|
|
1205
|
+
return new h("Invalid " + I + " `" + R + "` of type " + ("`" + A + "` supplied to `" + _ + "`, expected an array."));
|
|
1206
|
+
}
|
|
1207
|
+
for (var D = 0; D < w.length; D++) {
|
|
1208
|
+
var $ = c(w, D, _, I, R + "[" + D + "]", o);
|
|
1209
|
+
if ($ instanceof Error)
|
|
1210
|
+
return $;
|
|
1211
|
+
}
|
|
1212
|
+
return null;
|
|
1213
|
+
}
|
|
1214
|
+
return S(E);
|
|
1215
|
+
}
|
|
1216
|
+
function V() {
|
|
1217
|
+
function c(E, P, C, _, I) {
|
|
1218
|
+
var R = E[P];
|
|
1219
|
+
if (!l(R)) {
|
|
1220
|
+
var w = se(R);
|
|
1221
|
+
return new h("Invalid " + _ + " `" + I + "` of type " + ("`" + w + "` supplied to `" + C + "`, expected a single ReactElement."));
|
|
1222
|
+
}
|
|
1223
|
+
return null;
|
|
1224
|
+
}
|
|
1225
|
+
return S(c);
|
|
1226
|
+
}
|
|
1227
|
+
function v() {
|
|
1228
|
+
function c(E, P, C, _, I) {
|
|
1229
|
+
var R = E[P];
|
|
1230
|
+
if (!e.isValidElementType(R)) {
|
|
1231
|
+
var w = se(R);
|
|
1232
|
+
return new h("Invalid " + _ + " `" + I + "` of type " + ("`" + w + "` supplied to `" + C + "`, expected a single ReactElement type."));
|
|
1233
|
+
}
|
|
1234
|
+
return null;
|
|
1235
|
+
}
|
|
1236
|
+
return S(c);
|
|
1237
|
+
}
|
|
1238
|
+
function he(c) {
|
|
1239
|
+
function E(P, C, _, I, R) {
|
|
1240
|
+
if (!(P[C] instanceof c)) {
|
|
1241
|
+
var w = c.name || f, A = Pe(P[C]);
|
|
1242
|
+
return new h("Invalid " + I + " `" + R + "` of type " + ("`" + A + "` supplied to `" + _ + "`, expected ") + ("instance of `" + w + "`."));
|
|
1243
|
+
}
|
|
1244
|
+
return null;
|
|
1245
|
+
}
|
|
1246
|
+
return S(E);
|
|
1247
|
+
}
|
|
1248
|
+
function Ne(c) {
|
|
1249
|
+
if (!Array.isArray(c))
|
|
1250
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
1251
|
+
"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])."
|
|
1252
|
+
) : a("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
1253
|
+
function E(P, C, _, I, R) {
|
|
1254
|
+
for (var w = P[C], A = 0; A < c.length; A++)
|
|
1255
|
+
if (O(w, c[A]))
|
|
1256
|
+
return null;
|
|
1257
|
+
var D = JSON.stringify(c, function(ne, y) {
|
|
1258
|
+
var ce = le(y);
|
|
1259
|
+
return ce === "symbol" ? String(y) : y;
|
|
1260
|
+
});
|
|
1261
|
+
return new h("Invalid " + I + " `" + R + "` of value `" + String(w) + "` " + ("supplied to `" + _ + "`, expected one of " + D + "."));
|
|
1262
|
+
}
|
|
1263
|
+
return S(E);
|
|
1264
|
+
}
|
|
1265
|
+
function Be(c) {
|
|
1266
|
+
function E(P, C, _, I, R) {
|
|
1267
|
+
if (typeof c != "function")
|
|
1268
|
+
return new h("Property `" + R + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
|
|
1269
|
+
var w = P[C], A = se(w);
|
|
1270
|
+
if (A !== "object")
|
|
1271
|
+
return new h("Invalid " + I + " `" + R + "` of type " + ("`" + A + "` supplied to `" + _ + "`, expected an object."));
|
|
1272
|
+
for (var D in w)
|
|
1273
|
+
if (n(w, D)) {
|
|
1274
|
+
var $ = c(w, D, _, I, R + "." + D, o);
|
|
1275
|
+
if ($ instanceof Error)
|
|
1276
|
+
return $;
|
|
1277
|
+
}
|
|
1278
|
+
return null;
|
|
1279
|
+
}
|
|
1280
|
+
return S(E);
|
|
1281
|
+
}
|
|
1282
|
+
function we(c) {
|
|
1283
|
+
if (!Array.isArray(c))
|
|
1284
|
+
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
1285
|
+
for (var E = 0; E < c.length; E++) {
|
|
1286
|
+
var P = c[E];
|
|
1287
|
+
if (typeof P != "function")
|
|
1288
|
+
return a(
|
|
1289
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + xe(P) + " at index " + E + "."
|
|
1290
|
+
), s;
|
|
1291
|
+
}
|
|
1292
|
+
function C(_, I, R, w, A) {
|
|
1293
|
+
for (var D = [], $ = 0; $ < c.length; $++) {
|
|
1294
|
+
var ne = c[$], y = ne(_, I, R, w, A, o);
|
|
1295
|
+
if (y == null)
|
|
1296
|
+
return null;
|
|
1297
|
+
y.data && n(y.data, "expectedType") && D.push(y.data.expectedType);
|
|
1298
|
+
}
|
|
1299
|
+
var ce = D.length > 0 ? ", expected one of type [" + D.join(", ") + "]" : "";
|
|
1300
|
+
return new h("Invalid " + w + " `" + A + "` supplied to " + ("`" + R + "`" + ce + "."));
|
|
1301
|
+
}
|
|
1302
|
+
return S(C);
|
|
1303
|
+
}
|
|
1304
|
+
function We() {
|
|
1305
|
+
function c(E, P, C, _, I) {
|
|
1306
|
+
return ie(E[P]) ? null : new h("Invalid " + _ + " `" + I + "` supplied to " + ("`" + C + "`, expected a ReactNode."));
|
|
1307
|
+
}
|
|
1308
|
+
return S(c);
|
|
1309
|
+
}
|
|
1310
|
+
function Ce(c, E, P, C, _) {
|
|
1311
|
+
return new h(
|
|
1312
|
+
(c || "React class") + ": " + E + " type `" + P + "." + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
|
|
1313
|
+
);
|
|
1314
|
+
}
|
|
1315
|
+
function Se(c) {
|
|
1316
|
+
function E(P, C, _, I, R) {
|
|
1317
|
+
var w = P[C], A = se(w);
|
|
1318
|
+
if (A !== "object")
|
|
1319
|
+
return new h("Invalid " + I + " `" + R + "` of type `" + A + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
1320
|
+
for (var D in c) {
|
|
1321
|
+
var $ = c[D];
|
|
1322
|
+
if (typeof $ != "function")
|
|
1323
|
+
return Ce(_, I, R, D, le($));
|
|
1324
|
+
var ne = $(w, D, _, I, R + "." + D, o);
|
|
1325
|
+
if (ne)
|
|
1326
|
+
return ne;
|
|
1327
|
+
}
|
|
1328
|
+
return null;
|
|
1329
|
+
}
|
|
1330
|
+
return S(E);
|
|
1331
|
+
}
|
|
1332
|
+
function ae(c) {
|
|
1333
|
+
function E(P, C, _, I, R) {
|
|
1334
|
+
var w = P[C], A = se(w);
|
|
1335
|
+
if (A !== "object")
|
|
1336
|
+
return new h("Invalid " + I + " `" + R + "` of type `" + A + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
1337
|
+
var D = r({}, P[C], c);
|
|
1338
|
+
for (var $ in D) {
|
|
1339
|
+
var ne = c[$];
|
|
1340
|
+
if (n(c, $) && typeof ne != "function")
|
|
1341
|
+
return Ce(_, I, R, $, le(ne));
|
|
1342
|
+
if (!ne)
|
|
1343
|
+
return new h(
|
|
1344
|
+
"Invalid " + I + " `" + R + "` key `" + $ + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(P[C], null, " ") + `
|
|
1345
|
+
Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
1346
|
+
);
|
|
1347
|
+
var y = ne(w, $, _, I, R + "." + $, o);
|
|
1348
|
+
if (y)
|
|
1349
|
+
return y;
|
|
1350
|
+
}
|
|
1351
|
+
return null;
|
|
1352
|
+
}
|
|
1353
|
+
return S(E);
|
|
1354
|
+
}
|
|
1355
|
+
function ie(c) {
|
|
1356
|
+
switch (typeof c) {
|
|
1357
|
+
case "number":
|
|
1358
|
+
case "string":
|
|
1359
|
+
case "undefined":
|
|
1360
|
+
return !0;
|
|
1361
|
+
case "boolean":
|
|
1362
|
+
return !c;
|
|
1363
|
+
case "object":
|
|
1364
|
+
if (Array.isArray(c))
|
|
1365
|
+
return c.every(ie);
|
|
1366
|
+
if (c === null || l(c))
|
|
1367
|
+
return !0;
|
|
1368
|
+
var E = b(c);
|
|
1369
|
+
if (E) {
|
|
1370
|
+
var P = E.call(c), C;
|
|
1371
|
+
if (E !== c.entries) {
|
|
1372
|
+
for (; !(C = P.next()).done; )
|
|
1373
|
+
if (!ie(C.value))
|
|
1374
|
+
return !1;
|
|
1375
|
+
} else
|
|
1376
|
+
for (; !(C = P.next()).done; ) {
|
|
1377
|
+
var _ = C.value;
|
|
1378
|
+
if (_ && !ie(_[1]))
|
|
1379
|
+
return !1;
|
|
1380
|
+
}
|
|
1381
|
+
} else
|
|
1382
|
+
return !1;
|
|
1383
|
+
return !0;
|
|
1384
|
+
default:
|
|
1385
|
+
return !1;
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
function be(c, E) {
|
|
1389
|
+
return c === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1;
|
|
1390
|
+
}
|
|
1391
|
+
function se(c) {
|
|
1392
|
+
var E = typeof c;
|
|
1393
|
+
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" : be(E, c) ? "symbol" : E;
|
|
1394
|
+
}
|
|
1395
|
+
function le(c) {
|
|
1396
|
+
if (typeof c > "u" || c === null)
|
|
1397
|
+
return "" + c;
|
|
1398
|
+
var E = se(c);
|
|
1399
|
+
if (E === "object") {
|
|
1400
|
+
if (c instanceof Date)
|
|
1401
|
+
return "date";
|
|
1402
|
+
if (c instanceof RegExp)
|
|
1403
|
+
return "regexp";
|
|
1404
|
+
}
|
|
1405
|
+
return E;
|
|
1406
|
+
}
|
|
1407
|
+
function xe(c) {
|
|
1408
|
+
var E = le(c);
|
|
1409
|
+
switch (E) {
|
|
1410
|
+
case "array":
|
|
1411
|
+
case "object":
|
|
1412
|
+
return "an " + E;
|
|
1413
|
+
case "boolean":
|
|
1414
|
+
case "date":
|
|
1415
|
+
case "regexp":
|
|
1416
|
+
return "a " + E;
|
|
1417
|
+
default:
|
|
1418
|
+
return E;
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
function Pe(c) {
|
|
1422
|
+
return !c.constructor || !c.constructor.name ? f : c.constructor.name;
|
|
1423
|
+
}
|
|
1424
|
+
return T.checkPropTypes = i, T.resetWarningCache = i.resetWarningCache, T.PropTypes = T, T;
|
|
1425
|
+
}, hr;
|
|
635
1426
|
}
|
|
1427
|
+
var br, Jr;
|
|
1428
|
+
function on() {
|
|
1429
|
+
if (Jr)
|
|
1430
|
+
return br;
|
|
1431
|
+
Jr = 1;
|
|
1432
|
+
var e = Or();
|
|
1433
|
+
function r() {
|
|
1434
|
+
}
|
|
1435
|
+
function o() {
|
|
1436
|
+
}
|
|
1437
|
+
return o.resetWarningCache = r, br = function() {
|
|
1438
|
+
function n(s, l, d, p, g, b) {
|
|
1439
|
+
if (b !== e) {
|
|
1440
|
+
var f = new Error(
|
|
1441
|
+
"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"
|
|
1442
|
+
);
|
|
1443
|
+
throw f.name = "Invariant Violation", f;
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
n.isRequired = n;
|
|
1447
|
+
function i() {
|
|
1448
|
+
return n;
|
|
1449
|
+
}
|
|
1450
|
+
var a = {
|
|
1451
|
+
array: n,
|
|
1452
|
+
bigint: n,
|
|
1453
|
+
bool: n,
|
|
1454
|
+
func: n,
|
|
1455
|
+
number: n,
|
|
1456
|
+
object: n,
|
|
1457
|
+
string: n,
|
|
1458
|
+
symbol: n,
|
|
1459
|
+
any: n,
|
|
1460
|
+
arrayOf: i,
|
|
1461
|
+
element: n,
|
|
1462
|
+
elementType: n,
|
|
1463
|
+
instanceOf: i,
|
|
1464
|
+
node: n,
|
|
1465
|
+
objectOf: i,
|
|
1466
|
+
oneOf: i,
|
|
1467
|
+
oneOfType: i,
|
|
1468
|
+
shape: i,
|
|
1469
|
+
exact: i,
|
|
1470
|
+
checkPropTypes: o,
|
|
1471
|
+
resetWarningCache: r
|
|
1472
|
+
};
|
|
1473
|
+
return a.PropTypes = a, a;
|
|
1474
|
+
}, br;
|
|
1475
|
+
}
|
|
1476
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1477
|
+
var an = ft(), sn = !0;
|
|
1478
|
+
Tr.exports = nn()(an.isElement, sn);
|
|
1479
|
+
} else
|
|
1480
|
+
Tr.exports = on()();
|
|
1481
|
+
var un = Tr.exports;
|
|
1482
|
+
const Ge = /* @__PURE__ */ Nt(un);
|
|
1483
|
+
function De(e) {
|
|
1484
|
+
let r = "https://mui.com/production-error/?code=" + e;
|
|
1485
|
+
for (let o = 1; o < arguments.length; o += 1)
|
|
1486
|
+
r += "&args[]=" + encodeURIComponent(arguments[o]);
|
|
1487
|
+
return "Minified MUI error #" + e + "; visit " + r + " for the full message.";
|
|
1488
|
+
}
|
|
1489
|
+
function dt(e) {
|
|
1490
|
+
if (typeof e != "string")
|
|
1491
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : De(7));
|
|
1492
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1493
|
+
}
|
|
1494
|
+
const Xr = (e) => e, cn = () => {
|
|
1495
|
+
let e = Xr;
|
|
1496
|
+
return {
|
|
1497
|
+
configure(r) {
|
|
1498
|
+
e = r;
|
|
1499
|
+
},
|
|
1500
|
+
generate(r) {
|
|
1501
|
+
return e(r);
|
|
1502
|
+
},
|
|
1503
|
+
reset() {
|
|
1504
|
+
e = Xr;
|
|
1505
|
+
}
|
|
1506
|
+
};
|
|
1507
|
+
}, fn = cn(), ln = fn, dn = {
|
|
1508
|
+
active: "active",
|
|
1509
|
+
checked: "checked",
|
|
1510
|
+
completed: "completed",
|
|
1511
|
+
disabled: "disabled",
|
|
1512
|
+
error: "error",
|
|
1513
|
+
expanded: "expanded",
|
|
1514
|
+
focused: "focused",
|
|
1515
|
+
focusVisible: "focusVisible",
|
|
1516
|
+
open: "open",
|
|
1517
|
+
readOnly: "readOnly",
|
|
1518
|
+
required: "required",
|
|
1519
|
+
selected: "selected"
|
|
1520
|
+
};
|
|
1521
|
+
function pn(e, r, o = "Mui") {
|
|
1522
|
+
const n = dn[r];
|
|
1523
|
+
return n ? `${o}-${n}` : `${ln.generate(e)}-${r}`;
|
|
1524
|
+
}
|
|
1525
|
+
function Fe(e, r) {
|
|
1526
|
+
if (e == null)
|
|
1527
|
+
return {};
|
|
1528
|
+
var o = {}, n = Object.keys(e), i, a;
|
|
1529
|
+
for (a = 0; a < n.length; a++)
|
|
1530
|
+
i = n[a], !(r.indexOf(i) >= 0) && (o[i] = e[i]);
|
|
1531
|
+
return o;
|
|
1532
|
+
}
|
|
1533
|
+
const gn = ["values", "unit", "step"], mn = (e) => {
|
|
1534
|
+
const r = Object.keys(e).map((o) => ({
|
|
1535
|
+
key: o,
|
|
1536
|
+
val: e[o]
|
|
1537
|
+
})) || [];
|
|
1538
|
+
return r.sort((o, n) => o.val - n.val), r.reduce((o, n) => re({}, o, {
|
|
1539
|
+
[n.key]: n.val
|
|
1540
|
+
}), {});
|
|
1541
|
+
};
|
|
1542
|
+
function yn(e) {
|
|
1543
|
+
const {
|
|
1544
|
+
// The breakpoint **start** at this value.
|
|
1545
|
+
// For instance with the first breakpoint xs: [xs, sm).
|
|
1546
|
+
values: r = {
|
|
1547
|
+
xs: 0,
|
|
1548
|
+
// phone
|
|
1549
|
+
sm: 600,
|
|
1550
|
+
// tablet
|
|
1551
|
+
md: 900,
|
|
1552
|
+
// small laptop
|
|
1553
|
+
lg: 1200,
|
|
1554
|
+
// desktop
|
|
1555
|
+
xl: 1536
|
|
1556
|
+
// large screen
|
|
1557
|
+
},
|
|
1558
|
+
unit: o = "px",
|
|
1559
|
+
step: n = 5
|
|
1560
|
+
} = e, i = Fe(e, gn), a = mn(r), s = Object.keys(a);
|
|
1561
|
+
function l(f) {
|
|
1562
|
+
return `@media (min-width:${typeof r[f] == "number" ? r[f] : f}${o})`;
|
|
1563
|
+
}
|
|
1564
|
+
function d(f) {
|
|
1565
|
+
return `@media (max-width:${(typeof r[f] == "number" ? r[f] : f) - n / 100}${o})`;
|
|
1566
|
+
}
|
|
1567
|
+
function p(f, T) {
|
|
1568
|
+
const O = s.indexOf(T);
|
|
1569
|
+
return `@media (min-width:${typeof r[f] == "number" ? r[f] : f}${o}) and (max-width:${(O !== -1 && typeof r[s[O]] == "number" ? r[s[O]] : T) - n / 100}${o})`;
|
|
1570
|
+
}
|
|
1571
|
+
function g(f) {
|
|
1572
|
+
return s.indexOf(f) + 1 < s.length ? p(f, s[s.indexOf(f) + 1]) : l(f);
|
|
1573
|
+
}
|
|
1574
|
+
function b(f) {
|
|
1575
|
+
const T = s.indexOf(f);
|
|
1576
|
+
return T === 0 ? l(s[1]) : T === s.length - 1 ? d(s[T]) : p(f, s[s.indexOf(f) + 1]).replace("@media", "@media not all and");
|
|
1577
|
+
}
|
|
1578
|
+
return re({
|
|
1579
|
+
keys: s,
|
|
1580
|
+
values: a,
|
|
1581
|
+
up: l,
|
|
1582
|
+
down: d,
|
|
1583
|
+
between: p,
|
|
1584
|
+
only: g,
|
|
1585
|
+
not: b,
|
|
1586
|
+
unit: o
|
|
1587
|
+
}, i);
|
|
1588
|
+
}
|
|
1589
|
+
const hn = {
|
|
1590
|
+
borderRadius: 4
|
|
1591
|
+
}, bn = hn, vn = process.env.NODE_ENV !== "production" ? Ge.oneOfType([Ge.number, Ge.string, Ge.object, Ge.array]) : {}, Oe = vn;
|
|
1592
|
+
function ze(e, r) {
|
|
1593
|
+
return r ? Ee(e, r, {
|
|
1594
|
+
clone: !1
|
|
1595
|
+
// No need to clone deep, it's way faster.
|
|
1596
|
+
}) : e;
|
|
1597
|
+
}
|
|
1598
|
+
const xr = {
|
|
1599
|
+
xs: 0,
|
|
1600
|
+
// phone
|
|
1601
|
+
sm: 600,
|
|
1602
|
+
// tablet
|
|
1603
|
+
md: 900,
|
|
1604
|
+
// small laptop
|
|
1605
|
+
lg: 1200,
|
|
1606
|
+
// desktop
|
|
1607
|
+
xl: 1536
|
|
1608
|
+
// large screen
|
|
1609
|
+
}, Zr = {
|
|
1610
|
+
// Sorted ASC by size. That's important.
|
|
1611
|
+
// It can't be configured as it's used statically for propTypes.
|
|
1612
|
+
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
1613
|
+
up: (e) => `@media (min-width:${xr[e]}px)`
|
|
1614
|
+
};
|
|
1615
|
+
function Te(e, r, o) {
|
|
1616
|
+
const n = e.theme || {};
|
|
1617
|
+
if (Array.isArray(r)) {
|
|
1618
|
+
const a = n.breakpoints || Zr;
|
|
1619
|
+
return r.reduce((s, l, d) => (s[a.up(a.keys[d])] = o(r[d]), s), {});
|
|
1620
|
+
}
|
|
1621
|
+
if (typeof r == "object") {
|
|
1622
|
+
const a = n.breakpoints || Zr;
|
|
1623
|
+
return Object.keys(r).reduce((s, l) => {
|
|
1624
|
+
if (Object.keys(a.values || xr).indexOf(l) !== -1) {
|
|
1625
|
+
const d = a.up(l);
|
|
1626
|
+
s[d] = o(r[l], l);
|
|
1627
|
+
} else {
|
|
1628
|
+
const d = l;
|
|
1629
|
+
s[d] = r[d];
|
|
1630
|
+
}
|
|
1631
|
+
return s;
|
|
1632
|
+
}, {});
|
|
1633
|
+
}
|
|
1634
|
+
return o(r);
|
|
1635
|
+
}
|
|
1636
|
+
function En(e = {}) {
|
|
1637
|
+
var r;
|
|
1638
|
+
return ((r = e.keys) == null ? void 0 : r.reduce((n, i) => {
|
|
1639
|
+
const a = e.up(i);
|
|
1640
|
+
return n[a] = {}, n;
|
|
1641
|
+
}, {})) || {};
|
|
1642
|
+
}
|
|
1643
|
+
function Tn(e, r) {
|
|
1644
|
+
return e.reduce((o, n) => {
|
|
1645
|
+
const i = o[n];
|
|
1646
|
+
return (!i || Object.keys(i).length === 0) && delete o[n], o;
|
|
1647
|
+
}, r);
|
|
1648
|
+
}
|
|
1649
|
+
function Qe(e, r, o = !0) {
|
|
1650
|
+
if (!r || typeof r != "string")
|
|
1651
|
+
return null;
|
|
1652
|
+
if (e && e.vars && o) {
|
|
1653
|
+
const n = `vars.${r}`.split(".").reduce((i, a) => i && i[a] ? i[a] : null, e);
|
|
1654
|
+
if (n != null)
|
|
1655
|
+
return n;
|
|
1656
|
+
}
|
|
1657
|
+
return r.split(".").reduce((n, i) => n && n[i] != null ? n[i] : null, e);
|
|
1658
|
+
}
|
|
1659
|
+
function Ze(e, r, o, n = o) {
|
|
1660
|
+
let i;
|
|
1661
|
+
return typeof e == "function" ? i = e(o) : Array.isArray(e) ? i = e[o] || n : i = Qe(e, o) || n, r && (i = r(i, n, e)), i;
|
|
1662
|
+
}
|
|
1663
|
+
function Y(e) {
|
|
1664
|
+
const {
|
|
1665
|
+
prop: r,
|
|
1666
|
+
cssProperty: o = e.prop,
|
|
1667
|
+
themeKey: n,
|
|
1668
|
+
transform: i
|
|
1669
|
+
} = e, a = (s) => {
|
|
1670
|
+
if (s[r] == null)
|
|
1671
|
+
return null;
|
|
1672
|
+
const l = s[r], d = s.theme, p = Qe(d, n) || {};
|
|
1673
|
+
return Te(s, l, (b) => {
|
|
1674
|
+
let f = Ze(p, i, b);
|
|
1675
|
+
return b === f && typeof b == "string" && (f = Ze(p, i, `${r}${b === "default" ? "" : dt(b)}`, b)), o === !1 ? f : {
|
|
1676
|
+
[o]: f
|
|
1677
|
+
};
|
|
1678
|
+
});
|
|
1679
|
+
};
|
|
1680
|
+
return a.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1681
|
+
[r]: Oe
|
|
1682
|
+
} : {}, a.filterProps = [r], a;
|
|
1683
|
+
}
|
|
1684
|
+
function On(e) {
|
|
1685
|
+
const r = {};
|
|
1686
|
+
return (o) => (r[o] === void 0 && (r[o] = e(o)), r[o]);
|
|
1687
|
+
}
|
|
1688
|
+
const xn = {
|
|
1689
|
+
m: "margin",
|
|
1690
|
+
p: "padding"
|
|
1691
|
+
}, _n = {
|
|
1692
|
+
t: "Top",
|
|
1693
|
+
r: "Right",
|
|
1694
|
+
b: "Bottom",
|
|
1695
|
+
l: "Left",
|
|
1696
|
+
x: ["Left", "Right"],
|
|
1697
|
+
y: ["Top", "Bottom"]
|
|
1698
|
+
}, Qr = {
|
|
1699
|
+
marginX: "mx",
|
|
1700
|
+
marginY: "my",
|
|
1701
|
+
paddingX: "px",
|
|
1702
|
+
paddingY: "py"
|
|
1703
|
+
}, Rn = On((e) => {
|
|
1704
|
+
if (e.length > 2)
|
|
1705
|
+
if (Qr[e])
|
|
1706
|
+
e = Qr[e];
|
|
1707
|
+
else
|
|
1708
|
+
return [e];
|
|
1709
|
+
const [r, o] = e.split(""), n = xn[r], i = _n[o] || "";
|
|
1710
|
+
return Array.isArray(i) ? i.map((a) => n + a) : [n + i];
|
|
1711
|
+
}), er = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], rr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], wn = [...er, ...rr];
|
|
1712
|
+
function Ve(e, r, o, n) {
|
|
1713
|
+
var i;
|
|
1714
|
+
const a = (i = Qe(e, r, !1)) != null ? i : o;
|
|
1715
|
+
return typeof a == "number" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`), a * s) : Array.isArray(a) ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > a.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(a)}.`, `${s} > ${a.length - 1}, you need to add the missing values.`].join(`
|
|
1716
|
+
`)) : console.error([`MUI: The \`theme.${r}\` 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.${r}\` as a number.`].join(`
|
|
1717
|
+
`))), a[s]) : typeof a == "function" ? a : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${a}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
1718
|
+
`)), () => {
|
|
1719
|
+
});
|
|
1720
|
+
}
|
|
1721
|
+
function pt(e) {
|
|
1722
|
+
return Ve(e, "spacing", 8, "spacing");
|
|
1723
|
+
}
|
|
1724
|
+
function qe(e, r) {
|
|
1725
|
+
if (typeof r == "string" || r == null)
|
|
1726
|
+
return r;
|
|
1727
|
+
const o = Math.abs(r), n = e(o);
|
|
1728
|
+
return r >= 0 ? n : typeof n == "number" ? -n : `-${n}`;
|
|
1729
|
+
}
|
|
1730
|
+
function Cn(e, r) {
|
|
1731
|
+
return (o) => e.reduce((n, i) => (n[i] = qe(r, o), n), {});
|
|
1732
|
+
}
|
|
1733
|
+
function Sn(e, r, o, n) {
|
|
1734
|
+
if (r.indexOf(o) === -1)
|
|
1735
|
+
return null;
|
|
1736
|
+
const i = Rn(o), a = Cn(i, n), s = e[o];
|
|
1737
|
+
return Te(e, s, a);
|
|
1738
|
+
}
|
|
1739
|
+
function gt(e, r) {
|
|
1740
|
+
const o = pt(e.theme);
|
|
1741
|
+
return Object.keys(e).map((n) => Sn(e, r, n, o)).reduce(ze, {});
|
|
1742
|
+
}
|
|
1743
|
+
function q(e) {
|
|
1744
|
+
return gt(e, er);
|
|
1745
|
+
}
|
|
1746
|
+
q.propTypes = process.env.NODE_ENV !== "production" ? er.reduce((e, r) => (e[r] = Oe, e), {}) : {};
|
|
1747
|
+
q.filterProps = er;
|
|
1748
|
+
function H(e) {
|
|
1749
|
+
return gt(e, rr);
|
|
1750
|
+
}
|
|
1751
|
+
H.propTypes = process.env.NODE_ENV !== "production" ? rr.reduce((e, r) => (e[r] = Oe, e), {}) : {};
|
|
1752
|
+
H.filterProps = rr;
|
|
1753
|
+
process.env.NODE_ENV !== "production" && wn.reduce((e, r) => (e[r] = Oe, e), {});
|
|
1754
|
+
function Pn(e = 8) {
|
|
1755
|
+
if (e.mui)
|
|
1756
|
+
return e;
|
|
1757
|
+
const r = pt({
|
|
1758
|
+
spacing: e
|
|
1759
|
+
}), o = (...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((a) => {
|
|
1760
|
+
const s = r(a);
|
|
1761
|
+
return typeof s == "number" ? `${s}px` : s;
|
|
1762
|
+
}).join(" "));
|
|
1763
|
+
return o.mui = !0, o;
|
|
1764
|
+
}
|
|
1765
|
+
function tr(...e) {
|
|
1766
|
+
const r = e.reduce((n, i) => (i.filterProps.forEach((a) => {
|
|
1767
|
+
n[a] = i;
|
|
1768
|
+
}), n), {}), o = (n) => Object.keys(n).reduce((i, a) => r[a] ? ze(i, r[a](n)) : i, {});
|
|
1769
|
+
return o.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, i) => Object.assign(n, i.propTypes), {}) : {}, o.filterProps = e.reduce((n, i) => n.concat(i.filterProps), []), o;
|
|
1770
|
+
}
|
|
1771
|
+
function ye(e) {
|
|
1772
|
+
return typeof e != "number" ? e : `${e}px solid`;
|
|
1773
|
+
}
|
|
1774
|
+
const An = Y({
|
|
1775
|
+
prop: "border",
|
|
1776
|
+
themeKey: "borders",
|
|
1777
|
+
transform: ye
|
|
1778
|
+
}), $n = Y({
|
|
1779
|
+
prop: "borderTop",
|
|
1780
|
+
themeKey: "borders",
|
|
1781
|
+
transform: ye
|
|
1782
|
+
}), kn = Y({
|
|
1783
|
+
prop: "borderRight",
|
|
1784
|
+
themeKey: "borders",
|
|
1785
|
+
transform: ye
|
|
1786
|
+
}), jn = Y({
|
|
1787
|
+
prop: "borderBottom",
|
|
1788
|
+
themeKey: "borders",
|
|
1789
|
+
transform: ye
|
|
1790
|
+
}), In = Y({
|
|
1791
|
+
prop: "borderLeft",
|
|
1792
|
+
themeKey: "borders",
|
|
1793
|
+
transform: ye
|
|
1794
|
+
}), Mn = Y({
|
|
1795
|
+
prop: "borderColor",
|
|
1796
|
+
themeKey: "palette"
|
|
1797
|
+
}), Dn = Y({
|
|
1798
|
+
prop: "borderTopColor",
|
|
1799
|
+
themeKey: "palette"
|
|
1800
|
+
}), Fn = Y({
|
|
1801
|
+
prop: "borderRightColor",
|
|
1802
|
+
themeKey: "palette"
|
|
1803
|
+
}), Nn = Y({
|
|
1804
|
+
prop: "borderBottomColor",
|
|
1805
|
+
themeKey: "palette"
|
|
1806
|
+
}), Bn = Y({
|
|
1807
|
+
prop: "borderLeftColor",
|
|
1808
|
+
themeKey: "palette"
|
|
1809
|
+
}), nr = (e) => {
|
|
1810
|
+
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1811
|
+
const r = Ve(e.theme, "shape.borderRadius", 4, "borderRadius"), o = (n) => ({
|
|
1812
|
+
borderRadius: qe(r, n)
|
|
1813
|
+
});
|
|
1814
|
+
return Te(e, e.borderRadius, o);
|
|
1815
|
+
}
|
|
1816
|
+
return null;
|
|
1817
|
+
};
|
|
1818
|
+
nr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1819
|
+
borderRadius: Oe
|
|
1820
|
+
} : {};
|
|
1821
|
+
nr.filterProps = ["borderRadius"];
|
|
1822
|
+
tr(An, $n, kn, jn, In, Mn, Dn, Fn, Nn, Bn, nr);
|
|
1823
|
+
const or = (e) => {
|
|
1824
|
+
if (e.gap !== void 0 && e.gap !== null) {
|
|
1825
|
+
const r = Ve(e.theme, "spacing", 8, "gap"), o = (n) => ({
|
|
1826
|
+
gap: qe(r, n)
|
|
1827
|
+
});
|
|
1828
|
+
return Te(e, e.gap, o);
|
|
1829
|
+
}
|
|
1830
|
+
return null;
|
|
1831
|
+
};
|
|
1832
|
+
or.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1833
|
+
gap: Oe
|
|
1834
|
+
} : {};
|
|
1835
|
+
or.filterProps = ["gap"];
|
|
1836
|
+
const ir = (e) => {
|
|
1837
|
+
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1838
|
+
const r = Ve(e.theme, "spacing", 8, "columnGap"), o = (n) => ({
|
|
1839
|
+
columnGap: qe(r, n)
|
|
1840
|
+
});
|
|
1841
|
+
return Te(e, e.columnGap, o);
|
|
1842
|
+
}
|
|
1843
|
+
return null;
|
|
1844
|
+
};
|
|
1845
|
+
ir.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1846
|
+
columnGap: Oe
|
|
1847
|
+
} : {};
|
|
1848
|
+
ir.filterProps = ["columnGap"];
|
|
1849
|
+
const ar = (e) => {
|
|
1850
|
+
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1851
|
+
const r = Ve(e.theme, "spacing", 8, "rowGap"), o = (n) => ({
|
|
1852
|
+
rowGap: qe(r, n)
|
|
1853
|
+
});
|
|
1854
|
+
return Te(e, e.rowGap, o);
|
|
1855
|
+
}
|
|
1856
|
+
return null;
|
|
1857
|
+
};
|
|
1858
|
+
ar.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1859
|
+
rowGap: Oe
|
|
1860
|
+
} : {};
|
|
1861
|
+
ar.filterProps = ["rowGap"];
|
|
1862
|
+
const Wn = Y({
|
|
1863
|
+
prop: "gridColumn"
|
|
1864
|
+
}), Un = Y({
|
|
1865
|
+
prop: "gridRow"
|
|
1866
|
+
}), Yn = Y({
|
|
1867
|
+
prop: "gridAutoFlow"
|
|
1868
|
+
}), Ln = Y({
|
|
1869
|
+
prop: "gridAutoColumns"
|
|
1870
|
+
}), Gn = Y({
|
|
1871
|
+
prop: "gridAutoRows"
|
|
1872
|
+
}), zn = Y({
|
|
1873
|
+
prop: "gridTemplateColumns"
|
|
1874
|
+
}), Kn = Y({
|
|
1875
|
+
prop: "gridTemplateRows"
|
|
1876
|
+
}), Vn = Y({
|
|
1877
|
+
prop: "gridTemplateAreas"
|
|
1878
|
+
}), qn = Y({
|
|
1879
|
+
prop: "gridArea"
|
|
1880
|
+
});
|
|
1881
|
+
tr(or, ir, ar, Wn, Un, Yn, Ln, Gn, zn, Kn, Vn, qn);
|
|
1882
|
+
function Me(e, r) {
|
|
1883
|
+
return r === "grey" ? r : e;
|
|
1884
|
+
}
|
|
1885
|
+
const Hn = Y({
|
|
1886
|
+
prop: "color",
|
|
1887
|
+
themeKey: "palette",
|
|
1888
|
+
transform: Me
|
|
1889
|
+
}), Jn = Y({
|
|
1890
|
+
prop: "bgcolor",
|
|
1891
|
+
cssProperty: "backgroundColor",
|
|
1892
|
+
themeKey: "palette",
|
|
1893
|
+
transform: Me
|
|
1894
|
+
}), Xn = Y({
|
|
1895
|
+
prop: "backgroundColor",
|
|
1896
|
+
themeKey: "palette",
|
|
1897
|
+
transform: Me
|
|
1898
|
+
});
|
|
1899
|
+
tr(Hn, Jn, Xn);
|
|
1900
|
+
function ue(e) {
|
|
1901
|
+
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1902
|
+
}
|
|
1903
|
+
const Zn = Y({
|
|
1904
|
+
prop: "width",
|
|
1905
|
+
transform: ue
|
|
1906
|
+
}), _r = (e) => {
|
|
1907
|
+
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
1908
|
+
const r = (o) => {
|
|
1909
|
+
var n, i;
|
|
1910
|
+
const a = ((n = e.theme) == null || (n = n.breakpoints) == null || (n = n.values) == null ? void 0 : n[o]) || xr[o];
|
|
1911
|
+
return a ? ((i = e.theme) == null || (i = i.breakpoints) == null ? void 0 : i.unit) !== "px" ? {
|
|
1912
|
+
maxWidth: `${a}${e.theme.breakpoints.unit}`
|
|
1913
|
+
} : {
|
|
1914
|
+
maxWidth: a
|
|
1915
|
+
} : {
|
|
1916
|
+
maxWidth: ue(o)
|
|
1917
|
+
};
|
|
1918
|
+
};
|
|
1919
|
+
return Te(e, e.maxWidth, r);
|
|
1920
|
+
}
|
|
1921
|
+
return null;
|
|
1922
|
+
};
|
|
1923
|
+
_r.filterProps = ["maxWidth"];
|
|
1924
|
+
const Qn = Y({
|
|
1925
|
+
prop: "minWidth",
|
|
1926
|
+
transform: ue
|
|
1927
|
+
}), eo = Y({
|
|
1928
|
+
prop: "height",
|
|
1929
|
+
transform: ue
|
|
1930
|
+
}), ro = Y({
|
|
1931
|
+
prop: "maxHeight",
|
|
1932
|
+
transform: ue
|
|
1933
|
+
}), to = Y({
|
|
1934
|
+
prop: "minHeight",
|
|
1935
|
+
transform: ue
|
|
1936
|
+
});
|
|
1937
|
+
Y({
|
|
1938
|
+
prop: "size",
|
|
1939
|
+
cssProperty: "width",
|
|
1940
|
+
transform: ue
|
|
1941
|
+
});
|
|
1942
|
+
Y({
|
|
1943
|
+
prop: "size",
|
|
1944
|
+
cssProperty: "height",
|
|
1945
|
+
transform: ue
|
|
1946
|
+
});
|
|
1947
|
+
const no = Y({
|
|
1948
|
+
prop: "boxSizing"
|
|
1949
|
+
});
|
|
1950
|
+
tr(Zn, _r, Qn, eo, ro, to, no);
|
|
1951
|
+
const oo = {
|
|
1952
|
+
// borders
|
|
1953
|
+
border: {
|
|
1954
|
+
themeKey: "borders",
|
|
1955
|
+
transform: ye
|
|
1956
|
+
},
|
|
1957
|
+
borderTop: {
|
|
1958
|
+
themeKey: "borders",
|
|
1959
|
+
transform: ye
|
|
1960
|
+
},
|
|
1961
|
+
borderRight: {
|
|
1962
|
+
themeKey: "borders",
|
|
1963
|
+
transform: ye
|
|
1964
|
+
},
|
|
1965
|
+
borderBottom: {
|
|
1966
|
+
themeKey: "borders",
|
|
1967
|
+
transform: ye
|
|
1968
|
+
},
|
|
1969
|
+
borderLeft: {
|
|
1970
|
+
themeKey: "borders",
|
|
1971
|
+
transform: ye
|
|
1972
|
+
},
|
|
1973
|
+
borderColor: {
|
|
1974
|
+
themeKey: "palette"
|
|
1975
|
+
},
|
|
1976
|
+
borderTopColor: {
|
|
1977
|
+
themeKey: "palette"
|
|
1978
|
+
},
|
|
1979
|
+
borderRightColor: {
|
|
1980
|
+
themeKey: "palette"
|
|
1981
|
+
},
|
|
1982
|
+
borderBottomColor: {
|
|
1983
|
+
themeKey: "palette"
|
|
1984
|
+
},
|
|
1985
|
+
borderLeftColor: {
|
|
1986
|
+
themeKey: "palette"
|
|
1987
|
+
},
|
|
1988
|
+
borderRadius: {
|
|
1989
|
+
themeKey: "shape.borderRadius",
|
|
1990
|
+
style: nr
|
|
1991
|
+
},
|
|
1992
|
+
// palette
|
|
1993
|
+
color: {
|
|
1994
|
+
themeKey: "palette",
|
|
1995
|
+
transform: Me
|
|
1996
|
+
},
|
|
1997
|
+
bgcolor: {
|
|
1998
|
+
themeKey: "palette",
|
|
1999
|
+
cssProperty: "backgroundColor",
|
|
2000
|
+
transform: Me
|
|
2001
|
+
},
|
|
2002
|
+
backgroundColor: {
|
|
2003
|
+
themeKey: "palette",
|
|
2004
|
+
transform: Me
|
|
2005
|
+
},
|
|
2006
|
+
// spacing
|
|
2007
|
+
p: {
|
|
2008
|
+
style: H
|
|
2009
|
+
},
|
|
2010
|
+
pt: {
|
|
2011
|
+
style: H
|
|
2012
|
+
},
|
|
2013
|
+
pr: {
|
|
2014
|
+
style: H
|
|
2015
|
+
},
|
|
2016
|
+
pb: {
|
|
2017
|
+
style: H
|
|
2018
|
+
},
|
|
2019
|
+
pl: {
|
|
2020
|
+
style: H
|
|
2021
|
+
},
|
|
2022
|
+
px: {
|
|
2023
|
+
style: H
|
|
2024
|
+
},
|
|
2025
|
+
py: {
|
|
2026
|
+
style: H
|
|
2027
|
+
},
|
|
2028
|
+
padding: {
|
|
2029
|
+
style: H
|
|
2030
|
+
},
|
|
2031
|
+
paddingTop: {
|
|
2032
|
+
style: H
|
|
2033
|
+
},
|
|
2034
|
+
paddingRight: {
|
|
2035
|
+
style: H
|
|
2036
|
+
},
|
|
2037
|
+
paddingBottom: {
|
|
2038
|
+
style: H
|
|
2039
|
+
},
|
|
2040
|
+
paddingLeft: {
|
|
2041
|
+
style: H
|
|
2042
|
+
},
|
|
2043
|
+
paddingX: {
|
|
2044
|
+
style: H
|
|
2045
|
+
},
|
|
2046
|
+
paddingY: {
|
|
2047
|
+
style: H
|
|
2048
|
+
},
|
|
2049
|
+
paddingInline: {
|
|
2050
|
+
style: H
|
|
2051
|
+
},
|
|
2052
|
+
paddingInlineStart: {
|
|
2053
|
+
style: H
|
|
2054
|
+
},
|
|
2055
|
+
paddingInlineEnd: {
|
|
2056
|
+
style: H
|
|
2057
|
+
},
|
|
2058
|
+
paddingBlock: {
|
|
2059
|
+
style: H
|
|
2060
|
+
},
|
|
2061
|
+
paddingBlockStart: {
|
|
2062
|
+
style: H
|
|
2063
|
+
},
|
|
2064
|
+
paddingBlockEnd: {
|
|
2065
|
+
style: H
|
|
2066
|
+
},
|
|
2067
|
+
m: {
|
|
2068
|
+
style: q
|
|
2069
|
+
},
|
|
2070
|
+
mt: {
|
|
2071
|
+
style: q
|
|
2072
|
+
},
|
|
2073
|
+
mr: {
|
|
2074
|
+
style: q
|
|
2075
|
+
},
|
|
2076
|
+
mb: {
|
|
2077
|
+
style: q
|
|
2078
|
+
},
|
|
2079
|
+
ml: {
|
|
2080
|
+
style: q
|
|
2081
|
+
},
|
|
2082
|
+
mx: {
|
|
2083
|
+
style: q
|
|
2084
|
+
},
|
|
2085
|
+
my: {
|
|
2086
|
+
style: q
|
|
2087
|
+
},
|
|
2088
|
+
margin: {
|
|
2089
|
+
style: q
|
|
2090
|
+
},
|
|
2091
|
+
marginTop: {
|
|
2092
|
+
style: q
|
|
2093
|
+
},
|
|
2094
|
+
marginRight: {
|
|
2095
|
+
style: q
|
|
2096
|
+
},
|
|
2097
|
+
marginBottom: {
|
|
2098
|
+
style: q
|
|
2099
|
+
},
|
|
2100
|
+
marginLeft: {
|
|
2101
|
+
style: q
|
|
2102
|
+
},
|
|
2103
|
+
marginX: {
|
|
2104
|
+
style: q
|
|
2105
|
+
},
|
|
2106
|
+
marginY: {
|
|
2107
|
+
style: q
|
|
2108
|
+
},
|
|
2109
|
+
marginInline: {
|
|
2110
|
+
style: q
|
|
2111
|
+
},
|
|
2112
|
+
marginInlineStart: {
|
|
2113
|
+
style: q
|
|
2114
|
+
},
|
|
2115
|
+
marginInlineEnd: {
|
|
2116
|
+
style: q
|
|
2117
|
+
},
|
|
2118
|
+
marginBlock: {
|
|
2119
|
+
style: q
|
|
2120
|
+
},
|
|
2121
|
+
marginBlockStart: {
|
|
2122
|
+
style: q
|
|
2123
|
+
},
|
|
2124
|
+
marginBlockEnd: {
|
|
2125
|
+
style: q
|
|
2126
|
+
},
|
|
2127
|
+
// display
|
|
2128
|
+
displayPrint: {
|
|
2129
|
+
cssProperty: !1,
|
|
2130
|
+
transform: (e) => ({
|
|
2131
|
+
"@media print": {
|
|
2132
|
+
display: e
|
|
2133
|
+
}
|
|
2134
|
+
})
|
|
2135
|
+
},
|
|
2136
|
+
display: {},
|
|
2137
|
+
overflow: {},
|
|
2138
|
+
textOverflow: {},
|
|
2139
|
+
visibility: {},
|
|
2140
|
+
whiteSpace: {},
|
|
2141
|
+
// flexbox
|
|
2142
|
+
flexBasis: {},
|
|
2143
|
+
flexDirection: {},
|
|
2144
|
+
flexWrap: {},
|
|
2145
|
+
justifyContent: {},
|
|
2146
|
+
alignItems: {},
|
|
2147
|
+
alignContent: {},
|
|
2148
|
+
order: {},
|
|
2149
|
+
flex: {},
|
|
2150
|
+
flexGrow: {},
|
|
2151
|
+
flexShrink: {},
|
|
2152
|
+
alignSelf: {},
|
|
2153
|
+
justifyItems: {},
|
|
2154
|
+
justifySelf: {},
|
|
2155
|
+
// grid
|
|
2156
|
+
gap: {
|
|
2157
|
+
style: or
|
|
2158
|
+
},
|
|
2159
|
+
rowGap: {
|
|
2160
|
+
style: ar
|
|
2161
|
+
},
|
|
2162
|
+
columnGap: {
|
|
2163
|
+
style: ir
|
|
2164
|
+
},
|
|
2165
|
+
gridColumn: {},
|
|
2166
|
+
gridRow: {},
|
|
2167
|
+
gridAutoFlow: {},
|
|
2168
|
+
gridAutoColumns: {},
|
|
2169
|
+
gridAutoRows: {},
|
|
2170
|
+
gridTemplateColumns: {},
|
|
2171
|
+
gridTemplateRows: {},
|
|
2172
|
+
gridTemplateAreas: {},
|
|
2173
|
+
gridArea: {},
|
|
2174
|
+
// positions
|
|
2175
|
+
position: {},
|
|
2176
|
+
zIndex: {
|
|
2177
|
+
themeKey: "zIndex"
|
|
2178
|
+
},
|
|
2179
|
+
top: {},
|
|
2180
|
+
right: {},
|
|
2181
|
+
bottom: {},
|
|
2182
|
+
left: {},
|
|
2183
|
+
// shadows
|
|
2184
|
+
boxShadow: {
|
|
2185
|
+
themeKey: "shadows"
|
|
2186
|
+
},
|
|
2187
|
+
// sizing
|
|
2188
|
+
width: {
|
|
2189
|
+
transform: ue
|
|
2190
|
+
},
|
|
2191
|
+
maxWidth: {
|
|
2192
|
+
style: _r
|
|
2193
|
+
},
|
|
2194
|
+
minWidth: {
|
|
2195
|
+
transform: ue
|
|
2196
|
+
},
|
|
2197
|
+
height: {
|
|
2198
|
+
transform: ue
|
|
2199
|
+
},
|
|
2200
|
+
maxHeight: {
|
|
2201
|
+
transform: ue
|
|
2202
|
+
},
|
|
2203
|
+
minHeight: {
|
|
2204
|
+
transform: ue
|
|
2205
|
+
},
|
|
2206
|
+
boxSizing: {},
|
|
2207
|
+
// typography
|
|
2208
|
+
fontFamily: {
|
|
2209
|
+
themeKey: "typography"
|
|
2210
|
+
},
|
|
2211
|
+
fontSize: {
|
|
2212
|
+
themeKey: "typography"
|
|
2213
|
+
},
|
|
2214
|
+
fontStyle: {
|
|
2215
|
+
themeKey: "typography"
|
|
2216
|
+
},
|
|
2217
|
+
fontWeight: {
|
|
2218
|
+
themeKey: "typography"
|
|
2219
|
+
},
|
|
2220
|
+
letterSpacing: {},
|
|
2221
|
+
textTransform: {},
|
|
2222
|
+
lineHeight: {},
|
|
2223
|
+
textAlign: {},
|
|
2224
|
+
typography: {
|
|
2225
|
+
cssProperty: !1,
|
|
2226
|
+
themeKey: "typography"
|
|
2227
|
+
}
|
|
2228
|
+
}, Rr = oo;
|
|
2229
|
+
function io(...e) {
|
|
2230
|
+
const r = e.reduce((n, i) => n.concat(Object.keys(i)), []), o = new Set(r);
|
|
2231
|
+
return e.every((n) => o.size === Object.keys(n).length);
|
|
2232
|
+
}
|
|
2233
|
+
function ao(e, r) {
|
|
2234
|
+
return typeof e == "function" ? e(r) : e;
|
|
2235
|
+
}
|
|
2236
|
+
function so() {
|
|
2237
|
+
function e(o, n, i, a) {
|
|
2238
|
+
const s = {
|
|
2239
|
+
[o]: n,
|
|
2240
|
+
theme: i
|
|
2241
|
+
}, l = a[o];
|
|
2242
|
+
if (!l)
|
|
2243
|
+
return {
|
|
2244
|
+
[o]: n
|
|
2245
|
+
};
|
|
2246
|
+
const {
|
|
2247
|
+
cssProperty: d = o,
|
|
2248
|
+
themeKey: p,
|
|
2249
|
+
transform: g,
|
|
2250
|
+
style: b
|
|
2251
|
+
} = l;
|
|
2252
|
+
if (n == null)
|
|
2253
|
+
return null;
|
|
2254
|
+
if (p === "typography" && n === "inherit")
|
|
2255
|
+
return {
|
|
2256
|
+
[o]: n
|
|
2257
|
+
};
|
|
2258
|
+
const f = Qe(i, p) || {};
|
|
2259
|
+
return b ? b(s) : Te(s, n, (O) => {
|
|
2260
|
+
let h = Ze(f, g, O);
|
|
2261
|
+
return O === h && typeof O == "string" && (h = Ze(f, g, `${o}${O === "default" ? "" : dt(O)}`, O)), d === !1 ? h : {
|
|
2262
|
+
[d]: h
|
|
2263
|
+
};
|
|
2264
|
+
});
|
|
2265
|
+
}
|
|
2266
|
+
function r(o) {
|
|
2267
|
+
var n;
|
|
2268
|
+
const {
|
|
2269
|
+
sx: i,
|
|
2270
|
+
theme: a = {}
|
|
2271
|
+
} = o || {};
|
|
2272
|
+
if (!i)
|
|
2273
|
+
return null;
|
|
2274
|
+
const s = (n = a.unstable_sxConfig) != null ? n : Rr;
|
|
2275
|
+
function l(d) {
|
|
2276
|
+
let p = d;
|
|
2277
|
+
if (typeof d == "function")
|
|
2278
|
+
p = d(a);
|
|
2279
|
+
else if (typeof d != "object")
|
|
2280
|
+
return d;
|
|
2281
|
+
if (!p)
|
|
2282
|
+
return null;
|
|
2283
|
+
const g = En(a.breakpoints), b = Object.keys(g);
|
|
2284
|
+
let f = g;
|
|
2285
|
+
return Object.keys(p).forEach((T) => {
|
|
2286
|
+
const O = ao(p[T], a);
|
|
2287
|
+
if (O != null)
|
|
2288
|
+
if (typeof O == "object")
|
|
2289
|
+
if (s[T])
|
|
2290
|
+
f = ze(f, e(T, O, a, s));
|
|
2291
|
+
else {
|
|
2292
|
+
const h = Te({
|
|
2293
|
+
theme: a
|
|
2294
|
+
}, O, (S) => ({
|
|
2295
|
+
[T]: S
|
|
2296
|
+
}));
|
|
2297
|
+
io(h, O) ? f[T] = r({
|
|
2298
|
+
sx: O,
|
|
2299
|
+
theme: a
|
|
2300
|
+
}) : f = ze(f, h);
|
|
2301
|
+
}
|
|
2302
|
+
else
|
|
2303
|
+
f = ze(f, e(T, O, a, s));
|
|
2304
|
+
}), Tn(b, f);
|
|
2305
|
+
}
|
|
2306
|
+
return Array.isArray(i) ? i.map(l) : l(i);
|
|
2307
|
+
}
|
|
2308
|
+
return r;
|
|
2309
|
+
}
|
|
2310
|
+
const mt = so();
|
|
2311
|
+
mt.filterProps = ["sx"];
|
|
2312
|
+
const yt = mt, uo = ["breakpoints", "palette", "spacing", "shape"];
|
|
2313
|
+
function co(e = {}, ...r) {
|
|
2314
|
+
const {
|
|
2315
|
+
breakpoints: o = {},
|
|
2316
|
+
palette: n = {},
|
|
2317
|
+
spacing: i,
|
|
2318
|
+
shape: a = {}
|
|
2319
|
+
} = e, s = Fe(e, uo), l = yn(o), d = Pn(i);
|
|
2320
|
+
let p = Ee({
|
|
2321
|
+
breakpoints: l,
|
|
2322
|
+
direction: "ltr",
|
|
2323
|
+
components: {},
|
|
2324
|
+
// Inject component definitions.
|
|
2325
|
+
palette: re({
|
|
2326
|
+
mode: "light"
|
|
2327
|
+
}, n),
|
|
2328
|
+
spacing: d,
|
|
2329
|
+
shape: re({}, bn, a)
|
|
2330
|
+
}, s);
|
|
2331
|
+
return p = r.reduce((g, b) => Ee(g, b), p), p.unstable_sxConfig = re({}, Rr, s == null ? void 0 : s.unstable_sxConfig), p.unstable_sx = function(b) {
|
|
2332
|
+
return yt({
|
|
2333
|
+
sx: b,
|
|
2334
|
+
theme: this
|
|
2335
|
+
});
|
|
2336
|
+
}, p;
|
|
2337
|
+
}
|
|
2338
|
+
function wr(e, r = 0, o = 1) {
|
|
2339
|
+
return process.env.NODE_ENV !== "production" && (e < r || e > o) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${o}].`), Math.min(Math.max(r, e), o);
|
|
2340
|
+
}
|
|
2341
|
+
function fo(e) {
|
|
2342
|
+
e = e.slice(1);
|
|
2343
|
+
const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
2344
|
+
let o = e.match(r);
|
|
2345
|
+
return o && o[0].length === 1 && (o = o.map((n) => n + n)), o ? `rgb${o.length === 4 ? "a" : ""}(${o.map((n, i) => i < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
2346
|
+
}
|
|
2347
|
+
function Re(e) {
|
|
2348
|
+
if (e.type)
|
|
2349
|
+
return e;
|
|
2350
|
+
if (e.charAt(0) === "#")
|
|
2351
|
+
return Re(fo(e));
|
|
2352
|
+
const r = e.indexOf("("), o = e.substring(0, r);
|
|
2353
|
+
if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(o) === -1)
|
|
2354
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
2355
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : De(9, e));
|
|
2356
|
+
let n = e.substring(r + 1, e.length - 1), i;
|
|
2357
|
+
if (o === "color") {
|
|
2358
|
+
if (n = n.split(" "), i = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(i) === -1)
|
|
2359
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${i}\` color space.
|
|
2360
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : De(10, i));
|
|
2361
|
+
} else
|
|
2362
|
+
n = n.split(",");
|
|
2363
|
+
return n = n.map((a) => parseFloat(a)), {
|
|
2364
|
+
type: o,
|
|
2365
|
+
values: n,
|
|
2366
|
+
colorSpace: i
|
|
2367
|
+
};
|
|
2368
|
+
}
|
|
2369
|
+
function sr(e) {
|
|
2370
|
+
const {
|
|
2371
|
+
type: r,
|
|
2372
|
+
colorSpace: o
|
|
2373
|
+
} = e;
|
|
2374
|
+
let {
|
|
2375
|
+
values: n
|
|
2376
|
+
} = e;
|
|
2377
|
+
return r.indexOf("rgb") !== -1 ? n = n.map((i, a) => a < 3 ? parseInt(i, 10) : i) : r.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.indexOf("color") !== -1 ? n = `${o} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
|
|
2378
|
+
}
|
|
2379
|
+
function lo(e) {
|
|
2380
|
+
e = Re(e);
|
|
2381
|
+
const {
|
|
2382
|
+
values: r
|
|
2383
|
+
} = e, o = r[0], n = r[1] / 100, i = r[2] / 100, a = n * Math.min(i, 1 - i), s = (p, g = (p + o / 30) % 12) => i - a * Math.max(Math.min(g - 3, 9 - g, 1), -1);
|
|
2384
|
+
let l = "rgb";
|
|
2385
|
+
const d = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
2386
|
+
return e.type === "hsla" && (l += "a", d.push(r[3])), sr({
|
|
2387
|
+
type: l,
|
|
2388
|
+
values: d
|
|
2389
|
+
});
|
|
2390
|
+
}
|
|
2391
|
+
function et(e) {
|
|
2392
|
+
e = Re(e);
|
|
2393
|
+
let r = e.type === "hsl" || e.type === "hsla" ? Re(lo(e)).values : e.values;
|
|
2394
|
+
return r = r.map((o) => (e.type !== "color" && (o /= 255), o <= 0.03928 ? o / 12.92 : ((o + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
|
|
2395
|
+
}
|
|
2396
|
+
function rt(e, r) {
|
|
2397
|
+
const o = et(e), n = et(r);
|
|
2398
|
+
return (Math.max(o, n) + 0.05) / (Math.min(o, n) + 0.05);
|
|
2399
|
+
}
|
|
2400
|
+
function je(e, r) {
|
|
2401
|
+
return e = Re(e), r = wr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, sr(e);
|
|
2402
|
+
}
|
|
2403
|
+
function po(e, r) {
|
|
2404
|
+
if (e = Re(e), r = wr(r), e.type.indexOf("hsl") !== -1)
|
|
2405
|
+
e.values[2] *= 1 - r;
|
|
2406
|
+
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
2407
|
+
for (let o = 0; o < 3; o += 1)
|
|
2408
|
+
e.values[o] *= 1 - r;
|
|
2409
|
+
return sr(e);
|
|
2410
|
+
}
|
|
2411
|
+
function go(e, r) {
|
|
2412
|
+
if (e = Re(e), r = wr(r), e.type.indexOf("hsl") !== -1)
|
|
2413
|
+
e.values[2] += (100 - e.values[2]) * r;
|
|
2414
|
+
else if (e.type.indexOf("rgb") !== -1)
|
|
2415
|
+
for (let o = 0; o < 3; o += 1)
|
|
2416
|
+
e.values[o] += (255 - e.values[o]) * r;
|
|
2417
|
+
else if (e.type.indexOf("color") !== -1)
|
|
2418
|
+
for (let o = 0; o < 3; o += 1)
|
|
2419
|
+
e.values[o] += (1 - e.values[o]) * r;
|
|
2420
|
+
return sr(e);
|
|
2421
|
+
}
|
|
2422
|
+
function mo(e, r) {
|
|
2423
|
+
return re({
|
|
2424
|
+
toolbar: {
|
|
2425
|
+
minHeight: 56,
|
|
2426
|
+
[e.up("xs")]: {
|
|
2427
|
+
"@media (orientation: landscape)": {
|
|
2428
|
+
minHeight: 48
|
|
2429
|
+
}
|
|
2430
|
+
},
|
|
2431
|
+
[e.up("sm")]: {
|
|
2432
|
+
minHeight: 64
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
}, r);
|
|
2436
|
+
}
|
|
2437
|
+
const yo = ["mode", "contrastThreshold", "tonalOffset"], tt = {
|
|
2438
|
+
// The colors used to style the text.
|
|
2439
|
+
text: {
|
|
2440
|
+
// The most important text.
|
|
2441
|
+
primary: "rgba(0, 0, 0, 0.87)",
|
|
2442
|
+
// Secondary text.
|
|
2443
|
+
secondary: "rgba(0, 0, 0, 0.6)",
|
|
2444
|
+
// Disabled text have even lower visual prominence.
|
|
2445
|
+
disabled: "rgba(0, 0, 0, 0.38)"
|
|
2446
|
+
},
|
|
2447
|
+
// The color used to divide different elements.
|
|
2448
|
+
divider: "rgba(0, 0, 0, 0.12)",
|
|
2449
|
+
// The background colors used to style the surfaces.
|
|
2450
|
+
// Consistency between these values is important.
|
|
2451
|
+
background: {
|
|
2452
|
+
paper: Ke.white,
|
|
2453
|
+
default: Ke.white
|
|
2454
|
+
},
|
|
2455
|
+
// The colors used to style the action elements.
|
|
2456
|
+
action: {
|
|
2457
|
+
// The color of an active action like an icon button.
|
|
2458
|
+
active: "rgba(0, 0, 0, 0.54)",
|
|
2459
|
+
// The color of an hovered action.
|
|
2460
|
+
hover: "rgba(0, 0, 0, 0.04)",
|
|
2461
|
+
hoverOpacity: 0.04,
|
|
2462
|
+
// The color of a selected action.
|
|
2463
|
+
selected: "rgba(0, 0, 0, 0.08)",
|
|
2464
|
+
selectedOpacity: 0.08,
|
|
2465
|
+
// The color of a disabled action.
|
|
2466
|
+
disabled: "rgba(0, 0, 0, 0.26)",
|
|
2467
|
+
// The background color of a disabled action.
|
|
2468
|
+
disabledBackground: "rgba(0, 0, 0, 0.12)",
|
|
2469
|
+
disabledOpacity: 0.38,
|
|
2470
|
+
focus: "rgba(0, 0, 0, 0.12)",
|
|
2471
|
+
focusOpacity: 0.12,
|
|
2472
|
+
activatedOpacity: 0.12
|
|
2473
|
+
}
|
|
2474
|
+
}, vr = {
|
|
2475
|
+
text: {
|
|
2476
|
+
primary: Ke.white,
|
|
2477
|
+
secondary: "rgba(255, 255, 255, 0.7)",
|
|
2478
|
+
disabled: "rgba(255, 255, 255, 0.5)",
|
|
2479
|
+
icon: "rgba(255, 255, 255, 0.5)"
|
|
2480
|
+
},
|
|
2481
|
+
divider: "rgba(255, 255, 255, 0.12)",
|
|
2482
|
+
background: {
|
|
2483
|
+
paper: "#121212",
|
|
2484
|
+
default: "#121212"
|
|
2485
|
+
},
|
|
2486
|
+
action: {
|
|
2487
|
+
active: Ke.white,
|
|
2488
|
+
hover: "rgba(255, 255, 255, 0.08)",
|
|
2489
|
+
hoverOpacity: 0.08,
|
|
2490
|
+
selected: "rgba(255, 255, 255, 0.16)",
|
|
2491
|
+
selectedOpacity: 0.16,
|
|
2492
|
+
disabled: "rgba(255, 255, 255, 0.3)",
|
|
2493
|
+
disabledBackground: "rgba(255, 255, 255, 0.12)",
|
|
2494
|
+
disabledOpacity: 0.38,
|
|
2495
|
+
focus: "rgba(255, 255, 255, 0.12)",
|
|
2496
|
+
focusOpacity: 0.12,
|
|
2497
|
+
activatedOpacity: 0.24
|
|
2498
|
+
}
|
|
2499
|
+
};
|
|
2500
|
+
function nt(e, r, o, n) {
|
|
2501
|
+
const i = n.light || n, a = n.dark || n * 1.5;
|
|
2502
|
+
e[r] || (e.hasOwnProperty(o) ? e[r] = e[o] : r === "light" ? e.light = go(e.main, i) : r === "dark" && (e.dark = po(e.main, a)));
|
|
2503
|
+
}
|
|
2504
|
+
function ho(e = "light") {
|
|
2505
|
+
return e === "dark" ? {
|
|
2506
|
+
main: B[200],
|
|
2507
|
+
light: B[50],
|
|
2508
|
+
dark: B[400]
|
|
2509
|
+
} : {
|
|
2510
|
+
main: B[700],
|
|
2511
|
+
light: B[400],
|
|
2512
|
+
dark: B[800]
|
|
2513
|
+
};
|
|
2514
|
+
}
|
|
2515
|
+
function bo(e = "light") {
|
|
2516
|
+
return e === "dark" ? {
|
|
2517
|
+
main: ee[200],
|
|
2518
|
+
light: ee[50],
|
|
2519
|
+
dark: ee[400]
|
|
2520
|
+
} : {
|
|
2521
|
+
main: ee[500],
|
|
2522
|
+
light: ee[300],
|
|
2523
|
+
dark: ee[700]
|
|
2524
|
+
};
|
|
2525
|
+
}
|
|
2526
|
+
function vo(e = "light") {
|
|
2527
|
+
return e === "dark" ? {
|
|
2528
|
+
main: me[500],
|
|
2529
|
+
light: me[300],
|
|
2530
|
+
dark: me[700]
|
|
2531
|
+
} : {
|
|
2532
|
+
main: me[700],
|
|
2533
|
+
light: me[400],
|
|
2534
|
+
dark: me[800]
|
|
2535
|
+
};
|
|
2536
|
+
}
|
|
2537
|
+
function Eo(e = "light") {
|
|
2538
|
+
return e === "dark" ? {
|
|
2539
|
+
main: te[400],
|
|
2540
|
+
light: te[300],
|
|
2541
|
+
dark: te[700]
|
|
2542
|
+
} : {
|
|
2543
|
+
main: te[700],
|
|
2544
|
+
light: te[500],
|
|
2545
|
+
dark: te[900]
|
|
2546
|
+
};
|
|
2547
|
+
}
|
|
2548
|
+
function To(e = "light") {
|
|
2549
|
+
return e === "dark" ? {
|
|
2550
|
+
main: X[400],
|
|
2551
|
+
light: X[300],
|
|
2552
|
+
dark: X[700]
|
|
2553
|
+
} : {
|
|
2554
|
+
main: X[800],
|
|
2555
|
+
light: X[500],
|
|
2556
|
+
dark: X[900]
|
|
2557
|
+
};
|
|
2558
|
+
}
|
|
2559
|
+
function Oo(e = "light") {
|
|
2560
|
+
return e === "dark" ? {
|
|
2561
|
+
main: Q[400],
|
|
2562
|
+
light: Q[300],
|
|
2563
|
+
dark: Q[700]
|
|
2564
|
+
} : {
|
|
2565
|
+
main: "#ed6c02",
|
|
2566
|
+
// closest to orange[800] that pass 3:1.
|
|
2567
|
+
light: Q[500],
|
|
2568
|
+
dark: Q[900]
|
|
2569
|
+
};
|
|
2570
|
+
}
|
|
2571
|
+
function xo(e) {
|
|
2572
|
+
const {
|
|
2573
|
+
mode: r = "light",
|
|
2574
|
+
contrastThreshold: o = 3,
|
|
2575
|
+
tonalOffset: n = 0.2
|
|
2576
|
+
} = e, i = Fe(e, yo), a = e.primary || ho(r), s = e.secondary || bo(r), l = e.error || vo(r), d = e.info || Eo(r), p = e.success || To(r), g = e.warning || Oo(r);
|
|
2577
|
+
function b(h) {
|
|
2578
|
+
const S = rt(h, vr.text.primary) >= o ? vr.text.primary : tt.text.primary;
|
|
2579
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2580
|
+
const F = rt(h, S);
|
|
2581
|
+
F < 3 && console.error([`MUI: The contrast ratio of ${F}:1 for ${S} on ${h}`, "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(`
|
|
2582
|
+
`));
|
|
2583
|
+
}
|
|
2584
|
+
return S;
|
|
2585
|
+
}
|
|
2586
|
+
const f = ({
|
|
2587
|
+
color: h,
|
|
2588
|
+
name: S,
|
|
2589
|
+
mainShade: F = 500,
|
|
2590
|
+
lightShade: G = 300,
|
|
2591
|
+
darkShade: K = 700
|
|
2592
|
+
}) => {
|
|
2593
|
+
if (h = re({}, h), !h.main && h[F] && (h.main = h[F]), !h.hasOwnProperty("main"))
|
|
2594
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${S ? ` (${S})` : ""} provided to augmentColor(color) is invalid.
|
|
2595
|
+
The color object needs to have a \`main\` property or a \`${F}\` property.` : De(11, S ? ` (${S})` : "", F));
|
|
2596
|
+
if (typeof h.main != "string")
|
|
2597
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${S ? ` (${S})` : ""} provided to augmentColor(color) is invalid.
|
|
2598
|
+
\`color.main\` should be a string, but \`${JSON.stringify(h.main)}\` was provided instead.
|
|
2599
|
+
|
|
2600
|
+
Did you intend to use one of the following approaches?
|
|
2601
|
+
|
|
2602
|
+
import { green } from "@mui/material/colors";
|
|
2603
|
+
|
|
2604
|
+
const theme1 = createTheme({ palette: {
|
|
2605
|
+
primary: green,
|
|
2606
|
+
} });
|
|
2607
|
+
|
|
2608
|
+
const theme2 = createTheme({ palette: {
|
|
2609
|
+
primary: { main: green[500] },
|
|
2610
|
+
} });` : De(12, S ? ` (${S})` : "", JSON.stringify(h.main)));
|
|
2611
|
+
return nt(h, "light", G, n), nt(h, "dark", K, n), h.contrastText || (h.contrastText = b(h.main)), h;
|
|
2612
|
+
}, T = {
|
|
2613
|
+
dark: vr,
|
|
2614
|
+
light: tt
|
|
2615
|
+
};
|
|
2616
|
+
return process.env.NODE_ENV !== "production" && (T[r] || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), Ee(re({
|
|
2617
|
+
// A collection of common colors.
|
|
2618
|
+
common: re({}, Ke),
|
|
2619
|
+
// prevent mutable object.
|
|
2620
|
+
// The palette mode, can be light or dark.
|
|
2621
|
+
mode: r,
|
|
2622
|
+
// The colors used to represent primary interface elements for a user.
|
|
2623
|
+
primary: f({
|
|
2624
|
+
color: a,
|
|
2625
|
+
name: "primary"
|
|
2626
|
+
}),
|
|
2627
|
+
// The colors used to represent secondary interface elements for a user.
|
|
2628
|
+
secondary: f({
|
|
2629
|
+
color: s,
|
|
2630
|
+
name: "secondary",
|
|
2631
|
+
mainShade: "A400",
|
|
2632
|
+
lightShade: "A200",
|
|
2633
|
+
darkShade: "A700"
|
|
2634
|
+
}),
|
|
2635
|
+
// The colors used to represent interface elements that the user should be made aware of.
|
|
2636
|
+
error: f({
|
|
2637
|
+
color: l,
|
|
2638
|
+
name: "error"
|
|
2639
|
+
}),
|
|
2640
|
+
// The colors used to represent potentially dangerous actions or important messages.
|
|
2641
|
+
warning: f({
|
|
2642
|
+
color: g,
|
|
2643
|
+
name: "warning"
|
|
2644
|
+
}),
|
|
2645
|
+
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
2646
|
+
info: f({
|
|
2647
|
+
color: d,
|
|
2648
|
+
name: "info"
|
|
2649
|
+
}),
|
|
2650
|
+
// The colors used to indicate the successful completion of an action that user triggered.
|
|
2651
|
+
success: f({
|
|
2652
|
+
color: p,
|
|
2653
|
+
name: "success"
|
|
2654
|
+
}),
|
|
2655
|
+
// The grey colors.
|
|
2656
|
+
grey: j,
|
|
2657
|
+
// Used by `getContrastText()` to maximize the contrast between
|
|
2658
|
+
// the background and the text.
|
|
2659
|
+
contrastThreshold: o,
|
|
2660
|
+
// Takes a background color and returns the text color that maximizes the contrast.
|
|
2661
|
+
getContrastText: b,
|
|
2662
|
+
// Generate a rich color object.
|
|
2663
|
+
augmentColor: f,
|
|
2664
|
+
// Used by the functions below to shift a color's luminance by approximately
|
|
2665
|
+
// two indexes within its tonal palette.
|
|
2666
|
+
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
2667
|
+
tonalOffset: n
|
|
2668
|
+
}, T[r]), i);
|
|
2669
|
+
}
|
|
2670
|
+
const _o = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
2671
|
+
function Ro(e) {
|
|
2672
|
+
return Math.round(e * 1e5) / 1e5;
|
|
2673
|
+
}
|
|
2674
|
+
const ot = {
|
|
2675
|
+
textTransform: "uppercase"
|
|
2676
|
+
}, it = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2677
|
+
function wo(e, r) {
|
|
2678
|
+
const o = typeof r == "function" ? r(e) : r, {
|
|
2679
|
+
fontFamily: n = it,
|
|
2680
|
+
// The default font size of the Material Specification.
|
|
2681
|
+
fontSize: i = 14,
|
|
2682
|
+
// px
|
|
2683
|
+
fontWeightLight: a = 300,
|
|
2684
|
+
fontWeightRegular: s = 400,
|
|
2685
|
+
fontWeightMedium: l = 500,
|
|
2686
|
+
fontWeightBold: d = 700,
|
|
2687
|
+
// Tell MUI what's the font-size on the html element.
|
|
2688
|
+
// 16px is the default font-size used by browsers.
|
|
2689
|
+
htmlFontSize: p = 16,
|
|
2690
|
+
// Apply the CSS properties to all the variants.
|
|
2691
|
+
allVariants: g,
|
|
2692
|
+
pxToRem: b
|
|
2693
|
+
} = o, f = Fe(o, _o);
|
|
2694
|
+
process.env.NODE_ENV !== "production" && (typeof i != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof p != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2695
|
+
const T = i / 14, O = b || ((F) => `${F / p * T}rem`), h = (F, G, K, V, v) => re({
|
|
2696
|
+
fontFamily: n,
|
|
2697
|
+
fontWeight: F,
|
|
2698
|
+
fontSize: O(G),
|
|
2699
|
+
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2700
|
+
lineHeight: K
|
|
2701
|
+
}, n === it ? {
|
|
2702
|
+
letterSpacing: `${Ro(V / G)}em`
|
|
2703
|
+
} : {}, v, g), S = {
|
|
2704
|
+
h1: h(a, 96, 1.167, -1.5),
|
|
2705
|
+
h2: h(a, 60, 1.2, -0.5),
|
|
2706
|
+
h3: h(s, 48, 1.167, 0),
|
|
2707
|
+
h4: h(s, 34, 1.235, 0.25),
|
|
2708
|
+
h5: h(s, 24, 1.334, 0),
|
|
2709
|
+
h6: h(l, 20, 1.6, 0.15),
|
|
2710
|
+
subtitle1: h(s, 16, 1.75, 0.15),
|
|
2711
|
+
subtitle2: h(l, 14, 1.57, 0.1),
|
|
2712
|
+
body1: h(s, 16, 1.5, 0.15),
|
|
2713
|
+
body2: h(s, 14, 1.43, 0.15),
|
|
2714
|
+
button: h(l, 14, 1.75, 0.4, ot),
|
|
2715
|
+
caption: h(s, 12, 1.66, 0.4),
|
|
2716
|
+
overline: h(s, 12, 2.66, 1, ot),
|
|
2717
|
+
// 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.
|
|
2718
|
+
inherit: {
|
|
2719
|
+
fontFamily: "inherit",
|
|
2720
|
+
fontWeight: "inherit",
|
|
2721
|
+
fontSize: "inherit",
|
|
2722
|
+
lineHeight: "inherit",
|
|
2723
|
+
letterSpacing: "inherit"
|
|
2724
|
+
}
|
|
2725
|
+
};
|
|
2726
|
+
return Ee(re({
|
|
2727
|
+
htmlFontSize: p,
|
|
2728
|
+
pxToRem: O,
|
|
2729
|
+
fontFamily: n,
|
|
2730
|
+
fontSize: i,
|
|
2731
|
+
fontWeightLight: a,
|
|
2732
|
+
fontWeightRegular: s,
|
|
2733
|
+
fontWeightMedium: l,
|
|
2734
|
+
fontWeightBold: d
|
|
2735
|
+
}, S), f, {
|
|
2736
|
+
clone: !1
|
|
2737
|
+
// No need to clone deep
|
|
2738
|
+
});
|
|
2739
|
+
}
|
|
2740
|
+
const Co = 0.2, So = 0.14, Po = 0.12;
|
|
2741
|
+
function z(...e) {
|
|
2742
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Co})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${So})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Po})`].join(",");
|
|
2743
|
+
}
|
|
2744
|
+
const Ao = ["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)], $o = Ao, ko = ["duration", "easing", "delay"], jo = {
|
|
2745
|
+
// This is the most common easing curve.
|
|
2746
|
+
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2747
|
+
// Objects enter the screen at full velocity from off-screen and
|
|
2748
|
+
// slowly decelerate to a resting point.
|
|
2749
|
+
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
2750
|
+
// Objects leave the screen at full velocity. They do not decelerate when off-screen.
|
|
2751
|
+
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2752
|
+
// The sharp curve is used by objects that may return to the screen at any time.
|
|
2753
|
+
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2754
|
+
}, Io = {
|
|
2755
|
+
shortest: 150,
|
|
2756
|
+
shorter: 200,
|
|
2757
|
+
short: 250,
|
|
2758
|
+
// most basic recommended timing
|
|
2759
|
+
standard: 300,
|
|
2760
|
+
// this is to be used in complex animations
|
|
2761
|
+
complex: 375,
|
|
2762
|
+
// recommended when something is entering screen
|
|
2763
|
+
enteringScreen: 225,
|
|
2764
|
+
// recommended when something is leaving screen
|
|
2765
|
+
leavingScreen: 195
|
|
2766
|
+
};
|
|
2767
|
+
function at(e) {
|
|
2768
|
+
return `${Math.round(e)}ms`;
|
|
2769
|
+
}
|
|
2770
|
+
function Mo(e) {
|
|
2771
|
+
if (!e)
|
|
2772
|
+
return 0;
|
|
2773
|
+
const r = e / 36;
|
|
2774
|
+
return Math.round((4 + 15 * r ** 0.25 + r / 5) * 10);
|
|
2775
|
+
}
|
|
2776
|
+
function Do(e) {
|
|
2777
|
+
const r = re({}, jo, e.easing), o = re({}, Io, e.duration);
|
|
2778
|
+
return re({
|
|
2779
|
+
getAutoHeightDuration: Mo,
|
|
2780
|
+
create: (i = ["all"], a = {}) => {
|
|
2781
|
+
const {
|
|
2782
|
+
duration: s = o.standard,
|
|
2783
|
+
easing: l = r.easeInOut,
|
|
2784
|
+
delay: d = 0
|
|
2785
|
+
} = a, p = Fe(a, ko);
|
|
2786
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2787
|
+
const g = (f) => typeof f == "string", b = (f) => !isNaN(parseFloat(f));
|
|
2788
|
+
!g(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !b(s) && !g(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), g(l) || console.error('MUI: Argument "easing" must be a string.'), !b(d) && !g(d) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "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(`
|
|
2789
|
+
`)), Object.keys(p).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(p).join(",")}].`);
|
|
2790
|
+
}
|
|
2791
|
+
return (Array.isArray(i) ? i : [i]).map((g) => `${g} ${typeof s == "string" ? s : at(s)} ${l} ${typeof d == "string" ? d : at(d)}`).join(",");
|
|
2792
|
+
}
|
|
2793
|
+
}, e, {
|
|
2794
|
+
easing: r,
|
|
2795
|
+
duration: o
|
|
2796
|
+
});
|
|
2797
|
+
}
|
|
2798
|
+
const Fo = {
|
|
2799
|
+
mobileStepper: 1e3,
|
|
2800
|
+
fab: 1050,
|
|
2801
|
+
speedDial: 1050,
|
|
2802
|
+
appBar: 1100,
|
|
2803
|
+
drawer: 1200,
|
|
2804
|
+
modal: 1300,
|
|
2805
|
+
snackbar: 1400,
|
|
2806
|
+
tooltip: 1500
|
|
2807
|
+
}, No = Fo, Bo = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
2808
|
+
function Wo(e = {}, ...r) {
|
|
2809
|
+
const {
|
|
2810
|
+
mixins: o = {},
|
|
2811
|
+
palette: n = {},
|
|
2812
|
+
transitions: i = {},
|
|
2813
|
+
typography: a = {}
|
|
2814
|
+
} = e, s = Fe(e, Bo);
|
|
2815
|
+
if (e.vars)
|
|
2816
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : De(18));
|
|
2817
|
+
const l = xo(n), d = co(e);
|
|
2818
|
+
let p = Ee(d, {
|
|
2819
|
+
mixins: mo(d.breakpoints, o),
|
|
2820
|
+
palette: l,
|
|
2821
|
+
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2822
|
+
shadows: $o.slice(),
|
|
2823
|
+
typography: wo(l, a),
|
|
2824
|
+
transitions: Do(i),
|
|
2825
|
+
zIndex: re({}, No)
|
|
2826
|
+
});
|
|
2827
|
+
if (p = Ee(p, s), p = r.reduce((g, b) => Ee(g, b), p), process.env.NODE_ENV !== "production") {
|
|
2828
|
+
const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], b = (f, T) => {
|
|
2829
|
+
let O;
|
|
2830
|
+
for (O in f) {
|
|
2831
|
+
const h = f[O];
|
|
2832
|
+
if (g.indexOf(O) !== -1 && Object.keys(h).length > 0) {
|
|
2833
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2834
|
+
const S = pn("", O);
|
|
2835
|
+
console.error([`MUI: The \`${T}\` component increases the CSS specificity of the \`${O}\` internal state.`, "You can not override it like this: ", JSON.stringify(f, null, 2), "", `Instead, you need to use the '&.${S}' syntax:`, JSON.stringify({
|
|
2836
|
+
root: {
|
|
2837
|
+
[`&.${S}`]: h
|
|
2838
|
+
}
|
|
2839
|
+
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2840
|
+
`));
|
|
2841
|
+
}
|
|
2842
|
+
f[O] = {};
|
|
2843
|
+
}
|
|
2844
|
+
}
|
|
2845
|
+
};
|
|
2846
|
+
Object.keys(p.components).forEach((f) => {
|
|
2847
|
+
const T = p.components[f].styleOverrides;
|
|
2848
|
+
T && f.indexOf("Mui") === 0 && b(T, f);
|
|
2849
|
+
});
|
|
2850
|
+
}
|
|
2851
|
+
return p.unstable_sxConfig = re({}, Rr, s == null ? void 0 : s.unstable_sxConfig), p.unstable_sx = function(b) {
|
|
2852
|
+
return yt({
|
|
2853
|
+
sx: b,
|
|
2854
|
+
theme: this
|
|
2855
|
+
});
|
|
2856
|
+
}, p;
|
|
2857
|
+
}
|
|
2858
|
+
const st = {
|
|
2859
|
+
blue1000: "#030E22"
|
|
2860
|
+
// purple1000: '#270B4A',
|
|
2861
|
+
}, Go = Wo({
|
|
2862
|
+
typography: {
|
|
2863
|
+
fontFamily: ["Inter", "Roboto", "sans-serif"].join(",")
|
|
2864
|
+
},
|
|
2865
|
+
components: {
|
|
2866
|
+
MuiAutocomplete: {
|
|
2867
|
+
styleOverrides: {
|
|
2868
|
+
root: {
|
|
2869
|
+
".MuiChip-root": {
|
|
2870
|
+
backgroundColor: B[50]
|
|
2871
|
+
},
|
|
2872
|
+
".MuiChip-root .MuiChip-deleteIcon": {
|
|
2873
|
+
color: B[800],
|
|
2874
|
+
"&:hover": {
|
|
2875
|
+
color: B[900]
|
|
2876
|
+
}
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
}
|
|
2880
|
+
},
|
|
2881
|
+
MuiButtonBase: {
|
|
2882
|
+
defaultProps: {
|
|
2883
|
+
disableRipple: !0
|
|
2884
|
+
}
|
|
2885
|
+
},
|
|
2886
|
+
MuiButton: {
|
|
2887
|
+
defaultProps: {
|
|
2888
|
+
disableRipple: !0
|
|
2889
|
+
},
|
|
2890
|
+
styleOverrides: {
|
|
2891
|
+
root: {
|
|
2892
|
+
textTransform: "capitalize"
|
|
2893
|
+
},
|
|
2894
|
+
textPrimary: {
|
|
2895
|
+
color: B[400]
|
|
2896
|
+
},
|
|
2897
|
+
outlinedInherit: {
|
|
2898
|
+
borderColor: je(j[900], 0.03)
|
|
2899
|
+
},
|
|
2900
|
+
outlinedPrimary: {
|
|
2901
|
+
borderColor: j[700]
|
|
2902
|
+
}
|
|
2903
|
+
}
|
|
2904
|
+
},
|
|
2905
|
+
MuiIconButton: {
|
|
2906
|
+
defaultProps: {
|
|
2907
|
+
disableRipple: !0
|
|
2908
|
+
}
|
|
2909
|
+
},
|
|
2910
|
+
MuiChip: {
|
|
2911
|
+
styleOverrides: {
|
|
2912
|
+
filledPrimary: {
|
|
2913
|
+
backgroundColor: B[50],
|
|
2914
|
+
color: st.blue1000,
|
|
2915
|
+
".MuiChip-deleteIcon": {
|
|
2916
|
+
color: B[800],
|
|
2917
|
+
"&:hover": {
|
|
2918
|
+
color: B[900]
|
|
2919
|
+
},
|
|
2920
|
+
"&:active": {
|
|
2921
|
+
color: B[900]
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2924
|
+
},
|
|
2925
|
+
filledSuccess: {
|
|
2926
|
+
backgroundColor: X[50],
|
|
2927
|
+
color: X[900]
|
|
2928
|
+
},
|
|
2929
|
+
filledError: {
|
|
2930
|
+
backgroundColor: me[50],
|
|
2931
|
+
color: B[900]
|
|
2932
|
+
}
|
|
2933
|
+
}
|
|
2934
|
+
},
|
|
2935
|
+
MuiDataGrid: {
|
|
2936
|
+
styleOverrides: {
|
|
2937
|
+
root: {
|
|
2938
|
+
border: "none",
|
|
2939
|
+
".MuiDataGrid-toolbarContainer .MuiTextField-root": {
|
|
2940
|
+
backgroundColor: j[100],
|
|
2941
|
+
padding: "8px",
|
|
2942
|
+
borderRadius: "8px"
|
|
2943
|
+
},
|
|
2944
|
+
".MuiInput-underline:before": {
|
|
2945
|
+
borderBottom: "none !important",
|
|
2946
|
+
color: "red"
|
|
2947
|
+
},
|
|
2948
|
+
".MuiDataGrid-toolbarContainer button": {
|
|
2949
|
+
backgroundColor: j[100],
|
|
2950
|
+
color: j[900],
|
|
2951
|
+
padding: "4px 10px"
|
|
2952
|
+
},
|
|
2953
|
+
".MuiDataGrid-toolbarContainer svg": {
|
|
2954
|
+
color: j[700]
|
|
2955
|
+
},
|
|
2956
|
+
".MuiDataGrid-cell:focus": {
|
|
2957
|
+
outline: "none"
|
|
2958
|
+
},
|
|
2959
|
+
".MuiDataGrid-columnHeaderTitle": {
|
|
2960
|
+
fontWeight: 500
|
|
2961
|
+
}
|
|
2962
|
+
}
|
|
2963
|
+
}
|
|
2964
|
+
},
|
|
2965
|
+
MuiLink: {
|
|
2966
|
+
styleOverrides: {
|
|
2967
|
+
root: {
|
|
2968
|
+
color: B[400],
|
|
2969
|
+
textDecoration: "none"
|
|
2970
|
+
}
|
|
2971
|
+
}
|
|
2972
|
+
},
|
|
2973
|
+
MuiSelect: {
|
|
2974
|
+
defaultProps: {
|
|
2975
|
+
size: "small"
|
|
2976
|
+
},
|
|
2977
|
+
styleOverrides: {
|
|
2978
|
+
root: {
|
|
2979
|
+
backgroundColor: j[100],
|
|
2980
|
+
".MuiInputBase-root": {
|
|
2981
|
+
backgroundColor: j[100]
|
|
2982
|
+
},
|
|
2983
|
+
".MuiInputBase-input": {
|
|
2984
|
+
backgroundColor: j[100]
|
|
2985
|
+
}
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
},
|
|
2989
|
+
MuiTabs: {
|
|
2990
|
+
styleOverrides: {
|
|
2991
|
+
root: {
|
|
2992
|
+
".MuiButtonBase-root": {
|
|
2993
|
+
textTransform: "none"
|
|
2994
|
+
}
|
|
2995
|
+
}
|
|
2996
|
+
}
|
|
2997
|
+
},
|
|
2998
|
+
MuiTextField: {
|
|
2999
|
+
defaultProps: {
|
|
3000
|
+
size: "small"
|
|
3001
|
+
},
|
|
3002
|
+
styleOverrides: {
|
|
3003
|
+
root: {
|
|
3004
|
+
backgroundColor: j[100],
|
|
3005
|
+
borderRadius: "8px",
|
|
3006
|
+
"& fieldset": { border: "none" },
|
|
3007
|
+
".MuiOutlinedInput-root": {
|
|
3008
|
+
paddingLeft: 0
|
|
3009
|
+
},
|
|
3010
|
+
".MuiInputAdornment-root": {
|
|
3011
|
+
paddingLeft: "12px"
|
|
3012
|
+
},
|
|
3013
|
+
".MuiInputBase-root": {
|
|
3014
|
+
backgroundColor: j[100]
|
|
3015
|
+
},
|
|
3016
|
+
".MuiFormHelperText-root": {
|
|
3017
|
+
marginLeft: 0
|
|
3018
|
+
}
|
|
3019
|
+
}
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
3023
|
+
palette: {
|
|
3024
|
+
text: {
|
|
3025
|
+
primary: j[900],
|
|
3026
|
+
secondary: j[700],
|
|
3027
|
+
disabled: j[700]
|
|
3028
|
+
},
|
|
3029
|
+
focusVisible: je(B[700], 0.3),
|
|
3030
|
+
blue50: B[50],
|
|
3031
|
+
blue100: B[100],
|
|
3032
|
+
blue200: B[200],
|
|
3033
|
+
blue300: B[300],
|
|
3034
|
+
blue400: B[400],
|
|
3035
|
+
blue500: B[500],
|
|
3036
|
+
blue600: B[600],
|
|
3037
|
+
blue700: B[700],
|
|
3038
|
+
blue800: B[800],
|
|
3039
|
+
blue900: B[900],
|
|
3040
|
+
blue1000: st.blue1000,
|
|
3041
|
+
indigo50: de[50],
|
|
3042
|
+
indigo100: de[100],
|
|
3043
|
+
indigo200: de[200],
|
|
3044
|
+
indigo300: de[300],
|
|
3045
|
+
indigo400: de[400],
|
|
3046
|
+
indigo500: de[500],
|
|
3047
|
+
indigo600: de[600],
|
|
3048
|
+
indigo700: de[700],
|
|
3049
|
+
indigo800: de[800],
|
|
3050
|
+
indigo900: de[900],
|
|
3051
|
+
green50: X[50],
|
|
3052
|
+
green100: X[100],
|
|
3053
|
+
green200: X[200],
|
|
3054
|
+
green300: X[300],
|
|
3055
|
+
green400: X[400],
|
|
3056
|
+
green500: X[500],
|
|
3057
|
+
green600: X[600],
|
|
3058
|
+
green700: X[700],
|
|
3059
|
+
green800: X[800],
|
|
3060
|
+
green900: X[900],
|
|
3061
|
+
lightBlue50: te[50],
|
|
3062
|
+
lightBlue100: te[100],
|
|
3063
|
+
lightBlue200: te[200],
|
|
3064
|
+
lightBlue300: te[300],
|
|
3065
|
+
lightBlue400: te[400],
|
|
3066
|
+
lightBlue500: te[500],
|
|
3067
|
+
lightBlue600: te[600],
|
|
3068
|
+
lightBlue700: te[700],
|
|
3069
|
+
lightBlue800: te[800],
|
|
3070
|
+
lightBlue900: te[900],
|
|
3071
|
+
lightGreen50: pe[50],
|
|
3072
|
+
lightGreen100: pe[100],
|
|
3073
|
+
lightGreen200: pe[200],
|
|
3074
|
+
lightGreen300: pe[300],
|
|
3075
|
+
lightGreen400: pe[400],
|
|
3076
|
+
lightGreen500: pe[500],
|
|
3077
|
+
lightGreen600: pe[600],
|
|
3078
|
+
lightGreen700: pe[700],
|
|
3079
|
+
lightGreen800: pe[800],
|
|
3080
|
+
lightGreen900: pe[900],
|
|
3081
|
+
neutral50: j[50],
|
|
3082
|
+
neutral100: j[100],
|
|
3083
|
+
neutral200: j[200],
|
|
3084
|
+
neutral300: j[300],
|
|
3085
|
+
neutral400: j[400],
|
|
3086
|
+
neutral500: j[500],
|
|
3087
|
+
neutral600: j[600],
|
|
3088
|
+
neutral700: j[700],
|
|
3089
|
+
neutral800: j[800],
|
|
3090
|
+
neutral900: j[900],
|
|
3091
|
+
neutralA100: j.A100,
|
|
3092
|
+
neutralA200: j.A200,
|
|
3093
|
+
neutralA400: j.A400,
|
|
3094
|
+
neutralA700: j.A700,
|
|
3095
|
+
orange50: Q[50],
|
|
3096
|
+
orange100: Q[100],
|
|
3097
|
+
orange200: Q[200],
|
|
3098
|
+
orange300: Q[300],
|
|
3099
|
+
orange400: Q[400],
|
|
3100
|
+
orange500: Q[500],
|
|
3101
|
+
orange600: Q[600],
|
|
3102
|
+
orange700: Q[700],
|
|
3103
|
+
orange800: Q[800],
|
|
3104
|
+
orange900: Q[900],
|
|
3105
|
+
purple50: ee[50],
|
|
3106
|
+
purple100: ee[100],
|
|
3107
|
+
purple200: ee[200],
|
|
3108
|
+
purple300: ee[300],
|
|
3109
|
+
purple400: ee[400],
|
|
3110
|
+
purple500: ee[500],
|
|
3111
|
+
purple600: ee[600],
|
|
3112
|
+
purple700: ee[700],
|
|
3113
|
+
purple800: ee[800],
|
|
3114
|
+
purple900: ee[900],
|
|
3115
|
+
yellow50: ge[50],
|
|
3116
|
+
yellow100: ge[100],
|
|
3117
|
+
yellow200: ge[200],
|
|
3118
|
+
yellow300: ge[300],
|
|
3119
|
+
yellow400: ge[400],
|
|
3120
|
+
yellow500: ge[500],
|
|
3121
|
+
yellow600: ge[600],
|
|
3122
|
+
yellow700: ge[700],
|
|
3123
|
+
yellow800: ge[800],
|
|
3124
|
+
yellow900: ge[900],
|
|
3125
|
+
// todo: add rest of colors. see https://www.figma.com/file/9yr8neepsdgLbiFADaR6M2/MI----Library-Base?type=design&node-id=477-93017&t=wf27RohUWMM0z3UH-0
|
|
3126
|
+
primary: {
|
|
3127
|
+
main: B[700],
|
|
3128
|
+
dark: B[800],
|
|
3129
|
+
light: B[600],
|
|
3130
|
+
contrastText: "#FFFFFF",
|
|
3131
|
+
selected: je(B[700], 0.08)
|
|
3132
|
+
},
|
|
3133
|
+
secondary: {
|
|
3134
|
+
main: ee[500],
|
|
3135
|
+
dark: ee[700],
|
|
3136
|
+
light: ee[300],
|
|
3137
|
+
contrastText: "#FFFFFF"
|
|
3138
|
+
},
|
|
3139
|
+
error: {
|
|
3140
|
+
main: me[700],
|
|
3141
|
+
dark: me[800],
|
|
3142
|
+
light: me[400],
|
|
3143
|
+
contrastText: "#FFFFFF"
|
|
3144
|
+
},
|
|
3145
|
+
warning: {
|
|
3146
|
+
main: Q[800],
|
|
3147
|
+
dark: Q[900],
|
|
3148
|
+
light: Q[500],
|
|
3149
|
+
contrastText: "#FFFFFF"
|
|
3150
|
+
},
|
|
3151
|
+
info: {
|
|
3152
|
+
main: te[800],
|
|
3153
|
+
dark: te[900],
|
|
3154
|
+
light: Q[700],
|
|
3155
|
+
contrastText: "#FFFFFF"
|
|
3156
|
+
},
|
|
3157
|
+
success: {
|
|
3158
|
+
main: X[800],
|
|
3159
|
+
dark: X[900],
|
|
3160
|
+
light: X[500],
|
|
3161
|
+
contrastText: "#FFFFFF"
|
|
3162
|
+
},
|
|
3163
|
+
action: {
|
|
3164
|
+
active: j[700],
|
|
3165
|
+
hover: je(j[700], 0.04),
|
|
3166
|
+
selected: je(j[700], 0.08),
|
|
3167
|
+
focus: je(j[700], 0.12),
|
|
3168
|
+
disabledBackground: j[200],
|
|
3169
|
+
disabled: j[700]
|
|
3170
|
+
}
|
|
3171
|
+
}
|
|
3172
|
+
});
|
|
636
3173
|
export {
|
|
637
|
-
|
|
638
|
-
|
|
3174
|
+
Lo as DemoComponent,
|
|
3175
|
+
Go as MovableUITheme
|
|
639
3176
|
};
|
|
640
3177
|
//# sourceMappingURL=index.mjs.map
|