@rws-aoa/react-library 7.0.1 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/FieldError.DXcLGJ_k.js +170 -0
- package/dist/chunks/FieldError.DXcLGJ_k.js.map +1 -0
- package/dist/chunks/compiler-runtime.hDcrsMwn.js.map +1 -1
- package/dist/chunks/lodash.CA_K01A9.js.map +1 -1
- package/dist/components/atoms/_menu/menu-item/MenuItem.d.ts +2 -2
- package/dist/components/atoms/_menu/menu-item/MenuItem.d.ts.map +1 -1
- package/dist/components/atoms/_menu/menu-item/MenuItem.js +4 -4
- package/dist/components/atoms/_menu/menu-item/MenuItem.js.map +1 -1
- package/dist/components/atoms/_menu/user-menu/UserMenu.js.map +1 -1
- package/dist/components/atoms/icon-button/IconButton.js.map +1 -1
- package/dist/components/atoms/table/Table.d.ts +1 -1
- package/dist/components/atoms/table/Table.d.ts.map +1 -1
- package/dist/components/atoms/table/Table.js.map +1 -1
- package/dist/components/atoms/table/_QuickSearchToolbar.js +1474 -1403
- package/dist/components/atoms/table/_QuickSearchToolbar.js.map +1 -1
- package/dist/components/molecules/field-error/FieldError.js +1 -1
- package/dist/components/molecules/file-dropzone/FileDropzone.js.map +1 -1
- package/dist/components/molecules/form-error/FormError.js +1 -1
- package/dist/components/molecules/form-modal/FormModal.d.ts.map +1 -1
- package/dist/components/molecules/form-modal/FormModal.js +1 -1
- package/dist/components/molecules/navigation-bar/NavigationBar.d.ts.map +1 -1
- package/dist/components/molecules/navigation-bar/NavigationBar.js +42 -45
- package/dist/components/molecules/navigation-bar/NavigationBar.js.map +1 -1
- package/dist/contexts/TanstackFormContext.d.ts +9 -15
- package/dist/contexts/TanstackFormContext.d.ts.map +1 -1
- package/dist/contexts/TanstackFormContext.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +32 -32
- package/dist/chunks/FieldError.CCQnjdMd.js +0 -161
- package/dist/chunks/FieldError.CCQnjdMd.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Refresh as
|
|
3
|
-
import * as
|
|
4
|
-
import { g as
|
|
5
|
-
import
|
|
1
|
+
import { jsxs as ht, jsx as K } from "react/jsx-runtime";
|
|
2
|
+
import { Refresh as wr } from "@mui/icons-material";
|
|
3
|
+
import * as me from "react";
|
|
4
|
+
import { g as $r } from "../../../chunks/lodash.CA_K01A9.js";
|
|
5
|
+
import Or from "@emotion/styled";
|
|
6
6
|
import "@emotion/react";
|
|
7
|
-
import { Badge as
|
|
8
|
-
import { Toolbar as
|
|
9
|
-
import { AoaIconButton as
|
|
10
|
-
import { AoaTooltip as
|
|
11
|
-
const
|
|
12
|
-
let e =
|
|
7
|
+
import { Badge as Ar, TextField as _r, inputBaseClasses as kr, InputAdornment as Rr } from "@mui/material";
|
|
8
|
+
import { Toolbar as Pr, ToolbarButton as ot, QuickFilter as Ir, FilterPanelTrigger as Nr, QuickFilterControl as Br, QuickFilterClear as Dr } from "@mui/x-data-grid";
|
|
9
|
+
import { AoaIconButton as Mr } from "../icon-button/IconButton.js";
|
|
10
|
+
import { AoaTooltip as jr } from "../tooltip/Tooltip.js";
|
|
11
|
+
const At = (e) => e, Vr = () => {
|
|
12
|
+
let e = At;
|
|
13
13
|
return {
|
|
14
14
|
configure(t) {
|
|
15
15
|
e = t;
|
|
@@ -18,20 +18,20 @@ const Ot = (e) => e, Br = () => {
|
|
|
18
18
|
return e(t);
|
|
19
19
|
},
|
|
20
20
|
reset() {
|
|
21
|
-
e =
|
|
21
|
+
e = At;
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
},
|
|
25
|
-
function
|
|
24
|
+
}, Fr = Vr();
|
|
25
|
+
function he(e, ...t) {
|
|
26
26
|
const r = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
27
27
|
return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Ce(e) {
|
|
30
30
|
if (typeof e != "string")
|
|
31
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." :
|
|
31
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : he(7));
|
|
32
32
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var Me = { exports: {} }, je = { exports: {} }, F = {};
|
|
35
35
|
/**
|
|
36
36
|
* @license React
|
|
37
37
|
* react-is.production.js
|
|
@@ -41,71 +41,71 @@ var Be = { exports: {} }, De = { exports: {} }, M = {};
|
|
|
41
41
|
* This source code is licensed under the MIT license found in the
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
if (
|
|
47
|
-
|
|
48
|
-
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"),
|
|
49
|
-
function y(
|
|
50
|
-
if (typeof
|
|
51
|
-
var
|
|
52
|
-
switch (
|
|
44
|
+
var _t;
|
|
45
|
+
function Lr() {
|
|
46
|
+
if (_t) return F;
|
|
47
|
+
_t = 1;
|
|
48
|
+
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), S = Symbol.for("react.client.reference");
|
|
49
|
+
function y(c) {
|
|
50
|
+
if (typeof c == "object" && c !== null) {
|
|
51
|
+
var v = c.$$typeof;
|
|
52
|
+
switch (v) {
|
|
53
53
|
case e:
|
|
54
|
-
switch (
|
|
54
|
+
switch (c = c.type, c) {
|
|
55
55
|
case r:
|
|
56
56
|
case o:
|
|
57
57
|
case n:
|
|
58
|
-
case d:
|
|
59
58
|
case f:
|
|
60
|
-
case
|
|
61
|
-
|
|
59
|
+
case d:
|
|
60
|
+
case m:
|
|
61
|
+
return c;
|
|
62
62
|
default:
|
|
63
|
-
switch (
|
|
64
|
-
case
|
|
63
|
+
switch (c = c && c.$$typeof, c) {
|
|
64
|
+
case s:
|
|
65
65
|
case l:
|
|
66
66
|
case h:
|
|
67
|
-
case
|
|
68
|
-
return
|
|
67
|
+
case p:
|
|
68
|
+
return c;
|
|
69
69
|
case i:
|
|
70
|
-
return
|
|
70
|
+
return c;
|
|
71
71
|
default:
|
|
72
|
-
return
|
|
72
|
+
return v;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
case t:
|
|
76
|
-
return
|
|
76
|
+
return v;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
return
|
|
81
|
-
return y(
|
|
82
|
-
},
|
|
83
|
-
return y(
|
|
84
|
-
},
|
|
85
|
-
return typeof
|
|
86
|
-
},
|
|
87
|
-
return y(
|
|
88
|
-
},
|
|
89
|
-
return y(
|
|
90
|
-
},
|
|
91
|
-
return y(
|
|
92
|
-
},
|
|
93
|
-
return y(
|
|
94
|
-
},
|
|
95
|
-
return y(
|
|
96
|
-
},
|
|
97
|
-
return y(
|
|
98
|
-
},
|
|
99
|
-
return y(
|
|
100
|
-
},
|
|
101
|
-
return y(
|
|
102
|
-
},
|
|
103
|
-
return y(
|
|
104
|
-
},
|
|
105
|
-
return typeof
|
|
106
|
-
},
|
|
107
|
-
}
|
|
108
|
-
var
|
|
80
|
+
return F.ContextConsumer = i, F.ContextProvider = s, F.Element = e, F.ForwardRef = l, F.Fragment = r, F.Lazy = h, F.Memo = p, F.Portal = t, F.Profiler = o, F.StrictMode = n, F.Suspense = f, F.SuspenseList = d, F.isContextConsumer = function(c) {
|
|
81
|
+
return y(c) === i;
|
|
82
|
+
}, F.isContextProvider = function(c) {
|
|
83
|
+
return y(c) === s;
|
|
84
|
+
}, F.isElement = function(c) {
|
|
85
|
+
return typeof c == "object" && c !== null && c.$$typeof === e;
|
|
86
|
+
}, F.isForwardRef = function(c) {
|
|
87
|
+
return y(c) === l;
|
|
88
|
+
}, F.isFragment = function(c) {
|
|
89
|
+
return y(c) === r;
|
|
90
|
+
}, F.isLazy = function(c) {
|
|
91
|
+
return y(c) === h;
|
|
92
|
+
}, F.isMemo = function(c) {
|
|
93
|
+
return y(c) === p;
|
|
94
|
+
}, F.isPortal = function(c) {
|
|
95
|
+
return y(c) === t;
|
|
96
|
+
}, F.isProfiler = function(c) {
|
|
97
|
+
return y(c) === o;
|
|
98
|
+
}, F.isStrictMode = function(c) {
|
|
99
|
+
return y(c) === n;
|
|
100
|
+
}, F.isSuspense = function(c) {
|
|
101
|
+
return y(c) === f;
|
|
102
|
+
}, F.isSuspenseList = function(c) {
|
|
103
|
+
return y(c) === d;
|
|
104
|
+
}, F.isValidElementType = function(c) {
|
|
105
|
+
return typeof c == "string" || typeof c == "function" || c === r || c === o || c === n || c === f || c === d || typeof c == "object" && c !== null && (c.$$typeof === h || c.$$typeof === p || c.$$typeof === s || c.$$typeof === i || c.$$typeof === l || c.$$typeof === S || c.getModuleId !== void 0);
|
|
106
|
+
}, F.typeOf = y, F;
|
|
107
|
+
}
|
|
108
|
+
var L = {};
|
|
109
109
|
/**
|
|
110
110
|
* @license React
|
|
111
111
|
* react-is.development.js
|
|
@@ -115,83 +115,83 @@ var j = {};
|
|
|
115
115
|
* This source code is licensed under the MIT license found in the
|
|
116
116
|
* LICENSE file in the root directory of this source tree.
|
|
117
117
|
*/
|
|
118
|
-
var
|
|
119
|
-
function
|
|
120
|
-
return
|
|
121
|
-
function e(
|
|
122
|
-
if (typeof
|
|
123
|
-
var
|
|
124
|
-
switch (
|
|
118
|
+
var kt;
|
|
119
|
+
function Wr() {
|
|
120
|
+
return kt || (kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
121
|
+
function e(c) {
|
|
122
|
+
if (typeof c == "object" && c !== null) {
|
|
123
|
+
var v = c.$$typeof;
|
|
124
|
+
switch (v) {
|
|
125
125
|
case t:
|
|
126
|
-
switch (
|
|
126
|
+
switch (c = c.type, c) {
|
|
127
127
|
case n:
|
|
128
128
|
case i:
|
|
129
129
|
case o:
|
|
130
|
-
case
|
|
131
|
-
case
|
|
132
|
-
case
|
|
133
|
-
return
|
|
130
|
+
case d:
|
|
131
|
+
case p:
|
|
132
|
+
case S:
|
|
133
|
+
return c;
|
|
134
134
|
default:
|
|
135
|
-
switch (
|
|
135
|
+
switch (c = c && c.$$typeof, c) {
|
|
136
136
|
case l:
|
|
137
|
-
case
|
|
138
|
-
case
|
|
137
|
+
case f:
|
|
138
|
+
case m:
|
|
139
139
|
case h:
|
|
140
|
-
return
|
|
141
|
-
case
|
|
142
|
-
return
|
|
140
|
+
return c;
|
|
141
|
+
case s:
|
|
142
|
+
return c;
|
|
143
143
|
default:
|
|
144
|
-
return
|
|
144
|
+
return v;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
case r:
|
|
148
|
-
return
|
|
148
|
+
return v;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"),
|
|
153
|
-
|
|
154
|
-
return e(
|
|
155
|
-
},
|
|
156
|
-
return e(
|
|
157
|
-
},
|
|
158
|
-
return typeof
|
|
159
|
-
},
|
|
160
|
-
return e(
|
|
161
|
-
},
|
|
162
|
-
return e(
|
|
163
|
-
},
|
|
164
|
-
return e(
|
|
165
|
-
},
|
|
166
|
-
return e(
|
|
167
|
-
},
|
|
168
|
-
return e(
|
|
169
|
-
},
|
|
170
|
-
return e(
|
|
171
|
-
},
|
|
172
|
-
return e(
|
|
173
|
-
},
|
|
174
|
-
return e(
|
|
175
|
-
},
|
|
176
|
-
return e(
|
|
177
|
-
},
|
|
178
|
-
return typeof
|
|
179
|
-
},
|
|
180
|
-
}()),
|
|
181
|
-
}
|
|
182
|
-
var
|
|
183
|
-
function
|
|
184
|
-
return
|
|
152
|
+
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), l = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), S = Symbol.for("react.view_transition"), y = Symbol.for("react.client.reference");
|
|
153
|
+
L.ContextConsumer = s, L.ContextProvider = l, L.Element = t, L.ForwardRef = f, L.Fragment = n, L.Lazy = m, L.Memo = h, L.Portal = r, L.Profiler = i, L.StrictMode = o, L.Suspense = d, L.SuspenseList = p, L.isContextConsumer = function(c) {
|
|
154
|
+
return e(c) === s;
|
|
155
|
+
}, L.isContextProvider = function(c) {
|
|
156
|
+
return e(c) === l;
|
|
157
|
+
}, L.isElement = function(c) {
|
|
158
|
+
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
159
|
+
}, L.isForwardRef = function(c) {
|
|
160
|
+
return e(c) === f;
|
|
161
|
+
}, L.isFragment = function(c) {
|
|
162
|
+
return e(c) === n;
|
|
163
|
+
}, L.isLazy = function(c) {
|
|
164
|
+
return e(c) === m;
|
|
165
|
+
}, L.isMemo = function(c) {
|
|
166
|
+
return e(c) === h;
|
|
167
|
+
}, L.isPortal = function(c) {
|
|
168
|
+
return e(c) === r;
|
|
169
|
+
}, L.isProfiler = function(c) {
|
|
170
|
+
return e(c) === i;
|
|
171
|
+
}, L.isStrictMode = function(c) {
|
|
172
|
+
return e(c) === o;
|
|
173
|
+
}, L.isSuspense = function(c) {
|
|
174
|
+
return e(c) === d;
|
|
175
|
+
}, L.isSuspenseList = function(c) {
|
|
176
|
+
return e(c) === p;
|
|
177
|
+
}, L.isValidElementType = function(c) {
|
|
178
|
+
return typeof c == "string" || typeof c == "function" || c === n || c === i || c === o || c === d || c === p || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === h || c.$$typeof === l || c.$$typeof === s || c.$$typeof === f || c.$$typeof === y || c.getModuleId !== void 0);
|
|
179
|
+
}, L.typeOf = e;
|
|
180
|
+
}()), L;
|
|
181
|
+
}
|
|
182
|
+
var Rt;
|
|
183
|
+
function St() {
|
|
184
|
+
return Rt || (Rt = 1, process.env.NODE_ENV === "production" ? je.exports = /* @__PURE__ */ Lr() : je.exports = /* @__PURE__ */ Wr()), je.exports;
|
|
185
185
|
}
|
|
186
186
|
/*
|
|
187
187
|
object-assign
|
|
188
188
|
(c) Sindre Sorhus
|
|
189
189
|
@license MIT
|
|
190
190
|
*/
|
|
191
|
-
var
|
|
192
|
-
function
|
|
193
|
-
if (
|
|
194
|
-
|
|
191
|
+
var it, Pt;
|
|
192
|
+
function zr() {
|
|
193
|
+
if (Pt) return it;
|
|
194
|
+
Pt = 1;
|
|
195
195
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
196
196
|
function n(i) {
|
|
197
197
|
if (i == null)
|
|
@@ -205,86 +205,86 @@ function Vr() {
|
|
|
205
205
|
var i = new String("abc");
|
|
206
206
|
if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
|
|
207
207
|
return !1;
|
|
208
|
-
for (var
|
|
209
|
-
|
|
210
|
-
var
|
|
211
|
-
return
|
|
208
|
+
for (var s = {}, l = 0; l < 10; l++)
|
|
209
|
+
s["_" + String.fromCharCode(l)] = l;
|
|
210
|
+
var f = Object.getOwnPropertyNames(s).map(function(p) {
|
|
211
|
+
return s[p];
|
|
212
212
|
});
|
|
213
|
-
if (
|
|
213
|
+
if (f.join("") !== "0123456789")
|
|
214
214
|
return !1;
|
|
215
|
-
var
|
|
216
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
217
|
-
|
|
218
|
-
}), Object.keys(Object.assign({},
|
|
215
|
+
var d = {};
|
|
216
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(p) {
|
|
217
|
+
d[p] = p;
|
|
218
|
+
}), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
|
|
219
219
|
} catch {
|
|
220
220
|
return !1;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
return
|
|
224
|
-
for (var l,
|
|
225
|
-
l = Object(arguments[
|
|
223
|
+
return it = o() ? Object.assign : function(i, s) {
|
|
224
|
+
for (var l, f = n(i), d, p = 1; p < arguments.length; p++) {
|
|
225
|
+
l = Object(arguments[p]);
|
|
226
226
|
for (var h in l)
|
|
227
|
-
t.call(l, h) && (
|
|
227
|
+
t.call(l, h) && (f[h] = l[h]);
|
|
228
228
|
if (e) {
|
|
229
|
-
|
|
230
|
-
for (var
|
|
231
|
-
r.call(l,
|
|
229
|
+
d = e(l);
|
|
230
|
+
for (var m = 0; m < d.length; m++)
|
|
231
|
+
r.call(l, d[m]) && (f[d[m]] = l[d[m]]);
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
return
|
|
235
|
-
},
|
|
234
|
+
return f;
|
|
235
|
+
}, it;
|
|
236
236
|
}
|
|
237
|
-
var
|
|
238
|
-
function
|
|
239
|
-
if (
|
|
240
|
-
|
|
237
|
+
var at, It;
|
|
238
|
+
function Ct() {
|
|
239
|
+
if (It) return at;
|
|
240
|
+
It = 1;
|
|
241
241
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
242
|
-
return
|
|
242
|
+
return at = e, at;
|
|
243
243
|
}
|
|
244
|
-
var
|
|
245
|
-
function
|
|
246
|
-
return
|
|
244
|
+
var st, Nt;
|
|
245
|
+
function or() {
|
|
246
|
+
return Nt || (Nt = 1, st = Function.call.bind(Object.prototype.hasOwnProperty)), st;
|
|
247
247
|
}
|
|
248
|
-
var
|
|
249
|
-
function
|
|
250
|
-
if (
|
|
251
|
-
|
|
248
|
+
var lt, Bt;
|
|
249
|
+
function Ur() {
|
|
250
|
+
if (Bt) return lt;
|
|
251
|
+
Bt = 1;
|
|
252
252
|
var e = function() {
|
|
253
253
|
};
|
|
254
254
|
if (process.env.NODE_ENV !== "production") {
|
|
255
|
-
var t = /* @__PURE__ */
|
|
255
|
+
var t = /* @__PURE__ */ Ct(), r = {}, n = /* @__PURE__ */ or();
|
|
256
256
|
e = function(i) {
|
|
257
|
-
var
|
|
258
|
-
typeof console < "u" && console.error(
|
|
257
|
+
var s = "Warning: " + i;
|
|
258
|
+
typeof console < "u" && console.error(s);
|
|
259
259
|
try {
|
|
260
|
-
throw new Error(
|
|
260
|
+
throw new Error(s);
|
|
261
261
|
} catch {
|
|
262
262
|
}
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
|
-
function o(i,
|
|
265
|
+
function o(i, s, l, f, d) {
|
|
266
266
|
if (process.env.NODE_ENV !== "production") {
|
|
267
|
-
for (var
|
|
268
|
-
if (n(i,
|
|
267
|
+
for (var p in i)
|
|
268
|
+
if (n(i, p)) {
|
|
269
269
|
var h;
|
|
270
270
|
try {
|
|
271
|
-
if (typeof i[
|
|
272
|
-
var
|
|
273
|
-
(
|
|
271
|
+
if (typeof i[p] != "function") {
|
|
272
|
+
var m = Error(
|
|
273
|
+
(f || "React class") + ": " + l + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
274
274
|
);
|
|
275
|
-
throw
|
|
275
|
+
throw m.name = "Invariant Violation", m;
|
|
276
276
|
}
|
|
277
|
-
h = i[
|
|
277
|
+
h = i[p](s, p, f, l, null, t);
|
|
278
278
|
} catch (y) {
|
|
279
279
|
h = y;
|
|
280
280
|
}
|
|
281
281
|
if (h && !(h instanceof Error) && e(
|
|
282
|
-
(
|
|
282
|
+
(f || "React class") + ": type specification of " + l + " `" + p + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
283
283
|
), h instanceof Error && !(h.message in r)) {
|
|
284
284
|
r[h.message] = !0;
|
|
285
|
-
var
|
|
285
|
+
var S = d ? d() : "";
|
|
286
286
|
e(
|
|
287
|
-
"Failed " + l + " type: " + h.message + (
|
|
287
|
+
"Failed " + l + " type: " + h.message + (S ?? "")
|
|
288
288
|
);
|
|
289
289
|
}
|
|
290
290
|
}
|
|
@@ -292,258 +292,258 @@ function Fr() {
|
|
|
292
292
|
}
|
|
293
293
|
return o.resetWarningCache = function() {
|
|
294
294
|
process.env.NODE_ENV !== "production" && (r = {});
|
|
295
|
-
},
|
|
295
|
+
}, lt = o, lt;
|
|
296
296
|
}
|
|
297
|
-
var
|
|
298
|
-
function
|
|
299
|
-
if (
|
|
300
|
-
|
|
301
|
-
var e = /* @__PURE__ */
|
|
297
|
+
var ct, Dt;
|
|
298
|
+
function Gr() {
|
|
299
|
+
if (Dt) return ct;
|
|
300
|
+
Dt = 1;
|
|
301
|
+
var e = /* @__PURE__ */ St(), t = zr(), r = /* @__PURE__ */ Ct(), n = /* @__PURE__ */ or(), o = /* @__PURE__ */ Ur(), i = function() {
|
|
302
302
|
};
|
|
303
303
|
process.env.NODE_ENV !== "production" && (i = function(l) {
|
|
304
|
-
var
|
|
305
|
-
typeof console < "u" && console.error(
|
|
304
|
+
var f = "Warning: " + l;
|
|
305
|
+
typeof console < "u" && console.error(f);
|
|
306
306
|
try {
|
|
307
|
-
throw new Error(
|
|
307
|
+
throw new Error(f);
|
|
308
308
|
} catch {
|
|
309
309
|
}
|
|
310
310
|
});
|
|
311
|
-
function
|
|
311
|
+
function s() {
|
|
312
312
|
return null;
|
|
313
313
|
}
|
|
314
|
-
return
|
|
315
|
-
var
|
|
314
|
+
return ct = function(l, f) {
|
|
315
|
+
var d = typeof Symbol == "function" && Symbol.iterator, p = "@@iterator";
|
|
316
316
|
function h(g) {
|
|
317
|
-
var
|
|
318
|
-
if (typeof
|
|
319
|
-
return
|
|
317
|
+
var C = g && (d && g[d] || g[p]);
|
|
318
|
+
if (typeof C == "function")
|
|
319
|
+
return C;
|
|
320
320
|
}
|
|
321
|
-
var
|
|
322
|
-
array:
|
|
323
|
-
bigint:
|
|
324
|
-
bool:
|
|
325
|
-
func:
|
|
326
|
-
number:
|
|
327
|
-
object:
|
|
328
|
-
string:
|
|
329
|
-
symbol:
|
|
330
|
-
any:
|
|
331
|
-
arrayOf:
|
|
332
|
-
element:
|
|
333
|
-
elementType:
|
|
334
|
-
instanceOf:
|
|
335
|
-
node:
|
|
336
|
-
objectOf:
|
|
337
|
-
oneOf:
|
|
338
|
-
oneOfType:
|
|
339
|
-
shape:
|
|
340
|
-
exact:
|
|
321
|
+
var m = "<<anonymous>>", S = {
|
|
322
|
+
array: O("array"),
|
|
323
|
+
bigint: O("bigint"),
|
|
324
|
+
bool: O("boolean"),
|
|
325
|
+
func: O("function"),
|
|
326
|
+
number: O("number"),
|
|
327
|
+
object: O("object"),
|
|
328
|
+
string: O("string"),
|
|
329
|
+
symbol: O("symbol"),
|
|
330
|
+
any: I(),
|
|
331
|
+
arrayOf: J,
|
|
332
|
+
element: x(),
|
|
333
|
+
elementType: Q(),
|
|
334
|
+
instanceOf: E,
|
|
335
|
+
node: te(),
|
|
336
|
+
objectOf: Z,
|
|
337
|
+
oneOf: G,
|
|
338
|
+
oneOfType: U,
|
|
339
|
+
shape: a,
|
|
340
|
+
exact: T
|
|
341
341
|
};
|
|
342
|
-
function y(g,
|
|
343
|
-
return g ===
|
|
342
|
+
function y(g, C) {
|
|
343
|
+
return g === C ? g !== 0 || 1 / g === 1 / C : g !== g && C !== C;
|
|
344
344
|
}
|
|
345
|
-
function
|
|
346
|
-
this.message = g, this.data =
|
|
345
|
+
function c(g, C) {
|
|
346
|
+
this.message = g, this.data = C && typeof C == "object" ? C : {}, this.stack = "";
|
|
347
347
|
}
|
|
348
|
-
|
|
349
|
-
function
|
|
348
|
+
c.prototype = Error.prototype;
|
|
349
|
+
function v(g) {
|
|
350
350
|
if (process.env.NODE_ENV !== "production")
|
|
351
|
-
var
|
|
352
|
-
function
|
|
353
|
-
if (
|
|
354
|
-
if (
|
|
355
|
-
var
|
|
351
|
+
var C = {}, R = 0;
|
|
352
|
+
function _(B, A, k, D, W, M, ie) {
|
|
353
|
+
if (D = D || m, M = M || k, ie !== r) {
|
|
354
|
+
if (f) {
|
|
355
|
+
var re = new Error(
|
|
356
356
|
"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"
|
|
357
357
|
);
|
|
358
|
-
throw
|
|
358
|
+
throw re.name = "Invariant Violation", re;
|
|
359
359
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
360
|
-
var
|
|
361
|
-
!
|
|
362
|
-
|
|
363
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
364
|
-
),
|
|
360
|
+
var Te = D + ":" + k;
|
|
361
|
+
!C[Te] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
362
|
+
R < 3 && (i(
|
|
363
|
+
"You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + D + "`. 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."
|
|
364
|
+
), C[Te] = !0, R++);
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
return
|
|
367
|
+
return A[k] == null ? B ? A[k] === null ? new c("The " + W + " `" + M + "` is marked as required " + ("in `" + D + "`, but its value is `null`.")) : new c("The " + W + " `" + M + "` is marked as required in " + ("`" + D + "`, but its value is `undefined`.")) : null : g(A, k, D, W, M);
|
|
368
368
|
}
|
|
369
|
-
var
|
|
370
|
-
return
|
|
369
|
+
var $ = _.bind(null, !1);
|
|
370
|
+
return $.isRequired = _.bind(null, !0), $;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
function
|
|
374
|
-
var
|
|
375
|
-
if (
|
|
376
|
-
var
|
|
377
|
-
return new
|
|
378
|
-
"Invalid " +
|
|
372
|
+
function O(g) {
|
|
373
|
+
function C(R, _, $, B, A, k) {
|
|
374
|
+
var D = R[_], W = N(D);
|
|
375
|
+
if (W !== g) {
|
|
376
|
+
var M = ee(D);
|
|
377
|
+
return new c(
|
|
378
|
+
"Invalid " + B + " `" + A + "` of type " + ("`" + M + "` supplied to `" + $ + "`, expected ") + ("`" + g + "`."),
|
|
379
379
|
{ expectedType: g }
|
|
380
380
|
);
|
|
381
381
|
}
|
|
382
382
|
return null;
|
|
383
383
|
}
|
|
384
|
-
return
|
|
384
|
+
return v(C);
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
return
|
|
386
|
+
function I() {
|
|
387
|
+
return v(s);
|
|
388
388
|
}
|
|
389
|
-
function
|
|
390
|
-
function
|
|
389
|
+
function J(g) {
|
|
390
|
+
function C(R, _, $, B, A) {
|
|
391
391
|
if (typeof g != "function")
|
|
392
|
-
return new
|
|
393
|
-
var
|
|
394
|
-
if (!Array.isArray(
|
|
395
|
-
var
|
|
396
|
-
return new
|
|
392
|
+
return new c("Property `" + A + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
|
|
393
|
+
var k = R[_];
|
|
394
|
+
if (!Array.isArray(k)) {
|
|
395
|
+
var D = N(k);
|
|
396
|
+
return new c("Invalid " + B + " `" + A + "` of type " + ("`" + D + "` supplied to `" + $ + "`, expected an array."));
|
|
397
397
|
}
|
|
398
|
-
for (var
|
|
399
|
-
var
|
|
400
|
-
if (
|
|
401
|
-
return
|
|
398
|
+
for (var W = 0; W < k.length; W++) {
|
|
399
|
+
var M = g(k, W, $, B, A + "[" + W + "]", r);
|
|
400
|
+
if (M instanceof Error)
|
|
401
|
+
return M;
|
|
402
402
|
}
|
|
403
403
|
return null;
|
|
404
404
|
}
|
|
405
|
-
return
|
|
405
|
+
return v(C);
|
|
406
406
|
}
|
|
407
|
-
function
|
|
408
|
-
function g(
|
|
409
|
-
var
|
|
410
|
-
if (!l(
|
|
411
|
-
var
|
|
412
|
-
return new
|
|
407
|
+
function x() {
|
|
408
|
+
function g(C, R, _, $, B) {
|
|
409
|
+
var A = C[R];
|
|
410
|
+
if (!l(A)) {
|
|
411
|
+
var k = N(A);
|
|
412
|
+
return new c("Invalid " + $ + " `" + B + "` of type " + ("`" + k + "` supplied to `" + _ + "`, expected a single ReactElement."));
|
|
413
413
|
}
|
|
414
414
|
return null;
|
|
415
415
|
}
|
|
416
|
-
return
|
|
416
|
+
return v(g);
|
|
417
417
|
}
|
|
418
|
-
function
|
|
419
|
-
function g(
|
|
420
|
-
var
|
|
421
|
-
if (!e.isValidElementType(
|
|
422
|
-
var
|
|
423
|
-
return new
|
|
418
|
+
function Q() {
|
|
419
|
+
function g(C, R, _, $, B) {
|
|
420
|
+
var A = C[R];
|
|
421
|
+
if (!e.isValidElementType(A)) {
|
|
422
|
+
var k = N(A);
|
|
423
|
+
return new c("Invalid " + $ + " `" + B + "` of type " + ("`" + k + "` supplied to `" + _ + "`, expected a single ReactElement type."));
|
|
424
424
|
}
|
|
425
425
|
return null;
|
|
426
426
|
}
|
|
427
|
-
return
|
|
427
|
+
return v(g);
|
|
428
428
|
}
|
|
429
|
-
function
|
|
430
|
-
function
|
|
431
|
-
if (!(
|
|
432
|
-
var
|
|
433
|
-
return new
|
|
429
|
+
function E(g) {
|
|
430
|
+
function C(R, _, $, B, A) {
|
|
431
|
+
if (!(R[_] instanceof g)) {
|
|
432
|
+
var k = g.name || m, D = xr(R[_]);
|
|
433
|
+
return new c("Invalid " + B + " `" + A + "` of type " + ("`" + D + "` supplied to `" + $ + "`, expected ") + ("instance of `" + k + "`."));
|
|
434
434
|
}
|
|
435
435
|
return null;
|
|
436
436
|
}
|
|
437
|
-
return
|
|
437
|
+
return v(C);
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function G(g) {
|
|
440
440
|
if (!Array.isArray(g))
|
|
441
441
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
442
442
|
"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])."
|
|
443
|
-
) : i("Invalid argument supplied to oneOf, expected an array.")),
|
|
444
|
-
function
|
|
445
|
-
for (var
|
|
446
|
-
if (y(
|
|
443
|
+
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
444
|
+
function C(R, _, $, B, A) {
|
|
445
|
+
for (var k = R[_], D = 0; D < g.length; D++)
|
|
446
|
+
if (y(k, g[D]))
|
|
447
447
|
return null;
|
|
448
|
-
var
|
|
449
|
-
var
|
|
450
|
-
return
|
|
448
|
+
var W = JSON.stringify(g, function(ie, re) {
|
|
449
|
+
var Te = ee(re);
|
|
450
|
+
return Te === "symbol" ? String(re) : re;
|
|
451
451
|
});
|
|
452
|
-
return new
|
|
452
|
+
return new c("Invalid " + B + " `" + A + "` of value `" + String(k) + "` " + ("supplied to `" + $ + "`, expected one of " + W + "."));
|
|
453
453
|
}
|
|
454
|
-
return
|
|
454
|
+
return v(C);
|
|
455
455
|
}
|
|
456
|
-
function
|
|
457
|
-
function
|
|
456
|
+
function Z(g) {
|
|
457
|
+
function C(R, _, $, B, A) {
|
|
458
458
|
if (typeof g != "function")
|
|
459
|
-
return new
|
|
460
|
-
var
|
|
461
|
-
if (
|
|
462
|
-
return new
|
|
463
|
-
for (var
|
|
464
|
-
if (n(
|
|
465
|
-
var
|
|
466
|
-
if (
|
|
467
|
-
return
|
|
459
|
+
return new c("Property `" + A + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
|
|
460
|
+
var k = R[_], D = N(k);
|
|
461
|
+
if (D !== "object")
|
|
462
|
+
return new c("Invalid " + B + " `" + A + "` of type " + ("`" + D + "` supplied to `" + $ + "`, expected an object."));
|
|
463
|
+
for (var W in k)
|
|
464
|
+
if (n(k, W)) {
|
|
465
|
+
var M = g(k, W, $, B, A + "." + W, r);
|
|
466
|
+
if (M instanceof Error)
|
|
467
|
+
return M;
|
|
468
468
|
}
|
|
469
469
|
return null;
|
|
470
470
|
}
|
|
471
|
-
return
|
|
471
|
+
return v(C);
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function U(g) {
|
|
474
474
|
if (!Array.isArray(g))
|
|
475
|
-
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."),
|
|
476
|
-
for (var
|
|
477
|
-
var
|
|
478
|
-
if (typeof
|
|
475
|
+
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
476
|
+
for (var C = 0; C < g.length; C++) {
|
|
477
|
+
var R = g[C];
|
|
478
|
+
if (typeof R != "function")
|
|
479
479
|
return i(
|
|
480
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
481
|
-
),
|
|
480
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + de(R) + " at index " + C + "."
|
|
481
|
+
), s;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
484
|
-
for (var
|
|
485
|
-
var
|
|
486
|
-
if (
|
|
483
|
+
function _($, B, A, k, D) {
|
|
484
|
+
for (var W = [], M = 0; M < g.length; M++) {
|
|
485
|
+
var ie = g[M], re = ie($, B, A, k, D, r);
|
|
486
|
+
if (re == null)
|
|
487
487
|
return null;
|
|
488
|
-
|
|
488
|
+
re.data && n(re.data, "expectedType") && W.push(re.data.expectedType);
|
|
489
489
|
}
|
|
490
|
-
var
|
|
491
|
-
return new
|
|
490
|
+
var Te = W.length > 0 ? ", expected one of type [" + W.join(", ") + "]" : "";
|
|
491
|
+
return new c("Invalid " + k + " `" + D + "` supplied to " + ("`" + A + "`" + Te + "."));
|
|
492
492
|
}
|
|
493
|
-
return
|
|
493
|
+
return v(_);
|
|
494
494
|
}
|
|
495
|
-
function
|
|
496
|
-
function g(
|
|
497
|
-
return
|
|
495
|
+
function te() {
|
|
496
|
+
function g(C, R, _, $, B) {
|
|
497
|
+
return b(C[R]) ? null : new c("Invalid " + $ + " `" + B + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
|
|
498
498
|
}
|
|
499
|
-
return
|
|
499
|
+
return v(g);
|
|
500
500
|
}
|
|
501
|
-
function
|
|
502
|
-
return new
|
|
503
|
-
(g || "React class") + ": " +
|
|
501
|
+
function X(g, C, R, _, $) {
|
|
502
|
+
return new c(
|
|
503
|
+
(g || "React class") + ": " + C + " type `" + R + "." + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
|
|
504
504
|
);
|
|
505
505
|
}
|
|
506
|
-
function
|
|
507
|
-
function
|
|
508
|
-
var
|
|
509
|
-
if (
|
|
510
|
-
return new
|
|
511
|
-
for (var
|
|
512
|
-
var
|
|
513
|
-
if (typeof
|
|
514
|
-
return
|
|
515
|
-
var
|
|
516
|
-
if (
|
|
517
|
-
return
|
|
506
|
+
function a(g) {
|
|
507
|
+
function C(R, _, $, B, A) {
|
|
508
|
+
var k = R[_], D = N(k);
|
|
509
|
+
if (D !== "object")
|
|
510
|
+
return new c("Invalid " + B + " `" + A + "` of type `" + D + "` " + ("supplied to `" + $ + "`, expected `object`."));
|
|
511
|
+
for (var W in g) {
|
|
512
|
+
var M = g[W];
|
|
513
|
+
if (typeof M != "function")
|
|
514
|
+
return X($, B, A, W, ee(M));
|
|
515
|
+
var ie = M(k, W, $, B, A + "." + W, r);
|
|
516
|
+
if (ie)
|
|
517
|
+
return ie;
|
|
518
518
|
}
|
|
519
519
|
return null;
|
|
520
520
|
}
|
|
521
|
-
return
|
|
521
|
+
return v(C);
|
|
522
522
|
}
|
|
523
|
-
function
|
|
524
|
-
function
|
|
525
|
-
var
|
|
526
|
-
if (
|
|
527
|
-
return new
|
|
528
|
-
var
|
|
529
|
-
for (var
|
|
530
|
-
var
|
|
531
|
-
if (n(g,
|
|
532
|
-
return
|
|
533
|
-
if (!
|
|
534
|
-
return new
|
|
535
|
-
"Invalid " +
|
|
523
|
+
function T(g) {
|
|
524
|
+
function C(R, _, $, B, A) {
|
|
525
|
+
var k = R[_], D = N(k);
|
|
526
|
+
if (D !== "object")
|
|
527
|
+
return new c("Invalid " + B + " `" + A + "` of type `" + D + "` " + ("supplied to `" + $ + "`, expected `object`."));
|
|
528
|
+
var W = t({}, R[_], g);
|
|
529
|
+
for (var M in W) {
|
|
530
|
+
var ie = g[M];
|
|
531
|
+
if (n(g, M) && typeof ie != "function")
|
|
532
|
+
return X($, B, A, M, ee(ie));
|
|
533
|
+
if (!ie)
|
|
534
|
+
return new c(
|
|
535
|
+
"Invalid " + B + " `" + A + "` key `" + M + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(R[_], null, " ") + `
|
|
536
536
|
Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
537
537
|
);
|
|
538
|
-
var
|
|
539
|
-
if (
|
|
540
|
-
return
|
|
538
|
+
var re = ie(k, M, $, B, A + "." + M, r);
|
|
539
|
+
if (re)
|
|
540
|
+
return re;
|
|
541
541
|
}
|
|
542
542
|
return null;
|
|
543
543
|
}
|
|
544
|
-
return
|
|
544
|
+
return v(C);
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function b(g) {
|
|
547
547
|
switch (typeof g) {
|
|
548
548
|
case "number":
|
|
549
549
|
case "string":
|
|
@@ -553,20 +553,20 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
553
553
|
return !g;
|
|
554
554
|
case "object":
|
|
555
555
|
if (Array.isArray(g))
|
|
556
|
-
return g.every(
|
|
556
|
+
return g.every(b);
|
|
557
557
|
if (g === null || l(g))
|
|
558
558
|
return !0;
|
|
559
|
-
var
|
|
560
|
-
if (
|
|
561
|
-
var
|
|
562
|
-
if (
|
|
563
|
-
for (; !(
|
|
564
|
-
if (!
|
|
559
|
+
var C = h(g);
|
|
560
|
+
if (C) {
|
|
561
|
+
var R = C.call(g), _;
|
|
562
|
+
if (C !== g.entries) {
|
|
563
|
+
for (; !(_ = R.next()).done; )
|
|
564
|
+
if (!b(_.value))
|
|
565
565
|
return !1;
|
|
566
566
|
} else
|
|
567
|
-
for (; !(
|
|
568
|
-
var
|
|
569
|
-
if (
|
|
567
|
+
for (; !(_ = R.next()).done; ) {
|
|
568
|
+
var $ = _.value;
|
|
569
|
+
if ($ && !b($[1]))
|
|
570
570
|
return !1;
|
|
571
571
|
}
|
|
572
572
|
} else
|
|
@@ -576,61 +576,61 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
576
576
|
return !1;
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
function
|
|
580
|
-
return g === "symbol" ? !0 :
|
|
579
|
+
function w(g, C) {
|
|
580
|
+
return g === "symbol" ? !0 : C ? C["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && C instanceof Symbol : !1;
|
|
581
581
|
}
|
|
582
|
-
function
|
|
583
|
-
var
|
|
584
|
-
return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" :
|
|
582
|
+
function N(g) {
|
|
583
|
+
var C = typeof g;
|
|
584
|
+
return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : w(C, g) ? "symbol" : C;
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function ee(g) {
|
|
587
587
|
if (typeof g > "u" || g === null)
|
|
588
588
|
return "" + g;
|
|
589
|
-
var
|
|
590
|
-
if (
|
|
589
|
+
var C = N(g);
|
|
590
|
+
if (C === "object") {
|
|
591
591
|
if (g instanceof Date)
|
|
592
592
|
return "date";
|
|
593
593
|
if (g instanceof RegExp)
|
|
594
594
|
return "regexp";
|
|
595
595
|
}
|
|
596
|
-
return
|
|
596
|
+
return C;
|
|
597
597
|
}
|
|
598
|
-
function
|
|
599
|
-
var
|
|
600
|
-
switch (
|
|
598
|
+
function de(g) {
|
|
599
|
+
var C = ee(g);
|
|
600
|
+
switch (C) {
|
|
601
601
|
case "array":
|
|
602
602
|
case "object":
|
|
603
|
-
return "an " +
|
|
603
|
+
return "an " + C;
|
|
604
604
|
case "boolean":
|
|
605
605
|
case "date":
|
|
606
606
|
case "regexp":
|
|
607
|
-
return "a " +
|
|
607
|
+
return "a " + C;
|
|
608
608
|
default:
|
|
609
|
-
return
|
|
609
|
+
return C;
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function
|
|
613
|
-
return !g.constructor || !g.constructor.name ?
|
|
612
|
+
function xr(g) {
|
|
613
|
+
return !g.constructor || !g.constructor.name ? m : g.constructor.name;
|
|
614
614
|
}
|
|
615
|
-
return
|
|
616
|
-
},
|
|
617
|
-
}
|
|
618
|
-
var
|
|
619
|
-
function
|
|
620
|
-
if (
|
|
621
|
-
|
|
622
|
-
var e = /* @__PURE__ */
|
|
615
|
+
return S.checkPropTypes = o, S.resetWarningCache = o.resetWarningCache, S.PropTypes = S, S;
|
|
616
|
+
}, ct;
|
|
617
|
+
}
|
|
618
|
+
var ut, Mt;
|
|
619
|
+
function Yr() {
|
|
620
|
+
if (Mt) return ut;
|
|
621
|
+
Mt = 1;
|
|
622
|
+
var e = /* @__PURE__ */ Ct();
|
|
623
623
|
function t() {
|
|
624
624
|
}
|
|
625
625
|
function r() {
|
|
626
626
|
}
|
|
627
|
-
return r.resetWarningCache = t,
|
|
628
|
-
function n(
|
|
627
|
+
return r.resetWarningCache = t, ut = function() {
|
|
628
|
+
function n(s, l, f, d, p, h) {
|
|
629
629
|
if (h !== e) {
|
|
630
|
-
var
|
|
630
|
+
var m = new Error(
|
|
631
631
|
"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"
|
|
632
632
|
);
|
|
633
|
-
throw
|
|
633
|
+
throw m.name = "Invariant Violation", m;
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
636
|
n.isRequired = n;
|
|
@@ -661,80 +661,80 @@ function Wr() {
|
|
|
661
661
|
resetWarningCache: t
|
|
662
662
|
};
|
|
663
663
|
return i.PropTypes = i, i;
|
|
664
|
-
},
|
|
665
|
-
}
|
|
666
|
-
var
|
|
667
|
-
function
|
|
668
|
-
if (
|
|
669
|
-
if (
|
|
670
|
-
var e = /* @__PURE__ */
|
|
671
|
-
|
|
664
|
+
}, ut;
|
|
665
|
+
}
|
|
666
|
+
var jt;
|
|
667
|
+
function qr() {
|
|
668
|
+
if (jt) return Me.exports;
|
|
669
|
+
if (jt = 1, process.env.NODE_ENV !== "production") {
|
|
670
|
+
var e = /* @__PURE__ */ St(), t = !0;
|
|
671
|
+
Me.exports = /* @__PURE__ */ Gr()(e.isElement, t);
|
|
672
672
|
} else
|
|
673
|
-
|
|
674
|
-
return
|
|
673
|
+
Me.exports = /* @__PURE__ */ Yr()();
|
|
674
|
+
return Me.exports;
|
|
675
675
|
}
|
|
676
|
-
var
|
|
677
|
-
const
|
|
678
|
-
function
|
|
676
|
+
var Kr = /* @__PURE__ */ qr();
|
|
677
|
+
const P = /* @__PURE__ */ $r(Kr);
|
|
678
|
+
function ir(e) {
|
|
679
679
|
var t, r, n = "";
|
|
680
680
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
681
681
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
682
682
|
var o = e.length;
|
|
683
|
-
for (t = 0; t < o; t++) e[t] && (r =
|
|
683
|
+
for (t = 0; t < o; t++) e[t] && (r = ir(e[t])) && (n && (n += " "), n += r);
|
|
684
684
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
685
685
|
return n;
|
|
686
686
|
}
|
|
687
|
-
function
|
|
688
|
-
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t =
|
|
687
|
+
function ar() {
|
|
688
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = ir(e)) && (n && (n += " "), n += t);
|
|
689
689
|
return n;
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function Hr(e, t, r = void 0) {
|
|
692
692
|
const n = {};
|
|
693
693
|
for (const o in e) {
|
|
694
694
|
const i = e[o];
|
|
695
|
-
let
|
|
696
|
-
for (let
|
|
697
|
-
const
|
|
698
|
-
|
|
695
|
+
let s = "", l = !0;
|
|
696
|
+
for (let f = 0; f < i.length; f += 1) {
|
|
697
|
+
const d = i[f];
|
|
698
|
+
d && (s += (l === !0 ? "" : " ") + t(d), l = !1, r && r[d] && (s += " " + r[d]));
|
|
699
699
|
}
|
|
700
|
-
n[o] =
|
|
700
|
+
n[o] = s;
|
|
701
701
|
}
|
|
702
702
|
return n;
|
|
703
703
|
}
|
|
704
|
-
var
|
|
705
|
-
function
|
|
704
|
+
var Le = /* @__PURE__ */ St();
|
|
705
|
+
function ue(e) {
|
|
706
706
|
if (typeof e != "object" || e === null)
|
|
707
707
|
return !1;
|
|
708
708
|
const t = Object.getPrototypeOf(e);
|
|
709
709
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
710
710
|
}
|
|
711
|
-
function
|
|
712
|
-
if (/* @__PURE__ */
|
|
711
|
+
function sr(e) {
|
|
712
|
+
if (/* @__PURE__ */ me.isValidElement(e) || Le.isValidElementType(e) || !ue(e))
|
|
713
713
|
return e;
|
|
714
714
|
const t = {};
|
|
715
715
|
return Object.keys(e).forEach((r) => {
|
|
716
|
-
t[r] =
|
|
716
|
+
t[r] = sr(e[r]);
|
|
717
717
|
}), t;
|
|
718
718
|
}
|
|
719
|
-
function
|
|
719
|
+
function oe(e, t, r = {
|
|
720
720
|
clone: !0
|
|
721
721
|
}) {
|
|
722
722
|
const n = r.clone ? {
|
|
723
723
|
...e
|
|
724
724
|
} : e;
|
|
725
|
-
return
|
|
726
|
-
/* @__PURE__ */
|
|
727
|
-
Object.prototype.hasOwnProperty.call(e, o) &&
|
|
725
|
+
return ue(e) && ue(t) && Object.keys(t).forEach((o) => {
|
|
726
|
+
/* @__PURE__ */ me.isValidElement(t[o]) || Le.isValidElementType(t[o]) ? n[o] = t[o] : ue(t[o]) && // Avoid prototype pollution
|
|
727
|
+
Object.prototype.hasOwnProperty.call(e, o) && ue(e[o]) ? n[o] = oe(e[o], t[o], r) : r.clone ? n[o] = ue(t[o]) ? sr(t[o]) : t[o] : n[o] = t[o];
|
|
728
728
|
}), n;
|
|
729
729
|
}
|
|
730
|
-
function
|
|
731
|
-
return t ?
|
|
730
|
+
function Ie(e, t) {
|
|
731
|
+
return t ? oe(e, t, {
|
|
732
732
|
clone: !1
|
|
733
733
|
// No need to clone deep, it's way faster.
|
|
734
734
|
}) : e;
|
|
735
735
|
}
|
|
736
|
-
const
|
|
737
|
-
function
|
|
736
|
+
const ye = process.env.NODE_ENV !== "production" ? P.oneOfType([P.number, P.string, P.object, P.array]) : {};
|
|
737
|
+
function Vt(e, t) {
|
|
738
738
|
if (!e.containerQueries)
|
|
739
739
|
return t;
|
|
740
740
|
const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
@@ -748,26 +748,26 @@ function Mt(e, t) {
|
|
|
748
748
|
...t
|
|
749
749
|
}) : t;
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function Qr(e, t) {
|
|
752
752
|
return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function Xr(e, t) {
|
|
755
755
|
const r = t.match(/^@([^/]+)?\/?(.+)?$/);
|
|
756
756
|
if (!r) {
|
|
757
757
|
if (process.env.NODE_ENV !== "production")
|
|
758
758
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
759
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` :
|
|
759
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : he(18, `(${t})`));
|
|
760
760
|
return null;
|
|
761
761
|
}
|
|
762
762
|
const [, n, o] = r, i = Number.isNaN(+n) ? n || 0 : +n;
|
|
763
763
|
return e.containerQueries(o).up(i);
|
|
764
764
|
}
|
|
765
|
-
function
|
|
766
|
-
const t = (i,
|
|
767
|
-
function r(i,
|
|
768
|
-
i.up = (...l) => t(e.breakpoints.up(...l),
|
|
769
|
-
const
|
|
770
|
-
return
|
|
765
|
+
function Jr(e) {
|
|
766
|
+
const t = (i, s) => i.replace("@media", s ? `@container ${s}` : "@container");
|
|
767
|
+
function r(i, s) {
|
|
768
|
+
i.up = (...l) => t(e.breakpoints.up(...l), s), i.down = (...l) => t(e.breakpoints.down(...l), s), i.between = (...l) => t(e.breakpoints.between(...l), s), i.only = (...l) => t(e.breakpoints.only(...l), s), i.not = (...l) => {
|
|
769
|
+
const f = t(e.breakpoints.not(...l), s);
|
|
770
|
+
return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
|
|
771
771
|
};
|
|
772
772
|
}
|
|
773
773
|
const n = {}, o = (i) => (r(n, i), n);
|
|
@@ -776,7 +776,7 @@ function Kr(e) {
|
|
|
776
776
|
containerQueries: o
|
|
777
777
|
};
|
|
778
778
|
}
|
|
779
|
-
const
|
|
779
|
+
const Ge = {
|
|
780
780
|
xs: 0,
|
|
781
781
|
// phone
|
|
782
782
|
sm: 600,
|
|
@@ -787,56 +787,56 @@ const Ue = {
|
|
|
787
787
|
// desktop
|
|
788
788
|
xl: 1536
|
|
789
789
|
// large screen
|
|
790
|
-
},
|
|
790
|
+
}, Ft = {
|
|
791
791
|
// Sorted ASC by size. That's important.
|
|
792
792
|
// It can't be configured as it's used statically for propTypes.
|
|
793
793
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
794
|
-
up: (e) => `@media (min-width:${
|
|
795
|
-
},
|
|
794
|
+
up: (e) => `@media (min-width:${Ge[e]}px)`
|
|
795
|
+
}, Zr = {
|
|
796
796
|
containerQueries: (e) => ({
|
|
797
797
|
up: (t) => {
|
|
798
|
-
let r = typeof t == "number" ? t :
|
|
798
|
+
let r = typeof t == "number" ? t : Ge[t] || t;
|
|
799
799
|
return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
|
|
800
800
|
}
|
|
801
801
|
})
|
|
802
802
|
};
|
|
803
|
-
function
|
|
803
|
+
function fe(e, t, r) {
|
|
804
804
|
const n = e.theme || {};
|
|
805
805
|
if (Array.isArray(t)) {
|
|
806
|
-
const i = n.breakpoints ||
|
|
807
|
-
return t.reduce((
|
|
806
|
+
const i = n.breakpoints || Ft;
|
|
807
|
+
return t.reduce((s, l, f) => (s[i.up(i.keys[f])] = r(t[f]), s), {});
|
|
808
808
|
}
|
|
809
809
|
if (typeof t == "object") {
|
|
810
|
-
const i = n.breakpoints ||
|
|
811
|
-
return Object.keys(t).reduce((
|
|
812
|
-
if (
|
|
813
|
-
const
|
|
814
|
-
|
|
815
|
-
} else if (Object.keys(i.values ||
|
|
816
|
-
const
|
|
817
|
-
|
|
810
|
+
const i = n.breakpoints || Ft;
|
|
811
|
+
return Object.keys(t).reduce((s, l) => {
|
|
812
|
+
if (Qr(i.keys, l)) {
|
|
813
|
+
const f = Xr(n.containerQueries ? n : Zr, l);
|
|
814
|
+
f && (s[f] = r(t[l], l));
|
|
815
|
+
} else if (Object.keys(i.values || Ge).includes(l)) {
|
|
816
|
+
const f = i.up(l);
|
|
817
|
+
s[f] = r(t[l], l);
|
|
818
818
|
} else {
|
|
819
|
-
const
|
|
820
|
-
|
|
819
|
+
const f = l;
|
|
820
|
+
s[f] = t[f];
|
|
821
821
|
}
|
|
822
|
-
return
|
|
822
|
+
return s;
|
|
823
823
|
}, {});
|
|
824
824
|
}
|
|
825
825
|
return r(t);
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function en(e = {}) {
|
|
828
828
|
return e.keys?.reduce((r, n) => {
|
|
829
829
|
const o = e.up(n);
|
|
830
830
|
return r[o] = {}, r;
|
|
831
831
|
}, {}) || {};
|
|
832
832
|
}
|
|
833
|
-
function
|
|
833
|
+
function Lt(e, t) {
|
|
834
834
|
return e.reduce((r, n) => {
|
|
835
835
|
const o = r[n];
|
|
836
836
|
return (!o || Object.keys(o).length === 0) && delete r[n], r;
|
|
837
837
|
}, t);
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function Ye(e, t, r = !0) {
|
|
840
840
|
if (!t || typeof t != "string")
|
|
841
841
|
return null;
|
|
842
842
|
if (e && e.vars && r) {
|
|
@@ -846,9 +846,9 @@ function Ge(e, t, r = !0) {
|
|
|
846
846
|
}
|
|
847
847
|
return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function We(e, t, r, n = r) {
|
|
850
850
|
let o;
|
|
851
|
-
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o =
|
|
851
|
+
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = Ye(e, r) || n, t && (o = t(o, n, e)), o;
|
|
852
852
|
}
|
|
853
853
|
function H(e) {
|
|
854
854
|
const {
|
|
@@ -856,272 +856,272 @@ function H(e) {
|
|
|
856
856
|
cssProperty: r = e.prop,
|
|
857
857
|
themeKey: n,
|
|
858
858
|
transform: o
|
|
859
|
-
} = e, i = (
|
|
860
|
-
if (
|
|
859
|
+
} = e, i = (s) => {
|
|
860
|
+
if (s[t] == null)
|
|
861
861
|
return null;
|
|
862
|
-
const l =
|
|
863
|
-
return
|
|
864
|
-
let
|
|
865
|
-
return h ===
|
|
866
|
-
[r]:
|
|
862
|
+
const l = s[t], f = s.theme, d = Ye(f, n) || {};
|
|
863
|
+
return fe(s, l, (h) => {
|
|
864
|
+
let m = We(d, o, h);
|
|
865
|
+
return h === m && typeof h == "string" && (m = We(d, o, `${t}${h === "default" ? "" : Ce(h)}`, h)), r === !1 ? m : {
|
|
866
|
+
[r]: m
|
|
867
867
|
};
|
|
868
868
|
});
|
|
869
869
|
};
|
|
870
870
|
return i.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
871
|
-
[t]:
|
|
871
|
+
[t]: ye
|
|
872
872
|
} : {}, i.filterProps = [t], i;
|
|
873
873
|
}
|
|
874
|
-
function
|
|
874
|
+
function tn(e) {
|
|
875
875
|
const t = {};
|
|
876
876
|
return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
|
|
877
877
|
}
|
|
878
|
-
const
|
|
878
|
+
const rn = {
|
|
879
879
|
m: "margin",
|
|
880
880
|
p: "padding"
|
|
881
|
-
},
|
|
881
|
+
}, nn = {
|
|
882
882
|
t: "Top",
|
|
883
883
|
r: "Right",
|
|
884
884
|
b: "Bottom",
|
|
885
885
|
l: "Left",
|
|
886
886
|
x: ["Left", "Right"],
|
|
887
887
|
y: ["Top", "Bottom"]
|
|
888
|
-
},
|
|
888
|
+
}, Wt = {
|
|
889
889
|
marginX: "mx",
|
|
890
890
|
marginY: "my",
|
|
891
891
|
paddingX: "px",
|
|
892
892
|
paddingY: "py"
|
|
893
|
-
},
|
|
893
|
+
}, on = tn((e) => {
|
|
894
894
|
if (e.length > 2)
|
|
895
|
-
if (
|
|
896
|
-
e =
|
|
895
|
+
if (Wt[e])
|
|
896
|
+
e = Wt[e];
|
|
897
897
|
else
|
|
898
898
|
return [e];
|
|
899
|
-
const [t, r] = e.split(""), n =
|
|
899
|
+
const [t, r] = e.split(""), n = rn[t], o = nn[r] || "";
|
|
900
900
|
return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
|
|
901
|
-
}),
|
|
902
|
-
function
|
|
903
|
-
const o =
|
|
901
|
+
}), qe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ke = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], an = [...qe, ...Ke];
|
|
902
|
+
function Be(e, t, r, n) {
|
|
903
|
+
const o = Ye(e, t, !0) ?? r;
|
|
904
904
|
return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? o.startsWith("var(") && i === 0 ? 0 : o.startsWith("var(") && i === 1 ? o : `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
|
|
905
905
|
if (typeof i == "string")
|
|
906
906
|
return i;
|
|
907
|
-
const
|
|
908
|
-
process.env.NODE_ENV !== "production" && (Number.isInteger(
|
|
907
|
+
const s = Math.abs(i);
|
|
908
|
+
process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > o.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${s} > ${o.length - 1}, you need to add the missing values.`].join(`
|
|
909
909
|
`)) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
910
910
|
`)));
|
|
911
|
-
const l = o[
|
|
911
|
+
const l = o[s];
|
|
912
912
|
return i >= 0 ? l : typeof l == "number" ? -l : typeof l == "string" && l.startsWith("var(") ? `calc(-1 * ${l})` : `-${l}`;
|
|
913
913
|
} : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
914
914
|
`)), () => {
|
|
915
915
|
});
|
|
916
916
|
}
|
|
917
|
-
function
|
|
918
|
-
return
|
|
917
|
+
function Tt(e) {
|
|
918
|
+
return Be(e, "spacing", 8, "spacing");
|
|
919
919
|
}
|
|
920
|
-
function
|
|
920
|
+
function De(e, t) {
|
|
921
921
|
return typeof t == "string" || t == null ? t : e(t);
|
|
922
922
|
}
|
|
923
|
-
function
|
|
924
|
-
return (r) => e.reduce((n, o) => (n[o] =
|
|
923
|
+
function sn(e, t) {
|
|
924
|
+
return (r) => e.reduce((n, o) => (n[o] = De(t, r), n), {});
|
|
925
925
|
}
|
|
926
|
-
function
|
|
926
|
+
function ln(e, t, r, n) {
|
|
927
927
|
if (!t.includes(r))
|
|
928
928
|
return null;
|
|
929
|
-
const o =
|
|
930
|
-
return
|
|
929
|
+
const o = on(r), i = sn(o, n), s = e[r];
|
|
930
|
+
return fe(e, s, i);
|
|
931
931
|
}
|
|
932
|
-
function
|
|
933
|
-
const r =
|
|
934
|
-
return Object.keys(e).map((n) =>
|
|
932
|
+
function lr(e, t) {
|
|
933
|
+
const r = Tt(e.theme);
|
|
934
|
+
return Object.keys(e).map((n) => ln(e, t, n, r)).reduce(Ie, {});
|
|
935
935
|
}
|
|
936
|
-
function G(e) {
|
|
937
|
-
return ir(e, Ye);
|
|
938
|
-
}
|
|
939
|
-
G.propTypes = process.env.NODE_ENV !== "production" ? Ye.reduce((e, t) => (e[t] = ge, e), {}) : {};
|
|
940
|
-
G.filterProps = Ye;
|
|
941
936
|
function Y(e) {
|
|
942
|
-
return
|
|
937
|
+
return lr(e, qe);
|
|
943
938
|
}
|
|
944
|
-
Y.propTypes = process.env.NODE_ENV !== "production" ? qe.reduce((e, t) => (e[t] =
|
|
939
|
+
Y.propTypes = process.env.NODE_ENV !== "production" ? qe.reduce((e, t) => (e[t] = ye, e), {}) : {};
|
|
945
940
|
Y.filterProps = qe;
|
|
946
|
-
|
|
947
|
-
|
|
941
|
+
function q(e) {
|
|
942
|
+
return lr(e, Ke);
|
|
943
|
+
}
|
|
944
|
+
q.propTypes = process.env.NODE_ENV !== "production" ? Ke.reduce((e, t) => (e[t] = ye, e), {}) : {};
|
|
945
|
+
q.filterProps = Ke;
|
|
946
|
+
process.env.NODE_ENV !== "production" && an.reduce((e, t) => (e[t] = ye, e), {});
|
|
947
|
+
function He(...e) {
|
|
948
948
|
const t = e.reduce((n, o) => (o.filterProps.forEach((i) => {
|
|
949
949
|
n[i] = o;
|
|
950
|
-
}), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ?
|
|
950
|
+
}), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ? Ie(o, t[i](n)) : o, {});
|
|
951
951
|
return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
|
|
952
952
|
}
|
|
953
|
-
function
|
|
953
|
+
function ae(e) {
|
|
954
954
|
return typeof e != "number" ? e : `${e}px solid`;
|
|
955
955
|
}
|
|
956
|
-
function
|
|
956
|
+
function se(e, t) {
|
|
957
957
|
return H({
|
|
958
958
|
prop: e,
|
|
959
959
|
themeKey: "borders",
|
|
960
960
|
transform: t
|
|
961
961
|
});
|
|
962
962
|
}
|
|
963
|
-
const
|
|
963
|
+
const cn = se("border", ae), un = se("borderTop", ae), fn = se("borderRight", ae), dn = se("borderBottom", ae), pn = se("borderLeft", ae), mn = se("borderColor"), hn = se("borderTopColor"), gn = se("borderRightColor"), yn = se("borderBottomColor"), bn = se("borderLeftColor"), vn = se("outline", ae), Sn = se("outlineColor"), Qe = (e) => {
|
|
964
964
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
965
|
-
const t =
|
|
966
|
-
borderRadius:
|
|
965
|
+
const t = Be(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
966
|
+
borderRadius: De(t, n)
|
|
967
967
|
});
|
|
968
|
-
return
|
|
968
|
+
return fe(e, e.borderRadius, r);
|
|
969
969
|
}
|
|
970
970
|
return null;
|
|
971
971
|
};
|
|
972
|
-
|
|
973
|
-
borderRadius:
|
|
972
|
+
Qe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
973
|
+
borderRadius: ye
|
|
974
974
|
} : {};
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
const
|
|
975
|
+
Qe.filterProps = ["borderRadius"];
|
|
976
|
+
He(cn, un, fn, dn, pn, mn, hn, gn, yn, bn, Qe, vn, Sn);
|
|
977
|
+
const Xe = (e) => {
|
|
978
978
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
979
|
-
const t =
|
|
980
|
-
gap:
|
|
979
|
+
const t = Be(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
980
|
+
gap: De(t, n)
|
|
981
981
|
});
|
|
982
|
-
return
|
|
982
|
+
return fe(e, e.gap, r);
|
|
983
983
|
}
|
|
984
984
|
return null;
|
|
985
985
|
};
|
|
986
|
-
|
|
987
|
-
gap:
|
|
986
|
+
Xe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
987
|
+
gap: ye
|
|
988
988
|
} : {};
|
|
989
|
-
|
|
990
|
-
const
|
|
989
|
+
Xe.filterProps = ["gap"];
|
|
990
|
+
const Je = (e) => {
|
|
991
991
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
992
|
-
const t =
|
|
993
|
-
columnGap:
|
|
992
|
+
const t = Be(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
|
|
993
|
+
columnGap: De(t, n)
|
|
994
994
|
});
|
|
995
|
-
return
|
|
995
|
+
return fe(e, e.columnGap, r);
|
|
996
996
|
}
|
|
997
997
|
return null;
|
|
998
998
|
};
|
|
999
|
-
|
|
1000
|
-
columnGap:
|
|
999
|
+
Je.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1000
|
+
columnGap: ye
|
|
1001
1001
|
} : {};
|
|
1002
|
-
|
|
1003
|
-
const
|
|
1002
|
+
Je.filterProps = ["columnGap"];
|
|
1003
|
+
const Ze = (e) => {
|
|
1004
1004
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1005
|
-
const t =
|
|
1006
|
-
rowGap:
|
|
1005
|
+
const t = Be(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
|
|
1006
|
+
rowGap: De(t, n)
|
|
1007
1007
|
});
|
|
1008
|
-
return
|
|
1008
|
+
return fe(e, e.rowGap, r);
|
|
1009
1009
|
}
|
|
1010
1010
|
return null;
|
|
1011
1011
|
};
|
|
1012
|
-
|
|
1013
|
-
rowGap:
|
|
1012
|
+
Ze.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1013
|
+
rowGap: ye
|
|
1014
1014
|
} : {};
|
|
1015
|
-
|
|
1016
|
-
const
|
|
1015
|
+
Ze.filterProps = ["rowGap"];
|
|
1016
|
+
const Cn = H({
|
|
1017
1017
|
prop: "gridColumn"
|
|
1018
|
-
}),
|
|
1018
|
+
}), Tn = H({
|
|
1019
1019
|
prop: "gridRow"
|
|
1020
|
-
}),
|
|
1020
|
+
}), En = H({
|
|
1021
1021
|
prop: "gridAutoFlow"
|
|
1022
|
-
}),
|
|
1022
|
+
}), xn = H({
|
|
1023
1023
|
prop: "gridAutoColumns"
|
|
1024
|
-
}),
|
|
1024
|
+
}), wn = H({
|
|
1025
1025
|
prop: "gridAutoRows"
|
|
1026
|
-
}),
|
|
1026
|
+
}), $n = H({
|
|
1027
1027
|
prop: "gridTemplateColumns"
|
|
1028
|
-
}),
|
|
1028
|
+
}), On = H({
|
|
1029
1029
|
prop: "gridTemplateRows"
|
|
1030
|
-
}),
|
|
1030
|
+
}), An = H({
|
|
1031
1031
|
prop: "gridTemplateAreas"
|
|
1032
|
-
}),
|
|
1032
|
+
}), _n = H({
|
|
1033
1033
|
prop: "gridArea"
|
|
1034
1034
|
});
|
|
1035
|
-
|
|
1036
|
-
function
|
|
1035
|
+
He(Xe, Je, Ze, Cn, Tn, En, xn, wn, $n, On, An, _n);
|
|
1036
|
+
function Ae(e, t) {
|
|
1037
1037
|
return t === "grey" ? t : e;
|
|
1038
1038
|
}
|
|
1039
|
-
const
|
|
1039
|
+
const kn = H({
|
|
1040
1040
|
prop: "color",
|
|
1041
1041
|
themeKey: "palette",
|
|
1042
|
-
transform:
|
|
1043
|
-
}),
|
|
1042
|
+
transform: Ae
|
|
1043
|
+
}), Rn = H({
|
|
1044
1044
|
prop: "bgcolor",
|
|
1045
1045
|
cssProperty: "backgroundColor",
|
|
1046
1046
|
themeKey: "palette",
|
|
1047
|
-
transform:
|
|
1048
|
-
}),
|
|
1047
|
+
transform: Ae
|
|
1048
|
+
}), Pn = H({
|
|
1049
1049
|
prop: "backgroundColor",
|
|
1050
1050
|
themeKey: "palette",
|
|
1051
|
-
transform:
|
|
1051
|
+
transform: Ae
|
|
1052
1052
|
});
|
|
1053
|
-
|
|
1054
|
-
function
|
|
1053
|
+
He(kn, Rn, Pn);
|
|
1054
|
+
function ne(e) {
|
|
1055
1055
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1056
1056
|
}
|
|
1057
|
-
const
|
|
1057
|
+
const In = H({
|
|
1058
1058
|
prop: "width",
|
|
1059
|
-
transform:
|
|
1060
|
-
}),
|
|
1059
|
+
transform: ne
|
|
1060
|
+
}), Et = (e) => {
|
|
1061
1061
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
1062
1062
|
const t = (r) => {
|
|
1063
|
-
const n = e.theme?.breakpoints?.values?.[r] ||
|
|
1063
|
+
const n = e.theme?.breakpoints?.values?.[r] || Ge[r];
|
|
1064
1064
|
return n ? e.theme?.breakpoints?.unit !== "px" ? {
|
|
1065
1065
|
maxWidth: `${n}${e.theme.breakpoints.unit}`
|
|
1066
1066
|
} : {
|
|
1067
1067
|
maxWidth: n
|
|
1068
1068
|
} : {
|
|
1069
|
-
maxWidth:
|
|
1069
|
+
maxWidth: ne(r)
|
|
1070
1070
|
};
|
|
1071
1071
|
};
|
|
1072
|
-
return
|
|
1072
|
+
return fe(e, e.maxWidth, t);
|
|
1073
1073
|
}
|
|
1074
1074
|
return null;
|
|
1075
1075
|
};
|
|
1076
|
-
|
|
1077
|
-
const
|
|
1076
|
+
Et.filterProps = ["maxWidth"];
|
|
1077
|
+
const Nn = H({
|
|
1078
1078
|
prop: "minWidth",
|
|
1079
|
-
transform:
|
|
1080
|
-
}),
|
|
1079
|
+
transform: ne
|
|
1080
|
+
}), Bn = H({
|
|
1081
1081
|
prop: "height",
|
|
1082
|
-
transform:
|
|
1083
|
-
}),
|
|
1082
|
+
transform: ne
|
|
1083
|
+
}), Dn = H({
|
|
1084
1084
|
prop: "maxHeight",
|
|
1085
|
-
transform:
|
|
1086
|
-
}),
|
|
1085
|
+
transform: ne
|
|
1086
|
+
}), Mn = H({
|
|
1087
1087
|
prop: "minHeight",
|
|
1088
|
-
transform:
|
|
1088
|
+
transform: ne
|
|
1089
1089
|
});
|
|
1090
1090
|
H({
|
|
1091
1091
|
prop: "size",
|
|
1092
1092
|
cssProperty: "width",
|
|
1093
|
-
transform:
|
|
1093
|
+
transform: ne
|
|
1094
1094
|
});
|
|
1095
1095
|
H({
|
|
1096
1096
|
prop: "size",
|
|
1097
1097
|
cssProperty: "height",
|
|
1098
|
-
transform:
|
|
1098
|
+
transform: ne
|
|
1099
1099
|
});
|
|
1100
|
-
const
|
|
1100
|
+
const jn = H({
|
|
1101
1101
|
prop: "boxSizing"
|
|
1102
1102
|
});
|
|
1103
|
-
|
|
1104
|
-
const
|
|
1103
|
+
He(In, Et, Nn, Bn, Dn, Mn, jn);
|
|
1104
|
+
const et = {
|
|
1105
1105
|
// borders
|
|
1106
1106
|
border: {
|
|
1107
1107
|
themeKey: "borders",
|
|
1108
|
-
transform:
|
|
1108
|
+
transform: ae
|
|
1109
1109
|
},
|
|
1110
1110
|
borderTop: {
|
|
1111
1111
|
themeKey: "borders",
|
|
1112
|
-
transform:
|
|
1112
|
+
transform: ae
|
|
1113
1113
|
},
|
|
1114
1114
|
borderRight: {
|
|
1115
1115
|
themeKey: "borders",
|
|
1116
|
-
transform:
|
|
1116
|
+
transform: ae
|
|
1117
1117
|
},
|
|
1118
1118
|
borderBottom: {
|
|
1119
1119
|
themeKey: "borders",
|
|
1120
|
-
transform:
|
|
1120
|
+
transform: ae
|
|
1121
1121
|
},
|
|
1122
1122
|
borderLeft: {
|
|
1123
1123
|
themeKey: "borders",
|
|
1124
|
-
transform:
|
|
1124
|
+
transform: ae
|
|
1125
1125
|
},
|
|
1126
1126
|
borderColor: {
|
|
1127
1127
|
themeKey: "palette"
|
|
@@ -1140,149 +1140,149 @@ const Ze = {
|
|
|
1140
1140
|
},
|
|
1141
1141
|
outline: {
|
|
1142
1142
|
themeKey: "borders",
|
|
1143
|
-
transform:
|
|
1143
|
+
transform: ae
|
|
1144
1144
|
},
|
|
1145
1145
|
outlineColor: {
|
|
1146
1146
|
themeKey: "palette"
|
|
1147
1147
|
},
|
|
1148
1148
|
borderRadius: {
|
|
1149
1149
|
themeKey: "shape.borderRadius",
|
|
1150
|
-
style:
|
|
1150
|
+
style: Qe
|
|
1151
1151
|
},
|
|
1152
1152
|
// palette
|
|
1153
1153
|
color: {
|
|
1154
1154
|
themeKey: "palette",
|
|
1155
|
-
transform:
|
|
1155
|
+
transform: Ae
|
|
1156
1156
|
},
|
|
1157
1157
|
bgcolor: {
|
|
1158
1158
|
themeKey: "palette",
|
|
1159
1159
|
cssProperty: "backgroundColor",
|
|
1160
|
-
transform:
|
|
1160
|
+
transform: Ae
|
|
1161
1161
|
},
|
|
1162
1162
|
backgroundColor: {
|
|
1163
1163
|
themeKey: "palette",
|
|
1164
|
-
transform:
|
|
1164
|
+
transform: Ae
|
|
1165
1165
|
},
|
|
1166
1166
|
// spacing
|
|
1167
1167
|
p: {
|
|
1168
|
-
style:
|
|
1168
|
+
style: q
|
|
1169
1169
|
},
|
|
1170
1170
|
pt: {
|
|
1171
|
-
style:
|
|
1171
|
+
style: q
|
|
1172
1172
|
},
|
|
1173
1173
|
pr: {
|
|
1174
|
-
style:
|
|
1174
|
+
style: q
|
|
1175
1175
|
},
|
|
1176
1176
|
pb: {
|
|
1177
|
-
style:
|
|
1177
|
+
style: q
|
|
1178
1178
|
},
|
|
1179
1179
|
pl: {
|
|
1180
|
-
style:
|
|
1180
|
+
style: q
|
|
1181
1181
|
},
|
|
1182
1182
|
px: {
|
|
1183
|
-
style:
|
|
1183
|
+
style: q
|
|
1184
1184
|
},
|
|
1185
1185
|
py: {
|
|
1186
|
-
style:
|
|
1186
|
+
style: q
|
|
1187
1187
|
},
|
|
1188
1188
|
padding: {
|
|
1189
|
-
style:
|
|
1189
|
+
style: q
|
|
1190
1190
|
},
|
|
1191
1191
|
paddingTop: {
|
|
1192
|
-
style:
|
|
1192
|
+
style: q
|
|
1193
1193
|
},
|
|
1194
1194
|
paddingRight: {
|
|
1195
|
-
style:
|
|
1195
|
+
style: q
|
|
1196
1196
|
},
|
|
1197
1197
|
paddingBottom: {
|
|
1198
|
-
style:
|
|
1198
|
+
style: q
|
|
1199
1199
|
},
|
|
1200
1200
|
paddingLeft: {
|
|
1201
|
-
style:
|
|
1201
|
+
style: q
|
|
1202
1202
|
},
|
|
1203
1203
|
paddingX: {
|
|
1204
|
-
style:
|
|
1204
|
+
style: q
|
|
1205
1205
|
},
|
|
1206
1206
|
paddingY: {
|
|
1207
|
-
style:
|
|
1207
|
+
style: q
|
|
1208
1208
|
},
|
|
1209
1209
|
paddingInline: {
|
|
1210
|
-
style:
|
|
1210
|
+
style: q
|
|
1211
1211
|
},
|
|
1212
1212
|
paddingInlineStart: {
|
|
1213
|
-
style:
|
|
1213
|
+
style: q
|
|
1214
1214
|
},
|
|
1215
1215
|
paddingInlineEnd: {
|
|
1216
|
-
style:
|
|
1216
|
+
style: q
|
|
1217
1217
|
},
|
|
1218
1218
|
paddingBlock: {
|
|
1219
|
-
style:
|
|
1219
|
+
style: q
|
|
1220
1220
|
},
|
|
1221
1221
|
paddingBlockStart: {
|
|
1222
|
-
style:
|
|
1222
|
+
style: q
|
|
1223
1223
|
},
|
|
1224
1224
|
paddingBlockEnd: {
|
|
1225
|
-
style:
|
|
1225
|
+
style: q
|
|
1226
1226
|
},
|
|
1227
1227
|
m: {
|
|
1228
|
-
style:
|
|
1228
|
+
style: Y
|
|
1229
1229
|
},
|
|
1230
1230
|
mt: {
|
|
1231
|
-
style:
|
|
1231
|
+
style: Y
|
|
1232
1232
|
},
|
|
1233
1233
|
mr: {
|
|
1234
|
-
style:
|
|
1234
|
+
style: Y
|
|
1235
1235
|
},
|
|
1236
1236
|
mb: {
|
|
1237
|
-
style:
|
|
1237
|
+
style: Y
|
|
1238
1238
|
},
|
|
1239
1239
|
ml: {
|
|
1240
|
-
style:
|
|
1240
|
+
style: Y
|
|
1241
1241
|
},
|
|
1242
1242
|
mx: {
|
|
1243
|
-
style:
|
|
1243
|
+
style: Y
|
|
1244
1244
|
},
|
|
1245
1245
|
my: {
|
|
1246
|
-
style:
|
|
1246
|
+
style: Y
|
|
1247
1247
|
},
|
|
1248
1248
|
margin: {
|
|
1249
|
-
style:
|
|
1249
|
+
style: Y
|
|
1250
1250
|
},
|
|
1251
1251
|
marginTop: {
|
|
1252
|
-
style:
|
|
1252
|
+
style: Y
|
|
1253
1253
|
},
|
|
1254
1254
|
marginRight: {
|
|
1255
|
-
style:
|
|
1255
|
+
style: Y
|
|
1256
1256
|
},
|
|
1257
1257
|
marginBottom: {
|
|
1258
|
-
style:
|
|
1258
|
+
style: Y
|
|
1259
1259
|
},
|
|
1260
1260
|
marginLeft: {
|
|
1261
|
-
style:
|
|
1261
|
+
style: Y
|
|
1262
1262
|
},
|
|
1263
1263
|
marginX: {
|
|
1264
|
-
style:
|
|
1264
|
+
style: Y
|
|
1265
1265
|
},
|
|
1266
1266
|
marginY: {
|
|
1267
|
-
style:
|
|
1267
|
+
style: Y
|
|
1268
1268
|
},
|
|
1269
1269
|
marginInline: {
|
|
1270
|
-
style:
|
|
1270
|
+
style: Y
|
|
1271
1271
|
},
|
|
1272
1272
|
marginInlineStart: {
|
|
1273
|
-
style:
|
|
1273
|
+
style: Y
|
|
1274
1274
|
},
|
|
1275
1275
|
marginInlineEnd: {
|
|
1276
|
-
style:
|
|
1276
|
+
style: Y
|
|
1277
1277
|
},
|
|
1278
1278
|
marginBlock: {
|
|
1279
|
-
style:
|
|
1279
|
+
style: Y
|
|
1280
1280
|
},
|
|
1281
1281
|
marginBlockStart: {
|
|
1282
|
-
style:
|
|
1282
|
+
style: Y
|
|
1283
1283
|
},
|
|
1284
1284
|
marginBlockEnd: {
|
|
1285
|
-
style:
|
|
1285
|
+
style: Y
|
|
1286
1286
|
},
|
|
1287
1287
|
// display
|
|
1288
1288
|
displayPrint: {
|
|
@@ -1314,13 +1314,13 @@ const Ze = {
|
|
|
1314
1314
|
justifySelf: {},
|
|
1315
1315
|
// grid
|
|
1316
1316
|
gap: {
|
|
1317
|
-
style:
|
|
1317
|
+
style: Xe
|
|
1318
1318
|
},
|
|
1319
1319
|
rowGap: {
|
|
1320
|
-
style:
|
|
1320
|
+
style: Ze
|
|
1321
1321
|
},
|
|
1322
1322
|
columnGap: {
|
|
1323
|
-
style:
|
|
1323
|
+
style: Je
|
|
1324
1324
|
},
|
|
1325
1325
|
gridColumn: {},
|
|
1326
1326
|
gridRow: {},
|
|
@@ -1346,22 +1346,22 @@ const Ze = {
|
|
|
1346
1346
|
},
|
|
1347
1347
|
// sizing
|
|
1348
1348
|
width: {
|
|
1349
|
-
transform:
|
|
1349
|
+
transform: ne
|
|
1350
1350
|
},
|
|
1351
1351
|
maxWidth: {
|
|
1352
|
-
style:
|
|
1352
|
+
style: Et
|
|
1353
1353
|
},
|
|
1354
1354
|
minWidth: {
|
|
1355
|
-
transform:
|
|
1355
|
+
transform: ne
|
|
1356
1356
|
},
|
|
1357
1357
|
height: {
|
|
1358
|
-
transform:
|
|
1358
|
+
transform: ne
|
|
1359
1359
|
},
|
|
1360
1360
|
maxHeight: {
|
|
1361
|
-
transform:
|
|
1361
|
+
transform: ne
|
|
1362
1362
|
},
|
|
1363
1363
|
minHeight: {
|
|
1364
|
-
transform:
|
|
1364
|
+
transform: ne
|
|
1365
1365
|
},
|
|
1366
1366
|
boxSizing: {},
|
|
1367
1367
|
// typography
|
|
@@ -1389,16 +1389,16 @@ const Ze = {
|
|
|
1389
1389
|
themeKey: "typography"
|
|
1390
1390
|
}
|
|
1391
1391
|
};
|
|
1392
|
-
function
|
|
1392
|
+
function Vn(...e) {
|
|
1393
1393
|
const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
|
|
1394
1394
|
return e.every((n) => r.size === Object.keys(n).length);
|
|
1395
1395
|
}
|
|
1396
|
-
function
|
|
1396
|
+
function Fn(e, t) {
|
|
1397
1397
|
return typeof e == "function" ? e(t) : e;
|
|
1398
1398
|
}
|
|
1399
|
-
function
|
|
1399
|
+
function Ln() {
|
|
1400
1400
|
function e(r, n, o, i) {
|
|
1401
|
-
const
|
|
1401
|
+
const s = {
|
|
1402
1402
|
[r]: n,
|
|
1403
1403
|
theme: o
|
|
1404
1404
|
}, l = i[r];
|
|
@@ -1407,22 +1407,22 @@ function Mn() {
|
|
|
1407
1407
|
[r]: n
|
|
1408
1408
|
};
|
|
1409
1409
|
const {
|
|
1410
|
-
cssProperty:
|
|
1411
|
-
themeKey:
|
|
1412
|
-
transform:
|
|
1410
|
+
cssProperty: f = r,
|
|
1411
|
+
themeKey: d,
|
|
1412
|
+
transform: p,
|
|
1413
1413
|
style: h
|
|
1414
1414
|
} = l;
|
|
1415
1415
|
if (n == null)
|
|
1416
1416
|
return null;
|
|
1417
|
-
if (
|
|
1417
|
+
if (d === "typography" && n === "inherit")
|
|
1418
1418
|
return {
|
|
1419
1419
|
[r]: n
|
|
1420
1420
|
};
|
|
1421
|
-
const
|
|
1422
|
-
return h ? h(
|
|
1423
|
-
let
|
|
1424
|
-
return y ===
|
|
1425
|
-
[
|
|
1421
|
+
const m = Ye(o, d) || {};
|
|
1422
|
+
return h ? h(s) : fe(s, n, (y) => {
|
|
1423
|
+
let c = We(m, p, y);
|
|
1424
|
+
return y === c && typeof y == "string" && (c = We(m, p, `${r}${y === "default" ? "" : Ce(y)}`, y)), f === !1 ? c : {
|
|
1425
|
+
[f]: c
|
|
1426
1426
|
};
|
|
1427
1427
|
});
|
|
1428
1428
|
}
|
|
@@ -1434,48 +1434,48 @@ function Mn() {
|
|
|
1434
1434
|
} = r || {};
|
|
1435
1435
|
if (!n)
|
|
1436
1436
|
return null;
|
|
1437
|
-
const
|
|
1438
|
-
function l(
|
|
1439
|
-
let
|
|
1440
|
-
if (typeof
|
|
1441
|
-
|
|
1442
|
-
else if (typeof
|
|
1443
|
-
return
|
|
1444
|
-
if (!
|
|
1437
|
+
const s = o.unstable_sxConfig ?? et;
|
|
1438
|
+
function l(f) {
|
|
1439
|
+
let d = f;
|
|
1440
|
+
if (typeof f == "function")
|
|
1441
|
+
d = f(o);
|
|
1442
|
+
else if (typeof f != "object")
|
|
1443
|
+
return f;
|
|
1444
|
+
if (!d)
|
|
1445
1445
|
return null;
|
|
1446
|
-
const
|
|
1447
|
-
let
|
|
1448
|
-
return Object.keys(
|
|
1449
|
-
const y =
|
|
1446
|
+
const p = en(o.breakpoints), h = Object.keys(p);
|
|
1447
|
+
let m = p;
|
|
1448
|
+
return Object.keys(d).forEach((S) => {
|
|
1449
|
+
const y = Fn(d[S], o);
|
|
1450
1450
|
if (y != null)
|
|
1451
1451
|
if (typeof y == "object")
|
|
1452
|
-
if (
|
|
1453
|
-
|
|
1452
|
+
if (s[S])
|
|
1453
|
+
m = Ie(m, e(S, y, o, s));
|
|
1454
1454
|
else {
|
|
1455
|
-
const
|
|
1455
|
+
const c = fe({
|
|
1456
1456
|
theme: o
|
|
1457
|
-
}, y, (
|
|
1458
|
-
[
|
|
1457
|
+
}, y, (v) => ({
|
|
1458
|
+
[S]: v
|
|
1459
1459
|
}));
|
|
1460
|
-
|
|
1460
|
+
Vn(c, y) ? m[S] = t({
|
|
1461
1461
|
sx: y,
|
|
1462
1462
|
theme: o,
|
|
1463
1463
|
nested: !0
|
|
1464
|
-
}) :
|
|
1464
|
+
}) : m = Ie(m, c);
|
|
1465
1465
|
}
|
|
1466
1466
|
else
|
|
1467
|
-
|
|
1467
|
+
m = Ie(m, e(S, y, o, s));
|
|
1468
1468
|
}), !i && o.modularCssLayers ? {
|
|
1469
|
-
"@layer sx":
|
|
1470
|
-
} :
|
|
1469
|
+
"@layer sx": Vt(o, Lt(h, m))
|
|
1470
|
+
} : Vt(o, Lt(h, m));
|
|
1471
1471
|
}
|
|
1472
1472
|
return Array.isArray(n) ? n.map(l) : l(n);
|
|
1473
1473
|
}
|
|
1474
1474
|
return t;
|
|
1475
1475
|
}
|
|
1476
|
-
const
|
|
1477
|
-
|
|
1478
|
-
function
|
|
1476
|
+
const _e = Ln();
|
|
1477
|
+
_e.filterProps = ["sx"];
|
|
1478
|
+
function Wn(e) {
|
|
1479
1479
|
for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
|
|
1480
1480
|
r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
|
|
1481
1481
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
@@ -1494,7 +1494,7 @@ function jn(e) {
|
|
|
1494
1494
|
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
1495
1495
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
1496
1496
|
}
|
|
1497
|
-
var
|
|
1497
|
+
var zn = {
|
|
1498
1498
|
animationIterationCount: 1,
|
|
1499
1499
|
aspectRatio: 1,
|
|
1500
1500
|
borderImageOutset: 1,
|
|
@@ -1544,34 +1544,34 @@ var Vn = {
|
|
|
1544
1544
|
strokeOpacity: 1,
|
|
1545
1545
|
strokeWidth: 1
|
|
1546
1546
|
};
|
|
1547
|
-
function
|
|
1547
|
+
function Un(e) {
|
|
1548
1548
|
var t = /* @__PURE__ */ Object.create(null);
|
|
1549
1549
|
return function(r) {
|
|
1550
1550
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
1551
1551
|
};
|
|
1552
1552
|
}
|
|
1553
|
-
var
|
|
1553
|
+
var Gn = /[A-Z]|^ms/g, Yn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, cr = function(t) {
|
|
1554
1554
|
return t.charCodeAt(1) === 45;
|
|
1555
|
-
},
|
|
1555
|
+
}, zt = function(t) {
|
|
1556
1556
|
return t != null && typeof t != "boolean";
|
|
1557
|
-
},
|
|
1558
|
-
return
|
|
1559
|
-
}),
|
|
1557
|
+
}, ft = /* @__PURE__ */ Un(function(e) {
|
|
1558
|
+
return cr(e) ? e : e.replace(Gn, "-$&").toLowerCase();
|
|
1559
|
+
}), Ut = function(t, r) {
|
|
1560
1560
|
switch (t) {
|
|
1561
1561
|
case "animation":
|
|
1562
1562
|
case "animationName":
|
|
1563
1563
|
if (typeof r == "string")
|
|
1564
|
-
return r.replace(
|
|
1565
|
-
return
|
|
1564
|
+
return r.replace(Yn, function(n, o, i) {
|
|
1565
|
+
return pe = {
|
|
1566
1566
|
name: o,
|
|
1567
1567
|
styles: i,
|
|
1568
|
-
next:
|
|
1568
|
+
next: pe
|
|
1569
1569
|
}, o;
|
|
1570
1570
|
});
|
|
1571
1571
|
}
|
|
1572
|
-
return
|
|
1572
|
+
return zn[t] !== 1 && !cr(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
1573
1573
|
};
|
|
1574
|
-
function
|
|
1574
|
+
function ze(e, t, r) {
|
|
1575
1575
|
if (r == null)
|
|
1576
1576
|
return "";
|
|
1577
1577
|
var n = r;
|
|
@@ -1583,110 +1583,110 @@ function We(e, t, r) {
|
|
|
1583
1583
|
case "object": {
|
|
1584
1584
|
var o = r;
|
|
1585
1585
|
if (o.anim === 1)
|
|
1586
|
-
return
|
|
1586
|
+
return pe = {
|
|
1587
1587
|
name: o.name,
|
|
1588
1588
|
styles: o.styles,
|
|
1589
|
-
next:
|
|
1589
|
+
next: pe
|
|
1590
1590
|
}, o.name;
|
|
1591
1591
|
var i = r;
|
|
1592
1592
|
if (i.styles !== void 0) {
|
|
1593
|
-
var
|
|
1594
|
-
if (
|
|
1595
|
-
for (;
|
|
1596
|
-
|
|
1597
|
-
name:
|
|
1598
|
-
styles:
|
|
1599
|
-
next:
|
|
1600
|
-
},
|
|
1593
|
+
var s = i.next;
|
|
1594
|
+
if (s !== void 0)
|
|
1595
|
+
for (; s !== void 0; )
|
|
1596
|
+
pe = {
|
|
1597
|
+
name: s.name,
|
|
1598
|
+
styles: s.styles,
|
|
1599
|
+
next: pe
|
|
1600
|
+
}, s = s.next;
|
|
1601
1601
|
var l = i.styles + ";";
|
|
1602
1602
|
return l;
|
|
1603
1603
|
}
|
|
1604
|
-
return
|
|
1604
|
+
return qn(e, t, r);
|
|
1605
1605
|
}
|
|
1606
1606
|
}
|
|
1607
|
-
var
|
|
1608
|
-
return
|
|
1607
|
+
var f = r;
|
|
1608
|
+
return f;
|
|
1609
1609
|
}
|
|
1610
|
-
function
|
|
1610
|
+
function qn(e, t, r) {
|
|
1611
1611
|
var n = "";
|
|
1612
1612
|
if (Array.isArray(r))
|
|
1613
1613
|
for (var o = 0; o < r.length; o++)
|
|
1614
|
-
n +=
|
|
1614
|
+
n += ze(e, t, r[o]) + ";";
|
|
1615
1615
|
else
|
|
1616
1616
|
for (var i in r) {
|
|
1617
|
-
var
|
|
1618
|
-
if (typeof
|
|
1619
|
-
var l =
|
|
1620
|
-
|
|
1621
|
-
} else if (Array.isArray(
|
|
1622
|
-
for (var
|
|
1623
|
-
|
|
1617
|
+
var s = r[i];
|
|
1618
|
+
if (typeof s != "object") {
|
|
1619
|
+
var l = s;
|
|
1620
|
+
zt(l) && (n += ft(i) + ":" + Ut(i, l) + ";");
|
|
1621
|
+
} else if (Array.isArray(s) && typeof s[0] == "string" && t == null)
|
|
1622
|
+
for (var f = 0; f < s.length; f++)
|
|
1623
|
+
zt(s[f]) && (n += ft(i) + ":" + Ut(i, s[f]) + ";");
|
|
1624
1624
|
else {
|
|
1625
|
-
var
|
|
1625
|
+
var d = ze(e, t, s);
|
|
1626
1626
|
switch (i) {
|
|
1627
1627
|
case "animation":
|
|
1628
1628
|
case "animationName": {
|
|
1629
|
-
n +=
|
|
1629
|
+
n += ft(i) + ":" + d + ";";
|
|
1630
1630
|
break;
|
|
1631
1631
|
}
|
|
1632
1632
|
default:
|
|
1633
|
-
n += i + "{" +
|
|
1633
|
+
n += i + "{" + d + "}";
|
|
1634
1634
|
}
|
|
1635
1635
|
}
|
|
1636
1636
|
}
|
|
1637
1637
|
return n;
|
|
1638
1638
|
}
|
|
1639
|
-
var
|
|
1640
|
-
function
|
|
1639
|
+
var Gt = /label:\s*([^\s;{]+)\s*(;|$)/g, pe;
|
|
1640
|
+
function Kn(e, t, r) {
|
|
1641
1641
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1642
1642
|
return e[0];
|
|
1643
1643
|
var n = !0, o = "";
|
|
1644
|
-
|
|
1644
|
+
pe = void 0;
|
|
1645
1645
|
var i = e[0];
|
|
1646
1646
|
if (i == null || i.raw === void 0)
|
|
1647
|
-
n = !1, o +=
|
|
1647
|
+
n = !1, o += ze(r, t, i);
|
|
1648
1648
|
else {
|
|
1649
|
-
var
|
|
1650
|
-
o +=
|
|
1649
|
+
var s = i;
|
|
1650
|
+
o += s[0];
|
|
1651
1651
|
}
|
|
1652
1652
|
for (var l = 1; l < e.length; l++)
|
|
1653
|
-
if (o +=
|
|
1654
|
-
var
|
|
1655
|
-
o +=
|
|
1653
|
+
if (o += ze(r, t, e[l]), n) {
|
|
1654
|
+
var f = i;
|
|
1655
|
+
o += f[l];
|
|
1656
1656
|
}
|
|
1657
|
-
|
|
1658
|
-
for (var
|
|
1659
|
-
|
|
1660
|
-
var h =
|
|
1657
|
+
Gt.lastIndex = 0;
|
|
1658
|
+
for (var d = "", p; (p = Gt.exec(o)) !== null; )
|
|
1659
|
+
d += "-" + p[1];
|
|
1660
|
+
var h = Wn(o) + d;
|
|
1661
1661
|
return {
|
|
1662
1662
|
name: h,
|
|
1663
1663
|
styles: o,
|
|
1664
|
-
next:
|
|
1664
|
+
next: pe
|
|
1665
1665
|
};
|
|
1666
1666
|
}
|
|
1667
1667
|
/**
|
|
1668
|
-
* @mui/styled-engine v7.
|
|
1668
|
+
* @mui/styled-engine v7.3.1
|
|
1669
1669
|
*
|
|
1670
1670
|
* @license MIT
|
|
1671
1671
|
* This source code is licensed under the MIT license found in the
|
|
1672
1672
|
* LICENSE file in the root directory of this source tree.
|
|
1673
1673
|
*/
|
|
1674
|
-
function
|
|
1675
|
-
const r =
|
|
1674
|
+
function Hn(e, t) {
|
|
1675
|
+
const r = Or(e, t);
|
|
1676
1676
|
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
1677
1677
|
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
1678
1678
|
return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
1679
1679
|
`)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
|
|
1680
1680
|
} : r;
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1682
|
+
function Qn(e, t) {
|
|
1683
1683
|
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
1684
1684
|
}
|
|
1685
|
-
const
|
|
1686
|
-
function
|
|
1687
|
-
return
|
|
1685
|
+
const Yt = [];
|
|
1686
|
+
function Se(e) {
|
|
1687
|
+
return Yt[0] = e, Kn(Yt);
|
|
1688
1688
|
}
|
|
1689
|
-
const
|
|
1689
|
+
const Xn = (e) => {
|
|
1690
1690
|
const t = Object.keys(e).map((r) => ({
|
|
1691
1691
|
key: r,
|
|
1692
1692
|
val: e[r]
|
|
@@ -1696,7 +1696,7 @@ const qn = (e) => {
|
|
|
1696
1696
|
[n.key]: n.val
|
|
1697
1697
|
}), {});
|
|
1698
1698
|
};
|
|
1699
|
-
function
|
|
1699
|
+
function Jn(e) {
|
|
1700
1700
|
const {
|
|
1701
1701
|
// The breakpoint **start** at this value.
|
|
1702
1702
|
// For instance with the first breakpoint xs: [xs, sm).
|
|
@@ -1715,51 +1715,51 @@ function Kn(e) {
|
|
|
1715
1715
|
unit: r = "px",
|
|
1716
1716
|
step: n = 5,
|
|
1717
1717
|
...o
|
|
1718
|
-
} = e, i =
|
|
1719
|
-
function l(
|
|
1720
|
-
return `@media (min-width:${typeof t[
|
|
1718
|
+
} = e, i = Xn(t), s = Object.keys(i);
|
|
1719
|
+
function l(m) {
|
|
1720
|
+
return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${r})`;
|
|
1721
1721
|
}
|
|
1722
|
-
function
|
|
1723
|
-
return `@media (max-width:${(typeof t[
|
|
1722
|
+
function f(m) {
|
|
1723
|
+
return `@media (max-width:${(typeof t[m] == "number" ? t[m] : m) - n / 100}${r})`;
|
|
1724
1724
|
}
|
|
1725
|
-
function
|
|
1726
|
-
const y =
|
|
1727
|
-
return `@media (min-width:${typeof t[
|
|
1725
|
+
function d(m, S) {
|
|
1726
|
+
const y = s.indexOf(S);
|
|
1727
|
+
return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${r}) and (max-width:${(y !== -1 && typeof t[s[y]] == "number" ? t[s[y]] : S) - n / 100}${r})`;
|
|
1728
1728
|
}
|
|
1729
|
-
function m
|
|
1730
|
-
return
|
|
1729
|
+
function p(m) {
|
|
1730
|
+
return s.indexOf(m) + 1 < s.length ? d(m, s[s.indexOf(m) + 1]) : l(m);
|
|
1731
1731
|
}
|
|
1732
|
-
function h(
|
|
1733
|
-
const
|
|
1734
|
-
return
|
|
1732
|
+
function h(m) {
|
|
1733
|
+
const S = s.indexOf(m);
|
|
1734
|
+
return S === 0 ? l(s[1]) : S === s.length - 1 ? f(s[S]) : d(m, s[s.indexOf(m) + 1]).replace("@media", "@media not all and");
|
|
1735
1735
|
}
|
|
1736
1736
|
return {
|
|
1737
|
-
keys:
|
|
1737
|
+
keys: s,
|
|
1738
1738
|
values: i,
|
|
1739
1739
|
up: l,
|
|
1740
|
-
down:
|
|
1741
|
-
between:
|
|
1742
|
-
only:
|
|
1740
|
+
down: f,
|
|
1741
|
+
between: d,
|
|
1742
|
+
only: p,
|
|
1743
1743
|
not: h,
|
|
1744
1744
|
unit: r,
|
|
1745
1745
|
...o
|
|
1746
1746
|
};
|
|
1747
1747
|
}
|
|
1748
|
-
const
|
|
1748
|
+
const Zn = {
|
|
1749
1749
|
borderRadius: 4
|
|
1750
1750
|
};
|
|
1751
|
-
function
|
|
1751
|
+
function ur(e = 8, t = Tt({
|
|
1752
1752
|
spacing: e
|
|
1753
1753
|
})) {
|
|
1754
1754
|
if (e.mui)
|
|
1755
1755
|
return e;
|
|
1756
1756
|
const r = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((i) => {
|
|
1757
|
-
const
|
|
1758
|
-
return typeof
|
|
1757
|
+
const s = t(i);
|
|
1758
|
+
return typeof s == "number" ? `${s}px` : s;
|
|
1759
1759
|
}).join(" "));
|
|
1760
1760
|
return r.mui = !0, r;
|
|
1761
1761
|
}
|
|
1762
|
-
function
|
|
1762
|
+
function eo(e, t) {
|
|
1763
1763
|
const r = this;
|
|
1764
1764
|
if (r.vars) {
|
|
1765
1765
|
if (!r.colorSchemes?.[e] || typeof r.getColorSchemeSelector != "function")
|
|
@@ -1771,15 +1771,15 @@ function Qn(e, t) {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
return r.palette.mode === e ? t : {};
|
|
1773
1773
|
}
|
|
1774
|
-
function
|
|
1774
|
+
function fr(e = {}, ...t) {
|
|
1775
1775
|
const {
|
|
1776
1776
|
breakpoints: r = {},
|
|
1777
1777
|
palette: n = {},
|
|
1778
1778
|
spacing: o,
|
|
1779
1779
|
shape: i = {},
|
|
1780
|
-
...
|
|
1781
|
-
} = e, l =
|
|
1782
|
-
let
|
|
1780
|
+
...s
|
|
1781
|
+
} = e, l = Jn(r), f = ur(o);
|
|
1782
|
+
let d = oe({
|
|
1783
1783
|
breakpoints: l,
|
|
1784
1784
|
direction: "ltr",
|
|
1785
1785
|
components: {},
|
|
@@ -1788,23 +1788,23 @@ function cr(e = {}, ...t) {
|
|
|
1788
1788
|
mode: "light",
|
|
1789
1789
|
...n
|
|
1790
1790
|
},
|
|
1791
|
-
spacing:
|
|
1791
|
+
spacing: f,
|
|
1792
1792
|
shape: {
|
|
1793
|
-
...
|
|
1793
|
+
...Zn,
|
|
1794
1794
|
...i
|
|
1795
1795
|
}
|
|
1796
|
-
},
|
|
1797
|
-
return
|
|
1798
|
-
...
|
|
1799
|
-
...
|
|
1800
|
-
},
|
|
1801
|
-
return
|
|
1796
|
+
}, s);
|
|
1797
|
+
return d = Jr(d), d.applyStyles = eo, d = t.reduce((p, h) => oe(p, h), d), d.unstable_sxConfig = {
|
|
1798
|
+
...et,
|
|
1799
|
+
...s?.unstable_sxConfig
|
|
1800
|
+
}, d.unstable_sx = function(h) {
|
|
1801
|
+
return _e({
|
|
1802
1802
|
sx: h,
|
|
1803
1803
|
theme: this
|
|
1804
1804
|
});
|
|
1805
|
-
},
|
|
1805
|
+
}, d;
|
|
1806
1806
|
}
|
|
1807
|
-
const
|
|
1807
|
+
const to = {
|
|
1808
1808
|
active: "active",
|
|
1809
1809
|
checked: "checked",
|
|
1810
1810
|
completed: "completed",
|
|
@@ -1818,200 +1818,200 @@ const Xn = {
|
|
|
1818
1818
|
required: "required",
|
|
1819
1819
|
selected: "selected"
|
|
1820
1820
|
};
|
|
1821
|
-
function
|
|
1822
|
-
const n =
|
|
1823
|
-
return n ? `${r}-${n}` : `${
|
|
1821
|
+
function xt(e, t, r = "Mui") {
|
|
1822
|
+
const n = to[t];
|
|
1823
|
+
return n ? `${r}-${n}` : `${Fr.generate(e)}-${t}`;
|
|
1824
1824
|
}
|
|
1825
|
-
function
|
|
1825
|
+
function ro(e, t, r = "Mui") {
|
|
1826
1826
|
const n = {};
|
|
1827
1827
|
return t.forEach((o) => {
|
|
1828
|
-
n[o] =
|
|
1828
|
+
n[o] = xt(e, o, r);
|
|
1829
1829
|
}), n;
|
|
1830
1830
|
}
|
|
1831
|
-
function
|
|
1831
|
+
function dr(e, t = "") {
|
|
1832
1832
|
return e.displayName || e.name || t;
|
|
1833
1833
|
}
|
|
1834
|
-
function
|
|
1835
|
-
const n =
|
|
1834
|
+
function qt(e, t, r) {
|
|
1835
|
+
const n = dr(t);
|
|
1836
1836
|
return e.displayName || (n !== "" ? `${r}(${n})` : r);
|
|
1837
1837
|
}
|
|
1838
|
-
function
|
|
1838
|
+
function no(e) {
|
|
1839
1839
|
if (e != null) {
|
|
1840
1840
|
if (typeof e == "string")
|
|
1841
1841
|
return e;
|
|
1842
1842
|
if (typeof e == "function")
|
|
1843
|
-
return
|
|
1843
|
+
return dr(e, "Component");
|
|
1844
1844
|
if (typeof e == "object")
|
|
1845
1845
|
switch (e.$$typeof) {
|
|
1846
|
-
case
|
|
1847
|
-
return
|
|
1848
|
-
case
|
|
1849
|
-
return
|
|
1846
|
+
case Le.ForwardRef:
|
|
1847
|
+
return qt(e, e.render, "ForwardRef");
|
|
1848
|
+
case Le.Memo:
|
|
1849
|
+
return qt(e, e.type, "memo");
|
|
1850
1850
|
default:
|
|
1851
1851
|
return;
|
|
1852
1852
|
}
|
|
1853
1853
|
}
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1855
|
+
function pr(e) {
|
|
1856
1856
|
const {
|
|
1857
1857
|
variants: t,
|
|
1858
1858
|
...r
|
|
1859
1859
|
} = e, n = {
|
|
1860
1860
|
variants: t,
|
|
1861
|
-
style:
|
|
1861
|
+
style: Se(r),
|
|
1862
1862
|
isProcessed: !0
|
|
1863
1863
|
};
|
|
1864
1864
|
return n.style === r || t && t.forEach((o) => {
|
|
1865
|
-
typeof o.style != "function" && (o.style =
|
|
1865
|
+
typeof o.style != "function" && (o.style = Se(o.style));
|
|
1866
1866
|
}), n;
|
|
1867
1867
|
}
|
|
1868
|
-
const
|
|
1869
|
-
function
|
|
1868
|
+
const oo = fr();
|
|
1869
|
+
function dt(e) {
|
|
1870
1870
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
1871
1871
|
}
|
|
1872
|
-
function
|
|
1872
|
+
function ve(e, t) {
|
|
1873
1873
|
return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e;
|
|
1874
1874
|
}
|
|
1875
|
-
function
|
|
1875
|
+
function io(e) {
|
|
1876
1876
|
return e ? (t, r) => r[e] : null;
|
|
1877
1877
|
}
|
|
1878
|
-
function
|
|
1879
|
-
e.theme =
|
|
1878
|
+
function ao(e, t, r) {
|
|
1879
|
+
e.theme = uo(e.theme) ? r : e.theme[t] || e.theme;
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1881
|
+
function Fe(e, t, r) {
|
|
1882
1882
|
const n = typeof t == "function" ? t(e) : t;
|
|
1883
1883
|
if (Array.isArray(n))
|
|
1884
|
-
return n.flatMap((o) =>
|
|
1884
|
+
return n.flatMap((o) => Fe(e, o, r));
|
|
1885
1885
|
if (Array.isArray(n?.variants)) {
|
|
1886
1886
|
let o;
|
|
1887
1887
|
if (n.isProcessed)
|
|
1888
|
-
o = r ?
|
|
1888
|
+
o = r ? ve(n.style, r) : n.style;
|
|
1889
1889
|
else {
|
|
1890
1890
|
const {
|
|
1891
1891
|
variants: i,
|
|
1892
|
-
...
|
|
1892
|
+
...s
|
|
1893
1893
|
} = n;
|
|
1894
|
-
o = r ?
|
|
1894
|
+
o = r ? ve(Se(s), r) : s;
|
|
1895
1895
|
}
|
|
1896
|
-
return
|
|
1896
|
+
return mr(e, n.variants, [o], r);
|
|
1897
1897
|
}
|
|
1898
|
-
return n?.isProcessed ? r ?
|
|
1898
|
+
return n?.isProcessed ? r ? ve(Se(n.style), r) : n.style : r ? ve(Se(n), r) : n;
|
|
1899
1899
|
}
|
|
1900
|
-
function
|
|
1900
|
+
function mr(e, t, r = [], n = void 0) {
|
|
1901
1901
|
let o;
|
|
1902
1902
|
e: for (let i = 0; i < t.length; i += 1) {
|
|
1903
|
-
const
|
|
1904
|
-
if (typeof
|
|
1903
|
+
const s = t[i];
|
|
1904
|
+
if (typeof s.props == "function") {
|
|
1905
1905
|
if (o ??= {
|
|
1906
1906
|
...e,
|
|
1907
1907
|
...e.ownerState,
|
|
1908
1908
|
ownerState: e.ownerState
|
|
1909
|
-
}, !
|
|
1909
|
+
}, !s.props(o))
|
|
1910
1910
|
continue;
|
|
1911
1911
|
} else
|
|
1912
|
-
for (const l in
|
|
1913
|
-
if (e[l] !==
|
|
1912
|
+
for (const l in s.props)
|
|
1913
|
+
if (e[l] !== s.props[l] && e.ownerState?.[l] !== s.props[l])
|
|
1914
1914
|
continue e;
|
|
1915
|
-
typeof
|
|
1915
|
+
typeof s.style == "function" ? (o ??= {
|
|
1916
1916
|
...e,
|
|
1917
1917
|
...e.ownerState,
|
|
1918
1918
|
ownerState: e.ownerState
|
|
1919
|
-
}, r.push(n ?
|
|
1919
|
+
}, r.push(n ? ve(Se(s.style(o)), n) : s.style(o))) : r.push(n ? ve(Se(s.style), n) : s.style);
|
|
1920
1920
|
}
|
|
1921
1921
|
return r;
|
|
1922
1922
|
}
|
|
1923
|
-
function
|
|
1923
|
+
function so(e = {}) {
|
|
1924
1924
|
const {
|
|
1925
1925
|
themeId: t,
|
|
1926
|
-
defaultTheme: r =
|
|
1927
|
-
rootShouldForwardProp: n =
|
|
1928
|
-
slotShouldForwardProp: o =
|
|
1926
|
+
defaultTheme: r = oo,
|
|
1927
|
+
rootShouldForwardProp: n = dt,
|
|
1928
|
+
slotShouldForwardProp: o = dt
|
|
1929
1929
|
} = e;
|
|
1930
1930
|
function i(l) {
|
|
1931
|
-
|
|
1931
|
+
ao(l, t, r);
|
|
1932
1932
|
}
|
|
1933
|
-
return (l,
|
|
1934
|
-
|
|
1933
|
+
return (l, f = {}) => {
|
|
1934
|
+
Qn(l, (E) => E.filter((G) => G !== _e));
|
|
1935
1935
|
const {
|
|
1936
|
-
name:
|
|
1937
|
-
slot:
|
|
1936
|
+
name: d,
|
|
1937
|
+
slot: p,
|
|
1938
1938
|
skipVariantsResolver: h,
|
|
1939
|
-
skipSx:
|
|
1939
|
+
skipSx: m,
|
|
1940
1940
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
1941
1941
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
1942
|
-
overridesResolver:
|
|
1942
|
+
overridesResolver: S = io(hr(p)),
|
|
1943
1943
|
...y
|
|
1944
|
-
} =
|
|
1944
|
+
} = f, c = d && d.startsWith("Mui") || p ? "components" : "custom", v = h !== void 0 ? h : (
|
|
1945
1945
|
// TODO v6: remove `Root` in the next major release
|
|
1946
1946
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
1947
|
-
|
|
1948
|
-
),
|
|
1949
|
-
let
|
|
1950
|
-
|
|
1951
|
-
const
|
|
1952
|
-
shouldForwardProp:
|
|
1953
|
-
label:
|
|
1947
|
+
p && p !== "Root" && p !== "root" || !1
|
|
1948
|
+
), O = m || !1;
|
|
1949
|
+
let I = dt;
|
|
1950
|
+
p === "Root" || p === "root" ? I = n : p ? I = o : fo(l) && (I = void 0);
|
|
1951
|
+
const J = Hn(l, {
|
|
1952
|
+
shouldForwardProp: I,
|
|
1953
|
+
label: co(d, p),
|
|
1954
1954
|
...y
|
|
1955
|
-
}),
|
|
1956
|
-
if (
|
|
1957
|
-
return
|
|
1958
|
-
if (typeof
|
|
1959
|
-
return function(
|
|
1960
|
-
return
|
|
1955
|
+
}), x = (E) => {
|
|
1956
|
+
if (E.__emotion_real === E)
|
|
1957
|
+
return E;
|
|
1958
|
+
if (typeof E == "function")
|
|
1959
|
+
return function(Z) {
|
|
1960
|
+
return Fe(Z, E, Z.theme.modularCssLayers ? c : void 0);
|
|
1961
1961
|
};
|
|
1962
|
-
if (
|
|
1963
|
-
const
|
|
1964
|
-
return function(
|
|
1965
|
-
return
|
|
1962
|
+
if (ue(E)) {
|
|
1963
|
+
const G = pr(E);
|
|
1964
|
+
return function(U) {
|
|
1965
|
+
return G.variants ? Fe(U, G, U.theme.modularCssLayers ? c : void 0) : U.theme.modularCssLayers ? ve(G.style, c) : G.style;
|
|
1966
1966
|
};
|
|
1967
1967
|
}
|
|
1968
|
-
return
|
|
1969
|
-
},
|
|
1970
|
-
const
|
|
1971
|
-
if (
|
|
1972
|
-
const
|
|
1973
|
-
if (!
|
|
1968
|
+
return E;
|
|
1969
|
+
}, Q = (...E) => {
|
|
1970
|
+
const G = [], Z = E.map(x), U = [];
|
|
1971
|
+
if (G.push(i), d && S && U.push(function(T) {
|
|
1972
|
+
const w = T.theme.components?.[d]?.styleOverrides;
|
|
1973
|
+
if (!w)
|
|
1974
1974
|
return null;
|
|
1975
|
-
const
|
|
1976
|
-
for (const
|
|
1977
|
-
|
|
1978
|
-
return
|
|
1979
|
-
}),
|
|
1980
|
-
const
|
|
1981
|
-
return
|
|
1982
|
-
}),
|
|
1983
|
-
const
|
|
1984
|
-
let
|
|
1985
|
-
|
|
1975
|
+
const N = {};
|
|
1976
|
+
for (const ee in w)
|
|
1977
|
+
N[ee] = Fe(T, w[ee], T.theme.modularCssLayers ? "theme" : void 0);
|
|
1978
|
+
return S(T, N);
|
|
1979
|
+
}), d && !v && U.push(function(T) {
|
|
1980
|
+
const w = T.theme?.components?.[d]?.variants;
|
|
1981
|
+
return w ? mr(T, w, [], T.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
1982
|
+
}), O || U.push(_e), Array.isArray(Z[0])) {
|
|
1983
|
+
const a = Z.shift(), T = new Array(G.length).fill(""), b = new Array(U.length).fill("");
|
|
1984
|
+
let w;
|
|
1985
|
+
w = [...T, ...a, ...b], w.raw = [...T, ...a.raw, ...b], G.unshift(w);
|
|
1986
1986
|
}
|
|
1987
|
-
const
|
|
1988
|
-
return l.muiName && (
|
|
1987
|
+
const te = [...G, ...Z, ...U], X = J(...te);
|
|
1988
|
+
return l.muiName && (X.muiName = l.muiName), process.env.NODE_ENV !== "production" && (X.displayName = lo(d, p, l)), X;
|
|
1989
1989
|
};
|
|
1990
|
-
return
|
|
1990
|
+
return J.withConfig && (Q.withConfig = J.withConfig), Q;
|
|
1991
1991
|
};
|
|
1992
1992
|
}
|
|
1993
|
-
function
|
|
1994
|
-
return e ? `${e}${
|
|
1993
|
+
function lo(e, t, r) {
|
|
1994
|
+
return e ? `${e}${Ce(t || "")}` : `Styled(${no(r)})`;
|
|
1995
1995
|
}
|
|
1996
|
-
function
|
|
1996
|
+
function co(e, t) {
|
|
1997
1997
|
let r;
|
|
1998
|
-
return process.env.NODE_ENV !== "production" && e && (r = `${e}-${
|
|
1998
|
+
return process.env.NODE_ENV !== "production" && e && (r = `${e}-${hr(t || "Root")}`), r;
|
|
1999
1999
|
}
|
|
2000
|
-
function
|
|
2000
|
+
function uo(e) {
|
|
2001
2001
|
for (const t in e)
|
|
2002
2002
|
return !1;
|
|
2003
2003
|
return !0;
|
|
2004
2004
|
}
|
|
2005
|
-
function
|
|
2005
|
+
function fo(e) {
|
|
2006
2006
|
return typeof e == "string" && // 96 is one less than the char code
|
|
2007
2007
|
// for "a" so this is checking that
|
|
2008
2008
|
// it's a lowercase character
|
|
2009
2009
|
e.charCodeAt(0) > 96;
|
|
2010
2010
|
}
|
|
2011
|
-
function
|
|
2011
|
+
function hr(e) {
|
|
2012
2012
|
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
2013
2013
|
}
|
|
2014
|
-
function
|
|
2014
|
+
function gt(e, t, r = !1) {
|
|
2015
2015
|
const n = {
|
|
2016
2016
|
...t
|
|
2017
2017
|
};
|
|
@@ -2024,54 +2024,54 @@ function pt(e, t, r = !1) {
|
|
|
2024
2024
|
...n[i]
|
|
2025
2025
|
};
|
|
2026
2026
|
else if (i === "componentsProps" || i === "slotProps") {
|
|
2027
|
-
const
|
|
2027
|
+
const s = e[i], l = t[i];
|
|
2028
2028
|
if (!l)
|
|
2029
|
-
n[i] =
|
|
2030
|
-
else if (!
|
|
2029
|
+
n[i] = s || {};
|
|
2030
|
+
else if (!s)
|
|
2031
2031
|
n[i] = l;
|
|
2032
2032
|
else {
|
|
2033
2033
|
n[i] = {
|
|
2034
2034
|
...l
|
|
2035
2035
|
};
|
|
2036
|
-
for (const
|
|
2037
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
2038
|
-
const
|
|
2039
|
-
n[i][
|
|
2036
|
+
for (const f in s)
|
|
2037
|
+
if (Object.prototype.hasOwnProperty.call(s, f)) {
|
|
2038
|
+
const d = f;
|
|
2039
|
+
n[i][d] = gt(s[d], l[d], r);
|
|
2040
2040
|
}
|
|
2041
2041
|
}
|
|
2042
|
-
} else i === "className" && r && t.className ? n.className =
|
|
2042
|
+
} else i === "className" && r && t.className ? n.className = ar(e?.className, t?.className) : i === "style" && r && t.style ? n.style = {
|
|
2043
2043
|
...e?.style,
|
|
2044
2044
|
...t?.style
|
|
2045
2045
|
} : n[i] === void 0 && (n[i] = e[i]);
|
|
2046
2046
|
}
|
|
2047
2047
|
return n;
|
|
2048
2048
|
}
|
|
2049
|
-
function
|
|
2049
|
+
function po(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
2050
2050
|
return Math.max(t, Math.min(e, r));
|
|
2051
2051
|
}
|
|
2052
|
-
function
|
|
2053
|
-
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),
|
|
2052
|
+
function wt(e, t = 0, r = 1) {
|
|
2053
|
+
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), po(e, t, r);
|
|
2054
2054
|
}
|
|
2055
|
-
function
|
|
2055
|
+
function mo(e) {
|
|
2056
2056
|
e = e.slice(1);
|
|
2057
2057
|
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
2058
2058
|
let r = e.match(t);
|
|
2059
2059
|
return r && r[0].length === 1 && (r = r.map((n) => n + n)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
2060
2060
|
}
|
|
2061
|
-
function
|
|
2061
|
+
function ge(e) {
|
|
2062
2062
|
if (e.type)
|
|
2063
2063
|
return e;
|
|
2064
2064
|
if (e.charAt(0) === "#")
|
|
2065
|
-
return
|
|
2065
|
+
return ge(mo(e));
|
|
2066
2066
|
const t = e.indexOf("("), r = e.substring(0, t);
|
|
2067
2067
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
|
|
2068
2068
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
2069
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` :
|
|
2069
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : he(9, e));
|
|
2070
2070
|
let n = e.substring(t + 1, e.length - 1), o;
|
|
2071
2071
|
if (r === "color") {
|
|
2072
2072
|
if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
|
|
2073
2073
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
2074
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` :
|
|
2074
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : he(10, o));
|
|
2075
2075
|
} else
|
|
2076
2076
|
n = n.split(",");
|
|
2077
2077
|
return n = n.map((i) => parseFloat(i)), {
|
|
@@ -2080,17 +2080,17 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
2080
2080
|
colorSpace: o
|
|
2081
2081
|
};
|
|
2082
2082
|
}
|
|
2083
|
-
const
|
|
2084
|
-
const t =
|
|
2083
|
+
const ho = (e) => {
|
|
2084
|
+
const t = ge(e);
|
|
2085
2085
|
return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
|
|
2086
|
-
},
|
|
2086
|
+
}, Re = (e, t) => {
|
|
2087
2087
|
try {
|
|
2088
|
-
return
|
|
2088
|
+
return ho(e);
|
|
2089
2089
|
} catch {
|
|
2090
2090
|
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
2091
2091
|
}
|
|
2092
2092
|
};
|
|
2093
|
-
function
|
|
2093
|
+
function tt(e) {
|
|
2094
2094
|
const {
|
|
2095
2095
|
type: t,
|
|
2096
2096
|
colorSpace: r
|
|
@@ -2100,54 +2100,54 @@ function et(e) {
|
|
|
2100
2100
|
} = e;
|
|
2101
2101
|
return t.includes("rgb") ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.includes("color") ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
|
|
2102
2102
|
}
|
|
2103
|
-
function
|
|
2104
|
-
e =
|
|
2103
|
+
function gr(e) {
|
|
2104
|
+
e = ge(e);
|
|
2105
2105
|
const {
|
|
2106
2106
|
values: t
|
|
2107
|
-
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o),
|
|
2107
|
+
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), s = (d, p = (d + r / 30) % 12) => o - i * Math.max(Math.min(p - 3, 9 - p, 1), -1);
|
|
2108
2108
|
let l = "rgb";
|
|
2109
|
-
const
|
|
2110
|
-
return e.type === "hsla" && (l += "a",
|
|
2109
|
+
const f = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
2110
|
+
return e.type === "hsla" && (l += "a", f.push(t[3])), tt({
|
|
2111
2111
|
type: l,
|
|
2112
|
-
values:
|
|
2112
|
+
values: f
|
|
2113
2113
|
});
|
|
2114
2114
|
}
|
|
2115
|
-
function
|
|
2116
|
-
e =
|
|
2117
|
-
let t = e.type === "hsl" || e.type === "hsla" ?
|
|
2115
|
+
function yt(e) {
|
|
2116
|
+
e = ge(e);
|
|
2117
|
+
let t = e.type === "hsl" || e.type === "hsla" ? ge(gr(e)).values : e.values;
|
|
2118
2118
|
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
2119
2119
|
}
|
|
2120
|
-
function
|
|
2121
|
-
const r =
|
|
2120
|
+
function Kt(e, t) {
|
|
2121
|
+
const r = yt(e), n = yt(t);
|
|
2122
2122
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
2123
2123
|
}
|
|
2124
|
-
function
|
|
2125
|
-
return e =
|
|
2124
|
+
function yr(e, t) {
|
|
2125
|
+
return e = ge(e), t = wt(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, tt(e);
|
|
2126
2126
|
}
|
|
2127
|
-
function
|
|
2127
|
+
function be(e, t, r) {
|
|
2128
2128
|
try {
|
|
2129
|
-
return
|
|
2129
|
+
return yr(e, t);
|
|
2130
2130
|
} catch {
|
|
2131
|
-
return e;
|
|
2131
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2132
2132
|
}
|
|
2133
2133
|
}
|
|
2134
|
-
function
|
|
2135
|
-
if (e =
|
|
2134
|
+
function rt(e, t) {
|
|
2135
|
+
if (e = ge(e), t = wt(t), e.type.includes("hsl"))
|
|
2136
2136
|
e.values[2] *= 1 - t;
|
|
2137
2137
|
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
2138
2138
|
for (let r = 0; r < 3; r += 1)
|
|
2139
2139
|
e.values[r] *= 1 - t;
|
|
2140
|
-
return
|
|
2140
|
+
return tt(e);
|
|
2141
2141
|
}
|
|
2142
|
-
function
|
|
2142
|
+
function j(e, t, r) {
|
|
2143
2143
|
try {
|
|
2144
|
-
return
|
|
2144
|
+
return rt(e, t);
|
|
2145
2145
|
} catch {
|
|
2146
|
-
return e;
|
|
2146
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2147
2147
|
}
|
|
2148
2148
|
}
|
|
2149
|
-
function
|
|
2150
|
-
if (e =
|
|
2149
|
+
function nt(e, t) {
|
|
2150
|
+
if (e = ge(e), t = wt(t), e.type.includes("hsl"))
|
|
2151
2151
|
e.values[2] += (100 - e.values[2]) * t;
|
|
2152
2152
|
else if (e.type.includes("rgb"))
|
|
2153
2153
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -2155,28 +2155,28 @@ function Et(e, t) {
|
|
|
2155
2155
|
else if (e.type.includes("color"))
|
|
2156
2156
|
for (let r = 0; r < 3; r += 1)
|
|
2157
2157
|
e.values[r] += (1 - e.values[r]) * t;
|
|
2158
|
-
return
|
|
2158
|
+
return tt(e);
|
|
2159
2159
|
}
|
|
2160
|
-
function
|
|
2160
|
+
function V(e, t, r) {
|
|
2161
2161
|
try {
|
|
2162
|
-
return
|
|
2162
|
+
return nt(e, t);
|
|
2163
2163
|
} catch {
|
|
2164
|
-
return e;
|
|
2164
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2165
2165
|
}
|
|
2166
2166
|
}
|
|
2167
|
-
function
|
|
2168
|
-
return
|
|
2167
|
+
function go(e, t = 0.15) {
|
|
2168
|
+
return yt(e) > 0.5 ? rt(e, t) : nt(e, t);
|
|
2169
2169
|
}
|
|
2170
|
-
function
|
|
2170
|
+
function Ve(e, t, r) {
|
|
2171
2171
|
try {
|
|
2172
|
-
return
|
|
2172
|
+
return go(e, t);
|
|
2173
2173
|
} catch {
|
|
2174
2174
|
return e;
|
|
2175
2175
|
}
|
|
2176
2176
|
}
|
|
2177
|
-
const
|
|
2178
|
-
process.env.NODE_ENV !== "production" && (
|
|
2179
|
-
function
|
|
2177
|
+
const yo = /* @__PURE__ */ me.createContext(void 0);
|
|
2178
|
+
process.env.NODE_ENV !== "production" && (P.node, P.object);
|
|
2179
|
+
function bo(e) {
|
|
2180
2180
|
const {
|
|
2181
2181
|
theme: t,
|
|
2182
2182
|
name: r,
|
|
@@ -2185,14 +2185,14 @@ function ho(e) {
|
|
|
2185
2185
|
if (!t || !t.components || !t.components[r])
|
|
2186
2186
|
return n;
|
|
2187
2187
|
const o = t.components[r];
|
|
2188
|
-
return o.defaultProps ?
|
|
2188
|
+
return o.defaultProps ? gt(o.defaultProps, n, t.components.mergeClassNameAndStyle) : !o.styleOverrides && !o.variants ? gt(o, n, t.components.mergeClassNameAndStyle) : n;
|
|
2189
2189
|
}
|
|
2190
|
-
function
|
|
2190
|
+
function vo({
|
|
2191
2191
|
props: e,
|
|
2192
2192
|
name: t
|
|
2193
2193
|
}) {
|
|
2194
|
-
const r =
|
|
2195
|
-
return
|
|
2194
|
+
const r = me.useContext(yo);
|
|
2195
|
+
return bo({
|
|
2196
2196
|
props: e,
|
|
2197
2197
|
name: t,
|
|
2198
2198
|
theme: {
|
|
@@ -2200,17 +2200,17 @@ function go({
|
|
|
2200
2200
|
}
|
|
2201
2201
|
});
|
|
2202
2202
|
}
|
|
2203
|
-
const
|
|
2203
|
+
const Ht = {
|
|
2204
2204
|
theme: void 0
|
|
2205
2205
|
};
|
|
2206
|
-
function
|
|
2206
|
+
function So(e) {
|
|
2207
2207
|
let t, r;
|
|
2208
2208
|
return function(o) {
|
|
2209
2209
|
let i = t;
|
|
2210
|
-
return (i === void 0 || o.theme !== r) && (
|
|
2210
|
+
return (i === void 0 || o.theme !== r) && (Ht.theme = o.theme, i = pr(e(Ht)), t = i, r = o.theme), i;
|
|
2211
2211
|
};
|
|
2212
2212
|
}
|
|
2213
|
-
function
|
|
2213
|
+
function Co(e = "") {
|
|
2214
2214
|
function t(...n) {
|
|
2215
2215
|
if (!n.length)
|
|
2216
2216
|
return "";
|
|
@@ -2219,32 +2219,32 @@ function bo(e = "") {
|
|
|
2219
2219
|
}
|
|
2220
2220
|
return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${t(...o)})`;
|
|
2221
2221
|
}
|
|
2222
|
-
const
|
|
2222
|
+
const Qt = (e, t, r, n = []) => {
|
|
2223
2223
|
let o = e;
|
|
2224
|
-
t.forEach((i,
|
|
2225
|
-
|
|
2224
|
+
t.forEach((i, s) => {
|
|
2225
|
+
s === t.length - 1 ? Array.isArray(o) ? o[Number(i)] = r : o && typeof o == "object" && (o[i] = r) : o && typeof o == "object" && (o[i] || (o[i] = n.includes(i) ? [] : {}), o = o[i]);
|
|
2226
2226
|
});
|
|
2227
|
-
},
|
|
2228
|
-
function n(o, i = [],
|
|
2229
|
-
Object.entries(o).forEach(([l,
|
|
2230
|
-
(!r || r && !r([...i, l])) &&
|
|
2227
|
+
}, To = (e, t, r) => {
|
|
2228
|
+
function n(o, i = [], s = []) {
|
|
2229
|
+
Object.entries(o).forEach(([l, f]) => {
|
|
2230
|
+
(!r || r && !r([...i, l])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...i, l], Array.isArray(f) ? [...s, l] : s) : t([...i, l], f, s));
|
|
2231
2231
|
});
|
|
2232
2232
|
}
|
|
2233
2233
|
n(e);
|
|
2234
|
-
},
|
|
2235
|
-
function
|
|
2234
|
+
}, Eo = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
|
|
2235
|
+
function pt(e, t) {
|
|
2236
2236
|
const {
|
|
2237
2237
|
prefix: r,
|
|
2238
2238
|
shouldSkipGeneratingVar: n
|
|
2239
|
-
} = t || {}, o = {}, i = {},
|
|
2240
|
-
return
|
|
2239
|
+
} = t || {}, o = {}, i = {}, s = {};
|
|
2240
|
+
return To(
|
|
2241
2241
|
e,
|
|
2242
|
-
(l,
|
|
2243
|
-
if ((typeof
|
|
2244
|
-
const
|
|
2242
|
+
(l, f, d) => {
|
|
2243
|
+
if ((typeof f == "string" || typeof f == "number") && (!n || !n(l, f))) {
|
|
2244
|
+
const p = `--${r ? `${r}-` : ""}${l.join("-")}`, h = Eo(l, f);
|
|
2245
2245
|
Object.assign(o, {
|
|
2246
|
-
[
|
|
2247
|
-
}),
|
|
2246
|
+
[p]: h
|
|
2247
|
+
}), Qt(i, l, `var(${p})`, d), Qt(s, l, `var(${p}, ${h})`, d);
|
|
2248
2248
|
}
|
|
2249
2249
|
},
|
|
2250
2250
|
(l) => l[0] === "vars"
|
|
@@ -2252,130 +2252,139 @@ function ut(e, t) {
|
|
|
2252
2252
|
), {
|
|
2253
2253
|
css: o,
|
|
2254
2254
|
vars: i,
|
|
2255
|
-
varsWithDefaults:
|
|
2255
|
+
varsWithDefaults: s
|
|
2256
2256
|
};
|
|
2257
2257
|
}
|
|
2258
|
-
function
|
|
2258
|
+
function xo(e, t = {}) {
|
|
2259
2259
|
const {
|
|
2260
|
-
getSelector: r =
|
|
2260
|
+
getSelector: r = O,
|
|
2261
2261
|
disableCssColorScheme: n,
|
|
2262
|
-
colorSchemeSelector: o
|
|
2262
|
+
colorSchemeSelector: o,
|
|
2263
|
+
enableContrastVars: i
|
|
2263
2264
|
} = t, {
|
|
2264
|
-
colorSchemes:
|
|
2265
|
-
components:
|
|
2266
|
-
defaultColorScheme:
|
|
2265
|
+
colorSchemes: s = {},
|
|
2266
|
+
components: l,
|
|
2267
|
+
defaultColorScheme: f = "light",
|
|
2267
2268
|
...d
|
|
2268
2269
|
} = e, {
|
|
2269
|
-
vars:
|
|
2270
|
-
css:
|
|
2271
|
-
varsWithDefaults:
|
|
2272
|
-
} =
|
|
2273
|
-
let
|
|
2274
|
-
const
|
|
2275
|
-
[
|
|
2276
|
-
...
|
|
2277
|
-
} =
|
|
2278
|
-
if (Object.entries(
|
|
2270
|
+
vars: p,
|
|
2271
|
+
css: h,
|
|
2272
|
+
varsWithDefaults: m
|
|
2273
|
+
} = pt(d, t);
|
|
2274
|
+
let S = m;
|
|
2275
|
+
const y = {}, {
|
|
2276
|
+
[f]: c,
|
|
2277
|
+
...v
|
|
2278
|
+
} = s;
|
|
2279
|
+
if (Object.entries(v || {}).forEach(([x, Q]) => {
|
|
2279
2280
|
const {
|
|
2280
|
-
vars:
|
|
2281
|
-
css:
|
|
2282
|
-
varsWithDefaults:
|
|
2283
|
-
} =
|
|
2284
|
-
|
|
2285
|
-
css:
|
|
2286
|
-
vars:
|
|
2281
|
+
vars: E,
|
|
2282
|
+
css: G,
|
|
2283
|
+
varsWithDefaults: Z
|
|
2284
|
+
} = pt(Q, t);
|
|
2285
|
+
S = oe(S, Z), y[x] = {
|
|
2286
|
+
css: G,
|
|
2287
|
+
vars: E
|
|
2287
2288
|
};
|
|
2288
|
-
}),
|
|
2289
|
+
}), c) {
|
|
2289
2290
|
const {
|
|
2290
2291
|
css: x,
|
|
2291
|
-
vars:
|
|
2292
|
-
varsWithDefaults:
|
|
2293
|
-
} =
|
|
2294
|
-
|
|
2292
|
+
vars: Q,
|
|
2293
|
+
varsWithDefaults: E
|
|
2294
|
+
} = pt(c, t);
|
|
2295
|
+
S = oe(S, E), y[f] = {
|
|
2295
2296
|
css: x,
|
|
2296
|
-
vars:
|
|
2297
|
+
vars: Q
|
|
2297
2298
|
};
|
|
2298
2299
|
}
|
|
2299
|
-
function
|
|
2300
|
-
let
|
|
2301
|
-
if (o === "class" && (
|
|
2302
|
-
if (
|
|
2300
|
+
function O(x, Q) {
|
|
2301
|
+
let E = o;
|
|
2302
|
+
if (o === "class" && (E = ".%s"), o === "data" && (E = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (E = `[${o}="%s"]`), x) {
|
|
2303
|
+
if (E === "media")
|
|
2303
2304
|
return e.defaultColorScheme === x ? ":root" : {
|
|
2304
|
-
[`@media (prefers-color-scheme: ${
|
|
2305
|
-
":root":
|
|
2305
|
+
[`@media (prefers-color-scheme: ${s[x]?.palette?.mode || x})`]: {
|
|
2306
|
+
":root": Q
|
|
2306
2307
|
}
|
|
2307
2308
|
};
|
|
2308
|
-
if (
|
|
2309
|
-
return e.defaultColorScheme === x ? `:root, ${
|
|
2309
|
+
if (E)
|
|
2310
|
+
return e.defaultColorScheme === x ? `:root, ${E.replace("%s", String(x))}` : E.replace("%s", String(x));
|
|
2310
2311
|
}
|
|
2311
2312
|
return ":root";
|
|
2312
2313
|
}
|
|
2313
2314
|
return {
|
|
2314
|
-
vars:
|
|
2315
|
+
vars: S,
|
|
2315
2316
|
generateThemeVars: () => {
|
|
2316
2317
|
let x = {
|
|
2317
|
-
...
|
|
2318
|
+
...p
|
|
2318
2319
|
};
|
|
2319
|
-
return Object.entries(
|
|
2320
|
-
vars:
|
|
2320
|
+
return Object.entries(y).forEach(([, {
|
|
2321
|
+
vars: Q
|
|
2321
2322
|
}]) => {
|
|
2322
|
-
x =
|
|
2323
|
+
x = oe(x, Q);
|
|
2323
2324
|
}), x;
|
|
2324
2325
|
},
|
|
2325
2326
|
generateStyleSheets: () => {
|
|
2326
|
-
const x = [],
|
|
2327
|
-
function
|
|
2328
|
-
Object.keys(
|
|
2329
|
-
[
|
|
2330
|
-
...
|
|
2327
|
+
const x = [], Q = e.defaultColorScheme || "light";
|
|
2328
|
+
function E(U, te) {
|
|
2329
|
+
Object.keys(te).length && x.push(typeof U == "string" ? {
|
|
2330
|
+
[U]: {
|
|
2331
|
+
...te
|
|
2331
2332
|
}
|
|
2332
|
-
} :
|
|
2333
|
+
} : U);
|
|
2333
2334
|
}
|
|
2334
|
-
|
|
2335
|
-
...
|
|
2336
|
-
}),
|
|
2335
|
+
E(r(void 0, {
|
|
2336
|
+
...h
|
|
2337
|
+
}), h);
|
|
2337
2338
|
const {
|
|
2338
|
-
[
|
|
2339
|
-
...
|
|
2340
|
-
} =
|
|
2341
|
-
if (
|
|
2339
|
+
[Q]: G,
|
|
2340
|
+
...Z
|
|
2341
|
+
} = y;
|
|
2342
|
+
if (G) {
|
|
2342
2343
|
const {
|
|
2343
|
-
css:
|
|
2344
|
-
} =
|
|
2345
|
-
colorScheme:
|
|
2346
|
-
...
|
|
2344
|
+
css: U
|
|
2345
|
+
} = G, te = s[Q]?.palette?.mode, X = !n && te ? {
|
|
2346
|
+
colorScheme: te,
|
|
2347
|
+
...U
|
|
2347
2348
|
} : {
|
|
2348
|
-
...
|
|
2349
|
+
...U
|
|
2349
2350
|
};
|
|
2350
|
-
|
|
2351
|
-
...
|
|
2352
|
-
}),
|
|
2351
|
+
E(r(Q, {
|
|
2352
|
+
...X
|
|
2353
|
+
}), X);
|
|
2353
2354
|
}
|
|
2354
|
-
return Object.entries(
|
|
2355
|
-
css:
|
|
2355
|
+
return Object.entries(Z).forEach(([U, {
|
|
2356
|
+
css: te
|
|
2356
2357
|
}]) => {
|
|
2357
|
-
const
|
|
2358
|
-
colorScheme:
|
|
2359
|
-
...
|
|
2358
|
+
const X = s[U]?.palette?.mode, a = !n && X ? {
|
|
2359
|
+
colorScheme: X,
|
|
2360
|
+
...te
|
|
2360
2361
|
} : {
|
|
2361
|
-
...
|
|
2362
|
+
...te
|
|
2362
2363
|
};
|
|
2363
|
-
|
|
2364
|
-
...
|
|
2365
|
-
}),
|
|
2364
|
+
E(r(U, {
|
|
2365
|
+
...a
|
|
2366
|
+
}), a);
|
|
2367
|
+
}), i && x.push({
|
|
2368
|
+
":root": {
|
|
2369
|
+
// use double underscore to indicate that these are private variables
|
|
2370
|
+
"--__l-threshold": "0.7",
|
|
2371
|
+
"--__l": "clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)",
|
|
2372
|
+
"--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
|
|
2373
|
+
// 0.87 is the default alpha value for black text.
|
|
2374
|
+
}
|
|
2366
2375
|
}), x;
|
|
2367
2376
|
}
|
|
2368
2377
|
};
|
|
2369
2378
|
}
|
|
2370
|
-
function
|
|
2379
|
+
function wo(e) {
|
|
2371
2380
|
return function(r) {
|
|
2372
2381
|
return e === "media" ? (process.env.NODE_ENV !== "production" && r !== "light" && r !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`), `@media (prefers-color-scheme: ${r})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${r}"] &` : e === "class" ? `.${r} &` : e === "data" ? `[data-${r}] &` : `${e.replace("%s", r)} &` : "&";
|
|
2373
2382
|
};
|
|
2374
2383
|
}
|
|
2375
|
-
const
|
|
2384
|
+
const Ne = {
|
|
2376
2385
|
black: "#000",
|
|
2377
2386
|
white: "#fff"
|
|
2378
|
-
},
|
|
2387
|
+
}, $o = {
|
|
2379
2388
|
50: "#fafafa",
|
|
2380
2389
|
100: "#f5f5f5",
|
|
2381
2390
|
200: "#eeeeee",
|
|
@@ -2390,38 +2399,38 @@ const Pe = {
|
|
|
2390
2399
|
A200: "#eeeeee",
|
|
2391
2400
|
A400: "#bdbdbd",
|
|
2392
2401
|
A700: "#616161"
|
|
2393
|
-
},
|
|
2402
|
+
}, Ee = {
|
|
2394
2403
|
50: "#f3e5f5",
|
|
2395
2404
|
200: "#ce93d8",
|
|
2396
2405
|
300: "#ba68c8",
|
|
2397
2406
|
400: "#ab47bc",
|
|
2398
2407
|
500: "#9c27b0",
|
|
2399
2408
|
700: "#7b1fa2"
|
|
2400
|
-
},
|
|
2409
|
+
}, xe = {
|
|
2401
2410
|
300: "#e57373",
|
|
2402
2411
|
400: "#ef5350",
|
|
2403
2412
|
500: "#f44336",
|
|
2404
2413
|
700: "#d32f2f",
|
|
2405
2414
|
800: "#c62828"
|
|
2406
|
-
},
|
|
2415
|
+
}, ke = {
|
|
2407
2416
|
300: "#ffb74d",
|
|
2408
2417
|
400: "#ffa726",
|
|
2409
2418
|
500: "#ff9800",
|
|
2410
2419
|
700: "#f57c00",
|
|
2411
2420
|
900: "#e65100"
|
|
2412
|
-
},
|
|
2421
|
+
}, we = {
|
|
2413
2422
|
50: "#e3f2fd",
|
|
2414
2423
|
200: "#90caf9",
|
|
2415
2424
|
400: "#42a5f5",
|
|
2416
2425
|
700: "#1976d2",
|
|
2417
2426
|
800: "#1565c0"
|
|
2418
|
-
},
|
|
2427
|
+
}, $e = {
|
|
2419
2428
|
300: "#4fc3f7",
|
|
2420
2429
|
400: "#29b6f6",
|
|
2421
2430
|
500: "#03a9f4",
|
|
2422
2431
|
700: "#0288d1",
|
|
2423
2432
|
900: "#01579b"
|
|
2424
|
-
},
|
|
2433
|
+
}, Oe = {
|
|
2425
2434
|
300: "#81c784",
|
|
2426
2435
|
400: "#66bb6a",
|
|
2427
2436
|
500: "#4caf50",
|
|
@@ -2429,7 +2438,7 @@ const Pe = {
|
|
|
2429
2438
|
800: "#2e7d32",
|
|
2430
2439
|
900: "#1b5e20"
|
|
2431
2440
|
};
|
|
2432
|
-
function
|
|
2441
|
+
function br() {
|
|
2433
2442
|
return {
|
|
2434
2443
|
// The colors used to style the text.
|
|
2435
2444
|
text: {
|
|
@@ -2445,8 +2454,8 @@ function mr() {
|
|
|
2445
2454
|
// The background colors used to style the surfaces.
|
|
2446
2455
|
// Consistency between these values is important.
|
|
2447
2456
|
background: {
|
|
2448
|
-
paper:
|
|
2449
|
-
default:
|
|
2457
|
+
paper: Ne.white,
|
|
2458
|
+
default: Ne.white
|
|
2450
2459
|
},
|
|
2451
2460
|
// The colors used to style the action elements.
|
|
2452
2461
|
action: {
|
|
@@ -2469,11 +2478,11 @@ function mr() {
|
|
|
2469
2478
|
}
|
|
2470
2479
|
};
|
|
2471
2480
|
}
|
|
2472
|
-
const
|
|
2473
|
-
function
|
|
2481
|
+
const vr = br();
|
|
2482
|
+
function Sr() {
|
|
2474
2483
|
return {
|
|
2475
2484
|
text: {
|
|
2476
|
-
primary:
|
|
2485
|
+
primary: Ne.white,
|
|
2477
2486
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
2478
2487
|
disabled: "rgba(255, 255, 255, 0.5)",
|
|
2479
2488
|
icon: "rgba(255, 255, 255, 0.5)"
|
|
@@ -2484,7 +2493,7 @@ function hr() {
|
|
|
2484
2493
|
default: "#121212"
|
|
2485
2494
|
},
|
|
2486
2495
|
action: {
|
|
2487
|
-
active:
|
|
2496
|
+
active: Ne.white,
|
|
2488
2497
|
hover: "rgba(255, 255, 255, 0.08)",
|
|
2489
2498
|
hoverOpacity: 0.08,
|
|
2490
2499
|
selected: "rgba(255, 255, 255, 0.16)",
|
|
@@ -2498,109 +2507,119 @@ function hr() {
|
|
|
2498
2507
|
}
|
|
2499
2508
|
};
|
|
2500
2509
|
}
|
|
2501
|
-
const
|
|
2502
|
-
function
|
|
2510
|
+
const bt = Sr();
|
|
2511
|
+
function Xt(e, t, r, n) {
|
|
2503
2512
|
const o = n.light || n, i = n.dark || n * 1.5;
|
|
2504
|
-
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light =
|
|
2513
|
+
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = nt(e.main, o) : t === "dark" && (e.dark = rt(e.main, i)));
|
|
2505
2514
|
}
|
|
2506
|
-
function
|
|
2515
|
+
function Jt(e, t, r, n, o) {
|
|
2516
|
+
const i = o.light || o, s = o.dark || o * 1.5;
|
|
2517
|
+
t[r] || (t.hasOwnProperty(n) ? t[r] = t[n] : r === "light" ? t.light = `color-mix(in ${e}, ${t.main}, #fff ${(i * 100).toFixed(0)}%)` : r === "dark" && (t.dark = `color-mix(in ${e}, ${t.main}, #000 ${(s * 100).toFixed(0)}%)`));
|
|
2518
|
+
}
|
|
2519
|
+
function Oo(e = "light") {
|
|
2507
2520
|
return e === "dark" ? {
|
|
2508
|
-
main:
|
|
2509
|
-
light:
|
|
2510
|
-
dark:
|
|
2521
|
+
main: we[200],
|
|
2522
|
+
light: we[50],
|
|
2523
|
+
dark: we[400]
|
|
2511
2524
|
} : {
|
|
2512
|
-
main:
|
|
2513
|
-
light:
|
|
2514
|
-
dark:
|
|
2525
|
+
main: we[700],
|
|
2526
|
+
light: we[400],
|
|
2527
|
+
dark: we[800]
|
|
2515
2528
|
};
|
|
2516
2529
|
}
|
|
2517
|
-
function
|
|
2530
|
+
function Ao(e = "light") {
|
|
2518
2531
|
return e === "dark" ? {
|
|
2519
|
-
main:
|
|
2520
|
-
light:
|
|
2521
|
-
dark:
|
|
2532
|
+
main: Ee[200],
|
|
2533
|
+
light: Ee[50],
|
|
2534
|
+
dark: Ee[400]
|
|
2522
2535
|
} : {
|
|
2523
|
-
main:
|
|
2524
|
-
light:
|
|
2525
|
-
dark:
|
|
2536
|
+
main: Ee[500],
|
|
2537
|
+
light: Ee[300],
|
|
2538
|
+
dark: Ee[700]
|
|
2526
2539
|
};
|
|
2527
2540
|
}
|
|
2528
|
-
function
|
|
2541
|
+
function _o(e = "light") {
|
|
2529
2542
|
return e === "dark" ? {
|
|
2530
|
-
main:
|
|
2531
|
-
light:
|
|
2532
|
-
dark:
|
|
2543
|
+
main: xe[500],
|
|
2544
|
+
light: xe[300],
|
|
2545
|
+
dark: xe[700]
|
|
2533
2546
|
} : {
|
|
2534
|
-
main:
|
|
2535
|
-
light:
|
|
2536
|
-
dark:
|
|
2547
|
+
main: xe[700],
|
|
2548
|
+
light: xe[400],
|
|
2549
|
+
dark: xe[800]
|
|
2537
2550
|
};
|
|
2538
2551
|
}
|
|
2539
|
-
function
|
|
2552
|
+
function ko(e = "light") {
|
|
2540
2553
|
return e === "dark" ? {
|
|
2541
|
-
main:
|
|
2542
|
-
light:
|
|
2543
|
-
dark:
|
|
2554
|
+
main: $e[400],
|
|
2555
|
+
light: $e[300],
|
|
2556
|
+
dark: $e[700]
|
|
2544
2557
|
} : {
|
|
2545
|
-
main:
|
|
2546
|
-
light:
|
|
2547
|
-
dark:
|
|
2558
|
+
main: $e[700],
|
|
2559
|
+
light: $e[500],
|
|
2560
|
+
dark: $e[900]
|
|
2548
2561
|
};
|
|
2549
2562
|
}
|
|
2550
|
-
function
|
|
2563
|
+
function Ro(e = "light") {
|
|
2551
2564
|
return e === "dark" ? {
|
|
2552
|
-
main:
|
|
2553
|
-
light:
|
|
2554
|
-
dark:
|
|
2565
|
+
main: Oe[400],
|
|
2566
|
+
light: Oe[300],
|
|
2567
|
+
dark: Oe[700]
|
|
2555
2568
|
} : {
|
|
2556
|
-
main:
|
|
2557
|
-
light:
|
|
2558
|
-
dark:
|
|
2569
|
+
main: Oe[800],
|
|
2570
|
+
light: Oe[500],
|
|
2571
|
+
dark: Oe[900]
|
|
2559
2572
|
};
|
|
2560
2573
|
}
|
|
2561
|
-
function
|
|
2574
|
+
function Po(e = "light") {
|
|
2562
2575
|
return e === "dark" ? {
|
|
2563
|
-
main:
|
|
2564
|
-
light:
|
|
2565
|
-
dark:
|
|
2576
|
+
main: ke[400],
|
|
2577
|
+
light: ke[300],
|
|
2578
|
+
dark: ke[700]
|
|
2566
2579
|
} : {
|
|
2567
2580
|
main: "#ed6c02",
|
|
2568
2581
|
// closest to orange[800] that pass 3:1.
|
|
2569
|
-
light:
|
|
2570
|
-
dark:
|
|
2582
|
+
light: ke[500],
|
|
2583
|
+
dark: ke[900]
|
|
2571
2584
|
};
|
|
2572
2585
|
}
|
|
2573
|
-
function
|
|
2586
|
+
function Io(e) {
|
|
2587
|
+
return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
|
|
2588
|
+
}
|
|
2589
|
+
function $t(e) {
|
|
2574
2590
|
const {
|
|
2575
2591
|
mode: t = "light",
|
|
2576
2592
|
contrastThreshold: r = 3,
|
|
2577
2593
|
tonalOffset: n = 0.2,
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2594
|
+
colorSpace: o,
|
|
2595
|
+
...i
|
|
2596
|
+
} = e, s = e.primary || Oo(t), l = e.secondary || Ao(t), f = e.error || _o(t), d = e.info || ko(t), p = e.success || Ro(t), h = e.warning || Po(t);
|
|
2597
|
+
function m(v) {
|
|
2598
|
+
if (o)
|
|
2599
|
+
return Io(v);
|
|
2600
|
+
const O = Kt(v, bt.text.primary) >= r ? bt.text.primary : vr.text.primary;
|
|
2582
2601
|
if (process.env.NODE_ENV !== "production") {
|
|
2583
|
-
const
|
|
2584
|
-
|
|
2602
|
+
const I = Kt(v, O);
|
|
2603
|
+
I < 3 && console.error([`MUI: The contrast ratio of ${I}:1 for ${O} on ${v}`, "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(`
|
|
2585
2604
|
`));
|
|
2586
2605
|
}
|
|
2587
|
-
return
|
|
2606
|
+
return O;
|
|
2588
2607
|
}
|
|
2589
|
-
const
|
|
2590
|
-
color:
|
|
2591
|
-
name:
|
|
2592
|
-
mainShade:
|
|
2593
|
-
lightShade:
|
|
2608
|
+
const S = ({
|
|
2609
|
+
color: v,
|
|
2610
|
+
name: O,
|
|
2611
|
+
mainShade: I = 500,
|
|
2612
|
+
lightShade: J = 300,
|
|
2594
2613
|
darkShade: x = 700
|
|
2595
2614
|
}) => {
|
|
2596
|
-
if (
|
|
2597
|
-
...
|
|
2598
|
-
}, !
|
|
2599
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
2600
|
-
The color object needs to have a \`main\` property or a \`${
|
|
2601
|
-
if (typeof
|
|
2602
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
2603
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
2615
|
+
if (v = {
|
|
2616
|
+
...v
|
|
2617
|
+
}, !v.main && v[I] && (v.main = v[I]), !v.hasOwnProperty("main"))
|
|
2618
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${O ? ` (${O})` : ""} provided to augmentColor(color) is invalid.
|
|
2619
|
+
The color object needs to have a \`main\` property or a \`${I}\` property.` : he(11, O ? ` (${O})` : "", I));
|
|
2620
|
+
if (typeof v.main != "string")
|
|
2621
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${O ? ` (${O})` : ""} provided to augmentColor(color) is invalid.
|
|
2622
|
+
\`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
|
|
2604
2623
|
|
|
2605
2624
|
Did you intend to use one of the following approaches?
|
|
2606
2625
|
|
|
@@ -2612,76 +2631,76 @@ const theme1 = createTheme({ palette: {
|
|
|
2612
2631
|
|
|
2613
2632
|
const theme2 = createTheme({ palette: {
|
|
2614
2633
|
primary: { main: green[500] },
|
|
2615
|
-
} });` :
|
|
2616
|
-
return
|
|
2634
|
+
} });` : he(12, O ? ` (${O})` : "", JSON.stringify(v.main)));
|
|
2635
|
+
return o ? (Jt(o, v, "light", J, n), Jt(o, v, "dark", x, n)) : (Xt(v, "light", J, n), Xt(v, "dark", x, n)), v.contrastText || (v.contrastText = m(v.main)), v;
|
|
2617
2636
|
};
|
|
2618
|
-
let
|
|
2619
|
-
return t === "light" ?
|
|
2637
|
+
let y;
|
|
2638
|
+
return t === "light" ? y = br() : t === "dark" && (y = Sr()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), oe({
|
|
2620
2639
|
// A collection of common colors.
|
|
2621
2640
|
common: {
|
|
2622
|
-
...
|
|
2641
|
+
...Ne
|
|
2623
2642
|
},
|
|
2624
2643
|
// prevent mutable object.
|
|
2625
2644
|
// The palette mode, can be light or dark.
|
|
2626
2645
|
mode: t,
|
|
2627
2646
|
// The colors used to represent primary interface elements for a user.
|
|
2628
|
-
primary:
|
|
2629
|
-
color:
|
|
2647
|
+
primary: S({
|
|
2648
|
+
color: s,
|
|
2630
2649
|
name: "primary"
|
|
2631
2650
|
}),
|
|
2632
2651
|
// The colors used to represent secondary interface elements for a user.
|
|
2633
|
-
secondary:
|
|
2634
|
-
color:
|
|
2652
|
+
secondary: S({
|
|
2653
|
+
color: l,
|
|
2635
2654
|
name: "secondary",
|
|
2636
2655
|
mainShade: "A400",
|
|
2637
2656
|
lightShade: "A200",
|
|
2638
2657
|
darkShade: "A700"
|
|
2639
2658
|
}),
|
|
2640
2659
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
2641
|
-
error:
|
|
2642
|
-
color:
|
|
2660
|
+
error: S({
|
|
2661
|
+
color: f,
|
|
2643
2662
|
name: "error"
|
|
2644
2663
|
}),
|
|
2645
2664
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
2646
|
-
warning:
|
|
2647
|
-
color:
|
|
2665
|
+
warning: S({
|
|
2666
|
+
color: h,
|
|
2648
2667
|
name: "warning"
|
|
2649
2668
|
}),
|
|
2650
2669
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
2651
|
-
info:
|
|
2670
|
+
info: S({
|
|
2652
2671
|
color: d,
|
|
2653
2672
|
name: "info"
|
|
2654
2673
|
}),
|
|
2655
2674
|
// The colors used to indicate the successful completion of an action that user triggered.
|
|
2656
|
-
success:
|
|
2657
|
-
color:
|
|
2675
|
+
success: S({
|
|
2676
|
+
color: p,
|
|
2658
2677
|
name: "success"
|
|
2659
2678
|
}),
|
|
2660
2679
|
// The grey colors.
|
|
2661
|
-
grey:
|
|
2680
|
+
grey: $o,
|
|
2662
2681
|
// Used by `getContrastText()` to maximize the contrast between
|
|
2663
2682
|
// the background and the text.
|
|
2664
2683
|
contrastThreshold: r,
|
|
2665
2684
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
2666
|
-
getContrastText:
|
|
2685
|
+
getContrastText: m,
|
|
2667
2686
|
// Generate a rich color object.
|
|
2668
|
-
augmentColor:
|
|
2687
|
+
augmentColor: S,
|
|
2669
2688
|
// Used by the functions below to shift a color's luminance by approximately
|
|
2670
2689
|
// two indexes within its tonal palette.
|
|
2671
2690
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
2672
2691
|
tonalOffset: n,
|
|
2673
2692
|
// The light and dark mode object.
|
|
2674
|
-
...
|
|
2675
|
-
},
|
|
2693
|
+
...y
|
|
2694
|
+
}, i);
|
|
2676
2695
|
}
|
|
2677
|
-
function
|
|
2696
|
+
function No(e) {
|
|
2678
2697
|
const t = {};
|
|
2679
2698
|
return Object.entries(e).forEach((n) => {
|
|
2680
2699
|
const [o, i] = n;
|
|
2681
2700
|
typeof i == "object" && (t[o] = `${i.fontStyle ? `${i.fontStyle} ` : ""}${i.fontVariant ? `${i.fontVariant} ` : ""}${i.fontWeight ? `${i.fontWeight} ` : ""}${i.fontStretch ? `${i.fontStretch} ` : ""}${i.fontSize || ""}${i.lineHeight ? `/${i.lineHeight} ` : ""}${i.fontFamily || ""}`);
|
|
2682
2701
|
}), t;
|
|
2683
2702
|
}
|
|
2684
|
-
function
|
|
2703
|
+
function Bo(e, t) {
|
|
2685
2704
|
return {
|
|
2686
2705
|
toolbar: {
|
|
2687
2706
|
minHeight: 56,
|
|
@@ -2697,58 +2716,58 @@ function Po(e, t) {
|
|
|
2697
2716
|
...t
|
|
2698
2717
|
};
|
|
2699
2718
|
}
|
|
2700
|
-
function
|
|
2719
|
+
function Do(e) {
|
|
2701
2720
|
return Math.round(e * 1e5) / 1e5;
|
|
2702
2721
|
}
|
|
2703
|
-
const
|
|
2722
|
+
const Zt = {
|
|
2704
2723
|
textTransform: "uppercase"
|
|
2705
|
-
},
|
|
2706
|
-
function
|
|
2724
|
+
}, er = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2725
|
+
function Mo(e, t) {
|
|
2707
2726
|
const {
|
|
2708
|
-
fontFamily: r =
|
|
2727
|
+
fontFamily: r = er,
|
|
2709
2728
|
// The default font size of the Material Specification.
|
|
2710
2729
|
fontSize: n = 14,
|
|
2711
2730
|
// px
|
|
2712
2731
|
fontWeightLight: o = 300,
|
|
2713
2732
|
fontWeightRegular: i = 400,
|
|
2714
|
-
fontWeightMedium:
|
|
2733
|
+
fontWeightMedium: s = 500,
|
|
2715
2734
|
fontWeightBold: l = 700,
|
|
2716
2735
|
// Tell MUI what's the font-size on the html element.
|
|
2717
2736
|
// 16px is the default font-size used by browsers.
|
|
2718
|
-
htmlFontSize:
|
|
2737
|
+
htmlFontSize: f = 16,
|
|
2719
2738
|
// Apply the CSS properties to all the variants.
|
|
2720
|
-
allVariants:
|
|
2721
|
-
pxToRem:
|
|
2739
|
+
allVariants: d,
|
|
2740
|
+
pxToRem: p,
|
|
2722
2741
|
...h
|
|
2723
2742
|
} = typeof t == "function" ? t(e) : t;
|
|
2724
|
-
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof
|
|
2725
|
-
const
|
|
2743
|
+
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2744
|
+
const m = n / 14, S = p || ((v) => `${v / f * m}rem`), y = (v, O, I, J, x) => ({
|
|
2726
2745
|
fontFamily: r,
|
|
2727
|
-
fontWeight:
|
|
2728
|
-
fontSize:
|
|
2746
|
+
fontWeight: v,
|
|
2747
|
+
fontSize: S(O),
|
|
2729
2748
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2730
|
-
lineHeight:
|
|
2749
|
+
lineHeight: I,
|
|
2731
2750
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
2732
2751
|
// across font-families can cause issues with the kerning.
|
|
2733
|
-
...r ===
|
|
2734
|
-
letterSpacing: `${
|
|
2752
|
+
...r === er ? {
|
|
2753
|
+
letterSpacing: `${Do(J / O)}em`
|
|
2735
2754
|
} : {},
|
|
2736
|
-
...
|
|
2737
|
-
...
|
|
2738
|
-
}),
|
|
2755
|
+
...x,
|
|
2756
|
+
...d
|
|
2757
|
+
}), c = {
|
|
2739
2758
|
h1: y(o, 96, 1.167, -1.5),
|
|
2740
2759
|
h2: y(o, 60, 1.2, -0.5),
|
|
2741
2760
|
h3: y(i, 48, 1.167, 0),
|
|
2742
2761
|
h4: y(i, 34, 1.235, 0.25),
|
|
2743
2762
|
h5: y(i, 24, 1.334, 0),
|
|
2744
|
-
h6: y(
|
|
2763
|
+
h6: y(s, 20, 1.6, 0.15),
|
|
2745
2764
|
subtitle1: y(i, 16, 1.75, 0.15),
|
|
2746
|
-
subtitle2: y(
|
|
2765
|
+
subtitle2: y(s, 14, 1.57, 0.1),
|
|
2747
2766
|
body1: y(i, 16, 1.5, 0.15),
|
|
2748
2767
|
body2: y(i, 14, 1.43, 0.15),
|
|
2749
|
-
button: y(
|
|
2768
|
+
button: y(s, 14, 1.75, 0.4, Zt),
|
|
2750
2769
|
caption: y(i, 12, 1.66, 0.4),
|
|
2751
|
-
overline: y(i, 12, 2.66, 1,
|
|
2770
|
+
overline: y(i, 12, 2.66, 1, Zt),
|
|
2752
2771
|
// 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.
|
|
2753
2772
|
inherit: {
|
|
2754
2773
|
fontFamily: "inherit",
|
|
@@ -2758,26 +2777,26 @@ function No(e, t) {
|
|
|
2758
2777
|
letterSpacing: "inherit"
|
|
2759
2778
|
}
|
|
2760
2779
|
};
|
|
2761
|
-
return
|
|
2762
|
-
htmlFontSize:
|
|
2763
|
-
pxToRem:
|
|
2780
|
+
return oe({
|
|
2781
|
+
htmlFontSize: f,
|
|
2782
|
+
pxToRem: S,
|
|
2764
2783
|
fontFamily: r,
|
|
2765
2784
|
fontSize: n,
|
|
2766
2785
|
fontWeightLight: o,
|
|
2767
2786
|
fontWeightRegular: i,
|
|
2768
|
-
fontWeightMedium:
|
|
2787
|
+
fontWeightMedium: s,
|
|
2769
2788
|
fontWeightBold: l,
|
|
2770
|
-
...
|
|
2789
|
+
...c
|
|
2771
2790
|
}, h, {
|
|
2772
2791
|
clone: !1
|
|
2773
2792
|
// No need to clone deep
|
|
2774
2793
|
});
|
|
2775
2794
|
}
|
|
2776
|
-
const
|
|
2777
|
-
function
|
|
2778
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
2795
|
+
const jo = 0.2, Vo = 0.14, Fo = 0.12;
|
|
2796
|
+
function z(...e) {
|
|
2797
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${jo})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Vo})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Fo})`].join(",");
|
|
2779
2798
|
}
|
|
2780
|
-
const
|
|
2799
|
+
const Lo = ["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)], Wo = {
|
|
2781
2800
|
// This is the most common easing curve.
|
|
2782
2801
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2783
2802
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -2787,7 +2806,7 @@ const jo = ["none", W(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), W(0, 3, 1, -2, 0, 2,
|
|
|
2787
2806
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2788
2807
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
2789
2808
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2790
|
-
},
|
|
2809
|
+
}, zo = {
|
|
2791
2810
|
shortest: 150,
|
|
2792
2811
|
shorter: 200,
|
|
2793
2812
|
short: 250,
|
|
@@ -2800,45 +2819,45 @@ const jo = ["none", W(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), W(0, 3, 1, -2, 0, 2,
|
|
|
2800
2819
|
// recommended when something is leaving screen
|
|
2801
2820
|
leavingScreen: 195
|
|
2802
2821
|
};
|
|
2803
|
-
function
|
|
2822
|
+
function tr(e) {
|
|
2804
2823
|
return `${Math.round(e)}ms`;
|
|
2805
2824
|
}
|
|
2806
|
-
function
|
|
2825
|
+
function Uo(e) {
|
|
2807
2826
|
if (!e)
|
|
2808
2827
|
return 0;
|
|
2809
2828
|
const t = e / 36;
|
|
2810
2829
|
return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
|
|
2811
2830
|
}
|
|
2812
|
-
function
|
|
2831
|
+
function Go(e) {
|
|
2813
2832
|
const t = {
|
|
2814
|
-
...
|
|
2833
|
+
...Wo,
|
|
2815
2834
|
...e.easing
|
|
2816
2835
|
}, r = {
|
|
2817
|
-
...
|
|
2836
|
+
...zo,
|
|
2818
2837
|
...e.duration
|
|
2819
2838
|
};
|
|
2820
2839
|
return {
|
|
2821
|
-
getAutoHeightDuration:
|
|
2840
|
+
getAutoHeightDuration: Uo,
|
|
2822
2841
|
create: (o = ["all"], i = {}) => {
|
|
2823
2842
|
const {
|
|
2824
|
-
duration:
|
|
2843
|
+
duration: s = r.standard,
|
|
2825
2844
|
easing: l = t.easeInOut,
|
|
2826
|
-
delay:
|
|
2827
|
-
...
|
|
2845
|
+
delay: f = 0,
|
|
2846
|
+
...d
|
|
2828
2847
|
} = i;
|
|
2829
2848
|
if (process.env.NODE_ENV !== "production") {
|
|
2830
|
-
const
|
|
2831
|
-
!
|
|
2832
|
-
`)), Object.keys(
|
|
2849
|
+
const p = (m) => typeof m == "string", h = (m) => !Number.isNaN(parseFloat(m));
|
|
2850
|
+
!p(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !h(s) && !p(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), p(l) || console.error('MUI: Argument "easing" must be a string.'), !h(f) && !p(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "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(`
|
|
2851
|
+
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
2833
2852
|
}
|
|
2834
|
-
return (Array.isArray(o) ? o : [o]).map((
|
|
2853
|
+
return (Array.isArray(o) ? o : [o]).map((p) => `${p} ${typeof s == "string" ? s : tr(s)} ${l} ${typeof f == "string" ? f : tr(f)}`).join(",");
|
|
2835
2854
|
},
|
|
2836
2855
|
...e,
|
|
2837
2856
|
easing: t,
|
|
2838
2857
|
duration: r
|
|
2839
2858
|
};
|
|
2840
2859
|
}
|
|
2841
|
-
const
|
|
2860
|
+
const Yo = {
|
|
2842
2861
|
mobileStepper: 1e3,
|
|
2843
2862
|
fab: 1050,
|
|
2844
2863
|
speedDial: 1050,
|
|
@@ -2848,20 +2867,20 @@ const zo = {
|
|
|
2848
2867
|
snackbar: 1400,
|
|
2849
2868
|
tooltip: 1500
|
|
2850
2869
|
};
|
|
2851
|
-
function
|
|
2852
|
-
return
|
|
2870
|
+
function qo(e) {
|
|
2871
|
+
return ue(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
2853
2872
|
}
|
|
2854
|
-
function
|
|
2873
|
+
function Cr(e = {}) {
|
|
2855
2874
|
const t = {
|
|
2856
2875
|
...e
|
|
2857
2876
|
};
|
|
2858
2877
|
function r(n) {
|
|
2859
2878
|
const o = Object.entries(n);
|
|
2860
2879
|
for (let i = 0; i < o.length; i++) {
|
|
2861
|
-
const [
|
|
2862
|
-
!
|
|
2880
|
+
const [s, l] = o[i];
|
|
2881
|
+
!qo(l) || s.startsWith("unstable_") ? delete n[s] : ue(l) && (n[s] = {
|
|
2863
2882
|
...l
|
|
2864
|
-
}, r(n[
|
|
2883
|
+
}, r(n[s]));
|
|
2865
2884
|
}
|
|
2866
2885
|
}
|
|
2867
2886
|
return r(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
@@ -2873,78 +2892,112 @@ theme.transitions = createTransitions(theme.transitions || {});
|
|
|
2873
2892
|
|
|
2874
2893
|
export default theme;`;
|
|
2875
2894
|
}
|
|
2876
|
-
function
|
|
2895
|
+
function rr(e) {
|
|
2896
|
+
return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
|
|
2897
|
+
}
|
|
2898
|
+
const Ko = (e) => {
|
|
2899
|
+
if (!Number.isNaN(+e))
|
|
2900
|
+
return +e;
|
|
2901
|
+
const t = e.match(/\d*\.?\d+/g);
|
|
2902
|
+
if (!t)
|
|
2903
|
+
return 0;
|
|
2904
|
+
let r = 0;
|
|
2905
|
+
for (let n = 0; n < t.length; n += 1)
|
|
2906
|
+
r += +t[n];
|
|
2907
|
+
return r;
|
|
2908
|
+
};
|
|
2909
|
+
function Ho(e) {
|
|
2910
|
+
Object.assign(e, {
|
|
2911
|
+
alpha(t, r) {
|
|
2912
|
+
const n = this || e;
|
|
2913
|
+
return n.colorSpace ? `oklch(from ${t} l c h / ${typeof r == "string" ? `calc(${r})` : r})` : n.vars ? `rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof r == "string" ? `calc(${r})` : r})` : yr(t, Ko(r));
|
|
2914
|
+
},
|
|
2915
|
+
lighten(t, r) {
|
|
2916
|
+
const n = this || e;
|
|
2917
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #fff ${rr(r)})` : nt(t, r);
|
|
2918
|
+
},
|
|
2919
|
+
darken(t, r) {
|
|
2920
|
+
const n = this || e;
|
|
2921
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #000 ${rr(r)})` : rt(t, r);
|
|
2922
|
+
}
|
|
2923
|
+
});
|
|
2924
|
+
}
|
|
2925
|
+
function vt(e = {}, ...t) {
|
|
2877
2926
|
const {
|
|
2878
2927
|
breakpoints: r,
|
|
2879
2928
|
mixins: n = {},
|
|
2880
2929
|
spacing: o,
|
|
2881
2930
|
palette: i = {},
|
|
2882
|
-
transitions:
|
|
2931
|
+
transitions: s = {},
|
|
2883
2932
|
typography: l = {},
|
|
2884
|
-
shape:
|
|
2885
|
-
|
|
2933
|
+
shape: f,
|
|
2934
|
+
colorSpace: d,
|
|
2935
|
+
...p
|
|
2886
2936
|
} = e;
|
|
2887
2937
|
if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
2888
2938
|
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
2889
2939
|
e.generateThemeVars === void 0)
|
|
2890
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." :
|
|
2891
|
-
const
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2940
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : he(20));
|
|
2941
|
+
const h = $t({
|
|
2942
|
+
...i,
|
|
2943
|
+
colorSpace: d
|
|
2944
|
+
}), m = fr(e);
|
|
2945
|
+
let S = oe(m, {
|
|
2946
|
+
mixins: Bo(m.breakpoints, n),
|
|
2947
|
+
palette: h,
|
|
2895
2948
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2896
|
-
shadows:
|
|
2897
|
-
typography:
|
|
2898
|
-
transitions:
|
|
2949
|
+
shadows: Lo.slice(),
|
|
2950
|
+
typography: Mo(h, l),
|
|
2951
|
+
transitions: Go(s),
|
|
2899
2952
|
zIndex: {
|
|
2900
|
-
...
|
|
2953
|
+
...Yo
|
|
2901
2954
|
}
|
|
2902
2955
|
});
|
|
2903
|
-
if (
|
|
2904
|
-
const
|
|
2905
|
-
let
|
|
2906
|
-
for (
|
|
2907
|
-
const
|
|
2908
|
-
if (
|
|
2956
|
+
if (S = oe(S, p), S = t.reduce((y, c) => oe(y, c), S), process.env.NODE_ENV !== "production") {
|
|
2957
|
+
const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], c = (v, O) => {
|
|
2958
|
+
let I;
|
|
2959
|
+
for (I in v) {
|
|
2960
|
+
const J = v[I];
|
|
2961
|
+
if (y.includes(I) && Object.keys(J).length > 0) {
|
|
2909
2962
|
if (process.env.NODE_ENV !== "production") {
|
|
2910
|
-
const x =
|
|
2911
|
-
console.error([`MUI: The \`${
|
|
2963
|
+
const x = xt("", I);
|
|
2964
|
+
console.error([`MUI: The \`${O}\` component increases the CSS specificity of the \`${I}\` internal state.`, "You can not override it like this: ", JSON.stringify(v, null, 2), "", `Instead, you need to use the '&.${x}' syntax:`, JSON.stringify({
|
|
2912
2965
|
root: {
|
|
2913
|
-
[`&.${x}`]:
|
|
2966
|
+
[`&.${x}`]: J
|
|
2914
2967
|
}
|
|
2915
2968
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2916
2969
|
`));
|
|
2917
2970
|
}
|
|
2918
|
-
|
|
2971
|
+
v[I] = {};
|
|
2919
2972
|
}
|
|
2920
2973
|
}
|
|
2921
2974
|
};
|
|
2922
|
-
Object.keys(
|
|
2923
|
-
const
|
|
2924
|
-
|
|
2975
|
+
Object.keys(S.components).forEach((v) => {
|
|
2976
|
+
const O = S.components[v].styleOverrides;
|
|
2977
|
+
O && v.startsWith("Mui") && c(O, v);
|
|
2925
2978
|
});
|
|
2926
2979
|
}
|
|
2927
|
-
return
|
|
2928
|
-
...
|
|
2929
|
-
...
|
|
2930
|
-
},
|
|
2931
|
-
return
|
|
2932
|
-
sx:
|
|
2980
|
+
return S.unstable_sxConfig = {
|
|
2981
|
+
...et,
|
|
2982
|
+
...p?.unstable_sxConfig
|
|
2983
|
+
}, S.unstable_sx = function(c) {
|
|
2984
|
+
return _e({
|
|
2985
|
+
sx: c,
|
|
2933
2986
|
theme: this
|
|
2934
2987
|
});
|
|
2935
|
-
},
|
|
2988
|
+
}, S.toRuntimeSource = Cr, Ho(S), S;
|
|
2936
2989
|
}
|
|
2937
|
-
function
|
|
2990
|
+
function Qo(e) {
|
|
2938
2991
|
let t;
|
|
2939
2992
|
return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
|
|
2940
2993
|
}
|
|
2941
|
-
const
|
|
2994
|
+
const Xo = [...Array(25)].map((e, t) => {
|
|
2942
2995
|
if (t === 0)
|
|
2943
2996
|
return "none";
|
|
2944
|
-
const r =
|
|
2997
|
+
const r = Qo(t);
|
|
2945
2998
|
return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
|
|
2946
2999
|
});
|
|
2947
|
-
function
|
|
3000
|
+
function Tr(e) {
|
|
2948
3001
|
return {
|
|
2949
3002
|
inputPlaceholder: e === "dark" ? 0.5 : 0.42,
|
|
2950
3003
|
inputUnderline: e === "dark" ? 0.7 : 0.42,
|
|
@@ -2952,10 +3005,10 @@ function yr(e) {
|
|
|
2952
3005
|
switchTrack: e === "dark" ? 0.3 : 0.38
|
|
2953
3006
|
};
|
|
2954
3007
|
}
|
|
2955
|
-
function
|
|
2956
|
-
return e === "dark" ?
|
|
3008
|
+
function Er(e) {
|
|
3009
|
+
return e === "dark" ? Xo : [];
|
|
2957
3010
|
}
|
|
2958
|
-
function
|
|
3011
|
+
function Jo(e) {
|
|
2959
3012
|
const {
|
|
2960
3013
|
palette: t = {
|
|
2961
3014
|
mode: "light"
|
|
@@ -2963,42 +3016,46 @@ function qo(e) {
|
|
|
2963
3016
|
// need to cast to avoid module augmentation test
|
|
2964
3017
|
opacity: r,
|
|
2965
3018
|
overlays: n,
|
|
2966
|
-
|
|
2967
|
-
|
|
3019
|
+
colorSpace: o,
|
|
3020
|
+
...i
|
|
3021
|
+
} = e, s = $t({
|
|
3022
|
+
...t,
|
|
3023
|
+
colorSpace: o
|
|
3024
|
+
});
|
|
2968
3025
|
return {
|
|
2969
|
-
palette:
|
|
3026
|
+
palette: s,
|
|
2970
3027
|
opacity: {
|
|
2971
|
-
...
|
|
3028
|
+
...Tr(s.mode),
|
|
2972
3029
|
...r
|
|
2973
3030
|
},
|
|
2974
|
-
overlays: n ||
|
|
2975
|
-
...
|
|
3031
|
+
overlays: n || Er(s.mode),
|
|
3032
|
+
...i
|
|
2976
3033
|
};
|
|
2977
3034
|
}
|
|
2978
|
-
function
|
|
3035
|
+
function Zo(e) {
|
|
2979
3036
|
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
2980
3037
|
e[0] === "palette" && !!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
|
|
2981
3038
|
}
|
|
2982
|
-
const
|
|
3039
|
+
const ei = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], ti = (e) => (t, r) => {
|
|
2983
3040
|
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
2984
3041
|
let i = o;
|
|
2985
3042
|
if (o === "class" && (i = ".%s"), o === "data" && (i = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (i = `[${o}="%s"]`), e.defaultColorScheme === t) {
|
|
2986
3043
|
if (t === "dark") {
|
|
2987
|
-
const
|
|
2988
|
-
return
|
|
2989
|
-
|
|
3044
|
+
const s = {};
|
|
3045
|
+
return ei(e.cssVarPrefix).forEach((l) => {
|
|
3046
|
+
s[l] = r[l], delete r[l];
|
|
2990
3047
|
}), i === "media" ? {
|
|
2991
3048
|
[n]: r,
|
|
2992
3049
|
"@media (prefers-color-scheme: dark)": {
|
|
2993
|
-
[n]:
|
|
3050
|
+
[n]: s
|
|
2994
3051
|
}
|
|
2995
3052
|
} : i ? {
|
|
2996
|
-
[i.replace("%s", t)]:
|
|
3053
|
+
[i.replace("%s", t)]: s,
|
|
2997
3054
|
[`${n}, ${i.replace("%s", t)}`]: r
|
|
2998
3055
|
} : {
|
|
2999
3056
|
[n]: {
|
|
3000
3057
|
...r,
|
|
3001
|
-
...
|
|
3058
|
+
...s
|
|
3002
3059
|
}
|
|
3003
3060
|
};
|
|
3004
3061
|
}
|
|
@@ -3016,7 +3073,7 @@ const Ho = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlay
|
|
|
3016
3073
|
}
|
|
3017
3074
|
return n;
|
|
3018
3075
|
};
|
|
3019
|
-
function
|
|
3076
|
+
function ri(e, t) {
|
|
3020
3077
|
t.forEach((r) => {
|
|
3021
3078
|
e[r] || (e[r] = {});
|
|
3022
3079
|
});
|
|
@@ -3024,58 +3081,60 @@ function Xo(e, t) {
|
|
|
3024
3081
|
function u(e, t, r) {
|
|
3025
3082
|
!e[t] && r && (e[t] = r);
|
|
3026
3083
|
}
|
|
3027
|
-
function
|
|
3028
|
-
return typeof e != "string" || !e.startsWith("hsl") ? e :
|
|
3084
|
+
function Pe(e) {
|
|
3085
|
+
return typeof e != "string" || !e.startsWith("hsl") ? e : gr(e);
|
|
3029
3086
|
}
|
|
3030
3087
|
function ce(e, t) {
|
|
3031
|
-
`${t}Channel` in e || (e[`${t}Channel`] =
|
|
3088
|
+
`${t}Channel` in e || (e[`${t}Channel`] = Re(Pe(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
3032
3089
|
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
3033
3090
|
}
|
|
3034
|
-
function
|
|
3091
|
+
function ni(e) {
|
|
3035
3092
|
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
3036
3093
|
}
|
|
3037
|
-
const
|
|
3094
|
+
const le = (e) => {
|
|
3038
3095
|
try {
|
|
3039
3096
|
return e();
|
|
3040
3097
|
} catch {
|
|
3041
3098
|
}
|
|
3042
|
-
},
|
|
3043
|
-
function
|
|
3044
|
-
if (!
|
|
3099
|
+
}, oi = (e = "mui") => Co(e);
|
|
3100
|
+
function mt(e, t, r, n, o) {
|
|
3101
|
+
if (!r)
|
|
3045
3102
|
return;
|
|
3046
|
-
|
|
3047
|
-
const
|
|
3048
|
-
if (!
|
|
3049
|
-
|
|
3050
|
-
...
|
|
3103
|
+
r = r === !0 ? {} : r;
|
|
3104
|
+
const i = o === "dark" ? "dark" : "light";
|
|
3105
|
+
if (!n) {
|
|
3106
|
+
t[o] = Jo({
|
|
3107
|
+
...r,
|
|
3051
3108
|
palette: {
|
|
3052
|
-
mode:
|
|
3053
|
-
...
|
|
3054
|
-
}
|
|
3109
|
+
mode: i,
|
|
3110
|
+
...r?.palette
|
|
3111
|
+
},
|
|
3112
|
+
colorSpace: e
|
|
3055
3113
|
});
|
|
3056
3114
|
return;
|
|
3057
3115
|
}
|
|
3058
3116
|
const {
|
|
3059
|
-
palette:
|
|
3060
|
-
...
|
|
3061
|
-
} =
|
|
3062
|
-
...
|
|
3117
|
+
palette: s,
|
|
3118
|
+
...l
|
|
3119
|
+
} = vt({
|
|
3120
|
+
...n,
|
|
3063
3121
|
palette: {
|
|
3064
|
-
mode:
|
|
3065
|
-
...
|
|
3066
|
-
}
|
|
3122
|
+
mode: i,
|
|
3123
|
+
...r?.palette
|
|
3124
|
+
},
|
|
3125
|
+
colorSpace: e
|
|
3067
3126
|
});
|
|
3068
|
-
return
|
|
3069
|
-
...
|
|
3070
|
-
palette:
|
|
3127
|
+
return t[o] = {
|
|
3128
|
+
...r,
|
|
3129
|
+
palette: s,
|
|
3071
3130
|
opacity: {
|
|
3072
|
-
...
|
|
3073
|
-
...
|
|
3131
|
+
...Tr(i),
|
|
3132
|
+
...r?.opacity
|
|
3074
3133
|
},
|
|
3075
|
-
overlays:
|
|
3076
|
-
},
|
|
3134
|
+
overlays: r?.overlays || Er(i)
|
|
3135
|
+
}, l;
|
|
3077
3136
|
}
|
|
3078
|
-
function
|
|
3137
|
+
function ii(e = {}, ...t) {
|
|
3079
3138
|
const {
|
|
3080
3139
|
colorSchemes: r = {
|
|
3081
3140
|
light: !0
|
|
@@ -3083,92 +3142,104 @@ function ei(e = {}, ...t) {
|
|
|
3083
3142
|
defaultColorScheme: n,
|
|
3084
3143
|
disableCssColorScheme: o = !1,
|
|
3085
3144
|
cssVarPrefix: i = "mui",
|
|
3086
|
-
|
|
3087
|
-
|
|
3145
|
+
nativeColor: s = !1,
|
|
3146
|
+
shouldSkipGeneratingVar: l = Zo,
|
|
3147
|
+
colorSchemeSelector: f = r.light && r.dark ? "media" : void 0,
|
|
3088
3148
|
rootSelector: d = ":root",
|
|
3089
|
-
...
|
|
3090
|
-
} = e,
|
|
3091
|
-
[
|
|
3092
|
-
light:
|
|
3093
|
-
dark:
|
|
3094
|
-
...
|
|
3095
|
-
} = r,
|
|
3096
|
-
...
|
|
3149
|
+
...p
|
|
3150
|
+
} = e, h = Object.keys(r)[0], m = n || (r.light && h !== "light" ? "light" : h), S = oi(i), {
|
|
3151
|
+
[m]: y,
|
|
3152
|
+
light: c,
|
|
3153
|
+
dark: v,
|
|
3154
|
+
...O
|
|
3155
|
+
} = r, I = {
|
|
3156
|
+
...O
|
|
3097
3157
|
};
|
|
3098
|
-
let
|
|
3099
|
-
if ((
|
|
3100
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3158
|
+
let J = y;
|
|
3159
|
+
if ((m === "dark" && !("dark" in r) || m === "light" && !("light" in r)) && (J = !0), !J)
|
|
3160
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${m}\` option is either missing or invalid.` : he(21, m));
|
|
3161
|
+
let x;
|
|
3162
|
+
s && (x = "oklch");
|
|
3163
|
+
const Q = mt(x, I, J, p, m);
|
|
3164
|
+
c && !I.light && mt(x, I, c, void 0, "light"), v && !I.dark && mt(x, I, v, void 0, "dark");
|
|
3165
|
+
let E = {
|
|
3166
|
+
defaultColorScheme: m,
|
|
3167
|
+
...Q,
|
|
3106
3168
|
cssVarPrefix: i,
|
|
3107
|
-
colorSchemeSelector:
|
|
3169
|
+
colorSchemeSelector: f,
|
|
3108
3170
|
rootSelector: d,
|
|
3109
|
-
getCssVar:
|
|
3110
|
-
colorSchemes:
|
|
3171
|
+
getCssVar: S,
|
|
3172
|
+
colorSchemes: I,
|
|
3111
3173
|
font: {
|
|
3112
|
-
...
|
|
3113
|
-
...
|
|
3174
|
+
...No(Q.typography),
|
|
3175
|
+
...Q.font
|
|
3114
3176
|
},
|
|
3115
|
-
spacing:
|
|
3177
|
+
spacing: ni(p.spacing)
|
|
3116
3178
|
};
|
|
3117
|
-
Object.keys(
|
|
3118
|
-
const a =
|
|
3119
|
-
const N =
|
|
3120
|
-
return
|
|
3179
|
+
Object.keys(E.colorSchemes).forEach((X) => {
|
|
3180
|
+
const a = E.colorSchemes[X].palette, T = (w) => {
|
|
3181
|
+
const N = w.split("-"), ee = N[1], de = N[2];
|
|
3182
|
+
return S(w, a[ee][de]);
|
|
3121
3183
|
};
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3184
|
+
a.mode === "light" && (u(a.common, "background", "#fff"), u(a.common, "onBackground", "#000")), a.mode === "dark" && (u(a.common, "background", "#000"), u(a.common, "onBackground", "#fff"));
|
|
3185
|
+
function b(w, N, ee) {
|
|
3186
|
+
if (x) {
|
|
3187
|
+
let de;
|
|
3188
|
+
return w === be && (de = `transparent ${((1 - ee) * 100).toFixed(0)}%`), w === j && (de = `#000 ${(ee * 100).toFixed(0)}%`), w === V && (de = `#fff ${(ee * 100).toFixed(0)}%`), `color-mix(in ${x}, ${N}, ${de})`;
|
|
3189
|
+
}
|
|
3190
|
+
return w(N, ee);
|
|
3191
|
+
}
|
|
3192
|
+
if (ri(a, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), a.mode === "light") {
|
|
3193
|
+
u(a.Alert, "errorColor", b(j, a.error.light, 0.6)), u(a.Alert, "infoColor", b(j, a.info.light, 0.6)), u(a.Alert, "successColor", b(j, a.success.light, 0.6)), u(a.Alert, "warningColor", b(j, a.warning.light, 0.6)), u(a.Alert, "errorFilledBg", T("palette-error-main")), u(a.Alert, "infoFilledBg", T("palette-info-main")), u(a.Alert, "successFilledBg", T("palette-success-main")), u(a.Alert, "warningFilledBg", T("palette-warning-main")), u(a.Alert, "errorFilledColor", le(() => a.getContrastText(a.error.main))), u(a.Alert, "infoFilledColor", le(() => a.getContrastText(a.info.main))), u(a.Alert, "successFilledColor", le(() => a.getContrastText(a.success.main))), u(a.Alert, "warningFilledColor", le(() => a.getContrastText(a.warning.main))), u(a.Alert, "errorStandardBg", b(V, a.error.light, 0.9)), u(a.Alert, "infoStandardBg", b(V, a.info.light, 0.9)), u(a.Alert, "successStandardBg", b(V, a.success.light, 0.9)), u(a.Alert, "warningStandardBg", b(V, a.warning.light, 0.9)), u(a.Alert, "errorIconColor", T("palette-error-main")), u(a.Alert, "infoIconColor", T("palette-info-main")), u(a.Alert, "successIconColor", T("palette-success-main")), u(a.Alert, "warningIconColor", T("palette-warning-main")), u(a.AppBar, "defaultBg", T("palette-grey-100")), u(a.Avatar, "defaultBg", T("palette-grey-400")), u(a.Button, "inheritContainedBg", T("palette-grey-300")), u(a.Button, "inheritContainedHoverBg", T("palette-grey-A100")), u(a.Chip, "defaultBorder", T("palette-grey-400")), u(a.Chip, "defaultAvatarColor", T("palette-grey-700")), u(a.Chip, "defaultIconColor", T("palette-grey-700")), u(a.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), u(a.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), u(a.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), u(a.LinearProgress, "primaryBg", b(V, a.primary.main, 0.62)), u(a.LinearProgress, "secondaryBg", b(V, a.secondary.main, 0.62)), u(a.LinearProgress, "errorBg", b(V, a.error.main, 0.62)), u(a.LinearProgress, "infoBg", b(V, a.info.main, 0.62)), u(a.LinearProgress, "successBg", b(V, a.success.main, 0.62)), u(a.LinearProgress, "warningBg", b(V, a.warning.main, 0.62)), u(a.Skeleton, "bg", x ? b(be, a.text.primary, 0.11) : `rgba(${T("palette-text-primaryChannel")} / 0.11)`), u(a.Slider, "primaryTrack", b(V, a.primary.main, 0.62)), u(a.Slider, "secondaryTrack", b(V, a.secondary.main, 0.62)), u(a.Slider, "errorTrack", b(V, a.error.main, 0.62)), u(a.Slider, "infoTrack", b(V, a.info.main, 0.62)), u(a.Slider, "successTrack", b(V, a.success.main, 0.62)), u(a.Slider, "warningTrack", b(V, a.warning.main, 0.62));
|
|
3194
|
+
const w = x ? b(j, a.background.default, 0.6825) : Ve(a.background.default, 0.8);
|
|
3195
|
+
u(a.SnackbarContent, "bg", w), u(a.SnackbarContent, "color", le(() => x ? bt.text.primary : a.getContrastText(w))), u(a.SpeedDialAction, "fabHoverBg", Ve(a.background.paper, 0.15)), u(a.StepConnector, "border", T("palette-grey-400")), u(a.StepContent, "border", T("palette-grey-400")), u(a.Switch, "defaultColor", T("palette-common-white")), u(a.Switch, "defaultDisabledColor", T("palette-grey-100")), u(a.Switch, "primaryDisabledColor", b(V, a.primary.main, 0.62)), u(a.Switch, "secondaryDisabledColor", b(V, a.secondary.main, 0.62)), u(a.Switch, "errorDisabledColor", b(V, a.error.main, 0.62)), u(a.Switch, "infoDisabledColor", b(V, a.info.main, 0.62)), u(a.Switch, "successDisabledColor", b(V, a.success.main, 0.62)), u(a.Switch, "warningDisabledColor", b(V, a.warning.main, 0.62)), u(a.TableCell, "border", b(V, b(be, a.divider, 1), 0.88)), u(a.Tooltip, "bg", b(be, a.grey[700], 0.92));
|
|
3126
3196
|
}
|
|
3127
3197
|
if (a.mode === "dark") {
|
|
3128
|
-
u(a.Alert, "errorColor",
|
|
3129
|
-
const
|
|
3130
|
-
u(a.SnackbarContent, "bg",
|
|
3198
|
+
u(a.Alert, "errorColor", b(V, a.error.light, 0.6)), u(a.Alert, "infoColor", b(V, a.info.light, 0.6)), u(a.Alert, "successColor", b(V, a.success.light, 0.6)), u(a.Alert, "warningColor", b(V, a.warning.light, 0.6)), u(a.Alert, "errorFilledBg", T("palette-error-dark")), u(a.Alert, "infoFilledBg", T("palette-info-dark")), u(a.Alert, "successFilledBg", T("palette-success-dark")), u(a.Alert, "warningFilledBg", T("palette-warning-dark")), u(a.Alert, "errorFilledColor", le(() => a.getContrastText(a.error.dark))), u(a.Alert, "infoFilledColor", le(() => a.getContrastText(a.info.dark))), u(a.Alert, "successFilledColor", le(() => a.getContrastText(a.success.dark))), u(a.Alert, "warningFilledColor", le(() => a.getContrastText(a.warning.dark))), u(a.Alert, "errorStandardBg", b(j, a.error.light, 0.9)), u(a.Alert, "infoStandardBg", b(j, a.info.light, 0.9)), u(a.Alert, "successStandardBg", b(j, a.success.light, 0.9)), u(a.Alert, "warningStandardBg", b(j, a.warning.light, 0.9)), u(a.Alert, "errorIconColor", T("palette-error-main")), u(a.Alert, "infoIconColor", T("palette-info-main")), u(a.Alert, "successIconColor", T("palette-success-main")), u(a.Alert, "warningIconColor", T("palette-warning-main")), u(a.AppBar, "defaultBg", T("palette-grey-900")), u(a.AppBar, "darkBg", T("palette-background-paper")), u(a.AppBar, "darkColor", T("palette-text-primary")), u(a.Avatar, "defaultBg", T("palette-grey-600")), u(a.Button, "inheritContainedBg", T("palette-grey-800")), u(a.Button, "inheritContainedHoverBg", T("palette-grey-700")), u(a.Chip, "defaultBorder", T("palette-grey-700")), u(a.Chip, "defaultAvatarColor", T("palette-grey-300")), u(a.Chip, "defaultIconColor", T("palette-grey-300")), u(a.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), u(a.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), u(a.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), u(a.LinearProgress, "primaryBg", b(j, a.primary.main, 0.5)), u(a.LinearProgress, "secondaryBg", b(j, a.secondary.main, 0.5)), u(a.LinearProgress, "errorBg", b(j, a.error.main, 0.5)), u(a.LinearProgress, "infoBg", b(j, a.info.main, 0.5)), u(a.LinearProgress, "successBg", b(j, a.success.main, 0.5)), u(a.LinearProgress, "warningBg", b(j, a.warning.main, 0.5)), u(a.Skeleton, "bg", x ? b(be, a.text.primary, 0.13) : `rgba(${T("palette-text-primaryChannel")} / 0.13)`), u(a.Slider, "primaryTrack", b(j, a.primary.main, 0.5)), u(a.Slider, "secondaryTrack", b(j, a.secondary.main, 0.5)), u(a.Slider, "errorTrack", b(j, a.error.main, 0.5)), u(a.Slider, "infoTrack", b(j, a.info.main, 0.5)), u(a.Slider, "successTrack", b(j, a.success.main, 0.5)), u(a.Slider, "warningTrack", b(j, a.warning.main, 0.5));
|
|
3199
|
+
const w = x ? b(V, a.background.default, 0.985) : Ve(a.background.default, 0.98);
|
|
3200
|
+
u(a.SnackbarContent, "bg", w), u(a.SnackbarContent, "color", le(() => x ? vr.text.primary : a.getContrastText(w))), u(a.SpeedDialAction, "fabHoverBg", Ve(a.background.paper, 0.15)), u(a.StepConnector, "border", T("palette-grey-600")), u(a.StepContent, "border", T("palette-grey-600")), u(a.Switch, "defaultColor", T("palette-grey-300")), u(a.Switch, "defaultDisabledColor", T("palette-grey-600")), u(a.Switch, "primaryDisabledColor", b(j, a.primary.main, 0.55)), u(a.Switch, "secondaryDisabledColor", b(j, a.secondary.main, 0.55)), u(a.Switch, "errorDisabledColor", b(j, a.error.main, 0.55)), u(a.Switch, "infoDisabledColor", b(j, a.info.main, 0.55)), u(a.Switch, "successDisabledColor", b(j, a.success.main, 0.55)), u(a.Switch, "warningDisabledColor", b(j, a.warning.main, 0.55)), u(a.TableCell, "border", b(j, b(be, a.divider, 1), 0.68)), u(a.Tooltip, "bg", b(be, a.grey[700], 0.92));
|
|
3131
3201
|
}
|
|
3132
|
-
ce(a.background, "default"), ce(a.background, "paper"), ce(a.common, "background"), ce(a.common, "onBackground"), ce(a, "divider"), Object.keys(a).forEach((
|
|
3133
|
-
const N = a[
|
|
3134
|
-
|
|
3202
|
+
ce(a.background, "default"), ce(a.background, "paper"), ce(a.common, "background"), ce(a.common, "onBackground"), ce(a, "divider"), Object.keys(a).forEach((w) => {
|
|
3203
|
+
const N = a[w];
|
|
3204
|
+
w !== "tonalOffset" && N && typeof N == "object" && (N.main && u(a[w], "mainChannel", Re(Pe(N.main))), N.light && u(a[w], "lightChannel", Re(Pe(N.light))), N.dark && u(a[w], "darkChannel", Re(Pe(N.dark))), N.contrastText && u(a[w], "contrastTextChannel", Re(Pe(N.contrastText))), w === "text" && (ce(a[w], "primary"), ce(a[w], "secondary")), w === "action" && (N.active && ce(a[w], "active"), N.selected && ce(a[w], "selected")));
|
|
3135
3205
|
});
|
|
3136
|
-
}),
|
|
3137
|
-
const
|
|
3206
|
+
}), E = t.reduce((X, a) => oe(X, a), E);
|
|
3207
|
+
const G = {
|
|
3138
3208
|
prefix: i,
|
|
3139
3209
|
disableCssColorScheme: o,
|
|
3140
|
-
shouldSkipGeneratingVar:
|
|
3141
|
-
getSelector:
|
|
3210
|
+
shouldSkipGeneratingVar: l,
|
|
3211
|
+
getSelector: ti(E),
|
|
3212
|
+
enableContrastVars: s
|
|
3142
3213
|
}, {
|
|
3143
|
-
vars:
|
|
3144
|
-
generateThemeVars:
|
|
3145
|
-
generateStyleSheets:
|
|
3146
|
-
} =
|
|
3147
|
-
return
|
|
3148
|
-
|
|
3149
|
-
}),
|
|
3150
|
-
return
|
|
3151
|
-
},
|
|
3152
|
-
...
|
|
3153
|
-
...
|
|
3154
|
-
},
|
|
3155
|
-
return
|
|
3214
|
+
vars: Z,
|
|
3215
|
+
generateThemeVars: U,
|
|
3216
|
+
generateStyleSheets: te
|
|
3217
|
+
} = xo(E, G);
|
|
3218
|
+
return E.vars = Z, Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([X, a]) => {
|
|
3219
|
+
E[X] = a;
|
|
3220
|
+
}), E.generateThemeVars = U, E.generateStyleSheets = te, E.generateSpacing = function() {
|
|
3221
|
+
return ur(p.spacing, Tt(this));
|
|
3222
|
+
}, E.getColorSchemeSelector = wo(f), E.spacing = E.generateSpacing(), E.shouldSkipGeneratingVar = l, E.unstable_sxConfig = {
|
|
3223
|
+
...et,
|
|
3224
|
+
...p?.unstable_sxConfig
|
|
3225
|
+
}, E.unstable_sx = function(a) {
|
|
3226
|
+
return _e({
|
|
3156
3227
|
sx: a,
|
|
3157
3228
|
theme: this
|
|
3158
3229
|
});
|
|
3159
|
-
},
|
|
3230
|
+
}, E.toRuntimeSource = Cr, E;
|
|
3160
3231
|
}
|
|
3161
|
-
function
|
|
3232
|
+
function nr(e, t, r) {
|
|
3162
3233
|
e.colorSchemes && r && (e.colorSchemes[t] = {
|
|
3163
3234
|
...r !== !0 && r,
|
|
3164
|
-
palette:
|
|
3235
|
+
palette: $t({
|
|
3165
3236
|
...r === !0 ? {} : r.palette,
|
|
3166
3237
|
mode: t
|
|
3167
3238
|
})
|
|
3168
3239
|
// cast type to skip module augmentation test
|
|
3169
3240
|
});
|
|
3170
3241
|
}
|
|
3171
|
-
function
|
|
3242
|
+
function ai(e = {}, ...t) {
|
|
3172
3243
|
const {
|
|
3173
3244
|
palette: r,
|
|
3174
3245
|
cssVariables: n = !1,
|
|
@@ -3176,78 +3247,78 @@ function ti(e = {}, ...t) {
|
|
|
3176
3247
|
light: !0
|
|
3177
3248
|
},
|
|
3178
3249
|
defaultColorScheme: i = r?.mode,
|
|
3179
|
-
...
|
|
3180
|
-
} = e, l = i || "light",
|
|
3250
|
+
...s
|
|
3251
|
+
} = e, l = i || "light", f = o?.[l], d = {
|
|
3181
3252
|
...o,
|
|
3182
3253
|
...r ? {
|
|
3183
3254
|
[l]: {
|
|
3184
|
-
...typeof
|
|
3255
|
+
...typeof f != "boolean" && f,
|
|
3185
3256
|
palette: r
|
|
3186
3257
|
}
|
|
3187
3258
|
} : void 0
|
|
3188
3259
|
};
|
|
3189
3260
|
if (n === !1) {
|
|
3190
3261
|
if (!("colorSchemes" in e))
|
|
3191
|
-
return
|
|
3192
|
-
let
|
|
3193
|
-
"palette" in e ||
|
|
3262
|
+
return vt(e, ...t);
|
|
3263
|
+
let p = r;
|
|
3264
|
+
"palette" in e || d[l] && (d[l] !== !0 ? p = d[l].palette : l === "dark" && (p = {
|
|
3194
3265
|
mode: "dark"
|
|
3195
3266
|
}));
|
|
3196
|
-
const h =
|
|
3267
|
+
const h = vt({
|
|
3197
3268
|
...e,
|
|
3198
|
-
palette:
|
|
3269
|
+
palette: p
|
|
3199
3270
|
}, ...t);
|
|
3200
|
-
return h.defaultColorScheme = l, h.colorSchemes =
|
|
3201
|
-
...
|
|
3271
|
+
return h.defaultColorScheme = l, h.colorSchemes = d, h.palette.mode === "light" && (h.colorSchemes.light = {
|
|
3272
|
+
...d.light !== !0 && d.light,
|
|
3202
3273
|
palette: h.palette
|
|
3203
|
-
},
|
|
3204
|
-
...
|
|
3274
|
+
}, nr(h, "dark", d.dark)), h.palette.mode === "dark" && (h.colorSchemes.dark = {
|
|
3275
|
+
...d.dark !== !0 && d.dark,
|
|
3205
3276
|
palette: h.palette
|
|
3206
|
-
},
|
|
3277
|
+
}, nr(h, "light", d.light)), h;
|
|
3207
3278
|
}
|
|
3208
|
-
return !r && !("light" in
|
|
3209
|
-
...
|
|
3210
|
-
colorSchemes:
|
|
3279
|
+
return !r && !("light" in d) && l === "light" && (d.light = !0), ii({
|
|
3280
|
+
...s,
|
|
3281
|
+
colorSchemes: d,
|
|
3211
3282
|
defaultColorScheme: l,
|
|
3212
3283
|
...typeof n != "boolean" && n
|
|
3213
3284
|
}, ...t);
|
|
3214
3285
|
}
|
|
3215
|
-
const
|
|
3216
|
-
function
|
|
3286
|
+
const si = ai(), li = "$$material";
|
|
3287
|
+
function ci(e) {
|
|
3217
3288
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
3218
3289
|
}
|
|
3219
|
-
const
|
|
3220
|
-
themeId:
|
|
3221
|
-
defaultTheme:
|
|
3222
|
-
rootShouldForwardProp:
|
|
3223
|
-
}),
|
|
3224
|
-
process.env.NODE_ENV !== "production" && (
|
|
3225
|
-
function
|
|
3226
|
-
return
|
|
3290
|
+
const ui = (e) => ci(e) && e !== "classes", fi = so({
|
|
3291
|
+
themeId: li,
|
|
3292
|
+
defaultTheme: si,
|
|
3293
|
+
rootShouldForwardProp: ui
|
|
3294
|
+
}), di = So;
|
|
3295
|
+
process.env.NODE_ENV !== "production" && (P.node, P.object.isRequired);
|
|
3296
|
+
function pi(e) {
|
|
3297
|
+
return vo(e);
|
|
3227
3298
|
}
|
|
3228
|
-
function
|
|
3229
|
-
return
|
|
3299
|
+
function mi(e) {
|
|
3300
|
+
return xt("MuiSvgIcon", e);
|
|
3230
3301
|
}
|
|
3231
|
-
|
|
3232
|
-
const
|
|
3302
|
+
ro("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
3303
|
+
const hi = (e) => {
|
|
3233
3304
|
const {
|
|
3234
3305
|
color: t,
|
|
3235
3306
|
fontSize: r,
|
|
3236
3307
|
classes: n
|
|
3237
3308
|
} = e, o = {
|
|
3238
|
-
root: ["root", t !== "inherit" && `color${
|
|
3309
|
+
root: ["root", t !== "inherit" && `color${Ce(t)}`, `fontSize${Ce(r)}`]
|
|
3239
3310
|
};
|
|
3240
|
-
return
|
|
3241
|
-
},
|
|
3311
|
+
return Hr(o, mi, n);
|
|
3312
|
+
}, gi = fi("svg", {
|
|
3242
3313
|
name: "MuiSvgIcon",
|
|
3243
3314
|
slot: "Root",
|
|
3244
3315
|
overridesResolver: (e, t) => {
|
|
3245
3316
|
const {
|
|
3246
3317
|
ownerState: r
|
|
3247
3318
|
} = e;
|
|
3248
|
-
return [t.root, r.color !== "inherit" && t[`color${
|
|
3319
|
+
return [t.root, r.color !== "inherit" && t[`color${Ce(r.color)}`], t[`fontSize${Ce(r.fontSize)}`]];
|
|
3249
3320
|
}
|
|
3250
|
-
})(
|
|
3321
|
+
})(di(({
|
|
3251
3322
|
theme: e
|
|
3252
3323
|
}) => ({
|
|
3253
3324
|
userSelect: "none",
|
|
@@ -3333,51 +3404,51 @@ const ui = (e) => {
|
|
|
3333
3404
|
}
|
|
3334
3405
|
}
|
|
3335
3406
|
]
|
|
3336
|
-
}))),
|
|
3337
|
-
const n =
|
|
3407
|
+
}))), Ue = /* @__PURE__ */ me.forwardRef(function(t, r) {
|
|
3408
|
+
const n = pi({
|
|
3338
3409
|
props: t,
|
|
3339
3410
|
name: "MuiSvgIcon"
|
|
3340
3411
|
}), {
|
|
3341
3412
|
children: o,
|
|
3342
3413
|
className: i,
|
|
3343
|
-
color:
|
|
3414
|
+
color: s = "inherit",
|
|
3344
3415
|
component: l = "svg",
|
|
3345
|
-
fontSize:
|
|
3346
|
-
htmlColor:
|
|
3347
|
-
inheritViewBox:
|
|
3416
|
+
fontSize: f = "medium",
|
|
3417
|
+
htmlColor: d,
|
|
3418
|
+
inheritViewBox: p = !1,
|
|
3348
3419
|
titleAccess: h,
|
|
3349
|
-
viewBox:
|
|
3350
|
-
...
|
|
3351
|
-
} = n, y = /* @__PURE__ */
|
|
3420
|
+
viewBox: m = "0 0 24 24",
|
|
3421
|
+
...S
|
|
3422
|
+
} = n, y = /* @__PURE__ */ me.isValidElement(o) && o.type === "svg", c = {
|
|
3352
3423
|
...n,
|
|
3353
|
-
color:
|
|
3424
|
+
color: s,
|
|
3354
3425
|
component: l,
|
|
3355
|
-
fontSize:
|
|
3426
|
+
fontSize: f,
|
|
3356
3427
|
instanceFontSize: t.fontSize,
|
|
3357
|
-
inheritViewBox:
|
|
3358
|
-
viewBox:
|
|
3428
|
+
inheritViewBox: p,
|
|
3429
|
+
viewBox: m,
|
|
3359
3430
|
hasSvgAsChild: y
|
|
3360
|
-
},
|
|
3361
|
-
|
|
3362
|
-
const
|
|
3363
|
-
return /* @__PURE__ */
|
|
3431
|
+
}, v = {};
|
|
3432
|
+
p || (v.viewBox = m);
|
|
3433
|
+
const O = hi(c);
|
|
3434
|
+
return /* @__PURE__ */ ht(gi, {
|
|
3364
3435
|
as: l,
|
|
3365
|
-
className:
|
|
3436
|
+
className: ar(O.root, i),
|
|
3366
3437
|
focusable: "false",
|
|
3367
|
-
color:
|
|
3438
|
+
color: d,
|
|
3368
3439
|
"aria-hidden": h ? void 0 : !0,
|
|
3369
3440
|
role: h ? "img" : void 0,
|
|
3370
3441
|
ref: r,
|
|
3371
|
-
...S,
|
|
3372
3442
|
...v,
|
|
3443
|
+
...S,
|
|
3373
3444
|
...y && o.props,
|
|
3374
|
-
ownerState:
|
|
3445
|
+
ownerState: c,
|
|
3375
3446
|
children: [y ? o.props.children : o, h ? /* @__PURE__ */ K("title", {
|
|
3376
3447
|
children: h
|
|
3377
3448
|
}) : null]
|
|
3378
3449
|
});
|
|
3379
3450
|
});
|
|
3380
|
-
process.env.NODE_ENV !== "production" && (
|
|
3451
|
+
process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
3381
3452
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
3382
3453
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
3383
3454
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -3385,15 +3456,15 @@ process.env.NODE_ENV !== "production" && (ze.propTypes = {
|
|
|
3385
3456
|
/**
|
|
3386
3457
|
* Node passed into the SVG element.
|
|
3387
3458
|
*/
|
|
3388
|
-
children:
|
|
3459
|
+
children: P.node,
|
|
3389
3460
|
/**
|
|
3390
3461
|
* Override or extend the styles applied to the component.
|
|
3391
3462
|
*/
|
|
3392
|
-
classes:
|
|
3463
|
+
classes: P.object,
|
|
3393
3464
|
/**
|
|
3394
3465
|
* @ignore
|
|
3395
3466
|
*/
|
|
3396
|
-
className:
|
|
3467
|
+
className: P.string,
|
|
3397
3468
|
/**
|
|
3398
3469
|
* The color of the component.
|
|
3399
3470
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
@@ -3401,21 +3472,21 @@ process.env.NODE_ENV !== "production" && (ze.propTypes = {
|
|
|
3401
3472
|
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
3402
3473
|
* @default 'inherit'
|
|
3403
3474
|
*/
|
|
3404
|
-
color:
|
|
3475
|
+
color: P.oneOfType([P.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), P.string]),
|
|
3405
3476
|
/**
|
|
3406
3477
|
* The component used for the root node.
|
|
3407
3478
|
* Either a string to use a HTML element or a component.
|
|
3408
3479
|
*/
|
|
3409
|
-
component:
|
|
3480
|
+
component: P.elementType,
|
|
3410
3481
|
/**
|
|
3411
3482
|
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
3412
3483
|
* @default 'medium'
|
|
3413
3484
|
*/
|
|
3414
|
-
fontSize:
|
|
3485
|
+
fontSize: P.oneOfType([P.oneOf(["inherit", "large", "medium", "small"]), P.string]),
|
|
3415
3486
|
/**
|
|
3416
3487
|
* Applies a color attribute to the SVG element.
|
|
3417
3488
|
*/
|
|
3418
|
-
htmlColor:
|
|
3489
|
+
htmlColor: P.string,
|
|
3419
3490
|
/**
|
|
3420
3491
|
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
3421
3492
|
* prop will be ignored.
|
|
@@ -3423,22 +3494,22 @@ process.env.NODE_ENV !== "production" && (ze.propTypes = {
|
|
|
3423
3494
|
* `component`'s viewBox to the root node.
|
|
3424
3495
|
* @default false
|
|
3425
3496
|
*/
|
|
3426
|
-
inheritViewBox:
|
|
3497
|
+
inheritViewBox: P.bool,
|
|
3427
3498
|
/**
|
|
3428
3499
|
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
3429
3500
|
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
|
|
3430
3501
|
* If you are having issues with blurry icons you should investigate this prop.
|
|
3431
3502
|
*/
|
|
3432
|
-
shapeRendering:
|
|
3503
|
+
shapeRendering: P.string,
|
|
3433
3504
|
/**
|
|
3434
3505
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
3435
3506
|
*/
|
|
3436
|
-
sx:
|
|
3507
|
+
sx: P.oneOfType([P.arrayOf(P.oneOfType([P.func, P.object, P.bool])), P.func, P.object]),
|
|
3437
3508
|
/**
|
|
3438
3509
|
* Provides a human-readable title for the element that contains it.
|
|
3439
3510
|
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
3440
3511
|
*/
|
|
3441
|
-
titleAccess:
|
|
3512
|
+
titleAccess: P.string,
|
|
3442
3513
|
/**
|
|
3443
3514
|
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
3444
3515
|
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
@@ -3447,28 +3518,28 @@ process.env.NODE_ENV !== "production" && (ze.propTypes = {
|
|
|
3447
3518
|
* to bottom right (50,20) and each unit will be worth 10px.
|
|
3448
3519
|
* @default '0 0 24 24'
|
|
3449
3520
|
*/
|
|
3450
|
-
viewBox:
|
|
3521
|
+
viewBox: P.string
|
|
3451
3522
|
});
|
|
3452
|
-
|
|
3453
|
-
function
|
|
3523
|
+
Ue.muiName = "SvgIcon";
|
|
3524
|
+
function Ot(e, t) {
|
|
3454
3525
|
function r(n, o) {
|
|
3455
|
-
return /* @__PURE__ */ K(
|
|
3526
|
+
return /* @__PURE__ */ K(Ue, {
|
|
3456
3527
|
"data-testid": process.env.NODE_ENV !== "production" ? `${t}Icon` : void 0,
|
|
3457
3528
|
ref: o,
|
|
3458
3529
|
...n,
|
|
3459
3530
|
children: e
|
|
3460
3531
|
});
|
|
3461
3532
|
}
|
|
3462
|
-
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName =
|
|
3533
|
+
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = Ue.muiName, /* @__PURE__ */ me.memo(/* @__PURE__ */ me.forwardRef(r));
|
|
3463
3534
|
}
|
|
3464
|
-
const
|
|
3535
|
+
const yi = Ot(/* @__PURE__ */ K("path", {
|
|
3465
3536
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
3466
|
-
}), "Close"),
|
|
3537
|
+
}), "Close"), bi = Ot(/* @__PURE__ */ K("path", {
|
|
3467
3538
|
d: "M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"
|
|
3468
|
-
}), "FilterList"),
|
|
3539
|
+
}), "FilterList"), vi = Ot(/* @__PURE__ */ K("path", {
|
|
3469
3540
|
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
|
3470
3541
|
}), "Search");
|
|
3471
|
-
function
|
|
3542
|
+
function _i({
|
|
3472
3543
|
mode: e,
|
|
3473
3544
|
actionButtons: t,
|
|
3474
3545
|
localeText: r,
|
|
@@ -3476,23 +3547,23 @@ function wi({
|
|
|
3476
3547
|
getData: o,
|
|
3477
3548
|
setFilterButtonEl: i
|
|
3478
3549
|
}) {
|
|
3479
|
-
return /* @__PURE__ */
|
|
3550
|
+
return /* @__PURE__ */ ht(Pr, { className: `${e}-mode`, style: {
|
|
3480
3551
|
padding: "calc(0.25rem * 2) !important",
|
|
3481
3552
|
gap: "calc(0.25rem * 2) !important"
|
|
3482
3553
|
}, children: [
|
|
3483
|
-
e === "server" && /* @__PURE__ */ K(
|
|
3484
|
-
/* @__PURE__ */ K(
|
|
3554
|
+
e === "server" && /* @__PURE__ */ K(ot, { render: /* @__PURE__ */ K(Mr, { icon: /* @__PURE__ */ K(wr, {}), label: r?.refreshTable ?? "Ververs tabel", onClick: o }) }),
|
|
3555
|
+
/* @__PURE__ */ K(Ir, { debounceMs: 500, defaultExpanded: !0, render: (s, l) => /* @__PURE__ */ ht("div", { ...s, style: {
|
|
3485
3556
|
overflow: "clip",
|
|
3486
3557
|
display: "flex",
|
|
3487
3558
|
marginLeft: "auto",
|
|
3488
3559
|
gap: "0.5rem",
|
|
3489
|
-
...
|
|
3560
|
+
...s.style
|
|
3490
3561
|
}, children: [
|
|
3491
|
-
t?.map((
|
|
3492
|
-
n && /* @__PURE__ */ K(
|
|
3493
|
-
ref:
|
|
3494
|
-
...
|
|
3495
|
-
},
|
|
3562
|
+
t?.map((f, d) => /* @__PURE__ */ K(ot, { disabled: f?.props?.disabled ?? !1, render: f }, d)),
|
|
3563
|
+
n && /* @__PURE__ */ K(jr, { title: "Filteren", children: /* @__PURE__ */ K(Nr, { ref: i, render: ({
|
|
3564
|
+
ref: f,
|
|
3565
|
+
...d
|
|
3566
|
+
}, p) => /* @__PURE__ */ K(ot, { ...d, material: {
|
|
3496
3567
|
sx: {
|
|
3497
3568
|
color: "var(--color-primary)",
|
|
3498
3569
|
border: "1px solid var(--color-primary)",
|
|
@@ -3512,20 +3583,20 @@ function wi({
|
|
|
3512
3583
|
boxShadow: "none"
|
|
3513
3584
|
}
|
|
3514
3585
|
}
|
|
3515
|
-
}, ref:
|
|
3516
|
-
/* @__PURE__ */ K(
|
|
3517
|
-
ref:
|
|
3518
|
-
...
|
|
3586
|
+
}, ref: f, tabIndex: 0, children: /* @__PURE__ */ K(Ar, { badgeContent: p.filterCount, color: "primary", variant: "dot", children: /* @__PURE__ */ K(bi, {}) }) }) }) }),
|
|
3587
|
+
/* @__PURE__ */ K(Br, { render: ({
|
|
3588
|
+
ref: f,
|
|
3589
|
+
...d
|
|
3519
3590
|
}) => /* @__PURE__ */ K(
|
|
3520
|
-
|
|
3591
|
+
_r,
|
|
3521
3592
|
{
|
|
3522
|
-
...
|
|
3593
|
+
...d,
|
|
3523
3594
|
"aria-label": r?.toolbarQuickFilterLabel ?? "Zoeken",
|
|
3524
|
-
inputRef:
|
|
3595
|
+
inputRef: f,
|
|
3525
3596
|
placeholder: r?.toolbarQuickFilterPlaceholder ?? "Zoeken...",
|
|
3526
3597
|
slotProps: {
|
|
3527
3598
|
input: {
|
|
3528
|
-
endAdornment: /* @__PURE__ */ K(
|
|
3599
|
+
endAdornment: /* @__PURE__ */ K(Rr, { position: "end", children: /* @__PURE__ */ K(vi, { sx: {
|
|
3529
3600
|
position: "absolute",
|
|
3530
3601
|
right: "-1px",
|
|
3531
3602
|
width: "24px",
|
|
@@ -3538,12 +3609,12 @@ function wi({
|
|
|
3538
3609
|
whiteSpace: "nowrap",
|
|
3539
3610
|
boxSizing: "content-box"
|
|
3540
3611
|
} }) }),
|
|
3541
|
-
...
|
|
3612
|
+
...d.slotProps?.input
|
|
3542
3613
|
},
|
|
3543
|
-
...
|
|
3614
|
+
...d.slotProps
|
|
3544
3615
|
},
|
|
3545
3616
|
sx: {
|
|
3546
|
-
[`.${
|
|
3617
|
+
[`.${kr.input}`]: {
|
|
3547
3618
|
color: "var(--color-text)",
|
|
3548
3619
|
fontFamily: "RijksoverheidSansText, Verdana, Arial, sans-serif",
|
|
3549
3620
|
fontSize: "1.125rem",
|
|
@@ -3561,7 +3632,7 @@ function wi({
|
|
|
3561
3632
|
}
|
|
3562
3633
|
) }),
|
|
3563
3634
|
l.expanded && l.value !== "" && /* @__PURE__ */ K(
|
|
3564
|
-
|
|
3635
|
+
Dr,
|
|
3565
3636
|
{
|
|
3566
3637
|
"aria-label": r?.toolbarQuickFilterDeleteIconLabel ?? "Wissen",
|
|
3567
3638
|
edge: "end",
|
|
@@ -3574,13 +3645,13 @@ function wi({
|
|
|
3574
3645
|
right: "70px"
|
|
3575
3646
|
}
|
|
3576
3647
|
},
|
|
3577
|
-
children: /* @__PURE__ */ K(
|
|
3648
|
+
children: /* @__PURE__ */ K(yi, { color: "primary" })
|
|
3578
3649
|
}
|
|
3579
3650
|
)
|
|
3580
3651
|
] }) })
|
|
3581
3652
|
] });
|
|
3582
3653
|
}
|
|
3583
3654
|
export {
|
|
3584
|
-
|
|
3655
|
+
_i as QuickSearchToolbar
|
|
3585
3656
|
};
|
|
3586
3657
|
//# sourceMappingURL=_QuickSearchToolbar.js.map
|