@credenza3/passport-evm 0.2.8 → 0.2.9
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/{App-BRkz5n_k.js → App-C8xpwOk-.js} +18 -18
- package/dist/{App-BRkz5n_k.js.map → App-C8xpwOk-.js.map} +1 -1
- package/dist/{Button-CRXa4JlR.js → Button-Dveixbfq.js} +4 -4
- package/dist/{Button-CRXa4JlR.js.map → Button-Dveixbfq.js.map} +1 -1
- package/dist/{ButtonBack-Bh0-don6.js → ButtonBack-CoRcLtur.js} +4 -4
- package/dist/{ButtonBack-Bh0-don6.js.map → ButtonBack-CoRcLtur.js.map} +1 -1
- package/dist/{ButtonLink-L1oTgF2Z.js → ButtonLink-D6hZUsAO.js} +3 -3
- package/dist/{ButtonLink-L1oTgF2Z.js.map → ButtonLink-D6hZUsAO.js.map} +1 -1
- package/dist/{ConfirmAccount-D7M-8d9F.js → ConfirmAccount-DCUmT2x3.js} +9 -9
- package/dist/{ConfirmAccount-D7M-8d9F.js.map → ConfirmAccount-DCUmT2x3.js.map} +1 -1
- package/dist/{ContentHeader-B-VPZhmc.js → ContentHeader-rf-3RS-F.js} +3 -3
- package/dist/{ContentHeader-B-VPZhmc.js.map → ContentHeader-rf-3RS-F.js.map} +1 -1
- package/dist/{Error-BFChqtv8.js → Error-Bawu4ecj.js} +5 -5
- package/dist/{Error-BFChqtv8.js.map → Error-Bawu4ecj.js.map} +1 -1
- package/dist/{Input-BBv5uRtr.js → Input-DNy3zGhm.js} +4 -4
- package/dist/{Input-BBv5uRtr.js.map → Input-DNy3zGhm.js.map} +1 -1
- package/dist/{Label-CfeF-XLp.js → Label-BtYZKBV3.js} +3 -3
- package/dist/{Label-CfeF-XLp.js.map → Label-BtYZKBV3.js.map} +1 -1
- package/dist/{Loader-BGH5RvtY.js → Loader-DtZPVBrR.js} +3 -3
- package/dist/{Loader-BGH5RvtY.js.map → Loader-DtZPVBrR.js.map} +1 -1
- package/dist/{Login-B36WhB-k.js → Login-C7CwztIG.js} +9 -9
- package/dist/{Login-B36WhB-k.js.map → Login-C7CwztIG.js.map} +1 -1
- package/dist/{Logout-Ciu350iZ.js → Logout-6-TRUVo0.js} +6 -6
- package/dist/{Logout-Ciu350iZ.js.map → Logout-6-TRUVo0.js.map} +1 -1
- package/dist/{Nav-CSPdwmqX.js → Nav-Bckl5DJP.js} +5 -5
- package/dist/{Nav-CSPdwmqX.js.map → Nav-Bckl5DJP.js.map} +1 -1
- package/dist/{PassportId-CKgshhWk.js → PassportId-DMDtXxRO.js} +6 -6
- package/dist/{PassportId-CKgshhWk.js.map → PassportId-DMDtXxRO.js.map} +1 -1
- package/dist/{Payment-DfVmWqSN.js → Payment-CARF8iDA.js} +10 -10
- package/dist/{Payment-DfVmWqSN.js.map → Payment-CARF8iDA.js.map} +1 -1
- package/dist/{PaymentResult-CFh42cab.js → PaymentResult-C05LgZrj.js} +4 -4
- package/dist/{PaymentResult-CFh42cab.js.map → PaymentResult-C05LgZrj.js.map} +1 -1
- package/dist/{Profile--OxHnpMm.js → Profile-CBexg011.js} +7 -7
- package/dist/{Profile--OxHnpMm.js.map → Profile-CBexg011.js.map} +1 -1
- package/dist/{ProgressVideo-BQEjkuPY.js → ProgressVideo-DBrukanQ.js} +5 -5
- package/dist/{ProgressVideo-BQEjkuPY.js.map → ProgressVideo-DBrukanQ.js.map} +1 -1
- package/dist/{RichAlert-DZrU-kpH.js → RichAlert-CPN4a7-n.js} +6 -6
- package/dist/{RichAlert-DZrU-kpH.js.map → RichAlert-CPN4a7-n.js.map} +1 -1
- package/dist/{Scanner-BhYQzhWJ.js → Scanner-C6Dp2m4K.js} +6 -6
- package/dist/{Scanner-BhYQzhWJ.js.map → Scanner-C6Dp2m4K.js.map} +1 -1
- package/dist/{SendTokens-BTtpqLNx.js → SendTokens-Cf3edbZC.js} +7 -7
- package/dist/{SendTokens-BTtpqLNx.js.map → SendTokens-Cf3edbZC.js.map} +1 -1
- package/dist/{Sign-Cq3PFgce.js → Sign-D8TCMPjE.js} +6 -6
- package/dist/{Sign-Cq3PFgce.js.map → Sign-D8TCMPjE.js.map} +1 -1
- package/dist/{Stripe.service-CDTwSxEl.js → Stripe.service-DOKTUaJy.js} +3 -3
- package/dist/{Stripe.service-CDTwSxEl.js.map → Stripe.service-DOKTUaJy.js.map} +1 -1
- package/dist/{UpdateProfile-BQj5ArLZ.js → UpdateProfile-DlQuAZ7T.js} +10 -10
- package/dist/{UpdateProfile-BQj5ArLZ.js.map → UpdateProfile-DlQuAZ7T.js.map} +1 -1
- package/dist/{UserInfo-Dc1aISLT.js → UserInfo-ouMkZLPi.js} +4 -4
- package/dist/{UserInfo-Dc1aISLT.js.map → UserInfo-ouMkZLPi.js.map} +1 -1
- package/dist/{Wallet-HvYoseFd.js → Wallet-Cmk8jdgW.js} +7 -7
- package/dist/{Wallet-HvYoseFd.js.map → Wallet-Cmk8jdgW.js.map} +1 -1
- package/dist/{each-C618GcTH.js → each-UMRKJDJG.js} +2 -2
- package/dist/{each-C618GcTH.js.map → each-UMRKJDJG.js.map} +1 -1
- package/dist/{html-D3-frDan.js → html-DktDuhZU.js} +3 -3
- package/dist/{html-D3-frDan.js.map → html-DktDuhZU.js.map} +1 -1
- package/dist/{index-client-CnPynulL.js → index-client-CGp5fu73.js} +2 -2
- package/dist/{index-client-CnPynulL.js.map → index-client-CGp5fu73.js.map} +1 -1
- package/dist/{index-ttYgNsPa.js → index-mWTLIlJz.js} +625 -625
- package/dist/{index-ttYgNsPa.js.map → index-mWTLIlJz.js.map} +1 -1
- package/dist/{input-BJxmLqmQ.js → input-Clnars5k.js} +3 -3
- package/dist/{input-BJxmLqmQ.js.map → input-Clnars5k.js.map} +1 -1
- package/dist/{legacy-rO5ldx3E.js → legacy-BVHNbKEG.js} +2 -2
- package/dist/{legacy-rO5ldx3E.js.map → legacy-BVHNbKEG.js.map} +1 -1
- package/dist/passport.es.js +1 -1
- package/dist/passport.umd.js +3 -3
- package/dist/passport.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const CS = "0.2.
|
|
1
|
+
const CS = "0.2.9", IS = {
|
|
2
2
|
version: CS
|
|
3
3
|
}, D2 = !1;
|
|
4
4
|
var kS = Array.isArray, RS = Array.prototype.indexOf, aG = Array.from, cG = Object.defineProperty, sh = Object.getOwnPropertyDescriptor, OS = Object.getOwnPropertyDescriptors, TS = Object.prototype, xS = Array.prototype, c_ = Object.getPrototypeOf, F2 = Object.isExtensible;
|
|
@@ -23,7 +23,7 @@ function hG(e, t, r = !1) {
|
|
|
23
23
|
t
|
|
24
24
|
) : e;
|
|
25
25
|
}
|
|
26
|
-
const zn = 2, u_ = 4, Ag = 8, iv = 16, is = 32, Su = 64, sv = 128, Kr = 256, bd = 512, Yr = 1024, Yi = 2048, ao = 4096, qc = 8192, ov = 16384, l_ = 32768, h_ = 65536, fG = 1 << 17, NS = 1 << 19, f_ = 1 << 20,
|
|
26
|
+
const zn = 2, u_ = 4, Ag = 8, iv = 16, is = 32, Su = 64, sv = 128, Kr = 256, bd = 512, Yr = 1024, Yi = 2048, ao = 4096, qc = 8192, ov = 16384, l_ = 32768, h_ = 65536, fG = 1 << 17, NS = 1 << 19, f_ = 1 << 20, j0 = 1 << 21, na = Symbol("$state"), pG = Symbol("legacy props"), dG = Symbol(""), PS = typeof requestIdleCallback > "u" ? (e) => setTimeout(e, 1) : requestIdleCallback;
|
|
27
27
|
let Rh = [], Oh = [];
|
|
28
28
|
function p_() {
|
|
29
29
|
var e = Rh;
|
|
@@ -82,7 +82,7 @@ let Eg = !1, HS = !1;
|
|
|
82
82
|
function wG() {
|
|
83
83
|
Eg = !0;
|
|
84
84
|
}
|
|
85
|
-
const bG = 1, _G = 2, AG = 4, EG = 8, SG = 16, CG = 1, IG = 2, kG = 4, RG = 8, OG = 16, TG = 1, xG = 2, zS = "[",
|
|
85
|
+
const bG = 1, _G = 2, AG = 4, EG = 8, SG = 16, CG = 1, IG = 2, kG = 4, RG = 8, OG = 16, TG = 1, xG = 2, zS = "[", jS = "[!", WS = "]", av = {}, Fr = Symbol(), NG = "http://www.w3.org/1999/xhtml", PG = "@attach";
|
|
86
86
|
let Ge = null;
|
|
87
87
|
function $2(e) {
|
|
88
88
|
Ge = e;
|
|
@@ -113,7 +113,7 @@ function BG(e) {
|
|
|
113
113
|
e !== void 0 && (t.x = e);
|
|
114
114
|
const o = t.e;
|
|
115
115
|
if (o !== null) {
|
|
116
|
-
var r = me, n =
|
|
116
|
+
var r = me, n = Wt;
|
|
117
117
|
t.e = null;
|
|
118
118
|
try {
|
|
119
119
|
for (var i = 0; i < o.length; i++) {
|
|
@@ -138,8 +138,8 @@ function el(e) {
|
|
|
138
138
|
const t = c_(e);
|
|
139
139
|
if (t !== TS && t !== xS)
|
|
140
140
|
return e;
|
|
141
|
-
var r = /* @__PURE__ */ new Map(), n = kS(e), i = /* @__PURE__ */ ys(0), s =
|
|
142
|
-
var c =
|
|
141
|
+
var r = /* @__PURE__ */ new Map(), n = kS(e), i = /* @__PURE__ */ ys(0), s = Wt, o = (a) => {
|
|
142
|
+
var c = Wt;
|
|
143
143
|
Kc(s);
|
|
144
144
|
var u = a();
|
|
145
145
|
return Kc(c), u;
|
|
@@ -286,9 +286,9 @@ function UG(e, t) {
|
|
|
286
286
|
}
|
|
287
287
|
// @__NO_SIDE_EFFECTS__
|
|
288
288
|
function v_(e) {
|
|
289
|
-
var t = zn | Yi, r =
|
|
289
|
+
var t = zn | Yi, r = Wt !== null && (Wt.f & zn) !== 0 ? (
|
|
290
290
|
/** @type {Derived} */
|
|
291
|
-
|
|
291
|
+
Wt
|
|
292
292
|
) : null;
|
|
293
293
|
return me === null || r !== null && (r.f & Kr) !== 0 ? t |= Kr : me.f |= f_, {
|
|
294
294
|
ctx: Ge,
|
|
@@ -348,7 +348,7 @@ function __(e) {
|
|
|
348
348
|
var t = b_(e);
|
|
349
349
|
if (e.equals(t) || (e.v = t, e.wv = k_()), !Cu) {
|
|
350
350
|
var r = ($s || (e.f & Kr) !== 0) && e.deps !== null ? ao : Yr;
|
|
351
|
-
|
|
351
|
+
Wn(e, r);
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
const Th = /* @__PURE__ */ new Map();
|
|
@@ -382,7 +382,7 @@ function FG(e, t) {
|
|
|
382
382
|
), t;
|
|
383
383
|
}
|
|
384
384
|
function Pn(e, t, r = !1) {
|
|
385
|
-
|
|
385
|
+
Wt !== null && !li && Sg() && (Wt.f & (zn | iv)) !== 0 && !(qe != null && qe[1].includes(e) && qe[0] === Wt) && GS();
|
|
386
386
|
let n = r ? el(t) : t;
|
|
387
387
|
return qS(e, n);
|
|
388
388
|
}
|
|
@@ -392,7 +392,7 @@ function qS(e, t) {
|
|
|
392
392
|
Cu ? Th.set(e, t) : Th.set(e, r), e.v = t, (e.f & zn) !== 0 && ((e.f & Yi) !== 0 && b_(
|
|
393
393
|
/** @type {Derived} */
|
|
394
394
|
e
|
|
395
|
-
),
|
|
395
|
+
), Wn(e, (e.f & Kr) === 0 ? Yr : ao)), e.wv = k_(), A_(e, Yi), Sg() && me !== null && (me.f & Yr) !== 0 && (me.f & (is | Su)) === 0 && (un === null ? YS([e]) : un.push(e));
|
|
396
396
|
}
|
|
397
397
|
return t;
|
|
398
398
|
}
|
|
@@ -405,7 +405,7 @@ function A_(e, t) {
|
|
|
405
405
|
if (r !== null)
|
|
406
406
|
for (var n = Sg(), i = r.length, s = 0; s < i; s++) {
|
|
407
407
|
var o = r[s], a = o.f;
|
|
408
|
-
(a & Yi) === 0 && (!n && o === me || (
|
|
408
|
+
(a & Yi) === 0 && (!n && o === me || (Wn(o, t), (a & (Yr | Kr)) !== 0 && ((a & zn) !== 0 ? A_(
|
|
409
409
|
/** @type {Derived} */
|
|
410
410
|
o,
|
|
411
411
|
ao
|
|
@@ -425,44 +425,44 @@ let aa = !1;
|
|
|
425
425
|
function HG(e) {
|
|
426
426
|
aa = e;
|
|
427
427
|
}
|
|
428
|
-
let
|
|
428
|
+
let jn;
|
|
429
429
|
function xh(e) {
|
|
430
430
|
if (e === null)
|
|
431
431
|
throw uv(), av;
|
|
432
|
-
return
|
|
432
|
+
return jn = e;
|
|
433
433
|
}
|
|
434
434
|
function zG() {
|
|
435
435
|
return xh(
|
|
436
436
|
/** @type {TemplateNode} */
|
|
437
|
-
/* @__PURE__ */ Ea(
|
|
437
|
+
/* @__PURE__ */ Ea(jn)
|
|
438
438
|
);
|
|
439
439
|
}
|
|
440
|
-
function
|
|
440
|
+
function jG(e) {
|
|
441
441
|
if (aa) {
|
|
442
|
-
if (/* @__PURE__ */ Ea(
|
|
442
|
+
if (/* @__PURE__ */ Ea(jn) !== null)
|
|
443
443
|
throw uv(), av;
|
|
444
|
-
|
|
444
|
+
jn = e;
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
function
|
|
447
|
+
function WG(e = 1) {
|
|
448
448
|
if (aa) {
|
|
449
|
-
for (var t = e, r =
|
|
449
|
+
for (var t = e, r = jn; t--; )
|
|
450
450
|
r = /** @type {TemplateNode} */
|
|
451
451
|
/* @__PURE__ */ Ea(r);
|
|
452
|
-
|
|
452
|
+
jn = r;
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
function VG() {
|
|
456
|
-
for (var e = 0, t =
|
|
456
|
+
for (var e = 0, t = jn; ; ) {
|
|
457
457
|
if (t.nodeType === 8) {
|
|
458
458
|
var r = (
|
|
459
459
|
/** @type {Comment} */
|
|
460
460
|
t.data
|
|
461
461
|
);
|
|
462
|
-
if (r ===
|
|
462
|
+
if (r === WS) {
|
|
463
463
|
if (e === 0) return t;
|
|
464
464
|
e -= 1;
|
|
465
|
-
} else (r === zS || r ===
|
|
465
|
+
} else (r === zS || r === jS) && (e += 1);
|
|
466
466
|
}
|
|
467
467
|
var n = (
|
|
468
468
|
/** @type {TemplateNode} */
|
|
@@ -487,7 +487,7 @@ function KG() {
|
|
|
487
487
|
E_ = sh(t, "firstChild").get, S_ = sh(t, "nextSibling").get, F2(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), F2(r) && (r.__t = void 0);
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function W0(e = "") {
|
|
491
491
|
return document.createTextNode(e);
|
|
492
492
|
}
|
|
493
493
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -503,12 +503,12 @@ function JG(e, t) {
|
|
|
503
503
|
return /* @__PURE__ */ V0(e);
|
|
504
504
|
var r = (
|
|
505
505
|
/** @type {TemplateNode} */
|
|
506
|
-
/* @__PURE__ */ V0(
|
|
506
|
+
/* @__PURE__ */ V0(jn)
|
|
507
507
|
);
|
|
508
508
|
if (r === null)
|
|
509
|
-
r =
|
|
509
|
+
r = jn.appendChild(W0());
|
|
510
510
|
else if (t && r.nodeType !== 3) {
|
|
511
|
-
var n =
|
|
511
|
+
var n = W0();
|
|
512
512
|
return r == null || r.before(n), xh(n), n;
|
|
513
513
|
}
|
|
514
514
|
return xh(r), r;
|
|
@@ -524,10 +524,10 @@ function QG(e, t) {
|
|
|
524
524
|
);
|
|
525
525
|
return r instanceof Comment && r.data === "" ? /* @__PURE__ */ Ea(r) : r;
|
|
526
526
|
}
|
|
527
|
-
return
|
|
527
|
+
return jn;
|
|
528
528
|
}
|
|
529
529
|
function YG(e, t = 1, r = !1) {
|
|
530
|
-
let n = aa ?
|
|
530
|
+
let n = aa ? jn : e;
|
|
531
531
|
for (var i; t--; )
|
|
532
532
|
i = n, n = /** @type {TemplateNode} */
|
|
533
533
|
/* @__PURE__ */ Ea(n);
|
|
@@ -535,7 +535,7 @@ function YG(e, t = 1, r = !1) {
|
|
|
535
535
|
return n;
|
|
536
536
|
var s = n == null ? void 0 : n.nodeType;
|
|
537
537
|
if (r && s !== 3) {
|
|
538
|
-
var o =
|
|
538
|
+
var o = W0();
|
|
539
539
|
return n === null ? i == null || i.after(o) : n.before(o), xh(o), o;
|
|
540
540
|
}
|
|
541
541
|
return xh(n), /** @type {TemplateNode} */
|
|
@@ -573,9 +573,9 @@ function z2(e) {
|
|
|
573
573
|
Cu = e;
|
|
574
574
|
}
|
|
575
575
|
let oh = [];
|
|
576
|
-
let
|
|
576
|
+
let Wt = null, li = !1;
|
|
577
577
|
function Kc(e) {
|
|
578
|
-
|
|
578
|
+
Wt = e;
|
|
579
579
|
}
|
|
580
580
|
let me = null;
|
|
581
581
|
function _d(e) {
|
|
@@ -583,7 +583,7 @@ function _d(e) {
|
|
|
583
583
|
}
|
|
584
584
|
let qe = null;
|
|
585
585
|
function QS(e) {
|
|
586
|
-
|
|
586
|
+
Wt !== null && Wt.f & j0 && (qe === null ? qe = [Wt, [e]] : qe[1].push(e));
|
|
587
587
|
}
|
|
588
588
|
let Er = null, Gr = 0, un = null;
|
|
589
589
|
function YS(e) {
|
|
@@ -621,7 +621,7 @@ function hf(e) {
|
|
|
621
621
|
), s.wv > e.wv)
|
|
622
622
|
return !0;
|
|
623
623
|
}
|
|
624
|
-
(!n || me !== null && !$s) &&
|
|
624
|
+
(!n || me !== null && !$s) && Wn(e, Yr);
|
|
625
625
|
}
|
|
626
626
|
return !1;
|
|
627
627
|
}
|
|
@@ -630,12 +630,12 @@ function R_(e, t, r = !0) {
|
|
|
630
630
|
if (n !== null)
|
|
631
631
|
for (var i = 0; i < n.length; i++) {
|
|
632
632
|
var s = n[i];
|
|
633
|
-
qe != null && qe[1].includes(e) && qe[0] ===
|
|
633
|
+
qe != null && qe[1].includes(e) && qe[0] === Wt || ((s.f & zn) !== 0 ? R_(
|
|
634
634
|
/** @type {Derived} */
|
|
635
635
|
s,
|
|
636
636
|
t,
|
|
637
637
|
!1
|
|
638
|
-
) : t === s && (r ?
|
|
638
|
+
) : t === s && (r ? Wn(s, Yi) : (s.f & Yr) !== 0 && Wn(s, ao), lv(
|
|
639
639
|
/** @type {Effect} */
|
|
640
640
|
s
|
|
641
641
|
)));
|
|
@@ -643,9 +643,9 @@ function R_(e, t, r = !0) {
|
|
|
643
643
|
}
|
|
644
644
|
function O_(e) {
|
|
645
645
|
var d;
|
|
646
|
-
var t = Er, r = Gr, n = un, i =
|
|
646
|
+
var t = Er, r = Gr, n = un, i = Wt, s = $s, o = qe, a = Ge, c = li, u = e.f;
|
|
647
647
|
Er = /** @type {null | Value[]} */
|
|
648
|
-
null, Gr = 0, un = null, $s = (u & Kr) !== 0 && (li || !ia ||
|
|
648
|
+
null, Gr = 0, un = null, $s = (u & Kr) !== 0 && (li || !ia || Wt === null), Wt = (u & (is | Su)) === 0 ? e : null, qe = null, $2(e.ctx), li = !1, Ad++, e.f |= j0;
|
|
649
649
|
try {
|
|
650
650
|
var l = (
|
|
651
651
|
/** @type {Function} */
|
|
@@ -675,7 +675,7 @@ function O_(e) {
|
|
|
675
675
|
} catch (g) {
|
|
676
676
|
JS(g);
|
|
677
677
|
} finally {
|
|
678
|
-
Er = t, Gr = r, un = n,
|
|
678
|
+
Er = t, Gr = r, un = n, Wt = i, $s = s, qe = o, $2(a), li = c, e.f ^= j0;
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
681
|
function ZS(e, t) {
|
|
@@ -690,7 +690,7 @@ function ZS(e, t) {
|
|
|
690
690
|
r === null && (t.f & zn) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
|
|
691
691
|
// to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
|
|
692
692
|
// allows us to skip the expensive work of disconnecting and immediately reconnecting it
|
|
693
|
-
(Er === null || !Er.includes(t)) && (
|
|
693
|
+
(Er === null || !Er.includes(t)) && (Wn(t, ao), (t.f & (Kr | bd)) === 0 && (t.f ^= bd), w_(
|
|
694
694
|
/** @type {Derived} **/
|
|
695
695
|
t
|
|
696
696
|
), Ed(
|
|
@@ -708,7 +708,7 @@ function Ed(e, t) {
|
|
|
708
708
|
function Cg(e) {
|
|
709
709
|
var t = e.f;
|
|
710
710
|
if ((t & ov) === 0) {
|
|
711
|
-
|
|
711
|
+
Wn(e, Yr);
|
|
712
712
|
var r = me, n = ia;
|
|
713
713
|
me = e, ia = !0;
|
|
714
714
|
try {
|
|
@@ -797,9 +797,9 @@ function XG(e) {
|
|
|
797
797
|
}
|
|
798
798
|
function zi(e) {
|
|
799
799
|
var t = e.f, r = (t & zn) !== 0;
|
|
800
|
-
if (
|
|
801
|
-
if (!(qe != null && qe[1].includes(e)) || qe[0] !==
|
|
802
|
-
var n =
|
|
800
|
+
if (Wt !== null && !li) {
|
|
801
|
+
if (!(qe != null && qe[1].includes(e)) || qe[0] !== Wt) {
|
|
802
|
+
var n = Wt.deps;
|
|
803
803
|
e.rv < Ad && (e.rv = Ad, Er === null && n !== null && n[Gr] === e ? Gr++ : Er === null ? Er = [e] : (!$s || !Er.includes(e)) && Er.push(e));
|
|
804
804
|
}
|
|
805
805
|
} else if (r && /** @type {Derived} */
|
|
@@ -826,7 +826,7 @@ function hv(e) {
|
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
828
|
const rC = -7169;
|
|
829
|
-
function
|
|
829
|
+
function Wn(e, t) {
|
|
830
830
|
e.f = e.f & rC | t;
|
|
831
831
|
}
|
|
832
832
|
function eH(e) {
|
|
@@ -864,7 +864,7 @@ function q0(e, t = /* @__PURE__ */ new Set()) {
|
|
|
864
864
|
}
|
|
865
865
|
}
|
|
866
866
|
function x_(e) {
|
|
867
|
-
me === null &&
|
|
867
|
+
me === null && Wt === null && LS(), Wt !== null && (Wt.f & Kr) !== 0 && me === null && US(), Cu && BS();
|
|
868
868
|
}
|
|
869
869
|
function nC(e, t) {
|
|
870
870
|
var r = t.last;
|
|
@@ -895,10 +895,10 @@ function Iu(e, t, r, n = !0) {
|
|
|
895
895
|
}
|
|
896
896
|
else t !== null && lv(s);
|
|
897
897
|
var o = r && s.deps === null && s.first === null && s.nodes_start === null && s.teardown === null && (s.f & (f_ | sv)) === 0;
|
|
898
|
-
if (!o && n && (i !== null && nC(s, i),
|
|
898
|
+
if (!o && n && (i !== null && nC(s, i), Wt !== null && (Wt.f & zn) !== 0)) {
|
|
899
899
|
var a = (
|
|
900
900
|
/** @type {Derived} */
|
|
901
|
-
|
|
901
|
+
Wt
|
|
902
902
|
);
|
|
903
903
|
(a.effects ?? (a.effects = [])).push(s);
|
|
904
904
|
}
|
|
@@ -906,7 +906,7 @@ function Iu(e, t, r, n = !0) {
|
|
|
906
906
|
}
|
|
907
907
|
function iC(e) {
|
|
908
908
|
const t = Iu(Ag, null, !1);
|
|
909
|
-
return
|
|
909
|
+
return Wn(t, Yr), t.teardown = e, t;
|
|
910
910
|
}
|
|
911
911
|
function rH(e) {
|
|
912
912
|
x_();
|
|
@@ -919,7 +919,7 @@ function rH(e) {
|
|
|
919
919
|
(r.e ?? (r.e = [])).push({
|
|
920
920
|
fn: e,
|
|
921
921
|
effect: me,
|
|
922
|
-
reaction:
|
|
922
|
+
reaction: Wt
|
|
923
923
|
});
|
|
924
924
|
} else {
|
|
925
925
|
var n = N_(e);
|
|
@@ -958,7 +958,7 @@ function oH() {
|
|
|
958
958
|
if (zi(e.l.r2)) {
|
|
959
959
|
for (var t of e.l.r1) {
|
|
960
960
|
var r = t.effect;
|
|
961
|
-
(r.f & Yr) !== 0 &&
|
|
961
|
+
(r.f & Yr) !== 0 && Wn(r, ao), hf(r) && Cg(r), t.ran = !1;
|
|
962
962
|
}
|
|
963
963
|
e.l.r2.v = !1;
|
|
964
964
|
}
|
|
@@ -980,7 +980,7 @@ function cH(e, t = !0) {
|
|
|
980
980
|
function P_(e) {
|
|
981
981
|
var t = e.teardown;
|
|
982
982
|
if (t !== null) {
|
|
983
|
-
const r = Cu, n =
|
|
983
|
+
const r = Cu, n = Wt;
|
|
984
984
|
z2(!0), Kc(null);
|
|
985
985
|
try {
|
|
986
986
|
t.call(null);
|
|
@@ -1008,7 +1008,7 @@ function ca(e, t = !0) {
|
|
|
1008
1008
|
e.nodes_start,
|
|
1009
1009
|
/** @type {TemplateNode} */
|
|
1010
1010
|
e.nodes_end
|
|
1011
|
-
), r = !0), M_(e, t && !r), Ed(e, 0),
|
|
1011
|
+
), r = !0), M_(e, t && !r), Ed(e, 0), Wn(e, ov);
|
|
1012
1012
|
var n = e.transitions;
|
|
1013
1013
|
if (n !== null)
|
|
1014
1014
|
for (const s of n)
|
|
@@ -1158,7 +1158,7 @@ function mt(e) {
|
|
|
1158
1158
|
}
|
|
1159
1159
|
var hC = Object.defineProperty, F_ = (e) => {
|
|
1160
1160
|
throw TypeError(e);
|
|
1161
|
-
}, fC = (e, t, r) => t in e ? hC(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, O = (e, t, r) => fC(e, typeof t != "symbol" ? t + "" : t, r), dv = (e, t, r) => t.has(e) || F_("Cannot " + r), v = (e, t, r) => (dv(e, t, "read from private field"), r ? r.call(e) : t.get(e)), B = (e, t, r) => t.has(e) ? F_("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), E = (e, t, r, n) => (dv(e, t, "write to private field"), t.set(e, r), r),
|
|
1161
|
+
}, fC = (e, t, r) => t in e ? hC(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, O = (e, t, r) => fC(e, typeof t != "symbol" ? t + "" : t, r), dv = (e, t, r) => t.has(e) || F_("Cannot " + r), v = (e, t, r) => (dv(e, t, "read from private field"), r ? r.call(e) : t.get(e)), B = (e, t, r) => t.has(e) ? F_("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), E = (e, t, r, n) => (dv(e, t, "write to private field"), t.set(e, r), r), j = (e, t, r) => (dv(e, t, "access private method"), r), Mh = (e, t, r, n) => ({
|
|
1162
1162
|
set _(i) {
|
|
1163
1163
|
E(e, t, i);
|
|
1164
1164
|
},
|
|
@@ -1326,13 +1326,13 @@ function Yt(e, t) {
|
|
|
1326
1326
|
function ku(e) {
|
|
1327
1327
|
return Yt(e, !0) || e instanceof Uint8Array;
|
|
1328
1328
|
}
|
|
1329
|
-
const
|
|
1329
|
+
const j2 = "0123456789abcdef";
|
|
1330
1330
|
function V(e) {
|
|
1331
1331
|
const t = Y(e);
|
|
1332
1332
|
let r = "0x";
|
|
1333
1333
|
for (let n = 0; n < t.length; n++) {
|
|
1334
1334
|
const i = t[n];
|
|
1335
|
-
r +=
|
|
1335
|
+
r += j2[(i & 240) >> 4] + j2[i & 15];
|
|
1336
1336
|
}
|
|
1337
1337
|
return r;
|
|
1338
1338
|
}
|
|
@@ -1404,7 +1404,7 @@ function df(e, t) {
|
|
|
1404
1404
|
});
|
|
1405
1405
|
return r;
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1407
|
+
function ji(e, t) {
|
|
1408
1408
|
const r = Ru(e, "value"), n = BigInt(ft(t, "bits"));
|
|
1409
1409
|
return r & (Fn << n) - Fn;
|
|
1410
1410
|
}
|
|
@@ -1433,12 +1433,12 @@ function Ru(e, t) {
|
|
|
1433
1433
|
value: e
|
|
1434
1434
|
}), r;
|
|
1435
1435
|
}
|
|
1436
|
-
const
|
|
1436
|
+
const W2 = "0123456789abcdef";
|
|
1437
1437
|
function Sa(e) {
|
|
1438
1438
|
if (e instanceof Uint8Array) {
|
|
1439
1439
|
let t = "0x0";
|
|
1440
1440
|
for (const r of e)
|
|
1441
|
-
t +=
|
|
1441
|
+
t += W2[r >> 4], t += W2[r & 15];
|
|
1442
1442
|
return BigInt(t);
|
|
1443
1443
|
}
|
|
1444
1444
|
return st(e);
|
|
@@ -1491,7 +1491,7 @@ function Fe(e) {
|
|
|
1491
1491
|
}
|
|
1492
1492
|
return n;
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1494
|
+
function Wi(e) {
|
|
1495
1495
|
let t = V(ku(e) ? e : Fe(e)).substring(2);
|
|
1496
1496
|
for (; t.startsWith("0"); )
|
|
1497
1497
|
t = t.substring(1);
|
|
@@ -1575,7 +1575,7 @@ const vv = Object.freeze({
|
|
|
1575
1575
|
ignore: z_,
|
|
1576
1576
|
replace: vC
|
|
1577
1577
|
});
|
|
1578
|
-
function
|
|
1578
|
+
function j_(e, t) {
|
|
1579
1579
|
t == null && (t = vv.error);
|
|
1580
1580
|
const r = Y(e, "bytes"), n = [];
|
|
1581
1581
|
let i = 0;
|
|
@@ -1651,10 +1651,10 @@ function wC(e) {
|
|
|
1651
1651
|
return e.map((t) => t <= 65535 ? String.fromCharCode(t) : (t -= 65536, String.fromCharCode((t >> 10 & 1023) + 55296, (t & 1023) + 56320))).join("");
|
|
1652
1652
|
}
|
|
1653
1653
|
function Zi(e, t) {
|
|
1654
|
-
return wC(
|
|
1654
|
+
return wC(j_(e, t));
|
|
1655
1655
|
}
|
|
1656
|
-
function
|
|
1657
|
-
return
|
|
1656
|
+
function W_(e, t) {
|
|
1657
|
+
return j_(Be(e, t));
|
|
1658
1658
|
}
|
|
1659
1659
|
function V_(e) {
|
|
1660
1660
|
async function t(r, n) {
|
|
@@ -2004,7 +2004,7 @@ const SC = class Q0 {
|
|
|
2004
2004
|
* Resolves to the response by sending the request.
|
|
2005
2005
|
*/
|
|
2006
2006
|
send() {
|
|
2007
|
-
return D(v(this, Ui) == null, "request already sent", "UNSUPPORTED_OPERATION", { operation: "fetchRequest.send" }), E(this, Ui, new wv(this)),
|
|
2007
|
+
return D(v(this, Ui) == null, "request already sent", "UNSUPPORTED_OPERATION", { operation: "fetchRequest.send" }), E(this, Ui, new wv(this)), j(this, _c, al).call(this, 0, Y_() + this.timeout, 0, this, new Xs(0, "", {}, null, this));
|
|
2008
2008
|
}
|
|
2009
2009
|
/**
|
|
2010
2010
|
* Cancels the inflight response, causing a ``CANCELLED``
|
|
@@ -2147,14 +2147,14 @@ nl = /* @__PURE__ */ new WeakMap(), il = /* @__PURE__ */ new WeakMap(), Xn = /*
|
|
|
2147
2147
|
if (h.statusCode === 301 || h.statusCode === 302) {
|
|
2148
2148
|
try {
|
|
2149
2149
|
const f = h.headers.location || "";
|
|
2150
|
-
return
|
|
2150
|
+
return j(s = c.redirect(f), _c, al).call(s, e + 1, t, 0, n, h);
|
|
2151
2151
|
} catch {
|
|
2152
2152
|
}
|
|
2153
2153
|
return h;
|
|
2154
2154
|
} else if (h.statusCode === 429 && (this.retryFunc == null || await this.retryFunc(c, h, e))) {
|
|
2155
2155
|
const f = h.headers["retry-after"];
|
|
2156
2156
|
let d = v(this, ci).slotInterval * Math.trunc(Math.random() * Math.pow(2, e));
|
|
2157
|
-
return typeof f == "string" && f.match(/^[1-9][0-9]*$/) && (d = parseInt(f)),
|
|
2157
|
+
return typeof f == "string" && f.match(/^[1-9][0-9]*$/) && (d = parseInt(f)), j(o = c.clone(), _c, al).call(o, e + 1, t, d, n, h);
|
|
2158
2158
|
}
|
|
2159
2159
|
if (this.processFunc) {
|
|
2160
2160
|
Bf(v(n, Ui));
|
|
@@ -2163,7 +2163,7 @@ nl = /* @__PURE__ */ new WeakMap(), il = /* @__PURE__ */ new WeakMap(), Xn = /*
|
|
|
2163
2163
|
} catch (f) {
|
|
2164
2164
|
(f.throttle == null || typeof f.stall != "number") && h.makeServerError("error in post-processing function", f).assertOk();
|
|
2165
2165
|
let d = v(this, ci).slotInterval * Math.trunc(Math.random() * Math.pow(2, e));
|
|
2166
|
-
return f.stall >= 0 && (d = f.stall),
|
|
2166
|
+
return f.stall >= 0 && (d = f.stall), j(a = c.clone(), _c, al).call(a, e + 1, t, d, n, h);
|
|
2167
2167
|
}
|
|
2168
2168
|
}
|
|
2169
2169
|
return h;
|
|
@@ -2350,7 +2350,7 @@ function ul(e, t, r) {
|
|
|
2350
2350
|
operation: r,
|
|
2351
2351
|
fault: "overflow",
|
|
2352
2352
|
value: e
|
|
2353
|
-
}), e > xn ? e = Jc(
|
|
2353
|
+
}), e > xn ? e = Jc(ji(e, n), n) : e = -Jc(ji(-e, n), n);
|
|
2354
2354
|
} else {
|
|
2355
2355
|
const i = Ac << n;
|
|
2356
2356
|
D(r == null || e >= 0 && e < i, "overflow", "NUMERIC_FAULT", {
|
|
@@ -2438,7 +2438,7 @@ const Z_ = class Xa {
|
|
|
2438
2438
|
* to %%other%%, ignoring overflow.
|
|
2439
2439
|
*/
|
|
2440
2440
|
addUnsafe(t) {
|
|
2441
|
-
return
|
|
2441
|
+
return j(this, he, Y0).call(this, t);
|
|
2442
2442
|
}
|
|
2443
2443
|
/**
|
|
2444
2444
|
* Returns a new [[FixedNumber]] with the result of %%this%% added
|
|
@@ -2446,14 +2446,14 @@ const Z_ = class Xa {
|
|
|
2446
2446
|
* occurs.
|
|
2447
2447
|
*/
|
|
2448
2448
|
add(t) {
|
|
2449
|
-
return
|
|
2449
|
+
return j(this, he, Y0).call(this, t, "add");
|
|
2450
2450
|
}
|
|
2451
2451
|
/**
|
|
2452
2452
|
* Returns a new [[FixedNumber]] with the result of %%other%% subtracted
|
|
2453
2453
|
* from %%this%%, ignoring overflow.
|
|
2454
2454
|
*/
|
|
2455
2455
|
subUnsafe(t) {
|
|
2456
|
-
return
|
|
2456
|
+
return j(this, he, Z0).call(this, t);
|
|
2457
2457
|
}
|
|
2458
2458
|
/**
|
|
2459
2459
|
* Returns a new [[FixedNumber]] with the result of %%other%% subtracted
|
|
@@ -2461,14 +2461,14 @@ const Z_ = class Xa {
|
|
|
2461
2461
|
* occurs.
|
|
2462
2462
|
*/
|
|
2463
2463
|
sub(t) {
|
|
2464
|
-
return
|
|
2464
|
+
return j(this, he, Z0).call(this, t, "sub");
|
|
2465
2465
|
}
|
|
2466
2466
|
/**
|
|
2467
2467
|
* Returns a new [[FixedNumber]] with the result of %%this%% multiplied
|
|
2468
2468
|
* by %%other%%, ignoring overflow and underflow (precision loss).
|
|
2469
2469
|
*/
|
|
2470
2470
|
mulUnsafe(t) {
|
|
2471
|
-
return
|
|
2471
|
+
return j(this, he, X0).call(this, t);
|
|
2472
2472
|
}
|
|
2473
2473
|
/**
|
|
2474
2474
|
* Returns a new [[FixedNumber]] with the result of %%this%% multiplied
|
|
@@ -2476,7 +2476,7 @@ const Z_ = class Xa {
|
|
|
2476
2476
|
* occurs.
|
|
2477
2477
|
*/
|
|
2478
2478
|
mul(t) {
|
|
2479
|
-
return
|
|
2479
|
+
return j(this, he, X0).call(this, t, "mul");
|
|
2480
2480
|
}
|
|
2481
2481
|
/**
|
|
2482
2482
|
* Returns a new [[FixedNumber]] with the result of %%this%% multiplied
|
|
@@ -2484,13 +2484,13 @@ const Z_ = class Xa {
|
|
|
2484
2484
|
* occurs or if underflow (precision loss) occurs.
|
|
2485
2485
|
*/
|
|
2486
2486
|
mulSignal(t) {
|
|
2487
|
-
|
|
2487
|
+
j(this, he, Ho).call(this, t);
|
|
2488
2488
|
const r = v(this, ee) * v(t, ee);
|
|
2489
2489
|
return D(r % v(this, Tr) === xn, "precision lost during signalling mul", "NUMERIC_FAULT", {
|
|
2490
2490
|
operation: "mulSignal",
|
|
2491
2491
|
fault: "underflow",
|
|
2492
2492
|
value: this
|
|
2493
|
-
}),
|
|
2493
|
+
}), j(this, he, Li).call(this, r / v(this, Tr), "mulSignal");
|
|
2494
2494
|
}
|
|
2495
2495
|
/**
|
|
2496
2496
|
* Returns a new [[FixedNumber]] with the result of %%this%% divided
|
|
@@ -2498,7 +2498,7 @@ const Z_ = class Xa {
|
|
|
2498
2498
|
* [[NumericFaultError]] is thrown if overflow occurs.
|
|
2499
2499
|
*/
|
|
2500
2500
|
divUnsafe(t) {
|
|
2501
|
-
return
|
|
2501
|
+
return j(this, he, t1).call(this, t);
|
|
2502
2502
|
}
|
|
2503
2503
|
/**
|
|
2504
2504
|
* Returns a new [[FixedNumber]] with the result of %%this%% divided
|
|
@@ -2506,7 +2506,7 @@ const Z_ = class Xa {
|
|
|
2506
2506
|
* [[NumericFaultError]] is thrown if overflow occurs.
|
|
2507
2507
|
*/
|
|
2508
2508
|
div(t) {
|
|
2509
|
-
return
|
|
2509
|
+
return j(this, he, t1).call(this, t, "div");
|
|
2510
2510
|
}
|
|
2511
2511
|
/**
|
|
2512
2512
|
* Returns a new [[FixedNumber]] with the result of %%this%% divided
|
|
@@ -2518,13 +2518,13 @@ const Z_ = class Xa {
|
|
|
2518
2518
|
operation: "div",
|
|
2519
2519
|
fault: "divide-by-zero",
|
|
2520
2520
|
value: this
|
|
2521
|
-
}),
|
|
2521
|
+
}), j(this, he, Ho).call(this, t);
|
|
2522
2522
|
const r = v(this, ee) * v(this, Tr);
|
|
2523
2523
|
return D(r % v(t, ee) === xn, "precision lost during signalling div", "NUMERIC_FAULT", {
|
|
2524
2524
|
operation: "divSignal",
|
|
2525
2525
|
fault: "underflow",
|
|
2526
2526
|
value: this
|
|
2527
|
-
}),
|
|
2527
|
+
}), j(this, he, Li).call(this, r / v(t, ee), "divSignal");
|
|
2528
2528
|
}
|
|
2529
2529
|
/**
|
|
2530
2530
|
* Returns a comparison result between %%this%% and %%other%%.
|
|
@@ -2576,7 +2576,7 @@ const Z_ = class Xa {
|
|
|
2576
2576
|
*/
|
|
2577
2577
|
floor() {
|
|
2578
2578
|
let t = v(this, ee);
|
|
2579
|
-
return v(this, ee) < xn && (t -= v(this, Tr) - Ac), t = v(this, ee) / v(this, Tr) * v(this, Tr),
|
|
2579
|
+
return v(this, ee) < xn && (t -= v(this, Tr) - Ac), t = v(this, ee) / v(this, Tr) * v(this, Tr), j(this, he, Li).call(this, t, "floor");
|
|
2580
2580
|
}
|
|
2581
2581
|
/**
|
|
2582
2582
|
* Returns a new [[FixedNumber]] which is the smallest **integer**
|
|
@@ -2586,7 +2586,7 @@ const Z_ = class Xa {
|
|
|
2586
2586
|
*/
|
|
2587
2587
|
ceiling() {
|
|
2588
2588
|
let t = v(this, ee);
|
|
2589
|
-
return v(this, ee) > xn && (t += v(this, Tr) - Ac), t = v(this, ee) / v(this, Tr) * v(this, Tr),
|
|
2589
|
+
return v(this, ee) > xn && (t += v(this, Tr) - Ac), t = v(this, ee) / v(this, Tr) * v(this, Tr), j(this, he, Li).call(this, t, "ceiling");
|
|
2590
2590
|
}
|
|
2591
2591
|
/**
|
|
2592
2592
|
* Returns a new [[FixedNumber]] with the decimal component
|
|
@@ -2698,17 +2698,17 @@ ai = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), Tr = /*
|
|
|
2698
2698
|
}, Li = function(e, t) {
|
|
2699
2699
|
return e = ul(e, v(this, ai), t), new Z_(Za, e, v(this, ai));
|
|
2700
2700
|
}, Y0 = function(e, t) {
|
|
2701
|
-
return
|
|
2701
|
+
return j(this, he, Ho).call(this, e), j(this, he, Li).call(this, v(this, ee) + v(e, ee), t);
|
|
2702
2702
|
}, Z0 = function(e, t) {
|
|
2703
|
-
return
|
|
2703
|
+
return j(this, he, Ho).call(this, e), j(this, he, Li).call(this, v(this, ee) - v(e, ee), t);
|
|
2704
2704
|
}, X0 = function(e, t) {
|
|
2705
|
-
return
|
|
2705
|
+
return j(this, he, Ho).call(this, e), j(this, he, Li).call(this, v(this, ee) * v(e, ee) / v(this, Tr), t);
|
|
2706
2706
|
}, t1 = function(e, t) {
|
|
2707
2707
|
return D(v(e, ee) !== xn, "division by zero", "NUMERIC_FAULT", {
|
|
2708
2708
|
operation: "div",
|
|
2709
2709
|
fault: "divide-by-zero",
|
|
2710
2710
|
value: this
|
|
2711
|
-
}),
|
|
2711
|
+
}), j(this, he, Ho).call(this, e), j(this, he, Li).call(this, v(this, ee) * v(this, Tr) / v(e, ee), t);
|
|
2712
2712
|
};
|
|
2713
2713
|
let Ng = Z_;
|
|
2714
2714
|
function xC(e) {
|
|
@@ -2857,7 +2857,7 @@ function zo(e) {
|
|
|
2857
2857
|
function Y2(e, t) {
|
|
2858
2858
|
i6.set(e, t);
|
|
2859
2859
|
}
|
|
2860
|
-
function
|
|
2860
|
+
function Wu(e, t) {
|
|
2861
2861
|
const r = new Error(`deferred error during ABI decoding triggered accessing ${e}`);
|
|
2862
2862
|
throw r.error = t, r;
|
|
2863
2863
|
}
|
|
@@ -2893,7 +2893,7 @@ const PC = class hl extends Array {
|
|
|
2893
2893
|
if (f < 0 || f >= this.length)
|
|
2894
2894
|
throw new RangeError("out of result range");
|
|
2895
2895
|
const d = c[f];
|
|
2896
|
-
return d instanceof Error &&
|
|
2896
|
+
return d instanceof Error && Wu(`index ${f}`, d), d;
|
|
2897
2897
|
}
|
|
2898
2898
|
if (NC.indexOf(u) >= 0)
|
|
2899
2899
|
return Reflect.get(c, u, l);
|
|
@@ -2920,7 +2920,7 @@ const PC = class hl extends Array {
|
|
|
2920
2920
|
toArray(t) {
|
|
2921
2921
|
const r = [];
|
|
2922
2922
|
return this.forEach((n, i) => {
|
|
2923
|
-
n instanceof Error &&
|
|
2923
|
+
n instanceof Error && Wu(`index ${i}`, n), t && n instanceof hl && (n = n.toArray(t)), r.push(n);
|
|
2924
2924
|
}), r;
|
|
2925
2925
|
}
|
|
2926
2926
|
/**
|
|
@@ -2954,7 +2954,7 @@ const PC = class hl extends Array {
|
|
|
2954
2954
|
const n = zo(this), i = [], s = [];
|
|
2955
2955
|
for (let o = 0; o < this.length; o++) {
|
|
2956
2956
|
const a = this[o];
|
|
2957
|
-
a instanceof Error &&
|
|
2957
|
+
a instanceof Error && Wu(`index ${o}`, a), t.call(r, a, o, this) && (i.push(a), s.push(n[o]));
|
|
2958
2958
|
}
|
|
2959
2959
|
return new hl(Uf, i, s);
|
|
2960
2960
|
}
|
|
@@ -2965,7 +2965,7 @@ const PC = class hl extends Array {
|
|
|
2965
2965
|
const n = [];
|
|
2966
2966
|
for (let i = 0; i < this.length; i++) {
|
|
2967
2967
|
const s = this[i];
|
|
2968
|
-
s instanceof Error &&
|
|
2968
|
+
s instanceof Error && Wu(`index ${i}`, s), n.push(t.call(r, s, i, this));
|
|
2969
2969
|
}
|
|
2970
2970
|
return n;
|
|
2971
2971
|
}
|
|
@@ -2982,7 +2982,7 @@ const PC = class hl extends Array {
|
|
|
2982
2982
|
if (r === -1)
|
|
2983
2983
|
return;
|
|
2984
2984
|
const n = this[r];
|
|
2985
|
-
return n instanceof Error &&
|
|
2985
|
+
return n instanceof Error && Wu(`property ${JSON.stringify(t)}`, n.error), n;
|
|
2986
2986
|
}
|
|
2987
2987
|
/**
|
|
2988
2988
|
* Creates a new [[Result]] for %%items%% with each entry
|
|
@@ -3038,17 +3038,17 @@ class n1 {
|
|
|
3038
3038
|
return v(this, Ls);
|
|
3039
3039
|
}
|
|
3040
3040
|
appendWriter(t) {
|
|
3041
|
-
return
|
|
3041
|
+
return j(this, fl, Tp).call(this, De(t.data));
|
|
3042
3042
|
}
|
|
3043
3043
|
// Arrayish item; pad on the right to *nearest* WordSize
|
|
3044
3044
|
writeBytes(t) {
|
|
3045
3045
|
let r = De(t);
|
|
3046
3046
|
const n = r.length % Ir;
|
|
3047
|
-
return n && (r = De(Pt([r, e1.slice(n)]))),
|
|
3047
|
+
return n && (r = De(Pt([r, e1.slice(n)]))), j(this, fl, Tp).call(this, r);
|
|
3048
3048
|
}
|
|
3049
3049
|
// Numeric item; pad on the left *to* WordSize
|
|
3050
3050
|
writeValue(t) {
|
|
3051
|
-
return
|
|
3051
|
+
return j(this, fl, Tp).call(this, Z2(t));
|
|
3052
3052
|
}
|
|
3053
3053
|
// Inserts a numeric place-holder, returning a callback that can
|
|
3054
3054
|
// be used to asjust the value later
|
|
@@ -3062,32 +3062,32 @@ class n1 {
|
|
|
3062
3062
|
Ms = /* @__PURE__ */ new WeakMap(), Ls = /* @__PURE__ */ new WeakMap(), fl = /* @__PURE__ */ new WeakSet(), Tp = function(e) {
|
|
3063
3063
|
return v(this, Ms).push(e), E(this, Ls, v(this, Ls) + e.length), e.length;
|
|
3064
3064
|
};
|
|
3065
|
-
var
|
|
3065
|
+
var Wr, Vr, jo, Bc, Jo, ah, i1, o6;
|
|
3066
3066
|
const MC = class a6 {
|
|
3067
3067
|
constructor(t, r, n) {
|
|
3068
|
-
B(this, ah), O(this, "allowLoose"), B(this,
|
|
3068
|
+
B(this, ah), O(this, "allowLoose"), B(this, Wr), B(this, Vr), B(this, jo), B(this, Bc), B(this, Jo), tt(this, { allowLoose: !!r }), E(this, Wr, De(t)), E(this, jo, 0), E(this, Bc, null), E(this, Jo, n ?? 1024), E(this, Vr, 0);
|
|
3069
3069
|
}
|
|
3070
3070
|
get data() {
|
|
3071
|
-
return V(v(this,
|
|
3071
|
+
return V(v(this, Wr));
|
|
3072
3072
|
}
|
|
3073
3073
|
get dataLength() {
|
|
3074
|
-
return v(this,
|
|
3074
|
+
return v(this, Wr).length;
|
|
3075
3075
|
}
|
|
3076
3076
|
get consumed() {
|
|
3077
3077
|
return v(this, Vr);
|
|
3078
3078
|
}
|
|
3079
3079
|
get bytes() {
|
|
3080
|
-
return new Uint8Array(v(this,
|
|
3080
|
+
return new Uint8Array(v(this, Wr));
|
|
3081
3081
|
}
|
|
3082
3082
|
// Create a sub-reader with the same underlying data, but offset
|
|
3083
3083
|
subReader(t) {
|
|
3084
|
-
const r = new a6(v(this,
|
|
3084
|
+
const r = new a6(v(this, Wr).slice(v(this, Vr) + t), this.allowLoose, v(this, Jo));
|
|
3085
3085
|
return E(r, Bc, this), r;
|
|
3086
3086
|
}
|
|
3087
3087
|
// Read bytes
|
|
3088
3088
|
readBytes(t, r) {
|
|
3089
|
-
let n =
|
|
3090
|
-
return
|
|
3089
|
+
let n = j(this, ah, o6).call(this, 0, t, !!r);
|
|
3090
|
+
return j(this, ah, i1).call(this, t), E(this, Vr, v(this, Vr) + n.length), n.slice(0, t);
|
|
3091
3091
|
}
|
|
3092
3092
|
// Read a numeric values
|
|
3093
3093
|
readValue() {
|
|
@@ -3097,26 +3097,26 @@ const MC = class a6 {
|
|
|
3097
3097
|
return Bh(this.readBytes(Ir));
|
|
3098
3098
|
}
|
|
3099
3099
|
};
|
|
3100
|
-
|
|
3100
|
+
Wr = /* @__PURE__ */ new WeakMap(), Vr = /* @__PURE__ */ new WeakMap(), jo = /* @__PURE__ */ new WeakMap(), Bc = /* @__PURE__ */ new WeakMap(), Jo = /* @__PURE__ */ new WeakMap(), ah = /* @__PURE__ */ new WeakSet(), i1 = function(e) {
|
|
3101
3101
|
var t;
|
|
3102
3102
|
if (v(this, Bc))
|
|
3103
|
-
return
|
|
3104
|
-
E(this,
|
|
3105
|
-
buffer: De(v(this,
|
|
3103
|
+
return j(t = v(this, Bc), ah, i1).call(t, e);
|
|
3104
|
+
E(this, jo, v(this, jo) + e), D(v(this, Jo) < 1 || v(this, jo) <= v(this, Jo) * this.dataLength, `compressed ABI data exceeds inflation ratio of ${v(this, Jo)} ( see: https://github.com/ethers-io/ethers.js/issues/4537 )`, "BUFFER_OVERRUN", {
|
|
3105
|
+
buffer: De(v(this, Wr)),
|
|
3106
3106
|
offset: v(this, Vr),
|
|
3107
3107
|
length: e,
|
|
3108
3108
|
info: {
|
|
3109
|
-
bytesRead: v(this,
|
|
3109
|
+
bytesRead: v(this, jo),
|
|
3110
3110
|
dataLength: this.dataLength
|
|
3111
3111
|
}
|
|
3112
3112
|
});
|
|
3113
3113
|
}, o6 = function(e, t, r) {
|
|
3114
3114
|
let n = Math.ceil(t / Ir) * Ir;
|
|
3115
|
-
return v(this, Vr) + n > v(this,
|
|
3116
|
-
buffer: De(v(this,
|
|
3117
|
-
length: v(this,
|
|
3115
|
+
return v(this, Vr) + n > v(this, Wr).length && (this.allowLoose && r && v(this, Vr) + t <= v(this, Wr).length ? n = t : D(!1, "data out-of-bounds", "BUFFER_OVERRUN", {
|
|
3116
|
+
buffer: De(v(this, Wr)),
|
|
3117
|
+
length: v(this, Wr).length,
|
|
3118
3118
|
offset: v(this, Vr) + n
|
|
3119
|
-
})), v(this,
|
|
3119
|
+
})), v(this, Wr).slice(v(this, Vr), v(this, Vr) + n);
|
|
3120
3120
|
};
|
|
3121
3121
|
let BC = MC;
|
|
3122
3122
|
function qr(e) {
|
|
@@ -3264,7 +3264,7 @@ function Cv(e, t, r, n) {
|
|
|
3264
3264
|
}
|
|
3265
3265
|
return zC(a, c, o, u, f);
|
|
3266
3266
|
}
|
|
3267
|
-
function
|
|
3267
|
+
function jC(e, t, r, n) {
|
|
3268
3268
|
if (typeof e.setBigUint64 == "function")
|
|
3269
3269
|
return e.setBigUint64(t, r, n);
|
|
3270
3270
|
const i = BigInt(32), s = BigInt(4294967295), o = Number(r >> i & s), a = Number(r & s), c = n ? 4 : 0, u = n ? 0 : 4;
|
|
@@ -3298,7 +3298,7 @@ class Iv extends Sv {
|
|
|
3298
3298
|
r[o++] = 128, this.buffer.subarray(o).fill(0), this.padOffset > i - o && (this.process(n, 0), o = 0);
|
|
3299
3299
|
for (let h = o; h < i; h++)
|
|
3300
3300
|
r[h] = 0;
|
|
3301
|
-
|
|
3301
|
+
jC(n, i - 8, BigInt(this.length * 8), s), this.process(n, 0);
|
|
3302
3302
|
const a = Np(t), c = this.outputLen;
|
|
3303
3303
|
if (c % 4)
|
|
3304
3304
|
throw new Error("_sha2: outputLen should be aligned to 32bit");
|
|
@@ -3320,7 +3320,7 @@ class Iv extends Sv {
|
|
|
3320
3320
|
return t.length = i, t.pos = a, t.finished = s, t.destroyed = o, i % r && t.buffer.set(n), t;
|
|
3321
3321
|
}
|
|
3322
3322
|
}
|
|
3323
|
-
const
|
|
3323
|
+
const WC = (e, t, r) => e & t ^ ~e & r, VC = (e, t, r) => e & t ^ e & r ^ t & r, qC = /* @__PURE__ */ new Uint32Array([
|
|
3324
3324
|
1116352408,
|
|
3325
3325
|
1899447441,
|
|
3326
3326
|
3049323471,
|
|
@@ -3416,7 +3416,7 @@ class KC extends Iv {
|
|
|
3416
3416
|
}
|
|
3417
3417
|
let { A: n, B: i, C: s, D: o, E: a, F: c, G: u, H: l } = this;
|
|
3418
3418
|
for (let h = 0; h < 64; h++) {
|
|
3419
|
-
const f = Zn(a, 6) ^ Zn(a, 11) ^ Zn(a, 25), d = l + f +
|
|
3419
|
+
const f = Zn(a, 6) ^ Zn(a, 11) ^ Zn(a, 25), d = l + f + WC(a, c, u) + qC[h] + ws[h] | 0, g = (Zn(n, 2) ^ Zn(n, 13) ^ Zn(n, 22)) + VC(n, i, s) | 0;
|
|
3420
3420
|
l = u, u = c, c = a, a = o + d | 0, o = s, s = i, i = n, n = d + g | 0;
|
|
3421
3421
|
}
|
|
3422
3422
|
n = n + this.A | 0, i = i + this.B | 0, s = s + this.C | 0, o = o + this.D | 0, a = a + this.E | 0, c = c + this.F | 0, u = u + this.G | 0, l = l + this.H | 0, this.set(n, i, s, o, a, c, u, l);
|
|
@@ -3567,15 +3567,15 @@ class pI extends Iv {
|
|
|
3567
3567
|
for (let R = 0; R < 16; R++, r += 4)
|
|
3568
3568
|
bs[R] = t.getUint32(r), _s[R] = t.getUint32(r += 4);
|
|
3569
3569
|
for (let R = 16; R < 80; R++) {
|
|
3570
|
-
const x = bs[R - 15] | 0, T = _s[R - 15] | 0, U = _t.rotrSH(x, T, 1) ^ _t.rotrSH(x, T, 8) ^ _t.shrSH(x, T, 7), H = _t.rotrSL(x, T, 1) ^ _t.rotrSL(x, T, 8) ^ _t.shrSL(x, T, 7), $ = bs[R - 2] | 0,
|
|
3570
|
+
const x = bs[R - 15] | 0, T = _s[R - 15] | 0, U = _t.rotrSH(x, T, 1) ^ _t.rotrSH(x, T, 8) ^ _t.shrSH(x, T, 7), H = _t.rotrSL(x, T, 1) ^ _t.rotrSL(x, T, 8) ^ _t.shrSL(x, T, 7), $ = bs[R - 2] | 0, W = _s[R - 2] | 0, J = _t.rotrSH($, W, 19) ^ _t.rotrBH($, W, 61) ^ _t.shrSH($, W, 6), q = _t.rotrSL($, W, 19) ^ _t.rotrBL($, W, 61) ^ _t.shrSL($, W, 6), rt = _t.add4L(H, q, _s[R - 7], _s[R - 16]), ct = _t.add4H(rt, U, J, bs[R - 7], bs[R - 16]);
|
|
3571
3571
|
bs[R] = ct | 0, _s[R] = rt | 0;
|
|
3572
3572
|
}
|
|
3573
3573
|
let { Ah: n, Al: i, Bh: s, Bl: o, Ch: a, Cl: c, Dh: u, Dl: l, Eh: h, El: f, Fh: d, Fl: g, Gh: w, Gl: y, Hh: _, Hl: C } = this;
|
|
3574
3574
|
for (let R = 0; R < 80; R++) {
|
|
3575
|
-
const x = _t.rotrSH(h, f, 14) ^ _t.rotrSH(h, f, 18) ^ _t.rotrBH(h, f, 41), T = _t.rotrSL(h, f, 14) ^ _t.rotrSL(h, f, 18) ^ _t.rotrBL(h, f, 41), U = h & d ^ ~h & w, H = f & g ^ ~f & y, $ = _t.add5L(C, T, H, fI[R], _s[R]),
|
|
3576
|
-
_ = w | 0, C = y | 0, w = d | 0, y = g | 0, d = h | 0, g = f | 0, { h, l: f } = _t.add(u | 0, l | 0,
|
|
3575
|
+
const x = _t.rotrSH(h, f, 14) ^ _t.rotrSH(h, f, 18) ^ _t.rotrBH(h, f, 41), T = _t.rotrSL(h, f, 14) ^ _t.rotrSL(h, f, 18) ^ _t.rotrBL(h, f, 41), U = h & d ^ ~h & w, H = f & g ^ ~f & y, $ = _t.add5L(C, T, H, fI[R], _s[R]), W = _t.add5H($, _, x, U, hI[R], bs[R]), J = $ | 0, q = _t.rotrSH(n, i, 28) ^ _t.rotrBH(n, i, 34) ^ _t.rotrBH(n, i, 39), rt = _t.rotrSL(n, i, 28) ^ _t.rotrBL(n, i, 34) ^ _t.rotrBL(n, i, 39), ct = n & s ^ n & a ^ s & a, St = i & o ^ i & c ^ o & c;
|
|
3576
|
+
_ = w | 0, C = y | 0, w = d | 0, y = g | 0, d = h | 0, g = f | 0, { h, l: f } = _t.add(u | 0, l | 0, W | 0, J | 0), u = a | 0, l = c | 0, a = s | 0, c = o | 0, s = n | 0, o = i | 0;
|
|
3577
3577
|
const z = _t.add3L(J, rt, St);
|
|
3578
|
-
n = _t.add3H(z,
|
|
3578
|
+
n = _t.add3H(z, W, q, ct), i = z | 0;
|
|
3579
3579
|
}
|
|
3580
3580
|
({ h: n, l: i } = _t.add(this.Ah | 0, this.Al | 0, n | 0, i | 0)), { h: s, l: o } = _t.add(this.Bh | 0, this.Bl | 0, s | 0, o | 0), { h: a, l: c } = _t.add(this.Ch | 0, this.Cl | 0, a | 0, c | 0), { h: u, l } = _t.add(this.Dh | 0, this.Dl | 0, u | 0, l | 0), { h, l: f } = _t.add(this.Eh | 0, this.El | 0, h | 0, f | 0), { h: d, l: g } = _t.add(this.Fh | 0, this.Fl | 0, d | 0, g | 0), { h: w, l: y } = _t.add(this.Gh | 0, this.Gl | 0, w | 0, y | 0), { h: _, l: C } = _t.add(this.Hh | 0, this.Hl | 0, _ | 0, C | 0), this.set(n, i, s, o, a, c, u, l, h, f, d, g, w, y, _, C);
|
|
3581
3581
|
}
|
|
@@ -3880,10 +3880,10 @@ Jr.register = function(e) {
|
|
|
3880
3880
|
Object.freeze(Jr);
|
|
3881
3881
|
const Lt = (e, t) => e << t | e >>> 32 - t;
|
|
3882
3882
|
function s3(e, t, r, n, i, s) {
|
|
3883
|
-
let o = e[t++] ^ r[n++], a = e[t++] ^ r[n++], c = e[t++] ^ r[n++], u = e[t++] ^ r[n++], l = e[t++] ^ r[n++], h = e[t++] ^ r[n++], f = e[t++] ^ r[n++], d = e[t++] ^ r[n++], g = e[t++] ^ r[n++], w = e[t++] ^ r[n++], y = e[t++] ^ r[n++], _ = e[t++] ^ r[n++], C = e[t++] ^ r[n++], R = e[t++] ^ r[n++], x = e[t++] ^ r[n++], T = e[t++] ^ r[n++], U = o, H = a, $ = c,
|
|
3883
|
+
let o = e[t++] ^ r[n++], a = e[t++] ^ r[n++], c = e[t++] ^ r[n++], u = e[t++] ^ r[n++], l = e[t++] ^ r[n++], h = e[t++] ^ r[n++], f = e[t++] ^ r[n++], d = e[t++] ^ r[n++], g = e[t++] ^ r[n++], w = e[t++] ^ r[n++], y = e[t++] ^ r[n++], _ = e[t++] ^ r[n++], C = e[t++] ^ r[n++], R = e[t++] ^ r[n++], x = e[t++] ^ r[n++], T = e[t++] ^ r[n++], U = o, H = a, $ = c, W = u, J = l, q = h, rt = f, ct = d, St = g, z = w, Q = y, nt = _, at = C, lt = R, ht = x, Bt = T;
|
|
3884
3884
|
for (let Zt = 0; Zt < 8; Zt += 2)
|
|
3885
|
-
J ^= Lt(U + at | 0, 7), St ^= Lt(J + U | 0, 9), at ^= Lt(St + J | 0, 13), U ^= Lt(at + St | 0, 18), z ^= Lt(q + H | 0, 7), lt ^= Lt(z + q | 0, 9), H ^= Lt(lt + z | 0, 13), q ^= Lt(H + lt | 0, 18), ht ^= Lt(Q + rt | 0, 7), $ ^= Lt(ht + Q | 0, 9), rt ^= Lt($ + ht | 0, 13), Q ^= Lt(rt + $ | 0, 18),
|
|
3886
|
-
i[s++] = o + U | 0, i[s++] = a + H | 0, i[s++] = c + $ | 0, i[s++] = u +
|
|
3885
|
+
J ^= Lt(U + at | 0, 7), St ^= Lt(J + U | 0, 9), at ^= Lt(St + J | 0, 13), U ^= Lt(at + St | 0, 18), z ^= Lt(q + H | 0, 7), lt ^= Lt(z + q | 0, 9), H ^= Lt(lt + z | 0, 13), q ^= Lt(H + lt | 0, 18), ht ^= Lt(Q + rt | 0, 7), $ ^= Lt(ht + Q | 0, 9), rt ^= Lt($ + ht | 0, 13), Q ^= Lt(rt + $ | 0, 18), W ^= Lt(Bt + nt | 0, 7), ct ^= Lt(W + Bt | 0, 9), nt ^= Lt(ct + W | 0, 13), Bt ^= Lt(nt + ct | 0, 18), H ^= Lt(U + W | 0, 7), $ ^= Lt(H + U | 0, 9), W ^= Lt($ + H | 0, 13), U ^= Lt(W + $ | 0, 18), rt ^= Lt(q + J | 0, 7), ct ^= Lt(rt + q | 0, 9), J ^= Lt(ct + rt | 0, 13), q ^= Lt(J + ct | 0, 18), nt ^= Lt(Q + z | 0, 7), St ^= Lt(nt + Q | 0, 9), z ^= Lt(St + nt | 0, 13), Q ^= Lt(z + St | 0, 18), at ^= Lt(Bt + ht | 0, 7), lt ^= Lt(at + Bt | 0, 9), ht ^= Lt(lt + at | 0, 13), Bt ^= Lt(ht + lt | 0, 18);
|
|
3886
|
+
i[s++] = o + U | 0, i[s++] = a + H | 0, i[s++] = c + $ | 0, i[s++] = u + W | 0, i[s++] = l + J | 0, i[s++] = h + q | 0, i[s++] = f + rt | 0, i[s++] = d + ct | 0, i[s++] = g + St | 0, i[s++] = w + z | 0, i[s++] = y + Q | 0, i[s++] = _ + nt | 0, i[s++] = C + at | 0, i[s++] = R + lt | 0, i[s++] = x + ht | 0, i[s++] = T + Bt | 0;
|
|
3887
3887
|
}
|
|
3888
3888
|
function Uc(e, t, r, n, i) {
|
|
3889
3889
|
let s = n + 0, o = n + 16 * i;
|
|
@@ -3963,17 +3963,17 @@ async function LI(e, t, r) {
|
|
|
3963
3963
|
return G6(e, o, l, c, h);
|
|
3964
3964
|
}
|
|
3965
3965
|
let H6 = !1, z6 = !1;
|
|
3966
|
-
const
|
|
3966
|
+
const j6 = async function(e, t, r, n, i, s, o) {
|
|
3967
3967
|
return await LI(e, t, { N: r, r: n, p: i, dkLen: s, onProgress: o });
|
|
3968
|
-
},
|
|
3968
|
+
}, W6 = function(e, t, r, n, i, s) {
|
|
3969
3969
|
return UI(e, t, { N: r, r: n, p: i, dkLen: s });
|
|
3970
3970
|
};
|
|
3971
|
-
let V6 =
|
|
3971
|
+
let V6 = j6, q6 = W6;
|
|
3972
3972
|
async function cs(e, t, r, n, i, s, o) {
|
|
3973
3973
|
const a = Y(e, "passwd"), c = Y(t, "salt");
|
|
3974
3974
|
return V(await V6(a, c, r, n, i, s, o));
|
|
3975
3975
|
}
|
|
3976
|
-
cs._ =
|
|
3976
|
+
cs._ = j6;
|
|
3977
3977
|
cs.lock = function() {
|
|
3978
3978
|
z6 = !0;
|
|
3979
3979
|
};
|
|
@@ -3987,7 +3987,7 @@ function us(e, t, r, n, i, s) {
|
|
|
3987
3987
|
const o = Y(e, "passwd"), a = Y(t, "salt");
|
|
3988
3988
|
return V(q6(o, a, r, n, i, s));
|
|
3989
3989
|
}
|
|
3990
|
-
us._ =
|
|
3990
|
+
us._ = W6;
|
|
3991
3991
|
us.lock = function() {
|
|
3992
3992
|
H6 = !0;
|
|
3993
3993
|
};
|
|
@@ -4127,10 +4127,10 @@ function zI(e) {
|
|
|
4127
4127
|
;
|
|
4128
4128
|
return t;
|
|
4129
4129
|
}
|
|
4130
|
-
function
|
|
4130
|
+
function jI(e, t) {
|
|
4131
4131
|
return e >> BigInt(t) & Bg;
|
|
4132
4132
|
}
|
|
4133
|
-
const
|
|
4133
|
+
const WI = (e, t, r) => e | (r ? Bg : t5) << BigInt(t), Mv = (e) => (DI << BigInt(e - 1)) - Bg, jm = (e) => new Uint8Array(e), o3 = (e) => Uint8Array.from(e);
|
|
4134
4134
|
function r5(e, t, r) {
|
|
4135
4135
|
if (typeof e != "number" || e < 2)
|
|
4136
4136
|
throw new Error("hashLen must be a number");
|
|
@@ -4138,10 +4138,10 @@ function r5(e, t, r) {
|
|
|
4138
4138
|
throw new Error("qByteLen must be a number");
|
|
4139
4139
|
if (typeof r != "function")
|
|
4140
4140
|
throw new Error("hmacFn must be a function");
|
|
4141
|
-
let n =
|
|
4141
|
+
let n = jm(e), i = jm(e), s = 0;
|
|
4142
4142
|
const o = () => {
|
|
4143
4143
|
n.fill(1), i.fill(0), s = 0;
|
|
4144
|
-
}, a = (...l) => r(i, n, ...l), c = (l =
|
|
4144
|
+
}, a = (...l) => r(i, n, ...l), c = (l = jm()) => {
|
|
4145
4145
|
i = a(o3([0]), l), n = a(), l.length !== 0 && (i = a(o3([1]), l), n = a());
|
|
4146
4146
|
}, u = () => {
|
|
4147
4147
|
if (s++ >= 1e3)
|
|
@@ -4191,10 +4191,10 @@ function gf(e, t, r = {}) {
|
|
|
4191
4191
|
}
|
|
4192
4192
|
const qI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4193
4193
|
__proto__: null,
|
|
4194
|
-
bitGet:
|
|
4194
|
+
bitGet: jI,
|
|
4195
4195
|
bitLen: zI,
|
|
4196
4196
|
bitMask: Mv,
|
|
4197
|
-
bitSet:
|
|
4197
|
+
bitSet: WI,
|
|
4198
4198
|
bytesToHex: Xc,
|
|
4199
4199
|
bytesToNumberBE: sa,
|
|
4200
4200
|
bytesToNumberLE: Nv,
|
|
@@ -4212,7 +4212,7 @@ const qI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4212
4212
|
validateObject: gf
|
|
4213
4213
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4214
4214
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
4215
|
-
const Ke = BigInt(0), Ce = BigInt(1),
|
|
4215
|
+
const Ke = BigInt(0), Ce = BigInt(1), Wo = BigInt(2), KI = BigInt(3), o1 = BigInt(4), a3 = BigInt(5), c3 = BigInt(8);
|
|
4216
4216
|
BigInt(9);
|
|
4217
4217
|
BigInt(16);
|
|
4218
4218
|
function Nr(e, t) {
|
|
@@ -4248,11 +4248,11 @@ function a1(e, t) {
|
|
|
4248
4248
|
return Nr(i, t);
|
|
4249
4249
|
}
|
|
4250
4250
|
function QI(e) {
|
|
4251
|
-
const t = (e - Ce) /
|
|
4251
|
+
const t = (e - Ce) / Wo;
|
|
4252
4252
|
let r, n, i;
|
|
4253
|
-
for (r = e - Ce, n = 0; r %
|
|
4253
|
+
for (r = e - Ce, n = 0; r % Wo === Ke; r /= Wo, n++)
|
|
4254
4254
|
;
|
|
4255
|
-
for (i =
|
|
4255
|
+
for (i = Wo; i < e && JI(i, t, e) !== e - Ce; i++)
|
|
4256
4256
|
;
|
|
4257
4257
|
if (n === 1) {
|
|
4258
4258
|
const o = (e + Ce) / o1;
|
|
@@ -4263,7 +4263,7 @@ function QI(e) {
|
|
|
4263
4263
|
return u;
|
|
4264
4264
|
};
|
|
4265
4265
|
}
|
|
4266
|
-
const s = (r + Ce) /
|
|
4266
|
+
const s = (r + Ce) / Wo;
|
|
4267
4267
|
return function(o, a) {
|
|
4268
4268
|
if (o.pow(a, t) === o.neg(o.ONE))
|
|
4269
4269
|
throw new Error("Cannot find square root");
|
|
@@ -4293,7 +4293,7 @@ function YI(e) {
|
|
|
4293
4293
|
if (e % c3 === a3) {
|
|
4294
4294
|
const t = (e - a3) / c3;
|
|
4295
4295
|
return function(r, n) {
|
|
4296
|
-
const i = r.mul(n,
|
|
4296
|
+
const i = r.mul(n, Wo), s = r.pow(i, t), o = r.mul(n, s), a = r.mul(r.mul(o, Wo), s), c = r.mul(o, r.sub(a, r.ONE));
|
|
4297
4297
|
if (!r.eql(r.sqr(c), n))
|
|
4298
4298
|
throw new Error("Cannot find square root");
|
|
4299
4299
|
return c;
|
|
@@ -4416,7 +4416,7 @@ function nk(e, t, r = !1) {
|
|
|
4416
4416
|
return r ? Pv(a, i) : eu(a, i);
|
|
4417
4417
|
}
|
|
4418
4418
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
4419
|
-
const ik = BigInt(0),
|
|
4419
|
+
const ik = BigInt(0), Wm = BigInt(1);
|
|
4420
4420
|
function sk(e, t) {
|
|
4421
4421
|
const r = (i, s) => {
|
|
4422
4422
|
const o = s.negate();
|
|
@@ -4431,7 +4431,7 @@ function sk(e, t) {
|
|
|
4431
4431
|
unsafeLadder(i, s) {
|
|
4432
4432
|
let o = e.ZERO, a = i;
|
|
4433
4433
|
for (; s > ik; )
|
|
4434
|
-
s &
|
|
4434
|
+
s & Wm && (o = o.add(a)), a = a.double(), s >>= Wm;
|
|
4435
4435
|
return o;
|
|
4436
4436
|
},
|
|
4437
4437
|
/**
|
|
@@ -4469,7 +4469,7 @@ function sk(e, t) {
|
|
|
4469
4469
|
for (let g = 0; g < a; g++) {
|
|
4470
4470
|
const w = g * c;
|
|
4471
4471
|
let y = Number(o & h);
|
|
4472
|
-
o >>= d, y > c && (y -= f, o +=
|
|
4472
|
+
o >>= d, y > c && (y -= f, o += Wm);
|
|
4473
4473
|
const _ = w, C = w + Math.abs(y) - 1, R = g % 2 !== 0, x = y < 0;
|
|
4474
4474
|
y === 0 ? l = l.add(r(R, s[_])) : u = u.add(r(x, s[C]));
|
|
4475
4475
|
}
|
|
@@ -4701,8 +4701,8 @@ function uk(e) {
|
|
|
4701
4701
|
// Cost: 8M + 3S + 3*a + 2*b3 + 15add.
|
|
4702
4702
|
double() {
|
|
4703
4703
|
const { a: w, b: y } = t, _ = r.mul(y, u3), { px: C, py: R, pz: x } = this;
|
|
4704
|
-
let T = r.ZERO, U = r.ZERO, H = r.ZERO, $ = r.mul(C, C),
|
|
4705
|
-
return q = r.add(q, q), H = r.mul(C, x), H = r.add(H, H), T = r.mul(w, H), U = r.mul(_, J), U = r.add(T, U), T = r.sub(
|
|
4704
|
+
let T = r.ZERO, U = r.ZERO, H = r.ZERO, $ = r.mul(C, C), W = r.mul(R, R), J = r.mul(x, x), q = r.mul(C, R);
|
|
4705
|
+
return q = r.add(q, q), H = r.mul(C, x), H = r.add(H, H), T = r.mul(w, H), U = r.mul(_, J), U = r.add(T, U), T = r.sub(W, U), U = r.add(W, U), U = r.mul(T, U), T = r.mul(q, T), H = r.mul(_, H), J = r.mul(w, J), q = r.sub($, J), q = r.mul(w, q), q = r.add(q, H), H = r.add($, $), $ = r.add(H, $), $ = r.add($, J), $ = r.mul($, q), U = r.add(U, $), J = r.mul(R, x), J = r.add(J, J), $ = r.mul(J, q), T = r.sub(T, $), H = r.mul(J, W), H = r.add(H, H), H = r.add(H, H), new h(T, U, H);
|
|
4706
4706
|
}
|
|
4707
4707
|
// Renes-Costello-Batina exception-free addition formula.
|
|
4708
4708
|
// There is 30% faster Jacobian formula, but it is not complete.
|
|
@@ -4712,11 +4712,11 @@ function uk(e) {
|
|
|
4712
4712
|
l(w);
|
|
4713
4713
|
const { px: y, py: _, pz: C } = this, { px: R, py: x, pz: T } = w;
|
|
4714
4714
|
let U = r.ZERO, H = r.ZERO, $ = r.ZERO;
|
|
4715
|
-
const
|
|
4715
|
+
const W = t.a, J = r.mul(t.b, u3);
|
|
4716
4716
|
let q = r.mul(y, R), rt = r.mul(_, x), ct = r.mul(C, T), St = r.add(y, _), z = r.add(R, x);
|
|
4717
4717
|
St = r.mul(St, z), z = r.add(q, rt), St = r.sub(St, z), z = r.add(y, C);
|
|
4718
4718
|
let Q = r.add(R, T);
|
|
4719
|
-
return z = r.mul(z, Q), Q = r.add(q, ct), z = r.sub(z, Q), Q = r.add(_, C), U = r.add(x, T), Q = r.mul(Q, U), U = r.add(rt, ct), Q = r.sub(Q, U), $ = r.mul(
|
|
4719
|
+
return z = r.mul(z, Q), Q = r.add(q, ct), z = r.sub(z, Q), Q = r.add(_, C), U = r.add(x, T), Q = r.mul(Q, U), U = r.add(rt, ct), Q = r.sub(Q, U), $ = r.mul(W, z), U = r.mul(J, ct), $ = r.add(U, $), U = r.sub(rt, $), $ = r.add(rt, $), H = r.mul(U, $), rt = r.add(q, q), rt = r.add(rt, q), ct = r.mul(W, ct), z = r.mul(J, z), rt = r.add(rt, ct), ct = r.sub(q, ct), ct = r.mul(W, ct), z = r.add(z, ct), q = r.mul(rt, z), H = r.add(H, q), q = r.mul(Q, z), U = r.mul(St, U), U = r.sub(U, q), q = r.mul(St, rt), $ = r.mul(Q, $), $ = r.add($, q), new h(U, H, $);
|
|
4720
4720
|
}
|
|
4721
4721
|
subtract(w) {
|
|
4722
4722
|
return this.add(w.negate());
|
|
@@ -4764,8 +4764,8 @@ function uk(e) {
|
|
|
4764
4764
|
const { endo: R } = t;
|
|
4765
4765
|
if (R) {
|
|
4766
4766
|
const { k1neg: x, k1: T, k2neg: U, k2: H } = R.splitScalar(y);
|
|
4767
|
-
let { p: $, f:
|
|
4768
|
-
$ = d.constTimeNegate(x, $), J = d.constTimeNegate(U, J), J = new h(r.mul(J.px, R.beta), J.py, J.pz), _ = $.add(J), C =
|
|
4767
|
+
let { p: $, f: W } = this.wNAF(T), { p: J, f: q } = this.wNAF(H);
|
|
4768
|
+
$ = d.constTimeNegate(x, $), J = d.constTimeNegate(U, J), J = new h(r.mul(J.px, R.beta), J.py, J.pz), _ = $.add(J), C = W.add(q);
|
|
4769
4769
|
} else {
|
|
4770
4770
|
const { p: x, f: T } = this.wNAF(y);
|
|
4771
4771
|
_ = x, C = T;
|
|
@@ -4985,7 +4985,7 @@ function hk(e) {
|
|
|
4985
4985
|
}, H = t.bits2int_modN || function(z) {
|
|
4986
4986
|
return a(U(z));
|
|
4987
4987
|
}, $ = Mv(t.nBitLength);
|
|
4988
|
-
function
|
|
4988
|
+
function W(z) {
|
|
4989
4989
|
if (typeof z != "bigint")
|
|
4990
4990
|
throw new Error("bigint expected");
|
|
4991
4991
|
if (!(Di <= z && z < $))
|
|
@@ -4998,7 +4998,7 @@ function hk(e) {
|
|
|
4998
4998
|
const { hash: at, randomBytes: lt } = t;
|
|
4999
4999
|
let { lowS: ht, prehash: Bt, extraEntropy: Zt } = nt;
|
|
5000
5000
|
ht == null && (ht = !0), z = Nn("msgHash", z), Bt && (z = Nn("prehashed msgHash", at(z)));
|
|
5001
|
-
const gt = H(z), yt = l(Q), Ut = [
|
|
5001
|
+
const gt = H(z), yt = l(Q), Ut = [W(yt), W(gt)];
|
|
5002
5002
|
if (Zt != null) {
|
|
5003
5003
|
const Te = Zt === !0 ? lt(r.BYTES) : Zt;
|
|
5004
5004
|
Ut.push(Nn("extraEntropy", Te));
|
|
@@ -5014,8 +5014,8 @@ function hk(e) {
|
|
|
5014
5014
|
const Qe = a(xe * a(we + sr * yt));
|
|
5015
5015
|
if (Qe === Di)
|
|
5016
5016
|
return;
|
|
5017
|
-
let wr = (_e.x === sr ? 0 : 2) | Number(_e.y & hn),
|
|
5018
|
-
return ht && g(Qe) && (
|
|
5017
|
+
let wr = (_e.x === sr ? 0 : 2) | Number(_e.y & hn), je = Qe;
|
|
5018
|
+
return ht && g(Qe) && (je = w(Qe), wr ^= 1), new _(sr, je, wr);
|
|
5019
5019
|
}
|
|
5020
5020
|
return { seed: dt, k2sig: be };
|
|
5021
5021
|
}
|
|
@@ -6563,15 +6563,15 @@ class Mk extends ss {
|
|
|
6563
6563
|
return 0;
|
|
6564
6564
|
}
|
|
6565
6565
|
encode(t, r) {
|
|
6566
|
-
let n = st(pr.dereference(r, this.type)), i =
|
|
6566
|
+
let n = st(pr.dereference(r, this.type)), i = ji(Pk, Ir * 8);
|
|
6567
6567
|
if (this.signed) {
|
|
6568
|
-
let s =
|
|
6568
|
+
let s = ji(i, this.size * 8 - 1);
|
|
6569
6569
|
(n > s || n < -(s + Nk)) && this._throwError("value out-of-bounds", r), n = df(n, 8 * Ir);
|
|
6570
|
-
} else (n < xk || n >
|
|
6570
|
+
} else (n < xk || n > ji(i, this.size * 8)) && this._throwError("value out-of-bounds", r);
|
|
6571
6571
|
return t.writeValue(n);
|
|
6572
6572
|
}
|
|
6573
6573
|
decode(t) {
|
|
6574
|
-
let r =
|
|
6574
|
+
let r = ji(t.readValue(), this.size * 8);
|
|
6575
6575
|
return this.signed && (r = Jc(r, this.size * 8)), r;
|
|
6576
6576
|
}
|
|
6577
6577
|
}
|
|
@@ -6652,12 +6652,12 @@ function Lk(e) {
|
|
|
6652
6652
|
}
|
|
6653
6653
|
if (U == 0) break;
|
|
6654
6654
|
_.push(U);
|
|
6655
|
-
let $ = C + Math.floor(R * s[U] / i),
|
|
6656
|
-
for (; !(($ ^
|
|
6657
|
-
y = y << 1 & w | l(), $ = $ << 1 & w,
|
|
6658
|
-
for (; $ & ~
|
|
6659
|
-
y = y & d | y << 1 & w >>> 1 | l(), $ = $ << 1 ^ d,
|
|
6660
|
-
C = $, R = 1 +
|
|
6655
|
+
let $ = C + Math.floor(R * s[U] / i), W = C + Math.floor(R * s[U + 1] / i) - 1;
|
|
6656
|
+
for (; !(($ ^ W) & d); )
|
|
6657
|
+
y = y << 1 & w | l(), $ = $ << 1 & w, W = W << 1 & w | 1;
|
|
6658
|
+
for (; $ & ~W & g; )
|
|
6659
|
+
y = y & d | y << 1 & w >>> 1 | l(), $ = $ << 1 ^ d, W = (W ^ d) << 1 | d | 1;
|
|
6660
|
+
C = $, R = 1 + W - $;
|
|
6661
6661
|
}
|
|
6662
6662
|
let x = n - 4;
|
|
6663
6663
|
return _.map((T) => {
|
|
@@ -6757,7 +6757,7 @@ function zk(e, t) {
|
|
|
6757
6757
|
let r = 1 + t();
|
|
6758
6758
|
return C5(r, 1 + e, t).map((n) => [n[0], n.slice(1)]);
|
|
6759
6759
|
}
|
|
6760
|
-
function
|
|
6760
|
+
function jk(e) {
|
|
6761
6761
|
let t = [], r = Lh(e);
|
|
6762
6762
|
return i(n([]), []), t;
|
|
6763
6763
|
function n(s) {
|
|
@@ -6776,11 +6776,11 @@ function Wk(e) {
|
|
|
6776
6776
|
}
|
|
6777
6777
|
}
|
|
6778
6778
|
}
|
|
6779
|
-
function
|
|
6779
|
+
function Wk(e) {
|
|
6780
6780
|
return e.toString(16).toUpperCase().padStart(2, "0");
|
|
6781
6781
|
}
|
|
6782
6782
|
function I5(e) {
|
|
6783
|
-
return `{${
|
|
6783
|
+
return `{${Wk(e)}}`;
|
|
6784
6784
|
}
|
|
6785
6785
|
function Vk(e) {
|
|
6786
6786
|
let t = [];
|
|
@@ -6953,7 +6953,7 @@ function Lv() {
|
|
|
6953
6953
|
}
|
|
6954
6954
|
for (let l of Co)
|
|
6955
6955
|
!nc.has(l) && !c.has(l) && nc.set(l, B5);
|
|
6956
|
-
n(Co, N5(Co)), C3 =
|
|
6956
|
+
n(Co, N5(Co)), C3 = jk(e).map((l) => iR.from(l)).sort(qk), d1 = /* @__PURE__ */ new Map();
|
|
6957
6957
|
for (let l of C3) {
|
|
6958
6958
|
let h = [d1];
|
|
6959
6959
|
for (let f of l) {
|
|
@@ -7252,7 +7252,7 @@ function oe(e, t) {
|
|
|
7252
7252
|
const r = st(e, "value"), n = Fe(r);
|
|
7253
7253
|
return k(n.length <= 32, "value too large", `tx.${t}`, r), n;
|
|
7254
7254
|
}
|
|
7255
|
-
function
|
|
7255
|
+
function jv(e) {
|
|
7256
7256
|
return _i(e).map((t) => [t.address, t.storageKeys]);
|
|
7257
7257
|
}
|
|
7258
7258
|
function ER(e, t) {
|
|
@@ -7310,7 +7310,7 @@ function CR(e, t) {
|
|
|
7310
7310
|
let i = BigInt(27 + t.yParity);
|
|
7311
7311
|
return n !== Ve ? i = Vn.getChainIdV(n, t.v) : BigInt(t.v) !== i && k(!1, "tx.chainId/sig.v mismatch", "sig", t), r.push(Fe(i)), r.push(Fe(t.r)), r.push(Fe(t.s)), Xi(r);
|
|
7312
7312
|
}
|
|
7313
|
-
function
|
|
7313
|
+
function Wv(e, t) {
|
|
7314
7314
|
let r;
|
|
7315
7315
|
try {
|
|
7316
7316
|
if (r = yf(t[0], "yParity"), r !== 0 && r !== 1)
|
|
@@ -7337,7 +7337,7 @@ function IR(e) {
|
|
|
7337
7337
|
data: V(t[7]),
|
|
7338
7338
|
accessList: zv(t[8], "accessList")
|
|
7339
7339
|
};
|
|
7340
|
-
return t.length === 9 ||
|
|
7340
|
+
return t.length === 9 || Wv(r, t.slice(9)), r;
|
|
7341
7341
|
}
|
|
7342
7342
|
function kR(e, t) {
|
|
7343
7343
|
const r = [
|
|
@@ -7349,7 +7349,7 @@ function kR(e, t) {
|
|
|
7349
7349
|
e.to || "0x",
|
|
7350
7350
|
oe(e.value, "value"),
|
|
7351
7351
|
e.data,
|
|
7352
|
-
|
|
7352
|
+
jv(e.accessList || [])
|
|
7353
7353
|
];
|
|
7354
7354
|
return t && (r.push(oe(t.yParity, "yParity")), r.push(Fe(t.r)), r.push(Fe(t.s))), Pt(["0x02", Xi(r)]);
|
|
7355
7355
|
}
|
|
@@ -7367,7 +7367,7 @@ function RR(e) {
|
|
|
7367
7367
|
data: V(t[6]),
|
|
7368
7368
|
accessList: zv(t[7], "accessList")
|
|
7369
7369
|
};
|
|
7370
|
-
return t.length === 8 ||
|
|
7370
|
+
return t.length === 8 || Wv(r, t.slice(8)), r;
|
|
7371
7371
|
}
|
|
7372
7372
|
function OR(e, t) {
|
|
7373
7373
|
const r = [
|
|
@@ -7378,7 +7378,7 @@ function OR(e, t) {
|
|
|
7378
7378
|
e.to || "0x",
|
|
7379
7379
|
oe(e.value, "value"),
|
|
7380
7380
|
e.data,
|
|
7381
|
-
|
|
7381
|
+
jv(e.accessList || [])
|
|
7382
7382
|
];
|
|
7383
7383
|
return t && (r.push(oe(t.yParity, "recoveryParam")), r.push(Fe(t.r)), r.push(Fe(t.s))), Pt(["0x01", Xi(r)]);
|
|
7384
7384
|
}
|
|
@@ -7415,7 +7415,7 @@ function TR(e) {
|
|
|
7415
7415
|
n && (i.blobs = n), k(i.to != null, `invalid address for transaction type: ${r}`, "data", e), k(Array.isArray(i.blobVersionedHashes), "invalid blobVersionedHashes: must be an array", "data", e);
|
|
7416
7416
|
for (let s = 0; s < i.blobVersionedHashes.length; s++)
|
|
7417
7417
|
k(Yt(i.blobVersionedHashes[s], 32), `invalid blobVersionedHash at index ${s}: must be length 32`, "data", e);
|
|
7418
|
-
return t.length === 11 ||
|
|
7418
|
+
return t.length === 11 || Wv(i, t.slice(11)), i;
|
|
7419
7419
|
}
|
|
7420
7420
|
function xR(e, t, r) {
|
|
7421
7421
|
const n = [
|
|
@@ -7427,7 +7427,7 @@ function xR(e, t, r) {
|
|
|
7427
7427
|
e.to || Ca,
|
|
7428
7428
|
oe(e.value, "value"),
|
|
7429
7429
|
e.data,
|
|
7430
|
-
|
|
7430
|
+
jv(e.accessList || []),
|
|
7431
7431
|
oe(e.maxFeePerBlobGas || 0, "maxFeePerBlobGas"),
|
|
7432
7432
|
ER(e.blobVersionedHashes || [], "blobVersionedHashes")
|
|
7433
7433
|
];
|
|
@@ -7713,7 +7713,7 @@ const NR = class Rs {
|
|
|
7713
7713
|
* The transaction hash, if signed. Otherwise, ``null``.
|
|
7714
7714
|
*/
|
|
7715
7715
|
get hash() {
|
|
7716
|
-
return this.signature == null ? null : Qt(
|
|
7716
|
+
return this.signature == null ? null : Qt(j(this, Rl, Bp).call(this, !0, !1));
|
|
7717
7717
|
}
|
|
7718
7718
|
/**
|
|
7719
7719
|
* The pre-image hash of this transaction.
|
|
@@ -7752,7 +7752,7 @@ const NR = class Rs {
|
|
|
7752
7752
|
* use [[unsignedSerialized]].
|
|
7753
7753
|
*/
|
|
7754
7754
|
get serialized() {
|
|
7755
|
-
return
|
|
7755
|
+
return j(this, Rl, Bp).call(this, !0, !0);
|
|
7756
7756
|
}
|
|
7757
7757
|
/**
|
|
7758
7758
|
* The transaction pre-image.
|
|
@@ -7761,7 +7761,7 @@ const NR = class Rs {
|
|
|
7761
7761
|
* authorize this transaction.
|
|
7762
7762
|
*/
|
|
7763
7763
|
get unsignedSerialized() {
|
|
7764
|
-
return
|
|
7764
|
+
return j(this, Rl, Bp).call(this, !1, !1);
|
|
7765
7765
|
}
|
|
7766
7766
|
/**
|
|
7767
7767
|
* Return the most "likely" type; currently the highest
|
|
@@ -7901,7 +7901,7 @@ function z5(e, t) {
|
|
|
7901
7901
|
return mf(r, t);
|
|
7902
7902
|
}
|
|
7903
7903
|
const PR = new RegExp("^bytes([0-9]+)$"), MR = new RegExp("^(u?int)([0-9]*)$"), BR = new RegExp("^(.*)\\[([0-9]*)\\]$");
|
|
7904
|
-
function
|
|
7904
|
+
function j5(e, t, r) {
|
|
7905
7905
|
switch (e) {
|
|
7906
7906
|
case "address":
|
|
7907
7907
|
return Y(r ? yn(t, 32) : At(t));
|
|
@@ -7926,7 +7926,7 @@ function W5(e, t, r) {
|
|
|
7926
7926
|
k(s === t.length, `invalid array length for ${e}`, "value", t);
|
|
7927
7927
|
const o = [];
|
|
7928
7928
|
return t.forEach(function(a) {
|
|
7929
|
-
o.push(
|
|
7929
|
+
o.push(j5(i, a, !0));
|
|
7930
7930
|
}), Y(Pt(o));
|
|
7931
7931
|
}
|
|
7932
7932
|
k(!1, "invalid type", "type", e);
|
|
@@ -7935,10 +7935,10 @@ function Hg(e, t) {
|
|
|
7935
7935
|
k(e.length === t.length, "wrong number of values; expected ${ types.length }", "values", t);
|
|
7936
7936
|
const r = [];
|
|
7937
7937
|
return e.forEach(function(n, i) {
|
|
7938
|
-
r.push(
|
|
7938
|
+
r.push(j5(n, t[i]));
|
|
7939
7939
|
}), V(Pt(r));
|
|
7940
7940
|
}
|
|
7941
|
-
function
|
|
7941
|
+
function W5(e, t) {
|
|
7942
7942
|
return Qt(Hg(e, t));
|
|
7943
7943
|
}
|
|
7944
7944
|
function V5(e, t) {
|
|
@@ -7974,7 +7974,7 @@ const GR = {
|
|
|
7974
7974
|
version: O3("version"),
|
|
7975
7975
|
chainId: function(e) {
|
|
7976
7976
|
const t = st(e, "domain.chainId");
|
|
7977
|
-
return k(t >= 0, "invalid chain ID", "domain.chainId", e), Number.isSafeInteger(t) ? Number(t) :
|
|
7977
|
+
return k(t >= 0, "invalid chain ID", "domain.chainId", e), Number.isSafeInteger(t) ? Number(t) : Wi(t);
|
|
7978
7978
|
},
|
|
7979
7979
|
verifyingContract: function(e) {
|
|
7980
7980
|
try {
|
|
@@ -7994,7 +7994,7 @@ function g1(e) {
|
|
|
7994
7994
|
if (t) {
|
|
7995
7995
|
const r = t[1] === "", n = parseInt(t[2]);
|
|
7996
7996
|
k(n % 8 === 0 && n !== 0 && n <= 256 && t[2] === String(n), "invalid numeric width", "type", e);
|
|
7997
|
-
const i =
|
|
7997
|
+
const i = ji(LR, r ? n - 1 : n), s = r ? (i + J5) * UR : K5;
|
|
7998
7998
|
return function(o) {
|
|
7999
7999
|
const a = st(o, "value");
|
|
8000
8000
|
return k(a >= s && a <= i, `value out-of-bounds for ${e}`, "value", a), wn(r ? df(a, 256) : a, 32);
|
|
@@ -8101,7 +8101,7 @@ const HR = class Cn {
|
|
|
8101
8101
|
*/
|
|
8102
8102
|
getEncoder(t) {
|
|
8103
8103
|
let r = v(this, Ol).get(t);
|
|
8104
|
-
return r || (r =
|
|
8104
|
+
return r || (r = j(this, m1, Q5).call(this, t), v(this, Ol).set(t, r)), r;
|
|
8105
8105
|
}
|
|
8106
8106
|
/**
|
|
8107
8107
|
* Return the full type for %%name%%.
|
|
@@ -8294,7 +8294,7 @@ function kr(e) {
|
|
|
8294
8294
|
const t = /* @__PURE__ */ new Set();
|
|
8295
8295
|
return e.forEach((r) => t.add(r)), Object.freeze(t);
|
|
8296
8296
|
}
|
|
8297
|
-
const zR = "external public payable override",
|
|
8297
|
+
const zR = "external public payable override", jR = kr(zR.split(" ")), Z5 = "constant external internal payable private public pure view override", WR = kr(Z5.split(" ")), X5 = "constructor error event fallback function receive struct", t8 = kr(X5.split(" ")), e8 = "calldata memory storage payable indexed", VR = kr(e8.split(" ")), qR = "tuple returns", KR = [X5, e8, qR, Z5].join(" "), JR = kr(KR.split(" ")), QR = {
|
|
8298
8298
|
"(": "OPEN_PAREN",
|
|
8299
8299
|
")": "CLOSE_PAREN",
|
|
8300
8300
|
"[": "OPEN_BRACKET",
|
|
@@ -8339,7 +8339,7 @@ const i8 = class s8 {
|
|
|
8339
8339
|
const t = this.peek();
|
|
8340
8340
|
if (t.type !== "OPEN_PAREN")
|
|
8341
8341
|
throw new Error("bad start");
|
|
8342
|
-
const r =
|
|
8342
|
+
const r = j(this, Dp, y1).call(this, v(this, ar) + 1, t.match + 1);
|
|
8343
8343
|
return E(this, ar, t.match + 1), r;
|
|
8344
8344
|
}
|
|
8345
8345
|
// Pops and returns the items within "(" ITEM1 "," ITEM2 "," ... ")"
|
|
@@ -8350,7 +8350,7 @@ const i8 = class s8 {
|
|
|
8350
8350
|
const r = [];
|
|
8351
8351
|
for (; v(this, ar) < t.match - 1; ) {
|
|
8352
8352
|
const n = this.peek().linkNext;
|
|
8353
|
-
r.push(
|
|
8353
|
+
r.push(j(this, Dp, y1).call(this, v(this, ar) + 1, n)), E(this, ar, n);
|
|
8354
8354
|
}
|
|
8355
8355
|
return E(this, ar, t.match + 1), r;
|
|
8356
8356
|
}
|
|
@@ -8475,7 +8475,7 @@ function ts(e, t) {
|
|
|
8475
8475
|
return Object.freeze(r);
|
|
8476
8476
|
}
|
|
8477
8477
|
function o8(e) {
|
|
8478
|
-
let t = ts(e,
|
|
8478
|
+
let t = ts(e, WR);
|
|
8479
8479
|
return x3(t, kr("constant payable nonpayable".split(" "))), x3(t, kr("pure view payable nonpayable".split(" "))), t.has("view") ? "view" : t.has("pure") ? "pure" : t.has("payable") ? "payable" : t.has("nonpayable") ? "nonpayable" : t.has("constant") ? "view" : "nonpayable";
|
|
8480
8480
|
}
|
|
8481
8481
|
function qi(e, t) {
|
|
@@ -8622,7 +8622,7 @@ const eO = class In {
|
|
|
8622
8622
|
*/
|
|
8623
8623
|
async walkAsync(t, r) {
|
|
8624
8624
|
const n = [], i = [t];
|
|
8625
|
-
return
|
|
8625
|
+
return j(this, uh, Fp).call(this, n, t, r, (s) => {
|
|
8626
8626
|
i[0] = s;
|
|
8627
8627
|
}), n.length && await Promise.all(n), i[0];
|
|
8628
8628
|
}
|
|
@@ -8700,7 +8700,7 @@ uh = /* @__PURE__ */ new WeakSet(), Fp = function(e, t, r, n) {
|
|
|
8700
8700
|
const s = this.arrayChildren, o = t.slice();
|
|
8701
8701
|
o.forEach((a, c) => {
|
|
8702
8702
|
var u;
|
|
8703
|
-
|
|
8703
|
+
j(u = s, uh, Fp).call(u, e, a, r, (l) => {
|
|
8704
8704
|
o[c] = l;
|
|
8705
8705
|
});
|
|
8706
8706
|
}), n(o);
|
|
@@ -8726,7 +8726,7 @@ uh = /* @__PURE__ */ new WeakSet(), Fp = function(e, t, r, n) {
|
|
|
8726
8726
|
throw new Error("array is wrong length");
|
|
8727
8727
|
o.forEach((a, c) => {
|
|
8728
8728
|
var u;
|
|
8729
|
-
|
|
8729
|
+
j(u = s[c], uh, Fp).call(u, e, a, r, (l) => {
|
|
8730
8730
|
o[c] = l;
|
|
8731
8731
|
});
|
|
8732
8732
|
}), n(o);
|
|
@@ -8980,7 +8980,7 @@ class $n extends es {
|
|
|
8980
8980
|
}
|
|
8981
8981
|
else if (t instanceof ls) {
|
|
8982
8982
|
ts(t, kr(["constructor"]));
|
|
8983
|
-
const r = qi(t), n = !!ts(t,
|
|
8983
|
+
const r = qi(t), n = !!ts(t, jR).has("payable"), i = a8(t);
|
|
8984
8984
|
return la(t), new $n(ge, "constructor", r, n, i);
|
|
8985
8985
|
}
|
|
8986
8986
|
return new $n(ge, "constructor", t.inputs ? t.inputs.map(tr.from) : [], !!t.payable, t.gas != null ? t.gas : null);
|
|
@@ -9229,7 +9229,7 @@ const sO = class v1 {
|
|
|
9229
9229
|
* is by default ``false``.
|
|
9230
9230
|
*/
|
|
9231
9231
|
getDefaultValue(t) {
|
|
9232
|
-
const r = t.map((n) =>
|
|
9232
|
+
const r = t.map((n) => j(this, Zo, Dc).call(this, tr.from(n)));
|
|
9233
9233
|
return new Pp(r, "_").defaultValue();
|
|
9234
9234
|
}
|
|
9235
9235
|
/**
|
|
@@ -9239,7 +9239,7 @@ const sO = class v1 {
|
|
|
9239
9239
|
*/
|
|
9240
9240
|
encode(t, r) {
|
|
9241
9241
|
kg(r.length, t.length, "types/values length mismatch");
|
|
9242
|
-
const n = t.map((o) =>
|
|
9242
|
+
const n = t.map((o) => j(this, Zo, Dc).call(this, tr.from(o))), i = new Pp(n, "_"), s = new n1();
|
|
9243
9243
|
return i.encode(s, r), s.data;
|
|
9244
9244
|
}
|
|
9245
9245
|
/**
|
|
@@ -9250,7 +9250,7 @@ const sO = class v1 {
|
|
|
9250
9250
|
* padded event data emitted from ``external`` functions.
|
|
9251
9251
|
*/
|
|
9252
9252
|
decode(t, r, n) {
|
|
9253
|
-
const i = t.map((s) =>
|
|
9253
|
+
const i = t.map((s) => j(this, Zo, Dc).call(this, tr.from(s)));
|
|
9254
9254
|
return new Pp(i, "_").decode(new BC(r, n, $3));
|
|
9255
9255
|
}
|
|
9256
9256
|
static _setDefaultMaxInflation(t) {
|
|
@@ -9275,9 +9275,9 @@ const sO = class v1 {
|
|
|
9275
9275
|
};
|
|
9276
9276
|
Zo = /* @__PURE__ */ new WeakSet(), Dc = function(e) {
|
|
9277
9277
|
if (e.isArray())
|
|
9278
|
-
return new Ck(
|
|
9278
|
+
return new Ck(j(this, Zo, Dc).call(this, e.arrayChildren), e.arrayLength, e.name);
|
|
9279
9279
|
if (e.isTuple())
|
|
9280
|
-
return new Pp(e.components.map((r) =>
|
|
9280
|
+
return new Pp(e.components.map((r) => j(this, Zo, Dc).call(this, r)), e.name);
|
|
9281
9281
|
switch (e.baseType) {
|
|
9282
9282
|
case "address":
|
|
9283
9283
|
return new Ek(e.name);
|
|
@@ -9492,7 +9492,7 @@ const oO = class sc {
|
|
|
9492
9492
|
* function name or function signature that belongs to the ABI.
|
|
9493
9493
|
*/
|
|
9494
9494
|
getFunctionName(t) {
|
|
9495
|
-
const r =
|
|
9495
|
+
const r = j(this, Os, $p).call(this, t, null, !1);
|
|
9496
9496
|
return k(r, "no matching function", "key", t), r.name;
|
|
9497
9497
|
}
|
|
9498
9498
|
/**
|
|
@@ -9503,7 +9503,7 @@ const oO = class sc {
|
|
|
9503
9503
|
* accessing the [[FunctionFragment]] may require refinement.
|
|
9504
9504
|
*/
|
|
9505
9505
|
hasFunction(t) {
|
|
9506
|
-
return !!
|
|
9506
|
+
return !!j(this, Os, $p).call(this, t, null, !1);
|
|
9507
9507
|
}
|
|
9508
9508
|
/**
|
|
9509
9509
|
* Get the [[FunctionFragment]] for %%key%%, which may be a function
|
|
@@ -9516,7 +9516,7 @@ const oO = class sc {
|
|
|
9516
9516
|
* the ABI, this will throw.
|
|
9517
9517
|
*/
|
|
9518
9518
|
getFunction(t, r) {
|
|
9519
|
-
return
|
|
9519
|
+
return j(this, Os, $p).call(this, t, r || null, !0);
|
|
9520
9520
|
}
|
|
9521
9521
|
/**
|
|
9522
9522
|
* Iterate over all functions, calling %%callback%%, sorted by their name.
|
|
@@ -9534,7 +9534,7 @@ const oO = class sc {
|
|
|
9534
9534
|
* event name or event signature that belongs to the ABI.
|
|
9535
9535
|
*/
|
|
9536
9536
|
getEventName(t) {
|
|
9537
|
-
const r =
|
|
9537
|
+
const r = j(this, Os, Gp).call(this, t, null, !1);
|
|
9538
9538
|
return k(r, "no matching event", "key", t), r.name;
|
|
9539
9539
|
}
|
|
9540
9540
|
/**
|
|
@@ -9545,7 +9545,7 @@ const oO = class sc {
|
|
|
9545
9545
|
* accessing the [[EventFragment]] may require refinement.
|
|
9546
9546
|
*/
|
|
9547
9547
|
hasEvent(t) {
|
|
9548
|
-
return !!
|
|
9548
|
+
return !!j(this, Os, Gp).call(this, t, null, !1);
|
|
9549
9549
|
}
|
|
9550
9550
|
/**
|
|
9551
9551
|
* Get the [[EventFragment]] for %%key%%, which may be a topic hash,
|
|
@@ -9558,7 +9558,7 @@ const oO = class sc {
|
|
|
9558
9558
|
* the ABI, this will throw.
|
|
9559
9559
|
*/
|
|
9560
9560
|
getEvent(t, r) {
|
|
9561
|
-
return
|
|
9561
|
+
return j(this, Os, Gp).call(this, t, r || null, !0);
|
|
9562
9562
|
}
|
|
9563
9563
|
/**
|
|
9564
9564
|
* Iterate over all events, calling %%callback%%, sorted by their name.
|
|
@@ -10044,7 +10044,7 @@ Gp = function(e, t, r) {
|
|
|
10044
10044
|
}
|
|
10045
10045
|
return v(this, Fi).get(pn.from(e).format()) || null;
|
|
10046
10046
|
};
|
|
10047
|
-
let
|
|
10047
|
+
let jg = oO;
|
|
10048
10048
|
const l8 = BigInt(0);
|
|
10049
10049
|
function Fc(e) {
|
|
10050
10050
|
return e ?? null;
|
|
@@ -10320,7 +10320,7 @@ class Ra {
|
|
|
10320
10320
|
}
|
|
10321
10321
|
}
|
|
10322
10322
|
var Hp;
|
|
10323
|
-
class
|
|
10323
|
+
class Wg {
|
|
10324
10324
|
/**
|
|
10325
10325
|
* @_ignore:
|
|
10326
10326
|
*/
|
|
@@ -10791,7 +10791,7 @@ class Vg extends Ra {
|
|
|
10791
10791
|
}
|
|
10792
10792
|
}
|
|
10793
10793
|
var Tl;
|
|
10794
|
-
class Qv extends
|
|
10794
|
+
class Qv extends Wg {
|
|
10795
10795
|
/**
|
|
10796
10796
|
* @_ignore:
|
|
10797
10797
|
*/
|
|
@@ -10908,22 +10908,22 @@ function y8(e) {
|
|
|
10908
10908
|
return e.provider;
|
|
10909
10909
|
}
|
|
10910
10910
|
}
|
|
10911
|
-
var
|
|
10911
|
+
var jp;
|
|
10912
10912
|
class lO {
|
|
10913
10913
|
constructor(t, r, n) {
|
|
10914
|
-
if (B(this,
|
|
10914
|
+
if (B(this, jp), O(this, "fragment"), tt(this, { fragment: r }), r.inputs.length < n.length)
|
|
10915
10915
|
throw new Error("too many arguments");
|
|
10916
10916
|
const i = ha(t.runner, "resolveName"), s = Kg(i) ? i : null;
|
|
10917
|
-
E(this,
|
|
10917
|
+
E(this, jp, async function() {
|
|
10918
10918
|
const o = await Promise.all(r.inputs.map((a, c) => n[c] == null ? null : a.walkAsync(n[c], (u, l) => u === "address" ? Array.isArray(l) ? Promise.all(l.map((h) => $e(h, s))) : $e(l, s) : l)));
|
|
10919
10919
|
return t.interface.encodeFilterTopics(r, o);
|
|
10920
10920
|
}());
|
|
10921
10921
|
}
|
|
10922
10922
|
getTopicFilter() {
|
|
10923
|
-
return v(this,
|
|
10923
|
+
return v(this, jp);
|
|
10924
10924
|
}
|
|
10925
10925
|
}
|
|
10926
|
-
|
|
10926
|
+
jp = /* @__PURE__ */ new WeakMap();
|
|
10927
10927
|
function ha(e, t) {
|
|
10928
10928
|
return e == null ? null : typeof e[t] == "function" ? e : e.provider && typeof e.provider[t] == "function" ? e.provider : null;
|
|
10929
10929
|
}
|
|
@@ -11101,7 +11101,7 @@ async function xl(e, t) {
|
|
|
11101
11101
|
const { subs: r } = Hr(e);
|
|
11102
11102
|
return r.get((await Xv(e, t)).tag) || null;
|
|
11103
11103
|
}
|
|
11104
|
-
async function
|
|
11104
|
+
async function j3(e, t, r) {
|
|
11105
11105
|
const n = Xo(e.runner);
|
|
11106
11106
|
D(n, "contract runner does not support subscribing", "UNSUPPORTED_OPERATION", { operation: t });
|
|
11107
11107
|
const { fragment: i, tag: s, topics: o } = await Xv(e, r), { addr: a, subs: c } = Hr(e);
|
|
@@ -11160,7 +11160,7 @@ async function b1(e, t, r, n) {
|
|
|
11160
11160
|
const Gf = ["then"];
|
|
11161
11161
|
var b8;
|
|
11162
11162
|
b8 = Jg;
|
|
11163
|
-
const yO = class
|
|
11163
|
+
const yO = class Wp {
|
|
11164
11164
|
/**
|
|
11165
11165
|
* Creates a new contract connected to %%target%% with the %%abi%% and
|
|
11166
11166
|
* optionally connected to a %%runner%% to perform operations on behalf
|
|
@@ -11168,7 +11168,7 @@ const yO = class jp {
|
|
|
11168
11168
|
*/
|
|
11169
11169
|
constructor(t, r, n, i) {
|
|
11170
11170
|
O(this, "target"), O(this, "interface"), O(this, "runner"), O(this, "filters"), O(this, b8), O(this, "fallback"), k(typeof t == "string" || Dg(t), "invalid value for Contract target", "target", t), n == null && (n = null);
|
|
11171
|
-
const s =
|
|
11171
|
+
const s = jg.from(r);
|
|
11172
11172
|
tt(this, { target: t, runner: n, interface: s }), Object.defineProperty(this, Jg, { value: {} });
|
|
11173
11173
|
let o, a = null, c = null;
|
|
11174
11174
|
if (i) {
|
|
@@ -11234,14 +11234,14 @@ const yO = class jp {
|
|
|
11234
11234
|
* a different %%runner%%.
|
|
11235
11235
|
*/
|
|
11236
11236
|
connect(t) {
|
|
11237
|
-
return new
|
|
11237
|
+
return new Wp(this.target, this.interface, t);
|
|
11238
11238
|
}
|
|
11239
11239
|
/**
|
|
11240
11240
|
* Return a new Contract instance with the same ABI and runner, but
|
|
11241
11241
|
* a different %%target%%.
|
|
11242
11242
|
*/
|
|
11243
11243
|
attach(t) {
|
|
11244
|
-
return new
|
|
11244
|
+
return new Wp(t, this.interface, this.runner);
|
|
11245
11245
|
}
|
|
11246
11246
|
/**
|
|
11247
11247
|
* Return the resolved address of this Contract.
|
|
@@ -11356,7 +11356,7 @@ const yO = class jp {
|
|
|
11356
11356
|
* Add an event %%listener%% for the %%event%%.
|
|
11357
11357
|
*/
|
|
11358
11358
|
async on(t, r) {
|
|
11359
|
-
const n = await
|
|
11359
|
+
const n = await j3(this, "on", t);
|
|
11360
11360
|
return n.listeners.push({ listener: r, once: !1 }), n.start(), this;
|
|
11361
11361
|
}
|
|
11362
11362
|
/**
|
|
@@ -11364,7 +11364,7 @@ const yO = class jp {
|
|
|
11364
11364
|
* after it is fired once.
|
|
11365
11365
|
*/
|
|
11366
11366
|
async once(t, r) {
|
|
11367
|
-
const n = await
|
|
11367
|
+
const n = await j3(this, "once", t);
|
|
11368
11368
|
return n.listeners.push({ listener: r, once: !0 }), n.start(), this;
|
|
11369
11369
|
}
|
|
11370
11370
|
/**
|
|
@@ -11452,7 +11452,7 @@ const yO = class jp {
|
|
|
11452
11452
|
* Create a new Class for the %%abi%%.
|
|
11453
11453
|
*/
|
|
11454
11454
|
static buildClass(t) {
|
|
11455
|
-
class r extends
|
|
11455
|
+
class r extends Wp {
|
|
11456
11456
|
constructor(i, s = null) {
|
|
11457
11457
|
super(i, t, s);
|
|
11458
11458
|
}
|
|
@@ -11482,7 +11482,7 @@ class Qg {
|
|
|
11482
11482
|
*/
|
|
11483
11483
|
constructor(t, r, n) {
|
|
11484
11484
|
O(this, "interface"), O(this, "bytecode"), O(this, "runner");
|
|
11485
|
-
const i =
|
|
11485
|
+
const i = jg.from(t);
|
|
11486
11486
|
r instanceof Uint8Array || (typeof r == "object" && (r = r.object), r.startsWith("0x") || (r = "0x" + r)), r = V(Y(r)), tt(this, {
|
|
11487
11487
|
bytecode: r,
|
|
11488
11488
|
interface: i,
|
|
@@ -11569,7 +11569,7 @@ class tw {
|
|
|
11569
11569
|
throw new Error("unsupported coin");
|
|
11570
11570
|
}
|
|
11571
11571
|
}
|
|
11572
|
-
const _8 = new RegExp("^(ipfs)://(.*)$", "i"),
|
|
11572
|
+
const _8 = new RegExp("^(ipfs)://(.*)$", "i"), W3 = [
|
|
11573
11573
|
new RegExp("^(https)://(.*)$", "i"),
|
|
11574
11574
|
new RegExp("^(data):(.*)$", "i"),
|
|
11575
11575
|
_8,
|
|
@@ -11608,7 +11608,7 @@ const A1 = class E1 {
|
|
|
11608
11608
|
async getAddress(t) {
|
|
11609
11609
|
if (t == null && (t = 60), t === 60)
|
|
11610
11610
|
try {
|
|
11611
|
-
const s = await
|
|
11611
|
+
const s = await j(this, To, oc).call(this, "addr(bytes32)");
|
|
11612
11612
|
return s == null || s === Ca ? null : s;
|
|
11613
11613
|
} catch (s) {
|
|
11614
11614
|
if (ke(s, "CALL_EXCEPTION"))
|
|
@@ -11617,7 +11617,7 @@ const A1 = class E1 {
|
|
|
11617
11617
|
}
|
|
11618
11618
|
if (t >= 0 && t < 2147483648) {
|
|
11619
11619
|
let s = t + 2147483648;
|
|
11620
|
-
const o = await
|
|
11620
|
+
const o = await j(this, To, oc).call(this, "addr(bytes32,uint)", [s]);
|
|
11621
11621
|
if (Yt(o, 20))
|
|
11622
11622
|
return At(o);
|
|
11623
11623
|
}
|
|
@@ -11629,7 +11629,7 @@ const A1 = class E1 {
|
|
|
11629
11629
|
}
|
|
11630
11630
|
if (r == null)
|
|
11631
11631
|
return null;
|
|
11632
|
-
const n = await
|
|
11632
|
+
const n = await j(this, To, oc).call(this, "addr(bytes32,uint)", [t]);
|
|
11633
11633
|
if (n == null || n === "0x")
|
|
11634
11634
|
return null;
|
|
11635
11635
|
const i = await r.decodeAddress(t, n);
|
|
@@ -11645,14 +11645,14 @@ const A1 = class E1 {
|
|
|
11645
11645
|
* if unconfigured.
|
|
11646
11646
|
*/
|
|
11647
11647
|
async getText(t) {
|
|
11648
|
-
const r = await
|
|
11648
|
+
const r = await j(this, To, oc).call(this, "text(bytes32,string)", [t]);
|
|
11649
11649
|
return r == null || r === "0x" ? null : r;
|
|
11650
11650
|
}
|
|
11651
11651
|
/**
|
|
11652
11652
|
* Rsolves to the content-hash or ``null`` if unconfigured.
|
|
11653
11653
|
*/
|
|
11654
11654
|
async getContentHash() {
|
|
11655
|
-
const t = await
|
|
11655
|
+
const t = await j(this, To, oc).call(this, "contenthash(bytes32)");
|
|
11656
11656
|
if (t == null || t === "0x")
|
|
11657
11657
|
return null;
|
|
11658
11658
|
const r = t.match(/^0x(e3010170|e5010172)(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/);
|
|
@@ -11695,8 +11695,8 @@ const A1 = class E1 {
|
|
|
11695
11695
|
if (r == null)
|
|
11696
11696
|
return t.push({ type: "!avatar", value: "" }), { url: null, linkage: t };
|
|
11697
11697
|
t.push({ type: "avatar", value: r });
|
|
11698
|
-
for (let n = 0; n <
|
|
11699
|
-
const i = r.match(
|
|
11698
|
+
for (let n = 0; n < W3.length; n++) {
|
|
11699
|
+
const i = r.match(W3[n]);
|
|
11700
11700
|
if (i == null)
|
|
11701
11701
|
continue;
|
|
11702
11702
|
const s = i[1].toLowerCase();
|
|
@@ -11791,7 +11791,7 @@ const A1 = class E1 {
|
|
|
11791
11791
|
for (; ; ) {
|
|
11792
11792
|
if (i === "" || i === "." || r !== "eth" && i === "eth")
|
|
11793
11793
|
return null;
|
|
11794
|
-
const s = await
|
|
11794
|
+
const s = await j(n = E1, _1, A8).call(n, t, i);
|
|
11795
11795
|
if (s != null) {
|
|
11796
11796
|
const o = new E1(t, s, r);
|
|
11797
11797
|
return i !== r && !await o.supportsWildcard() ? null : o;
|
|
@@ -12369,7 +12369,7 @@ class NO {
|
|
|
12369
12369
|
E(this, Vo, t);
|
|
12370
12370
|
}
|
|
12371
12371
|
start() {
|
|
12372
|
-
v(this, Mn) || (E(this, Mn, v(this, Hs)._setTimeout(
|
|
12372
|
+
v(this, Mn) || (E(this, Mn, v(this, Hs)._setTimeout(j(this, lh, Bd).bind(this), v(this, Vo))), j(this, lh, Bd).call(this));
|
|
12373
12373
|
}
|
|
12374
12374
|
stop() {
|
|
12375
12375
|
v(this, Mn) && (v(this, Hs)._clearTimeout(v(this, Mn)), E(this, Mn, null));
|
|
@@ -12398,7 +12398,7 @@ Hs = /* @__PURE__ */ new WeakMap(), Mn = /* @__PURE__ */ new WeakMap(), Vo = /*
|
|
|
12398
12398
|
}
|
|
12399
12399
|
} catch {
|
|
12400
12400
|
}
|
|
12401
|
-
v(this, Mn) != null && E(this, Mn, v(this, Hs)._setTimeout(
|
|
12401
|
+
v(this, Mn) != null && E(this, Mn, v(this, Hs)._setTimeout(j(this, lh, Bd).bind(this), v(this, Vo)));
|
|
12402
12402
|
};
|
|
12403
12403
|
var cc, uc, No;
|
|
12404
12404
|
class nw {
|
|
@@ -12476,7 +12476,7 @@ class iw {
|
|
|
12476
12476
|
* %%provider%%, listening for %%filter%%.
|
|
12477
12477
|
*/
|
|
12478
12478
|
constructor(t, r) {
|
|
12479
|
-
B(this, C1), B(this, Ds), B(this, hh), B(this, Ll), B(this, Po), B(this, Ln), E(this, Ds, t), E(this, hh, rw(r)), E(this, Ll,
|
|
12479
|
+
B(this, C1), B(this, Ds), B(this, hh), B(this, Ll), B(this, Po), B(this, Ln), E(this, Ds, t), E(this, hh, rw(r)), E(this, Ll, j(this, C1, I8).bind(this)), E(this, Po, !1), E(this, Ln, -2);
|
|
12480
12480
|
}
|
|
12481
12481
|
start() {
|
|
12482
12482
|
v(this, Po) || (E(this, Po, !0), v(this, Ln) === -2 && v(this, Ds).getBlockNumber().then((t) => {
|
|
@@ -12705,7 +12705,7 @@ class au {
|
|
|
12705
12705
|
* alternate sub-class of [[TransactionReceipt]].
|
|
12706
12706
|
*/
|
|
12707
12707
|
_wrapTransactionReceipt(t, r) {
|
|
12708
|
-
return new
|
|
12708
|
+
return new Wg(kO(t), this);
|
|
12709
12709
|
}
|
|
12710
12710
|
/**
|
|
12711
12711
|
* Provides the opportunity for a sub-class to wrap a transaction
|
|
@@ -12740,7 +12740,7 @@ class au {
|
|
|
12740
12740
|
}
|
|
12741
12741
|
// State
|
|
12742
12742
|
async getBlockNumber() {
|
|
12743
|
-
const t = ft(await
|
|
12743
|
+
const t = ft(await j(this, zt, zr).call(this, { method: "getBlockNumber" }), "%response");
|
|
12744
12744
|
return v(this, Ns) >= 0 && E(this, Ns, t), t;
|
|
12745
12745
|
}
|
|
12746
12746
|
/**
|
|
@@ -12768,9 +12768,9 @@ class au {
|
|
|
12768
12768
|
return t;
|
|
12769
12769
|
}
|
|
12770
12770
|
if (Yt(t))
|
|
12771
|
-
return Yt(t, 32) ? t :
|
|
12771
|
+
return Yt(t, 32) ? t : Wi(t);
|
|
12772
12772
|
if (typeof t == "bigint" && (t = ft(t, "blockTag")), typeof t == "number")
|
|
12773
|
-
return t >= 0 ?
|
|
12773
|
+
return t >= 0 ? Wi(t) : v(this, Ns) >= 0 ? Wi(v(this, Ns) + t) : this.getBlockNumber().then((r) => Wi(r + t));
|
|
12774
12774
|
k(!1, "invalid blockTag", "blockTag", t);
|
|
12775
12775
|
}
|
|
12776
12776
|
/**
|
|
@@ -12855,10 +12855,10 @@ class au {
|
|
|
12855
12855
|
async getFeeData() {
|
|
12856
12856
|
const t = await this.getNetwork(), r = async () => {
|
|
12857
12857
|
const { _block: i, gasPrice: s, priorityFee: o } = await Le({
|
|
12858
|
-
_block:
|
|
12858
|
+
_block: j(this, zt, O1).call(this, "latest", !1),
|
|
12859
12859
|
gasPrice: (async () => {
|
|
12860
12860
|
try {
|
|
12861
|
-
const l = await
|
|
12861
|
+
const l = await j(this, zt, zr).call(this, { method: "getGasPrice" });
|
|
12862
12862
|
return st(l, "%response");
|
|
12863
12863
|
} catch {
|
|
12864
12864
|
}
|
|
@@ -12866,7 +12866,7 @@ class au {
|
|
|
12866
12866
|
})(),
|
|
12867
12867
|
priorityFee: (async () => {
|
|
12868
12868
|
try {
|
|
12869
|
-
const l = await
|
|
12869
|
+
const l = await j(this, zt, zr).call(this, { method: "getPriorityFee" });
|
|
12870
12870
|
return st(l, "%response");
|
|
12871
12871
|
} catch {
|
|
12872
12872
|
}
|
|
@@ -12885,7 +12885,7 @@ class au {
|
|
|
12885
12885
|
}
|
|
12886
12886
|
async estimateGas(t) {
|
|
12887
12887
|
let r = this._getTransactionRequest(t);
|
|
12888
|
-
return Hf(r) && (r = await r), st(await
|
|
12888
|
+
return Hf(r) && (r = await r), st(await j(this, zt, zr).call(this, {
|
|
12889
12889
|
method: "estimateGas",
|
|
12890
12890
|
transaction: r
|
|
12891
12891
|
}), "%response");
|
|
@@ -12895,20 +12895,20 @@ class au {
|
|
|
12895
12895
|
tx: this._getTransactionRequest(t),
|
|
12896
12896
|
blockTag: this._getBlockTag(t.blockTag)
|
|
12897
12897
|
});
|
|
12898
|
-
return await
|
|
12898
|
+
return await j(this, zt, R1).call(this, j(this, zt, k1).call(this, r, n, t.enableCcipRead ? 0 : -1));
|
|
12899
12899
|
}
|
|
12900
12900
|
async getBalance(t, r) {
|
|
12901
|
-
return st(await
|
|
12901
|
+
return st(await j(this, zt, $l).call(this, { method: "getBalance" }, t, r), "%response");
|
|
12902
12902
|
}
|
|
12903
12903
|
async getTransactionCount(t, r) {
|
|
12904
|
-
return ft(await
|
|
12904
|
+
return ft(await j(this, zt, $l).call(this, { method: "getTransactionCount" }, t, r), "%response");
|
|
12905
12905
|
}
|
|
12906
12906
|
async getCode(t, r) {
|
|
12907
|
-
return V(await
|
|
12907
|
+
return V(await j(this, zt, $l).call(this, { method: "getCode" }, t, r));
|
|
12908
12908
|
}
|
|
12909
12909
|
async getStorage(t, r, n) {
|
|
12910
12910
|
const i = st(r, "position");
|
|
12911
|
-
return V(await
|
|
12911
|
+
return V(await j(this, zt, $l).call(this, { method: "getStorage", position: i }, t, n));
|
|
12912
12912
|
}
|
|
12913
12913
|
// Write
|
|
12914
12914
|
async broadcastTransaction(t) {
|
|
@@ -12928,26 +12928,26 @@ class au {
|
|
|
12928
12928
|
async getBlock(t, r) {
|
|
12929
12929
|
const { network: n, params: i } = await Le({
|
|
12930
12930
|
network: this.getNetwork(),
|
|
12931
|
-
params:
|
|
12931
|
+
params: j(this, zt, O1).call(this, t, !!r)
|
|
12932
12932
|
});
|
|
12933
12933
|
return i == null ? null : this._wrapBlock(i, n);
|
|
12934
12934
|
}
|
|
12935
12935
|
async getTransaction(t) {
|
|
12936
12936
|
const { network: r, params: n } = await Le({
|
|
12937
12937
|
network: this.getNetwork(),
|
|
12938
|
-
params:
|
|
12938
|
+
params: j(this, zt, zr).call(this, { method: "getTransaction", hash: t })
|
|
12939
12939
|
});
|
|
12940
12940
|
return n == null ? null : this._wrapTransactionResponse(n, r);
|
|
12941
12941
|
}
|
|
12942
12942
|
async getTransactionReceipt(t) {
|
|
12943
12943
|
const { network: r, params: n } = await Le({
|
|
12944
12944
|
network: this.getNetwork(),
|
|
12945
|
-
params:
|
|
12945
|
+
params: j(this, zt, zr).call(this, { method: "getTransactionReceipt", hash: t })
|
|
12946
12946
|
});
|
|
12947
12947
|
if (n == null)
|
|
12948
12948
|
return null;
|
|
12949
12949
|
if (n.gasPrice == null && n.effectiveGasPrice == null) {
|
|
12950
|
-
const i = await
|
|
12950
|
+
const i = await j(this, zt, zr).call(this, { method: "getTransaction", hash: t });
|
|
12951
12951
|
if (i == null)
|
|
12952
12952
|
throw new Error("report this; could not find tx or effectiveGasPrice");
|
|
12953
12953
|
n.effectiveGasPrice = i.gasPrice;
|
|
@@ -12957,7 +12957,7 @@ class au {
|
|
|
12957
12957
|
async getTransactionResult(t) {
|
|
12958
12958
|
const { result: r } = await Le({
|
|
12959
12959
|
network: this.getNetwork(),
|
|
12960
|
-
result:
|
|
12960
|
+
result: j(this, zt, zr).call(this, { method: "getTransactionResult", hash: t })
|
|
12961
12961
|
});
|
|
12962
12962
|
return r == null ? null : V(r);
|
|
12963
12963
|
}
|
|
@@ -12967,7 +12967,7 @@ class au {
|
|
|
12967
12967
|
Hf(r) && (r = await r);
|
|
12968
12968
|
const { network: n, params: i } = await Le({
|
|
12969
12969
|
network: this.getNetwork(),
|
|
12970
|
-
params:
|
|
12970
|
+
params: j(this, zt, zr).call(this, { method: "getLogs", filter: r })
|
|
12971
12971
|
});
|
|
12972
12972
|
return i.map((s) => this._wrapLog(s, n));
|
|
12973
12973
|
}
|
|
@@ -13112,15 +13112,15 @@ class au {
|
|
|
13112
13112
|
}
|
|
13113
13113
|
}
|
|
13114
13114
|
async on(t, r) {
|
|
13115
|
-
const n = await
|
|
13115
|
+
const n = await j(this, zt, Qp).call(this, t);
|
|
13116
13116
|
return n.listeners.push({ listener: r, once: !1 }), n.started || (n.subscriber.start(), n.started = !0, v(this, _r) != null && n.subscriber.pause(v(this, _r))), this;
|
|
13117
13117
|
}
|
|
13118
13118
|
async once(t, r) {
|
|
13119
|
-
const n = await
|
|
13119
|
+
const n = await j(this, zt, Qp).call(this, t);
|
|
13120
13120
|
return n.listeners.push({ listener: r, once: !0 }), n.started || (n.subscriber.start(), n.started = !0, v(this, _r) != null && n.subscriber.pause(v(this, _r))), this;
|
|
13121
13121
|
}
|
|
13122
13122
|
async emit(t, ...r) {
|
|
13123
|
-
const n = await
|
|
13123
|
+
const n = await j(this, zt, Gl).call(this, t, r);
|
|
13124
13124
|
if (!n || n.listeners.length === 0)
|
|
13125
13125
|
return !1;
|
|
13126
13126
|
const i = n.listeners.length;
|
|
@@ -13135,7 +13135,7 @@ class au {
|
|
|
13135
13135
|
}
|
|
13136
13136
|
async listenerCount(t) {
|
|
13137
13137
|
if (t) {
|
|
13138
|
-
const n = await
|
|
13138
|
+
const n = await j(this, zt, Gl).call(this, t);
|
|
13139
13139
|
return n ? n.listeners.length : 0;
|
|
13140
13140
|
}
|
|
13141
13141
|
let r = 0;
|
|
@@ -13145,7 +13145,7 @@ class au {
|
|
|
13145
13145
|
}
|
|
13146
13146
|
async listeners(t) {
|
|
13147
13147
|
if (t) {
|
|
13148
|
-
const n = await
|
|
13148
|
+
const n = await j(this, zt, Gl).call(this, t);
|
|
13149
13149
|
return n ? n.listeners.map(({ listener: i }) => i) : [];
|
|
13150
13150
|
}
|
|
13151
13151
|
let r = [];
|
|
@@ -13154,7 +13154,7 @@ class au {
|
|
|
13154
13154
|
return r;
|
|
13155
13155
|
}
|
|
13156
13156
|
async off(t, r) {
|
|
13157
|
-
const n = await
|
|
13157
|
+
const n = await j(this, zt, Gl).call(this, t);
|
|
13158
13158
|
if (!n)
|
|
13159
13159
|
return this;
|
|
13160
13160
|
if (r) {
|
|
@@ -13165,7 +13165,7 @@ class au {
|
|
|
13165
13165
|
}
|
|
13166
13166
|
async removeAllListeners(t) {
|
|
13167
13167
|
if (t) {
|
|
13168
|
-
const { tag: r, started: n, subscriber: i } = await
|
|
13168
|
+
const { tag: r, started: n, subscriber: i } = await j(this, zt, Qp).call(this, t);
|
|
13169
13169
|
n && i.stop(), v(this, Ar).delete(r);
|
|
13170
13170
|
} else
|
|
13171
13171
|
for (const [r, { started: n, subscriber: i }] of v(this, Ar))
|
|
@@ -13271,7 +13271,7 @@ Ar = /* @__PURE__ */ new WeakMap(), Mo = /* @__PURE__ */ new WeakMap(), _r = /*
|
|
|
13271
13271
|
const s = i.data, o = await $e(n.to, this);
|
|
13272
13272
|
let a;
|
|
13273
13273
|
try {
|
|
13274
|
-
a =
|
|
13274
|
+
a = jO(Jt(i.data, 4));
|
|
13275
13275
|
} catch (l) {
|
|
13276
13276
|
D(!1, l.message, "OFFCHAIN_FAULT", {
|
|
13277
13277
|
reason: "BAD_DATA",
|
|
@@ -13303,7 +13303,7 @@ Ar = /* @__PURE__ */ new WeakMap(), Mo = /* @__PURE__ */ new WeakMap(), _r = /*
|
|
|
13303
13303
|
};
|
|
13304
13304
|
this.emit("debug", { action: "sendCcipReadCall", transaction: u });
|
|
13305
13305
|
try {
|
|
13306
|
-
const l = await
|
|
13306
|
+
const l = await j(this, zt, k1).call(this, u, t, r + 1);
|
|
13307
13307
|
return this.emit("debug", { action: "receiveCcipReadCallResult", transaction: Object.assign({}, u), result: l }), l;
|
|
13308
13308
|
} catch (l) {
|
|
13309
13309
|
throw this.emit("debug", { action: "receiveCcipReadCallError", transaction: Object.assign({}, u), error: l }), l;
|
|
@@ -13319,16 +13319,16 @@ Ar = /* @__PURE__ */ new WeakMap(), Mo = /* @__PURE__ */ new WeakMap(), _r = /*
|
|
|
13319
13319
|
return t;
|
|
13320
13320
|
}, $l = async function(e, t, r) {
|
|
13321
13321
|
let n = this._getAddress(t), i = this._getBlockTag(r);
|
|
13322
|
-
return (typeof n != "string" || typeof i != "string") && ([n, i] = await Promise.all([n, i])), await
|
|
13322
|
+
return (typeof n != "string" || typeof i != "string") && ([n, i] = await Promise.all([n, i])), await j(this, zt, R1).call(this, j(this, zt, zr).call(this, Object.assign(e, { address: n, blockTag: i })));
|
|
13323
13323
|
}, O1 = async function(e, t) {
|
|
13324
13324
|
if (Yt(e, 32))
|
|
13325
|
-
return await
|
|
13325
|
+
return await j(this, zt, zr).call(this, {
|
|
13326
13326
|
method: "getBlock",
|
|
13327
13327
|
blockHash: e,
|
|
13328
13328
|
includeTransactions: t
|
|
13329
13329
|
});
|
|
13330
13330
|
let r = this._getBlockTag(e);
|
|
13331
|
-
return typeof r != "string" && (r = await r), await
|
|
13331
|
+
return typeof r != "string" && (r = await r), await j(this, zt, zr).call(this, {
|
|
13332
13332
|
method: "getBlock",
|
|
13333
13333
|
blockTag: r,
|
|
13334
13334
|
includeTransactions: t
|
|
@@ -13386,7 +13386,7 @@ function zO(e) {
|
|
|
13386
13386
|
return Pt(t);
|
|
13387
13387
|
}
|
|
13388
13388
|
const Y3 = "0x0000000000000000000000000000000000000000000000000000000000000000";
|
|
13389
|
-
function
|
|
13389
|
+
function jO(e) {
|
|
13390
13390
|
const t = {
|
|
13391
13391
|
sender: "",
|
|
13392
13392
|
urls: [],
|
|
@@ -13523,7 +13523,7 @@ class Uu {
|
|
|
13523
13523
|
}
|
|
13524
13524
|
}
|
|
13525
13525
|
var Hl, Yp;
|
|
13526
|
-
const
|
|
13526
|
+
const WO = class k8 extends Uu {
|
|
13527
13527
|
/**
|
|
13528
13528
|
* Creates a new **VoidSigner** with %%address%% attached to
|
|
13529
13529
|
* %%provider%%.
|
|
@@ -13538,19 +13538,19 @@ const jO = class k8 extends Uu {
|
|
|
13538
13538
|
return new k8(this.address, t);
|
|
13539
13539
|
}
|
|
13540
13540
|
async signTransaction(t) {
|
|
13541
|
-
|
|
13541
|
+
j(this, Hl, Yp).call(this, "transactions", "signTransaction");
|
|
13542
13542
|
}
|
|
13543
13543
|
async signMessage(t) {
|
|
13544
|
-
|
|
13544
|
+
j(this, Hl, Yp).call(this, "messages", "signMessage");
|
|
13545
13545
|
}
|
|
13546
13546
|
async signTypedData(t, r, n) {
|
|
13547
|
-
|
|
13547
|
+
j(this, Hl, Yp).call(this, "typed-data", "signTypedData");
|
|
13548
13548
|
}
|
|
13549
13549
|
};
|
|
13550
13550
|
Hl = /* @__PURE__ */ new WeakSet(), Yp = function(e, t) {
|
|
13551
13551
|
D(!1, `VoidSigner cannot sign ${e}`, "UNSUPPORTED_OPERATION", { operation: t });
|
|
13552
13552
|
};
|
|
13553
|
-
let Zg =
|
|
13553
|
+
let Zg = WO;
|
|
13554
13554
|
const X3 = /* @__PURE__ */ new Set();
|
|
13555
13555
|
function fs(e) {
|
|
13556
13556
|
X3.has(e) || (X3.add(e), console.log("========= NOTICE ========="), console.log(`Request-Rate Exceeded for ${e} (this message will not be repeated)`), console.log(""), console.log("The default API keys for each service are provided as a highly-throttled,"), console.log("community resource for low-traffic projects and early prototyping."), console.log(""), console.log("While your application will continue to function, we highly recommended"), console.log("signing up for your own API keys to improve performance, increase your"), console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."), console.log(""), console.log("For more details: https://docs.ethers.org/api-keys/"), console.log("=========================="));
|
|
@@ -13566,7 +13566,7 @@ class R8 {
|
|
|
13566
13566
|
* to the %%provider%%.
|
|
13567
13567
|
*/
|
|
13568
13568
|
constructor(t) {
|
|
13569
|
-
B(this, hc), B(this, xr), B(this, Pi), B(this, Ec), B(this, Bo), B(this, Sc), B(this, ph), E(this, xr, t), E(this, Pi, null), E(this, Ec,
|
|
13569
|
+
B(this, hc), B(this, xr), B(this, Pi), B(this, Ec), B(this, Bo), B(this, Sc), B(this, ph), E(this, xr, t), E(this, Pi, null), E(this, Ec, j(this, hc, x1).bind(this)), E(this, Bo, !1), E(this, Sc, null), E(this, ph, !1);
|
|
13570
13570
|
}
|
|
13571
13571
|
/**
|
|
13572
13572
|
* Sub-classes **must** override this to begin the subscription.
|
|
@@ -13587,13 +13587,13 @@ class R8 {
|
|
|
13587
13587
|
throw new Error("subclasses must override this");
|
|
13588
13588
|
}
|
|
13589
13589
|
start() {
|
|
13590
|
-
v(this, Bo) || (E(this, Bo, !0),
|
|
13590
|
+
v(this, Bo) || (E(this, Bo, !0), j(this, hc, x1).call(this, -2));
|
|
13591
13591
|
}
|
|
13592
13592
|
stop() {
|
|
13593
|
-
v(this, Bo) && (E(this, Bo, !1), E(this, ph, !0),
|
|
13593
|
+
v(this, Bo) && (E(this, Bo, !1), E(this, ph, !0), j(this, hc, N1).call(this), v(this, xr).off("block", v(this, Ec)));
|
|
13594
13594
|
}
|
|
13595
13595
|
pause(t) {
|
|
13596
|
-
t &&
|
|
13596
|
+
t && j(this, hc, N1).call(this), v(this, xr).off("block", v(this, Ec));
|
|
13597
13597
|
}
|
|
13598
13598
|
resume() {
|
|
13599
13599
|
this.start();
|
|
@@ -13909,7 +13909,7 @@ class Xg extends au {
|
|
|
13909
13909
|
break;
|
|
13910
13910
|
console.log("JsonRpcProvider failed to detect network and cannot start up; retry in 1s (perhaps the URL is wrong or the node is not started)"), this.emit("error", ne("failed to bootstrap network detection", "NETWORK_ERROR", { event: "initial-network-discovery", info: { error: t } })), await QO(1e3);
|
|
13911
13911
|
}
|
|
13912
|
-
|
|
13912
|
+
j(this, Xp, P1).call(this);
|
|
13913
13913
|
})());
|
|
13914
13914
|
}
|
|
13915
13915
|
/**
|
|
@@ -13947,7 +13947,7 @@ class Xg extends au {
|
|
|
13947
13947
|
if (t[n] == null)
|
|
13948
13948
|
return;
|
|
13949
13949
|
let i = n;
|
|
13950
|
-
n === "gasLimit" && (i = "gas"), r[i] =
|
|
13950
|
+
n === "gasLimit" && (i = "gas"), r[i] = Wi(st(t[n], `tx.${n}`));
|
|
13951
13951
|
}), ["from", "to", "data"].forEach((n) => {
|
|
13952
13952
|
t[n] != null && (r[n] = V(t[n]));
|
|
13953
13953
|
}), t.accessList && (r.accessList = _i(t.accessList)), t.blobVersionedHashes && (r.blobVersionedHashes = t.blobVersionedHashes.map((n) => n.toLowerCase())), r;
|
|
@@ -14113,7 +14113,7 @@ class Xg extends au {
|
|
|
14113
14113
|
payload: { method: t, params: r, id: n, jsonrpc: "2.0" }
|
|
14114
14114
|
});
|
|
14115
14115
|
});
|
|
14116
|
-
return
|
|
14116
|
+
return j(this, Xp, P1).call(this), i;
|
|
14117
14117
|
}
|
|
14118
14118
|
/**
|
|
14119
14119
|
* Resolves to the [[Signer]] account for %%address%% managed by
|
|
@@ -14231,13 +14231,13 @@ class T8 extends Xg {
|
|
|
14231
14231
|
}
|
|
14232
14232
|
}
|
|
14233
14233
|
Uo = /* @__PURE__ */ new WeakMap();
|
|
14234
|
-
var
|
|
14234
|
+
var jl;
|
|
14235
14235
|
class Qr extends T8 {
|
|
14236
14236
|
constructor(t, r, n) {
|
|
14237
|
-
t == null && (t = "http://localhost:8545"), super(r, n), B(this,
|
|
14237
|
+
t == null && (t = "http://localhost:8545"), super(r, n), B(this, jl), typeof t == "string" ? E(this, jl, new dr(t)) : E(this, jl, t.clone());
|
|
14238
14238
|
}
|
|
14239
14239
|
_getConnection() {
|
|
14240
|
-
return v(this,
|
|
14240
|
+
return v(this, jl).clone();
|
|
14241
14241
|
}
|
|
14242
14242
|
async send(t, r) {
|
|
14243
14243
|
return await this._start(), await super.send(t, r);
|
|
@@ -14251,7 +14251,7 @@ class Qr extends T8 {
|
|
|
14251
14251
|
return Array.isArray(i) || (i = [i]), i;
|
|
14252
14252
|
}
|
|
14253
14253
|
}
|
|
14254
|
-
|
|
14254
|
+
jl = /* @__PURE__ */ new WeakMap();
|
|
14255
14255
|
function M1(e) {
|
|
14256
14256
|
if (e == null)
|
|
14257
14257
|
return null;
|
|
@@ -14359,7 +14359,7 @@ class cu extends Qr {
|
|
|
14359
14359
|
return this.apiKey === zf;
|
|
14360
14360
|
}
|
|
14361
14361
|
}
|
|
14362
|
-
const
|
|
14362
|
+
const jf = "_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC";
|
|
14363
14363
|
function XO(e) {
|
|
14364
14364
|
switch (e) {
|
|
14365
14365
|
case "mainnet":
|
|
@@ -14399,7 +14399,7 @@ class uu extends Qr {
|
|
|
14399
14399
|
constructor(t, r) {
|
|
14400
14400
|
t == null && (t = "mainnet");
|
|
14401
14401
|
const n = Pe.from(t);
|
|
14402
|
-
r == null && (r =
|
|
14402
|
+
r == null && (r = jf);
|
|
14403
14403
|
const i = uu.getRequest(n, r);
|
|
14404
14404
|
super(i, n, { staticNetwork: n }), O(this, "apiKey"), tt(this, { apiKey: r });
|
|
14405
14405
|
}
|
|
@@ -14438,15 +14438,15 @@ class uu extends Qr {
|
|
|
14438
14438
|
return await super._perform(t);
|
|
14439
14439
|
}
|
|
14440
14440
|
isCommunityResource() {
|
|
14441
|
-
return this.apiKey ===
|
|
14441
|
+
return this.apiKey === jf;
|
|
14442
14442
|
}
|
|
14443
14443
|
static getRequest(t, r) {
|
|
14444
|
-
r == null && (r =
|
|
14444
|
+
r == null && (r = jf);
|
|
14445
14445
|
const n = new dr(`https://${XO(t.name)}/v2/${r}`);
|
|
14446
|
-
return n.allowGzip = !0, r ===
|
|
14446
|
+
return n.allowGzip = !0, r === jf && (n.retryFunc = async (i, s, o) => (fs("alchemy"), !0)), n;
|
|
14447
14447
|
}
|
|
14448
14448
|
}
|
|
14449
|
-
function
|
|
14449
|
+
function Wf(e) {
|
|
14450
14450
|
switch (e) {
|
|
14451
14451
|
case "mainnet":
|
|
14452
14452
|
return "39f1d67cedf8b7831010a665328c9197";
|
|
@@ -14479,7 +14479,7 @@ class lu extends Qr {
|
|
|
14479
14479
|
constructor(t, r) {
|
|
14480
14480
|
t == null && (t = "mainnet");
|
|
14481
14481
|
const n = Pe.from(t);
|
|
14482
|
-
r == null && (r =
|
|
14482
|
+
r == null && (r = Wf(n.name));
|
|
14483
14483
|
const i = lu.getRequest(n, r);
|
|
14484
14484
|
super(i, n, { staticNetwork: n }), O(this, "apiKey"), tt(this, { apiKey: r });
|
|
14485
14485
|
}
|
|
@@ -14491,16 +14491,16 @@ class lu extends Qr {
|
|
|
14491
14491
|
return super._getProvider(t);
|
|
14492
14492
|
}
|
|
14493
14493
|
isCommunityResource() {
|
|
14494
|
-
return this.apiKey ===
|
|
14494
|
+
return this.apiKey === Wf(this._network.name);
|
|
14495
14495
|
}
|
|
14496
14496
|
/**
|
|
14497
14497
|
* Returns a prepared request for connecting to %%network%%
|
|
14498
14498
|
* with %%apiKey%% and %%projectSecret%%.
|
|
14499
14499
|
*/
|
|
14500
14500
|
static getRequest(t, r) {
|
|
14501
|
-
r == null && (r =
|
|
14501
|
+
r == null && (r = Wf(t.name));
|
|
14502
14502
|
const n = new dr(`https://${tT(t.name)}/${r}`);
|
|
14503
|
-
return n.allowGzip = !0, r ===
|
|
14503
|
+
return n.allowGzip = !0, r === Wf(t.name) && (n.retryFunc = async (i, s, o) => (fs("ChainstackProvider"), !0)), n;
|
|
14504
14504
|
}
|
|
14505
14505
|
}
|
|
14506
14506
|
class sw extends Qr {
|
|
@@ -14529,16 +14529,16 @@ class tm extends hs {
|
|
|
14529
14529
|
}
|
|
14530
14530
|
const rT = ["enableCcipRead"];
|
|
14531
14531
|
let nT = 1;
|
|
14532
|
-
var
|
|
14532
|
+
var Wl;
|
|
14533
14533
|
class ow extends au {
|
|
14534
14534
|
/**
|
|
14535
14535
|
* Creates a new **EtherscanBaseProvider**.
|
|
14536
14536
|
*/
|
|
14537
14537
|
constructor(t, r) {
|
|
14538
14538
|
const n = r ?? null;
|
|
14539
|
-
super(), O(this, "network"), O(this, "apiKey"), B(this,
|
|
14539
|
+
super(), O(this, "network"), O(this, "apiKey"), B(this, Wl);
|
|
14540
14540
|
const i = Pe.from(t);
|
|
14541
|
-
E(this,
|
|
14541
|
+
E(this, Wl, i.getPlugin(x8)), tt(this, { apiKey: n, network: i }), this.getBaseUrl();
|
|
14542
14542
|
}
|
|
14543
14543
|
/**
|
|
14544
14544
|
* Returns the base URL.
|
|
@@ -14548,8 +14548,8 @@ class ow extends au {
|
|
|
14548
14548
|
* baseUrl.
|
|
14549
14549
|
*/
|
|
14550
14550
|
getBaseUrl() {
|
|
14551
|
-
if (v(this,
|
|
14552
|
-
return v(this,
|
|
14551
|
+
if (v(this, Wl))
|
|
14552
|
+
return v(this, Wl).baseUrl;
|
|
14553
14553
|
switch (this.network.name) {
|
|
14554
14554
|
case "mainnet":
|
|
14555
14555
|
return "https://api.etherscan.io";
|
|
@@ -14643,7 +14643,7 @@ class ow extends au {
|
|
|
14643
14643
|
let i = t[n];
|
|
14644
14644
|
if (!(n === "type" && i === 0) && !(n === "blockTag" && i === "latest")) {
|
|
14645
14645
|
if ({ type: !0, gasLimit: !0, gasPrice: !0, maxFeePerGs: !0, maxPriorityFeePerGas: !0, nonce: !0, value: !0 }[n])
|
|
14646
|
-
i =
|
|
14646
|
+
i = Wi(i);
|
|
14647
14647
|
else if (n === "accessList")
|
|
14648
14648
|
i = "[" + _i(i).map((s) => `{address:"${s.address}",storageKeys:["${s.storageKeys.join('","')}"]}`).join(",") + "]";
|
|
14649
14649
|
else if (n === "blobVersionedHashes") {
|
|
@@ -14821,7 +14821,7 @@ class ow extends au {
|
|
|
14821
14821
|
return this.apiKey == null;
|
|
14822
14822
|
}
|
|
14823
14823
|
}
|
|
14824
|
-
|
|
14824
|
+
Wl = /* @__PURE__ */ new WeakMap();
|
|
14825
14825
|
function iT() {
|
|
14826
14826
|
if (typeof self < "u")
|
|
14827
14827
|
return self;
|
|
@@ -15365,7 +15365,7 @@ function pT(e, t) {
|
|
|
15365
15365
|
o >= e && (o > i || s != null && o === i && a > s) && (i = o, s = a);
|
|
15366
15366
|
return s;
|
|
15367
15367
|
}
|
|
15368
|
-
var
|
|
15368
|
+
var jr, Bs, mh, Hi, ib, G1, N8, sb, H1;
|
|
15369
15369
|
class fw extends au {
|
|
15370
15370
|
/**
|
|
15371
15371
|
* Creates a new **FallbackProvider** with %%providers%% connected to
|
|
@@ -15375,10 +15375,10 @@ class fw extends au {
|
|
|
15375
15375
|
* for the configuration.
|
|
15376
15376
|
*/
|
|
15377
15377
|
constructor(t, r, n) {
|
|
15378
|
-
super(r, n), B(this, Hi), O(this, "quorum"), O(this, "eventQuorum"), O(this, "eventWorkers"), B(this,
|
|
15378
|
+
super(r, n), B(this, Hi), O(this, "quorum"), O(this, "eventQuorum"), O(this, "eventWorkers"), B(this, jr), B(this, Bs), B(this, mh), E(this, jr, t.map((i) => i instanceof au ? Object.assign({ provider: i }, rb, nb) : Object.assign({}, rb, i, nb))), E(this, Bs, -2), E(this, mh, null), n && n.quorum != null ? this.quorum = n.quorum : this.quorum = Math.ceil(v(this, jr).reduce((i, s) => (i += s.weight, i), 0) / 2), this.eventQuorum = 1, this.eventWorkers = 1, k(this.quorum <= v(this, jr).reduce((i, s) => i + s.weight, 0), "quorum exceed provider weight", "quorum", this.quorum);
|
|
15379
15379
|
}
|
|
15380
15380
|
get providerConfigs() {
|
|
15381
|
-
return v(this,
|
|
15381
|
+
return v(this, jr).map((t) => {
|
|
15382
15382
|
const r = Object.assign({}, t);
|
|
15383
15383
|
for (const n in r)
|
|
15384
15384
|
n[0] === "_" && delete r[n];
|
|
@@ -15435,7 +15435,7 @@ class fw extends au {
|
|
|
15435
15435
|
}
|
|
15436
15436
|
async _perform(t) {
|
|
15437
15437
|
if (t.method === "broadcastTransaction") {
|
|
15438
|
-
const s = v(this,
|
|
15438
|
+
const s = v(this, jr).map((c) => null), o = v(this, jr).map(async ({ provider: c, weight: u }, l) => {
|
|
15439
15439
|
try {
|
|
15440
15440
|
const h = await c._perform(t);
|
|
15441
15441
|
s[l] = Object.assign(D1({ result: h }), { weight: u });
|
|
@@ -15464,29 +15464,29 @@ class fw extends au {
|
|
|
15464
15464
|
throw a;
|
|
15465
15465
|
return a;
|
|
15466
15466
|
}
|
|
15467
|
-
await
|
|
15467
|
+
await j(this, Hi, N8).call(this);
|
|
15468
15468
|
const r = /* @__PURE__ */ new Set();
|
|
15469
15469
|
let n = 0;
|
|
15470
15470
|
for (; ; ) {
|
|
15471
|
-
const s =
|
|
15471
|
+
const s = j(this, Hi, G1).call(this, r, t);
|
|
15472
15472
|
if (s == null || (n += s.config.weight, n >= this.quorum))
|
|
15473
15473
|
break;
|
|
15474
15474
|
}
|
|
15475
|
-
const i = await
|
|
15475
|
+
const i = await j(this, Hi, H1).call(this, r, t);
|
|
15476
15476
|
for (const s of r)
|
|
15477
15477
|
s.perform && s.result == null && s.config.lateResponses++;
|
|
15478
15478
|
return i;
|
|
15479
15479
|
}
|
|
15480
15480
|
async destroy() {
|
|
15481
|
-
for (const { provider: t } of v(this,
|
|
15481
|
+
for (const { provider: t } of v(this, jr))
|
|
15482
15482
|
t.destroy();
|
|
15483
15483
|
super.destroy();
|
|
15484
15484
|
}
|
|
15485
15485
|
}
|
|
15486
|
-
|
|
15486
|
+
jr = /* @__PURE__ */ new WeakMap(), Bs = /* @__PURE__ */ new WeakMap(), mh = /* @__PURE__ */ new WeakMap(), Hi = /* @__PURE__ */ new WeakSet(), // Grab the next (random) config that is not already part of
|
|
15487
15487
|
// the running set
|
|
15488
15488
|
ib = function(e) {
|
|
15489
|
-
const t = Array.from(e).map((n) => n.config), r = v(this,
|
|
15489
|
+
const t = Array.from(e).map((n) => n.config), r = v(this, jr).slice();
|
|
15490
15490
|
lT(r), r.sort((n, i) => n.priority - i.priority);
|
|
15491
15491
|
for (const n of r)
|
|
15492
15492
|
if (!n._lastFatalError && t.indexOf(n) === -1)
|
|
@@ -15494,7 +15494,7 @@ ib = function(e) {
|
|
|
15494
15494
|
return null;
|
|
15495
15495
|
}, // Adds a new runner (if available) to running.
|
|
15496
15496
|
G1 = function(e, t) {
|
|
15497
|
-
const r =
|
|
15497
|
+
const r = j(this, Hi, ib).call(this, e);
|
|
15498
15498
|
if (r == null)
|
|
15499
15499
|
return null;
|
|
15500
15500
|
const n = {
|
|
@@ -15521,14 +15521,14 @@ G1 = function(e, t) {
|
|
|
15521
15521
|
let e = v(this, mh);
|
|
15522
15522
|
if (!e) {
|
|
15523
15523
|
const t = [];
|
|
15524
|
-
v(this,
|
|
15524
|
+
v(this, jr).forEach((r) => {
|
|
15525
15525
|
t.push((async () => {
|
|
15526
15526
|
await fT(r, 0), r._lastFatalError || (r._network = await r.provider.getNetwork());
|
|
15527
15527
|
})());
|
|
15528
15528
|
}), E(this, mh, e = (async () => {
|
|
15529
15529
|
await Promise.all(t);
|
|
15530
15530
|
let r = null;
|
|
15531
|
-
for (const n of v(this,
|
|
15531
|
+
for (const n of v(this, jr)) {
|
|
15532
15532
|
if (n._lastFatalError)
|
|
15533
15533
|
continue;
|
|
15534
15534
|
const i = n._network;
|
|
@@ -15549,7 +15549,7 @@ G1 = function(e, t) {
|
|
|
15549
15549
|
if (!(r.reduce((n, i) => n + i.weight, 0) < this.quorum)) {
|
|
15550
15550
|
switch (t.method) {
|
|
15551
15551
|
case "getBlockNumber": {
|
|
15552
|
-
v(this, Bs) === -2 && E(this, Bs, Math.ceil(ft(F1(this.quorum, v(this,
|
|
15552
|
+
v(this, Bs) === -2 && E(this, Bs, Math.ceil(ft(F1(this.quorum, v(this, jr).filter((i) => !i._lastFatalError).map((i) => ({
|
|
15553
15553
|
value: i.blockNumber,
|
|
15554
15554
|
tag: ft(i.blockNumber).toString(),
|
|
15555
15555
|
weight: i.weight
|
|
@@ -15592,18 +15592,18 @@ G1 = function(e, t) {
|
|
|
15592
15592
|
}
|
|
15593
15593
|
s.didBump || (s.didBump = !0, n++);
|
|
15594
15594
|
}
|
|
15595
|
-
const i = await
|
|
15595
|
+
const i = await j(this, Hi, sb).call(this, e, t);
|
|
15596
15596
|
if (i !== void 0) {
|
|
15597
15597
|
if (i instanceof Error)
|
|
15598
15598
|
throw i;
|
|
15599
15599
|
return i;
|
|
15600
15600
|
}
|
|
15601
15601
|
for (let s = 0; s < n; s++)
|
|
15602
|
-
|
|
15602
|
+
j(this, Hi, G1).call(this, e, t);
|
|
15603
15603
|
return D(r.length > 0, "quorum not met", "SERVER_ERROR", {
|
|
15604
15604
|
request: "%sub-requests",
|
|
15605
15605
|
info: { request: t, results: Array.from(e).map((s) => L1(s.result)) }
|
|
15606
|
-
}), await Promise.race(r), await
|
|
15606
|
+
}), await Promise.race(r), await j(this, Hi, H1).call(this, e, t);
|
|
15607
15607
|
};
|
|
15608
15608
|
function dT(e) {
|
|
15609
15609
|
return e && typeof e.send == "function" && typeof e.close == "function";
|
|
@@ -15798,7 +15798,7 @@ function yT(e) {
|
|
|
15798
15798
|
}
|
|
15799
15799
|
k(!1, "unsupported network", "network", e);
|
|
15800
15800
|
}
|
|
15801
|
-
class
|
|
15801
|
+
class jh extends Qr {
|
|
15802
15802
|
/**
|
|
15803
15803
|
* Create a new **PocketProvider**.
|
|
15804
15804
|
*
|
|
@@ -15809,12 +15809,12 @@ class Wh extends Qr {
|
|
|
15809
15809
|
t == null && (t = "mainnet");
|
|
15810
15810
|
const i = Pe.from(t);
|
|
15811
15811
|
r == null && (r = qf), n == null && (n = null);
|
|
15812
|
-
const s = { staticNetwork: i }, o =
|
|
15812
|
+
const s = { staticNetwork: i }, o = jh.getRequest(i, r, n);
|
|
15813
15813
|
super(o, i, s), O(this, "applicationId"), O(this, "applicationSecret"), tt(this, { applicationId: r, applicationSecret: n });
|
|
15814
15814
|
}
|
|
15815
15815
|
_getProvider(t) {
|
|
15816
15816
|
try {
|
|
15817
|
-
return new
|
|
15817
|
+
return new jh(t, this.applicationId, this.applicationSecret);
|
|
15818
15818
|
} catch {
|
|
15819
15819
|
}
|
|
15820
15820
|
return super._getProvider(t);
|
|
@@ -15983,11 +15983,11 @@ class nm extends dw {
|
|
|
15983
15983
|
return D8(v(this, Ql));
|
|
15984
15984
|
}
|
|
15985
15985
|
getWord(t) {
|
|
15986
|
-
const r =
|
|
15986
|
+
const r = j(this, rd, z1).call(this);
|
|
15987
15987
|
return k(t >= 0 && t < r.length, `invalid word index: ${t}`, "index", t), r[t];
|
|
15988
15988
|
}
|
|
15989
15989
|
getWordIndex(t) {
|
|
15990
|
-
return
|
|
15990
|
+
return j(this, rd, z1).call(this).indexOf(t);
|
|
15991
15991
|
}
|
|
15992
15992
|
}
|
|
15993
15993
|
Ql = /* @__PURE__ */ new WeakMap(), Dd = /* @__PURE__ */ new WeakMap(), Cc = /* @__PURE__ */ new WeakMap(), rd = /* @__PURE__ */ new WeakSet(), z1 = function() {
|
|
@@ -16452,12 +16452,12 @@ async function vw(e, t, r) {
|
|
|
16452
16452
|
const { salt: o, N: a, r: c, p: u, dkLen: l } = s, h = await cs(i, o, a, c, u, l, r);
|
|
16453
16453
|
return $d(n, h);
|
|
16454
16454
|
}
|
|
16455
|
-
function
|
|
16455
|
+
function j8(e) {
|
|
16456
16456
|
const t = e.salt != null ? Y(e.salt, "options.salt") : Jr(32);
|
|
16457
16457
|
let r = 1 << 17, n = 8, i = 1;
|
|
16458
16458
|
return e.scrypt && (e.scrypt.N && (r = e.scrypt.N), e.scrypt.r && (n = e.scrypt.r), e.scrypt.p && (i = e.scrypt.p)), k(typeof r == "number" && r > 0 && Number.isSafeInteger(r) && (BigInt(r) & BigInt(r - 1)) === BigInt(0), "invalid scrypt N parameter", "options.N", r), k(typeof n == "number" && n > 0 && Number.isSafeInteger(n), "invalid scrypt r parameter", "options.r", n), k(typeof i == "number" && i > 0 && Number.isSafeInteger(i), "invalid scrypt p parameter", "options.p", i), { name: "scrypt", dkLen: 32, salt: t, N: r, r: n, p: i };
|
|
16459
16459
|
}
|
|
16460
|
-
function
|
|
16460
|
+
function W8(e, t, r, n) {
|
|
16461
16461
|
const i = Y(r.privateKey, "privateKey"), s = n.iv != null ? Y(n.iv, "options.iv") : Jr(16);
|
|
16462
16462
|
k(s.length === 16, "invalid options.iv length", "options.iv", n.iv);
|
|
16463
16463
|
const o = n.uuid != null ? Y(n.uuid, "options.uuid") : Jr(16);
|
|
@@ -16499,13 +16499,13 @@ function j8(e, t, r, n) {
|
|
|
16499
16499
|
}
|
|
16500
16500
|
function im(e, t, r) {
|
|
16501
16501
|
r == null && (r = {});
|
|
16502
|
-
const n = Ef(t), i =
|
|
16503
|
-
return
|
|
16502
|
+
const n = Ef(t), i = j8(r), s = us(n, i.salt, i.N, i.r, i.p, 64);
|
|
16503
|
+
return W8(Y(s), i, e, r);
|
|
16504
16504
|
}
|
|
16505
16505
|
async function sm(e, t, r) {
|
|
16506
16506
|
r == null && (r = {});
|
|
16507
|
-
const n = Ef(t), i =
|
|
16508
|
-
return
|
|
16507
|
+
const n = Ef(t), i = j8(r), s = await cs(n, i.salt, i.N, i.r, i.p, 64, r.progressCallback);
|
|
16508
|
+
return W8(Y(s), i, e, r);
|
|
16509
16509
|
}
|
|
16510
16510
|
const yh = "m/44'/60'/0'/0/0", $T = new Uint8Array([66, 105, 116, 99, 111, 105, 110, 32, 115, 101, 101, 100]), Qs = 2147483648, GT = BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"), HT = "0123456789abcdef";
|
|
16511
16511
|
function Gd(e, t) {
|
|
@@ -16516,7 +16516,7 @@ function Gd(e, t) {
|
|
|
16516
16516
|
r = "0" + r;
|
|
16517
16517
|
return "0x" + r;
|
|
16518
16518
|
}
|
|
16519
|
-
function
|
|
16519
|
+
function j1(e) {
|
|
16520
16520
|
const t = Y(e), r = Jt(gr(gr(t)), 0, 4), n = Pt([t, r]);
|
|
16521
16521
|
return Tg(n);
|
|
16522
16522
|
}
|
|
@@ -16548,7 +16548,7 @@ function q8(e, t) {
|
|
|
16548
16548
|
}
|
|
16549
16549
|
return n;
|
|
16550
16550
|
}
|
|
16551
|
-
var id,
|
|
16551
|
+
var id, W1, Ic, Xl;
|
|
16552
16552
|
const V1 = class Ps extends rm {
|
|
16553
16553
|
/**
|
|
16554
16554
|
* @private
|
|
@@ -16576,7 +16576,7 @@ const V1 = class Ps extends rm {
|
|
|
16576
16576
|
* updates as the encryption process progreses.
|
|
16577
16577
|
*/
|
|
16578
16578
|
async encrypt(t, r) {
|
|
16579
|
-
return await sm(
|
|
16579
|
+
return await sm(j(this, id, W1).call(this), t, { progressCallback: r });
|
|
16580
16580
|
}
|
|
16581
16581
|
/**
|
|
16582
16582
|
* Returns a [JSON Keystore Wallet](json-wallets) encryped with
|
|
@@ -16589,7 +16589,7 @@ const V1 = class Ps extends rm {
|
|
|
16589
16589
|
* it is complete, which may be a non-trivial duration.
|
|
16590
16590
|
*/
|
|
16591
16591
|
encryptSync(t) {
|
|
16592
|
-
return im(
|
|
16592
|
+
return im(j(this, id, W1).call(this), t);
|
|
16593
16593
|
}
|
|
16594
16594
|
/**
|
|
16595
16595
|
* The extended key.
|
|
@@ -16598,7 +16598,7 @@ const V1 = class Ps extends rm {
|
|
|
16598
16598
|
* reconstruct this HD Node to derive its children.
|
|
16599
16599
|
*/
|
|
16600
16600
|
get extendedKey() {
|
|
16601
|
-
return D(this.depth < 256, "Depth too deep", "UNSUPPORTED_OPERATION", { operation: "extendedKey" }),
|
|
16601
|
+
return D(this.depth < 256, "Depth too deep", "UNSUPPORTED_OPERATION", { operation: "extendedKey" }), j1(Pt([
|
|
16602
16602
|
"0x0488ADE4",
|
|
16603
16603
|
Gd(this.depth, 1),
|
|
16604
16604
|
this.parentFingerprint,
|
|
@@ -16650,7 +16650,7 @@ const V1 = class Ps extends rm {
|
|
|
16650
16650
|
*/
|
|
16651
16651
|
static fromExtendedKey(t) {
|
|
16652
16652
|
const r = Fe(gv(t));
|
|
16653
|
-
k(r.length === 82 ||
|
|
16653
|
+
k(r.length === 82 || j1(r.slice(0, 78)) === t, "invalid extended key", "extendedKey", "[ REDACTED ]");
|
|
16654
16654
|
const n = r[4], i = V(r.slice(5, 9)), s = parseInt(V(r.slice(9, 13)).substring(2), 16), o = V(r.slice(13, 45)), a = r.slice(45, 78);
|
|
16655
16655
|
switch (V(r.slice(0, 4))) {
|
|
16656
16656
|
case "0x0488b21e":
|
|
@@ -16673,14 +16673,14 @@ const V1 = class Ps extends rm {
|
|
|
16673
16673
|
var i;
|
|
16674
16674
|
t == null && (t = ""), r == null && (r = yh), n == null && (n = mi.wordlist());
|
|
16675
16675
|
const s = eo.fromEntropy(Jr(16), t, n);
|
|
16676
|
-
return
|
|
16676
|
+
return j(i = Ps, Ic, Xl).call(i, s.computeSeed(), s).derivePath(r);
|
|
16677
16677
|
}
|
|
16678
16678
|
/**
|
|
16679
16679
|
* Create an HD Node from %%mnemonic%%.
|
|
16680
16680
|
*/
|
|
16681
16681
|
static fromMnemonic(t, r) {
|
|
16682
16682
|
var n;
|
|
16683
|
-
return r || (r = yh),
|
|
16683
|
+
return r || (r = yh), j(n = Ps, Ic, Xl).call(n, t.computeSeed(), t).derivePath(r);
|
|
16684
16684
|
}
|
|
16685
16685
|
/**
|
|
16686
16686
|
* Creates an HD Node from a mnemonic %%phrase%%.
|
|
@@ -16689,17 +16689,17 @@ const V1 = class Ps extends rm {
|
|
|
16689
16689
|
var s;
|
|
16690
16690
|
r == null && (r = ""), n == null && (n = yh), i == null && (i = mi.wordlist());
|
|
16691
16691
|
const o = eo.fromPhrase(t, r, i);
|
|
16692
|
-
return
|
|
16692
|
+
return j(s = Ps, Ic, Xl).call(s, o.computeSeed(), o).derivePath(n);
|
|
16693
16693
|
}
|
|
16694
16694
|
/**
|
|
16695
16695
|
* Creates an HD Node from a %%seed%%.
|
|
16696
16696
|
*/
|
|
16697
16697
|
static fromSeed(t) {
|
|
16698
16698
|
var r;
|
|
16699
|
-
return
|
|
16699
|
+
return j(r = Ps, Ic, Xl).call(r, t, null);
|
|
16700
16700
|
}
|
|
16701
16701
|
};
|
|
16702
|
-
id = /* @__PURE__ */ new WeakSet(),
|
|
16702
|
+
id = /* @__PURE__ */ new WeakSet(), W1 = function() {
|
|
16703
16703
|
const e = { address: this.address, privateKey: this.privateKey }, t = this.mnemonic;
|
|
16704
16704
|
return this.path && t && t.wordlist.locale === "en" && t.password === "" && (e.mnemonic = {
|
|
16705
16705
|
path: this.path,
|
|
@@ -16713,7 +16713,7 @@ id = /* @__PURE__ */ new WeakSet(), j1 = function() {
|
|
|
16713
16713
|
const n = Y(os("sha512", $T, r)), i = new gi(V(n.slice(0, 32)));
|
|
16714
16714
|
return new V1(ui, i, "0x00000000", V(n.slice(32)), "m", 0, 0, t, null);
|
|
16715
16715
|
}, B(V1, Ic);
|
|
16716
|
-
let
|
|
16716
|
+
let Wh = V1;
|
|
16717
16717
|
class pa extends Zg {
|
|
16718
16718
|
/**
|
|
16719
16719
|
* @private
|
|
@@ -16741,7 +16741,7 @@ class pa extends Zg {
|
|
|
16741
16741
|
* reconstruct this neutered key to derive its children addresses.
|
|
16742
16742
|
*/
|
|
16743
16743
|
get extendedKey() {
|
|
16744
|
-
return D(this.depth < 256, "Depth too deep", "UNSUPPORTED_OPERATION", { operation: "extendedKey" }),
|
|
16744
|
+
return D(this.depth < 256, "Depth too deep", "UNSUPPORTED_OPERATION", { operation: "extendedKey" }), j1(Pt([
|
|
16745
16745
|
"0x0488B21E",
|
|
16746
16746
|
Gd(this.depth, 1),
|
|
16747
16747
|
this.parentFingerprint,
|
|
@@ -16807,7 +16807,7 @@ function cb(e) {
|
|
|
16807
16807
|
}, e);
|
|
16808
16808
|
});
|
|
16809
16809
|
}
|
|
16810
|
-
var
|
|
16810
|
+
var jd, q1;
|
|
16811
16811
|
const K1 = class sd extends rm {
|
|
16812
16812
|
/**
|
|
16813
16813
|
* Create a new wallet for the private %%key%%, optionally connected
|
|
@@ -16856,7 +16856,7 @@ const K1 = class sd extends rm {
|
|
|
16856
16856
|
static async fromEncryptedJson(t, r, n) {
|
|
16857
16857
|
var i;
|
|
16858
16858
|
let s = null;
|
|
16859
|
-
return Fd(t) ? s = await vw(t, r, n) : Hd(t) && (n && (n(0), await cb(0)), s = zd(t, r), n && (n(1), await cb(0))),
|
|
16859
|
+
return Fd(t) ? s = await vw(t, r, n) : Hd(t) && (n && (n(0), await cb(0)), s = zd(t, r), n && (n(1), await cb(0))), j(i = sd, jd, q1).call(i, s);
|
|
16860
16860
|
}
|
|
16861
16861
|
/**
|
|
16862
16862
|
* Creates a **Wallet** by decrypting the %%json%% with %%password%%.
|
|
@@ -16868,7 +16868,7 @@ const K1 = class sd extends rm {
|
|
|
16868
16868
|
static fromEncryptedJsonSync(t, r) {
|
|
16869
16869
|
var n;
|
|
16870
16870
|
let i = null;
|
|
16871
|
-
return Fd(t) ? i = yw(t, r) : Hd(t) ? i = zd(t, r) : k(!1, "invalid JSON wallet", "json", "[ REDACTED ]"),
|
|
16871
|
+
return Fd(t) ? i = yw(t, r) : Hd(t) ? i = zd(t, r) : k(!1, "invalid JSON wallet", "json", "[ REDACTED ]"), j(n = sd, jd, q1).call(n, i);
|
|
16872
16872
|
}
|
|
16873
16873
|
/**
|
|
16874
16874
|
* Creates a new random [[HDNodeWallet]] using the available
|
|
@@ -16877,30 +16877,30 @@ const K1 = class sd extends rm {
|
|
|
16877
16877
|
* If there is no crytographic random source, this will throw.
|
|
16878
16878
|
*/
|
|
16879
16879
|
static createRandom(t) {
|
|
16880
|
-
const r =
|
|
16880
|
+
const r = Wh.createRandom();
|
|
16881
16881
|
return t ? r.connect(t) : r;
|
|
16882
16882
|
}
|
|
16883
16883
|
/**
|
|
16884
16884
|
* Creates a [[HDNodeWallet]] for %%phrase%%.
|
|
16885
16885
|
*/
|
|
16886
16886
|
static fromPhrase(t, r) {
|
|
16887
|
-
const n =
|
|
16887
|
+
const n = Wh.fromPhrase(t);
|
|
16888
16888
|
return r ? n.connect(r) : n;
|
|
16889
16889
|
}
|
|
16890
16890
|
};
|
|
16891
|
-
|
|
16891
|
+
jd = /* @__PURE__ */ new WeakSet(), q1 = function(e) {
|
|
16892
16892
|
if (k(e, "invalid JSON wallet", "json", "[ REDACTED ]"), "mnemonic" in e && e.mnemonic && e.mnemonic.locale === "en") {
|
|
16893
|
-
const r = eo.fromEntropy(e.mnemonic.entropy), n =
|
|
16893
|
+
const r = eo.fromEntropy(e.mnemonic.entropy), n = Wh.fromMnemonic(r, e.mnemonic.path);
|
|
16894
16894
|
if (n.address === e.address && n.privateKey === e.privateKey)
|
|
16895
16895
|
return n;
|
|
16896
16896
|
console.log("WARNING: JSON mismatch address/privateKey != mnemonic; fallback onto private key");
|
|
16897
16897
|
}
|
|
16898
16898
|
const t = new K1(e.privateKey);
|
|
16899
16899
|
return k(t.address === e.address, "address/privateKey mismatch", "json", "[ REDACTED ]"), t;
|
|
16900
|
-
}, B(K1,
|
|
16900
|
+
}, B(K1, jd);
|
|
16901
16901
|
let Q8 = K1;
|
|
16902
16902
|
const zT = ")!@#$%^&*(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_";
|
|
16903
|
-
function
|
|
16903
|
+
function jT(e, t) {
|
|
16904
16904
|
const r = (1 << e) - 1, n = [];
|
|
16905
16905
|
let i = 0, s = 0, o = 0;
|
|
16906
16906
|
for (let a = 0; a < t.length; a++)
|
|
@@ -16910,13 +16910,13 @@ function WT(e, t) {
|
|
|
16910
16910
|
}
|
|
16911
16911
|
return n;
|
|
16912
16912
|
}
|
|
16913
|
-
function
|
|
16913
|
+
function WT(e, t) {
|
|
16914
16914
|
let r = D8(e).join(",");
|
|
16915
16915
|
return t.split(/,/g).forEach((n) => {
|
|
16916
16916
|
const i = n.match(/^([a-z]*)([0-9]+)([0-9])(.*)$/);
|
|
16917
16917
|
k(i !== null, "internal error parsing accents", "accents", t);
|
|
16918
16918
|
let s = 0;
|
|
16919
|
-
const o =
|
|
16919
|
+
const o = jT(parseInt(i[3]), i[4]), a = parseInt(i[2]), c = new RegExp(`([${i[1]}])`, "g");
|
|
16920
16920
|
r = r.replace(c, (u, l) => (--o[s] === 0 && (l = String.fromCharCode(l.charCodeAt(0), a), s++), l));
|
|
16921
16921
|
}), r.split(",");
|
|
16922
16922
|
}
|
|
@@ -16939,7 +16939,7 @@ class Y8 extends nm {
|
|
|
16939
16939
|
* Decode all the words for the wordlist.
|
|
16940
16940
|
*/
|
|
16941
16941
|
_decodeWords() {
|
|
16942
|
-
return
|
|
16942
|
+
return WT(this._data, this._accent);
|
|
16943
16943
|
}
|
|
16944
16944
|
}
|
|
16945
16945
|
od = /* @__PURE__ */ new WeakMap();
|
|
@@ -16988,11 +16988,11 @@ const Z8 = {
|
|
|
16988
16988
|
FunctionFragment: dn,
|
|
16989
16989
|
GasCostPlugin: Mu,
|
|
16990
16990
|
HDNodeVoidWallet: pa,
|
|
16991
|
-
HDNodeWallet:
|
|
16991
|
+
HDNodeWallet: Wh,
|
|
16992
16992
|
Indexed: Nd,
|
|
16993
16993
|
InfuraProvider: fa,
|
|
16994
16994
|
InfuraWebSocketProvider: hw,
|
|
16995
|
-
Interface:
|
|
16995
|
+
Interface: jg,
|
|
16996
16996
|
IpcSocketProvider: U8,
|
|
16997
16997
|
JsonRpcApiProvider: Xg,
|
|
16998
16998
|
JsonRpcProvider: Qr,
|
|
@@ -17012,7 +17012,7 @@ const Z8 = {
|
|
|
17012
17012
|
NetworkPlugin: hs,
|
|
17013
17013
|
NonceManager: B8,
|
|
17014
17014
|
ParamType: tr,
|
|
17015
|
-
PocketProvider:
|
|
17015
|
+
PocketProvider: jh,
|
|
17016
17016
|
QuickNodeProvider: hu,
|
|
17017
17017
|
Result: Qc,
|
|
17018
17018
|
Signature: Vn,
|
|
@@ -17025,7 +17025,7 @@ const Z8 = {
|
|
|
17025
17025
|
StructFragment: Ki,
|
|
17026
17026
|
Transaction: Nu,
|
|
17027
17027
|
TransactionDescription: qv,
|
|
17028
|
-
TransactionReceipt:
|
|
17028
|
+
TransactionReceipt: Wg,
|
|
17029
17029
|
TransactionResponse: vf,
|
|
17030
17030
|
Typed: pr,
|
|
17031
17031
|
TypedDataEncoder: ua,
|
|
@@ -17101,7 +17101,7 @@ const Z8 = {
|
|
|
17101
17101
|
keccak256: Qt,
|
|
17102
17102
|
lock: d5,
|
|
17103
17103
|
makeError: ne,
|
|
17104
|
-
mask:
|
|
17104
|
+
mask: ji,
|
|
17105
17105
|
namehash: Gh,
|
|
17106
17106
|
parseEther: n6,
|
|
17107
17107
|
parseUnits: _v,
|
|
@@ -17117,17 +17117,17 @@ const Z8 = {
|
|
|
17117
17117
|
sha512: xu,
|
|
17118
17118
|
showThrottleMessage: fs,
|
|
17119
17119
|
solidityPacked: Hg,
|
|
17120
|
-
solidityPackedKeccak256:
|
|
17120
|
+
solidityPackedKeccak256: W5,
|
|
17121
17121
|
solidityPackedSha256: V5,
|
|
17122
17122
|
stripZerosLeft: G_,
|
|
17123
17123
|
toBeArray: Fe,
|
|
17124
17124
|
toBeHex: wn,
|
|
17125
17125
|
toBigInt: Sa,
|
|
17126
17126
|
toNumber: Bh,
|
|
17127
|
-
toQuantity:
|
|
17127
|
+
toQuantity: Wi,
|
|
17128
17128
|
toTwos: df,
|
|
17129
17129
|
toUtf8Bytes: Be,
|
|
17130
|
-
toUtf8CodePoints:
|
|
17130
|
+
toUtf8CodePoints: W_,
|
|
17131
17131
|
toUtf8String: Zi,
|
|
17132
17132
|
uuidV4: Av,
|
|
17133
17133
|
verifyMessage: z5,
|
|
@@ -17179,11 +17179,11 @@ const Z8 = {
|
|
|
17179
17179
|
FunctionFragment: dn,
|
|
17180
17180
|
GasCostPlugin: Mu,
|
|
17181
17181
|
HDNodeVoidWallet: pa,
|
|
17182
|
-
HDNodeWallet:
|
|
17182
|
+
HDNodeWallet: Wh,
|
|
17183
17183
|
Indexed: Nd,
|
|
17184
17184
|
InfuraProvider: fa,
|
|
17185
17185
|
InfuraWebSocketProvider: hw,
|
|
17186
|
-
Interface:
|
|
17186
|
+
Interface: jg,
|
|
17187
17187
|
IpcSocketProvider: U8,
|
|
17188
17188
|
JsonRpcApiProvider: Xg,
|
|
17189
17189
|
JsonRpcProvider: Qr,
|
|
@@ -17203,7 +17203,7 @@ const Z8 = {
|
|
|
17203
17203
|
NetworkPlugin: hs,
|
|
17204
17204
|
NonceManager: B8,
|
|
17205
17205
|
ParamType: tr,
|
|
17206
|
-
PocketProvider:
|
|
17206
|
+
PocketProvider: jh,
|
|
17207
17207
|
QuickNodeProvider: hu,
|
|
17208
17208
|
Result: Qc,
|
|
17209
17209
|
Signature: Vn,
|
|
@@ -17216,7 +17216,7 @@ const Z8 = {
|
|
|
17216
17216
|
StructFragment: Ki,
|
|
17217
17217
|
Transaction: Nu,
|
|
17218
17218
|
TransactionDescription: qv,
|
|
17219
|
-
TransactionReceipt:
|
|
17219
|
+
TransactionReceipt: Wg,
|
|
17220
17220
|
TransactionResponse: vf,
|
|
17221
17221
|
Typed: pr,
|
|
17222
17222
|
TypedDataEncoder: ua,
|
|
@@ -17293,7 +17293,7 @@ const Z8 = {
|
|
|
17293
17293
|
keccak256: Qt,
|
|
17294
17294
|
lock: d5,
|
|
17295
17295
|
makeError: ne,
|
|
17296
|
-
mask:
|
|
17296
|
+
mask: ji,
|
|
17297
17297
|
namehash: Gh,
|
|
17298
17298
|
parseEther: n6,
|
|
17299
17299
|
parseUnits: _v,
|
|
@@ -17309,17 +17309,17 @@ const Z8 = {
|
|
|
17309
17309
|
sha512: xu,
|
|
17310
17310
|
showThrottleMessage: fs,
|
|
17311
17311
|
solidityPacked: Hg,
|
|
17312
|
-
solidityPackedKeccak256:
|
|
17312
|
+
solidityPackedKeccak256: W5,
|
|
17313
17313
|
solidityPackedSha256: V5,
|
|
17314
17314
|
stripZerosLeft: G_,
|
|
17315
17315
|
toBeArray: Fe,
|
|
17316
17316
|
toBeHex: wn,
|
|
17317
17317
|
toBigInt: Sa,
|
|
17318
17318
|
toNumber: Bh,
|
|
17319
|
-
toQuantity:
|
|
17319
|
+
toQuantity: Wi,
|
|
17320
17320
|
toTwos: df,
|
|
17321
17321
|
toUtf8Bytes: Be,
|
|
17322
|
-
toUtf8CodePoints:
|
|
17322
|
+
toUtf8CodePoints: W_,
|
|
17323
17323
|
toUtf8String: Zi,
|
|
17324
17324
|
uuidV4: Av,
|
|
17325
17325
|
verifyMessage: z5,
|
|
@@ -17898,7 +17898,7 @@ bw.write = function(e, t, r, n, i, s) {
|
|
|
17898
17898
|
return m;
|
|
17899
17899
|
case "utf8":
|
|
17900
17900
|
case "utf-8":
|
|
17901
|
-
return
|
|
17901
|
+
return We(A).length;
|
|
17902
17902
|
case "ucs2":
|
|
17903
17903
|
case "ucs-2":
|
|
17904
17904
|
case "utf16le":
|
|
@@ -17910,7 +17910,7 @@ bw.write = function(e, t, r, n, i, s) {
|
|
|
17910
17910
|
return Rr(A).length;
|
|
17911
17911
|
default:
|
|
17912
17912
|
if (N)
|
|
17913
|
-
return S ? -1 :
|
|
17913
|
+
return S ? -1 : We(A).length;
|
|
17914
17914
|
p = ("" + p).toLowerCase(), N = !0;
|
|
17915
17915
|
}
|
|
17916
17916
|
}
|
|
@@ -18002,7 +18002,7 @@ bw.write = function(e, t, r, n, i, s) {
|
|
|
18002
18002
|
}
|
|
18003
18003
|
return G < K ? -1 : K < G ? 1 : 0;
|
|
18004
18004
|
};
|
|
18005
|
-
function
|
|
18005
|
+
function W(A, p, m, S, N) {
|
|
18006
18006
|
if (A.length === 0) return -1;
|
|
18007
18007
|
if (typeof m == "string" ? (S = m, m = 0) : m > 2147483647 ? m = 2147483647 : m < -2147483648 && (m = -2147483648), m = +m, Lr(m) && (m = N ? 0 : A.length - 1), m < 0 && (m = A.length + m), m >= A.length) {
|
|
18008
18008
|
if (N) return -1;
|
|
@@ -18049,9 +18049,9 @@ bw.write = function(e, t, r, n, i, s) {
|
|
|
18049
18049
|
l.prototype.includes = function(p, m, S) {
|
|
18050
18050
|
return this.indexOf(p, m, S) !== -1;
|
|
18051
18051
|
}, l.prototype.indexOf = function(p, m, S) {
|
|
18052
|
-
return
|
|
18052
|
+
return W(this, p, m, S, !0);
|
|
18053
18053
|
}, l.prototype.lastIndexOf = function(p, m, S) {
|
|
18054
|
-
return
|
|
18054
|
+
return W(this, p, m, S, !1);
|
|
18055
18055
|
};
|
|
18056
18056
|
function q(A, p, m, S) {
|
|
18057
18057
|
m = Number(m) || 0;
|
|
@@ -18068,7 +18068,7 @@ bw.write = function(e, t, r, n, i, s) {
|
|
|
18068
18068
|
return G;
|
|
18069
18069
|
}
|
|
18070
18070
|
function rt(A, p, m, S) {
|
|
18071
|
-
return Ci(
|
|
18071
|
+
return Ci(We(p, A.length - m), A, m, S);
|
|
18072
18072
|
}
|
|
18073
18073
|
function ct(A, p, m, S) {
|
|
18074
18074
|
return Ci(Ur(p), A, m, S);
|
|
@@ -18228,13 +18228,13 @@ bw.write = function(e, t, r, n, i, s) {
|
|
|
18228
18228
|
}, l.prototype.readUint32BE = l.prototype.readUInt32BE = function(p, m) {
|
|
18229
18229
|
return p = p >>> 0, m || yt(p, 4, this.length), this[p] * 16777216 + (this[p + 1] << 16 | this[p + 2] << 8 | this[p + 3]);
|
|
18230
18230
|
}, l.prototype.readBigUInt64LE = or(function(p) {
|
|
18231
|
-
p = p >>> 0,
|
|
18231
|
+
p = p >>> 0, je(p, "offset");
|
|
18232
18232
|
const m = this[p], S = this[p + 7];
|
|
18233
18233
|
(m === void 0 || S === void 0) && Br(p, this.length - 8);
|
|
18234
18234
|
const N = m + this[++p] * 2 ** 8 + this[++p] * 2 ** 16 + this[++p] * 2 ** 24, M = this[++p] + this[++p] * 2 ** 8 + this[++p] * 2 ** 16 + S * 2 ** 24;
|
|
18235
18235
|
return BigInt(N) + (BigInt(M) << BigInt(32));
|
|
18236
18236
|
}), l.prototype.readBigUInt64BE = or(function(p) {
|
|
18237
|
-
p = p >>> 0,
|
|
18237
|
+
p = p >>> 0, je(p, "offset");
|
|
18238
18238
|
const m = this[p], S = this[p + 7];
|
|
18239
18239
|
(m === void 0 || S === void 0) && Br(p, this.length - 8);
|
|
18240
18240
|
const N = m * 2 ** 24 + this[++p] * 2 ** 16 + this[++p] * 2 ** 8 + this[++p], M = this[++p] * 2 ** 24 + this[++p] * 2 ** 16 + this[++p] * 2 ** 8 + S;
|
|
@@ -18266,13 +18266,13 @@ bw.write = function(e, t, r, n, i, s) {
|
|
|
18266
18266
|
}, l.prototype.readInt32BE = function(p, m) {
|
|
18267
18267
|
return p = p >>> 0, m || yt(p, 4, this.length), this[p] << 24 | this[p + 1] << 16 | this[p + 2] << 8 | this[p + 3];
|
|
18268
18268
|
}, l.prototype.readBigInt64LE = or(function(p) {
|
|
18269
|
-
p = p >>> 0,
|
|
18269
|
+
p = p >>> 0, je(p, "offset");
|
|
18270
18270
|
const m = this[p], S = this[p + 7];
|
|
18271
18271
|
(m === void 0 || S === void 0) && Br(p, this.length - 8);
|
|
18272
18272
|
const N = this[p + 4] + this[p + 5] * 2 ** 8 + this[p + 6] * 2 ** 16 + (S << 24);
|
|
18273
18273
|
return (BigInt(N) << BigInt(32)) + BigInt(m + this[++p] * 2 ** 8 + this[++p] * 2 ** 16 + this[++p] * 2 ** 24);
|
|
18274
18274
|
}), l.prototype.readBigInt64BE = or(function(p) {
|
|
18275
|
-
p = p >>> 0,
|
|
18275
|
+
p = p >>> 0, je(p, "offset");
|
|
18276
18276
|
const m = this[p], S = this[p + 7];
|
|
18277
18277
|
(m === void 0 || S === void 0) && Br(p, this.length - 8);
|
|
18278
18278
|
const N = (m << 24) + // Overflow
|
|
@@ -18488,7 +18488,7 @@ bw.write = function(e, t, r, n, i, s) {
|
|
|
18488
18488
|
return `${A.slice(0, m)}${p}`;
|
|
18489
18489
|
}
|
|
18490
18490
|
function Qe(A, p, m) {
|
|
18491
|
-
|
|
18491
|
+
je(p, "offset"), (A[p] === void 0 || A[p + m] === void 0) && Br(p, A.length - (m + 1));
|
|
18492
18492
|
}
|
|
18493
18493
|
function wr(A, p, m, S, N, M) {
|
|
18494
18494
|
if (A > m || A < p) {
|
|
@@ -18498,12 +18498,12 @@ bw.write = function(e, t, r, n, i, s) {
|
|
|
18498
18498
|
}
|
|
18499
18499
|
Qe(S, N, M);
|
|
18500
18500
|
}
|
|
18501
|
-
function
|
|
18501
|
+
function je(A, p) {
|
|
18502
18502
|
if (typeof A != "number")
|
|
18503
18503
|
throw new xe.ERR_INVALID_ARG_TYPE(p, "number", A);
|
|
18504
18504
|
}
|
|
18505
18505
|
function Br(A, p, m) {
|
|
18506
|
-
throw Math.floor(A) !== A ? (
|
|
18506
|
+
throw Math.floor(A) !== A ? (je(A, m), new xe.ERR_OUT_OF_RANGE("offset", "an integer", A)) : p < 0 ? new xe.ERR_BUFFER_OUT_OF_BOUNDS() : new xe.ERR_OUT_OF_RANGE(
|
|
18507
18507
|
"offset",
|
|
18508
18508
|
`>= 0 and <= ${p}`,
|
|
18509
18509
|
A
|
|
@@ -18516,7 +18516,7 @@ bw.write = function(e, t, r, n, i, s) {
|
|
|
18516
18516
|
A = A + "=";
|
|
18517
18517
|
return A;
|
|
18518
18518
|
}
|
|
18519
|
-
function
|
|
18519
|
+
function We(A, p) {
|
|
18520
18520
|
p = p || 1 / 0;
|
|
18521
18521
|
let m;
|
|
18522
18522
|
const S = A.length;
|
|
@@ -18615,7 +18615,7 @@ bw.write = function(e, t, r, n, i, s) {
|
|
|
18615
18615
|
}
|
|
18616
18616
|
})(aA);
|
|
18617
18617
|
const no = aA.Buffer;
|
|
18618
|
-
var cm = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
18618
|
+
var cm = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2593dc89-cdea-466a-961e-295b07d5b4f8", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", STATS_TRP: "true", USER: "runner", npm_config_always_auth: "true", npm_config_user_agent: "pnpm/10.12.3 npm/? node/v20.19.2 linux x64", CI: "true", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_2593dc89-cdea-466a-961e-295b07d5b4f8", PIPX_HOME: "/opt/pipx", RUNNER_ENVIRONMENT: "github-hosted", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", HOME: "/home/runner", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", RUNNER_TEMP: "/home/runner/work/_temp", npm_package_json: "/home/runner/work/passport/passport/packages/passport-evm/package.json", GITHUB_REPOSITORY_OWNER: "credenza-web3", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", npm_package_engines_node: ">=20.10.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.1.13356709", GITHUB_RETENTION_DAYS: "90", GRADLE_HOME: "/usr/share/gradle-8.14.2", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GITHUB_REPOSITORY_OWNER_ID: "93208388", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", npm_config__credenza3_registry: "https://registry.npmjs.org/", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "716", npm_config_engine_strict: "true", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", ImageVersion: "20250622.1.0", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", RUNNER_OS: "Linux", SWIFT_PATH: "/usr/share/swift/usr/bin", pnpm_config_verify_deps_before_run: "false", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GITHUB_WORKFLOW: "Publish @credenza3/passport-evm", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.10/x64", JOURNAL_STREAM: "9:6700", RUNNER_USER: "runner", STATS_V3PS: "true", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.4/x64", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "15903471508", STATS_D: "true", STATS_VMFE: "true", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_BASE_REF: "", GITHUB_REF_TYPE: "branch", GITHUB_WORKFLOW_SHA: "66e5a0d7b6db12901faeebf02cee7a625a1fa58b", ImageOS: "ubuntu24", GITHUB_ACTION_REPOSITORY: "", GITHUB_WORKFLOW_REF: "credenza-web3/passport/.github/workflows/publish-evm.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/passport/passport/packages/passport-evm/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/passport/passport/node_modules/.bin:/home/runner/work/passport/passport/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/passport/passport/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.19.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", INVOCATION_ID: "8f02ed768ac54780ad9b912ee0e8173c", NODE: "/opt/hostedtoolcache/node/20.19.2/x64/bin/node", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", RUNNER_TRACKING_ID: "github_0d803a8b-3e8d-4b17-b180-caabc7ee5b46", TURBO_HASH: "1c3f1cfd451b42fe", npm_package_name: "@credenza3/passport-evm", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GITHUB_ACTION: "__run_2", GITHUB_RUN_NUMBER: "60", GITHUB_TRIGGERING_ACTOR: "mikeavvad", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "credenza-web3/passport", RUNNER_NAME: "GitHub Actions 1000000352", STATS_D_D: "true", STATS_VMD: "true", XDG_CONFIG_HOME: "/home/runner/.config", npm_lifecycle_script: "vite build", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", DEBIAN_FRONTEND: "noninteractive", GITHUB_ACTION_REF: "", STATS_UE: "true", GITHUB_ACTIONS: "true", GITHUB_REPOSITORY_ID: "493155814", NODE_PATH: "/home/runner/work/passport/passport/node_modules/.pnpm/vite@6.3.5_@types+node@24.0.3_jiti@2.4.2_lightningcss@1.29.1_sass@1.89.2_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/vite@6.3.5_@types+node@24.0.3_jiti@2.4.2_lightningcss@1.29.1_sass@1.89.2_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/vite@6.3.5_@types+node@24.0.3_jiti@2.4.2_lightningcss@1.29.1_sass@1.89.2_yaml@2.8.0/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/turbo@1.13.3/node_modules/turbo/bin/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/turbo@1.13.3/node_modules/turbo/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/turbo@1.13.3/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", STATS_PIP: "false", npm_package_version: "0.2.9", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build", GITHUB_REF_PROTECTED: "false", ACCEPT_EULA: "Y", GITHUB_JOB: "publish-gpr", GITHUB_WORKSPACE: "/home/runner/work/passport/passport", RUNNER_PERFLOG: "/home/runner/perflog", TURBO_INVOCATION_DIR: "/home/runner/work/passport/passport", npm_package_engines_pnpm: ">=9", GITHUB_RUN_ATTEMPT: "1", GITHUB_SHA: "66e5a0d7b6db12901faeebf02cee7a625a1fa58b", STATS_D_TC: "true", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_ACTOR: "mikeavvad", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR_ID: "87299315", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_2593dc89-cdea-466a-961e-295b07d5b4f8", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/passport/passport/packages/passport-evm", RUNNER_WORKSPACE: "/home/runner/work/passport", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/bin/pnpm.cjs", ANDROID_HOME: "/usr/local/lib/android/sdk", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_EVENT_NAME: "push", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_2593dc89-cdea-466a-961e-295b07d5b4f8", GITHUB_SERVER_URL: "https://github.com", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", HOMEBREW_NO_AUTO_UPDATE: "1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/passport/passport/packages/passport-evm", STATS_EXT: "true", npm_config__jsr_registry: "https://npm.jsr.io/", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", CHROME_BIN: "/usr/bin/google-chrome", SGX_AESM_ADDR: "1", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_2593dc89-cdea-466a-961e-295b07d5b4f8", INIT_CWD: "/home/runner/work/passport/passport/packages/passport-evm", NODE_ENV: "production" }, X;
|
|
18619
18619
|
if (typeof window > "u") {
|
|
18620
18620
|
var ub = {
|
|
18621
18621
|
hostname: ""
|
|
@@ -18745,9 +18745,9 @@ function gx(e, t) {
|
|
|
18745
18745
|
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return lb(e, t);
|
|
18746
18746
|
}
|
|
18747
18747
|
}
|
|
18748
|
-
function
|
|
18748
|
+
function Wd(e) {
|
|
18749
18749
|
var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
18750
|
-
return
|
|
18750
|
+
return Wd = function(n) {
|
|
18751
18751
|
if (n === null || !dx(n)) return n;
|
|
18752
18752
|
if (typeof n != "function")
|
|
18753
18753
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -18766,7 +18766,7 @@ function jd(e) {
|
|
|
18766
18766
|
configurable: !0
|
|
18767
18767
|
}
|
|
18768
18768
|
}), Kh(i, n);
|
|
18769
|
-
},
|
|
18769
|
+
}, Wd(e);
|
|
18770
18770
|
}
|
|
18771
18771
|
function uA() {
|
|
18772
18772
|
try {
|
|
@@ -19189,13 +19189,13 @@ function $x(e) {
|
|
|
19189
19189
|
var t = "";
|
|
19190
19190
|
return e.indexOf("//") > -1 ? t = e.split("/").slice(0, 3).join("/") : t = e.split("/")[0], t = t.split("?")[0], t;
|
|
19191
19191
|
}
|
|
19192
|
-
var Gx = /url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm, Hx = /^(?:[a-z+]+:)?\/\//i, zx = /^www\..*/i,
|
|
19192
|
+
var Gx = /url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm, Hx = /^(?:[a-z+]+:)?\/\//i, zx = /^www\..*/i, jx = /^(data:)([^,]*),(.*)/i;
|
|
19193
19193
|
function Vd(e, t) {
|
|
19194
19194
|
return (e || "").replace(Gx, function(r, n, i, s, o, a) {
|
|
19195
19195
|
var c = i || o || a, u = n || s || "";
|
|
19196
19196
|
if (!c)
|
|
19197
19197
|
return r;
|
|
19198
|
-
if (Hx.test(c) || zx.test(c) ||
|
|
19198
|
+
if (Hx.test(c) || zx.test(c) || jx.test(c))
|
|
19199
19199
|
return "url(" + u + c + u + ")";
|
|
19200
19200
|
if (c[0] === "/")
|
|
19201
19201
|
return "url(" + u + ($x(t) + c) + u + ")";
|
|
@@ -19211,7 +19211,7 @@ function Vd(e, t) {
|
|
|
19211
19211
|
function p0(e) {
|
|
19212
19212
|
return e.replace(/(\/\*[^*]*\*\/)|[\s;]/g, "");
|
|
19213
19213
|
}
|
|
19214
|
-
function
|
|
19214
|
+
function Wx(e, t) {
|
|
19215
19215
|
var r = Array.from(t.childNodes), n = [];
|
|
19216
19216
|
if (r.length > 1 && e && typeof e == "string") {
|
|
19217
19217
|
for (var i = p0(e), s = 1; s < r.length; s++)
|
|
@@ -19231,7 +19231,7 @@ function jx(e, t) {
|
|
|
19231
19231
|
return n.push(e), n;
|
|
19232
19232
|
}
|
|
19233
19233
|
function Vx(e, t) {
|
|
19234
|
-
return
|
|
19234
|
+
return Wx(e, t).join("/* rr_split */");
|
|
19235
19235
|
}
|
|
19236
19236
|
var qx = 1, Kx = new RegExp("[^a-z0-9-_:]"), Qh = -2;
|
|
19237
19237
|
function mA() {
|
|
@@ -19475,8 +19475,8 @@ function oN(e, t) {
|
|
|
19475
19475
|
H && ($ = X1(H)), $ && (delete R.rel, delete R.href, R._cssText = $);
|
|
19476
19476
|
}
|
|
19477
19477
|
if (C === "style" && e.sheet) {
|
|
19478
|
-
var
|
|
19479
|
-
|
|
19478
|
+
var W = X1(e.sheet);
|
|
19479
|
+
W && (e.childNodes.length > 1 && (W = Vx(W, e)), R._cssText = W);
|
|
19480
19480
|
}
|
|
19481
19481
|
if (C === "input" || C === "textarea" || C === "select") {
|
|
19482
19482
|
var J = e.value, q = e.checked;
|
|
@@ -19578,7 +19578,7 @@ function aN(e, t) {
|
|
|
19578
19578
|
return !1;
|
|
19579
19579
|
}
|
|
19580
19580
|
function Rc(e, t) {
|
|
19581
|
-
var r = t.doc, n = t.mirror, i = t.blockClass, s = t.blockSelector, o = t.maskTextClass, a = t.maskTextSelector, c = t.skipChild, u = c === void 0 ? !1 : c, l = t.inlineStylesheet, h = l === void 0 ? !0 : l, f = t.maskInputOptions, d = f === void 0 ? {} : f, g = t.maskTextFn, w = t.maskInputFn, y = t.slimDOMOptions, _ = t.dataURLOptions, C = _ === void 0 ? {} : _, R = t.inlineImages, x = R === void 0 ? !1 : R, T = t.recordCanvas, U = T === void 0 ? !1 : T, H = t.onSerialize, $ = t.onIframeLoad,
|
|
19581
|
+
var r = t.doc, n = t.mirror, i = t.blockClass, s = t.blockSelector, o = t.maskTextClass, a = t.maskTextSelector, c = t.skipChild, u = c === void 0 ? !1 : c, l = t.inlineStylesheet, h = l === void 0 ? !0 : l, f = t.maskInputOptions, d = f === void 0 ? {} : f, g = t.maskTextFn, w = t.maskInputFn, y = t.slimDOMOptions, _ = t.dataURLOptions, C = _ === void 0 ? {} : _, R = t.inlineImages, x = R === void 0 ? !1 : R, T = t.recordCanvas, U = T === void 0 ? !1 : T, H = t.onSerialize, $ = t.onIframeLoad, W = t.iframeLoadTimeout, J = W === void 0 ? 5e3 : W, q = t.onStylesheetLoad, rt = t.stylesheetLoadTimeout, ct = rt === void 0 ? 5e3 : rt, St = t.keepIframeSrcFn, z = St === void 0 ? function() {
|
|
19582
19582
|
return !1;
|
|
19583
19583
|
} : St, Q = t.newlyAddedElement, nt = Q === void 0 ? !1 : Q, at = t.cssCaptured, lt = at === void 0 ? !1 : at, ht = t.needsMask, Bt = t.preserveWhiteSpace, Zt = Bt === void 0 ? !0 : Bt;
|
|
19584
19584
|
if (!ht) {
|
|
@@ -19655,17 +19655,17 @@ function Rc(e, t) {
|
|
|
19655
19655
|
}
|
|
19656
19656
|
var Qe = null;
|
|
19657
19657
|
if (fA(e) && (Qe = fr.shadowRoot(e)))
|
|
19658
|
-
for (var wr = ot(Array.from(fr.childNodes(Qe))),
|
|
19659
|
-
var Br =
|
|
19658
|
+
for (var wr = ot(Array.from(fr.childNodes(Qe))), je; !(je = wr()).done; ) {
|
|
19659
|
+
var Br = je.value, Yn = Rc(Br, Te);
|
|
19660
19660
|
Yn && (bh(Qe) && (Yn.isShadow = !0), dt.childNodes.push(Yn));
|
|
19661
19661
|
}
|
|
19662
19662
|
}
|
|
19663
19663
|
var En = fr.parentNode(e);
|
|
19664
19664
|
return En && wh(En) && bh(En) && (dt.isShadow = !0), dt.type === Ue.Element && dt.tagName === "iframe" && eN(e, function() {
|
|
19665
|
-
var
|
|
19666
|
-
if (
|
|
19667
|
-
var Ur = Rc(
|
|
19668
|
-
doc:
|
|
19665
|
+
var We = e.contentDocument;
|
|
19666
|
+
if (We && $) {
|
|
19667
|
+
var Ur = Rc(We, {
|
|
19668
|
+
doc: We,
|
|
19669
19669
|
mirror: n,
|
|
19670
19670
|
blockClass: i,
|
|
19671
19671
|
blockSelector: s,
|
|
@@ -19693,7 +19693,7 @@ function Rc(e, t) {
|
|
|
19693
19693
|
}
|
|
19694
19694
|
}, J), dt.type === Ue.Element && dt.tagName === "link" && typeof dt.attributes.rel == "string" && (dt.attributes.rel === "stylesheet" || dt.attributes.rel === "preload" && typeof dt.attributes.href == "string" && gA(dt.attributes.href) === "css") && rN(e, function() {
|
|
19695
19695
|
if (q) {
|
|
19696
|
-
var
|
|
19696
|
+
var We = Rc(e, {
|
|
19697
19697
|
doc: r,
|
|
19698
19698
|
mirror: n,
|
|
19699
19699
|
blockClass: i,
|
|
@@ -19718,12 +19718,12 @@ function Rc(e, t) {
|
|
|
19718
19718
|
stylesheetLoadTimeout: ct,
|
|
19719
19719
|
keepIframeSrcFn: z
|
|
19720
19720
|
});
|
|
19721
|
-
|
|
19721
|
+
We && q(e, We);
|
|
19722
19722
|
}
|
|
19723
19723
|
}, ct), dt;
|
|
19724
19724
|
}
|
|
19725
19725
|
function cN(e, t) {
|
|
19726
|
-
var r = t || {}, n = r.mirror, i = n === void 0 ? new dA() : n, s = r.blockClass, o = s === void 0 ? "rr-block" : s, a = r.blockSelector, c = a === void 0 ? null : a, u = r.maskTextClass, l = u === void 0 ? "rr-mask" : u, h = r.maskTextSelector, f = h === void 0 ? null : h, d = r.inlineStylesheet, g = d === void 0 ? !0 : d, w = r.inlineImages, y = w === void 0 ? !1 : w, _ = r.recordCanvas, C = _ === void 0 ? !1 : _, R = r.maskAllInputs, x = R === void 0 ? !1 : R, T = r.maskTextFn, U = r.maskInputFn, H = r.slimDOM, $ = H === void 0 ? !1 : H,
|
|
19726
|
+
var r = t || {}, n = r.mirror, i = n === void 0 ? new dA() : n, s = r.blockClass, o = s === void 0 ? "rr-block" : s, a = r.blockSelector, c = a === void 0 ? null : a, u = r.maskTextClass, l = u === void 0 ? "rr-mask" : u, h = r.maskTextSelector, f = h === void 0 ? null : h, d = r.inlineStylesheet, g = d === void 0 ? !0 : d, w = r.inlineImages, y = w === void 0 ? !1 : w, _ = r.recordCanvas, C = _ === void 0 ? !1 : _, R = r.maskAllInputs, x = R === void 0 ? !1 : R, T = r.maskTextFn, U = r.maskInputFn, H = r.slimDOM, $ = H === void 0 ? !1 : H, W = r.dataURLOptions, J = r.preserveWhiteSpace, q = r.onSerialize, rt = r.onIframeLoad, ct = r.iframeLoadTimeout, St = r.onStylesheetLoad, z = r.stylesheetLoadTimeout, Q = r.keepIframeSrcFn, nt = Q === void 0 ? function() {
|
|
19727
19727
|
return !1;
|
|
19728
19728
|
} : Q, at = x === !0 ? {
|
|
19729
19729
|
color: !0,
|
|
@@ -19773,7 +19773,7 @@ function cN(e, t) {
|
|
|
19773
19773
|
maskTextFn: T,
|
|
19774
19774
|
maskInputFn: U,
|
|
19775
19775
|
slimDOMOptions: lt,
|
|
19776
|
-
dataURLOptions:
|
|
19776
|
+
dataURLOptions: W,
|
|
19777
19777
|
inlineImages: y,
|
|
19778
19778
|
recordCanvas: C,
|
|
19779
19779
|
preserveWhiteSpace: J,
|
|
@@ -19892,7 +19892,7 @@ var hN = Iw.exports, fN = {}, pN = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
19892
19892
|
` + i + `
|
|
19893
19893
|
`), this.name + ": " + this.message + i;
|
|
19894
19894
|
}, t;
|
|
19895
|
-
}(
|
|
19895
|
+
}(Wd(Error)), kw = ty;
|
|
19896
19896
|
ty.default = ty;
|
|
19897
19897
|
var lo = {};
|
|
19898
19898
|
lo.isClean = Symbol("isClean");
|
|
@@ -21017,7 +21017,7 @@ var $N = DA, hy = /* @__PURE__ */ function() {
|
|
|
21017
21017
|
]), e;
|
|
21018
21018
|
}(), xw = hy;
|
|
21019
21019
|
hy.default = hy;
|
|
21020
|
-
var y0 = 39, Rb = 34, ep = 92, Ob = 47, rp = 10, Ku = 32, np = 12, ip = 9, sp = 13, GN = 91, HN = 93, zN = 40,
|
|
21020
|
+
var y0 = 39, Rb = 34, ep = 92, Ob = 47, rp = 10, Ku = 32, np = 12, ip = 9, sp = 13, GN = 91, HN = 93, zN = 40, jN = 41, WN = 123, VN = 125, qN = 59, KN = 42, JN = 58, QN = 64, op = /[\t\n\f\r "#'()/;[\\\]{}]/g, ap = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, YN = /.[\r\n"'(/\\]/, Tb = /[\da-f]/i, ZN = function(t, r) {
|
|
21021
21021
|
r === void 0 && (r = {});
|
|
21022
21022
|
var n = t.css.valueOf(), i = r.ignoreErrors, s, o, a, c, u, l, h, f, d, g, w = n.length, y = 0, _ = [], C = [];
|
|
21023
21023
|
function R() {
|
|
@@ -21032,7 +21032,7 @@ var y0 = 39, Rb = 34, ep = 92, Ob = 47, rp = 10, Ku = 32, np = 12, ip = 9, sp =
|
|
|
21032
21032
|
function U($) {
|
|
21033
21033
|
if (C.length) return C.pop();
|
|
21034
21034
|
if (!(y >= w)) {
|
|
21035
|
-
var
|
|
21035
|
+
var W = $ ? $.ignoreUnclosed : !1;
|
|
21036
21036
|
switch (s = n.charCodeAt(y), s) {
|
|
21037
21037
|
case rp:
|
|
21038
21038
|
case Ku:
|
|
@@ -21051,11 +21051,11 @@ var y0 = 39, Rb = 34, ep = 92, Ob = 47, rp = 10, Ku = 32, np = 12, ip = 9, sp =
|
|
|
21051
21051
|
}
|
|
21052
21052
|
case GN:
|
|
21053
21053
|
case HN:
|
|
21054
|
-
case
|
|
21054
|
+
case WN:
|
|
21055
21055
|
case VN:
|
|
21056
21056
|
case JN:
|
|
21057
21057
|
case qN:
|
|
21058
|
-
case
|
|
21058
|
+
case jN: {
|
|
21059
21059
|
var J = String.fromCharCode(s);
|
|
21060
21060
|
g = [
|
|
21061
21061
|
J,
|
|
@@ -21069,7 +21069,7 @@ var y0 = 39, Rb = 34, ep = 92, Ob = 47, rp = 10, Ku = 32, np = 12, ip = 9, sp =
|
|
|
21069
21069
|
o = y;
|
|
21070
21070
|
do {
|
|
21071
21071
|
if (l = !1, o = n.indexOf(")", o + 1), o === -1)
|
|
21072
|
-
if (i ||
|
|
21072
|
+
if (i || W) {
|
|
21073
21073
|
o = y;
|
|
21074
21074
|
break;
|
|
21075
21075
|
} else
|
|
@@ -21101,7 +21101,7 @@ var y0 = 39, Rb = 34, ep = 92, Ob = 47, rp = 10, Ku = 32, np = 12, ip = 9, sp =
|
|
|
21101
21101
|
a = s === y0 ? "'" : '"', o = y;
|
|
21102
21102
|
do {
|
|
21103
21103
|
if (l = !1, o = n.indexOf(a, o + 1), o === -1)
|
|
21104
|
-
if (i ||
|
|
21104
|
+
if (i || W) {
|
|
21105
21105
|
o = y + 1;
|
|
21106
21106
|
break;
|
|
21107
21107
|
} else
|
|
@@ -21143,7 +21143,7 @@ var y0 = 39, Rb = 34, ep = 92, Ob = 47, rp = 10, Ku = 32, np = 12, ip = 9, sp =
|
|
|
21143
21143
|
break;
|
|
21144
21144
|
}
|
|
21145
21145
|
default: {
|
|
21146
|
-
s === Ob && n.charCodeAt(y + 1) === KN ? (o = n.indexOf("*/", y + 2) + 1, o === 0 && (i ||
|
|
21146
|
+
s === Ob && n.charCodeAt(y + 1) === KN ? (o = n.indexOf("*/", y + 2) + 1, o === 0 && (i || W ? o = n.length : x("comment")), g = [
|
|
21147
21147
|
"comment",
|
|
21148
21148
|
n.slice(y, o + 1),
|
|
21149
21149
|
y,
|
|
@@ -21255,7 +21255,7 @@ var Zh = {
|
|
|
21255
21255
|
}
|
|
21256
21256
|
}, zA = Zh;
|
|
21257
21257
|
Zh.default = Zh;
|
|
21258
|
-
var
|
|
21258
|
+
var jA = Oa, XN = zA, Qd = /* @__PURE__ */ function(e) {
|
|
21259
21259
|
vr(t, e);
|
|
21260
21260
|
function t(r) {
|
|
21261
21261
|
var n;
|
|
@@ -21273,9 +21273,9 @@ var WA = Oa, XN = zA, Qd = /* @__PURE__ */ function(e) {
|
|
|
21273
21273
|
}
|
|
21274
21274
|
}
|
|
21275
21275
|
]), t;
|
|
21276
|
-
}(
|
|
21276
|
+
}(jA), Pw = Qd;
|
|
21277
21277
|
Qd.default = Qd;
|
|
21278
|
-
|
|
21278
|
+
jA.registerRule(Qd);
|
|
21279
21279
|
var tP = hm, eP = ZN, rP = pm, nP = Nw, iP = Sf, xb = Pw, Nb = {
|
|
21280
21280
|
empty: !0,
|
|
21281
21281
|
space: !0
|
|
@@ -21602,7 +21602,7 @@ var ii = lo.isClean, hP = lo.my, fP = kA, pP = um, dP = Oa, gP = Tw, Pb = xw, mP
|
|
|
21602
21602
|
function Ju(e) {
|
|
21603
21603
|
return (typeof e > "u" ? "undefined" : It(e)) === "object" && typeof e.then == "function";
|
|
21604
21604
|
}
|
|
21605
|
-
function
|
|
21605
|
+
function WA(e) {
|
|
21606
21606
|
var t = !1, r = vP[e.type];
|
|
21607
21607
|
return e.type === "decl" ? t = e.prop.toLowerCase() : e.type === "atrule" && (t = e.name.toLowerCase()), t && e.append ? [
|
|
21608
21608
|
r,
|
|
@@ -21634,7 +21634,7 @@ function Mb(e) {
|
|
|
21634
21634
|
"Root",
|
|
21635
21635
|
du,
|
|
21636
21636
|
"RootExit"
|
|
21637
|
-
] : t =
|
|
21637
|
+
] : t = WA(e), {
|
|
21638
21638
|
eventIndex: 0,
|
|
21639
21639
|
events: t,
|
|
21640
21640
|
iterator: 0,
|
|
@@ -21988,7 +21988,7 @@ var py = {}, gu = /* @__PURE__ */ function() {
|
|
|
21988
21988
|
}, t.walkSync = function(n) {
|
|
21989
21989
|
var i = this;
|
|
21990
21990
|
n[ii] = !0;
|
|
21991
|
-
for (var s =
|
|
21991
|
+
for (var s = WA(n), o = ot(s), a; !(a = o()).done; ) {
|
|
21992
21992
|
var c = a.value;
|
|
21993
21993
|
if (c === du)
|
|
21994
21994
|
n.nodes && n.each(function(l) {
|
|
@@ -22225,7 +22225,7 @@ function tf(e, t) {
|
|
|
22225
22225
|
}
|
|
22226
22226
|
var DP = tf;
|
|
22227
22227
|
tf.default = tf;
|
|
22228
|
-
var FP = kw, qA = hm, $P = VA, GP = Oa, Bw = TP, HP = um, zP = DP, KA = Tw,
|
|
22228
|
+
var FP = kw, qA = hm, $P = VA, GP = Oa, Bw = TP, HP = um, zP = DP, KA = Tw, jP = DA, JA = pm, QA = Nw, WP = xw, VP = fm, qP = Mw, KP = zA, YA = Pw, ZA = Sf, JP = lm;
|
|
22229
22229
|
function Vt() {
|
|
22230
22230
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
22231
22231
|
t[r] = arguments[r];
|
|
@@ -22281,9 +22281,9 @@ Vt.Container = GP;
|
|
|
22281
22281
|
Vt.Processor = Bw;
|
|
22282
22282
|
Vt.Document = KA;
|
|
22283
22283
|
Vt.Comment = JA;
|
|
22284
|
-
Vt.Warning =
|
|
22284
|
+
Vt.Warning = jP;
|
|
22285
22285
|
Vt.AtRule = QA;
|
|
22286
|
-
Vt.Result =
|
|
22286
|
+
Vt.Result = WP;
|
|
22287
22287
|
Vt.Input = VP;
|
|
22288
22288
|
Vt.Rule = YA;
|
|
22289
22289
|
Vt.Root = ZA;
|
|
@@ -22432,7 +22432,7 @@ var eM = Uw.exports, rM = {}, nM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
22432
22432
|
` + i + `
|
|
22433
22433
|
`), this.name + ": " + this.message + i;
|
|
22434
22434
|
}, t;
|
|
22435
|
-
}(
|
|
22435
|
+
}(Wd(Error)), Lw = gy;
|
|
22436
22436
|
gy.default = gy;
|
|
22437
22437
|
var ho = {};
|
|
22438
22438
|
ho.isClean = Symbol("isClean");
|
|
@@ -23557,7 +23557,7 @@ var TM = y7, Iy = /* @__PURE__ */ function() {
|
|
|
23557
23557
|
]), e;
|
|
23558
23558
|
}(), Gw = Iy;
|
|
23559
23559
|
Iy.default = Iy;
|
|
23560
|
-
var _0 = 39,
|
|
23560
|
+
var _0 = 39, jb = 34, lp = 92, Wb = 47, hp = 10, Qu = 32, fp = 12, pp = 9, dp = 13, xM = 91, NM = 93, PM = 40, MM = 41, BM = 123, UM = 125, LM = 59, DM = 42, FM = 58, $M = 64, gp = /[\t\n\f\r "#'()/;[\\\]{}]/g, mp = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, GM = /.[\r\n"'(/\\]/, Vb = /[\da-f]/i, HM = function(t, r) {
|
|
23561
23561
|
r === void 0 && (r = {});
|
|
23562
23562
|
var n = t.css.valueOf(), i = r.ignoreErrors, s, o, a, c, u, l, h, f, d, g, w = n.length, y = 0, _ = [], C = [];
|
|
23563
23563
|
function R() {
|
|
@@ -23572,7 +23572,7 @@ var _0 = 39, Wb = 34, lp = 92, jb = 47, hp = 10, Qu = 32, fp = 12, pp = 9, dp =
|
|
|
23572
23572
|
function U($) {
|
|
23573
23573
|
if (C.length) return C.pop();
|
|
23574
23574
|
if (!(y >= w)) {
|
|
23575
|
-
var
|
|
23575
|
+
var W = $ ? $.ignoreUnclosed : !1;
|
|
23576
23576
|
switch (s = n.charCodeAt(y), s) {
|
|
23577
23577
|
case hp:
|
|
23578
23578
|
case Qu:
|
|
@@ -23605,11 +23605,11 @@ var _0 = 39, Wb = 34, lp = 92, jb = 47, hp = 10, Qu = 32, fp = 12, pp = 9, dp =
|
|
|
23605
23605
|
break;
|
|
23606
23606
|
}
|
|
23607
23607
|
case PM: {
|
|
23608
|
-
if (f = _.length ? _.pop()[1] : "", d = n.charCodeAt(y + 1), f === "url" && d !== _0 && d !==
|
|
23608
|
+
if (f = _.length ? _.pop()[1] : "", d = n.charCodeAt(y + 1), f === "url" && d !== _0 && d !== jb && d !== Qu && d !== hp && d !== pp && d !== fp && d !== dp) {
|
|
23609
23609
|
o = y;
|
|
23610
23610
|
do {
|
|
23611
23611
|
if (l = !1, o = n.indexOf(")", o + 1), o === -1)
|
|
23612
|
-
if (i ||
|
|
23612
|
+
if (i || W) {
|
|
23613
23613
|
o = y;
|
|
23614
23614
|
break;
|
|
23615
23615
|
} else
|
|
@@ -23637,11 +23637,11 @@ var _0 = 39, Wb = 34, lp = 92, jb = 47, hp = 10, Qu = 32, fp = 12, pp = 9, dp =
|
|
|
23637
23637
|
break;
|
|
23638
23638
|
}
|
|
23639
23639
|
case _0:
|
|
23640
|
-
case
|
|
23640
|
+
case jb: {
|
|
23641
23641
|
a = s === _0 ? "'" : '"', o = y;
|
|
23642
23642
|
do {
|
|
23643
23643
|
if (l = !1, o = n.indexOf(a, o + 1), o === -1)
|
|
23644
|
-
if (i ||
|
|
23644
|
+
if (i || W) {
|
|
23645
23645
|
o = y + 1;
|
|
23646
23646
|
break;
|
|
23647
23647
|
} else
|
|
@@ -23669,7 +23669,7 @@ var _0 = 39, Wb = 34, lp = 92, jb = 47, hp = 10, Qu = 32, fp = 12, pp = 9, dp =
|
|
|
23669
23669
|
case lp: {
|
|
23670
23670
|
for (o = y, u = !0; n.charCodeAt(o + 1) === lp; )
|
|
23671
23671
|
o += 1, u = !u;
|
|
23672
|
-
if (s = n.charCodeAt(o + 1), u && s !==
|
|
23672
|
+
if (s = n.charCodeAt(o + 1), u && s !== Wb && s !== Qu && s !== hp && s !== pp && s !== dp && s !== fp && (o += 1, Vb.test(n.charAt(o)))) {
|
|
23673
23673
|
for (; Vb.test(n.charAt(o + 1)); )
|
|
23674
23674
|
o += 1;
|
|
23675
23675
|
n.charCodeAt(o + 1) === Qu && (o += 1);
|
|
@@ -23683,7 +23683,7 @@ var _0 = 39, Wb = 34, lp = 92, jb = 47, hp = 10, Qu = 32, fp = 12, pp = 9, dp =
|
|
|
23683
23683
|
break;
|
|
23684
23684
|
}
|
|
23685
23685
|
default: {
|
|
23686
|
-
s ===
|
|
23686
|
+
s === Wb && n.charCodeAt(y + 1) === DM ? (o = n.indexOf("*/", y + 2) + 1, o === 0 && (i || W ? o = n.length : x("comment")), g = [
|
|
23687
23687
|
"comment",
|
|
23688
23688
|
n.slice(y, o + 1),
|
|
23689
23689
|
y,
|
|
@@ -23816,7 +23816,7 @@ var E7 = Ta, zM = A7, tg = /* @__PURE__ */ function(e) {
|
|
|
23816
23816
|
}(E7), zw = tg;
|
|
23817
23817
|
tg.default = tg;
|
|
23818
23818
|
E7.registerRule(tg);
|
|
23819
|
-
var
|
|
23819
|
+
var jM = mm, WM = HM, VM = vm, qM = Hw, KM = Cf, qb = zw, Kb = {
|
|
23820
23820
|
empty: !0,
|
|
23821
23821
|
space: !0
|
|
23822
23822
|
};
|
|
@@ -23899,9 +23899,9 @@ var QM = /* @__PURE__ */ function() {
|
|
|
23899
23899
|
i.text = o[2], i.raws.left = o[1], i.raws.right = o[3];
|
|
23900
23900
|
}
|
|
23901
23901
|
}, t.createTokenizer = function() {
|
|
23902
|
-
this.tokenizer =
|
|
23902
|
+
this.tokenizer = WM(this.input);
|
|
23903
23903
|
}, t.decl = function(n, i) {
|
|
23904
|
-
var s = new
|
|
23904
|
+
var s = new jM();
|
|
23905
23905
|
this.init(s, n[0][2]);
|
|
23906
23906
|
var o = n[n.length - 1];
|
|
23907
23907
|
for (o[0] === ";" && (this.semicolon = !0, n.pop()), s.source.end = this.getPosition(o[3] || o[2] || JM(n)), s.source.end.offset++; n[0][0] !== "word"; )
|
|
@@ -24107,10 +24107,10 @@ function eg(e, t) {
|
|
|
24107
24107
|
}
|
|
24108
24108
|
return n.root;
|
|
24109
24109
|
}
|
|
24110
|
-
var
|
|
24110
|
+
var jw = eg;
|
|
24111
24111
|
eg.default = eg;
|
|
24112
24112
|
ZM.registerParse(eg);
|
|
24113
|
-
var si = ho.isClean, eB = ho.my, rB = o7, nB = dm, iB = Ta, sB = $w, Jb = Gw, oB =
|
|
24113
|
+
var si = ho.isClean, eB = ho.my, rB = o7, nB = dm, iB = Ta, sB = $w, Jb = Gw, oB = jw, aB = Cf, cB = {
|
|
24114
24114
|
atrule: "AtRule",
|
|
24115
24115
|
comment: "Comment",
|
|
24116
24116
|
decl: "Declaration",
|
|
@@ -24600,7 +24600,7 @@ var C7 = vu;
|
|
|
24600
24600
|
vu.default = vu;
|
|
24601
24601
|
aB.registerLazyResult(vu);
|
|
24602
24602
|
sB.registerLazyResult(vu);
|
|
24603
|
-
var hB = o7, fB = dm, pB =
|
|
24603
|
+
var hB = o7, fB = dm, pB = jw, dB = Gw, Oy = /* @__PURE__ */ function() {
|
|
24604
24604
|
function e(r, n, i) {
|
|
24605
24605
|
n = n.toString(), this.stringified = !1, this._processor = r, this._css = n, this._opts = i, this._map = void 0;
|
|
24606
24606
|
var s, o = fB;
|
|
@@ -24765,11 +24765,11 @@ function sf(e, t) {
|
|
|
24765
24765
|
}
|
|
24766
24766
|
var RB = sf;
|
|
24767
24767
|
sf.default = sf;
|
|
24768
|
-
var OB = Lw, I7 = mm, TB = C7, xB = Ta,
|
|
24768
|
+
var OB = Lw, I7 = mm, TB = C7, xB = Ta, Ww = bB, NB = dm, PB = RB, k7 = $w, MB = y7, R7 = vm, O7 = Hw, BB = Gw, UB = ym, LB = jw, DB = A7, T7 = zw, x7 = Cf, FB = gm;
|
|
24769
24769
|
function qt() {
|
|
24770
24770
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
24771
24771
|
t[r] = arguments[r];
|
|
24772
|
-
return t.length === 1 && Array.isArray(t[0]) && (t = t[0]), new
|
|
24772
|
+
return t.length === 1 && Array.isArray(t[0]) && (t = t[0]), new Ww(t);
|
|
24773
24773
|
}
|
|
24774
24774
|
qt.plugin = function(t, r) {
|
|
24775
24775
|
var n = !1;
|
|
@@ -24780,7 +24780,7 @@ qt.plugin = function(t, r) {
|
|
|
24780
24780
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`), cm.LANG.startsWith("cn") && console.warn(t + `: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
24781
24781
|
https://www.w3ctech.com/topic/2226`));
|
|
24782
24782
|
var u = r.apply(void 0, [].concat(a));
|
|
24783
|
-
return u.postcssPlugin = t, u.postcssVersion = new
|
|
24783
|
+
return u.postcssPlugin = t, u.postcssVersion = new Ww().version, u;
|
|
24784
24784
|
}
|
|
24785
24785
|
var s;
|
|
24786
24786
|
return Object.defineProperty(i, "postcss", {
|
|
@@ -24818,7 +24818,7 @@ qt.document = function(e) {
|
|
|
24818
24818
|
qt.CssSyntaxError = OB;
|
|
24819
24819
|
qt.Declaration = I7;
|
|
24820
24820
|
qt.Container = xB;
|
|
24821
|
-
qt.Processor =
|
|
24821
|
+
qt.Processor = Ww;
|
|
24822
24822
|
qt.Document = k7;
|
|
24823
24823
|
qt.Comment = R7;
|
|
24824
24824
|
qt.Warning = MB;
|
|
@@ -24966,10 +24966,10 @@ function N7(e, t, r) {
|
|
|
24966
24966
|
function zB(e) {
|
|
24967
24967
|
return fo("Node", e, "childNodes");
|
|
24968
24968
|
}
|
|
24969
|
-
function
|
|
24969
|
+
function jB(e) {
|
|
24970
24970
|
return fo("Node", e, "parentNode");
|
|
24971
24971
|
}
|
|
24972
|
-
function
|
|
24972
|
+
function WB(e) {
|
|
24973
24973
|
return fo("Node", e, "parentElement");
|
|
24974
24974
|
}
|
|
24975
24975
|
function VB(e) {
|
|
@@ -25001,8 +25001,8 @@ function P7() {
|
|
|
25001
25001
|
}
|
|
25002
25002
|
var Ct = {
|
|
25003
25003
|
childNodes: zB,
|
|
25004
|
-
parentNode:
|
|
25005
|
-
parentElement:
|
|
25004
|
+
parentNode: jB,
|
|
25005
|
+
parentElement: WB,
|
|
25006
25006
|
textContent: VB,
|
|
25007
25007
|
contains: qB,
|
|
25008
25008
|
getRootNode: KB,
|
|
@@ -25338,8 +25338,8 @@ var sU = /* @__PURE__ */ function() {
|
|
|
25338
25338
|
} else {
|
|
25339
25339
|
var U = R.value, H = Ct.parentNode(U);
|
|
25340
25340
|
if (H && H.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
|
|
25341
|
-
var $ = Ct.host(H),
|
|
25342
|
-
if (
|
|
25341
|
+
var $ = Ct.host(H), W = r.mirror.getId($);
|
|
25342
|
+
if (W !== -1) {
|
|
25343
25343
|
w = R;
|
|
25344
25344
|
break;
|
|
25345
25345
|
}
|
|
@@ -25562,11 +25562,11 @@ function cU(e, t, r) {
|
|
|
25562
25562
|
return n ? e.has(n) : !1;
|
|
25563
25563
|
}
|
|
25564
25564
|
function n4(e, t) {
|
|
25565
|
-
return e.size === 0 ? !1 :
|
|
25565
|
+
return e.size === 0 ? !1 : j7(e, t);
|
|
25566
25566
|
}
|
|
25567
|
-
function
|
|
25567
|
+
function j7(e, t) {
|
|
25568
25568
|
var r = Ct.parentNode(t);
|
|
25569
|
-
return r ? e.has(r) ? !0 :
|
|
25569
|
+
return r ? e.has(r) ? !0 : j7(e, r) : !1;
|
|
25570
25570
|
}
|
|
25571
25571
|
var _h;
|
|
25572
25572
|
function uU(e) {
|
|
@@ -25603,7 +25603,7 @@ function If(e) {
|
|
|
25603
25603
|
}
|
|
25604
25604
|
return e && e.target;
|
|
25605
25605
|
}
|
|
25606
|
-
function
|
|
25606
|
+
function W7(e, t) {
|
|
25607
25607
|
var r = new oU();
|
|
25608
25608
|
ta.push(r), r.init(e);
|
|
25609
25609
|
var n = new (P7())(Nt(r.processMutations.bind(r)));
|
|
@@ -25750,8 +25750,8 @@ function gU(e) {
|
|
|
25750
25750
|
function f(x) {
|
|
25751
25751
|
var T = If(x), U = x.isTrusted, H = T && T.tagName;
|
|
25752
25752
|
if (T && H === "OPTION" && (T = Ct.parentElement(T)), !(!T || !H || dU.indexOf(H) < 0 || Cr(T, i, s, !0)) && !(T.classList.contains(o) || a && T.matches(a))) {
|
|
25753
|
-
var $ = T.value,
|
|
25754
|
-
J === "radio" || J === "checkbox" ?
|
|
25753
|
+
var $ = T.value, W = !1, J = Sw(T) || "";
|
|
25754
|
+
J === "radio" || J === "checkbox" ? W = T.checked : (c[H.toLowerCase()] || c[J]) && ($ = Ew({
|
|
25755
25755
|
element: T,
|
|
25756
25756
|
maskInputOptions: c,
|
|
25757
25757
|
tagName: H,
|
|
@@ -25760,23 +25760,23 @@ function gU(e) {
|
|
|
25760
25760
|
maskInputFn: u
|
|
25761
25761
|
})), d(T, h ? {
|
|
25762
25762
|
text: $,
|
|
25763
|
-
isChecked:
|
|
25763
|
+
isChecked: W,
|
|
25764
25764
|
userTriggered: U
|
|
25765
25765
|
} : {
|
|
25766
25766
|
text: $,
|
|
25767
|
-
isChecked:
|
|
25767
|
+
isChecked: W
|
|
25768
25768
|
});
|
|
25769
25769
|
var q = T.name;
|
|
25770
|
-
J === "radio" && q &&
|
|
25770
|
+
J === "radio" && q && W && r.querySelectorAll('input[type="radio"][name="' + q + '"]').forEach(function(rt) {
|
|
25771
25771
|
if (rt !== T) {
|
|
25772
25772
|
var ct = rt.value;
|
|
25773
25773
|
d(rt, h ? {
|
|
25774
25774
|
text: ct,
|
|
25775
|
-
isChecked: !
|
|
25775
|
+
isChecked: !W,
|
|
25776
25776
|
userTriggered: !1
|
|
25777
25777
|
} : {
|
|
25778
25778
|
text: ct,
|
|
25779
|
-
isChecked: !
|
|
25779
|
+
isChecked: !W
|
|
25780
25780
|
});
|
|
25781
25781
|
}
|
|
25782
25782
|
});
|
|
@@ -26295,7 +26295,7 @@ function EU(e, t) {
|
|
|
26295
26295
|
};
|
|
26296
26296
|
AU(e, t);
|
|
26297
26297
|
var n;
|
|
26298
|
-
e.recordDOM && (n =
|
|
26298
|
+
e.recordDOM && (n = W7(e, e.doc));
|
|
26299
26299
|
var i = hU(e), s = fU(e), o = V7(e), a = pU(e, {
|
|
26300
26300
|
win: r
|
|
26301
26301
|
}), c = gU(e), u = vU(e), l = function() {
|
|
@@ -26546,7 +26546,7 @@ var s4 = /* @__PURE__ */ function() {
|
|
|
26546
26546
|
var s = this;
|
|
26547
26547
|
if (bh(n) && !this.shadowDoms.has(n)) {
|
|
26548
26548
|
this.shadowDoms.add(n);
|
|
26549
|
-
var o =
|
|
26549
|
+
var o = W7(Mt({}, this.bypassOptions, {
|
|
26550
26550
|
doc: i,
|
|
26551
26551
|
mutationCb: this.mutationCb,
|
|
26552
26552
|
mirror: this.mirror,
|
|
@@ -27107,7 +27107,7 @@ try {
|
|
|
27107
27107
|
var On = Dx();
|
|
27108
27108
|
function po(e) {
|
|
27109
27109
|
e === void 0 && (e = {});
|
|
27110
|
-
var t = e.emit, r = e.checkoutEveryNms, n = e.checkoutEveryNth, i = e.blockClass, s = i === void 0 ? "rr-block" : i, o = e.blockSelector, a = o === void 0 ? null : o, c = e.ignoreClass, u = c === void 0 ? "rr-ignore" : c, l = e.ignoreSelector, h = l === void 0 ? null : l, f = e.maskTextClass, d = f === void 0 ? "rr-mask" : f, g = e.maskTextSelector, w = g === void 0 ? null : g, y = e.inlineStylesheet, _ = y === void 0 ? !0 : y, C = e.maskAllInputs, R = e.maskInputOptions, x = e.slimDOMOptions, T = e.maskInputFn, U = e.maskTextFn, H = e.hooks, $ = e.packFn,
|
|
27110
|
+
var t = e.emit, r = e.checkoutEveryNms, n = e.checkoutEveryNth, i = e.blockClass, s = i === void 0 ? "rr-block" : i, o = e.blockSelector, a = o === void 0 ? null : o, c = e.ignoreClass, u = c === void 0 ? "rr-ignore" : c, l = e.ignoreSelector, h = l === void 0 ? null : l, f = e.maskTextClass, d = f === void 0 ? "rr-mask" : f, g = e.maskTextSelector, w = g === void 0 ? null : g, y = e.inlineStylesheet, _ = y === void 0 ? !0 : y, C = e.maskAllInputs, R = e.maskInputOptions, x = e.slimDOMOptions, T = e.maskInputFn, U = e.maskTextFn, H = e.hooks, $ = e.packFn, W = e.sampling, J = W === void 0 ? {} : W, q = e.dataURLOptions, rt = q === void 0 ? {} : q, ct = e.mousemoveWait, St = e.recordDOM, z = St === void 0 ? !0 : St, Q = e.recordCanvas, nt = Q === void 0 ? !1 : Q, at = e.recordCrossOriginIframes, lt = at === void 0 ? !1 : at, ht = e.recordAfter, Bt = ht === void 0 ? e.recordAfter === "DOMContentLoaded" ? e.recordAfter : "load" : ht, Zt = e.userTriggeredOnInput, gt = Zt === void 0 ? !1 : Zt, yt = e.collectFonts, Ut = yt === void 0 ? !1 : yt, dt = e.inlineImages, we = dt === void 0 ? !1 : dt, be = e.plugins, Te = e.keepIframeSrcFn, ze = Te === void 0 ? function() {
|
|
27111
27111
|
return !1;
|
|
27112
27112
|
} : Te, xe = e.ignoreCSSAttributes, _e = xe === void 0 ? /* @__PURE__ */ new Set([]) : xe, sr = e.errorHandler;
|
|
27113
27113
|
uU(sr);
|
|
@@ -27124,7 +27124,7 @@ function po(e) {
|
|
|
27124
27124
|
return function() {
|
|
27125
27125
|
};
|
|
27126
27126
|
ct !== void 0 && J.mousemove === void 0 && (J.mousemove = ct), On.reset();
|
|
27127
|
-
var
|
|
27127
|
+
var je = C === !0 ? {
|
|
27128
27128
|
color: !0,
|
|
27129
27129
|
date: !0,
|
|
27130
27130
|
"datetime-local": !0,
|
|
@@ -27159,7 +27159,7 @@ function po(e) {
|
|
|
27159
27159
|
headTitleMutations: x === "all"
|
|
27160
27160
|
} : x || {};
|
|
27161
27161
|
eU();
|
|
27162
|
-
var Yn, En = 0,
|
|
27162
|
+
var Yn, En = 0, We = function(M) {
|
|
27163
27163
|
for (var G = ot(be || []), K; !(K = G()).done; ) {
|
|
27164
27164
|
var pt = K.value;
|
|
27165
27165
|
pt.eventProcessor && (M = pt.eventProcessor(M));
|
|
@@ -27172,11 +27172,11 @@ function po(e) {
|
|
|
27172
27172
|
if (pt.timestamp = rg(), (K = ta[0]) != null && K.isFrozen() && pt.type !== Rt.FullSnapshot && !(pt.type === Rt.IncrementalSnapshot && pt.data.source === vt.Mutation) && ta.forEach(function(Om) {
|
|
27173
27173
|
return Om.unfreeze();
|
|
27174
27174
|
}), Qe)
|
|
27175
|
-
t == null || t(
|
|
27175
|
+
t == null || t(We(pt), G);
|
|
27176
27176
|
else if (wr) {
|
|
27177
27177
|
var Kt = {
|
|
27178
27178
|
type: "rrweb",
|
|
27179
|
-
event:
|
|
27179
|
+
event: We(pt),
|
|
27180
27180
|
origin: window.location.origin,
|
|
27181
27181
|
isCheckout: G
|
|
27182
27182
|
};
|
|
@@ -27257,7 +27257,7 @@ function po(e) {
|
|
|
27257
27257
|
maskTextClass: d,
|
|
27258
27258
|
maskTextSelector: w,
|
|
27259
27259
|
inlineStylesheet: _,
|
|
27260
|
-
maskInputOptions:
|
|
27260
|
+
maskInputOptions: je,
|
|
27261
27261
|
dataURLOptions: rt,
|
|
27262
27262
|
maskTextFn: U,
|
|
27263
27263
|
maskInputFn: T,
|
|
@@ -27292,7 +27292,7 @@ function po(e) {
|
|
|
27292
27292
|
maskTextClass: d,
|
|
27293
27293
|
maskTextSelector: w,
|
|
27294
27294
|
inlineStylesheet: _,
|
|
27295
|
-
maskAllInputs:
|
|
27295
|
+
maskAllInputs: je,
|
|
27296
27296
|
maskTextFn: U,
|
|
27297
27297
|
maskInputFn: T,
|
|
27298
27298
|
slimDOM: Br,
|
|
@@ -27416,7 +27416,7 @@ function po(e) {
|
|
|
27416
27416
|
ignoreSelector: h,
|
|
27417
27417
|
maskTextClass: d,
|
|
27418
27418
|
maskTextSelector: w,
|
|
27419
|
-
maskInputOptions:
|
|
27419
|
+
maskInputOptions: je,
|
|
27420
27420
|
inlineStylesheet: _,
|
|
27421
27421
|
sampling: J,
|
|
27422
27422
|
recordDOM: z,
|
|
@@ -27703,12 +27703,12 @@ io(go, "race", function(t) {
|
|
|
27703
27703
|
}, s);
|
|
27704
27704
|
});
|
|
27705
27705
|
});
|
|
27706
|
-
var
|
|
27707
|
-
typeof Promise < "u" && Promise.toString().indexOf("[native code]") !== -1 ?
|
|
27706
|
+
var jt;
|
|
27707
|
+
typeof Promise < "u" && Promise.toString().indexOf("[native code]") !== -1 ? jt = Promise : jt = go;
|
|
27708
27708
|
var Hn = {
|
|
27709
27709
|
DEBUG: !1,
|
|
27710
27710
|
LIB_VERSION: "2.65.0"
|
|
27711
|
-
}, Eh = 24 * 60 * 60 * 1e3, k0 = 8 * 1e3, bm = Array.prototype, $U = Function.prototype, nE = Object.prototype,
|
|
27711
|
+
}, Eh = 24 * 60 * 60 * 1e3, k0 = 8 * 1e3, bm = Array.prototype, $U = Function.prototype, nE = Object.prototype, js = bm.slice, kf = nE.toString, _m = nE.hasOwnProperty, Ne = X.console, Ws = X.navigator, Ft = X.document, _p = X.opera, p4 = X.screen, Bi = Ws.userAgent, R0 = $U.bind, d4 = bm.forEach, g4 = bm.indexOf, m4 = bm.map, GU = Array.isArray, By = {}, b = {
|
|
27712
27712
|
trim: function(e) {
|
|
27713
27713
|
return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
27714
27714
|
}
|
|
@@ -27789,17 +27789,17 @@ var Hn = {
|
|
|
27789
27789
|
b.bind = function(e, t) {
|
|
27790
27790
|
var r, n;
|
|
27791
27791
|
if (R0 && e.bind === R0)
|
|
27792
|
-
return R0.apply(e,
|
|
27792
|
+
return R0.apply(e, js.call(arguments, 1));
|
|
27793
27793
|
if (!b.isFunction(e))
|
|
27794
27794
|
throw new TypeError();
|
|
27795
|
-
return r =
|
|
27795
|
+
return r = js.call(arguments, 2), n = function() {
|
|
27796
27796
|
if (!(this instanceof n))
|
|
27797
|
-
return e.apply(t, r.concat(
|
|
27797
|
+
return e.apply(t, r.concat(js.call(arguments)));
|
|
27798
27798
|
var i = {};
|
|
27799
27799
|
i.prototype = e.prototype;
|
|
27800
27800
|
var s = new i();
|
|
27801
27801
|
i.prototype = null;
|
|
27802
|
-
var o = e.apply(s, r.concat(
|
|
27802
|
+
var o = e.apply(s, r.concat(js.call(arguments)));
|
|
27803
27803
|
return Object(o) === o ? o : s;
|
|
27804
27804
|
}, n;
|
|
27805
27805
|
};
|
|
@@ -27818,7 +27818,7 @@ b.each = function(e, t, r) {
|
|
|
27818
27818
|
}
|
|
27819
27819
|
};
|
|
27820
27820
|
b.extend = function(e) {
|
|
27821
|
-
return b.each(
|
|
27821
|
+
return b.each(js.call(arguments, 1), function(t) {
|
|
27822
27822
|
for (var r in t)
|
|
27823
27823
|
t[r] !== void 0 && (e[r] = t[r]);
|
|
27824
27824
|
}), e;
|
|
@@ -27837,7 +27837,7 @@ b.isArguments = function(e) {
|
|
|
27837
27837
|
return !!(e && _m.call(e, "callee"));
|
|
27838
27838
|
};
|
|
27839
27839
|
b.toArray = function(e) {
|
|
27840
|
-
return e ? e.toArray ? e.toArray() : b.isArray(e) || b.isArguments(e) ?
|
|
27840
|
+
return e ? e.toArray ? e.toArray() : b.isArray(e) || b.isArguments(e) ? js.call(e) : b.values(e) : [];
|
|
27841
27841
|
};
|
|
27842
27842
|
b.map = function(e, t, r) {
|
|
27843
27843
|
if (m4 && e.map === m4)
|
|
@@ -28361,38 +28361,38 @@ b.dom_query = /* @__PURE__ */ function() {
|
|
|
28361
28361
|
var $;
|
|
28362
28362
|
switch (U) {
|
|
28363
28363
|
case "=":
|
|
28364
|
-
$ = function(
|
|
28365
|
-
return
|
|
28364
|
+
$ = function(W) {
|
|
28365
|
+
return W.getAttribute(T) == H;
|
|
28366
28366
|
};
|
|
28367
28367
|
break;
|
|
28368
28368
|
case "~":
|
|
28369
|
-
$ = function(
|
|
28370
|
-
return
|
|
28369
|
+
$ = function(W) {
|
|
28370
|
+
return W.getAttribute(T).match(new RegExp("\\b" + H + "\\b"));
|
|
28371
28371
|
};
|
|
28372
28372
|
break;
|
|
28373
28373
|
case "|":
|
|
28374
|
-
$ = function(
|
|
28375
|
-
return
|
|
28374
|
+
$ = function(W) {
|
|
28375
|
+
return W.getAttribute(T).match(new RegExp("^" + H + "-?"));
|
|
28376
28376
|
};
|
|
28377
28377
|
break;
|
|
28378
28378
|
case "^":
|
|
28379
|
-
$ = function(
|
|
28380
|
-
return
|
|
28379
|
+
$ = function(W) {
|
|
28380
|
+
return W.getAttribute(T).indexOf(H) === 0;
|
|
28381
28381
|
};
|
|
28382
28382
|
break;
|
|
28383
28383
|
case "$":
|
|
28384
|
-
$ = function(
|
|
28385
|
-
return
|
|
28384
|
+
$ = function(W) {
|
|
28385
|
+
return W.getAttribute(T).lastIndexOf(H) == W.getAttribute(T).length - H.length;
|
|
28386
28386
|
};
|
|
28387
28387
|
break;
|
|
28388
28388
|
case "*":
|
|
28389
|
-
$ = function(
|
|
28390
|
-
return
|
|
28389
|
+
$ = function(W) {
|
|
28390
|
+
return W.getAttribute(T).indexOf(H) > -1;
|
|
28391
28391
|
};
|
|
28392
28392
|
break;
|
|
28393
28393
|
default:
|
|
28394
|
-
$ = function(
|
|
28395
|
-
return
|
|
28394
|
+
$ = function(W) {
|
|
28395
|
+
return W.getAttribute(T);
|
|
28396
28396
|
};
|
|
28397
28397
|
}
|
|
28398
28398
|
for (y = [], w = 0, f = 0; f < u.length; f++)
|
|
@@ -28410,17 +28410,17 @@ b.dom_query = /* @__PURE__ */ function() {
|
|
|
28410
28410
|
return b.isElement(i) ? [i] : b.isObject(i) && !b.isUndefined(i.length) ? i : n.call(this, i);
|
|
28411
28411
|
};
|
|
28412
28412
|
}();
|
|
28413
|
-
var
|
|
28413
|
+
var jU = ["utm_source", "utm_medium", "utm_campaign", "utm_content", "utm_term", "utm_id", "utm_source_platform", "utm_campaign_id", "utm_creative_format", "utm_marketing_tactic"], WU = ["dclid", "fbclid", "gclid", "ko_click_id", "li_fat_id", "msclkid", "sccid", "ttclid", "twclid", "wbraid"];
|
|
28414
28414
|
b.info = {
|
|
28415
28415
|
campaignParams: function(e) {
|
|
28416
28416
|
var t = "", r = {};
|
|
28417
|
-
return b.each(
|
|
28417
|
+
return b.each(jU, function(n) {
|
|
28418
28418
|
t = b.getQueryParam(Ft.URL, n), t.length ? r[n] = t : e !== void 0 && (r[n] = e);
|
|
28419
28419
|
}), r;
|
|
28420
28420
|
},
|
|
28421
28421
|
clickParams: function() {
|
|
28422
28422
|
var e = "", t = {};
|
|
28423
|
-
return b.each(
|
|
28423
|
+
return b.each(WU, function(r) {
|
|
28424
28424
|
e = b.getQueryParam(Ft.URL, r), e.length && (t[r] = e);
|
|
28425
28425
|
}), t;
|
|
28426
28426
|
},
|
|
@@ -28494,13 +28494,13 @@ b.info = {
|
|
|
28494
28494
|
properties: function(e) {
|
|
28495
28495
|
return typeof e != "object" && (e = {}), b.extend(b.strip_empty_properties({
|
|
28496
28496
|
$os: b.info.os(),
|
|
28497
|
-
$browser: b.info.browser(Bi,
|
|
28497
|
+
$browser: b.info.browser(Bi, Ws.vendor, _p),
|
|
28498
28498
|
$referrer: Ft.referrer,
|
|
28499
28499
|
$referring_domain: b.info.referringDomain(Ft.referrer),
|
|
28500
28500
|
$device: b.info.device(Bi)
|
|
28501
28501
|
}), {
|
|
28502
28502
|
$current_url: b.info.currentUrl(),
|
|
28503
|
-
$browser_version: b.info.browserVersion(Bi,
|
|
28503
|
+
$browser_version: b.info.browserVersion(Bi, Ws.vendor, _p),
|
|
28504
28504
|
$screen_height: p4.height,
|
|
28505
28505
|
$screen_width: p4.width,
|
|
28506
28506
|
mp_lib: "web",
|
|
@@ -28513,9 +28513,9 @@ b.info = {
|
|
|
28513
28513
|
people_properties: function() {
|
|
28514
28514
|
return b.extend(b.strip_empty_properties({
|
|
28515
28515
|
$os: b.info.os(),
|
|
28516
|
-
$browser: b.info.browser(Bi,
|
|
28516
|
+
$browser: b.info.browser(Bi, Ws.vendor, _p)
|
|
28517
28517
|
}), {
|
|
28518
|
-
$browser_version: b.info.browserVersion(Bi,
|
|
28518
|
+
$browser_version: b.info.browserVersion(Bi, Ws.vendor, _p)
|
|
28519
28519
|
});
|
|
28520
28520
|
},
|
|
28521
28521
|
mpPageViewProperties: function() {
|
|
@@ -28532,7 +28532,7 @@ var VU = function(e, t) {
|
|
|
28532
28532
|
var r = null, n = [];
|
|
28533
28533
|
return function(i) {
|
|
28534
28534
|
var s = this;
|
|
28535
|
-
return n.push(i), r || (r = new
|
|
28535
|
+
return n.push(i), r || (r = new jt(function(o) {
|
|
28536
28536
|
setTimeout(function() {
|
|
28537
28537
|
var a = e.apply(s, [n]);
|
|
28538
28538
|
r = null, n = [], o(a);
|
|
@@ -28571,7 +28571,7 @@ var QU = "mixpanelBrowserDb", aE = "mixpanelRecordingEvents", Qw = "mixpanelReco
|
|
|
28571
28571
|
this.dbPromise = null, this.storeName = e;
|
|
28572
28572
|
};
|
|
28573
28573
|
Ai.prototype._openDb = function() {
|
|
28574
|
-
return new
|
|
28574
|
+
return new jt(function(e, t) {
|
|
28575
28575
|
var r = X.indexedDB.open(QU, YU);
|
|
28576
28576
|
r.onerror = function() {
|
|
28577
28577
|
t(r.error);
|
|
@@ -28587,12 +28587,12 @@ Ai.prototype._openDb = function() {
|
|
|
28587
28587
|
};
|
|
28588
28588
|
Ai.prototype.init = function() {
|
|
28589
28589
|
return X.indexedDB ? (this.dbPromise || (this.dbPromise = this._openDb()), this.dbPromise.then(function(e) {
|
|
28590
|
-
return e instanceof X.IDBDatabase ?
|
|
28591
|
-
})) :
|
|
28590
|
+
return e instanceof X.IDBDatabase ? jt.resolve() : jt.reject(e);
|
|
28591
|
+
})) : jt.reject("indexedDB is not supported in this browser");
|
|
28592
28592
|
};
|
|
28593
28593
|
Ai.prototype.makeTransaction = function(e, t) {
|
|
28594
28594
|
var r = this.storeName, n = function(i) {
|
|
28595
|
-
return new
|
|
28595
|
+
return new jt(function(s, o) {
|
|
28596
28596
|
var a = i.transaction(r, e);
|
|
28597
28597
|
a.oncomplete = function() {
|
|
28598
28598
|
s(a);
|
|
@@ -28602,7 +28602,7 @@ Ai.prototype.makeTransaction = function(e, t) {
|
|
|
28602
28602
|
});
|
|
28603
28603
|
};
|
|
28604
28604
|
return this.dbPromise.then(n).catch((function(i) {
|
|
28605
|
-
return i && i.name === "InvalidStateError" ? (this.dbPromise = this._openDb(), this.dbPromise.then(n)) :
|
|
28605
|
+
return i && i.name === "InvalidStateError" ? (this.dbPromise = this._openDb(), this.dbPromise.then(n)) : jt.reject(i);
|
|
28606
28606
|
}).bind(this));
|
|
28607
28607
|
};
|
|
28608
28608
|
Ai.prototype.setItem = function(e, t) {
|
|
@@ -28729,7 +28729,7 @@ function Xw(e, t) {
|
|
|
28729
28729
|
};
|
|
28730
28730
|
}
|
|
28731
28731
|
var sL = xa("lock"), hE = function(e, t) {
|
|
28732
|
-
t = t || {}, this.storageKey = e, this.storage = t.storage || X.localStorage, this.pollIntervalMS = t.pollIntervalMS || 100, this.timeoutMS = t.timeoutMS || 2e3, this.promiseImpl = t.promiseImpl ||
|
|
28732
|
+
t = t || {}, this.storageKey = e, this.storage = t.storage || X.localStorage, this.pollIntervalMS = t.pollIntervalMS || 100, this.timeoutMS = t.timeoutMS || 2e3, this.promiseImpl = t.promiseImpl || jt;
|
|
28733
28733
|
};
|
|
28734
28734
|
hE.prototype.withLock = function(e, t) {
|
|
28735
28735
|
var r = this.promiseImpl;
|
|
@@ -28794,10 +28794,10 @@ var Rf = function(e) {
|
|
|
28794
28794
|
this.storage = e || X.localStorage;
|
|
28795
28795
|
};
|
|
28796
28796
|
Rf.prototype.init = function() {
|
|
28797
|
-
return
|
|
28797
|
+
return jt.resolve();
|
|
28798
28798
|
};
|
|
28799
28799
|
Rf.prototype.setItem = function(e, t) {
|
|
28800
|
-
return new
|
|
28800
|
+
return new jt(b.bind(function(r, n) {
|
|
28801
28801
|
try {
|
|
28802
28802
|
this.storage.setItem(e, bu(t));
|
|
28803
28803
|
} catch (i) {
|
|
@@ -28807,7 +28807,7 @@ Rf.prototype.setItem = function(e, t) {
|
|
|
28807
28807
|
}, this));
|
|
28808
28808
|
};
|
|
28809
28809
|
Rf.prototype.getItem = function(e) {
|
|
28810
|
-
return new
|
|
28810
|
+
return new jt(b.bind(function(t, r) {
|
|
28811
28811
|
var n;
|
|
28812
28812
|
try {
|
|
28813
28813
|
n = og(this.storage.getItem(e));
|
|
@@ -28818,7 +28818,7 @@ Rf.prototype.getItem = function(e) {
|
|
|
28818
28818
|
}, this));
|
|
28819
28819
|
};
|
|
28820
28820
|
Rf.prototype.removeItem = function(e) {
|
|
28821
|
-
return new
|
|
28821
|
+
return new jt(b.bind(function(t, r) {
|
|
28822
28822
|
try {
|
|
28823
28823
|
this.storage.removeItem(e);
|
|
28824
28824
|
} catch (n) {
|
|
@@ -28836,7 +28836,7 @@ var w4 = xa("batch"), Ei = function(e, t) {
|
|
|
28836
28836
|
}, this);
|
|
28837
28837
|
};
|
|
28838
28838
|
Ei.prototype.ensureInit = function() {
|
|
28839
|
-
return this.initialized ?
|
|
28839
|
+
return this.initialized ? jt.resolve() : this.queueStorage.init().then(b.bind(function() {
|
|
28840
28840
|
this.initialized = !0;
|
|
28841
28841
|
}, this)).catch(b.bind(function(e) {
|
|
28842
28842
|
this.reportError("Error initializing queue persistence. Disabling persistence", e), this.initialized = !0, this.usePersistence = !1;
|
|
@@ -28848,7 +28848,7 @@ Ei.prototype.enqueue = function(e, t) {
|
|
|
28848
28848
|
flushAfter: (/* @__PURE__ */ new Date()).getTime() + t * 2,
|
|
28849
28849
|
payload: e
|
|
28850
28850
|
};
|
|
28851
|
-
return this.usePersistence ? this.enqueuePersisted(r) : (this.memQueue.push(r),
|
|
28851
|
+
return this.usePersistence ? this.enqueuePersisted(r) : (this.memQueue.push(r), jt.resolve(!0));
|
|
28852
28852
|
};
|
|
28853
28853
|
Ei.prototype._enqueuePersisted = function(e) {
|
|
28854
28854
|
var t = b.bind(function() {
|
|
@@ -28883,7 +28883,7 @@ Ei.prototype.fillBatch = function(e) {
|
|
|
28883
28883
|
}
|
|
28884
28884
|
}
|
|
28885
28885
|
return t;
|
|
28886
|
-
}, this)) :
|
|
28886
|
+
}, this)) : jt.resolve(t);
|
|
28887
28887
|
};
|
|
28888
28888
|
var b4 = function(e, t) {
|
|
28889
28889
|
var r = [];
|
|
@@ -28924,7 +28924,7 @@ Ei.prototype.removeItemsByID = function(e) {
|
|
|
28924
28924
|
}, this));
|
|
28925
28925
|
}, this));
|
|
28926
28926
|
} else
|
|
28927
|
-
return
|
|
28927
|
+
return jt.resolve(!0);
|
|
28928
28928
|
};
|
|
28929
28929
|
var _4 = function(e, t) {
|
|
28930
28930
|
var r = [];
|
|
@@ -28948,7 +28948,7 @@ Ei.prototype.updatePayloads = function(e) {
|
|
|
28948
28948
|
}, this));
|
|
28949
28949
|
}, this), this.pid).catch(b.bind(function(t) {
|
|
28950
28950
|
return this.reportError("Error acquiring storage lock", t), !1;
|
|
28951
|
-
}, this)) :
|
|
28951
|
+
}, this)) : jt.resolve(!0);
|
|
28952
28952
|
};
|
|
28953
28953
|
Ei.prototype.readFromStorage = function() {
|
|
28954
28954
|
return this.ensureInit().then(b.bind(function() {
|
|
@@ -28971,7 +28971,7 @@ Ei.prototype.saveToStorage = function(e) {
|
|
|
28971
28971
|
Ei.prototype.clear = function() {
|
|
28972
28972
|
return this.memQueue = [], this.usePersistence ? this.ensureInit().then(b.bind(function() {
|
|
28973
28973
|
return this.queueStorage.removeItem(this.storageKey);
|
|
28974
|
-
}, this)) :
|
|
28974
|
+
}, this)) : jt.resolve();
|
|
28975
28975
|
};
|
|
28976
28976
|
var oL = 10 * 60 * 1e3, Sh = xa("batch"), _n = function(e, t) {
|
|
28977
28977
|
this.errorReporter = t.errorReporter, this.queue = new Ei(e, {
|
|
@@ -29007,13 +29007,13 @@ _n.prototype.scheduleFlush = function(e) {
|
|
|
29007
29007
|
}, this), this.flushInterval));
|
|
29008
29008
|
};
|
|
29009
29009
|
_n.prototype.sendRequestPromise = function(e, t) {
|
|
29010
|
-
return new
|
|
29010
|
+
return new jt(b.bind(function(r) {
|
|
29011
29011
|
this.sendRequest(e, t, r);
|
|
29012
29012
|
}, this));
|
|
29013
29013
|
};
|
|
29014
29014
|
_n.prototype.flush = function(e) {
|
|
29015
29015
|
if (this.requestInProgress)
|
|
29016
|
-
return Sh.log("Flush: Request already in progress"),
|
|
29016
|
+
return Sh.log("Flush: Request already in progress"), jt.resolve();
|
|
29017
29017
|
this.requestInProgress = !0, e = e || {};
|
|
29018
29018
|
var t = this.libConfig.batch_request_timeout_ms, r = (/* @__PURE__ */ new Date()).getTime(), n = this.batchSize;
|
|
29019
29019
|
return this.queue.fillBatch(n).then(b.bind(function(i) {
|
|
@@ -29035,7 +29035,7 @@ _n.prototype.flush = function(e) {
|
|
|
29035
29035
|
}
|
|
29036
29036
|
a[h.id] = f;
|
|
29037
29037
|
}, this), o.length < 1)
|
|
29038
|
-
return this.requestInProgress = !1, this.resetFlush(),
|
|
29038
|
+
return this.requestInProgress = !1, this.resetFlush(), jt.resolve();
|
|
29039
29039
|
var c = b.bind(function() {
|
|
29040
29040
|
return this.queue.removeItemsByID(
|
|
29041
29041
|
b.map(i, function(h) {
|
|
@@ -29049,7 +29049,7 @@ _n.prototype.flush = function(e) {
|
|
|
29049
29049
|
batchSize: i.length,
|
|
29050
29050
|
timesSent: this.itemIdsSentSuccessfully[d]
|
|
29051
29051
|
})) : this.reportError("[dupe] found item with no ID while removing", { item: f });
|
|
29052
|
-
}, this)), h ? (this.consecutiveRemovalFailures = 0, this.flushOnlyOnInterval && !s ? (this.resetFlush(),
|
|
29052
|
+
}, this)), h ? (this.consecutiveRemovalFailures = 0, this.flushOnlyOnInterval && !s ? (this.resetFlush(), jt.resolve()) : this.flush()) : (++this.consecutiveRemovalFailures > 5 ? (this.reportError("Too many queue failures; disabling batching system."), this.stopAllBatching()) : this.resetFlush(), jt.resolve());
|
|
29053
29053
|
}, this));
|
|
29054
29054
|
}, this), u = b.bind(function(h) {
|
|
29055
29055
|
this.requestInProgress = !1;
|
|
@@ -29060,11 +29060,11 @@ _n.prototype.flush = function(e) {
|
|
|
29060
29060
|
return this.reportError("Network timeout; retrying"), this.flush();
|
|
29061
29061
|
if (b.isObject(h) && (h.httpStatusCode >= 500 || h.httpStatusCode === 429 || h.httpStatusCode <= 0 && !JU() || h.error === "timeout")) {
|
|
29062
29062
|
var f = this.flushInterval * 2;
|
|
29063
|
-
return h.retryAfter && (f = parseInt(h.retryAfter, 10) * 1e3 || f), f = Math.min(oL, f), this.reportError("Error; retry in " + f + " ms"), this.scheduleFlush(f),
|
|
29063
|
+
return h.retryAfter && (f = parseInt(h.retryAfter, 10) * 1e3 || f), f = Math.min(oL, f), this.reportError("Error; retry in " + f + " ms"), this.scheduleFlush(f), jt.resolve();
|
|
29064
29064
|
} else if (b.isObject(h) && h.httpStatusCode === 413)
|
|
29065
29065
|
if (i.length > 1) {
|
|
29066
29066
|
var d = Math.max(1, Math.floor(n / 2));
|
|
29067
|
-
return this.batchSize = Math.min(this.batchSize, d, i.length - 1), this.reportError("413 response; reducing batch size to " + this.batchSize), this.resetFlush(),
|
|
29067
|
+
return this.batchSize = Math.min(this.batchSize, d, i.length - 1), this.reportError("413 response; reducing batch size to " + this.batchSize), this.resetFlush(), jt.resolve();
|
|
29068
29068
|
} else
|
|
29069
29069
|
return this.reportError("Single-event request too large; dropping", i), this.resetBatchSize(), c();
|
|
29070
29070
|
else
|
|
@@ -29329,7 +29329,7 @@ Fu.prototype.setActiveRecording = function(e) {
|
|
|
29329
29329
|
var t = e.tabId;
|
|
29330
29330
|
return t ? this.idb.init().then((function() {
|
|
29331
29331
|
return this.idb.setItem(t, e);
|
|
29332
|
-
}).bind(this)).catch(this.handleError.bind(this)) : (console.warn("No tab ID is set, cannot persist recording metadata."),
|
|
29332
|
+
}).bind(this)).catch(this.handleError.bind(this)) : (console.warn("No tab ID is set, cannot persist recording metadata."), jt.resolve());
|
|
29333
29333
|
};
|
|
29334
29334
|
Fu.prototype.getActiveRecording = function() {
|
|
29335
29335
|
return this.idb.init().then((function() {
|
|
@@ -29359,7 +29359,7 @@ Fu.prototype.flushInactiveRecordings = function() {
|
|
|
29359
29359
|
return this.idb.removeItem(r.tabId);
|
|
29360
29360
|
}).bind(this)).catch(this.handleError.bind(this));
|
|
29361
29361
|
}).bind(this));
|
|
29362
|
-
return
|
|
29362
|
+
return jt.all(t);
|
|
29363
29363
|
}).bind(this)).catch(this.handleError.bind(this));
|
|
29364
29364
|
};
|
|
29365
29365
|
var Ch = xa("recorder"), ps = function(e, t, r) {
|
|
@@ -29399,10 +29399,10 @@ ps.prototype.pauseRecording = function() {
|
|
|
29399
29399
|
return this._stopCurrentRecording(!1);
|
|
29400
29400
|
};
|
|
29401
29401
|
ps.prototype._stopCurrentRecording = function(e) {
|
|
29402
|
-
return this.activeRecording ? this.activeRecording.stopRecording(e) :
|
|
29402
|
+
return this.activeRecording ? this.activeRecording.stopRecording(e) : jt.resolve();
|
|
29403
29403
|
};
|
|
29404
29404
|
ps.prototype.resumeRecording = function(e) {
|
|
29405
|
-
return this.activeRecording && this.activeRecording.isRrwebStopped() ? (this.activeRecording.startRecording(!1),
|
|
29405
|
+
return this.activeRecording && this.activeRecording.isRrwebStopped() ? (this.activeRecording.startRecording(!1), jt.resolve(null)) : this.recordingRegistry.getActiveRecording().then((function(t) {
|
|
29406
29406
|
return t ? this.startRecording({ activeSerializedRecording: t }) : e ? this.startRecording({ shouldStopBatcher: !1 }) : (Ch.log("No resumable recording found."), null);
|
|
29407
29407
|
}).bind(this));
|
|
29408
29408
|
};
|
|
@@ -29418,7 +29418,7 @@ Object.defineProperty(ps.prototype, "replayId", {
|
|
|
29418
29418
|
}
|
|
29419
29419
|
});
|
|
29420
29420
|
X.__mp_recorder = ps;
|
|
29421
|
-
var ag = "change", cf = "click", E4 = "hashchange",
|
|
29421
|
+
var ag = "change", cf = "click", E4 = "hashchange", ja = "mp_locationchange", S4 = "popstate", C4 = "scrollend", Uy = "submit", hL = [
|
|
29422
29422
|
"clientX",
|
|
29423
29423
|
"clientY",
|
|
29424
29424
|
"offsetX",
|
|
@@ -29765,22 +29765,22 @@ Zr.prototype.initInputTracking = function() {
|
|
|
29765
29765
|
}).bind(this)));
|
|
29766
29766
|
};
|
|
29767
29767
|
Zr.prototype.initPageviewTracking = function() {
|
|
29768
|
-
if (X.removeEventListener(S4, this.listenerPopstate), X.removeEventListener(E4, this.listenerHashchange), X.removeEventListener(
|
|
29768
|
+
if (X.removeEventListener(S4, this.listenerPopstate), X.removeEventListener(E4, this.listenerHashchange), X.removeEventListener(ja, this.listenerLocationchange), !!this.pageviewTrackingConfig()) {
|
|
29769
29769
|
Mr.log("Initializing pageview tracking");
|
|
29770
29770
|
var e = "", t = !1;
|
|
29771
29771
|
this.currentUrlBlocked() || (t = this.mp.track_pageview(lg)), t && (e = b.info.currentUrl()), this.listenerPopstate = X.addEventListener(S4, function() {
|
|
29772
|
-
X.dispatchEvent(new Event(
|
|
29772
|
+
X.dispatchEvent(new Event(ja));
|
|
29773
29773
|
}), this.listenerHashchange = X.addEventListener(E4, function() {
|
|
29774
|
-
X.dispatchEvent(new Event(
|
|
29774
|
+
X.dispatchEvent(new Event(ja));
|
|
29775
29775
|
});
|
|
29776
29776
|
var r = X.history.pushState;
|
|
29777
29777
|
typeof r == "function" && (X.history.pushState = function(i, s, o) {
|
|
29778
|
-
r.call(X.history, i, s, o), X.dispatchEvent(new Event(
|
|
29778
|
+
r.call(X.history, i, s, o), X.dispatchEvent(new Event(ja));
|
|
29779
29779
|
});
|
|
29780
29780
|
var n = X.history.replaceState;
|
|
29781
29781
|
typeof n == "function" && (X.history.replaceState = function(i, s, o) {
|
|
29782
|
-
n.call(X.history, i, s, o), X.dispatchEvent(new Event(
|
|
29783
|
-
}), this.listenerLocationchange = X.addEventListener(
|
|
29782
|
+
n.call(X.history, i, s, o), X.dispatchEvent(new Event(ja));
|
|
29783
|
+
}), this.listenerLocationchange = X.addEventListener(ja, Kw((function() {
|
|
29784
29784
|
if (!this.currentUrlBlocked()) {
|
|
29785
29785
|
var i = b.info.currentUrl(), s = !1, o = i.split("#")[0].split("?")[0] !== e.split("#")[0].split("?")[0], a = this.pageviewTrackingConfig();
|
|
29786
29786
|
if (a === mE ? s = i !== e : a === wL ? s = i.split("#")[0] !== e.split("#")[0] : a === bL && (s = o), s) {
|
|
@@ -30380,8 +30380,8 @@ var u2, PE = function(e, t) {
|
|
|
30380
30380
|
}, ur, ME = 0, OL = 1, TL = function(e) {
|
|
30381
30381
|
return e;
|
|
30382
30382
|
}, gn = "mixpanel", BE = "base64", xL = "json", l2 = "$device:", zc = X.XMLHttpRequest && "withCredentials" in new XMLHttpRequest(), UE = !zc && Bi.indexOf("MSIE") === -1 && Bi.indexOf("Mozilla") === -1, fg = null;
|
|
30383
|
-
|
|
30384
|
-
return
|
|
30383
|
+
Ws.sendBeacon && (fg = function() {
|
|
30384
|
+
return Ws.sendBeacon.apply(Ws, arguments);
|
|
30385
30385
|
});
|
|
30386
30386
|
var LE = {
|
|
30387
30387
|
track: "track/",
|
|
@@ -30454,7 +30454,7 @@ var LE = {
|
|
|
30454
30454
|
record_sessions_percent: 0,
|
|
30455
30455
|
recorder_src: "https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"
|
|
30456
30456
|
}, DE = !1, L = function() {
|
|
30457
|
-
},
|
|
30457
|
+
}, jy = function(e, t, r) {
|
|
30458
30458
|
var n, i = r === gn ? ur : ur[r];
|
|
30459
30459
|
if (i && u2 === ME)
|
|
30460
30460
|
n = i;
|
|
@@ -30482,7 +30482,7 @@ L.prototype.init = function(e, t, r) {
|
|
|
30482
30482
|
this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");
|
|
30483
30483
|
return;
|
|
30484
30484
|
}
|
|
30485
|
-
var n =
|
|
30485
|
+
var n = jy(e, t, r);
|
|
30486
30486
|
return ur[r] = n, n._loaded(), n;
|
|
30487
30487
|
};
|
|
30488
30488
|
L.prototype._init = function(e, t, r) {
|
|
@@ -31009,7 +31009,7 @@ L.prototype.get_config = function(e) {
|
|
|
31009
31009
|
return this.config[e];
|
|
31010
31010
|
};
|
|
31011
31011
|
L.prototype._run_hook = function(e) {
|
|
31012
|
-
var t = (this.config.hooks[e] || TL).apply(this,
|
|
31012
|
+
var t = (this.config.hooks[e] || TL).apply(this, js.call(arguments, 1));
|
|
31013
31013
|
return typeof t > "u" && (this.report_error(e + " hook did not return a value"), t = null), t;
|
|
31014
31014
|
};
|
|
31015
31015
|
L.prototype.get_property = function(e) {
|
|
@@ -31148,9 +31148,9 @@ var Tc = {}, PL = function() {
|
|
|
31148
31148
|
}, ML = function() {
|
|
31149
31149
|
ur.init = function(e, t, r) {
|
|
31150
31150
|
if (r)
|
|
31151
|
-
return ur[r] || (ur[r] = Tc[r] =
|
|
31151
|
+
return ur[r] || (ur[r] = Tc[r] = jy(e, t, r), ur[r]._loaded()), ur[r];
|
|
31152
31152
|
var n = ur;
|
|
31153
|
-
Tc[gn] ? n = Tc[gn] : e && (n =
|
|
31153
|
+
Tc[gn] ? n = Tc[gn] : e && (n = jy(e, t, gn), n._loaded(), Tc[gn] = n), ur = n, u2 === OL && (X[gn] = ur), PL();
|
|
31154
31154
|
};
|
|
31155
31155
|
}, BL = function() {
|
|
31156
31156
|
function e() {
|
|
@@ -31241,7 +31241,7 @@ const DL = (e) => {
|
|
|
31241
31241
|
var r;
|
|
31242
31242
|
return !t && !!((r = e.content) != null && r.cloak);
|
|
31243
31243
|
}
|
|
31244
|
-
), An = yr(), Em = yr(),
|
|
31244
|
+
), An = yr(), Em = yr(), jL = pv(An, async (e) => {
|
|
31245
31245
|
try {
|
|
31246
31246
|
return e ? (await (await e.getSigner()).getAddress()).toLowerCase() : "";
|
|
31247
31247
|
} catch {
|
|
@@ -31318,7 +31318,7 @@ const dd = /* @__PURE__ */ Object.create(null);
|
|
|
31318
31318
|
Object.keys(vi).forEach((e) => {
|
|
31319
31319
|
dd[vi[e]] = e;
|
|
31320
31320
|
});
|
|
31321
|
-
const
|
|
31321
|
+
const Wy = { type: "error", data: "parser error" }, GE = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", HE = typeof ArrayBuffer == "function", zE = (e) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(e) : e && e.buffer instanceof ArrayBuffer, f2 = ({ type: e, data: t }, r, n) => GE && t instanceof Blob ? r ? n(t) : N4(t, n) : HE && (t instanceof ArrayBuffer || zE(t)) ? r ? n(t) : N4(new Blob([t]), n) : n(vi[e] + (t || "")), N4 = (e, t) => {
|
|
31322
31322
|
const r = new FileReader();
|
|
31323
31323
|
return r.onload = function() {
|
|
31324
31324
|
const n = r.result.split(",")[1];
|
|
@@ -31329,7 +31329,7 @@ function P4(e) {
|
|
|
31329
31329
|
return e instanceof Uint8Array ? e : e instanceof ArrayBuffer ? new Uint8Array(e) : new Uint8Array(e.buffer, e.byteOffset, e.byteLength);
|
|
31330
31330
|
}
|
|
31331
31331
|
let P0;
|
|
31332
|
-
function
|
|
31332
|
+
function WL(e, t) {
|
|
31333
31333
|
if (GE && e.data instanceof Blob)
|
|
31334
31334
|
return e.data.arrayBuffer().then(P4).then(t);
|
|
31335
31335
|
if (HE && (e.data instanceof ArrayBuffer || zE(e.data)))
|
|
@@ -31352,7 +31352,7 @@ const VL = (e) => {
|
|
|
31352
31352
|
if (typeof e != "string")
|
|
31353
31353
|
return {
|
|
31354
31354
|
type: "message",
|
|
31355
|
-
data:
|
|
31355
|
+
data: jE(e, t)
|
|
31356
31356
|
};
|
|
31357
31357
|
const r = e.charAt(0);
|
|
31358
31358
|
return r === "b" ? {
|
|
@@ -31363,14 +31363,14 @@ const VL = (e) => {
|
|
|
31363
31363
|
data: e.substring(1)
|
|
31364
31364
|
} : {
|
|
31365
31365
|
type: dd[r]
|
|
31366
|
-
} :
|
|
31366
|
+
} : Wy;
|
|
31367
31367
|
}, KL = (e, t) => {
|
|
31368
31368
|
if (qL) {
|
|
31369
31369
|
const r = VL(e);
|
|
31370
|
-
return
|
|
31370
|
+
return jE(r, t);
|
|
31371
31371
|
} else
|
|
31372
31372
|
return { base64: !0, data: e };
|
|
31373
|
-
},
|
|
31373
|
+
}, jE = (e, t) => {
|
|
31374
31374
|
switch (t) {
|
|
31375
31375
|
case "blob":
|
|
31376
31376
|
return e instanceof Blob ? e : new Blob([e]);
|
|
@@ -31378,16 +31378,16 @@ const VL = (e) => {
|
|
|
31378
31378
|
default:
|
|
31379
31379
|
return e instanceof ArrayBuffer ? e : e.buffer;
|
|
31380
31380
|
}
|
|
31381
|
-
},
|
|
31381
|
+
}, WE = "", JL = (e, t) => {
|
|
31382
31382
|
const r = e.length, n = new Array(r);
|
|
31383
31383
|
let i = 0;
|
|
31384
31384
|
e.forEach((s, o) => {
|
|
31385
31385
|
f2(s, !1, (a) => {
|
|
31386
|
-
n[o] = a, ++i === r && t(n.join(
|
|
31386
|
+
n[o] = a, ++i === r && t(n.join(WE));
|
|
31387
31387
|
});
|
|
31388
31388
|
});
|
|
31389
31389
|
}, QL = (e, t) => {
|
|
31390
|
-
const r = e.split(
|
|
31390
|
+
const r = e.split(WE), n = [];
|
|
31391
31391
|
for (let i = 0; i < r.length; i++) {
|
|
31392
31392
|
const s = p2(r[i], t);
|
|
31393
31393
|
if (n.push(s), s.type === "error")
|
|
@@ -31398,7 +31398,7 @@ const VL = (e) => {
|
|
|
31398
31398
|
function YL() {
|
|
31399
31399
|
return new TransformStream({
|
|
31400
31400
|
transform(e, t) {
|
|
31401
|
-
|
|
31401
|
+
WL(e, (r) => {
|
|
31402
31402
|
const n = r.length;
|
|
31403
31403
|
let i;
|
|
31404
31404
|
if (n < 126)
|
|
@@ -31452,7 +31452,7 @@ function ZL(e, t) {
|
|
|
31452
31452
|
break;
|
|
31453
31453
|
const c = Ep(r, 8), u = new DataView(c.buffer, c.byteOffset, c.length), l = u.getUint32(0);
|
|
31454
31454
|
if (l > Math.pow(2, 21) - 1) {
|
|
31455
|
-
a.enqueue(
|
|
31455
|
+
a.enqueue(Wy);
|
|
31456
31456
|
break;
|
|
31457
31457
|
}
|
|
31458
31458
|
i = l * Math.pow(2, 32) + u.getUint32(4), n = 3;
|
|
@@ -31463,7 +31463,7 @@ function ZL(e, t) {
|
|
|
31463
31463
|
a.enqueue(p2(s ? c : M0.decode(c), t)), n = 0;
|
|
31464
31464
|
}
|
|
31465
31465
|
if (i === 0 || i > e) {
|
|
31466
|
-
a.enqueue(
|
|
31466
|
+
a.enqueue(Wy);
|
|
31467
31467
|
break;
|
|
31468
31468
|
}
|
|
31469
31469
|
}
|
|
@@ -33682,11 +33682,11 @@ function v2(e, t) {
|
|
|
33682
33682
|
}
|
|
33683
33683
|
}
|
|
33684
33684
|
}
|
|
33685
|
-
function
|
|
33685
|
+
function jD(e, t) {
|
|
33686
33686
|
const r = ba.get(e) ?? [];
|
|
33687
33687
|
return Vs = Vs + 1, r.push({ callback: t, id: Vs, once: !0 }), ba.set(e, r), () => v2(e, Vs);
|
|
33688
33688
|
}
|
|
33689
|
-
function
|
|
33689
|
+
function WD(e, t) {
|
|
33690
33690
|
const r = ba.get(e) ?? [];
|
|
33691
33691
|
return Vs = Vs + 1, r.push({ callback: t, id: Vs }), ba.set(e, r), () => v2(e, Vs);
|
|
33692
33692
|
}
|
|
@@ -33824,7 +33824,7 @@ class Ih {
|
|
|
33824
33824
|
}
|
|
33825
33825
|
cr(Ih, "SDK_ENV", e9), cr(Ih, "SDK_EVENT", vd);
|
|
33826
33826
|
var tF = Object.defineProperty, eF = (e, t, r) => t in e ? tF(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $4 = (e, t, r) => eF(e, typeof t != "symbol" ? t + "" : t, r);
|
|
33827
|
-
const
|
|
33827
|
+
const jc = {
|
|
33828
33828
|
LOCAL: "local",
|
|
33829
33829
|
STAGING: "staging",
|
|
33830
33830
|
PROD: "prod"
|
|
@@ -33839,11 +33839,11 @@ const Wc = {
|
|
|
33839
33839
|
};
|
|
33840
33840
|
function rF(e) {
|
|
33841
33841
|
switch (e.env) {
|
|
33842
|
-
case
|
|
33842
|
+
case jc.LOCAL:
|
|
33843
33843
|
return L0.LOCAL;
|
|
33844
|
-
case
|
|
33844
|
+
case jc.STAGING:
|
|
33845
33845
|
return L0.STAGING;
|
|
33846
|
-
case
|
|
33846
|
+
case jc.PROD:
|
|
33847
33847
|
return L0.PROD;
|
|
33848
33848
|
default:
|
|
33849
33849
|
throw new Error("Invalid sdk env");
|
|
@@ -33851,11 +33851,11 @@ function rF(e) {
|
|
|
33851
33851
|
}
|
|
33852
33852
|
function _2(e) {
|
|
33853
33853
|
switch (e.env) {
|
|
33854
|
-
case
|
|
33854
|
+
case jc.LOCAL:
|
|
33855
33855
|
return D0.LOCAL;
|
|
33856
|
-
case
|
|
33856
|
+
case jc.STAGING:
|
|
33857
33857
|
return D0.STAGING;
|
|
33858
|
-
case
|
|
33858
|
+
case jc.PROD:
|
|
33859
33859
|
return D0.PROD;
|
|
33860
33860
|
default:
|
|
33861
33861
|
throw new Error("Invalid sdk env");
|
|
@@ -33936,8 +33936,8 @@ function oF(e, t) {
|
|
|
33936
33936
|
e.searchParams.append("code_challenge", t.codeChallenge), e.searchParams.append("code_challenge_method", t.codeChallengeMethod);
|
|
33937
33937
|
}
|
|
33938
33938
|
}
|
|
33939
|
-
function n9(e, t, r = !
|
|
33940
|
-
const n = r ?
|
|
33939
|
+
function n9(e, t, r = !1) {
|
|
33940
|
+
const n = r ? rF : _2, i = new URL(n(e) + "/oauth2/authorize" + (r ? "/jwt" : ""));
|
|
33941
33941
|
return i.searchParams.append("client_id", e.clientId), i.searchParams.append("scope", t.scope), i.searchParams.append("nonce", t.nonce || z4()), i.searchParams.append("state", t.state || z4()), i.searchParams.append("credenza_session_length_seconds", String(t.sessionLengthSeconds ?? 60 * 60)), oF(i, t), i;
|
|
33942
33942
|
}
|
|
33943
33943
|
function i9(e, t) {
|
|
@@ -33961,18 +33961,18 @@ async function cF(e) {
|
|
|
33961
33961
|
}
|
|
33962
33962
|
async function uF(e, t) {
|
|
33963
33963
|
try {
|
|
33964
|
-
const r = n9(e, t, !
|
|
33964
|
+
const r = n9(e, t, !0);
|
|
33965
33965
|
i9(r, { redirectUrl: "none" });
|
|
33966
33966
|
const n = await fetch(r.toString(), {
|
|
33967
33967
|
method: "POST",
|
|
33968
33968
|
headers: {
|
|
33969
|
-
"Content-Type": "application/
|
|
33969
|
+
"Content-Type": "application/json"
|
|
33970
33970
|
},
|
|
33971
|
-
body:
|
|
33971
|
+
body: JSON.stringify({
|
|
33972
33972
|
validator_id: t.validatorId,
|
|
33973
33973
|
..."idToken" in t ? { id_token: t.idToken } : {},
|
|
33974
33974
|
..."accessToken" in t ? { access_token: t.accessToken } : {}
|
|
33975
|
-
})
|
|
33975
|
+
})
|
|
33976
33976
|
});
|
|
33977
33977
|
if (!n.ok) throw new Error(n.statusText);
|
|
33978
33978
|
return await n.json();
|
|
@@ -34049,7 +34049,7 @@ class lF {
|
|
|
34049
34049
|
await this.sdk._setAccessToken(t, nF.OAUTH);
|
|
34050
34050
|
}
|
|
34051
34051
|
}
|
|
34052
|
-
var hF = Object.defineProperty, fF = (e, t, r) => t in e ? hF(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r,
|
|
34052
|
+
var hF = Object.defineProperty, fF = (e, t, r) => t in e ? hF(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, j4 = (e, t, r) => fF(e, typeof t != "symbol" ? t + "" : t, r);
|
|
34053
34053
|
const G0 = {
|
|
34054
34054
|
LOCAL: "local",
|
|
34055
34055
|
STAGING: "staging",
|
|
@@ -34073,7 +34073,7 @@ function Xu(e) {
|
|
|
34073
34073
|
}
|
|
34074
34074
|
class pF {
|
|
34075
34075
|
constructor() {
|
|
34076
|
-
|
|
34076
|
+
j4(this, "name", "account"), j4(this, "sdk");
|
|
34077
34077
|
}
|
|
34078
34078
|
async _initialize(t) {
|
|
34079
34079
|
this.sdk = t;
|
|
@@ -34267,7 +34267,7 @@ function EF() {
|
|
|
34267
34267
|
return mt(An);
|
|
34268
34268
|
}
|
|
34269
34269
|
async function wi() {
|
|
34270
|
-
return await mt(
|
|
34270
|
+
return await mt(jL) ?? null;
|
|
34271
34271
|
}
|
|
34272
34272
|
async function SF({ chainId: e }) {
|
|
34273
34273
|
if (this.networkType !== $E(e))
|
|
@@ -34532,7 +34532,7 @@ function pg(e, t) {
|
|
|
34532
34532
|
function a9(e) {
|
|
34533
34533
|
return e();
|
|
34534
34534
|
}
|
|
34535
|
-
function
|
|
34535
|
+
function W4() {
|
|
34536
34536
|
return /* @__PURE__ */ Object.create(null);
|
|
34537
34537
|
}
|
|
34538
34538
|
function gs(e) {
|
|
@@ -34572,20 +34572,20 @@ function q4(e) {
|
|
|
34572
34572
|
}
|
|
34573
34573
|
const u9 = typeof window < "u";
|
|
34574
34574
|
let km = u9 ? () => window.performance.now() : () => Date.now(), E2 = u9 ? (e) => requestAnimationFrame(e) : rr;
|
|
34575
|
-
const
|
|
34575
|
+
const Wc = /* @__PURE__ */ new Set();
|
|
34576
34576
|
function l9(e) {
|
|
34577
|
-
|
|
34578
|
-
t.c(e) || (
|
|
34579
|
-
}),
|
|
34577
|
+
Wc.forEach((t) => {
|
|
34578
|
+
t.c(e) || (Wc.delete(t), t.f());
|
|
34579
|
+
}), Wc.size !== 0 && E2(l9);
|
|
34580
34580
|
}
|
|
34581
34581
|
function Rm(e) {
|
|
34582
34582
|
let t;
|
|
34583
|
-
return
|
|
34583
|
+
return Wc.size === 0 && E2(l9), {
|
|
34584
34584
|
promise: new Promise((r) => {
|
|
34585
|
-
|
|
34585
|
+
Wc.add(t = { c: e, f: r });
|
|
34586
34586
|
}),
|
|
34587
34587
|
abort() {
|
|
34588
|
-
|
|
34588
|
+
Wc.delete(t);
|
|
34589
34589
|
}
|
|
34590
34590
|
};
|
|
34591
34591
|
}
|
|
@@ -34628,7 +34628,7 @@ function ms(e) {
|
|
|
34628
34628
|
function Qi(e) {
|
|
34629
34629
|
return document.createElement(e);
|
|
34630
34630
|
}
|
|
34631
|
-
function
|
|
34631
|
+
function jF(e) {
|
|
34632
34632
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
34633
34633
|
}
|
|
34634
34634
|
function p9(e) {
|
|
@@ -34646,7 +34646,7 @@ function dg(e, t, r, n) {
|
|
|
34646
34646
|
function mn(e, t, r) {
|
|
34647
34647
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
34648
34648
|
}
|
|
34649
|
-
function
|
|
34649
|
+
function WF(e) {
|
|
34650
34650
|
return Array.from(e.childNodes);
|
|
34651
34651
|
}
|
|
34652
34652
|
function Ip(e, t, r) {
|
|
@@ -34673,7 +34673,7 @@ class qF {
|
|
|
34673
34673
|
* @returns {void}
|
|
34674
34674
|
*/
|
|
34675
34675
|
m(t, r, n = null) {
|
|
34676
|
-
this.e || (this.is_svg ? this.e =
|
|
34676
|
+
this.e || (this.is_svg ? this.e = jF(
|
|
34677
34677
|
/** @type {keyof SVGElementTagNameMap} */
|
|
34678
34678
|
r.nodeName
|
|
34679
34679
|
) : this.e = Qi(
|
|
@@ -34828,21 +34828,21 @@ function Eu(e) {
|
|
|
34828
34828
|
Vc.push(e);
|
|
34829
34829
|
}
|
|
34830
34830
|
const z0 = /* @__PURE__ */ new Set();
|
|
34831
|
-
let
|
|
34831
|
+
let Wa = 0;
|
|
34832
34832
|
function y9() {
|
|
34833
|
-
if (
|
|
34833
|
+
if (Wa !== 0)
|
|
34834
34834
|
return;
|
|
34835
34835
|
const e = lf;
|
|
34836
34836
|
do {
|
|
34837
34837
|
try {
|
|
34838
|
-
for (;
|
|
34839
|
-
const t = wc[
|
|
34840
|
-
|
|
34838
|
+
for (; Wa < wc.length; ) {
|
|
34839
|
+
const t = wc[Wa];
|
|
34840
|
+
Wa++, kh(t), n$(t.$$);
|
|
34841
34841
|
}
|
|
34842
34842
|
} catch (t) {
|
|
34843
|
-
throw wc.length = 0,
|
|
34843
|
+
throw wc.length = 0, Wa = 0, t;
|
|
34844
34844
|
}
|
|
34845
|
-
for (kh(null), wc.length = 0,
|
|
34845
|
+
for (kh(null), wc.length = 0, Wa = 0; J4.length; ) J4.pop()();
|
|
34846
34846
|
for (let t = 0; t < Vc.length; t += 1) {
|
|
34847
34847
|
const r = Vc[t];
|
|
34848
34848
|
z0.has(r) || (z0.add(r), r());
|
|
@@ -34994,16 +34994,16 @@ function u$(e, t, r, n, i, s, o, a, c, u, l, h) {
|
|
|
34994
34994
|
const y = [], _ = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map(), R = [];
|
|
34995
34995
|
for (g = d; g--; ) {
|
|
34996
34996
|
const H = h(i, s, g), $ = r(H);
|
|
34997
|
-
let
|
|
34998
|
-
|
|
34997
|
+
let W = o.get($);
|
|
34998
|
+
W ? R.push(() => W.p(H, t)) : (W = u($, H), W.c()), _.set($, y[g] = W), $ in w && C.set($, Math.abs(g - w[$]));
|
|
34999
34999
|
}
|
|
35000
35000
|
const x = /* @__PURE__ */ new Set(), T = /* @__PURE__ */ new Set();
|
|
35001
35001
|
function U(H) {
|
|
35002
35002
|
oo(H, 1), H.m(a, l), o.set(H.key, H), l = H.first, d--;
|
|
35003
35003
|
}
|
|
35004
35004
|
for (; f && d; ) {
|
|
35005
|
-
const H = y[d - 1], $ = e[f - 1],
|
|
35006
|
-
H === $ ? (l = H.first, f--, d--) : _.has(J) ? !o.has(
|
|
35005
|
+
const H = y[d - 1], $ = e[f - 1], W = H.key, J = $.key;
|
|
35006
|
+
H === $ ? (l = H.first, f--, d--) : _.has(J) ? !o.has(W) || x.has(W) ? U(H) : T.has(J) ? f-- : C.get(W) > C.get(J) ? (T.add(W), U(H)) : (x.add(J), f--) : (c($, o), f--);
|
|
35007
35007
|
}
|
|
35008
35008
|
for (; f--; ) {
|
|
35009
35009
|
const H = e[f];
|
|
@@ -35061,7 +35061,7 @@ function b9(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
35061
35061
|
props: s,
|
|
35062
35062
|
update: rr,
|
|
35063
35063
|
not_equal: i,
|
|
35064
|
-
bound:
|
|
35064
|
+
bound: W4(),
|
|
35065
35065
|
// lifecycle
|
|
35066
35066
|
on_mount: [],
|
|
35067
35067
|
on_destroy: [],
|
|
@@ -35070,7 +35070,7 @@ function b9(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
35070
35070
|
after_update: [],
|
|
35071
35071
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
35072
35072
|
// everything else
|
|
35073
|
-
callbacks:
|
|
35073
|
+
callbacks: W4(),
|
|
35074
35074
|
dirty: a,
|
|
35075
35075
|
skip_bound: !1,
|
|
35076
35076
|
root: t.target || c.$$.root
|
|
@@ -35082,7 +35082,7 @@ function b9(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
35082
35082
|
return u.ctx && i(u.ctx[h], u.ctx[h] = g) && (!u.skip_bound && u.bound[h] && u.bound[h](g), l && l$(e, h)), f;
|
|
35083
35083
|
}) : [], u.update(), l = !0, gs(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
35084
35084
|
if (t.hydrate) {
|
|
35085
|
-
const h =
|
|
35085
|
+
const h = WF(t.target);
|
|
35086
35086
|
u.fragment && u.fragment.l(h), h.forEach(ms);
|
|
35087
35087
|
} else
|
|
35088
35088
|
u.fragment && u.fragment.c();
|
|
@@ -35803,7 +35803,7 @@ const M$ = async () => {
|
|
|
35803
35803
|
if (t && hr.set(t), e && Gn.set(e), ea)
|
|
35804
35804
|
ea && ea.style.removeProperty("display");
|
|
35805
35805
|
else {
|
|
35806
|
-
const r = (await import("./App-
|
|
35806
|
+
const r = (await import("./App-C8xpwOk-.js").then((n) => n.A)).default;
|
|
35807
35807
|
nh = new r({ target: document.body }), ea = document.getElementById("cpui");
|
|
35808
35808
|
}
|
|
35809
35809
|
}, L$ = () => {
|
|
@@ -35812,7 +35812,7 @@ const M$ = async () => {
|
|
|
35812
35812
|
if (ra)
|
|
35813
35813
|
Js == null || Js.$set({ styles: e, navConfig: t }), ra && ra.style.removeProperty("display");
|
|
35814
35814
|
else {
|
|
35815
|
-
const r = (await import("./Nav-
|
|
35815
|
+
const r = (await import("./Nav-Bckl5DJP.js")).default;
|
|
35816
35816
|
Js = new r({
|
|
35817
35817
|
target: document.body,
|
|
35818
35818
|
props: { styles: e, navConfig: t }
|
|
@@ -35895,10 +35895,10 @@ function z$(e) {
|
|
|
35895
35895
|
var ih = { exports: {} };
|
|
35896
35896
|
ih.exports;
|
|
35897
35897
|
var o_;
|
|
35898
|
-
function
|
|
35898
|
+
function j$() {
|
|
35899
35899
|
return o_ || (o_ = 1, function(e, t) {
|
|
35900
|
-
var r = 200, n = "__lodash_hash_undefined__", i = 800, s = 16, o = 9007199254740991, a = "[object Arguments]", c = "[object Array]", u = "[object AsyncFunction]", l = "[object Boolean]", h = "[object Date]", f = "[object Error]", d = "[object Function]", g = "[object GeneratorFunction]", w = "[object Map]", y = "[object Number]", _ = "[object Null]", C = "[object Object]", R = "[object Proxy]", x = "[object RegExp]", T = "[object Set]", U = "[object String]", H = "[object Undefined]", $ = "[object WeakMap]",
|
|
35901
|
-
gt[q] = gt[rt] = gt[ct] = gt[St] = gt[z] = gt[Q] = gt[nt] = gt[at] = gt[lt] = !0, gt[a] = gt[c] = gt[
|
|
35900
|
+
var r = 200, n = "__lodash_hash_undefined__", i = 800, s = 16, o = 9007199254740991, a = "[object Arguments]", c = "[object Array]", u = "[object AsyncFunction]", l = "[object Boolean]", h = "[object Date]", f = "[object Error]", d = "[object Function]", g = "[object GeneratorFunction]", w = "[object Map]", y = "[object Number]", _ = "[object Null]", C = "[object Object]", R = "[object Proxy]", x = "[object RegExp]", T = "[object Set]", U = "[object String]", H = "[object Undefined]", $ = "[object WeakMap]", W = "[object ArrayBuffer]", J = "[object DataView]", q = "[object Float32Array]", rt = "[object Float64Array]", ct = "[object Int8Array]", St = "[object Int16Array]", z = "[object Int32Array]", Q = "[object Uint8Array]", nt = "[object Uint8ClampedArray]", at = "[object Uint16Array]", lt = "[object Uint32Array]", ht = /[\\^$.*+?()[\]{}|]/g, Bt = /^\[object .+?Constructor\]$/, Zt = /^(?:0|[1-9]\d*)$/, gt = {};
|
|
35901
|
+
gt[q] = gt[rt] = gt[ct] = gt[St] = gt[z] = gt[Q] = gt[nt] = gt[at] = gt[lt] = !0, gt[a] = gt[c] = gt[W] = gt[l] = gt[J] = gt[h] = gt[f] = gt[d] = gt[w] = gt[y] = gt[C] = gt[x] = gt[T] = gt[U] = gt[$] = !1;
|
|
35902
35902
|
var yt = typeof globalThis == "object" && globalThis && globalThis.Object === Object && globalThis, Ut = typeof self == "object" && self && self.Object === Object && self, dt = yt || Ut || Function("return this")(), we = t && !t.nodeType && t, be = we && !0 && e && !e.nodeType && e, Te = be && be.exports === we, ze = Te && yt.process, xe = function() {
|
|
35903
35903
|
try {
|
|
35904
35904
|
var I = be && be.require && be.require("util").types;
|
|
@@ -35929,7 +35929,7 @@ function W$() {
|
|
|
35929
35929
|
return I(P);
|
|
35930
35930
|
};
|
|
35931
35931
|
}
|
|
35932
|
-
function
|
|
35932
|
+
function je(I, P) {
|
|
35933
35933
|
return I == null ? void 0 : I[P];
|
|
35934
35934
|
}
|
|
35935
35935
|
function Br(I, P) {
|
|
@@ -35937,14 +35937,14 @@ function W$() {
|
|
|
35937
35937
|
return I(P(F));
|
|
35938
35938
|
};
|
|
35939
35939
|
}
|
|
35940
|
-
var Yn = Array.prototype, En = Function.prototype,
|
|
35940
|
+
var Yn = Array.prototype, En = Function.prototype, We = Object.prototype, Ur = dt["__core-js_shared__"], Si = En.toString, Rr = We.hasOwnProperty, Ci = function() {
|
|
35941
35941
|
var I = /[^.]+$/.exec(Ur && Ur.keys && Ur.keys.IE_PROTO || "");
|
|
35942
35942
|
return I ? "Symbol(src)_1." + I : "";
|
|
35943
|
-
}(), Ae =
|
|
35943
|
+
}(), Ae = We.toString, Lr = Si.call(Object), Hu = RegExp(
|
|
35944
35944
|
"^" + Si.call(Rr).replace(ht, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
35945
35945
|
), or = Te ? dt.Buffer : void 0, wo = dt.Symbol, A = dt.Uint8Array;
|
|
35946
35946
|
or && or.allocUnsafe;
|
|
35947
|
-
var p = Br(Object.getPrototypeOf, Object), m = Object.create, S =
|
|
35947
|
+
var p = Br(Object.getPrototypeOf, Object), m = Object.create, S = We.propertyIsEnumerable, N = Yn.splice, M = wo ? wo.toStringTag : void 0, G = function() {
|
|
35948
35948
|
try {
|
|
35949
35949
|
var I = Nm(Object, "defineProperty");
|
|
35950
35950
|
return I({}, "", {}), I;
|
|
@@ -36066,10 +36066,10 @@ function W$() {
|
|
|
36066
36066
|
function z9(I) {
|
|
36067
36067
|
return this.__data__.get(I);
|
|
36068
36068
|
}
|
|
36069
|
-
function
|
|
36069
|
+
function j9(I) {
|
|
36070
36070
|
return this.__data__.has(I);
|
|
36071
36071
|
}
|
|
36072
|
-
function
|
|
36072
|
+
function W9(I, P) {
|
|
36073
36073
|
var F = this.__data__;
|
|
36074
36074
|
if (F instanceof Ii) {
|
|
36075
36075
|
var ut = F.__data__;
|
|
@@ -36079,7 +36079,7 @@ function W$() {
|
|
|
36079
36079
|
}
|
|
36080
36080
|
return F.set(I, P), this.size = F.size, this;
|
|
36081
36081
|
}
|
|
36082
|
-
Ma.prototype.clear = G9, Ma.prototype.delete = H9, Ma.prototype.get = z9, Ma.prototype.has =
|
|
36082
|
+
Ma.prototype.clear = G9, Ma.prototype.delete = H9, Ma.prototype.get = z9, Ma.prototype.has = j9, Ma.prototype.set = W9;
|
|
36083
36083
|
function V9(I, P) {
|
|
36084
36084
|
var F = Bm(I), ut = !F && Mm(I), Tt = !F && !ut && N2(I), te = !F && !ut && !Tt && M2(I), ue = F || ut || Tt || te, Ht = ue ? Qe(I.length, String) : [], le = Ht.length;
|
|
36085
36085
|
for (var Sn in I)
|
|
@@ -36151,12 +36151,12 @@ function W$() {
|
|
|
36151
36151
|
Tm(I, F, Sn);
|
|
36152
36152
|
return;
|
|
36153
36153
|
}
|
|
36154
|
-
var Dr = te ? te(Ht, le, F + "", I, P, ue) : void 0,
|
|
36155
|
-
if (
|
|
36154
|
+
var Dr = te ? te(Ht, le, F + "", I, P, ue) : void 0, ju = Dr === void 0;
|
|
36155
|
+
if (ju) {
|
|
36156
36156
|
var Dm = Bm(le), Fm = !Dm && N2(le), L2 = !Dm && !Fm && M2(le);
|
|
36157
|
-
Dr = le, Dm || Fm || L2 ? Bm(Ht) ? Dr = Ht : wS(Ht) ? Dr = iS(Ht) : Fm ? (
|
|
36157
|
+
Dr = le, Dm || Fm || L2 ? Bm(Ht) ? Dr = Ht : wS(Ht) ? Dr = iS(Ht) : Fm ? (ju = !1, Dr = eS(le)) : L2 ? (ju = !1, Dr = nS(le)) : Dr = [] : bS(le) || Mm(le) ? (Dr = Ht, Mm(Ht) ? Dr = _S(Ht) : (!_o(Ht) || Lm(Ht)) && (Dr = uS(le))) : ju = !1;
|
|
36158
36158
|
}
|
|
36159
|
-
|
|
36159
|
+
ju && (ue.set(le, Dr), Tt(Dr, le, ut, te, ue), ue.delete(le)), Tm(I, F, Dr);
|
|
36160
36160
|
}
|
|
36161
36161
|
function X9(I, P) {
|
|
36162
36162
|
return mS(gS(I, P, U2), I + "");
|
|
@@ -36220,7 +36220,7 @@ function W$() {
|
|
|
36220
36220
|
return hS(P) ? F[typeof P == "string" ? "string" : "hash"] : F.map;
|
|
36221
36221
|
}
|
|
36222
36222
|
function Nm(I, P) {
|
|
36223
|
-
var F =
|
|
36223
|
+
var F = je(I, P);
|
|
36224
36224
|
return J9(F) ? F : void 0;
|
|
36225
36225
|
}
|
|
36226
36226
|
function cS(I) {
|
|
@@ -36254,7 +36254,7 @@ function W$() {
|
|
|
36254
36254
|
return !!Ci && Ci in I;
|
|
36255
36255
|
}
|
|
36256
36256
|
function x2(I) {
|
|
36257
|
-
var P = I && I.constructor, F = typeof P == "function" && P.prototype ||
|
|
36257
|
+
var P = I && I.constructor, F = typeof P == "function" && P.prototype || We;
|
|
36258
36258
|
return I === F;
|
|
36259
36259
|
}
|
|
36260
36260
|
function pS(I) {
|
|
@@ -36371,8 +36371,8 @@ function W$() {
|
|
|
36371
36371
|
e.exports = AS;
|
|
36372
36372
|
}(ih, ih.exports)), ih.exports;
|
|
36373
36373
|
}
|
|
36374
|
-
var
|
|
36375
|
-
const V$ = /* @__PURE__ */ z$(
|
|
36374
|
+
var W$ = j$();
|
|
36375
|
+
const V$ = /* @__PURE__ */ z$(W$), q$ = {
|
|
36376
36376
|
testnet: {
|
|
36377
36377
|
credenza: {
|
|
36378
36378
|
apiUrl: "https://api.testnets.credenza.online",
|
|
@@ -36661,7 +36661,7 @@ async function oG(e, t) {
|
|
|
36661
36661
|
}
|
|
36662
36662
|
const Tn = class Tn {
|
|
36663
36663
|
constructor(t) {
|
|
36664
|
-
if (this.accessToken = null, this.isLoggedIn = !1, this.user = null, this.login = $$, this.jwtLogin = G$, this.logout = H$, this.openUI = U$, this.close = B$, this.toastAlert = F$, this.destroy = M$, this.hideNavigation = L$, this.showNavigation = D$, this.configurePassport = eG, this.init = rG, this.getCREDContract = o9, this.checkMembership = CF, this.sendTokens = RF, this.getWeb3Provider = EF, this.getAddress = wi, this.sendNft = kF, this.switchChain = SF, this.getBalance = OF, this.requestAirDrop = IF, this.updateProfile = NF, this.confirmAccount = PF, this.getUser = Im, this.requestLoyaltyPoints = oG, this.getTokens = C9, this.getNfts = sG, this.on =
|
|
36664
|
+
if (this.accessToken = null, this.isLoggedIn = !1, this.user = null, this.login = $$, this.jwtLogin = G$, this.logout = H$, this.openUI = U$, this.close = B$, this.toastAlert = F$, this.destroy = M$, this.hideNavigation = L$, this.showNavigation = D$, this.configurePassport = eG, this.init = rG, this.getCREDContract = o9, this.checkMembership = CF, this.sendTokens = RF, this.getWeb3Provider = EF, this.getAddress = wi, this.sendNft = kF, this.switchChain = SF, this.getBalance = OF, this.requestAirDrop = IF, this.updateProfile = NF, this.confirmAccount = PF, this.getUser = Im, this.requestLoyaltyPoints = oG, this.getTokens = C9, this.getNfts = sG, this.on = WD, this.once = jD, this.destroy(), t != null && t.chainId && !Object.values(et).includes(t == null ? void 0 : t.chainId))
|
|
36665
36665
|
throw new Error('Unsupported ChainId. Check "Passport.chains" for available chains.');
|
|
36666
36666
|
this.ethers = Kn, this.configurePassport(t), DL(this.networkType), om.set({
|
|
36667
36667
|
// ui
|
|
@@ -36715,12 +36715,12 @@ export {
|
|
|
36715
36715
|
iA as $,
|
|
36716
36716
|
eH as A,
|
|
36717
36717
|
JG as B,
|
|
36718
|
-
|
|
36718
|
+
jG as C,
|
|
36719
36719
|
aH as D,
|
|
36720
36720
|
YG as E,
|
|
36721
|
-
|
|
36721
|
+
WG as F,
|
|
36722
36722
|
hv as G,
|
|
36723
|
-
|
|
36723
|
+
jS as H,
|
|
36724
36724
|
LG as I,
|
|
36725
36725
|
Pn as J,
|
|
36726
36726
|
zi as K,
|
|
@@ -36742,13 +36742,13 @@ export {
|
|
|
36742
36742
|
sA as _,
|
|
36743
36743
|
zG as a,
|
|
36744
36744
|
ex as a$,
|
|
36745
|
-
|
|
36745
|
+
WD as a0,
|
|
36746
36746
|
An as a1,
|
|
36747
36747
|
wi as a2,
|
|
36748
36748
|
Kn as a3,
|
|
36749
36749
|
vn as a4,
|
|
36750
36750
|
rx as a5,
|
|
36751
|
-
|
|
36751
|
+
Wt as a6,
|
|
36752
36752
|
me as a7,
|
|
36753
36753
|
iC as a8,
|
|
36754
36754
|
cG as a9,
|
|
@@ -36782,14 +36782,14 @@ export {
|
|
|
36782
36782
|
kS as aa,
|
|
36783
36783
|
V0 as ab,
|
|
36784
36784
|
KS as ac,
|
|
36785
|
-
|
|
36785
|
+
W0 as ad,
|
|
36786
36786
|
xG as ae,
|
|
36787
36787
|
TG as af,
|
|
36788
36788
|
KG as ag,
|
|
36789
36789
|
zS as ah,
|
|
36790
36790
|
Ea as ai,
|
|
36791
36791
|
av as aj,
|
|
36792
|
-
|
|
36792
|
+
WS as ak,
|
|
36793
36793
|
uv as al,
|
|
36794
36794
|
yG as am,
|
|
36795
36795
|
ZG as an,
|
|
@@ -36814,7 +36814,7 @@ export {
|
|
|
36814
36814
|
aC as b5,
|
|
36815
36815
|
Em as b6,
|
|
36816
36816
|
yH as b7,
|
|
36817
|
-
|
|
36817
|
+
jD as b8,
|
|
36818
36818
|
SH as b9,
|
|
36819
36819
|
EH as bA,
|
|
36820
36820
|
wH as bB,
|
|
@@ -36849,7 +36849,7 @@ export {
|
|
|
36849
36849
|
HG as d,
|
|
36850
36850
|
qS as e,
|
|
36851
36851
|
cv as f,
|
|
36852
|
-
|
|
36852
|
+
jn as g,
|
|
36853
36853
|
aa as h,
|
|
36854
36854
|
Sg as i,
|
|
36855
36855
|
_d as j,
|
|
@@ -36870,4 +36870,4 @@ export {
|
|
|
36870
36870
|
QG as y,
|
|
36871
36871
|
BG as z
|
|
36872
36872
|
};
|
|
36873
|
-
//# sourceMappingURL=index-
|
|
36873
|
+
//# sourceMappingURL=index-mWTLIlJz.js.map
|