@dmarket/p2p-tracker-core 0.1.0-SNAPSHOT.164 → 0.1.0-SNAPSHOT.166
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/kotlin-kotlin-stdlib.mjs +1 -0
- package/kotlinx-coroutines-core.mjs +1 -1
- package/p2p-tracker-core.mjs +248 -48
- package/p2p-tracker-core.mjs.map +1 -1
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -17363,6 +17363,7 @@ export {
|
|
|
17363
17363
|
newThrowable as newThrowablezl37abp36p5f,
|
|
17364
17364
|
numberRangeToNumber as numberRangeToNumber25vse2rgp6rs8,
|
|
17365
17365
|
numberToChar as numberToChar93r9buh19yek,
|
|
17366
|
+
numberToInt as numberToInt1ygmcfwhs2fkq,
|
|
17366
17367
|
objectCreate as objectCreate1ve4bgxiu4x98,
|
|
17367
17368
|
protoOf as protoOf180f3jzyo7rfj,
|
|
17368
17369
|
toByte as toByte4i43936u611k,
|
|
@@ -304,7 +304,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
|
|
|
304
304
|
initMetadataForClass(Symbol, 'Symbol');
|
|
305
305
|
initMetadataForInterface(SelectInstance, 'SelectInstance');
|
|
306
306
|
initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
|
|
307
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
307
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
|
|
308
308
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
309
309
|
initMetadataForClass(CancellableContinuationWithOwner, 'CancellableContinuationWithOwner', VOID, VOID, [CancellableContinuation, Waiter]);
|
|
310
310
|
initMetadataForClass(SemaphoreAndMutexImpl, 'SemaphoreAndMutexImpl', VOID, VOID, VOID, [0]);
|
package/p2p-tracker-core.mjs
CHANGED
|
@@ -136,8 +136,10 @@ import {
|
|
|
136
136
|
Default_getInstance2btmaxiazehss as Default_getInstance_0,
|
|
137
137
|
IllegalStateException_init_$Create$3hmmy2q9mdx3a as IllegalStateException_init_$Create$_0,
|
|
138
138
|
replace3le3ie7l9k8aq as replace,
|
|
139
|
+
contains3ue2qo8xhmpf1 as contains,
|
|
139
140
|
isFinite2t9l5a275mxm6 as isFinite,
|
|
140
141
|
roundToInt1ue8x8yshtznx as roundToInt,
|
|
142
|
+
numberToInt1ygmcfwhs2fkq as numberToInt,
|
|
141
143
|
FunctionAdapter3lcrrz3moet5b as FunctionAdapter,
|
|
142
144
|
throwKotlinNothingValueException2lxmvl03dor6f as throwKotlinNothingValueException,
|
|
143
145
|
} from './kotlin-kotlin-stdlib.mjs';
|
|
@@ -26545,6 +26547,12 @@ function progressCallback($this) {
|
|
|
26545
26547
|
}
|
|
26546
26548
|
return tmp;
|
|
26547
26549
|
}
|
|
26550
|
+
function BundledWasmProverModule$prove$lambda(this$0, $request, $spec) {
|
|
26551
|
+
return function () {
|
|
26552
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
26553
|
+
return this$0.p9h_1.connectProxy($request.w9g_1, $spec.a31_1, 443);
|
|
26554
|
+
};
|
|
26555
|
+
}
|
|
26548
26556
|
function BundledWasmProverModule$progressCallback$lambda(this$0, $sink) {
|
|
26549
26557
|
return function (event) {
|
|
26550
26558
|
// Inline function 'kotlin.runCatching' call
|
|
@@ -26644,8 +26652,30 @@ protoOf($proveCOROUTINE$_0).d9 = function () {
|
|
|
26644
26652
|
var tmp = this.v8_1;
|
|
26645
26653
|
switch (tmp) {
|
|
26646
26654
|
case 0:
|
|
26647
|
-
this.w8_1 =
|
|
26655
|
+
this.w8_1 = 15;
|
|
26648
26656
|
this.q9i_1 = this.l9i_1.x9g_1;
|
|
26657
|
+
var tmp0_safe_receiver = this.k9i_1.o9h_1;
|
|
26658
|
+
if (tmp0_safe_receiver == null)
|
|
26659
|
+
null;
|
|
26660
|
+
else {
|
|
26661
|
+
this.k9i_1;
|
|
26662
|
+
var tmp_0;
|
|
26663
|
+
try {
|
|
26664
|
+
tmp0_safe_receiver(issuanceLine(this.l9i_1));
|
|
26665
|
+
tmp_0 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
26666
|
+
} catch ($p) {
|
|
26667
|
+
var tmp_1;
|
|
26668
|
+
if ($p instanceof Error) {
|
|
26669
|
+
var e = $p;
|
|
26670
|
+
tmp_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
26671
|
+
} else {
|
|
26672
|
+
throw $p;
|
|
26673
|
+
}
|
|
26674
|
+
tmp_0 = tmp_1;
|
|
26675
|
+
}
|
|
26676
|
+
new Result(tmp_0);
|
|
26677
|
+
}
|
|
26678
|
+
|
|
26649
26679
|
this.w8_1 = 2;
|
|
26650
26680
|
this.v8_1 = 1;
|
|
26651
26681
|
var this_0 = this.k9i_1.p9h_1.connectNotary(this.l9i_1.u9g_1, this.l9i_1.v9g_1);
|
|
@@ -26657,117 +26687,110 @@ protoOf($proveCOROUTINE$_0).d9 = function () {
|
|
|
26657
26687
|
continue $sm;
|
|
26658
26688
|
case 1:
|
|
26659
26689
|
this.v9i_1 = suspendResult;
|
|
26660
|
-
this.w8_1 =
|
|
26690
|
+
this.w8_1 = 15;
|
|
26661
26691
|
this.v8_1 = 3;
|
|
26662
26692
|
continue $sm;
|
|
26663
26693
|
case 2:
|
|
26664
|
-
this.w8_1 =
|
|
26665
|
-
var
|
|
26666
|
-
if (
|
|
26694
|
+
this.w8_1 = 15;
|
|
26695
|
+
var tmp_2 = this.y8_1;
|
|
26696
|
+
if (tmp_2 instanceof Error) {
|
|
26667
26697
|
var cause = this.y8_1;
|
|
26668
|
-
var
|
|
26698
|
+
var tmp_3 = this;
|
|
26669
26699
|
throw IllegalStateException_init_$Create$_0('notary handshake failed for ' + this.l9i_1.u9g_1 + ' \u2014 the cause is not observable from a ' + 'browser (rejected credential, notary unavailable, or blocked upgrade all look alike)', cause);
|
|
26670
26700
|
} else {
|
|
26671
26701
|
throw this.y8_1;
|
|
26672
26702
|
}
|
|
26673
26703
|
|
|
26674
26704
|
case 3:
|
|
26675
|
-
this.w8_1 =
|
|
26705
|
+
this.w8_1 = 15;
|
|
26676
26706
|
this.n9i_1 = this.v9i_1;
|
|
26677
26707
|
this.s9i_1 = Unit_instance;
|
|
26678
26708
|
this.v8_1 = 4;
|
|
26679
26709
|
continue $sm;
|
|
26680
26710
|
case 4:
|
|
26681
|
-
this.w8_1 =
|
|
26711
|
+
this.w8_1 = 13;
|
|
26712
|
+
var tmp_4 = this;
|
|
26713
|
+
var tmp1_onTrace = this.k9i_1.o9h_1;
|
|
26714
|
+
tmp_4.p9i_1 = lazyTargetChannel(BundledWasmProverModule$prove$lambda(this.k9i_1, this.l9i_1, this.q9i_1), tmp1_onTrace);
|
|
26715
|
+
this.u9i_1 = Unit_instance;
|
|
26682
26716
|
this.v8_1 = 5;
|
|
26683
|
-
var this_1 = this.k9i_1.p9h_1.connectProxy(this.l9i_1.w9g_1, this.q9i_1.a31_1, 443);
|
|
26684
|
-
suspendResult = await_0(this_1, this);
|
|
26685
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
26686
|
-
return suspendResult;
|
|
26687
|
-
}
|
|
26688
|
-
|
|
26689
26717
|
continue $sm;
|
|
26690
26718
|
case 5:
|
|
26691
|
-
this.
|
|
26692
|
-
this.u9i_1 = Unit_instance;
|
|
26719
|
+
this.w8_1 = 11;
|
|
26693
26720
|
this.v8_1 = 6;
|
|
26694
|
-
|
|
26695
|
-
|
|
26696
|
-
this.w8_1 = 12;
|
|
26697
|
-
this.v8_1 = 7;
|
|
26698
|
-
var this_2 = this.k9i_1.q9h_1.prove(this.n9i_1, this.p9i_1, issuanceConfig(this.l9i_1), httpRequest(this.l9i_1), progressCallback(this.k9i_1));
|
|
26699
|
-
suspendResult = await_0(this_2, this);
|
|
26721
|
+
var this_1 = this.k9i_1.q9h_1.prove(this.n9i_1, this.p9i_1, issuanceConfig(this.l9i_1), httpRequest(this.l9i_1), progressCallback(this.k9i_1));
|
|
26722
|
+
suspendResult = await_0(this_1, this);
|
|
26700
26723
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
26701
26724
|
return suspendResult;
|
|
26702
26725
|
}
|
|
26703
26726
|
|
|
26704
26727
|
continue $sm;
|
|
26705
|
-
case
|
|
26728
|
+
case 6:
|
|
26706
26729
|
this.u9i_1 = suspendResult;
|
|
26707
|
-
this.v8_1 =
|
|
26730
|
+
this.v8_1 = 7;
|
|
26708
26731
|
continue $sm;
|
|
26709
|
-
case
|
|
26732
|
+
case 7:
|
|
26710
26733
|
this.t9i_1 = this.u9i_1;
|
|
26711
|
-
this.w8_1 =
|
|
26712
|
-
this.v8_1 =
|
|
26734
|
+
this.w8_1 = 13;
|
|
26735
|
+
this.v8_1 = 8;
|
|
26713
26736
|
suspendResult = closeQuietly(this.k9i_1, this.p9i_1, this);
|
|
26714
26737
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
26715
26738
|
return suspendResult;
|
|
26716
26739
|
}
|
|
26717
26740
|
|
|
26718
26741
|
continue $sm;
|
|
26719
|
-
case
|
|
26742
|
+
case 8:
|
|
26720
26743
|
this.s9i_1 = this.t9i_1;
|
|
26721
|
-
this.w8_1 =
|
|
26722
|
-
this.v8_1 =
|
|
26744
|
+
this.w8_1 = 15;
|
|
26745
|
+
this.v8_1 = 9;
|
|
26723
26746
|
continue $sm;
|
|
26724
|
-
case
|
|
26747
|
+
case 9:
|
|
26725
26748
|
this.r9i_1 = this.s9i_1;
|
|
26726
|
-
this.w8_1 =
|
|
26727
|
-
this.v8_1 =
|
|
26749
|
+
this.w8_1 = 15;
|
|
26750
|
+
this.v8_1 = 10;
|
|
26728
26751
|
suspendResult = closeQuietly(this.k9i_1, this.n9i_1, this);
|
|
26729
26752
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
26730
26753
|
return suspendResult;
|
|
26731
26754
|
}
|
|
26732
26755
|
|
|
26733
26756
|
continue $sm;
|
|
26734
|
-
case
|
|
26757
|
+
case 10:
|
|
26735
26758
|
var out = this.r9i_1;
|
|
26736
26759
|
return asByteArray(this.k9i_1.q9h_1.present(out.attestation, out.secrets, revealPolicy(this.q9i_1)));
|
|
26737
|
-
case
|
|
26738
|
-
this.w8_1 =
|
|
26760
|
+
case 11:
|
|
26761
|
+
this.w8_1 = 13;
|
|
26739
26762
|
this.o9i_1 = this.y8_1;
|
|
26740
|
-
this.v8_1 =
|
|
26763
|
+
this.v8_1 = 12;
|
|
26741
26764
|
suspendResult = closeQuietly(this.k9i_1, this.p9i_1, this);
|
|
26742
26765
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
26743
26766
|
return suspendResult;
|
|
26744
26767
|
}
|
|
26745
26768
|
|
|
26746
26769
|
continue $sm;
|
|
26747
|
-
case
|
|
26770
|
+
case 12:
|
|
26748
26771
|
throw this.o9i_1;
|
|
26749
|
-
case
|
|
26750
|
-
this.w8_1 =
|
|
26772
|
+
case 13:
|
|
26773
|
+
this.w8_1 = 15;
|
|
26751
26774
|
this.m9i_1 = this.y8_1;
|
|
26752
|
-
this.v8_1 =
|
|
26775
|
+
this.v8_1 = 14;
|
|
26753
26776
|
suspendResult = closeQuietly(this.k9i_1, this.n9i_1, this);
|
|
26754
26777
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
26755
26778
|
return suspendResult;
|
|
26756
26779
|
}
|
|
26757
26780
|
|
|
26758
26781
|
continue $sm;
|
|
26759
|
-
case
|
|
26782
|
+
case 14:
|
|
26760
26783
|
throw this.m9i_1;
|
|
26761
|
-
case
|
|
26784
|
+
case 15:
|
|
26762
26785
|
throw this.y8_1;
|
|
26763
26786
|
}
|
|
26764
|
-
} catch ($
|
|
26765
|
-
var
|
|
26766
|
-
if (this.w8_1 ===
|
|
26767
|
-
throw
|
|
26787
|
+
} catch ($p_0) {
|
|
26788
|
+
var e_0 = $p_0;
|
|
26789
|
+
if (this.w8_1 === 15) {
|
|
26790
|
+
throw e_0;
|
|
26768
26791
|
} else {
|
|
26769
26792
|
this.v8_1 = this.w8_1;
|
|
26770
|
-
this.y8_1 =
|
|
26793
|
+
this.y8_1 = e_0;
|
|
26771
26794
|
}
|
|
26772
26795
|
}
|
|
26773
26796
|
while (true);
|
|
@@ -26914,6 +26937,71 @@ function revealPolicy(spec) {
|
|
|
26914
26937
|
policy.revealResponseBody = body;
|
|
26915
26938
|
return policy;
|
|
26916
26939
|
}
|
|
26940
|
+
function lazyTargetChannel(connect, onTrace) {
|
|
26941
|
+
onTrace = onTrace === VOID ? null : onTrace;
|
|
26942
|
+
var trace = lazyTargetChannel$lambda(onTrace);
|
|
26943
|
+
var settle = {_v: null};
|
|
26944
|
+
var fail = {_v: null};
|
|
26945
|
+
var ready = new Promise(lazyTargetChannel$lambda_0(settle, fail));
|
|
26946
|
+
// Inline function 'kotlin.checkNotNull' call
|
|
26947
|
+
var tmp0 = settle._v;
|
|
26948
|
+
var tmp$ret$1;
|
|
26949
|
+
$l$block: {
|
|
26950
|
+
// Inline function 'kotlin.checkNotNull' call
|
|
26951
|
+
if (tmp0 == null) {
|
|
26952
|
+
var message = 'Required value was null.';
|
|
26953
|
+
throw IllegalStateException_init_$Create$(toString(message));
|
|
26954
|
+
} else {
|
|
26955
|
+
tmp$ret$1 = tmp0;
|
|
26956
|
+
break $l$block;
|
|
26957
|
+
}
|
|
26958
|
+
}
|
|
26959
|
+
var resolveReady = tmp$ret$1;
|
|
26960
|
+
// Inline function 'kotlin.checkNotNull' call
|
|
26961
|
+
var tmp0_0 = fail._v;
|
|
26962
|
+
var tmp$ret$4;
|
|
26963
|
+
$l$block_0: {
|
|
26964
|
+
// Inline function 'kotlin.checkNotNull' call
|
|
26965
|
+
if (tmp0_0 == null) {
|
|
26966
|
+
var message_0 = 'Required value was null.';
|
|
26967
|
+
throw IllegalStateException_init_$Create$(toString(message_0));
|
|
26968
|
+
} else {
|
|
26969
|
+
tmp$ret$4 = tmp0_0;
|
|
26970
|
+
break $l$block_0;
|
|
26971
|
+
}
|
|
26972
|
+
}
|
|
26973
|
+
var rejectReady = tmp$ret$4;
|
|
26974
|
+
var dialled = {_v: false};
|
|
26975
|
+
var closed = {_v: false};
|
|
26976
|
+
var channel = {};
|
|
26977
|
+
channel.write = lazyTargetChannel$o(closed, dialled, trace, connect, ready, resolveReady, rejectReady);
|
|
26978
|
+
channel.read = lazyTargetChannel$lambda_1(ready);
|
|
26979
|
+
channel.close = lazyTargetChannel$lambda_2(closed, dialled, ready, resolveReady);
|
|
26980
|
+
return channel;
|
|
26981
|
+
}
|
|
26982
|
+
function issuanceLine(request) {
|
|
26983
|
+
// Inline function 'kotlin.text.buildString' call
|
|
26984
|
+
// Inline function 'kotlin.apply' call
|
|
26985
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
26986
|
+
this_0.q('issuance serverName=').q(request.x9g_1.a31_1);
|
|
26987
|
+
this_0.q(' proxy=').q(request.w9g_1);
|
|
26988
|
+
var tmp = this_0.q(' rootStore=');
|
|
26989
|
+
var tmp0_safe_receiver = request.b9h_1;
|
|
26990
|
+
var tmp_0;
|
|
26991
|
+
if (tmp0_safe_receiver == null) {
|
|
26992
|
+
tmp_0 = null;
|
|
26993
|
+
} else {
|
|
26994
|
+
// Inline function 'kotlin.let' call
|
|
26995
|
+
tmp_0 = 'pem(' + tmp0_safe_receiver.length + ' chars)';
|
|
26996
|
+
}
|
|
26997
|
+
var tmp1_elvis_lhs = tmp_0;
|
|
26998
|
+
tmp.q(tmp1_elvis_lhs == null ? 'mozilla' : tmp1_elvis_lhs);
|
|
26999
|
+
this_0.q(' maxSent=').mc(request.z9g_1);
|
|
27000
|
+
this_0.q(' maxRecv=').mc(request.a9h_1);
|
|
27001
|
+
this_0.q(' tokenSlot=').q(contains(request.x9g_1.c31_1, '{token}') ? 'present' : 'MISSING');
|
|
27002
|
+
this_0.q(' ').q(request.x9g_1.b31_1).q(' ').q(request.x9g_1.c31_1);
|
|
27003
|
+
return this_0.toString();
|
|
27004
|
+
}
|
|
26917
27005
|
function progressLine(event) {
|
|
26918
27006
|
var tmp1_safe_receiver = dynString(event == null ? null : event.step);
|
|
26919
27007
|
var tmp;
|
|
@@ -27011,6 +27099,118 @@ function importModule(url) {
|
|
|
27011
27099
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
27012
27100
|
return import(url);
|
|
27013
27101
|
}
|
|
27102
|
+
function lazyTargetChannel$lambda($onTrace) {
|
|
27103
|
+
return function (line) {
|
|
27104
|
+
var tmp0_safe_receiver = $onTrace;
|
|
27105
|
+
if (tmp0_safe_receiver == null)
|
|
27106
|
+
null;
|
|
27107
|
+
else {
|
|
27108
|
+
// Inline function 'kotlin.let' call
|
|
27109
|
+
// Inline function 'kotlin.runCatching' call
|
|
27110
|
+
var tmp;
|
|
27111
|
+
try {
|
|
27112
|
+
tmp0_safe_receiver(line);
|
|
27113
|
+
// Inline function 'kotlin.Companion.success' call
|
|
27114
|
+
tmp = _Result___init__impl__xyqfz8(Unit_instance);
|
|
27115
|
+
} catch ($p) {
|
|
27116
|
+
var tmp_0;
|
|
27117
|
+
if ($p instanceof Error) {
|
|
27118
|
+
var e = $p;
|
|
27119
|
+
// Inline function 'kotlin.Companion.failure' call
|
|
27120
|
+
tmp_0 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
27121
|
+
} else {
|
|
27122
|
+
throw $p;
|
|
27123
|
+
}
|
|
27124
|
+
tmp = tmp_0;
|
|
27125
|
+
}
|
|
27126
|
+
}
|
|
27127
|
+
return Unit_instance;
|
|
27128
|
+
};
|
|
27129
|
+
}
|
|
27130
|
+
function lazyTargetChannel$lambda_0($settle, $fail) {
|
|
27131
|
+
return function (resolve, reject) {
|
|
27132
|
+
$settle._v = resolve;
|
|
27133
|
+
$fail._v = reject;
|
|
27134
|
+
return Unit_instance;
|
|
27135
|
+
};
|
|
27136
|
+
}
|
|
27137
|
+
function lazyTargetChannel$o$lambda($trace, $startedAt, $resolveReady) {
|
|
27138
|
+
return function (io) {
|
|
27139
|
+
$trace('target dialled in ' + numberToInt(Date.now() - $startedAt) + 'ms');
|
|
27140
|
+
$resolveReady(io);
|
|
27141
|
+
return io;
|
|
27142
|
+
};
|
|
27143
|
+
}
|
|
27144
|
+
function lazyTargetChannel$o$lambda_0($trace, $startedAt, $rejectReady) {
|
|
27145
|
+
return function (cause) {
|
|
27146
|
+
$trace('target dial FAILED after ' + numberToInt(Date.now() - $startedAt) + 'ms \u2014 ' + cause.message);
|
|
27147
|
+
$rejectReady(cause);
|
|
27148
|
+
return null;
|
|
27149
|
+
};
|
|
27150
|
+
}
|
|
27151
|
+
function lazyTargetChannel$o$lambda_1($data) {
|
|
27152
|
+
return function (io) {
|
|
27153
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
27154
|
+
return io.write($data);
|
|
27155
|
+
};
|
|
27156
|
+
}
|
|
27157
|
+
function lazyTargetChannel$o($closed, $dialled, $trace, $connect, $ready, $resolveReady, $rejectReady) {
|
|
27158
|
+
return function (data) {
|
|
27159
|
+
var tmp;
|
|
27160
|
+
if ($closed._v) {
|
|
27161
|
+
return Promise.reject(IllegalStateException_init_$Create$('target channel was written after close'));
|
|
27162
|
+
}
|
|
27163
|
+
var tmp_0;
|
|
27164
|
+
if (!$dialled._v) {
|
|
27165
|
+
$dialled._v = true;
|
|
27166
|
+
var startedAt = Date.now();
|
|
27167
|
+
$trace('target dial \u2014 connecting');
|
|
27168
|
+
var tmp_1 = $connect();
|
|
27169
|
+
var tmp_2 = lazyTargetChannel$o$lambda($trace, startedAt, $resolveReady);
|
|
27170
|
+
tmp_1.then(tmp_2, lazyTargetChannel$o$lambda_0($trace, startedAt, $rejectReady));
|
|
27171
|
+
tmp_0 = Unit_instance;
|
|
27172
|
+
}
|
|
27173
|
+
return $ready.then(lazyTargetChannel$o$lambda_1(data));
|
|
27174
|
+
};
|
|
27175
|
+
}
|
|
27176
|
+
function lazyTargetChannel$lambda$lambda(io) {
|
|
27177
|
+
var tmp;
|
|
27178
|
+
if (io == null) {
|
|
27179
|
+
tmp = null;
|
|
27180
|
+
} else {
|
|
27181
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
27182
|
+
tmp = io.read();
|
|
27183
|
+
}
|
|
27184
|
+
return tmp;
|
|
27185
|
+
}
|
|
27186
|
+
function lazyTargetChannel$lambda_1($ready) {
|
|
27187
|
+
return function () {
|
|
27188
|
+
return $ready.then(lazyTargetChannel$lambda$lambda);
|
|
27189
|
+
};
|
|
27190
|
+
}
|
|
27191
|
+
function lazyTargetChannel$lambda$lambda_0(io) {
|
|
27192
|
+
var tmp;
|
|
27193
|
+
if (io == null) {
|
|
27194
|
+
tmp = null;
|
|
27195
|
+
} else {
|
|
27196
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
27197
|
+
tmp = io.close();
|
|
27198
|
+
}
|
|
27199
|
+
return tmp;
|
|
27200
|
+
}
|
|
27201
|
+
function lazyTargetChannel$lambda_2($closed, $dialled, $ready, $resolveReady) {
|
|
27202
|
+
return function () {
|
|
27203
|
+
$closed._v = true;
|
|
27204
|
+
var tmp;
|
|
27205
|
+
if ($dialled._v) {
|
|
27206
|
+
tmp = $ready.then(lazyTargetChannel$lambda$lambda_0);
|
|
27207
|
+
} else {
|
|
27208
|
+
$resolveReady(null);
|
|
27209
|
+
tmp = Promise.resolve(null);
|
|
27210
|
+
}
|
|
27211
|
+
return tmp;
|
|
27212
|
+
};
|
|
27213
|
+
}
|
|
27014
27214
|
function trackerCoreVersion() {
|
|
27015
27215
|
return '0.1.0-SNAPSHOT';
|
|
27016
27216
|
}
|