@blockend/widget 1.0.58 → 1.0.60-beta.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/{AllRoutes-BEvx1n3I.js → AllRoutes-B-tqwmhZ.js} +9 -9
- package/dist/{Box-CFvGLr8n.js → Box-B9dKcT71.js} +14 -14
- package/dist/EstGas-ZNdT7ZNT.js +20281 -0
- package/dist/{Grow-3AzCkJ1l.js → Grow-DGNIagcL.js} +28 -28
- package/dist/{InputComp-C3wBbcNC.js → InputComp-C0BYsYO2.js} +3 -3
- package/dist/{LoadRoute-CmXjqn50.js → LoadRoute-BejmZs2l.js} +4 -4
- package/dist/{QuotesProgress-DBDNx9H9.js → QuotesProgress-DUtmb0H1.js} +1 -1
- package/dist/{SwapAsset-BP7fNDep.js → SwapAsset-C6q38SfB.js} +1 -1
- package/dist/{Tooltip-C-Vq_jVP.js → Tooltip-B9eQU87E.js} +3 -3
- package/dist/{TxnButton-BpypaZLc.js → TxnButton-B7erQoe9.js} +6 -5
- package/dist/{add-BdD4qw8Y.js → add-BDXnG29B.js} +1 -1
- package/dist/{all-wallets-CCk-NAvP.js → all-wallets-A5aRDDSX.js} +1 -1
- package/dist/{app-store-CHYh6OVQ.js → app-store-CRNlWthG.js} +1 -1
- package/dist/{apple-W6CdATsu.js → apple-Bk9AlpJi.js} +1 -1
- package/dist/{arrow-bottom-Bmskvc3Q.js → arrow-bottom-Wyw-Sjsd.js} +1 -1
- package/dist/{arrow-bottom-circle-BR3rUR84.js → arrow-bottom-circle-F5a-Pm5A.js} +1 -1
- package/dist/{arrow-left-JA_61b-X.js → arrow-left-xa8Yhbw7.js} +1 -1
- package/dist/{arrow-right-BrlRvAbh.js → arrow-right-DHehfJb9.js} +1 -1
- package/dist/{arrow-top-DwizL9FK.js → arrow-top-Zr4NTjGQ.js} +1 -1
- package/dist/{bank-J83igXCJ.js → bank-hQuILOEh.js} +1 -1
- package/dist/{basic-5KVBTBSB.js → basic-DtnxLRWd.js} +3 -3
- package/dist/{browser-rzo1y-xO.js → browser-DdzWWRtF.js} +1 -1
- package/dist/{card-Bf337Wog.js → card-CgYBeEF3.js} +1 -1
- package/dist/{ccip-tVAKLdmf.js → ccip-fwzPvAXp.js} +1 -1
- package/dist/{checkmark-CRZ67K1E.js → checkmark-CRSJVI7P.js} +1 -1
- package/dist/{checkmark-bold-UTr8cTAr.js → checkmark-bold-Chu-2qTS.js} +1 -1
- package/dist/{chevron-bottom-Dg5A8EZk.js → chevron-bottom-CWuEnub2.js} +1 -1
- package/dist/{chevron-left-CeBZLZL-.js → chevron-left-h2_syVI8.js} +1 -1
- package/dist/{chevron-right-DphGRKhn.js → chevron-right-Ct4j2Leu.js} +1 -1
- package/dist/{chevron-top-C-lV7Uem.js → chevron-top-DcBzaR2h.js} +1 -1
- package/dist/{chrome-store-BYOPEdIk.js → chrome-store-CXn4JMj-.js} +1 -1
- package/dist/{clock-CCLHSdRO.js → clock-JZPADmeK.js} +1 -1
- package/dist/{close-D8yBWTz7.js → close-DtXi8BhO.js} +1 -1
- package/dist/{coinPlaceholder-CAhetIpf.js → coinPlaceholder-BK6alFNE.js} +1 -1
- package/dist/{compass-BsT-4aom.js → compass-DWhtsJev.js} +1 -1
- package/dist/{copy-DdmNsEiq.js → copy-D-MDSgUX.js} +1 -1
- package/dist/{core-BdeortC8.js → core-BwKgmZsH.js} +3 -3
- package/dist/{cursor-CTcNmP6c.js → cursor-Dh3mFu9G.js} +1 -1
- package/dist/{cursor-transparent-BIA0Pwyl.js → cursor-transparent-NB0LxFUO.js} +1 -1
- package/dist/{desktop-rDm7WANn.js → desktop-BgF9XEMs.js} +1 -1
- package/dist/{disconnect-DW8S5LHd.js → disconnect-Dq0GPLgW.js} +1 -1
- package/dist/{discord-BpI0wQ38.js → discord-Dx0EuHuU.js} +1 -1
- package/dist/{down-CAlD4xKv.js → down-D_76LJ5o.js} +2 -2
- package/dist/{etherscan-BMI4kIcU.js → etherscan-CNIjXg_f.js} +1 -1
- package/dist/{exclamation-triangle-DEqUV_BK.js → exclamation-triangle-Bhp8mAG7.js} +1 -1
- package/dist/{extension-CbqiDgO8.js → extension-BKqqIj7b.js} +1 -1
- package/dist/{external-link-DAoUJv1x.js → external-link-DbGPs34E.js} +1 -1
- package/dist/{facebook-DIzWVNaQ.js → facebook-DRG1zLmw.js} +1 -1
- package/dist/{farcaster-CkM6gsVL.js → farcaster-DDWwjMH9.js} +1 -1
- package/dist/{filters-D7b-x_Uf.js → filters-Bj10QvW6.js} +1 -1
- package/dist/{getChainIds-DeuU0YpN.js → getChainIds-eeGoWwbI.js} +2 -2
- package/dist/{getCosmosAddress-eM1PmEO6.js → getCosmosAddress-DlgoXFw9.js} +1925 -1876
- package/dist/{github-BCWeXDnx.js → github-ZPlB-Utk.js} +1 -1
- package/dist/{google-CH0e_364.js → google-CCKsdggZ.js} +1 -1
- package/dist/{hamburger-BttJpVUT.js → hamburger-DPe9Xfjf.js} +5 -5
- package/dist/{help-circle-BH-hM-3X.js → help-circle-IpogiYkd.js} +1 -1
- package/dist/{id-Cpmcss3v.js → id--1TM5fr0.js} +1 -1
- package/dist/{image-DmOL9UPO.js → image-DUfvu2wM.js} +1 -1
- package/dist/{index-py3G4zgL.js → index-BAuHi89Z.js} +3031 -3104
- package/dist/{index-C7MrbINr.js → index-BEzLzd5e.js} +11 -11
- package/dist/{index-DxjkYOh2.js → index-BThpYFL-.js} +372 -351
- package/dist/{index-i5MevQRn.js → index-Bb3Owdat.js} +2 -2
- package/dist/{index-DsvUp-b6.js → index-BqAYNgz8.js} +78 -78
- package/dist/{index-WIhW13yE.js → index-C5XuDvkl.js} +8 -11
- package/dist/{index-CkwNinHh.js → index-CIxU6QQf.js} +2625 -2604
- package/dist/{index-CH5jwNS_.js → index-DThyqr43.js} +1 -1
- package/dist/index-Ds5cL5Tm.js +160 -0
- package/dist/{index-Dh6UktNj.js → index-HXseE2Nv.js} +1 -1
- package/dist/index-Wj3B2hZ5.js +206 -0
- package/dist/{index.es-CKCeP3NS.js → index.es-D28h__ZD.js} +1 -1
- package/dist/{index.es-CC918dIS.js → index.es-DhjmbcLt.js} +2 -2
- package/dist/index.es.js +1 -1
- package/dist/{info--YGPEfie.js → info-CRK9yM3q.js} +1 -1
- package/dist/{info-circle-sufy15Ei.js → info-circle-DroAdDav.js} +1 -1
- package/dist/{lightbulb-DCcrC2bd.js → lightbulb-DGwzaoxs.js} +1 -1
- package/dist/{mail-BWKIk0Hz.js → mail-BQSCf__h.js} +1 -1
- package/dist/{mobile-DlOglq5A.js → mobile-4chCtN_4.js} +1 -1
- package/dist/{more-BuLL_YUE.js → more-uiMKzNjJ.js} +1 -1
- package/dist/{network-placeholder-DN5-JzRo.js → network-placeholder-CVOcWHRh.js} +1 -1
- package/dist/{nftPlaceholder-j4mjXhT8.js → nftPlaceholder-CakfkypA.js} +1 -1
- package/dist/{off-DnKbD_YT.js → off-CoYWNQqe.js} +1 -1
- package/dist/{play-store-Be2CrJ2l.js → play-store-q5l7DaBe.js} +1 -1
- package/dist/{plus-BdtL-uFU.js → plus-CR0bo3Ss.js} +1 -1
- package/dist/{qr-code-iJexJUy_.js → qr-code-FNoqG2yJ.js} +1 -1
- package/dist/{recycle-horizontal-BOCYZAze.js → recycle-horizontal-BsU3dW8b.js} +1 -1
- package/dist/{refresh-CpiebWPE.js → refresh-DyJzaQLK.js} +1 -1
- package/dist/{reown-logo-CEmx4hCV.js → reown-logo-BFbpXVCB.js} +1 -1
- package/dist/{search-CFglH0n3.js → search-CoIHCx8n.js} +1 -1
- package/dist/{send-Bw76ODGY.js → send-CT0RLtYP.js} +1 -1
- package/dist/{swapHorizontal-DAVGs6k6.js → swapHorizontal-2UEy_VbL.js} +1 -1
- package/dist/{swapHorizontalBold-CzB5JPVP.js → swapHorizontalBold-BwLgMdQd.js} +1 -1
- package/dist/{swapHorizontalMedium-CBRWvDqm.js → swapHorizontalMedium-Wwd3Subk.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-CdWble2C.js → swapHorizontalRoundedBold-CbSALTi8.js} +1 -1
- package/dist/{swapVertical-DUVJ2TCz.js → swapVertical-B5GizA1j.js} +1 -1
- package/dist/{telegram-CWHjjMJD.js → telegram-BtJEmiFh.js} +1 -1
- package/dist/{three-dots-DpcT07dz.js → three-dots-Bel3OYRL.js} +1 -1
- package/dist/{twitch-DGYmy7ds.js → twitch-iJUsxLGs.js} +1 -1
- package/dist/{twitterIcon-6o1rEIpq.js → twitterIcon-5Bw6TNyI.js} +1 -1
- package/dist/{unsupportedProp-CqrW5ONm.js → unsupportedProp-CtBHkzVs.js} +1 -1
- package/dist/{useRegisterError-CgXIOMQ5.js → useRegisterError-UVP98oC5.js} +1542 -1546
- package/dist/{verify-nTHRV-dU.js → verify-9NPblyAz.js} +1 -1
- package/dist/{verify-filled-Dqm20w60.js → verify-filled-BNVhfPkW.js} +1 -1
- package/dist/{w3m-modal-TrjUTxFF.js → w3m-modal-BoPsPieM.js} +2 -2
- package/dist/{wallet-v6WLuXPB.js → wallet-DTIql0UA.js} +1 -1
- package/dist/{wallet-placeholder-wR7aP7XH.js → wallet-placeholder-DXx_YU8N.js} +1 -1
- package/dist/{walletconnect-Cebd_xmw.js → walletconnect-9eJmse3N.js} +1 -1
- package/dist/{warning-circle-DnrQ8NUj.js → warning-circle-B3zxM-8-.js} +1 -1
- package/dist/widget.css +1 -1
- package/dist/{x-BQskV_5A.js → x-EqjvjF0s.js} +1 -1
- package/package.json +2 -3
- package/dist/EstGas-CCL9S4TI.js +0 -1574
- package/dist/index-21yaepI8.js +0 -206
- package/dist/index-DqDiVhjG.js +0 -6713
@@ -1,10 +1,10 @@
|
|
1
1
|
import * as D from "react";
|
2
2
|
import kt from "react";
|
3
|
-
import { p as
|
3
|
+
import { p as J, P as i, aE as St, n as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-BAuHi89Z.js";
|
4
4
|
import { jsx as de } from "react/jsx-runtime";
|
5
|
-
import { o as et, P as It, b as Se, a as tt, m as Ut, r as mt, h as qt, H as Ee, T as Ft, q as _t, j as Xt, n as zt, t as rt, v as Yt, w as Gt } from "./useRegisterError-
|
5
|
+
import { o as et, P as It, b as Se, a as tt, m as Ut, r as mt, h as qt, H as Ee, T as Ft, q as _t, j as Xt, n as zt, t as rt, v as Yt, w as Gt } from "./useRegisterError-UVP98oC5.js";
|
6
6
|
let nt = 0;
|
7
|
-
function
|
7
|
+
function Jt(e) {
|
8
8
|
const [t, r] = D.useState(e), n = e || t;
|
9
9
|
return D.useEffect(() => {
|
10
10
|
t == null && (nt += 1, r(`mui-${nt}`));
|
@@ -16,7 +16,7 @@ function Rn(e) {
|
|
16
16
|
const t = ot();
|
17
17
|
return e ?? t;
|
18
18
|
}
|
19
|
-
return
|
19
|
+
return Jt(e);
|
20
20
|
}
|
21
21
|
function Tn({
|
22
22
|
controlled: e,
|
@@ -27,7 +27,7 @@ function Tn({
|
|
27
27
|
const {
|
28
28
|
current: o
|
29
29
|
} = D.useRef(e !== void 0), [f, p] = D.useState(t), s = o ? e : f;
|
30
|
-
if (
|
30
|
+
if (J.env.NODE_ENV !== "production") {
|
31
31
|
D.useEffect(() => {
|
32
32
|
}, [n, r, e]);
|
33
33
|
const {
|
@@ -42,10 +42,10 @@ function Tn({
|
|
42
42
|
}, []);
|
43
43
|
return [s, a];
|
44
44
|
}
|
45
|
-
const
|
46
|
-
|
45
|
+
const Kt = /* @__PURE__ */ D.createContext();
|
46
|
+
J.env.NODE_ENV !== "production" && (i.node, i.bool);
|
47
47
|
const jn = () => {
|
48
|
-
const e = D.useContext(
|
48
|
+
const e = D.useContext(Kt);
|
49
49
|
return e ?? !1;
|
50
50
|
};
|
51
51
|
var pe = {}, it;
|
@@ -216,7 +216,7 @@ function Y(e) {
|
|
216
216
|
function hr(e) {
|
217
217
|
return ["table", "td", "th"].indexOf(X(e)) >= 0;
|
218
218
|
}
|
219
|
-
function
|
219
|
+
function K(e) {
|
220
220
|
return ((te(e) ? e.ownerDocument : (
|
221
221
|
// $FlowFixMe[prop-missing]
|
222
222
|
e.document
|
@@ -231,7 +231,7 @@ function je(e) {
|
|
231
231
|
e.parentNode || // DOM Element detected
|
232
232
|
(He(e) ? e.host : null) || // ShadowRoot detected
|
233
233
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
234
|
-
|
234
|
+
K(e)
|
235
235
|
);
|
236
236
|
}
|
237
237
|
function st(e) {
|
@@ -338,7 +338,7 @@ function ft(e) {
|
|
338
338
|
var E = p.hasOwnProperty("x"), T = p.hasOwnProperty("y"), w = N, u = L, h = window;
|
339
339
|
if (c) {
|
340
340
|
var b = ge(r), x = "clientHeight", C = "clientWidth";
|
341
|
-
if (b === H(r) && (b =
|
341
|
+
if (b === H(r) && (b = K(r), Y(b).position !== "static" && s === "absolute" && (x = "scrollHeight", C = "scrollWidth")), b = b, o === L || (o === N || o === U) && f === ve) {
|
342
342
|
u = I;
|
343
343
|
var P = d && b === h && h.visualViewport ? h.visualViewport.height : (
|
344
344
|
// $FlowFixMe[prop-missing]
|
@@ -450,10 +450,10 @@ function Ue(e) {
|
|
450
450
|
};
|
451
451
|
}
|
452
452
|
function qe(e) {
|
453
|
-
return ie(
|
453
|
+
return ie(K(e)).left + Ue(e).scrollLeft;
|
454
454
|
}
|
455
455
|
function $r(e, t) {
|
456
|
-
var r = H(e), n =
|
456
|
+
var r = H(e), n = K(e), o = r.visualViewport, f = n.clientWidth, p = n.clientHeight, s = 0, a = 0;
|
457
457
|
if (o) {
|
458
458
|
f = o.width, p = o.height;
|
459
459
|
var c = yt();
|
@@ -467,7 +467,7 @@ function $r(e, t) {
|
|
467
467
|
};
|
468
468
|
}
|
469
469
|
function Mr(e) {
|
470
|
-
var t, r =
|
470
|
+
var t, r = K(e), n = Ue(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, f = ee(r.scrollWidth, r.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), p = ee(r.scrollHeight, r.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), s = -n.scrollLeft + qe(e), a = -n.scrollTop;
|
471
471
|
return Y(o || r).direction === "rtl" && (s += ee(r.clientWidth, o ? o.clientWidth : 0) - f), {
|
472
472
|
width: f,
|
473
473
|
height: p,
|
@@ -504,7 +504,7 @@ function kr(e, t) {
|
|
504
504
|
return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
|
505
505
|
}
|
506
506
|
function lt(e, t, r) {
|
507
|
-
return t === ht ? We($r(e, r)) : te(t) ? kr(t, r) : We(Mr(
|
507
|
+
return t === ht ? We($r(e, r)) : te(t) ? kr(t, r) : We(Mr(K(e)));
|
508
508
|
}
|
509
509
|
function Sr(e) {
|
510
510
|
var t = ue(je(e)), r = ["absolute", "fixed"].indexOf(Y(e).position) >= 0, n = r && V(e) ? ge(e) : e;
|
@@ -568,7 +568,7 @@ function Pt(e) {
|
|
568
568
|
}
|
569
569
|
function me(e, t) {
|
570
570
|
t === void 0 && (t = {});
|
571
|
-
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, f = r.strategy, p = f === void 0 ? e.strategy : f, s = r.boundary, a = s === void 0 ? tr : s, c = r.rootBoundary, l = c === void 0 ? ht : c, d = r.elementContext, g = d === void 0 ? le : d, m = r.altBoundary, O = m === void 0 ? !1 : m, v = r.padding, y = v === void 0 ? 0 : v, E = xt(typeof y != "number" ? y : Ot(y, he)), T = g === le ? rr : le, w = e.rects.popper, u = e.elements[O ? T : g], h = Br(te(u) ? u : u.contextElement ||
|
571
|
+
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, f = r.strategy, p = f === void 0 ? e.strategy : f, s = r.boundary, a = s === void 0 ? tr : s, c = r.rootBoundary, l = c === void 0 ? ht : c, d = r.elementContext, g = d === void 0 ? le : d, m = r.altBoundary, O = m === void 0 ? !1 : m, v = r.padding, y = v === void 0 ? 0 : v, E = xt(typeof y != "number" ? y : Ot(y, he)), T = g === le ? rr : le, w = e.rects.popper, u = e.elements[O ? T : g], h = Br(te(u) ? u : u.contextElement || K(e.elements.popper), a, l, p), b = ie(e.elements.reference), x = Pt({
|
572
572
|
reference: b,
|
573
573
|
element: w,
|
574
574
|
placement: o
|
@@ -780,7 +780,7 @@ function Yr(e) {
|
|
780
780
|
b[u] = Xe, W[u] = Xe - $;
|
781
781
|
}
|
782
782
|
if (s) {
|
783
|
-
var ze, $t = u === "x" ? L : N, Mt = u === "x" ? I : U, Z = b[h], we = h === "y" ? "height" : "width", Ye = Z + y[$t], Ge = Z - y[Mt], Me = [L, N].indexOf(E) !== -1,
|
783
|
+
var ze, $t = u === "x" ? L : N, Mt = u === "x" ? I : U, Z = b[h], we = h === "y" ? "height" : "width", Ye = Z + y[$t], Ge = Z - y[Mt], Me = [L, N].indexOf(E) !== -1, Je = (ze = M == null ? void 0 : M[h]) != null ? ze : 0, Ke = Me ? Ye : Z - x[we] - C[we] - Je + A.altAxis, Qe = Me ? Z + x[we] + C[we] - Je - A.altAxis : Ge, Ze = m && Me ? yr(Ke, Z, Qe) : ce(m ? Ke : Ye, Z, m ? Qe : Ge);
|
784
784
|
b[h] = Ze, W[h] = Ze - Z;
|
785
785
|
}
|
786
786
|
t.modifiersData[n] = W;
|
@@ -793,14 +793,14 @@ const Gr = {
|
|
793
793
|
fn: Yr,
|
794
794
|
requiresIfExists: ["offset"]
|
795
795
|
};
|
796
|
-
function
|
796
|
+
function Jr(e) {
|
797
797
|
return {
|
798
798
|
scrollLeft: e.scrollLeft,
|
799
799
|
scrollTop: e.scrollTop
|
800
800
|
};
|
801
801
|
}
|
802
|
-
function
|
803
|
-
return e === H(e) || !V(e) ? Ue(e) :
|
802
|
+
function Kr(e) {
|
803
|
+
return e === H(e) || !V(e) ? Ue(e) : Jr(e);
|
804
804
|
}
|
805
805
|
function Qr(e) {
|
806
806
|
var t = e.getBoundingClientRect(), r = oe(t.width) / e.offsetWidth || 1, n = oe(t.height) / e.offsetHeight || 1;
|
@@ -808,7 +808,7 @@ function Qr(e) {
|
|
808
808
|
}
|
809
809
|
function Zr(e, t, r) {
|
810
810
|
r === void 0 && (r = !1);
|
811
|
-
var n = V(t), o = V(t) && Qr(t), f =
|
811
|
+
var n = V(t), o = V(t) && Qr(t), f = K(t), p = ie(e, o, r), s = {
|
812
812
|
scrollLeft: 0,
|
813
813
|
scrollTop: 0
|
814
814
|
}, a = {
|
@@ -816,7 +816,7 @@ function Zr(e, t, r) {
|
|
816
816
|
y: 0
|
817
817
|
};
|
818
818
|
return (n || !n && !r) && ((X(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
819
|
-
Fe(f)) && (s =
|
819
|
+
Fe(f)) && (s = Kr(t)), V(t) ? (a = ie(t, !0), a.x += t.clientLeft, a.y += t.clientTop) : f && (a.x = qe(f))), {
|
820
820
|
x: p.left + s.scrollLeft - a.x,
|
821
821
|
y: p.top + s.scrollTop - a.y,
|
822
822
|
width: p.width,
|
@@ -1055,9 +1055,9 @@ const dn = (e) => {
|
|
1055
1055
|
const R = (S) => {
|
1056
1056
|
C(S.placement);
|
1057
1057
|
};
|
1058
|
-
if (
|
1058
|
+
if (J.env.NODE_ENV !== "production" && P && Ae(P) && P.nodeType === 1) {
|
1059
1059
|
const S = P.getBoundingClientRect();
|
1060
|
-
|
1060
|
+
J.env.NODE_ENV !== "test" && S.top === 0 && S.left === 0 && S.right === 0 && S.bottom;
|
1061
1061
|
}
|
1062
1062
|
let j = [{
|
1063
1063
|
name: "preventOverflow",
|
@@ -1172,7 +1172,7 @@ const dn = (e) => {
|
|
1172
1172
|
}))
|
1173
1173
|
});
|
1174
1174
|
});
|
1175
|
-
|
1175
|
+
J.env.NODE_ENV !== "production" && (Rt.propTypes = {
|
1176
1176
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
1177
1177
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
1178
1178
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
@@ -1188,7 +1188,7 @@ K.env.NODE_ENV !== "production" && (Rt.propTypes = {
|
|
1188
1188
|
const t = Re(e.anchorEl);
|
1189
1189
|
if (t && Ae(t) && t.nodeType === 1) {
|
1190
1190
|
const r = t.getBoundingClientRect();
|
1191
|
-
if (
|
1191
|
+
if (J.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
|
1192
1192
|
return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
1193
1193
|
`));
|
1194
1194
|
} else if (!t || typeof t.getBoundingClientRect != "function" || un(t) && t.contextElement != null && t.contextElement.nodeType !== 1)
|
@@ -1341,7 +1341,7 @@ const hn = ["anchorEl", "component", "components", "componentsProps", "container
|
|
1341
1341
|
ref: r
|
1342
1342
|
}));
|
1343
1343
|
});
|
1344
|
-
|
1344
|
+
J.env.NODE_ENV !== "production" && (yn.propTypes = {
|
1345
1345
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
1346
1346
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
1347
1347
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
@@ -1572,7 +1572,7 @@ const wn = {
|
|
1572
1572
|
}, j))
|
1573
1573
|
}));
|
1574
1574
|
});
|
1575
|
-
|
1575
|
+
J.env.NODE_ENV !== "production" && (Tt.propTypes = {
|
1576
1576
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
1577
1577
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
1578
1578
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { jsxs as b, jsx as t, Fragment as k } from "react/jsx-runtime";
|
2
|
-
import { u as n, S as W } from "./index-
|
2
|
+
import { u as n, S as W } from "./index-BAuHi89Z.js";
|
3
3
|
import { useState as S, useRef as x } from "react";
|
4
|
-
import { u as j, i as I, W as D, F, f as p, c as u, z as R } from "./useRegisterError-
|
4
|
+
import { u as j, i as I, W as D, F, f as p, c as u, z as R } from "./useRegisterError-UVP98oC5.js";
|
5
5
|
import { useAccount as T, useBalance as A } from "wagmi";
|
6
6
|
import "@dynamic-labs/sdk-react-core";
|
7
|
-
import { c as B, r as G } from "./index-
|
7
|
+
import { c as B, r as G } from "./index-BThpYFL-.js";
|
8
8
|
function H({ amount: w, setAmount: l, fetchBalance: M, getCoinBalance: h, isBalanceLoading: f }) {
|
9
9
|
var d, o;
|
10
10
|
const s = n((a) => a.configuration), e = n((a) => a.fromCoin), r = n((a) => a.fromChain), { isAnyWalletConnected: g } = j({ chainData: r }), [$, z] = S(40), { address: N } = T(), v = x(), { defaultCoin: y } = I;
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { jsx as e, jsxs as t, Fragment as m } from "react/jsx-runtime";
|
2
2
|
import { t as te } from "./truncate-D9t92mVX.js";
|
3
|
-
import { u as r, S as o, l as we } from "./index-
|
3
|
+
import { u as r, S as o, l as we } from "./index-BAuHi89Z.js";
|
4
4
|
import { useState as ie, useEffect as le } from "react";
|
5
5
|
import { s as a } from "./WidgetForm.module-QHJ0-m5f.js";
|
6
6
|
import { G as ce, C as de, S as me } from "./clockIcon-C2W5xvyt.js";
|
7
|
-
import { S as re } from "./down-
|
7
|
+
import { S as re } from "./down-D_76LJ5o.js";
|
8
8
|
import { e as se } from "./ethertousd-CC_ezooz.js";
|
9
|
-
import { O as H } from "./index-
|
10
|
-
import { F as J, i as ae } from "./useRegisterError-
|
9
|
+
import { O as H } from "./index-DThyqr43.js";
|
10
|
+
import { F as J, i as ae } from "./useRegisterError-UVP98oC5.js";
|
11
11
|
function oe({ fill: n }) {
|
12
12
|
return /* @__PURE__ */ e(
|
13
13
|
"svg",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsxs as o, jsx as a, Fragment as m } from "react/jsx-runtime";
|
2
2
|
import { s as l } from "./WidgetForm.module-QHJ0-m5f.js";
|
3
|
-
import { u as g } from "./index-
|
3
|
+
import { u as g } from "./index-BAuHi89Z.js";
|
4
4
|
function y({ routesData: x, routes: e, quoteTimer: n, amount: c }) {
|
5
5
|
var s, b, d, w;
|
6
6
|
const r = g((i) => i.configuration), t = g((i) => i.gradient);
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { b as go, g as To, i as yo, _ as vo, p as B, d as n, e as D, s as Q, f as Ve, h as Po, j as ze, P as e } from "./index-
|
1
|
+
import { b as go, g as To, i as yo, _ as vo, p as B, d as n, e as D, s as Q, f as Ve, h as Po, j as ze, P as e } from "./index-BAuHi89Z.js";
|
2
2
|
import * as p from "react";
|
3
|
-
import { G as Be, b as wo, u as Ro, a as Co, P as He } from "./Grow-
|
3
|
+
import { G as Be, b as wo, u as Ro, a as Co, P as He } from "./Grow-DGNIagcL.js";
|
4
4
|
import { jsx as j, jsxs as Se } from "react/jsx-runtime";
|
5
|
-
import { j as xo, q as I, l as Ue, s as Oo, b as Eo, n as Mo, D as A, E as _o, w as No } from "./useRegisterError-
|
5
|
+
import { j as xo, q as I, l as Ue, s as Oo, b as Eo, n as Mo, D as A, E as _o, w as No } from "./useRegisterError-UVP98oC5.js";
|
6
6
|
function Lo(r) {
|
7
7
|
return To("MuiTooltip", r);
|
8
8
|
}
|
@@ -1,12 +1,13 @@
|
|
1
1
|
import { jsx as G } from "react/jsx-runtime";
|
2
2
|
import { useState as v, useEffect as z } from "react";
|
3
3
|
import { useDynamicContext as xe, useSwitchNetwork as Me, useIsLoggedIn as Oe } from "@dynamic-labs/sdk-react-core";
|
4
|
-
import { a as _, u as h, aA as Re, aB as pe } from "./index-
|
4
|
+
import { a as _, u as h, aA as Re, aB as pe } from "./index-BAuHi89Z.js";
|
5
5
|
import { s as S } from "./WidgetForm.module-QHJ0-m5f.js";
|
6
6
|
import { useAccount as Ve, useConfig as qe, useSwitchChain as Pe, useBalance as _e } from "wagmi";
|
7
|
-
import { u as ge, d as Qe, c as He, C as ye } from "./useRegisterError-
|
7
|
+
import { u as ge, d as Qe, c as He, C as ye } from "./useRegisterError-UVP98oC5.js";
|
8
|
+
import "./getCosmosAddress-DlgoXFw9.js";
|
8
9
|
import { v as Je } from "./validError-CDlJpg_f.js";
|
9
|
-
import { u as Ke, g as Ue, p as Xe } from "./index-
|
10
|
+
import { u as Ke, g as Ue, p as Xe } from "./index-BThpYFL-.js";
|
10
11
|
function Ye(n) {
|
11
12
|
const { wallet: u, address: l } = _(), [f, N] = v(0);
|
12
13
|
async function x() {
|
@@ -31,7 +32,7 @@ function Ze() {
|
|
31
32
|
(l.networkType === "btc" || l.networkType === "sui") && N();
|
32
33
|
}, [l.networkType, f]), n;
|
33
34
|
}
|
34
|
-
function
|
35
|
+
function ot({ routesData: n, routes: u, amount: l, isAmountTyped: f, handleShowWallet: N, setConnectWalletField: x, handleConfirmClose: F, balanceSol: L, getCoinBalance: Te, handleSuccess: Q }) {
|
35
36
|
var C, ee, te, se, re, ce, ne, ie, de, ae, le, oe, we;
|
36
37
|
const w = h((s) => s.gradient), m = h((s) => s.configuration), e = h((s) => s.fromChain), i = h((s) => s.fromCoin), r = h((s) => s.toChain), b = h((s) => s.toCoin), { isConnected: j, address: H, chain: I } = Ve(), { address: J, isConnected: We } = _(), me = qe(), Ie = Me(), { getBothWalletConnection: he, getConnectWallet: fe } = ge({
|
37
38
|
chainData: e
|
@@ -218,5 +219,5 @@ function lt({ routesData: n, routes: u, amount: l, isAmountTyped: f, handleShowW
|
|
218
219
|
);
|
219
220
|
}
|
220
221
|
export {
|
221
|
-
|
222
|
+
ot as default
|
222
223
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { i as D, e as G, r as q, a as A, x as c, C as U, A as M, O as tt, b as z, E as et, R as O, c as Ut, d as K, f as N, S as pe, g as Cn, W as fe, h as Ze, j as vi, T as ti, k as Xt, M as on, l as rn, m as Dt, n as yi, o as $n } from "./core-
|
2
|
-
import { n as u, c as B, o as W, r as E, U as ht, e as Rn, f as En, a as In } from "./index-
|
3
|
-
import { n as Wn } from "./index-
|
1
|
+
import { i as D, e as G, r as q, a as A, x as c, C as U, A as M, O as tt, b as z, E as et, R as O, c as Ut, d as K, f as N, S as pe, g as Cn, W as fe, h as Ze, j as vi, T as ti, k as Xt, M as on, l as rn, m as Dt, n as yi, o as $n } from "./core-BwKgmZsH.js";
|
2
|
+
import { n as u, c as B, o as W, r as E, U as ht, e as Rn, f as En, a as In } from "./index-BqAYNgz8.js";
|
3
|
+
import { n as Wn } from "./index-BAuHi89Z.js";
|
4
4
|
const Sn = D`
|
5
5
|
:host {
|
6
6
|
position: relative;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ad as L, ae as b, af as F, ag as N, ah as P, ai as w, aj as S, ak as E, al as $, am as C, an as I, ao as m, ap as G, aq as R, ar as k, as as y, at as O, au as q, av as T, aw as v, ax as D, ay as A, az as H } from "./index-
|
1
|
+
import { ad as L, ae as b, af as F, ag as N, ah as P, ai as w, aj as S, ak as E, al as $, am as C, an as I, ao as m, ap as G, aq as R, ar as k, as as y, at as O, au as q, av as T, aw as v, ax as D, ay as A, az as H } from "./index-BAuHi89Z.js";
|
2
2
|
const h = "/docs/contract/encodeErrorResult";
|
3
3
|
function x(t) {
|
4
4
|
const { abi: s, errorName: a, args: r } = t;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { B as et } from "./index-DTish3yr.js";
|
2
|
-
import { I as Wr, c as Zu, f as Tt, t as pt, a as U, g as re, b as us, C as Xu, d as Qu, e as ui, s as co, h as fl, i as er, k as Ti, A as ml, E as nt, j as eh, l as th, y as Ct, m as Ws, r as zr, O as Wo, o as kt, n as sh, p as zo, q as Ho, u as vn, N as Vo, P as ca, Q as rh, v as ih, w as nh, x as la, z as _r, B as wl, D as is, F as Vt, G as hs, H as Bt } from "./index.es-
|
3
|
-
import { p as Se } from "./index-
|
2
|
+
import { I as Wr, c as Zu, f as Tt, t as pt, a as U, g as re, b as us, C as Xu, d as Qu, e as ui, s as co, h as fl, i as er, k as Ti, A as ml, E as nt, j as eh, l as th, y as Ct, m as Ws, r as zr, O as Wo, o as kt, n as sh, p as zo, q as Ho, u as vn, N as Vo, P as ca, Q as rh, v as ih, w as nh, x as la, z as _r, B as wl, D as is, F as Vt, G as hs, H as Bt } from "./index.es-DhjmbcLt.js";
|
3
|
+
import { p as Se } from "./index-BAuHi89Z.js";
|
4
4
|
import { formatUnits as oh, recoverAddress as ah, fallback as ua, http as Wi, toHex as ha } from "viem";
|
5
5
|
const z = {
|
6
6
|
WC_NAME_SUFFIX: ".reown.id",
|
@@ -14903,7 +14903,7 @@ class Yu extends NE {
|
|
14903
14903
|
}
|
14904
14904
|
async injectModalUi() {
|
14905
14905
|
if (!pl && Z.isClient()) {
|
14906
|
-
if (await import("./basic-
|
14906
|
+
if (await import("./basic-DtnxLRWd.js"), await import("./w3m-modal-BoPsPieM.js"), !document.querySelector("w3m-modal")) {
|
14907
14907
|
const s = document.createElement("w3m-modal");
|
14908
14908
|
!O.state.disableAppend && !O.state.enableEmbedded && document.body.insertAdjacentElement("beforeend", s);
|
14909
14909
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as st } from "react/jsx-runtime";
|
2
2
|
import { useRef as _e, useEffect as xe } from "react";
|
3
|
-
import { m as X, u as me } from "./index-
|
4
|
-
import { L as ve } from "./useRegisterError-
|
3
|
+
import { m as X, u as me } from "./index-BAuHi89Z.js";
|
4
|
+
import { L as ve } from "./useRegisterError-UVP98oC5.js";
|
5
5
|
var m = {}, F = { exports: {} };
|
6
6
|
F.exports;
|
7
7
|
var qt;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as C } from "./core-
|
1
|
+
import { m as C } from "./core-BwKgmZsH.js";
|
2
2
|
const t = C`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
3
3
|
<path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
|
4
4
|
</svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as h } from "./core-
|
1
|
+
import { m as h } from "./core-BwKgmZsH.js";
|
2
2
|
const a = h`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
|
3
3
|
<rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
|
4
4
|
<path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
|