game_client_logic_deb 1.7.67 → 1.8.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +915 -918
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +7607 -7746
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +2527 -2577
- package/Logic_Debertz-game_client.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
setMetadataFor(PlayerIdContract, 'PlayerIdContract', interfaceMeta);
|
|
182
182
|
setMetadataFor(GameUserInfo, 'GameUserInfo', classMeta, VOID, [PlayerIdContract]);
|
|
183
183
|
function get_amountOfCards() {
|
|
184
|
-
return this.
|
|
184
|
+
return this.b2m().n();
|
|
185
185
|
}
|
|
186
186
|
setMetadataFor(Player, 'Player', interfaceMeta, VOID, [PlayerIdContract]);
|
|
187
187
|
setMetadataFor(PlayerIndex, 'PlayerIndex', classMeta, VOID, [PlayerIdContract]);
|
|
@@ -228,20 +228,20 @@
|
|
|
228
228
|
setMetadataFor(Companion_20, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
229
229
|
setMetadataFor(Suit, 'Suit', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_22});
|
|
230
230
|
function launchUnconfinedWithLock$default(context, block, $super) {
|
|
231
|
-
context = context === VOID ? this.
|
|
232
|
-
return $super === VOID ? this.
|
|
231
|
+
context = context === VOID ? this.m2r() : context;
|
|
232
|
+
return $super === VOID ? this.n2r(context, block) : $super.n2r.call(this, context, block);
|
|
233
233
|
}
|
|
234
234
|
function launchDefault$default(context, block, $super) {
|
|
235
|
-
context = context === VOID ? this.
|
|
236
|
-
return $super === VOID ? this.
|
|
235
|
+
context = context === VOID ? this.m2r() : context;
|
|
236
|
+
return $super === VOID ? this.p2r(context, block) : $super.p2r.call(this, context, block);
|
|
237
237
|
}
|
|
238
238
|
function launchDefaultWithLock$default(context, block, $super) {
|
|
239
|
-
context = context === VOID ? this.
|
|
240
|
-
return $super === VOID ? this.
|
|
239
|
+
context = context === VOID ? this.m2r() : context;
|
|
240
|
+
return $super === VOID ? this.r2r(context, block) : $super.r2r.call(this, context, block);
|
|
241
241
|
}
|
|
242
242
|
function launchMain$default(context, block, $super) {
|
|
243
|
-
context = context === VOID ? this.
|
|
244
|
-
return $super === VOID ? this.
|
|
243
|
+
context = context === VOID ? this.m2r() : context;
|
|
244
|
+
return $super === VOID ? this.t2r(context, block) : $super.t2r.call(this, context, block);
|
|
245
245
|
}
|
|
246
246
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta);
|
|
247
247
|
setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element]);
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
return false;
|
|
272
272
|
}
|
|
273
273
|
function get_isAutoStartTimer() {
|
|
274
|
-
return !this.
|
|
274
|
+
return !this.r2u() ? !this.s2u() : false;
|
|
275
275
|
}
|
|
276
276
|
setMetadataFor(ExpectantAction, 'ExpectantAction', interfaceMeta, VOID, [BufferedAction]);
|
|
277
277
|
setMetadataFor(TimerAction, 'TimerAction', classMeta, VOID, [Action]);
|
|
@@ -318,19 +318,19 @@
|
|
|
318
318
|
function d(tag, message, payload, $super) {
|
|
319
319
|
tag = tag === VOID ? null : tag;
|
|
320
320
|
payload = payload === VOID ? null : payload;
|
|
321
|
-
return this.
|
|
321
|
+
return this.l2z(tag, message, payload);
|
|
322
322
|
}
|
|
323
323
|
function e(tag, message, exception, payload, $super) {
|
|
324
324
|
tag = tag === VOID ? null : tag;
|
|
325
325
|
message = message === VOID ? null : message;
|
|
326
326
|
exception = exception === VOID ? null : exception;
|
|
327
327
|
payload = payload === VOID ? null : payload;
|
|
328
|
-
return this.
|
|
328
|
+
return this.m2z(tag, message, exception, payload);
|
|
329
329
|
}
|
|
330
330
|
function w(tag, message, payload, $super) {
|
|
331
331
|
tag = tag === VOID ? null : tag;
|
|
332
332
|
payload = payload === VOID ? null : payload;
|
|
333
|
-
return this.
|
|
333
|
+
return this.n2z(tag, message, payload);
|
|
334
334
|
}
|
|
335
335
|
setMetadataFor(LoggerOutput, 'LoggerOutput', interfaceMeta);
|
|
336
336
|
setMetadataFor(GameLogger, 'GameLogger', interfaceMeta, VOID, [LoggerOutput]);
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
tmp = types;
|
|
351
351
|
}
|
|
352
352
|
types = tmp;
|
|
353
|
-
return this.
|
|
353
|
+
return this.u2z(types);
|
|
354
354
|
}
|
|
355
355
|
setMetadataFor(ObservableLoggerOutput, 'ObservableLoggerOutput', interfaceMeta, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
356
356
|
setMetadataFor(Companion_23, 'Companion', objectMeta);
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
setMetadataFor(PlatformLogger, 'PlatformLogger', classMeta, VOID, VOID, PlatformLogger);
|
|
360
360
|
//endregion
|
|
361
361
|
function GameEngineConfig() {
|
|
362
|
-
this.version = '1.
|
|
362
|
+
this.version = '1.8.68';
|
|
363
363
|
}
|
|
364
364
|
protoOf(GameEngineConfig).e2k = function () {
|
|
365
365
|
return this.version;
|
|
@@ -376,10 +376,6 @@
|
|
|
376
376
|
protoOf(Toggles).g2k = function () {
|
|
377
377
|
return false;
|
|
378
378
|
};
|
|
379
|
-
protoOf(Toggles).h2k = function (version) {
|
|
380
|
-
var minorVersion = get_minorVersion(version);
|
|
381
|
-
return minorVersion > 7;
|
|
382
|
-
};
|
|
383
379
|
var Toggles_instance;
|
|
384
380
|
function Toggles_getInstance() {
|
|
385
381
|
return Toggles_instance;
|
|
@@ -394,10 +390,10 @@
|
|
|
394
390
|
$serializer_instance = this;
|
|
395
391
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
396
392
|
tmp0_serialDesc.ku('playerId', false);
|
|
397
|
-
this.
|
|
393
|
+
this.h2k_1 = tmp0_serialDesc;
|
|
398
394
|
}
|
|
399
395
|
protoOf($serializer).pj = function () {
|
|
400
|
-
return this.
|
|
396
|
+
return this.h2k_1;
|
|
401
397
|
};
|
|
402
398
|
protoOf($serializer).zu = function () {
|
|
403
399
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -406,7 +402,7 @@
|
|
|
406
402
|
return [StringSerializer_getInstance()];
|
|
407
403
|
};
|
|
408
404
|
protoOf($serializer).rj = function (decoder) {
|
|
409
|
-
var tmp0_desc = this.
|
|
405
|
+
var tmp0_desc = this.h2k_1;
|
|
410
406
|
var tmp1_flag = true;
|
|
411
407
|
var tmp2_index = 0;
|
|
412
408
|
var tmp3_bitMask0 = 0;
|
|
@@ -433,14 +429,14 @@
|
|
|
433
429
|
tmp5_input.ym(tmp0_desc);
|
|
434
430
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
435
431
|
};
|
|
436
|
-
protoOf($serializer).
|
|
437
|
-
var tmp0_desc = this.
|
|
432
|
+
protoOf($serializer).i2k = function (encoder, value) {
|
|
433
|
+
var tmp0_desc = this.h2k_1;
|
|
438
434
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
439
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
435
|
+
tmp1_output.mo(tmp0_desc, 0, value.j2k_1);
|
|
440
436
|
tmp1_output.ym(tmp0_desc);
|
|
441
437
|
};
|
|
442
438
|
protoOf($serializer).qj = function (encoder, value) {
|
|
443
|
-
return this.
|
|
439
|
+
return this.i2k(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
444
440
|
};
|
|
445
441
|
var $serializer_instance;
|
|
446
442
|
function $serializer_getInstance() {
|
|
@@ -450,10 +446,10 @@
|
|
|
450
446
|
}
|
|
451
447
|
function PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
452
448
|
if (!(1 === (1 & seen1))) {
|
|
453
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance().
|
|
449
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance().h2k_1);
|
|
454
450
|
}
|
|
455
451
|
ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
456
|
-
$this.
|
|
452
|
+
$this.j2k_1 = playerId;
|
|
457
453
|
return $this;
|
|
458
454
|
}
|
|
459
455
|
function PlayerReturnsReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -461,13 +457,13 @@
|
|
|
461
457
|
}
|
|
462
458
|
function PlayerReturnsReason(playerId) {
|
|
463
459
|
ContinueGameReason.call(this);
|
|
464
|
-
this.
|
|
460
|
+
this.j2k_1 = playerId;
|
|
465
461
|
}
|
|
466
462
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
467
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
463
|
+
return 'PlayerReturnsReason(playerId=' + this.j2k_1 + ')';
|
|
468
464
|
};
|
|
469
465
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
470
|
-
return getStringHashCode(this.
|
|
466
|
+
return getStringHashCode(this.j2k_1);
|
|
471
467
|
};
|
|
472
468
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
473
469
|
if (this === other)
|
|
@@ -475,12 +471,12 @@
|
|
|
475
471
|
if (!(other instanceof PlayerReturnsReason))
|
|
476
472
|
return false;
|
|
477
473
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
478
|
-
if (!(this.
|
|
474
|
+
if (!(this.j2k_1 === tmp0_other_with_cast.j2k_1))
|
|
479
475
|
return false;
|
|
480
476
|
return true;
|
|
481
477
|
};
|
|
482
478
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
483
|
-
return $this.
|
|
479
|
+
return $this.k2k_1.o2();
|
|
484
480
|
}
|
|
485
481
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
486
482
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -502,7 +498,7 @@
|
|
|
502
498
|
Companion_instance_0 = this;
|
|
503
499
|
var tmp = this;
|
|
504
500
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
505
|
-
tmp.
|
|
501
|
+
tmp.k2k_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
506
502
|
}
|
|
507
503
|
protoOf(Companion_0).t16 = function () {
|
|
508
504
|
return _get_$cachedSerializer__te6jhj(this);
|
|
@@ -532,16 +528,16 @@
|
|
|
532
528
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
533
529
|
this.fileNameFormat = fileNameFormat;
|
|
534
530
|
}
|
|
535
|
-
protoOf(CoreConfig).
|
|
531
|
+
protoOf(CoreConfig).l2k = function () {
|
|
536
532
|
return this.fileLogsEnabled;
|
|
537
533
|
};
|
|
538
|
-
protoOf(CoreConfig).
|
|
534
|
+
protoOf(CoreConfig).m2k = function () {
|
|
539
535
|
return this.deleteFilesOnClear;
|
|
540
536
|
};
|
|
541
|
-
protoOf(CoreConfig).
|
|
537
|
+
protoOf(CoreConfig).n2k = function () {
|
|
542
538
|
return this.logsDirectoryPath;
|
|
543
539
|
};
|
|
544
|
-
protoOf(CoreConfig).
|
|
540
|
+
protoOf(CoreConfig).o2k = function () {
|
|
545
541
|
return this.fileNameFormat;
|
|
546
542
|
};
|
|
547
543
|
protoOf(CoreConfig).cd = function () {
|
|
@@ -553,10 +549,10 @@
|
|
|
553
549
|
protoOf(CoreConfig).qh = function () {
|
|
554
550
|
return this.logsDirectoryPath;
|
|
555
551
|
};
|
|
556
|
-
protoOf(CoreConfig).
|
|
552
|
+
protoOf(CoreConfig).p2k = function () {
|
|
557
553
|
return this.fileNameFormat;
|
|
558
554
|
};
|
|
559
|
-
protoOf(CoreConfig).
|
|
555
|
+
protoOf(CoreConfig).q2k = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
560
556
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
561
557
|
};
|
|
562
558
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -564,7 +560,7 @@
|
|
|
564
560
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
565
561
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
566
562
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
567
|
-
return this.
|
|
563
|
+
return this.q2k(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
568
564
|
};
|
|
569
565
|
protoOf(CoreConfig).toString = function () {
|
|
570
566
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -593,7 +589,7 @@
|
|
|
593
589
|
return true;
|
|
594
590
|
};
|
|
595
591
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
596
|
-
return $this.
|
|
592
|
+
return $this.r2k_1.o2();
|
|
597
593
|
}
|
|
598
594
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
599
595
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -607,7 +603,7 @@
|
|
|
607
603
|
RestartGameReason_instance = this;
|
|
608
604
|
var tmp = this;
|
|
609
605
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
610
|
-
tmp.
|
|
606
|
+
tmp.r2k_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
611
607
|
}
|
|
612
608
|
protoOf(RestartGameReason).toString = function () {
|
|
613
609
|
return 'RestartGameReason';
|
|
@@ -625,7 +621,7 @@
|
|
|
625
621
|
return RestartGameReason_instance;
|
|
626
622
|
}
|
|
627
623
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
628
|
-
return $this.
|
|
624
|
+
return $this.s2k_1.o2();
|
|
629
625
|
}
|
|
630
626
|
function TerminationGameReason$Companion$_anonymous__6itbqj() {
|
|
631
627
|
var tmp = getKClass(TerminationGameReason);
|
|
@@ -663,7 +659,7 @@
|
|
|
663
659
|
Companion_instance_1 = this;
|
|
664
660
|
var tmp = this;
|
|
665
661
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
666
|
-
tmp.
|
|
662
|
+
tmp.s2k_1 = lazy(tmp_0, TerminationGameReason$Companion$_anonymous__6itbqj);
|
|
667
663
|
}
|
|
668
664
|
protoOf(Companion_1).t16 = function () {
|
|
669
665
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
@@ -697,10 +693,10 @@
|
|
|
697
693
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
698
694
|
tmp0_serialDesc.ku('playerId', false);
|
|
699
695
|
tmp0_serialDesc.ku('tag', false);
|
|
700
|
-
this.
|
|
696
|
+
this.t2k_1 = tmp0_serialDesc;
|
|
701
697
|
}
|
|
702
698
|
protoOf($serializer_0).pj = function () {
|
|
703
|
-
return this.
|
|
699
|
+
return this.t2k_1;
|
|
704
700
|
};
|
|
705
701
|
protoOf($serializer_0).zu = function () {
|
|
706
702
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -709,7 +705,7 @@
|
|
|
709
705
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
710
706
|
};
|
|
711
707
|
protoOf($serializer_0).rj = function (decoder) {
|
|
712
|
-
var tmp0_desc = this.
|
|
708
|
+
var tmp0_desc = this.t2k_1;
|
|
713
709
|
var tmp1_flag = true;
|
|
714
710
|
var tmp2_index = 0;
|
|
715
711
|
var tmp3_bitMask0 = 0;
|
|
@@ -743,15 +739,15 @@
|
|
|
743
739
|
tmp6_input.ym(tmp0_desc);
|
|
744
740
|
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
745
741
|
};
|
|
746
|
-
protoOf($serializer_0).
|
|
747
|
-
var tmp0_desc = this.
|
|
742
|
+
protoOf($serializer_0).u2k = function (encoder, value) {
|
|
743
|
+
var tmp0_desc = this.t2k_1;
|
|
748
744
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
749
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
745
|
+
tmp1_output.mo(tmp0_desc, 0, value.v2k_1);
|
|
750
746
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
751
747
|
tmp1_output.ym(tmp0_desc);
|
|
752
748
|
};
|
|
753
749
|
protoOf($serializer_0).qj = function (encoder, value) {
|
|
754
|
-
return this.
|
|
750
|
+
return this.u2k(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
755
751
|
};
|
|
756
752
|
var $serializer_instance_0;
|
|
757
753
|
function $serializer_getInstance_0() {
|
|
@@ -761,10 +757,10 @@
|
|
|
761
757
|
}
|
|
762
758
|
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
763
759
|
if (!(3 === (3 & seen1))) {
|
|
764
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_0().
|
|
760
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_0().t2k_1);
|
|
765
761
|
}
|
|
766
762
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
767
|
-
$this.
|
|
763
|
+
$this.v2k_1 = playerId;
|
|
768
764
|
$this.tag = tag;
|
|
769
765
|
return $this;
|
|
770
766
|
}
|
|
@@ -773,37 +769,37 @@
|
|
|
773
769
|
}
|
|
774
770
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
775
771
|
TerminationGameReason.call(this);
|
|
776
|
-
this.
|
|
772
|
+
this.v2k_1 = playerId;
|
|
777
773
|
this.tag = tag;
|
|
778
774
|
}
|
|
779
|
-
protoOf(PlayerLostConnectionReason).
|
|
780
|
-
return this.
|
|
775
|
+
protoOf(PlayerLostConnectionReason).w2k = function () {
|
|
776
|
+
return this.v2k_1;
|
|
781
777
|
};
|
|
782
|
-
protoOf(PlayerLostConnectionReason).
|
|
778
|
+
protoOf(PlayerLostConnectionReason).x2k = function () {
|
|
783
779
|
return this.tag;
|
|
784
780
|
};
|
|
785
|
-
protoOf(PlayerLostConnectionReason).
|
|
781
|
+
protoOf(PlayerLostConnectionReason).y2k = function () {
|
|
786
782
|
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
787
783
|
};
|
|
788
784
|
protoOf(PlayerLostConnectionReason).cd = function () {
|
|
789
|
-
return this.
|
|
785
|
+
return this.v2k_1;
|
|
790
786
|
};
|
|
791
787
|
protoOf(PlayerLostConnectionReason).dd = function () {
|
|
792
788
|
return this.tag;
|
|
793
789
|
};
|
|
794
|
-
protoOf(PlayerLostConnectionReason).
|
|
790
|
+
protoOf(PlayerLostConnectionReason).z2k = function (playerId, tag) {
|
|
795
791
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
796
792
|
};
|
|
797
793
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
798
|
-
playerId = playerId === VOID ? this.
|
|
794
|
+
playerId = playerId === VOID ? this.v2k_1 : playerId;
|
|
799
795
|
tag = tag === VOID ? this.tag : tag;
|
|
800
|
-
return this.
|
|
796
|
+
return this.z2k(playerId, tag);
|
|
801
797
|
};
|
|
802
798
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
803
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
799
|
+
return 'PlayerLostConnectionReason(playerId=' + this.v2k_1 + ', tag=' + this.tag + ')';
|
|
804
800
|
};
|
|
805
801
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
806
|
-
var result = getStringHashCode(this.
|
|
802
|
+
var result = getStringHashCode(this.v2k_1);
|
|
807
803
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
808
804
|
return result;
|
|
809
805
|
};
|
|
@@ -813,7 +809,7 @@
|
|
|
813
809
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
814
810
|
return false;
|
|
815
811
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
816
|
-
if (!(this.
|
|
812
|
+
if (!(this.v2k_1 === tmp0_other_with_cast.v2k_1))
|
|
817
813
|
return false;
|
|
818
814
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
819
815
|
return false;
|
|
@@ -833,10 +829,10 @@
|
|
|
833
829
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
834
830
|
tmp0_serialDesc.ku('playerId', false);
|
|
835
831
|
tmp0_serialDesc.ku('tag', false);
|
|
836
|
-
this.
|
|
832
|
+
this.a2l_1 = tmp0_serialDesc;
|
|
837
833
|
}
|
|
838
834
|
protoOf($serializer_1).pj = function () {
|
|
839
|
-
return this.
|
|
835
|
+
return this.a2l_1;
|
|
840
836
|
};
|
|
841
837
|
protoOf($serializer_1).zu = function () {
|
|
842
838
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -845,7 +841,7 @@
|
|
|
845
841
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
846
842
|
};
|
|
847
843
|
protoOf($serializer_1).rj = function (decoder) {
|
|
848
|
-
var tmp0_desc = this.
|
|
844
|
+
var tmp0_desc = this.a2l_1;
|
|
849
845
|
var tmp1_flag = true;
|
|
850
846
|
var tmp2_index = 0;
|
|
851
847
|
var tmp3_bitMask0 = 0;
|
|
@@ -879,15 +875,15 @@
|
|
|
879
875
|
tmp6_input.ym(tmp0_desc);
|
|
880
876
|
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
881
877
|
};
|
|
882
|
-
protoOf($serializer_1).
|
|
883
|
-
var tmp0_desc = this.
|
|
878
|
+
protoOf($serializer_1).b2l = function (encoder, value) {
|
|
879
|
+
var tmp0_desc = this.a2l_1;
|
|
884
880
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
885
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
881
|
+
tmp1_output.mo(tmp0_desc, 0, value.c2l_1);
|
|
886
882
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
887
883
|
tmp1_output.ym(tmp0_desc);
|
|
888
884
|
};
|
|
889
885
|
protoOf($serializer_1).qj = function (encoder, value) {
|
|
890
|
-
return this.
|
|
886
|
+
return this.b2l(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
891
887
|
};
|
|
892
888
|
var $serializer_instance_1;
|
|
893
889
|
function $serializer_getInstance_1() {
|
|
@@ -897,10 +893,10 @@
|
|
|
897
893
|
}
|
|
898
894
|
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
899
895
|
if (!(3 === (3 & seen1))) {
|
|
900
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().
|
|
896
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().a2l_1);
|
|
901
897
|
}
|
|
902
898
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
903
|
-
$this.
|
|
899
|
+
$this.c2l_1 = playerId;
|
|
904
900
|
$this.tag = tag;
|
|
905
901
|
return $this;
|
|
906
902
|
}
|
|
@@ -909,37 +905,37 @@
|
|
|
909
905
|
}
|
|
910
906
|
function PlayerTimeoutReason(playerId, tag) {
|
|
911
907
|
TerminationGameReason.call(this);
|
|
912
|
-
this.
|
|
908
|
+
this.c2l_1 = playerId;
|
|
913
909
|
this.tag = tag;
|
|
914
910
|
}
|
|
915
|
-
protoOf(PlayerTimeoutReason).
|
|
916
|
-
return this.
|
|
911
|
+
protoOf(PlayerTimeoutReason).w2k = function () {
|
|
912
|
+
return this.c2l_1;
|
|
917
913
|
};
|
|
918
|
-
protoOf(PlayerTimeoutReason).
|
|
914
|
+
protoOf(PlayerTimeoutReason).x2k = function () {
|
|
919
915
|
return this.tag;
|
|
920
916
|
};
|
|
921
|
-
protoOf(PlayerTimeoutReason).
|
|
917
|
+
protoOf(PlayerTimeoutReason).y2k = function () {
|
|
922
918
|
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
923
919
|
};
|
|
924
920
|
protoOf(PlayerTimeoutReason).cd = function () {
|
|
925
|
-
return this.
|
|
921
|
+
return this.c2l_1;
|
|
926
922
|
};
|
|
927
923
|
protoOf(PlayerTimeoutReason).dd = function () {
|
|
928
924
|
return this.tag;
|
|
929
925
|
};
|
|
930
|
-
protoOf(PlayerTimeoutReason).
|
|
926
|
+
protoOf(PlayerTimeoutReason).z2k = function (playerId, tag) {
|
|
931
927
|
return new PlayerTimeoutReason(playerId, tag);
|
|
932
928
|
};
|
|
933
929
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
934
|
-
playerId = playerId === VOID ? this.
|
|
930
|
+
playerId = playerId === VOID ? this.c2l_1 : playerId;
|
|
935
931
|
tag = tag === VOID ? this.tag : tag;
|
|
936
|
-
return this.
|
|
932
|
+
return this.z2k(playerId, tag);
|
|
937
933
|
};
|
|
938
934
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
939
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
935
|
+
return 'PlayerTimeoutReason(playerId=' + this.c2l_1 + ', tag=' + this.tag + ')';
|
|
940
936
|
};
|
|
941
937
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
942
|
-
var result = getStringHashCode(this.
|
|
938
|
+
var result = getStringHashCode(this.c2l_1);
|
|
943
939
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
944
940
|
return result;
|
|
945
941
|
};
|
|
@@ -949,7 +945,7 @@
|
|
|
949
945
|
if (!(other instanceof PlayerTimeoutReason))
|
|
950
946
|
return false;
|
|
951
947
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
952
|
-
if (!(this.
|
|
948
|
+
if (!(this.c2l_1 === tmp0_other_with_cast.c2l_1))
|
|
953
949
|
return false;
|
|
954
950
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
955
951
|
return false;
|
|
@@ -968,10 +964,10 @@
|
|
|
968
964
|
$serializer_instance_2 = this;
|
|
969
965
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
970
966
|
tmp0_serialDesc.ku('playerId', false);
|
|
971
|
-
this.
|
|
967
|
+
this.d2l_1 = tmp0_serialDesc;
|
|
972
968
|
}
|
|
973
969
|
protoOf($serializer_2).pj = function () {
|
|
974
|
-
return this.
|
|
970
|
+
return this.d2l_1;
|
|
975
971
|
};
|
|
976
972
|
protoOf($serializer_2).zu = function () {
|
|
977
973
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -980,7 +976,7 @@
|
|
|
980
976
|
return [StringSerializer_getInstance()];
|
|
981
977
|
};
|
|
982
978
|
protoOf($serializer_2).rj = function (decoder) {
|
|
983
|
-
var tmp0_desc = this.
|
|
979
|
+
var tmp0_desc = this.d2l_1;
|
|
984
980
|
var tmp1_flag = true;
|
|
985
981
|
var tmp2_index = 0;
|
|
986
982
|
var tmp3_bitMask0 = 0;
|
|
@@ -1007,14 +1003,14 @@
|
|
|
1007
1003
|
tmp5_input.ym(tmp0_desc);
|
|
1008
1004
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1009
1005
|
};
|
|
1010
|
-
protoOf($serializer_2).
|
|
1011
|
-
var tmp0_desc = this.
|
|
1006
|
+
protoOf($serializer_2).e2l = function (encoder, value) {
|
|
1007
|
+
var tmp0_desc = this.d2l_1;
|
|
1012
1008
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1013
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
1009
|
+
tmp1_output.mo(tmp0_desc, 0, value.f2l_1);
|
|
1014
1010
|
tmp1_output.ym(tmp0_desc);
|
|
1015
1011
|
};
|
|
1016
1012
|
protoOf($serializer_2).qj = function (encoder, value) {
|
|
1017
|
-
return this.
|
|
1013
|
+
return this.e2l(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
1018
1014
|
};
|
|
1019
1015
|
var $serializer_instance_2;
|
|
1020
1016
|
function $serializer_getInstance_2() {
|
|
@@ -1024,10 +1020,10 @@
|
|
|
1024
1020
|
}
|
|
1025
1021
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
1026
1022
|
if (!(1 === (1 & seen1))) {
|
|
1027
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().
|
|
1023
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().d2l_1);
|
|
1028
1024
|
}
|
|
1029
1025
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1030
|
-
$this.
|
|
1026
|
+
$this.f2l_1 = playerId;
|
|
1031
1027
|
return $this;
|
|
1032
1028
|
}
|
|
1033
1029
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -1035,29 +1031,29 @@
|
|
|
1035
1031
|
}
|
|
1036
1032
|
function PlayerExitReason(playerId) {
|
|
1037
1033
|
TerminationGameReason.call(this);
|
|
1038
|
-
this.
|
|
1034
|
+
this.f2l_1 = playerId;
|
|
1039
1035
|
}
|
|
1040
|
-
protoOf(PlayerExitReason).
|
|
1041
|
-
return this.
|
|
1036
|
+
protoOf(PlayerExitReason).w2k = function () {
|
|
1037
|
+
return this.f2l_1;
|
|
1042
1038
|
};
|
|
1043
|
-
protoOf(PlayerExitReason).
|
|
1039
|
+
protoOf(PlayerExitReason).y2k = function () {
|
|
1044
1040
|
return PlayerConnectionState_LEFT_getInstance();
|
|
1045
1041
|
};
|
|
1046
1042
|
protoOf(PlayerExitReason).cd = function () {
|
|
1047
|
-
return this.
|
|
1043
|
+
return this.f2l_1;
|
|
1048
1044
|
};
|
|
1049
|
-
protoOf(PlayerExitReason).
|
|
1045
|
+
protoOf(PlayerExitReason).g2l = function (playerId) {
|
|
1050
1046
|
return new PlayerExitReason(playerId);
|
|
1051
1047
|
};
|
|
1052
1048
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
1053
|
-
playerId = playerId === VOID ? this.
|
|
1054
|
-
return this.
|
|
1049
|
+
playerId = playerId === VOID ? this.f2l_1 : playerId;
|
|
1050
|
+
return this.g2l(playerId);
|
|
1055
1051
|
};
|
|
1056
1052
|
protoOf(PlayerExitReason).toString = function () {
|
|
1057
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
1053
|
+
return 'PlayerExitReason(playerId=' + this.f2l_1 + ')';
|
|
1058
1054
|
};
|
|
1059
1055
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
1060
|
-
return getStringHashCode(this.
|
|
1056
|
+
return getStringHashCode(this.f2l_1);
|
|
1061
1057
|
};
|
|
1062
1058
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
1063
1059
|
if (this === other)
|
|
@@ -1065,12 +1061,12 @@
|
|
|
1065
1061
|
if (!(other instanceof PlayerExitReason))
|
|
1066
1062
|
return false;
|
|
1067
1063
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
1068
|
-
if (!(this.
|
|
1064
|
+
if (!(this.f2l_1 === tmp0_other_with_cast.f2l_1))
|
|
1069
1065
|
return false;
|
|
1070
1066
|
return true;
|
|
1071
1067
|
};
|
|
1072
1068
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
1073
|
-
return $this.
|
|
1069
|
+
return $this.h2l_1.o2();
|
|
1074
1070
|
}
|
|
1075
1071
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
1076
1072
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -1083,7 +1079,7 @@
|
|
|
1083
1079
|
Companion_instance_5 = this;
|
|
1084
1080
|
var tmp = this;
|
|
1085
1081
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1086
|
-
tmp.
|
|
1082
|
+
tmp.h2l_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
1087
1083
|
}
|
|
1088
1084
|
protoOf(Companion_5).t16 = function () {
|
|
1089
1085
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
@@ -1137,7 +1133,7 @@
|
|
|
1137
1133
|
// Inline function 'kotlin.arrayOf' call
|
|
1138
1134
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1139
1135
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1140
|
-
tmp.
|
|
1136
|
+
tmp.k2l_1 = [Companion_getInstance_7().t16()];
|
|
1141
1137
|
}
|
|
1142
1138
|
protoOf(Companion_6).t16 = function () {
|
|
1143
1139
|
return $serializer_getInstance_3();
|
|
@@ -1152,25 +1148,25 @@
|
|
|
1152
1148
|
$serializer_instance_3 = this;
|
|
1153
1149
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1154
1150
|
tmp0_serialDesc.ku('reason', false);
|
|
1155
|
-
this.
|
|
1151
|
+
this.l2l_1 = tmp0_serialDesc;
|
|
1156
1152
|
}
|
|
1157
1153
|
protoOf($serializer_3).pj = function () {
|
|
1158
|
-
return this.
|
|
1154
|
+
return this.l2l_1;
|
|
1159
1155
|
};
|
|
1160
1156
|
protoOf($serializer_3).zu = function () {
|
|
1161
1157
|
// Inline function 'kotlin.arrayOf' call
|
|
1162
1158
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1163
1159
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1164
|
-
return [Companion_getInstance_8().
|
|
1160
|
+
return [Companion_getInstance_8().k2l_1[0]];
|
|
1165
1161
|
};
|
|
1166
1162
|
protoOf($serializer_3).rj = function (decoder) {
|
|
1167
|
-
var tmp0_desc = this.
|
|
1163
|
+
var tmp0_desc = this.l2l_1;
|
|
1168
1164
|
var tmp1_flag = true;
|
|
1169
1165
|
var tmp2_index = 0;
|
|
1170
1166
|
var tmp3_bitMask0 = 0;
|
|
1171
1167
|
var tmp4_local0 = null;
|
|
1172
1168
|
var tmp5_input = decoder.xm(tmp0_desc);
|
|
1173
|
-
var tmp6_cached = Companion_getInstance_8().
|
|
1169
|
+
var tmp6_cached = Companion_getInstance_8().k2l_1;
|
|
1174
1170
|
if (tmp5_input.nn()) {
|
|
1175
1171
|
tmp4_local0 = tmp5_input.jn(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
1176
1172
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -1192,15 +1188,15 @@
|
|
|
1192
1188
|
tmp5_input.ym(tmp0_desc);
|
|
1193
1189
|
return GameFinishedReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1194
1190
|
};
|
|
1195
|
-
protoOf($serializer_3).
|
|
1196
|
-
var tmp0_desc = this.
|
|
1191
|
+
protoOf($serializer_3).m2l = function (encoder, value) {
|
|
1192
|
+
var tmp0_desc = this.l2l_1;
|
|
1197
1193
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1198
|
-
var tmp2_cached = Companion_getInstance_8().
|
|
1194
|
+
var tmp2_cached = Companion_getInstance_8().k2l_1;
|
|
1199
1195
|
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.reason);
|
|
1200
1196
|
tmp1_output.ym(tmp0_desc);
|
|
1201
1197
|
};
|
|
1202
1198
|
protoOf($serializer_3).qj = function (encoder, value) {
|
|
1203
|
-
return this.
|
|
1199
|
+
return this.m2l(encoder, value instanceof GameFinishedReason ? value : THROW_CCE());
|
|
1204
1200
|
};
|
|
1205
1201
|
var $serializer_instance_3;
|
|
1206
1202
|
function $serializer_getInstance_3() {
|
|
@@ -1210,7 +1206,7 @@
|
|
|
1210
1206
|
}
|
|
1211
1207
|
function GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1212
1208
|
if (!(1 === (1 & seen1))) {
|
|
1213
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_3().
|
|
1209
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_3().l2l_1);
|
|
1214
1210
|
}
|
|
1215
1211
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1216
1212
|
$this.reason = reason;
|
|
@@ -1240,18 +1236,18 @@
|
|
|
1240
1236
|
TerminationGameReason.call(this);
|
|
1241
1237
|
this.reason = reason;
|
|
1242
1238
|
}
|
|
1243
|
-
protoOf(GameFinishedReason).
|
|
1239
|
+
protoOf(GameFinishedReason).n2l = function () {
|
|
1244
1240
|
return this.reason;
|
|
1245
1241
|
};
|
|
1246
1242
|
protoOf(GameFinishedReason).cd = function () {
|
|
1247
1243
|
return this.reason;
|
|
1248
1244
|
};
|
|
1249
|
-
protoOf(GameFinishedReason).
|
|
1245
|
+
protoOf(GameFinishedReason).o2l = function (reason) {
|
|
1250
1246
|
return new GameFinishedReason(reason);
|
|
1251
1247
|
};
|
|
1252
1248
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
1253
1249
|
reason = reason === VOID ? this.reason : reason;
|
|
1254
|
-
return this.
|
|
1250
|
+
return this.o2l(reason);
|
|
1255
1251
|
};
|
|
1256
1252
|
protoOf(GameFinishedReason).toString = function () {
|
|
1257
1253
|
return 'GameFinishedReason(reason=' + this.reason + ')';
|
|
@@ -1282,10 +1278,10 @@
|
|
|
1282
1278
|
$serializer_instance_4 = this;
|
|
1283
1279
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1284
1280
|
tmp0_serialDesc.ku('reason', false);
|
|
1285
|
-
this.
|
|
1281
|
+
this.p2l_1 = tmp0_serialDesc;
|
|
1286
1282
|
}
|
|
1287
1283
|
protoOf($serializer_4).pj = function () {
|
|
1288
|
-
return this.
|
|
1284
|
+
return this.p2l_1;
|
|
1289
1285
|
};
|
|
1290
1286
|
protoOf($serializer_4).zu = function () {
|
|
1291
1287
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1294,7 +1290,7 @@
|
|
|
1294
1290
|
return [StringSerializer_getInstance()];
|
|
1295
1291
|
};
|
|
1296
1292
|
protoOf($serializer_4).rj = function (decoder) {
|
|
1297
|
-
var tmp0_desc = this.
|
|
1293
|
+
var tmp0_desc = this.p2l_1;
|
|
1298
1294
|
var tmp1_flag = true;
|
|
1299
1295
|
var tmp2_index = 0;
|
|
1300
1296
|
var tmp3_bitMask0 = 0;
|
|
@@ -1321,14 +1317,14 @@
|
|
|
1321
1317
|
tmp5_input.ym(tmp0_desc);
|
|
1322
1318
|
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1323
1319
|
};
|
|
1324
|
-
protoOf($serializer_4).
|
|
1325
|
-
var tmp0_desc = this.
|
|
1320
|
+
protoOf($serializer_4).q2l = function (encoder, value) {
|
|
1321
|
+
var tmp0_desc = this.p2l_1;
|
|
1326
1322
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1327
1323
|
tmp1_output.mo(tmp0_desc, 0, value.reason);
|
|
1328
1324
|
tmp1_output.ym(tmp0_desc);
|
|
1329
1325
|
};
|
|
1330
1326
|
protoOf($serializer_4).qj = function (encoder, value) {
|
|
1331
|
-
return this.
|
|
1327
|
+
return this.q2l(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
1332
1328
|
};
|
|
1333
1329
|
var $serializer_instance_4;
|
|
1334
1330
|
function $serializer_getInstance_4() {
|
|
@@ -1338,7 +1334,7 @@
|
|
|
1338
1334
|
}
|
|
1339
1335
|
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1340
1336
|
if (!(1 === (1 & seen1))) {
|
|
1341
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_4().
|
|
1337
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_4().p2l_1);
|
|
1342
1338
|
}
|
|
1343
1339
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1344
1340
|
$this.reason = reason;
|
|
@@ -1351,18 +1347,18 @@
|
|
|
1351
1347
|
TerminationGameReason.call(this);
|
|
1352
1348
|
this.reason = reason;
|
|
1353
1349
|
}
|
|
1354
|
-
protoOf(GameErrorReason).
|
|
1350
|
+
protoOf(GameErrorReason).n2l = function () {
|
|
1355
1351
|
return this.reason;
|
|
1356
1352
|
};
|
|
1357
1353
|
protoOf(GameErrorReason).cd = function () {
|
|
1358
1354
|
return this.reason;
|
|
1359
1355
|
};
|
|
1360
|
-
protoOf(GameErrorReason).
|
|
1356
|
+
protoOf(GameErrorReason).g2l = function (reason) {
|
|
1361
1357
|
return new GameErrorReason(reason);
|
|
1362
1358
|
};
|
|
1363
1359
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
1364
1360
|
reason = reason === VOID ? this.reason : reason;
|
|
1365
|
-
return this.
|
|
1361
|
+
return this.g2l(reason);
|
|
1366
1362
|
};
|
|
1367
1363
|
protoOf(GameErrorReason).toString = function () {
|
|
1368
1364
|
return 'GameErrorReason(reason=' + this.reason + ')';
|
|
@@ -1381,7 +1377,7 @@
|
|
|
1381
1377
|
return true;
|
|
1382
1378
|
};
|
|
1383
1379
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1384
|
-
return $this.
|
|
1380
|
+
return $this.r2l_1.o2();
|
|
1385
1381
|
}
|
|
1386
1382
|
function WaitingForConnectionReason$_anonymous__v65n7d() {
|
|
1387
1383
|
var tmp = WaitingForConnectionReason_getInstance();
|
|
@@ -1396,7 +1392,7 @@
|
|
|
1396
1392
|
TerminationGameReason.call(this);
|
|
1397
1393
|
var tmp = this;
|
|
1398
1394
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1399
|
-
tmp.
|
|
1395
|
+
tmp.r2l_1 = lazy(tmp_0, WaitingForConnectionReason$_anonymous__v65n7d);
|
|
1400
1396
|
}
|
|
1401
1397
|
protoOf(WaitingForConnectionReason).toString = function () {
|
|
1402
1398
|
return 'WaitingForConnectionReason';
|
|
@@ -1414,7 +1410,7 @@
|
|
|
1414
1410
|
return WaitingForConnectionReason_instance;
|
|
1415
1411
|
}
|
|
1416
1412
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1417
|
-
return $this.
|
|
1413
|
+
return $this.s2l_1.o2();
|
|
1418
1414
|
}
|
|
1419
1415
|
function ProcessingReason$_anonymous__fvp7fk() {
|
|
1420
1416
|
var tmp = ProcessingReason_getInstance();
|
|
@@ -1429,7 +1425,7 @@
|
|
|
1429
1425
|
TerminationGameReason.call(this);
|
|
1430
1426
|
var tmp = this;
|
|
1431
1427
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1432
|
-
tmp.
|
|
1428
|
+
tmp.s2l_1 = lazy(tmp_0, ProcessingReason$_anonymous__fvp7fk);
|
|
1433
1429
|
}
|
|
1434
1430
|
protoOf(ProcessingReason).toString = function () {
|
|
1435
1431
|
return 'ProcessingReason';
|
|
@@ -1457,33 +1453,33 @@
|
|
|
1457
1453
|
isBot = isBot === VOID ? false : isBot;
|
|
1458
1454
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1459
1455
|
payload = payload === VOID ? null : payload;
|
|
1460
|
-
this.
|
|
1456
|
+
this.t2l_1 = playerId;
|
|
1461
1457
|
this.name = name;
|
|
1462
1458
|
this.avatarUrl = avatarUrl;
|
|
1463
1459
|
this.isBot = isBot;
|
|
1464
1460
|
this.initialLuckyFactor = initialLuckyFactor;
|
|
1465
1461
|
this.payload = payload;
|
|
1466
1462
|
}
|
|
1467
|
-
protoOf(GameUserInfo).
|
|
1468
|
-
return this.
|
|
1463
|
+
protoOf(GameUserInfo).w2k = function () {
|
|
1464
|
+
return this.t2l_1;
|
|
1469
1465
|
};
|
|
1470
1466
|
protoOf(GameUserInfo).g9 = function () {
|
|
1471
1467
|
return this.name;
|
|
1472
1468
|
};
|
|
1473
|
-
protoOf(GameUserInfo).
|
|
1469
|
+
protoOf(GameUserInfo).u2l = function () {
|
|
1474
1470
|
return this.avatarUrl;
|
|
1475
1471
|
};
|
|
1476
|
-
protoOf(GameUserInfo).
|
|
1472
|
+
protoOf(GameUserInfo).v2l = function () {
|
|
1477
1473
|
return this.isBot;
|
|
1478
1474
|
};
|
|
1479
|
-
protoOf(GameUserInfo).
|
|
1475
|
+
protoOf(GameUserInfo).w2l = function () {
|
|
1480
1476
|
return this.initialLuckyFactor;
|
|
1481
1477
|
};
|
|
1482
|
-
protoOf(GameUserInfo).
|
|
1478
|
+
protoOf(GameUserInfo).x2l = function () {
|
|
1483
1479
|
return this.payload;
|
|
1484
1480
|
};
|
|
1485
1481
|
protoOf(GameUserInfo).toString = function () {
|
|
1486
|
-
var tmp = 'GameUserInfo(' + ("playerId='" + this.
|
|
1482
|
+
var tmp = 'GameUserInfo(' + ("playerId='" + this.t2l_1 + "', ") + ("name='" + this.name + "', ");
|
|
1487
1483
|
// Inline function 'kotlin.takeIf' call
|
|
1488
1484
|
var this_0 = 'avatarUrl=' + this.avatarUrl + ', ';
|
|
1489
1485
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -1530,7 +1526,7 @@
|
|
|
1530
1526
|
return tmp_5 + tmp_6 + ')';
|
|
1531
1527
|
};
|
|
1532
1528
|
protoOf(GameUserInfo).cd = function () {
|
|
1533
|
-
return this.
|
|
1529
|
+
return this.t2l_1;
|
|
1534
1530
|
};
|
|
1535
1531
|
protoOf(GameUserInfo).dd = function () {
|
|
1536
1532
|
return this.name;
|
|
@@ -1538,29 +1534,29 @@
|
|
|
1538
1534
|
protoOf(GameUserInfo).qh = function () {
|
|
1539
1535
|
return this.avatarUrl;
|
|
1540
1536
|
};
|
|
1541
|
-
protoOf(GameUserInfo).
|
|
1537
|
+
protoOf(GameUserInfo).p2k = function () {
|
|
1542
1538
|
return this.isBot;
|
|
1543
1539
|
};
|
|
1544
|
-
protoOf(GameUserInfo).
|
|
1540
|
+
protoOf(GameUserInfo).y2l = function () {
|
|
1545
1541
|
return this.initialLuckyFactor;
|
|
1546
1542
|
};
|
|
1547
|
-
protoOf(GameUserInfo).
|
|
1543
|
+
protoOf(GameUserInfo).z2l = function () {
|
|
1548
1544
|
return this.payload;
|
|
1549
1545
|
};
|
|
1550
|
-
protoOf(GameUserInfo).
|
|
1546
|
+
protoOf(GameUserInfo).a2m = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload) {
|
|
1551
1547
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1552
1548
|
};
|
|
1553
1549
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload, $super) {
|
|
1554
|
-
playerId = playerId === VOID ? this.
|
|
1550
|
+
playerId = playerId === VOID ? this.t2l_1 : playerId;
|
|
1555
1551
|
name = name === VOID ? this.name : name;
|
|
1556
1552
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1557
1553
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1558
1554
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1559
1555
|
payload = payload === VOID ? this.payload : payload;
|
|
1560
|
-
return this.
|
|
1556
|
+
return this.a2m(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1561
1557
|
};
|
|
1562
1558
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1563
|
-
var result = getStringHashCode(this.
|
|
1559
|
+
var result = getStringHashCode(this.t2l_1);
|
|
1564
1560
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1565
1561
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1566
1562
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1574,7 +1570,7 @@
|
|
|
1574
1570
|
if (!(other instanceof GameUserInfo))
|
|
1575
1571
|
return false;
|
|
1576
1572
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1577
|
-
if (!(this.
|
|
1573
|
+
if (!(this.t2l_1 === tmp0_other_with_cast.t2l_1))
|
|
1578
1574
|
return false;
|
|
1579
1575
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1580
1576
|
return false;
|
|
@@ -1654,18 +1650,18 @@
|
|
|
1654
1650
|
return destination;
|
|
1655
1651
|
}
|
|
1656
1652
|
function PlayerIndex(playerId, index) {
|
|
1657
|
-
this.
|
|
1658
|
-
this.
|
|
1653
|
+
this.d2m_1 = playerId;
|
|
1654
|
+
this.e2m_1 = index;
|
|
1659
1655
|
}
|
|
1660
|
-
protoOf(PlayerIndex).
|
|
1661
|
-
return this.
|
|
1656
|
+
protoOf(PlayerIndex).w2k = function () {
|
|
1657
|
+
return this.d2m_1;
|
|
1662
1658
|
};
|
|
1663
1659
|
protoOf(PlayerIndex).toString = function () {
|
|
1664
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1660
|
+
return 'PlayerIndex(playerId=' + this.d2m_1 + ', index=' + this.e2m_1 + ')';
|
|
1665
1661
|
};
|
|
1666
1662
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1667
|
-
var result = getStringHashCode(this.
|
|
1668
|
-
result = imul(result, 31) + this.
|
|
1663
|
+
var result = getStringHashCode(this.d2m_1);
|
|
1664
|
+
result = imul(result, 31) + this.e2m_1 | 0;
|
|
1669
1665
|
return result;
|
|
1670
1666
|
};
|
|
1671
1667
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1674,9 +1670,9 @@
|
|
|
1674
1670
|
if (!(other instanceof PlayerIndex))
|
|
1675
1671
|
return false;
|
|
1676
1672
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1677
|
-
if (!(this.
|
|
1673
|
+
if (!(this.d2m_1 === tmp0_other_with_cast.d2m_1))
|
|
1678
1674
|
return false;
|
|
1679
|
-
if (!(this.
|
|
1675
|
+
if (!(this.e2m_1 === tmp0_other_with_cast.e2m_1))
|
|
1680
1676
|
return false;
|
|
1681
1677
|
return true;
|
|
1682
1678
|
};
|
|
@@ -1700,16 +1696,16 @@
|
|
|
1700
1696
|
return nextTo_0(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1701
1697
|
}
|
|
1702
1698
|
function PlayerIdContractOrderComparator(players) {
|
|
1703
|
-
this.
|
|
1699
|
+
this.f2m_1 = players;
|
|
1704
1700
|
}
|
|
1705
|
-
protoOf(PlayerIdContractOrderComparator).
|
|
1706
|
-
var indexA = this.
|
|
1707
|
-
var indexB = this.
|
|
1701
|
+
protoOf(PlayerIdContractOrderComparator).g2m = function (a, b) {
|
|
1702
|
+
var indexA = this.f2m_1.y1(a.playerId);
|
|
1703
|
+
var indexB = this.f2m_1.y1(b.playerId);
|
|
1708
1704
|
return compareTo(indexA, indexB);
|
|
1709
1705
|
};
|
|
1710
1706
|
protoOf(PlayerIdContractOrderComparator).compare = function (a, b) {
|
|
1711
1707
|
var tmp = (!(a == null) ? isInterface(a, PlayerIdContract) : false) ? a : THROW_CCE();
|
|
1712
|
-
return this.
|
|
1708
|
+
return this.g2m(tmp, (!(b == null) ? isInterface(b, PlayerIdContract) : false) ? b : THROW_CCE());
|
|
1713
1709
|
};
|
|
1714
1710
|
function byIdPlayerPredicate$lambda(id) {
|
|
1715
1711
|
_init_properties_Player_kt__qi83pd();
|
|
@@ -1722,7 +1718,7 @@
|
|
|
1722
1718
|
}
|
|
1723
1719
|
function playerTurnPredicate$lambda(p1) {
|
|
1724
1720
|
_init_properties_Player_kt__qi83pd();
|
|
1725
|
-
return p1.i1r().
|
|
1721
|
+
return p1.i1r().o2m();
|
|
1726
1722
|
}
|
|
1727
1723
|
var properties_initialized_Player_kt_56shkt;
|
|
1728
1724
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1733,14 +1729,14 @@
|
|
|
1733
1729
|
}
|
|
1734
1730
|
}
|
|
1735
1731
|
function Companion_8() {
|
|
1736
|
-
this.
|
|
1732
|
+
this.p2m_1 = 75;
|
|
1737
1733
|
}
|
|
1738
|
-
protoOf(Companion_8).
|
|
1739
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1734
|
+
protoOf(Companion_8).q2m = function (_this__u8e3s4) {
|
|
1735
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.v2m(PlayerConnectionState_LIVE_getInstance(), System_instance.q1m(), Duration__plus_impl_yu9v8f(_this__u8e3s4.t2m_1, _this__u8e3s4.u2m()));
|
|
1740
1736
|
return tmp1_elvis_lhs == null ? new PlayerConnection(PlayerConnectionState_LIVE_getInstance(), System_instance.q1m()) : tmp1_elvis_lhs;
|
|
1741
1737
|
};
|
|
1742
|
-
protoOf(Companion_8).
|
|
1743
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1738
|
+
protoOf(Companion_8).w2m = function (_this__u8e3s4, state) {
|
|
1739
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.x2m(state, System_instance.q1m());
|
|
1744
1740
|
return tmp1_elvis_lhs == null ? new PlayerConnection(state, System_instance.q1m()) : tmp1_elvis_lhs;
|
|
1745
1741
|
};
|
|
1746
1742
|
var Companion_instance_8;
|
|
@@ -1750,54 +1746,54 @@
|
|
|
1750
1746
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1751
1747
|
connectionChangedTime = connectionChangedTime === VOID ? System_instance.q1m() : connectionChangedTime;
|
|
1752
1748
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().tg_1 : notLiveDurationRecord;
|
|
1753
|
-
this.
|
|
1754
|
-
this.
|
|
1755
|
-
this.
|
|
1749
|
+
this.r2m_1 = state;
|
|
1750
|
+
this.s2m_1 = connectionChangedTime;
|
|
1751
|
+
this.t2m_1 = notLiveDurationRecord;
|
|
1756
1752
|
}
|
|
1757
|
-
protoOf(PlayerConnection).
|
|
1758
|
-
return System_instance.q1m().v1n(this.
|
|
1753
|
+
protoOf(PlayerConnection).u2m = function () {
|
|
1754
|
+
return System_instance.q1m().v1n(this.s2m_1);
|
|
1759
1755
|
};
|
|
1760
|
-
protoOf(PlayerConnection).
|
|
1756
|
+
protoOf(PlayerConnection).y2m = function () {
|
|
1761
1757
|
var tmp;
|
|
1762
|
-
if (this.
|
|
1763
|
-
tmp = this.
|
|
1758
|
+
if (this.r2m_1.isLive) {
|
|
1759
|
+
tmp = this.t2m_1;
|
|
1764
1760
|
} else {
|
|
1765
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1761
|
+
tmp = Duration__plus_impl_yu9v8f(this.t2m_1, this.u2m());
|
|
1766
1762
|
}
|
|
1767
1763
|
return tmp;
|
|
1768
1764
|
};
|
|
1769
|
-
protoOf(PlayerConnection).
|
|
1765
|
+
protoOf(PlayerConnection).z2m = function (gameDuration) {
|
|
1770
1766
|
// Inline function 'kotlin.Long.div' call
|
|
1771
1767
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).da() / 100.0;
|
|
1772
1768
|
// Inline function 'kotlin.math.round' call
|
|
1773
1769
|
// Inline function 'kotlin.Long.div' call
|
|
1774
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1770
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.y2m()).da() / percent;
|
|
1775
1771
|
var tmp$ret$2 = round(x);
|
|
1776
1772
|
return numberToInt(tmp$ret$2);
|
|
1777
1773
|
};
|
|
1778
|
-
protoOf(PlayerConnection).
|
|
1779
|
-
return 100 - this.
|
|
1774
|
+
protoOf(PlayerConnection).a2n = function (gameDuration) {
|
|
1775
|
+
return 100 - this.z2m(gameDuration) | 0;
|
|
1780
1776
|
};
|
|
1781
|
-
protoOf(PlayerConnection).
|
|
1782
|
-
var percentage = this.
|
|
1777
|
+
protoOf(PlayerConnection).b2n = function (gameDuration) {
|
|
1778
|
+
var percentage = this.a2n(gameDuration);
|
|
1783
1779
|
return percentage >= 75;
|
|
1784
1780
|
};
|
|
1785
|
-
protoOf(PlayerConnection).
|
|
1781
|
+
protoOf(PlayerConnection).v2m = function (state, connectionChangedTime, notLiveDurationRecord) {
|
|
1786
1782
|
return new PlayerConnection(state, connectionChangedTime, notLiveDurationRecord);
|
|
1787
1783
|
};
|
|
1788
|
-
protoOf(PlayerConnection).
|
|
1789
|
-
state = state === VOID ? this.
|
|
1790
|
-
connectionChangedTime = connectionChangedTime === VOID ? this.
|
|
1791
|
-
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.
|
|
1792
|
-
return $super === VOID ? this.
|
|
1784
|
+
protoOf(PlayerConnection).x2m = function (state, connectionChangedTime, notLiveDurationRecord, $super) {
|
|
1785
|
+
state = state === VOID ? this.r2m_1 : state;
|
|
1786
|
+
connectionChangedTime = connectionChangedTime === VOID ? this.s2m_1 : connectionChangedTime;
|
|
1787
|
+
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.t2m_1 : notLiveDurationRecord;
|
|
1788
|
+
return $super === VOID ? this.v2m(state, connectionChangedTime, notLiveDurationRecord) : $super.v2m.call(this, state, connectionChangedTime, new Duration(notLiveDurationRecord));
|
|
1793
1789
|
};
|
|
1794
1790
|
protoOf(PlayerConnection).toString = function () {
|
|
1795
|
-
return 'PlayerConnection(state=' + this.
|
|
1791
|
+
return 'PlayerConnection(state=' + this.r2m_1 + ', connectionChangedTime=' + this.s2m_1 + ', notLiveDurationRecord=' + new Duration(this.t2m_1) + ')';
|
|
1796
1792
|
};
|
|
1797
1793
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1798
|
-
var result = this.
|
|
1799
|
-
result = imul(result, 31) + this.
|
|
1800
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1794
|
+
var result = this.r2m_1.hashCode();
|
|
1795
|
+
result = imul(result, 31) + this.s2m_1.hashCode() | 0;
|
|
1796
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.t2m_1) | 0;
|
|
1801
1797
|
return result;
|
|
1802
1798
|
};
|
|
1803
1799
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1806,16 +1802,16 @@
|
|
|
1806
1802
|
if (!(other instanceof PlayerConnection))
|
|
1807
1803
|
return false;
|
|
1808
1804
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1809
|
-
if (!this.
|
|
1805
|
+
if (!this.r2m_1.equals(tmp0_other_with_cast.r2m_1))
|
|
1810
1806
|
return false;
|
|
1811
|
-
if (!this.
|
|
1807
|
+
if (!this.s2m_1.equals(tmp0_other_with_cast.s2m_1))
|
|
1812
1808
|
return false;
|
|
1813
|
-
if (!equals(this.
|
|
1809
|
+
if (!equals(this.t2m_1, tmp0_other_with_cast.t2m_1))
|
|
1814
1810
|
return false;
|
|
1815
1811
|
return true;
|
|
1816
1812
|
};
|
|
1817
1813
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1818
|
-
return $this.
|
|
1814
|
+
return $this.c2n_1.o2();
|
|
1819
1815
|
}
|
|
1820
1816
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1821
1817
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_0());
|
|
@@ -1830,7 +1826,7 @@
|
|
|
1830
1826
|
Companion_instance_9 = this;
|
|
1831
1827
|
var tmp = this;
|
|
1832
1828
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1833
|
-
tmp.
|
|
1829
|
+
tmp.c2n_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1834
1830
|
}
|
|
1835
1831
|
protoOf(Companion_9).t16 = function () {
|
|
1836
1832
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
@@ -1884,34 +1880,34 @@
|
|
|
1884
1880
|
function PlayerConnectionState(name, ordinal) {
|
|
1885
1881
|
Enum.call(this, name, ordinal);
|
|
1886
1882
|
}
|
|
1887
|
-
protoOf(PlayerConnectionState).
|
|
1883
|
+
protoOf(PlayerConnectionState).f2n = function () {
|
|
1888
1884
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1889
1885
|
};
|
|
1890
|
-
protoOf(PlayerConnectionState).
|
|
1886
|
+
protoOf(PlayerConnectionState).g2n = function () {
|
|
1891
1887
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1892
1888
|
};
|
|
1893
|
-
protoOf(PlayerConnectionState).
|
|
1889
|
+
protoOf(PlayerConnectionState).h2n = function () {
|
|
1894
1890
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1895
1891
|
};
|
|
1896
|
-
protoOf(PlayerConnectionState).
|
|
1892
|
+
protoOf(PlayerConnectionState).i2n = function () {
|
|
1897
1893
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1898
1894
|
};
|
|
1899
|
-
protoOf(PlayerConnectionState).
|
|
1895
|
+
protoOf(PlayerConnectionState).j2n = function () {
|
|
1900
1896
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1901
1897
|
};
|
|
1902
|
-
protoOf(PlayerConnectionState).
|
|
1898
|
+
protoOf(PlayerConnectionState).k2n = function () {
|
|
1903
1899
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1904
1900
|
};
|
|
1905
|
-
protoOf(PlayerConnectionState).
|
|
1901
|
+
protoOf(PlayerConnectionState).l2n = function () {
|
|
1906
1902
|
return this.isDisconnected ? true : this.isDeleted;
|
|
1907
1903
|
};
|
|
1908
|
-
protoOf(PlayerConnectionState).
|
|
1904
|
+
protoOf(PlayerConnectionState).m2n = function () {
|
|
1909
1905
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1910
1906
|
};
|
|
1911
|
-
protoOf(PlayerConnectionState).
|
|
1907
|
+
protoOf(PlayerConnectionState).n2n = function () {
|
|
1912
1908
|
return (this.isTimeOut ? true : this.isLeft) ? true : this.isDeleted;
|
|
1913
1909
|
};
|
|
1914
|
-
protoOf(PlayerConnectionState).
|
|
1910
|
+
protoOf(PlayerConnectionState).o2n = function () {
|
|
1915
1911
|
return this.isLostConnection;
|
|
1916
1912
|
};
|
|
1917
1913
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1939,25 +1935,25 @@
|
|
|
1939
1935
|
return PlayerConnectionState_DELETED_instance;
|
|
1940
1936
|
}
|
|
1941
1937
|
function PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1942
|
-
this.
|
|
1938
|
+
this.p2n_1 = playerId;
|
|
1943
1939
|
this.factor = factor;
|
|
1944
1940
|
this.wasLiveDuringGame = wasLiveDuringGame;
|
|
1945
1941
|
this.liveDurationPercentage = liveDurationPercentage;
|
|
1946
1942
|
}
|
|
1947
|
-
protoOf(PlayerLuckyFactor).
|
|
1948
|
-
return this.
|
|
1943
|
+
protoOf(PlayerLuckyFactor).w2k = function () {
|
|
1944
|
+
return this.p2n_1;
|
|
1949
1945
|
};
|
|
1950
|
-
protoOf(PlayerLuckyFactor).
|
|
1946
|
+
protoOf(PlayerLuckyFactor).q2n = function () {
|
|
1951
1947
|
return this.factor;
|
|
1952
1948
|
};
|
|
1953
|
-
protoOf(PlayerLuckyFactor).
|
|
1949
|
+
protoOf(PlayerLuckyFactor).r2n = function () {
|
|
1954
1950
|
return this.wasLiveDuringGame;
|
|
1955
1951
|
};
|
|
1956
|
-
protoOf(PlayerLuckyFactor).
|
|
1952
|
+
protoOf(PlayerLuckyFactor).s2n = function () {
|
|
1957
1953
|
return this.liveDurationPercentage;
|
|
1958
1954
|
};
|
|
1959
1955
|
protoOf(PlayerLuckyFactor).cd = function () {
|
|
1960
|
-
return this.
|
|
1956
|
+
return this.p2n_1;
|
|
1961
1957
|
};
|
|
1962
1958
|
protoOf(PlayerLuckyFactor).dd = function () {
|
|
1963
1959
|
return this.factor;
|
|
@@ -1965,24 +1961,24 @@
|
|
|
1965
1961
|
protoOf(PlayerLuckyFactor).qh = function () {
|
|
1966
1962
|
return this.wasLiveDuringGame;
|
|
1967
1963
|
};
|
|
1968
|
-
protoOf(PlayerLuckyFactor).
|
|
1964
|
+
protoOf(PlayerLuckyFactor).p2k = function () {
|
|
1969
1965
|
return this.liveDurationPercentage;
|
|
1970
1966
|
};
|
|
1971
|
-
protoOf(PlayerLuckyFactor).
|
|
1967
|
+
protoOf(PlayerLuckyFactor).t2n = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1972
1968
|
return new PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1973
1969
|
};
|
|
1974
1970
|
protoOf(PlayerLuckyFactor).copy = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage, $super) {
|
|
1975
|
-
playerId = playerId === VOID ? this.
|
|
1971
|
+
playerId = playerId === VOID ? this.p2n_1 : playerId;
|
|
1976
1972
|
factor = factor === VOID ? this.factor : factor;
|
|
1977
1973
|
wasLiveDuringGame = wasLiveDuringGame === VOID ? this.wasLiveDuringGame : wasLiveDuringGame;
|
|
1978
1974
|
liveDurationPercentage = liveDurationPercentage === VOID ? this.liveDurationPercentage : liveDurationPercentage;
|
|
1979
|
-
return this.
|
|
1975
|
+
return this.t2n(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1980
1976
|
};
|
|
1981
1977
|
protoOf(PlayerLuckyFactor).toString = function () {
|
|
1982
|
-
return 'PlayerLuckyFactor(playerId=' + this.
|
|
1978
|
+
return 'PlayerLuckyFactor(playerId=' + this.p2n_1 + ', factor=' + this.factor + ', wasLiveDuringGame=' + this.wasLiveDuringGame + ', liveDurationPercentage=' + this.liveDurationPercentage + ')';
|
|
1983
1979
|
};
|
|
1984
1980
|
protoOf(PlayerLuckyFactor).hashCode = function () {
|
|
1985
|
-
var result = getStringHashCode(this.
|
|
1981
|
+
var result = getStringHashCode(this.p2n_1);
|
|
1986
1982
|
result = imul(result, 31) + getNumberHashCode(this.factor) | 0;
|
|
1987
1983
|
result = imul(result, 31) + getBooleanHashCode(this.wasLiveDuringGame) | 0;
|
|
1988
1984
|
result = imul(result, 31) + (this.liveDurationPercentage == null ? 0 : this.liveDurationPercentage) | 0;
|
|
@@ -1994,7 +1990,7 @@
|
|
|
1994
1990
|
if (!(other instanceof PlayerLuckyFactor))
|
|
1995
1991
|
return false;
|
|
1996
1992
|
var tmp0_other_with_cast = other instanceof PlayerLuckyFactor ? other : THROW_CCE();
|
|
1997
|
-
if (!(this.
|
|
1993
|
+
if (!(this.p2n_1 === tmp0_other_with_cast.p2n_1))
|
|
1998
1994
|
return false;
|
|
1999
1995
|
if (!equals(this.factor, tmp0_other_with_cast.factor))
|
|
2000
1996
|
return false;
|
|
@@ -2005,7 +2001,7 @@
|
|
|
2005
2001
|
return true;
|
|
2006
2002
|
};
|
|
2007
2003
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
2008
|
-
return $this.
|
|
2004
|
+
return $this.u2n_1.o2();
|
|
2009
2005
|
}
|
|
2010
2006
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
2011
2007
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_1());
|
|
@@ -2017,7 +2013,7 @@
|
|
|
2017
2013
|
Companion_instance_10 = this;
|
|
2018
2014
|
var tmp = this;
|
|
2019
2015
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2020
|
-
tmp.
|
|
2016
|
+
tmp.u2n_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
2021
2017
|
}
|
|
2022
2018
|
protoOf(Companion_10).t16 = function () {
|
|
2023
2019
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
@@ -2048,25 +2044,25 @@
|
|
|
2048
2044
|
function PlayerWaitingState(name, ordinal) {
|
|
2049
2045
|
Enum.call(this, name, ordinal);
|
|
2050
2046
|
}
|
|
2051
|
-
protoOf(PlayerWaitingState).
|
|
2047
|
+
protoOf(PlayerWaitingState).x2n = function () {
|
|
2052
2048
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
2053
2049
|
};
|
|
2054
|
-
protoOf(PlayerWaitingState).
|
|
2050
|
+
protoOf(PlayerWaitingState).y2n = function () {
|
|
2055
2051
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
2056
2052
|
};
|
|
2057
2053
|
function Companion_11() {
|
|
2058
2054
|
}
|
|
2059
|
-
protoOf(Companion_11).
|
|
2055
|
+
protoOf(Companion_11).z2n = function (connection) {
|
|
2060
2056
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
2061
2057
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
2062
2058
|
};
|
|
2063
|
-
protoOf(Companion_11).
|
|
2064
|
-
return _this__u8e3s4.
|
|
2059
|
+
protoOf(Companion_11).a2o = function (_this__u8e3s4) {
|
|
2060
|
+
return _this__u8e3s4.b2o(null, null, VOID, PlayerWaitingState_IDLE_getInstance(), VOID, null);
|
|
2065
2061
|
};
|
|
2066
|
-
protoOf(Companion_11).
|
|
2062
|
+
protoOf(Companion_11).c2o = function (_this__u8e3s4, playerTurnTimeout, tag) {
|
|
2067
2063
|
var tmp0_startFromTime = System_instance.q1m();
|
|
2068
2064
|
var tmp1_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
2069
|
-
return _this__u8e3s4.
|
|
2065
|
+
return _this__u8e3s4.b2o(tmp0_startFromTime, playerTurnTimeout, VOID, tmp1_state, false, tag);
|
|
2070
2066
|
};
|
|
2071
2067
|
var Companion_instance_11;
|
|
2072
2068
|
function Companion_getInstance_13() {
|
|
@@ -2087,17 +2083,17 @@
|
|
|
2087
2083
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2088
2084
|
tag = tag === VOID ? null : tag;
|
|
2089
2085
|
connection = connection === VOID ? null : connection;
|
|
2090
|
-
this.
|
|
2091
|
-
this.
|
|
2092
|
-
this.
|
|
2093
|
-
this.
|
|
2094
|
-
this.
|
|
2095
|
-
this.
|
|
2096
|
-
this.
|
|
2097
|
-
}
|
|
2098
|
-
protoOf(PlayerState).
|
|
2086
|
+
this.h2m_1 = startFromTime;
|
|
2087
|
+
this.i2m_1 = playerTurnTimeout;
|
|
2088
|
+
this.j2m_1 = waitPlayerUntilTime;
|
|
2089
|
+
this.k2m_1 = state;
|
|
2090
|
+
this.l2m_1 = ready;
|
|
2091
|
+
this.m2m_1 = tag;
|
|
2092
|
+
this.n2m_1 = connection;
|
|
2093
|
+
}
|
|
2094
|
+
protoOf(PlayerState).d2o = function () {
|
|
2099
2095
|
// Inline function 'kotlin.requireNotNull' call
|
|
2100
|
-
var value = this.
|
|
2096
|
+
var value = this.n2m_1;
|
|
2101
2097
|
// Inline function 'kotlin.contracts.contract' call
|
|
2102
2098
|
var tmp$ret$1;
|
|
2103
2099
|
$l$block: {
|
|
@@ -2114,9 +2110,9 @@
|
|
|
2114
2110
|
}
|
|
2115
2111
|
return tmp$ret$1;
|
|
2116
2112
|
};
|
|
2117
|
-
protoOf(PlayerState).
|
|
2113
|
+
protoOf(PlayerState).e2o = function () {
|
|
2118
2114
|
// Inline function 'kotlin.requireNotNull' call
|
|
2119
|
-
var value = this.
|
|
2115
|
+
var value = this.m2m_1;
|
|
2120
2116
|
// Inline function 'kotlin.contracts.contract' call
|
|
2121
2117
|
var tmp$ret$1;
|
|
2122
2118
|
$l$block: {
|
|
@@ -2133,102 +2129,102 @@
|
|
|
2133
2129
|
}
|
|
2134
2130
|
return tmp$ret$1;
|
|
2135
2131
|
};
|
|
2136
|
-
protoOf(PlayerState).
|
|
2137
|
-
var tmp0_elvis_lhs = this.
|
|
2132
|
+
protoOf(PlayerState).f2o = function () {
|
|
2133
|
+
var tmp0_elvis_lhs = this.m2m_1;
|
|
2138
2134
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2139
2135
|
};
|
|
2140
2136
|
protoOf(PlayerState).toString = function () {
|
|
2141
2137
|
// Inline function 'kotlin.takeIf' call
|
|
2142
|
-
var this_0 = 'startFromTime=' + this.
|
|
2138
|
+
var this_0 = 'startFromTime=' + this.h2m_1 + ', ';
|
|
2143
2139
|
// Inline function 'kotlin.contracts.contract' call
|
|
2144
2140
|
var tmp;
|
|
2145
2141
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2146
|
-
if (!(this.
|
|
2142
|
+
if (!(this.h2m_1 == null)) {
|
|
2147
2143
|
tmp = this_0;
|
|
2148
2144
|
} else {
|
|
2149
2145
|
tmp = null;
|
|
2150
2146
|
}
|
|
2151
2147
|
var tmp_0 = 'PlayerState(' + tmp;
|
|
2152
2148
|
// Inline function 'kotlin.takeIf' call
|
|
2153
|
-
var this_1 = 'playerTurnTimeout=' + this.
|
|
2149
|
+
var this_1 = 'playerTurnTimeout=' + this.i2m_1 + ', ';
|
|
2154
2150
|
// Inline function 'kotlin.contracts.contract' call
|
|
2155
2151
|
var tmp_1;
|
|
2156
2152
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2157
|
-
if (!(this.
|
|
2153
|
+
if (!(this.i2m_1 == null)) {
|
|
2158
2154
|
tmp_1 = this_1;
|
|
2159
2155
|
} else {
|
|
2160
2156
|
tmp_1 = null;
|
|
2161
2157
|
}
|
|
2162
2158
|
var tmp_2 = tmp_0 + tmp_1;
|
|
2163
2159
|
// Inline function 'kotlin.takeIf' call
|
|
2164
|
-
var this_2 = 'waitPlayerUntilTime=' + this.
|
|
2160
|
+
var this_2 = 'waitPlayerUntilTime=' + this.j2m_1 + ', ';
|
|
2165
2161
|
// Inline function 'kotlin.contracts.contract' call
|
|
2166
2162
|
var tmp_3;
|
|
2167
2163
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2168
|
-
if (!(this.
|
|
2164
|
+
if (!(this.j2m_1 == null)) {
|
|
2169
2165
|
tmp_3 = this_2;
|
|
2170
2166
|
} else {
|
|
2171
2167
|
tmp_3 = null;
|
|
2172
2168
|
}
|
|
2173
|
-
var tmp_4 = tmp_2 + tmp_3 + ('state=' + this.
|
|
2169
|
+
var tmp_4 = tmp_2 + tmp_3 + ('state=' + this.k2m_1 + ', ');
|
|
2174
2170
|
// Inline function 'kotlin.takeIf' call
|
|
2175
|
-
var this_3 = 'ready=' + this.
|
|
2171
|
+
var this_3 = 'ready=' + this.l2m_1 + ', ';
|
|
2176
2172
|
// Inline function 'kotlin.contracts.contract' call
|
|
2177
2173
|
var tmp_5;
|
|
2178
2174
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2179
|
-
if (this.
|
|
2175
|
+
if (this.l2m_1) {
|
|
2180
2176
|
tmp_5 = this_3;
|
|
2181
2177
|
} else {
|
|
2182
2178
|
tmp_5 = null;
|
|
2183
2179
|
}
|
|
2184
2180
|
var tmp_6 = tmp_4 + tmp_5;
|
|
2185
2181
|
// Inline function 'kotlin.takeIf' call
|
|
2186
|
-
var this_4 = 'tag=' + this.
|
|
2182
|
+
var this_4 = 'tag=' + this.m2m_1 + ', ';
|
|
2187
2183
|
// Inline function 'kotlin.contracts.contract' call
|
|
2188
2184
|
var tmp_7;
|
|
2189
2185
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2190
|
-
if (!(this.
|
|
2186
|
+
if (!(this.m2m_1 == null)) {
|
|
2191
2187
|
tmp_7 = this_4;
|
|
2192
2188
|
} else {
|
|
2193
2189
|
tmp_7 = null;
|
|
2194
2190
|
}
|
|
2195
2191
|
var tmp_8 = tmp_6 + tmp_7;
|
|
2196
2192
|
// Inline function 'kotlin.takeIf' call
|
|
2197
|
-
var this_5 = 'connection=' + this.
|
|
2193
|
+
var this_5 = 'connection=' + this.n2m_1;
|
|
2198
2194
|
// Inline function 'kotlin.contracts.contract' call
|
|
2199
2195
|
var tmp_9;
|
|
2200
2196
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2201
|
-
if (!(this.
|
|
2197
|
+
if (!(this.n2m_1 == null)) {
|
|
2202
2198
|
tmp_9 = this_5;
|
|
2203
2199
|
} else {
|
|
2204
2200
|
tmp_9 = null;
|
|
2205
2201
|
}
|
|
2206
2202
|
return tmp_8 + tmp_9 + ')';
|
|
2207
2203
|
};
|
|
2208
|
-
protoOf(PlayerState).
|
|
2209
|
-
return this.
|
|
2204
|
+
protoOf(PlayerState).o2m = function () {
|
|
2205
|
+
return this.k2m_1.x2n() ? true : this.k2m_1.y2n();
|
|
2210
2206
|
};
|
|
2211
|
-
protoOf(PlayerState).
|
|
2207
|
+
protoOf(PlayerState).g2o = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2212
2208
|
return new PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2213
2209
|
};
|
|
2214
|
-
protoOf(PlayerState).
|
|
2215
|
-
startFromTime = startFromTime === VOID ? this.
|
|
2216
|
-
playerTurnTimeout = playerTurnTimeout === VOID ? this.
|
|
2217
|
-
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.
|
|
2218
|
-
state = state === VOID ? this.
|
|
2219
|
-
ready = ready === VOID ? this.
|
|
2220
|
-
tag = tag === VOID ? this.
|
|
2221
|
-
connection = connection === VOID ? this.
|
|
2222
|
-
return $super === VOID ? this.
|
|
2210
|
+
protoOf(PlayerState).b2o = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, $super) {
|
|
2211
|
+
startFromTime = startFromTime === VOID ? this.h2m_1 : startFromTime;
|
|
2212
|
+
playerTurnTimeout = playerTurnTimeout === VOID ? this.i2m_1 : playerTurnTimeout;
|
|
2213
|
+
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.j2m_1 : waitPlayerUntilTime;
|
|
2214
|
+
state = state === VOID ? this.k2m_1 : state;
|
|
2215
|
+
ready = ready === VOID ? this.l2m_1 : ready;
|
|
2216
|
+
tag = tag === VOID ? this.m2m_1 : tag;
|
|
2217
|
+
connection = connection === VOID ? this.n2m_1 : connection;
|
|
2218
|
+
return $super === VOID ? this.g2o(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) : $super.g2o.call(this, startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2223
2219
|
};
|
|
2224
2220
|
protoOf(PlayerState).hashCode = function () {
|
|
2225
|
-
var result = this.
|
|
2221
|
+
var result = this.h2m_1 == null ? 0 : this.h2m_1.hashCode();
|
|
2222
|
+
result = imul(result, 31) + (this.i2m_1 == null ? 0 : this.i2m_1.hashCode()) | 0;
|
|
2226
2223
|
result = imul(result, 31) + (this.j2m_1 == null ? 0 : this.j2m_1.hashCode()) | 0;
|
|
2227
|
-
result = imul(result, 31) +
|
|
2228
|
-
result = imul(result, 31) + this.l2m_1
|
|
2229
|
-
result = imul(result, 31) +
|
|
2230
|
-
result = imul(result, 31) + (this.n2m_1 == null ? 0 :
|
|
2231
|
-
result = imul(result, 31) + (this.o2m_1 == null ? 0 : this.o2m_1.hashCode()) | 0;
|
|
2224
|
+
result = imul(result, 31) + this.k2m_1.hashCode() | 0;
|
|
2225
|
+
result = imul(result, 31) + getBooleanHashCode(this.l2m_1) | 0;
|
|
2226
|
+
result = imul(result, 31) + (this.m2m_1 == null ? 0 : getStringHashCode(this.m2m_1)) | 0;
|
|
2227
|
+
result = imul(result, 31) + (this.n2m_1 == null ? 0 : this.n2m_1.hashCode()) | 0;
|
|
2232
2228
|
return result;
|
|
2233
2229
|
};
|
|
2234
2230
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -2237,30 +2233,30 @@
|
|
|
2237
2233
|
if (!(other instanceof PlayerState))
|
|
2238
2234
|
return false;
|
|
2239
2235
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
2236
|
+
if (!equals(this.h2m_1, tmp0_other_with_cast.h2m_1))
|
|
2237
|
+
return false;
|
|
2240
2238
|
if (!equals(this.i2m_1, tmp0_other_with_cast.i2m_1))
|
|
2241
2239
|
return false;
|
|
2242
2240
|
if (!equals(this.j2m_1, tmp0_other_with_cast.j2m_1))
|
|
2243
2241
|
return false;
|
|
2244
|
-
if (!
|
|
2242
|
+
if (!this.k2m_1.equals(tmp0_other_with_cast.k2m_1))
|
|
2245
2243
|
return false;
|
|
2246
|
-
if (!this.l2m_1
|
|
2244
|
+
if (!(this.l2m_1 === tmp0_other_with_cast.l2m_1))
|
|
2247
2245
|
return false;
|
|
2248
|
-
if (!(this.m2m_1
|
|
2246
|
+
if (!(this.m2m_1 == tmp0_other_with_cast.m2m_1))
|
|
2249
2247
|
return false;
|
|
2250
|
-
if (!(this.n2m_1
|
|
2251
|
-
return false;
|
|
2252
|
-
if (!equals(this.o2m_1, tmp0_other_with_cast.o2m_1))
|
|
2248
|
+
if (!equals(this.n2m_1, tmp0_other_with_cast.n2m_1))
|
|
2253
2249
|
return false;
|
|
2254
2250
|
return true;
|
|
2255
2251
|
};
|
|
2256
2252
|
function Team(playerIds) {
|
|
2257
|
-
this.
|
|
2253
|
+
this.h2o_1 = playerIds;
|
|
2258
2254
|
}
|
|
2259
2255
|
protoOf(Team).toString = function () {
|
|
2260
|
-
return 'Team(playerIds=' + this.
|
|
2256
|
+
return 'Team(playerIds=' + this.h2o_1 + ')';
|
|
2261
2257
|
};
|
|
2262
2258
|
protoOf(Team).hashCode = function () {
|
|
2263
|
-
return hashCode(this.
|
|
2259
|
+
return hashCode(this.h2o_1);
|
|
2264
2260
|
};
|
|
2265
2261
|
protoOf(Team).equals = function (other) {
|
|
2266
2262
|
if (this === other)
|
|
@@ -2268,7 +2264,7 @@
|
|
|
2268
2264
|
if (!(other instanceof Team))
|
|
2269
2265
|
return false;
|
|
2270
2266
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
2271
|
-
if (!equals(this.
|
|
2267
|
+
if (!equals(this.h2o_1, tmp0_other_with_cast.h2o_1))
|
|
2272
2268
|
return false;
|
|
2273
2269
|
return true;
|
|
2274
2270
|
};
|
|
@@ -2278,7 +2274,7 @@
|
|
|
2278
2274
|
return new Rules(true, true, true, false, false, true, true, true, false, false, false, true, 50, true, false, true, false);
|
|
2279
2275
|
};
|
|
2280
2276
|
protoOf(Companion_12).saltivka = function () {
|
|
2281
|
-
return new Rules(true, true, true, false, false, true, true, false, false, false, false, true, 50, true, false,
|
|
2277
|
+
return new Rules(true, true, true, false, false, true, true, false, false, false, false, true, 50, true, false, false, false);
|
|
2282
2278
|
};
|
|
2283
2279
|
protoOf(Companion_12).klabor = function () {
|
|
2284
2280
|
return new Rules(true, false, true, false, true, true, false, true, false, false, true, true, 100, true, true, false, false);
|
|
@@ -2315,55 +2311,55 @@
|
|
|
2315
2311
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
2316
2312
|
this.tenCardsInHand = tenCardsInHand;
|
|
2317
2313
|
}
|
|
2318
|
-
protoOf(Rules).
|
|
2314
|
+
protoOf(Rules).i2o = function () {
|
|
2319
2315
|
return this.needToPutHigherTrump;
|
|
2320
2316
|
};
|
|
2321
|
-
protoOf(Rules).
|
|
2317
|
+
protoOf(Rules).j2o = function () {
|
|
2322
2318
|
return this.distributePoints;
|
|
2323
2319
|
};
|
|
2324
|
-
protoOf(Rules).
|
|
2320
|
+
protoOf(Rules).k2o = function () {
|
|
2325
2321
|
return this.protectBella;
|
|
2326
2322
|
};
|
|
2327
|
-
protoOf(Rules).
|
|
2323
|
+
protoOf(Rules).l2o = function () {
|
|
2328
2324
|
return this.oneTryToProtectBella;
|
|
2329
2325
|
};
|
|
2330
|
-
protoOf(Rules).
|
|
2326
|
+
protoOf(Rules).m2o = function () {
|
|
2331
2327
|
return this.enableFourSevensCombination;
|
|
2332
2328
|
};
|
|
2333
|
-
protoOf(Rules).
|
|
2329
|
+
protoOf(Rules).n2o = function () {
|
|
2334
2330
|
return this.enableTrumpSevenCombination;
|
|
2335
2331
|
};
|
|
2336
|
-
protoOf(Rules).
|
|
2332
|
+
protoOf(Rules).o2o = function () {
|
|
2337
2333
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2338
2334
|
};
|
|
2339
|
-
protoOf(Rules).
|
|
2335
|
+
protoOf(Rules).p2o = function () {
|
|
2340
2336
|
return this.playerWhoChooseSuitGoFirst;
|
|
2341
2337
|
};
|
|
2342
|
-
protoOf(Rules).
|
|
2338
|
+
protoOf(Rules).q2o = function () {
|
|
2343
2339
|
return this.winnerShuffleCards;
|
|
2344
2340
|
};
|
|
2345
|
-
protoOf(Rules).
|
|
2341
|
+
protoOf(Rules).r2o = function () {
|
|
2346
2342
|
return this.playWithoutLiabilities;
|
|
2347
2343
|
};
|
|
2348
|
-
protoOf(Rules).
|
|
2344
|
+
protoOf(Rules).s2o = function () {
|
|
2349
2345
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2350
2346
|
};
|
|
2351
|
-
protoOf(Rules).
|
|
2347
|
+
protoOf(Rules).t2o = function () {
|
|
2352
2348
|
return this.enableFineIfNoBribes;
|
|
2353
2349
|
};
|
|
2354
|
-
protoOf(Rules).
|
|
2350
|
+
protoOf(Rules).u2o = function () {
|
|
2355
2351
|
return this.fineIfNoBribes;
|
|
2356
2352
|
};
|
|
2357
|
-
protoOf(Rules).
|
|
2353
|
+
protoOf(Rules).v2o = function () {
|
|
2358
2354
|
return this.enableFineAfterThirdByte;
|
|
2359
2355
|
};
|
|
2360
|
-
protoOf(Rules).
|
|
2356
|
+
protoOf(Rules).w2o = function () {
|
|
2361
2357
|
return this.checkTrumpCombination;
|
|
2362
2358
|
};
|
|
2363
|
-
protoOf(Rules).
|
|
2359
|
+
protoOf(Rules).x2o = function () {
|
|
2364
2360
|
return this.checkOnlyTrumpDebertz;
|
|
2365
2361
|
};
|
|
2366
|
-
protoOf(Rules).
|
|
2362
|
+
protoOf(Rules).y2o = function () {
|
|
2367
2363
|
return this.tenCardsInHand;
|
|
2368
2364
|
};
|
|
2369
2365
|
protoOf(Rules).cd = function () {
|
|
@@ -2375,49 +2371,49 @@
|
|
|
2375
2371
|
protoOf(Rules).qh = function () {
|
|
2376
2372
|
return this.protectBella;
|
|
2377
2373
|
};
|
|
2378
|
-
protoOf(Rules).
|
|
2374
|
+
protoOf(Rules).p2k = function () {
|
|
2379
2375
|
return this.oneTryToProtectBella;
|
|
2380
2376
|
};
|
|
2381
|
-
protoOf(Rules).
|
|
2377
|
+
protoOf(Rules).y2l = function () {
|
|
2382
2378
|
return this.enableFourSevensCombination;
|
|
2383
2379
|
};
|
|
2384
|
-
protoOf(Rules).
|
|
2380
|
+
protoOf(Rules).z2l = function () {
|
|
2385
2381
|
return this.enableTrumpSevenCombination;
|
|
2386
2382
|
};
|
|
2387
|
-
protoOf(Rules).
|
|
2383
|
+
protoOf(Rules).z2o = function () {
|
|
2388
2384
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2389
2385
|
};
|
|
2390
|
-
protoOf(Rules).
|
|
2386
|
+
protoOf(Rules).a2p = function () {
|
|
2391
2387
|
return this.playerWhoChooseSuitGoFirst;
|
|
2392
2388
|
};
|
|
2393
|
-
protoOf(Rules).
|
|
2389
|
+
protoOf(Rules).b2p = function () {
|
|
2394
2390
|
return this.winnerShuffleCards;
|
|
2395
2391
|
};
|
|
2396
|
-
protoOf(Rules).
|
|
2392
|
+
protoOf(Rules).c2p = function () {
|
|
2397
2393
|
return this.playWithoutLiabilities;
|
|
2398
2394
|
};
|
|
2399
|
-
protoOf(Rules).
|
|
2395
|
+
protoOf(Rules).d2p = function () {
|
|
2400
2396
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2401
2397
|
};
|
|
2402
|
-
protoOf(Rules).
|
|
2398
|
+
protoOf(Rules).e2p = function () {
|
|
2403
2399
|
return this.enableFineIfNoBribes;
|
|
2404
2400
|
};
|
|
2405
|
-
protoOf(Rules).
|
|
2401
|
+
protoOf(Rules).f2p = function () {
|
|
2406
2402
|
return this.fineIfNoBribes;
|
|
2407
2403
|
};
|
|
2408
|
-
protoOf(Rules).
|
|
2404
|
+
protoOf(Rules).g2p = function () {
|
|
2409
2405
|
return this.enableFineAfterThirdByte;
|
|
2410
2406
|
};
|
|
2411
|
-
protoOf(Rules).
|
|
2407
|
+
protoOf(Rules).h2p = function () {
|
|
2412
2408
|
return this.checkTrumpCombination;
|
|
2413
2409
|
};
|
|
2414
|
-
protoOf(Rules).
|
|
2410
|
+
protoOf(Rules).i2p = function () {
|
|
2415
2411
|
return this.checkOnlyTrumpDebertz;
|
|
2416
2412
|
};
|
|
2417
|
-
protoOf(Rules).
|
|
2413
|
+
protoOf(Rules).j2p = function () {
|
|
2418
2414
|
return this.tenCardsInHand;
|
|
2419
2415
|
};
|
|
2420
|
-
protoOf(Rules).
|
|
2416
|
+
protoOf(Rules).k2p = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2421
2417
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2422
2418
|
};
|
|
2423
2419
|
protoOf(Rules).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -2438,7 +2434,7 @@
|
|
|
2438
2434
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
2439
2435
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
2440
2436
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
2441
|
-
return this.
|
|
2437
|
+
return this.k2p(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2442
2438
|
};
|
|
2443
2439
|
protoOf(Rules).toString = function () {
|
|
2444
2440
|
return 'Rules(needToPutHigherTrump=' + this.needToPutHigherTrump + ', distributePoints=' + this.distributePoints + ', protectBella=' + this.protectBella + ', oneTryToProtectBella=' + this.oneTryToProtectBella + ', enableFourSevensCombination=' + this.enableFourSevensCombination + ', enableTrumpSevenCombination=' + this.enableTrumpSevenCombination + ', enableTrumpSevenCombinationAfterDistribution=' + this.enableTrumpSevenCombinationAfterDistribution + ', playerWhoChooseSuitGoFirst=' + this.playerWhoChooseSuitGoFirst + ', winnerShuffleCards=' + this.winnerShuffleCards + ', playWithoutLiabilities=' + this.playWithoutLiabilities + ', trumpCardGoToPlayerWhoShuffleCards=' + this.trumpCardGoToPlayerWhoShuffleCards + ', enableFineIfNoBribes=' + this.enableFineIfNoBribes + ', fineIfNoBribes=' + this.fineIfNoBribes + ', enableFineAfterThirdByte=' + this.enableFineAfterThirdByte + ', checkTrumpCombination=' + this.checkTrumpCombination + ', checkOnlyTrumpDebertz=' + this.checkOnlyTrumpDebertz + ', tenCardsInHand=' + this.tenCardsInHand + ')';
|
|
@@ -2579,7 +2575,7 @@
|
|
|
2579
2575
|
}
|
|
2580
2576
|
return tmp;
|
|
2581
2577
|
};
|
|
2582
|
-
protoOf(RulesSetType).
|
|
2578
|
+
protoOf(RulesSetType).n2p = function () {
|
|
2583
2579
|
return this.equals(RulesSetType_custom_getInstance());
|
|
2584
2580
|
};
|
|
2585
2581
|
function RulesSetType_belot_getInstance() {
|
|
@@ -2607,7 +2603,7 @@
|
|
|
2607
2603
|
return RulesSetType_custom_instance;
|
|
2608
2604
|
}
|
|
2609
2605
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2610
|
-
return $this.
|
|
2606
|
+
return $this.o2p_1.o2();
|
|
2611
2607
|
}
|
|
2612
2608
|
function BufferedActionDto$Companion$_anonymous__7htcgr() {
|
|
2613
2609
|
var tmp = getKClass(BufferedActionDto);
|
|
@@ -2621,7 +2617,7 @@
|
|
|
2621
2617
|
Companion_instance_13 = this;
|
|
2622
2618
|
var tmp = this;
|
|
2623
2619
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2624
|
-
tmp.
|
|
2620
|
+
tmp.o2p_1 = lazy(tmp_0, BufferedActionDto$Companion$_anonymous__7htcgr);
|
|
2625
2621
|
}
|
|
2626
2622
|
protoOf(Companion_13).t16 = function () {
|
|
2627
2623
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
@@ -2642,7 +2638,7 @@
|
|
|
2642
2638
|
Companion_getInstance_15();
|
|
2643
2639
|
}
|
|
2644
2640
|
function mapToDto(_this__u8e3s4) {
|
|
2645
|
-
return _this__u8e3s4.
|
|
2641
|
+
return _this__u8e3s4.q2p_1;
|
|
2646
2642
|
}
|
|
2647
2643
|
function mapFromDto(_this__u8e3s4) {
|
|
2648
2644
|
return new GameCard(_this__u8e3s4);
|
|
@@ -2861,11 +2857,11 @@
|
|
|
2861
2857
|
tmp = null;
|
|
2862
2858
|
}
|
|
2863
2859
|
var tmp$ret$1 = tmp;
|
|
2864
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2860
|
+
return new GameUserInfoDto(_this__u8e3s4.t2l_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1, _this__u8e3s4.initialLuckyFactor);
|
|
2865
2861
|
}
|
|
2866
2862
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2867
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2868
|
-
return new GameUserInfo(_this__u8e3s4.
|
|
2863
|
+
var tmp0_elvis_lhs = _this__u8e3s4.u2p_1;
|
|
2864
|
+
return new GameUserInfo(_this__u8e3s4.r2p_1, _this__u8e3s4.s2p_1, _this__u8e3s4.t2p_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.v2p_1);
|
|
2869
2865
|
}
|
|
2870
2866
|
function Companion_14() {
|
|
2871
2867
|
}
|
|
@@ -2881,10 +2877,10 @@
|
|
|
2881
2877
|
tmp0_serialDesc.ku('avatarUrl', true);
|
|
2882
2878
|
tmp0_serialDesc.ku('isBot', true);
|
|
2883
2879
|
tmp0_serialDesc.ku('initialLuckyFactor', true);
|
|
2884
|
-
this.
|
|
2880
|
+
this.w2p_1 = tmp0_serialDesc;
|
|
2885
2881
|
}
|
|
2886
2882
|
protoOf($serializer_5).pj = function () {
|
|
2887
|
-
return this.
|
|
2883
|
+
return this.w2p_1;
|
|
2888
2884
|
};
|
|
2889
2885
|
protoOf($serializer_5).zu = function () {
|
|
2890
2886
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2893,7 +2889,7 @@
|
|
|
2893
2889
|
return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
|
|
2894
2890
|
};
|
|
2895
2891
|
protoOf($serializer_5).rj = function (decoder) {
|
|
2896
|
-
var tmp0_desc = this.
|
|
2892
|
+
var tmp0_desc = this.w2p_1;
|
|
2897
2893
|
var tmp1_flag = true;
|
|
2898
2894
|
var tmp2_index = 0;
|
|
2899
2895
|
var tmp3_bitMask0 = 0;
|
|
@@ -2948,24 +2944,24 @@
|
|
|
2948
2944
|
tmp9_input.ym(tmp0_desc);
|
|
2949
2945
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
2950
2946
|
};
|
|
2951
|
-
protoOf($serializer_5).
|
|
2952
|
-
var tmp0_desc = this.
|
|
2947
|
+
protoOf($serializer_5).x2p = function (encoder, value) {
|
|
2948
|
+
var tmp0_desc = this.w2p_1;
|
|
2953
2949
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
2954
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
2955
|
-
tmp1_output.mo(tmp0_desc, 1, value.
|
|
2956
|
-
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.
|
|
2957
|
-
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2950
|
+
tmp1_output.mo(tmp0_desc, 0, value.r2p_1);
|
|
2951
|
+
tmp1_output.mo(tmp0_desc, 1, value.s2p_1);
|
|
2952
|
+
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.t2p_1 == null)) {
|
|
2953
|
+
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.t2p_1);
|
|
2958
2954
|
}
|
|
2959
|
-
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.
|
|
2960
|
-
tmp1_output.qo(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2955
|
+
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.u2p_1 == null)) {
|
|
2956
|
+
tmp1_output.qo(tmp0_desc, 3, BooleanSerializer_getInstance(), value.u2p_1);
|
|
2961
2957
|
}
|
|
2962
|
-
if (tmp1_output.uo(tmp0_desc, 4) ? true : !(value.
|
|
2963
|
-
tmp1_output.qo(tmp0_desc, 4, FloatSerializer_getInstance(), value.
|
|
2958
|
+
if (tmp1_output.uo(tmp0_desc, 4) ? true : !(value.v2p_1 == null)) {
|
|
2959
|
+
tmp1_output.qo(tmp0_desc, 4, FloatSerializer_getInstance(), value.v2p_1);
|
|
2964
2960
|
}
|
|
2965
2961
|
tmp1_output.ym(tmp0_desc);
|
|
2966
2962
|
};
|
|
2967
2963
|
protoOf($serializer_5).qj = function (encoder, value) {
|
|
2968
|
-
return this.
|
|
2964
|
+
return this.x2p(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2969
2965
|
};
|
|
2970
2966
|
var $serializer_instance_5;
|
|
2971
2967
|
function $serializer_getInstance_5() {
|
|
@@ -2975,22 +2971,22 @@
|
|
|
2975
2971
|
}
|
|
2976
2972
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2977
2973
|
if (!(3 === (3 & seen1))) {
|
|
2978
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().
|
|
2974
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().w2p_1);
|
|
2979
2975
|
}
|
|
2980
|
-
$this.
|
|
2981
|
-
$this.
|
|
2976
|
+
$this.r2p_1 = playerId;
|
|
2977
|
+
$this.s2p_1 = name;
|
|
2982
2978
|
if (0 === (seen1 & 4))
|
|
2983
|
-
$this.
|
|
2979
|
+
$this.t2p_1 = null;
|
|
2984
2980
|
else
|
|
2985
|
-
$this.
|
|
2981
|
+
$this.t2p_1 = avatarUrl;
|
|
2986
2982
|
if (0 === (seen1 & 8))
|
|
2987
|
-
$this.
|
|
2983
|
+
$this.u2p_1 = null;
|
|
2988
2984
|
else
|
|
2989
|
-
$this.
|
|
2985
|
+
$this.u2p_1 = isBot;
|
|
2990
2986
|
if (0 === (seen1 & 16))
|
|
2991
|
-
$this.
|
|
2987
|
+
$this.v2p_1 = null;
|
|
2992
2988
|
else
|
|
2993
|
-
$this.
|
|
2989
|
+
$this.v2p_1 = initialLuckyFactor;
|
|
2994
2990
|
return $this;
|
|
2995
2991
|
}
|
|
2996
2992
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -3000,35 +2996,35 @@
|
|
|
3000
2996
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
3001
2997
|
isBot = isBot === VOID ? null : isBot;
|
|
3002
2998
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
3003
|
-
this.
|
|
3004
|
-
this.
|
|
3005
|
-
this.
|
|
3006
|
-
this.
|
|
3007
|
-
this.
|
|
2999
|
+
this.r2p_1 = playerId;
|
|
3000
|
+
this.s2p_1 = name;
|
|
3001
|
+
this.t2p_1 = avatarUrl;
|
|
3002
|
+
this.u2p_1 = isBot;
|
|
3003
|
+
this.v2p_1 = initialLuckyFactor;
|
|
3008
3004
|
}
|
|
3009
|
-
protoOf(GameUserInfoDto).
|
|
3010
|
-
return this.
|
|
3005
|
+
protoOf(GameUserInfoDto).y2p = function () {
|
|
3006
|
+
return this.z2p(VOID, VOID, VOID, null, null);
|
|
3011
3007
|
};
|
|
3012
|
-
protoOf(GameUserInfoDto).
|
|
3008
|
+
protoOf(GameUserInfoDto).a2q = function (playerId, name, avatarUrl, isBot, initialLuckyFactor) {
|
|
3013
3009
|
return new GameUserInfoDto(playerId, name, avatarUrl, isBot, initialLuckyFactor);
|
|
3014
3010
|
};
|
|
3015
|
-
protoOf(GameUserInfoDto).
|
|
3016
|
-
playerId = playerId === VOID ? this.
|
|
3017
|
-
name = name === VOID ? this.
|
|
3018
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
3019
|
-
isBot = isBot === VOID ? this.
|
|
3020
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
3021
|
-
return $super === VOID ? this.
|
|
3011
|
+
protoOf(GameUserInfoDto).z2p = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, $super) {
|
|
3012
|
+
playerId = playerId === VOID ? this.r2p_1 : playerId;
|
|
3013
|
+
name = name === VOID ? this.s2p_1 : name;
|
|
3014
|
+
avatarUrl = avatarUrl === VOID ? this.t2p_1 : avatarUrl;
|
|
3015
|
+
isBot = isBot === VOID ? this.u2p_1 : isBot;
|
|
3016
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.v2p_1 : initialLuckyFactor;
|
|
3017
|
+
return $super === VOID ? this.a2q(playerId, name, avatarUrl, isBot, initialLuckyFactor) : $super.a2q.call(this, playerId, name, avatarUrl, isBot, initialLuckyFactor);
|
|
3022
3018
|
};
|
|
3023
3019
|
protoOf(GameUserInfoDto).toString = function () {
|
|
3024
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
3020
|
+
return 'GameUserInfoDto(playerId=' + this.r2p_1 + ', name=' + this.s2p_1 + ', avatarUrl=' + this.t2p_1 + ', isBot=' + this.u2p_1 + ', initialLuckyFactor=' + this.v2p_1 + ')';
|
|
3025
3021
|
};
|
|
3026
3022
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
3027
|
-
var result = getStringHashCode(this.
|
|
3028
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3029
|
-
result = imul(result, 31) + (this.
|
|
3030
|
-
result = imul(result, 31) + (this.
|
|
3031
|
-
result = imul(result, 31) + (this.
|
|
3023
|
+
var result = getStringHashCode(this.r2p_1);
|
|
3024
|
+
result = imul(result, 31) + getStringHashCode(this.s2p_1) | 0;
|
|
3025
|
+
result = imul(result, 31) + (this.t2p_1 == null ? 0 : getStringHashCode(this.t2p_1)) | 0;
|
|
3026
|
+
result = imul(result, 31) + (this.u2p_1 == null ? 0 : getBooleanHashCode(this.u2p_1)) | 0;
|
|
3027
|
+
result = imul(result, 31) + (this.v2p_1 == null ? 0 : getNumberHashCode(this.v2p_1)) | 0;
|
|
3032
3028
|
return result;
|
|
3033
3029
|
};
|
|
3034
3030
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -3037,15 +3033,15 @@
|
|
|
3037
3033
|
if (!(other instanceof GameUserInfoDto))
|
|
3038
3034
|
return false;
|
|
3039
3035
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
3036
|
+
if (!(this.r2p_1 === tmp0_other_with_cast.r2p_1))
|
|
3037
|
+
return false;
|
|
3040
3038
|
if (!(this.s2p_1 === tmp0_other_with_cast.s2p_1))
|
|
3041
3039
|
return false;
|
|
3042
|
-
if (!(this.t2p_1
|
|
3040
|
+
if (!(this.t2p_1 == tmp0_other_with_cast.t2p_1))
|
|
3043
3041
|
return false;
|
|
3044
3042
|
if (!(this.u2p_1 == tmp0_other_with_cast.u2p_1))
|
|
3045
3043
|
return false;
|
|
3046
|
-
if (!(this.v2p_1
|
|
3047
|
-
return false;
|
|
3048
|
-
if (!equals(this.w2p_1, tmp0_other_with_cast.w2p_1))
|
|
3044
|
+
if (!equals(this.v2p_1, tmp0_other_with_cast.v2p_1))
|
|
3049
3045
|
return false;
|
|
3050
3046
|
return true;
|
|
3051
3047
|
};
|
|
@@ -3055,7 +3051,7 @@
|
|
|
3055
3051
|
// Inline function 'kotlin.arrayOf' call
|
|
3056
3052
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3057
3053
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3058
|
-
tmp.
|
|
3054
|
+
tmp.b2q_1 = [Companion_getInstance_11().t16(), null, null];
|
|
3059
3055
|
}
|
|
3060
3056
|
var Companion_instance_15;
|
|
3061
3057
|
function Companion_getInstance_17() {
|
|
@@ -3069,19 +3065,19 @@
|
|
|
3069
3065
|
tmp0_serialDesc.ku('state', false);
|
|
3070
3066
|
tmp0_serialDesc.ku('connectionChangedTime', false);
|
|
3071
3067
|
tmp0_serialDesc.ku('notLiveDurationRecord', false);
|
|
3072
|
-
this.
|
|
3068
|
+
this.c2q_1 = tmp0_serialDesc;
|
|
3073
3069
|
}
|
|
3074
3070
|
protoOf($serializer_6).pj = function () {
|
|
3075
|
-
return this.
|
|
3071
|
+
return this.c2q_1;
|
|
3076
3072
|
};
|
|
3077
3073
|
protoOf($serializer_6).zu = function () {
|
|
3078
3074
|
// Inline function 'kotlin.arrayOf' call
|
|
3079
3075
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3080
3076
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3081
|
-
return [Companion_getInstance_17().
|
|
3077
|
+
return [Companion_getInstance_17().b2q_1[0], StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
3082
3078
|
};
|
|
3083
3079
|
protoOf($serializer_6).rj = function (decoder) {
|
|
3084
|
-
var tmp0_desc = this.
|
|
3080
|
+
var tmp0_desc = this.c2q_1;
|
|
3085
3081
|
var tmp1_flag = true;
|
|
3086
3082
|
var tmp2_index = 0;
|
|
3087
3083
|
var tmp3_bitMask0 = 0;
|
|
@@ -3089,7 +3085,7 @@
|
|
|
3089
3085
|
var tmp5_local1 = null;
|
|
3090
3086
|
var tmp6_local2 = null;
|
|
3091
3087
|
var tmp7_input = decoder.xm(tmp0_desc);
|
|
3092
|
-
var tmp8_cached = Companion_getInstance_17().
|
|
3088
|
+
var tmp8_cached = Companion_getInstance_17().b2q_1;
|
|
3093
3089
|
if (tmp7_input.nn()) {
|
|
3094
3090
|
tmp4_local0 = tmp7_input.jn(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
3095
3091
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3123,17 +3119,17 @@
|
|
|
3123
3119
|
tmp7_input.ym(tmp0_desc);
|
|
3124
3120
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
3125
3121
|
};
|
|
3126
|
-
protoOf($serializer_6).
|
|
3127
|
-
var tmp0_desc = this.
|
|
3122
|
+
protoOf($serializer_6).d2q = function (encoder, value) {
|
|
3123
|
+
var tmp0_desc = this.c2q_1;
|
|
3128
3124
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3129
|
-
var tmp2_cached = Companion_getInstance_17().
|
|
3130
|
-
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.
|
|
3131
|
-
tmp1_output.mo(tmp0_desc, 1, value.
|
|
3132
|
-
tmp1_output.mo(tmp0_desc, 2, value.
|
|
3125
|
+
var tmp2_cached = Companion_getInstance_17().b2q_1;
|
|
3126
|
+
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.e2q_1);
|
|
3127
|
+
tmp1_output.mo(tmp0_desc, 1, value.f2q_1);
|
|
3128
|
+
tmp1_output.mo(tmp0_desc, 2, value.g2q_1);
|
|
3133
3129
|
tmp1_output.ym(tmp0_desc);
|
|
3134
3130
|
};
|
|
3135
3131
|
protoOf($serializer_6).qj = function (encoder, value) {
|
|
3136
|
-
return this.
|
|
3132
|
+
return this.d2q(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
3137
3133
|
};
|
|
3138
3134
|
var $serializer_instance_6;
|
|
3139
3135
|
function $serializer_getInstance_6() {
|
|
@@ -3143,11 +3139,11 @@
|
|
|
3143
3139
|
}
|
|
3144
3140
|
function PlayerConnectionDto_init_$Init$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
3145
3141
|
if (!(7 === (7 & seen1))) {
|
|
3146
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().
|
|
3142
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().c2q_1);
|
|
3147
3143
|
}
|
|
3148
|
-
$this.
|
|
3149
|
-
$this.
|
|
3150
|
-
$this.
|
|
3144
|
+
$this.e2q_1 = state;
|
|
3145
|
+
$this.f2q_1 = connectionChangedTime;
|
|
3146
|
+
$this.g2q_1 = notLiveDurationRecord;
|
|
3151
3147
|
return $this;
|
|
3152
3148
|
}
|
|
3153
3149
|
function PlayerConnectionDto_init_$Create$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -3156,12 +3152,12 @@
|
|
|
3156
3152
|
function PlayerConnectionDto() {
|
|
3157
3153
|
}
|
|
3158
3154
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
3159
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
3155
|
+
return 'PlayerConnectionDto(state=' + this.e2q_1 + ', connectionChangedTime=' + this.f2q_1 + ', notLiveDurationRecord=' + this.g2q_1 + ')';
|
|
3160
3156
|
};
|
|
3161
3157
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
3162
|
-
var result = this.
|
|
3158
|
+
var result = this.e2q_1.hashCode();
|
|
3159
|
+
result = imul(result, 31) + getStringHashCode(this.f2q_1) | 0;
|
|
3163
3160
|
result = imul(result, 31) + getStringHashCode(this.g2q_1) | 0;
|
|
3164
|
-
result = imul(result, 31) + getStringHashCode(this.h2q_1) | 0;
|
|
3165
3161
|
return result;
|
|
3166
3162
|
};
|
|
3167
3163
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -3170,11 +3166,11 @@
|
|
|
3170
3166
|
if (!(other instanceof PlayerConnectionDto))
|
|
3171
3167
|
return false;
|
|
3172
3168
|
var tmp0_other_with_cast = other instanceof PlayerConnectionDto ? other : THROW_CCE();
|
|
3173
|
-
if (!this.
|
|
3169
|
+
if (!this.e2q_1.equals(tmp0_other_with_cast.e2q_1))
|
|
3174
3170
|
return false;
|
|
3175
|
-
if (!(this.
|
|
3171
|
+
if (!(this.f2q_1 === tmp0_other_with_cast.f2q_1))
|
|
3176
3172
|
return false;
|
|
3177
|
-
if (!(this.
|
|
3173
|
+
if (!(this.g2q_1 === tmp0_other_with_cast.g2q_1))
|
|
3178
3174
|
return false;
|
|
3179
3175
|
return true;
|
|
3180
3176
|
};
|
|
@@ -3184,7 +3180,7 @@
|
|
|
3184
3180
|
// Inline function 'kotlin.arrayOf' call
|
|
3185
3181
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3186
3182
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3187
|
-
tmp.
|
|
3183
|
+
tmp.h2q_1 = [null, null, null, null, Companion_getInstance_12().t16(), null, null, null];
|
|
3188
3184
|
}
|
|
3189
3185
|
var Companion_instance_16;
|
|
3190
3186
|
function Companion_getInstance_18() {
|
|
@@ -3203,20 +3199,20 @@
|
|
|
3203
3199
|
tmp0_serialDesc.ku('ready', false);
|
|
3204
3200
|
tmp0_serialDesc.ku('tag', true);
|
|
3205
3201
|
tmp0_serialDesc.ku('connection', true);
|
|
3206
|
-
this.
|
|
3202
|
+
this.i2q_1 = tmp0_serialDesc;
|
|
3207
3203
|
}
|
|
3208
3204
|
protoOf($serializer_7).pj = function () {
|
|
3209
|
-
return this.
|
|
3205
|
+
return this.i2q_1;
|
|
3210
3206
|
};
|
|
3211
3207
|
protoOf($serializer_7).zu = function () {
|
|
3212
|
-
var tmp0_cached = Companion_getInstance_18().
|
|
3208
|
+
var tmp0_cached = Companion_getInstance_18().h2q_1;
|
|
3213
3209
|
// Inline function 'kotlin.arrayOf' call
|
|
3214
3210
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3215
3211
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3216
3212
|
return [get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[4], BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_6())];
|
|
3217
3213
|
};
|
|
3218
3214
|
protoOf($serializer_7).rj = function (decoder) {
|
|
3219
|
-
var tmp0_desc = this.
|
|
3215
|
+
var tmp0_desc = this.i2q_1;
|
|
3220
3216
|
var tmp1_flag = true;
|
|
3221
3217
|
var tmp2_index = 0;
|
|
3222
3218
|
var tmp3_bitMask0 = 0;
|
|
@@ -3229,7 +3225,7 @@
|
|
|
3229
3225
|
var tmp10_local6 = null;
|
|
3230
3226
|
var tmp11_local7 = null;
|
|
3231
3227
|
var tmp12_input = decoder.xm(tmp0_desc);
|
|
3232
|
-
var tmp13_cached = Companion_getInstance_18().
|
|
3228
|
+
var tmp13_cached = Companion_getInstance_18().h2q_1;
|
|
3233
3229
|
if (tmp12_input.nn()) {
|
|
3234
3230
|
tmp4_local0 = tmp12_input.ln(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
3235
3231
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3293,34 +3289,34 @@
|
|
|
3293
3289
|
tmp12_input.ym(tmp0_desc);
|
|
3294
3290
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
3295
3291
|
};
|
|
3296
|
-
protoOf($serializer_7).
|
|
3297
|
-
var tmp0_desc = this.
|
|
3292
|
+
protoOf($serializer_7).j2q = function (encoder, value) {
|
|
3293
|
+
var tmp0_desc = this.i2q_1;
|
|
3298
3294
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3299
|
-
var tmp2_cached = Companion_getInstance_18().
|
|
3300
|
-
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.
|
|
3301
|
-
tmp1_output.qo(tmp0_desc, 0, LongSerializer_getInstance(), value.
|
|
3295
|
+
var tmp2_cached = Companion_getInstance_18().h2q_1;
|
|
3296
|
+
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.k2q_1 == null)) {
|
|
3297
|
+
tmp1_output.qo(tmp0_desc, 0, LongSerializer_getInstance(), value.k2q_1);
|
|
3302
3298
|
}
|
|
3303
|
-
if (tmp1_output.uo(tmp0_desc, 1) ? true : !(value.
|
|
3304
|
-
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
3299
|
+
if (tmp1_output.uo(tmp0_desc, 1) ? true : !(value.l2q_1 == null)) {
|
|
3300
|
+
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.l2q_1);
|
|
3305
3301
|
}
|
|
3306
|
-
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.
|
|
3307
|
-
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3302
|
+
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.m2q_1 == null)) {
|
|
3303
|
+
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.m2q_1);
|
|
3308
3304
|
}
|
|
3309
|
-
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.
|
|
3310
|
-
tmp1_output.qo(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
3305
|
+
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.n2q_1 == null)) {
|
|
3306
|
+
tmp1_output.qo(tmp0_desc, 3, StringSerializer_getInstance(), value.n2q_1);
|
|
3311
3307
|
}
|
|
3312
|
-
tmp1_output.oo(tmp0_desc, 4, tmp2_cached[4], value.
|
|
3313
|
-
tmp1_output.eo(tmp0_desc, 5, value.
|
|
3314
|
-
if (tmp1_output.uo(tmp0_desc, 6) ? true : !(value.
|
|
3315
|
-
tmp1_output.qo(tmp0_desc, 6, StringSerializer_getInstance(), value.
|
|
3308
|
+
tmp1_output.oo(tmp0_desc, 4, tmp2_cached[4], value.o2q_1);
|
|
3309
|
+
tmp1_output.eo(tmp0_desc, 5, value.p2q_1);
|
|
3310
|
+
if (tmp1_output.uo(tmp0_desc, 6) ? true : !(value.q2q_1 == null)) {
|
|
3311
|
+
tmp1_output.qo(tmp0_desc, 6, StringSerializer_getInstance(), value.q2q_1);
|
|
3316
3312
|
}
|
|
3317
|
-
if (tmp1_output.uo(tmp0_desc, 7) ? true : !(value.
|
|
3318
|
-
tmp1_output.qo(tmp0_desc, 7, $serializer_getInstance_6(), value.
|
|
3313
|
+
if (tmp1_output.uo(tmp0_desc, 7) ? true : !(value.r2q_1 == null)) {
|
|
3314
|
+
tmp1_output.qo(tmp0_desc, 7, $serializer_getInstance_6(), value.r2q_1);
|
|
3319
3315
|
}
|
|
3320
3316
|
tmp1_output.ym(tmp0_desc);
|
|
3321
3317
|
};
|
|
3322
3318
|
protoOf($serializer_7).qj = function (encoder, value) {
|
|
3323
|
-
return this.
|
|
3319
|
+
return this.j2q(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3324
3320
|
};
|
|
3325
3321
|
var $serializer_instance_7;
|
|
3326
3322
|
function $serializer_getInstance_7() {
|
|
@@ -3330,34 +3326,34 @@
|
|
|
3330
3326
|
}
|
|
3331
3327
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3332
3328
|
if (!(48 === (48 & seen1))) {
|
|
3333
|
-
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().
|
|
3329
|
+
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().i2q_1);
|
|
3334
3330
|
}
|
|
3335
3331
|
if (0 === (seen1 & 1))
|
|
3336
|
-
$this.
|
|
3332
|
+
$this.k2q_1 = null;
|
|
3337
3333
|
else
|
|
3338
|
-
$this.
|
|
3334
|
+
$this.k2q_1 = startFromTime;
|
|
3339
3335
|
if (0 === (seen1 & 2))
|
|
3340
|
-
$this.
|
|
3336
|
+
$this.l2q_1 = null;
|
|
3341
3337
|
else
|
|
3342
|
-
$this.
|
|
3338
|
+
$this.l2q_1 = startFrom;
|
|
3343
3339
|
if (0 === (seen1 & 4))
|
|
3344
|
-
$this.
|
|
3340
|
+
$this.m2q_1 = null;
|
|
3345
3341
|
else
|
|
3346
|
-
$this.
|
|
3342
|
+
$this.m2q_1 = playerTurnTimeout;
|
|
3347
3343
|
if (0 === (seen1 & 8))
|
|
3348
|
-
$this.
|
|
3344
|
+
$this.n2q_1 = null;
|
|
3349
3345
|
else
|
|
3350
|
-
$this.
|
|
3351
|
-
$this.
|
|
3352
|
-
$this.
|
|
3346
|
+
$this.n2q_1 = waitPlayerUntilTime;
|
|
3347
|
+
$this.o2q_1 = state;
|
|
3348
|
+
$this.p2q_1 = ready;
|
|
3353
3349
|
if (0 === (seen1 & 64))
|
|
3354
|
-
$this.
|
|
3350
|
+
$this.q2q_1 = null;
|
|
3355
3351
|
else
|
|
3356
|
-
$this.
|
|
3352
|
+
$this.q2q_1 = tag;
|
|
3357
3353
|
if (0 === (seen1 & 128))
|
|
3358
|
-
$this.
|
|
3354
|
+
$this.r2q_1 = null;
|
|
3359
3355
|
else
|
|
3360
|
-
$this.
|
|
3356
|
+
$this.r2q_1 = connection;
|
|
3361
3357
|
return $this;
|
|
3362
3358
|
}
|
|
3363
3359
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -3366,17 +3362,17 @@
|
|
|
3366
3362
|
function PlayerStateDto() {
|
|
3367
3363
|
}
|
|
3368
3364
|
protoOf(PlayerStateDto).toString = function () {
|
|
3369
|
-
return 'PlayerStateDto(startFromTime=' + toString(this.
|
|
3365
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.k2q_1) + ', startFrom=' + this.l2q_1 + ', playerTurnTimeout=' + this.m2q_1 + ', waitPlayerUntilTime=' + this.n2q_1 + ', state=' + this.o2q_1 + ', ready=' + this.p2q_1 + ', tag=' + this.q2q_1 + ', connection=' + this.r2q_1 + ')';
|
|
3370
3366
|
};
|
|
3371
3367
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3372
|
-
var result = this.
|
|
3368
|
+
var result = this.k2q_1 == null ? 0 : this.k2q_1.hashCode();
|
|
3369
|
+
result = imul(result, 31) + (this.l2q_1 == null ? 0 : getStringHashCode(this.l2q_1)) | 0;
|
|
3373
3370
|
result = imul(result, 31) + (this.m2q_1 == null ? 0 : getStringHashCode(this.m2q_1)) | 0;
|
|
3374
3371
|
result = imul(result, 31) + (this.n2q_1 == null ? 0 : getStringHashCode(this.n2q_1)) | 0;
|
|
3375
|
-
result = imul(result, 31) +
|
|
3376
|
-
result = imul(result, 31) + this.p2q_1
|
|
3377
|
-
result = imul(result, 31) +
|
|
3378
|
-
result = imul(result, 31) + (this.r2q_1 == null ? 0 :
|
|
3379
|
-
result = imul(result, 31) + (this.s2q_1 == null ? 0 : this.s2q_1.hashCode()) | 0;
|
|
3372
|
+
result = imul(result, 31) + this.o2q_1.hashCode() | 0;
|
|
3373
|
+
result = imul(result, 31) + getBooleanHashCode(this.p2q_1) | 0;
|
|
3374
|
+
result = imul(result, 31) + (this.q2q_1 == null ? 0 : getStringHashCode(this.q2q_1)) | 0;
|
|
3375
|
+
result = imul(result, 31) + (this.r2q_1 == null ? 0 : this.r2q_1.hashCode()) | 0;
|
|
3380
3376
|
return result;
|
|
3381
3377
|
};
|
|
3382
3378
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3385,21 +3381,21 @@
|
|
|
3385
3381
|
if (!(other instanceof PlayerStateDto))
|
|
3386
3382
|
return false;
|
|
3387
3383
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3388
|
-
if (!equals(this.
|
|
3384
|
+
if (!equals(this.k2q_1, tmp0_other_with_cast.k2q_1))
|
|
3385
|
+
return false;
|
|
3386
|
+
if (!(this.l2q_1 == tmp0_other_with_cast.l2q_1))
|
|
3389
3387
|
return false;
|
|
3390
3388
|
if (!(this.m2q_1 == tmp0_other_with_cast.m2q_1))
|
|
3391
3389
|
return false;
|
|
3392
3390
|
if (!(this.n2q_1 == tmp0_other_with_cast.n2q_1))
|
|
3393
3391
|
return false;
|
|
3394
|
-
if (!
|
|
3392
|
+
if (!this.o2q_1.equals(tmp0_other_with_cast.o2q_1))
|
|
3395
3393
|
return false;
|
|
3396
|
-
if (!this.p2q_1
|
|
3394
|
+
if (!(this.p2q_1 === tmp0_other_with_cast.p2q_1))
|
|
3397
3395
|
return false;
|
|
3398
|
-
if (!(this.q2q_1
|
|
3396
|
+
if (!(this.q2q_1 == tmp0_other_with_cast.q2q_1))
|
|
3399
3397
|
return false;
|
|
3400
|
-
if (!(this.r2q_1
|
|
3401
|
-
return false;
|
|
3402
|
-
if (!equals(this.s2q_1, tmp0_other_with_cast.s2q_1))
|
|
3398
|
+
if (!equals(this.r2q_1, tmp0_other_with_cast.r2q_1))
|
|
3403
3399
|
return false;
|
|
3404
3400
|
return true;
|
|
3405
3401
|
};
|
|
@@ -3432,10 +3428,10 @@
|
|
|
3432
3428
|
tmp0_serialDesc.ku('checkTrumpCombination', true);
|
|
3433
3429
|
tmp0_serialDesc.ku('checkOnlyTrumpDebertz', true);
|
|
3434
3430
|
tmp0_serialDesc.ku('tenCardsInHand', true);
|
|
3435
|
-
this.
|
|
3431
|
+
this.s2q_1 = tmp0_serialDesc;
|
|
3436
3432
|
}
|
|
3437
3433
|
protoOf($serializer_8).pj = function () {
|
|
3438
|
-
return this.
|
|
3434
|
+
return this.s2q_1;
|
|
3439
3435
|
};
|
|
3440
3436
|
protoOf($serializer_8).zu = function () {
|
|
3441
3437
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3444,7 +3440,7 @@
|
|
|
3444
3440
|
return [get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), IntSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance())];
|
|
3445
3441
|
};
|
|
3446
3442
|
protoOf($serializer_8).rj = function (decoder) {
|
|
3447
|
-
var tmp0_desc = this.
|
|
3443
|
+
var tmp0_desc = this.s2q_1;
|
|
3448
3444
|
var tmp1_flag = true;
|
|
3449
3445
|
var tmp2_index = 0;
|
|
3450
3446
|
var tmp3_bitMask0 = 0;
|
|
@@ -3583,8 +3579,8 @@
|
|
|
3583
3579
|
tmp21_input.ym(tmp0_desc);
|
|
3584
3580
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, null);
|
|
3585
3581
|
};
|
|
3586
|
-
protoOf($serializer_8).
|
|
3587
|
-
var tmp0_desc = this.
|
|
3582
|
+
protoOf($serializer_8).t2q = function (encoder, value) {
|
|
3583
|
+
var tmp0_desc = this.s2q_1;
|
|
3588
3584
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3589
3585
|
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.needToPutHigherTrump == null)) {
|
|
3590
3586
|
tmp1_output.qo(tmp0_desc, 0, BooleanSerializer_getInstance(), value.needToPutHigherTrump);
|
|
@@ -3638,7 +3634,7 @@
|
|
|
3638
3634
|
tmp1_output.ym(tmp0_desc);
|
|
3639
3635
|
};
|
|
3640
3636
|
protoOf($serializer_8).qj = function (encoder, value) {
|
|
3641
|
-
return this.
|
|
3637
|
+
return this.t2q(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3642
3638
|
};
|
|
3643
3639
|
var $serializer_instance_8;
|
|
3644
3640
|
function $serializer_getInstance_8() {
|
|
@@ -3648,7 +3644,7 @@
|
|
|
3648
3644
|
}
|
|
3649
3645
|
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
3650
3646
|
if (!(4096 === (4096 & seen1))) {
|
|
3651
|
-
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().
|
|
3647
|
+
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().s2q_1);
|
|
3652
3648
|
}
|
|
3653
3649
|
if (0 === (seen1 & 1))
|
|
3654
3650
|
$this.needToPutHigherTrump = null;
|
|
@@ -3755,55 +3751,55 @@
|
|
|
3755
3751
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
3756
3752
|
this.tenCardsInHand = tenCardsInHand;
|
|
3757
3753
|
}
|
|
3758
|
-
protoOf(RulesDto).
|
|
3754
|
+
protoOf(RulesDto).i2o = function () {
|
|
3759
3755
|
return this.needToPutHigherTrump;
|
|
3760
3756
|
};
|
|
3761
|
-
protoOf(RulesDto).
|
|
3757
|
+
protoOf(RulesDto).j2o = function () {
|
|
3762
3758
|
return this.distributePoints;
|
|
3763
3759
|
};
|
|
3764
|
-
protoOf(RulesDto).
|
|
3760
|
+
protoOf(RulesDto).k2o = function () {
|
|
3765
3761
|
return this.protectBella;
|
|
3766
3762
|
};
|
|
3767
|
-
protoOf(RulesDto).
|
|
3763
|
+
protoOf(RulesDto).l2o = function () {
|
|
3768
3764
|
return this.oneTryToProtectBella;
|
|
3769
3765
|
};
|
|
3770
|
-
protoOf(RulesDto).
|
|
3766
|
+
protoOf(RulesDto).m2o = function () {
|
|
3771
3767
|
return this.enableFourSevensCombination;
|
|
3772
3768
|
};
|
|
3773
|
-
protoOf(RulesDto).
|
|
3769
|
+
protoOf(RulesDto).n2o = function () {
|
|
3774
3770
|
return this.enableTrumpSevenCombination;
|
|
3775
3771
|
};
|
|
3776
|
-
protoOf(RulesDto).
|
|
3772
|
+
protoOf(RulesDto).o2o = function () {
|
|
3777
3773
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3778
3774
|
};
|
|
3779
|
-
protoOf(RulesDto).
|
|
3775
|
+
protoOf(RulesDto).p2o = function () {
|
|
3780
3776
|
return this.playerWhoChooseSuitGoFirst;
|
|
3781
3777
|
};
|
|
3782
|
-
protoOf(RulesDto).
|
|
3778
|
+
protoOf(RulesDto).q2o = function () {
|
|
3783
3779
|
return this.winnerShuffleCards;
|
|
3784
3780
|
};
|
|
3785
|
-
protoOf(RulesDto).
|
|
3781
|
+
protoOf(RulesDto).r2o = function () {
|
|
3786
3782
|
return this.playWithoutLiabilities;
|
|
3787
3783
|
};
|
|
3788
|
-
protoOf(RulesDto).
|
|
3784
|
+
protoOf(RulesDto).s2o = function () {
|
|
3789
3785
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3790
3786
|
};
|
|
3791
|
-
protoOf(RulesDto).
|
|
3787
|
+
protoOf(RulesDto).t2o = function () {
|
|
3792
3788
|
return this.enableFineIfNoBribes;
|
|
3793
3789
|
};
|
|
3794
|
-
protoOf(RulesDto).
|
|
3790
|
+
protoOf(RulesDto).u2o = function () {
|
|
3795
3791
|
return this.fineIfNoBribes;
|
|
3796
3792
|
};
|
|
3797
|
-
protoOf(RulesDto).
|
|
3793
|
+
protoOf(RulesDto).v2o = function () {
|
|
3798
3794
|
return this.enableFineAfterThirdByte;
|
|
3799
3795
|
};
|
|
3800
|
-
protoOf(RulesDto).
|
|
3796
|
+
protoOf(RulesDto).w2o = function () {
|
|
3801
3797
|
return this.checkTrumpCombination;
|
|
3802
3798
|
};
|
|
3803
|
-
protoOf(RulesDto).
|
|
3799
|
+
protoOf(RulesDto).x2o = function () {
|
|
3804
3800
|
return this.checkOnlyTrumpDebertz;
|
|
3805
3801
|
};
|
|
3806
|
-
protoOf(RulesDto).
|
|
3802
|
+
protoOf(RulesDto).y2o = function () {
|
|
3807
3803
|
return this.tenCardsInHand;
|
|
3808
3804
|
};
|
|
3809
3805
|
protoOf(RulesDto).cd = function () {
|
|
@@ -3815,49 +3811,49 @@
|
|
|
3815
3811
|
protoOf(RulesDto).qh = function () {
|
|
3816
3812
|
return this.protectBella;
|
|
3817
3813
|
};
|
|
3818
|
-
protoOf(RulesDto).
|
|
3814
|
+
protoOf(RulesDto).p2k = function () {
|
|
3819
3815
|
return this.oneTryToProtectBella;
|
|
3820
3816
|
};
|
|
3821
|
-
protoOf(RulesDto).
|
|
3817
|
+
protoOf(RulesDto).y2l = function () {
|
|
3822
3818
|
return this.enableFourSevensCombination;
|
|
3823
3819
|
};
|
|
3824
|
-
protoOf(RulesDto).
|
|
3820
|
+
protoOf(RulesDto).z2l = function () {
|
|
3825
3821
|
return this.enableTrumpSevenCombination;
|
|
3826
3822
|
};
|
|
3827
|
-
protoOf(RulesDto).
|
|
3823
|
+
protoOf(RulesDto).z2o = function () {
|
|
3828
3824
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3829
3825
|
};
|
|
3830
|
-
protoOf(RulesDto).
|
|
3826
|
+
protoOf(RulesDto).a2p = function () {
|
|
3831
3827
|
return this.playerWhoChooseSuitGoFirst;
|
|
3832
3828
|
};
|
|
3833
|
-
protoOf(RulesDto).
|
|
3829
|
+
protoOf(RulesDto).b2p = function () {
|
|
3834
3830
|
return this.winnerShuffleCards;
|
|
3835
3831
|
};
|
|
3836
|
-
protoOf(RulesDto).
|
|
3832
|
+
protoOf(RulesDto).c2p = function () {
|
|
3837
3833
|
return this.playWithoutLiabilities;
|
|
3838
3834
|
};
|
|
3839
|
-
protoOf(RulesDto).
|
|
3835
|
+
protoOf(RulesDto).d2p = function () {
|
|
3840
3836
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3841
3837
|
};
|
|
3842
|
-
protoOf(RulesDto).
|
|
3838
|
+
protoOf(RulesDto).e2p = function () {
|
|
3843
3839
|
return this.enableFineIfNoBribes;
|
|
3844
3840
|
};
|
|
3845
|
-
protoOf(RulesDto).
|
|
3841
|
+
protoOf(RulesDto).f2p = function () {
|
|
3846
3842
|
return this.fineIfNoBribes;
|
|
3847
3843
|
};
|
|
3848
|
-
protoOf(RulesDto).
|
|
3844
|
+
protoOf(RulesDto).g2p = function () {
|
|
3849
3845
|
return this.enableFineAfterThirdByte;
|
|
3850
3846
|
};
|
|
3851
|
-
protoOf(RulesDto).
|
|
3847
|
+
protoOf(RulesDto).h2p = function () {
|
|
3852
3848
|
return this.checkTrumpCombination;
|
|
3853
3849
|
};
|
|
3854
|
-
protoOf(RulesDto).
|
|
3850
|
+
protoOf(RulesDto).i2p = function () {
|
|
3855
3851
|
return this.checkOnlyTrumpDebertz;
|
|
3856
3852
|
};
|
|
3857
|
-
protoOf(RulesDto).
|
|
3853
|
+
protoOf(RulesDto).j2p = function () {
|
|
3858
3854
|
return this.tenCardsInHand;
|
|
3859
3855
|
};
|
|
3860
|
-
protoOf(RulesDto).
|
|
3856
|
+
protoOf(RulesDto).u2q = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
3861
3857
|
return new RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
3862
3858
|
};
|
|
3863
3859
|
protoOf(RulesDto).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -3878,7 +3874,7 @@
|
|
|
3878
3874
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
3879
3875
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
3880
3876
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
3881
|
-
return this.
|
|
3877
|
+
return this.u2q(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
3882
3878
|
};
|
|
3883
3879
|
protoOf(RulesDto).toString = function () {
|
|
3884
3880
|
return 'RulesDto(needToPutHigherTrump=' + this.needToPutHigherTrump + ', distributePoints=' + this.distributePoints + ', protectBella=' + this.protectBella + ', oneTryToProtectBella=' + this.oneTryToProtectBella + ', enableFourSevensCombination=' + this.enableFourSevensCombination + ', enableTrumpSevenCombination=' + this.enableTrumpSevenCombination + ', enableTrumpSevenCombinationAfterDistribution=' + this.enableTrumpSevenCombinationAfterDistribution + ', playerWhoChooseSuitGoFirst=' + this.playerWhoChooseSuitGoFirst + ', winnerShuffleCards=' + this.winnerShuffleCards + ', playWithoutLiabilities=' + this.playWithoutLiabilities + ', trumpCardGoToPlayerWhoShuffleCards=' + this.trumpCardGoToPlayerWhoShuffleCards + ', enableFineIfNoBribes=' + this.enableFineIfNoBribes + ', fineIfNoBribes=' + this.fineIfNoBribes + ', enableFineAfterThirdByte=' + this.enableFineAfterThirdByte + ', checkTrumpCombination=' + this.checkTrumpCombination + ', checkOnlyTrumpDebertz=' + this.checkOnlyTrumpDebertz + ', tenCardsInHand=' + this.tenCardsInHand + ')';
|
|
@@ -3947,27 +3943,27 @@
|
|
|
3947
3943
|
};
|
|
3948
3944
|
function CardIndexComparator() {
|
|
3949
3945
|
}
|
|
3950
|
-
protoOf(CardIndexComparator).
|
|
3951
|
-
return a.
|
|
3946
|
+
protoOf(CardIndexComparator).v2q = function (a, b) {
|
|
3947
|
+
return a.q2p_1 - b.q2p_1 | 0;
|
|
3952
3948
|
};
|
|
3953
3949
|
protoOf(CardIndexComparator).compare = function (a, b) {
|
|
3954
3950
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3955
|
-
return this.
|
|
3951
|
+
return this.v2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3956
3952
|
};
|
|
3957
3953
|
var CardIndexComparator_instance;
|
|
3958
3954
|
function CardIndexComparator_getInstance() {
|
|
3959
3955
|
return CardIndexComparator_instance;
|
|
3960
3956
|
}
|
|
3961
3957
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
3962
|
-
this.
|
|
3963
|
-
this.
|
|
3958
|
+
this.w2q_1 = trump;
|
|
3959
|
+
this.x2q_1 = firstCardSuit;
|
|
3964
3960
|
}
|
|
3965
|
-
protoOf(CardGrowthComparator).
|
|
3966
|
-
return getGrowth(b, this.
|
|
3961
|
+
protoOf(CardGrowthComparator).v2q = function (a, b) {
|
|
3962
|
+
return getGrowth(b, this.w2q_1, this.x2q_1) - getGrowth(a, this.w2q_1, this.x2q_1) | 0;
|
|
3967
3963
|
};
|
|
3968
3964
|
protoOf(CardGrowthComparator).compare = function (a, b) {
|
|
3969
3965
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3970
|
-
return this.
|
|
3966
|
+
return this.v2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3971
3967
|
};
|
|
3972
3968
|
function filterByCardName(_this__u8e3s4, name) {
|
|
3973
3969
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3999,25 +3995,25 @@
|
|
|
3999
3995
|
}
|
|
4000
3996
|
function CardNumberComparator() {
|
|
4001
3997
|
}
|
|
4002
|
-
protoOf(CardNumberComparator).
|
|
4003
|
-
return b.
|
|
3998
|
+
protoOf(CardNumberComparator).v2q = function (a, b) {
|
|
3999
|
+
return b.y2q() - a.y2q() | 0;
|
|
4004
4000
|
};
|
|
4005
4001
|
protoOf(CardNumberComparator).compare = function (a, b) {
|
|
4006
4002
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
4007
|
-
return this.
|
|
4003
|
+
return this.v2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
4008
4004
|
};
|
|
4009
4005
|
var CardNumberComparator_instance;
|
|
4010
4006
|
function CardNumberComparator_getInstance() {
|
|
4011
4007
|
return CardNumberComparator_instance;
|
|
4012
4008
|
}
|
|
4013
4009
|
function getPoint(_this__u8e3s4, trump) {
|
|
4014
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
4010
|
+
var isTrump = trump.equals(_this__u8e3s4.z2q());
|
|
4015
4011
|
return getPoint_0(_this__u8e3s4, isTrump);
|
|
4016
4012
|
}
|
|
4017
4013
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
4018
4014
|
var minPoint = 0;
|
|
4019
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
4020
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
4015
|
+
var isTrump = trump.equals(_this__u8e3s4.z2q());
|
|
4016
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.z2q());
|
|
4021
4017
|
var minGrowth;
|
|
4022
4018
|
var maxGrowth;
|
|
4023
4019
|
switch (_this__u8e3s4.g9().g8_1) {
|
|
@@ -4107,7 +4103,7 @@
|
|
|
4107
4103
|
return tmp;
|
|
4108
4104
|
}
|
|
4109
4105
|
function getValueInHand(_this__u8e3s4, trump, allCards) {
|
|
4110
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
4106
|
+
var isTrump = trump.equals(_this__u8e3s4.z2q());
|
|
4111
4107
|
return getValueInHand_0(_this__u8e3s4, isTrump, allCards);
|
|
4112
4108
|
}
|
|
4113
4109
|
function getValueInHand_0(_this__u8e3s4, isTrump, allCards) {
|
|
@@ -4191,7 +4187,7 @@
|
|
|
4191
4187
|
var element = indexedObject[inductionVariable];
|
|
4192
4188
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4193
4189
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
4194
|
-
if (p1.
|
|
4190
|
+
if (p1.z2q().equals(element)) {
|
|
4195
4191
|
tmp$ret$1 = true;
|
|
4196
4192
|
break $l$block;
|
|
4197
4193
|
}
|
|
@@ -4288,10 +4284,10 @@
|
|
|
4288
4284
|
}
|
|
4289
4285
|
function Companion_18() {
|
|
4290
4286
|
}
|
|
4291
|
-
protoOf(Companion_18).
|
|
4287
|
+
protoOf(Companion_18).a2r = function (suit, cardNumber) {
|
|
4292
4288
|
return new GameCard(getNumber(Companion_instance_19, cardNumber, suit));
|
|
4293
4289
|
};
|
|
4294
|
-
protoOf(Companion_18).
|
|
4290
|
+
protoOf(Companion_18).b2r = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
4295
4291
|
var tmp;
|
|
4296
4292
|
if (previousStubCardWithMaxIndex == null) {
|
|
4297
4293
|
tmp = null;
|
|
@@ -4300,7 +4296,7 @@
|
|
|
4300
4296
|
// Inline function 'kotlin.contracts.contract' call
|
|
4301
4297
|
var tmp_0;
|
|
4302
4298
|
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
4303
|
-
if (previousStubCardWithMaxIndex.
|
|
4299
|
+
if (previousStubCardWithMaxIndex.c2r()) {
|
|
4304
4300
|
tmp_0 = previousStubCardWithMaxIndex;
|
|
4305
4301
|
} else {
|
|
4306
4302
|
tmp_0 = null;
|
|
@@ -4308,8 +4304,8 @@
|
|
|
4308
4304
|
tmp = tmp_0;
|
|
4309
4305
|
}
|
|
4310
4306
|
var tmp1_safe_receiver = tmp;
|
|
4311
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
4312
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_19.
|
|
4307
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.q2p_1;
|
|
4308
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_19.h2r(tmp2_safe_receiver, playerIndex, reverse);
|
|
4313
4309
|
var tmp_1;
|
|
4314
4310
|
if (tmp3_safe_receiver == null) {
|
|
4315
4311
|
tmp_1 = null;
|
|
@@ -4330,10 +4326,10 @@
|
|
|
4330
4326
|
var index = tmp_2;
|
|
4331
4327
|
return new GameCard(index);
|
|
4332
4328
|
};
|
|
4333
|
-
protoOf(Companion_18).
|
|
4329
|
+
protoOf(Companion_18).i2r = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
|
|
4334
4330
|
previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
|
|
4335
4331
|
reverse = reverse === VOID ? false : reverse;
|
|
4336
|
-
return $super === VOID ? this.
|
|
4332
|
+
return $super === VOID ? this.b2r(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.b2r.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
4337
4333
|
};
|
|
4338
4334
|
var Companion_instance_18;
|
|
4339
4335
|
function Companion_getInstance_20() {
|
|
@@ -4437,7 +4433,7 @@
|
|
|
4437
4433
|
return tmp;
|
|
4438
4434
|
}
|
|
4439
4435
|
function _get_isShirt__vd98rp($this) {
|
|
4440
|
-
return $this.
|
|
4436
|
+
return $this.q2p_1 === 52;
|
|
4441
4437
|
}
|
|
4442
4438
|
function CardName(name, ordinal) {
|
|
4443
4439
|
Enum.call(this, name, ordinal);
|
|
@@ -4446,12 +4442,12 @@
|
|
|
4446
4442
|
return getShorName(this);
|
|
4447
4443
|
};
|
|
4448
4444
|
function Companion_19() {
|
|
4449
|
-
this.
|
|
4450
|
-
this.
|
|
4451
|
-
this.
|
|
4452
|
-
this.
|
|
4445
|
+
this.d2r_1 = -1;
|
|
4446
|
+
this.e2r_1 = 13;
|
|
4447
|
+
this.f2r_1 = 52;
|
|
4448
|
+
this.g2r_1 = 53;
|
|
4453
4449
|
}
|
|
4454
|
-
protoOf(Companion_19).
|
|
4450
|
+
protoOf(Companion_19).h2r = function (_this__u8e3s4, playerIndex, reverse) {
|
|
4455
4451
|
var tmp;
|
|
4456
4452
|
if (reverse) {
|
|
4457
4453
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -4521,56 +4517,56 @@
|
|
|
4521
4517
|
return CardName_STUB_instance;
|
|
4522
4518
|
}
|
|
4523
4519
|
function GameCard(index) {
|
|
4524
|
-
this.
|
|
4520
|
+
this.q2p_1 = index;
|
|
4525
4521
|
}
|
|
4526
|
-
protoOf(GameCard).
|
|
4522
|
+
protoOf(GameCard).z2q = function () {
|
|
4527
4523
|
var tmp;
|
|
4528
|
-
var containsArg = this.
|
|
4524
|
+
var containsArg = this.q2p_1;
|
|
4529
4525
|
if (0 <= containsArg ? containsArg <= 13 : false) {
|
|
4530
4526
|
tmp = Suit_DIAMOND_getInstance();
|
|
4531
4527
|
} else {
|
|
4532
|
-
if (this.
|
|
4528
|
+
if (this.q2p_1 <= 26) {
|
|
4533
4529
|
tmp = Suit_SPADE_getInstance();
|
|
4534
4530
|
} else {
|
|
4535
|
-
if (this.
|
|
4531
|
+
if (this.q2p_1 <= 39) {
|
|
4536
4532
|
tmp = Suit_HEART_getInstance();
|
|
4537
4533
|
} else {
|
|
4538
|
-
if (this.
|
|
4534
|
+
if (this.q2p_1 <= 52) {
|
|
4539
4535
|
tmp = Suit_CLUB_getInstance();
|
|
4540
4536
|
} else {
|
|
4541
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
4537
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.q2p_1);
|
|
4542
4538
|
}
|
|
4543
4539
|
}
|
|
4544
4540
|
}
|
|
4545
4541
|
}
|
|
4546
4542
|
return tmp;
|
|
4547
4543
|
};
|
|
4548
|
-
protoOf(GameCard).
|
|
4544
|
+
protoOf(GameCard).y2q = function () {
|
|
4549
4545
|
var tmp;
|
|
4550
|
-
if (this.
|
|
4546
|
+
if (this.c2r()) {
|
|
4551
4547
|
tmp = -1;
|
|
4552
4548
|
} else {
|
|
4553
|
-
tmp = this.
|
|
4549
|
+
tmp = this.q2p_1 - imul(13, getIndex(this.z2q())) | 0;
|
|
4554
4550
|
}
|
|
4555
4551
|
return tmp;
|
|
4556
4552
|
};
|
|
4557
4553
|
protoOf(GameCard).g9 = function () {
|
|
4558
|
-
return this.
|
|
4554
|
+
return this.c2r() ? CardName_STUB_getInstance() : getName(Companion_instance_19, this.y2q());
|
|
4559
4555
|
};
|
|
4560
|
-
protoOf(GameCard).
|
|
4561
|
-
return this.
|
|
4556
|
+
protoOf(GameCard).c2r = function () {
|
|
4557
|
+
return this.q2p_1 >= 53;
|
|
4562
4558
|
};
|
|
4563
4559
|
protoOf(GameCard).toString = function () {
|
|
4564
4560
|
if (_get_isShirt__vd98rp(this)) {
|
|
4565
4561
|
return 'GameCard(SHIRT)';
|
|
4566
4562
|
}
|
|
4567
|
-
if (this.
|
|
4568
|
-
return 'GameCard(STUB, ' + this.
|
|
4563
|
+
if (this.c2r()) {
|
|
4564
|
+
return 'GameCard(STUB, ' + this.q2p_1 + ')';
|
|
4569
4565
|
}
|
|
4570
|
-
return 'GameCard(' + this.
|
|
4566
|
+
return 'GameCard(' + this.z2q() + this.g9() + ', ' + this.q2p_1 + ')';
|
|
4571
4567
|
};
|
|
4572
4568
|
protoOf(GameCard).hashCode = function () {
|
|
4573
|
-
return this.
|
|
4569
|
+
return this.q2p_1;
|
|
4574
4570
|
};
|
|
4575
4571
|
protoOf(GameCard).equals = function (other) {
|
|
4576
4572
|
if (this === other)
|
|
@@ -4578,20 +4574,20 @@
|
|
|
4578
4574
|
if (!(other instanceof GameCard))
|
|
4579
4575
|
return false;
|
|
4580
4576
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
4581
|
-
if (!(this.
|
|
4577
|
+
if (!(this.q2p_1 === tmp0_other_with_cast.q2p_1))
|
|
4582
4578
|
return false;
|
|
4583
4579
|
return true;
|
|
4584
4580
|
};
|
|
4585
4581
|
function ProcessingCard(gameCard, payload) {
|
|
4586
|
-
this.
|
|
4587
|
-
this.
|
|
4582
|
+
this.j2r_1 = gameCard;
|
|
4583
|
+
this.k2r_1 = payload;
|
|
4588
4584
|
}
|
|
4589
4585
|
protoOf(ProcessingCard).toString = function () {
|
|
4590
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
4586
|
+
return 'ProcessingCard(gameCard=' + this.j2r_1 + ', payload=' + this.k2r_1 + ')';
|
|
4591
4587
|
};
|
|
4592
4588
|
protoOf(ProcessingCard).hashCode = function () {
|
|
4593
|
-
var result = this.
|
|
4594
|
-
result = imul(result, 31) + (this.
|
|
4589
|
+
var result = this.j2r_1.hashCode();
|
|
4590
|
+
result = imul(result, 31) + (this.k2r_1 == null ? 0 : hashCode(this.k2r_1)) | 0;
|
|
4595
4591
|
return result;
|
|
4596
4592
|
};
|
|
4597
4593
|
protoOf(ProcessingCard).equals = function (other) {
|
|
@@ -4600,14 +4596,14 @@
|
|
|
4600
4596
|
if (!(other instanceof ProcessingCard))
|
|
4601
4597
|
return false;
|
|
4602
4598
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
4603
|
-
if (!this.
|
|
4599
|
+
if (!this.j2r_1.equals(tmp0_other_with_cast.j2r_1))
|
|
4604
4600
|
return false;
|
|
4605
|
-
if (!equals(this.
|
|
4601
|
+
if (!equals(this.k2r_1, tmp0_other_with_cast.k2r_1))
|
|
4606
4602
|
return false;
|
|
4607
4603
|
return true;
|
|
4608
4604
|
};
|
|
4609
4605
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
4610
|
-
return $this.
|
|
4606
|
+
return $this.l2r_1.o2();
|
|
4611
4607
|
}
|
|
4612
4608
|
function Suit$Companion$_anonymous__cbm2iq() {
|
|
4613
4609
|
return createSimpleEnumSerializer('com.logic.data.models.table.cards.Suit', values_3());
|
|
@@ -4641,7 +4637,7 @@
|
|
|
4641
4637
|
Companion_instance_20 = this;
|
|
4642
4638
|
var tmp = this;
|
|
4643
4639
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4644
|
-
tmp.
|
|
4640
|
+
tmp.l2r_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
|
|
4645
4641
|
}
|
|
4646
4642
|
protoOf(Companion_20).t16 = function () {
|
|
4647
4643
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
@@ -4722,19 +4718,19 @@
|
|
|
4722
4718
|
function AsyncProvider() {
|
|
4723
4719
|
}
|
|
4724
4720
|
function onError($this, message, error) {
|
|
4725
|
-
$this.
|
|
4721
|
+
$this.v2r_1.e('AsyncErrorHandler', message + ': ' + error, error);
|
|
4726
4722
|
}
|
|
4727
4723
|
function _no_name_provided__qut3iv(this$0) {
|
|
4728
|
-
this.
|
|
4724
|
+
this.e2s_1 = this$0;
|
|
4729
4725
|
AbstractCoroutineContextElement.call(this, Key_instance);
|
|
4730
4726
|
}
|
|
4731
4727
|
protoOf(_no_name_provided__qut3iv).i1v = function (context, exception) {
|
|
4732
|
-
onError(this.
|
|
4728
|
+
onError(this.e2s_1, 'CoroutineContext', exception);
|
|
4733
4729
|
return Unit_instance;
|
|
4734
4730
|
};
|
|
4735
4731
|
function AsyncProviderImpl$launchUnconfinedWithLock$slambda(this$0, $block, resultContinuation) {
|
|
4736
|
-
this.
|
|
4737
|
-
this.
|
|
4732
|
+
this.n2s_1 = this$0;
|
|
4733
|
+
this.o2s_1 = $block;
|
|
4738
4734
|
CoroutineImpl.call(this, resultContinuation);
|
|
4739
4735
|
}
|
|
4740
4736
|
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).d2b = function ($this$launch, $completion) {
|
|
@@ -4758,11 +4754,11 @@
|
|
|
4758
4754
|
continue $sm;
|
|
4759
4755
|
case 1:
|
|
4760
4756
|
var tmp_0 = this;
|
|
4761
|
-
tmp_0.
|
|
4757
|
+
tmp_0.r2s_1 = this.n2s_1.y2r_1;
|
|
4762
4758
|
var tmp_1 = this;
|
|
4763
|
-
tmp_1.
|
|
4759
|
+
tmp_1.s2s_1 = null;
|
|
4764
4760
|
this.la_1 = 2;
|
|
4765
|
-
suspendResult = this.
|
|
4761
|
+
suspendResult = this.r2s_1.a2i(this.s2s_1, this);
|
|
4766
4762
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4767
4763
|
return suspendResult;
|
|
4768
4764
|
}
|
|
@@ -4777,14 +4773,14 @@
|
|
|
4777
4773
|
case 4:
|
|
4778
4774
|
this.ma_1 = 9;
|
|
4779
4775
|
this.la_1 = 5;
|
|
4780
|
-
suspendResult = this.
|
|
4776
|
+
suspendResult = this.o2s_1(this.p2s_1, this);
|
|
4781
4777
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4782
4778
|
return suspendResult;
|
|
4783
4779
|
}
|
|
4784
4780
|
|
|
4785
4781
|
continue $sm;
|
|
4786
4782
|
case 5:
|
|
4787
|
-
this.
|
|
4783
|
+
this.t2s_1 = suspendResult;
|
|
4788
4784
|
this.ma_1 = 10;
|
|
4789
4785
|
this.la_1 = 6;
|
|
4790
4786
|
var tmp_2 = this;
|
|
@@ -4792,13 +4788,13 @@
|
|
|
4792
4788
|
case 6:
|
|
4793
4789
|
this.ma_1 = 10;
|
|
4794
4790
|
var tmp_3 = this;
|
|
4795
|
-
this.
|
|
4796
|
-
tmp_3.
|
|
4791
|
+
this.r2s_1.l2h(this.s2s_1);
|
|
4792
|
+
tmp_3.q2s_1 = Unit_instance;
|
|
4797
4793
|
this.la_1 = 8;
|
|
4798
4794
|
continue $sm;
|
|
4799
4795
|
case 7:
|
|
4800
4796
|
this.ma_1 = 10;
|
|
4801
|
-
this.
|
|
4797
|
+
this.r2s_1.l2h(this.s2s_1);
|
|
4802
4798
|
if (false) {
|
|
4803
4799
|
this.la_1 = 1;
|
|
4804
4800
|
continue $sm;
|
|
@@ -4811,7 +4807,7 @@
|
|
|
4811
4807
|
case 9:
|
|
4812
4808
|
this.ma_1 = 10;
|
|
4813
4809
|
var t = this.oa_1;
|
|
4814
|
-
this.
|
|
4810
|
+
this.r2s_1.l2h(this.s2s_1);
|
|
4815
4811
|
throw t;
|
|
4816
4812
|
case 10:
|
|
4817
4813
|
throw this.oa_1;
|
|
@@ -4828,8 +4824,8 @@
|
|
|
4828
4824
|
while (true);
|
|
4829
4825
|
};
|
|
4830
4826
|
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).e2b = function ($this$launch, completion) {
|
|
4831
|
-
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this.
|
|
4832
|
-
i.
|
|
4827
|
+
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this.n2s_1, this.o2s_1, completion);
|
|
4828
|
+
i.p2s_1 = $this$launch;
|
|
4833
4829
|
return i;
|
|
4834
4830
|
};
|
|
4835
4831
|
function AsyncProviderImpl$launchUnconfinedWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
@@ -4841,8 +4837,8 @@
|
|
|
4841
4837
|
return l;
|
|
4842
4838
|
}
|
|
4843
4839
|
function AsyncProviderImpl$launchDefaultWithLock$slambda(this$0, $block, resultContinuation) {
|
|
4844
|
-
this.
|
|
4845
|
-
this.
|
|
4840
|
+
this.c2t_1 = this$0;
|
|
4841
|
+
this.d2t_1 = $block;
|
|
4846
4842
|
CoroutineImpl.call(this, resultContinuation);
|
|
4847
4843
|
}
|
|
4848
4844
|
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).d2b = function ($this$launch, $completion) {
|
|
@@ -4866,11 +4862,11 @@
|
|
|
4866
4862
|
continue $sm;
|
|
4867
4863
|
case 1:
|
|
4868
4864
|
var tmp_0 = this;
|
|
4869
|
-
tmp_0.
|
|
4865
|
+
tmp_0.g2t_1 = this.c2t_1.x2r_1;
|
|
4870
4866
|
var tmp_1 = this;
|
|
4871
|
-
tmp_1.
|
|
4867
|
+
tmp_1.h2t_1 = null;
|
|
4872
4868
|
this.la_1 = 2;
|
|
4873
|
-
suspendResult = this.
|
|
4869
|
+
suspendResult = this.g2t_1.a2i(this.h2t_1, this);
|
|
4874
4870
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4875
4871
|
return suspendResult;
|
|
4876
4872
|
}
|
|
@@ -4885,14 +4881,14 @@
|
|
|
4885
4881
|
case 4:
|
|
4886
4882
|
this.ma_1 = 9;
|
|
4887
4883
|
this.la_1 = 5;
|
|
4888
|
-
suspendResult = this.
|
|
4884
|
+
suspendResult = this.d2t_1(this.e2t_1, this);
|
|
4889
4885
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4890
4886
|
return suspendResult;
|
|
4891
4887
|
}
|
|
4892
4888
|
|
|
4893
4889
|
continue $sm;
|
|
4894
4890
|
case 5:
|
|
4895
|
-
this.
|
|
4891
|
+
this.i2t_1 = suspendResult;
|
|
4896
4892
|
this.ma_1 = 10;
|
|
4897
4893
|
this.la_1 = 6;
|
|
4898
4894
|
var tmp_2 = this;
|
|
@@ -4900,13 +4896,13 @@
|
|
|
4900
4896
|
case 6:
|
|
4901
4897
|
this.ma_1 = 10;
|
|
4902
4898
|
var tmp_3 = this;
|
|
4903
|
-
this.
|
|
4904
|
-
tmp_3.
|
|
4899
|
+
this.g2t_1.l2h(this.h2t_1);
|
|
4900
|
+
tmp_3.f2t_1 = Unit_instance;
|
|
4905
4901
|
this.la_1 = 8;
|
|
4906
4902
|
continue $sm;
|
|
4907
4903
|
case 7:
|
|
4908
4904
|
this.ma_1 = 10;
|
|
4909
|
-
this.
|
|
4905
|
+
this.g2t_1.l2h(this.h2t_1);
|
|
4910
4906
|
if (false) {
|
|
4911
4907
|
this.la_1 = 1;
|
|
4912
4908
|
continue $sm;
|
|
@@ -4919,7 +4915,7 @@
|
|
|
4919
4915
|
case 9:
|
|
4920
4916
|
this.ma_1 = 10;
|
|
4921
4917
|
var t = this.oa_1;
|
|
4922
|
-
this.
|
|
4918
|
+
this.g2t_1.l2h(this.h2t_1);
|
|
4923
4919
|
throw t;
|
|
4924
4920
|
case 10:
|
|
4925
4921
|
throw this.oa_1;
|
|
@@ -4936,8 +4932,8 @@
|
|
|
4936
4932
|
while (true);
|
|
4937
4933
|
};
|
|
4938
4934
|
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).e2b = function ($this$launch, completion) {
|
|
4939
|
-
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this.
|
|
4940
|
-
i.
|
|
4935
|
+
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this.c2t_1, this.d2t_1, completion);
|
|
4936
|
+
i.e2t_1 = $this$launch;
|
|
4941
4937
|
return i;
|
|
4942
4938
|
};
|
|
4943
4939
|
function AsyncProviderImpl$launchDefaultWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
@@ -4952,42 +4948,42 @@
|
|
|
4952
4948
|
mainDispatcher = mainDispatcher === VOID ? Dispatchers_getInstance().c1z() : mainDispatcher;
|
|
4953
4949
|
defaultDispatcher = defaultDispatcher === VOID ? Dispatchers_getInstance().y1y_1 : defaultDispatcher;
|
|
4954
4950
|
unconfinedDispatcher = unconfinedDispatcher === VOID ? Dispatchers_getInstance().z1y_1 : unconfinedDispatcher;
|
|
4955
|
-
this.
|
|
4956
|
-
this.
|
|
4951
|
+
this.v2r_1 = logger;
|
|
4952
|
+
this.w2r_1 = SupervisorJob();
|
|
4953
|
+
this.x2r_1 = Mutex();
|
|
4957
4954
|
this.y2r_1 = Mutex();
|
|
4958
|
-
this.z2r_1 = Mutex();
|
|
4959
4955
|
var tmp = this;
|
|
4960
4956
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
4961
|
-
tmp.
|
|
4962
|
-
this.
|
|
4963
|
-
this.
|
|
4964
|
-
this.
|
|
4957
|
+
tmp.z2r_1 = new _no_name_provided__qut3iv(this);
|
|
4958
|
+
this.a2s_1 = CoroutineScope_0(mainDispatcher.me(this.w2r_1));
|
|
4959
|
+
this.b2s_1 = CoroutineScope_0(defaultDispatcher.me(this.w2r_1));
|
|
4960
|
+
this.c2s_1 = CoroutineScope_0(unconfinedDispatcher.me(this.w2r_1));
|
|
4965
4961
|
}
|
|
4966
|
-
protoOf(AsyncProviderImpl).
|
|
4967
|
-
return this.
|
|
4962
|
+
protoOf(AsyncProviderImpl).m2r = function () {
|
|
4963
|
+
return this.z2r_1;
|
|
4968
4964
|
};
|
|
4969
|
-
protoOf(AsyncProviderImpl).
|
|
4970
|
-
return launch(this.
|
|
4965
|
+
protoOf(AsyncProviderImpl).t2r = function (context, block) {
|
|
4966
|
+
return launch(this.a2s_1, context, VOID, block);
|
|
4971
4967
|
};
|
|
4972
|
-
protoOf(AsyncProviderImpl).
|
|
4973
|
-
return launch(this.
|
|
4968
|
+
protoOf(AsyncProviderImpl).p2r = function (context, block) {
|
|
4969
|
+
return launch(this.b2s_1, context, VOID, block);
|
|
4974
4970
|
};
|
|
4975
|
-
protoOf(AsyncProviderImpl).
|
|
4976
|
-
return launch(this.
|
|
4971
|
+
protoOf(AsyncProviderImpl).n2r = function (context, block) {
|
|
4972
|
+
return launch(this.c2s_1, context, VOID, AsyncProviderImpl$launchUnconfinedWithLock$slambda_0(this, block, null));
|
|
4977
4973
|
};
|
|
4978
|
-
protoOf(AsyncProviderImpl).
|
|
4979
|
-
return launch(this.
|
|
4974
|
+
protoOf(AsyncProviderImpl).r2r = function (context, block) {
|
|
4975
|
+
return launch(this.b2s_1, context, VOID, AsyncProviderImpl$launchDefaultWithLock$slambda_0(this, block, null));
|
|
4980
4976
|
};
|
|
4981
4977
|
protoOf(AsyncProviderImpl).z1s = function () {
|
|
4982
|
-
if (!this.
|
|
4983
|
-
this.
|
|
4978
|
+
if (!this.w2r_1.k1r()) {
|
|
4979
|
+
this.w2r_1.x1r();
|
|
4984
4980
|
}
|
|
4985
4981
|
};
|
|
4986
4982
|
function IdsProvider() {
|
|
4987
4983
|
}
|
|
4988
4984
|
function UUIDIdsProvider() {
|
|
4989
4985
|
}
|
|
4990
|
-
protoOf(UUIDIdsProvider).
|
|
4986
|
+
protoOf(UUIDIdsProvider).j2t = function () {
|
|
4991
4987
|
return uuid4().toString();
|
|
4992
4988
|
};
|
|
4993
4989
|
var UUIDIdsProvider_instance;
|
|
@@ -4997,45 +4993,45 @@
|
|
|
4997
4993
|
function JobsProvider() {
|
|
4998
4994
|
}
|
|
4999
4995
|
function JobsProviderImpl(logger) {
|
|
5000
|
-
this.
|
|
4996
|
+
this.p2t_1 = logger;
|
|
5001
4997
|
var tmp = this;
|
|
5002
4998
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
5003
|
-
tmp.
|
|
4999
|
+
tmp.q2t_1 = HashMap_init_$Create$();
|
|
5004
5000
|
}
|
|
5005
|
-
protoOf(JobsProviderImpl).
|
|
5006
|
-
if (this.
|
|
5007
|
-
this.
|
|
5001
|
+
protoOf(JobsProviderImpl).k2t = function (timerTag, job) {
|
|
5002
|
+
if (this.o2t(timerTag)) {
|
|
5003
|
+
this.p2t_1.w(VOID, 'Timer already exists for that tag: ' + timerTag);
|
|
5008
5004
|
}
|
|
5009
5005
|
// Inline function 'kotlin.collections.set' call
|
|
5010
|
-
this.
|
|
5006
|
+
this.q2t_1.k2(timerTag, job);
|
|
5011
5007
|
};
|
|
5012
|
-
protoOf(JobsProviderImpl).
|
|
5013
|
-
return this.
|
|
5008
|
+
protoOf(JobsProviderImpl).o2t = function (timerTag) {
|
|
5009
|
+
return this.q2t_1.r2(timerTag);
|
|
5014
5010
|
};
|
|
5015
|
-
protoOf(JobsProviderImpl).
|
|
5016
|
-
if (!this.
|
|
5017
|
-
this.
|
|
5011
|
+
protoOf(JobsProviderImpl).m2t = function (timerTag) {
|
|
5012
|
+
if (!this.o2t(timerTag)) {
|
|
5013
|
+
this.p2t_1.w(VOID, "Can't find timer for that tag: " + timerTag);
|
|
5018
5014
|
}
|
|
5019
|
-
this.
|
|
5015
|
+
this.q2t_1.l2(timerTag);
|
|
5020
5016
|
};
|
|
5021
|
-
protoOf(JobsProviderImpl).
|
|
5017
|
+
protoOf(JobsProviderImpl).n2t = function (timers) {
|
|
5022
5018
|
// Inline function 'kotlin.collections.forEach' call
|
|
5023
5019
|
var tmp0_iterator = timers.v();
|
|
5024
5020
|
while (tmp0_iterator.w()) {
|
|
5025
5021
|
var element = tmp0_iterator.y();
|
|
5026
5022
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
5027
|
-
var timer = this.
|
|
5023
|
+
var timer = this.q2t_1.t2(element);
|
|
5028
5024
|
if (timer == null)
|
|
5029
5025
|
null;
|
|
5030
5026
|
else {
|
|
5031
5027
|
timer.x1r();
|
|
5032
5028
|
}
|
|
5033
5029
|
}
|
|
5034
|
-
this.
|
|
5030
|
+
this.q2t_1.j2().a1(toSet(timers));
|
|
5035
5031
|
};
|
|
5036
|
-
protoOf(JobsProviderImpl).
|
|
5037
|
-
var timer = this.
|
|
5038
|
-
this.
|
|
5032
|
+
protoOf(JobsProviderImpl).l2t = function (timerTag) {
|
|
5033
|
+
var timer = this.q2t_1.t2(timerTag);
|
|
5034
|
+
this.q2t_1.l2(timerTag);
|
|
5039
5035
|
if (timer == null)
|
|
5040
5036
|
null;
|
|
5041
5037
|
else {
|
|
@@ -5139,7 +5135,7 @@
|
|
|
5139
5135
|
function combinedLoggerModule$lambda$lambda($combinedLogger) {
|
|
5140
5136
|
return function ($this$singleton) {
|
|
5141
5137
|
var tmp0_elvis_lhs = $combinedLogger;
|
|
5142
|
-
return tmp0_elvis_lhs == null ? Companion_instance_21.
|
|
5138
|
+
return tmp0_elvis_lhs == null ? Companion_instance_21.r2t() : tmp0_elvis_lhs;
|
|
5143
5139
|
};
|
|
5144
5140
|
}
|
|
5145
5141
|
function combinedLoggerModule$lambda$lambda_0($this$singleton) {
|
|
@@ -5313,27 +5309,27 @@
|
|
|
5313
5309
|
function FileSystemImpl(directory, fileSystem) {
|
|
5314
5310
|
directory = directory === VOID ? get_SystemTemporaryDirectory() : directory;
|
|
5315
5311
|
fileSystem = fileSystem === VOID ? get_SystemFileSystem() : fileSystem;
|
|
5316
|
-
this.
|
|
5317
|
-
this.
|
|
5312
|
+
this.u2t_1 = directory;
|
|
5313
|
+
this.v2t_1 = fileSystem;
|
|
5318
5314
|
}
|
|
5319
|
-
protoOf(FileSystemImpl).
|
|
5320
|
-
var exists = this.
|
|
5315
|
+
protoOf(FileSystemImpl).s2t = function (filePath, append, $completion) {
|
|
5316
|
+
var exists = this.v2t_1.k1p(this.u2t_1);
|
|
5321
5317
|
if (!exists) {
|
|
5322
|
-
this.
|
|
5318
|
+
this.v2t_1.o1p(this.u2t_1);
|
|
5323
5319
|
}
|
|
5324
|
-
return buffered(this.
|
|
5320
|
+
return buffered(this.v2t_1.p1p(Path_0(this.u2t_1, [filePath]), append));
|
|
5325
5321
|
};
|
|
5326
|
-
protoOf(FileSystemImpl).
|
|
5327
|
-
this.
|
|
5322
|
+
protoOf(FileSystemImpl).t2t = function ($completion) {
|
|
5323
|
+
this.v2t_1.m1p(this.u2t_1);
|
|
5328
5324
|
return Unit_instance;
|
|
5329
5325
|
};
|
|
5330
5326
|
function LoggerFactoryImpl(coreConfig, fileSystem) {
|
|
5331
|
-
this.
|
|
5332
|
-
this.
|
|
5327
|
+
this.w2t_1 = coreConfig;
|
|
5328
|
+
this.x2t_1 = fileSystem;
|
|
5333
5329
|
}
|
|
5334
|
-
protoOf(LoggerFactoryImpl).
|
|
5335
|
-
var fileName = replace(this.
|
|
5336
|
-
return new LogsStorageControllerImpl(fileName, this.
|
|
5330
|
+
protoOf(LoggerFactoryImpl).y2t = function (key) {
|
|
5331
|
+
var fileName = replace(this.w2t_1.fileNameFormat, '%S', key);
|
|
5332
|
+
return new LogsStorageControllerImpl(fileName, this.x2t_1);
|
|
5337
5333
|
};
|
|
5338
5334
|
function LoggerFactory() {
|
|
5339
5335
|
}
|
|
@@ -5345,8 +5341,8 @@
|
|
|
5345
5341
|
}
|
|
5346
5342
|
function $appendToFileCOROUTINE$0(_this__u8e3s4, message, resultContinuation) {
|
|
5347
5343
|
CoroutineImpl.call(this, resultContinuation);
|
|
5348
|
-
this.
|
|
5349
|
-
this.
|
|
5344
|
+
this.h2u_1 = _this__u8e3s4;
|
|
5345
|
+
this.i2u_1 = message;
|
|
5350
5346
|
}
|
|
5351
5347
|
protoOf($appendToFileCOROUTINE$0).ya = function () {
|
|
5352
5348
|
var suspendResult = this.na_1;
|
|
@@ -5358,7 +5354,7 @@
|
|
|
5358
5354
|
this.ma_1 = 3;
|
|
5359
5355
|
this.ma_1 = 2;
|
|
5360
5356
|
this.la_1 = 1;
|
|
5361
|
-
suspendResult = this.
|
|
5357
|
+
suspendResult = this.h2u_1.k2u_1.s2t(this.h2u_1.j2u_1, true, this);
|
|
5362
5358
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5363
5359
|
return suspendResult;
|
|
5364
5360
|
}
|
|
@@ -5369,7 +5365,7 @@
|
|
|
5369
5365
|
var sink = buffered(ARGUMENT);
|
|
5370
5366
|
l$ret$1: do {
|
|
5371
5367
|
try {
|
|
5372
|
-
writeString(sink, this.
|
|
5368
|
+
writeString(sink, this.i2u_1 + '\n');
|
|
5373
5369
|
break l$ret$1;
|
|
5374
5370
|
} catch ($p) {
|
|
5375
5371
|
var t = $p;
|
|
@@ -5387,7 +5383,7 @@
|
|
|
5387
5383
|
var tmp_0 = this.oa_1;
|
|
5388
5384
|
if (tmp_0 instanceof Exception) {
|
|
5389
5385
|
var e = this.oa_1;
|
|
5390
|
-
Logger_getInstance().
|
|
5386
|
+
Logger_getInstance().o2u(VOID, 'Error writing to log file: ' + e.message, e);
|
|
5391
5387
|
this.la_1 = 4;
|
|
5392
5388
|
continue $sm;
|
|
5393
5389
|
} else {
|
|
@@ -5412,10 +5408,10 @@
|
|
|
5412
5408
|
while (true);
|
|
5413
5409
|
};
|
|
5414
5410
|
function LogsStorageControllerImpl(fileName, fileSystem) {
|
|
5415
|
-
this.
|
|
5416
|
-
this.
|
|
5411
|
+
this.j2u_1 = fileName;
|
|
5412
|
+
this.k2u_1 = fileSystem;
|
|
5417
5413
|
}
|
|
5418
|
-
protoOf(LogsStorageControllerImpl).
|
|
5414
|
+
protoOf(LogsStorageControllerImpl).p2u = function (log, $completion) {
|
|
5419
5415
|
return appendToFile(this, log, $completion);
|
|
5420
5416
|
};
|
|
5421
5417
|
function BufferedAction() {
|
|
@@ -5430,22 +5426,22 @@
|
|
|
5430
5426
|
initialDelay = initialDelay === VOID ? new Long(0, 0) : initialDelay;
|
|
5431
5427
|
type = type === VOID ? TimerType_DELAY_getInstance() : type;
|
|
5432
5428
|
TimerAction.call(this);
|
|
5433
|
-
this.
|
|
5434
|
-
this.
|
|
5435
|
-
this.
|
|
5436
|
-
this.
|
|
5429
|
+
this.u2u_1 = timerTag;
|
|
5430
|
+
this.v2u_1 = delayMillis;
|
|
5431
|
+
this.w2u_1 = initialDelay;
|
|
5432
|
+
this.x2u_1 = type;
|
|
5437
5433
|
}
|
|
5438
|
-
protoOf(StartTimerAction).
|
|
5439
|
-
return this.
|
|
5434
|
+
protoOf(StartTimerAction).y2u = function () {
|
|
5435
|
+
return this.u2u_1;
|
|
5440
5436
|
};
|
|
5441
5437
|
protoOf(StartTimerAction).toString = function () {
|
|
5442
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
5438
|
+
return 'StartTimerAction(timerTag=' + this.u2u_1 + ', delayMillis=' + this.v2u_1.toString() + ', initialDelay=' + this.w2u_1.toString() + ', type=' + this.x2u_1 + ')';
|
|
5443
5439
|
};
|
|
5444
5440
|
protoOf(StartTimerAction).hashCode = function () {
|
|
5445
|
-
var result = hashCode(this.
|
|
5441
|
+
var result = hashCode(this.u2u_1);
|
|
5442
|
+
result = imul(result, 31) + this.v2u_1.hashCode() | 0;
|
|
5446
5443
|
result = imul(result, 31) + this.w2u_1.hashCode() | 0;
|
|
5447
5444
|
result = imul(result, 31) + this.x2u_1.hashCode() | 0;
|
|
5448
|
-
result = imul(result, 31) + this.y2u_1.hashCode() | 0;
|
|
5449
5445
|
return result;
|
|
5450
5446
|
};
|
|
5451
5447
|
protoOf(StartTimerAction).equals = function (other) {
|
|
@@ -5454,14 +5450,14 @@
|
|
|
5454
5450
|
if (!(other instanceof StartTimerAction))
|
|
5455
5451
|
return false;
|
|
5456
5452
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
5457
|
-
if (!equals(this.
|
|
5453
|
+
if (!equals(this.u2u_1, tmp0_other_with_cast.u2u_1))
|
|
5454
|
+
return false;
|
|
5455
|
+
if (!this.v2u_1.equals(tmp0_other_with_cast.v2u_1))
|
|
5458
5456
|
return false;
|
|
5459
5457
|
if (!this.w2u_1.equals(tmp0_other_with_cast.w2u_1))
|
|
5460
5458
|
return false;
|
|
5461
5459
|
if (!this.x2u_1.equals(tmp0_other_with_cast.x2u_1))
|
|
5462
5460
|
return false;
|
|
5463
|
-
if (!this.y2u_1.equals(tmp0_other_with_cast.y2u_1))
|
|
5464
|
-
return false;
|
|
5465
5461
|
return true;
|
|
5466
5462
|
};
|
|
5467
5463
|
var TimerType_DELAY_instance;
|
|
@@ -5479,21 +5475,21 @@
|
|
|
5479
5475
|
}
|
|
5480
5476
|
function TimerTickAction(timerTag, type) {
|
|
5481
5477
|
TimerAction.call(this);
|
|
5482
|
-
this.
|
|
5483
|
-
this.
|
|
5478
|
+
this.z2u_1 = timerTag;
|
|
5479
|
+
this.a2v_1 = type;
|
|
5484
5480
|
}
|
|
5485
|
-
protoOf(TimerTickAction).
|
|
5486
|
-
return this.
|
|
5481
|
+
protoOf(TimerTickAction).y2u = function () {
|
|
5482
|
+
return this.z2u_1;
|
|
5487
5483
|
};
|
|
5488
5484
|
protoOf(TimerTickAction).notValidateWhenFinished = function () {
|
|
5489
|
-
return this.
|
|
5485
|
+
return this.z2u_1.notValidateWhenFinished();
|
|
5490
5486
|
};
|
|
5491
5487
|
protoOf(TimerTickAction).toString = function () {
|
|
5492
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
5488
|
+
return 'TimerTickAction(timerTag=' + this.z2u_1 + ', type=' + this.a2v_1 + ')';
|
|
5493
5489
|
};
|
|
5494
5490
|
protoOf(TimerTickAction).hashCode = function () {
|
|
5495
|
-
var result = hashCode(this.
|
|
5496
|
-
result = imul(result, 31) + this.
|
|
5491
|
+
var result = hashCode(this.z2u_1);
|
|
5492
|
+
result = imul(result, 31) + this.a2v_1.hashCode() | 0;
|
|
5497
5493
|
return result;
|
|
5498
5494
|
};
|
|
5499
5495
|
protoOf(TimerTickAction).equals = function (other) {
|
|
@@ -5502,24 +5498,24 @@
|
|
|
5502
5498
|
if (!(other instanceof TimerTickAction))
|
|
5503
5499
|
return false;
|
|
5504
5500
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
5505
|
-
if (!equals(this.
|
|
5501
|
+
if (!equals(this.z2u_1, tmp0_other_with_cast.z2u_1))
|
|
5506
5502
|
return false;
|
|
5507
|
-
if (!this.
|
|
5503
|
+
if (!this.a2v_1.equals(tmp0_other_with_cast.a2v_1))
|
|
5508
5504
|
return false;
|
|
5509
5505
|
return true;
|
|
5510
5506
|
};
|
|
5511
5507
|
function StopTimerAction(timerTag) {
|
|
5512
5508
|
TimerAction.call(this);
|
|
5513
|
-
this.
|
|
5509
|
+
this.b2v_1 = timerTag;
|
|
5514
5510
|
}
|
|
5515
|
-
protoOf(StopTimerAction).
|
|
5516
|
-
return this.
|
|
5511
|
+
protoOf(StopTimerAction).y2u = function () {
|
|
5512
|
+
return this.b2v_1;
|
|
5517
5513
|
};
|
|
5518
5514
|
protoOf(StopTimerAction).toString = function () {
|
|
5519
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
5515
|
+
return 'StopTimerAction(timerTag=' + this.b2v_1 + ')';
|
|
5520
5516
|
};
|
|
5521
5517
|
protoOf(StopTimerAction).hashCode = function () {
|
|
5522
|
-
return hashCode(this.
|
|
5518
|
+
return hashCode(this.b2v_1);
|
|
5523
5519
|
};
|
|
5524
5520
|
protoOf(StopTimerAction).equals = function (other) {
|
|
5525
5521
|
if (this === other)
|
|
@@ -5527,7 +5523,7 @@
|
|
|
5527
5523
|
if (!(other instanceof StopTimerAction))
|
|
5528
5524
|
return false;
|
|
5529
5525
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
5530
|
-
if (!equals(this.
|
|
5526
|
+
if (!equals(this.b2v_1, tmp0_other_with_cast.b2v_1))
|
|
5531
5527
|
return false;
|
|
5532
5528
|
return true;
|
|
5533
5529
|
};
|
|
@@ -5585,7 +5581,7 @@
|
|
|
5585
5581
|
}
|
|
5586
5582
|
function applyMiddleware$lambda$lambda$lambda$lambda($middleware, $store, $dispatcher) {
|
|
5587
5583
|
return function (action) {
|
|
5588
|
-
$middleware.
|
|
5584
|
+
$middleware.c2v($store, $dispatcher, action);
|
|
5589
5585
|
return Unit_instance;
|
|
5590
5586
|
};
|
|
5591
5587
|
}
|
|
@@ -5601,7 +5597,7 @@
|
|
|
5601
5597
|
var element = this_0[inductionVariable];
|
|
5602
5598
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5603
5599
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
5604
|
-
if (element.
|
|
5600
|
+
if (element.d2v(action)) {
|
|
5605
5601
|
destination.s(element);
|
|
5606
5602
|
}
|
|
5607
5603
|
}
|
|
@@ -5639,8 +5635,8 @@
|
|
|
5639
5635
|
return applyThread$lambda(asyncProvider);
|
|
5640
5636
|
}
|
|
5641
5637
|
function applyThread$lambda$lambda$lambda$slambda($origDispatch, $action, resultContinuation) {
|
|
5642
|
-
this.
|
|
5643
|
-
this.
|
|
5638
|
+
this.m2v_1 = $origDispatch;
|
|
5639
|
+
this.n2v_1 = $action;
|
|
5644
5640
|
CoroutineImpl.call(this, resultContinuation);
|
|
5645
5641
|
}
|
|
5646
5642
|
protoOf(applyThread$lambda$lambda$lambda$slambda).d2b = function ($this$launchUnconfinedWithLock, $completion) {
|
|
@@ -5659,7 +5655,7 @@
|
|
|
5659
5655
|
var tmp = this.la_1;
|
|
5660
5656
|
if (tmp === 0) {
|
|
5661
5657
|
this.ma_1 = 1;
|
|
5662
|
-
this.
|
|
5658
|
+
this.m2v_1(this.n2v_1);
|
|
5663
5659
|
return Unit_instance;
|
|
5664
5660
|
} else if (tmp === 1) {
|
|
5665
5661
|
throw this.oa_1;
|
|
@@ -5671,8 +5667,8 @@
|
|
|
5671
5667
|
while (true);
|
|
5672
5668
|
};
|
|
5673
5669
|
protoOf(applyThread$lambda$lambda$lambda$slambda).e2b = function ($this$launchUnconfinedWithLock, completion) {
|
|
5674
|
-
var i = new applyThread$lambda$lambda$lambda$slambda(this.
|
|
5675
|
-
i.
|
|
5670
|
+
var i = new applyThread$lambda$lambda$lambda$slambda(this.m2v_1, this.n2v_1, completion);
|
|
5671
|
+
i.o2v_1 = $this$launchUnconfinedWithLock;
|
|
5676
5672
|
return i;
|
|
5677
5673
|
};
|
|
5678
5674
|
function applyThread$lambda$lambda$lambda$slambda_0($origDispatch, $action, resultContinuation) {
|
|
@@ -5685,7 +5681,7 @@
|
|
|
5685
5681
|
}
|
|
5686
5682
|
function applyThread$lambda$lambda$lambda($asyncProvider, $origDispatch) {
|
|
5687
5683
|
return function (action) {
|
|
5688
|
-
$asyncProvider.
|
|
5684
|
+
$asyncProvider.o2r(VOID, applyThread$lambda$lambda$lambda$slambda_0($origDispatch, action, null));
|
|
5689
5685
|
return Unit_instance;
|
|
5690
5686
|
};
|
|
5691
5687
|
}
|
|
@@ -5707,9 +5703,9 @@
|
|
|
5707
5703
|
return new _no_name_provided__qut3iv_0(asyncProvider, jobsProvider);
|
|
5708
5704
|
}
|
|
5709
5705
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $action, $store, resultContinuation) {
|
|
5710
|
-
this.
|
|
5711
|
-
this.
|
|
5712
|
-
this.
|
|
5706
|
+
this.x2v_1 = $jobsProvider;
|
|
5707
|
+
this.y2v_1 = $action;
|
|
5708
|
+
this.z2v_1 = $store;
|
|
5713
5709
|
CoroutineImpl.call(this, resultContinuation);
|
|
5714
5710
|
}
|
|
5715
5711
|
protoOf(timerMiddleware$o$handle$slambda$slambda).d2b = function ($this$launchMain, $completion) {
|
|
@@ -5728,8 +5724,8 @@
|
|
|
5728
5724
|
var tmp = this.la_1;
|
|
5729
5725
|
if (tmp === 0) {
|
|
5730
5726
|
this.ma_1 = 1;
|
|
5731
|
-
if (this.
|
|
5732
|
-
this.
|
|
5727
|
+
if (this.x2v_1.o2t(this.y2v_1.y2u())) {
|
|
5728
|
+
this.z2v_1.dispatch(new TimerTickAction(this.y2v_1.y2u(), TimerType_DELAY_getInstance()));
|
|
5733
5729
|
}
|
|
5734
5730
|
return Unit_instance;
|
|
5735
5731
|
} else if (tmp === 1) {
|
|
@@ -5742,8 +5738,8 @@
|
|
|
5742
5738
|
while (true);
|
|
5743
5739
|
};
|
|
5744
5740
|
protoOf(timerMiddleware$o$handle$slambda$slambda).e2b = function ($this$launchMain, completion) {
|
|
5745
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
5746
|
-
i.
|
|
5741
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.x2v_1, this.y2v_1, this.z2v_1, completion);
|
|
5742
|
+
i.a2w_1 = $this$launchMain;
|
|
5747
5743
|
return i;
|
|
5748
5744
|
};
|
|
5749
5745
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -5755,9 +5751,9 @@
|
|
|
5755
5751
|
return l;
|
|
5756
5752
|
}
|
|
5757
5753
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $action, $store, resultContinuation) {
|
|
5758
|
-
this.
|
|
5759
|
-
this.
|
|
5760
|
-
this.
|
|
5754
|
+
this.j2w_1 = $jobsProvider;
|
|
5755
|
+
this.k2w_1 = $action;
|
|
5756
|
+
this.l2w_1 = $store;
|
|
5761
5757
|
CoroutineImpl.call(this, resultContinuation);
|
|
5762
5758
|
}
|
|
5763
5759
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).d2b = function ($this$launchMain, $completion) {
|
|
@@ -5776,8 +5772,8 @@
|
|
|
5776
5772
|
var tmp = this.la_1;
|
|
5777
5773
|
if (tmp === 0) {
|
|
5778
5774
|
this.ma_1 = 1;
|
|
5779
|
-
if (this.
|
|
5780
|
-
this.
|
|
5775
|
+
if (this.j2w_1.o2t(this.k2w_1.y2u())) {
|
|
5776
|
+
this.l2w_1.dispatch(new TimerTickAction(this.k2w_1.y2u(), TimerType_INTERVAL_getInstance()));
|
|
5781
5777
|
}
|
|
5782
5778
|
return Unit_instance;
|
|
5783
5779
|
} else if (tmp === 1) {
|
|
@@ -5790,8 +5786,8 @@
|
|
|
5790
5786
|
while (true);
|
|
5791
5787
|
};
|
|
5792
5788
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).e2b = function ($this$launchMain, completion) {
|
|
5793
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
5794
|
-
i.
|
|
5789
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.j2w_1, this.k2w_1, this.l2w_1, completion);
|
|
5790
|
+
i.m2w_1 = $this$launchMain;
|
|
5795
5791
|
return i;
|
|
5796
5792
|
};
|
|
5797
5793
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -5803,10 +5799,10 @@
|
|
|
5803
5799
|
return l;
|
|
5804
5800
|
}
|
|
5805
5801
|
function timerMiddleware$o$handle$slambda($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
5806
|
-
this.
|
|
5807
|
-
this.
|
|
5808
|
-
this.
|
|
5809
|
-
this.
|
|
5802
|
+
this.v2w_1 = $action;
|
|
5803
|
+
this.w2w_1 = $asyncProvider;
|
|
5804
|
+
this.x2w_1 = $jobsProvider;
|
|
5805
|
+
this.y2w_1 = $store;
|
|
5810
5806
|
CoroutineImpl.call(this, resultContinuation);
|
|
5811
5807
|
}
|
|
5812
5808
|
protoOf(timerMiddleware$o$handle$slambda).d2b = function ($this$launchDefault, $completion) {
|
|
@@ -5826,9 +5822,9 @@
|
|
|
5826
5822
|
switch (tmp) {
|
|
5827
5823
|
case 0:
|
|
5828
5824
|
this.ma_1 = 10;
|
|
5829
|
-
if (!this.
|
|
5825
|
+
if (!this.v2w_1.w2u_1.equals(new Long(0, 0)) ? this.v2w_1.x2u_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
5830
5826
|
this.la_1 = 1;
|
|
5831
|
-
suspendResult = delay(this.
|
|
5827
|
+
suspendResult = delay(this.v2w_1.w2u_1, this);
|
|
5832
5828
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5833
5829
|
return suspendResult;
|
|
5834
5830
|
}
|
|
@@ -5842,20 +5838,20 @@
|
|
|
5842
5838
|
this.la_1 = 2;
|
|
5843
5839
|
continue $sm;
|
|
5844
5840
|
case 2:
|
|
5845
|
-
this.
|
|
5846
|
-
this.
|
|
5847
|
-
if (this.
|
|
5841
|
+
this.a2x_1 = this.v2w_1.x2u_1;
|
|
5842
|
+
this.b2x_1 = this.a2x_1.g8_1;
|
|
5843
|
+
if (this.b2x_1 === 0) {
|
|
5848
5844
|
this.la_1 = 8;
|
|
5849
|
-
suspendResult = delay(this.
|
|
5845
|
+
suspendResult = delay(this.v2w_1.v2u_1, this);
|
|
5850
5846
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5851
5847
|
return suspendResult;
|
|
5852
5848
|
}
|
|
5853
5849
|
continue $sm;
|
|
5854
5850
|
} else {
|
|
5855
|
-
if (this.
|
|
5856
|
-
if (!this.
|
|
5851
|
+
if (this.b2x_1 === 1) {
|
|
5852
|
+
if (!this.v2w_1.w2u_1.equals(new Long(0, 0))) {
|
|
5857
5853
|
this.la_1 = 3;
|
|
5858
|
-
suspendResult = delay(this.
|
|
5854
|
+
suspendResult = delay(this.v2w_1.w2u_1, this);
|
|
5859
5855
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5860
5856
|
return suspendResult;
|
|
5861
5857
|
}
|
|
@@ -5877,14 +5873,14 @@
|
|
|
5877
5873
|
this.la_1 = 5;
|
|
5878
5874
|
continue $sm;
|
|
5879
5875
|
case 5:
|
|
5880
|
-
if (!get_isActive(this.
|
|
5876
|
+
if (!get_isActive(this.z2w_1)) {
|
|
5881
5877
|
this.la_1 = 7;
|
|
5882
5878
|
continue $sm;
|
|
5883
5879
|
}
|
|
5884
5880
|
|
|
5885
|
-
this.
|
|
5881
|
+
this.w2w_1.u2r(VOID, timerMiddleware$o$handle$slambda$slambda_2(this.x2w_1, this.v2w_1, this.y2w_1, null));
|
|
5886
5882
|
this.la_1 = 6;
|
|
5887
|
-
suspendResult = delay(this.
|
|
5883
|
+
suspendResult = delay(this.v2w_1.w2u_1, this);
|
|
5888
5884
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5889
5885
|
return suspendResult;
|
|
5890
5886
|
}
|
|
@@ -5897,7 +5893,7 @@
|
|
|
5897
5893
|
this.la_1 = 9;
|
|
5898
5894
|
continue $sm;
|
|
5899
5895
|
case 8:
|
|
5900
|
-
this.
|
|
5896
|
+
this.w2w_1.u2r(VOID, timerMiddleware$o$handle$slambda$slambda_0(this.x2w_1, this.v2w_1, this.y2w_1, null));
|
|
5901
5897
|
this.la_1 = 9;
|
|
5902
5898
|
continue $sm;
|
|
5903
5899
|
case 9:
|
|
@@ -5917,8 +5913,8 @@
|
|
|
5917
5913
|
while (true);
|
|
5918
5914
|
};
|
|
5919
5915
|
protoOf(timerMiddleware$o$handle$slambda).e2b = function ($this$launchDefault, completion) {
|
|
5920
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
5921
|
-
i.
|
|
5916
|
+
var i = new timerMiddleware$o$handle$slambda(this.v2w_1, this.w2w_1, this.x2w_1, this.y2w_1, completion);
|
|
5917
|
+
i.z2w_1 = $this$launchDefault;
|
|
5922
5918
|
return i;
|
|
5923
5919
|
};
|
|
5924
5920
|
function timerMiddleware$o$handle$slambda_0($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
@@ -5930,33 +5926,33 @@
|
|
|
5930
5926
|
return l;
|
|
5931
5927
|
}
|
|
5932
5928
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
5933
|
-
this.
|
|
5934
|
-
this.
|
|
5929
|
+
this.c2x_1 = $asyncProvider;
|
|
5930
|
+
this.d2x_1 = $jobsProvider;
|
|
5935
5931
|
}
|
|
5936
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
5932
|
+
protoOf(_no_name_provided__qut3iv_0).d2v = function (action) {
|
|
5937
5933
|
return action instanceof TimerAction;
|
|
5938
5934
|
};
|
|
5939
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
5935
|
+
protoOf(_no_name_provided__qut3iv_0).e2x = function (store, next, action) {
|
|
5940
5936
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
5941
5937
|
var action_0 = action instanceof TimerAction ? action : THROW_CCE();
|
|
5942
5938
|
if (action_0 instanceof StartTimerAction) {
|
|
5943
|
-
var job = this.
|
|
5944
|
-
this.
|
|
5939
|
+
var job = this.c2x_1.q2r(VOID, timerMiddleware$o$handle$slambda_0(action_0, this.c2x_1, this.d2x_1, store, null));
|
|
5940
|
+
this.d2x_1.k2t(action_0.y2u(), job);
|
|
5945
5941
|
} else {
|
|
5946
5942
|
if (action_0 instanceof StopTimerAction) {
|
|
5947
|
-
this.
|
|
5943
|
+
this.d2x_1.l2t(action_0.y2u());
|
|
5948
5944
|
} else {
|
|
5949
5945
|
if (action_0 instanceof TimerTickAction) {
|
|
5950
|
-
if (action_0.
|
|
5951
|
-
this.
|
|
5946
|
+
if (action_0.a2v_1.equals(TimerType_DELAY_getInstance())) {
|
|
5947
|
+
this.d2x_1.m2t(action_0.y2u());
|
|
5952
5948
|
}
|
|
5953
5949
|
}
|
|
5954
5950
|
}
|
|
5955
5951
|
}
|
|
5956
5952
|
next(action_0);
|
|
5957
5953
|
};
|
|
5958
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
5959
|
-
return this.
|
|
5954
|
+
protoOf(_no_name_provided__qut3iv_0).c2v = function (store, next, action) {
|
|
5955
|
+
return this.e2x(store, next, action);
|
|
5960
5956
|
};
|
|
5961
5957
|
function compose(functions) {
|
|
5962
5958
|
return compose$lambda(functions);
|
|
@@ -5992,7 +5988,7 @@
|
|
|
5992
5988
|
}
|
|
5993
5989
|
function createStore$dispatch(currentState, currentReducer, $logger, stateTrigger, action) {
|
|
5994
5990
|
try {
|
|
5995
|
-
currentState._v = currentReducer._v.
|
|
5991
|
+
currentState._v = currentReducer._v.f2x(currentState._v, action);
|
|
5996
5992
|
} catch ($p) {
|
|
5997
5993
|
if ($p instanceof Exception) {
|
|
5998
5994
|
var exception = $p;
|
|
@@ -6013,18 +6009,18 @@
|
|
|
6013
6009
|
};
|
|
6014
6010
|
}
|
|
6015
6011
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation) {
|
|
6016
|
-
this.
|
|
6017
|
-
this.
|
|
6012
|
+
this.o2x_1 = $$this$unsafeFlow;
|
|
6013
|
+
this.p2x_1 = this$0;
|
|
6018
6014
|
CoroutineImpl.call(this, resultContinuation);
|
|
6019
6015
|
}
|
|
6020
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
6021
|
-
var tmp = this.
|
|
6016
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).t2x = function (value, $completion) {
|
|
6017
|
+
var tmp = this.u2x(value, $completion);
|
|
6022
6018
|
tmp.na_1 = Unit_instance;
|
|
6023
6019
|
tmp.oa_1 = null;
|
|
6024
6020
|
return tmp.ya();
|
|
6025
6021
|
};
|
|
6026
6022
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).lb = function (p1, $completion) {
|
|
6027
|
-
return this.
|
|
6023
|
+
return this.t2x(p1 instanceof Unit ? p1 : THROW_CCE(), $completion);
|
|
6028
6024
|
};
|
|
6029
6025
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).ya = function () {
|
|
6030
6026
|
var suspendResult = this.na_1;
|
|
@@ -6035,12 +6031,12 @@
|
|
|
6035
6031
|
case 0:
|
|
6036
6032
|
this.ma_1 = 2;
|
|
6037
6033
|
var tmp_0 = this;
|
|
6038
|
-
tmp_0.
|
|
6034
|
+
tmp_0.r2x_1 = this.o2x_1;
|
|
6039
6035
|
var tmp_1 = this;
|
|
6040
|
-
tmp_1.
|
|
6036
|
+
tmp_1.s2x_1 = this.q2x_1;
|
|
6041
6037
|
this.la_1 = 1;
|
|
6042
|
-
this.
|
|
6043
|
-
suspendResult = this.
|
|
6038
|
+
this.s2x_1;
|
|
6039
|
+
suspendResult = this.r2x_1.g26(this.p2x_1.state, this);
|
|
6044
6040
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6045
6041
|
return suspendResult;
|
|
6046
6042
|
}
|
|
@@ -6062,23 +6058,23 @@
|
|
|
6062
6058
|
}
|
|
6063
6059
|
while (true);
|
|
6064
6060
|
};
|
|
6065
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
6066
|
-
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.
|
|
6067
|
-
i.
|
|
6061
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).u2x = function (value, completion) {
|
|
6062
|
+
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.o2x_1, this.p2x_1, completion);
|
|
6063
|
+
i.q2x_1 = value;
|
|
6068
6064
|
return i;
|
|
6069
6065
|
};
|
|
6070
6066
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
6071
6067
|
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation);
|
|
6072
6068
|
var l = function (value, $completion) {
|
|
6073
|
-
return i.
|
|
6069
|
+
return i.t2x(value, $completion);
|
|
6074
6070
|
};
|
|
6075
6071
|
l.$arity = 1;
|
|
6076
6072
|
return l;
|
|
6077
6073
|
}
|
|
6078
6074
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
6079
6075
|
CoroutineImpl.call(this, resultContinuation);
|
|
6080
|
-
this.
|
|
6081
|
-
this.
|
|
6076
|
+
this.d2y_1 = _this__u8e3s4;
|
|
6077
|
+
this.e2y_1 = collector;
|
|
6082
6078
|
}
|
|
6083
6079
|
protoOf($collectCOROUTINE$1).ya = function () {
|
|
6084
6080
|
var suspendResult = this.na_1;
|
|
@@ -6089,10 +6085,10 @@
|
|
|
6089
6085
|
case 0:
|
|
6090
6086
|
this.ma_1 = 2;
|
|
6091
6087
|
var tmp_0 = this;
|
|
6092
|
-
tmp_0.
|
|
6088
|
+
tmp_0.f2y_1 = this.e2y_1;
|
|
6093
6089
|
this.la_1 = 1;
|
|
6094
|
-
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.
|
|
6095
|
-
suspendResult = this.
|
|
6090
|
+
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.f2y_1, this.d2y_1.h2y_1, null);
|
|
6091
|
+
suspendResult = this.d2y_1.g2y_1.q25(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
6096
6092
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6097
6093
|
return suspendResult;
|
|
6098
6094
|
}
|
|
@@ -6115,10 +6111,10 @@
|
|
|
6115
6111
|
while (true);
|
|
6116
6112
|
};
|
|
6117
6113
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
6118
|
-
this.
|
|
6114
|
+
this.i2y_1 = function_0;
|
|
6119
6115
|
}
|
|
6120
6116
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).g26 = function (value, $completion) {
|
|
6121
|
-
return this.
|
|
6117
|
+
return this.i2y_1(value, $completion);
|
|
6122
6118
|
};
|
|
6123
6119
|
function createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
6124
6120
|
return function (action) {
|
|
@@ -6133,46 +6129,46 @@
|
|
|
6133
6129
|
};
|
|
6134
6130
|
}
|
|
6135
6131
|
function _no_name_provided__qut3iv_1($this, this$0) {
|
|
6136
|
-
this.
|
|
6137
|
-
this.
|
|
6132
|
+
this.g2y_1 = $this;
|
|
6133
|
+
this.h2y_1 = this$0;
|
|
6138
6134
|
}
|
|
6139
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
6135
|
+
protoOf(_no_name_provided__qut3iv_1).j2y = function (collector, $completion) {
|
|
6140
6136
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
6141
6137
|
tmp.na_1 = Unit_instance;
|
|
6142
6138
|
tmp.oa_1 = null;
|
|
6143
6139
|
return tmp.ya();
|
|
6144
6140
|
};
|
|
6145
6141
|
protoOf(_no_name_provided__qut3iv_1).q25 = function (collector, $completion) {
|
|
6146
|
-
return this.
|
|
6142
|
+
return this.j2y(collector, $completion);
|
|
6147
6143
|
};
|
|
6148
6144
|
function createStore$2($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
6149
|
-
this.
|
|
6150
|
-
this.
|
|
6151
|
-
this.
|
|
6145
|
+
this.n2y_1 = $currentState;
|
|
6146
|
+
this.o2y_1 = $stateTrigger;
|
|
6147
|
+
this.k2y_1 = this;
|
|
6152
6148
|
var tmp = this;
|
|
6153
|
-
tmp.
|
|
6149
|
+
tmp.l2y_1 = createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger);
|
|
6154
6150
|
var tmp_0 = this;
|
|
6155
|
-
tmp_0.
|
|
6151
|
+
tmp_0.m2y_1 = createStore$o$replaceReducer$lambda($currentReducer, $currentState, $logger, $stateTrigger);
|
|
6156
6152
|
}
|
|
6157
|
-
protoOf(createStore$2).
|
|
6158
|
-
return this.
|
|
6153
|
+
protoOf(createStore$2).p2y = function () {
|
|
6154
|
+
return this.k2y_1;
|
|
6159
6155
|
};
|
|
6160
6156
|
protoOf(createStore$2).i1r = function () {
|
|
6161
|
-
return createStore$getState(this.
|
|
6157
|
+
return createStore$getState(this.n2y_1);
|
|
6158
|
+
};
|
|
6159
|
+
protoOf(createStore$2).q2y = function (_set____db54di) {
|
|
6160
|
+
this.l2y_1 = _set____db54di;
|
|
6162
6161
|
};
|
|
6163
|
-
protoOf(createStore$2).r2y = function (
|
|
6164
|
-
this.
|
|
6162
|
+
protoOf(createStore$2).r2y = function () {
|
|
6163
|
+
return this.l2y_1;
|
|
6165
6164
|
};
|
|
6166
6165
|
protoOf(createStore$2).s2y = function () {
|
|
6167
6166
|
return this.m2y_1;
|
|
6168
6167
|
};
|
|
6169
6168
|
protoOf(createStore$2).t2y = function () {
|
|
6170
|
-
return this.n2y_1;
|
|
6171
|
-
};
|
|
6172
|
-
protoOf(createStore$2).u2y = function () {
|
|
6173
6169
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
6174
6170
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
6175
|
-
var this_0 = this.
|
|
6171
|
+
var this_0 = this.o2y_1;
|
|
6176
6172
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
6177
6173
|
return new _no_name_provided__qut3iv_1(this_0, this);
|
|
6178
6174
|
};
|
|
@@ -6250,10 +6246,10 @@
|
|
|
6250
6246
|
return new middleware$1(dispatch);
|
|
6251
6247
|
}
|
|
6252
6248
|
function middleware$1($dispatch) {
|
|
6253
|
-
this.
|
|
6249
|
+
this.u2y_1 = $dispatch;
|
|
6254
6250
|
}
|
|
6255
|
-
protoOf(middleware$1).
|
|
6256
|
-
this.
|
|
6251
|
+
protoOf(middleware$1).c2v = function (store, next, action) {
|
|
6252
|
+
this.u2y_1(store, next, action);
|
|
6257
6253
|
};
|
|
6258
6254
|
function Reducer() {
|
|
6259
6255
|
}
|
|
@@ -6261,13 +6257,13 @@
|
|
|
6261
6257
|
return new combineReducers$1(reducers);
|
|
6262
6258
|
}
|
|
6263
6259
|
function combineReducers$1($reducers) {
|
|
6264
|
-
this.
|
|
6260
|
+
this.v2y_1 = $reducers;
|
|
6265
6261
|
}
|
|
6266
|
-
protoOf(combineReducers$1).
|
|
6262
|
+
protoOf(combineReducers$1).w2y = function (state, action) {
|
|
6267
6263
|
// Inline function 'kotlin.collections.fold' call
|
|
6268
6264
|
// Inline function 'kotlin.collections.filter' call
|
|
6269
6265
|
// Inline function 'kotlin.collections.filterTo' call
|
|
6270
|
-
var this_0 = this.
|
|
6266
|
+
var this_0 = this.v2y_1;
|
|
6271
6267
|
var destination = ArrayList_init_$Create$();
|
|
6272
6268
|
var inductionVariable = 0;
|
|
6273
6269
|
var last = this_0.length;
|
|
@@ -6275,7 +6271,7 @@
|
|
|
6275
6271
|
var element = this_0[inductionVariable];
|
|
6276
6272
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6277
6273
|
// Inline function 'com.logic.redux.store.definitions.<no name provided>.reduce.<anonymous>' call
|
|
6278
|
-
if (element.
|
|
6274
|
+
if (element.d2v(action)) {
|
|
6279
6275
|
destination.s(element);
|
|
6280
6276
|
}
|
|
6281
6277
|
}
|
|
@@ -6285,12 +6281,12 @@
|
|
|
6285
6281
|
var element_0 = tmp0_iterator.y();
|
|
6286
6282
|
// Inline function 'com.logic.redux.store.definitions.<no name provided>.reduce.<anonymous>' call
|
|
6287
6283
|
var s = accumulator;
|
|
6288
|
-
accumulator = element_0.
|
|
6284
|
+
accumulator = element_0.f2x(s, action);
|
|
6289
6285
|
}
|
|
6290
6286
|
return accumulator;
|
|
6291
6287
|
};
|
|
6292
|
-
protoOf(combineReducers$1).
|
|
6293
|
-
return this.
|
|
6288
|
+
protoOf(combineReducers$1).f2x = function (state, action) {
|
|
6289
|
+
return this.w2y((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6294
6290
|
};
|
|
6295
6291
|
function Store() {
|
|
6296
6292
|
}
|
|
@@ -6437,23 +6433,23 @@
|
|
|
6437
6433
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
6438
6434
|
}
|
|
6439
6435
|
function generateTag($this, tag) {
|
|
6440
|
-
return (!($this.
|
|
6436
|
+
return (!($this.n2u_1 == null) ? !(tag == null) : false) ? '' + $this.n2u_1 + ':' + tag : tag;
|
|
6441
6437
|
}
|
|
6442
6438
|
function Category(name, ordinal, isEnabled) {
|
|
6443
6439
|
Enum.call(this, name, ordinal);
|
|
6444
|
-
this.
|
|
6440
|
+
this.z2y_1 = isEnabled;
|
|
6445
6441
|
}
|
|
6446
6442
|
function Logger$loggerSource$1() {
|
|
6447
|
-
this.
|
|
6443
|
+
this.a2z_1 = new PlatformLogger();
|
|
6448
6444
|
}
|
|
6449
|
-
protoOf(Logger$loggerSource$1).
|
|
6450
|
-
this.
|
|
6445
|
+
protoOf(Logger$loggerSource$1).b2z = function (tag, msg) {
|
|
6446
|
+
this.a2z_1.b2z(tag, msg);
|
|
6451
6447
|
};
|
|
6452
|
-
protoOf(Logger$loggerSource$1).
|
|
6453
|
-
this.
|
|
6448
|
+
protoOf(Logger$loggerSource$1).c2z = function (tag, msg, exception) {
|
|
6449
|
+
this.a2z_1.c2z(tag, msg, exception);
|
|
6454
6450
|
};
|
|
6455
|
-
protoOf(Logger$loggerSource$1).
|
|
6456
|
-
this.
|
|
6451
|
+
protoOf(Logger$loggerSource$1).d2z = function (tag, msg) {
|
|
6452
|
+
this.a2z_1.d2z(tag, msg);
|
|
6457
6453
|
};
|
|
6458
6454
|
function Category_NONE_getInstance() {
|
|
6459
6455
|
Category_initEntries();
|
|
@@ -6462,56 +6458,56 @@
|
|
|
6462
6458
|
function Logger() {
|
|
6463
6459
|
Logger_instance = this;
|
|
6464
6460
|
var tmp = this;
|
|
6465
|
-
tmp.
|
|
6466
|
-
this.
|
|
6467
|
-
this.
|
|
6461
|
+
tmp.l2u_1 = new Logger$loggerSource$1();
|
|
6462
|
+
this.m2u_1 = true;
|
|
6463
|
+
this.n2u_1 = null;
|
|
6468
6464
|
}
|
|
6469
|
-
protoOf(Logger).
|
|
6470
|
-
this.
|
|
6465
|
+
protoOf(Logger).e2z = function (tag, message) {
|
|
6466
|
+
this.f2z(tag, message, Category_NONE_getInstance());
|
|
6471
6467
|
};
|
|
6472
|
-
protoOf(Logger).
|
|
6473
|
-
if (this.
|
|
6474
|
-
this.
|
|
6468
|
+
protoOf(Logger).g2z = function (tag, message, category) {
|
|
6469
|
+
if (this.m2u_1 ? category.z2y_1 : false) {
|
|
6470
|
+
this.l2u_1.d2z(generateTag(this, tag), message);
|
|
6475
6471
|
}
|
|
6476
6472
|
};
|
|
6477
|
-
protoOf(Logger).
|
|
6473
|
+
protoOf(Logger).h2z = function (tag, message, category, $super) {
|
|
6478
6474
|
tag = tag === VOID ? null : tag;
|
|
6479
6475
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
6480
6476
|
var tmp;
|
|
6481
6477
|
if ($super === VOID) {
|
|
6482
|
-
this.
|
|
6478
|
+
this.g2z(tag, message, category);
|
|
6483
6479
|
tmp = Unit_instance;
|
|
6484
6480
|
} else {
|
|
6485
|
-
tmp = $super.
|
|
6481
|
+
tmp = $super.g2z.call(this, tag, message, category);
|
|
6486
6482
|
}
|
|
6487
6483
|
return tmp;
|
|
6488
6484
|
};
|
|
6489
|
-
protoOf(Logger).
|
|
6490
|
-
if (this.
|
|
6491
|
-
this.
|
|
6485
|
+
protoOf(Logger).f2z = function (tag, message, category) {
|
|
6486
|
+
if (this.m2u_1 ? category.z2y_1 : false) {
|
|
6487
|
+
this.l2u_1.b2z(generateTag(this, tag), message);
|
|
6492
6488
|
}
|
|
6493
6489
|
};
|
|
6494
|
-
protoOf(Logger).
|
|
6495
|
-
if (this.
|
|
6490
|
+
protoOf(Logger).i2z = function (tag, message, exception, category) {
|
|
6491
|
+
if (this.m2u_1 ? category.z2y_1 : false) {
|
|
6496
6492
|
if (exception == null)
|
|
6497
6493
|
null;
|
|
6498
6494
|
else {
|
|
6499
6495
|
printStackTrace(exception);
|
|
6500
6496
|
}
|
|
6501
|
-
this.
|
|
6497
|
+
this.l2u_1.c2z(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
6502
6498
|
}
|
|
6503
6499
|
};
|
|
6504
|
-
protoOf(Logger).
|
|
6500
|
+
protoOf(Logger).o2u = function (tag, message, exception, category, $super) {
|
|
6505
6501
|
tag = tag === VOID ? null : tag;
|
|
6506
6502
|
message = message === VOID ? null : message;
|
|
6507
6503
|
exception = exception === VOID ? null : exception;
|
|
6508
6504
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
6509
6505
|
var tmp;
|
|
6510
6506
|
if ($super === VOID) {
|
|
6511
|
-
this.
|
|
6507
|
+
this.i2z(tag, message, exception, category);
|
|
6512
6508
|
tmp = Unit_instance;
|
|
6513
6509
|
} else {
|
|
6514
|
-
tmp = $super.
|
|
6510
|
+
tmp = $super.i2z.call(this, tag, message, exception, category);
|
|
6515
6511
|
}
|
|
6516
6512
|
return tmp;
|
|
6517
6513
|
};
|
|
@@ -6544,7 +6540,7 @@
|
|
|
6544
6540
|
}
|
|
6545
6541
|
function Companion_21() {
|
|
6546
6542
|
}
|
|
6547
|
-
protoOf(Companion_21).
|
|
6543
|
+
protoOf(Companion_21).r2t = function () {
|
|
6548
6544
|
return new CombinedGameLogger(mutableListOf([new PlatformGameLogger()]));
|
|
6549
6545
|
};
|
|
6550
6546
|
protoOf(Companion_21).ss = function () {
|
|
@@ -6557,32 +6553,32 @@
|
|
|
6557
6553
|
return Companion_instance_21;
|
|
6558
6554
|
}
|
|
6559
6555
|
function CombinedGameLogger(logOutputs) {
|
|
6560
|
-
this.
|
|
6556
|
+
this.j2z_1 = logOutputs;
|
|
6561
6557
|
}
|
|
6562
|
-
protoOf(CombinedGameLogger).
|
|
6563
|
-
this.
|
|
6558
|
+
protoOf(CombinedGameLogger).k2z = function (output) {
|
|
6559
|
+
this.j2z_1.s(output);
|
|
6564
6560
|
};
|
|
6565
|
-
protoOf(CombinedGameLogger).
|
|
6561
|
+
protoOf(CombinedGameLogger).l2z = function (tag, message, payload) {
|
|
6566
6562
|
// Inline function 'kotlin.collections.forEach' call
|
|
6567
|
-
var tmp0_iterator = this.
|
|
6563
|
+
var tmp0_iterator = this.j2z_1.v();
|
|
6568
6564
|
while (tmp0_iterator.w()) {
|
|
6569
6565
|
var element = tmp0_iterator.y();
|
|
6570
6566
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
6571
6567
|
element.d(tag, message, payload);
|
|
6572
6568
|
}
|
|
6573
6569
|
};
|
|
6574
|
-
protoOf(CombinedGameLogger).
|
|
6570
|
+
protoOf(CombinedGameLogger).m2z = function (tag, message, exception, payload) {
|
|
6575
6571
|
// Inline function 'kotlin.collections.forEach' call
|
|
6576
|
-
var tmp0_iterator = this.
|
|
6572
|
+
var tmp0_iterator = this.j2z_1.v();
|
|
6577
6573
|
while (tmp0_iterator.w()) {
|
|
6578
6574
|
var element = tmp0_iterator.y();
|
|
6579
6575
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
6580
6576
|
element.e(tag, message, exception, payload);
|
|
6581
6577
|
}
|
|
6582
6578
|
};
|
|
6583
|
-
protoOf(CombinedGameLogger).
|
|
6579
|
+
protoOf(CombinedGameLogger).n2z = function (tag, message, payload) {
|
|
6584
6580
|
// Inline function 'kotlin.collections.forEach' call
|
|
6585
|
-
var tmp0_iterator = this.
|
|
6581
|
+
var tmp0_iterator = this.j2z_1.v();
|
|
6586
6582
|
while (tmp0_iterator.w()) {
|
|
6587
6583
|
var element = tmp0_iterator.y();
|
|
6588
6584
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
@@ -6595,31 +6591,31 @@
|
|
|
6595
6591
|
}
|
|
6596
6592
|
function PlatformGameLogger(enabled) {
|
|
6597
6593
|
enabled = enabled === VOID ? true : enabled;
|
|
6598
|
-
this.
|
|
6594
|
+
this.o2z_1 = enabled;
|
|
6599
6595
|
}
|
|
6600
|
-
protoOf(PlatformGameLogger).
|
|
6601
|
-
this.
|
|
6596
|
+
protoOf(PlatformGameLogger).p2z = function (_set____db54di) {
|
|
6597
|
+
this.o2z_1 = _set____db54di;
|
|
6602
6598
|
};
|
|
6603
|
-
protoOf(PlatformGameLogger).
|
|
6604
|
-
return this.
|
|
6599
|
+
protoOf(PlatformGameLogger).q2z = function () {
|
|
6600
|
+
return this.o2z_1;
|
|
6605
6601
|
};
|
|
6606
|
-
protoOf(PlatformGameLogger).
|
|
6607
|
-
if (!this.
|
|
6602
|
+
protoOf(PlatformGameLogger).l2z = function (tag, message, payload) {
|
|
6603
|
+
if (!this.o2z_1)
|
|
6608
6604
|
return Unit_instance;
|
|
6609
|
-
Logger_getInstance().
|
|
6605
|
+
Logger_getInstance().e2z(tag, message);
|
|
6610
6606
|
};
|
|
6611
|
-
protoOf(PlatformGameLogger).
|
|
6612
|
-
if (!this.
|
|
6607
|
+
protoOf(PlatformGameLogger).m2z = function (tag, message, exception, payload) {
|
|
6608
|
+
if (!this.o2z_1)
|
|
6613
6609
|
return Unit_instance;
|
|
6614
|
-
Logger_getInstance().
|
|
6610
|
+
Logger_getInstance().o2u(tag, message, exception);
|
|
6615
6611
|
};
|
|
6616
|
-
protoOf(PlatformGameLogger).
|
|
6617
|
-
if (!this.
|
|
6612
|
+
protoOf(PlatformGameLogger).n2z = function (tag, message, payload) {
|
|
6613
|
+
if (!this.o2z_1)
|
|
6618
6614
|
return Unit_instance;
|
|
6619
|
-
Logger_getInstance().
|
|
6615
|
+
Logger_getInstance().h2z(tag, message);
|
|
6620
6616
|
};
|
|
6621
6617
|
function _get_$cachedSerializer__te6jhj_9($this) {
|
|
6622
|
-
return $this.
|
|
6618
|
+
return $this.r2z_1.o2();
|
|
6623
6619
|
}
|
|
6624
6620
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
6625
6621
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_4());
|
|
@@ -6631,7 +6627,7 @@
|
|
|
6631
6627
|
Companion_instance_22 = this;
|
|
6632
6628
|
var tmp = this;
|
|
6633
6629
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
6634
|
-
tmp.
|
|
6630
|
+
tmp.r2z_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
6635
6631
|
}
|
|
6636
6632
|
protoOf(Companion_22).t16 = function () {
|
|
6637
6633
|
return _get_$cachedSerializer__te6jhj_9(this);
|
|
@@ -6706,7 +6702,7 @@
|
|
|
6706
6702
|
// Inline function 'kotlin.arrayOf' call
|
|
6707
6703
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6708
6704
|
// Inline function 'kotlin.js.asDynamic' call
|
|
6709
|
-
tmp.
|
|
6705
|
+
tmp.v2z_1 = [Companion_getInstance_24().t16(), null, null, null];
|
|
6710
6706
|
}
|
|
6711
6707
|
protoOf(Companion_23).t16 = function () {
|
|
6712
6708
|
return $serializer_getInstance_9();
|
|
@@ -6724,19 +6720,19 @@
|
|
|
6724
6720
|
tmp0_serialDesc.ku('tag', false);
|
|
6725
6721
|
tmp0_serialDesc.ku('message', false);
|
|
6726
6722
|
tmp0_serialDesc.ku('stackTrace', false);
|
|
6727
|
-
this.
|
|
6723
|
+
this.w2z_1 = tmp0_serialDesc;
|
|
6728
6724
|
}
|
|
6729
6725
|
protoOf($serializer_9).pj = function () {
|
|
6730
|
-
return this.
|
|
6726
|
+
return this.w2z_1;
|
|
6731
6727
|
};
|
|
6732
6728
|
protoOf($serializer_9).zu = function () {
|
|
6733
6729
|
// Inline function 'kotlin.arrayOf' call
|
|
6734
6730
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6735
6731
|
// Inline function 'kotlin.js.asDynamic' call
|
|
6736
|
-
return [Companion_getInstance_25().
|
|
6732
|
+
return [Companion_getInstance_25().v2z_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
6737
6733
|
};
|
|
6738
6734
|
protoOf($serializer_9).rj = function (decoder) {
|
|
6739
|
-
var tmp0_desc = this.
|
|
6735
|
+
var tmp0_desc = this.w2z_1;
|
|
6740
6736
|
var tmp1_flag = true;
|
|
6741
6737
|
var tmp2_index = 0;
|
|
6742
6738
|
var tmp3_bitMask0 = 0;
|
|
@@ -6745,7 +6741,7 @@
|
|
|
6745
6741
|
var tmp6_local2 = null;
|
|
6746
6742
|
var tmp7_local3 = null;
|
|
6747
6743
|
var tmp8_input = decoder.xm(tmp0_desc);
|
|
6748
|
-
var tmp9_cached = Companion_getInstance_25().
|
|
6744
|
+
var tmp9_cached = Companion_getInstance_25().v2z_1;
|
|
6749
6745
|
if (tmp8_input.nn()) {
|
|
6750
6746
|
tmp4_local0 = tmp8_input.jn(tmp0_desc, 0, tmp9_cached[0], tmp4_local0);
|
|
6751
6747
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -6785,10 +6781,10 @@
|
|
|
6785
6781
|
tmp8_input.ym(tmp0_desc);
|
|
6786
6782
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
6787
6783
|
};
|
|
6788
|
-
protoOf($serializer_9).
|
|
6789
|
-
var tmp0_desc = this.
|
|
6784
|
+
protoOf($serializer_9).x2z = function (encoder, value) {
|
|
6785
|
+
var tmp0_desc = this.w2z_1;
|
|
6790
6786
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
6791
|
-
var tmp2_cached = Companion_getInstance_25().
|
|
6787
|
+
var tmp2_cached = Companion_getInstance_25().v2z_1;
|
|
6792
6788
|
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
6793
6789
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
6794
6790
|
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.message);
|
|
@@ -6796,7 +6792,7 @@
|
|
|
6796
6792
|
tmp1_output.ym(tmp0_desc);
|
|
6797
6793
|
};
|
|
6798
6794
|
protoOf($serializer_9).qj = function (encoder, value) {
|
|
6799
|
-
return this.
|
|
6795
|
+
return this.x2z(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
6800
6796
|
};
|
|
6801
6797
|
var $serializer_instance_9;
|
|
6802
6798
|
function $serializer_getInstance_9() {
|
|
@@ -6806,7 +6802,7 @@
|
|
|
6806
6802
|
}
|
|
6807
6803
|
function LoggerOutputDataDto_init_$Init$(seen1, type, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
6808
6804
|
if (!(15 === (15 & seen1))) {
|
|
6809
|
-
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().
|
|
6805
|
+
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().w2z_1);
|
|
6810
6806
|
}
|
|
6811
6807
|
$this.type = type;
|
|
6812
6808
|
$this.tag = tag;
|
|
@@ -6827,13 +6823,13 @@
|
|
|
6827
6823
|
protoOf(LoggerOutputDataDto).k1h = function () {
|
|
6828
6824
|
return this.type;
|
|
6829
6825
|
};
|
|
6830
|
-
protoOf(LoggerOutputDataDto).
|
|
6826
|
+
protoOf(LoggerOutputDataDto).x2k = function () {
|
|
6831
6827
|
return this.tag;
|
|
6832
6828
|
};
|
|
6833
6829
|
protoOf(LoggerOutputDataDto).q5 = function () {
|
|
6834
6830
|
return this.message;
|
|
6835
6831
|
};
|
|
6836
|
-
protoOf(LoggerOutputDataDto).
|
|
6832
|
+
protoOf(LoggerOutputDataDto).y2z = function () {
|
|
6837
6833
|
return this.stackTrace;
|
|
6838
6834
|
};
|
|
6839
6835
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -6877,10 +6873,10 @@
|
|
|
6877
6873
|
protoOf(LoggerOutputDataDto).qh = function () {
|
|
6878
6874
|
return this.message;
|
|
6879
6875
|
};
|
|
6880
|
-
protoOf(LoggerOutputDataDto).
|
|
6876
|
+
protoOf(LoggerOutputDataDto).p2k = function () {
|
|
6881
6877
|
return this.stackTrace;
|
|
6882
6878
|
};
|
|
6883
|
-
protoOf(LoggerOutputDataDto).
|
|
6879
|
+
protoOf(LoggerOutputDataDto).z2z = function (type, tag, message, stackTrace) {
|
|
6884
6880
|
return new LoggerOutputDataDto(type, tag, message, stackTrace);
|
|
6885
6881
|
};
|
|
6886
6882
|
protoOf(LoggerOutputDataDto).copy = function (type, tag, message, stackTrace, $super) {
|
|
@@ -6888,7 +6884,7 @@
|
|
|
6888
6884
|
tag = tag === VOID ? this.tag : tag;
|
|
6889
6885
|
message = message === VOID ? this.message : message;
|
|
6890
6886
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
6891
|
-
return this.
|
|
6887
|
+
return this.z2z(type, tag, message, stackTrace);
|
|
6892
6888
|
};
|
|
6893
6889
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
6894
6890
|
return 'LoggerOutputDataDto(type=' + this.type + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -6918,17 +6914,17 @@
|
|
|
6918
6914
|
};
|
|
6919
6915
|
function PlatformLogger() {
|
|
6920
6916
|
}
|
|
6921
|
-
protoOf(PlatformLogger).
|
|
6917
|
+
protoOf(PlatformLogger).b2z = function (tag, msg) {
|
|
6922
6918
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
6923
6919
|
};
|
|
6924
|
-
protoOf(PlatformLogger).
|
|
6920
|
+
protoOf(PlatformLogger).c2z = function (tag, msg, exception) {
|
|
6925
6921
|
if (!(exception == null)) {
|
|
6926
6922
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
6927
6923
|
} else {
|
|
6928
6924
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
6929
6925
|
}
|
|
6930
6926
|
};
|
|
6931
|
-
protoOf(PlatformLogger).
|
|
6927
|
+
protoOf(PlatformLogger).d2z = function (tag, msg) {
|
|
6932
6928
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
6933
6929
|
};
|
|
6934
6930
|
//region block: post-declaration
|
|
@@ -6941,85 +6937,85 @@
|
|
|
6941
6937
|
protoOf($serializer_3).av = typeParametersSerializers;
|
|
6942
6938
|
protoOf($serializer_4).av = typeParametersSerializers;
|
|
6943
6939
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
6944
|
-
return this.
|
|
6940
|
+
return this.w2k();
|
|
6945
6941
|
});
|
|
6946
6942
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
6947
|
-
return this.
|
|
6943
|
+
return this.w2k();
|
|
6948
6944
|
});
|
|
6949
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
6950
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
6951
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
6952
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
6953
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
6954
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
6955
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
6956
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
6957
|
-
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).
|
|
6958
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
6945
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).f2n);
|
|
6946
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).g2n);
|
|
6947
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).h2n);
|
|
6948
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).i2n);
|
|
6949
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).j2n);
|
|
6950
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).k2n);
|
|
6951
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).l2n);
|
|
6952
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).m2n);
|
|
6953
|
+
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).n2n);
|
|
6954
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).o2n);
|
|
6959
6955
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).g9);
|
|
6960
6956
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).h9);
|
|
6961
6957
|
defineProp(protoOf(PlayerLuckyFactor), 'playerId', function () {
|
|
6962
|
-
return this.
|
|
6958
|
+
return this.w2k();
|
|
6963
6959
|
});
|
|
6964
|
-
defineProp(protoOf(RulesSetType), 'isCustom', protoOf(RulesSetType).
|
|
6960
|
+
defineProp(protoOf(RulesSetType), 'isCustom', protoOf(RulesSetType).n2p);
|
|
6965
6961
|
defineProp(protoOf(RulesSetType), 'name', protoOf(RulesSetType).g9);
|
|
6966
6962
|
defineProp(protoOf(RulesSetType), 'ordinal', protoOf(RulesSetType).h9);
|
|
6967
|
-
protoOf(BufferedActionDto).
|
|
6963
|
+
protoOf(BufferedActionDto).p2p = get_actionTag;
|
|
6968
6964
|
defineProp(protoOf(BufferedActionDto), 'actionTag', function () {
|
|
6969
|
-
return this.
|
|
6965
|
+
return this.p2p();
|
|
6970
6966
|
});
|
|
6971
6967
|
protoOf($serializer_5).av = typeParametersSerializers;
|
|
6972
6968
|
protoOf($serializer_6).av = typeParametersSerializers;
|
|
6973
6969
|
protoOf($serializer_7).av = typeParametersSerializers;
|
|
6974
6970
|
protoOf($serializer_8).av = typeParametersSerializers;
|
|
6975
|
-
protoOf(AsyncProviderImpl).
|
|
6976
|
-
protoOf(AsyncProviderImpl).
|
|
6977
|
-
protoOf(AsyncProviderImpl).
|
|
6978
|
-
protoOf(AsyncProviderImpl).
|
|
6979
|
-
protoOf(TimerAction).
|
|
6971
|
+
protoOf(AsyncProviderImpl).u2r = launchMain$default;
|
|
6972
|
+
protoOf(AsyncProviderImpl).q2r = launchDefault$default;
|
|
6973
|
+
protoOf(AsyncProviderImpl).o2r = launchUnconfinedWithLock$default;
|
|
6974
|
+
protoOf(AsyncProviderImpl).s2r = launchDefaultWithLock$default;
|
|
6975
|
+
protoOf(TimerAction).p2p = get_actionTag;
|
|
6980
6976
|
defineProp(protoOf(TimerAction), 'actionTag', function () {
|
|
6981
|
-
return this.
|
|
6977
|
+
return this.p2p();
|
|
6982
6978
|
});
|
|
6983
6979
|
defineProp(protoOf(StartTimerAction), 'actionTag', function () {
|
|
6984
|
-
return this.
|
|
6980
|
+
return this.p2p();
|
|
6985
6981
|
});
|
|
6986
6982
|
defineProp(protoOf(TimerTickAction), 'actionTag', function () {
|
|
6987
|
-
return this.
|
|
6983
|
+
return this.p2p();
|
|
6988
6984
|
});
|
|
6989
6985
|
protoOf(StopTimerAction).notValidateWhenFinishing = notValidateWhenFinishing;
|
|
6990
6986
|
protoOf(StopTimerAction).notValidateWhenFinished = notValidateWhenFinished;
|
|
6991
6987
|
defineProp(protoOf(StopTimerAction), 'actionTag', function () {
|
|
6992
|
-
return this.
|
|
6988
|
+
return this.p2p();
|
|
6993
6989
|
});
|
|
6994
6990
|
defineProp(protoOf(createStore$2), 'store', function () {
|
|
6995
|
-
return this.
|
|
6991
|
+
return this.p2y();
|
|
6996
6992
|
});
|
|
6997
6993
|
defineProp(protoOf(createStore$2), 'state', function () {
|
|
6998
6994
|
return this.i1r();
|
|
6999
6995
|
});
|
|
7000
6996
|
defineProp(protoOf(createStore$2), 'dispatch', function () {
|
|
7001
|
-
return this.
|
|
6997
|
+
return this.r2y();
|
|
7002
6998
|
}, function (value) {
|
|
7003
|
-
this.
|
|
6999
|
+
this.q2y(value);
|
|
7004
7000
|
});
|
|
7005
7001
|
defineProp(protoOf(createStore$2), 'replaceReducer', function () {
|
|
7006
|
-
return this.
|
|
7002
|
+
return this.s2y();
|
|
7007
7003
|
});
|
|
7008
7004
|
defineProp(protoOf(createStore$2), 'observe', function () {
|
|
7009
|
-
return this.
|
|
7005
|
+
return this.t2y();
|
|
7010
7006
|
});
|
|
7011
|
-
protoOf(ActionTypes).
|
|
7007
|
+
protoOf(ActionTypes).p2p = get_actionTag;
|
|
7012
7008
|
defineProp(protoOf(ActionTypes), 'actionTag', function () {
|
|
7013
|
-
return this.
|
|
7009
|
+
return this.p2p();
|
|
7014
7010
|
});
|
|
7015
7011
|
defineProp(protoOf(INIT), 'actionTag', function () {
|
|
7016
|
-
return this.
|
|
7012
|
+
return this.p2p();
|
|
7017
7013
|
});
|
|
7018
7014
|
defineProp(protoOf(REPLACE), 'actionTag', function () {
|
|
7019
|
-
return this.
|
|
7015
|
+
return this.p2p();
|
|
7020
7016
|
});
|
|
7021
|
-
protoOf(middleware$1).
|
|
7022
|
-
protoOf(combineReducers$1).
|
|
7017
|
+
protoOf(middleware$1).d2v = canHandle;
|
|
7018
|
+
protoOf(combineReducers$1).d2v = canHandle_0;
|
|
7023
7019
|
protoOf(CombinedGameLogger).d = d;
|
|
7024
7020
|
protoOf(CombinedGameLogger).e = e;
|
|
7025
7021
|
protoOf(CombinedGameLogger).w = w;
|
|
@@ -7027,9 +7023,9 @@
|
|
|
7027
7023
|
protoOf(PlatformGameLogger).e = e;
|
|
7028
7024
|
protoOf(PlatformGameLogger).w = w;
|
|
7029
7025
|
defineProp(protoOf(PlatformGameLogger), 'enabled', function () {
|
|
7030
|
-
return this.
|
|
7026
|
+
return this.q2z();
|
|
7031
7027
|
}, function (value) {
|
|
7032
|
-
this.
|
|
7028
|
+
this.p2z(value);
|
|
7033
7029
|
});
|
|
7034
7030
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).g9);
|
|
7035
7031
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).h9);
|
|
@@ -7318,41 +7314,42 @@
|
|
|
7318
7314
|
_.$_$.q3 = RulesSetType_custom_getInstance;
|
|
7319
7315
|
_.$_$.r3 = RulesSetType_debertzCommon_getInstance;
|
|
7320
7316
|
_.$_$.s3 = RulesSetType_debertzKharkiv_getInstance;
|
|
7321
|
-
_.$_$.t3 =
|
|
7322
|
-
_.$_$.u3 =
|
|
7323
|
-
_.$_$.v3 =
|
|
7324
|
-
_.$_$.w3 =
|
|
7325
|
-
_.$_$.x3 =
|
|
7326
|
-
_.$_$.y3 =
|
|
7327
|
-
_.$_$.z3 =
|
|
7328
|
-
_.$_$.a4 =
|
|
7329
|
-
_.$_$.b4 =
|
|
7330
|
-
_.$_$.c4 =
|
|
7331
|
-
_.$_$.d4 =
|
|
7332
|
-
_.$_$.e4 =
|
|
7333
|
-
_.$_$.f4 =
|
|
7334
|
-
_.$_$.g4 =
|
|
7335
|
-
_.$_$.h4 =
|
|
7336
|
-
_.$_$.i4 =
|
|
7337
|
-
_.$_$.j4 =
|
|
7338
|
-
_.$_$.k4 =
|
|
7339
|
-
_.$_$.l4 =
|
|
7340
|
-
_.$_$.m4 =
|
|
7341
|
-
_.$_$.n4 =
|
|
7342
|
-
_.$_$.o4 =
|
|
7343
|
-
_.$_$.p4 = $
|
|
7344
|
-
_.$_$.q4 = $
|
|
7345
|
-
_.$_$.r4 =
|
|
7346
|
-
_.$_$.s4 =
|
|
7347
|
-
_.$_$.t4 =
|
|
7348
|
-
_.$_$.u4 =
|
|
7349
|
-
_.$_$.v4 =
|
|
7350
|
-
_.$_$.w4 =
|
|
7351
|
-
_.$_$.x4 =
|
|
7352
|
-
_.$_$.y4 =
|
|
7353
|
-
_.$_$.z4 =
|
|
7354
|
-
_.$_$.a5 =
|
|
7355
|
-
_.$_$.b5 =
|
|
7317
|
+
_.$_$.t3 = RulesSetType_debertzSaltivka_getInstance;
|
|
7318
|
+
_.$_$.u3 = RulesSetType_klabor_getInstance;
|
|
7319
|
+
_.$_$.v3 = CardName_ACE_getInstance;
|
|
7320
|
+
_.$_$.w3 = CardName_DAME_getInstance;
|
|
7321
|
+
_.$_$.x3 = CardName_EIGHT_getInstance;
|
|
7322
|
+
_.$_$.y3 = CardName_JACK_getInstance;
|
|
7323
|
+
_.$_$.z3 = CardName_KING_getInstance;
|
|
7324
|
+
_.$_$.a4 = CardName_NINE_getInstance;
|
|
7325
|
+
_.$_$.b4 = CardName_SEVEN_getInstance;
|
|
7326
|
+
_.$_$.c4 = CardName_TEN_getInstance;
|
|
7327
|
+
_.$_$.d4 = TimerType_DELAY_getInstance;
|
|
7328
|
+
_.$_$.e4 = LogType_DEBUG_getInstance;
|
|
7329
|
+
_.$_$.f4 = LogType_ERROR_getInstance;
|
|
7330
|
+
_.$_$.g4 = LogType_WARN_getInstance;
|
|
7331
|
+
_.$_$.h4 = d;
|
|
7332
|
+
_.$_$.i4 = e;
|
|
7333
|
+
_.$_$.j4 = w;
|
|
7334
|
+
_.$_$.k4 = BufferedActionDto_init_$Init$;
|
|
7335
|
+
_.$_$.l4 = Companion_instance_8;
|
|
7336
|
+
_.$_$.m4 = Companion_getInstance_11;
|
|
7337
|
+
_.$_$.n4 = Companion_instance_11;
|
|
7338
|
+
_.$_$.o4 = Companion_getInstance_12;
|
|
7339
|
+
_.$_$.p4 = $serializer_getInstance_5;
|
|
7340
|
+
_.$_$.q4 = $serializer_getInstance_7;
|
|
7341
|
+
_.$_$.r4 = $serializer_getInstance_8;
|
|
7342
|
+
_.$_$.s4 = CardIndexComparator_instance;
|
|
7343
|
+
_.$_$.t4 = CardNumberComparator_instance;
|
|
7344
|
+
_.$_$.u4 = Companion_instance_18;
|
|
7345
|
+
_.$_$.v4 = Companion_getInstance_22;
|
|
7346
|
+
_.$_$.w4 = Companion_getInstance_2;
|
|
7347
|
+
_.$_$.x4 = ProcessingReason_getInstance;
|
|
7348
|
+
_.$_$.y4 = RestartGameReason_getInstance;
|
|
7349
|
+
_.$_$.z4 = Companion_getInstance_3;
|
|
7350
|
+
_.$_$.a5 = Companion_instance_21;
|
|
7351
|
+
_.$_$.b5 = Logger_getInstance;
|
|
7352
|
+
_.$_$.c5 = Toggles_instance;
|
|
7356
7353
|
//endregion
|
|
7357
7354
|
return _;
|
|
7358
7355
|
}));
|