@ensofinance/checkout-widget 0.1.7 → 0.1.9

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.
@@ -24450,7 +24450,7 @@ const Yo = {
24450
24450
  98866: "https://explorer.plume.org/",
24451
24451
  999: "https://www.hyperscan.com/",
24452
24452
  747474: "https://explorer-katana.t.conduit.xyz/"
24453
- }, Fe = sS((t) => ({
24453
+ }, Be = sS((t) => ({
24454
24454
  selectedIntegration: null,
24455
24455
  setSelectedIntegration: (e) => t({ selectedIntegration: e }),
24456
24456
  ensoApiToken: "",
@@ -24479,7 +24479,7 @@ const Yo = {
24479
24479
  linkToken: "",
24480
24480
  setLinkToken: (e) => t({ linkToken: e })
24481
24481
  })), vo = () => {
24482
- const t = Fe((e) => e.ensoApiToken);
24482
+ const t = Be((e) => e.ensoApiToken);
24483
24483
  return async ({ url: e, method: n, params: r, data: i }) => (await fetch(e + "?" + new URLSearchParams(r), {
24484
24484
  method: n,
24485
24485
  headers: { ...i == null ? void 0 : i.headers, Authorization: `Bearer ${t}` },
@@ -26518,7 +26518,7 @@ const qS = (t, e = 0) => QD(t, e).toString(), gr = (t = "0", e = 0) => {
26518
26518
  const n = e ? nV : tV;
26519
26519
  return isNaN(+t) ? "0.0" : n.format(+t);
26520
26520
  }, Fr = (t) => rV.format(+t), Em = (t) => `https://icons-ckg.pages.dev/stargate-light/networks/${Yo[t]}.svg`, GS = () => {
26521
- const { address: t } = Mn(), e = hp(), n = Fe((l) => l.ensoApiToken), r = Ue(
26521
+ const { address: t } = Mn(), e = hp(), n = Be((l) => l.ensoApiToken), r = Ue(
26522
26522
  () => new Set(e.chains.map((l) => l.id)),
26523
26523
  [e.chains]
26524
26524
  ), { data: i, isLoading: o } = dS(
@@ -26545,7 +26545,7 @@ const qS = (t, e = 0) => QD(t, e).toString(), gr = (t = "0", e = 0) => {
26545
26545
  }, [i, r]);
26546
26546
  return { holdingsList: s, total: a, isLoading: o };
26547
26547
  }, iV = (t) => {
26548
- const e = hp(), n = Fe((l) => l.ensoApiToken), r = Ue(
26548
+ const e = hp(), n = Be((l) => l.ensoApiToken), r = Ue(
26549
26549
  () => new Set(e.chains.map((l) => l.id)),
26550
26550
  [e.chains]
26551
26551
  ), { data: i, isLoading: o } = dS(
@@ -27155,7 +27155,7 @@ const xV = ({
27155
27155
  );
27156
27156
  }, Fd = (t) => {
27157
27157
  var r;
27158
- const e = Fe((i) => i.chainIdIn), { chainId: n = 1 } = Mn();
27158
+ const e = Be((i) => i.chainIdIn), { chainId: n = 1 } = Mn();
27159
27159
  return (r = t != null ? t : e) != null ? r : n;
27160
27160
  }, NV = (t) => {
27161
27161
  var e;
@@ -27298,9 +27298,9 @@ const WV = BF(
27298
27298
  isLoading: r || s
27299
27299
  };
27300
27300
  }, Rr = () => {
27301
- const { address: t = h8 } = Mn(), e = Fe((O) => O.amountIn), n = Fe((O) => O.tokenIn), r = Fe((O) => O.tokenOut), i = Fe((O) => O.slippage), o = Fe((O) => O.chainIdIn), s = Fe((O) => O.chainIdOut), a = Fe(
27301
+ const { address: t = h8 } = Mn(), e = Be((O) => O.amountIn), n = Be((O) => O.tokenIn), r = Be((O) => O.tokenOut), i = Be((O) => O.slippage), o = Be((O) => O.chainIdIn), s = Be((O) => O.chainIdOut), a = Be(
27302
27302
  (O) => O.selectedIntegration
27303
- ), l = Fe((O) => O.recipient), {
27303
+ ), l = Be((O) => O.recipient), {
27304
27304
  data: [c]
27305
27305
  } = Xs(n, o), {
27306
27306
  data: [u]
@@ -28799,8 +28799,8 @@ function Om() {
28799
28799
  return 1;
28800
28800
  if (w >>>= 0, z >>>= 0, Z >>>= 0, ee >>>= 0, this === _) return 0;
28801
28801
  let se = ee - Z, De = z - w;
28802
- const Be = Math.min(se, De), Me = this.slice(Z, ee), mt = _.slice(w, z);
28803
- for (let Ne = 0; Ne < Be; ++Ne)
28802
+ const Fe = Math.min(se, De), Me = this.slice(Z, ee), mt = _.slice(w, z);
28803
+ for (let Ne = 0; Ne < Fe; ++Ne)
28804
28804
  if (Me[Ne] !== mt[Ne]) {
28805
28805
  se = Me[Ne], De = mt[Ne];
28806
28806
  break;
@@ -28828,14 +28828,14 @@ function Om() {
28828
28828
  return -1;
28829
28829
  ee = 2, se /= 2, De /= 2, w /= 2;
28830
28830
  }
28831
- function Be(mt, Ne) {
28831
+ function Fe(mt, Ne) {
28832
28832
  return ee === 1 ? mt[Ne] : mt.readUInt16BE(Ne * ee);
28833
28833
  }
28834
28834
  let Me;
28835
28835
  if (Z) {
28836
28836
  let mt = -1;
28837
28837
  for (Me = w; Me < se; Me++)
28838
- if (Be(P, Me) === Be(_, mt === -1 ? 0 : Me - mt)) {
28838
+ if (Fe(P, Me) === Fe(_, mt === -1 ? 0 : Me - mt)) {
28839
28839
  if (mt === -1 && (mt = Me), Me - mt + 1 === De) return mt * ee;
28840
28840
  } else
28841
28841
  mt !== -1 && (Me -= Me - mt), mt = -1;
@@ -28843,7 +28843,7 @@ function Om() {
28843
28843
  for (w + De > se && (w = se - De), Me = w; Me >= 0; Me--) {
28844
28844
  let mt = !0;
28845
28845
  for (let Ne = 0; Ne < De; Ne++)
28846
- if (Be(P, Me + Ne) !== Be(_, Ne)) {
28846
+ if (Fe(P, Me + Ne) !== Fe(_, Ne)) {
28847
28847
  mt = !1;
28848
28848
  break;
28849
28849
  }
@@ -28939,19 +28939,19 @@ function Om() {
28939
28939
  const ee = P[Z];
28940
28940
  let se = null, De = ee > 239 ? 4 : ee > 223 ? 3 : ee > 191 ? 2 : 1;
28941
28941
  if (Z + De <= w) {
28942
- let Be, Me, mt, Ne;
28942
+ let Fe, Me, mt, Ne;
28943
28943
  switch (De) {
28944
28944
  case 1:
28945
28945
  ee < 128 && (se = ee);
28946
28946
  break;
28947
28947
  case 2:
28948
- Be = P[Z + 1], (Be & 192) === 128 && (Ne = (ee & 31) << 6 | Be & 63, Ne > 127 && (se = Ne));
28948
+ Fe = P[Z + 1], (Fe & 192) === 128 && (Ne = (ee & 31) << 6 | Fe & 63, Ne > 127 && (se = Ne));
28949
28949
  break;
28950
28950
  case 3:
28951
- Be = P[Z + 1], Me = P[Z + 2], (Be & 192) === 128 && (Me & 192) === 128 && (Ne = (ee & 15) << 12 | (Be & 63) << 6 | Me & 63, Ne > 2047 && (Ne < 55296 || Ne > 57343) && (se = Ne));
28951
+ Fe = P[Z + 1], Me = P[Z + 2], (Fe & 192) === 128 && (Me & 192) === 128 && (Ne = (ee & 15) << 12 | (Fe & 63) << 6 | Me & 63, Ne > 2047 && (Ne < 55296 || Ne > 57343) && (se = Ne));
28952
28952
  break;
28953
28953
  case 4:
28954
- Be = P[Z + 1], Me = P[Z + 2], mt = P[Z + 3], (Be & 192) === 128 && (Me & 192) === 128 && (mt & 192) === 128 && (Ne = (ee & 15) << 18 | (Be & 63) << 12 | (Me & 63) << 6 | mt & 63, Ne > 65535 && Ne < 1114112 && (se = Ne));
28954
+ Fe = P[Z + 1], Me = P[Z + 2], mt = P[Z + 3], (Fe & 192) === 128 && (Me & 192) === 128 && (mt & 192) === 128 && (Ne = (ee & 15) << 18 | (Fe & 63) << 12 | (Me & 63) << 6 | mt & 63, Ne > 65535 && Ne < 1114112 && (se = Ne));
28955
28955
  }
28956
28956
  }
28957
28957
  se === null ? (se = 65533, De = 1) : se > 65535 && (se -= 65536, z.push(se >>> 10 & 1023 | 55296), se = 56320 | se & 1023), z.push(se), Z += De;
@@ -29146,8 +29146,8 @@ function Om() {
29146
29146
  return A(this, _, w, BigInt(0), BigInt("0xffffffffffffffff"));
29147
29147
  }), a.prototype.writeIntLE = function(_, w, z, Z) {
29148
29148
  if (_ = +_, w = w >>> 0, !Z) {
29149
- const Be = Math.pow(2, 8 * z - 1);
29150
- f(this, _, w, z, Be - 1, -Be);
29149
+ const Fe = Math.pow(2, 8 * z - 1);
29150
+ f(this, _, w, z, Fe - 1, -Fe);
29151
29151
  }
29152
29152
  let ee = 0, se = 1, De = 0;
29153
29153
  for (this[w] = _ & 255; ++ee < z && (se *= 256); )
@@ -29155,8 +29155,8 @@ function Om() {
29155
29155
  return w + z;
29156
29156
  }, a.prototype.writeIntBE = function(_, w, z, Z) {
29157
29157
  if (_ = +_, w = w >>> 0, !Z) {
29158
- const Be = Math.pow(2, 8 * z - 1);
29159
- f(this, _, w, z, Be - 1, -Be);
29158
+ const Fe = Math.pow(2, 8 * z - 1);
29159
+ f(this, _, w, z, Fe - 1, -Fe);
29160
29160
  }
29161
29161
  let ee = z - 1, se = 1, De = 0;
29162
29162
  for (this[w + ee] = _ & 255; --ee >= 0 && (se *= 256); )
@@ -30835,26 +30835,26 @@ function TR() {
30835
30835
  return C !== 0 ? y.words[f] = C | 0 : y.length--, y._strip();
30836
30836
  }
30837
30837
  var N = function(d, y, E) {
30838
- var R = d.words, k = y.words, D = E.words, L = 0, C, f, v, A = R[0] | 0, M = A & 8191, H = A >>> 13, J = R[1] | 0, Y = J & 8191, j = J >>> 13, Q = R[2] | 0, oe = Q & 8191, ne = Q >>> 13, me = R[3] | 0, _e = me & 8191, Le = me >>> 13, Et = R[4] | 0, qe = Et & 8191, st = Et >>> 13, Ur = R[5] | 0, rt = Ur & 8191, Je = Ur >>> 13, sn = R[6] | 0, at = sn & 8191, ut = sn >>> 13, Ir = R[7] | 0, St = Ir & 8191, P = Ir >>> 13, _ = R[8] | 0, w = _ & 8191, z = _ >>> 13, Z = R[9] | 0, ee = Z & 8191, se = Z >>> 13, De = k[0] | 0, Be = De & 8191, Me = De >>> 13, mt = k[1] | 0, Ne = mt & 8191, Tt = mt >>> 13, t0 = k[2] | 0, Nt = t0 & 8191, Pt = t0 >>> 13, n0 = k[3] | 0, Lt = n0 & 8191, Mt = n0 >>> 13, r0 = k[4] | 0, Bt = r0 & 8191, Ft = r0 >>> 13, i0 = k[5] | 0, Dt = i0 & 8191, Vt = i0 >>> 13, o0 = k[6] | 0, $t = o0 & 8191, zt = o0 >>> 13, s0 = k[7] | 0, Ut = s0 & 8191, Wt = s0 >>> 13, a0 = k[8] | 0, Ht = a0 & 8191, jt = a0 >>> 13, l0 = k[9] | 0, qt = l0 & 8191, Gt = l0 >>> 13;
30839
- E.negative = d.negative ^ y.negative, E.length = 19, C = Math.imul(M, Be), f = Math.imul(M, Me), f = f + Math.imul(H, Be) | 0, v = Math.imul(H, Me);
30838
+ var R = d.words, k = y.words, D = E.words, L = 0, C, f, v, A = R[0] | 0, M = A & 8191, H = A >>> 13, J = R[1] | 0, Y = J & 8191, j = J >>> 13, Q = R[2] | 0, oe = Q & 8191, ne = Q >>> 13, me = R[3] | 0, _e = me & 8191, Le = me >>> 13, Et = R[4] | 0, qe = Et & 8191, st = Et >>> 13, Ur = R[5] | 0, rt = Ur & 8191, Je = Ur >>> 13, sn = R[6] | 0, at = sn & 8191, ut = sn >>> 13, Ir = R[7] | 0, St = Ir & 8191, P = Ir >>> 13, _ = R[8] | 0, w = _ & 8191, z = _ >>> 13, Z = R[9] | 0, ee = Z & 8191, se = Z >>> 13, De = k[0] | 0, Fe = De & 8191, Me = De >>> 13, mt = k[1] | 0, Ne = mt & 8191, Tt = mt >>> 13, t0 = k[2] | 0, Nt = t0 & 8191, Pt = t0 >>> 13, n0 = k[3] | 0, Lt = n0 & 8191, Mt = n0 >>> 13, r0 = k[4] | 0, Bt = r0 & 8191, Ft = r0 >>> 13, i0 = k[5] | 0, Dt = i0 & 8191, Vt = i0 >>> 13, o0 = k[6] | 0, $t = o0 & 8191, zt = o0 >>> 13, s0 = k[7] | 0, Ut = s0 & 8191, Wt = s0 >>> 13, a0 = k[8] | 0, Ht = a0 & 8191, jt = a0 >>> 13, l0 = k[9] | 0, qt = l0 & 8191, Gt = l0 >>> 13;
30839
+ E.negative = d.negative ^ y.negative, E.length = 19, C = Math.imul(M, Fe), f = Math.imul(M, Me), f = f + Math.imul(H, Fe) | 0, v = Math.imul(H, Me);
30840
30840
  var th = (L + C | 0) + ((f & 8191) << 13) | 0;
30841
- L = (v + (f >>> 13) | 0) + (th >>> 26) | 0, th &= 67108863, C = Math.imul(Y, Be), f = Math.imul(Y, Me), f = f + Math.imul(j, Be) | 0, v = Math.imul(j, Me), C = C + Math.imul(M, Ne) | 0, f = f + Math.imul(M, Tt) | 0, f = f + Math.imul(H, Ne) | 0, v = v + Math.imul(H, Tt) | 0;
30841
+ L = (v + (f >>> 13) | 0) + (th >>> 26) | 0, th &= 67108863, C = Math.imul(Y, Fe), f = Math.imul(Y, Me), f = f + Math.imul(j, Fe) | 0, v = Math.imul(j, Me), C = C + Math.imul(M, Ne) | 0, f = f + Math.imul(M, Tt) | 0, f = f + Math.imul(H, Ne) | 0, v = v + Math.imul(H, Tt) | 0;
30842
30842
  var nh = (L + C | 0) + ((f & 8191) << 13) | 0;
30843
- L = (v + (f >>> 13) | 0) + (nh >>> 26) | 0, nh &= 67108863, C = Math.imul(oe, Be), f = Math.imul(oe, Me), f = f + Math.imul(ne, Be) | 0, v = Math.imul(ne, Me), C = C + Math.imul(Y, Ne) | 0, f = f + Math.imul(Y, Tt) | 0, f = f + Math.imul(j, Ne) | 0, v = v + Math.imul(j, Tt) | 0, C = C + Math.imul(M, Nt) | 0, f = f + Math.imul(M, Pt) | 0, f = f + Math.imul(H, Nt) | 0, v = v + Math.imul(H, Pt) | 0;
30843
+ L = (v + (f >>> 13) | 0) + (nh >>> 26) | 0, nh &= 67108863, C = Math.imul(oe, Fe), f = Math.imul(oe, Me), f = f + Math.imul(ne, Fe) | 0, v = Math.imul(ne, Me), C = C + Math.imul(Y, Ne) | 0, f = f + Math.imul(Y, Tt) | 0, f = f + Math.imul(j, Ne) | 0, v = v + Math.imul(j, Tt) | 0, C = C + Math.imul(M, Nt) | 0, f = f + Math.imul(M, Pt) | 0, f = f + Math.imul(H, Nt) | 0, v = v + Math.imul(H, Pt) | 0;
30844
30844
  var rh = (L + C | 0) + ((f & 8191) << 13) | 0;
30845
- L = (v + (f >>> 13) | 0) + (rh >>> 26) | 0, rh &= 67108863, C = Math.imul(_e, Be), f = Math.imul(_e, Me), f = f + Math.imul(Le, Be) | 0, v = Math.imul(Le, Me), C = C + Math.imul(oe, Ne) | 0, f = f + Math.imul(oe, Tt) | 0, f = f + Math.imul(ne, Ne) | 0, v = v + Math.imul(ne, Tt) | 0, C = C + Math.imul(Y, Nt) | 0, f = f + Math.imul(Y, Pt) | 0, f = f + Math.imul(j, Nt) | 0, v = v + Math.imul(j, Pt) | 0, C = C + Math.imul(M, Lt) | 0, f = f + Math.imul(M, Mt) | 0, f = f + Math.imul(H, Lt) | 0, v = v + Math.imul(H, Mt) | 0;
30845
+ L = (v + (f >>> 13) | 0) + (rh >>> 26) | 0, rh &= 67108863, C = Math.imul(_e, Fe), f = Math.imul(_e, Me), f = f + Math.imul(Le, Fe) | 0, v = Math.imul(Le, Me), C = C + Math.imul(oe, Ne) | 0, f = f + Math.imul(oe, Tt) | 0, f = f + Math.imul(ne, Ne) | 0, v = v + Math.imul(ne, Tt) | 0, C = C + Math.imul(Y, Nt) | 0, f = f + Math.imul(Y, Pt) | 0, f = f + Math.imul(j, Nt) | 0, v = v + Math.imul(j, Pt) | 0, C = C + Math.imul(M, Lt) | 0, f = f + Math.imul(M, Mt) | 0, f = f + Math.imul(H, Lt) | 0, v = v + Math.imul(H, Mt) | 0;
30846
30846
  var ih = (L + C | 0) + ((f & 8191) << 13) | 0;
30847
- L = (v + (f >>> 13) | 0) + (ih >>> 26) | 0, ih &= 67108863, C = Math.imul(qe, Be), f = Math.imul(qe, Me), f = f + Math.imul(st, Be) | 0, v = Math.imul(st, Me), C = C + Math.imul(_e, Ne) | 0, f = f + Math.imul(_e, Tt) | 0, f = f + Math.imul(Le, Ne) | 0, v = v + Math.imul(Le, Tt) | 0, C = C + Math.imul(oe, Nt) | 0, f = f + Math.imul(oe, Pt) | 0, f = f + Math.imul(ne, Nt) | 0, v = v + Math.imul(ne, Pt) | 0, C = C + Math.imul(Y, Lt) | 0, f = f + Math.imul(Y, Mt) | 0, f = f + Math.imul(j, Lt) | 0, v = v + Math.imul(j, Mt) | 0, C = C + Math.imul(M, Bt) | 0, f = f + Math.imul(M, Ft) | 0, f = f + Math.imul(H, Bt) | 0, v = v + Math.imul(H, Ft) | 0;
30847
+ L = (v + (f >>> 13) | 0) + (ih >>> 26) | 0, ih &= 67108863, C = Math.imul(qe, Fe), f = Math.imul(qe, Me), f = f + Math.imul(st, Fe) | 0, v = Math.imul(st, Me), C = C + Math.imul(_e, Ne) | 0, f = f + Math.imul(_e, Tt) | 0, f = f + Math.imul(Le, Ne) | 0, v = v + Math.imul(Le, Tt) | 0, C = C + Math.imul(oe, Nt) | 0, f = f + Math.imul(oe, Pt) | 0, f = f + Math.imul(ne, Nt) | 0, v = v + Math.imul(ne, Pt) | 0, C = C + Math.imul(Y, Lt) | 0, f = f + Math.imul(Y, Mt) | 0, f = f + Math.imul(j, Lt) | 0, v = v + Math.imul(j, Mt) | 0, C = C + Math.imul(M, Bt) | 0, f = f + Math.imul(M, Ft) | 0, f = f + Math.imul(H, Bt) | 0, v = v + Math.imul(H, Ft) | 0;
30848
30848
  var oh = (L + C | 0) + ((f & 8191) << 13) | 0;
30849
- L = (v + (f >>> 13) | 0) + (oh >>> 26) | 0, oh &= 67108863, C = Math.imul(rt, Be), f = Math.imul(rt, Me), f = f + Math.imul(Je, Be) | 0, v = Math.imul(Je, Me), C = C + Math.imul(qe, Ne) | 0, f = f + Math.imul(qe, Tt) | 0, f = f + Math.imul(st, Ne) | 0, v = v + Math.imul(st, Tt) | 0, C = C + Math.imul(_e, Nt) | 0, f = f + Math.imul(_e, Pt) | 0, f = f + Math.imul(Le, Nt) | 0, v = v + Math.imul(Le, Pt) | 0, C = C + Math.imul(oe, Lt) | 0, f = f + Math.imul(oe, Mt) | 0, f = f + Math.imul(ne, Lt) | 0, v = v + Math.imul(ne, Mt) | 0, C = C + Math.imul(Y, Bt) | 0, f = f + Math.imul(Y, Ft) | 0, f = f + Math.imul(j, Bt) | 0, v = v + Math.imul(j, Ft) | 0, C = C + Math.imul(M, Dt) | 0, f = f + Math.imul(M, Vt) | 0, f = f + Math.imul(H, Dt) | 0, v = v + Math.imul(H, Vt) | 0;
30849
+ L = (v + (f >>> 13) | 0) + (oh >>> 26) | 0, oh &= 67108863, C = Math.imul(rt, Fe), f = Math.imul(rt, Me), f = f + Math.imul(Je, Fe) | 0, v = Math.imul(Je, Me), C = C + Math.imul(qe, Ne) | 0, f = f + Math.imul(qe, Tt) | 0, f = f + Math.imul(st, Ne) | 0, v = v + Math.imul(st, Tt) | 0, C = C + Math.imul(_e, Nt) | 0, f = f + Math.imul(_e, Pt) | 0, f = f + Math.imul(Le, Nt) | 0, v = v + Math.imul(Le, Pt) | 0, C = C + Math.imul(oe, Lt) | 0, f = f + Math.imul(oe, Mt) | 0, f = f + Math.imul(ne, Lt) | 0, v = v + Math.imul(ne, Mt) | 0, C = C + Math.imul(Y, Bt) | 0, f = f + Math.imul(Y, Ft) | 0, f = f + Math.imul(j, Bt) | 0, v = v + Math.imul(j, Ft) | 0, C = C + Math.imul(M, Dt) | 0, f = f + Math.imul(M, Vt) | 0, f = f + Math.imul(H, Dt) | 0, v = v + Math.imul(H, Vt) | 0;
30850
30850
  var sh = (L + C | 0) + ((f & 8191) << 13) | 0;
30851
- L = (v + (f >>> 13) | 0) + (sh >>> 26) | 0, sh &= 67108863, C = Math.imul(at, Be), f = Math.imul(at, Me), f = f + Math.imul(ut, Be) | 0, v = Math.imul(ut, Me), C = C + Math.imul(rt, Ne) | 0, f = f + Math.imul(rt, Tt) | 0, f = f + Math.imul(Je, Ne) | 0, v = v + Math.imul(Je, Tt) | 0, C = C + Math.imul(qe, Nt) | 0, f = f + Math.imul(qe, Pt) | 0, f = f + Math.imul(st, Nt) | 0, v = v + Math.imul(st, Pt) | 0, C = C + Math.imul(_e, Lt) | 0, f = f + Math.imul(_e, Mt) | 0, f = f + Math.imul(Le, Lt) | 0, v = v + Math.imul(Le, Mt) | 0, C = C + Math.imul(oe, Bt) | 0, f = f + Math.imul(oe, Ft) | 0, f = f + Math.imul(ne, Bt) | 0, v = v + Math.imul(ne, Ft) | 0, C = C + Math.imul(Y, Dt) | 0, f = f + Math.imul(Y, Vt) | 0, f = f + Math.imul(j, Dt) | 0, v = v + Math.imul(j, Vt) | 0, C = C + Math.imul(M, $t) | 0, f = f + Math.imul(M, zt) | 0, f = f + Math.imul(H, $t) | 0, v = v + Math.imul(H, zt) | 0;
30851
+ L = (v + (f >>> 13) | 0) + (sh >>> 26) | 0, sh &= 67108863, C = Math.imul(at, Fe), f = Math.imul(at, Me), f = f + Math.imul(ut, Fe) | 0, v = Math.imul(ut, Me), C = C + Math.imul(rt, Ne) | 0, f = f + Math.imul(rt, Tt) | 0, f = f + Math.imul(Je, Ne) | 0, v = v + Math.imul(Je, Tt) | 0, C = C + Math.imul(qe, Nt) | 0, f = f + Math.imul(qe, Pt) | 0, f = f + Math.imul(st, Nt) | 0, v = v + Math.imul(st, Pt) | 0, C = C + Math.imul(_e, Lt) | 0, f = f + Math.imul(_e, Mt) | 0, f = f + Math.imul(Le, Lt) | 0, v = v + Math.imul(Le, Mt) | 0, C = C + Math.imul(oe, Bt) | 0, f = f + Math.imul(oe, Ft) | 0, f = f + Math.imul(ne, Bt) | 0, v = v + Math.imul(ne, Ft) | 0, C = C + Math.imul(Y, Dt) | 0, f = f + Math.imul(Y, Vt) | 0, f = f + Math.imul(j, Dt) | 0, v = v + Math.imul(j, Vt) | 0, C = C + Math.imul(M, $t) | 0, f = f + Math.imul(M, zt) | 0, f = f + Math.imul(H, $t) | 0, v = v + Math.imul(H, zt) | 0;
30852
30852
  var ah = (L + C | 0) + ((f & 8191) << 13) | 0;
30853
- L = (v + (f >>> 13) | 0) + (ah >>> 26) | 0, ah &= 67108863, C = Math.imul(St, Be), f = Math.imul(St, Me), f = f + Math.imul(P, Be) | 0, v = Math.imul(P, Me), C = C + Math.imul(at, Ne) | 0, f = f + Math.imul(at, Tt) | 0, f = f + Math.imul(ut, Ne) | 0, v = v + Math.imul(ut, Tt) | 0, C = C + Math.imul(rt, Nt) | 0, f = f + Math.imul(rt, Pt) | 0, f = f + Math.imul(Je, Nt) | 0, v = v + Math.imul(Je, Pt) | 0, C = C + Math.imul(qe, Lt) | 0, f = f + Math.imul(qe, Mt) | 0, f = f + Math.imul(st, Lt) | 0, v = v + Math.imul(st, Mt) | 0, C = C + Math.imul(_e, Bt) | 0, f = f + Math.imul(_e, Ft) | 0, f = f + Math.imul(Le, Bt) | 0, v = v + Math.imul(Le, Ft) | 0, C = C + Math.imul(oe, Dt) | 0, f = f + Math.imul(oe, Vt) | 0, f = f + Math.imul(ne, Dt) | 0, v = v + Math.imul(ne, Vt) | 0, C = C + Math.imul(Y, $t) | 0, f = f + Math.imul(Y, zt) | 0, f = f + Math.imul(j, $t) | 0, v = v + Math.imul(j, zt) | 0, C = C + Math.imul(M, Ut) | 0, f = f + Math.imul(M, Wt) | 0, f = f + Math.imul(H, Ut) | 0, v = v + Math.imul(H, Wt) | 0;
30853
+ L = (v + (f >>> 13) | 0) + (ah >>> 26) | 0, ah &= 67108863, C = Math.imul(St, Fe), f = Math.imul(St, Me), f = f + Math.imul(P, Fe) | 0, v = Math.imul(P, Me), C = C + Math.imul(at, Ne) | 0, f = f + Math.imul(at, Tt) | 0, f = f + Math.imul(ut, Ne) | 0, v = v + Math.imul(ut, Tt) | 0, C = C + Math.imul(rt, Nt) | 0, f = f + Math.imul(rt, Pt) | 0, f = f + Math.imul(Je, Nt) | 0, v = v + Math.imul(Je, Pt) | 0, C = C + Math.imul(qe, Lt) | 0, f = f + Math.imul(qe, Mt) | 0, f = f + Math.imul(st, Lt) | 0, v = v + Math.imul(st, Mt) | 0, C = C + Math.imul(_e, Bt) | 0, f = f + Math.imul(_e, Ft) | 0, f = f + Math.imul(Le, Bt) | 0, v = v + Math.imul(Le, Ft) | 0, C = C + Math.imul(oe, Dt) | 0, f = f + Math.imul(oe, Vt) | 0, f = f + Math.imul(ne, Dt) | 0, v = v + Math.imul(ne, Vt) | 0, C = C + Math.imul(Y, $t) | 0, f = f + Math.imul(Y, zt) | 0, f = f + Math.imul(j, $t) | 0, v = v + Math.imul(j, zt) | 0, C = C + Math.imul(M, Ut) | 0, f = f + Math.imul(M, Wt) | 0, f = f + Math.imul(H, Ut) | 0, v = v + Math.imul(H, Wt) | 0;
30854
30854
  var lh = (L + C | 0) + ((f & 8191) << 13) | 0;
30855
- L = (v + (f >>> 13) | 0) + (lh >>> 26) | 0, lh &= 67108863, C = Math.imul(w, Be), f = Math.imul(w, Me), f = f + Math.imul(z, Be) | 0, v = Math.imul(z, Me), C = C + Math.imul(St, Ne) | 0, f = f + Math.imul(St, Tt) | 0, f = f + Math.imul(P, Ne) | 0, v = v + Math.imul(P, Tt) | 0, C = C + Math.imul(at, Nt) | 0, f = f + Math.imul(at, Pt) | 0, f = f + Math.imul(ut, Nt) | 0, v = v + Math.imul(ut, Pt) | 0, C = C + Math.imul(rt, Lt) | 0, f = f + Math.imul(rt, Mt) | 0, f = f + Math.imul(Je, Lt) | 0, v = v + Math.imul(Je, Mt) | 0, C = C + Math.imul(qe, Bt) | 0, f = f + Math.imul(qe, Ft) | 0, f = f + Math.imul(st, Bt) | 0, v = v + Math.imul(st, Ft) | 0, C = C + Math.imul(_e, Dt) | 0, f = f + Math.imul(_e, Vt) | 0, f = f + Math.imul(Le, Dt) | 0, v = v + Math.imul(Le, Vt) | 0, C = C + Math.imul(oe, $t) | 0, f = f + Math.imul(oe, zt) | 0, f = f + Math.imul(ne, $t) | 0, v = v + Math.imul(ne, zt) | 0, C = C + Math.imul(Y, Ut) | 0, f = f + Math.imul(Y, Wt) | 0, f = f + Math.imul(j, Ut) | 0, v = v + Math.imul(j, Wt) | 0, C = C + Math.imul(M, Ht) | 0, f = f + Math.imul(M, jt) | 0, f = f + Math.imul(H, Ht) | 0, v = v + Math.imul(H, jt) | 0;
30855
+ L = (v + (f >>> 13) | 0) + (lh >>> 26) | 0, lh &= 67108863, C = Math.imul(w, Fe), f = Math.imul(w, Me), f = f + Math.imul(z, Fe) | 0, v = Math.imul(z, Me), C = C + Math.imul(St, Ne) | 0, f = f + Math.imul(St, Tt) | 0, f = f + Math.imul(P, Ne) | 0, v = v + Math.imul(P, Tt) | 0, C = C + Math.imul(at, Nt) | 0, f = f + Math.imul(at, Pt) | 0, f = f + Math.imul(ut, Nt) | 0, v = v + Math.imul(ut, Pt) | 0, C = C + Math.imul(rt, Lt) | 0, f = f + Math.imul(rt, Mt) | 0, f = f + Math.imul(Je, Lt) | 0, v = v + Math.imul(Je, Mt) | 0, C = C + Math.imul(qe, Bt) | 0, f = f + Math.imul(qe, Ft) | 0, f = f + Math.imul(st, Bt) | 0, v = v + Math.imul(st, Ft) | 0, C = C + Math.imul(_e, Dt) | 0, f = f + Math.imul(_e, Vt) | 0, f = f + Math.imul(Le, Dt) | 0, v = v + Math.imul(Le, Vt) | 0, C = C + Math.imul(oe, $t) | 0, f = f + Math.imul(oe, zt) | 0, f = f + Math.imul(ne, $t) | 0, v = v + Math.imul(ne, zt) | 0, C = C + Math.imul(Y, Ut) | 0, f = f + Math.imul(Y, Wt) | 0, f = f + Math.imul(j, Ut) | 0, v = v + Math.imul(j, Wt) | 0, C = C + Math.imul(M, Ht) | 0, f = f + Math.imul(M, jt) | 0, f = f + Math.imul(H, Ht) | 0, v = v + Math.imul(H, jt) | 0;
30856
30856
  var ch = (L + C | 0) + ((f & 8191) << 13) | 0;
30857
- L = (v + (f >>> 13) | 0) + (ch >>> 26) | 0, ch &= 67108863, C = Math.imul(ee, Be), f = Math.imul(ee, Me), f = f + Math.imul(se, Be) | 0, v = Math.imul(se, Me), C = C + Math.imul(w, Ne) | 0, f = f + Math.imul(w, Tt) | 0, f = f + Math.imul(z, Ne) | 0, v = v + Math.imul(z, Tt) | 0, C = C + Math.imul(St, Nt) | 0, f = f + Math.imul(St, Pt) | 0, f = f + Math.imul(P, Nt) | 0, v = v + Math.imul(P, Pt) | 0, C = C + Math.imul(at, Lt) | 0, f = f + Math.imul(at, Mt) | 0, f = f + Math.imul(ut, Lt) | 0, v = v + Math.imul(ut, Mt) | 0, C = C + Math.imul(rt, Bt) | 0, f = f + Math.imul(rt, Ft) | 0, f = f + Math.imul(Je, Bt) | 0, v = v + Math.imul(Je, Ft) | 0, C = C + Math.imul(qe, Dt) | 0, f = f + Math.imul(qe, Vt) | 0, f = f + Math.imul(st, Dt) | 0, v = v + Math.imul(st, Vt) | 0, C = C + Math.imul(_e, $t) | 0, f = f + Math.imul(_e, zt) | 0, f = f + Math.imul(Le, $t) | 0, v = v + Math.imul(Le, zt) | 0, C = C + Math.imul(oe, Ut) | 0, f = f + Math.imul(oe, Wt) | 0, f = f + Math.imul(ne, Ut) | 0, v = v + Math.imul(ne, Wt) | 0, C = C + Math.imul(Y, Ht) | 0, f = f + Math.imul(Y, jt) | 0, f = f + Math.imul(j, Ht) | 0, v = v + Math.imul(j, jt) | 0, C = C + Math.imul(M, qt) | 0, f = f + Math.imul(M, Gt) | 0, f = f + Math.imul(H, qt) | 0, v = v + Math.imul(H, Gt) | 0;
30857
+ L = (v + (f >>> 13) | 0) + (ch >>> 26) | 0, ch &= 67108863, C = Math.imul(ee, Fe), f = Math.imul(ee, Me), f = f + Math.imul(se, Fe) | 0, v = Math.imul(se, Me), C = C + Math.imul(w, Ne) | 0, f = f + Math.imul(w, Tt) | 0, f = f + Math.imul(z, Ne) | 0, v = v + Math.imul(z, Tt) | 0, C = C + Math.imul(St, Nt) | 0, f = f + Math.imul(St, Pt) | 0, f = f + Math.imul(P, Nt) | 0, v = v + Math.imul(P, Pt) | 0, C = C + Math.imul(at, Lt) | 0, f = f + Math.imul(at, Mt) | 0, f = f + Math.imul(ut, Lt) | 0, v = v + Math.imul(ut, Mt) | 0, C = C + Math.imul(rt, Bt) | 0, f = f + Math.imul(rt, Ft) | 0, f = f + Math.imul(Je, Bt) | 0, v = v + Math.imul(Je, Ft) | 0, C = C + Math.imul(qe, Dt) | 0, f = f + Math.imul(qe, Vt) | 0, f = f + Math.imul(st, Dt) | 0, v = v + Math.imul(st, Vt) | 0, C = C + Math.imul(_e, $t) | 0, f = f + Math.imul(_e, zt) | 0, f = f + Math.imul(Le, $t) | 0, v = v + Math.imul(Le, zt) | 0, C = C + Math.imul(oe, Ut) | 0, f = f + Math.imul(oe, Wt) | 0, f = f + Math.imul(ne, Ut) | 0, v = v + Math.imul(ne, Wt) | 0, C = C + Math.imul(Y, Ht) | 0, f = f + Math.imul(Y, jt) | 0, f = f + Math.imul(j, Ht) | 0, v = v + Math.imul(j, jt) | 0, C = C + Math.imul(M, qt) | 0, f = f + Math.imul(M, Gt) | 0, f = f + Math.imul(H, qt) | 0, v = v + Math.imul(H, Gt) | 0;
30858
30858
  var uh = (L + C | 0) + ((f & 8191) << 13) | 0;
30859
30859
  L = (v + (f >>> 13) | 0) + (uh >>> 26) | 0, uh &= 67108863, C = Math.imul(ee, Ne), f = Math.imul(ee, Tt), f = f + Math.imul(se, Ne) | 0, v = Math.imul(se, Tt), C = C + Math.imul(w, Nt) | 0, f = f + Math.imul(w, Pt) | 0, f = f + Math.imul(z, Nt) | 0, v = v + Math.imul(z, Pt) | 0, C = C + Math.imul(St, Lt) | 0, f = f + Math.imul(St, Mt) | 0, f = f + Math.imul(P, Lt) | 0, v = v + Math.imul(P, Mt) | 0, C = C + Math.imul(at, Bt) | 0, f = f + Math.imul(at, Ft) | 0, f = f + Math.imul(ut, Bt) | 0, v = v + Math.imul(ut, Ft) | 0, C = C + Math.imul(rt, Dt) | 0, f = f + Math.imul(rt, Vt) | 0, f = f + Math.imul(Je, Dt) | 0, v = v + Math.imul(Je, Vt) | 0, C = C + Math.imul(qe, $t) | 0, f = f + Math.imul(qe, zt) | 0, f = f + Math.imul(st, $t) | 0, v = v + Math.imul(st, zt) | 0, C = C + Math.imul(_e, Ut) | 0, f = f + Math.imul(_e, Wt) | 0, f = f + Math.imul(Le, Ut) | 0, v = v + Math.imul(Le, Wt) | 0, C = C + Math.imul(oe, Ht) | 0, f = f + Math.imul(oe, jt) | 0, f = f + Math.imul(ne, Ht) | 0, v = v + Math.imul(ne, jt) | 0, C = C + Math.imul(Y, qt) | 0, f = f + Math.imul(Y, Gt) | 0, f = f + Math.imul(j, qt) | 0, v = v + Math.imul(j, Gt) | 0;
30860
30860
  var dh = (L + C | 0) + ((f & 8191) << 13) | 0;
@@ -41005,7 +41005,7 @@ je("div", {
41005
41005
  }
41006
41006
  });
41007
41007
  const Kd = () => {
41008
- const { routeData: t } = ga(), { chainIdIn: e, chainIdOut: n, selectedIntegration: r } = Rr(), i = Fe((c) => c.slippage), [o, s] = Pe(!1), l = [
41008
+ const { routeData: t } = ga(), { chainIdIn: e, chainIdOut: n, selectedIntegration: r } = Rr(), i = Be((c) => c.slippage), [o, s] = Pe(!1), l = [
41009
41009
  {
41010
41010
  detail: `${t != null && t.priceImpact ? (-(t == null ? void 0 : t.priceImpact) / 100).toFixed(2) : "0.00"}%`,
41011
41011
  label: "Est. price impact"
@@ -41381,7 +41381,7 @@ const pG = {
41381
41381
  // 81457: "0c17e03f-77fa-4644-b84c-eb247af8c4c1", // Blast
41382
41382
  // 11155111: "03b2d786-7092-4a6a-9737-d6013e21819b", // Sepolia (testnet)
41383
41383
  }, Cb = Object.keys(Dg).map(Number), vG = (t) => Dg[t] || Dg[8453], RI = () => {
41384
- const { setMeshAccessToken: t } = Fe(), e = Xd(), n = Fe((r) => r.selectedIntegration);
41384
+ const { setMeshAccessToken: t } = Be(), e = Xd(), n = Be((r) => r.selectedIntegration);
41385
41385
  return dn(
41386
41386
  (r, i) => {
41387
41387
  t(r), sessionStorage.setItem(
@@ -41400,7 +41400,7 @@ const pG = {
41400
41400
  setStep: t
41401
41401
  }) => {
41402
41402
  var b;
41403
- const { chainIdOut: e, setChainIdIn: n } = Fe(), [r, i] = Pe([]), [o, s] = Pe(!0), [a, l] = Pe(null), c = Fe(
41403
+ const { chainIdOut: e, setChainIdIn: n } = Be(), [r, i] = Pe([]), [o, s] = Pe(!0), [a, l] = Pe(null), c = Be(
41404
41404
  (m) => m.setSelectedIntegration
41405
41405
  ), { enableExchange: u, cexBridgeChainMapping: h } = fo(dc), p = h != null ? h : cS, g = (b = w8(e, p)) != null ? b : e;
41406
41406
  return Ge(() => {
@@ -41455,7 +41455,7 @@ const pG = {
41455
41455
  }, bG = ({
41456
41456
  setStep: t
41457
41457
  }) => {
41458
- const { chainIdIn: e, chainIdOut: n, setMeshAccessToken: r, setSessionId: i } = Fe(), { address: o } = Mn(), s = Xd(), [a, l] = Pe(!1), c = Fe((b) => b.selectedIntegration), u = e !== n, h = n && !Cb.includes(n) && !u, p = RI();
41458
+ const { chainIdIn: e, chainIdOut: n, setMeshAccessToken: r, setSessionId: i } = Be(), { address: o } = Mn(), s = Xd(), [a, l] = Pe(!1), c = Be((b) => b.selectedIntegration), u = e !== n, h = n && !Cb.includes(n) && !u, p = RI();
41459
41459
  Ge(() => {
41460
41460
  if (!c) {
41461
41461
  t(
@@ -41563,7 +41563,7 @@ const pG = {
41563
41563
  setSessionId: b,
41564
41564
  setTokenIn: m,
41565
41565
  chainIdIn: x
41566
- } = Fe(), S = Xd(), N = Fe(($) => $.selectedIntegration);
41566
+ } = Be(), S = Xd(), N = Be(($) => $.selectedIntegration);
41567
41567
  Ge(() => {
41568
41568
  h && p && x && N && (async () => {
41569
41569
  var B, G, X, K;
@@ -41682,7 +41682,7 @@ const pG = {
41682
41682
  setStep: t,
41683
41683
  onTokenSelect: e
41684
41684
  }) => {
41685
- const { chainIdIn: n, setTokenIn: r, setChainIdIn: i } = Fe(), [o, s] = Pe(null), { holdingsList: a, total: l, isLoading: c } = ZS(1), u = Fe(
41685
+ const { chainIdIn: n, setTokenIn: r, setChainIdIn: i } = Be(), [o, s] = Pe(null), { holdingsList: a, total: l, isLoading: c } = ZS(1), u = Be(
41686
41686
  (h) => h.setSelectedIntegration
41687
41687
  );
41688
41688
  return Ge(() => {
@@ -41754,7 +41754,7 @@ const pG = {
41754
41754
  tokenAmount: "",
41755
41755
  usdAmount: "",
41756
41756
  mode: "usd"
41757
- }), i = Fe((F) => F.setAmountIn), { tokenInData: o, selectedIntegration: s } = Rr(), l = (e == null ? void 0 : e.symbol.toLowerCase().includes("USD")) ? 2 : 6, c = n.tokenAmount, u = n.usdAmount, h = !SI(s.type), p = e ? h ? (e.marketValue - py).toFixed(
41757
+ }), i = Be((F) => F.setAmountIn), { tokenInData: o, selectedIntegration: s } = Rr(), l = (e == null ? void 0 : e.symbol.toLowerCase().includes("USD")) ? 2 : 6, c = n.tokenAmount, u = n.usdAmount, h = !SI(s.type), p = e ? h ? (e.marketValue - py).toFixed(
41758
41758
  2
41759
41759
  ) : e.marketValue.toFixed(2) : 0, g = Ue(() => {
41760
41760
  if (!(!e || !e.balance))
@@ -41953,7 +41953,7 @@ const pG = {
41953
41953
  userOp: e,
41954
41954
  setStep: n
41955
41955
  }) => {
41956
- const { meshAccessToken: r, amountIn: i, chainIdIn: o } = Fe(), { address: s } = Mn(), { tokenInData: a } = Rr(), l = Fe((x) => x.sessionId), [c, u] = Pe(!0), [h, p] = Pe(null), g = Fe((x) => x.selectedIntegration), b = RI(), m = Xd();
41956
+ const { meshAccessToken: r, amountIn: i, chainIdIn: o } = Be(), { address: s } = Mn(), { tokenInData: a } = Rr(), l = Be((x) => x.sessionId), [c, u] = Pe(!0), [h, p] = Pe(null), g = Be((x) => x.selectedIntegration), b = RI(), m = Xd();
41957
41957
  return Ge(() => {
41958
41958
  if (!t || !e || !r) {
41959
41959
  console.error("Missing required data for withdrawal initiation");
@@ -42110,7 +42110,7 @@ const pG = {
42110
42110
  userOp: e,
42111
42111
  setStep: n
42112
42112
  }) => {
42113
- const { chainIdIn: r, chainIdOut: i, tokenInData: o } = Rr(), { amountIn: s } = Fe(), a = r !== i, [l, c] = Pe("cex"), [u, h] = Pe(null), [p, g] = Pe("sending"), [b, m] = Pe("Sending operation to tracker..."), [x, S] = Pe(null), [N, O] = Pe(!1), [$, B] = Pe(null), [G, X] = Pe(!1), [K, F] = Pe(null), [V, U] = Pe(null), [W, I] = Pe(
42113
+ const { chainIdIn: r, chainIdOut: i, tokenInData: o } = Rr(), { amountIn: s } = Be(), a = r !== i, [l, c] = Pe("cex"), [u, h] = Pe(null), [p, g] = Pe("sending"), [b, m] = Pe("Sending operation to tracker..."), [x, S] = Pe(null), [N, O] = Pe(!1), [$, B] = Pe(null), [G, X] = Pe(!1), [K, F] = Pe(null), [V, U] = Pe(null), [W, I] = Pe(
42114
42114
  null
42115
42115
  ), d = aG(
42116
42116
  x != null ? x : void 0,
@@ -42486,9 +42486,9 @@ const pG = {
42486
42486
  }) => {
42487
42487
  const { handleClose: n, enforceFlow: r } = fo(dc), [i, o] = Pe(e), [s, a] = Pe(
42488
42488
  null
42489
- ), [l, c] = Pe(null), u = Fe(
42489
+ ), [l, c] = Pe(null), u = Be(
42490
42490
  (g) => g.setSelectedIntegration
42491
- ), h = Fe((g) => g.selectedIntegration);
42491
+ ), h = Be((g) => g.selectedIntegration);
42492
42492
  Ge(() => () => u(null), []);
42493
42493
  const p = (() => {
42494
42494
  switch (i) {
@@ -42616,9 +42616,9 @@ const pG = {
42616
42616
  /* @__PURE__ */ T(sr.Body, { children: p })
42617
42617
  ] });
42618
42618
  }, Ob = ({ setStep: t }) => {
42619
- const e = Fe(
42619
+ const e = Be(
42620
42620
  (h) => h.setSelectedIntegration
42621
- ), n = Fe((h) => h.setTokenIn), r = Fe((h) => h.tokenIn), i = Fe((h) => h.setChainIdIn), o = Fe((h) => h.chainIdIn), s = Fe((h) => h.tokenOut), a = Fe((h) => h.chainIdOut), { holdingsList: l, isLoading: c } = GS(), u = l == null ? void 0 : l.filter(
42621
+ ), n = Be((h) => h.setTokenIn), r = Be((h) => h.tokenIn), i = Be((h) => h.setChainIdIn), o = Be((h) => h.chainIdIn), s = Be((h) => h.tokenOut), a = Be((h) => h.chainIdOut), { holdingsList: l, isLoading: c } = GS(), u = l == null ? void 0 : l.filter(
42622
42622
  (h) => !(h.token.toLowerCase() === s.toLowerCase() && h.chainId === a)
42623
42623
  );
42624
42624
  return Ge(() => {
@@ -42851,7 +42851,7 @@ const pG = {
42851
42851
  tokenAmount: "",
42852
42852
  usdAmount: "10.10",
42853
42853
  mode: "usd"
42854
- }), r = Fe((B) => B.setAmountIn), i = Fe((B) => B.amountIn), [o, s] = Pe(!0), {
42854
+ }), r = Be((B) => B.setAmountIn), i = Be((B) => B.amountIn), [o, s] = Pe(!0), {
42855
42855
  tokenInData: a,
42856
42856
  effectiveTokenOutData: l,
42857
42857
  tokenIn: c,
@@ -48019,40 +48019,41 @@ const dc = cp({}), aX = ({
48019
48019
  enableExchange: i,
48020
48020
  cexBridgeChainMapping: o,
48021
48021
  recipient: s,
48022
- enforceFlow: a
48022
+ enforceFlow: a,
48023
+ slippage: l
48023
48024
  },
48024
- onClose: l,
48025
- wrapper: c
48025
+ onClose: c,
48026
+ wrapper: u
48026
48027
  }) => {
48027
- const u = Fe((x) => x.setEnsoApiToken), h = Fe((x) => x.setTokenOut), p = Fe((x) => x.setChainIdOut), g = Fe((x) => x.setRecipient), b = Ue(
48028
- () => l ? () => {
48029
- l && l();
48028
+ const h = Be((N) => N.setEnsoApiToken), p = Be((N) => N.setTokenOut), g = Be((N) => N.setChainIdOut), b = Be((N) => N.setRecipient), m = Be((N) => N.setSlippage), x = Ue(
48029
+ () => c ? () => {
48030
+ c && c();
48030
48031
  } : void 0,
48031
- [l]
48032
+ [c]
48032
48033
  );
48033
48034
  Ge(() => {
48034
- h(e), p(n), g(s);
48035
- }, [e, n, s]), Ge(() => {
48035
+ p(e), g(n), b(s), typeof l == "number" && m(l);
48036
+ }, [e, n, s, l]), Ge(() => {
48036
48037
  sX.init("phc_capPDVae4W7y6QIqVTugTtx5geVthX4YVswtXa6DrjM", {
48037
48038
  api_host: "https://eu.i.posthog.com",
48038
48039
  person_profiles: "always"
48039
48040
  // or 'always' to create profiles for anonymous users as well
48040
- }), t || alert("Please provide an API key"), u(t);
48041
+ }), t || alert("Please provide an API key"), h(t);
48041
48042
  }, [t]);
48042
- const m = Ue(
48043
- () => c != null ? c : (({ children: x, ...S }) => /* @__PURE__ */ T(ue, { p: 4, w: "374px", ...S, children: x })),
48044
- [c]
48043
+ const S = Ue(
48044
+ () => u != null ? u : (({ children: N, ...O }) => /* @__PURE__ */ T(ue, { p: 4, w: "374px", ...O, children: N })),
48045
+ [u]
48045
48046
  );
48046
48047
  return /* @__PURE__ */ T(
48047
48048
  dc.Provider,
48048
48049
  {
48049
48050
  value: {
48050
- handleClose: b,
48051
+ handleClose: x,
48051
48052
  enableExchange: i,
48052
48053
  cexBridgeChainMapping: o,
48053
48054
  enforceFlow: a
48054
48055
  },
48055
- children: /* @__PURE__ */ T(r8, { themeConfig: r, children: /* @__PURE__ */ ae(m, { children: [
48056
+ children: /* @__PURE__ */ T(r8, { themeConfig: r, children: /* @__PURE__ */ ae(S, { children: [
48056
48057
  /* @__PURE__ */ T(fG, {}),
48057
48058
  /* @__PURE__ */ T(HG, {})
48058
48059
  ] }) })
@@ -48075,4 +48076,3 @@ export {
48075
48076
  cS as DEFAULT_CEX_BRIDGE_CHAIN_MAPPING,
48076
48077
  Ci as SupportedExchanges
48077
48078
  };
48078
- //# sourceMappingURL=checkout-widget.es.js.map