@dmarket/p2p-tracker-headless 1.0.4-SNAPSHOT-development.123 → 1.0.4-SNAPSHOT-development.129
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/dmarket-p2p-tracker-core-domain.mjs +1274 -1250
- package/dmarket-p2p-tracker-core-domain.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/kotlinx-coroutines-core.mjs +1 -1
- package/p2p-tracker-core.mjs +6602 -6602
- package/p2p-tracker-headless.mjs +733 -733
- package/p2p-tracker-headless.mjs.map +1 -1
- package/package.json +1 -1
package/p2p-tracker-headless.mjs
CHANGED
|
@@ -294,44 +294,44 @@ function redacted($this, $receiver) {
|
|
|
294
294
|
tmp = $receiver;
|
|
295
295
|
} else {
|
|
296
296
|
if ($receiver instanceof SessionClosed) {
|
|
297
|
-
var tmp1_safe_receiver = $receiver.
|
|
297
|
+
var tmp1_safe_receiver = $receiver.eat_1;
|
|
298
298
|
var tmp_0;
|
|
299
299
|
if (tmp1_safe_receiver == null) {
|
|
300
300
|
tmp_0 = null;
|
|
301
301
|
} else {
|
|
302
302
|
// Inline function 'kotlin.let' call
|
|
303
|
-
tmp_0 = ProverOutput_getInstance().
|
|
303
|
+
tmp_0 = ProverOutput_getInstance().l76(tmp1_safe_receiver);
|
|
304
304
|
}
|
|
305
|
-
tmp = $receiver.
|
|
305
|
+
tmp = $receiver.gau(VOID, tmp_0);
|
|
306
306
|
} else {
|
|
307
307
|
if ($receiver instanceof NotaryUnreachable) {
|
|
308
|
-
tmp = $receiver.
|
|
308
|
+
tmp = $receiver.hau(ProverOutput_getInstance().l76($receiver.hat_1));
|
|
309
309
|
} else {
|
|
310
310
|
if ($receiver instanceof VersionMismatch) {
|
|
311
|
-
tmp = $receiver.
|
|
311
|
+
tmp = $receiver.hau(ProverOutput_getInstance().l76($receiver.kat_1));
|
|
312
312
|
} else {
|
|
313
313
|
if ($receiver instanceof SteamFailed) {
|
|
314
|
-
tmp = $receiver.
|
|
314
|
+
tmp = $receiver.jau(VOID, ProverOutput_getInstance().l76($receiver.oat_1));
|
|
315
315
|
} else {
|
|
316
316
|
if ($receiver instanceof LimitsExceeded) {
|
|
317
|
-
tmp = $receiver.
|
|
317
|
+
tmp = $receiver.hau(ProverOutput_getInstance().l76($receiver.rat_1));
|
|
318
318
|
} else {
|
|
319
319
|
if ($receiver instanceof ProverKilled) {
|
|
320
|
-
var tmp2_safe_receiver = $receiver.
|
|
320
|
+
var tmp2_safe_receiver = $receiver.xat_1;
|
|
321
321
|
var tmp_1;
|
|
322
322
|
if (tmp2_safe_receiver == null) {
|
|
323
323
|
tmp_1 = null;
|
|
324
324
|
} else {
|
|
325
325
|
// Inline function 'kotlin.let' call
|
|
326
|
-
tmp_1 = ProverOutput_getInstance().
|
|
326
|
+
tmp_1 = ProverOutput_getInstance().l76(tmp2_safe_receiver);
|
|
327
327
|
}
|
|
328
|
-
tmp = $receiver.
|
|
328
|
+
tmp = $receiver.oau(VOID, tmp_1);
|
|
329
329
|
} else {
|
|
330
330
|
if ($receiver instanceof NotStarted) {
|
|
331
|
-
tmp = $receiver.
|
|
331
|
+
tmp = $receiver.hau(ProverOutput_getInstance().l76($receiver.aau_1));
|
|
332
332
|
} else {
|
|
333
333
|
if ($receiver instanceof Other) {
|
|
334
|
-
tmp = $receiver.
|
|
334
|
+
tmp = $receiver.hau(ProverOutput_getInstance().l76($receiver.dau_1));
|
|
335
335
|
} else {
|
|
336
336
|
noWhenBranchMatchedException();
|
|
337
337
|
}
|
|
@@ -353,13 +353,13 @@ function ProofOutcomeJson$json$lambda($this$Json) {
|
|
|
353
353
|
function ProofOutcomeJson() {
|
|
354
354
|
ProofOutcomeJson_instance = this;
|
|
355
355
|
var tmp = this;
|
|
356
|
-
tmp.
|
|
356
|
+
tmp.ibx_1 = Json(VOID, ProofOutcomeJson$json$lambda);
|
|
357
357
|
}
|
|
358
|
-
protoOf(ProofOutcomeJson).
|
|
359
|
-
var fields = get_jsonObject(this.
|
|
360
|
-
return (new JsonObject(plus(fields, to('summary', JsonPrimitive(ProverOutput_getInstance().
|
|
358
|
+
protoOf(ProofOutcomeJson).jbx = function (failure) {
|
|
359
|
+
var fields = get_jsonObject(this.ibx_1.e52(Companion_instance_0.r54(), redacted(this, failure)));
|
|
360
|
+
return (new JsonObject(plus(fields, to('summary', JsonPrimitive(ProverOutput_getInstance().l76(failure.eau())))))).toString();
|
|
361
361
|
};
|
|
362
|
-
protoOf(ProofOutcomeJson).
|
|
362
|
+
protoOf(ProofOutcomeJson).kbx = function (message, warning, fields) {
|
|
363
363
|
var head = listOf([to('msg', JsonPrimitive(message)), to('level', JsonPrimitive(warning ? 'warn' : 'info'))]);
|
|
364
364
|
// Inline function 'kotlin.collections.map' call
|
|
365
365
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -390,7 +390,7 @@ function ProofOutcomeJson_getInstance() {
|
|
|
390
390
|
return ProofOutcomeJson_instance;
|
|
391
391
|
}
|
|
392
392
|
function backoff($this, consecutive) {
|
|
393
|
-
var wait = $this.
|
|
393
|
+
var wait = $this.rbx_1;
|
|
394
394
|
// Inline function 'kotlin.repeat' call
|
|
395
395
|
var times = coerceIn(consecutive, 0, 10);
|
|
396
396
|
var inductionVariable = 0;
|
|
@@ -401,39 +401,39 @@ function backoff($this, consecutive) {
|
|
|
401
401
|
wait = Duration__times_impl_sfuzvp(wait, 2);
|
|
402
402
|
}
|
|
403
403
|
while (inductionVariable < times);
|
|
404
|
-
return minOf(new Duration(wait), new Duration($this.
|
|
404
|
+
return minOf(new Duration(wait), new Duration($this.sbx_1)).jf_1;
|
|
405
405
|
}
|
|
406
406
|
function Companion() {
|
|
407
407
|
Companion_instance_2 = this;
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
408
|
+
this.lbx_1 = 401;
|
|
409
|
+
this.mbx_1 = 403;
|
|
410
|
+
this.nbx_1 = numberRangeToNumber(500, 599);
|
|
411
|
+
this.obx_1 = 1013;
|
|
412
|
+
this.pbx_1 = 4029;
|
|
413
|
+
this.qbx_1 = 10;
|
|
414
414
|
var tmp = this;
|
|
415
415
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
416
416
|
Companion_getInstance();
|
|
417
|
-
tmp.
|
|
417
|
+
tmp.rbx_1 = toDuration(30, DurationUnit_SECONDS_getInstance());
|
|
418
418
|
var tmp_0 = this;
|
|
419
419
|
// Inline function 'kotlin.time.Companion.minutes' call
|
|
420
420
|
Companion_getInstance();
|
|
421
|
-
tmp_0.
|
|
421
|
+
tmp_0.sbx_1 = toDuration(5, DurationUnit_MINUTES_getInstance());
|
|
422
422
|
var tmp_1 = this;
|
|
423
423
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
424
424
|
Companion_getInstance();
|
|
425
|
-
tmp_1.
|
|
425
|
+
tmp_1.tbx_1 = toDuration(60, DurationUnit_SECONDS_getInstance());
|
|
426
426
|
}
|
|
427
|
-
protoOf(Companion).
|
|
427
|
+
protoOf(Companion).ubx = function (failure, consecutive) {
|
|
428
428
|
var tmp;
|
|
429
429
|
if (failure instanceof UpgradeRefused) {
|
|
430
|
-
var tmp1_subject = failure.
|
|
430
|
+
var tmp1_subject = failure.aat_1;
|
|
431
431
|
var tmp_0;
|
|
432
432
|
var tmp_1;
|
|
433
433
|
if (tmp1_subject === 401) {
|
|
434
434
|
tmp_1 = true;
|
|
435
435
|
} else {
|
|
436
|
-
var progression = this.
|
|
436
|
+
var progression = this.nbx_1;
|
|
437
437
|
var containsLower = progression.s1_1;
|
|
438
438
|
tmp_1 = tmp1_subject <= progression.t1_1 ? containsLower <= tmp1_subject : false;
|
|
439
439
|
}
|
|
@@ -441,7 +441,7 @@ protoOf(Companion).tbx = function (failure, consecutive) {
|
|
|
441
441
|
tmp_0 = backoff(this, consecutive);
|
|
442
442
|
} else {
|
|
443
443
|
if (tmp1_subject === 403) {
|
|
444
|
-
tmp_0 = this.
|
|
444
|
+
tmp_0 = this.tbx_1;
|
|
445
445
|
} else {
|
|
446
446
|
tmp_0 = null;
|
|
447
447
|
}
|
|
@@ -449,12 +449,12 @@ protoOf(Companion).tbx = function (failure, consecutive) {
|
|
|
449
449
|
tmp = tmp_0;
|
|
450
450
|
} else {
|
|
451
451
|
if (failure instanceof SessionClosed) {
|
|
452
|
-
switch (failure.
|
|
452
|
+
switch (failure.dat_1) {
|
|
453
453
|
case 1013:
|
|
454
454
|
tmp = backoff(this, consecutive);
|
|
455
455
|
break;
|
|
456
456
|
case 4029:
|
|
457
|
-
tmp = this.
|
|
457
|
+
tmp = this.tbx_1;
|
|
458
458
|
break;
|
|
459
459
|
default:
|
|
460
460
|
tmp = null;
|
|
@@ -482,12 +482,12 @@ function Companion_getInstance_2() {
|
|
|
482
482
|
}
|
|
483
483
|
function ProverBackoff() {
|
|
484
484
|
Companion_getInstance_2();
|
|
485
|
-
this.
|
|
486
|
-
this.
|
|
487
|
-
this.
|
|
485
|
+
this.vbx_1 = null;
|
|
486
|
+
this.wbx_1 = 0;
|
|
487
|
+
this.xbx_1 = null;
|
|
488
488
|
}
|
|
489
|
-
protoOf(ProverBackoff).
|
|
490
|
-
var tmp0_elvis_lhs = this.
|
|
489
|
+
protoOf(ProverBackoff).ybx = function (now) {
|
|
490
|
+
var tmp0_elvis_lhs = this.vbx_1;
|
|
491
491
|
var tmp;
|
|
492
492
|
if (tmp0_elvis_lhs == null) {
|
|
493
493
|
return null;
|
|
@@ -497,7 +497,7 @@ protoOf(ProverBackoff).xbx = function (now) {
|
|
|
497
497
|
var until = tmp;
|
|
498
498
|
if (now.bp(until) >= 0)
|
|
499
499
|
return null;
|
|
500
|
-
var tmp1_elvis_lhs = this.
|
|
500
|
+
var tmp1_elvis_lhs = this.xbx_1;
|
|
501
501
|
var after = tmp1_elvis_lhs == null ? 'a refusal' : tmp1_elvis_lhs;
|
|
502
502
|
var tmp_0;
|
|
503
503
|
if (until.equals(Companion_getInstance_0().uo())) {
|
|
@@ -507,8 +507,8 @@ protoOf(ProverBackoff).xbx = function (now) {
|
|
|
507
507
|
}
|
|
508
508
|
return tmp_0;
|
|
509
509
|
};
|
|
510
|
-
protoOf(ProverBackoff).
|
|
511
|
-
var tmp0_elvis_lhs = Companion_getInstance_2().
|
|
510
|
+
protoOf(ProverBackoff).zbx = function (failure, now) {
|
|
511
|
+
var tmp0_elvis_lhs = Companion_getInstance_2().ubx(failure, this.wbx_1);
|
|
512
512
|
var tmp;
|
|
513
513
|
var tmp_0 = tmp0_elvis_lhs;
|
|
514
514
|
if ((tmp_0 == null ? null : new Duration(tmp_0)) == null) {
|
|
@@ -517,24 +517,24 @@ protoOf(ProverBackoff).ybx = function (failure, now) {
|
|
|
517
517
|
tmp = tmp0_elvis_lhs;
|
|
518
518
|
}
|
|
519
519
|
var wait = tmp;
|
|
520
|
-
this.
|
|
521
|
-
this.
|
|
522
|
-
this.
|
|
523
|
-
};
|
|
524
|
-
protoOf(ProverBackoff).zbx = function () {
|
|
525
|
-
this.ubx_1 = null;
|
|
526
|
-
this.vbx_1 = 0;
|
|
527
|
-
this.wbx_1 = null;
|
|
520
|
+
this.wbx_1 = this.wbx_1 + 1 | 0;
|
|
521
|
+
this.xbx_1 = failure.eau();
|
|
522
|
+
this.vbx_1 = equals(wait, Companion_getInstance().lf_1) ? Companion_getInstance_0().uo() : now.yo(wait);
|
|
528
523
|
};
|
|
529
524
|
protoOf(ProverBackoff).aby = function () {
|
|
530
|
-
|
|
531
|
-
|
|
525
|
+
this.vbx_1 = null;
|
|
526
|
+
this.wbx_1 = 0;
|
|
527
|
+
this.xbx_1 = null;
|
|
528
|
+
};
|
|
529
|
+
protoOf(ProverBackoff).bby = function () {
|
|
530
|
+
if (!equals(this.vbx_1, Companion_getInstance_0().uo())) {
|
|
531
|
+
this.aby();
|
|
532
532
|
}
|
|
533
533
|
};
|
|
534
534
|
function Companion_0() {
|
|
535
|
-
this.
|
|
536
|
-
this.
|
|
537
|
-
this.
|
|
535
|
+
this.cby_1 = 2;
|
|
536
|
+
this.dby_1 = 16;
|
|
537
|
+
this.eby_1 = 5;
|
|
538
538
|
}
|
|
539
539
|
var Companion_instance_3;
|
|
540
540
|
function Companion_getInstance_3() {
|
|
@@ -548,27 +548,27 @@ function $serializer() {
|
|
|
548
548
|
tmp0_serialDesc.z2i('assetsDir', false);
|
|
549
549
|
tmp0_serialDesc.z2i('rootStorePem', true);
|
|
550
550
|
tmp0_serialDesc.z2i('targetAddress', true);
|
|
551
|
-
this.
|
|
551
|
+
this.fby_1 = tmp0_serialDesc;
|
|
552
552
|
}
|
|
553
|
-
protoOf($serializer).
|
|
554
|
-
var tmp0_desc = this.
|
|
553
|
+
protoOf($serializer).gby = function (encoder, value) {
|
|
554
|
+
var tmp0_desc = this.fby_1;
|
|
555
555
|
var tmp1_output = encoder.j2b(tmp0_desc);
|
|
556
|
-
tmp1_output.y2c(tmp0_desc, 0, value.
|
|
557
|
-
tmp1_output.t2c(tmp0_desc, 1, value.
|
|
558
|
-
tmp1_output.y2c(tmp0_desc, 2, value.
|
|
559
|
-
if (tmp1_output.g2d(tmp0_desc, 3) ? true : !(value.
|
|
560
|
-
tmp1_output.c2d(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
556
|
+
tmp1_output.y2c(tmp0_desc, 0, value.hby_1);
|
|
557
|
+
tmp1_output.t2c(tmp0_desc, 1, value.iby_1);
|
|
558
|
+
tmp1_output.y2c(tmp0_desc, 2, value.jby_1);
|
|
559
|
+
if (tmp1_output.g2d(tmp0_desc, 3) ? true : !(value.kby_1 == null)) {
|
|
560
|
+
tmp1_output.c2d(tmp0_desc, 3, StringSerializer_getInstance(), value.kby_1);
|
|
561
561
|
}
|
|
562
|
-
if (tmp1_output.g2d(tmp0_desc, 4) ? true : !(value.
|
|
563
|
-
tmp1_output.c2d(tmp0_desc, 4, StringSerializer_getInstance(), value.
|
|
562
|
+
if (tmp1_output.g2d(tmp0_desc, 4) ? true : !(value.lby_1 == null)) {
|
|
563
|
+
tmp1_output.c2d(tmp0_desc, 4, StringSerializer_getInstance(), value.lby_1);
|
|
564
564
|
}
|
|
565
565
|
tmp1_output.k2b(tmp0_desc);
|
|
566
566
|
};
|
|
567
567
|
protoOf($serializer).b28 = function (encoder, value) {
|
|
568
|
-
return this.
|
|
568
|
+
return this.gby(encoder, value instanceof ProverSettings ? value : THROW_CCE());
|
|
569
569
|
};
|
|
570
570
|
protoOf($serializer).c28 = function (decoder) {
|
|
571
|
-
var tmp0_desc = this.
|
|
571
|
+
var tmp0_desc = this.fby_1;
|
|
572
572
|
var tmp1_flag = true;
|
|
573
573
|
var tmp2_index = 0;
|
|
574
574
|
var tmp3_bitMask0 = 0;
|
|
@@ -624,7 +624,7 @@ protoOf($serializer).c28 = function (decoder) {
|
|
|
624
624
|
return ProverSettings_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
625
625
|
};
|
|
626
626
|
protoOf($serializer).a28 = function () {
|
|
627
|
-
return this.
|
|
627
|
+
return this.fby_1;
|
|
628
628
|
};
|
|
629
629
|
protoOf($serializer).q2j = function () {
|
|
630
630
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -640,19 +640,19 @@ function $serializer_getInstance_0() {
|
|
|
640
640
|
}
|
|
641
641
|
function ProverSettings_init_$Init$(seen0, notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress, serializationConstructorMarker, $this) {
|
|
642
642
|
if (!(7 === (7 & seen0))) {
|
|
643
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_0().
|
|
643
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_0().fby_1);
|
|
644
644
|
}
|
|
645
|
-
$this.
|
|
646
|
-
$this.
|
|
647
|
-
$this.
|
|
645
|
+
$this.hby_1 = notaryUrl;
|
|
646
|
+
$this.iby_1 = threadCount;
|
|
647
|
+
$this.jby_1 = assetsDir;
|
|
648
648
|
if (0 === (seen0 & 8))
|
|
649
|
-
$this.
|
|
649
|
+
$this.kby_1 = null;
|
|
650
650
|
else
|
|
651
|
-
$this.
|
|
651
|
+
$this.kby_1 = rootStorePem;
|
|
652
652
|
if (0 === (seen0 & 16))
|
|
653
|
-
$this.
|
|
653
|
+
$this.lby_1 = null;
|
|
654
654
|
else
|
|
655
|
-
$this.
|
|
655
|
+
$this.lby_1 = targetAddress;
|
|
656
656
|
return $this;
|
|
657
657
|
}
|
|
658
658
|
function ProverSettings_init_$Create$(seen0, notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress, serializationConstructorMarker) {
|
|
@@ -661,21 +661,21 @@ function ProverSettings_init_$Create$(seen0, notaryUrl, threadCount, assetsDir,
|
|
|
661
661
|
function ProverSettings(notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress) {
|
|
662
662
|
rootStorePem = rootStorePem === VOID ? null : rootStorePem;
|
|
663
663
|
targetAddress = targetAddress === VOID ? null : targetAddress;
|
|
664
|
-
this.
|
|
665
|
-
this.
|
|
666
|
-
this.
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
664
|
+
this.hby_1 = notaryUrl;
|
|
665
|
+
this.iby_1 = threadCount;
|
|
666
|
+
this.jby_1 = assetsDir;
|
|
667
|
+
this.kby_1 = rootStorePem;
|
|
668
|
+
this.lby_1 = targetAddress;
|
|
669
669
|
}
|
|
670
670
|
protoOf(ProverSettings).toString = function () {
|
|
671
|
-
return 'ProverSettings(notaryUrl=' + this.
|
|
671
|
+
return 'ProverSettings(notaryUrl=' + this.hby_1 + ', threadCount=' + this.iby_1 + ', assetsDir=' + this.jby_1 + ', rootStorePem=' + this.kby_1 + ', targetAddress=' + this.lby_1 + ')';
|
|
672
672
|
};
|
|
673
673
|
protoOf(ProverSettings).hashCode = function () {
|
|
674
|
-
var result = getStringHashCode(this.
|
|
675
|
-
result = imul(result, 31) + this.
|
|
676
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
677
|
-
result = imul(result, 31) + (this.jby_1 == null ? 0 : getStringHashCode(this.jby_1)) | 0;
|
|
674
|
+
var result = getStringHashCode(this.hby_1);
|
|
675
|
+
result = imul(result, 31) + this.iby_1 | 0;
|
|
676
|
+
result = imul(result, 31) + getStringHashCode(this.jby_1) | 0;
|
|
678
677
|
result = imul(result, 31) + (this.kby_1 == null ? 0 : getStringHashCode(this.kby_1)) | 0;
|
|
678
|
+
result = imul(result, 31) + (this.lby_1 == null ? 0 : getStringHashCode(this.lby_1)) | 0;
|
|
679
679
|
return result;
|
|
680
680
|
};
|
|
681
681
|
protoOf(ProverSettings).equals = function (other) {
|
|
@@ -683,16 +683,16 @@ protoOf(ProverSettings).equals = function (other) {
|
|
|
683
683
|
return true;
|
|
684
684
|
if (!(other instanceof ProverSettings))
|
|
685
685
|
return false;
|
|
686
|
-
if (!(this.gby_1 === other.gby_1))
|
|
687
|
-
return false;
|
|
688
686
|
if (!(this.hby_1 === other.hby_1))
|
|
689
687
|
return false;
|
|
690
688
|
if (!(this.iby_1 === other.iby_1))
|
|
691
689
|
return false;
|
|
692
|
-
if (!(this.jby_1
|
|
690
|
+
if (!(this.jby_1 === other.jby_1))
|
|
693
691
|
return false;
|
|
694
692
|
if (!(this.kby_1 == other.kby_1))
|
|
695
693
|
return false;
|
|
694
|
+
if (!(this.lby_1 == other.lby_1))
|
|
695
|
+
return false;
|
|
696
696
|
return true;
|
|
697
697
|
};
|
|
698
698
|
function ProverIpc$json$lambda($this$Json) {
|
|
@@ -704,19 +704,19 @@ function ProverIpc$json$lambda($this$Json) {
|
|
|
704
704
|
function ProverIpc() {
|
|
705
705
|
ProverIpc_instance = this;
|
|
706
706
|
var tmp = this;
|
|
707
|
-
tmp.
|
|
707
|
+
tmp.mby_1 = Json(VOID, ProverIpc$json$lambda);
|
|
708
708
|
}
|
|
709
|
-
protoOf(ProverIpc).mby = function (message) {
|
|
710
|
-
return this.lby_1.c52(Companion_instance_6.r54(), message);
|
|
711
|
-
};
|
|
712
709
|
protoOf(ProverIpc).nby = function (message) {
|
|
713
|
-
return this.
|
|
710
|
+
return this.mby_1.c52(Companion_instance_6.r54(), message);
|
|
714
711
|
};
|
|
715
|
-
protoOf(ProverIpc).oby = function (
|
|
716
|
-
return this.
|
|
712
|
+
protoOf(ProverIpc).oby = function (message) {
|
|
713
|
+
return this.mby_1.c52(Companion_instance_10.r54(), message);
|
|
717
714
|
};
|
|
718
715
|
protoOf(ProverIpc).pby = function (text) {
|
|
719
|
-
return this.
|
|
716
|
+
return this.mby_1.d52(Companion_instance_6.r54(), text);
|
|
717
|
+
};
|
|
718
|
+
protoOf(ProverIpc).qby = function (text) {
|
|
719
|
+
return this.mby_1.d52(Companion_instance_10.r54(), text);
|
|
720
720
|
};
|
|
721
721
|
var ProverIpc_instance;
|
|
722
722
|
function ProverIpc_getInstance() {
|
|
@@ -738,23 +738,23 @@ function $serializer_0() {
|
|
|
738
738
|
tmp0_serialDesc.z2i('steamAccessToken', false);
|
|
739
739
|
tmp0_serialDesc.z2i('steamSessionId', false);
|
|
740
740
|
tmp0_serialDesc.z2i('settings', false);
|
|
741
|
-
this.
|
|
741
|
+
this.rby_1 = tmp0_serialDesc;
|
|
742
742
|
}
|
|
743
|
-
protoOf($serializer_0).
|
|
744
|
-
var tmp0_desc = this.
|
|
743
|
+
protoOf($serializer_0).sby = function (encoder, value) {
|
|
744
|
+
var tmp0_desc = this.rby_1;
|
|
745
745
|
var tmp1_output = encoder.j2b(tmp0_desc);
|
|
746
|
-
tmp1_output.t2c(tmp0_desc, 0, value.
|
|
747
|
-
tmp1_output.a2d(tmp0_desc, 1, $serializer_getInstance(), value.
|
|
748
|
-
tmp1_output.y2c(tmp0_desc, 2, value.
|
|
749
|
-
tmp1_output.y2c(tmp0_desc, 3, value.
|
|
750
|
-
tmp1_output.a2d(tmp0_desc, 4, $serializer_getInstance_0(), value.
|
|
746
|
+
tmp1_output.t2c(tmp0_desc, 0, value.tby_1);
|
|
747
|
+
tmp1_output.a2d(tmp0_desc, 1, $serializer_getInstance(), value.uby_1);
|
|
748
|
+
tmp1_output.y2c(tmp0_desc, 2, value.vby_1);
|
|
749
|
+
tmp1_output.y2c(tmp0_desc, 3, value.wby_1);
|
|
750
|
+
tmp1_output.a2d(tmp0_desc, 4, $serializer_getInstance_0(), value.xby_1);
|
|
751
751
|
tmp1_output.k2b(tmp0_desc);
|
|
752
752
|
};
|
|
753
753
|
protoOf($serializer_0).b28 = function (encoder, value) {
|
|
754
|
-
return this.
|
|
754
|
+
return this.sby(encoder, value instanceof Prove ? value : THROW_CCE());
|
|
755
755
|
};
|
|
756
756
|
protoOf($serializer_0).c28 = function (decoder) {
|
|
757
|
-
var tmp0_desc = this.
|
|
757
|
+
var tmp0_desc = this.rby_1;
|
|
758
758
|
var tmp1_flag = true;
|
|
759
759
|
var tmp2_index = 0;
|
|
760
760
|
var tmp3_bitMask0 = 0;
|
|
@@ -810,7 +810,7 @@ protoOf($serializer_0).c28 = function (decoder) {
|
|
|
810
810
|
return Prove_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
811
811
|
};
|
|
812
812
|
protoOf($serializer_0).a28 = function () {
|
|
813
|
-
return this.
|
|
813
|
+
return this.rby_1;
|
|
814
814
|
};
|
|
815
815
|
protoOf($serializer_0).q2j = function () {
|
|
816
816
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -826,13 +826,13 @@ function $serializer_getInstance_1() {
|
|
|
826
826
|
}
|
|
827
827
|
function Prove_init_$Init$(seen0, id, request, steamAccessToken, steamSessionId, settings, serializationConstructorMarker, $this) {
|
|
828
828
|
if (!(31 === (31 & seen0))) {
|
|
829
|
-
throwMissingFieldException(seen0, 31, $serializer_getInstance_1().
|
|
829
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_1().rby_1);
|
|
830
830
|
}
|
|
831
|
-
$this.
|
|
832
|
-
$this.
|
|
833
|
-
$this.
|
|
834
|
-
$this.
|
|
835
|
-
$this.
|
|
831
|
+
$this.tby_1 = id;
|
|
832
|
+
$this.uby_1 = request;
|
|
833
|
+
$this.vby_1 = steamAccessToken;
|
|
834
|
+
$this.wby_1 = steamSessionId;
|
|
835
|
+
$this.xby_1 = settings;
|
|
836
836
|
return $this;
|
|
837
837
|
}
|
|
838
838
|
function Prove_init_$Create$(seen0, id, request, steamAccessToken, steamSessionId, settings, serializationConstructorMarker) {
|
|
@@ -848,7 +848,7 @@ function Companion_2() {
|
|
|
848
848
|
// Inline function 'kotlin.arrayOf' call
|
|
849
849
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
850
850
|
// Inline function 'kotlin.js.asDynamic' call
|
|
851
|
-
tmp.
|
|
851
|
+
tmp.yby_1 = [null, lazy(tmp_0, ToChild$Headers$Companion$$childSerializers$_anonymous__tbifd3), null];
|
|
852
852
|
}
|
|
853
853
|
var Companion_instance_5;
|
|
854
854
|
function Companion_getInstance_5() {
|
|
@@ -862,26 +862,26 @@ function $serializer_1() {
|
|
|
862
862
|
tmp0_serialDesc.z2i('id', false);
|
|
863
863
|
tmp0_serialDesc.z2i('headers', true);
|
|
864
864
|
tmp0_serialDesc.z2i('error', true);
|
|
865
|
-
this.
|
|
865
|
+
this.zby_1 = tmp0_serialDesc;
|
|
866
866
|
}
|
|
867
|
-
protoOf($serializer_1).
|
|
868
|
-
var tmp0_desc = this.
|
|
867
|
+
protoOf($serializer_1).abz = function (encoder, value) {
|
|
868
|
+
var tmp0_desc = this.zby_1;
|
|
869
869
|
var tmp1_output = encoder.j2b(tmp0_desc);
|
|
870
|
-
var tmp2_cached = Companion_getInstance_5().
|
|
871
|
-
tmp1_output.t2c(tmp0_desc, 0, value.
|
|
872
|
-
if (tmp1_output.g2d(tmp0_desc, 1) ? true : !(value.
|
|
873
|
-
tmp1_output.c2d(tmp0_desc, 1, tmp2_cached[1].p1(), value.
|
|
870
|
+
var tmp2_cached = Companion_getInstance_5().yby_1;
|
|
871
|
+
tmp1_output.t2c(tmp0_desc, 0, value.bbz_1);
|
|
872
|
+
if (tmp1_output.g2d(tmp0_desc, 1) ? true : !(value.cbz_1 == null)) {
|
|
873
|
+
tmp1_output.c2d(tmp0_desc, 1, tmp2_cached[1].p1(), value.cbz_1);
|
|
874
874
|
}
|
|
875
|
-
if (tmp1_output.g2d(tmp0_desc, 2) ? true : !(value.
|
|
876
|
-
tmp1_output.c2d(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
875
|
+
if (tmp1_output.g2d(tmp0_desc, 2) ? true : !(value.dbz_1 == null)) {
|
|
876
|
+
tmp1_output.c2d(tmp0_desc, 2, StringSerializer_getInstance(), value.dbz_1);
|
|
877
877
|
}
|
|
878
878
|
tmp1_output.k2b(tmp0_desc);
|
|
879
879
|
};
|
|
880
880
|
protoOf($serializer_1).b28 = function (encoder, value) {
|
|
881
|
-
return this.
|
|
881
|
+
return this.abz(encoder, value instanceof Headers ? value : THROW_CCE());
|
|
882
882
|
};
|
|
883
883
|
protoOf($serializer_1).c28 = function (decoder) {
|
|
884
|
-
var tmp0_desc = this.
|
|
884
|
+
var tmp0_desc = this.zby_1;
|
|
885
885
|
var tmp1_flag = true;
|
|
886
886
|
var tmp2_index = 0;
|
|
887
887
|
var tmp3_bitMask0 = 0;
|
|
@@ -889,7 +889,7 @@ protoOf($serializer_1).c28 = function (decoder) {
|
|
|
889
889
|
var tmp5_local1 = null;
|
|
890
890
|
var tmp6_local2 = null;
|
|
891
891
|
var tmp7_input = decoder.j2b(tmp0_desc);
|
|
892
|
-
var tmp8_cached = Companion_getInstance_5().
|
|
892
|
+
var tmp8_cached = Companion_getInstance_5().yby_1;
|
|
893
893
|
if (tmp7_input.z2b()) {
|
|
894
894
|
tmp4_local0 = tmp7_input.o2b(tmp0_desc, 0);
|
|
895
895
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -924,10 +924,10 @@ protoOf($serializer_1).c28 = function (decoder) {
|
|
|
924
924
|
return Headers_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
925
925
|
};
|
|
926
926
|
protoOf($serializer_1).a28 = function () {
|
|
927
|
-
return this.
|
|
927
|
+
return this.zby_1;
|
|
928
928
|
};
|
|
929
929
|
protoOf($serializer_1).q2j = function () {
|
|
930
|
-
var tmp0_cached = Companion_getInstance_5().
|
|
930
|
+
var tmp0_cached = Companion_getInstance_5().yby_1;
|
|
931
931
|
// Inline function 'kotlin.arrayOf' call
|
|
932
932
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
933
933
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -941,38 +941,38 @@ function $serializer_getInstance_2() {
|
|
|
941
941
|
}
|
|
942
942
|
function Headers_init_$Init$(seen0, id, headers, error, serializationConstructorMarker, $this) {
|
|
943
943
|
if (!(1 === (1 & seen0))) {
|
|
944
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
944
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().zby_1);
|
|
945
945
|
}
|
|
946
|
-
$this.
|
|
946
|
+
$this.bbz_1 = id;
|
|
947
947
|
if (0 === (seen0 & 2))
|
|
948
|
-
$this.
|
|
948
|
+
$this.cbz_1 = null;
|
|
949
949
|
else
|
|
950
|
-
$this.
|
|
950
|
+
$this.cbz_1 = headers;
|
|
951
951
|
if (0 === (seen0 & 4))
|
|
952
|
-
$this.
|
|
952
|
+
$this.dbz_1 = null;
|
|
953
953
|
else
|
|
954
|
-
$this.
|
|
954
|
+
$this.dbz_1 = error;
|
|
955
955
|
return $this;
|
|
956
956
|
}
|
|
957
957
|
function Headers_init_$Create$(seen0, id, headers, error, serializationConstructorMarker) {
|
|
958
958
|
return Headers_init_$Init$(seen0, id, headers, error, serializationConstructorMarker, objectCreate(protoOf(Headers)));
|
|
959
959
|
}
|
|
960
960
|
function Prove(id, request, steamAccessToken, steamSessionId, settings) {
|
|
961
|
-
this.
|
|
962
|
-
this.
|
|
963
|
-
this.
|
|
964
|
-
this.
|
|
965
|
-
this.
|
|
961
|
+
this.tby_1 = id;
|
|
962
|
+
this.uby_1 = request;
|
|
963
|
+
this.vby_1 = steamAccessToken;
|
|
964
|
+
this.wby_1 = steamSessionId;
|
|
965
|
+
this.xby_1 = settings;
|
|
966
966
|
}
|
|
967
967
|
protoOf(Prove).toString = function () {
|
|
968
|
-
return 'Prove(id=' + this.
|
|
968
|
+
return 'Prove(id=' + this.tby_1 + ', request=' + this.uby_1.toString() + ', steamAccessToken=<redacted>, steamSessionId=<redacted>)';
|
|
969
969
|
};
|
|
970
970
|
protoOf(Prove).hashCode = function () {
|
|
971
|
-
var result = this.
|
|
972
|
-
result = imul(result, 31) + this.
|
|
973
|
-
result = imul(result, 31) + getStringHashCode(this.uby_1) | 0;
|
|
971
|
+
var result = this.tby_1;
|
|
972
|
+
result = imul(result, 31) + this.uby_1.hashCode() | 0;
|
|
974
973
|
result = imul(result, 31) + getStringHashCode(this.vby_1) | 0;
|
|
975
|
-
result = imul(result, 31) + this.wby_1
|
|
974
|
+
result = imul(result, 31) + getStringHashCode(this.wby_1) | 0;
|
|
975
|
+
result = imul(result, 31) + this.xby_1.hashCode() | 0;
|
|
976
976
|
return result;
|
|
977
977
|
};
|
|
978
978
|
protoOf(Prove).equals = function (other) {
|
|
@@ -980,15 +980,15 @@ protoOf(Prove).equals = function (other) {
|
|
|
980
980
|
return true;
|
|
981
981
|
if (!(other instanceof Prove))
|
|
982
982
|
return false;
|
|
983
|
-
if (!(this.
|
|
984
|
-
return false;
|
|
985
|
-
if (!this.tby_1.equals(other.tby_1))
|
|
983
|
+
if (!(this.tby_1 === other.tby_1))
|
|
986
984
|
return false;
|
|
987
|
-
if (!
|
|
985
|
+
if (!this.uby_1.equals(other.uby_1))
|
|
988
986
|
return false;
|
|
989
987
|
if (!(this.vby_1 === other.vby_1))
|
|
990
988
|
return false;
|
|
991
|
-
if (!this.wby_1
|
|
989
|
+
if (!(this.wby_1 === other.wby_1))
|
|
990
|
+
return false;
|
|
991
|
+
if (!this.xby_1.equals(other.xby_1))
|
|
992
992
|
return false;
|
|
993
993
|
return true;
|
|
994
994
|
};
|
|
@@ -996,18 +996,18 @@ function Headers(id, headers, error) {
|
|
|
996
996
|
Companion_getInstance_5();
|
|
997
997
|
headers = headers === VOID ? null : headers;
|
|
998
998
|
error = error === VOID ? null : error;
|
|
999
|
-
this.
|
|
1000
|
-
this.
|
|
1001
|
-
this.
|
|
999
|
+
this.bbz_1 = id;
|
|
1000
|
+
this.cbz_1 = headers;
|
|
1001
|
+
this.dbz_1 = error;
|
|
1002
1002
|
}
|
|
1003
1003
|
protoOf(Headers).toString = function () {
|
|
1004
|
-
var tmp0_safe_receiver = this.
|
|
1005
|
-
return 'Headers(id=' + this.
|
|
1004
|
+
var tmp0_safe_receiver = this.cbz_1;
|
|
1005
|
+
return 'Headers(id=' + this.bbz_1 + ', headers=' + toString(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x2()) + ': <redacted>, error=' + this.dbz_1 + ')';
|
|
1006
1006
|
};
|
|
1007
1007
|
protoOf(Headers).hashCode = function () {
|
|
1008
|
-
var result = this.
|
|
1009
|
-
result = imul(result, 31) + (this.
|
|
1010
|
-
result = imul(result, 31) + (this.
|
|
1008
|
+
var result = this.bbz_1;
|
|
1009
|
+
result = imul(result, 31) + (this.cbz_1 == null ? 0 : hashCode(this.cbz_1)) | 0;
|
|
1010
|
+
result = imul(result, 31) + (this.dbz_1 == null ? 0 : getStringHashCode(this.dbz_1)) | 0;
|
|
1011
1011
|
return result;
|
|
1012
1012
|
};
|
|
1013
1013
|
protoOf(Headers).equals = function (other) {
|
|
@@ -1015,11 +1015,11 @@ protoOf(Headers).equals = function (other) {
|
|
|
1015
1015
|
return true;
|
|
1016
1016
|
if (!(other instanceof Headers))
|
|
1017
1017
|
return false;
|
|
1018
|
-
if (!(this.
|
|
1018
|
+
if (!(this.bbz_1 === other.bbz_1))
|
|
1019
1019
|
return false;
|
|
1020
|
-
if (!equals(this.
|
|
1020
|
+
if (!equals(this.cbz_1, other.cbz_1))
|
|
1021
1021
|
return false;
|
|
1022
|
-
if (!(this.
|
|
1022
|
+
if (!(this.dbz_1 == other.dbz_1))
|
|
1023
1023
|
return false;
|
|
1024
1024
|
return true;
|
|
1025
1025
|
};
|
|
@@ -1060,19 +1060,19 @@ function $serializer_2() {
|
|
|
1060
1060
|
$serializer_instance_2 = this;
|
|
1061
1061
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('headers_wanted', this, 1);
|
|
1062
1062
|
tmp0_serialDesc.z2i('id', false);
|
|
1063
|
-
this.
|
|
1063
|
+
this.ebz_1 = tmp0_serialDesc;
|
|
1064
1064
|
}
|
|
1065
|
-
protoOf($serializer_2).
|
|
1066
|
-
var tmp0_desc = this.
|
|
1065
|
+
protoOf($serializer_2).fbz = function (encoder, value) {
|
|
1066
|
+
var tmp0_desc = this.ebz_1;
|
|
1067
1067
|
var tmp1_output = encoder.j2b(tmp0_desc);
|
|
1068
|
-
tmp1_output.t2c(tmp0_desc, 0, value.
|
|
1068
|
+
tmp1_output.t2c(tmp0_desc, 0, value.gbz_1);
|
|
1069
1069
|
tmp1_output.k2b(tmp0_desc);
|
|
1070
1070
|
};
|
|
1071
1071
|
protoOf($serializer_2).b28 = function (encoder, value) {
|
|
1072
|
-
return this.
|
|
1072
|
+
return this.fbz(encoder, value instanceof HeadersWanted ? value : THROW_CCE());
|
|
1073
1073
|
};
|
|
1074
1074
|
protoOf($serializer_2).c28 = function (decoder) {
|
|
1075
|
-
var tmp0_desc = this.
|
|
1075
|
+
var tmp0_desc = this.ebz_1;
|
|
1076
1076
|
var tmp1_flag = true;
|
|
1077
1077
|
var tmp2_index = 0;
|
|
1078
1078
|
var tmp3_bitMask0 = 0;
|
|
@@ -1100,7 +1100,7 @@ protoOf($serializer_2).c28 = function (decoder) {
|
|
|
1100
1100
|
return HeadersWanted_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1101
1101
|
};
|
|
1102
1102
|
protoOf($serializer_2).a28 = function () {
|
|
1103
|
-
return this.
|
|
1103
|
+
return this.ebz_1;
|
|
1104
1104
|
};
|
|
1105
1105
|
protoOf($serializer_2).q2j = function () {
|
|
1106
1106
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1116,9 +1116,9 @@ function $serializer_getInstance_3() {
|
|
|
1116
1116
|
}
|
|
1117
1117
|
function HeadersWanted_init_$Init$(seen0, id, serializationConstructorMarker, $this) {
|
|
1118
1118
|
if (!(1 === (1 & seen0))) {
|
|
1119
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
1119
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().ebz_1);
|
|
1120
1120
|
}
|
|
1121
|
-
$this.
|
|
1121
|
+
$this.gbz_1 = id;
|
|
1122
1122
|
return $this;
|
|
1123
1123
|
}
|
|
1124
1124
|
function HeadersWanted_init_$Create$(seen0, id, serializationConstructorMarker) {
|
|
@@ -1135,20 +1135,20 @@ function $serializer_3() {
|
|
|
1135
1135
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('proved', this, 2);
|
|
1136
1136
|
tmp0_serialDesc.z2i('id', false);
|
|
1137
1137
|
tmp0_serialDesc.z2i('presentation', false);
|
|
1138
|
-
this.
|
|
1138
|
+
this.hbz_1 = tmp0_serialDesc;
|
|
1139
1139
|
}
|
|
1140
|
-
protoOf($serializer_3).
|
|
1141
|
-
var tmp0_desc = this.
|
|
1140
|
+
protoOf($serializer_3).ibz = function (encoder, value) {
|
|
1141
|
+
var tmp0_desc = this.hbz_1;
|
|
1142
1142
|
var tmp1_output = encoder.j2b(tmp0_desc);
|
|
1143
|
-
tmp1_output.t2c(tmp0_desc, 0, value.
|
|
1144
|
-
tmp1_output.y2c(tmp0_desc, 1, value.
|
|
1143
|
+
tmp1_output.t2c(tmp0_desc, 0, value.jbz_1);
|
|
1144
|
+
tmp1_output.y2c(tmp0_desc, 1, value.kbz_1);
|
|
1145
1145
|
tmp1_output.k2b(tmp0_desc);
|
|
1146
1146
|
};
|
|
1147
1147
|
protoOf($serializer_3).b28 = function (encoder, value) {
|
|
1148
|
-
return this.
|
|
1148
|
+
return this.ibz(encoder, value instanceof Proved_0 ? value : THROW_CCE());
|
|
1149
1149
|
};
|
|
1150
1150
|
protoOf($serializer_3).c28 = function (decoder) {
|
|
1151
|
-
var tmp0_desc = this.
|
|
1151
|
+
var tmp0_desc = this.hbz_1;
|
|
1152
1152
|
var tmp1_flag = true;
|
|
1153
1153
|
var tmp2_index = 0;
|
|
1154
1154
|
var tmp3_bitMask0 = 0;
|
|
@@ -1183,7 +1183,7 @@ protoOf($serializer_3).c28 = function (decoder) {
|
|
|
1183
1183
|
return Proved_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1184
1184
|
};
|
|
1185
1185
|
protoOf($serializer_3).a28 = function () {
|
|
1186
|
-
return this.
|
|
1186
|
+
return this.hbz_1;
|
|
1187
1187
|
};
|
|
1188
1188
|
protoOf($serializer_3).q2j = function () {
|
|
1189
1189
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1199,10 +1199,10 @@ function $serializer_getInstance_4() {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
function Proved_init_$Init$(seen0, id, presentation, serializationConstructorMarker, $this) {
|
|
1201
1201
|
if (!(3 === (3 & seen0))) {
|
|
1202
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
1202
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().hbz_1);
|
|
1203
1203
|
}
|
|
1204
|
-
$this.
|
|
1205
|
-
$this.
|
|
1204
|
+
$this.jbz_1 = id;
|
|
1205
|
+
$this.kbz_1 = presentation;
|
|
1206
1206
|
return $this;
|
|
1207
1207
|
}
|
|
1208
1208
|
function Proved_init_$Create$(seen0, id, presentation, serializationConstructorMarker) {
|
|
@@ -1218,7 +1218,7 @@ function Companion_6() {
|
|
|
1218
1218
|
// Inline function 'kotlin.arrayOf' call
|
|
1219
1219
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1220
1220
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1221
|
-
tmp.
|
|
1221
|
+
tmp.lbz_1 = [null, lazy(tmp_0, FromChild$Failed$Companion$$childSerializers$_anonymous__8w30xx)];
|
|
1222
1222
|
}
|
|
1223
1223
|
var Companion_instance_9;
|
|
1224
1224
|
function Companion_getInstance_9() {
|
|
@@ -1231,28 +1231,28 @@ function $serializer_4() {
|
|
|
1231
1231
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('failed', this, 2);
|
|
1232
1232
|
tmp0_serialDesc.z2i('id', false);
|
|
1233
1233
|
tmp0_serialDesc.z2i('failure', false);
|
|
1234
|
-
this.
|
|
1234
|
+
this.mbz_1 = tmp0_serialDesc;
|
|
1235
1235
|
}
|
|
1236
|
-
protoOf($serializer_4).
|
|
1237
|
-
var tmp0_desc = this.
|
|
1236
|
+
protoOf($serializer_4).nbz = function (encoder, value) {
|
|
1237
|
+
var tmp0_desc = this.mbz_1;
|
|
1238
1238
|
var tmp1_output = encoder.j2b(tmp0_desc);
|
|
1239
|
-
var tmp2_cached = Companion_getInstance_9().
|
|
1240
|
-
tmp1_output.t2c(tmp0_desc, 0, value.
|
|
1241
|
-
tmp1_output.a2d(tmp0_desc, 1, tmp2_cached[1].p1(), value.
|
|
1239
|
+
var tmp2_cached = Companion_getInstance_9().lbz_1;
|
|
1240
|
+
tmp1_output.t2c(tmp0_desc, 0, value.obz_1);
|
|
1241
|
+
tmp1_output.a2d(tmp0_desc, 1, tmp2_cached[1].p1(), value.pbz_1);
|
|
1242
1242
|
tmp1_output.k2b(tmp0_desc);
|
|
1243
1243
|
};
|
|
1244
1244
|
protoOf($serializer_4).b28 = function (encoder, value) {
|
|
1245
|
-
return this.
|
|
1245
|
+
return this.nbz(encoder, value instanceof Failed_0 ? value : THROW_CCE());
|
|
1246
1246
|
};
|
|
1247
1247
|
protoOf($serializer_4).c28 = function (decoder) {
|
|
1248
|
-
var tmp0_desc = this.
|
|
1248
|
+
var tmp0_desc = this.mbz_1;
|
|
1249
1249
|
var tmp1_flag = true;
|
|
1250
1250
|
var tmp2_index = 0;
|
|
1251
1251
|
var tmp3_bitMask0 = 0;
|
|
1252
1252
|
var tmp4_local0 = 0;
|
|
1253
1253
|
var tmp5_local1 = null;
|
|
1254
1254
|
var tmp6_input = decoder.j2b(tmp0_desc);
|
|
1255
|
-
var tmp7_cached = Companion_getInstance_9().
|
|
1255
|
+
var tmp7_cached = Companion_getInstance_9().lbz_1;
|
|
1256
1256
|
if (tmp6_input.z2b()) {
|
|
1257
1257
|
tmp4_local0 = tmp6_input.o2b(tmp0_desc, 0);
|
|
1258
1258
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -1281,10 +1281,10 @@ protoOf($serializer_4).c28 = function (decoder) {
|
|
|
1281
1281
|
return Failed_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1282
1282
|
};
|
|
1283
1283
|
protoOf($serializer_4).a28 = function () {
|
|
1284
|
-
return this.
|
|
1284
|
+
return this.mbz_1;
|
|
1285
1285
|
};
|
|
1286
1286
|
protoOf($serializer_4).q2j = function () {
|
|
1287
|
-
var tmp0_cached = Companion_getInstance_9().
|
|
1287
|
+
var tmp0_cached = Companion_getInstance_9().lbz_1;
|
|
1288
1288
|
// Inline function 'kotlin.arrayOf' call
|
|
1289
1289
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1290
1290
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1298,49 +1298,49 @@ function $serializer_getInstance_5() {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
function Failed_init_$Init$(seen0, id, failure, serializationConstructorMarker, $this) {
|
|
1300
1300
|
if (!(3 === (3 & seen0))) {
|
|
1301
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
1301
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().mbz_1);
|
|
1302
1302
|
}
|
|
1303
|
-
$this.
|
|
1304
|
-
$this.
|
|
1303
|
+
$this.obz_1 = id;
|
|
1304
|
+
$this.pbz_1 = failure;
|
|
1305
1305
|
return $this;
|
|
1306
1306
|
}
|
|
1307
1307
|
function Failed_init_$Create$(seen0, id, failure, serializationConstructorMarker) {
|
|
1308
1308
|
return Failed_init_$Init$(seen0, id, failure, serializationConstructorMarker, objectCreate(protoOf(Failed_0)));
|
|
1309
1309
|
}
|
|
1310
1310
|
function HeadersWanted(id) {
|
|
1311
|
-
this.
|
|
1311
|
+
this.gbz_1 = id;
|
|
1312
1312
|
}
|
|
1313
|
-
protoOf(HeadersWanted).
|
|
1314
|
-
return this.
|
|
1313
|
+
protoOf(HeadersWanted).q6b = function () {
|
|
1314
|
+
return this.gbz_1;
|
|
1315
1315
|
};
|
|
1316
1316
|
protoOf(HeadersWanted).toString = function () {
|
|
1317
|
-
return 'HeadersWanted(id=' + this.
|
|
1317
|
+
return 'HeadersWanted(id=' + this.gbz_1 + ')';
|
|
1318
1318
|
};
|
|
1319
1319
|
protoOf(HeadersWanted).hashCode = function () {
|
|
1320
|
-
return this.
|
|
1320
|
+
return this.gbz_1;
|
|
1321
1321
|
};
|
|
1322
1322
|
protoOf(HeadersWanted).equals = function (other) {
|
|
1323
1323
|
if (this === other)
|
|
1324
1324
|
return true;
|
|
1325
1325
|
if (!(other instanceof HeadersWanted))
|
|
1326
1326
|
return false;
|
|
1327
|
-
if (!(this.
|
|
1327
|
+
if (!(this.gbz_1 === other.gbz_1))
|
|
1328
1328
|
return false;
|
|
1329
1329
|
return true;
|
|
1330
1330
|
};
|
|
1331
1331
|
function Proved_0(id, presentation) {
|
|
1332
|
-
this.
|
|
1333
|
-
this.
|
|
1332
|
+
this.jbz_1 = id;
|
|
1333
|
+
this.kbz_1 = presentation;
|
|
1334
1334
|
}
|
|
1335
|
-
protoOf(Proved_0).
|
|
1336
|
-
return this.
|
|
1335
|
+
protoOf(Proved_0).q6b = function () {
|
|
1336
|
+
return this.jbz_1;
|
|
1337
1337
|
};
|
|
1338
1338
|
protoOf(Proved_0).toString = function () {
|
|
1339
|
-
return 'Proved(id=' + this.
|
|
1339
|
+
return 'Proved(id=' + this.jbz_1 + ', presentation=' + this.kbz_1 + ')';
|
|
1340
1340
|
};
|
|
1341
1341
|
protoOf(Proved_0).hashCode = function () {
|
|
1342
|
-
var result = this.
|
|
1343
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1342
|
+
var result = this.jbz_1;
|
|
1343
|
+
result = imul(result, 31) + getStringHashCode(this.kbz_1) | 0;
|
|
1344
1344
|
return result;
|
|
1345
1345
|
};
|
|
1346
1346
|
protoOf(Proved_0).equals = function (other) {
|
|
@@ -1348,26 +1348,26 @@ protoOf(Proved_0).equals = function (other) {
|
|
|
1348
1348
|
return true;
|
|
1349
1349
|
if (!(other instanceof Proved_0))
|
|
1350
1350
|
return false;
|
|
1351
|
-
if (!(this.ibz_1 === other.ibz_1))
|
|
1352
|
-
return false;
|
|
1353
1351
|
if (!(this.jbz_1 === other.jbz_1))
|
|
1354
1352
|
return false;
|
|
1353
|
+
if (!(this.kbz_1 === other.kbz_1))
|
|
1354
|
+
return false;
|
|
1355
1355
|
return true;
|
|
1356
1356
|
};
|
|
1357
1357
|
function Failed_0(id, failure) {
|
|
1358
1358
|
Companion_getInstance_9();
|
|
1359
|
-
this.
|
|
1360
|
-
this.
|
|
1359
|
+
this.obz_1 = id;
|
|
1360
|
+
this.pbz_1 = failure;
|
|
1361
1361
|
}
|
|
1362
|
-
protoOf(Failed_0).
|
|
1363
|
-
return this.
|
|
1362
|
+
protoOf(Failed_0).q6b = function () {
|
|
1363
|
+
return this.obz_1;
|
|
1364
1364
|
};
|
|
1365
1365
|
protoOf(Failed_0).toString = function () {
|
|
1366
|
-
return 'Failed(id=' + this.
|
|
1366
|
+
return 'Failed(id=' + this.obz_1 + ', failure=' + toString_0(this.pbz_1) + ')';
|
|
1367
1367
|
};
|
|
1368
1368
|
protoOf(Failed_0).hashCode = function () {
|
|
1369
|
-
var result = this.
|
|
1370
|
-
result = imul(result, 31) + hashCode(this.
|
|
1369
|
+
var result = this.obz_1;
|
|
1370
|
+
result = imul(result, 31) + hashCode(this.pbz_1) | 0;
|
|
1371
1371
|
return result;
|
|
1372
1372
|
};
|
|
1373
1373
|
protoOf(Failed_0).equals = function (other) {
|
|
@@ -1375,9 +1375,9 @@ protoOf(Failed_0).equals = function (other) {
|
|
|
1375
1375
|
return true;
|
|
1376
1376
|
if (!(other instanceof Failed_0))
|
|
1377
1377
|
return false;
|
|
1378
|
-
if (!(this.
|
|
1378
|
+
if (!(this.obz_1 === other.obz_1))
|
|
1379
1379
|
return false;
|
|
1380
|
-
if (!equals(this.
|
|
1380
|
+
if (!equals(this.pbz_1, other.pbz_1))
|
|
1381
1381
|
return false;
|
|
1382
1382
|
return true;
|
|
1383
1383
|
};
|
|
@@ -1410,12 +1410,12 @@ function FromChild() {
|
|
|
1410
1410
|
}
|
|
1411
1411
|
function ProverOutput() {
|
|
1412
1412
|
ProverOutput_instance = this;
|
|
1413
|
-
this.
|
|
1414
|
-
this.
|
|
1413
|
+
this.gbx_1 = NetworkRedaction_getInstance().m66('access_token');
|
|
1414
|
+
this.hbx_1 = 2000;
|
|
1415
1415
|
}
|
|
1416
|
-
protoOf(ProverOutput).
|
|
1416
|
+
protoOf(ProverOutput).l76 = function (line) {
|
|
1417
1417
|
// Inline function 'kotlin.text.orEmpty' call
|
|
1418
|
-
var tmp0_elvis_lhs = NetworkRedaction_getInstance().
|
|
1418
|
+
var tmp0_elvis_lhs = NetworkRedaction_getInstance().l66(TradingApiSignature_getInstance().l76(line), this.gbx_1, 2000);
|
|
1419
1419
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1420
1420
|
};
|
|
1421
1421
|
var ProverOutput_instance;
|
|
@@ -1439,15 +1439,15 @@ function headlessVersion() {
|
|
|
1439
1439
|
}
|
|
1440
1440
|
function createHeadlessTracker(options) {
|
|
1441
1441
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
1442
|
-
return create(Companion_getInstance_11().
|
|
1442
|
+
return create(Companion_getInstance_11().sbz(options), null, null, null);
|
|
1443
1443
|
}
|
|
1444
1444
|
function start(handle) {
|
|
1445
1445
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
1446
1446
|
var entry = entryOf(handle);
|
|
1447
|
-
if (entry.
|
|
1447
|
+
if (entry.wbz_1)
|
|
1448
1448
|
return Unit_instance;
|
|
1449
|
-
entry.
|
|
1450
|
-
entry.
|
|
1449
|
+
entry.wbz_1 = true;
|
|
1450
|
+
entry.tbz_1.tb8();
|
|
1451
1451
|
}
|
|
1452
1452
|
function cycle(handle) {
|
|
1453
1453
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
@@ -1463,15 +1463,15 @@ function stop(handle) {
|
|
|
1463
1463
|
tmp = tmp0_elvis_lhs;
|
|
1464
1464
|
}
|
|
1465
1465
|
var entry = tmp;
|
|
1466
|
-
if (!entry.
|
|
1467
|
-
entry.
|
|
1468
|
-
var tmp1_safe_receiver = entry.
|
|
1466
|
+
if (!entry.xbz_1) {
|
|
1467
|
+
entry.xbz_1 = true;
|
|
1468
|
+
var tmp1_safe_receiver = entry.vbz_1;
|
|
1469
1469
|
if (tmp1_safe_receiver == null)
|
|
1470
1470
|
null;
|
|
1471
1471
|
else {
|
|
1472
1472
|
tmp1_safe_receiver.h4();
|
|
1473
1473
|
}
|
|
1474
|
-
cancel(entry.
|
|
1474
|
+
cancel(entry.ubz_1);
|
|
1475
1475
|
}
|
|
1476
1476
|
return Promise.resolve(Unit_instance);
|
|
1477
1477
|
}
|
|
@@ -1490,55 +1490,55 @@ function pushSteamToken(handle, accessToken) {
|
|
|
1490
1490
|
}
|
|
1491
1491
|
function trackerState(handle) {
|
|
1492
1492
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
1493
|
-
return toJs_1(entryOf(handle).
|
|
1493
|
+
return toJs_1(entryOf(handle).tbz_1.wb7());
|
|
1494
1494
|
}
|
|
1495
1495
|
function create(options, httpEngine, background, proverPackageRoot) {
|
|
1496
1496
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
1497
|
-
var tmp0_elvis_lhs = options.
|
|
1497
|
+
var tmp0_elvis_lhs = options.hc0();
|
|
1498
1498
|
var clock = tmp0_elvis_lhs == null ? new SystemClock() : tmp0_elvis_lhs;
|
|
1499
|
-
var tmp1_safe_receiver = options.
|
|
1499
|
+
var tmp1_safe_receiver = options.ec0_1;
|
|
1500
1500
|
var tmp;
|
|
1501
1501
|
if (tmp1_safe_receiver == null) {
|
|
1502
1502
|
tmp = null;
|
|
1503
1503
|
} else {
|
|
1504
1504
|
// Inline function 'kotlin.let' call
|
|
1505
|
-
tmp = proofHost(options, tmp1_safe_receiver, Companion_instance_12.
|
|
1505
|
+
tmp = proofHost(options, tmp1_safe_receiver, Companion_instance_12.rc0(proverPackageRoot, tmp1_safe_receiver.mc0_1), clock);
|
|
1506
1506
|
}
|
|
1507
1507
|
var proofHost_0 = tmp;
|
|
1508
1508
|
var scope = CoroutineScope(SupervisorJob().gj(Dispatchers_getInstance().y18_1));
|
|
1509
|
-
var accounts = new AccountDirectories(options.
|
|
1509
|
+
var accounts = new AccountDirectories(options.ybz_1);
|
|
1510
1510
|
var tmp_0 = create$lambda(accounts);
|
|
1511
|
-
var tmp2_elvis_lhs = options.
|
|
1511
|
+
var tmp2_elvis_lhs = options.sc0();
|
|
1512
1512
|
var tmp_1 = tmp2_elvis_lhs == null ? NoOpEventObserver_instance : tmp2_elvis_lhs;
|
|
1513
1513
|
var tmp_2;
|
|
1514
1514
|
if (proofHost_0 == null) {
|
|
1515
1515
|
tmp_2 = null;
|
|
1516
1516
|
} else {
|
|
1517
1517
|
// Inline function 'kotlin.let' call
|
|
1518
|
-
var tmp0_safe_receiver = options.
|
|
1519
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1518
|
+
var tmp0_safe_receiver = options.ec0_1;
|
|
1519
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.jc0_1;
|
|
1520
1520
|
tmp_2 = new HeadlessProving(proofHost_0, tmp1_elvis_lhs == null ? 1 : tmp1_elvis_lhs);
|
|
1521
1521
|
}
|
|
1522
1522
|
var platform = new HeadlessPlatform(tmp_0, clock, tmp_1, httpEngine, VOID, tmp_2);
|
|
1523
1523
|
var tmp_3 = background == null ? scope : background;
|
|
1524
1524
|
// Inline function 'kotlin.let' call
|
|
1525
1525
|
var it = Companion_instance_1.defaults();
|
|
1526
|
-
var tmp$ret$4 = it.copy(VOID, VOID, VOID, VOID, VOID, it.notary.copy(VOID, options.
|
|
1527
|
-
var tracker = new HeadlessTracker(platform, tmp_3, options.
|
|
1526
|
+
var tmp$ret$4 = it.copy(VOID, VOID, VOID, VOID, VOID, it.notary.copy(VOID, options.bc0_1));
|
|
1527
|
+
var tracker = new HeadlessTracker(platform, tmp_3, options.zbz_1, tmp$ret$4, options.ac0_1);
|
|
1528
1528
|
var handle = Object.freeze(Object.create(null));
|
|
1529
1529
|
get_trackers().set(handle, new TrackerEntry(tracker, scope, proofHost_0));
|
|
1530
1530
|
return handle;
|
|
1531
1531
|
}
|
|
1532
1532
|
function proofHost(options, prover, files, clock) {
|
|
1533
1533
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
1534
|
-
var onLine = options.
|
|
1535
|
-
var onOutcome = options.
|
|
1534
|
+
var onLine = options.gc0_1;
|
|
1535
|
+
var onOutcome = options.fc0_1;
|
|
1536
1536
|
var tmp = emptyList();
|
|
1537
|
-
var tmp_0 = new ProverSettings(options.
|
|
1538
|
-
var tmp_1 = new ProverLimits(prover.
|
|
1537
|
+
var tmp_0 = new ProverSettings(options.bc0_1, prover.lc0_1, files.uc0_1);
|
|
1538
|
+
var tmp_1 = new ProverLimits(prover.nc0_1, prover.oc0_1, prover.kc0_1);
|
|
1539
1539
|
var tmp_2 = proofHost$lambda(onLine);
|
|
1540
1540
|
var tmp_3 = proofHost$lambda_0(onLine);
|
|
1541
|
-
return new ForkedProofHost(files.
|
|
1541
|
+
return new ForkedProofHost(files.tc0_1, tmp, tmp_0, clock, tmp_1, VOID, VOID, tmp_2, tmp_3, proofHost$lambda_1(onOutcome));
|
|
1542
1542
|
}
|
|
1543
1543
|
function proofOutcome(dealId, failure) {
|
|
1544
1544
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
@@ -1549,17 +1549,17 @@ function proofOutcome(dealId, failure) {
|
|
|
1549
1549
|
tmp = null;
|
|
1550
1550
|
} else {
|
|
1551
1551
|
// Inline function 'kotlin.let' call
|
|
1552
|
-
tmp = JSON.parse(ProofOutcomeJson_getInstance().
|
|
1552
|
+
tmp = JSON.parse(ProofOutcomeJson_getInstance().jbx(failure));
|
|
1553
1553
|
}
|
|
1554
1554
|
o.failure = tmp;
|
|
1555
1555
|
return o;
|
|
1556
1556
|
}
|
|
1557
1557
|
function TrackerEntry(tracker, scope, proofHost) {
|
|
1558
|
-
this.
|
|
1559
|
-
this.
|
|
1560
|
-
this.
|
|
1561
|
-
this.vbz_1 = false;
|
|
1558
|
+
this.tbz_1 = tracker;
|
|
1559
|
+
this.ubz_1 = scope;
|
|
1560
|
+
this.vbz_1 = proofHost;
|
|
1562
1561
|
this.wbz_1 = false;
|
|
1562
|
+
this.xbz_1 = false;
|
|
1563
1563
|
}
|
|
1564
1564
|
function lookup(handle) {
|
|
1565
1565
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
@@ -1576,7 +1576,7 @@ function entryOf(handle) {
|
|
|
1576
1576
|
}
|
|
1577
1577
|
var entry = tmp;
|
|
1578
1578
|
// Inline function 'kotlin.check' call
|
|
1579
|
-
if (!!entry.
|
|
1579
|
+
if (!!entry.xbz_1) {
|
|
1580
1580
|
var message = 'tracker stopped';
|
|
1581
1581
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
1582
1582
|
}
|
|
@@ -1603,19 +1603,19 @@ function call(handle, block) {
|
|
|
1603
1603
|
}
|
|
1604
1604
|
}
|
|
1605
1605
|
var entry = tmp;
|
|
1606
|
-
return promise_0(entry.
|
|
1606
|
+
return promise_0(entry.ubz_1, VOID, VOID, call$slambda_0(block, entry, null));
|
|
1607
1607
|
}
|
|
1608
1608
|
function cycle$slambda(resultContinuation) {
|
|
1609
1609
|
CoroutineImpl.call(this, resultContinuation);
|
|
1610
1610
|
}
|
|
1611
|
-
protoOf(cycle$slambda).
|
|
1612
|
-
var tmp = this.
|
|
1611
|
+
protoOf(cycle$slambda).ec1 = function ($this$call, $completion) {
|
|
1612
|
+
var tmp = this.fc1($this$call, $completion);
|
|
1613
1613
|
tmp.i9_1 = Unit_instance;
|
|
1614
1614
|
tmp.j9_1 = null;
|
|
1615
1615
|
return tmp.o9();
|
|
1616
1616
|
};
|
|
1617
1617
|
protoOf(cycle$slambda).ba = function (p1, $completion) {
|
|
1618
|
-
return this.
|
|
1618
|
+
return this.ec1(p1 instanceof TrackerEntry ? p1 : THROW_CCE(), $completion);
|
|
1619
1619
|
};
|
|
1620
1620
|
protoOf(cycle$slambda).o9 = function () {
|
|
1621
1621
|
var suspendResult = this.i9_1;
|
|
@@ -1626,7 +1626,7 @@ protoOf(cycle$slambda).o9 = function () {
|
|
|
1626
1626
|
case 0:
|
|
1627
1627
|
this.h9_1 = 2;
|
|
1628
1628
|
this.g9_1 = 1;
|
|
1629
|
-
suspendResult = this.
|
|
1629
|
+
suspendResult = this.dc1_1.tbz_1.ob3(this);
|
|
1630
1630
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1631
1631
|
return suspendResult;
|
|
1632
1632
|
}
|
|
@@ -1648,30 +1648,30 @@ protoOf(cycle$slambda).o9 = function () {
|
|
|
1648
1648
|
}
|
|
1649
1649
|
while (true);
|
|
1650
1650
|
};
|
|
1651
|
-
protoOf(cycle$slambda).
|
|
1651
|
+
protoOf(cycle$slambda).fc1 = function ($this$call, completion) {
|
|
1652
1652
|
var i = new cycle$slambda(completion);
|
|
1653
|
-
i.
|
|
1653
|
+
i.dc1_1 = $this$call;
|
|
1654
1654
|
return i;
|
|
1655
1655
|
};
|
|
1656
1656
|
function cycle$slambda_0(resultContinuation) {
|
|
1657
1657
|
var i = new cycle$slambda(resultContinuation);
|
|
1658
1658
|
return constructCallableReference(function ($this$call, $completion) {
|
|
1659
|
-
return i.
|
|
1659
|
+
return i.ec1($this$call, $completion);
|
|
1660
1660
|
}, 1);
|
|
1661
1661
|
}
|
|
1662
1662
|
function pushTradingApiKey$slambda($publicKey, $secretKey, resultContinuation) {
|
|
1663
|
-
this.
|
|
1664
|
-
this.
|
|
1663
|
+
this.oc1_1 = $publicKey;
|
|
1664
|
+
this.pc1_1 = $secretKey;
|
|
1665
1665
|
CoroutineImpl.call(this, resultContinuation);
|
|
1666
1666
|
}
|
|
1667
|
-
protoOf(pushTradingApiKey$slambda).
|
|
1668
|
-
var tmp = this.
|
|
1667
|
+
protoOf(pushTradingApiKey$slambda).rc1 = function ($this$call, $completion) {
|
|
1668
|
+
var tmp = this.fc1($this$call, $completion);
|
|
1669
1669
|
tmp.i9_1 = Unit_instance;
|
|
1670
1670
|
tmp.j9_1 = null;
|
|
1671
1671
|
return tmp.o9();
|
|
1672
1672
|
};
|
|
1673
1673
|
protoOf(pushTradingApiKey$slambda).ba = function (p1, $completion) {
|
|
1674
|
-
return this.
|
|
1674
|
+
return this.rc1(p1 instanceof TrackerEntry ? p1 : THROW_CCE(), $completion);
|
|
1675
1675
|
};
|
|
1676
1676
|
protoOf(pushTradingApiKey$slambda).o9 = function () {
|
|
1677
1677
|
var suspendResult = this.i9_1;
|
|
@@ -1682,7 +1682,7 @@ protoOf(pushTradingApiKey$slambda).o9 = function () {
|
|
|
1682
1682
|
case 0:
|
|
1683
1683
|
this.h9_1 = 2;
|
|
1684
1684
|
this.g9_1 = 1;
|
|
1685
|
-
suspendResult = this.
|
|
1685
|
+
suspendResult = this.qc1_1.tbz_1.ub8(this.oc1_1, this.pc1_1, this);
|
|
1686
1686
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1687
1687
|
return suspendResult;
|
|
1688
1688
|
}
|
|
@@ -1692,17 +1692,17 @@ protoOf(pushTradingApiKey$slambda).o9 = function () {
|
|
|
1692
1692
|
var push = suspendResult;
|
|
1693
1693
|
var tmp_0;
|
|
1694
1694
|
if (push instanceof Held) {
|
|
1695
|
-
tmp_0 = !push.
|
|
1695
|
+
tmp_0 = !push.p7v_1.equals(KeyChange_SAME_getInstance());
|
|
1696
1696
|
} else {
|
|
1697
1697
|
tmp_0 = false;
|
|
1698
1698
|
}
|
|
1699
1699
|
|
|
1700
1700
|
if (tmp_0) {
|
|
1701
|
-
var tmp0_safe_receiver = this.
|
|
1701
|
+
var tmp0_safe_receiver = this.qc1_1.vbz_1;
|
|
1702
1702
|
if (tmp0_safe_receiver == null)
|
|
1703
1703
|
null;
|
|
1704
1704
|
else {
|
|
1705
|
-
tmp0_safe_receiver.
|
|
1705
|
+
tmp0_safe_receiver.bby();
|
|
1706
1706
|
}
|
|
1707
1707
|
}
|
|
1708
1708
|
|
|
@@ -1721,29 +1721,29 @@ protoOf(pushTradingApiKey$slambda).o9 = function () {
|
|
|
1721
1721
|
}
|
|
1722
1722
|
while (true);
|
|
1723
1723
|
};
|
|
1724
|
-
protoOf(pushTradingApiKey$slambda).
|
|
1725
|
-
var i = new pushTradingApiKey$slambda(this.
|
|
1726
|
-
i.
|
|
1724
|
+
protoOf(pushTradingApiKey$slambda).fc1 = function ($this$call, completion) {
|
|
1725
|
+
var i = new pushTradingApiKey$slambda(this.oc1_1, this.pc1_1, completion);
|
|
1726
|
+
i.qc1_1 = $this$call;
|
|
1727
1727
|
return i;
|
|
1728
1728
|
};
|
|
1729
1729
|
function pushTradingApiKey$slambda_0($publicKey, $secretKey, resultContinuation) {
|
|
1730
1730
|
var i = new pushTradingApiKey$slambda($publicKey, $secretKey, resultContinuation);
|
|
1731
1731
|
return constructCallableReference(function ($this$call, $completion) {
|
|
1732
|
-
return i.
|
|
1732
|
+
return i.rc1($this$call, $completion);
|
|
1733
1733
|
}, 1);
|
|
1734
1734
|
}
|
|
1735
1735
|
function pushSteamToken$slambda($accessToken, resultContinuation) {
|
|
1736
|
-
this.
|
|
1736
|
+
this.ac2_1 = $accessToken;
|
|
1737
1737
|
CoroutineImpl.call(this, resultContinuation);
|
|
1738
1738
|
}
|
|
1739
|
-
protoOf(pushSteamToken$slambda).
|
|
1740
|
-
var tmp = this.
|
|
1739
|
+
protoOf(pushSteamToken$slambda).rc1 = function ($this$call, $completion) {
|
|
1740
|
+
var tmp = this.fc1($this$call, $completion);
|
|
1741
1741
|
tmp.i9_1 = Unit_instance;
|
|
1742
1742
|
tmp.j9_1 = null;
|
|
1743
1743
|
return tmp.o9();
|
|
1744
1744
|
};
|
|
1745
1745
|
protoOf(pushSteamToken$slambda).ba = function (p1, $completion) {
|
|
1746
|
-
return this.
|
|
1746
|
+
return this.rc1(p1 instanceof TrackerEntry ? p1 : THROW_CCE(), $completion);
|
|
1747
1747
|
};
|
|
1748
1748
|
protoOf(pushSteamToken$slambda).o9 = function () {
|
|
1749
1749
|
var suspendResult = this.i9_1;
|
|
@@ -1754,7 +1754,7 @@ protoOf(pushSteamToken$slambda).o9 = function () {
|
|
|
1754
1754
|
case 0:
|
|
1755
1755
|
this.h9_1 = 2;
|
|
1756
1756
|
this.g9_1 = 1;
|
|
1757
|
-
suspendResult = this.
|
|
1757
|
+
suspendResult = this.bc2_1.tbz_1.vb8(this.ac2_1, this);
|
|
1758
1758
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1759
1759
|
return suspendResult;
|
|
1760
1760
|
}
|
|
@@ -1777,20 +1777,20 @@ protoOf(pushSteamToken$slambda).o9 = function () {
|
|
|
1777
1777
|
}
|
|
1778
1778
|
while (true);
|
|
1779
1779
|
};
|
|
1780
|
-
protoOf(pushSteamToken$slambda).
|
|
1781
|
-
var i = new pushSteamToken$slambda(this.
|
|
1782
|
-
i.
|
|
1780
|
+
protoOf(pushSteamToken$slambda).fc1 = function ($this$call, completion) {
|
|
1781
|
+
var i = new pushSteamToken$slambda(this.ac2_1, completion);
|
|
1782
|
+
i.bc2_1 = $this$call;
|
|
1783
1783
|
return i;
|
|
1784
1784
|
};
|
|
1785
1785
|
function pushSteamToken$slambda_0($accessToken, resultContinuation) {
|
|
1786
1786
|
var i = new pushSteamToken$slambda($accessToken, resultContinuation);
|
|
1787
1787
|
return constructCallableReference(function ($this$call, $completion) {
|
|
1788
|
-
return i.
|
|
1788
|
+
return i.rc1($this$call, $completion);
|
|
1789
1789
|
}, 1);
|
|
1790
1790
|
}
|
|
1791
1791
|
function create$lambda($accounts) {
|
|
1792
1792
|
return function (it) {
|
|
1793
|
-
return $accounts.
|
|
1793
|
+
return $accounts.ec2(_SteamId___get_value__impl__qjh21u(it.p5w_1));
|
|
1794
1794
|
};
|
|
1795
1795
|
}
|
|
1796
1796
|
function proofHost$lambda($onLine) {
|
|
@@ -1831,7 +1831,7 @@ function proofHost$lambda_0($onLine) {
|
|
|
1831
1831
|
// Inline function 'kotlin.runCatching' call
|
|
1832
1832
|
var tmp;
|
|
1833
1833
|
try {
|
|
1834
|
-
tmp0_safe_receiver('host', ProofOutcomeJson_getInstance().
|
|
1834
|
+
tmp0_safe_receiver('host', ProofOutcomeJson_getInstance().kbx(message, warning, fields));
|
|
1835
1835
|
// Inline function 'kotlin.Companion.success' call
|
|
1836
1836
|
tmp = _Result___init__impl__xyqfz8(Unit_instance);
|
|
1837
1837
|
} catch ($p) {
|
|
@@ -1878,18 +1878,18 @@ function proofHost$lambda_1($onOutcome) {
|
|
|
1878
1878
|
};
|
|
1879
1879
|
}
|
|
1880
1880
|
function call$slambda($block, $entry, resultContinuation) {
|
|
1881
|
-
this.
|
|
1882
|
-
this.
|
|
1881
|
+
this.nc2_1 = $block;
|
|
1882
|
+
this.oc2_1 = $entry;
|
|
1883
1883
|
CoroutineImpl.call(this, resultContinuation);
|
|
1884
1884
|
}
|
|
1885
|
-
protoOf(call$slambda).
|
|
1885
|
+
protoOf(call$slambda).qc2 = function ($this$promise, $completion) {
|
|
1886
1886
|
var tmp = this.l1n($this$promise, $completion);
|
|
1887
1887
|
tmp.i9_1 = Unit_instance;
|
|
1888
1888
|
tmp.j9_1 = null;
|
|
1889
1889
|
return tmp.o9();
|
|
1890
1890
|
};
|
|
1891
1891
|
protoOf(call$slambda).ba = function (p1, $completion) {
|
|
1892
|
-
return this.
|
|
1892
|
+
return this.qc2((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
|
|
1893
1893
|
};
|
|
1894
1894
|
protoOf(call$slambda).o9 = function () {
|
|
1895
1895
|
var suspendResult = this.i9_1;
|
|
@@ -1900,7 +1900,7 @@ protoOf(call$slambda).o9 = function () {
|
|
|
1900
1900
|
case 0:
|
|
1901
1901
|
this.h9_1 = 2;
|
|
1902
1902
|
this.g9_1 = 1;
|
|
1903
|
-
suspendResult = this.
|
|
1903
|
+
suspendResult = this.nc2_1(this.oc2_1, this);
|
|
1904
1904
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1905
1905
|
return suspendResult;
|
|
1906
1906
|
}
|
|
@@ -1923,14 +1923,14 @@ protoOf(call$slambda).o9 = function () {
|
|
|
1923
1923
|
while (true);
|
|
1924
1924
|
};
|
|
1925
1925
|
protoOf(call$slambda).l1n = function ($this$promise, completion) {
|
|
1926
|
-
var i = new call$slambda(this.
|
|
1927
|
-
i.
|
|
1926
|
+
var i = new call$slambda(this.nc2_1, this.oc2_1, completion);
|
|
1927
|
+
i.pc2_1 = $this$promise;
|
|
1928
1928
|
return i;
|
|
1929
1929
|
};
|
|
1930
1930
|
function call$slambda_0($block, $entry, resultContinuation) {
|
|
1931
1931
|
var i = new call$slambda($block, $entry, resultContinuation);
|
|
1932
1932
|
return constructCallableReference(function ($this$promise, $completion) {
|
|
1933
|
-
return i.
|
|
1933
|
+
return i.qc2($this$promise, $completion);
|
|
1934
1934
|
}, 1);
|
|
1935
1935
|
}
|
|
1936
1936
|
var properties_initialized_HeadlessApi_kt_422n3l;
|
|
@@ -1973,11 +1973,11 @@ function steamNotLinkedCode() {
|
|
|
1973
1973
|
}
|
|
1974
1974
|
function minWriteTokenLifetimeMs() {
|
|
1975
1975
|
_init_properties_HeadlessConstants_kt__7kny8s();
|
|
1976
|
-
return toNumber(_Duration___get_inWholeMilliseconds__impl__msfiry(Companion_getInstance_1().
|
|
1976
|
+
return toNumber(_Duration___get_inWholeMilliseconds__impl__msfiry(Companion_getInstance_1().pb3_1));
|
|
1977
1977
|
}
|
|
1978
1978
|
function maxClockSkewMs() {
|
|
1979
1979
|
_init_properties_HeadlessConstants_kt__7kny8s();
|
|
1980
|
-
return toNumber(_Duration___get_inWholeMilliseconds__impl__msfiry(Companion_getInstance_1().
|
|
1980
|
+
return toNumber(_Duration___get_inWholeMilliseconds__impl__msfiry(Companion_getInstance_1().sb3_1));
|
|
1981
1981
|
}
|
|
1982
1982
|
function defaultNotaryUrl() {
|
|
1983
1983
|
_init_properties_HeadlessConstants_kt__7kny8s();
|
|
@@ -2075,20 +2075,20 @@ function _init_properties_HeadlessConstants_kt__7kny8s() {
|
|
|
2075
2075
|
}
|
|
2076
2076
|
}
|
|
2077
2077
|
function safeName($this, key) {
|
|
2078
|
-
return $this.
|
|
2078
|
+
return $this.rbz_1.od(key) ? key : '(a key that is not an option name)';
|
|
2079
2079
|
}
|
|
2080
2080
|
function Companion_8() {
|
|
2081
2081
|
Companion_instance_11 = this;
|
|
2082
|
-
this.
|
|
2083
|
-
this.
|
|
2082
|
+
this.qbz_1 = setOf(['dataDir', 'baseUrl', 'steamWrites', 'notaryUrl', 'onEvent', 'nowMs', 'prover', 'onProofOutcome', 'onProverLine']);
|
|
2083
|
+
this.rbz_1 = Regex_init_$Create$('^[A-Za-z][A-Za-z0-9]{0,39}$');
|
|
2084
2084
|
}
|
|
2085
|
-
protoOf(Companion_8).
|
|
2085
|
+
protoOf(Companion_8).sbz = function (options) {
|
|
2086
2086
|
// Inline function 'kotlin.require' call
|
|
2087
2087
|
if (!(typeof options === 'object' && options != null)) {
|
|
2088
2088
|
var message = 'options must be an object';
|
|
2089
2089
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2090
2090
|
}
|
|
2091
|
-
this.
|
|
2091
|
+
this.rc2(options, this.qbz_1, '');
|
|
2092
2092
|
var dataDir = options.dataDir;
|
|
2093
2093
|
var tmp;
|
|
2094
2094
|
if (typeof dataDir === 'string') {
|
|
@@ -2103,32 +2103,32 @@ protoOf(Companion_8).rbz = function (options) {
|
|
|
2103
2103
|
var message_0 = 'dataDir must be a non-empty string';
|
|
2104
2104
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
2105
2105
|
}
|
|
2106
|
-
var tmp0_elvis_lhs = this.
|
|
2106
|
+
var tmp0_elvis_lhs = this.sc2(options.baseUrl, 'baseUrl', 'string');
|
|
2107
2107
|
var baseUrl = tmp0_elvis_lhs == null ? 'https://api.dmarket.com' : tmp0_elvis_lhs;
|
|
2108
2108
|
// Inline function 'kotlin.require' call
|
|
2109
2109
|
if (!(startsWith(baseUrl, 'https://') || startsWith(baseUrl, 'http://'))) {
|
|
2110
2110
|
var message_1 = 'baseUrl must be an http:// or https:// URL';
|
|
2111
2111
|
throw IllegalArgumentException_init_$Create$(toString_0(message_1));
|
|
2112
2112
|
}
|
|
2113
|
-
var tmp1_elvis_lhs = this.
|
|
2113
|
+
var tmp1_elvis_lhs = this.sc2(options.notaryUrl, 'notaryUrl', 'string');
|
|
2114
2114
|
var notaryUrl = tmp1_elvis_lhs == null ? 'wss://api.dmarket.com/provenance/v1/' : tmp1_elvis_lhs;
|
|
2115
2115
|
// Inline function 'kotlin.require' call
|
|
2116
2116
|
if (!(startsWith(notaryUrl, 'wss://') || startsWith(notaryUrl, 'ws://'))) {
|
|
2117
2117
|
var message_2 = 'notaryUrl must be a ws:// or wss:// URL';
|
|
2118
2118
|
throw IllegalArgumentException_init_$Create$(toString_0(message_2));
|
|
2119
2119
|
}
|
|
2120
|
-
var tmp2_elvis_lhs = this.
|
|
2120
|
+
var tmp2_elvis_lhs = this.sc2(options.steamWrites, 'steamWrites', 'boolean');
|
|
2121
2121
|
var steamWrites = tmp2_elvis_lhs == null ? true : tmp2_elvis_lhs;
|
|
2122
|
-
var onEvent = this.
|
|
2123
|
-
var nowMs = this.
|
|
2124
|
-
var proverOption = this.
|
|
2125
|
-
var prover = proverOption != null ? Companion_getInstance_13().
|
|
2126
|
-
var onProofOutcome = this.
|
|
2127
|
-
var onProverLine = this.
|
|
2128
|
-
var tmp4_elvis_lhs = prover == null ? null : prover.
|
|
2122
|
+
var onEvent = this.sc2(options.onEvent, 'onEvent', 'function');
|
|
2123
|
+
var nowMs = this.sc2(options.nowMs, 'nowMs', 'function');
|
|
2124
|
+
var proverOption = this.sc2(options.prover, 'prover', 'object');
|
|
2125
|
+
var prover = proverOption != null ? Companion_getInstance_13().sbz(proverOption) : null;
|
|
2126
|
+
var onProofOutcome = this.sc2(options.onProofOutcome, 'onProofOutcome', 'function');
|
|
2127
|
+
var onProverLine = this.sc2(options.onProverLine, 'onProverLine', 'function');
|
|
2128
|
+
var tmp4_elvis_lhs = prover == null ? null : prover.ic0_1;
|
|
2129
2129
|
return new HeadlessOptions(dataDir, baseUrl, steamWrites, tmp4_elvis_lhs == null ? notaryUrl : tmp4_elvis_lhs, onEvent, nowMs, prover, onProofOutcome, onProverLine);
|
|
2130
2130
|
};
|
|
2131
|
-
protoOf(Companion_8).
|
|
2131
|
+
protoOf(Companion_8).rc2 = function (o, known, prefix) {
|
|
2132
2132
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2133
2133
|
var keys = Object.keys(o);
|
|
2134
2134
|
var tmp$ret$1;
|
|
@@ -2154,7 +2154,7 @@ protoOf(Companion_8).qc2 = function (o, known, prefix) {
|
|
|
2154
2154
|
throw IllegalArgumentException_init_$Create$('unknown option: ' + prefix + safeName(Companion_getInstance_11(), tmp0_safe_receiver));
|
|
2155
2155
|
}
|
|
2156
2156
|
};
|
|
2157
|
-
protoOf(Companion_8).
|
|
2157
|
+
protoOf(Companion_8).sc2 = function (value, name, type) {
|
|
2158
2158
|
if (value == null)
|
|
2159
2159
|
return null;
|
|
2160
2160
|
// Inline function 'kotlin.require' call
|
|
@@ -2172,31 +2172,31 @@ function Companion_getInstance_11() {
|
|
|
2172
2172
|
return Companion_instance_11;
|
|
2173
2173
|
}
|
|
2174
2174
|
function HeadlessOptions$clock$1($now) {
|
|
2175
|
-
this.
|
|
2175
|
+
this.vc2_1 = $now;
|
|
2176
2176
|
}
|
|
2177
2177
|
protoOf(HeadlessOptions$clock$1).fo = function () {
|
|
2178
|
-
return Companion_getInstance_0().bf(numberToLong(this.
|
|
2178
|
+
return Companion_getInstance_0().bf(numberToLong(this.vc2_1()));
|
|
2179
2179
|
};
|
|
2180
2180
|
function HeadlessOptions$eventObserver$1($callback) {
|
|
2181
|
-
this.
|
|
2181
|
+
this.wc2_1 = $callback;
|
|
2182
2182
|
}
|
|
2183
|
-
protoOf(HeadlessOptions$eventObserver$1).
|
|
2184
|
-
return this.
|
|
2183
|
+
protoOf(HeadlessOptions$eventObserver$1).x6a = function (event, $completion) {
|
|
2184
|
+
return this.wc2_1(toWireJson(event));
|
|
2185
2185
|
};
|
|
2186
2186
|
function HeadlessOptions(dataDir, baseUrl, steamWrites, notaryUrl, onEvent, nowMs, prover, onProofOutcome, onProverLine) {
|
|
2187
2187
|
Companion_getInstance_11();
|
|
2188
|
-
this.
|
|
2189
|
-
this.
|
|
2190
|
-
this.
|
|
2191
|
-
this.
|
|
2192
|
-
this.
|
|
2193
|
-
this.
|
|
2194
|
-
this.
|
|
2195
|
-
this.
|
|
2196
|
-
this.
|
|
2197
|
-
}
|
|
2198
|
-
protoOf(HeadlessOptions).
|
|
2199
|
-
var tmp0_safe_receiver = this.
|
|
2188
|
+
this.ybz_1 = dataDir;
|
|
2189
|
+
this.zbz_1 = baseUrl;
|
|
2190
|
+
this.ac0_1 = steamWrites;
|
|
2191
|
+
this.bc0_1 = notaryUrl;
|
|
2192
|
+
this.cc0_1 = onEvent;
|
|
2193
|
+
this.dc0_1 = nowMs;
|
|
2194
|
+
this.ec0_1 = prover;
|
|
2195
|
+
this.fc0_1 = onProofOutcome;
|
|
2196
|
+
this.gc0_1 = onProverLine;
|
|
2197
|
+
}
|
|
2198
|
+
protoOf(HeadlessOptions).hc0 = function () {
|
|
2199
|
+
var tmp0_safe_receiver = this.dc0_1;
|
|
2200
2200
|
var tmp;
|
|
2201
2201
|
if (tmp0_safe_receiver == null) {
|
|
2202
2202
|
tmp = null;
|
|
@@ -2206,8 +2206,8 @@ protoOf(HeadlessOptions).gc0 = function () {
|
|
|
2206
2206
|
}
|
|
2207
2207
|
return tmp;
|
|
2208
2208
|
};
|
|
2209
|
-
protoOf(HeadlessOptions).
|
|
2210
|
-
var tmp0_safe_receiver = this.
|
|
2209
|
+
protoOf(HeadlessOptions).sc0 = function () {
|
|
2210
|
+
var tmp0_safe_receiver = this.cc0_1;
|
|
2211
2211
|
var tmp;
|
|
2212
2212
|
if (tmp0_safe_receiver == null) {
|
|
2213
2213
|
tmp = null;
|
|
@@ -2228,19 +2228,19 @@ function toJs(_this__u8e3s4) {
|
|
|
2228
2228
|
var o = plainObject();
|
|
2229
2229
|
if (_this__u8e3s4 instanceof Held) {
|
|
2230
2230
|
o.type = 'held';
|
|
2231
|
-
o.publicKey = _this__u8e3s4.
|
|
2232
|
-
o.change = _this__u8e3s4.
|
|
2231
|
+
o.publicKey = _this__u8e3s4.o7v_1;
|
|
2232
|
+
o.change = _this__u8e3s4.p7v_1.z_1;
|
|
2233
2233
|
} else {
|
|
2234
2234
|
if (_this__u8e3s4 instanceof Invalid) {
|
|
2235
2235
|
o.type = 'invalid';
|
|
2236
|
-
o.reason = _this__u8e3s4.
|
|
2236
|
+
o.reason = _this__u8e3s4.q7v_1;
|
|
2237
2237
|
} else {
|
|
2238
2238
|
if (_this__u8e3s4 instanceof AccountChanged) {
|
|
2239
2239
|
o.type = 'accountChanged';
|
|
2240
|
-
o.publicKey = _this__u8e3s4.
|
|
2241
|
-
o.heldPublicKey = _this__u8e3s4.
|
|
2242
|
-
o.linkedSteamId = _SteamId___get_value__impl__qjh21u(_this__u8e3s4.
|
|
2243
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2240
|
+
o.publicKey = _this__u8e3s4.r7v_1;
|
|
2241
|
+
o.heldPublicKey = _this__u8e3s4.s7v_1;
|
|
2242
|
+
o.linkedSteamId = _SteamId___get_value__impl__qjh21u(_this__u8e3s4.t7v_1);
|
|
2243
|
+
var tmp1_safe_receiver = _this__u8e3s4.u7v_1;
|
|
2244
2244
|
var tmp;
|
|
2245
2245
|
var tmp_0 = tmp1_safe_receiver;
|
|
2246
2246
|
if ((tmp_0 == null ? null : new SteamId(tmp_0)) == null) {
|
|
@@ -2252,8 +2252,8 @@ function toJs(_this__u8e3s4) {
|
|
|
2252
2252
|
} else {
|
|
2253
2253
|
if (_this__u8e3s4 instanceof Unverified) {
|
|
2254
2254
|
o.type = 'unverified';
|
|
2255
|
-
o.publicKey = _this__u8e3s4.
|
|
2256
|
-
o.reason = _this__u8e3s4.
|
|
2255
|
+
o.publicKey = _this__u8e3s4.v7v_1;
|
|
2256
|
+
o.reason = _this__u8e3s4.w7v_1;
|
|
2257
2257
|
} else {
|
|
2258
2258
|
noWhenBranchMatchedException();
|
|
2259
2259
|
}
|
|
@@ -2266,13 +2266,13 @@ function toJs_0(_this__u8e3s4) {
|
|
|
2266
2266
|
var o = plainObject();
|
|
2267
2267
|
if (_this__u8e3s4 instanceof Held_0) {
|
|
2268
2268
|
o.type = 'held';
|
|
2269
|
-
o.steamId = _SteamId___get_value__impl__qjh21u(_this__u8e3s4.
|
|
2270
|
-
o.expiresAtMs = epochMs(_this__u8e3s4.
|
|
2269
|
+
o.steamId = _SteamId___get_value__impl__qjh21u(_this__u8e3s4.e81_1);
|
|
2270
|
+
o.expiresAtMs = epochMs(_this__u8e3s4.f81_1);
|
|
2271
2271
|
} else {
|
|
2272
2272
|
if (_this__u8e3s4 instanceof WrongAccount) {
|
|
2273
2273
|
o.type = 'wrongAccount';
|
|
2274
|
-
o.tokenSteamId = _SteamId___get_value__impl__qjh21u(_this__u8e3s4.
|
|
2275
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2274
|
+
o.tokenSteamId = _SteamId___get_value__impl__qjh21u(_this__u8e3s4.g81_1);
|
|
2275
|
+
var tmp1_safe_receiver = _this__u8e3s4.h81_1;
|
|
2276
2276
|
var tmp;
|
|
2277
2277
|
var tmp_0 = tmp1_safe_receiver;
|
|
2278
2278
|
if ((tmp_0 == null ? null : new SteamId(tmp_0)) == null) {
|
|
@@ -2284,7 +2284,7 @@ function toJs_0(_this__u8e3s4) {
|
|
|
2284
2284
|
} else {
|
|
2285
2285
|
if (_this__u8e3s4 instanceof Invalid_0) {
|
|
2286
2286
|
o.type = 'invalid';
|
|
2287
|
-
o.reason = _this__u8e3s4.
|
|
2287
|
+
o.reason = _this__u8e3s4.i81_1;
|
|
2288
2288
|
} else {
|
|
2289
2289
|
noWhenBranchMatchedException();
|
|
2290
2290
|
}
|
|
@@ -2294,8 +2294,8 @@ function toJs_0(_this__u8e3s4) {
|
|
|
2294
2294
|
}
|
|
2295
2295
|
function toJs_1(_this__u8e3s4) {
|
|
2296
2296
|
var o = plainObject();
|
|
2297
|
-
o.hasTradingApiKey = _this__u8e3s4.
|
|
2298
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2297
|
+
o.hasTradingApiKey = _this__u8e3s4.xb7_1;
|
|
2298
|
+
var tmp0_safe_receiver = _this__u8e3s4.yb7_1;
|
|
2299
2299
|
var tmp;
|
|
2300
2300
|
var tmp_0 = tmp0_safe_receiver;
|
|
2301
2301
|
if ((tmp_0 == null ? null : new SteamId(tmp_0)) == null) {
|
|
@@ -2304,8 +2304,8 @@ function toJs_1(_this__u8e3s4) {
|
|
|
2304
2304
|
tmp = _SteamId___get_value__impl__qjh21u(tmp0_safe_receiver);
|
|
2305
2305
|
}
|
|
2306
2306
|
o.steamTokenSteamId = tmp;
|
|
2307
|
-
o.steamTokenExpiresAtMs = epochMs(_this__u8e3s4.
|
|
2308
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2307
|
+
o.steamTokenExpiresAtMs = epochMs(_this__u8e3s4.zb7_1);
|
|
2308
|
+
var tmp1_safe_receiver = _this__u8e3s4.ab8_1;
|
|
2309
2309
|
var tmp_1;
|
|
2310
2310
|
var tmp_2 = tmp1_safe_receiver;
|
|
2311
2311
|
if ((tmp_2 == null ? null : new SteamId(tmp_2)) == null) {
|
|
@@ -2314,9 +2314,9 @@ function toJs_1(_this__u8e3s4) {
|
|
|
2314
2314
|
tmp_1 = _SteamId___get_value__impl__qjh21u(tmp1_safe_receiver);
|
|
2315
2315
|
}
|
|
2316
2316
|
o.linkedSteamId = tmp_1;
|
|
2317
|
-
o.readySinceMs = epochMs(_this__u8e3s4.
|
|
2317
|
+
o.readySinceMs = epochMs(_this__u8e3s4.bb8_1);
|
|
2318
2318
|
// Inline function 'kotlin.collections.map' call
|
|
2319
|
-
var this_0 = _this__u8e3s4.
|
|
2319
|
+
var this_0 = _this__u8e3s4.cb8_1;
|
|
2320
2320
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2321
2321
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2322
2322
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -2328,7 +2328,7 @@ function toJs_1(_this__u8e3s4) {
|
|
|
2328
2328
|
}
|
|
2329
2329
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2330
2330
|
o.trackedDealIds = copyToArray(destination);
|
|
2331
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2331
|
+
var tmp2_safe_receiver = _this__u8e3s4.db8_1;
|
|
2332
2332
|
var tmp_3;
|
|
2333
2333
|
var tmp_4 = tmp2_safe_receiver;
|
|
2334
2334
|
if ((tmp_4 == null ? null : new Duration(tmp_4)) == null) {
|
|
@@ -2338,14 +2338,14 @@ function toJs_1(_this__u8e3s4) {
|
|
|
2338
2338
|
}
|
|
2339
2339
|
var tmp3_safe_receiver = tmp_3;
|
|
2340
2340
|
o.clockOffsetMs = tmp3_safe_receiver == null ? null : toNumber(tmp3_safe_receiver);
|
|
2341
|
-
o.clockSkewed = _this__u8e3s4.
|
|
2342
|
-
o.steamNotLinked = _this__u8e3s4.
|
|
2343
|
-
o.updateRequired = _this__u8e3s4.
|
|
2344
|
-
o.updateDueTimeMs = epochMs(_this__u8e3s4.
|
|
2341
|
+
o.clockSkewed = _this__u8e3s4.ib8();
|
|
2342
|
+
o.steamNotLinked = _this__u8e3s4.eb8_1;
|
|
2343
|
+
o.updateRequired = _this__u8e3s4.fb8_1;
|
|
2344
|
+
o.updateDueTimeMs = epochMs(_this__u8e3s4.gb8_1);
|
|
2345
2345
|
var deadlines = plainObject();
|
|
2346
2346
|
// Inline function 'kotlin.collections.forEach' call
|
|
2347
2347
|
// Inline function 'kotlin.collections.iterator' call
|
|
2348
|
-
var _iterator__ex2g4s_0 = _this__u8e3s4.
|
|
2348
|
+
var _iterator__ex2g4s_0 = _this__u8e3s4.hb8_1.n1().t();
|
|
2349
2349
|
while (_iterator__ex2g4s_0.u()) {
|
|
2350
2350
|
var element = _iterator__ex2g4s_0.v();
|
|
2351
2351
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -2391,10 +2391,10 @@ function join_0($this, parts) {
|
|
|
2391
2391
|
return accumulator;
|
|
2392
2392
|
}
|
|
2393
2393
|
function Companion_9() {
|
|
2394
|
-
this.
|
|
2395
|
-
this.
|
|
2394
|
+
this.pc0_1 = '@dmarket/p2p-tracker-headless';
|
|
2395
|
+
this.qc0_1 = 'prover-child.mjs';
|
|
2396
2396
|
}
|
|
2397
|
-
protoOf(Companion_9).
|
|
2397
|
+
protoOf(Companion_9).rc0 = function (packageRoot, assetsDir) {
|
|
2398
2398
|
var tmp1_elvis_lhs = packageRoot == null ? installedRoot(this) : packageRoot;
|
|
2399
2399
|
var tmp;
|
|
2400
2400
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -2407,7 +2407,7 @@ protoOf(Companion_9).qc0 = function (packageRoot, assetsDir) {
|
|
|
2407
2407
|
var root = tmp;
|
|
2408
2408
|
var tmp_0 = join_0(this, [root, 'prover-child.mjs']);
|
|
2409
2409
|
var files = new ProverFiles(tmp_0, assetsDir == null ? root : assetsDir);
|
|
2410
|
-
var required = listOf([files.
|
|
2410
|
+
var required = listOf([files.tc0_1, join_0(this, [files.uc0_1, 'pkg', 'client_wasm_bg.wasm']), join_0(this, [files.uc0_1, 'transport', 'dist', 'node.js'])]);
|
|
2411
2411
|
var tmp$ret$1;
|
|
2412
2412
|
$l$block: {
|
|
2413
2413
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -2438,11 +2438,11 @@ function Companion_getInstance_12() {
|
|
|
2438
2438
|
return Companion_instance_12;
|
|
2439
2439
|
}
|
|
2440
2440
|
function ProverFiles(script, assetsDir) {
|
|
2441
|
-
this.
|
|
2442
|
-
this.
|
|
2441
|
+
this.tc0_1 = script;
|
|
2442
|
+
this.uc0_1 = assetsDir;
|
|
2443
2443
|
}
|
|
2444
2444
|
function whole($this, value, name, range) {
|
|
2445
|
-
var tmp0_elvis_lhs = Companion_getInstance_11().
|
|
2445
|
+
var tmp0_elvis_lhs = Companion_getInstance_11().sc2(value, name, 'number');
|
|
2446
2446
|
var tmp;
|
|
2447
2447
|
if (tmp0_elvis_lhs == null) {
|
|
2448
2448
|
return null;
|
|
@@ -2468,7 +2468,7 @@ function whole($this, value, name, range) {
|
|
|
2468
2468
|
return numberToInt(number);
|
|
2469
2469
|
}
|
|
2470
2470
|
function milliseconds($this, value, name) {
|
|
2471
|
-
var tmp0_elvis_lhs = Companion_getInstance_11().
|
|
2471
|
+
var tmp0_elvis_lhs = Companion_getInstance_11().sc2(value, name, 'number');
|
|
2472
2472
|
var tmp;
|
|
2473
2473
|
if (tmp0_elvis_lhs == null) {
|
|
2474
2474
|
return null;
|
|
@@ -2495,24 +2495,24 @@ function milliseconds($this, value, name) {
|
|
|
2495
2495
|
}
|
|
2496
2496
|
function Companion_10() {
|
|
2497
2497
|
Companion_instance_13 = this;
|
|
2498
|
-
this.
|
|
2499
|
-
this.
|
|
2498
|
+
this.tc2_1 = setOf(['notaryUrl', 'maxConcurrency', 'proofsPerChild', 'threadCount', 'assetsDir', 'connectDeadlineMs', 'sessionDeadlineMs']);
|
|
2499
|
+
this.uc2_1 = new ProverLimits();
|
|
2500
2500
|
}
|
|
2501
|
-
protoOf(Companion_10).
|
|
2501
|
+
protoOf(Companion_10).sbz = function (prover) {
|
|
2502
2502
|
var tmp = Array.isArray(prover);
|
|
2503
2503
|
// Inline function 'kotlin.require' call
|
|
2504
2504
|
if (!!((!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE())) {
|
|
2505
2505
|
var message = 'prover must be an object';
|
|
2506
2506
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2507
2507
|
}
|
|
2508
|
-
Companion_getInstance_11().
|
|
2509
|
-
var notaryUrl = Companion_getInstance_11().
|
|
2508
|
+
Companion_getInstance_11().rc2(prover, this.tc2_1, 'prover.');
|
|
2509
|
+
var notaryUrl = Companion_getInstance_11().sc2(prover.notaryUrl, 'prover.notaryUrl', 'string');
|
|
2510
2510
|
// Inline function 'kotlin.require' call
|
|
2511
2511
|
if (!(notaryUrl == null || startsWith(notaryUrl, 'wss://') || startsWith(notaryUrl, 'ws://'))) {
|
|
2512
2512
|
var message_0 = 'prover.notaryUrl must be a ws:// or wss:// URL';
|
|
2513
2513
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
2514
2514
|
}
|
|
2515
|
-
var assetsDir = Companion_getInstance_11().
|
|
2515
|
+
var assetsDir = Companion_getInstance_11().sc2(prover.assetsDir, 'prover.assetsDir', 'string');
|
|
2516
2516
|
var tmp_0;
|
|
2517
2517
|
if (assetsDir == null) {
|
|
2518
2518
|
tmp_0 = true;
|
|
@@ -2530,12 +2530,12 @@ protoOf(Companion_10).rbz = function (prover) {
|
|
|
2530
2530
|
var tmp1_elvis_lhs = whole(this, prover.proofsPerChild, 'prover.proofsPerChild', numberRangeToNumber(1, 5));
|
|
2531
2531
|
var tmp_2 = tmp1_elvis_lhs == null ? 1 : tmp1_elvis_lhs;
|
|
2532
2532
|
var tmp2_elvis_lhs = whole(this, prover.threadCount, 'prover.threadCount', numberRangeToNumber(1, 16));
|
|
2533
|
-
var tmp_3 = tmp2_elvis_lhs == null ?
|
|
2533
|
+
var tmp_3 = tmp2_elvis_lhs == null ? 2 : tmp2_elvis_lhs;
|
|
2534
2534
|
var tmp3_elvis_lhs = milliseconds(this, prover.connectDeadlineMs, 'prover.connectDeadlineMs');
|
|
2535
2535
|
var tmp_4;
|
|
2536
2536
|
var tmp_5 = tmp3_elvis_lhs;
|
|
2537
2537
|
if ((tmp_5 == null ? null : new Duration(tmp_5)) == null) {
|
|
2538
|
-
tmp_4 = this.
|
|
2538
|
+
tmp_4 = this.uc2_1.xc2_1;
|
|
2539
2539
|
} else {
|
|
2540
2540
|
tmp_4 = tmp3_elvis_lhs;
|
|
2541
2541
|
}
|
|
@@ -2544,7 +2544,7 @@ protoOf(Companion_10).rbz = function (prover) {
|
|
|
2544
2544
|
var tmp_7;
|
|
2545
2545
|
var tmp_8 = tmp4_elvis_lhs;
|
|
2546
2546
|
if ((tmp_8 == null ? null : new Duration(tmp_8)) == null) {
|
|
2547
|
-
tmp_7 = this.
|
|
2547
|
+
tmp_7 = this.uc2_1.yc2_1;
|
|
2548
2548
|
} else {
|
|
2549
2549
|
tmp_7 = tmp4_elvis_lhs;
|
|
2550
2550
|
}
|
|
@@ -2558,13 +2558,13 @@ function Companion_getInstance_13() {
|
|
|
2558
2558
|
}
|
|
2559
2559
|
function ProverOptions(notaryUrl, maxConcurrency, proofsPerChild, threadCount, assetsDir, connectDeadline, sessionDeadline) {
|
|
2560
2560
|
Companion_getInstance_13();
|
|
2561
|
-
this.
|
|
2562
|
-
this.
|
|
2563
|
-
this.
|
|
2564
|
-
this.
|
|
2565
|
-
this.
|
|
2566
|
-
this.
|
|
2567
|
-
this.
|
|
2561
|
+
this.ic0_1 = notaryUrl;
|
|
2562
|
+
this.jc0_1 = maxConcurrency;
|
|
2563
|
+
this.kc0_1 = proofsPerChild;
|
|
2564
|
+
this.lc0_1 = threadCount;
|
|
2565
|
+
this.mc0_1 = assetsDir;
|
|
2566
|
+
this.nc0_1 = connectDeadline;
|
|
2567
|
+
this.oc0_1 = sessionDeadline;
|
|
2568
2568
|
}
|
|
2569
2569
|
function file($this, key) {
|
|
2570
2570
|
// Inline function 'kotlin.require' call
|
|
@@ -2573,18 +2573,18 @@ function file($this, key) {
|
|
|
2573
2573
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2574
2574
|
}
|
|
2575
2575
|
// Inline function 'kotlin.require' call
|
|
2576
|
-
if (!Companion_getInstance_14().
|
|
2576
|
+
if (!Companion_getInstance_14().bc3_1.od(key)) {
|
|
2577
2577
|
var message_0 = 'storage key must be [A-Za-z0-9._-]+: ' + key;
|
|
2578
2578
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
2579
2579
|
}
|
|
2580
|
-
return join($this.
|
|
2580
|
+
return join($this.fc3_1, key);
|
|
2581
2581
|
}
|
|
2582
2582
|
function Companion_11() {
|
|
2583
2583
|
Companion_instance_14 = this;
|
|
2584
|
-
this.
|
|
2585
|
-
this.
|
|
2586
|
-
this.
|
|
2587
|
-
this.
|
|
2584
|
+
this.bc3_1 = Regex_init_$Create$('^[A-Za-z0-9._-]+$');
|
|
2585
|
+
this.cc3_1 = 6;
|
|
2586
|
+
this.dc3_1 = 448;
|
|
2587
|
+
this.ec3_1 = 384;
|
|
2588
2588
|
}
|
|
2589
2589
|
var Companion_instance_14;
|
|
2590
2590
|
function Companion_getInstance_14() {
|
|
@@ -2594,8 +2594,8 @@ function Companion_getInstance_14() {
|
|
|
2594
2594
|
}
|
|
2595
2595
|
function $getCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
|
|
2596
2596
|
CoroutineImpl.call(this, resultContinuation);
|
|
2597
|
-
this.
|
|
2598
|
-
this.
|
|
2597
|
+
this.pc3_1 = _this__u8e3s4;
|
|
2598
|
+
this.qc3_1 = key;
|
|
2599
2599
|
}
|
|
2600
2600
|
protoOf($getCOROUTINE$).o9 = function () {
|
|
2601
2601
|
var suspendResult = this.i9_1;
|
|
@@ -2607,14 +2607,14 @@ protoOf($getCOROUTINE$).o9 = function () {
|
|
|
2607
2607
|
this.h9_1 = 3;
|
|
2608
2608
|
this.h9_1 = 2;
|
|
2609
2609
|
this.g9_1 = 1;
|
|
2610
|
-
suspendResult = await_0(readFile(file(this.
|
|
2610
|
+
suspendResult = await_0(readFile(file(this.pc3_1, this.qc3_1), 'utf8'), this);
|
|
2611
2611
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2612
2612
|
return suspendResult;
|
|
2613
2613
|
}
|
|
2614
2614
|
|
|
2615
2615
|
continue $sm;
|
|
2616
2616
|
case 1:
|
|
2617
|
-
this.
|
|
2617
|
+
this.rc3_1 = suspendResult;
|
|
2618
2618
|
this.h9_1 = 3;
|
|
2619
2619
|
this.g9_1 = 4;
|
|
2620
2620
|
continue $sm;
|
|
@@ -2630,7 +2630,7 @@ protoOf($getCOROUTINE$).o9 = function () {
|
|
|
2630
2630
|
} else {
|
|
2631
2631
|
throw e;
|
|
2632
2632
|
}
|
|
2633
|
-
tmp_1.
|
|
2633
|
+
tmp_1.rc3_1 = tmp_2;
|
|
2634
2634
|
this.g9_1 = 4;
|
|
2635
2635
|
continue $sm;
|
|
2636
2636
|
} else {
|
|
@@ -2641,7 +2641,7 @@ protoOf($getCOROUTINE$).o9 = function () {
|
|
|
2641
2641
|
throw this.j9_1;
|
|
2642
2642
|
case 4:
|
|
2643
2643
|
this.h9_1 = 3;
|
|
2644
|
-
return this.
|
|
2644
|
+
return this.rc3_1;
|
|
2645
2645
|
}
|
|
2646
2646
|
} catch ($p) {
|
|
2647
2647
|
var e_0 = $p;
|
|
@@ -2656,9 +2656,9 @@ protoOf($getCOROUTINE$).o9 = function () {
|
|
|
2656
2656
|
};
|
|
2657
2657
|
function $setCOROUTINE$(_this__u8e3s4, key, value, resultContinuation) {
|
|
2658
2658
|
CoroutineImpl.call(this, resultContinuation);
|
|
2659
|
-
this.
|
|
2660
|
-
this.
|
|
2661
|
-
this.
|
|
2659
|
+
this.ac4_1 = _this__u8e3s4;
|
|
2660
|
+
this.bc4_1 = key;
|
|
2661
|
+
this.cc4_1 = value;
|
|
2662
2662
|
}
|
|
2663
2663
|
protoOf($setCOROUTINE$).o9 = function () {
|
|
2664
2664
|
var suspendResult = this.i9_1;
|
|
@@ -2668,13 +2668,13 @@ protoOf($setCOROUTINE$).o9 = function () {
|
|
|
2668
2668
|
switch (tmp) {
|
|
2669
2669
|
case 0:
|
|
2670
2670
|
this.h9_1 = 5;
|
|
2671
|
-
this.
|
|
2672
|
-
if (!this.
|
|
2671
|
+
this.dc4_1 = file(this.ac4_1, this.bc4_1);
|
|
2672
|
+
if (!this.ac4_1.gc3_1) {
|
|
2673
2673
|
this.g9_1 = 1;
|
|
2674
2674
|
var this_0 = {};
|
|
2675
2675
|
this_0.recursive = true;
|
|
2676
2676
|
this_0.mode = 448;
|
|
2677
|
-
suspendResult = await_0(mkdir(this.
|
|
2677
|
+
suspendResult = await_0(mkdir(this.ac4_1.fc3_1, this_0), this);
|
|
2678
2678
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2679
2679
|
return suspendResult;
|
|
2680
2680
|
}
|
|
@@ -2685,18 +2685,18 @@ protoOf($setCOROUTINE$).o9 = function () {
|
|
|
2685
2685
|
}
|
|
2686
2686
|
|
|
2687
2687
|
case 1:
|
|
2688
|
-
this.
|
|
2688
|
+
this.ac4_1.gc3_1 = true;
|
|
2689
2689
|
this.g9_1 = 2;
|
|
2690
2690
|
continue $sm;
|
|
2691
2691
|
case 2:
|
|
2692
2692
|
var tmp_0 = this;
|
|
2693
2693
|
var tmp_1 = randomBytes(6).toString('hex');
|
|
2694
|
-
tmp_0.
|
|
2694
|
+
tmp_0.ec4_1 = this.dc4_1 + '.' + ((!(tmp_1 == null) ? typeof tmp_1 === 'string' : false) ? tmp_1 : THROW_CCE()) + '.tmp';
|
|
2695
2695
|
this.g9_1 = 3;
|
|
2696
2696
|
var this_1 = {};
|
|
2697
2697
|
this_1.encoding = 'utf8';
|
|
2698
2698
|
this_1.mode = 384;
|
|
2699
|
-
suspendResult = await_0(writeFile(this.
|
|
2699
|
+
suspendResult = await_0(writeFile(this.ec4_1, this.cc4_1, this_1), this);
|
|
2700
2700
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2701
2701
|
return suspendResult;
|
|
2702
2702
|
}
|
|
@@ -2704,7 +2704,7 @@ protoOf($setCOROUTINE$).o9 = function () {
|
|
|
2704
2704
|
continue $sm;
|
|
2705
2705
|
case 3:
|
|
2706
2706
|
this.g9_1 = 4;
|
|
2707
|
-
suspendResult = await_0(rename(this.
|
|
2707
|
+
suspendResult = await_0(rename(this.ec4_1, this.dc4_1), this);
|
|
2708
2708
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2709
2709
|
return suspendResult;
|
|
2710
2710
|
}
|
|
@@ -2728,8 +2728,8 @@ protoOf($setCOROUTINE$).o9 = function () {
|
|
|
2728
2728
|
};
|
|
2729
2729
|
function $removeCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
|
|
2730
2730
|
CoroutineImpl.call(this, resultContinuation);
|
|
2731
|
-
this.
|
|
2732
|
-
this.
|
|
2731
|
+
this.nc4_1 = _this__u8e3s4;
|
|
2732
|
+
this.oc4_1 = key;
|
|
2733
2733
|
}
|
|
2734
2734
|
protoOf($removeCOROUTINE$).o9 = function () {
|
|
2735
2735
|
var suspendResult = this.i9_1;
|
|
@@ -2741,7 +2741,7 @@ protoOf($removeCOROUTINE$).o9 = function () {
|
|
|
2741
2741
|
this.h9_1 = 3;
|
|
2742
2742
|
this.h9_1 = 2;
|
|
2743
2743
|
this.g9_1 = 1;
|
|
2744
|
-
suspendResult = await_0(unlink(file(this.
|
|
2744
|
+
suspendResult = await_0(unlink(file(this.nc4_1, this.oc4_1)), this);
|
|
2745
2745
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2746
2746
|
return suspendResult;
|
|
2747
2747
|
}
|
|
@@ -2783,22 +2783,22 @@ protoOf($removeCOROUTINE$).o9 = function () {
|
|
|
2783
2783
|
};
|
|
2784
2784
|
function FileKeyValueStore(dir) {
|
|
2785
2785
|
Companion_getInstance_14();
|
|
2786
|
-
this.
|
|
2787
|
-
this.
|
|
2786
|
+
this.fc3_1 = dir;
|
|
2787
|
+
this.gc3_1 = false;
|
|
2788
2788
|
}
|
|
2789
|
-
protoOf(FileKeyValueStore).
|
|
2789
|
+
protoOf(FileKeyValueStore).k6k = function (key, $completion) {
|
|
2790
2790
|
var tmp = new $getCOROUTINE$(this, key, $completion);
|
|
2791
2791
|
tmp.i9_1 = Unit_instance;
|
|
2792
2792
|
tmp.j9_1 = null;
|
|
2793
2793
|
return tmp.o9();
|
|
2794
2794
|
};
|
|
2795
|
-
protoOf(FileKeyValueStore).
|
|
2795
|
+
protoOf(FileKeyValueStore).l6k = function (key, value, $completion) {
|
|
2796
2796
|
var tmp = new $setCOROUTINE$(this, key, value, $completion);
|
|
2797
2797
|
tmp.i9_1 = Unit_instance;
|
|
2798
2798
|
tmp.j9_1 = null;
|
|
2799
2799
|
return tmp.o9();
|
|
2800
2800
|
};
|
|
2801
|
-
protoOf(FileKeyValueStore).
|
|
2801
|
+
protoOf(FileKeyValueStore).m6k = function (key, $completion) {
|
|
2802
2802
|
var tmp = new $removeCOROUTINE$(this, key, $completion);
|
|
2803
2803
|
tmp.i9_1 = Unit_instance;
|
|
2804
2804
|
tmp.j9_1 = null;
|
|
@@ -2806,7 +2806,7 @@ protoOf(FileKeyValueStore).l6k = function (key, $completion) {
|
|
|
2806
2806
|
};
|
|
2807
2807
|
function Companion_12() {
|
|
2808
2808
|
Companion_instance_15 = this;
|
|
2809
|
-
this.
|
|
2809
|
+
this.pc4_1 = Regex_init_$Create$('^[0-9]{1,20}$');
|
|
2810
2810
|
}
|
|
2811
2811
|
var Companion_instance_15;
|
|
2812
2812
|
function Companion_getInstance_15() {
|
|
@@ -2816,23 +2816,23 @@ function Companion_getInstance_15() {
|
|
|
2816
2816
|
}
|
|
2817
2817
|
function AccountDirectories(dataDir) {
|
|
2818
2818
|
Companion_getInstance_15();
|
|
2819
|
-
this.
|
|
2819
|
+
this.cc2_1 = dataDir;
|
|
2820
2820
|
var tmp = this;
|
|
2821
2821
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2822
|
-
tmp.
|
|
2822
|
+
tmp.dc2_1 = LinkedHashMap_init_$Create$();
|
|
2823
2823
|
}
|
|
2824
|
-
protoOf(AccountDirectories).
|
|
2824
|
+
protoOf(AccountDirectories).ec2 = function (steamId) {
|
|
2825
2825
|
// Inline function 'kotlin.require' call
|
|
2826
|
-
if (!Companion_getInstance_15().
|
|
2826
|
+
if (!Companion_getInstance_15().pc4_1.od(steamId)) {
|
|
2827
2827
|
var message = 'not a steamid64';
|
|
2828
2828
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2829
2829
|
}
|
|
2830
2830
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2831
|
-
var this_0 = this.
|
|
2831
|
+
var this_0 = this.dc2_1;
|
|
2832
2832
|
var value = this_0.w2(steamId);
|
|
2833
2833
|
var tmp;
|
|
2834
2834
|
if (value == null) {
|
|
2835
|
-
var answer = new FileKeyValueStore(join(this.
|
|
2835
|
+
var answer = new FileKeyValueStore(join(this.cc2_1, steamId));
|
|
2836
2836
|
this_0.f3(steamId, answer);
|
|
2837
2837
|
tmp = answer;
|
|
2838
2838
|
} else {
|
|
@@ -2896,7 +2896,7 @@ function get_PROVER_ENV_ALLOWED() {
|
|
|
2896
2896
|
}
|
|
2897
2897
|
var PROVER_ENV_ALLOWED;
|
|
2898
2898
|
function Companion_13() {
|
|
2899
|
-
this.
|
|
2899
|
+
this.qc4_1 = 5;
|
|
2900
2900
|
}
|
|
2901
2901
|
var Companion_instance_16;
|
|
2902
2902
|
function Companion_getInstance_16() {
|
|
@@ -2931,14 +2931,14 @@ function ProverLimits(connectDeadline, sessionDeadline, proofsPerChild, exitGrac
|
|
|
2931
2931
|
tmp_1 = exitGrace;
|
|
2932
2932
|
}
|
|
2933
2933
|
exitGrace = tmp_1;
|
|
2934
|
-
this.
|
|
2935
|
-
this.
|
|
2936
|
-
this.
|
|
2937
|
-
this.
|
|
2938
|
-
var containsArg = this.
|
|
2934
|
+
this.xc2_1 = connectDeadline;
|
|
2935
|
+
this.yc2_1 = sessionDeadline;
|
|
2936
|
+
this.zc2_1 = proofsPerChild;
|
|
2937
|
+
this.ac3_1 = exitGrace;
|
|
2938
|
+
var containsArg = this.zc2_1;
|
|
2939
2939
|
// Inline function 'kotlin.require' call
|
|
2940
2940
|
if (!(1 <= containsArg ? containsArg <= 5 : false)) {
|
|
2941
|
-
var message = 'proofsPerChild must be 1..5, was ' + this.
|
|
2941
|
+
var message = 'proofsPerChild must be 1..5, was ' + this.zc2_1;
|
|
2942
2942
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2943
2943
|
}
|
|
2944
2944
|
}
|
|
@@ -2953,7 +2953,7 @@ function killed($this, cause, detail) {
|
|
|
2953
2953
|
}
|
|
2954
2954
|
function takeIdle($this) {
|
|
2955
2955
|
while (true) {
|
|
2956
|
-
var tmp0_elvis_lhs = $this.
|
|
2956
|
+
var tmp0_elvis_lhs = $this.tc5_1.ug();
|
|
2957
2957
|
var tmp;
|
|
2958
2958
|
if (tmp0_elvis_lhs == null) {
|
|
2959
2959
|
return null;
|
|
@@ -2961,29 +2961,29 @@ function takeIdle($this) {
|
|
|
2961
2961
|
tmp = tmp0_elvis_lhs;
|
|
2962
2962
|
}
|
|
2963
2963
|
var child = tmp;
|
|
2964
|
-
if (!child.
|
|
2964
|
+
if (!child.dc6_1)
|
|
2965
2965
|
return child;
|
|
2966
2966
|
}
|
|
2967
2967
|
}
|
|
2968
2968
|
function release($this, child, outcome) {
|
|
2969
2969
|
var tmp;
|
|
2970
2970
|
if (outcome instanceof Failed) {
|
|
2971
|
-
var tmp_0 = outcome.
|
|
2971
|
+
var tmp_0 = outcome.was_1;
|
|
2972
2972
|
tmp = tmp_0 instanceof ProverKilled;
|
|
2973
2973
|
} else {
|
|
2974
2974
|
tmp = false;
|
|
2975
2975
|
}
|
|
2976
2976
|
var killed = tmp;
|
|
2977
|
-
if (killed || child.
|
|
2978
|
-
$this.
|
|
2979
|
-
child.
|
|
2977
|
+
if (killed || child.dc6_1 || child.cc6_1 >= $this.mc5_1.zc2_1) {
|
|
2978
|
+
$this.uc5_1.z2(child);
|
|
2979
|
+
child.fc6($this.mc5_1.ac3_1);
|
|
2980
2980
|
} else {
|
|
2981
|
-
$this.
|
|
2981
|
+
$this.tc5_1.sg(child);
|
|
2982
2982
|
}
|
|
2983
2983
|
}
|
|
2984
2984
|
function fork($this) {
|
|
2985
2985
|
var options = {};
|
|
2986
|
-
options.env = toJsObject($this.
|
|
2986
|
+
options.env = toJsObject($this.nc5_1);
|
|
2987
2987
|
// Inline function 'kotlin.emptyArray' call
|
|
2988
2988
|
options.execArgv = [];
|
|
2989
2989
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2992,14 +2992,14 @@ function fork($this) {
|
|
|
2992
2992
|
options.stdio = ['ignore', 'pipe', 'pipe', 'ipc'];
|
|
2993
2993
|
options.serialization = 'json';
|
|
2994
2994
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2995
|
-
var this_0 = $this.
|
|
2995
|
+
var this_0 = $this.jc5_1;
|
|
2996
2996
|
var tmp$ret$4 = copyToArray(this_0);
|
|
2997
|
-
var process = com_dmarket_p2p_headless_node_nodeChildProcess_579ejd.fork($this.
|
|
2998
|
-
$this.
|
|
2997
|
+
var process = com_dmarket_p2p_headless_node_nodeChildProcess_579ejd.fork($this.ic5_1, tmp$ret$4, options);
|
|
2998
|
+
$this.wc5_1 = $this.wc5_1 + 1 | 0;
|
|
2999
2999
|
// Inline function 'kotlin.also' call
|
|
3000
|
-
var this_1 = new ForkedChild(process, $this.
|
|
3000
|
+
var this_1 = new ForkedChild(process, $this.pc5_1, $this.qc5_1);
|
|
3001
3001
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
3002
|
-
$this.
|
|
3002
|
+
$this.uc5_1.e1(this_1);
|
|
3003
3003
|
return this_1;
|
|
3004
3004
|
}
|
|
3005
3005
|
function ForkedProofHost$_init_$lambda_p9fnmo(_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) {
|
|
@@ -3012,17 +3012,17 @@ function ForkedProofHost$_init_$lambda_p9fnmo_1(_unused_var__etf5q3, _unused_var
|
|
|
3012
3012
|
return Unit_instance;
|
|
3013
3013
|
}
|
|
3014
3014
|
function ForkedProofHost$run$slambda($child, resultContinuation) {
|
|
3015
|
-
this.
|
|
3015
|
+
this.oc6_1 = $child;
|
|
3016
3016
|
CoroutineImpl.call(this, resultContinuation);
|
|
3017
3017
|
}
|
|
3018
|
-
protoOf(ForkedProofHost$run$slambda).
|
|
3018
|
+
protoOf(ForkedProofHost$run$slambda).qc6 = function ($this$withTimeoutOrNull, $completion) {
|
|
3019
3019
|
var tmp = this.l1n($this$withTimeoutOrNull, $completion);
|
|
3020
3020
|
tmp.i9_1 = Unit_instance;
|
|
3021
3021
|
tmp.j9_1 = null;
|
|
3022
3022
|
return tmp.o9();
|
|
3023
3023
|
};
|
|
3024
3024
|
protoOf(ForkedProofHost$run$slambda).ba = function (p1, $completion) {
|
|
3025
|
-
return this.
|
|
3025
|
+
return this.qc6((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
|
|
3026
3026
|
};
|
|
3027
3027
|
protoOf(ForkedProofHost$run$slambda).o9 = function () {
|
|
3028
3028
|
var suspendResult = this.i9_1;
|
|
@@ -3033,7 +3033,7 @@ protoOf(ForkedProofHost$run$slambda).o9 = function () {
|
|
|
3033
3033
|
case 0:
|
|
3034
3034
|
this.h9_1 = 2;
|
|
3035
3035
|
this.g9_1 = 1;
|
|
3036
|
-
suspendResult = this.
|
|
3036
|
+
suspendResult = this.oc6_1.ac6_1.j1f(this);
|
|
3037
3037
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3038
3038
|
return suspendResult;
|
|
3039
3039
|
}
|
|
@@ -3056,21 +3056,21 @@ protoOf(ForkedProofHost$run$slambda).o9 = function () {
|
|
|
3056
3056
|
while (true);
|
|
3057
3057
|
};
|
|
3058
3058
|
protoOf(ForkedProofHost$run$slambda).l1n = function ($this$withTimeoutOrNull, completion) {
|
|
3059
|
-
var i = new ForkedProofHost$run$slambda(this.
|
|
3060
|
-
i.
|
|
3059
|
+
var i = new ForkedProofHost$run$slambda(this.oc6_1, completion);
|
|
3060
|
+
i.pc6_1 = $this$withTimeoutOrNull;
|
|
3061
3061
|
return i;
|
|
3062
3062
|
};
|
|
3063
3063
|
function ForkedProofHost$run$slambda_0($child, resultContinuation) {
|
|
3064
3064
|
var i = new ForkedProofHost$run$slambda($child, resultContinuation);
|
|
3065
3065
|
return constructCallableReference(function ($this$withTimeoutOrNull, $completion) {
|
|
3066
|
-
return i.
|
|
3066
|
+
return i.qc6($this$withTimeoutOrNull, $completion);
|
|
3067
3067
|
}, 1);
|
|
3068
3068
|
}
|
|
3069
3069
|
function $proveCOROUTINE$(_this__u8e3s4, proof, upgrade, resultContinuation) {
|
|
3070
3070
|
CoroutineImpl.call(this, resultContinuation);
|
|
3071
|
-
this.
|
|
3072
|
-
this.
|
|
3073
|
-
this.
|
|
3071
|
+
this.zc6_1 = _this__u8e3s4;
|
|
3072
|
+
this.ac7_1 = proof;
|
|
3073
|
+
this.bc7_1 = upgrade;
|
|
3074
3074
|
}
|
|
3075
3075
|
protoOf($proveCOROUTINE$).o9 = function () {
|
|
3076
3076
|
var suspendResult = this.i9_1;
|
|
@@ -3080,20 +3080,20 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
3080
3080
|
switch (tmp) {
|
|
3081
3081
|
case 0:
|
|
3082
3082
|
this.h9_1 = 6;
|
|
3083
|
-
this.
|
|
3084
|
-
var tmp0_safe_receiver = this.
|
|
3083
|
+
this.dc7_1 = this.ac7_1.pau_1.eav_1;
|
|
3084
|
+
var tmp0_safe_receiver = this.zc6_1.oc5_1.ybx(this.zc6_1.lc5_1.fo());
|
|
3085
3085
|
if (tmp0_safe_receiver == null)
|
|
3086
3086
|
null;
|
|
3087
3087
|
else {
|
|
3088
3088
|
var held = new NotStarted(tmp0_safe_receiver);
|
|
3089
|
-
this.
|
|
3089
|
+
this.zc6_1.rc5_1(this.dc7_1, held);
|
|
3090
3090
|
return new Failed(held);
|
|
3091
3091
|
}
|
|
3092
3092
|
|
|
3093
|
-
this.
|
|
3094
|
-
this.
|
|
3093
|
+
this.jc7_1 = this.zc6_1.sc5_1;
|
|
3094
|
+
this.ic7_1 = null;
|
|
3095
3095
|
this.g9_1 = 1;
|
|
3096
|
-
suspendResult = this.
|
|
3096
|
+
suspendResult = this.jc7_1.c1t(this.ic7_1, this);
|
|
3097
3097
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3098
3098
|
return suspendResult;
|
|
3099
3099
|
}
|
|
@@ -3104,35 +3104,35 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
3104
3104
|
l$ret$1: do {
|
|
3105
3105
|
var tmp_0;
|
|
3106
3106
|
try {
|
|
3107
|
-
var tmp0_elvis_lhs = takeIdle(this.
|
|
3108
|
-
var tmp_1 = tmp0_elvis_lhs == null ? fork(this.
|
|
3109
|
-
var _unary__edvuaz = this.
|
|
3110
|
-
this.
|
|
3107
|
+
var tmp0_elvis_lhs = takeIdle(this.zc6_1);
|
|
3108
|
+
var tmp_1 = tmp0_elvis_lhs == null ? fork(this.zc6_1) : tmp0_elvis_lhs;
|
|
3109
|
+
var _unary__edvuaz = this.zc6_1.vc5_1;
|
|
3110
|
+
this.zc6_1.vc5_1 = _unary__edvuaz + 1 | 0;
|
|
3111
3111
|
tmp$ret$0 = to(tmp_1, _unary__edvuaz);
|
|
3112
3112
|
break l$ret$1;
|
|
3113
3113
|
} catch ($p) {
|
|
3114
3114
|
var tmp_2;
|
|
3115
3115
|
var t = $p;
|
|
3116
|
-
this.
|
|
3116
|
+
this.jc7_1.o1s(this.ic7_1);
|
|
3117
3117
|
throw t;
|
|
3118
3118
|
}
|
|
3119
3119
|
}
|
|
3120
3120
|
while (false);
|
|
3121
3121
|
var tmp_3 = tmp$ret$0;
|
|
3122
|
-
this.
|
|
3123
|
-
this.
|
|
3122
|
+
this.jc7_1.o1s(this.ic7_1);
|
|
3123
|
+
this.ec7_1 = tmp_3.eh();
|
|
3124
3124
|
var id = tmp_3.fh();
|
|
3125
|
-
this.
|
|
3125
|
+
this.zc6_1.qc5_1('proof started', false, listOf([to('dealId', this.dc7_1), to('pid', this.ec7_1.bc6_1)]));
|
|
3126
3126
|
this.h9_1 = 3;
|
|
3127
3127
|
this.g9_1 = 2;
|
|
3128
|
-
suspendResult = run(this.
|
|
3128
|
+
suspendResult = run(this.zc6_1, this.ec7_1, id, this.ac7_1, this.bc7_1, this);
|
|
3129
3129
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3130
3130
|
return suspendResult;
|
|
3131
3131
|
}
|
|
3132
3132
|
|
|
3133
3133
|
continue $sm;
|
|
3134
3134
|
case 2:
|
|
3135
|
-
this.
|
|
3135
|
+
this.hc7_1 = suspendResult;
|
|
3136
3136
|
this.h9_1 = 6;
|
|
3137
3137
|
this.g9_1 = 4;
|
|
3138
3138
|
continue $sm;
|
|
@@ -3142,7 +3142,7 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
3142
3142
|
if (tmp_4 instanceof CancellationException) {
|
|
3143
3143
|
var e = this.j9_1;
|
|
3144
3144
|
var tmp_5 = this;
|
|
3145
|
-
this.
|
|
3145
|
+
this.ec7_1.kc7();
|
|
3146
3146
|
throw e;
|
|
3147
3147
|
} else {
|
|
3148
3148
|
throw this.j9_1;
|
|
@@ -3150,11 +3150,11 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
3150
3150
|
|
|
3151
3151
|
case 4:
|
|
3152
3152
|
this.h9_1 = 6;
|
|
3153
|
-
this.
|
|
3154
|
-
this.
|
|
3155
|
-
this.
|
|
3153
|
+
this.cc7_1 = this.hc7_1;
|
|
3154
|
+
this.gc7_1 = this.zc6_1.sc5_1;
|
|
3155
|
+
this.fc7_1 = null;
|
|
3156
3156
|
this.g9_1 = 5;
|
|
3157
|
-
suspendResult = this.
|
|
3157
|
+
suspendResult = this.gc7_1.c1t(this.fc7_1, this);
|
|
3158
3158
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3159
3159
|
return suspendResult;
|
|
3160
3160
|
}
|
|
@@ -3164,33 +3164,33 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
3164
3164
|
l$ret$3: do {
|
|
3165
3165
|
var tmp_6;
|
|
3166
3166
|
try {
|
|
3167
|
-
release(this.
|
|
3167
|
+
release(this.zc6_1, this.ec7_1, this.cc7_1);
|
|
3168
3168
|
break l$ret$3;
|
|
3169
3169
|
} catch ($p_0) {
|
|
3170
3170
|
var tmp_7;
|
|
3171
3171
|
var t_0 = $p_0;
|
|
3172
|
-
this.
|
|
3172
|
+
this.gc7_1.o1s(this.fc7_1);
|
|
3173
3173
|
throw t_0;
|
|
3174
3174
|
}
|
|
3175
3175
|
}
|
|
3176
3176
|
while (false);
|
|
3177
|
-
this.
|
|
3178
|
-
var tmp1_subject = this.
|
|
3177
|
+
this.gc7_1.o1s(this.fc7_1);
|
|
3178
|
+
var tmp1_subject = this.cc7_1;
|
|
3179
3179
|
if (tmp1_subject instanceof Proved) {
|
|
3180
|
-
this.
|
|
3181
|
-
this.
|
|
3182
|
-
this.
|
|
3180
|
+
this.zc6_1.oc5_1.aby();
|
|
3181
|
+
this.zc6_1.qc5_1('proof made', false, listOf([to('dealId', this.dc7_1), to('pid', this.ec7_1.bc6_1)]));
|
|
3182
|
+
this.zc6_1.rc5_1(this.dc7_1, null);
|
|
3183
3183
|
} else {
|
|
3184
3184
|
if (tmp1_subject instanceof Failed) {
|
|
3185
|
-
this.
|
|
3186
|
-
this.
|
|
3187
|
-
this.
|
|
3185
|
+
this.zc6_1.oc5_1.zbx(this.cc7_1.was_1, this.zc6_1.lc5_1.fo());
|
|
3186
|
+
this.zc6_1.qc5_1('proof failed', true, listOf([to('dealId', this.dc7_1), to('pid', this.ec7_1.bc6_1), to('reason', ProverOutput_getInstance().l76(this.cc7_1.was_1.eau()))]));
|
|
3187
|
+
this.zc6_1.rc5_1(this.dc7_1, this.cc7_1.was_1);
|
|
3188
3188
|
} else {
|
|
3189
3189
|
noWhenBranchMatchedException();
|
|
3190
3190
|
}
|
|
3191
3191
|
}
|
|
3192
3192
|
|
|
3193
|
-
return this.
|
|
3193
|
+
return this.cc7_1;
|
|
3194
3194
|
case 6:
|
|
3195
3195
|
throw this.j9_1;
|
|
3196
3196
|
}
|
|
@@ -3207,11 +3207,11 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
3207
3207
|
};
|
|
3208
3208
|
function $runCOROUTINE$(_this__u8e3s4, child, id, proof, upgrade, resultContinuation) {
|
|
3209
3209
|
CoroutineImpl.call(this, resultContinuation);
|
|
3210
|
-
this.
|
|
3211
|
-
this.
|
|
3212
|
-
this.
|
|
3213
|
-
this.
|
|
3214
|
-
this.
|
|
3210
|
+
this.zc4_1 = _this__u8e3s4;
|
|
3211
|
+
this.ac5_1 = child;
|
|
3212
|
+
this.bc5_1 = id;
|
|
3213
|
+
this.cc5_1 = proof;
|
|
3214
|
+
this.dc5_1 = upgrade;
|
|
3215
3215
|
}
|
|
3216
3216
|
protoOf($runCOROUTINE$).o9 = function () {
|
|
3217
3217
|
var suspendResult = this.i9_1;
|
|
@@ -3221,14 +3221,14 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3221
3221
|
switch (tmp) {
|
|
3222
3222
|
case 0:
|
|
3223
3223
|
this.h9_1 = 9;
|
|
3224
|
-
this.
|
|
3225
|
-
this.
|
|
3226
|
-
if (!this.
|
|
3227
|
-
return killed(this.
|
|
3224
|
+
this.hc5_1 = Monotonic_instance.df();
|
|
3225
|
+
this.fc5_1 = null;
|
|
3226
|
+
if (!this.ac5_1.lc7(ProverIpc_getInstance().nby(new Prove(this.bc5_1, this.cc5_1.pau_1, this.cc5_1.qau_1, this.cc5_1.rau_1, this.zc4_1.kc5_1)))) {
|
|
3227
|
+
return killed(this.zc4_1, KillCause_EXITED_getInstance(), "the prover's channel was closed");
|
|
3228
3228
|
}
|
|
3229
3229
|
|
|
3230
|
-
var _receiver__tnumb7 = this.
|
|
3231
|
-
_receiver__tnumb7.
|
|
3230
|
+
var _receiver__tnumb7 = this.ac5_1;
|
|
3231
|
+
_receiver__tnumb7.cc6_1 = _receiver__tnumb7.cc6_1 + 1 | 0;
|
|
3232
3232
|
this.g9_1 = 1;
|
|
3233
3233
|
continue $sm;
|
|
3234
3234
|
case 1:
|
|
@@ -3237,19 +3237,19 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3237
3237
|
continue $sm;
|
|
3238
3238
|
}
|
|
3239
3239
|
|
|
3240
|
-
var tmp0_safe_receiver = this.
|
|
3240
|
+
var tmp0_safe_receiver = this.fc5_1;
|
|
3241
3241
|
var tmp_0;
|
|
3242
3242
|
if (tmp0_safe_receiver == null) {
|
|
3243
3243
|
tmp_0 = null;
|
|
3244
3244
|
} else {
|
|
3245
|
-
tmp_0 = Duration__minus_impl_q5cfm7(this.
|
|
3245
|
+
tmp_0 = Duration__minus_impl_q5cfm7(this.zc4_1.mc5_1.yc2_1, tmp0_safe_receiver.qp());
|
|
3246
3246
|
}
|
|
3247
3247
|
|
|
3248
3248
|
var tmp1_elvis_lhs = tmp_0;
|
|
3249
3249
|
var tmp_1;
|
|
3250
3250
|
var tmp_2 = tmp1_elvis_lhs;
|
|
3251
3251
|
if ((tmp_2 == null ? null : new Duration(tmp_2)) == null) {
|
|
3252
|
-
tmp_1 = Duration__minus_impl_q5cfm7(this.
|
|
3252
|
+
tmp_1 = Duration__minus_impl_q5cfm7(this.zc4_1.mc5_1.xc2_1, ValueTimeMark__elapsedNow_impl_eonqvs(this.hc5_1));
|
|
3253
3253
|
} else {
|
|
3254
3254
|
tmp_1 = tmp1_elvis_lhs;
|
|
3255
3255
|
}
|
|
@@ -3257,7 +3257,7 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3257
3257
|
var left = tmp_1;
|
|
3258
3258
|
this.g9_1 = 2;
|
|
3259
3259
|
var tmp_3 = coerceAtLeast(new Duration(left), new Duration(Companion_getInstance().kf_1));
|
|
3260
|
-
suspendResult = withTimeoutOrNull(tmp_3.jf_1, ForkedProofHost$run$slambda_0(this.
|
|
3260
|
+
suspendResult = withTimeoutOrNull(tmp_3.jf_1, ForkedProofHost$run$slambda_0(this.ac5_1, null), this);
|
|
3261
3261
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3262
3262
|
return suspendResult;
|
|
3263
3263
|
}
|
|
@@ -3266,18 +3266,18 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3266
3266
|
case 2:
|
|
3267
3267
|
var event = suspendResult;
|
|
3268
3268
|
if (event == null) {
|
|
3269
|
-
this.
|
|
3270
|
-
return killed(this.
|
|
3269
|
+
this.ac5_1.kc7();
|
|
3270
|
+
return killed(this.zc4_1, this.fc5_1 == null ? KillCause_CONNECT_DEADLINE_getInstance() : KillCause_SESSION_DEADLINE_getInstance(), null);
|
|
3271
3271
|
}
|
|
3272
3272
|
|
|
3273
3273
|
if (event instanceof Exited) {
|
|
3274
|
-
return killed(this.
|
|
3274
|
+
return killed(this.zc4_1, event.qc7(), event.rc7());
|
|
3275
3275
|
} else {
|
|
3276
3276
|
if (event instanceof Message) {
|
|
3277
|
-
this.
|
|
3277
|
+
this.zc4_1;
|
|
3278
3278
|
var tmp_4;
|
|
3279
3279
|
try {
|
|
3280
|
-
var value = ProverIpc_getInstance().
|
|
3280
|
+
var value = ProverIpc_getInstance().qby(event.mc7_1);
|
|
3281
3281
|
tmp_4 = _Result___init__impl__xyqfz8(value);
|
|
3282
3282
|
} catch ($p) {
|
|
3283
3283
|
var tmp_5;
|
|
@@ -3296,7 +3296,7 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3296
3296
|
tmp_6 = null;
|
|
3297
3297
|
} else {
|
|
3298
3298
|
var tmp_7;
|
|
3299
|
-
if (tmp3_safe_receiver.
|
|
3299
|
+
if (tmp3_safe_receiver.q6b() === this.bc5_1) {
|
|
3300
3300
|
tmp_7 = tmp3_safe_receiver;
|
|
3301
3301
|
} else {
|
|
3302
3302
|
tmp_7 = null;
|
|
@@ -3309,7 +3309,7 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3309
3309
|
var tmp_8 = this;
|
|
3310
3310
|
continue $sm;
|
|
3311
3311
|
} else {
|
|
3312
|
-
this.
|
|
3312
|
+
this.gc5_1 = tmp4_elvis_lhs;
|
|
3313
3313
|
this.g9_1 = 3;
|
|
3314
3314
|
continue $sm;
|
|
3315
3315
|
}
|
|
@@ -3320,23 +3320,23 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3320
3320
|
|
|
3321
3321
|
break;
|
|
3322
3322
|
case 3:
|
|
3323
|
-
var message = this.
|
|
3323
|
+
var message = this.gc5_1;
|
|
3324
3324
|
if (message instanceof HeadersWanted) {
|
|
3325
|
-
if (this.
|
|
3326
|
-
this.
|
|
3325
|
+
if (this.fc5_1 == null)
|
|
3326
|
+
this.fc5_1 = new ValueTimeMark(Monotonic_instance.df());
|
|
3327
3327
|
this.h9_1 = 5;
|
|
3328
3328
|
this.g9_1 = 4;
|
|
3329
|
-
suspendResult = this.
|
|
3329
|
+
suspendResult = this.dc5_1.o75(this);
|
|
3330
3330
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3331
3331
|
return suspendResult;
|
|
3332
3332
|
}
|
|
3333
3333
|
continue $sm;
|
|
3334
3334
|
} else {
|
|
3335
3335
|
if (message instanceof Proved_0) {
|
|
3336
|
-
return new Proved(message.
|
|
3336
|
+
return new Proved(message.kbz_1);
|
|
3337
3337
|
} else {
|
|
3338
3338
|
if (message instanceof Failed_0) {
|
|
3339
|
-
return new Failed(message.
|
|
3339
|
+
return new Failed(message.pbz_1);
|
|
3340
3340
|
} else {
|
|
3341
3341
|
noWhenBranchMatchedException();
|
|
3342
3342
|
}
|
|
@@ -3345,8 +3345,8 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3345
3345
|
|
|
3346
3346
|
break;
|
|
3347
3347
|
case 4:
|
|
3348
|
-
var ARGUMENT = suspendResult.
|
|
3349
|
-
this.
|
|
3348
|
+
var ARGUMENT = suspendResult.sau_1;
|
|
3349
|
+
this.ec5_1 = new Headers(this.bc5_1, ARGUMENT);
|
|
3350
3350
|
this.h9_1 = 9;
|
|
3351
3351
|
this.g9_1 = 6;
|
|
3352
3352
|
continue $sm;
|
|
@@ -3363,7 +3363,7 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3363
3363
|
var e_1 = this.j9_1;
|
|
3364
3364
|
var tmp_12 = this;
|
|
3365
3365
|
var tmp6_elvis_lhs = e_1.message;
|
|
3366
|
-
tmp_12.
|
|
3366
|
+
tmp_12.ec5_1 = new Headers(this.bc5_1, VOID, 'the upgrade could not be signed: ' + (tmp6_elvis_lhs == null ? 'no detail' : tmp6_elvis_lhs));
|
|
3367
3367
|
this.g9_1 = 6;
|
|
3368
3368
|
continue $sm;
|
|
3369
3369
|
} else {
|
|
@@ -3373,9 +3373,9 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3373
3373
|
|
|
3374
3374
|
case 6:
|
|
3375
3375
|
this.h9_1 = 9;
|
|
3376
|
-
var reply = this.
|
|
3377
|
-
if (!this.
|
|
3378
|
-
return killed(this.
|
|
3376
|
+
var reply = this.ec5_1;
|
|
3377
|
+
if (!this.ac5_1.lc7(ProverIpc_getInstance().nby(reply)))
|
|
3378
|
+
return killed(this.zc4_1, KillCause_EXITED_getInstance(), "the prover's channel was closed");
|
|
3379
3379
|
this.g9_1 = 7;
|
|
3380
3380
|
continue $sm;
|
|
3381
3381
|
case 7:
|
|
@@ -3425,42 +3425,42 @@ function ForkedProofHost(script, args, settings, clock, limits, env, backoff, on
|
|
|
3425
3425
|
tmp_1 = onOutcome;
|
|
3426
3426
|
}
|
|
3427
3427
|
onOutcome = tmp_1;
|
|
3428
|
-
this.
|
|
3429
|
-
this.
|
|
3430
|
-
this.
|
|
3431
|
-
this.
|
|
3432
|
-
this.
|
|
3433
|
-
this.
|
|
3434
|
-
this.
|
|
3435
|
-
this.
|
|
3436
|
-
this.
|
|
3437
|
-
this.
|
|
3438
|
-
this.
|
|
3439
|
-
this.
|
|
3428
|
+
this.ic5_1 = script;
|
|
3429
|
+
this.jc5_1 = args;
|
|
3430
|
+
this.kc5_1 = settings;
|
|
3431
|
+
this.lc5_1 = clock;
|
|
3432
|
+
this.mc5_1 = limits;
|
|
3433
|
+
this.nc5_1 = env;
|
|
3434
|
+
this.oc5_1 = backoff;
|
|
3435
|
+
this.pc5_1 = onLine;
|
|
3436
|
+
this.qc5_1 = onNotice;
|
|
3437
|
+
this.rc5_1 = onOutcome;
|
|
3438
|
+
this.sc5_1 = Mutex();
|
|
3439
|
+
this.tc5_1 = ArrayDeque_init_$Create$();
|
|
3440
3440
|
var tmp_2 = this;
|
|
3441
3441
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
3442
|
-
tmp_2.
|
|
3443
|
-
this.
|
|
3444
|
-
this.
|
|
3442
|
+
tmp_2.uc5_1 = LinkedHashSet_init_$Create$();
|
|
3443
|
+
this.vc5_1 = 1;
|
|
3444
|
+
this.wc5_1 = 0;
|
|
3445
3445
|
}
|
|
3446
|
-
protoOf(ForkedProofHost).
|
|
3446
|
+
protoOf(ForkedProofHost).vas = function (proof, upgrade, $completion) {
|
|
3447
3447
|
var tmp = new $proveCOROUTINE$(this, proof, upgrade, $completion);
|
|
3448
3448
|
tmp.i9_1 = Unit_instance;
|
|
3449
3449
|
tmp.j9_1 = null;
|
|
3450
3450
|
return tmp.o9();
|
|
3451
3451
|
};
|
|
3452
|
-
protoOf(ForkedProofHost).
|
|
3453
|
-
return this.
|
|
3452
|
+
protoOf(ForkedProofHost).bby = function () {
|
|
3453
|
+
return this.oc5_1.bby();
|
|
3454
3454
|
};
|
|
3455
3455
|
protoOf(ForkedProofHost).h4 = function () {
|
|
3456
3456
|
// Inline function 'kotlin.collections.forEach' call
|
|
3457
|
-
var _iterator__ex2g4s = this.
|
|
3457
|
+
var _iterator__ex2g4s = this.uc5_1.t();
|
|
3458
3458
|
while (_iterator__ex2g4s.u()) {
|
|
3459
3459
|
var element = _iterator__ex2g4s.v();
|
|
3460
|
-
element.
|
|
3460
|
+
element.kc7();
|
|
3461
3461
|
}
|
|
3462
|
+
this.uc5_1.a3();
|
|
3462
3463
|
this.tc5_1.a3();
|
|
3463
|
-
this.sc5_1.a3();
|
|
3464
3464
|
};
|
|
3465
3465
|
function minimalProverEnv(from) {
|
|
3466
3466
|
from = from === VOID ? get_nodeProcess().env : from;
|
|
@@ -3509,37 +3509,37 @@ function toJsObject(_this__u8e3s4) {
|
|
|
3509
3509
|
return target;
|
|
3510
3510
|
}
|
|
3511
3511
|
function Message(text) {
|
|
3512
|
-
this.
|
|
3512
|
+
this.mc7_1 = text;
|
|
3513
3513
|
}
|
|
3514
3514
|
protoOf(Message).toString = function () {
|
|
3515
|
-
return 'Message(text=' + this.
|
|
3515
|
+
return 'Message(text=' + this.mc7_1 + ')';
|
|
3516
3516
|
};
|
|
3517
3517
|
protoOf(Message).hashCode = function () {
|
|
3518
|
-
return getStringHashCode(this.
|
|
3518
|
+
return getStringHashCode(this.mc7_1);
|
|
3519
3519
|
};
|
|
3520
3520
|
protoOf(Message).equals = function (other) {
|
|
3521
3521
|
if (this === other)
|
|
3522
3522
|
return true;
|
|
3523
3523
|
if (!(other instanceof Message))
|
|
3524
3524
|
return false;
|
|
3525
|
-
if (!(this.
|
|
3525
|
+
if (!(this.mc7_1 === other.mc7_1))
|
|
3526
3526
|
return false;
|
|
3527
3527
|
return true;
|
|
3528
3528
|
};
|
|
3529
3529
|
function Exited(code, signal, error) {
|
|
3530
3530
|
error = error === VOID ? null : error;
|
|
3531
|
-
this.
|
|
3532
|
-
this.
|
|
3533
|
-
this.
|
|
3531
|
+
this.nc7_1 = code;
|
|
3532
|
+
this.oc7_1 = signal;
|
|
3533
|
+
this.pc7_1 = error;
|
|
3534
3534
|
}
|
|
3535
|
-
protoOf(Exited).pc7 = function () {
|
|
3536
|
-
return this.nc7_1 === 'SIGKILL' ? KillCause_OUT_OF_MEMORY_getInstance() : KillCause_EXITED_getInstance();
|
|
3537
|
-
};
|
|
3538
3535
|
protoOf(Exited).qc7 = function () {
|
|
3539
|
-
|
|
3536
|
+
return this.oc7_1 === 'SIGKILL' ? KillCause_OUT_OF_MEMORY_getInstance() : KillCause_EXITED_getInstance();
|
|
3537
|
+
};
|
|
3538
|
+
protoOf(Exited).rc7 = function () {
|
|
3539
|
+
var tmp0_elvis_lhs = this.pc7_1;
|
|
3540
3540
|
var tmp;
|
|
3541
3541
|
if (tmp0_elvis_lhs == null) {
|
|
3542
|
-
var tmp1_safe_receiver = this.
|
|
3542
|
+
var tmp1_safe_receiver = this.oc7_1;
|
|
3543
3543
|
var tmp_0;
|
|
3544
3544
|
if (tmp1_safe_receiver == null) {
|
|
3545
3545
|
tmp_0 = null;
|
|
@@ -3552,15 +3552,15 @@ protoOf(Exited).qc7 = function () {
|
|
|
3552
3552
|
tmp = tmp0_elvis_lhs;
|
|
3553
3553
|
}
|
|
3554
3554
|
var tmp2_elvis_lhs = tmp;
|
|
3555
|
-
return tmp2_elvis_lhs == null ? 'exit code ' + this.
|
|
3555
|
+
return tmp2_elvis_lhs == null ? 'exit code ' + this.nc7_1 : tmp2_elvis_lhs;
|
|
3556
3556
|
};
|
|
3557
3557
|
protoOf(Exited).toString = function () {
|
|
3558
|
-
return 'Exited(code=' + this.
|
|
3558
|
+
return 'Exited(code=' + this.nc7_1 + ', signal=' + this.oc7_1 + ', error=' + this.pc7_1 + ')';
|
|
3559
3559
|
};
|
|
3560
3560
|
protoOf(Exited).hashCode = function () {
|
|
3561
|
-
var result = this.
|
|
3562
|
-
result = imul(result, 31) + (this.nc7_1 == null ? 0 : getStringHashCode(this.nc7_1)) | 0;
|
|
3561
|
+
var result = this.nc7_1 == null ? 0 : this.nc7_1;
|
|
3563
3562
|
result = imul(result, 31) + (this.oc7_1 == null ? 0 : getStringHashCode(this.oc7_1)) | 0;
|
|
3563
|
+
result = imul(result, 31) + (this.pc7_1 == null ? 0 : getStringHashCode(this.pc7_1)) | 0;
|
|
3564
3564
|
return result;
|
|
3565
3565
|
};
|
|
3566
3566
|
protoOf(Exited).equals = function (other) {
|
|
@@ -3568,12 +3568,12 @@ protoOf(Exited).equals = function (other) {
|
|
|
3568
3568
|
return true;
|
|
3569
3569
|
if (!(other instanceof Exited))
|
|
3570
3570
|
return false;
|
|
3571
|
-
if (!(this.mc7_1 == other.mc7_1))
|
|
3572
|
-
return false;
|
|
3573
3571
|
if (!(this.nc7_1 == other.nc7_1))
|
|
3574
3572
|
return false;
|
|
3575
3573
|
if (!(this.oc7_1 == other.oc7_1))
|
|
3576
3574
|
return false;
|
|
3575
|
+
if (!(this.pc7_1 == other.pc7_1))
|
|
3576
|
+
return false;
|
|
3577
3577
|
return true;
|
|
3578
3578
|
};
|
|
3579
3579
|
function pipe($this, stream, name) {
|
|
@@ -3588,14 +3588,14 @@ function emit($this, stream, line) {
|
|
|
3588
3588
|
var text = trimEnd(line, charArrayOf([_Char___init__impl__6a9atx(13)]));
|
|
3589
3589
|
if (isBlank(text))
|
|
3590
3590
|
return Unit_instance;
|
|
3591
|
-
$this.
|
|
3591
|
+
$this.yc5_1($this.bc6_1, stream, ProverOutput_getInstance().l76(text));
|
|
3592
3592
|
}
|
|
3593
3593
|
function ForkedChild$lambda(this$0) {
|
|
3594
3594
|
return function (message) {
|
|
3595
3595
|
var tmp;
|
|
3596
3596
|
if (typeof message === 'string') {
|
|
3597
3597
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3598
|
-
this$0.
|
|
3598
|
+
this$0.ac6_1.h1f(new Message(message));
|
|
3599
3599
|
tmp = Unit_instance;
|
|
3600
3600
|
}
|
|
3601
3601
|
return Unit_instance;
|
|
@@ -3603,28 +3603,28 @@ function ForkedChild$lambda(this$0) {
|
|
|
3603
3603
|
}
|
|
3604
3604
|
function ForkedChild$lambda_0(this$0) {
|
|
3605
3605
|
return function (code, signal) {
|
|
3606
|
-
this$0.
|
|
3606
|
+
this$0.dc6_1 = true;
|
|
3607
3607
|
var tmp0_safe_receiver = isNumber(code) ? code : null;
|
|
3608
3608
|
var tmp = tmp0_safe_receiver == null ? null : numberToInt(tmp0_safe_receiver);
|
|
3609
3609
|
var exit = new Exited(tmp, (!(signal == null) ? typeof signal === 'string' : false) ? signal : null);
|
|
3610
|
-
var tmp_0 = to('pid', this$0.
|
|
3611
|
-
var tmp1_safe_receiver = exit.
|
|
3612
|
-
this$0.
|
|
3613
|
-
return new ChannelResult(this$0.
|
|
3610
|
+
var tmp_0 = to('pid', this$0.bc6_1);
|
|
3611
|
+
var tmp1_safe_receiver = exit.nc7_1;
|
|
3612
|
+
this$0.zc5_1('prover exited', false, listOf([tmp_0, to('code', tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString()), to('signal', exit.oc7_1), to('killedBySdk', this$0.ec6_1.toString())]));
|
|
3613
|
+
return new ChannelResult(this$0.ac6_1.h1f(exit));
|
|
3614
3614
|
};
|
|
3615
3615
|
}
|
|
3616
3616
|
function ForkedChild$lambda_1(this$0) {
|
|
3617
3617
|
return function (error) {
|
|
3618
|
-
this$0.
|
|
3618
|
+
this$0.dc6_1 = true;
|
|
3619
3619
|
var tmp1_elvis_lhs = error == null ? null : error.message;
|
|
3620
|
-
return new ChannelResult(this$0.
|
|
3620
|
+
return new ChannelResult(this$0.ac6_1.h1f(new Exited(null, null, 'the prover process failed: ' + (tmp1_elvis_lhs == null ? 'no detail' : tmp1_elvis_lhs))));
|
|
3621
3621
|
};
|
|
3622
3622
|
}
|
|
3623
3623
|
function ForkedChild$end$lambda(this$0) {
|
|
3624
3624
|
return function () {
|
|
3625
3625
|
var tmp;
|
|
3626
|
-
if (!this$0.
|
|
3627
|
-
this$0.
|
|
3626
|
+
if (!this$0.dc6_1) {
|
|
3627
|
+
this$0.kc7();
|
|
3628
3628
|
tmp = Unit_instance;
|
|
3629
3629
|
}
|
|
3630
3630
|
return Unit_instance;
|
|
@@ -3657,32 +3657,32 @@ function ForkedChild$pipe$lambda_0($pending, this$0, $name) {
|
|
|
3657
3657
|
};
|
|
3658
3658
|
}
|
|
3659
3659
|
function ForkedChild(process, onLine, onNotice) {
|
|
3660
|
-
this.
|
|
3661
|
-
this.
|
|
3662
|
-
this.
|
|
3663
|
-
this.
|
|
3660
|
+
this.xc5_1 = process;
|
|
3661
|
+
this.yc5_1 = onLine;
|
|
3662
|
+
this.zc5_1 = onNotice;
|
|
3663
|
+
this.ac6_1 = Channel(2147483647);
|
|
3664
3664
|
var tmp = this;
|
|
3665
|
-
var tmp_0 = this.
|
|
3665
|
+
var tmp_0 = this.xc5_1.pid;
|
|
3666
3666
|
var tmp0_safe_receiver = isNumber(tmp_0) ? tmp_0 : null;
|
|
3667
3667
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toString_0(tmp0_safe_receiver);
|
|
3668
|
-
tmp.
|
|
3669
|
-
this.
|
|
3670
|
-
this.cc6_1 = false;
|
|
3668
|
+
tmp.bc6_1 = tmp1_elvis_lhs == null ? '?' : tmp1_elvis_lhs;
|
|
3669
|
+
this.cc6_1 = 0;
|
|
3671
3670
|
this.dc6_1 = false;
|
|
3672
|
-
this.
|
|
3673
|
-
this.
|
|
3674
|
-
this.
|
|
3675
|
-
|
|
3676
|
-
pipe(this, this.
|
|
3677
|
-
|
|
3678
|
-
|
|
3671
|
+
this.ec6_1 = false;
|
|
3672
|
+
this.xc5_1.on('message', ForkedChild$lambda(this));
|
|
3673
|
+
this.xc5_1.on('exit', ForkedChild$lambda_0(this));
|
|
3674
|
+
this.xc5_1.on('error', ForkedChild$lambda_1(this));
|
|
3675
|
+
pipe(this, this.xc5_1.stdout, 'stdout');
|
|
3676
|
+
pipe(this, this.xc5_1.stderr, 'stderr');
|
|
3677
|
+
}
|
|
3678
|
+
protoOf(ForkedChild).lc7 = function (text) {
|
|
3679
3679
|
var tmp;
|
|
3680
3680
|
try {
|
|
3681
3681
|
var tmp_0;
|
|
3682
|
-
if (this.
|
|
3682
|
+
if (this.dc6_1 || this.xc5_1.connected != true) {
|
|
3683
3683
|
tmp_0 = false;
|
|
3684
3684
|
} else {
|
|
3685
|
-
this.
|
|
3685
|
+
this.xc5_1.send(text);
|
|
3686
3686
|
tmp_0 = true;
|
|
3687
3687
|
}
|
|
3688
3688
|
tmp = tmp_0;
|
|
@@ -3698,15 +3698,15 @@ protoOf(ForkedChild).kc7 = function (text) {
|
|
|
3698
3698
|
}
|
|
3699
3699
|
return tmp;
|
|
3700
3700
|
};
|
|
3701
|
-
protoOf(ForkedChild).
|
|
3702
|
-
if (this.
|
|
3701
|
+
protoOf(ForkedChild).kc7 = function () {
|
|
3702
|
+
if (this.dc6_1)
|
|
3703
3703
|
return Unit_instance;
|
|
3704
|
-
this.
|
|
3704
|
+
this.ec6_1 = true;
|
|
3705
3705
|
// Inline function 'kotlin.runCatching' call
|
|
3706
3706
|
var tmp;
|
|
3707
3707
|
try {
|
|
3708
3708
|
// Inline function 'kotlin.Companion.success' call
|
|
3709
|
-
var value = this.
|
|
3709
|
+
var value = this.xc5_1.kill('SIGKILL');
|
|
3710
3710
|
tmp = _Result___init__impl__xyqfz8(value);
|
|
3711
3711
|
} catch ($p) {
|
|
3712
3712
|
var tmp_0;
|
|
@@ -3720,14 +3720,14 @@ protoOf(ForkedChild).jc7 = function () {
|
|
|
3720
3720
|
tmp = tmp_0;
|
|
3721
3721
|
}
|
|
3722
3722
|
};
|
|
3723
|
-
protoOf(ForkedChild).
|
|
3724
|
-
if (this.
|
|
3723
|
+
protoOf(ForkedChild).fc6 = function (grace) {
|
|
3724
|
+
if (this.dc6_1)
|
|
3725
3725
|
return Unit_instance;
|
|
3726
3726
|
// Inline function 'kotlin.runCatching' call
|
|
3727
3727
|
var tmp;
|
|
3728
3728
|
try {
|
|
3729
|
-
if (this.
|
|
3730
|
-
this.
|
|
3729
|
+
if (this.xc5_1.connected == true) {
|
|
3730
|
+
this.xc5_1.disconnect();
|
|
3731
3731
|
}
|
|
3732
3732
|
// Inline function 'kotlin.Companion.success' call
|
|
3733
3733
|
tmp = _Result___init__impl__xyqfz8(Unit_instance);
|
|
@@ -3774,20 +3774,20 @@ function NodeWasmProver$prove$slambda$slambda$lambda(line) {
|
|
|
3774
3774
|
return Unit_instance;
|
|
3775
3775
|
}
|
|
3776
3776
|
function NodeWasmProver$prove$slambda$slambda($proof, $config, $host, this$0, resultContinuation) {
|
|
3777
|
-
this.
|
|
3778
|
-
this.
|
|
3779
|
-
this.
|
|
3780
|
-
this.
|
|
3777
|
+
this.ac8_1 = $proof;
|
|
3778
|
+
this.bc8_1 = $config;
|
|
3779
|
+
this.cc8_1 = $host;
|
|
3780
|
+
this.dc8_1 = this$0;
|
|
3781
3781
|
CoroutineImpl.call(this, resultContinuation);
|
|
3782
3782
|
}
|
|
3783
|
-
protoOf(NodeWasmProver$prove$slambda$slambda).
|
|
3783
|
+
protoOf(NodeWasmProver$prove$slambda$slambda).dbu = function ($this$async, $completion) {
|
|
3784
3784
|
var tmp = this.l1n($this$async, $completion);
|
|
3785
3785
|
tmp.i9_1 = Unit_instance;
|
|
3786
3786
|
tmp.j9_1 = null;
|
|
3787
3787
|
return tmp.o9();
|
|
3788
3788
|
};
|
|
3789
3789
|
protoOf(NodeWasmProver$prove$slambda$slambda).ba = function (p1, $completion) {
|
|
3790
|
-
return this.
|
|
3790
|
+
return this.dbu((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
|
|
3791
3791
|
};
|
|
3792
3792
|
protoOf(NodeWasmProver$prove$slambda$slambda).o9 = function () {
|
|
3793
3793
|
var suspendResult = this.i9_1;
|
|
@@ -3798,9 +3798,9 @@ protoOf(NodeWasmProver$prove$slambda$slambda).o9 = function () {
|
|
|
3798
3798
|
case 0:
|
|
3799
3799
|
this.h9_1 = 2;
|
|
3800
3800
|
this.g9_1 = 1;
|
|
3801
|
-
var tmp_0 = new HostedProofRequest(this.
|
|
3802
|
-
var tmp_1 = this.
|
|
3803
|
-
suspendResult = runHostedProof(tmp_0, this.
|
|
3801
|
+
var tmp_0 = new HostedProofRequest(this.ac8_1.uby_1, this.ac8_1.vby_1, this.ac8_1.wby_1);
|
|
3802
|
+
var tmp_1 = this.dc8_1.fc8_1.fo();
|
|
3803
|
+
suspendResult = runHostedProof(tmp_0, this.bc8_1, this.cc8_1, tmp_1, NodeWasmProver$prove$slambda$slambda$lambda, this);
|
|
3804
3804
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3805
3805
|
return suspendResult;
|
|
3806
3806
|
}
|
|
@@ -3823,27 +3823,27 @@ protoOf(NodeWasmProver$prove$slambda$slambda).o9 = function () {
|
|
|
3823
3823
|
while (true);
|
|
3824
3824
|
};
|
|
3825
3825
|
protoOf(NodeWasmProver$prove$slambda$slambda).l1n = function ($this$async, completion) {
|
|
3826
|
-
var i = new NodeWasmProver$prove$slambda$slambda(this.
|
|
3827
|
-
i.
|
|
3826
|
+
var i = new NodeWasmProver$prove$slambda$slambda(this.ac8_1, this.bc8_1, this.cc8_1, this.dc8_1, completion);
|
|
3827
|
+
i.ec8_1 = $this$async;
|
|
3828
3828
|
return i;
|
|
3829
3829
|
};
|
|
3830
3830
|
function NodeWasmProver$prove$slambda$slambda_0($proof, $config, $host, this$0, resultContinuation) {
|
|
3831
3831
|
var i = new NodeWasmProver$prove$slambda$slambda($proof, $config, $host, this$0, resultContinuation);
|
|
3832
3832
|
return constructCallableReference(function ($this$async, $completion) {
|
|
3833
|
-
return i.
|
|
3833
|
+
return i.dbu($this$async, $completion);
|
|
3834
3834
|
}, 1);
|
|
3835
3835
|
}
|
|
3836
3836
|
function NodeWasmProver$prove$slambda$slambda_1(resultContinuation) {
|
|
3837
3837
|
CoroutineImpl.call(this, resultContinuation);
|
|
3838
3838
|
}
|
|
3839
|
-
protoOf(NodeWasmProver$prove$slambda$slambda_1).
|
|
3840
|
-
var tmp = this.
|
|
3839
|
+
protoOf(NodeWasmProver$prove$slambda$slambda_1).pc8 = function (presentation, $completion) {
|
|
3840
|
+
var tmp = this.qc8(presentation, $completion);
|
|
3841
3841
|
tmp.i9_1 = Unit_instance;
|
|
3842
3842
|
tmp.j9_1 = null;
|
|
3843
3843
|
return tmp.o9();
|
|
3844
3844
|
};
|
|
3845
3845
|
protoOf(NodeWasmProver$prove$slambda$slambda_1).ba = function (p1, $completion) {
|
|
3846
|
-
return this.
|
|
3846
|
+
return this.pc8((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
|
|
3847
3847
|
};
|
|
3848
3848
|
protoOf(NodeWasmProver$prove$slambda$slambda_1).o9 = function () {
|
|
3849
3849
|
var suspendResult = this.i9_1;
|
|
@@ -3852,7 +3852,7 @@ protoOf(NodeWasmProver$prove$slambda$slambda_1).o9 = function () {
|
|
|
3852
3852
|
var tmp = this.g9_1;
|
|
3853
3853
|
if (tmp === 0) {
|
|
3854
3854
|
this.h9_1 = 1;
|
|
3855
|
-
return new Proved_1(this.
|
|
3855
|
+
return new Proved_1(this.oc8_1);
|
|
3856
3856
|
} else if (tmp === 1) {
|
|
3857
3857
|
throw this.j9_1;
|
|
3858
3858
|
}
|
|
@@ -3862,29 +3862,29 @@ protoOf(NodeWasmProver$prove$slambda$slambda_1).o9 = function () {
|
|
|
3862
3862
|
}
|
|
3863
3863
|
while (true);
|
|
3864
3864
|
};
|
|
3865
|
-
protoOf(NodeWasmProver$prove$slambda$slambda_1).
|
|
3865
|
+
protoOf(NodeWasmProver$prove$slambda$slambda_1).qc8 = function (presentation, completion) {
|
|
3866
3866
|
var i = new NodeWasmProver$prove$slambda$slambda_1(completion);
|
|
3867
|
-
i.
|
|
3867
|
+
i.oc8_1 = presentation;
|
|
3868
3868
|
return i;
|
|
3869
3869
|
};
|
|
3870
3870
|
function NodeWasmProver$prove$slambda$slambda_2(resultContinuation) {
|
|
3871
3871
|
var i = new NodeWasmProver$prove$slambda$slambda_1(resultContinuation);
|
|
3872
3872
|
return constructCallableReference(function (presentation, $completion) {
|
|
3873
|
-
return i.
|
|
3873
|
+
return i.pc8(presentation, $completion);
|
|
3874
3874
|
}, 1);
|
|
3875
3875
|
}
|
|
3876
3876
|
function NodeWasmProver$prove$slambda$slambda_3($proving, resultContinuation) {
|
|
3877
|
-
this.
|
|
3877
|
+
this.zc8_1 = $proving;
|
|
3878
3878
|
CoroutineImpl.call(this, resultContinuation);
|
|
3879
3879
|
}
|
|
3880
|
-
protoOf(NodeWasmProver$prove$slambda$slambda_3).
|
|
3881
|
-
var tmp = this.
|
|
3880
|
+
protoOf(NodeWasmProver$prove$slambda$slambda_3).bc9 = function (failure, $completion) {
|
|
3881
|
+
var tmp = this.cc9(failure, $completion);
|
|
3882
3882
|
tmp.i9_1 = Unit_instance;
|
|
3883
3883
|
tmp.j9_1 = null;
|
|
3884
3884
|
return tmp.o9();
|
|
3885
3885
|
};
|
|
3886
3886
|
protoOf(NodeWasmProver$prove$slambda$slambda_3).ba = function (p1, $completion) {
|
|
3887
|
-
return this.
|
|
3887
|
+
return this.bc9((!(p1 == null) ? isInterface(p1, ProofFailure) : false) ? p1 : THROW_CCE(), $completion);
|
|
3888
3888
|
};
|
|
3889
3889
|
protoOf(NodeWasmProver$prove$slambda$slambda_3).o9 = function () {
|
|
3890
3890
|
var suspendResult = this.i9_1;
|
|
@@ -3893,8 +3893,8 @@ protoOf(NodeWasmProver$prove$slambda$slambda_3).o9 = function () {
|
|
|
3893
3893
|
var tmp = this.g9_1;
|
|
3894
3894
|
if (tmp === 0) {
|
|
3895
3895
|
this.h9_1 = 1;
|
|
3896
|
-
this.
|
|
3897
|
-
return new Failed_1(this.
|
|
3896
|
+
this.zc8_1.sx();
|
|
3897
|
+
return new Failed_1(this.ac9_1, true);
|
|
3898
3898
|
} else if (tmp === 1) {
|
|
3899
3899
|
throw this.j9_1;
|
|
3900
3900
|
}
|
|
@@ -3904,15 +3904,15 @@ protoOf(NodeWasmProver$prove$slambda$slambda_3).o9 = function () {
|
|
|
3904
3904
|
}
|
|
3905
3905
|
while (true);
|
|
3906
3906
|
};
|
|
3907
|
-
protoOf(NodeWasmProver$prove$slambda$slambda_3).
|
|
3908
|
-
var i = new NodeWasmProver$prove$slambda$slambda_3(this.
|
|
3909
|
-
i.
|
|
3907
|
+
protoOf(NodeWasmProver$prove$slambda$slambda_3).cc9 = function (failure, completion) {
|
|
3908
|
+
var i = new NodeWasmProver$prove$slambda$slambda_3(this.zc8_1, completion);
|
|
3909
|
+
i.ac9_1 = failure;
|
|
3910
3910
|
return i;
|
|
3911
3911
|
};
|
|
3912
3912
|
function NodeWasmProver$prove$slambda$slambda_4($proving, resultContinuation) {
|
|
3913
3913
|
var i = new NodeWasmProver$prove$slambda$slambda_3($proving, resultContinuation);
|
|
3914
3914
|
return constructCallableReference(function (failure, $completion) {
|
|
3915
|
-
return i.
|
|
3915
|
+
return i.bc9(failure, $completion);
|
|
3916
3916
|
}, 1);
|
|
3917
3917
|
}
|
|
3918
3918
|
function printStats($this, started) {
|
|
@@ -3928,21 +3928,21 @@ function printStats($this, started) {
|
|
|
3928
3928
|
function classify($this, error, record) {
|
|
3929
3929
|
var tmp = generateSequence(error, NodeWasmProver$classify$lambda);
|
|
3930
3930
|
var message = joinToString_0(distinct(mapNotNull(tmp, NodeWasmProver$classify$lambda_0)), ': ');
|
|
3931
|
-
var tmp0_safe_receiver = record.
|
|
3931
|
+
var tmp0_safe_receiver = record.kc9_1;
|
|
3932
3932
|
if (tmp0_safe_receiver == null)
|
|
3933
3933
|
null;
|
|
3934
3934
|
else {
|
|
3935
3935
|
// Inline function 'kotlin.let' call
|
|
3936
3936
|
return new Other('the upgrade could not be signed: ' + tmp0_safe_receiver);
|
|
3937
3937
|
}
|
|
3938
|
-
var tmp1_elvis_lhs = ProofFailures_getInstance().
|
|
3938
|
+
var tmp1_elvis_lhs = ProofFailures_getInstance().zau(record.fc9_1, record.gc9_1, record.hc9_1, record.jc9_1, record.ic9_1, !record.dc9_1 || record.ec9_1 || !(record.fc9_1 == null), message);
|
|
3939
3939
|
return tmp1_elvis_lhs == null ? new Other(message) : tmp1_elvis_lhs;
|
|
3940
3940
|
}
|
|
3941
3941
|
function Companion_14() {
|
|
3942
3942
|
Companion_instance_17 = this;
|
|
3943
|
-
this.
|
|
3944
|
-
this.
|
|
3945
|
-
this.
|
|
3943
|
+
this.mc9_1 = numberRangeToNumber(200, 299);
|
|
3944
|
+
this.nc9_1 = new Long(1000, 0);
|
|
3945
|
+
this.oc9_1 = new Long(1024, 0);
|
|
3946
3946
|
}
|
|
3947
3947
|
var Companion_instance_17;
|
|
3948
3948
|
function Companion_getInstance_17() {
|
|
@@ -3952,22 +3952,22 @@ function Companion_getInstance_17() {
|
|
|
3952
3952
|
}
|
|
3953
3953
|
function NodeWasmProver$prove$lambda($settings) {
|
|
3954
3954
|
return function (path) {
|
|
3955
|
-
var tmp = com_dmarket_p2p_headless_node_nodePath_idbzon.join($settings.
|
|
3955
|
+
var tmp = com_dmarket_p2p_headless_node_nodePath_idbzon.join($settings.jby_1, path);
|
|
3956
3956
|
return fileUrl((!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : THROW_CCE());
|
|
3957
3957
|
};
|
|
3958
3958
|
}
|
|
3959
3959
|
function NodeWasmProver$prove$slambda($settings, resultContinuation) {
|
|
3960
|
-
this.
|
|
3960
|
+
this.xc9_1 = $settings;
|
|
3961
3961
|
CoroutineImpl.call(this, resultContinuation);
|
|
3962
3962
|
}
|
|
3963
|
-
protoOf(NodeWasmProver$prove$slambda).
|
|
3963
|
+
protoOf(NodeWasmProver$prove$slambda).yc9 = function ($completion) {
|
|
3964
3964
|
var tmp = this.d31($completion);
|
|
3965
3965
|
tmp.i9_1 = Unit_instance;
|
|
3966
3966
|
tmp.j9_1 = null;
|
|
3967
3967
|
return tmp.o9();
|
|
3968
3968
|
};
|
|
3969
3969
|
protoOf(NodeWasmProver$prove$slambda).aa = function ($completion) {
|
|
3970
|
-
return this.
|
|
3970
|
+
return this.yc9($completion);
|
|
3971
3971
|
};
|
|
3972
3972
|
protoOf(NodeWasmProver$prove$slambda).o9 = function () {
|
|
3973
3973
|
var suspendResult = this.i9_1;
|
|
@@ -3978,7 +3978,7 @@ protoOf(NodeWasmProver$prove$slambda).o9 = function () {
|
|
|
3978
3978
|
case 0:
|
|
3979
3979
|
this.h9_1 = 2;
|
|
3980
3980
|
this.g9_1 = 1;
|
|
3981
|
-
var tmp_0 = com_dmarket_p2p_headless_node_nodePath_idbzon.join(this.
|
|
3981
|
+
var tmp_0 = com_dmarket_p2p_headless_node_nodePath_idbzon.join(this.xc9_1.jby_1, 'pkg', 'client_wasm_bg.wasm');
|
|
3982
3982
|
suspendResult = compileWasm((!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : THROW_CCE(), this);
|
|
3983
3983
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3984
3984
|
return suspendResult;
|
|
@@ -4002,27 +4002,27 @@ protoOf(NodeWasmProver$prove$slambda).o9 = function () {
|
|
|
4002
4002
|
while (true);
|
|
4003
4003
|
};
|
|
4004
4004
|
protoOf(NodeWasmProver$prove$slambda).d31 = function (completion) {
|
|
4005
|
-
return new NodeWasmProver$prove$slambda(this.
|
|
4005
|
+
return new NodeWasmProver$prove$slambda(this.xc9_1, completion);
|
|
4006
4006
|
};
|
|
4007
4007
|
function NodeWasmProver$prove$slambda_0($settings, resultContinuation) {
|
|
4008
4008
|
var i = new NodeWasmProver$prove$slambda($settings, resultContinuation);
|
|
4009
4009
|
return constructCallableReference(function ($completion) {
|
|
4010
|
-
return i.
|
|
4010
|
+
return i.yc9($completion);
|
|
4011
4011
|
}, 0);
|
|
4012
4012
|
}
|
|
4013
4013
|
function NodeWasmProver$prove$slambda_1($record, $headers, resultContinuation) {
|
|
4014
|
-
this.
|
|
4015
|
-
this.
|
|
4014
|
+
this.hca_1 = $record;
|
|
4015
|
+
this.ica_1 = $headers;
|
|
4016
4016
|
CoroutineImpl.call(this, resultContinuation);
|
|
4017
4017
|
}
|
|
4018
|
-
protoOf(NodeWasmProver$prove$slambda_1).
|
|
4018
|
+
protoOf(NodeWasmProver$prove$slambda_1).yc9 = function ($completion) {
|
|
4019
4019
|
var tmp = this.d31($completion);
|
|
4020
4020
|
tmp.i9_1 = Unit_instance;
|
|
4021
4021
|
tmp.j9_1 = null;
|
|
4022
4022
|
return tmp.o9();
|
|
4023
4023
|
};
|
|
4024
4024
|
protoOf(NodeWasmProver$prove$slambda_1).aa = function ($completion) {
|
|
4025
|
-
return this.
|
|
4025
|
+
return this.yc9($completion);
|
|
4026
4026
|
};
|
|
4027
4027
|
protoOf(NodeWasmProver$prove$slambda_1).o9 = function () {
|
|
4028
4028
|
var suspendResult = this.i9_1;
|
|
@@ -4032,17 +4032,17 @@ protoOf(NodeWasmProver$prove$slambda_1).o9 = function () {
|
|
|
4032
4032
|
switch (tmp) {
|
|
4033
4033
|
case 0:
|
|
4034
4034
|
this.h9_1 = 4;
|
|
4035
|
-
this.
|
|
4035
|
+
this.hca_1.dc9_1 = true;
|
|
4036
4036
|
this.h9_1 = 2;
|
|
4037
4037
|
this.g9_1 = 1;
|
|
4038
|
-
suspendResult = this.
|
|
4038
|
+
suspendResult = this.ica_1(this);
|
|
4039
4039
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4040
4040
|
return suspendResult;
|
|
4041
4041
|
}
|
|
4042
4042
|
|
|
4043
4043
|
continue $sm;
|
|
4044
4044
|
case 1:
|
|
4045
|
-
this.
|
|
4045
|
+
this.jca_1 = suspendResult;
|
|
4046
4046
|
this.h9_1 = 4;
|
|
4047
4047
|
this.g9_1 = 3;
|
|
4048
4048
|
continue $sm;
|
|
@@ -4058,9 +4058,9 @@ protoOf(NodeWasmProver$prove$slambda_1).o9 = function () {
|
|
|
4058
4058
|
if (tmp_2 instanceof Error) {
|
|
4059
4059
|
var e_0 = this.j9_1;
|
|
4060
4060
|
var tmp_3 = this;
|
|
4061
|
-
var tmp_4 = this.
|
|
4061
|
+
var tmp_4 = this.hca_1;
|
|
4062
4062
|
var tmp0_elvis_lhs = e_0.message;
|
|
4063
|
-
tmp_4.
|
|
4063
|
+
tmp_4.kc9_1 = tmp0_elvis_lhs == null ? 'the upgrade could not be signed' : tmp0_elvis_lhs;
|
|
4064
4064
|
throw e_0;
|
|
4065
4065
|
} else {
|
|
4066
4066
|
throw this.j9_1;
|
|
@@ -4069,8 +4069,8 @@ protoOf(NodeWasmProver$prove$slambda_1).o9 = function () {
|
|
|
4069
4069
|
|
|
4070
4070
|
case 3:
|
|
4071
4071
|
this.h9_1 = 4;
|
|
4072
|
-
var signed = this.
|
|
4073
|
-
return headerWebSocket(signed.
|
|
4072
|
+
var signed = this.jca_1;
|
|
4073
|
+
return headerWebSocket(signed.sau_1, this.hca_1);
|
|
4074
4074
|
case 4:
|
|
4075
4075
|
throw this.j9_1;
|
|
4076
4076
|
}
|
|
@@ -4086,24 +4086,24 @@ protoOf(NodeWasmProver$prove$slambda_1).o9 = function () {
|
|
|
4086
4086
|
while (true);
|
|
4087
4087
|
};
|
|
4088
4088
|
protoOf(NodeWasmProver$prove$slambda_1).d31 = function (completion) {
|
|
4089
|
-
return new NodeWasmProver$prove$slambda_1(this.
|
|
4089
|
+
return new NodeWasmProver$prove$slambda_1(this.hca_1, this.ica_1, completion);
|
|
4090
4090
|
};
|
|
4091
4091
|
function NodeWasmProver$prove$slambda_2($record, $headers, resultContinuation) {
|
|
4092
4092
|
var i = new NodeWasmProver$prove$slambda_1($record, $headers, resultContinuation);
|
|
4093
4093
|
return constructCallableReference(function ($completion) {
|
|
4094
|
-
return i.
|
|
4094
|
+
return i.yc9($completion);
|
|
4095
4095
|
}, 0);
|
|
4096
4096
|
}
|
|
4097
4097
|
function NodeWasmProver$prove$lambda_0($settings, $record, $targetConnector) {
|
|
4098
4098
|
return function (serverName, port) {
|
|
4099
|
-
var tmp0_elvis_lhs = $settings.
|
|
4099
|
+
var tmp0_elvis_lhs = $settings.lby_1;
|
|
4100
4100
|
return recordedTargetChannel(tmp0_elvis_lhs == null ? serverName + ':' + port : tmp0_elvis_lhs, $record, VOID, $targetConnector);
|
|
4101
4101
|
};
|
|
4102
4102
|
}
|
|
4103
4103
|
function NodeWasmProver$prove$lambda_1($record) {
|
|
4104
4104
|
return function (status) {
|
|
4105
|
-
$record.
|
|
4106
|
-
var progression = Companion_getInstance_17().
|
|
4105
|
+
$record.jc9_1 = status;
|
|
4106
|
+
var progression = Companion_getInstance_17().mc9_1;
|
|
4107
4107
|
var containsLower = progression.s1_1;
|
|
4108
4108
|
var containsUpper = progression.t1_1;
|
|
4109
4109
|
// Inline function 'kotlin.check' call
|
|
@@ -4121,21 +4121,21 @@ function NodeWasmProver$prove$lambda_2($refused) {
|
|
|
4121
4121
|
};
|
|
4122
4122
|
}
|
|
4123
4123
|
function NodeWasmProver$prove$slambda_3($refused, $proof, $config, $host, this$0, resultContinuation) {
|
|
4124
|
-
this.
|
|
4125
|
-
this.
|
|
4126
|
-
this.
|
|
4127
|
-
this.
|
|
4128
|
-
this.
|
|
4124
|
+
this.sca_1 = $refused;
|
|
4125
|
+
this.tca_1 = $proof;
|
|
4126
|
+
this.uca_1 = $config;
|
|
4127
|
+
this.vca_1 = $host;
|
|
4128
|
+
this.wca_1 = this$0;
|
|
4129
4129
|
CoroutineImpl.call(this, resultContinuation);
|
|
4130
4130
|
}
|
|
4131
|
-
protoOf(NodeWasmProver$prove$slambda_3).
|
|
4131
|
+
protoOf(NodeWasmProver$prove$slambda_3).yca = function ($this$coroutineScope, $completion) {
|
|
4132
4132
|
var tmp = this.l1n($this$coroutineScope, $completion);
|
|
4133
4133
|
tmp.i9_1 = Unit_instance;
|
|
4134
4134
|
tmp.j9_1 = null;
|
|
4135
4135
|
return tmp.o9();
|
|
4136
4136
|
};
|
|
4137
4137
|
protoOf(NodeWasmProver$prove$slambda_3).ba = function (p1, $completion) {
|
|
4138
|
-
return this.
|
|
4138
|
+
return this.yca((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
|
|
4139
4139
|
};
|
|
4140
4140
|
protoOf(NodeWasmProver$prove$slambda_3).o9 = function () {
|
|
4141
4141
|
var suspendResult = this.i9_1;
|
|
@@ -4145,11 +4145,11 @@ protoOf(NodeWasmProver$prove$slambda_3).o9 = function () {
|
|
|
4145
4145
|
switch (tmp) {
|
|
4146
4146
|
case 0:
|
|
4147
4147
|
this.h9_1 = 2;
|
|
4148
|
-
var proving = async(this.
|
|
4148
|
+
var proving = async(this.xca_1, VOID, VOID, NodeWasmProver$prove$slambda$slambda_0(this.tca_1, this.uca_1, this.vca_1, this.wca_1, null));
|
|
4149
4149
|
var $this$run = new SelectImplementation(this.m9());
|
|
4150
4150
|
var tmp_0 = proving.l11();
|
|
4151
4151
|
$this$run.a1s(tmp_0, NodeWasmProver$prove$slambda$slambda_2(null));
|
|
4152
|
-
var tmp_1 = this.
|
|
4152
|
+
var tmp_1 = this.sca_1.l11();
|
|
4153
4153
|
$this$run.a1s(tmp_1, NodeWasmProver$prove$slambda$slambda_4(proving, null));
|
|
4154
4154
|
this.g9_1 = 1;
|
|
4155
4155
|
suspendResult = $this$run.z1r(this);
|
|
@@ -4175,14 +4175,14 @@ protoOf(NodeWasmProver$prove$slambda_3).o9 = function () {
|
|
|
4175
4175
|
while (true);
|
|
4176
4176
|
};
|
|
4177
4177
|
protoOf(NodeWasmProver$prove$slambda_3).l1n = function ($this$coroutineScope, completion) {
|
|
4178
|
-
var i = new NodeWasmProver$prove$slambda_3(this.
|
|
4179
|
-
i.
|
|
4178
|
+
var i = new NodeWasmProver$prove$slambda_3(this.sca_1, this.tca_1, this.uca_1, this.vca_1, this.wca_1, completion);
|
|
4179
|
+
i.xca_1 = $this$coroutineScope;
|
|
4180
4180
|
return i;
|
|
4181
4181
|
};
|
|
4182
4182
|
function NodeWasmProver$prove$slambda_4($refused, $proof, $config, $host, this$0, resultContinuation) {
|
|
4183
4183
|
var i = new NodeWasmProver$prove$slambda_3($refused, $proof, $config, $host, this$0, resultContinuation);
|
|
4184
4184
|
return constructCallableReference(function ($this$coroutineScope, $completion) {
|
|
4185
|
-
return i.
|
|
4185
|
+
return i.yca($this$coroutineScope, $completion);
|
|
4186
4186
|
}, 1);
|
|
4187
4187
|
}
|
|
4188
4188
|
function NodeWasmProver$classify$lambda(it) {
|
|
@@ -4193,9 +4193,9 @@ function NodeWasmProver$classify$lambda_0(it) {
|
|
|
4193
4193
|
}
|
|
4194
4194
|
function $proveCOROUTINE$_0(_this__u8e3s4, proof, headers, resultContinuation) {
|
|
4195
4195
|
CoroutineImpl.call(this, resultContinuation);
|
|
4196
|
-
this.
|
|
4197
|
-
this.
|
|
4198
|
-
this.
|
|
4196
|
+
this.hcb_1 = _this__u8e3s4;
|
|
4197
|
+
this.icb_1 = proof;
|
|
4198
|
+
this.jcb_1 = headers;
|
|
4199
4199
|
}
|
|
4200
4200
|
protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
4201
4201
|
var suspendResult = this.i9_1;
|
|
@@ -4206,34 +4206,34 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
4206
4206
|
case 0:
|
|
4207
4207
|
this.h9_1 = 6;
|
|
4208
4208
|
installBrowserWorker();
|
|
4209
|
-
var settings = this.
|
|
4210
|
-
this.
|
|
4211
|
-
var targetConnector = nodeTcpConnector(settings.
|
|
4209
|
+
var settings = this.icb_1.xby_1;
|
|
4210
|
+
this.mcb_1 = new ProverSessionRecord();
|
|
4211
|
+
var targetConnector = nodeTcpConnector(settings.jby_1);
|
|
4212
4212
|
var tmp_0 = this;
|
|
4213
4213
|
var tmp_1 = NodeWasmProver$prove$lambda(settings);
|
|
4214
4214
|
var tmp_2 = NodeWasmProver$prove$slambda_0(settings, null);
|
|
4215
|
-
var tmp_3 = NodeWasmProver$prove$slambda_2(this.
|
|
4216
|
-
var tmp_4 = NodeWasmProver$prove$lambda_0(settings, this.
|
|
4217
|
-
tmp_0.
|
|
4218
|
-
this.
|
|
4219
|
-
this.
|
|
4220
|
-
this.
|
|
4221
|
-
var tmp_5 = this.
|
|
4222
|
-
tmp_5.
|
|
4215
|
+
var tmp_3 = NodeWasmProver$prove$slambda_2(this.mcb_1, this.jcb_1, null);
|
|
4216
|
+
var tmp_4 = NodeWasmProver$prove$lambda_0(settings, this.mcb_1, targetConnector);
|
|
4217
|
+
tmp_0.ncb_1 = new WasmProverHost(tmp_1, tmp_2, tmp_3, tmp_4, NodeWasmProver$prove$lambda_1(this.mcb_1));
|
|
4218
|
+
this.ocb_1 = new TrackerConfig(VOID, VOID, VOID, VOID, VOID, new NotaryConfig(VOID, settings.hby_1, VOID, VOID, VOID, VOID, settings.iby_1, VOID, VOID, VOID, settings.kby_1));
|
|
4219
|
+
this.kcb_1 = get_nodeProcess().cpuUsage();
|
|
4220
|
+
this.pcb_1 = CompletableDeferred();
|
|
4221
|
+
var tmp_5 = this.mcb_1;
|
|
4222
|
+
tmp_5.lc9_1 = NodeWasmProver$prove$lambda_2(this.pcb_1);
|
|
4223
4223
|
this.g9_1 = 1;
|
|
4224
4224
|
continue $sm;
|
|
4225
4225
|
case 1:
|
|
4226
4226
|
this.h9_1 = 4;
|
|
4227
4227
|
this.h9_1 = 3;
|
|
4228
4228
|
this.g9_1 = 2;
|
|
4229
|
-
suspendResult = coroutineScope(NodeWasmProver$prove$slambda_4(this.
|
|
4229
|
+
suspendResult = coroutineScope(NodeWasmProver$prove$slambda_4(this.pcb_1, this.icb_1, this.ocb_1, this.ncb_1, this.hcb_1, null), this);
|
|
4230
4230
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4231
4231
|
return suspendResult;
|
|
4232
4232
|
}
|
|
4233
4233
|
|
|
4234
4234
|
continue $sm;
|
|
4235
4235
|
case 2:
|
|
4236
|
-
this.
|
|
4236
|
+
this.lcb_1 = suspendResult;
|
|
4237
4237
|
this.h9_1 = 6;
|
|
4238
4238
|
this.g9_1 = 5;
|
|
4239
4239
|
continue $sm;
|
|
@@ -4249,7 +4249,7 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
4249
4249
|
if (tmp_8 instanceof Error) {
|
|
4250
4250
|
var e_0 = this.j9_1;
|
|
4251
4251
|
var tmp_9 = this;
|
|
4252
|
-
tmp_9.
|
|
4252
|
+
tmp_9.lcb_1 = new Failed_1(classify(this.hcb_1, e_0, this.mcb_1));
|
|
4253
4253
|
this.h9_1 = 6;
|
|
4254
4254
|
this.g9_1 = 5;
|
|
4255
4255
|
continue $sm;
|
|
@@ -4261,12 +4261,12 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
4261
4261
|
case 4:
|
|
4262
4262
|
this.h9_1 = 6;
|
|
4263
4263
|
var t = this.j9_1;
|
|
4264
|
-
printStats(this.
|
|
4264
|
+
printStats(this.hcb_1, this.kcb_1);
|
|
4265
4265
|
throw t;
|
|
4266
4266
|
case 5:
|
|
4267
|
-
var tmp_10 = this.
|
|
4267
|
+
var tmp_10 = this.lcb_1;
|
|
4268
4268
|
this.h9_1 = 6;
|
|
4269
|
-
printStats(this.
|
|
4269
|
+
printStats(this.hcb_1, this.kcb_1);
|
|
4270
4270
|
return tmp_10;
|
|
4271
4271
|
case 6:
|
|
4272
4272
|
throw this.j9_1;
|
|
@@ -4284,9 +4284,9 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
4284
4284
|
};
|
|
4285
4285
|
function NodeWasmProver(clock) {
|
|
4286
4286
|
Companion_getInstance_17();
|
|
4287
|
-
this.
|
|
4287
|
+
this.fc8_1 = clock;
|
|
4288
4288
|
}
|
|
4289
|
-
protoOf(NodeWasmProver).
|
|
4289
|
+
protoOf(NodeWasmProver).qcb = function (proof, headers, $completion) {
|
|
4290
4290
|
var tmp = new $proveCOROUTINE$_0(this, proof, headers, $completion);
|
|
4291
4291
|
tmp.i9_1 = Unit_instance;
|
|
4292
4292
|
tmp.j9_1 = null;
|
|
@@ -4304,7 +4304,7 @@ function compileWasm(path, $completion) {
|
|
|
4304
4304
|
}
|
|
4305
4305
|
function $compileWasmCOROUTINE$(path, resultContinuation) {
|
|
4306
4306
|
CoroutineImpl.call(this, resultContinuation);
|
|
4307
|
-
this.
|
|
4307
|
+
this.zcb_1 = path;
|
|
4308
4308
|
}
|
|
4309
4309
|
protoOf($compileWasmCOROUTINE$).o9 = function () {
|
|
4310
4310
|
var suspendResult = this.i9_1;
|
|
@@ -4315,7 +4315,7 @@ protoOf($compileWasmCOROUTINE$).o9 = function () {
|
|
|
4315
4315
|
case 0:
|
|
4316
4316
|
this.h9_1 = 3;
|
|
4317
4317
|
this.g9_1 = 1;
|
|
4318
|
-
var this_0 = com_dmarket_p2p_headless_node_nodeFs_vfkcsf.promises.readFile(this.
|
|
4318
|
+
var this_0 = com_dmarket_p2p_headless_node_nodeFs_vfkcsf.promises.readFile(this.zcb_1);
|
|
4319
4319
|
suspendResult = await_0(this_0, this);
|
|
4320
4320
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4321
4321
|
return suspendResult;
|
|
@@ -4390,15 +4390,15 @@ function get_UNEXPECTED_RESPONSE() {
|
|
|
4390
4390
|
}
|
|
4391
4391
|
var UNEXPECTED_RESPONSE;
|
|
4392
4392
|
function ProverSessionRecord() {
|
|
4393
|
-
this.cc9_1 = false;
|
|
4394
4393
|
this.dc9_1 = false;
|
|
4395
|
-
this.ec9_1 =
|
|
4394
|
+
this.ec9_1 = false;
|
|
4396
4395
|
this.fc9_1 = null;
|
|
4397
4396
|
this.gc9_1 = null;
|
|
4398
4397
|
this.hc9_1 = null;
|
|
4399
4398
|
this.ic9_1 = null;
|
|
4400
4399
|
this.jc9_1 = null;
|
|
4401
4400
|
this.kc9_1 = null;
|
|
4401
|
+
this.lc9_1 = null;
|
|
4402
4402
|
}
|
|
4403
4403
|
function headerWebSocket(headers_0, record) {
|
|
4404
4404
|
_init_properties_ProverChannels_kt__wlcf1i();
|
|
@@ -4492,7 +4492,7 @@ function nodeTcpConnector(assetsDir) {
|
|
|
4492
4492
|
}
|
|
4493
4493
|
function headerWebSocket$lambda($record) {
|
|
4494
4494
|
return function () {
|
|
4495
|
-
$record.
|
|
4495
|
+
$record.ec9_1 = true;
|
|
4496
4496
|
var tmp = get_nodeProcess().memoryUsage().rss;
|
|
4497
4497
|
println('prover: notary connected rssMb=' + divide(numberToLong(isNumber(tmp) ? tmp : THROW_CCE()), new Long(1048576, 0)).toString());
|
|
4498
4498
|
return Unit_instance;
|
|
@@ -4512,7 +4512,7 @@ function headerWebSocket$lambda_0($record) {
|
|
|
4512
4512
|
tmp_0 = null;
|
|
4513
4513
|
} else {
|
|
4514
4514
|
// Inline function 'kotlin.let' call
|
|
4515
|
-
$record.
|
|
4515
|
+
$record.fc9_1 = tmp3_safe_receiver;
|
|
4516
4516
|
tmp_0 = Unit_instance;
|
|
4517
4517
|
}
|
|
4518
4518
|
return tmp_0;
|
|
@@ -4521,8 +4521,8 @@ function headerWebSocket$lambda_0($record) {
|
|
|
4521
4521
|
function headerWebSocket$lambda_1($record) {
|
|
4522
4522
|
return function (code, reason) {
|
|
4523
4523
|
var tmp;
|
|
4524
|
-
if ($record.
|
|
4525
|
-
$record.
|
|
4524
|
+
if ($record.ec9_1) {
|
|
4525
|
+
$record.gc9_1 = code;
|
|
4526
4526
|
var tmp_0 = $record;
|
|
4527
4527
|
var tmp_1;
|
|
4528
4528
|
if (reason == null) {
|
|
@@ -4538,14 +4538,14 @@ function headerWebSocket$lambda_1($record) {
|
|
|
4538
4538
|
}
|
|
4539
4539
|
tmp_1 = tmp_2;
|
|
4540
4540
|
}
|
|
4541
|
-
tmp_0.
|
|
4541
|
+
tmp_0.hc9_1 = tmp_1;
|
|
4542
4542
|
var tmp_3;
|
|
4543
4543
|
if (!get_UNDELIBERATE_CLOSES().k1(code)) {
|
|
4544
|
-
var tmp1_safe_receiver = $record.
|
|
4544
|
+
var tmp1_safe_receiver = $record.lc9_1;
|
|
4545
4545
|
if (tmp1_safe_receiver == null)
|
|
4546
4546
|
null;
|
|
4547
4547
|
else
|
|
4548
|
-
tmp1_safe_receiver(code, $record.
|
|
4548
|
+
tmp1_safe_receiver(code, $record.hc9_1);
|
|
4549
4549
|
tmp_3 = Unit_instance;
|
|
4550
4550
|
}
|
|
4551
4551
|
tmp = tmp_3;
|
|
@@ -4556,9 +4556,9 @@ function headerWebSocket$lambda_1($record) {
|
|
|
4556
4556
|
function recordedTargetChannel$lambda($record) {
|
|
4557
4557
|
return function (message) {
|
|
4558
4558
|
var tmp;
|
|
4559
|
-
if ($record.
|
|
4559
|
+
if ($record.ic9_1 == null) {
|
|
4560
4560
|
var tmp_0 = $record;
|
|
4561
|
-
tmp_0.
|
|
4561
|
+
tmp_0.ic9_1 = message == null ? 'the Steam connection failed' : message;
|
|
4562
4562
|
tmp = Unit_instance;
|
|
4563
4563
|
}
|
|
4564
4564
|
return Unit_instance;
|
|
@@ -4573,34 +4573,34 @@ function _init_properties_ProverChannels_kt__wlcf1i() {
|
|
|
4573
4573
|
}
|
|
4574
4574
|
}
|
|
4575
4575
|
function Proved_1(presentation) {
|
|
4576
|
-
this.
|
|
4576
|
+
this.acc_1 = presentation;
|
|
4577
4577
|
}
|
|
4578
4578
|
protoOf(Proved_1).toString = function () {
|
|
4579
|
-
return 'Proved(presentation=' + this.
|
|
4579
|
+
return 'Proved(presentation=' + this.acc_1 + ')';
|
|
4580
4580
|
};
|
|
4581
4581
|
protoOf(Proved_1).hashCode = function () {
|
|
4582
|
-
return getStringHashCode(this.
|
|
4582
|
+
return getStringHashCode(this.acc_1);
|
|
4583
4583
|
};
|
|
4584
4584
|
protoOf(Proved_1).equals = function (other) {
|
|
4585
4585
|
if (this === other)
|
|
4586
4586
|
return true;
|
|
4587
4587
|
if (!(other instanceof Proved_1))
|
|
4588
4588
|
return false;
|
|
4589
|
-
if (!(this.
|
|
4589
|
+
if (!(this.acc_1 === other.acc_1))
|
|
4590
4590
|
return false;
|
|
4591
4591
|
return true;
|
|
4592
4592
|
};
|
|
4593
4593
|
function Failed_1(failure, exitAfter) {
|
|
4594
4594
|
exitAfter = exitAfter === VOID ? false : exitAfter;
|
|
4595
|
-
this.
|
|
4596
|
-
this.
|
|
4595
|
+
this.bcc_1 = failure;
|
|
4596
|
+
this.ccc_1 = exitAfter;
|
|
4597
4597
|
}
|
|
4598
4598
|
protoOf(Failed_1).toString = function () {
|
|
4599
|
-
return 'Failed(failure=' + toString_0(this.
|
|
4599
|
+
return 'Failed(failure=' + toString_0(this.bcc_1) + ', exitAfter=' + this.ccc_1 + ')';
|
|
4600
4600
|
};
|
|
4601
4601
|
protoOf(Failed_1).hashCode = function () {
|
|
4602
|
-
var result = hashCode(this.
|
|
4603
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
4602
|
+
var result = hashCode(this.bcc_1);
|
|
4603
|
+
result = imul(result, 31) + getBooleanHashCode(this.ccc_1) | 0;
|
|
4604
4604
|
return result;
|
|
4605
4605
|
};
|
|
4606
4606
|
protoOf(Failed_1).equals = function (other) {
|
|
@@ -4608,9 +4608,9 @@ protoOf(Failed_1).equals = function (other) {
|
|
|
4608
4608
|
return true;
|
|
4609
4609
|
if (!(other instanceof Failed_1))
|
|
4610
4610
|
return false;
|
|
4611
|
-
if (!equals(this.
|
|
4611
|
+
if (!equals(this.bcc_1, other.bcc_1))
|
|
4612
4612
|
return false;
|
|
4613
|
-
if (!(this.
|
|
4613
|
+
if (!(this.ccc_1 === other.ccc_1))
|
|
4614
4614
|
return false;
|
|
4615
4615
|
return true;
|
|
4616
4616
|
};
|
|
@@ -4664,18 +4664,18 @@ function markFirstToKill() {
|
|
|
4664
4664
|
}
|
|
4665
4665
|
}
|
|
4666
4666
|
function runProverChild$lambda$slambda$slambda($waiting, $message, resultContinuation) {
|
|
4667
|
-
this.
|
|
4668
|
-
this.
|
|
4667
|
+
this.lcc_1 = $waiting;
|
|
4668
|
+
this.mcc_1 = $message;
|
|
4669
4669
|
CoroutineImpl.call(this, resultContinuation);
|
|
4670
4670
|
}
|
|
4671
|
-
protoOf(runProverChild$lambda$slambda$slambda).
|
|
4671
|
+
protoOf(runProverChild$lambda$slambda$slambda).ncc = function ($completion) {
|
|
4672
4672
|
var tmp = this.d31($completion);
|
|
4673
4673
|
tmp.i9_1 = Unit_instance;
|
|
4674
4674
|
tmp.j9_1 = null;
|
|
4675
4675
|
return tmp.o9();
|
|
4676
4676
|
};
|
|
4677
4677
|
protoOf(runProverChild$lambda$slambda$slambda).aa = function ($completion) {
|
|
4678
|
-
return this.
|
|
4678
|
+
return this.ncc($completion);
|
|
4679
4679
|
};
|
|
4680
4680
|
protoOf(runProverChild$lambda$slambda$slambda).o9 = function () {
|
|
4681
4681
|
var suspendResult = this.i9_1;
|
|
@@ -4686,10 +4686,10 @@ protoOf(runProverChild$lambda$slambda$slambda).o9 = function () {
|
|
|
4686
4686
|
case 0:
|
|
4687
4687
|
this.h9_1 = 2;
|
|
4688
4688
|
var reply = CompletableDeferred();
|
|
4689
|
-
var tmp0 = this.
|
|
4690
|
-
var key = this.
|
|
4689
|
+
var tmp0 = this.lcc_1;
|
|
4690
|
+
var key = this.mcc_1.tby_1;
|
|
4691
4691
|
tmp0.f3(key, reply);
|
|
4692
|
-
send(ProverIpc_getInstance().
|
|
4692
|
+
send(ProverIpc_getInstance().oby(new HeadersWanted(this.mcc_1.tby_1)));
|
|
4693
4693
|
this.g9_1 = 1;
|
|
4694
4694
|
suspendResult = reply.k11(this);
|
|
4695
4695
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -4699,10 +4699,10 @@ protoOf(runProverChild$lambda$slambda$slambda).o9 = function () {
|
|
|
4699
4699
|
continue $sm;
|
|
4700
4700
|
case 1:
|
|
4701
4701
|
var answer = suspendResult;
|
|
4702
|
-
var tmp0_elvis_lhs = answer.
|
|
4702
|
+
var tmp0_elvis_lhs = answer.cbz_1;
|
|
4703
4703
|
var tmp_0;
|
|
4704
4704
|
if (tmp0_elvis_lhs == null) {
|
|
4705
|
-
var tmp1_elvis_lhs = answer.
|
|
4705
|
+
var tmp1_elvis_lhs = answer.dbz_1;
|
|
4706
4706
|
var message = tmp1_elvis_lhs == null ? 'the SDK sent no upgrade headers' : tmp1_elvis_lhs;
|
|
4707
4707
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
4708
4708
|
} else {
|
|
@@ -4725,12 +4725,12 @@ protoOf(runProverChild$lambda$slambda$slambda).o9 = function () {
|
|
|
4725
4725
|
while (true);
|
|
4726
4726
|
};
|
|
4727
4727
|
protoOf(runProverChild$lambda$slambda$slambda).d31 = function (completion) {
|
|
4728
|
-
return new runProverChild$lambda$slambda$slambda(this.
|
|
4728
|
+
return new runProverChild$lambda$slambda$slambda(this.lcc_1, this.mcc_1, completion);
|
|
4729
4729
|
};
|
|
4730
4730
|
function runProverChild$lambda$slambda$slambda_0($waiting, $message, resultContinuation) {
|
|
4731
4731
|
var i = new runProverChild$lambda$slambda$slambda($waiting, $message, resultContinuation);
|
|
4732
4732
|
return constructCallableReference(function ($completion) {
|
|
4733
|
-
return i.
|
|
4733
|
+
return i.ncc($completion);
|
|
4734
4734
|
}, 0);
|
|
4735
4735
|
}
|
|
4736
4736
|
function runProverChild$lambda$slambda$lambda($process) {
|
|
@@ -4739,10 +4739,10 @@ function runProverChild$lambda$slambda$lambda($process) {
|
|
|
4739
4739
|
};
|
|
4740
4740
|
}
|
|
4741
4741
|
function runProverChild$lambda$slambda($prover, $message, $waiting, $process, resultContinuation) {
|
|
4742
|
-
this.
|
|
4743
|
-
this.
|
|
4744
|
-
this.
|
|
4745
|
-
this.
|
|
4742
|
+
this.wcc_1 = $prover;
|
|
4743
|
+
this.xcc_1 = $message;
|
|
4744
|
+
this.ycc_1 = $waiting;
|
|
4745
|
+
this.zcc_1 = $process;
|
|
4746
4746
|
CoroutineImpl.call(this, resultContinuation);
|
|
4747
4747
|
}
|
|
4748
4748
|
protoOf(runProverChild$lambda$slambda).k1n = function ($this$launch, $completion) {
|
|
@@ -4762,17 +4762,17 @@ protoOf(runProverChild$lambda$slambda).o9 = function () {
|
|
|
4762
4762
|
switch (tmp) {
|
|
4763
4763
|
case 0:
|
|
4764
4764
|
this.h9_1 = 4;
|
|
4765
|
-
var headers = runProverChild$lambda$slambda$slambda_0(this.
|
|
4765
|
+
var headers = runProverChild$lambda$slambda$slambda_0(this.ycc_1, this.xcc_1, null);
|
|
4766
4766
|
this.h9_1 = 2;
|
|
4767
4767
|
this.g9_1 = 1;
|
|
4768
|
-
suspendResult = this.
|
|
4768
|
+
suspendResult = this.wcc_1.qcb(this.xcc_1, headers, this);
|
|
4769
4769
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4770
4770
|
return suspendResult;
|
|
4771
4771
|
}
|
|
4772
4772
|
|
|
4773
4773
|
continue $sm;
|
|
4774
4774
|
case 1:
|
|
4775
|
-
this.
|
|
4775
|
+
this.bcd_1 = suspendResult;
|
|
4776
4776
|
this.h9_1 = 4;
|
|
4777
4777
|
this.g9_1 = 3;
|
|
4778
4778
|
continue $sm;
|
|
@@ -4784,7 +4784,7 @@ protoOf(runProverChild$lambda$slambda).o9 = function () {
|
|
|
4784
4784
|
var tmp_1 = this;
|
|
4785
4785
|
var tmp0_elvis_lhs = e.message;
|
|
4786
4786
|
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? getKClassFromExpression(e).o() : tmp0_elvis_lhs;
|
|
4787
|
-
tmp_1.
|
|
4787
|
+
tmp_1.bcd_1 = new Failed_1(new Other(tmp1_elvis_lhs == null ? 'the prover failed' : tmp1_elvis_lhs));
|
|
4788
4788
|
this.g9_1 = 3;
|
|
4789
4789
|
continue $sm;
|
|
4790
4790
|
} else {
|
|
@@ -4793,30 +4793,30 @@ protoOf(runProverChild$lambda$slambda).o9 = function () {
|
|
|
4793
4793
|
|
|
4794
4794
|
case 3:
|
|
4795
4795
|
this.h9_1 = 4;
|
|
4796
|
-
var result = this.
|
|
4796
|
+
var result = this.bcd_1;
|
|
4797
4797
|
var tmp_2 = ProverIpc_getInstance();
|
|
4798
4798
|
var tmp_3;
|
|
4799
4799
|
if (result instanceof Proved_1) {
|
|
4800
|
-
tmp_3 = new Proved_0(this.
|
|
4800
|
+
tmp_3 = new Proved_0(this.xcc_1.tby_1, result.acc_1);
|
|
4801
4801
|
} else {
|
|
4802
4802
|
if (result instanceof Failed_1) {
|
|
4803
|
-
tmp_3 = new Failed_0(this.
|
|
4803
|
+
tmp_3 = new Failed_0(this.xcc_1.tby_1, result.bcc_1);
|
|
4804
4804
|
} else {
|
|
4805
4805
|
noWhenBranchMatchedException();
|
|
4806
4806
|
}
|
|
4807
4807
|
}
|
|
4808
4808
|
|
|
4809
|
-
send(tmp_2.
|
|
4809
|
+
send(tmp_2.oby(tmp_3));
|
|
4810
4810
|
var tmp_4;
|
|
4811
4811
|
if (result instanceof Failed_1) {
|
|
4812
|
-
tmp_4 = result.
|
|
4812
|
+
tmp_4 = result.ccc_1;
|
|
4813
4813
|
} else {
|
|
4814
4814
|
tmp_4 = false;
|
|
4815
4815
|
}
|
|
4816
4816
|
|
|
4817
4817
|
if (tmp_4) {
|
|
4818
4818
|
var tmp_5 = setTimeout;
|
|
4819
|
-
tmp_5(runProverChild$lambda$slambda$lambda(this.
|
|
4819
|
+
tmp_5(runProverChild$lambda$slambda$lambda(this.zcc_1), 200);
|
|
4820
4820
|
}
|
|
4821
4821
|
|
|
4822
4822
|
return Unit_instance;
|
|
@@ -4835,8 +4835,8 @@ protoOf(runProverChild$lambda$slambda).o9 = function () {
|
|
|
4835
4835
|
while (true);
|
|
4836
4836
|
};
|
|
4837
4837
|
protoOf(runProverChild$lambda$slambda).l1n = function ($this$launch, completion) {
|
|
4838
|
-
var i = new runProverChild$lambda$slambda(this.
|
|
4839
|
-
i.
|
|
4838
|
+
var i = new runProverChild$lambda$slambda(this.wcc_1, this.xcc_1, this.ycc_1, this.zcc_1, completion);
|
|
4839
|
+
i.acd_1 = $this$launch;
|
|
4840
4840
|
return i;
|
|
4841
4841
|
};
|
|
4842
4842
|
function runProverChild$lambda$slambda_0($prover, $message, $waiting, $process, resultContinuation) {
|
|
@@ -4857,7 +4857,7 @@ function runProverChild$lambda($waiting, $scope, $prover, $process) {
|
|
|
4857
4857
|
var tmp_1 = ProverIpc_getInstance();
|
|
4858
4858
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4859
4859
|
// Inline function 'kotlin.Companion.success' call
|
|
4860
|
-
var value = tmp_1.
|
|
4860
|
+
var value = tmp_1.pby(raw);
|
|
4861
4861
|
tmp_0 = _Result___init__impl__xyqfz8(value);
|
|
4862
4862
|
} catch ($p) {
|
|
4863
4863
|
var tmp_2;
|
|
@@ -4874,7 +4874,7 @@ function runProverChild$lambda($waiting, $scope, $prover, $process) {
|
|
|
4874
4874
|
var this_0 = tmp_0;
|
|
4875
4875
|
var message = _Result___get_isFailure__impl__jpiriv(this_0) ? null : _Result___get_value__impl__bjfvqg(this_0);
|
|
4876
4876
|
if (message instanceof Headers) {
|
|
4877
|
-
var tmp0_safe_receiver = $waiting.g3(message.
|
|
4877
|
+
var tmp0_safe_receiver = $waiting.g3(message.bbz_1);
|
|
4878
4878
|
if (tmp0_safe_receiver == null)
|
|
4879
4879
|
null;
|
|
4880
4880
|
else
|