@articles-media/articles-dev-box 1.0.16 → 1.0.17

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 (39) hide show
  1. package/README.md +4 -0
  2. package/dist/Ad.cjs +1 -1
  3. package/dist/Ad.js +2 -2
  4. package/dist/{AdConfirmExitModal-CKkMAvBK.js → AdConfirmExitModal-Bhz-lt9w.js} +1 -1
  5. package/dist/{AdConfirmExitModal-CcSxmXKT.cjs → AdConfirmExitModal-N3Lvhb4y.cjs} +1 -1
  6. package/dist/{AdDetailsModal-k840vrS2.cjs → AdDetailsModal-BMj8DjV0.cjs} +1 -1
  7. package/dist/{AdDetailsModal-Bp5hZm9N.js → AdDetailsModal-DXvfmyKK.js} +1 -1
  8. package/dist/DarkModeHandler.cjs +1 -0
  9. package/dist/DarkModeHandler.js +17 -0
  10. package/dist/ElementChildren-DN3RWY2E.js +51 -0
  11. package/dist/ElementChildren-eAwIENLl.cjs +1 -0
  12. package/dist/FriendsList.cjs +1 -1
  13. package/dist/FriendsList.js +1 -1
  14. package/dist/GameScoreboard.cjs +1 -1
  15. package/dist/GameScoreboard.js +2 -2
  16. package/dist/{GlobalBody-tmIC_GWn.js → GlobalBody-BrrtfBBs.js} +2 -2
  17. package/dist/{GlobalBody-BQ2qC81K.cjs → GlobalBody-weON_TbJ.cjs} +1 -1
  18. package/dist/GlobalBody.cjs +1 -1
  19. package/dist/GlobalBody.js +1 -1
  20. package/dist/{Modal-Wmqy9fOm.cjs → Modal-Bdhkgkwr.cjs} +2 -2
  21. package/dist/{Modal-C9oYRgI1.js → Modal-nux8R77F.js} +320 -306
  22. package/dist/SettingsModal.cjs +1 -0
  23. package/dist/SettingsModal.js +658 -0
  24. package/dist/{StatusModal-CAVxWCUq.js → StatusModal-B086BgSW.js} +2 -2
  25. package/dist/{StatusModal-BlwaI-2B.cjs → StatusModal-CzPyqQQA.cjs} +1 -1
  26. package/dist/ViewUserModal.cjs +1 -1
  27. package/dist/ViewUserModal.js +465 -505
  28. package/dist/{index-DLYx67wi.js → index-C8MeSLnR.js} +935 -825
  29. package/dist/index-DWV8myok.cjs +6 -0
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.js +13 -9
  32. package/dist/useUserDetails.cjs +1 -1
  33. package/dist/useUserDetails.js +1 -1
  34. package/dist/useUserFriends.cjs +1 -1
  35. package/dist/useUserFriends.js +1 -1
  36. package/dist/useUserToken.cjs +1 -1
  37. package/dist/useUserToken.js +1 -1
  38. package/package.json +9 -1
  39. package/dist/index-Ddv_TnxK.cjs +0 -6
@@ -1,58 +1,58 @@
1
1
  import { g as Zt, c as Q } from "./index-YnD2EP-S.js";
2
2
  import * as V from "react";
3
- import pe, { useState as be, useRef as B, useEffect as X, useCallback as W, useMemo as Je, useContext as Ae, createContext as Qt, useLayoutEffect as en, cloneElement as Ze, forwardRef as tn, useImperativeHandle as nn } from "react";
3
+ import pe, { useState as be, useRef as W, useEffect as X, useCallback as B, useMemo as Ze, useContext as Te, createContext as Qt, useLayoutEffect as en, cloneElement as Qe, forwardRef as tn, useImperativeHandle as nn } from "react";
4
4
  import ge from "react-dom";
5
5
  import { j as N } from "./jsx-runtime-tc70JA_2.js";
6
- const Te = !!(typeof window < "u" && window.document && window.document.createElement);
7
- var He = !1, Ve = !1;
6
+ const xe = !!(typeof window < "u" && window.document && window.document.createElement);
7
+ var Ve = !1, ze = !1;
8
8
  try {
9
- var De = {
9
+ var ke = {
10
10
  get passive() {
11
- return He = !0;
11
+ return Ve = !0;
12
12
  },
13
13
  get once() {
14
- return Ve = He = !0;
14
+ return ze = Ve = !0;
15
15
  }
16
16
  };
17
- Te && (window.addEventListener("test", De, De), window.removeEventListener("test", De, !0));
17
+ xe && (window.addEventListener("test", ke, ke), window.removeEventListener("test", ke, !0));
18
18
  } catch {
19
19
  }
20
20
  function Mt(e, t, n, r) {
21
- if (r && typeof r != "boolean" && !Ve) {
21
+ if (r && typeof r != "boolean" && !ze) {
22
22
  var i = r.once, o = r.capture, s = n;
23
- !Ve && i && (s = n.__once || function u(d) {
23
+ !ze && i && (s = n.__once || function u(d) {
24
24
  this.removeEventListener(t, u, o), n.call(this, d);
25
- }, n.__once = s), e.addEventListener(t, s, He ? r : o);
25
+ }, n.__once = s), e.addEventListener(t, s, Ve ? r : o);
26
26
  }
27
27
  e.addEventListener(t, n, r);
28
28
  }
29
- function je(e) {
29
+ function Ne(e) {
30
30
  return e && e.ownerDocument || document;
31
31
  }
32
- function ze(e, t, n, r) {
32
+ function Ge(e, t, n, r) {
33
33
  var i = r && typeof r != "boolean" ? r.capture : r;
34
34
  e.removeEventListener(t, n, i), n.__once && e.removeEventListener(t, n.__once, i);
35
35
  }
36
- var we;
36
+ var _e;
37
37
  function ct(e) {
38
- if ((!we && we !== 0 || e) && Te) {
38
+ if ((!_e && _e !== 0 || e) && xe) {
39
39
  var t = document.createElement("div");
40
- t.style.position = "absolute", t.style.top = "-9999px", t.style.width = "50px", t.style.height = "50px", t.style.overflow = "scroll", document.body.appendChild(t), we = t.offsetWidth - t.clientWidth, document.body.removeChild(t);
40
+ t.style.position = "absolute", t.style.top = "-9999px", t.style.width = "50px", t.style.height = "50px", t.style.overflow = "scroll", document.body.appendChild(t), _e = t.offsetWidth - t.clientWidth, document.body.removeChild(t);
41
41
  }
42
- return we;
42
+ return _e;
43
43
  }
44
44
  function rn() {
45
45
  return be(null);
46
46
  }
47
47
  function on(e) {
48
- const t = B(e);
48
+ const t = W(e);
49
49
  return X(() => {
50
50
  t.current = e;
51
51
  }, [e]), t;
52
52
  }
53
- function Ge(e) {
53
+ function Ke(e) {
54
54
  const t = on(e);
55
- return W(function(...n) {
55
+ return B(function(...n) {
56
56
  return t.current && t.current(...n);
57
57
  }, [t]);
58
58
  }
@@ -66,10 +66,10 @@ function an(e, t) {
66
66
  };
67
67
  }
68
68
  function Pt(e, t) {
69
- return Je(() => an(e, t), [e, t]);
69
+ return Ze(() => an(e, t), [e, t]);
70
70
  }
71
71
  function sn(e) {
72
- const t = B(e);
72
+ const t = W(e);
73
73
  return t.current = e, t;
74
74
  }
75
75
  function un(e) {
@@ -77,7 +77,7 @@ function un(e) {
77
77
  X(() => () => t.current(), []);
78
78
  }
79
79
  function cn(e) {
80
- var t = je(e);
80
+ var t = Ne(e);
81
81
  return t && t.defaultView || window;
82
82
  }
83
83
  function ln(e, t) {
@@ -88,7 +88,7 @@ function dn(e) {
88
88
  return e.replace(fn, "-$1").toLowerCase();
89
89
  }
90
90
  var pn = /^ms-/;
91
- function Ce(e) {
91
+ function Me(e) {
92
92
  return dn(e).replace(pn, "-ms-");
93
93
  }
94
94
  var vn = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;
@@ -98,32 +98,32 @@ function hn(e) {
98
98
  function ve(e, t) {
99
99
  var n = "", r = "";
100
100
  if (typeof t == "string")
101
- return e.style.getPropertyValue(Ce(t)) || ln(e).getPropertyValue(Ce(t));
101
+ return e.style.getPropertyValue(Me(t)) || ln(e).getPropertyValue(Me(t));
102
102
  Object.keys(t).forEach(function(i) {
103
103
  var o = t[i];
104
- !o && o !== 0 ? e.style.removeProperty(Ce(i)) : hn(i) ? r += i + "(" + o + ") " : n += Ce(i) + ": " + o + ";";
104
+ !o && o !== 0 ? e.style.removeProperty(Me(i)) : hn(i) ? r += i + "(" + o + ") " : n += Me(i) + ": " + o + ";";
105
105
  }), r && (n += "transform: " + r + ";"), e.style.cssText += ";" + n;
106
106
  }
107
- function Pe(e, t, n, r) {
107
+ function je(e, t, n, r) {
108
108
  return Mt(e, t, n, r), function() {
109
- ze(e, t, n, r);
109
+ Ge(e, t, n, r);
110
110
  };
111
111
  }
112
- function yn(e, t, n, r) {
112
+ function mn(e, t, n, r) {
113
113
  if (r === void 0 && (r = !0), e) {
114
114
  var i = document.createEvent("HTMLEvents");
115
115
  i.initEvent(t, n, r), e.dispatchEvent(i);
116
116
  }
117
117
  }
118
- function mn(e) {
118
+ function yn(e) {
119
119
  var t = ve(e, "transitionDuration") || "", n = t.indexOf("ms") === -1 ? 1e3 : 1;
120
120
  return parseFloat(t) * n;
121
121
  }
122
122
  function En(e, t, n) {
123
123
  n === void 0 && (n = 5);
124
124
  var r = !1, i = setTimeout(function() {
125
- r || yn(e, "transitionend", !0);
126
- }, t + n), o = Pe(e, "transitionend", function() {
125
+ r || mn(e, "transitionend", !0);
126
+ }, t + n), o = je(e, "transitionend", function() {
127
127
  r = !0;
128
128
  }, {
129
129
  once: !0
@@ -133,14 +133,14 @@ function En(e, t, n) {
133
133
  };
134
134
  }
135
135
  function At(e, t, n, r) {
136
- n == null && (n = mn(e) || 0);
137
- var i = En(e, n, r), o = Pe(e, "transitionend", t);
136
+ n == null && (n = yn(e) || 0);
137
+ var i = En(e, n, r), o = je(e, "transitionend", t);
138
138
  return function() {
139
139
  i(), o();
140
140
  };
141
141
  }
142
142
  function Ie(e) {
143
- e === void 0 && (e = je());
143
+ e === void 0 && (e = Ne());
144
144
  try {
145
145
  var t = e.activeElement;
146
146
  return !t || !t.nodeName ? null : t;
@@ -153,13 +153,13 @@ function ft(e, t) {
153
153
  if (e.compareDocumentPosition) return e === t || !!(e.compareDocumentPosition(t) & 16);
154
154
  }
155
155
  function gn() {
156
- const e = B(!0), t = B(() => e.current);
156
+ const e = W(!0), t = W(() => e.current);
157
157
  return X(() => (e.current = !0, () => {
158
158
  e.current = !1;
159
159
  }), []), t.current;
160
160
  }
161
161
  function bn(e) {
162
- const t = B(e);
162
+ const t = W(e);
163
163
  return t.current = e, t;
164
164
  }
165
165
  function Tn(e) {
@@ -167,20 +167,20 @@ function Tn(e) {
167
167
  X(() => () => t.current(), []);
168
168
  }
169
169
  function xn(e) {
170
- const t = B(null);
170
+ const t = W(null);
171
171
  return X(() => {
172
172
  t.current = e;
173
173
  }), t.current;
174
174
  }
175
175
  function Rn(e) {
176
- const t = B(e);
176
+ const t = W(e);
177
177
  return X(() => {
178
178
  t.current = e;
179
179
  }, [e]), t;
180
180
  }
181
181
  function fe(e) {
182
182
  const t = Rn(e);
183
- return W(function(...n) {
183
+ return B(function(...n) {
184
184
  return t.current && t.current(...n);
185
185
  }, [t]);
186
186
  }
@@ -193,7 +193,7 @@ function wn(e = document) {
193
193
  return Math.abs(t.innerWidth - e.documentElement.clientWidth);
194
194
  }
195
195
  const dt = Sn("modal-open");
196
- class Qe {
196
+ class et {
197
197
  constructor({
198
198
  ownerDocument: t,
199
199
  handleContainerOverflow: n = !0,
@@ -242,21 +242,21 @@ class Qe {
242
242
  return !!this.modals.length && this.modals[this.modals.length - 1] === t;
243
243
  }
244
244
  }
245
- const jt = /* @__PURE__ */ Qt(Te ? window : void 0);
245
+ const jt = /* @__PURE__ */ Qt(xe ? window : void 0);
246
246
  jt.Provider;
247
- function et() {
248
- return Ae(jt);
247
+ function tt() {
248
+ return Te(jt);
249
249
  }
250
- const ke = (e, t) => Te ? e == null ? (t || je()).body : (typeof e == "function" && (e = e()), e && "current" in e && (e = e.current), e && ("nodeType" in e || e.getBoundingClientRect) ? e : null) : null;
250
+ const Le = (e, t) => xe ? e == null ? (t || Ne()).body : (typeof e == "function" && (e = e()), e && "current" in e && (e = e.current), e && ("nodeType" in e || e.getBoundingClientRect) ? e : null) : null;
251
251
  function Cn(e, t) {
252
- const n = et(), [r, i] = be(() => ke(e, n?.document));
252
+ const n = tt(), [r, i] = be(() => Le(e, n?.document));
253
253
  if (!r) {
254
- const o = ke(e);
254
+ const o = Le(e);
255
255
  o && i(o);
256
256
  }
257
257
  return X(() => {
258
258
  }, [t, r]), X(() => {
259
- const o = ke(e);
259
+ const o = Le(e);
260
260
  o !== r && i(o);
261
261
  }, [e, r]), r;
262
262
  }
@@ -269,8 +269,8 @@ function _n(e, t) {
269
269
  n && n(i), r && r(i);
270
270
  };
271
271
  }
272
- function tt(e, t) {
273
- return Je(() => _n(e, t), [e, t]);
272
+ function nt(e, t) {
273
+ return Ze(() => _n(e, t), [e, t]);
274
274
  }
275
275
  const Mn = typeof global < "u" && // @ts-ignore
276
276
  global.navigator && // @ts-ignore
@@ -286,7 +286,7 @@ function jn() {
286
286
  patch: +e[2]
287
287
  };
288
288
  }
289
- function Ne(e) {
289
+ function De(e) {
290
290
  if (!e || typeof e == "function")
291
291
  return null;
292
292
  const {
@@ -301,17 +301,17 @@ function Nn({
301
301
  mountOnEnter: r,
302
302
  unmountOnExit: i
303
303
  }) {
304
- const o = B(null), s = B(t), u = fe(n);
304
+ const o = W(null), s = W(t), u = fe(n);
305
305
  X(() => {
306
306
  t ? s.current = !0 : u(o.current);
307
307
  }, [t, u]);
308
- const d = tt(o, Ne(e)), p = /* @__PURE__ */ Ze(e, {
308
+ const d = nt(o, De(e)), p = /* @__PURE__ */ Qe(e, {
309
309
  ref: d
310
310
  });
311
311
  return t ? p : i || !s.current && r ? null : p;
312
312
  }
313
313
  const Dn = ["onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "addEndListener", "children"];
314
- function In(e, t) {
314
+ function kn(e, t) {
315
315
  if (e == null) return {};
316
316
  var n = {};
317
317
  for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -320,7 +320,7 @@ function In(e, t) {
320
320
  }
321
321
  return n;
322
322
  }
323
- function kn(e) {
323
+ function In(e) {
324
324
  let {
325
325
  onEnter: t,
326
326
  onEntering: n,
@@ -330,10 +330,10 @@ function kn(e) {
330
330
  onExited: s,
331
331
  addEndListener: u,
332
332
  children: d
333
- } = e, p = In(e, Dn);
334
- const v = B(null), m = tt(v, Ne(d)), x = (j) => (c) => {
333
+ } = e, p = kn(e, Dn);
334
+ const v = W(null), y = nt(v, De(d)), x = (j) => (c) => {
335
335
  j && v.current && j(v.current, c);
336
- }, _ = W(x(t), [t]), D = W(x(n), [n]), C = W(x(r), [r]), L = W(x(i), [i]), $ = W(x(o), [o]), G = W(x(s), [s]), k = W(x(u), [u]);
336
+ }, _ = B(x(t), [t]), D = B(x(n), [n]), C = B(x(r), [r]), L = B(x(i), [i]), $ = B(x(o), [o]), G = B(x(s), [s]), I = B(x(u), [u]);
337
337
  return Object.assign({}, p, {
338
338
  nodeRef: v
339
339
  }, t && {
@@ -349,15 +349,15 @@ function kn(e) {
349
349
  }, s && {
350
350
  onExited: G
351
351
  }, u && {
352
- addEndListener: k
352
+ addEndListener: I
353
353
  }, {
354
354
  children: typeof d == "function" ? (j, c) => (
355
355
  // TODO: Types for RTG missing innerProps, so need to cast.
356
356
  d(j, Object.assign({}, c, {
357
- ref: m
357
+ ref: y
358
358
  }))
359
- ) : /* @__PURE__ */ Ze(d, {
360
- ref: m
359
+ ) : /* @__PURE__ */ Qe(d, {
360
+ ref: y
361
361
  })
362
362
  });
363
363
  }
@@ -375,16 +375,16 @@ const Fn = /* @__PURE__ */ V.forwardRef((e, t) => {
375
375
  let {
376
376
  component: n
377
377
  } = e, r = $n(e, Ln);
378
- const i = kn(r);
378
+ const i = In(r);
379
379
  return /* @__PURE__ */ N.jsx(n, Object.assign({
380
380
  ref: t
381
381
  }, i));
382
382
  });
383
- function Wn({
383
+ function Bn({
384
384
  in: e,
385
385
  onTransition: t
386
386
  }) {
387
- const n = B(null), r = B(!0), i = fe(t);
387
+ const n = W(null), r = W(!0), i = fe(t);
388
388
  return vt(() => {
389
389
  if (!n.current)
390
390
  return;
@@ -401,7 +401,7 @@ function Wn({
401
401
  r.current = !0;
402
402
  }), []), n;
403
403
  }
404
- function Bn({
404
+ function Wn({
405
405
  children: e,
406
406
  in: t,
407
407
  onExited: n,
@@ -410,25 +410,25 @@ function Bn({
410
410
  }) {
411
411
  const [o, s] = be(!t);
412
412
  t && o && s(!1);
413
- const u = Wn({
413
+ const u = Bn({
414
414
  in: !!t,
415
415
  onTransition: (p) => {
416
416
  const v = () => {
417
417
  p.isStale() || (p.in ? r?.(p.element, p.initial) : (s(!0), n?.(p.element)));
418
418
  };
419
- Promise.resolve(i(p)).then(v, (m) => {
420
- throw p.in || s(!0), m;
419
+ Promise.resolve(i(p)).then(v, (y) => {
420
+ throw p.in || s(!0), y;
421
421
  });
422
422
  }
423
- }), d = tt(u, Ne(e));
424
- return o && !t ? null : /* @__PURE__ */ Ze(e, {
423
+ }), d = nt(u, De(e));
424
+ return o && !t ? null : /* @__PURE__ */ Qe(e, {
425
425
  ref: d
426
426
  });
427
427
  }
428
428
  function ht(e, t, n) {
429
429
  return e ? /* @__PURE__ */ N.jsx(Fn, Object.assign({}, n, {
430
430
  component: e
431
- })) : t ? /* @__PURE__ */ N.jsx(Bn, Object.assign({}, n, {
431
+ })) : t ? /* @__PURE__ */ N.jsx(Wn, Object.assign({}, n, {
432
432
  transition: t
433
433
  })) : /* @__PURE__ */ N.jsx(Nn, Object.assign({}, n));
434
434
  }
@@ -442,14 +442,14 @@ function qn(e, t) {
442
442
  }
443
443
  return n;
444
444
  }
445
- let Le;
445
+ let $e;
446
446
  function Yn(e) {
447
- return Le || (Le = new Qe({
447
+ return $e || ($e = new et({
448
448
  ownerDocument: e?.document
449
- })), Le;
449
+ })), $e;
450
450
  }
451
451
  function Hn(e) {
452
- const t = et(), n = e || Yn(t), r = B({
452
+ const t = tt(), n = e || Yn(t), r = W({
453
453
  dialog: null,
454
454
  backdrop: null
455
455
  });
@@ -457,10 +457,10 @@ function Hn(e) {
457
457
  add: () => n.add(r.current),
458
458
  remove: () => n.remove(r.current),
459
459
  isTopModal: () => n.isTopModal(r.current),
460
- setDialogRef: W((i) => {
460
+ setDialogRef: B((i) => {
461
461
  r.current.dialog = i;
462
462
  }, []),
463
- setBackdropRef: W((i) => {
463
+ setBackdropRef: B((i) => {
464
464
  r.current.backdrop = i;
465
465
  }, [])
466
466
  });
@@ -476,7 +476,7 @@ const Nt = /* @__PURE__ */ tn((e, t) => {
476
476
  keyboard: d = !0,
477
477
  onBackdropClick: p,
478
478
  onEscapeKeyDown: v,
479
- transition: m,
479
+ transition: y,
480
480
  runTransition: x,
481
481
  backdropTransition: _,
482
482
  runBackdropTransition: D,
@@ -484,8 +484,8 @@ const Nt = /* @__PURE__ */ tn((e, t) => {
484
484
  enforceFocus: L = !0,
485
485
  restoreFocus: $ = !0,
486
486
  restoreFocusOptions: G,
487
- renderDialog: k,
488
- renderBackdrop: j = (I) => /* @__PURE__ */ N.jsx("div", Object.assign({}, I)),
487
+ renderDialog: I,
488
+ renderBackdrop: j = (k) => /* @__PURE__ */ N.jsx("div", Object.assign({}, k)),
489
489
  manager: c,
490
490
  container: Y,
491
491
  onShow: K,
@@ -498,10 +498,10 @@ const Nt = /* @__PURE__ */ tn((e, t) => {
498
498
  onEntering: ie,
499
499
  onEntered: J
500
500
  } = e, ue = qn(e, Un);
501
- const U = et(), z = Cn(Y), F = Hn(c), ce = gn(), a = xn(n), [f, E] = be(!n), y = B(null);
502
- nn(t, () => F, [F]), Te && !a && n && (y.current = Ie(U?.document)), n && f && E(!1);
501
+ const U = tt(), z = Cn(Y), F = Hn(c), ce = gn(), a = xn(n), [f, E] = be(!n), m = W(null);
502
+ nn(t, () => F, [F]), xe && !a && n && (m.current = Ie(U?.document)), n && f && E(!1);
503
503
  const h = fe(() => {
504
- if (F.add(), R.current = Pe(document, "keydown", S), w.current = Pe(
504
+ if (F.add(), R.current = je(document, "keydown", S), w.current = je(
505
505
  document,
506
506
  "focus",
507
507
  // the timeout is necessary b/c this will run before the new modal is mounted
@@ -509,14 +509,14 @@ const Nt = /* @__PURE__ */ tn((e, t) => {
509
509
  () => setTimeout(g),
510
510
  !0
511
511
  ), K && K(), C) {
512
- var I, Se;
513
- const Re = Ie((I = (Se = F.dialog) == null ? void 0 : Se.ownerDocument) != null ? I : U?.document);
514
- F.dialog && Re && !ft(F.dialog, Re) && (y.current = Re, F.dialog.focus());
512
+ var k, Ce;
513
+ const Oe = Ie((k = (Ce = F.dialog) == null ? void 0 : Ce.ownerDocument) != null ? k : U?.document);
514
+ F.dialog && Oe && !ft(F.dialog, Oe) && (m.current = Oe, F.dialog.focus());
515
515
  }
516
516
  }), O = fe(() => {
517
517
  if (F.remove(), R.current == null || R.current(), w.current == null || w.current(), $) {
518
- var I;
519
- (I = y.current) == null || I.focus == null || I.focus(G), y.current = null;
518
+ var k;
519
+ (k = m.current) == null || k.focus == null || k.focus(G), m.current = null;
520
520
  }
521
521
  });
522
522
  X(() => {
@@ -534,14 +534,14 @@ const Nt = /* @__PURE__ */ tn((e, t) => {
534
534
  const g = fe(() => {
535
535
  if (!L || !ce() || !F.isTopModal())
536
536
  return;
537
- const I = Ie(U?.document);
538
- F.dialog && I && !ft(F.dialog, I) && F.dialog.focus();
539
- }), b = fe((I) => {
540
- I.target === I.currentTarget && (p?.(I), u === !0 && ee());
541
- }), S = fe((I) => {
542
- d && An(I) && F.isTopModal() && (v?.(I), I.defaultPrevented || ee());
543
- }), w = B(), R = B(), q = (...I) => {
544
- E(!0), te?.(...I);
537
+ const k = Ie(U?.document);
538
+ F.dialog && k && !ft(F.dialog, k) && F.dialog.focus();
539
+ }), b = fe((k) => {
540
+ k.target === k.currentTarget && (p?.(k), u === !0 && ee());
541
+ }), S = fe((k) => {
542
+ d && An(k) && F.isTopModal() && (v?.(k), k.defaultPrevented || ee());
543
+ }), w = W(), R = W(), q = (...k) => {
544
+ E(!0), te?.(...k);
545
545
  };
546
546
  if (!z)
547
547
  return null;
@@ -555,12 +555,12 @@ const Nt = /* @__PURE__ */ tn((e, t) => {
555
555
  className: i,
556
556
  tabIndex: -1
557
557
  });
558
- let H = k ? k(l) : /* @__PURE__ */ N.jsx("div", Object.assign({}, l, {
558
+ let H = I ? I(l) : /* @__PURE__ */ N.jsx("div", Object.assign({}, l, {
559
559
  children: /* @__PURE__ */ V.cloneElement(s, {
560
560
  role: "document"
561
561
  })
562
562
  }));
563
- H = ht(m, x, {
563
+ H = ht(y, x, {
564
564
  unmountOnExit: !0,
565
565
  mountOnEnter: !0,
566
566
  appear: !0,
@@ -591,7 +591,7 @@ const Nt = /* @__PURE__ */ tn((e, t) => {
591
591
  });
592
592
  Nt.displayName = "Modal";
593
593
  const Vn = Object.assign(Nt, {
594
- Manager: Qe
594
+ Manager: et
595
595
  });
596
596
  function zn(e, t) {
597
597
  return e.classList ? !!t && e.classList.contains(t) : (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + t + " ") !== -1;
@@ -600,21 +600,21 @@ function Gn(e, t) {
600
600
  e.classList ? e.classList.add(t) : zn(e, t) || (typeof e.className == "string" ? e.className = e.className + " " + t : e.setAttribute("class", (e.className && e.className.baseVal || "") + " " + t));
601
601
  }
602
602
  var Kn = Function.prototype.bind.call(Function.prototype.call, [].slice);
603
- function ye(e, t) {
603
+ function me(e, t) {
604
604
  return Kn(e.querySelectorAll(t));
605
605
  }
606
- function yt(e, t) {
606
+ function mt(e, t) {
607
607
  return e.replace(new RegExp("(^|\\s)" + t + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
608
608
  }
609
609
  function Xn(e, t) {
610
- e.classList ? e.classList.remove(t) : typeof e.className == "string" ? e.className = yt(e.className, t) : e.setAttribute("class", yt(e.className && e.className.baseVal || "", t));
610
+ e.classList ? e.classList.remove(t) : typeof e.className == "string" ? e.className = mt(e.className, t) : e.setAttribute("class", mt(e.className && e.className.baseVal || "", t));
611
611
  }
612
- const me = {
612
+ const ye = {
613
613
  FIXED_CONTENT: ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",
614
614
  STICKY_CONTENT: ".sticky-top",
615
615
  NAVBAR_TOGGLER: ".navbar-toggler"
616
616
  };
617
- class Jn extends Qe {
617
+ class Jn extends et {
618
618
  adjustAndStore(t, n, r) {
619
619
  const i = n.style[t];
620
620
  n.dataset[t] = i, ve(n, {
@@ -632,19 +632,19 @@ class Jn extends Qe {
632
632
  const n = this.getElement();
633
633
  if (Gn(n, "modal-open"), !t.scrollBarWidth) return;
634
634
  const r = this.isRTL ? "paddingLeft" : "paddingRight", i = this.isRTL ? "marginLeft" : "marginRight";
635
- ye(n, me.FIXED_CONTENT).forEach((o) => this.adjustAndStore(r, o, t.scrollBarWidth)), ye(n, me.STICKY_CONTENT).forEach((o) => this.adjustAndStore(i, o, -t.scrollBarWidth)), ye(n, me.NAVBAR_TOGGLER).forEach((o) => this.adjustAndStore(i, o, t.scrollBarWidth));
635
+ me(n, ye.FIXED_CONTENT).forEach((o) => this.adjustAndStore(r, o, t.scrollBarWidth)), me(n, ye.STICKY_CONTENT).forEach((o) => this.adjustAndStore(i, o, -t.scrollBarWidth)), me(n, ye.NAVBAR_TOGGLER).forEach((o) => this.adjustAndStore(i, o, t.scrollBarWidth));
636
636
  }
637
637
  removeContainerStyle(t) {
638
638
  super.removeContainerStyle(t);
639
639
  const n = this.getElement();
640
640
  Xn(n, "modal-open");
641
641
  const r = this.isRTL ? "paddingLeft" : "paddingRight", i = this.isRTL ? "marginLeft" : "marginRight";
642
- ye(n, me.FIXED_CONTENT).forEach((o) => this.restore(r, o)), ye(n, me.STICKY_CONTENT).forEach((o) => this.restore(i, o)), ye(n, me.NAVBAR_TOGGLER).forEach((o) => this.restore(i, o));
642
+ me(n, ye.FIXED_CONTENT).forEach((o) => this.restore(r, o)), me(n, ye.STICKY_CONTENT).forEach((o) => this.restore(i, o)), me(n, ye.NAVBAR_TOGGLER).forEach((o) => this.restore(i, o));
643
643
  }
644
644
  }
645
- let $e;
645
+ let Fe;
646
646
  function Zn(e) {
647
- return $e || ($e = new Jn(e)), $e;
647
+ return Fe || (Fe = new Jn(e)), Fe;
648
648
  }
649
649
  function Qn(e, t) {
650
650
  if (e == null) return {};
@@ -655,21 +655,21 @@ function Qn(e, t) {
655
655
  }
656
656
  return n;
657
657
  }
658
- function Ke(e, t) {
659
- return Ke = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
658
+ function Xe(e, t) {
659
+ return Xe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
660
660
  return n.__proto__ = r, n;
661
- }, Ke(e, t);
661
+ }, Xe(e, t);
662
662
  }
663
663
  function er(e, t) {
664
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Ke(e, t);
664
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Xe(e, t);
665
665
  }
666
- var _e = { exports: {} }, Me = { exports: {} }, P = {};
667
- var mt;
666
+ var Pe = { exports: {} }, Ae = { exports: {} }, P = {};
667
+ var yt;
668
668
  function tr() {
669
- if (mt) return P;
670
- mt = 1;
671
- var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, p = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, v = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, m = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, x = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, D = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, C = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, L = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, $ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, G = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
672
- function k(c) {
669
+ if (yt) return P;
670
+ yt = 1;
671
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, p = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, v = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, y = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, x = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, D = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, C = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, L = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, $ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, G = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
672
+ function I(c) {
673
673
  if (typeof c == "object" && c !== null) {
674
674
  var Y = c.$$typeof;
675
675
  switch (Y) {
@@ -680,7 +680,7 @@ function tr() {
680
680
  case r:
681
681
  case o:
682
682
  case i:
683
- case m:
683
+ case y:
684
684
  return c;
685
685
  default:
686
686
  switch (c = c && c.$$typeof, c) {
@@ -700,44 +700,44 @@ function tr() {
700
700
  }
701
701
  }
702
702
  function j(c) {
703
- return k(c) === p;
703
+ return I(c) === p;
704
704
  }
705
- return P.AsyncMode = d, P.ConcurrentMode = p, P.ContextConsumer = u, P.ContextProvider = s, P.Element = t, P.ForwardRef = v, P.Fragment = r, P.Lazy = D, P.Memo = _, P.Portal = n, P.Profiler = o, P.StrictMode = i, P.Suspense = m, P.isAsyncMode = function(c) {
706
- return j(c) || k(c) === d;
705
+ return P.AsyncMode = d, P.ConcurrentMode = p, P.ContextConsumer = u, P.ContextProvider = s, P.Element = t, P.ForwardRef = v, P.Fragment = r, P.Lazy = D, P.Memo = _, P.Portal = n, P.Profiler = o, P.StrictMode = i, P.Suspense = y, P.isAsyncMode = function(c) {
706
+ return j(c) || I(c) === d;
707
707
  }, P.isConcurrentMode = j, P.isContextConsumer = function(c) {
708
- return k(c) === u;
708
+ return I(c) === u;
709
709
  }, P.isContextProvider = function(c) {
710
- return k(c) === s;
710
+ return I(c) === s;
711
711
  }, P.isElement = function(c) {
712
712
  return typeof c == "object" && c !== null && c.$$typeof === t;
713
713
  }, P.isForwardRef = function(c) {
714
- return k(c) === v;
714
+ return I(c) === v;
715
715
  }, P.isFragment = function(c) {
716
- return k(c) === r;
716
+ return I(c) === r;
717
717
  }, P.isLazy = function(c) {
718
- return k(c) === D;
718
+ return I(c) === D;
719
719
  }, P.isMemo = function(c) {
720
- return k(c) === _;
720
+ return I(c) === _;
721
721
  }, P.isPortal = function(c) {
722
- return k(c) === n;
722
+ return I(c) === n;
723
723
  }, P.isProfiler = function(c) {
724
- return k(c) === o;
724
+ return I(c) === o;
725
725
  }, P.isStrictMode = function(c) {
726
- return k(c) === i;
726
+ return I(c) === i;
727
727
  }, P.isSuspense = function(c) {
728
- return k(c) === m;
728
+ return I(c) === y;
729
729
  }, P.isValidElementType = function(c) {
730
- return typeof c == "string" || typeof c == "function" || c === r || c === p || c === o || c === i || c === m || c === x || typeof c == "object" && c !== null && (c.$$typeof === D || c.$$typeof === _ || c.$$typeof === s || c.$$typeof === u || c.$$typeof === v || c.$$typeof === L || c.$$typeof === $ || c.$$typeof === G || c.$$typeof === C);
731
- }, P.typeOf = k, P;
730
+ return typeof c == "string" || typeof c == "function" || c === r || c === p || c === o || c === i || c === y || c === x || typeof c == "object" && c !== null && (c.$$typeof === D || c.$$typeof === _ || c.$$typeof === s || c.$$typeof === u || c.$$typeof === v || c.$$typeof === L || c.$$typeof === $ || c.$$typeof === G || c.$$typeof === C);
731
+ }, P.typeOf = I, P;
732
732
  }
733
733
  var A = {};
734
734
  var Et;
735
735
  function nr() {
736
736
  return Et || (Et = 1, process.env.NODE_ENV !== "production" && (function() {
737
- var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, p = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, v = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, m = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, x = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, D = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, C = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, L = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, $ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, G = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
738
- function k(l) {
737
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, p = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, v = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, y = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, x = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, D = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, C = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, L = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, $ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, G = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
738
+ function I(l) {
739
739
  return typeof l == "string" || typeof l == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
740
- l === r || l === p || l === o || l === i || l === m || l === x || typeof l == "object" && l !== null && (l.$$typeof === D || l.$$typeof === _ || l.$$typeof === s || l.$$typeof === u || l.$$typeof === v || l.$$typeof === L || l.$$typeof === $ || l.$$typeof === G || l.$$typeof === C);
740
+ l === r || l === p || l === o || l === i || l === y || l === x || typeof l == "object" && l !== null && (l.$$typeof === D || l.$$typeof === _ || l.$$typeof === s || l.$$typeof === u || l.$$typeof === v || l.$$typeof === L || l.$$typeof === $ || l.$$typeof === G || l.$$typeof === C);
741
741
  }
742
742
  function j(l) {
743
743
  if (typeof l == "object" && l !== null) {
@@ -751,17 +751,17 @@ function nr() {
751
751
  case r:
752
752
  case o:
753
753
  case i:
754
- case m:
754
+ case y:
755
755
  return Z;
756
756
  default:
757
- var I = Z && Z.$$typeof;
758
- switch (I) {
757
+ var k = Z && Z.$$typeof;
758
+ switch (k) {
759
759
  case u:
760
760
  case v:
761
761
  case D:
762
762
  case _:
763
763
  case s:
764
- return I;
764
+ return k;
765
765
  default:
766
766
  return H;
767
767
  }
@@ -771,7 +771,7 @@ function nr() {
771
771
  }
772
772
  }
773
773
  }
774
- var c = d, Y = p, K = u, ee = s, se = t, te = v, ne = r, oe = D, ie = _, J = n, ue = o, U = i, z = m, F = !1;
774
+ var c = d, Y = p, K = u, ee = s, se = t, te = v, ne = r, oe = D, ie = _, J = n, ue = o, U = i, z = y, F = !1;
775
775
  function ce(l) {
776
776
  return F || (F = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), a(l) || j(l) === d;
777
777
  }
@@ -784,7 +784,7 @@ function nr() {
784
784
  function E(l) {
785
785
  return j(l) === s;
786
786
  }
787
- function y(l) {
787
+ function m(l) {
788
788
  return typeof l == "object" && l !== null && l.$$typeof === t;
789
789
  }
790
790
  function h(l) {
@@ -809,18 +809,18 @@ function nr() {
809
809
  return j(l) === i;
810
810
  }
811
811
  function q(l) {
812
- return j(l) === m;
812
+ return j(l) === y;
813
813
  }
814
- A.AsyncMode = c, A.ConcurrentMode = Y, A.ContextConsumer = K, A.ContextProvider = ee, A.Element = se, A.ForwardRef = te, A.Fragment = ne, A.Lazy = oe, A.Memo = ie, A.Portal = J, A.Profiler = ue, A.StrictMode = U, A.Suspense = z, A.isAsyncMode = ce, A.isConcurrentMode = a, A.isContextConsumer = f, A.isContextProvider = E, A.isElement = y, A.isForwardRef = h, A.isFragment = O, A.isLazy = g, A.isMemo = b, A.isPortal = S, A.isProfiler = w, A.isStrictMode = R, A.isSuspense = q, A.isValidElementType = k, A.typeOf = j;
814
+ A.AsyncMode = c, A.ConcurrentMode = Y, A.ContextConsumer = K, A.ContextProvider = ee, A.Element = se, A.ForwardRef = te, A.Fragment = ne, A.Lazy = oe, A.Memo = ie, A.Portal = J, A.Profiler = ue, A.StrictMode = U, A.Suspense = z, A.isAsyncMode = ce, A.isConcurrentMode = a, A.isContextConsumer = f, A.isContextProvider = E, A.isElement = m, A.isForwardRef = h, A.isFragment = O, A.isLazy = g, A.isMemo = b, A.isPortal = S, A.isProfiler = w, A.isStrictMode = R, A.isSuspense = q, A.isValidElementType = I, A.typeOf = j;
815
815
  })()), A;
816
816
  }
817
817
  var gt;
818
818
  function Dt() {
819
- return gt || (gt = 1, process.env.NODE_ENV === "production" ? Me.exports = tr() : Me.exports = nr()), Me.exports;
819
+ return gt || (gt = 1, process.env.NODE_ENV === "production" ? Ae.exports = tr() : Ae.exports = nr()), Ae.exports;
820
820
  }
821
- var Fe, bt;
821
+ var Be, bt;
822
822
  function rr() {
823
- if (bt) return Fe;
823
+ if (bt) return Be;
824
824
  bt = 1;
825
825
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
826
826
  function r(o) {
@@ -850,11 +850,11 @@ function rr() {
850
850
  return !1;
851
851
  }
852
852
  }
853
- return Fe = i() ? Object.assign : function(o, s) {
853
+ return Be = i() ? Object.assign : function(o, s) {
854
854
  for (var u, d = r(o), p, v = 1; v < arguments.length; v++) {
855
855
  u = Object(arguments[v]);
856
- for (var m in u)
857
- t.call(u, m) && (d[m] = u[m]);
856
+ for (var y in u)
857
+ t.call(u, y) && (d[y] = u[y]);
858
858
  if (e) {
859
859
  p = e(u);
860
860
  for (var x = 0; x < p.length; x++)
@@ -862,27 +862,27 @@ function rr() {
862
862
  }
863
863
  }
864
864
  return d;
865
- }, Fe;
865
+ }, Be;
866
866
  }
867
867
  var We, Tt;
868
- function nt() {
868
+ function rt() {
869
869
  if (Tt) return We;
870
870
  Tt = 1;
871
871
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
872
872
  return We = e, We;
873
873
  }
874
- var Be, xt;
875
- function It() {
876
- return xt || (xt = 1, Be = Function.call.bind(Object.prototype.hasOwnProperty)), Be;
874
+ var Ue, xt;
875
+ function kt() {
876
+ return xt || (xt = 1, Ue = Function.call.bind(Object.prototype.hasOwnProperty)), Ue;
877
877
  }
878
- var Ue, Rt;
878
+ var qe, Rt;
879
879
  function or() {
880
- if (Rt) return Ue;
880
+ if (Rt) return qe;
881
881
  Rt = 1;
882
882
  var e = function() {
883
883
  };
884
884
  if (process.env.NODE_ENV !== "production") {
885
- var t = /* @__PURE__ */ nt(), n = {}, r = /* @__PURE__ */ It();
885
+ var t = /* @__PURE__ */ rt(), n = {}, r = /* @__PURE__ */ kt();
886
886
  e = function(o) {
887
887
  var s = "Warning: " + o;
888
888
  typeof console < "u" && console.error(s);
@@ -896,7 +896,7 @@ function or() {
896
896
  if (process.env.NODE_ENV !== "production") {
897
897
  for (var v in o)
898
898
  if (r(o, v)) {
899
- var m;
899
+ var y;
900
900
  try {
901
901
  if (typeof o[v] != "function") {
902
902
  var x = Error(
@@ -904,17 +904,17 @@ function or() {
904
904
  );
905
905
  throw x.name = "Invariant Violation", x;
906
906
  }
907
- m = o[v](s, v, d, u, null, t);
907
+ y = o[v](s, v, d, u, null, t);
908
908
  } catch (D) {
909
- m = D;
909
+ y = D;
910
910
  }
911
- if (m && !(m instanceof Error) && e(
912
- (d || "React class") + ": type specification of " + u + " `" + v + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
913
- ), m instanceof Error && !(m.message in n)) {
914
- n[m.message] = !0;
911
+ if (y && !(y instanceof Error) && e(
912
+ (d || "React class") + ": type specification of " + u + " `" + v + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof y + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
913
+ ), y instanceof Error && !(y.message in n)) {
914
+ n[y.message] = !0;
915
915
  var _ = p ? p() : "";
916
916
  e(
917
- "Failed " + u + " type: " + m.message + (_ ?? "")
917
+ "Failed " + u + " type: " + y.message + (_ ?? "")
918
918
  );
919
919
  }
920
920
  }
@@ -922,13 +922,13 @@ function or() {
922
922
  }
923
923
  return i.resetWarningCache = function() {
924
924
  process.env.NODE_ENV !== "production" && (n = {});
925
- }, Ue = i, Ue;
925
+ }, qe = i, qe;
926
926
  }
927
- var qe, Ot;
927
+ var Ye, Ot;
928
928
  function ir() {
929
- if (Ot) return qe;
929
+ if (Ot) return Ye;
930
930
  Ot = 1;
931
- var e = Dt(), t = rr(), n = /* @__PURE__ */ nt(), r = /* @__PURE__ */ It(), i = /* @__PURE__ */ or(), o = function() {
931
+ var e = Dt(), t = rr(), n = /* @__PURE__ */ rt(), r = /* @__PURE__ */ kt(), i = /* @__PURE__ */ or(), o = function() {
932
932
  };
933
933
  process.env.NODE_ENV !== "production" && (o = function(u) {
934
934
  var d = "Warning: " + u;
@@ -941,9 +941,9 @@ function ir() {
941
941
  function s() {
942
942
  return null;
943
943
  }
944
- return qe = function(u, d) {
944
+ return Ye = function(u, d) {
945
945
  var p = typeof Symbol == "function" && Symbol.iterator, v = "@@iterator";
946
- function m(a) {
946
+ function y(a) {
947
947
  var f = a && (p && a[p] || a[v]);
948
948
  if (typeof f == "function")
949
949
  return f;
@@ -958,7 +958,7 @@ function ir() {
958
958
  string: $("string"),
959
959
  symbol: $("symbol"),
960
960
  any: G(),
961
- arrayOf: k,
961
+ arrayOf: I,
962
962
  element: j(),
963
963
  elementType: c(),
964
964
  instanceOf: Y,
@@ -979,7 +979,7 @@ function ir() {
979
979
  function L(a) {
980
980
  if (process.env.NODE_ENV !== "production")
981
981
  var f = {}, E = 0;
982
- function y(O, g, b, S, w, R, q) {
982
+ function m(O, g, b, S, w, R, q) {
983
983
  if (S = S || x, R = R || b, q !== n) {
984
984
  if (d) {
985
985
  var l = new Error(
@@ -996,12 +996,12 @@ function ir() {
996
996
  }
997
997
  return g[b] == null ? O ? g[b] === null ? new C("The " + w + " `" + R + "` is marked as required " + ("in `" + S + "`, but its value is `null`.")) : new C("The " + w + " `" + R + "` is marked as required in " + ("`" + S + "`, but its value is `undefined`.")) : null : a(g, b, S, w, R);
998
998
  }
999
- var h = y.bind(null, !1);
1000
- return h.isRequired = y.bind(null, !0), h;
999
+ var h = m.bind(null, !1);
1000
+ return h.isRequired = m.bind(null, !0), h;
1001
1001
  }
1002
1002
  function $(a) {
1003
- function f(E, y, h, O, g, b) {
1004
- var S = E[y], w = U(S);
1003
+ function f(E, m, h, O, g, b) {
1004
+ var S = E[m], w = U(S);
1005
1005
  if (w !== a) {
1006
1006
  var R = z(S);
1007
1007
  return new C(
@@ -1016,11 +1016,11 @@ function ir() {
1016
1016
  function G() {
1017
1017
  return L(s);
1018
1018
  }
1019
- function k(a) {
1020
- function f(E, y, h, O, g) {
1019
+ function I(a) {
1020
+ function f(E, m, h, O, g) {
1021
1021
  if (typeof a != "function")
1022
1022
  return new C("Property `" + g + "` of component `" + h + "` has invalid PropType notation inside arrayOf.");
1023
- var b = E[y];
1023
+ var b = E[m];
1024
1024
  if (!Array.isArray(b)) {
1025
1025
  var S = U(b);
1026
1026
  return new C("Invalid " + O + " `" + g + "` of type " + ("`" + S + "` supplied to `" + h + "`, expected an array."));
@@ -1035,31 +1035,31 @@ function ir() {
1035
1035
  return L(f);
1036
1036
  }
1037
1037
  function j() {
1038
- function a(f, E, y, h, O) {
1038
+ function a(f, E, m, h, O) {
1039
1039
  var g = f[E];
1040
1040
  if (!u(g)) {
1041
1041
  var b = U(g);
1042
- return new C("Invalid " + h + " `" + O + "` of type " + ("`" + b + "` supplied to `" + y + "`, expected a single ReactElement."));
1042
+ return new C("Invalid " + h + " `" + O + "` of type " + ("`" + b + "` supplied to `" + m + "`, expected a single ReactElement."));
1043
1043
  }
1044
1044
  return null;
1045
1045
  }
1046
1046
  return L(a);
1047
1047
  }
1048
1048
  function c() {
1049
- function a(f, E, y, h, O) {
1049
+ function a(f, E, m, h, O) {
1050
1050
  var g = f[E];
1051
1051
  if (!e.isValidElementType(g)) {
1052
1052
  var b = U(g);
1053
- return new C("Invalid " + h + " `" + O + "` of type " + ("`" + b + "` supplied to `" + y + "`, expected a single ReactElement type."));
1053
+ return new C("Invalid " + h + " `" + O + "` of type " + ("`" + b + "` supplied to `" + m + "`, expected a single ReactElement type."));
1054
1054
  }
1055
1055
  return null;
1056
1056
  }
1057
1057
  return L(a);
1058
1058
  }
1059
1059
  function Y(a) {
1060
- function f(E, y, h, O, g) {
1061
- if (!(E[y] instanceof a)) {
1062
- var b = a.name || x, S = ce(E[y]);
1060
+ function f(E, m, h, O, g) {
1061
+ if (!(E[m] instanceof a)) {
1062
+ var b = a.name || x, S = ce(E[m]);
1063
1063
  return new C("Invalid " + O + " `" + g + "` of type " + ("`" + S + "` supplied to `" + h + "`, expected ") + ("instance of `" + b + "`."));
1064
1064
  }
1065
1065
  return null;
@@ -1071,8 +1071,8 @@ function ir() {
1071
1071
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
1072
1072
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1073
1073
  ) : o("Invalid argument supplied to oneOf, expected an array.")), s;
1074
- function f(E, y, h, O, g) {
1075
- for (var b = E[y], S = 0; S < a.length; S++)
1074
+ function f(E, m, h, O, g) {
1075
+ for (var b = E[m], S = 0; S < a.length; S++)
1076
1076
  if (D(b, a[S]))
1077
1077
  return null;
1078
1078
  var w = JSON.stringify(a, function(q, l) {
@@ -1084,10 +1084,10 @@ function ir() {
1084
1084
  return L(f);
1085
1085
  }
1086
1086
  function ee(a) {
1087
- function f(E, y, h, O, g) {
1087
+ function f(E, m, h, O, g) {
1088
1088
  if (typeof a != "function")
1089
1089
  return new C("Property `" + g + "` of component `" + h + "` has invalid PropType notation inside objectOf.");
1090
- var b = E[y], S = U(b);
1090
+ var b = E[m], S = U(b);
1091
1091
  if (S !== "object")
1092
1092
  return new C("Invalid " + O + " `" + g + "` of type " + ("`" + S + "` supplied to `" + h + "`, expected an object."));
1093
1093
  for (var w in b)
@@ -1110,7 +1110,7 @@ function ir() {
1110
1110
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + F(E) + " at index " + f + "."
1111
1111
  ), s;
1112
1112
  }
1113
- function y(h, O, g, b, S) {
1113
+ function m(h, O, g, b, S) {
1114
1114
  for (var w = [], R = 0; R < a.length; R++) {
1115
1115
  var q = a[R], l = q(h, O, g, b, S, n);
1116
1116
  if (l == null)
@@ -1120,22 +1120,22 @@ function ir() {
1120
1120
  var H = w.length > 0 ? ", expected one of type [" + w.join(", ") + "]" : "";
1121
1121
  return new C("Invalid " + b + " `" + S + "` supplied to " + ("`" + g + "`" + H + "."));
1122
1122
  }
1123
- return L(y);
1123
+ return L(m);
1124
1124
  }
1125
1125
  function te() {
1126
- function a(f, E, y, h, O) {
1127
- return J(f[E]) ? null : new C("Invalid " + h + " `" + O + "` supplied to " + ("`" + y + "`, expected a ReactNode."));
1126
+ function a(f, E, m, h, O) {
1127
+ return J(f[E]) ? null : new C("Invalid " + h + " `" + O + "` supplied to " + ("`" + m + "`, expected a ReactNode."));
1128
1128
  }
1129
1129
  return L(a);
1130
1130
  }
1131
- function ne(a, f, E, y, h) {
1131
+ function ne(a, f, E, m, h) {
1132
1132
  return new C(
1133
- (a || "React class") + ": " + f + " type `" + E + "." + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + h + "`."
1133
+ (a || "React class") + ": " + f + " type `" + E + "." + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + h + "`."
1134
1134
  );
1135
1135
  }
1136
1136
  function oe(a) {
1137
- function f(E, y, h, O, g) {
1138
- var b = E[y], S = U(b);
1137
+ function f(E, m, h, O, g) {
1138
+ var b = E[m], S = U(b);
1139
1139
  if (S !== "object")
1140
1140
  return new C("Invalid " + O + " `" + g + "` of type `" + S + "` " + ("supplied to `" + h + "`, expected `object`."));
1141
1141
  for (var w in a) {
@@ -1151,18 +1151,18 @@ function ir() {
1151
1151
  return L(f);
1152
1152
  }
1153
1153
  function ie(a) {
1154
- function f(E, y, h, O, g) {
1155
- var b = E[y], S = U(b);
1154
+ function f(E, m, h, O, g) {
1155
+ var b = E[m], S = U(b);
1156
1156
  if (S !== "object")
1157
1157
  return new C("Invalid " + O + " `" + g + "` of type `" + S + "` " + ("supplied to `" + h + "`, expected `object`."));
1158
- var w = t({}, E[y], a);
1158
+ var w = t({}, E[m], a);
1159
1159
  for (var R in w) {
1160
1160
  var q = a[R];
1161
1161
  if (r(a, R) && typeof q != "function")
1162
1162
  return ne(h, O, g, R, z(q));
1163
1163
  if (!q)
1164
1164
  return new C(
1165
- "Invalid " + O + " `" + g + "` key `" + R + "` supplied to `" + h + "`.\nBad object: " + JSON.stringify(E[y], null, " ") + `
1165
+ "Invalid " + O + " `" + g + "` key `" + R + "` supplied to `" + h + "`.\nBad object: " + JSON.stringify(E[m], null, " ") + `
1166
1166
  Valid keys: ` + JSON.stringify(Object.keys(a), null, " ")
1167
1167
  );
1168
1168
  var l = q(b, R, h, O, g + "." + R, n);
@@ -1186,16 +1186,16 @@ Valid keys: ` + JSON.stringify(Object.keys(a), null, " ")
1186
1186
  return a.every(J);
1187
1187
  if (a === null || u(a))
1188
1188
  return !0;
1189
- var f = m(a);
1189
+ var f = y(a);
1190
1190
  if (f) {
1191
- var E = f.call(a), y;
1191
+ var E = f.call(a), m;
1192
1192
  if (f !== a.entries) {
1193
- for (; !(y = E.next()).done; )
1194
- if (!J(y.value))
1193
+ for (; !(m = E.next()).done; )
1194
+ if (!J(m.value))
1195
1195
  return !1;
1196
1196
  } else
1197
- for (; !(y = E.next()).done; ) {
1198
- var h = y.value;
1197
+ for (; !(m = E.next()).done; ) {
1198
+ var h = m.value;
1199
1199
  if (h && !J(h[1]))
1200
1200
  return !1;
1201
1201
  }
@@ -1243,20 +1243,20 @@ Valid keys: ` + JSON.stringify(Object.keys(a), null, " ")
1243
1243
  return !a.constructor || !a.constructor.name ? x : a.constructor.name;
1244
1244
  }
1245
1245
  return _.checkPropTypes = i, _.resetWarningCache = i.resetWarningCache, _.PropTypes = _, _;
1246
- }, qe;
1246
+ }, Ye;
1247
1247
  }
1248
- var Ye, St;
1248
+ var He, St;
1249
1249
  function ar() {
1250
- if (St) return Ye;
1250
+ if (St) return He;
1251
1251
  St = 1;
1252
- var e = /* @__PURE__ */ nt();
1252
+ var e = /* @__PURE__ */ rt();
1253
1253
  function t() {
1254
1254
  }
1255
1255
  function n() {
1256
1256
  }
1257
- return n.resetWarningCache = t, Ye = function() {
1258
- function r(s, u, d, p, v, m) {
1259
- if (m !== e) {
1257
+ return n.resetWarningCache = t, He = function() {
1258
+ function r(s, u, d, p, v, y) {
1259
+ if (y !== e) {
1260
1260
  var x = new Error(
1261
1261
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
1262
1262
  );
@@ -1291,17 +1291,17 @@ function ar() {
1291
1291
  resetWarningCache: t
1292
1292
  };
1293
1293
  return o.PropTypes = o, o;
1294
- }, Ye;
1294
+ }, He;
1295
1295
  }
1296
1296
  var wt;
1297
1297
  function sr() {
1298
- if (wt) return _e.exports;
1298
+ if (wt) return Pe.exports;
1299
1299
  if (wt = 1, process.env.NODE_ENV !== "production") {
1300
1300
  var e = Dt(), t = !0;
1301
- _e.exports = /* @__PURE__ */ ir()(e.isElement, t);
1301
+ Pe.exports = /* @__PURE__ */ ir()(e.isElement, t);
1302
1302
  } else
1303
- _e.exports = /* @__PURE__ */ ar()();
1304
- return _e.exports;
1303
+ Pe.exports = /* @__PURE__ */ ar()();
1304
+ return Pe.exports;
1305
1305
  }
1306
1306
  var ur = /* @__PURE__ */ sr();
1307
1307
  const T = /* @__PURE__ */ Zt(ur), Ct = {
@@ -1324,22 +1324,22 @@ process.env.NODE_ENV !== "production" && T.oneOfType([T.string, T.shape({
1324
1324
  exitDone: T.string,
1325
1325
  exitActive: T.string
1326
1326
  })]);
1327
- const kt = pe.createContext(null);
1327
+ const It = pe.createContext(null);
1328
1328
  var lr = function(t) {
1329
1329
  return t.scrollTop;
1330
- }, Oe = "unmounted", le = "exited", ae = "entering", de = "entered", Xe = "exiting", re = /* @__PURE__ */ (function(e) {
1330
+ }, Se = "unmounted", le = "exited", ae = "entering", de = "entered", Je = "exiting", re = /* @__PURE__ */ (function(e) {
1331
1331
  er(t, e);
1332
1332
  function t(r, i) {
1333
1333
  var o;
1334
1334
  o = e.call(this, r, i) || this;
1335
1335
  var s = i, u = s && !s.isMounting ? r.enter : r.appear, d;
1336
- return o.appearStatus = null, r.in ? u ? (d = le, o.appearStatus = ae) : d = de : r.unmountOnExit || r.mountOnEnter ? d = Oe : d = le, o.state = {
1336
+ return o.appearStatus = null, r.in ? u ? (d = le, o.appearStatus = ae) : d = de : r.unmountOnExit || r.mountOnEnter ? d = Se : d = le, o.state = {
1337
1337
  status: d
1338
1338
  }, o.nextCallback = null, o;
1339
1339
  }
1340
1340
  t.getDerivedStateFromProps = function(i, o) {
1341
1341
  var s = i.in;
1342
- return s && o.status === Oe ? {
1342
+ return s && o.status === Se ? {
1343
1343
  status: le
1344
1344
  } : null;
1345
1345
  };
@@ -1350,7 +1350,7 @@ var lr = function(t) {
1350
1350
  var o = null;
1351
1351
  if (i !== this.props) {
1352
1352
  var s = this.state.status;
1353
- this.props.in ? s !== ae && s !== de && (o = ae) : (s === ae || s === de) && (o = Xe);
1353
+ this.props.in ? s !== ae && s !== de && (o = ae) : (s === ae || s === de) && (o = Je);
1354
1354
  }
1355
1355
  this.updateStatus(!1, o);
1356
1356
  }, n.componentWillUnmount = function() {
@@ -1373,10 +1373,10 @@ var lr = function(t) {
1373
1373
  } else
1374
1374
  this.performExit();
1375
1375
  else this.props.unmountOnExit && this.state.status === le && this.setState({
1376
- status: Oe
1376
+ status: Se
1377
1377
  });
1378
1378
  }, n.performEnter = function(i) {
1379
- var o = this, s = this.props.enter, u = this.context ? this.context.isMounting : i, d = this.props.nodeRef ? [u] : [ge.findDOMNode(this), u], p = d[0], v = d[1], m = this.getTimeouts(), x = u ? m.appear : m.enter;
1379
+ var o = this, s = this.props.enter, u = this.context ? this.context.isMounting : i, d = this.props.nodeRef ? [u] : [ge.findDOMNode(this), u], p = d[0], v = d[1], y = this.getTimeouts(), x = u ? y.appear : y.enter;
1380
1380
  if (!i && !s || Ct.disabled) {
1381
1381
  this.safeSetState({
1382
1382
  status: de
@@ -1407,7 +1407,7 @@ var lr = function(t) {
1407
1407
  return;
1408
1408
  }
1409
1409
  this.props.onExit(u), this.safeSetState({
1410
- status: Xe
1410
+ status: Je
1411
1411
  }, function() {
1412
1412
  i.props.onExiting(u), i.onTransitionEnd(s.exit, function() {
1413
1413
  i.safeSetState({
@@ -1442,20 +1442,20 @@ var lr = function(t) {
1442
1442
  i != null && setTimeout(this.nextCallback, i);
1443
1443
  }, n.render = function() {
1444
1444
  var i = this.state.status;
1445
- if (i === Oe)
1445
+ if (i === Se)
1446
1446
  return null;
1447
1447
  var o = this.props, s = o.children;
1448
1448
  o.in, o.mountOnEnter, o.unmountOnExit, o.appear, o.enter, o.exit, o.timeout, o.addEndListener, o.onEnter, o.onEntering, o.onEntered, o.onExit, o.onExiting, o.onExited, o.nodeRef;
1449
1449
  var u = Qn(o, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
1450
1450
  return (
1451
1451
  // allows for nested Transitions
1452
- /* @__PURE__ */ pe.createElement(kt.Provider, {
1452
+ /* @__PURE__ */ pe.createElement(It.Provider, {
1453
1453
  value: null
1454
1454
  }, typeof s == "function" ? s(i, u) : pe.cloneElement(pe.Children.only(s), u))
1455
1455
  );
1456
1456
  }, t;
1457
1457
  })(pe.Component);
1458
- re.contextType = kt;
1458
+ re.contextType = It;
1459
1459
  re.propTypes = process.env.NODE_ENV !== "production" ? {
1460
1460
  /**
1461
1461
  * A React reference to DOM element that need to transition:
@@ -1641,11 +1641,11 @@ re.defaultProps = {
1641
1641
  onExiting: Ee,
1642
1642
  onExited: Ee
1643
1643
  };
1644
- re.UNMOUNTED = Oe;
1644
+ re.UNMOUNTED = Se;
1645
1645
  re.EXITED = le;
1646
1646
  re.ENTERING = ae;
1647
1647
  re.ENTERED = de;
1648
- re.EXITING = Xe;
1648
+ re.EXITING = Je;
1649
1649
  function _t(e, t) {
1650
1650
  const n = ve(e, t) || "", r = n.indexOf("ms") === -1 ? 1e3 : 1;
1651
1651
  return parseFloat(n) * r;
@@ -1673,11 +1673,11 @@ const Lt = /* @__PURE__ */ pe.forwardRef(({
1673
1673
  childRef: d,
1674
1674
  ...p
1675
1675
  }, v) => {
1676
- const m = B(null), x = Pt(m, d), _ = (Y) => {
1676
+ const y = W(null), x = Pt(y, d), _ = (Y) => {
1677
1677
  x(pr(Y));
1678
1678
  }, D = (Y) => (K) => {
1679
- Y && m.current && Y(m.current, K);
1680
- }, C = W(D(e), [e]), L = W(D(t), [t]), $ = W(D(n), [n]), G = W(D(r), [r]), k = W(D(i), [i]), j = W(D(o), [o]), c = W(D(s), [s]);
1679
+ Y && y.current && Y(y.current, K);
1680
+ }, C = B(D(e), [e]), L = B(D(t), [t]), $ = B(D(n), [n]), G = B(D(r), [r]), I = B(D(i), [i]), j = B(D(o), [o]), c = B(D(s), [s]);
1681
1681
  return /* @__PURE__ */ N.jsx(re, {
1682
1682
  ref: v,
1683
1683
  ...p,
@@ -1686,9 +1686,9 @@ const Lt = /* @__PURE__ */ pe.forwardRef(({
1686
1686
  onEntering: L,
1687
1687
  onExit: G,
1688
1688
  onExited: j,
1689
- onExiting: k,
1689
+ onExiting: I,
1690
1690
  addEndListener: c,
1691
- nodeRef: m,
1691
+ nodeRef: y,
1692
1692
  children: typeof u == "function" ? (Y, K) => (
1693
1693
  // TODO: Types for RTG missing innerProps, so need to cast.
1694
1694
  u(Y, {
@@ -1704,7 +1704,7 @@ Lt.displayName = "TransitionWrapper";
1704
1704
  const vr = {
1705
1705
  [ae]: "show",
1706
1706
  [de]: "show"
1707
- }, rt = /* @__PURE__ */ V.forwardRef(({
1707
+ }, ot = /* @__PURE__ */ V.forwardRef(({
1708
1708
  className: e,
1709
1709
  children: t,
1710
1710
  transitionClasses: n = {},
@@ -1718,7 +1718,7 @@ const vr = {
1718
1718
  unmountOnExit: !1,
1719
1719
  appear: !1,
1720
1720
  ...i
1721
- }, u = W((d, p) => {
1721
+ }, u = B((d, p) => {
1722
1722
  dr(d), r?.(d, p);
1723
1723
  }, [r]);
1724
1724
  return /* @__PURE__ */ N.jsx(Lt, {
@@ -1726,32 +1726,44 @@ const vr = {
1726
1726
  addEndListener: fr,
1727
1727
  ...s,
1728
1728
  onEnter: u,
1729
- childRef: Ne(t),
1729
+ childRef: De(t),
1730
1730
  children: (d, p) => /* @__PURE__ */ V.cloneElement(t, {
1731
1731
  ...p,
1732
1732
  className: Q("fade", e, t.props.className, vr[d], n[d])
1733
1733
  })
1734
1734
  });
1735
1735
  });
1736
- rt.displayName = "Fade";
1737
- const hr = ["xxl", "xl", "lg", "md", "sm", "xs"], yr = "xs", ot = /* @__PURE__ */ V.createContext({
1736
+ ot.displayName = "Fade";
1737
+ const hr = ["xxl", "xl", "lg", "md", "sm", "xs"], mr = "xs", we = /* @__PURE__ */ V.createContext({
1738
1738
  prefixes: {},
1739
1739
  breakpoints: hr,
1740
- minBreakpoint: yr
1740
+ minBreakpoint: mr
1741
1741
  }), {
1742
1742
  Consumer: Cr,
1743
1743
  Provider: _r
1744
- } = ot;
1745
- function xe(e, t) {
1744
+ } = we;
1745
+ function Re(e, t) {
1746
1746
  const {
1747
1747
  prefixes: n
1748
- } = Ae(ot);
1748
+ } = Te(we);
1749
1749
  return e || n[t] || t;
1750
1750
  }
1751
- function mr() {
1751
+ function Mr() {
1752
+ const {
1753
+ breakpoints: e
1754
+ } = Te(we);
1755
+ return e;
1756
+ }
1757
+ function Pr() {
1758
+ const {
1759
+ minBreakpoint: e
1760
+ } = Te(we);
1761
+ return e;
1762
+ }
1763
+ function yr() {
1752
1764
  const {
1753
1765
  dir: e
1754
- } = Ae(ot);
1766
+ } = Te(we);
1755
1767
  return e === "rtl";
1756
1768
  }
1757
1769
  const $t = /* @__PURE__ */ V.forwardRef(({
@@ -1759,7 +1771,7 @@ const $t = /* @__PURE__ */ V.forwardRef(({
1759
1771
  bsPrefix: t,
1760
1772
  as: n = "div",
1761
1773
  ...r
1762
- }, i) => (t = xe(t, "modal-body"), /* @__PURE__ */ N.jsx(n, {
1774
+ }, i) => (t = Re(t, "modal-body"), /* @__PURE__ */ N.jsx(n, {
1763
1775
  ref: i,
1764
1776
  className: Q(e, t),
1765
1777
  ...r
@@ -1779,12 +1791,12 @@ const Ft = /* @__PURE__ */ V.createContext({
1779
1791
  scrollable: u,
1780
1792
  ...d
1781
1793
  }, p) => {
1782
- e = xe(e, "modal");
1783
- const v = `${e}-dialog`, m = typeof o == "string" ? `${e}-fullscreen-${o}` : `${e}-fullscreen`;
1794
+ e = Re(e, "modal");
1795
+ const v = `${e}-dialog`, y = typeof o == "string" ? `${e}-fullscreen-${o}` : `${e}-fullscreen`;
1784
1796
  return /* @__PURE__ */ N.jsx("div", {
1785
1797
  ...d,
1786
1798
  ref: p,
1787
- className: Q(v, t, i && `${e}-${i}`, r && `${v}-centered`, u && `${v}-scrollable`, o && m),
1799
+ className: Q(v, t, i && `${e}-${i}`, r && `${v}-centered`, u && `${v}-scrollable`, o && y),
1788
1800
  children: /* @__PURE__ */ N.jsx("div", {
1789
1801
  className: Q(`${e}-content`, n),
1790
1802
  children: s
@@ -1792,17 +1804,17 @@ const Ft = /* @__PURE__ */ V.createContext({
1792
1804
  });
1793
1805
  });
1794
1806
  it.displayName = "ModalDialog";
1795
- const Wt = /* @__PURE__ */ V.forwardRef(({
1807
+ const Bt = /* @__PURE__ */ V.forwardRef(({
1796
1808
  className: e,
1797
1809
  bsPrefix: t,
1798
1810
  as: n = "div",
1799
1811
  ...r
1800
- }, i) => (t = xe(t, "modal-footer"), /* @__PURE__ */ N.jsx(n, {
1812
+ }, i) => (t = Re(t, "modal-footer"), /* @__PURE__ */ N.jsx(n, {
1801
1813
  ref: i,
1802
1814
  className: Q(e, t),
1803
1815
  ...r
1804
1816
  })));
1805
- Wt.displayName = "ModalFooter";
1817
+ Bt.displayName = "ModalFooter";
1806
1818
  const Er = {
1807
1819
  /** An accessible label indicating the relevant information about the Close Button. */
1808
1820
  "aria-label": T.string,
@@ -1828,7 +1840,7 @@ const Er = {
1828
1840
  }));
1829
1841
  at.displayName = "CloseButton";
1830
1842
  at.propTypes = Er;
1831
- const Bt = /* @__PURE__ */ V.forwardRef(({
1843
+ const Wt = /* @__PURE__ */ V.forwardRef(({
1832
1844
  closeLabel: e = "Close",
1833
1845
  closeVariant: t,
1834
1846
  closeButton: n = !1,
@@ -1836,7 +1848,7 @@ const Bt = /* @__PURE__ */ V.forwardRef(({
1836
1848
  children: i,
1837
1849
  ...o
1838
1850
  }, s) => {
1839
- const u = Ae(Ft), d = Ge(() => {
1851
+ const u = Te(Ft), d = Ke(() => {
1840
1852
  u?.onHide(), r?.();
1841
1853
  });
1842
1854
  return /* @__PURE__ */ N.jsxs("div", {
@@ -1849,14 +1861,14 @@ const Bt = /* @__PURE__ */ V.forwardRef(({
1849
1861
  })]
1850
1862
  });
1851
1863
  });
1852
- Bt.displayName = "AbstractModalHeader";
1864
+ Wt.displayName = "AbstractModalHeader";
1853
1865
  const Ut = /* @__PURE__ */ V.forwardRef(({
1854
1866
  bsPrefix: e,
1855
1867
  className: t,
1856
1868
  closeLabel: n = "Close",
1857
1869
  closeButton: r = !1,
1858
1870
  ...i
1859
- }, o) => (e = xe(e, "modal-header"), /* @__PURE__ */ N.jsx(Bt, {
1871
+ }, o) => (e = Re(e, "modal-header"), /* @__PURE__ */ N.jsx(Wt, {
1860
1872
  ref: o,
1861
1873
  ...i,
1862
1874
  className: Q(t, e),
@@ -1876,20 +1888,20 @@ const gr = ((e) => (
1876
1888
  bsPrefix: t,
1877
1889
  as: n = br,
1878
1890
  ...r
1879
- }, i) => (t = xe(t, "modal-title"), /* @__PURE__ */ N.jsx(n, {
1891
+ }, i) => (t = Re(t, "modal-title"), /* @__PURE__ */ N.jsx(n, {
1880
1892
  ref: i,
1881
1893
  className: Q(e, t),
1882
1894
  ...r
1883
1895
  })));
1884
1896
  qt.displayName = "ModalTitle";
1885
1897
  function Tr(e) {
1886
- return /* @__PURE__ */ N.jsx(rt, {
1898
+ return /* @__PURE__ */ N.jsx(ot, {
1887
1899
  ...e,
1888
1900
  timeout: null
1889
1901
  });
1890
1902
  }
1891
1903
  function xr(e) {
1892
- return /* @__PURE__ */ N.jsx(rt, {
1904
+ return /* @__PURE__ */ N.jsx(ot, {
1893
1905
  ...e,
1894
1906
  timeout: null
1895
1907
  });
@@ -1907,7 +1919,7 @@ const Yt = /* @__PURE__ */ V.forwardRef(({
1907
1919
  "aria-describedby": p,
1908
1920
  "aria-label": v,
1909
1921
  /* BaseModal props */
1910
- show: m = !1,
1922
+ show: y = !1,
1911
1923
  animation: x = !0,
1912
1924
  backdrop: _ = !0,
1913
1925
  keyboard: D = !0,
@@ -1915,7 +1927,7 @@ const Yt = /* @__PURE__ */ V.forwardRef(({
1915
1927
  onShow: L,
1916
1928
  onHide: $,
1917
1929
  container: G,
1918
- autoFocus: k = !0,
1930
+ autoFocus: I = !0,
1919
1931
  enforceFocus: j = !0,
1920
1932
  restoreFocus: c = !0,
1921
1933
  restoreFocusOptions: Y,
@@ -1929,9 +1941,9 @@ const Yt = /* @__PURE__ */ V.forwardRef(({
1929
1941
  manager: J,
1930
1942
  ...ue
1931
1943
  }, U) => {
1932
- const [z, F] = be({}), [ce, a] = be(!1), f = B(!1), E = B(!1), y = B(null), [h, O] = rn(), g = Pt(U, O), b = Ge($), S = mr();
1933
- e = xe(e, "modal");
1934
- const w = Je(() => ({
1944
+ const [z, F] = be({}), [ce, a] = be(!1), f = W(!1), E = W(!1), m = W(null), [h, O] = rn(), g = Pt(U, O), b = Ke($), S = yr();
1945
+ e = Re(e, "modal");
1946
+ const w = Ze(() => ({
1935
1947
  onHide: b
1936
1948
  }), [b]);
1937
1949
  function R() {
@@ -1940,32 +1952,32 @@ const Yt = /* @__PURE__ */ V.forwardRef(({
1940
1952
  });
1941
1953
  }
1942
1954
  function q(M) {
1943
- if (!Te) return;
1944
- const he = R().getScrollbarWidth() > 0, ut = M.scrollHeight > je(M).documentElement.clientHeight;
1955
+ if (!xe) return;
1956
+ const he = R().getScrollbarWidth() > 0, ut = M.scrollHeight > Ne(M).documentElement.clientHeight;
1945
1957
  F({
1946
1958
  paddingRight: he && !ut ? ct() : void 0,
1947
1959
  paddingLeft: !he && ut ? ct() : void 0
1948
1960
  });
1949
1961
  }
1950
- const l = Ge(() => {
1962
+ const l = Ke(() => {
1951
1963
  h && q(h.dialog);
1952
1964
  });
1953
1965
  un(() => {
1954
- ze(window, "resize", l), y.current == null || y.current();
1966
+ Ge(window, "resize", l), m.current == null || m.current();
1955
1967
  });
1956
1968
  const H = () => {
1957
1969
  f.current = !0;
1958
1970
  }, Z = (M) => {
1959
1971
  f.current && h && M.target === h.dialog && (E.current = !0), f.current = !1;
1960
- }, I = () => {
1961
- a(!0), y.current = At(h.dialog, () => {
1972
+ }, k = () => {
1973
+ a(!0), m.current = At(h.dialog, () => {
1962
1974
  a(!1);
1963
1975
  });
1964
- }, Se = (M) => {
1965
- M.target === M.currentTarget && I();
1966
- }, Re = (M) => {
1976
+ }, Ce = (M) => {
1977
+ M.target === M.currentTarget && k();
1978
+ }, Oe = (M) => {
1967
1979
  if (_ === "static") {
1968
- Se(M);
1980
+ Ce(M);
1969
1981
  return;
1970
1982
  }
1971
1983
  if (E.current || M.target !== M.currentTarget) {
@@ -1974,16 +1986,16 @@ const Yt = /* @__PURE__ */ V.forwardRef(({
1974
1986
  }
1975
1987
  $?.();
1976
1988
  }, Ht = (M) => {
1977
- D ? C?.(M) : (M.preventDefault(), _ === "static" && I());
1989
+ D ? C?.(M) : (M.preventDefault(), _ === "static" && k());
1978
1990
  }, Vt = (M, he) => {
1979
1991
  M && q(M), te?.(M, he);
1980
1992
  }, zt = (M) => {
1981
- y.current == null || y.current(), ee?.(M);
1993
+ m.current == null || m.current(), ee?.(M);
1982
1994
  }, Gt = (M, he) => {
1983
1995
  ne?.(M, he), Mt(window, "resize", l);
1984
1996
  }, Kt = (M) => {
1985
- M && (M.style.display = ""), oe?.(M), ze(window, "resize", l);
1986
- }, Xt = W((M) => /* @__PURE__ */ N.jsx("div", {
1997
+ M && (M.style.display = ""), oe?.(M), Ge(window, "resize", l);
1998
+ }, Xt = B((M) => /* @__PURE__ */ N.jsx("div", {
1987
1999
  ...M,
1988
2000
  className: Q(`${e}-backdrop`, ie, !x && "show")
1989
2001
  }), [x, ie, e]), st = {
@@ -1996,7 +2008,7 @@ const Yt = /* @__PURE__ */ V.forwardRef(({
1996
2008
  ...M,
1997
2009
  style: st,
1998
2010
  className: Q(t, e, ce && `${e}-static`, !x && "show"),
1999
- onClick: _ ? Re : void 0,
2011
+ onClick: _ ? Oe : void 0,
2000
2012
  onMouseUp: Z,
2001
2013
  "data-bs-theme": u,
2002
2014
  "aria-label": v,
@@ -2013,12 +2025,12 @@ const Yt = /* @__PURE__ */ V.forwardRef(({
2013
2025
  return /* @__PURE__ */ N.jsx(Ft.Provider, {
2014
2026
  value: w,
2015
2027
  children: /* @__PURE__ */ N.jsx(Vn, {
2016
- show: m,
2028
+ show: y,
2017
2029
  ref: g,
2018
2030
  backdrop: _,
2019
2031
  container: G,
2020
2032
  keyboard: !0,
2021
- autoFocus: k,
2033
+ autoFocus: I,
2022
2034
  enforceFocus: j,
2023
2035
  restoreFocus: c,
2024
2036
  restoreFocusOptions: Y,
@@ -2040,34 +2052,36 @@ const Yt = /* @__PURE__ */ V.forwardRef(({
2040
2052
  });
2041
2053
  });
2042
2054
  Yt.displayName = "Modal";
2043
- const Mr = Object.assign(Yt, {
2055
+ const Ar = Object.assign(Yt, {
2044
2056
  Body: $t,
2045
2057
  Header: Ut,
2046
2058
  Title: qt,
2047
- Footer: Wt,
2059
+ Footer: Bt,
2048
2060
  Dialog: it,
2049
2061
  TRANSITION_DURATION: 300,
2050
2062
  BACKDROP_TRANSITION_DURATION: 150
2051
2063
  });
2052
2064
  export {
2053
- rt as F,
2054
- Mr as M,
2065
+ ot as F,
2066
+ Ar as M,
2055
2067
  T as P,
2056
- gn as a,
2057
- fe as b,
2058
- ft as c,
2059
- tt as d,
2060
- Cn as e,
2061
- xe as f,
2062
- mr as g,
2063
- zn as h,
2068
+ Mr as a,
2069
+ Pr as b,
2070
+ un as c,
2071
+ gn as d,
2072
+ ft as e,
2073
+ fe as f,
2074
+ nt as g,
2075
+ Cn as h,
2064
2076
  An as i,
2065
- Pt as j,
2066
- Ge as k,
2067
- Pe as l,
2068
- Ne as m,
2069
- je as o,
2077
+ yr as j,
2078
+ zn as k,
2079
+ je as l,
2080
+ Pt as m,
2081
+ Ke as n,
2082
+ Ne as o,
2083
+ De as p,
2070
2084
  ht as r,
2071
2085
  pr as s,
2072
- un as u
2086
+ Re as u
2073
2087
  };