@dmarket/p2p-tracker-headless 1.2.1-SNAPSHOT-development.162 → 1.2.1-SNAPSHOT-development.165

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.
Files changed (78) hide show
  1. package/VERSION +6 -6
  2. package/dmarket-p2p-tracker-core-domain.mjs +4431 -4291
  3. package/dmarket-p2p-tracker-core-domain.mjs.map +1 -1
  4. package/index.d.ts +4 -0
  5. package/kotlinx-coroutines-core.mjs +7 -7
  6. package/kotlinx-coroutines-core.mjs.map +1 -1
  7. package/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -1
  8. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
  9. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1843 -1843
  10. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  11. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1554 -1554
  12. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  13. package/ktor-ktor-client-core.mjs +2020 -1910
  14. package/ktor-ktor-client-core.mjs.map +1 -1
  15. package/ktor-ktor-events.mjs +5 -5
  16. package/ktor-ktor-http-cio.mjs +312 -312
  17. package/ktor-ktor-http-cio.mjs.map +1 -1
  18. package/ktor-ktor-http.mjs +623 -623
  19. package/ktor-ktor-io.mjs +464 -439
  20. package/ktor-ktor-io.mjs.map +1 -1
  21. package/ktor-ktor-utils.mjs +690 -690
  22. package/ktor-ktor-websockets.mjs +328 -328
  23. package/p2p-tracker-core.mjs +8460 -8100
  24. package/p2p-tracker-core.mjs.map +1 -1
  25. package/p2p-tracker-headless.mjs +1153 -1000
  26. package/p2p-tracker-headless.mjs.map +1 -1
  27. package/package.json +1 -1
  28. package/pkg/README.md +27 -23
  29. package/pkg/client_wasm.d.ts +37 -2
  30. package/pkg/client_wasm.js +24 -5
  31. package/pkg/client_wasm_bg.wasm +0 -0
  32. package/pkg/client_wasm_bg.wasm.d.ts +1 -0
  33. package/pkg/snippets/web-spawn-05868593a72e2d44/js/spawn.js +2 -2
  34. package/pkg/spawn.js +4 -4
  35. package/transport/README.md +203 -16
  36. package/transport/dist/channel.d.ts +23 -3
  37. package/transport/dist/channel.d.ts.map +1 -1
  38. package/transport/dist/channel.js +3 -3
  39. package/transport/dist/channel.js.map +1 -1
  40. package/transport/dist/egress.d.ts +33 -0
  41. package/transport/dist/egress.d.ts.map +1 -0
  42. package/transport/dist/egress.js +311 -0
  43. package/transport/dist/egress.js.map +1 -0
  44. package/transport/dist/index.d.ts +5 -3
  45. package/transport/dist/index.d.ts.map +1 -1
  46. package/transport/dist/index.js +3 -2
  47. package/transport/dist/index.js.map +1 -1
  48. package/transport/dist/node-bridge.d.ts +12 -0
  49. package/transport/dist/node-bridge.d.ts.map +1 -0
  50. package/transport/dist/node-bridge.js +181 -0
  51. package/transport/dist/node-bridge.js.map +1 -0
  52. package/transport/dist/node-prover.d.ts +39 -0
  53. package/transport/dist/node-prover.d.ts.map +1 -0
  54. package/transport/dist/node-prover.js +124 -0
  55. package/transport/dist/node-prover.js.map +1 -0
  56. package/transport/dist/node-runtime.d.ts +11 -0
  57. package/transport/dist/node-runtime.d.ts.map +1 -0
  58. package/transport/dist/node-runtime.js +120 -0
  59. package/transport/dist/node-runtime.js.map +1 -0
  60. package/transport/dist/node-socket.d.ts +17 -0
  61. package/transport/dist/node-socket.d.ts.map +1 -0
  62. package/transport/dist/node-socket.js +109 -0
  63. package/transport/dist/node-socket.js.map +1 -0
  64. package/transport/dist/node-worker.d.ts +2 -0
  65. package/transport/dist/node-worker.d.ts.map +1 -0
  66. package/transport/dist/node-worker.js +75 -0
  67. package/transport/dist/node-worker.js.map +1 -0
  68. package/transport/dist/node.d.ts +9 -3
  69. package/transport/dist/node.d.ts.map +1 -1
  70. package/transport/dist/node.js +5 -61
  71. package/transport/dist/node.js.map +1 -1
  72. package/transport/dist/prover.d.ts +18 -2
  73. package/transport/dist/prover.d.ts.map +1 -1
  74. package/transport/dist/prover.js +33 -11
  75. package/transport/dist/prover.js.map +1 -1
  76. package/transport/dist/types.d.ts +24 -0
  77. package/transport/dist/types.d.ts.map +1 -1
  78. package/transport/package.json +4 -1
@@ -34,16 +34,16 @@ import {
34
34
  equals2au1ep9vhcato as equals,
35
35
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
36
36
  THROW_CCE2g6jy02ryeudk as THROW_CCE,
37
+ toString1pkumu07cwy4m as toString,
38
+ IllegalArgumentException_init_$Create$1mgk48flhjim3 as IllegalArgumentException_init_$Create$,
37
39
  objectCreate1ve4bgxiu4x98 as objectCreate,
38
40
  getStringHashCode26igk1bx568vk as getStringHashCode,
39
41
  LazyThreadSafetyMode_PUBLICATION_getInstance20ynwq7b0awd8 as LazyThreadSafetyMode_PUBLICATION_getInstance,
40
42
  lazy1261dae0bgscp as lazy,
41
- toString30pk9tzaqopn as toString,
43
+ toString30pk9tzaqopn as toString_0,
42
44
  hashCodeq5arwsb9dgti as hashCode,
43
45
  getKClass3t8tygqu4lcxf as getKClass,
44
46
  initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
45
- toString1pkumu07cwy4m as toString_0,
46
- IllegalArgumentException_init_$Create$1mgk48flhjim3 as IllegalArgumentException_init_$Create$,
47
47
  emptyList1g2z5xcrvp2zy as emptyList,
48
48
  IllegalStateException_init_$Create$3394faf8tdm0h as IllegalStateException_init_$Create$,
49
49
  CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl,
@@ -109,6 +109,7 @@ import {
109
109
  toIntOrNull3w2d066r9pvwm as toIntOrNull,
110
110
  getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
111
111
  getKClassFromExpression348iqjl4fnx2f as getKClassFromExpression,
112
+ Result__exceptionOrNull_impl_p6xea92zjvgyei8ws1 as Result__exceptionOrNull_impl_p6xea9,
112
113
  } from './kotlin-kotlin-stdlib.mjs';
113
114
  import {
114
115
  Otheroaiiffqwbwqm as Other,
@@ -149,6 +150,7 @@ import {
149
150
  ProofFailures_getInstance7rhnovblii70 as ProofFailures_getInstance,
150
151
  WasmProverHostf3fxkwaj8qxb as WasmProverHost,
151
152
  NotaryUpgradeHeaders3njot8fry1mt1 as NotaryUpgradeHeaders,
153
+ ProverCapabilitiesz3adedbe5ngl as ProverCapabilities,
152
154
  } from './p2p-tracker-core.mjs';
153
155
  import {
154
156
  Jsonsmkyu9xjl7fv as Json,
@@ -172,6 +174,9 @@ import {
172
174
  SerializableWithd2dap36updxd as SerializableWith,
173
175
  } from './kotlinx-serialization-kotlinx-serialization-core.mjs';
174
176
  import {
177
+ Serializer_getInstance2krpwtl9xve8s as Serializer_getInstance,
178
+ IssuanceMode_MPC_getInstance2opv1o6lzbwmo as IssuanceMode_MPC_getInstance,
179
+ IssuanceMode_PROXY_getInstancehav4pb66jj6e as IssuanceMode_PROXY_getInstance,
175
180
  NetworkRedaction_getInstance32w4gfwhub6p4 as NetworkRedaction_getInstance,
176
181
  Companion_instance2ghkb2fw5q5xx as Companion_instance_1,
177
182
  _SteamId___get_value__impl__qjh21ui52cho8l37uy as _SteamId___get_value__impl__qjh21u,
@@ -182,6 +187,7 @@ import {
182
187
  EventObserver1zt6y33x28kwa as EventObserver,
183
188
  SteamId2we8mjre8dtws as SteamId,
184
189
  _DealId___get_value__impl__ww6eoe1uvl7heuccoxi as _DealId___get_value__impl__ww6eoe,
190
+ Companion_instance1xvtwgln1f50d as Companion_instance_2,
185
191
  NotaryConfig2xr051j1coej0 as NotaryConfig,
186
192
  TrackerConfig8808dhq5s1br as TrackerConfig,
187
193
  } from './dmarket-p2p-tracker-core-domain.mjs';
@@ -294,44 +300,44 @@ function redacted($this, $receiver) {
294
300
  tmp = $receiver;
295
301
  } else {
296
302
  if ($receiver instanceof SessionClosed) {
297
- var tmp1_safe_receiver = $receiver.zbe_1;
303
+ var tmp1_safe_receiver = $receiver.wbe_1;
298
304
  var tmp_0;
299
305
  if (tmp1_safe_receiver == null) {
300
306
  tmp_0 = null;
301
307
  } else {
302
308
  // Inline function 'kotlin.let' call
303
- tmp_0 = ProverOutput_getInstance().u7b(tmp1_safe_receiver);
309
+ tmp_0 = ProverOutput_getInstance().r7b(tmp1_safe_receiver);
304
310
  }
305
- tmp = $receiver.bbg(VOID, tmp_0);
311
+ tmp = $receiver.ybf(VOID, tmp_0);
306
312
  } else {
307
313
  if ($receiver instanceof NotaryUnreachable) {
308
- tmp = $receiver.cbg(ProverOutput_getInstance().u7b($receiver.cbf_1));
314
+ tmp = $receiver.zbf(ProverOutput_getInstance().r7b($receiver.zbe_1));
309
315
  } else {
310
316
  if ($receiver instanceof VersionMismatch) {
311
- tmp = $receiver.cbg(ProverOutput_getInstance().u7b($receiver.fbf_1));
317
+ tmp = $receiver.zbf(ProverOutput_getInstance().r7b($receiver.cbf_1));
312
318
  } else {
313
319
  if ($receiver instanceof SteamFailed) {
314
- tmp = $receiver.ebg(VOID, ProverOutput_getInstance().u7b($receiver.jbf_1));
320
+ tmp = $receiver.bbg(VOID, ProverOutput_getInstance().r7b($receiver.gbf_1));
315
321
  } else {
316
322
  if ($receiver instanceof LimitsExceeded) {
317
- tmp = $receiver.cbg(ProverOutput_getInstance().u7b($receiver.mbf_1));
323
+ tmp = $receiver.zbf(ProverOutput_getInstance().r7b($receiver.jbf_1));
318
324
  } else {
319
325
  if ($receiver instanceof ProverKilled) {
320
- var tmp2_safe_receiver = $receiver.sbf_1;
326
+ var tmp2_safe_receiver = $receiver.pbf_1;
321
327
  var tmp_1;
322
328
  if (tmp2_safe_receiver == null) {
323
329
  tmp_1 = null;
324
330
  } else {
325
331
  // Inline function 'kotlin.let' call
326
- tmp_1 = ProverOutput_getInstance().u7b(tmp2_safe_receiver);
332
+ tmp_1 = ProverOutput_getInstance().r7b(tmp2_safe_receiver);
327
333
  }
328
- tmp = $receiver.jbg(VOID, tmp_1);
334
+ tmp = $receiver.gbg(VOID, tmp_1);
329
335
  } else {
330
336
  if ($receiver instanceof NotStarted) {
331
- tmp = $receiver.cbg(ProverOutput_getInstance().u7b($receiver.vbf_1));
337
+ tmp = $receiver.zbf(ProverOutput_getInstance().r7b($receiver.sbf_1));
332
338
  } else {
333
339
  if ($receiver instanceof Other) {
334
- tmp = $receiver.cbg(ProverOutput_getInstance().u7b($receiver.ybf_1));
340
+ tmp = $receiver.zbf(ProverOutput_getInstance().r7b($receiver.vbf_1));
335
341
  } else {
336
342
  noWhenBranchMatchedException();
337
343
  }
@@ -346,20 +352,20 @@ function redacted($this, $receiver) {
346
352
  return tmp;
347
353
  }
348
354
  function ProofOutcomeJson$json$lambda($this$Json) {
349
- $this$Json.o54_1 = 'type';
350
- $this$Json.h54_1 = true;
355
+ $this$Json.d54_1 = 'type';
356
+ $this$Json.w53_1 = true;
351
357
  return Unit_instance;
352
358
  }
353
359
  function ProofOutcomeJson() {
354
360
  ProofOutcomeJson_instance = this;
355
361
  var tmp = this;
356
- tmp.gcl_1 = Json(VOID, ProofOutcomeJson$json$lambda);
362
+ tmp.gcm_1 = Json(VOID, ProofOutcomeJson$json$lambda);
357
363
  }
358
- protoOf(ProofOutcomeJson).hcl = function (failure) {
359
- var fields = get_jsonObject(this.gcl_1.q53(Companion_instance_0.d56(), redacted(this, failure)));
360
- return (new JsonObject(plus(fields, to('summary', JsonPrimitive(ProverOutput_getInstance().u7b(failure.zbf())))))).toString();
364
+ protoOf(ProofOutcomeJson).hcm = function (failure) {
365
+ var fields = get_jsonObject(this.gcm_1.f53(Companion_instance_0.s55(), redacted(this, failure)));
366
+ return (new JsonObject(plus(fields, to('summary', JsonPrimitive(ProverOutput_getInstance().r7b(failure.wbf())))))).toString();
361
367
  };
362
- protoOf(ProofOutcomeJson).icl = function (message, warning, fields) {
368
+ protoOf(ProofOutcomeJson).icm = function (message, warning, fields) {
363
369
  var head = listOf([to('msg', JsonPrimitive(message)), to('level', JsonPrimitive(warning ? 'warn' : 'info'))]);
364
370
  // Inline function 'kotlin.collections.map' call
365
371
  // Inline function 'kotlin.collections.mapTo' call
@@ -390,7 +396,7 @@ function ProofOutcomeJson_getInstance() {
390
396
  return ProofOutcomeJson_instance;
391
397
  }
392
398
  function backoff($this, consecutive) {
393
- var wait = $this.pcl_1;
399
+ var wait = $this.pcm_1;
394
400
  // Inline function 'kotlin.repeat' call
395
401
  var times = coerceIn(consecutive, 0, 10);
396
402
  var inductionVariable = 0;
@@ -401,39 +407,39 @@ function backoff($this, consecutive) {
401
407
  wait = Duration__times_impl_sfuzvp(wait, 2);
402
408
  }
403
409
  while (inductionVariable < times);
404
- return minOf(new Duration(wait), new Duration($this.qcl_1)).lf_1;
410
+ return minOf(new Duration(wait), new Duration($this.qcm_1)).lf_1;
405
411
  }
406
412
  function Companion() {
407
- Companion_instance_2 = this;
408
- this.jcl_1 = 401;
409
- this.kcl_1 = 403;
410
- this.lcl_1 = numberRangeToNumber(500, 599);
411
- this.mcl_1 = 1013;
412
- this.ncl_1 = 4029;
413
- this.ocl_1 = 10;
413
+ Companion_instance_3 = this;
414
+ this.jcm_1 = 401;
415
+ this.kcm_1 = 403;
416
+ this.lcm_1 = numberRangeToNumber(500, 599);
417
+ this.mcm_1 = 1013;
418
+ this.ncm_1 = 4029;
419
+ this.ocm_1 = 10;
414
420
  var tmp = this;
415
421
  // Inline function 'kotlin.time.Companion.seconds' call
416
422
  Companion_getInstance();
417
- tmp.pcl_1 = toDuration(30, DurationUnit_SECONDS_getInstance());
423
+ tmp.pcm_1 = toDuration(30, DurationUnit_SECONDS_getInstance());
418
424
  var tmp_0 = this;
419
425
  // Inline function 'kotlin.time.Companion.minutes' call
420
426
  Companion_getInstance();
421
- tmp_0.qcl_1 = toDuration(5, DurationUnit_MINUTES_getInstance());
427
+ tmp_0.qcm_1 = toDuration(5, DurationUnit_MINUTES_getInstance());
422
428
  var tmp_1 = this;
423
429
  // Inline function 'kotlin.time.Companion.seconds' call
424
430
  Companion_getInstance();
425
- tmp_1.rcl_1 = toDuration(60, DurationUnit_SECONDS_getInstance());
431
+ tmp_1.rcm_1 = toDuration(60, DurationUnit_SECONDS_getInstance());
426
432
  }
427
- protoOf(Companion).scl = function (failure, consecutive) {
433
+ protoOf(Companion).scm = function (failure, consecutive) {
428
434
  var tmp;
429
435
  if (failure instanceof UpgradeRefused) {
430
- var tmp1_subject = failure.vbe_1;
436
+ var tmp1_subject = failure.sbe_1;
431
437
  var tmp_0;
432
438
  var tmp_1;
433
439
  if (tmp1_subject === 401) {
434
440
  tmp_1 = true;
435
441
  } else {
436
- var progression = this.lcl_1;
442
+ var progression = this.lcm_1;
437
443
  var containsLower = progression.s1_1;
438
444
  tmp_1 = tmp1_subject <= progression.t1_1 ? containsLower <= tmp1_subject : false;
439
445
  }
@@ -441,7 +447,7 @@ protoOf(Companion).scl = function (failure, consecutive) {
441
447
  tmp_0 = backoff(this, consecutive);
442
448
  } else {
443
449
  if (tmp1_subject === 403) {
444
- tmp_0 = this.rcl_1;
450
+ tmp_0 = this.rcm_1;
445
451
  } else {
446
452
  tmp_0 = null;
447
453
  }
@@ -449,12 +455,12 @@ protoOf(Companion).scl = function (failure, consecutive) {
449
455
  tmp = tmp_0;
450
456
  } else {
451
457
  if (failure instanceof SessionClosed) {
452
- switch (failure.ybe_1) {
458
+ switch (failure.vbe_1) {
453
459
  case 1013:
454
460
  tmp = backoff(this, consecutive);
455
461
  break;
456
462
  case 4029:
457
- tmp = this.rcl_1;
463
+ tmp = this.rcm_1;
458
464
  break;
459
465
  default:
460
466
  tmp = null;
@@ -474,20 +480,20 @@ protoOf(Companion).scl = function (failure, consecutive) {
474
480
  }
475
481
  return tmp;
476
482
  };
477
- var Companion_instance_2;
483
+ var Companion_instance_3;
478
484
  function Companion_getInstance_2() {
479
- if (Companion_instance_2 == null)
485
+ if (Companion_instance_3 == null)
480
486
  new Companion();
481
- return Companion_instance_2;
487
+ return Companion_instance_3;
482
488
  }
483
489
  function ProverBackoff() {
484
490
  Companion_getInstance_2();
485
- this.tcl_1 = null;
486
- this.ucl_1 = 0;
487
- this.vcl_1 = null;
491
+ this.tcm_1 = null;
492
+ this.ucm_1 = 0;
493
+ this.vcm_1 = null;
488
494
  }
489
- protoOf(ProverBackoff).wcl = function (now) {
490
- var tmp0_elvis_lhs = this.tcl_1;
495
+ protoOf(ProverBackoff).wcm = function (now) {
496
+ var tmp0_elvis_lhs = this.tcm_1;
491
497
  var tmp;
492
498
  if (tmp0_elvis_lhs == null) {
493
499
  return null;
@@ -497,7 +503,7 @@ protoOf(ProverBackoff).wcl = function (now) {
497
503
  var until = tmp;
498
504
  if (now.nq(until) >= 0)
499
505
  return null;
500
- var tmp1_elvis_lhs = this.vcl_1;
506
+ var tmp1_elvis_lhs = this.vcm_1;
501
507
  var after = tmp1_elvis_lhs == null ? 'a refusal' : tmp1_elvis_lhs;
502
508
  var tmp_0;
503
509
  if (until.equals(Companion_getInstance_0().gq())) {
@@ -507,8 +513,8 @@ protoOf(ProverBackoff).wcl = function (now) {
507
513
  }
508
514
  return tmp_0;
509
515
  };
510
- protoOf(ProverBackoff).xcl = function (failure, now) {
511
- var tmp0_elvis_lhs = Companion_getInstance_2().scl(failure, this.ucl_1);
516
+ protoOf(ProverBackoff).xcm = function (failure, now) {
517
+ var tmp0_elvis_lhs = Companion_getInstance_2().scm(failure, this.ucm_1);
512
518
  var tmp;
513
519
  var tmp_0 = tmp0_elvis_lhs;
514
520
  if ((tmp_0 == null ? null : new Duration(tmp_0)) == null) {
@@ -517,58 +523,66 @@ protoOf(ProverBackoff).xcl = function (failure, now) {
517
523
  tmp = tmp0_elvis_lhs;
518
524
  }
519
525
  var wait = tmp;
520
- this.ucl_1 = this.ucl_1 + 1 | 0;
521
- this.vcl_1 = failure.zbf();
522
- this.tcl_1 = equals(wait, Companion_getInstance().nf_1) ? Companion_getInstance_0().gq() : now.kq(wait);
523
- };
524
- protoOf(ProverBackoff).ycl = function () {
525
- this.tcl_1 = null;
526
- this.ucl_1 = 0;
527
- this.vcl_1 = null;
528
- };
529
- protoOf(ProverBackoff).zcl = function () {
530
- if (!equals(this.tcl_1, Companion_getInstance_0().gq())) {
531
- this.ycl();
526
+ this.ucm_1 = this.ucm_1 + 1 | 0;
527
+ this.vcm_1 = failure.wbf();
528
+ this.tcm_1 = equals(wait, Companion_getInstance().nf_1) ? Companion_getInstance_0().gq() : now.kq(wait);
529
+ };
530
+ protoOf(ProverBackoff).ycm = function () {
531
+ this.tcm_1 = null;
532
+ this.ucm_1 = 0;
533
+ this.vcm_1 = null;
534
+ };
535
+ protoOf(ProverBackoff).zcm = function () {
536
+ if (!equals(this.tcm_1, Companion_getInstance_0().gq())) {
537
+ this.ycm();
532
538
  }
533
539
  };
534
540
  function Companion_0() {
535
- this.acm_1 = 2;
536
- this.bcm_1 = 16;
537
- this.ccm_1 = 5;
541
+ this.acn_1 = 2;
542
+ this.bcn_1 = 16;
543
+ this.ccn_1 = 5;
538
544
  }
539
- var Companion_instance_3;
545
+ var Companion_instance_4;
540
546
  function Companion_getInstance_3() {
541
- return Companion_instance_3;
547
+ return Companion_instance_4;
542
548
  }
543
549
  function $serializer() {
544
550
  $serializer_instance = this;
545
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.dmarket.p2p.headless.prover.ProverSettings', this, 5);
546
- tmp0_serialDesc.l2k('notaryUrl', false);
547
- tmp0_serialDesc.l2k('threadCount', false);
548
- tmp0_serialDesc.l2k('assetsDir', false);
549
- tmp0_serialDesc.l2k('rootStorePem', true);
550
- tmp0_serialDesc.l2k('targetAddress', true);
551
- this.dcm_1 = tmp0_serialDesc;
552
- }
553
- protoOf($serializer).ecm = function (encoder, value) {
554
- var tmp0_desc = this.dcm_1;
555
- var tmp1_output = encoder.v2c(tmp0_desc);
556
- tmp1_output.k2e(tmp0_desc, 0, value.fcm_1);
557
- tmp1_output.f2e(tmp0_desc, 1, value.gcm_1);
558
- tmp1_output.k2e(tmp0_desc, 2, value.hcm_1);
559
- if (tmp1_output.s2e(tmp0_desc, 3) ? true : !(value.icm_1 == null)) {
560
- tmp1_output.o2e(tmp0_desc, 3, StringSerializer_getInstance(), value.icm_1);
551
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.dmarket.p2p.headless.prover.ProverSettings', this, 7);
552
+ tmp0_serialDesc.m2k('notaryUrl', false);
553
+ tmp0_serialDesc.m2k('threadCount', false);
554
+ tmp0_serialDesc.m2k('assetsDir', false);
555
+ tmp0_serialDesc.m2k('rootStorePem', true);
556
+ tmp0_serialDesc.m2k('targetAddress', true);
557
+ tmp0_serialDesc.m2k('mode', true);
558
+ tmp0_serialDesc.m2k('transport', true);
559
+ this.dcn_1 = tmp0_serialDesc;
560
+ }
561
+ protoOf($serializer).ecn = function (encoder, value) {
562
+ var tmp0_desc = this.dcn_1;
563
+ var tmp1_output = encoder.w2c(tmp0_desc);
564
+ tmp1_output.l2e(tmp0_desc, 0, value.fcn_1);
565
+ tmp1_output.g2e(tmp0_desc, 1, value.gcn_1);
566
+ tmp1_output.l2e(tmp0_desc, 2, value.hcn_1);
567
+ if (tmp1_output.t2e(tmp0_desc, 3) ? true : !(value.icn_1 == null)) {
568
+ tmp1_output.p2e(tmp0_desc, 3, StringSerializer_getInstance(), value.icn_1);
569
+ }
570
+ if (tmp1_output.t2e(tmp0_desc, 4) ? true : !(value.jcn_1 == null)) {
571
+ tmp1_output.p2e(tmp0_desc, 4, StringSerializer_getInstance(), value.jcn_1);
561
572
  }
562
- if (tmp1_output.s2e(tmp0_desc, 4) ? true : !(value.jcm_1 == null)) {
563
- tmp1_output.o2e(tmp0_desc, 4, StringSerializer_getInstance(), value.jcm_1);
573
+ if (tmp1_output.t2e(tmp0_desc, 5) ? true : !value.kcn_1.equals(IssuanceMode_MPC_getInstance())) {
574
+ tmp1_output.n2e(tmp0_desc, 5, Serializer_getInstance(), value.kcn_1);
564
575
  }
565
- tmp1_output.w2c(tmp0_desc);
576
+ if (tmp1_output.t2e(tmp0_desc, 6) ? true : !(value.lcn_1 === 'direct')) {
577
+ tmp1_output.l2e(tmp0_desc, 6, value.lcn_1);
578
+ }
579
+ tmp1_output.x2c(tmp0_desc);
566
580
  };
567
- protoOf($serializer).n29 = function (encoder, value) {
568
- return this.ecm(encoder, value instanceof ProverSettings ? value : THROW_CCE());
581
+ protoOf($serializer).o29 = function (encoder, value) {
582
+ return this.ecn(encoder, value instanceof ProverSettings ? value : THROW_CCE());
569
583
  };
570
- protoOf($serializer).o29 = function (decoder) {
571
- var tmp0_desc = this.dcm_1;
584
+ protoOf($serializer).p29 = function (decoder) {
585
+ var tmp0_desc = this.dcn_1;
572
586
  var tmp1_flag = true;
573
587
  var tmp2_index = 0;
574
588
  var tmp3_bitMask0 = 0;
@@ -577,60 +591,74 @@ protoOf($serializer).o29 = function (decoder) {
577
591
  var tmp6_local2 = null;
578
592
  var tmp7_local3 = null;
579
593
  var tmp8_local4 = null;
580
- var tmp9_input = decoder.v2c(tmp0_desc);
581
- if (tmp9_input.l2d()) {
582
- tmp4_local0 = tmp9_input.f2d(tmp0_desc, 0);
594
+ var tmp9_local5 = null;
595
+ var tmp10_local6 = null;
596
+ var tmp11_input = decoder.w2c(tmp0_desc);
597
+ if (tmp11_input.m2d()) {
598
+ tmp4_local0 = tmp11_input.g2d(tmp0_desc, 0);
583
599
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
584
- tmp5_local1 = tmp9_input.a2d(tmp0_desc, 1);
600
+ tmp5_local1 = tmp11_input.b2d(tmp0_desc, 1);
585
601
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
586
- tmp6_local2 = tmp9_input.f2d(tmp0_desc, 2);
602
+ tmp6_local2 = tmp11_input.g2d(tmp0_desc, 2);
587
603
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
588
- tmp7_local3 = tmp9_input.j2d(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
604
+ tmp7_local3 = tmp11_input.k2d(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
589
605
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
590
- tmp8_local4 = tmp9_input.j2d(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
606
+ tmp8_local4 = tmp11_input.k2d(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
591
607
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
608
+ tmp9_local5 = tmp11_input.i2d(tmp0_desc, 5, Serializer_getInstance(), tmp9_local5);
609
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
610
+ tmp10_local6 = tmp11_input.g2d(tmp0_desc, 6);
611
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
592
612
  } else
593
613
  while (tmp1_flag) {
594
- tmp2_index = tmp9_input.m2d(tmp0_desc);
614
+ tmp2_index = tmp11_input.n2d(tmp0_desc);
595
615
  switch (tmp2_index) {
596
616
  case -1:
597
617
  tmp1_flag = false;
598
618
  break;
599
619
  case 0:
600
- tmp4_local0 = tmp9_input.f2d(tmp0_desc, 0);
620
+ tmp4_local0 = tmp11_input.g2d(tmp0_desc, 0);
601
621
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
602
622
  break;
603
623
  case 1:
604
- tmp5_local1 = tmp9_input.a2d(tmp0_desc, 1);
624
+ tmp5_local1 = tmp11_input.b2d(tmp0_desc, 1);
605
625
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
606
626
  break;
607
627
  case 2:
608
- tmp6_local2 = tmp9_input.f2d(tmp0_desc, 2);
628
+ tmp6_local2 = tmp11_input.g2d(tmp0_desc, 2);
609
629
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
610
630
  break;
611
631
  case 3:
612
- tmp7_local3 = tmp9_input.j2d(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
632
+ tmp7_local3 = tmp11_input.k2d(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
613
633
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
614
634
  break;
615
635
  case 4:
616
- tmp8_local4 = tmp9_input.j2d(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
636
+ tmp8_local4 = tmp11_input.k2d(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
617
637
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
618
638
  break;
639
+ case 5:
640
+ tmp9_local5 = tmp11_input.i2d(tmp0_desc, 5, Serializer_getInstance(), tmp9_local5);
641
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
642
+ break;
643
+ case 6:
644
+ tmp10_local6 = tmp11_input.g2d(tmp0_desc, 6);
645
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
646
+ break;
619
647
  default:
620
648
  throw UnknownFieldException_init_$Create$(tmp2_index);
621
649
  }
622
650
  }
623
- tmp9_input.w2c(tmp0_desc);
624
- return ProverSettings_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
651
+ tmp11_input.x2c(tmp0_desc);
652
+ return ProverSettings_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
625
653
  };
626
- protoOf($serializer).m29 = function () {
627
- return this.dcm_1;
654
+ protoOf($serializer).n29 = function () {
655
+ return this.dcn_1;
628
656
  };
629
- protoOf($serializer).c2l = function () {
657
+ protoOf($serializer).d2l = function () {
630
658
  // Inline function 'kotlin.arrayOf' call
631
659
  // Inline function 'kotlin.js.unsafeCast' call
632
660
  // Inline function 'kotlin.js.asDynamic' call
633
- return [StringSerializer_getInstance(), IntSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
661
+ return [StringSerializer_getInstance(), IntSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), Serializer_getInstance(), StringSerializer_getInstance()];
634
662
  };
635
663
  var $serializer_instance;
636
664
  function $serializer_getInstance_0() {
@@ -638,44 +666,88 @@ function $serializer_getInstance_0() {
638
666
  new $serializer();
639
667
  return $serializer_instance;
640
668
  }
641
- function ProverSettings_init_$Init$(seen0, notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress, serializationConstructorMarker, $this) {
669
+ function ProverSettings_init_$Init$(seen0, notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress, mode, transport, serializationConstructorMarker, $this) {
642
670
  if (!(7 === (7 & seen0))) {
643
- throwMissingFieldException(seen0, 7, $serializer_getInstance_0().dcm_1);
671
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_0().dcn_1);
644
672
  }
645
- $this.fcm_1 = notaryUrl;
646
- $this.gcm_1 = threadCount;
647
- $this.hcm_1 = assetsDir;
673
+ $this.fcn_1 = notaryUrl;
674
+ $this.gcn_1 = threadCount;
675
+ $this.hcn_1 = assetsDir;
648
676
  if (0 === (seen0 & 8))
649
- $this.icm_1 = null;
677
+ $this.icn_1 = null;
650
678
  else
651
- $this.icm_1 = rootStorePem;
679
+ $this.icn_1 = rootStorePem;
652
680
  if (0 === (seen0 & 16))
653
- $this.jcm_1 = null;
681
+ $this.jcn_1 = null;
682
+ else
683
+ $this.jcn_1 = targetAddress;
684
+ if (0 === (seen0 & 32))
685
+ $this.kcn_1 = IssuanceMode_MPC_getInstance();
654
686
  else
655
- $this.jcm_1 = targetAddress;
687
+ $this.kcn_1 = mode;
688
+ if (0 === (seen0 & 64))
689
+ $this.lcn_1 = 'direct';
690
+ else
691
+ $this.lcn_1 = transport;
692
+ // Inline function 'kotlin.require' call
693
+ if (!($this.lcn_1 === 'direct' || $this.lcn_1 === 'egress')) {
694
+ var message = 'prover.transport must be direct or egress';
695
+ throw IllegalArgumentException_init_$Create$(toString(message));
696
+ }
697
+ // Inline function 'kotlin.require' call
698
+ if (!(!($this.lcn_1 === 'egress') || $this.kcn_1.equals(IssuanceMode_PROXY_getInstance()))) {
699
+ var message_0 = 'prover.transport egress requires mode proxy';
700
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
701
+ }
702
+ // Inline function 'kotlin.require' call
703
+ if (!(!$this.kcn_1.equals(IssuanceMode_PROXY_getInstance()) || $this.jcn_1 == null)) {
704
+ var message_1 = 'proxy target routing belongs to the notary; omit targetAddress';
705
+ throw IllegalArgumentException_init_$Create$(toString(message_1));
706
+ }
656
707
  return $this;
657
708
  }
658
- function ProverSettings_init_$Create$(seen0, notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress, serializationConstructorMarker) {
659
- return ProverSettings_init_$Init$(seen0, notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress, serializationConstructorMarker, objectCreate(protoOf(ProverSettings)));
709
+ function ProverSettings_init_$Create$(seen0, notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress, mode, transport, serializationConstructorMarker) {
710
+ return ProverSettings_init_$Init$(seen0, notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress, mode, transport, serializationConstructorMarker, objectCreate(protoOf(ProverSettings)));
660
711
  }
661
- function ProverSettings(notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress) {
712
+ function ProverSettings(notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress, mode, transport) {
662
713
  rootStorePem = rootStorePem === VOID ? null : rootStorePem;
663
714
  targetAddress = targetAddress === VOID ? null : targetAddress;
664
- this.fcm_1 = notaryUrl;
665
- this.gcm_1 = threadCount;
666
- this.hcm_1 = assetsDir;
667
- this.icm_1 = rootStorePem;
668
- this.jcm_1 = targetAddress;
715
+ mode = mode === VOID ? IssuanceMode_MPC_getInstance() : mode;
716
+ transport = transport === VOID ? 'direct' : transport;
717
+ this.fcn_1 = notaryUrl;
718
+ this.gcn_1 = threadCount;
719
+ this.hcn_1 = assetsDir;
720
+ this.icn_1 = rootStorePem;
721
+ this.jcn_1 = targetAddress;
722
+ this.kcn_1 = mode;
723
+ this.lcn_1 = transport;
724
+ // Inline function 'kotlin.require' call
725
+ if (!(this.lcn_1 === 'direct' || this.lcn_1 === 'egress')) {
726
+ var message = 'prover.transport must be direct or egress';
727
+ throw IllegalArgumentException_init_$Create$(toString(message));
728
+ }
729
+ // Inline function 'kotlin.require' call
730
+ if (!(!(this.lcn_1 === 'egress') || this.kcn_1.equals(IssuanceMode_PROXY_getInstance()))) {
731
+ var message_0 = 'prover.transport egress requires mode proxy';
732
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
733
+ }
734
+ // Inline function 'kotlin.require' call
735
+ if (!(!this.kcn_1.equals(IssuanceMode_PROXY_getInstance()) || this.jcn_1 == null)) {
736
+ var message_1 = 'proxy target routing belongs to the notary; omit targetAddress';
737
+ throw IllegalArgumentException_init_$Create$(toString(message_1));
738
+ }
669
739
  }
670
740
  protoOf(ProverSettings).toString = function () {
671
- return 'ProverSettings(notaryUrl=' + this.fcm_1 + ', threadCount=' + this.gcm_1 + ', assetsDir=' + this.hcm_1 + ', rootStorePem=' + this.icm_1 + ', targetAddress=' + this.jcm_1 + ')';
741
+ return 'ProverSettings(notaryUrl=' + this.fcn_1 + ', threadCount=' + this.gcn_1 + ', assetsDir=' + this.hcn_1 + ', rootStorePem=' + this.icn_1 + ', targetAddress=' + this.jcn_1 + ', mode=' + this.kcn_1.toString() + ', transport=' + this.lcn_1 + ')';
672
742
  };
673
743
  protoOf(ProverSettings).hashCode = function () {
674
- var result = getStringHashCode(this.fcm_1);
675
- result = imul(result, 31) + this.gcm_1 | 0;
676
- result = imul(result, 31) + getStringHashCode(this.hcm_1) | 0;
677
- result = imul(result, 31) + (this.icm_1 == null ? 0 : getStringHashCode(this.icm_1)) | 0;
678
- result = imul(result, 31) + (this.jcm_1 == null ? 0 : getStringHashCode(this.jcm_1)) | 0;
744
+ var result = getStringHashCode(this.fcn_1);
745
+ result = imul(result, 31) + this.gcn_1 | 0;
746
+ result = imul(result, 31) + getStringHashCode(this.hcn_1) | 0;
747
+ result = imul(result, 31) + (this.icn_1 == null ? 0 : getStringHashCode(this.icn_1)) | 0;
748
+ result = imul(result, 31) + (this.jcn_1 == null ? 0 : getStringHashCode(this.jcn_1)) | 0;
749
+ result = imul(result, 31) + this.kcn_1.hashCode() | 0;
750
+ result = imul(result, 31) + getStringHashCode(this.lcn_1) | 0;
679
751
  return result;
680
752
  };
681
753
  protoOf(ProverSettings).equals = function (other) {
@@ -683,40 +755,44 @@ protoOf(ProverSettings).equals = function (other) {
683
755
  return true;
684
756
  if (!(other instanceof ProverSettings))
685
757
  return false;
686
- if (!(this.fcm_1 === other.fcm_1))
758
+ if (!(this.fcn_1 === other.fcn_1))
759
+ return false;
760
+ if (!(this.gcn_1 === other.gcn_1))
761
+ return false;
762
+ if (!(this.hcn_1 === other.hcn_1))
687
763
  return false;
688
- if (!(this.gcm_1 === other.gcm_1))
764
+ if (!(this.icn_1 == other.icn_1))
689
765
  return false;
690
- if (!(this.hcm_1 === other.hcm_1))
766
+ if (!(this.jcn_1 == other.jcn_1))
691
767
  return false;
692
- if (!(this.icm_1 == other.icm_1))
768
+ if (!this.kcn_1.equals(other.kcn_1))
693
769
  return false;
694
- if (!(this.jcm_1 == other.jcm_1))
770
+ if (!(this.lcn_1 === other.lcn_1))
695
771
  return false;
696
772
  return true;
697
773
  };
698
774
  function ProverIpc$json$lambda($this$Json) {
699
- $this$Json.o54_1 = 'type';
700
- $this$Json.j54_1 = true;
701
- $this$Json.h54_1 = false;
775
+ $this$Json.d54_1 = 'type';
776
+ $this$Json.y53_1 = true;
777
+ $this$Json.w53_1 = false;
702
778
  return Unit_instance;
703
779
  }
704
780
  function ProverIpc() {
705
781
  ProverIpc_instance = this;
706
782
  var tmp = this;
707
- tmp.kcm_1 = Json(VOID, ProverIpc$json$lambda);
783
+ tmp.mcn_1 = Json(VOID, ProverIpc$json$lambda);
708
784
  }
709
- protoOf(ProverIpc).lcm = function (message) {
710
- return this.kcm_1.o53(Companion_instance_6.d56(), message);
785
+ protoOf(ProverIpc).ncn = function (message) {
786
+ return this.mcn_1.d53(Companion_instance_7.s55(), message);
711
787
  };
712
- protoOf(ProverIpc).mcm = function (message) {
713
- return this.kcm_1.o53(Companion_instance_10.d56(), message);
788
+ protoOf(ProverIpc).ocn = function (message) {
789
+ return this.mcn_1.d53(Companion_instance_11.s55(), message);
714
790
  };
715
- protoOf(ProverIpc).ncm = function (text) {
716
- return this.kcm_1.p53(Companion_instance_6.d56(), text);
791
+ protoOf(ProverIpc).pcn = function (text) {
792
+ return this.mcn_1.e53(Companion_instance_7.s55(), text);
717
793
  };
718
- protoOf(ProverIpc).ocm = function (text) {
719
- return this.kcm_1.p53(Companion_instance_10.d56(), text);
794
+ protoOf(ProverIpc).qcn = function (text) {
795
+ return this.mcn_1.e53(Companion_instance_11.s55(), text);
720
796
  };
721
797
  var ProverIpc_instance;
722
798
  function ProverIpc_getInstance() {
@@ -726,35 +802,35 @@ function ProverIpc_getInstance() {
726
802
  }
727
803
  function Companion_1() {
728
804
  }
729
- var Companion_instance_4;
805
+ var Companion_instance_5;
730
806
  function Companion_getInstance_4() {
731
- return Companion_instance_4;
807
+ return Companion_instance_5;
732
808
  }
733
809
  function $serializer_0() {
734
810
  $serializer_instance_0 = this;
735
811
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('prove', this, 5);
736
- tmp0_serialDesc.l2k('id', false);
737
- tmp0_serialDesc.l2k('request', false);
738
- tmp0_serialDesc.l2k('steamAccessToken', false);
739
- tmp0_serialDesc.l2k('steamSessionId', false);
740
- tmp0_serialDesc.l2k('settings', false);
741
- this.pcm_1 = tmp0_serialDesc;
742
- }
743
- protoOf($serializer_0).qcm = function (encoder, value) {
744
- var tmp0_desc = this.pcm_1;
745
- var tmp1_output = encoder.v2c(tmp0_desc);
746
- tmp1_output.f2e(tmp0_desc, 0, value.rcm_1);
747
- tmp1_output.m2e(tmp0_desc, 1, $serializer_getInstance(), value.scm_1);
748
- tmp1_output.k2e(tmp0_desc, 2, value.tcm_1);
749
- tmp1_output.k2e(tmp0_desc, 3, value.ucm_1);
750
- tmp1_output.m2e(tmp0_desc, 4, $serializer_getInstance_0(), value.vcm_1);
751
- tmp1_output.w2c(tmp0_desc);
752
- };
753
- protoOf($serializer_0).n29 = function (encoder, value) {
754
- return this.qcm(encoder, value instanceof Prove ? value : THROW_CCE());
755
- };
756
- protoOf($serializer_0).o29 = function (decoder) {
757
- var tmp0_desc = this.pcm_1;
812
+ tmp0_serialDesc.m2k('id', false);
813
+ tmp0_serialDesc.m2k('request', false);
814
+ tmp0_serialDesc.m2k('steamAccessToken', false);
815
+ tmp0_serialDesc.m2k('steamSessionId', false);
816
+ tmp0_serialDesc.m2k('settings', false);
817
+ this.rcn_1 = tmp0_serialDesc;
818
+ }
819
+ protoOf($serializer_0).scn = function (encoder, value) {
820
+ var tmp0_desc = this.rcn_1;
821
+ var tmp1_output = encoder.w2c(tmp0_desc);
822
+ tmp1_output.g2e(tmp0_desc, 0, value.tcn_1);
823
+ tmp1_output.n2e(tmp0_desc, 1, $serializer_getInstance(), value.ucn_1);
824
+ tmp1_output.l2e(tmp0_desc, 2, value.vcn_1);
825
+ tmp1_output.l2e(tmp0_desc, 3, value.wcn_1);
826
+ tmp1_output.n2e(tmp0_desc, 4, $serializer_getInstance_0(), value.xcn_1);
827
+ tmp1_output.x2c(tmp0_desc);
828
+ };
829
+ protoOf($serializer_0).o29 = function (encoder, value) {
830
+ return this.scn(encoder, value instanceof Prove ? value : THROW_CCE());
831
+ };
832
+ protoOf($serializer_0).p29 = function (decoder) {
833
+ var tmp0_desc = this.rcn_1;
758
834
  var tmp1_flag = true;
759
835
  var tmp2_index = 0;
760
836
  var tmp3_bitMask0 = 0;
@@ -763,56 +839,56 @@ protoOf($serializer_0).o29 = function (decoder) {
763
839
  var tmp6_local2 = null;
764
840
  var tmp7_local3 = null;
765
841
  var tmp8_local4 = null;
766
- var tmp9_input = decoder.v2c(tmp0_desc);
767
- if (tmp9_input.l2d()) {
768
- tmp4_local0 = tmp9_input.a2d(tmp0_desc, 0);
842
+ var tmp9_input = decoder.w2c(tmp0_desc);
843
+ if (tmp9_input.m2d()) {
844
+ tmp4_local0 = tmp9_input.b2d(tmp0_desc, 0);
769
845
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
770
- tmp5_local1 = tmp9_input.h2d(tmp0_desc, 1, $serializer_getInstance(), tmp5_local1);
846
+ tmp5_local1 = tmp9_input.i2d(tmp0_desc, 1, $serializer_getInstance(), tmp5_local1);
771
847
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
772
- tmp6_local2 = tmp9_input.f2d(tmp0_desc, 2);
848
+ tmp6_local2 = tmp9_input.g2d(tmp0_desc, 2);
773
849
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
774
- tmp7_local3 = tmp9_input.f2d(tmp0_desc, 3);
850
+ tmp7_local3 = tmp9_input.g2d(tmp0_desc, 3);
775
851
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
776
- tmp8_local4 = tmp9_input.h2d(tmp0_desc, 4, $serializer_getInstance_0(), tmp8_local4);
852
+ tmp8_local4 = tmp9_input.i2d(tmp0_desc, 4, $serializer_getInstance_0(), tmp8_local4);
777
853
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
778
854
  } else
779
855
  while (tmp1_flag) {
780
- tmp2_index = tmp9_input.m2d(tmp0_desc);
856
+ tmp2_index = tmp9_input.n2d(tmp0_desc);
781
857
  switch (tmp2_index) {
782
858
  case -1:
783
859
  tmp1_flag = false;
784
860
  break;
785
861
  case 0:
786
- tmp4_local0 = tmp9_input.a2d(tmp0_desc, 0);
862
+ tmp4_local0 = tmp9_input.b2d(tmp0_desc, 0);
787
863
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
788
864
  break;
789
865
  case 1:
790
- tmp5_local1 = tmp9_input.h2d(tmp0_desc, 1, $serializer_getInstance(), tmp5_local1);
866
+ tmp5_local1 = tmp9_input.i2d(tmp0_desc, 1, $serializer_getInstance(), tmp5_local1);
791
867
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
792
868
  break;
793
869
  case 2:
794
- tmp6_local2 = tmp9_input.f2d(tmp0_desc, 2);
870
+ tmp6_local2 = tmp9_input.g2d(tmp0_desc, 2);
795
871
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
796
872
  break;
797
873
  case 3:
798
- tmp7_local3 = tmp9_input.f2d(tmp0_desc, 3);
874
+ tmp7_local3 = tmp9_input.g2d(tmp0_desc, 3);
799
875
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
800
876
  break;
801
877
  case 4:
802
- tmp8_local4 = tmp9_input.h2d(tmp0_desc, 4, $serializer_getInstance_0(), tmp8_local4);
878
+ tmp8_local4 = tmp9_input.i2d(tmp0_desc, 4, $serializer_getInstance_0(), tmp8_local4);
803
879
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
804
880
  break;
805
881
  default:
806
882
  throw UnknownFieldException_init_$Create$(tmp2_index);
807
883
  }
808
884
  }
809
- tmp9_input.w2c(tmp0_desc);
885
+ tmp9_input.x2c(tmp0_desc);
810
886
  return Prove_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
811
887
  };
812
- protoOf($serializer_0).m29 = function () {
813
- return this.pcm_1;
888
+ protoOf($serializer_0).n29 = function () {
889
+ return this.rcn_1;
814
890
  };
815
- protoOf($serializer_0).c2l = function () {
891
+ protoOf($serializer_0).d2l = function () {
816
892
  // Inline function 'kotlin.arrayOf' call
817
893
  // Inline function 'kotlin.js.unsafeCast' call
818
894
  // Inline function 'kotlin.js.asDynamic' call
@@ -826,13 +902,13 @@ function $serializer_getInstance_1() {
826
902
  }
827
903
  function Prove_init_$Init$(seen0, id, request, steamAccessToken, steamSessionId, settings, serializationConstructorMarker, $this) {
828
904
  if (!(31 === (31 & seen0))) {
829
- throwMissingFieldException(seen0, 31, $serializer_getInstance_1().pcm_1);
905
+ throwMissingFieldException(seen0, 31, $serializer_getInstance_1().rcn_1);
830
906
  }
831
- $this.rcm_1 = id;
832
- $this.scm_1 = request;
833
- $this.tcm_1 = steamAccessToken;
834
- $this.ucm_1 = steamSessionId;
835
- $this.vcm_1 = settings;
907
+ $this.tcn_1 = id;
908
+ $this.ucn_1 = request;
909
+ $this.vcn_1 = steamAccessToken;
910
+ $this.wcn_1 = steamSessionId;
911
+ $this.xcn_1 = settings;
836
912
  return $this;
837
913
  }
838
914
  function Prove_init_$Create$(seen0, id, request, steamAccessToken, steamSessionId, settings, serializationConstructorMarker) {
@@ -842,92 +918,92 @@ function ToChild$Headers$Companion$$childSerializers$_anonymous__tbifd3() {
842
918
  return new LinkedHashMapSerializer(StringSerializer_getInstance(), StringSerializer_getInstance());
843
919
  }
844
920
  function Companion_2() {
845
- Companion_instance_5 = this;
921
+ Companion_instance_6 = this;
846
922
  var tmp = this;
847
923
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
848
924
  // Inline function 'kotlin.arrayOf' call
849
925
  // Inline function 'kotlin.js.unsafeCast' call
850
926
  // Inline function 'kotlin.js.asDynamic' call
851
- tmp.wcm_1 = [null, lazy(tmp_0, ToChild$Headers$Companion$$childSerializers$_anonymous__tbifd3), null];
927
+ tmp.ycn_1 = [null, lazy(tmp_0, ToChild$Headers$Companion$$childSerializers$_anonymous__tbifd3), null];
852
928
  }
853
- var Companion_instance_5;
929
+ var Companion_instance_6;
854
930
  function Companion_getInstance_5() {
855
- if (Companion_instance_5 == null)
931
+ if (Companion_instance_6 == null)
856
932
  new Companion_2();
857
- return Companion_instance_5;
933
+ return Companion_instance_6;
858
934
  }
859
935
  function $serializer_1() {
860
936
  $serializer_instance_1 = this;
861
937
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('headers', this, 3);
862
- tmp0_serialDesc.l2k('id', false);
863
- tmp0_serialDesc.l2k('headers', true);
864
- tmp0_serialDesc.l2k('error', true);
865
- this.xcm_1 = tmp0_serialDesc;
866
- }
867
- protoOf($serializer_1).ycm = function (encoder, value) {
868
- var tmp0_desc = this.xcm_1;
869
- var tmp1_output = encoder.v2c(tmp0_desc);
870
- var tmp2_cached = Companion_getInstance_5().wcm_1;
871
- tmp1_output.f2e(tmp0_desc, 0, value.zcm_1);
872
- if (tmp1_output.s2e(tmp0_desc, 1) ? true : !(value.acn_1 == null)) {
873
- tmp1_output.o2e(tmp0_desc, 1, tmp2_cached[1].p1(), value.acn_1);
938
+ tmp0_serialDesc.m2k('id', false);
939
+ tmp0_serialDesc.m2k('headers', true);
940
+ tmp0_serialDesc.m2k('error', true);
941
+ this.zcn_1 = tmp0_serialDesc;
942
+ }
943
+ protoOf($serializer_1).aco = function (encoder, value) {
944
+ var tmp0_desc = this.zcn_1;
945
+ var tmp1_output = encoder.w2c(tmp0_desc);
946
+ var tmp2_cached = Companion_getInstance_5().ycn_1;
947
+ tmp1_output.g2e(tmp0_desc, 0, value.bco_1);
948
+ if (tmp1_output.t2e(tmp0_desc, 1) ? true : !(value.cco_1 == null)) {
949
+ tmp1_output.p2e(tmp0_desc, 1, tmp2_cached[1].p1(), value.cco_1);
874
950
  }
875
- if (tmp1_output.s2e(tmp0_desc, 2) ? true : !(value.bcn_1 == null)) {
876
- tmp1_output.o2e(tmp0_desc, 2, StringSerializer_getInstance(), value.bcn_1);
951
+ if (tmp1_output.t2e(tmp0_desc, 2) ? true : !(value.dco_1 == null)) {
952
+ tmp1_output.p2e(tmp0_desc, 2, StringSerializer_getInstance(), value.dco_1);
877
953
  }
878
- tmp1_output.w2c(tmp0_desc);
954
+ tmp1_output.x2c(tmp0_desc);
879
955
  };
880
- protoOf($serializer_1).n29 = function (encoder, value) {
881
- return this.ycm(encoder, value instanceof Headers ? value : THROW_CCE());
956
+ protoOf($serializer_1).o29 = function (encoder, value) {
957
+ return this.aco(encoder, value instanceof Headers ? value : THROW_CCE());
882
958
  };
883
- protoOf($serializer_1).o29 = function (decoder) {
884
- var tmp0_desc = this.xcm_1;
959
+ protoOf($serializer_1).p29 = function (decoder) {
960
+ var tmp0_desc = this.zcn_1;
885
961
  var tmp1_flag = true;
886
962
  var tmp2_index = 0;
887
963
  var tmp3_bitMask0 = 0;
888
964
  var tmp4_local0 = 0;
889
965
  var tmp5_local1 = null;
890
966
  var tmp6_local2 = null;
891
- var tmp7_input = decoder.v2c(tmp0_desc);
892
- var tmp8_cached = Companion_getInstance_5().wcm_1;
893
- if (tmp7_input.l2d()) {
894
- tmp4_local0 = tmp7_input.a2d(tmp0_desc, 0);
967
+ var tmp7_input = decoder.w2c(tmp0_desc);
968
+ var tmp8_cached = Companion_getInstance_5().ycn_1;
969
+ if (tmp7_input.m2d()) {
970
+ tmp4_local0 = tmp7_input.b2d(tmp0_desc, 0);
895
971
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
896
- tmp5_local1 = tmp7_input.j2d(tmp0_desc, 1, tmp8_cached[1].p1(), tmp5_local1);
972
+ tmp5_local1 = tmp7_input.k2d(tmp0_desc, 1, tmp8_cached[1].p1(), tmp5_local1);
897
973
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
898
- tmp6_local2 = tmp7_input.j2d(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
974
+ tmp6_local2 = tmp7_input.k2d(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
899
975
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
900
976
  } else
901
977
  while (tmp1_flag) {
902
- tmp2_index = tmp7_input.m2d(tmp0_desc);
978
+ tmp2_index = tmp7_input.n2d(tmp0_desc);
903
979
  switch (tmp2_index) {
904
980
  case -1:
905
981
  tmp1_flag = false;
906
982
  break;
907
983
  case 0:
908
- tmp4_local0 = tmp7_input.a2d(tmp0_desc, 0);
984
+ tmp4_local0 = tmp7_input.b2d(tmp0_desc, 0);
909
985
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
910
986
  break;
911
987
  case 1:
912
- tmp5_local1 = tmp7_input.j2d(tmp0_desc, 1, tmp8_cached[1].p1(), tmp5_local1);
988
+ tmp5_local1 = tmp7_input.k2d(tmp0_desc, 1, tmp8_cached[1].p1(), tmp5_local1);
913
989
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
914
990
  break;
915
991
  case 2:
916
- tmp6_local2 = tmp7_input.j2d(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
992
+ tmp6_local2 = tmp7_input.k2d(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
917
993
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
918
994
  break;
919
995
  default:
920
996
  throw UnknownFieldException_init_$Create$(tmp2_index);
921
997
  }
922
998
  }
923
- tmp7_input.w2c(tmp0_desc);
999
+ tmp7_input.x2c(tmp0_desc);
924
1000
  return Headers_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
925
1001
  };
926
- protoOf($serializer_1).m29 = function () {
927
- return this.xcm_1;
1002
+ protoOf($serializer_1).n29 = function () {
1003
+ return this.zcn_1;
928
1004
  };
929
- protoOf($serializer_1).c2l = function () {
930
- var tmp0_cached = Companion_getInstance_5().wcm_1;
1005
+ protoOf($serializer_1).d2l = function () {
1006
+ var tmp0_cached = Companion_getInstance_5().ycn_1;
931
1007
  // Inline function 'kotlin.arrayOf' call
932
1008
  // Inline function 'kotlin.js.unsafeCast' call
933
1009
  // Inline function 'kotlin.js.asDynamic' call
@@ -941,38 +1017,38 @@ function $serializer_getInstance_2() {
941
1017
  }
942
1018
  function Headers_init_$Init$(seen0, id, headers, error, serializationConstructorMarker, $this) {
943
1019
  if (!(1 === (1 & seen0))) {
944
- throwMissingFieldException(seen0, 1, $serializer_getInstance_2().xcm_1);
1020
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_2().zcn_1);
945
1021
  }
946
- $this.zcm_1 = id;
1022
+ $this.bco_1 = id;
947
1023
  if (0 === (seen0 & 2))
948
- $this.acn_1 = null;
1024
+ $this.cco_1 = null;
949
1025
  else
950
- $this.acn_1 = headers;
1026
+ $this.cco_1 = headers;
951
1027
  if (0 === (seen0 & 4))
952
- $this.bcn_1 = null;
1028
+ $this.dco_1 = null;
953
1029
  else
954
- $this.bcn_1 = error;
1030
+ $this.dco_1 = error;
955
1031
  return $this;
956
1032
  }
957
1033
  function Headers_init_$Create$(seen0, id, headers, error, serializationConstructorMarker) {
958
1034
  return Headers_init_$Init$(seen0, id, headers, error, serializationConstructorMarker, objectCreate(protoOf(Headers)));
959
1035
  }
960
1036
  function Prove(id, request, steamAccessToken, steamSessionId, settings) {
961
- this.rcm_1 = id;
962
- this.scm_1 = request;
963
- this.tcm_1 = steamAccessToken;
964
- this.ucm_1 = steamSessionId;
965
- this.vcm_1 = settings;
1037
+ this.tcn_1 = id;
1038
+ this.ucn_1 = request;
1039
+ this.vcn_1 = steamAccessToken;
1040
+ this.wcn_1 = steamSessionId;
1041
+ this.xcn_1 = settings;
966
1042
  }
967
1043
  protoOf(Prove).toString = function () {
968
- return 'Prove(id=' + this.rcm_1 + ', request=' + this.scm_1.toString() + ', steamAccessToken=<redacted>, steamSessionId=<redacted>)';
1044
+ return 'Prove(id=' + this.tcn_1 + ', request=' + this.ucn_1.toString() + ', steamAccessToken=<redacted>, steamSessionId=<redacted>)';
969
1045
  };
970
1046
  protoOf(Prove).hashCode = function () {
971
- var result = this.rcm_1;
972
- result = imul(result, 31) + this.scm_1.hashCode() | 0;
973
- result = imul(result, 31) + getStringHashCode(this.tcm_1) | 0;
974
- result = imul(result, 31) + getStringHashCode(this.ucm_1) | 0;
975
- result = imul(result, 31) + this.vcm_1.hashCode() | 0;
1047
+ var result = this.tcn_1;
1048
+ result = imul(result, 31) + this.ucn_1.hashCode() | 0;
1049
+ result = imul(result, 31) + getStringHashCode(this.vcn_1) | 0;
1050
+ result = imul(result, 31) + getStringHashCode(this.wcn_1) | 0;
1051
+ result = imul(result, 31) + this.xcn_1.hashCode() | 0;
976
1052
  return result;
977
1053
  };
978
1054
  protoOf(Prove).equals = function (other) {
@@ -980,15 +1056,15 @@ protoOf(Prove).equals = function (other) {
980
1056
  return true;
981
1057
  if (!(other instanceof Prove))
982
1058
  return false;
983
- if (!(this.rcm_1 === other.rcm_1))
1059
+ if (!(this.tcn_1 === other.tcn_1))
984
1060
  return false;
985
- if (!this.scm_1.equals(other.scm_1))
1061
+ if (!this.ucn_1.equals(other.ucn_1))
986
1062
  return false;
987
- if (!(this.tcm_1 === other.tcm_1))
1063
+ if (!(this.vcn_1 === other.vcn_1))
988
1064
  return false;
989
- if (!(this.ucm_1 === other.ucm_1))
1065
+ if (!(this.wcn_1 === other.wcn_1))
990
1066
  return false;
991
- if (!this.vcm_1.equals(other.vcm_1))
1067
+ if (!this.xcn_1.equals(other.xcn_1))
992
1068
  return false;
993
1069
  return true;
994
1070
  };
@@ -996,18 +1072,18 @@ function Headers(id, headers, error) {
996
1072
  Companion_getInstance_5();
997
1073
  headers = headers === VOID ? null : headers;
998
1074
  error = error === VOID ? null : error;
999
- this.zcm_1 = id;
1000
- this.acn_1 = headers;
1001
- this.bcn_1 = error;
1075
+ this.bco_1 = id;
1076
+ this.cco_1 = headers;
1077
+ this.dco_1 = error;
1002
1078
  }
1003
1079
  protoOf(Headers).toString = function () {
1004
- var tmp0_safe_receiver = this.acn_1;
1005
- return 'Headers(id=' + this.zcm_1 + ', headers=' + toString(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y2()) + ': <redacted>, error=' + this.bcn_1 + ')';
1080
+ var tmp0_safe_receiver = this.cco_1;
1081
+ return 'Headers(id=' + this.bco_1 + ', headers=' + toString_0(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y2()) + ': <redacted>, error=' + this.dco_1 + ')';
1006
1082
  };
1007
1083
  protoOf(Headers).hashCode = function () {
1008
- var result = this.zcm_1;
1009
- result = imul(result, 31) + (this.acn_1 == null ? 0 : hashCode(this.acn_1)) | 0;
1010
- result = imul(result, 31) + (this.bcn_1 == null ? 0 : getStringHashCode(this.bcn_1)) | 0;
1084
+ var result = this.bco_1;
1085
+ result = imul(result, 31) + (this.cco_1 == null ? 0 : hashCode(this.cco_1)) | 0;
1086
+ result = imul(result, 31) + (this.dco_1 == null ? 0 : getStringHashCode(this.dco_1)) | 0;
1011
1087
  return result;
1012
1088
  };
1013
1089
  protoOf(Headers).equals = function (other) {
@@ -1015,17 +1091,17 @@ protoOf(Headers).equals = function (other) {
1015
1091
  return true;
1016
1092
  if (!(other instanceof Headers))
1017
1093
  return false;
1018
- if (!(this.zcm_1 === other.zcm_1))
1094
+ if (!(this.bco_1 === other.bco_1))
1019
1095
  return false;
1020
- if (!equals(this.acn_1, other.acn_1))
1096
+ if (!equals(this.cco_1, other.cco_1))
1021
1097
  return false;
1022
- if (!(this.bcn_1 == other.bcn_1))
1098
+ if (!(this.dco_1 == other.dco_1))
1023
1099
  return false;
1024
1100
  return true;
1025
1101
  };
1026
1102
  function Companion_3() {
1027
1103
  }
1028
- protoOf(Companion_3).d56 = function () {
1104
+ protoOf(Companion_3).s55 = function () {
1029
1105
  var tmp = getKClass(ToChild);
1030
1106
  // Inline function 'kotlin.arrayOf' call
1031
1107
  // Inline function 'kotlin.js.unsafeCast' call
@@ -1041,68 +1117,68 @@ protoOf(Companion_3).d56 = function () {
1041
1117
  var tmp$ret$6 = [];
1042
1118
  return SealedClassSerializer_init_$Create$('com.dmarket.p2p.headless.prover.ToChild', tmp, tmp_0, tmp_1, tmp$ret$6);
1043
1119
  };
1044
- protoOf(Companion_3).n2l = function (typeParamsSerializers) {
1045
- return this.d56();
1120
+ protoOf(Companion_3).o2l = function (typeParamsSerializers) {
1121
+ return this.s55();
1046
1122
  };
1047
- var Companion_instance_6;
1123
+ var Companion_instance_7;
1048
1124
  function Companion_getInstance_6() {
1049
- return Companion_instance_6;
1125
+ return Companion_instance_7;
1050
1126
  }
1051
1127
  function ToChild() {
1052
1128
  }
1053
1129
  function Companion_4() {
1054
1130
  }
1055
- var Companion_instance_7;
1131
+ var Companion_instance_8;
1056
1132
  function Companion_getInstance_7() {
1057
- return Companion_instance_7;
1133
+ return Companion_instance_8;
1058
1134
  }
1059
1135
  function $serializer_2() {
1060
1136
  $serializer_instance_2 = this;
1061
1137
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('headers_wanted', this, 1);
1062
- tmp0_serialDesc.l2k('id', false);
1063
- this.ccn_1 = tmp0_serialDesc;
1138
+ tmp0_serialDesc.m2k('id', false);
1139
+ this.eco_1 = tmp0_serialDesc;
1064
1140
  }
1065
- protoOf($serializer_2).dcn = function (encoder, value) {
1066
- var tmp0_desc = this.ccn_1;
1067
- var tmp1_output = encoder.v2c(tmp0_desc);
1068
- tmp1_output.f2e(tmp0_desc, 0, value.ecn_1);
1069
- tmp1_output.w2c(tmp0_desc);
1141
+ protoOf($serializer_2).fco = function (encoder, value) {
1142
+ var tmp0_desc = this.eco_1;
1143
+ var tmp1_output = encoder.w2c(tmp0_desc);
1144
+ tmp1_output.g2e(tmp0_desc, 0, value.gco_1);
1145
+ tmp1_output.x2c(tmp0_desc);
1070
1146
  };
1071
- protoOf($serializer_2).n29 = function (encoder, value) {
1072
- return this.dcn(encoder, value instanceof HeadersWanted ? value : THROW_CCE());
1147
+ protoOf($serializer_2).o29 = function (encoder, value) {
1148
+ return this.fco(encoder, value instanceof HeadersWanted ? value : THROW_CCE());
1073
1149
  };
1074
- protoOf($serializer_2).o29 = function (decoder) {
1075
- var tmp0_desc = this.ccn_1;
1150
+ protoOf($serializer_2).p29 = function (decoder) {
1151
+ var tmp0_desc = this.eco_1;
1076
1152
  var tmp1_flag = true;
1077
1153
  var tmp2_index = 0;
1078
1154
  var tmp3_bitMask0 = 0;
1079
1155
  var tmp4_local0 = 0;
1080
- var tmp5_input = decoder.v2c(tmp0_desc);
1081
- if (tmp5_input.l2d()) {
1082
- tmp4_local0 = tmp5_input.a2d(tmp0_desc, 0);
1156
+ var tmp5_input = decoder.w2c(tmp0_desc);
1157
+ if (tmp5_input.m2d()) {
1158
+ tmp4_local0 = tmp5_input.b2d(tmp0_desc, 0);
1083
1159
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1084
1160
  } else
1085
1161
  while (tmp1_flag) {
1086
- tmp2_index = tmp5_input.m2d(tmp0_desc);
1162
+ tmp2_index = tmp5_input.n2d(tmp0_desc);
1087
1163
  switch (tmp2_index) {
1088
1164
  case -1:
1089
1165
  tmp1_flag = false;
1090
1166
  break;
1091
1167
  case 0:
1092
- tmp4_local0 = tmp5_input.a2d(tmp0_desc, 0);
1168
+ tmp4_local0 = tmp5_input.b2d(tmp0_desc, 0);
1093
1169
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1094
1170
  break;
1095
1171
  default:
1096
1172
  throw UnknownFieldException_init_$Create$(tmp2_index);
1097
1173
  }
1098
1174
  }
1099
- tmp5_input.w2c(tmp0_desc);
1175
+ tmp5_input.x2c(tmp0_desc);
1100
1176
  return HeadersWanted_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
1101
1177
  };
1102
- protoOf($serializer_2).m29 = function () {
1103
- return this.ccn_1;
1178
+ protoOf($serializer_2).n29 = function () {
1179
+ return this.eco_1;
1104
1180
  };
1105
- protoOf($serializer_2).c2l = function () {
1181
+ protoOf($serializer_2).d2l = function () {
1106
1182
  // Inline function 'kotlin.arrayOf' call
1107
1183
  // Inline function 'kotlin.js.unsafeCast' call
1108
1184
  // Inline function 'kotlin.js.asDynamic' call
@@ -1116,9 +1192,9 @@ function $serializer_getInstance_3() {
1116
1192
  }
1117
1193
  function HeadersWanted_init_$Init$(seen0, id, serializationConstructorMarker, $this) {
1118
1194
  if (!(1 === (1 & seen0))) {
1119
- throwMissingFieldException(seen0, 1, $serializer_getInstance_3().ccn_1);
1195
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_3().eco_1);
1120
1196
  }
1121
- $this.ecn_1 = id;
1197
+ $this.gco_1 = id;
1122
1198
  return $this;
1123
1199
  }
1124
1200
  function HeadersWanted_init_$Create$(seen0, id, serializationConstructorMarker) {
@@ -1126,66 +1202,66 @@ function HeadersWanted_init_$Create$(seen0, id, serializationConstructorMarker)
1126
1202
  }
1127
1203
  function Companion_5() {
1128
1204
  }
1129
- var Companion_instance_8;
1205
+ var Companion_instance_9;
1130
1206
  function Companion_getInstance_8() {
1131
- return Companion_instance_8;
1207
+ return Companion_instance_9;
1132
1208
  }
1133
1209
  function $serializer_3() {
1134
1210
  $serializer_instance_3 = this;
1135
1211
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('proved', this, 2);
1136
- tmp0_serialDesc.l2k('id', false);
1137
- tmp0_serialDesc.l2k('presentation', false);
1138
- this.fcn_1 = tmp0_serialDesc;
1139
- }
1140
- protoOf($serializer_3).gcn = function (encoder, value) {
1141
- var tmp0_desc = this.fcn_1;
1142
- var tmp1_output = encoder.v2c(tmp0_desc);
1143
- tmp1_output.f2e(tmp0_desc, 0, value.hcn_1);
1144
- tmp1_output.k2e(tmp0_desc, 1, value.icn_1);
1145
- tmp1_output.w2c(tmp0_desc);
1146
- };
1147
- protoOf($serializer_3).n29 = function (encoder, value) {
1148
- return this.gcn(encoder, value instanceof Proved_0 ? value : THROW_CCE());
1149
- };
1150
- protoOf($serializer_3).o29 = function (decoder) {
1151
- var tmp0_desc = this.fcn_1;
1212
+ tmp0_serialDesc.m2k('id', false);
1213
+ tmp0_serialDesc.m2k('presentation', false);
1214
+ this.hco_1 = tmp0_serialDesc;
1215
+ }
1216
+ protoOf($serializer_3).ico = function (encoder, value) {
1217
+ var tmp0_desc = this.hco_1;
1218
+ var tmp1_output = encoder.w2c(tmp0_desc);
1219
+ tmp1_output.g2e(tmp0_desc, 0, value.jco_1);
1220
+ tmp1_output.l2e(tmp0_desc, 1, value.kco_1);
1221
+ tmp1_output.x2c(tmp0_desc);
1222
+ };
1223
+ protoOf($serializer_3).o29 = function (encoder, value) {
1224
+ return this.ico(encoder, value instanceof Proved_0 ? value : THROW_CCE());
1225
+ };
1226
+ protoOf($serializer_3).p29 = function (decoder) {
1227
+ var tmp0_desc = this.hco_1;
1152
1228
  var tmp1_flag = true;
1153
1229
  var tmp2_index = 0;
1154
1230
  var tmp3_bitMask0 = 0;
1155
1231
  var tmp4_local0 = 0;
1156
1232
  var tmp5_local1 = null;
1157
- var tmp6_input = decoder.v2c(tmp0_desc);
1158
- if (tmp6_input.l2d()) {
1159
- tmp4_local0 = tmp6_input.a2d(tmp0_desc, 0);
1233
+ var tmp6_input = decoder.w2c(tmp0_desc);
1234
+ if (tmp6_input.m2d()) {
1235
+ tmp4_local0 = tmp6_input.b2d(tmp0_desc, 0);
1160
1236
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1161
- tmp5_local1 = tmp6_input.f2d(tmp0_desc, 1);
1237
+ tmp5_local1 = tmp6_input.g2d(tmp0_desc, 1);
1162
1238
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1163
1239
  } else
1164
1240
  while (tmp1_flag) {
1165
- tmp2_index = tmp6_input.m2d(tmp0_desc);
1241
+ tmp2_index = tmp6_input.n2d(tmp0_desc);
1166
1242
  switch (tmp2_index) {
1167
1243
  case -1:
1168
1244
  tmp1_flag = false;
1169
1245
  break;
1170
1246
  case 0:
1171
- tmp4_local0 = tmp6_input.a2d(tmp0_desc, 0);
1247
+ tmp4_local0 = tmp6_input.b2d(tmp0_desc, 0);
1172
1248
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1173
1249
  break;
1174
1250
  case 1:
1175
- tmp5_local1 = tmp6_input.f2d(tmp0_desc, 1);
1251
+ tmp5_local1 = tmp6_input.g2d(tmp0_desc, 1);
1176
1252
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1177
1253
  break;
1178
1254
  default:
1179
1255
  throw UnknownFieldException_init_$Create$(tmp2_index);
1180
1256
  }
1181
1257
  }
1182
- tmp6_input.w2c(tmp0_desc);
1258
+ tmp6_input.x2c(tmp0_desc);
1183
1259
  return Proved_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1184
1260
  };
1185
- protoOf($serializer_3).m29 = function () {
1186
- return this.fcn_1;
1261
+ protoOf($serializer_3).n29 = function () {
1262
+ return this.hco_1;
1187
1263
  };
1188
- protoOf($serializer_3).c2l = function () {
1264
+ protoOf($serializer_3).d2l = function () {
1189
1265
  // Inline function 'kotlin.arrayOf' call
1190
1266
  // Inline function 'kotlin.js.unsafeCast' call
1191
1267
  // Inline function 'kotlin.js.asDynamic' call
@@ -1199,92 +1275,92 @@ function $serializer_getInstance_4() {
1199
1275
  }
1200
1276
  function Proved_init_$Init$(seen0, id, presentation, serializationConstructorMarker, $this) {
1201
1277
  if (!(3 === (3 & seen0))) {
1202
- throwMissingFieldException(seen0, 3, $serializer_getInstance_4().fcn_1);
1278
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_4().hco_1);
1203
1279
  }
1204
- $this.hcn_1 = id;
1205
- $this.icn_1 = presentation;
1280
+ $this.jco_1 = id;
1281
+ $this.kco_1 = presentation;
1206
1282
  return $this;
1207
1283
  }
1208
1284
  function Proved_init_$Create$(seen0, id, presentation, serializationConstructorMarker) {
1209
1285
  return Proved_init_$Init$(seen0, id, presentation, serializationConstructorMarker, objectCreate(protoOf(Proved_0)));
1210
1286
  }
1211
1287
  function FromChild$Failed$Companion$$childSerializers$_anonymous__8w30xx() {
1212
- return Companion_instance_0.d56();
1288
+ return Companion_instance_0.s55();
1213
1289
  }
1214
1290
  function Companion_6() {
1215
- Companion_instance_9 = this;
1291
+ Companion_instance_10 = this;
1216
1292
  var tmp = this;
1217
1293
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1218
1294
  // Inline function 'kotlin.arrayOf' call
1219
1295
  // Inline function 'kotlin.js.unsafeCast' call
1220
1296
  // Inline function 'kotlin.js.asDynamic' call
1221
- tmp.jcn_1 = [null, lazy(tmp_0, FromChild$Failed$Companion$$childSerializers$_anonymous__8w30xx)];
1297
+ tmp.lco_1 = [null, lazy(tmp_0, FromChild$Failed$Companion$$childSerializers$_anonymous__8w30xx)];
1222
1298
  }
1223
- var Companion_instance_9;
1299
+ var Companion_instance_10;
1224
1300
  function Companion_getInstance_9() {
1225
- if (Companion_instance_9 == null)
1301
+ if (Companion_instance_10 == null)
1226
1302
  new Companion_6();
1227
- return Companion_instance_9;
1303
+ return Companion_instance_10;
1228
1304
  }
1229
1305
  function $serializer_4() {
1230
1306
  $serializer_instance_4 = this;
1231
1307
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('failed', this, 2);
1232
- tmp0_serialDesc.l2k('id', false);
1233
- tmp0_serialDesc.l2k('failure', false);
1234
- this.kcn_1 = tmp0_serialDesc;
1235
- }
1236
- protoOf($serializer_4).lcn = function (encoder, value) {
1237
- var tmp0_desc = this.kcn_1;
1238
- var tmp1_output = encoder.v2c(tmp0_desc);
1239
- var tmp2_cached = Companion_getInstance_9().jcn_1;
1240
- tmp1_output.f2e(tmp0_desc, 0, value.mcn_1);
1241
- tmp1_output.m2e(tmp0_desc, 1, tmp2_cached[1].p1(), value.ncn_1);
1242
- tmp1_output.w2c(tmp0_desc);
1243
- };
1244
- protoOf($serializer_4).n29 = function (encoder, value) {
1245
- return this.lcn(encoder, value instanceof Failed_0 ? value : THROW_CCE());
1246
- };
1247
- protoOf($serializer_4).o29 = function (decoder) {
1248
- var tmp0_desc = this.kcn_1;
1308
+ tmp0_serialDesc.m2k('id', false);
1309
+ tmp0_serialDesc.m2k('failure', false);
1310
+ this.mco_1 = tmp0_serialDesc;
1311
+ }
1312
+ protoOf($serializer_4).nco = function (encoder, value) {
1313
+ var tmp0_desc = this.mco_1;
1314
+ var tmp1_output = encoder.w2c(tmp0_desc);
1315
+ var tmp2_cached = Companion_getInstance_9().lco_1;
1316
+ tmp1_output.g2e(tmp0_desc, 0, value.oco_1);
1317
+ tmp1_output.n2e(tmp0_desc, 1, tmp2_cached[1].p1(), value.pco_1);
1318
+ tmp1_output.x2c(tmp0_desc);
1319
+ };
1320
+ protoOf($serializer_4).o29 = function (encoder, value) {
1321
+ return this.nco(encoder, value instanceof Failed_0 ? value : THROW_CCE());
1322
+ };
1323
+ protoOf($serializer_4).p29 = function (decoder) {
1324
+ var tmp0_desc = this.mco_1;
1249
1325
  var tmp1_flag = true;
1250
1326
  var tmp2_index = 0;
1251
1327
  var tmp3_bitMask0 = 0;
1252
1328
  var tmp4_local0 = 0;
1253
1329
  var tmp5_local1 = null;
1254
- var tmp6_input = decoder.v2c(tmp0_desc);
1255
- var tmp7_cached = Companion_getInstance_9().jcn_1;
1256
- if (tmp6_input.l2d()) {
1257
- tmp4_local0 = tmp6_input.a2d(tmp0_desc, 0);
1330
+ var tmp6_input = decoder.w2c(tmp0_desc);
1331
+ var tmp7_cached = Companion_getInstance_9().lco_1;
1332
+ if (tmp6_input.m2d()) {
1333
+ tmp4_local0 = tmp6_input.b2d(tmp0_desc, 0);
1258
1334
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1259
- tmp5_local1 = tmp6_input.h2d(tmp0_desc, 1, tmp7_cached[1].p1(), tmp5_local1);
1335
+ tmp5_local1 = tmp6_input.i2d(tmp0_desc, 1, tmp7_cached[1].p1(), tmp5_local1);
1260
1336
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1261
1337
  } else
1262
1338
  while (tmp1_flag) {
1263
- tmp2_index = tmp6_input.m2d(tmp0_desc);
1339
+ tmp2_index = tmp6_input.n2d(tmp0_desc);
1264
1340
  switch (tmp2_index) {
1265
1341
  case -1:
1266
1342
  tmp1_flag = false;
1267
1343
  break;
1268
1344
  case 0:
1269
- tmp4_local0 = tmp6_input.a2d(tmp0_desc, 0);
1345
+ tmp4_local0 = tmp6_input.b2d(tmp0_desc, 0);
1270
1346
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1271
1347
  break;
1272
1348
  case 1:
1273
- tmp5_local1 = tmp6_input.h2d(tmp0_desc, 1, tmp7_cached[1].p1(), tmp5_local1);
1349
+ tmp5_local1 = tmp6_input.i2d(tmp0_desc, 1, tmp7_cached[1].p1(), tmp5_local1);
1274
1350
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1275
1351
  break;
1276
1352
  default:
1277
1353
  throw UnknownFieldException_init_$Create$(tmp2_index);
1278
1354
  }
1279
1355
  }
1280
- tmp6_input.w2c(tmp0_desc);
1356
+ tmp6_input.x2c(tmp0_desc);
1281
1357
  return Failed_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1282
1358
  };
1283
- protoOf($serializer_4).m29 = function () {
1284
- return this.kcn_1;
1359
+ protoOf($serializer_4).n29 = function () {
1360
+ return this.mco_1;
1285
1361
  };
1286
- protoOf($serializer_4).c2l = function () {
1287
- var tmp0_cached = Companion_getInstance_9().jcn_1;
1362
+ protoOf($serializer_4).d2l = function () {
1363
+ var tmp0_cached = Companion_getInstance_9().lco_1;
1288
1364
  // Inline function 'kotlin.arrayOf' call
1289
1365
  // Inline function 'kotlin.js.unsafeCast' call
1290
1366
  // Inline function 'kotlin.js.asDynamic' call
@@ -1298,49 +1374,49 @@ function $serializer_getInstance_5() {
1298
1374
  }
1299
1375
  function Failed_init_$Init$(seen0, id, failure, serializationConstructorMarker, $this) {
1300
1376
  if (!(3 === (3 & seen0))) {
1301
- throwMissingFieldException(seen0, 3, $serializer_getInstance_5().kcn_1);
1377
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_5().mco_1);
1302
1378
  }
1303
- $this.mcn_1 = id;
1304
- $this.ncn_1 = failure;
1379
+ $this.oco_1 = id;
1380
+ $this.pco_1 = failure;
1305
1381
  return $this;
1306
1382
  }
1307
1383
  function Failed_init_$Create$(seen0, id, failure, serializationConstructorMarker) {
1308
1384
  return Failed_init_$Init$(seen0, id, failure, serializationConstructorMarker, objectCreate(protoOf(Failed_0)));
1309
1385
  }
1310
1386
  function HeadersWanted(id) {
1311
- this.ecn_1 = id;
1387
+ this.gco_1 = id;
1312
1388
  }
1313
- protoOf(HeadersWanted).v6e = function () {
1314
- return this.ecn_1;
1389
+ protoOf(HeadersWanted).s6e = function () {
1390
+ return this.gco_1;
1315
1391
  };
1316
1392
  protoOf(HeadersWanted).toString = function () {
1317
- return 'HeadersWanted(id=' + this.ecn_1 + ')';
1393
+ return 'HeadersWanted(id=' + this.gco_1 + ')';
1318
1394
  };
1319
1395
  protoOf(HeadersWanted).hashCode = function () {
1320
- return this.ecn_1;
1396
+ return this.gco_1;
1321
1397
  };
1322
1398
  protoOf(HeadersWanted).equals = function (other) {
1323
1399
  if (this === other)
1324
1400
  return true;
1325
1401
  if (!(other instanceof HeadersWanted))
1326
1402
  return false;
1327
- if (!(this.ecn_1 === other.ecn_1))
1403
+ if (!(this.gco_1 === other.gco_1))
1328
1404
  return false;
1329
1405
  return true;
1330
1406
  };
1331
1407
  function Proved_0(id, presentation) {
1332
- this.hcn_1 = id;
1333
- this.icn_1 = presentation;
1408
+ this.jco_1 = id;
1409
+ this.kco_1 = presentation;
1334
1410
  }
1335
- protoOf(Proved_0).v6e = function () {
1336
- return this.hcn_1;
1411
+ protoOf(Proved_0).s6e = function () {
1412
+ return this.jco_1;
1337
1413
  };
1338
1414
  protoOf(Proved_0).toString = function () {
1339
- return 'Proved(id=' + this.hcn_1 + ', presentation=' + this.icn_1 + ')';
1415
+ return 'Proved(id=' + this.jco_1 + ', presentation=' + this.kco_1 + ')';
1340
1416
  };
1341
1417
  protoOf(Proved_0).hashCode = function () {
1342
- var result = this.hcn_1;
1343
- result = imul(result, 31) + getStringHashCode(this.icn_1) | 0;
1418
+ var result = this.jco_1;
1419
+ result = imul(result, 31) + getStringHashCode(this.kco_1) | 0;
1344
1420
  return result;
1345
1421
  };
1346
1422
  protoOf(Proved_0).equals = function (other) {
@@ -1348,26 +1424,26 @@ protoOf(Proved_0).equals = function (other) {
1348
1424
  return true;
1349
1425
  if (!(other instanceof Proved_0))
1350
1426
  return false;
1351
- if (!(this.hcn_1 === other.hcn_1))
1427
+ if (!(this.jco_1 === other.jco_1))
1352
1428
  return false;
1353
- if (!(this.icn_1 === other.icn_1))
1429
+ if (!(this.kco_1 === other.kco_1))
1354
1430
  return false;
1355
1431
  return true;
1356
1432
  };
1357
1433
  function Failed_0(id, failure) {
1358
1434
  Companion_getInstance_9();
1359
- this.mcn_1 = id;
1360
- this.ncn_1 = failure;
1435
+ this.oco_1 = id;
1436
+ this.pco_1 = failure;
1361
1437
  }
1362
- protoOf(Failed_0).v6e = function () {
1363
- return this.mcn_1;
1438
+ protoOf(Failed_0).s6e = function () {
1439
+ return this.oco_1;
1364
1440
  };
1365
1441
  protoOf(Failed_0).toString = function () {
1366
- return 'Failed(id=' + this.mcn_1 + ', failure=' + toString_0(this.ncn_1) + ')';
1442
+ return 'Failed(id=' + this.oco_1 + ', failure=' + toString(this.pco_1) + ')';
1367
1443
  };
1368
1444
  protoOf(Failed_0).hashCode = function () {
1369
- var result = this.mcn_1;
1370
- result = imul(result, 31) + hashCode(this.ncn_1) | 0;
1445
+ var result = this.oco_1;
1446
+ result = imul(result, 31) + hashCode(this.pco_1) | 0;
1371
1447
  return result;
1372
1448
  };
1373
1449
  protoOf(Failed_0).equals = function (other) {
@@ -1375,15 +1451,15 @@ protoOf(Failed_0).equals = function (other) {
1375
1451
  return true;
1376
1452
  if (!(other instanceof Failed_0))
1377
1453
  return false;
1378
- if (!(this.mcn_1 === other.mcn_1))
1454
+ if (!(this.oco_1 === other.oco_1))
1379
1455
  return false;
1380
- if (!equals(this.ncn_1, other.ncn_1))
1456
+ if (!equals(this.pco_1, other.pco_1))
1381
1457
  return false;
1382
1458
  return true;
1383
1459
  };
1384
1460
  function Companion_7() {
1385
1461
  }
1386
- protoOf(Companion_7).d56 = function () {
1462
+ protoOf(Companion_7).s55 = function () {
1387
1463
  var tmp = getKClass(FromChild);
1388
1464
  // Inline function 'kotlin.arrayOf' call
1389
1465
  // Inline function 'kotlin.js.unsafeCast' call
@@ -1399,23 +1475,23 @@ protoOf(Companion_7).d56 = function () {
1399
1475
  var tmp$ret$6 = [];
1400
1476
  return SealedClassSerializer_init_$Create$('com.dmarket.p2p.headless.prover.FromChild', tmp, tmp_0, tmp_1, tmp$ret$6);
1401
1477
  };
1402
- protoOf(Companion_7).n2l = function (typeParamsSerializers) {
1403
- return this.d56();
1478
+ protoOf(Companion_7).o2l = function (typeParamsSerializers) {
1479
+ return this.s55();
1404
1480
  };
1405
- var Companion_instance_10;
1481
+ var Companion_instance_11;
1406
1482
  function Companion_getInstance_10() {
1407
- return Companion_instance_10;
1483
+ return Companion_instance_11;
1408
1484
  }
1409
1485
  function FromChild() {
1410
1486
  }
1411
1487
  function ProverOutput() {
1412
1488
  ProverOutput_instance = this;
1413
- this.ecl_1 = NetworkRedaction_getInstance().m69('access_token');
1414
- this.fcl_1 = 2000;
1489
+ this.ecm_1 = NetworkRedaction_getInstance().e69('access_token');
1490
+ this.fcm_1 = 2000;
1415
1491
  }
1416
- protoOf(ProverOutput).u7b = function (line) {
1492
+ protoOf(ProverOutput).r7b = function (line) {
1417
1493
  // Inline function 'kotlin.text.orEmpty' call
1418
- var tmp0_elvis_lhs = NetworkRedaction_getInstance().l69(TradingApiSignature_getInstance().u7b(line), this.ecl_1, 2000);
1494
+ var tmp0_elvis_lhs = NetworkRedaction_getInstance().d69(TradingApiSignature_getInstance().r7b(line), this.ecm_1, 2000);
1419
1495
  return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
1420
1496
  };
1421
1497
  var ProverOutput_instance;
@@ -1439,15 +1515,15 @@ function headlessVersion() {
1439
1515
  }
1440
1516
  function createHeadlessTracker(options) {
1441
1517
  _init_properties_HeadlessApi_kt__cjiogh();
1442
- return create(Companion_getInstance_11().qcn(options), null, null, null);
1518
+ return create(Companion_getInstance_11().sco(options), null, null, null);
1443
1519
  }
1444
1520
  function start(handle) {
1445
1521
  _init_properties_HeadlessApi_kt__cjiogh();
1446
1522
  var entry = entryOf(handle);
1447
- if (entry.ucn_1)
1523
+ if (entry.wco_1)
1448
1524
  return Unit_instance;
1449
- entry.ucn_1 = true;
1450
- entry.rcn_1.abv();
1525
+ entry.wco_1 = true;
1526
+ entry.tco_1.abv();
1451
1527
  }
1452
1528
  function cycle(handle) {
1453
1529
  _init_properties_HeadlessApi_kt__cjiogh();
@@ -1463,15 +1539,15 @@ function stop(handle) {
1463
1539
  tmp = tmp0_elvis_lhs;
1464
1540
  }
1465
1541
  var entry = tmp;
1466
- if (!entry.vcn_1) {
1467
- entry.vcn_1 = true;
1468
- var tmp1_safe_receiver = entry.tcn_1;
1542
+ if (!entry.xco_1) {
1543
+ entry.xco_1 = true;
1544
+ var tmp1_safe_receiver = entry.vco_1;
1469
1545
  if (tmp1_safe_receiver == null)
1470
1546
  null;
1471
1547
  else {
1472
1548
  tmp1_safe_receiver.j4();
1473
1549
  }
1474
- cancel(entry.scn_1);
1550
+ cancel(entry.uco_1);
1475
1551
  }
1476
1552
  return Promise.resolve(Unit_instance);
1477
1553
  }
@@ -1490,53 +1566,54 @@ function pushSteamToken(handle, accessToken) {
1490
1566
  }
1491
1567
  function trackerState(handle) {
1492
1568
  _init_properties_HeadlessApi_kt__cjiogh();
1493
- return toJs_1(entryOf(handle).rcn_1.dbu());
1569
+ return toJs_1(entryOf(handle).tco_1.dbu());
1494
1570
  }
1495
1571
  function create(options, httpEngine, background, proverPackageRoot) {
1496
1572
  _init_properties_HeadlessApi_kt__cjiogh();
1497
- var tmp0_elvis_lhs = options.fco();
1573
+ var tmp0_elvis_lhs = options.hcp();
1498
1574
  var clock = tmp0_elvis_lhs == null ? new SystemClock() : tmp0_elvis_lhs;
1499
- var tmp1_safe_receiver = options.cco_1;
1575
+ var tmp1_safe_receiver = options.ecp_1;
1500
1576
  var tmp;
1501
1577
  if (tmp1_safe_receiver == null) {
1502
1578
  tmp = null;
1503
1579
  } else {
1504
1580
  // Inline function 'kotlin.let' call
1505
- tmp = proofHost(options, tmp1_safe_receiver, Companion_instance_12.pco(proverPackageRoot, tmp1_safe_receiver.kco_1), clock);
1581
+ tmp = proofHost(options, tmp1_safe_receiver, Companion_instance_13.tcp(proverPackageRoot, tmp1_safe_receiver.mcp_1), clock);
1506
1582
  }
1507
1583
  var proofHost_0 = tmp;
1508
1584
  var scope = CoroutineScope(SupervisorJob().sk(Dispatchers_getInstance().k1a_1));
1509
- var accounts = new AccountDirectories(options.wcn_1);
1585
+ var accounts = new AccountDirectories(options.yco_1);
1510
1586
  var tmp_0 = create$lambda(accounts);
1511
- var tmp2_elvis_lhs = options.qco();
1587
+ var tmp2_elvis_lhs = options.ucp();
1512
1588
  var tmp_1 = tmp2_elvis_lhs == null ? NoOpEventObserver_instance : tmp2_elvis_lhs;
1513
1589
  var tmp_2;
1514
1590
  if (proofHost_0 == null) {
1515
1591
  tmp_2 = null;
1516
1592
  } else {
1517
1593
  // Inline function 'kotlin.let' call
1518
- tmp_2 = new HeadlessProving(proofHost_0, options.cco_1.hco_1);
1594
+ tmp_2 = new HeadlessProving(proofHost_0, options.ecp_1.jcp_1);
1519
1595
  }
1520
1596
  var platform = new HeadlessPlatform(tmp_0, clock, tmp_1, httpEngine, VOID, tmp_2);
1521
1597
  var tmp_3 = background == null ? scope : background;
1522
1598
  // Inline function 'kotlin.let' call
1523
1599
  var it = Companion_instance_1.defaults();
1524
- var tmp$ret$4 = it.copy(VOID, VOID, VOID, VOID, VOID, it.notary.copy(VOID, options.zcn_1));
1525
- var tracker = new HeadlessTracker(platform, tmp_3, options.xcn_1, tmp$ret$4, options.ycn_1);
1600
+ var tmp$ret$4 = it.copy(VOID, VOID, VOID, VOID, VOID, it.notary.copy(VOID, options.bcp_1));
1601
+ var tracker = new HeadlessTracker(platform, tmp_3, options.zco_1, tmp$ret$4, options.acp_1);
1526
1602
  var handle = Object.freeze(Object.create(null));
1527
1603
  get_trackers().set(handle, new TrackerEntry(tracker, scope, proofHost_0));
1528
1604
  return handle;
1529
1605
  }
1530
1606
  function proofHost(options, prover, files, clock) {
1531
1607
  _init_properties_HeadlessApi_kt__cjiogh();
1532
- var onLine = options.eco_1;
1533
- var onOutcome = options.dco_1;
1608
+ checkProverAssets(files.wcp_1, prover.pcp_1, prover.qcp_1);
1609
+ var onLine = options.gcp_1;
1610
+ var onOutcome = options.fcp_1;
1534
1611
  var tmp = emptyList();
1535
- var tmp_0 = new ProverSettings(options.zcn_1, prover.jco_1, files.sco_1);
1536
- var tmp_1 = new ProverLimits(prover.lco_1, prover.mco_1, prover.ico_1);
1612
+ var tmp_0 = new ProverSettings(options.bcp_1, prover.lcp_1, files.wcp_1, VOID, VOID, prover.pcp_1, prover.qcp_1);
1613
+ var tmp_1 = new ProverLimits(prover.ncp_1, prover.ocp_1, prover.kcp_1);
1537
1614
  var tmp_2 = proofHost$lambda(onLine);
1538
1615
  var tmp_3 = proofHost$lambda_0(onLine);
1539
- return new ForkedProofHost(files.rco_1, tmp, tmp_0, clock, tmp_1, VOID, VOID, tmp_2, tmp_3, proofHost$lambda_1(onOutcome));
1616
+ return new ForkedProofHost(files.vcp_1, tmp, tmp_0, clock, tmp_1, VOID, VOID, tmp_2, tmp_3, proofHost$lambda_1(onOutcome));
1540
1617
  }
1541
1618
  function proofOutcome(dealId, failure) {
1542
1619
  _init_properties_HeadlessApi_kt__cjiogh();
@@ -1547,17 +1624,17 @@ function proofOutcome(dealId, failure) {
1547
1624
  tmp = null;
1548
1625
  } else {
1549
1626
  // Inline function 'kotlin.let' call
1550
- tmp = JSON.parse(ProofOutcomeJson_getInstance().hcl(failure));
1627
+ tmp = JSON.parse(ProofOutcomeJson_getInstance().hcm(failure));
1551
1628
  }
1552
1629
  o.failure = tmp;
1553
1630
  return o;
1554
1631
  }
1555
1632
  function TrackerEntry(tracker, scope, proofHost) {
1556
- this.rcn_1 = tracker;
1557
- this.scn_1 = scope;
1558
- this.tcn_1 = proofHost;
1559
- this.ucn_1 = false;
1560
- this.vcn_1 = false;
1633
+ this.tco_1 = tracker;
1634
+ this.uco_1 = scope;
1635
+ this.vco_1 = proofHost;
1636
+ this.wco_1 = false;
1637
+ this.xco_1 = false;
1561
1638
  }
1562
1639
  function lookup(handle) {
1563
1640
  _init_properties_HeadlessApi_kt__cjiogh();
@@ -1574,9 +1651,9 @@ function entryOf(handle) {
1574
1651
  }
1575
1652
  var entry = tmp;
1576
1653
  // Inline function 'kotlin.check' call
1577
- if (!!entry.vcn_1) {
1654
+ if (!!entry.xco_1) {
1578
1655
  var message = 'tracker stopped';
1579
- throw IllegalStateException_init_$Create$(toString_0(message));
1656
+ throw IllegalStateException_init_$Create$(toString(message));
1580
1657
  }
1581
1658
  return entry;
1582
1659
  }
@@ -1601,19 +1678,19 @@ function call(handle, block) {
1601
1678
  }
1602
1679
  }
1603
1680
  var entry = tmp;
1604
- return promise_0(entry.scn_1, VOID, VOID, call$slambda_0(block, entry, null));
1681
+ return promise_0(entry.uco_1, VOID, VOID, call$slambda_0(block, entry, null));
1605
1682
  }
1606
1683
  function cycle$slambda(resultContinuation) {
1607
1684
  CoroutineImpl.call(this, resultContinuation);
1608
1685
  }
1609
- protoOf(cycle$slambda).ccp = function ($this$call, $completion) {
1610
- var tmp = this.dcp($this$call, $completion);
1686
+ protoOf(cycle$slambda).gcq = function ($this$call, $completion) {
1687
+ var tmp = this.hcq($this$call, $completion);
1611
1688
  tmp.k9_1 = Unit_instance;
1612
1689
  tmp.l9_1 = null;
1613
1690
  return tmp.q9();
1614
1691
  };
1615
1692
  protoOf(cycle$slambda).da = function (p1, $completion) {
1616
- return this.ccp(p1 instanceof TrackerEntry ? p1 : THROW_CCE(), $completion);
1693
+ return this.gcq(p1 instanceof TrackerEntry ? p1 : THROW_CCE(), $completion);
1617
1694
  };
1618
1695
  protoOf(cycle$slambda).q9 = function () {
1619
1696
  var suspendResult = this.k9_1;
@@ -1624,7 +1701,7 @@ protoOf(cycle$slambda).q9 = function () {
1624
1701
  case 0:
1625
1702
  this.j9_1 = 2;
1626
1703
  this.i9_1 = 1;
1627
- suspendResult = this.bcp_1.rcn_1.ubp(this);
1704
+ suspendResult = this.fcq_1.tco_1.ubp(this);
1628
1705
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1629
1706
  return suspendResult;
1630
1707
  }
@@ -1646,30 +1723,30 @@ protoOf(cycle$slambda).q9 = function () {
1646
1723
  }
1647
1724
  while (true);
1648
1725
  };
1649
- protoOf(cycle$slambda).dcp = function ($this$call, completion) {
1726
+ protoOf(cycle$slambda).hcq = function ($this$call, completion) {
1650
1727
  var i = new cycle$slambda(completion);
1651
- i.bcp_1 = $this$call;
1728
+ i.fcq_1 = $this$call;
1652
1729
  return i;
1653
1730
  };
1654
1731
  function cycle$slambda_0(resultContinuation) {
1655
1732
  var i = new cycle$slambda(resultContinuation);
1656
1733
  return constructCallableReference(function ($this$call, $completion) {
1657
- return i.ccp($this$call, $completion);
1734
+ return i.gcq($this$call, $completion);
1658
1735
  }, 1);
1659
1736
  }
1660
1737
  function pushTradingApiKey$slambda($publicKey, $secretKey, resultContinuation) {
1661
- this.mcp_1 = $publicKey;
1662
- this.ncp_1 = $secretKey;
1738
+ this.qcq_1 = $publicKey;
1739
+ this.rcq_1 = $secretKey;
1663
1740
  CoroutineImpl.call(this, resultContinuation);
1664
1741
  }
1665
- protoOf(pushTradingApiKey$slambda).pcp = function ($this$call, $completion) {
1666
- var tmp = this.dcp($this$call, $completion);
1742
+ protoOf(pushTradingApiKey$slambda).tcq = function ($this$call, $completion) {
1743
+ var tmp = this.hcq($this$call, $completion);
1667
1744
  tmp.k9_1 = Unit_instance;
1668
1745
  tmp.l9_1 = null;
1669
1746
  return tmp.q9();
1670
1747
  };
1671
1748
  protoOf(pushTradingApiKey$slambda).da = function (p1, $completion) {
1672
- return this.pcp(p1 instanceof TrackerEntry ? p1 : THROW_CCE(), $completion);
1749
+ return this.tcq(p1 instanceof TrackerEntry ? p1 : THROW_CCE(), $completion);
1673
1750
  };
1674
1751
  protoOf(pushTradingApiKey$slambda).q9 = function () {
1675
1752
  var suspendResult = this.k9_1;
@@ -1680,7 +1757,7 @@ protoOf(pushTradingApiKey$slambda).q9 = function () {
1680
1757
  case 0:
1681
1758
  this.j9_1 = 2;
1682
1759
  this.i9_1 = 1;
1683
- suspendResult = this.ocp_1.rcn_1.bbv(this.mcp_1, this.ncp_1, this);
1760
+ suspendResult = this.scq_1.tco_1.bbv(this.qcq_1, this.rcq_1, this);
1684
1761
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1685
1762
  return suspendResult;
1686
1763
  }
@@ -1690,17 +1767,17 @@ protoOf(pushTradingApiKey$slambda).q9 = function () {
1690
1767
  var push = suspendResult;
1691
1768
  var tmp_0;
1692
1769
  if (push instanceof Held) {
1693
- tmp_0 = !push.l83_1.equals(KeyChange_SAME_getInstance());
1770
+ tmp_0 = !push.i83_1.equals(KeyChange_SAME_getInstance());
1694
1771
  } else {
1695
1772
  tmp_0 = false;
1696
1773
  }
1697
1774
 
1698
1775
  if (tmp_0) {
1699
- var tmp0_safe_receiver = this.ocp_1.tcn_1;
1776
+ var tmp0_safe_receiver = this.scq_1.vco_1;
1700
1777
  if (tmp0_safe_receiver == null)
1701
1778
  null;
1702
1779
  else {
1703
- tmp0_safe_receiver.zcl();
1780
+ tmp0_safe_receiver.zcm();
1704
1781
  }
1705
1782
  }
1706
1783
 
@@ -1719,29 +1796,29 @@ protoOf(pushTradingApiKey$slambda).q9 = function () {
1719
1796
  }
1720
1797
  while (true);
1721
1798
  };
1722
- protoOf(pushTradingApiKey$slambda).dcp = function ($this$call, completion) {
1723
- var i = new pushTradingApiKey$slambda(this.mcp_1, this.ncp_1, completion);
1724
- i.ocp_1 = $this$call;
1799
+ protoOf(pushTradingApiKey$slambda).hcq = function ($this$call, completion) {
1800
+ var i = new pushTradingApiKey$slambda(this.qcq_1, this.rcq_1, completion);
1801
+ i.scq_1 = $this$call;
1725
1802
  return i;
1726
1803
  };
1727
1804
  function pushTradingApiKey$slambda_0($publicKey, $secretKey, resultContinuation) {
1728
1805
  var i = new pushTradingApiKey$slambda($publicKey, $secretKey, resultContinuation);
1729
1806
  return constructCallableReference(function ($this$call, $completion) {
1730
- return i.pcp($this$call, $completion);
1807
+ return i.tcq($this$call, $completion);
1731
1808
  }, 1);
1732
1809
  }
1733
1810
  function pushSteamToken$slambda($accessToken, resultContinuation) {
1734
- this.ycp_1 = $accessToken;
1811
+ this.ccr_1 = $accessToken;
1735
1812
  CoroutineImpl.call(this, resultContinuation);
1736
1813
  }
1737
- protoOf(pushSteamToken$slambda).pcp = function ($this$call, $completion) {
1738
- var tmp = this.dcp($this$call, $completion);
1814
+ protoOf(pushSteamToken$slambda).tcq = function ($this$call, $completion) {
1815
+ var tmp = this.hcq($this$call, $completion);
1739
1816
  tmp.k9_1 = Unit_instance;
1740
1817
  tmp.l9_1 = null;
1741
1818
  return tmp.q9();
1742
1819
  };
1743
1820
  protoOf(pushSteamToken$slambda).da = function (p1, $completion) {
1744
- return this.pcp(p1 instanceof TrackerEntry ? p1 : THROW_CCE(), $completion);
1821
+ return this.tcq(p1 instanceof TrackerEntry ? p1 : THROW_CCE(), $completion);
1745
1822
  };
1746
1823
  protoOf(pushSteamToken$slambda).q9 = function () {
1747
1824
  var suspendResult = this.k9_1;
@@ -1752,7 +1829,7 @@ protoOf(pushSteamToken$slambda).q9 = function () {
1752
1829
  case 0:
1753
1830
  this.j9_1 = 2;
1754
1831
  this.i9_1 = 1;
1755
- suspendResult = this.zcp_1.rcn_1.cbv(this.ycp_1, this);
1832
+ suspendResult = this.dcr_1.tco_1.cbv(this.ccr_1, this);
1756
1833
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1757
1834
  return suspendResult;
1758
1835
  }
@@ -1775,20 +1852,20 @@ protoOf(pushSteamToken$slambda).q9 = function () {
1775
1852
  }
1776
1853
  while (true);
1777
1854
  };
1778
- protoOf(pushSteamToken$slambda).dcp = function ($this$call, completion) {
1779
- var i = new pushSteamToken$slambda(this.ycp_1, completion);
1780
- i.zcp_1 = $this$call;
1855
+ protoOf(pushSteamToken$slambda).hcq = function ($this$call, completion) {
1856
+ var i = new pushSteamToken$slambda(this.ccr_1, completion);
1857
+ i.dcr_1 = $this$call;
1781
1858
  return i;
1782
1859
  };
1783
1860
  function pushSteamToken$slambda_0($accessToken, resultContinuation) {
1784
1861
  var i = new pushSteamToken$slambda($accessToken, resultContinuation);
1785
1862
  return constructCallableReference(function ($this$call, $completion) {
1786
- return i.pcp($this$call, $completion);
1863
+ return i.tcq($this$call, $completion);
1787
1864
  }, 1);
1788
1865
  }
1789
1866
  function create$lambda($accounts) {
1790
1867
  return function (it) {
1791
- return $accounts.ccq(_SteamId___get_value__impl__qjh21u(it.c5z_1));
1868
+ return $accounts.gcr(_SteamId___get_value__impl__qjh21u(it.v5y_1));
1792
1869
  };
1793
1870
  }
1794
1871
  function proofHost$lambda($onLine) {
@@ -1829,7 +1906,7 @@ function proofHost$lambda_0($onLine) {
1829
1906
  // Inline function 'kotlin.runCatching' call
1830
1907
  var tmp;
1831
1908
  try {
1832
- tmp0_safe_receiver('host', ProofOutcomeJson_getInstance().icl(message, warning, fields));
1909
+ tmp0_safe_receiver('host', ProofOutcomeJson_getInstance().icm(message, warning, fields));
1833
1910
  // Inline function 'kotlin.Companion.success' call
1834
1911
  tmp = _Result___init__impl__xyqfz8(Unit_instance);
1835
1912
  } catch ($p) {
@@ -1876,18 +1953,18 @@ function proofHost$lambda_1($onOutcome) {
1876
1953
  };
1877
1954
  }
1878
1955
  function call$slambda($block, $entry, resultContinuation) {
1879
- this.lcq_1 = $block;
1880
- this.mcq_1 = $entry;
1956
+ this.pcr_1 = $block;
1957
+ this.qcr_1 = $entry;
1881
1958
  CoroutineImpl.call(this, resultContinuation);
1882
1959
  }
1883
- protoOf(call$slambda).ocq = function ($this$promise, $completion) {
1960
+ protoOf(call$slambda).scr = function ($this$promise, $completion) {
1884
1961
  var tmp = this.x1o($this$promise, $completion);
1885
1962
  tmp.k9_1 = Unit_instance;
1886
1963
  tmp.l9_1 = null;
1887
1964
  return tmp.q9();
1888
1965
  };
1889
1966
  protoOf(call$slambda).da = function (p1, $completion) {
1890
- return this.ocq((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
1967
+ return this.scr((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
1891
1968
  };
1892
1969
  protoOf(call$slambda).q9 = function () {
1893
1970
  var suspendResult = this.k9_1;
@@ -1898,7 +1975,7 @@ protoOf(call$slambda).q9 = function () {
1898
1975
  case 0:
1899
1976
  this.j9_1 = 2;
1900
1977
  this.i9_1 = 1;
1901
- suspendResult = this.lcq_1(this.mcq_1, this);
1978
+ suspendResult = this.pcr_1(this.qcr_1, this);
1902
1979
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1903
1980
  return suspendResult;
1904
1981
  }
@@ -1921,14 +1998,14 @@ protoOf(call$slambda).q9 = function () {
1921
1998
  while (true);
1922
1999
  };
1923
2000
  protoOf(call$slambda).x1o = function ($this$promise, completion) {
1924
- var i = new call$slambda(this.lcq_1, this.mcq_1, completion);
1925
- i.ncq_1 = $this$promise;
2001
+ var i = new call$slambda(this.pcr_1, this.qcr_1, completion);
2002
+ i.rcr_1 = $this$promise;
1926
2003
  return i;
1927
2004
  };
1928
2005
  function call$slambda_0($block, $entry, resultContinuation) {
1929
2006
  var i = new call$slambda($block, $entry, resultContinuation);
1930
2007
  return constructCallableReference(function ($this$promise, $completion) {
1931
- return i.ocq($this$promise, $completion);
2008
+ return i.scr($this$promise, $completion);
1932
2009
  }, 1);
1933
2010
  }
1934
2011
  var properties_initialized_HeadlessApi_kt_422n3l;
@@ -2028,7 +2105,7 @@ function camelCase(_this__u8e3s4) {
2028
2105
  // Inline function 'kotlin.js.asDynamic' call
2029
2106
  // Inline function 'kotlin.js.unsafeCast' call
2030
2107
  var tmp$ret$7 = toString_1(this_1).toUpperCase();
2031
- tmp_0 = toString_0(tmp$ret$7) + substring(item, 1);
2108
+ tmp_0 = toString(tmp$ret$7) + substring(item, 1);
2032
2109
  } else {
2033
2110
  tmp_0 = item;
2034
2111
  }
@@ -2043,7 +2120,7 @@ var properties_initialized_HeadlessConstants_kt_kpx2y;
2043
2120
  function _init_properties_HeadlessConstants_kt__7kny8s() {
2044
2121
  if (!properties_initialized_HeadlessConstants_kt_kpx2y) {
2045
2122
  properties_initialized_HeadlessConstants_kt_kpx2y = true;
2046
- REASONS = frozen([to('offerWritesDisabled', 'refused: offer writes are disabled on this client'), to('steamSessionMissing', 'not run: no usable Steam session on this client'), to('tokenExpiringDefer', 'the Steam token expires before a create could be confirmed'), to('proofTokenExpiring', 'the Steam token is too close to its expiry to start a proof'), to('noProver', ProofSkipReason_NO_PROVER_getInstance().r5v_1)]);
2123
+ REASONS = frozen([to('offerWritesDisabled', 'refused: offer writes are disabled on this client'), to('steamSessionMissing', 'not run: no usable Steam session on this client'), to('tokenExpiringDefer', 'the Steam token expires before a create could be confirmed'), to('proofTokenExpiring', 'the Steam token is too close to its expiry to start a proof'), to('noProver', ProofSkipReason_NO_PROVER_getInstance().k5v_1)]);
2047
2124
  // Inline function 'kotlin.collections.map' call
2048
2125
  var this_0 = get_entries();
2049
2126
  // Inline function 'kotlin.collections.mapTo' call
@@ -2051,7 +2128,7 @@ function _init_properties_HeadlessConstants_kt__7kny8s() {
2051
2128
  var _iterator__ex2g4s = this_0.t();
2052
2129
  while (_iterator__ex2g4s.u()) {
2053
2130
  var item = _iterator__ex2g4s.v();
2054
- var tmp$ret$2 = to(camelCase(item.z_1), item.r5u_1);
2131
+ var tmp$ret$2 = to(camelCase(item.z_1), item.k5u_1);
2055
2132
  destination.e1(tmp$ret$2);
2056
2133
  }
2057
2134
  // Inline function 'kotlin.collections.toTypedArray' call
@@ -2064,7 +2141,7 @@ function _init_properties_HeadlessConstants_kt__7kny8s() {
2064
2141
  var _iterator__ex2g4s_0 = this_1.t();
2065
2142
  while (_iterator__ex2g4s_0.u()) {
2066
2143
  var item_0 = _iterator__ex2g4s_0.v();
2067
- var tmp$ret$2_0 = to(camelCase(item_0.z_1), item_0.i5t_1);
2144
+ var tmp$ret$2_0 = to(camelCase(item_0.z_1), item_0.b5t_1);
2068
2145
  destination_0.e1(tmp$ret$2_0);
2069
2146
  }
2070
2147
  // Inline function 'kotlin.collections.toTypedArray' call
@@ -2073,20 +2150,20 @@ function _init_properties_HeadlessConstants_kt__7kny8s() {
2073
2150
  }
2074
2151
  }
2075
2152
  function safeName($this, key) {
2076
- return $this.pcn_1.qd(key) ? key : '(a key that is not an option name)';
2153
+ return $this.rco_1.qd(key) ? key : '(a key that is not an option name)';
2077
2154
  }
2078
2155
  function Companion_8() {
2079
- Companion_instance_11 = this;
2080
- this.ocn_1 = setOf(['dataDir', 'baseUrl', 'steamWrites', 'notaryUrl', 'onEvent', 'nowMs', 'prover', 'onProofOutcome', 'onProverLine']);
2081
- this.pcn_1 = Regex_init_$Create$('^[A-Za-z][A-Za-z0-9]{0,39}$');
2156
+ Companion_instance_12 = this;
2157
+ this.qco_1 = setOf(['dataDir', 'baseUrl', 'steamWrites', 'notaryUrl', 'onEvent', 'nowMs', 'prover', 'onProofOutcome', 'onProverLine']);
2158
+ this.rco_1 = Regex_init_$Create$('^[A-Za-z][A-Za-z0-9]{0,39}$');
2082
2159
  }
2083
- protoOf(Companion_8).qcn = function (options) {
2160
+ protoOf(Companion_8).sco = function (options) {
2084
2161
  // Inline function 'kotlin.require' call
2085
2162
  if (!(typeof options === 'object' && options != null)) {
2086
2163
  var message = 'options must be an object';
2087
- throw IllegalArgumentException_init_$Create$(toString_0(message));
2164
+ throw IllegalArgumentException_init_$Create$(toString(message));
2088
2165
  }
2089
- this.pcq(options, this.ocn_1, '');
2166
+ this.tcr(options, this.qco_1, '');
2090
2167
  var dataDir = options.dataDir;
2091
2168
  var tmp;
2092
2169
  if (typeof dataDir === 'string') {
@@ -2099,34 +2176,34 @@ protoOf(Companion_8).qcn = function (options) {
2099
2176
  // Inline function 'kotlin.require' call
2100
2177
  if (!tmp) {
2101
2178
  var message_0 = 'dataDir must be a non-empty string';
2102
- throw IllegalArgumentException_init_$Create$(toString_0(message_0));
2179
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
2103
2180
  }
2104
- var tmp0_elvis_lhs = this.qcq(options.baseUrl, 'baseUrl', 'string');
2181
+ var tmp0_elvis_lhs = this.ucr(options.baseUrl, 'baseUrl', 'string');
2105
2182
  var baseUrl = tmp0_elvis_lhs == null ? 'https://api.dmarket.com' : tmp0_elvis_lhs;
2106
2183
  // Inline function 'kotlin.require' call
2107
2184
  if (!(startsWith(baseUrl, 'https://') || startsWith(baseUrl, 'http://'))) {
2108
2185
  var message_1 = 'baseUrl must be an http:// or https:// URL';
2109
- throw IllegalArgumentException_init_$Create$(toString_0(message_1));
2186
+ throw IllegalArgumentException_init_$Create$(toString(message_1));
2110
2187
  }
2111
- var tmp1_elvis_lhs = this.qcq(options.notaryUrl, 'notaryUrl', 'string');
2188
+ var tmp1_elvis_lhs = this.ucr(options.notaryUrl, 'notaryUrl', 'string');
2112
2189
  var notaryUrl = tmp1_elvis_lhs == null ? 'wss://api.dmarket.com/provenance/v1/' : tmp1_elvis_lhs;
2113
2190
  // Inline function 'kotlin.require' call
2114
2191
  if (!(startsWith(notaryUrl, 'wss://') || startsWith(notaryUrl, 'ws://'))) {
2115
2192
  var message_2 = 'notaryUrl must be a ws:// or wss:// URL';
2116
- throw IllegalArgumentException_init_$Create$(toString_0(message_2));
2193
+ throw IllegalArgumentException_init_$Create$(toString(message_2));
2117
2194
  }
2118
- var tmp2_elvis_lhs = this.qcq(options.steamWrites, 'steamWrites', 'boolean');
2195
+ var tmp2_elvis_lhs = this.ucr(options.steamWrites, 'steamWrites', 'boolean');
2119
2196
  var steamWrites = tmp2_elvis_lhs == null ? true : tmp2_elvis_lhs;
2120
- var onEvent = this.qcq(options.onEvent, 'onEvent', 'function');
2121
- var nowMs = this.qcq(options.nowMs, 'nowMs', 'function');
2122
- var proverOption = this.qcq(options.prover, 'prover', 'object');
2123
- var prover = proverOption != null ? Companion_getInstance_13().qcn(proverOption) : null;
2124
- var onProofOutcome = this.qcq(options.onProofOutcome, 'onProofOutcome', 'function');
2125
- var onProverLine = this.qcq(options.onProverLine, 'onProverLine', 'function');
2126
- var tmp4_elvis_lhs = prover == null ? null : prover.gco_1;
2197
+ var onEvent = this.ucr(options.onEvent, 'onEvent', 'function');
2198
+ var nowMs = this.ucr(options.nowMs, 'nowMs', 'function');
2199
+ var proverOption = this.ucr(options.prover, 'prover', 'object');
2200
+ var prover = proverOption != null ? Companion_getInstance_13().sco(proverOption) : null;
2201
+ var onProofOutcome = this.ucr(options.onProofOutcome, 'onProofOutcome', 'function');
2202
+ var onProverLine = this.ucr(options.onProverLine, 'onProverLine', 'function');
2203
+ var tmp4_elvis_lhs = prover == null ? null : prover.icp_1;
2127
2204
  return new HeadlessOptions(dataDir, baseUrl, steamWrites, tmp4_elvis_lhs == null ? notaryUrl : tmp4_elvis_lhs, onEvent, nowMs, prover, onProofOutcome, onProverLine);
2128
2205
  };
2129
- protoOf(Companion_8).pcq = function (o, known, prefix) {
2206
+ protoOf(Companion_8).tcr = function (o, known, prefix) {
2130
2207
  // Inline function 'kotlin.js.unsafeCast' call
2131
2208
  var keys = Object.keys(o);
2132
2209
  var tmp$ret$1;
@@ -2152,49 +2229,49 @@ protoOf(Companion_8).pcq = function (o, known, prefix) {
2152
2229
  throw IllegalArgumentException_init_$Create$('unknown option: ' + prefix + safeName(Companion_getInstance_11(), tmp0_safe_receiver));
2153
2230
  }
2154
2231
  };
2155
- protoOf(Companion_8).qcq = function (value, name, type) {
2232
+ protoOf(Companion_8).ucr = function (value, name, type) {
2156
2233
  if (value == null)
2157
2234
  return null;
2158
2235
  // Inline function 'kotlin.require' call
2159
2236
  if (!(typeof value === type)) {
2160
2237
  var message = name + ' must be ' + (type === 'object' ? 'an' : 'a') + ' ' + type;
2161
- throw IllegalArgumentException_init_$Create$(toString_0(message));
2238
+ throw IllegalArgumentException_init_$Create$(toString(message));
2162
2239
  }
2163
2240
  // Inline function 'kotlin.js.unsafeCast' call
2164
2241
  return value;
2165
2242
  };
2166
- var Companion_instance_11;
2243
+ var Companion_instance_12;
2167
2244
  function Companion_getInstance_11() {
2168
- if (Companion_instance_11 == null)
2245
+ if (Companion_instance_12 == null)
2169
2246
  new Companion_8();
2170
- return Companion_instance_11;
2247
+ return Companion_instance_12;
2171
2248
  }
2172
2249
  function HeadlessOptions$clock$1($now) {
2173
- this.tcq_1 = $now;
2250
+ this.xcr_1 = $now;
2174
2251
  }
2175
2252
  protoOf(HeadlessOptions$clock$1).rp = function () {
2176
- return Companion_getInstance_0().df(numberToLong(this.tcq_1()));
2253
+ return Companion_getInstance_0().df(numberToLong(this.xcr_1()));
2177
2254
  };
2178
2255
  function HeadlessOptions$eventObserver$1($callback) {
2179
- this.ucq_1 = $callback;
2256
+ this.ycr_1 = $callback;
2180
2257
  }
2181
- protoOf(HeadlessOptions$eventObserver$1).a6e = function (event, $completion) {
2182
- return this.ucq_1(toWireJson(event));
2258
+ protoOf(HeadlessOptions$eventObserver$1).x6d = function (event, $completion) {
2259
+ return this.ycr_1(toWireJson(event));
2183
2260
  };
2184
2261
  function HeadlessOptions(dataDir, baseUrl, steamWrites, notaryUrl, onEvent, nowMs, prover, onProofOutcome, onProverLine) {
2185
2262
  Companion_getInstance_11();
2186
- this.wcn_1 = dataDir;
2187
- this.xcn_1 = baseUrl;
2188
- this.ycn_1 = steamWrites;
2189
- this.zcn_1 = notaryUrl;
2190
- this.aco_1 = onEvent;
2191
- this.bco_1 = nowMs;
2192
- this.cco_1 = prover;
2193
- this.dco_1 = onProofOutcome;
2194
- this.eco_1 = onProverLine;
2195
- }
2196
- protoOf(HeadlessOptions).fco = function () {
2197
- var tmp0_safe_receiver = this.bco_1;
2263
+ this.yco_1 = dataDir;
2264
+ this.zco_1 = baseUrl;
2265
+ this.acp_1 = steamWrites;
2266
+ this.bcp_1 = notaryUrl;
2267
+ this.ccp_1 = onEvent;
2268
+ this.dcp_1 = nowMs;
2269
+ this.ecp_1 = prover;
2270
+ this.fcp_1 = onProofOutcome;
2271
+ this.gcp_1 = onProverLine;
2272
+ }
2273
+ protoOf(HeadlessOptions).hcp = function () {
2274
+ var tmp0_safe_receiver = this.dcp_1;
2198
2275
  var tmp;
2199
2276
  if (tmp0_safe_receiver == null) {
2200
2277
  tmp = null;
@@ -2204,8 +2281,8 @@ protoOf(HeadlessOptions).fco = function () {
2204
2281
  }
2205
2282
  return tmp;
2206
2283
  };
2207
- protoOf(HeadlessOptions).qco = function () {
2208
- var tmp0_safe_receiver = this.aco_1;
2284
+ protoOf(HeadlessOptions).ucp = function () {
2285
+ var tmp0_safe_receiver = this.ccp_1;
2209
2286
  var tmp;
2210
2287
  if (tmp0_safe_receiver == null) {
2211
2288
  tmp = null;
@@ -2226,19 +2303,19 @@ function toJs(_this__u8e3s4) {
2226
2303
  var o = plainObject();
2227
2304
  if (_this__u8e3s4 instanceof Held) {
2228
2305
  o.type = 'held';
2229
- o.publicKey = _this__u8e3s4.k83_1;
2230
- o.change = _this__u8e3s4.l83_1.z_1;
2306
+ o.publicKey = _this__u8e3s4.h83_1;
2307
+ o.change = _this__u8e3s4.i83_1.z_1;
2231
2308
  } else {
2232
2309
  if (_this__u8e3s4 instanceof Invalid) {
2233
2310
  o.type = 'invalid';
2234
- o.reason = _this__u8e3s4.m83_1;
2311
+ o.reason = _this__u8e3s4.j83_1;
2235
2312
  } else {
2236
2313
  if (_this__u8e3s4 instanceof AccountChanged) {
2237
2314
  o.type = 'accountChanged';
2238
- o.publicKey = _this__u8e3s4.n83_1;
2239
- o.heldPublicKey = _this__u8e3s4.o83_1;
2240
- o.linkedSteamId = _SteamId___get_value__impl__qjh21u(_this__u8e3s4.p83_1);
2241
- var tmp1_safe_receiver = _this__u8e3s4.q83_1;
2315
+ o.publicKey = _this__u8e3s4.k83_1;
2316
+ o.heldPublicKey = _this__u8e3s4.l83_1;
2317
+ o.linkedSteamId = _SteamId___get_value__impl__qjh21u(_this__u8e3s4.m83_1);
2318
+ var tmp1_safe_receiver = _this__u8e3s4.n83_1;
2242
2319
  var tmp;
2243
2320
  var tmp_0 = tmp1_safe_receiver;
2244
2321
  if ((tmp_0 == null ? null : new SteamId(tmp_0)) == null) {
@@ -2250,8 +2327,8 @@ function toJs(_this__u8e3s4) {
2250
2327
  } else {
2251
2328
  if (_this__u8e3s4 instanceof Unverified) {
2252
2329
  o.type = 'unverified';
2253
- o.publicKey = _this__u8e3s4.r83_1;
2254
- o.reason = _this__u8e3s4.s83_1;
2330
+ o.publicKey = _this__u8e3s4.o83_1;
2331
+ o.reason = _this__u8e3s4.p83_1;
2255
2332
  } else {
2256
2333
  noWhenBranchMatchedException();
2257
2334
  }
@@ -2264,13 +2341,13 @@ function toJs_0(_this__u8e3s4) {
2264
2341
  var o = plainObject();
2265
2342
  if (_this__u8e3s4 instanceof Held_0) {
2266
2343
  o.type = 'held';
2267
- o.steamId = _SteamId___get_value__impl__qjh21u(_this__u8e3s4.a89_1);
2268
- o.expiresAtMs = epochMs(_this__u8e3s4.b89_1);
2344
+ o.steamId = _SteamId___get_value__impl__qjh21u(_this__u8e3s4.x88_1);
2345
+ o.expiresAtMs = epochMs(_this__u8e3s4.y88_1);
2269
2346
  } else {
2270
2347
  if (_this__u8e3s4 instanceof WrongAccount) {
2271
2348
  o.type = 'wrongAccount';
2272
- o.tokenSteamId = _SteamId___get_value__impl__qjh21u(_this__u8e3s4.c89_1);
2273
- var tmp1_safe_receiver = _this__u8e3s4.d89_1;
2349
+ o.tokenSteamId = _SteamId___get_value__impl__qjh21u(_this__u8e3s4.z88_1);
2350
+ var tmp1_safe_receiver = _this__u8e3s4.a89_1;
2274
2351
  var tmp;
2275
2352
  var tmp_0 = tmp1_safe_receiver;
2276
2353
  if ((tmp_0 == null ? null : new SteamId(tmp_0)) == null) {
@@ -2282,7 +2359,7 @@ function toJs_0(_this__u8e3s4) {
2282
2359
  } else {
2283
2360
  if (_this__u8e3s4 instanceof Invalid_0) {
2284
2361
  o.type = 'invalid';
2285
- o.reason = _this__u8e3s4.e89_1;
2362
+ o.reason = _this__u8e3s4.b89_1;
2286
2363
  } else {
2287
2364
  noWhenBranchMatchedException();
2288
2365
  }
@@ -2320,7 +2397,7 @@ function toJs_1(_this__u8e3s4) {
2320
2397
  var _iterator__ex2g4s = this_0.t();
2321
2398
  while (_iterator__ex2g4s.u()) {
2322
2399
  var item = _iterator__ex2g4s.v();
2323
- var it = item.j5t_1;
2400
+ var it = item.c5t_1;
2324
2401
  var tmp$ret$2 = _DealId___get_value__impl__ww6eoe(it);
2325
2402
  destination.e1(tmp$ret$2);
2326
2403
  }
@@ -2347,7 +2424,7 @@ function toJs_1(_this__u8e3s4) {
2347
2424
  while (_iterator__ex2g4s_0.u()) {
2348
2425
  var element = _iterator__ex2g4s_0.v();
2349
2426
  // Inline function 'kotlin.collections.component1' call
2350
- var deal = element.o1().j5t_1;
2427
+ var deal = element.o1().c5t_1;
2351
2428
  // Inline function 'kotlin.collections.component2' call
2352
2429
  var deadline = element.p1();
2353
2430
  deadlines[_DealId___get_value__impl__ww6eoe(deal)] = toNumber(deadline.jq());
@@ -2389,23 +2466,23 @@ function join_0($this, parts) {
2389
2466
  return accumulator;
2390
2467
  }
2391
2468
  function Companion_9() {
2392
- this.nco_1 = '@dmarket/p2p-tracker-headless';
2393
- this.oco_1 = 'prover-child.mjs';
2469
+ this.rcp_1 = '@dmarket/p2p-tracker-headless';
2470
+ this.scp_1 = 'prover-child.mjs';
2394
2471
  }
2395
- protoOf(Companion_9).pco = function (packageRoot, assetsDir) {
2472
+ protoOf(Companion_9).tcp = function (packageRoot, assetsDir) {
2396
2473
  var tmp1_elvis_lhs = packageRoot == null ? installedRoot(this) : packageRoot;
2397
2474
  var tmp;
2398
2475
  if (tmp1_elvis_lhs == null) {
2399
2476
  // Inline function 'kotlin.error' call
2400
2477
  var message = 'prover files not found: @dmarket/p2p-tracker-headless/package.json cannot be resolved';
2401
- throw IllegalStateException_init_$Create$(toString_0(message));
2478
+ throw IllegalStateException_init_$Create$(toString(message));
2402
2479
  } else {
2403
2480
  tmp = tmp1_elvis_lhs;
2404
2481
  }
2405
2482
  var root = tmp;
2406
2483
  var tmp_0 = join_0(this, [root, 'prover-child.mjs']);
2407
2484
  var files = new ProverFiles(tmp_0, assetsDir == null ? root : assetsDir);
2408
- var required = listOf([files.rco_1, join_0(this, [files.sco_1, 'pkg', 'client_wasm_bg.wasm']), join_0(this, [files.sco_1, 'transport', 'dist', 'node.js'])]);
2485
+ var required = listOf([files.vcp_1, join_0(this, [files.wcp_1, 'pkg', 'client_wasm_bg.wasm']), join_0(this, [files.wcp_1, 'transport', 'dist', 'node.js'])]);
2409
2486
  var tmp$ret$1;
2410
2487
  $l$block: {
2411
2488
  // Inline function 'kotlin.collections.firstOrNull' call
@@ -2427,20 +2504,20 @@ protoOf(Companion_9).pco = function (packageRoot, assetsDir) {
2427
2504
  // Inline function 'kotlin.let' call
2428
2505
  // Inline function 'kotlin.error' call
2429
2506
  var message_0 = 'prover files not found: ' + tmp3_safe_receiver + ' is missing';
2430
- throw IllegalStateException_init_$Create$(toString_0(message_0));
2507
+ throw IllegalStateException_init_$Create$(toString(message_0));
2431
2508
  }
2432
2509
  return files;
2433
2510
  };
2434
- var Companion_instance_12;
2511
+ var Companion_instance_13;
2435
2512
  function Companion_getInstance_12() {
2436
- return Companion_instance_12;
2513
+ return Companion_instance_13;
2437
2514
  }
2438
2515
  function ProverFiles(script, assetsDir) {
2439
- this.rco_1 = script;
2440
- this.sco_1 = assetsDir;
2516
+ this.vcp_1 = script;
2517
+ this.wcp_1 = assetsDir;
2441
2518
  }
2442
2519
  function whole($this, value, name, range) {
2443
- var tmp0_elvis_lhs = Companion_getInstance_11().qcq(value, name, 'number');
2520
+ var tmp0_elvis_lhs = Companion_getInstance_11().ucr(value, name, 'number');
2444
2521
  var tmp;
2445
2522
  if (tmp0_elvis_lhs == null) {
2446
2523
  return null;
@@ -2461,12 +2538,12 @@ function whole($this, value, name, range) {
2461
2538
  // Inline function 'kotlin.require' call
2462
2539
  if (!tmp_0) {
2463
2540
  var message = name + ' must be a whole number in ' + range.s1_1 + '..' + range.t1_1;
2464
- throw IllegalArgumentException_init_$Create$(toString_0(message));
2541
+ throw IllegalArgumentException_init_$Create$(toString(message));
2465
2542
  }
2466
2543
  return numberToInt(number);
2467
2544
  }
2468
2545
  function milliseconds($this, value, name) {
2469
- var tmp0_elvis_lhs = Companion_getInstance_11().qcq(value, name, 'number');
2546
+ var tmp0_elvis_lhs = Companion_getInstance_11().ucr(value, name, 'number');
2470
2547
  var tmp;
2471
2548
  if (tmp0_elvis_lhs == null) {
2472
2549
  return null;
@@ -2484,7 +2561,7 @@ function milliseconds($this, value, name) {
2484
2561
  // Inline function 'kotlin.require' call
2485
2562
  if (!tmp_0) {
2486
2563
  var message = name + ' must be a positive whole number';
2487
- throw IllegalArgumentException_init_$Create$(toString_0(message));
2564
+ throw IllegalArgumentException_init_$Create$(toString(message));
2488
2565
  }
2489
2566
  Companion_getInstance();
2490
2567
  // Inline function 'kotlin.time.Companion.milliseconds' call
@@ -2492,25 +2569,25 @@ function milliseconds($this, value, name) {
2492
2569
  return toDuration_0(this_0, DurationUnit_MILLISECONDS_getInstance());
2493
2570
  }
2494
2571
  function Companion_10() {
2495
- Companion_instance_13 = this;
2496
- this.rcq_1 = setOf(['notaryUrl', 'maxConcurrency', 'proofsPerChild', 'threadCount', 'assetsDir', 'connectDeadlineMs', 'sessionDeadlineMs']);
2497
- this.scq_1 = new ProverLimits();
2572
+ Companion_instance_14 = this;
2573
+ this.vcr_1 = setOf(['notaryUrl', 'mode', 'transport', 'maxConcurrency', 'proofsPerChild', 'threadCount', 'assetsDir', 'connectDeadlineMs', 'sessionDeadlineMs']);
2574
+ this.wcr_1 = new ProverLimits();
2498
2575
  }
2499
- protoOf(Companion_10).qcn = function (prover) {
2576
+ protoOf(Companion_10).sco = function (prover) {
2500
2577
  var tmp = Array.isArray(prover);
2501
2578
  // Inline function 'kotlin.require' call
2502
2579
  if (!!((!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE())) {
2503
2580
  var message = 'prover must be an object';
2504
- throw IllegalArgumentException_init_$Create$(toString_0(message));
2581
+ throw IllegalArgumentException_init_$Create$(toString(message));
2505
2582
  }
2506
- Companion_getInstance_11().pcq(prover, this.rcq_1, 'prover.');
2507
- var notaryUrl = Companion_getInstance_11().qcq(prover.notaryUrl, 'prover.notaryUrl', 'string');
2583
+ Companion_getInstance_11().tcr(prover, this.vcr_1, 'prover.');
2584
+ var notaryUrl = Companion_getInstance_11().ucr(prover.notaryUrl, 'prover.notaryUrl', 'string');
2508
2585
  // Inline function 'kotlin.require' call
2509
2586
  if (!(notaryUrl == null || startsWith(notaryUrl, 'wss://') || startsWith(notaryUrl, 'ws://'))) {
2510
2587
  var message_0 = 'prover.notaryUrl must be a ws:// or wss:// URL';
2511
- throw IllegalArgumentException_init_$Create$(toString_0(message_0));
2588
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
2512
2589
  }
2513
- var assetsDir = Companion_getInstance_11().qcq(prover.assetsDir, 'prover.assetsDir', 'string');
2590
+ var assetsDir = Companion_getInstance_11().ucr(prover.assetsDir, 'prover.assetsDir', 'string');
2514
2591
  var tmp_0;
2515
2592
  if (assetsDir == null) {
2516
2593
  tmp_0 = true;
@@ -2521,79 +2598,97 @@ protoOf(Companion_10).qcn = function (prover) {
2521
2598
  // Inline function 'kotlin.require' call
2522
2599
  if (!tmp_0) {
2523
2600
  var message_1 = 'prover.assetsDir must be a non-empty string';
2524
- throw IllegalArgumentException_init_$Create$(toString_0(message_1));
2601
+ throw IllegalArgumentException_init_$Create$(toString(message_1));
2525
2602
  }
2526
- var tmp0_elvis_lhs = whole(this, prover.maxConcurrency, 'prover.maxConcurrency', numberRangeToNumber(1, 2));
2527
- var tmp_1 = tmp0_elvis_lhs == null ? 1 : tmp0_elvis_lhs;
2528
- var tmp1_elvis_lhs = whole(this, prover.proofsPerChild, 'prover.proofsPerChild', numberRangeToNumber(1, 5));
2529
- var tmp_2 = tmp1_elvis_lhs == null ? 1 : tmp1_elvis_lhs;
2530
- var tmp2_elvis_lhs = whole(this, prover.threadCount, 'prover.threadCount', numberRangeToNumber(1, 16));
2531
- var tmp_3 = tmp2_elvis_lhs == null ? 2 : tmp2_elvis_lhs;
2532
- var tmp3_elvis_lhs = milliseconds(this, prover.connectDeadlineMs, 'prover.connectDeadlineMs');
2533
- var tmp_4;
2534
- var tmp_5 = tmp3_elvis_lhs;
2535
- if ((tmp_5 == null ? null : new Duration(tmp_5)) == null) {
2536
- tmp_4 = this.scq_1.vcq_1;
2603
+ var tmp_1 = Companion_instance_2;
2604
+ var tmp0_elvis_lhs = Companion_getInstance_11().ucr(prover.mode, 'prover.mode', 'string');
2605
+ var mode = tmp_1.k5l(tmp0_elvis_lhs == null ? 'mpc' : tmp0_elvis_lhs);
2606
+ var tmp1_elvis_lhs = Companion_getInstance_11().ucr(prover.transport, 'prover.transport', 'string');
2607
+ var transport = tmp1_elvis_lhs == null ? 'direct' : tmp1_elvis_lhs;
2608
+ // Inline function 'kotlin.require' call
2609
+ if (!(transport === 'direct' || transport === 'egress')) {
2610
+ var message_2 = 'prover.transport must be direct or egress';
2611
+ throw IllegalArgumentException_init_$Create$(toString(message_2));
2612
+ }
2613
+ // Inline function 'kotlin.require' call
2614
+ if (!(!(transport === 'egress') || mode.equals(IssuanceMode_PROXY_getInstance()))) {
2615
+ var message_3 = 'prover.transport egress requires mode proxy';
2616
+ throw IllegalArgumentException_init_$Create$(toString(message_3));
2617
+ }
2618
+ var tmp2_elvis_lhs = whole(this, prover.maxConcurrency, 'prover.maxConcurrency', numberRangeToNumber(1, 2));
2619
+ var tmp7_maxConcurrency = tmp2_elvis_lhs == null ? 1 : tmp2_elvis_lhs;
2620
+ var tmp3_elvis_lhs = whole(this, prover.proofsPerChild, 'prover.proofsPerChild', numberRangeToNumber(1, 5));
2621
+ var tmp8_proofsPerChild = tmp3_elvis_lhs == null ? 1 : tmp3_elvis_lhs;
2622
+ var tmp4_elvis_lhs = whole(this, prover.threadCount, 'prover.threadCount', numberRangeToNumber(1, 16));
2623
+ var tmp9_threadCount = tmp4_elvis_lhs == null ? 2 : tmp4_elvis_lhs;
2624
+ var tmp5_elvis_lhs = milliseconds(this, prover.connectDeadlineMs, 'prover.connectDeadlineMs');
2625
+ var tmp_2;
2626
+ var tmp_3 = tmp5_elvis_lhs;
2627
+ if ((tmp_3 == null ? null : new Duration(tmp_3)) == null) {
2628
+ tmp_2 = this.wcr_1.zcr_1;
2537
2629
  } else {
2538
- tmp_4 = tmp3_elvis_lhs;
2630
+ tmp_2 = tmp5_elvis_lhs;
2539
2631
  }
2540
- var tmp_6 = tmp_4;
2541
- var tmp4_elvis_lhs = milliseconds(this, prover.sessionDeadlineMs, 'prover.sessionDeadlineMs');
2542
- var tmp_7;
2543
- var tmp_8 = tmp4_elvis_lhs;
2544
- if ((tmp_8 == null ? null : new Duration(tmp_8)) == null) {
2545
- tmp_7 = this.scq_1.wcq_1;
2632
+ var tmp10_connectDeadline = tmp_2;
2633
+ var tmp6_elvis_lhs = milliseconds(this, prover.sessionDeadlineMs, 'prover.sessionDeadlineMs');
2634
+ var tmp_4;
2635
+ var tmp_5 = tmp6_elvis_lhs;
2636
+ if ((tmp_5 == null ? null : new Duration(tmp_5)) == null) {
2637
+ tmp_4 = this.wcr_1.acs_1;
2546
2638
  } else {
2547
- tmp_7 = tmp4_elvis_lhs;
2639
+ tmp_4 = tmp6_elvis_lhs;
2548
2640
  }
2549
- return new ProverOptions(notaryUrl, tmp_1, tmp_2, tmp_3, assetsDir, tmp_6, tmp_7);
2641
+ var tmp11_sessionDeadline = tmp_4;
2642
+ return new ProverOptions(notaryUrl, tmp7_maxConcurrency, tmp8_proofsPerChild, tmp9_threadCount, assetsDir, tmp10_connectDeadline, tmp11_sessionDeadline, mode, transport);
2550
2643
  };
2551
- var Companion_instance_13;
2644
+ var Companion_instance_14;
2552
2645
  function Companion_getInstance_13() {
2553
- if (Companion_instance_13 == null)
2646
+ if (Companion_instance_14 == null)
2554
2647
  new Companion_10();
2555
- return Companion_instance_13;
2648
+ return Companion_instance_14;
2556
2649
  }
2557
- function ProverOptions(notaryUrl, maxConcurrency, proofsPerChild, threadCount, assetsDir, connectDeadline, sessionDeadline) {
2650
+ function ProverOptions(notaryUrl, maxConcurrency, proofsPerChild, threadCount, assetsDir, connectDeadline, sessionDeadline, mode, transport) {
2558
2651
  Companion_getInstance_13();
2559
- this.gco_1 = notaryUrl;
2560
- this.hco_1 = maxConcurrency;
2561
- this.ico_1 = proofsPerChild;
2562
- this.jco_1 = threadCount;
2563
- this.kco_1 = assetsDir;
2564
- this.lco_1 = connectDeadline;
2565
- this.mco_1 = sessionDeadline;
2652
+ this.icp_1 = notaryUrl;
2653
+ this.jcp_1 = maxConcurrency;
2654
+ this.kcp_1 = proofsPerChild;
2655
+ this.lcp_1 = threadCount;
2656
+ this.mcp_1 = assetsDir;
2657
+ this.ncp_1 = connectDeadline;
2658
+ this.ocp_1 = sessionDeadline;
2659
+ this.pcp_1 = mode;
2660
+ this.qcp_1 = transport;
2566
2661
  }
2567
2662
  function file($this, key) {
2568
2663
  // Inline function 'kotlin.require' call
2569
2664
  if (!!(key === 'steam_credential')) {
2570
2665
  var message = 'the Steam credential is never written to disk';
2571
- throw IllegalArgumentException_init_$Create$(toString_0(message));
2666
+ throw IllegalArgumentException_init_$Create$(toString(message));
2572
2667
  }
2573
2668
  // Inline function 'kotlin.require' call
2574
- if (!Companion_getInstance_14().zcq_1.qd(key)) {
2669
+ if (!Companion_getInstance_14().dcs_1.qd(key)) {
2575
2670
  var message_0 = 'storage key must be [A-Za-z0-9._-]+: ' + key;
2576
- throw IllegalArgumentException_init_$Create$(toString_0(message_0));
2671
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
2577
2672
  }
2578
- return join($this.dcr_1, key);
2673
+ return join($this.hcs_1, key);
2579
2674
  }
2580
2675
  function Companion_11() {
2581
- Companion_instance_14 = this;
2582
- this.zcq_1 = Regex_init_$Create$('^[A-Za-z0-9._-]+$');
2583
- this.acr_1 = 6;
2584
- this.bcr_1 = 448;
2585
- this.ccr_1 = 384;
2676
+ Companion_instance_15 = this;
2677
+ this.dcs_1 = Regex_init_$Create$('^[A-Za-z0-9._-]+$');
2678
+ this.ecs_1 = 6;
2679
+ this.fcs_1 = 448;
2680
+ this.gcs_1 = 384;
2586
2681
  }
2587
- var Companion_instance_14;
2682
+ var Companion_instance_15;
2588
2683
  function Companion_getInstance_14() {
2589
- if (Companion_instance_14 == null)
2684
+ if (Companion_instance_15 == null)
2590
2685
  new Companion_11();
2591
- return Companion_instance_14;
2686
+ return Companion_instance_15;
2592
2687
  }
2593
2688
  function $getCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
2594
2689
  CoroutineImpl.call(this, resultContinuation);
2595
- this.ncr_1 = _this__u8e3s4;
2596
- this.ocr_1 = key;
2690
+ this.rcs_1 = _this__u8e3s4;
2691
+ this.scs_1 = key;
2597
2692
  }
2598
2693
  protoOf($getCOROUTINE$).q9 = function () {
2599
2694
  var suspendResult = this.k9_1;
@@ -2605,14 +2700,14 @@ protoOf($getCOROUTINE$).q9 = function () {
2605
2700
  this.j9_1 = 3;
2606
2701
  this.j9_1 = 2;
2607
2702
  this.i9_1 = 1;
2608
- suspendResult = await_0(readFile(file(this.ncr_1, this.ocr_1), 'utf8'), this);
2703
+ suspendResult = await_0(readFile(file(this.rcs_1, this.scs_1), 'utf8'), this);
2609
2704
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2610
2705
  return suspendResult;
2611
2706
  }
2612
2707
 
2613
2708
  continue $sm;
2614
2709
  case 1:
2615
- this.pcr_1 = suspendResult;
2710
+ this.tcs_1 = suspendResult;
2616
2711
  this.j9_1 = 3;
2617
2712
  this.i9_1 = 4;
2618
2713
  continue $sm;
@@ -2628,7 +2723,7 @@ protoOf($getCOROUTINE$).q9 = function () {
2628
2723
  } else {
2629
2724
  throw e;
2630
2725
  }
2631
- tmp_1.pcr_1 = tmp_2;
2726
+ tmp_1.tcs_1 = tmp_2;
2632
2727
  this.i9_1 = 4;
2633
2728
  continue $sm;
2634
2729
  } else {
@@ -2639,7 +2734,7 @@ protoOf($getCOROUTINE$).q9 = function () {
2639
2734
  throw this.l9_1;
2640
2735
  case 4:
2641
2736
  this.j9_1 = 3;
2642
- return this.pcr_1;
2737
+ return this.tcs_1;
2643
2738
  }
2644
2739
  } catch ($p) {
2645
2740
  var e_0 = $p;
@@ -2654,9 +2749,9 @@ protoOf($getCOROUTINE$).q9 = function () {
2654
2749
  };
2655
2750
  function $setCOROUTINE$(_this__u8e3s4, key, value, resultContinuation) {
2656
2751
  CoroutineImpl.call(this, resultContinuation);
2657
- this.ycr_1 = _this__u8e3s4;
2658
- this.zcr_1 = key;
2659
- this.acs_1 = value;
2752
+ this.cct_1 = _this__u8e3s4;
2753
+ this.dct_1 = key;
2754
+ this.ect_1 = value;
2660
2755
  }
2661
2756
  protoOf($setCOROUTINE$).q9 = function () {
2662
2757
  var suspendResult = this.k9_1;
@@ -2666,13 +2761,13 @@ protoOf($setCOROUTINE$).q9 = function () {
2666
2761
  switch (tmp) {
2667
2762
  case 0:
2668
2763
  this.j9_1 = 5;
2669
- this.bcs_1 = file(this.ycr_1, this.zcr_1);
2670
- if (!this.ycr_1.ecr_1) {
2764
+ this.fct_1 = file(this.cct_1, this.dct_1);
2765
+ if (!this.cct_1.ics_1) {
2671
2766
  this.i9_1 = 1;
2672
2767
  var this_0 = {};
2673
2768
  this_0.recursive = true;
2674
2769
  this_0.mode = 448;
2675
- suspendResult = await_0(mkdir(this.ycr_1.dcr_1, this_0), this);
2770
+ suspendResult = await_0(mkdir(this.cct_1.hcs_1, this_0), this);
2676
2771
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2677
2772
  return suspendResult;
2678
2773
  }
@@ -2683,18 +2778,18 @@ protoOf($setCOROUTINE$).q9 = function () {
2683
2778
  }
2684
2779
 
2685
2780
  case 1:
2686
- this.ycr_1.ecr_1 = true;
2781
+ this.cct_1.ics_1 = true;
2687
2782
  this.i9_1 = 2;
2688
2783
  continue $sm;
2689
2784
  case 2:
2690
2785
  var tmp_0 = this;
2691
2786
  var tmp_1 = randomBytes(6).toString('hex');
2692
- tmp_0.ccs_1 = this.bcs_1 + '.' + ((!(tmp_1 == null) ? typeof tmp_1 === 'string' : false) ? tmp_1 : THROW_CCE()) + '.tmp';
2787
+ tmp_0.gct_1 = this.fct_1 + '.' + ((!(tmp_1 == null) ? typeof tmp_1 === 'string' : false) ? tmp_1 : THROW_CCE()) + '.tmp';
2693
2788
  this.i9_1 = 3;
2694
2789
  var this_1 = {};
2695
2790
  this_1.encoding = 'utf8';
2696
2791
  this_1.mode = 384;
2697
- suspendResult = await_0(writeFile(this.ccs_1, this.acs_1, this_1), this);
2792
+ suspendResult = await_0(writeFile(this.gct_1, this.ect_1, this_1), this);
2698
2793
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2699
2794
  return suspendResult;
2700
2795
  }
@@ -2702,7 +2797,7 @@ protoOf($setCOROUTINE$).q9 = function () {
2702
2797
  continue $sm;
2703
2798
  case 3:
2704
2799
  this.i9_1 = 4;
2705
- suspendResult = await_0(rename(this.ccs_1, this.bcs_1), this);
2800
+ suspendResult = await_0(rename(this.gct_1, this.fct_1), this);
2706
2801
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2707
2802
  return suspendResult;
2708
2803
  }
@@ -2726,8 +2821,8 @@ protoOf($setCOROUTINE$).q9 = function () {
2726
2821
  };
2727
2822
  function $removeCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
2728
2823
  CoroutineImpl.call(this, resultContinuation);
2729
- this.lcs_1 = _this__u8e3s4;
2730
- this.mcs_1 = key;
2824
+ this.pct_1 = _this__u8e3s4;
2825
+ this.qct_1 = key;
2731
2826
  }
2732
2827
  protoOf($removeCOROUTINE$).q9 = function () {
2733
2828
  var suspendResult = this.k9_1;
@@ -2739,7 +2834,7 @@ protoOf($removeCOROUTINE$).q9 = function () {
2739
2834
  this.j9_1 = 3;
2740
2835
  this.j9_1 = 2;
2741
2836
  this.i9_1 = 1;
2742
- suspendResult = await_0(unlink(file(this.lcs_1, this.mcs_1)), this);
2837
+ suspendResult = await_0(unlink(file(this.pct_1, this.qct_1)), this);
2743
2838
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2744
2839
  return suspendResult;
2745
2840
  }
@@ -2781,56 +2876,56 @@ protoOf($removeCOROUTINE$).q9 = function () {
2781
2876
  };
2782
2877
  function FileKeyValueStore(dir) {
2783
2878
  Companion_getInstance_14();
2784
- this.dcr_1 = dir;
2785
- this.ecr_1 = false;
2879
+ this.hcs_1 = dir;
2880
+ this.ics_1 = false;
2786
2881
  }
2787
- protoOf(FileKeyValueStore).g6o = function (key, $completion) {
2882
+ protoOf(FileKeyValueStore).d6o = function (key, $completion) {
2788
2883
  var tmp = new $getCOROUTINE$(this, key, $completion);
2789
2884
  tmp.k9_1 = Unit_instance;
2790
2885
  tmp.l9_1 = null;
2791
2886
  return tmp.q9();
2792
2887
  };
2793
- protoOf(FileKeyValueStore).h6o = function (key, value, $completion) {
2888
+ protoOf(FileKeyValueStore).e6o = function (key, value, $completion) {
2794
2889
  var tmp = new $setCOROUTINE$(this, key, value, $completion);
2795
2890
  tmp.k9_1 = Unit_instance;
2796
2891
  tmp.l9_1 = null;
2797
2892
  return tmp.q9();
2798
2893
  };
2799
- protoOf(FileKeyValueStore).i6o = function (key, $completion) {
2894
+ protoOf(FileKeyValueStore).f6o = function (key, $completion) {
2800
2895
  var tmp = new $removeCOROUTINE$(this, key, $completion);
2801
2896
  tmp.k9_1 = Unit_instance;
2802
2897
  tmp.l9_1 = null;
2803
2898
  return tmp.q9();
2804
2899
  };
2805
2900
  function Companion_12() {
2806
- Companion_instance_15 = this;
2807
- this.ncs_1 = Regex_init_$Create$('^[0-9]{1,20}$');
2901
+ Companion_instance_16 = this;
2902
+ this.rct_1 = Regex_init_$Create$('^[0-9]{1,20}$');
2808
2903
  }
2809
- var Companion_instance_15;
2904
+ var Companion_instance_16;
2810
2905
  function Companion_getInstance_15() {
2811
- if (Companion_instance_15 == null)
2906
+ if (Companion_instance_16 == null)
2812
2907
  new Companion_12();
2813
- return Companion_instance_15;
2908
+ return Companion_instance_16;
2814
2909
  }
2815
2910
  function AccountDirectories(dataDir) {
2816
2911
  Companion_getInstance_15();
2817
- this.acq_1 = dataDir;
2912
+ this.ecr_1 = dataDir;
2818
2913
  var tmp = this;
2819
2914
  // Inline function 'kotlin.collections.mutableMapOf' call
2820
- tmp.bcq_1 = LinkedHashMap_init_$Create$();
2915
+ tmp.fcr_1 = LinkedHashMap_init_$Create$();
2821
2916
  }
2822
- protoOf(AccountDirectories).ccq = function (steamId) {
2917
+ protoOf(AccountDirectories).gcr = function (steamId) {
2823
2918
  // Inline function 'kotlin.require' call
2824
- if (!Companion_getInstance_15().ncs_1.qd(steamId)) {
2919
+ if (!Companion_getInstance_15().rct_1.qd(steamId)) {
2825
2920
  var message = 'not a steamid64';
2826
- throw IllegalArgumentException_init_$Create$(toString_0(message));
2921
+ throw IllegalArgumentException_init_$Create$(toString(message));
2827
2922
  }
2828
2923
  // Inline function 'kotlin.collections.getOrPut' call
2829
- var this_0 = this.bcq_1;
2924
+ var this_0 = this.fcr_1;
2830
2925
  var value = this_0.x2(steamId);
2831
2926
  var tmp;
2832
2927
  if (value == null) {
2833
- var answer = new FileKeyValueStore(join(this.acq_1, steamId));
2928
+ var answer = new FileKeyValueStore(join(this.ecr_1, steamId));
2834
2929
  this_0.a3(steamId, answer);
2835
2930
  tmp = answer;
2836
2931
  } else {
@@ -2860,7 +2955,7 @@ function installBrowserWorker() {
2860
2955
  }
2861
2956
  // Inline function 'kotlin.text.trim' call
2862
2957
  var this_0 = "\n(function (require, boot, cls) {\n const threads = require('node:worker_threads');\n const { resolveObjectURL } = require('node:buffer');\n return class Worker extends EventTarget {\n constructor(url, options) {\n super();\n this.onmessage = null;\n this.onerror = null;\n this._pending = [];\n this._thread = null;\n const href = String(url instanceof URL ? url.href : url);\n const type = (options && options.type) || 'classic';\n const name = (options && options.name) || '';\n const start = (code) => {\n this._thread = new threads.Worker(boot, { eval: true, workerData: { href: href, type: type, name: name, code: code, boot: boot, cls: cls } });\n this._thread.on('message', (data) => {\n const event = new MessageEvent('message', { data: data });\n this.dispatchEvent(event);\n if (typeof this.onmessage === 'function') this.onmessage(event);\n });\n this._thread.on('error', (error) => {\n const event = new Event('error');\n event.error = error;\n event.message = error && error.message;\n this.dispatchEvent(event);\n if (typeof this.onerror === 'function') this.onerror(event);\n });\n for (const [data, transfer] of this._pending) this._thread.postMessage(data, transfer);\n this._pending = [];\n };\n if (href.startsWith('blob:')) {\n const blob = resolveObjectURL(href);\n if (!blob) throw new Error('worker script blob is gone: ' + href);\n blob.text().then(start, (error) => this.dispatchEvent(Object.assign(new Event('error'), { error: error })));\n } else {\n start(null);\n }\n }\n postMessage(data, transfer) {\n const list = Array.isArray(transfer) ? transfer : undefined;\n if (this._thread) this._thread.postMessage(data, list); else this._pending.push([data, list]);\n }\n terminate() {\n if (this._thread) this._thread.terminate();\n }\n };\n})\n";
2863
- var workerClass = toString_0(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
2958
+ var workerClass = toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
2864
2959
  var bootstrap = "\nconst { parentPort, workerData } = require('node:worker_threads');\nconst fs = require('node:fs');\nconst vm = require('node:vm');\nconst { fileURLToPath } = require('node:url');\nconst scope = new EventTarget();\nglobalThis.self = globalThis;\nglobalThis.name = workerData.name;\nglobalThis.addEventListener = scope.addEventListener.bind(scope);\nglobalThis.removeEventListener = scope.removeEventListener.bind(scope);\nglobalThis.dispatchEvent = scope.dispatchEvent.bind(scope);\nglobalThis.postMessage = (data, transfer) => parentPort.postMessage(data, Array.isArray(transfer) ? transfer : undefined);\nglobalThis.close = () => process.exit(0);\nglobalThis.WorkerGlobalScope = class WorkerGlobalScope { static [Symbol.hasInstance](value) { return value === globalThis; } };\nglobalThis.DedicatedWorkerGlobalScope = globalThis.WorkerGlobalScope;\nglobalThis.Worker = (new Function('return ' + workerData.cls.trim())())(require, workerData.boot, workerData.cls);\nconst nodeFetch = globalThis.fetch;\nlet sharedModule = null;\nglobalThis.fetch = async (input, init) => {\n const href = typeof input === 'string' ? input : (input instanceof URL ? input.href : input.url);\n if (href.endsWith('.wasm') && sharedModule) return sharedModule;\n if (href.startsWith('file:')) {\n const bytes = await fs.promises.readFile(fileURLToPath(href));\n const type = href.endsWith('.wasm') ? 'application/wasm' : 'application/octet-stream';\n return new Response(bytes, { headers: { 'content-type': type } });\n }\n return nodeFetch(input, init);\n};\nlet loaded = false;\nconst held = [];\nconst deliver = (data) => {\n const event = new MessageEvent('message', { data: data });\n scope.dispatchEvent(event);\n if (typeof globalThis.onmessage === 'function') globalThis.onmessage(event);\n};\nparentPort.on('message', (data) => {\n // web-spawn's start messages carry the compiled module the main thread instantiated: the init in this thread\n // instantiates that one rather than compiling the file again.\n const first = data && Array.isArray(data.data) ? data.data[0] : null;\n if (first instanceof WebAssembly.Module) sharedModule = first;\n if (loaded) deliver(data); else held.push(data);\n});\nconst load = async () => {\n const href = workerData.href;\n if (workerData.type === 'module') {\n await import(href);\n } else {\n let code = workerData.code;\n if (code === null) {\n code = href.startsWith('data:') ? decodeURIComponent(href.slice(href.indexOf(',') + 1)) : fs.readFileSync(fileURLToPath(href), 'utf8');\n }\n vm.runInThisContext(code, { filename: href.startsWith('file:') ? href : 'worker-script.js' });\n }\n};\nload().then(() => {\n loaded = true;\n for (const data of held.splice(0)) deliver(data);\n}, (error) => { throw error; });\n";
2865
2960
  var make = (new Function('return ' + workerClass))();
2866
2961
  global.Worker = make(mainThreadModule$ref(), bootstrap, workerClass);
@@ -2879,7 +2974,7 @@ function mainThreadModule(name) {
2879
2974
  // Inline function 'kotlin.error' call
2880
2975
 
2881
2976
  var message = 'no module ' + name + " for the prover's worker";
2882
- throw IllegalStateException_init_$Create$(toString_0(message));
2977
+ throw IllegalStateException_init_$Create$(toString(message));
2883
2978
  }
2884
2979
  return tmp;
2885
2980
  }
@@ -2894,11 +2989,11 @@ function get_PROVER_ENV_ALLOWED() {
2894
2989
  }
2895
2990
  var PROVER_ENV_ALLOWED;
2896
2991
  function Companion_13() {
2897
- this.ocs_1 = 5;
2992
+ this.sct_1 = 5;
2898
2993
  }
2899
- var Companion_instance_16;
2994
+ var Companion_instance_17;
2900
2995
  function Companion_getInstance_16() {
2901
- return Companion_instance_16;
2996
+ return Companion_instance_17;
2902
2997
  }
2903
2998
  function ProverLimits(connectDeadline, sessionDeadline, proofsPerChild, exitGrace) {
2904
2999
  var tmp;
@@ -2929,15 +3024,15 @@ function ProverLimits(connectDeadline, sessionDeadline, proofsPerChild, exitGrac
2929
3024
  tmp_1 = exitGrace;
2930
3025
  }
2931
3026
  exitGrace = tmp_1;
2932
- this.vcq_1 = connectDeadline;
2933
- this.wcq_1 = sessionDeadline;
2934
- this.xcq_1 = proofsPerChild;
2935
- this.ycq_1 = exitGrace;
2936
- var containsArg = this.xcq_1;
3027
+ this.zcr_1 = connectDeadline;
3028
+ this.acs_1 = sessionDeadline;
3029
+ this.bcs_1 = proofsPerChild;
3030
+ this.ccs_1 = exitGrace;
3031
+ var containsArg = this.bcs_1;
2937
3032
  // Inline function 'kotlin.require' call
2938
3033
  if (!(1 <= containsArg ? containsArg <= 5 : false)) {
2939
- var message = 'proofsPerChild must be 1..5, was ' + this.xcq_1;
2940
- throw IllegalArgumentException_init_$Create$(toString_0(message));
3034
+ var message = 'proofsPerChild must be 1..5, was ' + this.bcs_1;
3035
+ throw IllegalArgumentException_init_$Create$(toString(message));
2941
3036
  }
2942
3037
  }
2943
3038
  function run($this, child, id, proof, upgrade, $completion) {
@@ -2951,7 +3046,7 @@ function killed($this, cause, detail) {
2951
3046
  }
2952
3047
  function takeIdle($this) {
2953
3048
  while (true) {
2954
- var tmp0_elvis_lhs = $this.rct_1.wg();
3049
+ var tmp0_elvis_lhs = $this.vcu_1.wg();
2955
3050
  var tmp;
2956
3051
  if (tmp0_elvis_lhs == null) {
2957
3052
  return null;
@@ -2959,29 +3054,29 @@ function takeIdle($this) {
2959
3054
  tmp = tmp0_elvis_lhs;
2960
3055
  }
2961
3056
  var child = tmp;
2962
- if (!child.bcu_1)
3057
+ if (!child.fcv_1)
2963
3058
  return child;
2964
3059
  }
2965
3060
  }
2966
3061
  function release($this, child, outcome) {
2967
3062
  var tmp;
2968
3063
  if (outcome instanceof Failed) {
2969
- var tmp_0 = outcome.rbe_1;
3064
+ var tmp_0 = outcome.obe_1;
2970
3065
  tmp = tmp_0 instanceof ProverKilled;
2971
3066
  } else {
2972
3067
  tmp = false;
2973
3068
  }
2974
3069
  var killed = tmp;
2975
- if (killed || child.bcu_1 || child.acu_1 >= $this.kct_1.xcq_1) {
2976
- $this.sct_1.e3(child);
2977
- child.dcu($this.kct_1.ycq_1);
3070
+ if (killed || child.fcv_1 || child.ecv_1 >= $this.ocu_1.bcs_1) {
3071
+ $this.wcu_1.e3(child);
3072
+ child.hcv($this.ocu_1.ccs_1);
2978
3073
  } else {
2979
- $this.rct_1.ug(child);
3074
+ $this.vcu_1.ug(child);
2980
3075
  }
2981
3076
  }
2982
3077
  function fork($this) {
2983
3078
  var options = {};
2984
- options.env = toJsObject($this.lct_1);
3079
+ options.env = toJsObject($this.pcu_1);
2985
3080
  // Inline function 'kotlin.emptyArray' call
2986
3081
  options.execArgv = [];
2987
3082
  // Inline function 'kotlin.arrayOf' call
@@ -2990,14 +3085,14 @@ function fork($this) {
2990
3085
  options.stdio = ['ignore', 'pipe', 'pipe', 'ipc'];
2991
3086
  options.serialization = 'json';
2992
3087
  // Inline function 'kotlin.collections.toTypedArray' call
2993
- var this_0 = $this.hct_1;
3088
+ var this_0 = $this.lcu_1;
2994
3089
  var tmp$ret$4 = copyToArray(this_0);
2995
- var process = com_dmarket_p2p_headless_node_nodeChildProcess_579ejd.fork($this.gct_1, tmp$ret$4, options);
2996
- $this.uct_1 = $this.uct_1 + 1 | 0;
3090
+ var process = com_dmarket_p2p_headless_node_nodeChildProcess_579ejd.fork($this.kcu_1, tmp$ret$4, options);
3091
+ $this.ycu_1 = $this.ycu_1 + 1 | 0;
2997
3092
  // Inline function 'kotlin.also' call
2998
- var this_1 = new ForkedChild(process, $this.nct_1, $this.oct_1);
3093
+ var this_1 = new ForkedChild(process, $this.rcu_1, $this.scu_1);
2999
3094
  // Inline function 'kotlin.collections.plusAssign' call
3000
- $this.sct_1.e1(this_1);
3095
+ $this.wcu_1.e1(this_1);
3001
3096
  return this_1;
3002
3097
  }
3003
3098
  function ForkedProofHost$_init_$lambda_p9fnmo(_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) {
@@ -3010,17 +3105,17 @@ function ForkedProofHost$_init_$lambda_p9fnmo_1(_unused_var__etf5q3, _unused_var
3010
3105
  return Unit_instance;
3011
3106
  }
3012
3107
  function ForkedProofHost$run$slambda($child, resultContinuation) {
3013
- this.mcu_1 = $child;
3108
+ this.qcv_1 = $child;
3014
3109
  CoroutineImpl.call(this, resultContinuation);
3015
3110
  }
3016
- protoOf(ForkedProofHost$run$slambda).ocu = function ($this$withTimeoutOrNull, $completion) {
3111
+ protoOf(ForkedProofHost$run$slambda).scv = function ($this$withTimeoutOrNull, $completion) {
3017
3112
  var tmp = this.x1o($this$withTimeoutOrNull, $completion);
3018
3113
  tmp.k9_1 = Unit_instance;
3019
3114
  tmp.l9_1 = null;
3020
3115
  return tmp.q9();
3021
3116
  };
3022
3117
  protoOf(ForkedProofHost$run$slambda).da = function (p1, $completion) {
3023
- return this.ocu((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
3118
+ return this.scv((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
3024
3119
  };
3025
3120
  protoOf(ForkedProofHost$run$slambda).q9 = function () {
3026
3121
  var suspendResult = this.k9_1;
@@ -3031,7 +3126,7 @@ protoOf(ForkedProofHost$run$slambda).q9 = function () {
3031
3126
  case 0:
3032
3127
  this.j9_1 = 2;
3033
3128
  this.i9_1 = 1;
3034
- suspendResult = this.mcu_1.yct_1.v1g(this);
3129
+ suspendResult = this.qcv_1.ccv_1.v1g(this);
3035
3130
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3036
3131
  return suspendResult;
3037
3132
  }
@@ -3054,21 +3149,21 @@ protoOf(ForkedProofHost$run$slambda).q9 = function () {
3054
3149
  while (true);
3055
3150
  };
3056
3151
  protoOf(ForkedProofHost$run$slambda).x1o = function ($this$withTimeoutOrNull, completion) {
3057
- var i = new ForkedProofHost$run$slambda(this.mcu_1, completion);
3058
- i.ncu_1 = $this$withTimeoutOrNull;
3152
+ var i = new ForkedProofHost$run$slambda(this.qcv_1, completion);
3153
+ i.rcv_1 = $this$withTimeoutOrNull;
3059
3154
  return i;
3060
3155
  };
3061
3156
  function ForkedProofHost$run$slambda_0($child, resultContinuation) {
3062
3157
  var i = new ForkedProofHost$run$slambda($child, resultContinuation);
3063
3158
  return constructCallableReference(function ($this$withTimeoutOrNull, $completion) {
3064
- return i.ocu($this$withTimeoutOrNull, $completion);
3159
+ return i.scv($this$withTimeoutOrNull, $completion);
3065
3160
  }, 1);
3066
3161
  }
3067
3162
  function $proveCOROUTINE$(_this__u8e3s4, proof, upgrade, resultContinuation) {
3068
3163
  CoroutineImpl.call(this, resultContinuation);
3069
- this.xcu_1 = _this__u8e3s4;
3070
- this.ycu_1 = proof;
3071
- this.zcu_1 = upgrade;
3164
+ this.bcw_1 = _this__u8e3s4;
3165
+ this.ccw_1 = proof;
3166
+ this.dcw_1 = upgrade;
3072
3167
  }
3073
3168
  protoOf($proveCOROUTINE$).q9 = function () {
3074
3169
  var suspendResult = this.k9_1;
@@ -3078,20 +3173,20 @@ protoOf($proveCOROUTINE$).q9 = function () {
3078
3173
  switch (tmp) {
3079
3174
  case 0:
3080
3175
  this.j9_1 = 6;
3081
- this.bcv_1 = this.ycu_1.kbg_1.zbg_1;
3082
- var tmp0_safe_receiver = this.xcu_1.mct_1.wcl(this.xcu_1.jct_1.rp());
3176
+ this.fcw_1 = this.ccw_1.hbg_1.wbg_1;
3177
+ var tmp0_safe_receiver = this.bcw_1.qcu_1.wcm(this.bcw_1.ncu_1.rp());
3083
3178
  if (tmp0_safe_receiver == null)
3084
3179
  null;
3085
3180
  else {
3086
3181
  var held = new NotStarted(tmp0_safe_receiver);
3087
- this.xcu_1.pct_1(this.bcv_1, held);
3182
+ this.bcw_1.tcu_1(this.fcw_1, held);
3088
3183
  return new Failed(held);
3089
3184
  }
3090
3185
 
3091
- this.hcv_1 = this.xcu_1.qct_1;
3092
- this.gcv_1 = null;
3186
+ this.lcw_1 = this.bcw_1.ucu_1;
3187
+ this.kcw_1 = null;
3093
3188
  this.i9_1 = 1;
3094
- suspendResult = this.hcv_1.o1u(this.gcv_1, this);
3189
+ suspendResult = this.lcw_1.o1u(this.kcw_1, this);
3095
3190
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3096
3191
  return suspendResult;
3097
3192
  }
@@ -3102,35 +3197,35 @@ protoOf($proveCOROUTINE$).q9 = function () {
3102
3197
  l$ret$1: do {
3103
3198
  var tmp_0;
3104
3199
  try {
3105
- var tmp0_elvis_lhs = takeIdle(this.xcu_1);
3106
- var tmp_1 = tmp0_elvis_lhs == null ? fork(this.xcu_1) : tmp0_elvis_lhs;
3107
- var _unary__edvuaz = this.xcu_1.tct_1;
3108
- this.xcu_1.tct_1 = _unary__edvuaz + 1 | 0;
3200
+ var tmp0_elvis_lhs = takeIdle(this.bcw_1);
3201
+ var tmp_1 = tmp0_elvis_lhs == null ? fork(this.bcw_1) : tmp0_elvis_lhs;
3202
+ var _unary__edvuaz = this.bcw_1.xcu_1;
3203
+ this.bcw_1.xcu_1 = _unary__edvuaz + 1 | 0;
3109
3204
  tmp$ret$0 = to(tmp_1, _unary__edvuaz);
3110
3205
  break l$ret$1;
3111
3206
  } catch ($p) {
3112
3207
  var tmp_2;
3113
3208
  var t = $p;
3114
- this.hcv_1.a1u(this.gcv_1);
3209
+ this.lcw_1.a1u(this.kcw_1);
3115
3210
  throw t;
3116
3211
  }
3117
3212
  }
3118
3213
  while (false);
3119
3214
  var tmp_3 = tmp$ret$0;
3120
- this.hcv_1.a1u(this.gcv_1);
3121
- this.ccv_1 = tmp_3.gh();
3215
+ this.lcw_1.a1u(this.kcw_1);
3216
+ this.gcw_1 = tmp_3.gh();
3122
3217
  var id = tmp_3.hh();
3123
- this.xcu_1.oct_1('proof started', false, listOf([to('dealId', this.bcv_1), to('pid', this.ccv_1.zct_1)]));
3218
+ this.bcw_1.scu_1('proof started', false, listOf([to('dealId', this.fcw_1), to('pid', this.gcw_1.dcv_1)]));
3124
3219
  this.j9_1 = 3;
3125
3220
  this.i9_1 = 2;
3126
- suspendResult = run(this.xcu_1, this.ccv_1, id, this.ycu_1, this.zcu_1, this);
3221
+ suspendResult = run(this.bcw_1, this.gcw_1, id, this.ccw_1, this.dcw_1, this);
3127
3222
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3128
3223
  return suspendResult;
3129
3224
  }
3130
3225
 
3131
3226
  continue $sm;
3132
3227
  case 2:
3133
- this.fcv_1 = suspendResult;
3228
+ this.jcw_1 = suspendResult;
3134
3229
  this.j9_1 = 6;
3135
3230
  this.i9_1 = 4;
3136
3231
  continue $sm;
@@ -3140,7 +3235,7 @@ protoOf($proveCOROUTINE$).q9 = function () {
3140
3235
  if (tmp_4 instanceof CancellationException) {
3141
3236
  var e = this.l9_1;
3142
3237
  var tmp_5 = this;
3143
- this.ccv_1.icv();
3238
+ this.gcw_1.mcw();
3144
3239
  throw e;
3145
3240
  } else {
3146
3241
  throw this.l9_1;
@@ -3148,11 +3243,11 @@ protoOf($proveCOROUTINE$).q9 = function () {
3148
3243
 
3149
3244
  case 4:
3150
3245
  this.j9_1 = 6;
3151
- this.acv_1 = this.fcv_1;
3152
- this.ecv_1 = this.xcu_1.qct_1;
3153
- this.dcv_1 = null;
3246
+ this.ecw_1 = this.jcw_1;
3247
+ this.icw_1 = this.bcw_1.ucu_1;
3248
+ this.hcw_1 = null;
3154
3249
  this.i9_1 = 5;
3155
- suspendResult = this.ecv_1.o1u(this.dcv_1, this);
3250
+ suspendResult = this.icw_1.o1u(this.hcw_1, this);
3156
3251
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3157
3252
  return suspendResult;
3158
3253
  }
@@ -3162,33 +3257,33 @@ protoOf($proveCOROUTINE$).q9 = function () {
3162
3257
  l$ret$3: do {
3163
3258
  var tmp_6;
3164
3259
  try {
3165
- release(this.xcu_1, this.ccv_1, this.acv_1);
3260
+ release(this.bcw_1, this.gcw_1, this.ecw_1);
3166
3261
  break l$ret$3;
3167
3262
  } catch ($p_0) {
3168
3263
  var tmp_7;
3169
3264
  var t_0 = $p_0;
3170
- this.ecv_1.a1u(this.dcv_1);
3265
+ this.icw_1.a1u(this.hcw_1);
3171
3266
  throw t_0;
3172
3267
  }
3173
3268
  }
3174
3269
  while (false);
3175
- this.ecv_1.a1u(this.dcv_1);
3176
- var tmp1_subject = this.acv_1;
3270
+ this.icw_1.a1u(this.hcw_1);
3271
+ var tmp1_subject = this.ecw_1;
3177
3272
  if (tmp1_subject instanceof Proved) {
3178
- this.xcu_1.mct_1.ycl();
3179
- this.xcu_1.oct_1('proof made', false, listOf([to('dealId', this.bcv_1), to('pid', this.ccv_1.zct_1)]));
3180
- this.xcu_1.pct_1(this.bcv_1, null);
3273
+ this.bcw_1.qcu_1.ycm();
3274
+ this.bcw_1.scu_1('proof made', false, listOf([to('dealId', this.fcw_1), to('pid', this.gcw_1.dcv_1)]));
3275
+ this.bcw_1.tcu_1(this.fcw_1, null);
3181
3276
  } else {
3182
3277
  if (tmp1_subject instanceof Failed) {
3183
- this.xcu_1.mct_1.xcl(this.acv_1.rbe_1, this.xcu_1.jct_1.rp());
3184
- this.xcu_1.oct_1('proof failed', true, listOf([to('dealId', this.bcv_1), to('pid', this.ccv_1.zct_1), to('reason', ProverOutput_getInstance().u7b(this.acv_1.rbe_1.zbf()))]));
3185
- this.xcu_1.pct_1(this.bcv_1, this.acv_1.rbe_1);
3278
+ this.bcw_1.qcu_1.xcm(this.ecw_1.obe_1, this.bcw_1.ncu_1.rp());
3279
+ this.bcw_1.scu_1('proof failed', true, listOf([to('dealId', this.fcw_1), to('pid', this.gcw_1.dcv_1), to('reason', ProverOutput_getInstance().r7b(this.ecw_1.obe_1.wbf()))]));
3280
+ this.bcw_1.tcu_1(this.fcw_1, this.ecw_1.obe_1);
3186
3281
  } else {
3187
3282
  noWhenBranchMatchedException();
3188
3283
  }
3189
3284
  }
3190
3285
 
3191
- return this.acv_1;
3286
+ return this.ecw_1;
3192
3287
  case 6:
3193
3288
  throw this.l9_1;
3194
3289
  }
@@ -3205,11 +3300,11 @@ protoOf($proveCOROUTINE$).q9 = function () {
3205
3300
  };
3206
3301
  function $runCOROUTINE$(_this__u8e3s4, child, id, proof, upgrade, resultContinuation) {
3207
3302
  CoroutineImpl.call(this, resultContinuation);
3208
- this.xcs_1 = _this__u8e3s4;
3209
- this.ycs_1 = child;
3210
- this.zcs_1 = id;
3211
- this.act_1 = proof;
3212
- this.bct_1 = upgrade;
3303
+ this.bcu_1 = _this__u8e3s4;
3304
+ this.ccu_1 = child;
3305
+ this.dcu_1 = id;
3306
+ this.ecu_1 = proof;
3307
+ this.fcu_1 = upgrade;
3213
3308
  }
3214
3309
  protoOf($runCOROUTINE$).q9 = function () {
3215
3310
  var suspendResult = this.k9_1;
@@ -3219,14 +3314,14 @@ protoOf($runCOROUTINE$).q9 = function () {
3219
3314
  switch (tmp) {
3220
3315
  case 0:
3221
3316
  this.j9_1 = 9;
3222
- this.fct_1 = Monotonic_instance.ff();
3223
- this.dct_1 = null;
3224
- if (!this.ycs_1.jcv(ProverIpc_getInstance().lcm(new Prove(this.zcs_1, this.act_1.kbg_1, this.act_1.lbg_1, this.act_1.mbg_1, this.xcs_1.ict_1)))) {
3225
- return killed(this.xcs_1, KillCause_EXITED_getInstance(), "the prover's channel was closed");
3317
+ this.jcu_1 = Monotonic_instance.ff();
3318
+ this.hcu_1 = null;
3319
+ if (!this.ccu_1.ncw(ProverIpc_getInstance().ncn(new Prove(this.dcu_1, this.ecu_1.hbg_1, this.ecu_1.ibg_1, this.ecu_1.jbg_1, this.bcu_1.mcu_1)))) {
3320
+ return killed(this.bcu_1, KillCause_EXITED_getInstance(), "the prover's channel was closed");
3226
3321
  }
3227
3322
 
3228
- var _receiver__tnumb7 = this.ycs_1;
3229
- _receiver__tnumb7.acu_1 = _receiver__tnumb7.acu_1 + 1 | 0;
3323
+ var _receiver__tnumb7 = this.ccu_1;
3324
+ _receiver__tnumb7.ecv_1 = _receiver__tnumb7.ecv_1 + 1 | 0;
3230
3325
  this.i9_1 = 1;
3231
3326
  continue $sm;
3232
3327
  case 1:
@@ -3235,19 +3330,19 @@ protoOf($runCOROUTINE$).q9 = function () {
3235
3330
  continue $sm;
3236
3331
  }
3237
3332
 
3238
- var tmp0_safe_receiver = this.dct_1;
3333
+ var tmp0_safe_receiver = this.hcu_1;
3239
3334
  var tmp_0;
3240
3335
  if (tmp0_safe_receiver == null) {
3241
3336
  tmp_0 = null;
3242
3337
  } else {
3243
- tmp_0 = Duration__minus_impl_q5cfm7(this.xcs_1.kct_1.wcq_1, tmp0_safe_receiver.cr());
3338
+ tmp_0 = Duration__minus_impl_q5cfm7(this.bcu_1.ocu_1.acs_1, tmp0_safe_receiver.cr());
3244
3339
  }
3245
3340
 
3246
3341
  var tmp1_elvis_lhs = tmp_0;
3247
3342
  var tmp_1;
3248
3343
  var tmp_2 = tmp1_elvis_lhs;
3249
3344
  if ((tmp_2 == null ? null : new Duration(tmp_2)) == null) {
3250
- tmp_1 = Duration__minus_impl_q5cfm7(this.xcs_1.kct_1.vcq_1, ValueTimeMark__elapsedNow_impl_eonqvs(this.fct_1));
3345
+ tmp_1 = Duration__minus_impl_q5cfm7(this.bcu_1.ocu_1.zcr_1, ValueTimeMark__elapsedNow_impl_eonqvs(this.jcu_1));
3251
3346
  } else {
3252
3347
  tmp_1 = tmp1_elvis_lhs;
3253
3348
  }
@@ -3255,7 +3350,7 @@ protoOf($runCOROUTINE$).q9 = function () {
3255
3350
  var left = tmp_1;
3256
3351
  this.i9_1 = 2;
3257
3352
  var tmp_3 = coerceAtLeast(new Duration(left), new Duration(Companion_getInstance().mf_1));
3258
- suspendResult = withTimeoutOrNull(tmp_3.lf_1, ForkedProofHost$run$slambda_0(this.ycs_1, null), this);
3353
+ suspendResult = withTimeoutOrNull(tmp_3.lf_1, ForkedProofHost$run$slambda_0(this.ccu_1, null), this);
3259
3354
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3260
3355
  return suspendResult;
3261
3356
  }
@@ -3264,18 +3359,18 @@ protoOf($runCOROUTINE$).q9 = function () {
3264
3359
  case 2:
3265
3360
  var event = suspendResult;
3266
3361
  if (event == null) {
3267
- this.ycs_1.icv();
3268
- return killed(this.xcs_1, this.dct_1 == null ? KillCause_CONNECT_DEADLINE_getInstance() : KillCause_SESSION_DEADLINE_getInstance(), null);
3362
+ this.ccu_1.mcw();
3363
+ return killed(this.bcu_1, this.hcu_1 == null ? KillCause_CONNECT_DEADLINE_getInstance() : KillCause_SESSION_DEADLINE_getInstance(), null);
3269
3364
  }
3270
3365
 
3271
3366
  if (event instanceof Exited) {
3272
- return killed(this.xcs_1, event.ocv(), event.pcv());
3367
+ return killed(this.bcu_1, event.scw(), event.tcw());
3273
3368
  } else {
3274
3369
  if (event instanceof Message) {
3275
- this.xcs_1;
3370
+ this.bcu_1;
3276
3371
  var tmp_4;
3277
3372
  try {
3278
- var value = ProverIpc_getInstance().ocm(event.kcv_1);
3373
+ var value = ProverIpc_getInstance().qcn(event.ocw_1);
3279
3374
  tmp_4 = _Result___init__impl__xyqfz8(value);
3280
3375
  } catch ($p) {
3281
3376
  var tmp_5;
@@ -3294,7 +3389,7 @@ protoOf($runCOROUTINE$).q9 = function () {
3294
3389
  tmp_6 = null;
3295
3390
  } else {
3296
3391
  var tmp_7;
3297
- if (tmp3_safe_receiver.v6e() === this.zcs_1) {
3392
+ if (tmp3_safe_receiver.s6e() === this.dcu_1) {
3298
3393
  tmp_7 = tmp3_safe_receiver;
3299
3394
  } else {
3300
3395
  tmp_7 = null;
@@ -3307,7 +3402,7 @@ protoOf($runCOROUTINE$).q9 = function () {
3307
3402
  var tmp_8 = this;
3308
3403
  continue $sm;
3309
3404
  } else {
3310
- this.ect_1 = tmp4_elvis_lhs;
3405
+ this.icu_1 = tmp4_elvis_lhs;
3311
3406
  this.i9_1 = 3;
3312
3407
  continue $sm;
3313
3408
  }
@@ -3318,23 +3413,23 @@ protoOf($runCOROUTINE$).q9 = function () {
3318
3413
 
3319
3414
  break;
3320
3415
  case 3:
3321
- var message = this.ect_1;
3416
+ var message = this.icu_1;
3322
3417
  if (message instanceof HeadersWanted) {
3323
- if (this.dct_1 == null)
3324
- this.dct_1 = new ValueTimeMark(Monotonic_instance.ff());
3418
+ if (this.hcu_1 == null)
3419
+ this.hcu_1 = new ValueTimeMark(Monotonic_instance.ff());
3325
3420
  this.j9_1 = 5;
3326
3421
  this.i9_1 = 4;
3327
- suspendResult = this.bct_1.x7a(this);
3422
+ suspendResult = this.fcu_1.u7a(this);
3328
3423
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3329
3424
  return suspendResult;
3330
3425
  }
3331
3426
  continue $sm;
3332
3427
  } else {
3333
3428
  if (message instanceof Proved_0) {
3334
- return new Proved(message.icn_1);
3429
+ return new Proved(message.kco_1);
3335
3430
  } else {
3336
3431
  if (message instanceof Failed_0) {
3337
- return new Failed(message.ncn_1);
3432
+ return new Failed(message.pco_1);
3338
3433
  } else {
3339
3434
  noWhenBranchMatchedException();
3340
3435
  }
@@ -3343,8 +3438,8 @@ protoOf($runCOROUTINE$).q9 = function () {
3343
3438
 
3344
3439
  break;
3345
3440
  case 4:
3346
- var ARGUMENT = suspendResult.nbg_1;
3347
- this.cct_1 = new Headers(this.zcs_1, ARGUMENT);
3441
+ var ARGUMENT = suspendResult.kbg_1;
3442
+ this.gcu_1 = new Headers(this.dcu_1, ARGUMENT);
3348
3443
  this.j9_1 = 9;
3349
3444
  this.i9_1 = 6;
3350
3445
  continue $sm;
@@ -3361,7 +3456,7 @@ protoOf($runCOROUTINE$).q9 = function () {
3361
3456
  var e_1 = this.l9_1;
3362
3457
  var tmp_12 = this;
3363
3458
  var tmp6_elvis_lhs = e_1.message;
3364
- tmp_12.cct_1 = new Headers(this.zcs_1, VOID, 'the upgrade could not be signed: ' + (tmp6_elvis_lhs == null ? 'no detail' : tmp6_elvis_lhs));
3459
+ tmp_12.gcu_1 = new Headers(this.dcu_1, VOID, 'the upgrade could not be signed: ' + (tmp6_elvis_lhs == null ? 'no detail' : tmp6_elvis_lhs));
3365
3460
  this.i9_1 = 6;
3366
3461
  continue $sm;
3367
3462
  } else {
@@ -3371,9 +3466,9 @@ protoOf($runCOROUTINE$).q9 = function () {
3371
3466
 
3372
3467
  case 6:
3373
3468
  this.j9_1 = 9;
3374
- var reply = this.cct_1;
3375
- if (!this.ycs_1.jcv(ProverIpc_getInstance().lcm(reply)))
3376
- return killed(this.xcs_1, KillCause_EXITED_getInstance(), "the prover's channel was closed");
3469
+ var reply = this.gcu_1;
3470
+ if (!this.ccu_1.ncw(ProverIpc_getInstance().ncn(reply)))
3471
+ return killed(this.bcu_1, KillCause_EXITED_getInstance(), "the prover's channel was closed");
3377
3472
  this.i9_1 = 7;
3378
3473
  continue $sm;
3379
3474
  case 7:
@@ -3423,42 +3518,42 @@ function ForkedProofHost(script, args, settings, clock, limits, env, backoff, on
3423
3518
  tmp_1 = onOutcome;
3424
3519
  }
3425
3520
  onOutcome = tmp_1;
3426
- this.gct_1 = script;
3427
- this.hct_1 = args;
3428
- this.ict_1 = settings;
3429
- this.jct_1 = clock;
3430
- this.kct_1 = limits;
3431
- this.lct_1 = env;
3432
- this.mct_1 = backoff;
3433
- this.nct_1 = onLine;
3434
- this.oct_1 = onNotice;
3435
- this.pct_1 = onOutcome;
3436
- this.qct_1 = Mutex();
3437
- this.rct_1 = ArrayDeque_init_$Create$();
3521
+ this.kcu_1 = script;
3522
+ this.lcu_1 = args;
3523
+ this.mcu_1 = settings;
3524
+ this.ncu_1 = clock;
3525
+ this.ocu_1 = limits;
3526
+ this.pcu_1 = env;
3527
+ this.qcu_1 = backoff;
3528
+ this.rcu_1 = onLine;
3529
+ this.scu_1 = onNotice;
3530
+ this.tcu_1 = onOutcome;
3531
+ this.ucu_1 = Mutex();
3532
+ this.vcu_1 = ArrayDeque_init_$Create$();
3438
3533
  var tmp_2 = this;
3439
3534
  // Inline function 'kotlin.collections.mutableSetOf' call
3440
- tmp_2.sct_1 = LinkedHashSet_init_$Create$();
3441
- this.tct_1 = 1;
3442
- this.uct_1 = 0;
3535
+ tmp_2.wcu_1 = LinkedHashSet_init_$Create$();
3536
+ this.xcu_1 = 1;
3537
+ this.ycu_1 = 0;
3443
3538
  }
3444
- protoOf(ForkedProofHost).qbe = function (proof, upgrade, $completion) {
3539
+ protoOf(ForkedProofHost).nbe = function (proof, upgrade, $completion) {
3445
3540
  var tmp = new $proveCOROUTINE$(this, proof, upgrade, $completion);
3446
3541
  tmp.k9_1 = Unit_instance;
3447
3542
  tmp.l9_1 = null;
3448
3543
  return tmp.q9();
3449
3544
  };
3450
- protoOf(ForkedProofHost).zcl = function () {
3451
- return this.mct_1.zcl();
3545
+ protoOf(ForkedProofHost).zcm = function () {
3546
+ return this.qcu_1.zcm();
3452
3547
  };
3453
3548
  protoOf(ForkedProofHost).j4 = function () {
3454
3549
  // Inline function 'kotlin.collections.forEach' call
3455
- var _iterator__ex2g4s = this.sct_1.t();
3550
+ var _iterator__ex2g4s = this.wcu_1.t();
3456
3551
  while (_iterator__ex2g4s.u()) {
3457
3552
  var element = _iterator__ex2g4s.v();
3458
- element.icv();
3553
+ element.mcw();
3459
3554
  }
3460
- this.sct_1.d3();
3461
- this.rct_1.d3();
3555
+ this.wcu_1.d3();
3556
+ this.vcu_1.d3();
3462
3557
  };
3463
3558
  function minimalProverEnv(from) {
3464
3559
  from = from === VOID ? get_nodeProcess().env : from;
@@ -3507,37 +3602,37 @@ function toJsObject(_this__u8e3s4) {
3507
3602
  return target;
3508
3603
  }
3509
3604
  function Message(text) {
3510
- this.kcv_1 = text;
3605
+ this.ocw_1 = text;
3511
3606
  }
3512
3607
  protoOf(Message).toString = function () {
3513
- return 'Message(text=' + this.kcv_1 + ')';
3608
+ return 'Message(text=' + this.ocw_1 + ')';
3514
3609
  };
3515
3610
  protoOf(Message).hashCode = function () {
3516
- return getStringHashCode(this.kcv_1);
3611
+ return getStringHashCode(this.ocw_1);
3517
3612
  };
3518
3613
  protoOf(Message).equals = function (other) {
3519
3614
  if (this === other)
3520
3615
  return true;
3521
3616
  if (!(other instanceof Message))
3522
3617
  return false;
3523
- if (!(this.kcv_1 === other.kcv_1))
3618
+ if (!(this.ocw_1 === other.ocw_1))
3524
3619
  return false;
3525
3620
  return true;
3526
3621
  };
3527
3622
  function Exited(code, signal, error) {
3528
3623
  error = error === VOID ? null : error;
3529
- this.lcv_1 = code;
3530
- this.mcv_1 = signal;
3531
- this.ncv_1 = error;
3624
+ this.pcw_1 = code;
3625
+ this.qcw_1 = signal;
3626
+ this.rcw_1 = error;
3532
3627
  }
3533
- protoOf(Exited).ocv = function () {
3534
- return this.mcv_1 === 'SIGKILL' ? KillCause_OUT_OF_MEMORY_getInstance() : KillCause_EXITED_getInstance();
3628
+ protoOf(Exited).scw = function () {
3629
+ return this.qcw_1 === 'SIGKILL' ? KillCause_OUT_OF_MEMORY_getInstance() : KillCause_EXITED_getInstance();
3535
3630
  };
3536
- protoOf(Exited).pcv = function () {
3537
- var tmp0_elvis_lhs = this.ncv_1;
3631
+ protoOf(Exited).tcw = function () {
3632
+ var tmp0_elvis_lhs = this.rcw_1;
3538
3633
  var tmp;
3539
3634
  if (tmp0_elvis_lhs == null) {
3540
- var tmp1_safe_receiver = this.mcv_1;
3635
+ var tmp1_safe_receiver = this.qcw_1;
3541
3636
  var tmp_0;
3542
3637
  if (tmp1_safe_receiver == null) {
3543
3638
  tmp_0 = null;
@@ -3550,15 +3645,15 @@ protoOf(Exited).pcv = function () {
3550
3645
  tmp = tmp0_elvis_lhs;
3551
3646
  }
3552
3647
  var tmp2_elvis_lhs = tmp;
3553
- return tmp2_elvis_lhs == null ? 'exit code ' + this.lcv_1 : tmp2_elvis_lhs;
3648
+ return tmp2_elvis_lhs == null ? 'exit code ' + this.pcw_1 : tmp2_elvis_lhs;
3554
3649
  };
3555
3650
  protoOf(Exited).toString = function () {
3556
- return 'Exited(code=' + this.lcv_1 + ', signal=' + this.mcv_1 + ', error=' + this.ncv_1 + ')';
3651
+ return 'Exited(code=' + this.pcw_1 + ', signal=' + this.qcw_1 + ', error=' + this.rcw_1 + ')';
3557
3652
  };
3558
3653
  protoOf(Exited).hashCode = function () {
3559
- var result = this.lcv_1 == null ? 0 : this.lcv_1;
3560
- result = imul(result, 31) + (this.mcv_1 == null ? 0 : getStringHashCode(this.mcv_1)) | 0;
3561
- result = imul(result, 31) + (this.ncv_1 == null ? 0 : getStringHashCode(this.ncv_1)) | 0;
3654
+ var result = this.pcw_1 == null ? 0 : this.pcw_1;
3655
+ result = imul(result, 31) + (this.qcw_1 == null ? 0 : getStringHashCode(this.qcw_1)) | 0;
3656
+ result = imul(result, 31) + (this.rcw_1 == null ? 0 : getStringHashCode(this.rcw_1)) | 0;
3562
3657
  return result;
3563
3658
  };
3564
3659
  protoOf(Exited).equals = function (other) {
@@ -3566,11 +3661,11 @@ protoOf(Exited).equals = function (other) {
3566
3661
  return true;
3567
3662
  if (!(other instanceof Exited))
3568
3663
  return false;
3569
- if (!(this.lcv_1 == other.lcv_1))
3664
+ if (!(this.pcw_1 == other.pcw_1))
3570
3665
  return false;
3571
- if (!(this.mcv_1 == other.mcv_1))
3666
+ if (!(this.qcw_1 == other.qcw_1))
3572
3667
  return false;
3573
- if (!(this.ncv_1 == other.ncv_1))
3668
+ if (!(this.rcw_1 == other.rcw_1))
3574
3669
  return false;
3575
3670
  return true;
3576
3671
  };
@@ -3586,14 +3681,14 @@ function emit($this, stream, line) {
3586
3681
  var text = trimEnd(line, charArrayOf([_Char___init__impl__6a9atx(13)]));
3587
3682
  if (isBlank(text))
3588
3683
  return Unit_instance;
3589
- $this.wct_1($this.zct_1, stream, ProverOutput_getInstance().u7b(text));
3684
+ $this.acv_1($this.dcv_1, stream, ProverOutput_getInstance().r7b(text));
3590
3685
  }
3591
3686
  function ForkedChild$lambda(this$0) {
3592
3687
  return function (message) {
3593
3688
  var tmp;
3594
3689
  if (typeof message === 'string') {
3595
3690
  // Inline function 'kotlin.js.unsafeCast' call
3596
- this$0.yct_1.t1g(new Message(message));
3691
+ this$0.ccv_1.t1g(new Message(message));
3597
3692
  tmp = Unit_instance;
3598
3693
  }
3599
3694
  return Unit_instance;
@@ -3601,28 +3696,28 @@ function ForkedChild$lambda(this$0) {
3601
3696
  }
3602
3697
  function ForkedChild$lambda_0(this$0) {
3603
3698
  return function (code, signal) {
3604
- this$0.bcu_1 = true;
3699
+ this$0.fcv_1 = true;
3605
3700
  var tmp0_safe_receiver = isNumber(code) ? code : null;
3606
3701
  var tmp = tmp0_safe_receiver == null ? null : numberToInt(tmp0_safe_receiver);
3607
3702
  var exit = new Exited(tmp, (!(signal == null) ? typeof signal === 'string' : false) ? signal : null);
3608
- var tmp_0 = to('pid', this$0.zct_1);
3609
- var tmp1_safe_receiver = exit.lcv_1;
3610
- this$0.xct_1('prover exited', false, listOf([tmp_0, to('code', tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString()), to('signal', exit.mcv_1), to('killedBySdk', this$0.ccu_1.toString())]));
3611
- return new ChannelResult(this$0.yct_1.t1g(exit));
3703
+ var tmp_0 = to('pid', this$0.dcv_1);
3704
+ var tmp1_safe_receiver = exit.pcw_1;
3705
+ this$0.bcv_1('prover exited', false, listOf([tmp_0, to('code', tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString()), to('signal', exit.qcw_1), to('killedBySdk', this$0.gcv_1.toString())]));
3706
+ return new ChannelResult(this$0.ccv_1.t1g(exit));
3612
3707
  };
3613
3708
  }
3614
3709
  function ForkedChild$lambda_1(this$0) {
3615
3710
  return function (error) {
3616
- this$0.bcu_1 = true;
3711
+ this$0.fcv_1 = true;
3617
3712
  var tmp1_elvis_lhs = error == null ? null : error.message;
3618
- return new ChannelResult(this$0.yct_1.t1g(new Exited(null, null, 'the prover process failed: ' + (tmp1_elvis_lhs == null ? 'no detail' : tmp1_elvis_lhs))));
3713
+ return new ChannelResult(this$0.ccv_1.t1g(new Exited(null, null, 'the prover process failed: ' + (tmp1_elvis_lhs == null ? 'no detail' : tmp1_elvis_lhs))));
3619
3714
  };
3620
3715
  }
3621
3716
  function ForkedChild$end$lambda(this$0) {
3622
3717
  return function () {
3623
3718
  var tmp;
3624
- if (!this$0.bcu_1) {
3625
- this$0.icv();
3719
+ if (!this$0.fcv_1) {
3720
+ this$0.mcw();
3626
3721
  tmp = Unit_instance;
3627
3722
  }
3628
3723
  return Unit_instance;
@@ -3655,32 +3750,32 @@ function ForkedChild$pipe$lambda_0($pending, this$0, $name) {
3655
3750
  };
3656
3751
  }
3657
3752
  function ForkedChild(process, onLine, onNotice) {
3658
- this.vct_1 = process;
3659
- this.wct_1 = onLine;
3660
- this.xct_1 = onNotice;
3661
- this.yct_1 = Channel(2147483647);
3753
+ this.zcu_1 = process;
3754
+ this.acv_1 = onLine;
3755
+ this.bcv_1 = onNotice;
3756
+ this.ccv_1 = Channel(2147483647);
3662
3757
  var tmp = this;
3663
- var tmp_0 = this.vct_1.pid;
3758
+ var tmp_0 = this.zcu_1.pid;
3664
3759
  var tmp0_safe_receiver = isNumber(tmp_0) ? tmp_0 : null;
3665
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toString_0(tmp0_safe_receiver);
3666
- tmp.zct_1 = tmp1_elvis_lhs == null ? '?' : tmp1_elvis_lhs;
3667
- this.acu_1 = 0;
3668
- this.bcu_1 = false;
3669
- this.ccu_1 = false;
3670
- this.vct_1.on('message', ForkedChild$lambda(this));
3671
- this.vct_1.on('exit', ForkedChild$lambda_0(this));
3672
- this.vct_1.on('error', ForkedChild$lambda_1(this));
3673
- pipe(this, this.vct_1.stdout, 'stdout');
3674
- pipe(this, this.vct_1.stderr, 'stderr');
3675
- }
3676
- protoOf(ForkedChild).jcv = function (text) {
3760
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toString(tmp0_safe_receiver);
3761
+ tmp.dcv_1 = tmp1_elvis_lhs == null ? '?' : tmp1_elvis_lhs;
3762
+ this.ecv_1 = 0;
3763
+ this.fcv_1 = false;
3764
+ this.gcv_1 = false;
3765
+ this.zcu_1.on('message', ForkedChild$lambda(this));
3766
+ this.zcu_1.on('exit', ForkedChild$lambda_0(this));
3767
+ this.zcu_1.on('error', ForkedChild$lambda_1(this));
3768
+ pipe(this, this.zcu_1.stdout, 'stdout');
3769
+ pipe(this, this.zcu_1.stderr, 'stderr');
3770
+ }
3771
+ protoOf(ForkedChild).ncw = function (text) {
3677
3772
  var tmp;
3678
3773
  try {
3679
3774
  var tmp_0;
3680
- if (this.bcu_1 || this.vct_1.connected != true) {
3775
+ if (this.fcv_1 || this.zcu_1.connected != true) {
3681
3776
  tmp_0 = false;
3682
3777
  } else {
3683
- this.vct_1.send(text);
3778
+ this.zcu_1.send(text);
3684
3779
  tmp_0 = true;
3685
3780
  }
3686
3781
  tmp = tmp_0;
@@ -3696,15 +3791,15 @@ protoOf(ForkedChild).jcv = function (text) {
3696
3791
  }
3697
3792
  return tmp;
3698
3793
  };
3699
- protoOf(ForkedChild).icv = function () {
3700
- if (this.bcu_1)
3794
+ protoOf(ForkedChild).mcw = function () {
3795
+ if (this.fcv_1)
3701
3796
  return Unit_instance;
3702
- this.ccu_1 = true;
3797
+ this.gcv_1 = true;
3703
3798
  // Inline function 'kotlin.runCatching' call
3704
3799
  var tmp;
3705
3800
  try {
3706
3801
  // Inline function 'kotlin.Companion.success' call
3707
- var value = this.vct_1.kill('SIGKILL');
3802
+ var value = this.zcu_1.kill('SIGKILL');
3708
3803
  tmp = _Result___init__impl__xyqfz8(value);
3709
3804
  } catch ($p) {
3710
3805
  var tmp_0;
@@ -3718,14 +3813,14 @@ protoOf(ForkedChild).icv = function () {
3718
3813
  tmp = tmp_0;
3719
3814
  }
3720
3815
  };
3721
- protoOf(ForkedChild).dcu = function (grace) {
3722
- if (this.bcu_1)
3816
+ protoOf(ForkedChild).hcv = function (grace) {
3817
+ if (this.fcv_1)
3723
3818
  return Unit_instance;
3724
3819
  // Inline function 'kotlin.runCatching' call
3725
3820
  var tmp;
3726
3821
  try {
3727
- if (this.vct_1.connected == true) {
3728
- this.vct_1.disconnect();
3822
+ if (this.zcu_1.connected == true) {
3823
+ this.zcu_1.disconnect();
3729
3824
  }
3730
3825
  // Inline function 'kotlin.Companion.success' call
3731
3826
  tmp = _Result___init__impl__xyqfz8(Unit_instance);
@@ -3772,20 +3867,20 @@ function NodeWasmProver$prove$slambda$slambda$lambda(line) {
3772
3867
  return Unit_instance;
3773
3868
  }
3774
3869
  function NodeWasmProver$prove$slambda$slambda($proof, $config, $host, this$0, resultContinuation) {
3775
- this.ycv_1 = $proof;
3776
- this.zcv_1 = $config;
3777
- this.acw_1 = $host;
3778
- this.bcw_1 = this$0;
3870
+ this.ccx_1 = $proof;
3871
+ this.dcx_1 = $config;
3872
+ this.ecx_1 = $host;
3873
+ this.fcx_1 = this$0;
3779
3874
  CoroutineImpl.call(this, resultContinuation);
3780
3875
  }
3781
- protoOf(NodeWasmProver$prove$slambda$slambda).fci = function ($this$async, $completion) {
3876
+ protoOf(NodeWasmProver$prove$slambda$slambda).fcj = function ($this$async, $completion) {
3782
3877
  var tmp = this.x1o($this$async, $completion);
3783
3878
  tmp.k9_1 = Unit_instance;
3784
3879
  tmp.l9_1 = null;
3785
3880
  return tmp.q9();
3786
3881
  };
3787
3882
  protoOf(NodeWasmProver$prove$slambda$slambda).da = function (p1, $completion) {
3788
- return this.fci((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
3883
+ return this.fcj((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
3789
3884
  };
3790
3885
  protoOf(NodeWasmProver$prove$slambda$slambda).q9 = function () {
3791
3886
  var suspendResult = this.k9_1;
@@ -3796,9 +3891,9 @@ protoOf(NodeWasmProver$prove$slambda$slambda).q9 = function () {
3796
3891
  case 0:
3797
3892
  this.j9_1 = 2;
3798
3893
  this.i9_1 = 1;
3799
- var tmp_0 = new HostedProofRequest(this.ycv_1.scm_1, this.ycv_1.tcm_1, this.ycv_1.ucm_1);
3800
- var tmp_1 = this.bcw_1.dcw_1.rp();
3801
- suspendResult = runHostedProof(tmp_0, this.zcv_1, this.acw_1, tmp_1, NodeWasmProver$prove$slambda$slambda$lambda, this);
3894
+ var tmp_0 = new HostedProofRequest(this.ccx_1.ucn_1, this.ccx_1.vcn_1, this.ccx_1.wcn_1);
3895
+ var tmp_1 = this.fcx_1.hcx_1.rp();
3896
+ suspendResult = runHostedProof(tmp_0, this.dcx_1, this.ecx_1, tmp_1, NodeWasmProver$prove$slambda$slambda$lambda, this);
3802
3897
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3803
3898
  return suspendResult;
3804
3899
  }
@@ -3821,27 +3916,27 @@ protoOf(NodeWasmProver$prove$slambda$slambda).q9 = function () {
3821
3916
  while (true);
3822
3917
  };
3823
3918
  protoOf(NodeWasmProver$prove$slambda$slambda).x1o = function ($this$async, completion) {
3824
- var i = new NodeWasmProver$prove$slambda$slambda(this.ycv_1, this.zcv_1, this.acw_1, this.bcw_1, completion);
3825
- i.ccw_1 = $this$async;
3919
+ var i = new NodeWasmProver$prove$slambda$slambda(this.ccx_1, this.dcx_1, this.ecx_1, this.fcx_1, completion);
3920
+ i.gcx_1 = $this$async;
3826
3921
  return i;
3827
3922
  };
3828
3923
  function NodeWasmProver$prove$slambda$slambda_0($proof, $config, $host, this$0, resultContinuation) {
3829
3924
  var i = new NodeWasmProver$prove$slambda$slambda($proof, $config, $host, this$0, resultContinuation);
3830
3925
  return constructCallableReference(function ($this$async, $completion) {
3831
- return i.fci($this$async, $completion);
3926
+ return i.fcj($this$async, $completion);
3832
3927
  }, 1);
3833
3928
  }
3834
3929
  function NodeWasmProver$prove$slambda$slambda_1(resultContinuation) {
3835
3930
  CoroutineImpl.call(this, resultContinuation);
3836
3931
  }
3837
- protoOf(NodeWasmProver$prove$slambda$slambda_1).ncw = function (presentation, $completion) {
3838
- var tmp = this.ocw(presentation, $completion);
3932
+ protoOf(NodeWasmProver$prove$slambda$slambda_1).rcx = function (presentation, $completion) {
3933
+ var tmp = this.scx(presentation, $completion);
3839
3934
  tmp.k9_1 = Unit_instance;
3840
3935
  tmp.l9_1 = null;
3841
3936
  return tmp.q9();
3842
3937
  };
3843
3938
  protoOf(NodeWasmProver$prove$slambda$slambda_1).da = function (p1, $completion) {
3844
- return this.ncw((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
3939
+ return this.rcx((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
3845
3940
  };
3846
3941
  protoOf(NodeWasmProver$prove$slambda$slambda_1).q9 = function () {
3847
3942
  var suspendResult = this.k9_1;
@@ -3850,7 +3945,7 @@ protoOf(NodeWasmProver$prove$slambda$slambda_1).q9 = function () {
3850
3945
  var tmp = this.i9_1;
3851
3946
  if (tmp === 0) {
3852
3947
  this.j9_1 = 1;
3853
- return new Proved_1(this.mcw_1);
3948
+ return new Proved_1(this.qcx_1);
3854
3949
  } else if (tmp === 1) {
3855
3950
  throw this.l9_1;
3856
3951
  }
@@ -3860,29 +3955,29 @@ protoOf(NodeWasmProver$prove$slambda$slambda_1).q9 = function () {
3860
3955
  }
3861
3956
  while (true);
3862
3957
  };
3863
- protoOf(NodeWasmProver$prove$slambda$slambda_1).ocw = function (presentation, completion) {
3958
+ protoOf(NodeWasmProver$prove$slambda$slambda_1).scx = function (presentation, completion) {
3864
3959
  var i = new NodeWasmProver$prove$slambda$slambda_1(completion);
3865
- i.mcw_1 = presentation;
3960
+ i.qcx_1 = presentation;
3866
3961
  return i;
3867
3962
  };
3868
3963
  function NodeWasmProver$prove$slambda$slambda_2(resultContinuation) {
3869
3964
  var i = new NodeWasmProver$prove$slambda$slambda_1(resultContinuation);
3870
3965
  return constructCallableReference(function (presentation, $completion) {
3871
- return i.ncw(presentation, $completion);
3966
+ return i.rcx(presentation, $completion);
3872
3967
  }, 1);
3873
3968
  }
3874
3969
  function NodeWasmProver$prove$slambda$slambda_3($proving, resultContinuation) {
3875
- this.xcw_1 = $proving;
3970
+ this.bcy_1 = $proving;
3876
3971
  CoroutineImpl.call(this, resultContinuation);
3877
3972
  }
3878
- protoOf(NodeWasmProver$prove$slambda$slambda_3).zcw = function (failure, $completion) {
3879
- var tmp = this.acx(failure, $completion);
3973
+ protoOf(NodeWasmProver$prove$slambda$slambda_3).dcy = function (failure, $completion) {
3974
+ var tmp = this.ecy(failure, $completion);
3880
3975
  tmp.k9_1 = Unit_instance;
3881
3976
  tmp.l9_1 = null;
3882
3977
  return tmp.q9();
3883
3978
  };
3884
3979
  protoOf(NodeWasmProver$prove$slambda$slambda_3).da = function (p1, $completion) {
3885
- return this.zcw((!(p1 == null) ? isInterface(p1, ProofFailure) : false) ? p1 : THROW_CCE(), $completion);
3980
+ return this.dcy((!(p1 == null) ? isInterface(p1, ProofFailure) : false) ? p1 : THROW_CCE(), $completion);
3886
3981
  };
3887
3982
  protoOf(NodeWasmProver$prove$slambda$slambda_3).q9 = function () {
3888
3983
  var suspendResult = this.k9_1;
@@ -3891,8 +3986,8 @@ protoOf(NodeWasmProver$prove$slambda$slambda_3).q9 = function () {
3891
3986
  var tmp = this.i9_1;
3892
3987
  if (tmp === 0) {
3893
3988
  this.j9_1 = 1;
3894
- this.xcw_1.ez();
3895
- return new Failed_1(this.ycw_1, true);
3989
+ this.bcy_1.ez();
3990
+ return new Failed_1(this.ccy_1, true);
3896
3991
  } else if (tmp === 1) {
3897
3992
  throw this.l9_1;
3898
3993
  }
@@ -3902,15 +3997,15 @@ protoOf(NodeWasmProver$prove$slambda$slambda_3).q9 = function () {
3902
3997
  }
3903
3998
  while (true);
3904
3999
  };
3905
- protoOf(NodeWasmProver$prove$slambda$slambda_3).acx = function (failure, completion) {
3906
- var i = new NodeWasmProver$prove$slambda$slambda_3(this.xcw_1, completion);
3907
- i.ycw_1 = failure;
4000
+ protoOf(NodeWasmProver$prove$slambda$slambda_3).ecy = function (failure, completion) {
4001
+ var i = new NodeWasmProver$prove$slambda$slambda_3(this.bcy_1, completion);
4002
+ i.ccy_1 = failure;
3908
4003
  return i;
3909
4004
  };
3910
4005
  function NodeWasmProver$prove$slambda$slambda_4($proving, resultContinuation) {
3911
4006
  var i = new NodeWasmProver$prove$slambda$slambda_3($proving, resultContinuation);
3912
4007
  return constructCallableReference(function (failure, $completion) {
3913
- return i.zcw(failure, $completion);
4008
+ return i.dcy(failure, $completion);
3914
4009
  }, 1);
3915
4010
  }
3916
4011
  function printStats($this, started) {
@@ -3926,46 +4021,46 @@ function printStats($this, started) {
3926
4021
  function classify($this, error, record) {
3927
4022
  var tmp = generateSequence(error, NodeWasmProver$classify$lambda);
3928
4023
  var message = joinToString_0(distinct(mapNotNull(tmp, NodeWasmProver$classify$lambda_0)), ': ');
3929
- var tmp0_safe_receiver = record.icx_1;
4024
+ var tmp0_safe_receiver = record.mcy_1;
3930
4025
  if (tmp0_safe_receiver == null)
3931
4026
  null;
3932
4027
  else {
3933
4028
  // Inline function 'kotlin.let' call
3934
4029
  return new Other('the upgrade could not be signed: ' + tmp0_safe_receiver);
3935
4030
  }
3936
- var tmp1_elvis_lhs = ProofFailures_getInstance().ubg(record.dcx_1, record.ecx_1, record.fcx_1, record.hcx_1, record.gcx_1, !record.bcx_1 || record.ccx_1 || !(record.dcx_1 == null), message);
4031
+ var tmp1_elvis_lhs = ProofFailures_getInstance().rbg(record.hcy_1, record.icy_1, record.jcy_1, record.lcy_1, record.kcy_1, !record.fcy_1 || record.gcy_1 || !(record.hcy_1 == null), message);
3937
4032
  return tmp1_elvis_lhs == null ? new Other(message) : tmp1_elvis_lhs;
3938
4033
  }
3939
4034
  function Companion_14() {
3940
- Companion_instance_17 = this;
3941
- this.kcx_1 = numberRangeToNumber(200, 299);
3942
- this.lcx_1 = new Long(1000, 0);
3943
- this.mcx_1 = new Long(1024, 0);
4035
+ Companion_instance_18 = this;
4036
+ this.ocy_1 = numberRangeToNumber(200, 299);
4037
+ this.pcy_1 = new Long(1000, 0);
4038
+ this.qcy_1 = new Long(1024, 0);
3944
4039
  }
3945
- var Companion_instance_17;
4040
+ var Companion_instance_18;
3946
4041
  function Companion_getInstance_17() {
3947
- if (Companion_instance_17 == null)
4042
+ if (Companion_instance_18 == null)
3948
4043
  new Companion_14();
3949
- return Companion_instance_17;
4044
+ return Companion_instance_18;
3950
4045
  }
3951
4046
  function NodeWasmProver$prove$lambda($settings) {
3952
4047
  return function (path) {
3953
- var tmp = com_dmarket_p2p_headless_node_nodePath_idbzon.join($settings.hcm_1, path);
4048
+ var tmp = com_dmarket_p2p_headless_node_nodePath_idbzon.join($settings.hcn_1, path);
3954
4049
  return fileUrl((!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : THROW_CCE());
3955
4050
  };
3956
4051
  }
3957
4052
  function NodeWasmProver$prove$slambda($settings, resultContinuation) {
3958
- this.vcx_1 = $settings;
4053
+ this.zcy_1 = $settings;
3959
4054
  CoroutineImpl.call(this, resultContinuation);
3960
4055
  }
3961
- protoOf(NodeWasmProver$prove$slambda).wcx = function ($completion) {
3962
- var tmp = this.p32($completion);
4056
+ protoOf(NodeWasmProver$prove$slambda).acz = function ($completion) {
4057
+ var tmp = this.q32($completion);
3963
4058
  tmp.k9_1 = Unit_instance;
3964
4059
  tmp.l9_1 = null;
3965
4060
  return tmp.q9();
3966
4061
  };
3967
4062
  protoOf(NodeWasmProver$prove$slambda).ca = function ($completion) {
3968
- return this.wcx($completion);
4063
+ return this.acz($completion);
3969
4064
  };
3970
4065
  protoOf(NodeWasmProver$prove$slambda).q9 = function () {
3971
4066
  var suspendResult = this.k9_1;
@@ -3976,7 +4071,7 @@ protoOf(NodeWasmProver$prove$slambda).q9 = function () {
3976
4071
  case 0:
3977
4072
  this.j9_1 = 2;
3978
4073
  this.i9_1 = 1;
3979
- var tmp_0 = com_dmarket_p2p_headless_node_nodePath_idbzon.join(this.vcx_1.hcm_1, 'pkg', 'client_wasm_bg.wasm');
4074
+ var tmp_0 = com_dmarket_p2p_headless_node_nodePath_idbzon.join(this.zcy_1.hcn_1, 'pkg', 'client_wasm_bg.wasm');
3980
4075
  suspendResult = compileWasm((!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : THROW_CCE(), this);
3981
4076
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3982
4077
  return suspendResult;
@@ -3999,28 +4094,28 @@ protoOf(NodeWasmProver$prove$slambda).q9 = function () {
3999
4094
  }
4000
4095
  while (true);
4001
4096
  };
4002
- protoOf(NodeWasmProver$prove$slambda).p32 = function (completion) {
4003
- return new NodeWasmProver$prove$slambda(this.vcx_1, completion);
4097
+ protoOf(NodeWasmProver$prove$slambda).q32 = function (completion) {
4098
+ return new NodeWasmProver$prove$slambda(this.zcy_1, completion);
4004
4099
  };
4005
4100
  function NodeWasmProver$prove$slambda_0($settings, resultContinuation) {
4006
4101
  var i = new NodeWasmProver$prove$slambda($settings, resultContinuation);
4007
4102
  return constructCallableReference(function ($completion) {
4008
- return i.wcx($completion);
4103
+ return i.acz($completion);
4009
4104
  }, 0);
4010
4105
  }
4011
4106
  function NodeWasmProver$prove$slambda_1($record, $headers, resultContinuation) {
4012
- this.fcy_1 = $record;
4013
- this.gcy_1 = $headers;
4107
+ this.jcz_1 = $record;
4108
+ this.kcz_1 = $headers;
4014
4109
  CoroutineImpl.call(this, resultContinuation);
4015
4110
  }
4016
- protoOf(NodeWasmProver$prove$slambda_1).wcx = function ($completion) {
4017
- var tmp = this.p32($completion);
4111
+ protoOf(NodeWasmProver$prove$slambda_1).acz = function ($completion) {
4112
+ var tmp = this.q32($completion);
4018
4113
  tmp.k9_1 = Unit_instance;
4019
4114
  tmp.l9_1 = null;
4020
4115
  return tmp.q9();
4021
4116
  };
4022
4117
  protoOf(NodeWasmProver$prove$slambda_1).ca = function ($completion) {
4023
- return this.wcx($completion);
4118
+ return this.acz($completion);
4024
4119
  };
4025
4120
  protoOf(NodeWasmProver$prove$slambda_1).q9 = function () {
4026
4121
  var suspendResult = this.k9_1;
@@ -4030,17 +4125,17 @@ protoOf(NodeWasmProver$prove$slambda_1).q9 = function () {
4030
4125
  switch (tmp) {
4031
4126
  case 0:
4032
4127
  this.j9_1 = 4;
4033
- this.fcy_1.bcx_1 = true;
4128
+ this.jcz_1.fcy_1 = true;
4034
4129
  this.j9_1 = 2;
4035
4130
  this.i9_1 = 1;
4036
- suspendResult = this.gcy_1(this);
4131
+ suspendResult = this.kcz_1(this);
4037
4132
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4038
4133
  return suspendResult;
4039
4134
  }
4040
4135
 
4041
4136
  continue $sm;
4042
4137
  case 1:
4043
- this.hcy_1 = suspendResult;
4138
+ this.lcz_1 = suspendResult;
4044
4139
  this.j9_1 = 4;
4045
4140
  this.i9_1 = 3;
4046
4141
  continue $sm;
@@ -4056,9 +4151,9 @@ protoOf(NodeWasmProver$prove$slambda_1).q9 = function () {
4056
4151
  if (tmp_2 instanceof Error) {
4057
4152
  var e_0 = this.l9_1;
4058
4153
  var tmp_3 = this;
4059
- var tmp_4 = this.fcy_1;
4154
+ var tmp_4 = this.jcz_1;
4060
4155
  var tmp0_elvis_lhs = e_0.message;
4061
- tmp_4.icx_1 = tmp0_elvis_lhs == null ? 'the upgrade could not be signed' : tmp0_elvis_lhs;
4156
+ tmp_4.mcy_1 = tmp0_elvis_lhs == null ? 'the upgrade could not be signed' : tmp0_elvis_lhs;
4062
4157
  throw e_0;
4063
4158
  } else {
4064
4159
  throw this.l9_1;
@@ -4067,8 +4162,8 @@ protoOf(NodeWasmProver$prove$slambda_1).q9 = function () {
4067
4162
 
4068
4163
  case 3:
4069
4164
  this.j9_1 = 4;
4070
- var signed = this.hcy_1;
4071
- return headerWebSocket(signed.nbg_1, this.fcy_1);
4165
+ var signed = this.lcz_1;
4166
+ return headerWebSocket(signed.kbg_1, this.jcz_1);
4072
4167
  case 4:
4073
4168
  throw this.l9_1;
4074
4169
  }
@@ -4083,31 +4178,31 @@ protoOf(NodeWasmProver$prove$slambda_1).q9 = function () {
4083
4178
  }
4084
4179
  while (true);
4085
4180
  };
4086
- protoOf(NodeWasmProver$prove$slambda_1).p32 = function (completion) {
4087
- return new NodeWasmProver$prove$slambda_1(this.fcy_1, this.gcy_1, completion);
4181
+ protoOf(NodeWasmProver$prove$slambda_1).q32 = function (completion) {
4182
+ return new NodeWasmProver$prove$slambda_1(this.jcz_1, this.kcz_1, completion);
4088
4183
  };
4089
4184
  function NodeWasmProver$prove$slambda_2($record, $headers, resultContinuation) {
4090
4185
  var i = new NodeWasmProver$prove$slambda_1($record, $headers, resultContinuation);
4091
4186
  return constructCallableReference(function ($completion) {
4092
- return i.wcx($completion);
4187
+ return i.acz($completion);
4093
4188
  }, 0);
4094
4189
  }
4095
- function NodeWasmProver$prove$lambda_0($settings, $record, $targetConnector) {
4190
+ function NodeWasmProver$prove$lambda_0($settings, $record) {
4096
4191
  return function (serverName, port) {
4097
- var tmp0_elvis_lhs = $settings.jcm_1;
4098
- return recordedTargetChannel(tmp0_elvis_lhs == null ? serverName + ':' + port : tmp0_elvis_lhs, $record, VOID, $targetConnector);
4192
+ var tmp0_elvis_lhs = $settings.jcn_1;
4193
+ return recordedTargetChannel(tmp0_elvis_lhs == null ? serverName + ':' + port : tmp0_elvis_lhs, $record, VOID, nodeTcpConnector($settings.hcn_1));
4099
4194
  };
4100
4195
  }
4101
4196
  function NodeWasmProver$prove$lambda_1($record) {
4102
4197
  return function (status) {
4103
- $record.hcx_1 = status;
4104
- var progression = Companion_getInstance_17().kcx_1;
4198
+ $record.lcy_1 = status;
4199
+ var progression = Companion_getInstance_17().ocy_1;
4105
4200
  var containsLower = progression.s1_1;
4106
4201
  var containsUpper = progression.t1_1;
4107
4202
  // Inline function 'kotlin.check' call
4108
4203
  if (!(containsLower <= status ? status <= containsUpper : false)) {
4109
4204
  var message = 'Steam answered HTTP ' + status;
4110
- throw IllegalStateException_init_$Create$(toString_0(message));
4205
+ throw IllegalStateException_init_$Create$(toString(message));
4111
4206
  }
4112
4207
  return Unit_instance;
4113
4208
  };
@@ -4119,21 +4214,21 @@ function NodeWasmProver$prove$lambda_2($refused) {
4119
4214
  };
4120
4215
  }
4121
4216
  function NodeWasmProver$prove$slambda_3($refused, $proof, $config, $host, this$0, resultContinuation) {
4122
- this.qcy_1 = $refused;
4123
- this.rcy_1 = $proof;
4124
- this.scy_1 = $config;
4125
- this.tcy_1 = $host;
4126
- this.ucy_1 = this$0;
4217
+ this.ucz_1 = $refused;
4218
+ this.vcz_1 = $proof;
4219
+ this.wcz_1 = $config;
4220
+ this.xcz_1 = $host;
4221
+ this.ycz_1 = this$0;
4127
4222
  CoroutineImpl.call(this, resultContinuation);
4128
4223
  }
4129
- protoOf(NodeWasmProver$prove$slambda_3).wcy = function ($this$coroutineScope, $completion) {
4224
+ protoOf(NodeWasmProver$prove$slambda_3).ad0 = function ($this$coroutineScope, $completion) {
4130
4225
  var tmp = this.x1o($this$coroutineScope, $completion);
4131
4226
  tmp.k9_1 = Unit_instance;
4132
4227
  tmp.l9_1 = null;
4133
4228
  return tmp.q9();
4134
4229
  };
4135
4230
  protoOf(NodeWasmProver$prove$slambda_3).da = function (p1, $completion) {
4136
- return this.wcy((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
4231
+ return this.ad0((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
4137
4232
  };
4138
4233
  protoOf(NodeWasmProver$prove$slambda_3).q9 = function () {
4139
4234
  var suspendResult = this.k9_1;
@@ -4143,11 +4238,11 @@ protoOf(NodeWasmProver$prove$slambda_3).q9 = function () {
4143
4238
  switch (tmp) {
4144
4239
  case 0:
4145
4240
  this.j9_1 = 2;
4146
- var proving = async(this.vcy_1, VOID, VOID, NodeWasmProver$prove$slambda$slambda_0(this.rcy_1, this.scy_1, this.tcy_1, this.ucy_1, null));
4241
+ var proving = async(this.zcz_1, VOID, VOID, NodeWasmProver$prove$slambda$slambda_0(this.vcz_1, this.wcz_1, this.xcz_1, this.ycz_1, null));
4147
4242
  var $this$run = new SelectImplementation(this.o9());
4148
4243
  var tmp_0 = proving.c13();
4149
4244
  $this$run.m1t(tmp_0, NodeWasmProver$prove$slambda$slambda_2(null));
4150
- var tmp_1 = this.qcy_1.c13();
4245
+ var tmp_1 = this.ucz_1.c13();
4151
4246
  $this$run.m1t(tmp_1, NodeWasmProver$prove$slambda$slambda_4(proving, null));
4152
4247
  this.i9_1 = 1;
4153
4248
  suspendResult = $this$run.l1t(this);
@@ -4173,14 +4268,14 @@ protoOf(NodeWasmProver$prove$slambda_3).q9 = function () {
4173
4268
  while (true);
4174
4269
  };
4175
4270
  protoOf(NodeWasmProver$prove$slambda_3).x1o = function ($this$coroutineScope, completion) {
4176
- var i = new NodeWasmProver$prove$slambda_3(this.qcy_1, this.rcy_1, this.scy_1, this.tcy_1, this.ucy_1, completion);
4177
- i.vcy_1 = $this$coroutineScope;
4271
+ var i = new NodeWasmProver$prove$slambda_3(this.ucz_1, this.vcz_1, this.wcz_1, this.xcz_1, this.ycz_1, completion);
4272
+ i.zcz_1 = $this$coroutineScope;
4178
4273
  return i;
4179
4274
  };
4180
4275
  function NodeWasmProver$prove$slambda_4($refused, $proof, $config, $host, this$0, resultContinuation) {
4181
4276
  var i = new NodeWasmProver$prove$slambda_3($refused, $proof, $config, $host, this$0, resultContinuation);
4182
4277
  return constructCallableReference(function ($this$coroutineScope, $completion) {
4183
- return i.wcy($this$coroutineScope, $completion);
4278
+ return i.ad0($this$coroutineScope, $completion);
4184
4279
  }, 1);
4185
4280
  }
4186
4281
  function NodeWasmProver$classify$lambda(it) {
@@ -4191,9 +4286,9 @@ function NodeWasmProver$classify$lambda_0(it) {
4191
4286
  }
4192
4287
  function $proveCOROUTINE$_0(_this__u8e3s4, proof, headers, resultContinuation) {
4193
4288
  CoroutineImpl.call(this, resultContinuation);
4194
- this.fcz_1 = _this__u8e3s4;
4195
- this.gcz_1 = proof;
4196
- this.hcz_1 = headers;
4289
+ this.jd0_1 = _this__u8e3s4;
4290
+ this.kd0_1 = proof;
4291
+ this.ld0_1 = headers;
4197
4292
  }
4198
4293
  protoOf($proveCOROUTINE$_0).q9 = function () {
4199
4294
  var suspendResult = this.k9_1;
@@ -4204,34 +4299,33 @@ protoOf($proveCOROUTINE$_0).q9 = function () {
4204
4299
  case 0:
4205
4300
  this.j9_1 = 6;
4206
4301
  installBrowserWorker();
4207
- var settings = this.gcz_1.vcm_1;
4208
- this.kcz_1 = new ProverSessionRecord();
4209
- var targetConnector = nodeTcpConnector(settings.hcm_1);
4302
+ var settings = this.kd0_1.xcn_1;
4303
+ this.od0_1 = new ProverSessionRecord();
4210
4304
  var tmp_0 = this;
4211
4305
  var tmp_1 = NodeWasmProver$prove$lambda(settings);
4212
4306
  var tmp_2 = NodeWasmProver$prove$slambda_0(settings, null);
4213
- var tmp_3 = NodeWasmProver$prove$slambda_2(this.kcz_1, this.hcz_1, null);
4214
- var tmp_4 = NodeWasmProver$prove$lambda_0(settings, this.kcz_1, targetConnector);
4215
- tmp_0.lcz_1 = new WasmProverHost(tmp_1, tmp_2, tmp_3, tmp_4, NodeWasmProver$prove$lambda_1(this.kcz_1));
4216
- this.mcz_1 = new TrackerConfig(VOID, VOID, VOID, VOID, VOID, new NotaryConfig(VOID, settings.fcm_1, VOID, VOID, VOID, VOID, settings.gcm_1, VOID, VOID, VOID, settings.icm_1));
4217
- this.icz_1 = get_nodeProcess().cpuUsage();
4218
- this.ncz_1 = CompletableDeferred();
4219
- var tmp_5 = this.kcz_1;
4220
- tmp_5.jcx_1 = NodeWasmProver$prove$lambda_2(this.ncz_1);
4307
+ var tmp_3 = NodeWasmProver$prove$slambda_2(this.od0_1, this.ld0_1, null);
4308
+ var tmp_4 = NodeWasmProver$prove$lambda_0(settings, this.od0_1);
4309
+ tmp_0.pd0_1 = new WasmProverHost(tmp_1, tmp_2, tmp_3, tmp_4, NodeWasmProver$prove$lambda_1(this.od0_1));
4310
+ this.qd0_1 = new TrackerConfig(VOID, VOID, VOID, VOID, VOID, new NotaryConfig(VOID, settings.fcn_1, VOID, VOID, VOID, VOID, settings.gcn_1, VOID, VOID, VOID, settings.icn_1, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, settings.kcn_1.l69_1, settings.lcn_1));
4311
+ this.md0_1 = get_nodeProcess().cpuUsage();
4312
+ this.rd0_1 = CompletableDeferred();
4313
+ var tmp_5 = this.od0_1;
4314
+ tmp_5.ncy_1 = NodeWasmProver$prove$lambda_2(this.rd0_1);
4221
4315
  this.i9_1 = 1;
4222
4316
  continue $sm;
4223
4317
  case 1:
4224
4318
  this.j9_1 = 4;
4225
4319
  this.j9_1 = 3;
4226
4320
  this.i9_1 = 2;
4227
- suspendResult = coroutineScope(NodeWasmProver$prove$slambda_4(this.ncz_1, this.gcz_1, this.mcz_1, this.lcz_1, this.fcz_1, null), this);
4321
+ suspendResult = coroutineScope(NodeWasmProver$prove$slambda_4(this.rd0_1, this.kd0_1, this.qd0_1, this.pd0_1, this.jd0_1, null), this);
4228
4322
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4229
4323
  return suspendResult;
4230
4324
  }
4231
4325
 
4232
4326
  continue $sm;
4233
4327
  case 2:
4234
- this.jcz_1 = suspendResult;
4328
+ this.nd0_1 = suspendResult;
4235
4329
  this.j9_1 = 6;
4236
4330
  this.i9_1 = 5;
4237
4331
  continue $sm;
@@ -4247,7 +4341,7 @@ protoOf($proveCOROUTINE$_0).q9 = function () {
4247
4341
  if (tmp_8 instanceof Error) {
4248
4342
  var e_0 = this.l9_1;
4249
4343
  var tmp_9 = this;
4250
- tmp_9.jcz_1 = new Failed_1(classify(this.fcz_1, e_0, this.kcz_1));
4344
+ tmp_9.nd0_1 = new Failed_1(classify(this.jd0_1, e_0, this.od0_1));
4251
4345
  this.j9_1 = 6;
4252
4346
  this.i9_1 = 5;
4253
4347
  continue $sm;
@@ -4259,12 +4353,12 @@ protoOf($proveCOROUTINE$_0).q9 = function () {
4259
4353
  case 4:
4260
4354
  this.j9_1 = 6;
4261
4355
  var t = this.l9_1;
4262
- printStats(this.fcz_1, this.icz_1);
4356
+ printStats(this.jd0_1, this.md0_1);
4263
4357
  throw t;
4264
4358
  case 5:
4265
- var tmp_10 = this.jcz_1;
4359
+ var tmp_10 = this.nd0_1;
4266
4360
  this.j9_1 = 6;
4267
- printStats(this.fcz_1, this.icz_1);
4361
+ printStats(this.jd0_1, this.md0_1);
4268
4362
  return tmp_10;
4269
4363
  case 6:
4270
4364
  throw this.l9_1;
@@ -4282,9 +4376,9 @@ protoOf($proveCOROUTINE$_0).q9 = function () {
4282
4376
  };
4283
4377
  function NodeWasmProver(clock) {
4284
4378
  Companion_getInstance_17();
4285
- this.dcw_1 = clock;
4379
+ this.hcx_1 = clock;
4286
4380
  }
4287
- protoOf(NodeWasmProver).ocz = function (proof, headers, $completion) {
4381
+ protoOf(NodeWasmProver).sd0 = function (proof, headers, $completion) {
4288
4382
  var tmp = new $proveCOROUTINE$_0(this, proof, headers, $completion);
4289
4383
  tmp.k9_1 = Unit_instance;
4290
4384
  tmp.l9_1 = null;
@@ -4302,7 +4396,7 @@ function compileWasm(path, $completion) {
4302
4396
  }
4303
4397
  function $compileWasmCOROUTINE$(path, resultContinuation) {
4304
4398
  CoroutineImpl.call(this, resultContinuation);
4305
- this.xcz_1 = path;
4399
+ this.bd1_1 = path;
4306
4400
  }
4307
4401
  protoOf($compileWasmCOROUTINE$).q9 = function () {
4308
4402
  var suspendResult = this.k9_1;
@@ -4313,7 +4407,7 @@ protoOf($compileWasmCOROUTINE$).q9 = function () {
4313
4407
  case 0:
4314
4408
  this.j9_1 = 3;
4315
4409
  this.i9_1 = 1;
4316
- var this_0 = com_dmarket_p2p_headless_node_nodeFs_vfkcsf.promises.readFile(this.xcz_1);
4410
+ var this_0 = com_dmarket_p2p_headless_node_nodeFs_vfkcsf.promises.readFile(this.bd1_1);
4317
4411
  suspendResult = await_0(this_0, this);
4318
4412
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4319
4413
  return suspendResult;
@@ -4388,15 +4482,15 @@ function get_UNEXPECTED_RESPONSE() {
4388
4482
  }
4389
4483
  var UNEXPECTED_RESPONSE;
4390
4484
  function ProverSessionRecord() {
4391
- this.bcx_1 = false;
4392
- this.ccx_1 = false;
4393
- this.dcx_1 = null;
4394
- this.ecx_1 = null;
4395
- this.fcx_1 = null;
4396
- this.gcx_1 = null;
4397
- this.hcx_1 = null;
4398
- this.icx_1 = null;
4399
- this.jcx_1 = null;
4485
+ this.fcy_1 = false;
4486
+ this.gcy_1 = false;
4487
+ this.hcy_1 = null;
4488
+ this.icy_1 = null;
4489
+ this.jcy_1 = null;
4490
+ this.kcy_1 = null;
4491
+ this.lcy_1 = null;
4492
+ this.mcy_1 = null;
4493
+ this.ncy_1 = null;
4400
4494
  }
4401
4495
  function headerWebSocket(headers_0, record) {
4402
4496
  _init_properties_ProverChannels_kt__wlcf1i();
@@ -4490,7 +4584,7 @@ function nodeTcpConnector(assetsDir) {
4490
4584
  }
4491
4585
  function headerWebSocket$lambda($record) {
4492
4586
  return function () {
4493
- $record.ccx_1 = true;
4587
+ $record.gcy_1 = true;
4494
4588
  var tmp = get_nodeProcess().memoryUsage().rss;
4495
4589
  println('prover: notary connected rssMb=' + divide(numberToLong(isNumber(tmp) ? tmp : THROW_CCE()), new Long(1048576, 0)).toString());
4496
4590
  return Unit_instance;
@@ -4510,7 +4604,7 @@ function headerWebSocket$lambda_0($record) {
4510
4604
  tmp_0 = null;
4511
4605
  } else {
4512
4606
  // Inline function 'kotlin.let' call
4513
- $record.dcx_1 = tmp3_safe_receiver;
4607
+ $record.hcy_1 = tmp3_safe_receiver;
4514
4608
  tmp_0 = Unit_instance;
4515
4609
  }
4516
4610
  return tmp_0;
@@ -4519,8 +4613,8 @@ function headerWebSocket$lambda_0($record) {
4519
4613
  function headerWebSocket$lambda_1($record) {
4520
4614
  return function (code, reason) {
4521
4615
  var tmp;
4522
- if ($record.ccx_1) {
4523
- $record.ecx_1 = code;
4616
+ if ($record.gcy_1) {
4617
+ $record.icy_1 = code;
4524
4618
  var tmp_0 = $record;
4525
4619
  var tmp_1;
4526
4620
  if (reason == null) {
@@ -4536,14 +4630,14 @@ function headerWebSocket$lambda_1($record) {
4536
4630
  }
4537
4631
  tmp_1 = tmp_2;
4538
4632
  }
4539
- tmp_0.fcx_1 = tmp_1;
4633
+ tmp_0.jcy_1 = tmp_1;
4540
4634
  var tmp_3;
4541
4635
  if (!get_UNDELIBERATE_CLOSES().k1(code)) {
4542
- var tmp1_safe_receiver = $record.jcx_1;
4636
+ var tmp1_safe_receiver = $record.ncy_1;
4543
4637
  if (tmp1_safe_receiver == null)
4544
4638
  null;
4545
4639
  else
4546
- tmp1_safe_receiver(code, $record.fcx_1);
4640
+ tmp1_safe_receiver(code, $record.jcy_1);
4547
4641
  tmp_3 = Unit_instance;
4548
4642
  }
4549
4643
  tmp = tmp_3;
@@ -4554,9 +4648,9 @@ function headerWebSocket$lambda_1($record) {
4554
4648
  function recordedTargetChannel$lambda($record) {
4555
4649
  return function (message) {
4556
4650
  var tmp;
4557
- if ($record.gcx_1 == null) {
4651
+ if ($record.kcy_1 == null) {
4558
4652
  var tmp_0 = $record;
4559
- tmp_0.gcx_1 = message == null ? 'the Steam connection failed' : message;
4653
+ tmp_0.kcy_1 = message == null ? 'the Steam connection failed' : message;
4560
4654
  tmp = Unit_instance;
4561
4655
  }
4562
4656
  return Unit_instance;
@@ -4571,34 +4665,34 @@ function _init_properties_ProverChannels_kt__wlcf1i() {
4571
4665
  }
4572
4666
  }
4573
4667
  function Proved_1(presentation) {
4574
- this.ycz_1 = presentation;
4668
+ this.cd1_1 = presentation;
4575
4669
  }
4576
4670
  protoOf(Proved_1).toString = function () {
4577
- return 'Proved(presentation=' + this.ycz_1 + ')';
4671
+ return 'Proved(presentation=' + this.cd1_1 + ')';
4578
4672
  };
4579
4673
  protoOf(Proved_1).hashCode = function () {
4580
- return getStringHashCode(this.ycz_1);
4674
+ return getStringHashCode(this.cd1_1);
4581
4675
  };
4582
4676
  protoOf(Proved_1).equals = function (other) {
4583
4677
  if (this === other)
4584
4678
  return true;
4585
4679
  if (!(other instanceof Proved_1))
4586
4680
  return false;
4587
- if (!(this.ycz_1 === other.ycz_1))
4681
+ if (!(this.cd1_1 === other.cd1_1))
4588
4682
  return false;
4589
4683
  return true;
4590
4684
  };
4591
4685
  function Failed_1(failure, exitAfter) {
4592
4686
  exitAfter = exitAfter === VOID ? false : exitAfter;
4593
- this.zcz_1 = failure;
4594
- this.ad0_1 = exitAfter;
4687
+ this.dd1_1 = failure;
4688
+ this.ed1_1 = exitAfter;
4595
4689
  }
4596
4690
  protoOf(Failed_1).toString = function () {
4597
- return 'Failed(failure=' + toString_0(this.zcz_1) + ', exitAfter=' + this.ad0_1 + ')';
4691
+ return 'Failed(failure=' + toString(this.dd1_1) + ', exitAfter=' + this.ed1_1 + ')';
4598
4692
  };
4599
4693
  protoOf(Failed_1).hashCode = function () {
4600
- var result = hashCode(this.zcz_1);
4601
- result = imul(result, 31) + getBooleanHashCode(this.ad0_1) | 0;
4694
+ var result = hashCode(this.dd1_1);
4695
+ result = imul(result, 31) + getBooleanHashCode(this.ed1_1) | 0;
4602
4696
  return result;
4603
4697
  };
4604
4698
  protoOf(Failed_1).equals = function (other) {
@@ -4606,9 +4700,9 @@ protoOf(Failed_1).equals = function (other) {
4606
4700
  return true;
4607
4701
  if (!(other instanceof Failed_1))
4608
4702
  return false;
4609
- if (!equals(this.zcz_1, other.zcz_1))
4703
+ if (!equals(this.dd1_1, other.dd1_1))
4610
4704
  return false;
4611
- if (!(this.ad0_1 === other.ad0_1))
4705
+ if (!(this.ed1_1 === other.ed1_1))
4612
4706
  return false;
4613
4707
  return true;
4614
4708
  };
@@ -4662,18 +4756,18 @@ function markFirstToKill() {
4662
4756
  }
4663
4757
  }
4664
4758
  function runProverChild$lambda$slambda$slambda($waiting, $message, resultContinuation) {
4665
- this.jd0_1 = $waiting;
4666
- this.kd0_1 = $message;
4759
+ this.nd1_1 = $waiting;
4760
+ this.od1_1 = $message;
4667
4761
  CoroutineImpl.call(this, resultContinuation);
4668
4762
  }
4669
- protoOf(runProverChild$lambda$slambda$slambda).ld0 = function ($completion) {
4670
- var tmp = this.p32($completion);
4763
+ protoOf(runProverChild$lambda$slambda$slambda).pd1 = function ($completion) {
4764
+ var tmp = this.q32($completion);
4671
4765
  tmp.k9_1 = Unit_instance;
4672
4766
  tmp.l9_1 = null;
4673
4767
  return tmp.q9();
4674
4768
  };
4675
4769
  protoOf(runProverChild$lambda$slambda$slambda).ca = function ($completion) {
4676
- return this.ld0($completion);
4770
+ return this.pd1($completion);
4677
4771
  };
4678
4772
  protoOf(runProverChild$lambda$slambda$slambda).q9 = function () {
4679
4773
  var suspendResult = this.k9_1;
@@ -4684,10 +4778,10 @@ protoOf(runProverChild$lambda$slambda$slambda).q9 = function () {
4684
4778
  case 0:
4685
4779
  this.j9_1 = 2;
4686
4780
  var reply = CompletableDeferred();
4687
- var tmp0 = this.jd0_1;
4688
- var key = this.kd0_1.rcm_1;
4781
+ var tmp0 = this.nd1_1;
4782
+ var key = this.od1_1.tcn_1;
4689
4783
  tmp0.a3(key, reply);
4690
- send(ProverIpc_getInstance().mcm(new HeadersWanted(this.kd0_1.rcm_1)));
4784
+ send(ProverIpc_getInstance().ocn(new HeadersWanted(this.od1_1.tcn_1)));
4691
4785
  this.i9_1 = 1;
4692
4786
  suspendResult = reply.b13(this);
4693
4787
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -4697,12 +4791,12 @@ protoOf(runProverChild$lambda$slambda$slambda).q9 = function () {
4697
4791
  continue $sm;
4698
4792
  case 1:
4699
4793
  var answer = suspendResult;
4700
- var tmp0_elvis_lhs = answer.acn_1;
4794
+ var tmp0_elvis_lhs = answer.cco_1;
4701
4795
  var tmp_0;
4702
4796
  if (tmp0_elvis_lhs == null) {
4703
- var tmp1_elvis_lhs = answer.bcn_1;
4797
+ var tmp1_elvis_lhs = answer.dco_1;
4704
4798
  var message = tmp1_elvis_lhs == null ? 'the SDK sent no upgrade headers' : tmp1_elvis_lhs;
4705
- throw IllegalStateException_init_$Create$(toString_0(message));
4799
+ throw IllegalStateException_init_$Create$(toString(message));
4706
4800
  } else {
4707
4801
  tmp_0 = tmp0_elvis_lhs;
4708
4802
  }
@@ -4722,13 +4816,13 @@ protoOf(runProverChild$lambda$slambda$slambda).q9 = function () {
4722
4816
  }
4723
4817
  while (true);
4724
4818
  };
4725
- protoOf(runProverChild$lambda$slambda$slambda).p32 = function (completion) {
4726
- return new runProverChild$lambda$slambda$slambda(this.jd0_1, this.kd0_1, completion);
4819
+ protoOf(runProverChild$lambda$slambda$slambda).q32 = function (completion) {
4820
+ return new runProverChild$lambda$slambda$slambda(this.nd1_1, this.od1_1, completion);
4727
4821
  };
4728
4822
  function runProverChild$lambda$slambda$slambda_0($waiting, $message, resultContinuation) {
4729
4823
  var i = new runProverChild$lambda$slambda$slambda($waiting, $message, resultContinuation);
4730
4824
  return constructCallableReference(function ($completion) {
4731
- return i.ld0($completion);
4825
+ return i.pd1($completion);
4732
4826
  }, 0);
4733
4827
  }
4734
4828
  function runProverChild$lambda$slambda$lambda($process) {
@@ -4737,10 +4831,10 @@ function runProverChild$lambda$slambda$lambda($process) {
4737
4831
  };
4738
4832
  }
4739
4833
  function runProverChild$lambda$slambda($prover, $message, $waiting, $process, resultContinuation) {
4740
- this.ud0_1 = $prover;
4741
- this.vd0_1 = $message;
4742
- this.wd0_1 = $waiting;
4743
- this.xd0_1 = $process;
4834
+ this.yd1_1 = $prover;
4835
+ this.zd1_1 = $message;
4836
+ this.ad2_1 = $waiting;
4837
+ this.bd2_1 = $process;
4744
4838
  CoroutineImpl.call(this, resultContinuation);
4745
4839
  }
4746
4840
  protoOf(runProverChild$lambda$slambda).w1o = function ($this$launch, $completion) {
@@ -4760,17 +4854,17 @@ protoOf(runProverChild$lambda$slambda).q9 = function () {
4760
4854
  switch (tmp) {
4761
4855
  case 0:
4762
4856
  this.j9_1 = 4;
4763
- var headers = runProverChild$lambda$slambda$slambda_0(this.wd0_1, this.vd0_1, null);
4857
+ var headers = runProverChild$lambda$slambda$slambda_0(this.ad2_1, this.zd1_1, null);
4764
4858
  this.j9_1 = 2;
4765
4859
  this.i9_1 = 1;
4766
- suspendResult = this.ud0_1.ocz(this.vd0_1, headers, this);
4860
+ suspendResult = this.yd1_1.sd0(this.zd1_1, headers, this);
4767
4861
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4768
4862
  return suspendResult;
4769
4863
  }
4770
4864
 
4771
4865
  continue $sm;
4772
4866
  case 1:
4773
- this.zd0_1 = suspendResult;
4867
+ this.dd2_1 = suspendResult;
4774
4868
  this.j9_1 = 4;
4775
4869
  this.i9_1 = 3;
4776
4870
  continue $sm;
@@ -4782,7 +4876,7 @@ protoOf(runProverChild$lambda$slambda).q9 = function () {
4782
4876
  var tmp_1 = this;
4783
4877
  var tmp0_elvis_lhs = e.message;
4784
4878
  var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? getKClassFromExpression(e).o() : tmp0_elvis_lhs;
4785
- tmp_1.zd0_1 = new Failed_1(new Other(tmp1_elvis_lhs == null ? 'the prover failed' : tmp1_elvis_lhs));
4879
+ tmp_1.dd2_1 = new Failed_1(new Other(tmp1_elvis_lhs == null ? 'the prover failed' : tmp1_elvis_lhs));
4786
4880
  this.i9_1 = 3;
4787
4881
  continue $sm;
4788
4882
  } else {
@@ -4791,30 +4885,30 @@ protoOf(runProverChild$lambda$slambda).q9 = function () {
4791
4885
 
4792
4886
  case 3:
4793
4887
  this.j9_1 = 4;
4794
- var result = this.zd0_1;
4888
+ var result = this.dd2_1;
4795
4889
  var tmp_2 = ProverIpc_getInstance();
4796
4890
  var tmp_3;
4797
4891
  if (result instanceof Proved_1) {
4798
- tmp_3 = new Proved_0(this.vd0_1.rcm_1, result.ycz_1);
4892
+ tmp_3 = new Proved_0(this.zd1_1.tcn_1, result.cd1_1);
4799
4893
  } else {
4800
4894
  if (result instanceof Failed_1) {
4801
- tmp_3 = new Failed_0(this.vd0_1.rcm_1, result.zcz_1);
4895
+ tmp_3 = new Failed_0(this.zd1_1.tcn_1, result.dd1_1);
4802
4896
  } else {
4803
4897
  noWhenBranchMatchedException();
4804
4898
  }
4805
4899
  }
4806
4900
 
4807
- send(tmp_2.mcm(tmp_3));
4901
+ send(tmp_2.ocn(tmp_3));
4808
4902
  var tmp_4;
4809
4903
  if (result instanceof Failed_1) {
4810
- tmp_4 = result.ad0_1;
4904
+ tmp_4 = result.ed1_1;
4811
4905
  } else {
4812
4906
  tmp_4 = false;
4813
4907
  }
4814
4908
 
4815
4909
  if (tmp_4) {
4816
4910
  var tmp_5 = setTimeout;
4817
- tmp_5(runProverChild$lambda$slambda$lambda(this.xd0_1), 200);
4911
+ tmp_5(runProverChild$lambda$slambda$lambda(this.bd2_1), 200);
4818
4912
  }
4819
4913
 
4820
4914
  return Unit_instance;
@@ -4833,8 +4927,8 @@ protoOf(runProverChild$lambda$slambda).q9 = function () {
4833
4927
  while (true);
4834
4928
  };
4835
4929
  protoOf(runProverChild$lambda$slambda).x1o = function ($this$launch, completion) {
4836
- var i = new runProverChild$lambda$slambda(this.ud0_1, this.vd0_1, this.wd0_1, this.xd0_1, completion);
4837
- i.yd0_1 = $this$launch;
4930
+ var i = new runProverChild$lambda$slambda(this.yd1_1, this.zd1_1, this.ad2_1, this.bd2_1, completion);
4931
+ i.cd2_1 = $this$launch;
4838
4932
  return i;
4839
4933
  };
4840
4934
  function runProverChild$lambda$slambda_0($prover, $message, $waiting, $process, resultContinuation) {
@@ -4855,7 +4949,7 @@ function runProverChild$lambda($waiting, $scope, $prover, $process) {
4855
4949
  var tmp_1 = ProverIpc_getInstance();
4856
4950
  // Inline function 'kotlin.js.unsafeCast' call
4857
4951
  // Inline function 'kotlin.Companion.success' call
4858
- var value = tmp_1.ncm(raw);
4952
+ var value = tmp_1.pcn(raw);
4859
4953
  tmp_0 = _Result___init__impl__xyqfz8(value);
4860
4954
  } catch ($p) {
4861
4955
  var tmp_2;
@@ -4872,7 +4966,7 @@ function runProverChild$lambda($waiting, $scope, $prover, $process) {
4872
4966
  var this_0 = tmp_0;
4873
4967
  var message = _Result___get_isFailure__impl__jpiriv(this_0) ? null : _Result___get_value__impl__bjfvqg(this_0);
4874
4968
  if (message instanceof Headers) {
4875
- var tmp0_safe_receiver = $waiting.b3(message.zcm_1);
4969
+ var tmp0_safe_receiver = $waiting.b3(message.bco_1);
4876
4970
  if (tmp0_safe_receiver == null)
4877
4971
  null;
4878
4972
  else
@@ -4894,23 +4988,82 @@ function runProverChild$lambda_0($process) {
4894
4988
  return $process.exit(0);
4895
4989
  };
4896
4990
  }
4991
+ function checkProverAssets(assetsDir, mode, transport) {
4992
+ if (mode.equals(IssuanceMode_MPC_getInstance()) && transport === 'direct')
4993
+ return Unit_instance;
4994
+ var options = {encoding: 'utf8', timeout: 10000, killSignal: 'SIGKILL', maxBuffer: 16384};
4995
+ var env = {};
4996
+ // Inline function 'kotlin.collections.forEach' call
4997
+ // Inline function 'kotlin.collections.iterator' call
4998
+ var _iterator__ex2g4s = minimalProverEnv().n1().t();
4999
+ while (_iterator__ex2g4s.u()) {
5000
+ var element = _iterator__ex2g4s.v();
5001
+ // Inline function 'kotlin.collections.component1' call
5002
+ var key = element.o1();
5003
+ // Inline function 'kotlin.collections.component2' call
5004
+ var value = element.p1();
5005
+ env[key] = value;
5006
+ }
5007
+ options.env = env;
5008
+ // Inline function 'kotlin.runCatching' call
5009
+ var tmp;
5010
+ try {
5011
+ var tmp_0 = get_nodeProcess().execPath;
5012
+ // Inline function 'kotlin.arrayOf' call
5013
+ // Inline function 'kotlin.js.unsafeCast' call
5014
+ // Inline function 'kotlin.js.asDynamic' call
5015
+ var tmp$ret$7 = ['--input-type=module', '-e', "\nimport { resolve } from 'node:path';\nimport { pathToFileURL } from 'node:url';\nconst root = process.argv[1];\ntry {\n const wasm = await import(pathToFileURL(resolve(root, 'pkg/client_wasm.js')).href);\n const transport = await import(pathToFileURL(resolve(root, 'transport/dist/index.js')).href);\n process.stdout.write(JSON.stringify({\n proxy: typeof wasm.proveProxy === 'function' && typeof transport.createProxyProver === 'function',\n egress: typeof transport.connectEgressNotary === 'function',\n }));\n} catch {\n process.exitCode = 1;\n}\n", assetsDir];
5016
+ var result = com_dmarket_p2p_headless_node_nodeChildProcess_579ejd.spawnSync(tmp_0, tmp$ret$7, options);
5017
+ // Inline function 'kotlin.check' call
5018
+ if (!(result.status == 0)) {
5019
+ throw IllegalStateException_init_$Create$('Check failed.');
5020
+ }
5021
+ var exports = JSON.parse(result.stdout);
5022
+ // Inline function 'kotlin.Companion.success' call
5023
+ var value_0 = new ProverCapabilities(exports.proxy == true, exports.egress == true);
5024
+ tmp = _Result___init__impl__xyqfz8(value_0);
5025
+ } catch ($p) {
5026
+ var tmp_1;
5027
+ if ($p instanceof Error) {
5028
+ var e = $p;
5029
+ // Inline function 'kotlin.Companion.failure' call
5030
+ tmp_1 = _Result___init__impl__xyqfz8(createFailure(e));
5031
+ } else {
5032
+ throw $p;
5033
+ }
5034
+ tmp = tmp_1;
5035
+ }
5036
+ // Inline function 'kotlin.getOrElse' call
5037
+ var this_0 = tmp;
5038
+ var exception = Result__exceptionOrNull_impl_p6xea9(this_0);
5039
+ var tmp_2;
5040
+ if (exception == null) {
5041
+ tmp_2 = _Result___get_value__impl__bjfvqg(this_0);
5042
+ } else {
5043
+ // Inline function 'kotlin.error' call
5044
+ var message = 'prover assets could not be inspected: check the installed JS modules';
5045
+ throw IllegalStateException_init_$Create$(toString(message));
5046
+ }
5047
+ var capabilities = tmp_2;
5048
+ capabilities.ibh(mode, transport);
5049
+ }
4897
5050
  //region block: post-declaration
4898
- protoOf($serializer).d2l = typeParametersSerializers;
4899
- protoOf($serializer_0).d2l = typeParametersSerializers;
4900
- protoOf($serializer_1).d2l = typeParametersSerializers;
4901
- protoOf($serializer_2).d2l = typeParametersSerializers;
4902
- protoOf($serializer_3).d2l = typeParametersSerializers;
4903
- protoOf($serializer_4).d2l = typeParametersSerializers;
5051
+ protoOf($serializer).e2l = typeParametersSerializers;
5052
+ protoOf($serializer_0).e2l = typeParametersSerializers;
5053
+ protoOf($serializer_1).e2l = typeParametersSerializers;
5054
+ protoOf($serializer_2).e2l = typeParametersSerializers;
5055
+ protoOf($serializer_3).e2l = typeParametersSerializers;
5056
+ protoOf($serializer_4).e2l = typeParametersSerializers;
4904
5057
  //endregion
4905
5058
  //region block: init
4906
- Companion_instance_3 = new Companion_0();
4907
- Companion_instance_4 = new Companion_1();
4908
- Companion_instance_6 = new Companion_3();
4909
- Companion_instance_7 = new Companion_4();
4910
- Companion_instance_8 = new Companion_5();
4911
- Companion_instance_10 = new Companion_7();
4912
- Companion_instance_12 = new Companion_9();
4913
- Companion_instance_16 = new Companion_13();
5059
+ Companion_instance_4 = new Companion_0();
5060
+ Companion_instance_5 = new Companion_1();
5061
+ Companion_instance_7 = new Companion_3();
5062
+ Companion_instance_8 = new Companion_4();
5063
+ Companion_instance_9 = new Companion_5();
5064
+ Companion_instance_11 = new Companion_7();
5065
+ Companion_instance_13 = new Companion_9();
5066
+ Companion_instance_17 = new Companion_13();
4914
5067
  //endregion
4915
5068
  //region block: exports
4916
5069
  export {