@upcoming/multichain-widget 0.2.0 → 0.3.0
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/README.md +54 -8
- package/dist/{add-BrehTFvW.mjs → add-DKTOrhmM.mjs} +1 -1
- package/dist/{all-wallets-BttebWF1.mjs → all-wallets-aYzIazvp.mjs} +1 -1
- package/dist/{app-store-BLAI-64m.mjs → app-store-CKrxMlxU.mjs} +1 -1
- package/dist/{apple-CkU5V0mT.mjs → apple-CJFbfjqC.mjs} +1 -1
- package/dist/{ar_AR-CTNWGWSS-B2yhhasT.mjs → ar_AR-44JUQ6EW-DZr8TU0E.mjs} +85 -25
- package/dist/{arrow-bottom-V8TkUmV_.mjs → arrow-bottom-6hVe7wm0.mjs} +1 -1
- package/dist/{arrow-bottom-circle-DCcOe409.mjs → arrow-bottom-circle-_rfKaesm.mjs} +1 -1
- package/dist/{arrow-left-DbARP9YM.mjs → arrow-left-vFsMFs5X.mjs} +1 -1
- package/dist/{arrow-right-DutHXxu2.mjs → arrow-right-DNmCe1hl.mjs} +1 -1
- package/dist/{arrow-top-DGUXC4sF.mjs → arrow-top-3kV0--PO.mjs} +1 -1
- package/dist/{bank-Z2AjnoUe.mjs → bank-UC0Wo-M3.mjs} +1 -1
- package/dist/baseAccount-44UITRK7-BPWMYfgK.mjs +4 -0
- package/dist/{basic-CKWB0bPc.mjs → basic-Dr7uchAM.mjs} +72 -77
- package/dist/{browser-C8Zo2jMt.mjs → browser-DIrq4E9X.mjs} +1 -1
- package/dist/{card-DgFV79d8.mjs → card-DyGXQ_xB.mjs} +1 -1
- package/dist/{ccip-Cosn6-Eb.mjs → ccip-CdYPmLxY.mjs} +1 -1
- package/dist/{checkmark-D3KdCJPR.mjs → checkmark-DDFrz950.mjs} +1 -1
- package/dist/{checkmark-bold-BtoVinWE.mjs → checkmark-bold-BlZK2WdM.mjs} +1 -1
- package/dist/{chevron-bottom-B6D6HIAF.mjs → chevron-bottom-DjQbReGh.mjs} +1 -1
- package/dist/{chevron-left-DAfZud_B.mjs → chevron-left-2vPMoi5c.mjs} +1 -1
- package/dist/{chevron-right-DI0SBP0U.mjs → chevron-right-YWtBje-5.mjs} +1 -1
- package/dist/{chevron-top-BX91kGkc.mjs → chevron-top-DKmWxpPJ.mjs} +1 -1
- package/dist/{chrome-store-C6rHeCDE.mjs → chrome-store-uwPUSaie.mjs} +1 -1
- package/dist/{clock-CHuMgbzE.mjs → clock-BkMC4mPm.mjs} +1 -1
- package/dist/{close-Bb5OTH4S.mjs → close-CMJ1Hqmj.mjs} +1 -1
- package/dist/{coinPlaceholder-ELOmgyFh.mjs → coinPlaceholder-Bf8G7kLI.mjs} +1 -1
- package/dist/{compass-cqODy4xd.mjs → compass-C1Z0-p-N.mjs} +1 -1
- package/dist/{copy-CO5egQvD.mjs → copy-DxCof3yl.mjs} +1 -1
- package/dist/{core-CrknhIf6.mjs → core-BSjxlOS1.mjs} +2890 -3401
- package/dist/{cursor-BSOFA4LV.mjs → cursor-T-6Bjeul.mjs} +1 -1
- package/dist/{cursor-transparent-Dc-loLaQ.mjs → cursor-transparent-BjMsPQO7.mjs} +1 -1
- package/dist/{de_DE-P43L3PR7-CtO9uiNS.mjs → de_DE-PYAO5YD6-DRiWndek.mjs} +81 -21
- package/dist/{desktop-BAaUFdNH.mjs → desktop-DfO5SLm6.mjs} +1 -1
- package/dist/{disconnect-vF4IKSHO.mjs → disconnect-eMvwMOmY.mjs} +1 -1
- package/dist/{discord-CSZjBhGd.mjs → discord-COTxDMht.mjs} +1 -1
- package/dist/en_US-Y4ZOVFV4-D0OdwtbY.mjs +4 -0
- package/dist/{es_419-JBX5FS3Q-hWy9nCEf.mjs → es_419-HRGOJ6VT-Bb7kiWEN.mjs} +85 -25
- package/dist/{etherscan-XImDgyDP.mjs → etherscan-5t_QMu3H.mjs} +1 -1
- package/dist/{exclamation-triangle-BI6Tf1GF.mjs → exclamation-triangle-CUSwVJ4f.mjs} +1 -1
- package/dist/{extension-Ctv_vE80.mjs → extension-DHr5hKWR.mjs} +1 -1
- package/dist/{external-link-CqTeG_a2.mjs → external-link-D9dw6uW7.mjs} +1 -1
- package/dist/{facebook-CuurhwRz.mjs → facebook-Dh1MaE-D.mjs} +1 -1
- package/dist/{farcaster-D2TgEJM-.mjs → farcaster-BwHBSUHq.mjs} +1 -1
- package/dist/{filters-BibfMif_.mjs → filters-Ci9_-8gk.mjs} +1 -1
- package/dist/{fr_FR-CM2EDAQC-B_30pesA.mjs → fr_FR-IGGVC6RM-Kc8NKbgI.mjs} +85 -25
- package/dist/{github-BhX7tsvv.mjs → github-D-aswXYW.mjs} +1 -1
- package/dist/{google-8BNvR9U4.mjs → google-Cg2bg_u1.mjs} +1 -1
- package/dist/{help-circle-B9sSbcDf.mjs → help-circle-Bf77TB4n.mjs} +1 -1
- package/dist/{hi_IN-GYVCUYRD-BaP4Kv7X.mjs → hi_IN-XSKAA3MF-DvyeO32P.mjs} +84 -24
- package/dist/{id-DLMCEcaq.mjs → id-AZ2aaL73.mjs} +1 -1
- package/dist/{id_ID-7ZWSMOOE-Dmml3uJR.mjs → id_ID-KUOB4UAL-CvWLNQ5n.mjs} +82 -22
- package/dist/{image-1t__ZCnj.mjs → image-DN24oYU5.mjs} +1 -1
- package/dist/{index-DPVnnxUf.mjs → index-CI8DqE6i.mjs} +29 -29
- package/dist/{index-AJ4LjRId.mjs → index-Cow4wrLS.mjs} +2 -2
- package/dist/{index-CDycEtm4.mjs → index-CpY9bbaW.mjs} +143 -188
- package/dist/index-D6iw71H8.mjs +8122 -0
- package/dist/{index-DnnVQoIv.mjs → index-S7ky17PZ.mjs} +33776 -28146
- package/dist/{index-DhCSttFR.mjs → index-sJo3KuR-.mjs} +30 -30
- package/dist/{index.es-DFZl-EwA.mjs → index.es-C3Qo-3Ux.mjs} +3128 -3414
- package/dist/{info-DhHjj_3x.mjs → info-D8HP_HFm.mjs} +1 -1
- package/dist/{info-circle-C8wsNN5M.mjs → info-circle-DU5yWmbI.mjs} +1 -1
- package/dist/{ja_JP-CGMP6VLZ-k1qEQOBd.mjs → ja_JP-4WRQ63RX-BSsyVYkC.mjs} +84 -24
- package/dist/{ko_KR-YCZDTF7X-N5e302Ee.mjs → ko_KR-I2K7AIEP-BMvlvp6c.mjs} +86 -26
- package/dist/{lightbulb-B_PS6DcO.mjs → lightbulb-B1sLPMar.mjs} +1 -1
- package/dist/{mail-B7axU5Xw.mjs → mail-zyLW0GA2.mjs} +1 -1
- package/dist/{metamask-sdk-CthhXhsM.mjs → metamask-sdk-B9LkT1MT.mjs} +4382 -4059
- package/dist/{mobile-D3DgKwPz.mjs → mobile-BVHS3wgS.mjs} +1 -1
- package/dist/monad-4KWC6TSS-Bme_0Zcf.mjs +4 -0
- package/dist/{more-B8gdS4xC.mjs → more-CRMgNmQB.mjs} +1 -1
- package/dist/{ms_MY-5LHAYMS7-DXUqJsVQ.mjs → ms_MY-6VZW6Q3Z-C_wmMLsb.mjs} +81 -21
- package/dist/multichain-widget.css +1 -1
- package/dist/multichain-widget.es.js +2 -2
- package/dist/multichain-widget.umd.js +2132 -1141
- package/dist/{network-placeholder-DFLcYc2X.mjs → network-placeholder-DJZa7rha.mjs} +1 -1
- package/dist/{nftPlaceholder-BkzIrkPD.mjs → nftPlaceholder-Q9oiORp0.mjs} +1 -1
- package/dist/{off-1uaczYnX.mjs → off-CAr43_hg.mjs} +1 -1
- package/dist/{play-store-CZwdlRHs.mjs → play-store-CV-rgkWN.mjs} +1 -1
- package/dist/{plus-BXrDhZ6F.mjs → plus-BN0_SE4g.mjs} +1 -1
- package/dist/primitives/Button.d.ts +2 -1
- package/dist/primitives/NumberInput.d.ts +5 -7
- package/dist/{pt_BR-3JTS4PSK-BcqTSqXX.mjs → pt_BR-N3XOZ4SV-BeWb5NJg.mjs} +81 -21
- package/dist/{qr-code-DjZWfgjy.mjs → qr-code-BVi76DFP.mjs} +1 -1
- package/dist/{recycle-horizontal-CMDq_YWn.mjs → recycle-horizontal-BcRw_UNP.mjs} +1 -1
- package/dist/{refresh-DZYbWvSf.mjs → refresh-DJ3BZaaj.mjs} +1 -1
- package/dist/{reown-logo-D2WOILrf.mjs → reown-logo-CCWTtbuu.mjs} +1 -1
- package/dist/{ru_RU-6J6XERHI-NHs582yY.mjs → ru_RU-IITAPRET-DRURjjb_.mjs} +87 -27
- package/dist/{search-CF1JKVFc.mjs → search-o94pc9rb.mjs} +1 -1
- package/dist/{secp256k1-DT1-AJc_.mjs → secp256k1-VpNRZe_5.mjs} +1 -7
- package/dist/{send-DZtc81ub.mjs → send-Bhav5IN3.mjs} +1 -1
- package/dist/{swapHorizontal-DXuqBEXr.mjs → swapHorizontal-Cl_oieI4.mjs} +1 -1
- package/dist/{swapHorizontalBold-BjnuFjis.mjs → swapHorizontalBold-BCBblPoZ.mjs} +1 -1
- package/dist/{swapHorizontalMedium-C0Sky0e3.mjs → swapHorizontalMedium-Dyqzi3S6.mjs} +1 -1
- package/dist/{swapHorizontalRoundedBold-CBQfe_y6.mjs → swapHorizontalRoundedBold-pDaj9vii.mjs} +1 -1
- package/dist/{swapVertical-DTVgJsH-.mjs → swapVertical-BNmp3Dzg.mjs} +1 -1
- package/dist/{telegram-BVgHuTyG.mjs → telegram-BnQwQL76.mjs} +1 -1
- package/dist/{th_TH-STXOD4CR-BIfWqO2o.mjs → th_TH-3ZQCKCQE-nFsMfjJa.mjs} +84 -24
- package/dist/{three-dots-D7pV2nat.mjs → three-dots-CKbCNNgf.mjs} +1 -1
- package/dist/{tr_TR-P7QAUUZU-eG8PiHRZ.mjs → tr_TR-QUPUGMUF-DF0OeGUb.mjs} +85 -25
- package/dist/{twitch-CdRkUhGf.mjs → twitch-CzO4NbKk.mjs} +1 -1
- package/dist/{twitterIcon-BETBNrDY.mjs → twitterIcon-CveQoc1B.mjs} +1 -1
- package/dist/{uk_UA-JTTBGJGQ-Dr7NKTT4.mjs → uk_UA-SSN6SV5E-Bb4huhf1.mjs} +82 -22
- package/dist/{verify-CXAzjGWH.mjs → verify-CK4nN_ws.mjs} +1 -1
- package/dist/{verify-filled-BlE8voQq.mjs → verify-filled-DyAcfygi.mjs} +1 -1
- package/dist/{vi_VN-5XUUAVWW-DDODReq8.mjs → vi_VN-7BUVRNYY-PCI3QRx7.mjs} +81 -21
- package/dist/{w3m-modal-CG29eCWL.mjs → w3m-modal-vt_J_1rX.mjs} +6 -6
- package/dist/{wallet-B-xMu7jQ.mjs → wallet-aWN31O_F.mjs} +1 -1
- package/dist/{wallet-placeholder-CoGcunNL.mjs → wallet-placeholder-DY6aHfJB.mjs} +1 -1
- package/dist/{walletconnect-CyVjg5gL.mjs → walletconnect-CbYhWFVg.mjs} +1 -1
- package/dist/{warning-circle-C8ofFjJI.mjs → warning-circle-CXIUoCj7.mjs} +1 -1
- package/dist/{x-DqfWMmqo.mjs → x-Dne6OfNb.mjs} +1 -1
- package/dist/{zh_CN-RGMLPFEP-CTX3PM0F.mjs → zh_CN-HJBN674C-Bo2gNwt5.mjs} +83 -23
- package/dist/{zh_HK-YM3T6EI5-DZjb_17i.mjs → zh_HK-JW3WLRKE-BY2ft2ew.mjs} +81 -21
- package/dist/{zh_TW-HAEH6VE5-BOq1c4Vl.mjs → zh_TW-VNNRNXY7-CyIPkoVZ.mjs} +81 -21
- package/package.json +2 -2
- package/dist/browser-3VflZ6uC.mjs +0 -308
- package/dist/coinbaseWallet-OKXU3TRC-5iCQMeiP.mjs +0 -4
- package/dist/en_US-RFN65H63-m5rZZid-.mjs +0 -4
- package/dist/hooks.module-CsKUm6iL.mjs +0 -487
- package/dist/index-BXBhh-ik.mjs +0 -13987
- package/dist/index-BkQ3H0JB.mjs +0 -9170
- package/dist/index-CYj_i5FF.mjs +0 -48
- package/dist/secp256k1-wj3Jx4RV.mjs +0 -1509
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as u, c as P, o as E, r as _, U as he, e as
|
|
3
|
-
import { o as Ei } from "./index-
|
|
1
|
+
import { i as N, e as G, r as q, c as O, d as c, k as M, n as z, O as ee, q as j, E as te, R as U, z as Me, g as K, B as k, D as ft, t as Ci, W as pt, C as Zt, h as yn, T as en, m as Xe, M as oi, F as ri, w as Ne, x as xn, f as Ri } from "./core-BSjxlOS1.mjs";
|
|
2
|
+
import { n as u, c as P, o as E, r as _, U as he, e as $i, f as _i, a as Ii } from "./index-CpY9bbaW.mjs";
|
|
3
|
+
import { o as Ei } from "./index-S7ky17PZ.mjs";
|
|
4
4
|
const Wi = N`
|
|
5
5
|
:host {
|
|
6
6
|
position: relative;
|
|
@@ -2040,7 +2040,7 @@ var Ui = function(r, e, n, i) {
|
|
|
2040
2040
|
else for (var s = r.length - 1; s >= 0; s--) (a = r[s]) && (t = (o < 3 ? a(t) : o > 3 ? a(e, n, t) : a(e, n)) || t);
|
|
2041
2041
|
return o > 3 && t && Object.defineProperty(e, n, t), t;
|
|
2042
2042
|
};
|
|
2043
|
-
let
|
|
2043
|
+
let Rn = class extends V {
|
|
2044
2044
|
constructor() {
|
|
2045
2045
|
if (super(), !this.wallet)
|
|
2046
2046
|
throw new Error("w3m-connecting-wc-browser: No wallet provided");
|
|
@@ -2072,16 +2072,16 @@ let $n = class extends V {
|
|
|
2072
2072
|
}
|
|
2073
2073
|
}
|
|
2074
2074
|
};
|
|
2075
|
-
|
|
2075
|
+
Rn = Ui([
|
|
2076
2076
|
P("w3m-connecting-wc-browser")
|
|
2077
|
-
],
|
|
2077
|
+
], Rn);
|
|
2078
2078
|
var qi = function(r, e, n, i) {
|
|
2079
2079
|
var o = arguments.length, t = o < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, n) : i, a;
|
|
2080
2080
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t = Reflect.decorate(r, e, n, i);
|
|
2081
2081
|
else for (var s = r.length - 1; s >= 0; s--) (a = r[s]) && (t = (o < 3 ? a(t) : o > 3 ? a(e, n, t) : a(e, n)) || t);
|
|
2082
2082
|
return o > 3 && t && Object.defineProperty(e, n, t), t;
|
|
2083
2083
|
};
|
|
2084
|
-
let
|
|
2084
|
+
let $n = class extends V {
|
|
2085
2085
|
constructor() {
|
|
2086
2086
|
if (super(), !this.wallet)
|
|
2087
2087
|
throw new Error("w3m-connecting-wc-desktop: No wallet provided");
|
|
@@ -2105,9 +2105,9 @@ let Rn = class extends V {
|
|
|
2105
2105
|
}
|
|
2106
2106
|
}
|
|
2107
2107
|
};
|
|
2108
|
-
|
|
2108
|
+
$n = qi([
|
|
2109
2109
|
P("w3m-connecting-wc-desktop")
|
|
2110
|
-
],
|
|
2110
|
+
], $n);
|
|
2111
2111
|
var je = function(r, e, n, i) {
|
|
2112
2112
|
var o = arguments.length, t = o < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, n) : i, a;
|
|
2113
2113
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t = Reflect.decorate(r, e, n, i);
|
|
@@ -3388,11 +3388,11 @@ function so() {
|
|
|
3388
3388
|
for (let C = 0; C < m.length; C++) {
|
|
3389
3389
|
const T = m[C], I = [];
|
|
3390
3390
|
for (let y = 0; y < T.length; y++) {
|
|
3391
|
-
const L = T[y],
|
|
3392
|
-
I.push(
|
|
3391
|
+
const L = T[y], R = "" + C + y;
|
|
3392
|
+
I.push(R), b[R] = { node: L, lastCount: 0 }, f[R] = {};
|
|
3393
3393
|
for (let B = 0; B < D.length; B++) {
|
|
3394
|
-
const
|
|
3395
|
-
b[
|
|
3394
|
+
const $ = D[B];
|
|
3395
|
+
b[$] && b[$].node.mode === L.mode ? (f[$][R] = x(b[$].lastCount + L.length, L.mode) - x(b[$].lastCount, L.mode), b[$].lastCount += L.length) : (b[$] && (b[$].lastCount = L.length), f[$][R] = x(L.length, L.mode) + 4 + e.getCharCountIndicator(L.mode, g));
|
|
3396
3396
|
}
|
|
3397
3397
|
}
|
|
3398
3398
|
D = I;
|
|
@@ -3442,11 +3442,11 @@ function lo() {
|
|
|
3442
3442
|
function p(C, T) {
|
|
3443
3443
|
const I = C.size, y = t.getPositions(T);
|
|
3444
3444
|
for (let L = 0; L < y.length; L++) {
|
|
3445
|
-
const
|
|
3446
|
-
for (let
|
|
3447
|
-
if (!(
|
|
3445
|
+
const R = y[L][0], B = y[L][1];
|
|
3446
|
+
for (let $ = -1; $ <= 7; $++)
|
|
3447
|
+
if (!(R + $ <= -1 || I <= R + $))
|
|
3448
3448
|
for (let A = -1; A <= 7; A++)
|
|
3449
|
-
B + A <= -1 || I <= B + A || (
|
|
3449
|
+
B + A <= -1 || I <= B + A || ($ >= 0 && $ <= 6 && (A === 0 || A === 6) || A >= 0 && A <= 6 && ($ === 0 || $ === 6) || $ >= 2 && $ <= 4 && A >= 2 && A <= 4 ? C.set(R + $, B + A, !0, !0) : C.set(R + $, B + A, !1, !0));
|
|
3450
3450
|
}
|
|
3451
3451
|
}
|
|
3452
3452
|
function W(C) {
|
|
@@ -3459,34 +3459,34 @@ function lo() {
|
|
|
3459
3459
|
function v(C, T) {
|
|
3460
3460
|
const I = o.getPositions(T);
|
|
3461
3461
|
for (let y = 0; y < I.length; y++) {
|
|
3462
|
-
const L = I[y][0],
|
|
3462
|
+
const L = I[y][0], R = I[y][1];
|
|
3463
3463
|
for (let B = -2; B <= 2; B++)
|
|
3464
|
-
for (let
|
|
3465
|
-
B === -2 || B === 2 ||
|
|
3464
|
+
for (let $ = -2; $ <= 2; $++)
|
|
3465
|
+
B === -2 || B === 2 || $ === -2 || $ === 2 || B === 0 && $ === 0 ? C.set(L + B, R + $, !0, !0) : C.set(L + B, R + $, !1, !0);
|
|
3466
3466
|
}
|
|
3467
3467
|
}
|
|
3468
3468
|
function S(C, T) {
|
|
3469
3469
|
const I = C.size, y = d.getEncodedBits(T);
|
|
3470
|
-
let L,
|
|
3471
|
-
for (let
|
|
3472
|
-
L = Math.floor(
|
|
3470
|
+
let L, R, B;
|
|
3471
|
+
for (let $ = 0; $ < 18; $++)
|
|
3472
|
+
L = Math.floor($ / 3), R = $ % 3 + I - 8 - 3, B = (y >> $ & 1) === 1, C.set(L, R, B, !0), C.set(R, L, B, !0);
|
|
3473
3473
|
}
|
|
3474
3474
|
function m(C, T, I) {
|
|
3475
3475
|
const y = C.size, L = h.getEncodedBits(T, I);
|
|
3476
|
-
let
|
|
3477
|
-
for (
|
|
3478
|
-
B = (L >>
|
|
3476
|
+
let R, B;
|
|
3477
|
+
for (R = 0; R < 15; R++)
|
|
3478
|
+
B = (L >> R & 1) === 1, R < 6 ? C.set(R, 8, B, !0) : R < 8 ? C.set(R + 1, 8, B, !0) : C.set(y - 15 + R, 8, B, !0), R < 8 ? C.set(8, y - R - 1, B, !0) : R < 9 ? C.set(8, 15 - R - 1 + 1, B, !0) : C.set(8, 15 - R - 1, B, !0);
|
|
3479
3479
|
C.set(y - 8, 8, 1, !0);
|
|
3480
3480
|
}
|
|
3481
3481
|
function g(C, T) {
|
|
3482
3482
|
const I = C.size;
|
|
3483
|
-
let y = -1, L = I - 1,
|
|
3484
|
-
for (let
|
|
3485
|
-
for (
|
|
3483
|
+
let y = -1, L = I - 1, R = 7, B = 0;
|
|
3484
|
+
for (let $ = I - 1; $ > 0; $ -= 2)
|
|
3485
|
+
for ($ === 6 && $--; ; ) {
|
|
3486
3486
|
for (let A = 0; A < 2; A++)
|
|
3487
|
-
if (!C.isReserved(L,
|
|
3487
|
+
if (!C.isReserved(L, $ - A)) {
|
|
3488
3488
|
let we = !1;
|
|
3489
|
-
B < T.length && (we = (T[B] >>>
|
|
3489
|
+
B < T.length && (we = (T[B] >>> R & 1) === 1), C.set(L, $ - A, we), R--, R === -1 && (B++, R = 7);
|
|
3490
3490
|
}
|
|
3491
3491
|
if (L += y, L < 0 || I <= L) {
|
|
3492
3492
|
L -= y, y = -y;
|
|
@@ -3499,33 +3499,33 @@ function lo() {
|
|
|
3499
3499
|
I.forEach(function(A) {
|
|
3500
3500
|
y.put(A.mode.bit, 4), y.put(A.getLength(), w.getCharCountIndicator(A.mode, C)), A.write(y);
|
|
3501
3501
|
});
|
|
3502
|
-
const L = r.getSymbolTotalCodewords(C),
|
|
3502
|
+
const L = r.getSymbolTotalCodewords(C), R = s.getTotalCodewordsCount(C, T), B = (L - R) * 8;
|
|
3503
3503
|
for (y.getLengthInBits() + 4 <= B && y.put(0, 4); y.getLengthInBits() % 8 !== 0; )
|
|
3504
3504
|
y.putBit(0);
|
|
3505
|
-
const
|
|
3506
|
-
for (let A = 0; A <
|
|
3505
|
+
const $ = (B - y.getLengthInBits()) / 8;
|
|
3506
|
+
for (let A = 0; A < $; A++)
|
|
3507
3507
|
y.put(A % 2 ? 17 : 236, 8);
|
|
3508
3508
|
return f(y, C, T);
|
|
3509
3509
|
}
|
|
3510
3510
|
function f(C, T, I) {
|
|
3511
|
-
const y = r.getSymbolTotalCodewords(T), L = s.getTotalCodewordsCount(T, I),
|
|
3511
|
+
const y = r.getSymbolTotalCodewords(T), L = s.getTotalCodewordsCount(T, I), R = y - L, B = s.getBlocksCount(T, I), $ = y % B, A = B - $, we = Math.floor(y / B), De = Math.floor(R / B), vi = De + 1, mn = we - De, yi = new l(mn);
|
|
3512
3512
|
let Ct = 0;
|
|
3513
3513
|
const Je = new Array(B), bn = new Array(B);
|
|
3514
|
-
let
|
|
3514
|
+
let Rt = 0;
|
|
3515
3515
|
const xi = new Uint8Array(C.buffer);
|
|
3516
3516
|
for (let Se = 0; Se < B; Se++) {
|
|
3517
3517
|
const _t = Se < A ? De : vi;
|
|
3518
|
-
Je[Se] = xi.slice(Ct, Ct + _t), bn[Se] = yi.encode(Je[Se]), Ct += _t,
|
|
3518
|
+
Je[Se] = xi.slice(Ct, Ct + _t), bn[Se] = yi.encode(Je[Se]), Ct += _t, Rt = Math.max(Rt, _t);
|
|
3519
3519
|
}
|
|
3520
|
-
const
|
|
3520
|
+
const $t = new Uint8Array(y);
|
|
3521
3521
|
let vn = 0, ce, ue;
|
|
3522
|
-
for (ce = 0; ce <
|
|
3522
|
+
for (ce = 0; ce < Rt; ce++)
|
|
3523
3523
|
for (ue = 0; ue < B; ue++)
|
|
3524
|
-
ce < Je[ue].length && (
|
|
3524
|
+
ce < Je[ue].length && ($t[vn++] = Je[ue][ce]);
|
|
3525
3525
|
for (ce = 0; ce < mn; ce++)
|
|
3526
3526
|
for (ue = 0; ue < B; ue++)
|
|
3527
|
-
|
|
3528
|
-
return
|
|
3527
|
+
$t[vn++] = bn[ue][ce];
|
|
3528
|
+
return $t;
|
|
3529
3529
|
}
|
|
3530
3530
|
function D(C, T, I, y) {
|
|
3531
3531
|
let L;
|
|
@@ -3540,19 +3540,19 @@ function lo() {
|
|
|
3540
3540
|
L = x.fromString(C, we || 40);
|
|
3541
3541
|
} else
|
|
3542
3542
|
throw new Error("Invalid data");
|
|
3543
|
-
const
|
|
3544
|
-
if (
|
|
3543
|
+
const R = d.getBestVersionForData(L, I);
|
|
3544
|
+
if (!R)
|
|
3545
3545
|
throw new Error("The amount of data is too big to be stored in a QR Code");
|
|
3546
3546
|
if (!T)
|
|
3547
|
-
T =
|
|
3548
|
-
else if (T <
|
|
3547
|
+
T = R;
|
|
3548
|
+
else if (T < R)
|
|
3549
3549
|
throw new Error(
|
|
3550
3550
|
`
|
|
3551
3551
|
The chosen QR Code version cannot contain this amount of data.
|
|
3552
|
-
Minimum version required to store current data is: ` +
|
|
3552
|
+
Minimum version required to store current data is: ` + R + `.
|
|
3553
3553
|
`
|
|
3554
3554
|
);
|
|
3555
|
-
const B = b(T, I, L),
|
|
3555
|
+
const B = b(T, I, L), $ = r.getSymbolSize(T), A = new i($);
|
|
3556
3556
|
return p(A, T), W(A), v(A, T), m(A, I, 0), T >= 7 && S(A, T), g(A, B), isNaN(y) && (y = a.getBestMask(
|
|
3557
3557
|
A,
|
|
3558
3558
|
m.bind(null, A, I)
|
|
@@ -3567,8 +3567,8 @@ Minimum version required to store current data is: ` + $ + `.
|
|
|
3567
3567
|
return Wt.create = function(T, I) {
|
|
3568
3568
|
if (typeof T > "u" || T === "")
|
|
3569
3569
|
throw new Error("No input text");
|
|
3570
|
-
let y = e.M, L,
|
|
3571
|
-
return typeof I < "u" && (y = e.from(I.errorCorrectionLevel, e.M), L = d.from(I.version),
|
|
3570
|
+
let y = e.M, L, R;
|
|
3571
|
+
return typeof I < "u" && (y = e.from(I.errorCorrectionLevel, e.M), L = d.from(I.version), R = a.from(I.maskPattern), I.toSJISFunc && r.setToSJISFunction(I.toSJISFunc)), D(T, L, y, R);
|
|
3572
3572
|
}, Wt;
|
|
3573
3573
|
}
|
|
3574
3574
|
var Gt = {}, Yt = {}, Jn;
|
|
@@ -3957,7 +3957,7 @@ var He = function(r, e, n, i) {
|
|
|
3957
3957
|
else for (var s = r.length - 1; s >= 0; s--) (a = r[s]) && (t = (o < 3 ? a(t) : o > 3 ? a(e, n, t) : a(e, n)) || t);
|
|
3958
3958
|
return o > 3 && t && Object.defineProperty(e, n, t), t;
|
|
3959
3959
|
};
|
|
3960
|
-
let
|
|
3960
|
+
let Re = class extends O {
|
|
3961
3961
|
constructor() {
|
|
3962
3962
|
super(...arguments), this.width = "", this.height = "", this.borderRadius = "m", this.variant = "default";
|
|
3963
3963
|
}
|
|
@@ -3969,22 +3969,22 @@ let $e = class extends O {
|
|
|
3969
3969
|
`, c`<slot></slot>`;
|
|
3970
3970
|
}
|
|
3971
3971
|
};
|
|
3972
|
-
|
|
3972
|
+
Re.styles = [yo];
|
|
3973
3973
|
He([
|
|
3974
3974
|
u()
|
|
3975
|
-
],
|
|
3975
|
+
], Re.prototype, "width", void 0);
|
|
3976
3976
|
He([
|
|
3977
3977
|
u()
|
|
3978
|
-
],
|
|
3978
|
+
], Re.prototype, "height", void 0);
|
|
3979
3979
|
He([
|
|
3980
3980
|
u()
|
|
3981
|
-
],
|
|
3981
|
+
], Re.prototype, "borderRadius", void 0);
|
|
3982
3982
|
He([
|
|
3983
3983
|
u()
|
|
3984
|
-
],
|
|
3985
|
-
|
|
3984
|
+
], Re.prototype, "variant", void 0);
|
|
3985
|
+
Re = He([
|
|
3986
3986
|
P("wui-shimmer")
|
|
3987
|
-
],
|
|
3987
|
+
], Re);
|
|
3988
3988
|
const xo = "https://reown.com", Co = N`
|
|
3989
3989
|
.reown-logo {
|
|
3990
3990
|
height: var(--wui-spacing-xxl);
|
|
@@ -3999,7 +3999,7 @@ const xo = "https://reown.com", Co = N`
|
|
|
3999
3999
|
opacity: 0.9;
|
|
4000
4000
|
}
|
|
4001
4001
|
`;
|
|
4002
|
-
var
|
|
4002
|
+
var Ro = function(r, e, n, i) {
|
|
4003
4003
|
var o = arguments.length, t = o < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, n) : i, a;
|
|
4004
4004
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t = Reflect.decorate(r, e, n, i);
|
|
4005
4005
|
else for (var s = r.length - 1; s >= 0; s--) (a = r[s]) && (t = (o < 3 ? a(t) : o > 3 ? a(e, n, t) : a(e, n)) || t);
|
|
@@ -4029,10 +4029,10 @@ let tn = class extends O {
|
|
|
4029
4029
|
}
|
|
4030
4030
|
};
|
|
4031
4031
|
tn.styles = [q, G, Co];
|
|
4032
|
-
tn =
|
|
4032
|
+
tn = Ro([
|
|
4033
4033
|
P("wui-ux-by-reown")
|
|
4034
4034
|
], tn);
|
|
4035
|
-
const
|
|
4035
|
+
const $o = N`
|
|
4036
4036
|
@keyframes fadein {
|
|
4037
4037
|
from {
|
|
4038
4038
|
opacity: 0;
|
|
@@ -4125,7 +4125,7 @@ let nn = class extends V {
|
|
|
4125
4125
|
</wui-link>`;
|
|
4126
4126
|
}
|
|
4127
4127
|
};
|
|
4128
|
-
nn.styles =
|
|
4128
|
+
nn.styles = $o;
|
|
4129
4129
|
nn = _o([
|
|
4130
4130
|
P("w3m-connecting-wc-qrcode")
|
|
4131
4131
|
], nn);
|
|
@@ -4346,15 +4346,10 @@ pi([
|
|
|
4346
4346
|
rn = pi([
|
|
4347
4347
|
P("w3m-connecting-wc-basic-view")
|
|
4348
4348
|
], rn);
|
|
4349
|
-
/**
|
|
4350
|
-
* @license
|
|
4351
|
-
* Copyright 2020 Google LLC
|
|
4352
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4353
|
-
*/
|
|
4354
4349
|
const pn = () => new Eo();
|
|
4355
4350
|
class Eo {
|
|
4356
4351
|
}
|
|
4357
|
-
const Xt = /* @__PURE__ */ new WeakMap(), gn =
|
|
4352
|
+
const Xt = /* @__PURE__ */ new WeakMap(), gn = $i(class extends _i {
|
|
4358
4353
|
render(r) {
|
|
4359
4354
|
return xn;
|
|
4360
4355
|
}
|
|
@@ -4473,7 +4468,7 @@ let lt = class extends O {
|
|
|
4473
4468
|
}));
|
|
4474
4469
|
}
|
|
4475
4470
|
};
|
|
4476
|
-
lt.styles = [q, G,
|
|
4471
|
+
lt.styles = [q, G, Ri, Wo];
|
|
4477
4472
|
gi([
|
|
4478
4473
|
u({ type: Boolean })
|
|
4479
4474
|
], lt.prototype, "checked", void 0);
|
|
@@ -5101,7 +5096,7 @@ var Ye = function(r, e, n, i) {
|
|
|
5101
5096
|
else for (var s = r.length - 1; s >= 0; s--) (a = r[s]) && (t = (o < 3 ? a(t) : o > 3 ? a(e, n, t) : a(e, n)) || t);
|
|
5102
5097
|
return o > 3 && t && Object.defineProperty(e, n, t), t;
|
|
5103
5098
|
};
|
|
5104
|
-
let
|
|
5099
|
+
let $e = class extends O {
|
|
5105
5100
|
constructor() {
|
|
5106
5101
|
super(), this.observer = new IntersectionObserver(() => {
|
|
5107
5102
|
}), this.visible = !1, this.imageSrc = void 0, this.imageLoading = !1, this.wallet = void 0, this.observer = new IntersectionObserver((e) => {
|
|
@@ -5152,22 +5147,22 @@ let Re = class extends O {
|
|
|
5152
5147
|
this.wallet && (this.imageSrc = K.getWalletImage(this.wallet), !this.imageSrc && (this.imageLoading = !0, this.imageSrc = await K.fetchWalletImage(this.wallet.image_id), this.imageLoading = !1));
|
|
5153
5148
|
}
|
|
5154
5149
|
};
|
|
5155
|
-
|
|
5150
|
+
$e.styles = ko;
|
|
5156
5151
|
Ye([
|
|
5157
5152
|
_()
|
|
5158
|
-
],
|
|
5153
|
+
], $e.prototype, "visible", void 0);
|
|
5159
5154
|
Ye([
|
|
5160
5155
|
_()
|
|
5161
|
-
],
|
|
5156
|
+
], $e.prototype, "imageSrc", void 0);
|
|
5162
5157
|
Ye([
|
|
5163
5158
|
_()
|
|
5164
|
-
],
|
|
5159
|
+
], $e.prototype, "imageLoading", void 0);
|
|
5165
5160
|
Ye([
|
|
5166
5161
|
u()
|
|
5167
|
-
],
|
|
5168
|
-
|
|
5162
|
+
], $e.prototype, "wallet", void 0);
|
|
5163
|
+
$e = Ye([
|
|
5169
5164
|
P("w3m-all-wallets-list-item")
|
|
5170
|
-
],
|
|
5165
|
+
], $e);
|
|
5171
5166
|
const Do = N`
|
|
5172
5167
|
wui-grid {
|
|
5173
5168
|
max-height: clamp(360px, 400px, 80vh);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as R, b as E, f as x, H as y, h as M } from "./index-
|
|
1
|
+
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as R, b as E, f as x, H as y, h as M } from "./index-S7ky17PZ.mjs";
|
|
2
2
|
class S extends p {
|
|
3
3
|
constructor({ callbackSelector: s, cause: e, data: o, extraData: n, sender: c, urls: t }) {
|
|
4
4
|
super(e.shortMessage || "An error occurred while fetching for an offchain result.", {
|