@evolver-fi/evolver-basics-admin-components 1.0.0 → 8.2.2-alpha.3

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 (198) hide show
  1. package/dist/EnumSelectFilter-DDWIjz5i.js +35 -0
  2. package/dist/EnumSelectFilter-DDWIjz5i.js.map +1 -0
  3. package/dist/FilterLink-OxQDWR5G.js +29 -0
  4. package/dist/FilterLink-OxQDWR5G.js.map +1 -0
  5. package/dist/Table-IciQttr3.js +79 -0
  6. package/dist/Table-IciQttr3.js.map +1 -0
  7. package/dist/TableMetadataDisplay-BM61EulC.js +49 -0
  8. package/dist/TableMetadataDisplay-BM61EulC.js.map +1 -0
  9. package/dist/TextFilter-CLOKjiSd.js +54 -0
  10. package/dist/TextFilter-CLOKjiSd.js.map +1 -0
  11. package/dist/api-CMiZYkfc.js +32 -0
  12. package/dist/api-CMiZYkfc.js.map +1 -0
  13. package/dist/breadcrumbs/index.js +2 -5
  14. package/dist/breadcrumbs-BAwnKRxL.js +32 -0
  15. package/dist/breadcrumbs-BAwnKRxL.js.map +1 -0
  16. package/dist/breadcrumbs.css +1 -0
  17. package/dist/client/index.js +330 -369
  18. package/dist/client/index.js.map +1 -1
  19. package/dist/configuration-values/index.js +2 -13
  20. package/dist/configuration-values-CjOfmPRq.js +3464 -0
  21. package/dist/configuration-values-CjOfmPRq.js.map +1 -0
  22. package/dist/control-values/index.js +2 -10
  23. package/dist/control-values-CzQOB4WJ.js +144 -0
  24. package/dist/control-values-CzQOB4WJ.js.map +1 -0
  25. package/dist/exhaustiveValues-BYWkg9M1.js +6 -0
  26. package/dist/exhaustiveValues-BYWkg9M1.js.map +1 -0
  27. package/dist/filter/index.js +4 -10
  28. package/dist/formData-BO275hRZ.js +43 -0
  29. package/dist/formData-BO275hRZ.js.map +1 -0
  30. package/dist/jwt-tokens/index.js +2 -9
  31. package/dist/jwt-tokens-DnKsHei4.js +71 -0
  32. package/dist/jwt-tokens-DnKsHei4.js.map +1 -0
  33. package/dist/main/index.js +17 -87
  34. package/dist/message-log/index.js +2 -12
  35. package/dist/message-log-BdrJtbsP.js +337 -0
  36. package/dist/message-log-BdrJtbsP.js.map +1 -0
  37. package/dist/message-sending/index.js +2 -10
  38. package/dist/message-sending-dvTw2fFm.js +181 -0
  39. package/dist/message-sending-dvTw2fFm.js.map +1 -0
  40. package/dist/message-targets/index.js +2 -15
  41. package/dist/message-targets-8EppIJde.js +406 -0
  42. package/dist/message-targets-8EppIJde.js.map +1 -0
  43. package/dist/pagination-C4QUYRMf.js +20 -0
  44. package/dist/pagination-C4QUYRMf.js.map +1 -0
  45. package/dist/scheduled-tasks/index.js +2 -16
  46. package/dist/scheduled-tasks-BtBnBrE7.js +647 -0
  47. package/dist/scheduled-tasks-BtBnBrE7.js.map +1 -0
  48. package/dist/schemas-D-8_LuND.js +2986 -0
  49. package/dist/schemas-D-8_LuND.js.map +1 -0
  50. package/dist/table/index.js +2 -6
  51. package/dist/triggerables/index.js +3 -11
  52. package/dist/triggerables-DgrIeQMi.js +51 -0
  53. package/dist/triggerables-DgrIeQMi.js.map +1 -0
  54. package/dist/types/breadcrumbs.d.ts +1 -0
  55. package/dist/types/client/index.d.ts +5 -0
  56. package/dist/types/client.d.ts +1 -0
  57. package/dist/types/common/exhaustiveValues.d.ts +5 -0
  58. package/dist/types/common/formData.d.ts +20 -0
  59. package/dist/types/common/format.d.ts +1 -0
  60. package/dist/types/common/pagination.d.ts +8 -0
  61. package/dist/types/common/types.d.ts +27 -0
  62. package/dist/types/common/validation.d.ts +5 -0
  63. package/dist/types/components/breadcrumbs/BreadCrumbs.d.ts +10 -0
  64. package/dist/types/components/breadcrumbs/index.d.ts +1 -0
  65. package/dist/types/components/filter/EnumSelectFilter.d.ts +7 -0
  66. package/dist/types/components/filter/FilterHelperTexts.d.ts +4 -0
  67. package/dist/types/components/filter/FilterLink.d.ts +2 -0
  68. package/dist/types/components/filter/TextFilter.d.ts +2 -0
  69. package/dist/types/components/filter/createEnumSelectFilter.d.ts +5 -0
  70. package/dist/types/components/filter/index.d.ts +5 -0
  71. package/dist/types/components/filter/types.d.ts +20 -0
  72. package/dist/types/components/metadata/TableMetadataDisplay.d.ts +2 -0
  73. package/dist/types/components/metadata/utils.d.ts +1 -0
  74. package/dist/types/components/table/Pagination.d.ts +7 -0
  75. package/dist/types/components/table/Table.d.ts +3 -0
  76. package/dist/types/components/table/index.d.ts +3 -0
  77. package/dist/types/components/table/types.d.ts +48 -0
  78. package/dist/types/configuration-values.d.ts +1 -0
  79. package/dist/types/control-values.d.ts +1 -0
  80. package/dist/types/filter.d.ts +1 -0
  81. package/dist/types/index.d.ts +11 -0
  82. package/dist/types/jwt-tokens.d.ts +1 -0
  83. package/dist/types/main.d.ts +1 -0
  84. package/dist/types/message-log.d.ts +1 -0
  85. package/dist/types/message-sending.d.ts +1 -0
  86. package/dist/types/message-targets.d.ts +1 -0
  87. package/dist/types/routes/configuration-values/ConfigurationValueFormRoute.d.ts +2 -0
  88. package/dist/types/routes/configuration-values/ConfigurationValuesRoute.d.ts +2 -0
  89. package/dist/types/routes/configuration-values/action.d.ts +8 -0
  90. package/dist/types/routes/configuration-values/api.d.ts +53 -0
  91. package/dist/types/routes/configuration-values/configurationValueColumns.d.ts +4 -0
  92. package/dist/types/routes/configuration-values/index.d.ts +5 -0
  93. package/dist/types/routes/configuration-values/loader.d.ts +52 -0
  94. package/dist/types/routes/control-values/ControlValuesRoute.d.ts +2 -0
  95. package/dist/types/routes/control-values/SingleControlValueRoute.d.ts +2 -0
  96. package/dist/types/routes/control-values/api.d.ts +43 -0
  97. package/dist/types/routes/control-values/controlValueColumns.d.ts +4 -0
  98. package/dist/types/routes/control-values/index.d.ts +4 -0
  99. package/dist/types/routes/control-values/loader.d.ts +43 -0
  100. package/dist/types/routes/jwt-tokens/JwtTokensRoute.d.ts +6 -0
  101. package/dist/types/routes/jwt-tokens/api.d.ts +41 -0
  102. package/dist/types/routes/jwt-tokens/index.d.ts +3 -0
  103. package/dist/types/routes/jwt-tokens/loader.d.ts +35 -0
  104. package/dist/types/routes/message-log/LogBodyLink.d.ts +6 -0
  105. package/dist/types/routes/message-log/MessageLogRoute.d.ts +2 -0
  106. package/dist/types/routes/message-log/SingleLogMessageRoute.d.ts +6 -0
  107. package/dist/types/routes/message-log/api.d.ts +88 -0
  108. package/dist/types/routes/message-log/index.d.ts +4 -0
  109. package/dist/types/routes/message-log/loader.d.ts +53 -0
  110. package/dist/types/routes/message-log/messageLogColumns.d.ts +3 -0
  111. package/dist/types/routes/message-log/types.d.ts +37 -0
  112. package/dist/types/routes/message-sending/MessageSendingRoute.d.ts +2 -0
  113. package/dist/types/routes/message-sending/SingleMessageRoute.d.ts +2 -0
  114. package/dist/types/routes/message-sending/api.d.ts +92 -0
  115. package/dist/types/routes/message-sending/index.d.ts +4 -0
  116. package/dist/types/routes/message-sending/loader.d.ts +34 -0
  117. package/dist/types/routes/message-sending/messageSendingColumns.d.ts +3 -0
  118. package/dist/types/routes/message-sending/types.d.ts +43 -0
  119. package/dist/types/routes/message-targets/MessageTargetFormRoute.d.ts +2 -0
  120. package/dist/types/routes/message-targets/MessageTargetsRoute.d.ts +2 -0
  121. package/dist/types/routes/message-targets/action.d.ts +8 -0
  122. package/dist/types/routes/message-targets/api.d.ts +12 -0
  123. package/dist/types/routes/message-targets/index.d.ts +5 -0
  124. package/dist/types/routes/message-targets/loader.d.ts +15 -0
  125. package/dist/types/routes/scheduled-tasks/ScheduledTaskFormRoute.d.ts +2 -0
  126. package/dist/types/routes/scheduled-tasks/ScheduledTasksRoute.d.ts +2 -0
  127. package/dist/types/routes/scheduled-tasks/action.d.ts +21 -0
  128. package/dist/types/routes/scheduled-tasks/api.d.ts +75 -0
  129. package/dist/types/routes/scheduled-tasks/index.d.ts +5 -0
  130. package/dist/types/routes/scheduled-tasks/loader.d.ts +57 -0
  131. package/dist/types/routes/scheduled-tasks/parseScheduledTask.d.ts +15 -0
  132. package/dist/types/routes/triggerables/TriggerablesRoute.d.ts +2 -0
  133. package/dist/types/routes/triggerables/action.d.ts +6 -0
  134. package/dist/types/routes/triggerables/api.d.ts +33 -0
  135. package/dist/types/routes/triggerables/index.d.ts +4 -0
  136. package/dist/types/routes/triggerables/loader.d.ts +3 -0
  137. package/dist/types/scheduled-tasks.d.ts +1 -0
  138. package/dist/types/table.d.ts +1 -0
  139. package/dist/types/triggerables.d.ts +1 -0
  140. package/dist/types/types/openapiTypes.d.ts +3321 -0
  141. package/package.json +12 -5
  142. package/dist/ArrowBack-Bifnzxvs.js +0 -6430
  143. package/dist/ArrowBack-Bifnzxvs.js.map +0 -1
  144. package/dist/BreadCrumbs-DMuPCevY.js +0 -19
  145. package/dist/BreadCrumbs-DMuPCevY.js.map +0 -1
  146. package/dist/BreadCrumbs.css +0 -1
  147. package/dist/EnumSelectFilter-BdGla5Yf.js +0 -36
  148. package/dist/EnumSelectFilter-BdGla5Yf.js.map +0 -1
  149. package/dist/ExpandMore-DUn2zrFA.js +0 -1644
  150. package/dist/ExpandMore-DUn2zrFA.js.map +0 -1
  151. package/dist/FilterLink-DIeFjfZX.js +0 -49
  152. package/dist/FilterLink-DIeFjfZX.js.map +0 -1
  153. package/dist/JwtTokensRoute-C74zNV7A.js +0 -2374
  154. package/dist/JwtTokensRoute-C74zNV7A.js.map +0 -1
  155. package/dist/ScheduledTasksRoute-BAetDHqN.js +0 -611
  156. package/dist/ScheduledTasksRoute-BAetDHqN.js.map +0 -1
  157. package/dist/SingleLogMessageRoute-Dl2NFfqG.js +0 -419
  158. package/dist/SingleLogMessageRoute-Dl2NFfqG.js.map +0 -1
  159. package/dist/SingleMessageRoute-fC94BR1C.js +0 -306
  160. package/dist/SingleMessageRoute-fC94BR1C.js.map +0 -1
  161. package/dist/Table-DWiRP1za.js +0 -120
  162. package/dist/Table-DWiRP1za.js.map +0 -1
  163. package/dist/TextFilter-BHWY2B7i.js +0 -67
  164. package/dist/TextFilter-BHWY2B7i.js.map +0 -1
  165. package/dist/TriggerablesRoute-DiEEX1cR.js +0 -3552
  166. package/dist/TriggerablesRoute-DiEEX1cR.js.map +0 -1
  167. package/dist/api-BD_4zyJw.js +0 -38
  168. package/dist/api-BD_4zyJw.js.map +0 -1
  169. package/dist/breadcrumbs/index.js.map +0 -1
  170. package/dist/configuration-values/index.js.map +0 -1
  171. package/dist/control-values/index.js.map +0 -1
  172. package/dist/createSvgIcon-dA_Vj2W0.js +0 -3914
  173. package/dist/createSvgIcon-dA_Vj2W0.js.map +0 -1
  174. package/dist/exhaustiveValues-Dx50G3yz.js +0 -5
  175. package/dist/exhaustiveValues-Dx50G3yz.js.map +0 -1
  176. package/dist/filter/index.js.map +0 -1
  177. package/dist/formData-BH8saYep.js +0 -65
  178. package/dist/formData-BH8saYep.js.map +0 -1
  179. package/dist/jsx-runtime-D858t2LC.js +0 -617
  180. package/dist/jsx-runtime-D858t2LC.js.map +0 -1
  181. package/dist/jwt-tokens/index.js.map +0 -1
  182. package/dist/loader-CrveWlGb.js +0 -375
  183. package/dist/loader-CrveWlGb.js.map +0 -1
  184. package/dist/loader-D-oC32OJ.js +0 -3612
  185. package/dist/loader-D-oC32OJ.js.map +0 -1
  186. package/dist/loader-rVy8Z9xH.js +0 -130
  187. package/dist/loader-rVy8Z9xH.js.map +0 -1
  188. package/dist/main/index.js.map +0 -1
  189. package/dist/message-log/index.js.map +0 -1
  190. package/dist/message-sending/index.js.map +0 -1
  191. package/dist/message-targets/index.js.map +0 -1
  192. package/dist/pagination-Dy4ansKN.js +0 -21
  193. package/dist/pagination-Dy4ansKN.js.map +0 -1
  194. package/dist/scheduled-tasks/index.js.map +0 -1
  195. package/dist/schemas-CBHIJ_eF.js +0 -3059
  196. package/dist/schemas-CBHIJ_eF.js.map +0 -1
  197. package/dist/table/index.js.map +0 -1
  198. package/dist/triggerables/index.js.map +0 -1
@@ -1,3914 +0,0 @@
1
- import * as Z from "react";
2
- import { j as Ue } from "./jsx-runtime-D858t2LC.js";
3
- import on from "@emotion/styled";
4
- import { CacheProvider as sn, Global as an, ThemeContext as cn, css as un, keyframes as fn } from "@emotion/react";
5
- function Pr(e) {
6
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
7
- }
8
- function Oe(e) {
9
- if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
10
- var t = e.default;
11
- if (typeof t == "function") {
12
- var n = function r() {
13
- var o = !1;
14
- try {
15
- o = this instanceof r;
16
- } catch {
17
- }
18
- return o ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
19
- };
20
- n.prototype = t.prototype;
21
- } else n = {};
22
- return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
23
- var o = Object.getOwnPropertyDescriptor(e, r);
24
- Object.defineProperty(n, r, o.get ? o : {
25
- enumerable: !0,
26
- get: function() {
27
- return e[r];
28
- }
29
- });
30
- }), n;
31
- }
32
- var Tt = { exports: {} }, Gt;
33
- function Cr() {
34
- return Gt || (Gt = 1, (function(e) {
35
- function t(n) {
36
- return n && n.__esModule ? n : {
37
- default: n
38
- };
39
- }
40
- e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
41
- })(Tt)), Tt.exports;
42
- }
43
- var Ot = {};
44
- function J() {
45
- return J = Object.assign ? Object.assign.bind() : function(e) {
46
- for (var t = 1; t < arguments.length; t++) {
47
- var n = arguments[t];
48
- for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
49
- }
50
- return e;
51
- }, J.apply(null, arguments);
52
- }
53
- function $e(e) {
54
- if (typeof e != "object" || e === null)
55
- return !1;
56
- const t = Object.getPrototypeOf(e);
57
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
58
- }
59
- function Ar(e) {
60
- if (/* @__PURE__ */ Z.isValidElement(e) || !$e(e))
61
- return e;
62
- const t = {};
63
- return Object.keys(e).forEach((n) => {
64
- t[n] = Ar(e[n]);
65
- }), t;
66
- }
67
- function Ee(e, t, n = {
68
- clone: !0
69
- }) {
70
- const r = n.clone ? J({}, e) : e;
71
- return $e(e) && $e(t) && Object.keys(t).forEach((o) => {
72
- /* @__PURE__ */ Z.isValidElement(t[o]) ? r[o] = t[o] : $e(t[o]) && // Avoid prototype pollution
73
- Object.prototype.hasOwnProperty.call(e, o) && $e(e[o]) ? r[o] = Ee(e[o], t[o], n) : n.clone ? r[o] = $e(t[o]) ? Ar(t[o]) : t[o] : r[o] = t[o];
74
- }), r;
75
- }
76
- const ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
77
- __proto__: null,
78
- default: Ee,
79
- isPlainObject: $e
80
- }, Symbol.toStringTag, { value: "Module" }));
81
- var Qe = { exports: {} }, et = { exports: {} }, V = {};
82
- var Ht;
83
- function dn() {
84
- if (Ht) return V;
85
- Ht = 1;
86
- var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, p = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, y = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, f = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, S = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, E = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, u = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, $ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, z = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
87
- function P(h) {
88
- if (typeof h == "object" && h !== null) {
89
- var Q = h.$$typeof;
90
- switch (Q) {
91
- case t:
92
- switch (h = h.type, h) {
93
- case p:
94
- case d:
95
- case r:
96
- case i:
97
- case o:
98
- case y:
99
- return h;
100
- default:
101
- switch (h = h && h.$$typeof, h) {
102
- case c:
103
- case m:
104
- case E:
105
- case S:
106
- case s:
107
- return h;
108
- default:
109
- return Q;
110
- }
111
- }
112
- case n:
113
- return Q;
114
- }
115
- }
116
- }
117
- function L(h) {
118
- return P(h) === d;
119
- }
120
- return V.AsyncMode = p, V.ConcurrentMode = d, V.ContextConsumer = c, V.ContextProvider = s, V.Element = t, V.ForwardRef = m, V.Fragment = r, V.Lazy = E, V.Memo = S, V.Portal = n, V.Profiler = i, V.StrictMode = o, V.Suspense = y, V.isAsyncMode = function(h) {
121
- return L(h) || P(h) === p;
122
- }, V.isConcurrentMode = L, V.isContextConsumer = function(h) {
123
- return P(h) === c;
124
- }, V.isContextProvider = function(h) {
125
- return P(h) === s;
126
- }, V.isElement = function(h) {
127
- return typeof h == "object" && h !== null && h.$$typeof === t;
128
- }, V.isForwardRef = function(h) {
129
- return P(h) === m;
130
- }, V.isFragment = function(h) {
131
- return P(h) === r;
132
- }, V.isLazy = function(h) {
133
- return P(h) === E;
134
- }, V.isMemo = function(h) {
135
- return P(h) === S;
136
- }, V.isPortal = function(h) {
137
- return P(h) === n;
138
- }, V.isProfiler = function(h) {
139
- return P(h) === i;
140
- }, V.isStrictMode = function(h) {
141
- return P(h) === o;
142
- }, V.isSuspense = function(h) {
143
- return P(h) === y;
144
- }, V.isValidElementType = function(h) {
145
- return typeof h == "string" || typeof h == "function" || h === r || h === d || h === i || h === o || h === y || h === f || typeof h == "object" && h !== null && (h.$$typeof === E || h.$$typeof === S || h.$$typeof === s || h.$$typeof === c || h.$$typeof === m || h.$$typeof === u || h.$$typeof === $ || h.$$typeof === z || h.$$typeof === l);
146
- }, V.typeOf = P, V;
147
- }
148
- var Y = {};
149
- var Xt;
150
- function pn() {
151
- return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && (function() {
152
- var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, p = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, y = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, f = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, S = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, E = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, u = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, $ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, z = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
153
- function P(_) {
154
- return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
155
- _ === r || _ === d || _ === i || _ === o || _ === y || _ === f || typeof _ == "object" && _ !== null && (_.$$typeof === E || _.$$typeof === S || _.$$typeof === s || _.$$typeof === c || _.$$typeof === m || _.$$typeof === u || _.$$typeof === $ || _.$$typeof === z || _.$$typeof === l);
156
- }
157
- function L(_) {
158
- if (typeof _ == "object" && _ !== null) {
159
- var le = _.$$typeof;
160
- switch (le) {
161
- case t:
162
- var x = _.type;
163
- switch (x) {
164
- case p:
165
- case d:
166
- case r:
167
- case i:
168
- case o:
169
- case y:
170
- return x;
171
- default:
172
- var ue = x && x.$$typeof;
173
- switch (ue) {
174
- case c:
175
- case m:
176
- case E:
177
- case S:
178
- case s:
179
- return ue;
180
- default:
181
- return le;
182
- }
183
- }
184
- case n:
185
- return le;
186
- }
187
- }
188
- }
189
- var h = p, Q = d, a = c, b = s, g = t, T = m, N = r, H = E, X = S, re = n, B = i, U = o, ae = y, Se = !1;
190
- function xe(_) {
191
- return Se || (Se = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), v(_) || L(_) === p;
192
- }
193
- function v(_) {
194
- return L(_) === d;
195
- }
196
- function O(_) {
197
- return L(_) === c;
198
- }
199
- function k(_) {
200
- return L(_) === s;
201
- }
202
- function A(_) {
203
- return typeof _ == "object" && _ !== null && _.$$typeof === t;
204
- }
205
- function R(_) {
206
- return L(_) === m;
207
- }
208
- function D(_) {
209
- return L(_) === r;
210
- }
211
- function C(_) {
212
- return L(_) === E;
213
- }
214
- function I(_) {
215
- return L(_) === S;
216
- }
217
- function w(_) {
218
- return L(_) === n;
219
- }
220
- function M(_) {
221
- return L(_) === i;
222
- }
223
- function F(_) {
224
- return L(_) === o;
225
- }
226
- function ne(_) {
227
- return L(_) === y;
228
- }
229
- Y.AsyncMode = h, Y.ConcurrentMode = Q, Y.ContextConsumer = a, Y.ContextProvider = b, Y.Element = g, Y.ForwardRef = T, Y.Fragment = N, Y.Lazy = H, Y.Memo = X, Y.Portal = re, Y.Profiler = B, Y.StrictMode = U, Y.Suspense = ae, Y.isAsyncMode = xe, Y.isConcurrentMode = v, Y.isContextConsumer = O, Y.isContextProvider = k, Y.isElement = A, Y.isForwardRef = R, Y.isFragment = D, Y.isLazy = C, Y.isMemo = I, Y.isPortal = w, Y.isProfiler = M, Y.isStrictMode = F, Y.isSuspense = ne, Y.isValidElementType = P, Y.typeOf = L;
230
- })()), Y;
231
- }
232
- var Jt;
233
- function Ir() {
234
- return Jt || (Jt = 1, process.env.NODE_ENV === "production" ? et.exports = dn() : et.exports = pn()), et.exports;
235
- }
236
- var $t, Zt;
237
- function yn() {
238
- if (Zt) return $t;
239
- Zt = 1;
240
- var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
241
- function r(i) {
242
- if (i == null)
243
- throw new TypeError("Object.assign cannot be called with null or undefined");
244
- return Object(i);
245
- }
246
- function o() {
247
- try {
248
- if (!Object.assign)
249
- return !1;
250
- var i = new String("abc");
251
- if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
252
- return !1;
253
- for (var s = {}, c = 0; c < 10; c++)
254
- s["_" + String.fromCharCode(c)] = c;
255
- var p = Object.getOwnPropertyNames(s).map(function(m) {
256
- return s[m];
257
- });
258
- if (p.join("") !== "0123456789")
259
- return !1;
260
- var d = {};
261
- return "abcdefghijklmnopqrst".split("").forEach(function(m) {
262
- d[m] = m;
263
- }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
264
- } catch {
265
- return !1;
266
- }
267
- }
268
- return $t = o() ? Object.assign : function(i, s) {
269
- for (var c, p = r(i), d, m = 1; m < arguments.length; m++) {
270
- c = Object(arguments[m]);
271
- for (var y in c)
272
- t.call(c, y) && (p[y] = c[y]);
273
- if (e) {
274
- d = e(c);
275
- for (var f = 0; f < d.length; f++)
276
- n.call(c, d[f]) && (p[d[f]] = c[d[f]]);
277
- }
278
- }
279
- return p;
280
- }, $t;
281
- }
282
- var wt, Qt;
283
- function qt() {
284
- if (Qt) return wt;
285
- Qt = 1;
286
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
287
- return wt = e, wt;
288
- }
289
- var Rt, er;
290
- function Mr() {
291
- return er || (er = 1, Rt = Function.call.bind(Object.prototype.hasOwnProperty)), Rt;
292
- }
293
- var Pt, tr;
294
- function mn() {
295
- if (tr) return Pt;
296
- tr = 1;
297
- var e = function() {
298
- };
299
- if (process.env.NODE_ENV !== "production") {
300
- var t = /* @__PURE__ */ qt(), n = {}, r = /* @__PURE__ */ Mr();
301
- e = function(i) {
302
- var s = "Warning: " + i;
303
- typeof console < "u" && console.error(s);
304
- try {
305
- throw new Error(s);
306
- } catch {
307
- }
308
- };
309
- }
310
- function o(i, s, c, p, d) {
311
- if (process.env.NODE_ENV !== "production") {
312
- for (var m in i)
313
- if (r(i, m)) {
314
- var y;
315
- try {
316
- if (typeof i[m] != "function") {
317
- var f = Error(
318
- (p || "React class") + ": " + c + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
319
- );
320
- throw f.name = "Invariant Violation", f;
321
- }
322
- y = i[m](s, m, p, c, null, t);
323
- } catch (E) {
324
- y = E;
325
- }
326
- if (y && !(y instanceof Error) && e(
327
- (p || "React class") + ": type specification of " + c + " `" + m + "` 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)."
328
- ), y instanceof Error && !(y.message in n)) {
329
- n[y.message] = !0;
330
- var S = d ? d() : "";
331
- e(
332
- "Failed " + c + " type: " + y.message + (S ?? "")
333
- );
334
- }
335
- }
336
- }
337
- }
338
- return o.resetWarningCache = function() {
339
- process.env.NODE_ENV !== "production" && (n = {});
340
- }, Pt = o, Pt;
341
- }
342
- var Ct, rr;
343
- function hn() {
344
- if (rr) return Ct;
345
- rr = 1;
346
- var e = Ir(), t = yn(), n = /* @__PURE__ */ qt(), r = /* @__PURE__ */ Mr(), o = /* @__PURE__ */ mn(), i = function() {
347
- };
348
- process.env.NODE_ENV !== "production" && (i = function(c) {
349
- var p = "Warning: " + c;
350
- typeof console < "u" && console.error(p);
351
- try {
352
- throw new Error(p);
353
- } catch {
354
- }
355
- });
356
- function s() {
357
- return null;
358
- }
359
- return Ct = function(c, p) {
360
- var d = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
361
- function y(v) {
362
- var O = v && (d && v[d] || v[m]);
363
- if (typeof O == "function")
364
- return O;
365
- }
366
- var f = "<<anonymous>>", S = {
367
- array: $("array"),
368
- bigint: $("bigint"),
369
- bool: $("boolean"),
370
- func: $("function"),
371
- number: $("number"),
372
- object: $("object"),
373
- string: $("string"),
374
- symbol: $("symbol"),
375
- any: z(),
376
- arrayOf: P,
377
- element: L(),
378
- elementType: h(),
379
- instanceOf: Q,
380
- node: T(),
381
- objectOf: b,
382
- oneOf: a,
383
- oneOfType: g,
384
- shape: H,
385
- exact: X
386
- };
387
- function E(v, O) {
388
- return v === O ? v !== 0 || 1 / v === 1 / O : v !== v && O !== O;
389
- }
390
- function l(v, O) {
391
- this.message = v, this.data = O && typeof O == "object" ? O : {}, this.stack = "";
392
- }
393
- l.prototype = Error.prototype;
394
- function u(v) {
395
- if (process.env.NODE_ENV !== "production")
396
- var O = {}, k = 0;
397
- function A(D, C, I, w, M, F, ne) {
398
- if (w = w || f, F = F || I, ne !== n) {
399
- if (p) {
400
- var _ = new Error(
401
- "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"
402
- );
403
- throw _.name = "Invariant Violation", _;
404
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
405
- var le = w + ":" + I;
406
- !O[le] && // Avoid spamming the console because they are often not actionable except for lib authors
407
- k < 3 && (i(
408
- "You are manually calling a React.PropTypes validation function for the `" + F + "` prop on `" + w + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
409
- ), O[le] = !0, k++);
410
- }
411
- }
412
- return C[I] == null ? D ? C[I] === null ? new l("The " + M + " `" + F + "` is marked as required " + ("in `" + w + "`, but its value is `null`.")) : new l("The " + M + " `" + F + "` is marked as required in " + ("`" + w + "`, but its value is `undefined`.")) : null : v(C, I, w, M, F);
413
- }
414
- var R = A.bind(null, !1);
415
- return R.isRequired = A.bind(null, !0), R;
416
- }
417
- function $(v) {
418
- function O(k, A, R, D, C, I) {
419
- var w = k[A], M = U(w);
420
- if (M !== v) {
421
- var F = ae(w);
422
- return new l(
423
- "Invalid " + D + " `" + C + "` of type " + ("`" + F + "` supplied to `" + R + "`, expected ") + ("`" + v + "`."),
424
- { expectedType: v }
425
- );
426
- }
427
- return null;
428
- }
429
- return u(O);
430
- }
431
- function z() {
432
- return u(s);
433
- }
434
- function P(v) {
435
- function O(k, A, R, D, C) {
436
- if (typeof v != "function")
437
- return new l("Property `" + C + "` of component `" + R + "` has invalid PropType notation inside arrayOf.");
438
- var I = k[A];
439
- if (!Array.isArray(I)) {
440
- var w = U(I);
441
- return new l("Invalid " + D + " `" + C + "` of type " + ("`" + w + "` supplied to `" + R + "`, expected an array."));
442
- }
443
- for (var M = 0; M < I.length; M++) {
444
- var F = v(I, M, R, D, C + "[" + M + "]", n);
445
- if (F instanceof Error)
446
- return F;
447
- }
448
- return null;
449
- }
450
- return u(O);
451
- }
452
- function L() {
453
- function v(O, k, A, R, D) {
454
- var C = O[k];
455
- if (!c(C)) {
456
- var I = U(C);
457
- return new l("Invalid " + R + " `" + D + "` of type " + ("`" + I + "` supplied to `" + A + "`, expected a single ReactElement."));
458
- }
459
- return null;
460
- }
461
- return u(v);
462
- }
463
- function h() {
464
- function v(O, k, A, R, D) {
465
- var C = O[k];
466
- if (!e.isValidElementType(C)) {
467
- var I = U(C);
468
- return new l("Invalid " + R + " `" + D + "` of type " + ("`" + I + "` supplied to `" + A + "`, expected a single ReactElement type."));
469
- }
470
- return null;
471
- }
472
- return u(v);
473
- }
474
- function Q(v) {
475
- function O(k, A, R, D, C) {
476
- if (!(k[A] instanceof v)) {
477
- var I = v.name || f, w = xe(k[A]);
478
- return new l("Invalid " + D + " `" + C + "` of type " + ("`" + w + "` supplied to `" + R + "`, expected ") + ("instance of `" + I + "`."));
479
- }
480
- return null;
481
- }
482
- return u(O);
483
- }
484
- function a(v) {
485
- if (!Array.isArray(v))
486
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
487
- "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])."
488
- ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
489
- function O(k, A, R, D, C) {
490
- for (var I = k[A], w = 0; w < v.length; w++)
491
- if (E(I, v[w]))
492
- return null;
493
- var M = JSON.stringify(v, function(ne, _) {
494
- var le = ae(_);
495
- return le === "symbol" ? String(_) : _;
496
- });
497
- return new l("Invalid " + D + " `" + C + "` of value `" + String(I) + "` " + ("supplied to `" + R + "`, expected one of " + M + "."));
498
- }
499
- return u(O);
500
- }
501
- function b(v) {
502
- function O(k, A, R, D, C) {
503
- if (typeof v != "function")
504
- return new l("Property `" + C + "` of component `" + R + "` has invalid PropType notation inside objectOf.");
505
- var I = k[A], w = U(I);
506
- if (w !== "object")
507
- return new l("Invalid " + D + " `" + C + "` of type " + ("`" + w + "` supplied to `" + R + "`, expected an object."));
508
- for (var M in I)
509
- if (r(I, M)) {
510
- var F = v(I, M, R, D, C + "." + M, n);
511
- if (F instanceof Error)
512
- return F;
513
- }
514
- return null;
515
- }
516
- return u(O);
517
- }
518
- function g(v) {
519
- if (!Array.isArray(v))
520
- return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
521
- for (var O = 0; O < v.length; O++) {
522
- var k = v[O];
523
- if (typeof k != "function")
524
- return i(
525
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Se(k) + " at index " + O + "."
526
- ), s;
527
- }
528
- function A(R, D, C, I, w) {
529
- for (var M = [], F = 0; F < v.length; F++) {
530
- var ne = v[F], _ = ne(R, D, C, I, w, n);
531
- if (_ == null)
532
- return null;
533
- _.data && r(_.data, "expectedType") && M.push(_.data.expectedType);
534
- }
535
- var le = M.length > 0 ? ", expected one of type [" + M.join(", ") + "]" : "";
536
- return new l("Invalid " + I + " `" + w + "` supplied to " + ("`" + C + "`" + le + "."));
537
- }
538
- return u(A);
539
- }
540
- function T() {
541
- function v(O, k, A, R, D) {
542
- return re(O[k]) ? null : new l("Invalid " + R + " `" + D + "` supplied to " + ("`" + A + "`, expected a ReactNode."));
543
- }
544
- return u(v);
545
- }
546
- function N(v, O, k, A, R) {
547
- return new l(
548
- (v || "React class") + ": " + O + " type `" + k + "." + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + R + "`."
549
- );
550
- }
551
- function H(v) {
552
- function O(k, A, R, D, C) {
553
- var I = k[A], w = U(I);
554
- if (w !== "object")
555
- return new l("Invalid " + D + " `" + C + "` of type `" + w + "` " + ("supplied to `" + R + "`, expected `object`."));
556
- for (var M in v) {
557
- var F = v[M];
558
- if (typeof F != "function")
559
- return N(R, D, C, M, ae(F));
560
- var ne = F(I, M, R, D, C + "." + M, n);
561
- if (ne)
562
- return ne;
563
- }
564
- return null;
565
- }
566
- return u(O);
567
- }
568
- function X(v) {
569
- function O(k, A, R, D, C) {
570
- var I = k[A], w = U(I);
571
- if (w !== "object")
572
- return new l("Invalid " + D + " `" + C + "` of type `" + w + "` " + ("supplied to `" + R + "`, expected `object`."));
573
- var M = t({}, k[A], v);
574
- for (var F in M) {
575
- var ne = v[F];
576
- if (r(v, F) && typeof ne != "function")
577
- return N(R, D, C, F, ae(ne));
578
- if (!ne)
579
- return new l(
580
- "Invalid " + D + " `" + C + "` key `" + F + "` supplied to `" + R + "`.\nBad object: " + JSON.stringify(k[A], null, " ") + `
581
- Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
582
- );
583
- var _ = ne(I, F, R, D, C + "." + F, n);
584
- if (_)
585
- return _;
586
- }
587
- return null;
588
- }
589
- return u(O);
590
- }
591
- function re(v) {
592
- switch (typeof v) {
593
- case "number":
594
- case "string":
595
- case "undefined":
596
- return !0;
597
- case "boolean":
598
- return !v;
599
- case "object":
600
- if (Array.isArray(v))
601
- return v.every(re);
602
- if (v === null || c(v))
603
- return !0;
604
- var O = y(v);
605
- if (O) {
606
- var k = O.call(v), A;
607
- if (O !== v.entries) {
608
- for (; !(A = k.next()).done; )
609
- if (!re(A.value))
610
- return !1;
611
- } else
612
- for (; !(A = k.next()).done; ) {
613
- var R = A.value;
614
- if (R && !re(R[1]))
615
- return !1;
616
- }
617
- } else
618
- return !1;
619
- return !0;
620
- default:
621
- return !1;
622
- }
623
- }
624
- function B(v, O) {
625
- return v === "symbol" ? !0 : O ? O["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && O instanceof Symbol : !1;
626
- }
627
- function U(v) {
628
- var O = typeof v;
629
- return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : B(O, v) ? "symbol" : O;
630
- }
631
- function ae(v) {
632
- if (typeof v > "u" || v === null)
633
- return "" + v;
634
- var O = U(v);
635
- if (O === "object") {
636
- if (v instanceof Date)
637
- return "date";
638
- if (v instanceof RegExp)
639
- return "regexp";
640
- }
641
- return O;
642
- }
643
- function Se(v) {
644
- var O = ae(v);
645
- switch (O) {
646
- case "array":
647
- case "object":
648
- return "an " + O;
649
- case "boolean":
650
- case "date":
651
- case "regexp":
652
- return "a " + O;
653
- default:
654
- return O;
655
- }
656
- }
657
- function xe(v) {
658
- return !v.constructor || !v.constructor.name ? f : v.constructor.name;
659
- }
660
- return S.checkPropTypes = o, S.resetWarningCache = o.resetWarningCache, S.PropTypes = S, S;
661
- }, Ct;
662
- }
663
- var At, nr;
664
- function gn() {
665
- if (nr) return At;
666
- nr = 1;
667
- var e = /* @__PURE__ */ qt();
668
- function t() {
669
- }
670
- function n() {
671
- }
672
- return n.resetWarningCache = t, At = function() {
673
- function r(s, c, p, d, m, y) {
674
- if (y !== e) {
675
- var f = new Error(
676
- "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"
677
- );
678
- throw f.name = "Invariant Violation", f;
679
- }
680
- }
681
- r.isRequired = r;
682
- function o() {
683
- return r;
684
- }
685
- var i = {
686
- array: r,
687
- bigint: r,
688
- bool: r,
689
- func: r,
690
- number: r,
691
- object: r,
692
- string: r,
693
- symbol: r,
694
- any: r,
695
- arrayOf: o,
696
- element: r,
697
- elementType: r,
698
- instanceOf: o,
699
- node: r,
700
- objectOf: o,
701
- oneOf: o,
702
- oneOfType: o,
703
- shape: o,
704
- exact: o,
705
- checkPropTypes: n,
706
- resetWarningCache: t
707
- };
708
- return i.PropTypes = i, i;
709
- }, At;
710
- }
711
- var or;
712
- function bn() {
713
- if (or) return Qe.exports;
714
- if (or = 1, process.env.NODE_ENV !== "production") {
715
- var e = Ir(), t = !0;
716
- Qe.exports = /* @__PURE__ */ hn()(e.isElement, t);
717
- } else
718
- Qe.exports = /* @__PURE__ */ gn()();
719
- return Qe.exports;
720
- }
721
- var vn = /* @__PURE__ */ bn();
722
- const j = /* @__PURE__ */ Pr(vn);
723
- function Ve(e) {
724
- let t = "https://mui.com/production-error/?code=" + e;
725
- for (let n = 1; n < arguments.length; n += 1)
726
- t += "&args[]=" + encodeURIComponent(arguments[n]);
727
- return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
728
- }
729
- const En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
730
- __proto__: null,
731
- default: Ve
732
- }, Symbol.toStringTag, { value: "Module" }));
733
- var tt = { exports: {} }, K = {};
734
- var ir;
735
- function _n() {
736
- if (ir) return K;
737
- ir = 1;
738
- var e = /* @__PURE__ */ Symbol.for("react.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), r = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.provider"), s = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.server_context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), y = /* @__PURE__ */ Symbol.for("react.memo"), f = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), E;
739
- E = /* @__PURE__ */ Symbol.for("react.module.reference");
740
- function l(u) {
741
- if (typeof u == "object" && u !== null) {
742
- var $ = u.$$typeof;
743
- switch ($) {
744
- case e:
745
- switch (u = u.type, u) {
746
- case n:
747
- case o:
748
- case r:
749
- case d:
750
- case m:
751
- return u;
752
- default:
753
- switch (u = u && u.$$typeof, u) {
754
- case c:
755
- case s:
756
- case p:
757
- case f:
758
- case y:
759
- case i:
760
- return u;
761
- default:
762
- return $;
763
- }
764
- }
765
- case t:
766
- return $;
767
- }
768
- }
769
- }
770
- return K.ContextConsumer = s, K.ContextProvider = i, K.Element = e, K.ForwardRef = p, K.Fragment = n, K.Lazy = f, K.Memo = y, K.Portal = t, K.Profiler = o, K.StrictMode = r, K.Suspense = d, K.SuspenseList = m, K.isAsyncMode = function() {
771
- return !1;
772
- }, K.isConcurrentMode = function() {
773
- return !1;
774
- }, K.isContextConsumer = function(u) {
775
- return l(u) === s;
776
- }, K.isContextProvider = function(u) {
777
- return l(u) === i;
778
- }, K.isElement = function(u) {
779
- return typeof u == "object" && u !== null && u.$$typeof === e;
780
- }, K.isForwardRef = function(u) {
781
- return l(u) === p;
782
- }, K.isFragment = function(u) {
783
- return l(u) === n;
784
- }, K.isLazy = function(u) {
785
- return l(u) === f;
786
- }, K.isMemo = function(u) {
787
- return l(u) === y;
788
- }, K.isPortal = function(u) {
789
- return l(u) === t;
790
- }, K.isProfiler = function(u) {
791
- return l(u) === o;
792
- }, K.isStrictMode = function(u) {
793
- return l(u) === r;
794
- }, K.isSuspense = function(u) {
795
- return l(u) === d;
796
- }, K.isSuspenseList = function(u) {
797
- return l(u) === m;
798
- }, K.isValidElementType = function(u) {
799
- return typeof u == "string" || typeof u == "function" || u === n || u === o || u === r || u === d || u === m || u === S || typeof u == "object" && u !== null && (u.$$typeof === f || u.$$typeof === y || u.$$typeof === i || u.$$typeof === s || u.$$typeof === p || u.$$typeof === E || u.getModuleId !== void 0);
800
- }, K.typeOf = l, K;
801
- }
802
- var G = {};
803
- var sr;
804
- function Sn() {
805
- return sr || (sr = 1, process.env.NODE_ENV !== "production" && (function() {
806
- var e = /* @__PURE__ */ Symbol.for("react.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), r = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.provider"), s = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.server_context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), y = /* @__PURE__ */ Symbol.for("react.memo"), f = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), E = !1, l = !1, u = !1, $ = !1, z = !1, P;
807
- P = /* @__PURE__ */ Symbol.for("react.module.reference");
808
- function L(x) {
809
- return !!(typeof x == "string" || typeof x == "function" || x === n || x === o || z || x === r || x === d || x === m || $ || x === S || E || l || u || typeof x == "object" && x !== null && (x.$$typeof === f || x.$$typeof === y || x.$$typeof === i || x.$$typeof === s || x.$$typeof === p || // This needs to include all possible module reference object
810
- // types supported by any Flight configuration anywhere since
811
- // we don't know which Flight build this will end up being used
812
- // with.
813
- x.$$typeof === P || x.getModuleId !== void 0));
814
- }
815
- function h(x) {
816
- if (typeof x == "object" && x !== null) {
817
- var ue = x.$$typeof;
818
- switch (ue) {
819
- case e:
820
- var be = x.type;
821
- switch (be) {
822
- case n:
823
- case o:
824
- case r:
825
- case d:
826
- case m:
827
- return be;
828
- default:
829
- var Ce = be && be.$$typeof;
830
- switch (Ce) {
831
- case c:
832
- case s:
833
- case p:
834
- case f:
835
- case y:
836
- case i:
837
- return Ce;
838
- default:
839
- return ue;
840
- }
841
- }
842
- case t:
843
- return ue;
844
- }
845
- }
846
- }
847
- var Q = s, a = i, b = e, g = p, T = n, N = f, H = y, X = t, re = o, B = r, U = d, ae = m, Se = !1, xe = !1;
848
- function v(x) {
849
- return Se || (Se = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
850
- }
851
- function O(x) {
852
- return xe || (xe = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
853
- }
854
- function k(x) {
855
- return h(x) === s;
856
- }
857
- function A(x) {
858
- return h(x) === i;
859
- }
860
- function R(x) {
861
- return typeof x == "object" && x !== null && x.$$typeof === e;
862
- }
863
- function D(x) {
864
- return h(x) === p;
865
- }
866
- function C(x) {
867
- return h(x) === n;
868
- }
869
- function I(x) {
870
- return h(x) === f;
871
- }
872
- function w(x) {
873
- return h(x) === y;
874
- }
875
- function M(x) {
876
- return h(x) === t;
877
- }
878
- function F(x) {
879
- return h(x) === o;
880
- }
881
- function ne(x) {
882
- return h(x) === r;
883
- }
884
- function _(x) {
885
- return h(x) === d;
886
- }
887
- function le(x) {
888
- return h(x) === m;
889
- }
890
- G.ContextConsumer = Q, G.ContextProvider = a, G.Element = b, G.ForwardRef = g, G.Fragment = T, G.Lazy = N, G.Memo = H, G.Portal = X, G.Profiler = re, G.StrictMode = B, G.Suspense = U, G.SuspenseList = ae, G.isAsyncMode = v, G.isConcurrentMode = O, G.isContextConsumer = k, G.isContextProvider = A, G.isElement = R, G.isForwardRef = D, G.isFragment = C, G.isLazy = I, G.isMemo = w, G.isPortal = M, G.isProfiler = F, G.isStrictMode = ne, G.isSuspense = _, G.isSuspenseList = le, G.isValidElementType = L, G.typeOf = h;
891
- })()), G;
892
- }
893
- var ar;
894
- function xn() {
895
- return ar || (ar = 1, process.env.NODE_ENV === "production" ? tt.exports = _n() : tt.exports = Sn()), tt.exports;
896
- }
897
- var cr = xn();
898
- const Tn = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
899
- function jr(e) {
900
- const t = `${e}`.match(Tn);
901
- return t && t[1] || "";
902
- }
903
- function kr(e, t = "") {
904
- return e.displayName || e.name || jr(e) || t;
905
- }
906
- function ur(e, t, n) {
907
- const r = kr(t);
908
- return e.displayName || (r !== "" ? `${n}(${r})` : n);
909
- }
910
- function On(e) {
911
- if (e != null) {
912
- if (typeof e == "string")
913
- return e;
914
- if (typeof e == "function")
915
- return kr(e, "Component");
916
- if (typeof e == "object")
917
- switch (e.$$typeof) {
918
- case cr.ForwardRef:
919
- return ur(e, e.render, "ForwardRef");
920
- case cr.Memo:
921
- return ur(e, e.type, "memo");
922
- default:
923
- return;
924
- }
925
- }
926
- }
927
- const $n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
928
- __proto__: null,
929
- default: On,
930
- getFunctionName: jr
931
- }, Symbol.toStringTag, { value: "Module" }));
932
- function we(e) {
933
- if (typeof e != "string")
934
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Ve(7));
935
- return e.charAt(0).toUpperCase() + e.slice(1);
936
- }
937
- const wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
938
- __proto__: null,
939
- default: we
940
- }, Symbol.toStringTag, { value: "Module" }));
941
- function Rn(...e) {
942
- return e.reduce((t, n) => n == null ? t : function(...o) {
943
- t.apply(this, o), n.apply(this, o);
944
- }, () => {
945
- });
946
- }
947
- function Pn(e, t = 166) {
948
- let n;
949
- function r(...o) {
950
- const i = () => {
951
- e.apply(this, o);
952
- };
953
- clearTimeout(n), n = setTimeout(i, t);
954
- }
955
- return r.clear = () => {
956
- clearTimeout(n);
957
- }, r;
958
- }
959
- function Cn(e, t) {
960
- return process.env.NODE_ENV === "production" ? () => null : (n, r, o, i, s) => {
961
- const c = o || "<<anonymous>>", p = s || r;
962
- return typeof n[r] < "u" ? new Error(`The ${i} \`${p}\` of \`${c}\` is deprecated. ${t}`) : null;
963
- };
964
- }
965
- function An(e, t) {
966
- var n, r;
967
- return /* @__PURE__ */ Z.isValidElement(e) && t.indexOf(
968
- // For server components `muiName` is avaialble in element.type._payload.value.muiName
969
- // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
970
- // eslint-disable-next-line no-underscore-dangle
971
- (n = e.type.muiName) != null ? n : (r = e.type) == null || (r = r._payload) == null || (r = r.value) == null ? void 0 : r.muiName
972
- ) !== -1;
973
- }
974
- function Nr(e) {
975
- return e && e.ownerDocument || document;
976
- }
977
- function In(e) {
978
- return Nr(e).defaultView || window;
979
- }
980
- function Mn(e, t) {
981
- if (process.env.NODE_ENV === "production")
982
- return () => null;
983
- const n = t ? J({}, t.propTypes) : null;
984
- return (o) => (i, s, c, p, d, ...m) => {
985
- const y = d || s, f = n?.[y];
986
- if (f) {
987
- const S = f(i, s, c, p, d, ...m);
988
- if (S)
989
- return S;
990
- }
991
- return typeof i[s] < "u" && !i[o] ? new Error(`The prop \`${y}\` of \`${e}\` can only be used together with the \`${o}\` prop.`) : null;
992
- };
993
- }
994
- function Dr(e, t) {
995
- typeof e == "function" ? e(t) : e && (e.current = t);
996
- }
997
- const Fr = typeof window < "u" ? Z.useLayoutEffect : Z.useEffect;
998
- let fr = 0;
999
- function jn(e) {
1000
- const [t, n] = Z.useState(e), r = e || t;
1001
- return Z.useEffect(() => {
1002
- t == null && (fr += 1, n(`mui-${fr}`));
1003
- }, [t]), r;
1004
- }
1005
- const lr = Z.useId;
1006
- function kn(e) {
1007
- if (lr !== void 0) {
1008
- const t = lr();
1009
- return e ?? t;
1010
- }
1011
- return jn(e);
1012
- }
1013
- function Nn(e, t, n, r, o) {
1014
- if (process.env.NODE_ENV === "production")
1015
- return null;
1016
- const i = o || t;
1017
- return typeof e[t] < "u" ? new Error(`The prop \`${i}\` is not supported. Please remove it.`) : null;
1018
- }
1019
- function Dn({
1020
- controlled: e,
1021
- default: t,
1022
- name: n,
1023
- state: r = "value"
1024
- }) {
1025
- const {
1026
- current: o
1027
- } = Z.useRef(e !== void 0), [i, s] = Z.useState(t), c = o ? e : i;
1028
- if (process.env.NODE_ENV !== "production") {
1029
- Z.useEffect(() => {
1030
- o !== (e !== void 0) && console.error([`MUI: A component is changing the ${o ? "" : "un"}controlled ${r} state of ${n} to be ${o ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
1031
- `));
1032
- }, [r, n, e]);
1033
- const {
1034
- current: d
1035
- } = Z.useRef(t);
1036
- Z.useEffect(() => {
1037
- !o && !Object.is(d, t) && console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
1038
- `));
1039
- }, [JSON.stringify(t)]);
1040
- }
1041
- const p = Z.useCallback((d) => {
1042
- o || s(d);
1043
- }, []);
1044
- return [c, p];
1045
- }
1046
- function Fn(e) {
1047
- const t = Z.useRef(e);
1048
- return Fr(() => {
1049
- t.current = e;
1050
- }), Z.useRef((...n) => (
1051
- // @ts-expect-error hide `this`
1052
- (0, t.current)(...n)
1053
- )).current;
1054
- }
1055
- function zn(...e) {
1056
- return Z.useMemo(() => e.every((t) => t == null) ? null : (t) => {
1057
- e.forEach((n) => {
1058
- Dr(n, t);
1059
- });
1060
- }, e);
1061
- }
1062
- const dr = {};
1063
- function Ln(e, t) {
1064
- const n = Z.useRef(dr);
1065
- return n.current === dr && (n.current = e(t)), n;
1066
- }
1067
- const qn = [];
1068
- function Wn(e) {
1069
- Z.useEffect(e, qn);
1070
- }
1071
- class ft {
1072
- constructor() {
1073
- this.currentId = null, this.clear = () => {
1074
- this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
1075
- }, this.disposeEffect = () => this.clear;
1076
- }
1077
- static create() {
1078
- return new ft();
1079
- }
1080
- /**
1081
- * Executes `fn` after `delay`, clearing any previously scheduled call.
1082
- */
1083
- start(t, n) {
1084
- this.clear(), this.currentId = setTimeout(() => {
1085
- this.currentId = null, n();
1086
- }, t);
1087
- }
1088
- }
1089
- function qs() {
1090
- const e = Ln(ft.create).current;
1091
- return Wn(e.disposeEffect), e;
1092
- }
1093
- let lt = !0, Nt = !1;
1094
- const Bn = new ft(), Un = {
1095
- text: !0,
1096
- search: !0,
1097
- url: !0,
1098
- tel: !0,
1099
- email: !0,
1100
- password: !0,
1101
- number: !0,
1102
- date: !0,
1103
- month: !0,
1104
- week: !0,
1105
- time: !0,
1106
- datetime: !0,
1107
- "datetime-local": !0
1108
- };
1109
- function Vn(e) {
1110
- const {
1111
- type: t,
1112
- tagName: n
1113
- } = e;
1114
- return !!(n === "INPUT" && Un[t] && !e.readOnly || n === "TEXTAREA" && !e.readOnly || e.isContentEditable);
1115
- }
1116
- function Yn(e) {
1117
- e.metaKey || e.altKey || e.ctrlKey || (lt = !0);
1118
- }
1119
- function It() {
1120
- lt = !1;
1121
- }
1122
- function Kn() {
1123
- this.visibilityState === "hidden" && Nt && (lt = !0);
1124
- }
1125
- function Gn(e) {
1126
- e.addEventListener("keydown", Yn, !0), e.addEventListener("mousedown", It, !0), e.addEventListener("pointerdown", It, !0), e.addEventListener("touchstart", It, !0), e.addEventListener("visibilitychange", Kn, !0);
1127
- }
1128
- function Hn(e) {
1129
- const {
1130
- target: t
1131
- } = e;
1132
- try {
1133
- return t.matches(":focus-visible");
1134
- } catch {
1135
- }
1136
- return lt || Vn(t);
1137
- }
1138
- function Xn() {
1139
- const e = Z.useCallback((o) => {
1140
- o != null && Gn(o.ownerDocument);
1141
- }, []), t = Z.useRef(!1);
1142
- function n() {
1143
- return t.current ? (Nt = !0, Bn.start(100, () => {
1144
- Nt = !1;
1145
- }), t.current = !1, !0) : !1;
1146
- }
1147
- function r(o) {
1148
- return Hn(o) ? (t.current = !0, !0) : !1;
1149
- }
1150
- return {
1151
- isFocusVisibleRef: t,
1152
- onFocus: r,
1153
- onBlur: n,
1154
- ref: e
1155
- };
1156
- }
1157
- function Dt(e, t) {
1158
- const n = J({}, t);
1159
- return Object.keys(e).forEach((r) => {
1160
- if (r.toString().match(/^(components|slots)$/))
1161
- n[r] = J({}, e[r], n[r]);
1162
- else if (r.toString().match(/^(componentsProps|slotProps)$/)) {
1163
- const o = e[r] || {}, i = t[r];
1164
- n[r] = {}, !i || !Object.keys(i) ? n[r] = o : !o || !Object.keys(o) ? n[r] = i : (n[r] = J({}, i), Object.keys(o).forEach((s) => {
1165
- n[r][s] = Dt(o[s], i[s]);
1166
- }));
1167
- } else n[r] === void 0 && (n[r] = e[r]);
1168
- }), n;
1169
- }
1170
- function Jn(e, t, n = void 0) {
1171
- const r = {};
1172
- return Object.keys(e).forEach(
1173
- // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
1174
- // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
1175
- (o) => {
1176
- r[o] = e[o].reduce((i, s) => {
1177
- if (s) {
1178
- const c = t(s);
1179
- c !== "" && i.push(c), n && n[s] && i.push(n[s]);
1180
- }
1181
- return i;
1182
- }, []).join(" ");
1183
- }
1184
- ), r;
1185
- }
1186
- const pr = (e) => e, Zn = () => {
1187
- let e = pr;
1188
- return {
1189
- configure(t) {
1190
- e = t;
1191
- },
1192
- generate(t) {
1193
- return e(t);
1194
- },
1195
- reset() {
1196
- e = pr;
1197
- }
1198
- };
1199
- }, zr = Zn(), Qn = {
1200
- active: "active",
1201
- checked: "checked",
1202
- completed: "completed",
1203
- disabled: "disabled",
1204
- error: "error",
1205
- expanded: "expanded",
1206
- focused: "focused",
1207
- focusVisible: "focusVisible",
1208
- open: "open",
1209
- readOnly: "readOnly",
1210
- required: "required",
1211
- selected: "selected"
1212
- };
1213
- function Wt(e, t, n = "Mui") {
1214
- const r = Qn[t];
1215
- return r ? `${n}-${r}` : `${zr.generate(e)}-${t}`;
1216
- }
1217
- function eo(e, t, n = "Mui") {
1218
- const r = {};
1219
- return t.forEach((o) => {
1220
- r[o] = Wt(e, o, n);
1221
- }), r;
1222
- }
1223
- function to(e, t = Number.MIN_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER) {
1224
- return Math.max(t, Math.min(e, n));
1225
- }
1226
- const ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1227
- __proto__: null,
1228
- default: to
1229
- }, Symbol.toStringTag, { value: "Module" }));
1230
- function Re(e, t) {
1231
- if (e == null) return {};
1232
- var n = {};
1233
- for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
1234
- if (t.includes(r)) continue;
1235
- n[r] = e[r];
1236
- }
1237
- return n;
1238
- }
1239
- function Lr(e) {
1240
- var t, n, r = "";
1241
- if (typeof e == "string" || typeof e == "number") r += e;
1242
- else if (typeof e == "object") if (Array.isArray(e)) {
1243
- var o = e.length;
1244
- for (t = 0; t < o; t++) e[t] && (n = Lr(e[t])) && (r && (r += " "), r += n);
1245
- } else for (n in e) e[n] && (r && (r += " "), r += n);
1246
- return r;
1247
- }
1248
- function no() {
1249
- for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Lr(e)) && (r && (r += " "), r += t);
1250
- return r;
1251
- }
1252
- const oo = /* @__PURE__ */ Z.createContext(void 0);
1253
- process.env.NODE_ENV !== "production" && (j.node, j.object);
1254
- function io(e) {
1255
- const {
1256
- theme: t,
1257
- name: n,
1258
- props: r
1259
- } = e;
1260
- if (!t || !t.components || !t.components[n])
1261
- return r;
1262
- const o = t.components[n];
1263
- return o.defaultProps ? Dt(o.defaultProps, r) : !o.styleOverrides && !o.variants ? Dt(o, r) : r;
1264
- }
1265
- function so({
1266
- props: e,
1267
- name: t
1268
- }) {
1269
- const n = Z.useContext(oo);
1270
- return io({
1271
- props: e,
1272
- name: t,
1273
- theme: {
1274
- components: n
1275
- }
1276
- });
1277
- }
1278
- process.env.NODE_ENV !== "production" && (j.node, j.object.isRequired);
1279
- function ao(e) {
1280
- return so(e);
1281
- }
1282
- var Ae = {}, Mt = { exports: {} }, yr;
1283
- function co() {
1284
- return yr || (yr = 1, (function(e) {
1285
- function t() {
1286
- return e.exports = t = Object.assign ? Object.assign.bind() : function(n) {
1287
- for (var r = 1; r < arguments.length; r++) {
1288
- var o = arguments[r];
1289
- for (var i in o) ({}).hasOwnProperty.call(o, i) && (n[i] = o[i]);
1290
- }
1291
- return n;
1292
- }, e.exports.__esModule = !0, e.exports.default = e.exports, t.apply(null, arguments);
1293
- }
1294
- e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
1295
- })(Mt)), Mt.exports;
1296
- }
1297
- var jt = { exports: {} }, mr;
1298
- function uo() {
1299
- return mr || (mr = 1, (function(e) {
1300
- function t(n, r) {
1301
- if (n == null) return {};
1302
- var o = {};
1303
- for (var i in n) if ({}.hasOwnProperty.call(n, i)) {
1304
- if (r.includes(i)) continue;
1305
- o[i] = n[i];
1306
- }
1307
- return o;
1308
- }
1309
- e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
1310
- })(jt)), jt.exports;
1311
- }
1312
- function fo(e) {
1313
- if (e.sheet)
1314
- return e.sheet;
1315
- for (var t = 0; t < document.styleSheets.length; t++)
1316
- if (document.styleSheets[t].ownerNode === e)
1317
- return document.styleSheets[t];
1318
- }
1319
- function lo(e) {
1320
- var t = document.createElement("style");
1321
- return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
1322
- }
1323
- var po = /* @__PURE__ */ (function() {
1324
- function e(n) {
1325
- var r = this;
1326
- this._insertTag = function(o) {
1327
- var i;
1328
- r.tags.length === 0 ? r.insertionPoint ? i = r.insertionPoint.nextSibling : r.prepend ? i = r.container.firstChild : i = r.before : i = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(o, i), r.tags.push(o);
1329
- }, this.isSpeedy = n.speedy === void 0 ? !0 : 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;
1330
- }
1331
- var t = e.prototype;
1332
- return t.hydrate = function(r) {
1333
- r.forEach(this._insertTag);
1334
- }, t.insert = function(r) {
1335
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(lo(this));
1336
- var o = this.tags[this.tags.length - 1];
1337
- if (this.isSpeedy) {
1338
- var i = fo(o);
1339
- try {
1340
- i.insertRule(r, i.cssRules.length);
1341
- } catch {
1342
- }
1343
- } else
1344
- o.appendChild(document.createTextNode(r));
1345
- this.ctr++;
1346
- }, t.flush = function() {
1347
- this.tags.forEach(function(r) {
1348
- var o;
1349
- return (o = r.parentNode) == null ? void 0 : o.removeChild(r);
1350
- }), this.tags = [], this.ctr = 0;
1351
- }, e;
1352
- })(), de = "-ms-", st = "-moz-", q = "-webkit-", qr = "comm", Bt = "rule", Ut = "decl", yo = "@import", Wr = "@keyframes", mo = "@layer", ho = Math.abs, dt = String.fromCharCode, go = Object.assign;
1353
- function bo(e, t) {
1354
- return fe(e, 0) ^ 45 ? (((t << 2 ^ fe(e, 0)) << 2 ^ fe(e, 1)) << 2 ^ fe(e, 2)) << 2 ^ fe(e, 3) : 0;
1355
- }
1356
- function Br(e) {
1357
- return e.trim();
1358
- }
1359
- function vo(e, t) {
1360
- return (e = t.exec(e)) ? e[0] : e;
1361
- }
1362
- function W(e, t, n) {
1363
- return e.replace(t, n);
1364
- }
1365
- function Ft(e, t) {
1366
- return e.indexOf(t);
1367
- }
1368
- function fe(e, t) {
1369
- return e.charCodeAt(t) | 0;
1370
- }
1371
- function Ye(e, t, n) {
1372
- return e.slice(t, n);
1373
- }
1374
- function ve(e) {
1375
- return e.length;
1376
- }
1377
- function Vt(e) {
1378
- return e.length;
1379
- }
1380
- function rt(e, t) {
1381
- return t.push(e), e;
1382
- }
1383
- function Eo(e, t) {
1384
- return e.map(t).join("");
1385
- }
1386
- var pt = 1, ze = 1, Ur = 0, pe = 0, ce = 0, Le = "";
1387
- function yt(e, t, n, r, o, i, s) {
1388
- return { value: e, root: t, parent: n, type: r, props: o, children: i, line: pt, column: ze, length: s, return: "" };
1389
- }
1390
- function qe(e, t) {
1391
- return go(yt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
1392
- }
1393
- function _o() {
1394
- return ce;
1395
- }
1396
- function So() {
1397
- return ce = pe > 0 ? fe(Le, --pe) : 0, ze--, ce === 10 && (ze = 1, pt--), ce;
1398
- }
1399
- function me() {
1400
- return ce = pe < Ur ? fe(Le, pe++) : 0, ze++, ce === 10 && (ze = 1, pt++), ce;
1401
- }
1402
- function _e() {
1403
- return fe(Le, pe);
1404
- }
1405
- function nt() {
1406
- return pe;
1407
- }
1408
- function He(e, t) {
1409
- return Ye(Le, e, t);
1410
- }
1411
- function Ke(e) {
1412
- switch (e) {
1413
- // \0 \t \n \r \s whitespace token
1414
- case 0:
1415
- case 9:
1416
- case 10:
1417
- case 13:
1418
- case 32:
1419
- return 5;
1420
- // ! + , / > @ ~ isolate token
1421
- case 33:
1422
- case 43:
1423
- case 44:
1424
- case 47:
1425
- case 62:
1426
- case 64:
1427
- case 126:
1428
- // ; { } breakpoint token
1429
- case 59:
1430
- case 123:
1431
- case 125:
1432
- return 4;
1433
- // : accompanied token
1434
- case 58:
1435
- return 3;
1436
- // " ' ( [ opening delimit token
1437
- case 34:
1438
- case 39:
1439
- case 40:
1440
- case 91:
1441
- return 2;
1442
- // ) ] closing delimit token
1443
- case 41:
1444
- case 93:
1445
- return 1;
1446
- }
1447
- return 0;
1448
- }
1449
- function Vr(e) {
1450
- return pt = ze = 1, Ur = ve(Le = e), pe = 0, [];
1451
- }
1452
- function Yr(e) {
1453
- return Le = "", e;
1454
- }
1455
- function ot(e) {
1456
- return Br(He(pe - 1, zt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1457
- }
1458
- function xo(e) {
1459
- for (; (ce = _e()) && ce < 33; )
1460
- me();
1461
- return Ke(e) > 2 || Ke(ce) > 3 ? "" : " ";
1462
- }
1463
- function To(e, t) {
1464
- for (; --t && me() && !(ce < 48 || ce > 102 || ce > 57 && ce < 65 || ce > 70 && ce < 97); )
1465
- ;
1466
- return He(e, nt() + (t < 6 && _e() == 32 && me() == 32));
1467
- }
1468
- function zt(e) {
1469
- for (; me(); )
1470
- switch (ce) {
1471
- // ] ) " '
1472
- case e:
1473
- return pe;
1474
- // " '
1475
- case 34:
1476
- case 39:
1477
- e !== 34 && e !== 39 && zt(ce);
1478
- break;
1479
- // (
1480
- case 40:
1481
- e === 41 && zt(e);
1482
- break;
1483
- // \
1484
- case 92:
1485
- me();
1486
- break;
1487
- }
1488
- return pe;
1489
- }
1490
- function Oo(e, t) {
1491
- for (; me() && e + ce !== 57; )
1492
- if (e + ce === 84 && _e() === 47)
1493
- break;
1494
- return "/*" + He(t, pe - 1) + "*" + dt(e === 47 ? e : me());
1495
- }
1496
- function $o(e) {
1497
- for (; !Ke(_e()); )
1498
- me();
1499
- return He(e, pe);
1500
- }
1501
- function wo(e) {
1502
- return Yr(it("", null, null, null, [""], e = Vr(e), 0, [0], e));
1503
- }
1504
- function it(e, t, n, r, o, i, s, c, p) {
1505
- for (var d = 0, m = 0, y = s, f = 0, S = 0, E = 0, l = 1, u = 1, $ = 1, z = 0, P = "", L = o, h = i, Q = r, a = P; u; )
1506
- switch (E = z, z = me()) {
1507
- // (
1508
- case 40:
1509
- if (E != 108 && fe(a, y - 1) == 58) {
1510
- Ft(a += W(ot(z), "&", "&\f"), "&\f") != -1 && ($ = -1);
1511
- break;
1512
- }
1513
- // " ' [
1514
- case 34:
1515
- case 39:
1516
- case 91:
1517
- a += ot(z);
1518
- break;
1519
- // \t \n \r \s
1520
- case 9:
1521
- case 10:
1522
- case 13:
1523
- case 32:
1524
- a += xo(E);
1525
- break;
1526
- // \
1527
- case 92:
1528
- a += To(nt() - 1, 7);
1529
- continue;
1530
- // /
1531
- case 47:
1532
- switch (_e()) {
1533
- case 42:
1534
- case 47:
1535
- rt(Ro(Oo(me(), nt()), t, n), p);
1536
- break;
1537
- default:
1538
- a += "/";
1539
- }
1540
- break;
1541
- // {
1542
- case 123 * l:
1543
- c[d++] = ve(a) * $;
1544
- // } ; \0
1545
- case 125 * l:
1546
- case 59:
1547
- case 0:
1548
- switch (z) {
1549
- // \0 }
1550
- case 0:
1551
- case 125:
1552
- u = 0;
1553
- // ;
1554
- case 59 + m:
1555
- $ == -1 && (a = W(a, /\f/g, "")), S > 0 && ve(a) - y && rt(S > 32 ? gr(a + ";", r, n, y - 1) : gr(W(a, " ", "") + ";", r, n, y - 2), p);
1556
- break;
1557
- // @ ;
1558
- case 59:
1559
- a += ";";
1560
- // { rule/at-rule
1561
- default:
1562
- if (rt(Q = hr(a, t, n, d, m, o, c, P, L = [], h = [], y), i), z === 123)
1563
- if (m === 0)
1564
- it(a, t, Q, Q, L, i, y, c, h);
1565
- else
1566
- switch (f === 99 && fe(a, 3) === 110 ? 100 : f) {
1567
- // d l m s
1568
- case 100:
1569
- case 108:
1570
- case 109:
1571
- case 115:
1572
- it(e, Q, Q, r && rt(hr(e, Q, Q, 0, 0, o, c, P, o, L = [], y), h), o, h, y, c, r ? L : h);
1573
- break;
1574
- default:
1575
- it(a, Q, Q, Q, [""], h, 0, c, h);
1576
- }
1577
- }
1578
- d = m = S = 0, l = $ = 1, P = a = "", y = s;
1579
- break;
1580
- // :
1581
- case 58:
1582
- y = 1 + ve(a), S = E;
1583
- default:
1584
- if (l < 1) {
1585
- if (z == 123)
1586
- --l;
1587
- else if (z == 125 && l++ == 0 && So() == 125)
1588
- continue;
1589
- }
1590
- switch (a += dt(z), z * l) {
1591
- // &
1592
- case 38:
1593
- $ = m > 0 ? 1 : (a += "\f", -1);
1594
- break;
1595
- // ,
1596
- case 44:
1597
- c[d++] = (ve(a) - 1) * $, $ = 1;
1598
- break;
1599
- // @
1600
- case 64:
1601
- _e() === 45 && (a += ot(me())), f = _e(), m = y = ve(P = a += $o(nt())), z++;
1602
- break;
1603
- // -
1604
- case 45:
1605
- E === 45 && ve(a) == 2 && (l = 0);
1606
- }
1607
- }
1608
- return i;
1609
- }
1610
- function hr(e, t, n, r, o, i, s, c, p, d, m) {
1611
- for (var y = o - 1, f = o === 0 ? i : [""], S = Vt(f), E = 0, l = 0, u = 0; E < r; ++E)
1612
- for (var $ = 0, z = Ye(e, y + 1, y = ho(l = s[E])), P = e; $ < S; ++$)
1613
- (P = Br(l > 0 ? f[$] + " " + z : W(z, /&\f/g, f[$]))) && (p[u++] = P);
1614
- return yt(e, t, n, o === 0 ? Bt : c, p, d, m);
1615
- }
1616
- function Ro(e, t, n) {
1617
- return yt(e, t, n, qr, dt(_o()), Ye(e, 2, -2), 0);
1618
- }
1619
- function gr(e, t, n, r) {
1620
- return yt(e, t, n, Ut, Ye(e, 0, r), Ye(e, r + 1, -1), r);
1621
- }
1622
- function De(e, t) {
1623
- for (var n = "", r = Vt(e), o = 0; o < r; o++)
1624
- n += t(e[o], o, e, t) || "";
1625
- return n;
1626
- }
1627
- function Po(e, t, n, r) {
1628
- switch (e.type) {
1629
- case mo:
1630
- if (e.children.length) break;
1631
- case yo:
1632
- case Ut:
1633
- return e.return = e.return || e.value;
1634
- case qr:
1635
- return "";
1636
- case Wr:
1637
- return e.return = e.value + "{" + De(e.children, r) + "}";
1638
- case Bt:
1639
- e.value = e.props.join(",");
1640
- }
1641
- return ve(n = De(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1642
- }
1643
- function Co(e) {
1644
- var t = Vt(e);
1645
- return function(n, r, o, i) {
1646
- for (var s = "", c = 0; c < t; c++)
1647
- s += e[c](n, r, o, i) || "";
1648
- return s;
1649
- };
1650
- }
1651
- function Ao(e) {
1652
- return function(t) {
1653
- t.root || (t = t.return) && e(t);
1654
- };
1655
- }
1656
- var Io = function(t, n, r) {
1657
- for (var o = 0, i = 0; o = i, i = _e(), o === 38 && i === 12 && (n[r] = 1), !Ke(i); )
1658
- me();
1659
- return He(t, pe);
1660
- }, Mo = function(t, n) {
1661
- var r = -1, o = 44;
1662
- do
1663
- switch (Ke(o)) {
1664
- case 0:
1665
- o === 38 && _e() === 12 && (n[r] = 1), t[r] += Io(pe - 1, n, r);
1666
- break;
1667
- case 2:
1668
- t[r] += ot(o);
1669
- break;
1670
- case 4:
1671
- if (o === 44) {
1672
- t[++r] = _e() === 58 ? "&\f" : "", n[r] = t[r].length;
1673
- break;
1674
- }
1675
- // fallthrough
1676
- default:
1677
- t[r] += dt(o);
1678
- }
1679
- while (o = me());
1680
- return t;
1681
- }, jo = function(t, n) {
1682
- return Yr(Mo(Vr(t), n));
1683
- }, br = /* @__PURE__ */ new WeakMap(), ko = function(t) {
1684
- if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
1685
- // negative .length indicates that this rule has been already prefixed
1686
- t.length < 1)) {
1687
- for (var n = t.value, r = t.parent, o = t.column === r.column && t.line === r.line; r.type !== "rule"; )
1688
- if (r = r.parent, !r) return;
1689
- if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !br.get(r)) && !o) {
1690
- br.set(t, !0);
1691
- for (var i = [], s = jo(n, i), c = r.props, p = 0, d = 0; p < s.length; p++)
1692
- for (var m = 0; m < c.length; m++, d++)
1693
- t.props[d] = i[p] ? s[p].replace(/&\f/g, c[m]) : c[m] + " " + s[p];
1694
- }
1695
- }
1696
- }, No = function(t) {
1697
- if (t.type === "decl") {
1698
- var n = t.value;
1699
- // charcode for l
1700
- n.charCodeAt(0) === 108 && // charcode for b
1701
- n.charCodeAt(2) === 98 && (t.return = "", t.value = "");
1702
- }
1703
- };
1704
- function Kr(e, t) {
1705
- switch (bo(e, t)) {
1706
- // color-adjust
1707
- case 5103:
1708
- return q + "print-" + e + e;
1709
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
1710
- case 5737:
1711
- case 4201:
1712
- case 3177:
1713
- case 3433:
1714
- case 1641:
1715
- case 4457:
1716
- case 2921:
1717
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
1718
- case 5572:
1719
- case 6356:
1720
- case 5844:
1721
- case 3191:
1722
- case 6645:
1723
- case 3005:
1724
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
1725
- case 6391:
1726
- case 5879:
1727
- case 5623:
1728
- case 6135:
1729
- case 4599:
1730
- case 4855:
1731
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
1732
- case 4215:
1733
- case 6389:
1734
- case 5109:
1735
- case 5365:
1736
- case 5621:
1737
- case 3829:
1738
- return q + e + e;
1739
- // appearance, user-select, transform, hyphens, text-size-adjust
1740
- case 5349:
1741
- case 4246:
1742
- case 4810:
1743
- case 6968:
1744
- case 2756:
1745
- return q + e + st + e + de + e + e;
1746
- // flex, flex-direction
1747
- case 6828:
1748
- case 4268:
1749
- return q + e + de + e + e;
1750
- // order
1751
- case 6165:
1752
- return q + e + de + "flex-" + e + e;
1753
- // align-items
1754
- case 5187:
1755
- return q + e + W(e, /(\w+).+(:[^]+)/, q + "box-$1$2" + de + "flex-$1$2") + e;
1756
- // align-self
1757
- case 5443:
1758
- return q + e + de + "flex-item-" + W(e, /flex-|-self/, "") + e;
1759
- // align-content
1760
- case 4675:
1761
- return q + e + de + "flex-line-pack" + W(e, /align-content|flex-|-self/, "") + e;
1762
- // flex-shrink
1763
- case 5548:
1764
- return q + e + de + W(e, "shrink", "negative") + e;
1765
- // flex-basis
1766
- case 5292:
1767
- return q + e + de + W(e, "basis", "preferred-size") + e;
1768
- // flex-grow
1769
- case 6060:
1770
- return q + "box-" + W(e, "-grow", "") + q + e + de + W(e, "grow", "positive") + e;
1771
- // transition
1772
- case 4554:
1773
- return q + W(e, /([^-])(transform)/g, "$1" + q + "$2") + e;
1774
- // cursor
1775
- case 6187:
1776
- return W(W(W(e, /(zoom-|grab)/, q + "$1"), /(image-set)/, q + "$1"), e, "") + e;
1777
- // background, background-image
1778
- case 5495:
1779
- case 3959:
1780
- return W(e, /(image-set\([^]*)/, q + "$1$`$1");
1781
- // justify-content
1782
- case 4968:
1783
- return W(W(e, /(.+:)(flex-)?(.*)/, q + "box-pack:$3" + de + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + q + e + e;
1784
- // (margin|padding)-inline-(start|end)
1785
- case 4095:
1786
- case 3583:
1787
- case 4068:
1788
- case 2532:
1789
- return W(e, /(.+)-inline(.+)/, q + "$1$2") + e;
1790
- // (min|max)?(width|height|inline-size|block-size)
1791
- case 8116:
1792
- case 7059:
1793
- case 5753:
1794
- case 5535:
1795
- case 5445:
1796
- case 5701:
1797
- case 4933:
1798
- case 4677:
1799
- case 5533:
1800
- case 5789:
1801
- case 5021:
1802
- case 4765:
1803
- if (ve(e) - 1 - t > 6) switch (fe(e, t + 1)) {
1804
- // (m)ax-content, (m)in-content
1805
- case 109:
1806
- if (fe(e, t + 4) !== 45) break;
1807
- // (f)ill-available, (f)it-content
1808
- case 102:
1809
- return W(e, /(.+:)(.+)-([^]+)/, "$1" + q + "$2-$3$1" + st + (fe(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1810
- // (s)tretch
1811
- case 115:
1812
- return ~Ft(e, "stretch") ? Kr(W(e, "stretch", "fill-available"), t) + e : e;
1813
- }
1814
- break;
1815
- // position: sticky
1816
- case 4949:
1817
- if (fe(e, t + 1) !== 115) break;
1818
- // display: (flex|inline-flex)
1819
- case 6444:
1820
- switch (fe(e, ve(e) - 3 - (~Ft(e, "!important") && 10))) {
1821
- // stic(k)y
1822
- case 107:
1823
- return W(e, ":", ":" + q) + e;
1824
- // (inline-)?fl(e)x
1825
- case 101:
1826
- return W(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + q + (fe(e, 14) === 45 ? "inline-" : "") + "box$3$1" + q + "$2$3$1" + de + "$2box$3") + e;
1827
- }
1828
- break;
1829
- // writing-mode
1830
- case 5936:
1831
- switch (fe(e, t + 11)) {
1832
- // vertical-l(r)
1833
- case 114:
1834
- return q + e + de + W(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1835
- // vertical-r(l)
1836
- case 108:
1837
- return q + e + de + W(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1838
- // horizontal(-)tb
1839
- case 45:
1840
- return q + e + de + W(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1841
- }
1842
- return q + e + de + e + e;
1843
- }
1844
- return e;
1845
- }
1846
- var Do = function(t, n, r, o) {
1847
- if (t.length > -1 && !t.return) switch (t.type) {
1848
- case Ut:
1849
- t.return = Kr(t.value, t.length);
1850
- break;
1851
- case Wr:
1852
- return De([qe(t, {
1853
- value: W(t.value, "@", "@" + q)
1854
- })], o);
1855
- case Bt:
1856
- if (t.length) return Eo(t.props, function(i) {
1857
- switch (vo(i, /(::plac\w+|:read-\w+)/)) {
1858
- // :read-(only|write)
1859
- case ":read-only":
1860
- case ":read-write":
1861
- return De([qe(t, {
1862
- props: [W(i, /:(read-\w+)/, ":" + st + "$1")]
1863
- })], o);
1864
- // :placeholder
1865
- case "::placeholder":
1866
- return De([qe(t, {
1867
- props: [W(i, /:(plac\w+)/, ":" + q + "input-$1")]
1868
- }), qe(t, {
1869
- props: [W(i, /:(plac\w+)/, ":" + st + "$1")]
1870
- }), qe(t, {
1871
- props: [W(i, /:(plac\w+)/, de + "input-$1")]
1872
- })], o);
1873
- }
1874
- return "";
1875
- });
1876
- }
1877
- }, Fo = [Do], zo = function(t) {
1878
- var n = t.key;
1879
- if (n === "css") {
1880
- var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
1881
- Array.prototype.forEach.call(r, function(l) {
1882
- var u = l.getAttribute("data-emotion");
1883
- u.indexOf(" ") !== -1 && (document.head.appendChild(l), l.setAttribute("data-s", ""));
1884
- });
1885
- }
1886
- var o = t.stylisPlugins || Fo, i = {}, s, c = [];
1887
- s = t.container || document.head, Array.prototype.forEach.call(
1888
- // this means we will ignore elements which don't have a space in them which
1889
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1890
- document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
1891
- function(l) {
1892
- for (var u = l.getAttribute("data-emotion").split(" "), $ = 1; $ < u.length; $++)
1893
- i[u[$]] = !0;
1894
- c.push(l);
1895
- }
1896
- );
1897
- var p, d = [ko, No];
1898
- {
1899
- var m, y = [Po, Ao(function(l) {
1900
- m.insert(l);
1901
- })], f = Co(d.concat(o, y)), S = function(u) {
1902
- return De(wo(u), f);
1903
- };
1904
- p = function(u, $, z, P) {
1905
- m = z, S(u ? u + "{" + $.styles + "}" : $.styles), P && (E.inserted[$.name] = !0);
1906
- };
1907
- }
1908
- var E = {
1909
- key: n,
1910
- sheet: new po({
1911
- key: n,
1912
- container: s,
1913
- nonce: t.nonce,
1914
- speedy: t.speedy,
1915
- prepend: t.prepend,
1916
- insertionPoint: t.insertionPoint
1917
- }),
1918
- nonce: t.nonce,
1919
- inserted: i,
1920
- registered: {},
1921
- insert: p
1922
- };
1923
- return E.sheet.hydrate(c), E;
1924
- };
1925
- let Lt;
1926
- typeof document == "object" && (Lt = zo({
1927
- key: "css",
1928
- prepend: !0
1929
- }));
1930
- function Gr(e) {
1931
- const {
1932
- injectFirst: t,
1933
- children: n
1934
- } = e;
1935
- return t && Lt ? /* @__PURE__ */ Ue.jsx(sn, {
1936
- value: Lt,
1937
- children: n
1938
- }) : n;
1939
- }
1940
- process.env.NODE_ENV !== "production" && (Gr.propTypes = {
1941
- /**
1942
- * Your component tree.
1943
- */
1944
- children: j.node,
1945
- /**
1946
- * By default, the styles are injected last in the <head> element of the page.
1947
- * As a result, they gain more specificity than any other style sheet.
1948
- * If you want to override MUI's styles, set this prop.
1949
- */
1950
- injectFirst: j.bool
1951
- });
1952
- function Lo(e) {
1953
- return e == null || Object.keys(e).length === 0;
1954
- }
1955
- function Hr(e) {
1956
- const {
1957
- styles: t,
1958
- defaultTheme: n = {}
1959
- } = e, r = typeof t == "function" ? (o) => t(Lo(o) ? n : o) : t;
1960
- return /* @__PURE__ */ Ue.jsx(an, {
1961
- styles: r
1962
- });
1963
- }
1964
- process.env.NODE_ENV !== "production" && (Hr.propTypes = {
1965
- defaultTheme: j.object,
1966
- styles: j.oneOfType([j.array, j.string, j.object, j.func])
1967
- });
1968
- function qo(e, t) {
1969
- const n = on(e, t);
1970
- return process.env.NODE_ENV !== "production" ? (...r) => {
1971
- const o = typeof e == "string" ? `"${e}"` : "component";
1972
- return r.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(`
1973
- `)) : r.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), n(...r);
1974
- } : n;
1975
- }
1976
- const Wo = (e, t) => {
1977
- Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
1978
- }, Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1979
- __proto__: null,
1980
- GlobalStyles: Hr,
1981
- StyledEngineProvider: Gr,
1982
- ThemeContext: cn,
1983
- css: un,
1984
- default: qo,
1985
- internal_processStyles: Wo,
1986
- keyframes: fn
1987
- }, Symbol.toStringTag, { value: "Module" })), Uo = /* @__PURE__ */ Oe(Bo), Vo = /* @__PURE__ */ Oe(ln), Yo = /* @__PURE__ */ Oe(wn), Ko = /* @__PURE__ */ Oe($n), Go = ["values", "unit", "step"], Ho = (e) => {
1988
- const t = Object.keys(e).map((n) => ({
1989
- key: n,
1990
- val: e[n]
1991
- })) || [];
1992
- return t.sort((n, r) => n.val - r.val), t.reduce((n, r) => J({}, n, {
1993
- [r.key]: r.val
1994
- }), {});
1995
- };
1996
- function Xr(e) {
1997
- const {
1998
- // The breakpoint **start** at this value.
1999
- // For instance with the first breakpoint xs: [xs, sm).
2000
- values: t = {
2001
- xs: 0,
2002
- // phone
2003
- sm: 600,
2004
- // tablet
2005
- md: 900,
2006
- // small laptop
2007
- lg: 1200,
2008
- // desktop
2009
- xl: 1536
2010
- // large screen
2011
- },
2012
- unit: n = "px",
2013
- step: r = 5
2014
- } = e, o = Re(e, Go), i = Ho(t), s = Object.keys(i);
2015
- function c(f) {
2016
- return `@media (min-width:${typeof t[f] == "number" ? t[f] : f}${n})`;
2017
- }
2018
- function p(f) {
2019
- return `@media (max-width:${(typeof t[f] == "number" ? t[f] : f) - r / 100}${n})`;
2020
- }
2021
- function d(f, S) {
2022
- const E = s.indexOf(S);
2023
- return `@media (min-width:${typeof t[f] == "number" ? t[f] : f}${n}) and (max-width:${(E !== -1 && typeof t[s[E]] == "number" ? t[s[E]] : S) - r / 100}${n})`;
2024
- }
2025
- function m(f) {
2026
- return s.indexOf(f) + 1 < s.length ? d(f, s[s.indexOf(f) + 1]) : c(f);
2027
- }
2028
- function y(f) {
2029
- const S = s.indexOf(f);
2030
- return S === 0 ? c(s[1]) : S === s.length - 1 ? p(s[S]) : d(f, s[s.indexOf(f) + 1]).replace("@media", "@media not all and");
2031
- }
2032
- return J({
2033
- keys: s,
2034
- values: i,
2035
- up: c,
2036
- down: p,
2037
- between: d,
2038
- only: m,
2039
- not: y,
2040
- unit: n
2041
- }, o);
2042
- }
2043
- const Xo = {
2044
- borderRadius: 4
2045
- }, Pe = process.env.NODE_ENV !== "production" ? j.oneOfType([j.number, j.string, j.object, j.array]) : {};
2046
- function Be(e, t) {
2047
- return t ? Ee(e, t, {
2048
- clone: !1
2049
- // No need to clone deep, it's way faster.
2050
- }) : e;
2051
- }
2052
- const Yt = {
2053
- xs: 0,
2054
- // phone
2055
- sm: 600,
2056
- // tablet
2057
- md: 900,
2058
- // small laptop
2059
- lg: 1200,
2060
- // desktop
2061
- xl: 1536
2062
- // large screen
2063
- }, vr = {
2064
- // Sorted ASC by size. That's important.
2065
- // It can't be configured as it's used statically for propTypes.
2066
- keys: ["xs", "sm", "md", "lg", "xl"],
2067
- up: (e) => `@media (min-width:${Yt[e]}px)`
2068
- };
2069
- function Te(e, t, n) {
2070
- const r = e.theme || {};
2071
- if (Array.isArray(t)) {
2072
- const i = r.breakpoints || vr;
2073
- return t.reduce((s, c, p) => (s[i.up(i.keys[p])] = n(t[p]), s), {});
2074
- }
2075
- if (typeof t == "object") {
2076
- const i = r.breakpoints || vr;
2077
- return Object.keys(t).reduce((s, c) => {
2078
- if (Object.keys(i.values || Yt).indexOf(c) !== -1) {
2079
- const p = i.up(c);
2080
- s[p] = n(t[c], c);
2081
- } else {
2082
- const p = c;
2083
- s[p] = t[p];
2084
- }
2085
- return s;
2086
- }, {});
2087
- }
2088
- return n(t);
2089
- }
2090
- function Jo(e = {}) {
2091
- var t;
2092
- return ((t = e.keys) == null ? void 0 : t.reduce((r, o) => {
2093
- const i = e.up(o);
2094
- return r[i] = {}, r;
2095
- }, {})) || {};
2096
- }
2097
- function Zo(e, t) {
2098
- return e.reduce((n, r) => {
2099
- const o = n[r];
2100
- return (!o || Object.keys(o).length === 0) && delete n[r], n;
2101
- }, t);
2102
- }
2103
- function Qo(e, t) {
2104
- if (typeof e != "object")
2105
- return {};
2106
- const n = {}, r = Object.keys(t);
2107
- return Array.isArray(e) ? r.forEach((o, i) => {
2108
- i < e.length && (n[o] = !0);
2109
- }) : r.forEach((o) => {
2110
- e[o] != null && (n[o] = !0);
2111
- }), n;
2112
- }
2113
- function Ws({
2114
- values: e,
2115
- breakpoints: t,
2116
- base: n
2117
- }) {
2118
- const r = n || Qo(e, t), o = Object.keys(r);
2119
- if (o.length === 0)
2120
- return e;
2121
- let i;
2122
- return o.reduce((s, c, p) => (Array.isArray(e) ? (s[c] = e[p] != null ? e[p] : e[i], i = p) : typeof e == "object" ? (s[c] = e[c] != null ? e[c] : e[i], i = c) : s[c] = e, s), {});
2123
- }
2124
- function mt(e, t, n = !0) {
2125
- if (!t || typeof t != "string")
2126
- return null;
2127
- if (e && e.vars && n) {
2128
- const r = `vars.${t}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
2129
- if (r != null)
2130
- return r;
2131
- }
2132
- return t.split(".").reduce((r, o) => r && r[o] != null ? r[o] : null, e);
2133
- }
2134
- function at(e, t, n, r = n) {
2135
- let o;
2136
- return typeof e == "function" ? o = e(n) : Array.isArray(e) ? o = e[n] || r : o = mt(e, n) || r, t && (o = t(o, r, e)), o;
2137
- }
2138
- function se(e) {
2139
- const {
2140
- prop: t,
2141
- cssProperty: n = e.prop,
2142
- themeKey: r,
2143
- transform: o
2144
- } = e, i = (s) => {
2145
- if (s[t] == null)
2146
- return null;
2147
- const c = s[t], p = s.theme, d = mt(p, r) || {};
2148
- return Te(s, c, (y) => {
2149
- let f = at(d, o, y);
2150
- return y === f && typeof y == "string" && (f = at(d, o, `${t}${y === "default" ? "" : we(y)}`, y)), n === !1 ? f : {
2151
- [n]: f
2152
- };
2153
- });
2154
- };
2155
- return i.propTypes = process.env.NODE_ENV !== "production" ? {
2156
- [t]: Pe
2157
- } : {}, i.filterProps = [t], i;
2158
- }
2159
- function ei(e) {
2160
- const t = {};
2161
- return (n) => (t[n] === void 0 && (t[n] = e(n)), t[n]);
2162
- }
2163
- const ti = {
2164
- m: "margin",
2165
- p: "padding"
2166
- }, ri = {
2167
- t: "Top",
2168
- r: "Right",
2169
- b: "Bottom",
2170
- l: "Left",
2171
- x: ["Left", "Right"],
2172
- y: ["Top", "Bottom"]
2173
- }, Er = {
2174
- marginX: "mx",
2175
- marginY: "my",
2176
- paddingX: "px",
2177
- paddingY: "py"
2178
- }, ni = ei((e) => {
2179
- if (e.length > 2)
2180
- if (Er[e])
2181
- e = Er[e];
2182
- else
2183
- return [e];
2184
- const [t, n] = e.split(""), r = ti[t], o = ri[n] || "";
2185
- return Array.isArray(o) ? o.map((i) => r + i) : [r + o];
2186
- }), ht = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], gt = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], oi = [...ht, ...gt];
2187
- function Xe(e, t, n, r) {
2188
- var o;
2189
- const i = (o = mt(e, t, !1)) != null ? o : n;
2190
- return typeof i == "number" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${r} argument to be a number or a string, got ${s}.`), i * s) : Array.isArray(i) ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > i.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${s} > ${i.length - 1}, you need to add the missing values.`].join(`
2191
- `)) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
2192
- `))), i[s]) : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(`
2193
- `)), () => {
2194
- });
2195
- }
2196
- function Jr(e) {
2197
- return Xe(e, "spacing", 8, "spacing");
2198
- }
2199
- function Je(e, t) {
2200
- if (typeof t == "string" || t == null)
2201
- return t;
2202
- const n = Math.abs(t), r = e(n);
2203
- return t >= 0 ? r : typeof r == "number" ? -r : `-${r}`;
2204
- }
2205
- function ii(e, t) {
2206
- return (n) => e.reduce((r, o) => (r[o] = Je(t, n), r), {});
2207
- }
2208
- function si(e, t, n, r) {
2209
- if (t.indexOf(n) === -1)
2210
- return null;
2211
- const o = ni(n), i = ii(o, r), s = e[n];
2212
- return Te(e, s, i);
2213
- }
2214
- function Zr(e, t) {
2215
- const n = Jr(e.theme);
2216
- return Object.keys(e).map((r) => si(e, t, r, n)).reduce(Be, {});
2217
- }
2218
- function oe(e) {
2219
- return Zr(e, ht);
2220
- }
2221
- oe.propTypes = process.env.NODE_ENV !== "production" ? ht.reduce((e, t) => (e[t] = Pe, e), {}) : {};
2222
- oe.filterProps = ht;
2223
- function ie(e) {
2224
- return Zr(e, gt);
2225
- }
2226
- ie.propTypes = process.env.NODE_ENV !== "production" ? gt.reduce((e, t) => (e[t] = Pe, e), {}) : {};
2227
- ie.filterProps = gt;
2228
- process.env.NODE_ENV !== "production" && oi.reduce((e, t) => (e[t] = Pe, e), {});
2229
- function ai(e = 8) {
2230
- if (e.mui)
2231
- return e;
2232
- const t = Jr({
2233
- spacing: e
2234
- }), n = (...r) => (process.env.NODE_ENV !== "production" && (r.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)), (r.length === 0 ? [1] : r).map((i) => {
2235
- const s = t(i);
2236
- return typeof s == "number" ? `${s}px` : s;
2237
- }).join(" "));
2238
- return n.mui = !0, n;
2239
- }
2240
- function bt(...e) {
2241
- const t = e.reduce((r, o) => (o.filterProps.forEach((i) => {
2242
- r[i] = o;
2243
- }), r), {}), n = (r) => Object.keys(r).reduce((o, i) => t[i] ? Be(o, t[i](r)) : o, {});
2244
- return n.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((r, o) => Object.assign(r, o.propTypes), {}) : {}, n.filterProps = e.reduce((r, o) => r.concat(o.filterProps), []), n;
2245
- }
2246
- function he(e) {
2247
- return typeof e != "number" ? e : `${e}px solid`;
2248
- }
2249
- function ge(e, t) {
2250
- return se({
2251
- prop: e,
2252
- themeKey: "borders",
2253
- transform: t
2254
- });
2255
- }
2256
- const ci = ge("border", he), ui = ge("borderTop", he), fi = ge("borderRight", he), li = ge("borderBottom", he), di = ge("borderLeft", he), pi = ge("borderColor"), yi = ge("borderTopColor"), mi = ge("borderRightColor"), hi = ge("borderBottomColor"), gi = ge("borderLeftColor"), bi = ge("outline", he), vi = ge("outlineColor"), vt = (e) => {
2257
- if (e.borderRadius !== void 0 && e.borderRadius !== null) {
2258
- const t = Xe(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({
2259
- borderRadius: Je(t, r)
2260
- });
2261
- return Te(e, e.borderRadius, n);
2262
- }
2263
- return null;
2264
- };
2265
- vt.propTypes = process.env.NODE_ENV !== "production" ? {
2266
- borderRadius: Pe
2267
- } : {};
2268
- vt.filterProps = ["borderRadius"];
2269
- bt(ci, ui, fi, li, di, pi, yi, mi, hi, gi, vt, bi, vi);
2270
- const Et = (e) => {
2271
- if (e.gap !== void 0 && e.gap !== null) {
2272
- const t = Xe(e.theme, "spacing", 8, "gap"), n = (r) => ({
2273
- gap: Je(t, r)
2274
- });
2275
- return Te(e, e.gap, n);
2276
- }
2277
- return null;
2278
- };
2279
- Et.propTypes = process.env.NODE_ENV !== "production" ? {
2280
- gap: Pe
2281
- } : {};
2282
- Et.filterProps = ["gap"];
2283
- const _t = (e) => {
2284
- if (e.columnGap !== void 0 && e.columnGap !== null) {
2285
- const t = Xe(e.theme, "spacing", 8, "columnGap"), n = (r) => ({
2286
- columnGap: Je(t, r)
2287
- });
2288
- return Te(e, e.columnGap, n);
2289
- }
2290
- return null;
2291
- };
2292
- _t.propTypes = process.env.NODE_ENV !== "production" ? {
2293
- columnGap: Pe
2294
- } : {};
2295
- _t.filterProps = ["columnGap"];
2296
- const St = (e) => {
2297
- if (e.rowGap !== void 0 && e.rowGap !== null) {
2298
- const t = Xe(e.theme, "spacing", 8, "rowGap"), n = (r) => ({
2299
- rowGap: Je(t, r)
2300
- });
2301
- return Te(e, e.rowGap, n);
2302
- }
2303
- return null;
2304
- };
2305
- St.propTypes = process.env.NODE_ENV !== "production" ? {
2306
- rowGap: Pe
2307
- } : {};
2308
- St.filterProps = ["rowGap"];
2309
- const Ei = se({
2310
- prop: "gridColumn"
2311
- }), _i = se({
2312
- prop: "gridRow"
2313
- }), Si = se({
2314
- prop: "gridAutoFlow"
2315
- }), xi = se({
2316
- prop: "gridAutoColumns"
2317
- }), Ti = se({
2318
- prop: "gridAutoRows"
2319
- }), Oi = se({
2320
- prop: "gridTemplateColumns"
2321
- }), $i = se({
2322
- prop: "gridTemplateRows"
2323
- }), wi = se({
2324
- prop: "gridTemplateAreas"
2325
- }), Ri = se({
2326
- prop: "gridArea"
2327
- });
2328
- bt(Et, _t, St, Ei, _i, Si, xi, Ti, Oi, $i, wi, Ri);
2329
- function Fe(e, t) {
2330
- return t === "grey" ? t : e;
2331
- }
2332
- const Pi = se({
2333
- prop: "color",
2334
- themeKey: "palette",
2335
- transform: Fe
2336
- }), Ci = se({
2337
- prop: "bgcolor",
2338
- cssProperty: "backgroundColor",
2339
- themeKey: "palette",
2340
- transform: Fe
2341
- }), Ai = se({
2342
- prop: "backgroundColor",
2343
- themeKey: "palette",
2344
- transform: Fe
2345
- });
2346
- bt(Pi, Ci, Ai);
2347
- function ye(e) {
2348
- return e <= 1 && e !== 0 ? `${e * 100}%` : e;
2349
- }
2350
- const Ii = se({
2351
- prop: "width",
2352
- transform: ye
2353
- }), Kt = (e) => {
2354
- if (e.maxWidth !== void 0 && e.maxWidth !== null) {
2355
- const t = (n) => {
2356
- var r, o;
2357
- const i = ((r = e.theme) == null || (r = r.breakpoints) == null || (r = r.values) == null ? void 0 : r[n]) || Yt[n];
2358
- return i ? ((o = e.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? {
2359
- maxWidth: `${i}${e.theme.breakpoints.unit}`
2360
- } : {
2361
- maxWidth: i
2362
- } : {
2363
- maxWidth: ye(n)
2364
- };
2365
- };
2366
- return Te(e, e.maxWidth, t);
2367
- }
2368
- return null;
2369
- };
2370
- Kt.filterProps = ["maxWidth"];
2371
- const Mi = se({
2372
- prop: "minWidth",
2373
- transform: ye
2374
- }), ji = se({
2375
- prop: "height",
2376
- transform: ye
2377
- }), ki = se({
2378
- prop: "maxHeight",
2379
- transform: ye
2380
- }), Ni = se({
2381
- prop: "minHeight",
2382
- transform: ye
2383
- });
2384
- se({
2385
- prop: "size",
2386
- cssProperty: "width",
2387
- transform: ye
2388
- });
2389
- se({
2390
- prop: "size",
2391
- cssProperty: "height",
2392
- transform: ye
2393
- });
2394
- const Di = se({
2395
- prop: "boxSizing"
2396
- });
2397
- bt(Ii, Kt, Mi, ji, ki, Ni, Di);
2398
- const Ze = {
2399
- // borders
2400
- border: {
2401
- themeKey: "borders",
2402
- transform: he
2403
- },
2404
- borderTop: {
2405
- themeKey: "borders",
2406
- transform: he
2407
- },
2408
- borderRight: {
2409
- themeKey: "borders",
2410
- transform: he
2411
- },
2412
- borderBottom: {
2413
- themeKey: "borders",
2414
- transform: he
2415
- },
2416
- borderLeft: {
2417
- themeKey: "borders",
2418
- transform: he
2419
- },
2420
- borderColor: {
2421
- themeKey: "palette"
2422
- },
2423
- borderTopColor: {
2424
- themeKey: "palette"
2425
- },
2426
- borderRightColor: {
2427
- themeKey: "palette"
2428
- },
2429
- borderBottomColor: {
2430
- themeKey: "palette"
2431
- },
2432
- borderLeftColor: {
2433
- themeKey: "palette"
2434
- },
2435
- outline: {
2436
- themeKey: "borders",
2437
- transform: he
2438
- },
2439
- outlineColor: {
2440
- themeKey: "palette"
2441
- },
2442
- borderRadius: {
2443
- themeKey: "shape.borderRadius",
2444
- style: vt
2445
- },
2446
- // palette
2447
- color: {
2448
- themeKey: "palette",
2449
- transform: Fe
2450
- },
2451
- bgcolor: {
2452
- themeKey: "palette",
2453
- cssProperty: "backgroundColor",
2454
- transform: Fe
2455
- },
2456
- backgroundColor: {
2457
- themeKey: "palette",
2458
- transform: Fe
2459
- },
2460
- // spacing
2461
- p: {
2462
- style: ie
2463
- },
2464
- pt: {
2465
- style: ie
2466
- },
2467
- pr: {
2468
- style: ie
2469
- },
2470
- pb: {
2471
- style: ie
2472
- },
2473
- pl: {
2474
- style: ie
2475
- },
2476
- px: {
2477
- style: ie
2478
- },
2479
- py: {
2480
- style: ie
2481
- },
2482
- padding: {
2483
- style: ie
2484
- },
2485
- paddingTop: {
2486
- style: ie
2487
- },
2488
- paddingRight: {
2489
- style: ie
2490
- },
2491
- paddingBottom: {
2492
- style: ie
2493
- },
2494
- paddingLeft: {
2495
- style: ie
2496
- },
2497
- paddingX: {
2498
- style: ie
2499
- },
2500
- paddingY: {
2501
- style: ie
2502
- },
2503
- paddingInline: {
2504
- style: ie
2505
- },
2506
- paddingInlineStart: {
2507
- style: ie
2508
- },
2509
- paddingInlineEnd: {
2510
- style: ie
2511
- },
2512
- paddingBlock: {
2513
- style: ie
2514
- },
2515
- paddingBlockStart: {
2516
- style: ie
2517
- },
2518
- paddingBlockEnd: {
2519
- style: ie
2520
- },
2521
- m: {
2522
- style: oe
2523
- },
2524
- mt: {
2525
- style: oe
2526
- },
2527
- mr: {
2528
- style: oe
2529
- },
2530
- mb: {
2531
- style: oe
2532
- },
2533
- ml: {
2534
- style: oe
2535
- },
2536
- mx: {
2537
- style: oe
2538
- },
2539
- my: {
2540
- style: oe
2541
- },
2542
- margin: {
2543
- style: oe
2544
- },
2545
- marginTop: {
2546
- style: oe
2547
- },
2548
- marginRight: {
2549
- style: oe
2550
- },
2551
- marginBottom: {
2552
- style: oe
2553
- },
2554
- marginLeft: {
2555
- style: oe
2556
- },
2557
- marginX: {
2558
- style: oe
2559
- },
2560
- marginY: {
2561
- style: oe
2562
- },
2563
- marginInline: {
2564
- style: oe
2565
- },
2566
- marginInlineStart: {
2567
- style: oe
2568
- },
2569
- marginInlineEnd: {
2570
- style: oe
2571
- },
2572
- marginBlock: {
2573
- style: oe
2574
- },
2575
- marginBlockStart: {
2576
- style: oe
2577
- },
2578
- marginBlockEnd: {
2579
- style: oe
2580
- },
2581
- // display
2582
- displayPrint: {
2583
- cssProperty: !1,
2584
- transform: (e) => ({
2585
- "@media print": {
2586
- display: e
2587
- }
2588
- })
2589
- },
2590
- display: {},
2591
- overflow: {},
2592
- textOverflow: {},
2593
- visibility: {},
2594
- whiteSpace: {},
2595
- // flexbox
2596
- flexBasis: {},
2597
- flexDirection: {},
2598
- flexWrap: {},
2599
- justifyContent: {},
2600
- alignItems: {},
2601
- alignContent: {},
2602
- order: {},
2603
- flex: {},
2604
- flexGrow: {},
2605
- flexShrink: {},
2606
- alignSelf: {},
2607
- justifyItems: {},
2608
- justifySelf: {},
2609
- // grid
2610
- gap: {
2611
- style: Et
2612
- },
2613
- rowGap: {
2614
- style: St
2615
- },
2616
- columnGap: {
2617
- style: _t
2618
- },
2619
- gridColumn: {},
2620
- gridRow: {},
2621
- gridAutoFlow: {},
2622
- gridAutoColumns: {},
2623
- gridAutoRows: {},
2624
- gridTemplateColumns: {},
2625
- gridTemplateRows: {},
2626
- gridTemplateAreas: {},
2627
- gridArea: {},
2628
- // positions
2629
- position: {},
2630
- zIndex: {
2631
- themeKey: "zIndex"
2632
- },
2633
- top: {},
2634
- right: {},
2635
- bottom: {},
2636
- left: {},
2637
- // shadows
2638
- boxShadow: {
2639
- themeKey: "shadows"
2640
- },
2641
- // sizing
2642
- width: {
2643
- transform: ye
2644
- },
2645
- maxWidth: {
2646
- style: Kt
2647
- },
2648
- minWidth: {
2649
- transform: ye
2650
- },
2651
- height: {
2652
- transform: ye
2653
- },
2654
- maxHeight: {
2655
- transform: ye
2656
- },
2657
- minHeight: {
2658
- transform: ye
2659
- },
2660
- boxSizing: {},
2661
- // typography
2662
- fontFamily: {
2663
- themeKey: "typography"
2664
- },
2665
- fontSize: {
2666
- themeKey: "typography"
2667
- },
2668
- fontStyle: {
2669
- themeKey: "typography"
2670
- },
2671
- fontWeight: {
2672
- themeKey: "typography"
2673
- },
2674
- letterSpacing: {},
2675
- textTransform: {},
2676
- lineHeight: {},
2677
- textAlign: {},
2678
- typography: {
2679
- cssProperty: !1,
2680
- themeKey: "typography"
2681
- }
2682
- };
2683
- function Fi(...e) {
2684
- const t = e.reduce((r, o) => r.concat(Object.keys(o)), []), n = new Set(t);
2685
- return e.every((r) => n.size === Object.keys(r).length);
2686
- }
2687
- function zi(e, t) {
2688
- return typeof e == "function" ? e(t) : e;
2689
- }
2690
- function Qr() {
2691
- function e(n, r, o, i) {
2692
- const s = {
2693
- [n]: r,
2694
- theme: o
2695
- }, c = i[n];
2696
- if (!c)
2697
- return {
2698
- [n]: r
2699
- };
2700
- const {
2701
- cssProperty: p = n,
2702
- themeKey: d,
2703
- transform: m,
2704
- style: y
2705
- } = c;
2706
- if (r == null)
2707
- return null;
2708
- if (d === "typography" && r === "inherit")
2709
- return {
2710
- [n]: r
2711
- };
2712
- const f = mt(o, d) || {};
2713
- return y ? y(s) : Te(s, r, (E) => {
2714
- let l = at(f, m, E);
2715
- return E === l && typeof E == "string" && (l = at(f, m, `${n}${E === "default" ? "" : we(E)}`, E)), p === !1 ? l : {
2716
- [p]: l
2717
- };
2718
- });
2719
- }
2720
- function t(n) {
2721
- var r;
2722
- const {
2723
- sx: o,
2724
- theme: i = {}
2725
- } = n || {};
2726
- if (!o)
2727
- return null;
2728
- const s = (r = i.unstable_sxConfig) != null ? r : Ze;
2729
- function c(p) {
2730
- let d = p;
2731
- if (typeof p == "function")
2732
- d = p(i);
2733
- else if (typeof p != "object")
2734
- return p;
2735
- if (!d)
2736
- return null;
2737
- const m = Jo(i.breakpoints), y = Object.keys(m);
2738
- let f = m;
2739
- return Object.keys(d).forEach((S) => {
2740
- const E = zi(d[S], i);
2741
- if (E != null)
2742
- if (typeof E == "object")
2743
- if (s[S])
2744
- f = Be(f, e(S, E, i, s));
2745
- else {
2746
- const l = Te({
2747
- theme: i
2748
- }, E, (u) => ({
2749
- [S]: u
2750
- }));
2751
- Fi(l, E) ? f[S] = t({
2752
- sx: E,
2753
- theme: i
2754
- }) : f = Be(f, l);
2755
- }
2756
- else
2757
- f = Be(f, e(S, E, i, s));
2758
- }), Zo(y, f);
2759
- }
2760
- return Array.isArray(o) ? o.map(c) : c(o);
2761
- }
2762
- return t;
2763
- }
2764
- const xt = Qr();
2765
- xt.filterProps = ["sx"];
2766
- function en(e, t) {
2767
- const n = this;
2768
- return n.vars && typeof n.getColorSchemeSelector == "function" ? {
2769
- [n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/, "*:where($1)")]: t
2770
- } : n.palette.mode === e ? t : {};
2771
- }
2772
- const Li = ["breakpoints", "palette", "spacing", "shape"];
2773
- function tn(e = {}, ...t) {
2774
- const {
2775
- breakpoints: n = {},
2776
- palette: r = {},
2777
- spacing: o,
2778
- shape: i = {}
2779
- } = e, s = Re(e, Li), c = Xr(n), p = ai(o);
2780
- let d = Ee({
2781
- breakpoints: c,
2782
- direction: "ltr",
2783
- components: {},
2784
- // Inject component definitions.
2785
- palette: J({
2786
- mode: "light"
2787
- }, r),
2788
- spacing: p,
2789
- shape: J({}, Xo, i)
2790
- }, s);
2791
- return d.applyStyles = en, d = t.reduce((m, y) => Ee(m, y), d), d.unstable_sxConfig = J({}, Ze, s?.unstable_sxConfig), d.unstable_sx = function(y) {
2792
- return xt({
2793
- sx: y,
2794
- theme: this
2795
- });
2796
- }, d;
2797
- }
2798
- const qi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2799
- __proto__: null,
2800
- default: tn,
2801
- private_createBreakpoints: Xr,
2802
- unstable_applyStyles: en
2803
- }, Symbol.toStringTag, { value: "Module" })), Wi = /* @__PURE__ */ Oe(qi), Bi = ["sx"], Ui = (e) => {
2804
- var t, n;
2805
- const r = {
2806
- systemProps: {},
2807
- otherProps: {}
2808
- }, o = (t = e == null || (n = e.theme) == null ? void 0 : n.unstable_sxConfig) != null ? t : Ze;
2809
- return Object.keys(e).forEach((i) => {
2810
- o[i] ? r.systemProps[i] = e[i] : r.otherProps[i] = e[i];
2811
- }), r;
2812
- };
2813
- function Vi(e) {
2814
- const {
2815
- sx: t
2816
- } = e, n = Re(e, Bi), {
2817
- systemProps: r,
2818
- otherProps: o
2819
- } = Ui(n);
2820
- let i;
2821
- return Array.isArray(t) ? i = [r, ...t] : typeof t == "function" ? i = (...s) => {
2822
- const c = t(...s);
2823
- return $e(c) ? J({}, r, c) : r;
2824
- } : i = J({}, r, t), J({}, o, {
2825
- sx: i
2826
- });
2827
- }
2828
- const Yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2829
- __proto__: null,
2830
- default: xt,
2831
- extendSxProp: Vi,
2832
- unstable_createStyleFunctionSx: Qr,
2833
- unstable_defaultSxConfig: Ze
2834
- }, Symbol.toStringTag, { value: "Module" })), Ki = /* @__PURE__ */ Oe(Yi);
2835
- var _r;
2836
- function Gi() {
2837
- if (_r) return Ae;
2838
- _r = 1;
2839
- var e = Cr();
2840
- Object.defineProperty(Ae, "__esModule", {
2841
- value: !0
2842
- }), Ae.default = Q, Ae.shouldForwardProp = u, Ae.systemDefaultTheme = void 0;
2843
- var t = e(co()), n = e(uo()), r = S(Uo), o = Vo, i = e(Yo), s = e(Ko), c = e(Wi), p = e(Ki);
2844
- const d = ["ownerState"], m = ["variants"], y = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
2845
- function f(a) {
2846
- if (typeof WeakMap != "function") return null;
2847
- var b = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap();
2848
- return (f = function(T) {
2849
- return T ? g : b;
2850
- })(a);
2851
- }
2852
- function S(a, b) {
2853
- if (a && a.__esModule) return a;
2854
- if (a === null || typeof a != "object" && typeof a != "function") return { default: a };
2855
- var g = f(b);
2856
- if (g && g.has(a)) return g.get(a);
2857
- var T = { __proto__: null }, N = Object.defineProperty && Object.getOwnPropertyDescriptor;
2858
- for (var H in a) if (H !== "default" && Object.prototype.hasOwnProperty.call(a, H)) {
2859
- var X = N ? Object.getOwnPropertyDescriptor(a, H) : null;
2860
- X && (X.get || X.set) ? Object.defineProperty(T, H, X) : T[H] = a[H];
2861
- }
2862
- return T.default = a, g && g.set(a, T), T;
2863
- }
2864
- function E(a) {
2865
- return Object.keys(a).length === 0;
2866
- }
2867
- function l(a) {
2868
- return typeof a == "string" && // 96 is one less than the char code
2869
- // for "a" so this is checking that
2870
- // it's a lowercase character
2871
- a.charCodeAt(0) > 96;
2872
- }
2873
- function u(a) {
2874
- return a !== "ownerState" && a !== "theme" && a !== "sx" && a !== "as";
2875
- }
2876
- const $ = Ae.systemDefaultTheme = (0, c.default)(), z = (a) => a && a.charAt(0).toLowerCase() + a.slice(1);
2877
- function P({
2878
- defaultTheme: a,
2879
- theme: b,
2880
- themeId: g
2881
- }) {
2882
- return E(b) ? a : b[g] || b;
2883
- }
2884
- function L(a) {
2885
- return a ? (b, g) => g[a] : null;
2886
- }
2887
- function h(a, b) {
2888
- let {
2889
- ownerState: g
2890
- } = b, T = (0, n.default)(b, d);
2891
- const N = typeof a == "function" ? a((0, t.default)({
2892
- ownerState: g
2893
- }, T)) : a;
2894
- if (Array.isArray(N))
2895
- return N.flatMap((H) => h(H, (0, t.default)({
2896
- ownerState: g
2897
- }, T)));
2898
- if (N && typeof N == "object" && Array.isArray(N.variants)) {
2899
- const {
2900
- variants: H = []
2901
- } = N;
2902
- let re = (0, n.default)(N, m);
2903
- return H.forEach((B) => {
2904
- let U = !0;
2905
- typeof B.props == "function" ? U = B.props((0, t.default)({
2906
- ownerState: g
2907
- }, T, g)) : Object.keys(B.props).forEach((ae) => {
2908
- g?.[ae] !== B.props[ae] && T[ae] !== B.props[ae] && (U = !1);
2909
- }), U && (Array.isArray(re) || (re = [re]), re.push(typeof B.style == "function" ? B.style((0, t.default)({
2910
- ownerState: g
2911
- }, T, g)) : B.style));
2912
- }), re;
2913
- }
2914
- return N;
2915
- }
2916
- function Q(a = {}) {
2917
- const {
2918
- themeId: b,
2919
- defaultTheme: g = $,
2920
- rootShouldForwardProp: T = u,
2921
- slotShouldForwardProp: N = u
2922
- } = a, H = (X) => (0, p.default)((0, t.default)({}, X, {
2923
- theme: P((0, t.default)({}, X, {
2924
- defaultTheme: g,
2925
- themeId: b
2926
- }))
2927
- }));
2928
- return H.__mui_systemSx = !0, (X, re = {}) => {
2929
- (0, r.internal_processStyles)(X, (w) => w.filter((M) => !(M != null && M.__mui_systemSx)));
2930
- const {
2931
- name: B,
2932
- slot: U,
2933
- skipVariantsResolver: ae,
2934
- skipSx: Se,
2935
- // TODO v6: remove `lowercaseFirstLetter()` in the next major release
2936
- // For more details: https://github.com/mui/material-ui/pull/37908
2937
- overridesResolver: xe = L(z(U))
2938
- } = re, v = (0, n.default)(re, y), O = ae !== void 0 ? ae : (
2939
- // TODO v6: remove `Root` in the next major release
2940
- // For more details: https://github.com/mui/material-ui/pull/37908
2941
- U && U !== "Root" && U !== "root" || !1
2942
- ), k = Se || !1;
2943
- let A;
2944
- process.env.NODE_ENV !== "production" && B && (A = `${B}-${z(U || "Root")}`);
2945
- let R = u;
2946
- U === "Root" || U === "root" ? R = T : U ? R = N : l(X) && (R = void 0);
2947
- const D = (0, r.default)(X, (0, t.default)({
2948
- shouldForwardProp: R,
2949
- label: A
2950
- }, v)), C = (w) => typeof w == "function" && w.__emotion_real !== w || (0, o.isPlainObject)(w) ? (M) => h(w, (0, t.default)({}, M, {
2951
- theme: P({
2952
- theme: M.theme,
2953
- defaultTheme: g,
2954
- themeId: b
2955
- })
2956
- })) : w, I = (w, ...M) => {
2957
- let F = C(w);
2958
- const ne = M ? M.map(C) : [];
2959
- B && xe && ne.push((x) => {
2960
- const ue = P((0, t.default)({}, x, {
2961
- defaultTheme: g,
2962
- themeId: b
2963
- }));
2964
- if (!ue.components || !ue.components[B] || !ue.components[B].styleOverrides)
2965
- return null;
2966
- const be = ue.components[B].styleOverrides, Ce = {};
2967
- return Object.entries(be).forEach(([rn, nn]) => {
2968
- Ce[rn] = h(nn, (0, t.default)({}, x, {
2969
- theme: ue
2970
- }));
2971
- }), xe(x, Ce);
2972
- }), B && !O && ne.push((x) => {
2973
- var ue;
2974
- const be = P((0, t.default)({}, x, {
2975
- defaultTheme: g,
2976
- themeId: b
2977
- })), Ce = be == null || (ue = be.components) == null || (ue = ue[B]) == null ? void 0 : ue.variants;
2978
- return h({
2979
- variants: Ce
2980
- }, (0, t.default)({}, x, {
2981
- theme: be
2982
- }));
2983
- }), k || ne.push(H);
2984
- const _ = ne.length - M.length;
2985
- if (Array.isArray(w) && _ > 0) {
2986
- const x = new Array(_).fill("");
2987
- F = [...w, ...x], F.raw = [...w.raw, ...x];
2988
- }
2989
- const le = D(F, ...ne);
2990
- if (process.env.NODE_ENV !== "production") {
2991
- let x;
2992
- B && (x = `${B}${(0, i.default)(U || "")}`), x === void 0 && (x = `Styled(${(0, s.default)(X)})`), le.displayName = x;
2993
- }
2994
- return X.muiName && (le.muiName = X.muiName), le;
2995
- };
2996
- return D.withConfig && (I.withConfig = D.withConfig), I;
2997
- };
2998
- }
2999
- return Ae;
3000
- }
3001
- var Hi = /* @__PURE__ */ Gi();
3002
- const Xi = /* @__PURE__ */ Pr(Hi);
3003
- function Ji(e, t) {
3004
- return J({
3005
- toolbar: {
3006
- minHeight: 56,
3007
- [e.up("xs")]: {
3008
- "@media (orientation: landscape)": {
3009
- minHeight: 48
3010
- }
3011
- },
3012
- [e.up("sm")]: {
3013
- minHeight: 64
3014
- }
3015
- }
3016
- }, t);
3017
- }
3018
- var te = {};
3019
- const Zi = /* @__PURE__ */ Oe(En), Qi = /* @__PURE__ */ Oe(ro);
3020
- var Sr;
3021
- function es() {
3022
- if (Sr) return te;
3023
- Sr = 1;
3024
- var e = Cr();
3025
- Object.defineProperty(te, "__esModule", {
3026
- value: !0
3027
- }), te.alpha = E, te.blend = Q, te.colorChannel = void 0, te.darken = u, te.decomposeColor = s, te.emphasize = L, te.getContrastRatio = S, te.getLuminance = f, te.hexToRgb = o, te.hslToRgb = y, te.lighten = z, te.private_safeAlpha = l, te.private_safeColorChannel = void 0, te.private_safeDarken = $, te.private_safeEmphasize = h, te.private_safeLighten = P, te.recomposeColor = d, te.rgbToHex = m;
3028
- var t = e(Zi), n = e(Qi);
3029
- function r(a, b = 0, g = 1) {
3030
- return process.env.NODE_ENV !== "production" && (a < b || a > g) && console.error(`MUI: The value provided ${a} is out of range [${b}, ${g}].`), (0, n.default)(a, b, g);
3031
- }
3032
- function o(a) {
3033
- a = a.slice(1);
3034
- const b = new RegExp(`.{1,${a.length >= 6 ? 2 : 1}}`, "g");
3035
- let g = a.match(b);
3036
- return g && g[0].length === 1 && (g = g.map((T) => T + T)), g ? `rgb${g.length === 4 ? "a" : ""}(${g.map((T, N) => N < 3 ? parseInt(T, 16) : Math.round(parseInt(T, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
3037
- }
3038
- function i(a) {
3039
- const b = a.toString(16);
3040
- return b.length === 1 ? `0${b}` : b;
3041
- }
3042
- function s(a) {
3043
- if (a.type)
3044
- return a;
3045
- if (a.charAt(0) === "#")
3046
- return s(o(a));
3047
- const b = a.indexOf("("), g = a.substring(0, b);
3048
- if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(g) === -1)
3049
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${a}\` color.
3050
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, t.default)(9, a));
3051
- let T = a.substring(b + 1, a.length - 1), N;
3052
- if (g === "color") {
3053
- if (T = T.split(" "), N = 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(N) === -1)
3054
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${N}\` color space.
3055
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, t.default)(10, N));
3056
- } else
3057
- T = T.split(",");
3058
- return T = T.map((H) => parseFloat(H)), {
3059
- type: g,
3060
- values: T,
3061
- colorSpace: N
3062
- };
3063
- }
3064
- const c = (a) => {
3065
- const b = s(a);
3066
- return b.values.slice(0, 3).map((g, T) => b.type.indexOf("hsl") !== -1 && T !== 0 ? `${g}%` : g).join(" ");
3067
- };
3068
- te.colorChannel = c;
3069
- const p = (a, b) => {
3070
- try {
3071
- return c(a);
3072
- } catch {
3073
- return b && process.env.NODE_ENV !== "production" && console.warn(b), a;
3074
- }
3075
- };
3076
- te.private_safeColorChannel = p;
3077
- function d(a) {
3078
- const {
3079
- type: b,
3080
- colorSpace: g
3081
- } = a;
3082
- let {
3083
- values: T
3084
- } = a;
3085
- return b.indexOf("rgb") !== -1 ? T = T.map((N, H) => H < 3 ? parseInt(N, 10) : N) : b.indexOf("hsl") !== -1 && (T[1] = `${T[1]}%`, T[2] = `${T[2]}%`), b.indexOf("color") !== -1 ? T = `${g} ${T.join(" ")}` : T = `${T.join(", ")}`, `${b}(${T})`;
3086
- }
3087
- function m(a) {
3088
- if (a.indexOf("#") === 0)
3089
- return a;
3090
- const {
3091
- values: b
3092
- } = s(a);
3093
- return `#${b.map((g, T) => i(T === 3 ? Math.round(255 * g) : g)).join("")}`;
3094
- }
3095
- function y(a) {
3096
- a = s(a);
3097
- const {
3098
- values: b
3099
- } = a, g = b[0], T = b[1] / 100, N = b[2] / 100, H = T * Math.min(N, 1 - N), X = (U, ae = (U + g / 30) % 12) => N - H * Math.max(Math.min(ae - 3, 9 - ae, 1), -1);
3100
- let re = "rgb";
3101
- const B = [Math.round(X(0) * 255), Math.round(X(8) * 255), Math.round(X(4) * 255)];
3102
- return a.type === "hsla" && (re += "a", B.push(b[3])), d({
3103
- type: re,
3104
- values: B
3105
- });
3106
- }
3107
- function f(a) {
3108
- a = s(a);
3109
- let b = a.type === "hsl" || a.type === "hsla" ? s(y(a)).values : a.values;
3110
- return b = b.map((g) => (a.type !== "color" && (g /= 255), g <= 0.03928 ? g / 12.92 : ((g + 0.055) / 1.055) ** 2.4)), Number((0.2126 * b[0] + 0.7152 * b[1] + 0.0722 * b[2]).toFixed(3));
3111
- }
3112
- function S(a, b) {
3113
- const g = f(a), T = f(b);
3114
- return (Math.max(g, T) + 0.05) / (Math.min(g, T) + 0.05);
3115
- }
3116
- function E(a, b) {
3117
- return a = s(a), b = r(b), (a.type === "rgb" || a.type === "hsl") && (a.type += "a"), a.type === "color" ? a.values[3] = `/${b}` : a.values[3] = b, d(a);
3118
- }
3119
- function l(a, b, g) {
3120
- try {
3121
- return E(a, b);
3122
- } catch {
3123
- return g && process.env.NODE_ENV !== "production" && console.warn(g), a;
3124
- }
3125
- }
3126
- function u(a, b) {
3127
- if (a = s(a), b = r(b), a.type.indexOf("hsl") !== -1)
3128
- a.values[2] *= 1 - b;
3129
- else if (a.type.indexOf("rgb") !== -1 || a.type.indexOf("color") !== -1)
3130
- for (let g = 0; g < 3; g += 1)
3131
- a.values[g] *= 1 - b;
3132
- return d(a);
3133
- }
3134
- function $(a, b, g) {
3135
- try {
3136
- return u(a, b);
3137
- } catch {
3138
- return g && process.env.NODE_ENV !== "production" && console.warn(g), a;
3139
- }
3140
- }
3141
- function z(a, b) {
3142
- if (a = s(a), b = r(b), a.type.indexOf("hsl") !== -1)
3143
- a.values[2] += (100 - a.values[2]) * b;
3144
- else if (a.type.indexOf("rgb") !== -1)
3145
- for (let g = 0; g < 3; g += 1)
3146
- a.values[g] += (255 - a.values[g]) * b;
3147
- else if (a.type.indexOf("color") !== -1)
3148
- for (let g = 0; g < 3; g += 1)
3149
- a.values[g] += (1 - a.values[g]) * b;
3150
- return d(a);
3151
- }
3152
- function P(a, b, g) {
3153
- try {
3154
- return z(a, b);
3155
- } catch {
3156
- return g && process.env.NODE_ENV !== "production" && console.warn(g), a;
3157
- }
3158
- }
3159
- function L(a, b = 0.15) {
3160
- return f(a) > 0.5 ? u(a, b) : z(a, b);
3161
- }
3162
- function h(a, b, g) {
3163
- try {
3164
- return L(a, b);
3165
- } catch {
3166
- return g && process.env.NODE_ENV !== "production" && console.warn(g), a;
3167
- }
3168
- }
3169
- function Q(a, b, g, T = 1) {
3170
- const N = (B, U) => Math.round((B ** (1 / T) * (1 - g) + U ** (1 / T) * g) ** T), H = s(a), X = s(b), re = [N(H.values[0], X.values[0]), N(H.values[1], X.values[1]), N(H.values[2], X.values[2])];
3171
- return d({
3172
- type: "rgb",
3173
- values: re
3174
- });
3175
- }
3176
- return te;
3177
- }
3178
- var ct = /* @__PURE__ */ es();
3179
- const Ge = {
3180
- black: "#000",
3181
- white: "#fff"
3182
- }, ts = {
3183
- 50: "#fafafa",
3184
- 100: "#f5f5f5",
3185
- 200: "#eeeeee",
3186
- 300: "#e0e0e0",
3187
- 400: "#bdbdbd",
3188
- 500: "#9e9e9e",
3189
- 600: "#757575",
3190
- 700: "#616161",
3191
- 800: "#424242",
3192
- 900: "#212121",
3193
- A100: "#f5f5f5",
3194
- A200: "#eeeeee",
3195
- A400: "#bdbdbd",
3196
- A700: "#616161"
3197
- }, Ie = {
3198
- 50: "#f3e5f5",
3199
- 200: "#ce93d8",
3200
- 300: "#ba68c8",
3201
- 400: "#ab47bc",
3202
- 500: "#9c27b0",
3203
- 700: "#7b1fa2"
3204
- }, Me = {
3205
- 300: "#e57373",
3206
- 400: "#ef5350",
3207
- 500: "#f44336",
3208
- 700: "#d32f2f",
3209
- 800: "#c62828"
3210
- }, We = {
3211
- 300: "#ffb74d",
3212
- 400: "#ffa726",
3213
- 500: "#ff9800",
3214
- 700: "#f57c00",
3215
- 900: "#e65100"
3216
- }, je = {
3217
- 50: "#e3f2fd",
3218
- 200: "#90caf9",
3219
- 400: "#42a5f5",
3220
- 700: "#1976d2",
3221
- 800: "#1565c0"
3222
- }, ke = {
3223
- 300: "#4fc3f7",
3224
- 400: "#29b6f6",
3225
- 500: "#03a9f4",
3226
- 700: "#0288d1",
3227
- 900: "#01579b"
3228
- }, Ne = {
3229
- 300: "#81c784",
3230
- 400: "#66bb6a",
3231
- 500: "#4caf50",
3232
- 700: "#388e3c",
3233
- 800: "#2e7d32",
3234
- 900: "#1b5e20"
3235
- }, rs = ["mode", "contrastThreshold", "tonalOffset"], xr = {
3236
- // The colors used to style the text.
3237
- text: {
3238
- // The most important text.
3239
- primary: "rgba(0, 0, 0, 0.87)",
3240
- // Secondary text.
3241
- secondary: "rgba(0, 0, 0, 0.6)",
3242
- // Disabled text have even lower visual prominence.
3243
- disabled: "rgba(0, 0, 0, 0.38)"
3244
- },
3245
- // The color used to divide different elements.
3246
- divider: "rgba(0, 0, 0, 0.12)",
3247
- // The background colors used to style the surfaces.
3248
- // Consistency between these values is important.
3249
- background: {
3250
- paper: Ge.white,
3251
- default: Ge.white
3252
- },
3253
- // The colors used to style the action elements.
3254
- action: {
3255
- // The color of an active action like an icon button.
3256
- active: "rgba(0, 0, 0, 0.54)",
3257
- // The color of an hovered action.
3258
- hover: "rgba(0, 0, 0, 0.04)",
3259
- hoverOpacity: 0.04,
3260
- // The color of a selected action.
3261
- selected: "rgba(0, 0, 0, 0.08)",
3262
- selectedOpacity: 0.08,
3263
- // The color of a disabled action.
3264
- disabled: "rgba(0, 0, 0, 0.26)",
3265
- // The background color of a disabled action.
3266
- disabledBackground: "rgba(0, 0, 0, 0.12)",
3267
- disabledOpacity: 0.38,
3268
- focus: "rgba(0, 0, 0, 0.12)",
3269
- focusOpacity: 0.12,
3270
- activatedOpacity: 0.12
3271
- }
3272
- }, kt = {
3273
- text: {
3274
- primary: Ge.white,
3275
- secondary: "rgba(255, 255, 255, 0.7)",
3276
- disabled: "rgba(255, 255, 255, 0.5)",
3277
- icon: "rgba(255, 255, 255, 0.5)"
3278
- },
3279
- divider: "rgba(255, 255, 255, 0.12)",
3280
- background: {
3281
- paper: "#121212",
3282
- default: "#121212"
3283
- },
3284
- action: {
3285
- active: Ge.white,
3286
- hover: "rgba(255, 255, 255, 0.08)",
3287
- hoverOpacity: 0.08,
3288
- selected: "rgba(255, 255, 255, 0.16)",
3289
- selectedOpacity: 0.16,
3290
- disabled: "rgba(255, 255, 255, 0.3)",
3291
- disabledBackground: "rgba(255, 255, 255, 0.12)",
3292
- disabledOpacity: 0.38,
3293
- focus: "rgba(255, 255, 255, 0.12)",
3294
- focusOpacity: 0.12,
3295
- activatedOpacity: 0.24
3296
- }
3297
- };
3298
- function Tr(e, t, n, r) {
3299
- const o = r.light || r, i = r.dark || r * 1.5;
3300
- e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = ct.lighten(e.main, o) : t === "dark" && (e.dark = ct.darken(e.main, i)));
3301
- }
3302
- function ns(e = "light") {
3303
- return e === "dark" ? {
3304
- main: je[200],
3305
- light: je[50],
3306
- dark: je[400]
3307
- } : {
3308
- main: je[700],
3309
- light: je[400],
3310
- dark: je[800]
3311
- };
3312
- }
3313
- function os(e = "light") {
3314
- return e === "dark" ? {
3315
- main: Ie[200],
3316
- light: Ie[50],
3317
- dark: Ie[400]
3318
- } : {
3319
- main: Ie[500],
3320
- light: Ie[300],
3321
- dark: Ie[700]
3322
- };
3323
- }
3324
- function is(e = "light") {
3325
- return e === "dark" ? {
3326
- main: Me[500],
3327
- light: Me[300],
3328
- dark: Me[700]
3329
- } : {
3330
- main: Me[700],
3331
- light: Me[400],
3332
- dark: Me[800]
3333
- };
3334
- }
3335
- function ss(e = "light") {
3336
- return e === "dark" ? {
3337
- main: ke[400],
3338
- light: ke[300],
3339
- dark: ke[700]
3340
- } : {
3341
- main: ke[700],
3342
- light: ke[500],
3343
- dark: ke[900]
3344
- };
3345
- }
3346
- function as(e = "light") {
3347
- return e === "dark" ? {
3348
- main: Ne[400],
3349
- light: Ne[300],
3350
- dark: Ne[700]
3351
- } : {
3352
- main: Ne[800],
3353
- light: Ne[500],
3354
- dark: Ne[900]
3355
- };
3356
- }
3357
- function cs(e = "light") {
3358
- return e === "dark" ? {
3359
- main: We[400],
3360
- light: We[300],
3361
- dark: We[700]
3362
- } : {
3363
- main: "#ed6c02",
3364
- // closest to orange[800] that pass 3:1.
3365
- light: We[500],
3366
- dark: We[900]
3367
- };
3368
- }
3369
- function us(e) {
3370
- const {
3371
- mode: t = "light",
3372
- contrastThreshold: n = 3,
3373
- tonalOffset: r = 0.2
3374
- } = e, o = Re(e, rs), i = e.primary || ns(t), s = e.secondary || os(t), c = e.error || is(t), p = e.info || ss(t), d = e.success || as(t), m = e.warning || cs(t);
3375
- function y(l) {
3376
- const u = ct.getContrastRatio(l, kt.text.primary) >= n ? kt.text.primary : xr.text.primary;
3377
- if (process.env.NODE_ENV !== "production") {
3378
- const $ = ct.getContrastRatio(l, u);
3379
- $ < 3 && console.error([`MUI: The contrast ratio of ${$}:1 for ${u} on ${l}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
3380
- `));
3381
- }
3382
- return u;
3383
- }
3384
- const f = ({
3385
- color: l,
3386
- name: u,
3387
- mainShade: $ = 500,
3388
- lightShade: z = 300,
3389
- darkShade: P = 700
3390
- }) => {
3391
- if (l = J({}, l), !l.main && l[$] && (l.main = l[$]), !l.hasOwnProperty("main"))
3392
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${u ? ` (${u})` : ""} provided to augmentColor(color) is invalid.
3393
- The color object needs to have a \`main\` property or a \`${$}\` property.` : Ve(11, u ? ` (${u})` : "", $));
3394
- if (typeof l.main != "string")
3395
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${u ? ` (${u})` : ""} provided to augmentColor(color) is invalid.
3396
- \`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
3397
-
3398
- Did you intend to use one of the following approaches?
3399
-
3400
- import { green } from "@mui/material/colors";
3401
-
3402
- const theme1 = createTheme({ palette: {
3403
- primary: green,
3404
- } });
3405
-
3406
- const theme2 = createTheme({ palette: {
3407
- primary: { main: green[500] },
3408
- } });` : Ve(12, u ? ` (${u})` : "", JSON.stringify(l.main)));
3409
- return Tr(l, "light", z, r), Tr(l, "dark", P, r), l.contrastText || (l.contrastText = y(l.main)), l;
3410
- }, S = {
3411
- dark: kt,
3412
- light: xr
3413
- };
3414
- return process.env.NODE_ENV !== "production" && (S[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Ee(J({
3415
- // A collection of common colors.
3416
- common: J({}, Ge),
3417
- // prevent mutable object.
3418
- // The palette mode, can be light or dark.
3419
- mode: t,
3420
- // The colors used to represent primary interface elements for a user.
3421
- primary: f({
3422
- color: i,
3423
- name: "primary"
3424
- }),
3425
- // The colors used to represent secondary interface elements for a user.
3426
- secondary: f({
3427
- color: s,
3428
- name: "secondary",
3429
- mainShade: "A400",
3430
- lightShade: "A200",
3431
- darkShade: "A700"
3432
- }),
3433
- // The colors used to represent interface elements that the user should be made aware of.
3434
- error: f({
3435
- color: c,
3436
- name: "error"
3437
- }),
3438
- // The colors used to represent potentially dangerous actions or important messages.
3439
- warning: f({
3440
- color: m,
3441
- name: "warning"
3442
- }),
3443
- // The colors used to present information to the user that is neutral and not necessarily important.
3444
- info: f({
3445
- color: p,
3446
- name: "info"
3447
- }),
3448
- // The colors used to indicate the successful completion of an action that user triggered.
3449
- success: f({
3450
- color: d,
3451
- name: "success"
3452
- }),
3453
- // The grey colors.
3454
- grey: ts,
3455
- // Used by `getContrastText()` to maximize the contrast between
3456
- // the background and the text.
3457
- contrastThreshold: n,
3458
- // Takes a background color and returns the text color that maximizes the contrast.
3459
- getContrastText: y,
3460
- // Generate a rich color object.
3461
- augmentColor: f,
3462
- // Used by the functions below to shift a color's luminance by approximately
3463
- // two indexes within its tonal palette.
3464
- // E.g., shift from Red 500 to Red 300 or Red 700.
3465
- tonalOffset: r
3466
- }, S[t]), o);
3467
- }
3468
- const fs = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
3469
- function ls(e) {
3470
- return Math.round(e * 1e5) / 1e5;
3471
- }
3472
- const Or = {
3473
- textTransform: "uppercase"
3474
- }, $r = '"Roboto", "Helvetica", "Arial", sans-serif';
3475
- function ds(e, t) {
3476
- const n = typeof t == "function" ? t(e) : t, {
3477
- fontFamily: r = $r,
3478
- // The default font size of the Material Specification.
3479
- fontSize: o = 14,
3480
- // px
3481
- fontWeightLight: i = 300,
3482
- fontWeightRegular: s = 400,
3483
- fontWeightMedium: c = 500,
3484
- fontWeightBold: p = 700,
3485
- // Tell MUI what's the font-size on the html element.
3486
- // 16px is the default font-size used by browsers.
3487
- htmlFontSize: d = 16,
3488
- // Apply the CSS properties to all the variants.
3489
- allVariants: m,
3490
- pxToRem: y
3491
- } = n, f = Re(n, fs);
3492
- 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."));
3493
- const S = o / 14, E = y || (($) => `${$ / d * S}rem`), l = ($, z, P, L, h) => J({
3494
- fontFamily: r,
3495
- fontWeight: $,
3496
- fontSize: E(z),
3497
- // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
3498
- lineHeight: P
3499
- }, r === $r ? {
3500
- letterSpacing: `${ls(L / z)}em`
3501
- } : {}, h, m), u = {
3502
- h1: l(i, 96, 1.167, -1.5),
3503
- h2: l(i, 60, 1.2, -0.5),
3504
- h3: l(s, 48, 1.167, 0),
3505
- h4: l(s, 34, 1.235, 0.25),
3506
- h5: l(s, 24, 1.334, 0),
3507
- h6: l(c, 20, 1.6, 0.15),
3508
- subtitle1: l(s, 16, 1.75, 0.15),
3509
- subtitle2: l(c, 14, 1.57, 0.1),
3510
- body1: l(s, 16, 1.5, 0.15),
3511
- body2: l(s, 14, 1.43, 0.15),
3512
- button: l(c, 14, 1.75, 0.4, Or),
3513
- caption: l(s, 12, 1.66, 0.4),
3514
- overline: l(s, 12, 2.66, 1, Or),
3515
- // 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.
3516
- inherit: {
3517
- fontFamily: "inherit",
3518
- fontWeight: "inherit",
3519
- fontSize: "inherit",
3520
- lineHeight: "inherit",
3521
- letterSpacing: "inherit"
3522
- }
3523
- };
3524
- return Ee(J({
3525
- htmlFontSize: d,
3526
- pxToRem: E,
3527
- fontFamily: r,
3528
- fontSize: o,
3529
- fontWeightLight: i,
3530
- fontWeightRegular: s,
3531
- fontWeightMedium: c,
3532
- fontWeightBold: p
3533
- }, u), f, {
3534
- clone: !1
3535
- // No need to clone deep
3536
- });
3537
- }
3538
- const ps = 0.2, ys = 0.14, ms = 0.12;
3539
- function ee(...e) {
3540
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ps})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ys})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ms})`].join(",");
3541
- }
3542
- const hs = ["none", ee(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ee(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), ee(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), ee(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), ee(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), ee(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), ee(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), ee(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), ee(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), ee(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), ee(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), ee(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), ee(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), ee(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), ee(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), ee(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), ee(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), ee(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), ee(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), ee(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), ee(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), ee(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), ee(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), ee(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], gs = ["duration", "easing", "delay"], bs = {
3543
- // This is the most common easing curve.
3544
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
3545
- // Objects enter the screen at full velocity from off-screen and
3546
- // slowly decelerate to a resting point.
3547
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
3548
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
3549
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
3550
- // The sharp curve is used by objects that may return to the screen at any time.
3551
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
3552
- }, vs = {
3553
- shortest: 150,
3554
- shorter: 200,
3555
- short: 250,
3556
- // most basic recommended timing
3557
- standard: 300,
3558
- // this is to be used in complex animations
3559
- complex: 375,
3560
- // recommended when something is entering screen
3561
- enteringScreen: 225,
3562
- // recommended when something is leaving screen
3563
- leavingScreen: 195
3564
- };
3565
- function wr(e) {
3566
- return `${Math.round(e)}ms`;
3567
- }
3568
- function Es(e) {
3569
- if (!e)
3570
- return 0;
3571
- const t = e / 36;
3572
- return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
3573
- }
3574
- function _s(e) {
3575
- const t = J({}, bs, e.easing), n = J({}, vs, e.duration);
3576
- return J({
3577
- getAutoHeightDuration: Es,
3578
- create: (o = ["all"], i = {}) => {
3579
- const {
3580
- duration: s = n.standard,
3581
- easing: c = t.easeInOut,
3582
- delay: p = 0
3583
- } = i, d = Re(i, gs);
3584
- if (process.env.NODE_ENV !== "production") {
3585
- const m = (f) => typeof f == "string", y = (f) => !isNaN(parseFloat(f));
3586
- !m(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !y(s) && !m(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), m(c) || console.error('MUI: Argument "easing" must be a string.'), !y(p) && !m(p) && 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(`
3587
- `)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
3588
- }
3589
- return (Array.isArray(o) ? o : [o]).map((m) => `${m} ${typeof s == "string" ? s : wr(s)} ${c} ${typeof p == "string" ? p : wr(p)}`).join(",");
3590
- }
3591
- }, e, {
3592
- easing: t,
3593
- duration: n
3594
- });
3595
- }
3596
- const Ss = {
3597
- mobileStepper: 1e3,
3598
- fab: 1050,
3599
- speedDial: 1050,
3600
- appBar: 1100,
3601
- drawer: 1200,
3602
- modal: 1300,
3603
- snackbar: 1400,
3604
- tooltip: 1500
3605
- }, xs = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
3606
- function Ts(e = {}, ...t) {
3607
- const {
3608
- mixins: n = {},
3609
- palette: r = {},
3610
- transitions: o = {},
3611
- typography: i = {}
3612
- } = e, s = Re(e, xs);
3613
- if (e.vars)
3614
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : Ve(18));
3615
- const c = us(r), p = tn(e);
3616
- let d = Ee(p, {
3617
- mixins: Ji(p.breakpoints, n),
3618
- palette: c,
3619
- // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
3620
- shadows: hs.slice(),
3621
- typography: ds(c, i),
3622
- transitions: _s(o),
3623
- zIndex: J({}, Ss)
3624
- });
3625
- if (d = Ee(d, s), d = t.reduce((m, y) => Ee(m, y), d), process.env.NODE_ENV !== "production") {
3626
- const m = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], y = (f, S) => {
3627
- let E;
3628
- for (E in f) {
3629
- const l = f[E];
3630
- if (m.indexOf(E) !== -1 && Object.keys(l).length > 0) {
3631
- if (process.env.NODE_ENV !== "production") {
3632
- const u = Wt("", E);
3633
- console.error([`MUI: The \`${S}\` component increases the CSS specificity of the \`${E}\` internal state.`, "You can not override it like this: ", JSON.stringify(f, null, 2), "", `Instead, you need to use the '&.${u}' syntax:`, JSON.stringify({
3634
- root: {
3635
- [`&.${u}`]: l
3636
- }
3637
- }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
3638
- `));
3639
- }
3640
- f[E] = {};
3641
- }
3642
- }
3643
- };
3644
- Object.keys(d.components).forEach((f) => {
3645
- const S = d.components[f].styleOverrides;
3646
- S && f.indexOf("Mui") === 0 && y(S, f);
3647
- });
3648
- }
3649
- return d.unstable_sxConfig = J({}, Ze, s?.unstable_sxConfig), d.unstable_sx = function(y) {
3650
- return xt({
3651
- sx: y,
3652
- theme: this
3653
- });
3654
- }, d;
3655
- }
3656
- const Os = Ts(), $s = "$$material";
3657
- function ws(e) {
3658
- return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
3659
- }
3660
- const Rs = (e) => ws(e) && e !== "classes", Ps = Xi({
3661
- themeId: $s,
3662
- defaultTheme: Os,
3663
- rootShouldForwardProp: Rs
3664
- });
3665
- function Cs(e) {
3666
- return Wt("MuiSvgIcon", e);
3667
- }
3668
- eo("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
3669
- const As = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], Is = (e) => {
3670
- const {
3671
- color: t,
3672
- fontSize: n,
3673
- classes: r
3674
- } = e, o = {
3675
- root: ["root", t !== "inherit" && `color${we(t)}`, `fontSize${we(n)}`]
3676
- };
3677
- return Jn(o, Cs, r);
3678
- }, Ms = Ps("svg", {
3679
- name: "MuiSvgIcon",
3680
- slot: "Root",
3681
- overridesResolver: (e, t) => {
3682
- const {
3683
- ownerState: n
3684
- } = e;
3685
- return [t.root, n.color !== "inherit" && t[`color${we(n.color)}`], t[`fontSize${we(n.fontSize)}`]];
3686
- }
3687
- })(({
3688
- theme: e,
3689
- ownerState: t
3690
- }) => {
3691
- var n, r, o, i, s, c, p, d, m, y, f, S, E;
3692
- return {
3693
- userSelect: "none",
3694
- width: "1em",
3695
- height: "1em",
3696
- display: "inline-block",
3697
- // the <svg> will define the property that has `currentColor`
3698
- // for example heroicons uses fill="none" and stroke="currentColor"
3699
- fill: t.hasSvgAsChild ? void 0 : "currentColor",
3700
- flexShrink: 0,
3701
- transition: (n = e.transitions) == null || (r = n.create) == null ? void 0 : r.call(n, "fill", {
3702
- duration: (o = e.transitions) == null || (o = o.duration) == null ? void 0 : o.shorter
3703
- }),
3704
- fontSize: {
3705
- inherit: "inherit",
3706
- small: ((i = e.typography) == null || (s = i.pxToRem) == null ? void 0 : s.call(i, 20)) || "1.25rem",
3707
- medium: ((c = e.typography) == null || (p = c.pxToRem) == null ? void 0 : p.call(c, 24)) || "1.5rem",
3708
- large: ((d = e.typography) == null || (m = d.pxToRem) == null ? void 0 : m.call(d, 35)) || "2.1875rem"
3709
- }[t.fontSize],
3710
- // TODO v5 deprecate, v6 remove for sx
3711
- color: (y = (f = (e.vars || e).palette) == null || (f = f[t.color]) == null ? void 0 : f.main) != null ? y : {
3712
- action: (S = (e.vars || e).palette) == null || (S = S.action) == null ? void 0 : S.active,
3713
- disabled: (E = (e.vars || e).palette) == null || (E = E.action) == null ? void 0 : E.disabled,
3714
- inherit: void 0
3715
- }[t.color]
3716
- };
3717
- }), ut = /* @__PURE__ */ Z.forwardRef(function(t, n) {
3718
- const r = ao({
3719
- props: t,
3720
- name: "MuiSvgIcon"
3721
- }), {
3722
- children: o,
3723
- className: i,
3724
- color: s = "inherit",
3725
- component: c = "svg",
3726
- fontSize: p = "medium",
3727
- htmlColor: d,
3728
- inheritViewBox: m = !1,
3729
- titleAccess: y,
3730
- viewBox: f = "0 0 24 24"
3731
- } = r, S = Re(r, As), E = /* @__PURE__ */ Z.isValidElement(o) && o.type === "svg", l = J({}, r, {
3732
- color: s,
3733
- component: c,
3734
- fontSize: p,
3735
- instanceFontSize: t.fontSize,
3736
- inheritViewBox: m,
3737
- viewBox: f,
3738
- hasSvgAsChild: E
3739
- }), u = {};
3740
- m || (u.viewBox = f);
3741
- const $ = Is(l);
3742
- return /* @__PURE__ */ Ue.jsxs(Ms, J({
3743
- as: c,
3744
- className: no($.root, i),
3745
- focusable: "false",
3746
- color: d,
3747
- "aria-hidden": y ? void 0 : !0,
3748
- role: y ? "img" : void 0,
3749
- ref: n
3750
- }, u, S, E && o.props, {
3751
- ownerState: l,
3752
- children: [E ? o.props.children : o, y ? /* @__PURE__ */ Ue.jsx("title", {
3753
- children: y
3754
- }) : null]
3755
- }));
3756
- });
3757
- process.env.NODE_ENV !== "production" && (ut.propTypes = {
3758
- // ┌────────────────────────────── Warning ──────────────────────────────┐
3759
- // │ These PropTypes are generated from the TypeScript type definitions. │
3760
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
3761
- // └─────────────────────────────────────────────────────────────────────┘
3762
- /**
3763
- * Node passed into the SVG element.
3764
- */
3765
- children: j.node,
3766
- /**
3767
- * Override or extend the styles applied to the component.
3768
- */
3769
- classes: j.object,
3770
- /**
3771
- * @ignore
3772
- */
3773
- className: j.string,
3774
- /**
3775
- * The color of the component.
3776
- * It supports both default and custom theme colors, which can be added as shown in the
3777
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
3778
- * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
3779
- * @default 'inherit'
3780
- */
3781
- color: j.oneOfType([j.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), j.string]),
3782
- /**
3783
- * The component used for the root node.
3784
- * Either a string to use a HTML element or a component.
3785
- */
3786
- component: j.elementType,
3787
- /**
3788
- * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
3789
- * @default 'medium'
3790
- */
3791
- fontSize: j.oneOfType([j.oneOf(["inherit", "large", "medium", "small"]), j.string]),
3792
- /**
3793
- * Applies a color attribute to the SVG element.
3794
- */
3795
- htmlColor: j.string,
3796
- /**
3797
- * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
3798
- * prop will be ignored.
3799
- * Useful when you want to reference a custom `component` and have `SvgIcon` pass that
3800
- * `component`'s viewBox to the root node.
3801
- * @default false
3802
- */
3803
- inheritViewBox: j.bool,
3804
- /**
3805
- * The shape-rendering attribute. The behavior of the different options is described on the
3806
- * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
3807
- * If you are having issues with blurry icons you should investigate this prop.
3808
- */
3809
- shapeRendering: j.string,
3810
- /**
3811
- * The system prop that allows defining system overrides as well as additional CSS styles.
3812
- */
3813
- sx: j.oneOfType([j.arrayOf(j.oneOfType([j.func, j.object, j.bool])), j.func, j.object]),
3814
- /**
3815
- * Provides a human-readable title for the element that contains it.
3816
- * https://www.w3.org/TR/SVG-access/#Equivalent
3817
- */
3818
- titleAccess: j.string,
3819
- /**
3820
- * Allows you to redefine what the coordinates without units mean inside an SVG element.
3821
- * For example, if the SVG element is 500 (width) by 200 (height),
3822
- * and you pass viewBox="0 0 50 20",
3823
- * this means that the coordinates inside the SVG will go from the top left corner (0,0)
3824
- * to bottom right (50,20) and each unit will be worth 10px.
3825
- * @default '0 0 24 24'
3826
- */
3827
- viewBox: j.string
3828
- });
3829
- ut.muiName = "SvgIcon";
3830
- function js(e, t) {
3831
- function n(r, o) {
3832
- return /* @__PURE__ */ Ue.jsx(ut, J({
3833
- "data-testid": `${t}Icon`,
3834
- ref: o
3835
- }, r, {
3836
- children: e
3837
- }));
3838
- }
3839
- return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = ut.muiName, /* @__PURE__ */ Z.memo(/* @__PURE__ */ Z.forwardRef(n));
3840
- }
3841
- const ks = {
3842
- configure: (e) => {
3843
- process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
3844
- `)), zr.configure(e);
3845
- }
3846
- }, Ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3847
- __proto__: null,
3848
- capitalize: we,
3849
- createChainedFunction: Rn,
3850
- createSvgIcon: js,
3851
- debounce: Pn,
3852
- deprecatedPropType: Cn,
3853
- isMuiElement: An,
3854
- ownerDocument: Nr,
3855
- ownerWindow: In,
3856
- requirePropFactory: Mn,
3857
- setRef: Dr,
3858
- unstable_ClassNameGenerator: ks,
3859
- unstable_useEnhancedEffect: Fr,
3860
- unstable_useId: kn,
3861
- unsupportedProp: Nn,
3862
- useControlled: Dn,
3863
- useEventCallback: Fn,
3864
- useForkRef: zn,
3865
- useIsFocusVisible: Xn
3866
- }, Symbol.toStringTag, { value: "Module" })), Ds = /* @__PURE__ */ Oe(Ns);
3867
- var Rr;
3868
- function Bs() {
3869
- return Rr || (Rr = 1, (function(e) {
3870
- "use client";
3871
- Object.defineProperty(e, "__esModule", {
3872
- value: !0
3873
- }), Object.defineProperty(e, "default", {
3874
- enumerable: !0,
3875
- get: function() {
3876
- return t.createSvgIcon;
3877
- }
3878
- });
3879
- var t = Ds;
3880
- })(Ot)), Ot;
3881
- }
3882
- export {
3883
- cr as A,
3884
- j as P,
3885
- $s as T,
3886
- J as _,
3887
- Bs as a,
3888
- Oe as b,
3889
- no as c,
3890
- tn as d,
3891
- Re as e,
3892
- Os as f,
3893
- Pr as g,
3894
- Wt as h,
3895
- eo as i,
3896
- ao as j,
3897
- Jn as k,
3898
- ct as l,
3899
- qs as m,
3900
- Xn as n,
3901
- Fn as o,
3902
- we as p,
3903
- js as q,
3904
- Cr as r,
3905
- Ps as s,
3906
- Vi as t,
3907
- zn as u,
3908
- Ws as v,
3909
- Te as w,
3910
- Mn as x,
3911
- vs as y,
3912
- Dn as z
3913
- };
3914
- //# sourceMappingURL=createSvgIcon-dA_Vj2W0.js.map