jcicl 1.0.9 → 1.0.13

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.
package/.chunks/Portal.js CHANGED
@@ -1,21 +1,32 @@
1
1
  import * as p from "react";
2
2
  import w from "react";
3
- import { r as ct, m as pt, a as ft } from "./resolveComponentProps.js";
4
- import { a as H, e as dt, _ as Et, f as B, b as mt, u as U, s as j } from "./TransitionGroupContext.js";
5
- import { P as e } from "./DefaultPropsProvider.js";
6
- import { a as ht } from "./useTheme.js";
3
+ import { r as lt, m as pt, a as ft } from "./index.js";
4
+ import { a as H, e as dt, _ as Et, f as B, b as mt, u as F, s as U } from "./TransitionGroupContext.js";
5
+ import { k as ht, P as e, T as xt, m as gt } from "./DefaultPropsProvider.js";
6
+ import { T as vt } from "./emotion-styled.browser.esm.js";
7
7
  import { jsx as $ } from "react/jsx-runtime";
8
8
  import { c as K } from "./chainPropTypes.js";
9
- import * as xt from "react-dom";
9
+ import * as Tt from "react-dom";
10
10
  import I from "react-dom";
11
- function gt(r) {
11
+ function yt(n) {
12
+ return Object.keys(n).length === 0;
13
+ }
14
+ function bt(n = null) {
15
+ const s = p.useContext(vt);
16
+ return !s || yt(s) ? n : s;
17
+ }
18
+ const Nt = ht();
19
+ function Dt(n = Nt) {
20
+ return bt(n);
21
+ }
22
+ function Rt(n) {
12
23
  const {
13
24
  prototype: s = {}
14
- } = r;
25
+ } = n;
15
26
  return !!s.isReactComponent;
16
27
  }
17
- function J(r, s, a, o, n) {
18
- const t = r[s], i = n || s;
28
+ function J(n, s, a, r, o) {
29
+ const t = n[s], i = o || s;
19
30
  if (t == null || // When server-side rendering React doesn't warn either.
20
31
  // This is not an accurate check for SSR.
21
32
  // This is only in place for Emotion compat.
@@ -23,75 +34,79 @@ function J(r, s, a, o, n) {
23
34
  typeof window > "u")
24
35
  return null;
25
36
  let u;
26
- const l = t.type;
27
- return typeof l == "function" && !gt(l) && (u = "Did you accidentally use a plain function component for an element instead?"), u !== void 0 ? new Error(`Invalid ${o} \`${i}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
37
+ const c = t.type;
38
+ return typeof c == "function" && !Rt(c) && (u = "Did you accidentally use a plain function component for an element instead?"), u !== void 0 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
28
39
  }
29
40
  const Q = K(e.element, J);
30
41
  Q.isRequired = K(e.element.isRequired, J);
31
- const vt = "exact-prop: ​";
32
- function yt(r) {
33
- return process.env.NODE_ENV === "production" ? r : {
34
- ...r,
35
- [vt]: (s) => {
36
- const a = Object.keys(s).filter((o) => !r.hasOwnProperty(o));
37
- return a.length > 0 ? new Error(`The following props are not supported: ${a.map((o) => `\`${o}\``).join(", ")}. Please remove them.`) : null;
42
+ const Ot = "exact-prop: ​";
43
+ function St(n) {
44
+ return process.env.NODE_ENV === "production" ? n : {
45
+ ...n,
46
+ [Ot]: (s) => {
47
+ const a = Object.keys(s).filter((r) => !n.hasOwnProperty(r));
48
+ return a.length > 0 ? new Error(`The following props are not supported: ${a.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null;
38
49
  }
39
50
  };
40
51
  }
41
- function bt(r, s, a, o, n) {
52
+ function Pt(n, s, a, r, o) {
42
53
  if (process.env.NODE_ENV === "production")
43
54
  return null;
44
- const t = r[s], i = n || s;
45
- return t == null ? null : t && t.nodeType !== 1 ? new Error(`Invalid ${o} \`${i}\` supplied to \`${a}\`. Expected an HTMLElement.`) : null;
55
+ const t = n[s], i = o || s;
56
+ return t == null ? null : t && t.nodeType !== 1 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an HTMLElement.`) : null;
46
57
  }
47
- function Vt(r) {
48
- return r && r.ownerDocument || document;
58
+ function Xt(n) {
59
+ return n && n.ownerDocument || document;
49
60
  }
50
61
  let q = 0;
51
- function Tt(r) {
52
- const [s, a] = p.useState(r), o = r || s;
62
+ function Ct(n) {
63
+ const [s, a] = p.useState(n), r = n || s;
53
64
  return p.useEffect(() => {
54
65
  s == null && (q += 1, a(`mui-${q}`));
55
- }, [s]), o;
66
+ }, [s]), r;
56
67
  }
57
- const Nt = {
68
+ const wt = {
58
69
  ...p
59
- }, W = Nt.useId;
60
- function Gt(r) {
70
+ }, W = wt.useId;
71
+ function zt(n) {
61
72
  if (W !== void 0) {
62
73
  const s = W();
63
- return r ?? s;
74
+ return n ?? s;
64
75
  }
65
- return Tt(r);
76
+ return Ct(n);
66
77
  }
67
- function Ft(r) {
78
+ function Bt(n) {
68
79
  var h;
69
80
  const {
70
81
  elementType: s,
71
82
  externalSlotProps: a,
72
- ownerState: o,
73
- skipResolvingSlotProps: n = !1,
83
+ ownerState: r,
84
+ skipResolvingSlotProps: o = !1,
74
85
  ...t
75
- } = r, i = n ? {} : ct(a, o), {
86
+ } = n, i = o ? {} : lt(a, r), {
76
87
  props: u,
77
- internalRef: l
88
+ internalRef: c
78
89
  } = pt({
79
90
  ...t,
80
91
  externalSlotProps: i
81
- }), f = H(l, i == null ? void 0 : i.ref, (h = r.additionalProps) == null ? void 0 : h.ref);
92
+ }), f = H(c, i == null ? void 0 : i.ref, (h = n.additionalProps) == null ? void 0 : h.ref);
82
93
  return ft(s, {
83
94
  ...u,
84
95
  ref: f
85
- }, o);
96
+ }, r);
86
97
  }
87
- function Y(r) {
98
+ function Y(n) {
88
99
  var s;
89
- return parseInt(p.version, 10) >= 19 ? ((s = r == null ? void 0 : r.props) == null ? void 0 : s.ref) || null : (r == null ? void 0 : r.ref) || null;
100
+ return parseInt(p.version, 10) >= 19 ? ((s = n == null ? void 0 : n.props) == null ? void 0 : s.ref) || null : (n == null ? void 0 : n.ref) || null;
101
+ }
102
+ function It() {
103
+ const n = Dt(gt);
104
+ return process.env.NODE_ENV !== "production" && p.useDebugValue(n), n[xt] || n;
90
105
  }
91
106
  const X = {
92
107
  disabled: !1
93
108
  };
94
- var Rt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
109
+ var kt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
95
110
  enter: e.number,
96
111
  exit: e.number,
97
112
  appear: e.number
@@ -108,124 +123,124 @@ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
108
123
  exitDone: e.string,
109
124
  exitActive: e.string
110
125
  })]);
111
- var Dt = function(s) {
126
+ var _t = function(s) {
112
127
  return s.scrollTop;
113
- }, O = "unmounted", y = "exited", b = "entering", S = "entered", A = "exiting", E = /* @__PURE__ */ function(r) {
114
- dt(s, r);
115
- function s(o, n) {
128
+ }, S = "unmounted", T = "exited", y = "entering", O = "entered", V = "exiting", E = /* @__PURE__ */ function(n) {
129
+ dt(s, n);
130
+ function s(r, o) {
116
131
  var t;
117
- t = r.call(this, o, n) || this;
118
- var i = n, u = i && !i.isMounting ? o.enter : o.appear, l;
119
- return t.appearStatus = null, o.in ? u ? (l = y, t.appearStatus = b) : l = S : o.unmountOnExit || o.mountOnEnter ? l = O : l = y, t.state = {
120
- status: l
132
+ t = n.call(this, r, o) || this;
133
+ var i = o, u = i && !i.isMounting ? r.enter : r.appear, c;
134
+ return t.appearStatus = null, r.in ? u ? (c = T, t.appearStatus = y) : c = O : r.unmountOnExit || r.mountOnEnter ? c = S : c = T, t.state = {
135
+ status: c
121
136
  }, t.nextCallback = null, t;
122
137
  }
123
- s.getDerivedStateFromProps = function(n, t) {
124
- var i = n.in;
125
- return i && t.status === O ? {
126
- status: y
138
+ s.getDerivedStateFromProps = function(o, t) {
139
+ var i = o.in;
140
+ return i && t.status === S ? {
141
+ status: T
127
142
  } : null;
128
143
  };
129
144
  var a = s.prototype;
130
145
  return a.componentDidMount = function() {
131
146
  this.updateStatus(!0, this.appearStatus);
132
- }, a.componentDidUpdate = function(n) {
147
+ }, a.componentDidUpdate = function(o) {
133
148
  var t = null;
134
- if (n !== this.props) {
149
+ if (o !== this.props) {
135
150
  var i = this.state.status;
136
- this.props.in ? i !== b && i !== S && (t = b) : (i === b || i === S) && (t = A);
151
+ this.props.in ? i !== y && i !== O && (t = y) : (i === y || i === O) && (t = V);
137
152
  }
138
153
  this.updateStatus(!1, t);
139
154
  }, a.componentWillUnmount = function() {
140
155
  this.cancelNextCallback();
141
156
  }, a.getTimeouts = function() {
142
- var n = this.props.timeout, t, i, u;
143
- return t = i = u = n, n != null && typeof n != "number" && (t = n.exit, i = n.enter, u = n.appear !== void 0 ? n.appear : i), {
157
+ var o = this.props.timeout, t, i, u;
158
+ return t = i = u = o, o != null && typeof o != "number" && (t = o.exit, i = o.enter, u = o.appear !== void 0 ? o.appear : i), {
144
159
  exit: t,
145
160
  enter: i,
146
161
  appear: u
147
162
  };
148
- }, a.updateStatus = function(n, t) {
149
- if (n === void 0 && (n = !1), t !== null)
150
- if (this.cancelNextCallback(), t === b) {
163
+ }, a.updateStatus = function(o, t) {
164
+ if (o === void 0 && (o = !1), t !== null)
165
+ if (this.cancelNextCallback(), t === y) {
151
166
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
152
167
  var i = this.props.nodeRef ? this.props.nodeRef.current : I.findDOMNode(this);
153
- i && Dt(i);
168
+ i && _t(i);
154
169
  }
155
- this.performEnter(n);
170
+ this.performEnter(o);
156
171
  } else
157
172
  this.performExit();
158
- else this.props.unmountOnExit && this.state.status === y && this.setState({
159
- status: O
173
+ else this.props.unmountOnExit && this.state.status === T && this.setState({
174
+ status: S
160
175
  });
161
- }, a.performEnter = function(n) {
162
- var t = this, i = this.props.enter, u = this.context ? this.context.isMounting : n, l = this.props.nodeRef ? [u] : [I.findDOMNode(this), u], f = l[0], m = l[1], h = this.getTimeouts(), L = u ? h.appear : h.enter;
163
- if (!n && !i || X.disabled) {
176
+ }, a.performEnter = function(o) {
177
+ var t = this, i = this.props.enter, u = this.context ? this.context.isMounting : o, c = this.props.nodeRef ? [u] : [I.findDOMNode(this), u], f = c[0], m = c[1], h = this.getTimeouts(), k = u ? h.appear : h.enter;
178
+ if (!o && !i || X.disabled) {
164
179
  this.safeSetState({
165
- status: S
180
+ status: O
166
181
  }, function() {
167
182
  t.props.onEntered(f);
168
183
  });
169
184
  return;
170
185
  }
171
186
  this.props.onEnter(f, m), this.safeSetState({
172
- status: b
187
+ status: y
173
188
  }, function() {
174
- t.props.onEntering(f, m), t.onTransitionEnd(L, function() {
189
+ t.props.onEntering(f, m), t.onTransitionEnd(k, function() {
175
190
  t.safeSetState({
176
- status: S
191
+ status: O
177
192
  }, function() {
178
193
  t.props.onEntered(f, m);
179
194
  });
180
195
  });
181
196
  });
182
197
  }, a.performExit = function() {
183
- var n = this, t = this.props.exit, i = this.getTimeouts(), u = this.props.nodeRef ? void 0 : I.findDOMNode(this);
198
+ var o = this, t = this.props.exit, i = this.getTimeouts(), u = this.props.nodeRef ? void 0 : I.findDOMNode(this);
184
199
  if (!t || X.disabled) {
185
200
  this.safeSetState({
186
- status: y
201
+ status: T
187
202
  }, function() {
188
- n.props.onExited(u);
203
+ o.props.onExited(u);
189
204
  });
190
205
  return;
191
206
  }
192
207
  this.props.onExit(u), this.safeSetState({
193
- status: A
208
+ status: V
194
209
  }, function() {
195
- n.props.onExiting(u), n.onTransitionEnd(i.exit, function() {
196
- n.safeSetState({
197
- status: y
210
+ o.props.onExiting(u), o.onTransitionEnd(i.exit, function() {
211
+ o.safeSetState({
212
+ status: T
198
213
  }, function() {
199
- n.props.onExited(u);
214
+ o.props.onExited(u);
200
215
  });
201
216
  });
202
217
  });
203
218
  }, a.cancelNextCallback = function() {
204
219
  this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
205
- }, a.safeSetState = function(n, t) {
206
- t = this.setNextCallback(t), this.setState(n, t);
207
- }, a.setNextCallback = function(n) {
220
+ }, a.safeSetState = function(o, t) {
221
+ t = this.setNextCallback(t), this.setState(o, t);
222
+ }, a.setNextCallback = function(o) {
208
223
  var t = this, i = !0;
209
224
  return this.nextCallback = function(u) {
210
- i && (i = !1, t.nextCallback = null, n(u));
225
+ i && (i = !1, t.nextCallback = null, o(u));
211
226
  }, this.nextCallback.cancel = function() {
212
227
  i = !1;
213
228
  }, this.nextCallback;
214
- }, a.onTransitionEnd = function(n, t) {
229
+ }, a.onTransitionEnd = function(o, t) {
215
230
  this.setNextCallback(t);
216
- var i = this.props.nodeRef ? this.props.nodeRef.current : I.findDOMNode(this), u = n == null && !this.props.addEndListener;
231
+ var i = this.props.nodeRef ? this.props.nodeRef.current : I.findDOMNode(this), u = o == null && !this.props.addEndListener;
217
232
  if (!i || u) {
218
233
  setTimeout(this.nextCallback, 0);
219
234
  return;
220
235
  }
221
236
  if (this.props.addEndListener) {
222
- var l = this.props.nodeRef ? [this.nextCallback] : [i, this.nextCallback], f = l[0], m = l[1];
237
+ var c = this.props.nodeRef ? [this.nextCallback] : [i, this.nextCallback], f = c[0], m = c[1];
223
238
  this.props.addEndListener(f, m);
224
239
  }
225
- n != null && setTimeout(this.nextCallback, n);
240
+ o != null && setTimeout(this.nextCallback, o);
226
241
  }, a.render = function() {
227
- var n = this.state.status;
228
- if (n === O)
242
+ var o = this.state.status;
243
+ if (o === S)
229
244
  return null;
230
245
  var t = this.props, i = t.children;
231
246
  t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
@@ -234,7 +249,7 @@ var Dt = function(s) {
234
249
  // allows for nested Transitions
235
250
  /* @__PURE__ */ w.createElement(B.Provider, {
236
251
  value: null
237
- }, typeof i == "function" ? i(n, u) : w.cloneElement(w.Children.only(i), u))
252
+ }, typeof i == "function" ? i(o, u) : w.cloneElement(w.Children.only(i), u))
238
253
  );
239
254
  }, s;
240
255
  }(w.Component);
@@ -252,9 +267,9 @@ E.propTypes = process.env.NODE_ENV !== "production" ? {
252
267
  * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
253
268
  */
254
269
  nodeRef: e.shape({
255
- current: typeof Element > "u" ? e.any : function(r, s, a, o, n, t) {
256
- var i = r[s];
257
- return e.instanceOf(i && "ownerDocument" in i ? i.ownerDocument.defaultView.Element : Element)(r, s, a, o, n, t);
270
+ current: typeof Element > "u" ? e.any : function(n, s, a, r, o, t) {
271
+ var i = n[s];
272
+ return e.instanceOf(i && "ownerDocument" in i ? i.ownerDocument.defaultView.Element : Element)(n, s, a, r, o, t);
258
273
  }
259
274
  }),
260
275
  /**
@@ -335,11 +350,11 @@ E.propTypes = process.env.NODE_ENV !== "production" ? {
335
350
  * @type {number | { enter?: number, exit?: number, appear?: number }}
336
351
  */
337
352
  timeout: function(s) {
338
- var a = Rt;
353
+ var a = kt;
339
354
  s.addEndListener || (a = a.isRequired);
340
- for (var o = arguments.length, n = new Array(o > 1 ? o - 1 : 0), t = 1; t < o; t++)
341
- n[t - 1] = arguments[t];
342
- return a.apply(void 0, [s].concat(n));
355
+ for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), t = 1; t < r; t++)
356
+ o[t - 1] = arguments[t];
357
+ return a.apply(void 0, [s].concat(o));
343
358
  },
344
359
  /**
345
360
  * Add a custom transition end trigger. Called with the transitioning
@@ -408,7 +423,7 @@ E.propTypes = process.env.NODE_ENV !== "production" ? {
408
423
  */
409
424
  onExited: e.func
410
425
  } : {};
411
- function D() {
426
+ function R() {
412
427
  }
413
428
  E.defaultProps = {
414
429
  in: !1,
@@ -417,140 +432,140 @@ E.defaultProps = {
417
432
  appear: !1,
418
433
  enter: !0,
419
434
  exit: !0,
420
- onEnter: D,
421
- onEntering: D,
422
- onEntered: D,
423
- onExit: D,
424
- onExiting: D,
425
- onExited: D
435
+ onEnter: R,
436
+ onEntering: R,
437
+ onEntered: R,
438
+ onExit: R,
439
+ onExiting: R,
440
+ onExited: R
426
441
  };
427
- E.UNMOUNTED = O;
428
- E.EXITED = y;
429
- E.ENTERING = b;
430
- E.ENTERED = S;
431
- E.EXITING = A;
432
- const St = (r) => r.scrollTop;
433
- function z(r, s) {
442
+ E.UNMOUNTED = S;
443
+ E.EXITED = T;
444
+ E.ENTERING = y;
445
+ E.ENTERED = O;
446
+ E.EXITING = V;
447
+ const Lt = (n) => n.scrollTop;
448
+ function z(n, s) {
434
449
  const {
435
450
  timeout: a,
436
- easing: o,
437
- style: n = {}
438
- } = r;
451
+ easing: r,
452
+ style: o = {}
453
+ } = n;
439
454
  return {
440
- duration: n.transitionDuration ?? (typeof a == "number" ? a : a[s.mode] || 0),
441
- easing: n.transitionTimingFunction ?? (typeof o == "object" ? o[s.mode] : o),
442
- delay: n.transitionDelay
455
+ duration: o.transitionDuration ?? (typeof a == "number" ? a : a[s.mode] || 0),
456
+ easing: o.transitionTimingFunction ?? (typeof r == "object" ? r[s.mode] : r),
457
+ delay: o.transitionDelay
443
458
  };
444
459
  }
445
- function V(r) {
446
- return `scale(${r}, ${r ** 2})`;
460
+ function A(n) {
461
+ return `scale(${n}, ${n ** 2})`;
447
462
  }
448
- const Ot = {
463
+ const Mt = {
449
464
  entering: {
450
465
  opacity: 1,
451
- transform: V(1)
466
+ transform: A(1)
452
467
  },
453
468
  entered: {
454
469
  opacity: 1,
455
470
  transform: "none"
456
471
  }
457
- }, M = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), G = /* @__PURE__ */ p.forwardRef(function(s, a) {
472
+ }, M = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), j = /* @__PURE__ */ p.forwardRef(function(s, a) {
458
473
  const {
459
- addEndListener: o,
460
- appear: n = !0,
474
+ addEndListener: r,
475
+ appear: o = !0,
461
476
  children: t,
462
477
  easing: i,
463
478
  in: u,
464
- onEnter: l,
479
+ onEnter: c,
465
480
  onEntered: f,
466
481
  onEntering: m,
467
482
  onExit: h,
468
- onExited: L,
483
+ onExited: k,
469
484
  onExiting: Z,
470
- style: k,
485
+ style: _,
471
486
  timeout: v = "auto",
472
487
  // eslint-disable-next-line react/prop-types
473
488
  TransitionComponent: tt = E,
474
489
  ...et
475
- } = s, nt = mt(), _ = p.useRef(), T = ht(), P = p.useRef(null), it = H(P, Y(t), a), N = (c) => (x) => {
476
- if (c) {
490
+ } = s, nt = mt(), L = p.useRef(), b = It(), P = p.useRef(null), ot = H(P, Y(t), a), N = (l) => (x) => {
491
+ if (l) {
477
492
  const g = P.current;
478
- x === void 0 ? c(g) : c(g, x);
493
+ x === void 0 ? l(g) : l(g, x);
479
494
  }
480
- }, ot = N(m), rt = N((c, x) => {
481
- St(c);
495
+ }, it = N(m), rt = N((l, x) => {
496
+ Lt(l);
482
497
  const {
483
498
  duration: g,
484
499
  delay: C,
485
500
  easing: d
486
501
  } = z({
487
- style: k,
502
+ style: _,
488
503
  timeout: v,
489
504
  easing: i
490
505
  }, {
491
506
  mode: "enter"
492
507
  });
493
- let R;
494
- v === "auto" ? (R = T.transitions.getAutoHeightDuration(c.clientHeight), _.current = R) : R = g, c.style.transition = [T.transitions.create("opacity", {
495
- duration: R,
508
+ let D;
509
+ v === "auto" ? (D = b.transitions.getAutoHeightDuration(l.clientHeight), L.current = D) : D = g, l.style.transition = [b.transitions.create("opacity", {
510
+ duration: D,
496
511
  delay: C
497
- }), T.transitions.create("transform", {
498
- duration: M ? R : R * 0.666,
512
+ }), b.transitions.create("transform", {
513
+ duration: M ? D : D * 0.666,
499
514
  delay: C,
500
515
  easing: d
501
- })].join(","), l && l(c, x);
502
- }), st = N(f), at = N(Z), ut = N((c) => {
516
+ })].join(","), c && c(l, x);
517
+ }), st = N(f), at = N(Z), ut = N((l) => {
503
518
  const {
504
519
  duration: x,
505
520
  delay: g,
506
521
  easing: C
507
522
  } = z({
508
- style: k,
523
+ style: _,
509
524
  timeout: v,
510
525
  easing: i
511
526
  }, {
512
527
  mode: "exit"
513
528
  });
514
529
  let d;
515
- v === "auto" ? (d = T.transitions.getAutoHeightDuration(c.clientHeight), _.current = d) : d = x, c.style.transition = [T.transitions.create("opacity", {
530
+ v === "auto" ? (d = b.transitions.getAutoHeightDuration(l.clientHeight), L.current = d) : d = x, l.style.transition = [b.transitions.create("opacity", {
516
531
  duration: d,
517
532
  delay: g
518
- }), T.transitions.create("transform", {
533
+ }), b.transitions.create("transform", {
519
534
  duration: M ? d : d * 0.666,
520
535
  delay: M ? g : g || d * 0.333,
521
536
  easing: C
522
- })].join(","), c.style.opacity = 0, c.style.transform = V(0.75), h && h(c);
523
- }), lt = N(L);
537
+ })].join(","), l.style.opacity = 0, l.style.transform = A(0.75), h && h(l);
538
+ }), ct = N(k);
524
539
  return /* @__PURE__ */ $(tt, {
525
- appear: n,
540
+ appear: o,
526
541
  in: u,
527
542
  nodeRef: P,
528
543
  onEnter: rt,
529
544
  onEntered: st,
530
- onEntering: ot,
545
+ onEntering: it,
531
546
  onExit: ut,
532
- onExited: lt,
547
+ onExited: ct,
533
548
  onExiting: at,
534
- addEndListener: (c) => {
535
- v === "auto" && nt.start(_.current || 0, c), o && o(P.current, c);
549
+ addEndListener: (l) => {
550
+ v === "auto" && nt.start(L.current || 0, l), r && r(P.current, l);
536
551
  },
537
552
  timeout: v === "auto" ? null : v,
538
553
  ...et,
539
- children: (c, x) => /* @__PURE__ */ p.cloneElement(t, {
554
+ children: (l, x) => /* @__PURE__ */ p.cloneElement(t, {
540
555
  style: {
541
556
  opacity: 0,
542
- transform: V(0.75),
543
- visibility: c === "exited" && !u ? "hidden" : void 0,
544
- ...Ot[c],
545
- ...k,
557
+ transform: A(0.75),
558
+ visibility: l === "exited" && !u ? "hidden" : void 0,
559
+ ...Mt[l],
560
+ ..._,
546
561
  ...t.props.style
547
562
  },
548
- ref: it,
563
+ ref: ot,
549
564
  ...x
550
565
  })
551
566
  });
552
567
  });
553
- process.env.NODE_ENV !== "production" && (G.propTypes = {
568
+ process.env.NODE_ENV !== "production" && (j.propTypes = {
554
569
  // ┌────────────────────────────── Warning ──────────────────────────────┐
555
570
  // │ These PropTypes are generated from the TypeScript type definitions. │
556
571
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -624,39 +639,39 @@ process.env.NODE_ENV !== "production" && (G.propTypes = {
624
639
  exit: e.number
625
640
  })])
626
641
  });
627
- G && (G.muiSupportAuto = !0);
628
- function Pt(r) {
629
- return typeof r == "function" ? r() : r;
642
+ j && (j.muiSupportAuto = !0);
643
+ function $t(n) {
644
+ return typeof n == "function" ? n() : n;
630
645
  }
631
- const F = /* @__PURE__ */ p.forwardRef(function(s, a) {
646
+ const G = /* @__PURE__ */ p.forwardRef(function(s, a) {
632
647
  const {
633
- children: o,
634
- container: n,
648
+ children: r,
649
+ container: o,
635
650
  disablePortal: t = !1
636
- } = s, [i, u] = p.useState(null), l = H(/* @__PURE__ */ p.isValidElement(o) ? Y(o) : null, a);
637
- if (U(() => {
638
- t || u(Pt(n) || document.body);
639
- }, [n, t]), U(() => {
651
+ } = s, [i, u] = p.useState(null), c = H(/* @__PURE__ */ p.isValidElement(r) ? Y(r) : null, a);
652
+ if (F(() => {
653
+ t || u($t(o) || document.body);
654
+ }, [o, t]), F(() => {
640
655
  if (i && !t)
641
- return j(a, i), () => {
642
- j(a, null);
656
+ return U(a, i), () => {
657
+ U(a, null);
643
658
  };
644
659
  }, [a, i, t]), t) {
645
- if (/* @__PURE__ */ p.isValidElement(o)) {
660
+ if (/* @__PURE__ */ p.isValidElement(r)) {
646
661
  const f = {
647
- ref: l
662
+ ref: c
648
663
  };
649
- return /* @__PURE__ */ p.cloneElement(o, f);
664
+ return /* @__PURE__ */ p.cloneElement(r, f);
650
665
  }
651
666
  return /* @__PURE__ */ $(p.Fragment, {
652
- children: o
667
+ children: r
653
668
  });
654
669
  }
655
670
  return /* @__PURE__ */ $(p.Fragment, {
656
- children: i && /* @__PURE__ */ xt.createPortal(o, i)
671
+ children: i && /* @__PURE__ */ Tt.createPortal(r, i)
657
672
  });
658
673
  });
659
- process.env.NODE_ENV !== "production" && (F.propTypes = {
674
+ process.env.NODE_ENV !== "production" && (G.propTypes = {
660
675
  // ┌────────────────────────────── Warning ──────────────────────────────┐
661
676
  // │ These PropTypes are generated from the TypeScript type definitions. │
662
677
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -675,25 +690,28 @@ process.env.NODE_ENV !== "production" && (F.propTypes = {
675
690
  * By default, it uses the body of the top-level document object,
676
691
  * so it's simply `document.body` most of the time.
677
692
  */
678
- container: e.oneOfType([bt, e.func]),
693
+ container: e.oneOfType([Pt, e.func]),
679
694
  /**
680
695
  * The `children` will be under the DOM hierarchy of the parent component.
681
696
  * @default false
682
697
  */
683
698
  disablePortal: e.bool
684
699
  });
685
- process.env.NODE_ENV !== "production" && (F.propTypes = yt(F.propTypes));
700
+ process.env.NODE_ENV !== "production" && (G.propTypes = St(G.propTypes));
686
701
  export {
687
- G,
688
- bt as H,
689
- F as P,
702
+ j as G,
703
+ Pt as H,
704
+ G as P,
690
705
  E as T,
691
- z as a,
692
- yt as b,
693
- Ft as c,
706
+ It as a,
707
+ zt as b,
708
+ z as c,
709
+ Dt as d,
694
710
  Q as e,
711
+ St as f,
695
712
  Y as g,
696
- Vt as o,
697
- St as r,
698
- Gt as u
713
+ Bt as h,
714
+ Xt as o,
715
+ Lt as r,
716
+ bt as u
699
717
  };