everest-npm-features 0.0.1

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 (129) hide show
  1. package/README.md +3 -0
  2. package/dist/ArrowRight-C6tjImpU.js +300 -0
  3. package/dist/Box-wAem3MQD.js +58 -0
  4. package/dist/Button-fWdSk-yh.js +451 -0
  5. package/dist/ButtonBase-SYP7klDp.js +876 -0
  6. package/dist/CircularProgress-DcXA6nAu.js +249 -0
  7. package/dist/Close-CdRA3xUs.js +75 -0
  8. package/dist/Container-CIMHcpEe.js +181 -0
  9. package/dist/ContentCopy-CexUUXuC.js +8 -0
  10. package/dist/DefaultPropsProvider-Y8MI-J-I.js +555 -0
  11. package/dist/DialogContent-JgT9A6nk.js +501 -0
  12. package/dist/FormControl-D4QuPCnV.js +249 -0
  13. package/dist/GlobalStyles-BOnEiMUE.js +23 -0
  14. package/dist/Grid-dtT_MVn3.js +501 -0
  15. package/dist/Grow-B3Swdn2Z.js +215 -0
  16. package/dist/IconButton-CRGy76pJ.js +237 -0
  17. package/dist/Modal-0q_y4zbS.js +1170 -0
  18. package/dist/Select-BNAaKK32.js +4046 -0
  19. package/dist/Slide-BlS6unRJ.js +229 -0
  20. package/dist/TextField-CPZo0_di.js +963 -0
  21. package/dist/TransitionGroupContext-VwpFXTPO.js +43 -0
  22. package/dist/Typography-kyxogyUq.js +256 -0
  23. package/dist/__vite-browser-external-DYxpcVy9-DYxpcVy9.js +4 -0
  24. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  25. package/dist/assets/documents.css +1 -0
  26. package/dist/assets/index.css +1 -0
  27. package/dist/assets/index2.css +1 -0
  28. package/dist/assets/keyboard.css +1 -0
  29. package/dist/assets/styles.css +1 -0
  30. package/dist/assets/styles2.css +1 -0
  31. package/dist/assets/tokenRow.css +1 -0
  32. package/dist/assets/withThemeProvider.css +1 -0
  33. package/dist/auth-Cj5FKr_m.js +19 -0
  34. package/dist/axios-xPiQW9EP.js +118114 -0
  35. package/dist/components/Profile/documents.d.ts +6 -0
  36. package/dist/components/Profile/documents.js +24 -0
  37. package/dist/components/Profile/index.d.ts +6 -0
  38. package/dist/components/Profile/index.js +592 -0
  39. package/dist/components/Receive/index.d.ts +2 -0
  40. package/dist/components/Receive/index.js +75 -0
  41. package/dist/components/Send/index.d.ts +6 -0
  42. package/dist/components/Send/index.js +387 -0
  43. package/dist/components/Shared/Keyboard/index.d.ts +1 -0
  44. package/dist/components/Shared/Keyboard/index.js +4 -0
  45. package/dist/components/Shared/Keyboard/keyboard.d.ts +8 -0
  46. package/dist/components/Shared/Keyboard/keyboard.js +152 -0
  47. package/dist/components/Shared/button.d.ts +11 -0
  48. package/dist/components/Shared/button.js +64 -0
  49. package/dist/components/Shared/incode.d.ts +20 -0
  50. package/dist/components/Shared/incode.js +202 -0
  51. package/dist/components/Shared/inputField.d.ts +7 -0
  52. package/dist/components/Shared/inputField.js +48 -0
  53. package/dist/components/Shared/pin.d.ts +9 -0
  54. package/dist/components/Shared/pin.js +96 -0
  55. package/dist/components/Shared/step.d.ts +8 -0
  56. package/dist/components/Shared/step.js +48 -0
  57. package/dist/components/Shared/transition.d.ts +7 -0
  58. package/dist/components/Shared/transition.js +11 -0
  59. package/dist/components/SignIn/index.d.ts +4 -0
  60. package/dist/components/SignIn/index.js +266 -0
  61. package/dist/components/SignIn/types.d.ts +7 -0
  62. package/dist/components/SignIn/types.js +1 -0
  63. package/dist/components/SignUp/biometric.d.ts +3 -0
  64. package/dist/components/SignUp/biometric.js +77 -0
  65. package/dist/components/SignUp/index.d.ts +3 -0
  66. package/dist/components/SignUp/index.js +393 -0
  67. package/dist/components/SignUp/pin.d.ts +3 -0
  68. package/dist/components/SignUp/pin.js +950 -0
  69. package/dist/components/SignUp/privacy.d.ts +2 -0
  70. package/dist/components/SignUp/privacy.js +259 -0
  71. package/dist/components/SignUp/terms.d.ts +2 -0
  72. package/dist/components/SignUp/terms.js +524 -0
  73. package/dist/components/SignUp/types.d.ts +54 -0
  74. package/dist/components/SignUp/types.js +1 -0
  75. package/dist/components/SignUp/userInfo.d.ts +3 -0
  76. package/dist/components/SignUp/userInfo.js +47 -0
  77. package/dist/components/WalletPortfolio/index.d.ts +3 -0
  78. package/dist/components/WalletPortfolio/index.js +557 -0
  79. package/dist/components/WalletPortfolio/tokenRow.d.ts +17 -0
  80. package/dist/components/WalletPortfolio/tokenRow.js +11 -0
  81. package/dist/components/WalletPortfolio/types.d.ts +10 -0
  82. package/dist/components/WalletPortfolio/types.js +1 -0
  83. package/dist/createSimplePaletteValueFilter-CsgjlRAs.js +659 -0
  84. package/dist/createSvgIcon-CAZr4ukt.js +249 -0
  85. package/dist/createTheme-NrBCWesw.js +3386 -0
  86. package/dist/debounce-46wSf_lW.js +15 -0
  87. package/dist/defaultTheme-OIfL8Ia7.js +5 -0
  88. package/dist/dialog-success-BDNJV4Tk.js +4 -0
  89. package/dist/dividerClasses-Z7VLlu5C.js +10 -0
  90. package/dist/documents-CL4Ajr_B.js +569 -0
  91. package/dist/exactProp-C1Lmtwf_.js +13 -0
  92. package/dist/extendSxProp-CuERe1TA.js +37 -0
  93. package/dist/hoc/withThemeProvider.d.ts +6 -0
  94. package/dist/hoc/withThemeProvider.js +635 -0
  95. package/dist/hooks/useDialog/index.d.ts +5 -0
  96. package/dist/hooks/useDialog/index.js +78 -0
  97. package/dist/hooks/useDialog/types.d.ts +14 -0
  98. package/dist/hooks/useDialog/types.js +1 -0
  99. package/dist/hooks/useSnackBar.d.ts +14 -0
  100. package/dist/hooks/useSnackBar.js +968 -0
  101. package/dist/index-CAoLi5Qq.js +827 -0
  102. package/dist/index-Cq3eHOnB.js +22 -0
  103. package/dist/index-DKTkUdik.js +6 -0
  104. package/dist/index-iAyNk1r6.js +72 -0
  105. package/dist/main.d.ts +7 -0
  106. package/dist/main.js +16 -0
  107. package/dist/pin-empty-D9665KFr.js +6 -0
  108. package/dist/react-redux-VW99uJjf.js +5908 -0
  109. package/dist/react-webcam-Cov1TP0q.js +639 -0
  110. package/dist/styled-Da6GnxEE.js +5 -0
  111. package/dist/styles.module-Ctfaq7f2.js +10 -0
  112. package/dist/styles.module-KeND8lCR.js +9 -0
  113. package/dist/tokenRow-Cdd_jFjp.js +206 -0
  114. package/dist/useFormControl-Bo6Tf_xo.js +46 -0
  115. package/dist/useSlot-CURNJ3JC.js +306 -0
  116. package/dist/useTheme-DWRMvRU8.js +9 -0
  117. package/dist/useTheme-nlj1B_-c.js +11 -0
  118. package/dist/useThemeProps-BqWuFW3z.js +40 -0
  119. package/dist/useThemeWithoutDefault-BdYkMk0o.js +12 -0
  120. package/dist/useTimeout-lr7ryrda.js +75 -0
  121. package/dist/util/constants.d.ts +20 -0
  122. package/dist/util/constants.js +23 -0
  123. package/dist/util/conversions.d.ts +9 -0
  124. package/dist/util/conversions.js +22284 -0
  125. package/dist/util/functions.d.ts +15 -0
  126. package/dist/util/functions.js +94 -0
  127. package/dist/utils-_FXWkn40.js +19473 -0
  128. package/dist/wallet-DN7ej6mj.js +273 -0
  129. package/package.json +59 -0
@@ -0,0 +1,1170 @@
1
+ import * as c from "react";
2
+ import { P as e, g as be } from "./createTheme-NrBCWesw.js";
3
+ import { g as me, s as J, u as he, a as X, b as Ee, m as Se } from "./createSimplePaletteValueFilter-CsgjlRAs.js";
4
+ import { g as Q, b as Oe, H as ge, e as Z, T as we, r as Fe, a as se, c as U, o as ee } from "./utils-_FXWkn40.js";
5
+ import { u as q, s as ie } from "./TransitionGroupContext-VwpFXTPO.js";
6
+ import { a as ae, c as ce } from "./useTimeout-lr7ryrda.js";
7
+ import { u as z, e as Me } from "./useSlot-CURNJ3JC.js";
8
+ import { jsx as M, jsxs as ye } from "react/jsx-runtime";
9
+ import { u as Ae } from "./useTheme-nlj1B_-c.js";
10
+ import { e as Te } from "./exactProp-C1Lmtwf_.js";
11
+ function le(...t) {
12
+ return t.reduce((n, r) => r == null ? n : function(...i) {
13
+ n.apply(this, i), r.apply(this, i);
14
+ }, () => {
15
+ });
16
+ }
17
+ let de = 0;
18
+ function De(t) {
19
+ const [n, r] = c.useState(t), o = t || n;
20
+ return c.useEffect(() => {
21
+ n == null && (de += 1, r(`mui-${de}`));
22
+ }, [n]), o;
23
+ }
24
+ const Be = {
25
+ ...c
26
+ }, ue = Be.useId;
27
+ function yt(t) {
28
+ if (ue !== void 0) {
29
+ const n = ue();
30
+ return t ?? n;
31
+ }
32
+ return De(t);
33
+ }
34
+ function Le(t) {
35
+ const n = t.documentElement.clientWidth;
36
+ return Math.abs(window.innerWidth - n);
37
+ }
38
+ function je(t) {
39
+ return typeof t == "function" ? t() : t;
40
+ }
41
+ const H = /* @__PURE__ */ c.forwardRef(function(n, r) {
42
+ const {
43
+ children: o,
44
+ container: i,
45
+ disablePortal: s = !1
46
+ } = n, [a, d] = c.useState(null), u = q(Q(o), r);
47
+ if (ae(() => {
48
+ s || d(je(i) || document.body);
49
+ }, [i, s]), ae(() => {
50
+ if (a && !s)
51
+ return ie(r, a), () => {
52
+ ie(r, null);
53
+ };
54
+ }, [r, a, s]), s) {
55
+ if (/* @__PURE__ */ c.isValidElement(o)) {
56
+ const h = {
57
+ ref: u
58
+ };
59
+ return /* @__PURE__ */ c.cloneElement(o, h);
60
+ }
61
+ return /* @__PURE__ */ M(c.Fragment, {
62
+ children: o
63
+ });
64
+ }
65
+ return /* @__PURE__ */ M(c.Fragment, {
66
+ children: a && /* @__PURE__ */ Oe.createPortal(o, a)
67
+ });
68
+ });
69
+ process.env.NODE_ENV !== "production" && (H.propTypes = {
70
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
71
+ // │ These PropTypes are generated from the TypeScript type definitions. │
72
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
73
+ // └─────────────────────────────────────────────────────────────────────┘
74
+ /**
75
+ * The children to render into the `container`.
76
+ */
77
+ children: e.node,
78
+ /**
79
+ * An HTML element or function that returns one.
80
+ * The `container` will have the portal children appended to it.
81
+ *
82
+ * You can also provide a callback, which is called in a React layout effect.
83
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
84
+ *
85
+ * By default, it uses the body of the top-level document object,
86
+ * so it's simply `document.body` most of the time.
87
+ */
88
+ container: e.oneOfType([ge, e.func]),
89
+ /**
90
+ * The `children` will be under the DOM hierarchy of the parent component.
91
+ * @default false
92
+ */
93
+ disablePortal: e.bool
94
+ });
95
+ process.env.NODE_ENV !== "production" && (H.propTypes = Te(H.propTypes));
96
+ const Ue = {
97
+ entering: {
98
+ opacity: 1
99
+ },
100
+ entered: {
101
+ opacity: 1
102
+ }
103
+ }, xe = /* @__PURE__ */ c.forwardRef(function(n, r) {
104
+ const o = Ae(), i = {
105
+ enter: o.transitions.duration.enteringScreen,
106
+ exit: o.transitions.duration.leavingScreen
107
+ }, {
108
+ addEndListener: s,
109
+ appear: a = !0,
110
+ children: d,
111
+ easing: u,
112
+ in: h,
113
+ onEnter: E,
114
+ onEntered: y,
115
+ onEntering: R,
116
+ onExit: T,
117
+ onExited: f,
118
+ onExiting: w,
119
+ style: v,
120
+ timeout: N = i,
121
+ // eslint-disable-next-line react/prop-types
122
+ TransitionComponent: I = we,
123
+ ...l
124
+ } = n, g = c.useRef(null), P = q(g, Q(d), r), x = (m) => (O) => {
125
+ if (m) {
126
+ const p = g.current;
127
+ O === void 0 ? m(p) : m(p, O);
128
+ }
129
+ }, k = x(R), C = x((m, O) => {
130
+ Fe(m);
131
+ const p = se({
132
+ style: v,
133
+ timeout: N,
134
+ easing: u
135
+ }, {
136
+ mode: "enter"
137
+ });
138
+ m.style.webkitTransition = o.transitions.create("opacity", p), m.style.transition = o.transitions.create("opacity", p), E && E(m, O);
139
+ }), A = x(y), S = x(w), L = x((m) => {
140
+ const O = se({
141
+ style: v,
142
+ timeout: N,
143
+ easing: u
144
+ }, {
145
+ mode: "exit"
146
+ });
147
+ m.style.webkitTransition = o.transitions.create("opacity", O), m.style.transition = o.transitions.create("opacity", O), T && T(m);
148
+ }), B = x(f);
149
+ return /* @__PURE__ */ M(I, {
150
+ appear: a,
151
+ in: h,
152
+ nodeRef: g,
153
+ onEnter: C,
154
+ onEntered: A,
155
+ onEntering: k,
156
+ onExit: L,
157
+ onExited: B,
158
+ onExiting: S,
159
+ addEndListener: (m) => {
160
+ s && s(g.current, m);
161
+ },
162
+ timeout: N,
163
+ ...l,
164
+ children: (m, O) => /* @__PURE__ */ c.cloneElement(d, {
165
+ style: {
166
+ opacity: 0,
167
+ visibility: m === "exited" && !h ? "hidden" : void 0,
168
+ ...Ue[m],
169
+ ...v,
170
+ ...d.props.style
171
+ },
172
+ ref: P,
173
+ ...O
174
+ })
175
+ });
176
+ });
177
+ process.env.NODE_ENV !== "production" && (xe.propTypes = {
178
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
179
+ // │ These PropTypes are generated from the TypeScript type definitions. │
180
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
181
+ // └─────────────────────────────────────────────────────────────────────┘
182
+ /**
183
+ * Add a custom transition end trigger. Called with the transitioning DOM
184
+ * node and a done callback. Allows for more fine grained transition end
185
+ * logic. Note: Timeouts are still used as a fallback if provided.
186
+ */
187
+ addEndListener: e.func,
188
+ /**
189
+ * Perform the enter transition when it first mounts if `in` is also `true`.
190
+ * Set this to `false` to disable this behavior.
191
+ * @default true
192
+ */
193
+ appear: e.bool,
194
+ /**
195
+ * A single child content element.
196
+ */
197
+ children: Z.isRequired,
198
+ /**
199
+ * The transition timing function.
200
+ * You may specify a single easing or a object containing enter and exit values.
201
+ */
202
+ easing: e.oneOfType([e.shape({
203
+ enter: e.string,
204
+ exit: e.string
205
+ }), e.string]),
206
+ /**
207
+ * If `true`, the component will transition in.
208
+ */
209
+ in: e.bool,
210
+ /**
211
+ * @ignore
212
+ */
213
+ onEnter: e.func,
214
+ /**
215
+ * @ignore
216
+ */
217
+ onEntered: e.func,
218
+ /**
219
+ * @ignore
220
+ */
221
+ onEntering: e.func,
222
+ /**
223
+ * @ignore
224
+ */
225
+ onExit: e.func,
226
+ /**
227
+ * @ignore
228
+ */
229
+ onExited: e.func,
230
+ /**
231
+ * @ignore
232
+ */
233
+ onExiting: e.func,
234
+ /**
235
+ * @ignore
236
+ */
237
+ style: e.object,
238
+ /**
239
+ * The duration for the transition, in milliseconds.
240
+ * You may specify a single timeout for all transitions, or individually with an object.
241
+ * @default {
242
+ * enter: theme.transitions.duration.enteringScreen,
243
+ * exit: theme.transitions.duration.leavingScreen,
244
+ * }
245
+ */
246
+ timeout: e.oneOfType([e.number, e.shape({
247
+ appear: e.number,
248
+ enter: e.number,
249
+ exit: e.number
250
+ })])
251
+ });
252
+ function Ke(t) {
253
+ return be("MuiBackdrop", t);
254
+ }
255
+ me("MuiBackdrop", ["root", "invisible"]);
256
+ const Ve = (t) => {
257
+ const {
258
+ ownerState: n,
259
+ ...r
260
+ } = t;
261
+ return r;
262
+ }, We = (t) => {
263
+ const {
264
+ classes: n,
265
+ invisible: r
266
+ } = t;
267
+ return Ee({
268
+ root: ["root", r && "invisible"]
269
+ }, Ke, n);
270
+ }, qe = J("div", {
271
+ name: "MuiBackdrop",
272
+ slot: "Root",
273
+ overridesResolver: (t, n) => {
274
+ const {
275
+ ownerState: r
276
+ } = t;
277
+ return [n.root, r.invisible && n.invisible];
278
+ }
279
+ })({
280
+ position: "fixed",
281
+ display: "flex",
282
+ alignItems: "center",
283
+ justifyContent: "center",
284
+ right: 0,
285
+ bottom: 0,
286
+ top: 0,
287
+ left: 0,
288
+ backgroundColor: "rgba(0, 0, 0, 0.5)",
289
+ WebkitTapHighlightColor: "transparent",
290
+ variants: [{
291
+ props: {
292
+ invisible: !0
293
+ },
294
+ style: {
295
+ backgroundColor: "transparent"
296
+ }
297
+ }]
298
+ }), Re = /* @__PURE__ */ c.forwardRef(function(n, r) {
299
+ const o = he({
300
+ props: n,
301
+ name: "MuiBackdrop"
302
+ }), {
303
+ children: i,
304
+ className: s,
305
+ component: a = "div",
306
+ invisible: d = !1,
307
+ open: u,
308
+ components: h = {},
309
+ componentsProps: E = {},
310
+ slotProps: y = {},
311
+ slots: R = {},
312
+ TransitionComponent: T,
313
+ transitionDuration: f,
314
+ ...w
315
+ } = o, v = {
316
+ ...o,
317
+ component: a,
318
+ invisible: d
319
+ }, N = We(v), I = {
320
+ transition: T,
321
+ root: h.Root,
322
+ ...R
323
+ }, l = {
324
+ ...E,
325
+ ...y
326
+ }, g = {
327
+ slots: I,
328
+ slotProps: l
329
+ }, [P, x] = z("root", {
330
+ elementType: qe,
331
+ externalForwardedProps: g,
332
+ className: X(N.root, s),
333
+ ownerState: v
334
+ }), [k, C] = z("transition", {
335
+ elementType: xe,
336
+ externalForwardedProps: g,
337
+ ownerState: v
338
+ }), A = Ve(C);
339
+ return /* @__PURE__ */ M(k, {
340
+ in: u,
341
+ timeout: f,
342
+ ...w,
343
+ ...A,
344
+ children: /* @__PURE__ */ M(P, {
345
+ "aria-hidden": !0,
346
+ ...x,
347
+ classes: N,
348
+ ref: r,
349
+ children: i
350
+ })
351
+ });
352
+ });
353
+ process.env.NODE_ENV !== "production" && (Re.propTypes = {
354
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
355
+ // │ These PropTypes are generated from the TypeScript type definitions. │
356
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
357
+ // └─────────────────────────────────────────────────────────────────────┘
358
+ /**
359
+ * The content of the component.
360
+ */
361
+ children: e.node,
362
+ /**
363
+ * Override or extend the styles applied to the component.
364
+ */
365
+ classes: e.object,
366
+ /**
367
+ * @ignore
368
+ */
369
+ className: e.string,
370
+ /**
371
+ * The component used for the root node.
372
+ * Either a string to use a HTML element or a component.
373
+ */
374
+ component: e.elementType,
375
+ /**
376
+ * The components used for each slot inside.
377
+ *
378
+ * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
379
+ *
380
+ * @default {}
381
+ */
382
+ components: e.shape({
383
+ Root: e.elementType
384
+ }),
385
+ /**
386
+ * The extra props for the slot components.
387
+ * You can override the existing props or add new ones.
388
+ *
389
+ * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
390
+ *
391
+ * @default {}
392
+ */
393
+ componentsProps: e.shape({
394
+ root: e.object
395
+ }),
396
+ /**
397
+ * If `true`, the backdrop is invisible.
398
+ * It can be used when rendering a popover or a custom select component.
399
+ * @default false
400
+ */
401
+ invisible: e.bool,
402
+ /**
403
+ * If `true`, the component is shown.
404
+ */
405
+ open: e.bool.isRequired,
406
+ /**
407
+ * The props used for each slot inside.
408
+ * @default {}
409
+ */
410
+ slotProps: e.shape({
411
+ root: e.oneOfType([e.func, e.object]),
412
+ transition: e.oneOfType([e.func, e.object])
413
+ }),
414
+ /**
415
+ * The components used for each slot inside.
416
+ * @default {}
417
+ */
418
+ slots: e.shape({
419
+ root: e.elementType,
420
+ transition: e.elementType
421
+ }),
422
+ /**
423
+ * The system prop that allows defining system overrides as well as additional CSS styles.
424
+ */
425
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
426
+ /**
427
+ * The component used for the transition.
428
+ * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
429
+ * @default Fade
430
+ */
431
+ TransitionComponent: e.elementType,
432
+ /**
433
+ * The duration for the transition, in milliseconds.
434
+ * You may specify a single timeout for all transitions, or individually with an object.
435
+ */
436
+ transitionDuration: e.oneOfType([e.number, e.shape({
437
+ appear: e.number,
438
+ enter: e.number,
439
+ exit: e.number
440
+ })])
441
+ });
442
+ function _e(t) {
443
+ const n = U(t);
444
+ return n.body === t ? ee(t).innerWidth > n.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
445
+ }
446
+ function W(t, n) {
447
+ n ? t.setAttribute("aria-hidden", "true") : t.removeAttribute("aria-hidden");
448
+ }
449
+ function fe(t) {
450
+ return parseInt(ee(t).getComputedStyle(t).paddingRight, 10) || 0;
451
+ }
452
+ function $e(t) {
453
+ const r = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].includes(t.tagName), o = t.tagName === "INPUT" && t.getAttribute("type") === "hidden";
454
+ return r || o;
455
+ }
456
+ function pe(t, n, r, o, i) {
457
+ const s = [n, r, ...o];
458
+ [].forEach.call(t.children, (a) => {
459
+ const d = !s.includes(a), u = !$e(a);
460
+ d && u && W(a, i);
461
+ });
462
+ }
463
+ function G(t, n) {
464
+ let r = -1;
465
+ return t.some((o, i) => n(o) ? (r = i, !0) : !1), r;
466
+ }
467
+ function ze(t, n) {
468
+ const r = [], o = t.container;
469
+ if (!n.disableScrollLock) {
470
+ if (_e(o)) {
471
+ const a = Le(U(o));
472
+ r.push({
473
+ value: o.style.paddingRight,
474
+ property: "padding-right",
475
+ el: o
476
+ }), o.style.paddingRight = `${fe(o) + a}px`;
477
+ const d = U(o).querySelectorAll(".mui-fixed");
478
+ [].forEach.call(d, (u) => {
479
+ r.push({
480
+ value: u.style.paddingRight,
481
+ property: "padding-right",
482
+ el: u
483
+ }), u.style.paddingRight = `${fe(u) + a}px`;
484
+ });
485
+ }
486
+ let s;
487
+ if (o.parentNode instanceof DocumentFragment)
488
+ s = U(o).body;
489
+ else {
490
+ const a = o.parentElement, d = ee(o);
491
+ s = (a == null ? void 0 : a.nodeName) === "HTML" && d.getComputedStyle(a).overflowY === "scroll" ? a : o;
492
+ }
493
+ r.push({
494
+ value: s.style.overflow,
495
+ property: "overflow",
496
+ el: s
497
+ }, {
498
+ value: s.style.overflowX,
499
+ property: "overflow-x",
500
+ el: s
501
+ }, {
502
+ value: s.style.overflowY,
503
+ property: "overflow-y",
504
+ el: s
505
+ }), s.style.overflow = "hidden";
506
+ }
507
+ return () => {
508
+ r.forEach(({
509
+ value: s,
510
+ el: a,
511
+ property: d
512
+ }) => {
513
+ s ? a.style.setProperty(d, s) : a.style.removeProperty(d);
514
+ });
515
+ };
516
+ }
517
+ function He(t) {
518
+ const n = [];
519
+ return [].forEach.call(t.children, (r) => {
520
+ r.getAttribute("aria-hidden") === "true" && n.push(r);
521
+ }), n;
522
+ }
523
+ class Ye {
524
+ constructor() {
525
+ this.modals = [], this.containers = [];
526
+ }
527
+ add(n, r) {
528
+ let o = this.modals.indexOf(n);
529
+ if (o !== -1)
530
+ return o;
531
+ o = this.modals.length, this.modals.push(n), n.modalRef && W(n.modalRef, !1);
532
+ const i = He(r);
533
+ pe(r, n.mount, n.modalRef, i, !0);
534
+ const s = G(this.containers, (a) => a.container === r);
535
+ return s !== -1 ? (this.containers[s].modals.push(n), o) : (this.containers.push({
536
+ modals: [n],
537
+ container: r,
538
+ restore: null,
539
+ hiddenSiblings: i
540
+ }), o);
541
+ }
542
+ mount(n, r) {
543
+ const o = G(this.containers, (s) => s.modals.includes(n)), i = this.containers[o];
544
+ i.restore || (i.restore = ze(i, r));
545
+ }
546
+ remove(n, r = !0) {
547
+ const o = this.modals.indexOf(n);
548
+ if (o === -1)
549
+ return o;
550
+ const i = G(this.containers, (a) => a.modals.includes(n)), s = this.containers[i];
551
+ if (s.modals.splice(s.modals.indexOf(n), 1), this.modals.splice(o, 1), s.modals.length === 0)
552
+ s.restore && s.restore(), n.modalRef && W(n.modalRef, r), pe(s.container, n.mount, n.modalRef, s.hiddenSiblings, !1), this.containers.splice(i, 1);
553
+ else {
554
+ const a = s.modals[s.modals.length - 1];
555
+ a.modalRef && W(a.modalRef, !1);
556
+ }
557
+ return o;
558
+ }
559
+ isTopModal(n) {
560
+ return this.modals.length > 0 && this.modals[this.modals.length - 1] === n;
561
+ }
562
+ }
563
+ const Ge = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
564
+ function Xe(t) {
565
+ const n = parseInt(t.getAttribute("tabindex") || "", 10);
566
+ return Number.isNaN(n) ? t.contentEditable === "true" || (t.nodeName === "AUDIO" || t.nodeName === "VIDEO" || t.nodeName === "DETAILS") && t.getAttribute("tabindex") === null ? 0 : t.tabIndex : n;
567
+ }
568
+ function Je(t) {
569
+ if (t.tagName !== "INPUT" || t.type !== "radio" || !t.name)
570
+ return !1;
571
+ const n = (o) => t.ownerDocument.querySelector(`input[type="radio"]${o}`);
572
+ let r = n(`[name="${t.name}"]:checked`);
573
+ return r || (r = n(`[name="${t.name}"]`)), r !== t;
574
+ }
575
+ function Qe(t) {
576
+ return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || Je(t));
577
+ }
578
+ function Ze(t) {
579
+ const n = [], r = [];
580
+ return Array.from(t.querySelectorAll(Ge)).forEach((o, i) => {
581
+ const s = Xe(o);
582
+ s === -1 || !Qe(o) || (s === 0 ? n.push(o) : r.push({
583
+ documentOrder: i,
584
+ tabIndex: s,
585
+ node: o
586
+ }));
587
+ }), r.sort((o, i) => o.tabIndex === i.tabIndex ? o.documentOrder - i.documentOrder : o.tabIndex - i.tabIndex).map((o) => o.node).concat(n);
588
+ }
589
+ function et() {
590
+ return !0;
591
+ }
592
+ function Y(t) {
593
+ const {
594
+ children: n,
595
+ disableAutoFocus: r = !1,
596
+ disableEnforceFocus: o = !1,
597
+ disableRestoreFocus: i = !1,
598
+ getTabbable: s = Ze,
599
+ isEnabled: a = et,
600
+ open: d
601
+ } = t, u = c.useRef(!1), h = c.useRef(null), E = c.useRef(null), y = c.useRef(null), R = c.useRef(null), T = c.useRef(!1), f = c.useRef(null), w = q(Q(n), f), v = c.useRef(null);
602
+ c.useEffect(() => {
603
+ !d || !f.current || (T.current = !r);
604
+ }, [r, d]), c.useEffect(() => {
605
+ if (!d || !f.current)
606
+ return;
607
+ const l = U(f.current);
608
+ return f.current.contains(l.activeElement) || (f.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(`
609
+ `)), f.current.setAttribute("tabIndex", "-1")), T.current && f.current.focus()), () => {
610
+ i || (y.current && y.current.focus && (u.current = !0, y.current.focus()), y.current = null);
611
+ };
612
+ }, [d]), c.useEffect(() => {
613
+ if (!d || !f.current)
614
+ return;
615
+ const l = U(f.current), g = (k) => {
616
+ v.current = k, !(o || !a() || k.key !== "Tab") && l.activeElement === f.current && k.shiftKey && (u.current = !0, E.current && E.current.focus());
617
+ }, P = () => {
618
+ var A, S;
619
+ const k = f.current;
620
+ if (k === null)
621
+ return;
622
+ if (!l.hasFocus() || !a() || u.current) {
623
+ u.current = !1;
624
+ return;
625
+ }
626
+ if (k.contains(l.activeElement) || o && l.activeElement !== h.current && l.activeElement !== E.current)
627
+ return;
628
+ if (l.activeElement !== R.current)
629
+ R.current = null;
630
+ else if (R.current !== null)
631
+ return;
632
+ if (!T.current)
633
+ return;
634
+ let C = [];
635
+ if ((l.activeElement === h.current || l.activeElement === E.current) && (C = s(f.current)), C.length > 0) {
636
+ const L = !!((A = v.current) != null && A.shiftKey && ((S = v.current) == null ? void 0 : S.key) === "Tab"), B = C[0], K = C[C.length - 1];
637
+ typeof B != "string" && typeof K != "string" && (L ? K.focus() : B.focus());
638
+ } else
639
+ k.focus();
640
+ };
641
+ l.addEventListener("focusin", P), l.addEventListener("keydown", g, !0);
642
+ const x = setInterval(() => {
643
+ l.activeElement && l.activeElement.tagName === "BODY" && P();
644
+ }, 50);
645
+ return () => {
646
+ clearInterval(x), l.removeEventListener("focusin", P), l.removeEventListener("keydown", g, !0);
647
+ };
648
+ }, [r, o, i, a, d, s]);
649
+ const N = (l) => {
650
+ y.current === null && (y.current = l.relatedTarget), T.current = !0, R.current = l.target;
651
+ const g = n.props.onFocus;
652
+ g && g(l);
653
+ }, I = (l) => {
654
+ y.current === null && (y.current = l.relatedTarget), T.current = !0;
655
+ };
656
+ return /* @__PURE__ */ ye(c.Fragment, {
657
+ children: [/* @__PURE__ */ M("div", {
658
+ tabIndex: d ? 0 : -1,
659
+ onFocus: I,
660
+ ref: h,
661
+ "data-testid": "sentinelStart"
662
+ }), /* @__PURE__ */ c.cloneElement(n, {
663
+ ref: w,
664
+ onFocus: N
665
+ }), /* @__PURE__ */ M("div", {
666
+ tabIndex: d ? 0 : -1,
667
+ onFocus: I,
668
+ ref: E,
669
+ "data-testid": "sentinelEnd"
670
+ })]
671
+ });
672
+ }
673
+ process.env.NODE_ENV !== "production" && (Y.propTypes = {
674
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
675
+ // │ These PropTypes are generated from the TypeScript type definitions. │
676
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
677
+ // └─────────────────────────────────────────────────────────────────────┘
678
+ /**
679
+ * A single child content element.
680
+ */
681
+ children: Z,
682
+ /**
683
+ * If `true`, the focus trap will not automatically shift focus to itself when it opens, and
684
+ * replace it to the last focused element when it closes.
685
+ * This also works correctly with any focus trap children that have the `disableAutoFocus` prop.
686
+ *
687
+ * Generally this should never be set to `true` as it makes the focus trap less
688
+ * accessible to assistive technologies, like screen readers.
689
+ * @default false
690
+ */
691
+ disableAutoFocus: e.bool,
692
+ /**
693
+ * If `true`, the focus trap will not prevent focus from leaving the focus trap while open.
694
+ *
695
+ * Generally this should never be set to `true` as it makes the focus trap less
696
+ * accessible to assistive technologies, like screen readers.
697
+ * @default false
698
+ */
699
+ disableEnforceFocus: e.bool,
700
+ /**
701
+ * If `true`, the focus trap will not restore focus to previously focused element once
702
+ * focus trap is hidden or unmounted.
703
+ * @default false
704
+ */
705
+ disableRestoreFocus: e.bool,
706
+ /**
707
+ * Returns an array of ordered tabbable nodes (i.e. in tab order) within the root.
708
+ * For instance, you can provide the "tabbable" npm dependency.
709
+ * @param {HTMLElement} root
710
+ */
711
+ getTabbable: e.func,
712
+ /**
713
+ * This prop extends the `open` prop.
714
+ * It allows to toggle the open state without having to wait for a rerender when changing the `open` prop.
715
+ * This prop should be memoized.
716
+ * It can be used to support multiple focus trap mounted at the same time.
717
+ * @default function defaultIsEnabled(): boolean {
718
+ * return true;
719
+ * }
720
+ */
721
+ isEnabled: e.func,
722
+ /**
723
+ * If `true`, focus is locked.
724
+ */
725
+ open: e.bool.isRequired
726
+ });
727
+ process.env.NODE_ENV !== "production" && (Y.propTypes = Te(Y.propTypes));
728
+ function tt(t) {
729
+ return typeof t == "function" ? t() : t;
730
+ }
731
+ function nt(t) {
732
+ return t ? t.props.hasOwnProperty("in") : !1;
733
+ }
734
+ const ot = new Ye();
735
+ function rt(t) {
736
+ const {
737
+ container: n,
738
+ disableEscapeKeyDown: r = !1,
739
+ disableScrollLock: o = !1,
740
+ // @ts-ignore internal logic - Base UI supports the manager as a prop too
741
+ manager: i = ot,
742
+ closeAfterTransition: s = !1,
743
+ onTransitionEnter: a,
744
+ onTransitionExited: d,
745
+ children: u,
746
+ onClose: h,
747
+ open: E,
748
+ rootRef: y
749
+ } = t, R = c.useRef({}), T = c.useRef(null), f = c.useRef(null), w = q(f, y), [v, N] = c.useState(!E), I = nt(u);
750
+ let l = !0;
751
+ (t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (l = !1);
752
+ const g = () => U(T.current), P = () => (R.current.modalRef = f.current, R.current.mount = T.current, R.current), x = () => {
753
+ i.mount(P(), {
754
+ disableScrollLock: o
755
+ }), f.current && (f.current.scrollTop = 0);
756
+ }, k = ce(() => {
757
+ const p = tt(n) || g().body;
758
+ i.add(P(), p), f.current && x();
759
+ }), C = c.useCallback(() => i.isTopModal(P()), [i]), A = ce((p) => {
760
+ T.current = p, p && (E && C() ? x() : f.current && W(f.current, l));
761
+ }), S = c.useCallback(() => {
762
+ i.remove(P(), l);
763
+ }, [l, i]);
764
+ c.useEffect(() => () => {
765
+ S();
766
+ }, [S]), c.useEffect(() => {
767
+ E ? k() : (!I || !s) && S();
768
+ }, [E, S, I, s, k]);
769
+ const L = (p) => (b) => {
770
+ var F;
771
+ (F = p.onKeyDown) == null || F.call(p, b), !(b.key !== "Escape" || b.which === 229 || // Wait until IME is settled.
772
+ !C()) && (r || (b.stopPropagation(), h && h(b, "escapeKeyDown")));
773
+ }, B = (p) => (b) => {
774
+ var F;
775
+ (F = p.onClick) == null || F.call(p, b), b.target === b.currentTarget && h && h(b, "backdropClick");
776
+ };
777
+ return {
778
+ getRootProps: (p = {}) => {
779
+ const b = Me(t);
780
+ delete b.onTransitionEnter, delete b.onTransitionExited;
781
+ const F = {
782
+ ...b,
783
+ ...p
784
+ };
785
+ return {
786
+ role: "presentation",
787
+ ...F,
788
+ onKeyDown: L(F),
789
+ ref: w
790
+ };
791
+ },
792
+ getBackdropProps: (p = {}) => {
793
+ const b = p;
794
+ return {
795
+ "aria-hidden": !0,
796
+ ...b,
797
+ onClick: B(b),
798
+ open: E
799
+ };
800
+ },
801
+ getTransitionProps: () => {
802
+ const p = () => {
803
+ N(!1), a && a();
804
+ }, b = () => {
805
+ N(!0), d && d(), s && S();
806
+ };
807
+ return {
808
+ onEnter: le(p, u == null ? void 0 : u.props.onEnter),
809
+ onExited: le(b, u == null ? void 0 : u.props.onExited)
810
+ };
811
+ },
812
+ rootRef: w,
813
+ portalRef: A,
814
+ isTopModal: C,
815
+ exited: v,
816
+ hasTransition: I
817
+ };
818
+ }
819
+ function st(t) {
820
+ return be("MuiModal", t);
821
+ }
822
+ me("MuiModal", ["root", "hidden", "backdrop"]);
823
+ const it = (t) => {
824
+ const {
825
+ open: n,
826
+ exited: r,
827
+ classes: o
828
+ } = t;
829
+ return Ee({
830
+ root: ["root", !n && r && "hidden"],
831
+ backdrop: ["backdrop"]
832
+ }, st, o);
833
+ }, at = J("div", {
834
+ name: "MuiModal",
835
+ slot: "Root",
836
+ overridesResolver: (t, n) => {
837
+ const {
838
+ ownerState: r
839
+ } = t;
840
+ return [n.root, !r.open && r.exited && n.hidden];
841
+ }
842
+ })(Se(({
843
+ theme: t
844
+ }) => ({
845
+ position: "fixed",
846
+ zIndex: (t.vars || t).zIndex.modal,
847
+ right: 0,
848
+ bottom: 0,
849
+ top: 0,
850
+ left: 0,
851
+ variants: [{
852
+ props: ({
853
+ ownerState: n
854
+ }) => !n.open && n.exited,
855
+ style: {
856
+ visibility: "hidden"
857
+ }
858
+ }]
859
+ }))), ct = J(Re, {
860
+ name: "MuiModal",
861
+ slot: "Backdrop",
862
+ overridesResolver: (t, n) => n.backdrop
863
+ })({
864
+ zIndex: -1
865
+ }), lt = /* @__PURE__ */ c.forwardRef(function(n, r) {
866
+ const o = he({
867
+ name: "MuiModal",
868
+ props: n
869
+ }), {
870
+ BackdropComponent: i = ct,
871
+ BackdropProps: s,
872
+ classes: a,
873
+ className: d,
874
+ closeAfterTransition: u = !1,
875
+ children: h,
876
+ container: E,
877
+ component: y,
878
+ components: R = {},
879
+ componentsProps: T = {},
880
+ disableAutoFocus: f = !1,
881
+ disableEnforceFocus: w = !1,
882
+ disableEscapeKeyDown: v = !1,
883
+ disablePortal: N = !1,
884
+ disableRestoreFocus: I = !1,
885
+ disableScrollLock: l = !1,
886
+ hideBackdrop: g = !1,
887
+ keepMounted: P = !1,
888
+ onBackdropClick: x,
889
+ onClose: k,
890
+ onTransitionEnter: C,
891
+ onTransitionExited: A,
892
+ open: S,
893
+ slotProps: L = {},
894
+ slots: B = {},
895
+ // eslint-disable-next-line react/prop-types
896
+ theme: K,
897
+ ...m
898
+ } = o, O = {
899
+ ...o,
900
+ closeAfterTransition: u,
901
+ disableAutoFocus: f,
902
+ disableEnforceFocus: w,
903
+ disableEscapeKeyDown: v,
904
+ disablePortal: N,
905
+ disableRestoreFocus: I,
906
+ disableScrollLock: l,
907
+ hideBackdrop: g,
908
+ keepMounted: P
909
+ }, {
910
+ getRootProps: p,
911
+ getBackdropProps: b,
912
+ getTransitionProps: F,
913
+ portalRef: ve,
914
+ isTopModal: Pe,
915
+ exited: te,
916
+ hasTransition: ne
917
+ } = rt({
918
+ ...O,
919
+ rootRef: r
920
+ }), V = {
921
+ ...O,
922
+ exited: te
923
+ }, D = it(V), _ = {};
924
+ if (h.props.tabIndex === void 0 && (_.tabIndex = "-1"), ne) {
925
+ const {
926
+ onEnter: j,
927
+ onExited: $
928
+ } = F();
929
+ _.onEnter = j, _.onExited = $;
930
+ }
931
+ const oe = {
932
+ ...m,
933
+ slots: {
934
+ root: R.Root,
935
+ backdrop: R.Backdrop,
936
+ ...B
937
+ },
938
+ slotProps: {
939
+ ...T,
940
+ ...L
941
+ }
942
+ }, [ke, Ne] = z("root", {
943
+ elementType: at,
944
+ externalForwardedProps: oe,
945
+ getSlotProps: p,
946
+ additionalProps: {
947
+ ref: r,
948
+ as: y
949
+ },
950
+ ownerState: V,
951
+ className: X(d, D == null ? void 0 : D.root, !V.open && V.exited && (D == null ? void 0 : D.hidden))
952
+ }), [Ce, re] = z("backdrop", {
953
+ elementType: i,
954
+ externalForwardedProps: oe,
955
+ additionalProps: s,
956
+ getSlotProps: (j) => b({
957
+ ...j,
958
+ onClick: ($) => {
959
+ x && x($), j != null && j.onClick && j.onClick($);
960
+ }
961
+ }),
962
+ className: X(s == null ? void 0 : s.className, D == null ? void 0 : D.backdrop),
963
+ ownerState: V
964
+ }), Ie = q(s == null ? void 0 : s.ref, re.ref);
965
+ return !P && !S && (!ne || te) ? null : /* @__PURE__ */ M(H, {
966
+ ref: ve,
967
+ container: E,
968
+ disablePortal: N,
969
+ children: /* @__PURE__ */ ye(ke, {
970
+ ...Ne,
971
+ children: [!g && i ? /* @__PURE__ */ M(Ce, {
972
+ ...re,
973
+ ref: Ie
974
+ }) : null, /* @__PURE__ */ M(Y, {
975
+ disableEnforceFocus: w,
976
+ disableAutoFocus: f,
977
+ disableRestoreFocus: I,
978
+ isEnabled: Pe,
979
+ open: S,
980
+ children: /* @__PURE__ */ c.cloneElement(h, _)
981
+ })]
982
+ })
983
+ });
984
+ });
985
+ process.env.NODE_ENV !== "production" && (lt.propTypes = {
986
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
987
+ // │ These PropTypes are generated from the TypeScript type definitions. │
988
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
989
+ // └─────────────────────────────────────────────────────────────────────┘
990
+ /**
991
+ * A backdrop component. This prop enables custom backdrop rendering.
992
+ * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
993
+ * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
994
+ * @default styled(Backdrop, {
995
+ * name: 'MuiModal',
996
+ * slot: 'Backdrop',
997
+ * overridesResolver: (props, styles) => {
998
+ * return styles.backdrop;
999
+ * },
1000
+ * })({
1001
+ * zIndex: -1,
1002
+ * })
1003
+ */
1004
+ BackdropComponent: e.elementType,
1005
+ /**
1006
+ * Props applied to the [`Backdrop`](https://mui.com/material-ui/api/backdrop/) element.
1007
+ * @deprecated Use `slotProps.backdrop` instead.
1008
+ */
1009
+ BackdropProps: e.object,
1010
+ /**
1011
+ * A single child content element.
1012
+ */
1013
+ children: Z.isRequired,
1014
+ /**
1015
+ * Override or extend the styles applied to the component.
1016
+ */
1017
+ classes: e.object,
1018
+ /**
1019
+ * @ignore
1020
+ */
1021
+ className: e.string,
1022
+ /**
1023
+ * When set to true the Modal waits until a nested Transition is completed before closing.
1024
+ * @default false
1025
+ */
1026
+ closeAfterTransition: e.bool,
1027
+ /**
1028
+ * The component used for the root node.
1029
+ * Either a string to use a HTML element or a component.
1030
+ */
1031
+ component: e.elementType,
1032
+ /**
1033
+ * The components used for each slot inside.
1034
+ *
1035
+ * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1036
+ *
1037
+ * @default {}
1038
+ */
1039
+ components: e.shape({
1040
+ Backdrop: e.elementType,
1041
+ Root: e.elementType
1042
+ }),
1043
+ /**
1044
+ * The extra props for the slot components.
1045
+ * You can override the existing props or add new ones.
1046
+ *
1047
+ * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1048
+ *
1049
+ * @default {}
1050
+ */
1051
+ componentsProps: e.shape({
1052
+ backdrop: e.oneOfType([e.func, e.object]),
1053
+ root: e.oneOfType([e.func, e.object])
1054
+ }),
1055
+ /**
1056
+ * An HTML element or function that returns one.
1057
+ * The `container` will have the portal children appended to it.
1058
+ *
1059
+ * You can also provide a callback, which is called in a React layout effect.
1060
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
1061
+ *
1062
+ * By default, it uses the body of the top-level document object,
1063
+ * so it's simply `document.body` most of the time.
1064
+ */
1065
+ container: e.oneOfType([ge, e.func]),
1066
+ /**
1067
+ * If `true`, the modal will not automatically shift focus to itself when it opens, and
1068
+ * replace it to the last focused element when it closes.
1069
+ * This also works correctly with any modal children that have the `disableAutoFocus` prop.
1070
+ *
1071
+ * Generally this should never be set to `true` as it makes the modal less
1072
+ * accessible to assistive technologies, like screen readers.
1073
+ * @default false
1074
+ */
1075
+ disableAutoFocus: e.bool,
1076
+ /**
1077
+ * If `true`, the modal will not prevent focus from leaving the modal while open.
1078
+ *
1079
+ * Generally this should never be set to `true` as it makes the modal less
1080
+ * accessible to assistive technologies, like screen readers.
1081
+ * @default false
1082
+ */
1083
+ disableEnforceFocus: e.bool,
1084
+ /**
1085
+ * If `true`, hitting escape will not fire the `onClose` callback.
1086
+ * @default false
1087
+ */
1088
+ disableEscapeKeyDown: e.bool,
1089
+ /**
1090
+ * The `children` will be under the DOM hierarchy of the parent component.
1091
+ * @default false
1092
+ */
1093
+ disablePortal: e.bool,
1094
+ /**
1095
+ * If `true`, the modal will not restore focus to previously focused element once
1096
+ * modal is hidden or unmounted.
1097
+ * @default false
1098
+ */
1099
+ disableRestoreFocus: e.bool,
1100
+ /**
1101
+ * Disable the scroll lock behavior.
1102
+ * @default false
1103
+ */
1104
+ disableScrollLock: e.bool,
1105
+ /**
1106
+ * If `true`, the backdrop is not rendered.
1107
+ * @default false
1108
+ */
1109
+ hideBackdrop: e.bool,
1110
+ /**
1111
+ * Always keep the children in the DOM.
1112
+ * This prop can be useful in SEO situation or
1113
+ * when you want to maximize the responsiveness of the Modal.
1114
+ * @default false
1115
+ */
1116
+ keepMounted: e.bool,
1117
+ /**
1118
+ * Callback fired when the backdrop is clicked.
1119
+ * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
1120
+ */
1121
+ onBackdropClick: e.func,
1122
+ /**
1123
+ * Callback fired when the component requests to be closed.
1124
+ * The `reason` parameter can optionally be used to control the response to `onClose`.
1125
+ *
1126
+ * @param {object} event The event source of the callback.
1127
+ * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
1128
+ */
1129
+ onClose: e.func,
1130
+ /**
1131
+ * A function called when a transition enters.
1132
+ */
1133
+ onTransitionEnter: e.func,
1134
+ /**
1135
+ * A function called when a transition has exited.
1136
+ */
1137
+ onTransitionExited: e.func,
1138
+ /**
1139
+ * If `true`, the component is shown.
1140
+ */
1141
+ open: e.bool.isRequired,
1142
+ /**
1143
+ * The props used for each slot inside the Modal.
1144
+ * @default {}
1145
+ */
1146
+ slotProps: e.shape({
1147
+ backdrop: e.oneOfType([e.func, e.object]),
1148
+ root: e.oneOfType([e.func, e.object])
1149
+ }),
1150
+ /**
1151
+ * The components used for each slot inside the Modal.
1152
+ * Either a string to use a HTML element or a component.
1153
+ * @default {}
1154
+ */
1155
+ slots: e.shape({
1156
+ backdrop: e.elementType,
1157
+ root: e.elementType
1158
+ }),
1159
+ /**
1160
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1161
+ */
1162
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
1163
+ });
1164
+ export {
1165
+ Re as B,
1166
+ xe as F,
1167
+ lt as M,
1168
+ Le as g,
1169
+ yt as u
1170
+ };