@blockend/widget 1.0.56 → 1.0.58
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-CyD25qOP.js → AllRoutes-BEvx1n3I.js} +9 -9
- package/dist/{Box-BqKR6yh2.js → Box-CFvGLr8n.js} +13 -13
- package/dist/{EstGas-BIwMpIdu.js → EstGas-CCL9S4TI.js} +93 -92
- package/dist/{Grow-BVXa982_.js → Grow-3AzCkJ1l.js} +28 -28
- package/dist/{InputComp-mfg9qUQM.js → InputComp-C3wBbcNC.js} +3 -3
- package/dist/{LoadRoute-psJpcC1g.js → LoadRoute-CmXjqn50.js} +4 -4
- package/dist/{QuotesProgress-DdH9coV4.js → QuotesProgress-DBDNx9H9.js} +1 -1
- package/dist/{SwapAsset-DZm2uxy-.js → SwapAsset-BP7fNDep.js} +1 -1
- package/dist/{Tooltip-BasOLFMf.js → Tooltip-C-Vq_jVP.js} +3 -3
- package/dist/TxnButton-BpypaZLc.js +222 -0
- package/dist/{add-hMkDpQJx.js → add-BdD4qw8Y.js} +1 -1
- package/dist/{all-wallets-TzzPsASL.js → all-wallets-CCk-NAvP.js} +1 -1
- package/dist/{app-store-Bvi3lO0E.js → app-store-CHYh6OVQ.js} +1 -1
- package/dist/{apple-DovGBZVC.js → apple-W6CdATsu.js} +1 -1
- package/dist/{arrow-bottom-Bt0z0B0d.js → arrow-bottom-Bmskvc3Q.js} +1 -1
- package/dist/{arrow-bottom-circle-B6pKx0dw.js → arrow-bottom-circle-BR3rUR84.js} +1 -1
- package/dist/{arrow-left-I0NpmB6b.js → arrow-left-JA_61b-X.js} +1 -1
- package/dist/{arrow-right-CmtwLDja.js → arrow-right-BrlRvAbh.js} +1 -1
- package/dist/{arrow-top-DokEs3HC.js → arrow-top-DwizL9FK.js} +1 -1
- package/dist/{bank-yu5LTCzK.js → bank-J83igXCJ.js} +1 -1
- package/dist/{basic-Cuqqlzwv.js → basic-5KVBTBSB.js} +3 -3
- package/dist/{browser-D-klzbTJ.js → browser-rzo1y-xO.js} +1 -1
- package/dist/{card-C7_UmEhR.js → card-Bf337Wog.js} +1 -1
- package/dist/{ccip-BqcIWBNQ.js → ccip-tVAKLdmf.js} +16 -16
- package/dist/{checkmark-DGmFkx4x.js → checkmark-CRZ67K1E.js} +1 -1
- package/dist/{checkmark-bold-K5aQHF2s.js → checkmark-bold-UTr8cTAr.js} +1 -1
- package/dist/{chevron-bottom-D1sa5ntV.js → chevron-bottom-Dg5A8EZk.js} +1 -1
- package/dist/{chevron-left-CrTavssV.js → chevron-left-CeBZLZL-.js} +1 -1
- package/dist/{chevron-right-4tHjmIzI.js → chevron-right-DphGRKhn.js} +1 -1
- package/dist/{chevron-top-BGhhItI1.js → chevron-top-C-lV7Uem.js} +1 -1
- package/dist/{chrome-store-BSS7R8tR.js → chrome-store-BYOPEdIk.js} +1 -1
- package/dist/{clock-C0LASIAZ.js → clock-CCLHSdRO.js} +1 -1
- package/dist/{close-u-Xm2I00.js → close-D8yBWTz7.js} +1 -1
- package/dist/{coinPlaceholder-C-f0Hi8-.js → coinPlaceholder-CAhetIpf.js} +1 -1
- package/dist/{compass-BePsWGiq.js → compass-BsT-4aom.js} +1 -1
- package/dist/{copy-CcmBGGYL.js → copy-DdmNsEiq.js} +1 -1
- package/dist/{core-DTXll9hG.js → core-BdeortC8.js} +17 -16
- package/dist/{cursor-CtyBKKIZ.js → cursor-CTcNmP6c.js} +1 -1
- package/dist/{cursor-transparent-DV-nTgKw.js → cursor-transparent-BIA0Pwyl.js} +1 -1
- package/dist/{desktop-BQk6XvDk.js → desktop-rDm7WANn.js} +1 -1
- package/dist/{disconnect-Bnip6tM-.js → disconnect-DW8S5LHd.js} +1 -1
- package/dist/{discord-CixZYk_L.js → discord-BpI0wQ38.js} +1 -1
- package/dist/{down-DveeNmNl.js → down-CAlD4xKv.js} +2 -2
- package/dist/{etherscan-Ca4qbKIV.js → etherscan-BMI4kIcU.js} +1 -1
- package/dist/{exclamation-triangle-DEJeWCAG.js → exclamation-triangle-DEqUV_BK.js} +1 -1
- package/dist/{extension-Dwkk2Z0q.js → extension-CbqiDgO8.js} +1 -1
- package/dist/{external-link-BVJzQ3gM.js → external-link-DAoUJv1x.js} +1 -1
- package/dist/{facebook-H39HpD1e.js → facebook-DIzWVNaQ.js} +1 -1
- package/dist/{farcaster-B0C8pA-P.js → farcaster-CkM6gsVL.js} +1 -1
- package/dist/{filters-BfgKjq1s.js → filters-D7b-x_Uf.js} +1 -1
- package/dist/{getChainIds-DJyYvC8w.js → getChainIds-DeuU0YpN.js} +69 -69
- package/dist/getCosmosAddress-eM1PmEO6.js +9517 -0
- package/dist/{github-CZxxY0sj.js → github-BCWeXDnx.js} +1 -1
- package/dist/{google-DbGRWYI0.js → google-CH0e_364.js} +1 -1
- package/dist/{hamburger-C-fmenLo.js → hamburger-BttJpVUT.js} +5 -5
- package/dist/{help-circle-BZqpCbkX.js → help-circle-BH-hM-3X.js} +1 -1
- package/dist/{id-BohjVAp4.js → id-Cpmcss3v.js} +1 -1
- package/dist/{image-DYGqq78I.js → image-DmOL9UPO.js} +1 -1
- package/dist/{index-9oZmbNJz.js → index-21yaepI8.js} +4 -4
- package/dist/{index-Cb-vA8WO.js → index-C7MrbINr.js} +11 -11
- package/dist/{index-C2K4V7-H.js → index-CH5jwNS_.js} +1 -1
- package/dist/{index-CgCWrCyY.js → index-CkwNinHh.js} +19 -18
- package/dist/index-DTish3yr.js +1014 -0
- package/dist/{index-BuTM3T5V.js → index-Dh6UktNj.js} +1 -1
- package/dist/{index-CJJQ2LCX.js → index-DqDiVhjG.js} +8 -7
- package/dist/{index-hXKqfCGv.js → index-DsvUp-b6.js} +78 -78
- package/dist/{index-Cb6Z5QF3.js → index-DxjkYOh2.js} +7 -7
- package/dist/{index-OBUgs_7T.js → index-WIhW13yE.js} +4 -4
- package/dist/{index-BE1KHDcY.js → index-i5MevQRn.js} +2 -2
- package/dist/index-py3G4zgL.js +29495 -0
- package/dist/{index.es-BNrhKlYX.js → index.es-CC918dIS.js} +26 -24
- package/dist/{index.es-Dodf_4Pq.js → index.es-CKCeP3NS.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{info-DpJutiAx.js → info--YGPEfie.js} +1 -1
- package/dist/{info-circle-BwhhpI3z.js → info-circle-sufy15Ei.js} +1 -1
- package/dist/{lightbulb-DWYKdsBz.js → lightbulb-DCcrC2bd.js} +1 -1
- package/dist/{mail-CEBxLp-q.js → mail-BWKIk0Hz.js} +1 -1
- package/dist/{mobile-jGiJK-tS.js → mobile-DlOglq5A.js} +1 -1
- package/dist/{more-Ceddtafo.js → more-BuLL_YUE.js} +1 -1
- package/dist/{network-placeholder-BiDTGsDC.js → network-placeholder-DN5-JzRo.js} +1 -1
- package/dist/{nftPlaceholder-Bdt3xlsh.js → nftPlaceholder-j4mjXhT8.js} +1 -1
- package/dist/{off-CjQUQbIf.js → off-DnKbD_YT.js} +1 -1
- package/dist/{play-store-CHlzBg61.js → play-store-Be2CrJ2l.js} +1 -1
- package/dist/{plus-BpDW56X5.js → plus-BdtL-uFU.js} +1 -1
- package/dist/{qr-code-Cn4ixB1y.js → qr-code-iJexJUy_.js} +1 -1
- package/dist/{recycle-horizontal-DBU-2t6D.js → recycle-horizontal-BOCYZAze.js} +1 -1
- package/dist/{refresh-DF6FHw_b.js → refresh-CpiebWPE.js} +1 -1
- package/dist/{reown-logo-DZuLV_8T.js → reown-logo-CEmx4hCV.js} +1 -1
- package/dist/{search-CtvrGHTU.js → search-CFglH0n3.js} +1 -1
- package/dist/{send-q0rRlrWy.js → send-Bw76ODGY.js} +1 -1
- package/dist/{swapHorizontal-y4XZEygv.js → swapHorizontal-DAVGs6k6.js} +1 -1
- package/dist/{swapHorizontalBold-DbOTapbL.js → swapHorizontalBold-CzB5JPVP.js} +1 -1
- package/dist/{swapHorizontalMedium-DjJ6sIy9.js → swapHorizontalMedium-CBRWvDqm.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-DseOC2QK.js → swapHorizontalRoundedBold-CdWble2C.js} +1 -1
- package/dist/{swapVertical-CtSwX7c_.js → swapVertical-DUVJ2TCz.js} +1 -1
- package/dist/{telegram-mDVVPT-5.js → telegram-CWHjjMJD.js} +1 -1
- package/dist/{three-dots-BC4W7vAE.js → three-dots-DpcT07dz.js} +1 -1
- package/dist/{twitch-BtdlLgtD.js → twitch-DGYmy7ds.js} +1 -1
- package/dist/{twitterIcon-FYpWmhWb.js → twitterIcon-6o1rEIpq.js} +1 -1
- package/dist/{unsupportedProp-Bk4k1APH.js → unsupportedProp-CqrW5ONm.js} +1 -1
- package/dist/{useRegisterError-Dvrv5eoV.js → useRegisterError-CgXIOMQ5.js} +1 -1
- package/dist/{verify-filled-D86UrptW.js → verify-filled-Dqm20w60.js} +1 -1
- package/dist/{verify-Dherv62_.js → verify-nTHRV-dU.js} +1 -1
- package/dist/{w3m-modal-DGiYzg-1.js → w3m-modal-TrjUTxFF.js} +2 -2
- package/dist/{wallet-placeholder-BjrNOIyN.js → wallet-placeholder-wR7aP7XH.js} +1 -1
- package/dist/{wallet-BlgfCBaN.js → wallet-v6WLuXPB.js} +1 -1
- package/dist/{walletconnect-__d1VRdN.js → walletconnect-Cebd_xmw.js} +1 -1
- package/dist/{warning-circle-CR3NTneR.js → warning-circle-DnrQ8NUj.js} +1 -1
- package/dist/{x-BVa5oeDy.js → x-BQskV_5A.js} +1 -1
- package/package.json +4 -5
- package/dist/TxnButton-7H0ziW6y.js +0 -215
- package/dist/getCosmosAddress-wvdpMO7J.js +0 -6075
- package/dist/index-qJms-6-V.js +0 -48905
@@ -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 K, P as i, aK as St, n as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-py3G4zgL.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-CgXIOMQ5.js";
|
6
6
|
let nt = 0;
|
7
|
-
function
|
7
|
+
function Kt(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 Kt(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 (K.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 Jt = /* @__PURE__ */ D.createContext();
|
46
|
+
K.env.NODE_ENV !== "production" && (i.node, i.bool);
|
47
47
|
const jn = () => {
|
48
|
-
const e = D.useContext(
|
48
|
+
const e = D.useContext(Jt);
|
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 J(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
|
+
J(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 = J(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(J(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 = J(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 = J(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(J(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 || J(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, Ke = (ze = M == null ? void 0 : M[h]) != null ? ze : 0, Je = Me ? Ye : Z - x[we] - C[we] - Ke + A.altAxis, Qe = Me ? Z + x[we] + C[we] - Ke - A.altAxis : Ge, Ze = m && Me ? yr(Je, Z, Qe) : ce(m ? Je : Ye, Z, m ? Qe : Ge);
|
784
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 Kr(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 Jr(e) {
|
803
|
+
return e === H(e) || !V(e) ? Ue(e) : Kr(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 = J(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 = Jr(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 (K.env.NODE_ENV !== "production" && P && Ae(P) && P.nodeType === 1) {
|
1059
1059
|
const S = P.getBoundingClientRect();
|
1060
|
-
|
1060
|
+
K.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
|
+
K.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 @@ J.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 (K.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
|
+
K.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
|
+
K.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-py3G4zgL.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-CgXIOMQ5.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-DxjkYOh2.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-py3G4zgL.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-CAlD4xKv.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-CH5jwNS_.js";
|
10
|
+
import { F as J, i as ae } from "./useRegisterError-CgXIOMQ5.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-py3G4zgL.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-py3G4zgL.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-3AzCkJ1l.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-CgXIOMQ5.js";
|
6
6
|
function Lo(r) {
|
7
7
|
return To("MuiTooltip", r);
|
8
8
|
}
|
@@ -0,0 +1,222 @@
|
|
1
|
+
import { jsx as G } from "react/jsx-runtime";
|
2
|
+
import { useState as v, useEffect as z } from "react";
|
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-py3G4zgL.js";
|
5
|
+
import { s as S } from "./WidgetForm.module-QHJ0-m5f.js";
|
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-CgXIOMQ5.js";
|
8
|
+
import { v as Je } from "./validError-CDlJpg_f.js";
|
9
|
+
import { u as Ke, g as Ue, p as Xe } from "./index-DxjkYOh2.js";
|
10
|
+
function Ye(n) {
|
11
|
+
const { wallet: u, address: l } = _(), [f, N] = v(0);
|
12
|
+
async function x() {
|
13
|
+
const F = await window.tronWeb.trx.getBalance(l);
|
14
|
+
N(F / Math.pow(10, 6));
|
15
|
+
}
|
16
|
+
return z(() => {
|
17
|
+
l && (n == null ? void 0 : n.networkType) === "tron" && x();
|
18
|
+
}, [l, n == null ? void 0 : n.networkType]), { tronBal: f };
|
19
|
+
}
|
20
|
+
function A(n) {
|
21
|
+
if (n.key.toLowerCase() === "backpacksol")
|
22
|
+
return !0;
|
23
|
+
}
|
24
|
+
function Ze() {
|
25
|
+
const [n, u] = v(0), l = h((x) => x.fromChain), { primaryWallet: f } = xe();
|
26
|
+
async function N() {
|
27
|
+
let x = await f.getBalance();
|
28
|
+
u(Number(x) || 0);
|
29
|
+
}
|
30
|
+
return z(() => {
|
31
|
+
(l.networkType === "btc" || l.networkType === "sui") && N();
|
32
|
+
}, [l.networkType, f]), n;
|
33
|
+
}
|
34
|
+
function lt({ routesData: n, routes: u, amount: l, isAmountTyped: f, handleShowWallet: N, setConnectWalletField: x, handleConfirmClose: F, balanceSol: L, getCoinBalance: Te, handleSuccess: Q }) {
|
35
|
+
var C, ee, te, se, re, ce, ne, ie, de, ae, le, oe, we;
|
36
|
+
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
|
+
chainData: e
|
38
|
+
}), { connected: K, address: U, disconnect: De } = _(), M = h((s) => s.toDisconnect), d = h((s) => s.customWallet), { getWallet: Ne } = ge({ chainData: e }), Be = fe(e, r), [O, Ge] = v("101"), { tronBal: R } = Ye(e), { cosmosBalance: X } = Ke(), Y = Ze(), V = ((C = e.chain) == null ? void 0 : C.length) && ((ee = r.chain) == null ? void 0 : ee.length), q = ((te = i.address) == null ? void 0 : te.length) && ((se = b.address) == null ? void 0 : se.length), Se = Qe(), Z = Re(), { switchChain: ke, switchChainAsync: $e, isPending: Ee } = Pe({
|
39
|
+
chainId: Number((e == null ? void 0 : e.chainId) || "0"),
|
40
|
+
config: me,
|
41
|
+
throwForSwitchChainNotSupported: !0,
|
42
|
+
onError(s) {
|
43
|
+
Je(s.message) && Se({ module: "wallet-error-switch", error: s.message });
|
44
|
+
}
|
45
|
+
}), T = _e({
|
46
|
+
address: H,
|
47
|
+
token: "",
|
48
|
+
chainId: Number((e == null ? void 0 : e.chainId) || 0),
|
49
|
+
enabled: (e == null ? void 0 : e.networkType) == "evm"
|
50
|
+
}), W = He(Te || 0, 11), [o, a] = v({
|
51
|
+
text: "",
|
52
|
+
isGradient: !1,
|
53
|
+
color: "bw-bg-border-primary"
|
54
|
+
});
|
55
|
+
async function Fe() {
|
56
|
+
if ((e == null ? void 0 : e.networkType) === "evm" && Number((e == null ? void 0 : e.chainId) || "0") !== (I == null ? void 0 : I.id))
|
57
|
+
try {
|
58
|
+
await $e({ chainId: Number((e == null ? void 0 : e.chainId) || "0") });
|
59
|
+
} catch {
|
60
|
+
}
|
61
|
+
else if ((e == null ? void 0 : e.networkType) === "sol" && O !== ((e == null ? void 0 : e.chainId) == "eclipse-svm" ? "201" : "101"))
|
62
|
+
try {
|
63
|
+
let s = await Ie({ wallet: p, network: e.chainId == "eclipse-svm" ? "201" : "101" });
|
64
|
+
D();
|
65
|
+
} catch {
|
66
|
+
}
|
67
|
+
else (e == null ? void 0 : e.networkType) === "sui" ? (Z.emit(pe.TransactionStarted, {
|
68
|
+
...n
|
69
|
+
}), B && (Q(!1), F())) : (Z.emit(pe.TransactionStarted, {
|
70
|
+
...n
|
71
|
+
}), B && (Q(!1), F()));
|
72
|
+
}
|
73
|
+
const { primaryWallet: p } = xe(), P = Oe(), B = (e == null ? void 0 : e.networkType) === r.networkType ? !!((ce = (re = Ne(e)) == null ? void 0 : re.address) != null && ce.length) : he(e == null ? void 0 : e.networkType, (d == null ? void 0 : d.length) > 30 ? "customWallet" : r == null ? void 0 : r.networkType), D = async () => {
|
74
|
+
if (p)
|
75
|
+
try {
|
76
|
+
const s = await p.getNetwork();
|
77
|
+
Ge(s);
|
78
|
+
} catch {
|
79
|
+
}
|
80
|
+
else
|
81
|
+
return;
|
82
|
+
};
|
83
|
+
z(() => {
|
84
|
+
D();
|
85
|
+
}, [p]);
|
86
|
+
function k(s, g) {
|
87
|
+
let y = s / Math.pow(10, g);
|
88
|
+
return y < 1e-6 ? y.toFixed(20) : y;
|
89
|
+
}
|
90
|
+
function Le() {
|
91
|
+
var s;
|
92
|
+
return Number(((s = T == null ? void 0 : T.data) == null ? void 0 : s.formatted) || 0);
|
93
|
+
}
|
94
|
+
function je(s) {
|
95
|
+
var g;
|
96
|
+
return Number(((g = X[Xe(s.address)]) == null ? void 0 : g.amount) || 0) / Math.pow(10, s.decimals);
|
97
|
+
}
|
98
|
+
function Ae() {
|
99
|
+
var E;
|
100
|
+
let s = {};
|
101
|
+
async function g(t, c) {
|
102
|
+
let $ = Object.keys(s);
|
103
|
+
s[t == null ? void 0 : t.chainId] ? (s[t == null ? void 0 : t.chainId].amountInToken += c.amountInToken, s[t == null ? void 0 : t.chainId].gas += k(c.amountInToken, t == null ? void 0 : t.decimals)) : s[t == null ? void 0 : t.chainId] = {
|
104
|
+
amountInToken: c.amountInToken,
|
105
|
+
gas: k(c.amountInToken, t == null ? void 0 : t.decimals),
|
106
|
+
token: t,
|
107
|
+
nativeBal: (d == null ? void 0 : d.length) > 30 && !M && (t == null ? void 0 : t.chainId) == (r == null ? void 0 : r.chainId) && (r == null ? void 0 : r.chainId) !== (e == null ? void 0 : e.chainId) ? 0 : (t == null ? void 0 : t.networkType) == "sol" ? L : (t == null ? void 0 : t.networkType) == "tron" ? R : (t == null ? void 0 : t.networkType) == "btc" || (t == null ? void 0 : t.networkType) == "sui" ? Y : (t == null ? void 0 : t.networkType) == "cosmos" ? je(t) : (t == null ? void 0 : t.networkType) == "tron" ? Ue(J) : Le(),
|
108
|
+
isFromChain: (e == null ? void 0 : e.chainId) === (t == null ? void 0 : t.chainId.toString()),
|
109
|
+
order: (e == null ? void 0 : e.chainId) === (t == null ? void 0 : t.chainId) ? 1 : (r == null ? void 0 : r.chainId) === (t == null ? void 0 : t.chainId) ? 2 : $.length > 2 ? 3 : 2
|
110
|
+
};
|
111
|
+
}
|
112
|
+
(E = n == null ? void 0 : n.fee) == null || E.forEach((t) => {
|
113
|
+
const { token: c } = t;
|
114
|
+
t.source.toLowerCase() == "from_source_wallet" && g(c, t);
|
115
|
+
});
|
116
|
+
let y = W;
|
117
|
+
if (Number(l) > Number(y))
|
118
|
+
a({
|
119
|
+
text: `Insufficient Balance ${i.coin || ""}`,
|
120
|
+
isGradient: !1,
|
121
|
+
color: "bw-bg-border-primary"
|
122
|
+
});
|
123
|
+
else if ((T != null && T.isLoading || T.isFetching) && (e == null ? void 0 : e.networkType) === "evm" || (typeof L > "u" || L === null) && (e == null ? void 0 : e.networkType) === "sol" || !R && (e == null ? void 0 : e.networkType) === "tron")
|
124
|
+
a({
|
125
|
+
text: "Fetching Balance..",
|
126
|
+
isGradient: !1,
|
127
|
+
color: "bw-bg-border-primary"
|
128
|
+
});
|
129
|
+
else {
|
130
|
+
let t = Object.values(s).sort((c, $) => c.order - $.order);
|
131
|
+
t.some((c) => {
|
132
|
+
var $, be, ue;
|
133
|
+
return c != null && c.isFromChain && Number(l) <= Number(y) && Number(c.nativeBal) - Number(l) < c.gas && (i != null && i.isNative) || Number(l) <= Number(y) && Number(c.nativeBal) < c.gas && !(i != null && i.isNative) && (c != null && c.isFromChain) ? (a({
|
134
|
+
text: `Insufficient ${(($ = c == null ? void 0 : c.token) == null ? void 0 : $.symbol) || ""} for gas on ${c.token.blockchain}`,
|
135
|
+
isGradient: !1,
|
136
|
+
color: "bw-bg-border-primary"
|
137
|
+
}), !0) : c.nativeBal < c.gas && !((d == null ? void 0 : d.length) > 30 && ((be = c == null ? void 0 : c.token) == null ? void 0 : be.chainId) == (r == null ? void 0 : r.chainId)) ? (a({
|
138
|
+
text: `Insufficient ${((ue = c == null ? void 0 : c.token) == null ? void 0 : ue.symbol) || ""} for gas on ${c.token.blockchain}`,
|
139
|
+
isGradient: !1,
|
140
|
+
color: "bw-bg-border-primary"
|
141
|
+
}), !0) : (a({
|
142
|
+
text: "",
|
143
|
+
isGradient: !0,
|
144
|
+
color: w || S.gradientbutton
|
145
|
+
}), !0);
|
146
|
+
}), t.length == 0 && (n != null && n.gasless || (n == null ? void 0 : n.provider) == "meson") && a({
|
147
|
+
text: "",
|
148
|
+
isGradient: !0,
|
149
|
+
color: w || S.gradientbutton
|
150
|
+
});
|
151
|
+
}
|
152
|
+
}
|
153
|
+
z(() => {
|
154
|
+
var s, g, y;
|
155
|
+
!i.coin.length || !(b != null && b.coin.length) ? a({
|
156
|
+
text: "Select Token",
|
157
|
+
isGradient: !0,
|
158
|
+
color: w || S.gradientbutton
|
159
|
+
}) : B ? typeof l < "u" && Number(l || 0) <= 0 ? a({
|
160
|
+
text: "Enter Amount",
|
161
|
+
isGradient: !1,
|
162
|
+
color: "bw-bg-border-primary"
|
163
|
+
}) : u.isFetching || !f ? a({
|
164
|
+
text: "Loading Routes...",
|
165
|
+
isGradient: !1,
|
166
|
+
color: "bw-bg-border-primary"
|
167
|
+
}) : e.chainId === "eclipse-svm" && !A(p) ? a({
|
168
|
+
text: `Select ${e.name} wallet`,
|
169
|
+
isGradient: !0,
|
170
|
+
color: w || S.gradientbutton
|
171
|
+
}) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !A(p) && d.length < 30 ? a({
|
172
|
+
text: "Enter recipient wallet address",
|
173
|
+
isGradient: !0,
|
174
|
+
color: w || S.gradientbutton
|
175
|
+
}) : (i == null ? void 0 : i.address) == (b == null ? void 0 : b.address) && (e == null ? void 0 : e.chainId) == (r == null ? void 0 : r.chainId) && !(d != null && d.length) || (e == null ? void 0 : e.networkType) == "evm" && H === d && (i == null ? void 0 : i.address) == (b == null ? void 0 : b.address) || (e == null ? void 0 : e.networkType) == "sol" && (p == null ? void 0 : p.address) === d && (i == null ? void 0 : i.address) == (b == null ? void 0 : b.address) ? a({
|
176
|
+
text: "From and To asset can not be the same!",
|
177
|
+
isGradient: !1,
|
178
|
+
color: "bw-bg-border-primary"
|
179
|
+
}) : (y = (g = (s = u == null ? void 0 : u.data) == null ? void 0 : s.data) == null ? void 0 : g.quotes) != null && y.length ? u != null && u.error ? a({
|
180
|
+
text: "Failed to fetch Quotes",
|
181
|
+
isGradient: !1,
|
182
|
+
color: "bw-bg-border-primary"
|
183
|
+
}) : j && Number((e == null ? void 0 : e.chainId) || "0") !== (I == null ? void 0 : I.id) && (e == null ? void 0 : e.networkType) === "evm" || P && ((e == null ? void 0 : e.chainId) === "eclipse-svm" ? "201" : "101") !== O && (e == null ? void 0 : e.networkType) === "sol" ? a({
|
184
|
+
text: `Switch Chain to ${e.chain}`,
|
185
|
+
isGradient: !0,
|
186
|
+
color: w || S.gradientbutton
|
187
|
+
}) : Ae() : a({
|
188
|
+
text: "No Routes Found",
|
189
|
+
isGradient: !1,
|
190
|
+
color: "bw-bg-border-primary"
|
191
|
+
}) : a({
|
192
|
+
text: "",
|
193
|
+
isGradient: !0,
|
194
|
+
color: w || S.gradientbutton
|
195
|
+
});
|
196
|
+
}, [O, p, i, b, l, e, r, (ne = T.data) == null ? void 0 : ne.formatted, n, T.isFetching, T.isLoading, j, W, B, u.isFetching, I == null ? void 0 : I.id, f, R, L, d, Y, X, J]);
|
197
|
+
let ve = [`switch chain to ${(ie = e.chain) == null ? void 0 : ie.toLowerCase()}`, `select ${(de = e.chain) == null ? void 0 : de.toLowerCase()} wallet`, "connect custom wallet", "enter recipient wallet address"];
|
198
|
+
function ze() {
|
199
|
+
var s, g, y, E;
|
200
|
+
return B ? u.isFetching ? !0 : o.text.length ? !ve.includes((s = o.text) == null ? void 0 : s.toLowerCase()) : !((E = (y = (g = u.data) == null ? void 0 : g.data) == null ? void 0 : y.quotes) != null && E.length) : !1;
|
201
|
+
}
|
202
|
+
return /* @__PURE__ */ G(
|
203
|
+
"button",
|
204
|
+
{
|
205
|
+
disabled: ze(),
|
206
|
+
style: o != null && o.isGradient && V && q ? {
|
207
|
+
...m == null ? void 0 : m.gradientStyle,
|
208
|
+
boxShadow: m && m.customTheme && ((le = (ae = m.customTheme) == null ? void 0 : ae.shadow) == null ? void 0 : le.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
|
209
|
+
} : {
|
210
|
+
boxShadow: m && m.customTheme && ((we = (oe = m.customTheme) == null ? void 0 : oe.shadow) == null ? void 0 : we.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
|
211
|
+
},
|
212
|
+
className: `bw-w-full bw-rounded-sm bw-h-[52px] ${o != null && o.isGradient ? "bw-p-[3px]" : "bw-p-[1px]"} bw-mt-3 bw-border-0 bw-relative bw-z-0 disabled:bw-opacity-70 ${V && q && o.color} ${o.text.length > 29 ? "bw-text-xl" : "bw-text-2xl"} ${o != null && o.isGradient ? "bw-font-bold bw-text-text-primary" : "bw-font-normal bw-text-text-secondary"}`,
|
213
|
+
onClick: () => {
|
214
|
+
B || (N(!0), ((e == null ? void 0 : e.networkType) !== "evm" && j || (e == null ? void 0 : e.networkType) !== "sol" && P && p !== null || (e == null ? void 0 : e.networkType) !== "tron" && K && U) && !M ? x("from") : j && (r == null ? void 0 : r.networkType) !== "evm" || P && (r == null ? void 0 : r.networkType) !== "sol" || (r == null ? void 0 : r.networkType) !== "tron" && K && U || M ? x("to") : x("from")), e.chainId === "eclipse-svm" && !A(p) ? (N(!0), x("from")) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !A(p) && d.length < 30 ? (N(!0), x("to")) : Fe();
|
215
|
+
},
|
216
|
+
children: /* @__PURE__ */ G("div", { className: "bw-rounded-sm bw-bg-background-container bw-flex bw-items-center bw-justify-center b-w-full bw-h-full", children: /* @__PURE__ */ G("p", { className: "bw-relative bw-z-20", children: V && q ? Ee ? /* @__PURE__ */ G("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ G(ye, { size: 22, thickness: 5, color: "inherit" }) }) : B ? o.text.length ? o.text : "Start Transaction" : `Connect ${Be} Wallet` : /* @__PURE__ */ G("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ G(ye, { size: 22, thickness: 5, color: "inherit" }) }) }) })
|
217
|
+
}
|
218
|
+
);
|
219
|
+
}
|
220
|
+
export {
|
221
|
+
lt as default
|
222
|
+
};
|
@@ -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 {
|
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-BdeortC8.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-DsvUp-b6.js";
|
3
|
+
import { n as Wn } from "./index-py3G4zgL.js";
|
4
4
|
const Sn = D`
|
5
5
|
:host {
|
6
6
|
position: relative;
|