@dmarket/p2p-tracker-core 1.2.1-SNAPSHOT-development.154 → 1.2.1-SNAPSHOT-development.156
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/p2p-tracker-core.mjs
CHANGED
|
@@ -1054,7 +1054,10 @@ initMetadataForClass(WebExtKeyValueStore, 'WebExtKeyValueStore', WebExtKeyValueS
|
|
|
1054
1054
|
initMetadataForCoroutine($webExtStorageGetCOROUTINE$, CoroutineImpl);
|
|
1055
1055
|
initMetadataForCoroutine($webExtStorageSetCOROUTINE$, CoroutineImpl);
|
|
1056
1056
|
initMetadataForCoroutine($webExtStorageRemoveCOROUTINE$, CoroutineImpl);
|
|
1057
|
+
initMetadataForCoroutine($awaitLegacyRemovalCOROUTINE$, CoroutineImpl);
|
|
1057
1058
|
initMetadataForCoroutine($readSteamCredentialCOROUTINE$, CoroutineImpl);
|
|
1059
|
+
initMetadataForCoroutine($writeSteamCredentialCOROUTINE$, CoroutineImpl);
|
|
1060
|
+
initMetadataForCoroutine($clearSteamCredentialCOROUTINE$, CoroutineImpl);
|
|
1058
1061
|
initMetadataForClass(WebExtStorageCredentialVault, 'WebExtStorageCredentialVault', WebExtStorageCredentialVault, VOID, VOID, [0, 1]);
|
|
1059
1062
|
initMetadataForLambda(FetchMarketplaceCookieTokenStore$read$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
1060
1063
|
initMetadataForLambda(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1, CoroutineImpl, VOID, [1]);
|
|
@@ -36531,38 +36534,47 @@ protoOf($webExtCookieValueCOROUTINE$).j9 = function () {
|
|
|
36531
36534
|
function WebExtKeyValueStore() {
|
|
36532
36535
|
}
|
|
36533
36536
|
protoOf(WebExtKeyValueStore).u6d = function (key, $completion) {
|
|
36534
|
-
return webExtStorageGet(key, $completion);
|
|
36537
|
+
return webExtStorageGet(key, VOID, $completion);
|
|
36535
36538
|
};
|
|
36536
36539
|
protoOf(WebExtKeyValueStore).v6d = function (key, value, $completion) {
|
|
36537
|
-
return webExtStorageSet(key, value, $completion);
|
|
36540
|
+
return webExtStorageSet(key, value, VOID, $completion);
|
|
36538
36541
|
};
|
|
36539
36542
|
protoOf(WebExtKeyValueStore).w6d = function (key, $completion) {
|
|
36540
|
-
return webExtStorageRemove(key, $completion);
|
|
36543
|
+
return webExtStorageRemove(key, VOID, $completion);
|
|
36541
36544
|
};
|
|
36542
|
-
function storageArea() {
|
|
36543
|
-
return webExtApi().storage
|
|
36545
|
+
function storageArea(area) {
|
|
36546
|
+
return webExtApi().storage[area];
|
|
36544
36547
|
}
|
|
36545
|
-
function webExtStorageGet(key, $completion) {
|
|
36546
|
-
|
|
36548
|
+
function webExtStorageGet(key, areaName, $completion) {
|
|
36549
|
+
areaName = areaName === VOID ? 'local' : areaName;
|
|
36550
|
+
var tmp = new $webExtStorageGetCOROUTINE$(key, areaName, $completion);
|
|
36547
36551
|
tmp.d9_1 = Unit_instance;
|
|
36548
36552
|
tmp.e9_1 = null;
|
|
36549
36553
|
return tmp.j9();
|
|
36550
36554
|
}
|
|
36551
|
-
function webExtStorageSet(key, value, $completion) {
|
|
36552
|
-
|
|
36555
|
+
function webExtStorageSet(key, value, areaName, $completion) {
|
|
36556
|
+
areaName = areaName === VOID ? 'local' : areaName;
|
|
36557
|
+
var tmp = new $webExtStorageSetCOROUTINE$(key, value, areaName, $completion);
|
|
36553
36558
|
tmp.d9_1 = Unit_instance;
|
|
36554
36559
|
tmp.e9_1 = null;
|
|
36555
36560
|
return tmp.j9();
|
|
36556
36561
|
}
|
|
36557
|
-
function webExtStorageRemove(key, $completion) {
|
|
36558
|
-
|
|
36562
|
+
function webExtStorageRemove(key, areaName, $completion) {
|
|
36563
|
+
areaName = areaName === VOID ? 'local' : areaName;
|
|
36564
|
+
var tmp = new $webExtStorageRemoveCOROUTINE$(key, areaName, $completion);
|
|
36559
36565
|
tmp.d9_1 = Unit_instance;
|
|
36560
36566
|
tmp.e9_1 = null;
|
|
36561
36567
|
return tmp.j9();
|
|
36562
36568
|
}
|
|
36563
|
-
function
|
|
36569
|
+
function webExtStorageRemoveStart(key, areaName) {
|
|
36570
|
+
areaName = areaName === VOID ? 'local' : areaName;
|
|
36571
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
36572
|
+
return storageArea(areaName).remove(key);
|
|
36573
|
+
}
|
|
36574
|
+
function $webExtStorageGetCOROUTINE$(key, areaName, resultContinuation) {
|
|
36564
36575
|
CoroutineImpl.call(this, resultContinuation);
|
|
36565
36576
|
this.cay_1 = key;
|
|
36577
|
+
this.day_1 = areaName;
|
|
36566
36578
|
}
|
|
36567
36579
|
protoOf($webExtStorageGetCOROUTINE$).j9 = function () {
|
|
36568
36580
|
var suspendResult = this.d9_1;
|
|
@@ -36572,7 +36584,7 @@ protoOf($webExtStorageGetCOROUTINE$).j9 = function () {
|
|
|
36572
36584
|
switch (tmp) {
|
|
36573
36585
|
case 0:
|
|
36574
36586
|
this.c9_1 = 2;
|
|
36575
|
-
var area = storageArea();
|
|
36587
|
+
var area = storageArea(this.day_1);
|
|
36576
36588
|
this.b9_1 = 1;
|
|
36577
36589
|
var this_0 = area.get(this.cay_1);
|
|
36578
36590
|
suspendResult = await_0(this_0, this);
|
|
@@ -36599,10 +36611,11 @@ protoOf($webExtStorageGetCOROUTINE$).j9 = function () {
|
|
|
36599
36611
|
}
|
|
36600
36612
|
while (true);
|
|
36601
36613
|
};
|
|
36602
|
-
function $webExtStorageSetCOROUTINE$(key, value, resultContinuation) {
|
|
36614
|
+
function $webExtStorageSetCOROUTINE$(key, value, areaName, resultContinuation) {
|
|
36603
36615
|
CoroutineImpl.call(this, resultContinuation);
|
|
36604
|
-
this.
|
|
36605
|
-
this.
|
|
36616
|
+
this.may_1 = key;
|
|
36617
|
+
this.nay_1 = value;
|
|
36618
|
+
this.oay_1 = areaName;
|
|
36606
36619
|
}
|
|
36607
36620
|
protoOf($webExtStorageSetCOROUTINE$).j9 = function () {
|
|
36608
36621
|
var suspendResult = this.d9_1;
|
|
@@ -36612,9 +36625,9 @@ protoOf($webExtStorageSetCOROUTINE$).j9 = function () {
|
|
|
36612
36625
|
switch (tmp) {
|
|
36613
36626
|
case 0:
|
|
36614
36627
|
this.c9_1 = 2;
|
|
36615
|
-
var area = storageArea();
|
|
36628
|
+
var area = storageArea(this.oay_1);
|
|
36616
36629
|
var items = {};
|
|
36617
|
-
items[this.
|
|
36630
|
+
items[this.may_1] = this.nay_1;
|
|
36618
36631
|
this.b9_1 = 1;
|
|
36619
36632
|
var this_0 = area.set(items);
|
|
36620
36633
|
suspendResult = await_0(this_0, this);
|
|
@@ -36639,9 +36652,10 @@ protoOf($webExtStorageSetCOROUTINE$).j9 = function () {
|
|
|
36639
36652
|
}
|
|
36640
36653
|
while (true);
|
|
36641
36654
|
};
|
|
36642
|
-
function $webExtStorageRemoveCOROUTINE$(key, resultContinuation) {
|
|
36655
|
+
function $webExtStorageRemoveCOROUTINE$(key, areaName, resultContinuation) {
|
|
36643
36656
|
CoroutineImpl.call(this, resultContinuation);
|
|
36644
|
-
this.
|
|
36657
|
+
this.xay_1 = key;
|
|
36658
|
+
this.yay_1 = areaName;
|
|
36645
36659
|
}
|
|
36646
36660
|
protoOf($webExtStorageRemoveCOROUTINE$).j9 = function () {
|
|
36647
36661
|
var suspendResult = this.d9_1;
|
|
@@ -36651,10 +36665,8 @@ protoOf($webExtStorageRemoveCOROUTINE$).j9 = function () {
|
|
|
36651
36665
|
switch (tmp) {
|
|
36652
36666
|
case 0:
|
|
36653
36667
|
this.c9_1 = 2;
|
|
36654
|
-
var area = storageArea();
|
|
36655
36668
|
this.b9_1 = 1;
|
|
36656
|
-
|
|
36657
|
-
suspendResult = await_0(this_0, this);
|
|
36669
|
+
suspendResult = await_0(webExtStorageRemoveStart(this.xay_1, this.yay_1), this);
|
|
36658
36670
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36659
36671
|
return suspendResult;
|
|
36660
36672
|
}
|
|
@@ -36676,13 +36688,90 @@ protoOf($webExtStorageRemoveCOROUTINE$).j9 = function () {
|
|
|
36676
36688
|
}
|
|
36677
36689
|
while (true);
|
|
36678
36690
|
};
|
|
36691
|
+
function awaitLegacyRemoval($this, $completion) {
|
|
36692
|
+
var tmp = new $awaitLegacyRemovalCOROUTINE$($this, $completion);
|
|
36693
|
+
tmp.d9_1 = Unit_instance;
|
|
36694
|
+
tmp.e9_1 = null;
|
|
36695
|
+
return tmp.j9();
|
|
36696
|
+
}
|
|
36679
36697
|
function WebExtStorageCredentialVault$json$lambda($this$trackerJson) {
|
|
36680
36698
|
$this$trackerJson.q1d_1 = true;
|
|
36681
36699
|
return Unit_instance;
|
|
36682
36700
|
}
|
|
36701
|
+
function $awaitLegacyRemovalCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
36702
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
36703
|
+
this.haz_1 = _this__u8e3s4;
|
|
36704
|
+
}
|
|
36705
|
+
protoOf($awaitLegacyRemovalCOROUTINE$).j9 = function () {
|
|
36706
|
+
var suspendResult = this.d9_1;
|
|
36707
|
+
$sm: do
|
|
36708
|
+
try {
|
|
36709
|
+
var tmp = this.b9_1;
|
|
36710
|
+
switch (tmp) {
|
|
36711
|
+
case 0:
|
|
36712
|
+
this.c9_1 = 4;
|
|
36713
|
+
var this_0 = this.haz_1;
|
|
36714
|
+
this.c9_1 = 3;
|
|
36715
|
+
this.jaz_1 = Companion_instance;
|
|
36716
|
+
var tmp0_safe_receiver = this_0.maz_1;
|
|
36717
|
+
if (tmp0_safe_receiver == null) {
|
|
36718
|
+
this.kaz_1 = null;
|
|
36719
|
+
this.b9_1 = 2;
|
|
36720
|
+
continue $sm;
|
|
36721
|
+
} else {
|
|
36722
|
+
this.b9_1 = 1;
|
|
36723
|
+
suspendResult = await_0(tmp0_safe_receiver, this);
|
|
36724
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36725
|
+
return suspendResult;
|
|
36726
|
+
}
|
|
36727
|
+
continue $sm;
|
|
36728
|
+
}
|
|
36729
|
+
|
|
36730
|
+
case 1:
|
|
36731
|
+
this.kaz_1 = suspendResult;
|
|
36732
|
+
this.b9_1 = 2;
|
|
36733
|
+
continue $sm;
|
|
36734
|
+
case 2:
|
|
36735
|
+
var tmp2 = this.kaz_1;
|
|
36736
|
+
var tmp_0 = this;
|
|
36737
|
+
this.jaz_1;
|
|
36738
|
+
tmp_0.iaz_1 = _Result___init__impl__xyqfz8(tmp2);
|
|
36739
|
+
this.c9_1 = 4;
|
|
36740
|
+
this.b9_1 = 5;
|
|
36741
|
+
continue $sm;
|
|
36742
|
+
case 3:
|
|
36743
|
+
this.c9_1 = 4;
|
|
36744
|
+
var tmp_1 = this.e9_1;
|
|
36745
|
+
if (tmp_1 instanceof Error) {
|
|
36746
|
+
var e = this.e9_1;
|
|
36747
|
+
var tmp_2 = this;
|
|
36748
|
+
tmp_2.iaz_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
36749
|
+
this.b9_1 = 5;
|
|
36750
|
+
continue $sm;
|
|
36751
|
+
} else {
|
|
36752
|
+
throw this.e9_1;
|
|
36753
|
+
}
|
|
36754
|
+
|
|
36755
|
+
case 4:
|
|
36756
|
+
throw this.e9_1;
|
|
36757
|
+
case 5:
|
|
36758
|
+
this.c9_1 = 4;
|
|
36759
|
+
return Unit_instance;
|
|
36760
|
+
}
|
|
36761
|
+
} catch ($p) {
|
|
36762
|
+
var e_0 = $p;
|
|
36763
|
+
if (this.c9_1 === 4) {
|
|
36764
|
+
throw e_0;
|
|
36765
|
+
} else {
|
|
36766
|
+
this.b9_1 = this.c9_1;
|
|
36767
|
+
this.e9_1 = e_0;
|
|
36768
|
+
}
|
|
36769
|
+
}
|
|
36770
|
+
while (true);
|
|
36771
|
+
};
|
|
36683
36772
|
function $readSteamCredentialCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
36684
36773
|
CoroutineImpl.call(this, resultContinuation);
|
|
36685
|
-
this.
|
|
36774
|
+
this.vaz_1 = _this__u8e3s4;
|
|
36686
36775
|
}
|
|
36687
36776
|
protoOf($readSteamCredentialCOROUTINE$).j9 = function () {
|
|
36688
36777
|
var suspendResult = this.d9_1;
|
|
@@ -36691,15 +36780,23 @@ protoOf($readSteamCredentialCOROUTINE$).j9 = function () {
|
|
|
36691
36780
|
var tmp = this.b9_1;
|
|
36692
36781
|
switch (tmp) {
|
|
36693
36782
|
case 0:
|
|
36694
|
-
this.c9_1 =
|
|
36783
|
+
this.c9_1 = 3;
|
|
36695
36784
|
this.b9_1 = 1;
|
|
36696
|
-
suspendResult =
|
|
36785
|
+
suspendResult = awaitLegacyRemoval(this.vaz_1, this);
|
|
36697
36786
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36698
36787
|
return suspendResult;
|
|
36699
36788
|
}
|
|
36700
36789
|
|
|
36701
36790
|
continue $sm;
|
|
36702
36791
|
case 1:
|
|
36792
|
+
this.b9_1 = 2;
|
|
36793
|
+
suspendResult = webExtStorageGet('steam_credential', 'session', this);
|
|
36794
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36795
|
+
return suspendResult;
|
|
36796
|
+
}
|
|
36797
|
+
|
|
36798
|
+
continue $sm;
|
|
36799
|
+
case 2:
|
|
36703
36800
|
var tmp0_elvis_lhs = suspendResult;
|
|
36704
36801
|
var tmp_0;
|
|
36705
36802
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -36709,10 +36806,10 @@ protoOf($readSteamCredentialCOROUTINE$).j9 = function () {
|
|
|
36709
36806
|
}
|
|
36710
36807
|
|
|
36711
36808
|
var raw = tmp_0;
|
|
36712
|
-
var this_0 = this.
|
|
36809
|
+
var this_0 = this.vaz_1;
|
|
36713
36810
|
var tmp_1;
|
|
36714
36811
|
try {
|
|
36715
|
-
var this_1 = this_0.
|
|
36812
|
+
var this_1 = this_0.laz_1;
|
|
36716
36813
|
var this_2 = this_1.gw();
|
|
36717
36814
|
var this_3 = serializer(this_2, createKType(getKClass(StoredSteamCredential), arrayOf([]), false));
|
|
36718
36815
|
var value = this_1.w1c(isInterface(this_3, KSerializer) ? this_3 : THROW_CCE(), raw).o7w();
|
|
@@ -36730,12 +36827,12 @@ protoOf($readSteamCredentialCOROUTINE$).j9 = function () {
|
|
|
36730
36827
|
|
|
36731
36828
|
var this_4 = tmp_1;
|
|
36732
36829
|
return _Result___get_isFailure__impl__jpiriv(this_4) ? null : _Result___get_value__impl__bjfvqg(this_4);
|
|
36733
|
-
case
|
|
36830
|
+
case 3:
|
|
36734
36831
|
throw this.e9_1;
|
|
36735
36832
|
}
|
|
36736
36833
|
} catch ($p_0) {
|
|
36737
36834
|
var e_0 = $p_0;
|
|
36738
|
-
if (this.c9_1 ===
|
|
36835
|
+
if (this.c9_1 === 3) {
|
|
36739
36836
|
throw e_0;
|
|
36740
36837
|
} else {
|
|
36741
36838
|
this.b9_1 = this.c9_1;
|
|
@@ -36744,9 +36841,121 @@ protoOf($readSteamCredentialCOROUTINE$).j9 = function () {
|
|
|
36744
36841
|
}
|
|
36745
36842
|
while (true);
|
|
36746
36843
|
};
|
|
36844
|
+
function $writeSteamCredentialCOROUTINE$(_this__u8e3s4, credential, resultContinuation) {
|
|
36845
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
36846
|
+
this.eb0_1 = _this__u8e3s4;
|
|
36847
|
+
this.fb0_1 = credential;
|
|
36848
|
+
}
|
|
36849
|
+
protoOf($writeSteamCredentialCOROUTINE$).j9 = function () {
|
|
36850
|
+
var suspendResult = this.d9_1;
|
|
36851
|
+
$sm: do
|
|
36852
|
+
try {
|
|
36853
|
+
var tmp = this.b9_1;
|
|
36854
|
+
switch (tmp) {
|
|
36855
|
+
case 0:
|
|
36856
|
+
this.c9_1 = 3;
|
|
36857
|
+
this.b9_1 = 1;
|
|
36858
|
+
suspendResult = awaitLegacyRemoval(this.eb0_1, this);
|
|
36859
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36860
|
+
return suspendResult;
|
|
36861
|
+
}
|
|
36862
|
+
|
|
36863
|
+
continue $sm;
|
|
36864
|
+
case 1:
|
|
36865
|
+
this.b9_1 = 2;
|
|
36866
|
+
var tmp0 = this.eb0_1.laz_1;
|
|
36867
|
+
var value = Companion_instance_22.i7w(this.fb0_1);
|
|
36868
|
+
var this_0 = tmp0.gw();
|
|
36869
|
+
var this_1 = serializer(this_0, createKType(getKClass(StoredSteamCredential), arrayOf([]), false));
|
|
36870
|
+
suspendResult = webExtStorageSet('steam_credential', tmp0.v1c(isInterface(this_1, KSerializer) ? this_1 : THROW_CCE(), value), 'session', this);
|
|
36871
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36872
|
+
return suspendResult;
|
|
36873
|
+
}
|
|
36874
|
+
|
|
36875
|
+
continue $sm;
|
|
36876
|
+
case 2:
|
|
36877
|
+
return Unit_instance;
|
|
36878
|
+
case 3:
|
|
36879
|
+
throw this.e9_1;
|
|
36880
|
+
}
|
|
36881
|
+
} catch ($p) {
|
|
36882
|
+
var e = $p;
|
|
36883
|
+
if (this.c9_1 === 3) {
|
|
36884
|
+
throw e;
|
|
36885
|
+
} else {
|
|
36886
|
+
this.b9_1 = this.c9_1;
|
|
36887
|
+
this.e9_1 = e;
|
|
36888
|
+
}
|
|
36889
|
+
}
|
|
36890
|
+
while (true);
|
|
36891
|
+
};
|
|
36892
|
+
function $clearSteamCredentialCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
36893
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
36894
|
+
this.ob0_1 = _this__u8e3s4;
|
|
36895
|
+
}
|
|
36896
|
+
protoOf($clearSteamCredentialCOROUTINE$).j9 = function () {
|
|
36897
|
+
var suspendResult = this.d9_1;
|
|
36898
|
+
$sm: do
|
|
36899
|
+
try {
|
|
36900
|
+
var tmp = this.b9_1;
|
|
36901
|
+
switch (tmp) {
|
|
36902
|
+
case 0:
|
|
36903
|
+
this.c9_1 = 3;
|
|
36904
|
+
this.b9_1 = 1;
|
|
36905
|
+
suspendResult = awaitLegacyRemoval(this.ob0_1, this);
|
|
36906
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36907
|
+
return suspendResult;
|
|
36908
|
+
}
|
|
36909
|
+
|
|
36910
|
+
continue $sm;
|
|
36911
|
+
case 1:
|
|
36912
|
+
this.b9_1 = 2;
|
|
36913
|
+
suspendResult = webExtStorageRemove('steam_credential', 'session', this);
|
|
36914
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36915
|
+
return suspendResult;
|
|
36916
|
+
}
|
|
36917
|
+
|
|
36918
|
+
continue $sm;
|
|
36919
|
+
case 2:
|
|
36920
|
+
return Unit_instance;
|
|
36921
|
+
case 3:
|
|
36922
|
+
throw this.e9_1;
|
|
36923
|
+
}
|
|
36924
|
+
} catch ($p) {
|
|
36925
|
+
var e = $p;
|
|
36926
|
+
if (this.c9_1 === 3) {
|
|
36927
|
+
throw e;
|
|
36928
|
+
} else {
|
|
36929
|
+
this.b9_1 = this.c9_1;
|
|
36930
|
+
this.e9_1 = e;
|
|
36931
|
+
}
|
|
36932
|
+
}
|
|
36933
|
+
while (true);
|
|
36934
|
+
};
|
|
36747
36935
|
function WebExtStorageCredentialVault() {
|
|
36748
36936
|
var tmp = this;
|
|
36749
|
-
tmp.
|
|
36937
|
+
tmp.laz_1 = trackerJson(WebExtStorageCredentialVault$json$lambda);
|
|
36938
|
+
var tmp_0 = this;
|
|
36939
|
+
// Inline function 'kotlin.runCatching' call
|
|
36940
|
+
var tmp_1;
|
|
36941
|
+
try {
|
|
36942
|
+
// Inline function 'kotlin.Companion.success' call
|
|
36943
|
+
var value = webExtStorageRemoveStart('steam_credential', 'local');
|
|
36944
|
+
tmp_1 = _Result___init__impl__xyqfz8(value);
|
|
36945
|
+
} catch ($p) {
|
|
36946
|
+
var tmp_2;
|
|
36947
|
+
if ($p instanceof Error) {
|
|
36948
|
+
var e = $p;
|
|
36949
|
+
// Inline function 'kotlin.Companion.failure' call
|
|
36950
|
+
tmp_2 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
36951
|
+
} else {
|
|
36952
|
+
throw $p;
|
|
36953
|
+
}
|
|
36954
|
+
tmp_1 = tmp_2;
|
|
36955
|
+
}
|
|
36956
|
+
// Inline function 'kotlin.Result.getOrNull' call
|
|
36957
|
+
var this_0 = tmp_1;
|
|
36958
|
+
tmp_0.maz_1 = _Result___get_isFailure__impl__jpiriv(this_0) ? null : _Result___get_value__impl__bjfvqg(this_0);
|
|
36750
36959
|
}
|
|
36751
36960
|
protoOf(WebExtStorageCredentialVault).d7v = function ($completion) {
|
|
36752
36961
|
var tmp = new $readSteamCredentialCOROUTINE$(this, $completion);
|
|
@@ -36755,19 +36964,16 @@ protoOf(WebExtStorageCredentialVault).d7v = function ($completion) {
|
|
|
36755
36964
|
return tmp.j9();
|
|
36756
36965
|
};
|
|
36757
36966
|
protoOf(WebExtStorageCredentialVault).e7w = function (credential, $completion) {
|
|
36758
|
-
var
|
|
36759
|
-
|
|
36760
|
-
|
|
36761
|
-
|
|
36762
|
-
var this_0 = tmp0.gw();
|
|
36763
|
-
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
36764
|
-
var this_1 = serializer(this_0, createKType(getKClass(StoredSteamCredential), arrayOf([]), false));
|
|
36765
|
-
var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
|
|
36766
|
-
var tmp$ret$0 = tmp0.v1c(tmp$ret$1, value);
|
|
36767
|
-
return webExtStorageSet('steam_credential', tmp$ret$0, $completion);
|
|
36967
|
+
var tmp = new $writeSteamCredentialCOROUTINE$(this, credential, $completion);
|
|
36968
|
+
tmp.d9_1 = Unit_instance;
|
|
36969
|
+
tmp.e9_1 = null;
|
|
36970
|
+
return tmp.j9();
|
|
36768
36971
|
};
|
|
36769
36972
|
protoOf(WebExtStorageCredentialVault).d7w = function ($completion) {
|
|
36770
|
-
|
|
36973
|
+
var tmp = new $clearSteamCredentialCOROUTINE$(this, $completion);
|
|
36974
|
+
tmp.d9_1 = Unit_instance;
|
|
36975
|
+
tmp.e9_1 = null;
|
|
36976
|
+
return tmp.j9();
|
|
36771
36977
|
};
|
|
36772
36978
|
function platformHttpEngine(credentialsInclude) {
|
|
36773
36979
|
credentialsInclude = credentialsInclude === VOID ? false : credentialsInclude;
|
|
@@ -36792,7 +36998,7 @@ function platformHttpEngine$lambda$lambda($this$configureRequest) {
|
|
|
36792
36998
|
function transportCause(_this__u8e3s4) {
|
|
36793
36999
|
var tmp = _this__u8e3s4.cause;
|
|
36794
37000
|
var tmp0_safe_receiver = tmp instanceof JsError ? tmp : null;
|
|
36795
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
37001
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.pb0_1;
|
|
36796
37002
|
var tmp_0;
|
|
36797
37003
|
if (tmp1_elvis_lhs == null) {
|
|
36798
37004
|
return null;
|
|
@@ -36880,17 +37086,17 @@ function createBrowserMarketplaceCredentials$lambda($config, $networkObserver) {
|
|
|
36880
37086
|
};
|
|
36881
37087
|
}
|
|
36882
37088
|
function FetchMarketplaceCookieTokenStore$read$slambda$slambda(this$0, resultContinuation) {
|
|
36883
|
-
this.
|
|
37089
|
+
this.yb0_1 = this$0;
|
|
36884
37090
|
CoroutineImpl.call(this, resultContinuation);
|
|
36885
37091
|
}
|
|
36886
|
-
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).
|
|
37092
|
+
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).ab1 = function ($this$async, $completion) {
|
|
36887
37093
|
var tmp = this.y40($this$async, $completion);
|
|
36888
37094
|
tmp.d9_1 = Unit_instance;
|
|
36889
37095
|
tmp.e9_1 = null;
|
|
36890
37096
|
return tmp.j9();
|
|
36891
37097
|
};
|
|
36892
37098
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).w9 = function (p1, $completion) {
|
|
36893
|
-
return this.
|
|
37099
|
+
return this.ab1((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
36894
37100
|
};
|
|
36895
37101
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).j9 = function () {
|
|
36896
37102
|
var suspendResult = this.d9_1;
|
|
@@ -36901,7 +37107,7 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).j9 = function ()
|
|
|
36901
37107
|
case 0:
|
|
36902
37108
|
this.c9_1 = 2;
|
|
36903
37109
|
this.b9_1 = 1;
|
|
36904
|
-
suspendResult = readCookie(this.
|
|
37110
|
+
suspendResult = readCookie(this.yb0_1, this.yb0_1.bb1_1.cookieName, this);
|
|
36905
37111
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36906
37112
|
return suspendResult;
|
|
36907
37113
|
}
|
|
@@ -36924,28 +37130,28 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).j9 = function ()
|
|
|
36924
37130
|
while (true);
|
|
36925
37131
|
};
|
|
36926
37132
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).y40 = function ($this$async, completion) {
|
|
36927
|
-
var i = new FetchMarketplaceCookieTokenStore$read$slambda$slambda(this.
|
|
36928
|
-
i.
|
|
37133
|
+
var i = new FetchMarketplaceCookieTokenStore$read$slambda$slambda(this.yb0_1, completion);
|
|
37134
|
+
i.zb0_1 = $this$async;
|
|
36929
37135
|
return i;
|
|
36930
37136
|
};
|
|
36931
37137
|
function FetchMarketplaceCookieTokenStore$read$slambda$slambda_0(this$0, resultContinuation) {
|
|
36932
37138
|
var i = new FetchMarketplaceCookieTokenStore$read$slambda$slambda(this$0, resultContinuation);
|
|
36933
37139
|
return constructCallableReference(function ($this$async, $completion) {
|
|
36934
|
-
return i.
|
|
37140
|
+
return i.ab1($this$async, $completion);
|
|
36935
37141
|
}, 1);
|
|
36936
37142
|
}
|
|
36937
37143
|
function FetchMarketplaceCookieTokenStore$read$slambda$slambda_1(this$0, resultContinuation) {
|
|
36938
|
-
this.
|
|
37144
|
+
this.mb1_1 = this$0;
|
|
36939
37145
|
CoroutineImpl.call(this, resultContinuation);
|
|
36940
37146
|
}
|
|
36941
|
-
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).
|
|
37147
|
+
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).ab1 = function ($this$async, $completion) {
|
|
36942
37148
|
var tmp = this.y40($this$async, $completion);
|
|
36943
37149
|
tmp.d9_1 = Unit_instance;
|
|
36944
37150
|
tmp.e9_1 = null;
|
|
36945
37151
|
return tmp.j9();
|
|
36946
37152
|
};
|
|
36947
37153
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).w9 = function (p1, $completion) {
|
|
36948
|
-
return this.
|
|
37154
|
+
return this.ab1((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
36949
37155
|
};
|
|
36950
37156
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).j9 = function () {
|
|
36951
37157
|
var suspendResult = this.d9_1;
|
|
@@ -36956,7 +37162,7 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).j9 = function (
|
|
|
36956
37162
|
case 0:
|
|
36957
37163
|
this.c9_1 = 2;
|
|
36958
37164
|
this.b9_1 = 1;
|
|
36959
|
-
suspendResult = readCookie(this.
|
|
37165
|
+
suspendResult = readCookie(this.mb1_1, this.mb1_1.bb1_1.refreshCookieName, this);
|
|
36960
37166
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36961
37167
|
return suspendResult;
|
|
36962
37168
|
}
|
|
@@ -36979,28 +37185,28 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).j9 = function (
|
|
|
36979
37185
|
while (true);
|
|
36980
37186
|
};
|
|
36981
37187
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).y40 = function ($this$async, completion) {
|
|
36982
|
-
var i = new FetchMarketplaceCookieTokenStore$read$slambda$slambda_1(this.
|
|
36983
|
-
i.
|
|
37188
|
+
var i = new FetchMarketplaceCookieTokenStore$read$slambda$slambda_1(this.mb1_1, completion);
|
|
37189
|
+
i.nb1_1 = $this$async;
|
|
36984
37190
|
return i;
|
|
36985
37191
|
};
|
|
36986
37192
|
function FetchMarketplaceCookieTokenStore$read$slambda$slambda_2(this$0, resultContinuation) {
|
|
36987
37193
|
var i = new FetchMarketplaceCookieTokenStore$read$slambda$slambda_1(this$0, resultContinuation);
|
|
36988
37194
|
return constructCallableReference(function ($this$async, $completion) {
|
|
36989
|
-
return i.
|
|
37195
|
+
return i.ab1($this$async, $completion);
|
|
36990
37196
|
}, 1);
|
|
36991
37197
|
}
|
|
36992
37198
|
function FetchMarketplaceCookieTokenStore$write$slambda$slambda(this$0, resultContinuation) {
|
|
36993
|
-
this.
|
|
37199
|
+
this.wb1_1 = this$0;
|
|
36994
37200
|
CoroutineImpl.call(this, resultContinuation);
|
|
36995
37201
|
}
|
|
36996
|
-
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).
|
|
37202
|
+
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).yb1 = function ($this$async, $completion) {
|
|
36997
37203
|
var tmp = this.y40($this$async, $completion);
|
|
36998
37204
|
tmp.d9_1 = Unit_instance;
|
|
36999
37205
|
tmp.e9_1 = null;
|
|
37000
37206
|
return tmp.j9();
|
|
37001
37207
|
};
|
|
37002
37208
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).w9 = function (p1, $completion) {
|
|
37003
|
-
return this.
|
|
37209
|
+
return this.yb1((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
37004
37210
|
};
|
|
37005
37211
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).j9 = function () {
|
|
37006
37212
|
var suspendResult = this.d9_1;
|
|
@@ -37011,7 +37217,7 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).j9 = function ()
|
|
|
37011
37217
|
case 0:
|
|
37012
37218
|
this.c9_1 = 2;
|
|
37013
37219
|
this.b9_1 = 1;
|
|
37014
|
-
suspendResult = readCookie(this.
|
|
37220
|
+
suspendResult = readCookie(this.wb1_1, this.wb1_1.bb1_1.cookieName, this);
|
|
37015
37221
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37016
37222
|
return suspendResult;
|
|
37017
37223
|
}
|
|
@@ -37019,7 +37225,7 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).j9 = function ()
|
|
|
37019
37225
|
continue $sm;
|
|
37020
37226
|
case 1:
|
|
37021
37227
|
var tmp0_safe_receiver = suspendResult;
|
|
37022
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
37228
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zb1_1;
|
|
37023
37229
|
case 2:
|
|
37024
37230
|
throw this.e9_1;
|
|
37025
37231
|
}
|
|
@@ -37035,28 +37241,28 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).j9 = function ()
|
|
|
37035
37241
|
while (true);
|
|
37036
37242
|
};
|
|
37037
37243
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).y40 = function ($this$async, completion) {
|
|
37038
|
-
var i = new FetchMarketplaceCookieTokenStore$write$slambda$slambda(this.
|
|
37039
|
-
i.
|
|
37244
|
+
var i = new FetchMarketplaceCookieTokenStore$write$slambda$slambda(this.wb1_1, completion);
|
|
37245
|
+
i.xb1_1 = $this$async;
|
|
37040
37246
|
return i;
|
|
37041
37247
|
};
|
|
37042
37248
|
function FetchMarketplaceCookieTokenStore$write$slambda$slambda_0(this$0, resultContinuation) {
|
|
37043
37249
|
var i = new FetchMarketplaceCookieTokenStore$write$slambda$slambda(this$0, resultContinuation);
|
|
37044
37250
|
return constructCallableReference(function ($this$async, $completion) {
|
|
37045
|
-
return i.
|
|
37251
|
+
return i.yb1($this$async, $completion);
|
|
37046
37252
|
}, 1);
|
|
37047
37253
|
}
|
|
37048
37254
|
function FetchMarketplaceCookieTokenStore$write$slambda$slambda_1(this$0, resultContinuation) {
|
|
37049
|
-
this.
|
|
37255
|
+
this.kb2_1 = this$0;
|
|
37050
37256
|
CoroutineImpl.call(this, resultContinuation);
|
|
37051
37257
|
}
|
|
37052
|
-
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).
|
|
37258
|
+
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).yb1 = function ($this$async, $completion) {
|
|
37053
37259
|
var tmp = this.y40($this$async, $completion);
|
|
37054
37260
|
tmp.d9_1 = Unit_instance;
|
|
37055
37261
|
tmp.e9_1 = null;
|
|
37056
37262
|
return tmp.j9();
|
|
37057
37263
|
};
|
|
37058
37264
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).w9 = function (p1, $completion) {
|
|
37059
|
-
return this.
|
|
37265
|
+
return this.yb1((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
37060
37266
|
};
|
|
37061
37267
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).j9 = function () {
|
|
37062
37268
|
var suspendResult = this.d9_1;
|
|
@@ -37067,7 +37273,7 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).j9 = function
|
|
|
37067
37273
|
case 0:
|
|
37068
37274
|
this.c9_1 = 2;
|
|
37069
37275
|
this.b9_1 = 1;
|
|
37070
|
-
suspendResult = readCookie(this.
|
|
37276
|
+
suspendResult = readCookie(this.kb2_1, this.kb2_1.bb1_1.refreshCookieName, this);
|
|
37071
37277
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37072
37278
|
return suspendResult;
|
|
37073
37279
|
}
|
|
@@ -37075,7 +37281,7 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).j9 = function
|
|
|
37075
37281
|
continue $sm;
|
|
37076
37282
|
case 1:
|
|
37077
37283
|
var tmp0_safe_receiver = suspendResult;
|
|
37078
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
37284
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zb1_1;
|
|
37079
37285
|
case 2:
|
|
37080
37286
|
throw this.e9_1;
|
|
37081
37287
|
}
|
|
@@ -37091,29 +37297,29 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).j9 = function
|
|
|
37091
37297
|
while (true);
|
|
37092
37298
|
};
|
|
37093
37299
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).y40 = function ($this$async, completion) {
|
|
37094
|
-
var i = new FetchMarketplaceCookieTokenStore$write$slambda$slambda_1(this.
|
|
37095
|
-
i.
|
|
37300
|
+
var i = new FetchMarketplaceCookieTokenStore$write$slambda$slambda_1(this.kb2_1, completion);
|
|
37301
|
+
i.lb2_1 = $this$async;
|
|
37096
37302
|
return i;
|
|
37097
37303
|
};
|
|
37098
37304
|
function FetchMarketplaceCookieTokenStore$write$slambda$slambda_2(this$0, resultContinuation) {
|
|
37099
37305
|
var i = new FetchMarketplaceCookieTokenStore$write$slambda$slambda_1(this$0, resultContinuation);
|
|
37100
37306
|
return constructCallableReference(function ($this$async, $completion) {
|
|
37101
|
-
return i.
|
|
37307
|
+
return i.yb1($this$async, $completion);
|
|
37102
37308
|
}, 1);
|
|
37103
37309
|
}
|
|
37104
37310
|
function CookieTemplate(url, domain, path, secure, sameSite, httpOnly) {
|
|
37105
37311
|
httpOnly = httpOnly === VOID ? false : httpOnly;
|
|
37106
|
-
this.
|
|
37107
|
-
this.
|
|
37108
|
-
this.
|
|
37109
|
-
this.
|
|
37110
|
-
this.
|
|
37111
|
-
this.
|
|
37312
|
+
this.mb2_1 = url;
|
|
37313
|
+
this.nb2_1 = domain;
|
|
37314
|
+
this.ob2_1 = path;
|
|
37315
|
+
this.pb2_1 = secure;
|
|
37316
|
+
this.qb2_1 = sameSite;
|
|
37317
|
+
this.rb2_1 = httpOnly;
|
|
37112
37318
|
}
|
|
37113
37319
|
function CookieRecord(value, expiresAtEpochSeconds, template) {
|
|
37114
|
-
this.
|
|
37115
|
-
this.
|
|
37116
|
-
this.
|
|
37320
|
+
this.zb1_1 = value;
|
|
37321
|
+
this.ab2_1 = expiresAtEpochSeconds;
|
|
37322
|
+
this.bb2_1 = template;
|
|
37117
37323
|
}
|
|
37118
37324
|
function readCookie($this, name, $completion) {
|
|
37119
37325
|
var tmp = new $readCookieCOROUTINE$($this, name, $completion);
|
|
@@ -37128,7 +37334,7 @@ function setCookie($this, name, value, expiry, attrs, $completion) {
|
|
|
37128
37334
|
return tmp.j9();
|
|
37129
37335
|
}
|
|
37130
37336
|
function defaultTemplate($this) {
|
|
37131
|
-
return new CookieTemplate($this.
|
|
37337
|
+
return new CookieTemplate($this.bb1_1.refreshUrl, null, '/', startsWith($this.bb1_1.refreshUrl, 'https://'), null);
|
|
37132
37338
|
}
|
|
37133
37339
|
function decodeOrSelf($this, raw) {
|
|
37134
37340
|
var tmp;
|
|
@@ -37147,17 +37353,17 @@ function decodeOrSelf($this, raw) {
|
|
|
37147
37353
|
return tmp;
|
|
37148
37354
|
}
|
|
37149
37355
|
function FetchMarketplaceCookieTokenStore$read$slambda(this$0, resultContinuation) {
|
|
37150
|
-
this.
|
|
37356
|
+
this.zb3_1 = this$0;
|
|
37151
37357
|
CoroutineImpl.call(this, resultContinuation);
|
|
37152
37358
|
}
|
|
37153
|
-
protoOf(FetchMarketplaceCookieTokenStore$read$slambda).
|
|
37359
|
+
protoOf(FetchMarketplaceCookieTokenStore$read$slambda).db4 = function ($this$coroutineScope, $completion) {
|
|
37154
37360
|
var tmp = this.y40($this$coroutineScope, $completion);
|
|
37155
37361
|
tmp.d9_1 = Unit_instance;
|
|
37156
37362
|
tmp.e9_1 = null;
|
|
37157
37363
|
return tmp.j9();
|
|
37158
37364
|
};
|
|
37159
37365
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda).w9 = function (p1, $completion) {
|
|
37160
|
-
return this.
|
|
37366
|
+
return this.db4((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
37161
37367
|
};
|
|
37162
37368
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda).j9 = function () {
|
|
37163
37369
|
var suspendResult = this.d9_1;
|
|
@@ -37167,9 +37373,9 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda).j9 = function () {
|
|
|
37167
37373
|
switch (tmp) {
|
|
37168
37374
|
case 0:
|
|
37169
37375
|
this.c9_1 = 3;
|
|
37170
|
-
var accessAsync = async(this.
|
|
37376
|
+
var accessAsync = async(this.ab4_1, VOID, VOID, FetchMarketplaceCookieTokenStore$read$slambda$slambda_0(this.zb3_1, null));
|
|
37171
37377
|
var tmp_0 = this;
|
|
37172
|
-
tmp_0.
|
|
37378
|
+
tmp_0.cb4_1 = async(this.ab4_1, VOID, VOID, FetchMarketplaceCookieTokenStore$read$slambda$slambda_2(this.zb3_1, null));
|
|
37173
37379
|
this.b9_1 = 1;
|
|
37174
37380
|
suspendResult = accessAsync.r1u(this);
|
|
37175
37381
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -37178,9 +37384,9 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda).j9 = function () {
|
|
|
37178
37384
|
|
|
37179
37385
|
continue $sm;
|
|
37180
37386
|
case 1:
|
|
37181
|
-
this.
|
|
37387
|
+
this.bb4_1 = suspendResult;
|
|
37182
37388
|
this.b9_1 = 2;
|
|
37183
|
-
suspendResult = this.
|
|
37389
|
+
suspendResult = this.cb4_1.r1u(this);
|
|
37184
37390
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37185
37391
|
return suspendResult;
|
|
37186
37392
|
}
|
|
@@ -37188,17 +37394,23 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda).j9 = function () {
|
|
|
37188
37394
|
continue $sm;
|
|
37189
37395
|
case 2:
|
|
37190
37396
|
var refresh = suspendResult;
|
|
37191
|
-
var
|
|
37192
|
-
if (
|
|
37397
|
+
var tmp0_safe_receiver = this.bb4_1;
|
|
37398
|
+
if (tmp0_safe_receiver == null)
|
|
37399
|
+
null;
|
|
37400
|
+
else {
|
|
37401
|
+
this.zb3_1.cb1_1 = tmp0_safe_receiver.bb2_1;
|
|
37402
|
+
}
|
|
37403
|
+
|
|
37404
|
+
if (refresh == null)
|
|
37193
37405
|
null;
|
|
37194
37406
|
else {
|
|
37195
|
-
this.
|
|
37407
|
+
this.zb3_1.db1_1 = refresh.bb2_1;
|
|
37196
37408
|
}
|
|
37197
37409
|
|
|
37198
|
-
var tmp2_safe_receiver = this.
|
|
37199
|
-
var tmp_1 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
37200
|
-
var tmp_2 = refresh == null ? null : refresh.
|
|
37201
|
-
var tmp5_safe_receiver = refresh == null ? null : refresh.
|
|
37410
|
+
var tmp2_safe_receiver = this.bb4_1;
|
|
37411
|
+
var tmp_1 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.zb1_1;
|
|
37412
|
+
var tmp_2 = refresh == null ? null : refresh.zb1_1;
|
|
37413
|
+
var tmp5_safe_receiver = refresh == null ? null : refresh.ab2_1;
|
|
37202
37414
|
var tmp_3;
|
|
37203
37415
|
if (tmp5_safe_receiver == null) {
|
|
37204
37416
|
tmp_3 = null;
|
|
@@ -37222,28 +37434,28 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda).j9 = function () {
|
|
|
37222
37434
|
while (true);
|
|
37223
37435
|
};
|
|
37224
37436
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda).y40 = function ($this$coroutineScope, completion) {
|
|
37225
|
-
var i = new FetchMarketplaceCookieTokenStore$read$slambda(this.
|
|
37226
|
-
i.
|
|
37437
|
+
var i = new FetchMarketplaceCookieTokenStore$read$slambda(this.zb3_1, completion);
|
|
37438
|
+
i.ab4_1 = $this$coroutineScope;
|
|
37227
37439
|
return i;
|
|
37228
37440
|
};
|
|
37229
37441
|
function FetchMarketplaceCookieTokenStore$read$slambda_0(this$0, resultContinuation) {
|
|
37230
37442
|
var i = new FetchMarketplaceCookieTokenStore$read$slambda(this$0, resultContinuation);
|
|
37231
37443
|
return constructCallableReference(function ($this$coroutineScope, $completion) {
|
|
37232
|
-
return i.
|
|
37444
|
+
return i.db4($this$coroutineScope, $completion);
|
|
37233
37445
|
}, 1);
|
|
37234
37446
|
}
|
|
37235
37447
|
function FetchMarketplaceCookieTokenStore$write$slambda(this$0, resultContinuation) {
|
|
37236
|
-
this.
|
|
37448
|
+
this.mb4_1 = this$0;
|
|
37237
37449
|
CoroutineImpl.call(this, resultContinuation);
|
|
37238
37450
|
}
|
|
37239
|
-
protoOf(FetchMarketplaceCookieTokenStore$write$slambda).
|
|
37451
|
+
protoOf(FetchMarketplaceCookieTokenStore$write$slambda).qb4 = function ($this$coroutineScope, $completion) {
|
|
37240
37452
|
var tmp = this.y40($this$coroutineScope, $completion);
|
|
37241
37453
|
tmp.d9_1 = Unit_instance;
|
|
37242
37454
|
tmp.e9_1 = null;
|
|
37243
37455
|
return tmp.j9();
|
|
37244
37456
|
};
|
|
37245
37457
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda).w9 = function (p1, $completion) {
|
|
37246
|
-
return this.
|
|
37458
|
+
return this.qb4((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
37247
37459
|
};
|
|
37248
37460
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda).j9 = function () {
|
|
37249
37461
|
var suspendResult = this.d9_1;
|
|
@@ -37253,9 +37465,9 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda).j9 = function () {
|
|
|
37253
37465
|
switch (tmp) {
|
|
37254
37466
|
case 0:
|
|
37255
37467
|
this.c9_1 = 3;
|
|
37256
|
-
var a = async(this.
|
|
37468
|
+
var a = async(this.nb4_1, VOID, VOID, FetchMarketplaceCookieTokenStore$write$slambda$slambda_0(this.mb4_1, null));
|
|
37257
37469
|
var tmp_0 = this;
|
|
37258
|
-
tmp_0.
|
|
37470
|
+
tmp_0.pb4_1 = async(this.nb4_1, VOID, VOID, FetchMarketplaceCookieTokenStore$write$slambda$slambda_2(this.mb4_1, null));
|
|
37259
37471
|
this.b9_1 = 1;
|
|
37260
37472
|
suspendResult = a.r1u(this);
|
|
37261
37473
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -37264,9 +37476,9 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda).j9 = function () {
|
|
|
37264
37476
|
|
|
37265
37477
|
continue $sm;
|
|
37266
37478
|
case 1:
|
|
37267
|
-
this.
|
|
37479
|
+
this.ob4_1 = suspendResult;
|
|
37268
37480
|
this.b9_1 = 2;
|
|
37269
|
-
suspendResult = this.
|
|
37481
|
+
suspendResult = this.pb4_1.r1u(this);
|
|
37270
37482
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37271
37483
|
return suspendResult;
|
|
37272
37484
|
}
|
|
@@ -37274,7 +37486,7 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda).j9 = function () {
|
|
|
37274
37486
|
continue $sm;
|
|
37275
37487
|
case 2:
|
|
37276
37488
|
var ARGUMENT = suspendResult;
|
|
37277
|
-
return to(this.
|
|
37489
|
+
return to(this.ob4_1, ARGUMENT);
|
|
37278
37490
|
case 3:
|
|
37279
37491
|
throw this.e9_1;
|
|
37280
37492
|
}
|
|
@@ -37290,20 +37502,20 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda).j9 = function () {
|
|
|
37290
37502
|
while (true);
|
|
37291
37503
|
};
|
|
37292
37504
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda).y40 = function ($this$coroutineScope, completion) {
|
|
37293
|
-
var i = new FetchMarketplaceCookieTokenStore$write$slambda(this.
|
|
37294
|
-
i.
|
|
37505
|
+
var i = new FetchMarketplaceCookieTokenStore$write$slambda(this.mb4_1, completion);
|
|
37506
|
+
i.nb4_1 = $this$coroutineScope;
|
|
37295
37507
|
return i;
|
|
37296
37508
|
};
|
|
37297
37509
|
function FetchMarketplaceCookieTokenStore$write$slambda_0(this$0, resultContinuation) {
|
|
37298
37510
|
var i = new FetchMarketplaceCookieTokenStore$write$slambda(this$0, resultContinuation);
|
|
37299
37511
|
return constructCallableReference(function ($this$coroutineScope, $completion) {
|
|
37300
|
-
return i.
|
|
37512
|
+
return i.qb4($this$coroutineScope, $completion);
|
|
37301
37513
|
}, 1);
|
|
37302
37514
|
}
|
|
37303
37515
|
function $writeCOROUTINE$_0(_this__u8e3s4, tokens, resultContinuation) {
|
|
37304
37516
|
CoroutineImpl.call(this, resultContinuation);
|
|
37305
|
-
this.
|
|
37306
|
-
this.
|
|
37517
|
+
this.zb4_1 = _this__u8e3s4;
|
|
37518
|
+
this.ab5_1 = tokens;
|
|
37307
37519
|
}
|
|
37308
37520
|
protoOf($writeCOROUTINE$_0).j9 = function () {
|
|
37309
37521
|
var suspendResult = this.d9_1;
|
|
@@ -37314,23 +37526,27 @@ protoOf($writeCOROUTINE$_0).j9 = function () {
|
|
|
37314
37526
|
case 0:
|
|
37315
37527
|
this.c9_1 = 4;
|
|
37316
37528
|
var tmp_0 = this;
|
|
37317
|
-
var tmp0_elvis_lhs = this.
|
|
37318
|
-
|
|
37529
|
+
var tmp0_elvis_lhs = this.zb4_1.cb1_1;
|
|
37530
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this.zb4_1.db1_1 : tmp0_elvis_lhs;
|
|
37531
|
+
tmp_0.cb5_1 = tmp1_elvis_lhs == null ? defaultTemplate(this.zb4_1) : tmp1_elvis_lhs;
|
|
37532
|
+
var tmp2_elvis_lhs = this.zb4_1.db1_1;
|
|
37533
|
+
var tmp3_elvis_lhs = tmp2_elvis_lhs == null ? this.zb4_1.cb1_1 : tmp2_elvis_lhs;
|
|
37534
|
+
var refreshAttrs = tmp3_elvis_lhs == null ? defaultTemplate(this.zb4_1) : tmp3_elvis_lhs;
|
|
37319
37535
|
var tmp_1 = this;
|
|
37320
|
-
var
|
|
37321
|
-
var
|
|
37322
|
-
tmp_1.
|
|
37536
|
+
var tmp4_safe_receiver = this.ab5_1.p38_1;
|
|
37537
|
+
var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.ep_1;
|
|
37538
|
+
tmp_1.db5_1 = tmp5_safe_receiver == null ? null : toNumber(tmp5_safe_receiver);
|
|
37323
37539
|
this.b9_1 = 1;
|
|
37324
|
-
suspendResult = setCookie(this.
|
|
37540
|
+
suspendResult = setCookie(this.zb4_1, this.zb4_1.bb1_1.refreshCookieName, this.ab5_1.o38_1, this.db5_1, refreshAttrs, this);
|
|
37325
37541
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37326
37542
|
return suspendResult;
|
|
37327
37543
|
}
|
|
37328
37544
|
|
|
37329
37545
|
continue $sm;
|
|
37330
37546
|
case 1:
|
|
37331
|
-
this.
|
|
37547
|
+
this.bb5_1 = suspendResult;
|
|
37332
37548
|
this.b9_1 = 2;
|
|
37333
|
-
suspendResult = setCookie(this.
|
|
37549
|
+
suspendResult = setCookie(this.zb4_1, this.zb4_1.bb1_1.cookieName, this.ab5_1.n38_1, this.db5_1, this.cb5_1, this);
|
|
37334
37550
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37335
37551
|
return suspendResult;
|
|
37336
37552
|
}
|
|
@@ -37338,10 +37554,10 @@ protoOf($writeCOROUTINE$_0).j9 = function () {
|
|
|
37338
37554
|
continue $sm;
|
|
37339
37555
|
case 2:
|
|
37340
37556
|
var wroteAccess = suspendResult;
|
|
37341
|
-
if (!this.
|
|
37557
|
+
if (!this.bb5_1 || !wroteAccess)
|
|
37342
37558
|
return WriteOutcome_BLIND_getInstance();
|
|
37343
37559
|
this.b9_1 = 3;
|
|
37344
|
-
suspendResult = coroutineScope(FetchMarketplaceCookieTokenStore$write$slambda_0(this.
|
|
37560
|
+
suspendResult = coroutineScope(FetchMarketplaceCookieTokenStore$write$slambda_0(this.zb4_1, null), this);
|
|
37345
37561
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37346
37562
|
return suspendResult;
|
|
37347
37563
|
}
|
|
@@ -37354,7 +37570,7 @@ protoOf($writeCOROUTINE$_0).j9 = function () {
|
|
|
37354
37570
|
if (backAccess == null || backRefresh == null)
|
|
37355
37571
|
return WriteOutcome_BLIND_getInstance();
|
|
37356
37572
|
var tmp_2;
|
|
37357
|
-
if (backAccess === this.
|
|
37573
|
+
if (backAccess === this.ab5_1.n38_1 && backRefresh === this.ab5_1.o38_1) {
|
|
37358
37574
|
tmp_2 = WriteOutcome_WRITTEN_getInstance();
|
|
37359
37575
|
} else {
|
|
37360
37576
|
tmp_2 = WriteOutcome_LOST_RACE_getInstance();
|
|
@@ -37377,7 +37593,7 @@ protoOf($writeCOROUTINE$_0).j9 = function () {
|
|
|
37377
37593
|
};
|
|
37378
37594
|
function $otherActorLikelyActiveCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
37379
37595
|
CoroutineImpl.call(this, resultContinuation);
|
|
37380
|
-
this.
|
|
37596
|
+
this.mb5_1 = _this__u8e3s4;
|
|
37381
37597
|
}
|
|
37382
37598
|
protoOf($otherActorLikelyActiveCOROUTINE$).j9 = function () {
|
|
37383
37599
|
var suspendResult = this.d9_1;
|
|
@@ -37387,7 +37603,7 @@ protoOf($otherActorLikelyActiveCOROUTINE$).j9 = function () {
|
|
|
37387
37603
|
switch (tmp) {
|
|
37388
37604
|
case 0:
|
|
37389
37605
|
this.c9_1 = 3;
|
|
37390
|
-
var host = substringBefore(substringAfter(this.
|
|
37606
|
+
var host = substringBefore(substringAfter(this.mb5_1.bb1_1.refreshUrl, '://'), '/');
|
|
37391
37607
|
if (isBlank(host))
|
|
37392
37608
|
return false;
|
|
37393
37609
|
this.c9_1 = 2;
|
|
@@ -37407,7 +37623,7 @@ protoOf($otherActorLikelyActiveCOROUTINE$).j9 = function () {
|
|
|
37407
37623
|
var tmp_0 = this;
|
|
37408
37624
|
var tmp_1 = tabs == null ? null : tabs.length;
|
|
37409
37625
|
var tmp1_elvis_lhs = (!(tmp_1 == null) ? typeof tmp_1 === 'number' : false) ? tmp_1 : null;
|
|
37410
|
-
tmp_0.
|
|
37626
|
+
tmp_0.nb5_1 = (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) > 0;
|
|
37411
37627
|
this.c9_1 = 3;
|
|
37412
37628
|
this.b9_1 = 4;
|
|
37413
37629
|
continue $sm;
|
|
@@ -37417,7 +37633,7 @@ protoOf($otherActorLikelyActiveCOROUTINE$).j9 = function () {
|
|
|
37417
37633
|
if (tmp_2 instanceof Error) {
|
|
37418
37634
|
var _unused_var__etf5q3 = this.e9_1;
|
|
37419
37635
|
var tmp_3 = this;
|
|
37420
|
-
tmp_3.
|
|
37636
|
+
tmp_3.nb5_1 = false;
|
|
37421
37637
|
this.b9_1 = 4;
|
|
37422
37638
|
continue $sm;
|
|
37423
37639
|
} else {
|
|
@@ -37428,7 +37644,7 @@ protoOf($otherActorLikelyActiveCOROUTINE$).j9 = function () {
|
|
|
37428
37644
|
throw this.e9_1;
|
|
37429
37645
|
case 4:
|
|
37430
37646
|
this.c9_1 = 3;
|
|
37431
|
-
return this.
|
|
37647
|
+
return this.nb5_1;
|
|
37432
37648
|
}
|
|
37433
37649
|
} catch ($p) {
|
|
37434
37650
|
var e = $p;
|
|
@@ -37443,8 +37659,8 @@ protoOf($otherActorLikelyActiveCOROUTINE$).j9 = function () {
|
|
|
37443
37659
|
};
|
|
37444
37660
|
function $readCookieCOROUTINE$(_this__u8e3s4, name, resultContinuation) {
|
|
37445
37661
|
CoroutineImpl.call(this, resultContinuation);
|
|
37446
|
-
this.
|
|
37447
|
-
this.
|
|
37662
|
+
this.ab3_1 = _this__u8e3s4;
|
|
37663
|
+
this.bb3_1 = name;
|
|
37448
37664
|
}
|
|
37449
37665
|
protoOf($readCookieCOROUTINE$).j9 = function () {
|
|
37450
37666
|
var suspendResult = this.d9_1;
|
|
@@ -37457,8 +37673,8 @@ protoOf($readCookieCOROUTINE$).j9 = function () {
|
|
|
37457
37673
|
this.c9_1 = 2;
|
|
37458
37674
|
var api = webExtApi();
|
|
37459
37675
|
var details = {};
|
|
37460
|
-
details.url = this.
|
|
37461
|
-
details.name = this.
|
|
37676
|
+
details.url = this.ab3_1.bb1_1.refreshUrl;
|
|
37677
|
+
details.name = this.bb3_1;
|
|
37462
37678
|
this.b9_1 = 1;
|
|
37463
37679
|
var this_0 = api.cookies.get(details);
|
|
37464
37680
|
suspendResult = await_0(this_0, this);
|
|
@@ -37479,7 +37695,7 @@ protoOf($readCookieCOROUTINE$).j9 = function () {
|
|
|
37479
37695
|
var tmp_3 = cookie.hostOnly;
|
|
37480
37696
|
var tmp1_elvis_lhs = (!(tmp_3 == null) ? typeof tmp_3 === 'boolean' : false) ? tmp_3 : null;
|
|
37481
37697
|
var hostOnly = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
37482
|
-
var tmp_4 = decodeOrSelf(this.
|
|
37698
|
+
var tmp_4 = decodeOrSelf(this.ab3_1, raw);
|
|
37483
37699
|
var tmp_5 = cookie.expirationDate;
|
|
37484
37700
|
var tmp2_safe_receiver = (!(tmp_5 == null) ? typeof tmp_5 === 'number' : false) ? tmp_5 : null;
|
|
37485
37701
|
var tmp_6 = tmp2_safe_receiver == null ? null : numberToLong(tmp2_safe_receiver);
|
|
@@ -37501,10 +37717,10 @@ protoOf($readCookieCOROUTINE$).j9 = function () {
|
|
|
37501
37717
|
var tmp_15 = (!(tmp_14 == null) ? typeof tmp_14 === 'string' : false) ? tmp_14 : null;
|
|
37502
37718
|
var tmp_16 = cookie.httpOnly;
|
|
37503
37719
|
var tmp5_elvis_lhs = (!(tmp_16 == null) ? typeof tmp_16 === 'boolean' : false) ? tmp_16 : null;
|
|
37504
|
-
tmp_2 = new CookieRecord(tmp_4, tmp_6, new CookieTemplate(this.
|
|
37720
|
+
tmp_2 = new CookieRecord(tmp_4, tmp_6, new CookieTemplate(this.ab3_1.bb1_1.refreshUrl, tmp_9, tmp_11, tmp_13, tmp_15, tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs));
|
|
37505
37721
|
}
|
|
37506
37722
|
|
|
37507
|
-
tmp_1.
|
|
37723
|
+
tmp_1.cb3_1 = tmp_2;
|
|
37508
37724
|
this.c9_1 = 3;
|
|
37509
37725
|
this.b9_1 = 4;
|
|
37510
37726
|
continue $sm;
|
|
@@ -37514,7 +37730,7 @@ protoOf($readCookieCOROUTINE$).j9 = function () {
|
|
|
37514
37730
|
if (tmp_17 instanceof Error) {
|
|
37515
37731
|
var _unused_var__etf5q3 = this.e9_1;
|
|
37516
37732
|
var tmp_18 = this;
|
|
37517
|
-
tmp_18.
|
|
37733
|
+
tmp_18.cb3_1 = null;
|
|
37518
37734
|
this.b9_1 = 4;
|
|
37519
37735
|
continue $sm;
|
|
37520
37736
|
} else {
|
|
@@ -37525,7 +37741,7 @@ protoOf($readCookieCOROUTINE$).j9 = function () {
|
|
|
37525
37741
|
throw this.e9_1;
|
|
37526
37742
|
case 4:
|
|
37527
37743
|
this.c9_1 = 3;
|
|
37528
|
-
return this.
|
|
37744
|
+
return this.cb3_1;
|
|
37529
37745
|
}
|
|
37530
37746
|
} catch ($p) {
|
|
37531
37747
|
var e = $p;
|
|
@@ -37540,11 +37756,11 @@ protoOf($readCookieCOROUTINE$).j9 = function () {
|
|
|
37540
37756
|
};
|
|
37541
37757
|
function $setCookieCOROUTINE$(_this__u8e3s4, name, value, expiry, attrs, resultContinuation) {
|
|
37542
37758
|
CoroutineImpl.call(this, resultContinuation);
|
|
37543
|
-
this.
|
|
37544
|
-
this.
|
|
37545
|
-
this.
|
|
37546
|
-
this.
|
|
37547
|
-
this.
|
|
37759
|
+
this.lb3_1 = _this__u8e3s4;
|
|
37760
|
+
this.mb3_1 = name;
|
|
37761
|
+
this.nb3_1 = value;
|
|
37762
|
+
this.ob3_1 = expiry;
|
|
37763
|
+
this.pb3_1 = attrs;
|
|
37548
37764
|
}
|
|
37549
37765
|
protoOf($setCookieCOROUTINE$).j9 = function () {
|
|
37550
37766
|
var suspendResult = this.d9_1;
|
|
@@ -37557,27 +37773,27 @@ protoOf($setCookieCOROUTINE$).j9 = function () {
|
|
|
37557
37773
|
this.c9_1 = 2;
|
|
37558
37774
|
var api = webExtApi();
|
|
37559
37775
|
var details = {};
|
|
37560
|
-
details.url = this.
|
|
37561
|
-
details.name = this.
|
|
37562
|
-
details.value = encodeURIComponent(this.
|
|
37563
|
-
details.path = this.
|
|
37564
|
-
details.secure = this.
|
|
37565
|
-
details.httpOnly = this.
|
|
37566
|
-
var tmp0_safe_receiver = this.
|
|
37776
|
+
details.url = this.pb3_1.mb2_1;
|
|
37777
|
+
details.name = this.mb3_1;
|
|
37778
|
+
details.value = encodeURIComponent(this.nb3_1);
|
|
37779
|
+
details.path = this.pb3_1.ob2_1;
|
|
37780
|
+
details.secure = this.pb3_1.pb2_1;
|
|
37781
|
+
details.httpOnly = this.pb3_1.rb2_1;
|
|
37782
|
+
var tmp0_safe_receiver = this.pb3_1.nb2_1;
|
|
37567
37783
|
if (tmp0_safe_receiver == null)
|
|
37568
37784
|
null;
|
|
37569
37785
|
else {
|
|
37570
37786
|
details.domain = tmp0_safe_receiver;
|
|
37571
37787
|
}
|
|
37572
37788
|
|
|
37573
|
-
var tmp1_safe_receiver = this.
|
|
37789
|
+
var tmp1_safe_receiver = this.pb3_1.qb2_1;
|
|
37574
37790
|
if (tmp1_safe_receiver == null)
|
|
37575
37791
|
null;
|
|
37576
37792
|
else {
|
|
37577
37793
|
details.sameSite = tmp1_safe_receiver;
|
|
37578
37794
|
}
|
|
37579
37795
|
|
|
37580
|
-
var tmp2_safe_receiver = this.
|
|
37796
|
+
var tmp2_safe_receiver = this.ob3_1;
|
|
37581
37797
|
if (tmp2_safe_receiver == null)
|
|
37582
37798
|
null;
|
|
37583
37799
|
else {
|
|
@@ -37594,7 +37810,7 @@ protoOf($setCookieCOROUTINE$).j9 = function () {
|
|
|
37594
37810
|
continue $sm;
|
|
37595
37811
|
case 1:
|
|
37596
37812
|
var written = suspendResult;
|
|
37597
|
-
this.
|
|
37813
|
+
this.qb3_1 = written != null;
|
|
37598
37814
|
this.c9_1 = 3;
|
|
37599
37815
|
this.b9_1 = 4;
|
|
37600
37816
|
continue $sm;
|
|
@@ -37604,7 +37820,7 @@ protoOf($setCookieCOROUTINE$).j9 = function () {
|
|
|
37604
37820
|
if (tmp_0 instanceof Error) {
|
|
37605
37821
|
var _unused_var__etf5q3 = this.e9_1;
|
|
37606
37822
|
var tmp_1 = this;
|
|
37607
|
-
tmp_1.
|
|
37823
|
+
tmp_1.qb3_1 = false;
|
|
37608
37824
|
this.b9_1 = 4;
|
|
37609
37825
|
continue $sm;
|
|
37610
37826
|
} else {
|
|
@@ -37615,7 +37831,7 @@ protoOf($setCookieCOROUTINE$).j9 = function () {
|
|
|
37615
37831
|
throw this.e9_1;
|
|
37616
37832
|
case 4:
|
|
37617
37833
|
this.c9_1 = 3;
|
|
37618
|
-
return this.
|
|
37834
|
+
return this.qb3_1;
|
|
37619
37835
|
}
|
|
37620
37836
|
} catch ($p) {
|
|
37621
37837
|
var e = $p;
|
|
@@ -37630,8 +37846,9 @@ protoOf($setCookieCOROUTINE$).j9 = function () {
|
|
|
37630
37846
|
};
|
|
37631
37847
|
function FetchMarketplaceCookieTokenStore(scrapeConfig) {
|
|
37632
37848
|
scrapeConfig = scrapeConfig === VOID ? new MarketplaceScrapeConfig() : scrapeConfig;
|
|
37633
|
-
this.
|
|
37634
|
-
this.
|
|
37849
|
+
this.bb1_1 = scrapeConfig;
|
|
37850
|
+
this.cb1_1 = null;
|
|
37851
|
+
this.db1_1 = null;
|
|
37635
37852
|
}
|
|
37636
37853
|
protoOf(FetchMarketplaceCookieTokenStore).t3f = function ($completion) {
|
|
37637
37854
|
return coroutineScope(FetchMarketplaceCookieTokenStore$read$slambda_0(this, null), $completion);
|
|
@@ -37659,19 +37876,19 @@ function FetchSteamOfferCanceller$cancelOffer$slambda$lambda_0($this$submitForm)
|
|
|
37659
37876
|
return Unit_instance;
|
|
37660
37877
|
}
|
|
37661
37878
|
function FetchSteamOfferCanceller$cancelOffer$slambda(this$0, $url, $sessionId, resultContinuation) {
|
|
37662
|
-
this.
|
|
37663
|
-
this.
|
|
37664
|
-
this.
|
|
37879
|
+
this.wb5_1 = this$0;
|
|
37880
|
+
this.xb5_1 = $url;
|
|
37881
|
+
this.yb5_1 = $sessionId;
|
|
37665
37882
|
CoroutineImpl.call(this, resultContinuation);
|
|
37666
37883
|
}
|
|
37667
|
-
protoOf(FetchSteamOfferCanceller$cancelOffer$slambda).
|
|
37884
|
+
protoOf(FetchSteamOfferCanceller$cancelOffer$slambda).zb5 = function ($completion) {
|
|
37668
37885
|
var tmp = this.w4a($completion);
|
|
37669
37886
|
tmp.d9_1 = Unit_instance;
|
|
37670
37887
|
tmp.e9_1 = null;
|
|
37671
37888
|
return tmp.j9();
|
|
37672
37889
|
};
|
|
37673
37890
|
protoOf(FetchSteamOfferCanceller$cancelOffer$slambda).v9 = function ($completion) {
|
|
37674
|
-
return this.
|
|
37891
|
+
return this.zb5($completion);
|
|
37675
37892
|
};
|
|
37676
37893
|
protoOf(FetchSteamOfferCanceller$cancelOffer$slambda).j9 = function () {
|
|
37677
37894
|
var suspendResult = this.d9_1;
|
|
@@ -37682,8 +37899,8 @@ protoOf(FetchSteamOfferCanceller$cancelOffer$slambda).j9 = function () {
|
|
|
37682
37899
|
case 0:
|
|
37683
37900
|
this.c9_1 = 2;
|
|
37684
37901
|
this.b9_1 = 1;
|
|
37685
|
-
var tmp_0 = parameters(FetchSteamOfferCanceller$cancelOffer$slambda$lambda(this.
|
|
37686
|
-
suspendResult = submitForm(this.
|
|
37902
|
+
var tmp_0 = parameters(FetchSteamOfferCanceller$cancelOffer$slambda$lambda(this.yb5_1));
|
|
37903
|
+
suspendResult = submitForm(this.wb5_1.ab6_1, this.xb5_1, tmp_0, VOID, FetchSteamOfferCanceller$cancelOffer$slambda$lambda_0, this);
|
|
37687
37904
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37688
37905
|
return suspendResult;
|
|
37689
37906
|
}
|
|
@@ -37706,19 +37923,19 @@ protoOf(FetchSteamOfferCanceller$cancelOffer$slambda).j9 = function () {
|
|
|
37706
37923
|
while (true);
|
|
37707
37924
|
};
|
|
37708
37925
|
protoOf(FetchSteamOfferCanceller$cancelOffer$slambda).w4a = function (completion) {
|
|
37709
|
-
return new FetchSteamOfferCanceller$cancelOffer$slambda(this.
|
|
37926
|
+
return new FetchSteamOfferCanceller$cancelOffer$slambda(this.wb5_1, this.xb5_1, this.yb5_1, completion);
|
|
37710
37927
|
};
|
|
37711
37928
|
function FetchSteamOfferCanceller$cancelOffer$slambda_0(this$0, $url, $sessionId, resultContinuation) {
|
|
37712
37929
|
var i = new FetchSteamOfferCanceller$cancelOffer$slambda(this$0, $url, $sessionId, resultContinuation);
|
|
37713
37930
|
return constructCallableReference(function ($completion) {
|
|
37714
|
-
return i.
|
|
37931
|
+
return i.zb5($completion);
|
|
37715
37932
|
}, 0);
|
|
37716
37933
|
}
|
|
37717
37934
|
function $cancelOfferCOROUTINE$(_this__u8e3s4, credential, offerId, resultContinuation) {
|
|
37718
37935
|
CoroutineImpl.call(this, resultContinuation);
|
|
37719
|
-
this.
|
|
37720
|
-
this.
|
|
37721
|
-
this.
|
|
37936
|
+
this.kb6_1 = _this__u8e3s4;
|
|
37937
|
+
this.lb6_1 = credential;
|
|
37938
|
+
this.mb6_1 = offerId;
|
|
37722
37939
|
}
|
|
37723
37940
|
protoOf($cancelOfferCOROUTINE$).j9 = function () {
|
|
37724
37941
|
var suspendResult = this.d9_1;
|
|
@@ -37728,9 +37945,9 @@ protoOf($cancelOfferCOROUTINE$).j9 = function () {
|
|
|
37728
37945
|
switch (tmp) {
|
|
37729
37946
|
case 0:
|
|
37730
37947
|
this.c9_1 = 3;
|
|
37731
|
-
this.
|
|
37948
|
+
this.nb6_1 = this.kb6_1.bb6_1 + '/tradeoffer/' + _OfferId___get_value__impl__81k8oa(this.mb6_1) + '/cancel';
|
|
37732
37949
|
this.b9_1 = 1;
|
|
37733
|
-
suspendResult = steamSessionId(this.
|
|
37950
|
+
suspendResult = steamSessionId(this.kb6_1.ab6_1, this.kb6_1.bb6_1, this);
|
|
37734
37951
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37735
37952
|
return suspendResult;
|
|
37736
37953
|
}
|
|
@@ -37747,7 +37964,7 @@ protoOf($cancelOfferCOROUTINE$).j9 = function () {
|
|
|
37747
37964
|
|
|
37748
37965
|
var sessionId = tmp_0;
|
|
37749
37966
|
this.b9_1 = 2;
|
|
37750
|
-
suspendResult = steamCancelAnswer(FetchSteamOfferCanceller$cancelOffer$slambda_0(this.
|
|
37967
|
+
suspendResult = steamCancelAnswer(FetchSteamOfferCanceller$cancelOffer$slambda_0(this.kb6_1, this.nb6_1, sessionId, null), this);
|
|
37751
37968
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37752
37969
|
return suspendResult;
|
|
37753
37970
|
}
|
|
@@ -37771,8 +37988,8 @@ protoOf($cancelOfferCOROUTINE$).j9 = function () {
|
|
|
37771
37988
|
};
|
|
37772
37989
|
function FetchSteamOfferCanceller(httpClient, communityBaseUrl) {
|
|
37773
37990
|
communityBaseUrl = communityBaseUrl === VOID ? 'https://steamcommunity.com' : communityBaseUrl;
|
|
37774
|
-
this.
|
|
37775
|
-
this.
|
|
37991
|
+
this.ab6_1 = httpClient;
|
|
37992
|
+
this.bb6_1 = communityBaseUrl;
|
|
37776
37993
|
}
|
|
37777
37994
|
protoOf(FetchSteamOfferCanceller).c6i = function (credential, offerId, $completion) {
|
|
37778
37995
|
var tmp = new $cancelOfferCOROUTINE$(this, credential, offerId, $completion);
|
|
@@ -37799,8 +38016,8 @@ function postCreate($this, url, sessionId, draft, $completion) {
|
|
|
37799
38016
|
return tmp.j9();
|
|
37800
38017
|
}
|
|
37801
38018
|
function Companion_35() {
|
|
37802
|
-
this.
|
|
37803
|
-
this.
|
|
38019
|
+
this.zb7_1 = 1;
|
|
38020
|
+
this.ab8_1 = 512;
|
|
37804
38021
|
}
|
|
37805
38022
|
var Companion_instance_39;
|
|
37806
38023
|
function Companion_getInstance_47() {
|
|
@@ -37818,9 +38035,9 @@ function FetchSteamOfferCreator$postCreate$lambda($this$submitForm) {
|
|
|
37818
38035
|
}
|
|
37819
38036
|
function $createOfferCOROUTINE$(_this__u8e3s4, credential, draft, resultContinuation) {
|
|
37820
38037
|
CoroutineImpl.call(this, resultContinuation);
|
|
37821
|
-
this.
|
|
37822
|
-
this.
|
|
37823
|
-
this.
|
|
38038
|
+
this.jb8_1 = _this__u8e3s4;
|
|
38039
|
+
this.kb8_1 = credential;
|
|
38040
|
+
this.lb8_1 = draft;
|
|
37824
38041
|
}
|
|
37825
38042
|
protoOf($createOfferCOROUTINE$).j9 = function () {
|
|
37826
38043
|
var suspendResult = this.d9_1;
|
|
@@ -37830,28 +38047,28 @@ protoOf($createOfferCOROUTINE$).j9 = function () {
|
|
|
37830
38047
|
switch (tmp) {
|
|
37831
38048
|
case 0:
|
|
37832
38049
|
this.c9_1 = 18;
|
|
37833
|
-
this.
|
|
37834
|
-
this.
|
|
38050
|
+
this.nb8_1 = this.jb8_1.bb9_1;
|
|
38051
|
+
this.mb8_1 = null;
|
|
37835
38052
|
this.b9_1 = 1;
|
|
37836
|
-
suspendResult = this.
|
|
38053
|
+
suspendResult = this.nb8_1.w2g(this.mb8_1, this);
|
|
37837
38054
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37838
38055
|
return suspendResult;
|
|
37839
38056
|
}
|
|
37840
38057
|
|
|
37841
38058
|
continue $sm;
|
|
37842
38059
|
case 1:
|
|
37843
|
-
this.
|
|
38060
|
+
this.ob8_1 = Unit_instance;
|
|
37844
38061
|
this.b9_1 = 2;
|
|
37845
38062
|
continue $sm;
|
|
37846
38063
|
case 2:
|
|
37847
38064
|
this.c9_1 = 17;
|
|
37848
|
-
this.
|
|
38065
|
+
this.pb8_1 = Unit_instance;
|
|
37849
38066
|
this.b9_1 = 3;
|
|
37850
38067
|
continue $sm;
|
|
37851
38068
|
case 3:
|
|
37852
|
-
this.
|
|
38069
|
+
this.wb8_1 = this.jb8_1.zb8_1 + '/tradeoffer/new/send';
|
|
37853
38070
|
this.b9_1 = 4;
|
|
37854
|
-
suspendResult = steamSessionId(this.
|
|
38071
|
+
suspendResult = steamSessionId(this.jb8_1.yb8_1, this.jb8_1.zb8_1, this);
|
|
37855
38072
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37856
38073
|
return suspendResult;
|
|
37857
38074
|
}
|
|
@@ -37860,20 +38077,20 @@ protoOf($createOfferCOROUTINE$).j9 = function () {
|
|
|
37860
38077
|
case 4:
|
|
37861
38078
|
var tmp0_elvis_lhs = suspendResult;
|
|
37862
38079
|
if (tmp0_elvis_lhs == null) {
|
|
37863
|
-
this.
|
|
38080
|
+
this.pb8_1 = new Failed('no Steam session cookie');
|
|
37864
38081
|
this.b9_1 = 15;
|
|
37865
38082
|
var tmp_0 = this;
|
|
37866
38083
|
continue $sm;
|
|
37867
38084
|
} else {
|
|
37868
|
-
this.
|
|
38085
|
+
this.xb8_1 = tmp0_elvis_lhs;
|
|
37869
38086
|
this.b9_1 = 5;
|
|
37870
38087
|
continue $sm;
|
|
37871
38088
|
}
|
|
37872
38089
|
|
|
37873
38090
|
case 5:
|
|
37874
|
-
this.
|
|
38091
|
+
this.vb8_1 = this.xb8_1;
|
|
37875
38092
|
this.b9_1 = 6;
|
|
37876
|
-
suspendResult = installAntiCsrfRule(this.
|
|
38093
|
+
suspendResult = installAntiCsrfRule(this.jb8_1, this.lb8_1, this);
|
|
37877
38094
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37878
38095
|
return suspendResult;
|
|
37879
38096
|
}
|
|
@@ -37884,11 +38101,11 @@ protoOf($createOfferCOROUTINE$).j9 = function () {
|
|
|
37884
38101
|
continue $sm;
|
|
37885
38102
|
case 7:
|
|
37886
38103
|
this.c9_1 = 11;
|
|
37887
|
-
var this_0 = this.
|
|
38104
|
+
var this_0 = this.jb8_1;
|
|
37888
38105
|
this.c9_1 = 9;
|
|
37889
|
-
this.
|
|
38106
|
+
this.ub8_1 = Companion_instance;
|
|
37890
38107
|
this.b9_1 = 8;
|
|
37891
|
-
suspendResult = postCreate(this_0, this.
|
|
38108
|
+
suspendResult = postCreate(this_0, this.wb8_1, this.vb8_1, this.lb8_1, this);
|
|
37892
38109
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37893
38110
|
return suspendResult;
|
|
37894
38111
|
}
|
|
@@ -37897,8 +38114,8 @@ protoOf($createOfferCOROUTINE$).j9 = function () {
|
|
|
37897
38114
|
case 8:
|
|
37898
38115
|
var tmp2 = suspendResult;
|
|
37899
38116
|
var tmp_1 = this;
|
|
37900
|
-
this.
|
|
37901
|
-
tmp_1.
|
|
38117
|
+
this.ub8_1;
|
|
38118
|
+
tmp_1.tb8_1 = _Result___init__impl__xyqfz8(tmp2);
|
|
37902
38119
|
this.c9_1 = 11;
|
|
37903
38120
|
this.b9_1 = 10;
|
|
37904
38121
|
continue $sm;
|
|
@@ -37908,7 +38125,7 @@ protoOf($createOfferCOROUTINE$).j9 = function () {
|
|
|
37908
38125
|
if (tmp_2 instanceof Error) {
|
|
37909
38126
|
var e = this.e9_1;
|
|
37910
38127
|
var tmp_3 = this;
|
|
37911
|
-
tmp_3.
|
|
38128
|
+
tmp_3.tb8_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
37912
38129
|
this.b9_1 = 10;
|
|
37913
38130
|
continue $sm;
|
|
37914
38131
|
} else {
|
|
@@ -37918,7 +38135,7 @@ protoOf($createOfferCOROUTINE$).j9 = function () {
|
|
|
37918
38135
|
case 10:
|
|
37919
38136
|
this.c9_1 = 11;
|
|
37920
38137
|
var tmp_4 = this;
|
|
37921
|
-
var this_1 = this.
|
|
38138
|
+
var this_1 = this.tb8_1;
|
|
37922
38139
|
var exception = Result__exceptionOrNull_impl_p6xea9(this_1);
|
|
37923
38140
|
var tmp_5;
|
|
37924
38141
|
if (exception == null) {
|
|
@@ -37927,33 +38144,33 @@ protoOf($createOfferCOROUTINE$).j9 = function () {
|
|
|
37927
38144
|
tmp_5 = new Failed(redactedSummary(exception));
|
|
37928
38145
|
}
|
|
37929
38146
|
|
|
37930
|
-
tmp_4.
|
|
38147
|
+
tmp_4.rb8_1 = tmp_5;
|
|
37931
38148
|
this.b9_1 = 13;
|
|
37932
38149
|
continue $sm;
|
|
37933
38150
|
case 11:
|
|
37934
38151
|
this.c9_1 = 17;
|
|
37935
|
-
this.
|
|
38152
|
+
this.sb8_1 = this.e9_1;
|
|
37936
38153
|
this.b9_1 = 12;
|
|
37937
|
-
suspendResult = removeAntiCsrfRule(this.
|
|
38154
|
+
suspendResult = removeAntiCsrfRule(this.jb8_1, this);
|
|
37938
38155
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37939
38156
|
return suspendResult;
|
|
37940
38157
|
}
|
|
37941
38158
|
|
|
37942
38159
|
continue $sm;
|
|
37943
38160
|
case 12:
|
|
37944
|
-
throw this.
|
|
38161
|
+
throw this.sb8_1;
|
|
37945
38162
|
case 13:
|
|
37946
|
-
this.
|
|
38163
|
+
this.qb8_1 = this.rb8_1;
|
|
37947
38164
|
this.c9_1 = 17;
|
|
37948
38165
|
this.b9_1 = 14;
|
|
37949
|
-
suspendResult = removeAntiCsrfRule(this.
|
|
38166
|
+
suspendResult = removeAntiCsrfRule(this.jb8_1, this);
|
|
37950
38167
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37951
38168
|
return suspendResult;
|
|
37952
38169
|
}
|
|
37953
38170
|
|
|
37954
38171
|
continue $sm;
|
|
37955
38172
|
case 14:
|
|
37956
|
-
this.
|
|
38173
|
+
this.pb8_1 = this.qb8_1;
|
|
37957
38174
|
if (false) {
|
|
37958
38175
|
this.b9_1 = 3;
|
|
37959
38176
|
continue $sm;
|
|
@@ -37962,19 +38179,19 @@ protoOf($createOfferCOROUTINE$).j9 = function () {
|
|
|
37962
38179
|
this.b9_1 = 15;
|
|
37963
38180
|
continue $sm;
|
|
37964
38181
|
case 15:
|
|
37965
|
-
this.
|
|
38182
|
+
this.ob8_1 = this.pb8_1;
|
|
37966
38183
|
this.c9_1 = 18;
|
|
37967
38184
|
this.b9_1 = 16;
|
|
37968
38185
|
continue $sm;
|
|
37969
38186
|
case 16:
|
|
37970
|
-
var tmp_6 = this.
|
|
38187
|
+
var tmp_6 = this.ob8_1;
|
|
37971
38188
|
this.c9_1 = 18;
|
|
37972
|
-
this.
|
|
38189
|
+
this.nb8_1.i2g(this.mb8_1);
|
|
37973
38190
|
return tmp_6;
|
|
37974
38191
|
case 17:
|
|
37975
38192
|
this.c9_1 = 18;
|
|
37976
38193
|
var t = this.e9_1;
|
|
37977
|
-
this.
|
|
38194
|
+
this.nb8_1.i2g(this.mb8_1);
|
|
37978
38195
|
throw t;
|
|
37979
38196
|
case 18:
|
|
37980
38197
|
throw this.e9_1;
|
|
@@ -37992,8 +38209,8 @@ protoOf($createOfferCOROUTINE$).j9 = function () {
|
|
|
37992
38209
|
};
|
|
37993
38210
|
function $installAntiCsrfRuleCOROUTINE$(_this__u8e3s4, draft, resultContinuation) {
|
|
37994
38211
|
CoroutineImpl.call(this, resultContinuation);
|
|
37995
|
-
this.
|
|
37996
|
-
this.
|
|
38212
|
+
this.wb6_1 = _this__u8e3s4;
|
|
38213
|
+
this.xb6_1 = draft;
|
|
37997
38214
|
}
|
|
37998
38215
|
protoOf($installAntiCsrfRuleCOROUTINE$).j9 = function () {
|
|
37999
38216
|
var suspendResult = this.d9_1;
|
|
@@ -38003,11 +38220,11 @@ protoOf($installAntiCsrfRuleCOROUTINE$).j9 = function () {
|
|
|
38003
38220
|
switch (tmp) {
|
|
38004
38221
|
case 0:
|
|
38005
38222
|
this.c9_1 = 3;
|
|
38006
|
-
var referer = SteamOfferWire_instance.o7f(this.
|
|
38223
|
+
var referer = SteamOfferWire_instance.o7f(this.wb6_1.zb8_1, this.xb6_1);
|
|
38007
38224
|
var header = FetchSteamOfferCreator$installAntiCsrfRule$lambda;
|
|
38008
38225
|
var rule = {priority: 1, action: {type: 'modifyHeaders'}, condition: {}};
|
|
38009
38226
|
rule.id = 1;
|
|
38010
|
-
var this_0 = [header('referer', referer), header('origin', this.
|
|
38227
|
+
var this_0 = [header('referer', referer), header('origin', this.wb6_1.zb8_1)];
|
|
38011
38228
|
rule.action.requestHeaders = this_0;
|
|
38012
38229
|
rule.condition.urlFilter = '||steamcommunity.com/tradeoffer/new/send';
|
|
38013
38230
|
var this_1 = ['xmlhttprequest', 'other'];
|
|
@@ -38015,9 +38232,9 @@ protoOf($installAntiCsrfRuleCOROUTINE$).j9 = function () {
|
|
|
38015
38232
|
var update = {};
|
|
38016
38233
|
update.removeRuleIds = [1];
|
|
38017
38234
|
update.addRules = [rule];
|
|
38018
|
-
this.
|
|
38235
|
+
this.wb6_1;
|
|
38019
38236
|
this.c9_1 = 2;
|
|
38020
|
-
this.
|
|
38237
|
+
this.zb6_1 = Companion_instance;
|
|
38021
38238
|
this.b9_1 = 1;
|
|
38022
38239
|
var this_2 = webExtApi().declarativeNetRequest.updateSessionRules(update);
|
|
38023
38240
|
suspendResult = await_0(this_2, this);
|
|
@@ -38029,8 +38246,8 @@ protoOf($installAntiCsrfRuleCOROUTINE$).j9 = function () {
|
|
|
38029
38246
|
case 1:
|
|
38030
38247
|
var tmp2 = suspendResult;
|
|
38031
38248
|
var tmp_0 = this;
|
|
38032
|
-
this.
|
|
38033
|
-
tmp_0.
|
|
38249
|
+
this.zb6_1;
|
|
38250
|
+
tmp_0.yb6_1 = _Result___init__impl__xyqfz8(tmp2);
|
|
38034
38251
|
this.c9_1 = 3;
|
|
38035
38252
|
this.b9_1 = 4;
|
|
38036
38253
|
continue $sm;
|
|
@@ -38040,7 +38257,7 @@ protoOf($installAntiCsrfRuleCOROUTINE$).j9 = function () {
|
|
|
38040
38257
|
if (tmp_1 instanceof Error) {
|
|
38041
38258
|
var e = this.e9_1;
|
|
38042
38259
|
var tmp_2 = this;
|
|
38043
|
-
tmp_2.
|
|
38260
|
+
tmp_2.yb6_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
38044
38261
|
this.b9_1 = 4;
|
|
38045
38262
|
continue $sm;
|
|
38046
38263
|
} else {
|
|
@@ -38066,7 +38283,7 @@ protoOf($installAntiCsrfRuleCOROUTINE$).j9 = function () {
|
|
|
38066
38283
|
};
|
|
38067
38284
|
function $removeAntiCsrfRuleCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
38068
38285
|
CoroutineImpl.call(this, resultContinuation);
|
|
38069
|
-
this.
|
|
38286
|
+
this.ib7_1 = _this__u8e3s4;
|
|
38070
38287
|
}
|
|
38071
38288
|
protoOf($removeAntiCsrfRuleCOROUTINE$).j9 = function () {
|
|
38072
38289
|
var suspendResult = this.d9_1;
|
|
@@ -38078,9 +38295,9 @@ protoOf($removeAntiCsrfRuleCOROUTINE$).j9 = function () {
|
|
|
38078
38295
|
this.c9_1 = 3;
|
|
38079
38296
|
var update = {};
|
|
38080
38297
|
update.removeRuleIds = [1];
|
|
38081
|
-
this.
|
|
38298
|
+
this.ib7_1;
|
|
38082
38299
|
this.c9_1 = 2;
|
|
38083
|
-
this.
|
|
38300
|
+
this.kb7_1 = Companion_instance;
|
|
38084
38301
|
this.b9_1 = 1;
|
|
38085
38302
|
var this_0 = webExtApi().declarativeNetRequest.updateSessionRules(update);
|
|
38086
38303
|
suspendResult = await_0(this_0, this);
|
|
@@ -38092,8 +38309,8 @@ protoOf($removeAntiCsrfRuleCOROUTINE$).j9 = function () {
|
|
|
38092
38309
|
case 1:
|
|
38093
38310
|
var tmp2 = suspendResult;
|
|
38094
38311
|
var tmp_0 = this;
|
|
38095
|
-
this.
|
|
38096
|
-
tmp_0.
|
|
38312
|
+
this.kb7_1;
|
|
38313
|
+
tmp_0.jb7_1 = _Result___init__impl__xyqfz8(tmp2);
|
|
38097
38314
|
this.c9_1 = 3;
|
|
38098
38315
|
this.b9_1 = 4;
|
|
38099
38316
|
continue $sm;
|
|
@@ -38103,7 +38320,7 @@ protoOf($removeAntiCsrfRuleCOROUTINE$).j9 = function () {
|
|
|
38103
38320
|
if (tmp_1 instanceof Error) {
|
|
38104
38321
|
var e = this.e9_1;
|
|
38105
38322
|
var tmp_2 = this;
|
|
38106
|
-
tmp_2.
|
|
38323
|
+
tmp_2.jb7_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
38107
38324
|
this.b9_1 = 4;
|
|
38108
38325
|
continue $sm;
|
|
38109
38326
|
} else {
|
|
@@ -38129,10 +38346,10 @@ protoOf($removeAntiCsrfRuleCOROUTINE$).j9 = function () {
|
|
|
38129
38346
|
};
|
|
38130
38347
|
function $postCreateCOROUTINE$(_this__u8e3s4, url, sessionId, draft, resultContinuation) {
|
|
38131
38348
|
CoroutineImpl.call(this, resultContinuation);
|
|
38132
|
-
this.
|
|
38133
|
-
this.
|
|
38134
|
-
this.
|
|
38135
|
-
this.
|
|
38349
|
+
this.tb7_1 = _this__u8e3s4;
|
|
38350
|
+
this.ub7_1 = url;
|
|
38351
|
+
this.vb7_1 = sessionId;
|
|
38352
|
+
this.wb7_1 = draft;
|
|
38136
38353
|
}
|
|
38137
38354
|
protoOf($postCreateCOROUTINE$).j9 = function () {
|
|
38138
38355
|
var suspendResult = this.d9_1;
|
|
@@ -38144,15 +38361,15 @@ protoOf($postCreateCOROUTINE$).j9 = function () {
|
|
|
38144
38361
|
this.c9_1 = 5;
|
|
38145
38362
|
this.c9_1 = 2;
|
|
38146
38363
|
this.b9_1 = 1;
|
|
38147
|
-
var tmp_0 = SteamOfferWire_instance.n7f(this.
|
|
38148
|
-
suspendResult = submitForm(this.
|
|
38364
|
+
var tmp_0 = SteamOfferWire_instance.n7f(this.vb7_1, this.wb7_1, this.tb7_1.ab9_1);
|
|
38365
|
+
suspendResult = submitForm(this.tb7_1.yb8_1, this.ub7_1, tmp_0, VOID, FetchSteamOfferCreator$postCreate$lambda, this);
|
|
38149
38366
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38150
38367
|
return suspendResult;
|
|
38151
38368
|
}
|
|
38152
38369
|
|
|
38153
38370
|
continue $sm;
|
|
38154
38371
|
case 1:
|
|
38155
|
-
this.
|
|
38372
|
+
this.yb7_1 = suspendResult;
|
|
38156
38373
|
this.c9_1 = 5;
|
|
38157
38374
|
this.b9_1 = 3;
|
|
38158
38375
|
continue $sm;
|
|
@@ -38169,8 +38386,8 @@ protoOf($postCreateCOROUTINE$).j9 = function () {
|
|
|
38169
38386
|
|
|
38170
38387
|
case 3:
|
|
38171
38388
|
this.c9_1 = 5;
|
|
38172
|
-
var response = this.
|
|
38173
|
-
this.
|
|
38389
|
+
var response = this.yb7_1;
|
|
38390
|
+
this.xb7_1 = SteamOfferWire_instance;
|
|
38174
38391
|
this.b9_1 = 4;
|
|
38175
38392
|
suspendResult = bodyAsText(response, VOID, this);
|
|
38176
38393
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -38180,7 +38397,7 @@ protoOf($postCreateCOROUTINE$).j9 = function () {
|
|
|
38180
38397
|
continue $sm;
|
|
38181
38398
|
case 4:
|
|
38182
38399
|
var ARGUMENT = suspendResult;
|
|
38183
|
-
return this.
|
|
38400
|
+
return this.xb7_1.p7f(ARGUMENT);
|
|
38184
38401
|
case 5:
|
|
38185
38402
|
throw this.e9_1;
|
|
38186
38403
|
}
|
|
@@ -38198,10 +38415,10 @@ protoOf($postCreateCOROUTINE$).j9 = function () {
|
|
|
38198
38415
|
function FetchSteamOfferCreator(httpClient, communityBaseUrl, adapter) {
|
|
38199
38416
|
communityBaseUrl = communityBaseUrl === VOID ? 'https://steamcommunity.com' : communityBaseUrl;
|
|
38200
38417
|
adapter = adapter === VOID ? new Cs2GameAdapter() : adapter;
|
|
38201
|
-
this.
|
|
38202
|
-
this.
|
|
38203
|
-
this.
|
|
38204
|
-
this.
|
|
38418
|
+
this.yb8_1 = httpClient;
|
|
38419
|
+
this.zb8_1 = communityBaseUrl;
|
|
38420
|
+
this.ab9_1 = adapter;
|
|
38421
|
+
this.bb9_1 = Mutex();
|
|
38205
38422
|
}
|
|
38206
38423
|
protoOf(FetchSteamOfferCreator).d6i = function (credential, draft, $completion) {
|
|
38207
38424
|
var tmp = new $createOfferCOROUTINE$(this, credential, draft, $completion);
|
|
@@ -38231,9 +38448,9 @@ function FetchSteamWebSessionGateway$postFormWithSession$lambda_0($this$submitFo
|
|
|
38231
38448
|
}
|
|
38232
38449
|
function $readCookieCOROUTINE$_0(_this__u8e3s4, domain, name, resultContinuation) {
|
|
38233
38450
|
CoroutineImpl.call(this, resultContinuation);
|
|
38234
|
-
this.
|
|
38235
|
-
this.
|
|
38236
|
-
this.
|
|
38451
|
+
this.kb9_1 = _this__u8e3s4;
|
|
38452
|
+
this.lb9_1 = domain;
|
|
38453
|
+
this.mb9_1 = name;
|
|
38237
38454
|
}
|
|
38238
38455
|
protoOf($readCookieCOROUTINE$_0).j9 = function () {
|
|
38239
38456
|
var suspendResult = this.d9_1;
|
|
@@ -38244,8 +38461,8 @@ protoOf($readCookieCOROUTINE$_0).j9 = function () {
|
|
|
38244
38461
|
case 0:
|
|
38245
38462
|
this.c9_1 = 2;
|
|
38246
38463
|
var details = {};
|
|
38247
|
-
details.url = 'https://' + this.
|
|
38248
|
-
details.name = this.
|
|
38464
|
+
details.url = 'https://' + this.lb9_1 + '/';
|
|
38465
|
+
details.name = this.mb9_1;
|
|
38249
38466
|
var api = webExtApi();
|
|
38250
38467
|
this.b9_1 = 1;
|
|
38251
38468
|
var this_0 = api.cookies.get(details);
|
|
@@ -38295,9 +38512,9 @@ protoOf($readCookieCOROUTINE$_0).j9 = function () {
|
|
|
38295
38512
|
};
|
|
38296
38513
|
function $postFormWithSessionCOROUTINE$(_this__u8e3s4, url, form, resultContinuation) {
|
|
38297
38514
|
CoroutineImpl.call(this, resultContinuation);
|
|
38298
|
-
this.
|
|
38299
|
-
this.
|
|
38300
|
-
this.
|
|
38515
|
+
this.vb9_1 = _this__u8e3s4;
|
|
38516
|
+
this.wb9_1 = url;
|
|
38517
|
+
this.xb9_1 = form;
|
|
38301
38518
|
}
|
|
38302
38519
|
protoOf($postFormWithSessionCOROUTINE$).j9 = function () {
|
|
38303
38520
|
var suspendResult = this.d9_1;
|
|
@@ -38309,15 +38526,15 @@ protoOf($postFormWithSessionCOROUTINE$).j9 = function () {
|
|
|
38309
38526
|
this.c9_1 = 5;
|
|
38310
38527
|
this.c9_1 = 2;
|
|
38311
38528
|
this.b9_1 = 1;
|
|
38312
|
-
var tmp_0 = parameters(FetchSteamWebSessionGateway$postFormWithSession$lambda(this.
|
|
38313
|
-
suspendResult = submitForm(this.
|
|
38529
|
+
var tmp_0 = parameters(FetchSteamWebSessionGateway$postFormWithSession$lambda(this.xb9_1));
|
|
38530
|
+
suspendResult = submitForm(this.vb9_1.zb9_1, this.wb9_1, tmp_0, VOID, FetchSteamWebSessionGateway$postFormWithSession$lambda_0, this);
|
|
38314
38531
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38315
38532
|
return suspendResult;
|
|
38316
38533
|
}
|
|
38317
38534
|
|
|
38318
38535
|
continue $sm;
|
|
38319
38536
|
case 1:
|
|
38320
|
-
this.
|
|
38537
|
+
this.yb9_1 = suspendResult;
|
|
38321
38538
|
this.c9_1 = 5;
|
|
38322
38539
|
this.b9_1 = 3;
|
|
38323
38540
|
continue $sm;
|
|
@@ -38341,7 +38558,7 @@ protoOf($postFormWithSessionCOROUTINE$).j9 = function () {
|
|
|
38341
38558
|
|
|
38342
38559
|
case 3:
|
|
38343
38560
|
this.c9_1 = 5;
|
|
38344
|
-
var response = this.
|
|
38561
|
+
var response = this.yb9_1;
|
|
38345
38562
|
this.b9_1 = 4;
|
|
38346
38563
|
suspendResult = bodyAsText(response, VOID, this);
|
|
38347
38564
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -38366,7 +38583,7 @@ protoOf($postFormWithSessionCOROUTINE$).j9 = function () {
|
|
|
38366
38583
|
while (true);
|
|
38367
38584
|
};
|
|
38368
38585
|
function FetchSteamWebSessionGateway(httpClient) {
|
|
38369
|
-
this.
|
|
38586
|
+
this.zb9_1 = httpClient;
|
|
38370
38587
|
}
|
|
38371
38588
|
protoOf(FetchSteamWebSessionGateway).z7r = function (domain, name, $completion) {
|
|
38372
38589
|
var tmp = new $readCookieCOROUTINE$_0(this, domain, name, $completion);
|
|
@@ -38388,8 +38605,8 @@ function steamSessionId(_this__u8e3s4, communityBaseUrl, $completion) {
|
|
|
38388
38605
|
}
|
|
38389
38606
|
function $steamSessionIdCOROUTINE$(_this__u8e3s4, communityBaseUrl, resultContinuation) {
|
|
38390
38607
|
CoroutineImpl.call(this, resultContinuation);
|
|
38391
|
-
this.
|
|
38392
|
-
this.
|
|
38608
|
+
this.iba_1 = _this__u8e3s4;
|
|
38609
|
+
this.jba_1 = communityBaseUrl;
|
|
38393
38610
|
}
|
|
38394
38611
|
protoOf($steamSessionIdCOROUTINE$).j9 = function () {
|
|
38395
38612
|
var suspendResult = this.d9_1;
|
|
@@ -38400,7 +38617,7 @@ protoOf($steamSessionIdCOROUTINE$).j9 = function () {
|
|
|
38400
38617
|
case 0:
|
|
38401
38618
|
this.c9_1 = 6;
|
|
38402
38619
|
this.b9_1 = 1;
|
|
38403
|
-
suspendResult = webExtCookieValue(this.
|
|
38620
|
+
suspendResult = webExtCookieValue(this.jba_1, 'sessionid', this);
|
|
38404
38621
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38405
38622
|
return suspendResult;
|
|
38406
38623
|
}
|
|
@@ -38415,8 +38632,8 @@ protoOf($steamSessionIdCOROUTINE$).j9 = function () {
|
|
|
38415
38632
|
}
|
|
38416
38633
|
|
|
38417
38634
|
this.c9_1 = 3;
|
|
38418
|
-
var tmp0 = this.
|
|
38419
|
-
var urlString = this.
|
|
38635
|
+
var tmp0 = this.iba_1;
|
|
38636
|
+
var urlString = this.jba_1 + '/';
|
|
38420
38637
|
var this_0 = new HttpRequestBuilder();
|
|
38421
38638
|
url(this_0, urlString);
|
|
38422
38639
|
suppressResponseBodyCapture(this_0);
|
|
@@ -38429,7 +38646,7 @@ protoOf($steamSessionIdCOROUTINE$).j9 = function () {
|
|
|
38429
38646
|
|
|
38430
38647
|
continue $sm;
|
|
38431
38648
|
case 2:
|
|
38432
|
-
this.
|
|
38649
|
+
this.kba_1 = suspendResult;
|
|
38433
38650
|
this.c9_1 = 6;
|
|
38434
38651
|
this.b9_1 = 4;
|
|
38435
38652
|
continue $sm;
|
|
@@ -38445,7 +38662,7 @@ protoOf($steamSessionIdCOROUTINE$).j9 = function () {
|
|
|
38445
38662
|
if (tmp_2 instanceof Error) {
|
|
38446
38663
|
var _unused_var__etf5q3 = this.e9_1;
|
|
38447
38664
|
var tmp_3 = this;
|
|
38448
|
-
tmp_3.
|
|
38665
|
+
tmp_3.kba_1 = Unit_instance;
|
|
38449
38666
|
this.b9_1 = 4;
|
|
38450
38667
|
continue $sm;
|
|
38451
38668
|
} else {
|
|
@@ -38456,7 +38673,7 @@ protoOf($steamSessionIdCOROUTINE$).j9 = function () {
|
|
|
38456
38673
|
case 4:
|
|
38457
38674
|
this.c9_1 = 6;
|
|
38458
38675
|
this.b9_1 = 5;
|
|
38459
|
-
suspendResult = webExtCookieValue(this.
|
|
38676
|
+
suspendResult = webExtCookieValue(this.jba_1, 'sessionid', this);
|
|
38460
38677
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38461
38678
|
return suspendResult;
|
|
38462
38679
|
}
|
|
@@ -38480,10 +38697,10 @@ protoOf($steamSessionIdCOROUTINE$).j9 = function () {
|
|
|
38480
38697
|
};
|
|
38481
38698
|
function $proveReadCOROUTINE$(_this__u8e3s4, binding, kind, credential, resultContinuation) {
|
|
38482
38699
|
CoroutineImpl.call(this, resultContinuation);
|
|
38483
|
-
this.
|
|
38484
|
-
this.
|
|
38485
|
-
this.
|
|
38486
|
-
this.
|
|
38700
|
+
this.tba_1 = _this__u8e3s4;
|
|
38701
|
+
this.uba_1 = binding;
|
|
38702
|
+
this.vba_1 = kind;
|
|
38703
|
+
this.wba_1 = credential;
|
|
38487
38704
|
}
|
|
38488
38705
|
protoOf($proveReadCOROUTINE$).j9 = function () {
|
|
38489
38706
|
var suspendResult = this.d9_1;
|
|
@@ -38493,15 +38710,15 @@ protoOf($proveReadCOROUTINE$).j9 = function () {
|
|
|
38493
38710
|
switch (tmp) {
|
|
38494
38711
|
case 0:
|
|
38495
38712
|
this.c9_1 = 3;
|
|
38496
|
-
var request = notaryProofRequest(this.
|
|
38497
|
-
this.
|
|
38713
|
+
var request = notaryProofRequest(this.uba_1, this.vba_1, this.wba_1.p39_1);
|
|
38714
|
+
this.yba_1 = this.tba_1.bbb_1;
|
|
38498
38715
|
var tmp_0 = this;
|
|
38499
38716
|
var this_0 = Default_getInstance_1();
|
|
38500
38717
|
var this_1 = this_0.gw();
|
|
38501
38718
|
var this_2 = serializer(this_1, createKType(getKClass(NotaryProofRequest), arrayOf([]), false));
|
|
38502
|
-
tmp_0.
|
|
38719
|
+
tmp_0.xba_1 = this_0.v1c(isInterface(this_2, KSerializer) ? this_2 : THROW_CCE(), request);
|
|
38503
38720
|
this.b9_1 = 1;
|
|
38504
|
-
suspendResult = this.
|
|
38721
|
+
suspendResult = this.tba_1.abb_1.z3f(this);
|
|
38505
38722
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38506
38723
|
return suspendResult;
|
|
38507
38724
|
}
|
|
@@ -38509,7 +38726,7 @@ protoOf($proveReadCOROUTINE$).j9 = function () {
|
|
|
38509
38726
|
continue $sm;
|
|
38510
38727
|
case 1:
|
|
38511
38728
|
var ARGUMENT = suspendResult;
|
|
38512
|
-
var ARGUMENT_0 = this.
|
|
38729
|
+
var ARGUMENT_0 = this.yba_1(this.xba_1, ARGUMENT, this.wba_1.o39_1);
|
|
38513
38730
|
this.b9_1 = 2;
|
|
38514
38731
|
suspendResult = await_0(ARGUMENT_0, this);
|
|
38515
38732
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -38519,7 +38736,7 @@ protoOf($proveReadCOROUTINE$).j9 = function () {
|
|
|
38519
38736
|
continue $sm;
|
|
38520
38737
|
case 2:
|
|
38521
38738
|
var payload = suspendResult;
|
|
38522
|
-
return new ProofSubmission(this.
|
|
38739
|
+
return new ProofSubmission(this.uba_1.m3b_1, payload);
|
|
38523
38740
|
case 3:
|
|
38524
38741
|
throw this.e9_1;
|
|
38525
38742
|
}
|
|
@@ -38535,13 +38752,13 @@ protoOf($proveReadCOROUTINE$).j9 = function () {
|
|
|
38535
38752
|
while (true);
|
|
38536
38753
|
};
|
|
38537
38754
|
function DelegatingNotaryProver(maxConcurrency, tokenProvider, delegate) {
|
|
38538
|
-
this.
|
|
38539
|
-
this.
|
|
38540
|
-
this.
|
|
38541
|
-
this.
|
|
38755
|
+
this.zba_1 = maxConcurrency;
|
|
38756
|
+
this.abb_1 = tokenProvider;
|
|
38757
|
+
this.bbb_1 = delegate;
|
|
38758
|
+
this.cbb_1 = 'tlsn';
|
|
38542
38759
|
}
|
|
38543
38760
|
protoOf(DelegatingNotaryProver).w3f = function () {
|
|
38544
|
-
return this.
|
|
38761
|
+
return this.cbb_1;
|
|
38545
38762
|
};
|
|
38546
38763
|
protoOf(DelegatingNotaryProver).x3f = function (binding, kind, credential, $completion) {
|
|
38547
38764
|
var tmp = new $proveReadCOROUTINE$(this, binding, kind, credential, $completion);
|
|
@@ -38551,11 +38768,11 @@ protoOf(DelegatingNotaryProver).x3f = function (binding, kind, credential, $comp
|
|
|
38551
38768
|
};
|
|
38552
38769
|
function $proveCOROUTINE$(_this__u8e3s4, binding, kind, subjectSteamId, steamAccessToken, resultContinuation) {
|
|
38553
38770
|
CoroutineImpl.call(this, resultContinuation);
|
|
38554
|
-
this.
|
|
38555
|
-
this.
|
|
38556
|
-
this.
|
|
38557
|
-
this.
|
|
38558
|
-
this.
|
|
38771
|
+
this.lbb_1 = _this__u8e3s4;
|
|
38772
|
+
this.mbb_1 = binding;
|
|
38773
|
+
this.nbb_1 = kind;
|
|
38774
|
+
this.obb_1 = subjectSteamId;
|
|
38775
|
+
this.pbb_1 = steamAccessToken;
|
|
38559
38776
|
}
|
|
38560
38777
|
protoOf($proveCOROUTINE$).j9 = function () {
|
|
38561
38778
|
var suspendResult = this.d9_1;
|
|
@@ -38565,45 +38782,45 @@ protoOf($proveCOROUTINE$).j9 = function () {
|
|
|
38565
38782
|
switch (tmp) {
|
|
38566
38783
|
case 0:
|
|
38567
38784
|
this.c9_1 = 10;
|
|
38568
|
-
if (!this.
|
|
38569
|
-
var message = this.
|
|
38785
|
+
if (!this.lbb_1.xbb_1.f2o().d1(this.nbb_1)) {
|
|
38786
|
+
var message = this.nbb_1.toString() + ' is not in NotaryConfig.enabledReads, so no proof may be spent on it';
|
|
38570
38787
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
38571
38788
|
}
|
|
38572
38789
|
|
|
38573
|
-
this.
|
|
38790
|
+
this.qbb_1 = this.lbb_1.fbc_1;
|
|
38574
38791
|
this.b9_1 = 1;
|
|
38575
|
-
suspendResult = this.
|
|
38792
|
+
suspendResult = this.qbb_1.d2h(this);
|
|
38576
38793
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38577
38794
|
return suspendResult;
|
|
38578
38795
|
}
|
|
38579
38796
|
|
|
38580
38797
|
continue $sm;
|
|
38581
38798
|
case 1:
|
|
38582
|
-
this.
|
|
38799
|
+
this.rbb_1 = Unit_instance;
|
|
38583
38800
|
this.b9_1 = 2;
|
|
38584
38801
|
continue $sm;
|
|
38585
38802
|
case 2:
|
|
38586
38803
|
this.c9_1 = 9;
|
|
38587
38804
|
this.b9_1 = 3;
|
|
38588
|
-
suspendResult = this.
|
|
38805
|
+
suspendResult = this.lbb_1.ybb_1.z3f(this);
|
|
38589
38806
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38590
38807
|
return suspendResult;
|
|
38591
38808
|
}
|
|
38592
38809
|
|
|
38593
38810
|
continue $sm;
|
|
38594
38811
|
case 3:
|
|
38595
|
-
this.
|
|
38596
|
-
this.
|
|
38597
|
-
if (this.
|
|
38812
|
+
this.vbb_1 = suspendResult;
|
|
38813
|
+
this.ubb_1 = this.lbb_1.bbc_1.w3c(this.nbb_1, this.mbb_1, this.obb_1, this.lbb_1.abc_1);
|
|
38814
|
+
if (this.ubb_1.g3c()) {
|
|
38598
38815
|
this.b9_1 = 4;
|
|
38599
|
-
suspendResult = this.
|
|
38816
|
+
suspendResult = this.lbb_1.cbc_1.c3g(this);
|
|
38600
38817
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38601
38818
|
return suspendResult;
|
|
38602
38819
|
}
|
|
38603
38820
|
continue $sm;
|
|
38604
38821
|
} else {
|
|
38605
38822
|
var tmp_0 = this;
|
|
38606
|
-
tmp_0.
|
|
38823
|
+
tmp_0.wbb_1 = null;
|
|
38607
38824
|
this.b9_1 = 5;
|
|
38608
38825
|
continue $sm;
|
|
38609
38826
|
}
|
|
@@ -38614,7 +38831,7 @@ protoOf($proveCOROUTINE$).j9 = function () {
|
|
|
38614
38831
|
var tmp$ret$0;
|
|
38615
38832
|
l$ret$1: do {
|
|
38616
38833
|
if (tmp0 == null) {
|
|
38617
|
-
var message_0 = this.
|
|
38834
|
+
var message_0 = this.nbb_1.toString() + ' is cookie-authenticated but there is no Steam web session on this device';
|
|
38618
38835
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
38619
38836
|
} else {
|
|
38620
38837
|
tmp$ret$0 = tmp0;
|
|
@@ -38622,20 +38839,20 @@ protoOf($proveCOROUTINE$).j9 = function () {
|
|
|
38622
38839
|
}
|
|
38623
38840
|
}
|
|
38624
38841
|
while (false);
|
|
38625
|
-
tmp_1.
|
|
38842
|
+
tmp_1.wbb_1 = tmp$ret$0;
|
|
38626
38843
|
this.b9_1 = 5;
|
|
38627
38844
|
continue $sm;
|
|
38628
38845
|
case 5:
|
|
38629
|
-
this.
|
|
38846
|
+
this.tbb_1 = this.wbb_1;
|
|
38630
38847
|
var tmp_2 = this;
|
|
38631
38848
|
var tmp_3;
|
|
38632
|
-
if (this.
|
|
38633
|
-
var tmp0_safe_receiver = this.
|
|
38849
|
+
if (this.ubb_1.j3c()) {
|
|
38850
|
+
var tmp0_safe_receiver = this.tbb_1;
|
|
38634
38851
|
var tmp0_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b3g_1;
|
|
38635
38852
|
var tmp$ret$2;
|
|
38636
38853
|
l$ret$3: do {
|
|
38637
38854
|
if (tmp0_0 == null) {
|
|
38638
|
-
var message_1 = this.
|
|
38855
|
+
var message_1 = this.nbb_1.toString() + ' needs the Steam sessionid and there is none';
|
|
38639
38856
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
38640
38857
|
} else {
|
|
38641
38858
|
tmp$ret$2 = tmp0_0;
|
|
@@ -38648,9 +38865,9 @@ protoOf($proveCOROUTINE$).j9 = function () {
|
|
|
38648
38865
|
tmp_3 = null;
|
|
38649
38866
|
}
|
|
38650
38867
|
|
|
38651
|
-
tmp_2.
|
|
38868
|
+
tmp_2.sbb_1 = tmp_3;
|
|
38652
38869
|
this.b9_1 = 6;
|
|
38653
|
-
suspendResult = this.
|
|
38870
|
+
suspendResult = this.lbb_1.zbb_1.gbc(this.lbb_1.xbb_1.threadCount, this);
|
|
38654
38871
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38655
38872
|
return suspendResult;
|
|
38656
38873
|
}
|
|
@@ -38658,11 +38875,11 @@ protoOf($proveCOROUTINE$).j9 = function () {
|
|
|
38658
38875
|
continue $sm;
|
|
38659
38876
|
case 6:
|
|
38660
38877
|
this.b9_1 = 7;
|
|
38661
|
-
var tmp_4 = ProvenSentBudget_instance.o3c(this.
|
|
38662
|
-
var tmp1_elvis_lhs = this.
|
|
38663
|
-
var tmp_5 = tmp1_elvis_lhs == null ? this.
|
|
38664
|
-
var tmp2_safe_receiver = this.
|
|
38665
|
-
suspendResult = this.
|
|
38878
|
+
var tmp_4 = ProvenSentBudget_instance.o3c(this.ubb_1, this.lbb_1.xbb_1, this.pbb_1.length);
|
|
38879
|
+
var tmp1_elvis_lhs = this.ubb_1.e3c_1;
|
|
38880
|
+
var tmp_5 = tmp1_elvis_lhs == null ? this.lbb_1.xbb_1.maxRecvData : tmp1_elvis_lhs;
|
|
38881
|
+
var tmp2_safe_receiver = this.tbb_1;
|
|
38882
|
+
suspendResult = this.lbb_1.zbb_1.hbc(new WasmProveRequest(this.lbb_1.xbb_1.notaryUrl, this.vbb_1, this.lbb_1.xbb_1.proxyBaseUrl, this.ubb_1, this.pbb_1, tmp_4, tmp_5, this.ubb_1.f3c_1, this.lbb_1.xbb_1.maxRecvRecordsOnline, this.lbb_1.xbb_1.rootStorePem, tmp2_safe_receiver == null ? null : tmp2_safe_receiver.a3g_1, this.sbb_1), this);
|
|
38666
38883
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38667
38884
|
return suspendResult;
|
|
38668
38885
|
}
|
|
@@ -38670,19 +38887,19 @@ protoOf($proveCOROUTINE$).j9 = function () {
|
|
|
38670
38887
|
continue $sm;
|
|
38671
38888
|
case 7:
|
|
38672
38889
|
var bytes = suspendResult;
|
|
38673
|
-
this.
|
|
38890
|
+
this.rbb_1 = new ProofSubmission(this.mbb_1.m3b_1, Default_getInstance_0().wk(bytes));
|
|
38674
38891
|
this.c9_1 = 10;
|
|
38675
38892
|
this.b9_1 = 8;
|
|
38676
38893
|
continue $sm;
|
|
38677
38894
|
case 8:
|
|
38678
|
-
var tmp_6 = this.
|
|
38895
|
+
var tmp_6 = this.rbb_1;
|
|
38679
38896
|
this.c9_1 = 10;
|
|
38680
|
-
this.
|
|
38897
|
+
this.qbb_1.z1c();
|
|
38681
38898
|
return tmp_6;
|
|
38682
38899
|
case 9:
|
|
38683
38900
|
this.c9_1 = 10;
|
|
38684
38901
|
var t = this.e9_1;
|
|
38685
|
-
this.
|
|
38902
|
+
this.qbb_1.z1c();
|
|
38686
38903
|
throw t;
|
|
38687
38904
|
case 10:
|
|
38688
38905
|
throw this.e9_1;
|
|
@@ -38702,23 +38919,23 @@ function WasmNotaryProver(config, tokenProvider, module_0, adapter, mapper, cook
|
|
|
38702
38919
|
adapter = adapter === VOID ? new Cs2GameAdapter() : adapter;
|
|
38703
38920
|
mapper = mapper === VOID ? new SteamProofReadMapper(config) : mapper;
|
|
38704
38921
|
cookies = cookies === VOID ? NoSteamProofCookieSource_instance : cookies;
|
|
38705
|
-
this.
|
|
38706
|
-
this.
|
|
38707
|
-
this.
|
|
38708
|
-
this.
|
|
38709
|
-
this.
|
|
38710
|
-
this.
|
|
38711
|
-
this.
|
|
38712
|
-
this.
|
|
38713
|
-
this.
|
|
38922
|
+
this.xbb_1 = config;
|
|
38923
|
+
this.ybb_1 = tokenProvider;
|
|
38924
|
+
this.zbb_1 = module_0;
|
|
38925
|
+
this.abc_1 = adapter;
|
|
38926
|
+
this.bbc_1 = mapper;
|
|
38927
|
+
this.cbc_1 = cookies;
|
|
38928
|
+
this.dbc_1 = this.xbb_1.maxConcurrency;
|
|
38929
|
+
this.ebc_1 = 'tlsn';
|
|
38930
|
+
this.fbc_1 = Semaphore(this.dbc_1);
|
|
38714
38931
|
}
|
|
38715
38932
|
protoOf(WasmNotaryProver).w3f = function () {
|
|
38716
|
-
return this.
|
|
38933
|
+
return this.ebc_1;
|
|
38717
38934
|
};
|
|
38718
38935
|
protoOf(WasmNotaryProver).x3f = function (binding, kind, credential, $completion) {
|
|
38719
|
-
return this.
|
|
38936
|
+
return this.ibc(binding, kind, credential.p39_1, credential.o39_1, $completion);
|
|
38720
38937
|
};
|
|
38721
|
-
protoOf(WasmNotaryProver).
|
|
38938
|
+
protoOf(WasmNotaryProver).ibc = function (binding, kind, subjectSteamId, steamAccessToken, $completion) {
|
|
38722
38939
|
var tmp = new $proveCOROUTINE$(this, binding, kind, subjectSteamId, steamAccessToken, $completion);
|
|
38723
38940
|
tmp.d9_1 = Unit_instance;
|
|
38724
38941
|
tmp.e9_1 = null;
|
|
@@ -38730,35 +38947,35 @@ function WasmProverHost(assetUrl, wasmModule, notaryWebSocket, connectTarget, on
|
|
|
38730
38947
|
notaryWebSocket = notaryWebSocket === VOID ? null : notaryWebSocket;
|
|
38731
38948
|
connectTarget = connectTarget === VOID ? null : connectTarget;
|
|
38732
38949
|
onTargetResponse = onTargetResponse === VOID ? null : onTargetResponse;
|
|
38733
|
-
this.
|
|
38734
|
-
this.
|
|
38735
|
-
this.
|
|
38736
|
-
this.
|
|
38737
|
-
this.
|
|
38950
|
+
this.jbc_1 = assetUrl;
|
|
38951
|
+
this.kbc_1 = wasmModule;
|
|
38952
|
+
this.lbc_1 = notaryWebSocket;
|
|
38953
|
+
this.mbc_1 = connectTarget;
|
|
38954
|
+
this.nbc_1 = onTargetResponse;
|
|
38738
38955
|
}
|
|
38739
38956
|
function WasmProveRequest(notaryUrl, notaryToken, proxyBaseUrl, spec, steamAccessToken, maxSentData, maxRecvData, maxRecvDataOnline, maxRecvRecordsOnline, rootStorePem, steamSessionCookie, steamSessionId) {
|
|
38740
38957
|
maxRecvRecordsOnline = maxRecvRecordsOnline === VOID ? null : maxRecvRecordsOnline;
|
|
38741
38958
|
rootStorePem = rootStorePem === VOID ? null : rootStorePem;
|
|
38742
38959
|
steamSessionCookie = steamSessionCookie === VOID ? null : steamSessionCookie;
|
|
38743
38960
|
steamSessionId = steamSessionId === VOID ? null : steamSessionId;
|
|
38744
|
-
this.
|
|
38745
|
-
this.
|
|
38746
|
-
this.
|
|
38747
|
-
this.
|
|
38748
|
-
this.
|
|
38749
|
-
this.
|
|
38750
|
-
this.
|
|
38751
|
-
this.
|
|
38752
|
-
this.
|
|
38753
|
-
this.
|
|
38754
|
-
this.
|
|
38755
|
-
this.
|
|
38961
|
+
this.obc_1 = notaryUrl;
|
|
38962
|
+
this.pbc_1 = notaryToken;
|
|
38963
|
+
this.qbc_1 = proxyBaseUrl;
|
|
38964
|
+
this.rbc_1 = spec;
|
|
38965
|
+
this.sbc_1 = steamAccessToken;
|
|
38966
|
+
this.tbc_1 = maxSentData;
|
|
38967
|
+
this.ubc_1 = maxRecvData;
|
|
38968
|
+
this.vbc_1 = maxRecvDataOnline;
|
|
38969
|
+
this.wbc_1 = maxRecvRecordsOnline;
|
|
38970
|
+
this.xbc_1 = rootStorePem;
|
|
38971
|
+
this.ybc_1 = steamSessionCookie;
|
|
38972
|
+
this.zbc_1 = steamSessionId;
|
|
38756
38973
|
}
|
|
38757
38974
|
protoOf(WasmProveRequest).toString = function () {
|
|
38758
|
-
var tmp = 'WasmProveRequest(notaryUrl=' + this.
|
|
38759
|
-
var tmp_0 = 'spec=' + this.
|
|
38760
|
-
var tmp_1 = 'maxRecvDataOnline=' + this.
|
|
38761
|
-
var tmp0_safe_receiver = this.
|
|
38975
|
+
var tmp = 'WasmProveRequest(notaryUrl=' + this.obc_1 + ', notaryToken=<redacted>, proxyBaseUrl=' + this.qbc_1 + ', ';
|
|
38976
|
+
var tmp_0 = 'spec=' + this.rbc_1.toString() + ', steamAccessToken=<redacted>, maxSentData=' + this.tbc_1 + ', maxRecvData=' + this.ubc_1 + ', ';
|
|
38977
|
+
var tmp_1 = 'maxRecvDataOnline=' + this.vbc_1 + ', maxRecvRecordsOnline=' + this.wbc_1 + ', ';
|
|
38978
|
+
var tmp0_safe_receiver = this.xbc_1;
|
|
38762
38979
|
var tmp_2;
|
|
38763
38980
|
if (tmp0_safe_receiver == null) {
|
|
38764
38981
|
tmp_2 = null;
|
|
@@ -38768,7 +38985,7 @@ protoOf(WasmProveRequest).toString = function () {
|
|
|
38768
38985
|
}
|
|
38769
38986
|
var tmp_3 = 'rootStorePem=' + tmp_2 + ', ';
|
|
38770
38987
|
var tmp_4;
|
|
38771
|
-
if (this.
|
|
38988
|
+
if (this.ybc_1 == null) {
|
|
38772
38989
|
tmp_4 = null;
|
|
38773
38990
|
} else {
|
|
38774
38991
|
// Inline function 'kotlin.let' call
|
|
@@ -38776,7 +38993,7 @@ protoOf(WasmProveRequest).toString = function () {
|
|
|
38776
38993
|
}
|
|
38777
38994
|
var tmp_5 = 'steamSessionCookie=' + tmp_4 + ', ';
|
|
38778
38995
|
var tmp_6;
|
|
38779
|
-
if (this.
|
|
38996
|
+
if (this.zbc_1 == null) {
|
|
38780
38997
|
tmp_6 = null;
|
|
38781
38998
|
} else {
|
|
38782
38999
|
// Inline function 'kotlin.let' call
|
|
@@ -38785,18 +39002,18 @@ protoOf(WasmProveRequest).toString = function () {
|
|
|
38785
39002
|
return tmp + tmp_0 + tmp_1 + tmp_3 + tmp_5 + ('steamSessionId=' + tmp_6 + ')');
|
|
38786
39003
|
};
|
|
38787
39004
|
protoOf(WasmProveRequest).hashCode = function () {
|
|
38788
|
-
var result = getStringHashCode(this.
|
|
38789
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
38790
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
38791
|
-
result = imul(result, 31) + this.
|
|
38792
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
38793
|
-
result = imul(result, 31) + this.
|
|
38794
|
-
result = imul(result, 31) + this.
|
|
38795
|
-
result = imul(result, 31) + this.
|
|
38796
|
-
result = imul(result, 31) + (this.
|
|
38797
|
-
result = imul(result, 31) + (this.
|
|
38798
|
-
result = imul(result, 31) + (this.
|
|
38799
|
-
result = imul(result, 31) + (this.
|
|
39005
|
+
var result = getStringHashCode(this.obc_1);
|
|
39006
|
+
result = imul(result, 31) + getStringHashCode(this.pbc_1) | 0;
|
|
39007
|
+
result = imul(result, 31) + getStringHashCode(this.qbc_1) | 0;
|
|
39008
|
+
result = imul(result, 31) + this.rbc_1.hashCode() | 0;
|
|
39009
|
+
result = imul(result, 31) + getStringHashCode(this.sbc_1) | 0;
|
|
39010
|
+
result = imul(result, 31) + this.tbc_1 | 0;
|
|
39011
|
+
result = imul(result, 31) + this.ubc_1 | 0;
|
|
39012
|
+
result = imul(result, 31) + this.vbc_1 | 0;
|
|
39013
|
+
result = imul(result, 31) + (this.wbc_1 == null ? 0 : this.wbc_1) | 0;
|
|
39014
|
+
result = imul(result, 31) + (this.xbc_1 == null ? 0 : getStringHashCode(this.xbc_1)) | 0;
|
|
39015
|
+
result = imul(result, 31) + (this.ybc_1 == null ? 0 : getStringHashCode(this.ybc_1)) | 0;
|
|
39016
|
+
result = imul(result, 31) + (this.zbc_1 == null ? 0 : getStringHashCode(this.zbc_1)) | 0;
|
|
38800
39017
|
return result;
|
|
38801
39018
|
};
|
|
38802
39019
|
protoOf(WasmProveRequest).equals = function (other) {
|
|
@@ -38804,34 +39021,34 @@ protoOf(WasmProveRequest).equals = function (other) {
|
|
|
38804
39021
|
return true;
|
|
38805
39022
|
if (!(other instanceof WasmProveRequest))
|
|
38806
39023
|
return false;
|
|
38807
|
-
if (!(this.
|
|
39024
|
+
if (!(this.obc_1 === other.obc_1))
|
|
38808
39025
|
return false;
|
|
38809
|
-
if (!(this.
|
|
39026
|
+
if (!(this.pbc_1 === other.pbc_1))
|
|
38810
39027
|
return false;
|
|
38811
|
-
if (!(this.
|
|
39028
|
+
if (!(this.qbc_1 === other.qbc_1))
|
|
38812
39029
|
return false;
|
|
38813
|
-
if (!this.
|
|
39030
|
+
if (!this.rbc_1.equals(other.rbc_1))
|
|
38814
39031
|
return false;
|
|
38815
|
-
if (!(this.
|
|
39032
|
+
if (!(this.sbc_1 === other.sbc_1))
|
|
38816
39033
|
return false;
|
|
38817
|
-
if (!(this.
|
|
39034
|
+
if (!(this.tbc_1 === other.tbc_1))
|
|
38818
39035
|
return false;
|
|
38819
|
-
if (!(this.
|
|
39036
|
+
if (!(this.ubc_1 === other.ubc_1))
|
|
38820
39037
|
return false;
|
|
38821
|
-
if (!(this.
|
|
39038
|
+
if (!(this.vbc_1 === other.vbc_1))
|
|
38822
39039
|
return false;
|
|
38823
|
-
if (!(this.
|
|
39040
|
+
if (!(this.wbc_1 == other.wbc_1))
|
|
38824
39041
|
return false;
|
|
38825
|
-
if (!(this.
|
|
39042
|
+
if (!(this.xbc_1 == other.xbc_1))
|
|
38826
39043
|
return false;
|
|
38827
|
-
if (!(this.
|
|
39044
|
+
if (!(this.ybc_1 == other.ybc_1))
|
|
38828
39045
|
return false;
|
|
38829
|
-
if (!(this.
|
|
39046
|
+
if (!(this.zbc_1 == other.zbc_1))
|
|
38830
39047
|
return false;
|
|
38831
39048
|
return true;
|
|
38832
39049
|
};
|
|
38833
39050
|
function assetUrl($this, path) {
|
|
38834
|
-
var tmp0_safe_receiver = $this.
|
|
39051
|
+
var tmp0_safe_receiver = $this.bbd_1.jbc_1;
|
|
38835
39052
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(path);
|
|
38836
39053
|
return tmp1_elvis_lhs == null ? extensionAssetUrl(path) : tmp1_elvis_lhs;
|
|
38837
39054
|
}
|
|
@@ -38842,8 +39059,8 @@ function connectNotary($this, request, $completion) {
|
|
|
38842
39059
|
return tmp.j9();
|
|
38843
39060
|
}
|
|
38844
39061
|
function connectTarget($this, request) {
|
|
38845
|
-
var serverName = request.
|
|
38846
|
-
var hosted = $this.
|
|
39062
|
+
var serverName = request.rbc_1.u3b_1;
|
|
39063
|
+
var hosted = $this.bbd_1.mbc_1;
|
|
38847
39064
|
var tmp;
|
|
38848
39065
|
if (!(hosted == null)) {
|
|
38849
39066
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -38851,7 +39068,7 @@ function connectTarget($this, request) {
|
|
|
38851
39068
|
tmp = hosted(serverName, 443);
|
|
38852
39069
|
} else {
|
|
38853
39070
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
38854
|
-
tmp = $this.
|
|
39071
|
+
tmp = $this.cbd_1.connectProxy(request.qbc_1, serverName, 443);
|
|
38855
39072
|
}
|
|
38856
39073
|
return tmp;
|
|
38857
39074
|
}
|
|
@@ -38862,7 +39079,7 @@ function closeQuietly($this, channel, $completion) {
|
|
|
38862
39079
|
return tmp.j9();
|
|
38863
39080
|
}
|
|
38864
39081
|
function progressCallback($this) {
|
|
38865
|
-
var tmp0_safe_receiver = $this.
|
|
39082
|
+
var tmp0_safe_receiver = $this.abd_1;
|
|
38866
39083
|
var tmp;
|
|
38867
39084
|
if (tmp0_safe_receiver == null) {
|
|
38868
39085
|
tmp = null;
|
|
@@ -38901,8 +39118,8 @@ function BundledWasmProverModule$progressCallback$lambda(this$0, $sink) {
|
|
|
38901
39118
|
}
|
|
38902
39119
|
function $initializeCOROUTINE$(_this__u8e3s4, threadCount, resultContinuation) {
|
|
38903
39120
|
CoroutineImpl.call(this, resultContinuation);
|
|
38904
|
-
this.
|
|
38905
|
-
this.
|
|
39121
|
+
this.jbe_1 = _this__u8e3s4;
|
|
39122
|
+
this.kbe_1 = threadCount;
|
|
38906
39123
|
}
|
|
38907
39124
|
protoOf($initializeCOROUTINE$).j9 = function () {
|
|
38908
39125
|
var suspendResult = this.d9_1;
|
|
@@ -38912,9 +39129,9 @@ protoOf($initializeCOROUTINE$).j9 = function () {
|
|
|
38912
39129
|
switch (tmp) {
|
|
38913
39130
|
case 0:
|
|
38914
39131
|
this.c9_1 = 7;
|
|
38915
|
-
if (this.
|
|
39132
|
+
if (this.jbe_1.dbd_1 == null) {
|
|
38916
39133
|
this.b9_1 = 1;
|
|
38917
|
-
suspendResult = await_0(importModule(assetUrl(this.
|
|
39134
|
+
suspendResult = await_0(importModule(assetUrl(this.jbe_1, 'pkg/client_wasm.js')), this);
|
|
38918
39135
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38919
39136
|
return suspendResult;
|
|
38920
39137
|
}
|
|
@@ -38925,9 +39142,9 @@ protoOf($initializeCOROUTINE$).j9 = function () {
|
|
|
38925
39142
|
}
|
|
38926
39143
|
|
|
38927
39144
|
case 1:
|
|
38928
|
-
this.
|
|
39145
|
+
this.lbe_1 = suspendResult;
|
|
38929
39146
|
this.b9_1 = 2;
|
|
38930
|
-
suspendResult = await_0(importModule(assetUrl(this.
|
|
39147
|
+
suspendResult = await_0(importModule(assetUrl(this.jbe_1, 'transport/dist/index.js')), this);
|
|
38931
39148
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38932
39149
|
return suspendResult;
|
|
38933
39150
|
}
|
|
@@ -38935,10 +39152,10 @@ protoOf($initializeCOROUTINE$).j9 = function () {
|
|
|
38935
39152
|
continue $sm;
|
|
38936
39153
|
case 2:
|
|
38937
39154
|
var ARGUMENT = suspendResult;
|
|
38938
|
-
this.
|
|
38939
|
-
var tmp0_safe_receiver = this.
|
|
39155
|
+
this.jbe_1.cbd_1 = ARGUMENT;
|
|
39156
|
+
var tmp0_safe_receiver = this.jbe_1.bbd_1.kbc_1;
|
|
38940
39157
|
if (tmp0_safe_receiver == null) {
|
|
38941
|
-
this.
|
|
39158
|
+
this.mbe_1 = null;
|
|
38942
39159
|
this.b9_1 = 4;
|
|
38943
39160
|
continue $sm;
|
|
38944
39161
|
} else {
|
|
@@ -38951,17 +39168,17 @@ protoOf($initializeCOROUTINE$).j9 = function () {
|
|
|
38951
39168
|
}
|
|
38952
39169
|
|
|
38953
39170
|
case 3:
|
|
38954
|
-
this.
|
|
39171
|
+
this.mbe_1 = suspendResult;
|
|
38955
39172
|
this.b9_1 = 4;
|
|
38956
39173
|
continue $sm;
|
|
38957
39174
|
case 4:
|
|
38958
|
-
var compiled = this.
|
|
38959
|
-
this.
|
|
39175
|
+
var compiled = this.mbe_1;
|
|
39176
|
+
this.jbe_1.dbd_1 = this.jbe_1.cbd_1.createProver(compiled == null ? this.lbe_1 : withCompiledModule(this.lbe_1, compiled));
|
|
38960
39177
|
this.b9_1 = 5;
|
|
38961
39178
|
continue $sm;
|
|
38962
39179
|
case 5:
|
|
38963
39180
|
this.b9_1 = 6;
|
|
38964
|
-
var this_0 = this.
|
|
39181
|
+
var this_0 = this.jbe_1.dbd_1.initialize(null, this.kbe_1);
|
|
38965
39182
|
suspendResult = await_0(this_0, this);
|
|
38966
39183
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38967
39184
|
return suspendResult;
|
|
@@ -38986,8 +39203,8 @@ protoOf($initializeCOROUTINE$).j9 = function () {
|
|
|
38986
39203
|
};
|
|
38987
39204
|
function $proveCOROUTINE$_0(_this__u8e3s4, request, resultContinuation) {
|
|
38988
39205
|
CoroutineImpl.call(this, resultContinuation);
|
|
38989
|
-
this.
|
|
38990
|
-
this.
|
|
39206
|
+
this.vbe_1 = _this__u8e3s4;
|
|
39207
|
+
this.wbe_1 = request;
|
|
38991
39208
|
}
|
|
38992
39209
|
protoOf($proveCOROUTINE$_0).j9 = function () {
|
|
38993
39210
|
var suspendResult = this.d9_1;
|
|
@@ -38997,15 +39214,15 @@ protoOf($proveCOROUTINE$_0).j9 = function () {
|
|
|
38997
39214
|
switch (tmp) {
|
|
38998
39215
|
case 0:
|
|
38999
39216
|
this.c9_1 = 16;
|
|
39000
|
-
this.
|
|
39001
|
-
var tmp0_safe_receiver = this.
|
|
39217
|
+
this.bbf_1 = this.wbe_1.rbc_1;
|
|
39218
|
+
var tmp0_safe_receiver = this.vbe_1.abd_1;
|
|
39002
39219
|
if (tmp0_safe_receiver == null)
|
|
39003
39220
|
null;
|
|
39004
39221
|
else {
|
|
39005
|
-
var this_0 = this.
|
|
39222
|
+
var this_0 = this.vbe_1;
|
|
39006
39223
|
var tmp_0;
|
|
39007
39224
|
try {
|
|
39008
|
-
tmp0_safe_receiver(issuanceLine(this.
|
|
39225
|
+
tmp0_safe_receiver(issuanceLine(this.wbe_1, !(this_0.bbd_1.mbc_1 == null)));
|
|
39009
39226
|
tmp_0 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
39010
39227
|
} catch ($p) {
|
|
39011
39228
|
var tmp_1;
|
|
@@ -39022,7 +39239,7 @@ protoOf($proveCOROUTINE$_0).j9 = function () {
|
|
|
39022
39239
|
|
|
39023
39240
|
this.c9_1 = 3;
|
|
39024
39241
|
this.b9_1 = 1;
|
|
39025
|
-
suspendResult = connectNotary(this.
|
|
39242
|
+
suspendResult = connectNotary(this.vbe_1, this.wbe_1, this);
|
|
39026
39243
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39027
39244
|
return suspendResult;
|
|
39028
39245
|
}
|
|
@@ -39038,7 +39255,7 @@ protoOf($proveCOROUTINE$_0).j9 = function () {
|
|
|
39038
39255
|
|
|
39039
39256
|
continue $sm;
|
|
39040
39257
|
case 2:
|
|
39041
|
-
this.
|
|
39258
|
+
this.gbf_1 = suspendResult;
|
|
39042
39259
|
this.c9_1 = 16;
|
|
39043
39260
|
this.b9_1 = 4;
|
|
39044
39261
|
continue $sm;
|
|
@@ -39048,29 +39265,29 @@ protoOf($proveCOROUTINE$_0).j9 = function () {
|
|
|
39048
39265
|
if (tmp_2 instanceof Error) {
|
|
39049
39266
|
var cause = this.e9_1;
|
|
39050
39267
|
var tmp_3 = this;
|
|
39051
|
-
throw IllegalStateException_init_$Create$_0('notary handshake failed for ' + this.
|
|
39268
|
+
throw IllegalStateException_init_$Create$_0('notary handshake failed for ' + this.wbe_1.obc_1 + ' \u2014 the cause is not observable from a ' + 'browser (rejected credential, notary unavailable, or blocked upgrade all look alike)', cause);
|
|
39052
39269
|
} else {
|
|
39053
39270
|
throw this.e9_1;
|
|
39054
39271
|
}
|
|
39055
39272
|
|
|
39056
39273
|
case 4:
|
|
39057
39274
|
this.c9_1 = 16;
|
|
39058
|
-
this.
|
|
39059
|
-
this.
|
|
39275
|
+
this.ybe_1 = this.gbf_1;
|
|
39276
|
+
this.dbf_1 = Unit_instance;
|
|
39060
39277
|
this.b9_1 = 5;
|
|
39061
39278
|
continue $sm;
|
|
39062
39279
|
case 5:
|
|
39063
39280
|
this.c9_1 = 14;
|
|
39064
39281
|
var tmp_4 = this;
|
|
39065
|
-
var tmp1_onTrace = this.
|
|
39066
|
-
tmp_4.
|
|
39067
|
-
this.
|
|
39282
|
+
var tmp1_onTrace = this.vbe_1.abd_1;
|
|
39283
|
+
tmp_4.abf_1 = lazyTargetChannel(BundledWasmProverModule$prove$lambda(this.vbe_1, this.wbe_1), tmp1_onTrace);
|
|
39284
|
+
this.fbf_1 = Unit_instance;
|
|
39068
39285
|
this.b9_1 = 6;
|
|
39069
39286
|
continue $sm;
|
|
39070
39287
|
case 6:
|
|
39071
39288
|
this.c9_1 = 12;
|
|
39072
39289
|
this.b9_1 = 7;
|
|
39073
|
-
var this_1 = this.
|
|
39290
|
+
var this_1 = this.vbe_1.dbd_1.prove(this.ybe_1, this.abf_1, issuanceConfig(this.wbe_1), httpRequest(this.wbe_1), progressCallback(this.vbe_1));
|
|
39074
39291
|
suspendResult = await_0(this_1, this);
|
|
39075
39292
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39076
39293
|
return suspendResult;
|
|
@@ -39079,7 +39296,7 @@ protoOf($proveCOROUTINE$_0).j9 = function () {
|
|
|
39079
39296
|
continue $sm;
|
|
39080
39297
|
case 7:
|
|
39081
39298
|
var issued = suspendResult;
|
|
39082
|
-
var tmp2_safe_receiver = this.
|
|
39299
|
+
var tmp2_safe_receiver = this.vbe_1.bbd_1.nbc_1;
|
|
39083
39300
|
if (tmp2_safe_receiver == null)
|
|
39084
39301
|
null;
|
|
39085
39302
|
else {
|
|
@@ -39093,61 +39310,61 @@ protoOf($proveCOROUTINE$_0).j9 = function () {
|
|
|
39093
39310
|
}
|
|
39094
39311
|
}
|
|
39095
39312
|
|
|
39096
|
-
this.
|
|
39313
|
+
this.fbf_1 = issued;
|
|
39097
39314
|
this.b9_1 = 8;
|
|
39098
39315
|
continue $sm;
|
|
39099
39316
|
case 8:
|
|
39100
|
-
this.
|
|
39317
|
+
this.ebf_1 = this.fbf_1;
|
|
39101
39318
|
this.c9_1 = 14;
|
|
39102
39319
|
this.b9_1 = 9;
|
|
39103
|
-
suspendResult = closeQuietly(this.
|
|
39320
|
+
suspendResult = closeQuietly(this.vbe_1, this.abf_1, this);
|
|
39104
39321
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39105
39322
|
return suspendResult;
|
|
39106
39323
|
}
|
|
39107
39324
|
|
|
39108
39325
|
continue $sm;
|
|
39109
39326
|
case 9:
|
|
39110
|
-
this.
|
|
39327
|
+
this.dbf_1 = this.ebf_1;
|
|
39111
39328
|
this.c9_1 = 16;
|
|
39112
39329
|
this.b9_1 = 10;
|
|
39113
39330
|
continue $sm;
|
|
39114
39331
|
case 10:
|
|
39115
|
-
this.
|
|
39332
|
+
this.cbf_1 = this.dbf_1;
|
|
39116
39333
|
this.c9_1 = 16;
|
|
39117
39334
|
this.b9_1 = 11;
|
|
39118
|
-
suspendResult = closeQuietly(this.
|
|
39335
|
+
suspendResult = closeQuietly(this.vbe_1, this.ybe_1, this);
|
|
39119
39336
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39120
39337
|
return suspendResult;
|
|
39121
39338
|
}
|
|
39122
39339
|
|
|
39123
39340
|
continue $sm;
|
|
39124
39341
|
case 11:
|
|
39125
|
-
var out = this.
|
|
39126
|
-
return asByteArray(this.
|
|
39342
|
+
var out = this.cbf_1;
|
|
39343
|
+
return asByteArray(this.vbe_1.dbd_1.present(out.attestation, out.secrets, revealPolicy(this.bbf_1)));
|
|
39127
39344
|
case 12:
|
|
39128
39345
|
this.c9_1 = 14;
|
|
39129
|
-
this.
|
|
39346
|
+
this.zbe_1 = this.e9_1;
|
|
39130
39347
|
this.b9_1 = 13;
|
|
39131
|
-
suspendResult = closeQuietly(this.
|
|
39348
|
+
suspendResult = closeQuietly(this.vbe_1, this.abf_1, this);
|
|
39132
39349
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39133
39350
|
return suspendResult;
|
|
39134
39351
|
}
|
|
39135
39352
|
|
|
39136
39353
|
continue $sm;
|
|
39137
39354
|
case 13:
|
|
39138
|
-
throw this.
|
|
39355
|
+
throw this.zbe_1;
|
|
39139
39356
|
case 14:
|
|
39140
39357
|
this.c9_1 = 16;
|
|
39141
|
-
this.
|
|
39358
|
+
this.xbe_1 = this.e9_1;
|
|
39142
39359
|
this.b9_1 = 15;
|
|
39143
|
-
suspendResult = closeQuietly(this.
|
|
39360
|
+
suspendResult = closeQuietly(this.vbe_1, this.ybe_1, this);
|
|
39144
39361
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39145
39362
|
return suspendResult;
|
|
39146
39363
|
}
|
|
39147
39364
|
|
|
39148
39365
|
continue $sm;
|
|
39149
39366
|
case 15:
|
|
39150
|
-
throw this.
|
|
39367
|
+
throw this.xbe_1;
|
|
39151
39368
|
case 16:
|
|
39152
39369
|
throw this.e9_1;
|
|
39153
39370
|
}
|
|
@@ -39164,8 +39381,8 @@ protoOf($proveCOROUTINE$_0).j9 = function () {
|
|
|
39164
39381
|
};
|
|
39165
39382
|
function $connectNotaryCOROUTINE$(_this__u8e3s4, request, resultContinuation) {
|
|
39166
39383
|
CoroutineImpl.call(this, resultContinuation);
|
|
39167
|
-
this.
|
|
39168
|
-
this.
|
|
39384
|
+
this.mbd_1 = _this__u8e3s4;
|
|
39385
|
+
this.nbd_1 = request;
|
|
39169
39386
|
}
|
|
39170
39387
|
protoOf($connectNotaryCOROUTINE$).j9 = function () {
|
|
39171
39388
|
var suspendResult = this.d9_1;
|
|
@@ -39175,9 +39392,9 @@ protoOf($connectNotaryCOROUTINE$).j9 = function () {
|
|
|
39175
39392
|
switch (tmp) {
|
|
39176
39393
|
case 0:
|
|
39177
39394
|
this.c9_1 = 3;
|
|
39178
|
-
var tmp0_safe_receiver = this.
|
|
39395
|
+
var tmp0_safe_receiver = this.mbd_1.bbd_1.lbc_1;
|
|
39179
39396
|
if (tmp0_safe_receiver == null) {
|
|
39180
|
-
this.
|
|
39397
|
+
this.obd_1 = null;
|
|
39181
39398
|
this.b9_1 = 2;
|
|
39182
39399
|
continue $sm;
|
|
39183
39400
|
} else {
|
|
@@ -39190,14 +39407,14 @@ protoOf($connectNotaryCOROUTINE$).j9 = function () {
|
|
|
39190
39407
|
}
|
|
39191
39408
|
|
|
39192
39409
|
case 1:
|
|
39193
|
-
this.
|
|
39410
|
+
this.obd_1 = suspendResult;
|
|
39194
39411
|
this.b9_1 = 2;
|
|
39195
39412
|
continue $sm;
|
|
39196
39413
|
case 2:
|
|
39197
|
-
var tmp1_elvis_lhs = this.
|
|
39414
|
+
var tmp1_elvis_lhs = this.obd_1;
|
|
39198
39415
|
var tmp_0;
|
|
39199
39416
|
if (tmp1_elvis_lhs == null) {
|
|
39200
|
-
return this.
|
|
39417
|
+
return this.mbd_1.cbd_1.connectNotary(this.nbd_1.obc_1, this.nbd_1.pbc_1);
|
|
39201
39418
|
} else {
|
|
39202
39419
|
tmp_0 = tmp1_elvis_lhs;
|
|
39203
39420
|
}
|
|
@@ -39205,7 +39422,7 @@ protoOf($connectNotaryCOROUTINE$).j9 = function () {
|
|
|
39205
39422
|
var webSocket = tmp_0;
|
|
39206
39423
|
var options = {};
|
|
39207
39424
|
options.WebSocketImpl = webSocket;
|
|
39208
|
-
return this.
|
|
39425
|
+
return this.mbd_1.cbd_1.connectNotary(this.nbd_1.obc_1, this.nbd_1.pbc_1, options);
|
|
39209
39426
|
case 3:
|
|
39210
39427
|
throw this.e9_1;
|
|
39211
39428
|
}
|
|
@@ -39222,8 +39439,8 @@ protoOf($connectNotaryCOROUTINE$).j9 = function () {
|
|
|
39222
39439
|
};
|
|
39223
39440
|
function $closeQuietlyCOROUTINE$(_this__u8e3s4, channel, resultContinuation) {
|
|
39224
39441
|
CoroutineImpl.call(this, resultContinuation);
|
|
39225
|
-
this.
|
|
39226
|
-
this.
|
|
39442
|
+
this.xbd_1 = _this__u8e3s4;
|
|
39443
|
+
this.ybd_1 = channel;
|
|
39227
39444
|
}
|
|
39228
39445
|
protoOf($closeQuietlyCOROUTINE$).j9 = function () {
|
|
39229
39446
|
var suspendResult = this.d9_1;
|
|
@@ -39233,11 +39450,11 @@ protoOf($closeQuietlyCOROUTINE$).j9 = function () {
|
|
|
39233
39450
|
switch (tmp) {
|
|
39234
39451
|
case 0:
|
|
39235
39452
|
this.c9_1 = 3;
|
|
39236
|
-
this.
|
|
39453
|
+
this.xbd_1;
|
|
39237
39454
|
this.c9_1 = 2;
|
|
39238
|
-
this.
|
|
39455
|
+
this.abe_1 = Companion_instance;
|
|
39239
39456
|
this.b9_1 = 1;
|
|
39240
|
-
var this_0 = this.
|
|
39457
|
+
var this_0 = this.ybd_1.close();
|
|
39241
39458
|
suspendResult = await_0(this_0, this);
|
|
39242
39459
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39243
39460
|
return suspendResult;
|
|
@@ -39247,8 +39464,8 @@ protoOf($closeQuietlyCOROUTINE$).j9 = function () {
|
|
|
39247
39464
|
case 1:
|
|
39248
39465
|
var tmp2 = suspendResult;
|
|
39249
39466
|
var tmp_0 = this;
|
|
39250
|
-
this.
|
|
39251
|
-
tmp_0.
|
|
39467
|
+
this.abe_1;
|
|
39468
|
+
tmp_0.zbd_1 = _Result___init__impl__xyqfz8(tmp2);
|
|
39252
39469
|
this.c9_1 = 3;
|
|
39253
39470
|
this.b9_1 = 4;
|
|
39254
39471
|
continue $sm;
|
|
@@ -39258,7 +39475,7 @@ protoOf($closeQuietlyCOROUTINE$).j9 = function () {
|
|
|
39258
39475
|
if (tmp_1 instanceof Error) {
|
|
39259
39476
|
var e = this.e9_1;
|
|
39260
39477
|
var tmp_2 = this;
|
|
39261
|
-
tmp_2.
|
|
39478
|
+
tmp_2.zbd_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
39262
39479
|
this.b9_1 = 4;
|
|
39263
39480
|
continue $sm;
|
|
39264
39481
|
} else {
|
|
@@ -39285,18 +39502,18 @@ protoOf($closeQuietlyCOROUTINE$).j9 = function () {
|
|
|
39285
39502
|
function BundledWasmProverModule(onProgress, host) {
|
|
39286
39503
|
onProgress = onProgress === VOID ? null : onProgress;
|
|
39287
39504
|
host = host === VOID ? new WasmProverHost() : host;
|
|
39288
|
-
this.
|
|
39289
|
-
this.
|
|
39290
|
-
this.
|
|
39291
|
-
this.
|
|
39505
|
+
this.abd_1 = onProgress;
|
|
39506
|
+
this.bbd_1 = host;
|
|
39507
|
+
this.cbd_1 = null;
|
|
39508
|
+
this.dbd_1 = null;
|
|
39292
39509
|
}
|
|
39293
|
-
protoOf(BundledWasmProverModule).
|
|
39510
|
+
protoOf(BundledWasmProverModule).gbc = function (threadCount, $completion) {
|
|
39294
39511
|
var tmp = new $initializeCOROUTINE$(this, threadCount, $completion);
|
|
39295
39512
|
tmp.d9_1 = Unit_instance;
|
|
39296
39513
|
tmp.e9_1 = null;
|
|
39297
39514
|
return tmp.j9();
|
|
39298
39515
|
};
|
|
39299
|
-
protoOf(BundledWasmProverModule).
|
|
39516
|
+
protoOf(BundledWasmProverModule).hbc = function (request, $completion) {
|
|
39300
39517
|
var tmp = new $proveCOROUTINE$_0(this, request, $completion);
|
|
39301
39518
|
tmp.d9_1 = Unit_instance;
|
|
39302
39519
|
tmp.e9_1 = null;
|
|
@@ -39320,21 +39537,21 @@ function asByteArray(bytes) {
|
|
|
39320
39537
|
}
|
|
39321
39538
|
function issuanceConfig(request) {
|
|
39322
39539
|
var issuance = {};
|
|
39323
|
-
issuance.serverName = request.
|
|
39324
|
-
issuance.maxSentData = request.
|
|
39325
|
-
issuance.maxRecvData = request.
|
|
39326
|
-
var tmp0 = request.
|
|
39540
|
+
issuance.serverName = request.rbc_1.u3b_1;
|
|
39541
|
+
issuance.maxSentData = request.tbc_1;
|
|
39542
|
+
issuance.maxRecvData = request.ubc_1;
|
|
39543
|
+
var tmp0 = request.vbc_1;
|
|
39327
39544
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
39328
|
-
var b = request.
|
|
39545
|
+
var b = request.ubc_1;
|
|
39329
39546
|
issuance.maxRecvDataOnline = Math.min(tmp0, b);
|
|
39330
|
-
var tmp0_safe_receiver = request.
|
|
39547
|
+
var tmp0_safe_receiver = request.wbc_1;
|
|
39331
39548
|
if (tmp0_safe_receiver == null)
|
|
39332
39549
|
null;
|
|
39333
39550
|
else {
|
|
39334
39551
|
// Inline function 'kotlin.let' call
|
|
39335
39552
|
issuance.maxRecvRecordsOnline = tmp0_safe_receiver;
|
|
39336
39553
|
}
|
|
39337
|
-
var tmp1_safe_receiver = request.
|
|
39554
|
+
var tmp1_safe_receiver = request.xbc_1;
|
|
39338
39555
|
if (tmp1_safe_receiver == null)
|
|
39339
39556
|
null;
|
|
39340
39557
|
else {
|
|
@@ -39346,10 +39563,10 @@ function issuanceConfig(request) {
|
|
|
39346
39563
|
return issuance;
|
|
39347
39564
|
}
|
|
39348
39565
|
function httpRequest(request) {
|
|
39349
|
-
var spec = request.
|
|
39566
|
+
var spec = request.rbc_1;
|
|
39350
39567
|
var httpRequest = {};
|
|
39351
39568
|
httpRequest.method = spec.v3b_1;
|
|
39352
|
-
httpRequest.uri = replace(spec.w3b_1, '{token}', request.
|
|
39569
|
+
httpRequest.uri = replace(spec.w3b_1, '{token}', request.sbc_1);
|
|
39353
39570
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
39354
39571
|
if (!spec.b3c_1.r()) {
|
|
39355
39572
|
var headers = [];
|
|
@@ -39385,14 +39602,14 @@ function httpRequest(request) {
|
|
|
39385
39602
|
}
|
|
39386
39603
|
function fillCredentials(_this__u8e3s4, request) {
|
|
39387
39604
|
var filled = _this__u8e3s4;
|
|
39388
|
-
var tmp0_safe_receiver = request.
|
|
39605
|
+
var tmp0_safe_receiver = request.ybc_1;
|
|
39389
39606
|
if (tmp0_safe_receiver == null)
|
|
39390
39607
|
null;
|
|
39391
39608
|
else {
|
|
39392
39609
|
// Inline function 'kotlin.let' call
|
|
39393
39610
|
filled = replace(filled, '{cookie}', tmp0_safe_receiver);
|
|
39394
39611
|
}
|
|
39395
|
-
var tmp1_safe_receiver = request.
|
|
39612
|
+
var tmp1_safe_receiver = request.zbc_1;
|
|
39396
39613
|
if (tmp1_safe_receiver == null)
|
|
39397
39614
|
null;
|
|
39398
39615
|
else {
|
|
@@ -39484,13 +39701,13 @@ function issuanceLine(request, hostTarget) {
|
|
|
39484
39701
|
// Inline function 'kotlin.text.buildString' call
|
|
39485
39702
|
// Inline function 'kotlin.apply' call
|
|
39486
39703
|
var this_0 = StringBuilder_init_$Create$();
|
|
39487
|
-
this_0.q('issuance serverName=').q(request.
|
|
39704
|
+
this_0.q('issuance serverName=').q(request.rbc_1.u3b_1);
|
|
39488
39705
|
if (hostTarget)
|
|
39489
39706
|
this_0.q(' target=host');
|
|
39490
39707
|
else
|
|
39491
|
-
this_0.q(' proxy=').q(request.
|
|
39708
|
+
this_0.q(' proxy=').q(request.qbc_1);
|
|
39492
39709
|
var tmp = this_0.q(' rootStore=');
|
|
39493
|
-
var tmp0_safe_receiver = request.
|
|
39710
|
+
var tmp0_safe_receiver = request.xbc_1;
|
|
39494
39711
|
var tmp_0;
|
|
39495
39712
|
if (tmp0_safe_receiver == null) {
|
|
39496
39713
|
tmp_0 = null;
|
|
@@ -39500,27 +39717,27 @@ function issuanceLine(request, hostTarget) {
|
|
|
39500
39717
|
}
|
|
39501
39718
|
var tmp1_elvis_lhs = tmp_0;
|
|
39502
39719
|
tmp.q(tmp1_elvis_lhs == null ? 'mozilla' : tmp1_elvis_lhs);
|
|
39503
|
-
this_0.q(' maxSent=').sc(request.
|
|
39504
|
-
this_0.q(' maxRecv=').sc(request.
|
|
39505
|
-
this_0.q(' maxRecvOnline=').sc(request.
|
|
39720
|
+
this_0.q(' maxSent=').sc(request.tbc_1);
|
|
39721
|
+
this_0.q(' maxRecv=').sc(request.ubc_1);
|
|
39722
|
+
this_0.q(' maxRecvOnline=').sc(request.vbc_1);
|
|
39506
39723
|
var tmp_1 = this_0.q(' maxRecvRecordsOnline=');
|
|
39507
|
-
var tmp2_elvis_lhs = request.
|
|
39724
|
+
var tmp2_elvis_lhs = request.wbc_1;
|
|
39508
39725
|
tmp_1.w(tmp2_elvis_lhs == null ? 'default' : tmp2_elvis_lhs);
|
|
39509
|
-
this_0.q(' tokenSlot=').q(request.
|
|
39510
|
-
if (request.
|
|
39511
|
-
this_0.q(' cookieSlot=').q(!(request.
|
|
39726
|
+
this_0.q(' tokenSlot=').q(request.rbc_1.k3c() ? 'present' : 'MISSING');
|
|
39727
|
+
if (request.rbc_1.g3c()) {
|
|
39728
|
+
this_0.q(' cookieSlot=').q(!(request.ybc_1 == null) ? 'filled' : 'MISSING');
|
|
39512
39729
|
}
|
|
39513
|
-
if (request.
|
|
39514
|
-
this_0.q(' sessionIdSlot=').q(!(request.
|
|
39730
|
+
if (request.rbc_1.j3c()) {
|
|
39731
|
+
this_0.q(' sessionIdSlot=').q(!(request.zbc_1 == null) ? 'filled' : 'MISSING');
|
|
39515
39732
|
}
|
|
39516
|
-
var tmp3_safe_receiver = request.
|
|
39733
|
+
var tmp3_safe_receiver = request.rbc_1.c3c_1;
|
|
39517
39734
|
if (tmp3_safe_receiver == null)
|
|
39518
39735
|
null;
|
|
39519
39736
|
else {
|
|
39520
39737
|
// Inline function 'kotlin.let' call
|
|
39521
39738
|
this_0.q(' bodyBytes=').sc(tmp3_safe_receiver.length);
|
|
39522
39739
|
}
|
|
39523
|
-
this_0.q(' ').q(request.
|
|
39740
|
+
this_0.q(' ').q(request.rbc_1.v3b_1).q(' ').q(request.rbc_1.w3b_1);
|
|
39524
39741
|
return this_0.toString();
|
|
39525
39742
|
}
|
|
39526
39743
|
function progressLine(event) {
|
|
@@ -39746,8 +39963,8 @@ function withCompiledModule$lambda($compiled, $init) {
|
|
|
39746
39963
|
};
|
|
39747
39964
|
}
|
|
39748
39965
|
function Companion_36() {
|
|
39749
|
-
this.
|
|
39750
|
-
this.
|
|
39966
|
+
this.hbf_1 = 'steamLoginSecure';
|
|
39967
|
+
this.ibf_1 = 'sessionid';
|
|
39751
39968
|
}
|
|
39752
39969
|
var Companion_instance_40;
|
|
39753
39970
|
function Companion_getInstance_48() {
|
|
@@ -39755,7 +39972,7 @@ function Companion_getInstance_48() {
|
|
|
39755
39972
|
}
|
|
39756
39973
|
function $currentSessionCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
39757
39974
|
CoroutineImpl.call(this, resultContinuation);
|
|
39758
|
-
this.
|
|
39975
|
+
this.rbf_1 = _this__u8e3s4;
|
|
39759
39976
|
}
|
|
39760
39977
|
protoOf($currentSessionCOROUTINE$).j9 = function () {
|
|
39761
39978
|
var suspendResult = this.d9_1;
|
|
@@ -39766,7 +39983,7 @@ protoOf($currentSessionCOROUTINE$).j9 = function () {
|
|
|
39766
39983
|
case 0:
|
|
39767
39984
|
this.c9_1 = 3;
|
|
39768
39985
|
this.b9_1 = 1;
|
|
39769
|
-
suspendResult = webExtCookieValue(this.
|
|
39986
|
+
suspendResult = webExtCookieValue(this.rbf_1.tbf_1, 'steamLoginSecure', this);
|
|
39770
39987
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39771
39988
|
return suspendResult;
|
|
39772
39989
|
}
|
|
@@ -39782,9 +39999,9 @@ protoOf($currentSessionCOROUTINE$).j9 = function () {
|
|
|
39782
39999
|
tmp_1 = tmp0_elvis_lhs;
|
|
39783
40000
|
}
|
|
39784
40001
|
|
|
39785
|
-
tmp_0.
|
|
40002
|
+
tmp_0.sbf_1 = tmp_1;
|
|
39786
40003
|
this.b9_1 = 2;
|
|
39787
|
-
suspendResult = webExtCookieValue(this.
|
|
40004
|
+
suspendResult = webExtCookieValue(this.rbf_1.tbf_1, 'sessionid', this);
|
|
39788
40005
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39789
40006
|
return suspendResult;
|
|
39790
40007
|
}
|
|
@@ -39793,7 +40010,7 @@ protoOf($currentSessionCOROUTINE$).j9 = function () {
|
|
|
39793
40010
|
case 2:
|
|
39794
40011
|
var sessionId = suspendResult;
|
|
39795
40012
|
var this_0 = StringBuilder_init_$Create$();
|
|
39796
|
-
this_0.q('steamLoginSecure').s(_Char___init__impl__6a9atx(61)).q(this.
|
|
40013
|
+
this_0.q('steamLoginSecure').s(_Char___init__impl__6a9atx(61)).q(this.sbf_1);
|
|
39797
40014
|
if (sessionId == null)
|
|
39798
40015
|
null;
|
|
39799
40016
|
else {
|
|
@@ -39818,7 +40035,7 @@ protoOf($currentSessionCOROUTINE$).j9 = function () {
|
|
|
39818
40035
|
};
|
|
39819
40036
|
function WebExtSteamProofCookieSource(communityBaseUrl) {
|
|
39820
40037
|
communityBaseUrl = communityBaseUrl === VOID ? 'https://steamcommunity.com' : communityBaseUrl;
|
|
39821
|
-
this.
|
|
40038
|
+
this.tbf_1 = communityBaseUrl;
|
|
39822
40039
|
}
|
|
39823
40040
|
protoOf(WebExtSteamProofCookieSource).c3g = function ($completion) {
|
|
39824
40041
|
var tmp = new $currentSessionCOROUTINE$(this, $completion);
|
|
@@ -39986,7 +40203,7 @@ function steamSecretParamNames(endpoints) {
|
|
|
39986
40203
|
return NetworkRedaction_getInstance().p3a(endpoints.paramAccessToken);
|
|
39987
40204
|
}
|
|
39988
40205
|
function trustPartner$slambda($steamId, resultContinuation) {
|
|
39989
|
-
this.
|
|
40206
|
+
this.cbg_1 = $steamId;
|
|
39990
40207
|
CoroutineImpl.call(this, resultContinuation);
|
|
39991
40208
|
}
|
|
39992
40209
|
protoOf(trustPartner$slambda).x40 = function ($this$promise, $completion) {
|
|
@@ -40006,13 +40223,13 @@ protoOf(trustPartner$slambda).j9 = function () {
|
|
|
40006
40223
|
switch (tmp) {
|
|
40007
40224
|
case 0:
|
|
40008
40225
|
this.c9_1 = 2;
|
|
40009
|
-
if (!isIndividualSteamId64(this.
|
|
40226
|
+
if (!isIndividualSteamId64(this.cbg_1)) {
|
|
40010
40227
|
var message = 'trustPartner expects a steamid64';
|
|
40011
40228
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
40012
40229
|
}
|
|
40013
40230
|
|
|
40014
40231
|
this.b9_1 = 1;
|
|
40015
|
-
suspendResult = (new PersistedOfferGuardStore(new WebExtKeyValueStore())).m8k(_SteamId___init__impl__aj11zm(this.
|
|
40232
|
+
suspendResult = (new PersistedOfferGuardStore(new WebExtKeyValueStore())).m8k(_SteamId___init__impl__aj11zm(this.cbg_1), this);
|
|
40016
40233
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40017
40234
|
return suspendResult;
|
|
40018
40235
|
}
|
|
@@ -40035,8 +40252,8 @@ protoOf(trustPartner$slambda).j9 = function () {
|
|
|
40035
40252
|
while (true);
|
|
40036
40253
|
};
|
|
40037
40254
|
protoOf(trustPartner$slambda).y40 = function ($this$promise, completion) {
|
|
40038
|
-
var i = new trustPartner$slambda(this.
|
|
40039
|
-
i.
|
|
40255
|
+
var i = new trustPartner$slambda(this.cbg_1, completion);
|
|
40256
|
+
i.dbg_1 = $this$promise;
|
|
40040
40257
|
return i;
|
|
40041
40258
|
};
|
|
40042
40259
|
function trustPartner$slambda_0($steamId, resultContinuation) {
|
|
@@ -40057,13 +40274,13 @@ function proveNotaryTransition(requestJson, notaryToken, steamAccessToken, confi
|
|
|
40057
40274
|
return promise(tmp, VOID, VOID, proveNotaryTransition$slambda_0(requestJson, config, onProgress, steamAccessToken, notaryToken, null));
|
|
40058
40275
|
}
|
|
40059
40276
|
function sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0(function_0) {
|
|
40060
|
-
this.
|
|
40277
|
+
this.ebg_1 = function_0;
|
|
40061
40278
|
}
|
|
40062
40279
|
protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0).z3f = function ($completion) {
|
|
40063
|
-
return this.
|
|
40280
|
+
return this.ebg_1($completion);
|
|
40064
40281
|
};
|
|
40065
40282
|
protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0).r3 = function () {
|
|
40066
|
-
return this.
|
|
40283
|
+
return this.ebg_1;
|
|
40067
40284
|
};
|
|
40068
40285
|
protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0).equals = function (other) {
|
|
40069
40286
|
var tmp;
|
|
@@ -40084,7 +40301,7 @@ protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0).hashCode
|
|
|
40084
40301
|
return hashCode(this.r3());
|
|
40085
40302
|
};
|
|
40086
40303
|
function proveNotaryTransition$slambda$slambda($notaryToken, resultContinuation) {
|
|
40087
|
-
this.
|
|
40304
|
+
this.nbg_1 = $notaryToken;
|
|
40088
40305
|
CoroutineImpl.call(this, resultContinuation);
|
|
40089
40306
|
}
|
|
40090
40307
|
protoOf(proveNotaryTransition$slambda$slambda).f6m = function ($completion) {
|
|
@@ -40103,7 +40320,7 @@ protoOf(proveNotaryTransition$slambda$slambda).j9 = function () {
|
|
|
40103
40320
|
var tmp = this.b9_1;
|
|
40104
40321
|
if (tmp === 0) {
|
|
40105
40322
|
this.c9_1 = 1;
|
|
40106
|
-
return this.
|
|
40323
|
+
return this.nbg_1;
|
|
40107
40324
|
} else if (tmp === 1) {
|
|
40108
40325
|
throw this.e9_1;
|
|
40109
40326
|
}
|
|
@@ -40114,7 +40331,7 @@ protoOf(proveNotaryTransition$slambda$slambda).j9 = function () {
|
|
|
40114
40331
|
while (true);
|
|
40115
40332
|
};
|
|
40116
40333
|
protoOf(proveNotaryTransition$slambda$slambda).w4a = function (completion) {
|
|
40117
|
-
return new proveNotaryTransition$slambda$slambda(this.
|
|
40334
|
+
return new proveNotaryTransition$slambda$slambda(this.nbg_1, completion);
|
|
40118
40335
|
};
|
|
40119
40336
|
function proveNotaryTransition$slambda$slambda_0($notaryToken, resultContinuation) {
|
|
40120
40337
|
var i = new proveNotaryTransition$slambda$slambda($notaryToken, resultContinuation);
|
|
@@ -40123,21 +40340,21 @@ function proveNotaryTransition$slambda$slambda_0($notaryToken, resultContinuatio
|
|
|
40123
40340
|
}, 0);
|
|
40124
40341
|
}
|
|
40125
40342
|
function proveNotaryTransition$slambda($requestJson, $config, $onProgress, $steamAccessToken, $notaryToken, resultContinuation) {
|
|
40126
|
-
this.
|
|
40127
|
-
this.
|
|
40128
|
-
this.
|
|
40129
|
-
this.
|
|
40130
|
-
this.
|
|
40343
|
+
this.wbg_1 = $requestJson;
|
|
40344
|
+
this.xbg_1 = $config;
|
|
40345
|
+
this.ybg_1 = $onProgress;
|
|
40346
|
+
this.zbg_1 = $steamAccessToken;
|
|
40347
|
+
this.abh_1 = $notaryToken;
|
|
40131
40348
|
CoroutineImpl.call(this, resultContinuation);
|
|
40132
40349
|
}
|
|
40133
|
-
protoOf(proveNotaryTransition$slambda).
|
|
40350
|
+
protoOf(proveNotaryTransition$slambda).cbh = function ($this$promise, $completion) {
|
|
40134
40351
|
var tmp = this.y40($this$promise, $completion);
|
|
40135
40352
|
tmp.d9_1 = Unit_instance;
|
|
40136
40353
|
tmp.e9_1 = null;
|
|
40137
40354
|
return tmp.j9();
|
|
40138
40355
|
};
|
|
40139
40356
|
protoOf(proveNotaryTransition$slambda).w9 = function (p1, $completion) {
|
|
40140
|
-
return this.
|
|
40357
|
+
return this.cbh((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
40141
40358
|
};
|
|
40142
40359
|
protoOf(proveNotaryTransition$slambda).j9 = function () {
|
|
40143
40360
|
var suspendResult = this.d9_1;
|
|
@@ -40148,14 +40365,14 @@ protoOf(proveNotaryTransition$slambda).j9 = function () {
|
|
|
40148
40365
|
case 0:
|
|
40149
40366
|
this.c9_1 = 2;
|
|
40150
40367
|
var tmp0 = Default_getInstance_1();
|
|
40151
|
-
var string = this.
|
|
40368
|
+
var string = this.wbg_1;
|
|
40152
40369
|
var this_0 = tmp0.gw();
|
|
40153
40370
|
var this_1 = serializer(this_0, createKType(getKClass(NotaryProofRequest), arrayOf([]), false));
|
|
40154
40371
|
var request = tmp0.w1c(isInterface(this_1, KSerializer) ? this_1 : THROW_CCE(), string);
|
|
40155
|
-
var tmp_0 = proveNotaryTransition$slambda$slambda_0(this.
|
|
40156
|
-
var prover = new WasmNotaryProver(this.
|
|
40372
|
+
var tmp_0 = proveNotaryTransition$slambda$slambda_0(this.abh_1, null);
|
|
40373
|
+
var prover = new WasmNotaryProver(this.xbg_1.notary, new sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0(tmp_0), new BundledWasmProverModule(this.ybg_1), new Cs2GameAdapter(this.xbg_1.game), VOID, new WebExtSteamProofCookieSource());
|
|
40157
40374
|
this.b9_1 = 1;
|
|
40158
|
-
suspendResult = prover.
|
|
40375
|
+
suspendResult = prover.ibc(toBinding(request), toKind(request), toSubjectSteamId(request), this.zbg_1, this);
|
|
40159
40376
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40160
40377
|
return suspendResult;
|
|
40161
40378
|
}
|
|
@@ -40178,14 +40395,14 @@ protoOf(proveNotaryTransition$slambda).j9 = function () {
|
|
|
40178
40395
|
while (true);
|
|
40179
40396
|
};
|
|
40180
40397
|
protoOf(proveNotaryTransition$slambda).y40 = function ($this$promise, completion) {
|
|
40181
|
-
var i = new proveNotaryTransition$slambda(this.
|
|
40182
|
-
i.
|
|
40398
|
+
var i = new proveNotaryTransition$slambda(this.wbg_1, this.xbg_1, this.ybg_1, this.zbg_1, this.abh_1, completion);
|
|
40399
|
+
i.bbh_1 = $this$promise;
|
|
40183
40400
|
return i;
|
|
40184
40401
|
};
|
|
40185
40402
|
function proveNotaryTransition$slambda_0($requestJson, $config, $onProgress, $steamAccessToken, $notaryToken, resultContinuation) {
|
|
40186
40403
|
var i = new proveNotaryTransition$slambda($requestJson, $config, $onProgress, $steamAccessToken, $notaryToken, resultContinuation);
|
|
40187
40404
|
return constructCallableReference(function ($this$promise, $completion) {
|
|
40188
|
-
return i.
|
|
40405
|
+
return i.cbh($this$promise, $completion);
|
|
40189
40406
|
}, 1);
|
|
40190
40407
|
}
|
|
40191
40408
|
var properties_initialized_NotaryOffscreenApi_js_kt_67h2dp;
|
|
@@ -40196,31 +40413,31 @@ function _init_properties_NotaryOffscreenApi_js_kt__f5xgx() {
|
|
|
40196
40413
|
}
|
|
40197
40414
|
}
|
|
40198
40415
|
function stopTracker(handle) {
|
|
40199
|
-
return handle.
|
|
40416
|
+
return handle.dbh();
|
|
40200
40417
|
}
|
|
40201
40418
|
function deliverPush(handle, payloadJson) {
|
|
40202
40419
|
var h = handle instanceof JsTrackerHandle ? handle : THROW_CCE();
|
|
40203
|
-
return promise(h.
|
|
40420
|
+
return promise(h.fbh_1, VOID, VOID, deliverPush$slambda_0(payloadJson, h, null));
|
|
40204
40421
|
}
|
|
40205
40422
|
function forceHeartbeat(handle) {
|
|
40206
40423
|
var h = handle instanceof JsTrackerHandle ? handle : THROW_CCE();
|
|
40207
|
-
return promise(h.
|
|
40424
|
+
return promise(h.fbh_1, VOID, VOID, forceHeartbeat$slambda_0(h, null));
|
|
40208
40425
|
}
|
|
40209
40426
|
function awaitDirectiveOutcome(handle, dealId, timeoutMs) {
|
|
40210
40427
|
var h = handle instanceof JsTrackerHandle ? handle : THROW_CCE();
|
|
40211
|
-
return promise(h.
|
|
40428
|
+
return promise(h.fbh_1, VOID, VOID, awaitDirectiveOutcome$slambda_0(dealId, h, timeoutMs, null));
|
|
40212
40429
|
}
|
|
40213
40430
|
function linkedSteamIdMismatch(handle) {
|
|
40214
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
40431
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).ebh_1.kar();
|
|
40215
40432
|
}
|
|
40216
40433
|
function setKnownScamPartners(handle, ids) {
|
|
40217
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
40434
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).ebh_1.yas(asList(ids));
|
|
40218
40435
|
}
|
|
40219
40436
|
function blockingReason(handle) {
|
|
40220
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
40437
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).ebh_1.nar().z_1;
|
|
40221
40438
|
}
|
|
40222
40439
|
function isTrackingActive(handle) {
|
|
40223
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
40440
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).ebh_1.nar().equals(TrackerBlock_NONE_getInstance());
|
|
40224
40441
|
}
|
|
40225
40442
|
function startTracker(baseUrl, config, networkObserver, eventObserver) {
|
|
40226
40443
|
baseUrl = baseUrl === VOID ? 'https://api.dmarket.com' : baseUrl;
|
|
@@ -40239,27 +40456,27 @@ function startTrackerWithEvents(baseUrl, config, onEvent, notaryProofDelegate, c
|
|
|
40239
40456
|
}
|
|
40240
40457
|
function subscribeActiveTrackingCount(handle, onCount) {
|
|
40241
40458
|
var h = handle instanceof JsTrackerHandle ? handle : THROW_CCE();
|
|
40242
|
-
var job = launch(h.
|
|
40459
|
+
var job = launch(h.fbh_1, VOID, VOID, subscribeActiveTrackingCount$slambda_0(h, onCount, null));
|
|
40243
40460
|
return subscribeActiveTrackingCount$lambda(job);
|
|
40244
40461
|
}
|
|
40245
40462
|
function activeTrackingCount(handle) {
|
|
40246
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
40463
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).hbh_1.kaw_1.p1();
|
|
40247
40464
|
}
|
|
40248
40465
|
function JsTrackerHandle(loop, scope, scheduler, activeCount, onStop) {
|
|
40249
|
-
this.
|
|
40250
|
-
this.
|
|
40251
|
-
this.
|
|
40252
|
-
this.
|
|
40253
|
-
this.
|
|
40466
|
+
this.ebh_1 = loop;
|
|
40467
|
+
this.fbh_1 = scope;
|
|
40468
|
+
this.gbh_1 = scheduler;
|
|
40469
|
+
this.hbh_1 = activeCount;
|
|
40470
|
+
this.ibh_1 = onStop;
|
|
40254
40471
|
}
|
|
40255
|
-
protoOf(JsTrackerHandle).
|
|
40256
|
-
return this.
|
|
40472
|
+
protoOf(JsTrackerHandle).dbh = function () {
|
|
40473
|
+
return this.ibh_1();
|
|
40257
40474
|
};
|
|
40258
40475
|
function CallbackEventObserver(callback) {
|
|
40259
|
-
this.
|
|
40476
|
+
this.jbh_1 = callback;
|
|
40260
40477
|
}
|
|
40261
40478
|
protoOf(CallbackEventObserver).s6g = function (event, $completion) {
|
|
40262
|
-
return this.
|
|
40479
|
+
return this.jbh_1(toWireJson(event));
|
|
40263
40480
|
};
|
|
40264
40481
|
function startInternal(baseUrl, config, networkObserver, eventObserver, notaryProofDelegate, clientVersion, knownScamPartners) {
|
|
40265
40482
|
var activeCount = new ActiveTrackingCountChannel(eventObserver);
|
|
@@ -40285,8 +40502,8 @@ function startInternal(baseUrl, config, networkObserver, eventObserver, notaryPr
|
|
|
40285
40502
|
return new JsTrackerHandle(loop, scope, scheduler, activeCount, startInternal$lambda_2(chrome_0, onAlarm, onRearm, scheduler, scope));
|
|
40286
40503
|
}
|
|
40287
40504
|
function deliverPush$slambda($payloadJson, $h, resultContinuation) {
|
|
40288
|
-
this.
|
|
40289
|
-
this.
|
|
40505
|
+
this.sbh_1 = $payloadJson;
|
|
40506
|
+
this.tbh_1 = $h;
|
|
40290
40507
|
CoroutineImpl.call(this, resultContinuation);
|
|
40291
40508
|
}
|
|
40292
40509
|
protoOf(deliverPush$slambda).x40 = function ($this$promise, $completion) {
|
|
@@ -40306,18 +40523,18 @@ protoOf(deliverPush$slambda).j9 = function () {
|
|
|
40306
40523
|
switch (tmp) {
|
|
40307
40524
|
case 0:
|
|
40308
40525
|
this.c9_1 = 4;
|
|
40309
|
-
var tmp0_safe_receiver = parsePushEnvelope(this.
|
|
40526
|
+
var tmp0_safe_receiver = parsePushEnvelope(this.sbh_1);
|
|
40310
40527
|
var signal = tmp0_safe_receiver == null ? null : toSignalOrNull(tmp0_safe_receiver);
|
|
40311
40528
|
if (!(signal == null)) {
|
|
40312
40529
|
this.b9_1 = 2;
|
|
40313
|
-
suspendResult = this.
|
|
40530
|
+
suspendResult = this.tbh_1.ebh_1.bat(signal, this);
|
|
40314
40531
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40315
40532
|
return suspendResult;
|
|
40316
40533
|
}
|
|
40317
40534
|
continue $sm;
|
|
40318
40535
|
} else {
|
|
40319
40536
|
this.b9_1 = 1;
|
|
40320
|
-
suspendResult = this.
|
|
40537
|
+
suspendResult = this.tbh_1.ebh_1.xap(this);
|
|
40321
40538
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40322
40539
|
return suspendResult;
|
|
40323
40540
|
}
|
|
@@ -40325,15 +40542,15 @@ protoOf(deliverPush$slambda).j9 = function () {
|
|
|
40325
40542
|
}
|
|
40326
40543
|
|
|
40327
40544
|
case 1:
|
|
40328
|
-
this.
|
|
40545
|
+
this.vbh_1 = suspendResult;
|
|
40329
40546
|
this.b9_1 = 3;
|
|
40330
40547
|
continue $sm;
|
|
40331
40548
|
case 2:
|
|
40332
|
-
this.
|
|
40549
|
+
this.vbh_1 = suspendResult;
|
|
40333
40550
|
this.b9_1 = 3;
|
|
40334
40551
|
continue $sm;
|
|
40335
40552
|
case 3:
|
|
40336
|
-
this.
|
|
40553
|
+
this.tbh_1.gbh_1.f6c(this.tbh_1.ebh_1.yap());
|
|
40337
40554
|
return Unit_instance;
|
|
40338
40555
|
case 4:
|
|
40339
40556
|
throw this.e9_1;
|
|
@@ -40350,8 +40567,8 @@ protoOf(deliverPush$slambda).j9 = function () {
|
|
|
40350
40567
|
while (true);
|
|
40351
40568
|
};
|
|
40352
40569
|
protoOf(deliverPush$slambda).y40 = function ($this$promise, completion) {
|
|
40353
|
-
var i = new deliverPush$slambda(this.
|
|
40354
|
-
i.
|
|
40570
|
+
var i = new deliverPush$slambda(this.sbh_1, this.tbh_1, completion);
|
|
40571
|
+
i.ubh_1 = $this$promise;
|
|
40355
40572
|
return i;
|
|
40356
40573
|
};
|
|
40357
40574
|
function deliverPush$slambda_0($payloadJson, $h, resultContinuation) {
|
|
@@ -40361,7 +40578,7 @@ function deliverPush$slambda_0($payloadJson, $h, resultContinuation) {
|
|
|
40361
40578
|
}, 1);
|
|
40362
40579
|
}
|
|
40363
40580
|
function forceHeartbeat$slambda($h, resultContinuation) {
|
|
40364
|
-
this.
|
|
40581
|
+
this.ebi_1 = $h;
|
|
40365
40582
|
CoroutineImpl.call(this, resultContinuation);
|
|
40366
40583
|
}
|
|
40367
40584
|
protoOf(forceHeartbeat$slambda).x40 = function ($this$promise, $completion) {
|
|
@@ -40382,7 +40599,7 @@ protoOf(forceHeartbeat$slambda).j9 = function () {
|
|
|
40382
40599
|
case 0:
|
|
40383
40600
|
this.c9_1 = 3;
|
|
40384
40601
|
this.b9_1 = 1;
|
|
40385
|
-
suspendResult = this.
|
|
40602
|
+
suspendResult = this.ebi_1.ebh_1.wap(this);
|
|
40386
40603
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40387
40604
|
return suspendResult;
|
|
40388
40605
|
}
|
|
@@ -40390,14 +40607,14 @@ protoOf(forceHeartbeat$slambda).j9 = function () {
|
|
|
40390
40607
|
continue $sm;
|
|
40391
40608
|
case 1:
|
|
40392
40609
|
this.b9_1 = 2;
|
|
40393
|
-
suspendResult = this.
|
|
40610
|
+
suspendResult = this.ebi_1.ebh_1.xap(this);
|
|
40394
40611
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40395
40612
|
return suspendResult;
|
|
40396
40613
|
}
|
|
40397
40614
|
|
|
40398
40615
|
continue $sm;
|
|
40399
40616
|
case 2:
|
|
40400
|
-
this.
|
|
40617
|
+
this.ebi_1.gbh_1.f6c(this.ebi_1.ebh_1.yap());
|
|
40401
40618
|
return Unit_instance;
|
|
40402
40619
|
case 3:
|
|
40403
40620
|
throw this.e9_1;
|
|
@@ -40414,8 +40631,8 @@ protoOf(forceHeartbeat$slambda).j9 = function () {
|
|
|
40414
40631
|
while (true);
|
|
40415
40632
|
};
|
|
40416
40633
|
protoOf(forceHeartbeat$slambda).y40 = function ($this$promise, completion) {
|
|
40417
|
-
var i = new forceHeartbeat$slambda(this.
|
|
40418
|
-
i.
|
|
40634
|
+
var i = new forceHeartbeat$slambda(this.ebi_1, completion);
|
|
40635
|
+
i.fbi_1 = $this$promise;
|
|
40419
40636
|
return i;
|
|
40420
40637
|
};
|
|
40421
40638
|
function forceHeartbeat$slambda_0($h, resultContinuation) {
|
|
@@ -40425,19 +40642,19 @@ function forceHeartbeat$slambda_0($h, resultContinuation) {
|
|
|
40425
40642
|
}, 1);
|
|
40426
40643
|
}
|
|
40427
40644
|
function awaitDirectiveOutcome$slambda($dealId, $h, $timeoutMs, resultContinuation) {
|
|
40428
|
-
this.
|
|
40429
|
-
this.
|
|
40430
|
-
this.
|
|
40645
|
+
this.obi_1 = $dealId;
|
|
40646
|
+
this.pbi_1 = $h;
|
|
40647
|
+
this.qbi_1 = $timeoutMs;
|
|
40431
40648
|
CoroutineImpl.call(this, resultContinuation);
|
|
40432
40649
|
}
|
|
40433
|
-
protoOf(awaitDirectiveOutcome$slambda).
|
|
40650
|
+
protoOf(awaitDirectiveOutcome$slambda).cbh = function ($this$promise, $completion) {
|
|
40434
40651
|
var tmp = this.y40($this$promise, $completion);
|
|
40435
40652
|
tmp.d9_1 = Unit_instance;
|
|
40436
40653
|
tmp.e9_1 = null;
|
|
40437
40654
|
return tmp.j9();
|
|
40438
40655
|
};
|
|
40439
40656
|
protoOf(awaitDirectiveOutcome$slambda).w9 = function (p1, $completion) {
|
|
40440
|
-
return this.
|
|
40657
|
+
return this.cbh((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
40441
40658
|
};
|
|
40442
40659
|
protoOf(awaitDirectiveOutcome$slambda).j9 = function () {
|
|
40443
40660
|
var suspendResult = this.d9_1;
|
|
@@ -40447,13 +40664,13 @@ protoOf(awaitDirectiveOutcome$slambda).j9 = function () {
|
|
|
40447
40664
|
switch (tmp) {
|
|
40448
40665
|
case 0:
|
|
40449
40666
|
this.c9_1 = 2;
|
|
40450
|
-
if (isBlank(this.
|
|
40667
|
+
if (isBlank(this.obi_1))
|
|
40451
40668
|
return missingDealIdJson();
|
|
40452
40669
|
this.b9_1 = 1;
|
|
40453
|
-
var tmp_0 = _DealId___init__impl__icq89m(this.
|
|
40670
|
+
var tmp_0 = _DealId___init__impl__icq89m(this.obi_1);
|
|
40454
40671
|
Companion_getInstance_1();
|
|
40455
|
-
var this_0 = this.
|
|
40456
|
-
suspendResult = this.
|
|
40672
|
+
var this_0 = this.qbi_1;
|
|
40673
|
+
suspendResult = this.pbi_1.ebh_1.xas(tmp_0, toDuration(this_0, DurationUnit_MILLISECONDS_getInstance()), this.pbi_1.fbh_1, this);
|
|
40457
40674
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40458
40675
|
return suspendResult;
|
|
40459
40676
|
}
|
|
@@ -40477,24 +40694,24 @@ protoOf(awaitDirectiveOutcome$slambda).j9 = function () {
|
|
|
40477
40694
|
while (true);
|
|
40478
40695
|
};
|
|
40479
40696
|
protoOf(awaitDirectiveOutcome$slambda).y40 = function ($this$promise, completion) {
|
|
40480
|
-
var i = new awaitDirectiveOutcome$slambda(this.
|
|
40481
|
-
i.
|
|
40697
|
+
var i = new awaitDirectiveOutcome$slambda(this.obi_1, this.pbi_1, this.qbi_1, completion);
|
|
40698
|
+
i.rbi_1 = $this$promise;
|
|
40482
40699
|
return i;
|
|
40483
40700
|
};
|
|
40484
40701
|
function awaitDirectiveOutcome$slambda_0($dealId, $h, $timeoutMs, resultContinuation) {
|
|
40485
40702
|
var i = new awaitDirectiveOutcome$slambda($dealId, $h, $timeoutMs, resultContinuation);
|
|
40486
40703
|
return constructCallableReference(function ($this$promise, $completion) {
|
|
40487
|
-
return i.
|
|
40704
|
+
return i.cbh($this$promise, $completion);
|
|
40488
40705
|
}, 1);
|
|
40489
40706
|
}
|
|
40490
40707
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
40491
|
-
this.
|
|
40708
|
+
this.sbi_1 = function_0;
|
|
40492
40709
|
}
|
|
40493
40710
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).j2a = function (value, $completion) {
|
|
40494
|
-
return this.
|
|
40711
|
+
return this.sbi_1(value, $completion);
|
|
40495
40712
|
};
|
|
40496
40713
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r3 = function () {
|
|
40497
|
-
return this.
|
|
40714
|
+
return this.sbi_1;
|
|
40498
40715
|
};
|
|
40499
40716
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
40500
40717
|
var tmp;
|
|
@@ -40515,17 +40732,17 @@ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
|
40515
40732
|
return hashCode(this.r3());
|
|
40516
40733
|
};
|
|
40517
40734
|
function subscribeActiveTrackingCount$slambda$slambda($onCount, resultContinuation) {
|
|
40518
|
-
this.
|
|
40735
|
+
this.bbj_1 = $onCount;
|
|
40519
40736
|
CoroutineImpl.call(this, resultContinuation);
|
|
40520
40737
|
}
|
|
40521
|
-
protoOf(subscribeActiveTrackingCount$slambda$slambda).
|
|
40522
|
-
var tmp = this.
|
|
40738
|
+
protoOf(subscribeActiveTrackingCount$slambda$slambda).dbj = function (it, $completion) {
|
|
40739
|
+
var tmp = this.ebj(it, $completion);
|
|
40523
40740
|
tmp.d9_1 = Unit_instance;
|
|
40524
40741
|
tmp.e9_1 = null;
|
|
40525
40742
|
return tmp.j9();
|
|
40526
40743
|
};
|
|
40527
40744
|
protoOf(subscribeActiveTrackingCount$slambda$slambda).w9 = function (p1, $completion) {
|
|
40528
|
-
return this.
|
|
40745
|
+
return this.dbj((!(p1 == null) ? typeof p1 === 'number' : false) ? p1 : THROW_CCE(), $completion);
|
|
40529
40746
|
};
|
|
40530
40747
|
protoOf(subscribeActiveTrackingCount$slambda$slambda).j9 = function () {
|
|
40531
40748
|
var suspendResult = this.d9_1;
|
|
@@ -40534,7 +40751,7 @@ protoOf(subscribeActiveTrackingCount$slambda$slambda).j9 = function () {
|
|
|
40534
40751
|
var tmp = this.b9_1;
|
|
40535
40752
|
if (tmp === 0) {
|
|
40536
40753
|
this.c9_1 = 1;
|
|
40537
|
-
this.
|
|
40754
|
+
this.bbj_1(this.cbj_1);
|
|
40538
40755
|
return Unit_instance;
|
|
40539
40756
|
} else if (tmp === 1) {
|
|
40540
40757
|
throw this.e9_1;
|
|
@@ -40545,20 +40762,20 @@ protoOf(subscribeActiveTrackingCount$slambda$slambda).j9 = function () {
|
|
|
40545
40762
|
}
|
|
40546
40763
|
while (true);
|
|
40547
40764
|
};
|
|
40548
|
-
protoOf(subscribeActiveTrackingCount$slambda$slambda).
|
|
40549
|
-
var i = new subscribeActiveTrackingCount$slambda$slambda(this.
|
|
40550
|
-
i.
|
|
40765
|
+
protoOf(subscribeActiveTrackingCount$slambda$slambda).ebj = function (it, completion) {
|
|
40766
|
+
var i = new subscribeActiveTrackingCount$slambda$slambda(this.bbj_1, completion);
|
|
40767
|
+
i.cbj_1 = it;
|
|
40551
40768
|
return i;
|
|
40552
40769
|
};
|
|
40553
40770
|
function subscribeActiveTrackingCount$slambda$slambda_0($onCount, resultContinuation) {
|
|
40554
40771
|
var i = new subscribeActiveTrackingCount$slambda$slambda($onCount, resultContinuation);
|
|
40555
40772
|
return constructCallableReference(function (it, $completion) {
|
|
40556
|
-
return i.
|
|
40773
|
+
return i.dbj(it, $completion);
|
|
40557
40774
|
}, 1);
|
|
40558
40775
|
}
|
|
40559
40776
|
function subscribeActiveTrackingCount$slambda($h, $onCount, resultContinuation) {
|
|
40560
|
-
this.
|
|
40561
|
-
this.
|
|
40777
|
+
this.nbj_1 = $h;
|
|
40778
|
+
this.obj_1 = $onCount;
|
|
40562
40779
|
CoroutineImpl.call(this, resultContinuation);
|
|
40563
40780
|
}
|
|
40564
40781
|
protoOf(subscribeActiveTrackingCount$slambda).x40 = function ($this$launch, $completion) {
|
|
@@ -40579,8 +40796,8 @@ protoOf(subscribeActiveTrackingCount$slambda).j9 = function () {
|
|
|
40579
40796
|
case 0:
|
|
40580
40797
|
this.c9_1 = 2;
|
|
40581
40798
|
this.b9_1 = 1;
|
|
40582
|
-
var tmp_0 = subscribeActiveTrackingCount$slambda$slambda_0(this.
|
|
40583
|
-
suspendResult = this.
|
|
40799
|
+
var tmp_0 = subscribeActiveTrackingCount$slambda$slambda_0(this.obj_1, null);
|
|
40800
|
+
suspendResult = this.nbj_1.hbh_1.kaw_1.a2c(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
40584
40801
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40585
40802
|
return suspendResult;
|
|
40586
40803
|
}
|
|
@@ -40604,8 +40821,8 @@ protoOf(subscribeActiveTrackingCount$slambda).j9 = function () {
|
|
|
40604
40821
|
while (true);
|
|
40605
40822
|
};
|
|
40606
40823
|
protoOf(subscribeActiveTrackingCount$slambda).y40 = function ($this$launch, completion) {
|
|
40607
|
-
var i = new subscribeActiveTrackingCount$slambda(this.
|
|
40608
|
-
i.
|
|
40824
|
+
var i = new subscribeActiveTrackingCount$slambda(this.nbj_1, this.obj_1, completion);
|
|
40825
|
+
i.pbj_1 = $this$launch;
|
|
40609
40826
|
return i;
|
|
40610
40827
|
};
|
|
40611
40828
|
function subscribeActiveTrackingCount$slambda_0($h, $onCount, resultContinuation) {
|
|
@@ -40621,8 +40838,8 @@ function subscribeActiveTrackingCount$lambda($job) {
|
|
|
40621
40838
|
};
|
|
40622
40839
|
}
|
|
40623
40840
|
function startInternal$cycle$slambda($loop, $scheduler, resultContinuation) {
|
|
40624
|
-
this.
|
|
40625
|
-
this.
|
|
40841
|
+
this.ybj_1 = $loop;
|
|
40842
|
+
this.zbj_1 = $scheduler;
|
|
40626
40843
|
CoroutineImpl.call(this, resultContinuation);
|
|
40627
40844
|
}
|
|
40628
40845
|
protoOf(startInternal$cycle$slambda).x40 = function ($this$launch, $completion) {
|
|
@@ -40643,14 +40860,14 @@ protoOf(startInternal$cycle$slambda).j9 = function () {
|
|
|
40643
40860
|
case 0:
|
|
40644
40861
|
this.c9_1 = 2;
|
|
40645
40862
|
this.b9_1 = 1;
|
|
40646
|
-
suspendResult = this.
|
|
40863
|
+
suspendResult = this.ybj_1.xap(this);
|
|
40647
40864
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40648
40865
|
return suspendResult;
|
|
40649
40866
|
}
|
|
40650
40867
|
|
|
40651
40868
|
continue $sm;
|
|
40652
40869
|
case 1:
|
|
40653
|
-
this.
|
|
40870
|
+
this.zbj_1.f6c(this.ybj_1.yap());
|
|
40654
40871
|
return Unit_instance;
|
|
40655
40872
|
case 2:
|
|
40656
40873
|
throw this.e9_1;
|
|
@@ -40667,8 +40884,8 @@ protoOf(startInternal$cycle$slambda).j9 = function () {
|
|
|
40667
40884
|
while (true);
|
|
40668
40885
|
};
|
|
40669
40886
|
protoOf(startInternal$cycle$slambda).y40 = function ($this$launch, completion) {
|
|
40670
|
-
var i = new startInternal$cycle$slambda(this.
|
|
40671
|
-
i.
|
|
40887
|
+
var i = new startInternal$cycle$slambda(this.ybj_1, this.zbj_1, completion);
|
|
40888
|
+
i.abk_1 = $this$launch;
|
|
40672
40889
|
return i;
|
|
40673
40890
|
};
|
|
40674
40891
|
function startInternal$cycle$slambda_0($loop, $scheduler, resultContinuation) {
|