@blockend/widget 1.0.51 → 1.0.52
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-CV0ZvXKH.js → AllRoutes-kKOYSrNS.js} +9 -9
- package/dist/{Box-Cb39MKJA.js → Box-DD2rDHYN.js} +9 -9
- package/dist/EstGas-3YaFsaqq.js +20281 -0
- package/dist/{Grow-CyOgpnIU.js → Grow-B_GQW4_x.js} +2 -2
- package/dist/{InputComp-B5PYzgiO.js → InputComp-CORUBHuj.js} +3 -3
- package/dist/{LoadRoute-DVPHaKWi.js → LoadRoute-BPrygCCX.js} +4 -4
- package/dist/{QuotesProgress-ClcaHGJM.js → QuotesProgress-DRw4SQ0r.js} +1 -1
- package/dist/{SwapAsset-Blw4SFxU.js → SwapAsset-CkQizd1M.js} +1 -1
- package/dist/{Tooltip-C0P7i2vF.js → Tooltip-CrSPOtOO.js} +15 -15
- package/dist/{TxnButton-CHHh05qr.js → TxnButton-w_U38ob4.js} +16 -16
- package/dist/{add-B1LcVGSW.js → add-CD961dgq.js} +1 -1
- package/dist/{all-wallets-BeJrQ3-B.js → all-wallets-apJrqQx8.js} +1 -1
- package/dist/{app-store-CaDVWZZh.js → app-store-BwPPWbZ-.js} +1 -1
- package/dist/{apple-CkGFfDmj.js → apple-C5GBBzKu.js} +1 -1
- package/dist/{arrow-bottom-riUHz5wW.js → arrow-bottom-DJFMgU8u.js} +1 -1
- package/dist/{arrow-bottom-circle-KdHp0Ttj.js → arrow-bottom-circle-hjkHJiRS.js} +1 -1
- package/dist/{arrow-left-4uZ_FCKk.js → arrow-left-DbapUhyG.js} +1 -1
- package/dist/{arrow-right-CQx64HKf.js → arrow-right-DfwZPj3f.js} +1 -1
- package/dist/{arrow-top-DCNA0fLu.js → arrow-top-CsNBUZSP.js} +1 -1
- package/dist/{bank-BnOJ4hFp.js → bank-CCcBm5-d.js} +1 -1
- package/dist/{basic-BwxnVi-O.js → basic-BjFK2vXh.js} +3 -3
- package/dist/{browser-B5n8jjez.js → browser-CyDiApkv.js} +1 -1
- package/dist/{card-CyQg9FUR.js → card-C7cgC8He.js} +1 -1
- package/dist/{ccip-BJVsdO9f.js → ccip-CGp4v-Ik.js} +14 -14
- package/dist/{checkmark-TXxWxJ06.js → checkmark-CvC9xsHE.js} +1 -1
- package/dist/{checkmark-bold-D0241gVT.js → checkmark-bold-CV7kkVJ6.js} +1 -1
- package/dist/{chevron-bottom-BUgj0Jms.js → chevron-bottom-GP9ijdKd.js} +1 -1
- package/dist/{chevron-left-CMc-uR1E.js → chevron-left-BzU9rDXH.js} +1 -1
- package/dist/{chevron-right-DgxFd0Bj.js → chevron-right-C-O85byK.js} +1 -1
- package/dist/{chevron-top-DiIar6gP.js → chevron-top-CPbBRhHs.js} +1 -1
- package/dist/{chrome-store-B8MGsjNr.js → chrome-store-DLb3LMor.js} +1 -1
- package/dist/{clock-Cyg_My5N.js → clock-u8NvqjTh.js} +1 -1
- package/dist/{close-RY0sGjCf.js → close-DGnBB14u.js} +1 -1
- package/dist/{coinPlaceholder-DE_qwsbW.js → coinPlaceholder-B_vbKW0d.js} +1 -1
- package/dist/{compass-CEHhCP6E.js → compass-VjDuwtpH.js} +1 -1
- package/dist/{copy-FM62Yyrj.js → copy-CpwxxVFk.js} +1 -1
- package/dist/{core-BhR-bSA_.js → core-Hivezgcn.js} +17 -16
- package/dist/{cursor-DladmQh5.js → cursor-CKztTS80.js} +1 -1
- package/dist/{cursor-transparent-D0WNWO9Y.js → cursor-transparent-MbRcJDkf.js} +1 -1
- package/dist/{desktop-B6eJupyA.js → desktop-C0hQOtTz.js} +1 -1
- package/dist/{disconnect-VPpMScfC.js → disconnect-CbngTTe6.js} +1 -1
- package/dist/{discord-wBtYxM-t.js → discord-CeP387Uz.js} +1 -1
- package/dist/{down-Owe76_31.js → down-A88TfxuQ.js} +2 -2
- package/dist/{etherscan-9nLZ-l75.js → etherscan-DHgjcKzd.js} +1 -1
- package/dist/{exclamation-triangle-BWl_FP8O.js → exclamation-triangle-BKbjxRSf.js} +1 -1
- package/dist/{extension-BzBM3WFk.js → extension-DKdg1MMc.js} +1 -1
- package/dist/{external-link-Dyl12aJV.js → external-link-D_9l5Fag.js} +1 -1
- package/dist/{facebook-CBkAbn5g.js → facebook-2lC7Kpys.js} +1 -1
- package/dist/{farcaster-BRpuoVay.js → farcaster-DvDKv86N.js} +1 -1
- package/dist/{filters-B7NeWYDv.js → filters-7ekV1CBZ.js} +1 -1
- package/dist/{getChainIds-3ucdX-1p.js → getChainIds-ClTf-7B7.js} +2 -2
- package/dist/getCosmosAddress-CAHzTotY.js +9566 -0
- package/dist/{github-BkQ92Psg.js → github-C_2AeCoD.js} +1 -1
- package/dist/{google-D-_oWzT6.js → google-onzWiElr.js} +1 -1
- package/dist/{hamburger-BumvcHR4.js → hamburger-DG8CUWPY.js} +5 -5
- package/dist/{help-circle-YBo375ZL.js → help-circle-BsEBhuFe.js} +1 -1
- package/dist/{id-125Dr2Fp.js → id-C4NyttJs.js} +1 -1
- package/dist/{image-KqH_HXHv.js → image-DKwx-krp.js} +1 -1
- package/dist/{index-CEXnASRZ.js → index-16MzijM6.js} +7 -7
- package/dist/{index-DvuINyOl.js → index-BJRMxl7-.js} +11 -11
- package/dist/{index-O7aWWjZs.js → index-BYgXlFDF.js} +78 -78
- package/dist/{index-uIBPDdlb.js → index-BkdZ8Dv5.js} +10 -10
- package/dist/{index-Bpdql1-8.js → index-BpQ0XXSG.js} +1 -1
- package/dist/{index-CkwDOdMt.js → index-CFjOCNdT.js} +1 -1
- package/dist/{index-1-e5pJ-0.js → index-CVtXIHyR.js} +2 -2
- package/dist/{index-DJxdLFXV.js → index-CWUtWgcV.js} +4 -4
- package/dist/{index-Drhw6mFH.js → index-DB3YpCzK.js} +5 -5
- package/dist/index-DSmx3mnG.js +30694 -0
- package/dist/index-DTish3yr.js +1014 -0
- package/dist/{index-DRUdCBxf.js → index-l3lZQnPO.js} +96 -95
- package/dist/{index.es-Dg8PGfqY.js → index.es-BC-Prg32.js} +1 -1
- package/dist/{index.es-C5JaVECC.js → index.es-BDiTU_FA.js} +3244 -3032
- package/dist/index.es.js +1 -1
- package/dist/{info-D7JbYWOR.js → info-B8W2xzJC.js} +1 -1
- package/dist/{info-circle-wQJP08na.js → info-circle-xd4z9C36.js} +1 -1
- package/dist/{lightbulb-DvxJHkNC.js → lightbulb-D5I8lTbi.js} +1 -1
- package/dist/{mail-BdTr8Qhk.js → mail-F3uJmECQ.js} +1 -1
- package/dist/{mobile-BYMl9NU4.js → mobile-k7XFALbp.js} +1 -1
- package/dist/{more-_GkH6PVz.js → more-D-JzQpLw.js} +1 -1
- package/dist/{network-placeholder-RkFane_-.js → network-placeholder-BCZ9Tznt.js} +1 -1
- package/dist/{nftPlaceholder-brLois7k.js → nftPlaceholder-C3lY-4pO.js} +1 -1
- package/dist/{off-BvoRAKQk.js → off-oyzD1zym.js} +1 -1
- package/dist/{play-store-PAYBmMKL.js → play-store-DmzOyb5N.js} +1 -1
- package/dist/{plus-C7ndQrVG.js → plus-B3_zXKdB.js} +1 -1
- package/dist/{qr-code-BzVDMXG9.js → qr-code-CDCi7YJ2.js} +1 -1
- package/dist/{recycle-horizontal-CcSjuPBD.js → recycle-horizontal-gYQpyQu-.js} +1 -1
- package/dist/{refresh-EnEB4S0q.js → refresh-BxJP9XlY.js} +1 -1
- package/dist/{reown-logo-D-m3ZlCn.js → reown-logo-4_2efEyI.js} +1 -1
- package/dist/{search-rK2TO8oW.js → search-BgURoQ8D.js} +1 -1
- package/dist/{send-ewC_Dr5a.js → send-B04E7tqz.js} +1 -1
- package/dist/{swapHorizontal-D4_CLnQ1.js → swapHorizontal-Bn3fSbb_.js} +1 -1
- package/dist/{swapHorizontalBold-BxJSvW__.js → swapHorizontalBold-BrwcTxbN.js} +1 -1
- package/dist/{swapHorizontalMedium-BC6YI70K.js → swapHorizontalMedium-DmeGLuiC.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-BvJ7MjAm.js → swapHorizontalRoundedBold-BS3lUe20.js} +1 -1
- package/dist/{swapVertical-uQyY1dbd.js → swapVertical-ChLqgWg7.js} +1 -1
- package/dist/{telegram-Dzfv7CZN.js → telegram-DnPhgih8.js} +1 -1
- package/dist/{three-dots-O3uLZLkz.js → three-dots-bNEejC0G.js} +1 -1
- package/dist/{twitch-CUtrbmL-.js → twitch-GAMBWGM1.js} +1 -1
- package/dist/{twitterIcon-DZMQ8Bmn.js → twitterIcon-BLC3bD_g.js} +1 -1
- package/dist/{unsupportedProp-Dh57ZITi.js → unsupportedProp-C6jj5a32.js} +1 -1
- package/dist/{useRegisterError-Bp8xpLyh.js → useRegisterError-Dtth7zv3.js} +5 -5
- package/dist/{verify-1kJPzvCP.js → verify-BExXvDwE.js} +1 -1
- package/dist/{verify-filled-D6xGY8A5.js → verify-filled-Bi2V73zt.js} +1 -1
- package/dist/{w3m-modal-slf0WTO2.js → w3m-modal-DqiyguGn.js} +2 -2
- package/dist/{wallet-CI9ZKXI5.js → wallet-CZWVV7qT.js} +1 -1
- package/dist/{wallet-placeholder-DHsdhsL5.js → wallet-placeholder-DWCfOWed.js} +1 -1
- package/dist/{walletconnect-YEeO3478.js → walletconnect-B30uBUwZ.js} +1 -1
- package/dist/{warning-circle-CnXCXT-G.js → warning-circle-BkKJHk9B.js} +1 -1
- package/dist/{x-ChzZn6EY.js → x-BGtdpZh4.js} +1 -1
- package/package.json +1 -1
- package/dist/EstGas-DScDuqvp.js +0 -14426
- package/dist/getCosmosAddress-COhqxzQU.js +0 -8398
- package/dist/index-aoGlnTj5.js +0 -70013
@@ -1,20 +1,21 @@
|
|
1
1
|
import { jsx as l, jsxs as C, Fragment as B } from "react/jsx-runtime";
|
2
2
|
import * as H from "react";
|
3
3
|
import { useState as P, useEffect as te } from "react";
|
4
|
-
import { useConnect as Xt, useAccount as _t, useDisconnect as
|
5
|
-
import { p as
|
6
|
-
import { _ as en, x as Bn, C as We, A as Gn, i as xe, d as Un, u as Ue, B as tn, W as Qn } from "./useRegisterError-
|
7
|
-
import { useDynamicContext as fe, useIsLoggedIn as Xe, useWalletItemActions as Ct, useSwitchWallet as _e, useUserWallets as
|
8
|
-
import { _ as zt, C as nn, g as $e } from "./getChainIds-
|
9
|
-
import { useAccount as qe, useSuggestChain as rn, useSuggestChainAndConnect as sn, useConnect as on, WalletType as
|
10
|
-
import { B as Et } from "./Box-
|
4
|
+
import { useConnect as Xt, useAccount as _t, useDisconnect as Sn, useSwitchAccount as Kt, useConfig as qt, useConnectors as Tn, useConnections as kn } from "wagmi";
|
5
|
+
import { p as S, g as An, b as zn, i as En, aC as Ln, d as z, _ as Ge, s as On, e as Rn, f as Ee, h as Pn, P as A, C as At, a as Re, u as T, l as Me } from "./index-DSmx3mnG.js";
|
6
|
+
import { _ as en, x as Bn, C as We, A as Gn, i as xe, d as Un, u as Ue, B as tn, W as Qn } from "./useRegisterError-Dtth7zv3.js";
|
7
|
+
import { useDynamicContext as fe, useIsLoggedIn as Xe, useWalletItemActions as Ct, useSwitchWallet as _e, useUserWallets as Se, useWalletOptions as Ke } from "@dynamic-labs/sdk-react-core";
|
8
|
+
import { _ as zt, C as nn, g as $e } from "./getChainIds-ClTf-7B7.js";
|
9
|
+
import { useAccount as qe, useSuggestChain as rn, useSuggestChainAndConnect as sn, useConnect as on, WalletType as De, useActiveChainIds as Yn, useDisconnect as Zn, useActiveWalletType as Vn } from "graz";
|
10
|
+
import { B as Et } from "./Box-DD2rDHYN.js";
|
11
11
|
import { v as Jn } from "./validError-CDlJpg_f.js";
|
12
12
|
import "@dynamic-labs/solana";
|
13
|
+
import "@dynamic-labs/bitcoin";
|
13
14
|
const an = /* @__PURE__ */ H.createContext(null);
|
14
|
-
|
15
|
+
S.env.NODE_ENV !== "production" && (an.displayName = "ThemeContext");
|
15
16
|
function Wn() {
|
16
17
|
const r = H.useContext(an);
|
17
|
-
return
|
18
|
+
return S.env.NODE_ENV !== "production" && H.useDebugValue(r), r;
|
18
19
|
}
|
19
20
|
const $n = typeof Symbol == "function" && Symbol.for, Fn = $n ? Symbol.for("mui.nested") : "__THEME_NESTED__";
|
20
21
|
function Pe(r) {
|
@@ -133,7 +134,7 @@ const Kn = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
133
134
|
className: Rn(I.root, s)
|
134
135
|
}, p));
|
135
136
|
});
|
136
|
-
|
137
|
+
S.env.NODE_ENV !== "production" && (cn.propTypes = {
|
137
138
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
138
139
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
139
140
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
@@ -216,7 +217,7 @@ function ir(r = {}) {
|
|
216
217
|
seed: e = ""
|
217
218
|
} = r, i = e === "" ? "" : `${e}-`;
|
218
219
|
let o = 0;
|
219
|
-
const a = () => (o += 1,
|
220
|
+
const a = () => (o += 1, S.env.NODE_ENV !== "production" && o >= 1e10, o);
|
220
221
|
return (s, c) => {
|
221
222
|
const u = c.options.name;
|
222
223
|
if (u && u.indexOf("Mui") === 0 && !c.options.link && !n) {
|
@@ -225,13 +226,13 @@ function ir(r = {}) {
|
|
225
226
|
const h = `${i}${u}-${s.key}`;
|
226
227
|
return !c.options.theme[Fn] || e !== "" ? h : `${h}-${a()}`;
|
227
228
|
}
|
228
|
-
if (
|
229
|
+
if (S.env.NODE_ENV === "production")
|
229
230
|
return `${i}${t}${a()}`;
|
230
231
|
const g = `${s.key}-${a()}`;
|
231
232
|
return c.options.classNamePrefix ? `${i}${c.options.classNamePrefix}-${g}` : `${i}${g}`;
|
232
233
|
};
|
233
234
|
}
|
234
|
-
var sr =
|
235
|
+
var sr = S.env.NODE_ENV === "production";
|
235
236
|
function ie(r, n) {
|
236
237
|
if (!sr) {
|
237
238
|
var t = "Warning: " + n;
|
@@ -270,7 +271,7 @@ function gt(r) {
|
|
270
271
|
function jt(r, n, t) {
|
271
272
|
r === void 0 && (r = "unnamed");
|
272
273
|
var e = t.jss, i = gt(n), o = e.plugins.onCreateRule(r, i, t);
|
273
|
-
return o || (r[0] === "@" &&
|
274
|
+
return o || (r[0] === "@" && S.env.NODE_ENV !== "production" && ie(!1, "[JSS] Unknown rule " + r), null);
|
274
275
|
}
|
275
276
|
var Rt = function(n, t) {
|
276
277
|
for (var e = "", i = 0; i < n.length && n[i] !== "!important"; i++)
|
@@ -327,7 +328,7 @@ function Be(r, n, t) {
|
|
327
328
|
}
|
328
329
|
return !e && !t.allowEmpty || !r ? e : (a--, e && (e = "" + u + e + u), ke("" + r + g + "{" + e, a) + ke("}", a));
|
329
330
|
}
|
330
|
-
var cr = /([[\].#*$><+~=|^:(),"'`\s])/g, Pt = typeof CSS < "u" && CSS.escape,
|
331
|
+
var cr = /([[\].#*$><+~=|^:(),"'`\s])/g, Pt = typeof CSS < "u" && CSS.escape, Dt = function(r) {
|
331
332
|
return Pt ? Pt(r) : r.replace(cr, "\\$1");
|
332
333
|
}, un = /* @__PURE__ */ function() {
|
333
334
|
function r(t, e, i) {
|
@@ -348,7 +349,7 @@ var cr = /([[\].#*$><+~=|^:(),"'`\s])/g, Pt = typeof CSS < "u" && CSS.escape, St
|
|
348
349
|
if (g ? delete this.style[e] : this.style[e] = s, this.renderable && this.renderer)
|
349
350
|
return g ? this.renderer.removeProperty(this.renderable, e) : this.renderer.setProperty(this.renderable, e, s), this;
|
350
351
|
var h = this.options.sheet;
|
351
|
-
return h && h.attached &&
|
352
|
+
return h && h.attached && S.env.NODE_ENV !== "production" && ie(!1, '[JSS] Rule is not linked. Missing sheet option "link: true".'), this;
|
352
353
|
}, r;
|
353
354
|
}(), bt = /* @__PURE__ */ function(r) {
|
354
355
|
en(n, r);
|
@@ -356,7 +357,7 @@ var cr = /([[\].#*$><+~=|^:(),"'`\s])/g, Pt = typeof CSS < "u" && CSS.escape, St
|
|
356
357
|
var a;
|
357
358
|
a = r.call(this, e, i, o) || this;
|
358
359
|
var s = o.selector, c = o.scoped, u = o.sheet, g = o.generateId;
|
359
|
-
return s ? a.selectorText = s : c !== !1 && (a.id = g(zt(zt(a)), u), a.selectorText = "." +
|
360
|
+
return s ? a.selectorText = s : c !== !1 && (a.id = g(zt(zt(a)), u), a.selectorText = "." + Dt(a.id)), a;
|
360
361
|
}
|
361
362
|
var t = n.prototype;
|
362
363
|
return t.applyTo = function(i) {
|
@@ -443,9 +444,9 @@ var cr = /([[\].#*$><+~=|^:(),"'`\s])/g, Pt = typeof CSS < "u" && CSS.escape, St
|
|
443
444
|
function r(t, e, i) {
|
444
445
|
this.type = "keyframes", this.at = "@keyframes", this.isProcessed = !1;
|
445
446
|
var o = t.match(gr);
|
446
|
-
o && o[1] ? this.name = o[1] : (this.name = "noname",
|
447
|
+
o && o[1] ? this.name = o[1] : (this.name = "noname", S.env.NODE_ENV !== "production" && ie(!1, "[JSS] Bad keyframes name " + t)), this.key = this.type + "-" + this.name, this.options = i;
|
447
448
|
var a = i.scoped, s = i.sheet, c = i.generateId;
|
448
|
-
this.id = a === !1 ? this.name :
|
449
|
+
this.id = a === !1 ? this.name : Dt(c(this, s)), this.rules = new et(z({}, i, {
|
449
450
|
parent: this
|
450
451
|
}));
|
451
452
|
for (var u in e)
|
@@ -465,7 +466,7 @@ var cr = /([[\].#*$><+~=|^:(),"'`\s])/g, Pt = typeof CSS < "u" && CSS.escape, St
|
|
465
466
|
}, r;
|
466
467
|
}(), br = /@keyframes\s+/, wr = /\$([\w-]+)/g, pt = function(n, t) {
|
467
468
|
return typeof n == "string" ? n.replace(wr, function(e, i) {
|
468
|
-
return i in t ? t[i] : (
|
469
|
+
return i in t ? t[i] : (S.env.NODE_ENV !== "production" && ie(!1, '[JSS] Referenced keyframes rule "' + i + '" is not defined.'), e);
|
469
470
|
}) : n;
|
470
471
|
}, Bt = function(n, t, e) {
|
471
472
|
var i = n[t], o = pt(i, e);
|
@@ -555,11 +556,11 @@ var cr = /([[\].#*$><+~=|^:(),"'`\s])/g, Pt = typeof CSS < "u" && CSS.escape, St
|
|
555
556
|
"@charset": !0,
|
556
557
|
"@import": !0,
|
557
558
|
"@namespace": !0
|
558
|
-
},
|
559
|
+
}, Dr = {
|
559
560
|
onCreateRule: function(n, t, e) {
|
560
561
|
return n in jr ? new Cr(n, t, e) : null;
|
561
562
|
}
|
562
|
-
}, Gt = [lr, hr, pr, mr, vr, Nr,
|
563
|
+
}, Gt = [lr, hr, pr, mr, vr, Nr, Dr], Sr = {
|
563
564
|
process: !0
|
564
565
|
}, Ut = {
|
565
566
|
force: !0,
|
@@ -586,7 +587,7 @@ var cr = /([[\].#*$><+~=|^:(),"'`\s])/g, Pt = typeof CSS < "u" && CSS.escape, St
|
|
586
587
|
keyframes: this.keyframes,
|
587
588
|
selector: void 0
|
588
589
|
}, o), p = e;
|
589
|
-
e in this.raw && (p = e + "-d" + this.counter++), this.raw[p] = i, p in this.classes && (y.selector = "." +
|
590
|
+
e in this.raw && (p = e + "-d" + this.counter++), this.raw[p] = i, p in this.classes && (y.selector = "." + Dt(this.classes[p]));
|
590
591
|
var d = jt(p, i, y);
|
591
592
|
if (!d) return null;
|
592
593
|
this.register(d);
|
@@ -620,7 +621,7 @@ var cr = /([[\].#*$><+~=|^:(),"'`\s])/g, Pt = typeof CSS < "u" && CSS.escape, St
|
|
620
621
|
for (var a = 0; a < this.index.length; a++)
|
621
622
|
this.updateOne(this.index[a], i, o);
|
622
623
|
}, n.updateOne = function(e, i, o) {
|
623
|
-
o === void 0 && (o =
|
624
|
+
o === void 0 && (o = Sr);
|
624
625
|
var a = this.options, s = a.jss.plugins, c = a.sheet;
|
625
626
|
if (e.rules instanceof r) {
|
626
627
|
e.rules.update(i, o);
|
@@ -740,7 +741,7 @@ var cr = /([[\].#*$><+~=|^:(),"'`\s])/g, Pt = typeof CSS < "u" && CSS.escape, St
|
|
740
741
|
var o = this.plugins[i.queue];
|
741
742
|
o.indexOf(e) === -1 && (o.push(e), this.registry = [].concat(this.plugins.external, this.plugins.internal).reduce(function(a, s) {
|
742
743
|
for (var c in s)
|
743
|
-
c in a ? a[c].push(s[c]) :
|
744
|
+
c in a ? a[c].push(s[c]) : S.env.NODE_ENV !== "production" && ie(!1, '[JSS] Unknown hook "' + c + '".');
|
744
745
|
return a;
|
745
746
|
}, {
|
746
747
|
onCreateRule: [],
|
@@ -794,7 +795,7 @@ yt[mt] == null && (yt[mt] = 0);
|
|
794
795
|
var Qt = yt[mt]++, Ar = 1e10, Yt = function(n) {
|
795
796
|
n === void 0 && (n = {});
|
796
797
|
var t = 0, e = function(o, a) {
|
797
|
-
t += 1, t > Ar &&
|
798
|
+
t += 1, t > Ar && S.env.NODE_ENV !== "production" && ie(!1, "[JSS] You might have a memory leak. Rule counter is at " + t + ".");
|
798
799
|
var s = "", c = "";
|
799
800
|
return a && (a.options.classNamePrefix && (c = a.options.classNamePrefix), a.options.jss.id != null && (s = String(a.options.jss.id))), n.minify ? "" + (c || "c") + Qt + s + t : c + o.key + "-" + Qt + (s ? "-" + s : "") + "-" + t;
|
800
801
|
};
|
@@ -827,7 +828,7 @@ var Qt = yt[mt]++, Ar = 1e10, Yt = function(n) {
|
|
827
828
|
try {
|
828
829
|
n.attributeStyleMap ? n.attributeStyleMap.delete(t) : n.style.removeProperty(t);
|
829
830
|
} catch (e) {
|
830
|
-
|
831
|
+
S.env.NODE_ENV !== "production" && ie(!1, '[JSS] DOMException "' + e.message + '" was thrown. Tried to remove property "' + t + '".');
|
831
832
|
}
|
832
833
|
}, Or = function(n, t) {
|
833
834
|
return n.selectorText = t, n.selectorText === t;
|
@@ -881,7 +882,7 @@ function Gr(r) {
|
|
881
882
|
parent: i.parentNode,
|
882
883
|
node: i.nextSibling
|
883
884
|
};
|
884
|
-
|
885
|
+
S.env.NODE_ENV !== "production" && ie(!1, '[JSS] Insertion point "' + e + '" not found.');
|
885
886
|
}
|
886
887
|
return !1;
|
887
888
|
}
|
@@ -893,7 +894,7 @@ function Ur(r, n) {
|
|
893
894
|
}
|
894
895
|
if (t && typeof t.nodeType == "number") {
|
895
896
|
var i = t, o = i.parentNode;
|
896
|
-
o ? o.insertBefore(r, i.nextSibling) :
|
897
|
+
o ? o.insertBefore(r, i.nextSibling) : S.env.NODE_ENV !== "production" && ie(!1, "[JSS] Insertion point is not in the DOM.");
|
897
898
|
return;
|
898
899
|
}
|
899
900
|
hn().appendChild(r);
|
@@ -905,7 +906,7 @@ var Qr = fn(function() {
|
|
905
906
|
try {
|
906
907
|
"insertRule" in n ? n.insertRule(t, e) : "appendRule" in n && n.appendRule(t);
|
907
908
|
} catch (i) {
|
908
|
-
return
|
909
|
+
return S.env.NODE_ENV !== "production" && ie(!1, "[JSS] " + i.message), !1;
|
909
910
|
}
|
910
911
|
return n.cssRules[e];
|
911
912
|
}, Vt = function(n, t) {
|
@@ -1033,7 +1034,7 @@ var Qr = fn(function() {
|
|
1033
1034
|
e.plugins.use(s);
|
1034
1035
|
}), this;
|
1035
1036
|
}, r;
|
1036
|
-
}(),
|
1037
|
+
}(), St = function(n) {
|
1037
1038
|
return new Jr(n);
|
1038
1039
|
}, Tt = typeof CSS == "object" && CSS != null && "number" in CSS;
|
1039
1040
|
function gn(r) {
|
@@ -1049,7 +1050,7 @@ function gn(r) {
|
|
1049
1050
|
}
|
1050
1051
|
return n;
|
1051
1052
|
}
|
1052
|
-
|
1053
|
+
St();
|
1053
1054
|
var bn = Date.now(), it = "fnValues" + bn, st = "fnStyle" + ++bn, Wr = function() {
|
1054
1055
|
return {
|
1055
1056
|
onCreateRule: function(t, e, i) {
|
@@ -1068,10 +1069,10 @@ var bn = Date.now(), it = "fnValues" + bn, st = "fnStyle" + ++bn, Wr = function(
|
|
1068
1069
|
},
|
1069
1070
|
onUpdate: function(t, e, i, o) {
|
1070
1071
|
var a = e, s = a[st];
|
1071
|
-
if (s && (a.style = s(t) || {},
|
1072
|
+
if (s && (a.style = s(t) || {}, S.env.NODE_ENV === "development")) {
|
1072
1073
|
for (var c in a.style)
|
1073
1074
|
if (typeof a.style[c] == "function") {
|
1074
|
-
|
1075
|
+
S.env.NODE_ENV !== "production" && ie(!1, "[JSS] Function values inside function rules are not supported.");
|
1075
1076
|
break;
|
1076
1077
|
}
|
1077
1078
|
}
|
@@ -1165,7 +1166,7 @@ function ti() {
|
|
1165
1166
|
function r(i, o) {
|
1166
1167
|
return function(a, s) {
|
1167
1168
|
var c = i.getRule(s) || o && o.getRule(s);
|
1168
|
-
return c ? c.selector : (
|
1169
|
+
return c ? c.selector : (S.env.NODE_ENV !== "production" && ie(!1, '[JSS] Could not find the referenced rule "' + s + '" in "' + (i.options.meta || i.toString()) + '".'), s);
|
1169
1170
|
};
|
1170
1171
|
}
|
1171
1172
|
function n(i, o) {
|
@@ -1490,7 +1491,7 @@ if (Qe) {
|
|
1490
1491
|
}
|
1491
1492
|
Ae === "Webkit" && "msHyphens" in ct && (Ae = "ms", vt = at.ms, Mn = "edge"), Ae === "Webkit" && "-apple-trailing-word" in ct && (mn = "apple");
|
1492
1493
|
}
|
1493
|
-
var
|
1494
|
+
var D = {
|
1494
1495
|
js: Ae,
|
1495
1496
|
css: vt,
|
1496
1497
|
vendor: mn,
|
@@ -1498,17 +1499,17 @@ var S = {
|
|
1498
1499
|
isTouch: gi
|
1499
1500
|
};
|
1500
1501
|
function pi(r) {
|
1501
|
-
return r[1] === "-" ||
|
1502
|
+
return r[1] === "-" || D.js === "ms" ? r : "@" + D.css + "keyframes" + r.substr(10);
|
1502
1503
|
}
|
1503
1504
|
var yi = {
|
1504
1505
|
noPrefill: ["appearance"],
|
1505
1506
|
supportedProperty: function(n) {
|
1506
|
-
return n !== "appearance" ? !1 :
|
1507
|
+
return n !== "appearance" ? !1 : D.js === "ms" ? "-webkit-" + n : D.css + n;
|
1507
1508
|
}
|
1508
1509
|
}, mi = {
|
1509
1510
|
noPrefill: ["color-adjust"],
|
1510
1511
|
supportedProperty: function(n) {
|
1511
|
-
return n !== "color-adjust" ? !1 :
|
1512
|
+
return n !== "color-adjust" ? !1 : D.js === "Webkit" ? D.css + "print-" + n : n;
|
1512
1513
|
}
|
1513
1514
|
}, Mi = /[-\s]+(.)?/g;
|
1514
1515
|
function xi(r, n) {
|
@@ -1524,48 +1525,48 @@ var vi = {
|
|
1524
1525
|
noPrefill: ["mask"],
|
1525
1526
|
supportedProperty: function(n, t) {
|
1526
1527
|
if (!/^mask/.test(n)) return !1;
|
1527
|
-
if (
|
1528
|
+
if (D.js === "Webkit") {
|
1528
1529
|
var e = "mask-image";
|
1529
1530
|
if (kt(e) in t)
|
1530
1531
|
return n;
|
1531
|
-
if (
|
1532
|
-
return
|
1532
|
+
if (D.js + we(e) in t)
|
1533
|
+
return D.css + n;
|
1533
1534
|
}
|
1534
1535
|
return n;
|
1535
1536
|
}
|
1536
1537
|
}, Ii = {
|
1537
1538
|
noPrefill: ["text-orientation"],
|
1538
1539
|
supportedProperty: function(n) {
|
1539
|
-
return n !== "text-orientation" ? !1 :
|
1540
|
+
return n !== "text-orientation" ? !1 : D.vendor === "apple" && !D.isTouch ? D.css + n : n;
|
1540
1541
|
}
|
1541
1542
|
}, Ni = {
|
1542
1543
|
noPrefill: ["transform"],
|
1543
1544
|
supportedProperty: function(n, t, e) {
|
1544
|
-
return n !== "transform" ? !1 : e.transform ? n :
|
1545
|
+
return n !== "transform" ? !1 : e.transform ? n : D.css + n;
|
1545
1546
|
}
|
1546
1547
|
}, Ci = {
|
1547
1548
|
noPrefill: ["transition"],
|
1548
1549
|
supportedProperty: function(n, t, e) {
|
1549
|
-
return n !== "transition" ? !1 : e.transition ? n :
|
1550
|
+
return n !== "transition" ? !1 : e.transition ? n : D.css + n;
|
1550
1551
|
}
|
1551
1552
|
}, ji = {
|
1552
1553
|
noPrefill: ["writing-mode"],
|
1553
1554
|
supportedProperty: function(n) {
|
1554
|
-
return n !== "writing-mode" ? !1 :
|
1555
|
+
return n !== "writing-mode" ? !1 : D.js === "Webkit" || D.js === "ms" && D.browser !== "edge" ? D.css + n : n;
|
1555
1556
|
}
|
1556
|
-
},
|
1557
|
+
}, Di = {
|
1557
1558
|
noPrefill: ["user-select"],
|
1558
1559
|
supportedProperty: function(n) {
|
1559
|
-
return n !== "user-select" ? !1 :
|
1560
|
+
return n !== "user-select" ? !1 : D.js === "Moz" || D.js === "ms" || D.vendor === "apple" ? D.css + n : n;
|
1560
1561
|
}
|
1561
|
-
},
|
1562
|
+
}, Si = {
|
1562
1563
|
supportedProperty: function(n, t) {
|
1563
1564
|
if (!/^break-/.test(n)) return !1;
|
1564
|
-
if (
|
1565
|
+
if (D.js === "Webkit") {
|
1565
1566
|
var e = "WebkitColumn" + we(n);
|
1566
|
-
return e in t ?
|
1567
|
+
return e in t ? D.css + "column-" + n : !1;
|
1567
1568
|
}
|
1568
|
-
if (
|
1569
|
+
if (D.js === "Moz") {
|
1569
1570
|
var i = "page" + we(n);
|
1570
1571
|
return i in t ? "page-" + n : !1;
|
1571
1572
|
}
|
@@ -1574,9 +1575,9 @@ var vi = {
|
|
1574
1575
|
}, Ti = {
|
1575
1576
|
supportedProperty: function(n, t) {
|
1576
1577
|
if (!/^(border|margin|padding)-inline/.test(n)) return !1;
|
1577
|
-
if (
|
1578
|
+
if (D.js === "Moz") return n;
|
1578
1579
|
var e = n.replace("-inline", "");
|
1579
|
-
return
|
1580
|
+
return D.js + we(e) in t ? D.css + e : !1;
|
1580
1581
|
}
|
1581
1582
|
}, ki = {
|
1582
1583
|
supportedProperty: function(n, t) {
|
@@ -1585,15 +1586,15 @@ var vi = {
|
|
1585
1586
|
}, Ai = {
|
1586
1587
|
supportedProperty: function(n, t) {
|
1587
1588
|
var e = we(n);
|
1588
|
-
return n[0] === "-" || n[0] === "-" && n[1] === "-" ? n :
|
1589
|
+
return n[0] === "-" || n[0] === "-" && n[1] === "-" ? n : D.js + e in t ? D.css + n : D.js !== "Webkit" && "Webkit" + e in t ? "-webkit-" + n : !1;
|
1589
1590
|
}
|
1590
1591
|
}, zi = {
|
1591
1592
|
supportedProperty: function(n) {
|
1592
|
-
return n.substring(0, 11) !== "scroll-snap" ? !1 :
|
1593
|
+
return n.substring(0, 11) !== "scroll-snap" ? !1 : D.js === "ms" ? "" + D.css + n : n;
|
1593
1594
|
}
|
1594
1595
|
}, Ei = {
|
1595
1596
|
supportedProperty: function(n) {
|
1596
|
-
return n !== "overscroll-behavior" ? !1 :
|
1597
|
+
return n !== "overscroll-behavior" ? !1 : D.js === "ms" ? D.css + "scroll-chaining" : n;
|
1597
1598
|
}
|
1598
1599
|
}, Li = {
|
1599
1600
|
"flex-grow": "flex-positive",
|
@@ -1607,7 +1608,7 @@ var vi = {
|
|
1607
1608
|
}, Oi = {
|
1608
1609
|
supportedProperty: function(n, t) {
|
1609
1610
|
var e = Li[n];
|
1610
|
-
return e &&
|
1611
|
+
return e && D.js + we(e) in t ? D.css + e : !1;
|
1611
1612
|
}
|
1612
1613
|
}, xn = {
|
1613
1614
|
flex: "box-flex",
|
@@ -1618,23 +1619,23 @@ var vi = {
|
|
1618
1619
|
"flex-flow": ["box-orient", "box-direction"],
|
1619
1620
|
"justify-content": "box-pack"
|
1620
1621
|
}, Ri = Object.keys(xn), Pi = function(n) {
|
1621
|
-
return
|
1622
|
+
return D.css + n;
|
1622
1623
|
}, Bi = {
|
1623
1624
|
supportedProperty: function(n, t, e) {
|
1624
1625
|
var i = e.multiple;
|
1625
1626
|
if (Ri.indexOf(n) > -1) {
|
1626
1627
|
var o = xn[n];
|
1627
1628
|
if (!Array.isArray(o))
|
1628
|
-
return
|
1629
|
+
return D.js + we(o) in t ? D.css + o : !1;
|
1629
1630
|
if (!i) return !1;
|
1630
1631
|
for (var a = 0; a < o.length; a++)
|
1631
|
-
if (!(
|
1632
|
+
if (!(D.js + we(o[0]) in t))
|
1632
1633
|
return !1;
|
1633
1634
|
return o.map(Pi);
|
1634
1635
|
}
|
1635
1636
|
return !1;
|
1636
1637
|
}
|
1637
|
-
}, vn = [yi, mi, vi, Ii, Ni, Ci, ji,
|
1638
|
+
}, vn = [yi, mi, vi, Ii, Ni, Ci, ji, Di, Si, Ti, ki, Ai, zi, Ei, Oi, Bi], Wt = vn.filter(function(r) {
|
1638
1639
|
return r.supportedProperty;
|
1639
1640
|
}).map(function(r) {
|
1640
1641
|
return r.supportedProperty;
|
@@ -1654,7 +1655,7 @@ if (Qe) {
|
|
1654
1655
|
}
|
1655
1656
|
function It(r, n) {
|
1656
1657
|
if (n === void 0 && (n = {}), !ze) return r;
|
1657
|
-
if (
|
1658
|
+
if (S.env.NODE_ENV !== "benchmark" && ye[r] != null)
|
1658
1659
|
return ye[r];
|
1659
1660
|
(r === "transition" || r === "transform") && (n[r] = r in ze.style);
|
1660
1661
|
for (var t = 0; t < Wt.length && (ye[r] = Wt[t](r, ze.style, n), !ye[r]); t++)
|
@@ -1686,7 +1687,7 @@ function $t(r, n) {
|
|
1686
1687
|
if (typeof t != "string" || !isNaN(parseInt(t, 10)))
|
1687
1688
|
return t;
|
1688
1689
|
var e = r + t;
|
1689
|
-
if (
|
1690
|
+
if (S.env.NODE_ENV !== "benchmark" && Ce[e] != null)
|
1690
1691
|
return Ce[e];
|
1691
1692
|
try {
|
1692
1693
|
ge.style[r] = t;
|
@@ -1695,7 +1696,7 @@ function $t(r, n) {
|
|
1695
1696
|
}
|
1696
1697
|
if (Ui[r])
|
1697
1698
|
t = t.replace(Qi, Yi);
|
1698
|
-
else if (ge.style[r] === "" && (t =
|
1699
|
+
else if (ge.style[r] === "" && (t = D.css + t, t === "-ms-flex" && (ge.style[r] = "-ms-flexbox"), ge.style[r] = t, ge.style[r] === ""))
|
1699
1700
|
return Ce[e] = !1, !1;
|
1700
1701
|
return ge.style[r] = "", Ce[e] = t, Ce[e];
|
1701
1702
|
}
|
@@ -1770,8 +1771,8 @@ function Nn(r = {}) {
|
|
1770
1771
|
if (!t)
|
1771
1772
|
return n;
|
1772
1773
|
const i = z({}, n);
|
1773
|
-
return
|
1774
|
-
|
1774
|
+
return S.env.NODE_ENV !== "production" && typeof t == "string" ? n : (Object.keys(t).forEach((o) => {
|
1775
|
+
S.env.NODE_ENV !== "production" && (!n[o] && t[o], t[o] && t[o]), t[o] && (i[o] = `${n[o]} ${t[o]}`);
|
1775
1776
|
}), i);
|
1776
1777
|
}
|
1777
1778
|
const je = {
|
@@ -1792,7 +1793,7 @@ function Ji() {
|
|
1792
1793
|
const n = Wn();
|
1793
1794
|
return (r = n == null ? void 0 : n.$$material) != null ? r : n;
|
1794
1795
|
}
|
1795
|
-
const Wi = ["children", "injectFirst", "disableGeneration"], $i =
|
1796
|
+
const Wi = ["children", "injectFirst", "disableGeneration"], $i = St(In()), Fi = ir(), Hi = /* @__PURE__ */ new Map(), Xi = {
|
1796
1797
|
disableGeneration: !1,
|
1797
1798
|
generateClassName: Fi,
|
1798
1799
|
jss: $i,
|
@@ -1800,7 +1801,7 @@ const Wi = ["children", "injectFirst", "disableGeneration"], $i = Dt(In()), Fi =
|
|
1800
1801
|
sheetsManager: Hi,
|
1801
1802
|
sheetsRegistry: null
|
1802
1803
|
}, He = /* @__PURE__ */ H.createContext(Xi);
|
1803
|
-
|
1804
|
+
S.env.NODE_ENV !== "production" && (He.displayName = "StylesContext");
|
1804
1805
|
let Je;
|
1805
1806
|
function Nt(r) {
|
1806
1807
|
const {
|
@@ -1815,7 +1816,7 @@ function Nt(r) {
|
|
1815
1816
|
sheetsManager: g,
|
1816
1817
|
sheetsRegistry: h
|
1817
1818
|
} = z({}, o, i);
|
1818
|
-
|
1819
|
+
S.env.NODE_ENV !== "production" && t && i.jss;
|
1819
1820
|
const M = H.useMemo(() => {
|
1820
1821
|
const y = {
|
1821
1822
|
disableGeneration: e,
|
@@ -1826,12 +1827,12 @@ function Nt(r) {
|
|
1826
1827
|
sheetsManager: g,
|
1827
1828
|
sheetsRegistry: h
|
1828
1829
|
};
|
1829
|
-
if (
|
1830
|
+
if (S.env.NODE_ENV !== "production" && typeof window > "u" && y.sheetsManager, S.env.NODE_ENV !== "production" && y.jss.options.insertionPoint, !y.jss.options.insertionPoint && t && typeof window < "u") {
|
1830
1831
|
if (!Je) {
|
1831
1832
|
const p = document.head;
|
1832
1833
|
Je = document.createComment("mui-inject-first"), p.insertBefore(Je, p.firstChild);
|
1833
1834
|
}
|
1834
|
-
y.jss =
|
1835
|
+
y.jss = St({
|
1835
1836
|
plugins: In().plugins,
|
1836
1837
|
insertionPoint: Je
|
1837
1838
|
});
|
@@ -1843,7 +1844,7 @@ function Nt(r) {
|
|
1843
1844
|
children: n
|
1844
1845
|
});
|
1845
1846
|
}
|
1846
|
-
|
1847
|
+
S.env.NODE_ENV !== "production" && (Nt.propTypes = {
|
1847
1848
|
/**
|
1848
1849
|
* Your component tree.
|
1849
1850
|
*/
|
@@ -1897,10 +1898,10 @@ D.env.NODE_ENV !== "production" && (Nt.propTypes = {
|
|
1897
1898
|
*/
|
1898
1899
|
sheetsRegistry: A.object
|
1899
1900
|
});
|
1900
|
-
|
1901
|
+
S.env.NODE_ENV !== "production" && S.env.NODE_ENV !== "production" && (Nt.propTypes = Bn(Nt.propTypes));
|
1901
1902
|
let ft = -1e9;
|
1902
1903
|
function _i() {
|
1903
|
-
return ft += 1,
|
1904
|
+
return ft += 1, S.env.NODE_ENV !== "production" && ft >= 0, ft;
|
1904
1905
|
}
|
1905
1906
|
const Ki = ["variant"];
|
1906
1907
|
function Ft(r) {
|
@@ -1918,19 +1919,19 @@ function qi(r) {
|
|
1918
1919
|
const Cn = {};
|
1919
1920
|
function es(r) {
|
1920
1921
|
const n = typeof r == "function";
|
1921
|
-
return
|
1922
|
+
return S.env.NODE_ENV, {
|
1922
1923
|
create: (t, e) => {
|
1923
1924
|
let i;
|
1924
1925
|
try {
|
1925
1926
|
i = n ? r(t) : r;
|
1926
1927
|
} catch (c) {
|
1927
|
-
throw
|
1928
|
+
throw S.env.NODE_ENV, c;
|
1928
1929
|
}
|
1929
1930
|
if (!e || !t.components || !t.components[e] || !t.components[e].styleOverrides && !t.components[e].variants)
|
1930
1931
|
return i;
|
1931
1932
|
const o = t.components[e].styleOverrides || {}, a = t.components[e].variants || [], s = z({}, i);
|
1932
1933
|
return Object.keys(o).forEach((c) => {
|
1933
|
-
|
1934
|
+
S.env.NODE_ENV !== "production" && s[c], s[c] = At(s[c] || {}, o[c]);
|
1934
1935
|
}), a.forEach((c) => {
|
1935
1936
|
const u = qi(c.props);
|
1936
1937
|
s[u] = At(s[u] || {}, c.style);
|
@@ -2063,7 +2064,7 @@ function as(r, n = {}) {
|
|
2063
2064
|
p.current && is(y.current, g), p.current = !0;
|
2064
2065
|
});
|
2065
2066
|
const d = ns(y.current, g.classes, i);
|
2066
|
-
return
|
2067
|
+
return S.env.NODE_ENV !== "production" && H.useDebugValue(d), S.env.NODE_ENV !== "production" && t && ["MuiAvatar", "MuiBadge", "MuiButton", "MuiButtonGroup", "MuiChip", "MuiDivider", "MuiFab", "MuiPaper", "MuiToolbar", "MuiTypography", "MuiAlert", "MuiPagination", "MuiPaginationItem", "MuiSkeleton", "MuiTimelineDot"].indexOf(t) >= 0 && g.variant && d[g.variant], d;
|
2067
2068
|
};
|
2068
2069
|
}
|
2069
2070
|
const cs = as(() => ({
|
@@ -2196,7 +2197,7 @@ function us({ selectedWallet: r, selectedConnector: n, handleConnect: t, isSolCo
|
|
2196
2197
|
error: w
|
2197
2198
|
});
|
2198
2199
|
}, [w]);
|
2199
|
-
const _ =
|
2200
|
+
const _ = Se();
|
2200
2201
|
te(() => {
|
2201
2202
|
var x;
|
2202
2203
|
if (_ && r) {
|
@@ -2214,17 +2215,17 @@ function us({ selectedWallet: r, selectedConnector: n, handleConnect: t, isSolCo
|
|
2214
2215
|
};
|
2215
2216
|
await X({
|
2216
2217
|
chainInfo: b,
|
2217
|
-
walletType:
|
2218
|
+
walletType: De.KEPLR
|
2218
2219
|
});
|
2219
2220
|
let Z = await $e();
|
2220
2221
|
y(Z), await E({
|
2221
2222
|
chainId: Z,
|
2222
|
-
walletType:
|
2223
|
+
walletType: De.KEPLR
|
2223
2224
|
}), await U();
|
2224
2225
|
} else
|
2225
2226
|
E({
|
2226
2227
|
chainId: x,
|
2227
|
-
walletType:
|
2228
|
+
walletType: De.KEPLR
|
2228
2229
|
});
|
2229
2230
|
} catch (x) {
|
2230
2231
|
R(x.message);
|
@@ -2497,7 +2498,7 @@ function tt({ wallet: r, chain: n }) {
|
|
2497
2498
|
] }) });
|
2498
2499
|
}
|
2499
2500
|
function bs({ selectedWalletTab: r, styles: n, connectWalletField: t, handleShowWallet: e, setSelectedConnector: i, setSelectedWallet: o, handleConnect: a, setShowLoading: s, section: c }) {
|
2500
|
-
const u = T((w) => w.configuration), g = T((w) => w.setToDisconnect), { connector: h } = _t(), { disconnect: M } =
|
2501
|
+
const u = T((w) => w.configuration), g = T((w) => w.setToDisconnect), { connector: h } = _t(), { disconnect: M } = Sn(), [y, p] = P(), [d, v] = P([]), { connectors: I, switchAccountAsync: Y } = Kt(), { injectedicon: V, metamaskicon: j, coinbaseicon: Q, walletconnecticon: G, ethereumicon: L } = xe, O = {
|
2501
2502
|
injected: V,
|
2502
2503
|
metaMaskSDK: j,
|
2503
2504
|
coinbaseWalletSDK: Q,
|
@@ -2605,8 +2606,8 @@ function ws(r) {
|
|
2605
2606
|
return !1;
|
2606
2607
|
}
|
2607
2608
|
}
|
2608
|
-
function
|
2609
|
-
const r = _e(), n =
|
2609
|
+
function Dn() {
|
2610
|
+
const r = _e(), n = Se(), { primaryWallet: t, handleUnlinkWallet: e } = fe();
|
2610
2611
|
T((s) => s.fromChain);
|
2611
2612
|
const i = T((s) => s.toChain), { updateMostRecentWallet: o } = Ue({});
|
2612
2613
|
async function a(s, c = "SOL") {
|
@@ -2637,7 +2638,7 @@ function Sn() {
|
|
2637
2638
|
const ps = ({ fromChain: r, toChain: n, connectWalletField: t, handleSolConnecting: e, selectedWalletTab: i, handleShowWallet: o, section: a }) => {
|
2638
2639
|
const { primaryWallet: s, handleLogOut: c, handleUnlinkWallet: u } = fe(), g = Xe(), [h, M] = P(0), [y, p] = P(!1), [d, v] = P(), { setShowAuthFlow: I, walletConnectorOptions: Y } = fe(), { openWallet: V } = Ct(), j = T((b) => b.configuration), Q = T((b) => b.setToDisconnect), { handleSOLDisable: G, updateMostRecentWallet: L } = Ue({});
|
2639
2640
|
G(t);
|
2640
|
-
const O =
|
2641
|
+
const O = Se(), { selectWalletOption: X, walletOptions: U } = Ke(), E = _e(), { handleDisconnectDynamic: k } = Dn();
|
2641
2642
|
te(() => {
|
2642
2643
|
g && y && s !== null && p(!1);
|
2643
2644
|
}, [g, s]);
|
@@ -2781,17 +2782,17 @@ function Ms({ selectedWalletTab: r, handleCosmosConnection: n, setErrorMsg: t, c
|
|
2781
2782
|
};
|
2782
2783
|
await j({
|
2783
2784
|
chainInfo: R,
|
2784
|
-
walletType:
|
2785
|
+
walletType: De.KEPLR
|
2785
2786
|
});
|
2786
2787
|
let w = await $e();
|
2787
2788
|
c(w), await h({
|
2788
2789
|
chainId: w,
|
2789
|
-
walletType:
|
2790
|
+
walletType: De.KEPLR
|
2790
2791
|
}), await u();
|
2791
2792
|
} else
|
2792
2793
|
g({
|
2793
2794
|
chainId: k,
|
2794
|
-
walletType:
|
2795
|
+
walletType: De.KEPLR
|
2795
2796
|
});
|
2796
2797
|
n(!0, "keplr");
|
2797
2798
|
} catch {
|
@@ -2849,7 +2850,7 @@ function Ms({ selectedWalletTab: r, handleCosmosConnection: n, setErrorMsg: t, c
|
|
2849
2850
|
const xs = ({ fromChain: r, toChain: n, connectWalletField: t, handleBitcoinConnecting: e, selectedWalletTab: i, handleShowWallet: o, section: a }) => {
|
2850
2851
|
const { primaryWallet: s, handleLogOut: c, handleUnlinkWallet: u } = fe(), g = Xe(), [h, M] = P(0), [y, p] = P(!1), [d, v] = P(), { setShowAuthFlow: I, walletConnectorOptions: Y } = fe(), { openWallet: V } = Ct(), j = T((m) => m.configuration), Q = T((m) => m.setToDisconnect), { handleBTCDisable: G, updateMostRecentWallet: L } = Ue({});
|
2851
2852
|
G(t);
|
2852
|
-
const O =
|
2853
|
+
const O = Se(), { selectWalletOption: X, walletOptions: U } = Ke(), E = _e(), { handleDisconnectDynamic: k } = Dn();
|
2853
2854
|
te(() => {
|
2854
2855
|
g && y && s !== null && p(!1);
|
2855
2856
|
}, [g, s]);
|
@@ -2952,7 +2953,7 @@ function ht({ selectedWalletTab: r, connectWalletField: n, handleShowWallet: t,
|
|
2952
2953
|
] });
|
2953
2954
|
}
|
2954
2955
|
function vs({ selectedWalletTab: r }) {
|
2955
|
-
const { connector: n } = _t(), t = T.getState().isExternalProvider, { data: e, isConnected: i } = qe(), { primaryWallet: o } = fe(), { walletOptions: a } = Ke(), [s, c] = P(!1), [u, g] = P(!1), [h, M] = P(!1), y = n && !t.evm, p = (o == null ? void 0 : o.address) && !t.solana, d = T((G) => G.isEvmSupportAvailable), { connected: v } = Re(), I =
|
2956
|
+
const { connector: n } = _t(), t = T.getState().isExternalProvider, { data: e, isConnected: i } = qe(), { primaryWallet: o } = fe(), { walletOptions: a } = Ke(), [s, c] = P(!1), [u, g] = P(!1), [h, M] = P(!1), y = n && !t.evm, p = (o == null ? void 0 : o.address) && !t.solana, d = T((G) => G.isEvmSupportAvailable), { connected: v } = Re(), I = Se();
|
2956
2957
|
function Y(G) {
|
2957
2958
|
return I.some((L) => {
|
2958
2959
|
var O;
|
@@ -3000,7 +3001,7 @@ function Is({ handleShowWallet: r, connectWalletField: n, portfolio: t, classNam
|
|
3000
3001
|
const o = qt(), { connectAsync: a, data: s, isSuccess: c } = Xt({
|
3001
3002
|
config: o
|
3002
3003
|
}), u = T((N) => N.fromChain), g = T((N) => N.toChain), { primaryWallet: h } = fe(), M = Xe(), [y, p] = P(""), [d, v] = P(!0), [I, Y] = P(), [V, j] = P(!1), [Q, G] = P(!1), [L, O] = P(!1), [X, U] = P(!1), [E, k] = P(!1), [R, w] = P(""), { connected: F, address: ne } = Re(), [_, ue] = P("All"), { data: m, isConnected: K } = qe(), { switchAccountAsync: $ } = Kt(), x = T((N) => N.configuration);
|
3003
|
-
|
3004
|
+
Se();
|
3004
3005
|
const { walletOptions: b } = Ke();
|
3005
3006
|
T((N) => N.isEvmSupportAvailable);
|
3006
3007
|
const { connected: Z } = Re(), { isWalletConnectedIndicator: J, isWalletInstalledIndicator: q, isSupportedIndicator: re } = vs({ selectedWalletTab: _ });
|
@@ -3178,12 +3179,12 @@ function Is({ handleShowWallet: r, connectWalletField: n, portfolio: t, classNam
|
|
3178
3179
|
n == "to" ? /* @__PURE__ */ l(hs, { portfolio: t, handleShowWallet: r, section: "connected" }) : /* @__PURE__ */ l(B, {})
|
3179
3180
|
] }) : /* @__PURE__ */ l(us, { selectedWallet: y, selectedConnector: I, handleConnect: ee, handleOtherWalletConnecting: pe, isSolConnecting: V, isTronConnecting: Q, isCosmosonnecting: L, isSuiConnecting: X, isBitcoinConnecting: E, isSuccess: c, data: s, evmError: R });
|
3180
3181
|
}
|
3181
|
-
const
|
3182
|
+
const Ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
3182
3183
|
__proto__: null,
|
3183
3184
|
default: Is
|
3184
3185
|
}, Symbol.toStringTag, { value: "Module" }));
|
3185
3186
|
export {
|
3186
3187
|
Is as S,
|
3187
3188
|
cn as T,
|
3188
|
-
|
3189
|
+
Ps as i
|
3189
3190
|
};
|