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