@w3payments/react 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -9,7 +9,7 @@ var en = Math.pow, Zi = (t, e, n) => e in t ? Mc(t, e, { enumerable: !0, configu
9
9
  for (var n of tn(e))
10
10
  Qi.call(e, n) && Zi(t, n, e[n]);
11
11
  return t;
12
- }, j = (t, e) => Rc(t, kc(e));
12
+ }, D = (t, e) => Rc(t, kc(e));
13
13
  var _ = (t, e) => {
14
14
  var n = {};
15
15
  for (var r in t)
@@ -36,15 +36,15 @@ var Yt = (t, e, n) => new Promise((r, i) => {
36
36
  a((n = n.apply(t, e)).next());
37
37
  });
38
38
  import * as An from "react";
39
- import zt, { useState as at, useEffect as dt, useLayoutEffect as fa, useRef as yt, createContext as Ft, useContext as tt, useMemo as Wt, useCallback as gn, useId as En, forwardRef as Lt, Children as da, useInsertionEffect as ha, isValidElement as Dc, Fragment as ma, createElement as jc, Component as Vc } from "react";
39
+ import zt, { useState as at, useEffect as dt, useLayoutEffect as fa, useRef as yt, createContext as Ft, useContext as tt, useMemo as Wt, useCallback as gn, useId as En, forwardRef as Lt, Children as da, useInsertionEffect as ha, isValidElement as jc, Fragment as ma, createElement as Dc, Component as Vc } from "react";
40
40
  import Ic from "react-dom";
41
41
  function Nc(t) {
42
42
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
43
43
  }
44
- var nn = { exports: {} }, je = {};
44
+ var nn = { exports: {} }, De = {};
45
45
  var ts;
46
46
  function Lc() {
47
- if (ts) return je;
47
+ if (ts) return De;
48
48
  ts = 1;
49
49
  var t = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
50
50
  function n(r, i, s) {
@@ -62,7 +62,7 @@ function Lc() {
62
62
  props: s
63
63
  };
64
64
  }
65
- return je.Fragment = e, je.jsx = n, je.jsxs = n, je;
65
+ return De.Fragment = e, De.jsx = n, De.jsxs = n, De;
66
66
  }
67
67
  var Ve = {};
68
68
  var es;
@@ -71,7 +71,7 @@ function Bc() {
71
71
  function t(A) {
72
72
  if (A == null) return null;
73
73
  if (typeof A == "function")
74
- return A.$$typeof === D ? null : A.displayName || A.name || null;
74
+ return A.$$typeof === j ? null : A.displayName || A.name || null;
75
75
  if (typeof A == "string") return A;
76
76
  switch (A) {
77
77
  case b:
@@ -261,7 +261,7 @@ React keys must be passed directly to JSX without using spread:
261
261
  function d(A) {
262
262
  return typeof A == "object" && A !== null && A.$$typeof === m;
263
263
  }
264
- var h = zt, m = Symbol.for("react.transitional.element"), y = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), C = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), D = Symbol.for("react.client.reference"), V = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, N = Object.prototype.hasOwnProperty, L = Array.isArray, et = console.createTask ? console.createTask : function() {
264
+ var h = zt, m = Symbol.for("react.transitional.element"), y = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), C = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), j = Symbol.for("react.client.reference"), V = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, N = Object.prototype.hasOwnProperty, L = Array.isArray, et = console.createTask ? console.createTask : function() {
265
265
  return null;
266
266
  };
267
267
  h = {
@@ -301,7 +301,7 @@ function $c() {
301
301
  return ns || (ns = 1, process.env.NODE_ENV === "production" ? nn.exports = Lc() : nn.exports = Bc()), nn.exports;
302
302
  }
303
303
  var g = $c();
304
- function jt(t) {
304
+ function Dt(t) {
305
305
  return Object.keys(t);
306
306
  }
307
307
  function Ln(t) {
@@ -1149,7 +1149,7 @@ function wa({
1149
1149
  }
1150
1150
  wa.displayName = "@mantine/core/MantineThemeProvider";
1151
1151
  function gu() {
1152
- const t = se(), e = si(), n = jt(t.breakpoints).reduce((r, i) => {
1152
+ const t = se(), e = si(), n = Dt(t.breakpoints).reduce((r, i) => {
1153
1153
  const s = t.breakpoints[i].includes("px"), o = _c(t.breakpoints[i]), a = s ? `${o - 0.1}px` : is(o - 0.1), l = s ? `${o}px` : is(o);
1154
1154
  return `${r}@media (max-width: ${a}) {.mantine-visible-from-${i} {display: none !important;}}@media (min-width: ${l}) {.mantine-hidden-from-${i} {display: none !important;}}`;
1155
1155
  }, "");
@@ -1254,7 +1254,7 @@ function vu(t) {
1254
1254
  return !!t && typeof t == "object" && "mantine-virtual-color" in t;
1255
1255
  }
1256
1256
  function ue(t, e, n) {
1257
- jt(e).forEach(
1257
+ Dt(e).forEach(
1258
1258
  (r) => Object.assign(t, { [`--mantine-${n}-${r}`]: e[r] })
1259
1259
  );
1260
1260
  }
@@ -1325,7 +1325,7 @@ const Ca = (t) => {
1325
1325
  };
1326
1326
  ue(r.variables, t.breakpoints, "breakpoint"), ue(r.variables, t.spacing, "spacing"), ue(r.variables, t.fontSizes, "font-size"), ue(r.variables, t.lineHeights, "line-height"), ue(r.variables, t.shadows, "shadow"), ue(r.variables, t.radius, "radius"), t.colors[t.primaryColor].forEach((s, o) => {
1327
1327
  r.variables[`--mantine-primary-color-${o}`] = `var(--mantine-color-${t.primaryColor}-${o})`;
1328
- }), jt(t.colors).forEach((s) => {
1328
+ }), Dt(t.colors).forEach((s) => {
1329
1329
  const o = t.colors[s];
1330
1330
  if (vu(o)) {
1331
1331
  Object.assign(
@@ -1370,7 +1370,7 @@ const Ca = (t) => {
1370
1370
  );
1371
1371
  });
1372
1372
  const i = t.headings.sizes;
1373
- return jt(i).forEach((s) => {
1373
+ return Dt(i).forEach((s) => {
1374
1374
  r.variables[`--mantine-${s}-font-size`] = i[s].fontSize, r.variables[`--mantine-${s}-line-height`] = i[s].lineHeight, r.variables[`--mantine-${s}-font-weight`] = i[s].fontWeight || t.headings.fontWeight;
1375
1375
  }), r;
1376
1376
  };
@@ -1385,11 +1385,11 @@ function xu(t) {
1385
1385
  light: {},
1386
1386
  dark: {}
1387
1387
  };
1388
- return jt(t.variables).forEach((n) => {
1388
+ return Dt(t.variables).forEach((n) => {
1389
1389
  Fn.variables[n] !== t.variables[n] && (e.variables[n] = t.variables[n]);
1390
- }), jt(t.light).forEach((n) => {
1390
+ }), Dt(t.light).forEach((n) => {
1391
1391
  Fn.light[n] !== t.light[n] && (e.light[n] = t.light[n]);
1392
- }), jt(t.dark).forEach((n) => {
1392
+ }), Dt(t.dark).forEach((n) => {
1393
1393
  Fn.dark[n] !== t.dark[n] && (e.dark[n] = t.dark[n]);
1394
1394
  }), e;
1395
1395
  }
@@ -1590,7 +1590,7 @@ function ku({
1590
1590
  }
1591
1591
  );
1592
1592
  }
1593
- function Du({
1593
+ function ju({
1594
1594
  options: t,
1595
1595
  classes: e,
1596
1596
  selector: n,
@@ -1598,7 +1598,7 @@ function Du({
1598
1598
  }) {
1599
1599
  return t != null && t.variant && !r ? e[`${n}--${t.variant}`] : void 0;
1600
1600
  }
1601
- function ju({
1601
+ function Du({
1602
1602
  theme: t,
1603
1603
  options: e,
1604
1604
  themeName: n,
@@ -1618,7 +1618,7 @@ function ju({
1618
1618
  return ie(
1619
1619
  Pu({ theme: t, options: e, unstyled: a || h }),
1620
1620
  ku({ theme: t, themeName: n, selector: r, props: u, stylesCtx: f }),
1621
- Du({ options: e, classes: o, selector: r, unstyled: a }),
1621
+ ju({ options: e, classes: o, selector: r, unstyled: a }),
1622
1622
  us({ selector: r, stylesCtx: f, theme: t, classNames: s, props: u }),
1623
1623
  us({ selector: r, stylesCtx: f, theme: t, classNames: m, props: u }),
1624
1624
  Au({ selector: r, stylesCtx: f, options: e, props: u, theme: t }),
@@ -1739,7 +1739,7 @@ function vt({
1739
1739
  themeName: v
1740
1740
  });
1741
1741
  return (C, M) => p({
1742
- className: ju({
1742
+ className: Du({
1743
1743
  theme: h,
1744
1744
  options: M,
1745
1745
  themeName: v,
@@ -1779,7 +1779,7 @@ function ht(t, e, n) {
1779
1779
  return p(p(p({}, e), s), ri(n));
1780
1780
  }
1781
1781
  function _n(t) {
1782
- return jt(t).reduce(
1782
+ return Dt(t).reduce(
1783
1783
  (e, n) => t[n] !== void 0 ? `${e}${Oc(n)}:${t[n]};` : e,
1784
1784
  ""
1785
1785
  ).trim();
@@ -1829,7 +1829,7 @@ function Fu(t) {
1829
1829
  ff: T,
1830
1830
  fz: E,
1831
1831
  fw: k,
1832
- lts: D,
1832
+ lts: j,
1833
1833
  ta: V,
1834
1834
  lh: N,
1835
1835
  fs: L,
@@ -1855,7 +1855,7 @@ function Fu(t) {
1855
1855
  flex: bt,
1856
1856
  hiddenFrom: Pt,
1857
1857
  visibleFrom: xt,
1858
- lightHidden: De,
1858
+ lightHidden: je,
1859
1859
  darkHidden: In,
1860
1860
  sx: Nn
1861
1861
  } = Xi, Ec = _(Xi, [
@@ -1941,7 +1941,7 @@ function Fu(t) {
1941
1941
  ff: T,
1942
1942
  fz: E,
1943
1943
  fw: k,
1944
- lts: D,
1944
+ lts: j,
1945
1945
  ta: V,
1946
1946
  lh: N,
1947
1947
  fs: L,
@@ -1968,7 +1968,7 @@ function Fu(t) {
1968
1968
  bdrs: C,
1969
1969
  hiddenFrom: Pt,
1970
1970
  visibleFrom: xt,
1971
- lightHidden: De,
1971
+ lightHidden: je,
1972
1972
  darkHidden: In,
1973
1973
  sx: Nn
1974
1974
  }), rest: Ec };
@@ -2104,7 +2104,7 @@ function Qu(n) {
2104
2104
  "media"
2105
2105
  ]);
2106
2106
  const s = Object.keys(t).sort((o, a) => Number(ds(o)) - Number(ds(a))).map((o) => ({ query: o, styles: t[o] }));
2107
- return j(p({}, e), { media: s });
2107
+ return D(p({}, e), { media: s });
2108
2108
  }
2109
2109
  function tf(t) {
2110
2110
  if (typeof t != "object" || t === null)
@@ -2116,7 +2116,7 @@ function ef(t) {
2116
2116
  return typeof t == "object" && t !== null ? "base" in t ? t.base : void 0 : t;
2117
2117
  }
2118
2118
  function nf(t) {
2119
- return typeof t == "object" && t !== null ? jt(t).filter((e) => e !== "base") : [];
2119
+ return typeof t == "object" && t !== null ? Dt(t).filter((e) => e !== "base") : [];
2120
2120
  }
2121
2121
  function rf(t, e) {
2122
2122
  return typeof t == "object" && t !== null && e in t ? t[e] : t;
@@ -2127,7 +2127,7 @@ function sf({
2127
2127
  theme: n
2128
2128
  }) {
2129
2129
  return Qu(
2130
- jt(t).reduce(
2130
+ Dt(t).reduce(
2131
2131
  (r, i) => {
2132
2132
  if (i === "hiddenFrom" || i === "visibleFrom" || i === "sx")
2133
2133
  return r;
@@ -2141,7 +2141,7 @@ function sf({
2141
2141
  return o.forEach((c) => {
2142
2142
  a != null && (r.styles[c] = Un[s.type](a, n)), l.forEach((u) => {
2143
2143
  const f = `(min-width: ${n.breakpoints[u]})`;
2144
- r.media[f] = j(p({}, r.media[f]), {
2144
+ r.media[f] = D(p({}, r.media[f]), {
2145
2145
  [c]: Un[s.type](
2146
2146
  rf(t[i], u),
2147
2147
  n
@@ -2177,9 +2177,9 @@ function Aa(t) {
2177
2177
  {}
2178
2178
  ) : af(t) : null;
2179
2179
  }
2180
- function Dr(t, e) {
2180
+ function jr(t, e) {
2181
2181
  return Array.isArray(t) ? [...t].reduce(
2182
- (n, r) => p(p({}, n), Dr(r, e)),
2182
+ (n, r) => p(p({}, n), jr(r, e)),
2183
2183
  {}
2184
2184
  ) : typeof t == "function" ? t(e) : t == null ? {} : t;
2185
2185
  }
@@ -2189,7 +2189,7 @@ function lf({
2189
2189
  vars: n,
2190
2190
  styleProps: r
2191
2191
  }) {
2192
- const i = Dr(e, t), s = Dr(n, t);
2192
+ const i = jr(e, t), s = jr(n, t);
2193
2193
  return p(p(p({}, i), s), r);
2194
2194
  }
2195
2195
  const Ea = Lt(
@@ -2268,14 +2268,14 @@ function Ma(t) {
2268
2268
  function Pe(t) {
2269
2269
  const e = Lt(t);
2270
2270
  return e.extend = Ma, e.withProps = (n) => {
2271
- const r = Lt((i, s) => /* @__PURE__ */ g.jsx(e, j(p(p({}, n), i), { ref: s })));
2271
+ const r = Lt((i, s) => /* @__PURE__ */ g.jsx(e, D(p(p({}, n), i), { ref: s })));
2272
2272
  return r.extend = e.extend, r.displayName = `WithProps(${e.displayName})`, r;
2273
2273
  }, e;
2274
2274
  }
2275
2275
  function oe(t) {
2276
2276
  const e = Lt(t);
2277
2277
  return e.withProps = (n) => {
2278
- const r = Lt((i, s) => /* @__PURE__ */ g.jsx(e, j(p(p({}, n), i), { ref: s })));
2278
+ const r = Lt((i, s) => /* @__PURE__ */ g.jsx(e, D(p(p({}, n), i), { ref: s })));
2279
2279
  return r.extend = e.extend, r.displayName = `WithProps(${e.displayName})`, r;
2280
2280
  }, e.extend = Ma, e;
2281
2281
  }
@@ -2315,7 +2315,7 @@ const cf = {
2315
2315
  });
2316
2316
  return /* @__PURE__ */ g.jsx(
2317
2317
  O,
2318
- p(j(p({}, d("root", { focusable: !0 })), {
2318
+ p(D(p({}, d("root", { focusable: !0 })), {
2319
2319
  component: i,
2320
2320
  ref: e,
2321
2321
  type: i === "button" ? "button" : void 0
@@ -2373,7 +2373,7 @@ const uf = (t, { radius: e, shadow: n }) => ({
2373
2373
  });
2374
2374
  return /* @__PURE__ */ g.jsx(
2375
2375
  O,
2376
- p(j(p({
2376
+ p(D(p({
2377
2377
  ref: e,
2378
2378
  mod: [{ "data-with-border": l }, h]
2379
2379
  }, b("root")), {
@@ -2479,19 +2479,19 @@ const Ne = (t) => ({
2479
2479
  common: { transformOrigin: "right" },
2480
2480
  transitionProperty: "transform, opacity"
2481
2481
  },
2482
- pop: j(p({}, Ne("bottom")), {
2482
+ pop: D(p({}, Ne("bottom")), {
2483
2483
  common: { transformOrigin: "center center" }
2484
2484
  }),
2485
- "pop-bottom-left": j(p({}, Ne("bottom")), {
2485
+ "pop-bottom-left": D(p({}, Ne("bottom")), {
2486
2486
  common: { transformOrigin: "bottom left" }
2487
2487
  }),
2488
- "pop-bottom-right": j(p({}, Ne("bottom")), {
2488
+ "pop-bottom-right": D(p({}, Ne("bottom")), {
2489
2489
  common: { transformOrigin: "bottom right" }
2490
2490
  }),
2491
- "pop-top-left": j(p({}, Ne("top")), {
2491
+ "pop-top-left": D(p({}, Ne("top")), {
2492
2492
  common: { transformOrigin: "top left" }
2493
2493
  }),
2494
- "pop-top-right": j(p({}, Ne("top")), {
2494
+ "pop-top-right": D(p({}, Ne("top")), {
2495
2495
  common: { transformOrigin: "top right" }
2496
2496
  })
2497
2497
  }, hs = {
@@ -2572,7 +2572,7 @@ function df({
2572
2572
  transitionTimingFunction: n || "ease"
2573
2573
  };
2574
2574
  }
2575
- function Da({
2575
+ function ja({
2576
2576
  keepMounted: t,
2577
2577
  transition: e = "fade",
2578
2578
  duration: n = 250,
@@ -2608,20 +2608,20 @@ function Da({
2608
2608
  })
2609
2609
  ) });
2610
2610
  }
2611
- Da.displayName = "@mantine/core/Transition";
2611
+ ja.displayName = "@mantine/core/Transition";
2612
2612
  var Mt = { root: "m_5ae2e3c", barsLoader: "m_7a2bd4cd", bar: "m_870bb79", "bars-loader-animation": "m_5d2b3b9d", dotsLoader: "m_4e3f22d7", dot: "m_870c4af", "loader-dots-animation": "m_aac34a1", ovalLoader: "m_b34414df", "oval-loader-animation": "m_f8e89c4b" };
2613
- const ja = Lt((r, n) => {
2613
+ const Da = Lt((r, n) => {
2614
2614
  var i = r, { className: t } = i, e = _(i, ["className"]);
2615
- return /* @__PURE__ */ g.jsxs(O, j(p({ component: "span", className: ie(Mt.barsLoader, t) }, e), { ref: n, children: [
2615
+ return /* @__PURE__ */ g.jsxs(O, D(p({ component: "span", className: ie(Mt.barsLoader, t) }, e), { ref: n, children: [
2616
2616
  /* @__PURE__ */ g.jsx("span", { className: Mt.bar }),
2617
2617
  /* @__PURE__ */ g.jsx("span", { className: Mt.bar }),
2618
2618
  /* @__PURE__ */ g.jsx("span", { className: Mt.bar })
2619
2619
  ] }));
2620
2620
  });
2621
- ja.displayName = "@mantine/core/Bars";
2621
+ Da.displayName = "@mantine/core/Bars";
2622
2622
  const Va = Lt((r, n) => {
2623
2623
  var i = r, { className: t } = i, e = _(i, ["className"]);
2624
- return /* @__PURE__ */ g.jsxs(O, j(p({ component: "span", className: ie(Mt.dotsLoader, t) }, e), { ref: n, children: [
2624
+ return /* @__PURE__ */ g.jsxs(O, D(p({ component: "span", className: ie(Mt.dotsLoader, t) }, e), { ref: n, children: [
2625
2625
  /* @__PURE__ */ g.jsx("span", { className: Mt.dot }),
2626
2626
  /* @__PURE__ */ g.jsx("span", { className: Mt.dot }),
2627
2627
  /* @__PURE__ */ g.jsx("span", { className: Mt.dot })
@@ -2630,11 +2630,11 @@ const Va = Lt((r, n) => {
2630
2630
  Va.displayName = "@mantine/core/Dots";
2631
2631
  const Ia = Lt((r, n) => {
2632
2632
  var i = r, { className: t } = i, e = _(i, ["className"]);
2633
- return /* @__PURE__ */ g.jsx(O, j(p({ component: "span", className: ie(Mt.ovalLoader, t) }, e), { ref: n }));
2633
+ return /* @__PURE__ */ g.jsx(O, D(p({ component: "span", className: ie(Mt.ovalLoader, t) }, e), { ref: n }));
2634
2634
  });
2635
2635
  Ia.displayName = "@mantine/core/Oval";
2636
2636
  const Na = {
2637
- bars: ja,
2637
+ bars: Da,
2638
2638
  oval: Ia,
2639
2639
  dots: Va
2640
2640
  }, hf = {
@@ -2687,9 +2687,9 @@ const Na = {
2687
2687
  vars: o,
2688
2688
  varsResolver: mf
2689
2689
  });
2690
- return m ? /* @__PURE__ */ g.jsx(O, j(p(j(p({}, v("root")), { ref: e }), b), { children: m })) : /* @__PURE__ */ g.jsx(
2690
+ return m ? /* @__PURE__ */ g.jsx(O, D(p(D(p({}, v("root")), { ref: e }), b), { children: m })) : /* @__PURE__ */ g.jsx(
2691
2691
  O,
2692
- p(j(p({}, v("root")), {
2692
+ p(D(p({}, v("root")), {
2693
2693
  ref: e,
2694
2694
  component: d[s],
2695
2695
  variant: h,
@@ -2746,7 +2746,7 @@ const ms = {
2746
2746
  });
2747
2747
  return /* @__PURE__ */ g.jsx(
2748
2748
  O,
2749
- p(j(p({}, y("group")), {
2749
+ p(D(p({}, y("group")), {
2750
2750
  ref: e,
2751
2751
  variant: f,
2752
2752
  mod: [{ "data-orientation": l }, d],
@@ -2814,7 +2814,7 @@ const gf = (t, { radius: e, color: n, gradient: r, variant: i, autoContrast: s,
2814
2814
  varsResolver: gf,
2815
2815
  rootSelector: "groupSection"
2816
2816
  });
2817
- return /* @__PURE__ */ g.jsx(O, p(j(p({}, y("groupSection")), { ref: e, variant: c }), m));
2817
+ return /* @__PURE__ */ g.jsx(O, p(D(p({}, y("groupSection")), { ref: e, variant: c }), m));
2818
2818
  });
2819
2819
  di.classes = Ae;
2820
2820
  di.displayName = "@mantine/core/ActionIconGroupSection";
@@ -2895,7 +2895,7 @@ const yf = (t, { size: e, radius: n, variant: r, gradient: i, color: s, autoCont
2895
2895
  });
2896
2896
  return /* @__PURE__ */ g.jsxs(
2897
2897
  ui,
2898
- j(p(p({}, T("root", { active: !w && !c && !x })), P), {
2898
+ D(p(p({}, T("root", { active: !w && !c && !x })), P), {
2899
2899
  unstyled: i,
2900
2900
  variant: s,
2901
2901
  size: f,
@@ -2903,8 +2903,8 @@ const yf = (t, { size: e, radius: n, variant: r, gradient: i, color: s, autoCont
2903
2903
  ref: e,
2904
2904
  mod: [{ loading: c, disabled: w || x }, M],
2905
2905
  children: [
2906
- typeof c == "boolean" && /* @__PURE__ */ g.jsx(Da, { mounted: c, transition: "slide-down", duration: 150, children: (k) => /* @__PURE__ */ g.jsx(O, j(p({ component: "span" }, T("loader", { style: k })), { "aria-hidden": !0, children: /* @__PURE__ */ g.jsx(Te, p({ color: "var(--ai-color)", size: "calc(var(--ai-size) * 0.55)" }, u)) })) }),
2907
- /* @__PURE__ */ g.jsx(O, j(p({ component: "span", mod: { loading: c } }, T("icon")), { children: v }))
2906
+ typeof c == "boolean" && /* @__PURE__ */ g.jsx(ja, { mounted: c, transition: "slide-down", duration: 150, children: (k) => /* @__PURE__ */ g.jsx(O, D(p({ component: "span" }, T("loader", { style: k })), { "aria-hidden": !0, children: /* @__PURE__ */ g.jsx(Te, p({ color: "var(--ai-color)", size: "calc(var(--ai-size) * 0.55)" }, u)) })) }),
2907
+ /* @__PURE__ */ g.jsx(O, D(p({ component: "span", mod: { loading: c } }, T("icon")), { children: v }))
2908
2908
  ]
2909
2909
  })
2910
2910
  );
@@ -2932,7 +2932,7 @@ const bf = {
2932
2932
  "--group-wrap": o
2933
2933
  }
2934
2934
  }), ot = Pe((t, e) => {
2935
- const n = ht("Group", bf, t), D = n, {
2935
+ const n = ht("Group", bf, t), j = n, {
2936
2936
  classNames: r,
2937
2937
  className: i,
2938
2938
  style: s,
@@ -2950,7 +2950,7 @@ const bf = {
2950
2950
  __size: v,
2951
2951
  mod: w,
2952
2952
  attributes: x
2953
- } = D, C = _(D, [
2953
+ } = j, C = _(j, [
2954
2954
  "classNames",
2955
2955
  "className",
2956
2956
  "style",
@@ -2984,7 +2984,7 @@ const bf = {
2984
2984
  });
2985
2985
  return /* @__PURE__ */ g.jsx(
2986
2986
  O,
2987
- j(p(j(p({}, k("root")), {
2987
+ D(p(D(p({}, k("root")), {
2988
2988
  ref: e,
2989
2989
  variant: b,
2990
2990
  mod: [{ grow: h }, w],
@@ -3065,7 +3065,7 @@ const Tf = {
3065
3065
  });
3066
3066
  return /* @__PURE__ */ g.jsx(
3067
3067
  O,
3068
- p(j(p({}, M("root", { focusable: !0 })), {
3068
+ p(D(p({}, M("root", { focusable: !0 })), {
3069
3069
  ref: e,
3070
3070
  component: l ? "span" : "p",
3071
3071
  variant: b,
@@ -3115,7 +3115,7 @@ hi.displayName = "@mantine/core/AvatarGroup";
3115
3115
  function Ef(t) {
3116
3116
  return /* @__PURE__ */ g.jsx(
3117
3117
  "svg",
3118
- j(p({}, t), {
3118
+ D(p({}, t), {
3119
3119
  "data-avatar-placeholder-icon": !0,
3120
3120
  viewBox: "0 0 15 15",
3121
3121
  fill: "none",
@@ -3157,11 +3157,11 @@ function kf(t, e = Rf) {
3157
3157
  const n = Mf(t), r = Math.abs(n) % e.length;
3158
3158
  return e[r];
3159
3159
  }
3160
- function Df(t, e = 2) {
3160
+ function jf(t, e = 2) {
3161
3161
  const n = t.split(" ");
3162
3162
  return n.length === 1 ? t.slice(0, e).toUpperCase() : n.map((r) => r[0]).slice(0, e).join("").toUpperCase();
3163
3163
  }
3164
- const jf = (t, { size: e, radius: n, variant: r, gradient: i, color: s, autoContrast: o, name: a, allowedInitialsColors: l }) => {
3164
+ const Df = (t, { size: e, radius: n, variant: r, gradient: i, color: s, autoContrast: o, name: a, allowedInitialsColors: l }) => {
3165
3165
  const c = s === "initials" && typeof a == "string" ? kf(a, l) : s, u = t.variantColorResolver({
3166
3166
  color: c || "gray",
3167
3167
  theme: t,
@@ -3228,22 +3228,22 @@ const jf = (t, { size: e, radius: n, variant: r, gradient: i, color: s, autoCont
3228
3228
  unstyled: a,
3229
3229
  attributes: C,
3230
3230
  vars: l,
3231
- varsResolver: jf
3231
+ varsResolver: Df
3232
3232
  });
3233
3233
  return dt(() => T(!c), [c]), /* @__PURE__ */ g.jsx(
3234
3234
  O,
3235
- j(p(j(p({}, E("root")), {
3235
+ D(p(D(p({}, E("root")), {
3236
3236
  mod: [{ "within-group": S.withinGroup }, v],
3237
3237
  ref: e
3238
3238
  }), M), {
3239
- children: P || !c ? /* @__PURE__ */ g.jsx("span", j(p({}, E("placeholder")), { title: u, children: y || typeof w == "string" && Df(w) || /* @__PURE__ */ g.jsx(Ef, {}) })) : /* @__PURE__ */ g.jsx(
3239
+ children: P || !c ? /* @__PURE__ */ g.jsx("span", D(p({}, E("placeholder")), { title: u, children: y || typeof w == "string" && jf(w) || /* @__PURE__ */ g.jsx(Ef, {}) })) : /* @__PURE__ */ g.jsx(
3240
3240
  "img",
3241
- j(p(p({}, m), E("image")), {
3241
+ D(p(p({}, m), E("image")), {
3242
3242
  src: c,
3243
3243
  alt: u,
3244
- onError: (D) => {
3244
+ onError: (j) => {
3245
3245
  var V;
3246
- T(!0), (V = m == null ? void 0 : m.onError) == null || V.call(m, D);
3246
+ T(!0), (V = m == null ? void 0 : m.onError) == null || V.call(m, j);
3247
3247
  }
3248
3248
  })
3249
3249
  )
@@ -3343,7 +3343,7 @@ const Vf = (t, { radius: e, fit: n }) => ({
3343
3343
  });
3344
3344
  return v && h ? /* @__PURE__ */ g.jsx(
3345
3345
  O,
3346
- p(j(p({
3346
+ p(D(p({
3347
3347
  component: "img",
3348
3348
  ref: e,
3349
3349
  src: h
@@ -3353,7 +3353,7 @@ const Vf = (t, { radius: e, fit: n }) => ({
3353
3353
  }), b)
3354
3354
  ) : /* @__PURE__ */ g.jsx(
3355
3355
  O,
3356
- p(j(p({
3356
+ p(D(p({
3357
3357
  component: "img",
3358
3358
  ref: e
3359
3359
  }, x("root")), {
@@ -3378,7 +3378,7 @@ const If = {
3378
3378
  "--stack-align": n,
3379
3379
  "--stack-justify": r
3380
3380
  }
3381
- }), Dt = Pe((t, e) => {
3381
+ }), jt = Pe((t, e) => {
3382
3382
  const n = ht("Stack", If, t), b = n, {
3383
3383
  classNames: r,
3384
3384
  className: i,
@@ -3416,10 +3416,10 @@ const If = {
3416
3416
  vars: l,
3417
3417
  varsResolver: Nf
3418
3418
  });
3419
- return /* @__PURE__ */ g.jsx(O, p(j(p({ ref: e }, y("root")), { variant: d }), m));
3419
+ return /* @__PURE__ */ g.jsx(O, p(D(p({ ref: e }, y("root")), { variant: d }), m));
3420
3420
  });
3421
- Dt.classes = _a;
3422
- Dt.displayName = "@mantine/core/Stack";
3421
+ jt.classes = _a;
3422
+ jt.displayName = "@mantine/core/Stack";
3423
3423
  const pi = Ft({});
3424
3424
  function gi(t) {
3425
3425
  const e = yt(null);
@@ -3434,17 +3434,17 @@ function bi(t, e) {
3434
3434
  n > -1 && t.splice(n, 1);
3435
3435
  }
3436
3436
  const Bt = (t, e, n) => n > e ? e : n < t ? t : n;
3437
- function jr(t, e) {
3437
+ function Dr(t, e) {
3438
3438
  return e ? `${t}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${e}` : t;
3439
3439
  }
3440
3440
  let Ee = () => {
3441
3441
  }, $t = () => {
3442
3442
  };
3443
3443
  process.env.NODE_ENV !== "production" && (Ee = (t, e, n) => {
3444
- !t && typeof console != "undefined" && console.warn(jr(e, n));
3444
+ !t && typeof console != "undefined" && console.warn(Dr(e, n));
3445
3445
  }, $t = (t, e, n) => {
3446
3446
  if (!t)
3447
- throw new Error(jr(e, n));
3447
+ throw new Error(Dr(e, n));
3448
3448
  });
3449
3449
  const Ot = {}, za = (t) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);
3450
3450
  function Wa(t) {
@@ -3491,7 +3491,7 @@ function Ga(t, e) {
3491
3491
  }
3492
3492
  const ps = /* @__PURE__ */ new Set();
3493
3493
  function Ti(t, e, n) {
3494
- t || ps.has(e) || (console.warn(jr(e, n)), ps.add(e));
3494
+ t || ps.has(e) || (console.warn(Dr(e, n)), ps.add(e));
3495
3495
  }
3496
3496
  const qa = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, Bf = 1e-7, $f = 12;
3497
3497
  function Of(t, e, n, r, i) {
@@ -3618,9 +3618,9 @@ const ft = {
3618
3618
  test: (t) => typeof t == "number",
3619
3619
  parse: parseFloat,
3620
3620
  transform: (t) => t
3621
- }, We = j(p({}, Me), {
3621
+ }, We = D(p({}, Me), {
3622
3622
  transform: (t) => Bt(0, 1, t)
3623
- }), ln = j(p({}, Me), {
3623
+ }), ln = D(p({}, Me), {
3624
3624
  default: 1
3625
3625
  }), Oe = (t) => Math.round(t * 1e5) / 1e5, Ai = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
3626
3626
  function Yf(t) {
@@ -3636,7 +3636,7 @@ const Xf = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
3636
3636
  [n]: parseFloat(o),
3637
3637
  alpha: a !== void 0 ? parseFloat(a) : 1
3638
3638
  };
3639
- }, Zf = (t) => Bt(0, 255, t), Wn = j(p({}, Me), {
3639
+ }, Zf = (t) => Bt(0, 255, t), Wn = D(p({}, Me), {
3640
3640
  transform: (t) => Math.round(Zf(t))
3641
3641
  }), Jt = {
3642
3642
  test: /* @__PURE__ */ Ei("rgb", "red"),
@@ -3660,7 +3660,7 @@ const Vr = {
3660
3660
  test: (e) => typeof e == "string" && e.endsWith(t) && e.split(" ").length === 1,
3661
3661
  parse: parseFloat,
3662
3662
  transform: (e) => `${e}${t}`
3663
- }), Ut = /* @__PURE__ */ Je("deg"), Vt = /* @__PURE__ */ Je("%"), B = /* @__PURE__ */ Je("px"), Qf = /* @__PURE__ */ Je("vh"), td = /* @__PURE__ */ Je("vw"), vs = j(p({}, Vt), {
3663
+ }), Ut = /* @__PURE__ */ Je("deg"), Vt = /* @__PURE__ */ Je("%"), B = /* @__PURE__ */ Je("px"), Qf = /* @__PURE__ */ Je("vh"), td = /* @__PURE__ */ Je("vw"), vs = D(p({}, Vt), {
3664
3664
  parse: (t) => Vt.parse(t) / 100,
3665
3665
  transform: (t) => Vt.transform(t * 100)
3666
3666
  }), me = {
@@ -3827,7 +3827,7 @@ function Ri(t) {
3827
3827
  return e >= bn ? 1 / 0 : e;
3828
3828
  }
3829
3829
  function yd(t, e = 100, n) {
3830
- const r = n(j(p({}, t), { keyframes: [0, e] })), i = Math.min(Ri(r), bn);
3830
+ const r = n(D(p({}, t), { keyframes: [0, e] })), i = Math.min(Ri(r), bn);
3831
3831
  return {
3832
3832
  type: "keyframes",
3833
3833
  ease: (s) => r.next(i * s).value / e,
@@ -3926,14 +3926,14 @@ function Sd(t) {
3926
3926
  if (!Ts(t, Cd) && Ts(t, Td))
3927
3927
  if (t.visualDuration) {
3928
3928
  const n = t.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, s = 2 * Bt(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(i);
3929
- e = j(p({}, e), {
3929
+ e = D(p({}, e), {
3930
3930
  mass: X.mass,
3931
3931
  stiffness: i,
3932
3932
  damping: s
3933
3933
  });
3934
3934
  } else {
3935
3935
  const n = bd(t);
3936
- e = j(p(p({}, e), n), {
3936
+ e = D(p(p({}, e), n), {
3937
3937
  mass: X.mass
3938
3938
  }), e.isResolvedFromDuration = !0;
3939
3939
  }
@@ -3946,7 +3946,7 @@ function xn(t = X.visualDuration, e = X.bounce) {
3946
3946
  bounce: e
3947
3947
  } : t;
3948
3948
  let { restSpeed: r, restDelta: i } = n;
3949
- const s = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], a = { done: !1, value: s }, { stiffness: l, damping: c, mass: u, duration: f, velocity: d, isResolvedFromDuration: h } = Sd(j(p({}, n), {
3949
+ const s = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], a = { done: !1, value: s }, { stiffness: l, damping: c, mass: u, duration: f, velocity: d, isResolvedFromDuration: h } = Sd(D(p({}, n), {
3950
3950
  velocity: -/* @__PURE__ */ Tt(n.velocity || 0)
3951
3951
  })), m = d || 0, y = c / (2 * Math.sqrt(l * u)), b = o - s, v = /* @__PURE__ */ Tt(Math.sqrt(l / u)), w = Math.abs(b) < 5;
3952
3952
  r || (r = w ? X.restSpeed.granular : X.restSpeed.default), i || (i = w ? X.restDelta.granular : X.restDelta.default);
@@ -4091,12 +4091,12 @@ function pe({ duration: t = 300, keyframes: e, times: n, ease: r = "easeInOut" }
4091
4091
  next: (l) => (s.value = a(l), s.done = l >= t, s)
4092
4092
  };
4093
4093
  }
4094
- const Dd = (t) => t !== null;
4094
+ const jd = (t) => t !== null;
4095
4095
  function ki(t, { repeat: e, repeatType: n = "loop" }, r, i = 1) {
4096
- const s = t.filter(Dd), a = i < 0 || e && n !== "loop" && e % 2 === 1 ? 0 : s.length - 1;
4096
+ const s = t.filter(jd), a = i < 0 || e && n !== "loop" && e % 2 === 1 ? 0 : s.length - 1;
4097
4097
  return !a || r === void 0 ? s[a] : r;
4098
4098
  }
4099
- const jd = {
4099
+ const Dd = {
4100
4100
  decay: Lr,
4101
4101
  inertia: Lr,
4102
4102
  tween: pe,
@@ -4104,9 +4104,9 @@ const jd = {
4104
4104
  spring: xn
4105
4105
  };
4106
4106
  function pl(t) {
4107
- typeof t.type == "string" && (t.type = jd[t.type]);
4107
+ typeof t.type == "string" && (t.type = Dd[t.type]);
4108
4108
  }
4109
- class Di {
4109
+ class ji {
4110
4110
  constructor() {
4111
4111
  this.updateFinished();
4112
4112
  }
@@ -4131,7 +4131,7 @@ class Di {
4131
4131
  }
4132
4132
  }
4133
4133
  const Vd = (t) => t / 100;
4134
- class ji extends Di {
4134
+ class Di extends ji {
4135
4135
  constructor(e) {
4136
4136
  super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.stop = () => {
4137
4137
  var r, i;
@@ -4146,8 +4146,8 @@ class ji extends Di {
4146
4146
  let { keyframes: a } = e;
4147
4147
  const l = n || pe;
4148
4148
  process.env.NODE_ENV !== "production" && l !== pe && $t(a.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`, "spring-two-frames"), l !== pe && typeof a[0] != "number" && (this.mixKeyframes = Xe(Vd, dl(a[0], a[1])), a = [0, 100]);
4149
- const c = l(j(p({}, e), { keyframes: a }));
4150
- s === "mirror" && (this.mirroredGenerator = l(j(p({}, e), {
4149
+ const c = l(D(p({}, e), { keyframes: a }));
4150
+ s === "mirror" && (this.mirroredGenerator = l(D(p({}, e), {
4151
4151
  keyframes: [...a].reverse(),
4152
4152
  velocity: -o
4153
4153
  }))), c.calculatedDuration === null && (c.calculatedDuration = Ri(c));
@@ -4478,7 +4478,7 @@ function Yd(n) {
4478
4478
  var i, s;
4479
4479
  return xl(t) && vl() ? t.applyToOptions(e) : ((i = e.duration) != null || (e.duration = 300), (s = e.ease) != null || (e.ease = "easeOut"), e);
4480
4480
  }
4481
- class Xd extends Di {
4481
+ class Xd extends ji {
4482
4482
  constructor(e) {
4483
4483
  if (super(), this.finishedTime = null, this.isStopped = !1, !e)
4484
4484
  return;
@@ -4607,7 +4607,7 @@ class Qd extends Xd {
4607
4607
  n.set(e);
4608
4608
  return;
4609
4609
  }
4610
- const a = new ji(j(p({}, o), {
4610
+ const a = new Di(D(p({}, o), {
4611
4611
  autoplay: !1
4612
4612
  })), l = /* @__PURE__ */ Rt((u = this.finishedTime) != null ? u : this.time);
4613
4613
  n.setWithVelocity(a.sample(l - Ms).value, a.sample(l).value, Ms), a.stop();
@@ -4657,7 +4657,7 @@ function ih(t) {
4657
4657
  !l && !r && i !== "mirror" && s !== 0 && o !== "inertia";
4658
4658
  }
4659
4659
  const sh = 40;
4660
- class oh extends Di {
4660
+ class oh extends ji {
4661
4661
  constructor(d) {
4662
4662
  var h = d, { autoplay: e = !0, delay: n = 0, type: r = "keyframes", repeat: i = 0, repeatDelay: s = 0, repeatType: o = "loop", keyframes: a, name: l, motionValue: c, element: u } = h, f = _(h, ["autoplay", "delay", "type", "repeat", "repeatDelay", "repeatType", "keyframes", "name", "motionValue", "element"]);
4663
4663
  var b;
@@ -4682,14 +4682,14 @@ class oh extends Di {
4682
4682
  this.keyframeResolver = void 0;
4683
4683
  const { name: s, type: o, velocity: a, delay: l, isHandoff: c, onUpdate: u } = r;
4684
4684
  this.resolvedAt = ft.now(), eh(e, s, o, a) || ((Ot.instantAnimations || !l) && (u == null || u(ki(e, r, n))), e[0] = e[e.length - 1], Wr(r), r.repeat = 0);
4685
- const f = i ? this.resolvedAt ? this.resolvedAt - this.createdAt > sh ? this.resolvedAt : this.createdAt : this.createdAt : void 0, d = j(p({
4685
+ const f = i ? this.resolvedAt ? this.resolvedAt - this.createdAt > sh ? this.resolvedAt : this.createdAt : this.createdAt : void 0, d = D(p({
4686
4686
  startTime: f,
4687
4687
  finalKeyframe: n
4688
4688
  }, r), {
4689
4689
  keyframes: e
4690
- }), h = !c && ih(d) ? new Qd(j(p({}, d), {
4690
+ }), h = !c && ih(d) ? new Qd(D(p({}, d), {
4691
4691
  element: d.motionValue.owner.current
4692
- })) : new ji(d);
4692
+ })) : new Di(d);
4693
4693
  h.finished.then(() => this.notifyFinished()).catch(Ct), this.pendingTimeline && (this.stopTimeline = h.attachTimeline(this.pendingTimeline), this.pendingTimeline = void 0), this._animation = h;
4694
4694
  }
4695
4695
  get finished() {
@@ -4799,12 +4799,12 @@ function hh(t) {
4799
4799
  let s = dh.has(e) ? 1 : 0;
4800
4800
  return r !== n && (s *= 100), e + "(" + s + i + ")";
4801
4801
  }
4802
- const mh = /\b([a-z-]*)\(.*?\)/gu, Hr = j(p({}, Gt), {
4802
+ const mh = /\b([a-z-]*)\(.*?\)/gu, Hr = D(p({}, Gt), {
4803
4803
  getAnimatableNone: (t) => {
4804
4804
  const e = t.match(mh);
4805
4805
  return e ? e.map(hh).join(" ") : t;
4806
4806
  }
4807
- }), Ds = j(p({}, Me), {
4807
+ }), js = D(p({}, Me), {
4808
4808
  transform: Math.round
4809
4809
  }), ph = {
4810
4810
  rotate: Ut,
@@ -4831,7 +4831,7 @@ const mh = /\b([a-z-]*)\(.*?\)/gu, Hr = j(p({}, Gt), {
4831
4831
  originX: vs,
4832
4832
  originY: vs,
4833
4833
  originZ: B
4834
- }, Ni = j(p({
4834
+ }, Ni = D(p({
4835
4835
  // Border props
4836
4836
  borderWidth: B,
4837
4837
  borderTopWidth: B,
@@ -4868,12 +4868,12 @@ const mh = /\b([a-z-]*)\(.*?\)/gu, Hr = j(p({}, Gt), {
4868
4868
  backgroundPositionX: B,
4869
4869
  backgroundPositionY: B
4870
4870
  }, ph), {
4871
- zIndex: Ds,
4871
+ zIndex: js,
4872
4872
  // SVG
4873
4873
  fillOpacity: We,
4874
4874
  strokeOpacity: We,
4875
- numOctaves: Ds
4876
- }), gh = j(p({}, Ni), {
4875
+ numOctaves: js
4876
+ }), gh = D(p({}, Ni), {
4877
4877
  // Color props
4878
4878
  color: Q,
4879
4879
  backgroundColor: Q,
@@ -4973,7 +4973,7 @@ const Ml = (t, e) => e && typeof t == "number" ? e.transform(t) : t;
4973
4973
  function Rl(t) {
4974
4974
  return Wa(t) && "offsetHeight" in t;
4975
4975
  }
4976
- const js = 30, wh = (t) => !isNaN(parseFloat(t));
4976
+ const Ds = 30, wh = (t) => !isNaN(parseFloat(t));
4977
4977
  class Th {
4978
4978
  /**
4979
4979
  * @param init - The initiating value
@@ -5121,9 +5121,9 @@ class Th {
5121
5121
  */
5122
5122
  getVelocity() {
5123
5123
  const e = ft.now();
5124
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > js)
5124
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Ds)
5125
5125
  return 0;
5126
- const n = Math.min(this.updatedAt - this.prevUpdatedAt, js);
5126
+ const n = Math.min(this.updatedAt - this.prevUpdatedAt, Ds);
5127
5127
  return Ga(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
5128
5128
  }
5129
5129
  /**
@@ -5193,8 +5193,8 @@ function Ch(t) {
5193
5193
  Et.x = Et.y = !1;
5194
5194
  });
5195
5195
  }
5196
- function Dl(t, e) {
5197
- const n = xh(t), r = new AbortController(), i = j(p({
5196
+ function jl(t, e) {
5197
+ const n = xh(t), r = new AbortController(), i = D(p({
5198
5198
  passive: !0
5199
5199
  }, e), {
5200
5200
  signal: r.signal
@@ -5205,7 +5205,7 @@ function Vs(t) {
5205
5205
  return !(t.pointerType === "touch" || kl());
5206
5206
  }
5207
5207
  function Sh(t, e, n = {}) {
5208
- const [r, i, s] = Dl(t, n), o = (a) => {
5208
+ const [r, i, s] = jl(t, n), o = (a) => {
5209
5209
  if (!Vs(a))
5210
5210
  return;
5211
5211
  const { target: l } = a, c = e(l, a);
@@ -5220,7 +5220,7 @@ function Sh(t, e, n = {}) {
5220
5220
  a.addEventListener("pointerenter", o, i);
5221
5221
  }), s;
5222
5222
  }
5223
- const jl = (t, e) => e ? t === e ? !0 : jl(t, e.parentElement) : !1, Bi = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, Ph = /* @__PURE__ */ new Set([
5223
+ const Dl = (t, e) => e ? t === e ? !0 : Dl(t, e.parentElement) : !1, Bi = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, Ph = /* @__PURE__ */ new Set([
5224
5224
  "BUTTON",
5225
5225
  "INPUT",
5226
5226
  "SELECT",
@@ -5258,7 +5258,7 @@ function Ns(t) {
5258
5258
  return Bi(t) && !kl();
5259
5259
  }
5260
5260
  function Mh(t, e, n = {}) {
5261
- const [r, i, s] = Dl(t, n), o = (a) => {
5261
+ const [r, i, s] = jl(t, n), o = (a) => {
5262
5262
  const l = a.currentTarget;
5263
5263
  if (!Ns(a))
5264
5264
  return;
@@ -5266,7 +5266,7 @@ function Mh(t, e, n = {}) {
5266
5266
  const c = e(l, a), u = (h, m) => {
5267
5267
  window.removeEventListener("pointerup", f), window.removeEventListener("pointercancel", d), hn.has(l) && hn.delete(l), Ns(h) && typeof c == "function" && c(h, { success: m });
5268
5268
  }, f = (h) => {
5269
- u(h, l === window || l === document || n.useGlobalTarget || jl(l, h.target));
5269
+ u(h, l === window || l === document || n.useGlobalTarget || Dl(l, h.target));
5270
5270
  }, d = (h) => {
5271
5271
  u(h, !1);
5272
5272
  };
@@ -5282,7 +5282,7 @@ function Vl(t) {
5282
5282
  function Rh(t) {
5283
5283
  return Vl(t) && t.tagName === "svg";
5284
5284
  }
5285
- const ct = (t) => !!(t && t.getVelocity), kh = [...Pl, Q, Gt], Dh = (t) => kh.find(Sl(t)), $i = Ft({
5285
+ const ct = (t) => !!(t && t.getVelocity), kh = [...Pl, Q, Gt], jh = (t) => kh.find(Sl(t)), $i = Ft({
5286
5286
  transformPagePoint: (t) => t,
5287
5287
  isStatic: !1,
5288
5288
  reducedMotion: "never"
@@ -5292,7 +5292,7 @@ function Ls(t, e) {
5292
5292
  return t(e);
5293
5293
  t != null && (t.current = e);
5294
5294
  }
5295
- function jh(...t) {
5295
+ function Dh(...t) {
5296
5296
  return (e) => {
5297
5297
  let n = !1;
5298
5298
  const r = t.map((i) => {
@@ -5309,7 +5309,7 @@ function jh(...t) {
5309
5309
  };
5310
5310
  }
5311
5311
  function Vh(...t) {
5312
- return An.useCallback(jh(...t), t);
5312
+ return An.useCallback(Dh(...t), t);
5313
5313
  }
5314
5314
  class Ih extends An.Component {
5315
5315
  getSnapshotBeforeUpdate(e) {
@@ -5400,7 +5400,7 @@ const cn = (t) => t.key || "";
5400
5400
  function Bs(t) {
5401
5401
  const e = [];
5402
5402
  return da.forEach(t, (n) => {
5403
- Dc(n) && e.push(n);
5403
+ jc(n) && e.push(n);
5404
5404
  }), e;
5405
5405
  }
5406
5406
  const $h = ({ children: t, custom: e, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: s = "sync", propagate: o = !1, anchorX: a = "left", root: l }) => {
@@ -5430,8 +5430,8 @@ const $h = ({ children: t, custom: e, initial: n = !0, onExitComplete: r, presen
5430
5430
  else
5431
5431
  return;
5432
5432
  let k = !0;
5433
- y.forEach((D) => {
5434
- D || (k = !1);
5433
+ y.forEach((j) => {
5434
+ j || (k = !1);
5435
5435
  }), k && (M == null || M(), x(m.current), o && (u == null || u()), r && r());
5436
5436
  };
5437
5437
  return g.jsx(Lh, { isPresent: T, initial: !h.current || n ? void 0 : !1, custom: e, presenceAffectsLayout: i, mode: s, root: l, onExitComplete: T ? void 0 : E, anchorX: a, children: S }, P);
@@ -5514,8 +5514,8 @@ function Uh(t, e, n) {
5514
5514
  t.draggable && i.startsWith("onDrag")) && (r[i] = t[i]);
5515
5515
  return r;
5516
5516
  }
5517
- const Dn = /* @__PURE__ */ Ft({});
5518
- function jn(t) {
5517
+ const jn = /* @__PURE__ */ Ft({});
5518
+ function Dn(t) {
5519
5519
  return t !== null && typeof t == "object" && typeof t.start == "function";
5520
5520
  }
5521
5521
  function Ge(t) {
@@ -5531,7 +5531,7 @@ const Oi = [
5531
5531
  "exit"
5532
5532
  ], Fi = ["initial", ...Oi];
5533
5533
  function Vn(t) {
5534
- return jn(t.animate) || Fi.some((e) => Ge(t[e]));
5534
+ return Dn(t.animate) || Fi.some((e) => Ge(t[e]));
5535
5535
  }
5536
5536
  function Bl(t) {
5537
5537
  return !!(Vn(t) || t.variants);
@@ -5547,7 +5547,7 @@ function zh(t, e) {
5547
5547
  return t.inherit !== !1 ? e : {};
5548
5548
  }
5549
5549
  function Wh(t) {
5550
- const { initial: e, animate: n } = zh(t, tt(Dn));
5550
+ const { initial: e, animate: n } = zh(t, tt(jn));
5551
5551
  return Wt(() => ({ initial: e, animate: n }), [Os(e), Os(n)]);
5552
5552
  }
5553
5553
  function Os(t) {
@@ -5579,7 +5579,7 @@ const Le = {
5579
5579
  return typeof i[2 + o] == "number" && (i[2 + o] /= c), typeof i[3 + o] == "number" && (i[3 + o] /= c), s(i);
5580
5580
  }
5581
5581
  }, Gr = {
5582
- borderRadius: j(p({}, Le), {
5582
+ borderRadius: D(p({}, Le), {
5583
5583
  applyTo: [
5584
5584
  "borderTopLeftRadius",
5585
5585
  "borderTopRightRadius",
@@ -5705,13 +5705,13 @@ function Fl(t, f, l, c, u) {
5705
5705
  const { attrs: h, style: m } = t;
5706
5706
  h.transform && (m.transform = h.transform, delete h.transform), (m.transform || h.transformOrigin) && (m.transformOrigin = (y = h.transformOrigin) != null ? y : "50% 50%", delete h.transformOrigin), m.transform && (m.transformBox = (b = u == null ? void 0 : u.transformBox) != null ? b : "fill-box", delete h.transformBox), e !== void 0 && (h.x = e), n !== void 0 && (h.y = n), r !== void 0 && (h.scale = r), i !== void 0 && tm(h, i, s, o, !1);
5707
5707
  }
5708
- const _l = () => j(p({}, Ui()), {
5708
+ const _l = () => D(p({}, Ui()), {
5709
5709
  attrs: {}
5710
5710
  }), Ul = (t) => typeof t == "string" && t.toLowerCase() === "svg";
5711
5711
  function em(t, e, n, r) {
5712
5712
  const i = Wt(() => {
5713
5713
  const s = _l();
5714
- return Fl(s, e, Ul(r), t.transformTemplate, t.style), j(p({}, s.attrs), {
5714
+ return Fl(s, e, Ul(r), t.transformTemplate, t.style), D(p({}, s.attrs), {
5715
5715
  style: p({}, s.style)
5716
5716
  });
5717
5717
  }, [e]);
@@ -5769,8 +5769,8 @@ function zi(t) {
5769
5769
  );
5770
5770
  }
5771
5771
  function rm(t, e, n, { latestValues: r }, i, s = !1) {
5772
- const a = (zi(t) ? em : Zh)(e, r, i, t), l = Uh(e, typeof t == "string", s), c = t !== ma ? j(p(p({}, l), a), { ref: n }) : {}, { children: u } = e, f = Wt(() => ct(u) ? u.get() : u, [u]);
5773
- return jc(t, j(p({}, c), {
5772
+ const a = (zi(t) ? em : Zh)(e, r, i, t), l = Uh(e, typeof t == "string", s), c = t !== ma ? D(p(p({}, l), a), { ref: n }) : {}, { children: u } = e, f = Wt(() => ct(u) ? u.get() : u, [u]);
5773
+ return Dc(t, D(p({}, c), {
5774
5774
  children: f
5775
5775
  }));
5776
5776
  }
@@ -5810,7 +5810,7 @@ function sm(t, e, n, r) {
5810
5810
  let u = n ? n.initial === !1 : !1;
5811
5811
  u = u || o === !1;
5812
5812
  const f = u ? a : o;
5813
- if (f && typeof f != "boolean" && !jn(f)) {
5813
+ if (f && typeof f != "boolean" && !Dn(f)) {
5814
5814
  const h = Array.isArray(f) ? f : [f];
5815
5815
  for (let m = 0; m < h.length; m++) {
5816
5816
  const y = Wi(t, h[m]);
@@ -5832,7 +5832,7 @@ function sm(t, e, n, r) {
5832
5832
  return i;
5833
5833
  }
5834
5834
  const zl = (t) => (e, n) => {
5835
- const r = tt(Dn), i = tt(kn), s = () => im(t, e, r, i);
5835
+ const r = tt(jn), i = tt(kn), s = () => im(t, e, r, i);
5836
5836
  return n ? s() : gi(s);
5837
5837
  };
5838
5838
  function Hi(t, e, n) {
@@ -5877,7 +5877,7 @@ function cm(t, e, n) {
5877
5877
  const Gi = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), um = "framerAppearId", Hl = "data-" + Gi(um), Gl = Ft({});
5878
5878
  function fm(t, e, n, r, i) {
5879
5879
  var y, b;
5880
- const { visualElement: s } = tt(Dn), o = tt(Nl), a = tt(kn), l = tt($i).reducedMotion, c = yt(null);
5880
+ const { visualElement: s } = tt(jn), o = tt(Nl), a = tt(kn), l = tt($i).reducedMotion, c = yt(null);
5881
5881
  r = r || o.renderer, !c.current && r && (c.current = r(t, {
5882
5882
  visualState: e,
5883
5883
  parent: s,
@@ -5933,7 +5933,7 @@ function Yn(t, { forwardMotionProps: e = !1 } = {}, n, r) {
5933
5933
  const i = zi(t) ? am : om;
5934
5934
  function s(c, u) {
5935
5935
  let f;
5936
- const d = j(p(p({}, tt($i)), c), {
5936
+ const d = D(p(p({}, tt($i)), c), {
5937
5937
  layoutId: hm(c)
5938
5938
  }), { isStatic: h } = d, m = Wh(c), y = i(c, h);
5939
5939
  if (!h && yi) {
@@ -5941,7 +5941,7 @@ function Yn(t, { forwardMotionProps: e = !1 } = {}, n, r) {
5941
5941
  const b = pm(d);
5942
5942
  f = b.MeasureLayout, m.visualElement = fm(t, y, d, r, b.ProjectionNode);
5943
5943
  }
5944
- return g.jsxs(Dn.Provider, { value: m, children: [f && m.visualElement ? g.jsx(f, p({ visualElement: m.visualElement }, d)) : null, rm(t, c, cm(y, m.visualElement, u), y, h, e)] });
5944
+ return g.jsxs(jn.Provider, { value: m, children: [f && m.visualElement ? g.jsx(f, p({ visualElement: m.visualElement }, d)) : null, rm(t, c, cm(y, m.visualElement, u), y, h, e)] });
5945
5945
  }
5946
5946
  s.displayName = `motion.${typeof t == "string" ? t : `create(${(l = (a = t.displayName) != null ? a : t.name) != null ? l : ""})`}`;
5947
5947
  const o = Lt(s);
@@ -6284,7 +6284,7 @@ class Sm {
6284
6284
  readValue(e, n) {
6285
6285
  var i;
6286
6286
  let r = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : (i = this.getBaseTargetFromProps(this.props, e)) != null ? i : this.readValueFromInstance(this.current, e, this.options);
6287
- return r != null && (typeof r == "string" && (za(r) || Ha(r)) ? r = parseFloat(r) : !Dh(r) && Gt.test(n) && (r = El(e, n)), this.setBaseTarget(e, ct(r) ? r.get() : r)), ct(r) ? r.get() : r;
6287
+ return r != null && (typeof r == "string" && (za(r) || Ha(r)) ? r = parseFloat(r) : !jh(r) && Gt.test(n) && (r = El(e, n)), this.setBaseTarget(e, ct(r) ? r.get() : r)), ct(r) ? r.get() : r;
6288
6288
  }
6289
6289
  /**
6290
6290
  * Set the base target to later animate back to. This is currently
@@ -6444,14 +6444,14 @@ const Xr = (t) => Array.isArray(t);
6444
6444
  function km(t, e, n) {
6445
6445
  t.hasValue(e) ? t.getValue(e).set(n) : t.addValue(e, Ce(n));
6446
6446
  }
6447
- function Dm(t) {
6447
+ function jm(t) {
6448
6448
  return Xr(t) ? t[t.length - 1] || 0 : t;
6449
6449
  }
6450
- function jm(t, e) {
6450
+ function Dm(t, e) {
6451
6451
  let o = we(t, e) || {}, { transitionEnd: r = {}, transition: i = {} } = o, s = _(o, ["transitionEnd", "transition"]);
6452
6452
  s = p(p({}, s), r);
6453
6453
  for (const a in s) {
6454
- const l = Dm(s[a]);
6454
+ const l = jm(s[a]);
6455
6455
  km(t, a, l);
6456
6456
  }
6457
6457
  }
@@ -6501,7 +6501,7 @@ const qi = (t, e, n, r = {}, i, s) => (o) => {
6501
6501
  const a = Ii(r, t) || {}, l = a.delay || r.delay || 0;
6502
6502
  let { elapsed: c = 0 } = r;
6503
6503
  c = c - /* @__PURE__ */ Rt(l);
6504
- const u = j(p({
6504
+ const u = D(p({
6505
6505
  keyframes: Array.isArray(n) ? n : [null, n],
6506
6506
  ease: "easeOut",
6507
6507
  velocity: e.getVelocity()
@@ -6528,7 +6528,7 @@ const qi = (t, e, n, r = {}, i, s) => (o) => {
6528
6528
  return;
6529
6529
  }
6530
6530
  }
6531
- return a.isSync ? new ji(u) : new oh(u);
6531
+ return a.isSync ? new Di(u) : new oh(u);
6532
6532
  };
6533
6533
  function Um({ protectedKeys: t, needsAnimating: e }, n) {
6534
6534
  const r = t.hasOwnProperty(n) && e[n] !== !0;
@@ -6562,7 +6562,7 @@ function rc(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
6562
6562
  }
6563
6563
  return o && Promise.all(l).then(() => {
6564
6564
  K.update(() => {
6565
- o && jm(t, o);
6565
+ o && Dm(t, o);
6566
6566
  });
6567
6567
  }), l;
6568
6568
  }
@@ -6588,7 +6588,7 @@ function Jr(t, e, n = {}) {
6588
6588
  function zm(t, e, n = 0, r = 0, i = 0, s = 1, o) {
6589
6589
  const a = [];
6590
6590
  for (const l of t.variantChildren)
6591
- l.notify("AnimationStart", e), a.push(Jr(l, e, j(p({}, o), {
6591
+ l.notify("AnimationStart", e), a.push(Jr(l, e, D(p({}, o), {
6592
6592
  delay: n + (typeof r == "function" ? 0 : r) + ic(t.variantChildren, l, r, i, s)
6593
6593
  })).then(() => l.notify("AnimationComplete", e)));
6594
6594
  return Promise.all(a);
@@ -6663,28 +6663,28 @@ function Ym(t) {
6663
6663
  if (S && r && t.manuallyAnimateOnMount && (S = !1), w.protectedKeys = p({}, h), // If it isn't active and hasn't *just* been set as inactive
6664
6664
  !w.isActive && M === null || // If we didn't and don't have any defined prop for this animation type
6665
6665
  !x && !w.prevProp || // Or if the prop doesn't define an animation
6666
- jn(x) || typeof x == "boolean")
6666
+ Dn(x) || typeof x == "boolean")
6667
6667
  continue;
6668
6668
  const P = Xm(w.prevProp, x);
6669
6669
  let T = P || // If we're making this variant active, we want to always make it active
6670
6670
  v === l && w.isActive && !S && C || // If we removed a higher-priority variant (i is in reverse order)
6671
6671
  b > m && C, E = !1;
6672
6672
  const k = Array.isArray(x) ? x : [x];
6673
- let D = k.reduce(i(v), {});
6674
- M === !1 && (D = {});
6675
- const { prevResolvedValues: V = {} } = w, N = p(p({}, V), D), L = (H) => {
6673
+ let j = k.reduce(i(v), {});
6674
+ M === !1 && (j = {});
6675
+ const { prevResolvedValues: V = {} } = w, N = p(p({}, V), j), L = (H) => {
6676
6676
  T = !0, d.has(H) && (E = !0, d.delete(H)), w.needsAnimating[H] = !0;
6677
6677
  const Y = t.getValue(H);
6678
6678
  Y && (Y.liveStyle = !1);
6679
6679
  };
6680
6680
  for (const H in N) {
6681
- const Y = D[H], rt = V[H];
6681
+ const Y = j[H], rt = V[H];
6682
6682
  if (h.hasOwnProperty(H))
6683
6683
  continue;
6684
6684
  let it = !1;
6685
6685
  Xr(Y) && Xr(rt) ? it = !sc(Y, rt) : it = Y !== rt, it ? Y != null ? L(H) : d.add(H) : Y !== void 0 && d.has(H) ? L(H) : w.protectedKeys[H] = !0;
6686
6686
  }
6687
- w.prevProp = x, w.prevResolvedValues = D, w.isActive && (h = p(p({}, h), D)), r && t.blockInitialAnimation && (T = !1);
6687
+ w.prevProp = x, w.prevResolvedValues = j, w.isActive && (h = p(p({}, h), j)), r && t.blockInitialAnimation && (T = !1);
6688
6688
  const et = S && P;
6689
6689
  T && (!et || E) && f.push(...k.map((H) => {
6690
6690
  const Y = { type: v };
@@ -6778,7 +6778,7 @@ class Zm extends Kt {
6778
6778
  }
6779
6779
  updateAnimationControlsSubscription() {
6780
6780
  const { animate: e } = this.node.getProps();
6781
- jn(e) && (this.unmountControls = e.subscribe(this.node));
6781
+ Dn(e) && (this.unmountControls = e.subscribe(this.node));
6782
6782
  }
6783
6783
  /**
6784
6784
  * Subscribe any provided AnimationControls to the component's VisualElement
@@ -6883,7 +6883,7 @@ class uc {
6883
6883
  if (!h && !m)
6884
6884
  return;
6885
6885
  const { point: y } = d, { timestamp: b } = st;
6886
- this.history.push(j(p({}, y), { timestamp: b }));
6886
+ this.history.push(D(p({}, y), { timestamp: b }));
6887
6887
  const { onStart: v, onMove: w } = this.handlers;
6888
6888
  h || (v && v(this.lastMoveEvent, d), this.startEvent = this.lastMoveEvent), w && w(this.lastMoveEvent, d);
6889
6889
  }, this.handlePointerMove = (d, h) => {
@@ -6899,7 +6899,7 @@ class uc {
6899
6899
  return;
6900
6900
  this.dragSnapToOrigin = s, this.handlers = n, this.transformPagePoint = r, this.distanceThreshold = o, this.contextWindow = i || window;
6901
6901
  const a = Qe(e), l = Zn(a, this.transformPagePoint), { point: c } = l, { timestamp: u } = st;
6902
- this.history = [j(p({}, c), { timestamp: u })];
6902
+ this.history = [D(p({}, c), { timestamp: u })];
6903
6903
  const { onSessionStart: f } = n;
6904
6904
  f && f(e, Jn(l, this.history)), this.removeListeners = Xe(Fe(this.contextWindow, "pointermove", this.handlePointerMove), Fe(this.contextWindow, "pointerup", this.handlePointerUp), Fe(this.contextWindow, "pointercancel", this.handlePointerUp));
6905
6905
  }
@@ -7221,7 +7221,7 @@ class vp {
7221
7221
  }
7222
7222
  getProps() {
7223
7223
  const e = this.visualElement.getProps(), { drag: n = !1, dragDirectionLock: r = !1, dragPropagation: i = !1, dragConstraints: s = !1, dragElastic: o = Qr, dragMomentum: a = !0 } = e;
7224
- return j(p({}, e), {
7224
+ return D(p({}, e), {
7225
7225
  drag: n,
7226
7226
  dragDirectionLock: r,
7227
7227
  dragPropagation: i,
@@ -7307,7 +7307,7 @@ class Tp extends Vc {
7307
7307
  const { visualElement: e, layoutGroup: n, switchLayoutGroup: r, layoutId: i } = this.props, { projection: s } = e;
7308
7308
  s && (n.group && n.group.add(s), r && r.register && i && r.register(s), Qn && s.root.didUpdate(), s.addEventListener("animationComplete", () => {
7309
7309
  this.safeToRemove();
7310
- }), s.setOptions(j(p({}, s.options), {
7310
+ }), s.setOptions(D(p({}, s.options), {
7311
7311
  onExitComplete: () => this.safeToRemove()
7312
7312
  }))), pn.hasEverUpdated = !0;
7313
7313
  }
@@ -7338,7 +7338,7 @@ class Tp extends Vc {
7338
7338
  }
7339
7339
  function dc(t) {
7340
7340
  const [e, n] = Il(), r = tt(pi);
7341
- return g.jsx(Tp, j(p({}, t), { layoutGroup: r, switchLayoutGroup: tt(Gl), isPresent: e, safeToRemove: n }));
7341
+ return g.jsx(Tp, D(p({}, t), { layoutGroup: r, switchLayoutGroup: tt(Gl), isPresent: e, safeToRemove: n }));
7342
7342
  }
7343
7343
  function Cp(t, e, n) {
7344
7344
  const r = ct(t) ? t : Ce(t);
@@ -7398,18 +7398,18 @@ function fo(t, e) {
7398
7398
  function ho(t, e, n, r, i) {
7399
7399
  return t -= e, t = Tn(t, 1 / n, r), i !== void 0 && (t = Tn(t, 1 / i, r)), t;
7400
7400
  }
7401
- function Dp(t, e = 0, n = 1, r = 0.5, i, s = t, o = t) {
7401
+ function jp(t, e = 0, n = 1, r = 0.5, i, s = t, o = t) {
7402
7402
  if (Vt.test(e) && (e = parseFloat(e), e = Z(o.min, o.max, e / 100) - o.min), typeof e != "number")
7403
7403
  return;
7404
7404
  let a = Z(s.min, s.max, r);
7405
7405
  t === s && (a -= e), t.min = ho(t.min, e, n, a, i), t.max = ho(t.max, e, n, a, i);
7406
7406
  }
7407
7407
  function mo(t, e, [n, r, i], s, o) {
7408
- Dp(t, e[n], e[r], e[i], e.scale, s, o);
7408
+ jp(t, e[n], e[r], e[i], e.scale, s, o);
7409
7409
  }
7410
- const jp = ["x", "scaleX", "originX"], Vp = ["y", "scaleY", "originY"];
7410
+ const Dp = ["x", "scaleX", "originX"], Vp = ["y", "scaleY", "originY"];
7411
7411
  function po(t, e, n, r) {
7412
- mo(t.x, e, jp, n ? n.x : void 0, r ? r.x : void 0), mo(t.y, e, Vp, n ? n.y : void 0, r ? r.y : void 0);
7412
+ mo(t.x, e, Dp, n ? n.x : void 0, r ? r.x : void 0), mo(t.y, e, Vp, n ? n.y : void 0, r ? r.y : void 0);
7413
7413
  }
7414
7414
  function go(t) {
7415
7415
  return t.translate === 0 && t.scale === 1;
@@ -7567,7 +7567,7 @@ function vc({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
7567
7567
  const m = this.options.transition || c.getDefaultTransition() || Zp, { onLayoutAnimationStart: y, onLayoutAnimationComplete: b } = c.getProps(), v = !this.targetLayout || !gc(this.targetLayout, h), w = !f && d;
7568
7568
  if (this.options.layoutRoot || this.resumeFrom || w || f && (v || !this.currentAnimation)) {
7569
7569
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
7570
- const x = j(p({}, Ii(m, "layout")), {
7570
+ const x = D(p({}, Ii(m, "layout")), {
7571
7571
  onPlay: y,
7572
7572
  onComplete: b
7573
7573
  });
@@ -7747,7 +7747,7 @@ function vc({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
7747
7747
  this.targetDelta = o, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
7748
7748
  }
7749
7749
  setOptions(o) {
7750
- this.options = j(p(p({}, this.options), o), {
7750
+ this.options = D(p(p({}, this.options), o), {
7751
7751
  crossfade: o.crossfade !== void 0 ? o.crossfade : !0
7752
7752
  });
7753
7753
  }
@@ -7834,7 +7834,7 @@ function vc({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
7834
7834
  startAnimation(o) {
7835
7835
  var a, l, c;
7836
7836
  this.notifyListeners("animationStart"), (a = this.currentAnimation) == null || a.stop(), (c = (l = this.resumingFrom) == null ? void 0 : l.currentAnimation) == null || c.stop(), this.pendingAnimation && (Ht(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = K.update(() => {
7837
- pn.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = Ce(0)), this.currentAnimation = Cp(this.motionValue, [0, 1e3], j(p({}, o), {
7837
+ pn.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = Ce(0)), this.currentAnimation = Cp(this.motionValue, [0, 1e3], D(p({}, o), {
7838
7838
  velocity: 0,
7839
7839
  isSync: !0,
7840
7840
  onUpdate: (u) => {
@@ -8252,7 +8252,7 @@ var wc = {
8252
8252
  className: void 0,
8253
8253
  style: void 0,
8254
8254
  attr: void 0
8255
- }, Do = zt.createContext && /* @__PURE__ */ zt.createContext(wc), g0 = ["attr", "size", "title"];
8255
+ }, jo = zt.createContext && /* @__PURE__ */ zt.createContext(wc), g0 = ["attr", "size", "title"];
8256
8256
  function y0(t, e) {
8257
8257
  if (t == null) return {};
8258
8258
  var n = v0(t, e), r, i;
@@ -8283,7 +8283,7 @@ function Sn() {
8283
8283
  return t;
8284
8284
  }, Sn.apply(this, arguments);
8285
8285
  }
8286
- function jo(t, e) {
8286
+ function Do(t, e) {
8287
8287
  var n = Object.keys(t);
8288
8288
  if (Object.getOwnPropertySymbols) {
8289
8289
  var r = Object.getOwnPropertySymbols(t);
@@ -8296,9 +8296,9 @@ function jo(t, e) {
8296
8296
  function Pn(t) {
8297
8297
  for (var e = 1; e < arguments.length; e++) {
8298
8298
  var n = arguments[e] != null ? arguments[e] : {};
8299
- e % 2 ? jo(Object(n), !0).forEach(function(r) {
8299
+ e % 2 ? Do(Object(n), !0).forEach(function(r) {
8300
8300
  b0(t, r, n[r]);
8301
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : jo(Object(n)).forEach(function(r) {
8301
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Do(Object(n)).forEach(function(r) {
8302
8302
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
8303
8303
  });
8304
8304
  }
@@ -8352,7 +8352,7 @@ function T0(t) {
8352
8352
  xmlns: "http://www.w3.org/2000/svg"
8353
8353
  }), s && /* @__PURE__ */ zt.createElement("title", null, s), t.children);
8354
8354
  };
8355
- return Do !== void 0 ? /* @__PURE__ */ zt.createElement(Do.Consumer, null, (n) => e(n)) : e(wc);
8355
+ return jo !== void 0 ? /* @__PURE__ */ zt.createElement(jo.Consumer, null, (n) => e(n)) : e(wc);
8356
8356
  }
8357
8357
  function C0(t) {
8358
8358
  return Ki({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "48", d: "m184 112 144 144-144 144" }, child: [] }] })(t);
@@ -8398,7 +8398,7 @@ const Vo = {
8398
8398
  buttonRadius: "6px"
8399
8399
  }, Io = {
8400
8400
  default: Vo,
8401
- night: j(p({}, Vo), {
8401
+ night: D(p({}, Vo), {
8402
8402
  primary: "#0085FF",
8403
8403
  mainBackground: "#14171D",
8404
8404
  innerBackground: "#1a1d24",
@@ -8523,7 +8523,7 @@ const Vo = {
8523
8523
  },
8524
8524
  t
8525
8525
  );
8526
- }, M0 = "data:image/svg+xml,%3csvg%20width='24'%20height='23.5'%20viewBox='0%200%2048%2047'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M43.972%200H3.56125C1.75696%200%200.294922%201.46203%200.294922%203.26633V43.677C0.294922%2045.4813%201.75696%2046.9434%203.56125%2046.9434H43.972C45.7763%2046.9434%2047.2383%2045.4813%2047.2383%2043.677V3.26633C47.2383%201.46203%2045.7763%200%2043.972%200ZM39.7896%2030.1883C39.7896%2035.0097%2035.8685%2038.9309%2031.0471%2038.9309C28.3506%2038.9309%2025.9349%2037.7023%2024.3304%2035.7773C22.726%2037.7023%2020.3104%2038.9309%2017.6138%2038.9309C12.7924%2038.9309%208.87127%2035.0097%208.87127%2030.1883V10.0384C8.87127%208.92059%209.77737%208.0125%2010.8971%208.0125C12.0169%208.0125%2012.923%208.91861%2012.923%2010.0384V30.1903C12.923%2032.7781%2015.028%2034.8831%2017.6158%2034.8831C20.2035%2034.8831%2022.3085%2032.7781%2022.3085%2030.1903V22.1897C22.3085%2021.0719%2023.2146%2020.1638%2024.3344%2020.1638C25.4542%2020.1638%2026.3603%2021.0699%2026.3603%2022.1897V30.1903C26.3603%2032.7781%2028.4653%2034.8831%2031.053%2034.8831C33.6408%2034.8831%2035.7458%2032.7781%2035.7458%2030.1903V10.0384C35.7458%208.92059%2036.6519%208.0125%2037.7717%208.0125C38.8914%208.0125%2039.7975%208.91861%2039.7975%2010.0384V30.1903L39.7896%2030.1883Z'%20fill='white'%20class='group-hover:fill-[%23BF1B1B]'%3e%3c/path%3e%3c/svg%3e", R0 = "data:image/svg+xml,%3csvg%20width='24'%20height='23.5'%20viewBox='0%200%2048%2047'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M43.9654%200H3.55466C1.75037%200%200.28833%201.46203%200.28833%203.26633V43.677C0.28833%2045.4813%201.75037%2046.9434%203.55466%2046.9434H43.9654C45.7697%2046.9434%2047.2317%2045.4813%2047.2317%2043.677V3.26633C47.2317%201.46203%2045.7697%200%2043.9654%200ZM39.785%2030.1883C39.785%2035.0097%2035.8638%2038.9309%2031.0425%2038.9309H10.8906C9.77276%2038.9309%208.86468%2038.0248%208.86468%2036.905C8.86468%2035.7852%209.77078%2034.8791%2010.8906%2034.8791H31.0425C33.6302%2034.8791%2035.7352%2032.7741%2035.7352%2030.1864C35.7352%2027.5986%2033.6302%2025.4936%2031.0425%2025.4936H23.0419C21.9241%2025.4936%2021.016%2024.5875%2021.016%2023.4677C21.016%2022.348%2021.9221%2021.4419%2023.0419%2021.4419H31.0425C33.6302%2021.4419%2035.7352%2019.3368%2035.7352%2016.7491C35.7352%2014.1614%2033.6302%2012.0563%2031.0425%2012.0563H10.8906C9.77276%2012.0563%208.86468%2011.1502%208.86468%2010.0305C8.86468%208.9107%209.77078%208.00459%2010.8906%208.00459H31.0425C35.8638%208.00459%2039.785%2011.9258%2039.785%2016.7471C39.785%2019.4437%2038.5564%2021.8593%2036.6315%2023.4638C38.5564%2025.0683%2039.785%2027.4839%2039.785%2030.1804V30.1883Z'%20fill='white'%20class='group-hover:fill-[%23FF3223]'%3e%3c/path%3e%3c/svg%3e", k0 = "data:image/svg+xml,%3csvg%20width='14.5'%20height='11'%20viewBox='0%200%2029%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4597%205.22243C16.6803%203.79799%2016.2708%204.07496%2018.1384%202.86616C18.6825%202.60897%2018.8744%202.06096%2018.7141%201.47535C18.5539%200.889747%2017.9129%200.632558%2017.4658%200.816549C15.6714%201.691%2014.8523%202.698%2014.2608%203.44781C13.9066%203.87515%2013.7939%204.52802%2014.1144%205.00283C14.4349%205.47963%2015.0422%205.58844%2015.4597%205.22243Z'%20fill='white'%3e%3c/path%3e%3cpath%20d='M28.2084%2010.9678C28.1055%2010.3169%2027.4586%2010.123%2027.0412%2010.2694C26.6257%2010.4158%2026.3685%2010.8926%2026.3685%2011.4782C26.3685%2012.687%2026.1449%2013.969%2025.7275%2015.1759C25.0232%2017.0811%2023.5176%2019.0575%2022.4295%2019.3127C22.3979%2019.2395%2022.3346%2018.9467%2022.3346%2018.5807C22.3346%2016.8239%2023.3594%2013.4547%2025.9194%209.97664C26.2716%209.53744%2026.2083%208.84302%2025.7908%208.43943C25.407%208.03584%2024.7996%208.10904%2024.4455%208.58583C23.8401%209.41082%2023.306%2010.2398%2022.8351%2011.0588C22.8054%2011.0747%2022.7777%2011.0925%2022.748%2011.1122C15.7702%2015.9831%2012.1241%2019.2791%209.72427%2019.2791C9.72427%2019.1683%209.75592%2018.9863%209.97948%2018.3631L13.3091%209.72143C13.5327%209.17144%2013.3091%208.51263%2012.8284%208.29303C12.3476%208.03584%2011.7719%208.29303%2011.58%208.84302L8.09012%2017.8863C7.44912%2019.5343%207.99318%2021.5107%209.72229%2021.5107C12.1221%2021.5107%2015.3706%2018.9506%2021.0862%2014.8969C20.6391%2016.2442%2020.4096%2017.4985%2020.4096%2018.5827C20.4096%2019.9003%2020.9536%2021.5127%2022.3623%2021.5127C24.1863%2021.5127%2026.5228%2018.8042%2027.516%2015.9831C27.7395%2015.3242%2028.0126%2014.1708%2028.0759%2013.6782C28.1392%2013.1856%2028.3054%2011.6207%2028.2025%2010.9698L28.2084%2010.9678Z'%20fill='white'%3e%3c/path%3e%3cpath%20d='M1.16597%2019.376C0.576406%2019.376%200.0996094%2019.8528%200.0996094%2020.4423C0.0996094%2021.0319%200.576406%2021.5087%201.16597%2021.5087C1.75553%2021.5087%202.23232%2021.0319%202.23232%2020.4423C2.23232%2019.8528%201.75553%2019.376%201.16597%2019.376Z'%20fill='white'%3e%3c/path%3e%3c/svg%3e", D0 = ({ style: t }) => /* @__PURE__ */ g.jsx(
8526
+ }, M0 = "data:image/svg+xml,%3csvg%20width='24'%20height='23.5'%20viewBox='0%200%2048%2047'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M43.972%200H3.56125C1.75696%200%200.294922%201.46203%200.294922%203.26633V43.677C0.294922%2045.4813%201.75696%2046.9434%203.56125%2046.9434H43.972C45.7763%2046.9434%2047.2383%2045.4813%2047.2383%2043.677V3.26633C47.2383%201.46203%2045.7763%200%2043.972%200ZM39.7896%2030.1883C39.7896%2035.0097%2035.8685%2038.9309%2031.0471%2038.9309C28.3506%2038.9309%2025.9349%2037.7023%2024.3304%2035.7773C22.726%2037.7023%2020.3104%2038.9309%2017.6138%2038.9309C12.7924%2038.9309%208.87127%2035.0097%208.87127%2030.1883V10.0384C8.87127%208.92059%209.77737%208.0125%2010.8971%208.0125C12.0169%208.0125%2012.923%208.91861%2012.923%2010.0384V30.1903C12.923%2032.7781%2015.028%2034.8831%2017.6158%2034.8831C20.2035%2034.8831%2022.3085%2032.7781%2022.3085%2030.1903V22.1897C22.3085%2021.0719%2023.2146%2020.1638%2024.3344%2020.1638C25.4542%2020.1638%2026.3603%2021.0699%2026.3603%2022.1897V30.1903C26.3603%2032.7781%2028.4653%2034.8831%2031.053%2034.8831C33.6408%2034.8831%2035.7458%2032.7781%2035.7458%2030.1903V10.0384C35.7458%208.92059%2036.6519%208.0125%2037.7717%208.0125C38.8914%208.0125%2039.7975%208.91861%2039.7975%2010.0384V30.1903L39.7896%2030.1883Z'%20fill='white'%20class='group-hover:fill-[%23BF1B1B]'%3e%3c/path%3e%3c/svg%3e", R0 = "data:image/svg+xml,%3csvg%20width='24'%20height='23.5'%20viewBox='0%200%2048%2047'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M43.9654%200H3.55466C1.75037%200%200.28833%201.46203%200.28833%203.26633V43.677C0.28833%2045.4813%201.75037%2046.9434%203.55466%2046.9434H43.9654C45.7697%2046.9434%2047.2317%2045.4813%2047.2317%2043.677V3.26633C47.2317%201.46203%2045.7697%200%2043.9654%200ZM39.785%2030.1883C39.785%2035.0097%2035.8638%2038.9309%2031.0425%2038.9309H10.8906C9.77276%2038.9309%208.86468%2038.0248%208.86468%2036.905C8.86468%2035.7852%209.77078%2034.8791%2010.8906%2034.8791H31.0425C33.6302%2034.8791%2035.7352%2032.7741%2035.7352%2030.1864C35.7352%2027.5986%2033.6302%2025.4936%2031.0425%2025.4936H23.0419C21.9241%2025.4936%2021.016%2024.5875%2021.016%2023.4677C21.016%2022.348%2021.9221%2021.4419%2023.0419%2021.4419H31.0425C33.6302%2021.4419%2035.7352%2019.3368%2035.7352%2016.7491C35.7352%2014.1614%2033.6302%2012.0563%2031.0425%2012.0563H10.8906C9.77276%2012.0563%208.86468%2011.1502%208.86468%2010.0305C8.86468%208.9107%209.77078%208.00459%2010.8906%208.00459H31.0425C35.8638%208.00459%2039.785%2011.9258%2039.785%2016.7471C39.785%2019.4437%2038.5564%2021.8593%2036.6315%2023.4638C38.5564%2025.0683%2039.785%2027.4839%2039.785%2030.1804V30.1883Z'%20fill='white'%20class='group-hover:fill-[%23FF3223]'%3e%3c/path%3e%3c/svg%3e", k0 = "data:image/svg+xml,%3csvg%20width='14.5'%20height='11'%20viewBox='0%200%2029%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4597%205.22243C16.6803%203.79799%2016.2708%204.07496%2018.1384%202.86616C18.6825%202.60897%2018.8744%202.06096%2018.7141%201.47535C18.5539%200.889747%2017.9129%200.632558%2017.4658%200.816549C15.6714%201.691%2014.8523%202.698%2014.2608%203.44781C13.9066%203.87515%2013.7939%204.52802%2014.1144%205.00283C14.4349%205.47963%2015.0422%205.58844%2015.4597%205.22243Z'%20fill='white'%3e%3c/path%3e%3cpath%20d='M28.2084%2010.9678C28.1055%2010.3169%2027.4586%2010.123%2027.0412%2010.2694C26.6257%2010.4158%2026.3685%2010.8926%2026.3685%2011.4782C26.3685%2012.687%2026.1449%2013.969%2025.7275%2015.1759C25.0232%2017.0811%2023.5176%2019.0575%2022.4295%2019.3127C22.3979%2019.2395%2022.3346%2018.9467%2022.3346%2018.5807C22.3346%2016.8239%2023.3594%2013.4547%2025.9194%209.97664C26.2716%209.53744%2026.2083%208.84302%2025.7908%208.43943C25.407%208.03584%2024.7996%208.10904%2024.4455%208.58583C23.8401%209.41082%2023.306%2010.2398%2022.8351%2011.0588C22.8054%2011.0747%2022.7777%2011.0925%2022.748%2011.1122C15.7702%2015.9831%2012.1241%2019.2791%209.72427%2019.2791C9.72427%2019.1683%209.75592%2018.9863%209.97948%2018.3631L13.3091%209.72143C13.5327%209.17144%2013.3091%208.51263%2012.8284%208.29303C12.3476%208.03584%2011.7719%208.29303%2011.58%208.84302L8.09012%2017.8863C7.44912%2019.5343%207.99318%2021.5107%209.72229%2021.5107C12.1221%2021.5107%2015.3706%2018.9506%2021.0862%2014.8969C20.6391%2016.2442%2020.4096%2017.4985%2020.4096%2018.5827C20.4096%2019.9003%2020.9536%2021.5127%2022.3623%2021.5127C24.1863%2021.5127%2026.5228%2018.8042%2027.516%2015.9831C27.7395%2015.3242%2028.0126%2014.1708%2028.0759%2013.6782C28.1392%2013.1856%2028.3054%2011.6207%2028.2025%2010.9698L28.2084%2010.9678Z'%20fill='white'%3e%3c/path%3e%3cpath%20d='M1.16597%2019.376C0.576406%2019.376%200.0996094%2019.8528%200.0996094%2020.4423C0.0996094%2021.0319%200.576406%2021.5087%201.16597%2021.5087C1.75553%2021.5087%202.23232%2021.0319%202.23232%2020.4423C2.23232%2019.8528%201.75553%2019.376%201.16597%2019.376Z'%20fill='white'%3e%3c/path%3e%3c/svg%3e", j0 = ({ style: t }) => /* @__PURE__ */ g.jsx(
8527
8527
  ot,
8528
8528
  {
8529
8529
  justify: "center",
@@ -8617,8 +8617,8 @@ const Vo = {
8617
8617
  "size"
8618
8618
  ]);
8619
8619
  const s = ei[t];
8620
- return /* @__PURE__ */ g.jsx(re, j(p({ size: e, color: s.color }, n), { children: s.symbol }));
8621
- }, j0 = {
8620
+ return /* @__PURE__ */ g.jsx(re, D(p({ size: e, color: s.color }, n), { children: s.symbol }));
8621
+ }, D0 = {
8622
8622
  coinbase: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iMTAiIGZpbGw9IiMwMDUyRkYiLz4KPHJlY3QgeD0iOSIgeT0iOSIgd2lkdGg9IjYiIGhlaWdodD0iNiIgcng9IjEiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPg==",
8623
8623
  kraken: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iMTAiIGZpbGw9IiM1NzQxOUEiLz4KPHBhdGggZD0iTTggN0wxNiA5VjE3TDggMTVWN1oiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPg==",
8624
8624
  binance: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iMTAiIGZpbGw9IiNGM0JBMkYiLz4KPHBhdGggZD0iTTEyIDZMMTUgOVYxNUwxMiAxOEw5IDE1VjlMMTIgNloiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPg=="
@@ -8630,7 +8630,7 @@ const Vo = {
8630
8630
  "exchange",
8631
8631
  "size"
8632
8632
  ]);
8633
- const s = j0[t];
8633
+ const s = D0[t];
8634
8634
  return /* @__PURE__ */ g.jsx(re, p({ size: e, src: s, alt: t }, n));
8635
8635
  };
8636
8636
  var de = {}, ir, Lo;
@@ -9819,11 +9819,11 @@ function X0() {
9819
9819
  for (let S = 0; S < v.length; S++) {
9820
9820
  const P = v[S], T = [];
9821
9821
  for (let E = 0; E < P.length; E++) {
9822
- const k = P[E], D = "" + S + E;
9823
- T.push(D), x[D] = { node: k, lastCount: 0 }, C[D] = {};
9822
+ const k = P[E], j = "" + S + E;
9823
+ T.push(j), x[j] = { node: k, lastCount: 0 }, C[j] = {};
9824
9824
  for (let V = 0; V < M.length; V++) {
9825
9825
  const N = M[V];
9826
- x[N] && x[N].node.mode === k.mode ? (C[N][D] = d(x[N].lastCount + k.length, k.mode) - d(x[N].lastCount, k.mode), x[N].lastCount += k.length) : (x[N] && (x[N].lastCount = k.length), C[N][D] = d(k.length, k.mode) + 4 + e.getCharCountIndicator(k.mode, w));
9826
+ x[N] && x[N].node.mode === k.mode ? (C[N][j] = d(x[N].lastCount + k.length, k.mode) - d(x[N].lastCount, k.mode), x[N].lastCount += k.length) : (x[N] && (x[N].lastCount = k.length), C[N][j] = d(k.length, k.mode) + 4 + e.getCharCountIndicator(k.mode, w));
9827
9827
  }
9828
9828
  }
9829
9829
  M = T;
@@ -9873,11 +9873,11 @@ function Z0() {
9873
9873
  function h(S, P) {
9874
9874
  const T = S.size, E = s.getPositions(P);
9875
9875
  for (let k = 0; k < E.length; k++) {
9876
- const D = E[k][0], V = E[k][1];
9876
+ const j = E[k][0], V = E[k][1];
9877
9877
  for (let N = -1; N <= 7; N++)
9878
- if (!(D + N <= -1 || T <= D + N))
9878
+ if (!(j + N <= -1 || T <= j + N))
9879
9879
  for (let L = -1; L <= 7; L++)
9880
- V + L <= -1 || T <= V + L || (N >= 0 && N <= 6 && (L === 0 || L === 6) || L >= 0 && L <= 6 && (N === 0 || N === 6) || N >= 2 && N <= 4 && L >= 2 && L <= 4 ? S.set(D + N, V + L, !0, !0) : S.set(D + N, V + L, !1, !0));
9880
+ V + L <= -1 || T <= V + L || (N >= 0 && N <= 6 && (L === 0 || L === 6) || L >= 0 && L <= 6 && (N === 0 || N === 6) || N >= 2 && N <= 4 && L >= 2 && L <= 4 ? S.set(j + N, V + L, !0, !0) : S.set(j + N, V + L, !1, !0));
9881
9881
  }
9882
9882
  }
9883
9883
  function m(S) {
@@ -9890,34 +9890,34 @@ function Z0() {
9890
9890
  function y(S, P) {
9891
9891
  const T = i.getPositions(P);
9892
9892
  for (let E = 0; E < T.length; E++) {
9893
- const k = T[E][0], D = T[E][1];
9893
+ const k = T[E][0], j = T[E][1];
9894
9894
  for (let V = -2; V <= 2; V++)
9895
9895
  for (let N = -2; N <= 2; N++)
9896
- V === -2 || V === 2 || N === -2 || N === 2 || V === 0 && N === 0 ? S.set(k + V, D + N, !0, !0) : S.set(k + V, D + N, !1, !0);
9896
+ V === -2 || V === 2 || N === -2 || N === 2 || V === 0 && N === 0 ? S.set(k + V, j + N, !0, !0) : S.set(k + V, j + N, !1, !0);
9897
9897
  }
9898
9898
  }
9899
9899
  function b(S, P) {
9900
9900
  const T = S.size, E = c.getEncodedBits(P);
9901
- let k, D, V;
9901
+ let k, j, V;
9902
9902
  for (let N = 0; N < 18; N++)
9903
- k = Math.floor(N / 3), D = N % 3 + T - 8 - 3, V = (E >> N & 1) === 1, S.set(k, D, V, !0), S.set(D, k, V, !0);
9903
+ k = Math.floor(N / 3), j = N % 3 + T - 8 - 3, V = (E >> N & 1) === 1, S.set(k, j, V, !0), S.set(j, k, V, !0);
9904
9904
  }
9905
9905
  function v(S, P, T) {
9906
9906
  const E = S.size, k = u.getEncodedBits(P, T);
9907
- let D, V;
9908
- for (D = 0; D < 15; D++)
9909
- V = (k >> D & 1) === 1, D < 6 ? S.set(D, 8, V, !0) : D < 8 ? S.set(D + 1, 8, V, !0) : S.set(E - 15 + D, 8, V, !0), D < 8 ? S.set(8, E - D - 1, V, !0) : D < 9 ? S.set(8, 15 - D - 1 + 1, V, !0) : S.set(8, 15 - D - 1, V, !0);
9907
+ let j, V;
9908
+ for (j = 0; j < 15; j++)
9909
+ V = (k >> j & 1) === 1, j < 6 ? S.set(j, 8, V, !0) : j < 8 ? S.set(j + 1, 8, V, !0) : S.set(E - 15 + j, 8, V, !0), j < 8 ? S.set(8, E - j - 1, V, !0) : j < 9 ? S.set(8, 15 - j - 1 + 1, V, !0) : S.set(8, 15 - j - 1, V, !0);
9910
9910
  S.set(E - 8, 8, 1, !0);
9911
9911
  }
9912
9912
  function w(S, P) {
9913
9913
  const T = S.size;
9914
- let E = -1, k = T - 1, D = 7, V = 0;
9914
+ let E = -1, k = T - 1, j = 7, V = 0;
9915
9915
  for (let N = T - 1; N > 0; N -= 2)
9916
9916
  for (N === 6 && N--; ; ) {
9917
9917
  for (let L = 0; L < 2; L++)
9918
9918
  if (!S.isReserved(k, N - L)) {
9919
9919
  let et = !1;
9920
- V < P.length && (et = (P[V] >>> D & 1) === 1), S.set(k, N - L, et), D--, D === -1 && (V++, D = 7);
9920
+ V < P.length && (et = (P[V] >>> j & 1) === 1), S.set(k, N - L, et), j--, j === -1 && (V++, j = 7);
9921
9921
  }
9922
9922
  if (k += E, k < 0 || T <= k) {
9923
9923
  k -= E, E = -E;
@@ -9930,7 +9930,7 @@ function Z0() {
9930
9930
  T.forEach(function(L) {
9931
9931
  E.put(L.mode.bit, 4), E.put(L.getLength(), f.getCharCountIndicator(L.mode, S)), L.write(E);
9932
9932
  });
9933
- const k = t.getSymbolTotalCodewords(S), D = a.getTotalCodewordsCount(S, P), V = (k - D) * 8;
9933
+ const k = t.getSymbolTotalCodewords(S), j = a.getTotalCodewordsCount(S, P), V = (k - j) * 8;
9934
9934
  for (E.getLengthInBits() + 4 <= V && E.put(0, 4); E.getLengthInBits() % 8 !== 0; )
9935
9935
  E.putBit(0);
9936
9936
  const N = (V - E.getLengthInBits()) / 8;
@@ -9939,7 +9939,7 @@ function Z0() {
9939
9939
  return C(E, S, P);
9940
9940
  }
9941
9941
  function C(S, P, T) {
9942
- const E = t.getSymbolTotalCodewords(P), k = a.getTotalCodewordsCount(P, T), D = E - k, V = a.getBlocksCount(P, T), N = E % V, L = V - N, et = Math.floor(E / V), mt = Math.floor(D / V), H = mt + 1, Y = et - mt, rt = new l(Y);
9942
+ const E = t.getSymbolTotalCodewords(P), k = a.getTotalCodewordsCount(P, T), j = E - k, V = a.getBlocksCount(P, T), N = E % V, L = V - N, et = Math.floor(E / V), mt = Math.floor(j / V), H = mt + 1, Y = et - mt, rt = new l(Y);
9943
9943
  let it = 0;
9944
9944
  const A = new Array(V), $ = new Array(V);
9945
9945
  let U = 0;
@@ -9971,16 +9971,16 @@ function Z0() {
9971
9971
  k = d.fromString(S, et || 40);
9972
9972
  } else
9973
9973
  throw new Error("Invalid data");
9974
- const D = c.getBestVersionForData(k, T);
9975
- if (!D)
9974
+ const j = c.getBestVersionForData(k, T);
9975
+ if (!j)
9976
9976
  throw new Error("The amount of data is too big to be stored in a QR Code");
9977
9977
  if (!P)
9978
- P = D;
9979
- else if (P < D)
9978
+ P = j;
9979
+ else if (P < j)
9980
9980
  throw new Error(
9981
9981
  `
9982
9982
  The chosen QR Code version cannot contain this amount of data.
9983
- Minimum version required to store current data is: ` + D + `.
9983
+ Minimum version required to store current data is: ` + j + `.
9984
9984
  `
9985
9985
  );
9986
9986
  const V = x(P, T, k), N = t.getSymbolSize(P), L = new r(N);
@@ -9998,8 +9998,8 @@ Minimum version required to store current data is: ` + D + `.
9998
9998
  return sr.create = function(P, T) {
9999
9999
  if (typeof P == "undefined" || P === "")
10000
10000
  throw new Error("No input text");
10001
- let E = e.M, k, D;
10002
- return typeof T != "undefined" && (E = e.from(T.errorCorrectionLevel, e.M), k = c.from(T.version), D = o.from(T.maskPattern), T.toSJISFunc && t.setToSJISFunction(T.toSJISFunc)), M(P, k, E, D);
10001
+ let E = e.M, k, j;
10002
+ return typeof T != "undefined" && (E = e.from(T.errorCorrectionLevel, e.M), k = c.from(T.version), j = o.from(T.maskPattern), T.toSJISFunc && t.setToSJISFunction(T.toSJISFunc)), M(P, k, E, j);
10003
10003
  }, sr;
10004
10004
  }
10005
10005
  var Sr = {}, Pr = {}, oa;
@@ -10221,7 +10221,7 @@ const sg = "_widget_1upbe_3", ua = {
10221
10221
  onClose: k
10222
10222
  }) => {
10223
10223
  var J;
10224
- const D = A0(c, u), [V] = at(i), [N, L] = at([]), [et, mt] = at(!0), [H, Y] = at(
10224
+ const j = A0(c, u), [V] = at(i), [N, L] = at([]), [et, mt] = at(!0), [H, Y] = at(
10225
10225
  null
10226
10226
  ), [rt, it] = at(!1), [A, $] = at(""), [U, W] = at(""), [pt, St] = at(!1);
10227
10227
  dt(() => {
@@ -10307,14 +10307,14 @@ const sg = "_widget_1upbe_3", ua = {
10307
10307
  if (Pt.ok)
10308
10308
  if ((lt = xt.session) != null && lt.id && ((gt = xt.session) != null && gt.vendor))
10309
10309
  try {
10310
- const De = window.atob(xt.session.id), In = (window.screen.width - 500) / 2, Nn = (window.screen.height - 700) / 2;
10310
+ const je = window.atob(xt.session.id), In = (window.screen.width - 500) / 2, Nn = (window.screen.height - 700) / 2;
10311
10311
  window.open(
10312
- De,
10312
+ je,
10313
10313
  `${z.vendor}-checkout`,
10314
10314
  `width=500,height=700,left=${In},top=${Nn}`
10315
10315
  ), T == null || T(xt);
10316
- } catch (De) {
10317
- console.error("Failed to decode checkout URL:", De), T == null || T(xt);
10316
+ } catch (je) {
10317
+ console.error("Failed to decode checkout URL:", je), T == null || T(xt);
10318
10318
  }
10319
10319
  else
10320
10320
  T == null || T(xt);
@@ -10328,7 +10328,7 @@ const sg = "_widget_1upbe_3", ua = {
10328
10328
  }
10329
10329
  }
10330
10330
  });
10331
- return et ? /* @__PURE__ */ g.jsx(Rr, { cssVariablesSelector: "[data-w3-payment-widget]", children: /* @__PURE__ */ g.jsx(he, { className: ua.widget, style: D, children: /* @__PURE__ */ g.jsxs(Dt, { align: "center", justify: "center", h: "600px", children: [
10331
+ return et ? /* @__PURE__ */ g.jsx(Rr, { cssVariablesSelector: "[data-w3-payment-widget]", children: /* @__PURE__ */ g.jsx(he, { className: ua.widget, style: j, children: /* @__PURE__ */ g.jsxs(jt, { align: "center", justify: "center", h: "600px", children: [
10332
10332
  /* @__PURE__ */ g.jsx(Te, {}),
10333
10333
  /* @__PURE__ */ g.jsx(G, { children: "Loading..." })
10334
10334
  ] }) }) }) : /* @__PURE__ */ g.jsx(Rr, { cssVariablesSelector: "[data-w3-payment-widget]", children: /* @__PURE__ */ g.jsx(
@@ -10341,7 +10341,7 @@ const sg = "_widget_1upbe_3", ua = {
10341
10341
  style: p({
10342
10342
  height: "600px",
10343
10343
  backgroundColor: "var(--w3-mainBackground)"
10344
- }, D),
10344
+ }, j),
10345
10345
  "data-w3-payment-widget": !0,
10346
10346
  children: /* @__PURE__ */ g.jsxs(
10347
10347
  O,
@@ -10403,10 +10403,10 @@ const sg = "_widget_1upbe_3", ua = {
10403
10403
  /* @__PURE__ */ g.jsx(O, { style: { flex: 1, position: "relative", overflow: "hidden" }, children: /* @__PURE__ */ g.jsx($h, { mode: "wait", children: rt ? /* @__PURE__ */ g.jsx(
10404
10404
  p0.div,
10405
10405
  {
10406
- initial: { opacity: 0, x: 100 },
10407
- animate: { opacity: 1, x: 0 },
10408
- exit: { opacity: 0, x: 100 },
10409
- transition: { duration: 0.3, ease: "easeOut" },
10406
+ initial: { opacity: 0, scale: 0.98 },
10407
+ animate: { opacity: 1, scale: 1 },
10408
+ exit: { opacity: 0, scale: 0.98 },
10409
+ transition: { duration: 0.2, ease: "easeInOut" },
10410
10410
  style: {
10411
10411
  position: "absolute",
10412
10412
  top: 0,
@@ -10414,8 +10414,7 @@ const sg = "_widget_1upbe_3", ua = {
10414
10414
  width: "100%",
10415
10415
  height: "100%",
10416
10416
  backgroundColor: "var(--w3-mainBackground)",
10417
- borderTopLeftRadius: "var(--mantine-radius-xl)",
10418
- borderTopRightRadius: "var(--mantine-radius-xl)",
10417
+ borderRadius: "var(--mantine-radius-xl)",
10419
10418
  zIndex: 10,
10420
10419
  overflow: "auto"
10421
10420
  },
@@ -10438,7 +10437,32 @@ const sg = "_widget_1upbe_3", ua = {
10438
10437
  pb: "sm",
10439
10438
  style: { flexShrink: 0 },
10440
10439
  children: [
10441
- /* @__PURE__ */ g.jsx(O, { style: { width: "40px" } }),
10440
+ /* @__PURE__ */ g.jsx(
10441
+ te,
10442
+ {
10443
+ variant: "subtle",
10444
+ onClick: () => it(!1),
10445
+ style: {
10446
+ width: "40px",
10447
+ height: "40px",
10448
+ color: "var(--w3-primaryText)"
10449
+ },
10450
+ children: /* @__PURE__ */ g.jsx(
10451
+ "svg",
10452
+ {
10453
+ width: "16",
10454
+ height: "16",
10455
+ viewBox: "0 0 24 24",
10456
+ fill: "none",
10457
+ stroke: "currentColor",
10458
+ strokeWidth: "2",
10459
+ strokeLinecap: "round",
10460
+ strokeLinejoin: "round",
10461
+ children: /* @__PURE__ */ g.jsx("polyline", { points: "15,18 9,12 15,6" })
10462
+ }
10463
+ )
10464
+ }
10465
+ ),
10442
10466
  /* @__PURE__ */ g.jsxs(
10443
10467
  G,
10444
10468
  {
@@ -10456,19 +10480,7 @@ const sg = "_widget_1upbe_3", ua = {
10456
10480
  ]
10457
10481
  }
10458
10482
  ),
10459
- /* @__PURE__ */ g.jsx(
10460
- te,
10461
- {
10462
- variant: "subtle",
10463
- onClick: () => it(!1),
10464
- style: {
10465
- width: "40px",
10466
- height: "40px",
10467
- color: "var(--w3-primaryText)"
10468
- },
10469
- children: "→"
10470
- }
10471
- )
10483
+ /* @__PURE__ */ g.jsx(O, { style: { width: "40px" } })
10472
10484
  ]
10473
10485
  }
10474
10486
  ),
@@ -10529,7 +10541,7 @@ const sg = "_widget_1upbe_3", ua = {
10529
10541
  flexDirection: "column",
10530
10542
  justifyContent: "center"
10531
10543
  },
10532
- children: /* @__PURE__ */ g.jsxs(Dt, { gap: 2, children: [
10544
+ children: /* @__PURE__ */ g.jsxs(jt, { gap: 2, children: [
10533
10545
  /* @__PURE__ */ g.jsxs(ot, { justify: "space-between", align: "baseline", children: [
10534
10546
  /* @__PURE__ */ g.jsx(
10535
10547
  G,
@@ -10689,7 +10701,7 @@ const sg = "_widget_1upbe_3", ua = {
10689
10701
  }
10690
10702
  ),
10691
10703
  /* @__PURE__ */ g.jsxs(
10692
- Dt,
10704
+ jt,
10693
10705
  {
10694
10706
  w: "100%",
10695
10707
  gap: 2,
@@ -10864,7 +10876,7 @@ const sg = "_widget_1upbe_3", ua = {
10864
10876
  },
10865
10877
  children: [
10866
10878
  (l || s) && /* @__PURE__ */ g.jsx(
10867
- Dt,
10879
+ jt,
10868
10880
  {
10869
10881
  align: "center",
10870
10882
  gap: "xs",
@@ -10900,7 +10912,7 @@ const sg = "_widget_1upbe_3", ua = {
10900
10912
  }
10901
10913
  )
10902
10914
  }
10903
- ) : s ? /* @__PURE__ */ g.jsxs(Dt, { align: "center", gap: 4, children: [
10915
+ ) : s ? /* @__PURE__ */ g.jsxs(jt, { align: "center", gap: 4, children: [
10904
10916
  /* @__PURE__ */ g.jsx(
10905
10917
  "div",
10906
10918
  {
@@ -10962,7 +10974,7 @@ const sg = "_widget_1upbe_3", ua = {
10962
10974
  minHeight: 0
10963
10975
  },
10964
10976
  children: [
10965
- f && /* @__PURE__ */ g.jsxs(Dt, { align: "center", gap: 4, mb: "xl", children: [
10977
+ f && /* @__PURE__ */ g.jsxs(jt, { align: "center", gap: 4, mb: "xl", children: [
10966
10978
  /* @__PURE__ */ g.jsxs(ot, { gap: "xs", align: "baseline", children: [
10967
10979
  /* @__PURE__ */ g.jsx(
10968
10980
  G,
@@ -11009,7 +11021,7 @@ const sg = "_widget_1upbe_3", ua = {
11009
11021
  }
11010
11022
  )
11011
11023
  ] }),
11012
- /* @__PURE__ */ g.jsxs(Dt, { gap: "xs", style: { flex: 1, minHeight: 0 }, children: [
11024
+ /* @__PURE__ */ g.jsxs(jt, { gap: "xs", style: { flex: 1, minHeight: 0 }, children: [
11013
11025
  /* @__PURE__ */ g.jsx(
11014
11026
  G,
11015
11027
  {
@@ -11033,7 +11045,7 @@ const sg = "_widget_1upbe_3", ua = {
11033
11045
  overflow: "auto",
11034
11046
  flex: 1
11035
11047
  },
11036
- children: /* @__PURE__ */ g.jsx(Dt, { gap: "xs", children: N.map((I) => {
11048
+ children: /* @__PURE__ */ g.jsx(jt, { gap: "xs", children: N.map((I) => {
11037
11049
  const z = I.exchange ? `${I.vendor}-${I.source}-${I.exchange}-${I.from}-${I.to}` : `${I.vendor}-${I.source}-${I.from}-${I.to}`;
11038
11050
  let lt = "", gt = "";
11039
11051
  if (I.vendor === "direct")
@@ -11095,7 +11107,7 @@ const sg = "_widget_1upbe_3", ua = {
11095
11107
  },
11096
11108
  "payment-form"
11097
11109
  ) }) }),
11098
- /* @__PURE__ */ g.jsx(D0, {})
11110
+ /* @__PURE__ */ g.jsx(j0, {})
11099
11111
  ]
11100
11112
  }
11101
11113
  )