@hai-dev/ui-kit 1.0.11 → 1.1.0

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 (73) hide show
  1. package/dist/{Box-D8oKffw9.js → Box-CykjCaXY.js} +21 -22
  2. package/dist/{Button-BBF8hp7e.js → Button-CcvrOEKV.js} +6 -5
  3. package/dist/{ButtonBase-T2KH9jsD.js → ButtonBase-DPLf5-lz.js} +226 -279
  4. package/dist/{CircularProgress-BQQkuSse.js → CircularProgress-CrHaMZDC.js} +4 -3
  5. package/dist/{Dialog-B97c7WYP.js → Dialog-DqFOpJyx.js} +118 -125
  6. package/dist/{DialogTitle-Du4tqTs0.js → DialogTitle-CeM_Z851.js} +4 -4
  7. package/dist/{Typography-r_TXEM1e.js → Typography-DDVoglvI.js} +38 -40
  8. package/dist/assets/centered-decorator.css +1 -0
  9. package/dist/assets/circular-progress-loader.css +1 -1
  10. package/dist/assets/code-input.css +1 -0
  11. package/dist/assets/dark-decorator.css +1 -0
  12. package/dist/assets/upload-dialog-errors.css +1 -1
  13. package/dist/chainPropTypes-C04Ex8aP.js +413 -0
  14. package/dist/components/button/button.js +1 -1
  15. package/dist/components/circular-progress-loader/circular-progress-loader.js +29 -27
  16. package/dist/components/circular-progress-loader/constants.d.ts +3 -1
  17. package/dist/components/circular-progress-loader/constants.js +4 -2
  18. package/dist/components/code-input/code-input.d.ts +3 -0
  19. package/dist/components/code-input/code-input.js +934 -0
  20. package/dist/components/code-input/code-input.stories.d.ts +7 -0
  21. package/dist/components/code-input/constants.d.ts +8 -0
  22. package/dist/components/code-input/constants.js +11 -0
  23. package/dist/components/code-input/index.d.ts +1 -0
  24. package/dist/components/code-input/index.js +4 -0
  25. package/dist/components/code-input/types.d.ts +11 -0
  26. package/dist/components/code-input/utils/get-code-input-label.d.ts +2 -0
  27. package/dist/components/code-input/utils/get-code-input-label.js +5 -0
  28. package/dist/components/code-input/utils/index.d.ts +2 -0
  29. package/dist/components/code-input/utils/index.js +6 -0
  30. package/dist/components/code-input/utils/slide-down-animate.d.ts +1 -0
  31. package/dist/components/code-input/utils/slide-down-animate.js +10 -0
  32. package/dist/components/index.d.ts +1 -0
  33. package/dist/components/index.js +4 -2
  34. package/dist/components/photo-crop-uploader/components/error-upload-dialog/error-upload-dialog.js +6 -6
  35. package/dist/components/photo-crop-uploader/components/photo-list/photo-list.js +1 -1
  36. package/dist/components/photo-crop-uploader/components/upload-button/upload-button.js +1 -1
  37. package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog-errors.js +2 -2
  38. package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog.js +12 -10
  39. package/dist/components/photo-crop-uploader/photo-crop-uploader.d.ts +2 -2
  40. package/dist/components/photo-crop-uploader/photo-crop-uploader.js +183 -168
  41. package/dist/components/photo-crop-uploader/types.d.ts +8 -7
  42. package/dist/components/photo-crop-uploader/utils/draw-cropped-image.js +28 -29
  43. package/dist/components/photo-crop-uploader/utils/get-default-cropped-photo.d.ts +4 -2
  44. package/dist/components/photo-crop-uploader/utils/get-default-cropped-photo.js +34 -32
  45. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  46. package/dist/{createTheme-RvzX1VSA.js → createTheme-RRQUOQoF.js} +182 -178
  47. package/dist/decorators/centered-decorator/centered-decorator.js +7 -0
  48. package/dist/decorators/centered-decorator/index.d.ts +2 -0
  49. package/dist/decorators/centered-decorator/index.js +4 -0
  50. package/dist/decorators/centered-decorator/types.js +1 -0
  51. package/dist/decorators/dark-decorator/dark-decorator.d.ts +3 -0
  52. package/dist/decorators/dark-decorator/dark-decorator.js +7 -0
  53. package/dist/decorators/dark-decorator/index.d.ts +2 -0
  54. package/dist/decorators/dark-decorator/index.js +4 -0
  55. package/dist/decorators/dark-decorator/types.d.ts +4 -0
  56. package/dist/decorators/dark-decorator/types.js +1 -0
  57. package/dist/decorators/index.d.ts +2 -1
  58. package/dist/decorators/index.js +4 -2
  59. package/dist/extendSxProp-VC2-7DJw.js +49 -0
  60. package/dist/index-BMkXyDFs.js +91 -0
  61. package/dist/isHostComponent-Dm_U9uOy.js +14 -0
  62. package/dist/memoTheme-5A7c_y33.js +15 -0
  63. package/dist/refType-CCKoQjVR.js +61 -0
  64. package/dist/{upload-dialog-errors-ku54UrUb.js → upload-dialog-errors-Bxun25O-.js} +41 -41
  65. package/package.json +1 -1
  66. package/dist/chainPropTypes-KIxDwPzf.js +0 -387
  67. package/dist/createSimplePaletteValueFilter-nb0wSOzC.js +0 -30
  68. package/dist/decorators/centered-decorator.js +0 -16
  69. package/dist/extendSxProp-BW9e6LtL.js +0 -36
  70. package/dist/useTheme-CsjkCBFJ.js +0 -16
  71. /package/dist/{decorators → components/code-input}/types.js +0 -0
  72. /package/dist/decorators/{centered-decorator.d.ts → centered-decorator/centered-decorator.d.ts} +0 -0
  73. /package/dist/decorators/{types.d.ts → centered-decorator/types.d.ts} +0 -0
@@ -1,19 +1,21 @@
1
1
  import * as h from "react";
2
- import X from "react";
3
- import { h as lt, P as e, g as ge, a as he, q as Le, c as B, t as Fe, b as Z } from "./createTheme-RvzX1VSA.js";
4
- import { c as ct } from "./DialogTitle-Du4tqTs0.js";
5
- import { e as ut, u as be, s as H, c as ve, b as ke } from "./chainPropTypes-KIxDwPzf.js";
6
- import { u as dt } from "./useTheme-CsjkCBFJ.js";
2
+ import Y from "react";
3
+ import { T as lt, P as e, g as ge, a as he, v as Le, c as B, x as Fe, b as X } from "./createTheme-RRQUOQoF.js";
4
+ import { c as ct } from "./DialogTitle-CeM_Z851.js";
5
+ import { e as ut, u as be, s as H, c as ve, b as we } from "./chainPropTypes-C04Ex8aP.js";
6
+ import { u as dt } from "./extendSxProp-VC2-7DJw.js";
7
7
  import { jsx as M, jsxs as Ze } from "react/jsx-runtime";
8
- import { m as _e } from "./createSimplePaletteValueFilter-nb0wSOzC.js";
9
- import { _ as pt, a as ft, T as Je, u as ie, b as je, c as $e } from "./ButtonBase-T2KH9jsD.js";
10
- import { g as mt } from "./index-B2JRaoNz.js";
11
- import { u as yt } from "./useId-CK6Kn3Tn.js";
12
- const gt = "exact-prop: ​";
8
+ import { m as _e } from "./memoTheme-5A7c_y33.js";
9
+ import { u as ie, b as je, a as $e } from "./refType-CCKoQjVR.js";
10
+ import { i as pt, o as pe, a as Z } from "./isHostComponent-Dm_U9uOy.js";
11
+ import { _ as ft, a as mt, T as Je } from "./ButtonBase-DPLf5-lz.js";
12
+ import { g as yt } from "./index-B2JRaoNz.js";
13
+ import { u as gt } from "./useId-CK6Kn3Tn.js";
14
+ const ht = "exact-prop: ​";
13
15
  function Qe(t) {
14
16
  return process.env.NODE_ENV === "production" ? t : {
15
17
  ...t,
16
- [gt]: (n) => {
18
+ [ht]: (n) => {
17
19
  const i = Object.keys(n).filter((r) => !t.hasOwnProperty(r));
18
20
  return i.length > 0 ? new Error(`The following props are not supported: ${i.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null;
19
21
  }
@@ -29,16 +31,10 @@ function Be(...t) {
29
31
  }, () => {
30
32
  });
31
33
  }
32
- function q(t) {
33
- return t && t.ownerDocument || document;
34
- }
35
- function pe(t) {
36
- return q(t).defaultView || window;
37
- }
38
34
  function He(t, n) {
39
35
  typeof t == "function" ? t(n) : t && (t.current = n);
40
36
  }
41
- var ce = { exports: {} }, w = {};
37
+ var ce = { exports: {} }, k = {};
42
38
  /**
43
39
  * @license React
44
40
  * react-dom.production.js
@@ -49,10 +45,10 @@ var ce = { exports: {} }, w = {};
49
45
  * LICENSE file in the root directory of this source tree.
50
46
  */
51
47
  var We;
52
- function ht() {
53
- if (We) return w;
48
+ function bt() {
49
+ if (We) return k;
54
50
  We = 1;
55
- var t = X;
51
+ var t = Y;
56
52
  function n(u) {
57
53
  var l = "https://react.dev/errors/" + u;
58
54
  if (1 < arguments.length) {
@@ -97,23 +93,23 @@ function ht() {
97
93
  if (typeof l == "string")
98
94
  return l === "use-credentials" ? l : "";
99
95
  }
100
- return w.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, w.createPortal = function(u, l) {
96
+ return k.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, k.createPortal = function(u, l) {
101
97
  var m = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
102
98
  if (!l || l.nodeType !== 1 && l.nodeType !== 9 && l.nodeType !== 11)
103
99
  throw Error(n(299));
104
100
  return s(u, l, null, m);
105
- }, w.flushSync = function(u) {
101
+ }, k.flushSync = function(u) {
106
102
  var l = d.T, m = r.p;
107
103
  try {
108
104
  if (d.T = null, r.p = 2, u) return u();
109
105
  } finally {
110
106
  d.T = l, r.p = m, r.d.f();
111
107
  }
112
- }, w.preconnect = function(u, l) {
108
+ }, k.preconnect = function(u, l) {
113
109
  typeof u == "string" && (l ? (l = l.crossOrigin, l = typeof l == "string" ? l === "use-credentials" ? l : "" : void 0) : l = null, r.d.C(u, l));
114
- }, w.prefetchDNS = function(u) {
110
+ }, k.prefetchDNS = function(u) {
115
111
  typeof u == "string" && r.d.D(u);
116
- }, w.preinit = function(u, l) {
112
+ }, k.preinit = function(u, l) {
117
113
  if (typeof u == "string" && l && typeof l.as == "string") {
118
114
  var m = l.as, c = p(m, l.crossOrigin), o = typeof l.integrity == "string" ? l.integrity : void 0, f = typeof l.fetchPriority == "string" ? l.fetchPriority : void 0;
119
115
  m === "style" ? r.d.S(
@@ -131,7 +127,7 @@ function ht() {
131
127
  nonce: typeof l.nonce == "string" ? l.nonce : void 0
132
128
  });
133
129
  }
134
- }, w.preinitModule = function(u, l) {
130
+ }, k.preinitModule = function(u, l) {
135
131
  if (typeof u == "string")
136
132
  if (typeof l == "object" && l !== null) {
137
133
  if (l.as == null || l.as === "script") {
@@ -146,7 +142,7 @@ function ht() {
146
142
  });
147
143
  }
148
144
  } else l == null && r.d.M(u);
149
- }, w.preload = function(u, l) {
145
+ }, k.preload = function(u, l) {
150
146
  if (typeof u == "string" && typeof l == "object" && l !== null && typeof l.as == "string") {
151
147
  var m = l.as, c = p(m, l.crossOrigin);
152
148
  r.d.L(u, m, {
@@ -161,7 +157,7 @@ function ht() {
161
157
  media: typeof l.media == "string" ? l.media : void 0
162
158
  });
163
159
  }
164
- }, w.preloadModule = function(u, l) {
160
+ }, k.preloadModule = function(u, l) {
165
161
  if (typeof u == "string")
166
162
  if (l) {
167
163
  var m = p(l.as, l.crossOrigin);
@@ -171,17 +167,17 @@ function ht() {
171
167
  integrity: typeof l.integrity == "string" ? l.integrity : void 0
172
168
  });
173
169
  } else r.d.m(u);
174
- }, w.requestFormReset = function(u) {
170
+ }, k.requestFormReset = function(u) {
175
171
  r.d.r(u);
176
- }, w.unstable_batchedUpdates = function(u, l) {
172
+ }, k.unstable_batchedUpdates = function(u, l) {
177
173
  return u(l);
178
- }, w.useFormState = function(u, l, m) {
174
+ }, k.useFormState = function(u, l, m) {
179
175
  return d.H.useFormState(u, l, m);
180
- }, w.useFormStatus = function() {
176
+ }, k.useFormStatus = function() {
181
177
  return d.H.useHostTransitionStatus();
182
- }, w.version = "19.1.1", w;
178
+ }, k.version = "19.1.1", k;
183
179
  }
184
- var k = {};
180
+ var w = {};
185
181
  /**
186
182
  * @license React
187
183
  * react-dom.development.js
@@ -192,7 +188,7 @@ var k = {};
192
188
  * LICENSE file in the root directory of this source tree.
193
189
  */
194
190
  var Ue;
195
- function bt() {
191
+ function vt() {
196
192
  return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && (function() {
197
193
  function t() {
198
194
  }
@@ -240,7 +236,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
240
236
  ), c;
241
237
  }
242
238
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
243
- var p = X, u = {
239
+ var p = Y, u = {
244
240
  d: {
245
241
  f: t,
246
242
  r: function() {
@@ -261,12 +257,12 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
261
257
  }, l = Symbol.for("react.portal"), m = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
262
258
  typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
263
259
  "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
264
- ), k.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, k.createPortal = function(c, o) {
260
+ ), w.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, w.createPortal = function(c, o) {
265
261
  var f = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
266
262
  if (!o || o.nodeType !== 1 && o.nodeType !== 9 && o.nodeType !== 11)
267
263
  throw Error("Target container is not a DOM element.");
268
264
  return i(c, o, null, f);
269
- }, k.flushSync = function(c) {
265
+ }, w.flushSync = function(c) {
270
266
  var o = m.T, f = u.p;
271
267
  try {
272
268
  if (m.T = null, u.p = 2, c)
@@ -276,7 +272,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
276
272
  "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
277
273
  );
278
274
  }
279
- }, k.preconnect = function(c, o) {
275
+ }, w.preconnect = function(c, o) {
280
276
  typeof c == "string" && c ? o != null && typeof o != "object" ? console.error(
281
277
  "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
282
278
  s(o)
@@ -287,7 +283,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
287
283
  "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
288
284
  a(c)
289
285
  ), typeof c == "string" && (o ? (o = o.crossOrigin, o = typeof o == "string" ? o === "use-credentials" ? o : "" : void 0) : o = null, u.d.C(c, o));
290
- }, k.prefetchDNS = function(c) {
286
+ }, w.prefetchDNS = function(c) {
291
287
  if (typeof c != "string" || !c)
292
288
  console.error(
293
289
  "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
@@ -304,7 +300,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
304
300
  );
305
301
  }
306
302
  typeof c == "string" && u.d.D(c);
307
- }, k.preinit = function(c, o) {
303
+ }, w.preinit = function(c, o) {
308
304
  if (typeof c == "string" && c ? o == null || typeof o != "object" ? console.error(
309
305
  "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
310
306
  s(o)
@@ -331,7 +327,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
331
327
  nonce: typeof o.nonce == "string" ? o.nonce : void 0
332
328
  });
333
329
  }
334
- }, k.preinitModule = function(c, o) {
330
+ }, w.preinitModule = function(c, o) {
335
331
  var f = "";
336
332
  if (typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."), o !== void 0 && typeof o != "object" ? f += " The `options` argument encountered was " + a(o) + "." : o && "as" in o && o.as !== "script" && (f += " The `as` option encountered was " + s(o.as) + "."), f)
337
333
  console.error(
@@ -357,7 +353,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
357
353
  integrity: typeof o.integrity == "string" ? o.integrity : void 0,
358
354
  nonce: typeof o.nonce == "string" ? o.nonce : void 0
359
355
  })) : o == null && u.d.M(c));
360
- }, k.preload = function(c, o) {
356
+ }, w.preload = function(c, o) {
361
357
  var f = "";
362
358
  if (typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."), o == null || typeof o != "object" ? f += " The `options` argument encountered was " + a(o) + "." : typeof o.as == "string" && o.as || (f += " The `as` option encountered was " + a(o.as) + "."), f && console.error(
363
359
  'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
@@ -380,7 +376,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
380
376
  media: typeof o.media == "string" ? o.media : void 0
381
377
  });
382
378
  }
383
- }, k.preloadModule = function(c, o) {
379
+ }, w.preloadModule = function(c, o) {
384
380
  var f = "";
385
381
  typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."), o !== void 0 && typeof o != "object" ? f += " The `options` argument encountered was " + a(o) + "." : o && "as" in o && typeof o.as != "string" && (f += " The `as` option encountered was " + a(o.as) + "."), f && console.error(
386
382
  'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
@@ -393,19 +389,19 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
393
389
  crossOrigin: f,
394
390
  integrity: typeof o.integrity == "string" ? o.integrity : void 0
395
391
  })) : u.d.m(c));
396
- }, k.requestFormReset = function(c) {
392
+ }, w.requestFormReset = function(c) {
397
393
  u.d.r(c);
398
- }, k.unstable_batchedUpdates = function(c, o) {
394
+ }, w.unstable_batchedUpdates = function(c, o) {
399
395
  return c(o);
400
- }, k.useFormState = function(c, o, f) {
396
+ }, w.useFormState = function(c, o, f) {
401
397
  return d().useFormState(c, o, f);
402
- }, k.useFormStatus = function() {
398
+ }, w.useFormStatus = function() {
403
399
  return d().useHostTransitionStatus();
404
- }, k.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
405
- })()), k;
400
+ }, w.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
401
+ })()), w;
406
402
  }
407
403
  var Ve;
408
- function vt() {
404
+ function Et() {
409
405
  if (Ve) return ce.exports;
410
406
  Ve = 1;
411
407
  function t() {
@@ -419,13 +415,13 @@ function vt() {
419
415
  }
420
416
  }
421
417
  }
422
- return process.env.NODE_ENV === "production" ? (t(), ce.exports = ht()) : ce.exports = bt(), ce.exports;
418
+ return process.env.NODE_ENV === "production" ? (t(), ce.exports = bt()) : ce.exports = vt(), ce.exports;
423
419
  }
424
- var et = vt();
425
- const ue = /* @__PURE__ */ mt(et), qe = {
420
+ var et = Et();
421
+ const ue = /* @__PURE__ */ yt(et), qe = {
426
422
  disabled: !1
427
423
  };
428
- var Et = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
424
+ var Tt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
429
425
  enter: e.number,
430
426
  exit: e.number,
431
427
  appear: e.number
@@ -442,15 +438,15 @@ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
442
438
  exitDone: e.string,
443
439
  exitActive: e.string
444
440
  })]);
445
- var Tt = function(n) {
441
+ var xt = function(n) {
446
442
  return n.scrollTop;
447
- }, re = "unmounted", U = "exited", V = "entering", Y = "entered", De = "exiting", $ = /* @__PURE__ */ (function(t) {
448
- pt(n, t);
443
+ }, re = "unmounted", U = "exited", V = "entering", z = "entered", De = "exiting", $ = /* @__PURE__ */ (function(t) {
444
+ ft(n, t);
449
445
  function n(r, a) {
450
446
  var s;
451
447
  s = t.call(this, r, a) || this;
452
448
  var d = a, p = d && !d.isMounting ? r.enter : r.appear, u;
453
- return s.appearStatus = null, r.in ? p ? (u = U, s.appearStatus = V) : u = Y : r.unmountOnExit || r.mountOnEnter ? u = re : u = U, s.state = {
449
+ return s.appearStatus = null, r.in ? p ? (u = U, s.appearStatus = V) : u = z : r.unmountOnExit || r.mountOnEnter ? u = re : u = U, s.state = {
454
450
  status: u
455
451
  }, s.nextCallback = null, s;
456
452
  }
@@ -467,7 +463,7 @@ var Tt = function(n) {
467
463
  var s = null;
468
464
  if (a !== this.props) {
469
465
  var d = this.state.status;
470
- this.props.in ? d !== V && d !== Y && (s = V) : (d === V || d === Y) && (s = De);
466
+ this.props.in ? d !== V && d !== z && (s = V) : (d === V || d === z) && (s = De);
471
467
  }
472
468
  this.updateStatus(!1, s);
473
469
  }, i.componentWillUnmount = function() {
@@ -484,7 +480,7 @@ var Tt = function(n) {
484
480
  if (this.cancelNextCallback(), s === V) {
485
481
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
486
482
  var d = this.props.nodeRef ? this.props.nodeRef.current : ue.findDOMNode(this);
487
- d && Tt(d);
483
+ d && xt(d);
488
484
  }
489
485
  this.performEnter(a);
490
486
  } else
@@ -496,7 +492,7 @@ var Tt = function(n) {
496
492
  var s = this, d = this.props.enter, p = this.context ? this.context.isMounting : a, u = this.props.nodeRef ? [p] : [ue.findDOMNode(this), p], l = u[0], m = u[1], c = this.getTimeouts(), o = p ? c.appear : c.enter;
497
493
  if (!a && !d || qe.disabled) {
498
494
  this.safeSetState({
499
- status: Y
495
+ status: z
500
496
  }, function() {
501
497
  s.props.onEntered(l);
502
498
  });
@@ -507,7 +503,7 @@ var Tt = function(n) {
507
503
  }, function() {
508
504
  s.props.onEntering(l, m), s.onTransitionEnd(o, function() {
509
505
  s.safeSetState({
510
- status: Y
506
+ status: z
511
507
  }, function() {
512
508
  s.props.onEntered(l, m);
513
509
  });
@@ -563,15 +559,15 @@ var Tt = function(n) {
563
559
  return null;
564
560
  var s = this.props, d = s.children;
565
561
  s.in, s.mountOnEnter, s.unmountOnExit, s.appear, s.enter, s.exit, s.timeout, s.addEndListener, s.onEnter, s.onEntering, s.onEntered, s.onExit, s.onExiting, s.onExited, s.nodeRef;
566
- var p = ft(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
562
+ var p = mt(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
567
563
  return (
568
564
  // allows for nested Transitions
569
- /* @__PURE__ */ X.createElement(Je.Provider, {
565
+ /* @__PURE__ */ Y.createElement(Je.Provider, {
570
566
  value: null
571
- }, typeof d == "function" ? d(a, p) : X.cloneElement(X.Children.only(d), p))
567
+ }, typeof d == "function" ? d(a, p) : Y.cloneElement(Y.Children.only(d), p))
572
568
  );
573
569
  }, n;
574
- })(X.Component);
570
+ })(Y.Component);
575
571
  $.contextType = Je;
576
572
  $.propTypes = process.env.NODE_ENV !== "production" ? {
577
573
  /**
@@ -669,7 +665,7 @@ $.propTypes = process.env.NODE_ENV !== "production" ? {
669
665
  * @type {number | { enter?: number, exit?: number, appear?: number }}
670
666
  */
671
667
  timeout: function(n) {
672
- var i = Et;
668
+ var i = Tt;
673
669
  n.addEndListener || (i = i.isRequired);
674
670
  for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
675
671
  a[s - 1] = arguments[s];
@@ -742,7 +738,7 @@ $.propTypes = process.env.NODE_ENV !== "production" ? {
742
738
  */
743
739
  onExited: e.func
744
740
  } : {};
745
- function z() {
741
+ function G() {
746
742
  }
747
743
  $.defaultProps = {
748
744
  in: !1,
@@ -751,19 +747,19 @@ $.defaultProps = {
751
747
  appear: !1,
752
748
  enter: !0,
753
749
  exit: !0,
754
- onEnter: z,
755
- onEntering: z,
756
- onEntered: z,
757
- onExit: z,
758
- onExiting: z,
759
- onExited: z
750
+ onEnter: G,
751
+ onEntering: G,
752
+ onEntered: G,
753
+ onExit: G,
754
+ onExiting: G,
755
+ onExited: G
760
756
  };
761
757
  $.UNMOUNTED = re;
762
758
  $.EXITED = U;
763
759
  $.ENTERING = V;
764
- $.ENTERED = Y;
760
+ $.ENTERED = z;
765
761
  $.EXITING = De;
766
- const xt = (t) => t.scrollTop;
762
+ const Ot = (t) => t.scrollTop;
767
763
  function Ke(t, n) {
768
764
  const {
769
765
  timeout: i,
@@ -776,7 +772,7 @@ function Ke(t, n) {
776
772
  delay: a.transitionDelay
777
773
  };
778
774
  }
779
- function Ot(t) {
775
+ function St(t) {
780
776
  const n = typeof t;
781
777
  switch (n) {
782
778
  case "number":
@@ -790,7 +786,7 @@ function Ot(t) {
790
786
  function tt(t, n, i, r) {
791
787
  const a = t[n];
792
788
  if (a == null || !Number.isInteger(a)) {
793
- const s = Ot(a);
789
+ const s = St(a);
794
790
  return new RangeError(`Invalid ${r} \`${n}\` of type \`${s}\` supplied to \`${i}\`, expected \`integer\`.`);
795
791
  }
796
792
  return null;
@@ -798,17 +794,17 @@ function tt(t, n, i, r) {
798
794
  function nt(t, n, i, r) {
799
795
  return t[n] === void 0 ? null : tt(t, n, i, r);
800
796
  }
801
- function we() {
797
+ function ke() {
802
798
  return null;
803
799
  }
804
800
  nt.isRequired = tt;
805
- we.isRequired = we;
806
- const St = process.env.NODE_ENV === "production" ? we : nt;
807
- function Rt(t) {
801
+ ke.isRequired = ke;
802
+ const Rt = process.env.NODE_ENV === "production" ? ke : nt;
803
+ function Pt(t) {
808
804
  return ge("MuiPaper", t);
809
805
  }
810
806
  he("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
811
- const Pt = (t) => {
807
+ const Nt = (t) => {
812
808
  const {
813
809
  square: n,
814
810
  elevation: i,
@@ -817,8 +813,8 @@ const Pt = (t) => {
817
813
  } = t, s = {
818
814
  root: ["root", r, !n && "rounded", r === "elevation" && `elevation${i}`]
819
815
  };
820
- return ve(s, Rt, a);
821
- }, Nt = H("div", {
816
+ return ve(s, Pt, a);
817
+ }, Dt = H("div", {
822
818
  name: "MuiPaper",
823
819
  slot: "Root",
824
820
  overridesResolver: (t, n) => {
@@ -873,9 +869,9 @@ const Pt = (t) => {
873
869
  elevation: p,
874
870
  square: u,
875
871
  variant: l
876
- }, o = Pt(c);
872
+ }, o = Nt(c);
877
873
  return process.env.NODE_ENV !== "production" && a.shadows[p] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${p}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${p}]\` is defined.`].join(`
878
- `)), /* @__PURE__ */ M(Nt, {
874
+ `)), /* @__PURE__ */ M(Dt, {
879
875
  as: d,
880
876
  ownerState: c,
881
877
  className: B(o.root, s),
@@ -922,7 +918,7 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
922
918
  * It accepts values between 0 and 24 inclusive.
923
919
  * @default 1
924
920
  */
925
- elevation: ke(St, (t) => {
921
+ elevation: we(Rt, (t) => {
926
922
  const {
927
923
  elevation: n,
928
924
  variant: i
@@ -948,11 +944,8 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
948
944
  */
949
945
  variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
950
946
  });
951
- function Dt(t) {
952
- return typeof t == "string";
953
- }
954
- function wt(t, n, i) {
955
- return t === void 0 || Dt(t) ? n : {
947
+ function kt(t, n, i) {
948
+ return t === void 0 || pt(t) ? n : {
956
949
  ...n,
957
950
  ownerState: {
958
951
  ...n.ownerState,
@@ -960,7 +953,7 @@ function wt(t, n, i) {
960
953
  }
961
954
  };
962
955
  }
963
- function kt(t, n, i) {
956
+ function wt(t, n, i) {
964
957
  return typeof t == "function" ? t(n, i) : t;
965
958
  }
966
959
  function rt(t, n = []) {
@@ -1039,7 +1032,7 @@ function j(t, n) {
1039
1032
  [t]: void 0
1040
1033
  },
1041
1034
  ...o
1042
- } = s, f = m[t] || r, y = kt(c[t], a), {
1035
+ } = s, f = m[t] || r, y = wt(c[t], a), {
1043
1036
  props: {
1044
1037
  component: E,
1045
1038
  ...O
@@ -1050,7 +1043,7 @@ function j(t, n) {
1050
1043
  ...u,
1051
1044
  externalForwardedProps: t === "root" ? o : void 0,
1052
1045
  externalSlotProps: y
1053
- }), R = ie(S, y?.ref, n.ref), g = t === "root" ? E || l : E, T = wt(f, {
1046
+ }), R = ie(S, y?.ref, n.ref), g = t === "root" ? E || l : E, T = kt(f, {
1054
1047
  ...t === "root" && !l && !m[t] && d,
1055
1048
  ...t !== "root" && !m[t] && d,
1056
1049
  ...O,
@@ -1145,8 +1138,8 @@ function it(t, n, i, r, a) {
1145
1138
  const u = s.type;
1146
1139
  return typeof u == "function" && !Mt(u) && (p = "Did you accidentally use a plain function component for an element instead?"), p !== void 0 ? new Error(`Invalid ${r} \`${d}\` supplied to \`${i}\`. Expected an element that can hold a ref. ${p} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
1147
1140
  }
1148
- const Ee = ke(e.element, it);
1149
- Ee.isRequired = ke(e.element.isRequired, it);
1141
+ const Ee = we(e.element, it);
1142
+ Ee.isRequired = we(e.element.isRequired, it);
1150
1143
  const It = {
1151
1144
  entering: {
1152
1145
  opacity: 1
@@ -1181,7 +1174,7 @@ const It = {
1181
1174
  v === void 0 ? x(b) : x(b, v);
1182
1175
  }
1183
1176
  }, P = D(o), _ = D((x, v) => {
1184
- xt(x);
1177
+ Ot(x);
1185
1178
  const b = Ke({
1186
1179
  style: O,
1187
1180
  timeout: S,
@@ -1497,7 +1490,7 @@ function jt(t = window) {
1497
1490
  return t.innerWidth - n;
1498
1491
  }
1499
1492
  function $t(t) {
1500
- const n = q(t);
1493
+ const n = Z(t);
1501
1494
  return n.body === t ? pe(t).innerWidth > n.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
1502
1495
  }
1503
1496
  function oe(t, n) {
@@ -1531,7 +1524,7 @@ function Ht(t, n) {
1531
1524
  property: "padding-right",
1532
1525
  el: r
1533
1526
  }), r.style.paddingRight = `${ze(r) + d}px`;
1534
- const p = q(r).querySelectorAll(".mui-fixed");
1527
+ const p = Z(r).querySelectorAll(".mui-fixed");
1535
1528
  [].forEach.call(p, (u) => {
1536
1529
  i.push({
1537
1530
  value: u.style.paddingRight,
@@ -1542,7 +1535,7 @@ function Ht(t, n) {
1542
1535
  }
1543
1536
  let s;
1544
1537
  if (r.parentNode instanceof DocumentFragment)
1545
- s = q(r).body;
1538
+ s = Z(r).body;
1546
1539
  else {
1547
1540
  const d = r.parentElement, p = pe(r);
1548
1541
  s = d?.nodeName === "HTML" && p.getComputedStyle(d).overflowY === "scroll" ? d : r;
@@ -1661,7 +1654,7 @@ function ye(t) {
1661
1654
  }, [i, p]), h.useEffect(() => {
1662
1655
  if (!p || !y.current)
1663
1656
  return;
1664
- const g = q(y.current);
1657
+ const g = Z(y.current);
1665
1658
  return y.current.contains(g.activeElement) || (y.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
1666
1659
  `)), y.current.setAttribute("tabIndex", "-1")), f.current && y.current.focus()), () => {
1667
1660
  a || (c.current && c.current.focus && (u.current = !0, c.current.focus()), c.current = null);
@@ -1669,7 +1662,7 @@ function ye(t) {
1669
1662
  }, [p]), h.useEffect(() => {
1670
1663
  if (!p || !y.current)
1671
1664
  return;
1672
- const g = q(y.current), T = (P) => {
1665
+ const g = Z(y.current), T = (P) => {
1673
1666
  O.current = P, !(r || !d() || P.key !== "Tab") && g.activeElement === y.current && P.shiftKey && (u.current = !0, m.current && m.current.focus());
1674
1667
  }, N = () => {
1675
1668
  const P = y.current;
@@ -1804,7 +1797,7 @@ function Jt(t) {
1804
1797
  } = t, c = h.useRef({}), o = h.useRef(null), f = h.useRef(null), y = ie(f, m), [E, O] = h.useState(!l), S = Zt(p);
1805
1798
  let R = !0;
1806
1799
  (t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (R = !1);
1807
- const g = () => q(o.current), T = () => (c.current.modalRef = f.current, c.current.mount = o.current, c.current), N = () => {
1800
+ const g = () => Z(o.current), T = () => (c.current.modalRef = f.current, c.current.mount = o.current, c.current), N = () => {
1808
1801
  de.mount(T(), {
1809
1802
  disableScrollLock: r
1810
1803
  }), f.current && (f.current.scrollTop = 0);
@@ -1831,7 +1824,7 @@ function Jt(t) {
1831
1824
  getRootProps: (v = {}) => {
1832
1825
  const b = rt(t);
1833
1826
  delete b.onTransitionEnter, delete b.onTransitionExited;
1834
- const K = {
1827
+ const q = {
1835
1828
  ...b,
1836
1829
  ...v
1837
1830
  };
@@ -1843,8 +1836,8 @@ function Jt(t) {
1843
1836
  * https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
1844
1837
  */
1845
1838
  role: "presentation",
1846
- ...K,
1847
- onKeyDown: I(K),
1839
+ ...q,
1840
+ onKeyDown: I(q),
1848
1841
  ref: y
1849
1842
  };
1850
1843
  },
@@ -1966,7 +1959,7 @@ const en = (t) => {
1966
1959
  }, {
1967
1960
  getRootProps: v,
1968
1961
  getBackdropProps: b,
1969
- getTransitionProps: K,
1962
+ getTransitionProps: q,
1970
1963
  portalRef: Q,
1971
1964
  isTopModal: Te,
1972
1965
  exited: se,
@@ -1977,13 +1970,13 @@ const en = (t) => {
1977
1970
  }), A = {
1978
1971
  ...x,
1979
1972
  exited: se
1980
- }, ee = en(A), G = {};
1981
- if (l.props.tabIndex === void 0 && (G.tabIndex = "-1"), ae) {
1973
+ }, ee = en(A), K = {};
1974
+ if (l.props.tabIndex === void 0 && (K.tabIndex = "-1"), ae) {
1982
1975
  const {
1983
1976
  onEnter: W,
1984
1977
  onExited: te
1985
- } = K();
1986
- G.onEnter = W, G.onExited = te;
1978
+ } = q();
1979
+ K.onEnter = W, K.onExited = te;
1987
1980
  }
1988
1981
  const le = {
1989
1982
  slots: {
@@ -2035,7 +2028,7 @@ const en = (t) => {
2035
2028
  disableRestoreFocus: R,
2036
2029
  isEnabled: Te,
2037
2030
  open: C,
2038
- children: /* @__PURE__ */ h.cloneElement(l, G)
2031
+ children: /* @__PURE__ */ h.cloneElement(l, K)
2039
2032
  })]
2040
2033
  })
2041
2034
  });
@@ -2230,8 +2223,8 @@ const Ne = he("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "p
2230
2223
  fullScreen: s
2231
2224
  } = t, d = {
2232
2225
  root: ["root"],
2233
- container: ["container", `scroll${Z(i)}`],
2234
- paper: ["paper", `paperScroll${Z(i)}`, `paperWidth${Z(String(r))}`, a && "paperFullWidth", s && "paperFullScreen"]
2226
+ container: ["container", `scroll${X(i)}`],
2227
+ paper: ["paper", `paperScroll${X(i)}`, `paperWidth${X(String(r))}`, a && "paperFullWidth", s && "paperFullScreen"]
2235
2228
  };
2236
2229
  return ve(d, rn, n);
2237
2230
  }, an = H(st, {
@@ -2249,7 +2242,7 @@ const Ne = he("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "p
2249
2242
  const {
2250
2243
  ownerState: i
2251
2244
  } = t;
2252
- return [n.container, n[`scroll${Z(i.scroll)}`]];
2245
+ return [n.container, n[`scroll${X(i.scroll)}`]];
2253
2246
  }
2254
2247
  })({
2255
2248
  height: "100%",
@@ -2291,7 +2284,7 @@ const Ne = he("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "p
2291
2284
  const {
2292
2285
  ownerState: i
2293
2286
  } = t;
2294
- return [n.paper, n[`scrollPaper${Z(i.scroll)}`], n[`paperWidth${Z(String(i.maxWidth))}`], i.fullWidth && n.paperFullWidth, i.fullScreen && n.paperFullScreen];
2287
+ return [n.paper, n[`scrollPaper${X(i.scroll)}`], n[`paperWidth${X(String(i.maxWidth))}`], i.fullWidth && n.paperFullWidth, i.fullScreen && n.paperFullScreen];
2295
2288
  }
2296
2289
  })(_e(({
2297
2290
  theme: t
@@ -2416,9 +2409,9 @@ const Ne = he("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "p
2416
2409
  scroll: D
2417
2410
  }, x = sn(F), v = h.useRef(), b = (ne) => {
2418
2411
  v.current = ne.target === ne.currentTarget;
2419
- }, K = (ne) => {
2412
+ }, q = (ne) => {
2420
2413
  S && S(ne), v.current && (v.current = null, R && R(ne, "backdropClick"));
2421
- }, Q = yt(p), Te = h.useMemo(() => ({
2414
+ }, Q = gt(p), Te = h.useMemo(() => ({
2422
2415
  titleId: Q
2423
2416
  }), [Q]), se = {
2424
2417
  transition: C,
@@ -2431,7 +2424,7 @@ const Ne = he("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "p
2431
2424
  }, A = {
2432
2425
  slots: se,
2433
2426
  slotProps: ae
2434
- }, [ee, G] = j("root", {
2427
+ }, [ee, K] = j("root", {
2435
2428
  elementType: an,
2436
2429
  shouldForwardComponentProp: !0,
2437
2430
  externalForwardedProps: A,
@@ -2480,8 +2473,8 @@ const Ne = he("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "p
2480
2473
  disableEscapeKeyDown: f,
2481
2474
  onClose: R,
2482
2475
  open: g,
2483
- onClick: K,
2484
- ...G,
2476
+ onClick: q,
2477
+ ...K,
2485
2478
  ...J,
2486
2479
  children: /* @__PURE__ */ M(te, {
2487
2480
  ...at,