@cgi-learning-hub/ui 1.0.0-dev.1721225898 → 1.0.0-dev.1721824898

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