@ecency/wallets 1.3.19 → 1.3.20
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/ecency-sdk.es.js +1103 -1103
- package/package.json +1 -1
package/dist/ecency-sdk.es.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { CONFIG as $e, getAccountFullQueryOptions as _t, getQueryClient as Ne, getDynamicPropsQueryOptions as cr, Keychain as
|
|
1
|
+
import { CONFIG as $e, getAccountFullQueryOptions as _t, getQueryClient as Ne, getDynamicPropsQueryOptions as cr, Keychain as Lt, useBroadcastMutation as l0, EcencyAnalytics as lc, getAccessToken as d0, useAccountUpdate as p0 } from "@ecency/sdk";
|
|
2
2
|
import { useQuery as Wt, queryOptions as it, infiniteQueryOptions as Lr, useQueryClient as dn, useMutation as Jt } from "@tanstack/react-query";
|
|
3
|
-
import
|
|
4
|
-
import { LRUCache as
|
|
5
|
-
import { BtcWallet as
|
|
6
|
-
import { EthWallet as
|
|
7
|
-
import { TrxWallet as
|
|
8
|
-
import { TonWallet as
|
|
9
|
-
import { SolWallet as
|
|
10
|
-
import { AptosWallet as
|
|
11
|
-
import { bip32 as
|
|
3
|
+
import b0, { mnemonicToSeedSync as dc } from "bip39";
|
|
4
|
+
import { LRUCache as y0 } from "lru-cache";
|
|
5
|
+
import { BtcWallet as g0, buildPsbt as v0 } from "@okxweb3/coin-bitcoin";
|
|
6
|
+
import { EthWallet as m0 } from "@okxweb3/coin-ethereum";
|
|
7
|
+
import { TrxWallet as _0 } from "@okxweb3/coin-tron";
|
|
8
|
+
import { TonWallet as w0 } from "@okxweb3/coin-ton";
|
|
9
|
+
import { SolWallet as x0 } from "@okxweb3/coin-solana";
|
|
10
|
+
import { AptosWallet as E0 } from "@okxweb3/coin-aptos";
|
|
11
|
+
import { bip32 as S0 } from "@okxweb3/crypto-lib";
|
|
12
12
|
import { PrivateKey as zt, utils as $t } from "@hiveio/dhive";
|
|
13
|
-
import
|
|
13
|
+
import pc from "crypto";
|
|
14
14
|
import Fr from "dayjs";
|
|
15
15
|
import pt from "hivesigner";
|
|
16
|
-
import { useCallback as
|
|
16
|
+
import { useCallback as A0 } from "react";
|
|
17
17
|
import * as Kt from "remeda";
|
|
18
|
-
const
|
|
19
|
-
typeof
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function
|
|
28
|
-
typeof
|
|
18
|
+
const Dt = globalThis;
|
|
19
|
+
if (typeof Dt._scrypt_bsv < "u") {
|
|
20
|
+
typeof Dt._scrypt_bsv == "string" && (Dt.__scryptBsvPreviousVersion = Dt._scrypt_bsv);
|
|
21
|
+
try {
|
|
22
|
+
delete Dt._scrypt_bsv;
|
|
23
|
+
} catch {
|
|
24
|
+
Dt._scrypt_bsv = void 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function I0() {
|
|
28
|
+
typeof Dt._scrypt_bsv == "string" && (Dt.__scryptBsvPreviousVersion = Dt._scrypt_bsv);
|
|
29
29
|
}
|
|
30
30
|
var ke = /* @__PURE__ */ ((i) => (i.BTC = "BTC", i.ETH = "ETH", i.BNB = "BNB", i.APT = "APT", i.TON = "TON", i.TRON = "TRX", i.SOL = "SOL", i))(ke || {}), ut = /* @__PURE__ */ ((i) => (i.Points = "POINTS", i.HivePower = "HP", i.Hive = "HIVE", i.HiveDollar = "HBD", i.Spk = "SPK", i))(ut || {});
|
|
31
|
-
const
|
|
31
|
+
const B0 = {
|
|
32
32
|
[ke.BTC]: "btc",
|
|
33
33
|
[ke.ETH]: "eth",
|
|
34
34
|
[ke.BNB]: "bnb",
|
|
@@ -37,7 +37,7 @@ const T0 = {
|
|
|
37
37
|
[ke.TON]: "ton",
|
|
38
38
|
[ke.APT]: "apt"
|
|
39
39
|
};
|
|
40
|
-
function
|
|
40
|
+
function T0(i) {
|
|
41
41
|
if (typeof i == "number") {
|
|
42
42
|
if (!Number.isFinite(i))
|
|
43
43
|
throw new Error("Private API returned a non-finite numeric balance");
|
|
@@ -51,7 +51,7 @@ function R0(i) {
|
|
|
51
51
|
}
|
|
52
52
|
throw new Error("Private API returned balance in an unexpected format");
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function R0(i, h) {
|
|
55
55
|
if (!i || typeof i != "object")
|
|
56
56
|
throw new Error("Private API returned an unexpected response");
|
|
57
57
|
const { chain: b, balance: y, unit: s, raw: a, nodeId: p } = i;
|
|
@@ -61,7 +61,7 @@ function M0(i, h) {
|
|
|
61
61
|
throw new Error("Private API response is missing unit information");
|
|
62
62
|
if (y == null)
|
|
63
63
|
throw new Error("Private API response is missing balance information");
|
|
64
|
-
const f =
|
|
64
|
+
const f = T0(y);
|
|
65
65
|
let l;
|
|
66
66
|
try {
|
|
67
67
|
l = BigInt(f);
|
|
@@ -77,11 +77,11 @@ function M0(i, h) {
|
|
|
77
77
|
balanceString: f
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Lp(i, h) {
|
|
81
81
|
return Wt({
|
|
82
82
|
queryKey: ["ecency-wallets", "external-wallet-balance", i, h],
|
|
83
83
|
queryFn: async () => {
|
|
84
|
-
const b =
|
|
84
|
+
const b = B0[i];
|
|
85
85
|
if (!b)
|
|
86
86
|
throw new Error(`Unsupported currency ${i}`);
|
|
87
87
|
if (!$e.privateApiHost)
|
|
@@ -121,17 +121,17 @@ function kp(i, h) {
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
const f = await p.json();
|
|
124
|
-
return
|
|
124
|
+
return R0(f, b);
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function bc(i) {
|
|
129
129
|
return Wt({
|
|
130
130
|
queryKey: ["ecency-wallets", "seed", i],
|
|
131
|
-
queryFn: async () =>
|
|
131
|
+
queryFn: async () => b0.generateMnemonic(128)
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
const
|
|
134
|
+
const M0 = {
|
|
135
135
|
max: 500,
|
|
136
136
|
// how long to live in ms
|
|
137
137
|
ttl: 1e3 * 60 * 5,
|
|
@@ -139,11 +139,11 @@ const P0 = {
|
|
|
139
139
|
allowStale: !1,
|
|
140
140
|
updateAgeOnGet: !1,
|
|
141
141
|
updateAgeOnHas: !1
|
|
142
|
-
},
|
|
143
|
-
const h =
|
|
142
|
+
}, yc = new y0(M0), vo = Symbol("undefined"), P0 = (i, h) => yc.set(i, h === void 0 ? vo : h), F0 = (i) => {
|
|
143
|
+
const h = yc.get(i);
|
|
144
144
|
return h === vo ? void 0 : h;
|
|
145
145
|
};
|
|
146
|
-
function
|
|
146
|
+
function kp(i) {
|
|
147
147
|
return Wt({
|
|
148
148
|
queryKey: ["ecency-wallets", "coingecko-price", i],
|
|
149
149
|
queryFn: async () => {
|
|
@@ -164,7 +164,7 @@ function Cp(i) {
|
|
|
164
164
|
default:
|
|
165
165
|
h = i;
|
|
166
166
|
}
|
|
167
|
-
let b =
|
|
167
|
+
let b = F0("gecko"), y;
|
|
168
168
|
if (b)
|
|
169
169
|
y = b;
|
|
170
170
|
else {
|
|
@@ -180,46 +180,46 @@ function Cp(i) {
|
|
|
180
180
|
})
|
|
181
181
|
}
|
|
182
182
|
)).json();
|
|
183
|
-
|
|
183
|
+
P0("gecko", p === void 0 ? vo : p), y = p;
|
|
184
184
|
}
|
|
185
185
|
return 1 / +y[Object.keys(y)[0]].usd;
|
|
186
186
|
},
|
|
187
187
|
enabled: !!i
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function gc(i) {
|
|
191
191
|
return new Promise((h) => setTimeout(h, i));
|
|
192
192
|
}
|
|
193
193
|
function mo(i) {
|
|
194
194
|
switch (i) {
|
|
195
195
|
case ke.BTC:
|
|
196
|
-
return new
|
|
196
|
+
return new g0();
|
|
197
197
|
case ke.ETH:
|
|
198
198
|
case ke.BNB:
|
|
199
|
-
return new
|
|
199
|
+
return new m0();
|
|
200
200
|
case ke.TRON:
|
|
201
|
-
return new
|
|
201
|
+
return new _0();
|
|
202
202
|
case ke.TON:
|
|
203
|
-
return new
|
|
203
|
+
return new w0();
|
|
204
204
|
case ke.SOL:
|
|
205
|
-
return new
|
|
205
|
+
return new x0();
|
|
206
206
|
case ke.APT:
|
|
207
|
-
return new
|
|
207
|
+
return new E0();
|
|
208
208
|
default:
|
|
209
209
|
return;
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
return
|
|
212
|
+
function Cp(i) {
|
|
213
|
+
return dc(i).toString("hex");
|
|
214
214
|
}
|
|
215
|
-
const
|
|
215
|
+
const O0 = {
|
|
216
216
|
owner: 0,
|
|
217
217
|
active: 1,
|
|
218
218
|
posting: 2,
|
|
219
219
|
memo: 3
|
|
220
220
|
};
|
|
221
221
|
function Hr(i, h, b = 0) {
|
|
222
|
-
const y =
|
|
222
|
+
const y = dc(i), s = S0.fromSeed(y), a = `m/44'/3054'/${b}'/0'/${O0[h]}'`, p = s.derivePath(a);
|
|
223
223
|
if (!p.privateKey)
|
|
224
224
|
throw new Error("[Ecency][Wallets] - hive key derivation failed");
|
|
225
225
|
const f = zt.from(p.privateKey);
|
|
@@ -228,7 +228,7 @@ function Hr(i, h, b = 0) {
|
|
|
228
228
|
publicKey: f.createPublic().toString()
|
|
229
229
|
};
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function vc(i, h = 0) {
|
|
232
232
|
const b = Hr(i, "owner", h), y = Hr(i, "active", h), s = Hr(i, "posting", h), a = Hr(i, "memo", h);
|
|
233
233
|
return {
|
|
234
234
|
owner: b.privateKey,
|
|
@@ -248,7 +248,7 @@ function $r(i, h, b) {
|
|
|
248
248
|
publicKey: y.createPublic().toString()
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function N0(i, h) {
|
|
252
252
|
const b = $r(i, h, "owner"), y = $r(i, h, "active"), s = $r(
|
|
253
253
|
i,
|
|
254
254
|
h,
|
|
@@ -265,14 +265,14 @@ function D0(i, h) {
|
|
|
265
265
|
memoPubkey: a.publicKey
|
|
266
266
|
};
|
|
267
267
|
}
|
|
268
|
-
async function
|
|
268
|
+
async function D0(i, h, b = "active") {
|
|
269
269
|
await $e.queryClient.prefetchQuery(_t(i));
|
|
270
270
|
const y = $e.queryClient.getQueryData(
|
|
271
271
|
_t(i).queryKey
|
|
272
272
|
);
|
|
273
273
|
if (!y)
|
|
274
274
|
throw new Error(`[Ecency][Wallets] - account ${i} not found`);
|
|
275
|
-
const a =
|
|
275
|
+
const a = vc(h).activePubkey;
|
|
276
276
|
if (y.active.key_auths.some(
|
|
277
277
|
([n]) => n.toString() === a
|
|
278
278
|
))
|
|
@@ -282,16 +282,16 @@ async function q0(i, h, b = "active") {
|
|
|
282
282
|
([n]) => n.toString() === f
|
|
283
283
|
) ? "master-password" : "unknown";
|
|
284
284
|
}
|
|
285
|
-
var
|
|
286
|
-
pn.byteLength =
|
|
287
|
-
pn.toByteArray =
|
|
288
|
-
pn.fromByteArray =
|
|
289
|
-
var Pt = [], mt = [],
|
|
290
|
-
for (var rr = 0,
|
|
285
|
+
var mc = {}, pn = {};
|
|
286
|
+
pn.byteLength = k0;
|
|
287
|
+
pn.toByteArray = U0;
|
|
288
|
+
pn.fromByteArray = V0;
|
|
289
|
+
var Pt = [], mt = [], q0 = typeof Uint8Array < "u" ? Uint8Array : Array, Sn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
290
|
+
for (var rr = 0, L0 = Sn.length; rr < L0; ++rr)
|
|
291
291
|
Pt[rr] = Sn[rr], mt[Sn.charCodeAt(rr)] = rr;
|
|
292
292
|
mt[45] = 62;
|
|
293
293
|
mt[95] = 63;
|
|
294
|
-
function
|
|
294
|
+
function _c(i) {
|
|
295
295
|
var h = i.length;
|
|
296
296
|
if (h % 4 > 0)
|
|
297
297
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
@@ -300,30 +300,30 @@ function wc(i) {
|
|
|
300
300
|
var y = b === h ? 0 : 4 - b % 4;
|
|
301
301
|
return [b, y];
|
|
302
302
|
}
|
|
303
|
-
function
|
|
304
|
-
var h =
|
|
303
|
+
function k0(i) {
|
|
304
|
+
var h = _c(i), b = h[0], y = h[1];
|
|
305
305
|
return (b + y) * 3 / 4 - y;
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function C0(i, h, b) {
|
|
308
308
|
return (h + b) * 3 / 4 - b;
|
|
309
309
|
}
|
|
310
|
-
function
|
|
311
|
-
var h, b =
|
|
310
|
+
function U0(i) {
|
|
311
|
+
var h, b = _c(i), y = b[0], s = b[1], a = new q0(C0(i, y, s)), p = 0, f = s > 0 ? y - 4 : y, l;
|
|
312
312
|
for (l = 0; l < f; l += 4)
|
|
313
313
|
h = mt[i.charCodeAt(l)] << 18 | mt[i.charCodeAt(l + 1)] << 12 | mt[i.charCodeAt(l + 2)] << 6 | mt[i.charCodeAt(l + 3)], a[p++] = h >> 16 & 255, a[p++] = h >> 8 & 255, a[p++] = h & 255;
|
|
314
314
|
return s === 2 && (h = mt[i.charCodeAt(l)] << 2 | mt[i.charCodeAt(l + 1)] >> 4, a[p++] = h & 255), s === 1 && (h = mt[i.charCodeAt(l)] << 10 | mt[i.charCodeAt(l + 1)] << 4 | mt[i.charCodeAt(l + 2)] >> 2, a[p++] = h >> 8 & 255, a[p++] = h & 255), a;
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function j0(i) {
|
|
317
317
|
return Pt[i >> 18 & 63] + Pt[i >> 12 & 63] + Pt[i >> 6 & 63] + Pt[i & 63];
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function z0(i, h, b) {
|
|
320
320
|
for (var y, s = [], a = h; a < b; a += 3)
|
|
321
|
-
y = (i[a] << 16 & 16711680) + (i[a + 1] << 8 & 65280) + (i[a + 2] & 255), s.push(
|
|
321
|
+
y = (i[a] << 16 & 16711680) + (i[a + 1] << 8 & 65280) + (i[a + 2] & 255), s.push(j0(y));
|
|
322
322
|
return s.join("");
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function V0(i) {
|
|
325
325
|
for (var h, b = i.length, y = b % 3, s = [], a = 16383, p = 0, f = b - y; p < f; p += a)
|
|
326
|
-
s.push(
|
|
326
|
+
s.push(z0(i, p, p + a > f ? f : p + a));
|
|
327
327
|
return y === 1 ? (h = i[b - 1], s.push(
|
|
328
328
|
Pt[h >> 2] + Pt[h << 4 & 63] + "=="
|
|
329
329
|
)) : y === 2 && (h = (i[b - 2] << 8) + i[b - 1], s.push(
|
|
@@ -1300,17 +1300,17 @@ _o.write = function(i, h, b, y, s, a) {
|
|
|
1300
1300
|
function De() {
|
|
1301
1301
|
throw new Error("BigInt not supported");
|
|
1302
1302
|
}
|
|
1303
|
-
})(
|
|
1304
|
-
const Ke =
|
|
1305
|
-
function
|
|
1303
|
+
})(mc);
|
|
1304
|
+
const Ke = mc.Buffer;
|
|
1305
|
+
function jp(i, h) {
|
|
1306
1306
|
const b = zt.fromString(h), y = typeof i == "string" ? Ke.from(i, "hex") : i;
|
|
1307
1307
|
return b.sign(y).toString();
|
|
1308
1308
|
}
|
|
1309
1309
|
var yt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, An = {};
|
|
1310
|
-
function
|
|
1310
|
+
function H0(i) {
|
|
1311
1311
|
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
|
|
1312
1312
|
}
|
|
1313
|
-
var
|
|
1313
|
+
var wc = { exports: {} }, st = wc.exports = {}, Rt, Mt;
|
|
1314
1314
|
function po() {
|
|
1315
1315
|
throw new Error("setTimeout has not been defined");
|
|
1316
1316
|
}
|
|
@@ -1329,7 +1329,7 @@ function bo() {
|
|
|
1329
1329
|
Mt = bo;
|
|
1330
1330
|
}
|
|
1331
1331
|
})();
|
|
1332
|
-
function
|
|
1332
|
+
function xc(i) {
|
|
1333
1333
|
if (Rt === setTimeout)
|
|
1334
1334
|
return setTimeout(i, 0);
|
|
1335
1335
|
if ((Rt === po || !Rt) && setTimeout)
|
|
@@ -1344,7 +1344,7 @@ function Ec(i) {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
1347
|
-
function
|
|
1347
|
+
function $0(i) {
|
|
1348
1348
|
if (Mt === clearTimeout)
|
|
1349
1349
|
return clearTimeout(i);
|
|
1350
1350
|
if ((Mt === bo || !Mt) && clearTimeout)
|
|
@@ -1359,20 +1359,20 @@ function K0(i) {
|
|
|
1359
1359
|
}
|
|
1360
1360
|
}
|
|
1361
1361
|
}
|
|
1362
|
-
var
|
|
1363
|
-
function
|
|
1364
|
-
!ur || !Gt || (ur = !1, Gt.length ?
|
|
1362
|
+
var qt = [], ur = !1, Gt, fn = -1;
|
|
1363
|
+
function K0() {
|
|
1364
|
+
!ur || !Gt || (ur = !1, Gt.length ? qt = Gt.concat(qt) : fn = -1, qt.length && Ec());
|
|
1365
1365
|
}
|
|
1366
|
-
function
|
|
1366
|
+
function Ec() {
|
|
1367
1367
|
if (!ur) {
|
|
1368
|
-
var i =
|
|
1368
|
+
var i = xc(K0);
|
|
1369
1369
|
ur = !0;
|
|
1370
|
-
for (var h =
|
|
1371
|
-
for (Gt =
|
|
1370
|
+
for (var h = qt.length; h; ) {
|
|
1371
|
+
for (Gt = qt, qt = []; ++fn < h; )
|
|
1372
1372
|
Gt && Gt[fn].run();
|
|
1373
|
-
fn = -1, h =
|
|
1373
|
+
fn = -1, h = qt.length;
|
|
1374
1374
|
}
|
|
1375
|
-
Gt = null, ur = !1,
|
|
1375
|
+
Gt = null, ur = !1, $0(i);
|
|
1376
1376
|
}
|
|
1377
1377
|
}
|
|
1378
1378
|
st.nextTick = function(i) {
|
|
@@ -1380,12 +1380,12 @@ st.nextTick = function(i) {
|
|
|
1380
1380
|
if (arguments.length > 1)
|
|
1381
1381
|
for (var b = 1; b < arguments.length; b++)
|
|
1382
1382
|
h[b - 1] = arguments[b];
|
|
1383
|
-
|
|
1383
|
+
qt.push(new Sc(i, h)), qt.length === 1 && !ur && xc(Ec);
|
|
1384
1384
|
};
|
|
1385
|
-
function
|
|
1385
|
+
function Sc(i, h) {
|
|
1386
1386
|
this.fun = i, this.array = h;
|
|
1387
1387
|
}
|
|
1388
|
-
|
|
1388
|
+
Sc.prototype.run = function() {
|
|
1389
1389
|
this.fun.apply(null, this.array);
|
|
1390
1390
|
};
|
|
1391
1391
|
st.title = "browser";
|
|
@@ -1394,17 +1394,17 @@ st.env = {};
|
|
|
1394
1394
|
st.argv = [];
|
|
1395
1395
|
st.version = "";
|
|
1396
1396
|
st.versions = {};
|
|
1397
|
-
function
|
|
1398
|
-
}
|
|
1399
|
-
st.on =
|
|
1400
|
-
st.addListener =
|
|
1401
|
-
st.once =
|
|
1402
|
-
st.off =
|
|
1403
|
-
st.removeListener =
|
|
1404
|
-
st.removeAllListeners =
|
|
1405
|
-
st.emit =
|
|
1406
|
-
st.prependListener =
|
|
1407
|
-
st.prependOnceListener =
|
|
1397
|
+
function kt() {
|
|
1398
|
+
}
|
|
1399
|
+
st.on = kt;
|
|
1400
|
+
st.addListener = kt;
|
|
1401
|
+
st.once = kt;
|
|
1402
|
+
st.off = kt;
|
|
1403
|
+
st.removeListener = kt;
|
|
1404
|
+
st.removeAllListeners = kt;
|
|
1405
|
+
st.emit = kt;
|
|
1406
|
+
st.prependListener = kt;
|
|
1407
|
+
st.prependOnceListener = kt;
|
|
1408
1408
|
st.listeners = function(i) {
|
|
1409
1409
|
return [];
|
|
1410
1410
|
};
|
|
@@ -1420,11 +1420,11 @@ st.chdir = function(i) {
|
|
|
1420
1420
|
st.umask = function() {
|
|
1421
1421
|
return 0;
|
|
1422
1422
|
};
|
|
1423
|
-
var
|
|
1424
|
-
const Le = /* @__PURE__ */
|
|
1425
|
-
var In = { exports: {} }, Bn = {}, Tn = {}, Rn = {}, Mn,
|
|
1423
|
+
var G0 = wc.exports;
|
|
1424
|
+
const Le = /* @__PURE__ */ H0(G0);
|
|
1425
|
+
var In = { exports: {} }, Bn = {}, Tn = {}, Rn = {}, Mn, Uo;
|
|
1426
1426
|
function wo() {
|
|
1427
|
-
return
|
|
1427
|
+
return Uo || (Uo = 1, Mn = function() {
|
|
1428
1428
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
1429
1429
|
return !1;
|
|
1430
1430
|
if (typeof Symbol.iterator == "symbol")
|
|
@@ -1452,95 +1452,95 @@ function wo() {
|
|
|
1452
1452
|
return !0;
|
|
1453
1453
|
}), Mn;
|
|
1454
1454
|
}
|
|
1455
|
-
var Pn,
|
|
1455
|
+
var Pn, jo;
|
|
1456
1456
|
function bn() {
|
|
1457
|
-
if (
|
|
1458
|
-
|
|
1457
|
+
if (jo) return Pn;
|
|
1458
|
+
jo = 1;
|
|
1459
1459
|
var i = wo();
|
|
1460
1460
|
return Pn = function() {
|
|
1461
1461
|
return i() && !!Symbol.toStringTag;
|
|
1462
1462
|
}, Pn;
|
|
1463
1463
|
}
|
|
1464
|
-
var Fn,
|
|
1464
|
+
var Fn, zo;
|
|
1465
1465
|
function xo() {
|
|
1466
|
-
return
|
|
1466
|
+
return zo || (zo = 1, Fn = Object), Fn;
|
|
1467
1467
|
}
|
|
1468
|
-
var On,
|
|
1468
|
+
var On, Vo;
|
|
1469
|
+
function Y0() {
|
|
1470
|
+
return Vo || (Vo = 1, On = Error), On;
|
|
1471
|
+
}
|
|
1472
|
+
var Nn, Ho;
|
|
1469
1473
|
function W0() {
|
|
1470
|
-
return Ho || (Ho = 1,
|
|
1474
|
+
return Ho || (Ho = 1, Nn = EvalError), Nn;
|
|
1471
1475
|
}
|
|
1472
|
-
var
|
|
1476
|
+
var Dn, $o;
|
|
1473
1477
|
function J0() {
|
|
1474
|
-
return $o || ($o = 1,
|
|
1478
|
+
return $o || ($o = 1, Dn = RangeError), Dn;
|
|
1475
1479
|
}
|
|
1476
|
-
var
|
|
1480
|
+
var qn, Ko;
|
|
1477
1481
|
function Q0() {
|
|
1478
|
-
return Ko || (Ko = 1,
|
|
1479
|
-
}
|
|
1480
|
-
var qn, Go;
|
|
1481
|
-
function Z0() {
|
|
1482
|
-
return Go || (Go = 1, qn = ReferenceError), qn;
|
|
1482
|
+
return Ko || (Ko = 1, qn = ReferenceError), qn;
|
|
1483
1483
|
}
|
|
1484
|
-
var Ln,
|
|
1485
|
-
function
|
|
1486
|
-
return
|
|
1484
|
+
var Ln, Go;
|
|
1485
|
+
function Ac() {
|
|
1486
|
+
return Go || (Go = 1, Ln = SyntaxError), Ln;
|
|
1487
1487
|
}
|
|
1488
|
-
var kn,
|
|
1488
|
+
var kn, Yo;
|
|
1489
1489
|
function kr() {
|
|
1490
|
-
return
|
|
1490
|
+
return Yo || (Yo = 1, kn = TypeError), kn;
|
|
1491
1491
|
}
|
|
1492
|
-
var Cn,
|
|
1492
|
+
var Cn, Wo;
|
|
1493
|
+
function Z0() {
|
|
1494
|
+
return Wo || (Wo = 1, Cn = URIError), Cn;
|
|
1495
|
+
}
|
|
1496
|
+
var Un, Jo;
|
|
1493
1497
|
function X0() {
|
|
1494
|
-
return Jo || (Jo = 1,
|
|
1498
|
+
return Jo || (Jo = 1, Un = Math.abs), Un;
|
|
1495
1499
|
}
|
|
1496
|
-
var
|
|
1500
|
+
var jn, Qo;
|
|
1497
1501
|
function eh() {
|
|
1498
|
-
return Qo || (Qo = 1,
|
|
1502
|
+
return Qo || (Qo = 1, jn = Math.floor), jn;
|
|
1499
1503
|
}
|
|
1500
|
-
var
|
|
1504
|
+
var zn, Zo;
|
|
1501
1505
|
function th() {
|
|
1502
|
-
return Zo || (Zo = 1,
|
|
1506
|
+
return Zo || (Zo = 1, zn = Math.max), zn;
|
|
1503
1507
|
}
|
|
1504
|
-
var
|
|
1508
|
+
var Vn, Xo;
|
|
1505
1509
|
function rh() {
|
|
1506
|
-
return Xo || (Xo = 1,
|
|
1510
|
+
return Xo || (Xo = 1, Vn = Math.min), Vn;
|
|
1507
1511
|
}
|
|
1508
|
-
var
|
|
1512
|
+
var Hn, ef;
|
|
1509
1513
|
function nh() {
|
|
1510
|
-
return ef || (ef = 1,
|
|
1514
|
+
return ef || (ef = 1, Hn = Math.pow), Hn;
|
|
1511
1515
|
}
|
|
1512
|
-
var
|
|
1516
|
+
var $n, tf;
|
|
1513
1517
|
function ih() {
|
|
1514
|
-
return tf || (tf = 1,
|
|
1518
|
+
return tf || (tf = 1, $n = Math.round), $n;
|
|
1515
1519
|
}
|
|
1516
|
-
var
|
|
1520
|
+
var Kn, rf;
|
|
1517
1521
|
function ah() {
|
|
1518
|
-
return rf || (rf = 1,
|
|
1519
|
-
}
|
|
1520
|
-
var Kn, nf;
|
|
1521
|
-
function oh() {
|
|
1522
|
-
return nf || (nf = 1, Kn = Number.isNaN || function(h) {
|
|
1522
|
+
return rf || (rf = 1, Kn = Number.isNaN || function(h) {
|
|
1523
1523
|
return h !== h;
|
|
1524
1524
|
}), Kn;
|
|
1525
1525
|
}
|
|
1526
|
-
var Gn,
|
|
1527
|
-
function
|
|
1528
|
-
if (
|
|
1529
|
-
|
|
1530
|
-
var i = /* @__PURE__ */
|
|
1526
|
+
var Gn, nf;
|
|
1527
|
+
function oh() {
|
|
1528
|
+
if (nf) return Gn;
|
|
1529
|
+
nf = 1;
|
|
1530
|
+
var i = /* @__PURE__ */ ah();
|
|
1531
1531
|
return Gn = function(b) {
|
|
1532
1532
|
return i(b) || b === 0 ? b : b < 0 ? -1 : 1;
|
|
1533
1533
|
}, Gn;
|
|
1534
1534
|
}
|
|
1535
|
-
var Yn,
|
|
1536
|
-
function
|
|
1537
|
-
return
|
|
1535
|
+
var Yn, af;
|
|
1536
|
+
function fh() {
|
|
1537
|
+
return af || (af = 1, Yn = Object.getOwnPropertyDescriptor), Yn;
|
|
1538
1538
|
}
|
|
1539
|
-
var Wn,
|
|
1539
|
+
var Wn, of;
|
|
1540
1540
|
function dr() {
|
|
1541
|
-
if (
|
|
1542
|
-
|
|
1543
|
-
var i = /* @__PURE__ */
|
|
1541
|
+
if (of) return Wn;
|
|
1542
|
+
of = 1;
|
|
1543
|
+
var i = /* @__PURE__ */ fh();
|
|
1544
1544
|
if (i)
|
|
1545
1545
|
try {
|
|
1546
1546
|
i([], "length");
|
|
@@ -1549,10 +1549,10 @@ function dr() {
|
|
|
1549
1549
|
}
|
|
1550
1550
|
return Wn = i, Wn;
|
|
1551
1551
|
}
|
|
1552
|
-
var Jn,
|
|
1552
|
+
var Jn, ff;
|
|
1553
1553
|
function yn() {
|
|
1554
|
-
if (
|
|
1555
|
-
|
|
1554
|
+
if (ff) return Jn;
|
|
1555
|
+
ff = 1;
|
|
1556
1556
|
var i = Object.defineProperty || !1;
|
|
1557
1557
|
if (i)
|
|
1558
1558
|
try {
|
|
@@ -1562,30 +1562,30 @@ function yn() {
|
|
|
1562
1562
|
}
|
|
1563
1563
|
return Jn = i, Jn;
|
|
1564
1564
|
}
|
|
1565
|
-
var Qn,
|
|
1566
|
-
function
|
|
1567
|
-
if (
|
|
1568
|
-
|
|
1565
|
+
var Qn, sf;
|
|
1566
|
+
function sh() {
|
|
1567
|
+
if (sf) return Qn;
|
|
1568
|
+
sf = 1;
|
|
1569
1569
|
var i = typeof Symbol < "u" && Symbol, h = wo();
|
|
1570
1570
|
return Qn = function() {
|
|
1571
1571
|
return typeof i != "function" || typeof Symbol != "function" || typeof i("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : h();
|
|
1572
1572
|
}, Qn;
|
|
1573
1573
|
}
|
|
1574
|
-
var Zn,
|
|
1575
|
-
function
|
|
1576
|
-
return
|
|
1574
|
+
var Zn, uf;
|
|
1575
|
+
function Ic() {
|
|
1576
|
+
return uf || (uf = 1, Zn = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Zn;
|
|
1577
1577
|
}
|
|
1578
|
-
var Xn,
|
|
1579
|
-
function
|
|
1580
|
-
if (
|
|
1581
|
-
|
|
1578
|
+
var Xn, cf;
|
|
1579
|
+
function Bc() {
|
|
1580
|
+
if (cf) return Xn;
|
|
1581
|
+
cf = 1;
|
|
1582
1582
|
var i = /* @__PURE__ */ xo();
|
|
1583
1583
|
return Xn = i.getPrototypeOf || null, Xn;
|
|
1584
1584
|
}
|
|
1585
|
-
var ei,
|
|
1586
|
-
function
|
|
1587
|
-
if (
|
|
1588
|
-
|
|
1585
|
+
var ei, hf;
|
|
1586
|
+
function uh() {
|
|
1587
|
+
if (hf) return ei;
|
|
1588
|
+
hf = 1;
|
|
1589
1589
|
var i = "Function.prototype.bind called on incompatible ", h = Object.prototype.toString, b = Math.max, y = "[object Function]", s = function(l, n) {
|
|
1590
1590
|
for (var r = [], e = 0; e < l.length; e += 1)
|
|
1591
1591
|
r[e] = l[e];
|
|
@@ -1627,47 +1627,47 @@ function ch() {
|
|
|
1627
1627
|
return e;
|
|
1628
1628
|
}, ei;
|
|
1629
1629
|
}
|
|
1630
|
-
var ti,
|
|
1630
|
+
var ti, lf;
|
|
1631
1631
|
function Cr() {
|
|
1632
|
-
if (
|
|
1633
|
-
|
|
1634
|
-
var i =
|
|
1632
|
+
if (lf) return ti;
|
|
1633
|
+
lf = 1;
|
|
1634
|
+
var i = uh();
|
|
1635
1635
|
return ti = Function.prototype.bind || i, ti;
|
|
1636
1636
|
}
|
|
1637
|
-
var ri,
|
|
1637
|
+
var ri, df;
|
|
1638
1638
|
function Eo() {
|
|
1639
|
-
return
|
|
1639
|
+
return df || (df = 1, ri = Function.prototype.call), ri;
|
|
1640
1640
|
}
|
|
1641
|
-
var ni,
|
|
1641
|
+
var ni, pf;
|
|
1642
1642
|
function So() {
|
|
1643
|
-
return
|
|
1643
|
+
return pf || (pf = 1, ni = Function.prototype.apply), ni;
|
|
1644
1644
|
}
|
|
1645
|
-
var ii,
|
|
1646
|
-
function
|
|
1647
|
-
return
|
|
1645
|
+
var ii, bf;
|
|
1646
|
+
function ch() {
|
|
1647
|
+
return bf || (bf = 1, ii = typeof Reflect < "u" && Reflect && Reflect.apply), ii;
|
|
1648
1648
|
}
|
|
1649
|
-
var ai,
|
|
1650
|
-
function
|
|
1651
|
-
if (
|
|
1652
|
-
|
|
1653
|
-
var i = Cr(), h = So(), b = Eo(), y =
|
|
1649
|
+
var ai, yf;
|
|
1650
|
+
function Tc() {
|
|
1651
|
+
if (yf) return ai;
|
|
1652
|
+
yf = 1;
|
|
1653
|
+
var i = Cr(), h = So(), b = Eo(), y = ch();
|
|
1654
1654
|
return ai = y || i.call(b, h), ai;
|
|
1655
1655
|
}
|
|
1656
|
-
var oi,
|
|
1656
|
+
var oi, gf;
|
|
1657
1657
|
function Ao() {
|
|
1658
|
-
if (
|
|
1659
|
-
|
|
1660
|
-
var i = Cr(), h = /* @__PURE__ */ kr(), b = Eo(), y =
|
|
1658
|
+
if (gf) return oi;
|
|
1659
|
+
gf = 1;
|
|
1660
|
+
var i = Cr(), h = /* @__PURE__ */ kr(), b = Eo(), y = Tc();
|
|
1661
1661
|
return oi = function(a) {
|
|
1662
1662
|
if (a.length < 1 || typeof a[0] != "function")
|
|
1663
1663
|
throw new h("a function is required");
|
|
1664
1664
|
return y(i, b, a);
|
|
1665
1665
|
}, oi;
|
|
1666
1666
|
}
|
|
1667
|
-
var fi,
|
|
1668
|
-
function
|
|
1669
|
-
if (
|
|
1670
|
-
|
|
1667
|
+
var fi, vf;
|
|
1668
|
+
function hh() {
|
|
1669
|
+
if (vf) return fi;
|
|
1670
|
+
vf = 1;
|
|
1671
1671
|
var i = Ao(), h = /* @__PURE__ */ dr(), b;
|
|
1672
1672
|
try {
|
|
1673
1673
|
b = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
@@ -1688,11 +1688,11 @@ function lh() {
|
|
|
1688
1688
|
}
|
|
1689
1689
|
) : !1, fi;
|
|
1690
1690
|
}
|
|
1691
|
-
var si,
|
|
1691
|
+
var si, mf;
|
|
1692
1692
|
function Io() {
|
|
1693
|
-
if (
|
|
1694
|
-
|
|
1695
|
-
var i =
|
|
1693
|
+
if (mf) return si;
|
|
1694
|
+
mf = 1;
|
|
1695
|
+
var i = Ic(), h = Bc(), b = /* @__PURE__ */ hh();
|
|
1696
1696
|
return si = i ? function(s) {
|
|
1697
1697
|
return i(s);
|
|
1698
1698
|
} : h ? function(s) {
|
|
@@ -1703,18 +1703,18 @@ function Io() {
|
|
|
1703
1703
|
return b(s);
|
|
1704
1704
|
} : null, si;
|
|
1705
1705
|
}
|
|
1706
|
-
var ui,
|
|
1707
|
-
function
|
|
1708
|
-
if (
|
|
1709
|
-
|
|
1706
|
+
var ui, _f;
|
|
1707
|
+
function Rc() {
|
|
1708
|
+
if (_f) return ui;
|
|
1709
|
+
_f = 1;
|
|
1710
1710
|
var i = Function.prototype.call, h = Object.prototype.hasOwnProperty, b = Cr();
|
|
1711
1711
|
return ui = b.call(i, h), ui;
|
|
1712
1712
|
}
|
|
1713
|
-
var ci,
|
|
1713
|
+
var ci, wf;
|
|
1714
1714
|
function Bo() {
|
|
1715
|
-
if (
|
|
1716
|
-
|
|
1717
|
-
var i, h = /* @__PURE__ */ xo(), b = /* @__PURE__ */
|
|
1715
|
+
if (wf) return ci;
|
|
1716
|
+
wf = 1;
|
|
1717
|
+
var i, h = /* @__PURE__ */ xo(), b = /* @__PURE__ */ Y0(), y = /* @__PURE__ */ W0(), s = /* @__PURE__ */ J0(), a = /* @__PURE__ */ Q0(), p = /* @__PURE__ */ Ac(), f = /* @__PURE__ */ kr(), l = /* @__PURE__ */ Z0(), n = /* @__PURE__ */ X0(), r = /* @__PURE__ */ eh(), e = /* @__PURE__ */ th(), t = /* @__PURE__ */ rh(), o = /* @__PURE__ */ nh(), u = /* @__PURE__ */ ih(), d = /* @__PURE__ */ oh(), m = Function, g = function(oe) {
|
|
1718
1718
|
try {
|
|
1719
1719
|
return m('"use strict"; return (' + oe + ").constructor;")();
|
|
1720
1720
|
} catch {
|
|
@@ -1731,7 +1731,7 @@ function Bo() {
|
|
|
1731
1731
|
return I;
|
|
1732
1732
|
}
|
|
1733
1733
|
}
|
|
1734
|
-
}() : I, N =
|
|
1734
|
+
}() : I, N = sh()(), k = Io(), $ = Bc(), U = Ic(), Q = So(), R = Eo(), c = {}, x = typeof Uint8Array > "u" || !k ? i : k(Uint8Array), A = {
|
|
1735
1735
|
__proto__: null,
|
|
1736
1736
|
"%AggregateError%": typeof AggregateError > "u" ? i : AggregateError,
|
|
1737
1737
|
"%Array%": Array,
|
|
@@ -1891,7 +1891,7 @@ function Bo() {
|
|
|
1891
1891
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
1892
1892
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
1893
1893
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
1894
|
-
}, K = Cr(), O = /* @__PURE__ */
|
|
1894
|
+
}, K = Cr(), O = /* @__PURE__ */ Rc(), v = K.call(R, Array.prototype.concat), C = K.call(Q, Array.prototype.splice), G = K.call(R, String.prototype.replace), te = K.call(R, String.prototype.slice), H = K.call(R, RegExp.prototype.exec), re = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, V = /\\(\\)?/g, X = function(ue) {
|
|
1895
1895
|
var W = te(ue, 0, 1), Y = te(ue, -1);
|
|
1896
1896
|
if (W === "%" && Y !== "%")
|
|
1897
1897
|
throw new p("invalid intrinsic syntax, expected closing `%`");
|
|
@@ -1947,10 +1947,10 @@ function Bo() {
|
|
|
1947
1947
|
return me;
|
|
1948
1948
|
}, ci;
|
|
1949
1949
|
}
|
|
1950
|
-
var hi,
|
|
1950
|
+
var hi, xf;
|
|
1951
1951
|
function pr() {
|
|
1952
|
-
if (
|
|
1953
|
-
|
|
1952
|
+
if (xf) return hi;
|
|
1953
|
+
xf = 1;
|
|
1954
1954
|
var i = /* @__PURE__ */ Bo(), h = Ao(), b = h([i("%String.prototype.indexOf%")]);
|
|
1955
1955
|
return hi = function(s, a) {
|
|
1956
1956
|
var p = (
|
|
@@ -1963,10 +1963,10 @@ function pr() {
|
|
|
1963
1963
|
) : p;
|
|
1964
1964
|
}, hi;
|
|
1965
1965
|
}
|
|
1966
|
-
var li,
|
|
1967
|
-
function
|
|
1968
|
-
if (
|
|
1969
|
-
|
|
1966
|
+
var li, Ef;
|
|
1967
|
+
function lh() {
|
|
1968
|
+
if (Ef) return li;
|
|
1969
|
+
Ef = 1;
|
|
1970
1970
|
var i = bn()(), h = /* @__PURE__ */ pr(), b = h("Object.prototype.toString"), y = function(f) {
|
|
1971
1971
|
return i && f && typeof f == "object" && Symbol.toStringTag in f ? !1 : b(f) === "[object Arguments]";
|
|
1972
1972
|
}, s = function(f) {
|
|
@@ -1976,11 +1976,11 @@ function dh() {
|
|
|
1976
1976
|
}();
|
|
1977
1977
|
return y.isLegacyArguments = s, li = a ? y : s, li;
|
|
1978
1978
|
}
|
|
1979
|
-
var di,
|
|
1980
|
-
function
|
|
1981
|
-
if (
|
|
1982
|
-
|
|
1983
|
-
var i = /* @__PURE__ */ pr(), h = bn()(), b = /* @__PURE__ */
|
|
1979
|
+
var di, Sf;
|
|
1980
|
+
function dh() {
|
|
1981
|
+
if (Sf) return di;
|
|
1982
|
+
Sf = 1;
|
|
1983
|
+
var i = /* @__PURE__ */ pr(), h = bn()(), b = /* @__PURE__ */ Rc(), y = /* @__PURE__ */ dr(), s;
|
|
1984
1984
|
if (h) {
|
|
1985
1985
|
var a = i("RegExp.prototype.exec"), p = {}, f = function() {
|
|
1986
1986
|
throw p;
|
|
@@ -2020,11 +2020,11 @@ function ph() {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
return di = s, di;
|
|
2022
2022
|
}
|
|
2023
|
-
var pi,
|
|
2024
|
-
function
|
|
2025
|
-
if (
|
|
2026
|
-
|
|
2027
|
-
var i = /* @__PURE__ */ pr(), h =
|
|
2023
|
+
var pi, Af;
|
|
2024
|
+
function ph() {
|
|
2025
|
+
if (Af) return pi;
|
|
2026
|
+
Af = 1;
|
|
2027
|
+
var i = /* @__PURE__ */ pr(), h = dh(), b = i("RegExp.prototype.exec"), y = /* @__PURE__ */ kr();
|
|
2028
2028
|
return pi = function(a) {
|
|
2029
2029
|
if (!h(a))
|
|
2030
2030
|
throw new y("`regex` must be a RegExp");
|
|
@@ -2033,11 +2033,11 @@ function bh() {
|
|
|
2033
2033
|
};
|
|
2034
2034
|
}, pi;
|
|
2035
2035
|
}
|
|
2036
|
-
var bi,
|
|
2037
|
-
function
|
|
2038
|
-
if (
|
|
2039
|
-
|
|
2040
|
-
var i = /* @__PURE__ */ pr(), h = /* @__PURE__ */
|
|
2036
|
+
var bi, If;
|
|
2037
|
+
function bh() {
|
|
2038
|
+
if (If) return bi;
|
|
2039
|
+
If = 1;
|
|
2040
|
+
var i = /* @__PURE__ */ pr(), h = /* @__PURE__ */ ph(), b = h(/^\s*(?:function)?\*/), y = bn()(), s = Io(), a = i("Object.prototype.toString"), p = i("Function.prototype.toString"), f = function() {
|
|
2041
2041
|
if (!y)
|
|
2042
2042
|
return !1;
|
|
2043
2043
|
try {
|
|
@@ -2066,10 +2066,10 @@ function yh() {
|
|
|
2066
2066
|
return s(r) === l;
|
|
2067
2067
|
}, bi;
|
|
2068
2068
|
}
|
|
2069
|
-
var yi,
|
|
2070
|
-
function
|
|
2071
|
-
if (
|
|
2072
|
-
|
|
2069
|
+
var yi, Bf;
|
|
2070
|
+
function yh() {
|
|
2071
|
+
if (Bf) return yi;
|
|
2072
|
+
Bf = 1;
|
|
2073
2073
|
var i = Function.prototype.toString, h = typeof Reflect == "object" && Reflect !== null && Reflect.apply, b, y;
|
|
2074
2074
|
if (typeof h == "function" && typeof Object.defineProperty == "function")
|
|
2075
2075
|
try {
|
|
@@ -2138,11 +2138,11 @@ function gh() {
|
|
|
2138
2138
|
return I !== n && I !== r && !/^\[object HTML/.test(I) ? !1 : p(E);
|
|
2139
2139
|
}, yi;
|
|
2140
2140
|
}
|
|
2141
|
-
var gi,
|
|
2142
|
-
function
|
|
2143
|
-
if (
|
|
2144
|
-
|
|
2145
|
-
var i =
|
|
2141
|
+
var gi, Tf;
|
|
2142
|
+
function gh() {
|
|
2143
|
+
if (Tf) return gi;
|
|
2144
|
+
Tf = 1;
|
|
2145
|
+
var i = yh(), h = Object.prototype.toString, b = Object.prototype.hasOwnProperty, y = function(l, n, r) {
|
|
2146
2146
|
for (var e = 0, t = l.length; e < t; e++)
|
|
2147
2147
|
b.call(l, e) && (r == null ? n(l[e], e, l) : n.call(r, l[e], e, l));
|
|
2148
2148
|
}, s = function(l, n, r) {
|
|
@@ -2162,9 +2162,9 @@ function vh() {
|
|
|
2162
2162
|
arguments.length >= 3 && (e = r), p(l) ? y(l, n, e) : typeof l == "string" ? s(l, n, e) : a(l, n, e);
|
|
2163
2163
|
}, gi;
|
|
2164
2164
|
}
|
|
2165
|
-
var vi,
|
|
2166
|
-
function
|
|
2167
|
-
return
|
|
2165
|
+
var vi, Rf;
|
|
2166
|
+
function vh() {
|
|
2167
|
+
return Rf || (Rf = 1, vi = [
|
|
2168
2168
|
"Float16Array",
|
|
2169
2169
|
"Float32Array",
|
|
2170
2170
|
"Float64Array",
|
|
@@ -2179,22 +2179,22 @@ function mh() {
|
|
|
2179
2179
|
"BigUint64Array"
|
|
2180
2180
|
]), vi;
|
|
2181
2181
|
}
|
|
2182
|
-
var mi,
|
|
2183
|
-
function
|
|
2184
|
-
if (
|
|
2185
|
-
|
|
2186
|
-
var i = /* @__PURE__ */
|
|
2182
|
+
var mi, Mf;
|
|
2183
|
+
function mh() {
|
|
2184
|
+
if (Mf) return mi;
|
|
2185
|
+
Mf = 1;
|
|
2186
|
+
var i = /* @__PURE__ */ vh(), h = typeof globalThis > "u" ? yt : globalThis;
|
|
2187
2187
|
return mi = function() {
|
|
2188
2188
|
for (var y = [], s = 0; s < i.length; s++)
|
|
2189
2189
|
typeof h[i[s]] == "function" && (y[y.length] = i[s]);
|
|
2190
2190
|
return y;
|
|
2191
2191
|
}, mi;
|
|
2192
2192
|
}
|
|
2193
|
-
var _i = { exports: {} }, wi,
|
|
2194
|
-
function
|
|
2195
|
-
if (
|
|
2196
|
-
|
|
2197
|
-
var i = /* @__PURE__ */ yn(), h = /* @__PURE__ */
|
|
2193
|
+
var _i = { exports: {} }, wi, Pf;
|
|
2194
|
+
function Mc() {
|
|
2195
|
+
if (Pf) return wi;
|
|
2196
|
+
Pf = 1;
|
|
2197
|
+
var i = /* @__PURE__ */ yn(), h = /* @__PURE__ */ Ac(), b = /* @__PURE__ */ kr(), y = /* @__PURE__ */ dr();
|
|
2198
2198
|
return wi = function(a, p, f) {
|
|
2199
2199
|
if (!a || typeof a != "object" && typeof a != "function")
|
|
2200
2200
|
throw new b("`obj` must be an object or a function`");
|
|
@@ -2222,10 +2222,10 @@ function Pc() {
|
|
|
2222
2222
|
throw new h("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
2223
2223
|
}, wi;
|
|
2224
2224
|
}
|
|
2225
|
-
var xi,
|
|
2226
|
-
function
|
|
2227
|
-
if (
|
|
2228
|
-
|
|
2225
|
+
var xi, Ff;
|
|
2226
|
+
function Pc() {
|
|
2227
|
+
if (Ff) return xi;
|
|
2228
|
+
Ff = 1;
|
|
2229
2229
|
var i = /* @__PURE__ */ yn(), h = function() {
|
|
2230
2230
|
return !!i;
|
|
2231
2231
|
};
|
|
@@ -2239,11 +2239,11 @@ function Fc() {
|
|
|
2239
2239
|
}
|
|
2240
2240
|
}, xi = h, xi;
|
|
2241
2241
|
}
|
|
2242
|
-
var Ei,
|
|
2243
|
-
function
|
|
2244
|
-
if (
|
|
2245
|
-
|
|
2246
|
-
var i = /* @__PURE__ */ Bo(), h = /* @__PURE__ */
|
|
2242
|
+
var Ei, Of;
|
|
2243
|
+
function _h() {
|
|
2244
|
+
if (Of) return Ei;
|
|
2245
|
+
Of = 1;
|
|
2246
|
+
var i = /* @__PURE__ */ Bo(), h = /* @__PURE__ */ Mc(), b = /* @__PURE__ */ Pc()(), y = /* @__PURE__ */ dr(), s = /* @__PURE__ */ kr(), a = i("%Math.floor%");
|
|
2247
2247
|
return Ei = function(f, l) {
|
|
2248
2248
|
if (typeof f != "function")
|
|
2249
2249
|
throw new s("`fn` is not a function");
|
|
@@ -2269,19 +2269,19 @@ function wh() {
|
|
|
2269
2269
|
)), f;
|
|
2270
2270
|
}, Ei;
|
|
2271
2271
|
}
|
|
2272
|
-
var Si,
|
|
2273
|
-
function
|
|
2274
|
-
if (
|
|
2275
|
-
|
|
2276
|
-
var i = Cr(), h = So(), b =
|
|
2272
|
+
var Si, Nf;
|
|
2273
|
+
function wh() {
|
|
2274
|
+
if (Nf) return Si;
|
|
2275
|
+
Nf = 1;
|
|
2276
|
+
var i = Cr(), h = So(), b = Tc();
|
|
2277
2277
|
return Si = function() {
|
|
2278
2278
|
return b(i, h, arguments);
|
|
2279
2279
|
}, Si;
|
|
2280
2280
|
}
|
|
2281
|
-
var
|
|
2281
|
+
var Df;
|
|
2282
2282
|
function gn() {
|
|
2283
|
-
return
|
|
2284
|
-
var h = /* @__PURE__ */
|
|
2283
|
+
return Df || (Df = 1, function(i) {
|
|
2284
|
+
var h = /* @__PURE__ */ _h(), b = /* @__PURE__ */ yn(), y = Ao(), s = wh();
|
|
2285
2285
|
i.exports = function(p) {
|
|
2286
2286
|
var f = y(arguments), l = p.length - (arguments.length - 1);
|
|
2287
2287
|
return h(
|
|
@@ -2292,11 +2292,11 @@ function gn() {
|
|
|
2292
2292
|
}, b ? b(i.exports, "apply", { value: s }) : i.exports.apply = s;
|
|
2293
2293
|
}(_i)), _i.exports;
|
|
2294
2294
|
}
|
|
2295
|
-
var Ai,
|
|
2296
|
-
function
|
|
2297
|
-
if (
|
|
2298
|
-
|
|
2299
|
-
var i =
|
|
2295
|
+
var Ai, qf;
|
|
2296
|
+
function Fc() {
|
|
2297
|
+
if (qf) return Ai;
|
|
2298
|
+
qf = 1;
|
|
2299
|
+
var i = gh(), h = /* @__PURE__ */ mh(), b = gn(), y = /* @__PURE__ */ pr(), s = /* @__PURE__ */ dr(), a = Io(), p = y("Object.prototype.toString"), f = bn()(), l = typeof globalThis > "u" ? yt : globalThis, n = h(), r = y("String.prototype.slice"), e = y("Array.prototype.indexOf", !0) || function(m, g) {
|
|
2300
2300
|
for (var w = 0; w < m.length; w += 1)
|
|
2301
2301
|
if (m[w] === g)
|
|
2302
2302
|
return w;
|
|
@@ -2362,19 +2362,19 @@ function Oc() {
|
|
|
2362
2362
|
return s ? o(m) : null;
|
|
2363
2363
|
}, Ai;
|
|
2364
2364
|
}
|
|
2365
|
-
var Ii,
|
|
2366
|
-
function
|
|
2367
|
-
if (
|
|
2368
|
-
|
|
2369
|
-
var i = /* @__PURE__ */
|
|
2365
|
+
var Ii, Lf;
|
|
2366
|
+
function xh() {
|
|
2367
|
+
if (Lf) return Ii;
|
|
2368
|
+
Lf = 1;
|
|
2369
|
+
var i = /* @__PURE__ */ Fc();
|
|
2370
2370
|
return Ii = function(b) {
|
|
2371
2371
|
return !!i(b);
|
|
2372
2372
|
}, Ii;
|
|
2373
2373
|
}
|
|
2374
|
-
var
|
|
2375
|
-
function
|
|
2376
|
-
return
|
|
2377
|
-
var h = /* @__PURE__ */
|
|
2374
|
+
var kf;
|
|
2375
|
+
function Eh() {
|
|
2376
|
+
return kf || (kf = 1, function(i) {
|
|
2377
|
+
var h = /* @__PURE__ */ lh(), b = bh(), y = /* @__PURE__ */ Fc(), s = /* @__PURE__ */ xh();
|
|
2378
2378
|
function a(pe) {
|
|
2379
2379
|
return pe.call.bind(pe);
|
|
2380
2380
|
}
|
|
@@ -2558,15 +2558,15 @@ function Sh() {
|
|
|
2558
2558
|
});
|
|
2559
2559
|
}(Rn)), Rn;
|
|
2560
2560
|
}
|
|
2561
|
-
var Bi,
|
|
2562
|
-
function
|
|
2563
|
-
return
|
|
2561
|
+
var Bi, Cf;
|
|
2562
|
+
function Sh() {
|
|
2563
|
+
return Cf || (Cf = 1, Bi = function(h) {
|
|
2564
2564
|
return h && typeof h == "object" && typeof h.copy == "function" && typeof h.fill == "function" && typeof h.readUInt8 == "function";
|
|
2565
2565
|
}), Bi;
|
|
2566
2566
|
}
|
|
2567
|
-
var Kr = { exports: {} },
|
|
2567
|
+
var Kr = { exports: {} }, Uf;
|
|
2568
2568
|
function at() {
|
|
2569
|
-
return
|
|
2569
|
+
return Uf || (Uf = 1, typeof Object.create == "function" ? Kr.exports = function(h, b) {
|
|
2570
2570
|
b && (h.super_ = b, h.prototype = Object.create(b.prototype, {
|
|
2571
2571
|
constructor: {
|
|
2572
2572
|
value: h,
|
|
@@ -2584,9 +2584,9 @@ function at() {
|
|
|
2584
2584
|
}
|
|
2585
2585
|
}), Kr.exports;
|
|
2586
2586
|
}
|
|
2587
|
-
var
|
|
2587
|
+
var jf;
|
|
2588
2588
|
function Ft() {
|
|
2589
|
-
return
|
|
2589
|
+
return jf || (jf = 1, function(i) {
|
|
2590
2590
|
var h = Object.getOwnPropertyDescriptors || function(te) {
|
|
2591
2591
|
for (var H = Object.keys(te), re = {}, V = 0; V < H.length; V++)
|
|
2592
2592
|
re[H[V]] = Object.getOwnPropertyDescriptor(te, H[V]);
|
|
@@ -2805,7 +2805,7 @@ function Ft() {
|
|
|
2805
2805
|
`) + " " + G.join(`,
|
|
2806
2806
|
`) + " " + H[1] : H[0] + te + " " + G.join(", ") + " " + H[1];
|
|
2807
2807
|
}
|
|
2808
|
-
i.types =
|
|
2808
|
+
i.types = Eh();
|
|
2809
2809
|
function m(G) {
|
|
2810
2810
|
return Array.isArray(G);
|
|
2811
2811
|
}
|
|
@@ -2862,7 +2862,7 @@ function Ft() {
|
|
|
2862
2862
|
return G === null || typeof G == "boolean" || typeof G == "number" || typeof G == "string" || typeof G == "symbol" || // ES6 symbol
|
|
2863
2863
|
typeof G > "u";
|
|
2864
2864
|
}
|
|
2865
|
-
i.isPrimitive = x, i.isBuffer =
|
|
2865
|
+
i.isPrimitive = x, i.isBuffer = Sh();
|
|
2866
2866
|
function A(G) {
|
|
2867
2867
|
return Object.prototype.toString.call(G);
|
|
2868
2868
|
}
|
|
@@ -2978,10 +2978,10 @@ function Ft() {
|
|
|
2978
2978
|
i.callbackify = C;
|
|
2979
2979
|
}(Tn)), Tn;
|
|
2980
2980
|
}
|
|
2981
|
-
var
|
|
2982
|
-
function
|
|
2983
|
-
if (
|
|
2984
|
-
|
|
2981
|
+
var zf;
|
|
2982
|
+
function Oc() {
|
|
2983
|
+
if (zf) return Bn;
|
|
2984
|
+
zf = 1;
|
|
2985
2985
|
function i(w) {
|
|
2986
2986
|
"@babel/helpers - typeof";
|
|
2987
2987
|
return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(E) {
|
|
@@ -3122,10 +3122,10 @@ function Nc() {
|
|
|
3122
3122
|
return "".concat(P, " must be specified");
|
|
3123
3123
|
}, TypeError), Bn.codes = r, Bn;
|
|
3124
3124
|
}
|
|
3125
|
-
var Ti,
|
|
3126
|
-
function
|
|
3127
|
-
if (
|
|
3128
|
-
|
|
3125
|
+
var Ti, Vf;
|
|
3126
|
+
function Ah() {
|
|
3127
|
+
if (Vf) return Ti;
|
|
3128
|
+
Vf = 1;
|
|
3129
3129
|
function i(O, v) {
|
|
3130
3130
|
var C = Object.keys(O);
|
|
3131
3131
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -3261,7 +3261,7 @@ function Ih() {
|
|
|
3261
3261
|
return v && typeof Symbol == "function" && v.constructor === Symbol && v !== Symbol.prototype ? "symbol" : typeof v;
|
|
3262
3262
|
}, w(O);
|
|
3263
3263
|
}
|
|
3264
|
-
var E = Ft(), I = E.inspect, P =
|
|
3264
|
+
var E = Ft(), I = E.inspect, P = Oc(), N = P.codes.ERR_INVALID_ARG_TYPE;
|
|
3265
3265
|
function k(O, v, C) {
|
|
3266
3266
|
return (C === void 0 || C > O.length) && (C = O.length), O.substring(C - v.length, C) === v;
|
|
3267
3267
|
}
|
|
@@ -3449,23 +3449,23 @@ should equal
|
|
|
3449
3449
|
}(/* @__PURE__ */ t(Error), I.custom);
|
|
3450
3450
|
return Ti = K, Ti;
|
|
3451
3451
|
}
|
|
3452
|
-
var Ri,
|
|
3453
|
-
function
|
|
3454
|
-
if (
|
|
3455
|
-
|
|
3452
|
+
var Ri, Hf;
|
|
3453
|
+
function Nc() {
|
|
3454
|
+
if (Hf) return Ri;
|
|
3455
|
+
Hf = 1;
|
|
3456
3456
|
var i = Object.prototype.toString;
|
|
3457
3457
|
return Ri = function(b) {
|
|
3458
3458
|
var y = i.call(b), s = y === "[object Arguments]";
|
|
3459
3459
|
return s || (s = y !== "[object Array]" && b !== null && typeof b == "object" && typeof b.length == "number" && b.length >= 0 && i.call(b.callee) === "[object Function]"), s;
|
|
3460
3460
|
}, Ri;
|
|
3461
3461
|
}
|
|
3462
|
-
var Mi,
|
|
3463
|
-
function
|
|
3464
|
-
if (
|
|
3465
|
-
|
|
3462
|
+
var Mi, $f;
|
|
3463
|
+
function Ih() {
|
|
3464
|
+
if ($f) return Mi;
|
|
3465
|
+
$f = 1;
|
|
3466
3466
|
var i;
|
|
3467
3467
|
if (!Object.keys) {
|
|
3468
|
-
var h = Object.prototype.hasOwnProperty, b = Object.prototype.toString, y =
|
|
3468
|
+
var h = Object.prototype.hasOwnProperty, b = Object.prototype.toString, y = Nc(), s = Object.prototype.propertyIsEnumerable, a = !s.call({ toString: null }, "toString"), p = s.call(function() {
|
|
3469
3469
|
}, "prototype"), f = [
|
|
3470
3470
|
"toString",
|
|
3471
3471
|
"toLocaleString",
|
|
@@ -3547,13 +3547,13 @@ function Bh() {
|
|
|
3547
3547
|
}
|
|
3548
3548
|
return Mi = i, Mi;
|
|
3549
3549
|
}
|
|
3550
|
-
var Pi,
|
|
3551
|
-
function
|
|
3552
|
-
if (
|
|
3553
|
-
|
|
3554
|
-
var i = Array.prototype.slice, h =
|
|
3550
|
+
var Pi, Kf;
|
|
3551
|
+
function Dc() {
|
|
3552
|
+
if (Kf) return Pi;
|
|
3553
|
+
Kf = 1;
|
|
3554
|
+
var i = Array.prototype.slice, h = Nc(), b = Object.keys, y = b ? function(p) {
|
|
3555
3555
|
return b(p);
|
|
3556
|
-
} :
|
|
3556
|
+
} : Ih(), s = Object.keys;
|
|
3557
3557
|
return y.shim = function() {
|
|
3558
3558
|
if (Object.keys) {
|
|
3559
3559
|
var p = function() {
|
|
@@ -3568,11 +3568,11 @@ function qc() {
|
|
|
3568
3568
|
return Object.keys || y;
|
|
3569
3569
|
}, Pi = y, Pi;
|
|
3570
3570
|
}
|
|
3571
|
-
var Fi,
|
|
3572
|
-
function
|
|
3573
|
-
if (
|
|
3574
|
-
|
|
3575
|
-
var i =
|
|
3571
|
+
var Fi, Gf;
|
|
3572
|
+
function Bh() {
|
|
3573
|
+
if (Gf) return Fi;
|
|
3574
|
+
Gf = 1;
|
|
3575
|
+
var i = Dc(), h = wo()(), b = /* @__PURE__ */ pr(), y = /* @__PURE__ */ xo(), s = b("Array.prototype.push"), a = b("Object.prototype.propertyIsEnumerable"), p = h ? y.getOwnPropertySymbols : null;
|
|
3576
3576
|
return Fi = function(l, n) {
|
|
3577
3577
|
if (l == null)
|
|
3578
3578
|
throw new TypeError("target must be an object");
|
|
@@ -3597,11 +3597,11 @@ function Th() {
|
|
|
3597
3597
|
return r;
|
|
3598
3598
|
}, Fi;
|
|
3599
3599
|
}
|
|
3600
|
-
var Oi,
|
|
3601
|
-
function
|
|
3602
|
-
if (
|
|
3603
|
-
|
|
3604
|
-
var i =
|
|
3600
|
+
var Oi, Yf;
|
|
3601
|
+
function Th() {
|
|
3602
|
+
if (Yf) return Oi;
|
|
3603
|
+
Yf = 1;
|
|
3604
|
+
var i = Bh(), h = function() {
|
|
3605
3605
|
if (!Object.assign)
|
|
3606
3606
|
return !1;
|
|
3607
3607
|
for (var y = "abcdefghijklmnopqrst", s = y.split(""), a = {}, p = 0; p < s.length; ++p)
|
|
@@ -3625,10 +3625,10 @@ function Rh() {
|
|
|
3625
3625
|
return !Object.assign || h() || b() ? i : Object.assign;
|
|
3626
3626
|
}, Oi;
|
|
3627
3627
|
}
|
|
3628
|
-
var Ni,
|
|
3629
|
-
function
|
|
3630
|
-
if (
|
|
3631
|
-
|
|
3628
|
+
var Ni, Wf;
|
|
3629
|
+
function qc() {
|
|
3630
|
+
if (Wf) return Ni;
|
|
3631
|
+
Wf = 1;
|
|
3632
3632
|
var i = function(h) {
|
|
3633
3633
|
return h !== h;
|
|
3634
3634
|
};
|
|
@@ -3636,32 +3636,32 @@ function Lc() {
|
|
|
3636
3636
|
return b === 0 && y === 0 ? 1 / b === 1 / y : !!(b === y || i(b) && i(y));
|
|
3637
3637
|
}, Ni;
|
|
3638
3638
|
}
|
|
3639
|
-
var Di,
|
|
3639
|
+
var Di, Jf;
|
|
3640
3640
|
function To() {
|
|
3641
|
-
if (
|
|
3642
|
-
|
|
3643
|
-
var i =
|
|
3641
|
+
if (Jf) return Di;
|
|
3642
|
+
Jf = 1;
|
|
3643
|
+
var i = qc();
|
|
3644
3644
|
return Di = function() {
|
|
3645
3645
|
return typeof Object.is == "function" ? Object.is : i;
|
|
3646
3646
|
}, Di;
|
|
3647
3647
|
}
|
|
3648
|
-
var qi,
|
|
3649
|
-
function
|
|
3650
|
-
if (
|
|
3651
|
-
|
|
3648
|
+
var qi, Qf;
|
|
3649
|
+
function Rh() {
|
|
3650
|
+
if (Qf) return qi;
|
|
3651
|
+
Qf = 1;
|
|
3652
3652
|
var i = /* @__PURE__ */ Bo(), h = gn(), b = h(i("String.prototype.indexOf"));
|
|
3653
3653
|
return qi = function(s, a) {
|
|
3654
3654
|
var p = i(s, !!a);
|
|
3655
3655
|
return typeof p == "function" && b(s, ".prototype.") > -1 ? h(p) : p;
|
|
3656
3656
|
}, qi;
|
|
3657
3657
|
}
|
|
3658
|
-
var Li,
|
|
3658
|
+
var Li, Zf;
|
|
3659
3659
|
function vn() {
|
|
3660
|
-
if (
|
|
3661
|
-
|
|
3662
|
-
var i =
|
|
3660
|
+
if (Zf) return Li;
|
|
3661
|
+
Zf = 1;
|
|
3662
|
+
var i = Dc(), h = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", b = Object.prototype.toString, y = Array.prototype.concat, s = /* @__PURE__ */ Mc(), a = function(n) {
|
|
3663
3663
|
return typeof n == "function" && b.call(n) === "[object Function]";
|
|
3664
|
-
}, p = /* @__PURE__ */
|
|
3664
|
+
}, p = /* @__PURE__ */ Pc()(), f = function(n, r, e, t) {
|
|
3665
3665
|
if (r in n) {
|
|
3666
3666
|
if (t === !0) {
|
|
3667
3667
|
if (n[r] === e)
|
|
@@ -3678,10 +3678,10 @@ function vn() {
|
|
|
3678
3678
|
};
|
|
3679
3679
|
return l.supportsDescriptors = !!p, Li = l, Li;
|
|
3680
3680
|
}
|
|
3681
|
-
var ki,
|
|
3682
|
-
function
|
|
3683
|
-
if (
|
|
3684
|
-
|
|
3681
|
+
var ki, Xf;
|
|
3682
|
+
function Mh() {
|
|
3683
|
+
if (Xf) return ki;
|
|
3684
|
+
Xf = 1;
|
|
3685
3685
|
var i = To(), h = vn();
|
|
3686
3686
|
return ki = function() {
|
|
3687
3687
|
var y = i();
|
|
@@ -3692,37 +3692,37 @@ function Ph() {
|
|
|
3692
3692
|
}), y;
|
|
3693
3693
|
}, ki;
|
|
3694
3694
|
}
|
|
3695
|
-
var Ci,
|
|
3696
|
-
function
|
|
3697
|
-
if (
|
|
3698
|
-
|
|
3699
|
-
var i = vn(), h = gn(), b =
|
|
3695
|
+
var Ci, es;
|
|
3696
|
+
function Ph() {
|
|
3697
|
+
if (es) return Ci;
|
|
3698
|
+
es = 1;
|
|
3699
|
+
var i = vn(), h = gn(), b = qc(), y = To(), s = Mh(), a = h(y(), Object);
|
|
3700
3700
|
return i(a, {
|
|
3701
3701
|
getPolyfill: y,
|
|
3702
3702
|
implementation: b,
|
|
3703
3703
|
shim: s
|
|
3704
3704
|
}), Ci = a, Ci;
|
|
3705
3705
|
}
|
|
3706
|
-
var Ui,
|
|
3707
|
-
function
|
|
3708
|
-
return
|
|
3706
|
+
var Ui, ts;
|
|
3707
|
+
function Lc() {
|
|
3708
|
+
return ts || (ts = 1, Ui = function(h) {
|
|
3709
3709
|
return h !== h;
|
|
3710
3710
|
}), Ui;
|
|
3711
3711
|
}
|
|
3712
|
-
var ji,
|
|
3713
|
-
function
|
|
3714
|
-
if (
|
|
3715
|
-
|
|
3716
|
-
var i =
|
|
3712
|
+
var ji, rs;
|
|
3713
|
+
function kc() {
|
|
3714
|
+
if (rs) return ji;
|
|
3715
|
+
rs = 1;
|
|
3716
|
+
var i = Lc();
|
|
3717
3717
|
return ji = function() {
|
|
3718
3718
|
return Number.isNaN && Number.isNaN(NaN) && !Number.isNaN("a") ? Number.isNaN : i;
|
|
3719
3719
|
}, ji;
|
|
3720
3720
|
}
|
|
3721
|
-
var zi,
|
|
3722
|
-
function
|
|
3723
|
-
if (
|
|
3724
|
-
|
|
3725
|
-
var i = vn(), h =
|
|
3721
|
+
var zi, ns;
|
|
3722
|
+
function Fh() {
|
|
3723
|
+
if (ns) return zi;
|
|
3724
|
+
ns = 1;
|
|
3725
|
+
var i = vn(), h = kc();
|
|
3726
3726
|
return zi = function() {
|
|
3727
3727
|
var y = h();
|
|
3728
3728
|
return i(Number, { isNaN: y }, {
|
|
@@ -3732,21 +3732,21 @@ function Oh() {
|
|
|
3732
3732
|
}), y;
|
|
3733
3733
|
}, zi;
|
|
3734
3734
|
}
|
|
3735
|
-
var Vi,
|
|
3736
|
-
function
|
|
3737
|
-
if (
|
|
3738
|
-
|
|
3739
|
-
var i = gn(), h = vn(), b =
|
|
3735
|
+
var Vi, is;
|
|
3736
|
+
function Oh() {
|
|
3737
|
+
if (is) return Vi;
|
|
3738
|
+
is = 1;
|
|
3739
|
+
var i = gn(), h = vn(), b = Lc(), y = kc(), s = Fh(), a = i(y(), Number);
|
|
3740
3740
|
return h(a, {
|
|
3741
3741
|
getPolyfill: y,
|
|
3742
3742
|
implementation: b,
|
|
3743
3743
|
shim: s
|
|
3744
3744
|
}), Vi = a, Vi;
|
|
3745
3745
|
}
|
|
3746
|
-
var Hi,
|
|
3747
|
-
function
|
|
3748
|
-
if (
|
|
3749
|
-
|
|
3746
|
+
var Hi, as;
|
|
3747
|
+
function Nh() {
|
|
3748
|
+
if (as) return Hi;
|
|
3749
|
+
as = 1;
|
|
3750
3750
|
function i(ae, se) {
|
|
3751
3751
|
return a(ae) || s(ae, se) || b(ae, se) || h();
|
|
3752
3752
|
}
|
|
@@ -3806,9 +3806,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3806
3806
|
return se.forEach(function(xe, _e) {
|
|
3807
3807
|
return we.push([_e, xe]);
|
|
3808
3808
|
}), we;
|
|
3809
|
-
}, r = Object.is ? Object.is :
|
|
3809
|
+
}, r = Object.is ? Object.is : Ph(), e = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols : function() {
|
|
3810
3810
|
return [];
|
|
3811
|
-
}, t = Number.isNaN ? Number.isNaN :
|
|
3811
|
+
}, t = Number.isNaN ? Number.isNaN : Oh();
|
|
3812
3812
|
function o(ae) {
|
|
3813
3813
|
return ae.call.bind(ae);
|
|
3814
3814
|
}
|
|
@@ -4109,10 +4109,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4109
4109
|
isDeepStrictEqual: Ce
|
|
4110
4110
|
}, Hi;
|
|
4111
4111
|
}
|
|
4112
|
-
var
|
|
4112
|
+
var os;
|
|
4113
4113
|
function wt() {
|
|
4114
|
-
if (
|
|
4115
|
-
|
|
4114
|
+
if (os) return In.exports;
|
|
4115
|
+
os = 1;
|
|
4116
4116
|
function i(H) {
|
|
4117
4117
|
"@babel/helpers - typeof";
|
|
4118
4118
|
return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(re) {
|
|
@@ -4128,9 +4128,9 @@ function wt() {
|
|
|
4128
4128
|
if (!(H instanceof re))
|
|
4129
4129
|
throw new TypeError("Cannot call a class as a function");
|
|
4130
4130
|
}
|
|
4131
|
-
var y =
|
|
4131
|
+
var y = Oc(), s = y.codes, a = s.ERR_AMBIGUOUS_ARGUMENT, p = s.ERR_INVALID_ARG_TYPE, f = s.ERR_INVALID_ARG_VALUE, l = s.ERR_INVALID_RETURN_VALUE, n = s.ERR_MISSING_ARGS, r = Ah(), e = Ft(), t = e.inspect, o = Ft().types, u = o.isPromise, d = o.isRegExp, m = Th()(), g = To()(), w = Rh()("RegExp.prototype.test"), E, I;
|
|
4132
4132
|
function P() {
|
|
4133
|
-
var H =
|
|
4133
|
+
var H = Nh();
|
|
4134
4134
|
E = H.isDeepEqual, I = H.isDeepStrictEqual;
|
|
4135
4135
|
}
|
|
4136
4136
|
var N = !1, k = In.exports = c, $ = {};
|
|
@@ -4485,20 +4485,20 @@ function wt() {
|
|
|
4485
4485
|
notDeepEqual: k.notDeepStrictEqual
|
|
4486
4486
|
}), k.strict.strict = k.strict, In.exports;
|
|
4487
4487
|
}
|
|
4488
|
-
const
|
|
4489
|
-
version:
|
|
4488
|
+
const Dh = "1.4.2", qh = {
|
|
4489
|
+
version: Dh
|
|
4490
4490
|
};
|
|
4491
|
-
var $i,
|
|
4492
|
-
function
|
|
4493
|
-
if (
|
|
4494
|
-
|
|
4491
|
+
var $i, fs;
|
|
4492
|
+
function Cc() {
|
|
4493
|
+
if (fs) return $i;
|
|
4494
|
+
fs = 1;
|
|
4495
4495
|
function i(q, j, J) {
|
|
4496
4496
|
if (!(this instanceof i))
|
|
4497
4497
|
return new i(q, j, J);
|
|
4498
4498
|
q != null && (typeof q == "number" ? this.fromNumber(q, j, J) : j == null && typeof q != "string" ? this.fromString(q, 256) : this.fromString(q, j));
|
|
4499
4499
|
}
|
|
4500
4500
|
var h = i.prototype;
|
|
4501
|
-
h.__bigi =
|
|
4501
|
+
h.__bigi = qh.version, i.isBigInteger = function(q, j) {
|
|
4502
4502
|
return q && q.__bigi && (!j || q.__bigi === h.__bigi);
|
|
4503
4503
|
};
|
|
4504
4504
|
var b;
|
|
@@ -4674,12 +4674,12 @@ function Uc() {
|
|
|
4674
4674
|
Et > 0 ? (le.lShiftTo(Et, Ae), Ee.lShiftTo(Et, J)) : (le.copyTo(Ae), Ee.copyTo(J));
|
|
4675
4675
|
var gt = Ae.t, bt = Ae[gt - 1];
|
|
4676
4676
|
if (bt != 0) {
|
|
4677
|
-
var Bt = bt * (1 << ce.F1) + (gt > 1 ? Ae[gt - 2] >> ce.F2 : 0), zr = ce.FV / Bt, St = (1 << ce.F1) / Bt, er = 1 << ce.F2, tr = J.t, Vr = tr - gt,
|
|
4678
|
-
for (Ae.dlShiftTo(Vr,
|
|
4677
|
+
var Bt = bt * (1 << ce.F1) + (gt > 1 ? Ae[gt - 2] >> ce.F2 : 0), zr = ce.FV / Bt, St = (1 << ce.F1) / Bt, er = 1 << ce.F2, tr = J.t, Vr = tr - gt, Ut = j ?? new i();
|
|
4678
|
+
for (Ae.dlShiftTo(Vr, Ut), J.compareTo(Ut) >= 0 && (J[J.t++] = 1, J.subTo(Ut, J)), i.ONE.dlShiftTo(gt, Ut), Ut.subTo(Ae, Ae); Ae.t < gt; ) Ae[Ae.t++] = 0;
|
|
4679
4679
|
for (; --Vr >= 0; ) {
|
|
4680
4680
|
var En = J[--tr] == bt ? ce.DM : Math.floor(J[tr] * zr + (J[tr - 1] + er) * St);
|
|
4681
4681
|
if ((J[tr] += Ae.am(0, En, J, Vr, 0, gt)) < En)
|
|
4682
|
-
for (Ae.dlShiftTo(Vr,
|
|
4682
|
+
for (Ae.dlShiftTo(Vr, Ut), J.subTo(Ut, J); J[tr] < --En; ) J.subTo(Ut, J);
|
|
4683
4683
|
}
|
|
4684
4684
|
j != null && (J.drShiftTo(gt, j), Re != He && i.ZERO.subTo(j, j)), J.t = gt, J.clamp(), Et > 0 && J.rShiftTo(Et, J), Re < 0 && i.ZERO.subTo(J, J);
|
|
4685
4685
|
}
|
|
@@ -4917,7 +4917,7 @@ function Uc() {
|
|
|
4917
4917
|
var J = i.ONE.shiftLeft(q);
|
|
4918
4918
|
return this.bitwiseTo(J, j, J), J;
|
|
4919
4919
|
}
|
|
4920
|
-
function
|
|
4920
|
+
function Ct(q) {
|
|
4921
4921
|
return this.changeBit(q, De);
|
|
4922
4922
|
}
|
|
4923
4923
|
function nt(q) {
|
|
@@ -5298,13 +5298,13 @@ function Uc() {
|
|
|
5298
5298
|
}
|
|
5299
5299
|
return !0;
|
|
5300
5300
|
}
|
|
5301
|
-
return h.chunkSize = Me, h.toRadix = pe, h.fromRadix = We, h.fromNumber = Be, h.bitwiseTo = we, h.changeBit = Ye, h.addTo = Xt, h.dMultiply = Pe, h.dAddOffset = rt, h.multiplyLowerTo = vr, h.multiplyUpperTo = mr, h.modInt = Br, h.millerRabin = Pr, h.clone = he, h.intValue = ve, h.byteValue = Se, h.shortValue = me, h.signum = Fe, h.toByteArray = Ie, h.equals = Ce, h.min = ae, h.max = se, h.and = _e, h.or = L, h.xor = T, h.andNot = ie, h.not = de, h.shiftLeft = ye, h.shiftRight = Te, h.getLowestSetBit = Oe, h.bitCount = Ge, h.testBit = tt, h.setBit =
|
|
5301
|
+
return h.chunkSize = Me, h.toRadix = pe, h.fromRadix = We, h.fromNumber = Be, h.bitwiseTo = we, h.changeBit = Ye, h.addTo = Xt, h.dMultiply = Pe, h.dAddOffset = rt, h.multiplyLowerTo = vr, h.multiplyUpperTo = mr, h.modInt = Br, h.millerRabin = Pr, h.clone = he, h.intValue = ve, h.byteValue = Se, h.shortValue = me, h.signum = Fe, h.toByteArray = Ie, h.equals = Ce, h.min = ae, h.max = se, h.and = _e, h.or = L, h.xor = T, h.andNot = ie, h.not = de, h.shiftLeft = ye, h.shiftRight = Te, h.getLowestSetBit = Oe, h.bitCount = Ge, h.testBit = tt, h.setBit = Ct, h.clearBit = nt, h.flipBit = Qe, h.add = z, h.subtract = B, h.multiply = F, h.divide = fe, h.remainder = be, h.divideAndRemainder = ge, h.modPow = Ar, h.modInverse = Tr, h.pow = ft, h.gcd = Ir, h.isProbablePrime = Mr, h.square = ee, i.ZERO = u(0), i.ONE = u(1), i.valueOf = u, $i = i, $i;
|
|
5302
5302
|
}
|
|
5303
|
-
var
|
|
5304
|
-
function
|
|
5305
|
-
if (
|
|
5306
|
-
|
|
5307
|
-
var i = wt(), h =
|
|
5303
|
+
var ss = {}, us;
|
|
5304
|
+
function Lh() {
|
|
5305
|
+
if (us) return ss;
|
|
5306
|
+
us = 1;
|
|
5307
|
+
var i = wt(), h = Cc();
|
|
5308
5308
|
return h.fromByteArrayUnsigned = function(b) {
|
|
5309
5309
|
return b[0] & 128 ? new h([0].concat(b)) : new h(b);
|
|
5310
5310
|
}, h.prototype.toByteArrayUnsigned = function() {
|
|
@@ -5325,18 +5325,18 @@ function kh() {
|
|
|
5325
5325
|
return new Ke(s.concat(y));
|
|
5326
5326
|
}, h.prototype.toHex = function(b) {
|
|
5327
5327
|
return this.toBuffer(b).toString("hex");
|
|
5328
|
-
},
|
|
5328
|
+
}, ss;
|
|
5329
5329
|
}
|
|
5330
|
-
var Ki,
|
|
5330
|
+
var Ki, cs;
|
|
5331
5331
|
function mn() {
|
|
5332
|
-
if (
|
|
5333
|
-
|
|
5334
|
-
var i =
|
|
5335
|
-
return
|
|
5332
|
+
if (cs) return Ki;
|
|
5333
|
+
cs = 1;
|
|
5334
|
+
var i = Cc();
|
|
5335
|
+
return Lh(), Ki = i, Ki;
|
|
5336
5336
|
}
|
|
5337
|
-
var Gr = { exports: {} }, Gi = {},
|
|
5337
|
+
var Gr = { exports: {} }, Gi = {}, hs;
|
|
5338
5338
|
function Qt() {
|
|
5339
|
-
return
|
|
5339
|
+
return hs || (hs = 1, function(i) {
|
|
5340
5340
|
Object.defineProperties(i, { __esModule: { value: !0 }, [Symbol.toStringTag]: { value: "Module" } });
|
|
5341
5341
|
var h = {}, b = {};
|
|
5342
5342
|
b.byteLength = r, b.toByteArray = t, b.fromByteArray = d;
|
|
@@ -5545,7 +5545,7 @@ function Qt() {
|
|
|
5545
5545
|
return F.length === 0 || z.copy(F, 0, 0, B), F;
|
|
5546
5546
|
}
|
|
5547
5547
|
if (z.length !== void 0)
|
|
5548
|
-
return typeof z.length != "number" ||
|
|
5548
|
+
return typeof z.length != "number" || Ct(z.length) ? R(0) : K(z);
|
|
5549
5549
|
if (z.type === "Buffer" && Array.isArray(z.data))
|
|
5550
5550
|
return K(z.data);
|
|
5551
5551
|
}
|
|
@@ -5742,7 +5742,7 @@ function Qt() {
|
|
|
5742
5742
|
};
|
|
5743
5743
|
function X(z, B, F, ee, fe) {
|
|
5744
5744
|
if (z.length === 0) return -1;
|
|
5745
|
-
if (typeof F == "string" ? (ee = F, F = 0) : F > 2147483647 ? F = 2147483647 : F < -2147483648 && (F = -2147483648), F = +F,
|
|
5745
|
+
if (typeof F == "string" ? (ee = F, F = 0) : F > 2147483647 ? F = 2147483647 : F < -2147483648 && (F = -2147483648), F = +F, Ct(F) && (F = fe ? 0 : z.length - 1), F < 0 && (F = z.length + F), F >= z.length) {
|
|
5746
5746
|
if (fe) return -1;
|
|
5747
5747
|
F = z.length - 1;
|
|
5748
5748
|
} else if (F < 0)
|
|
@@ -5800,7 +5800,7 @@ function Qt() {
|
|
|
5800
5800
|
let ge;
|
|
5801
5801
|
for (ge = 0; ge < ee; ++ge) {
|
|
5802
5802
|
const Pe = parseInt(B.substr(ge * 2, 2), 16);
|
|
5803
|
-
if (
|
|
5803
|
+
if (Ct(Pe)) return ge;
|
|
5804
5804
|
z[F + ge] = Pe;
|
|
5805
5805
|
}
|
|
5806
5806
|
return ge;
|
|
@@ -6333,7 +6333,7 @@ function Qt() {
|
|
|
6333
6333
|
function Ye(z, B) {
|
|
6334
6334
|
return z instanceof B || z != null && z.constructor != null && z.constructor.name != null && z.constructor.name === B.name;
|
|
6335
6335
|
}
|
|
6336
|
-
function
|
|
6336
|
+
function Ct(z) {
|
|
6337
6337
|
return z !== z;
|
|
6338
6338
|
}
|
|
6339
6339
|
const nt = function() {
|
|
@@ -6357,9 +6357,9 @@ function Qt() {
|
|
|
6357
6357
|
}(Gi)), Gi;
|
|
6358
6358
|
}
|
|
6359
6359
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
6360
|
-
var
|
|
6360
|
+
var ls;
|
|
6361
6361
|
function lt() {
|
|
6362
|
-
return
|
|
6362
|
+
return ls || (ls = 1, function(i, h) {
|
|
6363
6363
|
var b = Qt(), y = b.Buffer;
|
|
6364
6364
|
function s(p, f) {
|
|
6365
6365
|
for (var l in p)
|
|
@@ -6389,10 +6389,10 @@ function lt() {
|
|
|
6389
6389
|
};
|
|
6390
6390
|
}(Gr, Gr.exports)), Gr.exports;
|
|
6391
6391
|
}
|
|
6392
|
-
var Yi,
|
|
6393
|
-
function
|
|
6394
|
-
if (
|
|
6395
|
-
|
|
6392
|
+
var Yi, ds;
|
|
6393
|
+
function kh() {
|
|
6394
|
+
if (ds) return Yi;
|
|
6395
|
+
ds = 1;
|
|
6396
6396
|
var i = lt().Buffer;
|
|
6397
6397
|
function h(b) {
|
|
6398
6398
|
if (b.length >= 255)
|
|
@@ -6468,27 +6468,27 @@ function Ch() {
|
|
|
6468
6468
|
}
|
|
6469
6469
|
return Yi = h, Yi;
|
|
6470
6470
|
}
|
|
6471
|
-
var Wi,
|
|
6472
|
-
function
|
|
6473
|
-
if (
|
|
6474
|
-
|
|
6475
|
-
var i =
|
|
6471
|
+
var Wi, ps;
|
|
6472
|
+
function Uc() {
|
|
6473
|
+
if (ps) return Wi;
|
|
6474
|
+
ps = 1;
|
|
6475
|
+
var i = kh(), h = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
|
|
6476
6476
|
return Wi = i(h), Wi;
|
|
6477
6477
|
}
|
|
6478
|
-
function
|
|
6478
|
+
function Ch(i) {
|
|
6479
6479
|
throw new Error('Could not dynamically require "' + i + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
6480
6480
|
}
|
|
6481
|
-
var sn = { exports: {} },
|
|
6482
|
-
function
|
|
6483
|
-
return
|
|
6481
|
+
var sn = { exports: {} }, Uh = sn.exports, bs;
|
|
6482
|
+
function jh() {
|
|
6483
|
+
return bs || (bs = 1, function(i) {
|
|
6484
6484
|
/**
|
|
6485
6485
|
* @license long.js (c) 2013 Daniel Wirtz <dcode@dcode.io>
|
|
6486
6486
|
* Released under the Apache License, Version 2.0
|
|
6487
6487
|
* see: https://github.com/dcodeIO/long.js for details
|
|
6488
6488
|
*/
|
|
6489
6489
|
(function(h, b) {
|
|
6490
|
-
typeof
|
|
6491
|
-
})(
|
|
6490
|
+
typeof Ch == "function" && i && i.exports ? i.exports = b() : (h.dcodeIO = h.dcodeIO || {}).Long = b();
|
|
6491
|
+
})(Uh, function() {
|
|
6492
6492
|
function h(Q, R, c) {
|
|
6493
6493
|
this.low = Q | 0, this.high = R | 0, this.unsigned = !!c;
|
|
6494
6494
|
}
|
|
@@ -6766,10 +6766,10 @@ function zh() {
|
|
|
6766
6766
|
});
|
|
6767
6767
|
}(sn)), sn.exports;
|
|
6768
6768
|
}
|
|
6769
|
-
var Ji,
|
|
6769
|
+
var Ji, ys;
|
|
6770
6770
|
function Ur() {
|
|
6771
|
-
if (
|
|
6772
|
-
|
|
6771
|
+
if (ys) return Ji;
|
|
6772
|
+
ys = 1;
|
|
6773
6773
|
/**
|
|
6774
6774
|
* @license bytebuffer.js (c) 2015 Daniel Wirtz <dcode@dcode.io>
|
|
6775
6775
|
* Backing buffer / Accessor: node Buffer
|
|
@@ -6777,7 +6777,7 @@ function Ur() {
|
|
|
6777
6777
|
* see: https://github.com/dcodeIO/bytebuffer.js for details
|
|
6778
6778
|
*/
|
|
6779
6779
|
return Ji = function() {
|
|
6780
|
-
var i = Qt(), h = i.Buffer, b =
|
|
6780
|
+
var i = Qt(), h = i.Buffer, b = jh(), y = null, s = function(e, t, o) {
|
|
6781
6781
|
if (typeof e > "u" && (e = s.DEFAULT_CAPACITY), typeof t > "u" && (t = s.DEFAULT_ENDIAN), typeof o > "u" && (o = s.DEFAULT_NOASSERT), !o) {
|
|
6782
6782
|
if (e = e | 0, e < 0)
|
|
6783
6783
|
throw RangeError("Illegal capacity");
|
|
@@ -7860,10 +7860,10 @@ function Ur() {
|
|
|
7860
7860
|
}, s.memcpy = y, s;
|
|
7861
7861
|
}(), Ji;
|
|
7862
7862
|
}
|
|
7863
|
-
var Qi,
|
|
7864
|
-
function
|
|
7865
|
-
if (
|
|
7866
|
-
|
|
7863
|
+
var Qi, gs;
|
|
7864
|
+
function jc() {
|
|
7865
|
+
if (gs) return Qi;
|
|
7866
|
+
gs = 1;
|
|
7867
7867
|
var i = wt(), h = lt().Buffer, b = mn(), y = b.valueOf(3);
|
|
7868
7868
|
function s(a, p, f, l) {
|
|
7869
7869
|
i.notStrictEqual(l, void 0, "Missing Z coordinate"), this.curve = a, this.x = p, this.y = f, this.z = l, this._zInv = null, this.compressed = !0;
|
|
@@ -7942,11 +7942,11 @@ function zc() {
|
|
|
7942
7942
|
return this.curve.isInfinity(this) ? "(INFINITY)" : "(" + this.affineX.toString() + "," + this.affineY.toString() + ")";
|
|
7943
7943
|
}, Qi = s, Qi;
|
|
7944
7944
|
}
|
|
7945
|
-
var Zi,
|
|
7946
|
-
function
|
|
7947
|
-
if (
|
|
7948
|
-
|
|
7949
|
-
var i = wt(), h = mn(), b =
|
|
7945
|
+
var Zi, vs;
|
|
7946
|
+
function zc() {
|
|
7947
|
+
if (vs) return Zi;
|
|
7948
|
+
vs = 1;
|
|
7949
|
+
var i = wt(), h = mn(), b = jc();
|
|
7950
7950
|
function y(s, a, p, f, l, n, r) {
|
|
7951
7951
|
this.p = s, this.a = a, this.b = p, this.G = b.fromAffine(this, f, l), this.n = n, this.h = r, this.infinity = new b(this, null, null, h.ZERO), this.pOverFour = s.add(h.ONE).shiftRight(2), this.pLength = Math.floor((this.p.bitLength() + 7) / 8);
|
|
7952
7952
|
}
|
|
@@ -7967,20 +7967,20 @@ function Vc() {
|
|
|
7967
7967
|
return i(this.isInfinity(a), "Point is not a scalar multiple of G"), !0;
|
|
7968
7968
|
}, Zi = y, Zi;
|
|
7969
7969
|
}
|
|
7970
|
-
const
|
|
7971
|
-
secp128r1:
|
|
7972
|
-
secp160k1:
|
|
7973
|
-
secp160r1:
|
|
7974
|
-
secp192k1:
|
|
7975
|
-
secp192r1:
|
|
7976
|
-
secp256k1:
|
|
7977
|
-
secp256r1:
|
|
7970
|
+
const zh = { p: "fffffffdffffffffffffffffffffffff", a: "fffffffdfffffffffffffffffffffffc", b: "e87579c11079f43dd824993c2cee5ed3", n: "fffffffe0000000075a30d1b9038a115", h: "01", Gx: "161ff7528b899b2d0c28607ca52c5b86", Gy: "cf5ac8395bafeb13c02da292dded7a83" }, Vh = { p: "fffffffffffffffffffffffffffffffeffffac73", a: "00", b: "07", n: "0100000000000000000001b8fa16dfab9aca16b6b3", h: "01", Gx: "3b4c382ce37aa192a4019e763036f4f5dd4d7ebb", Gy: "938cf935318fdced6bc28286531733c3f03c4fee" }, Hh = { p: "ffffffffffffffffffffffffffffffff7fffffff", a: "ffffffffffffffffffffffffffffffff7ffffffc", b: "1c97befc54bd7a8b65acf89f81d4d4adc565fa45", n: "0100000000000000000001f4c8f927aed3ca752257", h: "01", Gx: "4a96b5688ef573284664698968c38bb913cbfc82", Gy: "23a628553168947d59dcc912042351377ac5fb32" }, $h = { p: "fffffffffffffffffffffffffffffffffffffffeffffee37", a: "00", b: "03", n: "fffffffffffffffffffffffe26f2fc170f69466a74defd8d", h: "01", Gx: "db4ff10ec057e9ae26b07d0280b7f4341da5d1b1eae06c7d", Gy: "9b2f2f6d9c5628a7844163d015be86344082aa88d95e2f9d" }, Kh = { p: "fffffffffffffffffffffffffffffffeffffffffffffffff", a: "fffffffffffffffffffffffffffffffefffffffffffffffc", b: "64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1", n: "ffffffffffffffffffffffff99def836146bc9b1b4d22831", h: "01", Gx: "188da80eb03090f67cbf20eb43a18800f4ff0afd82ff1012", Gy: "07192b95ffc8da78631011ed6b24cdd573f977a11e794811" }, Gh = { p: "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", a: "00", b: "07", n: "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", h: "01", Gx: "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", Gy: "483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8" }, Yh = { p: "ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", a: "ffffffff00000001000000000000000000000000fffffffffffffffffffffffc", b: "5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b", n: "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", h: "01", Gx: "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296", Gy: "4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5" }, Wh = {
|
|
7971
|
+
secp128r1: zh,
|
|
7972
|
+
secp160k1: Vh,
|
|
7973
|
+
secp160r1: Hh,
|
|
7974
|
+
secp192k1: $h,
|
|
7975
|
+
secp192r1: Kh,
|
|
7976
|
+
secp256k1: Gh,
|
|
7977
|
+
secp256r1: Yh
|
|
7978
7978
|
};
|
|
7979
|
-
var Xi,
|
|
7980
|
-
function
|
|
7981
|
-
if (
|
|
7982
|
-
|
|
7983
|
-
var i = mn(), h =
|
|
7979
|
+
var Xi, ms;
|
|
7980
|
+
function Jh() {
|
|
7981
|
+
if (ms) return Xi;
|
|
7982
|
+
ms = 1;
|
|
7983
|
+
var i = mn(), h = Wh, b = zc();
|
|
7984
7984
|
function y(s) {
|
|
7985
7985
|
var a = h[s];
|
|
7986
7986
|
if (!a) return null;
|
|
@@ -7989,21 +7989,21 @@ function Qh() {
|
|
|
7989
7989
|
}
|
|
7990
7990
|
return Xi = y, Xi;
|
|
7991
7991
|
}
|
|
7992
|
-
var ea,
|
|
7993
|
-
function
|
|
7994
|
-
if (
|
|
7995
|
-
|
|
7996
|
-
var i =
|
|
7992
|
+
var ea, _s;
|
|
7993
|
+
function Qh() {
|
|
7994
|
+
if (_s) return ea;
|
|
7995
|
+
_s = 1;
|
|
7996
|
+
var i = jc(), h = zc(), b = Jh();
|
|
7997
7997
|
return ea = {
|
|
7998
7998
|
Curve: h,
|
|
7999
7999
|
Point: i,
|
|
8000
8000
|
getCurveByName: b
|
|
8001
8001
|
}, ea;
|
|
8002
8002
|
}
|
|
8003
|
-
var Yr = { exports: {} }, Wr = { exports: {} },
|
|
8003
|
+
var Yr = { exports: {} }, Wr = { exports: {} }, ws;
|
|
8004
8004
|
function Ro() {
|
|
8005
|
-
if (
|
|
8006
|
-
|
|
8005
|
+
if (ws) return Wr.exports;
|
|
8006
|
+
ws = 1;
|
|
8007
8007
|
var i = typeof Reflect == "object" ? Reflect : null, h = i && typeof i.apply == "function" ? i.apply : function(P, N, k) {
|
|
8008
8008
|
return Function.prototype.apply.call(P, N, k);
|
|
8009
8009
|
}, b;
|
|
@@ -8212,14 +8212,14 @@ function Ro() {
|
|
|
8212
8212
|
}
|
|
8213
8213
|
return Wr.exports;
|
|
8214
8214
|
}
|
|
8215
|
-
var ta,
|
|
8216
|
-
function
|
|
8217
|
-
return
|
|
8215
|
+
var ta, xs;
|
|
8216
|
+
function Vc() {
|
|
8217
|
+
return xs || (xs = 1, ta = Ro().EventEmitter), ta;
|
|
8218
8218
|
}
|
|
8219
|
-
var ra,
|
|
8220
|
-
function
|
|
8221
|
-
if (
|
|
8222
|
-
|
|
8219
|
+
var ra, Es;
|
|
8220
|
+
function Zh() {
|
|
8221
|
+
if (Es) return ra;
|
|
8222
|
+
Es = 1;
|
|
8223
8223
|
function i(u, d) {
|
|
8224
8224
|
var m = Object.keys(u);
|
|
8225
8225
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -8381,10 +8381,10 @@ function Xh() {
|
|
|
8381
8381
|
}]), u;
|
|
8382
8382
|
}(), ra;
|
|
8383
8383
|
}
|
|
8384
|
-
var na,
|
|
8385
|
-
function
|
|
8386
|
-
if (
|
|
8387
|
-
|
|
8384
|
+
var na, Ss;
|
|
8385
|
+
function Hc() {
|
|
8386
|
+
if (Ss) return na;
|
|
8387
|
+
Ss = 1;
|
|
8388
8388
|
function i(p, f) {
|
|
8389
8389
|
var l = this, n = this._readableState && this._readableState.destroyed, r = this._writableState && this._writableState.destroyed;
|
|
8390
8390
|
return n || r ? (f ? f(p) : p && (this._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, Le.nextTick(s, this, p)) : Le.nextTick(s, this, p)), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(p || null, function(e) {
|
|
@@ -8413,10 +8413,10 @@ function $c() {
|
|
|
8413
8413
|
errorOrDestroy: a
|
|
8414
8414
|
}, na;
|
|
8415
8415
|
}
|
|
8416
|
-
var ia = {},
|
|
8416
|
+
var ia = {}, As;
|
|
8417
8417
|
function br() {
|
|
8418
|
-
if (
|
|
8419
|
-
|
|
8418
|
+
if (As) return ia;
|
|
8419
|
+
As = 1;
|
|
8420
8420
|
function i(f, l) {
|
|
8421
8421
|
f.prototype = Object.create(l.prototype), f.prototype.constructor = f, f.__proto__ = l;
|
|
8422
8422
|
}
|
|
@@ -8474,10 +8474,10 @@ function br() {
|
|
|
8474
8474
|
return "Unknown encoding: " + f;
|
|
8475
8475
|
}, TypeError), b("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event"), ia.codes = h, ia;
|
|
8476
8476
|
}
|
|
8477
|
-
var aa,
|
|
8478
|
-
function
|
|
8479
|
-
if (
|
|
8480
|
-
|
|
8477
|
+
var aa, Is;
|
|
8478
|
+
function $c() {
|
|
8479
|
+
if (Is) return aa;
|
|
8480
|
+
Is = 1;
|
|
8481
8481
|
var i = br().codes.ERR_INVALID_OPT_VALUE;
|
|
8482
8482
|
function h(y, s, a) {
|
|
8483
8483
|
return y.highWaterMark != null ? y.highWaterMark : s ? y[a] : null;
|
|
@@ -8497,10 +8497,10 @@ function Kc() {
|
|
|
8497
8497
|
getHighWaterMark: b
|
|
8498
8498
|
}, aa;
|
|
8499
8499
|
}
|
|
8500
|
-
var oa,
|
|
8501
|
-
function
|
|
8502
|
-
if (
|
|
8503
|
-
|
|
8500
|
+
var oa, Bs;
|
|
8501
|
+
function Xh() {
|
|
8502
|
+
if (Bs) return oa;
|
|
8503
|
+
Bs = 1, oa = i;
|
|
8504
8504
|
function i(b, y) {
|
|
8505
8505
|
if (h("noDeprecation"))
|
|
8506
8506
|
return b;
|
|
@@ -8526,10 +8526,10 @@ function el() {
|
|
|
8526
8526
|
}
|
|
8527
8527
|
return oa;
|
|
8528
8528
|
}
|
|
8529
|
-
var fa,
|
|
8529
|
+
var fa, Ts;
|
|
8530
8530
|
function Mo() {
|
|
8531
|
-
if (
|
|
8532
|
-
|
|
8531
|
+
if (Ts) return fa;
|
|
8532
|
+
Ts = 1, fa = $;
|
|
8533
8533
|
function i(V) {
|
|
8534
8534
|
var X = this;
|
|
8535
8535
|
this.next = null, this.entry = null, this.finish = function() {
|
|
@@ -8539,8 +8539,8 @@ function Mo() {
|
|
|
8539
8539
|
var h;
|
|
8540
8540
|
$.WritableState = N;
|
|
8541
8541
|
var b = {
|
|
8542
|
-
deprecate:
|
|
8543
|
-
}, y =
|
|
8542
|
+
deprecate: Xh()
|
|
8543
|
+
}, y = Vc(), s = Qt().Buffer, a = (typeof yt < "u" ? yt : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
|
|
8544
8544
|
};
|
|
8545
8545
|
function p(V) {
|
|
8546
8546
|
return s.from(V);
|
|
@@ -8548,7 +8548,7 @@ function Mo() {
|
|
|
8548
8548
|
function f(V) {
|
|
8549
8549
|
return s.isBuffer(V) || V instanceof a;
|
|
8550
8550
|
}
|
|
8551
|
-
var l =
|
|
8551
|
+
var l = Hc(), n = $c(), r = n.getHighWaterMark, e = br().codes, t = e.ERR_INVALID_ARG_TYPE, o = e.ERR_METHOD_NOT_IMPLEMENTED, u = e.ERR_MULTIPLE_CALLBACK, d = e.ERR_STREAM_CANNOT_PIPE, m = e.ERR_STREAM_DESTROYED, g = e.ERR_STREAM_NULL_VALUES, w = e.ERR_STREAM_WRITE_AFTER_END, E = e.ERR_UNKNOWN_ENCODING, I = l.errorOrDestroy;
|
|
8552
8552
|
at()($, y);
|
|
8553
8553
|
function P() {
|
|
8554
8554
|
}
|
|
@@ -8753,10 +8753,10 @@ function Mo() {
|
|
|
8753
8753
|
X(V);
|
|
8754
8754
|
}, fa;
|
|
8755
8755
|
}
|
|
8756
|
-
var sa,
|
|
8756
|
+
var sa, Rs;
|
|
8757
8757
|
function Yt() {
|
|
8758
|
-
if (
|
|
8759
|
-
|
|
8758
|
+
if (Rs) return sa;
|
|
8759
|
+
Rs = 1;
|
|
8760
8760
|
var i = Object.keys || function(n) {
|
|
8761
8761
|
var r = [];
|
|
8762
8762
|
for (var e in n) r.push(e);
|
|
@@ -8817,10 +8817,10 @@ function Yt() {
|
|
|
8817
8817
|
}
|
|
8818
8818
|
}), sa;
|
|
8819
8819
|
}
|
|
8820
|
-
var ua = {},
|
|
8820
|
+
var ua = {}, Ms;
|
|
8821
8821
|
function yo() {
|
|
8822
|
-
if (
|
|
8823
|
-
|
|
8822
|
+
if (Ms) return ua;
|
|
8823
|
+
Ms = 1;
|
|
8824
8824
|
var i = lt().Buffer, h = i.isEncoding || function(g) {
|
|
8825
8825
|
switch (g = "" + g, g && g.toLowerCase()) {
|
|
8826
8826
|
case "hex":
|
|
@@ -8975,10 +8975,10 @@ function yo() {
|
|
|
8975
8975
|
}
|
|
8976
8976
|
return ua;
|
|
8977
8977
|
}
|
|
8978
|
-
var ca,
|
|
8978
|
+
var ca, Ps;
|
|
8979
8979
|
function _n() {
|
|
8980
|
-
if (
|
|
8981
|
-
|
|
8980
|
+
if (Ps) return ca;
|
|
8981
|
+
Ps = 1;
|
|
8982
8982
|
var i = br().codes.ERR_STREAM_PREMATURE_CLOSE;
|
|
8983
8983
|
function h(a) {
|
|
8984
8984
|
var p = !1;
|
|
@@ -9022,10 +9022,10 @@ function _n() {
|
|
|
9022
9022
|
}
|
|
9023
9023
|
return ca = s, ca;
|
|
9024
9024
|
}
|
|
9025
|
-
var ha,
|
|
9026
|
-
function
|
|
9027
|
-
if (
|
|
9028
|
-
|
|
9025
|
+
var ha, Fs;
|
|
9026
|
+
function el() {
|
|
9027
|
+
if (Fs) return ha;
|
|
9028
|
+
Fs = 1;
|
|
9029
9029
|
var i;
|
|
9030
9030
|
function h(E, I, P) {
|
|
9031
9031
|
return I = b(I), I in E ? Object.defineProperty(E, I, { value: P, enumerable: !0, configurable: !0, writable: !0 }) : E[I] = P, E;
|
|
@@ -9148,21 +9148,21 @@ function tl() {
|
|
|
9148
9148
|
};
|
|
9149
9149
|
return ha = w, ha;
|
|
9150
9150
|
}
|
|
9151
|
-
var la,
|
|
9152
|
-
function
|
|
9153
|
-
return
|
|
9151
|
+
var la, Os;
|
|
9152
|
+
function tl() {
|
|
9153
|
+
return Os || (Os = 1, la = function() {
|
|
9154
9154
|
throw new Error("Readable.from is not available in the browser");
|
|
9155
9155
|
}), la;
|
|
9156
9156
|
}
|
|
9157
|
-
var da,
|
|
9157
|
+
var da, Ns;
|
|
9158
9158
|
function Po() {
|
|
9159
|
-
if (
|
|
9160
|
-
|
|
9159
|
+
if (Ns) return da;
|
|
9160
|
+
Ns = 1, da = U;
|
|
9161
9161
|
var i;
|
|
9162
9162
|
U.ReadableState = $, Ro().EventEmitter;
|
|
9163
9163
|
var h = function(Y, he) {
|
|
9164
9164
|
return Y.listeners(he).length;
|
|
9165
|
-
}, b =
|
|
9165
|
+
}, b = Vc(), y = Qt().Buffer, s = (typeof yt < "u" ? yt : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
|
|
9166
9166
|
};
|
|
9167
9167
|
function a(W) {
|
|
9168
9168
|
return y.from(W);
|
|
@@ -9173,7 +9173,7 @@ function Po() {
|
|
|
9173
9173
|
var f = Ft(), l;
|
|
9174
9174
|
f && f.debuglog ? l = f.debuglog("stream") : l = function() {
|
|
9175
9175
|
};
|
|
9176
|
-
var n =
|
|
9176
|
+
var n = Zh(), r = Hc(), e = $c(), t = e.getHighWaterMark, o = br().codes, u = o.ERR_INVALID_ARG_TYPE, d = o.ERR_STREAM_PUSH_AFTER_EOF, m = o.ERR_METHOD_NOT_IMPLEMENTED, g = o.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, w, E, I;
|
|
9177
9177
|
at()(U, b);
|
|
9178
9178
|
var P = r.errorOrDestroy, N = ["error", "close", "destroy", "pause", "resume"];
|
|
9179
9179
|
function k(W, Y, he) {
|
|
@@ -9430,7 +9430,7 @@ function Po() {
|
|
|
9430
9430
|
l("wrapped _read", Me), ve && (ve = !1, W.resume());
|
|
9431
9431
|
}, this;
|
|
9432
9432
|
}, typeof Symbol == "function" && (U.prototype[Symbol.asyncIterator] = function() {
|
|
9433
|
-
return E === void 0 && (E =
|
|
9433
|
+
return E === void 0 && (E = el()), E(this);
|
|
9434
9434
|
}), Object.defineProperty(U.prototype, "readableHighWaterMark", {
|
|
9435
9435
|
// making it explicit this property is not enumerable
|
|
9436
9436
|
// because otherwise some prototype manipulation in
|
|
@@ -9483,7 +9483,7 @@ function Po() {
|
|
|
9483
9483
|
}
|
|
9484
9484
|
}
|
|
9485
9485
|
typeof Symbol == "function" && (U.from = function(W, Y) {
|
|
9486
|
-
return I === void 0 && (I =
|
|
9486
|
+
return I === void 0 && (I = tl()), I(U, W, Y);
|
|
9487
9487
|
});
|
|
9488
9488
|
function ue(W, Y) {
|
|
9489
9489
|
for (var he = 0, ve = W.length; he < ve; he++)
|
|
@@ -9492,10 +9492,10 @@ function Po() {
|
|
|
9492
9492
|
}
|
|
9493
9493
|
return da;
|
|
9494
9494
|
}
|
|
9495
|
-
var pa,
|
|
9495
|
+
var pa, Ds;
|
|
9496
9496
|
function Fo() {
|
|
9497
|
-
if (
|
|
9498
|
-
|
|
9497
|
+
if (Ds) return pa;
|
|
9498
|
+
Ds = 1, pa = f;
|
|
9499
9499
|
var i = br().codes, h = i.ERR_METHOD_NOT_IMPLEMENTED, b = i.ERR_MULTIPLE_CALLBACK, y = i.ERR_TRANSFORM_ALREADY_TRANSFORMING, s = i.ERR_TRANSFORM_WITH_LENGTH_0, a = Yt();
|
|
9500
9500
|
at()(f, a);
|
|
9501
9501
|
function p(r, e) {
|
|
@@ -9551,10 +9551,10 @@ function Fo() {
|
|
|
9551
9551
|
}
|
|
9552
9552
|
return pa;
|
|
9553
9553
|
}
|
|
9554
|
-
var ba,
|
|
9555
|
-
function
|
|
9556
|
-
if (
|
|
9557
|
-
|
|
9554
|
+
var ba, qs;
|
|
9555
|
+
function Kc() {
|
|
9556
|
+
if (qs) return ba;
|
|
9557
|
+
qs = 1, ba = h;
|
|
9558
9558
|
var i = Fo();
|
|
9559
9559
|
at()(h, i);
|
|
9560
9560
|
function h(b) {
|
|
@@ -9565,10 +9565,10 @@ function Gc() {
|
|
|
9565
9565
|
s(null, b);
|
|
9566
9566
|
}, ba;
|
|
9567
9567
|
}
|
|
9568
|
-
var ya,
|
|
9569
|
-
function
|
|
9570
|
-
if (
|
|
9571
|
-
|
|
9568
|
+
var ya, Ls;
|
|
9569
|
+
function Gc() {
|
|
9570
|
+
if (Ls) return ya;
|
|
9571
|
+
Ls = 1;
|
|
9572
9572
|
var i;
|
|
9573
9573
|
function h(t) {
|
|
9574
9574
|
var o = !1;
|
|
@@ -9629,17 +9629,17 @@ function Yc() {
|
|
|
9629
9629
|
}
|
|
9630
9630
|
return ya = e, ya;
|
|
9631
9631
|
}
|
|
9632
|
-
var
|
|
9633
|
-
function
|
|
9634
|
-
return
|
|
9635
|
-
h = i.exports = Po(), h.Stream = h, h.Readable = h, h.Writable = Mo(), h.Duplex = Yt(), h.Transform = Fo(), h.PassThrough =
|
|
9632
|
+
var ks;
|
|
9633
|
+
function Yc() {
|
|
9634
|
+
return ks || (ks = 1, function(i, h) {
|
|
9635
|
+
h = i.exports = Po(), h.Stream = h, h.Readable = h, h.Writable = Mo(), h.Duplex = Yt(), h.Transform = Fo(), h.PassThrough = Kc(), h.finished = _n(), h.pipeline = Gc();
|
|
9636
9636
|
}(Yr, Yr.exports)), Yr.exports;
|
|
9637
9637
|
}
|
|
9638
|
-
var ga,
|
|
9639
|
-
function
|
|
9640
|
-
if (
|
|
9641
|
-
|
|
9642
|
-
var i = lt().Buffer, h =
|
|
9638
|
+
var ga, Cs;
|
|
9639
|
+
function rl() {
|
|
9640
|
+
if (Cs) return ga;
|
|
9641
|
+
Cs = 1;
|
|
9642
|
+
var i = lt().Buffer, h = Yc().Transform, b = at();
|
|
9643
9643
|
function y(a, p) {
|
|
9644
9644
|
if (!i.isBuffer(a) && typeof a != "string")
|
|
9645
9645
|
throw new TypeError(p + " must be a string or a buffer");
|
|
@@ -9687,11 +9687,11 @@ function nl() {
|
|
|
9687
9687
|
throw new Error("_digest is not implemented");
|
|
9688
9688
|
}, ga = s, ga;
|
|
9689
9689
|
}
|
|
9690
|
-
var va,
|
|
9691
|
-
function
|
|
9692
|
-
if (
|
|
9693
|
-
|
|
9694
|
-
var i = Qt().Buffer, h = at(), b =
|
|
9690
|
+
var va, Us;
|
|
9691
|
+
function Wc() {
|
|
9692
|
+
if (Us) return va;
|
|
9693
|
+
Us = 1;
|
|
9694
|
+
var i = Qt().Buffer, h = at(), b = rl(), y = new Array(16), s = [
|
|
9695
9695
|
0,
|
|
9696
9696
|
1,
|
|
9697
9697
|
2,
|
|
@@ -10052,10 +10052,10 @@ function Jc() {
|
|
|
10052
10052
|
}
|
|
10053
10053
|
return va = r, va;
|
|
10054
10054
|
}
|
|
10055
|
-
var vt = {},
|
|
10056
|
-
function
|
|
10057
|
-
if (
|
|
10058
|
-
|
|
10055
|
+
var vt = {}, js;
|
|
10056
|
+
function nl() {
|
|
10057
|
+
if (js) return vt;
|
|
10058
|
+
js = 1;
|
|
10059
10059
|
var i = Object.prototype.toString;
|
|
10060
10060
|
return vt.isArray = function(h, b) {
|
|
10061
10061
|
if (!Array.isArray(h)) throw TypeError(b);
|
|
@@ -10079,10 +10079,10 @@ function il() {
|
|
|
10079
10079
|
if (h <= b || h >= y) throw RangeError(s);
|
|
10080
10080
|
}, vt;
|
|
10081
10081
|
}
|
|
10082
|
-
var Vt = {}, ma,
|
|
10083
|
-
function
|
|
10084
|
-
if (
|
|
10085
|
-
|
|
10082
|
+
var Vt = {}, ma, zs;
|
|
10083
|
+
function il() {
|
|
10084
|
+
if (zs) return ma;
|
|
10085
|
+
zs = 1;
|
|
10086
10086
|
var i = lt().Buffer;
|
|
10087
10087
|
function h(s) {
|
|
10088
10088
|
if (s.length < 8 || s.length > 72 || s[0] !== 48 || s[1] !== s.length - 2 || s[2] !== 2) return !1;
|
|
@@ -10132,11 +10132,11 @@ function al() {
|
|
|
10132
10132
|
encode: y
|
|
10133
10133
|
}, ma;
|
|
10134
10134
|
}
|
|
10135
|
-
var
|
|
10136
|
-
function
|
|
10137
|
-
if (
|
|
10138
|
-
|
|
10139
|
-
var i = lt().Buffer, h =
|
|
10135
|
+
var Vs;
|
|
10136
|
+
function al() {
|
|
10137
|
+
if (Vs) return Vt;
|
|
10138
|
+
Vs = 1;
|
|
10139
|
+
var i = lt().Buffer, h = il(), b = i.from([
|
|
10140
10140
|
// begin
|
|
10141
10141
|
48,
|
|
10142
10142
|
129,
|
|
@@ -10705,47 +10705,47 @@ function ol() {
|
|
|
10705
10705
|
}
|
|
10706
10706
|
}, Vt;
|
|
10707
10707
|
}
|
|
10708
|
-
const
|
|
10709
|
-
COMPRESSED_TYPE_INVALID:
|
|
10710
|
-
EC_PRIVATE_KEY_TYPE_INVALID:
|
|
10711
|
-
EC_PRIVATE_KEY_LENGTH_INVALID:
|
|
10712
|
-
EC_PRIVATE_KEY_RANGE_INVALID:
|
|
10713
|
-
EC_PRIVATE_KEY_TWEAK_ADD_FAIL:
|
|
10714
|
-
EC_PRIVATE_KEY_TWEAK_MUL_FAIL:
|
|
10715
|
-
EC_PRIVATE_KEY_EXPORT_DER_FAIL:
|
|
10716
|
-
EC_PRIVATE_KEY_IMPORT_DER_FAIL:
|
|
10717
|
-
EC_PUBLIC_KEYS_TYPE_INVALID:
|
|
10718
|
-
EC_PUBLIC_KEYS_LENGTH_INVALID:
|
|
10719
|
-
EC_PUBLIC_KEY_TYPE_INVALID:
|
|
10720
|
-
EC_PUBLIC_KEY_LENGTH_INVALID:
|
|
10721
|
-
EC_PUBLIC_KEY_PARSE_FAIL:
|
|
10722
|
-
EC_PUBLIC_KEY_CREATE_FAIL:
|
|
10723
|
-
EC_PUBLIC_KEY_TWEAK_ADD_FAIL:
|
|
10724
|
-
EC_PUBLIC_KEY_TWEAK_MUL_FAIL:
|
|
10725
|
-
EC_PUBLIC_KEY_COMBINE_FAIL:
|
|
10726
|
-
ECDH_FAIL:
|
|
10727
|
-
ECDSA_SIGNATURE_TYPE_INVALID:
|
|
10728
|
-
ECDSA_SIGNATURE_LENGTH_INVALID:
|
|
10729
|
-
ECDSA_SIGNATURE_PARSE_FAIL:
|
|
10730
|
-
ECDSA_SIGNATURE_PARSE_DER_FAIL:
|
|
10731
|
-
ECDSA_SIGN_FAIL:
|
|
10732
|
-
ECDSA_RECOVER_FAIL:
|
|
10733
|
-
MSG32_TYPE_INVALID:
|
|
10734
|
-
MSG32_LENGTH_INVALID:
|
|
10735
|
-
OPTIONS_TYPE_INVALID:
|
|
10736
|
-
OPTIONS_DATA_TYPE_INVALID:
|
|
10737
|
-
OPTIONS_DATA_LENGTH_INVALID:
|
|
10738
|
-
OPTIONS_NONCEFN_TYPE_INVALID:
|
|
10739
|
-
RECOVERY_ID_TYPE_INVALID:
|
|
10740
|
-
RECOVERY_ID_VALUE_INVALID:
|
|
10741
|
-
TWEAK_TYPE_INVALID:
|
|
10742
|
-
TWEAK_LENGTH_INVALID:
|
|
10708
|
+
const ol = "compressed should be a boolean", fl = "private key should be a Buffer", sl = "private key length is invalid", ul = "private key range is invalid", cl = "tweak out of range or resulting private key is invalid", hl = "tweak out of range", ll = "couldn't export to DER format", dl = "couldn't import from DER format", pl = "public keys should be an Array", bl = "public keys Array should have at least 1 element", yl = "public key should be a Buffer", gl = "public key length is invalid", vl = "the public key could not be parsed or is invalid", ml = "private was invalid, try again", _l = "tweak out of range or resulting public key is invalid", wl = "tweak out of range", xl = "the sum of the public keys is not valid", El = "scalar was invalid (zero or overflow)", Sl = "signature should be a Buffer", Al = "signature length is invalid", Il = "couldn't parse signature", Bl = "couldn't parse DER signature", Tl = "nonce generation function failed or private key is invalid", Rl = "couldn't recover public key from signature", Ml = "message should be a Buffer", Pl = "message length is invalid", Fl = "options should be an Object", Ol = "options.data should be a Buffer", Nl = "options.data length is invalid", Dl = "options.noncefn should be a Function", ql = "recovery should be a Number", Ll = "recovery should have value between -1 and 4", kl = "tweak should be a Buffer", Cl = "tweak length is invalid", Jc = {
|
|
10709
|
+
COMPRESSED_TYPE_INVALID: ol,
|
|
10710
|
+
EC_PRIVATE_KEY_TYPE_INVALID: fl,
|
|
10711
|
+
EC_PRIVATE_KEY_LENGTH_INVALID: sl,
|
|
10712
|
+
EC_PRIVATE_KEY_RANGE_INVALID: ul,
|
|
10713
|
+
EC_PRIVATE_KEY_TWEAK_ADD_FAIL: cl,
|
|
10714
|
+
EC_PRIVATE_KEY_TWEAK_MUL_FAIL: hl,
|
|
10715
|
+
EC_PRIVATE_KEY_EXPORT_DER_FAIL: ll,
|
|
10716
|
+
EC_PRIVATE_KEY_IMPORT_DER_FAIL: dl,
|
|
10717
|
+
EC_PUBLIC_KEYS_TYPE_INVALID: pl,
|
|
10718
|
+
EC_PUBLIC_KEYS_LENGTH_INVALID: bl,
|
|
10719
|
+
EC_PUBLIC_KEY_TYPE_INVALID: yl,
|
|
10720
|
+
EC_PUBLIC_KEY_LENGTH_INVALID: gl,
|
|
10721
|
+
EC_PUBLIC_KEY_PARSE_FAIL: vl,
|
|
10722
|
+
EC_PUBLIC_KEY_CREATE_FAIL: ml,
|
|
10723
|
+
EC_PUBLIC_KEY_TWEAK_ADD_FAIL: _l,
|
|
10724
|
+
EC_PUBLIC_KEY_TWEAK_MUL_FAIL: wl,
|
|
10725
|
+
EC_PUBLIC_KEY_COMBINE_FAIL: xl,
|
|
10726
|
+
ECDH_FAIL: El,
|
|
10727
|
+
ECDSA_SIGNATURE_TYPE_INVALID: Sl,
|
|
10728
|
+
ECDSA_SIGNATURE_LENGTH_INVALID: Al,
|
|
10729
|
+
ECDSA_SIGNATURE_PARSE_FAIL: Il,
|
|
10730
|
+
ECDSA_SIGNATURE_PARSE_DER_FAIL: Bl,
|
|
10731
|
+
ECDSA_SIGN_FAIL: Tl,
|
|
10732
|
+
ECDSA_RECOVER_FAIL: Rl,
|
|
10733
|
+
MSG32_TYPE_INVALID: Ml,
|
|
10734
|
+
MSG32_LENGTH_INVALID: Pl,
|
|
10735
|
+
OPTIONS_TYPE_INVALID: Fl,
|
|
10736
|
+
OPTIONS_DATA_TYPE_INVALID: Ol,
|
|
10737
|
+
OPTIONS_DATA_LENGTH_INVALID: Nl,
|
|
10738
|
+
OPTIONS_NONCEFN_TYPE_INVALID: Dl,
|
|
10739
|
+
RECOVERY_ID_TYPE_INVALID: ql,
|
|
10740
|
+
RECOVERY_ID_VALUE_INVALID: Ll,
|
|
10741
|
+
TWEAK_TYPE_INVALID: kl,
|
|
10742
|
+
TWEAK_LENGTH_INVALID: Cl
|
|
10743
10743
|
};
|
|
10744
|
-
var _a,
|
|
10745
|
-
function
|
|
10746
|
-
if (
|
|
10747
|
-
|
|
10748
|
-
var i =
|
|
10744
|
+
var _a, Hs;
|
|
10745
|
+
function Ul() {
|
|
10746
|
+
if (Hs) return _a;
|
|
10747
|
+
Hs = 1;
|
|
10748
|
+
var i = nl(), h = al(), b = Jc;
|
|
10749
10749
|
function y(s, a) {
|
|
10750
10750
|
return s === void 0 ? a : (i.isBoolean(s, b.COMPRESSED_TYPE_INVALID), s);
|
|
10751
10751
|
}
|
|
@@ -10836,11 +10836,11 @@ function jl() {
|
|
|
10836
10836
|
};
|
|
10837
10837
|
}, _a;
|
|
10838
10838
|
}
|
|
10839
|
-
var wa = {}, xa,
|
|
10840
|
-
function
|
|
10841
|
-
if (
|
|
10842
|
-
|
|
10843
|
-
var i = lt().Buffer, h =
|
|
10839
|
+
var wa = {}, xa, $s;
|
|
10840
|
+
function jl() {
|
|
10841
|
+
if ($s) return xa;
|
|
10842
|
+
$s = 1;
|
|
10843
|
+
var i = lt().Buffer, h = Yc().Transform, b = at();
|
|
10844
10844
|
function y(a, p) {
|
|
10845
10845
|
if (!i.isBuffer(a) && typeof a != "string")
|
|
10846
10846
|
throw new TypeError(p + " must be a string or a buffer");
|
|
@@ -10888,11 +10888,11 @@ function zl() {
|
|
|
10888
10888
|
throw new Error("_digest is not implemented");
|
|
10889
10889
|
}, xa = s, xa;
|
|
10890
10890
|
}
|
|
10891
|
-
var Ea,
|
|
10892
|
-
function
|
|
10893
|
-
if (
|
|
10894
|
-
|
|
10895
|
-
var i = at(), h =
|
|
10891
|
+
var Ea, Ks;
|
|
10892
|
+
function zl() {
|
|
10893
|
+
if (Ks) return Ea;
|
|
10894
|
+
Ks = 1;
|
|
10895
|
+
var i = at(), h = jl(), b = lt().Buffer, y = new Array(16);
|
|
10896
10896
|
function s() {
|
|
10897
10897
|
h.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878;
|
|
10898
10898
|
}
|
|
@@ -10922,10 +10922,10 @@ function Vl() {
|
|
|
10922
10922
|
}
|
|
10923
10923
|
return Ea = s, Ea;
|
|
10924
10924
|
}
|
|
10925
|
-
var Sa = { exports: {} }, Aa,
|
|
10925
|
+
var Sa = { exports: {} }, Aa, Gs;
|
|
10926
10926
|
function yr() {
|
|
10927
|
-
if (
|
|
10928
|
-
|
|
10927
|
+
if (Gs) return Aa;
|
|
10928
|
+
Gs = 1;
|
|
10929
10929
|
var i = lt().Buffer;
|
|
10930
10930
|
function h(b, y) {
|
|
10931
10931
|
this._block = i.alloc(b), this._finalSize = y, this._blockSize = b, this._len = 0;
|
|
@@ -10955,10 +10955,10 @@ function yr() {
|
|
|
10955
10955
|
throw new Error("_update must be implemented by subclass");
|
|
10956
10956
|
}, Aa = h, Aa;
|
|
10957
10957
|
}
|
|
10958
|
-
var Ia,
|
|
10959
|
-
function
|
|
10960
|
-
if (
|
|
10961
|
-
|
|
10958
|
+
var Ia, Ys;
|
|
10959
|
+
function Vl() {
|
|
10960
|
+
if (Ys) return Ia;
|
|
10961
|
+
Ys = 1;
|
|
10962
10962
|
var i = at(), h = yr(), b = lt().Buffer, y = [
|
|
10963
10963
|
1518500249,
|
|
10964
10964
|
1859775393,
|
|
@@ -10993,10 +10993,10 @@ function Hl() {
|
|
|
10993
10993
|
return n.writeInt32BE(this._a | 0, 0), n.writeInt32BE(this._b | 0, 4), n.writeInt32BE(this._c | 0, 8), n.writeInt32BE(this._d | 0, 12), n.writeInt32BE(this._e | 0, 16), n;
|
|
10994
10994
|
}, Ia = a, Ia;
|
|
10995
10995
|
}
|
|
10996
|
-
var Ba,
|
|
10997
|
-
function
|
|
10998
|
-
if (
|
|
10999
|
-
|
|
10996
|
+
var Ba, Ws;
|
|
10997
|
+
function Hl() {
|
|
10998
|
+
if (Ws) return Ba;
|
|
10999
|
+
Ws = 1;
|
|
11000
11000
|
var i = at(), h = yr(), b = lt().Buffer, y = [
|
|
11001
11001
|
1518500249,
|
|
11002
11002
|
1859775393,
|
|
@@ -11034,10 +11034,10 @@ function $l() {
|
|
|
11034
11034
|
return r.writeInt32BE(this._a | 0, 0), r.writeInt32BE(this._b | 0, 4), r.writeInt32BE(this._c | 0, 8), r.writeInt32BE(this._d | 0, 12), r.writeInt32BE(this._e | 0, 16), r;
|
|
11035
11035
|
}, Ba = a, Ba;
|
|
11036
11036
|
}
|
|
11037
|
-
var Ta,
|
|
11038
|
-
function
|
|
11039
|
-
if (
|
|
11040
|
-
|
|
11037
|
+
var Ta, Js;
|
|
11038
|
+
function Qc() {
|
|
11039
|
+
if (Js) return Ta;
|
|
11040
|
+
Js = 1;
|
|
11041
11041
|
var i = at(), h = yr(), b = lt().Buffer, y = [
|
|
11042
11042
|
1116352408,
|
|
11043
11043
|
1899447441,
|
|
@@ -11141,11 +11141,11 @@ function Zc() {
|
|
|
11141
11141
|
return t.writeInt32BE(this._a, 0), t.writeInt32BE(this._b, 4), t.writeInt32BE(this._c, 8), t.writeInt32BE(this._d, 12), t.writeInt32BE(this._e, 16), t.writeInt32BE(this._f, 20), t.writeInt32BE(this._g, 24), t.writeInt32BE(this._h, 28), t;
|
|
11142
11142
|
}, Ta = a, Ta;
|
|
11143
11143
|
}
|
|
11144
|
-
var Ra,
|
|
11145
|
-
function
|
|
11146
|
-
if (
|
|
11147
|
-
|
|
11148
|
-
var i = at(), h =
|
|
11144
|
+
var Ra, Qs;
|
|
11145
|
+
function $l() {
|
|
11146
|
+
if (Qs) return Ra;
|
|
11147
|
+
Qs = 1;
|
|
11148
|
+
var i = at(), h = Qc(), b = yr(), y = lt().Buffer, s = new Array(64);
|
|
11149
11149
|
function a() {
|
|
11150
11150
|
this.init(), this._w = s, b.call(this, 64, 56);
|
|
11151
11151
|
}
|
|
@@ -11156,10 +11156,10 @@ function Kl() {
|
|
|
11156
11156
|
return p.writeInt32BE(this._a, 0), p.writeInt32BE(this._b, 4), p.writeInt32BE(this._c, 8), p.writeInt32BE(this._d, 12), p.writeInt32BE(this._e, 16), p.writeInt32BE(this._f, 20), p.writeInt32BE(this._g, 24), p;
|
|
11157
11157
|
}, Ra = a, Ra;
|
|
11158
11158
|
}
|
|
11159
|
-
var Ma,
|
|
11160
|
-
function
|
|
11161
|
-
if (
|
|
11162
|
-
|
|
11159
|
+
var Ma, Zs;
|
|
11160
|
+
function Zc() {
|
|
11161
|
+
if (Zs) return Ma;
|
|
11162
|
+
Zs = 1;
|
|
11163
11163
|
var i = at(), h = yr(), b = lt().Buffer, y = [
|
|
11164
11164
|
1116352408,
|
|
11165
11165
|
3609767458,
|
|
@@ -11380,11 +11380,11 @@ function Xc() {
|
|
|
11380
11380
|
return m(this._ah, this._al, 0), m(this._bh, this._bl, 8), m(this._ch, this._cl, 16), m(this._dh, this._dl, 24), m(this._eh, this._el, 32), m(this._fh, this._fl, 40), m(this._gh, this._gl, 48), m(this._hh, this._hl, 56), d;
|
|
11381
11381
|
}, Ma = a, Ma;
|
|
11382
11382
|
}
|
|
11383
|
-
var Pa,
|
|
11384
|
-
function
|
|
11385
|
-
if (
|
|
11386
|
-
|
|
11387
|
-
var i = at(), h =
|
|
11383
|
+
var Pa, Xs;
|
|
11384
|
+
function Kl() {
|
|
11385
|
+
if (Xs) return Pa;
|
|
11386
|
+
Xs = 1;
|
|
11387
|
+
var i = at(), h = Zc(), b = yr(), y = lt().Buffer, s = new Array(160);
|
|
11388
11388
|
function a() {
|
|
11389
11389
|
this.init(), this._w = s, b.call(this, 128, 112);
|
|
11390
11390
|
}
|
|
@@ -11398,24 +11398,24 @@ function Gl() {
|
|
|
11398
11398
|
return f(this._ah, this._al, 0), f(this._bh, this._bl, 8), f(this._ch, this._cl, 16), f(this._dh, this._dl, 24), f(this._eh, this._el, 32), f(this._fh, this._fl, 40), p;
|
|
11399
11399
|
}, Pa = a, Pa;
|
|
11400
11400
|
}
|
|
11401
|
-
var
|
|
11402
|
-
function
|
|
11403
|
-
if (
|
|
11404
|
-
|
|
11401
|
+
var eu;
|
|
11402
|
+
function Gl() {
|
|
11403
|
+
if (eu) return Sa.exports;
|
|
11404
|
+
eu = 1;
|
|
11405
11405
|
var i = Sa.exports = function(b) {
|
|
11406
11406
|
b = b.toLowerCase();
|
|
11407
11407
|
var y = i[b];
|
|
11408
11408
|
if (!y) throw new Error(b + " is not supported (we accept pull requests)");
|
|
11409
11409
|
return new y();
|
|
11410
11410
|
};
|
|
11411
|
-
return i.sha =
|
|
11411
|
+
return i.sha = Vl(), i.sha1 = Hl(), i.sha224 = $l(), i.sha256 = Qc(), i.sha384 = Kl(), i.sha512 = Zc(), Sa.exports;
|
|
11412
11412
|
}
|
|
11413
|
-
var Fa,
|
|
11413
|
+
var Fa, tu;
|
|
11414
11414
|
function Oo() {
|
|
11415
|
-
if (
|
|
11416
|
-
|
|
11415
|
+
if (tu) return Fa;
|
|
11416
|
+
tu = 1, Fa = b;
|
|
11417
11417
|
var i = Ro().EventEmitter, h = at();
|
|
11418
|
-
h(b, i), b.Readable = Po(), b.Writable = Mo(), b.Duplex = Yt(), b.Transform = Fo(), b.PassThrough =
|
|
11418
|
+
h(b, i), b.Readable = Po(), b.Writable = Mo(), b.Duplex = Yt(), b.Transform = Fo(), b.PassThrough = Kc(), b.finished = _n(), b.pipeline = Gc(), b.Stream = b;
|
|
11419
11419
|
function b() {
|
|
11420
11420
|
i.call(this);
|
|
11421
11421
|
}
|
|
@@ -11447,10 +11447,10 @@ function Oo() {
|
|
|
11447
11447
|
return a.on("end", t), a.on("close", t), y.on("close", t), y.emit("pipe", a), y;
|
|
11448
11448
|
}, Fa;
|
|
11449
11449
|
}
|
|
11450
|
-
var Oa,
|
|
11451
|
-
function
|
|
11452
|
-
if (
|
|
11453
|
-
|
|
11450
|
+
var Oa, ru;
|
|
11451
|
+
function Yl() {
|
|
11452
|
+
if (ru) return Oa;
|
|
11453
|
+
ru = 1;
|
|
11454
11454
|
var i = lt().Buffer, h = Oo().Transform, b = yo().StringDecoder, y = at();
|
|
11455
11455
|
function s(l) {
|
|
11456
11456
|
h.call(this), this.hashMode = typeof l == "string", this.hashMode ? this[l] = this._finalOrDigest : this.final = this._finalOrDigest, this._final && (this.__final = this._final, this._final = null), this._decoder = null, this._encoding = null;
|
|
@@ -11510,11 +11510,11 @@ function Wl() {
|
|
|
11510
11510
|
return r && (e += this._decoder.end()), e;
|
|
11511
11511
|
}, Oa = s, Oa;
|
|
11512
11512
|
}
|
|
11513
|
-
var Na,
|
|
11514
|
-
function
|
|
11515
|
-
if (
|
|
11516
|
-
|
|
11517
|
-
var i = at(), h =
|
|
11513
|
+
var Na, nu;
|
|
11514
|
+
function Wl() {
|
|
11515
|
+
if (nu) return Na;
|
|
11516
|
+
nu = 1;
|
|
11517
|
+
var i = at(), h = zl(), b = Wc(), y = Gl(), s = Yl();
|
|
11518
11518
|
function a(p) {
|
|
11519
11519
|
s.call(this, "digest"), this._hash = p;
|
|
11520
11520
|
}
|
|
@@ -11526,9 +11526,9 @@ function Jl() {
|
|
|
11526
11526
|
return f = f.toLowerCase(), f === "md5" ? new h() : f === "rmd160" || f === "ripemd160" ? new b() : new a(y(f));
|
|
11527
11527
|
}, Na;
|
|
11528
11528
|
}
|
|
11529
|
-
var un = { exports: {} },
|
|
11529
|
+
var un = { exports: {} }, Jl = un.exports, iu;
|
|
11530
11530
|
function Ot() {
|
|
11531
|
-
return
|
|
11531
|
+
return iu || (iu = 1, function(i) {
|
|
11532
11532
|
(function(h, b) {
|
|
11533
11533
|
function y(R, c) {
|
|
11534
11534
|
if (!R) throw new Error(c || "Assertion failed");
|
|
@@ -11959,7 +11959,7 @@ function Ot() {
|
|
|
11959
11959
|
return O !== 0 ? x.words[v] = O | 0 : x.length--, x.strip();
|
|
11960
11960
|
}
|
|
11961
11961
|
var d = function(c, x, A) {
|
|
11962
|
-
var _ = c.words, M = x.words, D = A.words, K = 0, O, v, C, G = _[0] | 0, te = G & 8191, H = G >>> 13, re = _[1] | 0, V = re & 8191, X = re >>> 13, ne = _[2] | 0, oe = ne & 8191, ue = ne >>> 13, W = _[3] | 0, Y = W & 8191, he = W >>> 13, ve = _[4] | 0, Se = ve & 8191, me = ve >>> 13, Me = _[5] | 0, Fe = Me & 8191, pe = Me >>> 13, We = _[6] | 0, Be = We & 8191, Ie = We >>> 13, Ce = _[7] | 0, ae = Ce & 8191, se = Ce >>> 13, we = _[8] | 0, xe = we & 8191, _e = we >>> 13, De = _[9] | 0, L = De & 8191, S = De >>> 13, T = M[0] | 0, Z = T & 8191, ie = T >>> 13, de = M[1] | 0, ye = de & 8191, Te = de >>> 13, Ve = M[2] | 0, Oe = Ve & 8191, Ue = Ve >>> 13, Ge = M[3] | 0, tt = Ge & 8191, Ye = Ge >>> 13,
|
|
11962
|
+
var _ = c.words, M = x.words, D = A.words, K = 0, O, v, C, G = _[0] | 0, te = G & 8191, H = G >>> 13, re = _[1] | 0, V = re & 8191, X = re >>> 13, ne = _[2] | 0, oe = ne & 8191, ue = ne >>> 13, W = _[3] | 0, Y = W & 8191, he = W >>> 13, ve = _[4] | 0, Se = ve & 8191, me = ve >>> 13, Me = _[5] | 0, Fe = Me & 8191, pe = Me >>> 13, We = _[6] | 0, Be = We & 8191, Ie = We >>> 13, Ce = _[7] | 0, ae = Ce & 8191, se = Ce >>> 13, we = _[8] | 0, xe = we & 8191, _e = we >>> 13, De = _[9] | 0, L = De & 8191, S = De >>> 13, T = M[0] | 0, Z = T & 8191, ie = T >>> 13, de = M[1] | 0, ye = de & 8191, Te = de >>> 13, Ve = M[2] | 0, Oe = Ve & 8191, Ue = Ve >>> 13, Ge = M[3] | 0, tt = Ge & 8191, Ye = Ge >>> 13, Ct = M[4] | 0, nt = Ct & 8191, Qe = Ct >>> 13, Xt = M[5] | 0, z = Xt & 8191, B = Xt >>> 13, F = M[6] | 0, ee = F & 8191, fe = F >>> 13, be = M[7] | 0, ge = be & 8191, Pe = be >>> 13, rt = M[8] | 0, qe = rt & 8191, je = rt >>> 13, Je = M[9] | 0, ot = Je & 8191, ft = Je >>> 13;
|
|
11963
11963
|
A.negative = c.negative ^ x.negative, A.length = 19, O = Math.imul(te, Z), v = Math.imul(te, ie), v = v + Math.imul(H, Z) | 0, C = Math.imul(H, ie);
|
|
11964
11964
|
var vr = (K + O | 0) + ((v & 8191) << 13) | 0;
|
|
11965
11965
|
K = (C + (v >>> 13) | 0) + (vr >>> 26) | 0, vr &= 67108863, O = Math.imul(V, Z), v = Math.imul(V, ie), v = v + Math.imul(X, Z) | 0, C = Math.imul(X, ie), O = O + Math.imul(te, ye) | 0, v = v + Math.imul(te, Te) | 0, v = v + Math.imul(H, ye) | 0, C = C + Math.imul(H, Te) | 0;
|
|
@@ -12676,17 +12676,17 @@ function Ot() {
|
|
|
12676
12676
|
var x = this.imod(c._invmp(this.m).mul(this.r2));
|
|
12677
12677
|
return x._forceRed(this);
|
|
12678
12678
|
};
|
|
12679
|
-
})(i,
|
|
12679
|
+
})(i, Jl);
|
|
12680
12680
|
}(un)), un.exports;
|
|
12681
12681
|
}
|
|
12682
12682
|
var Da = {};
|
|
12683
|
-
const
|
|
12684
|
-
version:
|
|
12683
|
+
const Ql = "6.6.1", Zl = {
|
|
12684
|
+
version: Ql
|
|
12685
12685
|
};
|
|
12686
|
-
var qa = {}, La,
|
|
12686
|
+
var qa = {}, La, au;
|
|
12687
12687
|
function Zt() {
|
|
12688
|
-
if (
|
|
12689
|
-
|
|
12688
|
+
if (au) return La;
|
|
12689
|
+
au = 1, La = i;
|
|
12690
12690
|
function i(h, b) {
|
|
12691
12691
|
if (!h)
|
|
12692
12692
|
throw new Error(b || "Assertion failed");
|
|
@@ -12696,9 +12696,9 @@ function Zt() {
|
|
|
12696
12696
|
throw new Error(s || "Assertion failed: " + b + " != " + y);
|
|
12697
12697
|
}, La;
|
|
12698
12698
|
}
|
|
12699
|
-
var ka = {},
|
|
12700
|
-
function
|
|
12701
|
-
return
|
|
12699
|
+
var ka = {}, ou;
|
|
12700
|
+
function Xc() {
|
|
12701
|
+
return ou || (ou = 1, function(i) {
|
|
12702
12702
|
var h = i;
|
|
12703
12703
|
function b(a, p) {
|
|
12704
12704
|
if (Array.isArray(a))
|
|
@@ -12737,10 +12737,10 @@ function e0() {
|
|
|
12737
12737
|
};
|
|
12738
12738
|
}(ka)), ka;
|
|
12739
12739
|
}
|
|
12740
|
-
var
|
|
12740
|
+
var fu;
|
|
12741
12741
|
function xt() {
|
|
12742
|
-
return
|
|
12743
|
-
var h = i, b = Ot(), y = Zt(), s =
|
|
12742
|
+
return fu || (fu = 1, function(i) {
|
|
12743
|
+
var h = i, b = Ot(), y = Zt(), s = Xc();
|
|
12744
12744
|
h.assert = y, h.toArray = s.toArray, h.zero2 = s.zero2, h.toHex = s.toHex, h.encode = s.encode;
|
|
12745
12745
|
function a(r, e, t) {
|
|
12746
12746
|
var o = new Array(Math.max(r.bitLength(), t) + 1), u;
|
|
@@ -12788,10 +12788,10 @@ function xt() {
|
|
|
12788
12788
|
h.intFromLE = n;
|
|
12789
12789
|
}(qa)), qa;
|
|
12790
12790
|
}
|
|
12791
|
-
var Jr = { exports: {} },
|
|
12792
|
-
function
|
|
12793
|
-
if (
|
|
12794
|
-
|
|
12791
|
+
var Jr = { exports: {} }, su;
|
|
12792
|
+
function e0() {
|
|
12793
|
+
if (su) return Jr.exports;
|
|
12794
|
+
su = 1;
|
|
12795
12795
|
var i;
|
|
12796
12796
|
Jr.exports = function(s) {
|
|
12797
12797
|
return i || (i = new h(null)), i.generate(s);
|
|
@@ -12829,10 +12829,10 @@ function t0() {
|
|
|
12829
12829
|
}
|
|
12830
12830
|
return Jr.exports;
|
|
12831
12831
|
}
|
|
12832
|
-
var Ca = {}, Ua,
|
|
12832
|
+
var Ca = {}, Ua, uu;
|
|
12833
12833
|
function wn() {
|
|
12834
|
-
if (
|
|
12835
|
-
|
|
12834
|
+
if (uu) return Ua;
|
|
12835
|
+
uu = 1;
|
|
12836
12836
|
var i = Ot(), h = xt(), b = h.getNAF, y = h.getJSF, s = h.assert;
|
|
12837
12837
|
function a(f, l) {
|
|
12838
12838
|
this.type = f, this.p = new i(l.p, 16), this.red = l.prime ? i.red(l.prime) : i.mont(this.p), this.zero = new i(0).toRed(this.red), this.one = new i(1).toRed(this.red), this.two = new i(2).toRed(this.red), this.n = l.n && new i(l.n, 16), this.g = l.g && this.pointFromJSON(l.g, l.gRed), this._wnafT1 = new Array(4), this._wnafT2 = new Array(4), this._wnafT3 = new Array(4), this._wnafT4 = new Array(4), this._bitLength = this.n ? this.n.bitLength() : 0;
|
|
@@ -13012,10 +13012,10 @@ function wn() {
|
|
|
13012
13012
|
return n;
|
|
13013
13013
|
}, Ua;
|
|
13014
13014
|
}
|
|
13015
|
-
var ja,
|
|
13016
|
-
function
|
|
13017
|
-
if (
|
|
13018
|
-
|
|
13015
|
+
var ja, cu;
|
|
13016
|
+
function Xl() {
|
|
13017
|
+
if (cu) return ja;
|
|
13018
|
+
cu = 1;
|
|
13019
13019
|
var i = xt(), h = Ot(), b = at(), y = wn(), s = i.assert;
|
|
13020
13020
|
function a(l) {
|
|
13021
13021
|
y.call(this, "short", l), this.a = new h(l.a, 16).toRed(this.red), this.b = new h(l.b, 16).toRed(this.red), this.tinv = this.two.redInvm(), this.zeroA = this.a.fromRed().cmpn(0) === 0, this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0, this.endo = this._getEndomorphism(l), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4);
|
|
@@ -13360,10 +13360,10 @@ function ed() {
|
|
|
13360
13360
|
return this.z.cmpn(0) === 0;
|
|
13361
13361
|
}, ja;
|
|
13362
13362
|
}
|
|
13363
|
-
var za,
|
|
13364
|
-
function
|
|
13365
|
-
if (
|
|
13366
|
-
|
|
13363
|
+
var za, hu;
|
|
13364
|
+
function ed() {
|
|
13365
|
+
if (hu) return za;
|
|
13366
|
+
hu = 1;
|
|
13367
13367
|
var i = Ot(), h = at(), b = wn(), y = xt();
|
|
13368
13368
|
function s(p) {
|
|
13369
13369
|
b.call(this, "mont", p), this.a = new i(p.a, 16).toRed(this.red), this.b = new i(p.b, 16).toRed(this.red), this.i4 = new i(4).toRed(this.red).redInvm(), this.two = new i(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two));
|
|
@@ -13416,10 +13416,10 @@ function td() {
|
|
|
13416
13416
|
return this.normalize(), this.x.fromRed();
|
|
13417
13417
|
}, za;
|
|
13418
13418
|
}
|
|
13419
|
-
var Va,
|
|
13420
|
-
function
|
|
13421
|
-
if (
|
|
13422
|
-
|
|
13419
|
+
var Va, lu;
|
|
13420
|
+
function td() {
|
|
13421
|
+
if (lu) return Va;
|
|
13422
|
+
lu = 1;
|
|
13423
13423
|
var i = xt(), h = Ot(), b = at(), y = wn(), s = i.assert;
|
|
13424
13424
|
function a(f) {
|
|
13425
13425
|
this.twisted = (f.a | 0) !== 1, this.mOneA = this.twisted && (f.a | 0) === -1, this.extended = this.mOneA, y.call(this, "edwards", f), this.a = new h(f.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new h(f.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new h(f.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), s(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (f.c | 0) === 1;
|
|
@@ -13529,17 +13529,17 @@ function rd() {
|
|
|
13529
13529
|
}
|
|
13530
13530
|
}, p.prototype.toP = p.prototype.normalize, p.prototype.mixedAdd = p.prototype.add, Va;
|
|
13531
13531
|
}
|
|
13532
|
-
var
|
|
13533
|
-
function
|
|
13534
|
-
return
|
|
13532
|
+
var du;
|
|
13533
|
+
function t0() {
|
|
13534
|
+
return du || (du = 1, function(i) {
|
|
13535
13535
|
var h = i;
|
|
13536
|
-
h.base = wn(), h.short =
|
|
13536
|
+
h.base = wn(), h.short = Xl(), h.mont = ed(), h.edwards = td();
|
|
13537
13537
|
}(Ca)), Ca;
|
|
13538
13538
|
}
|
|
13539
|
-
var Ha = {}, $a = {}, Xe = {},
|
|
13539
|
+
var Ha = {}, $a = {}, Xe = {}, pu;
|
|
13540
13540
|
function Nt() {
|
|
13541
|
-
if (
|
|
13542
|
-
|
|
13541
|
+
if (pu) return Xe;
|
|
13542
|
+
pu = 1;
|
|
13543
13543
|
var i = Zt(), h = at();
|
|
13544
13544
|
Xe.inherits = h;
|
|
13545
13545
|
function b(c, x) {
|
|
@@ -13694,10 +13694,10 @@ function Nt() {
|
|
|
13694
13694
|
}
|
|
13695
13695
|
return Xe.shr64_lo = R, Xe;
|
|
13696
13696
|
}
|
|
13697
|
-
var Ka = {},
|
|
13697
|
+
var Ka = {}, bu;
|
|
13698
13698
|
function jr() {
|
|
13699
|
-
if (
|
|
13700
|
-
|
|
13699
|
+
if (bu) return Ka;
|
|
13700
|
+
bu = 1;
|
|
13701
13701
|
var i = Nt(), h = Zt();
|
|
13702
13702
|
function b() {
|
|
13703
13703
|
this.pending = null, this.pendingTotal = 0, this.blockSize = this.constructor.blockSize, this.outSize = this.constructor.outSize, this.hmacStrength = this.constructor.hmacStrength, this.padLength = this.constructor.padLength / 8, this.endian = "big", this._delta8 = this.blockSize / 8, this._delta32 = this.blockSize / 32;
|
|
@@ -13728,10 +13728,10 @@ function jr() {
|
|
|
13728
13728
|
return f;
|
|
13729
13729
|
}, Ka;
|
|
13730
13730
|
}
|
|
13731
|
-
var Ht = {}, Tt = {},
|
|
13732
|
-
function
|
|
13733
|
-
if (
|
|
13734
|
-
|
|
13731
|
+
var Ht = {}, Tt = {}, yu;
|
|
13732
|
+
function r0() {
|
|
13733
|
+
if (yu) return Tt;
|
|
13734
|
+
yu = 1;
|
|
13735
13735
|
var i = Nt(), h = i.rotr32;
|
|
13736
13736
|
function b(r, e, t, o) {
|
|
13737
13737
|
if (r === 0)
|
|
@@ -13771,11 +13771,11 @@ function n0() {
|
|
|
13771
13771
|
}
|
|
13772
13772
|
return Tt.g1_256 = n, Tt;
|
|
13773
13773
|
}
|
|
13774
|
-
var Ga,
|
|
13775
|
-
function
|
|
13776
|
-
if (
|
|
13777
|
-
|
|
13778
|
-
var i = Nt(), h = jr(), b =
|
|
13774
|
+
var Ga, gu;
|
|
13775
|
+
function rd() {
|
|
13776
|
+
if (gu) return Ga;
|
|
13777
|
+
gu = 1;
|
|
13778
|
+
var i = Nt(), h = jr(), b = r0(), y = i.rotl32, s = i.sum32, a = i.sum32_5, p = b.ft_1, f = h.BlockHash, l = [
|
|
13779
13779
|
1518500249,
|
|
13780
13780
|
1859775393,
|
|
13781
13781
|
2400959708,
|
|
@@ -13807,11 +13807,11 @@ function nd() {
|
|
|
13807
13807
|
return e === "hex" ? i.toHex32(this.h, "big") : i.split32(this.h, "big");
|
|
13808
13808
|
}, Ga;
|
|
13809
13809
|
}
|
|
13810
|
-
var Ya,
|
|
13811
|
-
function
|
|
13812
|
-
if (
|
|
13813
|
-
|
|
13814
|
-
var i = Nt(), h = jr(), b =
|
|
13810
|
+
var Ya, vu;
|
|
13811
|
+
function n0() {
|
|
13812
|
+
if (vu) return Ya;
|
|
13813
|
+
vu = 1;
|
|
13814
|
+
var i = Nt(), h = jr(), b = r0(), y = Zt(), s = i.sum32, a = i.sum32_4, p = i.sum32_5, f = b.ch32, l = b.maj32, n = b.s0_256, r = b.s1_256, e = b.g0_256, t = b.g1_256, o = h.BlockHash, u = [
|
|
13815
13815
|
1116352408,
|
|
13816
13816
|
1899447441,
|
|
13817
13817
|
3049323471,
|
|
@@ -13906,11 +13906,11 @@ function i0() {
|
|
|
13906
13906
|
return g === "hex" ? i.toHex32(this.h, "big") : i.split32(this.h, "big");
|
|
13907
13907
|
}, Ya;
|
|
13908
13908
|
}
|
|
13909
|
-
var Wa,
|
|
13910
|
-
function
|
|
13911
|
-
if (
|
|
13912
|
-
|
|
13913
|
-
var i = Nt(), h =
|
|
13909
|
+
var Wa, mu;
|
|
13910
|
+
function nd() {
|
|
13911
|
+
if (mu) return Wa;
|
|
13912
|
+
mu = 1;
|
|
13913
|
+
var i = Nt(), h = n0();
|
|
13914
13914
|
function b() {
|
|
13915
13915
|
if (!(this instanceof b))
|
|
13916
13916
|
return new b();
|
|
@@ -13929,10 +13929,10 @@ function id() {
|
|
|
13929
13929
|
return s === "hex" ? i.toHex32(this.h.slice(0, 7), "big") : i.split32(this.h.slice(0, 7), "big");
|
|
13930
13930
|
}, Wa;
|
|
13931
13931
|
}
|
|
13932
|
-
var Ja,
|
|
13933
|
-
function
|
|
13934
|
-
if (
|
|
13935
|
-
|
|
13932
|
+
var Ja, _u;
|
|
13933
|
+
function i0() {
|
|
13934
|
+
if (_u) return Ja;
|
|
13935
|
+
_u = 1;
|
|
13936
13936
|
var i = Nt(), h = jr(), b = Zt(), y = i.rotr64_hi, s = i.rotr64_lo, a = i.shr64_hi, p = i.shr64_lo, f = i.sum64, l = i.sum64_hi, n = i.sum64_lo, r = i.sum64_4_hi, e = i.sum64_4_lo, t = i.sum64_5_hi, o = i.sum64_5_lo, u = h.BlockHash, d = [
|
|
13937
13937
|
1116352408,
|
|
13938
13938
|
3609767458,
|
|
@@ -14228,11 +14228,11 @@ function a0() {
|
|
|
14228
14228
|
}
|
|
14229
14229
|
return Ja;
|
|
14230
14230
|
}
|
|
14231
|
-
var Qa,
|
|
14232
|
-
function
|
|
14233
|
-
if (
|
|
14234
|
-
|
|
14235
|
-
var i = Nt(), h =
|
|
14231
|
+
var Qa, wu;
|
|
14232
|
+
function id() {
|
|
14233
|
+
if (wu) return Qa;
|
|
14234
|
+
wu = 1;
|
|
14235
|
+
var i = Nt(), h = i0();
|
|
14236
14236
|
function b() {
|
|
14237
14237
|
if (!(this instanceof b))
|
|
14238
14238
|
return new b();
|
|
@@ -14259,14 +14259,14 @@ function ad() {
|
|
|
14259
14259
|
return s === "hex" ? i.toHex32(this.h.slice(0, 12), "big") : i.split32(this.h.slice(0, 12), "big");
|
|
14260
14260
|
}, Qa;
|
|
14261
14261
|
}
|
|
14262
|
-
var
|
|
14263
|
-
function
|
|
14264
|
-
return
|
|
14262
|
+
var xu;
|
|
14263
|
+
function ad() {
|
|
14264
|
+
return xu || (xu = 1, Ht.sha1 = rd(), Ht.sha224 = nd(), Ht.sha256 = n0(), Ht.sha384 = id(), Ht.sha512 = i0()), Ht;
|
|
14265
14265
|
}
|
|
14266
|
-
var Za = {},
|
|
14267
|
-
function
|
|
14268
|
-
if (
|
|
14269
|
-
|
|
14266
|
+
var Za = {}, Eu;
|
|
14267
|
+
function od() {
|
|
14268
|
+
if (Eu) return Za;
|
|
14269
|
+
Eu = 1;
|
|
14270
14270
|
var i = Nt(), h = jr(), b = i.rotl32, y = i.sum32, s = i.sum32_3, a = i.sum32_4, p = h.BlockHash;
|
|
14271
14271
|
function f() {
|
|
14272
14272
|
if (!(this instanceof f))
|
|
@@ -14630,10 +14630,10 @@ function fd() {
|
|
|
14630
14630
|
];
|
|
14631
14631
|
return Za;
|
|
14632
14632
|
}
|
|
14633
|
-
var Xa,
|
|
14634
|
-
function
|
|
14635
|
-
if (
|
|
14636
|
-
|
|
14633
|
+
var Xa, Su;
|
|
14634
|
+
function fd() {
|
|
14635
|
+
if (Su) return Xa;
|
|
14636
|
+
Su = 1;
|
|
14637
14637
|
var i = Nt(), h = Zt();
|
|
14638
14638
|
function b(y, s, a) {
|
|
14639
14639
|
if (!(this instanceof b))
|
|
@@ -14655,16 +14655,16 @@ function sd() {
|
|
|
14655
14655
|
return this.outer.update(this.inner.digest()), this.outer.digest(s);
|
|
14656
14656
|
}, Xa;
|
|
14657
14657
|
}
|
|
14658
|
-
var
|
|
14658
|
+
var Au;
|
|
14659
14659
|
function No() {
|
|
14660
|
-
return
|
|
14660
|
+
return Au || (Au = 1, function(i) {
|
|
14661
14661
|
var h = i;
|
|
14662
|
-
h.utils = Nt(), h.common = jr(), h.sha =
|
|
14662
|
+
h.utils = Nt(), h.common = jr(), h.sha = ad(), h.ripemd = od(), h.hmac = fd(), h.sha1 = h.sha.sha1, h.sha256 = h.sha.sha256, h.sha224 = h.sha.sha224, h.sha384 = h.sha.sha384, h.sha512 = h.sha.sha512, h.ripemd160 = h.ripemd.ripemd160;
|
|
14663
14663
|
}($a)), $a;
|
|
14664
14664
|
}
|
|
14665
|
-
var eo,
|
|
14666
|
-
function
|
|
14667
|
-
return
|
|
14665
|
+
var eo, Iu;
|
|
14666
|
+
function sd() {
|
|
14667
|
+
return Iu || (Iu = 1, eo = {
|
|
14668
14668
|
doubles: {
|
|
14669
14669
|
step: 4,
|
|
14670
14670
|
points: [
|
|
@@ -15445,10 +15445,10 @@ function ud() {
|
|
|
15445
15445
|
}
|
|
15446
15446
|
}), eo;
|
|
15447
15447
|
}
|
|
15448
|
-
var
|
|
15448
|
+
var Bu;
|
|
15449
15449
|
function Do() {
|
|
15450
|
-
return
|
|
15451
|
-
var h = i, b = No(), y =
|
|
15450
|
+
return Bu || (Bu = 1, function(i) {
|
|
15451
|
+
var h = i, b = No(), y = t0(), s = xt(), a = s.assert;
|
|
15452
15452
|
function p(n) {
|
|
15453
15453
|
n.type === "short" ? this.curve = new y.short(n) : n.type === "edwards" ? this.curve = new y.edwards(n) : this.curve = new y.mont(n), this.g = this.curve.g, this.n = this.curve.n, this.hash = n.hash, a(this.g.validate(), "Invalid curve"), a(this.g.mul(this.n).isInfinity(), "Invalid curve, G*N != O");
|
|
15454
15454
|
}
|
|
@@ -15563,7 +15563,7 @@ function Do() {
|
|
|
15563
15563
|
});
|
|
15564
15564
|
var l;
|
|
15565
15565
|
try {
|
|
15566
|
-
l =
|
|
15566
|
+
l = sd();
|
|
15567
15567
|
} catch {
|
|
15568
15568
|
l = void 0;
|
|
15569
15569
|
}
|
|
@@ -15598,11 +15598,11 @@ function Do() {
|
|
|
15598
15598
|
});
|
|
15599
15599
|
}(Ha)), Ha;
|
|
15600
15600
|
}
|
|
15601
|
-
var to,
|
|
15602
|
-
function
|
|
15603
|
-
if (
|
|
15604
|
-
|
|
15605
|
-
var i = No(), h =
|
|
15601
|
+
var to, Tu;
|
|
15602
|
+
function ud() {
|
|
15603
|
+
if (Tu) return to;
|
|
15604
|
+
Tu = 1;
|
|
15605
|
+
var i = No(), h = Xc(), b = Zt();
|
|
15606
15606
|
function y(s) {
|
|
15607
15607
|
if (!(this instanceof y))
|
|
15608
15608
|
return new y(s);
|
|
@@ -15639,10 +15639,10 @@ function cd() {
|
|
|
15639
15639
|
return this._update(f), this._reseed++, h.encode(r, p);
|
|
15640
15640
|
}, to;
|
|
15641
15641
|
}
|
|
15642
|
-
var ro,
|
|
15643
|
-
function
|
|
15644
|
-
if (
|
|
15645
|
-
|
|
15642
|
+
var ro, Ru;
|
|
15643
|
+
function cd() {
|
|
15644
|
+
if (Ru) return ro;
|
|
15645
|
+
Ru = 1;
|
|
15646
15646
|
var i = Ot(), h = xt(), b = h.assert;
|
|
15647
15647
|
function y(s, a) {
|
|
15648
15648
|
this.ec = s, this.priv = null, this.pub = null, a.priv && this._importPrivate(a.priv, a.privEnc), a.pub && this._importPublic(a.pub, a.pubEnc);
|
|
@@ -15682,10 +15682,10 @@ function hd() {
|
|
|
15682
15682
|
return "<Key priv: " + (this.priv && this.priv.toString(16, 2)) + " pub: " + (this.pub && this.pub.inspect()) + " >";
|
|
15683
15683
|
}, ro;
|
|
15684
15684
|
}
|
|
15685
|
-
var no,
|
|
15686
|
-
function
|
|
15687
|
-
if (
|
|
15688
|
-
|
|
15685
|
+
var no, Mu;
|
|
15686
|
+
function hd() {
|
|
15687
|
+
if (Mu) return no;
|
|
15688
|
+
Mu = 1;
|
|
15689
15689
|
var i = Ot(), h = xt(), b = h.assert;
|
|
15690
15690
|
function y(l, n) {
|
|
15691
15691
|
if (l instanceof y)
|
|
@@ -15762,11 +15762,11 @@ function ld() {
|
|
|
15762
15762
|
return f(u, o.length), u = u.concat(o), h.encode(u, n);
|
|
15763
15763
|
}, no;
|
|
15764
15764
|
}
|
|
15765
|
-
var io,
|
|
15766
|
-
function
|
|
15767
|
-
if (
|
|
15768
|
-
|
|
15769
|
-
var i = Ot(), h =
|
|
15765
|
+
var io, Pu;
|
|
15766
|
+
function ld() {
|
|
15767
|
+
if (Pu) return io;
|
|
15768
|
+
Pu = 1;
|
|
15769
|
+
var i = Ot(), h = ud(), b = xt(), y = Do(), s = e0(), a = b.assert, p = cd(), f = hd();
|
|
15770
15770
|
function l(n) {
|
|
15771
15771
|
if (!(this instanceof l))
|
|
15772
15772
|
return new l(n);
|
|
@@ -15872,10 +15872,10 @@ function dd() {
|
|
|
15872
15872
|
throw new Error("Unable to find valid recovery factor");
|
|
15873
15873
|
}, io;
|
|
15874
15874
|
}
|
|
15875
|
-
var ao,
|
|
15876
|
-
function
|
|
15877
|
-
if (
|
|
15878
|
-
|
|
15875
|
+
var ao, Fu;
|
|
15876
|
+
function dd() {
|
|
15877
|
+
if (Fu) return ao;
|
|
15878
|
+
Fu = 1;
|
|
15879
15879
|
var i = xt(), h = i.assert, b = i.parseBytes, y = i.cachedProperty;
|
|
15880
15880
|
function s(a, p) {
|
|
15881
15881
|
this.eddsa = a, this._secret = b(p.secret), a.isPoint(p.pub) ? this._pub = p.pub : this._pubBytes = b(p.pub);
|
|
@@ -15909,10 +15909,10 @@ function pd() {
|
|
|
15909
15909
|
return i.encode(this.pubBytes(), p);
|
|
15910
15910
|
}, ao = s, ao;
|
|
15911
15911
|
}
|
|
15912
|
-
var oo,
|
|
15913
|
-
function
|
|
15914
|
-
if (
|
|
15915
|
-
|
|
15912
|
+
var oo, Ou;
|
|
15913
|
+
function pd() {
|
|
15914
|
+
if (Ou) return oo;
|
|
15915
|
+
Ou = 1;
|
|
15916
15916
|
var i = Ot(), h = xt(), b = h.assert, y = h.cachedProperty, s = h.parseBytes;
|
|
15917
15917
|
function a(p, f) {
|
|
15918
15918
|
this.eddsa = p, typeof f != "object" && (f = s(f)), Array.isArray(f) && (b(f.length === p.encodingLength * 2, "Signature has invalid size"), f = {
|
|
@@ -15934,11 +15934,11 @@ function bd() {
|
|
|
15934
15934
|
return h.encode(this.toBytes(), "hex").toUpperCase();
|
|
15935
15935
|
}, oo = a, oo;
|
|
15936
15936
|
}
|
|
15937
|
-
var fo,
|
|
15938
|
-
function
|
|
15939
|
-
if (
|
|
15940
|
-
|
|
15941
|
-
var i = No(), h = Do(), b = xt(), y = b.assert, s = b.parseBytes, a =
|
|
15937
|
+
var fo, Nu;
|
|
15938
|
+
function bd() {
|
|
15939
|
+
if (Nu) return fo;
|
|
15940
|
+
Nu = 1;
|
|
15941
|
+
var i = No(), h = Do(), b = xt(), y = b.assert, s = b.parseBytes, a = dd(), p = pd();
|
|
15942
15942
|
function f(l) {
|
|
15943
15943
|
if (y(l === "ed25519", "only tested with ed25519 so far"), !(this instanceof f))
|
|
15944
15944
|
return new f(l);
|
|
@@ -15978,17 +15978,17 @@ function yd() {
|
|
|
15978
15978
|
return n instanceof this.pointClass;
|
|
15979
15979
|
}, fo;
|
|
15980
15980
|
}
|
|
15981
|
-
var
|
|
15982
|
-
function
|
|
15983
|
-
return
|
|
15981
|
+
var Du;
|
|
15982
|
+
function yd() {
|
|
15983
|
+
return Du || (Du = 1, function(i) {
|
|
15984
15984
|
var h = i;
|
|
15985
|
-
h.version =
|
|
15985
|
+
h.version = Zl.version, h.utils = xt(), h.rand = e0(), h.curve = t0(), h.curves = Do(), h.ec = ld(), h.eddsa = bd();
|
|
15986
15986
|
}(Da)), Da;
|
|
15987
15987
|
}
|
|
15988
|
-
var
|
|
15989
|
-
function
|
|
15990
|
-
return
|
|
15991
|
-
var h = lt().Buffer, b =
|
|
15988
|
+
var qu;
|
|
15989
|
+
function gd() {
|
|
15990
|
+
return qu || (qu = 1, function(i) {
|
|
15991
|
+
var h = lt().Buffer, b = Wl(), y = Ot(), s = yd().ec, a = Jc, p = new s("secp256k1"), f = p.curve;
|
|
15992
15992
|
function l(e, t) {
|
|
15993
15993
|
var o = new y(t);
|
|
15994
15994
|
if (o.cmp(f.p) >= 0) return null;
|
|
@@ -16134,14 +16134,14 @@ function vd() {
|
|
|
16134
16134
|
};
|
|
16135
16135
|
}(wa)), wa;
|
|
16136
16136
|
}
|
|
16137
|
-
var so,
|
|
16138
|
-
function
|
|
16139
|
-
return
|
|
16137
|
+
var so, Lu;
|
|
16138
|
+
function vd() {
|
|
16139
|
+
return Lu || (Lu = 1, so = Ul()(gd())), so;
|
|
16140
16140
|
}
|
|
16141
|
-
var uo,
|
|
16142
|
-
function
|
|
16143
|
-
if (
|
|
16144
|
-
|
|
16141
|
+
var uo, ku;
|
|
16142
|
+
function md() {
|
|
16143
|
+
if (ku) return uo;
|
|
16144
|
+
ku = 1;
|
|
16145
16145
|
var i = wt(), h = Oo().Stream, b = Ft(), y = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
16146
16146
|
function s(r) {
|
|
16147
16147
|
return r.charAt(0).toUpperCase() + r.slice(1);
|
|
@@ -16296,10 +16296,10 @@ function _d() {
|
|
|
16296
16296
|
}
|
|
16297
16297
|
return uo = n(Le.env.NODE_NDEBUG), uo;
|
|
16298
16298
|
}
|
|
16299
|
-
var Or = {},
|
|
16300
|
-
function
|
|
16301
|
-
if (
|
|
16302
|
-
|
|
16299
|
+
var Or = {}, Cu;
|
|
16300
|
+
function _d() {
|
|
16301
|
+
if (Cu) return Or;
|
|
16302
|
+
Cu = 1;
|
|
16303
16303
|
var i = wt(), h = Ft();
|
|
16304
16304
|
Or.sprintf = b, Or.printf = s, Or.fprintf = a;
|
|
16305
16305
|
function b(l) {
|
|
@@ -16420,10 +16420,10 @@ Caused by: ` + f(r));
|
|
|
16420
16420
|
}
|
|
16421
16421
|
return Or;
|
|
16422
16422
|
}
|
|
16423
|
-
var ht = {},
|
|
16424
|
-
function
|
|
16425
|
-
if (
|
|
16426
|
-
|
|
16423
|
+
var ht = {}, Uu;
|
|
16424
|
+
function wd() {
|
|
16425
|
+
if (Uu) return ht;
|
|
16426
|
+
Uu = 1;
|
|
16427
16427
|
function i(d) {
|
|
16428
16428
|
return Array.isArray ? Array.isArray(d) : u(d) === "[object Array]";
|
|
16429
16429
|
}
|
|
@@ -16486,11 +16486,11 @@ function xd() {
|
|
|
16486
16486
|
}
|
|
16487
16487
|
return ht;
|
|
16488
16488
|
}
|
|
16489
|
-
var co,
|
|
16490
|
-
function
|
|
16491
|
-
if (
|
|
16492
|
-
|
|
16493
|
-
var i =
|
|
16489
|
+
var co, ju;
|
|
16490
|
+
function a0() {
|
|
16491
|
+
if (ju) return co;
|
|
16492
|
+
ju = 1;
|
|
16493
|
+
var i = md(), h = Ft(), b = _d(), y = wd().isError, s = b.sprintf;
|
|
16494
16494
|
co = p, p.VError = p, p.SError = f, p.WError = n, p.MultiError = l;
|
|
16495
16495
|
function a(r) {
|
|
16496
16496
|
var e, t, o, u, d;
|
|
@@ -16596,10 +16596,10 @@ caused by: ` + p.fullStack(e) : r.stack;
|
|
|
16596
16596
|
return y(e) && (this.jse_cause = e), this.jse_cause;
|
|
16597
16597
|
}, co;
|
|
16598
16598
|
}
|
|
16599
|
-
var Qr = {}, Nr = {},
|
|
16599
|
+
var Qr = {}, Nr = {}, zu;
|
|
16600
16600
|
function xn() {
|
|
16601
|
-
if (
|
|
16602
|
-
|
|
16601
|
+
if (zu) return Nr;
|
|
16602
|
+
zu = 1;
|
|
16603
16603
|
/**
|
|
16604
16604
|
* @file Hive asset type definitions and helpers.
|
|
16605
16605
|
* @author Johan Nordberg <code@johan-nordberg.com>
|
|
@@ -16794,10 +16794,10 @@ function xn() {
|
|
|
16794
16794
|
}
|
|
16795
16795
|
return Nr.Price = b, Nr;
|
|
16796
16796
|
}
|
|
16797
|
-
var nr = {},
|
|
16798
|
-
function
|
|
16799
|
-
if (
|
|
16800
|
-
|
|
16797
|
+
var nr = {}, Vu;
|
|
16798
|
+
function o0() {
|
|
16799
|
+
if (Vu) return nr;
|
|
16800
|
+
Vu = 1, Object.defineProperty(nr, "__esModule", { value: !0 });
|
|
16801
16801
|
const i = xn();
|
|
16802
16802
|
class h {
|
|
16803
16803
|
constructor(a) {
|
|
@@ -16829,10 +16829,10 @@ function f0() {
|
|
|
16829
16829
|
}
|
|
16830
16830
|
return nr.getVests = y, nr;
|
|
16831
16831
|
}
|
|
16832
|
-
var
|
|
16832
|
+
var Hu;
|
|
16833
16833
|
function qo() {
|
|
16834
|
-
if (
|
|
16835
|
-
|
|
16834
|
+
if (Hu) return Qr;
|
|
16835
|
+
Hu = 1;
|
|
16836
16836
|
/**
|
|
16837
16837
|
* @file Hive protocol serialization.
|
|
16838
16838
|
* @author Johan Nordberg <code@johan-nordberg.com>
|
|
@@ -16868,7 +16868,7 @@ function qo() {
|
|
|
16868
16868
|
* in the design, construction, operation or maintenance of any military facility.
|
|
16869
16869
|
*/
|
|
16870
16870
|
Object.defineProperty(Qr, "__esModule", { value: !0 });
|
|
16871
|
-
const i = gr(), h = xn(), b =
|
|
16871
|
+
const i = gr(), h = xn(), b = o0(), y = (O) => {
|
|
16872
16872
|
throw new Error("Void can not be serialized");
|
|
16873
16873
|
}, s = (O, v) => {
|
|
16874
16874
|
O.writeVString(v);
|
|
@@ -17284,13 +17284,13 @@ function qo() {
|
|
|
17284
17284
|
Void: y
|
|
17285
17285
|
}, Qr;
|
|
17286
17286
|
}
|
|
17287
|
-
var Dr = {}, Zr = {},
|
|
17288
|
-
function
|
|
17289
|
-
return
|
|
17287
|
+
var Dr = {}, Zr = {}, $u;
|
|
17288
|
+
function xd() {
|
|
17289
|
+
return $u || ($u = 1, Object.defineProperty(Zr, "__esModule", { value: !0 }), Zr.default = "1.3.2"), Zr;
|
|
17290
17290
|
}
|
|
17291
|
-
var At = {}, dt = {}, Xr = { exports: {} },
|
|
17292
|
-
function
|
|
17293
|
-
return
|
|
17291
|
+
var At = {}, dt = {}, Xr = { exports: {} }, Ku;
|
|
17292
|
+
function Ed() {
|
|
17293
|
+
return Ku || (Ku = 1, function(i, h) {
|
|
17294
17294
|
var b = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof yt < "u" && yt, y = function() {
|
|
17295
17295
|
function a() {
|
|
17296
17296
|
this.fetch = !1, this.DOMException = b.DOMException;
|
|
@@ -17629,12 +17629,12 @@ function Sd() {
|
|
|
17629
17629
|
h = s.fetch, h.default = s.fetch, h.fetch = s.fetch, h.Headers = s.Headers, h.Request = s.Request, h.Response = s.Response, i.exports = h;
|
|
17630
17630
|
}(Xr, Xr.exports)), Xr.exports;
|
|
17631
17631
|
}
|
|
17632
|
-
var cn = { exports: {} },
|
|
17633
|
-
function
|
|
17634
|
-
return
|
|
17632
|
+
var cn = { exports: {} }, Sd = cn.exports, Gu;
|
|
17633
|
+
function Ad() {
|
|
17634
|
+
return Gu || (Gu = 1, function(i, h) {
|
|
17635
17635
|
(function(b, y) {
|
|
17636
17636
|
i.exports = y();
|
|
17637
|
-
})(
|
|
17637
|
+
})(Sd, function() {
|
|
17638
17638
|
var b = Math.imul, y = Math.clz32, s = Math.abs, a = Math.max, p = Math.floor;
|
|
17639
17639
|
class f extends Array {
|
|
17640
17640
|
constructor(n, r) {
|
|
@@ -18648,10 +18648,10 @@ function Id() {
|
|
|
18648
18648
|
});
|
|
18649
18649
|
}(cn)), cn.exports;
|
|
18650
18650
|
}
|
|
18651
|
-
var
|
|
18651
|
+
var Yu;
|
|
18652
18652
|
function Lo() {
|
|
18653
|
-
if (
|
|
18654
|
-
|
|
18653
|
+
if (Yu) return dt;
|
|
18654
|
+
Yu = 1;
|
|
18655
18655
|
/**
|
|
18656
18656
|
* @file Misc utility functions.
|
|
18657
18657
|
* @author Johan Nordberg <code@johan-nordberg.com>
|
|
@@ -18732,7 +18732,7 @@ function Lo() {
|
|
|
18732
18732
|
}
|
|
18733
18733
|
};
|
|
18734
18734
|
Object.defineProperty(dt, "__esModule", { value: !0 });
|
|
18735
|
-
const b =
|
|
18735
|
+
const b = Ed(), y = Oo(), s = ["timeout", "ENOTFOUND", "ECONNREFUSED", "database lock", "CERT_HAS_EXPIRED", "EHOSTUNREACH", "ECONNRESET", "ERR_TLS_CERT_ALTNAME_INVALID", "EAI_AGAIN"];
|
|
18736
18736
|
function a(g, w) {
|
|
18737
18737
|
return new Promise((E, I) => {
|
|
18738
18738
|
g.once(w, E);
|
|
@@ -18845,7 +18845,7 @@ function Lo() {
|
|
|
18845
18845
|
}
|
|
18846
18846
|
return E.props.sort((I, P) => I[0].localeCompare(P[0])), ["witness_set_properties", E];
|
|
18847
18847
|
};
|
|
18848
|
-
const u =
|
|
18848
|
+
const u = Ad();
|
|
18849
18849
|
dt.operationOrders = {
|
|
18850
18850
|
vote: 0,
|
|
18851
18851
|
// tslint:disable-next-line: object-literal-sort-keys
|
|
@@ -18948,9 +18948,9 @@ function Lo() {
|
|
|
18948
18948
|
];
|
|
18949
18949
|
return dt;
|
|
18950
18950
|
}
|
|
18951
|
-
var
|
|
18952
|
-
function
|
|
18953
|
-
return
|
|
18951
|
+
var Wu;
|
|
18952
|
+
function Id() {
|
|
18953
|
+
return Wu || (Wu = 1, function(i) {
|
|
18954
18954
|
/**
|
|
18955
18955
|
* @file Hive blockchain helpers.
|
|
18956
18956
|
* @author Johan Nordberg <code@johan-nordberg.com>
|
|
@@ -19190,10 +19190,10 @@ function Bd() {
|
|
|
19190
19190
|
i.Blockchain = f;
|
|
19191
19191
|
}(At)), At;
|
|
19192
19192
|
}
|
|
19193
|
-
var ir = {}, en = {},
|
|
19194
|
-
function
|
|
19195
|
-
if (
|
|
19196
|
-
|
|
19193
|
+
var ir = {}, en = {}, Ju;
|
|
19194
|
+
function Bd() {
|
|
19195
|
+
if (Ju) return en;
|
|
19196
|
+
Ju = 1;
|
|
19197
19197
|
/**
|
|
19198
19198
|
* @file Hive account type definitions.
|
|
19199
19199
|
* @author Johan Nordberg <code@johan-nordberg.com>
|
|
@@ -19247,10 +19247,10 @@ function Td() {
|
|
|
19247
19247
|
}
|
|
19248
19248
|
return en.Authority = h, en;
|
|
19249
19249
|
}
|
|
19250
|
-
var
|
|
19251
|
-
function
|
|
19252
|
-
if (
|
|
19253
|
-
|
|
19250
|
+
var Qu;
|
|
19251
|
+
function Td() {
|
|
19252
|
+
if (Qu) return ir;
|
|
19253
|
+
Qu = 1;
|
|
19254
19254
|
/**
|
|
19255
19255
|
* @file Broadcast API helpers.
|
|
19256
19256
|
* @author Johan Nordberg <code@johan-nordberg.com>
|
|
@@ -19313,7 +19313,7 @@ function Rd() {
|
|
|
19313
19313
|
});
|
|
19314
19314
|
};
|
|
19315
19315
|
Object.defineProperty(ir, "__esModule", { value: !0 });
|
|
19316
|
-
const h = wt(), b =
|
|
19316
|
+
const h = wt(), b = Bd(), y = xn(), s = gr();
|
|
19317
19317
|
class a {
|
|
19318
19318
|
constructor(f) {
|
|
19319
19319
|
this.client = f, this.expireTime = 60 * 1e3;
|
|
@@ -19509,10 +19509,10 @@ function Rd() {
|
|
|
19509
19509
|
}
|
|
19510
19510
|
return ir.BroadcastAPI = a, ir;
|
|
19511
19511
|
}
|
|
19512
|
-
var ar = {},
|
|
19513
|
-
function
|
|
19514
|
-
if (
|
|
19515
|
-
|
|
19512
|
+
var ar = {}, Zu;
|
|
19513
|
+
function Rd() {
|
|
19514
|
+
if (Zu) return ar;
|
|
19515
|
+
Zu = 1;
|
|
19516
19516
|
/**
|
|
19517
19517
|
* @file Database API helpers.
|
|
19518
19518
|
* @author Johan Nordberg <code@johan-nordberg.com>
|
|
@@ -19732,10 +19732,10 @@ function Md() {
|
|
|
19732
19732
|
}
|
|
19733
19733
|
return ar.DatabaseAPI = b, ar;
|
|
19734
19734
|
}
|
|
19735
|
-
var tn = {},
|
|
19736
|
-
function
|
|
19737
|
-
if (
|
|
19738
|
-
|
|
19735
|
+
var tn = {}, Xu;
|
|
19736
|
+
function Md() {
|
|
19737
|
+
if (Xu) return tn;
|
|
19738
|
+
Xu = 1, Object.defineProperty(tn, "__esModule", { value: !0 });
|
|
19739
19739
|
class i {
|
|
19740
19740
|
constructor(b) {
|
|
19741
19741
|
this.client = b;
|
|
@@ -19795,10 +19795,10 @@ function Pd() {
|
|
|
19795
19795
|
}
|
|
19796
19796
|
return tn.HivemindAPI = i, tn;
|
|
19797
19797
|
}
|
|
19798
|
-
var or = {},
|
|
19799
|
-
function
|
|
19800
|
-
if (
|
|
19801
|
-
|
|
19798
|
+
var or = {}, ec;
|
|
19799
|
+
function Pd() {
|
|
19800
|
+
if (ec) return or;
|
|
19801
|
+
ec = 1;
|
|
19802
19802
|
var i = or && or.__awaiter || function(b, y, s, a) {
|
|
19803
19803
|
function p(f) {
|
|
19804
19804
|
return f instanceof s ? f : new s(function(l) {
|
|
@@ -19848,10 +19848,10 @@ function Fd() {
|
|
|
19848
19848
|
}
|
|
19849
19849
|
return or.AccountByKeyAPI = h, or;
|
|
19850
19850
|
}
|
|
19851
|
-
var fr = {},
|
|
19852
|
-
function
|
|
19853
|
-
if (
|
|
19854
|
-
|
|
19851
|
+
var fr = {}, tc;
|
|
19852
|
+
function Fd() {
|
|
19853
|
+
if (tc) return fr;
|
|
19854
|
+
tc = 1;
|
|
19855
19855
|
var i = fr && fr.__awaiter || function(y, s, a, p) {
|
|
19856
19856
|
function f(l) {
|
|
19857
19857
|
return l instanceof a ? l : new a(function(n) {
|
|
@@ -19880,7 +19880,7 @@ function Od() {
|
|
|
19880
19880
|
});
|
|
19881
19881
|
};
|
|
19882
19882
|
Object.defineProperty(fr, "__esModule", { value: !0 });
|
|
19883
|
-
const h =
|
|
19883
|
+
const h = o0();
|
|
19884
19884
|
class b {
|
|
19885
19885
|
constructor(s) {
|
|
19886
19886
|
this.client = s;
|
|
@@ -19958,10 +19958,10 @@ function Od() {
|
|
|
19958
19958
|
}
|
|
19959
19959
|
return fr.RCAPI = b, fr;
|
|
19960
19960
|
}
|
|
19961
|
-
var sr = {},
|
|
19962
|
-
function
|
|
19963
|
-
if (
|
|
19964
|
-
|
|
19961
|
+
var sr = {}, rc;
|
|
19962
|
+
function Od() {
|
|
19963
|
+
if (rc) return sr;
|
|
19964
|
+
rc = 1;
|
|
19965
19965
|
var i = sr && sr.__awaiter || function(b, y, s, a) {
|
|
19966
19966
|
function p(f) {
|
|
19967
19967
|
return f instanceof s ? f : new s(function(l) {
|
|
@@ -20014,9 +20014,9 @@ function Nd() {
|
|
|
20014
20014
|
}
|
|
20015
20015
|
return sr.TransactionStatusAPI = h, sr;
|
|
20016
20016
|
}
|
|
20017
|
-
var
|
|
20018
|
-
function
|
|
20019
|
-
return
|
|
20017
|
+
var nc;
|
|
20018
|
+
function Nd() {
|
|
20019
|
+
return nc || (nc = 1, function(i) {
|
|
20020
20020
|
/**
|
|
20021
20021
|
* @file Hive RPC client implementation.
|
|
20022
20022
|
* @author Johan Nordberg <code@johan-nordberg.com>
|
|
@@ -20079,7 +20079,7 @@ function Dd() {
|
|
|
20079
20079
|
});
|
|
20080
20080
|
};
|
|
20081
20081
|
Object.defineProperty(i, "__esModule", { value: !0 });
|
|
20082
|
-
const b = wt(), y =
|
|
20082
|
+
const b = wt(), y = a0(), s = xd(), a = Id(), p = Td(), f = Rd(), l = Md(), n = Pd(), r = Fd(), e = Od(), t = Lo();
|
|
20083
20083
|
i.VERSION = s.default, i.DEFAULT_CHAIN_ID = Ke.from("beeab0de00000000000000000000000000000000000000000000000000000000", "hex"), i.DEFAULT_ADDRESS_PREFIX = "STM";
|
|
20084
20084
|
class o {
|
|
20085
20085
|
/**
|
|
@@ -20160,9 +20160,9 @@ function Dd() {
|
|
|
20160
20160
|
const u = (d) => Math.min(Math.pow(d * 10, 2), 10 * 1e3);
|
|
20161
20161
|
}(Dr)), Dr;
|
|
20162
20162
|
}
|
|
20163
|
-
var
|
|
20163
|
+
var ic;
|
|
20164
20164
|
function gr() {
|
|
20165
|
-
return
|
|
20165
|
+
return ic || (ic = 1, function(i) {
|
|
20166
20166
|
/**
|
|
20167
20167
|
* @file Hive crypto helpers.
|
|
20168
20168
|
* @author Johan Nordberg <code@johan-nordberg.com>
|
|
@@ -20198,7 +20198,7 @@ function gr() {
|
|
|
20198
20198
|
* in the design, construction, operation or maintenance of any military facility.
|
|
20199
20199
|
*/
|
|
20200
20200
|
Object.defineProperty(i, "__esModule", { value: !0 });
|
|
20201
|
-
const h = wt(), b =
|
|
20201
|
+
const h = wt(), b = pc, y = mn(), s = Uc(), a = Ur(), p = Qh(), f = Wc(), l = vd(), n = a0(), r = qo(), e = Nd(), t = Lo(), o = p.getCurveByName("secp256k1");
|
|
20202
20202
|
i.NETWORK_ID = Ke.from([128]);
|
|
20203
20203
|
function u(A) {
|
|
20204
20204
|
return new f().update(A).digest();
|
|
@@ -20442,19 +20442,19 @@ function gr() {
|
|
|
20442
20442
|
};
|
|
20443
20443
|
}(An)), An;
|
|
20444
20444
|
}
|
|
20445
|
-
var
|
|
20446
|
-
function
|
|
20445
|
+
var Dd = gr();
|
|
20446
|
+
function qd(i, h, b) {
|
|
20447
20447
|
const y = zt.fromString(h), s = b ? Ke.from(b, "hex") : void 0;
|
|
20448
|
-
return
|
|
20448
|
+
return Dd.cryptoUtils.signTransaction(i, y, s);
|
|
20449
20449
|
}
|
|
20450
|
-
async function
|
|
20451
|
-
const s =
|
|
20450
|
+
async function Vp(i, h, b, y) {
|
|
20451
|
+
const s = qd(h, b, y);
|
|
20452
20452
|
return i.broadcast.send(s);
|
|
20453
20453
|
}
|
|
20454
|
-
var rn = {}, nn = {},
|
|
20455
|
-
function
|
|
20456
|
-
if (
|
|
20457
|
-
|
|
20454
|
+
var rn = {}, nn = {}, ac;
|
|
20455
|
+
function Ld() {
|
|
20456
|
+
if (ac) return nn;
|
|
20457
|
+
ac = 1, Object.defineProperty(nn, "__esModule", { value: !0 });
|
|
20458
20458
|
const i = Ur(), h = gr(), b = (n) => {
|
|
20459
20459
|
const r = f(n, 33);
|
|
20460
20460
|
return h.PublicKey.fromBuffer(r);
|
|
@@ -20489,11 +20489,11 @@ function kd() {
|
|
|
20489
20489
|
EncryptedMemoD: l
|
|
20490
20490
|
}, nn;
|
|
20491
20491
|
}
|
|
20492
|
-
var ho = {},
|
|
20493
|
-
function
|
|
20494
|
-
return
|
|
20492
|
+
var ho = {}, oc;
|
|
20493
|
+
function kd() {
|
|
20494
|
+
return oc || (oc = 1, function(i) {
|
|
20495
20495
|
Object.defineProperty(i, "__esModule", { value: !0 });
|
|
20496
|
-
const h = wt(), b =
|
|
20496
|
+
const h = wt(), b = pc, y = Ur(), s = y.Long;
|
|
20497
20497
|
i.encrypt = (n, r, e, t = f()) => a(n, r, t, e), i.decrypt = (n, r, e, t, o) => a(n, r, e, t, o).message;
|
|
20498
20498
|
const a = (n, r, e, t, o) => {
|
|
20499
20499
|
const u = l(e), d = n.get_shared_secret(r);
|
|
@@ -20535,11 +20535,11 @@ function Cd() {
|
|
|
20535
20535
|
}, l = (n) => n && (s.isLong(n) ? n : s.fromString(n));
|
|
20536
20536
|
}(ho)), ho;
|
|
20537
20537
|
}
|
|
20538
|
-
var
|
|
20539
|
-
function
|
|
20540
|
-
if (
|
|
20541
|
-
|
|
20542
|
-
const i =
|
|
20538
|
+
var fc;
|
|
20539
|
+
function Cd() {
|
|
20540
|
+
if (fc) return rn;
|
|
20541
|
+
fc = 1, Object.defineProperty(rn, "__esModule", { value: !0 });
|
|
20542
|
+
const i = Uc(), h = Ur(), b = Ld(), y = qo(), s = gr(), a = kd(), p = (t, o, u, d) => {
|
|
20543
20543
|
if (!u.startsWith("#"))
|
|
20544
20544
|
return u;
|
|
20545
20545
|
u = u.substring(1), n(), t = r(t), o = e(o);
|
|
@@ -20591,27 +20591,27 @@ function Ud() {
|
|
|
20591
20591
|
encode: p
|
|
20592
20592
|
}, rn;
|
|
20593
20593
|
}
|
|
20594
|
-
var ko =
|
|
20595
|
-
function
|
|
20594
|
+
var ko = Cd();
|
|
20595
|
+
function Hp(i, h, b) {
|
|
20596
20596
|
return ko.Memo.encode(zt.fromString(i), h, b);
|
|
20597
20597
|
}
|
|
20598
|
-
async function
|
|
20598
|
+
async function $p(i, h, b, y) {
|
|
20599
20599
|
const [s] = await i.database.getAccounts([b]);
|
|
20600
20600
|
if (!s)
|
|
20601
20601
|
throw new Error("Account not found");
|
|
20602
20602
|
return ko.Memo.encode(zt.fromString(h), s.memo_key, y);
|
|
20603
20603
|
}
|
|
20604
|
-
function
|
|
20604
|
+
function Ud(i, h) {
|
|
20605
20605
|
return ko.Memo.decode(zt.fromString(i), h);
|
|
20606
20606
|
}
|
|
20607
|
-
const
|
|
20608
|
-
async function
|
|
20607
|
+
const Kp = Ud;
|
|
20608
|
+
async function jd(i, h) {
|
|
20609
20609
|
const b = mo(i);
|
|
20610
20610
|
if (!b) throw new Error("Unsupported currency");
|
|
20611
20611
|
return b.signTransaction(h);
|
|
20612
20612
|
}
|
|
20613
|
-
async function
|
|
20614
|
-
const b = await
|
|
20613
|
+
async function Gp(i, h) {
|
|
20614
|
+
const b = await jd(i, h);
|
|
20615
20615
|
switch (i) {
|
|
20616
20616
|
case ke.BTC: {
|
|
20617
20617
|
const y = await fetch("https://mempool.space/api/tx", {
|
|
@@ -20690,8 +20690,11 @@ async function Yp(i, h) {
|
|
|
20690
20690
|
throw new Error("Unsupported currency");
|
|
20691
20691
|
}
|
|
20692
20692
|
}
|
|
20693
|
-
function
|
|
20694
|
-
return
|
|
20693
|
+
function zd(i, h, b) {
|
|
20694
|
+
return v0(i, h, b);
|
|
20695
|
+
}
|
|
20696
|
+
function Yp(i) {
|
|
20697
|
+
return i;
|
|
20695
20698
|
}
|
|
20696
20699
|
function Wp(i) {
|
|
20697
20700
|
return i;
|
|
@@ -20705,13 +20708,10 @@ function Qp(i) {
|
|
|
20705
20708
|
function Zp(i) {
|
|
20706
20709
|
return i;
|
|
20707
20710
|
}
|
|
20708
|
-
function Xp(i) {
|
|
20709
|
-
return i;
|
|
20710
|
-
}
|
|
20711
|
-
function e1(i, h) {
|
|
20711
|
+
function Xp(i, h) {
|
|
20712
20712
|
switch (i) {
|
|
20713
20713
|
case ke.BTC:
|
|
20714
|
-
return
|
|
20714
|
+
return zd(h);
|
|
20715
20715
|
case ke.ETH:
|
|
20716
20716
|
case ke.BNB:
|
|
20717
20717
|
return h;
|
|
@@ -20727,17 +20727,17 @@ function e1(i, h) {
|
|
|
20727
20727
|
throw new Error("Unsupported currency");
|
|
20728
20728
|
}
|
|
20729
20729
|
}
|
|
20730
|
-
function
|
|
20731
|
-
const { data: h } =
|
|
20730
|
+
function Vd(i) {
|
|
20731
|
+
const { data: h } = bc(i);
|
|
20732
20732
|
return Wt({
|
|
20733
20733
|
queryKey: ["ecencу-wallets", "hive-keys", i, h],
|
|
20734
20734
|
staleTime: 1 / 0,
|
|
20735
20735
|
queryFn: async () => {
|
|
20736
20736
|
if (!h)
|
|
20737
20737
|
throw new Error("[Ecency][Wallets] - no seed to create Hive account");
|
|
20738
|
-
const y = await
|
|
20738
|
+
const y = await D0(i, h).catch(
|
|
20739
20739
|
() => "bip44"
|
|
20740
|
-
) === "master-password" ?
|
|
20740
|
+
) === "master-password" ? N0(i, h) : vc(h);
|
|
20741
20741
|
return {
|
|
20742
20742
|
username: i,
|
|
20743
20743
|
...y
|
|
@@ -20745,29 +20745,29 @@ function Hd(i) {
|
|
|
20745
20745
|
}
|
|
20746
20746
|
});
|
|
20747
20747
|
}
|
|
20748
|
-
var
|
|
20748
|
+
var f0 = /* @__PURE__ */ ((i) => (i.HIVE = "HIVE", i.HBD = "HBD", i.VESTS = "VESTS", i.SPK = "SPK", i))(f0 || {}), s0 = /* @__PURE__ */ ((i) => (i["@@000000021"] = "HIVE", i["@@000000013"] = "HBD", i["@@000000037"] = "VESTS", i))(s0 || {});
|
|
20749
20749
|
function et(i) {
|
|
20750
20750
|
if (typeof i == "string") {
|
|
20751
20751
|
const h = i.split(" ");
|
|
20752
20752
|
return {
|
|
20753
20753
|
amount: parseFloat(h[0]),
|
|
20754
20754
|
// @ts-ignore
|
|
20755
|
-
symbol:
|
|
20755
|
+
symbol: f0[h[1]]
|
|
20756
20756
|
};
|
|
20757
20757
|
} else
|
|
20758
20758
|
return {
|
|
20759
20759
|
amount: parseFloat(i.amount.toString()) / Math.pow(10, i.precision),
|
|
20760
20760
|
// @ts-ignore
|
|
20761
|
-
symbol:
|
|
20761
|
+
symbol: s0[i.nai]
|
|
20762
20762
|
};
|
|
20763
20763
|
}
|
|
20764
|
-
function
|
|
20764
|
+
function e1(i) {
|
|
20765
20765
|
return i === void 0 ? !0 : parseInt(i.split("-")[0], 10) < 1980;
|
|
20766
20766
|
}
|
|
20767
20767
|
function lo(i, h) {
|
|
20768
20768
|
return i / 1e6 * h;
|
|
20769
20769
|
}
|
|
20770
|
-
function
|
|
20770
|
+
function Hd(i, h) {
|
|
20771
20771
|
let b = 0, y = 0, s = 0, a = 0, p = i.head_block - i.spk_block;
|
|
20772
20772
|
if (i.spk_block) {
|
|
20773
20773
|
if (p < 28800)
|
|
@@ -20809,13 +20809,13 @@ function jt(i) {
|
|
|
20809
20809
|
}
|
|
20810
20810
|
});
|
|
20811
20811
|
}
|
|
20812
|
-
function
|
|
20812
|
+
function $d(i) {
|
|
20813
20813
|
let l = 9.5 - (i.headBlock - 7e6) / 25e4 * 0.01;
|
|
20814
20814
|
l < 0.95 && (l = 0.95);
|
|
20815
20815
|
const n = i.vestingRewardPercent / 1e4, r = i.virtualSupply, e = i.totalVestingFund;
|
|
20816
20816
|
return (r * l * n / e).toFixed(3);
|
|
20817
20817
|
}
|
|
20818
|
-
function
|
|
20818
|
+
function u0(i) {
|
|
20819
20819
|
return it({
|
|
20820
20820
|
queryKey: ["assets", "hive-power", "general-info", i],
|
|
20821
20821
|
staleTime: 6e4,
|
|
@@ -20845,7 +20845,7 @@ function c0(i) {
|
|
|
20845
20845
|
// nextVestingSharesWithdrawal,
|
|
20846
20846
|
h.hivePerMVests
|
|
20847
20847
|
).toFixed(3),
|
|
20848
|
-
apr:
|
|
20848
|
+
apr: $d(h),
|
|
20849
20849
|
parts: [
|
|
20850
20850
|
{
|
|
20851
20851
|
name: "delegating",
|
|
@@ -20866,7 +20866,7 @@ function c0(i) {
|
|
|
20866
20866
|
}
|
|
20867
20867
|
});
|
|
20868
20868
|
}
|
|
20869
|
-
function
|
|
20869
|
+
function Kd(i) {
|
|
20870
20870
|
return it({
|
|
20871
20871
|
queryKey: ["assets", "hbd", "general-info", i],
|
|
20872
20872
|
staleTime: 6e4,
|
|
@@ -20945,7 +20945,7 @@ const Ze = $t.operationOrders, qr = {
|
|
|
20945
20945
|
Ze.proposal_pay
|
|
20946
20946
|
]
|
|
20947
20947
|
};
|
|
20948
|
-
function
|
|
20948
|
+
function c0(i, h = 20, b) {
|
|
20949
20949
|
return Lr({
|
|
20950
20950
|
queryKey: ["assets", "hive", "transactions", i, h, b],
|
|
20951
20951
|
initialData: { pages: [], pageParams: [] },
|
|
@@ -21040,9 +21040,9 @@ function h0(i, h = 20, b) {
|
|
|
21040
21040
|
})
|
|
21041
21041
|
});
|
|
21042
21042
|
}
|
|
21043
|
-
function
|
|
21043
|
+
function t1(i, h = 20, b) {
|
|
21044
21044
|
return Lr({
|
|
21045
|
-
...
|
|
21045
|
+
...c0(i, h, b),
|
|
21046
21046
|
queryKey: ["assets", "hive-power", "transactions", i, h, b],
|
|
21047
21047
|
select: ({ pages: y, pageParams: s }) => ({
|
|
21048
21048
|
pageParams: s,
|
|
@@ -21082,9 +21082,9 @@ function r1(i, h = 20, b) {
|
|
|
21082
21082
|
})
|
|
21083
21083
|
});
|
|
21084
21084
|
}
|
|
21085
|
-
function
|
|
21085
|
+
function r1(i, h = 20, b) {
|
|
21086
21086
|
return Lr({
|
|
21087
|
-
...
|
|
21087
|
+
...c0(i, h, b),
|
|
21088
21088
|
queryKey: ["assets", "hbd", "transactions", i, h, b],
|
|
21089
21089
|
select: ({ pages: y, pageParams: s }) => ({
|
|
21090
21090
|
pageParams: s,
|
|
@@ -21117,7 +21117,7 @@ function n1(i, h = 20, b) {
|
|
|
21117
21117
|
})
|
|
21118
21118
|
});
|
|
21119
21119
|
}
|
|
21120
|
-
function
|
|
21120
|
+
function n1(i = 86400) {
|
|
21121
21121
|
return Lr({
|
|
21122
21122
|
queryKey: ["assets", "hive", "metrics", i],
|
|
21123
21123
|
queryFn: async ({ pageParam: [h, b] }) => (await $e.hiveClient.call(
|
|
@@ -21147,7 +21147,7 @@ function i1(i = 86400) {
|
|
|
21147
21147
|
]
|
|
21148
21148
|
});
|
|
21149
21149
|
}
|
|
21150
|
-
function
|
|
21150
|
+
function i1(i) {
|
|
21151
21151
|
return it({
|
|
21152
21152
|
queryKey: ["assets", "hive", "withdrawal-routes", i],
|
|
21153
21153
|
queryFn: () => $e.hiveClient.database.call("get_withdraw_routes", [
|
|
@@ -21156,7 +21156,7 @@ function a1(i) {
|
|
|
21156
21156
|
])
|
|
21157
21157
|
});
|
|
21158
21158
|
}
|
|
21159
|
-
function
|
|
21159
|
+
function a1(i, h = 50) {
|
|
21160
21160
|
return it({
|
|
21161
21161
|
queryKey: ["assets", "hive-power", "delegates", i],
|
|
21162
21162
|
enabled: !!i,
|
|
@@ -21167,7 +21167,7 @@ function o1(i, h = 50) {
|
|
|
21167
21167
|
])
|
|
21168
21168
|
});
|
|
21169
21169
|
}
|
|
21170
|
-
function
|
|
21170
|
+
function o1(i) {
|
|
21171
21171
|
return it({
|
|
21172
21172
|
queryKey: ["assets", "hive-power", "delegatings", i],
|
|
21173
21173
|
queryFn: async () => (await (await fetch(
|
|
@@ -21183,7 +21183,7 @@ function f1(i) {
|
|
|
21183
21183
|
)
|
|
21184
21184
|
});
|
|
21185
21185
|
}
|
|
21186
|
-
async function
|
|
21186
|
+
async function sc(i) {
|
|
21187
21187
|
const b = et(i.amount).symbol;
|
|
21188
21188
|
if (i.type === "key" && "key" in i) {
|
|
21189
21189
|
const { key: y, type: s, ...a } = i;
|
|
@@ -21227,14 +21227,14 @@ async function uc(i) {
|
|
|
21227
21227
|
}
|
|
21228
21228
|
);
|
|
21229
21229
|
}
|
|
21230
|
-
async function
|
|
21230
|
+
async function uc(i) {
|
|
21231
21231
|
if (i.type === "key" && "key" in i) {
|
|
21232
21232
|
const { key: h, type: b, ...y } = i;
|
|
21233
21233
|
return $e.hiveClient.broadcast.sendOperations(
|
|
21234
21234
|
[["transfer_to_savings", y]],
|
|
21235
21235
|
h
|
|
21236
21236
|
);
|
|
21237
|
-
} else return i.type === "keychain" ?
|
|
21237
|
+
} else return i.type === "keychain" ? Lt.broadcast(
|
|
21238
21238
|
i.from,
|
|
21239
21239
|
[["transfer_to_savings", i]],
|
|
21240
21240
|
"Active"
|
|
@@ -21245,14 +21245,14 @@ async function cc(i) {
|
|
|
21245
21245
|
}
|
|
21246
21246
|
);
|
|
21247
21247
|
}
|
|
21248
|
-
async function
|
|
21248
|
+
async function Gd(i) {
|
|
21249
21249
|
if (i.type === "key" && "key" in i) {
|
|
21250
21250
|
const { key: h, type: b, ...y } = i;
|
|
21251
21251
|
return $e.hiveClient.broadcast.sendOperations(
|
|
21252
21252
|
[["transfer_to_vesting", y]],
|
|
21253
21253
|
h
|
|
21254
21254
|
);
|
|
21255
|
-
} else return i.type === "keychain" ?
|
|
21255
|
+
} else return i.type === "keychain" ? Lt.broadcast(
|
|
21256
21256
|
i.from,
|
|
21257
21257
|
[["transfer_to_vesting", i]],
|
|
21258
21258
|
"Active"
|
|
@@ -21263,14 +21263,14 @@ async function Yd(i) {
|
|
|
21263
21263
|
}
|
|
21264
21264
|
);
|
|
21265
21265
|
}
|
|
21266
|
-
async function
|
|
21266
|
+
async function Yd(i) {
|
|
21267
21267
|
if (i.type === "key" && "key" in i) {
|
|
21268
21268
|
const { key: h, type: b, ...y } = i;
|
|
21269
21269
|
return $e.hiveClient.broadcast.sendOperations(
|
|
21270
21270
|
[["delegate_vesting_shares", y]],
|
|
21271
21271
|
h
|
|
21272
21272
|
);
|
|
21273
|
-
} else return i.type === "keychain" ?
|
|
21273
|
+
} else return i.type === "keychain" ? Lt.broadcast(
|
|
21274
21274
|
i.from,
|
|
21275
21275
|
[["delegate_vesting_shares", i]],
|
|
21276
21276
|
"Active"
|
|
@@ -21281,14 +21281,14 @@ async function Wd(i) {
|
|
|
21281
21281
|
}
|
|
21282
21282
|
);
|
|
21283
21283
|
}
|
|
21284
|
-
async function
|
|
21284
|
+
async function Wd(i) {
|
|
21285
21285
|
if (i.type === "key" && "key" in i) {
|
|
21286
21286
|
const { key: h, type: b, ...y } = i;
|
|
21287
21287
|
return $e.hiveClient.broadcast.sendOperations(
|
|
21288
21288
|
[["withdraw_vesting", y]],
|
|
21289
21289
|
h
|
|
21290
21290
|
);
|
|
21291
|
-
} else return i.type === "keychain" ?
|
|
21291
|
+
} else return i.type === "keychain" ? Lt.broadcast(
|
|
21292
21292
|
i.from,
|
|
21293
21293
|
[["withdraw_vesting", i]],
|
|
21294
21294
|
"Active"
|
|
@@ -21299,7 +21299,7 @@ async function Jd(i) {
|
|
|
21299
21299
|
}
|
|
21300
21300
|
);
|
|
21301
21301
|
}
|
|
21302
|
-
async function
|
|
21302
|
+
async function Jd(i) {
|
|
21303
21303
|
if (i.type === "key" && "key" in i) {
|
|
21304
21304
|
const { key: y, type: s, ...a } = i;
|
|
21305
21305
|
return $e.hiveClient.broadcast.sendOperations(
|
|
@@ -21309,7 +21309,7 @@ async function Qd(i) {
|
|
|
21309
21309
|
}
|
|
21310
21310
|
if (i.type === "keychain") {
|
|
21311
21311
|
const { type: y, ...s } = i;
|
|
21312
|
-
return
|
|
21312
|
+
return Lt.broadcast(
|
|
21313
21313
|
s.from_account,
|
|
21314
21314
|
[["set_withdraw_vesting_route", s]],
|
|
21315
21315
|
"Active"
|
|
@@ -21323,9 +21323,9 @@ async function Qd(i) {
|
|
|
21323
21323
|
}
|
|
21324
21324
|
);
|
|
21325
21325
|
}
|
|
21326
|
-
function
|
|
21326
|
+
function f1(i, h) {
|
|
21327
21327
|
const { data: b } = Wt(_t(i)), y = dn();
|
|
21328
|
-
return
|
|
21328
|
+
return l0(
|
|
21329
21329
|
["assets", "hive", "claim-rewards", b == null ? void 0 : b.name],
|
|
21330
21330
|
i,
|
|
21331
21331
|
() => {
|
|
@@ -21349,16 +21349,16 @@ function s1(i, h) {
|
|
|
21349
21349
|
];
|
|
21350
21350
|
},
|
|
21351
21351
|
async () => {
|
|
21352
|
-
h(), await
|
|
21352
|
+
h(), await gc(1e3), y.invalidateQueries({
|
|
21353
21353
|
queryKey: _t(i).queryKey
|
|
21354
21354
|
}), y.invalidateQueries({
|
|
21355
|
-
queryKey:
|
|
21355
|
+
queryKey: u0(i).queryKey
|
|
21356
21356
|
});
|
|
21357
21357
|
}
|
|
21358
21358
|
);
|
|
21359
21359
|
}
|
|
21360
21360
|
var ze = /* @__PURE__ */ ((i) => (i.Transfer = "transfer", i.TransferToSavings = "transfer-saving", i.Delegate = "delegate", i.PowerUp = "power-up", i.PowerDown = "power-down", i.WithdrawRoutes = "withdraw-saving", i.Swap = "swap", i.Gift = "gift", i.Promote = "promote", i.Claim = "claim", i.Buy = "buy", i.LockLiquidity = "lock", i.Stake = "stake", i.Unstake = "unstake", i.Undelegate = "undelegate", i))(ze || {});
|
|
21361
|
-
async function
|
|
21361
|
+
async function Qd(i) {
|
|
21362
21362
|
const h = JSON.stringify({
|
|
21363
21363
|
to: i.to,
|
|
21364
21364
|
amount: +i.amount * 1e3,
|
|
@@ -21374,7 +21374,7 @@ async function Zd(i) {
|
|
|
21374
21374
|
return $e.hiveClient.broadcast.json(b, y);
|
|
21375
21375
|
} else {
|
|
21376
21376
|
if (i.type === "keychain")
|
|
21377
|
-
return
|
|
21377
|
+
return Lt.customJson(
|
|
21378
21378
|
i.from,
|
|
21379
21379
|
i.id,
|
|
21380
21380
|
"Active",
|
|
@@ -21401,7 +21401,7 @@ async function Zd(i) {
|
|
|
21401
21401
|
}
|
|
21402
21402
|
}
|
|
21403
21403
|
}
|
|
21404
|
-
const
|
|
21404
|
+
const Zd = async (i) => {
|
|
21405
21405
|
const h = JSON.stringify({ amount: +i.amount * 1e3 }), b = {
|
|
21406
21406
|
id: i.mode === "lock" ? "spkcc_gov_up" : "spkcc_gov_down",
|
|
21407
21407
|
json: h,
|
|
@@ -21413,7 +21413,7 @@ const Xd = async (i) => {
|
|
|
21413
21413
|
return $e.hiveClient.broadcast.json(b, y);
|
|
21414
21414
|
} else {
|
|
21415
21415
|
if (i.type === "keychain")
|
|
21416
|
-
return
|
|
21416
|
+
return Lt.customJson(
|
|
21417
21417
|
i.from,
|
|
21418
21418
|
b.id,
|
|
21419
21419
|
"Active",
|
|
@@ -21436,7 +21436,7 @@ const Xd = async (i) => {
|
|
|
21436
21436
|
}
|
|
21437
21437
|
}
|
|
21438
21438
|
};
|
|
21439
|
-
async function
|
|
21439
|
+
async function Xd(i) {
|
|
21440
21440
|
const h = JSON.stringify({ amount: +i.amount * 1e3 }), b = {
|
|
21441
21441
|
id: `spkcc_power_${i.mode}`,
|
|
21442
21442
|
json: h,
|
|
@@ -21448,7 +21448,7 @@ async function ep(i) {
|
|
|
21448
21448
|
return $e.hiveClient.broadcast.json(b, y);
|
|
21449
21449
|
} else {
|
|
21450
21450
|
if (i.type === "keychain")
|
|
21451
|
-
return
|
|
21451
|
+
return Lt.customJson(
|
|
21452
21452
|
i.from,
|
|
21453
21453
|
`spkcc_power_${i.mode}`,
|
|
21454
21454
|
"Active",
|
|
@@ -21497,10 +21497,10 @@ function lr(i) {
|
|
|
21497
21497
|
refetchInterval: 9e4
|
|
21498
21498
|
});
|
|
21499
21499
|
}
|
|
21500
|
-
function
|
|
21500
|
+
function cc(i) {
|
|
21501
21501
|
return i.toFixed(3);
|
|
21502
21502
|
}
|
|
21503
|
-
function
|
|
21503
|
+
function ep(i) {
|
|
21504
21504
|
return it({
|
|
21505
21505
|
queryKey: ["assets", "larynx", "general-info", i],
|
|
21506
21506
|
staleTime: 6e4,
|
|
@@ -21523,9 +21523,9 @@ function tp(i) {
|
|
|
21523
21523
|
price: 1,
|
|
21524
21524
|
accountBalance: 0
|
|
21525
21525
|
};
|
|
21526
|
-
const s = +
|
|
21526
|
+
const s = +cc(
|
|
21527
21527
|
h.balance / 1e3 * +h.tick * ((y == null ? void 0 : y.price) ?? 0)
|
|
21528
|
-
), a = +
|
|
21528
|
+
), a = +cc(h.balance / 1e3);
|
|
21529
21529
|
return {
|
|
21530
21530
|
name: "LARYNX",
|
|
21531
21531
|
layer: "SPK",
|
|
@@ -21539,7 +21539,7 @@ function tp(i) {
|
|
|
21539
21539
|
function an(i) {
|
|
21540
21540
|
return i.toFixed(3);
|
|
21541
21541
|
}
|
|
21542
|
-
function
|
|
21542
|
+
function tp(i) {
|
|
21543
21543
|
return it({
|
|
21544
21544
|
queryKey: ["assets", "spk", "general-info", i],
|
|
21545
21545
|
staleTime: 6e4,
|
|
@@ -21565,7 +21565,7 @@ function rp(i) {
|
|
|
21565
21565
|
const s = +an(
|
|
21566
21566
|
(h.gov + h.spk) / 1e3 * +h.tick * ((y == null ? void 0 : y.price) ?? 0)
|
|
21567
21567
|
), a = +an(
|
|
21568
|
-
(h.spk +
|
|
21568
|
+
(h.spk + Hd(
|
|
21569
21569
|
h,
|
|
21570
21570
|
b.raw.stats || {
|
|
21571
21571
|
spk_rate_lgov: "0.001",
|
|
@@ -21590,7 +21590,7 @@ function rp(i) {
|
|
|
21590
21590
|
function on(i) {
|
|
21591
21591
|
return i.toFixed(3);
|
|
21592
21592
|
}
|
|
21593
|
-
function
|
|
21593
|
+
function rp(i) {
|
|
21594
21594
|
return it({
|
|
21595
21595
|
queryKey: ["assets", "larynx-power", "general-info", i],
|
|
21596
21596
|
staleTime: 6e4,
|
|
@@ -21715,7 +21715,7 @@ function Co(i) {
|
|
|
21715
21715
|
)).json()).result
|
|
21716
21716
|
});
|
|
21717
21717
|
}
|
|
21718
|
-
function
|
|
21718
|
+
function np() {
|
|
21719
21719
|
return it({
|
|
21720
21720
|
queryKey: ["assets", "hive-engine", "markets"],
|
|
21721
21721
|
staleTime: 6e4,
|
|
@@ -21739,7 +21739,7 @@ function ip() {
|
|
|
21739
21739
|
)).json()).result
|
|
21740
21740
|
});
|
|
21741
21741
|
}
|
|
21742
|
-
function
|
|
21742
|
+
function ip(i, h) {
|
|
21743
21743
|
return it({
|
|
21744
21744
|
queryKey: ["assets", "hive-engine", h, "general-info", i],
|
|
21745
21745
|
enabled: !!h && !!i,
|
|
@@ -21758,7 +21758,7 @@ function ap(i, h) {
|
|
|
21758
21758
|
await Ne().prefetchQuery(s);
|
|
21759
21759
|
const a = Ne().getQueryData(s.queryKey), p = Co(i);
|
|
21760
21760
|
await Ne().prefetchQuery(p);
|
|
21761
|
-
const f = Ne().getQueryData(p.queryKey), l =
|
|
21761
|
+
const f = Ne().getQueryData(p.queryKey), l = np();
|
|
21762
21762
|
await Ne().prefetchQuery(l);
|
|
21763
21763
|
const n = Ne().getQueryData(l.queryKey), r = a == null ? void 0 : a.find((u) => u.symbol === h), e = f == null ? void 0 : f.find((u) => u.symbol === h), t = n == null ? void 0 : n.find((u) => u.symbol === h), o = +((t == null ? void 0 : t.lastPrice) ?? "0");
|
|
21764
21764
|
return {
|
|
@@ -21771,7 +21771,7 @@ function ap(i, h) {
|
|
|
21771
21771
|
}
|
|
21772
21772
|
});
|
|
21773
21773
|
}
|
|
21774
|
-
function
|
|
21774
|
+
function s1(i, h, b = 20) {
|
|
21775
21775
|
return Lr({
|
|
21776
21776
|
queryKey: ["assets", "hive-engine", h, "transactions", i],
|
|
21777
21777
|
enabled: !!h && !!i,
|
|
@@ -21792,7 +21792,7 @@ function u1(i, h, b = 20) {
|
|
|
21792
21792
|
}
|
|
21793
21793
|
});
|
|
21794
21794
|
}
|
|
21795
|
-
function
|
|
21795
|
+
function u1(i, h = "daily") {
|
|
21796
21796
|
return it({
|
|
21797
21797
|
queryKey: ["assets", "hive-engine", i],
|
|
21798
21798
|
staleTime: 6e4,
|
|
@@ -21807,7 +21807,7 @@ function c1(i, h = "daily") {
|
|
|
21807
21807
|
}
|
|
21808
21808
|
});
|
|
21809
21809
|
}
|
|
21810
|
-
async function
|
|
21810
|
+
async function ap(i) {
|
|
21811
21811
|
const b = et(i.amount).amount.toString();
|
|
21812
21812
|
if (i.type === "key" && "key" in i) {
|
|
21813
21813
|
const { key: y, type: s, ...a } = i, p = {
|
|
@@ -21870,7 +21870,7 @@ async function op(i) {
|
|
|
21870
21870
|
}
|
|
21871
21871
|
);
|
|
21872
21872
|
}
|
|
21873
|
-
async function
|
|
21873
|
+
async function op(i) {
|
|
21874
21874
|
const b = et(i.amount).amount.toString();
|
|
21875
21875
|
if (i.type === "key" && "key" in i) {
|
|
21876
21876
|
const { key: y, type: s, ...a } = i, p = {
|
|
@@ -21933,7 +21933,7 @@ async function fp(i) {
|
|
|
21933
21933
|
}
|
|
21934
21934
|
);
|
|
21935
21935
|
}
|
|
21936
|
-
async function
|
|
21936
|
+
async function fp(i) {
|
|
21937
21937
|
const b = et(i.amount).amount.toString();
|
|
21938
21938
|
if (i.type === "key" && "key" in i) {
|
|
21939
21939
|
const { key: y, type: s, ...a } = i, p = {
|
|
@@ -21996,7 +21996,7 @@ async function sp(i) {
|
|
|
21996
21996
|
}
|
|
21997
21997
|
);
|
|
21998
21998
|
}
|
|
21999
|
-
async function
|
|
21999
|
+
async function sp(i) {
|
|
22000
22000
|
const b = et(i.amount).amount.toString();
|
|
22001
22001
|
if (i.type === "key" && "key" in i) {
|
|
22002
22002
|
const { key: y, type: s, ...a } = i, p = {
|
|
@@ -22059,7 +22059,7 @@ async function up(i) {
|
|
|
22059
22059
|
}
|
|
22060
22060
|
);
|
|
22061
22061
|
}
|
|
22062
|
-
async function
|
|
22062
|
+
async function up(i) {
|
|
22063
22063
|
const b = et(i.amount).amount.toString();
|
|
22064
22064
|
if (i.type === "key" && "key" in i) {
|
|
22065
22065
|
const { key: y, type: s, ...a } = i, p = {
|
|
@@ -22154,7 +22154,7 @@ function go(i) {
|
|
|
22154
22154
|
enabled: !!i
|
|
22155
22155
|
});
|
|
22156
22156
|
}
|
|
22157
|
-
function
|
|
22157
|
+
function cp(i) {
|
|
22158
22158
|
return it({
|
|
22159
22159
|
queryKey: ["assets", "points", "general-info", i],
|
|
22160
22160
|
staleTime: 6e4,
|
|
@@ -22173,7 +22173,7 @@ function hp(i) {
|
|
|
22173
22173
|
}
|
|
22174
22174
|
});
|
|
22175
22175
|
}
|
|
22176
|
-
function
|
|
22176
|
+
function c1(i, h) {
|
|
22177
22177
|
return it({
|
|
22178
22178
|
queryKey: ["assets", "points", "transactions", i, h],
|
|
22179
22179
|
queryFn: async () => (await (await fetch(
|
|
@@ -22198,8 +22198,8 @@ function h1(i, h) {
|
|
|
22198
22198
|
}))
|
|
22199
22199
|
});
|
|
22200
22200
|
}
|
|
22201
|
-
function
|
|
22202
|
-
const { mutateAsync: y } =
|
|
22201
|
+
function h1(i, h, b) {
|
|
22202
|
+
const { mutateAsync: y } = lc.useRecordActivity(
|
|
22203
22203
|
i,
|
|
22204
22204
|
"points-claimed"
|
|
22205
22205
|
);
|
|
@@ -22214,7 +22214,7 @@ function l1(i, h, b) {
|
|
|
22214
22214
|
headers: {
|
|
22215
22215
|
"Content-Type": "application/json"
|
|
22216
22216
|
},
|
|
22217
|
-
body: JSON.stringify({ code:
|
|
22217
|
+
body: JSON.stringify({ code: d0(i) })
|
|
22218
22218
|
});
|
|
22219
22219
|
},
|
|
22220
22220
|
onError: b,
|
|
@@ -22229,7 +22229,7 @@ function l1(i, h, b) {
|
|
|
22229
22229
|
}
|
|
22230
22230
|
});
|
|
22231
22231
|
}
|
|
22232
|
-
async function
|
|
22232
|
+
async function hp({
|
|
22233
22233
|
from: i,
|
|
22234
22234
|
to: h,
|
|
22235
22235
|
amount: b,
|
|
@@ -22255,15 +22255,15 @@ async function lp({
|
|
|
22255
22255
|
const { key: f } = a;
|
|
22256
22256
|
return $e.hiveClient.broadcast.sendOperations([p], f);
|
|
22257
22257
|
}
|
|
22258
|
-
return s === "keychain" ?
|
|
22258
|
+
return s === "keychain" ? Lt.broadcast(i, [p], "Active") : pt.sendOperation(
|
|
22259
22259
|
p,
|
|
22260
22260
|
{ callback: `https://ecency.com/@${i}/wallet` },
|
|
22261
22261
|
() => {
|
|
22262
22262
|
}
|
|
22263
22263
|
);
|
|
22264
22264
|
}
|
|
22265
|
-
var
|
|
22266
|
-
function
|
|
22265
|
+
var lp = /* @__PURE__ */ ((i) => (i[i.CHECKIN = 10] = "CHECKIN", i[i.LOGIN = 20] = "LOGIN", i[i.CHECKIN_EXTRA = 30] = "CHECKIN_EXTRA", i[i.POST = 100] = "POST", i[i.COMMENT = 110] = "COMMENT", i[i.VOTE = 120] = "VOTE", i[i.REBLOG = 130] = "REBLOG", i[i.DELEGATION = 150] = "DELEGATION", i[i.REFERRAL = 160] = "REFERRAL", i[i.COMMUNITY = 170] = "COMMUNITY", i[i.TRANSFER_SENT = 998] = "TRANSFER_SENT", i[i.TRANSFER_INCOMING = 999] = "TRANSFER_INCOMING", i[i.MINTED = 991] = "MINTED", i))(lp || {});
|
|
22266
|
+
function l1(i) {
|
|
22267
22267
|
return it({
|
|
22268
22268
|
queryKey: ["ecency-wallets", "all-tokens-list", i],
|
|
22269
22269
|
queryFn: async () => {
|
|
@@ -22287,7 +22287,7 @@ function d1(i) {
|
|
|
22287
22287
|
}
|
|
22288
22288
|
});
|
|
22289
22289
|
}
|
|
22290
|
-
function
|
|
22290
|
+
function dp(i) {
|
|
22291
22291
|
return it({
|
|
22292
22292
|
queryKey: ["ecency-wallets", "list", i],
|
|
22293
22293
|
enabled: !!i,
|
|
@@ -22320,7 +22320,7 @@ function pp(i) {
|
|
|
22320
22320
|
}
|
|
22321
22321
|
});
|
|
22322
22322
|
}
|
|
22323
|
-
function
|
|
22323
|
+
function pp(i, h, b = { refetch: !1 }) {
|
|
22324
22324
|
const y = async (s) => (b.refetch ? await Ne().fetchQuery(s) : await Ne().prefetchQuery(s), Ne().getQueryData(
|
|
22325
22325
|
s.queryKey
|
|
22326
22326
|
));
|
|
@@ -22330,20 +22330,20 @@ function bp(i, h, b = { refetch: !1 }) {
|
|
|
22330
22330
|
if (h === "HIVE")
|
|
22331
22331
|
return y(jt(i));
|
|
22332
22332
|
if (h === "HP")
|
|
22333
|
-
return y(
|
|
22333
|
+
return y(u0(i));
|
|
22334
22334
|
if (h === "HBD")
|
|
22335
|
-
return y(
|
|
22335
|
+
return y(Kd(i));
|
|
22336
22336
|
if (h === "SPK")
|
|
22337
|
-
return y(rp(i));
|
|
22338
|
-
if (h === "LARYNX")
|
|
22339
22337
|
return y(tp(i));
|
|
22338
|
+
if (h === "LARYNX")
|
|
22339
|
+
return y(ep(i));
|
|
22340
22340
|
if (h === "LP")
|
|
22341
|
-
return y(
|
|
22341
|
+
return y(rp(i));
|
|
22342
22342
|
if (h === "POINTS")
|
|
22343
|
-
return y(
|
|
22343
|
+
return y(cp(i));
|
|
22344
22344
|
if (ln.includes(h))
|
|
22345
22345
|
return await y(
|
|
22346
|
-
|
|
22346
|
+
ip(i, h)
|
|
22347
22347
|
);
|
|
22348
22348
|
throw new Error(
|
|
22349
22349
|
"[SDK][Wallets] – has requested unrecognized asset info"
|
|
@@ -22351,7 +22351,7 @@ function bp(i, h, b = { refetch: !1 }) {
|
|
|
22351
22351
|
}
|
|
22352
22352
|
});
|
|
22353
22353
|
}
|
|
22354
|
-
function
|
|
22354
|
+
function d1(i, h, b = !1) {
|
|
22355
22355
|
return it({
|
|
22356
22356
|
queryKey: ["wallets", "token-operations", i, h, b],
|
|
22357
22357
|
queryFn: async () => {
|
|
@@ -22416,7 +22416,7 @@ function p1(i, h, b = !1) {
|
|
|
22416
22416
|
}
|
|
22417
22417
|
});
|
|
22418
22418
|
}
|
|
22419
|
-
const
|
|
22419
|
+
const bp = {
|
|
22420
22420
|
[ke.BTC]: "m/44'/0'/0'/0/0",
|
|
22421
22421
|
// Bitcoin (BIP44)
|
|
22422
22422
|
[ke.ETH]: "m/44'/60'/0'/0/0",
|
|
@@ -22432,17 +22432,17 @@ const yp = {
|
|
|
22432
22432
|
[ke.APT]: "m/44'/637'/0'/0'/0'"
|
|
22433
22433
|
// Aptos (BIP44)
|
|
22434
22434
|
};
|
|
22435
|
-
function
|
|
22436
|
-
const { data: b } =
|
|
22435
|
+
function p1(i, h) {
|
|
22436
|
+
const { data: b } = bc(i), y = dn(), s = Jt({
|
|
22437
22437
|
mutationKey: ["ecency-wallets", "create-wallet", i, h],
|
|
22438
22438
|
mutationFn: async () => {
|
|
22439
22439
|
if (!b)
|
|
22440
22440
|
throw new Error("[Ecency][Wallets] - No seed to create a wallet");
|
|
22441
22441
|
const p = mo(h), f = await (p == null ? void 0 : p.getDerivedPrivateKey({
|
|
22442
22442
|
mnemonic: b,
|
|
22443
|
-
hdPath:
|
|
22443
|
+
hdPath: bp[h]
|
|
22444
22444
|
}));
|
|
22445
|
-
await
|
|
22445
|
+
await gc(1e3);
|
|
22446
22446
|
const l = await (p == null ? void 0 : p.getNewAddress({
|
|
22447
22447
|
privateKey: f
|
|
22448
22448
|
}));
|
|
@@ -22463,17 +22463,17 @@ function b1(i, h) {
|
|
|
22463
22463
|
)
|
|
22464
22464
|
);
|
|
22465
22465
|
}
|
|
22466
|
-
}), a =
|
|
22466
|
+
}), a = A0(() => {
|
|
22467
22467
|
}, []);
|
|
22468
22468
|
return {
|
|
22469
22469
|
createWallet: s,
|
|
22470
22470
|
importWallet: a
|
|
22471
22471
|
};
|
|
22472
22472
|
}
|
|
22473
|
-
function
|
|
22473
|
+
function yp(i) {
|
|
22474
22474
|
const { data: h } = Wt({
|
|
22475
22475
|
queryKey: ["ecency-wallets", "wallets", i]
|
|
22476
|
-
}), { data: b } =
|
|
22476
|
+
}), { data: b } = Vd(i);
|
|
22477
22477
|
return Jt({
|
|
22478
22478
|
mutationKey: ["ecency-wallets", "create-account-with-wallets", i],
|
|
22479
22479
|
mutationFn: ({ currency: y, address: s }) => fetch($e.privateApiHost + "/private-api/wallets-add", {
|
|
@@ -22502,7 +22502,7 @@ function gp(i) {
|
|
|
22502
22502
|
})
|
|
22503
22503
|
});
|
|
22504
22504
|
}
|
|
22505
|
-
function
|
|
22505
|
+
function h0() {
|
|
22506
22506
|
return Jt({
|
|
22507
22507
|
mutationKey: ["ecency-wallets", "check-wallet-existence"],
|
|
22508
22508
|
mutationFn: async ({ address: i, currency: h }) => (await (await fetch(
|
|
@@ -22520,11 +22520,11 @@ function l0() {
|
|
|
22520
22520
|
)).json()).length === 0
|
|
22521
22521
|
});
|
|
22522
22522
|
}
|
|
22523
|
-
const
|
|
22523
|
+
const b1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22524
22524
|
__proto__: null,
|
|
22525
|
-
useCheckWalletExistence:
|
|
22526
|
-
useCreateAccountWithWallets:
|
|
22527
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
22525
|
+
useCheckWalletExistence: h0,
|
|
22526
|
+
useCreateAccountWithWallets: yp
|
|
22527
|
+
}, Symbol.toStringTag, { value: "Module" })), gp = {
|
|
22528
22528
|
[ke.BTC]: ["m/84'/0'/0'/0/0"],
|
|
22529
22529
|
[ke.ETH]: ["m/84'/60'/0'/0/0"],
|
|
22530
22530
|
// its not working for Trust, Exodus, todo: check others below
|
|
@@ -22534,8 +22534,8 @@ const y1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
22534
22534
|
[ke.APT]: ["m/84'/637'/0'/0/0"],
|
|
22535
22535
|
[ke.TON]: ["m/44'/607'/0'"]
|
|
22536
22536
|
};
|
|
22537
|
-
async function
|
|
22538
|
-
for (const y of
|
|
22537
|
+
async function vp(i, h, b) {
|
|
22538
|
+
for (const y of gp[b] || [])
|
|
22539
22539
|
try {
|
|
22540
22540
|
const s = await h.getDerivedPrivateKey({
|
|
22541
22541
|
mnemonic: i,
|
|
@@ -22550,8 +22550,8 @@ async function mp(i, h, b) {
|
|
|
22550
22550
|
}
|
|
22551
22551
|
return [];
|
|
22552
22552
|
}
|
|
22553
|
-
function
|
|
22554
|
-
const b = dn(), { mutateAsync: y } =
|
|
22553
|
+
function y1(i, h) {
|
|
22554
|
+
const b = dn(), { mutateAsync: y } = h0();
|
|
22555
22555
|
return Jt({
|
|
22556
22556
|
mutationKey: ["ecency-wallets", "import-wallet", i, h],
|
|
22557
22557
|
mutationFn: async ({ privateKeyOrSeed: s }) => {
|
|
@@ -22560,7 +22560,7 @@ function g1(i, h) {
|
|
|
22560
22560
|
throw new Error("Cannot find token for this currency");
|
|
22561
22561
|
const p = s.split(" ").length === 12;
|
|
22562
22562
|
let f, l = s;
|
|
22563
|
-
if (p ? [l, f] = await
|
|
22563
|
+
if (p ? [l, f] = await vp(
|
|
22564
22564
|
s,
|
|
22565
22565
|
a,
|
|
22566
22566
|
h
|
|
@@ -22599,7 +22599,7 @@ function g1(i, h) {
|
|
|
22599
22599
|
}
|
|
22600
22600
|
});
|
|
22601
22601
|
}
|
|
22602
|
-
function
|
|
22602
|
+
function hc(i, h = !1) {
|
|
22603
22603
|
return i ? Kt.pipe(
|
|
22604
22604
|
i,
|
|
22605
22605
|
Kt.filter(({ type: b }) => b === "CHAIN"),
|
|
@@ -22611,21 +22611,21 @@ function lc(i, h = !1) {
|
|
|
22611
22611
|
)
|
|
22612
22612
|
) : {};
|
|
22613
22613
|
}
|
|
22614
|
-
function
|
|
22615
|
-
const b = dn(), { data: y } = Wt(_t(i)), { mutateAsync: s } =
|
|
22614
|
+
function g1(i, h) {
|
|
22615
|
+
const b = dn(), { data: y } = Wt(_t(i)), { mutateAsync: s } = p0(i);
|
|
22616
22616
|
return Jt({
|
|
22617
22617
|
mutationKey: ["ecency-wallets", "save-wallet-to-metadata", y],
|
|
22618
22618
|
mutationFn: async (a) => {
|
|
22619
22619
|
var e;
|
|
22620
22620
|
if (!y)
|
|
22621
22621
|
throw new Error("[SDK][Wallets] – no account data to save wallets");
|
|
22622
|
-
const p =
|
|
22622
|
+
const p = hc(
|
|
22623
22623
|
(e = y.profile) == null ? void 0 : e.tokens
|
|
22624
22624
|
), f = a.map(({ currency: t, type: o, privateKey: u, username: d, ...m }) => ({
|
|
22625
22625
|
symbol: t,
|
|
22626
22626
|
type: o,
|
|
22627
22627
|
meta: m
|
|
22628
|
-
})) ?? [], l =
|
|
22628
|
+
})) ?? [], l = hc(f, !0), n = f.filter(
|
|
22629
22629
|
({ type: t }) => t !== "CHAIN"
|
|
22630
22630
|
), r = Kt.pipe(
|
|
22631
22631
|
p,
|
|
@@ -22643,52 +22643,52 @@ function v1(i, h) {
|
|
|
22643
22643
|
onSuccess: (a, p, f) => {
|
|
22644
22644
|
var l;
|
|
22645
22645
|
(l = h == null ? void 0 : h.onSuccess) == null || l.call(h, a, p, f), b.invalidateQueries({
|
|
22646
|
-
queryKey:
|
|
22646
|
+
queryKey: dp(i).queryKey
|
|
22647
22647
|
});
|
|
22648
22648
|
}
|
|
22649
22649
|
});
|
|
22650
22650
|
}
|
|
22651
|
-
const
|
|
22651
|
+
const mp = {
|
|
22652
22652
|
HIVE: {
|
|
22653
|
-
[ze.Transfer]:
|
|
22654
|
-
[ze.TransferToSavings]:
|
|
22655
|
-
[ze.PowerUp]:
|
|
22653
|
+
[ze.Transfer]: sc,
|
|
22654
|
+
[ze.TransferToSavings]: uc,
|
|
22655
|
+
[ze.PowerUp]: Gd
|
|
22656
22656
|
},
|
|
22657
22657
|
HBD: {
|
|
22658
|
-
[ze.Transfer]:
|
|
22659
|
-
[ze.TransferToSavings]:
|
|
22658
|
+
[ze.Transfer]: sc,
|
|
22659
|
+
[ze.TransferToSavings]: uc
|
|
22660
22660
|
},
|
|
22661
22661
|
HP: {
|
|
22662
|
-
[ze.PowerDown]:
|
|
22663
|
-
[ze.Delegate]:
|
|
22664
|
-
[ze.WithdrawRoutes]:
|
|
22662
|
+
[ze.PowerDown]: Wd,
|
|
22663
|
+
[ze.Delegate]: Yd,
|
|
22664
|
+
[ze.WithdrawRoutes]: Jd
|
|
22665
22665
|
},
|
|
22666
22666
|
POINTS: {
|
|
22667
|
-
[ze.Gift]:
|
|
22667
|
+
[ze.Gift]: hp
|
|
22668
22668
|
},
|
|
22669
22669
|
SPK: {
|
|
22670
|
-
[ze.Transfer]:
|
|
22670
|
+
[ze.Transfer]: Qd
|
|
22671
22671
|
},
|
|
22672
22672
|
LARYNX: {
|
|
22673
|
-
[ze.LockLiquidity]:
|
|
22674
|
-
[ze.PowerUp]:
|
|
22675
|
-
}
|
|
22676
|
-
},
|
|
22677
|
-
[ze.Transfer]:
|
|
22678
|
-
[ze.Stake]:
|
|
22679
|
-
[ze.Unstake]:
|
|
22680
|
-
[ze.Delegate]:
|
|
22681
|
-
[ze.Undelegate]:
|
|
22673
|
+
[ze.LockLiquidity]: Zd,
|
|
22674
|
+
[ze.PowerUp]: Xd
|
|
22675
|
+
}
|
|
22676
|
+
}, _p = {
|
|
22677
|
+
[ze.Transfer]: up,
|
|
22678
|
+
[ze.Stake]: fp,
|
|
22679
|
+
[ze.Unstake]: sp,
|
|
22680
|
+
[ze.Delegate]: ap,
|
|
22681
|
+
[ze.Undelegate]: op
|
|
22682
22682
|
};
|
|
22683
|
-
function
|
|
22684
|
-
const { mutateAsync: y } =
|
|
22683
|
+
function v1(i, h, b) {
|
|
22684
|
+
const { mutateAsync: y } = lc.useRecordActivity(
|
|
22685
22685
|
i,
|
|
22686
22686
|
b
|
|
22687
22687
|
);
|
|
22688
22688
|
return Jt({
|
|
22689
22689
|
mutationKey: ["ecency-wallets", h, b],
|
|
22690
22690
|
mutationFn: async (s) => {
|
|
22691
|
-
const a =
|
|
22691
|
+
const a = mp[h][b];
|
|
22692
22692
|
if (a)
|
|
22693
22693
|
return a(s);
|
|
22694
22694
|
const p = Co(i);
|
|
@@ -22697,7 +22697,7 @@ function m1(i, h, b) {
|
|
|
22697
22697
|
p.queryKey
|
|
22698
22698
|
);
|
|
22699
22699
|
if (f != null && f.some((l) => l.symbol === h)) {
|
|
22700
|
-
const l =
|
|
22700
|
+
const l = _p[b];
|
|
22701
22701
|
if (l)
|
|
22702
22702
|
return l({ ...s, asset: h });
|
|
22703
22703
|
}
|
|
@@ -22705,7 +22705,7 @@ function m1(i, h, b) {
|
|
|
22705
22705
|
},
|
|
22706
22706
|
onSuccess: () => {
|
|
22707
22707
|
y();
|
|
22708
|
-
const s =
|
|
22708
|
+
const s = pp(i, h, {
|
|
22709
22709
|
refetch: !0
|
|
22710
22710
|
});
|
|
22711
22711
|
setTimeout(
|
|
@@ -22717,93 +22717,93 @@ function m1(i, h, b) {
|
|
|
22717
22717
|
}
|
|
22718
22718
|
});
|
|
22719
22719
|
}
|
|
22720
|
-
|
|
22720
|
+
I0();
|
|
22721
22721
|
export {
|
|
22722
22722
|
ze as AssetOperation,
|
|
22723
22723
|
ut as EcencyWalletBasicTokens,
|
|
22724
22724
|
ke as EcencyWalletCurrency,
|
|
22725
|
-
|
|
22726
|
-
|
|
22727
|
-
|
|
22728
|
-
|
|
22729
|
-
|
|
22730
|
-
|
|
22731
|
-
|
|
22732
|
-
|
|
22733
|
-
|
|
22734
|
-
|
|
22735
|
-
|
|
22736
|
-
|
|
22737
|
-
|
|
22738
|
-
|
|
22739
|
-
|
|
22740
|
-
|
|
22725
|
+
b1 as EcencyWalletsPrivateApi,
|
|
22726
|
+
s0 as NaiMap,
|
|
22727
|
+
lp as PointTransactionType,
|
|
22728
|
+
f0 as Symbol,
|
|
22729
|
+
Zp as buildAptTx,
|
|
22730
|
+
Yp as buildEthTx,
|
|
22731
|
+
Xp as buildExternalTx,
|
|
22732
|
+
zd as buildPsbt,
|
|
22733
|
+
Wp as buildSolTx,
|
|
22734
|
+
Qp as buildTonTx,
|
|
22735
|
+
Jp as buildTronTx,
|
|
22736
|
+
Kp as decryptMemoWithAccounts,
|
|
22737
|
+
Ud as decryptMemoWithKeys,
|
|
22738
|
+
gc as delay,
|
|
22739
|
+
ap as delegateEngineToken,
|
|
22740
|
+
Yd as delegateHive,
|
|
22741
22741
|
Hr as deriveHiveKey,
|
|
22742
|
-
|
|
22742
|
+
vc as deriveHiveKeys,
|
|
22743
22743
|
$r as deriveHiveMasterPasswordKey,
|
|
22744
|
-
|
|
22745
|
-
|
|
22746
|
-
|
|
22747
|
-
|
|
22748
|
-
|
|
22749
|
-
|
|
22750
|
-
|
|
22751
|
-
|
|
22752
|
-
|
|
22744
|
+
N0 as deriveHiveMasterPasswordKeys,
|
|
22745
|
+
D0 as detectHiveKeyDerivation,
|
|
22746
|
+
$p as encryptMemoWithAccounts,
|
|
22747
|
+
Hp as encryptMemoWithKeys,
|
|
22748
|
+
pp as getAccountWalletAssetInfoQueryOptions,
|
|
22749
|
+
dp as getAccountWalletListQueryOptions,
|
|
22750
|
+
l1 as getAllTokensListQueryOptions,
|
|
22751
|
+
Kd as getHbdAssetGeneralInfoQueryOptions,
|
|
22752
|
+
r1 as getHbdAssetTransactionsQueryOptions,
|
|
22753
22753
|
jt as getHiveAssetGeneralInfoQueryOptions,
|
|
22754
|
-
|
|
22755
|
-
|
|
22756
|
-
|
|
22757
|
-
|
|
22758
|
-
|
|
22754
|
+
n1 as getHiveAssetMetricQueryOptions,
|
|
22755
|
+
c0 as getHiveAssetTransactionsQueryOptions,
|
|
22756
|
+
i1 as getHiveAssetWithdrawalRoutesQueryOptions,
|
|
22757
|
+
ip as getHiveEngineTokenGeneralInfoQueryOptions,
|
|
22758
|
+
s1 as getHiveEngineTokenTransactionsQueryOptions,
|
|
22759
22759
|
Co as getHiveEngineTokensBalancesQueryOptions,
|
|
22760
|
-
|
|
22760
|
+
np as getHiveEngineTokensMarketQueryOptions,
|
|
22761
22761
|
hn as getHiveEngineTokensMetadataQueryOptions,
|
|
22762
|
-
|
|
22763
|
-
|
|
22764
|
-
|
|
22765
|
-
|
|
22766
|
-
|
|
22767
|
-
|
|
22768
|
-
|
|
22769
|
-
|
|
22770
|
-
|
|
22762
|
+
u1 as getHiveEngineTokensMetricsQueryOptions,
|
|
22763
|
+
u0 as getHivePowerAssetGeneralInfoQueryOptions,
|
|
22764
|
+
t1 as getHivePowerAssetTransactionsQueryOptions,
|
|
22765
|
+
a1 as getHivePowerDelegatesInfiniteQueryOptions,
|
|
22766
|
+
o1 as getHivePowerDelegatingsQueryOptions,
|
|
22767
|
+
ep as getLarynxAssetGeneralInfoQueryOptions,
|
|
22768
|
+
rp as getLarynxPowerAssetGeneralInfoQueryOptions,
|
|
22769
|
+
cp as getPointsAssetGeneralInfoQueryOptions,
|
|
22770
|
+
c1 as getPointsAssetTransactionsQueryOptions,
|
|
22771
22771
|
go as getPointsQueryOptions,
|
|
22772
|
-
|
|
22772
|
+
tp as getSpkAssetGeneralInfoQueryOptions,
|
|
22773
22773
|
hr as getSpkMarketsQueryOptions,
|
|
22774
|
-
|
|
22774
|
+
d1 as getTokenOperationsQueryOptions,
|
|
22775
22775
|
mo as getWallet,
|
|
22776
|
-
|
|
22777
|
-
|
|
22778
|
-
|
|
22776
|
+
e1 as isEmptyDate,
|
|
22777
|
+
Zd as lockLarynx,
|
|
22778
|
+
Cp as mnemonicToSeedBip39,
|
|
22779
22779
|
et as parseAsset,
|
|
22780
|
-
|
|
22781
|
-
|
|
22782
|
-
|
|
22783
|
-
|
|
22784
|
-
|
|
22785
|
-
|
|
22786
|
-
|
|
22787
|
-
|
|
22788
|
-
|
|
22789
|
-
|
|
22790
|
-
|
|
22791
|
-
|
|
22792
|
-
|
|
22793
|
-
|
|
22794
|
-
|
|
22795
|
-
|
|
22796
|
-
|
|
22797
|
-
|
|
22798
|
-
|
|
22799
|
-
|
|
22800
|
-
|
|
22801
|
-
|
|
22802
|
-
|
|
22803
|
-
|
|
22804
|
-
|
|
22805
|
-
|
|
22806
|
-
|
|
22780
|
+
Wd as powerDownHive,
|
|
22781
|
+
Gd as powerUpHive,
|
|
22782
|
+
Xd as powerUpLarynx,
|
|
22783
|
+
Hd as rewardSpk,
|
|
22784
|
+
jp as signDigest,
|
|
22785
|
+
jd as signExternalTx,
|
|
22786
|
+
Gp as signExternalTxAndBroadcast,
|
|
22787
|
+
qd as signTx,
|
|
22788
|
+
Vp as signTxAndBroadcast,
|
|
22789
|
+
fp as stakeEngineToken,
|
|
22790
|
+
up as transferEngineToken,
|
|
22791
|
+
sc as transferHive,
|
|
22792
|
+
hp as transferPoint,
|
|
22793
|
+
Qd as transferSpk,
|
|
22794
|
+
uc as transferToSavingsHive,
|
|
22795
|
+
op as undelegateEngineToken,
|
|
22796
|
+
sp as unstakeEngineToken,
|
|
22797
|
+
h1 as useClaimPoints,
|
|
22798
|
+
f1 as useClaimRewards,
|
|
22799
|
+
kp as useCoinGeckoPriceQuery,
|
|
22800
|
+
Lp as useGetExternalWalletBalanceQuery,
|
|
22801
|
+
Vd as useHiveKeysQuery,
|
|
22802
|
+
y1 as useImportWallet,
|
|
22803
|
+
g1 as useSaveWalletInformationToMetadata,
|
|
22804
|
+
bc as useSeedPhrase,
|
|
22805
|
+
p1 as useWalletCreate,
|
|
22806
|
+
v1 as useWalletOperation,
|
|
22807
22807
|
lo as vestsToHp,
|
|
22808
|
-
|
|
22808
|
+
Jd as withdrawVestingRouteHive
|
|
22809
22809
|
};
|