@hybridcore/ui 1.4.30 → 1.4.32

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 (108) hide show
  1. package/dist/AccordionDetails-mpRYHtGq.js +743 -0
  2. package/dist/{Add-eepk2WTM.js → Add-BKnWHZ7A.js} +10 -9
  3. package/dist/{Box-BPyg-Ybm.js → Box-SSMZuKnS.js} +8 -8
  4. package/dist/{Button-DLwB_sKd.js → Button-jy67CcTH.js} +8 -7
  5. package/dist/{ButtonBase-D0qccOVb.js → ButtonBase-CgQC8DUB.js} +13 -12
  6. package/dist/{CardContent-DFsCCOWk.js → CardContent-CCq4R1KS.js} +14 -13
  7. package/dist/{Checkbox-qy3cjvnb.js → Checkbox-B0P8LhCl.js} +10 -9
  8. package/dist/{Delete-OHEw9lDi.js → Delete-DfyX03ib.js} +1 -1
  9. package/dist/{DialogContent-CxOSq6h9.js → DialogContent-B0_-g7B0.js} +10 -9
  10. package/dist/{FormControlLabel-D9KFjcIx.js → FormControlLabel-BNT5EI0b.js} +10 -9
  11. package/dist/{IconButton-BaiyAtmS.js → IconButton-DekcZv4i.js} +16 -15
  12. package/dist/{Input-CmCkXczh.js → Input-BAbDr3Tk.js} +17 -16
  13. package/dist/{InputAdornment-CZUPEeia.js → InputAdornment-BAVRrRts.js} +8 -7
  14. package/dist/{InputLabel-CWkW8NtU.js → InputLabel-ClDXuWBr.js} +16 -14
  15. package/dist/{List-PpNAWJ_I.js → List-CNeRnfGL.js} +10 -9
  16. package/dist/{ListItem-CZbZ91vp.js → ListItem-N_dSd02S.js} +15 -14
  17. package/dist/{MenuItem-D-INSvZa.js → MenuItem-Lcjh1XlV.js} +11 -10
  18. package/dist/{Modal-KrI5qFIq.js → Modal-CJn-Bqyo.js} +14 -13
  19. package/dist/{OutlinedInput-DkIUD30e.js → OutlinedInput-De2keFJK.js} +28 -27
  20. package/dist/{Paper-btu3j72o.js → Paper-DRRYGupP.js} +22 -21
  21. package/dist/{Select-ClaBvSqf.js → Select-DwAJxKTN.js} +65 -63
  22. package/dist/{Source-Hf_SiWEW.js → Source-CnCcu5UP.js} +123 -123
  23. package/dist/{Tabs-BzelDJKy.js → Tabs-DqdkJU6b.js} +16 -14
  24. package/dist/{Text-D6oGbCdi.js → Text-BT5kPHOo.js} +41 -41
  25. package/dist/{TextField-D87qTh1k.js → TextField-BAXUnwnR.js} +14 -13
  26. package/dist/{Typography-Bm7PFqUT.js → Typography-CLq43OVQ.js} +21 -20
  27. package/dist/components/access/helpers.js +1 -1
  28. package/dist/components/access/index.js +1 -1
  29. package/dist/components/card/index.js +49 -48
  30. package/dist/components/card/styled.js +1 -1
  31. package/dist/components/collapsible-card/style.js +3 -3
  32. package/dist/components/confirm/dialog.js +3 -3
  33. package/dist/components/confirm/index.js +1 -1
  34. package/dist/components/container/index.js +10 -9
  35. package/dist/components/context-menu/index.js +13 -12
  36. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  37. package/dist/components/data-security-selectors/security-level/index.js +7 -7
  38. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  39. package/dist/components/geometry-picker/edit/index.js +2 -2
  40. package/dist/components/geometry-picker/geometry/index.js +1 -1
  41. package/dist/components/geometry-picker/index.js +3 -3
  42. package/dist/components/geometry-picker/kml/index.js +1 -1
  43. package/dist/components/geometry-picker/map/logic.js +19 -19
  44. package/dist/components/geometry-picker/map/style.js +1 -1
  45. package/dist/components/icon-button/index.js +1 -1
  46. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  47. package/dist/components/instance-form/components/variable/index.js +8 -8
  48. package/dist/components/instance-form/components/variables/index.js +1 -1
  49. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  50. package/dist/components/map/helpers/mapbox.js +3 -3
  51. package/dist/components/map/helpers/ol.js +3 -3
  52. package/dist/components/map/logic.js +2 -2
  53. package/dist/components/map/styled.js +2 -2
  54. package/dist/components/property-mapping/index.js +2 -2
  55. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  56. package/dist/components/range-selector/components/date-range/index.js +1 -1
  57. package/dist/components/range-selector/index.js +1 -1
  58. package/dist/components/search-input/index.js +4 -4
  59. package/dist/components/tabs/index.js +1 -1
  60. package/dist/components/template-filters/components/filter/index.js +44 -0
  61. package/dist/components/template-filters/components/tab-panel/index.js +27 -0
  62. package/dist/components/template-filters/index.js +39 -0
  63. package/dist/components/template-filters/styled.js +1 -0
  64. package/dist/components/template-form/components/property-list/index.js +7 -7
  65. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  66. package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
  67. package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
  68. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  69. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
  70. package/dist/components/template-form/index.js +5 -5
  71. package/dist/components/template-property-filters/property.js +5 -5
  72. package/dist/components/tree-select/index.js +5 -5
  73. package/dist/components/treeview-filter/index.js +384 -318
  74. package/dist/components/treeview-filter/item/index.js +56 -5
  75. package/dist/components/treeview-filter/item/styled.js +38 -0
  76. package/dist/components/treeview-filter/item-label/index.js +27 -26
  77. package/dist/createStyled-CUatW1r9.js +352 -0
  78. package/dist/{createSvgIcon-Cfm1LkEe.js → createSvgIcon-BXjHHQ0B.js} +28 -29
  79. package/dist/{createSvgIcon-DEXLbMwp.js → createSvgIcon-CBoAEepv.js} +9 -8
  80. package/dist/{styled-LNCprp4n.js → createTheme-DVoJnXAT.js} +134 -142
  81. package/dist/createTheme-DrgvKMA_.js +1563 -0
  82. package/dist/{dialog-v5-nL5yy.js → dialog-DPGR2gik.js} +7 -7
  83. package/dist/{exactProp-DkmnwNVS.js → exactProp-H1i70prd.js} +3 -3
  84. package/dist/{extendSxProp-qqdkfHzS.js → extendSxProp-BmK2hLmq.js} +4 -4
  85. package/dist/{has-CjQtZJa9.js → has-9_asnBxn.js} +26 -26
  86. package/dist/{helpers-B4UL9NMD.js → helpers-DaCoWmi2.js} +3 -3
  87. package/dist/{index-oPY7k6mu.js → index-B_GNCJdV.js} +7 -7
  88. package/dist/{index-C1fczHEW.js → index-RfDWDd66.js} +28 -27
  89. package/dist/{listItemTextClasses-DsHGzpPM.js → listItemTextClasses-CC7nbQWN.js} +4 -4
  90. package/dist/main.d.ts +14 -0
  91. package/dist/main.js +83 -81
  92. package/dist/{objectWithoutPropertiesLoose-BK36oJDi.js → objectWithoutPropertiesLoose-DJteAcBH.js} +2 -2
  93. package/dist/{ol-CHaVTXvL.js → ol-9hySGI6D.js} +3 -3
  94. package/dist/{property-list-form-B1GZ9ZGO.js → property-list-form-DgmTiBvu.js} +36 -35
  95. package/dist/styled-DkqItiLo.js +12 -0
  96. package/dist/unsupportedProp-BND8AB6O.js +25 -0
  97. package/dist/{useTheme-DBiahn6p.js → useTheme-B6oa3v5u.js} +4 -4
  98. package/dist/useTheme-GN5Dc3mG.js +18 -0
  99. package/dist/useThemeProps-BlXpIqSE.js +95 -0
  100. package/dist/{utils-DNe_YYjm.js → utils-BRsEqTye.js} +8 -8
  101. package/package.json +1 -1
  102. package/dist/AccordionDetails-CGs6GZQK.js +0 -454
  103. package/dist/Collapse-CL6LGGZw.js +0 -298
  104. package/dist/createStyled-BzvgQjjR.js +0 -1910
  105. package/dist/index-B0JPwFI9.js +0 -596
  106. package/dist/requirePropFactory-BjhhI-AW.js +0 -18
  107. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  108. package/dist/useThemeProps-uYx_RkOH.js +0 -109
@@ -0,0 +1,1563 @@
1
+ import tr from "@emotion/styled";
2
+ import "@emotion/react";
3
+ import { a as J, _ as Fe } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
4
+ var pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
+ function nr(e) {
6
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
7
+ }
8
+ function yt(e) {
9
+ if (e.__esModule) return e;
10
+ var r = e.default;
11
+ if (typeof r == "function") {
12
+ var n = function t() {
13
+ return this instanceof t ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
14
+ };
15
+ n.prototype = r.prototype;
16
+ } else n = {};
17
+ return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(e).forEach(function(t) {
18
+ var o = Object.getOwnPropertyDescriptor(e, t);
19
+ Object.defineProperty(n, t, o.get ? o : {
20
+ enumerable: !0,
21
+ get: function() {
22
+ return e[t];
23
+ }
24
+ });
25
+ }), n;
26
+ }
27
+ var je = { exports: {} }, se = { exports: {} }, R = {};
28
+ /** @license React v16.13.1
29
+ * react-is.production.min.js
30
+ *
31
+ * Copyright (c) Facebook, Inc. and its affiliates.
32
+ *
33
+ * This source code is licensed under the MIT license found in the
34
+ * LICENSE file in the root directory of this source tree.
35
+ */
36
+ var Be;
37
+ function or() {
38
+ if (Be) return R;
39
+ Be = 1;
40
+ 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, f = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, y = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, T = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, Y = e ? Symbol.for("react.responder") : 60118, Q = e ? Symbol.for("react.scope") : 60119;
41
+ function B(c) {
42
+ if (typeof c == "object" && c !== null) {
43
+ var G = c.$$typeof;
44
+ switch (G) {
45
+ case r:
46
+ switch (c = c.type, c) {
47
+ case p:
48
+ case y:
49
+ case t:
50
+ case i:
51
+ case o:
52
+ case m:
53
+ return c;
54
+ default:
55
+ switch (c = c && c.$$typeof, c) {
56
+ case f:
57
+ case g:
58
+ case x:
59
+ case T:
60
+ case s:
61
+ return c;
62
+ default:
63
+ return G;
64
+ }
65
+ }
66
+ case n:
67
+ return G;
68
+ }
69
+ }
70
+ }
71
+ function k(c) {
72
+ return B(c) === y;
73
+ }
74
+ return R.AsyncMode = p, R.ConcurrentMode = y, R.ContextConsumer = f, R.ContextProvider = s, R.Element = r, R.ForwardRef = g, R.Fragment = t, R.Lazy = x, R.Memo = T, R.Portal = n, R.Profiler = i, R.StrictMode = o, R.Suspense = m, R.isAsyncMode = function(c) {
75
+ return k(c) || B(c) === p;
76
+ }, R.isConcurrentMode = k, R.isContextConsumer = function(c) {
77
+ return B(c) === f;
78
+ }, R.isContextProvider = function(c) {
79
+ return B(c) === s;
80
+ }, R.isElement = function(c) {
81
+ return typeof c == "object" && c !== null && c.$$typeof === r;
82
+ }, R.isForwardRef = function(c) {
83
+ return B(c) === g;
84
+ }, R.isFragment = function(c) {
85
+ return B(c) === t;
86
+ }, R.isLazy = function(c) {
87
+ return B(c) === x;
88
+ }, R.isMemo = function(c) {
89
+ return B(c) === T;
90
+ }, R.isPortal = function(c) {
91
+ return B(c) === n;
92
+ }, R.isProfiler = function(c) {
93
+ return B(c) === i;
94
+ }, R.isStrictMode = function(c) {
95
+ return B(c) === o;
96
+ }, R.isSuspense = function(c) {
97
+ return B(c) === m;
98
+ }, R.isValidElementType = function(c) {
99
+ return typeof c == "string" || typeof c == "function" || c === t || c === y || c === i || c === o || c === m || c === d || typeof c == "object" && c !== null && (c.$$typeof === x || c.$$typeof === T || c.$$typeof === s || c.$$typeof === f || c.$$typeof === g || c.$$typeof === M || c.$$typeof === Y || c.$$typeof === Q || c.$$typeof === w);
100
+ }, R.typeOf = B, R;
101
+ }
102
+ var C = {};
103
+ /** @license React v16.13.1
104
+ * react-is.development.js
105
+ *
106
+ * Copyright (c) Facebook, Inc. and its affiliates.
107
+ *
108
+ * This source code is licensed under the MIT license found in the
109
+ * LICENSE file in the root directory of this source tree.
110
+ */
111
+ var De;
112
+ function ir() {
113
+ return De || (De = 1, process.env.NODE_ENV !== "production" && function() {
114
+ 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, f = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, y = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, T = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, Y = e ? Symbol.for("react.responder") : 60118, Q = e ? Symbol.for("react.scope") : 60119;
115
+ function B(u) {
116
+ return typeof u == "string" || typeof u == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
117
+ u === t || u === y || u === i || u === o || u === m || u === d || typeof u == "object" && u !== null && (u.$$typeof === x || u.$$typeof === T || u.$$typeof === s || u.$$typeof === f || u.$$typeof === g || u.$$typeof === M || u.$$typeof === Y || u.$$typeof === Q || u.$$typeof === w);
118
+ }
119
+ function k(u) {
120
+ if (typeof u == "object" && u !== null) {
121
+ var U = u.$$typeof;
122
+ switch (U) {
123
+ case r:
124
+ var ie = u.type;
125
+ switch (ie) {
126
+ case p:
127
+ case y:
128
+ case t:
129
+ case i:
130
+ case o:
131
+ case m:
132
+ return ie;
133
+ default:
134
+ var ke = ie && ie.$$typeof;
135
+ switch (ke) {
136
+ case f:
137
+ case g:
138
+ case x:
139
+ case T:
140
+ case s:
141
+ return ke;
142
+ default:
143
+ return U;
144
+ }
145
+ }
146
+ case n:
147
+ return U;
148
+ }
149
+ }
150
+ }
151
+ var c = p, G = y, he = f, ve = s, be = r, Ee = g, ne = t, Te = x, Oe = T, H = n, xe = i, L = o, F = m, oe = !1;
152
+ function Se(u) {
153
+ return oe || (oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), a(u) || k(u) === p;
154
+ }
155
+ function a(u) {
156
+ return k(u) === y;
157
+ }
158
+ function l(u) {
159
+ return k(u) === f;
160
+ }
161
+ function O(u) {
162
+ return k(u) === s;
163
+ }
164
+ function b(u) {
165
+ return typeof u == "object" && u !== null && u.$$typeof === r;
166
+ }
167
+ function h(u) {
168
+ return k(u) === g;
169
+ }
170
+ function S(u) {
171
+ return k(u) === t;
172
+ }
173
+ function v(u) {
174
+ return k(u) === x;
175
+ }
176
+ function E(u) {
177
+ return k(u) === T;
178
+ }
179
+ function P(u) {
180
+ return k(u) === n;
181
+ }
182
+ function A(u) {
183
+ return k(u) === i;
184
+ }
185
+ function _(u) {
186
+ return k(u) === o;
187
+ }
188
+ function D(u) {
189
+ return k(u) === m;
190
+ }
191
+ C.AsyncMode = c, C.ConcurrentMode = G, C.ContextConsumer = he, C.ContextProvider = ve, C.Element = be, C.ForwardRef = Ee, C.Fragment = ne, C.Lazy = Te, C.Memo = Oe, C.Portal = H, C.Profiler = xe, C.StrictMode = L, C.Suspense = F, C.isAsyncMode = Se, C.isConcurrentMode = a, C.isContextConsumer = l, C.isContextProvider = O, C.isElement = b, C.isForwardRef = h, C.isFragment = S, C.isLazy = v, C.isMemo = E, C.isPortal = P, C.isProfiler = A, C.isStrictMode = _, C.isSuspense = D, C.isValidElementType = B, C.typeOf = k;
192
+ }()), C;
193
+ }
194
+ var Ne;
195
+ function He() {
196
+ return Ne || (Ne = 1, process.env.NODE_ENV === "production" ? se.exports = or() : se.exports = ir()), se.exports;
197
+ }
198
+ /*
199
+ object-assign
200
+ (c) Sindre Sorhus
201
+ @license MIT
202
+ */
203
+ var Pe, Ye;
204
+ function sr() {
205
+ if (Ye) return Pe;
206
+ Ye = 1;
207
+ var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
208
+ function t(i) {
209
+ if (i == null)
210
+ throw new TypeError("Object.assign cannot be called with null or undefined");
211
+ return Object(i);
212
+ }
213
+ function o() {
214
+ try {
215
+ if (!Object.assign)
216
+ return !1;
217
+ var i = new String("abc");
218
+ if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
219
+ return !1;
220
+ for (var s = {}, f = 0; f < 10; f++)
221
+ s["_" + String.fromCharCode(f)] = f;
222
+ var p = Object.getOwnPropertyNames(s).map(function(g) {
223
+ return s[g];
224
+ });
225
+ if (p.join("") !== "0123456789")
226
+ return !1;
227
+ var y = {};
228
+ return "abcdefghijklmnopqrst".split("").forEach(function(g) {
229
+ y[g] = g;
230
+ }), Object.keys(Object.assign({}, y)).join("") === "abcdefghijklmnopqrst";
231
+ } catch {
232
+ return !1;
233
+ }
234
+ }
235
+ return Pe = o() ? Object.assign : function(i, s) {
236
+ for (var f, p = t(i), y, g = 1; g < arguments.length; g++) {
237
+ f = Object(arguments[g]);
238
+ for (var m in f)
239
+ r.call(f, m) && (p[m] = f[m]);
240
+ if (e) {
241
+ y = e(f);
242
+ for (var d = 0; d < y.length; d++)
243
+ n.call(f, y[d]) && (p[y[d]] = f[y[d]]);
244
+ }
245
+ }
246
+ return p;
247
+ }, Pe;
248
+ }
249
+ var _e, We;
250
+ function $e() {
251
+ if (We) return _e;
252
+ We = 1;
253
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
254
+ return _e = e, _e;
255
+ }
256
+ var we, Ke;
257
+ function Xe() {
258
+ return Ke || (Ke = 1, we = Function.call.bind(Object.prototype.hasOwnProperty)), we;
259
+ }
260
+ var Re, Le;
261
+ function ar() {
262
+ if (Le) return Re;
263
+ Le = 1;
264
+ var e = function() {
265
+ };
266
+ if (process.env.NODE_ENV !== "production") {
267
+ var r = $e(), n = {}, t = Xe();
268
+ e = function(i) {
269
+ var s = "Warning: " + i;
270
+ typeof console < "u" && console.error(s);
271
+ try {
272
+ throw new Error(s);
273
+ } catch {
274
+ }
275
+ };
276
+ }
277
+ function o(i, s, f, p, y) {
278
+ if (process.env.NODE_ENV !== "production") {
279
+ for (var g in i)
280
+ if (t(i, g)) {
281
+ var m;
282
+ try {
283
+ if (typeof i[g] != "function") {
284
+ var d = Error(
285
+ (p || "React class") + ": " + f + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
286
+ );
287
+ throw d.name = "Invariant Violation", d;
288
+ }
289
+ m = i[g](s, g, p, f, null, r);
290
+ } catch (x) {
291
+ m = x;
292
+ }
293
+ if (m && !(m instanceof Error) && e(
294
+ (p || "React class") + ": type specification of " + f + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
295
+ ), m instanceof Error && !(m.message in n)) {
296
+ n[m.message] = !0;
297
+ var T = y ? y() : "";
298
+ e(
299
+ "Failed " + f + " type: " + m.message + (T ?? "")
300
+ );
301
+ }
302
+ }
303
+ }
304
+ }
305
+ return o.resetWarningCache = function() {
306
+ process.env.NODE_ENV !== "production" && (n = {});
307
+ }, Re = o, Re;
308
+ }
309
+ var Ce, Ue;
310
+ function ur() {
311
+ if (Ue) return Ce;
312
+ Ue = 1;
313
+ var e = He(), r = sr(), n = $e(), t = Xe(), o = ar(), i = function() {
314
+ };
315
+ process.env.NODE_ENV !== "production" && (i = function(f) {
316
+ var p = "Warning: " + f;
317
+ typeof console < "u" && console.error(p);
318
+ try {
319
+ throw new Error(p);
320
+ } catch {
321
+ }
322
+ });
323
+ function s() {
324
+ return null;
325
+ }
326
+ return Ce = function(f, p) {
327
+ var y = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
328
+ function m(a) {
329
+ var l = a && (y && a[y] || a[g]);
330
+ if (typeof l == "function")
331
+ return l;
332
+ }
333
+ var d = "<<anonymous>>", T = {
334
+ array: Y("array"),
335
+ bigint: Y("bigint"),
336
+ bool: Y("boolean"),
337
+ func: Y("function"),
338
+ number: Y("number"),
339
+ object: Y("object"),
340
+ string: Y("string"),
341
+ symbol: Y("symbol"),
342
+ any: Q(),
343
+ arrayOf: B,
344
+ element: k(),
345
+ elementType: c(),
346
+ instanceOf: G,
347
+ node: Ee(),
348
+ objectOf: ve,
349
+ oneOf: he,
350
+ oneOfType: be,
351
+ shape: Te,
352
+ exact: Oe
353
+ };
354
+ function x(a, l) {
355
+ return a === l ? a !== 0 || 1 / a === 1 / l : a !== a && l !== l;
356
+ }
357
+ function w(a, l) {
358
+ this.message = a, this.data = l && typeof l == "object" ? l : {}, this.stack = "";
359
+ }
360
+ w.prototype = Error.prototype;
361
+ function M(a) {
362
+ if (process.env.NODE_ENV !== "production")
363
+ var l = {}, O = 0;
364
+ function b(S, v, E, P, A, _, D) {
365
+ if (P = P || d, _ = _ || E, D !== n) {
366
+ if (p) {
367
+ var u = new Error(
368
+ "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"
369
+ );
370
+ throw u.name = "Invariant Violation", u;
371
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
372
+ var U = P + ":" + E;
373
+ !l[U] && // Avoid spamming the console because they are often not actionable except for lib authors
374
+ O < 3 && (i(
375
+ "You are manually calling a React.PropTypes validation function for the `" + _ + "` prop on `" + P + "`. 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."
376
+ ), l[U] = !0, O++);
377
+ }
378
+ }
379
+ return v[E] == null ? S ? v[E] === null ? new w("The " + A + " `" + _ + "` is marked as required " + ("in `" + P + "`, but its value is `null`.")) : new w("The " + A + " `" + _ + "` is marked as required in " + ("`" + P + "`, but its value is `undefined`.")) : null : a(v, E, P, A, _);
380
+ }
381
+ var h = b.bind(null, !1);
382
+ return h.isRequired = b.bind(null, !0), h;
383
+ }
384
+ function Y(a) {
385
+ function l(O, b, h, S, v, E) {
386
+ var P = O[b], A = L(P);
387
+ if (A !== a) {
388
+ var _ = F(P);
389
+ return new w(
390
+ "Invalid " + S + " `" + v + "` of type " + ("`" + _ + "` supplied to `" + h + "`, expected ") + ("`" + a + "`."),
391
+ { expectedType: a }
392
+ );
393
+ }
394
+ return null;
395
+ }
396
+ return M(l);
397
+ }
398
+ function Q() {
399
+ return M(s);
400
+ }
401
+ function B(a) {
402
+ function l(O, b, h, S, v) {
403
+ if (typeof a != "function")
404
+ return new w("Property `" + v + "` of component `" + h + "` has invalid PropType notation inside arrayOf.");
405
+ var E = O[b];
406
+ if (!Array.isArray(E)) {
407
+ var P = L(E);
408
+ return new w("Invalid " + S + " `" + v + "` of type " + ("`" + P + "` supplied to `" + h + "`, expected an array."));
409
+ }
410
+ for (var A = 0; A < E.length; A++) {
411
+ var _ = a(E, A, h, S, v + "[" + A + "]", n);
412
+ if (_ instanceof Error)
413
+ return _;
414
+ }
415
+ return null;
416
+ }
417
+ return M(l);
418
+ }
419
+ function k() {
420
+ function a(l, O, b, h, S) {
421
+ var v = l[O];
422
+ if (!f(v)) {
423
+ var E = L(v);
424
+ return new w("Invalid " + h + " `" + S + "` of type " + ("`" + E + "` supplied to `" + b + "`, expected a single ReactElement."));
425
+ }
426
+ return null;
427
+ }
428
+ return M(a);
429
+ }
430
+ function c() {
431
+ function a(l, O, b, h, S) {
432
+ var v = l[O];
433
+ if (!e.isValidElementType(v)) {
434
+ var E = L(v);
435
+ return new w("Invalid " + h + " `" + S + "` of type " + ("`" + E + "` supplied to `" + b + "`, expected a single ReactElement type."));
436
+ }
437
+ return null;
438
+ }
439
+ return M(a);
440
+ }
441
+ function G(a) {
442
+ function l(O, b, h, S, v) {
443
+ if (!(O[b] instanceof a)) {
444
+ var E = a.name || d, P = Se(O[b]);
445
+ return new w("Invalid " + S + " `" + v + "` of type " + ("`" + P + "` supplied to `" + h + "`, expected ") + ("instance of `" + E + "`."));
446
+ }
447
+ return null;
448
+ }
449
+ return M(l);
450
+ }
451
+ function he(a) {
452
+ if (!Array.isArray(a))
453
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
454
+ "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])."
455
+ ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
456
+ function l(O, b, h, S, v) {
457
+ for (var E = O[b], P = 0; P < a.length; P++)
458
+ if (x(E, a[P]))
459
+ return null;
460
+ var A = JSON.stringify(a, function(D, u) {
461
+ var U = F(u);
462
+ return U === "symbol" ? String(u) : u;
463
+ });
464
+ return new w("Invalid " + S + " `" + v + "` of value `" + String(E) + "` " + ("supplied to `" + h + "`, expected one of " + A + "."));
465
+ }
466
+ return M(l);
467
+ }
468
+ function ve(a) {
469
+ function l(O, b, h, S, v) {
470
+ if (typeof a != "function")
471
+ return new w("Property `" + v + "` of component `" + h + "` has invalid PropType notation inside objectOf.");
472
+ var E = O[b], P = L(E);
473
+ if (P !== "object")
474
+ return new w("Invalid " + S + " `" + v + "` of type " + ("`" + P + "` supplied to `" + h + "`, expected an object."));
475
+ for (var A in E)
476
+ if (t(E, A)) {
477
+ var _ = a(E, A, h, S, v + "." + A, n);
478
+ if (_ instanceof Error)
479
+ return _;
480
+ }
481
+ return null;
482
+ }
483
+ return M(l);
484
+ }
485
+ function be(a) {
486
+ if (!Array.isArray(a))
487
+ return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
488
+ for (var l = 0; l < a.length; l++) {
489
+ var O = a[l];
490
+ if (typeof O != "function")
491
+ return i(
492
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + oe(O) + " at index " + l + "."
493
+ ), s;
494
+ }
495
+ function b(h, S, v, E, P) {
496
+ for (var A = [], _ = 0; _ < a.length; _++) {
497
+ var D = a[_], u = D(h, S, v, E, P, n);
498
+ if (u == null)
499
+ return null;
500
+ u.data && t(u.data, "expectedType") && A.push(u.data.expectedType);
501
+ }
502
+ var U = A.length > 0 ? ", expected one of type [" + A.join(", ") + "]" : "";
503
+ return new w("Invalid " + E + " `" + P + "` supplied to " + ("`" + v + "`" + U + "."));
504
+ }
505
+ return M(b);
506
+ }
507
+ function Ee() {
508
+ function a(l, O, b, h, S) {
509
+ return H(l[O]) ? null : new w("Invalid " + h + " `" + S + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
510
+ }
511
+ return M(a);
512
+ }
513
+ function ne(a, l, O, b, h) {
514
+ return new w(
515
+ (a || "React class") + ": " + l + " type `" + O + "." + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + h + "`."
516
+ );
517
+ }
518
+ function Te(a) {
519
+ function l(O, b, h, S, v) {
520
+ var E = O[b], P = L(E);
521
+ if (P !== "object")
522
+ return new w("Invalid " + S + " `" + v + "` of type `" + P + "` " + ("supplied to `" + h + "`, expected `object`."));
523
+ for (var A in a) {
524
+ var _ = a[A];
525
+ if (typeof _ != "function")
526
+ return ne(h, S, v, A, F(_));
527
+ var D = _(E, A, h, S, v + "." + A, n);
528
+ if (D)
529
+ return D;
530
+ }
531
+ return null;
532
+ }
533
+ return M(l);
534
+ }
535
+ function Oe(a) {
536
+ function l(O, b, h, S, v) {
537
+ var E = O[b], P = L(E);
538
+ if (P !== "object")
539
+ return new w("Invalid " + S + " `" + v + "` of type `" + P + "` " + ("supplied to `" + h + "`, expected `object`."));
540
+ var A = r({}, O[b], a);
541
+ for (var _ in A) {
542
+ var D = a[_];
543
+ if (t(a, _) && typeof D != "function")
544
+ return ne(h, S, v, _, F(D));
545
+ if (!D)
546
+ return new w(
547
+ "Invalid " + S + " `" + v + "` key `" + _ + "` supplied to `" + h + "`.\nBad object: " + JSON.stringify(O[b], null, " ") + `
548
+ Valid keys: ` + JSON.stringify(Object.keys(a), null, " ")
549
+ );
550
+ var u = D(E, _, h, S, v + "." + _, n);
551
+ if (u)
552
+ return u;
553
+ }
554
+ return null;
555
+ }
556
+ return M(l);
557
+ }
558
+ function H(a) {
559
+ switch (typeof a) {
560
+ case "number":
561
+ case "string":
562
+ case "undefined":
563
+ return !0;
564
+ case "boolean":
565
+ return !a;
566
+ case "object":
567
+ if (Array.isArray(a))
568
+ return a.every(H);
569
+ if (a === null || f(a))
570
+ return !0;
571
+ var l = m(a);
572
+ if (l) {
573
+ var O = l.call(a), b;
574
+ if (l !== a.entries) {
575
+ for (; !(b = O.next()).done; )
576
+ if (!H(b.value))
577
+ return !1;
578
+ } else
579
+ for (; !(b = O.next()).done; ) {
580
+ var h = b.value;
581
+ if (h && !H(h[1]))
582
+ return !1;
583
+ }
584
+ } else
585
+ return !1;
586
+ return !0;
587
+ default:
588
+ return !1;
589
+ }
590
+ }
591
+ function xe(a, l) {
592
+ return a === "symbol" ? !0 : l ? l["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && l instanceof Symbol : !1;
593
+ }
594
+ function L(a) {
595
+ var l = typeof a;
596
+ return Array.isArray(a) ? "array" : a instanceof RegExp ? "object" : xe(l, a) ? "symbol" : l;
597
+ }
598
+ function F(a) {
599
+ if (typeof a > "u" || a === null)
600
+ return "" + a;
601
+ var l = L(a);
602
+ if (l === "object") {
603
+ if (a instanceof Date)
604
+ return "date";
605
+ if (a instanceof RegExp)
606
+ return "regexp";
607
+ }
608
+ return l;
609
+ }
610
+ function oe(a) {
611
+ var l = F(a);
612
+ switch (l) {
613
+ case "array":
614
+ case "object":
615
+ return "an " + l;
616
+ case "boolean":
617
+ case "date":
618
+ case "regexp":
619
+ return "a " + l;
620
+ default:
621
+ return l;
622
+ }
623
+ }
624
+ function Se(a) {
625
+ return !a.constructor || !a.constructor.name ? d : a.constructor.name;
626
+ }
627
+ return T.checkPropTypes = o, T.resetWarningCache = o.resetWarningCache, T.PropTypes = T, T;
628
+ }, Ce;
629
+ }
630
+ var Ae, qe;
631
+ function cr() {
632
+ if (qe) return Ae;
633
+ qe = 1;
634
+ var e = $e();
635
+ function r() {
636
+ }
637
+ function n() {
638
+ }
639
+ return n.resetWarningCache = r, Ae = function() {
640
+ function t(s, f, p, y, g, m) {
641
+ if (m !== e) {
642
+ var d = new Error(
643
+ "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"
644
+ );
645
+ throw d.name = "Invariant Violation", d;
646
+ }
647
+ }
648
+ t.isRequired = t;
649
+ function o() {
650
+ return t;
651
+ }
652
+ var i = {
653
+ array: t,
654
+ bigint: t,
655
+ bool: t,
656
+ func: t,
657
+ number: t,
658
+ object: t,
659
+ string: t,
660
+ symbol: t,
661
+ any: t,
662
+ arrayOf: o,
663
+ element: t,
664
+ elementType: t,
665
+ instanceOf: o,
666
+ node: t,
667
+ objectOf: o,
668
+ oneOf: o,
669
+ oneOfType: o,
670
+ shape: o,
671
+ exact: o,
672
+ checkPropTypes: n,
673
+ resetWarningCache: r
674
+ };
675
+ return i.PropTypes = i, i;
676
+ }, Ae;
677
+ }
678
+ if (process.env.NODE_ENV !== "production") {
679
+ var fr = He(), lr = !0;
680
+ je.exports = ur()(fr.isElement, lr);
681
+ } else
682
+ je.exports = cr()();
683
+ var dr = je.exports;
684
+ const V = /* @__PURE__ */ nr(dr);
685
+ function X(e) {
686
+ if (typeof e != "object" || e === null)
687
+ return !1;
688
+ const r = Object.getPrototypeOf(e);
689
+ return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
690
+ }
691
+ function Je(e) {
692
+ if (!X(e))
693
+ return e;
694
+ const r = {};
695
+ return Object.keys(e).forEach((n) => {
696
+ r[n] = Je(e[n]);
697
+ }), r;
698
+ }
699
+ function ae(e, r, n = {
700
+ clone: !0
701
+ }) {
702
+ const t = n.clone ? J({}, e) : e;
703
+ return X(e) && X(r) && Object.keys(r).forEach((o) => {
704
+ X(r[o]) && // Avoid prototype pollution
705
+ Object.prototype.hasOwnProperty.call(e, o) && X(e[o]) ? t[o] = ae(e[o], r[o], n) : n.clone ? t[o] = X(r[o]) ? Je(r[o]) : r[o] : t[o] = r[o];
706
+ }), t;
707
+ }
708
+ function pr(e) {
709
+ let r = "https://mui.com/production-error/?code=" + e;
710
+ for (let n = 1; n < arguments.length; n += 1)
711
+ r += "&args[]=" + encodeURIComponent(arguments[n]);
712
+ return "Minified MUI error #" + e + "; visit " + r + " for the full message.";
713
+ }
714
+ function Ze(e) {
715
+ if (typeof e != "string")
716
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : pr(7));
717
+ return e.charAt(0).toUpperCase() + e.slice(1);
718
+ }
719
+ /**
720
+ * @mui/styled-engine v5.16.6
721
+ *
722
+ * @license MIT
723
+ * This source code is licensed under the MIT license found in the
724
+ * LICENSE file in the root directory of this source tree.
725
+ */
726
+ function mt(e, r) {
727
+ const n = tr(e, r);
728
+ return process.env.NODE_ENV !== "production" ? (...t) => {
729
+ const o = typeof e == "string" ? `"${e}"` : "component";
730
+ 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(`
731
+ `)) : t.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), n(...t);
732
+ } : n;
733
+ }
734
+ const gt = (e, r) => {
735
+ Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
736
+ }, yr = ["values", "unit", "step"], mr = (e) => {
737
+ const r = Object.keys(e).map((n) => ({
738
+ key: n,
739
+ val: e[n]
740
+ })) || [];
741
+ return r.sort((n, t) => n.val - t.val), r.reduce((n, t) => J({}, n, {
742
+ [t.key]: t.val
743
+ }), {});
744
+ };
745
+ function gr(e) {
746
+ const {
747
+ // The breakpoint **start** at this value.
748
+ // For instance with the first breakpoint xs: [xs, sm).
749
+ values: r = {
750
+ xs: 0,
751
+ // phone
752
+ sm: 600,
753
+ // tablet
754
+ md: 900,
755
+ // small laptop
756
+ lg: 1200,
757
+ // desktop
758
+ xl: 1536
759
+ // large screen
760
+ },
761
+ unit: n = "px",
762
+ step: t = 5
763
+ } = e, o = Fe(e, yr), i = mr(r), s = Object.keys(i);
764
+ function f(d) {
765
+ return `@media (min-width:${typeof r[d] == "number" ? r[d] : d}${n})`;
766
+ }
767
+ function p(d) {
768
+ return `@media (max-width:${(typeof r[d] == "number" ? r[d] : d) - t / 100}${n})`;
769
+ }
770
+ function y(d, T) {
771
+ const x = s.indexOf(T);
772
+ return `@media (min-width:${typeof r[d] == "number" ? r[d] : d}${n}) and (max-width:${(x !== -1 && typeof r[s[x]] == "number" ? r[s[x]] : T) - t / 100}${n})`;
773
+ }
774
+ function g(d) {
775
+ return s.indexOf(d) + 1 < s.length ? y(d, s[s.indexOf(d) + 1]) : f(d);
776
+ }
777
+ function m(d) {
778
+ const T = s.indexOf(d);
779
+ return T === 0 ? f(s[1]) : T === s.length - 1 ? p(s[T]) : y(d, s[s.indexOf(d) + 1]).replace("@media", "@media not all and");
780
+ }
781
+ return J({
782
+ keys: s,
783
+ values: i,
784
+ up: f,
785
+ down: p,
786
+ between: y,
787
+ only: g,
788
+ not: m,
789
+ unit: n
790
+ }, o);
791
+ }
792
+ const hr = {
793
+ borderRadius: 4
794
+ }, z = process.env.NODE_ENV !== "production" ? V.oneOfType([V.number, V.string, V.object, V.array]) : {};
795
+ function ee(e, r) {
796
+ return r ? ae(e, r, {
797
+ clone: !1
798
+ // No need to clone deep, it's way faster.
799
+ }) : e;
800
+ }
801
+ const Ie = {
802
+ xs: 0,
803
+ // phone
804
+ sm: 600,
805
+ // tablet
806
+ md: 900,
807
+ // small laptop
808
+ lg: 1200,
809
+ // desktop
810
+ xl: 1536
811
+ // large screen
812
+ }, ze = {
813
+ // Sorted ASC by size. That's important.
814
+ // It can't be configured as it's used statically for propTypes.
815
+ keys: ["xs", "sm", "md", "lg", "xl"],
816
+ up: (e) => `@media (min-width:${Ie[e]}px)`
817
+ };
818
+ function q(e, r, n) {
819
+ const t = e.theme || {};
820
+ if (Array.isArray(r)) {
821
+ const i = t.breakpoints || ze;
822
+ return r.reduce((s, f, p) => (s[i.up(i.keys[p])] = n(r[p]), s), {});
823
+ }
824
+ if (typeof r == "object") {
825
+ const i = t.breakpoints || ze;
826
+ return Object.keys(r).reduce((s, f) => {
827
+ if (Object.keys(i.values || Ie).indexOf(f) !== -1) {
828
+ const p = i.up(f);
829
+ s[p] = n(r[f], f);
830
+ } else {
831
+ const p = f;
832
+ s[p] = r[p];
833
+ }
834
+ return s;
835
+ }, {});
836
+ }
837
+ return n(r);
838
+ }
839
+ function vr(e = {}) {
840
+ var r;
841
+ return ((r = e.keys) == null ? void 0 : r.reduce((t, o) => {
842
+ const i = e.up(o);
843
+ return t[i] = {}, t;
844
+ }, {})) || {};
845
+ }
846
+ function br(e, r) {
847
+ return e.reduce((n, t) => {
848
+ const o = n[t];
849
+ return (!o || Object.keys(o).length === 0) && delete n[t], n;
850
+ }, r);
851
+ }
852
+ function Er(e, r) {
853
+ if (typeof e != "object")
854
+ return {};
855
+ const n = {}, t = Object.keys(r);
856
+ return Array.isArray(e) ? t.forEach((o, i) => {
857
+ i < e.length && (n[o] = !0);
858
+ }) : t.forEach((o) => {
859
+ e[o] != null && (n[o] = !0);
860
+ }), n;
861
+ }
862
+ function ht({
863
+ values: e,
864
+ breakpoints: r,
865
+ base: n
866
+ }) {
867
+ const t = n || Er(e, r), o = Object.keys(t);
868
+ if (o.length === 0)
869
+ return e;
870
+ let i;
871
+ return o.reduce((s, f, p) => (Array.isArray(e) ? (s[f] = e[p] != null ? e[p] : e[i], i = p) : typeof e == "object" ? (s[f] = e[f] != null ? e[f] : e[i], i = f) : s[f] = e, s), {});
872
+ }
873
+ function ce(e, r, n = !0) {
874
+ if (!r || typeof r != "string")
875
+ return null;
876
+ if (e && e.vars && n) {
877
+ const t = `vars.${r}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
878
+ if (t != null)
879
+ return t;
880
+ }
881
+ return r.split(".").reduce((t, o) => t && t[o] != null ? t[o] : null, e);
882
+ }
883
+ function ue(e, r, n, t = n) {
884
+ let o;
885
+ return typeof e == "function" ? o = e(n) : Array.isArray(e) ? o = e[n] || t : o = ce(e, n) || t, r && (o = r(o, t, e)), o;
886
+ }
887
+ function I(e) {
888
+ const {
889
+ prop: r,
890
+ cssProperty: n = e.prop,
891
+ themeKey: t,
892
+ transform: o
893
+ } = e, i = (s) => {
894
+ if (s[r] == null)
895
+ return null;
896
+ const f = s[r], p = s.theme, y = ce(p, t) || {};
897
+ return q(s, f, (m) => {
898
+ let d = ue(y, o, m);
899
+ return m === d && typeof m == "string" && (d = ue(y, o, `${r}${m === "default" ? "" : Ze(m)}`, m)), n === !1 ? d : {
900
+ [n]: d
901
+ };
902
+ });
903
+ };
904
+ return i.propTypes = process.env.NODE_ENV !== "production" ? {
905
+ [r]: z
906
+ } : {}, i.filterProps = [r], i;
907
+ }
908
+ function Tr(e) {
909
+ const r = {};
910
+ return (n) => (r[n] === void 0 && (r[n] = e(n)), r[n]);
911
+ }
912
+ const Or = {
913
+ m: "margin",
914
+ p: "padding"
915
+ }, xr = {
916
+ t: "Top",
917
+ r: "Right",
918
+ b: "Bottom",
919
+ l: "Left",
920
+ x: ["Left", "Right"],
921
+ y: ["Top", "Bottom"]
922
+ }, Ge = {
923
+ marginX: "mx",
924
+ marginY: "my",
925
+ paddingX: "px",
926
+ paddingY: "py"
927
+ }, Sr = Tr((e) => {
928
+ if (e.length > 2)
929
+ if (Ge[e])
930
+ e = Ge[e];
931
+ else
932
+ return [e];
933
+ const [r, n] = e.split(""), t = Or[r], o = xr[n] || "";
934
+ return Array.isArray(o) ? o.map((i) => t + i) : [t + o];
935
+ }), fe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], le = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Pr = [...fe, ...le];
936
+ function re(e, r, n, t) {
937
+ var o;
938
+ const i = (o = ce(e, r, !1)) != null ? o : n;
939
+ 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(`
940
+ `)) : 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(`
941
+ `))), 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(`
942
+ `)), () => {
943
+ });
944
+ }
945
+ function Qe(e) {
946
+ return re(e, "spacing", 8, "spacing");
947
+ }
948
+ function te(e, r) {
949
+ if (typeof r == "string" || r == null)
950
+ return r;
951
+ const n = Math.abs(r), t = e(n);
952
+ return r >= 0 ? t : typeof t == "number" ? -t : `-${t}`;
953
+ }
954
+ function _r(e, r) {
955
+ return (n) => e.reduce((t, o) => (t[o] = te(r, n), t), {});
956
+ }
957
+ function wr(e, r, n, t) {
958
+ if (r.indexOf(n) === -1)
959
+ return null;
960
+ const o = Sr(n), i = _r(o, t), s = e[n];
961
+ return q(e, s, i);
962
+ }
963
+ function Ve(e, r) {
964
+ const n = Qe(e.theme);
965
+ return Object.keys(e).map((t) => wr(e, r, t, n)).reduce(ee, {});
966
+ }
967
+ function j(e) {
968
+ return Ve(e, fe);
969
+ }
970
+ j.propTypes = process.env.NODE_ENV !== "production" ? fe.reduce((e, r) => (e[r] = z, e), {}) : {};
971
+ j.filterProps = fe;
972
+ function $(e) {
973
+ return Ve(e, le);
974
+ }
975
+ $.propTypes = process.env.NODE_ENV !== "production" ? le.reduce((e, r) => (e[r] = z, e), {}) : {};
976
+ $.filterProps = le;
977
+ process.env.NODE_ENV !== "production" && Pr.reduce((e, r) => (e[r] = z, e), {});
978
+ function Rr(e = 8) {
979
+ if (e.mui)
980
+ return e;
981
+ const r = Qe({
982
+ spacing: e
983
+ }), 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) => {
984
+ const s = r(i);
985
+ return typeof s == "number" ? `${s}px` : s;
986
+ }).join(" "));
987
+ return n.mui = !0, n;
988
+ }
989
+ function de(...e) {
990
+ const r = e.reduce((t, o) => (o.filterProps.forEach((i) => {
991
+ t[i] = o;
992
+ }), t), {}), n = (t) => Object.keys(t).reduce((o, i) => r[i] ? ee(o, r[i](t)) : o, {});
993
+ 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;
994
+ }
995
+ function W(e) {
996
+ return typeof e != "number" ? e : `${e}px solid`;
997
+ }
998
+ function K(e, r) {
999
+ return I({
1000
+ prop: e,
1001
+ themeKey: "borders",
1002
+ transform: r
1003
+ });
1004
+ }
1005
+ const Cr = K("border", W), Ar = K("borderTop", W), jr = K("borderRight", W), $r = K("borderBottom", W), Ir = K("borderLeft", W), Mr = K("borderColor"), kr = K("borderTopColor"), Br = K("borderRightColor"), Dr = K("borderBottomColor"), Nr = K("borderLeftColor"), Yr = K("outline", W), Wr = K("outlineColor"), pe = (e) => {
1006
+ if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1007
+ const r = re(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (t) => ({
1008
+ borderRadius: te(r, t)
1009
+ });
1010
+ return q(e, e.borderRadius, n);
1011
+ }
1012
+ return null;
1013
+ };
1014
+ pe.propTypes = process.env.NODE_ENV !== "production" ? {
1015
+ borderRadius: z
1016
+ } : {};
1017
+ pe.filterProps = ["borderRadius"];
1018
+ de(Cr, Ar, jr, $r, Ir, Mr, kr, Br, Dr, Nr, pe, Yr, Wr);
1019
+ const ye = (e) => {
1020
+ if (e.gap !== void 0 && e.gap !== null) {
1021
+ const r = re(e.theme, "spacing", 8, "gap"), n = (t) => ({
1022
+ gap: te(r, t)
1023
+ });
1024
+ return q(e, e.gap, n);
1025
+ }
1026
+ return null;
1027
+ };
1028
+ ye.propTypes = process.env.NODE_ENV !== "production" ? {
1029
+ gap: z
1030
+ } : {};
1031
+ ye.filterProps = ["gap"];
1032
+ const me = (e) => {
1033
+ if (e.columnGap !== void 0 && e.columnGap !== null) {
1034
+ const r = re(e.theme, "spacing", 8, "columnGap"), n = (t) => ({
1035
+ columnGap: te(r, t)
1036
+ });
1037
+ return q(e, e.columnGap, n);
1038
+ }
1039
+ return null;
1040
+ };
1041
+ me.propTypes = process.env.NODE_ENV !== "production" ? {
1042
+ columnGap: z
1043
+ } : {};
1044
+ me.filterProps = ["columnGap"];
1045
+ const ge = (e) => {
1046
+ if (e.rowGap !== void 0 && e.rowGap !== null) {
1047
+ const r = re(e.theme, "spacing", 8, "rowGap"), n = (t) => ({
1048
+ rowGap: te(r, t)
1049
+ });
1050
+ return q(e, e.rowGap, n);
1051
+ }
1052
+ return null;
1053
+ };
1054
+ ge.propTypes = process.env.NODE_ENV !== "production" ? {
1055
+ rowGap: z
1056
+ } : {};
1057
+ ge.filterProps = ["rowGap"];
1058
+ const Kr = I({
1059
+ prop: "gridColumn"
1060
+ }), Lr = I({
1061
+ prop: "gridRow"
1062
+ }), Ur = I({
1063
+ prop: "gridAutoFlow"
1064
+ }), qr = I({
1065
+ prop: "gridAutoColumns"
1066
+ }), zr = I({
1067
+ prop: "gridAutoRows"
1068
+ }), Gr = I({
1069
+ prop: "gridTemplateColumns"
1070
+ }), Fr = I({
1071
+ prop: "gridTemplateRows"
1072
+ }), Hr = I({
1073
+ prop: "gridTemplateAreas"
1074
+ }), Xr = I({
1075
+ prop: "gridArea"
1076
+ });
1077
+ de(ye, me, ge, Kr, Lr, Ur, qr, zr, Gr, Fr, Hr, Xr);
1078
+ function Z(e, r) {
1079
+ return r === "grey" ? r : e;
1080
+ }
1081
+ const Jr = I({
1082
+ prop: "color",
1083
+ themeKey: "palette",
1084
+ transform: Z
1085
+ }), Zr = I({
1086
+ prop: "bgcolor",
1087
+ cssProperty: "backgroundColor",
1088
+ themeKey: "palette",
1089
+ transform: Z
1090
+ }), Qr = I({
1091
+ prop: "backgroundColor",
1092
+ themeKey: "palette",
1093
+ transform: Z
1094
+ });
1095
+ de(Jr, Zr, Qr);
1096
+ function N(e) {
1097
+ return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1098
+ }
1099
+ const Vr = I({
1100
+ prop: "width",
1101
+ transform: N
1102
+ }), Me = (e) => {
1103
+ if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1104
+ const r = (n) => {
1105
+ var t, o;
1106
+ const i = ((t = e.theme) == null || (t = t.breakpoints) == null || (t = t.values) == null ? void 0 : t[n]) || Ie[n];
1107
+ return i ? ((o = e.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? {
1108
+ maxWidth: `${i}${e.theme.breakpoints.unit}`
1109
+ } : {
1110
+ maxWidth: i
1111
+ } : {
1112
+ maxWidth: N(n)
1113
+ };
1114
+ };
1115
+ return q(e, e.maxWidth, r);
1116
+ }
1117
+ return null;
1118
+ };
1119
+ Me.filterProps = ["maxWidth"];
1120
+ const et = I({
1121
+ prop: "minWidth",
1122
+ transform: N
1123
+ }), rt = I({
1124
+ prop: "height",
1125
+ transform: N
1126
+ }), tt = I({
1127
+ prop: "maxHeight",
1128
+ transform: N
1129
+ }), nt = I({
1130
+ prop: "minHeight",
1131
+ transform: N
1132
+ });
1133
+ I({
1134
+ prop: "size",
1135
+ cssProperty: "width",
1136
+ transform: N
1137
+ });
1138
+ I({
1139
+ prop: "size",
1140
+ cssProperty: "height",
1141
+ transform: N
1142
+ });
1143
+ const ot = I({
1144
+ prop: "boxSizing"
1145
+ });
1146
+ de(Vr, Me, et, rt, tt, nt, ot);
1147
+ const er = {
1148
+ // borders
1149
+ border: {
1150
+ themeKey: "borders",
1151
+ transform: W
1152
+ },
1153
+ borderTop: {
1154
+ themeKey: "borders",
1155
+ transform: W
1156
+ },
1157
+ borderRight: {
1158
+ themeKey: "borders",
1159
+ transform: W
1160
+ },
1161
+ borderBottom: {
1162
+ themeKey: "borders",
1163
+ transform: W
1164
+ },
1165
+ borderLeft: {
1166
+ themeKey: "borders",
1167
+ transform: W
1168
+ },
1169
+ borderColor: {
1170
+ themeKey: "palette"
1171
+ },
1172
+ borderTopColor: {
1173
+ themeKey: "palette"
1174
+ },
1175
+ borderRightColor: {
1176
+ themeKey: "palette"
1177
+ },
1178
+ borderBottomColor: {
1179
+ themeKey: "palette"
1180
+ },
1181
+ borderLeftColor: {
1182
+ themeKey: "palette"
1183
+ },
1184
+ outline: {
1185
+ themeKey: "borders",
1186
+ transform: W
1187
+ },
1188
+ outlineColor: {
1189
+ themeKey: "palette"
1190
+ },
1191
+ borderRadius: {
1192
+ themeKey: "shape.borderRadius",
1193
+ style: pe
1194
+ },
1195
+ // palette
1196
+ color: {
1197
+ themeKey: "palette",
1198
+ transform: Z
1199
+ },
1200
+ bgcolor: {
1201
+ themeKey: "palette",
1202
+ cssProperty: "backgroundColor",
1203
+ transform: Z
1204
+ },
1205
+ backgroundColor: {
1206
+ themeKey: "palette",
1207
+ transform: Z
1208
+ },
1209
+ // spacing
1210
+ p: {
1211
+ style: $
1212
+ },
1213
+ pt: {
1214
+ style: $
1215
+ },
1216
+ pr: {
1217
+ style: $
1218
+ },
1219
+ pb: {
1220
+ style: $
1221
+ },
1222
+ pl: {
1223
+ style: $
1224
+ },
1225
+ px: {
1226
+ style: $
1227
+ },
1228
+ py: {
1229
+ style: $
1230
+ },
1231
+ padding: {
1232
+ style: $
1233
+ },
1234
+ paddingTop: {
1235
+ style: $
1236
+ },
1237
+ paddingRight: {
1238
+ style: $
1239
+ },
1240
+ paddingBottom: {
1241
+ style: $
1242
+ },
1243
+ paddingLeft: {
1244
+ style: $
1245
+ },
1246
+ paddingX: {
1247
+ style: $
1248
+ },
1249
+ paddingY: {
1250
+ style: $
1251
+ },
1252
+ paddingInline: {
1253
+ style: $
1254
+ },
1255
+ paddingInlineStart: {
1256
+ style: $
1257
+ },
1258
+ paddingInlineEnd: {
1259
+ style: $
1260
+ },
1261
+ paddingBlock: {
1262
+ style: $
1263
+ },
1264
+ paddingBlockStart: {
1265
+ style: $
1266
+ },
1267
+ paddingBlockEnd: {
1268
+ style: $
1269
+ },
1270
+ m: {
1271
+ style: j
1272
+ },
1273
+ mt: {
1274
+ style: j
1275
+ },
1276
+ mr: {
1277
+ style: j
1278
+ },
1279
+ mb: {
1280
+ style: j
1281
+ },
1282
+ ml: {
1283
+ style: j
1284
+ },
1285
+ mx: {
1286
+ style: j
1287
+ },
1288
+ my: {
1289
+ style: j
1290
+ },
1291
+ margin: {
1292
+ style: j
1293
+ },
1294
+ marginTop: {
1295
+ style: j
1296
+ },
1297
+ marginRight: {
1298
+ style: j
1299
+ },
1300
+ marginBottom: {
1301
+ style: j
1302
+ },
1303
+ marginLeft: {
1304
+ style: j
1305
+ },
1306
+ marginX: {
1307
+ style: j
1308
+ },
1309
+ marginY: {
1310
+ style: j
1311
+ },
1312
+ marginInline: {
1313
+ style: j
1314
+ },
1315
+ marginInlineStart: {
1316
+ style: j
1317
+ },
1318
+ marginInlineEnd: {
1319
+ style: j
1320
+ },
1321
+ marginBlock: {
1322
+ style: j
1323
+ },
1324
+ marginBlockStart: {
1325
+ style: j
1326
+ },
1327
+ marginBlockEnd: {
1328
+ style: j
1329
+ },
1330
+ // display
1331
+ displayPrint: {
1332
+ cssProperty: !1,
1333
+ transform: (e) => ({
1334
+ "@media print": {
1335
+ display: e
1336
+ }
1337
+ })
1338
+ },
1339
+ display: {},
1340
+ overflow: {},
1341
+ textOverflow: {},
1342
+ visibility: {},
1343
+ whiteSpace: {},
1344
+ // flexbox
1345
+ flexBasis: {},
1346
+ flexDirection: {},
1347
+ flexWrap: {},
1348
+ justifyContent: {},
1349
+ alignItems: {},
1350
+ alignContent: {},
1351
+ order: {},
1352
+ flex: {},
1353
+ flexGrow: {},
1354
+ flexShrink: {},
1355
+ alignSelf: {},
1356
+ justifyItems: {},
1357
+ justifySelf: {},
1358
+ // grid
1359
+ gap: {
1360
+ style: ye
1361
+ },
1362
+ rowGap: {
1363
+ style: ge
1364
+ },
1365
+ columnGap: {
1366
+ style: me
1367
+ },
1368
+ gridColumn: {},
1369
+ gridRow: {},
1370
+ gridAutoFlow: {},
1371
+ gridAutoColumns: {},
1372
+ gridAutoRows: {},
1373
+ gridTemplateColumns: {},
1374
+ gridTemplateRows: {},
1375
+ gridTemplateAreas: {},
1376
+ gridArea: {},
1377
+ // positions
1378
+ position: {},
1379
+ zIndex: {
1380
+ themeKey: "zIndex"
1381
+ },
1382
+ top: {},
1383
+ right: {},
1384
+ bottom: {},
1385
+ left: {},
1386
+ // shadows
1387
+ boxShadow: {
1388
+ themeKey: "shadows"
1389
+ },
1390
+ // sizing
1391
+ width: {
1392
+ transform: N
1393
+ },
1394
+ maxWidth: {
1395
+ style: Me
1396
+ },
1397
+ minWidth: {
1398
+ transform: N
1399
+ },
1400
+ height: {
1401
+ transform: N
1402
+ },
1403
+ maxHeight: {
1404
+ transform: N
1405
+ },
1406
+ minHeight: {
1407
+ transform: N
1408
+ },
1409
+ boxSizing: {},
1410
+ // typography
1411
+ fontFamily: {
1412
+ themeKey: "typography"
1413
+ },
1414
+ fontSize: {
1415
+ themeKey: "typography"
1416
+ },
1417
+ fontStyle: {
1418
+ themeKey: "typography"
1419
+ },
1420
+ fontWeight: {
1421
+ themeKey: "typography"
1422
+ },
1423
+ letterSpacing: {},
1424
+ textTransform: {},
1425
+ lineHeight: {},
1426
+ textAlign: {},
1427
+ typography: {
1428
+ cssProperty: !1,
1429
+ themeKey: "typography"
1430
+ }
1431
+ };
1432
+ function it(...e) {
1433
+ const r = e.reduce((t, o) => t.concat(Object.keys(o)), []), n = new Set(r);
1434
+ return e.every((t) => n.size === Object.keys(t).length);
1435
+ }
1436
+ function st(e, r) {
1437
+ return typeof e == "function" ? e(r) : e;
1438
+ }
1439
+ function at() {
1440
+ function e(n, t, o, i) {
1441
+ const s = {
1442
+ [n]: t,
1443
+ theme: o
1444
+ }, f = i[n];
1445
+ if (!f)
1446
+ return {
1447
+ [n]: t
1448
+ };
1449
+ const {
1450
+ cssProperty: p = n,
1451
+ themeKey: y,
1452
+ transform: g,
1453
+ style: m
1454
+ } = f;
1455
+ if (t == null)
1456
+ return null;
1457
+ if (y === "typography" && t === "inherit")
1458
+ return {
1459
+ [n]: t
1460
+ };
1461
+ const d = ce(o, y) || {};
1462
+ return m ? m(s) : q(s, t, (x) => {
1463
+ let w = ue(d, g, x);
1464
+ return x === w && typeof x == "string" && (w = ue(d, g, `${n}${x === "default" ? "" : Ze(x)}`, x)), p === !1 ? w : {
1465
+ [p]: w
1466
+ };
1467
+ });
1468
+ }
1469
+ function r(n) {
1470
+ var t;
1471
+ const {
1472
+ sx: o,
1473
+ theme: i = {}
1474
+ } = n || {};
1475
+ if (!o)
1476
+ return null;
1477
+ const s = (t = i.unstable_sxConfig) != null ? t : er;
1478
+ function f(p) {
1479
+ let y = p;
1480
+ if (typeof p == "function")
1481
+ y = p(i);
1482
+ else if (typeof p != "object")
1483
+ return p;
1484
+ if (!y)
1485
+ return null;
1486
+ const g = vr(i.breakpoints), m = Object.keys(g);
1487
+ let d = g;
1488
+ return Object.keys(y).forEach((T) => {
1489
+ const x = st(y[T], i);
1490
+ if (x != null)
1491
+ if (typeof x == "object")
1492
+ if (s[T])
1493
+ d = ee(d, e(T, x, i, s));
1494
+ else {
1495
+ const w = q({
1496
+ theme: i
1497
+ }, x, (M) => ({
1498
+ [T]: M
1499
+ }));
1500
+ it(w, x) ? d[T] = r({
1501
+ sx: x,
1502
+ theme: i
1503
+ }) : d = ee(d, w);
1504
+ }
1505
+ else
1506
+ d = ee(d, e(T, x, i, s));
1507
+ }), br(m, d);
1508
+ }
1509
+ return Array.isArray(o) ? o.map(f) : f(o);
1510
+ }
1511
+ return r;
1512
+ }
1513
+ const rr = at();
1514
+ rr.filterProps = ["sx"];
1515
+ function ut(e, r) {
1516
+ const n = this;
1517
+ return n.vars && typeof n.getColorSchemeSelector == "function" ? {
1518
+ [n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/, "*:where($1)")]: r
1519
+ } : n.palette.mode === e ? r : {};
1520
+ }
1521
+ const ct = ["breakpoints", "palette", "spacing", "shape"];
1522
+ function vt(e = {}, ...r) {
1523
+ const {
1524
+ breakpoints: n = {},
1525
+ palette: t = {},
1526
+ spacing: o,
1527
+ shape: i = {}
1528
+ } = e, s = Fe(e, ct), f = gr(n), p = Rr(o);
1529
+ let y = ae({
1530
+ breakpoints: f,
1531
+ direction: "ltr",
1532
+ components: {},
1533
+ // Inject component definitions.
1534
+ palette: J({
1535
+ mode: "light"
1536
+ }, t),
1537
+ spacing: p,
1538
+ shape: J({}, hr, i)
1539
+ }, s);
1540
+ return y.applyStyles = ut, y = r.reduce((g, m) => ae(g, m), y), y.unstable_sxConfig = J({}, er, s == null ? void 0 : s.unstable_sxConfig), y.unstable_sx = function(m) {
1541
+ return rr({
1542
+ sx: m,
1543
+ theme: this
1544
+ });
1545
+ }, y;
1546
+ }
1547
+ export {
1548
+ V as P,
1549
+ ae as a,
1550
+ vt as b,
1551
+ Ze as c,
1552
+ er as d,
1553
+ rr as e,
1554
+ gt as f,
1555
+ yt as g,
1556
+ pt as h,
1557
+ X as i,
1558
+ nr as j,
1559
+ pr as k,
1560
+ q as l,
1561
+ ht as r,
1562
+ mt as s
1563
+ };