@blockend/widget 1.0.61-beta.1 → 1.0.61-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/dist/AdvancedSettings-BDdJbtcK.js +30 -0
  2. package/dist/{AllRoutes-3rJ_6MZA.js → AllRoutes-BrDSLkEx.js} +201 -198
  3. package/dist/{Box-k1E75YNB.js → Box-BTMntOnW.js} +1 -1
  4. package/dist/{EstGas-NmdlnuTV.js → EstGas-CELSR_co.js} +377 -370
  5. package/dist/{Grow-DHSmig3g.js → Grow--O3Q7qBB.js} +196 -192
  6. package/dist/{InputComp-Q8pjLoPE.js → InputComp-CIMBouQg.js} +3 -3
  7. package/dist/{LoadRoute-C2z-mW9G.js → LoadRoute-DP9HswK0.js} +4 -4
  8. package/dist/{QuotesProgress-BD5CQpZ-.js → QuotesProgress-DXyVWF9h.js} +1 -1
  9. package/dist/{SwapAsset-Kx0ombNP.js → SwapAsset-d01boR2k.js} +1 -1
  10. package/dist/{Tooltip-Dx9YIENU.js → Tooltip-BGRxmZUc.js} +9 -6
  11. package/dist/{TxnButton-CWOz7URH.js → TxnButton-DUhnDCLZ.js} +65 -62
  12. package/dist/{add-D_aca-vE.js → add-BEjMXwS0.js} +1 -1
  13. package/dist/{all-wallets-D4BSWfpK.js → all-wallets-D5ejBd2J.js} +1 -1
  14. package/dist/{app-store-ST0Ravfg.js → app-store-DyLpIyGe.js} +1 -1
  15. package/dist/{apple-DaFtNkdI.js → apple-LF95M9ZO.js} +1 -1
  16. package/dist/{arrow-bottom-CuRXWFcr.js → arrow-bottom-WAJ3nKw-.js} +1 -1
  17. package/dist/{arrow-bottom-circle-xfTEwf8w.js → arrow-bottom-circle-BZnCDzRx.js} +1 -1
  18. package/dist/{arrow-left-Z346mTvE.js → arrow-left-iCLozbpY.js} +1 -1
  19. package/dist/{arrow-right-CUIO0t26.js → arrow-right-BbAPnR2v.js} +1 -1
  20. package/dist/{arrow-top-DmqPBsC5.js → arrow-top-Cam7P0Cq.js} +1 -1
  21. package/dist/{bank-BO1ZejV3.js → bank-CisGvOQw.js} +1 -1
  22. package/dist/{basic-P5IuMVWt.js → basic-D4ipPfXU.js} +4 -4
  23. package/dist/{browser-R_yTVBVl.js → browser-DuEN7q3p.js} +1 -1
  24. package/dist/{card-CmQJzq49.js → card-CsdJWKWP.js} +1 -1
  25. package/dist/{ccip-Vdbs2YPx.js → ccip-BKlgnW-G.js} +1 -1
  26. package/dist/{checkmark-BUj82mTz.js → checkmark-DGMpHO3y.js} +1 -1
  27. package/dist/{checkmark-bold-4sXAvyEi.js → checkmark-bold-CK87kMR1.js} +1 -1
  28. package/dist/{chevron-bottom-BHRgOLsC.js → chevron-bottom-C2O1FTiz.js} +1 -1
  29. package/dist/{chevron-left-eVq5zb9x.js → chevron-left-BxFuIrMa.js} +1 -1
  30. package/dist/{chevron-right-BqbdhgX8.js → chevron-right-B5hvp_03.js} +1 -1
  31. package/dist/{chevron-top-lFcz1Dk9.js → chevron-top-D_8IACK2.js} +1 -1
  32. package/dist/{chrome-store-CJjs0q6Z.js → chrome-store-u5HETQ34.js} +1 -1
  33. package/dist/{clock-LxWBSJ_V.js → clock-B_BvmsVw.js} +1 -1
  34. package/dist/{close-CJEyeA8d.js → close-D4borsFC.js} +1 -1
  35. package/dist/{coinPlaceholder-A0px2L1V.js → coinPlaceholder-BdKcXcQe.js} +1 -1
  36. package/dist/{compass-CKpEE3QF.js → compass-CeU27UPb.js} +1 -1
  37. package/dist/{copy-BGAVbyLK.js → copy-DnmfkWJf.js} +1 -1
  38. package/dist/{core-UMj0YuPY.js → core-R_avBv6F.js} +390 -324
  39. package/dist/{cursor-CdRK37lV.js → cursor-DFsrHX7h.js} +1 -1
  40. package/dist/{cursor-transparent-DCtZPn6M.js → cursor-transparent-C2Jspzlk.js} +1 -1
  41. package/dist/{desktop-BpmiexI7.js → desktop-Cvb4Bs-W.js} +1 -1
  42. package/dist/{disconnect-CmRL6rxR.js → disconnect-Cc3TuHcw.js} +1 -1
  43. package/dist/{discord-CgA8etyT.js → discord-BulP9OPs.js} +1 -1
  44. package/dist/{down-veMPztmj.js → down-DMOxb9X6.js} +4 -3
  45. package/dist/{etherscan-B0Iz4J9k.js → etherscan-CLV4G1N3.js} +1 -1
  46. package/dist/{exclamation-triangle-Box_8laE.js → exclamation-triangle-CTNxc0i0.js} +1 -1
  47. package/dist/{extension-CT5kynXr.js → extension-NL920RFJ.js} +1 -1
  48. package/dist/{external-link-BmAqCUs9.js → external-link-C06xueBw.js} +1 -1
  49. package/dist/{facebook-CzlMPtlk.js → facebook-CUngbGFi.js} +1 -1
  50. package/dist/{farcaster-Z3KYAnFk.js → farcaster-DyF7oe3m.js} +1 -1
  51. package/dist/{filters-CVtviD0v.js → filters-NTcvQCDK.js} +1 -1
  52. package/dist/{getChainIds-DDKgS0TA.js → getChainIds-BPyuIG49.js} +6 -4
  53. package/dist/{getCosmosAddress-D-BxI1sZ.js → getCosmosAddress-BxqNvT5E.js} +1331 -1330
  54. package/dist/{github-KjnPjzGN.js → github-C7AEFANq.js} +1 -1
  55. package/dist/{google-CnyCazMS.js → google-D2eY5g0j.js} +1 -1
  56. package/dist/{hamburger-DkyOLKDt.js → hamburger-BBUxDW1l.js} +436 -427
  57. package/dist/{help-circle-BoN3xTWx.js → help-circle-BsreVT6h.js} +1 -1
  58. package/dist/{id-tq8aEw5U.js → id-9IHoTVmk.js} +1 -1
  59. package/dist/{image-DBC1q2_n.js → image-CpxDCWP0.js} +1 -1
  60. package/dist/{index-C57ebjbd.js → index-AVgT1tC7.js} +78 -78
  61. package/dist/{index-37soHOzC.js → index-B5HYIYdX.js} +2 -2
  62. package/dist/{index-CrdvyxIs.js → index-BAPYRpZ5.js} +19 -14
  63. package/dist/{index-BnfXeC9U.js → index-BBHRfWRe.js} +32 -21
  64. package/dist/{index-BrUFU9w4.js → index-BK-LO8mS.js} +1151 -1134
  65. package/dist/{index-DTish3yr.js → index-Bl2UpALc.js} +3 -1
  66. package/dist/{index-nbo2VFYc.js → index-Bsolq3x5.js} +4 -4
  67. package/dist/{index-Dq-7CifU.js → index-Bx-p5owo.js} +342 -341
  68. package/dist/{index-u8Ded5qw.js → index-CsFCcGQR.js} +32 -18
  69. package/dist/{index-BMJemt0T.js → index-CtucwqhS.js} +1 -1
  70. package/dist/{index-DwgdKTri.js → index-CufwKYsS.js} +1 -1
  71. package/dist/{index-B6Hd7MNh.js → index-DGEhy5MB.js} +5108 -5038
  72. package/dist/{index.es-CXA8FwxC.js → index.es-BU0GM1mV.js} +978 -958
  73. package/dist/{index.es-CwOZPtUM.js → index.es-DW2t7BAn.js} +1 -1
  74. package/dist/index.es.js +1 -1
  75. package/dist/{info-B-ADkq2O.js → info-LwvH4jJX.js} +1 -1
  76. package/dist/{info-circle-CzjFim13.js → info-circle-CpntIlZG.js} +1 -1
  77. package/dist/{lightbulb-BzGUazBJ.js → lightbulb-D2pTnP9p.js} +1 -1
  78. package/dist/{mail-CEB7w3xW.js → mail-DJG_2nFe.js} +1 -1
  79. package/dist/{mobile-D2As9Lxy.js → mobile-CfN1g0ky.js} +1 -1
  80. package/dist/{more-B3qgSPHK.js → more-D_MQ1sJN.js} +1 -1
  81. package/dist/{network-placeholder-D3v1VNVd.js → network-placeholder-DIblWZzB.js} +1 -1
  82. package/dist/{nftPlaceholder-7uzR-QgE.js → nftPlaceholder-BbumxxR8.js} +1 -1
  83. package/dist/{off-B5fhwDTB.js → off-BYUrtwej.js} +1 -1
  84. package/dist/{play-store-fmnI2qeP.js → play-store-iblBb5XO.js} +1 -1
  85. package/dist/{plus-BPrwB2BV.js → plus-D85wdmHo.js} +1 -1
  86. package/dist/{qr-code-DRh63vJj.js → qr-code-Dcybxb7U.js} +1 -1
  87. package/dist/{recycle-horizontal-DGw86E5g.js → recycle-horizontal-Bd8ilzW8.js} +1 -1
  88. package/dist/{refresh-Dg7iaYhB.js → refresh-Dj6GhAr5.js} +1 -1
  89. package/dist/{reown-logo-tiOXXURu.js → reown-logo-BUsYR2sc.js} +1 -1
  90. package/dist/{search-eG23Hr6c.js → search-AZfspUWP.js} +1 -1
  91. package/dist/{send-BOwE6eLM.js → send-CpZ6YcVZ.js} +1 -1
  92. package/dist/{swapHorizontal-ywv205Wi.js → swapHorizontal-Bp6G13yq.js} +1 -1
  93. package/dist/{swapHorizontalBold-CzmBehA5.js → swapHorizontalBold-h5BpqwRP.js} +1 -1
  94. package/dist/{swapHorizontalMedium-BLbLZusS.js → swapHorizontalMedium-C5OGmd3s.js} +1 -1
  95. package/dist/{swapHorizontalRoundedBold-N_SHWa3r.js → swapHorizontalRoundedBold-C_TWWmM4.js} +1 -1
  96. package/dist/{swapVertical-EAZRQhGp.js → swapVertical-DDcdq1Iq.js} +1 -1
  97. package/dist/{telegram-n36fCk1z.js → telegram-6IwaAWkg.js} +1 -1
  98. package/dist/{three-dots-0tBgmH4A.js → three-dots-CC-EXoV7.js} +1 -1
  99. package/dist/{twitch-BhZ8ahtd.js → twitch-01WYlxYB.js} +1 -1
  100. package/dist/{twitterIcon-DfNmxt1B.js → twitterIcon-CBqQ3gr4.js} +1 -1
  101. package/dist/{unsupportedProp-D3sAzZYG.js → unsupportedProp-CwqpQh-r.js} +1 -1
  102. package/dist/{useRegisterError-Bo2lp0sa.js → useRegisterError-ByOKmamU.js} +41 -37
  103. package/dist/{verify-CWXFpftr.js → verify-BswPw1i0.js} +1 -1
  104. package/dist/{verify-filled-DP3y-Kx3.js → verify-filled-DukpwPr3.js} +1 -1
  105. package/dist/{w3m-modal-CwwnoSKf.js → w3m-modal-B9D1Uz6O.js} +2 -2
  106. package/dist/{wallet-pQYrlhSS.js → wallet-Bj7JS51P.js} +1 -1
  107. package/dist/{wallet-placeholder-CFNKM5lP.js → wallet-placeholder-ntA_yGUg.js} +1 -1
  108. package/dist/{walletconnect-CAtjZJiV.js → walletconnect-C2YXIR96.js} +1 -1
  109. package/dist/{warning-circle-BOE2EoE9.js → warning-circle-Bug2jkco.js} +1 -1
  110. package/dist/{x-BqcRzM19.js → x-BEvzIigT.js} +1 -1
  111. package/package.json +1 -1
  112. package/dist/AdvancedSettings-BSHVKOx8.js +0 -60
@@ -1,8 +1,8 @@
1
1
  import * as D from "react";
2
2
  import kt from "react";
3
- import { p as K, P as i, aK as St, n as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-B6Hd7MNh.js";
3
+ import { p as K, P as i, aK as St, n as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-DGEhy5MB.js";
4
4
  import { jsx as de } from "react/jsx-runtime";
5
- import { o as et, P as It, b as Se, a as tt, m as Ut, r as mt, h as qt, H as Ee, T as Ft, q as _t, j as Xt, n as zt, t as rt, v as Yt, w as Gt } from "./useRegisterError-Bo2lp0sa.js";
5
+ import { o as et, P as It, b as Se, a as tt, m as Ut, r as ht, h as qt, H as Ee, T as Ft, q as _t, j as Xt, n as zt, t as rt, v as Yt, w as Gt } from "./useRegisterError-ByOKmamU.js";
6
6
  let nt = 0;
7
7
  function Kt(e) {
8
8
  const [t, r] = D.useState(e), n = e || t;
@@ -29,16 +29,19 @@ function Tn({
29
29
  } = D.useRef(e !== void 0), [f, p] = D.useState(t), s = o ? e : f;
30
30
  if (K.env.NODE_ENV !== "production") {
31
31
  D.useEffect(() => {
32
+ o !== (e !== void 0) && console.error([`MUI: A component is changing the ${o ? "" : "un"}controlled ${n} state of ${r} to be ${o ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
33
+ `));
32
34
  }, [n, r, e]);
33
35
  const {
34
- current: c
36
+ current: l
35
37
  } = D.useRef(t);
36
38
  D.useEffect(() => {
37
- !o && Object.is(c, t);
39
+ !o && !Object.is(l, t) && console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
40
+ `));
38
41
  }, [JSON.stringify(t)]);
39
42
  }
40
- const a = D.useCallback((c) => {
41
- o || p(c);
43
+ const a = D.useCallback((l) => {
44
+ o || p(l);
42
45
  }, []);
43
46
  return [s, a];
44
47
  }
@@ -58,8 +61,8 @@ function Qt() {
58
61
  function r(p) {
59
62
  if (typeof WeakMap != "function") return null;
60
63
  var s = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap();
61
- return (r = function(c) {
62
- return c ? a : s;
64
+ return (r = function(l) {
65
+ return l ? a : s;
63
66
  })(p);
64
67
  }
65
68
  function n(p, s) {
@@ -67,12 +70,12 @@ function Qt() {
67
70
  if (p === null || typeof p != "object" && typeof p != "function") return { default: p };
68
71
  var a = r(s);
69
72
  if (a && a.has(p)) return a.get(p);
70
- var c = { __proto__: null }, l = Object.defineProperty && Object.getOwnPropertyDescriptor;
73
+ var l = { __proto__: null }, c = Object.defineProperty && Object.getOwnPropertyDescriptor;
71
74
  for (var d in p) if (d !== "default" && Object.prototype.hasOwnProperty.call(p, d)) {
72
- var g = l ? Object.getOwnPropertyDescriptor(p, d) : null;
73
- g && (g.get || g.set) ? Object.defineProperty(c, d, g) : c[d] = p[d];
75
+ var g = c ? Object.getOwnPropertyDescriptor(p, d) : null;
76
+ g && (g.get || g.set) ? Object.defineProperty(l, d, g) : l[d] = p[d];
74
77
  }
75
- return c.default = p, a && a.set(p, c), c;
78
+ return l.default = p, a && a.set(p, l), l;
76
79
  }
77
80
  function o(p) {
78
81
  return Object.keys(p).length === 0;
@@ -85,11 +88,11 @@ function Qt() {
85
88
  }
86
89
  var Zt = /* @__PURE__ */ Qt();
87
90
  const er = /* @__PURE__ */ Bt(Zt);
88
- var L = "top", I = "bottom", U = "right", N = "left", Ne = "auto", he = [L, I, U, N], ne = "start", ve = "end", tr = "clippingParents", ht = "viewport", le = "popper", rr = "reference", at = /* @__PURE__ */ he.reduce(function(e, t) {
91
+ var L = "top", I = "bottom", U = "right", N = "left", Ne = "auto", me = [L, I, U, N], ne = "start", ve = "end", tr = "clippingParents", mt = "viewport", ce = "popper", rr = "reference", at = /* @__PURE__ */ me.reduce(function(e, t) {
89
92
  return e.concat([t + "-" + ne, t + "-" + ve]);
90
- }, []), gt = /* @__PURE__ */ [].concat(he, [Ne]).reduce(function(e, t) {
93
+ }, []), gt = /* @__PURE__ */ [].concat(me, [Ne]).reduce(function(e, t) {
91
94
  return e.concat([t, t + "-" + ne, t + "-" + ve]);
92
- }, []), nr = "beforeRead", or = "read", ir = "afterRead", ar = "beforeMain", sr = "main", fr = "afterMain", pr = "beforeWrite", lr = "write", cr = "afterWrite", ur = [nr, or, ir, ar, sr, fr, pr, lr, cr];
95
+ }, []), nr = "beforeRead", or = "read", ir = "afterRead", ar = "beforeMain", sr = "main", fr = "afterMain", pr = "beforeWrite", cr = "write", lr = "afterWrite", ur = [nr, or, ir, ar, sr, fr, pr, cr, lr];
93
96
  function X(e) {
94
97
  return e ? (e.nodeName || "").toLowerCase() : null;
95
98
  }
@@ -141,8 +144,8 @@ function vr(e) {
141
144
  };
142
145
  return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
143
146
  Object.keys(t.elements).forEach(function(n) {
144
- var o = t.elements[n], f = t.attributes[n] || {}, p = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), s = p.reduce(function(a, c) {
145
- return a[c] = "", a;
147
+ var o = t.elements[n], f = t.attributes[n] || {}, p = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), s = p.reduce(function(a, l) {
148
+ return a[l] = "", a;
146
149
  }, {});
147
150
  !V(o) || !X(o) || (Object.assign(o.style, s), Object.keys(f).forEach(function(a) {
148
151
  o.removeAttribute(a);
@@ -150,7 +153,7 @@ function vr(e) {
150
153
  });
151
154
  };
152
155
  }
153
- const mr = {
156
+ const hr = {
154
157
  name: "applyStyles",
155
158
  enabled: !0,
156
159
  phase: "write",
@@ -175,16 +178,16 @@ function ie(e, t, r) {
175
178
  t === void 0 && (t = !1), r === void 0 && (r = !1);
176
179
  var n = e.getBoundingClientRect(), o = 1, f = 1;
177
180
  t && V(e) && (o = e.offsetWidth > 0 && oe(n.width) / e.offsetWidth || 1, f = e.offsetHeight > 0 && oe(n.height) / e.offsetHeight || 1);
178
- var p = te(e) ? H(e) : window, s = p.visualViewport, a = !yt() && r, c = (n.left + (a && s ? s.offsetLeft : 0)) / o, l = (n.top + (a && s ? s.offsetTop : 0)) / f, d = n.width / o, g = n.height / f;
181
+ var p = te(e) ? H(e) : window, s = p.visualViewport, a = !yt() && r, l = (n.left + (a && s ? s.offsetLeft : 0)) / o, c = (n.top + (a && s ? s.offsetTop : 0)) / f, d = n.width / o, g = n.height / f;
179
182
  return {
180
183
  width: d,
181
184
  height: g,
182
- top: l,
183
- right: c + d,
184
- bottom: l + g,
185
- left: c,
186
- x: c,
187
- y: l
185
+ top: c,
186
+ right: l + d,
187
+ bottom: c + g,
188
+ left: l,
189
+ x: l,
190
+ y: c
188
191
  };
189
192
  }
190
193
  function Ve(e) {
@@ -213,7 +216,7 @@ function bt(e, t) {
213
216
  function Y(e) {
214
217
  return H(e).getComputedStyle(e);
215
218
  }
216
- function hr(e) {
219
+ function mr(e) {
217
220
  return ["table", "td", "th"].indexOf(X(e)) >= 0;
218
221
  }
219
222
  function J(e) {
@@ -255,18 +258,18 @@ function gr(e) {
255
258
  return null;
256
259
  }
257
260
  function ge(e) {
258
- for (var t = H(e), r = st(e); r && hr(r) && Y(r).position === "static"; )
261
+ for (var t = H(e), r = st(e); r && mr(r) && Y(r).position === "static"; )
259
262
  r = st(r);
260
263
  return r && (X(r) === "html" || X(r) === "body" && Y(r).position === "static") ? t : r || gr(e) || t;
261
264
  }
262
265
  function Ie(e) {
263
266
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
264
267
  }
265
- function ce(e, t, r) {
268
+ function le(e, t, r) {
266
269
  return ee(e, Pe(t, r));
267
270
  }
268
271
  function yr(e, t, r) {
269
- var n = ce(e, t, r);
272
+ var n = le(e, t, r);
270
273
  return n > r ? r : n;
271
274
  }
272
275
  function wt() {
@@ -288,12 +291,12 @@ function Ot(e, t) {
288
291
  var br = function(t, r) {
289
292
  return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
290
293
  placement: r.placement
291
- })) : t, xt(typeof t != "number" ? t : Ot(t, he));
294
+ })) : t, xt(typeof t != "number" ? t : Ot(t, me));
292
295
  };
293
296
  function wr(e) {
294
- var t, r = e.state, n = e.name, o = e.options, f = r.elements.arrow, p = r.modifiersData.popperOffsets, s = _(r.placement), a = Ie(s), c = [N, U].indexOf(s) >= 0, l = c ? "height" : "width";
297
+ var t, r = e.state, n = e.name, o = e.options, f = r.elements.arrow, p = r.modifiersData.popperOffsets, s = _(r.placement), a = Ie(s), l = [N, U].indexOf(s) >= 0, c = l ? "height" : "width";
295
298
  if (!(!f || !p)) {
296
- var d = br(o.padding, r), g = Ve(f), m = a === "y" ? L : N, O = a === "y" ? I : U, v = r.rects.reference[l] + r.rects.reference[a] - p[a] - r.rects.popper[l], y = p[a] - r.rects.reference[a], E = ge(f), T = E ? a === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, w = v / 2 - y / 2, u = d[m], h = T - g[l] - d[O], b = T / 2 - g[l] / 2 + w, x = ce(u, b, h), C = a;
299
+ var d = br(o.padding, r), g = Ve(f), h = a === "y" ? L : N, O = a === "y" ? I : U, v = r.rects.reference[c] + r.rects.reference[a] - p[a] - r.rects.popper[c], y = p[a] - r.rects.reference[a], E = ge(f), T = E ? a === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, w = v / 2 - y / 2, u = d[h], m = T - g[c] - d[O], b = T / 2 - g[c] / 2 + w, x = le(u, b, m), C = a;
297
300
  r.modifiersData[n] = (t = {}, t[C] = x, t.centerOffset = x - b, t);
298
301
  }
299
302
  }
@@ -327,20 +330,20 @@ function Pr(e, t) {
327
330
  };
328
331
  }
329
332
  function ft(e) {
330
- var t, r = e.popper, n = e.popperRect, o = e.placement, f = e.variation, p = e.offsets, s = e.position, a = e.gpuAcceleration, c = e.adaptive, l = e.roundOffsets, d = e.isFixed, g = p.x, m = g === void 0 ? 0 : g, O = p.y, v = O === void 0 ? 0 : O, y = typeof l == "function" ? l({
331
- x: m,
333
+ var t, r = e.popper, n = e.popperRect, o = e.placement, f = e.variation, p = e.offsets, s = e.position, a = e.gpuAcceleration, l = e.adaptive, c = e.roundOffsets, d = e.isFixed, g = p.x, h = g === void 0 ? 0 : g, O = p.y, v = O === void 0 ? 0 : O, y = typeof c == "function" ? c({
334
+ x: h,
332
335
  y: v
333
336
  }) : {
334
- x: m,
337
+ x: h,
335
338
  y: v
336
339
  };
337
- m = y.x, v = y.y;
338
- var E = p.hasOwnProperty("x"), T = p.hasOwnProperty("y"), w = N, u = L, h = window;
339
- if (c) {
340
+ h = y.x, v = y.y;
341
+ var E = p.hasOwnProperty("x"), T = p.hasOwnProperty("y"), w = N, u = L, m = window;
342
+ if (l) {
340
343
  var b = ge(r), x = "clientHeight", C = "clientWidth";
341
344
  if (b === H(r) && (b = J(r), Y(b).position !== "static" && s === "absolute" && (x = "scrollHeight", C = "scrollWidth")), b = b, o === L || (o === N || o === U) && f === ve) {
342
345
  u = I;
343
- var P = d && b === h && h.visualViewport ? h.visualViewport.height : (
346
+ var P = d && b === m && m.visualViewport ? m.visualViewport.height : (
344
347
  // $FlowFixMe[prop-missing]
345
348
  b[x]
346
349
  );
@@ -348,30 +351,30 @@ function ft(e) {
348
351
  }
349
352
  if (o === N || (o === L || o === I) && f === ve) {
350
353
  w = U;
351
- var A = d && b === h && h.visualViewport ? h.visualViewport.width : (
354
+ var A = d && b === m && m.visualViewport ? m.visualViewport.width : (
352
355
  // $FlowFixMe[prop-missing]
353
356
  b[C]
354
357
  );
355
- m -= A - n.width, m *= a ? 1 : -1;
358
+ h -= A - n.width, h *= a ? 1 : -1;
356
359
  }
357
360
  }
358
361
  var M = Object.assign({
359
362
  position: s
360
- }, c && Er), W = l === !0 ? Pr({
361
- x: m,
363
+ }, l && Er), W = c === !0 ? Pr({
364
+ x: h,
362
365
  y: v
363
366
  }, H(r)) : {
364
- x: m,
367
+ x: h,
365
368
  y: v
366
369
  };
367
- if (m = W.x, v = W.y, a) {
370
+ if (h = W.x, v = W.y, a) {
368
371
  var k;
369
- return Object.assign({}, M, (k = {}, k[u] = T ? "0" : "", k[w] = E ? "0" : "", k.transform = (h.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + v + "px)" : "translate3d(" + m + "px, " + v + "px, 0)", k));
372
+ return Object.assign({}, M, (k = {}, k[u] = T ? "0" : "", k[w] = E ? "0" : "", k.transform = (m.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + v + "px)" : "translate3d(" + h + "px, " + v + "px, 0)", k));
370
373
  }
371
- return Object.assign({}, M, (t = {}, t[u] = T ? v + "px" : "", t[w] = E ? m + "px" : "", t.transform = "", t));
374
+ return Object.assign({}, M, (t = {}, t[u] = T ? v + "px" : "", t[w] = E ? h + "px" : "", t.transform = "", t));
372
375
  }
373
376
  function Rr(e) {
374
- var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, f = r.adaptive, p = f === void 0 ? !0 : f, s = r.roundOffsets, a = s === void 0 ? !0 : s, c = {
377
+ var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, f = r.adaptive, p = f === void 0 ? !0 : f, s = r.roundOffsets, a = s === void 0 ? !0 : s, l = {
375
378
  placement: _(t.placement),
376
379
  variation: ae(t.placement),
377
380
  popper: t.elements.popper,
@@ -379,12 +382,12 @@ function Rr(e) {
379
382
  gpuAcceleration: o,
380
383
  isFixed: t.options.strategy === "fixed"
381
384
  };
382
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, ft(Object.assign({}, c, {
385
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, ft(Object.assign({}, l, {
383
386
  offsets: t.modifiersData.popperOffsets,
384
387
  position: t.options.strategy,
385
388
  adaptive: p,
386
389
  roundOffsets: a
387
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, ft(Object.assign({}, c, {
390
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, ft(Object.assign({}, l, {
388
391
  offsets: t.modifiersData.arrow,
389
392
  position: "absolute",
390
393
  adaptive: !1,
@@ -404,12 +407,12 @@ var xe = {
404
407
  passive: !0
405
408
  };
406
409
  function jr(e) {
407
- var t = e.state, r = e.instance, n = e.options, o = n.scroll, f = o === void 0 ? !0 : o, p = n.resize, s = p === void 0 ? !0 : p, a = H(t.elements.popper), c = [].concat(t.scrollParents.reference, t.scrollParents.popper);
408
- return f && c.forEach(function(l) {
409
- l.addEventListener("scroll", r.update, xe);
410
+ var t = e.state, r = e.instance, n = e.options, o = n.scroll, f = o === void 0 ? !0 : o, p = n.resize, s = p === void 0 ? !0 : p, a = H(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
411
+ return f && l.forEach(function(c) {
412
+ c.addEventListener("scroll", r.update, xe);
410
413
  }), s && a.addEventListener("resize", r.update, xe), function() {
411
- f && c.forEach(function(l) {
412
- l.removeEventListener("scroll", r.update, xe);
414
+ f && l.forEach(function(c) {
415
+ c.removeEventListener("scroll", r.update, xe);
413
416
  }), s && a.removeEventListener("resize", r.update, xe);
414
417
  };
415
418
  }
@@ -456,8 +459,8 @@ function $r(e, t) {
456
459
  var r = H(e), n = J(e), o = r.visualViewport, f = n.clientWidth, p = n.clientHeight, s = 0, a = 0;
457
460
  if (o) {
458
461
  f = o.width, p = o.height;
459
- var c = yt();
460
- (c || !c && t === "fixed") && (s = o.offsetLeft, a = o.offsetTop);
462
+ var l = yt();
463
+ (l || !l && t === "fixed") && (s = o.offsetLeft, a = o.offsetTop);
461
464
  }
462
465
  return {
463
466
  width: f,
@@ -503,8 +506,8 @@ function kr(e, t) {
503
506
  var r = ie(e, !1, t === "fixed");
504
507
  return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
505
508
  }
506
- function lt(e, t, r) {
507
- return t === ht ? We($r(e, r)) : te(t) ? kr(t, r) : We(Mr(J(e)));
509
+ function ct(e, t, r) {
510
+ return t === mt ? We($r(e, r)) : te(t) ? kr(t, r) : We(Mr(J(e)));
508
511
  }
509
512
  function Sr(e) {
510
513
  var t = ue(je(e)), r = ["absolute", "fixed"].indexOf(Y(e).position) >= 0, n = r && V(e) ? ge(e) : e;
@@ -513,10 +516,10 @@ function Sr(e) {
513
516
  }) : [];
514
517
  }
515
518
  function Br(e, t, r, n) {
516
- var o = t === "clippingParents" ? Sr(e) : [].concat(t), f = [].concat(o, [r]), p = f[0], s = f.reduce(function(a, c) {
517
- var l = lt(e, c, n);
518
- return a.top = ee(l.top, a.top), a.right = Pe(l.right, a.right), a.bottom = Pe(l.bottom, a.bottom), a.left = ee(l.left, a.left), a;
519
- }, lt(e, p, n));
519
+ var o = t === "clippingParents" ? Sr(e) : [].concat(t), f = [].concat(o, [r]), p = f[0], s = f.reduce(function(a, l) {
520
+ var c = ct(e, l, n);
521
+ return a.top = ee(c.top, a.top), a.right = Pe(c.right, a.right), a.bottom = Pe(c.bottom, a.bottom), a.left = ee(c.left, a.left), a;
522
+ }, ct(e, p, n));
520
523
  return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
521
524
  }
522
525
  function Pt(e) {
@@ -552,33 +555,33 @@ function Pt(e) {
552
555
  y: t.y
553
556
  };
554
557
  }
555
- var c = o ? Ie(o) : null;
556
- if (c != null) {
557
- var l = c === "y" ? "height" : "width";
558
+ var l = o ? Ie(o) : null;
559
+ if (l != null) {
560
+ var c = l === "y" ? "height" : "width";
558
561
  switch (f) {
559
562
  case ne:
560
- a[c] = a[c] - (t[l] / 2 - r[l] / 2);
563
+ a[l] = a[l] - (t[c] / 2 - r[c] / 2);
561
564
  break;
562
565
  case ve:
563
- a[c] = a[c] + (t[l] / 2 - r[l] / 2);
566
+ a[l] = a[l] + (t[c] / 2 - r[c] / 2);
564
567
  break;
565
568
  }
566
569
  }
567
570
  return a;
568
571
  }
569
- function me(e, t) {
572
+ function he(e, t) {
570
573
  t === void 0 && (t = {});
571
- var r = t, n = r.placement, o = n === void 0 ? e.placement : n, f = r.strategy, p = f === void 0 ? e.strategy : f, s = r.boundary, a = s === void 0 ? tr : s, c = r.rootBoundary, l = c === void 0 ? ht : c, d = r.elementContext, g = d === void 0 ? le : d, m = r.altBoundary, O = m === void 0 ? !1 : m, v = r.padding, y = v === void 0 ? 0 : v, E = xt(typeof y != "number" ? y : Ot(y, he)), T = g === le ? rr : le, w = e.rects.popper, u = e.elements[O ? T : g], h = Br(te(u) ? u : u.contextElement || J(e.elements.popper), a, l, p), b = ie(e.elements.reference), x = Pt({
574
+ var r = t, n = r.placement, o = n === void 0 ? e.placement : n, f = r.strategy, p = f === void 0 ? e.strategy : f, s = r.boundary, a = s === void 0 ? tr : s, l = r.rootBoundary, c = l === void 0 ? mt : l, d = r.elementContext, g = d === void 0 ? ce : d, h = r.altBoundary, O = h === void 0 ? !1 : h, v = r.padding, y = v === void 0 ? 0 : v, E = xt(typeof y != "number" ? y : Ot(y, me)), T = g === ce ? rr : ce, w = e.rects.popper, u = e.elements[O ? T : g], m = Br(te(u) ? u : u.contextElement || J(e.elements.popper), a, c, p), b = ie(e.elements.reference), x = Pt({
572
575
  reference: b,
573
576
  element: w,
574
577
  placement: o
575
- }), C = We(Object.assign({}, w, x)), P = g === le ? C : b, A = {
576
- top: h.top - P.top + E.top,
577
- bottom: P.bottom - h.bottom + E.bottom,
578
- left: h.left - P.left + E.left,
579
- right: P.right - h.right + E.right
578
+ }), C = We(Object.assign({}, w, x)), P = g === ce ? C : b, A = {
579
+ top: m.top - P.top + E.top,
580
+ bottom: P.bottom - m.bottom + E.bottom,
581
+ left: m.left - P.left + E.left,
582
+ right: P.right - m.right + E.right
580
583
  }, M = e.modifiersData.offset;
581
- if (g === le && M) {
584
+ if (g === ce && M) {
582
585
  var W = M[o];
583
586
  Object.keys(A).forEach(function(k) {
584
587
  var F = [U, I].indexOf(k) >= 0 ? 1 : -1, R = [L, I].indexOf(k) >= 0 ? "y" : "x";
@@ -589,22 +592,22 @@ function me(e, t) {
589
592
  }
590
593
  function Wr(e, t) {
591
594
  t === void 0 && (t = {});
592
- var r = t, n = r.placement, o = r.boundary, f = r.rootBoundary, p = r.padding, s = r.flipVariations, a = r.allowedAutoPlacements, c = a === void 0 ? gt : a, l = ae(n), d = l ? s ? at : at.filter(function(O) {
593
- return ae(O) === l;
594
- }) : he, g = d.filter(function(O) {
595
- return c.indexOf(O) >= 0;
595
+ var r = t, n = r.placement, o = r.boundary, f = r.rootBoundary, p = r.padding, s = r.flipVariations, a = r.allowedAutoPlacements, l = a === void 0 ? gt : a, c = ae(n), d = c ? s ? at : at.filter(function(O) {
596
+ return ae(O) === c;
597
+ }) : me, g = d.filter(function(O) {
598
+ return l.indexOf(O) >= 0;
596
599
  });
597
600
  g.length === 0 && (g = d);
598
- var m = g.reduce(function(O, v) {
599
- return O[v] = me(e, {
601
+ var h = g.reduce(function(O, v) {
602
+ return O[v] = he(e, {
600
603
  placement: v,
601
604
  boundary: o,
602
605
  rootBoundary: f,
603
606
  padding: p
604
607
  })[_(v)], O;
605
608
  }, {});
606
- return Object.keys(m).sort(function(O, v) {
607
- return m[O] - m[v];
609
+ return Object.keys(h).sort(function(O, v) {
610
+ return h[O] - h[v];
608
611
  });
609
612
  }
610
613
  function Lr(e) {
@@ -616,24 +619,24 @@ function Lr(e) {
616
619
  function Nr(e) {
617
620
  var t = e.state, r = e.options, n = e.name;
618
621
  if (!t.modifiersData[n]._skip) {
619
- for (var o = r.mainAxis, f = o === void 0 ? !0 : o, p = r.altAxis, s = p === void 0 ? !0 : p, a = r.fallbackPlacements, c = r.padding, l = r.boundary, d = r.rootBoundary, g = r.altBoundary, m = r.flipVariations, O = m === void 0 ? !0 : m, v = r.allowedAutoPlacements, y = t.options.placement, E = _(y), T = E === y, w = a || (T || !O ? [Oe(y)] : Lr(y)), u = [y].concat(w).reduce(function(re, G) {
622
+ for (var o = r.mainAxis, f = o === void 0 ? !0 : o, p = r.altAxis, s = p === void 0 ? !0 : p, a = r.fallbackPlacements, l = r.padding, c = r.boundary, d = r.rootBoundary, g = r.altBoundary, h = r.flipVariations, O = h === void 0 ? !0 : h, v = r.allowedAutoPlacements, y = t.options.placement, E = _(y), T = E === y, w = a || (T || !O ? [Oe(y)] : Lr(y)), u = [y].concat(w).reduce(function(re, G) {
620
623
  return re.concat(_(G) === Ne ? Wr(t, {
621
624
  placement: G,
622
- boundary: l,
625
+ boundary: c,
623
626
  rootBoundary: d,
624
- padding: c,
627
+ padding: l,
625
628
  flipVariations: O,
626
629
  allowedAutoPlacements: v
627
630
  }) : G);
628
- }, []), h = t.rects.reference, b = t.rects.popper, x = /* @__PURE__ */ new Map(), C = !0, P = u[0], A = 0; A < u.length; A++) {
629
- var M = u[A], W = _(M), k = ae(M) === ne, F = [L, I].indexOf(W) >= 0, R = F ? "width" : "height", j = me(t, {
631
+ }, []), m = t.rects.reference, b = t.rects.popper, x = /* @__PURE__ */ new Map(), C = !0, P = u[0], A = 0; A < u.length; A++) {
632
+ var M = u[A], W = _(M), k = ae(M) === ne, F = [L, I].indexOf(W) >= 0, R = F ? "width" : "height", j = he(t, {
630
633
  placement: M,
631
- boundary: l,
634
+ boundary: c,
632
635
  rootBoundary: d,
633
636
  altBoundary: g,
634
- padding: c
637
+ padding: l
635
638
  }), $ = F ? k ? U : N : k ? I : L;
636
- h[R] > b[R] && ($ = Oe($));
639
+ m[R] > b[R] && ($ = Oe($));
637
640
  var S = Oe($), B = [];
638
641
  if (f && B.push(j[W] <= 0), s && B.push(j[$] <= 0, j[S] <= 0), B.every(function(re) {
639
642
  return re;
@@ -671,7 +674,7 @@ const Hr = {
671
674
  _skip: !1
672
675
  }
673
676
  };
674
- function ct(e, t, r) {
677
+ function lt(e, t, r) {
675
678
  return r === void 0 && (r = {
676
679
  x: 0,
677
680
  y: 0
@@ -688,18 +691,18 @@ function ut(e) {
688
691
  });
689
692
  }
690
693
  function Vr(e) {
691
- var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, f = t.modifiersData.preventOverflow, p = me(t, {
694
+ var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, f = t.modifiersData.preventOverflow, p = he(t, {
692
695
  elementContext: "reference"
693
- }), s = me(t, {
696
+ }), s = he(t, {
694
697
  altBoundary: !0
695
- }), a = ct(p, n), c = ct(s, o, f), l = ut(a), d = ut(c);
698
+ }), a = lt(p, n), l = lt(s, o, f), c = ut(a), d = ut(l);
696
699
  t.modifiersData[r] = {
697
700
  referenceClippingOffsets: a,
698
- popperEscapeOffsets: c,
699
- isReferenceHidden: l,
701
+ popperEscapeOffsets: l,
702
+ isReferenceHidden: c,
700
703
  hasPopperEscaped: d
701
704
  }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
702
- "data-popper-reference-hidden": l,
705
+ "data-popper-reference-hidden": c,
703
706
  "data-popper-escaped": d
704
707
  });
705
708
  }
@@ -723,10 +726,10 @@ function Ur(e, t, r) {
723
726
  };
724
727
  }
725
728
  function qr(e) {
726
- var t = e.state, r = e.options, n = e.name, o = r.offset, f = o === void 0 ? [0, 0] : o, p = gt.reduce(function(l, d) {
727
- return l[d] = Ur(d, t.rects, f), l;
728
- }, {}), s = p[t.placement], a = s.x, c = s.y;
729
- t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y += c), t.modifiersData[n] = p;
729
+ var t = e.state, r = e.options, n = e.name, o = r.offset, f = o === void 0 ? [0, 0] : o, p = gt.reduce(function(c, d) {
730
+ return c[d] = Ur(d, t.rects, f), c;
731
+ }, {}), s = p[t.placement], a = s.x, l = s.y;
732
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y += l), t.modifiersData[n] = p;
730
733
  }
731
734
  const Fr = {
732
735
  name: "offset",
@@ -754,12 +757,12 @@ function zr(e) {
754
757
  return e === "x" ? "y" : "x";
755
758
  }
756
759
  function Yr(e) {
757
- var t = e.state, r = e.options, n = e.name, o = r.mainAxis, f = o === void 0 ? !0 : o, p = r.altAxis, s = p === void 0 ? !1 : p, a = r.boundary, c = r.rootBoundary, l = r.altBoundary, d = r.padding, g = r.tether, m = g === void 0 ? !0 : g, O = r.tetherOffset, v = O === void 0 ? 0 : O, y = me(t, {
760
+ var t = e.state, r = e.options, n = e.name, o = r.mainAxis, f = o === void 0 ? !0 : o, p = r.altAxis, s = p === void 0 ? !1 : p, a = r.boundary, l = r.rootBoundary, c = r.altBoundary, d = r.padding, g = r.tether, h = g === void 0 ? !0 : g, O = r.tetherOffset, v = O === void 0 ? 0 : O, y = he(t, {
758
761
  boundary: a,
759
- rootBoundary: c,
762
+ rootBoundary: l,
760
763
  padding: d,
761
- altBoundary: l
762
- }), E = _(t.placement), T = ae(t.placement), w = !T, u = Ie(E), h = zr(u), b = t.modifiersData.popperOffsets, x = t.rects.reference, C = t.rects.popper, P = typeof v == "function" ? v(Object.assign({}, t.rects, {
764
+ altBoundary: c
765
+ }), E = _(t.placement), T = ae(t.placement), w = !T, u = Ie(E), m = zr(u), b = t.modifiersData.popperOffsets, x = t.rects.reference, C = t.rects.popper, P = typeof v == "function" ? v(Object.assign({}, t.rects, {
763
766
  placement: t.placement
764
767
  })) : v, A = typeof P == "number" ? {
765
768
  mainAxis: P,
@@ -773,15 +776,15 @@ function Yr(e) {
773
776
  };
774
777
  if (b) {
775
778
  if (f) {
776
- var k, F = u === "y" ? L : N, R = u === "y" ? I : U, j = u === "y" ? "height" : "width", $ = b[u], S = $ + y[F], B = $ - y[R], q = m ? -C[j] / 2 : 0, De = T === ne ? x[j] : C[j], se = T === ne ? -C[j] : -x[j], ye = t.elements.arrow, re = m && ye ? Ve(ye) : {
779
+ var k, F = u === "y" ? L : N, R = u === "y" ? I : U, j = u === "y" ? "height" : "width", $ = b[u], S = $ + y[F], B = $ - y[R], q = h ? -C[j] / 2 : 0, De = T === ne ? x[j] : C[j], se = T === ne ? -C[j] : -x[j], ye = t.elements.arrow, re = h && ye ? Ve(ye) : {
777
780
  width: 0,
778
781
  height: 0
779
- }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wt(), fe = G[F], be = G[R], Q = ce(0, x[j], re[j]), Ce = w ? x[j] / 2 - q - Q - fe - A.mainAxis : De - Q - fe - A.mainAxis, jt = w ? -x[j] / 2 + q + Q + be + A.mainAxis : se + Q + be + A.mainAxis, $e = t.elements.arrow && ge(t.elements.arrow), At = $e ? u === "y" ? $e.clientTop || 0 : $e.clientLeft || 0 : 0, _e = (k = M == null ? void 0 : M[u]) != null ? k : 0, Dt = $ + Ce - _e - At, Ct = $ + jt - _e, Xe = ce(m ? Pe(S, Dt) : S, $, m ? ee(B, Ct) : B);
782
+ }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wt(), fe = G[F], be = G[R], Q = le(0, x[j], re[j]), Ce = w ? x[j] / 2 - q - Q - fe - A.mainAxis : De - Q - fe - A.mainAxis, jt = w ? -x[j] / 2 + q + Q + be + A.mainAxis : se + Q + be + A.mainAxis, $e = t.elements.arrow && ge(t.elements.arrow), At = $e ? u === "y" ? $e.clientTop || 0 : $e.clientLeft || 0 : 0, _e = (k = M == null ? void 0 : M[u]) != null ? k : 0, Dt = $ + Ce - _e - At, Ct = $ + jt - _e, Xe = le(h ? Pe(S, Dt) : S, $, h ? ee(B, Ct) : B);
780
783
  b[u] = Xe, W[u] = Xe - $;
781
784
  }
782
785
  if (s) {
783
- var ze, $t = u === "x" ? L : N, Mt = u === "x" ? I : U, Z = b[h], we = h === "y" ? "height" : "width", Ye = Z + y[$t], Ge = Z - y[Mt], Me = [L, N].indexOf(E) !== -1, Ke = (ze = M == null ? void 0 : M[h]) != null ? ze : 0, Je = Me ? Ye : Z - x[we] - C[we] - Ke + A.altAxis, Qe = Me ? Z + x[we] + C[we] - Ke - A.altAxis : Ge, Ze = m && Me ? yr(Je, Z, Qe) : ce(m ? Je : Ye, Z, m ? Qe : Ge);
784
- b[h] = Ze, W[h] = Ze - Z;
786
+ var ze, $t = u === "x" ? L : N, Mt = u === "x" ? I : U, Z = b[m], we = m === "y" ? "height" : "width", Ye = Z + y[$t], Ge = Z - y[Mt], Me = [L, N].indexOf(E) !== -1, Ke = (ze = M == null ? void 0 : M[m]) != null ? ze : 0, Je = Me ? Ye : Z - x[we] - C[we] - Ke + A.altAxis, Qe = Me ? Z + x[we] + C[we] - Ke - A.altAxis : Ge, Ze = h && Me ? yr(Je, Z, Qe) : le(h ? Je : Ye, Z, h ? Qe : Ge);
787
+ b[m] = Ze, W[m] = Ze - Z;
785
788
  }
786
789
  t.modifiersData[n] = W;
787
790
  }
@@ -887,9 +890,9 @@ function vt() {
887
890
  function on(e) {
888
891
  e === void 0 && (e = {});
889
892
  var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, f = o === void 0 ? dt : o;
890
- return function(s, a, c) {
891
- c === void 0 && (c = f);
892
- var l = {
893
+ return function(s, a, l) {
894
+ l === void 0 && (l = f);
895
+ var c = {
893
896
  placement: "bottom",
894
897
  orderedModifiers: [],
895
898
  options: Object.assign({}, dt, f),
@@ -900,18 +903,18 @@ function on(e) {
900
903
  },
901
904
  attributes: {},
902
905
  styles: {}
903
- }, d = [], g = !1, m = {
904
- state: l,
906
+ }, d = [], g = !1, h = {
907
+ state: c,
905
908
  setOptions: function(E) {
906
- var T = typeof E == "function" ? E(l.options) : E;
907
- v(), l.options = Object.assign({}, f, l.options, T), l.scrollParents = {
909
+ var T = typeof E == "function" ? E(c.options) : E;
910
+ v(), c.options = Object.assign({}, f, c.options, T), c.scrollParents = {
908
911
  reference: te(s) ? ue(s) : s.contextElement ? ue(s.contextElement) : [],
909
912
  popper: ue(a)
910
913
  };
911
- var w = tn(nn([].concat(n, l.options.modifiers)));
912
- return l.orderedModifiers = w.filter(function(u) {
914
+ var w = tn(nn([].concat(n, c.options.modifiers)));
915
+ return c.orderedModifiers = w.filter(function(u) {
913
916
  return u.enabled;
914
- }), O(), m.update();
917
+ }), O(), h.update();
915
918
  },
916
919
  // Sync update – it will always be executed, even if not necessary. This
917
920
  // is useful for low frequency updates where sync behavior simplifies the
@@ -920,26 +923,26 @@ function on(e) {
920
923
  // prefer the async Popper#update method
921
924
  forceUpdate: function() {
922
925
  if (!g) {
923
- var E = l.elements, T = E.reference, w = E.popper;
926
+ var E = c.elements, T = E.reference, w = E.popper;
924
927
  if (vt(T, w)) {
925
- l.rects = {
926
- reference: Zr(T, ge(w), l.options.strategy === "fixed"),
928
+ c.rects = {
929
+ reference: Zr(T, ge(w), c.options.strategy === "fixed"),
927
930
  popper: Ve(w)
928
- }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(A) {
929
- return l.modifiersData[A.name] = Object.assign({}, A.data);
931
+ }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(A) {
932
+ return c.modifiersData[A.name] = Object.assign({}, A.data);
930
933
  });
931
- for (var u = 0; u < l.orderedModifiers.length; u++) {
932
- if (l.reset === !0) {
933
- l.reset = !1, u = -1;
934
+ for (var u = 0; u < c.orderedModifiers.length; u++) {
935
+ if (c.reset === !0) {
936
+ c.reset = !1, u = -1;
934
937
  continue;
935
938
  }
936
- var h = l.orderedModifiers[u], b = h.fn, x = h.options, C = x === void 0 ? {} : x, P = h.name;
937
- typeof b == "function" && (l = b({
938
- state: l,
939
+ var m = c.orderedModifiers[u], b = m.fn, x = m.options, C = x === void 0 ? {} : x, P = m.name;
940
+ typeof b == "function" && (c = b({
941
+ state: c,
939
942
  options: C,
940
943
  name: P,
941
- instance: m
942
- }) || l);
944
+ instance: h
945
+ }) || c);
943
946
  }
944
947
  }
945
948
  }
@@ -948,7 +951,7 @@ function on(e) {
948
951
  // not necessary (debounced to run at most once-per-tick)
949
952
  update: rn(function() {
950
953
  return new Promise(function(y) {
951
- m.forceUpdate(), y(l);
954
+ h.forceUpdate(), y(c);
952
955
  });
953
956
  }),
954
957
  destroy: function() {
@@ -956,22 +959,22 @@ function on(e) {
956
959
  }
957
960
  };
958
961
  if (!vt(s, a))
959
- return m;
960
- m.setOptions(c).then(function(y) {
961
- !g && c.onFirstUpdate && c.onFirstUpdate(y);
962
+ return h;
963
+ h.setOptions(l).then(function(y) {
964
+ !g && l.onFirstUpdate && l.onFirstUpdate(y);
962
965
  });
963
966
  function O() {
964
- l.orderedModifiers.forEach(function(y) {
967
+ c.orderedModifiers.forEach(function(y) {
965
968
  var E = y.name, T = y.options, w = T === void 0 ? {} : T, u = y.effect;
966
969
  if (typeof u == "function") {
967
- var h = u({
968
- state: l,
970
+ var m = u({
971
+ state: c,
969
972
  name: E,
970
- instance: m,
973
+ instance: h,
971
974
  options: w
972
975
  }), b = function() {
973
976
  };
974
- d.push(h || b);
977
+ d.push(m || b);
975
978
  }
976
979
  });
977
980
  }
@@ -980,18 +983,18 @@ function on(e) {
980
983
  return y();
981
984
  }), d = [];
982
985
  }
983
- return m;
986
+ return h;
984
987
  };
985
988
  }
986
- var an = [Ar, Xr, Tr, mr, Fr, Hr, Gr, Or, Ir], sn = /* @__PURE__ */ on({
989
+ var an = [Ar, Xr, Tr, hr, Fr, Hr, Gr, Or, Ir], sn = /* @__PURE__ */ on({
987
990
  defaultModifiers: an
988
991
  });
989
992
  function fn(e) {
990
993
  return Wt("MuiPopper", e);
991
994
  }
992
995
  Lt("MuiPopper", ["root"]);
993
- const pn = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"], ln = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
994
- function cn(e, t) {
996
+ const pn = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"], cn = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
997
+ function ln(e, t) {
995
998
  if (t === "ltr")
996
999
  return e;
997
1000
  switch (e) {
@@ -1023,7 +1026,7 @@ const dn = (e) => {
1023
1026
  return Nt({
1024
1027
  root: ["root"]
1025
1028
  }, fn, t);
1026
- }, vn = {}, mn = /* @__PURE__ */ D.forwardRef(function(t, r) {
1029
+ }, vn = {}, hn = /* @__PURE__ */ D.forwardRef(function(t, r) {
1027
1030
  var n;
1028
1031
  const {
1029
1032
  anchorEl: o,
@@ -1031,33 +1034,34 @@ const dn = (e) => {
1031
1034
  direction: p,
1032
1035
  disablePortal: s,
1033
1036
  modifiers: a,
1034
- open: c,
1035
- placement: l,
1037
+ open: l,
1038
+ placement: c,
1036
1039
  popperOptions: d,
1037
1040
  popperRef: g,
1038
- slotProps: m = {},
1041
+ slotProps: h = {},
1039
1042
  slots: O = {},
1040
1043
  TransitionProps: v
1041
1044
  // @ts-ignore internal logic
1042
1045
  // prevent from spreading to DOM, it can come from the parent component e.g. Select.
1043
- } = t, y = Te(t, pn), E = D.useRef(null), T = Se(E, r), w = D.useRef(null), u = Se(w, g), h = D.useRef(u);
1046
+ } = t, y = Te(t, pn), E = D.useRef(null), T = Se(E, r), w = D.useRef(null), u = Se(w, g), m = D.useRef(u);
1044
1047
  tt(() => {
1045
- h.current = u;
1048
+ m.current = u;
1046
1049
  }, [u]), D.useImperativeHandle(g, () => w.current, []);
1047
- const b = cn(l, p), [x, C] = D.useState(b), [P, A] = D.useState(Re(o));
1050
+ const b = ln(c, p), [x, C] = D.useState(b), [P, A] = D.useState(Re(o));
1048
1051
  D.useEffect(() => {
1049
1052
  w.current && w.current.forceUpdate();
1050
1053
  }), D.useEffect(() => {
1051
1054
  o && A(Re(o));
1052
1055
  }, [o]), tt(() => {
1053
- if (!P || !c)
1056
+ if (!P || !l)
1054
1057
  return;
1055
1058
  const R = (S) => {
1056
1059
  C(S.placement);
1057
1060
  };
1058
1061
  if (K.env.NODE_ENV !== "production" && P && Ae(P) && P.nodeType === 1) {
1059
1062
  const S = P.getBoundingClientRect();
1060
- K.env.NODE_ENV !== "test" && S.top === 0 && S.left === 0 && S.right === 0 && S.bottom;
1063
+ K.env.NODE_ENV !== "test" && S.top === 0 && S.left === 0 && S.right === 0 && S.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
1064
+ `));
1061
1065
  }
1062
1066
  let j = [{
1063
1067
  name: "preventOverflow",
@@ -1085,17 +1089,17 @@ const dn = (e) => {
1085
1089
  }, d, {
1086
1090
  modifiers: j
1087
1091
  }));
1088
- return h.current($), () => {
1089
- $.destroy(), h.current(null);
1092
+ return m.current($), () => {
1093
+ $.destroy(), m.current(null);
1090
1094
  };
1091
- }, [P, s, a, c, d, b]);
1095
+ }, [P, s, a, l, d, b]);
1092
1096
  const M = {
1093
1097
  placement: x
1094
1098
  };
1095
1099
  v !== null && (M.TransitionProps = v);
1096
1100
  const W = dn(t), k = (n = O.root) != null ? n : "div", F = Ut({
1097
1101
  elementType: k,
1098
- externalSlotProps: m.root,
1102
+ externalSlotProps: h.root,
1099
1103
  externalForwardedProps: y,
1100
1104
  additionalProps: {
1101
1105
  role: "tooltip",
@@ -1115,21 +1119,21 @@ const dn = (e) => {
1115
1119
  direction: p = "ltr",
1116
1120
  disablePortal: s = !1,
1117
1121
  keepMounted: a = !1,
1118
- modifiers: c,
1119
- open: l,
1122
+ modifiers: l,
1123
+ open: c,
1120
1124
  placement: d = "bottom",
1121
1125
  popperOptions: g = vn,
1122
- popperRef: m,
1126
+ popperRef: h,
1123
1127
  style: O,
1124
1128
  transition: v = !1,
1125
1129
  slotProps: y = {},
1126
1130
  slots: E = {}
1127
- } = t, T = Te(t, ln), [w, u] = D.useState(!0), h = () => {
1131
+ } = t, T = Te(t, cn), [w, u] = D.useState(!0), m = () => {
1128
1132
  u(!1);
1129
1133
  }, b = () => {
1130
1134
  u(!0);
1131
1135
  };
1132
- if (!a && !l && (!v || w))
1136
+ if (!a && !c && (!v || w))
1133
1137
  return null;
1134
1138
  let x;
1135
1139
  if (f)
@@ -1138,24 +1142,24 @@ const dn = (e) => {
1138
1142
  const A = Re(n);
1139
1143
  x = A && Ae(A) ? et(A).body : et(null).body;
1140
1144
  }
1141
- const C = !l && a && (!v || w) ? "none" : void 0, P = v ? {
1142
- in: l,
1143
- onEnter: h,
1145
+ const C = !c && a && (!v || w) ? "none" : void 0, P = v ? {
1146
+ in: c,
1147
+ onEnter: m,
1144
1148
  onExited: b
1145
1149
  } : void 0;
1146
1150
  return /* @__PURE__ */ de(It, {
1147
1151
  disablePortal: s,
1148
1152
  container: x,
1149
- children: /* @__PURE__ */ de(mn, z({
1153
+ children: /* @__PURE__ */ de(hn, z({
1150
1154
  anchorEl: n,
1151
1155
  direction: p,
1152
1156
  disablePortal: s,
1153
- modifiers: c,
1157
+ modifiers: l,
1154
1158
  ref: r,
1155
- open: v ? !w : l,
1159
+ open: v ? !w : c,
1156
1160
  placement: d,
1157
1161
  popperOptions: g,
1158
- popperRef: m,
1162
+ popperRef: h,
1159
1163
  slotProps: y,
1160
1164
  slots: E
1161
1165
  }, T, {
@@ -1271,7 +1275,7 @@ K.env.NODE_ENV !== "production" && (Rt.propTypes = {
1271
1275
  /**
1272
1276
  * A ref that points to the used popper instance.
1273
1277
  */
1274
- popperRef: mt,
1278
+ popperRef: ht,
1275
1279
  /**
1276
1280
  * The props used for each slot inside the Popper.
1277
1281
  * @default {}
@@ -1293,7 +1297,7 @@ K.env.NODE_ENV !== "production" && (Rt.propTypes = {
1293
1297
  */
1294
1298
  transition: i.bool
1295
1299
  });
1296
- const hn = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"], gn = Vt(Rt, {
1300
+ const mn = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"], gn = Vt(Rt, {
1297
1301
  name: "MuiPopper",
1298
1302
  slot: "Root",
1299
1303
  overridesResolver: (e, t) => t.root
@@ -1306,11 +1310,11 @@ const hn = ["anchorEl", "component", "components", "componentsProps", "container
1306
1310
  anchorEl: p,
1307
1311
  component: s,
1308
1312
  components: a,
1309
- componentsProps: c,
1310
- container: l,
1313
+ componentsProps: l,
1314
+ container: c,
1311
1315
  disablePortal: d,
1312
1316
  keepMounted: g,
1313
- modifiers: m,
1317
+ modifiers: h,
1314
1318
  open: O,
1315
1319
  placement: v,
1316
1320
  popperOptions: y,
@@ -1318,25 +1322,25 @@ const hn = ["anchorEl", "component", "components", "componentsProps", "container
1318
1322
  transition: T,
1319
1323
  slots: w,
1320
1324
  slotProps: u
1321
- } = f, h = Te(f, hn), b = (n = w == null ? void 0 : w.root) != null ? n : a == null ? void 0 : a.Root, x = z({
1325
+ } = f, m = Te(f, mn), b = (n = w == null ? void 0 : w.root) != null ? n : a == null ? void 0 : a.Root, x = z({
1322
1326
  anchorEl: p,
1323
- container: l,
1327
+ container: c,
1324
1328
  disablePortal: d,
1325
1329
  keepMounted: g,
1326
- modifiers: m,
1330
+ modifiers: h,
1327
1331
  open: O,
1328
1332
  placement: v,
1329
1333
  popperOptions: y,
1330
1334
  popperRef: E,
1331
1335
  transition: T
1332
- }, h);
1336
+ }, m);
1333
1337
  return /* @__PURE__ */ de(gn, z({
1334
1338
  as: s,
1335
1339
  direction: o == null ? void 0 : o.direction,
1336
1340
  slots: {
1337
1341
  root: b
1338
1342
  },
1339
- slotProps: u ?? c
1343
+ slotProps: u ?? l
1340
1344
  }, x, {
1341
1345
  ref: r
1342
1346
  }));
@@ -1442,7 +1446,7 @@ K.env.NODE_ENV !== "production" && (yn.propTypes = {
1442
1446
  /**
1443
1447
  * A ref that points to the used popper instance.
1444
1448
  */
1445
- popperRef: mt,
1449
+ popperRef: ht,
1446
1450
  /**
1447
1451
  * The props used for each slot inside the Popper.
1448
1452
  * @default {}
@@ -1489,21 +1493,21 @@ const wn = {
1489
1493
  easing: p,
1490
1494
  in: s,
1491
1495
  onEnter: a,
1492
- onEntered: c,
1493
- onEntering: l,
1496
+ onEntered: l,
1497
+ onEntering: c,
1494
1498
  onExit: d,
1495
1499
  onExited: g,
1496
- onExiting: m,
1500
+ onExiting: h,
1497
1501
  style: O,
1498
1502
  timeout: v = "auto",
1499
1503
  // eslint-disable-next-line react/prop-types
1500
1504
  TransitionComponent: y = Ft
1501
- } = t, E = Te(t, bn), T = _t(), w = D.useRef(), u = Xt(), h = D.useRef(null), b = Se(h, zt(f), r), x = (R) => (j) => {
1505
+ } = t, E = Te(t, bn), T = _t(), w = D.useRef(), u = Xt(), m = D.useRef(null), b = Se(m, zt(f), r), x = (R) => (j) => {
1502
1506
  if (R) {
1503
- const $ = h.current;
1507
+ const $ = m.current;
1504
1508
  j === void 0 ? R($) : R($, j);
1505
1509
  }
1506
- }, C = x(l), P = x((R, j) => {
1510
+ }, C = x(c), P = x((R, j) => {
1507
1511
  Yt(R);
1508
1512
  const {
1509
1513
  duration: $,
@@ -1525,7 +1529,7 @@ const wn = {
1525
1529
  delay: S,
1526
1530
  easing: B
1527
1531
  })].join(","), a && a(R, j);
1528
- }), A = x(c), M = x(m), W = x((R) => {
1532
+ }), A = x(l), M = x(h), W = x((R) => {
1529
1533
  const {
1530
1534
  duration: j,
1531
1535
  delay: $,
@@ -1550,7 +1554,7 @@ const wn = {
1550
1554
  return /* @__PURE__ */ de(y, z({
1551
1555
  appear: o,
1552
1556
  in: s,
1553
- nodeRef: h,
1557
+ nodeRef: m,
1554
1558
  onEnter: P,
1555
1559
  onEntered: A,
1556
1560
  onEntering: C,
@@ -1558,7 +1562,7 @@ const wn = {
1558
1562
  onExited: k,
1559
1563
  onExiting: M,
1560
1564
  addEndListener: (R) => {
1561
- v === "auto" && T.start(w.current || 0, R), n && n(h.current, R);
1565
+ v === "auto" && T.start(w.current || 0, R), n && n(m.current, R);
1562
1566
  },
1563
1567
  timeout: v === "auto" ? null : v
1564
1568
  }, E, {