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