@blockend/widget 1.0.46 → 1.0.47
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-ebEKf9Ro.js → AllRoutes-DzeVxLDj.js} +9 -9
- package/dist/{Box-CiCWnabh.js → Box-Ci2zRQrs.js} +1 -1
- package/dist/{EstGas-BVEriilK.js → EstGas-CObudv5z.js} +163 -195
- package/dist/{Grow-C6PHu0yK.js → Grow-BE3H0oa5.js} +2 -2
- package/dist/{InputComp-BXSYOI6T.js → InputComp-CJp-XwEr.js} +3 -3
- package/dist/{LoadRoute-BNZMhjBq.js → LoadRoute-eUX6vrIQ.js} +5 -5
- package/dist/QuotesProgress-DCNTk9oc.js +28 -0
- package/dist/{SwapAsset-5fGa7RI7.js → SwapAsset-Dk21ATof.js} +1 -1
- package/dist/{Tooltip-DZnPQjew.js → Tooltip-BZfJNVn-.js} +3 -3
- package/dist/{TxnButton-BmnXiTl8.js → TxnButton-DEs1au8L.js} +4 -4
- package/dist/{add-DliAEKbR.js → add-ZLHbLJJu.js} +1 -1
- package/dist/{all-wallets-9YBmSsEh.js → all-wallets-d2aKzL33.js} +1 -1
- package/dist/{app-store-cLc_fbJp.js → app-store-D64ScJNv.js} +1 -1
- package/dist/{apple-DmGlSCW4.js → apple-Du4IHASB.js} +1 -1
- package/dist/{arrow-bottom-BNKn4j5U.js → arrow-bottom-Dv2epYGz.js} +1 -1
- package/dist/{arrow-bottom-circle-CZL2vTc2.js → arrow-bottom-circle-UWVTMTVh.js} +1 -1
- package/dist/{arrow-left-D9JcV0Q-.js → arrow-left-BKfIGA7r.js} +1 -1
- package/dist/{arrow-right-DOHZnmbU.js → arrow-right-2mONf0tM.js} +1 -1
- package/dist/{arrow-top-Dyu4OO_u.js → arrow-top-X4pWUiKn.js} +1 -1
- package/dist/{bank-CtB7x5WX.js → bank-CsABCgFp.js} +1 -1
- package/dist/{basic-sgi7m0S-.js → basic-BPWB_wOx.js} +3 -3
- package/dist/{browser-CPMV76Fc.js → browser-DwbBRE2D.js} +1 -1
- package/dist/{card-DZrjJpNd.js → card-BewgfynW.js} +1 -1
- package/dist/{ccip-rz-h0ONe.js → ccip-CLnQdUd7.js} +1 -1
- package/dist/{checkmark-CO1kXDe-.js → checkmark-CQhUJTfi.js} +1 -1
- package/dist/{checkmark-bold-g1JkiOD4.js → checkmark-bold-CedqjnnO.js} +1 -1
- package/dist/{chevron-bottom-CeJz8Reo.js → chevron-bottom-DJ4X9Prx.js} +1 -1
- package/dist/{chevron-left-BcYg2UPw.js → chevron-left-DWynSM9B.js} +1 -1
- package/dist/{chevron-right-BsBn3zrb.js → chevron-right-DvWAAqhV.js} +1 -1
- package/dist/{chevron-top-CMxkT0uL.js → chevron-top-BR530r9H.js} +1 -1
- package/dist/{chrome-store-CkCy-7ku.js → chrome-store-_0c6caxN.js} +1 -1
- package/dist/{clock-DMc_CWtO.js → clock-VdAYDjqL.js} +1 -1
- package/dist/{close-CryuK1CT.js → close-CO-0N2CX.js} +1 -1
- package/dist/{coinPlaceholder-DvVl4DoH.js → coinPlaceholder-ujAsyqU0.js} +1 -1
- package/dist/{compass-D03r7VwG.js → compass-VKJy5_W5.js} +1 -1
- package/dist/{copy-DMvE_6eP.js → copy-osfd8JXZ.js} +1 -1
- package/dist/{core-DCInaJVR.js → core-B_HqNWOu.js} +3 -3
- package/dist/{cursor-95Nxz9_g.js → cursor-DpjQo7re.js} +1 -1
- package/dist/{cursor-transparent-D8DY5_j7.js → cursor-transparent-xK4CF8Hs.js} +1 -1
- package/dist/{desktop-CRGnR_c9.js → desktop-BMPBQv2t.js} +1 -1
- package/dist/{disconnect-JWp74w81.js → disconnect-Cl9LGKMz.js} +1 -1
- package/dist/{discord-BRXfeglo.js → discord-CZVHD-wp.js} +1 -1
- package/dist/{down-RANbXRSh.js → down-Ct-xismN.js} +2 -2
- package/dist/{etherscan-pfbXsPpq.js → etherscan-DdrzJHLk.js} +1 -1
- package/dist/{exclamation-triangle-BWZ21L0p.js → exclamation-triangle-CIQaYDSx.js} +1 -1
- package/dist/{extension-CmXIVuOr.js → extension-Bb_ygQH_.js} +1 -1
- package/dist/{external-link-CAybzTlO.js → external-link-Ddh7vP38.js} +1 -1
- package/dist/{facebook-DcDQpXBA.js → facebook-D6zpX69B.js} +1 -1
- package/dist/{farcaster-CGXV2sTr.js → farcaster-ifhEe-N4.js} +1 -1
- package/dist/{filters-4PzOF6Y_.js → filters-DkeDbJhM.js} +1 -1
- package/dist/{getChainIds-DHE0M6xN.js → getChainIds-B9EIXuqY.js} +2 -2
- package/dist/{getCosmosAddress-BkiMb5Ws.js → getCosmosAddress-CyskK48O.js} +4 -4
- package/dist/{github-z1VaBQpb.js → github-DBFD3-Hx.js} +1 -1
- package/dist/{google-DDDXhxRD.js → google-CoR2VD6q.js} +1 -1
- package/dist/{hamburger-x__CpQ8N.js → hamburger-Bw36etpI.js} +5 -5
- package/dist/{help-circle-Hk0xQlw5.js → help-circle-DUrhwW6n.js} +1 -1
- package/dist/{id-BPRiRQQi.js → id-Bq9kGLxW.js} +1 -1
- package/dist/{image-CZ26oTkB.js → image-m0IwqZ1Z.js} +1 -1
- package/dist/{index-Bd6WahOg.js → index-BcWL0DrD.js} +27 -46
- package/dist/{index-DSkfxRgh.js → index-BeQiCUcq.js} +4 -4
- package/dist/{index-D6p8qIoR.js → index-BsWWdDAF.js} +1 -1
- package/dist/{index-BaJGH0Wo.js → index-C-aKTD_P.js} +10 -10
- package/dist/{index-DrCKZb_R.js → index-CUx6_xcj.js} +1 -1
- package/dist/{index-D6rJMZnJ.js → index-Cdagj5-o.js} +78 -78
- package/dist/{index-DxSSO5f_.js → index-D2EfKDiV.js} +4 -4
- package/dist/{index-DA6hSPnv.js → index-DOop9kfD.js} +114 -114
- package/dist/{index-2nKvQV6S.js → index-DbRR6GNq.js} +5 -5
- package/dist/{index-ChjHLLtj.js → index-U2mQgSOl.js} +2 -2
- package/dist/{index-CAsUs2fN.js → index-ZWAnsHEz.js} +11 -11
- package/dist/{index.es-D7A4rCjT.js → index.es-BYDUqEHk.js} +2 -2
- package/dist/{index.es-9vMrGsMN.js → index.es-D8AzsbDB.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{info-nXKAaGnK.js → info-anm9CSBd.js} +1 -1
- package/dist/{info-circle-DBRsyv1V.js → info-circle-Cpd8vFSP.js} +1 -1
- package/dist/{lightbulb-B1ByE_z3.js → lightbulb-DPXldPzr.js} +1 -1
- package/dist/{mail-BEh53yuD.js → mail-r4sP3-4z.js} +1 -1
- package/dist/{mobile-BTInaRxp.js → mobile-D0nLhS3C.js} +1 -1
- package/dist/{more-BdkhRCT0.js → more-BKn6NMxN.js} +1 -1
- package/dist/{network-placeholder-_q940_Fj.js → network-placeholder-YBGnG39d.js} +1 -1
- package/dist/{nftPlaceholder-C_vMI1Zq.js → nftPlaceholder-B2s--N4I.js} +1 -1
- package/dist/{off-CjN7QcgJ.js → off-BMZ4jVAS.js} +1 -1
- package/dist/{play-store-D0oSbUK-.js → play-store-BjMQicZs.js} +1 -1
- package/dist/{plus-lZsdp6Eh.js → plus-CYx41gPe.js} +1 -1
- package/dist/{qr-code-CQEDt6E5.js → qr-code-Drc3pJQ_.js} +1 -1
- package/dist/{recycle-horizontal-BPR3n_8r.js → recycle-horizontal-rWs7v9lF.js} +1 -1
- package/dist/{refresh-BJkQe_FG.js → refresh-D2BcFG4j.js} +1 -1
- package/dist/{reown-logo-Bevkr0xz.js → reown-logo-wUSSdW9D.js} +1 -1
- package/dist/{search-BfGI_53c.js → search-B-YtHXtd.js} +1 -1
- package/dist/{send-CqRHFlOm.js → send-DLvL_BbY.js} +1 -1
- package/dist/{swapHorizontal-uS8nbcBj.js → swapHorizontal-D44_OZ9u.js} +1 -1
- package/dist/{swapHorizontalBold-rzZa_A7L.js → swapHorizontalBold-Cep1eyxj.js} +1 -1
- package/dist/{swapHorizontalMedium-DmxWOlid.js → swapHorizontalMedium-CwPNAHyv.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-Bh4Bsx-4.js → swapHorizontalRoundedBold-s5nQTCKq.js} +1 -1
- package/dist/{swapVertical-B30qm7WO.js → swapVertical-Bc1o38Xk.js} +1 -1
- package/dist/{telegram-CITR-rqw.js → telegram-BW1hx271.js} +1 -1
- package/dist/{three-dots-DvMlVtkk.js → three-dots-BY9EVUEH.js} +1 -1
- package/dist/{twitch-Cg70CCVs.js → twitch-Cte3S7e8.js} +1 -1
- package/dist/{twitterIcon-lUQKP1xi.js → twitterIcon-CSNk9-ke.js} +1 -1
- package/dist/{unsupportedProp-BEw61JH6.js → unsupportedProp-7kgM9Qp3.js} +1 -1
- package/dist/{useRegisterError-FSrH_Jvm.js → useRegisterError-JoAAYTsQ.js} +1 -1
- package/dist/{verify-Dr2B20vD.js → verify-D1ht4LA_.js} +1 -1
- package/dist/{verify-filled-Bc-tpntt.js → verify-filled-dnv72m5L.js} +1 -1
- package/dist/{w3m-modal-BW_yp0bM.js → w3m-modal-C6GoV_9z.js} +2 -2
- package/dist/{wallet-LyIKSgXv.js → wallet-Bprt1UAo.js} +1 -1
- package/dist/{wallet-placeholder-Dofecbxd.js → wallet-placeholder-Gxhin3eq.js} +1 -1
- package/dist/{walletconnect-CIiBCeU4.js → walletconnect-BtGZzptI.js} +1 -1
- package/dist/{warning-circle-DSqqePjX.js → warning-circle-Dg0PEAqK.js} +1 -1
- package/dist/{x-Bw4KtWr5.js → x-DvzFvpB5.js} +1 -1
- package/package.json +1 -1
- package/dist/QuotesProgress-BuNSdVaQ.js +0 -28
@@ -5777,7 +5777,7 @@ function M7() {
|
|
5777
5777
|
] }, t)) })
|
5778
5778
|
] });
|
5779
5779
|
}
|
5780
|
-
const k7 = Kc(() => import("./index-
|
5780
|
+
const k7 = Kc(() => import("./index-DOop9kfD.js").then((e) => e.i)), R7 = Kc(() => import("./index-C-aKTD_P.js")), B7 = Kc(() => import("./index-ZWAnsHEz.js")), D7 = Kc(() => import("./index-DbRR6GNq.js"));
|
5781
5781
|
function L7({ fetchChains: e }) {
|
5782
5782
|
const t = Ae((i) => i.route);
|
5783
5783
|
function n() {
|
@@ -6155,18 +6155,16 @@ const yn = {
|
|
6155
6155
|
};
|
6156
6156
|
return await fetch(`${yn.BACKEND}/chains`, { ...n });
|
6157
6157
|
},
|
6158
|
-
async fetchTokens(e, t) {
|
6159
|
-
const
|
6158
|
+
async fetchTokens(e, t, n = !1) {
|
6159
|
+
const r = Ae.getState().userId, i = Ae.getState().integratorId, o = {
|
6160
|
+
cache: "no-store",
|
6160
6161
|
headers: {
|
6161
|
-
"X-Session-ID":
|
6162
|
-
"X-Integrator-ID":
|
6162
|
+
"X-Session-ID": r,
|
6163
|
+
"X-Integrator-ID": i,
|
6163
6164
|
"x-widget-version": Nn.version
|
6164
6165
|
}
|
6165
6166
|
};
|
6166
|
-
return await fetch(
|
6167
|
-
`${yn.BACKEND}/tokens?chainId=${e}&search=${t}`,
|
6168
|
-
{ ...i }
|
6169
|
-
);
|
6167
|
+
return await fetch(`${yn.BACKEND}/tokens?chainId=${e}&search=${t}`, { ...o });
|
6170
6168
|
},
|
6171
6169
|
async fetchRoutes(e, t, n, r, i, o, c, u, d) {
|
6172
6170
|
const p = Ae.getState().userId, f = Ae.getState().integratorId, h = {
|
@@ -6176,10 +6174,7 @@ const yn = {
|
|
6176
6174
|
"x-widget-version": Nn.version
|
6177
6175
|
}
|
6178
6176
|
};
|
6179
|
-
return await fetch(
|
6180
|
-
`${yn.BACKEND}/quotes?fromChainId=${t.chainId}&toChainId=${n.chainId}&fromAssetAddress=${r.address}&toAssetAddress=${i.address}&inputAmountDisplay=${o}&userWalletAddress=${e}&slippage=${c}&recipient=${u}${d}`,
|
6181
|
-
{ ...h }
|
6182
|
-
);
|
6177
|
+
return await fetch(`${yn.BACKEND}/quotes?fromChainId=${t.chainId}&toChainId=${n.chainId}&fromAssetAddress=${r.address}&toAssetAddress=${i.address}&inputAmountDisplay=${o}&userWalletAddress=${e}&slippage=${c}&recipient=${u}${d}`, { ...h });
|
6183
6178
|
},
|
6184
6179
|
async fetchTxnBody(e) {
|
6185
6180
|
const t = Ae.getState().userId, n = Ae.getState().integratorId, r = {
|
@@ -6199,15 +6194,10 @@ const yn = {
|
|
6199
6194
|
"x-widget-version": Nn.version
|
6200
6195
|
}
|
6201
6196
|
};
|
6202
|
-
return await fetch(
|
6203
|
-
`${yn.BACKEND}/balances?walletAddress=${e}&chainId=${t || ""}`,
|
6204
|
-
{ ...i }
|
6205
|
-
);
|
6197
|
+
return await fetch(`${yn.BACKEND}/balances?walletAddress=${e}&chainId=${t || ""}`, { ...i });
|
6206
6198
|
},
|
6207
6199
|
async convertVal(e, t, n, r) {
|
6208
|
-
return await fetch(
|
6209
|
-
`${yn.COINGECKO}/api/v3/simple/price?ids=${(e || "") + "," + (t || "") + "," + (n || "")}&vs_currencies=${"usd," + (r || "")}`
|
6210
|
-
);
|
6200
|
+
return await fetch(`${yn.COINGECKO}/api/v3/simple/price?ids=${(e || "") + "," + (t || "") + "," + (n || "")}&vs_currencies=${"usd," + (r || "")}`);
|
6211
6201
|
},
|
6212
6202
|
async fetchNextTx(e, t) {
|
6213
6203
|
const n = Ae.getState().userId, r = Ae.getState().integratorId, i = {
|
@@ -6217,30 +6207,24 @@ const yn = {
|
|
6217
6207
|
"x-widget-version": Nn.version
|
6218
6208
|
}
|
6219
6209
|
};
|
6220
|
-
return await fetch(
|
6221
|
-
`${yn.BACKEND}/nextTx?routeId=${t}&stepId=${e}`,
|
6222
|
-
{ ...i }
|
6223
|
-
);
|
6210
|
+
return await fetch(`${yn.BACKEND}/nextTx?routeId=${t}&stepId=${e}`, { ...i });
|
6224
6211
|
},
|
6225
6212
|
async fetchStatus(e, t, n) {
|
6226
6213
|
const r = Ae.getState().userId, i = Ae.getState().integratorId;
|
6227
|
-
return await fetch(
|
6228
|
-
|
6229
|
-
{
|
6230
|
-
|
6231
|
-
|
6232
|
-
|
6233
|
-
|
6234
|
-
"X-Integrator-ID": i,
|
6235
|
-
"x-widget-version": Nn.version
|
6236
|
-
}
|
6237
|
-
// body: JSON.stringify({
|
6238
|
-
// routeId: routeid,
|
6239
|
-
// stepId: stepid,
|
6240
|
-
// txnHash: txnhash,
|
6241
|
-
// }),
|
6214
|
+
return await fetch(`${yn.BACKEND}/status?routeId=${e}&stepId=${t}&txnHash=${n}`, {
|
6215
|
+
method: "GET",
|
6216
|
+
headers: {
|
6217
|
+
"Content-Type": "application/json",
|
6218
|
+
"X-Session-ID": r,
|
6219
|
+
"X-Integrator-ID": i,
|
6220
|
+
"x-widget-version": Nn.version
|
6242
6221
|
}
|
6243
|
-
|
6222
|
+
// body: JSON.stringify({
|
6223
|
+
// routeId: routeid,
|
6224
|
+
// stepId: stepid,
|
6225
|
+
// txnHash: txnhash,
|
6226
|
+
// }),
|
6227
|
+
});
|
6244
6228
|
},
|
6245
6229
|
async fetchPortfolio(e) {
|
6246
6230
|
const t = Ae.getState().userId, n = Ae.getState().integratorId;
|
@@ -6263,10 +6247,7 @@ const yn = {
|
|
6263
6247
|
"x-widget-version": Nn.version
|
6264
6248
|
}
|
6265
6249
|
};
|
6266
|
-
return await fetch(
|
6267
|
-
`${yn.BACKEND}/history?address=${e}&status=${t}&pageNo=${n}&pageSize=20&startDate=${r}&endDate=${i}`,
|
6268
|
-
{ ...u }
|
6269
|
-
);
|
6250
|
+
return await fetch(`${yn.BACKEND}/history?address=${e}&status=${t}&pageNo=${n}&pageSize=20&startDate=${r}&endDate=${i}`, { ...u });
|
6270
6251
|
},
|
6271
6252
|
async fetchPoints(e) {
|
6272
6253
|
const t = Ae.getState().userId, n = Ae.getState().integratorId, r = {
|
@@ -15176,7 +15157,7 @@ async function TM(e, t) {
|
|
15176
15157
|
});
|
15177
15158
|
return Z === "0x" ? { data: void 0 } : { data: Z };
|
15178
15159
|
} catch (se) {
|
15179
|
-
const ue = IM(se), { offchainLookup: we, offchainLookupSignature: Y } = await import("./ccip-
|
15160
|
+
const ue = IM(se), { offchainLookup: we, offchainLookupSignature: Y } = await import("./ccip-CLnQdUd7.js");
|
15180
15161
|
if (e.ccipRead !== !1 && (ue == null ? void 0 : ue.slice(0, 10)) === Y && D)
|
15181
15162
|
return { data: await we(e, { data: ue, to: D }) };
|
15182
15163
|
throw W && (ue == null ? void 0 : ue.slice(0, 10)) === "0x101bb98d" ? new rM({ factory: y }) : ow(se, {
|
@@ -17349,7 +17330,7 @@ function Au(e) {
|
|
17349
17330
|
const b = h.chains.map((_) => _.id);
|
17350
17331
|
if (!b.length)
|
17351
17332
|
return;
|
17352
|
-
const { EthereumProvider: E } = await import("./index.es-
|
17333
|
+
const { EthereumProvider: E } = await import("./index.es-BYDUqEHk.js").then((_) => _.J);
|
17353
17334
|
return await E.init({
|
17354
17335
|
...e,
|
17355
17336
|
disableProviderPing: !0,
|
@@ -3,11 +3,11 @@ import * as U from "react";
|
|
3
3
|
import { useState as Q, useEffect as J } from "react";
|
4
4
|
import { useConnect as Bt, useAccount as Wt, useDisconnect as Ir, useSwitchAccount as Jt, useConfig as Ft, useConnectors as Nr, useConnections as jr } from "wagmi";
|
5
5
|
import { useDynamicContext as Ce, useIsLoggedIn as gt, useWalletItemActions as Ht, useUserWallets as bt, useWalletOptions as Xt, useSwitchWallet as Kt } from "@dynamic-labs/sdk-react-core";
|
6
|
-
import { p as j, g as Dr, b as Cr, i as Sr, aB as Tr, d as A, _ as Ae, s as Ar, e as kr, f as Ne, h as zr, P as T, u as k, l as Ge, B as jt, a as pt } from "./index-
|
6
|
+
import { p as j, g as Dr, b as Cr, i as Sr, aB as Tr, d as A, _ as Ae, s as Ar, e as kr, f as Ne, h as zr, P as T, u as k, l as Ge, B as jt, a as pt } from "./index-BcWL0DrD.js";
|
7
7
|
import { useAccount as wt, useSuggestChain as _t, useSuggestChainAndConnect as $t, useConnect as qt, WalletType as we, useActiveChainIds as Er, useDisconnect as Or, useActiveWalletType as Rr } from "graz";
|
8
|
-
import { i as ye, u as yt, C as rt, _ as er, x as Pr, A as Lr, d as Gr, B as tr, W as Qr } from "./useRegisterError-
|
9
|
-
import { _ as Dt, C as rr, g as Qe } from "./getChainIds-
|
10
|
-
import { B as Ct } from "./Box-
|
8
|
+
import { i as ye, u as yt, C as rt, _ as er, x as Pr, A as Lr, d as Gr, B as tr, W as Qr } from "./useRegisterError-JoAAYTsQ.js";
|
9
|
+
import { _ as Dt, C as rr, g as Qe } from "./getChainIds-B9EIXuqY.js";
|
10
|
+
import { B as Ct } from "./Box-Ci2zRQrs.js";
|
11
11
|
import { v as Ur } from "./validError-CDlJpg_f.js";
|
12
12
|
const nr = /* @__PURE__ */ U.createContext(null);
|
13
13
|
j.env.NODE_ENV !== "production" && (nr.displayName = "ThemeContext");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
2
2
|
import "react";
|
3
|
-
import { F as m } from "./useRegisterError-
|
3
|
+
import { F as m } from "./useRegisterError-JoAAYTsQ.js";
|
4
4
|
function n({ value: t, decimal: o }) {
|
5
5
|
return t.length ? /* @__PURE__ */ r(m, { value: t, options: { maxDecimals: o } }) : t;
|
6
6
|
}
|
@@ -1,23 +1,23 @@
|
|
1
1
|
import { jsxs as G, jsx as M, Fragment as Ne } from "react/jsx-runtime";
|
2
|
-
import { T as Lb } from "./Tooltip-
|
2
|
+
import { T as Lb } from "./Tooltip-BZfJNVn-.js";
|
3
3
|
import { R as Bb } from "./index-CDq3vNnP.js";
|
4
|
-
import { u as V1, L as Wd, H as X1, M as Y1, a as Z1, P as J1, S as Q1 } from "./hamburger-
|
5
|
-
import { r as Fb, a as ex, b as tx, B as rx, i as jf, u as Ub, C as nx, c as vo, f as ax, d as ix } from "./useRegisterError-
|
6
|
-
import { g as jt, b as tt, _ as It, d as oe, s as mt, e as Z, f as ot, h as $t, r as If, p as ge, P as A, i as Wt, j as it, u as Pr, a as Oi, c as _i, k as fa, m as de, l as $f } from "./index-
|
4
|
+
import { u as V1, L as Wd, H as X1, M as Y1, a as Z1, P as J1, S as Q1 } from "./hamburger-Bw36etpI.js";
|
5
|
+
import { r as Fb, a as ex, b as tx, B as rx, i as jf, u as Ub, C as nx, c as vo, f as ax, d as ix } from "./useRegisterError-JoAAYTsQ.js";
|
6
|
+
import { g as jt, b as tt, _ as It, d as oe, s as mt, e as Z, f as ot, h as $t, r as If, p as ge, P as A, i as Wt, j as it, u as Pr, a as Oi, c as _i, k as fa, m as de, l as $f } from "./index-BcWL0DrD.js";
|
7
7
|
import * as Oe from "react";
|
8
8
|
import E, { useState as ke, useEffect as ze, isValidElement as ut, Children as ir, PureComponent as Rt, forwardRef as Wb, useRef as Ca, useImperativeHandle as ox, useCallback as ux, useMemo as Bt, cloneElement as Ae, createElement as Hb, useContext as Si, createContext as pr, Component as sx } from "react";
|
9
|
-
import { S as cx } from "./index-
|
9
|
+
import { S as cx } from "./index-BeQiCUcq.js";
|
10
10
|
import { useAccount as Cr } from "wagmi";
|
11
11
|
import { useDynamicContext as Ai, useIsLoggedIn as Pi } from "@dynamic-labs/sdk-react-core";
|
12
12
|
import { useQuery as Ti } from "@tanstack/react-query";
|
13
|
-
import { D as zb, S as lx } from "./down-
|
13
|
+
import { D as zb, S as lx } from "./down-Ct-xismN.js";
|
14
14
|
import { useAccount as Rf } from "graz";
|
15
|
-
import { B as Gb } from "./getChainIds-
|
15
|
+
import { B as Gb } from "./getChainIds-B9EIXuqY.js";
|
16
16
|
import { t as fr } from "./truncate-D9t92mVX.js";
|
17
17
|
import { S as Hd, a as zd } from "./sortDown-CjBaDQTU.js";
|
18
|
-
import { O as Gd } from "./index-
|
19
|
-
import { u as fx } from "./Grow-
|
20
|
-
import { c as Nf } from "./index-
|
18
|
+
import { O as Gd } from "./index-BsWWdDAF.js";
|
19
|
+
import { u as fx } from "./Grow-BE3H0oa5.js";
|
20
|
+
import { c as Nf } from "./index-CUx6_xcj.js";
|
21
21
|
function dx(e) {
|
22
22
|
return jt("PrivateSwitchBase", e);
|
23
23
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as O, b as Y, i as M, _ as w, d as P, s as z, e as L, f as v, h as b, p as g, P as c } from "./index-
|
1
|
+
import { g as O, b as Y, i as M, _ as w, d as P, s as z, e as L, f as v, h as b, p as g, P as c } from "./index-BcWL0DrD.js";
|
2
2
|
import * as C from "react";
|
3
3
|
import { jsxs as F, jsx as x } from "react/jsx-runtime";
|
4
4
|
function Z(r, i = 166) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { B as N, D as V, i as b, r as $, a as S, x as m, n as q, F as I, o as H, e as Y } from "./core-
|
1
|
+
import { B as N, D as V, i as b, r as $, a as S, x as m, n as q, F as I, o as H, e as Y } from "./core-B_HqNWOu.js";
|
2
2
|
const w = {
|
3
3
|
getSpacingStyles(e, t) {
|
4
4
|
if (Array.isArray(e))
|
@@ -379,83 +379,83 @@ var R = function(e, t, i, a) {
|
|
379
379
|
return r > 3 && o && Object.defineProperty(t, i, o), o;
|
380
380
|
};
|
381
381
|
const E = {
|
382
|
-
add: async () => (await import("./add-
|
383
|
-
allWallets: async () => (await import("./all-wallets-
|
384
|
-
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-
|
385
|
-
appStore: async () => (await import("./app-store-
|
386
|
-
apple: async () => (await import("./apple-
|
387
|
-
arrowBottom: async () => (await import("./arrow-bottom-
|
388
|
-
arrowLeft: async () => (await import("./arrow-left-
|
389
|
-
arrowRight: async () => (await import("./arrow-right-
|
390
|
-
arrowTop: async () => (await import("./arrow-top-
|
391
|
-
bank: async () => (await import("./bank-
|
392
|
-
browser: async () => (await import("./browser-
|
393
|
-
card: async () => (await import("./card-
|
394
|
-
checkmark: async () => (await import("./checkmark-
|
395
|
-
checkmarkBold: async () => (await import("./checkmark-bold-
|
396
|
-
chevronBottom: async () => (await import("./chevron-bottom-
|
397
|
-
chevronLeft: async () => (await import("./chevron-left-
|
398
|
-
chevronRight: async () => (await import("./chevron-right-
|
399
|
-
chevronTop: async () => (await import("./chevron-top-
|
400
|
-
chromeStore: async () => (await import("./chrome-store-
|
401
|
-
clock: async () => (await import("./clock-
|
402
|
-
close: async () => (await import("./close-
|
403
|
-
compass: async () => (await import("./compass-
|
404
|
-
coinPlaceholder: async () => (await import("./coinPlaceholder-
|
405
|
-
copy: async () => (await import("./copy-
|
406
|
-
cursor: async () => (await import("./cursor-
|
407
|
-
cursorTransparent: async () => (await import("./cursor-transparent-
|
408
|
-
desktop: async () => (await import("./desktop-
|
409
|
-
disconnect: async () => (await import("./disconnect-
|
410
|
-
discord: async () => (await import("./discord-
|
411
|
-
etherscan: async () => (await import("./etherscan-
|
412
|
-
extension: async () => (await import("./extension-
|
413
|
-
externalLink: async () => (await import("./external-link-
|
414
|
-
facebook: async () => (await import("./facebook-
|
415
|
-
farcaster: async () => (await import("./farcaster-
|
416
|
-
filters: async () => (await import("./filters-
|
417
|
-
github: async () => (await import("./github-
|
418
|
-
google: async () => (await import("./google-
|
419
|
-
helpCircle: async () => (await import("./help-circle-
|
420
|
-
image: async () => (await import("./image-
|
421
|
-
id: async () => (await import("./id-
|
422
|
-
infoCircle: async () => (await import("./info-circle-
|
423
|
-
lightbulb: async () => (await import("./lightbulb-
|
424
|
-
mail: async () => (await import("./mail-
|
425
|
-
mobile: async () => (await import("./mobile-
|
426
|
-
more: async () => (await import("./more-
|
427
|
-
networkPlaceholder: async () => (await import("./network-placeholder-
|
428
|
-
nftPlaceholder: async () => (await import("./nftPlaceholder-
|
429
|
-
off: async () => (await import("./off-
|
430
|
-
playStore: async () => (await import("./play-store-
|
431
|
-
plus: async () => (await import("./plus-
|
432
|
-
qrCode: async () => (await import("./qr-code-
|
433
|
-
recycleHorizontal: async () => (await import("./recycle-horizontal-
|
434
|
-
refresh: async () => (await import("./refresh-
|
435
|
-
search: async () => (await import("./search-
|
436
|
-
send: async () => (await import("./send-
|
437
|
-
swapHorizontal: async () => (await import("./swapHorizontal-
|
438
|
-
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-
|
439
|
-
swapHorizontalBold: async () => (await import("./swapHorizontalBold-
|
440
|
-
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-
|
441
|
-
swapVertical: async () => (await import("./swapVertical-
|
442
|
-
telegram: async () => (await import("./telegram-
|
443
|
-
threeDots: async () => (await import("./three-dots-
|
444
|
-
twitch: async () => (await import("./twitch-
|
445
|
-
twitter: async () => (await import("./x-
|
446
|
-
twitterIcon: async () => (await import("./twitterIcon-
|
447
|
-
verify: async () => (await import("./verify-
|
448
|
-
verifyFilled: async () => (await import("./verify-filled-
|
449
|
-
wallet: async () => (await import("./wallet-
|
450
|
-
walletConnect: async () => (await import("./walletconnect-
|
451
|
-
walletConnectLightBrown: async () => (await import("./walletconnect-
|
452
|
-
walletConnectBrown: async () => (await import("./walletconnect-
|
453
|
-
walletPlaceholder: async () => (await import("./wallet-placeholder-
|
454
|
-
warningCircle: async () => (await import("./warning-circle-
|
455
|
-
x: async () => (await import("./x-
|
456
|
-
info: async () => (await import("./info-
|
457
|
-
exclamationTriangle: async () => (await import("./exclamation-triangle-
|
458
|
-
reown: async () => (await import("./reown-logo-
|
382
|
+
add: async () => (await import("./add-ZLHbLJJu.js")).addSvg,
|
383
|
+
allWallets: async () => (await import("./all-wallets-d2aKzL33.js")).allWalletsSvg,
|
384
|
+
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-UWVTMTVh.js")).arrowBottomCircleSvg,
|
385
|
+
appStore: async () => (await import("./app-store-D64ScJNv.js")).appStoreSvg,
|
386
|
+
apple: async () => (await import("./apple-Du4IHASB.js")).appleSvg,
|
387
|
+
arrowBottom: async () => (await import("./arrow-bottom-Dv2epYGz.js")).arrowBottomSvg,
|
388
|
+
arrowLeft: async () => (await import("./arrow-left-BKfIGA7r.js")).arrowLeftSvg,
|
389
|
+
arrowRight: async () => (await import("./arrow-right-2mONf0tM.js")).arrowRightSvg,
|
390
|
+
arrowTop: async () => (await import("./arrow-top-X4pWUiKn.js")).arrowTopSvg,
|
391
|
+
bank: async () => (await import("./bank-CsABCgFp.js")).bankSvg,
|
392
|
+
browser: async () => (await import("./browser-DwbBRE2D.js")).browserSvg,
|
393
|
+
card: async () => (await import("./card-BewgfynW.js")).cardSvg,
|
394
|
+
checkmark: async () => (await import("./checkmark-CQhUJTfi.js")).checkmarkSvg,
|
395
|
+
checkmarkBold: async () => (await import("./checkmark-bold-CedqjnnO.js")).checkmarkBoldSvg,
|
396
|
+
chevronBottom: async () => (await import("./chevron-bottom-DJ4X9Prx.js")).chevronBottomSvg,
|
397
|
+
chevronLeft: async () => (await import("./chevron-left-DWynSM9B.js")).chevronLeftSvg,
|
398
|
+
chevronRight: async () => (await import("./chevron-right-DvWAAqhV.js")).chevronRightSvg,
|
399
|
+
chevronTop: async () => (await import("./chevron-top-BR530r9H.js")).chevronTopSvg,
|
400
|
+
chromeStore: async () => (await import("./chrome-store-_0c6caxN.js")).chromeStoreSvg,
|
401
|
+
clock: async () => (await import("./clock-VdAYDjqL.js")).clockSvg,
|
402
|
+
close: async () => (await import("./close-CO-0N2CX.js")).closeSvg,
|
403
|
+
compass: async () => (await import("./compass-VKJy5_W5.js")).compassSvg,
|
404
|
+
coinPlaceholder: async () => (await import("./coinPlaceholder-ujAsyqU0.js")).coinPlaceholderSvg,
|
405
|
+
copy: async () => (await import("./copy-osfd8JXZ.js")).copySvg,
|
406
|
+
cursor: async () => (await import("./cursor-DpjQo7re.js")).cursorSvg,
|
407
|
+
cursorTransparent: async () => (await import("./cursor-transparent-xK4CF8Hs.js")).cursorTransparentSvg,
|
408
|
+
desktop: async () => (await import("./desktop-BMPBQv2t.js")).desktopSvg,
|
409
|
+
disconnect: async () => (await import("./disconnect-Cl9LGKMz.js")).disconnectSvg,
|
410
|
+
discord: async () => (await import("./discord-CZVHD-wp.js")).discordSvg,
|
411
|
+
etherscan: async () => (await import("./etherscan-DdrzJHLk.js")).etherscanSvg,
|
412
|
+
extension: async () => (await import("./extension-Bb_ygQH_.js")).extensionSvg,
|
413
|
+
externalLink: async () => (await import("./external-link-Ddh7vP38.js")).externalLinkSvg,
|
414
|
+
facebook: async () => (await import("./facebook-D6zpX69B.js")).facebookSvg,
|
415
|
+
farcaster: async () => (await import("./farcaster-ifhEe-N4.js")).farcasterSvg,
|
416
|
+
filters: async () => (await import("./filters-DkeDbJhM.js")).filtersSvg,
|
417
|
+
github: async () => (await import("./github-DBFD3-Hx.js")).githubSvg,
|
418
|
+
google: async () => (await import("./google-CoR2VD6q.js")).googleSvg,
|
419
|
+
helpCircle: async () => (await import("./help-circle-DUrhwW6n.js")).helpCircleSvg,
|
420
|
+
image: async () => (await import("./image-m0IwqZ1Z.js")).imageSvg,
|
421
|
+
id: async () => (await import("./id-Bq9kGLxW.js")).idSvg,
|
422
|
+
infoCircle: async () => (await import("./info-circle-Cpd8vFSP.js")).infoCircleSvg,
|
423
|
+
lightbulb: async () => (await import("./lightbulb-DPXldPzr.js")).lightbulbSvg,
|
424
|
+
mail: async () => (await import("./mail-r4sP3-4z.js")).mailSvg,
|
425
|
+
mobile: async () => (await import("./mobile-D0nLhS3C.js")).mobileSvg,
|
426
|
+
more: async () => (await import("./more-BKn6NMxN.js")).moreSvg,
|
427
|
+
networkPlaceholder: async () => (await import("./network-placeholder-YBGnG39d.js")).networkPlaceholderSvg,
|
428
|
+
nftPlaceholder: async () => (await import("./nftPlaceholder-B2s--N4I.js")).nftPlaceholderSvg,
|
429
|
+
off: async () => (await import("./off-BMZ4jVAS.js")).offSvg,
|
430
|
+
playStore: async () => (await import("./play-store-BjMQicZs.js")).playStoreSvg,
|
431
|
+
plus: async () => (await import("./plus-CYx41gPe.js")).plusSvg,
|
432
|
+
qrCode: async () => (await import("./qr-code-Drc3pJQ_.js")).qrCodeIcon,
|
433
|
+
recycleHorizontal: async () => (await import("./recycle-horizontal-rWs7v9lF.js")).recycleHorizontalSvg,
|
434
|
+
refresh: async () => (await import("./refresh-D2BcFG4j.js")).refreshSvg,
|
435
|
+
search: async () => (await import("./search-B-YtHXtd.js")).searchSvg,
|
436
|
+
send: async () => (await import("./send-DLvL_BbY.js")).sendSvg,
|
437
|
+
swapHorizontal: async () => (await import("./swapHorizontal-D44_OZ9u.js")).swapHorizontalSvg,
|
438
|
+
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-CwPNAHyv.js")).swapHorizontalMediumSvg,
|
439
|
+
swapHorizontalBold: async () => (await import("./swapHorizontalBold-Cep1eyxj.js")).swapHorizontalBoldSvg,
|
440
|
+
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-s5nQTCKq.js")).swapHorizontalRoundedBoldSvg,
|
441
|
+
swapVertical: async () => (await import("./swapVertical-Bc1o38Xk.js")).swapVerticalSvg,
|
442
|
+
telegram: async () => (await import("./telegram-BW1hx271.js")).telegramSvg,
|
443
|
+
threeDots: async () => (await import("./three-dots-BY9EVUEH.js")).threeDotsSvg,
|
444
|
+
twitch: async () => (await import("./twitch-Cte3S7e8.js")).twitchSvg,
|
445
|
+
twitter: async () => (await import("./x-DvzFvpB5.js")).xSvg,
|
446
|
+
twitterIcon: async () => (await import("./twitterIcon-CSNk9-ke.js")).twitterIconSvg,
|
447
|
+
verify: async () => (await import("./verify-D1ht4LA_.js")).verifySvg,
|
448
|
+
verifyFilled: async () => (await import("./verify-filled-dnv72m5L.js")).verifyFilledSvg,
|
449
|
+
wallet: async () => (await import("./wallet-Bprt1UAo.js")).walletSvg,
|
450
|
+
walletConnect: async () => (await import("./walletconnect-BtGZzptI.js")).walletConnectSvg,
|
451
|
+
walletConnectLightBrown: async () => (await import("./walletconnect-BtGZzptI.js")).walletConnectLightBrownSvg,
|
452
|
+
walletConnectBrown: async () => (await import("./walletconnect-BtGZzptI.js")).walletConnectBrownSvg,
|
453
|
+
walletPlaceholder: async () => (await import("./wallet-placeholder-Gxhin3eq.js")).walletPlaceholderSvg,
|
454
|
+
warningCircle: async () => (await import("./warning-circle-Dg0PEAqK.js")).warningCircleSvg,
|
455
|
+
x: async () => (await import("./x-DvzFvpB5.js")).xSvg,
|
456
|
+
info: async () => (await import("./info-anm9CSBd.js")).infoSvg,
|
457
|
+
exclamationTriangle: async () => (await import("./exclamation-triangle-CIQaYDSx.js")).exclamationTriangleSvg,
|
458
|
+
reown: async () => (await import("./reown-logo-wUSSdW9D.js")).reownSvg
|
459
459
|
};
|
460
460
|
async function pt(e) {
|
461
461
|
if (P.has(e))
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { jsxs as b, jsx as n, Fragment as A } from "react/jsx-runtime";
|
2
2
|
import G, { useContext as H, useState as E, useEffect as v, useRef as _ } from "react";
|
3
|
-
import { a as U, T as $, H as O, b as L, c as J, E as K, d as V } from "./EstGas-
|
4
|
-
import { u as l, l as W } from "./index-
|
5
|
-
import { i as D, C as Q, A as X } from "./useRegisterError-
|
6
|
-
import { B as Y } from "./Box-
|
3
|
+
import { a as U, T as $, H as O, b as L, c as J, E as K, d as V } from "./EstGas-CObudv5z.js";
|
4
|
+
import { u as l, l as W } from "./index-BcWL0DrD.js";
|
5
|
+
import { i as D, C as Q, A as X } from "./useRegisterError-JoAAYTsQ.js";
|
6
|
+
import { B as Y } from "./Box-Ci2zRQrs.js";
|
7
7
|
function Z() {
|
8
8
|
var d, w, i, e, u, c, m, g, x, s, h, y, p, C;
|
9
9
|
const t = l((T) => T.persist), r = l((T) => T.configuration), { defaultCoin: a } = D;
|