@cgi-learning-hub/ui 1.2.0-dev.1725543340 → 1.2.0-dev.1725543764

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