@cgi-learning-hub/ui 0.0.1-dev.1709558390 → 0.0.1-dev.1709568003

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 (127) hide show
  1. package/dist/Box-CjHm9A9L.cjs +1 -0
  2. package/dist/{Box-C0qXdJzV.js → Box-erN4AuKs.js} +8 -8
  3. package/dist/ButtonBase-BybMkBUd.cjs +75 -0
  4. package/dist/ButtonBase-CGcs8Gbj.cjs +75 -0
  5. package/dist/ButtonBase-V1pwsMMs.js +649 -0
  6. package/dist/ButtonBase-aujiNoUb.js +649 -0
  7. package/dist/DefaultButton-Cg4tPCgf.cjs +28 -0
  8. package/dist/{DefaultButton-B-2UppUm.js → DefaultButton-DbpZOb47.js} +355 -146
  9. package/dist/FileListItem-ChKTjDnV.js +254 -0
  10. package/dist/FileListItem-CjFIZgYg.cjs +28 -0
  11. package/dist/IconButton-CHXclgOn.cjs +2 -0
  12. package/dist/{IconButton-1URziYlU.js → IconButton-DE5JOshS.js} +8 -8
  13. package/dist/{InputBase-Dc0v-Ihf.js → InputBase-C8AzQJJ9.js} +161 -174
  14. package/dist/InputBase-D6eXzDaz.cjs +4 -0
  15. package/dist/LocalizationProvider-42pD7VmS.cjs +5 -0
  16. package/dist/{LocalizationProvider-BD64DNxF.js → LocalizationProvider-Cov62Xe0.js} +4 -3
  17. package/dist/Tabs-DiWeNGD4.js +1167 -0
  18. package/dist/Tabs-DoxP7EMA.cjs +4 -0
  19. package/dist/TextInput-BbSyyuvO.cjs +12 -0
  20. package/dist/{TextInput-DsSFDlNR.js → TextInput-DmMk4i-V.js} +1892 -1650
  21. package/dist/TimePicker-B5MjZCK0.cjs +89 -0
  22. package/dist/TimePicker-BmxG3a2D.js +28354 -0
  23. package/dist/TransitionGroup-COuDopJ-.js +188 -0
  24. package/dist/TransitionGroup-X90dkobW.cjs +1 -0
  25. package/dist/Typography-B90UzlQW.js +179 -0
  26. package/dist/Typography-KFjBz5Hm.cjs +1 -0
  27. package/dist/clamp-0LjYbpE_.cjs +23 -0
  28. package/dist/clamp-BGJvJ0FN.js +1641 -0
  29. package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
  30. package/dist/components/Dropzone/Dropzone.es.js +12 -11
  31. package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +1 -1
  32. package/dist/components/LocalizationProvider/LocalizationProvider.es.js +1 -1
  33. package/dist/components/LocalizationProvider/index.cjs.js +1 -1
  34. package/dist/components/LocalizationProvider/index.es.js +1 -1
  35. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
  36. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +3 -3
  37. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  38. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +6 -6
  39. package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
  40. package/dist/components/buttons/DefaultButton/index.es.js +1 -1
  41. package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
  42. package/dist/components/buttons/IconButton.stories.es.js +10 -9
  43. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  44. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +2 -2
  45. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  46. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  47. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  48. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +2 -2
  49. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  50. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  51. package/dist/components/buttons/index.cjs.js +1 -1
  52. package/dist/components/buttons/index.es.js +1 -1
  53. package/dist/components/index.cjs.js +1 -1
  54. package/dist/components/index.es.js +90 -91
  55. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
  56. package/dist/components/inputs/SearchInput/SearchInput.es.js +174 -6
  57. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
  58. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +4 -4
  59. package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
  60. package/dist/components/inputs/SearchInput/index.es.js +2 -2
  61. package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
  62. package/dist/components/inputs/TextInput/TextInput.es.js +2 -2
  63. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
  64. package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
  65. package/dist/components/inputs/TextInput/index.cjs.js +1 -1
  66. package/dist/components/inputs/TextInput/index.es.js +1 -1
  67. package/dist/components/inputs/index.cjs.js +1 -1
  68. package/dist/components/inputs/index.es.js +4 -4
  69. package/dist/components/lists/FileList/FileList.cjs.js +1 -1
  70. package/dist/components/lists/FileList/FileList.es.js +2 -2
  71. package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
  72. package/dist/components/lists/FileList/FileListItem.es.js +7 -39
  73. package/dist/components/lists/FileList/index.cjs.js +1 -1
  74. package/dist/components/lists/FileList/index.es.js +4 -4
  75. package/dist/components/lists/TabList.stories.cjs.js +1 -1
  76. package/dist/components/lists/TabList.stories.es.js +18 -16
  77. package/dist/components/lists/index.cjs.js +1 -1
  78. package/dist/components/lists/index.es.js +4 -4
  79. package/dist/createSvgIcon-BSYat4nx.js +74 -0
  80. package/dist/createSvgIcon-BqRWmIPG.cjs +1 -0
  81. package/dist/{createSvgIcon-Dspfpz-l.js → createSvgIcon-DeRU4e-L.js} +20 -18
  82. package/dist/createSvgIcon-doNQ5emq.cjs +2 -0
  83. package/dist/index.cjs.js +1 -1
  84. package/dist/index.es.js +93 -94
  85. package/dist/refType-Bt58K9Sk.cjs +1 -0
  86. package/dist/{refType-BBFUe6fu.js → refType-CoCfCK--.js} +1 -1
  87. package/dist/styled-BU8dAebc.js +1751 -0
  88. package/dist/styled-DGjsLYEN.cjs +45 -0
  89. package/dist/styled-DP6LeBLQ.js +261 -0
  90. package/dist/styled-Dkd1VGM-.cjs +1 -0
  91. package/dist/useTheme-C132tQV-.js +10 -0
  92. package/dist/useTheme-CliHZTkE.cjs +1 -0
  93. package/dist/useThemeProps-63SNG58r.js +753 -0
  94. package/dist/useThemeProps-CVatCXfo.cjs +20 -0
  95. package/package.json +6 -7
  96. package/dist/Box-DjRIKMD0.cjs +0 -1
  97. package/dist/ButtonBase-BvllyU4w.cjs +0 -75
  98. package/dist/ButtonBase-C14ZYs6z.js +0 -833
  99. package/dist/CircularProgress-Bf46-VRs.js +0 -217
  100. package/dist/CircularProgress-DjSMBYnK.cjs +0 -28
  101. package/dist/DefaultButton-DPZOltN5.cjs +0 -1
  102. package/dist/IconButton-X6l-U-im.cjs +0 -2
  103. package/dist/InputBase-CzupOzjh.cjs +0 -4
  104. package/dist/LocalizationProvider-DqwEOZOd.cjs +0 -5
  105. package/dist/SearchInput-Bb3sCx3k.cjs +0 -1
  106. package/dist/SearchInput-DRjmNW6W.js +0 -177
  107. package/dist/Tabs-B9BPJaDx.js +0 -1090
  108. package/dist/Tabs-Dx8YJT4c.cjs +0 -4
  109. package/dist/TextInput-BFguMDSu.cjs +0 -12
  110. package/dist/TimePicker-B0HOzxHh.cjs +0 -69
  111. package/dist/TimePicker-OBZs04Z8.js +0 -19694
  112. package/dist/Typography-CRt6WSxo.js +0 -204
  113. package/dist/Typography-DsPQABF2.cjs +0 -1
  114. package/dist/createSvgIcon-BOQCM03y.cjs +0 -2
  115. package/dist/createSvgIcon-C2VxBqzG.cjs +0 -1
  116. package/dist/createSvgIcon-xJp3_zwo.js +0 -84
  117. package/dist/isHostComponent-PydJW4A4.cjs +0 -1
  118. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  119. package/dist/refType-5EEBZL5_.cjs +0 -1
  120. package/dist/styled-D8lXwcQy.js +0 -423
  121. package/dist/styled-DFoJwRxe.cjs +0 -24
  122. package/dist/useSlotProps-BoMYRJkF.js +0 -72
  123. package/dist/useSlotProps-EKKRQjEn.cjs +0 -1
  124. package/dist/useTheme-BkW5nNsn.cjs +0 -1
  125. package/dist/useTheme-Bo1inEHN.js +0 -9
  126. package/dist/useThemeProps-BRWSvuZw.cjs +0 -42
  127. package/dist/useThemeProps-CZzcR_pm.js +0 -2288
@@ -1,2288 +0,0 @@
1
- import * as Pt from "react";
2
- import { ThemeContext as Ct } from "@emotion/react";
3
- function ae(e) {
4
- let t = "https://mui.com/production-error/?code=" + e;
5
- for (let n = 1; n < arguments.length; n += 1)
6
- t += "&args[]=" + encodeURIComponent(arguments[n]);
7
- return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
8
- }
9
- var Nn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
- function At(e) {
11
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
12
- }
13
- function Bn(e) {
14
- if (e.__esModule)
15
- return e;
16
- var t = e.default;
17
- if (typeof t == "function") {
18
- var n = function r() {
19
- return this instanceof r ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
20
- };
21
- n.prototype = t.prototype;
22
- } else
23
- n = {};
24
- return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
25
- var o = Object.getOwnPropertyDescriptor(e, r);
26
- Object.defineProperty(n, r, o.get ? o : {
27
- enumerable: !0,
28
- get: function() {
29
- return e[r];
30
- }
31
- });
32
- }), n;
33
- }
34
- var Ke = { exports: {} }, be = { exports: {} }, C = {};
35
- /** @license React v16.13.1
36
- * react-is.production.min.js
37
- *
38
- * Copyright (c) Facebook, Inc. and its affiliates.
39
- *
40
- * This source code is licensed under the MIT license found in the
41
- * LICENSE file in the root directory of this source tree.
42
- */
43
- var Ze;
44
- function Rt() {
45
- if (Ze)
46
- return C;
47
- Ze = 1;
48
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, y = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, c = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, l = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, I = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
49
- function N(p) {
50
- if (typeof p == "object" && p !== null) {
51
- var X = p.$$typeof;
52
- switch (X) {
53
- case t:
54
- switch (p = p.type, p) {
55
- case y:
56
- case f:
57
- case r:
58
- case i:
59
- case o:
60
- case h:
61
- return p;
62
- default:
63
- switch (p = p && p.$$typeof, p) {
64
- case u:
65
- case g:
66
- case v:
67
- case b:
68
- case s:
69
- return p;
70
- default:
71
- return X;
72
- }
73
- }
74
- case n:
75
- return X;
76
- }
77
- }
78
- }
79
- function U(p) {
80
- return N(p) === f;
81
- }
82
- return C.AsyncMode = y, C.ConcurrentMode = f, C.ContextConsumer = u, C.ContextProvider = s, C.Element = t, C.ForwardRef = g, C.Fragment = r, C.Lazy = v, C.Memo = b, C.Portal = n, C.Profiler = i, C.StrictMode = o, C.Suspense = h, C.isAsyncMode = function(p) {
83
- return U(p) || N(p) === y;
84
- }, C.isConcurrentMode = U, C.isContextConsumer = function(p) {
85
- return N(p) === u;
86
- }, C.isContextProvider = function(p) {
87
- return N(p) === s;
88
- }, C.isElement = function(p) {
89
- return typeof p == "object" && p !== null && p.$$typeof === t;
90
- }, C.isForwardRef = function(p) {
91
- return N(p) === g;
92
- }, C.isFragment = function(p) {
93
- return N(p) === r;
94
- }, C.isLazy = function(p) {
95
- return N(p) === v;
96
- }, C.isMemo = function(p) {
97
- return N(p) === b;
98
- }, C.isPortal = function(p) {
99
- return N(p) === n;
100
- }, C.isProfiler = function(p) {
101
- return N(p) === i;
102
- }, C.isStrictMode = function(p) {
103
- return N(p) === o;
104
- }, C.isSuspense = function(p) {
105
- return N(p) === h;
106
- }, C.isValidElementType = function(p) {
107
- return typeof p == "string" || typeof p == "function" || p === r || p === f || p === i || p === o || p === h || p === c || typeof p == "object" && p !== null && (p.$$typeof === v || p.$$typeof === b || p.$$typeof === s || p.$$typeof === u || p.$$typeof === g || p.$$typeof === E || p.$$typeof === I || p.$$typeof === K || p.$$typeof === l);
108
- }, C.typeOf = N, C;
109
- }
110
- var A = {};
111
- /** @license React v16.13.1
112
- * react-is.development.js
113
- *
114
- * Copyright (c) Facebook, Inc. and its affiliates.
115
- *
116
- * This source code is licensed under the MIT license found in the
117
- * LICENSE file in the root directory of this source tree.
118
- */
119
- var Qe;
120
- function It() {
121
- return Qe || (Qe = 1, process.env.NODE_ENV !== "production" && function() {
122
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, y = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, c = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, l = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, I = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
123
- function N(d) {
124
- return typeof d == "string" || typeof d == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
125
- d === r || d === f || d === i || d === o || d === h || d === c || typeof d == "object" && d !== null && (d.$$typeof === v || d.$$typeof === b || d.$$typeof === s || d.$$typeof === u || d.$$typeof === g || d.$$typeof === E || d.$$typeof === I || d.$$typeof === K || d.$$typeof === l);
126
- }
127
- function U(d) {
128
- if (typeof d == "object" && d !== null) {
129
- var F = d.$$typeof;
130
- switch (F) {
131
- case t:
132
- var he = d.type;
133
- switch (he) {
134
- case y:
135
- case f:
136
- case r:
137
- case i:
138
- case o:
139
- case h:
140
- return he;
141
- default:
142
- var Je = he && he.$$typeof;
143
- switch (Je) {
144
- case u:
145
- case g:
146
- case v:
147
- case b:
148
- case s:
149
- return Je;
150
- default:
151
- return F;
152
- }
153
- }
154
- case n:
155
- return F;
156
- }
157
- }
158
- }
159
- var p = y, X = f, Ce = u, Ae = s, Re = t, Ie = g, me = r, ke = v, je = b, Q = n, Me = i, q = o, J = h, ge = !1;
160
- function De(d) {
161
- return ge || (ge = !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.")), a(d) || U(d) === y;
162
- }
163
- function a(d) {
164
- return U(d) === f;
165
- }
166
- function m(d) {
167
- return U(d) === u;
168
- }
169
- function $(d) {
170
- return U(d) === s;
171
- }
172
- function x(d) {
173
- return typeof d == "object" && d !== null && d.$$typeof === t;
174
- }
175
- function O(d) {
176
- return U(d) === g;
177
- }
178
- function w(d) {
179
- return U(d) === r;
180
- }
181
- function T(d) {
182
- return U(d) === v;
183
- }
184
- function S(d) {
185
- return U(d) === b;
186
- }
187
- function _(d) {
188
- return U(d) === n;
189
- }
190
- function R(d) {
191
- return U(d) === i;
192
- }
193
- function P(d) {
194
- return U(d) === o;
195
- }
196
- function W(d) {
197
- return U(d) === h;
198
- }
199
- A.AsyncMode = p, A.ConcurrentMode = X, A.ContextConsumer = Ce, A.ContextProvider = Ae, A.Element = Re, A.ForwardRef = Ie, A.Fragment = me, A.Lazy = ke, A.Memo = je, A.Portal = Q, A.Profiler = Me, A.StrictMode = q, A.Suspense = J, A.isAsyncMode = De, A.isConcurrentMode = a, A.isContextConsumer = m, A.isContextProvider = $, A.isElement = x, A.isForwardRef = O, A.isFragment = w, A.isLazy = T, A.isMemo = S, A.isPortal = _, A.isProfiler = R, A.isStrictMode = P, A.isSuspense = W, A.isValidElementType = N, A.typeOf = U;
200
- }()), A;
201
- }
202
- var et;
203
- function gt() {
204
- return et || (et = 1, process.env.NODE_ENV === "production" ? be.exports = Rt() : be.exports = It()), be.exports;
205
- }
206
- /*
207
- object-assign
208
- (c) Sindre Sorhus
209
- @license MIT
210
- */
211
- var Ne, tt;
212
- function kt() {
213
- if (tt)
214
- return Ne;
215
- tt = 1;
216
- var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
217
- function r(i) {
218
- if (i == null)
219
- throw new TypeError("Object.assign cannot be called with null or undefined");
220
- return Object(i);
221
- }
222
- function o() {
223
- try {
224
- if (!Object.assign)
225
- return !1;
226
- var i = new String("abc");
227
- if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
228
- return !1;
229
- for (var s = {}, u = 0; u < 10; u++)
230
- s["_" + String.fromCharCode(u)] = u;
231
- var y = Object.getOwnPropertyNames(s).map(function(g) {
232
- return s[g];
233
- });
234
- if (y.join("") !== "0123456789")
235
- return !1;
236
- var f = {};
237
- return "abcdefghijklmnopqrst".split("").forEach(function(g) {
238
- f[g] = g;
239
- }), Object.keys(Object.assign({}, f)).join("") === "abcdefghijklmnopqrst";
240
- } catch {
241
- return !1;
242
- }
243
- }
244
- return Ne = o() ? Object.assign : function(i, s) {
245
- for (var u, y = r(i), f, g = 1; g < arguments.length; g++) {
246
- u = Object(arguments[g]);
247
- for (var h in u)
248
- t.call(u, h) && (y[h] = u[h]);
249
- if (e) {
250
- f = e(u);
251
- for (var c = 0; c < f.length; c++)
252
- n.call(u, f[c]) && (y[f[c]] = u[f[c]]);
253
- }
254
- }
255
- return y;
256
- }, Ne;
257
- }
258
- var Be, rt;
259
- function Fe() {
260
- if (rt)
261
- return Be;
262
- rt = 1;
263
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
264
- return Be = e, Be;
265
- }
266
- var Ue, nt;
267
- function ht() {
268
- return nt || (nt = 1, Ue = Function.call.bind(Object.prototype.hasOwnProperty)), Ue;
269
- }
270
- var We, ot;
271
- function jt() {
272
- if (ot)
273
- return We;
274
- ot = 1;
275
- var e = function() {
276
- };
277
- if (process.env.NODE_ENV !== "production") {
278
- var t = Fe(), n = {}, r = ht();
279
- e = function(i) {
280
- var s = "Warning: " + i;
281
- typeof console < "u" && console.error(s);
282
- try {
283
- throw new Error(s);
284
- } catch {
285
- }
286
- };
287
- }
288
- function o(i, s, u, y, f) {
289
- if (process.env.NODE_ENV !== "production") {
290
- for (var g in i)
291
- if (r(i, g)) {
292
- var h;
293
- try {
294
- if (typeof i[g] != "function") {
295
- var c = Error(
296
- (y || "React class") + ": " + u + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
297
- );
298
- throw c.name = "Invariant Violation", c;
299
- }
300
- h = i[g](s, g, y, u, null, t);
301
- } catch (v) {
302
- h = v;
303
- }
304
- if (h && !(h instanceof Error) && e(
305
- (y || "React class") + ": type specification of " + u + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
306
- ), h instanceof Error && !(h.message in n)) {
307
- n[h.message] = !0;
308
- var b = f ? f() : "";
309
- e(
310
- "Failed " + u + " type: " + h.message + (b ?? "")
311
- );
312
- }
313
- }
314
- }
315
- }
316
- return o.resetWarningCache = function() {
317
- process.env.NODE_ENV !== "production" && (n = {});
318
- }, We = o, We;
319
- }
320
- var ze, it;
321
- function Mt() {
322
- if (it)
323
- return ze;
324
- it = 1;
325
- var e = gt(), t = kt(), n = Fe(), r = ht(), o = jt(), i = function() {
326
- };
327
- process.env.NODE_ENV !== "production" && (i = function(u) {
328
- var y = "Warning: " + u;
329
- typeof console < "u" && console.error(y);
330
- try {
331
- throw new Error(y);
332
- } catch {
333
- }
334
- });
335
- function s() {
336
- return null;
337
- }
338
- return ze = function(u, y) {
339
- var f = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
340
- function h(a) {
341
- var m = a && (f && a[f] || a[g]);
342
- if (typeof m == "function")
343
- return m;
344
- }
345
- var c = "<<anonymous>>", b = {
346
- array: I("array"),
347
- bigint: I("bigint"),
348
- bool: I("boolean"),
349
- func: I("function"),
350
- number: I("number"),
351
- object: I("object"),
352
- string: I("string"),
353
- symbol: I("symbol"),
354
- any: K(),
355
- arrayOf: N,
356
- element: U(),
357
- elementType: p(),
358
- instanceOf: X,
359
- node: Ie(),
360
- objectOf: Ae,
361
- oneOf: Ce,
362
- oneOfType: Re,
363
- shape: ke,
364
- exact: je
365
- };
366
- function v(a, m) {
367
- return a === m ? a !== 0 || 1 / a === 1 / m : a !== a && m !== m;
368
- }
369
- function l(a, m) {
370
- this.message = a, this.data = m && typeof m == "object" ? m : {}, this.stack = "";
371
- }
372
- l.prototype = Error.prototype;
373
- function E(a) {
374
- if (process.env.NODE_ENV !== "production")
375
- var m = {}, $ = 0;
376
- function x(w, T, S, _, R, P, W) {
377
- if (_ = _ || c, P = P || S, W !== n) {
378
- if (y) {
379
- var d = new Error(
380
- "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"
381
- );
382
- throw d.name = "Invariant Violation", d;
383
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
384
- var F = _ + ":" + S;
385
- !m[F] && // Avoid spamming the console because they are often not actionable except for lib authors
386
- $ < 3 && (i(
387
- "You are manually calling a React.PropTypes validation function for the `" + P + "` prop on `" + _ + "`. 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."
388
- ), m[F] = !0, $++);
389
- }
390
- }
391
- return T[S] == null ? w ? T[S] === null ? new l("The " + R + " `" + P + "` is marked as required " + ("in `" + _ + "`, but its value is `null`.")) : new l("The " + R + " `" + P + "` is marked as required in " + ("`" + _ + "`, but its value is `undefined`.")) : null : a(T, S, _, R, P);
392
- }
393
- var O = x.bind(null, !1);
394
- return O.isRequired = x.bind(null, !0), O;
395
- }
396
- function I(a) {
397
- function m($, x, O, w, T, S) {
398
- var _ = $[x], R = q(_);
399
- if (R !== a) {
400
- var P = J(_);
401
- return new l(
402
- "Invalid " + w + " `" + T + "` of type " + ("`" + P + "` supplied to `" + O + "`, expected ") + ("`" + a + "`."),
403
- { expectedType: a }
404
- );
405
- }
406
- return null;
407
- }
408
- return E(m);
409
- }
410
- function K() {
411
- return E(s);
412
- }
413
- function N(a) {
414
- function m($, x, O, w, T) {
415
- if (typeof a != "function")
416
- return new l("Property `" + T + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
417
- var S = $[x];
418
- if (!Array.isArray(S)) {
419
- var _ = q(S);
420
- return new l("Invalid " + w + " `" + T + "` of type " + ("`" + _ + "` supplied to `" + O + "`, expected an array."));
421
- }
422
- for (var R = 0; R < S.length; R++) {
423
- var P = a(S, R, O, w, T + "[" + R + "]", n);
424
- if (P instanceof Error)
425
- return P;
426
- }
427
- return null;
428
- }
429
- return E(m);
430
- }
431
- function U() {
432
- function a(m, $, x, O, w) {
433
- var T = m[$];
434
- if (!u(T)) {
435
- var S = q(T);
436
- return new l("Invalid " + O + " `" + w + "` of type " + ("`" + S + "` supplied to `" + x + "`, expected a single ReactElement."));
437
- }
438
- return null;
439
- }
440
- return E(a);
441
- }
442
- function p() {
443
- function a(m, $, x, O, w) {
444
- var T = m[$];
445
- if (!e.isValidElementType(T)) {
446
- var S = q(T);
447
- return new l("Invalid " + O + " `" + w + "` of type " + ("`" + S + "` supplied to `" + x + "`, expected a single ReactElement type."));
448
- }
449
- return null;
450
- }
451
- return E(a);
452
- }
453
- function X(a) {
454
- function m($, x, O, w, T) {
455
- if (!($[x] instanceof a)) {
456
- var S = a.name || c, _ = De($[x]);
457
- return new l("Invalid " + w + " `" + T + "` of type " + ("`" + _ + "` supplied to `" + O + "`, expected ") + ("instance of `" + S + "`."));
458
- }
459
- return null;
460
- }
461
- return E(m);
462
- }
463
- function Ce(a) {
464
- if (!Array.isArray(a))
465
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
466
- "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])."
467
- ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
468
- function m($, x, O, w, T) {
469
- for (var S = $[x], _ = 0; _ < a.length; _++)
470
- if (v(S, a[_]))
471
- return null;
472
- var R = JSON.stringify(a, function(W, d) {
473
- var F = J(d);
474
- return F === "symbol" ? String(d) : d;
475
- });
476
- return new l("Invalid " + w + " `" + T + "` of value `" + String(S) + "` " + ("supplied to `" + O + "`, expected one of " + R + "."));
477
- }
478
- return E(m);
479
- }
480
- function Ae(a) {
481
- function m($, x, O, w, T) {
482
- if (typeof a != "function")
483
- return new l("Property `" + T + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
484
- var S = $[x], _ = q(S);
485
- if (_ !== "object")
486
- return new l("Invalid " + w + " `" + T + "` of type " + ("`" + _ + "` supplied to `" + O + "`, expected an object."));
487
- for (var R in S)
488
- if (r(S, R)) {
489
- var P = a(S, R, O, w, T + "." + R, n);
490
- if (P instanceof Error)
491
- return P;
492
- }
493
- return null;
494
- }
495
- return E(m);
496
- }
497
- function Re(a) {
498
- if (!Array.isArray(a))
499
- return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
500
- for (var m = 0; m < a.length; m++) {
501
- var $ = a[m];
502
- if (typeof $ != "function")
503
- return i(
504
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ge($) + " at index " + m + "."
505
- ), s;
506
- }
507
- function x(O, w, T, S, _) {
508
- for (var R = [], P = 0; P < a.length; P++) {
509
- var W = a[P], d = W(O, w, T, S, _, n);
510
- if (d == null)
511
- return null;
512
- d.data && r(d.data, "expectedType") && R.push(d.data.expectedType);
513
- }
514
- var F = R.length > 0 ? ", expected one of type [" + R.join(", ") + "]" : "";
515
- return new l("Invalid " + S + " `" + _ + "` supplied to " + ("`" + T + "`" + F + "."));
516
- }
517
- return E(x);
518
- }
519
- function Ie() {
520
- function a(m, $, x, O, w) {
521
- return Q(m[$]) ? null : new l("Invalid " + O + " `" + w + "` supplied to " + ("`" + x + "`, expected a ReactNode."));
522
- }
523
- return E(a);
524
- }
525
- function me(a, m, $, x, O) {
526
- return new l(
527
- (a || "React class") + ": " + m + " type `" + $ + "." + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
528
- );
529
- }
530
- function ke(a) {
531
- function m($, x, O, w, T) {
532
- var S = $[x], _ = q(S);
533
- if (_ !== "object")
534
- return new l("Invalid " + w + " `" + T + "` of type `" + _ + "` " + ("supplied to `" + O + "`, expected `object`."));
535
- for (var R in a) {
536
- var P = a[R];
537
- if (typeof P != "function")
538
- return me(O, w, T, R, J(P));
539
- var W = P(S, R, O, w, T + "." + R, n);
540
- if (W)
541
- return W;
542
- }
543
- return null;
544
- }
545
- return E(m);
546
- }
547
- function je(a) {
548
- function m($, x, O, w, T) {
549
- var S = $[x], _ = q(S);
550
- if (_ !== "object")
551
- return new l("Invalid " + w + " `" + T + "` of type `" + _ + "` " + ("supplied to `" + O + "`, expected `object`."));
552
- var R = t({}, $[x], a);
553
- for (var P in R) {
554
- var W = a[P];
555
- if (r(a, P) && typeof W != "function")
556
- return me(O, w, T, P, J(W));
557
- if (!W)
558
- return new l(
559
- "Invalid " + w + " `" + T + "` key `" + P + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify($[x], null, " ") + `
560
- Valid keys: ` + JSON.stringify(Object.keys(a), null, " ")
561
- );
562
- var d = W(S, P, O, w, T + "." + P, n);
563
- if (d)
564
- return d;
565
- }
566
- return null;
567
- }
568
- return E(m);
569
- }
570
- function Q(a) {
571
- switch (typeof a) {
572
- case "number":
573
- case "string":
574
- case "undefined":
575
- return !0;
576
- case "boolean":
577
- return !a;
578
- case "object":
579
- if (Array.isArray(a))
580
- return a.every(Q);
581
- if (a === null || u(a))
582
- return !0;
583
- var m = h(a);
584
- if (m) {
585
- var $ = m.call(a), x;
586
- if (m !== a.entries) {
587
- for (; !(x = $.next()).done; )
588
- if (!Q(x.value))
589
- return !1;
590
- } else
591
- for (; !(x = $.next()).done; ) {
592
- var O = x.value;
593
- if (O && !Q(O[1]))
594
- return !1;
595
- }
596
- } else
597
- return !1;
598
- return !0;
599
- default:
600
- return !1;
601
- }
602
- }
603
- function Me(a, m) {
604
- return a === "symbol" ? !0 : m ? m["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && m instanceof Symbol : !1;
605
- }
606
- function q(a) {
607
- var m = typeof a;
608
- return Array.isArray(a) ? "array" : a instanceof RegExp ? "object" : Me(m, a) ? "symbol" : m;
609
- }
610
- function J(a) {
611
- if (typeof a > "u" || a === null)
612
- return "" + a;
613
- var m = q(a);
614
- if (m === "object") {
615
- if (a instanceof Date)
616
- return "date";
617
- if (a instanceof RegExp)
618
- return "regexp";
619
- }
620
- return m;
621
- }
622
- function ge(a) {
623
- var m = J(a);
624
- switch (m) {
625
- case "array":
626
- case "object":
627
- return "an " + m;
628
- case "boolean":
629
- case "date":
630
- case "regexp":
631
- return "a " + m;
632
- default:
633
- return m;
634
- }
635
- }
636
- function De(a) {
637
- return !a.constructor || !a.constructor.name ? c : a.constructor.name;
638
- }
639
- return b.checkPropTypes = o, b.resetWarningCache = o.resetWarningCache, b.PropTypes = b, b;
640
- }, ze;
641
- }
642
- var Le, st;
643
- function Dt() {
644
- if (st)
645
- return Le;
646
- st = 1;
647
- var e = Fe();
648
- function t() {
649
- }
650
- function n() {
651
- }
652
- return n.resetWarningCache = t, Le = function() {
653
- function r(s, u, y, f, g, h) {
654
- if (h !== e) {
655
- var c = new Error(
656
- "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"
657
- );
658
- throw c.name = "Invariant Violation", c;
659
- }
660
- }
661
- r.isRequired = r;
662
- function o() {
663
- return r;
664
- }
665
- var i = {
666
- array: r,
667
- bigint: r,
668
- bool: r,
669
- func: r,
670
- number: r,
671
- object: r,
672
- string: r,
673
- symbol: r,
674
- any: r,
675
- arrayOf: o,
676
- element: r,
677
- elementType: r,
678
- instanceOf: o,
679
- node: r,
680
- objectOf: o,
681
- oneOf: o,
682
- oneOfType: o,
683
- shape: o,
684
- exact: o,
685
- checkPropTypes: n,
686
- resetWarningCache: t
687
- };
688
- return i.PropTypes = i, i;
689
- }, Le;
690
- }
691
- if (process.env.NODE_ENV !== "production") {
692
- var Nt = gt(), Bt = !0;
693
- Ke.exports = Mt()(Nt.isElement, Bt);
694
- } else
695
- Ke.exports = Dt()();
696
- var Ut = Ke.exports;
697
- const ue = /* @__PURE__ */ At(Ut);
698
- function D() {
699
- return D = Object.assign ? Object.assign.bind() : function(e) {
700
- for (var t = 1; t < arguments.length; t++) {
701
- var n = arguments[t];
702
- for (var r in n)
703
- Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
704
- }
705
- return e;
706
- }, D.apply(this, arguments);
707
- }
708
- function ce(e, t) {
709
- if (e == null)
710
- return {};
711
- var n = {}, r = Object.keys(e), o, i;
712
- for (i = 0; i < r.length; i++)
713
- o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
714
- return n;
715
- }
716
- function ie(e) {
717
- if (typeof e != "object" || e === null)
718
- return !1;
719
- const t = Object.getPrototypeOf(e);
720
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
721
- }
722
- function bt(e) {
723
- if (!ie(e))
724
- return e;
725
- const t = {};
726
- return Object.keys(e).forEach((n) => {
727
- t[n] = bt(e[n]);
728
- }), t;
729
- }
730
- function G(e, t, n = {
731
- clone: !0
732
- }) {
733
- const r = n.clone ? D({}, e) : e;
734
- return ie(e) && ie(t) && Object.keys(t).forEach((o) => {
735
- o !== "__proto__" && (ie(t[o]) && o in e && ie(e[o]) ? r[o] = G(e[o], t[o], n) : n.clone ? r[o] = ie(t[o]) ? bt(t[o]) : t[o] : r[o] = t[o]);
736
- }), r;
737
- }
738
- const Wt = ["values", "unit", "step"], zt = (e) => {
739
- const t = Object.keys(e).map((n) => ({
740
- key: n,
741
- val: e[n]
742
- })) || [];
743
- return t.sort((n, r) => n.val - r.val), t.reduce((n, r) => D({}, n, {
744
- [r.key]: r.val
745
- }), {});
746
- };
747
- function Lt(e) {
748
- const {
749
- // The breakpoint **start** at this value.
750
- // For instance with the first breakpoint xs: [xs, sm).
751
- values: t = {
752
- xs: 0,
753
- // phone
754
- sm: 600,
755
- // tablet
756
- md: 900,
757
- // small laptop
758
- lg: 1200,
759
- // desktop
760
- xl: 1536
761
- // large screen
762
- },
763
- unit: n = "px",
764
- step: r = 5
765
- } = e, o = ce(e, Wt), i = zt(t), s = Object.keys(i);
766
- function u(c) {
767
- return `@media (min-width:${typeof t[c] == "number" ? t[c] : c}${n})`;
768
- }
769
- function y(c) {
770
- return `@media (max-width:${(typeof t[c] == "number" ? t[c] : c) - r / 100}${n})`;
771
- }
772
- function f(c, b) {
773
- const v = s.indexOf(b);
774
- return `@media (min-width:${typeof t[c] == "number" ? t[c] : c}${n}) and (max-width:${(v !== -1 && typeof t[s[v]] == "number" ? t[s[v]] : b) - r / 100}${n})`;
775
- }
776
- function g(c) {
777
- return s.indexOf(c) + 1 < s.length ? f(c, s[s.indexOf(c) + 1]) : u(c);
778
- }
779
- function h(c) {
780
- const b = s.indexOf(c);
781
- return b === 0 ? u(s[1]) : b === s.length - 1 ? y(s[b]) : f(c, s[s.indexOf(c) + 1]).replace("@media", "@media not all and");
782
- }
783
- return D({
784
- keys: s,
785
- values: i,
786
- up: u,
787
- down: y,
788
- between: f,
789
- only: g,
790
- not: h,
791
- unit: n
792
- }, o);
793
- }
794
- const Yt = {
795
- borderRadius: 4
796
- }, Kt = Yt, qt = process.env.NODE_ENV !== "production" ? ue.oneOfType([ue.number, ue.string, ue.object, ue.array]) : {}, H = qt;
797
- function le(e, t) {
798
- return t ? G(e, t, {
799
- clone: !1
800
- // No need to clone deep, it's way faster.
801
- }) : e;
802
- }
803
- const Ge = {
804
- xs: 0,
805
- // phone
806
- sm: 600,
807
- // tablet
808
- md: 900,
809
- // small laptop
810
- lg: 1200,
811
- // desktop
812
- xl: 1536
813
- // large screen
814
- }, at = {
815
- // Sorted ASC by size. That's important.
816
- // It can't be configured as it's used statically for propTypes.
817
- keys: ["xs", "sm", "md", "lg", "xl"],
818
- up: (e) => `@media (min-width:${Ge[e]}px)`
819
- };
820
- function V(e, t, n) {
821
- const r = e.theme || {};
822
- if (Array.isArray(t)) {
823
- const i = r.breakpoints || at;
824
- return t.reduce((s, u, y) => (s[i.up(i.keys[y])] = n(t[y]), s), {});
825
- }
826
- if (typeof t == "object") {
827
- const i = r.breakpoints || at;
828
- return Object.keys(t).reduce((s, u) => {
829
- if (Object.keys(i.values || Ge).indexOf(u) !== -1) {
830
- const y = i.up(u);
831
- s[y] = n(t[u], u);
832
- } else {
833
- const y = u;
834
- s[y] = t[y];
835
- }
836
- return s;
837
- }, {});
838
- }
839
- return n(t);
840
- }
841
- function Ft(e = {}) {
842
- var t;
843
- return ((t = e.keys) == null ? void 0 : t.reduce((r, o) => {
844
- const i = e.up(o);
845
- return r[i] = {}, r;
846
- }, {})) || {};
847
- }
848
- function Gt(e, t) {
849
- return e.reduce((n, r) => {
850
- const o = n[r];
851
- return (!o || Object.keys(o).length === 0) && delete n[r], n;
852
- }, t);
853
- }
854
- function vt(e) {
855
- if (typeof e != "string")
856
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : ae(7));
857
- return e.charAt(0).toUpperCase() + e.slice(1);
858
- }
859
- function Oe(e, t, n = !0) {
860
- if (!t || typeof t != "string")
861
- return null;
862
- if (e && e.vars && n) {
863
- const r = `vars.${t}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
864
- if (r != null)
865
- return r;
866
- }
867
- return t.split(".").reduce((r, o) => r && r[o] != null ? r[o] : null, e);
868
- }
869
- function ve(e, t, n, r = n) {
870
- let o;
871
- return typeof e == "function" ? o = e(n) : Array.isArray(e) ? o = e[n] || r : o = Oe(e, n) || r, t && (o = t(o, r, e)), o;
872
- }
873
- function B(e) {
874
- const {
875
- prop: t,
876
- cssProperty: n = e.prop,
877
- themeKey: r,
878
- transform: o
879
- } = e, i = (s) => {
880
- if (s[t] == null)
881
- return null;
882
- const u = s[t], y = s.theme, f = Oe(y, r) || {};
883
- return V(s, u, (h) => {
884
- let c = ve(f, o, h);
885
- return h === c && typeof h == "string" && (c = ve(f, o, `${t}${h === "default" ? "" : vt(h)}`, h)), n === !1 ? c : {
886
- [n]: c
887
- };
888
- });
889
- };
890
- return i.propTypes = process.env.NODE_ENV !== "production" ? {
891
- [t]: H
892
- } : {}, i.filterProps = [t], i;
893
- }
894
- function Vt(e) {
895
- const t = {};
896
- return (n) => (t[n] === void 0 && (t[n] = e(n)), t[n]);
897
- }
898
- const Ht = {
899
- m: "margin",
900
- p: "padding"
901
- }, Xt = {
902
- t: "Top",
903
- r: "Right",
904
- b: "Bottom",
905
- l: "Left",
906
- x: ["Left", "Right"],
907
- y: ["Top", "Bottom"]
908
- }, ct = {
909
- marginX: "mx",
910
- marginY: "my",
911
- paddingX: "px",
912
- paddingY: "py"
913
- }, Jt = Vt((e) => {
914
- if (e.length > 2)
915
- if (ct[e])
916
- e = ct[e];
917
- else
918
- return [e];
919
- const [t, n] = e.split(""), r = Ht[t], o = Xt[n] || "";
920
- return Array.isArray(o) ? o.map((i) => r + i) : [r + o];
921
- }), Te = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ee = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Zt = [...Te, ...Ee];
922
- function pe(e, t, n, r) {
923
- var o;
924
- const i = (o = Oe(e, t, !1)) != null ? o : n;
925
- return typeof i == "number" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${r} 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(`
926
- `)) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
927
- `))), i[s]) : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(`
928
- `)), () => {
929
- });
930
- }
931
- function Ot(e) {
932
- return pe(e, "spacing", 8, "spacing");
933
- }
934
- function ye(e, t) {
935
- if (typeof t == "string" || t == null)
936
- return t;
937
- const n = Math.abs(t), r = e(n);
938
- return t >= 0 ? r : typeof r == "number" ? -r : `-${r}`;
939
- }
940
- function Qt(e, t) {
941
- return (n) => e.reduce((r, o) => (r[o] = ye(t, n), r), {});
942
- }
943
- function er(e, t, n, r) {
944
- if (t.indexOf(n) === -1)
945
- return null;
946
- const o = Jt(n), i = Qt(o, r), s = e[n];
947
- return V(e, s, i);
948
- }
949
- function Tt(e, t) {
950
- const n = Ot(e.theme);
951
- return Object.keys(e).map((r) => er(e, t, r, n)).reduce(le, {});
952
- }
953
- function j(e) {
954
- return Tt(e, Te);
955
- }
956
- j.propTypes = process.env.NODE_ENV !== "production" ? Te.reduce((e, t) => (e[t] = H, e), {}) : {};
957
- j.filterProps = Te;
958
- function M(e) {
959
- return Tt(e, Ee);
960
- }
961
- M.propTypes = process.env.NODE_ENV !== "production" ? Ee.reduce((e, t) => (e[t] = H, e), {}) : {};
962
- M.filterProps = Ee;
963
- process.env.NODE_ENV !== "production" && Zt.reduce((e, t) => (e[t] = H, e), {});
964
- function tr(e = 8) {
965
- if (e.mui)
966
- return e;
967
- const t = Ot({
968
- spacing: e
969
- }), n = (...r) => (process.env.NODE_ENV !== "production" && (r.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)), (r.length === 0 ? [1] : r).map((i) => {
970
- const s = t(i);
971
- return typeof s == "number" ? `${s}px` : s;
972
- }).join(" "));
973
- return n.mui = !0, n;
974
- }
975
- function xe(...e) {
976
- const t = e.reduce((r, o) => (o.filterProps.forEach((i) => {
977
- r[i] = o;
978
- }), r), {}), n = (r) => Object.keys(r).reduce((o, i) => t[i] ? le(o, t[i](r)) : o, {});
979
- return n.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((r, o) => Object.assign(r, o.propTypes), {}) : {}, n.filterProps = e.reduce((r, o) => r.concat(o.filterProps), []), n;
980
- }
981
- function L(e) {
982
- return typeof e != "number" ? e : `${e}px solid`;
983
- }
984
- function Y(e, t) {
985
- return B({
986
- prop: e,
987
- themeKey: "borders",
988
- transform: t
989
- });
990
- }
991
- const rr = Y("border", L), nr = Y("borderTop", L), or = Y("borderRight", L), ir = Y("borderBottom", L), sr = Y("borderLeft", L), ar = Y("borderColor"), cr = Y("borderTopColor"), ur = Y("borderRightColor"), fr = Y("borderBottomColor"), lr = Y("borderLeftColor"), dr = Y("outline", L), pr = Y("outlineColor"), Se = (e) => {
992
- if (e.borderRadius !== void 0 && e.borderRadius !== null) {
993
- const t = pe(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({
994
- borderRadius: ye(t, r)
995
- });
996
- return V(e, e.borderRadius, n);
997
- }
998
- return null;
999
- };
1000
- Se.propTypes = process.env.NODE_ENV !== "production" ? {
1001
- borderRadius: H
1002
- } : {};
1003
- Se.filterProps = ["borderRadius"];
1004
- xe(rr, nr, or, ir, sr, ar, cr, ur, fr, lr, Se, dr, pr);
1005
- const $e = (e) => {
1006
- if (e.gap !== void 0 && e.gap !== null) {
1007
- const t = pe(e.theme, "spacing", 8, "gap"), n = (r) => ({
1008
- gap: ye(t, r)
1009
- });
1010
- return V(e, e.gap, n);
1011
- }
1012
- return null;
1013
- };
1014
- $e.propTypes = process.env.NODE_ENV !== "production" ? {
1015
- gap: H
1016
- } : {};
1017
- $e.filterProps = ["gap"];
1018
- const we = (e) => {
1019
- if (e.columnGap !== void 0 && e.columnGap !== null) {
1020
- const t = pe(e.theme, "spacing", 8, "columnGap"), n = (r) => ({
1021
- columnGap: ye(t, r)
1022
- });
1023
- return V(e, e.columnGap, n);
1024
- }
1025
- return null;
1026
- };
1027
- we.propTypes = process.env.NODE_ENV !== "production" ? {
1028
- columnGap: H
1029
- } : {};
1030
- we.filterProps = ["columnGap"];
1031
- const _e = (e) => {
1032
- if (e.rowGap !== void 0 && e.rowGap !== null) {
1033
- const t = pe(e.theme, "spacing", 8, "rowGap"), n = (r) => ({
1034
- rowGap: ye(t, r)
1035
- });
1036
- return V(e, e.rowGap, n);
1037
- }
1038
- return null;
1039
- };
1040
- _e.propTypes = process.env.NODE_ENV !== "production" ? {
1041
- rowGap: H
1042
- } : {};
1043
- _e.filterProps = ["rowGap"];
1044
- const yr = B({
1045
- prop: "gridColumn"
1046
- }), mr = B({
1047
- prop: "gridRow"
1048
- }), gr = B({
1049
- prop: "gridAutoFlow"
1050
- }), hr = B({
1051
- prop: "gridAutoColumns"
1052
- }), br = B({
1053
- prop: "gridAutoRows"
1054
- }), vr = B({
1055
- prop: "gridTemplateColumns"
1056
- }), Or = B({
1057
- prop: "gridTemplateRows"
1058
- }), Tr = B({
1059
- prop: "gridTemplateAreas"
1060
- }), Er = B({
1061
- prop: "gridArea"
1062
- });
1063
- xe($e, we, _e, yr, mr, gr, hr, br, vr, Or, Tr, Er);
1064
- function se(e, t) {
1065
- return t === "grey" ? t : e;
1066
- }
1067
- const xr = B({
1068
- prop: "color",
1069
- themeKey: "palette",
1070
- transform: se
1071
- }), Sr = B({
1072
- prop: "bgcolor",
1073
- cssProperty: "backgroundColor",
1074
- themeKey: "palette",
1075
- transform: se
1076
- }), $r = B({
1077
- prop: "backgroundColor",
1078
- themeKey: "palette",
1079
- transform: se
1080
- });
1081
- xe(xr, Sr, $r);
1082
- function z(e) {
1083
- return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1084
- }
1085
- const wr = B({
1086
- prop: "width",
1087
- transform: z
1088
- }), Ve = (e) => {
1089
- if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1090
- const t = (n) => {
1091
- var r, o;
1092
- const i = ((r = e.theme) == null || (r = r.breakpoints) == null || (r = r.values) == null ? void 0 : r[n]) || Ge[n];
1093
- return i ? ((o = e.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? {
1094
- maxWidth: `${i}${e.theme.breakpoints.unit}`
1095
- } : {
1096
- maxWidth: i
1097
- } : {
1098
- maxWidth: z(n)
1099
- };
1100
- };
1101
- return V(e, e.maxWidth, t);
1102
- }
1103
- return null;
1104
- };
1105
- Ve.filterProps = ["maxWidth"];
1106
- const _r = B({
1107
- prop: "minWidth",
1108
- transform: z
1109
- }), Pr = B({
1110
- prop: "height",
1111
- transform: z
1112
- }), Cr = B({
1113
- prop: "maxHeight",
1114
- transform: z
1115
- }), Ar = B({
1116
- prop: "minHeight",
1117
- transform: z
1118
- });
1119
- B({
1120
- prop: "size",
1121
- cssProperty: "width",
1122
- transform: z
1123
- });
1124
- B({
1125
- prop: "size",
1126
- cssProperty: "height",
1127
- transform: z
1128
- });
1129
- const Rr = B({
1130
- prop: "boxSizing"
1131
- });
1132
- xe(wr, Ve, _r, Pr, Cr, Ar, Rr);
1133
- const Ir = {
1134
- // borders
1135
- border: {
1136
- themeKey: "borders",
1137
- transform: L
1138
- },
1139
- borderTop: {
1140
- themeKey: "borders",
1141
- transform: L
1142
- },
1143
- borderRight: {
1144
- themeKey: "borders",
1145
- transform: L
1146
- },
1147
- borderBottom: {
1148
- themeKey: "borders",
1149
- transform: L
1150
- },
1151
- borderLeft: {
1152
- themeKey: "borders",
1153
- transform: L
1154
- },
1155
- borderColor: {
1156
- themeKey: "palette"
1157
- },
1158
- borderTopColor: {
1159
- themeKey: "palette"
1160
- },
1161
- borderRightColor: {
1162
- themeKey: "palette"
1163
- },
1164
- borderBottomColor: {
1165
- themeKey: "palette"
1166
- },
1167
- borderLeftColor: {
1168
- themeKey: "palette"
1169
- },
1170
- outline: {
1171
- themeKey: "borders",
1172
- transform: L
1173
- },
1174
- outlineColor: {
1175
- themeKey: "palette"
1176
- },
1177
- borderRadius: {
1178
- themeKey: "shape.borderRadius",
1179
- style: Se
1180
- },
1181
- // palette
1182
- color: {
1183
- themeKey: "palette",
1184
- transform: se
1185
- },
1186
- bgcolor: {
1187
- themeKey: "palette",
1188
- cssProperty: "backgroundColor",
1189
- transform: se
1190
- },
1191
- backgroundColor: {
1192
- themeKey: "palette",
1193
- transform: se
1194
- },
1195
- // spacing
1196
- p: {
1197
- style: M
1198
- },
1199
- pt: {
1200
- style: M
1201
- },
1202
- pr: {
1203
- style: M
1204
- },
1205
- pb: {
1206
- style: M
1207
- },
1208
- pl: {
1209
- style: M
1210
- },
1211
- px: {
1212
- style: M
1213
- },
1214
- py: {
1215
- style: M
1216
- },
1217
- padding: {
1218
- style: M
1219
- },
1220
- paddingTop: {
1221
- style: M
1222
- },
1223
- paddingRight: {
1224
- style: M
1225
- },
1226
- paddingBottom: {
1227
- style: M
1228
- },
1229
- paddingLeft: {
1230
- style: M
1231
- },
1232
- paddingX: {
1233
- style: M
1234
- },
1235
- paddingY: {
1236
- style: M
1237
- },
1238
- paddingInline: {
1239
- style: M
1240
- },
1241
- paddingInlineStart: {
1242
- style: M
1243
- },
1244
- paddingInlineEnd: {
1245
- style: M
1246
- },
1247
- paddingBlock: {
1248
- style: M
1249
- },
1250
- paddingBlockStart: {
1251
- style: M
1252
- },
1253
- paddingBlockEnd: {
1254
- style: M
1255
- },
1256
- m: {
1257
- style: j
1258
- },
1259
- mt: {
1260
- style: j
1261
- },
1262
- mr: {
1263
- style: j
1264
- },
1265
- mb: {
1266
- style: j
1267
- },
1268
- ml: {
1269
- style: j
1270
- },
1271
- mx: {
1272
- style: j
1273
- },
1274
- my: {
1275
- style: j
1276
- },
1277
- margin: {
1278
- style: j
1279
- },
1280
- marginTop: {
1281
- style: j
1282
- },
1283
- marginRight: {
1284
- style: j
1285
- },
1286
- marginBottom: {
1287
- style: j
1288
- },
1289
- marginLeft: {
1290
- style: j
1291
- },
1292
- marginX: {
1293
- style: j
1294
- },
1295
- marginY: {
1296
- style: j
1297
- },
1298
- marginInline: {
1299
- style: j
1300
- },
1301
- marginInlineStart: {
1302
- style: j
1303
- },
1304
- marginInlineEnd: {
1305
- style: j
1306
- },
1307
- marginBlock: {
1308
- style: j
1309
- },
1310
- marginBlockStart: {
1311
- style: j
1312
- },
1313
- marginBlockEnd: {
1314
- style: j
1315
- },
1316
- // display
1317
- displayPrint: {
1318
- cssProperty: !1,
1319
- transform: (e) => ({
1320
- "@media print": {
1321
- display: e
1322
- }
1323
- })
1324
- },
1325
- display: {},
1326
- overflow: {},
1327
- textOverflow: {},
1328
- visibility: {},
1329
- whiteSpace: {},
1330
- // flexbox
1331
- flexBasis: {},
1332
- flexDirection: {},
1333
- flexWrap: {},
1334
- justifyContent: {},
1335
- alignItems: {},
1336
- alignContent: {},
1337
- order: {},
1338
- flex: {},
1339
- flexGrow: {},
1340
- flexShrink: {},
1341
- alignSelf: {},
1342
- justifyItems: {},
1343
- justifySelf: {},
1344
- // grid
1345
- gap: {
1346
- style: $e
1347
- },
1348
- rowGap: {
1349
- style: _e
1350
- },
1351
- columnGap: {
1352
- style: we
1353
- },
1354
- gridColumn: {},
1355
- gridRow: {},
1356
- gridAutoFlow: {},
1357
- gridAutoColumns: {},
1358
- gridAutoRows: {},
1359
- gridTemplateColumns: {},
1360
- gridTemplateRows: {},
1361
- gridTemplateAreas: {},
1362
- gridArea: {},
1363
- // positions
1364
- position: {},
1365
- zIndex: {
1366
- themeKey: "zIndex"
1367
- },
1368
- top: {},
1369
- right: {},
1370
- bottom: {},
1371
- left: {},
1372
- // shadows
1373
- boxShadow: {
1374
- themeKey: "shadows"
1375
- },
1376
- // sizing
1377
- width: {
1378
- transform: z
1379
- },
1380
- maxWidth: {
1381
- style: Ve
1382
- },
1383
- minWidth: {
1384
- transform: z
1385
- },
1386
- height: {
1387
- transform: z
1388
- },
1389
- maxHeight: {
1390
- transform: z
1391
- },
1392
- minHeight: {
1393
- transform: z
1394
- },
1395
- boxSizing: {},
1396
- // typography
1397
- fontFamily: {
1398
- themeKey: "typography"
1399
- },
1400
- fontSize: {
1401
- themeKey: "typography"
1402
- },
1403
- fontStyle: {
1404
- themeKey: "typography"
1405
- },
1406
- fontWeight: {
1407
- themeKey: "typography"
1408
- },
1409
- letterSpacing: {},
1410
- textTransform: {},
1411
- lineHeight: {},
1412
- textAlign: {},
1413
- typography: {
1414
- cssProperty: !1,
1415
- themeKey: "typography"
1416
- }
1417
- }, He = Ir;
1418
- function kr(...e) {
1419
- const t = e.reduce((r, o) => r.concat(Object.keys(o)), []), n = new Set(t);
1420
- return e.every((r) => n.size === Object.keys(r).length);
1421
- }
1422
- function jr(e, t) {
1423
- return typeof e == "function" ? e(t) : e;
1424
- }
1425
- function Mr() {
1426
- function e(n, r, o, i) {
1427
- const s = {
1428
- [n]: r,
1429
- theme: o
1430
- }, u = i[n];
1431
- if (!u)
1432
- return {
1433
- [n]: r
1434
- };
1435
- const {
1436
- cssProperty: y = n,
1437
- themeKey: f,
1438
- transform: g,
1439
- style: h
1440
- } = u;
1441
- if (r == null)
1442
- return null;
1443
- if (f === "typography" && r === "inherit")
1444
- return {
1445
- [n]: r
1446
- };
1447
- const c = Oe(o, f) || {};
1448
- return h ? h(s) : V(s, r, (v) => {
1449
- let l = ve(c, g, v);
1450
- return v === l && typeof v == "string" && (l = ve(c, g, `${n}${v === "default" ? "" : vt(v)}`, v)), y === !1 ? l : {
1451
- [y]: l
1452
- };
1453
- });
1454
- }
1455
- function t(n) {
1456
- var r;
1457
- const {
1458
- sx: o,
1459
- theme: i = {}
1460
- } = n || {};
1461
- if (!o)
1462
- return null;
1463
- const s = (r = i.unstable_sxConfig) != null ? r : He;
1464
- function u(y) {
1465
- let f = y;
1466
- if (typeof y == "function")
1467
- f = y(i);
1468
- else if (typeof y != "object")
1469
- return y;
1470
- if (!f)
1471
- return null;
1472
- const g = Ft(i.breakpoints), h = Object.keys(g);
1473
- let c = g;
1474
- return Object.keys(f).forEach((b) => {
1475
- const v = jr(f[b], i);
1476
- if (v != null)
1477
- if (typeof v == "object")
1478
- if (s[b])
1479
- c = le(c, e(b, v, i, s));
1480
- else {
1481
- const l = V({
1482
- theme: i
1483
- }, v, (E) => ({
1484
- [b]: E
1485
- }));
1486
- kr(l, v) ? c[b] = t({
1487
- sx: v,
1488
- theme: i
1489
- }) : c = le(c, l);
1490
- }
1491
- else
1492
- c = le(c, e(b, v, i, s));
1493
- }), Gt(h, c);
1494
- }
1495
- return Array.isArray(o) ? o.map(u) : u(o);
1496
- }
1497
- return t;
1498
- }
1499
- const Et = Mr();
1500
- Et.filterProps = ["sx"];
1501
- const xt = Et;
1502
- function Dr(e, t) {
1503
- const n = this;
1504
- return n.vars && typeof n.getColorSchemeSelector == "function" ? {
1505
- [n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/, "*:where($1)")]: t
1506
- } : n.palette.mode === e ? t : {};
1507
- }
1508
- const Nr = ["breakpoints", "palette", "spacing", "shape"];
1509
- function St(e = {}, ...t) {
1510
- const {
1511
- breakpoints: n = {},
1512
- palette: r = {},
1513
- spacing: o,
1514
- shape: i = {}
1515
- } = e, s = ce(e, Nr), u = Lt(n), y = tr(o);
1516
- let f = G({
1517
- breakpoints: u,
1518
- direction: "ltr",
1519
- components: {},
1520
- // Inject component definitions.
1521
- palette: D({
1522
- mode: "light"
1523
- }, r),
1524
- spacing: y,
1525
- shape: D({}, Kt, i)
1526
- }, s);
1527
- return f.applyStyles = Dr, f = t.reduce((g, h) => G(g, h), f), f.unstable_sxConfig = D({}, He, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(h) {
1528
- return xt({
1529
- sx: h,
1530
- theme: this
1531
- });
1532
- }, f;
1533
- }
1534
- function Br(e) {
1535
- return Object.keys(e).length === 0;
1536
- }
1537
- function Ur(e = null) {
1538
- const t = Pt.useContext(Ct);
1539
- return !t || Br(t) ? e : t;
1540
- }
1541
- const Wr = St();
1542
- function zr(e = Wr) {
1543
- return Ur(e);
1544
- }
1545
- const ut = (e) => e, Lr = () => {
1546
- let e = ut;
1547
- return {
1548
- configure(t) {
1549
- e = t;
1550
- },
1551
- generate(t) {
1552
- return e(t);
1553
- },
1554
- reset() {
1555
- e = ut;
1556
- }
1557
- };
1558
- }, Yr = Lr(), Kr = Yr, qr = {
1559
- active: "active",
1560
- checked: "checked",
1561
- completed: "completed",
1562
- disabled: "disabled",
1563
- error: "error",
1564
- expanded: "expanded",
1565
- focused: "focused",
1566
- focusVisible: "focusVisible",
1567
- open: "open",
1568
- readOnly: "readOnly",
1569
- required: "required",
1570
- selected: "selected"
1571
- };
1572
- function Fr(e, t, n = "Mui") {
1573
- const r = qr[t];
1574
- return r ? `${n}-${r}` : `${Kr.generate(e)}-${t}`;
1575
- }
1576
- function $t(e, t) {
1577
- const n = D({}, t);
1578
- return Object.keys(e).forEach((r) => {
1579
- if (r.toString().match(/^(components|slots)$/))
1580
- n[r] = D({}, e[r], n[r]);
1581
- else if (r.toString().match(/^(componentsProps|slotProps)$/)) {
1582
- const o = e[r] || {}, i = t[r];
1583
- n[r] = {}, !i || !Object.keys(i) ? n[r] = o : !o || !Object.keys(o) ? n[r] = i : (n[r] = D({}, i), Object.keys(o).forEach((s) => {
1584
- n[r][s] = $t(o[s], i[s]);
1585
- }));
1586
- } else
1587
- n[r] === void 0 && (n[r] = e[r]);
1588
- }), n;
1589
- }
1590
- function Gr(e) {
1591
- const {
1592
- theme: t,
1593
- name: n,
1594
- props: r
1595
- } = e;
1596
- return !t || !t.components || !t.components[n] || !t.components[n].defaultProps ? r : $t(t.components[n].defaultProps, r);
1597
- }
1598
- function Vr({
1599
- props: e,
1600
- name: t,
1601
- defaultTheme: n,
1602
- themeId: r
1603
- }) {
1604
- let o = zr(n);
1605
- return r && (o = o[r] || o), Gr({
1606
- theme: o,
1607
- name: t,
1608
- props: e
1609
- });
1610
- }
1611
- function Hr(e, t = Number.MIN_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER) {
1612
- return Math.max(t, Math.min(e, n));
1613
- }
1614
- function Xe(e, t = 0, n = 1) {
1615
- return process.env.NODE_ENV !== "production" && (e < t || e > n) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`), Hr(e, t, n);
1616
- }
1617
- function Xr(e) {
1618
- e = e.slice(1);
1619
- const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
1620
- let n = e.match(t);
1621
- return n && n[0].length === 1 && (n = n.map((r) => r + r)), n ? `rgb${n.length === 4 ? "a" : ""}(${n.map((r, o) => o < 3 ? parseInt(r, 16) : Math.round(parseInt(r, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
1622
- }
1623
- function Z(e) {
1624
- if (e.type)
1625
- return e;
1626
- if (e.charAt(0) === "#")
1627
- return Z(Xr(e));
1628
- const t = e.indexOf("("), n = e.substring(0, t);
1629
- if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(n) === -1)
1630
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
1631
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : ae(9, e));
1632
- let r = e.substring(t + 1, e.length - 1), o;
1633
- if (n === "color") {
1634
- if (r = r.split(" "), o = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(o) === -1)
1635
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
1636
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : ae(10, o));
1637
- } else
1638
- r = r.split(",");
1639
- return r = r.map((i) => parseFloat(i)), {
1640
- type: n,
1641
- values: r,
1642
- colorSpace: o
1643
- };
1644
- }
1645
- function Pe(e) {
1646
- const {
1647
- type: t,
1648
- colorSpace: n
1649
- } = e;
1650
- let {
1651
- values: r
1652
- } = e;
1653
- return t.indexOf("rgb") !== -1 ? r = r.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.indexOf("hsl") !== -1 && (r[1] = `${r[1]}%`, r[2] = `${r[2]}%`), t.indexOf("color") !== -1 ? r = `${n} ${r.join(" ")}` : r = `${r.join(", ")}`, `${t}(${r})`;
1654
- }
1655
- function Jr(e) {
1656
- e = Z(e);
1657
- const {
1658
- values: t
1659
- } = e, n = t[0], r = t[1] / 100, o = t[2] / 100, i = r * Math.min(o, 1 - o), s = (f, g = (f + n / 30) % 12) => o - i * Math.max(Math.min(g - 3, 9 - g, 1), -1);
1660
- let u = "rgb";
1661
- const y = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
1662
- return e.type === "hsla" && (u += "a", y.push(t[3])), Pe({
1663
- type: u,
1664
- values: y
1665
- });
1666
- }
1667
- function qe(e) {
1668
- e = Z(e);
1669
- let t = e.type === "hsl" || e.type === "hsla" ? Z(Jr(e)).values : e.values;
1670
- return t = t.map((n) => (e.type !== "color" && (n /= 255), n <= 0.03928 ? n / 12.92 : ((n + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
1671
- }
1672
- function ft(e, t) {
1673
- const n = qe(e), r = qe(t);
1674
- return (Math.max(n, r) + 0.05) / (Math.min(n, r) + 0.05);
1675
- }
1676
- function Un(e, t) {
1677
- return e = Z(e), t = Xe(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Pe(e);
1678
- }
1679
- function wt(e, t) {
1680
- if (e = Z(e), t = Xe(t), e.type.indexOf("hsl") !== -1)
1681
- e.values[2] *= 1 - t;
1682
- else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
1683
- for (let n = 0; n < 3; n += 1)
1684
- e.values[n] *= 1 - t;
1685
- return Pe(e);
1686
- }
1687
- function _t(e, t) {
1688
- if (e = Z(e), t = Xe(t), e.type.indexOf("hsl") !== -1)
1689
- e.values[2] += (100 - e.values[2]) * t;
1690
- else if (e.type.indexOf("rgb") !== -1)
1691
- for (let n = 0; n < 3; n += 1)
1692
- e.values[n] += (255 - e.values[n]) * t;
1693
- else if (e.type.indexOf("color") !== -1)
1694
- for (let n = 0; n < 3; n += 1)
1695
- e.values[n] += (1 - e.values[n]) * t;
1696
- return Pe(e);
1697
- }
1698
- function Wn(e, t = 0.15) {
1699
- return qe(e) > 0.5 ? wt(e, t) : _t(e, t);
1700
- }
1701
- const Zr = "$$material";
1702
- function Qr(e, t) {
1703
- return D({
1704
- toolbar: {
1705
- minHeight: 56,
1706
- [e.up("xs")]: {
1707
- "@media (orientation: landscape)": {
1708
- minHeight: 48
1709
- }
1710
- },
1711
- [e.up("sm")]: {
1712
- minHeight: 64
1713
- }
1714
- }
1715
- }, t);
1716
- }
1717
- const en = {
1718
- black: "#000",
1719
- white: "#fff"
1720
- }, de = en, tn = {
1721
- 50: "#fafafa",
1722
- 100: "#f5f5f5",
1723
- 200: "#eeeeee",
1724
- 300: "#e0e0e0",
1725
- 400: "#bdbdbd",
1726
- 500: "#9e9e9e",
1727
- 600: "#757575",
1728
- 700: "#616161",
1729
- 800: "#424242",
1730
- 900: "#212121",
1731
- A100: "#f5f5f5",
1732
- A200: "#eeeeee",
1733
- A400: "#bdbdbd",
1734
- A700: "#616161"
1735
- }, rn = tn, nn = {
1736
- 50: "#f3e5f5",
1737
- 100: "#e1bee7",
1738
- 200: "#ce93d8",
1739
- 300: "#ba68c8",
1740
- 400: "#ab47bc",
1741
- 500: "#9c27b0",
1742
- 600: "#8e24aa",
1743
- 700: "#7b1fa2",
1744
- 800: "#6a1b9a",
1745
- 900: "#4a148c",
1746
- A100: "#ea80fc",
1747
- A200: "#e040fb",
1748
- A400: "#d500f9",
1749
- A700: "#aa00ff"
1750
- }, ee = nn, on = {
1751
- 50: "#ffebee",
1752
- 100: "#ffcdd2",
1753
- 200: "#ef9a9a",
1754
- 300: "#e57373",
1755
- 400: "#ef5350",
1756
- 500: "#f44336",
1757
- 600: "#e53935",
1758
- 700: "#d32f2f",
1759
- 800: "#c62828",
1760
- 900: "#b71c1c",
1761
- A100: "#ff8a80",
1762
- A200: "#ff5252",
1763
- A400: "#ff1744",
1764
- A700: "#d50000"
1765
- }, te = on, sn = {
1766
- 50: "#fff3e0",
1767
- 100: "#ffe0b2",
1768
- 200: "#ffcc80",
1769
- 300: "#ffb74d",
1770
- 400: "#ffa726",
1771
- 500: "#ff9800",
1772
- 600: "#fb8c00",
1773
- 700: "#f57c00",
1774
- 800: "#ef6c00",
1775
- 900: "#e65100",
1776
- A100: "#ffd180",
1777
- A200: "#ffab40",
1778
- A400: "#ff9100",
1779
- A700: "#ff6d00"
1780
- }, fe = sn, an = {
1781
- 50: "#e3f2fd",
1782
- 100: "#bbdefb",
1783
- 200: "#90caf9",
1784
- 300: "#64b5f6",
1785
- 400: "#42a5f5",
1786
- 500: "#2196f3",
1787
- 600: "#1e88e5",
1788
- 700: "#1976d2",
1789
- 800: "#1565c0",
1790
- 900: "#0d47a1",
1791
- A100: "#82b1ff",
1792
- A200: "#448aff",
1793
- A400: "#2979ff",
1794
- A700: "#2962ff"
1795
- }, re = an, cn = {
1796
- 50: "#e1f5fe",
1797
- 100: "#b3e5fc",
1798
- 200: "#81d4fa",
1799
- 300: "#4fc3f7",
1800
- 400: "#29b6f6",
1801
- 500: "#03a9f4",
1802
- 600: "#039be5",
1803
- 700: "#0288d1",
1804
- 800: "#0277bd",
1805
- 900: "#01579b",
1806
- A100: "#80d8ff",
1807
- A200: "#40c4ff",
1808
- A400: "#00b0ff",
1809
- A700: "#0091ea"
1810
- }, ne = cn, un = {
1811
- 50: "#e8f5e9",
1812
- 100: "#c8e6c9",
1813
- 200: "#a5d6a7",
1814
- 300: "#81c784",
1815
- 400: "#66bb6a",
1816
- 500: "#4caf50",
1817
- 600: "#43a047",
1818
- 700: "#388e3c",
1819
- 800: "#2e7d32",
1820
- 900: "#1b5e20",
1821
- A100: "#b9f6ca",
1822
- A200: "#69f0ae",
1823
- A400: "#00e676",
1824
- A700: "#00c853"
1825
- }, oe = un, fn = ["mode", "contrastThreshold", "tonalOffset"], lt = {
1826
- // The colors used to style the text.
1827
- text: {
1828
- // The most important text.
1829
- primary: "rgba(0, 0, 0, 0.87)",
1830
- // Secondary text.
1831
- secondary: "rgba(0, 0, 0, 0.6)",
1832
- // Disabled text have even lower visual prominence.
1833
- disabled: "rgba(0, 0, 0, 0.38)"
1834
- },
1835
- // The color used to divide different elements.
1836
- divider: "rgba(0, 0, 0, 0.12)",
1837
- // The background colors used to style the surfaces.
1838
- // Consistency between these values is important.
1839
- background: {
1840
- paper: de.white,
1841
- default: de.white
1842
- },
1843
- // The colors used to style the action elements.
1844
- action: {
1845
- // The color of an active action like an icon button.
1846
- active: "rgba(0, 0, 0, 0.54)",
1847
- // The color of an hovered action.
1848
- hover: "rgba(0, 0, 0, 0.04)",
1849
- hoverOpacity: 0.04,
1850
- // The color of a selected action.
1851
- selected: "rgba(0, 0, 0, 0.08)",
1852
- selectedOpacity: 0.08,
1853
- // The color of a disabled action.
1854
- disabled: "rgba(0, 0, 0, 0.26)",
1855
- // The background color of a disabled action.
1856
- disabledBackground: "rgba(0, 0, 0, 0.12)",
1857
- disabledOpacity: 0.38,
1858
- focus: "rgba(0, 0, 0, 0.12)",
1859
- focusOpacity: 0.12,
1860
- activatedOpacity: 0.12
1861
- }
1862
- }, Ye = {
1863
- text: {
1864
- primary: de.white,
1865
- secondary: "rgba(255, 255, 255, 0.7)",
1866
- disabled: "rgba(255, 255, 255, 0.5)",
1867
- icon: "rgba(255, 255, 255, 0.5)"
1868
- },
1869
- divider: "rgba(255, 255, 255, 0.12)",
1870
- background: {
1871
- paper: "#121212",
1872
- default: "#121212"
1873
- },
1874
- action: {
1875
- active: de.white,
1876
- hover: "rgba(255, 255, 255, 0.08)",
1877
- hoverOpacity: 0.08,
1878
- selected: "rgba(255, 255, 255, 0.16)",
1879
- selectedOpacity: 0.16,
1880
- disabled: "rgba(255, 255, 255, 0.3)",
1881
- disabledBackground: "rgba(255, 255, 255, 0.12)",
1882
- disabledOpacity: 0.38,
1883
- focus: "rgba(255, 255, 255, 0.12)",
1884
- focusOpacity: 0.12,
1885
- activatedOpacity: 0.24
1886
- }
1887
- };
1888
- function dt(e, t, n, r) {
1889
- const o = r.light || r, i = r.dark || r * 1.5;
1890
- e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = _t(e.main, o) : t === "dark" && (e.dark = wt(e.main, i)));
1891
- }
1892
- function ln(e = "light") {
1893
- return e === "dark" ? {
1894
- main: re[200],
1895
- light: re[50],
1896
- dark: re[400]
1897
- } : {
1898
- main: re[700],
1899
- light: re[400],
1900
- dark: re[800]
1901
- };
1902
- }
1903
- function dn(e = "light") {
1904
- return e === "dark" ? {
1905
- main: ee[200],
1906
- light: ee[50],
1907
- dark: ee[400]
1908
- } : {
1909
- main: ee[500],
1910
- light: ee[300],
1911
- dark: ee[700]
1912
- };
1913
- }
1914
- function pn(e = "light") {
1915
- return e === "dark" ? {
1916
- main: te[500],
1917
- light: te[300],
1918
- dark: te[700]
1919
- } : {
1920
- main: te[700],
1921
- light: te[400],
1922
- dark: te[800]
1923
- };
1924
- }
1925
- function yn(e = "light") {
1926
- return e === "dark" ? {
1927
- main: ne[400],
1928
- light: ne[300],
1929
- dark: ne[700]
1930
- } : {
1931
- main: ne[700],
1932
- light: ne[500],
1933
- dark: ne[900]
1934
- };
1935
- }
1936
- function mn(e = "light") {
1937
- return e === "dark" ? {
1938
- main: oe[400],
1939
- light: oe[300],
1940
- dark: oe[700]
1941
- } : {
1942
- main: oe[800],
1943
- light: oe[500],
1944
- dark: oe[900]
1945
- };
1946
- }
1947
- function gn(e = "light") {
1948
- return e === "dark" ? {
1949
- main: fe[400],
1950
- light: fe[300],
1951
- dark: fe[700]
1952
- } : {
1953
- main: "#ed6c02",
1954
- // closest to orange[800] that pass 3:1.
1955
- light: fe[500],
1956
- dark: fe[900]
1957
- };
1958
- }
1959
- function hn(e) {
1960
- const {
1961
- mode: t = "light",
1962
- contrastThreshold: n = 3,
1963
- tonalOffset: r = 0.2
1964
- } = e, o = ce(e, fn), i = e.primary || ln(t), s = e.secondary || dn(t), u = e.error || pn(t), y = e.info || yn(t), f = e.success || mn(t), g = e.warning || gn(t);
1965
- function h(l) {
1966
- const E = ft(l, Ye.text.primary) >= n ? Ye.text.primary : lt.text.primary;
1967
- if (process.env.NODE_ENV !== "production") {
1968
- const I = ft(l, E);
1969
- I < 3 && console.error([`MUI: The contrast ratio of ${I}:1 for ${E} 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(`
1970
- `));
1971
- }
1972
- return E;
1973
- }
1974
- const c = ({
1975
- color: l,
1976
- name: E,
1977
- mainShade: I = 500,
1978
- lightShade: K = 300,
1979
- darkShade: N = 700
1980
- }) => {
1981
- if (l = D({}, l), !l.main && l[I] && (l.main = l[I]), !l.hasOwnProperty("main"))
1982
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${E ? ` (${E})` : ""} provided to augmentColor(color) is invalid.
1983
- The color object needs to have a \`main\` property or a \`${I}\` property.` : ae(11, E ? ` (${E})` : "", I));
1984
- if (typeof l.main != "string")
1985
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${E ? ` (${E})` : ""} provided to augmentColor(color) is invalid.
1986
- \`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
1987
-
1988
- Did you intend to use one of the following approaches?
1989
-
1990
- import { green } from "@mui/material/colors";
1991
-
1992
- const theme1 = createTheme({ palette: {
1993
- primary: green,
1994
- } });
1995
-
1996
- const theme2 = createTheme({ palette: {
1997
- primary: { main: green[500] },
1998
- } });` : ae(12, E ? ` (${E})` : "", JSON.stringify(l.main)));
1999
- return dt(l, "light", K, r), dt(l, "dark", N, r), l.contrastText || (l.contrastText = h(l.main)), l;
2000
- }, b = {
2001
- dark: Ye,
2002
- light: lt
2003
- };
2004
- return process.env.NODE_ENV !== "production" && (b[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), G(D({
2005
- // A collection of common colors.
2006
- common: D({}, de),
2007
- // prevent mutable object.
2008
- // The palette mode, can be light or dark.
2009
- mode: t,
2010
- // The colors used to represent primary interface elements for a user.
2011
- primary: c({
2012
- color: i,
2013
- name: "primary"
2014
- }),
2015
- // The colors used to represent secondary interface elements for a user.
2016
- secondary: c({
2017
- color: s,
2018
- name: "secondary",
2019
- mainShade: "A400",
2020
- lightShade: "A200",
2021
- darkShade: "A700"
2022
- }),
2023
- // The colors used to represent interface elements that the user should be made aware of.
2024
- error: c({
2025
- color: u,
2026
- name: "error"
2027
- }),
2028
- // The colors used to represent potentially dangerous actions or important messages.
2029
- warning: c({
2030
- color: g,
2031
- name: "warning"
2032
- }),
2033
- // The colors used to present information to the user that is neutral and not necessarily important.
2034
- info: c({
2035
- color: y,
2036
- name: "info"
2037
- }),
2038
- // The colors used to indicate the successful completion of an action that user triggered.
2039
- success: c({
2040
- color: f,
2041
- name: "success"
2042
- }),
2043
- // The grey colors.
2044
- grey: rn,
2045
- // Used by `getContrastText()` to maximize the contrast between
2046
- // the background and the text.
2047
- contrastThreshold: n,
2048
- // Takes a background color and returns the text color that maximizes the contrast.
2049
- getContrastText: h,
2050
- // Generate a rich color object.
2051
- augmentColor: c,
2052
- // Used by the functions below to shift a color's luminance by approximately
2053
- // two indexes within its tonal palette.
2054
- // E.g., shift from Red 500 to Red 300 or Red 700.
2055
- tonalOffset: r
2056
- }, b[t]), o);
2057
- }
2058
- const bn = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
2059
- function vn(e) {
2060
- return Math.round(e * 1e5) / 1e5;
2061
- }
2062
- const pt = {
2063
- textTransform: "uppercase"
2064
- }, yt = '"Roboto", "Helvetica", "Arial", sans-serif';
2065
- function On(e, t) {
2066
- const n = typeof t == "function" ? t(e) : t, {
2067
- fontFamily: r = yt,
2068
- // The default font size of the Material Specification.
2069
- fontSize: o = 14,
2070
- // px
2071
- fontWeightLight: i = 300,
2072
- fontWeightRegular: s = 400,
2073
- fontWeightMedium: u = 500,
2074
- fontWeightBold: y = 700,
2075
- // Tell MUI what's the font-size on the html element.
2076
- // 16px is the default font-size used by browsers.
2077
- htmlFontSize: f = 16,
2078
- // Apply the CSS properties to all the variants.
2079
- allVariants: g,
2080
- pxToRem: h
2081
- } = n, c = ce(n, bn);
2082
- process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
2083
- const b = o / 14, v = h || ((I) => `${I / f * b}rem`), l = (I, K, N, U, p) => D({
2084
- fontFamily: r,
2085
- fontWeight: I,
2086
- fontSize: v(K),
2087
- // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
2088
- lineHeight: N
2089
- }, r === yt ? {
2090
- letterSpacing: `${vn(U / K)}em`
2091
- } : {}, p, g), E = {
2092
- h1: l(i, 96, 1.167, -1.5),
2093
- h2: l(i, 60, 1.2, -0.5),
2094
- h3: l(s, 48, 1.167, 0),
2095
- h4: l(s, 34, 1.235, 0.25),
2096
- h5: l(s, 24, 1.334, 0),
2097
- h6: l(u, 20, 1.6, 0.15),
2098
- subtitle1: l(s, 16, 1.75, 0.15),
2099
- subtitle2: l(u, 14, 1.57, 0.1),
2100
- body1: l(s, 16, 1.5, 0.15),
2101
- body2: l(s, 14, 1.43, 0.15),
2102
- button: l(u, 14, 1.75, 0.4, pt),
2103
- caption: l(s, 12, 1.66, 0.4),
2104
- overline: l(s, 12, 2.66, 1, pt),
2105
- // 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.
2106
- inherit: {
2107
- fontFamily: "inherit",
2108
- fontWeight: "inherit",
2109
- fontSize: "inherit",
2110
- lineHeight: "inherit",
2111
- letterSpacing: "inherit"
2112
- }
2113
- };
2114
- return G(D({
2115
- htmlFontSize: f,
2116
- pxToRem: v,
2117
- fontFamily: r,
2118
- fontSize: o,
2119
- fontWeightLight: i,
2120
- fontWeightRegular: s,
2121
- fontWeightMedium: u,
2122
- fontWeightBold: y
2123
- }, E), c, {
2124
- clone: !1
2125
- // No need to clone deep
2126
- });
2127
- }
2128
- const Tn = 0.2, En = 0.14, xn = 0.12;
2129
- function k(...e) {
2130
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Tn})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${En})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${xn})`].join(",");
2131
- }
2132
- const Sn = ["none", k(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), k(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), k(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), k(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), k(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), k(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), k(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), k(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), k(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), k(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), k(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), k(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), k(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), k(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), k(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), k(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), k(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), k(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), k(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), k(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), k(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), k(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), k(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), k(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], $n = ["duration", "easing", "delay"], wn = {
2133
- // This is the most common easing curve.
2134
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
2135
- // Objects enter the screen at full velocity from off-screen and
2136
- // slowly decelerate to a resting point.
2137
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
2138
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
2139
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
2140
- // The sharp curve is used by objects that may return to the screen at any time.
2141
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
2142
- }, _n = {
2143
- shortest: 150,
2144
- shorter: 200,
2145
- short: 250,
2146
- // most basic recommended timing
2147
- standard: 300,
2148
- // this is to be used in complex animations
2149
- complex: 375,
2150
- // recommended when something is entering screen
2151
- enteringScreen: 225,
2152
- // recommended when something is leaving screen
2153
- leavingScreen: 195
2154
- };
2155
- function mt(e) {
2156
- return `${Math.round(e)}ms`;
2157
- }
2158
- function Pn(e) {
2159
- if (!e)
2160
- return 0;
2161
- const t = e / 36;
2162
- return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
2163
- }
2164
- function Cn(e) {
2165
- const t = D({}, wn, e.easing), n = D({}, _n, e.duration);
2166
- return D({
2167
- getAutoHeightDuration: Pn,
2168
- create: (o = ["all"], i = {}) => {
2169
- const {
2170
- duration: s = n.standard,
2171
- easing: u = t.easeInOut,
2172
- delay: y = 0
2173
- } = i, f = ce(i, $n);
2174
- if (process.env.NODE_ENV !== "production") {
2175
- const g = (c) => typeof c == "string", h = (c) => !isNaN(parseFloat(c));
2176
- !g(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !h(s) && !g(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), g(u) || console.error('MUI: Argument "easing" must be a string.'), !h(y) && !g(y) && 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(`
2177
- `)), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
2178
- }
2179
- return (Array.isArray(o) ? o : [o]).map((g) => `${g} ${typeof s == "string" ? s : mt(s)} ${u} ${typeof y == "string" ? y : mt(y)}`).join(",");
2180
- }
2181
- }, e, {
2182
- easing: t,
2183
- duration: n
2184
- });
2185
- }
2186
- const An = {
2187
- mobileStepper: 1e3,
2188
- fab: 1050,
2189
- speedDial: 1050,
2190
- appBar: 1100,
2191
- drawer: 1200,
2192
- modal: 1300,
2193
- snackbar: 1400,
2194
- tooltip: 1500
2195
- }, Rn = An, In = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
2196
- function kn(e = {}, ...t) {
2197
- const {
2198
- mixins: n = {},
2199
- palette: r = {},
2200
- transitions: o = {},
2201
- typography: i = {}
2202
- } = e, s = ce(e, In);
2203
- if (e.vars)
2204
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : ae(18));
2205
- const u = hn(r), y = St(e);
2206
- let f = G(y, {
2207
- mixins: Qr(y.breakpoints, n),
2208
- palette: u,
2209
- // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
2210
- shadows: Sn.slice(),
2211
- typography: On(u, i),
2212
- transitions: Cn(o),
2213
- zIndex: D({}, Rn)
2214
- });
2215
- if (f = G(f, s), f = t.reduce((g, h) => G(g, h), f), process.env.NODE_ENV !== "production") {
2216
- const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = (c, b) => {
2217
- let v;
2218
- for (v in c) {
2219
- const l = c[v];
2220
- if (g.indexOf(v) !== -1 && Object.keys(l).length > 0) {
2221
- if (process.env.NODE_ENV !== "production") {
2222
- const E = Fr("", v);
2223
- console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${v}\` internal state.`, "You can not override it like this: ", JSON.stringify(c, null, 2), "", `Instead, you need to use the '&.${E}' syntax:`, JSON.stringify({
2224
- root: {
2225
- [`&.${E}`]: l
2226
- }
2227
- }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
2228
- `));
2229
- }
2230
- c[v] = {};
2231
- }
2232
- }
2233
- };
2234
- Object.keys(f.components).forEach((c) => {
2235
- const b = f.components[c].styleOverrides;
2236
- b && c.indexOf("Mui") === 0 && h(b, c);
2237
- });
2238
- }
2239
- return f.unstable_sxConfig = D({}, He, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(h) {
2240
- return xt({
2241
- sx: h,
2242
- theme: this
2243
- });
2244
- }, f;
2245
- }
2246
- const jn = kn(), Mn = jn;
2247
- function zn({
2248
- props: e,
2249
- name: t
2250
- }) {
2251
- return Vr({
2252
- props: e,
2253
- name: t,
2254
- defaultTheme: Mn,
2255
- themeId: Zr
2256
- });
2257
- }
2258
- export {
2259
- Kr as C,
2260
- ue as P,
2261
- Zr as T,
2262
- D as _,
2263
- Un as a,
2264
- zn as b,
2265
- vt as c,
2266
- Mn as d,
2267
- ce as e,
2268
- kn as f,
2269
- Fr as g,
2270
- He as h,
2271
- ie as i,
2272
- Bn as j,
2273
- ae as k,
2274
- St as l,
2275
- Nn as m,
2276
- At as n,
2277
- G as o,
2278
- qr as p,
2279
- _t as q,
2280
- $t as r,
2281
- xt as s,
2282
- wt as t,
2283
- zr as u,
2284
- Oe as v,
2285
- Wn as w,
2286
- Ur as x,
2287
- Gr as y
2288
- };