@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.
Files changed (42) hide show
  1. package/dist/chunks/createTheme.edEUUU41.js +1761 -0
  2. package/dist/chunks/createTheme.edEUUU41.js.map +1 -0
  3. package/dist/components-domain/ivon-project-planning/IvonProjectPlanning.d.ts.map +1 -1
  4. package/dist/components-domain/ivon-project-planning/IvonProjectPlanning.js +70 -30
  5. package/dist/components-domain/ivon-project-planning/IvonProjectPlanning.js.map +1 -1
  6. package/dist/components-domain/ivon-project-planning/_IvonDataGrid/IvonDataGrid.d.ts +4 -2
  7. package/dist/components-domain/ivon-project-planning/_IvonDataGrid/IvonDataGrid.d.ts.map +1 -1
  8. package/dist/components-domain/ivon-project-planning/_IvonDataGrid/IvonDataGrid.js +84 -72
  9. package/dist/components-domain/ivon-project-planning/_IvonDataGrid/IvonDataGrid.js.map +1 -1
  10. package/dist/components-domain/ivon-project-planning/_IvonHectometerView/IvonHectometerView.d.ts +8 -0
  11. package/dist/components-domain/ivon-project-planning/_IvonHectometerView/IvonHectometerView.d.ts.map +1 -0
  12. package/dist/components-domain/ivon-project-planning/_IvonHectometerView/IvonHectometerView.js +48 -0
  13. package/dist/components-domain/ivon-project-planning/_IvonHectometerView/IvonHectometerView.js.map +1 -0
  14. package/dist/components-domain/ivon-project-planning/_IvonPopup/IvonDeklaagPopup.d.ts +9 -0
  15. package/dist/components-domain/ivon-project-planning/_IvonPopup/IvonDeklaagPopup.d.ts.map +1 -0
  16. package/dist/components-domain/ivon-project-planning/_IvonPopup/IvonDeklaagPopup.js +231 -0
  17. package/dist/components-domain/ivon-project-planning/_IvonPopup/IvonDeklaagPopup.js.map +1 -0
  18. package/dist/components-domain/ivon-project-planning/_IvonProjectPlanningView/IvonProjectPlanningView.d.ts.map +1 -1
  19. package/dist/components-domain/ivon-project-planning/_IvonProjectPlanningView/IvonProjectPlanningView.js +52 -71
  20. package/dist/components-domain/ivon-project-planning/_IvonProjectPlanningView/IvonProjectPlanningView.js.map +1 -1
  21. package/dist/components-domain/ivon-project-planning/_IvonSchematicView/IvonSchematicView.d.ts +1 -1
  22. package/dist/components-domain/ivon-project-planning/_IvonSchematicView/IvonSchematicView.d.ts.map +1 -1
  23. package/dist/components-domain/ivon-project-planning/_IvonSchematicView/IvonSchematicView.js +42 -49
  24. package/dist/components-domain/ivon-project-planning/_IvonSchematicView/IvonSchematicView.js.map +1 -1
  25. package/dist/components-domain/ivon-project-planning/_dummy-data/{ivon3-data.json.d.ts → ivon3-test-data.json.d.ts} +46 -8
  26. package/dist/components-domain/ivon-project-planning/_helpers/IvonDataBridge.d.ts +4 -1
  27. package/dist/components-domain/ivon-project-planning/_helpers/IvonDataBridge.d.ts.map +1 -1
  28. package/dist/components-domain/ivon-project-planning/_helpers/IvonDataBridge.js +14 -5
  29. package/dist/components-domain/ivon-project-planning/_helpers/IvonDataBridge.js.map +1 -1
  30. package/dist/components-domain/ivon-project-planning/_helpers/IvonUtility.d.ts +3 -0
  31. package/dist/components-domain/ivon-project-planning/_helpers/IvonUtility.d.ts.map +1 -1
  32. package/dist/components-domain/ivon-project-planning/_helpers/IvonUtility.js +11 -2
  33. package/dist/components-domain/ivon-project-planning/_helpers/IvonUtility.js.map +1 -1
  34. package/dist/components-domain/ivon-project-planning/_types/ivon-types.d.ts +8 -1
  35. package/dist/components-domain/ivon-project-planning/_types/ivon-types.d.ts.map +1 -1
  36. package/dist/components-generic/atoms/table/Table.d.ts +5 -1
  37. package/dist/components-generic/atoms/table/Table.d.ts.map +1 -1
  38. package/dist/components-generic/atoms/table/Table.js +49 -31
  39. package/dist/components-generic/atoms/table/Table.js.map +1 -1
  40. package/dist/components-generic/atoms/table/_QuickSearchToolbar.js +853 -2594
  41. package/dist/components-generic/atoms/table/_QuickSearchToolbar.js.map +1 -1
  42. package/package.json +1 -1
@@ -0,0 +1,1761 @@
1
+ import pr from "@emotion/styled";
2
+ import "@emotion/react";
3
+ import { g as yr } from "./lodash.CdkV4gpV.js";
4
+ import * as Le from "react";
5
+ var J = { exports: {} }, Z = { exports: {} }, R = {};
6
+ var Oe;
7
+ function mr() {
8
+ if (Oe) return R;
9
+ Oe = 1;
10
+ var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), t = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), s = /* @__PURE__ */ Symbol.for("react.consumer"), a = /* @__PURE__ */ Symbol.for("react.context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), c = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), m = /* @__PURE__ */ Symbol.for("react.memo"), y = /* @__PURE__ */ Symbol.for("react.lazy"), l = /* @__PURE__ */ Symbol.for("react.view_transition"), C = /* @__PURE__ */ Symbol.for("react.client.reference");
11
+ function g(i) {
12
+ if (typeof i == "object" && i !== null) {
13
+ var P = i.$$typeof;
14
+ switch (P) {
15
+ case e:
16
+ switch (i = i.type, i) {
17
+ case t:
18
+ case o:
19
+ case n:
20
+ case c:
21
+ case p:
22
+ case l:
23
+ return i;
24
+ default:
25
+ switch (i = i && i.$$typeof, i) {
26
+ case a:
27
+ case u:
28
+ case y:
29
+ case m:
30
+ return i;
31
+ case s:
32
+ return i;
33
+ default:
34
+ return P;
35
+ }
36
+ }
37
+ case r:
38
+ return P;
39
+ }
40
+ }
41
+ }
42
+ return R.ContextConsumer = s, R.ContextProvider = a, R.Element = e, R.ForwardRef = u, R.Fragment = t, R.Lazy = y, R.Memo = m, R.Portal = r, R.Profiler = o, R.StrictMode = n, R.Suspense = c, R.SuspenseList = p, R.isContextConsumer = function(i) {
43
+ return g(i) === s;
44
+ }, R.isContextProvider = function(i) {
45
+ return g(i) === a;
46
+ }, R.isElement = function(i) {
47
+ return typeof i == "object" && i !== null && i.$$typeof === e;
48
+ }, R.isForwardRef = function(i) {
49
+ return g(i) === u;
50
+ }, R.isFragment = function(i) {
51
+ return g(i) === t;
52
+ }, R.isLazy = function(i) {
53
+ return g(i) === y;
54
+ }, R.isMemo = function(i) {
55
+ return g(i) === m;
56
+ }, R.isPortal = function(i) {
57
+ return g(i) === r;
58
+ }, R.isProfiler = function(i) {
59
+ return g(i) === o;
60
+ }, R.isStrictMode = function(i) {
61
+ return g(i) === n;
62
+ }, R.isSuspense = function(i) {
63
+ return g(i) === c;
64
+ }, R.isSuspenseList = function(i) {
65
+ return g(i) === p;
66
+ }, R.isValidElementType = function(i) {
67
+ return typeof i == "string" || typeof i == "function" || i === t || i === o || i === n || i === c || i === p || typeof i == "object" && i !== null && (i.$$typeof === y || i.$$typeof === m || i.$$typeof === a || i.$$typeof === s || i.$$typeof === u || i.$$typeof === C || i.getModuleId !== void 0);
68
+ }, R.typeOf = g, R;
69
+ }
70
+ var _ = {};
71
+ var Se;
72
+ function gr() {
73
+ return Se || (Se = 1, process.env.NODE_ENV !== "production" && (function() {
74
+ function e(i) {
75
+ if (typeof i == "object" && i !== null) {
76
+ var P = i.$$typeof;
77
+ switch (P) {
78
+ case r:
79
+ switch (i = i.type, i) {
80
+ case n:
81
+ case s:
82
+ case o:
83
+ case p:
84
+ case m:
85
+ case C:
86
+ return i;
87
+ default:
88
+ switch (i = i && i.$$typeof, i) {
89
+ case u:
90
+ case c:
91
+ case l:
92
+ case y:
93
+ return i;
94
+ case a:
95
+ return i;
96
+ default:
97
+ return P;
98
+ }
99
+ }
100
+ case t:
101
+ return P;
102
+ }
103
+ }
104
+ }
105
+ var r = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), s = /* @__PURE__ */ Symbol.for("react.profiler"), a = /* @__PURE__ */ Symbol.for("react.consumer"), u = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), p = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), y = /* @__PURE__ */ Symbol.for("react.memo"), l = /* @__PURE__ */ Symbol.for("react.lazy"), C = /* @__PURE__ */ Symbol.for("react.view_transition"), g = /* @__PURE__ */ Symbol.for("react.client.reference");
106
+ _.ContextConsumer = a, _.ContextProvider = u, _.Element = r, _.ForwardRef = c, _.Fragment = n, _.Lazy = l, _.Memo = y, _.Portal = t, _.Profiler = s, _.StrictMode = o, _.Suspense = p, _.SuspenseList = m, _.isContextConsumer = function(i) {
107
+ return e(i) === a;
108
+ }, _.isContextProvider = function(i) {
109
+ return e(i) === u;
110
+ }, _.isElement = function(i) {
111
+ return typeof i == "object" && i !== null && i.$$typeof === r;
112
+ }, _.isForwardRef = function(i) {
113
+ return e(i) === c;
114
+ }, _.isFragment = function(i) {
115
+ return e(i) === n;
116
+ }, _.isLazy = function(i) {
117
+ return e(i) === l;
118
+ }, _.isMemo = function(i) {
119
+ return e(i) === y;
120
+ }, _.isPortal = function(i) {
121
+ return e(i) === t;
122
+ }, _.isProfiler = function(i) {
123
+ return e(i) === s;
124
+ }, _.isStrictMode = function(i) {
125
+ return e(i) === o;
126
+ }, _.isSuspense = function(i) {
127
+ return e(i) === p;
128
+ }, _.isSuspenseList = function(i) {
129
+ return e(i) === m;
130
+ }, _.isValidElementType = function(i) {
131
+ return typeof i == "string" || typeof i == "function" || i === n || i === s || i === o || i === p || i === m || typeof i == "object" && i !== null && (i.$$typeof === l || i.$$typeof === y || i.$$typeof === u || i.$$typeof === a || i.$$typeof === c || i.$$typeof === g || i.getModuleId !== void 0);
132
+ }, _.typeOf = e;
133
+ })()), _;
134
+ }
135
+ var Ce;
136
+ function ve() {
137
+ return Ce || (Ce = 1, process.env.NODE_ENV === "production" ? Z.exports = /* @__PURE__ */ mr() : Z.exports = /* @__PURE__ */ gr()), Z.exports;
138
+ }
139
+ var de, Re;
140
+ function hr() {
141
+ if (Re) return de;
142
+ Re = 1;
143
+ var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
144
+ function n(s) {
145
+ if (s == null)
146
+ throw new TypeError("Object.assign cannot be called with null or undefined");
147
+ return Object(s);
148
+ }
149
+ function o() {
150
+ try {
151
+ if (!Object.assign)
152
+ return !1;
153
+ var s = new String("abc");
154
+ if (s[5] = "de", Object.getOwnPropertyNames(s)[0] === "5")
155
+ return !1;
156
+ for (var a = {}, u = 0; u < 10; u++)
157
+ a["_" + String.fromCharCode(u)] = u;
158
+ var c = Object.getOwnPropertyNames(a).map(function(m) {
159
+ return a[m];
160
+ });
161
+ if (c.join("") !== "0123456789")
162
+ return !1;
163
+ var p = {};
164
+ return "abcdefghijklmnopqrst".split("").forEach(function(m) {
165
+ p[m] = m;
166
+ }), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
167
+ } catch {
168
+ return !1;
169
+ }
170
+ }
171
+ return de = o() ? Object.assign : function(s, a) {
172
+ for (var u, c = n(s), p, m = 1; m < arguments.length; m++) {
173
+ u = Object(arguments[m]);
174
+ for (var y in u)
175
+ r.call(u, y) && (c[y] = u[y]);
176
+ if (e) {
177
+ p = e(u);
178
+ for (var l = 0; l < p.length; l++)
179
+ t.call(u, p[l]) && (c[p[l]] = u[p[l]]);
180
+ }
181
+ }
182
+ return c;
183
+ }, de;
184
+ }
185
+ var pe, _e;
186
+ function Ee() {
187
+ if (_e) return pe;
188
+ _e = 1;
189
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
190
+ return pe = e, pe;
191
+ }
192
+ var ye, we;
193
+ function Ke() {
194
+ return we || (we = 1, ye = Function.call.bind(Object.prototype.hasOwnProperty)), ye;
195
+ }
196
+ var me, Pe;
197
+ function br() {
198
+ if (Pe) return me;
199
+ Pe = 1;
200
+ var e = function() {
201
+ };
202
+ if (process.env.NODE_ENV !== "production") {
203
+ var r = /* @__PURE__ */ Ee(), t = {}, n = /* @__PURE__ */ Ke();
204
+ e = function(s) {
205
+ var a = "Warning: " + s;
206
+ typeof console < "u" && console.error(a);
207
+ try {
208
+ throw new Error(a);
209
+ } catch {
210
+ }
211
+ };
212
+ }
213
+ function o(s, a, u, c, p) {
214
+ if (process.env.NODE_ENV !== "production") {
215
+ for (var m in s)
216
+ if (n(s, m)) {
217
+ var y;
218
+ try {
219
+ if (typeof s[m] != "function") {
220
+ var l = Error(
221
+ (c || "React class") + ": " + u + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
222
+ );
223
+ throw l.name = "Invariant Violation", l;
224
+ }
225
+ y = s[m](a, m, c, u, null, r);
226
+ } catch (g) {
227
+ y = g;
228
+ }
229
+ if (y && !(y instanceof Error) && e(
230
+ (c || "React class") + ": type specification of " + u + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof y + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
231
+ ), y instanceof Error && !(y.message in t)) {
232
+ t[y.message] = !0;
233
+ var C = p ? p() : "";
234
+ e(
235
+ "Failed " + u + " type: " + y.message + (C ?? "")
236
+ );
237
+ }
238
+ }
239
+ }
240
+ }
241
+ return o.resetWarningCache = function() {
242
+ process.env.NODE_ENV !== "production" && (t = {});
243
+ }, me = o, me;
244
+ }
245
+ var ge, Ae;
246
+ function vr() {
247
+ if (Ae) return ge;
248
+ Ae = 1;
249
+ var e = /* @__PURE__ */ ve(), r = hr(), t = /* @__PURE__ */ Ee(), n = /* @__PURE__ */ Ke(), o = /* @__PURE__ */ br(), s = function() {
250
+ };
251
+ process.env.NODE_ENV !== "production" && (s = function(u) {
252
+ var c = "Warning: " + u;
253
+ typeof console < "u" && console.error(c);
254
+ try {
255
+ throw new Error(c);
256
+ } catch {
257
+ }
258
+ });
259
+ function a() {
260
+ return null;
261
+ }
262
+ return ge = function(u, c) {
263
+ var p = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
264
+ function y(f) {
265
+ var d = f && (p && f[p] || f[m]);
266
+ if (typeof d == "function")
267
+ return d;
268
+ }
269
+ var l = "<<anonymous>>", C = {
270
+ array: M("array"),
271
+ bigint: M("bigint"),
272
+ bool: M("boolean"),
273
+ func: M("function"),
274
+ number: M("number"),
275
+ object: M("object"),
276
+ string: M("string"),
277
+ symbol: M("symbol"),
278
+ any: Ze(),
279
+ arrayOf: er,
280
+ element: rr(),
281
+ elementType: tr(),
282
+ instanceOf: nr,
283
+ node: ar(),
284
+ objectOf: ir,
285
+ oneOf: or,
286
+ oneOfType: sr,
287
+ shape: ur,
288
+ exact: fr
289
+ };
290
+ function g(f, d) {
291
+ return f === d ? f !== 0 || 1 / f === 1 / d : f !== f && d !== d;
292
+ }
293
+ function i(f, d) {
294
+ this.message = f, this.data = d && typeof d == "object" ? d : {}, this.stack = "";
295
+ }
296
+ i.prototype = Error.prototype;
297
+ function P(f) {
298
+ if (process.env.NODE_ENV !== "production")
299
+ var d = {}, T = 0;
300
+ function v(x, b, E, O, w, S, k) {
301
+ if (O = O || l, S = S || E, k !== t) {
302
+ if (c) {
303
+ var N = new Error(
304
+ "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"
305
+ );
306
+ throw N.name = "Invariant Violation", N;
307
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
308
+ var U = O + ":" + E;
309
+ !d[U] && // Avoid spamming the console because they are often not actionable except for lib authors
310
+ T < 3 && (s(
311
+ "You are manually calling a React.PropTypes validation function for the `" + S + "` prop on `" + O + "`. 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."
312
+ ), d[U] = !0, T++);
313
+ }
314
+ }
315
+ return b[E] == null ? x ? b[E] === null ? new i("The " + w + " `" + S + "` is marked as required " + ("in `" + O + "`, but its value is `null`.")) : new i("The " + w + " `" + S + "` is marked as required in " + ("`" + O + "`, but its value is `undefined`.")) : null : f(b, E, O, w, S);
316
+ }
317
+ var h = v.bind(null, !1);
318
+ return h.isRequired = v.bind(null, !0), h;
319
+ }
320
+ function M(f) {
321
+ function d(T, v, h, x, b, E) {
322
+ var O = T[v], w = D(O);
323
+ if (w !== f) {
324
+ var S = z(O);
325
+ return new i(
326
+ "Invalid " + x + " `" + b + "` of type " + ("`" + S + "` supplied to `" + h + "`, expected ") + ("`" + f + "`."),
327
+ { expectedType: f }
328
+ );
329
+ }
330
+ return null;
331
+ }
332
+ return P(d);
333
+ }
334
+ function Ze() {
335
+ return P(a);
336
+ }
337
+ function er(f) {
338
+ function d(T, v, h, x, b) {
339
+ if (typeof f != "function")
340
+ return new i("Property `" + b + "` of component `" + h + "` has invalid PropType notation inside arrayOf.");
341
+ var E = T[v];
342
+ if (!Array.isArray(E)) {
343
+ var O = D(E);
344
+ return new i("Invalid " + x + " `" + b + "` of type " + ("`" + O + "` supplied to `" + h + "`, expected an array."));
345
+ }
346
+ for (var w = 0; w < E.length; w++) {
347
+ var S = f(E, w, h, x, b + "[" + w + "]", t);
348
+ if (S instanceof Error)
349
+ return S;
350
+ }
351
+ return null;
352
+ }
353
+ return P(d);
354
+ }
355
+ function rr() {
356
+ function f(d, T, v, h, x) {
357
+ var b = d[T];
358
+ if (!u(b)) {
359
+ var E = D(b);
360
+ return new i("Invalid " + h + " `" + x + "` of type " + ("`" + E + "` supplied to `" + v + "`, expected a single ReactElement."));
361
+ }
362
+ return null;
363
+ }
364
+ return P(f);
365
+ }
366
+ function tr() {
367
+ function f(d, T, v, h, x) {
368
+ var b = d[T];
369
+ if (!e.isValidElementType(b)) {
370
+ var E = D(b);
371
+ return new i("Invalid " + h + " `" + x + "` of type " + ("`" + E + "` supplied to `" + v + "`, expected a single ReactElement type."));
372
+ }
373
+ return null;
374
+ }
375
+ return P(f);
376
+ }
377
+ function nr(f) {
378
+ function d(T, v, h, x, b) {
379
+ if (!(T[v] instanceof f)) {
380
+ var E = f.name || l, O = dr(T[v]);
381
+ return new i("Invalid " + x + " `" + b + "` of type " + ("`" + O + "` supplied to `" + h + "`, expected ") + ("instance of `" + E + "`."));
382
+ }
383
+ return null;
384
+ }
385
+ return P(d);
386
+ }
387
+ function or(f) {
388
+ if (!Array.isArray(f))
389
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
390
+ "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])."
391
+ ) : s("Invalid argument supplied to oneOf, expected an array.")), a;
392
+ function d(T, v, h, x, b) {
393
+ for (var E = T[v], O = 0; O < f.length; O++)
394
+ if (g(E, f[O]))
395
+ return null;
396
+ var w = JSON.stringify(f, function(k, N) {
397
+ var U = z(N);
398
+ return U === "symbol" ? String(N) : N;
399
+ });
400
+ return new i("Invalid " + x + " `" + b + "` of value `" + String(E) + "` " + ("supplied to `" + h + "`, expected one of " + w + "."));
401
+ }
402
+ return P(d);
403
+ }
404
+ function ir(f) {
405
+ function d(T, v, h, x, b) {
406
+ if (typeof f != "function")
407
+ return new i("Property `" + b + "` of component `" + h + "` has invalid PropType notation inside objectOf.");
408
+ var E = T[v], O = D(E);
409
+ if (O !== "object")
410
+ return new i("Invalid " + x + " `" + b + "` of type " + ("`" + O + "` supplied to `" + h + "`, expected an object."));
411
+ for (var w in E)
412
+ if (n(E, w)) {
413
+ var S = f(E, w, h, x, b + "." + w, t);
414
+ if (S instanceof Error)
415
+ return S;
416
+ }
417
+ return null;
418
+ }
419
+ return P(d);
420
+ }
421
+ function sr(f) {
422
+ if (!Array.isArray(f))
423
+ return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), a;
424
+ for (var d = 0; d < f.length; d++) {
425
+ var T = f[d];
426
+ if (typeof T != "function")
427
+ return s(
428
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + lr(T) + " at index " + d + "."
429
+ ), a;
430
+ }
431
+ function v(h, x, b, E, O) {
432
+ for (var w = [], S = 0; S < f.length; S++) {
433
+ var k = f[S], N = k(h, x, b, E, O, t);
434
+ if (N == null)
435
+ return null;
436
+ N.data && n(N.data, "expectedType") && w.push(N.data.expectedType);
437
+ }
438
+ var U = w.length > 0 ? ", expected one of type [" + w.join(", ") + "]" : "";
439
+ return new i("Invalid " + E + " `" + O + "` supplied to " + ("`" + b + "`" + U + "."));
440
+ }
441
+ return P(v);
442
+ }
443
+ function ar() {
444
+ function f(d, T, v, h, x) {
445
+ return X(d[T]) ? null : new i("Invalid " + h + " `" + x + "` supplied to " + ("`" + v + "`, expected a ReactNode."));
446
+ }
447
+ return P(f);
448
+ }
449
+ function xe(f, d, T, v, h) {
450
+ return new i(
451
+ (f || "React class") + ": " + d + " type `" + T + "." + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + h + "`."
452
+ );
453
+ }
454
+ function ur(f) {
455
+ function d(T, v, h, x, b) {
456
+ var E = T[v], O = D(E);
457
+ if (O !== "object")
458
+ return new i("Invalid " + x + " `" + b + "` of type `" + O + "` " + ("supplied to `" + h + "`, expected `object`."));
459
+ for (var w in f) {
460
+ var S = f[w];
461
+ if (typeof S != "function")
462
+ return xe(h, x, b, w, z(S));
463
+ var k = S(E, w, h, x, b + "." + w, t);
464
+ if (k)
465
+ return k;
466
+ }
467
+ return null;
468
+ }
469
+ return P(d);
470
+ }
471
+ function fr(f) {
472
+ function d(T, v, h, x, b) {
473
+ var E = T[v], O = D(E);
474
+ if (O !== "object")
475
+ return new i("Invalid " + x + " `" + b + "` of type `" + O + "` " + ("supplied to `" + h + "`, expected `object`."));
476
+ var w = r({}, T[v], f);
477
+ for (var S in w) {
478
+ var k = f[S];
479
+ if (n(f, S) && typeof k != "function")
480
+ return xe(h, x, b, S, z(k));
481
+ if (!k)
482
+ return new i(
483
+ "Invalid " + x + " `" + b + "` key `" + S + "` supplied to `" + h + "`.\nBad object: " + JSON.stringify(T[v], null, " ") + `
484
+ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
485
+ );
486
+ var N = k(E, S, h, x, b + "." + S, t);
487
+ if (N)
488
+ return N;
489
+ }
490
+ return null;
491
+ }
492
+ return P(d);
493
+ }
494
+ function X(f) {
495
+ switch (typeof f) {
496
+ case "number":
497
+ case "string":
498
+ case "undefined":
499
+ return !0;
500
+ case "boolean":
501
+ return !f;
502
+ case "object":
503
+ if (Array.isArray(f))
504
+ return f.every(X);
505
+ if (f === null || u(f))
506
+ return !0;
507
+ var d = y(f);
508
+ if (d) {
509
+ var T = d.call(f), v;
510
+ if (d !== f.entries) {
511
+ for (; !(v = T.next()).done; )
512
+ if (!X(v.value))
513
+ return !1;
514
+ } else
515
+ for (; !(v = T.next()).done; ) {
516
+ var h = v.value;
517
+ if (h && !X(h[1]))
518
+ return !1;
519
+ }
520
+ } else
521
+ return !1;
522
+ return !0;
523
+ default:
524
+ return !1;
525
+ }
526
+ }
527
+ function cr(f, d) {
528
+ return f === "symbol" ? !0 : d ? d["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && d instanceof Symbol : !1;
529
+ }
530
+ function D(f) {
531
+ var d = typeof f;
532
+ return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" : cr(d, f) ? "symbol" : d;
533
+ }
534
+ function z(f) {
535
+ if (typeof f > "u" || f === null)
536
+ return "" + f;
537
+ var d = D(f);
538
+ if (d === "object") {
539
+ if (f instanceof Date)
540
+ return "date";
541
+ if (f instanceof RegExp)
542
+ return "regexp";
543
+ }
544
+ return d;
545
+ }
546
+ function lr(f) {
547
+ var d = z(f);
548
+ switch (d) {
549
+ case "array":
550
+ case "object":
551
+ return "an " + d;
552
+ case "boolean":
553
+ case "date":
554
+ case "regexp":
555
+ return "a " + d;
556
+ default:
557
+ return d;
558
+ }
559
+ }
560
+ function dr(f) {
561
+ return !f.constructor || !f.constructor.name ? l : f.constructor.name;
562
+ }
563
+ return C.checkPropTypes = o, C.resetWarningCache = o.resetWarningCache, C.PropTypes = C, C;
564
+ }, ge;
565
+ }
566
+ var he, $e;
567
+ function Er() {
568
+ if ($e) return he;
569
+ $e = 1;
570
+ var e = /* @__PURE__ */ Ee();
571
+ function r() {
572
+ }
573
+ function t() {
574
+ }
575
+ return t.resetWarningCache = r, he = function() {
576
+ function n(a, u, c, p, m, y) {
577
+ if (y !== e) {
578
+ var l = new Error(
579
+ "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"
580
+ );
581
+ throw l.name = "Invariant Violation", l;
582
+ }
583
+ }
584
+ n.isRequired = n;
585
+ function o() {
586
+ return n;
587
+ }
588
+ var s = {
589
+ array: n,
590
+ bigint: n,
591
+ bool: n,
592
+ func: n,
593
+ number: n,
594
+ object: n,
595
+ string: n,
596
+ symbol: n,
597
+ any: n,
598
+ arrayOf: o,
599
+ element: n,
600
+ elementType: n,
601
+ instanceOf: o,
602
+ node: n,
603
+ objectOf: o,
604
+ oneOf: o,
605
+ oneOfType: o,
606
+ shape: o,
607
+ exact: o,
608
+ checkPropTypes: t,
609
+ resetWarningCache: r
610
+ };
611
+ return s.PropTypes = s, s;
612
+ }, he;
613
+ }
614
+ var Ie;
615
+ function Tr() {
616
+ if (Ie) return J.exports;
617
+ if (Ie = 1, process.env.NODE_ENV !== "production") {
618
+ var e = /* @__PURE__ */ ve(), r = !0;
619
+ J.exports = /* @__PURE__ */ vr()(e.isElement, r);
620
+ } else
621
+ J.exports = /* @__PURE__ */ Er()();
622
+ return J.exports;
623
+ }
624
+ var xr = /* @__PURE__ */ Tr();
625
+ const F = /* @__PURE__ */ yr(xr);
626
+ function Ue(e) {
627
+ var r, t, n = "";
628
+ if (typeof e == "string" || typeof e == "number") n += e;
629
+ else if (typeof e == "object") if (Array.isArray(e)) {
630
+ var o = e.length;
631
+ for (r = 0; r < o; r++) e[r] && (t = Ue(e[r])) && (n && (n += " "), n += t);
632
+ } else for (t in e) e[t] && (n && (n += " "), n += t);
633
+ return n;
634
+ }
635
+ function Pt() {
636
+ for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = Ue(e)) && (n && (n += " "), n += r);
637
+ return n;
638
+ }
639
+ function qe(e, ...r) {
640
+ const t = new URL(`https://mui.com/production-error/?code=${e}`);
641
+ return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
642
+ }
643
+ function Ge(e) {
644
+ if (typeof e != "string")
645
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : qe(7));
646
+ return e.charAt(0).toUpperCase() + e.slice(1);
647
+ }
648
+ var ze = /* @__PURE__ */ ve();
649
+ function q(e) {
650
+ if (typeof e != "object" || e === null)
651
+ return !1;
652
+ const r = Object.getPrototypeOf(e);
653
+ return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
654
+ }
655
+ function Fe(e) {
656
+ if (/* @__PURE__ */ Le.isValidElement(e) || ze.isValidElementType(e) || !q(e))
657
+ return e;
658
+ const r = {};
659
+ return Object.keys(e).forEach((t) => {
660
+ r[t] = Fe(e[t]);
661
+ }), r;
662
+ }
663
+ function ee(e, r, t = {
664
+ clone: !0
665
+ }) {
666
+ const n = t.clone ? {
667
+ ...e
668
+ } : e;
669
+ return q(e) && q(r) && Object.keys(r).forEach((o) => {
670
+ /* @__PURE__ */ Le.isValidElement(r[o]) || ze.isValidElementType(r[o]) ? n[o] = r[o] : q(r[o]) && // Avoid prototype pollution
671
+ Object.prototype.hasOwnProperty.call(e, o) && q(e[o]) ? n[o] = ee(e[o], r[o], t) : t.clone ? n[o] = q(r[o]) ? Fe(r[o]) : r[o] : n[o] = r[o];
672
+ }), n;
673
+ }
674
+ function V(e, r) {
675
+ return r ? ee(e, r, {
676
+ clone: !1
677
+ // No need to clone deep, it's way faster.
678
+ }) : e;
679
+ }
680
+ const K = process.env.NODE_ENV !== "production" ? F.oneOfType([F.number, F.string, F.object, F.array]) : {};
681
+ function Ne(e, r) {
682
+ if (!e.containerQueries)
683
+ return r;
684
+ const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
685
+ const s = /min-width:\s*([0-9.]+)/;
686
+ return +(n.match(s)?.[1] || 0) - +(o.match(s)?.[1] || 0);
687
+ });
688
+ return t.length ? t.reduce((n, o) => {
689
+ const s = r[o];
690
+ return delete n[o], n[o] = s, n;
691
+ }, {
692
+ ...r
693
+ }) : r;
694
+ }
695
+ function Or(e, r) {
696
+ return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
697
+ }
698
+ function Sr(e, r) {
699
+ const t = r.match(/^@([^/]+)?\/?(.+)?$/);
700
+ if (!t) {
701
+ if (process.env.NODE_ENV !== "production")
702
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
703
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : qe(18, `(${r})`));
704
+ return null;
705
+ }
706
+ const [, n, o] = t, s = Number.isNaN(+n) ? n || 0 : +n;
707
+ return e.containerQueries(o).up(s);
708
+ }
709
+ function Cr(e) {
710
+ const r = (s, a) => s.replace("@media", a ? `@container ${a}` : "@container");
711
+ function t(s, a) {
712
+ s.up = (...u) => r(e.breakpoints.up(...u), a), s.down = (...u) => r(e.breakpoints.down(...u), a), s.between = (...u) => r(e.breakpoints.between(...u), a), s.only = (...u) => r(e.breakpoints.only(...u), a), s.not = (...u) => {
713
+ const c = r(e.breakpoints.not(...u), a);
714
+ return c.includes("not all and") ? c.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : c;
715
+ };
716
+ }
717
+ const n = {}, o = (s) => (t(n, s), n);
718
+ return t(o), {
719
+ ...e,
720
+ containerQueries: o
721
+ };
722
+ }
723
+ const ne = {
724
+ xs: 0,
725
+ // phone
726
+ sm: 600,
727
+ // tablet
728
+ md: 900,
729
+ // small laptop
730
+ lg: 1200,
731
+ // desktop
732
+ xl: 1536
733
+ // large screen
734
+ }, je = {
735
+ // Sorted ASC by size. That's important.
736
+ // It can't be configured as it's used statically for propTypes.
737
+ keys: ["xs", "sm", "md", "lg", "xl"],
738
+ up: (e) => `@media (min-width:${ne[e]}px)`
739
+ }, Rr = {
740
+ containerQueries: (e) => ({
741
+ up: (r) => {
742
+ let t = typeof r == "number" ? r : ne[r] || r;
743
+ return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`;
744
+ }
745
+ })
746
+ };
747
+ function B(e, r, t) {
748
+ const n = e.theme || {};
749
+ if (Array.isArray(r)) {
750
+ const s = n.breakpoints || je;
751
+ return r.reduce((a, u, c) => (a[s.up(s.keys[c])] = t(r[c]), a), {});
752
+ }
753
+ if (typeof r == "object") {
754
+ const s = n.breakpoints || je;
755
+ return Object.keys(r).reduce((a, u) => {
756
+ if (Or(s.keys, u)) {
757
+ const c = Sr(n.containerQueries ? n : Rr, u);
758
+ c && (a[c] = t(r[u], u));
759
+ } else if (Object.keys(s.values || ne).includes(u)) {
760
+ const c = s.up(u);
761
+ a[c] = t(r[u], u);
762
+ } else {
763
+ const c = u;
764
+ a[c] = r[c];
765
+ }
766
+ return a;
767
+ }, {});
768
+ }
769
+ return t(r);
770
+ }
771
+ function _r(e = {}) {
772
+ return e.keys?.reduce((t, n) => {
773
+ const o = e.up(n);
774
+ return t[o] = {}, t;
775
+ }, {}) || {};
776
+ }
777
+ function ke(e, r) {
778
+ return e.reduce((t, n) => {
779
+ const o = t[n];
780
+ return (!o || Object.keys(o).length === 0) && delete t[n], t;
781
+ }, r);
782
+ }
783
+ function oe(e, r, t = !0) {
784
+ if (!r || typeof r != "string")
785
+ return null;
786
+ if (e && e.vars && t) {
787
+ const n = `vars.${r}`.split(".").reduce((o, s) => o && o[s] ? o[s] : null, e);
788
+ if (n != null)
789
+ return n;
790
+ }
791
+ return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
792
+ }
793
+ function re(e, r, t, n = t) {
794
+ let o;
795
+ return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = oe(e, t) || n, r && (o = r(o, n, e)), o;
796
+ }
797
+ function I(e) {
798
+ const {
799
+ prop: r,
800
+ cssProperty: t = e.prop,
801
+ themeKey: n,
802
+ transform: o
803
+ } = e, s = (a) => {
804
+ if (a[r] == null)
805
+ return null;
806
+ const u = a[r], c = a.theme, p = oe(c, n) || {};
807
+ return B(a, u, (y) => {
808
+ let l = re(p, o, y);
809
+ return y === l && typeof y == "string" && (l = re(p, o, `${r}${y === "default" ? "" : Ge(y)}`, y)), t === !1 ? l : {
810
+ [t]: l
811
+ };
812
+ });
813
+ };
814
+ return s.propTypes = process.env.NODE_ENV !== "production" ? {
815
+ [r]: K
816
+ } : {}, s.filterProps = [r], s;
817
+ }
818
+ function wr(e) {
819
+ const r = {};
820
+ return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
821
+ }
822
+ const Pr = {
823
+ m: "margin",
824
+ p: "padding"
825
+ }, Ar = {
826
+ t: "Top",
827
+ r: "Right",
828
+ b: "Bottom",
829
+ l: "Left",
830
+ x: ["Left", "Right"],
831
+ y: ["Top", "Bottom"]
832
+ }, We = {
833
+ marginX: "mx",
834
+ marginY: "my",
835
+ paddingX: "px",
836
+ paddingY: "py"
837
+ }, $r = wr((e) => {
838
+ if (e.length > 2)
839
+ if (We[e])
840
+ e = We[e];
841
+ else
842
+ return [e];
843
+ const [r, t] = e.split(""), n = Pr[r], o = Ar[t] || "";
844
+ return Array.isArray(o) ? o.map((s) => n + s) : [n + o];
845
+ }), ie = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], se = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ir = [...ie, ...se];
846
+ function H(e, r, t, n) {
847
+ const o = oe(e, r, !0) ?? t;
848
+ return typeof o == "number" || typeof o == "string" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`), typeof o == "string" ? o.startsWith("var(") && s === 0 ? 0 : o.startsWith("var(") && s === 1 ? o : `calc(${s} * ${o})` : o * s) : Array.isArray(o) ? (s) => {
849
+ if (typeof s == "string")
850
+ return s;
851
+ const a = Math.abs(s);
852
+ process.env.NODE_ENV !== "production" && (Number.isInteger(a) ? a > o.length - 1 && console.error([`MUI: The value provided (${a}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${a} > ${o.length - 1}, you need to add the missing values.`].join(`
853
+ `)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
854
+ `)));
855
+ const u = o[a];
856
+ return s >= 0 ? u : typeof u == "number" ? -u : typeof u == "string" && u.startsWith("var(") ? `calc(-1 * ${u})` : `-${u}`;
857
+ } : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
858
+ `)), () => {
859
+ });
860
+ }
861
+ function Ve(e) {
862
+ return H(e, "spacing", 8, "spacing");
863
+ }
864
+ function Q(e, r) {
865
+ return typeof r == "string" || r == null ? r : e(r);
866
+ }
867
+ function Nr(e, r) {
868
+ return (t) => e.reduce((n, o) => (n[o] = Q(r, t), n), {});
869
+ }
870
+ function jr(e, r, t, n) {
871
+ if (!r.includes(t))
872
+ return null;
873
+ const o = $r(t), s = Nr(o, n), a = e[t];
874
+ return B(e, a, s);
875
+ }
876
+ function He(e, r) {
877
+ const t = Ve(e.theme);
878
+ return Object.keys(e).map((n) => jr(e, r, n, t)).reduce(V, {});
879
+ }
880
+ function A(e) {
881
+ return He(e, ie);
882
+ }
883
+ A.propTypes = process.env.NODE_ENV !== "production" ? ie.reduce((e, r) => (e[r] = K, e), {}) : {};
884
+ A.filterProps = ie;
885
+ function $(e) {
886
+ return He(e, se);
887
+ }
888
+ $.propTypes = process.env.NODE_ENV !== "production" ? se.reduce((e, r) => (e[r] = K, e), {}) : {};
889
+ $.filterProps = se;
890
+ process.env.NODE_ENV !== "production" && Ir.reduce((e, r) => (e[r] = K, e), {});
891
+ function ae(...e) {
892
+ const r = e.reduce((n, o) => (o.filterProps.forEach((s) => {
893
+ n[s] = o;
894
+ }), n), {}), t = (n) => Object.keys(n).reduce((o, s) => r[s] ? V(o, r[s](n)) : o, {});
895
+ return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, t.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), t;
896
+ }
897
+ function W(e) {
898
+ return typeof e != "number" ? e : `${e}px solid`;
899
+ }
900
+ function Y(e, r) {
901
+ return I({
902
+ prop: e,
903
+ themeKey: "borders",
904
+ transform: r
905
+ });
906
+ }
907
+ const kr = Y("border", W), Wr = Y("borderTop", W), Yr = Y("borderRight", W), Br = Y("borderBottom", W), Mr = Y("borderLeft", W), Dr = Y("borderColor"), Lr = Y("borderTopColor"), Kr = Y("borderRightColor"), Ur = Y("borderBottomColor"), qr = Y("borderLeftColor"), Gr = Y("outline", W), zr = Y("outlineColor"), ue = (e) => {
908
+ if (e.borderRadius !== void 0 && e.borderRadius !== null) {
909
+ const r = H(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
910
+ borderRadius: Q(r, n)
911
+ });
912
+ return B(e, e.borderRadius, t);
913
+ }
914
+ return null;
915
+ };
916
+ ue.propTypes = process.env.NODE_ENV !== "production" ? {
917
+ borderRadius: K
918
+ } : {};
919
+ ue.filterProps = ["borderRadius"];
920
+ ae(kr, Wr, Yr, Br, Mr, Dr, Lr, Kr, Ur, qr, ue, Gr, zr);
921
+ const fe = (e) => {
922
+ if (e.gap !== void 0 && e.gap !== null) {
923
+ const r = H(e.theme, "spacing", 8, "gap"), t = (n) => ({
924
+ gap: Q(r, n)
925
+ });
926
+ return B(e, e.gap, t);
927
+ }
928
+ return null;
929
+ };
930
+ fe.propTypes = process.env.NODE_ENV !== "production" ? {
931
+ gap: K
932
+ } : {};
933
+ fe.filterProps = ["gap"];
934
+ const ce = (e) => {
935
+ if (e.columnGap !== void 0 && e.columnGap !== null) {
936
+ const r = H(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
937
+ columnGap: Q(r, n)
938
+ });
939
+ return B(e, e.columnGap, t);
940
+ }
941
+ return null;
942
+ };
943
+ ce.propTypes = process.env.NODE_ENV !== "production" ? {
944
+ columnGap: K
945
+ } : {};
946
+ ce.filterProps = ["columnGap"];
947
+ const le = (e) => {
948
+ if (e.rowGap !== void 0 && e.rowGap !== null) {
949
+ const r = H(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
950
+ rowGap: Q(r, n)
951
+ });
952
+ return B(e, e.rowGap, t);
953
+ }
954
+ return null;
955
+ };
956
+ le.propTypes = process.env.NODE_ENV !== "production" ? {
957
+ rowGap: K
958
+ } : {};
959
+ le.filterProps = ["rowGap"];
960
+ const Fr = I({
961
+ prop: "gridColumn"
962
+ }), Vr = I({
963
+ prop: "gridRow"
964
+ }), Hr = I({
965
+ prop: "gridAutoFlow"
966
+ }), Qr = I({
967
+ prop: "gridAutoColumns"
968
+ }), Xr = I({
969
+ prop: "gridAutoRows"
970
+ }), Jr = I({
971
+ prop: "gridTemplateColumns"
972
+ }), Zr = I({
973
+ prop: "gridTemplateRows"
974
+ }), et = I({
975
+ prop: "gridTemplateAreas"
976
+ }), rt = I({
977
+ prop: "gridArea"
978
+ });
979
+ ae(fe, ce, le, Fr, Vr, Hr, Qr, Xr, Jr, Zr, et, rt);
980
+ function G(e, r) {
981
+ return r === "grey" ? r : e;
982
+ }
983
+ const tt = I({
984
+ prop: "color",
985
+ themeKey: "palette",
986
+ transform: G
987
+ }), nt = I({
988
+ prop: "bgcolor",
989
+ cssProperty: "backgroundColor",
990
+ themeKey: "palette",
991
+ transform: G
992
+ }), ot = I({
993
+ prop: "backgroundColor",
994
+ themeKey: "palette",
995
+ transform: G
996
+ });
997
+ ae(tt, nt, ot);
998
+ function j(e) {
999
+ return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1000
+ }
1001
+ const it = I({
1002
+ prop: "width",
1003
+ transform: j
1004
+ }), Te = (e) => {
1005
+ if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1006
+ const r = (t) => {
1007
+ const n = e.theme?.breakpoints?.values?.[t] || ne[t];
1008
+ return n ? e.theme?.breakpoints?.unit !== "px" ? {
1009
+ maxWidth: `${n}${e.theme.breakpoints.unit}`
1010
+ } : {
1011
+ maxWidth: n
1012
+ } : {
1013
+ maxWidth: j(t)
1014
+ };
1015
+ };
1016
+ return B(e, e.maxWidth, r);
1017
+ }
1018
+ return null;
1019
+ };
1020
+ Te.filterProps = ["maxWidth"];
1021
+ const st = I({
1022
+ prop: "minWidth",
1023
+ transform: j
1024
+ }), at = I({
1025
+ prop: "height",
1026
+ transform: j
1027
+ }), ut = I({
1028
+ prop: "maxHeight",
1029
+ transform: j
1030
+ }), ft = I({
1031
+ prop: "minHeight",
1032
+ transform: j
1033
+ });
1034
+ I({
1035
+ prop: "size",
1036
+ cssProperty: "width",
1037
+ transform: j
1038
+ });
1039
+ I({
1040
+ prop: "size",
1041
+ cssProperty: "height",
1042
+ transform: j
1043
+ });
1044
+ const ct = I({
1045
+ prop: "boxSizing"
1046
+ });
1047
+ ae(it, Te, st, at, ut, ft, ct);
1048
+ const Qe = {
1049
+ // borders
1050
+ border: {
1051
+ themeKey: "borders",
1052
+ transform: W
1053
+ },
1054
+ borderTop: {
1055
+ themeKey: "borders",
1056
+ transform: W
1057
+ },
1058
+ borderRight: {
1059
+ themeKey: "borders",
1060
+ transform: W
1061
+ },
1062
+ borderBottom: {
1063
+ themeKey: "borders",
1064
+ transform: W
1065
+ },
1066
+ borderLeft: {
1067
+ themeKey: "borders",
1068
+ transform: W
1069
+ },
1070
+ borderColor: {
1071
+ themeKey: "palette"
1072
+ },
1073
+ borderTopColor: {
1074
+ themeKey: "palette"
1075
+ },
1076
+ borderRightColor: {
1077
+ themeKey: "palette"
1078
+ },
1079
+ borderBottomColor: {
1080
+ themeKey: "palette"
1081
+ },
1082
+ borderLeftColor: {
1083
+ themeKey: "palette"
1084
+ },
1085
+ outline: {
1086
+ themeKey: "borders",
1087
+ transform: W
1088
+ },
1089
+ outlineColor: {
1090
+ themeKey: "palette"
1091
+ },
1092
+ borderRadius: {
1093
+ themeKey: "shape.borderRadius",
1094
+ style: ue
1095
+ },
1096
+ // palette
1097
+ color: {
1098
+ themeKey: "palette",
1099
+ transform: G
1100
+ },
1101
+ bgcolor: {
1102
+ themeKey: "palette",
1103
+ cssProperty: "backgroundColor",
1104
+ transform: G
1105
+ },
1106
+ backgroundColor: {
1107
+ themeKey: "palette",
1108
+ transform: G
1109
+ },
1110
+ // spacing
1111
+ p: {
1112
+ style: $
1113
+ },
1114
+ pt: {
1115
+ style: $
1116
+ },
1117
+ pr: {
1118
+ style: $
1119
+ },
1120
+ pb: {
1121
+ style: $
1122
+ },
1123
+ pl: {
1124
+ style: $
1125
+ },
1126
+ px: {
1127
+ style: $
1128
+ },
1129
+ py: {
1130
+ style: $
1131
+ },
1132
+ padding: {
1133
+ style: $
1134
+ },
1135
+ paddingTop: {
1136
+ style: $
1137
+ },
1138
+ paddingRight: {
1139
+ style: $
1140
+ },
1141
+ paddingBottom: {
1142
+ style: $
1143
+ },
1144
+ paddingLeft: {
1145
+ style: $
1146
+ },
1147
+ paddingX: {
1148
+ style: $
1149
+ },
1150
+ paddingY: {
1151
+ style: $
1152
+ },
1153
+ paddingInline: {
1154
+ style: $
1155
+ },
1156
+ paddingInlineStart: {
1157
+ style: $
1158
+ },
1159
+ paddingInlineEnd: {
1160
+ style: $
1161
+ },
1162
+ paddingBlock: {
1163
+ style: $
1164
+ },
1165
+ paddingBlockStart: {
1166
+ style: $
1167
+ },
1168
+ paddingBlockEnd: {
1169
+ style: $
1170
+ },
1171
+ m: {
1172
+ style: A
1173
+ },
1174
+ mt: {
1175
+ style: A
1176
+ },
1177
+ mr: {
1178
+ style: A
1179
+ },
1180
+ mb: {
1181
+ style: A
1182
+ },
1183
+ ml: {
1184
+ style: A
1185
+ },
1186
+ mx: {
1187
+ style: A
1188
+ },
1189
+ my: {
1190
+ style: A
1191
+ },
1192
+ margin: {
1193
+ style: A
1194
+ },
1195
+ marginTop: {
1196
+ style: A
1197
+ },
1198
+ marginRight: {
1199
+ style: A
1200
+ },
1201
+ marginBottom: {
1202
+ style: A
1203
+ },
1204
+ marginLeft: {
1205
+ style: A
1206
+ },
1207
+ marginX: {
1208
+ style: A
1209
+ },
1210
+ marginY: {
1211
+ style: A
1212
+ },
1213
+ marginInline: {
1214
+ style: A
1215
+ },
1216
+ marginInlineStart: {
1217
+ style: A
1218
+ },
1219
+ marginInlineEnd: {
1220
+ style: A
1221
+ },
1222
+ marginBlock: {
1223
+ style: A
1224
+ },
1225
+ marginBlockStart: {
1226
+ style: A
1227
+ },
1228
+ marginBlockEnd: {
1229
+ style: A
1230
+ },
1231
+ // display
1232
+ displayPrint: {
1233
+ cssProperty: !1,
1234
+ transform: (e) => ({
1235
+ "@media print": {
1236
+ display: e
1237
+ }
1238
+ })
1239
+ },
1240
+ display: {},
1241
+ overflow: {},
1242
+ textOverflow: {},
1243
+ visibility: {},
1244
+ whiteSpace: {},
1245
+ // flexbox
1246
+ flexBasis: {},
1247
+ flexDirection: {},
1248
+ flexWrap: {},
1249
+ justifyContent: {},
1250
+ alignItems: {},
1251
+ alignContent: {},
1252
+ order: {},
1253
+ flex: {},
1254
+ flexGrow: {},
1255
+ flexShrink: {},
1256
+ alignSelf: {},
1257
+ justifyItems: {},
1258
+ justifySelf: {},
1259
+ // grid
1260
+ gap: {
1261
+ style: fe
1262
+ },
1263
+ rowGap: {
1264
+ style: le
1265
+ },
1266
+ columnGap: {
1267
+ style: ce
1268
+ },
1269
+ gridColumn: {},
1270
+ gridRow: {},
1271
+ gridAutoFlow: {},
1272
+ gridAutoColumns: {},
1273
+ gridAutoRows: {},
1274
+ gridTemplateColumns: {},
1275
+ gridTemplateRows: {},
1276
+ gridTemplateAreas: {},
1277
+ gridArea: {},
1278
+ // positions
1279
+ position: {},
1280
+ zIndex: {
1281
+ themeKey: "zIndex"
1282
+ },
1283
+ top: {},
1284
+ right: {},
1285
+ bottom: {},
1286
+ left: {},
1287
+ // shadows
1288
+ boxShadow: {
1289
+ themeKey: "shadows"
1290
+ },
1291
+ // sizing
1292
+ width: {
1293
+ transform: j
1294
+ },
1295
+ maxWidth: {
1296
+ style: Te
1297
+ },
1298
+ minWidth: {
1299
+ transform: j
1300
+ },
1301
+ height: {
1302
+ transform: j
1303
+ },
1304
+ maxHeight: {
1305
+ transform: j
1306
+ },
1307
+ minHeight: {
1308
+ transform: j
1309
+ },
1310
+ boxSizing: {},
1311
+ // typography
1312
+ font: {
1313
+ themeKey: "font"
1314
+ },
1315
+ fontFamily: {
1316
+ themeKey: "typography"
1317
+ },
1318
+ fontSize: {
1319
+ themeKey: "typography"
1320
+ },
1321
+ fontStyle: {
1322
+ themeKey: "typography"
1323
+ },
1324
+ fontWeight: {
1325
+ themeKey: "typography"
1326
+ },
1327
+ letterSpacing: {},
1328
+ textTransform: {},
1329
+ lineHeight: {},
1330
+ textAlign: {},
1331
+ typography: {
1332
+ cssProperty: !1,
1333
+ themeKey: "typography"
1334
+ }
1335
+ };
1336
+ function lt(...e) {
1337
+ const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
1338
+ return e.every((n) => t.size === Object.keys(n).length);
1339
+ }
1340
+ function dt(e, r) {
1341
+ return typeof e == "function" ? e(r) : e;
1342
+ }
1343
+ function pt() {
1344
+ function e(t, n, o, s) {
1345
+ const a = {
1346
+ [t]: n,
1347
+ theme: o
1348
+ }, u = s[t];
1349
+ if (!u)
1350
+ return {
1351
+ [t]: n
1352
+ };
1353
+ const {
1354
+ cssProperty: c = t,
1355
+ themeKey: p,
1356
+ transform: m,
1357
+ style: y
1358
+ } = u;
1359
+ if (n == null)
1360
+ return null;
1361
+ if (p === "typography" && n === "inherit")
1362
+ return {
1363
+ [t]: n
1364
+ };
1365
+ const l = oe(o, p) || {};
1366
+ return y ? y(a) : B(a, n, (g) => {
1367
+ let i = re(l, m, g);
1368
+ return g === i && typeof g == "string" && (i = re(l, m, `${t}${g === "default" ? "" : Ge(g)}`, g)), c === !1 ? i : {
1369
+ [c]: i
1370
+ };
1371
+ });
1372
+ }
1373
+ function r(t) {
1374
+ const {
1375
+ sx: n,
1376
+ theme: o = {},
1377
+ nested: s
1378
+ } = t || {};
1379
+ if (!n)
1380
+ return null;
1381
+ const a = o.unstable_sxConfig ?? Qe;
1382
+ function u(c) {
1383
+ let p = c;
1384
+ if (typeof c == "function")
1385
+ p = c(o);
1386
+ else if (typeof c != "object")
1387
+ return c;
1388
+ if (!p)
1389
+ return null;
1390
+ const m = _r(o.breakpoints), y = Object.keys(m);
1391
+ let l = m;
1392
+ return Object.keys(p).forEach((C) => {
1393
+ const g = dt(p[C], o);
1394
+ if (g != null)
1395
+ if (typeof g == "object")
1396
+ if (a[C])
1397
+ l = V(l, e(C, g, o, a));
1398
+ else {
1399
+ const i = B({
1400
+ theme: o
1401
+ }, g, (P) => ({
1402
+ [C]: P
1403
+ }));
1404
+ lt(i, g) ? l[C] = r({
1405
+ sx: g,
1406
+ theme: o,
1407
+ nested: !0
1408
+ }) : l = V(l, i);
1409
+ }
1410
+ else
1411
+ l = V(l, e(C, g, o, a));
1412
+ }), !s && o.modularCssLayers ? {
1413
+ "@layer sx": Ne(o, ke(y, l))
1414
+ } : Ne(o, ke(y, l));
1415
+ }
1416
+ return Array.isArray(n) ? n.map(u) : u(n);
1417
+ }
1418
+ return r;
1419
+ }
1420
+ const Xe = pt();
1421
+ Xe.filterProps = ["sx"];
1422
+ function yt(e) {
1423
+ for (var r = 0, t, n = 0, o = e.length; o >= 4; ++n, o -= 4)
1424
+ t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
1425
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
1426
+ t >>> 24, r = /* Math.imul(k, m): */
1427
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1428
+ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
1429
+ switch (o) {
1430
+ case 3:
1431
+ r ^= (e.charCodeAt(n + 2) & 255) << 16;
1432
+ case 2:
1433
+ r ^= (e.charCodeAt(n + 1) & 255) << 8;
1434
+ case 1:
1435
+ r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
1436
+ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
1437
+ }
1438
+ return r ^= r >>> 13, r = /* Math.imul(h, m): */
1439
+ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
1440
+ }
1441
+ var mt = {
1442
+ animationIterationCount: 1,
1443
+ aspectRatio: 1,
1444
+ borderImageOutset: 1,
1445
+ borderImageSlice: 1,
1446
+ borderImageWidth: 1,
1447
+ boxFlex: 1,
1448
+ boxFlexGroup: 1,
1449
+ boxOrdinalGroup: 1,
1450
+ columnCount: 1,
1451
+ columns: 1,
1452
+ flex: 1,
1453
+ flexGrow: 1,
1454
+ flexPositive: 1,
1455
+ flexShrink: 1,
1456
+ flexNegative: 1,
1457
+ flexOrder: 1,
1458
+ gridRow: 1,
1459
+ gridRowEnd: 1,
1460
+ gridRowSpan: 1,
1461
+ gridRowStart: 1,
1462
+ gridColumn: 1,
1463
+ gridColumnEnd: 1,
1464
+ gridColumnSpan: 1,
1465
+ gridColumnStart: 1,
1466
+ msGridRow: 1,
1467
+ msGridRowSpan: 1,
1468
+ msGridColumn: 1,
1469
+ msGridColumnSpan: 1,
1470
+ fontWeight: 1,
1471
+ lineHeight: 1,
1472
+ opacity: 1,
1473
+ order: 1,
1474
+ orphans: 1,
1475
+ scale: 1,
1476
+ tabSize: 1,
1477
+ widows: 1,
1478
+ zIndex: 1,
1479
+ zoom: 1,
1480
+ WebkitLineClamp: 1,
1481
+ // SVG-related properties
1482
+ fillOpacity: 1,
1483
+ floodOpacity: 1,
1484
+ stopOpacity: 1,
1485
+ strokeDasharray: 1,
1486
+ strokeDashoffset: 1,
1487
+ strokeMiterlimit: 1,
1488
+ strokeOpacity: 1,
1489
+ strokeWidth: 1
1490
+ };
1491
+ function gt(e) {
1492
+ var r = /* @__PURE__ */ Object.create(null);
1493
+ return function(t) {
1494
+ return r[t] === void 0 && (r[t] = e(t)), r[t];
1495
+ };
1496
+ }
1497
+ var ht = /[A-Z]|^ms/g, bt = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Je = function(r) {
1498
+ return r.charCodeAt(1) === 45;
1499
+ }, Ye = function(r) {
1500
+ return r != null && typeof r != "boolean";
1501
+ }, be = /* @__PURE__ */ gt(function(e) {
1502
+ return Je(e) ? e : e.replace(ht, "-$&").toLowerCase();
1503
+ }), Be = function(r, t) {
1504
+ switch (r) {
1505
+ case "animation":
1506
+ case "animationName":
1507
+ if (typeof t == "string")
1508
+ return t.replace(bt, function(n, o, s) {
1509
+ return L = {
1510
+ name: o,
1511
+ styles: s,
1512
+ next: L
1513
+ }, o;
1514
+ });
1515
+ }
1516
+ return mt[r] !== 1 && !Je(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
1517
+ };
1518
+ function te(e, r, t) {
1519
+ if (t == null)
1520
+ return "";
1521
+ var n = t;
1522
+ if (n.__emotion_styles !== void 0)
1523
+ return n;
1524
+ switch (typeof t) {
1525
+ case "boolean":
1526
+ return "";
1527
+ case "object": {
1528
+ var o = t;
1529
+ if (o.anim === 1)
1530
+ return L = {
1531
+ name: o.name,
1532
+ styles: o.styles,
1533
+ next: L
1534
+ }, o.name;
1535
+ var s = t;
1536
+ if (s.styles !== void 0) {
1537
+ var a = s.next;
1538
+ if (a !== void 0)
1539
+ for (; a !== void 0; )
1540
+ L = {
1541
+ name: a.name,
1542
+ styles: a.styles,
1543
+ next: L
1544
+ }, a = a.next;
1545
+ var u = s.styles + ";";
1546
+ return u;
1547
+ }
1548
+ return vt(e, r, t);
1549
+ }
1550
+ }
1551
+ var c = t;
1552
+ return c;
1553
+ }
1554
+ function vt(e, r, t) {
1555
+ var n = "";
1556
+ if (Array.isArray(t))
1557
+ for (var o = 0; o < t.length; o++)
1558
+ n += te(e, r, t[o]) + ";";
1559
+ else
1560
+ for (var s in t) {
1561
+ var a = t[s];
1562
+ if (typeof a != "object") {
1563
+ var u = a;
1564
+ Ye(u) && (n += be(s) + ":" + Be(s, u) + ";");
1565
+ } else if (Array.isArray(a) && typeof a[0] == "string" && r == null)
1566
+ for (var c = 0; c < a.length; c++)
1567
+ Ye(a[c]) && (n += be(s) + ":" + Be(s, a[c]) + ";");
1568
+ else {
1569
+ var p = te(e, r, a);
1570
+ switch (s) {
1571
+ case "animation":
1572
+ case "animationName": {
1573
+ n += be(s) + ":" + p + ";";
1574
+ break;
1575
+ }
1576
+ default:
1577
+ n += s + "{" + p + "}";
1578
+ }
1579
+ }
1580
+ }
1581
+ return n;
1582
+ }
1583
+ var Me = /label:\s*([^\s;{]+)\s*(;|$)/g, L;
1584
+ function Et(e, r, t) {
1585
+ if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1586
+ return e[0];
1587
+ var n = !0, o = "";
1588
+ L = void 0;
1589
+ var s = e[0];
1590
+ if (s == null || s.raw === void 0)
1591
+ n = !1, o += te(t, r, s);
1592
+ else {
1593
+ var a = s;
1594
+ o += a[0];
1595
+ }
1596
+ for (var u = 1; u < e.length; u++)
1597
+ if (o += te(t, r, e[u]), n) {
1598
+ var c = s;
1599
+ o += c[u];
1600
+ }
1601
+ Me.lastIndex = 0;
1602
+ for (var p = "", m; (m = Me.exec(o)) !== null; )
1603
+ p += "-" + m[1];
1604
+ var y = yt(o) + p;
1605
+ return {
1606
+ name: y,
1607
+ styles: o,
1608
+ next: L
1609
+ };
1610
+ }
1611
+ function At(e, r) {
1612
+ const t = pr(e, r);
1613
+ return process.env.NODE_ENV !== "production" ? (...n) => {
1614
+ const o = typeof e == "string" ? `"${e}"` : "component";
1615
+ 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(`
1616
+ `)) : n.some((s) => s === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
1617
+ } : t;
1618
+ }
1619
+ function $t(e, r) {
1620
+ Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
1621
+ }
1622
+ const De = [];
1623
+ function It(e) {
1624
+ return De[0] = e, Et(De);
1625
+ }
1626
+ const Tt = (e) => {
1627
+ const r = Object.keys(e).map((t) => ({
1628
+ key: t,
1629
+ val: e[t]
1630
+ })) || [];
1631
+ return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
1632
+ ...t,
1633
+ [n.key]: n.val
1634
+ }), {});
1635
+ };
1636
+ function xt(e) {
1637
+ const {
1638
+ // The breakpoint **start** at this value.
1639
+ // For instance with the first breakpoint xs: [xs, sm).
1640
+ values: r = {
1641
+ xs: 0,
1642
+ // phone
1643
+ sm: 600,
1644
+ // tablet
1645
+ md: 900,
1646
+ // small laptop
1647
+ lg: 1200,
1648
+ // desktop
1649
+ xl: 1536
1650
+ // large screen
1651
+ },
1652
+ unit: t = "px",
1653
+ step: n = 5,
1654
+ ...o
1655
+ } = e, s = Tt(r), a = Object.keys(s);
1656
+ function u(l) {
1657
+ return `@media (min-width:${typeof r[l] == "number" ? r[l] : l}${t})`;
1658
+ }
1659
+ function c(l) {
1660
+ return `@media (max-width:${(typeof r[l] == "number" ? r[l] : l) - n / 100}${t})`;
1661
+ }
1662
+ function p(l, C) {
1663
+ const g = a.indexOf(C);
1664
+ return `@media (min-width:${typeof r[l] == "number" ? r[l] : l}${t}) and (max-width:${(g !== -1 && typeof r[a[g]] == "number" ? r[a[g]] : C) - n / 100}${t})`;
1665
+ }
1666
+ function m(l) {
1667
+ return a.indexOf(l) + 1 < a.length ? p(l, a[a.indexOf(l) + 1]) : u(l);
1668
+ }
1669
+ function y(l) {
1670
+ const C = a.indexOf(l);
1671
+ return C === 0 ? u(a[1]) : C === a.length - 1 ? c(a[C]) : p(l, a[a.indexOf(l) + 1]).replace("@media", "@media not all and");
1672
+ }
1673
+ return {
1674
+ keys: a,
1675
+ values: s,
1676
+ up: u,
1677
+ down: c,
1678
+ between: p,
1679
+ only: m,
1680
+ not: y,
1681
+ unit: t,
1682
+ ...o
1683
+ };
1684
+ }
1685
+ const Ot = {
1686
+ borderRadius: 4
1687
+ };
1688
+ function St(e = 8, r = Ve({
1689
+ spacing: e
1690
+ })) {
1691
+ if (e.mui)
1692
+ return e;
1693
+ const t = (...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((s) => {
1694
+ const a = r(s);
1695
+ return typeof a == "number" ? `${a}px` : a;
1696
+ }).join(" "));
1697
+ return t.mui = !0, t;
1698
+ }
1699
+ function Ct(e, r) {
1700
+ const t = this;
1701
+ if (t.vars) {
1702
+ if (!t.colorSchemes?.[e] || typeof t.getColorSchemeSelector != "function")
1703
+ return {};
1704
+ let n = t.getColorSchemeSelector(e);
1705
+ return n === "&" ? r : ((n.includes("data-") || n.includes(".")) && (n = `*:where(${n.replace(/\s*&$/, "")}) &`), {
1706
+ [n]: r
1707
+ });
1708
+ }
1709
+ return t.palette.mode === e ? r : {};
1710
+ }
1711
+ function Nt(e = {}, ...r) {
1712
+ const {
1713
+ breakpoints: t = {},
1714
+ palette: n = {},
1715
+ spacing: o,
1716
+ shape: s = {},
1717
+ ...a
1718
+ } = e, u = xt(t), c = St(o);
1719
+ let p = ee({
1720
+ breakpoints: u,
1721
+ direction: "ltr",
1722
+ components: {},
1723
+ // Inject component definitions.
1724
+ palette: {
1725
+ mode: "light",
1726
+ ...n
1727
+ },
1728
+ spacing: c,
1729
+ shape: {
1730
+ ...Ot,
1731
+ ...s
1732
+ }
1733
+ }, a);
1734
+ return p = Cr(p), p.applyStyles = Ct, p = r.reduce((m, y) => ee(m, y), p), p.unstable_sxConfig = {
1735
+ ...Qe,
1736
+ ...a?.unstable_sxConfig
1737
+ }, p.unstable_sx = function(y) {
1738
+ return Xe({
1739
+ sx: y,
1740
+ theme: this
1741
+ });
1742
+ }, p;
1743
+ }
1744
+ export {
1745
+ F as P,
1746
+ Xe as a,
1747
+ Pt as b,
1748
+ Nt as c,
1749
+ Qe as d,
1750
+ It as e,
1751
+ $t as f,
1752
+ Ge as g,
1753
+ qe as h,
1754
+ q as i,
1755
+ ee as j,
1756
+ St as k,
1757
+ Ve as l,
1758
+ ze as r,
1759
+ At as s
1760
+ };
1761
+ //# sourceMappingURL=createTheme.edEUUU41.js.map