@springmicro/auth 0.7.19 → 0.7.21
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/{Index-1e31d199-uzuBdtPJ.js → Index-1e31d199-BXGGyb0l.js} +48 -48
- package/dist/{Index-6078f122-DLKGZ31_.js → Index-6078f122-DGZJdnAZ.js} +67 -67
- package/dist/{Web3Auth-Zi4vzALJ.js → Web3Auth-DG8Yz_cD.js} +5884 -5161
- package/dist/{ccip-c78d2f16-DUJGUJJo.js → ccip-c78d2f16-BfTJLflq.js} +2 -2
- package/dist/{hmac-CGR-aDxj.js → hmac-CW2mnXa8.js} +1 -1
- package/dist/{index-021f6a62-DBObZnNM.js → index-021f6a62-CxfpndDE.js} +32 -32
- package/dist/{index-40a497ea-BEwImqwN.js → index-40a497ea-BRLn4BDo.js} +3 -3
- package/dist/index-B51q7F_W.js +9742 -0
- package/dist/{index-BrtZvnd0.js → index-BXvsDp0W.js} +582 -584
- package/dist/{index-B4ilnhZS.js → index-BYJic99M.js} +33 -33
- package/dist/{index-Bu--mwXK.js → index-Bfb6JoQf.js} +9082 -8717
- package/dist/{index-XgTFhms9.js → index-C8R4klyg.js} +27 -27
- package/dist/{index-C8ynRf9-.js → index-CBbDq4vF.js} +3310 -3294
- package/dist/{index-1_Q3geSC.js → index-DbQi7wFl.js} +26 -26
- package/dist/index-hDobpv7u.js +32 -0
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +293 -286
- package/dist/native-FDN9oNjc.js +15 -0
- package/dist/{number-BfxMSPkm.js → number-DvQcSzeP.js} +556 -335
- package/dist/parseEther-C7cmMVOE.js +24 -0
- package/dist/{sha256-JJGtJ2gn.js → sha256-C90UGNQg.js} +8 -7
- package/dist/{transactionRequest-be6a8ea9-_q5BIZxq.js → transactionRequest-be6a8ea9-CCwC71wa.js} +9 -9
- package/package.json +2 -2
- package/dist/index-Cn-_BAwo.js +0 -6151
- package/dist/index-Cw8vH8KI.js +0 -29
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as He,
|
|
1
|
+
import { _ as He, L as Ht, M as Bt, N as Dt, O as Wt, P as Nt, Q as Et, R as Ft, T as Ot, U as Zt, V as Rt, W as Gt, X as Ut, Y as Xt, Z as Yt, $ as pe, a0 as ve, a1 as me, a2 as he, a3 as M, a4 as A, a5 as y, a6 as ae, a7 as ie, a8 as S, a9 as c, aa as Y, ab as h, ac as z, ad as p, ae as te, af as ye, ag as Ce, ah as ee, ai as Qt, aj as F, ak as O, al as Z, am as R, an as Be, ao as ue, ap as Jt, aq as $t, ar as be, as as ze, at as qe, au as fe, av as de, aw as ge, ax as ke, ay as Kt, az as Ae, aA as Ie, aB as j, aC as L, aD as _e, aE as je, aF as De, aG as P, aH as We, aI as Ne, aJ as Ee, aK as At, aL as xt, aM as ce, aN as en, aO as we, aP as Tt, aQ as tn, aR as nn, aS as Mt, aT as rn, aU as $e, aV as St, aW as on, aX as ln, aY as an, aZ as Me, a_ as sn, a$ as It, b0 as cn, b1 as Pt, b2 as dn, b3 as Fe, b4 as un, b5 as Oe, b6 as fn, b7 as Pe, b8 as Ze, b9 as pn, ba as Re, bb as Le, bc as Ge, bd as vn, be as mn, bf as hn, bg as Ue, bh as Ve } from "./Web3Auth-DG8Yz_cD.js";
|
|
2
2
|
var gn = function(e) {
|
|
3
3
|
He(t, e);
|
|
4
4
|
function t(n, r) {
|
|
@@ -137,11 +137,11 @@ var Lt = '<svg width="100%" height="24" viewBox="0 5 24 24" fill="none" xmlns="h
|
|
|
137
137
|
function zn(e) {
|
|
138
138
|
he(e, "svelte-1uqued6", "select.svelte-1uqued6{border:none;background-image:none;background-color:transparent;-webkit-appearance:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;appearance:none;font-size:var(--onboard-font-size-7, var(--font-size-7));line-height:var(--onboard-font-line-height-3, var(--font-line-height-3));transition:width 250ms ease-in-out;background-repeat:no-repeat, repeat;background-position:right 0px top 0px, 0 0;scrollbar-width:none;-ms-overflow-style:none;padding:0 14px 0 0;white-space:nowrap;text-overflow:ellipsis}select.minimized_ac.svelte-1uqued6{min-width:80px;max-width:80px}select.maximized_ac.svelte-1uqued6{width:auto !important}select.svelte-1uqued6:focus{outline:none}span.switching-placeholder.svelte-1uqued6{font-size:var(--onboard-font-size-7, var(--font-size-7));line-height:var(--onboard-font-line-height-3, var(--font-line-height-3));min-width:80px;max-width:80px;padding:0 8px 0 4px}");
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function Qe(e, t, n) {
|
|
141
141
|
const r = e.slice();
|
|
142
142
|
return r[15] = t[n], r;
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function Je(e) {
|
|
145
145
|
let t;
|
|
146
146
|
function n(l, a) {
|
|
147
147
|
return (
|
|
@@ -171,7 +171,7 @@ function $n(e) {
|
|
|
171
171
|
e[6].chains[0],
|
|
172
172
|
/*chains*/
|
|
173
173
|
e[2]
|
|
174
|
-
), r, o = [], l = /* @__PURE__ */ new Map(), a, s, i, f, d, v = n &&
|
|
174
|
+
), r, o = [], l = /* @__PURE__ */ new Map(), a, s, i, f, d, v = n && Ke(e), k = (
|
|
175
175
|
/*chains*/
|
|
176
176
|
e[2]
|
|
177
177
|
);
|
|
@@ -180,7 +180,7 @@ function $n(e) {
|
|
|
180
180
|
g[15].id
|
|
181
181
|
);
|
|
182
182
|
for (let g = 0; g < k.length; g += 1) {
|
|
183
|
-
let m =
|
|
183
|
+
let m = Qe(e, k, g), u = b(m);
|
|
184
184
|
l.set(u, o[g] = xe(u, m));
|
|
185
185
|
}
|
|
186
186
|
return {
|
|
@@ -219,9 +219,9 @@ function $n(e) {
|
|
|
219
219
|
g[6].chains[0],
|
|
220
220
|
/*chains*/
|
|
221
221
|
g[2]
|
|
222
|
-
)), n ? v ? v.p(g, m) : (v =
|
|
222
|
+
)), n ? v ? v.p(g, m) : (v = Ke(g), v.c(), v.m(t, r)) : v && (v.d(1), v = null), m & /*chains, chainIdToLabel*/
|
|
223
223
|
4 && (k = /*chains*/
|
|
224
|
-
g[2], o = At(o, m, b, 1, g, k, l, t, pn, xe, null,
|
|
224
|
+
g[2], o = At(o, m, b, 1, g, k, l, t, pn, xe, null, Qe)), m & /*parentCSSId*/
|
|
225
225
|
16 && a !== (a = Pe(`flex justify-center items-center pointer ${/*parentCSSId*/
|
|
226
226
|
g[4]}`) + " svelte-1uqued6") && p(t, "class", a), m & /*wallet*/
|
|
227
227
|
64 && s !== (s = /*wallet*/
|
|
@@ -275,7 +275,7 @@ function An(e) {
|
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function Ke(e) {
|
|
279
279
|
let t, n = (Le[
|
|
280
280
|
/*wallet*/
|
|
281
281
|
e[6].chains[0].id
|
|
@@ -340,7 +340,7 @@ function xe(e, t) {
|
|
|
340
340
|
function Tn(e) {
|
|
341
341
|
let t, n = (
|
|
342
342
|
/*wallet*/
|
|
343
|
-
e[6] &&
|
|
343
|
+
e[6] && Je(e)
|
|
344
344
|
);
|
|
345
345
|
return {
|
|
346
346
|
c() {
|
|
@@ -351,7 +351,7 @@ function Tn(e) {
|
|
|
351
351
|
},
|
|
352
352
|
p(r, [o]) {
|
|
353
353
|
/*wallet*/
|
|
354
|
-
r[6] ? n ? n.p(r, o) : (n =
|
|
354
|
+
r[6] ? n ? n.p(r, o) : (n = Je(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
|
|
355
355
|
},
|
|
356
356
|
i: R,
|
|
357
357
|
o: R,
|
|
@@ -847,7 +847,7 @@ function Ln(e, t, n) {
|
|
|
847
847
|
await dn(u.provider);
|
|
848
848
|
} catch (_) {
|
|
849
849
|
const { code: w } = _;
|
|
850
|
-
(w ===
|
|
850
|
+
(w === Fe.UNSUPPORTED_METHOD || w === Fe.DOES_NOT_EXIST) && un.next({
|
|
851
851
|
inProgress: !1,
|
|
852
852
|
actionRequired: u.label
|
|
853
853
|
});
|
|
@@ -861,10 +861,10 @@ function Ln(e, t, n) {
|
|
|
861
861
|
700
|
|
862
862
|
);
|
|
863
863
|
}
|
|
864
|
-
const d = (u) => n(3, s = s === u ? "" : u), v = (u) =>
|
|
864
|
+
const d = (u) => n(3, s = s === u ? "" : u), v = (u) => Oe(o, u), k = () => {
|
|
865
865
|
n(3, s = ""), i(o);
|
|
866
866
|
}, b = (u) => {
|
|
867
|
-
n(3, s = ""),
|
|
867
|
+
n(3, s = ""), Oe(o, u);
|
|
868
868
|
}, g = () => {
|
|
869
869
|
n(3, s = ""), Tt({ label: o.label });
|
|
870
870
|
}, m = (u, _, w) => {
|
|
@@ -1234,8 +1234,8 @@ function Yn(e) {
|
|
|
1234
1234
|
token: null,
|
|
1235
1235
|
hasCatch: !1,
|
|
1236
1236
|
pending: er,
|
|
1237
|
-
then:
|
|
1238
|
-
catch:
|
|
1237
|
+
then: Jn,
|
|
1238
|
+
catch: Qn,
|
|
1239
1239
|
value: 4
|
|
1240
1240
|
};
|
|
1241
1241
|
return Ge(n = /*token*/
|
|
@@ -1256,7 +1256,7 @@ function Yn(e) {
|
|
|
1256
1256
|
}
|
|
1257
1257
|
};
|
|
1258
1258
|
}
|
|
1259
|
-
function
|
|
1259
|
+
function Qn(e) {
|
|
1260
1260
|
return {
|
|
1261
1261
|
c: R,
|
|
1262
1262
|
m: R,
|
|
@@ -1266,14 +1266,14 @@ function Jn(e) {
|
|
|
1266
1266
|
d: R
|
|
1267
1267
|
};
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1269
|
+
function Jn(e) {
|
|
1270
1270
|
let t, n, r;
|
|
1271
1271
|
function o(s, i) {
|
|
1272
1272
|
return i & /*secondaryTokens*/
|
|
1273
1273
|
1 && (n = null), n == null && (n = !!mn(
|
|
1274
1274
|
/*iconLoaded*/
|
|
1275
1275
|
s[4]
|
|
1276
|
-
)), n ? xn :
|
|
1276
|
+
)), n ? xn : Kn;
|
|
1277
1277
|
}
|
|
1278
1278
|
let l = o(e, -1), a = l(e);
|
|
1279
1279
|
return {
|
|
@@ -1297,7 +1297,7 @@ function Kn(e) {
|
|
|
1297
1297
|
}
|
|
1298
1298
|
};
|
|
1299
1299
|
}
|
|
1300
|
-
function
|
|
1300
|
+
function Kn(e) {
|
|
1301
1301
|
let t, n;
|
|
1302
1302
|
return {
|
|
1303
1303
|
c() {
|
|
@@ -1544,7 +1544,7 @@ function pt(e) {
|
|
|
1544
1544
|
let t, n, r, o, l = [], a = /* @__PURE__ */ new Map(), s, i, f, d, v, k, b, g, m, u, _, w = (
|
|
1545
1545
|
/*$_*/
|
|
1546
1546
|
e[10]("accountCenter.currentNetwork", { default: P.accountCenter.currentNetwork }) + ""
|
|
1547
|
-
), C, $, I, B, D, H, q, W, U, X,
|
|
1547
|
+
), C, $, I, B, D, H, q, W, U, X, K, ne, re, T, N, x = (
|
|
1548
1548
|
/*$wallets$*/
|
|
1549
1549
|
e[1]
|
|
1550
1550
|
);
|
|
@@ -1608,10 +1608,10 @@ function pt(e) {
|
|
|
1608
1608
|
e[9].hideTransactionProtectionBtn && /*primaryWalletOnMainnet*/
|
|
1609
1609
|
(e[6] || /*validAppChain*/
|
|
1610
1610
|
e[5] && /*validAppChain*/
|
|
1611
|
-
e[5].protectedRpcUrl) && ht(e),
|
|
1611
|
+
e[5].protectedRpcUrl) && ht(e), Q = (
|
|
1612
1612
|
/*$appMetadata$*/
|
|
1613
1613
|
e[11] && gt(e)
|
|
1614
|
-
),
|
|
1614
|
+
), J = (
|
|
1615
1615
|
/*secondaryTokens*/
|
|
1616
1616
|
e[8] && /*secondaryTokens*/
|
|
1617
1617
|
e[8].length && kt(e)
|
|
@@ -1621,7 +1621,7 @@ function pt(e) {
|
|
|
1621
1621
|
t = h("div"), n = h("div"), r = h("div"), o = h("div");
|
|
1622
1622
|
for (let E = 0; E < l.length; E += 1)
|
|
1623
1623
|
l[E].c();
|
|
1624
|
-
s = z(), i = h("div"), se && se.c(), f = z(), d = h("div"), v = h("div"), k = h("div"), Z(b.$$.fragment), g = z(), G && G.c(), m = z(), u = h("div"), _ = h("div"), C = L(w), $ = z(), I = h("div"), Z(B.$$.fragment), D = z(), oe && oe.c(), H = z(), q = h("div"),
|
|
1624
|
+
s = z(), i = h("div"), se && se.c(), f = z(), d = h("div"), v = h("div"), k = h("div"), Z(b.$$.fragment), g = z(), G && G.c(), m = z(), u = h("div"), _ = h("div"), C = L(w), $ = z(), I = h("div"), Z(B.$$.fragment), D = z(), oe && oe.c(), H = z(), q = h("div"), Q && Q.c(), W = z(), J && J.c(), U = z(), X = h("div"), K = h("a"), p(o, "class", "wallets svelte-177u10y"), p(i, "class", "actions flex flex-column items-start svelte-177u10y"), p(r, "class", "p5 svelte-177u10y"), p(k, "class", "relative flex"), p(_, "class", "network-selector-label svelte-177u10y"), p(I, "class", "flex items-center"), _e(I, "width", "100%"), p(u, "class", "network-selector-container svelte-177u10y"), p(v, "class", "network-section flex items-center svelte-177u10y"), p(d, "class", "network-container svelte-177u10y"), ce(
|
|
1625
1625
|
d,
|
|
1626
1626
|
"background-blue",
|
|
1627
1627
|
/*validAppChain*/
|
|
@@ -1635,13 +1635,13 @@ function pt(e) {
|
|
|
1635
1635
|
/*validAppChain*/
|
|
1636
1636
|
e[5] && !/*defaultChainStyles*/
|
|
1637
1637
|
e[7]
|
|
1638
|
-
), p(
|
|
1638
|
+
), p(K, "href", "https://thirdweb.com"), p(K, "target", "_blank"), p(K, "rel", "noopener noreferrer"), p(K, "class", "flex justify-center items-center powered-by-container svelte-177u10y"), p(X, "class", "w100 svelte-177u10y"), p(q, "class", "app-info-container svelte-177u10y"), p(n, "class", "wallets-section svelte-177u10y"), p(t, "class", "outer-container svelte-177u10y");
|
|
1639
1639
|
},
|
|
1640
1640
|
m(E, V) {
|
|
1641
1641
|
S(E, t, V), c(t, n), c(n, r), c(r, o);
|
|
1642
1642
|
for (let le = 0; le < l.length; le += 1)
|
|
1643
1643
|
l[le] && l[le].m(o, null);
|
|
1644
|
-
c(r, s), c(r, i), se && se.m(i, null), c(n, f), c(n, d), c(d, v), c(v, k), O(b, k, null), c(k, g), G && G.m(k, null), c(v, m), c(v, u), c(u, _), c(_, C), c(u, $), c(u, I), O(B, I, null), c(d, D), oe && oe.m(d, null), c(n, H), c(n, q),
|
|
1644
|
+
c(r, s), c(r, i), se && se.m(i, null), c(n, f), c(n, d), c(d, v), c(v, k), O(b, k, null), c(k, g), G && G.m(k, null), c(v, m), c(v, u), c(u, _), c(_, C), c(u, $), c(u, I), O(B, I, null), c(d, D), oe && oe.m(d, null), c(n, H), c(n, q), Q && Q.m(q, null), c(q, W), J && J.m(q, null), c(q, U), c(q, X), c(X, K), K.innerHTML = en, re = !0, T || (N = [
|
|
1645
1645
|
Y(
|
|
1646
1646
|
I,
|
|
1647
1647
|
"click",
|
|
@@ -1659,7 +1659,7 @@ function pt(e) {
|
|
|
1659
1659
|
p(E, V) {
|
|
1660
1660
|
e = E, V[0] & /*$wallets$, hideWalletRowMenu*/
|
|
1661
1661
|
10 && (x = /*$wallets$*/
|
|
1662
|
-
e[1], ae(), l = At(l, V, Te, 1, e, x, a, o,
|
|
1662
|
+
e[1], ae(), l = At(l, V, Te, 1, e, x, a, o, xt, vt, null, dt), ie()), /*device*/
|
|
1663
1663
|
e[17].type === "desktop" && se.p(e, V);
|
|
1664
1664
|
const le = {};
|
|
1665
1665
|
V[0] & /*validAppChain*/
|
|
@@ -1706,21 +1706,21 @@ function pt(e) {
|
|
|
1706
1706
|
e[5] && !/*defaultChainStyles*/
|
|
1707
1707
|
e[7]
|
|
1708
1708
|
), /*$appMetadata$*/
|
|
1709
|
-
e[11] ?
|
|
1710
|
-
2048 && y(
|
|
1711
|
-
|
|
1709
|
+
e[11] ? Q ? (Q.p(e, V), V[0] & /*$appMetadata$*/
|
|
1710
|
+
2048 && y(Q, 1)) : (Q = gt(e), Q.c(), y(Q, 1), Q.m(q, W)) : Q && (ae(), A(Q, 1, 1, () => {
|
|
1711
|
+
Q = null;
|
|
1712
1712
|
}), ie()), /*secondaryTokens*/
|
|
1713
1713
|
e[8] && /*secondaryTokens*/
|
|
1714
|
-
e[8].length ?
|
|
1715
|
-
256 && y(
|
|
1716
|
-
|
|
1714
|
+
e[8].length ? J ? (J.p(e, V), V[0] & /*secondaryTokens*/
|
|
1715
|
+
256 && y(J, 1)) : (J = kt(e), J.c(), y(J, 1), J.m(q, U)) : J && (ae(), A(J, 1, 1, () => {
|
|
1716
|
+
J = null;
|
|
1717
1717
|
}), ie());
|
|
1718
1718
|
},
|
|
1719
1719
|
i(E) {
|
|
1720
1720
|
if (!re) {
|
|
1721
1721
|
for (let V = 0; V < x.length; V += 1)
|
|
1722
1722
|
y(l[V]);
|
|
1723
|
-
y(b.$$.fragment, E), y(G), y(B.$$.fragment, E), y(
|
|
1723
|
+
y(b.$$.fragment, E), y(G), y(B.$$.fragment, E), y(Q), y(J), E && Ae(() => {
|
|
1724
1724
|
re && (ne || (ne = We(
|
|
1725
1725
|
t,
|
|
1726
1726
|
Ee,
|
|
@@ -1741,7 +1741,7 @@ function pt(e) {
|
|
|
1741
1741
|
o(E) {
|
|
1742
1742
|
for (let V = 0; V < l.length; V += 1)
|
|
1743
1743
|
A(l[V]);
|
|
1744
|
-
A(b.$$.fragment, E), A(G), A(B.$$.fragment, E), A(
|
|
1744
|
+
A(b.$$.fragment, E), A(G), A(B.$$.fragment, E), A(Q), A(J), E && (ne || (ne = We(
|
|
1745
1745
|
t,
|
|
1746
1746
|
Ee,
|
|
1747
1747
|
{
|
|
@@ -1760,7 +1760,7 @@ function pt(e) {
|
|
|
1760
1760
|
E && M(t);
|
|
1761
1761
|
for (let V = 0; V < l.length; V += 1)
|
|
1762
1762
|
l[V].d();
|
|
1763
|
-
se && se.d(), F(b), G && G.d(), F(B), oe && oe.d(),
|
|
1763
|
+
se && se.d(), F(b), G && G.d(), F(B), oe && oe.d(), Q && Q.d(), J && J.d(), E && ne && ne.end(), T = !1, ke(N);
|
|
1764
1764
|
}
|
|
1765
1765
|
};
|
|
1766
1766
|
}
|
|
@@ -2159,10 +2159,10 @@ function ir(e, t, n) {
|
|
|
2159
2159
|
let _ = !1, w, C = !1;
|
|
2160
2160
|
const $ = te.select("appMetadata").pipe(ye(te.get().appMetadata), Ce(1));
|
|
2161
2161
|
ee(e, $, (T) => n(11, k = T));
|
|
2162
|
-
const { position: I } = te.get().accountCenter, { device: B } =
|
|
2162
|
+
const { position: I } = te.get().accountCenter, { device: B } = Jt, D = async () => {
|
|
2163
2163
|
if (a)
|
|
2164
2164
|
try {
|
|
2165
|
-
await
|
|
2165
|
+
await tn(r.provider, a, a.protectedRpcUrl || nn), n(4, C = !1);
|
|
2166
2166
|
} catch (T) {
|
|
2167
2167
|
const { code: N } = T;
|
|
2168
2168
|
console.log(T, N);
|
|
@@ -2175,7 +2175,7 @@ function ir(e, t, n) {
|
|
|
2175
2175
|
function X(T) {
|
|
2176
2176
|
w = T, n(3, w);
|
|
2177
2177
|
}
|
|
2178
|
-
const
|
|
2178
|
+
const K = () => rn(), ne = () => n(2, _ = !0), re = () => n(4, C = !0);
|
|
2179
2179
|
return e.$$set = (T) => {
|
|
2180
2180
|
"expanded" in T && n(0, b = T.expanded);
|
|
2181
2181
|
}, e.$$.update = () => {
|
|
@@ -2213,7 +2213,7 @@ function ir(e, t, n) {
|
|
|
2213
2213
|
W,
|
|
2214
2214
|
U,
|
|
2215
2215
|
X,
|
|
2216
|
-
|
|
2216
|
+
K,
|
|
2217
2217
|
ne,
|
|
2218
2218
|
re
|
|
2219
2219
|
];
|
|
@@ -2302,7 +2302,7 @@ function cr(e) {
|
|
|
2302
2302
|
e[6]
|
|
2303
2303
|
)
|
|
2304
2304
|
)) + ""
|
|
2305
|
-
), u, _, w, C, $, I, B, D, H, q, W, U, X,
|
|
2305
|
+
), u, _, w, C, $, I, B, D, H, q, W, U, X, K, ne, re;
|
|
2306
2306
|
l = new be({
|
|
2307
2307
|
props: {
|
|
2308
2308
|
size: 32,
|
|
@@ -2383,7 +2383,7 @@ function cr(e) {
|
|
|
2383
2383
|
e[4] ? "--account-center-minimized-chain-select-background, var(--primary-100)" : "--account-center-minimized-chain-select-background-warning, var(--warning-100)"})`), p(C, "class", "network"), p(n, "class", "inner-row svelte-1xsvwqj"), p(t, "class", "ac-trigger svelte-1xsvwqj");
|
|
2384
2384
|
},
|
|
2385
2385
|
m(N, x) {
|
|
2386
|
-
S(N, t, x), c(t, n), c(n, r), c(r, o), O(l, o, null), c(r, a), c(r, s), O(i, s, null), c(r, f), c(r, d), O(v, d, null), c(n, k), c(n, b), c(b, g), c(g, u), c(b, _), T && T.m(b, null), c(n, w), c(n, C), c(C, $), c($, I), c(I, B), O(D, B, null), c(I, H), O(q, I, null),
|
|
2386
|
+
S(N, t, x), c(t, n), c(n, r), c(r, o), O(l, o, null), c(r, a), c(r, s), O(i, s, null), c(r, f), c(r, d), O(v, d, null), c(n, k), c(n, b), c(b, g), c(g, u), c(b, _), T && T.m(b, null), c(n, w), c(n, C), c(C, $), c($, I), c(I, B), O(D, B, null), c(I, H), O(q, I, null), K = !0, ne || (re = [
|
|
2387
2387
|
Y($, "click", fe(
|
|
2388
2388
|
/*click_handler*/
|
|
2389
2389
|
e[15]
|
|
@@ -2409,7 +2409,7 @@ function cr(e) {
|
|
|
2409
2409
|
e[1] ? (
|
|
2410
2410
|
/*primaryWallet*/
|
|
2411
2411
|
e[1].icon
|
|
2412
|
-
) : ""), i.$set(se), (!
|
|
2412
|
+
) : ""), i.$set(se), (!K || x & /*ensName, unsName, shortenedFirstAddress*/
|
|
2413
2413
|
448) && m !== (m = /*ensName*/
|
|
2414
2414
|
(e[8] ? de(
|
|
2415
2415
|
/*ensName*/
|
|
@@ -2446,18 +2446,18 @@ function cr(e) {
|
|
|
2446
2446
|
e[4].icon || /*defaultChainStyles*/
|
|
2447
2447
|
e[3] && /*defaultChainStyles*/
|
|
2448
2448
|
e[3].icon || ge.icon
|
|
2449
|
-
) : Se), D.$set(G), (!
|
|
2449
|
+
) : Se), D.$set(G), (!K || x & /*validAppChain*/
|
|
2450
2450
|
16 && W !== (W = `border-color: var(${/*validAppChain*/
|
|
2451
2451
|
e[4] ? "--onboard-primary-200, var(--primary-200)" : "--onboard-warning-500, var(--warning-500)"}); background-color: var(${/*validAppChain*/
|
|
2452
2452
|
e[4] ? "--account-center-minimized-chain-select-background, var(--primary-100)" : "--account-center-minimized-chain-select-background-warning, var(--warning-100)"})`)) && p($, "style", W);
|
|
2453
2453
|
},
|
|
2454
2454
|
i(N) {
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
}),
|
|
2455
|
+
K || (y(l.$$.fragment, N), y(i.$$.fragment, N), y(v.$$.fragment, N), y(T), y(D.$$.fragment, N), y(q.$$.fragment, N), N && Ae(() => {
|
|
2456
|
+
K && (X && X.end(1), U = Ie(t, $e, { duration: 250 }), U.start());
|
|
2457
|
+
}), K = !0);
|
|
2458
2458
|
},
|
|
2459
2459
|
o(N) {
|
|
2460
|
-
A(l.$$.fragment, N), A(i.$$.fragment, N), A(v.$$.fragment, N), A(D.$$.fragment, N), A(q.$$.fragment, N), U && U.invalidate(), X =
|
|
2460
|
+
A(l.$$.fragment, N), A(i.$$.fragment, N), A(v.$$.fragment, N), A(D.$$.fragment, N), A(q.$$.fragment, N), U && U.invalidate(), X = Kt(t, $e, { duration: 100 }), K = !1;
|
|
2461
2461
|
},
|
|
2462
2462
|
d(N) {
|
|
2463
2463
|
N && M(t), F(l), F(i), F(v), T && T.d(), F(D), F(q), N && X && X.end(), ne = !1, ke(re);
|
|
@@ -2798,7 +2798,7 @@ function _r(e) {
|
|
|
2798
2798
|
function wr(e, t, n) {
|
|
2799
2799
|
let r, o = !1;
|
|
2800
2800
|
const l = te.select("accountCenter").pipe(ye(te.get().accountCenter), Ce(1));
|
|
2801
|
-
ee(e, l, (i) => n(1, r = i)),
|
|
2801
|
+
ee(e, l, (i) => n(1, r = i)), Qt(a);
|
|
2802
2802
|
function a() {
|
|
2803
2803
|
r.expanded && (Be({ expanded: !1 }), n(0, o = !1));
|
|
2804
2804
|
}
|