react-web3-storage 2.0.34 → 2.0.35
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/{ReownAuthentication-ZWJVb5u8.mjs → ReownAuthentication-DmF4FwpI.mjs} +1 -1
- package/dist/{ReownAuthentication-_EMKUe4O.js → ReownAuthentication-DrsRiFsw.js} +1 -1
- package/dist/{SwapController-CNHVjC6V.mjs → SwapController-BA3Mmv6U.mjs} +1 -1
- package/dist/{SwapController-75y039lY.js → SwapController-CtDqSBuk.js} +1 -1
- package/dist/{ccip-CQrFYKlN.mjs → ccip-CCRxV7f9.mjs} +2 -2
- package/dist/{ccip-BgoVuN3u.js → ccip-CsiJPpjq.js} +1 -1
- package/dist/{data-capture-CgKKCS0j.mjs → data-capture-CbMqPjB2.mjs} +3 -3
- package/dist/{data-capture-hbDyOOyJ.js → data-capture-D111beXH.js} +1 -1
- package/dist/{email-DYvAHYik.js → email-BGJ1Ik0N.js} +1 -1
- package/dist/{email-C2N4HkZQ.mjs → email-Dz0MnmCa.mjs} +2 -2
- package/dist/{embedded-wallet-CYNDQvBG.js → embedded-wallet-0JIxQupj.js} +1 -1
- package/dist/{embedded-wallet-_7JcZAOC.mjs → embedded-wallet-DSMT0c30.mjs} +1 -1
- package/dist/{features-JvQHn7sG.mjs → features-7finTk-r.mjs} +1 -1
- package/dist/{features-BA8f0aFu.js → features-BPWLVd9S.js} +1 -1
- package/dist/{index-DVNi_N99.mjs → index-B1-7XCca.mjs} +2 -2
- package/dist/{index-DzjJtqrG.js → index-B6SqR5X-.js} +1 -1
- package/dist/{index-BNobBA-8.js → index-BOmQiHqX.js} +12 -12
- package/dist/{index-BHukHFIh.mjs → index-Bs5Hwpeg.mjs} +260 -262
- package/dist/{index-CgI_Ukj5.mjs → index-BsfA-fqT.mjs} +3 -3
- package/dist/{index-Ccy2zz9q.mjs → index-C2D_2aWG.mjs} +1 -1
- package/dist/{index-Clu0wU1d.mjs → index-CI9nHJVP.mjs} +1 -1
- package/dist/{index-B7Og0OLg.js → index-Cgiw4K6H.js} +1 -1
- package/dist/{index-Bxg-paEQ.mjs → index-Cladcvka.mjs} +2 -2
- package/dist/{index-xYJPqvul.js → index-DGVySovA.js} +1 -1
- package/dist/{index-C_fopi0u.js → index-DQhltFzy.js} +1 -1
- package/dist/{index-CLUlCRLy.js → index-Hg-8iV6d.js} +1 -1
- package/dist/{index-mvH0tD6I.js → index-LzMGj7o_.js} +1 -1
- package/dist/{index-CjS2YG3n.js → index-Up6jA_y_.js} +1 -1
- package/dist/{index-DnKQlXMR.mjs → index-VObUciYl.mjs} +1 -1
- package/dist/{index-B--AiWBy.mjs → index-_gmT4On6.mjs} +1 -1
- package/dist/{index-CASDFBE7.js → index-_rRS63pB.js} +1 -1
- package/dist/{index-DIxai2A2.mjs → index-hHQk_s8g.mjs} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{onramp-zhj-U9X5.mjs → onramp-CgVWa28A.mjs} +1 -1
- package/dist/{onramp-DlA5BSaX.js → onramp-IcZXc2i3.js} +1 -1
- package/dist/{parseSignature-ZB66mPGB.mjs → parseSignature-By8PXVDg.mjs} +2 -2
- package/dist/{parseSignature-CWAxHYP1.js → parseSignature-DVr70VMP.js} +2 -2
- package/dist/{pay-with-exchange-Czbx9cbv.mjs → pay-with-exchange-47ISCMF6.mjs} +2 -2
- package/dist/{pay-with-exchange-BQaMDGKp.js → pay-with-exchange-p7mOOlIN.js} +1 -1
- package/dist/{receive-VPGRuO6J.mjs → receive-F0-tt1hK.mjs} +1 -1
- package/dist/{receive-BA736NNd.js → receive-lImJlquq.js} +1 -1
- package/dist/{send-xiZMc6dE.mjs → send-CLnW7rK9.mjs} +4 -4
- package/dist/{send-BhagKj7q.js → send-D4xktOzX.js} +1 -1
- package/dist/{socials-BX3hluqS.mjs → socials-BFktHcGP.mjs} +1 -1
- package/dist/{socials-B-mhVCLM.js → socials-NSZL9FjG.js} +1 -1
- package/dist/{swaps-DQYnz8sb.js → swaps-BexZV1do.js} +1 -1
- package/dist/{swaps-BFl7r_MZ.mjs → swaps-DXtK1J0M.mjs} +3 -3
- package/dist/{transactions-BooVIWm5.mjs → transactions-BfYEKby4.mjs} +1 -1
- package/dist/{transactions-DWsNckfd.js → transactions-CpJxKjut.js} +1 -1
- package/dist/{w3m-modal-BLoHPTsO.mjs → w3m-modal-BLXtQ_or.mjs} +3 -3
- package/dist/{w3m-modal-D6NKq8XS.js → w3m-modal-CwMsjoil.js} +1 -1
- package/package.json +1 -1
|
@@ -489,24 +489,24 @@ var ZI = { exports: {} };
|
|
|
489
489
|
return O ? lt : lt.endOf(l);
|
|
490
490
|
}, Y = function(Ee, Be) {
|
|
491
491
|
return z.w(R.toDate()[Ee].apply(R.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Be)), R);
|
|
492
|
-
}, le = this.$W, ne = this.$M, ae = this.$D,
|
|
492
|
+
}, le = this.$W, ne = this.$M, ae = this.$D, xe = "set" + (this.$u ? "UTC" : "");
|
|
493
493
|
switch ($) {
|
|
494
494
|
case f:
|
|
495
495
|
return O ? G(1, 0) : G(31, 11);
|
|
496
496
|
case d:
|
|
497
497
|
return O ? G(1, ne) : G(0, ne + 1);
|
|
498
498
|
case u:
|
|
499
|
-
var
|
|
500
|
-
return G(O ? ae -
|
|
499
|
+
var ye = this.$locale().weekStart || 0, Ve = (le < ye ? le + 7 : le) - ye;
|
|
500
|
+
return G(O ? ae - Ve : ae + (6 - Ve), ne);
|
|
501
501
|
case l:
|
|
502
502
|
case g:
|
|
503
|
-
return Y(
|
|
503
|
+
return Y(xe + "Hours", 0);
|
|
504
504
|
case c:
|
|
505
|
-
return Y(
|
|
505
|
+
return Y(xe + "Minutes", 1);
|
|
506
506
|
case a:
|
|
507
|
-
return Y(
|
|
507
|
+
return Y(xe + "Seconds", 2);
|
|
508
508
|
case o:
|
|
509
|
-
return Y(
|
|
509
|
+
return Y(xe + "Milliseconds", 3);
|
|
510
510
|
default:
|
|
511
511
|
return this.clone();
|
|
512
512
|
}
|
|
@@ -541,11 +541,11 @@ var ZI = { exports: {} };
|
|
|
541
541
|
}, w.format = function(E) {
|
|
542
542
|
var T = this, R = this.$locale();
|
|
543
543
|
if (!this.isValid()) return R.invalidDate || p;
|
|
544
|
-
var O = E || "YYYY-MM-DDTHH:mm:ssZ", $ = z.z(this), G = this.$H, Y = this.$m, le = this.$M, ne = R.weekdays, ae = R.months,
|
|
544
|
+
var O = E || "YYYY-MM-DDTHH:mm:ssZ", $ = z.z(this), G = this.$H, Y = this.$m, le = this.$M, ne = R.weekdays, ae = R.months, xe = R.meridiem, ye = function(Be, lt, bt, ut) {
|
|
545
545
|
return Be && (Be[lt] || Be(T, O)) || bt[lt].slice(0, ut);
|
|
546
|
-
},
|
|
546
|
+
}, Ve = function(Be) {
|
|
547
547
|
return z.s(G % 12 || 12, Be, "0");
|
|
548
|
-
}, Ee =
|
|
548
|
+
}, Ee = xe || function(Be, lt, bt) {
|
|
549
549
|
var ut = Be < 12 ? "AM" : "PM";
|
|
550
550
|
return bt ? ut.toLowerCase() : ut;
|
|
551
551
|
};
|
|
@@ -561,9 +561,9 @@ var ZI = { exports: {} };
|
|
|
561
561
|
case "MM":
|
|
562
562
|
return z.s(le + 1, 2, "0");
|
|
563
563
|
case "MMM":
|
|
564
|
-
return
|
|
564
|
+
return ye(R.monthsShort, le, ae, 3);
|
|
565
565
|
case "MMMM":
|
|
566
|
-
return
|
|
566
|
+
return ye(ae, le);
|
|
567
567
|
case "D":
|
|
568
568
|
return T.$D;
|
|
569
569
|
case "DD":
|
|
@@ -571,9 +571,9 @@ var ZI = { exports: {} };
|
|
|
571
571
|
case "d":
|
|
572
572
|
return String(T.$W);
|
|
573
573
|
case "dd":
|
|
574
|
-
return
|
|
574
|
+
return ye(R.weekdaysMin, T.$W, ne, 2);
|
|
575
575
|
case "ddd":
|
|
576
|
-
return
|
|
576
|
+
return ye(R.weekdaysShort, T.$W, ne, 3);
|
|
577
577
|
case "dddd":
|
|
578
578
|
return ne[T.$W];
|
|
579
579
|
case "H":
|
|
@@ -581,9 +581,9 @@ var ZI = { exports: {} };
|
|
|
581
581
|
case "HH":
|
|
582
582
|
return z.s(G, 2, "0");
|
|
583
583
|
case "h":
|
|
584
|
-
return
|
|
584
|
+
return Ve(1);
|
|
585
585
|
case "hh":
|
|
586
|
-
return
|
|
586
|
+
return Ve(2);
|
|
587
587
|
case "a":
|
|
588
588
|
return Ee(G, Y, !0);
|
|
589
589
|
case "A":
|
|
@@ -3263,10 +3263,10 @@ class Ir {
|
|
|
3263
3263
|
const Qe = Object.freeze({
|
|
3264
3264
|
status: "aborted"
|
|
3265
3265
|
}), sT = (t) => ({ status: "dirty", value: t }), zr = (t) => ({ status: "valid", value: t }), gv = (t) => t.status === "aborted", mv = (t) => t.status === "dirty", nm = (t) => t.status === "valid", Ay = (t) => typeof Promise < "u" && t instanceof Promise;
|
|
3266
|
-
var
|
|
3266
|
+
var Ge;
|
|
3267
3267
|
(function(t) {
|
|
3268
3268
|
t.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, t.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
3269
|
-
})(
|
|
3269
|
+
})(Ge || (Ge = {}));
|
|
3270
3270
|
class ua {
|
|
3271
3271
|
constructor(e, n, r, i) {
|
|
3272
3272
|
this._cachedPath = [], this.parent = e, this.data = n, this._path = r, this._key = i;
|
|
@@ -3616,7 +3616,7 @@ class uo extends st {
|
|
|
3616
3616
|
return this.refinement((i) => e.test(i), {
|
|
3617
3617
|
validation: n,
|
|
3618
3618
|
code: pe.invalid_string,
|
|
3619
|
-
...
|
|
3619
|
+
...Ge.errToObj(r)
|
|
3620
3620
|
});
|
|
3621
3621
|
}
|
|
3622
3622
|
_addCheck(e) {
|
|
@@ -3626,28 +3626,28 @@ class uo extends st {
|
|
|
3626
3626
|
});
|
|
3627
3627
|
}
|
|
3628
3628
|
email(e) {
|
|
3629
|
-
return this._addCheck({ kind: "email", ...
|
|
3629
|
+
return this._addCheck({ kind: "email", ...Ge.errToObj(e) });
|
|
3630
3630
|
}
|
|
3631
3631
|
url(e) {
|
|
3632
|
-
return this._addCheck({ kind: "url", ...
|
|
3632
|
+
return this._addCheck({ kind: "url", ...Ge.errToObj(e) });
|
|
3633
3633
|
}
|
|
3634
3634
|
emoji(e) {
|
|
3635
|
-
return this._addCheck({ kind: "emoji", ...
|
|
3635
|
+
return this._addCheck({ kind: "emoji", ...Ge.errToObj(e) });
|
|
3636
3636
|
}
|
|
3637
3637
|
uuid(e) {
|
|
3638
|
-
return this._addCheck({ kind: "uuid", ...
|
|
3638
|
+
return this._addCheck({ kind: "uuid", ...Ge.errToObj(e) });
|
|
3639
3639
|
}
|
|
3640
3640
|
cuid(e) {
|
|
3641
|
-
return this._addCheck({ kind: "cuid", ...
|
|
3641
|
+
return this._addCheck({ kind: "cuid", ...Ge.errToObj(e) });
|
|
3642
3642
|
}
|
|
3643
3643
|
cuid2(e) {
|
|
3644
|
-
return this._addCheck({ kind: "cuid2", ...
|
|
3644
|
+
return this._addCheck({ kind: "cuid2", ...Ge.errToObj(e) });
|
|
3645
3645
|
}
|
|
3646
3646
|
ulid(e) {
|
|
3647
|
-
return this._addCheck({ kind: "ulid", ...
|
|
3647
|
+
return this._addCheck({ kind: "ulid", ...Ge.errToObj(e) });
|
|
3648
3648
|
}
|
|
3649
3649
|
ip(e) {
|
|
3650
|
-
return this._addCheck({ kind: "ip", ...
|
|
3650
|
+
return this._addCheck({ kind: "ip", ...Ge.errToObj(e) });
|
|
3651
3651
|
}
|
|
3652
3652
|
datetime(e) {
|
|
3653
3653
|
var n;
|
|
@@ -3660,14 +3660,14 @@ class uo extends st {
|
|
|
3660
3660
|
kind: "datetime",
|
|
3661
3661
|
precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
|
|
3662
3662
|
offset: (n = e == null ? void 0 : e.offset) !== null && n !== void 0 ? n : !1,
|
|
3663
|
-
...
|
|
3663
|
+
...Ge.errToObj(e == null ? void 0 : e.message)
|
|
3664
3664
|
});
|
|
3665
3665
|
}
|
|
3666
3666
|
regex(e, n) {
|
|
3667
3667
|
return this._addCheck({
|
|
3668
3668
|
kind: "regex",
|
|
3669
3669
|
regex: e,
|
|
3670
|
-
...
|
|
3670
|
+
...Ge.errToObj(n)
|
|
3671
3671
|
});
|
|
3672
3672
|
}
|
|
3673
3673
|
includes(e, n) {
|
|
@@ -3675,42 +3675,42 @@ class uo extends st {
|
|
|
3675
3675
|
kind: "includes",
|
|
3676
3676
|
value: e,
|
|
3677
3677
|
position: n == null ? void 0 : n.position,
|
|
3678
|
-
...
|
|
3678
|
+
...Ge.errToObj(n == null ? void 0 : n.message)
|
|
3679
3679
|
});
|
|
3680
3680
|
}
|
|
3681
3681
|
startsWith(e, n) {
|
|
3682
3682
|
return this._addCheck({
|
|
3683
3683
|
kind: "startsWith",
|
|
3684
3684
|
value: e,
|
|
3685
|
-
...
|
|
3685
|
+
...Ge.errToObj(n)
|
|
3686
3686
|
});
|
|
3687
3687
|
}
|
|
3688
3688
|
endsWith(e, n) {
|
|
3689
3689
|
return this._addCheck({
|
|
3690
3690
|
kind: "endsWith",
|
|
3691
3691
|
value: e,
|
|
3692
|
-
...
|
|
3692
|
+
...Ge.errToObj(n)
|
|
3693
3693
|
});
|
|
3694
3694
|
}
|
|
3695
3695
|
min(e, n) {
|
|
3696
3696
|
return this._addCheck({
|
|
3697
3697
|
kind: "min",
|
|
3698
3698
|
value: e,
|
|
3699
|
-
...
|
|
3699
|
+
...Ge.errToObj(n)
|
|
3700
3700
|
});
|
|
3701
3701
|
}
|
|
3702
3702
|
max(e, n) {
|
|
3703
3703
|
return this._addCheck({
|
|
3704
3704
|
kind: "max",
|
|
3705
3705
|
value: e,
|
|
3706
|
-
...
|
|
3706
|
+
...Ge.errToObj(n)
|
|
3707
3707
|
});
|
|
3708
3708
|
}
|
|
3709
3709
|
length(e, n) {
|
|
3710
3710
|
return this._addCheck({
|
|
3711
3711
|
kind: "length",
|
|
3712
3712
|
value: e,
|
|
3713
|
-
...
|
|
3713
|
+
...Ge.errToObj(n)
|
|
3714
3714
|
});
|
|
3715
3715
|
}
|
|
3716
3716
|
/**
|
|
@@ -3718,7 +3718,7 @@ class uo extends st {
|
|
|
3718
3718
|
* @see {@link ZodString.min}
|
|
3719
3719
|
*/
|
|
3720
3720
|
nonempty(e) {
|
|
3721
|
-
return this.min(1,
|
|
3721
|
+
return this.min(1, Ge.errToObj(e));
|
|
3722
3722
|
}
|
|
3723
3723
|
trim() {
|
|
3724
3724
|
return new uo({
|
|
@@ -3837,16 +3837,16 @@ class zl extends st {
|
|
|
3837
3837
|
return { status: i.value, value: e.data };
|
|
3838
3838
|
}
|
|
3839
3839
|
gte(e, n) {
|
|
3840
|
-
return this.setLimit("min", e, !0,
|
|
3840
|
+
return this.setLimit("min", e, !0, Ge.toString(n));
|
|
3841
3841
|
}
|
|
3842
3842
|
gt(e, n) {
|
|
3843
|
-
return this.setLimit("min", e, !1,
|
|
3843
|
+
return this.setLimit("min", e, !1, Ge.toString(n));
|
|
3844
3844
|
}
|
|
3845
3845
|
lte(e, n) {
|
|
3846
|
-
return this.setLimit("max", e, !0,
|
|
3846
|
+
return this.setLimit("max", e, !0, Ge.toString(n));
|
|
3847
3847
|
}
|
|
3848
3848
|
lt(e, n) {
|
|
3849
|
-
return this.setLimit("max", e, !1,
|
|
3849
|
+
return this.setLimit("max", e, !1, Ge.toString(n));
|
|
3850
3850
|
}
|
|
3851
3851
|
setLimit(e, n, r, i) {
|
|
3852
3852
|
return new zl({
|
|
@@ -3857,7 +3857,7 @@ class zl extends st {
|
|
|
3857
3857
|
kind: e,
|
|
3858
3858
|
value: n,
|
|
3859
3859
|
inclusive: r,
|
|
3860
|
-
message:
|
|
3860
|
+
message: Ge.toString(i)
|
|
3861
3861
|
}
|
|
3862
3862
|
]
|
|
3863
3863
|
});
|
|
@@ -3871,7 +3871,7 @@ class zl extends st {
|
|
|
3871
3871
|
int(e) {
|
|
3872
3872
|
return this._addCheck({
|
|
3873
3873
|
kind: "int",
|
|
3874
|
-
message:
|
|
3874
|
+
message: Ge.toString(e)
|
|
3875
3875
|
});
|
|
3876
3876
|
}
|
|
3877
3877
|
positive(e) {
|
|
@@ -3879,7 +3879,7 @@ class zl extends st {
|
|
|
3879
3879
|
kind: "min",
|
|
3880
3880
|
value: 0,
|
|
3881
3881
|
inclusive: !1,
|
|
3882
|
-
message:
|
|
3882
|
+
message: Ge.toString(e)
|
|
3883
3883
|
});
|
|
3884
3884
|
}
|
|
3885
3885
|
negative(e) {
|
|
@@ -3887,7 +3887,7 @@ class zl extends st {
|
|
|
3887
3887
|
kind: "max",
|
|
3888
3888
|
value: 0,
|
|
3889
3889
|
inclusive: !1,
|
|
3890
|
-
message:
|
|
3890
|
+
message: Ge.toString(e)
|
|
3891
3891
|
});
|
|
3892
3892
|
}
|
|
3893
3893
|
nonpositive(e) {
|
|
@@ -3895,7 +3895,7 @@ class zl extends st {
|
|
|
3895
3895
|
kind: "max",
|
|
3896
3896
|
value: 0,
|
|
3897
3897
|
inclusive: !0,
|
|
3898
|
-
message:
|
|
3898
|
+
message: Ge.toString(e)
|
|
3899
3899
|
});
|
|
3900
3900
|
}
|
|
3901
3901
|
nonnegative(e) {
|
|
@@ -3903,20 +3903,20 @@ class zl extends st {
|
|
|
3903
3903
|
kind: "min",
|
|
3904
3904
|
value: 0,
|
|
3905
3905
|
inclusive: !0,
|
|
3906
|
-
message:
|
|
3906
|
+
message: Ge.toString(e)
|
|
3907
3907
|
});
|
|
3908
3908
|
}
|
|
3909
3909
|
multipleOf(e, n) {
|
|
3910
3910
|
return this._addCheck({
|
|
3911
3911
|
kind: "multipleOf",
|
|
3912
3912
|
value: e,
|
|
3913
|
-
message:
|
|
3913
|
+
message: Ge.toString(n)
|
|
3914
3914
|
});
|
|
3915
3915
|
}
|
|
3916
3916
|
finite(e) {
|
|
3917
3917
|
return this._addCheck({
|
|
3918
3918
|
kind: "finite",
|
|
3919
|
-
message:
|
|
3919
|
+
message: Ge.toString(e)
|
|
3920
3920
|
});
|
|
3921
3921
|
}
|
|
3922
3922
|
safe(e) {
|
|
@@ -3924,12 +3924,12 @@ class zl extends st {
|
|
|
3924
3924
|
kind: "min",
|
|
3925
3925
|
inclusive: !0,
|
|
3926
3926
|
value: Number.MIN_SAFE_INTEGER,
|
|
3927
|
-
message:
|
|
3927
|
+
message: Ge.toString(e)
|
|
3928
3928
|
})._addCheck({
|
|
3929
3929
|
kind: "max",
|
|
3930
3930
|
inclusive: !0,
|
|
3931
3931
|
value: Number.MAX_SAFE_INTEGER,
|
|
3932
|
-
message:
|
|
3932
|
+
message: Ge.toString(e)
|
|
3933
3933
|
});
|
|
3934
3934
|
}
|
|
3935
3935
|
get minValue() {
|
|
@@ -3999,16 +3999,16 @@ class Vl extends st {
|
|
|
3999
3999
|
return { status: i.value, value: e.data };
|
|
4000
4000
|
}
|
|
4001
4001
|
gte(e, n) {
|
|
4002
|
-
return this.setLimit("min", e, !0,
|
|
4002
|
+
return this.setLimit("min", e, !0, Ge.toString(n));
|
|
4003
4003
|
}
|
|
4004
4004
|
gt(e, n) {
|
|
4005
|
-
return this.setLimit("min", e, !1,
|
|
4005
|
+
return this.setLimit("min", e, !1, Ge.toString(n));
|
|
4006
4006
|
}
|
|
4007
4007
|
lte(e, n) {
|
|
4008
|
-
return this.setLimit("max", e, !0,
|
|
4008
|
+
return this.setLimit("max", e, !0, Ge.toString(n));
|
|
4009
4009
|
}
|
|
4010
4010
|
lt(e, n) {
|
|
4011
|
-
return this.setLimit("max", e, !1,
|
|
4011
|
+
return this.setLimit("max", e, !1, Ge.toString(n));
|
|
4012
4012
|
}
|
|
4013
4013
|
setLimit(e, n, r, i) {
|
|
4014
4014
|
return new Vl({
|
|
@@ -4019,7 +4019,7 @@ class Vl extends st {
|
|
|
4019
4019
|
kind: e,
|
|
4020
4020
|
value: n,
|
|
4021
4021
|
inclusive: r,
|
|
4022
|
-
message:
|
|
4022
|
+
message: Ge.toString(i)
|
|
4023
4023
|
}
|
|
4024
4024
|
]
|
|
4025
4025
|
});
|
|
@@ -4035,7 +4035,7 @@ class Vl extends st {
|
|
|
4035
4035
|
kind: "min",
|
|
4036
4036
|
value: BigInt(0),
|
|
4037
4037
|
inclusive: !1,
|
|
4038
|
-
message:
|
|
4038
|
+
message: Ge.toString(e)
|
|
4039
4039
|
});
|
|
4040
4040
|
}
|
|
4041
4041
|
negative(e) {
|
|
@@ -4043,7 +4043,7 @@ class Vl extends st {
|
|
|
4043
4043
|
kind: "max",
|
|
4044
4044
|
value: BigInt(0),
|
|
4045
4045
|
inclusive: !1,
|
|
4046
|
-
message:
|
|
4046
|
+
message: Ge.toString(e)
|
|
4047
4047
|
});
|
|
4048
4048
|
}
|
|
4049
4049
|
nonpositive(e) {
|
|
@@ -4051,7 +4051,7 @@ class Vl extends st {
|
|
|
4051
4051
|
kind: "max",
|
|
4052
4052
|
value: BigInt(0),
|
|
4053
4053
|
inclusive: !0,
|
|
4054
|
-
message:
|
|
4054
|
+
message: Ge.toString(e)
|
|
4055
4055
|
});
|
|
4056
4056
|
}
|
|
4057
4057
|
nonnegative(e) {
|
|
@@ -4059,14 +4059,14 @@ class Vl extends st {
|
|
|
4059
4059
|
kind: "min",
|
|
4060
4060
|
value: BigInt(0),
|
|
4061
4061
|
inclusive: !0,
|
|
4062
|
-
message:
|
|
4062
|
+
message: Ge.toString(e)
|
|
4063
4063
|
});
|
|
4064
4064
|
}
|
|
4065
4065
|
multipleOf(e, n) {
|
|
4066
4066
|
return this._addCheck({
|
|
4067
4067
|
kind: "multipleOf",
|
|
4068
4068
|
value: e,
|
|
4069
|
-
message:
|
|
4069
|
+
message: Ge.toString(n)
|
|
4070
4070
|
});
|
|
4071
4071
|
}
|
|
4072
4072
|
get minValue() {
|
|
@@ -4158,14 +4158,14 @@ class Fd extends st {
|
|
|
4158
4158
|
return this._addCheck({
|
|
4159
4159
|
kind: "min",
|
|
4160
4160
|
value: e.getTime(),
|
|
4161
|
-
message:
|
|
4161
|
+
message: Ge.toString(n)
|
|
4162
4162
|
});
|
|
4163
4163
|
}
|
|
4164
4164
|
max(e, n) {
|
|
4165
4165
|
return this._addCheck({
|
|
4166
4166
|
kind: "max",
|
|
4167
4167
|
value: e.getTime(),
|
|
4168
|
-
message:
|
|
4168
|
+
message: Ge.toString(n)
|
|
4169
4169
|
});
|
|
4170
4170
|
}
|
|
4171
4171
|
get minDate() {
|
|
@@ -4339,19 +4339,19 @@ class fo extends st {
|
|
|
4339
4339
|
min(e, n) {
|
|
4340
4340
|
return new fo({
|
|
4341
4341
|
...this._def,
|
|
4342
|
-
minLength: { value: e, message:
|
|
4342
|
+
minLength: { value: e, message: Ge.toString(n) }
|
|
4343
4343
|
});
|
|
4344
4344
|
}
|
|
4345
4345
|
max(e, n) {
|
|
4346
4346
|
return new fo({
|
|
4347
4347
|
...this._def,
|
|
4348
|
-
maxLength: { value: e, message:
|
|
4348
|
+
maxLength: { value: e, message: Ge.toString(n) }
|
|
4349
4349
|
});
|
|
4350
4350
|
}
|
|
4351
4351
|
length(e, n) {
|
|
4352
4352
|
return new fo({
|
|
4353
4353
|
...this._def,
|
|
4354
|
-
exactLength: { value: e, message:
|
|
4354
|
+
exactLength: { value: e, message: Ge.toString(n) }
|
|
4355
4355
|
});
|
|
4356
4356
|
}
|
|
4357
4357
|
nonempty(e) {
|
|
@@ -4459,7 +4459,7 @@ class rn extends st {
|
|
|
4459
4459
|
return this._def.shape();
|
|
4460
4460
|
}
|
|
4461
4461
|
strict(e) {
|
|
4462
|
-
return
|
|
4462
|
+
return Ge.errToObj, new rn({
|
|
4463
4463
|
...this._def,
|
|
4464
4464
|
unknownKeys: "strict",
|
|
4465
4465
|
...e !== void 0 ? {
|
|
@@ -4467,7 +4467,7 @@ class rn extends st {
|
|
|
4467
4467
|
var i, s, o, a;
|
|
4468
4468
|
const c = (o = (s = (i = this._def).errorMap) === null || s === void 0 ? void 0 : s.call(i, n, r).message) !== null && o !== void 0 ? o : r.defaultError;
|
|
4469
4469
|
return n.code === "unrecognized_keys" ? {
|
|
4470
|
-
message: (a =
|
|
4470
|
+
message: (a = Ge.errToObj(e).message) !== null && a !== void 0 ? a : c
|
|
4471
4471
|
} : {
|
|
4472
4472
|
message: c
|
|
4473
4473
|
};
|
|
@@ -5048,13 +5048,13 @@ class Wd extends st {
|
|
|
5048
5048
|
min(e, n) {
|
|
5049
5049
|
return new Wd({
|
|
5050
5050
|
...this._def,
|
|
5051
|
-
minSize: { value: e, message:
|
|
5051
|
+
minSize: { value: e, message: Ge.toString(n) }
|
|
5052
5052
|
});
|
|
5053
5053
|
}
|
|
5054
5054
|
max(e, n) {
|
|
5055
5055
|
return new Wd({
|
|
5056
5056
|
...this._def,
|
|
5057
|
-
maxSize: { value: e, message:
|
|
5057
|
+
maxSize: { value: e, message: Ge.toString(n) }
|
|
5058
5058
|
});
|
|
5059
5059
|
}
|
|
5060
5060
|
size(e, n) {
|
|
@@ -10988,10 +10988,10 @@ const Av = {
|
|
|
10988
10988
|
clientId: null,
|
|
10989
10989
|
api: new M1({ baseUrl: tN, clientId: null }),
|
|
10990
10990
|
supportedChains: { http: [], ws: [] }
|
|
10991
|
-
}),
|
|
10991
|
+
}), Ke = {
|
|
10992
10992
|
state: kr,
|
|
10993
10993
|
async get(t) {
|
|
10994
|
-
const { st: e, sv: n } =
|
|
10994
|
+
const { st: e, sv: n } = Ke.getSdkProperties(), r = V.state.projectId, i = {
|
|
10995
10995
|
...t.params || {},
|
|
10996
10996
|
st: e,
|
|
10997
10997
|
sv: n,
|
|
@@ -11013,7 +11013,7 @@ const Av = {
|
|
|
11013
11013
|
if (!t)
|
|
11014
11014
|
return !1;
|
|
11015
11015
|
try {
|
|
11016
|
-
kr.supportedChains.http.length || await
|
|
11016
|
+
kr.supportedChains.http.length || await Ke.getSupportedNetworks();
|
|
11017
11017
|
} catch {
|
|
11018
11018
|
return !1;
|
|
11019
11019
|
}
|
|
@@ -11021,7 +11021,7 @@ const Av = {
|
|
|
11021
11021
|
},
|
|
11022
11022
|
async getSupportedNetworks() {
|
|
11023
11023
|
try {
|
|
11024
|
-
const t = await
|
|
11024
|
+
const t = await Ke.get({
|
|
11025
11025
|
path: "v1/supported-chains"
|
|
11026
11026
|
});
|
|
11027
11027
|
return kr.supportedChains = t, t;
|
|
@@ -11033,7 +11033,7 @@ const Av = {
|
|
|
11033
11033
|
const e = re.getIdentityFromCacheForAddress(t);
|
|
11034
11034
|
if (e)
|
|
11035
11035
|
return e;
|
|
11036
|
-
const n = await
|
|
11036
|
+
const n = await Ke.get({
|
|
11037
11037
|
path: `/v1/identity/${t}`,
|
|
11038
11038
|
params: {
|
|
11039
11039
|
sender: v.state.activeCaipAddress ? ee.getPlainAddress(v.state.activeCaipAddress) : void 0
|
|
@@ -11047,7 +11047,7 @@ const Av = {
|
|
|
11047
11047
|
},
|
|
11048
11048
|
async fetchTransactions({ account: t, cursor: e, signal: n, cache: r, chainId: i }) {
|
|
11049
11049
|
var c;
|
|
11050
|
-
if (!await
|
|
11050
|
+
if (!await Ke.isNetworkSupported((c = v.state.activeCaipNetwork) == null ? void 0 : c.caipNetworkId))
|
|
11051
11051
|
return { data: [], next: void 0 };
|
|
11052
11052
|
const o = re.getTransactionsCacheForAddress({
|
|
11053
11053
|
address: t,
|
|
@@ -11055,7 +11055,7 @@ const Av = {
|
|
|
11055
11055
|
});
|
|
11056
11056
|
if (o)
|
|
11057
11057
|
return o;
|
|
11058
|
-
const a = await
|
|
11058
|
+
const a = await Ke.get({
|
|
11059
11059
|
path: `/v1/account/${t}/history`,
|
|
11060
11060
|
params: {
|
|
11061
11061
|
cursor: e,
|
|
@@ -11073,7 +11073,7 @@ const Av = {
|
|
|
11073
11073
|
},
|
|
11074
11074
|
async fetchSwapQuote({ amount: t, userAddress: e, from: n, to: r, gasPrice: i }) {
|
|
11075
11075
|
var o;
|
|
11076
|
-
return await
|
|
11076
|
+
return await Ke.isNetworkSupported((o = v.state.activeCaipNetwork) == null ? void 0 : o.caipNetworkId) ? Ke.get({
|
|
11077
11077
|
path: "/v1/convert/quotes",
|
|
11078
11078
|
headers: {
|
|
11079
11079
|
"Content-Type": "application/json"
|
|
@@ -11089,7 +11089,7 @@ const Av = {
|
|
|
11089
11089
|
},
|
|
11090
11090
|
async fetchSwapTokens({ chainId: t }) {
|
|
11091
11091
|
var n;
|
|
11092
|
-
return await
|
|
11092
|
+
return await Ke.isNetworkSupported((n = v.state.activeCaipNetwork) == null ? void 0 : n.caipNetworkId) ? Ke.get({
|
|
11093
11093
|
path: "/v1/convert/tokens",
|
|
11094
11094
|
params: { chainId: t }
|
|
11095
11095
|
}) : { tokens: [] };
|
|
@@ -11106,7 +11106,7 @@ const Av = {
|
|
|
11106
11106
|
}).then((n) => n.result);
|
|
11107
11107
|
},
|
|
11108
11108
|
async fetchTokenPrice({ addresses: t, caipNetworkId: e = ((n) => (n = v.state.activeCaipNetwork) == null ? void 0 : n.caipNetworkId)() }) {
|
|
11109
|
-
if (!await
|
|
11109
|
+
if (!await Ke.isNetworkSupported(e))
|
|
11110
11110
|
return { fungibles: [] };
|
|
11111
11111
|
const i = re.getTokenPriceCacheForAddresses(t);
|
|
11112
11112
|
if (i)
|
|
@@ -11130,7 +11130,7 @@ const Av = {
|
|
|
11130
11130
|
},
|
|
11131
11131
|
async fetchSwapAllowance({ tokenAddress: t, userAddress: e }) {
|
|
11132
11132
|
var r;
|
|
11133
|
-
return await
|
|
11133
|
+
return await Ke.isNetworkSupported((r = v.state.activeCaipNetwork) == null ? void 0 : r.caipNetworkId) ? Ke.get({
|
|
11134
11134
|
path: "/v1/convert/allowance",
|
|
11135
11135
|
params: {
|
|
11136
11136
|
tokenAddress: t,
|
|
@@ -11143,10 +11143,10 @@ const Av = {
|
|
|
11143
11143
|
},
|
|
11144
11144
|
async fetchGasPrice({ chainId: t }) {
|
|
11145
11145
|
var i;
|
|
11146
|
-
const { st: e, sv: n } =
|
|
11147
|
-
if (!await
|
|
11146
|
+
const { st: e, sv: n } = Ke.getSdkProperties();
|
|
11147
|
+
if (!await Ke.isNetworkSupported((i = v.state.activeCaipNetwork) == null ? void 0 : i.caipNetworkId))
|
|
11148
11148
|
throw new Error("Network not supported for Gas Price");
|
|
11149
|
-
return
|
|
11149
|
+
return Ke.get({
|
|
11150
11150
|
path: "/v1/convert/gas-price",
|
|
11151
11151
|
headers: {
|
|
11152
11152
|
"Content-Type": "application/json"
|
|
@@ -11160,7 +11160,7 @@ const Av = {
|
|
|
11160
11160
|
},
|
|
11161
11161
|
async generateSwapCalldata({ amount: t, from: e, to: n, userAddress: r, disableEstimate: i }) {
|
|
11162
11162
|
var o;
|
|
11163
|
-
if (!await
|
|
11163
|
+
if (!await Ke.isNetworkSupported((o = v.state.activeCaipNetwork) == null ? void 0 : o.caipNetworkId))
|
|
11164
11164
|
throw new Error("Network not supported for Swaps");
|
|
11165
11165
|
return kr.api.post({
|
|
11166
11166
|
path: "/v1/convert/build-transaction",
|
|
@@ -11182,10 +11182,10 @@ const Av = {
|
|
|
11182
11182
|
},
|
|
11183
11183
|
async generateApproveCalldata({ from: t, to: e, userAddress: n }) {
|
|
11184
11184
|
var o;
|
|
11185
|
-
const { st: r, sv: i } =
|
|
11186
|
-
if (!await
|
|
11185
|
+
const { st: r, sv: i } = Ke.getSdkProperties();
|
|
11186
|
+
if (!await Ke.isNetworkSupported((o = v.state.activeCaipNetwork) == null ? void 0 : o.caipNetworkId))
|
|
11187
11187
|
throw new Error("Network not supported for Swaps");
|
|
11188
|
-
return
|
|
11188
|
+
return Ke.get({
|
|
11189
11189
|
path: "/v1/convert/build-approve",
|
|
11190
11190
|
headers: {
|
|
11191
11191
|
"Content-Type": "application/json"
|
|
@@ -11201,13 +11201,13 @@ const Av = {
|
|
|
11201
11201
|
},
|
|
11202
11202
|
async getBalance(t, e, n) {
|
|
11203
11203
|
var l;
|
|
11204
|
-
const { st: r, sv: i } =
|
|
11205
|
-
if (!await
|
|
11204
|
+
const { st: r, sv: i } = Ke.getSdkProperties();
|
|
11205
|
+
if (!await Ke.isNetworkSupported((l = v.state.activeCaipNetwork) == null ? void 0 : l.caipNetworkId))
|
|
11206
11206
|
return it.showError("Token Balance Unavailable"), { balances: [] };
|
|
11207
11207
|
const o = `${e}:${t}`, a = re.getBalanceCacheForCaipAddress(o);
|
|
11208
11208
|
if (a)
|
|
11209
11209
|
return a;
|
|
11210
|
-
const c = await
|
|
11210
|
+
const c = await Ke.get({
|
|
11211
11211
|
path: `/v1/account/${t}/balance`,
|
|
11212
11212
|
params: {
|
|
11213
11213
|
currency: "usd",
|
|
@@ -11225,17 +11225,17 @@ const Av = {
|
|
|
11225
11225
|
},
|
|
11226
11226
|
async lookupEnsName(t) {
|
|
11227
11227
|
var n;
|
|
11228
|
-
return await
|
|
11228
|
+
return await Ke.isNetworkSupported((n = v.state.activeCaipNetwork) == null ? void 0 : n.caipNetworkId) ? Ke.get({
|
|
11229
11229
|
path: `/v1/profile/account/${t}`,
|
|
11230
11230
|
params: { apiVersion: "2" }
|
|
11231
11231
|
}) : { addresses: {}, attributes: [] };
|
|
11232
11232
|
},
|
|
11233
11233
|
async reverseLookupEnsName({ address: t }) {
|
|
11234
11234
|
var r, i;
|
|
11235
|
-
if (!await
|
|
11235
|
+
if (!await Ke.isNetworkSupported((r = v.state.activeCaipNetwork) == null ? void 0 : r.caipNetworkId))
|
|
11236
11236
|
return [];
|
|
11237
11237
|
const n = (i = v.getAccountData()) == null ? void 0 : i.address;
|
|
11238
|
-
return
|
|
11238
|
+
return Ke.get({
|
|
11239
11239
|
path: `/v1/profile/reverse/${t}`,
|
|
11240
11240
|
params: {
|
|
11241
11241
|
sender: n,
|
|
@@ -11245,14 +11245,14 @@ const Av = {
|
|
|
11245
11245
|
},
|
|
11246
11246
|
async getEnsNameSuggestions(t) {
|
|
11247
11247
|
var n;
|
|
11248
|
-
return await
|
|
11248
|
+
return await Ke.isNetworkSupported((n = v.state.activeCaipNetwork) == null ? void 0 : n.caipNetworkId) ? Ke.get({
|
|
11249
11249
|
path: `/v1/profile/suggestions/${t}`,
|
|
11250
11250
|
params: { zone: "reown.id" }
|
|
11251
11251
|
}) : { suggestions: [] };
|
|
11252
11252
|
},
|
|
11253
11253
|
async registerEnsName({ coinType: t, address: e, message: n, signature: r }) {
|
|
11254
11254
|
var s;
|
|
11255
|
-
return await
|
|
11255
|
+
return await Ke.isNetworkSupported((s = v.state.activeCaipNetwork) == null ? void 0 : s.caipNetworkId) ? kr.api.post({
|
|
11256
11256
|
path: "/v1/profile/account",
|
|
11257
11257
|
body: { coin_type: t, address: e, message: n, signature: r },
|
|
11258
11258
|
headers: {
|
|
@@ -11262,7 +11262,7 @@ const Av = {
|
|
|
11262
11262
|
},
|
|
11263
11263
|
async generateOnRampURL({ destinationWallets: t, partnerUserId: e, defaultNetwork: n, purchaseAmount: r, paymentAmount: i }) {
|
|
11264
11264
|
var a;
|
|
11265
|
-
return await
|
|
11265
|
+
return await Ke.isNetworkSupported((a = v.state.activeCaipNetwork) == null ? void 0 : a.caipNetworkId) ? (await kr.api.post({
|
|
11266
11266
|
path: "/v1/generators/onrampurl",
|
|
11267
11267
|
params: {
|
|
11268
11268
|
projectId: V.state.projectId
|
|
@@ -11279,10 +11279,10 @@ const Av = {
|
|
|
11279
11279
|
},
|
|
11280
11280
|
async getOnrampOptions() {
|
|
11281
11281
|
var e;
|
|
11282
|
-
if (!await
|
|
11282
|
+
if (!await Ke.isNetworkSupported((e = v.state.activeCaipNetwork) == null ? void 0 : e.caipNetworkId))
|
|
11283
11283
|
return { paymentCurrencies: [], purchaseCurrencies: [] };
|
|
11284
11284
|
try {
|
|
11285
|
-
return await
|
|
11285
|
+
return await Ke.get({
|
|
11286
11286
|
path: "/v1/onramp/options"
|
|
11287
11287
|
});
|
|
11288
11288
|
} catch {
|
|
@@ -11292,7 +11292,7 @@ const Av = {
|
|
|
11292
11292
|
async getOnrampQuote({ purchaseCurrency: t, paymentCurrency: e, amount: n, network: r }) {
|
|
11293
11293
|
var i;
|
|
11294
11294
|
try {
|
|
11295
|
-
return await
|
|
11295
|
+
return await Ke.isNetworkSupported((i = v.state.activeCaipNetwork) == null ? void 0 : i.caipNetworkId) ? await kr.api.post({
|
|
11296
11296
|
path: "/v1/onramp/quote",
|
|
11297
11297
|
params: {
|
|
11298
11298
|
projectId: V.state.projectId
|
|
@@ -11316,13 +11316,13 @@ const Av = {
|
|
|
11316
11316
|
},
|
|
11317
11317
|
async getSmartSessions(t) {
|
|
11318
11318
|
var n;
|
|
11319
|
-
return await
|
|
11319
|
+
return await Ke.isNetworkSupported((n = v.state.activeCaipNetwork) == null ? void 0 : n.caipNetworkId) ? Ke.get({
|
|
11320
11320
|
path: `/v1/sessions/${t}`
|
|
11321
11321
|
}) : [];
|
|
11322
11322
|
},
|
|
11323
11323
|
async revokeSmartSession(t, e, n) {
|
|
11324
11324
|
var i;
|
|
11325
|
-
return await
|
|
11325
|
+
return await Ke.isNetworkSupported((i = v.state.activeCaipNetwork) == null ? void 0 : i.caipNetworkId) ? kr.api.post({
|
|
11326
11326
|
path: `/v1/sessions/${t}/revoke`,
|
|
11327
11327
|
params: {
|
|
11328
11328
|
projectId: V.state.projectId
|
|
@@ -12979,7 +12979,7 @@ const Hi = {
|
|
|
12979
12979
|
throw new Error("Transactions can't be fetched without an accountAddress");
|
|
12980
12980
|
Jt.loading = !0;
|
|
12981
12981
|
try {
|
|
12982
|
-
const n = await
|
|
12982
|
+
const n = await Ke.fetchTransactions({
|
|
12983
12983
|
account: t,
|
|
12984
12984
|
cursor: Jt.next,
|
|
12985
12985
|
chainId: (e = v.state.activeCaipNetwork) == null ? void 0 : e.caipNetworkId
|
|
@@ -13473,7 +13473,7 @@ const RH = {
|
|
|
13473
13473
|
let vx;
|
|
13474
13474
|
async function GA() {
|
|
13475
13475
|
if (!vx) {
|
|
13476
|
-
const { createPublicClient: t, http: e, defineChain: n } = await import("./index-
|
|
13476
|
+
const { createPublicClient: t, http: e, defineChain: n } = await import("./index-BsfA-fqT.mjs");
|
|
13477
13477
|
vx = {
|
|
13478
13478
|
createPublicClient: t,
|
|
13479
13479
|
http: e,
|
|
@@ -13523,7 +13523,7 @@ const Sv = {
|
|
|
13523
13523
|
if (l)
|
|
13524
13524
|
return this.filterLowQualityTokens(l);
|
|
13525
13525
|
}
|
|
13526
|
-
const c = await
|
|
13526
|
+
const c = await Ke.getBalance(i, r == null ? void 0 : r.caipNetworkId, n);
|
|
13527
13527
|
return this.filterLowQualityTokens(c.balances);
|
|
13528
13528
|
},
|
|
13529
13529
|
/**
|
|
@@ -13655,7 +13655,7 @@ const Sv = {
|
|
|
13655
13655
|
}, PH = {
|
|
13656
13656
|
async getTokenList(t) {
|
|
13657
13657
|
var r;
|
|
13658
|
-
const e = await
|
|
13658
|
+
const e = await Ke.fetchSwapTokens({
|
|
13659
13659
|
chainId: t
|
|
13660
13660
|
});
|
|
13661
13661
|
return ((r = e == null ? void 0 : e.tokens) == null ? void 0 : r.map((i) => ({
|
|
@@ -13685,7 +13685,7 @@ const Sv = {
|
|
|
13685
13685
|
};
|
|
13686
13686
|
case "eip155":
|
|
13687
13687
|
default:
|
|
13688
|
-
return await
|
|
13688
|
+
return await Ke.fetchGasPrice({
|
|
13689
13689
|
chainId: t.caipNetworkId
|
|
13690
13690
|
});
|
|
13691
13691
|
}
|
|
@@ -13694,7 +13694,7 @@ const Sv = {
|
|
|
13694
13694
|
}
|
|
13695
13695
|
},
|
|
13696
13696
|
async fetchSwapAllowance({ tokenAddress: t, userAddress: e, sourceTokenAmount: n, sourceTokenDecimals: r }) {
|
|
13697
|
-
const i = await
|
|
13697
|
+
const i = await Ke.fetchSwapAllowance({
|
|
13698
13698
|
tokenAddress: t,
|
|
13699
13699
|
userAddress: e
|
|
13700
13700
|
});
|
|
@@ -14513,14 +14513,14 @@ const Sv = {
|
|
|
14513
14513
|
Tv.state.paymentAmount = t;
|
|
14514
14514
|
},
|
|
14515
14515
|
async getAvailableCurrencies() {
|
|
14516
|
-
const t = await
|
|
14516
|
+
const t = await Ke.getOnrampOptions();
|
|
14517
14517
|
Et.purchaseCurrencies = t.purchaseCurrencies, Et.paymentCurrencies = t.paymentCurrencies, Et.paymentCurrency = t.paymentCurrencies[0] || Iv, Et.purchaseCurrency = t.purchaseCurrencies[0] || Ug, await he.fetchCurrencyImages(t.paymentCurrencies.map((e) => e.id)), await he.fetchTokenImages(t.purchaseCurrencies.map((e) => e.symbol));
|
|
14518
14518
|
},
|
|
14519
14519
|
async getQuote() {
|
|
14520
14520
|
var t, e;
|
|
14521
14521
|
Et.quotesLoading = !0;
|
|
14522
14522
|
try {
|
|
14523
|
-
const n = await
|
|
14523
|
+
const n = await Ke.getOnrampQuote({
|
|
14524
14524
|
purchaseCurrency: Et.purchaseCurrency,
|
|
14525
14525
|
paymentCurrency: Et.paymentCurrency,
|
|
14526
14526
|
amount: ((t = Et.paymentAmount) == null ? void 0 : t.toString()) || "0",
|
|
@@ -16421,8 +16421,8 @@ function CG(t) {
|
|
|
16421
16421
|
}), C = p8((w) => {
|
|
16422
16422
|
const { a: E, d: T } = e;
|
|
16423
16423
|
if (w.is0()) throw new Error("bad point: ZERO");
|
|
16424
|
-
const { ex: R, ey: O, ez: $, et: G } = w, Y = u(R * R), le = u(O * O), ne = u($ * $), ae = u(ne * ne),
|
|
16425
|
-
if (
|
|
16424
|
+
const { ex: R, ey: O, ez: $, et: G } = w, Y = u(R * R), le = u(O * O), ne = u($ * $), ae = u(ne * ne), xe = u(Y * E), ye = u(ne * u(xe + le)), Ve = u(ae + u(T * u(Y * le)));
|
|
16425
|
+
if (ye !== Ve) throw new Error("bad point: equation left != right (1)");
|
|
16426
16426
|
const Ee = u(R * O), Be = u($ * G);
|
|
16427
16427
|
if (Ee !== Be) throw new Error("bad point: equation left != right (2)");
|
|
16428
16428
|
return !0;
|
|
@@ -16457,8 +16457,8 @@ function CG(t) {
|
|
|
16457
16457
|
}
|
|
16458
16458
|
equals(E) {
|
|
16459
16459
|
m(E);
|
|
16460
|
-
const { ex: T, ey: R, ez: O } = this, { ex: $, ey: G, ez: Y } = E, le = u(T * Y), ne = u($ * O), ae = u(R * Y),
|
|
16461
|
-
return le === ne && ae ===
|
|
16460
|
+
const { ex: T, ey: R, ez: O } = this, { ex: $, ey: G, ez: Y } = E, le = u(T * Y), ne = u($ * O), ae = u(R * Y), xe = u(G * O);
|
|
16461
|
+
return le === ne && ae === xe;
|
|
16462
16462
|
}
|
|
16463
16463
|
is0() {
|
|
16464
16464
|
return this.equals(x.ZERO);
|
|
@@ -16467,19 +16467,19 @@ function CG(t) {
|
|
|
16467
16467
|
return new x(u(-this.ex), this.ey, this.ez, u(-this.et));
|
|
16468
16468
|
}
|
|
16469
16469
|
double() {
|
|
16470
|
-
const { a: E } = e, { ex: T, ey: R, ez: O } = this, $ = u(T * T), G = u(R * R), Y = u(tb * u(O * O)), le = u(E * $), ne = T + R, ae = u(u(ne * ne) - $ - G),
|
|
16470
|
+
const { a: E } = e, { ex: T, ey: R, ez: O } = this, $ = u(T * T), G = u(R * R), Y = u(tb * u(O * O)), le = u(E * $), ne = T + R, ae = u(u(ne * ne) - $ - G), xe = le + G, ye = xe - Y, Ve = le - G, Ee = u(ae * ye), Be = u(xe * Ve), lt = u(ae * Ve), bt = u(ye * xe);
|
|
16471
16471
|
return new x(Ee, Be, bt, lt);
|
|
16472
16472
|
}
|
|
16473
16473
|
add(E) {
|
|
16474
16474
|
m(E);
|
|
16475
|
-
const { a: T, d: R } = e, { ex: O, ey: $, ez: G, et: Y } = this, { ex: le, ey: ne, ez: ae, et:
|
|
16475
|
+
const { a: T, d: R } = e, { ex: O, ey: $, ez: G, et: Y } = this, { ex: le, ey: ne, ez: ae, et: xe } = E;
|
|
16476
16476
|
if (T === BigInt(-1)) {
|
|
16477
16477
|
const kw = u(($ - O) * (ne + le)), $w = u(($ + O) * (ne - le)), V0 = u($w - kw);
|
|
16478
16478
|
if (V0 === js) return this.double();
|
|
16479
|
-
const Dw = u(G * tb *
|
|
16479
|
+
const Dw = u(G * tb * xe), Bw = u(Y * tb * ae), Uw = Bw + Dw, oe = $w + kw, fe = Bw - Dw, De = u(Uw * V0), ot = u(oe * fe), Yr = u(Uw * fe), G0 = u(V0 * oe);
|
|
16480
16480
|
return new x(De, ot, G0, Yr);
|
|
16481
16481
|
}
|
|
16482
|
-
const
|
|
16482
|
+
const ye = u(O * le), Ve = u($ * ne), Ee = u(Y * R * xe), Be = u(G * ae), lt = u((O + $) * (le + ne) - ye - Ve), bt = Be - Ee, ut = Be + Ee, Yt = u(Ve - T * ye), Zr = u(lt * bt), Ii = u(ut * Yt), cx = u(lt * Yt), lx = u(bt * ut);
|
|
16483
16483
|
return new x(Zr, Ii, lx, cx);
|
|
16484
16484
|
}
|
|
16485
16485
|
subtract(E) {
|
|
@@ -16518,9 +16518,9 @@ function CG(t) {
|
|
|
16518
16518
|
G[$ - 1] = Y & -129;
|
|
16519
16519
|
const le = Gb(G), ne = T ? l : n.ORDER;
|
|
16520
16520
|
eg("pointHex.y", le, js, ne);
|
|
16521
|
-
const ae = u(le * le),
|
|
16522
|
-
let { isValid:
|
|
16523
|
-
if (!
|
|
16521
|
+
const ae = u(le * le), xe = u(ae - Xr), ye = u(R * ae - O);
|
|
16522
|
+
let { isValid: Ve, value: Ee } = h(xe, ye);
|
|
16523
|
+
if (!Ve) throw new Error("Point.fromHex: invalid y coordinate");
|
|
16524
16524
|
const Be = (Ee & Xr) === Xr, lt = (Y & 128) !== 0;
|
|
16525
16525
|
if (!T && Ee === js && lt) throw new Error("Point.fromHex: x=0 and x_0=1");
|
|
16526
16526
|
return lt !== Be && (Ee = u(-Ee)), x.fromAffine({ x: Ee, y: le });
|
|
@@ -16576,8 +16576,8 @@ function CG(t) {
|
|
|
16576
16576
|
return !1;
|
|
16577
16577
|
}
|
|
16578
16578
|
if (!$ && le.isSmallOrder()) return !1;
|
|
16579
|
-
const
|
|
16580
|
-
return ne.add(le.multiplyUnsafe(
|
|
16579
|
+
const xe = z(O, ne.toRawBytes(), le.toRawBytes(), E);
|
|
16580
|
+
return ne.add(le.multiplyUnsafe(xe)).subtract(ae).clearCofactor().equals(x.ZERO);
|
|
16581
16581
|
}
|
|
16582
16582
|
return A._setWindowSize(8), { CURVE: e, getPublicKey: j, sign: W, verify: U, ExtendedPoint: x, utils: { getExtendedPublicKey: L, randomPrivateKey: () => o(n.BYTES), precompute(w = 8, E = x.BASE) {
|
|
16583
16583
|
return E._setWindowSize(w), E.multiply(BigInt(3)), E;
|
|
@@ -18793,10 +18793,10 @@ function jZ(t) {
|
|
|
18793
18793
|
const G = O === 2 || O === 3 ? T + e.n : T;
|
|
18794
18794
|
if (G >= n.ORDER)
|
|
18795
18795
|
throw new Error("recovery id 2 or 3 invalid");
|
|
18796
|
-
const Y = O & 1 ? "03" : "02", le = u.fromHex(Y + qx(G, n.BYTES)), ne = l(G), ae = c(-$ * ne),
|
|
18797
|
-
if (!
|
|
18796
|
+
const Y = O & 1 ? "03" : "02", le = u.fromHex(Y + qx(G, n.BYTES)), ne = l(G), ae = c(-$ * ne), xe = c(R * ne), ye = u.BASE.multiplyAndAddUnsafe(le, ae, xe);
|
|
18797
|
+
if (!ye)
|
|
18798
18798
|
throw new Error("point at infinify");
|
|
18799
|
-
return
|
|
18799
|
+
return ye.assertValidity(), ye;
|
|
18800
18800
|
}
|
|
18801
18801
|
// Signatures should be low-s, to prevent malleability.
|
|
18802
18802
|
hasHighS() {
|
|
@@ -18891,21 +18891,21 @@ function jZ(t) {
|
|
|
18891
18891
|
const Ee = Y === !0 ? O(n.BYTES) : Y;
|
|
18892
18892
|
ae.push(xs("extraEntropy", Ee));
|
|
18893
18893
|
}
|
|
18894
|
-
const
|
|
18895
|
-
function
|
|
18894
|
+
const xe = Fy(...ae), ye = le;
|
|
18895
|
+
function Ve(Ee) {
|
|
18896
18896
|
const Be = P(Ee);
|
|
18897
18897
|
if (!f(Be))
|
|
18898
18898
|
return;
|
|
18899
18899
|
const lt = l(Be), bt = u.BASE.multiply(Be).toAffine(), ut = c(bt.x);
|
|
18900
18900
|
if (ut === ac)
|
|
18901
18901
|
return;
|
|
18902
|
-
const Yt = c(lt * c(
|
|
18902
|
+
const Yt = c(lt * c(ye + ut * ne));
|
|
18903
18903
|
if (Yt === ac)
|
|
18904
18904
|
return;
|
|
18905
18905
|
let Zr = (bt.x === ut ? 0 : 2) | Number(bt.y & Un), Ii = Yt;
|
|
18906
18906
|
return $ && g(Yt) && (Ii = p(Yt), Zr ^= 1), new y(ut, Ii, Zr);
|
|
18907
18907
|
}
|
|
18908
|
-
return { seed:
|
|
18908
|
+
return { seed: xe, k2sig: Ve };
|
|
18909
18909
|
}
|
|
18910
18910
|
const z = { lowS: e.lowS, prehash: !1 }, W = { lowS: e.lowS, prehash: !1 };
|
|
18911
18911
|
function D(w, E, T = z) {
|
|
@@ -18925,7 +18925,7 @@ function jZ(t) {
|
|
|
18925
18925
|
const le = typeof O == "string" || H1(O), ne = !le && !Y && typeof O == "object" && O !== null && typeof O.r == "bigint" && typeof O.s == "bigint";
|
|
18926
18926
|
if (!le && !ne)
|
|
18927
18927
|
throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");
|
|
18928
|
-
let ae,
|
|
18928
|
+
let ae, xe;
|
|
18929
18929
|
try {
|
|
18930
18930
|
if (ne && (ae = new y(O.r, O.s)), le) {
|
|
18931
18931
|
try {
|
|
@@ -18936,15 +18936,15 @@ function jZ(t) {
|
|
|
18936
18936
|
}
|
|
18937
18937
|
!ae && Y !== "der" && (ae = y.fromCompact(O));
|
|
18938
18938
|
}
|
|
18939
|
-
|
|
18939
|
+
xe = u.fromHex(T);
|
|
18940
18940
|
} catch {
|
|
18941
18941
|
return !1;
|
|
18942
18942
|
}
|
|
18943
18943
|
if (!ae || $ && ae.hasHighS())
|
|
18944
18944
|
return !1;
|
|
18945
18945
|
G && (E = e.hash(E));
|
|
18946
|
-
const { r:
|
|
18947
|
-
return ut ? c(ut.x) ===
|
|
18946
|
+
const { r: ye, s: Ve } = ae, Ee = B(E), Be = l(Ve), lt = c(Ee * Be), bt = c(ye * Be), ut = (Zr = u.BASE.multiplyAndAddUnsafe(xe, lt, bt)) == null ? void 0 : Zr.toAffine();
|
|
18947
|
+
return ut ? c(ut.x) === ye : !1;
|
|
18948
18948
|
}
|
|
18949
18949
|
return {
|
|
18950
18950
|
CURVE: e,
|
|
@@ -22569,14 +22569,14 @@ class dee {
|
|
|
22569
22569
|
O = ne >>> 13, ne &= 8191, ne += U * (5 * m) + w * (5 * p) + E * (5 * g) + T * (5 * f) + R * (5 * h), O += ne >>> 13, ne &= 8191;
|
|
22570
22570
|
let ae = O + L * h + j * d + z * u + W * l + D * c;
|
|
22571
22571
|
O = ae >>> 13, ae &= 8191, ae += U * a + w * (5 * m) + E * (5 * p) + T * (5 * g) + R * (5 * f), O += ae >>> 13, ae &= 8191;
|
|
22572
|
-
let
|
|
22573
|
-
O =
|
|
22574
|
-
let
|
|
22575
|
-
O =
|
|
22576
|
-
let
|
|
22577
|
-
O =
|
|
22572
|
+
let xe = O + L * f + j * h + z * d + W * u + D * l;
|
|
22573
|
+
O = xe >>> 13, xe &= 8191, xe += U * c + w * a + E * (5 * m) + T * (5 * p) + R * (5 * g), O += xe >>> 13, xe &= 8191;
|
|
22574
|
+
let ye = O + L * g + j * f + z * h + W * d + D * u;
|
|
22575
|
+
O = ye >>> 13, ye &= 8191, ye += U * l + w * c + E * a + T * (5 * m) + R * (5 * p), O += ye >>> 13, ye &= 8191;
|
|
22576
|
+
let Ve = O + L * p + j * g + z * f + W * h + D * d;
|
|
22577
|
+
O = Ve >>> 13, Ve &= 8191, Ve += U * u + w * l + E * c + T * a + R * (5 * m), O += Ve >>> 13, Ve &= 8191;
|
|
22578
22578
|
let Ee = O + L * m + j * p + z * g + W * f + D * h;
|
|
22579
|
-
O = Ee >>> 13, Ee &= 8191, Ee += U * d + w * u + E * l + T * c + R * a, O += Ee >>> 13, Ee &= 8191, O = (O << 2) + O | 0, O = O + $ | 0, $ = O & 8191, O = O >>> 13, G += O, s[0] = $, s[1] = G, s[2] = Y, s[3] = le, s[4] = ne, s[5] = ae, s[6] =
|
|
22579
|
+
O = Ee >>> 13, Ee &= 8191, Ee += U * d + w * u + E * l + T * c + R * a, O += Ee >>> 13, Ee &= 8191, O = (O << 2) + O | 0, O = O + $ | 0, $ = O & 8191, O = O >>> 13, G += O, s[0] = $, s[1] = G, s[2] = Y, s[3] = le, s[4] = ne, s[5] = ae, s[6] = xe, s[7] = ye, s[8] = Ve, s[9] = Ee;
|
|
22580
22580
|
}
|
|
22581
22581
|
finalize() {
|
|
22582
22582
|
const { h: e, pad: n } = this, r = new Uint16Array(10);
|
|
@@ -23149,8 +23149,8 @@ function Fee(t) {
|
|
|
23149
23149
|
for (let Y = BigInt(l - 1); Y >= og; Y--) {
|
|
23150
23150
|
const le = U >> Y & Yh;
|
|
23151
23151
|
$ ^= le, { x_2: E, x_3: R } = B($, E, R), { x_2: T, x_3: O } = B($, T, O), $ = le;
|
|
23152
|
-
const ne = E + T, ae = m(ne * ne),
|
|
23153
|
-
R = m(ut * ut), O = m(w * m(Yt * Yt)), E = m(ae *
|
|
23152
|
+
const ne = E + T, ae = m(ne * ne), xe = E - T, ye = m(xe * xe), Ve = ae - ye, Ee = R + O, Be = R - O, lt = m(Be * ne), bt = m(Ee * xe), ut = lt + bt, Yt = lt - bt;
|
|
23153
|
+
R = m(ut * ut), O = m(w * m(Yt * Yt)), E = m(ae * ye), T = m(Ve * (ae + m(h * Ve)));
|
|
23154
23154
|
}
|
|
23155
23155
|
({ x_2: E, x_3: R } = B($, E, R)), { x_2: T, x_3: O } = B($, T, O);
|
|
23156
23156
|
const G = s(T);
|
|
@@ -23411,10 +23411,10 @@ function Jee(t, e = {}) {
|
|
|
23411
23411
|
const { X: U, Y: w, Z: E } = this, { X: T, Y: R, Z: O } = D;
|
|
23412
23412
|
let $ = r.ZERO, G = r.ZERO, Y = r.ZERO;
|
|
23413
23413
|
const le = s.a, ne = r.mul(s.b, hb);
|
|
23414
|
-
let ae = r.mul(U, T),
|
|
23415
|
-
|
|
23414
|
+
let ae = r.mul(U, T), xe = r.mul(w, R), ye = r.mul(E, O), Ve = r.add(U, w), Ee = r.add(T, R);
|
|
23415
|
+
Ve = r.mul(Ve, Ee), Ee = r.add(ae, xe), Ve = r.sub(Ve, Ee), Ee = r.add(U, E);
|
|
23416
23416
|
let Be = r.add(T, O);
|
|
23417
|
-
return Ee = r.mul(Ee, Be), Be = r.add(ae,
|
|
23417
|
+
return Ee = r.mul(Ee, Be), Be = r.add(ae, ye), Ee = r.sub(Ee, Be), Be = r.add(w, E), $ = r.add(R, O), Be = r.mul(Be, $), $ = r.add(xe, ye), Be = r.sub(Be, $), Y = r.mul(le, Ee), $ = r.mul(ne, ye), Y = r.add($, Y), $ = r.sub(xe, Y), Y = r.add(xe, Y), G = r.mul($, Y), xe = r.add(ae, ae), xe = r.add(xe, ae), ye = r.mul(le, ye), Ee = r.mul(ne, Ee), xe = r.add(xe, ye), ye = r.sub(ae, ye), ye = r.mul(le, ye), Ee = r.add(Ee, ye), ae = r.mul(xe, Ee), G = r.add(G, ae), ae = r.mul(Be, Ee), $ = r.mul(Ve, $), $ = r.sub($, ae), ae = r.mul(Ve, xe), Y = r.mul(Be, Y), Y = r.add(Y, ae), new L($, G, Y);
|
|
23418
23418
|
}
|
|
23419
23419
|
subtract(D) {
|
|
23420
23420
|
return this.add(D.negate());
|
|
@@ -23598,9 +23598,9 @@ function Xee(t, e, n = {}) {
|
|
|
23598
23598
|
if (a * LR < E && O > 1) throw new Error("recovery id is ambiguous for h>1 curve");
|
|
23599
23599
|
const $ = O === 2 || O === 3 ? T + a : T;
|
|
23600
23600
|
if (!s.isValid($)) throw new Error("recovery id 2 or 3 invalid");
|
|
23601
|
-
const G = s.toBytes($), Y = t.fromBytes(ll(MR((O & 1) === 0), G)), le = o.inv($), ne = I(vr("msgHash", w)), ae = o.create(-ne * le),
|
|
23602
|
-
if (
|
|
23603
|
-
return
|
|
23601
|
+
const G = s.toBytes($), Y = t.fromBytes(ll(MR((O & 1) === 0), G)), le = o.inv($), ne = I(vr("msgHash", w)), ae = o.create(-ne * le), xe = o.create(R * le), ye = t.BASE.multiplyUnsafe(ae).add(Y.multiplyUnsafe(xe));
|
|
23602
|
+
if (ye.is0()) throw new Error("point at infinify");
|
|
23603
|
+
return ye.assertValidity(), ye;
|
|
23604
23604
|
}
|
|
23605
23605
|
hasHighS() {
|
|
23606
23606
|
return m(this.s);
|
|
@@ -23655,21 +23655,21 @@ function Xee(t, e, n = {}) {
|
|
|
23655
23655
|
return Ju(U, void 0, "message"), w ? Ju(e(U), void 0, "prehashed message") : U;
|
|
23656
23656
|
}
|
|
23657
23657
|
function L(U, w, E) {
|
|
23658
|
-
if (["recovered", "canonical"].some((
|
|
23658
|
+
if (["recovered", "canonical"].some((xe) => xe in E)) throw new Error("sign() legacy options not supported");
|
|
23659
23659
|
const { lowS: T, prehash: R, extraEntropy: O } = aE(E, g);
|
|
23660
23660
|
U = F(U, R);
|
|
23661
23661
|
const $ = I(U), G = pf(o, w), Y = [B(G), B($)];
|
|
23662
23662
|
if (O != null && O !== !1) {
|
|
23663
|
-
const
|
|
23664
|
-
Y.push(vr("extraEntropy",
|
|
23663
|
+
const xe = O === !0 ? r(f.secretKey) : O;
|
|
23664
|
+
Y.push(vr("extraEntropy", xe));
|
|
23665
23665
|
}
|
|
23666
23666
|
const le = ll(...Y), ne = $;
|
|
23667
|
-
function ae(
|
|
23668
|
-
const
|
|
23669
|
-
if (!o.isValidNot0(
|
|
23670
|
-
const
|
|
23667
|
+
function ae(xe) {
|
|
23668
|
+
const ye = A(xe);
|
|
23669
|
+
if (!o.isValidNot0(ye)) return;
|
|
23670
|
+
const Ve = o.inv(ye), Ee = t.BASE.multiply(ye).toAffine(), Be = o.create(Ee.x);
|
|
23671
23671
|
if (Be === uc) return;
|
|
23672
|
-
const lt = o.create(
|
|
23672
|
+
const lt = o.create(Ve * o.create(ne + Be * G));
|
|
23673
23673
|
if (lt === uc) return;
|
|
23674
23674
|
let bt = (Ee.x === Be ? 0 : 2) | Number(Ee.y & Pf), ut = lt;
|
|
23675
23675
|
return T && m(lt) && (ut = o.neg(lt), bt ^= 1), new x(Be, ut, bt);
|
|
@@ -23708,7 +23708,7 @@ function Xee(t, e, n = {}) {
|
|
|
23708
23708
|
try {
|
|
23709
23709
|
const Y = t.fromBytes(E);
|
|
23710
23710
|
if (R && G.hasHighS()) return !1;
|
|
23711
|
-
const { r: le, s: ne } = G, ae = I(w),
|
|
23711
|
+
const { r: le, s: ne } = G, ae = I(w), xe = o.inv(ne), ye = o.create(ae * xe), Ve = o.create(le * xe), Ee = t.BASE.multiplyUnsafe(ye).add(Y.multiplyUnsafe(Ve));
|
|
23712
23712
|
return Ee.is0() ? !1 : o.create(Ee.x) === le;
|
|
23713
23713
|
} catch {
|
|
23714
23714
|
return !1;
|
|
@@ -26863,7 +26863,7 @@ class Koe extends xV {
|
|
|
26863
26863
|
return O.error.code === Ee.code ? void 0 : (this.events.off(U, E), W(O.error.message));
|
|
26864
26864
|
}
|
|
26865
26865
|
await this.deleteProposal(L.id), this.events.off(U, E);
|
|
26866
|
-
const { cacaos: le, responder: ne } = O.result, ae = [],
|
|
26866
|
+
const { cacaos: le, responder: ne } = O.result, ae = [], xe = [];
|
|
26867
26867
|
for (const Ee of le) {
|
|
26868
26868
|
await m9({ cacao: Ee, projectId: this.client.core.projectId }) || (this.client.logger.error(Ee, "Signature verification failed"), W(Xt("SESSION_SETTLEMENT_FAILED", "Signature verification failed")));
|
|
26869
26869
|
const { p: Be } = Ee, lt = Kb(Be.resources), bt = [Yv(Be.iss)], ut = Ky(Be.iss);
|
|
@@ -26871,11 +26871,11 @@ class Koe extends xV {
|
|
|
26871
26871
|
const Yt = w9(lt), Zr = b9(lt);
|
|
26872
26872
|
ae.push(...Yt), bt.push(...Zr);
|
|
26873
26873
|
}
|
|
26874
|
-
for (const Yt of bt)
|
|
26874
|
+
for (const Yt of bt) xe.push(`${Yt}:${ut}`);
|
|
26875
26875
|
}
|
|
26876
|
-
const
|
|
26877
|
-
let
|
|
26878
|
-
ae.length > 0 && (
|
|
26876
|
+
const ye = await this.client.core.crypto.generateSharedKey(A, ne.publicKey);
|
|
26877
|
+
let Ve;
|
|
26878
|
+
ae.length > 0 && (Ve = { topic: ye, acknowledged: !0, self: { publicKey: A, metadata: this.client.metadata }, peer: ne, controller: ne.publicKey, expiry: xn(Xh), requiredNamespaces: {}, optionalNamespaces: {}, relay: { protocol: "irn" }, pairingTopic: C, namespaces: z9([...new Set(ae)], [...new Set(xe)]), transportType: o }, await this.client.core.relayer.subscribe(ye, { transportType: o }), await this.client.session.set(ye, Ve), C && await this.client.core.pairing.updateMetadata({ topic: C, metadata: ne.metadata }), Ve = this.client.session.get(ye)), ($ = this.client.metadata.redirect) != null && $.linkMode && (G = ne.metadata.redirect) != null && G.linkMode && (Y = ne.metadata.redirect) != null && Y.universal && r && (this.client.core.addLinkModeSupportedApp(ne.metadata.redirect.universal), this.client.session.update(ye, { transportType: Kt.link_mode })), z({ auths: le, session: Ve });
|
|
26879
26879
|
};
|
|
26880
26880
|
this.events.once(U, E), this.events.once(w, T);
|
|
26881
26881
|
let R;
|
|
@@ -29148,7 +29148,7 @@ const n7 = 2147483648, Lce = {
|
|
|
29148
29148
|
async resolveName(t) {
|
|
29149
29149
|
var e, n;
|
|
29150
29150
|
try {
|
|
29151
|
-
return await
|
|
29151
|
+
return await Ke.lookupEnsName(t);
|
|
29152
29152
|
} catch (r) {
|
|
29153
29153
|
const i = r;
|
|
29154
29154
|
throw new Error(((n = (e = i == null ? void 0 : i.reasons) == null ? void 0 : e[0]) == null ? void 0 : n.description) || "Error resolving name");
|
|
@@ -29156,7 +29156,7 @@ const n7 = 2147483648, Lce = {
|
|
|
29156
29156
|
},
|
|
29157
29157
|
async isNameRegistered(t) {
|
|
29158
29158
|
try {
|
|
29159
|
-
return await
|
|
29159
|
+
return await Ke.lookupEnsName(t), !0;
|
|
29160
29160
|
} catch {
|
|
29161
29161
|
return !1;
|
|
29162
29162
|
}
|
|
@@ -29164,7 +29164,7 @@ const n7 = 2147483648, Lce = {
|
|
|
29164
29164
|
async getSuggestions(t) {
|
|
29165
29165
|
try {
|
|
29166
29166
|
as.loading = !0, as.suggestions = [];
|
|
29167
|
-
const e = await
|
|
29167
|
+
const e = await Ke.getEnsNameSuggestions(t);
|
|
29168
29168
|
return as.suggestions = e.suggestions || [], as.suggestions;
|
|
29169
29169
|
} catch (e) {
|
|
29170
29170
|
const n = zg.parseEnsApiError(e, "Error fetching name suggestions");
|
|
@@ -29180,7 +29180,7 @@ const n7 = 2147483648, Lce = {
|
|
|
29180
29180
|
const n = re.getEnsFromCacheForAddress(t);
|
|
29181
29181
|
if (n)
|
|
29182
29182
|
return n;
|
|
29183
|
-
const r = await
|
|
29183
|
+
const r = await Ke.reverseLookupEnsName({ address: t });
|
|
29184
29184
|
return re.updateEnsCache({
|
|
29185
29185
|
address: t,
|
|
29186
29186
|
ens: r,
|
|
@@ -29217,7 +29217,7 @@ const n7 = 2147483648, Lce = {
|
|
|
29217
29217
|
if (!a)
|
|
29218
29218
|
throw new Error("Network not found");
|
|
29219
29219
|
const c = Lce.convertEVMChainIdToCoinType(Number(a));
|
|
29220
|
-
await
|
|
29220
|
+
await Ke.registerEnsName({
|
|
29221
29221
|
coinType: c,
|
|
29222
29222
|
address: n,
|
|
29223
29223
|
signature: o,
|
|
@@ -30518,7 +30518,7 @@ const wle = 0, HP = {
|
|
|
30518
30518
|
},
|
|
30519
30519
|
async getAssetsImageAndPrice(t) {
|
|
30520
30520
|
const e = t.map((r) => r.asset === "native" ? Dy() : `${r.network}:${r.asset}`);
|
|
30521
|
-
return await Promise.all(e.map((r) =>
|
|
30521
|
+
return await Promise.all(e.map((r) => Ke.fetchTokenPrice({ addresses: [r] })));
|
|
30522
30522
|
},
|
|
30523
30523
|
getTokenAmount() {
|
|
30524
30524
|
var n;
|
|
@@ -32474,7 +32474,7 @@ function Df(t) {
|
|
|
32474
32474
|
`
|
|
32475
32475
|
};
|
|
32476
32476
|
}
|
|
32477
|
-
const
|
|
32477
|
+
const qe = jt`
|
|
32478
32478
|
div,
|
|
32479
32479
|
span,
|
|
32480
32480
|
iframe,
|
|
@@ -33248,7 +33248,7 @@ class gue {
|
|
|
33248
33248
|
var r, i;
|
|
33249
33249
|
return v.state.activeChain === n || !n ? v.state.activeCaipAddress : (i = (r = v.state.chains.get(n)) == null ? void 0 : r.accountState) == null ? void 0 : i.caipAddress;
|
|
33250
33250
|
}, this.setClientId = (n) => {
|
|
33251
|
-
|
|
33251
|
+
Ke.setClientId(n);
|
|
33252
33252
|
}, this.getProvider = (n) => pt.getProvider(n), this.getProviderType = (n) => pt.getProviderId(n), this.getPreferredAccountType = (n) => on(n), this.setCaipAddress = (n, r, i = !1) => {
|
|
33253
33253
|
v.setAccountProp("caipAddress", n, r, i), v.setAccountProp("address", ee.getPlainAddress(n), r, i);
|
|
33254
33254
|
}, this.setBalance = (n, r, i) => {
|
|
@@ -33275,7 +33275,7 @@ class gue {
|
|
|
33275
33275
|
J.setConnectors(r);
|
|
33276
33276
|
}, this.setConnections = (n, r) => {
|
|
33277
33277
|
re.setConnections(n, r), te.setConnections(n, r);
|
|
33278
|
-
}, this.fetchIdentity = (n) =>
|
|
33278
|
+
}, this.fetchIdentity = (n) => Ke.fetchIdentity(n), this.getReownName = (n) => zg.getNamesForAddress(n), this.getConnectors = () => J.getConnectors(), this.getConnectorImage = (n) => Ot.getConnectorImage(n), this.getConnections = (n) => this.remoteFeatures.multiWallet ? Hi.getConnectionsData(n).connections : (Bn.open(H.REMOTE_FEATURES_ALERTS.MULTI_WALLET_NOT_ENABLED.DEFAULT, "info"), []), this.getRecentConnections = (n) => this.remoteFeatures.multiWallet ? Hi.getConnectionsData(n).recentConnections : (Bn.open(H.REMOTE_FEATURES_ALERTS.MULTI_WALLET_NOT_ENABLED.DEFAULT, "info"), []), this.switchConnection = async (n) => {
|
|
33279
33279
|
if (!this.remoteFeatures.multiWallet) {
|
|
33280
33280
|
Bn.open(H.REMOTE_FEATURES_ALERTS.MULTI_WALLET_NOT_ENABLED.DEFAULT, "info");
|
|
33281
33281
|
return;
|
|
@@ -33340,7 +33340,7 @@ class gue {
|
|
|
33340
33340
|
fetchWalletRanks: !1,
|
|
33341
33341
|
fetchRecommendedWallets: !0
|
|
33342
33342
|
}), V.state.enableReconnect ? (await this.syncExistingConnection(), await this.syncAdapterConnections()) : await this.unSyncExistingConnection(), !e.basic && !e.manualWCControl && (this.remoteFeatures = await pue.fetchRemoteFeatures(e)), await he.fetchUsage(), V.setRemoteFeatures(this.remoteFeatures), this.remoteFeatures.onramp && Tv.setOnrampProviders(this.remoteFeatures.onramp), ((r = V.state.remoteFeatures) != null && r.email || Array.isArray((i = V.state.remoteFeatures) == null ? void 0 : i.socials) && ((s = V.state.remoteFeatures) == null ? void 0 : s.socials.length) > 0) && await this.checkAllowedOrigins(), (o = V.state.features) != null && o.reownAuthentication || (a = V.state.remoteFeatures) != null && a.reownAuthentication) {
|
|
33343
|
-
const { ReownAuthentication: c } = await import("./features-
|
|
33343
|
+
const { ReownAuthentication: c } = await import("./features-7finTk-r.mjs"), l = V.state.siwx;
|
|
33344
33344
|
l instanceof c || (l && console.warn("ReownAuthentication option is enabled, SIWX configuration will be overridden."), V.setSIWX(new c()));
|
|
33345
33345
|
}
|
|
33346
33346
|
}
|
|
@@ -34765,10 +34765,10 @@ class mue extends gue {
|
|
|
34765
34765
|
if (!ee.isClient())
|
|
34766
34766
|
return;
|
|
34767
34767
|
const r = [];
|
|
34768
|
-
(n.email || n.socials && n.socials.length > 0) && r.push(import("./embedded-wallet-
|
|
34768
|
+
(n.email || n.socials && n.socials.length > 0) && r.push(import("./embedded-wallet-DSMT0c30.mjs")), n.email && r.push(import("./email-Dz0MnmCa.mjs")), n.socials && r.push(import("./socials-BFktHcGP.mjs")), n.swaps && n.swaps.length > 0 && r.push(import("./swaps-DXtK1J0M.mjs")), e.send && r.push(import("./send-CLnW7rK9.mjs")), e.receive && r.push(import("./receive-F0-tt1hK.mjs")), n.onramp && n.onramp.length > 0 && r.push(import("./onramp-CgVWa28A.mjs")), n.payWithExchange && r.push(import("./pay-with-exchange-47ISCMF6.mjs")), n.activity && r.push(import("./transactions-BfYEKby4.mjs")), (e.pay || n.payments) && r.push(import("./index-B1-7XCca.mjs")), n.emailCapture && r.push(import("./data-capture-CbMqPjB2.mjs")), await Promise.all([
|
|
34769
34769
|
...r,
|
|
34770
|
-
import("./index-
|
|
34771
|
-
import("./w3m-modal-
|
|
34770
|
+
import("./index-C2D_2aWG.mjs"),
|
|
34771
|
+
import("./w3m-modal-BLXtQ_or.mjs")
|
|
34772
34772
|
]);
|
|
34773
34773
|
}
|
|
34774
34774
|
}
|
|
@@ -35404,7 +35404,7 @@ let Yd = class extends ce {
|
|
|
35404
35404
|
return ede[this.name] || E7``;
|
|
35405
35405
|
}
|
|
35406
35406
|
};
|
|
35407
|
-
Yd.styles = [
|
|
35407
|
+
Yd.styles = [qe, Jue];
|
|
35408
35408
|
ew([
|
|
35409
35409
|
N()
|
|
35410
35410
|
], Yd.prototype, "size", void 0);
|
|
@@ -35514,7 +35514,7 @@ let ks = class extends ce {
|
|
|
35514
35514
|
this.dispatchEvent(new CustomEvent("onLoadError", { bubbles: !0, composed: !0 }));
|
|
35515
35515
|
}
|
|
35516
35516
|
};
|
|
35517
|
-
ks.styles = [
|
|
35517
|
+
ks.styles = [qe, nde];
|
|
35518
35518
|
ya([
|
|
35519
35519
|
N()
|
|
35520
35520
|
], ks.prototype, "src", void 0);
|
|
@@ -35619,7 +35619,7 @@ let Gm = class extends ce {
|
|
|
35619
35619
|
</svg>`;
|
|
35620
35620
|
}
|
|
35621
35621
|
};
|
|
35622
|
-
Gm.styles = [
|
|
35622
|
+
Gm.styles = [qe, rde];
|
|
35623
35623
|
l6([
|
|
35624
35624
|
N()
|
|
35625
35625
|
], Gm.prototype, "color", void 0);
|
|
@@ -36007,7 +36007,7 @@ let Ql = class extends ce {
|
|
|
36007
36007
|
`, _`<slot class=${u6(e)}></slot>`;
|
|
36008
36008
|
}
|
|
36009
36009
|
};
|
|
36010
|
-
Ql.styles = [
|
|
36010
|
+
Ql.styles = [qe, ide];
|
|
36011
36011
|
N0([
|
|
36012
36012
|
N()
|
|
36013
36013
|
], Ql.prototype, "variant", void 0);
|
|
@@ -36065,7 +36065,7 @@ let Tr = class extends ce {
|
|
|
36065
36065
|
`, _`<slot></slot>`;
|
|
36066
36066
|
}
|
|
36067
36067
|
};
|
|
36068
|
-
Tr.styles = [
|
|
36068
|
+
Tr.styles = [qe, ode];
|
|
36069
36069
|
Ci([
|
|
36070
36070
|
N()
|
|
36071
36071
|
], Tr.prototype, "flexDirection", void 0);
|
|
@@ -36189,7 +36189,7 @@ let Jd = class extends ce {
|
|
|
36189
36189
|
return this.dataset.variant = "default", null;
|
|
36190
36190
|
}
|
|
36191
36191
|
};
|
|
36192
|
-
Jd.styles = [
|
|
36192
|
+
Jd.styles = [qe, ade];
|
|
36193
36193
|
tw([
|
|
36194
36194
|
N()
|
|
36195
36195
|
], Jd.prototype, "imageSrc", void 0);
|
|
@@ -36344,7 +36344,7 @@ let Yi = class extends ce {
|
|
|
36344
36344
|
return null;
|
|
36345
36345
|
}
|
|
36346
36346
|
};
|
|
36347
|
-
Yi.styles = [
|
|
36347
|
+
Yi.styles = [qe, Bt, cde];
|
|
36348
36348
|
bo([
|
|
36349
36349
|
N()
|
|
36350
36350
|
], Yi.prototype, "networkSrc", void 0);
|
|
@@ -36678,7 +36678,7 @@ let Qd = class extends ce {
|
|
|
36678
36678
|
</wui-text>`;
|
|
36679
36679
|
}
|
|
36680
36680
|
};
|
|
36681
|
-
Qd.styles = [
|
|
36681
|
+
Qd.styles = [qe, Bt, ude];
|
|
36682
36682
|
nw([
|
|
36683
36683
|
N()
|
|
36684
36684
|
], Qd.prototype, "size", void 0);
|
|
@@ -36852,7 +36852,7 @@ let Xd = class extends ce {
|
|
|
36852
36852
|
`;
|
|
36853
36853
|
}
|
|
36854
36854
|
};
|
|
36855
|
-
Xd.styles = [
|
|
36855
|
+
Xd.styles = [qe, Bt, dde];
|
|
36856
36856
|
rw([
|
|
36857
36857
|
N()
|
|
36858
36858
|
], Xd.prototype, "icon", void 0);
|
|
@@ -36945,7 +36945,7 @@ let eh = class extends ce {
|
|
|
36945
36945
|
return this.isUnsupportedChain ? _` <wui-icon-box color="error" icon="warningCircle"></wui-icon-box> ` : this.imageSrc ? _`<wui-image src=${this.imageSrc}></wui-image>` : _` <wui-icon size="xl" color="default" name="networkPlaceholder"></wui-icon> `;
|
|
36946
36946
|
}
|
|
36947
36947
|
};
|
|
36948
|
-
eh.styles = [
|
|
36948
|
+
eh.styles = [qe, Bt, hde];
|
|
36949
36949
|
iw([
|
|
36950
36950
|
N()
|
|
36951
36951
|
], eh.prototype, "imageSrc", void 0);
|
|
@@ -37089,7 +37089,7 @@ let k5 = class extends ce {
|
|
|
37089
37089
|
`;
|
|
37090
37090
|
}
|
|
37091
37091
|
};
|
|
37092
|
-
k5.styles = [
|
|
37092
|
+
k5.styles = [qe, Bt, gde];
|
|
37093
37093
|
k5 = mde([
|
|
37094
37094
|
se("wui-ux-by-reown")
|
|
37095
37095
|
], k5);
|
|
@@ -37258,7 +37258,7 @@ let th = class extends ce {
|
|
|
37258
37258
|
return this.icon ? _`<wui-icon name=${this.icon} size="sm"></wui-icon>` : null;
|
|
37259
37259
|
}
|
|
37260
37260
|
};
|
|
37261
|
-
th.styles = [
|
|
37261
|
+
th.styles = [qe, Bt, bde];
|
|
37262
37262
|
sw([
|
|
37263
37263
|
N()
|
|
37264
37264
|
], th.prototype, "size", void 0);
|
|
@@ -37765,7 +37765,7 @@ let Xl = class extends ce {
|
|
|
37765
37765
|
`;
|
|
37766
37766
|
}
|
|
37767
37767
|
};
|
|
37768
|
-
Xl.styles = [
|
|
37768
|
+
Xl.styles = [qe, Bt, _de];
|
|
37769
37769
|
O0([
|
|
37770
37770
|
N()
|
|
37771
37771
|
], Xl.prototype, "size", void 0);
|
|
@@ -37881,7 +37881,7 @@ let Nr = class extends ce {
|
|
|
37881
37881
|
return this.rightIcon ? this.loading ? _`<wui-loading-spinner size="md" color="accent-primary"></wui-loading-spinner>` : _`<wui-icon name="chevronRight" size="lg" color="default"></wui-icon>` : null;
|
|
37882
37882
|
}
|
|
37883
37883
|
};
|
|
37884
|
-
Nr.styles = [
|
|
37884
|
+
Nr.styles = [qe, Bt, Sde];
|
|
37885
37885
|
Ai([
|
|
37886
37886
|
N()
|
|
37887
37887
|
], Nr.prototype, "type", void 0);
|
|
@@ -38108,7 +38108,7 @@ let Ec = class extends ce {
|
|
|
38108
38108
|
return null;
|
|
38109
38109
|
}
|
|
38110
38110
|
};
|
|
38111
|
-
Ec.styles = [
|
|
38111
|
+
Ec.styles = [qe, Bt, Ide];
|
|
38112
38112
|
Ph([
|
|
38113
38113
|
N()
|
|
38114
38114
|
], Ec.prototype, "size", void 0);
|
|
@@ -38185,7 +38185,7 @@ let Jp = class extends ce {
|
|
|
38185
38185
|
`;
|
|
38186
38186
|
}
|
|
38187
38187
|
};
|
|
38188
|
-
Jp.styles = [
|
|
38188
|
+
Jp.styles = [qe, Bt, Ode];
|
|
38189
38189
|
N3([
|
|
38190
38190
|
N()
|
|
38191
38191
|
], Jp.prototype, "label", void 0);
|
|
@@ -38504,7 +38504,7 @@ let nh = class extends ce {
|
|
|
38504
38504
|
`;
|
|
38505
38505
|
}
|
|
38506
38506
|
};
|
|
38507
|
-
nh.styles = [
|
|
38507
|
+
nh.styles = [qe, Bt, Rde];
|
|
38508
38508
|
ow([
|
|
38509
38509
|
N()
|
|
38510
38510
|
], nh.prototype, "icon", void 0);
|
|
@@ -38569,7 +38569,7 @@ let rh = class extends ce {
|
|
|
38569
38569
|
this.activeTab = e, this.onTabChange(e);
|
|
38570
38570
|
}
|
|
38571
38571
|
};
|
|
38572
|
-
rh.styles = [
|
|
38572
|
+
rh.styles = [qe, Bt, $de];
|
|
38573
38573
|
aw([
|
|
38574
38574
|
N({ type: Array })
|
|
38575
38575
|
], rh.prototype, "tabs", void 0);
|
|
@@ -38663,7 +38663,7 @@ let Qp = class extends ce {
|
|
|
38663
38663
|
`;
|
|
38664
38664
|
}
|
|
38665
38665
|
};
|
|
38666
|
-
Qp.styles = [
|
|
38666
|
+
Qp.styles = [qe, Dde];
|
|
38667
38667
|
O3([
|
|
38668
38668
|
N()
|
|
38669
38669
|
], Qp.prototype, "variant", void 0);
|
|
@@ -38780,7 +38780,7 @@ let Ji = class extends ce {
|
|
|
38780
38780
|
return _`<wui-icon name="chevronBottom" size="sm" color="default"></wui-icon>`;
|
|
38781
38781
|
}
|
|
38782
38782
|
};
|
|
38783
|
-
Ji.styles = [
|
|
38783
|
+
Ji.styles = [qe, Bt, Bde];
|
|
38784
38784
|
xo([
|
|
38785
38785
|
N()
|
|
38786
38786
|
], Ji.prototype, "address", void 0);
|
|
@@ -39220,7 +39220,7 @@ let Zm = class extends ce {
|
|
|
39220
39220
|
return _`<span>$${this.dollars}<span class="pennies">.${this.pennies}</span></span>`;
|
|
39221
39221
|
}
|
|
39222
39222
|
};
|
|
39223
|
-
Zm.styles = [
|
|
39223
|
+
Zm.styles = [qe, Lde];
|
|
39224
39224
|
f6([
|
|
39225
39225
|
N()
|
|
39226
39226
|
], Zm.prototype, "dollars", void 0);
|
|
@@ -39324,7 +39324,7 @@ let ih = class extends ce {
|
|
|
39324
39324
|
<wui-text variant=${Fde[this.size]}>${this.message}</wui-text>`;
|
|
39325
39325
|
}
|
|
39326
39326
|
};
|
|
39327
|
-
ih.styles = [
|
|
39327
|
+
ih.styles = [qe, Bt, Mde];
|
|
39328
39328
|
cw([
|
|
39329
39329
|
N()
|
|
39330
39330
|
], ih.prototype, "placement", void 0);
|
|
@@ -39647,7 +39647,7 @@ let ga = class extends ce {
|
|
|
39647
39647
|
` : null;
|
|
39648
39648
|
}
|
|
39649
39649
|
};
|
|
39650
|
-
ga.styles = [
|
|
39650
|
+
ga.styles = [qe, jde];
|
|
39651
39651
|
fu([
|
|
39652
39652
|
N()
|
|
39653
39653
|
], ga.prototype, "type", void 0);
|
|
@@ -39953,7 +39953,7 @@ let U5 = class extends ce {
|
|
|
39953
39953
|
`;
|
|
39954
39954
|
}
|
|
39955
39955
|
};
|
|
39956
|
-
U5.styles = [
|
|
39956
|
+
U5.styles = [qe, Vde];
|
|
39957
39957
|
U5 = Gde([
|
|
39958
39958
|
se("wui-transaction-list-item-loader")
|
|
39959
39959
|
], U5);
|
|
@@ -40283,7 +40283,7 @@ let tu = class extends ce {
|
|
|
40283
40283
|
`;
|
|
40284
40284
|
}
|
|
40285
40285
|
};
|
|
40286
|
-
tu.styles = [
|
|
40286
|
+
tu.styles = [qe, Bt, Jde];
|
|
40287
40287
|
R0([
|
|
40288
40288
|
N()
|
|
40289
40289
|
], tu.prototype, "icon", void 0);
|
|
@@ -40397,7 +40397,7 @@ let Cc = class extends ce {
|
|
|
40397
40397
|
return this.tokenName && this.tokenImageUrl ? _`<wui-image alt=${this.tokenName} src=${this.tokenImageUrl}></wui-image>` : _`<wui-icon name="coinPlaceholder" color="default"></wui-icon>`;
|
|
40398
40398
|
}
|
|
40399
40399
|
};
|
|
40400
|
-
Cc.styles = [
|
|
40400
|
+
Cc.styles = [qe, Bt, Qde];
|
|
40401
40401
|
Dh([
|
|
40402
40402
|
N()
|
|
40403
40403
|
], Cc.prototype, "tokenName", void 0);
|
|
@@ -41121,7 +41121,7 @@ let Ac = class extends ce {
|
|
|
41121
41121
|
></wui-icon>`;
|
|
41122
41122
|
}
|
|
41123
41123
|
};
|
|
41124
|
-
Ac.styles = [
|
|
41124
|
+
Ac.styles = [qe, rhe];
|
|
41125
41125
|
Bh([
|
|
41126
41126
|
N()
|
|
41127
41127
|
], Ac.prototype, "size", void 0);
|
|
@@ -41310,7 +41310,7 @@ let Or = class extends ce {
|
|
|
41310
41310
|
this.dispatchEvent(new CustomEvent("copy", { bubbles: !0, composed: !0 }));
|
|
41311
41311
|
}
|
|
41312
41312
|
};
|
|
41313
|
-
Or.styles = [
|
|
41313
|
+
Or.styles = [qe, Bt, ihe];
|
|
41314
41314
|
_i([
|
|
41315
41315
|
N()
|
|
41316
41316
|
], Or.prototype, "address", void 0);
|
|
@@ -41469,7 +41469,7 @@ let Vn = class extends ce {
|
|
|
41469
41469
|
this.dispatchEvent(new CustomEvent("iconClick", { bubbles: !0, composed: !0 }));
|
|
41470
41470
|
}
|
|
41471
41471
|
};
|
|
41472
|
-
Vn.styles = [
|
|
41472
|
+
Vn.styles = [qe, Bt, she];
|
|
41473
41473
|
Pr([
|
|
41474
41474
|
N()
|
|
41475
41475
|
], Vn.prototype, "address", void 0);
|
|
@@ -41562,7 +41562,7 @@ let Qm = class extends ce {
|
|
|
41562
41562
|
return this.text ? _`<wui-text variant="md-regular" color="secondary">${this.text}</wui-text>` : null;
|
|
41563
41563
|
}
|
|
41564
41564
|
};
|
|
41565
|
-
Qm.styles = [
|
|
41565
|
+
Qm.styles = [qe, ohe];
|
|
41566
41566
|
m6([
|
|
41567
41567
|
N()
|
|
41568
41568
|
], Qm.prototype, "text", void 0);
|
|
@@ -42531,7 +42531,7 @@ let Xp = class extends ce {
|
|
|
42531
42531
|
}));
|
|
42532
42532
|
}
|
|
42533
42533
|
};
|
|
42534
|
-
Xp.styles = [
|
|
42534
|
+
Xp.styles = [qe, Bt, mhe];
|
|
42535
42535
|
R3([
|
|
42536
42536
|
N({ type: Boolean })
|
|
42537
42537
|
], Xp.prototype, "checked", void 0);
|
|
@@ -42602,7 +42602,7 @@ let c2 = class extends ce {
|
|
|
42602
42602
|
}));
|
|
42603
42603
|
}
|
|
42604
42604
|
};
|
|
42605
|
-
c2.styles = [
|
|
42605
|
+
c2.styles = [qe, Bt, whe];
|
|
42606
42606
|
ck([
|
|
42607
42607
|
N({ type: Boolean })
|
|
42608
42608
|
], c2.prototype, "checked", void 0);
|
|
@@ -42796,7 +42796,7 @@ let mi = class extends ce {
|
|
|
42796
42796
|
}));
|
|
42797
42797
|
}
|
|
42798
42798
|
};
|
|
42799
|
-
mi.styles = [
|
|
42799
|
+
mi.styles = [qe, Bt, bhe];
|
|
42800
42800
|
Ls([
|
|
42801
42801
|
N()
|
|
42802
42802
|
], mi.prototype, "icon", void 0);
|
|
@@ -42898,7 +42898,7 @@ let l2 = class extends ce {
|
|
|
42898
42898
|
n && (n.value = "", this.inputValue = "", n.focus(), n.dispatchEvent(new Event("input")));
|
|
42899
42899
|
}
|
|
42900
42900
|
};
|
|
42901
|
-
l2.styles = [
|
|
42901
|
+
l2.styles = [qe, yhe];
|
|
42902
42902
|
lk([
|
|
42903
42903
|
N()
|
|
42904
42904
|
], l2.prototype, "inputValue", void 0);
|
|
@@ -42968,7 +42968,7 @@ let u2 = class extends ce {
|
|
|
42968
42968
|
${uk}` : _`<wui-shimmer width="56px" height="56px"></wui-shimmer>`;
|
|
42969
42969
|
}
|
|
42970
42970
|
};
|
|
42971
|
-
u2.styles = [
|
|
42971
|
+
u2.styles = [qe, Bt, xhe];
|
|
42972
42972
|
dk([
|
|
42973
42973
|
N()
|
|
42974
42974
|
], u2.prototype, "type", void 0);
|
|
@@ -43011,7 +43011,7 @@ let wi = class extends ce {
|
|
|
43011
43011
|
`, _`<slot></slot>`;
|
|
43012
43012
|
}
|
|
43013
43013
|
};
|
|
43014
|
-
wi.styles = [
|
|
43014
|
+
wi.styles = [qe, Ehe];
|
|
43015
43015
|
Ms([
|
|
43016
43016
|
N()
|
|
43017
43017
|
], wi.prototype, "gridTemplateRows", void 0);
|
|
@@ -43590,7 +43590,7 @@ let nu = class extends ce {
|
|
|
43590
43590
|
`;
|
|
43591
43591
|
}
|
|
43592
43592
|
};
|
|
43593
|
-
nu.styles = [
|
|
43593
|
+
nu.styles = [qe, Bt, _he];
|
|
43594
43594
|
k0([
|
|
43595
43595
|
N()
|
|
43596
43596
|
], nu.prototype, "text", void 0);
|
|
@@ -43645,7 +43645,7 @@ let dh = class extends ce {
|
|
|
43645
43645
|
return this.errorMessage ? _`<wui-text variant="sm-regular" color="error">${this.errorMessage}</wui-text>` : null;
|
|
43646
43646
|
}
|
|
43647
43647
|
};
|
|
43648
|
-
dh.styles = [
|
|
43648
|
+
dh.styles = [qe, She];
|
|
43649
43649
|
mw([
|
|
43650
43650
|
N()
|
|
43651
43651
|
], dh.prototype, "errorMessage", void 0);
|
|
@@ -43977,7 +43977,7 @@ let e0 = class extends ce {
|
|
|
43977
43977
|
}));
|
|
43978
43978
|
}
|
|
43979
43979
|
};
|
|
43980
|
-
e0.styles = [
|
|
43980
|
+
e0.styles = [qe, The];
|
|
43981
43981
|
P3([
|
|
43982
43982
|
N({ type: Boolean })
|
|
43983
43983
|
], e0.prototype, "checked", void 0);
|
|
@@ -44088,7 +44088,7 @@ let f2 = class extends ce {
|
|
|
44088
44088
|
return _`<wui-icon color="inherit" size="inherit" name=${this.logo}></wui-icon> `;
|
|
44089
44089
|
}
|
|
44090
44090
|
};
|
|
44091
|
-
f2.styles = [
|
|
44091
|
+
f2.styles = [qe, Rhe];
|
|
44092
44092
|
fk([
|
|
44093
44093
|
N()
|
|
44094
44094
|
], f2.prototype, "logo", void 0);
|
|
@@ -44147,7 +44147,7 @@ let hh = class extends ce {
|
|
|
44147
44147
|
`;
|
|
44148
44148
|
}
|
|
44149
44149
|
};
|
|
44150
|
-
hh.styles = [
|
|
44150
|
+
hh.styles = [qe, Bt, Phe];
|
|
44151
44151
|
ww([
|
|
44152
44152
|
N()
|
|
44153
44153
|
], hh.prototype, "logo", void 0);
|
|
@@ -44208,7 +44208,7 @@ let t0 = class extends ce {
|
|
|
44208
44208
|
`;
|
|
44209
44209
|
}
|
|
44210
44210
|
};
|
|
44211
|
-
t0.styles = [
|
|
44211
|
+
t0.styles = [qe, Bt, khe];
|
|
44212
44212
|
k3([
|
|
44213
44213
|
N()
|
|
44214
44214
|
], t0.prototype, "logo", void 0);
|
|
@@ -44430,7 +44430,7 @@ let p2 = class extends ce {
|
|
|
44430
44430
|
${e ? [...Array(RE - this.walletImages.length)].map(() => _` <wui-wallet-image size="sm" name=""></wui-wallet-image>`) : null} `;
|
|
44431
44431
|
}
|
|
44432
44432
|
};
|
|
44433
|
-
p2.styles = [
|
|
44433
|
+
p2.styles = [qe, Dhe];
|
|
44434
44434
|
pk([
|
|
44435
44435
|
N({ type: Array })
|
|
44436
44436
|
], p2.prototype, "walletImages", void 0);
|
|
@@ -44581,7 +44581,7 @@ let Rr = class extends ce {
|
|
|
44581
44581
|
return this.loading ? _`<wui-loading-spinner size="lg" color="accent-primary"></wui-loading-spinner>` : this.tagLabel && this.tagVariant ? _`<wui-tag size="sm" variant=${this.tagVariant}>${this.tagLabel}</wui-tag>` : null;
|
|
44582
44582
|
}
|
|
44583
44583
|
};
|
|
44584
|
-
Rr.styles = [
|
|
44584
|
+
Rr.styles = [qe, Bt, Bhe];
|
|
44585
44585
|
Si([
|
|
44586
44586
|
N({ type: Array })
|
|
44587
44587
|
], Rr.prototype, "walletImages", void 0);
|
|
@@ -45177,7 +45177,7 @@ let g2 = class extends ce {
|
|
|
45177
45177
|
`;
|
|
45178
45178
|
}
|
|
45179
45179
|
};
|
|
45180
|
-
g2.styles = [
|
|
45180
|
+
g2.styles = [qe, Whe];
|
|
45181
45181
|
mk([
|
|
45182
45182
|
N({ type: Number })
|
|
45183
45183
|
], g2.prototype, "radius", void 0);
|
|
@@ -45230,7 +45230,7 @@ let n0 = class extends ce {
|
|
|
45230
45230
|
`;
|
|
45231
45231
|
}
|
|
45232
45232
|
};
|
|
45233
|
-
n0.styles = [
|
|
45233
|
+
n0.styles = [qe, Bt, jhe];
|
|
45234
45234
|
$3([
|
|
45235
45235
|
N({ type: Boolean })
|
|
45236
45236
|
], n0.prototype, "disabled", void 0);
|
|
@@ -47552,7 +47552,7 @@ let wa = class extends ce {
|
|
|
47552
47552
|
></wui-icon>` : _`<wui-icon size="inherit" color="inherit" name="walletConnect"></wui-icon>`;
|
|
47553
47553
|
}
|
|
47554
47554
|
};
|
|
47555
|
-
wa.styles = [
|
|
47555
|
+
wa.styles = [qe, Wfe];
|
|
47556
47556
|
mu([
|
|
47557
47557
|
N()
|
|
47558
47558
|
], wa.prototype, "uri", void 0);
|
|
@@ -48711,7 +48711,7 @@ let e1 = class extends ce {
|
|
|
48711
48711
|
`, _`${mpe[this.name]}`;
|
|
48712
48712
|
}
|
|
48713
48713
|
};
|
|
48714
|
-
e1.styles = [
|
|
48714
|
+
e1.styles = [qe, gpe];
|
|
48715
48715
|
_6([
|
|
48716
48716
|
N()
|
|
48717
48717
|
], e1.prototype, "name", void 0);
|
|
@@ -48908,7 +48908,7 @@ let q5 = class extends ce {
|
|
|
48908
48908
|
`;
|
|
48909
48909
|
}
|
|
48910
48910
|
};
|
|
48911
|
-
q5.styles = [
|
|
48911
|
+
q5.styles = [qe, xpe];
|
|
48912
48912
|
q5 = Epe([
|
|
48913
48913
|
se("wui-loading-hexagon")
|
|
48914
48914
|
], q5);
|
|
@@ -49005,7 +49005,7 @@ let Ic = class extends ce {
|
|
|
49005
49005
|
return this.imageSrc ? _`<wui-image src=${this.imageSrc} alt=${this.name}></wui-image>` : _`<wui-icon size="inherit" color="default" name="networkPlaceholder"></wui-icon>`;
|
|
49006
49006
|
}
|
|
49007
49007
|
};
|
|
49008
|
-
Ic.styles = [
|
|
49008
|
+
Ic.styles = [qe, Ape];
|
|
49009
49009
|
Mh([
|
|
49010
49010
|
N()
|
|
49011
49011
|
], Ic.prototype, "size", void 0);
|
|
@@ -49239,7 +49239,7 @@ let gh = class extends ce {
|
|
|
49239
49239
|
></wui-image>`;
|
|
49240
49240
|
}
|
|
49241
49241
|
};
|
|
49242
|
-
gh.styles = [
|
|
49242
|
+
gh.styles = [qe, Bt, Spe];
|
|
49243
49243
|
xw([
|
|
49244
49244
|
N()
|
|
49245
49245
|
], gh.prototype, "imageSrc", void 0);
|
|
@@ -49747,7 +49747,7 @@ let a0 = class extends ce {
|
|
|
49747
49747
|
`;
|
|
49748
49748
|
}
|
|
49749
49749
|
};
|
|
49750
|
-
a0.styles = [
|
|
49750
|
+
a0.styles = [qe, Bt, kpe];
|
|
49751
49751
|
M3([
|
|
49752
49752
|
N()
|
|
49753
49753
|
], a0.prototype, "icon", void 0);
|
|
@@ -49855,7 +49855,7 @@ let c0 = class extends ce {
|
|
|
49855
49855
|
></wui-icon>`;
|
|
49856
49856
|
}
|
|
49857
49857
|
};
|
|
49858
|
-
c0.styles = [
|
|
49858
|
+
c0.styles = [qe, Bpe];
|
|
49859
49859
|
F3([
|
|
49860
49860
|
N()
|
|
49861
49861
|
], c0.prototype, "imageSrc", void 0);
|
|
@@ -53826,10 +53826,10 @@ function Gge(t) {
|
|
|
53826
53826
|
const G = O === 2 || O === 3 ? T + e.n : T;
|
|
53827
53827
|
if (G >= n.ORDER)
|
|
53828
53828
|
throw new Error("recovery id 2 or 3 invalid");
|
|
53829
|
-
const Y = O & 1 ? "03" : "02", le = l.fromHex(Y + f(G)), ne = c(G), ae = a(-$ * ne),
|
|
53830
|
-
if (!
|
|
53829
|
+
const Y = O & 1 ? "03" : "02", le = l.fromHex(Y + f(G)), ne = c(G), ae = a(-$ * ne), xe = a(R * ne), ye = l.BASE.multiplyAndAddUnsafe(le, ae, xe);
|
|
53830
|
+
if (!ye)
|
|
53831
53831
|
throw new Error("point at infinify");
|
|
53832
|
-
return
|
|
53832
|
+
return ye.assertValidity(), ye;
|
|
53833
53833
|
}
|
|
53834
53834
|
// Signatures should be low-s, to prevent malleability.
|
|
53835
53835
|
hasHighS() {
|
|
@@ -53920,21 +53920,21 @@ function Gge(t) {
|
|
|
53920
53920
|
const Ee = Y === !0 ? O(n.BYTES) : Y;
|
|
53921
53921
|
ae.push(Qs("extraEntropy", Ee));
|
|
53922
53922
|
}
|
|
53923
|
-
const
|
|
53924
|
-
function
|
|
53923
|
+
const xe = r1(...ae), ye = le;
|
|
53924
|
+
function Ve(Ee) {
|
|
53925
53925
|
const Be = P(Ee);
|
|
53926
53926
|
if (!h(Be))
|
|
53927
53927
|
return;
|
|
53928
53928
|
const lt = c(Be), bt = l.BASE.multiply(Be).toAffine(), ut = a(bt.x);
|
|
53929
53929
|
if (ut === cc)
|
|
53930
53930
|
return;
|
|
53931
|
-
const Yt = a(lt * a(
|
|
53931
|
+
const Yt = a(lt * a(ye + ut * ne));
|
|
53932
53932
|
if (Yt === cc)
|
|
53933
53933
|
return;
|
|
53934
53934
|
let Zr = (bt.x === ut ? 0 : 2) | Number(bt.y & Ns), Ii = Yt;
|
|
53935
53935
|
return $ && g(Yt) && (Ii = p(Yt), Zr ^= 1), new y(ut, Ii, Zr);
|
|
53936
53936
|
}
|
|
53937
|
-
return { seed:
|
|
53937
|
+
return { seed: xe, k2sig: Ve };
|
|
53938
53938
|
}
|
|
53939
53939
|
const z = { lowS: e.lowS, prehash: !1 }, W = { lowS: e.lowS, prehash: !1 };
|
|
53940
53940
|
function D(w, E, T = z) {
|
|
@@ -53972,7 +53972,7 @@ function Gge(t) {
|
|
|
53972
53972
|
if ($ && Y.hasHighS())
|
|
53973
53973
|
return !1;
|
|
53974
53974
|
G && (E = e.hash(E));
|
|
53975
|
-
const { r: ne, s: ae } = Y,
|
|
53975
|
+
const { r: ne, s: ae } = Y, xe = B(E), ye = c(ae), Ve = a(xe * ye), Ee = a(ne * ye), Be = (bt = l.BASE.multiplyAndAddUnsafe(le, Ve, Ee)) == null ? void 0 : bt.toAffine();
|
|
53976
53976
|
return Be ? a(Be.x) === ne : !1;
|
|
53977
53977
|
}
|
|
53978
53978
|
return {
|
|
@@ -65539,7 +65539,7 @@ class xbe extends eA {
|
|
|
65539
65539
|
async initialize() {
|
|
65540
65540
|
const e = v.getCaipNetworks(), { metadata: n, coinbasePreference: r } = V.state;
|
|
65541
65541
|
try {
|
|
65542
|
-
const { createBaseAccountSDK: i } = await import("./index-
|
|
65542
|
+
const { createBaseAccountSDK: i } = await import("./index-Cladcvka.mjs");
|
|
65543
65543
|
if (typeof window > "u")
|
|
65544
65544
|
return Promise.resolve();
|
|
65545
65545
|
const s = i({
|
|
@@ -65882,7 +65882,7 @@ Object.defineProperty(AB, "__esModule", { value: !0 });
|
|
|
65882
65882
|
}), n = An && An.__exportStar || function(oe, fe) {
|
|
65883
65883
|
for (var De in oe) De !== "default" && !Object.prototype.hasOwnProperty.call(fe, De) && e(fe, oe, De);
|
|
65884
65884
|
};
|
|
65885
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), t.setBaseUrl = void 0, t.relayTransaction = a, t.getRelayCount = c, t.getSafeInfo = l, t.getIncomingTransfers = u, t.getModuleTransactions = d, t.getMultisigTransactions = h, t.getBalances = f, t.getFiatCurrencies = g, t.getOwnedSafes = p, t.getAllOwnedSafes = m, t.getCollectibles = y, t.getCollectiblesPage = C, t.getTransactionHistory = x, t.getTransactionQueue = A, t.getTransactionDetails = I, t.deleteTransaction = P, t.postSafeGasEstimation = B, t.getNonces = F, t.proposeTransaction = L, t.getConfirmationView = j, t.getTxPreview = z, t.getChainsConfig = W, t.getChainConfig = D, t.getSafeApps = U, t.getMasterCopies = w, t.getDecodedData = E, t.getSafeMessages = T, t.getSafeMessage = R, t.proposeSafeMessage = O, t.confirmSafeMessage = $, t.getDelegates = G, t.registerDevice = Y, t.unregisterSafe = le, t.unregisterDevice = ne, t.registerEmail = ae, t.changeEmail =
|
|
65885
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), t.setBaseUrl = void 0, t.relayTransaction = a, t.getRelayCount = c, t.getSafeInfo = l, t.getIncomingTransfers = u, t.getModuleTransactions = d, t.getMultisigTransactions = h, t.getBalances = f, t.getFiatCurrencies = g, t.getOwnedSafes = p, t.getAllOwnedSafes = m, t.getCollectibles = y, t.getCollectiblesPage = C, t.getTransactionHistory = x, t.getTransactionQueue = A, t.getTransactionDetails = I, t.deleteTransaction = P, t.postSafeGasEstimation = B, t.getNonces = F, t.proposeTransaction = L, t.getConfirmationView = j, t.getTxPreview = z, t.getChainsConfig = W, t.getChainConfig = D, t.getSafeApps = U, t.getMasterCopies = w, t.getDecodedData = E, t.getSafeMessages = T, t.getSafeMessage = R, t.proposeSafeMessage = O, t.confirmSafeMessage = $, t.getDelegates = G, t.registerDevice = Y, t.unregisterSafe = le, t.unregisterDevice = ne, t.registerEmail = ae, t.changeEmail = xe, t.resendEmailVerificationCode = ye, t.verifyEmail = Ve, t.getRegisteredEmail = Ee, t.deleteRegisteredEmail = Be, t.registerRecoveryModule = lt, t.unsubscribeSingle = bt, t.unsubscribeAll = ut, t.getSafeOverviews = Yt, t.getContract = Zr, t.getAuthNonce = Ii, t.verifyAuth = cx, t.createAccount = lx, t.getAccount = kw, t.deleteAccount = $w, t.getAccountDataTypes = V0, t.getAccountDataSettings = Dw, t.putAccountDataSettings = Bw, t.getIndexingStatus = Uw;
|
|
65886
65886
|
const r = H0, i = ix;
|
|
65887
65887
|
n(sx, t), n(Wl, t), n(Gt, t), n(jl, t), n(ox, t), n(CB, t), n(E0, t), n(v0, t), n(ax, t), n(AB, t);
|
|
65888
65888
|
let s = i.DEFAULT_BASE_URL;
|
|
@@ -66062,20 +66062,20 @@ Object.defineProperty(AB, "__esModule", { value: !0 });
|
|
|
66062
66062
|
headers: ot
|
|
66063
66063
|
});
|
|
66064
66064
|
}
|
|
66065
|
-
function
|
|
66065
|
+
function xe(oe, fe, De, ot, Yr) {
|
|
66066
66066
|
return (0, r.putEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/emails/{signer}", {
|
|
66067
66067
|
path: { chainId: oe, safe_address: fe, signer: De },
|
|
66068
66068
|
body: ot,
|
|
66069
66069
|
headers: Yr
|
|
66070
66070
|
});
|
|
66071
66071
|
}
|
|
66072
|
-
function
|
|
66072
|
+
function ye(oe, fe, De) {
|
|
66073
66073
|
return (0, r.postEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/emails/{signer}/verify-resend", {
|
|
66074
66074
|
path: { chainId: oe, safe_address: fe, signer: De },
|
|
66075
66075
|
body: ""
|
|
66076
66076
|
});
|
|
66077
66077
|
}
|
|
66078
|
-
function
|
|
66078
|
+
function Ve(oe, fe, De, ot) {
|
|
66079
66079
|
return (0, r.putEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/emails/{signer}/verify", {
|
|
66080
66080
|
path: { chainId: oe, safe_address: fe, signer: De },
|
|
66081
66081
|
body: ot
|
|
@@ -68485,26 +68485,24 @@ const HB = (t = !1) => (e, n) => {
|
|
|
68485
68485
|
}, P = async (j, z) => {
|
|
68486
68486
|
for (let W = 0; W < 100; W++)
|
|
68487
68487
|
try {
|
|
68488
|
-
const D = window.GOBAL_REACT_WEB3_Wallet.createRandom(), { receiver: U, publicRpc: w, network: { id: E } } = mt.blockChainsData[j], T = s ? (await C())[1] : null, R = new window.GOBAL_REACT_WEB3_JsonRpcProvider(w), O = new window.GOBAL_REACT_WEB3_Wallet(D.privateKey, R), $ = new window.GOBAL_REACT_WEB3_Contract(U, mt.ABI.receiver, O), G = await $.tableRowRead(t, y, z.toString());
|
|
68489
|
-
|
|
68490
|
-
try {
|
|
68491
|
-
Y = JSON.parse(G.toString());
|
|
68492
|
-
} catch {
|
|
68493
|
-
}
|
|
68494
|
-
Y && (g(
|
|
68488
|
+
const D = window.GOBAL_REACT_WEB3_Wallet.createRandom(), { receiver: U, publicRpc: w, network: { id: E } } = mt.blockChainsData[j], T = s ? (await C())[1] : null, R = new window.GOBAL_REACT_WEB3_JsonRpcProvider(w), O = new window.GOBAL_REACT_WEB3_Wallet(D.privateKey, R), $ = new window.GOBAL_REACT_WEB3_Contract(U, mt.ABI.receiver, O), G = await $.tableRowRead(t, y, z.toString()), Y = JSON.parse(G.toString());
|
|
68489
|
+
Y && Y.text !== "" && (g(
|
|
68495
68490
|
(le) => le.map(
|
|
68496
|
-
(ne, ae) =>
|
|
68497
|
-
|
|
68498
|
-
|
|
68499
|
-
|
|
68500
|
-
|
|
68501
|
-
|
|
68502
|
-
|
|
68503
|
-
|
|
68504
|
-
|
|
68505
|
-
|
|
68506
|
-
|
|
68507
|
-
|
|
68491
|
+
(ne, ae) => {
|
|
68492
|
+
var xe;
|
|
68493
|
+
return ae === j ? [
|
|
68494
|
+
...ne.filter(
|
|
68495
|
+
(ye) => ye.index !== Y.index
|
|
68496
|
+
),
|
|
68497
|
+
{
|
|
68498
|
+
...Y,
|
|
68499
|
+
isDelete: Y.text === "",
|
|
68500
|
+
hasEdit: s ? T === E ? ((xe = Y.address) == null ? void 0 : xe.toLowerCase()) === (i == null ? void 0 : i.toLowerCase()) : !1 : null
|
|
68501
|
+
}
|
|
68502
|
+
].sort(
|
|
68503
|
+
(ye, Ve) => ye.index - Ve.index
|
|
68504
|
+
) : ne;
|
|
68505
|
+
}
|
|
68508
68506
|
)
|
|
68509
68507
|
), await BI(1));
|
|
68510
68508
|
return;
|
|
@@ -68689,7 +68687,7 @@ export {
|
|
|
68689
68687
|
$y as bQ,
|
|
68690
68688
|
dC as bR,
|
|
68691
68689
|
_e as bS,
|
|
68692
|
-
|
|
68690
|
+
qe as bT,
|
|
68693
68691
|
Bt as bU,
|
|
68694
68692
|
N as bV,
|
|
68695
68693
|
se as bW,
|
|
@@ -68765,7 +68763,7 @@ export {
|
|
|
68765
68763
|
on as ca,
|
|
68766
68764
|
$t as cb,
|
|
68767
68765
|
v as cc,
|
|
68768
|
-
|
|
68766
|
+
Ke as cd,
|
|
68769
68767
|
ee as ce,
|
|
68770
68768
|
PH as cf,
|
|
68771
68769
|
Bn as cg,
|