game_client_logic_deb 1.8.71 → 1.8.72
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 +875 -871
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +7590 -7590
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +6 -6
- package/Logic_Debertz-game_client.js +2423 -2423
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +7 -7
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/secure-random-secure-random.js +15 -0
- package/secure-random-secure-random.js.map +1 -0
package/Logic_Debertz-core.js
CHANGED
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
setMetadataFor(PlayerIdContract, 'PlayerIdContract', interfaceMeta);
|
|
186
186
|
setMetadataFor(GameUserInfo, 'GameUserInfo', classMeta, VOID, [PlayerIdContract]);
|
|
187
187
|
function get_amountOfCards() {
|
|
188
|
-
return this.
|
|
188
|
+
return this.f2m().n();
|
|
189
189
|
}
|
|
190
190
|
setMetadataFor(Player, 'Player', interfaceMeta, VOID, [PlayerIdContract]);
|
|
191
191
|
setMetadataFor(PlayerIndex, 'PlayerIndex', classMeta, VOID, [PlayerIdContract]);
|
|
@@ -232,20 +232,20 @@
|
|
|
232
232
|
setMetadataFor(Companion_21, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
233
233
|
setMetadataFor(Suit, 'Suit', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_23});
|
|
234
234
|
function launchUnconfinedWithLock$default(context, block, $super) {
|
|
235
|
-
context = context === VOID ? this.
|
|
236
|
-
return $super === VOID ? this.
|
|
235
|
+
context = context === VOID ? this.q2r() : context;
|
|
236
|
+
return $super === VOID ? this.r2r(context, block) : $super.r2r.call(this, context, block);
|
|
237
237
|
}
|
|
238
238
|
function launchDefault$default(context, block, $super) {
|
|
239
|
-
context = context === VOID ? this.
|
|
240
|
-
return $super === VOID ? this.
|
|
239
|
+
context = context === VOID ? this.q2r() : context;
|
|
240
|
+
return $super === VOID ? this.t2r(context, block) : $super.t2r.call(this, context, block);
|
|
241
241
|
}
|
|
242
242
|
function launchDefaultWithLock$default(context, block, $super) {
|
|
243
|
-
context = context === VOID ? this.
|
|
244
|
-
return $super === VOID ? this.
|
|
243
|
+
context = context === VOID ? this.q2r() : context;
|
|
244
|
+
return $super === VOID ? this.v2r(context, block) : $super.v2r.call(this, context, block);
|
|
245
245
|
}
|
|
246
246
|
function launchMain$default(context, block, $super) {
|
|
247
|
-
context = context === VOID ? this.
|
|
248
|
-
return $super === VOID ? this.
|
|
247
|
+
context = context === VOID ? this.q2r() : context;
|
|
248
|
+
return $super === VOID ? this.x2r(context, block) : $super.x2r.call(this, context, block);
|
|
249
249
|
}
|
|
250
250
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta);
|
|
251
251
|
setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element]);
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
return false;
|
|
276
276
|
}
|
|
277
277
|
function get_isAutoStartTimer() {
|
|
278
|
-
return !this.
|
|
278
|
+
return !this.x2u() ? !this.y2u() : false;
|
|
279
279
|
}
|
|
280
280
|
setMetadataFor(ExpectantAction, 'ExpectantAction', interfaceMeta, VOID, [BufferedAction]);
|
|
281
281
|
setMetadataFor(TimerAction, 'TimerAction', classMeta, VOID, [Action]);
|
|
@@ -322,19 +322,19 @@
|
|
|
322
322
|
function d(tag, message, payload, $super) {
|
|
323
323
|
tag = tag === VOID ? null : tag;
|
|
324
324
|
payload = payload === VOID ? null : payload;
|
|
325
|
-
return this.
|
|
325
|
+
return this.r2z(tag, message, payload);
|
|
326
326
|
}
|
|
327
327
|
function e(tag, message, exception, payload, $super) {
|
|
328
328
|
tag = tag === VOID ? null : tag;
|
|
329
329
|
message = message === VOID ? null : message;
|
|
330
330
|
exception = exception === VOID ? null : exception;
|
|
331
331
|
payload = payload === VOID ? null : payload;
|
|
332
|
-
return this.
|
|
332
|
+
return this.s2z(tag, message, exception, payload);
|
|
333
333
|
}
|
|
334
334
|
function w(tag, message, payload, $super) {
|
|
335
335
|
tag = tag === VOID ? null : tag;
|
|
336
336
|
payload = payload === VOID ? null : payload;
|
|
337
|
-
return this.
|
|
337
|
+
return this.t2z(tag, message, payload);
|
|
338
338
|
}
|
|
339
339
|
setMetadataFor(LoggerOutput, 'LoggerOutput', interfaceMeta);
|
|
340
340
|
setMetadataFor(GameLogger, 'GameLogger', interfaceMeta, VOID, [LoggerOutput]);
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
tmp = types;
|
|
355
355
|
}
|
|
356
356
|
types = tmp;
|
|
357
|
-
return this.
|
|
357
|
+
return this.a30(types);
|
|
358
358
|
}
|
|
359
359
|
setMetadataFor(ObservableLoggerOutput, 'ObservableLoggerOutput', interfaceMeta, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
360
360
|
setMetadataFor(Companion_24, 'Companion', objectMeta);
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
setMetadataFor(PlatformLogger, 'PlatformLogger', classMeta, VOID, VOID, PlatformLogger);
|
|
364
364
|
//endregion
|
|
365
365
|
function GameEngineConfig() {
|
|
366
|
-
this.version = '1.8.
|
|
366
|
+
this.version = '1.8.72';
|
|
367
367
|
}
|
|
368
368
|
protoOf(GameEngineConfig).g2k = function () {
|
|
369
369
|
return this.version;
|
|
@@ -524,8 +524,12 @@
|
|
|
524
524
|
}
|
|
525
525
|
function Companion_1() {
|
|
526
526
|
}
|
|
527
|
-
protoOf(Companion_1).
|
|
528
|
-
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath,
|
|
527
|
+
protoOf(Companion_1).n2k = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat) {
|
|
528
|
+
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath, fileNameFormat);
|
|
529
|
+
};
|
|
530
|
+
protoOf(Companion_1).getClientEngineTestMode = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat, $super) {
|
|
531
|
+
fileNameFormat = fileNameFormat === VOID ? 'user_[uid].txt' : fileNameFormat;
|
|
532
|
+
return this.n2k(fileLogsEnabled, logsDirectoryPath, fileNameFormat);
|
|
529
533
|
};
|
|
530
534
|
protoOf(Companion_1).formatter = function (segment, gameId, roomId, userId) {
|
|
531
535
|
return replace(replace(replace(segment, '[gid]', gameId), '[rid]', roomId), '[uid]', userId);
|
|
@@ -544,19 +548,19 @@
|
|
|
544
548
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
545
549
|
this.fileNameFormat = fileNameFormat;
|
|
546
550
|
}
|
|
547
|
-
protoOf(CoreConfig).
|
|
551
|
+
protoOf(CoreConfig).o2k = function () {
|
|
548
552
|
return this.fileLogsEnabled;
|
|
549
553
|
};
|
|
550
|
-
protoOf(CoreConfig).
|
|
554
|
+
protoOf(CoreConfig).p2k = function () {
|
|
551
555
|
return this.deleteFilesOnClear;
|
|
552
556
|
};
|
|
553
|
-
protoOf(CoreConfig).
|
|
557
|
+
protoOf(CoreConfig).q2k = function () {
|
|
554
558
|
return this.logsDirectoryPath;
|
|
555
559
|
};
|
|
556
|
-
protoOf(CoreConfig).
|
|
560
|
+
protoOf(CoreConfig).r2k = function () {
|
|
557
561
|
return this.fileNameFormat;
|
|
558
562
|
};
|
|
559
|
-
protoOf(CoreConfig).
|
|
563
|
+
protoOf(CoreConfig).s2k = function () {
|
|
560
564
|
var tmp0_elvis_lhs = this.logsDirectoryPath;
|
|
561
565
|
return tmp0_elvis_lhs == null ? get_SystemTemporaryDirectory().toString() : tmp0_elvis_lhs;
|
|
562
566
|
};
|
|
@@ -569,10 +573,10 @@
|
|
|
569
573
|
protoOf(CoreConfig).qh = function () {
|
|
570
574
|
return this.logsDirectoryPath;
|
|
571
575
|
};
|
|
572
|
-
protoOf(CoreConfig).
|
|
576
|
+
protoOf(CoreConfig).t2k = function () {
|
|
573
577
|
return this.fileNameFormat;
|
|
574
578
|
};
|
|
575
|
-
protoOf(CoreConfig).
|
|
579
|
+
protoOf(CoreConfig).u2k = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
576
580
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
577
581
|
};
|
|
578
582
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -580,7 +584,7 @@
|
|
|
580
584
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
581
585
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
582
586
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
583
|
-
return this.
|
|
587
|
+
return this.u2k(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
584
588
|
};
|
|
585
589
|
protoOf(CoreConfig).toString = function () {
|
|
586
590
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -609,7 +613,7 @@
|
|
|
609
613
|
return true;
|
|
610
614
|
};
|
|
611
615
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
612
|
-
return $this.
|
|
616
|
+
return $this.v2k_1.o2();
|
|
613
617
|
}
|
|
614
618
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
615
619
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -623,7 +627,7 @@
|
|
|
623
627
|
RestartGameReason_instance = this;
|
|
624
628
|
var tmp = this;
|
|
625
629
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
626
|
-
tmp.
|
|
630
|
+
tmp.v2k_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
627
631
|
}
|
|
628
632
|
protoOf(RestartGameReason).toString = function () {
|
|
629
633
|
return 'RestartGameReason';
|
|
@@ -641,7 +645,7 @@
|
|
|
641
645
|
return RestartGameReason_instance;
|
|
642
646
|
}
|
|
643
647
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
644
|
-
return $this.
|
|
648
|
+
return $this.w2k_1.o2();
|
|
645
649
|
}
|
|
646
650
|
function TerminationGameReason$Companion$_anonymous__6itbqj() {
|
|
647
651
|
var tmp = getKClass(TerminationGameReason);
|
|
@@ -679,7 +683,7 @@
|
|
|
679
683
|
Companion_instance_2 = this;
|
|
680
684
|
var tmp = this;
|
|
681
685
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
682
|
-
tmp.
|
|
686
|
+
tmp.w2k_1 = lazy(tmp_0, TerminationGameReason$Companion$_anonymous__6itbqj);
|
|
683
687
|
}
|
|
684
688
|
protoOf(Companion_2).v16 = function () {
|
|
685
689
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
@@ -713,10 +717,10 @@
|
|
|
713
717
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
714
718
|
tmp0_serialDesc.mu('playerId', false);
|
|
715
719
|
tmp0_serialDesc.mu('tag', false);
|
|
716
|
-
this.
|
|
720
|
+
this.x2k_1 = tmp0_serialDesc;
|
|
717
721
|
}
|
|
718
722
|
protoOf($serializer_0).pj = function () {
|
|
719
|
-
return this.
|
|
723
|
+
return this.x2k_1;
|
|
720
724
|
};
|
|
721
725
|
protoOf($serializer_0).bv = function () {
|
|
722
726
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -725,7 +729,7 @@
|
|
|
725
729
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
726
730
|
};
|
|
727
731
|
protoOf($serializer_0).rj = function (decoder) {
|
|
728
|
-
var tmp0_desc = this.
|
|
732
|
+
var tmp0_desc = this.x2k_1;
|
|
729
733
|
var tmp1_flag = true;
|
|
730
734
|
var tmp2_index = 0;
|
|
731
735
|
var tmp3_bitMask0 = 0;
|
|
@@ -759,15 +763,15 @@
|
|
|
759
763
|
tmp6_input.ym(tmp0_desc);
|
|
760
764
|
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
761
765
|
};
|
|
762
|
-
protoOf($serializer_0).
|
|
763
|
-
var tmp0_desc = this.
|
|
766
|
+
protoOf($serializer_0).y2k = function (encoder, value) {
|
|
767
|
+
var tmp0_desc = this.x2k_1;
|
|
764
768
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
765
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
769
|
+
tmp1_output.mo(tmp0_desc, 0, value.z2k_1);
|
|
766
770
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
767
771
|
tmp1_output.ym(tmp0_desc);
|
|
768
772
|
};
|
|
769
773
|
protoOf($serializer_0).qj = function (encoder, value) {
|
|
770
|
-
return this.
|
|
774
|
+
return this.y2k(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
771
775
|
};
|
|
772
776
|
var $serializer_instance_0;
|
|
773
777
|
function $serializer_getInstance_0() {
|
|
@@ -777,10 +781,10 @@
|
|
|
777
781
|
}
|
|
778
782
|
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
779
783
|
if (!(3 === (3 & seen1))) {
|
|
780
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_0().
|
|
784
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_0().x2k_1);
|
|
781
785
|
}
|
|
782
786
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
783
|
-
$this.
|
|
787
|
+
$this.z2k_1 = playerId;
|
|
784
788
|
$this.tag = tag;
|
|
785
789
|
return $this;
|
|
786
790
|
}
|
|
@@ -789,37 +793,37 @@
|
|
|
789
793
|
}
|
|
790
794
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
791
795
|
TerminationGameReason.call(this);
|
|
792
|
-
this.
|
|
796
|
+
this.z2k_1 = playerId;
|
|
793
797
|
this.tag = tag;
|
|
794
798
|
}
|
|
795
|
-
protoOf(PlayerLostConnectionReason).z2k = function () {
|
|
796
|
-
return this.y2k_1;
|
|
797
|
-
};
|
|
798
799
|
protoOf(PlayerLostConnectionReason).a2l = function () {
|
|
799
|
-
return this.
|
|
800
|
+
return this.z2k_1;
|
|
800
801
|
};
|
|
801
802
|
protoOf(PlayerLostConnectionReason).b2l = function () {
|
|
803
|
+
return this.tag;
|
|
804
|
+
};
|
|
805
|
+
protoOf(PlayerLostConnectionReason).c2l = function () {
|
|
802
806
|
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
803
807
|
};
|
|
804
808
|
protoOf(PlayerLostConnectionReason).cd = function () {
|
|
805
|
-
return this.
|
|
809
|
+
return this.z2k_1;
|
|
806
810
|
};
|
|
807
811
|
protoOf(PlayerLostConnectionReason).dd = function () {
|
|
808
812
|
return this.tag;
|
|
809
813
|
};
|
|
810
|
-
protoOf(PlayerLostConnectionReason).
|
|
814
|
+
protoOf(PlayerLostConnectionReason).d2l = function (playerId, tag) {
|
|
811
815
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
812
816
|
};
|
|
813
817
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
814
|
-
playerId = playerId === VOID ? this.
|
|
818
|
+
playerId = playerId === VOID ? this.z2k_1 : playerId;
|
|
815
819
|
tag = tag === VOID ? this.tag : tag;
|
|
816
|
-
return this.
|
|
820
|
+
return this.d2l(playerId, tag);
|
|
817
821
|
};
|
|
818
822
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
819
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
823
|
+
return 'PlayerLostConnectionReason(playerId=' + this.z2k_1 + ', tag=' + this.tag + ')';
|
|
820
824
|
};
|
|
821
825
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
822
|
-
var result = getStringHashCode(this.
|
|
826
|
+
var result = getStringHashCode(this.z2k_1);
|
|
823
827
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
824
828
|
return result;
|
|
825
829
|
};
|
|
@@ -829,7 +833,7 @@
|
|
|
829
833
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
830
834
|
return false;
|
|
831
835
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
832
|
-
if (!(this.
|
|
836
|
+
if (!(this.z2k_1 === tmp0_other_with_cast.z2k_1))
|
|
833
837
|
return false;
|
|
834
838
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
835
839
|
return false;
|
|
@@ -849,10 +853,10 @@
|
|
|
849
853
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
850
854
|
tmp0_serialDesc.mu('playerId', false);
|
|
851
855
|
tmp0_serialDesc.mu('tag', false);
|
|
852
|
-
this.
|
|
856
|
+
this.e2l_1 = tmp0_serialDesc;
|
|
853
857
|
}
|
|
854
858
|
protoOf($serializer_1).pj = function () {
|
|
855
|
-
return this.
|
|
859
|
+
return this.e2l_1;
|
|
856
860
|
};
|
|
857
861
|
protoOf($serializer_1).bv = function () {
|
|
858
862
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -861,7 +865,7 @@
|
|
|
861
865
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
862
866
|
};
|
|
863
867
|
protoOf($serializer_1).rj = function (decoder) {
|
|
864
|
-
var tmp0_desc = this.
|
|
868
|
+
var tmp0_desc = this.e2l_1;
|
|
865
869
|
var tmp1_flag = true;
|
|
866
870
|
var tmp2_index = 0;
|
|
867
871
|
var tmp3_bitMask0 = 0;
|
|
@@ -895,15 +899,15 @@
|
|
|
895
899
|
tmp6_input.ym(tmp0_desc);
|
|
896
900
|
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
897
901
|
};
|
|
898
|
-
protoOf($serializer_1).
|
|
899
|
-
var tmp0_desc = this.
|
|
902
|
+
protoOf($serializer_1).f2l = function (encoder, value) {
|
|
903
|
+
var tmp0_desc = this.e2l_1;
|
|
900
904
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
901
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
905
|
+
tmp1_output.mo(tmp0_desc, 0, value.g2l_1);
|
|
902
906
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
903
907
|
tmp1_output.ym(tmp0_desc);
|
|
904
908
|
};
|
|
905
909
|
protoOf($serializer_1).qj = function (encoder, value) {
|
|
906
|
-
return this.
|
|
910
|
+
return this.f2l(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
907
911
|
};
|
|
908
912
|
var $serializer_instance_1;
|
|
909
913
|
function $serializer_getInstance_1() {
|
|
@@ -913,10 +917,10 @@
|
|
|
913
917
|
}
|
|
914
918
|
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
915
919
|
if (!(3 === (3 & seen1))) {
|
|
916
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().
|
|
920
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().e2l_1);
|
|
917
921
|
}
|
|
918
922
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
919
|
-
$this.
|
|
923
|
+
$this.g2l_1 = playerId;
|
|
920
924
|
$this.tag = tag;
|
|
921
925
|
return $this;
|
|
922
926
|
}
|
|
@@ -925,37 +929,37 @@
|
|
|
925
929
|
}
|
|
926
930
|
function PlayerTimeoutReason(playerId, tag) {
|
|
927
931
|
TerminationGameReason.call(this);
|
|
928
|
-
this.
|
|
932
|
+
this.g2l_1 = playerId;
|
|
929
933
|
this.tag = tag;
|
|
930
934
|
}
|
|
931
|
-
protoOf(PlayerTimeoutReason).z2k = function () {
|
|
932
|
-
return this.f2l_1;
|
|
933
|
-
};
|
|
934
935
|
protoOf(PlayerTimeoutReason).a2l = function () {
|
|
935
|
-
return this.
|
|
936
|
+
return this.g2l_1;
|
|
936
937
|
};
|
|
937
938
|
protoOf(PlayerTimeoutReason).b2l = function () {
|
|
939
|
+
return this.tag;
|
|
940
|
+
};
|
|
941
|
+
protoOf(PlayerTimeoutReason).c2l = function () {
|
|
938
942
|
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
939
943
|
};
|
|
940
944
|
protoOf(PlayerTimeoutReason).cd = function () {
|
|
941
|
-
return this.
|
|
945
|
+
return this.g2l_1;
|
|
942
946
|
};
|
|
943
947
|
protoOf(PlayerTimeoutReason).dd = function () {
|
|
944
948
|
return this.tag;
|
|
945
949
|
};
|
|
946
|
-
protoOf(PlayerTimeoutReason).
|
|
950
|
+
protoOf(PlayerTimeoutReason).d2l = function (playerId, tag) {
|
|
947
951
|
return new PlayerTimeoutReason(playerId, tag);
|
|
948
952
|
};
|
|
949
953
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
950
|
-
playerId = playerId === VOID ? this.
|
|
954
|
+
playerId = playerId === VOID ? this.g2l_1 : playerId;
|
|
951
955
|
tag = tag === VOID ? this.tag : tag;
|
|
952
|
-
return this.
|
|
956
|
+
return this.d2l(playerId, tag);
|
|
953
957
|
};
|
|
954
958
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
955
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
959
|
+
return 'PlayerTimeoutReason(playerId=' + this.g2l_1 + ', tag=' + this.tag + ')';
|
|
956
960
|
};
|
|
957
961
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
958
|
-
var result = getStringHashCode(this.
|
|
962
|
+
var result = getStringHashCode(this.g2l_1);
|
|
959
963
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
960
964
|
return result;
|
|
961
965
|
};
|
|
@@ -965,7 +969,7 @@
|
|
|
965
969
|
if (!(other instanceof PlayerTimeoutReason))
|
|
966
970
|
return false;
|
|
967
971
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
968
|
-
if (!(this.
|
|
972
|
+
if (!(this.g2l_1 === tmp0_other_with_cast.g2l_1))
|
|
969
973
|
return false;
|
|
970
974
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
971
975
|
return false;
|
|
@@ -984,10 +988,10 @@
|
|
|
984
988
|
$serializer_instance_2 = this;
|
|
985
989
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
986
990
|
tmp0_serialDesc.mu('playerId', false);
|
|
987
|
-
this.
|
|
991
|
+
this.h2l_1 = tmp0_serialDesc;
|
|
988
992
|
}
|
|
989
993
|
protoOf($serializer_2).pj = function () {
|
|
990
|
-
return this.
|
|
994
|
+
return this.h2l_1;
|
|
991
995
|
};
|
|
992
996
|
protoOf($serializer_2).bv = function () {
|
|
993
997
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -996,7 +1000,7 @@
|
|
|
996
1000
|
return [StringSerializer_getInstance()];
|
|
997
1001
|
};
|
|
998
1002
|
protoOf($serializer_2).rj = function (decoder) {
|
|
999
|
-
var tmp0_desc = this.
|
|
1003
|
+
var tmp0_desc = this.h2l_1;
|
|
1000
1004
|
var tmp1_flag = true;
|
|
1001
1005
|
var tmp2_index = 0;
|
|
1002
1006
|
var tmp3_bitMask0 = 0;
|
|
@@ -1023,14 +1027,14 @@
|
|
|
1023
1027
|
tmp5_input.ym(tmp0_desc);
|
|
1024
1028
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1025
1029
|
};
|
|
1026
|
-
protoOf($serializer_2).
|
|
1027
|
-
var tmp0_desc = this.
|
|
1030
|
+
protoOf($serializer_2).i2l = function (encoder, value) {
|
|
1031
|
+
var tmp0_desc = this.h2l_1;
|
|
1028
1032
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1029
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
1033
|
+
tmp1_output.mo(tmp0_desc, 0, value.j2l_1);
|
|
1030
1034
|
tmp1_output.ym(tmp0_desc);
|
|
1031
1035
|
};
|
|
1032
1036
|
protoOf($serializer_2).qj = function (encoder, value) {
|
|
1033
|
-
return this.
|
|
1037
|
+
return this.i2l(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
1034
1038
|
};
|
|
1035
1039
|
var $serializer_instance_2;
|
|
1036
1040
|
function $serializer_getInstance_2() {
|
|
@@ -1040,10 +1044,10 @@
|
|
|
1040
1044
|
}
|
|
1041
1045
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
1042
1046
|
if (!(1 === (1 & seen1))) {
|
|
1043
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().
|
|
1047
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().h2l_1);
|
|
1044
1048
|
}
|
|
1045
1049
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1046
|
-
$this.
|
|
1050
|
+
$this.j2l_1 = playerId;
|
|
1047
1051
|
return $this;
|
|
1048
1052
|
}
|
|
1049
1053
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -1051,29 +1055,29 @@
|
|
|
1051
1055
|
}
|
|
1052
1056
|
function PlayerExitReason(playerId) {
|
|
1053
1057
|
TerminationGameReason.call(this);
|
|
1054
|
-
this.
|
|
1058
|
+
this.j2l_1 = playerId;
|
|
1055
1059
|
}
|
|
1056
|
-
protoOf(PlayerExitReason).
|
|
1057
|
-
return this.
|
|
1060
|
+
protoOf(PlayerExitReason).a2l = function () {
|
|
1061
|
+
return this.j2l_1;
|
|
1058
1062
|
};
|
|
1059
|
-
protoOf(PlayerExitReason).
|
|
1063
|
+
protoOf(PlayerExitReason).c2l = function () {
|
|
1060
1064
|
return PlayerConnectionState_LEFT_getInstance();
|
|
1061
1065
|
};
|
|
1062
1066
|
protoOf(PlayerExitReason).cd = function () {
|
|
1063
|
-
return this.
|
|
1067
|
+
return this.j2l_1;
|
|
1064
1068
|
};
|
|
1065
|
-
protoOf(PlayerExitReason).
|
|
1069
|
+
protoOf(PlayerExitReason).k2l = function (playerId) {
|
|
1066
1070
|
return new PlayerExitReason(playerId);
|
|
1067
1071
|
};
|
|
1068
1072
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
1069
|
-
playerId = playerId === VOID ? this.
|
|
1070
|
-
return this.
|
|
1073
|
+
playerId = playerId === VOID ? this.j2l_1 : playerId;
|
|
1074
|
+
return this.k2l(playerId);
|
|
1071
1075
|
};
|
|
1072
1076
|
protoOf(PlayerExitReason).toString = function () {
|
|
1073
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
1077
|
+
return 'PlayerExitReason(playerId=' + this.j2l_1 + ')';
|
|
1074
1078
|
};
|
|
1075
1079
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
1076
|
-
return getStringHashCode(this.
|
|
1080
|
+
return getStringHashCode(this.j2l_1);
|
|
1077
1081
|
};
|
|
1078
1082
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
1079
1083
|
if (this === other)
|
|
@@ -1081,12 +1085,12 @@
|
|
|
1081
1085
|
if (!(other instanceof PlayerExitReason))
|
|
1082
1086
|
return false;
|
|
1083
1087
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
1084
|
-
if (!(this.
|
|
1088
|
+
if (!(this.j2l_1 === tmp0_other_with_cast.j2l_1))
|
|
1085
1089
|
return false;
|
|
1086
1090
|
return true;
|
|
1087
1091
|
};
|
|
1088
1092
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
1089
|
-
return $this.
|
|
1093
|
+
return $this.l2l_1.o2();
|
|
1090
1094
|
}
|
|
1091
1095
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
1092
1096
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -1099,7 +1103,7 @@
|
|
|
1099
1103
|
Companion_instance_6 = this;
|
|
1100
1104
|
var tmp = this;
|
|
1101
1105
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1102
|
-
tmp.
|
|
1106
|
+
tmp.l2l_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
1103
1107
|
}
|
|
1104
1108
|
protoOf(Companion_6).v16 = function () {
|
|
1105
1109
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
@@ -1153,7 +1157,7 @@
|
|
|
1153
1157
|
// Inline function 'kotlin.arrayOf' call
|
|
1154
1158
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1155
1159
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1156
|
-
tmp.
|
|
1160
|
+
tmp.o2l_1 = [Companion_getInstance_8().v16()];
|
|
1157
1161
|
}
|
|
1158
1162
|
protoOf(Companion_7).v16 = function () {
|
|
1159
1163
|
return $serializer_getInstance_3();
|
|
@@ -1168,25 +1172,25 @@
|
|
|
1168
1172
|
$serializer_instance_3 = this;
|
|
1169
1173
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1170
1174
|
tmp0_serialDesc.mu('reason', false);
|
|
1171
|
-
this.
|
|
1175
|
+
this.p2l_1 = tmp0_serialDesc;
|
|
1172
1176
|
}
|
|
1173
1177
|
protoOf($serializer_3).pj = function () {
|
|
1174
|
-
return this.
|
|
1178
|
+
return this.p2l_1;
|
|
1175
1179
|
};
|
|
1176
1180
|
protoOf($serializer_3).bv = function () {
|
|
1177
1181
|
// Inline function 'kotlin.arrayOf' call
|
|
1178
1182
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1179
1183
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1180
|
-
return [Companion_getInstance_9().
|
|
1184
|
+
return [Companion_getInstance_9().o2l_1[0]];
|
|
1181
1185
|
};
|
|
1182
1186
|
protoOf($serializer_3).rj = function (decoder) {
|
|
1183
|
-
var tmp0_desc = this.
|
|
1187
|
+
var tmp0_desc = this.p2l_1;
|
|
1184
1188
|
var tmp1_flag = true;
|
|
1185
1189
|
var tmp2_index = 0;
|
|
1186
1190
|
var tmp3_bitMask0 = 0;
|
|
1187
1191
|
var tmp4_local0 = null;
|
|
1188
1192
|
var tmp5_input = decoder.xm(tmp0_desc);
|
|
1189
|
-
var tmp6_cached = Companion_getInstance_9().
|
|
1193
|
+
var tmp6_cached = Companion_getInstance_9().o2l_1;
|
|
1190
1194
|
if (tmp5_input.nn()) {
|
|
1191
1195
|
tmp4_local0 = tmp5_input.jn(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
1192
1196
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -1208,15 +1212,15 @@
|
|
|
1208
1212
|
tmp5_input.ym(tmp0_desc);
|
|
1209
1213
|
return GameFinishedReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1210
1214
|
};
|
|
1211
|
-
protoOf($serializer_3).
|
|
1212
|
-
var tmp0_desc = this.
|
|
1215
|
+
protoOf($serializer_3).q2l = function (encoder, value) {
|
|
1216
|
+
var tmp0_desc = this.p2l_1;
|
|
1213
1217
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1214
|
-
var tmp2_cached = Companion_getInstance_9().
|
|
1218
|
+
var tmp2_cached = Companion_getInstance_9().o2l_1;
|
|
1215
1219
|
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.reason);
|
|
1216
1220
|
tmp1_output.ym(tmp0_desc);
|
|
1217
1221
|
};
|
|
1218
1222
|
protoOf($serializer_3).qj = function (encoder, value) {
|
|
1219
|
-
return this.
|
|
1223
|
+
return this.q2l(encoder, value instanceof GameFinishedReason ? value : THROW_CCE());
|
|
1220
1224
|
};
|
|
1221
1225
|
var $serializer_instance_3;
|
|
1222
1226
|
function $serializer_getInstance_3() {
|
|
@@ -1226,7 +1230,7 @@
|
|
|
1226
1230
|
}
|
|
1227
1231
|
function GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1228
1232
|
if (!(1 === (1 & seen1))) {
|
|
1229
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_3().
|
|
1233
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_3().p2l_1);
|
|
1230
1234
|
}
|
|
1231
1235
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1232
1236
|
$this.reason = reason;
|
|
@@ -1256,18 +1260,18 @@
|
|
|
1256
1260
|
TerminationGameReason.call(this);
|
|
1257
1261
|
this.reason = reason;
|
|
1258
1262
|
}
|
|
1259
|
-
protoOf(GameFinishedReason).
|
|
1263
|
+
protoOf(GameFinishedReason).r2l = function () {
|
|
1260
1264
|
return this.reason;
|
|
1261
1265
|
};
|
|
1262
1266
|
protoOf(GameFinishedReason).cd = function () {
|
|
1263
1267
|
return this.reason;
|
|
1264
1268
|
};
|
|
1265
|
-
protoOf(GameFinishedReason).
|
|
1269
|
+
protoOf(GameFinishedReason).s2l = function (reason) {
|
|
1266
1270
|
return new GameFinishedReason(reason);
|
|
1267
1271
|
};
|
|
1268
1272
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
1269
1273
|
reason = reason === VOID ? this.reason : reason;
|
|
1270
|
-
return this.
|
|
1274
|
+
return this.s2l(reason);
|
|
1271
1275
|
};
|
|
1272
1276
|
protoOf(GameFinishedReason).toString = function () {
|
|
1273
1277
|
return 'GameFinishedReason(reason=' + this.reason + ')';
|
|
@@ -1298,10 +1302,10 @@
|
|
|
1298
1302
|
$serializer_instance_4 = this;
|
|
1299
1303
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1300
1304
|
tmp0_serialDesc.mu('reason', false);
|
|
1301
|
-
this.
|
|
1305
|
+
this.t2l_1 = tmp0_serialDesc;
|
|
1302
1306
|
}
|
|
1303
1307
|
protoOf($serializer_4).pj = function () {
|
|
1304
|
-
return this.
|
|
1308
|
+
return this.t2l_1;
|
|
1305
1309
|
};
|
|
1306
1310
|
protoOf($serializer_4).bv = function () {
|
|
1307
1311
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1310,7 +1314,7 @@
|
|
|
1310
1314
|
return [StringSerializer_getInstance()];
|
|
1311
1315
|
};
|
|
1312
1316
|
protoOf($serializer_4).rj = function (decoder) {
|
|
1313
|
-
var tmp0_desc = this.
|
|
1317
|
+
var tmp0_desc = this.t2l_1;
|
|
1314
1318
|
var tmp1_flag = true;
|
|
1315
1319
|
var tmp2_index = 0;
|
|
1316
1320
|
var tmp3_bitMask0 = 0;
|
|
@@ -1337,14 +1341,14 @@
|
|
|
1337
1341
|
tmp5_input.ym(tmp0_desc);
|
|
1338
1342
|
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1339
1343
|
};
|
|
1340
|
-
protoOf($serializer_4).
|
|
1341
|
-
var tmp0_desc = this.
|
|
1344
|
+
protoOf($serializer_4).u2l = function (encoder, value) {
|
|
1345
|
+
var tmp0_desc = this.t2l_1;
|
|
1342
1346
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1343
1347
|
tmp1_output.mo(tmp0_desc, 0, value.reason);
|
|
1344
1348
|
tmp1_output.ym(tmp0_desc);
|
|
1345
1349
|
};
|
|
1346
1350
|
protoOf($serializer_4).qj = function (encoder, value) {
|
|
1347
|
-
return this.
|
|
1351
|
+
return this.u2l(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
1348
1352
|
};
|
|
1349
1353
|
var $serializer_instance_4;
|
|
1350
1354
|
function $serializer_getInstance_4() {
|
|
@@ -1354,7 +1358,7 @@
|
|
|
1354
1358
|
}
|
|
1355
1359
|
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1356
1360
|
if (!(1 === (1 & seen1))) {
|
|
1357
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_4().
|
|
1361
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_4().t2l_1);
|
|
1358
1362
|
}
|
|
1359
1363
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1360
1364
|
$this.reason = reason;
|
|
@@ -1367,18 +1371,18 @@
|
|
|
1367
1371
|
TerminationGameReason.call(this);
|
|
1368
1372
|
this.reason = reason;
|
|
1369
1373
|
}
|
|
1370
|
-
protoOf(GameErrorReason).
|
|
1374
|
+
protoOf(GameErrorReason).r2l = function () {
|
|
1371
1375
|
return this.reason;
|
|
1372
1376
|
};
|
|
1373
1377
|
protoOf(GameErrorReason).cd = function () {
|
|
1374
1378
|
return this.reason;
|
|
1375
1379
|
};
|
|
1376
|
-
protoOf(GameErrorReason).
|
|
1380
|
+
protoOf(GameErrorReason).k2l = function (reason) {
|
|
1377
1381
|
return new GameErrorReason(reason);
|
|
1378
1382
|
};
|
|
1379
1383
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
1380
1384
|
reason = reason === VOID ? this.reason : reason;
|
|
1381
|
-
return this.
|
|
1385
|
+
return this.k2l(reason);
|
|
1382
1386
|
};
|
|
1383
1387
|
protoOf(GameErrorReason).toString = function () {
|
|
1384
1388
|
return 'GameErrorReason(reason=' + this.reason + ')';
|
|
@@ -1397,7 +1401,7 @@
|
|
|
1397
1401
|
return true;
|
|
1398
1402
|
};
|
|
1399
1403
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1400
|
-
return $this.
|
|
1404
|
+
return $this.v2l_1.o2();
|
|
1401
1405
|
}
|
|
1402
1406
|
function WaitingForConnectionReason$_anonymous__v65n7d() {
|
|
1403
1407
|
var tmp = WaitingForConnectionReason_getInstance();
|
|
@@ -1412,7 +1416,7 @@
|
|
|
1412
1416
|
TerminationGameReason.call(this);
|
|
1413
1417
|
var tmp = this;
|
|
1414
1418
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1415
|
-
tmp.
|
|
1419
|
+
tmp.v2l_1 = lazy(tmp_0, WaitingForConnectionReason$_anonymous__v65n7d);
|
|
1416
1420
|
}
|
|
1417
1421
|
protoOf(WaitingForConnectionReason).toString = function () {
|
|
1418
1422
|
return 'WaitingForConnectionReason';
|
|
@@ -1430,7 +1434,7 @@
|
|
|
1430
1434
|
return WaitingForConnectionReason_instance;
|
|
1431
1435
|
}
|
|
1432
1436
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1433
|
-
return $this.
|
|
1437
|
+
return $this.w2l_1.o2();
|
|
1434
1438
|
}
|
|
1435
1439
|
function ProcessingReason$_anonymous__fvp7fk() {
|
|
1436
1440
|
var tmp = ProcessingReason_getInstance();
|
|
@@ -1445,7 +1449,7 @@
|
|
|
1445
1449
|
TerminationGameReason.call(this);
|
|
1446
1450
|
var tmp = this;
|
|
1447
1451
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1448
|
-
tmp.
|
|
1452
|
+
tmp.w2l_1 = lazy(tmp_0, ProcessingReason$_anonymous__fvp7fk);
|
|
1449
1453
|
}
|
|
1450
1454
|
protoOf(ProcessingReason).toString = function () {
|
|
1451
1455
|
return 'ProcessingReason';
|
|
@@ -1473,33 +1477,33 @@
|
|
|
1473
1477
|
isBot = isBot === VOID ? false : isBot;
|
|
1474
1478
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1475
1479
|
payload = payload === VOID ? null : payload;
|
|
1476
|
-
this.
|
|
1480
|
+
this.x2l_1 = playerId;
|
|
1477
1481
|
this.name = name;
|
|
1478
1482
|
this.avatarUrl = avatarUrl;
|
|
1479
1483
|
this.isBot = isBot;
|
|
1480
1484
|
this.initialLuckyFactor = initialLuckyFactor;
|
|
1481
1485
|
this.payload = payload;
|
|
1482
1486
|
}
|
|
1483
|
-
protoOf(GameUserInfo).
|
|
1484
|
-
return this.
|
|
1487
|
+
protoOf(GameUserInfo).a2l = function () {
|
|
1488
|
+
return this.x2l_1;
|
|
1485
1489
|
};
|
|
1486
1490
|
protoOf(GameUserInfo).g9 = function () {
|
|
1487
1491
|
return this.name;
|
|
1488
1492
|
};
|
|
1489
|
-
protoOf(GameUserInfo).
|
|
1493
|
+
protoOf(GameUserInfo).y2l = function () {
|
|
1490
1494
|
return this.avatarUrl;
|
|
1491
1495
|
};
|
|
1492
|
-
protoOf(GameUserInfo).
|
|
1496
|
+
protoOf(GameUserInfo).z2l = function () {
|
|
1493
1497
|
return this.isBot;
|
|
1494
1498
|
};
|
|
1495
|
-
protoOf(GameUserInfo).
|
|
1499
|
+
protoOf(GameUserInfo).a2m = function () {
|
|
1496
1500
|
return this.initialLuckyFactor;
|
|
1497
1501
|
};
|
|
1498
|
-
protoOf(GameUserInfo).
|
|
1502
|
+
protoOf(GameUserInfo).b2m = function () {
|
|
1499
1503
|
return this.payload;
|
|
1500
1504
|
};
|
|
1501
1505
|
protoOf(GameUserInfo).toString = function () {
|
|
1502
|
-
var tmp = 'GameUserInfo(' + ("playerId='" + this.
|
|
1506
|
+
var tmp = 'GameUserInfo(' + ("playerId='" + this.x2l_1 + "', ") + ("name='" + this.name + "', ");
|
|
1503
1507
|
// Inline function 'kotlin.takeIf' call
|
|
1504
1508
|
var this_0 = 'avatarUrl=' + this.avatarUrl + ', ';
|
|
1505
1509
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -1550,7 +1554,7 @@
|
|
|
1550
1554
|
return tmp_5 + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs) + ')';
|
|
1551
1555
|
};
|
|
1552
1556
|
protoOf(GameUserInfo).cd = function () {
|
|
1553
|
-
return this.
|
|
1557
|
+
return this.x2l_1;
|
|
1554
1558
|
};
|
|
1555
1559
|
protoOf(GameUserInfo).dd = function () {
|
|
1556
1560
|
return this.name;
|
|
@@ -1558,29 +1562,29 @@
|
|
|
1558
1562
|
protoOf(GameUserInfo).qh = function () {
|
|
1559
1563
|
return this.avatarUrl;
|
|
1560
1564
|
};
|
|
1561
|
-
protoOf(GameUserInfo).
|
|
1565
|
+
protoOf(GameUserInfo).t2k = function () {
|
|
1562
1566
|
return this.isBot;
|
|
1563
1567
|
};
|
|
1564
|
-
protoOf(GameUserInfo).
|
|
1568
|
+
protoOf(GameUserInfo).c2m = function () {
|
|
1565
1569
|
return this.initialLuckyFactor;
|
|
1566
1570
|
};
|
|
1567
|
-
protoOf(GameUserInfo).
|
|
1571
|
+
protoOf(GameUserInfo).d2m = function () {
|
|
1568
1572
|
return this.payload;
|
|
1569
1573
|
};
|
|
1570
|
-
protoOf(GameUserInfo).
|
|
1574
|
+
protoOf(GameUserInfo).e2m = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload) {
|
|
1571
1575
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1572
1576
|
};
|
|
1573
1577
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload, $super) {
|
|
1574
|
-
playerId = playerId === VOID ? this.
|
|
1578
|
+
playerId = playerId === VOID ? this.x2l_1 : playerId;
|
|
1575
1579
|
name = name === VOID ? this.name : name;
|
|
1576
1580
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1577
1581
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1578
1582
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1579
1583
|
payload = payload === VOID ? this.payload : payload;
|
|
1580
|
-
return this.
|
|
1584
|
+
return this.e2m(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1581
1585
|
};
|
|
1582
1586
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1583
|
-
var result = getStringHashCode(this.
|
|
1587
|
+
var result = getStringHashCode(this.x2l_1);
|
|
1584
1588
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1585
1589
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1586
1590
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1594,7 +1598,7 @@
|
|
|
1594
1598
|
if (!(other instanceof GameUserInfo))
|
|
1595
1599
|
return false;
|
|
1596
1600
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1597
|
-
if (!(this.
|
|
1601
|
+
if (!(this.x2l_1 === tmp0_other_with_cast.x2l_1))
|
|
1598
1602
|
return false;
|
|
1599
1603
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1600
1604
|
return false;
|
|
@@ -1674,18 +1678,18 @@
|
|
|
1674
1678
|
return destination;
|
|
1675
1679
|
}
|
|
1676
1680
|
function PlayerIndex(playerId, index) {
|
|
1677
|
-
this.
|
|
1678
|
-
this.
|
|
1681
|
+
this.h2m_1 = playerId;
|
|
1682
|
+
this.i2m_1 = index;
|
|
1679
1683
|
}
|
|
1680
|
-
protoOf(PlayerIndex).
|
|
1681
|
-
return this.
|
|
1684
|
+
protoOf(PlayerIndex).a2l = function () {
|
|
1685
|
+
return this.h2m_1;
|
|
1682
1686
|
};
|
|
1683
1687
|
protoOf(PlayerIndex).toString = function () {
|
|
1684
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1688
|
+
return 'PlayerIndex(playerId=' + this.h2m_1 + ', index=' + this.i2m_1 + ')';
|
|
1685
1689
|
};
|
|
1686
1690
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1687
|
-
var result = getStringHashCode(this.
|
|
1688
|
-
result = imul(result, 31) + this.
|
|
1691
|
+
var result = getStringHashCode(this.h2m_1);
|
|
1692
|
+
result = imul(result, 31) + this.i2m_1 | 0;
|
|
1689
1693
|
return result;
|
|
1690
1694
|
};
|
|
1691
1695
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1694,10 +1698,10 @@
|
|
|
1694
1698
|
if (!(other instanceof PlayerIndex))
|
|
1695
1699
|
return false;
|
|
1696
1700
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1697
|
-
if (!(this.g2m_1 === tmp0_other_with_cast.g2m_1))
|
|
1698
|
-
return false;
|
|
1699
1701
|
if (!(this.h2m_1 === tmp0_other_with_cast.h2m_1))
|
|
1700
1702
|
return false;
|
|
1703
|
+
if (!(this.i2m_1 === tmp0_other_with_cast.i2m_1))
|
|
1704
|
+
return false;
|
|
1701
1705
|
return true;
|
|
1702
1706
|
};
|
|
1703
1707
|
function filterPlayerTurn(_this__u8e3s4) {
|
|
@@ -1720,16 +1724,16 @@
|
|
|
1720
1724
|
return nextTo_0(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1721
1725
|
}
|
|
1722
1726
|
function PlayerIdContractOrderComparator(players) {
|
|
1723
|
-
this.
|
|
1727
|
+
this.j2m_1 = players;
|
|
1724
1728
|
}
|
|
1725
|
-
protoOf(PlayerIdContractOrderComparator).
|
|
1726
|
-
var indexA = this.
|
|
1727
|
-
var indexB = this.
|
|
1729
|
+
protoOf(PlayerIdContractOrderComparator).k2m = function (a, b) {
|
|
1730
|
+
var indexA = this.j2m_1.y1(a.playerId);
|
|
1731
|
+
var indexB = this.j2m_1.y1(b.playerId);
|
|
1728
1732
|
return compareTo(indexA, indexB);
|
|
1729
1733
|
};
|
|
1730
1734
|
protoOf(PlayerIdContractOrderComparator).compare = function (a, b) {
|
|
1731
1735
|
var tmp = (!(a == null) ? isInterface(a, PlayerIdContract) : false) ? a : THROW_CCE();
|
|
1732
|
-
return this.
|
|
1736
|
+
return this.k2m(tmp, (!(b == null) ? isInterface(b, PlayerIdContract) : false) ? b : THROW_CCE());
|
|
1733
1737
|
};
|
|
1734
1738
|
function byIdPlayerPredicate$lambda(id) {
|
|
1735
1739
|
_init_properties_Player_kt__qi83pd();
|
|
@@ -1742,7 +1746,7 @@
|
|
|
1742
1746
|
}
|
|
1743
1747
|
function playerTurnPredicate$lambda(p1) {
|
|
1744
1748
|
_init_properties_Player_kt__qi83pd();
|
|
1745
|
-
return p1.k1r().
|
|
1749
|
+
return p1.k1r().s2m();
|
|
1746
1750
|
}
|
|
1747
1751
|
var properties_initialized_Player_kt_56shkt;
|
|
1748
1752
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1753,14 +1757,14 @@
|
|
|
1753
1757
|
}
|
|
1754
1758
|
}
|
|
1755
1759
|
function Companion_9() {
|
|
1756
|
-
this.
|
|
1760
|
+
this.t2m_1 = 75;
|
|
1757
1761
|
}
|
|
1758
|
-
protoOf(Companion_9).
|
|
1759
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1762
|
+
protoOf(Companion_9).u2m = function (_this__u8e3s4) {
|
|
1763
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.z2m(PlayerConnectionState_LIVE_getInstance(), System_instance.s1m(), Duration__plus_impl_yu9v8f(_this__u8e3s4.x2m_1, _this__u8e3s4.y2m()));
|
|
1760
1764
|
return tmp1_elvis_lhs == null ? new PlayerConnection(PlayerConnectionState_LIVE_getInstance(), System_instance.s1m()) : tmp1_elvis_lhs;
|
|
1761
1765
|
};
|
|
1762
|
-
protoOf(Companion_9).
|
|
1763
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1766
|
+
protoOf(Companion_9).a2n = function (_this__u8e3s4, state) {
|
|
1767
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.b2n(state, System_instance.s1m());
|
|
1764
1768
|
return tmp1_elvis_lhs == null ? new PlayerConnection(state, System_instance.s1m()) : tmp1_elvis_lhs;
|
|
1765
1769
|
};
|
|
1766
1770
|
var Companion_instance_9;
|
|
@@ -1770,54 +1774,54 @@
|
|
|
1770
1774
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1771
1775
|
connectionChangedTime = connectionChangedTime === VOID ? System_instance.s1m() : connectionChangedTime;
|
|
1772
1776
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().tg_1 : notLiveDurationRecord;
|
|
1773
|
-
this.
|
|
1774
|
-
this.
|
|
1775
|
-
this.
|
|
1777
|
+
this.v2m_1 = state;
|
|
1778
|
+
this.w2m_1 = connectionChangedTime;
|
|
1779
|
+
this.x2m_1 = notLiveDurationRecord;
|
|
1776
1780
|
}
|
|
1777
|
-
protoOf(PlayerConnection).
|
|
1778
|
-
return System_instance.s1m().x1n(this.
|
|
1781
|
+
protoOf(PlayerConnection).y2m = function () {
|
|
1782
|
+
return System_instance.s1m().x1n(this.w2m_1);
|
|
1779
1783
|
};
|
|
1780
|
-
protoOf(PlayerConnection).
|
|
1784
|
+
protoOf(PlayerConnection).c2n = function () {
|
|
1781
1785
|
var tmp;
|
|
1782
|
-
if (this.
|
|
1783
|
-
tmp = this.
|
|
1786
|
+
if (this.v2m_1.isLive) {
|
|
1787
|
+
tmp = this.x2m_1;
|
|
1784
1788
|
} else {
|
|
1785
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1789
|
+
tmp = Duration__plus_impl_yu9v8f(this.x2m_1, this.y2m());
|
|
1786
1790
|
}
|
|
1787
1791
|
return tmp;
|
|
1788
1792
|
};
|
|
1789
|
-
protoOf(PlayerConnection).
|
|
1793
|
+
protoOf(PlayerConnection).d2n = function (gameDuration) {
|
|
1790
1794
|
// Inline function 'kotlin.Long.div' call
|
|
1791
1795
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).da() / 100.0;
|
|
1792
1796
|
// Inline function 'kotlin.math.round' call
|
|
1793
1797
|
// Inline function 'kotlin.Long.div' call
|
|
1794
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1798
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.c2n()).da() / percent;
|
|
1795
1799
|
var tmp$ret$2 = round(x);
|
|
1796
1800
|
return numberToInt(tmp$ret$2);
|
|
1797
1801
|
};
|
|
1798
|
-
protoOf(PlayerConnection).d2n = function (gameDuration) {
|
|
1799
|
-
return 100 - this.c2n(gameDuration) | 0;
|
|
1800
|
-
};
|
|
1801
1802
|
protoOf(PlayerConnection).e2n = function (gameDuration) {
|
|
1802
|
-
|
|
1803
|
+
return 100 - this.d2n(gameDuration) | 0;
|
|
1804
|
+
};
|
|
1805
|
+
protoOf(PlayerConnection).f2n = function (gameDuration) {
|
|
1806
|
+
var percentage = this.e2n(gameDuration);
|
|
1803
1807
|
return percentage >= 75;
|
|
1804
1808
|
};
|
|
1805
|
-
protoOf(PlayerConnection).
|
|
1809
|
+
protoOf(PlayerConnection).z2m = function (state, connectionChangedTime, notLiveDurationRecord) {
|
|
1806
1810
|
return new PlayerConnection(state, connectionChangedTime, notLiveDurationRecord);
|
|
1807
1811
|
};
|
|
1808
|
-
protoOf(PlayerConnection).
|
|
1809
|
-
state = state === VOID ? this.
|
|
1810
|
-
connectionChangedTime = connectionChangedTime === VOID ? this.
|
|
1811
|
-
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.
|
|
1812
|
-
return $super === VOID ? this.
|
|
1812
|
+
protoOf(PlayerConnection).b2n = function (state, connectionChangedTime, notLiveDurationRecord, $super) {
|
|
1813
|
+
state = state === VOID ? this.v2m_1 : state;
|
|
1814
|
+
connectionChangedTime = connectionChangedTime === VOID ? this.w2m_1 : connectionChangedTime;
|
|
1815
|
+
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.x2m_1 : notLiveDurationRecord;
|
|
1816
|
+
return $super === VOID ? this.z2m(state, connectionChangedTime, notLiveDurationRecord) : $super.z2m.call(this, state, connectionChangedTime, new Duration(notLiveDurationRecord));
|
|
1813
1817
|
};
|
|
1814
1818
|
protoOf(PlayerConnection).toString = function () {
|
|
1815
|
-
return 'PlayerConnection(state=' + this.
|
|
1819
|
+
return 'PlayerConnection(state=' + this.v2m_1 + ', connectionChangedTime=' + this.w2m_1 + ', notLiveDurationRecord=' + new Duration(this.x2m_1) + ')';
|
|
1816
1820
|
};
|
|
1817
1821
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1818
|
-
var result = this.
|
|
1819
|
-
result = imul(result, 31) + this.
|
|
1820
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1822
|
+
var result = this.v2m_1.hashCode();
|
|
1823
|
+
result = imul(result, 31) + this.w2m_1.hashCode() | 0;
|
|
1824
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.x2m_1) | 0;
|
|
1821
1825
|
return result;
|
|
1822
1826
|
};
|
|
1823
1827
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1826,16 +1830,16 @@
|
|
|
1826
1830
|
if (!(other instanceof PlayerConnection))
|
|
1827
1831
|
return false;
|
|
1828
1832
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1829
|
-
if (!this.u2m_1.equals(tmp0_other_with_cast.u2m_1))
|
|
1830
|
-
return false;
|
|
1831
1833
|
if (!this.v2m_1.equals(tmp0_other_with_cast.v2m_1))
|
|
1832
1834
|
return false;
|
|
1833
|
-
if (!
|
|
1835
|
+
if (!this.w2m_1.equals(tmp0_other_with_cast.w2m_1))
|
|
1836
|
+
return false;
|
|
1837
|
+
if (!equals(this.x2m_1, tmp0_other_with_cast.x2m_1))
|
|
1834
1838
|
return false;
|
|
1835
1839
|
return true;
|
|
1836
1840
|
};
|
|
1837
1841
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1838
|
-
return $this.
|
|
1842
|
+
return $this.g2n_1.o2();
|
|
1839
1843
|
}
|
|
1840
1844
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1841
1845
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_0());
|
|
@@ -1850,7 +1854,7 @@
|
|
|
1850
1854
|
Companion_instance_10 = this;
|
|
1851
1855
|
var tmp = this;
|
|
1852
1856
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1853
|
-
tmp.
|
|
1857
|
+
tmp.g2n_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1854
1858
|
}
|
|
1855
1859
|
protoOf(Companion_10).v16 = function () {
|
|
1856
1860
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
@@ -1904,34 +1908,34 @@
|
|
|
1904
1908
|
function PlayerConnectionState(name, ordinal) {
|
|
1905
1909
|
Enum.call(this, name, ordinal);
|
|
1906
1910
|
}
|
|
1907
|
-
protoOf(PlayerConnectionState).
|
|
1911
|
+
protoOf(PlayerConnectionState).j2n = function () {
|
|
1908
1912
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1909
1913
|
};
|
|
1910
|
-
protoOf(PlayerConnectionState).
|
|
1914
|
+
protoOf(PlayerConnectionState).k2n = function () {
|
|
1911
1915
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1912
1916
|
};
|
|
1913
|
-
protoOf(PlayerConnectionState).
|
|
1917
|
+
protoOf(PlayerConnectionState).l2n = function () {
|
|
1914
1918
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1915
1919
|
};
|
|
1916
|
-
protoOf(PlayerConnectionState).
|
|
1920
|
+
protoOf(PlayerConnectionState).m2n = function () {
|
|
1917
1921
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1918
1922
|
};
|
|
1919
|
-
protoOf(PlayerConnectionState).
|
|
1923
|
+
protoOf(PlayerConnectionState).n2n = function () {
|
|
1920
1924
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1921
1925
|
};
|
|
1922
|
-
protoOf(PlayerConnectionState).
|
|
1926
|
+
protoOf(PlayerConnectionState).o2n = function () {
|
|
1923
1927
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1924
1928
|
};
|
|
1925
|
-
protoOf(PlayerConnectionState).
|
|
1929
|
+
protoOf(PlayerConnectionState).p2n = function () {
|
|
1926
1930
|
return this.isDisconnected ? true : this.isDeleted;
|
|
1927
1931
|
};
|
|
1928
|
-
protoOf(PlayerConnectionState).
|
|
1932
|
+
protoOf(PlayerConnectionState).q2n = function () {
|
|
1929
1933
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1930
1934
|
};
|
|
1931
|
-
protoOf(PlayerConnectionState).
|
|
1935
|
+
protoOf(PlayerConnectionState).r2n = function () {
|
|
1932
1936
|
return (this.isTimeOut ? true : this.isLeft) ? true : this.isDeleted;
|
|
1933
1937
|
};
|
|
1934
|
-
protoOf(PlayerConnectionState).
|
|
1938
|
+
protoOf(PlayerConnectionState).s2n = function () {
|
|
1935
1939
|
return this.isLostConnection;
|
|
1936
1940
|
};
|
|
1937
1941
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1959,25 +1963,25 @@
|
|
|
1959
1963
|
return PlayerConnectionState_DELETED_instance;
|
|
1960
1964
|
}
|
|
1961
1965
|
function PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1962
|
-
this.
|
|
1966
|
+
this.t2n_1 = playerId;
|
|
1963
1967
|
this.factor = factor;
|
|
1964
1968
|
this.wasLiveDuringGame = wasLiveDuringGame;
|
|
1965
1969
|
this.liveDurationPercentage = liveDurationPercentage;
|
|
1966
1970
|
}
|
|
1967
|
-
protoOf(PlayerLuckyFactor).
|
|
1968
|
-
return this.
|
|
1971
|
+
protoOf(PlayerLuckyFactor).a2l = function () {
|
|
1972
|
+
return this.t2n_1;
|
|
1969
1973
|
};
|
|
1970
|
-
protoOf(PlayerLuckyFactor).
|
|
1974
|
+
protoOf(PlayerLuckyFactor).u2n = function () {
|
|
1971
1975
|
return this.factor;
|
|
1972
1976
|
};
|
|
1973
|
-
protoOf(PlayerLuckyFactor).
|
|
1977
|
+
protoOf(PlayerLuckyFactor).v2n = function () {
|
|
1974
1978
|
return this.wasLiveDuringGame;
|
|
1975
1979
|
};
|
|
1976
|
-
protoOf(PlayerLuckyFactor).
|
|
1980
|
+
protoOf(PlayerLuckyFactor).w2n = function () {
|
|
1977
1981
|
return this.liveDurationPercentage;
|
|
1978
1982
|
};
|
|
1979
1983
|
protoOf(PlayerLuckyFactor).cd = function () {
|
|
1980
|
-
return this.
|
|
1984
|
+
return this.t2n_1;
|
|
1981
1985
|
};
|
|
1982
1986
|
protoOf(PlayerLuckyFactor).dd = function () {
|
|
1983
1987
|
return this.factor;
|
|
@@ -1985,24 +1989,24 @@
|
|
|
1985
1989
|
protoOf(PlayerLuckyFactor).qh = function () {
|
|
1986
1990
|
return this.wasLiveDuringGame;
|
|
1987
1991
|
};
|
|
1988
|
-
protoOf(PlayerLuckyFactor).
|
|
1992
|
+
protoOf(PlayerLuckyFactor).t2k = function () {
|
|
1989
1993
|
return this.liveDurationPercentage;
|
|
1990
1994
|
};
|
|
1991
|
-
protoOf(PlayerLuckyFactor).
|
|
1995
|
+
protoOf(PlayerLuckyFactor).x2n = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1992
1996
|
return new PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1993
1997
|
};
|
|
1994
1998
|
protoOf(PlayerLuckyFactor).copy = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage, $super) {
|
|
1995
|
-
playerId = playerId === VOID ? this.
|
|
1999
|
+
playerId = playerId === VOID ? this.t2n_1 : playerId;
|
|
1996
2000
|
factor = factor === VOID ? this.factor : factor;
|
|
1997
2001
|
wasLiveDuringGame = wasLiveDuringGame === VOID ? this.wasLiveDuringGame : wasLiveDuringGame;
|
|
1998
2002
|
liveDurationPercentage = liveDurationPercentage === VOID ? this.liveDurationPercentage : liveDurationPercentage;
|
|
1999
|
-
return this.
|
|
2003
|
+
return this.x2n(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
2000
2004
|
};
|
|
2001
2005
|
protoOf(PlayerLuckyFactor).toString = function () {
|
|
2002
|
-
return 'PlayerLuckyFactor(playerId=' + this.
|
|
2006
|
+
return 'PlayerLuckyFactor(playerId=' + this.t2n_1 + ', factor=' + this.factor + ', wasLiveDuringGame=' + this.wasLiveDuringGame + ', liveDurationPercentage=' + this.liveDurationPercentage + ')';
|
|
2003
2007
|
};
|
|
2004
2008
|
protoOf(PlayerLuckyFactor).hashCode = function () {
|
|
2005
|
-
var result = getStringHashCode(this.
|
|
2009
|
+
var result = getStringHashCode(this.t2n_1);
|
|
2006
2010
|
result = imul(result, 31) + getNumberHashCode(this.factor) | 0;
|
|
2007
2011
|
result = imul(result, 31) + getBooleanHashCode(this.wasLiveDuringGame) | 0;
|
|
2008
2012
|
result = imul(result, 31) + (this.liveDurationPercentage == null ? 0 : this.liveDurationPercentage) | 0;
|
|
@@ -2014,7 +2018,7 @@
|
|
|
2014
2018
|
if (!(other instanceof PlayerLuckyFactor))
|
|
2015
2019
|
return false;
|
|
2016
2020
|
var tmp0_other_with_cast = other instanceof PlayerLuckyFactor ? other : THROW_CCE();
|
|
2017
|
-
if (!(this.
|
|
2021
|
+
if (!(this.t2n_1 === tmp0_other_with_cast.t2n_1))
|
|
2018
2022
|
return false;
|
|
2019
2023
|
if (!equals(this.factor, tmp0_other_with_cast.factor))
|
|
2020
2024
|
return false;
|
|
@@ -2025,7 +2029,7 @@
|
|
|
2025
2029
|
return true;
|
|
2026
2030
|
};
|
|
2027
2031
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
2028
|
-
return $this.
|
|
2032
|
+
return $this.y2n_1.o2();
|
|
2029
2033
|
}
|
|
2030
2034
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
2031
2035
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_1());
|
|
@@ -2037,7 +2041,7 @@
|
|
|
2037
2041
|
Companion_instance_11 = this;
|
|
2038
2042
|
var tmp = this;
|
|
2039
2043
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2040
|
-
tmp.
|
|
2044
|
+
tmp.y2n_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
2041
2045
|
}
|
|
2042
2046
|
protoOf(Companion_11).v16 = function () {
|
|
2043
2047
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
@@ -2068,25 +2072,25 @@
|
|
|
2068
2072
|
function PlayerWaitingState(name, ordinal) {
|
|
2069
2073
|
Enum.call(this, name, ordinal);
|
|
2070
2074
|
}
|
|
2071
|
-
protoOf(PlayerWaitingState).
|
|
2075
|
+
protoOf(PlayerWaitingState).b2o = function () {
|
|
2072
2076
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
2073
2077
|
};
|
|
2074
|
-
protoOf(PlayerWaitingState).
|
|
2078
|
+
protoOf(PlayerWaitingState).c2o = function () {
|
|
2075
2079
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
2076
2080
|
};
|
|
2077
2081
|
function Companion_12() {
|
|
2078
2082
|
}
|
|
2079
|
-
protoOf(Companion_12).
|
|
2083
|
+
protoOf(Companion_12).d2o = function (connection) {
|
|
2080
2084
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
2081
2085
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
2082
2086
|
};
|
|
2083
|
-
protoOf(Companion_12).
|
|
2084
|
-
return _this__u8e3s4.
|
|
2087
|
+
protoOf(Companion_12).e2o = function (_this__u8e3s4) {
|
|
2088
|
+
return _this__u8e3s4.f2o(null, null, VOID, PlayerWaitingState_IDLE_getInstance(), VOID, null);
|
|
2085
2089
|
};
|
|
2086
|
-
protoOf(Companion_12).
|
|
2090
|
+
protoOf(Companion_12).g2o = function (_this__u8e3s4, playerTurnTimeout, tag) {
|
|
2087
2091
|
var tmp0_startFromTime = System_instance.s1m();
|
|
2088
2092
|
var tmp1_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
2089
|
-
return _this__u8e3s4.
|
|
2093
|
+
return _this__u8e3s4.f2o(tmp0_startFromTime, playerTurnTimeout, VOID, tmp1_state, false, tag);
|
|
2090
2094
|
};
|
|
2091
2095
|
var Companion_instance_12;
|
|
2092
2096
|
function Companion_getInstance_14() {
|
|
@@ -2107,17 +2111,17 @@
|
|
|
2107
2111
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2108
2112
|
tag = tag === VOID ? null : tag;
|
|
2109
2113
|
connection = connection === VOID ? null : connection;
|
|
2110
|
-
this.
|
|
2111
|
-
this.
|
|
2112
|
-
this.
|
|
2113
|
-
this.
|
|
2114
|
-
this.
|
|
2115
|
-
this.
|
|
2116
|
-
this.
|
|
2117
|
-
}
|
|
2118
|
-
protoOf(PlayerState).
|
|
2114
|
+
this.l2m_1 = startFromTime;
|
|
2115
|
+
this.m2m_1 = playerTurnTimeout;
|
|
2116
|
+
this.n2m_1 = waitPlayerUntilTime;
|
|
2117
|
+
this.o2m_1 = state;
|
|
2118
|
+
this.p2m_1 = ready;
|
|
2119
|
+
this.q2m_1 = tag;
|
|
2120
|
+
this.r2m_1 = connection;
|
|
2121
|
+
}
|
|
2122
|
+
protoOf(PlayerState).h2o = function () {
|
|
2119
2123
|
// Inline function 'kotlin.requireNotNull' call
|
|
2120
|
-
var value = this.
|
|
2124
|
+
var value = this.r2m_1;
|
|
2121
2125
|
// Inline function 'kotlin.contracts.contract' call
|
|
2122
2126
|
var tmp$ret$1;
|
|
2123
2127
|
$l$block: {
|
|
@@ -2134,9 +2138,9 @@
|
|
|
2134
2138
|
}
|
|
2135
2139
|
return tmp$ret$1;
|
|
2136
2140
|
};
|
|
2137
|
-
protoOf(PlayerState).
|
|
2141
|
+
protoOf(PlayerState).i2o = function () {
|
|
2138
2142
|
// Inline function 'kotlin.requireNotNull' call
|
|
2139
|
-
var value = this.
|
|
2143
|
+
var value = this.q2m_1;
|
|
2140
2144
|
// Inline function 'kotlin.contracts.contract' call
|
|
2141
2145
|
var tmp$ret$1;
|
|
2142
2146
|
$l$block: {
|
|
@@ -2153,17 +2157,17 @@
|
|
|
2153
2157
|
}
|
|
2154
2158
|
return tmp$ret$1;
|
|
2155
2159
|
};
|
|
2156
|
-
protoOf(PlayerState).
|
|
2157
|
-
var tmp0_elvis_lhs = this.
|
|
2160
|
+
protoOf(PlayerState).j2o = function () {
|
|
2161
|
+
var tmp0_elvis_lhs = this.q2m_1;
|
|
2158
2162
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2159
2163
|
};
|
|
2160
2164
|
protoOf(PlayerState).toString = function () {
|
|
2161
2165
|
// Inline function 'kotlin.takeIf' call
|
|
2162
|
-
var this_0 = 'startFromTime=' + this.
|
|
2166
|
+
var this_0 = 'startFromTime=' + this.l2m_1 + ', ';
|
|
2163
2167
|
// Inline function 'kotlin.contracts.contract' call
|
|
2164
2168
|
var tmp;
|
|
2165
2169
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2166
|
-
if (!(this.
|
|
2170
|
+
if (!(this.l2m_1 == null)) {
|
|
2167
2171
|
tmp = this_0;
|
|
2168
2172
|
} else {
|
|
2169
2173
|
tmp = null;
|
|
@@ -2171,11 +2175,11 @@
|
|
|
2171
2175
|
var tmp5_elvis_lhs = tmp;
|
|
2172
2176
|
var tmp_0 = 'PlayerState(' + (tmp5_elvis_lhs == null ? '' : tmp5_elvis_lhs);
|
|
2173
2177
|
// Inline function 'kotlin.takeIf' call
|
|
2174
|
-
var this_1 = 'playerTurnTimeout=' + this.
|
|
2178
|
+
var this_1 = 'playerTurnTimeout=' + this.m2m_1 + ', ';
|
|
2175
2179
|
// Inline function 'kotlin.contracts.contract' call
|
|
2176
2180
|
var tmp_1;
|
|
2177
2181
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2178
|
-
if (!(this.
|
|
2182
|
+
if (!(this.m2m_1 == null)) {
|
|
2179
2183
|
tmp_1 = this_1;
|
|
2180
2184
|
} else {
|
|
2181
2185
|
tmp_1 = null;
|
|
@@ -2183,23 +2187,23 @@
|
|
|
2183
2187
|
var tmp4_elvis_lhs = tmp_1;
|
|
2184
2188
|
var tmp_2 = tmp_0 + (tmp4_elvis_lhs == null ? '' : tmp4_elvis_lhs);
|
|
2185
2189
|
// Inline function 'kotlin.takeIf' call
|
|
2186
|
-
var this_2 = 'waitPlayerUntilTime=' + this.
|
|
2190
|
+
var this_2 = 'waitPlayerUntilTime=' + this.n2m_1 + ', ';
|
|
2187
2191
|
// Inline function 'kotlin.contracts.contract' call
|
|
2188
2192
|
var tmp_3;
|
|
2189
2193
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2190
|
-
if (!(this.
|
|
2194
|
+
if (!(this.n2m_1 == null)) {
|
|
2191
2195
|
tmp_3 = this_2;
|
|
2192
2196
|
} else {
|
|
2193
2197
|
tmp_3 = null;
|
|
2194
2198
|
}
|
|
2195
2199
|
var tmp3_elvis_lhs = tmp_3;
|
|
2196
|
-
var tmp_4 = tmp_2 + (tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs) + ('state=' + this.
|
|
2200
|
+
var tmp_4 = tmp_2 + (tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs) + ('state=' + this.o2m_1 + ', ');
|
|
2197
2201
|
// Inline function 'kotlin.takeIf' call
|
|
2198
|
-
var this_3 = 'ready=' + this.
|
|
2202
|
+
var this_3 = 'ready=' + this.p2m_1 + ', ';
|
|
2199
2203
|
// Inline function 'kotlin.contracts.contract' call
|
|
2200
2204
|
var tmp_5;
|
|
2201
2205
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2202
|
-
if (this.
|
|
2206
|
+
if (this.p2m_1) {
|
|
2203
2207
|
tmp_5 = this_3;
|
|
2204
2208
|
} else {
|
|
2205
2209
|
tmp_5 = null;
|
|
@@ -2207,11 +2211,11 @@
|
|
|
2207
2211
|
var tmp2_elvis_lhs = tmp_5;
|
|
2208
2212
|
var tmp_6 = tmp_4 + (tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
2209
2213
|
// Inline function 'kotlin.takeIf' call
|
|
2210
|
-
var this_4 = 'tag=' + this.
|
|
2214
|
+
var this_4 = 'tag=' + this.q2m_1 + ', ';
|
|
2211
2215
|
// Inline function 'kotlin.contracts.contract' call
|
|
2212
2216
|
var tmp_7;
|
|
2213
2217
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2214
|
-
if (!(this.
|
|
2218
|
+
if (!(this.q2m_1 == null)) {
|
|
2215
2219
|
tmp_7 = this_4;
|
|
2216
2220
|
} else {
|
|
2217
2221
|
tmp_7 = null;
|
|
@@ -2219,11 +2223,11 @@
|
|
|
2219
2223
|
var tmp1_elvis_lhs = tmp_7;
|
|
2220
2224
|
var tmp_8 = tmp_6 + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2221
2225
|
// Inline function 'kotlin.takeIf' call
|
|
2222
|
-
var this_5 = 'connection=' + this.
|
|
2226
|
+
var this_5 = 'connection=' + this.r2m_1;
|
|
2223
2227
|
// Inline function 'kotlin.contracts.contract' call
|
|
2224
2228
|
var tmp_9;
|
|
2225
2229
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2226
|
-
if (!(this.
|
|
2230
|
+
if (!(this.r2m_1 == null)) {
|
|
2227
2231
|
tmp_9 = this_5;
|
|
2228
2232
|
} else {
|
|
2229
2233
|
tmp_9 = null;
|
|
@@ -2231,30 +2235,30 @@
|
|
|
2231
2235
|
var tmp0_elvis_lhs = tmp_9;
|
|
2232
2236
|
return tmp_8 + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs) + ')';
|
|
2233
2237
|
};
|
|
2234
|
-
protoOf(PlayerState).
|
|
2235
|
-
return this.
|
|
2238
|
+
protoOf(PlayerState).s2m = function () {
|
|
2239
|
+
return this.o2m_1.b2o() ? true : this.o2m_1.c2o();
|
|
2236
2240
|
};
|
|
2237
|
-
protoOf(PlayerState).
|
|
2241
|
+
protoOf(PlayerState).k2o = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2238
2242
|
return new PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2239
2243
|
};
|
|
2240
|
-
protoOf(PlayerState).
|
|
2241
|
-
startFromTime = startFromTime === VOID ? this.
|
|
2242
|
-
playerTurnTimeout = playerTurnTimeout === VOID ? this.
|
|
2243
|
-
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.
|
|
2244
|
-
state = state === VOID ? this.
|
|
2245
|
-
ready = ready === VOID ? this.
|
|
2246
|
-
tag = tag === VOID ? this.
|
|
2247
|
-
connection = connection === VOID ? this.
|
|
2248
|
-
return $super === VOID ? this.
|
|
2244
|
+
protoOf(PlayerState).f2o = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, $super) {
|
|
2245
|
+
startFromTime = startFromTime === VOID ? this.l2m_1 : startFromTime;
|
|
2246
|
+
playerTurnTimeout = playerTurnTimeout === VOID ? this.m2m_1 : playerTurnTimeout;
|
|
2247
|
+
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.n2m_1 : waitPlayerUntilTime;
|
|
2248
|
+
state = state === VOID ? this.o2m_1 : state;
|
|
2249
|
+
ready = ready === VOID ? this.p2m_1 : ready;
|
|
2250
|
+
tag = tag === VOID ? this.q2m_1 : tag;
|
|
2251
|
+
connection = connection === VOID ? this.r2m_1 : connection;
|
|
2252
|
+
return $super === VOID ? this.k2o(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) : $super.k2o.call(this, startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2249
2253
|
};
|
|
2250
2254
|
protoOf(PlayerState).hashCode = function () {
|
|
2251
|
-
var result = this.
|
|
2252
|
-
result = imul(result, 31) + (this.l2m_1 == null ? 0 : this.l2m_1.hashCode()) | 0;
|
|
2255
|
+
var result = this.l2m_1 == null ? 0 : this.l2m_1.hashCode();
|
|
2253
2256
|
result = imul(result, 31) + (this.m2m_1 == null ? 0 : this.m2m_1.hashCode()) | 0;
|
|
2254
|
-
result = imul(result, 31) + this.n2m_1.hashCode() | 0;
|
|
2255
|
-
result = imul(result, 31) +
|
|
2256
|
-
result = imul(result, 31) + (this.p2m_1
|
|
2257
|
-
result = imul(result, 31) + (this.q2m_1 == null ? 0 : this.q2m_1
|
|
2257
|
+
result = imul(result, 31) + (this.n2m_1 == null ? 0 : this.n2m_1.hashCode()) | 0;
|
|
2258
|
+
result = imul(result, 31) + this.o2m_1.hashCode() | 0;
|
|
2259
|
+
result = imul(result, 31) + getBooleanHashCode(this.p2m_1) | 0;
|
|
2260
|
+
result = imul(result, 31) + (this.q2m_1 == null ? 0 : getStringHashCode(this.q2m_1)) | 0;
|
|
2261
|
+
result = imul(result, 31) + (this.r2m_1 == null ? 0 : this.r2m_1.hashCode()) | 0;
|
|
2258
2262
|
return result;
|
|
2259
2263
|
};
|
|
2260
2264
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -2263,30 +2267,30 @@
|
|
|
2263
2267
|
if (!(other instanceof PlayerState))
|
|
2264
2268
|
return false;
|
|
2265
2269
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
2266
|
-
if (!equals(this.k2m_1, tmp0_other_with_cast.k2m_1))
|
|
2267
|
-
return false;
|
|
2268
2270
|
if (!equals(this.l2m_1, tmp0_other_with_cast.l2m_1))
|
|
2269
2271
|
return false;
|
|
2270
2272
|
if (!equals(this.m2m_1, tmp0_other_with_cast.m2m_1))
|
|
2271
2273
|
return false;
|
|
2272
|
-
if (!this.n2m_1
|
|
2274
|
+
if (!equals(this.n2m_1, tmp0_other_with_cast.n2m_1))
|
|
2275
|
+
return false;
|
|
2276
|
+
if (!this.o2m_1.equals(tmp0_other_with_cast.o2m_1))
|
|
2273
2277
|
return false;
|
|
2274
|
-
if (!(this.
|
|
2278
|
+
if (!(this.p2m_1 === tmp0_other_with_cast.p2m_1))
|
|
2275
2279
|
return false;
|
|
2276
|
-
if (!(this.
|
|
2280
|
+
if (!(this.q2m_1 == tmp0_other_with_cast.q2m_1))
|
|
2277
2281
|
return false;
|
|
2278
|
-
if (!equals(this.
|
|
2282
|
+
if (!equals(this.r2m_1, tmp0_other_with_cast.r2m_1))
|
|
2279
2283
|
return false;
|
|
2280
2284
|
return true;
|
|
2281
2285
|
};
|
|
2282
2286
|
function Team(playerIds) {
|
|
2283
|
-
this.
|
|
2287
|
+
this.l2o_1 = playerIds;
|
|
2284
2288
|
}
|
|
2285
2289
|
protoOf(Team).toString = function () {
|
|
2286
|
-
return 'Team(playerIds=' + this.
|
|
2290
|
+
return 'Team(playerIds=' + this.l2o_1 + ')';
|
|
2287
2291
|
};
|
|
2288
2292
|
protoOf(Team).hashCode = function () {
|
|
2289
|
-
return hashCode(this.
|
|
2293
|
+
return hashCode(this.l2o_1);
|
|
2290
2294
|
};
|
|
2291
2295
|
protoOf(Team).equals = function (other) {
|
|
2292
2296
|
if (this === other)
|
|
@@ -2294,7 +2298,7 @@
|
|
|
2294
2298
|
if (!(other instanceof Team))
|
|
2295
2299
|
return false;
|
|
2296
2300
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
2297
|
-
if (!equals(this.
|
|
2301
|
+
if (!equals(this.l2o_1, tmp0_other_with_cast.l2o_1))
|
|
2298
2302
|
return false;
|
|
2299
2303
|
return true;
|
|
2300
2304
|
};
|
|
@@ -2341,55 +2345,55 @@
|
|
|
2341
2345
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
2342
2346
|
this.tenCardsInHand = tenCardsInHand;
|
|
2343
2347
|
}
|
|
2344
|
-
protoOf(Rules).
|
|
2348
|
+
protoOf(Rules).m2o = function () {
|
|
2345
2349
|
return this.needToPutHigherTrump;
|
|
2346
2350
|
};
|
|
2347
|
-
protoOf(Rules).
|
|
2351
|
+
protoOf(Rules).n2o = function () {
|
|
2348
2352
|
return this.distributePoints;
|
|
2349
2353
|
};
|
|
2350
|
-
protoOf(Rules).
|
|
2354
|
+
protoOf(Rules).o2o = function () {
|
|
2351
2355
|
return this.protectBella;
|
|
2352
2356
|
};
|
|
2353
|
-
protoOf(Rules).
|
|
2357
|
+
protoOf(Rules).p2o = function () {
|
|
2354
2358
|
return this.oneTryToProtectBella;
|
|
2355
2359
|
};
|
|
2356
|
-
protoOf(Rules).
|
|
2360
|
+
protoOf(Rules).q2o = function () {
|
|
2357
2361
|
return this.enableFourSevensCombination;
|
|
2358
2362
|
};
|
|
2359
|
-
protoOf(Rules).
|
|
2363
|
+
protoOf(Rules).r2o = function () {
|
|
2360
2364
|
return this.enableTrumpSevenCombination;
|
|
2361
2365
|
};
|
|
2362
|
-
protoOf(Rules).
|
|
2366
|
+
protoOf(Rules).s2o = function () {
|
|
2363
2367
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2364
2368
|
};
|
|
2365
|
-
protoOf(Rules).
|
|
2369
|
+
protoOf(Rules).t2o = function () {
|
|
2366
2370
|
return this.playerWhoChooseSuitGoFirst;
|
|
2367
2371
|
};
|
|
2368
|
-
protoOf(Rules).
|
|
2372
|
+
protoOf(Rules).u2o = function () {
|
|
2369
2373
|
return this.winnerShuffleCards;
|
|
2370
2374
|
};
|
|
2371
|
-
protoOf(Rules).
|
|
2375
|
+
protoOf(Rules).v2o = function () {
|
|
2372
2376
|
return this.playWithoutLiabilities;
|
|
2373
2377
|
};
|
|
2374
|
-
protoOf(Rules).
|
|
2378
|
+
protoOf(Rules).w2o = function () {
|
|
2375
2379
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2376
2380
|
};
|
|
2377
|
-
protoOf(Rules).
|
|
2381
|
+
protoOf(Rules).x2o = function () {
|
|
2378
2382
|
return this.enableFineIfNoBribes;
|
|
2379
2383
|
};
|
|
2380
|
-
protoOf(Rules).
|
|
2384
|
+
protoOf(Rules).y2o = function () {
|
|
2381
2385
|
return this.fineIfNoBribes;
|
|
2382
2386
|
};
|
|
2383
|
-
protoOf(Rules).
|
|
2387
|
+
protoOf(Rules).z2o = function () {
|
|
2384
2388
|
return this.enableFineAfterThirdByte;
|
|
2385
2389
|
};
|
|
2386
|
-
protoOf(Rules).
|
|
2390
|
+
protoOf(Rules).a2p = function () {
|
|
2387
2391
|
return this.checkTrumpCombination;
|
|
2388
2392
|
};
|
|
2389
|
-
protoOf(Rules).
|
|
2393
|
+
protoOf(Rules).b2p = function () {
|
|
2390
2394
|
return this.checkOnlyTrumpDebertz;
|
|
2391
2395
|
};
|
|
2392
|
-
protoOf(Rules).
|
|
2396
|
+
protoOf(Rules).c2p = function () {
|
|
2393
2397
|
return this.tenCardsInHand;
|
|
2394
2398
|
};
|
|
2395
2399
|
protoOf(Rules).toString = function () {
|
|
@@ -2595,49 +2599,49 @@
|
|
|
2595
2599
|
protoOf(Rules).qh = function () {
|
|
2596
2600
|
return this.protectBella;
|
|
2597
2601
|
};
|
|
2598
|
-
protoOf(Rules).
|
|
2602
|
+
protoOf(Rules).t2k = function () {
|
|
2599
2603
|
return this.oneTryToProtectBella;
|
|
2600
2604
|
};
|
|
2601
|
-
protoOf(Rules).
|
|
2605
|
+
protoOf(Rules).c2m = function () {
|
|
2602
2606
|
return this.enableFourSevensCombination;
|
|
2603
2607
|
};
|
|
2604
|
-
protoOf(Rules).
|
|
2608
|
+
protoOf(Rules).d2m = function () {
|
|
2605
2609
|
return this.enableTrumpSevenCombination;
|
|
2606
2610
|
};
|
|
2607
|
-
protoOf(Rules).
|
|
2611
|
+
protoOf(Rules).d2p = function () {
|
|
2608
2612
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2609
2613
|
};
|
|
2610
|
-
protoOf(Rules).
|
|
2614
|
+
protoOf(Rules).e2p = function () {
|
|
2611
2615
|
return this.playerWhoChooseSuitGoFirst;
|
|
2612
2616
|
};
|
|
2613
|
-
protoOf(Rules).
|
|
2617
|
+
protoOf(Rules).f2p = function () {
|
|
2614
2618
|
return this.winnerShuffleCards;
|
|
2615
2619
|
};
|
|
2616
|
-
protoOf(Rules).
|
|
2620
|
+
protoOf(Rules).g2p = function () {
|
|
2617
2621
|
return this.playWithoutLiabilities;
|
|
2618
2622
|
};
|
|
2619
|
-
protoOf(Rules).
|
|
2623
|
+
protoOf(Rules).h2p = function () {
|
|
2620
2624
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2621
2625
|
};
|
|
2622
|
-
protoOf(Rules).
|
|
2626
|
+
protoOf(Rules).i2p = function () {
|
|
2623
2627
|
return this.enableFineIfNoBribes;
|
|
2624
2628
|
};
|
|
2625
|
-
protoOf(Rules).
|
|
2629
|
+
protoOf(Rules).j2p = function () {
|
|
2626
2630
|
return this.fineIfNoBribes;
|
|
2627
2631
|
};
|
|
2628
|
-
protoOf(Rules).
|
|
2632
|
+
protoOf(Rules).k2p = function () {
|
|
2629
2633
|
return this.enableFineAfterThirdByte;
|
|
2630
2634
|
};
|
|
2631
|
-
protoOf(Rules).
|
|
2635
|
+
protoOf(Rules).l2p = function () {
|
|
2632
2636
|
return this.checkTrumpCombination;
|
|
2633
2637
|
};
|
|
2634
|
-
protoOf(Rules).
|
|
2638
|
+
protoOf(Rules).m2p = function () {
|
|
2635
2639
|
return this.checkOnlyTrumpDebertz;
|
|
2636
2640
|
};
|
|
2637
|
-
protoOf(Rules).
|
|
2641
|
+
protoOf(Rules).n2p = function () {
|
|
2638
2642
|
return this.tenCardsInHand;
|
|
2639
2643
|
};
|
|
2640
|
-
protoOf(Rules).
|
|
2644
|
+
protoOf(Rules).o2p = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2641
2645
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2642
2646
|
};
|
|
2643
2647
|
protoOf(Rules).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -2658,7 +2662,7 @@
|
|
|
2658
2662
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
2659
2663
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
2660
2664
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
2661
|
-
return this.
|
|
2665
|
+
return this.o2p(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2662
2666
|
};
|
|
2663
2667
|
protoOf(Rules).hashCode = function () {
|
|
2664
2668
|
var result = getBooleanHashCode(this.needToPutHigherTrump);
|
|
@@ -2796,7 +2800,7 @@
|
|
|
2796
2800
|
}
|
|
2797
2801
|
return tmp;
|
|
2798
2802
|
};
|
|
2799
|
-
protoOf(RulesSetType).
|
|
2803
|
+
protoOf(RulesSetType).r2p = function () {
|
|
2800
2804
|
return this.equals(RulesSetType_custom_getInstance());
|
|
2801
2805
|
};
|
|
2802
2806
|
function RulesSetType_belot_getInstance() {
|
|
@@ -2824,7 +2828,7 @@
|
|
|
2824
2828
|
return RulesSetType_custom_instance;
|
|
2825
2829
|
}
|
|
2826
2830
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2827
|
-
return $this.
|
|
2831
|
+
return $this.s2p_1.o2();
|
|
2828
2832
|
}
|
|
2829
2833
|
function BufferedActionDto$Companion$_anonymous__7htcgr() {
|
|
2830
2834
|
var tmp = getKClass(BufferedActionDto);
|
|
@@ -2838,7 +2842,7 @@
|
|
|
2838
2842
|
Companion_instance_14 = this;
|
|
2839
2843
|
var tmp = this;
|
|
2840
2844
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2841
|
-
tmp.
|
|
2845
|
+
tmp.s2p_1 = lazy(tmp_0, BufferedActionDto$Companion$_anonymous__7htcgr);
|
|
2842
2846
|
}
|
|
2843
2847
|
protoOf(Companion_14).v16 = function () {
|
|
2844
2848
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
@@ -2859,7 +2863,7 @@
|
|
|
2859
2863
|
Companion_getInstance_16();
|
|
2860
2864
|
}
|
|
2861
2865
|
function mapToDto(_this__u8e3s4) {
|
|
2862
|
-
return _this__u8e3s4.
|
|
2866
|
+
return _this__u8e3s4.u2p_1;
|
|
2863
2867
|
}
|
|
2864
2868
|
function mapFromDto(_this__u8e3s4) {
|
|
2865
2869
|
return new GameCard(_this__u8e3s4);
|
|
@@ -3078,11 +3082,11 @@
|
|
|
3078
3082
|
tmp = null;
|
|
3079
3083
|
}
|
|
3080
3084
|
var tmp$ret$1 = tmp;
|
|
3081
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
3085
|
+
return new GameUserInfoDto(_this__u8e3s4.x2l_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1, _this__u8e3s4.initialLuckyFactor);
|
|
3082
3086
|
}
|
|
3083
3087
|
function mapFromDto_1(_this__u8e3s4) {
|
|
3084
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
3085
|
-
return new GameUserInfo(_this__u8e3s4.
|
|
3088
|
+
var tmp0_elvis_lhs = _this__u8e3s4.y2p_1;
|
|
3089
|
+
return new GameUserInfo(_this__u8e3s4.v2p_1, _this__u8e3s4.w2p_1, _this__u8e3s4.x2p_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.z2p_1);
|
|
3086
3090
|
}
|
|
3087
3091
|
function Companion_15() {
|
|
3088
3092
|
}
|
|
@@ -3098,10 +3102,10 @@
|
|
|
3098
3102
|
tmp0_serialDesc.mu('avatarUrl', true);
|
|
3099
3103
|
tmp0_serialDesc.mu('isBot', true);
|
|
3100
3104
|
tmp0_serialDesc.mu('initialLuckyFactor', true);
|
|
3101
|
-
this.
|
|
3105
|
+
this.a2q_1 = tmp0_serialDesc;
|
|
3102
3106
|
}
|
|
3103
3107
|
protoOf($serializer_5).pj = function () {
|
|
3104
|
-
return this.
|
|
3108
|
+
return this.a2q_1;
|
|
3105
3109
|
};
|
|
3106
3110
|
protoOf($serializer_5).bv = function () {
|
|
3107
3111
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3110,7 +3114,7 @@
|
|
|
3110
3114
|
return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
|
|
3111
3115
|
};
|
|
3112
3116
|
protoOf($serializer_5).rj = function (decoder) {
|
|
3113
|
-
var tmp0_desc = this.
|
|
3117
|
+
var tmp0_desc = this.a2q_1;
|
|
3114
3118
|
var tmp1_flag = true;
|
|
3115
3119
|
var tmp2_index = 0;
|
|
3116
3120
|
var tmp3_bitMask0 = 0;
|
|
@@ -3165,24 +3169,24 @@
|
|
|
3165
3169
|
tmp9_input.ym(tmp0_desc);
|
|
3166
3170
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
3167
3171
|
};
|
|
3168
|
-
protoOf($serializer_5).
|
|
3169
|
-
var tmp0_desc = this.
|
|
3172
|
+
protoOf($serializer_5).b2q = function (encoder, value) {
|
|
3173
|
+
var tmp0_desc = this.a2q_1;
|
|
3170
3174
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3171
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
3172
|
-
tmp1_output.mo(tmp0_desc, 1, value.
|
|
3173
|
-
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.
|
|
3174
|
-
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3175
|
+
tmp1_output.mo(tmp0_desc, 0, value.v2p_1);
|
|
3176
|
+
tmp1_output.mo(tmp0_desc, 1, value.w2p_1);
|
|
3177
|
+
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.x2p_1 == null)) {
|
|
3178
|
+
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.x2p_1);
|
|
3175
3179
|
}
|
|
3176
|
-
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.
|
|
3177
|
-
tmp1_output.qo(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
3180
|
+
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.y2p_1 == null)) {
|
|
3181
|
+
tmp1_output.qo(tmp0_desc, 3, BooleanSerializer_getInstance(), value.y2p_1);
|
|
3178
3182
|
}
|
|
3179
|
-
if (tmp1_output.uo(tmp0_desc, 4) ? true : !(value.
|
|
3180
|
-
tmp1_output.qo(tmp0_desc, 4, FloatSerializer_getInstance(), value.
|
|
3183
|
+
if (tmp1_output.uo(tmp0_desc, 4) ? true : !(value.z2p_1 == null)) {
|
|
3184
|
+
tmp1_output.qo(tmp0_desc, 4, FloatSerializer_getInstance(), value.z2p_1);
|
|
3181
3185
|
}
|
|
3182
3186
|
tmp1_output.ym(tmp0_desc);
|
|
3183
3187
|
};
|
|
3184
3188
|
protoOf($serializer_5).qj = function (encoder, value) {
|
|
3185
|
-
return this.
|
|
3189
|
+
return this.b2q(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
3186
3190
|
};
|
|
3187
3191
|
var $serializer_instance_5;
|
|
3188
3192
|
function $serializer_getInstance_5() {
|
|
@@ -3192,22 +3196,22 @@
|
|
|
3192
3196
|
}
|
|
3193
3197
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
3194
3198
|
if (!(3 === (3 & seen1))) {
|
|
3195
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().
|
|
3199
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().a2q_1);
|
|
3196
3200
|
}
|
|
3197
|
-
$this.
|
|
3198
|
-
$this.
|
|
3201
|
+
$this.v2p_1 = playerId;
|
|
3202
|
+
$this.w2p_1 = name;
|
|
3199
3203
|
if (0 === (seen1 & 4))
|
|
3200
|
-
$this.
|
|
3204
|
+
$this.x2p_1 = null;
|
|
3201
3205
|
else
|
|
3202
|
-
$this.
|
|
3206
|
+
$this.x2p_1 = avatarUrl;
|
|
3203
3207
|
if (0 === (seen1 & 8))
|
|
3204
|
-
$this.
|
|
3208
|
+
$this.y2p_1 = null;
|
|
3205
3209
|
else
|
|
3206
|
-
$this.
|
|
3210
|
+
$this.y2p_1 = isBot;
|
|
3207
3211
|
if (0 === (seen1 & 16))
|
|
3208
|
-
$this.
|
|
3212
|
+
$this.z2p_1 = null;
|
|
3209
3213
|
else
|
|
3210
|
-
$this.
|
|
3214
|
+
$this.z2p_1 = initialLuckyFactor;
|
|
3211
3215
|
return $this;
|
|
3212
3216
|
}
|
|
3213
3217
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -3217,35 +3221,35 @@
|
|
|
3217
3221
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
3218
3222
|
isBot = isBot === VOID ? null : isBot;
|
|
3219
3223
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
3220
|
-
this.
|
|
3221
|
-
this.
|
|
3222
|
-
this.
|
|
3223
|
-
this.
|
|
3224
|
-
this.
|
|
3224
|
+
this.v2p_1 = playerId;
|
|
3225
|
+
this.w2p_1 = name;
|
|
3226
|
+
this.x2p_1 = avatarUrl;
|
|
3227
|
+
this.y2p_1 = isBot;
|
|
3228
|
+
this.z2p_1 = initialLuckyFactor;
|
|
3225
3229
|
}
|
|
3226
|
-
protoOf(GameUserInfoDto).
|
|
3227
|
-
return this.
|
|
3230
|
+
protoOf(GameUserInfoDto).c2q = function () {
|
|
3231
|
+
return this.d2q(VOID, VOID, VOID, null, null);
|
|
3228
3232
|
};
|
|
3229
|
-
protoOf(GameUserInfoDto).
|
|
3233
|
+
protoOf(GameUserInfoDto).e2q = function (playerId, name, avatarUrl, isBot, initialLuckyFactor) {
|
|
3230
3234
|
return new GameUserInfoDto(playerId, name, avatarUrl, isBot, initialLuckyFactor);
|
|
3231
3235
|
};
|
|
3232
|
-
protoOf(GameUserInfoDto).
|
|
3233
|
-
playerId = playerId === VOID ? this.
|
|
3234
|
-
name = name === VOID ? this.
|
|
3235
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
3236
|
-
isBot = isBot === VOID ? this.
|
|
3237
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
3238
|
-
return $super === VOID ? this.
|
|
3236
|
+
protoOf(GameUserInfoDto).d2q = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, $super) {
|
|
3237
|
+
playerId = playerId === VOID ? this.v2p_1 : playerId;
|
|
3238
|
+
name = name === VOID ? this.w2p_1 : name;
|
|
3239
|
+
avatarUrl = avatarUrl === VOID ? this.x2p_1 : avatarUrl;
|
|
3240
|
+
isBot = isBot === VOID ? this.y2p_1 : isBot;
|
|
3241
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.z2p_1 : initialLuckyFactor;
|
|
3242
|
+
return $super === VOID ? this.e2q(playerId, name, avatarUrl, isBot, initialLuckyFactor) : $super.e2q.call(this, playerId, name, avatarUrl, isBot, initialLuckyFactor);
|
|
3239
3243
|
};
|
|
3240
3244
|
protoOf(GameUserInfoDto).toString = function () {
|
|
3241
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
3245
|
+
return 'GameUserInfoDto(playerId=' + this.v2p_1 + ', name=' + this.w2p_1 + ', avatarUrl=' + this.x2p_1 + ', isBot=' + this.y2p_1 + ', initialLuckyFactor=' + this.z2p_1 + ')';
|
|
3242
3246
|
};
|
|
3243
3247
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
3244
|
-
var result = getStringHashCode(this.
|
|
3245
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3246
|
-
result = imul(result, 31) + (this.
|
|
3247
|
-
result = imul(result, 31) + (this.
|
|
3248
|
-
result = imul(result, 31) + (this.
|
|
3248
|
+
var result = getStringHashCode(this.v2p_1);
|
|
3249
|
+
result = imul(result, 31) + getStringHashCode(this.w2p_1) | 0;
|
|
3250
|
+
result = imul(result, 31) + (this.x2p_1 == null ? 0 : getStringHashCode(this.x2p_1)) | 0;
|
|
3251
|
+
result = imul(result, 31) + (this.y2p_1 == null ? 0 : getBooleanHashCode(this.y2p_1)) | 0;
|
|
3252
|
+
result = imul(result, 31) + (this.z2p_1 == null ? 0 : getNumberHashCode(this.z2p_1)) | 0;
|
|
3249
3253
|
return result;
|
|
3250
3254
|
};
|
|
3251
3255
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -3254,15 +3258,15 @@
|
|
|
3254
3258
|
if (!(other instanceof GameUserInfoDto))
|
|
3255
3259
|
return false;
|
|
3256
3260
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
3257
|
-
if (!(this.u2p_1 === tmp0_other_with_cast.u2p_1))
|
|
3258
|
-
return false;
|
|
3259
3261
|
if (!(this.v2p_1 === tmp0_other_with_cast.v2p_1))
|
|
3260
3262
|
return false;
|
|
3261
|
-
if (!(this.w2p_1
|
|
3263
|
+
if (!(this.w2p_1 === tmp0_other_with_cast.w2p_1))
|
|
3262
3264
|
return false;
|
|
3263
3265
|
if (!(this.x2p_1 == tmp0_other_with_cast.x2p_1))
|
|
3264
3266
|
return false;
|
|
3265
|
-
if (!
|
|
3267
|
+
if (!(this.y2p_1 == tmp0_other_with_cast.y2p_1))
|
|
3268
|
+
return false;
|
|
3269
|
+
if (!equals(this.z2p_1, tmp0_other_with_cast.z2p_1))
|
|
3266
3270
|
return false;
|
|
3267
3271
|
return true;
|
|
3268
3272
|
};
|
|
@@ -3272,7 +3276,7 @@
|
|
|
3272
3276
|
// Inline function 'kotlin.arrayOf' call
|
|
3273
3277
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3274
3278
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3275
|
-
tmp.
|
|
3279
|
+
tmp.f2q_1 = [Companion_getInstance_12().v16(), null, null];
|
|
3276
3280
|
}
|
|
3277
3281
|
var Companion_instance_16;
|
|
3278
3282
|
function Companion_getInstance_18() {
|
|
@@ -3286,19 +3290,19 @@
|
|
|
3286
3290
|
tmp0_serialDesc.mu('state', false);
|
|
3287
3291
|
tmp0_serialDesc.mu('connectionChangedTime', false);
|
|
3288
3292
|
tmp0_serialDesc.mu('notLiveDurationRecord', false);
|
|
3289
|
-
this.
|
|
3293
|
+
this.g2q_1 = tmp0_serialDesc;
|
|
3290
3294
|
}
|
|
3291
3295
|
protoOf($serializer_6).pj = function () {
|
|
3292
|
-
return this.
|
|
3296
|
+
return this.g2q_1;
|
|
3293
3297
|
};
|
|
3294
3298
|
protoOf($serializer_6).bv = function () {
|
|
3295
3299
|
// Inline function 'kotlin.arrayOf' call
|
|
3296
3300
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3297
3301
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3298
|
-
return [Companion_getInstance_18().
|
|
3302
|
+
return [Companion_getInstance_18().f2q_1[0], StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
3299
3303
|
};
|
|
3300
3304
|
protoOf($serializer_6).rj = function (decoder) {
|
|
3301
|
-
var tmp0_desc = this.
|
|
3305
|
+
var tmp0_desc = this.g2q_1;
|
|
3302
3306
|
var tmp1_flag = true;
|
|
3303
3307
|
var tmp2_index = 0;
|
|
3304
3308
|
var tmp3_bitMask0 = 0;
|
|
@@ -3306,7 +3310,7 @@
|
|
|
3306
3310
|
var tmp5_local1 = null;
|
|
3307
3311
|
var tmp6_local2 = null;
|
|
3308
3312
|
var tmp7_input = decoder.xm(tmp0_desc);
|
|
3309
|
-
var tmp8_cached = Companion_getInstance_18().
|
|
3313
|
+
var tmp8_cached = Companion_getInstance_18().f2q_1;
|
|
3310
3314
|
if (tmp7_input.nn()) {
|
|
3311
3315
|
tmp4_local0 = tmp7_input.jn(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
3312
3316
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3340,17 +3344,17 @@
|
|
|
3340
3344
|
tmp7_input.ym(tmp0_desc);
|
|
3341
3345
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
3342
3346
|
};
|
|
3343
|
-
protoOf($serializer_6).
|
|
3344
|
-
var tmp0_desc = this.
|
|
3347
|
+
protoOf($serializer_6).h2q = function (encoder, value) {
|
|
3348
|
+
var tmp0_desc = this.g2q_1;
|
|
3345
3349
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3346
|
-
var tmp2_cached = Companion_getInstance_18().
|
|
3347
|
-
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.
|
|
3348
|
-
tmp1_output.mo(tmp0_desc, 1, value.
|
|
3349
|
-
tmp1_output.mo(tmp0_desc, 2, value.
|
|
3350
|
+
var tmp2_cached = Companion_getInstance_18().f2q_1;
|
|
3351
|
+
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.i2q_1);
|
|
3352
|
+
tmp1_output.mo(tmp0_desc, 1, value.j2q_1);
|
|
3353
|
+
tmp1_output.mo(tmp0_desc, 2, value.k2q_1);
|
|
3350
3354
|
tmp1_output.ym(tmp0_desc);
|
|
3351
3355
|
};
|
|
3352
3356
|
protoOf($serializer_6).qj = function (encoder, value) {
|
|
3353
|
-
return this.
|
|
3357
|
+
return this.h2q(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
3354
3358
|
};
|
|
3355
3359
|
var $serializer_instance_6;
|
|
3356
3360
|
function $serializer_getInstance_6() {
|
|
@@ -3360,11 +3364,11 @@
|
|
|
3360
3364
|
}
|
|
3361
3365
|
function PlayerConnectionDto_init_$Init$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
3362
3366
|
if (!(7 === (7 & seen1))) {
|
|
3363
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().
|
|
3367
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().g2q_1);
|
|
3364
3368
|
}
|
|
3365
|
-
$this.
|
|
3366
|
-
$this.
|
|
3367
|
-
$this.
|
|
3369
|
+
$this.i2q_1 = state;
|
|
3370
|
+
$this.j2q_1 = connectionChangedTime;
|
|
3371
|
+
$this.k2q_1 = notLiveDurationRecord;
|
|
3368
3372
|
return $this;
|
|
3369
3373
|
}
|
|
3370
3374
|
function PlayerConnectionDto_init_$Create$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -3373,12 +3377,12 @@
|
|
|
3373
3377
|
function PlayerConnectionDto() {
|
|
3374
3378
|
}
|
|
3375
3379
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
3376
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
3380
|
+
return 'PlayerConnectionDto(state=' + this.i2q_1 + ', connectionChangedTime=' + this.j2q_1 + ', notLiveDurationRecord=' + this.k2q_1 + ')';
|
|
3377
3381
|
};
|
|
3378
3382
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
3379
|
-
var result = this.
|
|
3380
|
-
result = imul(result, 31) + getStringHashCode(this.i2q_1) | 0;
|
|
3383
|
+
var result = this.i2q_1.hashCode();
|
|
3381
3384
|
result = imul(result, 31) + getStringHashCode(this.j2q_1) | 0;
|
|
3385
|
+
result = imul(result, 31) + getStringHashCode(this.k2q_1) | 0;
|
|
3382
3386
|
return result;
|
|
3383
3387
|
};
|
|
3384
3388
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -3387,12 +3391,12 @@
|
|
|
3387
3391
|
if (!(other instanceof PlayerConnectionDto))
|
|
3388
3392
|
return false;
|
|
3389
3393
|
var tmp0_other_with_cast = other instanceof PlayerConnectionDto ? other : THROW_CCE();
|
|
3390
|
-
if (!this.
|
|
3391
|
-
return false;
|
|
3392
|
-
if (!(this.i2q_1 === tmp0_other_with_cast.i2q_1))
|
|
3394
|
+
if (!this.i2q_1.equals(tmp0_other_with_cast.i2q_1))
|
|
3393
3395
|
return false;
|
|
3394
3396
|
if (!(this.j2q_1 === tmp0_other_with_cast.j2q_1))
|
|
3395
3397
|
return false;
|
|
3398
|
+
if (!(this.k2q_1 === tmp0_other_with_cast.k2q_1))
|
|
3399
|
+
return false;
|
|
3396
3400
|
return true;
|
|
3397
3401
|
};
|
|
3398
3402
|
function Companion_17() {
|
|
@@ -3401,7 +3405,7 @@
|
|
|
3401
3405
|
// Inline function 'kotlin.arrayOf' call
|
|
3402
3406
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3403
3407
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3404
|
-
tmp.
|
|
3408
|
+
tmp.l2q_1 = [null, null, null, null, Companion_getInstance_13().v16(), null, null, null];
|
|
3405
3409
|
}
|
|
3406
3410
|
var Companion_instance_17;
|
|
3407
3411
|
function Companion_getInstance_19() {
|
|
@@ -3420,20 +3424,20 @@
|
|
|
3420
3424
|
tmp0_serialDesc.mu('ready', false);
|
|
3421
3425
|
tmp0_serialDesc.mu('tag', true);
|
|
3422
3426
|
tmp0_serialDesc.mu('connection', true);
|
|
3423
|
-
this.
|
|
3427
|
+
this.m2q_1 = tmp0_serialDesc;
|
|
3424
3428
|
}
|
|
3425
3429
|
protoOf($serializer_7).pj = function () {
|
|
3426
|
-
return this.
|
|
3430
|
+
return this.m2q_1;
|
|
3427
3431
|
};
|
|
3428
3432
|
protoOf($serializer_7).bv = function () {
|
|
3429
|
-
var tmp0_cached = Companion_getInstance_19().
|
|
3433
|
+
var tmp0_cached = Companion_getInstance_19().l2q_1;
|
|
3430
3434
|
// Inline function 'kotlin.arrayOf' call
|
|
3431
3435
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3432
3436
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3433
3437
|
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())];
|
|
3434
3438
|
};
|
|
3435
3439
|
protoOf($serializer_7).rj = function (decoder) {
|
|
3436
|
-
var tmp0_desc = this.
|
|
3440
|
+
var tmp0_desc = this.m2q_1;
|
|
3437
3441
|
var tmp1_flag = true;
|
|
3438
3442
|
var tmp2_index = 0;
|
|
3439
3443
|
var tmp3_bitMask0 = 0;
|
|
@@ -3446,7 +3450,7 @@
|
|
|
3446
3450
|
var tmp10_local6 = null;
|
|
3447
3451
|
var tmp11_local7 = null;
|
|
3448
3452
|
var tmp12_input = decoder.xm(tmp0_desc);
|
|
3449
|
-
var tmp13_cached = Companion_getInstance_19().
|
|
3453
|
+
var tmp13_cached = Companion_getInstance_19().l2q_1;
|
|
3450
3454
|
if (tmp12_input.nn()) {
|
|
3451
3455
|
tmp4_local0 = tmp12_input.ln(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
3452
3456
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3510,34 +3514,34 @@
|
|
|
3510
3514
|
tmp12_input.ym(tmp0_desc);
|
|
3511
3515
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
3512
3516
|
};
|
|
3513
|
-
protoOf($serializer_7).
|
|
3514
|
-
var tmp0_desc = this.
|
|
3517
|
+
protoOf($serializer_7).n2q = function (encoder, value) {
|
|
3518
|
+
var tmp0_desc = this.m2q_1;
|
|
3515
3519
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3516
|
-
var tmp2_cached = Companion_getInstance_19().
|
|
3517
|
-
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.
|
|
3518
|
-
tmp1_output.qo(tmp0_desc, 0, LongSerializer_getInstance(), value.
|
|
3520
|
+
var tmp2_cached = Companion_getInstance_19().l2q_1;
|
|
3521
|
+
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.o2q_1 == null)) {
|
|
3522
|
+
tmp1_output.qo(tmp0_desc, 0, LongSerializer_getInstance(), value.o2q_1);
|
|
3519
3523
|
}
|
|
3520
|
-
if (tmp1_output.uo(tmp0_desc, 1) ? true : !(value.
|
|
3521
|
-
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
3524
|
+
if (tmp1_output.uo(tmp0_desc, 1) ? true : !(value.p2q_1 == null)) {
|
|
3525
|
+
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.p2q_1);
|
|
3522
3526
|
}
|
|
3523
|
-
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.
|
|
3524
|
-
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3527
|
+
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.q2q_1 == null)) {
|
|
3528
|
+
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.q2q_1);
|
|
3525
3529
|
}
|
|
3526
|
-
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.
|
|
3527
|
-
tmp1_output.qo(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
3530
|
+
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.r2q_1 == null)) {
|
|
3531
|
+
tmp1_output.qo(tmp0_desc, 3, StringSerializer_getInstance(), value.r2q_1);
|
|
3528
3532
|
}
|
|
3529
|
-
tmp1_output.oo(tmp0_desc, 4, tmp2_cached[4], value.
|
|
3530
|
-
tmp1_output.eo(tmp0_desc, 5, value.
|
|
3531
|
-
if (tmp1_output.uo(tmp0_desc, 6) ? true : !(value.
|
|
3532
|
-
tmp1_output.qo(tmp0_desc, 6, StringSerializer_getInstance(), value.
|
|
3533
|
+
tmp1_output.oo(tmp0_desc, 4, tmp2_cached[4], value.s2q_1);
|
|
3534
|
+
tmp1_output.eo(tmp0_desc, 5, value.t2q_1);
|
|
3535
|
+
if (tmp1_output.uo(tmp0_desc, 6) ? true : !(value.u2q_1 == null)) {
|
|
3536
|
+
tmp1_output.qo(tmp0_desc, 6, StringSerializer_getInstance(), value.u2q_1);
|
|
3533
3537
|
}
|
|
3534
|
-
if (tmp1_output.uo(tmp0_desc, 7) ? true : !(value.
|
|
3535
|
-
tmp1_output.qo(tmp0_desc, 7, $serializer_getInstance_6(), value.
|
|
3538
|
+
if (tmp1_output.uo(tmp0_desc, 7) ? true : !(value.v2q_1 == null)) {
|
|
3539
|
+
tmp1_output.qo(tmp0_desc, 7, $serializer_getInstance_6(), value.v2q_1);
|
|
3536
3540
|
}
|
|
3537
3541
|
tmp1_output.ym(tmp0_desc);
|
|
3538
3542
|
};
|
|
3539
3543
|
protoOf($serializer_7).qj = function (encoder, value) {
|
|
3540
|
-
return this.
|
|
3544
|
+
return this.n2q(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3541
3545
|
};
|
|
3542
3546
|
var $serializer_instance_7;
|
|
3543
3547
|
function $serializer_getInstance_7() {
|
|
@@ -3547,34 +3551,34 @@
|
|
|
3547
3551
|
}
|
|
3548
3552
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3549
3553
|
if (!(48 === (48 & seen1))) {
|
|
3550
|
-
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().
|
|
3554
|
+
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().m2q_1);
|
|
3551
3555
|
}
|
|
3552
3556
|
if (0 === (seen1 & 1))
|
|
3553
|
-
$this.
|
|
3557
|
+
$this.o2q_1 = null;
|
|
3554
3558
|
else
|
|
3555
|
-
$this.
|
|
3559
|
+
$this.o2q_1 = startFromTime;
|
|
3556
3560
|
if (0 === (seen1 & 2))
|
|
3557
|
-
$this.
|
|
3561
|
+
$this.p2q_1 = null;
|
|
3558
3562
|
else
|
|
3559
|
-
$this.
|
|
3563
|
+
$this.p2q_1 = startFrom;
|
|
3560
3564
|
if (0 === (seen1 & 4))
|
|
3561
|
-
$this.
|
|
3565
|
+
$this.q2q_1 = null;
|
|
3562
3566
|
else
|
|
3563
|
-
$this.
|
|
3567
|
+
$this.q2q_1 = playerTurnTimeout;
|
|
3564
3568
|
if (0 === (seen1 & 8))
|
|
3565
|
-
$this.
|
|
3569
|
+
$this.r2q_1 = null;
|
|
3566
3570
|
else
|
|
3567
|
-
$this.
|
|
3568
|
-
$this.
|
|
3569
|
-
$this.
|
|
3571
|
+
$this.r2q_1 = waitPlayerUntilTime;
|
|
3572
|
+
$this.s2q_1 = state;
|
|
3573
|
+
$this.t2q_1 = ready;
|
|
3570
3574
|
if (0 === (seen1 & 64))
|
|
3571
|
-
$this.
|
|
3575
|
+
$this.u2q_1 = null;
|
|
3572
3576
|
else
|
|
3573
|
-
$this.
|
|
3577
|
+
$this.u2q_1 = tag;
|
|
3574
3578
|
if (0 === (seen1 & 128))
|
|
3575
|
-
$this.
|
|
3579
|
+
$this.v2q_1 = null;
|
|
3576
3580
|
else
|
|
3577
|
-
$this.
|
|
3581
|
+
$this.v2q_1 = connection;
|
|
3578
3582
|
return $this;
|
|
3579
3583
|
}
|
|
3580
3584
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -3583,17 +3587,17 @@
|
|
|
3583
3587
|
function PlayerStateDto() {
|
|
3584
3588
|
}
|
|
3585
3589
|
protoOf(PlayerStateDto).toString = function () {
|
|
3586
|
-
return 'PlayerStateDto(startFromTime=' + toString(this.
|
|
3590
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.o2q_1) + ', startFrom=' + this.p2q_1 + ', playerTurnTimeout=' + this.q2q_1 + ', waitPlayerUntilTime=' + this.r2q_1 + ', state=' + this.s2q_1 + ', ready=' + this.t2q_1 + ', tag=' + this.u2q_1 + ', connection=' + this.v2q_1 + ')';
|
|
3587
3591
|
};
|
|
3588
3592
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3589
|
-
var result = this.
|
|
3590
|
-
result = imul(result, 31) + (this.o2q_1 == null ? 0 : getStringHashCode(this.o2q_1)) | 0;
|
|
3593
|
+
var result = this.o2q_1 == null ? 0 : this.o2q_1.hashCode();
|
|
3591
3594
|
result = imul(result, 31) + (this.p2q_1 == null ? 0 : getStringHashCode(this.p2q_1)) | 0;
|
|
3592
3595
|
result = imul(result, 31) + (this.q2q_1 == null ? 0 : getStringHashCode(this.q2q_1)) | 0;
|
|
3593
|
-
result = imul(result, 31) + this.r2q_1.
|
|
3594
|
-
result = imul(result, 31) +
|
|
3595
|
-
result = imul(result, 31) + (this.t2q_1
|
|
3596
|
-
result = imul(result, 31) + (this.u2q_1 == null ? 0 : this.u2q_1
|
|
3596
|
+
result = imul(result, 31) + (this.r2q_1 == null ? 0 : getStringHashCode(this.r2q_1)) | 0;
|
|
3597
|
+
result = imul(result, 31) + this.s2q_1.hashCode() | 0;
|
|
3598
|
+
result = imul(result, 31) + getBooleanHashCode(this.t2q_1) | 0;
|
|
3599
|
+
result = imul(result, 31) + (this.u2q_1 == null ? 0 : getStringHashCode(this.u2q_1)) | 0;
|
|
3600
|
+
result = imul(result, 31) + (this.v2q_1 == null ? 0 : this.v2q_1.hashCode()) | 0;
|
|
3597
3601
|
return result;
|
|
3598
3602
|
};
|
|
3599
3603
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3602,21 +3606,21 @@
|
|
|
3602
3606
|
if (!(other instanceof PlayerStateDto))
|
|
3603
3607
|
return false;
|
|
3604
3608
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3605
|
-
if (!equals(this.
|
|
3606
|
-
return false;
|
|
3607
|
-
if (!(this.o2q_1 == tmp0_other_with_cast.o2q_1))
|
|
3609
|
+
if (!equals(this.o2q_1, tmp0_other_with_cast.o2q_1))
|
|
3608
3610
|
return false;
|
|
3609
3611
|
if (!(this.p2q_1 == tmp0_other_with_cast.p2q_1))
|
|
3610
3612
|
return false;
|
|
3611
3613
|
if (!(this.q2q_1 == tmp0_other_with_cast.q2q_1))
|
|
3612
3614
|
return false;
|
|
3613
|
-
if (!this.r2q_1
|
|
3615
|
+
if (!(this.r2q_1 == tmp0_other_with_cast.r2q_1))
|
|
3616
|
+
return false;
|
|
3617
|
+
if (!this.s2q_1.equals(tmp0_other_with_cast.s2q_1))
|
|
3614
3618
|
return false;
|
|
3615
|
-
if (!(this.
|
|
3619
|
+
if (!(this.t2q_1 === tmp0_other_with_cast.t2q_1))
|
|
3616
3620
|
return false;
|
|
3617
|
-
if (!(this.
|
|
3621
|
+
if (!(this.u2q_1 == tmp0_other_with_cast.u2q_1))
|
|
3618
3622
|
return false;
|
|
3619
|
-
if (!equals(this.
|
|
3623
|
+
if (!equals(this.v2q_1, tmp0_other_with_cast.v2q_1))
|
|
3620
3624
|
return false;
|
|
3621
3625
|
return true;
|
|
3622
3626
|
};
|
|
@@ -3649,10 +3653,10 @@
|
|
|
3649
3653
|
tmp0_serialDesc.mu('checkTrumpCombination', true);
|
|
3650
3654
|
tmp0_serialDesc.mu('checkOnlyTrumpDebertz', true);
|
|
3651
3655
|
tmp0_serialDesc.mu('tenCardsInHand', true);
|
|
3652
|
-
this.
|
|
3656
|
+
this.w2q_1 = tmp0_serialDesc;
|
|
3653
3657
|
}
|
|
3654
3658
|
protoOf($serializer_8).pj = function () {
|
|
3655
|
-
return this.
|
|
3659
|
+
return this.w2q_1;
|
|
3656
3660
|
};
|
|
3657
3661
|
protoOf($serializer_8).bv = function () {
|
|
3658
3662
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3661,7 +3665,7 @@
|
|
|
3661
3665
|
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())];
|
|
3662
3666
|
};
|
|
3663
3667
|
protoOf($serializer_8).rj = function (decoder) {
|
|
3664
|
-
var tmp0_desc = this.
|
|
3668
|
+
var tmp0_desc = this.w2q_1;
|
|
3665
3669
|
var tmp1_flag = true;
|
|
3666
3670
|
var tmp2_index = 0;
|
|
3667
3671
|
var tmp3_bitMask0 = 0;
|
|
@@ -3800,8 +3804,8 @@
|
|
|
3800
3804
|
tmp21_input.ym(tmp0_desc);
|
|
3801
3805
|
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);
|
|
3802
3806
|
};
|
|
3803
|
-
protoOf($serializer_8).
|
|
3804
|
-
var tmp0_desc = this.
|
|
3807
|
+
protoOf($serializer_8).x2q = function (encoder, value) {
|
|
3808
|
+
var tmp0_desc = this.w2q_1;
|
|
3805
3809
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3806
3810
|
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.needToPutHigherTrump == null)) {
|
|
3807
3811
|
tmp1_output.qo(tmp0_desc, 0, BooleanSerializer_getInstance(), value.needToPutHigherTrump);
|
|
@@ -3855,7 +3859,7 @@
|
|
|
3855
3859
|
tmp1_output.ym(tmp0_desc);
|
|
3856
3860
|
};
|
|
3857
3861
|
protoOf($serializer_8).qj = function (encoder, value) {
|
|
3858
|
-
return this.
|
|
3862
|
+
return this.x2q(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3859
3863
|
};
|
|
3860
3864
|
var $serializer_instance_8;
|
|
3861
3865
|
function $serializer_getInstance_8() {
|
|
@@ -3865,7 +3869,7 @@
|
|
|
3865
3869
|
}
|
|
3866
3870
|
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
3867
3871
|
if (!(4096 === (4096 & seen1))) {
|
|
3868
|
-
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().
|
|
3872
|
+
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().w2q_1);
|
|
3869
3873
|
}
|
|
3870
3874
|
if (0 === (seen1 & 1))
|
|
3871
3875
|
$this.needToPutHigherTrump = null;
|
|
@@ -3972,55 +3976,55 @@
|
|
|
3972
3976
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
3973
3977
|
this.tenCardsInHand = tenCardsInHand;
|
|
3974
3978
|
}
|
|
3975
|
-
protoOf(RulesDto).
|
|
3979
|
+
protoOf(RulesDto).m2o = function () {
|
|
3976
3980
|
return this.needToPutHigherTrump;
|
|
3977
3981
|
};
|
|
3978
|
-
protoOf(RulesDto).
|
|
3982
|
+
protoOf(RulesDto).n2o = function () {
|
|
3979
3983
|
return this.distributePoints;
|
|
3980
3984
|
};
|
|
3981
|
-
protoOf(RulesDto).
|
|
3985
|
+
protoOf(RulesDto).o2o = function () {
|
|
3982
3986
|
return this.protectBella;
|
|
3983
3987
|
};
|
|
3984
|
-
protoOf(RulesDto).
|
|
3988
|
+
protoOf(RulesDto).p2o = function () {
|
|
3985
3989
|
return this.oneTryToProtectBella;
|
|
3986
3990
|
};
|
|
3987
|
-
protoOf(RulesDto).
|
|
3991
|
+
protoOf(RulesDto).q2o = function () {
|
|
3988
3992
|
return this.enableFourSevensCombination;
|
|
3989
3993
|
};
|
|
3990
|
-
protoOf(RulesDto).
|
|
3994
|
+
protoOf(RulesDto).r2o = function () {
|
|
3991
3995
|
return this.enableTrumpSevenCombination;
|
|
3992
3996
|
};
|
|
3993
|
-
protoOf(RulesDto).
|
|
3997
|
+
protoOf(RulesDto).s2o = function () {
|
|
3994
3998
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3995
3999
|
};
|
|
3996
|
-
protoOf(RulesDto).
|
|
4000
|
+
protoOf(RulesDto).t2o = function () {
|
|
3997
4001
|
return this.playerWhoChooseSuitGoFirst;
|
|
3998
4002
|
};
|
|
3999
|
-
protoOf(RulesDto).
|
|
4003
|
+
protoOf(RulesDto).u2o = function () {
|
|
4000
4004
|
return this.winnerShuffleCards;
|
|
4001
4005
|
};
|
|
4002
|
-
protoOf(RulesDto).
|
|
4006
|
+
protoOf(RulesDto).v2o = function () {
|
|
4003
4007
|
return this.playWithoutLiabilities;
|
|
4004
4008
|
};
|
|
4005
|
-
protoOf(RulesDto).
|
|
4009
|
+
protoOf(RulesDto).w2o = function () {
|
|
4006
4010
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
4007
4011
|
};
|
|
4008
|
-
protoOf(RulesDto).
|
|
4012
|
+
protoOf(RulesDto).x2o = function () {
|
|
4009
4013
|
return this.enableFineIfNoBribes;
|
|
4010
4014
|
};
|
|
4011
|
-
protoOf(RulesDto).
|
|
4015
|
+
protoOf(RulesDto).y2o = function () {
|
|
4012
4016
|
return this.fineIfNoBribes;
|
|
4013
4017
|
};
|
|
4014
|
-
protoOf(RulesDto).
|
|
4018
|
+
protoOf(RulesDto).z2o = function () {
|
|
4015
4019
|
return this.enableFineAfterThirdByte;
|
|
4016
4020
|
};
|
|
4017
|
-
protoOf(RulesDto).
|
|
4021
|
+
protoOf(RulesDto).a2p = function () {
|
|
4018
4022
|
return this.checkTrumpCombination;
|
|
4019
4023
|
};
|
|
4020
|
-
protoOf(RulesDto).
|
|
4024
|
+
protoOf(RulesDto).b2p = function () {
|
|
4021
4025
|
return this.checkOnlyTrumpDebertz;
|
|
4022
4026
|
};
|
|
4023
|
-
protoOf(RulesDto).
|
|
4027
|
+
protoOf(RulesDto).c2p = function () {
|
|
4024
4028
|
return this.tenCardsInHand;
|
|
4025
4029
|
};
|
|
4026
4030
|
protoOf(RulesDto).cd = function () {
|
|
@@ -4032,49 +4036,49 @@
|
|
|
4032
4036
|
protoOf(RulesDto).qh = function () {
|
|
4033
4037
|
return this.protectBella;
|
|
4034
4038
|
};
|
|
4035
|
-
protoOf(RulesDto).
|
|
4039
|
+
protoOf(RulesDto).t2k = function () {
|
|
4036
4040
|
return this.oneTryToProtectBella;
|
|
4037
4041
|
};
|
|
4038
|
-
protoOf(RulesDto).
|
|
4042
|
+
protoOf(RulesDto).c2m = function () {
|
|
4039
4043
|
return this.enableFourSevensCombination;
|
|
4040
4044
|
};
|
|
4041
|
-
protoOf(RulesDto).
|
|
4045
|
+
protoOf(RulesDto).d2m = function () {
|
|
4042
4046
|
return this.enableTrumpSevenCombination;
|
|
4043
4047
|
};
|
|
4044
|
-
protoOf(RulesDto).
|
|
4048
|
+
protoOf(RulesDto).d2p = function () {
|
|
4045
4049
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
4046
4050
|
};
|
|
4047
|
-
protoOf(RulesDto).
|
|
4051
|
+
protoOf(RulesDto).e2p = function () {
|
|
4048
4052
|
return this.playerWhoChooseSuitGoFirst;
|
|
4049
4053
|
};
|
|
4050
|
-
protoOf(RulesDto).
|
|
4054
|
+
protoOf(RulesDto).f2p = function () {
|
|
4051
4055
|
return this.winnerShuffleCards;
|
|
4052
4056
|
};
|
|
4053
|
-
protoOf(RulesDto).
|
|
4057
|
+
protoOf(RulesDto).g2p = function () {
|
|
4054
4058
|
return this.playWithoutLiabilities;
|
|
4055
4059
|
};
|
|
4056
|
-
protoOf(RulesDto).
|
|
4060
|
+
protoOf(RulesDto).h2p = function () {
|
|
4057
4061
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
4058
4062
|
};
|
|
4059
|
-
protoOf(RulesDto).
|
|
4063
|
+
protoOf(RulesDto).i2p = function () {
|
|
4060
4064
|
return this.enableFineIfNoBribes;
|
|
4061
4065
|
};
|
|
4062
|
-
protoOf(RulesDto).
|
|
4066
|
+
protoOf(RulesDto).j2p = function () {
|
|
4063
4067
|
return this.fineIfNoBribes;
|
|
4064
4068
|
};
|
|
4065
|
-
protoOf(RulesDto).
|
|
4069
|
+
protoOf(RulesDto).k2p = function () {
|
|
4066
4070
|
return this.enableFineAfterThirdByte;
|
|
4067
4071
|
};
|
|
4068
|
-
protoOf(RulesDto).
|
|
4072
|
+
protoOf(RulesDto).l2p = function () {
|
|
4069
4073
|
return this.checkTrumpCombination;
|
|
4070
4074
|
};
|
|
4071
|
-
protoOf(RulesDto).
|
|
4075
|
+
protoOf(RulesDto).m2p = function () {
|
|
4072
4076
|
return this.checkOnlyTrumpDebertz;
|
|
4073
4077
|
};
|
|
4074
|
-
protoOf(RulesDto).
|
|
4078
|
+
protoOf(RulesDto).n2p = function () {
|
|
4075
4079
|
return this.tenCardsInHand;
|
|
4076
4080
|
};
|
|
4077
|
-
protoOf(RulesDto).
|
|
4081
|
+
protoOf(RulesDto).y2q = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
4078
4082
|
return new RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
4079
4083
|
};
|
|
4080
4084
|
protoOf(RulesDto).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -4095,7 +4099,7 @@
|
|
|
4095
4099
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
4096
4100
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
4097
4101
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
4098
|
-
return this.
|
|
4102
|
+
return this.y2q(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
4099
4103
|
};
|
|
4100
4104
|
protoOf(RulesDto).toString = function () {
|
|
4101
4105
|
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 + ')';
|
|
@@ -4164,27 +4168,27 @@
|
|
|
4164
4168
|
};
|
|
4165
4169
|
function CardIndexComparator() {
|
|
4166
4170
|
}
|
|
4167
|
-
protoOf(CardIndexComparator).
|
|
4168
|
-
return a.
|
|
4171
|
+
protoOf(CardIndexComparator).z2q = function (a, b) {
|
|
4172
|
+
return a.u2p_1 - b.u2p_1 | 0;
|
|
4169
4173
|
};
|
|
4170
4174
|
protoOf(CardIndexComparator).compare = function (a, b) {
|
|
4171
4175
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
4172
|
-
return this.
|
|
4176
|
+
return this.z2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
4173
4177
|
};
|
|
4174
4178
|
var CardIndexComparator_instance;
|
|
4175
4179
|
function CardIndexComparator_getInstance() {
|
|
4176
4180
|
return CardIndexComparator_instance;
|
|
4177
4181
|
}
|
|
4178
4182
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
4179
|
-
this.
|
|
4180
|
-
this.
|
|
4183
|
+
this.a2r_1 = trump;
|
|
4184
|
+
this.b2r_1 = firstCardSuit;
|
|
4181
4185
|
}
|
|
4182
|
-
protoOf(CardGrowthComparator).
|
|
4183
|
-
return getGrowth(b, this.
|
|
4186
|
+
protoOf(CardGrowthComparator).z2q = function (a, b) {
|
|
4187
|
+
return getGrowth(b, this.a2r_1, this.b2r_1) - getGrowth(a, this.a2r_1, this.b2r_1) | 0;
|
|
4184
4188
|
};
|
|
4185
4189
|
protoOf(CardGrowthComparator).compare = function (a, b) {
|
|
4186
4190
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
4187
|
-
return this.
|
|
4191
|
+
return this.z2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
4188
4192
|
};
|
|
4189
4193
|
function filterByCardName(_this__u8e3s4, name) {
|
|
4190
4194
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -4216,25 +4220,25 @@
|
|
|
4216
4220
|
}
|
|
4217
4221
|
function CardNumberComparator() {
|
|
4218
4222
|
}
|
|
4219
|
-
protoOf(CardNumberComparator).
|
|
4220
|
-
return b.
|
|
4223
|
+
protoOf(CardNumberComparator).z2q = function (a, b) {
|
|
4224
|
+
return b.c2r() - a.c2r() | 0;
|
|
4221
4225
|
};
|
|
4222
4226
|
protoOf(CardNumberComparator).compare = function (a, b) {
|
|
4223
4227
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
4224
|
-
return this.
|
|
4228
|
+
return this.z2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
4225
4229
|
};
|
|
4226
4230
|
var CardNumberComparator_instance;
|
|
4227
4231
|
function CardNumberComparator_getInstance() {
|
|
4228
4232
|
return CardNumberComparator_instance;
|
|
4229
4233
|
}
|
|
4230
4234
|
function getPoint(_this__u8e3s4, trump) {
|
|
4231
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
4235
|
+
var isTrump = trump.equals(_this__u8e3s4.d2r());
|
|
4232
4236
|
return getPoint_0(_this__u8e3s4, isTrump);
|
|
4233
4237
|
}
|
|
4234
4238
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
4235
4239
|
var minPoint = 0;
|
|
4236
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
4237
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
4240
|
+
var isTrump = trump.equals(_this__u8e3s4.d2r());
|
|
4241
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.d2r());
|
|
4238
4242
|
var minGrowth;
|
|
4239
4243
|
var maxGrowth;
|
|
4240
4244
|
switch (_this__u8e3s4.g9().g8_1) {
|
|
@@ -4324,7 +4328,7 @@
|
|
|
4324
4328
|
return tmp;
|
|
4325
4329
|
}
|
|
4326
4330
|
function getValueInHand(_this__u8e3s4, trump, allCards) {
|
|
4327
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
4331
|
+
var isTrump = trump.equals(_this__u8e3s4.d2r());
|
|
4328
4332
|
return getValueInHand_0(_this__u8e3s4, isTrump, allCards);
|
|
4329
4333
|
}
|
|
4330
4334
|
function getValueInHand_0(_this__u8e3s4, isTrump, allCards) {
|
|
@@ -4408,7 +4412,7 @@
|
|
|
4408
4412
|
var element = indexedObject[inductionVariable];
|
|
4409
4413
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4410
4414
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
4411
|
-
if (p1.
|
|
4415
|
+
if (p1.d2r().equals(element)) {
|
|
4412
4416
|
tmp$ret$1 = true;
|
|
4413
4417
|
break $l$block;
|
|
4414
4418
|
}
|
|
@@ -4505,10 +4509,10 @@
|
|
|
4505
4509
|
}
|
|
4506
4510
|
function Companion_19() {
|
|
4507
4511
|
}
|
|
4508
|
-
protoOf(Companion_19).
|
|
4512
|
+
protoOf(Companion_19).e2r = function (suit, cardNumber) {
|
|
4509
4513
|
return new GameCard(getNumber(Companion_instance_20, cardNumber, suit));
|
|
4510
4514
|
};
|
|
4511
|
-
protoOf(Companion_19).
|
|
4515
|
+
protoOf(Companion_19).f2r = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
4512
4516
|
var tmp;
|
|
4513
4517
|
if (previousStubCardWithMaxIndex == null) {
|
|
4514
4518
|
tmp = null;
|
|
@@ -4517,7 +4521,7 @@
|
|
|
4517
4521
|
// Inline function 'kotlin.contracts.contract' call
|
|
4518
4522
|
var tmp_0;
|
|
4519
4523
|
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
4520
|
-
if (previousStubCardWithMaxIndex.
|
|
4524
|
+
if (previousStubCardWithMaxIndex.g2r()) {
|
|
4521
4525
|
tmp_0 = previousStubCardWithMaxIndex;
|
|
4522
4526
|
} else {
|
|
4523
4527
|
tmp_0 = null;
|
|
@@ -4525,8 +4529,8 @@
|
|
|
4525
4529
|
tmp = tmp_0;
|
|
4526
4530
|
}
|
|
4527
4531
|
var tmp1_safe_receiver = tmp;
|
|
4528
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
4529
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_20.
|
|
4532
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u2p_1;
|
|
4533
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_20.l2r(tmp2_safe_receiver, playerIndex, reverse);
|
|
4530
4534
|
var tmp_1;
|
|
4531
4535
|
if (tmp3_safe_receiver == null) {
|
|
4532
4536
|
tmp_1 = null;
|
|
@@ -4547,10 +4551,10 @@
|
|
|
4547
4551
|
var index = tmp_2;
|
|
4548
4552
|
return new GameCard(index);
|
|
4549
4553
|
};
|
|
4550
|
-
protoOf(Companion_19).
|
|
4554
|
+
protoOf(Companion_19).m2r = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
|
|
4551
4555
|
previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
|
|
4552
4556
|
reverse = reverse === VOID ? false : reverse;
|
|
4553
|
-
return $super === VOID ? this.
|
|
4557
|
+
return $super === VOID ? this.f2r(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.f2r.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
4554
4558
|
};
|
|
4555
4559
|
var Companion_instance_19;
|
|
4556
4560
|
function Companion_getInstance_21() {
|
|
@@ -4654,7 +4658,7 @@
|
|
|
4654
4658
|
return tmp;
|
|
4655
4659
|
}
|
|
4656
4660
|
function _get_isShirt__vd98rp($this) {
|
|
4657
|
-
return $this.
|
|
4661
|
+
return $this.u2p_1 === 52;
|
|
4658
4662
|
}
|
|
4659
4663
|
function CardName(name, ordinal) {
|
|
4660
4664
|
Enum.call(this, name, ordinal);
|
|
@@ -4663,12 +4667,12 @@
|
|
|
4663
4667
|
return getShorName(this);
|
|
4664
4668
|
};
|
|
4665
4669
|
function Companion_20() {
|
|
4666
|
-
this.
|
|
4667
|
-
this.
|
|
4668
|
-
this.
|
|
4669
|
-
this.
|
|
4670
|
+
this.h2r_1 = -1;
|
|
4671
|
+
this.i2r_1 = 13;
|
|
4672
|
+
this.j2r_1 = 52;
|
|
4673
|
+
this.k2r_1 = 53;
|
|
4670
4674
|
}
|
|
4671
|
-
protoOf(Companion_20).
|
|
4675
|
+
protoOf(Companion_20).l2r = function (_this__u8e3s4, playerIndex, reverse) {
|
|
4672
4676
|
var tmp;
|
|
4673
4677
|
if (reverse) {
|
|
4674
4678
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -4738,56 +4742,56 @@
|
|
|
4738
4742
|
return CardName_STUB_instance;
|
|
4739
4743
|
}
|
|
4740
4744
|
function GameCard(index) {
|
|
4741
|
-
this.
|
|
4745
|
+
this.u2p_1 = index;
|
|
4742
4746
|
}
|
|
4743
|
-
protoOf(GameCard).
|
|
4747
|
+
protoOf(GameCard).d2r = function () {
|
|
4744
4748
|
var tmp;
|
|
4745
|
-
var containsArg = this.
|
|
4749
|
+
var containsArg = this.u2p_1;
|
|
4746
4750
|
if (0 <= containsArg ? containsArg <= 13 : false) {
|
|
4747
4751
|
tmp = Suit_DIAMOND_getInstance();
|
|
4748
4752
|
} else {
|
|
4749
|
-
if (this.
|
|
4753
|
+
if (this.u2p_1 <= 26) {
|
|
4750
4754
|
tmp = Suit_SPADE_getInstance();
|
|
4751
4755
|
} else {
|
|
4752
|
-
if (this.
|
|
4756
|
+
if (this.u2p_1 <= 39) {
|
|
4753
4757
|
tmp = Suit_HEART_getInstance();
|
|
4754
4758
|
} else {
|
|
4755
|
-
if (this.
|
|
4759
|
+
if (this.u2p_1 <= 52) {
|
|
4756
4760
|
tmp = Suit_CLUB_getInstance();
|
|
4757
4761
|
} else {
|
|
4758
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
4762
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.u2p_1);
|
|
4759
4763
|
}
|
|
4760
4764
|
}
|
|
4761
4765
|
}
|
|
4762
4766
|
}
|
|
4763
4767
|
return tmp;
|
|
4764
4768
|
};
|
|
4765
|
-
protoOf(GameCard).
|
|
4769
|
+
protoOf(GameCard).c2r = function () {
|
|
4766
4770
|
var tmp;
|
|
4767
|
-
if (this.
|
|
4771
|
+
if (this.g2r()) {
|
|
4768
4772
|
tmp = -1;
|
|
4769
4773
|
} else {
|
|
4770
|
-
tmp = this.
|
|
4774
|
+
tmp = this.u2p_1 - imul(13, getIndex(this.d2r())) | 0;
|
|
4771
4775
|
}
|
|
4772
4776
|
return tmp;
|
|
4773
4777
|
};
|
|
4774
4778
|
protoOf(GameCard).g9 = function () {
|
|
4775
|
-
return this.
|
|
4779
|
+
return this.g2r() ? CardName_STUB_getInstance() : getName(Companion_instance_20, this.c2r());
|
|
4776
4780
|
};
|
|
4777
|
-
protoOf(GameCard).
|
|
4778
|
-
return this.
|
|
4781
|
+
protoOf(GameCard).g2r = function () {
|
|
4782
|
+
return this.u2p_1 >= 53;
|
|
4779
4783
|
};
|
|
4780
4784
|
protoOf(GameCard).toString = function () {
|
|
4781
4785
|
if (_get_isShirt__vd98rp(this)) {
|
|
4782
4786
|
return 'GameCard(SHIRT)';
|
|
4783
4787
|
}
|
|
4784
|
-
if (this.
|
|
4785
|
-
return 'GameCard(STUB, ' + this.
|
|
4788
|
+
if (this.g2r()) {
|
|
4789
|
+
return 'GameCard(STUB, ' + this.u2p_1 + ')';
|
|
4786
4790
|
}
|
|
4787
|
-
return 'GameCard(' + this.
|
|
4791
|
+
return 'GameCard(' + this.d2r() + this.g9() + ', ' + this.u2p_1 + ')';
|
|
4788
4792
|
};
|
|
4789
4793
|
protoOf(GameCard).hashCode = function () {
|
|
4790
|
-
return this.
|
|
4794
|
+
return this.u2p_1;
|
|
4791
4795
|
};
|
|
4792
4796
|
protoOf(GameCard).equals = function (other) {
|
|
4793
4797
|
if (this === other)
|
|
@@ -4795,20 +4799,20 @@
|
|
|
4795
4799
|
if (!(other instanceof GameCard))
|
|
4796
4800
|
return false;
|
|
4797
4801
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
4798
|
-
if (!(this.
|
|
4802
|
+
if (!(this.u2p_1 === tmp0_other_with_cast.u2p_1))
|
|
4799
4803
|
return false;
|
|
4800
4804
|
return true;
|
|
4801
4805
|
};
|
|
4802
4806
|
function ProcessingCard(gameCard, payload) {
|
|
4803
|
-
this.
|
|
4804
|
-
this.
|
|
4807
|
+
this.n2r_1 = gameCard;
|
|
4808
|
+
this.o2r_1 = payload;
|
|
4805
4809
|
}
|
|
4806
4810
|
protoOf(ProcessingCard).toString = function () {
|
|
4807
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
4811
|
+
return 'ProcessingCard(gameCard=' + this.n2r_1 + ', payload=' + this.o2r_1 + ')';
|
|
4808
4812
|
};
|
|
4809
4813
|
protoOf(ProcessingCard).hashCode = function () {
|
|
4810
|
-
var result = this.
|
|
4811
|
-
result = imul(result, 31) + (this.
|
|
4814
|
+
var result = this.n2r_1.hashCode();
|
|
4815
|
+
result = imul(result, 31) + (this.o2r_1 == null ? 0 : hashCode(this.o2r_1)) | 0;
|
|
4812
4816
|
return result;
|
|
4813
4817
|
};
|
|
4814
4818
|
protoOf(ProcessingCard).equals = function (other) {
|
|
@@ -4817,14 +4821,14 @@
|
|
|
4817
4821
|
if (!(other instanceof ProcessingCard))
|
|
4818
4822
|
return false;
|
|
4819
4823
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
4820
|
-
if (!this.
|
|
4824
|
+
if (!this.n2r_1.equals(tmp0_other_with_cast.n2r_1))
|
|
4821
4825
|
return false;
|
|
4822
|
-
if (!equals(this.
|
|
4826
|
+
if (!equals(this.o2r_1, tmp0_other_with_cast.o2r_1))
|
|
4823
4827
|
return false;
|
|
4824
4828
|
return true;
|
|
4825
4829
|
};
|
|
4826
4830
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
4827
|
-
return $this.
|
|
4831
|
+
return $this.p2r_1.o2();
|
|
4828
4832
|
}
|
|
4829
4833
|
function Suit$Companion$_anonymous__cbm2iq() {
|
|
4830
4834
|
return createSimpleEnumSerializer('com.logic.data.models.table.cards.Suit', values_3());
|
|
@@ -4858,7 +4862,7 @@
|
|
|
4858
4862
|
Companion_instance_21 = this;
|
|
4859
4863
|
var tmp = this;
|
|
4860
4864
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4861
|
-
tmp.
|
|
4865
|
+
tmp.p2r_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
|
|
4862
4866
|
}
|
|
4863
4867
|
protoOf(Companion_21).v16 = function () {
|
|
4864
4868
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
@@ -4939,19 +4943,19 @@
|
|
|
4939
4943
|
function AsyncProvider() {
|
|
4940
4944
|
}
|
|
4941
4945
|
function onError($this, message, error) {
|
|
4942
|
-
$this.
|
|
4946
|
+
$this.z2r_1.e('AsyncErrorHandler', message + ': ' + error, error);
|
|
4943
4947
|
}
|
|
4944
4948
|
function _no_name_provided__qut3iv(this$0) {
|
|
4945
|
-
this.
|
|
4949
|
+
this.i2s_1 = this$0;
|
|
4946
4950
|
AbstractCoroutineContextElement.call(this, Key_instance);
|
|
4947
4951
|
}
|
|
4948
4952
|
protoOf(_no_name_provided__qut3iv).k1v = function (context, exception) {
|
|
4949
|
-
onError(this.
|
|
4953
|
+
onError(this.i2s_1, 'CoroutineContext', exception);
|
|
4950
4954
|
return Unit_instance;
|
|
4951
4955
|
};
|
|
4952
4956
|
function AsyncProviderImpl$launchUnconfinedWithLock$slambda(this$0, $block, resultContinuation) {
|
|
4953
|
-
this.
|
|
4954
|
-
this.
|
|
4957
|
+
this.r2s_1 = this$0;
|
|
4958
|
+
this.s2s_1 = $block;
|
|
4955
4959
|
CoroutineImpl.call(this, resultContinuation);
|
|
4956
4960
|
}
|
|
4957
4961
|
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).f2b = function ($this$launch, $completion) {
|
|
@@ -4975,11 +4979,11 @@
|
|
|
4975
4979
|
continue $sm;
|
|
4976
4980
|
case 1:
|
|
4977
4981
|
var tmp_0 = this;
|
|
4978
|
-
tmp_0.
|
|
4982
|
+
tmp_0.v2s_1 = this.r2s_1.c2s_1;
|
|
4979
4983
|
var tmp_1 = this;
|
|
4980
|
-
tmp_1.
|
|
4984
|
+
tmp_1.w2s_1 = null;
|
|
4981
4985
|
this.la_1 = 2;
|
|
4982
|
-
suspendResult = this.
|
|
4986
|
+
suspendResult = this.v2s_1.c2i(this.w2s_1, this);
|
|
4983
4987
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4984
4988
|
return suspendResult;
|
|
4985
4989
|
}
|
|
@@ -4994,14 +4998,14 @@
|
|
|
4994
4998
|
case 4:
|
|
4995
4999
|
this.ma_1 = 9;
|
|
4996
5000
|
this.la_1 = 5;
|
|
4997
|
-
suspendResult = this.
|
|
5001
|
+
suspendResult = this.s2s_1(this.t2s_1, this);
|
|
4998
5002
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4999
5003
|
return suspendResult;
|
|
5000
5004
|
}
|
|
5001
5005
|
|
|
5002
5006
|
continue $sm;
|
|
5003
5007
|
case 5:
|
|
5004
|
-
this.
|
|
5008
|
+
this.x2s_1 = suspendResult;
|
|
5005
5009
|
this.ma_1 = 10;
|
|
5006
5010
|
this.la_1 = 6;
|
|
5007
5011
|
var tmp_2 = this;
|
|
@@ -5009,13 +5013,13 @@
|
|
|
5009
5013
|
case 6:
|
|
5010
5014
|
this.ma_1 = 10;
|
|
5011
5015
|
var tmp_3 = this;
|
|
5012
|
-
this.
|
|
5013
|
-
tmp_3.
|
|
5016
|
+
this.v2s_1.n2h(this.w2s_1);
|
|
5017
|
+
tmp_3.u2s_1 = Unit_instance;
|
|
5014
5018
|
this.la_1 = 8;
|
|
5015
5019
|
continue $sm;
|
|
5016
5020
|
case 7:
|
|
5017
5021
|
this.ma_1 = 10;
|
|
5018
|
-
this.
|
|
5022
|
+
this.v2s_1.n2h(this.w2s_1);
|
|
5019
5023
|
if (false) {
|
|
5020
5024
|
this.la_1 = 1;
|
|
5021
5025
|
continue $sm;
|
|
@@ -5028,7 +5032,7 @@
|
|
|
5028
5032
|
case 9:
|
|
5029
5033
|
this.ma_1 = 10;
|
|
5030
5034
|
var t = this.oa_1;
|
|
5031
|
-
this.
|
|
5035
|
+
this.v2s_1.n2h(this.w2s_1);
|
|
5032
5036
|
throw t;
|
|
5033
5037
|
case 10:
|
|
5034
5038
|
throw this.oa_1;
|
|
@@ -5045,8 +5049,8 @@
|
|
|
5045
5049
|
while (true);
|
|
5046
5050
|
};
|
|
5047
5051
|
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).g2b = function ($this$launch, completion) {
|
|
5048
|
-
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this.
|
|
5049
|
-
i.
|
|
5052
|
+
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this.r2s_1, this.s2s_1, completion);
|
|
5053
|
+
i.t2s_1 = $this$launch;
|
|
5050
5054
|
return i;
|
|
5051
5055
|
};
|
|
5052
5056
|
function AsyncProviderImpl$launchUnconfinedWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
@@ -5058,8 +5062,8 @@
|
|
|
5058
5062
|
return l;
|
|
5059
5063
|
}
|
|
5060
5064
|
function AsyncProviderImpl$launchDefaultWithLock$slambda(this$0, $block, resultContinuation) {
|
|
5061
|
-
this.
|
|
5062
|
-
this.
|
|
5065
|
+
this.g2t_1 = this$0;
|
|
5066
|
+
this.h2t_1 = $block;
|
|
5063
5067
|
CoroutineImpl.call(this, resultContinuation);
|
|
5064
5068
|
}
|
|
5065
5069
|
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).f2b = function ($this$launch, $completion) {
|
|
@@ -5083,11 +5087,11 @@
|
|
|
5083
5087
|
continue $sm;
|
|
5084
5088
|
case 1:
|
|
5085
5089
|
var tmp_0 = this;
|
|
5086
|
-
tmp_0.
|
|
5090
|
+
tmp_0.k2t_1 = this.g2t_1.b2s_1;
|
|
5087
5091
|
var tmp_1 = this;
|
|
5088
|
-
tmp_1.
|
|
5092
|
+
tmp_1.l2t_1 = null;
|
|
5089
5093
|
this.la_1 = 2;
|
|
5090
|
-
suspendResult = this.
|
|
5094
|
+
suspendResult = this.k2t_1.c2i(this.l2t_1, this);
|
|
5091
5095
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5092
5096
|
return suspendResult;
|
|
5093
5097
|
}
|
|
@@ -5102,14 +5106,14 @@
|
|
|
5102
5106
|
case 4:
|
|
5103
5107
|
this.ma_1 = 9;
|
|
5104
5108
|
this.la_1 = 5;
|
|
5105
|
-
suspendResult = this.
|
|
5109
|
+
suspendResult = this.h2t_1(this.i2t_1, this);
|
|
5106
5110
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5107
5111
|
return suspendResult;
|
|
5108
5112
|
}
|
|
5109
5113
|
|
|
5110
5114
|
continue $sm;
|
|
5111
5115
|
case 5:
|
|
5112
|
-
this.
|
|
5116
|
+
this.m2t_1 = suspendResult;
|
|
5113
5117
|
this.ma_1 = 10;
|
|
5114
5118
|
this.la_1 = 6;
|
|
5115
5119
|
var tmp_2 = this;
|
|
@@ -5117,13 +5121,13 @@
|
|
|
5117
5121
|
case 6:
|
|
5118
5122
|
this.ma_1 = 10;
|
|
5119
5123
|
var tmp_3 = this;
|
|
5120
|
-
this.
|
|
5121
|
-
tmp_3.
|
|
5124
|
+
this.k2t_1.n2h(this.l2t_1);
|
|
5125
|
+
tmp_3.j2t_1 = Unit_instance;
|
|
5122
5126
|
this.la_1 = 8;
|
|
5123
5127
|
continue $sm;
|
|
5124
5128
|
case 7:
|
|
5125
5129
|
this.ma_1 = 10;
|
|
5126
|
-
this.
|
|
5130
|
+
this.k2t_1.n2h(this.l2t_1);
|
|
5127
5131
|
if (false) {
|
|
5128
5132
|
this.la_1 = 1;
|
|
5129
5133
|
continue $sm;
|
|
@@ -5136,7 +5140,7 @@
|
|
|
5136
5140
|
case 9:
|
|
5137
5141
|
this.ma_1 = 10;
|
|
5138
5142
|
var t = this.oa_1;
|
|
5139
|
-
this.
|
|
5143
|
+
this.k2t_1.n2h(this.l2t_1);
|
|
5140
5144
|
throw t;
|
|
5141
5145
|
case 10:
|
|
5142
5146
|
throw this.oa_1;
|
|
@@ -5153,8 +5157,8 @@
|
|
|
5153
5157
|
while (true);
|
|
5154
5158
|
};
|
|
5155
5159
|
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).g2b = function ($this$launch, completion) {
|
|
5156
|
-
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this.
|
|
5157
|
-
i.
|
|
5160
|
+
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this.g2t_1, this.h2t_1, completion);
|
|
5161
|
+
i.i2t_1 = $this$launch;
|
|
5158
5162
|
return i;
|
|
5159
5163
|
};
|
|
5160
5164
|
function AsyncProviderImpl$launchDefaultWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
@@ -5169,42 +5173,42 @@
|
|
|
5169
5173
|
mainDispatcher = mainDispatcher === VOID ? Dispatchers_getInstance().e1z() : mainDispatcher;
|
|
5170
5174
|
defaultDispatcher = defaultDispatcher === VOID ? Dispatchers_getInstance().a1z_1 : defaultDispatcher;
|
|
5171
5175
|
unconfinedDispatcher = unconfinedDispatcher === VOID ? Dispatchers_getInstance().b1z_1 : unconfinedDispatcher;
|
|
5172
|
-
this.
|
|
5173
|
-
this.
|
|
5174
|
-
this.a2s_1 = Mutex();
|
|
5176
|
+
this.z2r_1 = logger;
|
|
5177
|
+
this.a2s_1 = SupervisorJob();
|
|
5175
5178
|
this.b2s_1 = Mutex();
|
|
5179
|
+
this.c2s_1 = Mutex();
|
|
5176
5180
|
var tmp = this;
|
|
5177
5181
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
5178
|
-
tmp.
|
|
5179
|
-
this.
|
|
5180
|
-
this.
|
|
5181
|
-
this.
|
|
5182
|
+
tmp.d2s_1 = new _no_name_provided__qut3iv(this);
|
|
5183
|
+
this.e2s_1 = CoroutineScope_0(mainDispatcher.me(this.a2s_1));
|
|
5184
|
+
this.f2s_1 = CoroutineScope_0(defaultDispatcher.me(this.a2s_1));
|
|
5185
|
+
this.g2s_1 = CoroutineScope_0(unconfinedDispatcher.me(this.a2s_1));
|
|
5182
5186
|
}
|
|
5183
|
-
protoOf(AsyncProviderImpl).
|
|
5184
|
-
return this.
|
|
5185
|
-
};
|
|
5186
|
-
protoOf(AsyncProviderImpl).w2r = function (context, block) {
|
|
5187
|
-
return launch(this.d2s_1, context, VOID, block);
|
|
5187
|
+
protoOf(AsyncProviderImpl).q2r = function () {
|
|
5188
|
+
return this.d2s_1;
|
|
5188
5189
|
};
|
|
5189
|
-
protoOf(AsyncProviderImpl).
|
|
5190
|
+
protoOf(AsyncProviderImpl).x2r = function (context, block) {
|
|
5190
5191
|
return launch(this.e2s_1, context, VOID, block);
|
|
5191
5192
|
};
|
|
5192
|
-
protoOf(AsyncProviderImpl).
|
|
5193
|
-
return launch(this.f2s_1, context, VOID,
|
|
5193
|
+
protoOf(AsyncProviderImpl).t2r = function (context, block) {
|
|
5194
|
+
return launch(this.f2s_1, context, VOID, block);
|
|
5195
|
+
};
|
|
5196
|
+
protoOf(AsyncProviderImpl).r2r = function (context, block) {
|
|
5197
|
+
return launch(this.g2s_1, context, VOID, AsyncProviderImpl$launchUnconfinedWithLock$slambda_0(this, block, null));
|
|
5194
5198
|
};
|
|
5195
|
-
protoOf(AsyncProviderImpl).
|
|
5196
|
-
return launch(this.
|
|
5199
|
+
protoOf(AsyncProviderImpl).v2r = function (context, block) {
|
|
5200
|
+
return launch(this.f2s_1, context, VOID, AsyncProviderImpl$launchDefaultWithLock$slambda_0(this, block, null));
|
|
5197
5201
|
};
|
|
5198
5202
|
protoOf(AsyncProviderImpl).b1t = function () {
|
|
5199
|
-
if (!this.
|
|
5200
|
-
this.
|
|
5203
|
+
if (!this.a2s_1.m1r()) {
|
|
5204
|
+
this.a2s_1.z1r();
|
|
5201
5205
|
}
|
|
5202
5206
|
};
|
|
5203
5207
|
function IdsProvider() {
|
|
5204
5208
|
}
|
|
5205
5209
|
function UUIDIdsProvider() {
|
|
5206
5210
|
}
|
|
5207
|
-
protoOf(UUIDIdsProvider).
|
|
5211
|
+
protoOf(UUIDIdsProvider).n2t = function () {
|
|
5208
5212
|
return uuid4().toString();
|
|
5209
5213
|
};
|
|
5210
5214
|
var UUIDIdsProvider_instance;
|
|
@@ -5214,45 +5218,45 @@
|
|
|
5214
5218
|
function JobsProvider() {
|
|
5215
5219
|
}
|
|
5216
5220
|
function JobsProviderImpl(logger) {
|
|
5217
|
-
this.
|
|
5221
|
+
this.t2t_1 = logger;
|
|
5218
5222
|
var tmp = this;
|
|
5219
5223
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
5220
|
-
tmp.
|
|
5224
|
+
tmp.u2t_1 = HashMap_init_$Create$();
|
|
5221
5225
|
}
|
|
5222
|
-
protoOf(JobsProviderImpl).
|
|
5223
|
-
if (this.
|
|
5224
|
-
this.
|
|
5226
|
+
protoOf(JobsProviderImpl).o2t = function (timerTag, job) {
|
|
5227
|
+
if (this.s2t(timerTag)) {
|
|
5228
|
+
this.t2t_1.w(VOID, 'Timer already exists for that tag: ' + timerTag);
|
|
5225
5229
|
}
|
|
5226
5230
|
// Inline function 'kotlin.collections.set' call
|
|
5227
|
-
this.
|
|
5231
|
+
this.u2t_1.k2(timerTag, job);
|
|
5228
5232
|
};
|
|
5229
|
-
protoOf(JobsProviderImpl).
|
|
5230
|
-
return this.
|
|
5233
|
+
protoOf(JobsProviderImpl).s2t = function (timerTag) {
|
|
5234
|
+
return this.u2t_1.r2(timerTag);
|
|
5231
5235
|
};
|
|
5232
|
-
protoOf(JobsProviderImpl).
|
|
5233
|
-
if (!this.
|
|
5234
|
-
this.
|
|
5236
|
+
protoOf(JobsProviderImpl).q2t = function (timerTag) {
|
|
5237
|
+
if (!this.s2t(timerTag)) {
|
|
5238
|
+
this.t2t_1.w(VOID, "Can't find timer for that tag: " + timerTag);
|
|
5235
5239
|
}
|
|
5236
|
-
this.
|
|
5240
|
+
this.u2t_1.l2(timerTag);
|
|
5237
5241
|
};
|
|
5238
|
-
protoOf(JobsProviderImpl).
|
|
5242
|
+
protoOf(JobsProviderImpl).r2t = function (timers) {
|
|
5239
5243
|
// Inline function 'kotlin.collections.forEach' call
|
|
5240
5244
|
var tmp0_iterator = timers.v();
|
|
5241
5245
|
while (tmp0_iterator.w()) {
|
|
5242
5246
|
var element = tmp0_iterator.y();
|
|
5243
5247
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
5244
|
-
var timer = this.
|
|
5248
|
+
var timer = this.u2t_1.t2(element);
|
|
5245
5249
|
if (timer == null)
|
|
5246
5250
|
null;
|
|
5247
5251
|
else {
|
|
5248
5252
|
timer.z1r();
|
|
5249
5253
|
}
|
|
5250
5254
|
}
|
|
5251
|
-
this.
|
|
5255
|
+
this.u2t_1.j2().a1(toSet(timers));
|
|
5252
5256
|
};
|
|
5253
|
-
protoOf(JobsProviderImpl).
|
|
5254
|
-
var timer = this.
|
|
5255
|
-
this.
|
|
5257
|
+
protoOf(JobsProviderImpl).p2t = function (timerTag) {
|
|
5258
|
+
var timer = this.u2t_1.t2(timerTag);
|
|
5259
|
+
this.u2t_1.l2(timerTag);
|
|
5256
5260
|
if (timer == null)
|
|
5257
5261
|
null;
|
|
5258
5262
|
else {
|
|
@@ -5339,7 +5343,7 @@
|
|
|
5339
5343
|
function combinedLoggerModule$lambda$lambda($combinedLogger) {
|
|
5340
5344
|
return function ($this$singleton) {
|
|
5341
5345
|
var tmp0_elvis_lhs = $combinedLogger;
|
|
5342
|
-
return tmp0_elvis_lhs == null ? Companion_instance_22.
|
|
5346
|
+
return tmp0_elvis_lhs == null ? Companion_instance_22.v2t() : tmp0_elvis_lhs;
|
|
5343
5347
|
};
|
|
5344
5348
|
}
|
|
5345
5349
|
function combinedLoggerModule$lambda$lambda_0($this$singleton) {
|
|
@@ -5512,36 +5516,36 @@
|
|
|
5512
5516
|
}
|
|
5513
5517
|
function FileSystemImpl(fileSystem) {
|
|
5514
5518
|
fileSystem = fileSystem === VOID ? get_SystemFileSystem() : fileSystem;
|
|
5515
|
-
this.
|
|
5519
|
+
this.z2t_1 = fileSystem;
|
|
5516
5520
|
}
|
|
5517
|
-
protoOf(FileSystemImpl).
|
|
5521
|
+
protoOf(FileSystemImpl).w2t = function (path, $completion) {
|
|
5518
5522
|
var directoryPath = Path(path);
|
|
5519
|
-
var exists = this.
|
|
5523
|
+
var exists = this.z2t_1.m1p(directoryPath);
|
|
5520
5524
|
if (!exists) {
|
|
5521
|
-
this.
|
|
5525
|
+
this.z2t_1.q1p(directoryPath);
|
|
5522
5526
|
}
|
|
5523
5527
|
return Unit_instance;
|
|
5524
5528
|
};
|
|
5525
|
-
protoOf(FileSystemImpl).
|
|
5526
|
-
return buffered(this.
|
|
5529
|
+
protoOf(FileSystemImpl).x2t = function (path, fileName, append, $completion) {
|
|
5530
|
+
return buffered(this.z2t_1.r1p(Path_0(path, [fileName]), append));
|
|
5527
5531
|
};
|
|
5528
|
-
protoOf(FileSystemImpl).
|
|
5529
|
-
this.
|
|
5532
|
+
protoOf(FileSystemImpl).y2t = function (path, $completion) {
|
|
5533
|
+
this.z2t_1.o1p(Path_0(path, []));
|
|
5530
5534
|
return Unit_instance;
|
|
5531
5535
|
};
|
|
5532
5536
|
function LoggerFactoryImpl(coreConfig, fileSystem) {
|
|
5533
|
-
this.
|
|
5534
|
-
this.
|
|
5537
|
+
this.a2u_1 = coreConfig;
|
|
5538
|
+
this.b2u_1 = fileSystem;
|
|
5535
5539
|
}
|
|
5536
|
-
protoOf(LoggerFactoryImpl).
|
|
5540
|
+
protoOf(LoggerFactoryImpl).c2u = function (gameId, roomId, userId) {
|
|
5537
5541
|
// Inline function 'kotlin.let' call
|
|
5538
5542
|
// Inline function 'kotlin.contracts.contract' call
|
|
5539
5543
|
// Inline function 'com.logic.domain.logs.LoggerFactoryImpl.createLogger.<anonymous>' call
|
|
5540
|
-
var it = this.
|
|
5544
|
+
var it = this.a2u_1.fileNameFormat;
|
|
5541
5545
|
var tmp = Companion_instance_1;
|
|
5542
5546
|
var fileName = tmp.formatter(it, gameId, roomId, userId == null ? 'unknown_user_id' : userId);
|
|
5543
5547
|
// Inline function 'kotlin.collections.map' call
|
|
5544
|
-
var this_0 = split(this.
|
|
5548
|
+
var this_0 = split(this.a2u_1.requireDirectoryPath, ['/']);
|
|
5545
5549
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5546
5550
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
5547
5551
|
var tmp0_iterator = this_0.v();
|
|
@@ -5554,7 +5558,7 @@
|
|
|
5554
5558
|
}
|
|
5555
5559
|
var segments = destination;
|
|
5556
5560
|
var tmp0_path = joinToString(segments, '/');
|
|
5557
|
-
var tmp1_fileSystem = this.
|
|
5561
|
+
var tmp1_fileSystem = this.b2u_1;
|
|
5558
5562
|
return new LogsStorageControllerImpl(fileName, tmp0_path, tmp1_fileSystem);
|
|
5559
5563
|
};
|
|
5560
5564
|
function LoggerFactory() {
|
|
@@ -5567,8 +5571,8 @@
|
|
|
5567
5571
|
}
|
|
5568
5572
|
function $appendToFileCOROUTINE$0(_this__u8e3s4, message, resultContinuation) {
|
|
5569
5573
|
CoroutineImpl.call(this, resultContinuation);
|
|
5570
|
-
this.
|
|
5571
|
-
this.
|
|
5574
|
+
this.l2u_1 = _this__u8e3s4;
|
|
5575
|
+
this.m2u_1 = message;
|
|
5572
5576
|
}
|
|
5573
5577
|
protoOf($appendToFileCOROUTINE$0).ya = function () {
|
|
5574
5578
|
var suspendResult = this.na_1;
|
|
@@ -5580,7 +5584,7 @@
|
|
|
5580
5584
|
this.ma_1 = 3;
|
|
5581
5585
|
this.ma_1 = 2;
|
|
5582
5586
|
this.la_1 = 1;
|
|
5583
|
-
suspendResult = this.
|
|
5587
|
+
suspendResult = this.l2u_1.p2u_1.x2t(this.l2u_1.o2u_1, this.l2u_1.n2u_1, true, this);
|
|
5584
5588
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5585
5589
|
return suspendResult;
|
|
5586
5590
|
}
|
|
@@ -5591,7 +5595,7 @@
|
|
|
5591
5595
|
var sink = buffered(ARGUMENT);
|
|
5592
5596
|
l$ret$1: do {
|
|
5593
5597
|
try {
|
|
5594
|
-
writeString(sink, this.
|
|
5598
|
+
writeString(sink, this.m2u_1 + '\n');
|
|
5595
5599
|
break l$ret$1;
|
|
5596
5600
|
} catch ($p) {
|
|
5597
5601
|
var t = $p;
|
|
@@ -5609,7 +5613,7 @@
|
|
|
5609
5613
|
var tmp_0 = this.oa_1;
|
|
5610
5614
|
if (tmp_0 instanceof Exception) {
|
|
5611
5615
|
var e = this.oa_1;
|
|
5612
|
-
Logger_getInstance().
|
|
5616
|
+
Logger_getInstance().t2u(VOID, 'Error writing to log file: ' + e.message, e);
|
|
5613
5617
|
this.la_1 = 4;
|
|
5614
5618
|
continue $sm;
|
|
5615
5619
|
} else {
|
|
@@ -5634,14 +5638,14 @@
|
|
|
5634
5638
|
while (true);
|
|
5635
5639
|
};
|
|
5636
5640
|
function LogsStorageControllerImpl(fileName, path, fileSystem) {
|
|
5637
|
-
this.
|
|
5638
|
-
this.
|
|
5639
|
-
this.
|
|
5641
|
+
this.n2u_1 = fileName;
|
|
5642
|
+
this.o2u_1 = path;
|
|
5643
|
+
this.p2u_1 = fileSystem;
|
|
5640
5644
|
}
|
|
5641
|
-
protoOf(LogsStorageControllerImpl).
|
|
5642
|
-
return this.
|
|
5645
|
+
protoOf(LogsStorageControllerImpl).u2u = function ($completion) {
|
|
5646
|
+
return this.p2u_1.w2t(this.o2u_1, $completion);
|
|
5643
5647
|
};
|
|
5644
|
-
protoOf(LogsStorageControllerImpl).
|
|
5648
|
+
protoOf(LogsStorageControllerImpl).v2u = function (log, $completion) {
|
|
5645
5649
|
return appendToFile(this, log, $completion);
|
|
5646
5650
|
};
|
|
5647
5651
|
function BufferedAction() {
|
|
@@ -5656,22 +5660,22 @@
|
|
|
5656
5660
|
initialDelay = initialDelay === VOID ? new Long(0, 0) : initialDelay;
|
|
5657
5661
|
type = type === VOID ? TimerType_DELAY_getInstance() : type;
|
|
5658
5662
|
TimerAction.call(this);
|
|
5659
|
-
this.
|
|
5660
|
-
this.
|
|
5661
|
-
this.
|
|
5662
|
-
this.
|
|
5663
|
+
this.a2v_1 = timerTag;
|
|
5664
|
+
this.b2v_1 = delayMillis;
|
|
5665
|
+
this.c2v_1 = initialDelay;
|
|
5666
|
+
this.d2v_1 = type;
|
|
5663
5667
|
}
|
|
5664
|
-
protoOf(StartTimerAction).
|
|
5665
|
-
return this.
|
|
5668
|
+
protoOf(StartTimerAction).e2v = function () {
|
|
5669
|
+
return this.a2v_1;
|
|
5666
5670
|
};
|
|
5667
5671
|
protoOf(StartTimerAction).toString = function () {
|
|
5668
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
5672
|
+
return 'StartTimerAction(timerTag=' + this.a2v_1 + ', delayMillis=' + this.b2v_1.toString() + ', initialDelay=' + this.c2v_1.toString() + ', type=' + this.d2v_1 + ')';
|
|
5669
5673
|
};
|
|
5670
5674
|
protoOf(StartTimerAction).hashCode = function () {
|
|
5671
|
-
var result = hashCode(this.
|
|
5672
|
-
result = imul(result, 31) + this.a2v_1.hashCode() | 0;
|
|
5675
|
+
var result = hashCode(this.a2v_1);
|
|
5673
5676
|
result = imul(result, 31) + this.b2v_1.hashCode() | 0;
|
|
5674
5677
|
result = imul(result, 31) + this.c2v_1.hashCode() | 0;
|
|
5678
|
+
result = imul(result, 31) + this.d2v_1.hashCode() | 0;
|
|
5675
5679
|
return result;
|
|
5676
5680
|
};
|
|
5677
5681
|
protoOf(StartTimerAction).equals = function (other) {
|
|
@@ -5680,14 +5684,14 @@
|
|
|
5680
5684
|
if (!(other instanceof StartTimerAction))
|
|
5681
5685
|
return false;
|
|
5682
5686
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
5683
|
-
if (!equals(this.
|
|
5684
|
-
return false;
|
|
5685
|
-
if (!this.a2v_1.equals(tmp0_other_with_cast.a2v_1))
|
|
5687
|
+
if (!equals(this.a2v_1, tmp0_other_with_cast.a2v_1))
|
|
5686
5688
|
return false;
|
|
5687
5689
|
if (!this.b2v_1.equals(tmp0_other_with_cast.b2v_1))
|
|
5688
5690
|
return false;
|
|
5689
5691
|
if (!this.c2v_1.equals(tmp0_other_with_cast.c2v_1))
|
|
5690
5692
|
return false;
|
|
5693
|
+
if (!this.d2v_1.equals(tmp0_other_with_cast.d2v_1))
|
|
5694
|
+
return false;
|
|
5691
5695
|
return true;
|
|
5692
5696
|
};
|
|
5693
5697
|
var TimerType_DELAY_instance;
|
|
@@ -5705,21 +5709,21 @@
|
|
|
5705
5709
|
}
|
|
5706
5710
|
function TimerTickAction(timerTag, type) {
|
|
5707
5711
|
TimerAction.call(this);
|
|
5708
|
-
this.
|
|
5709
|
-
this.
|
|
5712
|
+
this.f2v_1 = timerTag;
|
|
5713
|
+
this.g2v_1 = type;
|
|
5710
5714
|
}
|
|
5711
|
-
protoOf(TimerTickAction).
|
|
5712
|
-
return this.
|
|
5715
|
+
protoOf(TimerTickAction).e2v = function () {
|
|
5716
|
+
return this.f2v_1;
|
|
5713
5717
|
};
|
|
5714
5718
|
protoOf(TimerTickAction).notValidateWhenFinished = function () {
|
|
5715
|
-
return this.
|
|
5719
|
+
return this.f2v_1.notValidateWhenFinished();
|
|
5716
5720
|
};
|
|
5717
5721
|
protoOf(TimerTickAction).toString = function () {
|
|
5718
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
5722
|
+
return 'TimerTickAction(timerTag=' + this.f2v_1 + ', type=' + this.g2v_1 + ')';
|
|
5719
5723
|
};
|
|
5720
5724
|
protoOf(TimerTickAction).hashCode = function () {
|
|
5721
|
-
var result = hashCode(this.
|
|
5722
|
-
result = imul(result, 31) + this.
|
|
5725
|
+
var result = hashCode(this.f2v_1);
|
|
5726
|
+
result = imul(result, 31) + this.g2v_1.hashCode() | 0;
|
|
5723
5727
|
return result;
|
|
5724
5728
|
};
|
|
5725
5729
|
protoOf(TimerTickAction).equals = function (other) {
|
|
@@ -5728,24 +5732,24 @@
|
|
|
5728
5732
|
if (!(other instanceof TimerTickAction))
|
|
5729
5733
|
return false;
|
|
5730
5734
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
5731
|
-
if (!equals(this.
|
|
5735
|
+
if (!equals(this.f2v_1, tmp0_other_with_cast.f2v_1))
|
|
5732
5736
|
return false;
|
|
5733
|
-
if (!this.
|
|
5737
|
+
if (!this.g2v_1.equals(tmp0_other_with_cast.g2v_1))
|
|
5734
5738
|
return false;
|
|
5735
5739
|
return true;
|
|
5736
5740
|
};
|
|
5737
5741
|
function StopTimerAction(timerTag) {
|
|
5738
5742
|
TimerAction.call(this);
|
|
5739
|
-
this.
|
|
5743
|
+
this.h2v_1 = timerTag;
|
|
5740
5744
|
}
|
|
5741
|
-
protoOf(StopTimerAction).
|
|
5742
|
-
return this.
|
|
5745
|
+
protoOf(StopTimerAction).e2v = function () {
|
|
5746
|
+
return this.h2v_1;
|
|
5743
5747
|
};
|
|
5744
5748
|
protoOf(StopTimerAction).toString = function () {
|
|
5745
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
5749
|
+
return 'StopTimerAction(timerTag=' + this.h2v_1 + ')';
|
|
5746
5750
|
};
|
|
5747
5751
|
protoOf(StopTimerAction).hashCode = function () {
|
|
5748
|
-
return hashCode(this.
|
|
5752
|
+
return hashCode(this.h2v_1);
|
|
5749
5753
|
};
|
|
5750
5754
|
protoOf(StopTimerAction).equals = function (other) {
|
|
5751
5755
|
if (this === other)
|
|
@@ -5753,7 +5757,7 @@
|
|
|
5753
5757
|
if (!(other instanceof StopTimerAction))
|
|
5754
5758
|
return false;
|
|
5755
5759
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
5756
|
-
if (!equals(this.
|
|
5760
|
+
if (!equals(this.h2v_1, tmp0_other_with_cast.h2v_1))
|
|
5757
5761
|
return false;
|
|
5758
5762
|
return true;
|
|
5759
5763
|
};
|
|
@@ -5811,7 +5815,7 @@
|
|
|
5811
5815
|
}
|
|
5812
5816
|
function applyMiddleware$lambda$lambda$lambda$lambda($middleware, $store, $dispatcher) {
|
|
5813
5817
|
return function (action) {
|
|
5814
|
-
$middleware.
|
|
5818
|
+
$middleware.i2v($store, $dispatcher, action);
|
|
5815
5819
|
return Unit_instance;
|
|
5816
5820
|
};
|
|
5817
5821
|
}
|
|
@@ -5827,7 +5831,7 @@
|
|
|
5827
5831
|
var element = this_0[inductionVariable];
|
|
5828
5832
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5829
5833
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
5830
|
-
if (element.
|
|
5834
|
+
if (element.j2v(action)) {
|
|
5831
5835
|
destination.s(element);
|
|
5832
5836
|
}
|
|
5833
5837
|
}
|
|
@@ -5865,8 +5869,8 @@
|
|
|
5865
5869
|
return applyThread$lambda(asyncProvider);
|
|
5866
5870
|
}
|
|
5867
5871
|
function applyThread$lambda$lambda$lambda$slambda($origDispatch, $action, resultContinuation) {
|
|
5868
|
-
this.
|
|
5869
|
-
this.
|
|
5872
|
+
this.s2v_1 = $origDispatch;
|
|
5873
|
+
this.t2v_1 = $action;
|
|
5870
5874
|
CoroutineImpl.call(this, resultContinuation);
|
|
5871
5875
|
}
|
|
5872
5876
|
protoOf(applyThread$lambda$lambda$lambda$slambda).f2b = function ($this$launchUnconfinedWithLock, $completion) {
|
|
@@ -5885,7 +5889,7 @@
|
|
|
5885
5889
|
var tmp = this.la_1;
|
|
5886
5890
|
if (tmp === 0) {
|
|
5887
5891
|
this.ma_1 = 1;
|
|
5888
|
-
this.
|
|
5892
|
+
this.s2v_1(this.t2v_1);
|
|
5889
5893
|
return Unit_instance;
|
|
5890
5894
|
} else if (tmp === 1) {
|
|
5891
5895
|
throw this.oa_1;
|
|
@@ -5897,8 +5901,8 @@
|
|
|
5897
5901
|
while (true);
|
|
5898
5902
|
};
|
|
5899
5903
|
protoOf(applyThread$lambda$lambda$lambda$slambda).g2b = function ($this$launchUnconfinedWithLock, completion) {
|
|
5900
|
-
var i = new applyThread$lambda$lambda$lambda$slambda(this.
|
|
5901
|
-
i.
|
|
5904
|
+
var i = new applyThread$lambda$lambda$lambda$slambda(this.s2v_1, this.t2v_1, completion);
|
|
5905
|
+
i.u2v_1 = $this$launchUnconfinedWithLock;
|
|
5902
5906
|
return i;
|
|
5903
5907
|
};
|
|
5904
5908
|
function applyThread$lambda$lambda$lambda$slambda_0($origDispatch, $action, resultContinuation) {
|
|
@@ -5911,7 +5915,7 @@
|
|
|
5911
5915
|
}
|
|
5912
5916
|
function applyThread$lambda$lambda$lambda($asyncProvider, $origDispatch) {
|
|
5913
5917
|
return function (action) {
|
|
5914
|
-
$asyncProvider.
|
|
5918
|
+
$asyncProvider.s2r(VOID, applyThread$lambda$lambda$lambda$slambda_0($origDispatch, action, null));
|
|
5915
5919
|
return Unit_instance;
|
|
5916
5920
|
};
|
|
5917
5921
|
}
|
|
@@ -5933,9 +5937,9 @@
|
|
|
5933
5937
|
return new _no_name_provided__qut3iv_0(asyncProvider, jobsProvider);
|
|
5934
5938
|
}
|
|
5935
5939
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $action, $store, resultContinuation) {
|
|
5936
|
-
this.
|
|
5937
|
-
this.
|
|
5938
|
-
this.
|
|
5940
|
+
this.d2w_1 = $jobsProvider;
|
|
5941
|
+
this.e2w_1 = $action;
|
|
5942
|
+
this.f2w_1 = $store;
|
|
5939
5943
|
CoroutineImpl.call(this, resultContinuation);
|
|
5940
5944
|
}
|
|
5941
5945
|
protoOf(timerMiddleware$o$handle$slambda$slambda).f2b = function ($this$launchMain, $completion) {
|
|
@@ -5954,8 +5958,8 @@
|
|
|
5954
5958
|
var tmp = this.la_1;
|
|
5955
5959
|
if (tmp === 0) {
|
|
5956
5960
|
this.ma_1 = 1;
|
|
5957
|
-
if (this.
|
|
5958
|
-
this.
|
|
5961
|
+
if (this.d2w_1.s2t(this.e2w_1.e2v())) {
|
|
5962
|
+
this.f2w_1.dispatch(new TimerTickAction(this.e2w_1.e2v(), TimerType_DELAY_getInstance()));
|
|
5959
5963
|
}
|
|
5960
5964
|
return Unit_instance;
|
|
5961
5965
|
} else if (tmp === 1) {
|
|
@@ -5968,8 +5972,8 @@
|
|
|
5968
5972
|
while (true);
|
|
5969
5973
|
};
|
|
5970
5974
|
protoOf(timerMiddleware$o$handle$slambda$slambda).g2b = function ($this$launchMain, completion) {
|
|
5971
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
5972
|
-
i.
|
|
5975
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.d2w_1, this.e2w_1, this.f2w_1, completion);
|
|
5976
|
+
i.g2w_1 = $this$launchMain;
|
|
5973
5977
|
return i;
|
|
5974
5978
|
};
|
|
5975
5979
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -5981,9 +5985,9 @@
|
|
|
5981
5985
|
return l;
|
|
5982
5986
|
}
|
|
5983
5987
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $action, $store, resultContinuation) {
|
|
5984
|
-
this.
|
|
5985
|
-
this.
|
|
5986
|
-
this.
|
|
5988
|
+
this.p2w_1 = $jobsProvider;
|
|
5989
|
+
this.q2w_1 = $action;
|
|
5990
|
+
this.r2w_1 = $store;
|
|
5987
5991
|
CoroutineImpl.call(this, resultContinuation);
|
|
5988
5992
|
}
|
|
5989
5993
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).f2b = function ($this$launchMain, $completion) {
|
|
@@ -6002,8 +6006,8 @@
|
|
|
6002
6006
|
var tmp = this.la_1;
|
|
6003
6007
|
if (tmp === 0) {
|
|
6004
6008
|
this.ma_1 = 1;
|
|
6005
|
-
if (this.
|
|
6006
|
-
this.
|
|
6009
|
+
if (this.p2w_1.s2t(this.q2w_1.e2v())) {
|
|
6010
|
+
this.r2w_1.dispatch(new TimerTickAction(this.q2w_1.e2v(), TimerType_INTERVAL_getInstance()));
|
|
6007
6011
|
}
|
|
6008
6012
|
return Unit_instance;
|
|
6009
6013
|
} else if (tmp === 1) {
|
|
@@ -6016,8 +6020,8 @@
|
|
|
6016
6020
|
while (true);
|
|
6017
6021
|
};
|
|
6018
6022
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).g2b = function ($this$launchMain, completion) {
|
|
6019
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
6020
|
-
i.
|
|
6023
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.p2w_1, this.q2w_1, this.r2w_1, completion);
|
|
6024
|
+
i.s2w_1 = $this$launchMain;
|
|
6021
6025
|
return i;
|
|
6022
6026
|
};
|
|
6023
6027
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -6029,10 +6033,10 @@
|
|
|
6029
6033
|
return l;
|
|
6030
6034
|
}
|
|
6031
6035
|
function timerMiddleware$o$handle$slambda($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
6032
|
-
this.
|
|
6033
|
-
this.
|
|
6034
|
-
this.
|
|
6035
|
-
this.
|
|
6036
|
+
this.b2x_1 = $action;
|
|
6037
|
+
this.c2x_1 = $asyncProvider;
|
|
6038
|
+
this.d2x_1 = $jobsProvider;
|
|
6039
|
+
this.e2x_1 = $store;
|
|
6036
6040
|
CoroutineImpl.call(this, resultContinuation);
|
|
6037
6041
|
}
|
|
6038
6042
|
protoOf(timerMiddleware$o$handle$slambda).f2b = function ($this$launchDefault, $completion) {
|
|
@@ -6052,9 +6056,9 @@
|
|
|
6052
6056
|
switch (tmp) {
|
|
6053
6057
|
case 0:
|
|
6054
6058
|
this.ma_1 = 10;
|
|
6055
|
-
if (!this.
|
|
6059
|
+
if (!this.b2x_1.c2v_1.equals(new Long(0, 0)) ? this.b2x_1.d2v_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
6056
6060
|
this.la_1 = 1;
|
|
6057
|
-
suspendResult = delay(this.
|
|
6061
|
+
suspendResult = delay(this.b2x_1.c2v_1, this);
|
|
6058
6062
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6059
6063
|
return suspendResult;
|
|
6060
6064
|
}
|
|
@@ -6068,20 +6072,20 @@
|
|
|
6068
6072
|
this.la_1 = 2;
|
|
6069
6073
|
continue $sm;
|
|
6070
6074
|
case 2:
|
|
6071
|
-
this.
|
|
6072
|
-
this.
|
|
6073
|
-
if (this.
|
|
6075
|
+
this.g2x_1 = this.b2x_1.d2v_1;
|
|
6076
|
+
this.h2x_1 = this.g2x_1.g8_1;
|
|
6077
|
+
if (this.h2x_1 === 0) {
|
|
6074
6078
|
this.la_1 = 8;
|
|
6075
|
-
suspendResult = delay(this.
|
|
6079
|
+
suspendResult = delay(this.b2x_1.b2v_1, this);
|
|
6076
6080
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6077
6081
|
return suspendResult;
|
|
6078
6082
|
}
|
|
6079
6083
|
continue $sm;
|
|
6080
6084
|
} else {
|
|
6081
|
-
if (this.
|
|
6082
|
-
if (!this.
|
|
6085
|
+
if (this.h2x_1 === 1) {
|
|
6086
|
+
if (!this.b2x_1.c2v_1.equals(new Long(0, 0))) {
|
|
6083
6087
|
this.la_1 = 3;
|
|
6084
|
-
suspendResult = delay(this.
|
|
6088
|
+
suspendResult = delay(this.b2x_1.c2v_1, this);
|
|
6085
6089
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6086
6090
|
return suspendResult;
|
|
6087
6091
|
}
|
|
@@ -6103,14 +6107,14 @@
|
|
|
6103
6107
|
this.la_1 = 5;
|
|
6104
6108
|
continue $sm;
|
|
6105
6109
|
case 5:
|
|
6106
|
-
if (!get_isActive(this.
|
|
6110
|
+
if (!get_isActive(this.f2x_1)) {
|
|
6107
6111
|
this.la_1 = 7;
|
|
6108
6112
|
continue $sm;
|
|
6109
6113
|
}
|
|
6110
6114
|
|
|
6111
|
-
this.
|
|
6115
|
+
this.c2x_1.y2r(VOID, timerMiddleware$o$handle$slambda$slambda_2(this.d2x_1, this.b2x_1, this.e2x_1, null));
|
|
6112
6116
|
this.la_1 = 6;
|
|
6113
|
-
suspendResult = delay(this.
|
|
6117
|
+
suspendResult = delay(this.b2x_1.c2v_1, this);
|
|
6114
6118
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6115
6119
|
return suspendResult;
|
|
6116
6120
|
}
|
|
@@ -6123,7 +6127,7 @@
|
|
|
6123
6127
|
this.la_1 = 9;
|
|
6124
6128
|
continue $sm;
|
|
6125
6129
|
case 8:
|
|
6126
|
-
this.
|
|
6130
|
+
this.c2x_1.y2r(VOID, timerMiddleware$o$handle$slambda$slambda_0(this.d2x_1, this.b2x_1, this.e2x_1, null));
|
|
6127
6131
|
this.la_1 = 9;
|
|
6128
6132
|
continue $sm;
|
|
6129
6133
|
case 9:
|
|
@@ -6143,8 +6147,8 @@
|
|
|
6143
6147
|
while (true);
|
|
6144
6148
|
};
|
|
6145
6149
|
protoOf(timerMiddleware$o$handle$slambda).g2b = function ($this$launchDefault, completion) {
|
|
6146
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
6147
|
-
i.
|
|
6150
|
+
var i = new timerMiddleware$o$handle$slambda(this.b2x_1, this.c2x_1, this.d2x_1, this.e2x_1, completion);
|
|
6151
|
+
i.f2x_1 = $this$launchDefault;
|
|
6148
6152
|
return i;
|
|
6149
6153
|
};
|
|
6150
6154
|
function timerMiddleware$o$handle$slambda_0($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
@@ -6156,33 +6160,33 @@
|
|
|
6156
6160
|
return l;
|
|
6157
6161
|
}
|
|
6158
6162
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
6159
|
-
this.
|
|
6160
|
-
this.
|
|
6163
|
+
this.i2x_1 = $asyncProvider;
|
|
6164
|
+
this.j2x_1 = $jobsProvider;
|
|
6161
6165
|
}
|
|
6162
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
6166
|
+
protoOf(_no_name_provided__qut3iv_0).j2v = function (action) {
|
|
6163
6167
|
return action instanceof TimerAction;
|
|
6164
6168
|
};
|
|
6165
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
6169
|
+
protoOf(_no_name_provided__qut3iv_0).k2x = function (store, next, action) {
|
|
6166
6170
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
6167
6171
|
var action_0 = action instanceof TimerAction ? action : THROW_CCE();
|
|
6168
6172
|
if (action_0 instanceof StartTimerAction) {
|
|
6169
|
-
var job = this.
|
|
6170
|
-
this.
|
|
6173
|
+
var job = this.i2x_1.u2r(VOID, timerMiddleware$o$handle$slambda_0(action_0, this.i2x_1, this.j2x_1, store, null));
|
|
6174
|
+
this.j2x_1.o2t(action_0.e2v(), job);
|
|
6171
6175
|
} else {
|
|
6172
6176
|
if (action_0 instanceof StopTimerAction) {
|
|
6173
|
-
this.
|
|
6177
|
+
this.j2x_1.p2t(action_0.e2v());
|
|
6174
6178
|
} else {
|
|
6175
6179
|
if (action_0 instanceof TimerTickAction) {
|
|
6176
|
-
if (action_0.
|
|
6177
|
-
this.
|
|
6180
|
+
if (action_0.g2v_1.equals(TimerType_DELAY_getInstance())) {
|
|
6181
|
+
this.j2x_1.q2t(action_0.e2v());
|
|
6178
6182
|
}
|
|
6179
6183
|
}
|
|
6180
6184
|
}
|
|
6181
6185
|
}
|
|
6182
6186
|
next(action_0);
|
|
6183
6187
|
};
|
|
6184
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
6185
|
-
return this.
|
|
6188
|
+
protoOf(_no_name_provided__qut3iv_0).i2v = function (store, next, action) {
|
|
6189
|
+
return this.k2x(store, next, action);
|
|
6186
6190
|
};
|
|
6187
6191
|
function compose(functions) {
|
|
6188
6192
|
return compose$lambda(functions);
|
|
@@ -6218,7 +6222,7 @@
|
|
|
6218
6222
|
}
|
|
6219
6223
|
function createStore$dispatch(currentState, currentReducer, $logger, stateTrigger, action) {
|
|
6220
6224
|
try {
|
|
6221
|
-
currentState._v = currentReducer._v.
|
|
6225
|
+
currentState._v = currentReducer._v.l2x(currentState._v, action);
|
|
6222
6226
|
} catch ($p) {
|
|
6223
6227
|
if ($p instanceof Exception) {
|
|
6224
6228
|
var exception = $p;
|
|
@@ -6239,18 +6243,18 @@
|
|
|
6239
6243
|
};
|
|
6240
6244
|
}
|
|
6241
6245
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation) {
|
|
6242
|
-
this.
|
|
6243
|
-
this.
|
|
6246
|
+
this.u2x_1 = $$this$unsafeFlow;
|
|
6247
|
+
this.v2x_1 = this$0;
|
|
6244
6248
|
CoroutineImpl.call(this, resultContinuation);
|
|
6245
6249
|
}
|
|
6246
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
6247
|
-
var tmp = this.
|
|
6250
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).z2x = function (value, $completion) {
|
|
6251
|
+
var tmp = this.a2y(value, $completion);
|
|
6248
6252
|
tmp.na_1 = Unit_instance;
|
|
6249
6253
|
tmp.oa_1 = null;
|
|
6250
6254
|
return tmp.ya();
|
|
6251
6255
|
};
|
|
6252
6256
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).lb = function (p1, $completion) {
|
|
6253
|
-
return this.
|
|
6257
|
+
return this.z2x(p1 instanceof Unit ? p1 : THROW_CCE(), $completion);
|
|
6254
6258
|
};
|
|
6255
6259
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).ya = function () {
|
|
6256
6260
|
var suspendResult = this.na_1;
|
|
@@ -6261,12 +6265,12 @@
|
|
|
6261
6265
|
case 0:
|
|
6262
6266
|
this.ma_1 = 2;
|
|
6263
6267
|
var tmp_0 = this;
|
|
6264
|
-
tmp_0.
|
|
6268
|
+
tmp_0.x2x_1 = this.u2x_1;
|
|
6265
6269
|
var tmp_1 = this;
|
|
6266
|
-
tmp_1.
|
|
6270
|
+
tmp_1.y2x_1 = this.w2x_1;
|
|
6267
6271
|
this.la_1 = 1;
|
|
6268
|
-
this.
|
|
6269
|
-
suspendResult = this.
|
|
6272
|
+
this.y2x_1;
|
|
6273
|
+
suspendResult = this.x2x_1.i26(this.v2x_1.state, this);
|
|
6270
6274
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6271
6275
|
return suspendResult;
|
|
6272
6276
|
}
|
|
@@ -6288,23 +6292,23 @@
|
|
|
6288
6292
|
}
|
|
6289
6293
|
while (true);
|
|
6290
6294
|
};
|
|
6291
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
6292
|
-
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.
|
|
6293
|
-
i.
|
|
6295
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).a2y = function (value, completion) {
|
|
6296
|
+
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.u2x_1, this.v2x_1, completion);
|
|
6297
|
+
i.w2x_1 = value;
|
|
6294
6298
|
return i;
|
|
6295
6299
|
};
|
|
6296
6300
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
6297
6301
|
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation);
|
|
6298
6302
|
var l = function (value, $completion) {
|
|
6299
|
-
return i.
|
|
6303
|
+
return i.z2x(value, $completion);
|
|
6300
6304
|
};
|
|
6301
6305
|
l.$arity = 1;
|
|
6302
6306
|
return l;
|
|
6303
6307
|
}
|
|
6304
6308
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
6305
6309
|
CoroutineImpl.call(this, resultContinuation);
|
|
6306
|
-
this.
|
|
6307
|
-
this.
|
|
6310
|
+
this.j2y_1 = _this__u8e3s4;
|
|
6311
|
+
this.k2y_1 = collector;
|
|
6308
6312
|
}
|
|
6309
6313
|
protoOf($collectCOROUTINE$1).ya = function () {
|
|
6310
6314
|
var suspendResult = this.na_1;
|
|
@@ -6315,10 +6319,10 @@
|
|
|
6315
6319
|
case 0:
|
|
6316
6320
|
this.ma_1 = 2;
|
|
6317
6321
|
var tmp_0 = this;
|
|
6318
|
-
tmp_0.
|
|
6322
|
+
tmp_0.l2y_1 = this.k2y_1;
|
|
6319
6323
|
this.la_1 = 1;
|
|
6320
|
-
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.
|
|
6321
|
-
suspendResult = this.
|
|
6324
|
+
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.l2y_1, this.j2y_1.n2y_1, null);
|
|
6325
|
+
suspendResult = this.j2y_1.m2y_1.s25(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
6322
6326
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6323
6327
|
return suspendResult;
|
|
6324
6328
|
}
|
|
@@ -6341,10 +6345,10 @@
|
|
|
6341
6345
|
while (true);
|
|
6342
6346
|
};
|
|
6343
6347
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
6344
|
-
this.
|
|
6348
|
+
this.o2y_1 = function_0;
|
|
6345
6349
|
}
|
|
6346
6350
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).i26 = function (value, $completion) {
|
|
6347
|
-
return this.
|
|
6351
|
+
return this.o2y_1(value, $completion);
|
|
6348
6352
|
};
|
|
6349
6353
|
function createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
6350
6354
|
return function (action) {
|
|
@@ -6359,46 +6363,46 @@
|
|
|
6359
6363
|
};
|
|
6360
6364
|
}
|
|
6361
6365
|
function _no_name_provided__qut3iv_1($this, this$0) {
|
|
6362
|
-
this.
|
|
6363
|
-
this.
|
|
6366
|
+
this.m2y_1 = $this;
|
|
6367
|
+
this.n2y_1 = this$0;
|
|
6364
6368
|
}
|
|
6365
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
6369
|
+
protoOf(_no_name_provided__qut3iv_1).p2y = function (collector, $completion) {
|
|
6366
6370
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
6367
6371
|
tmp.na_1 = Unit_instance;
|
|
6368
6372
|
tmp.oa_1 = null;
|
|
6369
6373
|
return tmp.ya();
|
|
6370
6374
|
};
|
|
6371
6375
|
protoOf(_no_name_provided__qut3iv_1).s25 = function (collector, $completion) {
|
|
6372
|
-
return this.
|
|
6376
|
+
return this.p2y(collector, $completion);
|
|
6373
6377
|
};
|
|
6374
6378
|
function createStore$2($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
6375
|
-
this.
|
|
6376
|
-
this.
|
|
6377
|
-
this.
|
|
6379
|
+
this.t2y_1 = $currentState;
|
|
6380
|
+
this.u2y_1 = $stateTrigger;
|
|
6381
|
+
this.q2y_1 = this;
|
|
6378
6382
|
var tmp = this;
|
|
6379
|
-
tmp.
|
|
6383
|
+
tmp.r2y_1 = createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger);
|
|
6380
6384
|
var tmp_0 = this;
|
|
6381
|
-
tmp_0.
|
|
6385
|
+
tmp_0.s2y_1 = createStore$o$replaceReducer$lambda($currentReducer, $currentState, $logger, $stateTrigger);
|
|
6382
6386
|
}
|
|
6383
|
-
protoOf(createStore$2).
|
|
6384
|
-
return this.
|
|
6387
|
+
protoOf(createStore$2).v2y = function () {
|
|
6388
|
+
return this.q2y_1;
|
|
6385
6389
|
};
|
|
6386
6390
|
protoOf(createStore$2).k1r = function () {
|
|
6387
|
-
return createStore$getState(this.
|
|
6388
|
-
};
|
|
6389
|
-
protoOf(createStore$2).v2y = function (_set____db54di) {
|
|
6390
|
-
this.q2y_1 = _set____db54di;
|
|
6391
|
+
return createStore$getState(this.t2y_1);
|
|
6391
6392
|
};
|
|
6392
|
-
protoOf(createStore$2).w2y = function () {
|
|
6393
|
-
|
|
6393
|
+
protoOf(createStore$2).w2y = function (_set____db54di) {
|
|
6394
|
+
this.r2y_1 = _set____db54di;
|
|
6394
6395
|
};
|
|
6395
6396
|
protoOf(createStore$2).x2y = function () {
|
|
6396
6397
|
return this.r2y_1;
|
|
6397
6398
|
};
|
|
6398
6399
|
protoOf(createStore$2).y2y = function () {
|
|
6400
|
+
return this.s2y_1;
|
|
6401
|
+
};
|
|
6402
|
+
protoOf(createStore$2).z2y = function () {
|
|
6399
6403
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
6400
6404
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
6401
|
-
var this_0 = this.
|
|
6405
|
+
var this_0 = this.u2y_1;
|
|
6402
6406
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
6403
6407
|
return new _no_name_provided__qut3iv_1(this_0, this);
|
|
6404
6408
|
};
|
|
@@ -6476,10 +6480,10 @@
|
|
|
6476
6480
|
return new middleware$1(dispatch);
|
|
6477
6481
|
}
|
|
6478
6482
|
function middleware$1($dispatch) {
|
|
6479
|
-
this.
|
|
6483
|
+
this.a2z_1 = $dispatch;
|
|
6480
6484
|
}
|
|
6481
|
-
protoOf(middleware$1).
|
|
6482
|
-
this.
|
|
6485
|
+
protoOf(middleware$1).i2v = function (store, next, action) {
|
|
6486
|
+
this.a2z_1(store, next, action);
|
|
6483
6487
|
};
|
|
6484
6488
|
function Reducer() {
|
|
6485
6489
|
}
|
|
@@ -6487,13 +6491,13 @@
|
|
|
6487
6491
|
return new combineReducers$1(reducers);
|
|
6488
6492
|
}
|
|
6489
6493
|
function combineReducers$1($reducers) {
|
|
6490
|
-
this.
|
|
6494
|
+
this.b2z_1 = $reducers;
|
|
6491
6495
|
}
|
|
6492
|
-
protoOf(combineReducers$1).
|
|
6496
|
+
protoOf(combineReducers$1).c2z = function (state, action) {
|
|
6493
6497
|
// Inline function 'kotlin.collections.fold' call
|
|
6494
6498
|
// Inline function 'kotlin.collections.filter' call
|
|
6495
6499
|
// Inline function 'kotlin.collections.filterTo' call
|
|
6496
|
-
var this_0 = this.
|
|
6500
|
+
var this_0 = this.b2z_1;
|
|
6497
6501
|
var destination = ArrayList_init_$Create$();
|
|
6498
6502
|
var inductionVariable = 0;
|
|
6499
6503
|
var last = this_0.length;
|
|
@@ -6501,7 +6505,7 @@
|
|
|
6501
6505
|
var element = this_0[inductionVariable];
|
|
6502
6506
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6503
6507
|
// Inline function 'com.logic.redux.store.definitions.<no name provided>.reduce.<anonymous>' call
|
|
6504
|
-
if (element.
|
|
6508
|
+
if (element.j2v(action)) {
|
|
6505
6509
|
destination.s(element);
|
|
6506
6510
|
}
|
|
6507
6511
|
}
|
|
@@ -6511,12 +6515,12 @@
|
|
|
6511
6515
|
var element_0 = tmp0_iterator.y();
|
|
6512
6516
|
// Inline function 'com.logic.redux.store.definitions.<no name provided>.reduce.<anonymous>' call
|
|
6513
6517
|
var s = accumulator;
|
|
6514
|
-
accumulator = element_0.
|
|
6518
|
+
accumulator = element_0.l2x(s, action);
|
|
6515
6519
|
}
|
|
6516
6520
|
return accumulator;
|
|
6517
6521
|
};
|
|
6518
|
-
protoOf(combineReducers$1).
|
|
6519
|
-
return this.
|
|
6522
|
+
protoOf(combineReducers$1).l2x = function (state, action) {
|
|
6523
|
+
return this.c2z((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6520
6524
|
};
|
|
6521
6525
|
function Store() {
|
|
6522
6526
|
}
|
|
@@ -6663,23 +6667,23 @@
|
|
|
6663
6667
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
6664
6668
|
}
|
|
6665
6669
|
function generateTag($this, tag) {
|
|
6666
|
-
return (!($this.
|
|
6670
|
+
return (!($this.s2u_1 == null) ? !(tag == null) : false) ? '' + $this.s2u_1 + ':' + tag : tag;
|
|
6667
6671
|
}
|
|
6668
6672
|
function Category(name, ordinal, isEnabled) {
|
|
6669
6673
|
Enum.call(this, name, ordinal);
|
|
6670
|
-
this.
|
|
6674
|
+
this.f2z_1 = isEnabled;
|
|
6671
6675
|
}
|
|
6672
6676
|
function Logger$loggerSource$1() {
|
|
6673
|
-
this.
|
|
6677
|
+
this.g2z_1 = new PlatformLogger();
|
|
6674
6678
|
}
|
|
6675
|
-
protoOf(Logger$loggerSource$1).
|
|
6676
|
-
this.
|
|
6679
|
+
protoOf(Logger$loggerSource$1).h2z = function (tag, msg) {
|
|
6680
|
+
this.g2z_1.h2z(tag, msg);
|
|
6677
6681
|
};
|
|
6678
|
-
protoOf(Logger$loggerSource$1).
|
|
6679
|
-
this.
|
|
6682
|
+
protoOf(Logger$loggerSource$1).i2z = function (tag, msg, exception) {
|
|
6683
|
+
this.g2z_1.i2z(tag, msg, exception);
|
|
6680
6684
|
};
|
|
6681
|
-
protoOf(Logger$loggerSource$1).
|
|
6682
|
-
this.
|
|
6685
|
+
protoOf(Logger$loggerSource$1).j2z = function (tag, msg) {
|
|
6686
|
+
this.g2z_1.j2z(tag, msg);
|
|
6683
6687
|
};
|
|
6684
6688
|
function Category_NONE_getInstance() {
|
|
6685
6689
|
Category_initEntries();
|
|
@@ -6688,56 +6692,56 @@
|
|
|
6688
6692
|
function Logger() {
|
|
6689
6693
|
Logger_instance = this;
|
|
6690
6694
|
var tmp = this;
|
|
6691
|
-
tmp.
|
|
6692
|
-
this.
|
|
6693
|
-
this.
|
|
6695
|
+
tmp.q2u_1 = new Logger$loggerSource$1();
|
|
6696
|
+
this.r2u_1 = true;
|
|
6697
|
+
this.s2u_1 = null;
|
|
6694
6698
|
}
|
|
6695
|
-
protoOf(Logger).
|
|
6696
|
-
this.
|
|
6699
|
+
protoOf(Logger).k2z = function (tag, message) {
|
|
6700
|
+
this.l2z(tag, message, Category_NONE_getInstance());
|
|
6697
6701
|
};
|
|
6698
|
-
protoOf(Logger).
|
|
6699
|
-
if (this.
|
|
6700
|
-
this.
|
|
6702
|
+
protoOf(Logger).m2z = function (tag, message, category) {
|
|
6703
|
+
if (this.r2u_1 ? category.f2z_1 : false) {
|
|
6704
|
+
this.q2u_1.j2z(generateTag(this, tag), message);
|
|
6701
6705
|
}
|
|
6702
6706
|
};
|
|
6703
|
-
protoOf(Logger).
|
|
6707
|
+
protoOf(Logger).n2z = function (tag, message, category, $super) {
|
|
6704
6708
|
tag = tag === VOID ? null : tag;
|
|
6705
6709
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
6706
6710
|
var tmp;
|
|
6707
6711
|
if ($super === VOID) {
|
|
6708
|
-
this.
|
|
6712
|
+
this.m2z(tag, message, category);
|
|
6709
6713
|
tmp = Unit_instance;
|
|
6710
6714
|
} else {
|
|
6711
|
-
tmp = $super.
|
|
6715
|
+
tmp = $super.m2z.call(this, tag, message, category);
|
|
6712
6716
|
}
|
|
6713
6717
|
return tmp;
|
|
6714
6718
|
};
|
|
6715
|
-
protoOf(Logger).
|
|
6716
|
-
if (this.
|
|
6717
|
-
this.
|
|
6719
|
+
protoOf(Logger).l2z = function (tag, message, category) {
|
|
6720
|
+
if (this.r2u_1 ? category.f2z_1 : false) {
|
|
6721
|
+
this.q2u_1.h2z(generateTag(this, tag), message);
|
|
6718
6722
|
}
|
|
6719
6723
|
};
|
|
6720
|
-
protoOf(Logger).
|
|
6721
|
-
if (this.
|
|
6724
|
+
protoOf(Logger).o2z = function (tag, message, exception, category) {
|
|
6725
|
+
if (this.r2u_1 ? category.f2z_1 : false) {
|
|
6722
6726
|
if (exception == null)
|
|
6723
6727
|
null;
|
|
6724
6728
|
else {
|
|
6725
6729
|
printStackTrace(exception);
|
|
6726
6730
|
}
|
|
6727
|
-
this.
|
|
6731
|
+
this.q2u_1.i2z(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
6728
6732
|
}
|
|
6729
6733
|
};
|
|
6730
|
-
protoOf(Logger).
|
|
6734
|
+
protoOf(Logger).t2u = function (tag, message, exception, category, $super) {
|
|
6731
6735
|
tag = tag === VOID ? null : tag;
|
|
6732
6736
|
message = message === VOID ? null : message;
|
|
6733
6737
|
exception = exception === VOID ? null : exception;
|
|
6734
6738
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
6735
6739
|
var tmp;
|
|
6736
6740
|
if ($super === VOID) {
|
|
6737
|
-
this.
|
|
6741
|
+
this.o2z(tag, message, exception, category);
|
|
6738
6742
|
tmp = Unit_instance;
|
|
6739
6743
|
} else {
|
|
6740
|
-
tmp = $super.
|
|
6744
|
+
tmp = $super.o2z.call(this, tag, message, exception, category);
|
|
6741
6745
|
}
|
|
6742
6746
|
return tmp;
|
|
6743
6747
|
};
|
|
@@ -6770,7 +6774,7 @@
|
|
|
6770
6774
|
}
|
|
6771
6775
|
function Companion_22() {
|
|
6772
6776
|
}
|
|
6773
|
-
protoOf(Companion_22).
|
|
6777
|
+
protoOf(Companion_22).v2t = function () {
|
|
6774
6778
|
return new CombinedGameLogger(mutableListOf([new PlatformGameLogger()]));
|
|
6775
6779
|
};
|
|
6776
6780
|
protoOf(Companion_22).ss = function () {
|
|
@@ -6783,32 +6787,32 @@
|
|
|
6783
6787
|
return Companion_instance_22;
|
|
6784
6788
|
}
|
|
6785
6789
|
function CombinedGameLogger(logOutputs) {
|
|
6786
|
-
this.
|
|
6790
|
+
this.p2z_1 = logOutputs;
|
|
6787
6791
|
}
|
|
6788
|
-
protoOf(CombinedGameLogger).
|
|
6789
|
-
this.
|
|
6792
|
+
protoOf(CombinedGameLogger).q2z = function (output) {
|
|
6793
|
+
this.p2z_1.s(output);
|
|
6790
6794
|
};
|
|
6791
|
-
protoOf(CombinedGameLogger).
|
|
6795
|
+
protoOf(CombinedGameLogger).r2z = function (tag, message, payload) {
|
|
6792
6796
|
// Inline function 'kotlin.collections.forEach' call
|
|
6793
|
-
var tmp0_iterator = this.
|
|
6797
|
+
var tmp0_iterator = this.p2z_1.v();
|
|
6794
6798
|
while (tmp0_iterator.w()) {
|
|
6795
6799
|
var element = tmp0_iterator.y();
|
|
6796
6800
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
6797
6801
|
element.d(tag, message, payload);
|
|
6798
6802
|
}
|
|
6799
6803
|
};
|
|
6800
|
-
protoOf(CombinedGameLogger).
|
|
6804
|
+
protoOf(CombinedGameLogger).s2z = function (tag, message, exception, payload) {
|
|
6801
6805
|
// Inline function 'kotlin.collections.forEach' call
|
|
6802
|
-
var tmp0_iterator = this.
|
|
6806
|
+
var tmp0_iterator = this.p2z_1.v();
|
|
6803
6807
|
while (tmp0_iterator.w()) {
|
|
6804
6808
|
var element = tmp0_iterator.y();
|
|
6805
6809
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
6806
6810
|
element.e(tag, message, exception, payload);
|
|
6807
6811
|
}
|
|
6808
6812
|
};
|
|
6809
|
-
protoOf(CombinedGameLogger).
|
|
6813
|
+
protoOf(CombinedGameLogger).t2z = function (tag, message, payload) {
|
|
6810
6814
|
// Inline function 'kotlin.collections.forEach' call
|
|
6811
|
-
var tmp0_iterator = this.
|
|
6815
|
+
var tmp0_iterator = this.p2z_1.v();
|
|
6812
6816
|
while (tmp0_iterator.w()) {
|
|
6813
6817
|
var element = tmp0_iterator.y();
|
|
6814
6818
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
@@ -6821,31 +6825,31 @@
|
|
|
6821
6825
|
}
|
|
6822
6826
|
function PlatformGameLogger(enabled) {
|
|
6823
6827
|
enabled = enabled === VOID ? true : enabled;
|
|
6824
|
-
this.
|
|
6828
|
+
this.u2z_1 = enabled;
|
|
6825
6829
|
}
|
|
6826
|
-
protoOf(PlatformGameLogger).
|
|
6827
|
-
this.
|
|
6830
|
+
protoOf(PlatformGameLogger).v2z = function (_set____db54di) {
|
|
6831
|
+
this.u2z_1 = _set____db54di;
|
|
6828
6832
|
};
|
|
6829
|
-
protoOf(PlatformGameLogger).
|
|
6830
|
-
return this.
|
|
6833
|
+
protoOf(PlatformGameLogger).w2z = function () {
|
|
6834
|
+
return this.u2z_1;
|
|
6831
6835
|
};
|
|
6832
|
-
protoOf(PlatformGameLogger).
|
|
6833
|
-
if (!this.
|
|
6836
|
+
protoOf(PlatformGameLogger).r2z = function (tag, message, payload) {
|
|
6837
|
+
if (!this.u2z_1)
|
|
6834
6838
|
return Unit_instance;
|
|
6835
|
-
Logger_getInstance().
|
|
6839
|
+
Logger_getInstance().k2z(tag, message);
|
|
6836
6840
|
};
|
|
6837
|
-
protoOf(PlatformGameLogger).
|
|
6838
|
-
if (!this.
|
|
6841
|
+
protoOf(PlatformGameLogger).s2z = function (tag, message, exception, payload) {
|
|
6842
|
+
if (!this.u2z_1)
|
|
6839
6843
|
return Unit_instance;
|
|
6840
|
-
Logger_getInstance().
|
|
6844
|
+
Logger_getInstance().t2u(tag, message, exception);
|
|
6841
6845
|
};
|
|
6842
|
-
protoOf(PlatformGameLogger).
|
|
6843
|
-
if (!this.
|
|
6846
|
+
protoOf(PlatformGameLogger).t2z = function (tag, message, payload) {
|
|
6847
|
+
if (!this.u2z_1)
|
|
6844
6848
|
return Unit_instance;
|
|
6845
|
-
Logger_getInstance().
|
|
6849
|
+
Logger_getInstance().n2z(tag, message);
|
|
6846
6850
|
};
|
|
6847
6851
|
function _get_$cachedSerializer__te6jhj_9($this) {
|
|
6848
|
-
return $this.
|
|
6852
|
+
return $this.x2z_1.o2();
|
|
6849
6853
|
}
|
|
6850
6854
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
6851
6855
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_4());
|
|
@@ -6857,7 +6861,7 @@
|
|
|
6857
6861
|
Companion_instance_23 = this;
|
|
6858
6862
|
var tmp = this;
|
|
6859
6863
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
6860
|
-
tmp.
|
|
6864
|
+
tmp.x2z_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
6861
6865
|
}
|
|
6862
6866
|
protoOf(Companion_23).v16 = function () {
|
|
6863
6867
|
return _get_$cachedSerializer__te6jhj_9(this);
|
|
@@ -6932,7 +6936,7 @@
|
|
|
6932
6936
|
// Inline function 'kotlin.arrayOf' call
|
|
6933
6937
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6934
6938
|
// Inline function 'kotlin.js.asDynamic' call
|
|
6935
|
-
tmp.
|
|
6939
|
+
tmp.b30_1 = [Companion_getInstance_25().v16(), null, null, null];
|
|
6936
6940
|
}
|
|
6937
6941
|
protoOf(Companion_24).v16 = function () {
|
|
6938
6942
|
return $serializer_getInstance_9();
|
|
@@ -6950,19 +6954,19 @@
|
|
|
6950
6954
|
tmp0_serialDesc.mu('tag', false);
|
|
6951
6955
|
tmp0_serialDesc.mu('message', false);
|
|
6952
6956
|
tmp0_serialDesc.mu('stackTrace', false);
|
|
6953
|
-
this.
|
|
6957
|
+
this.c30_1 = tmp0_serialDesc;
|
|
6954
6958
|
}
|
|
6955
6959
|
protoOf($serializer_9).pj = function () {
|
|
6956
|
-
return this.
|
|
6960
|
+
return this.c30_1;
|
|
6957
6961
|
};
|
|
6958
6962
|
protoOf($serializer_9).bv = function () {
|
|
6959
6963
|
// Inline function 'kotlin.arrayOf' call
|
|
6960
6964
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6961
6965
|
// Inline function 'kotlin.js.asDynamic' call
|
|
6962
|
-
return [Companion_getInstance_26().
|
|
6966
|
+
return [Companion_getInstance_26().b30_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
6963
6967
|
};
|
|
6964
6968
|
protoOf($serializer_9).rj = function (decoder) {
|
|
6965
|
-
var tmp0_desc = this.
|
|
6969
|
+
var tmp0_desc = this.c30_1;
|
|
6966
6970
|
var tmp1_flag = true;
|
|
6967
6971
|
var tmp2_index = 0;
|
|
6968
6972
|
var tmp3_bitMask0 = 0;
|
|
@@ -6971,7 +6975,7 @@
|
|
|
6971
6975
|
var tmp6_local2 = null;
|
|
6972
6976
|
var tmp7_local3 = null;
|
|
6973
6977
|
var tmp8_input = decoder.xm(tmp0_desc);
|
|
6974
|
-
var tmp9_cached = Companion_getInstance_26().
|
|
6978
|
+
var tmp9_cached = Companion_getInstance_26().b30_1;
|
|
6975
6979
|
if (tmp8_input.nn()) {
|
|
6976
6980
|
tmp4_local0 = tmp8_input.jn(tmp0_desc, 0, tmp9_cached[0], tmp4_local0);
|
|
6977
6981
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -7011,10 +7015,10 @@
|
|
|
7011
7015
|
tmp8_input.ym(tmp0_desc);
|
|
7012
7016
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
7013
7017
|
};
|
|
7014
|
-
protoOf($serializer_9).
|
|
7015
|
-
var tmp0_desc = this.
|
|
7018
|
+
protoOf($serializer_9).d30 = function (encoder, value) {
|
|
7019
|
+
var tmp0_desc = this.c30_1;
|
|
7016
7020
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
7017
|
-
var tmp2_cached = Companion_getInstance_26().
|
|
7021
|
+
var tmp2_cached = Companion_getInstance_26().b30_1;
|
|
7018
7022
|
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
7019
7023
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
7020
7024
|
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.message);
|
|
@@ -7022,7 +7026,7 @@
|
|
|
7022
7026
|
tmp1_output.ym(tmp0_desc);
|
|
7023
7027
|
};
|
|
7024
7028
|
protoOf($serializer_9).qj = function (encoder, value) {
|
|
7025
|
-
return this.
|
|
7029
|
+
return this.d30(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
7026
7030
|
};
|
|
7027
7031
|
var $serializer_instance_9;
|
|
7028
7032
|
function $serializer_getInstance_9() {
|
|
@@ -7032,7 +7036,7 @@
|
|
|
7032
7036
|
}
|
|
7033
7037
|
function LoggerOutputDataDto_init_$Init$(seen1, type, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
7034
7038
|
if (!(15 === (15 & seen1))) {
|
|
7035
|
-
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().
|
|
7039
|
+
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().c30_1);
|
|
7036
7040
|
}
|
|
7037
7041
|
$this.type = type;
|
|
7038
7042
|
$this.tag = tag;
|
|
@@ -7053,13 +7057,13 @@
|
|
|
7053
7057
|
protoOf(LoggerOutputDataDto).m1h = function () {
|
|
7054
7058
|
return this.type;
|
|
7055
7059
|
};
|
|
7056
|
-
protoOf(LoggerOutputDataDto).
|
|
7060
|
+
protoOf(LoggerOutputDataDto).b2l = function () {
|
|
7057
7061
|
return this.tag;
|
|
7058
7062
|
};
|
|
7059
7063
|
protoOf(LoggerOutputDataDto).q5 = function () {
|
|
7060
7064
|
return this.message;
|
|
7061
7065
|
};
|
|
7062
|
-
protoOf(LoggerOutputDataDto).
|
|
7066
|
+
protoOf(LoggerOutputDataDto).e30 = function () {
|
|
7063
7067
|
return this.stackTrace;
|
|
7064
7068
|
};
|
|
7065
7069
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -7103,10 +7107,10 @@
|
|
|
7103
7107
|
protoOf(LoggerOutputDataDto).qh = function () {
|
|
7104
7108
|
return this.message;
|
|
7105
7109
|
};
|
|
7106
|
-
protoOf(LoggerOutputDataDto).
|
|
7110
|
+
protoOf(LoggerOutputDataDto).t2k = function () {
|
|
7107
7111
|
return this.stackTrace;
|
|
7108
7112
|
};
|
|
7109
|
-
protoOf(LoggerOutputDataDto).
|
|
7113
|
+
protoOf(LoggerOutputDataDto).f30 = function (type, tag, message, stackTrace) {
|
|
7110
7114
|
return new LoggerOutputDataDto(type, tag, message, stackTrace);
|
|
7111
7115
|
};
|
|
7112
7116
|
protoOf(LoggerOutputDataDto).copy = function (type, tag, message, stackTrace, $super) {
|
|
@@ -7114,7 +7118,7 @@
|
|
|
7114
7118
|
tag = tag === VOID ? this.tag : tag;
|
|
7115
7119
|
message = message === VOID ? this.message : message;
|
|
7116
7120
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
7117
|
-
return this.
|
|
7121
|
+
return this.f30(type, tag, message, stackTrace);
|
|
7118
7122
|
};
|
|
7119
7123
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
7120
7124
|
return 'LoggerOutputDataDto(type=' + this.type + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -7144,22 +7148,22 @@
|
|
|
7144
7148
|
};
|
|
7145
7149
|
function PlatformLogger() {
|
|
7146
7150
|
}
|
|
7147
|
-
protoOf(PlatformLogger).
|
|
7151
|
+
protoOf(PlatformLogger).h2z = function (tag, msg) {
|
|
7148
7152
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
7149
7153
|
};
|
|
7150
|
-
protoOf(PlatformLogger).
|
|
7154
|
+
protoOf(PlatformLogger).i2z = function (tag, msg, exception) {
|
|
7151
7155
|
if (!(exception == null)) {
|
|
7152
7156
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
7153
7157
|
} else {
|
|
7154
7158
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
7155
7159
|
}
|
|
7156
7160
|
};
|
|
7157
|
-
protoOf(PlatformLogger).
|
|
7161
|
+
protoOf(PlatformLogger).j2z = function (tag, msg) {
|
|
7158
7162
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
7159
7163
|
};
|
|
7160
7164
|
//region block: post-declaration
|
|
7161
7165
|
protoOf($serializer).cv = typeParametersSerializers;
|
|
7162
|
-
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).
|
|
7166
|
+
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).s2k);
|
|
7163
7167
|
protoOf($serializer_0).cv = typeParametersSerializers;
|
|
7164
7168
|
protoOf($serializer_1).cv = typeParametersSerializers;
|
|
7165
7169
|
protoOf($serializer_2).cv = typeParametersSerializers;
|
|
@@ -7168,85 +7172,85 @@
|
|
|
7168
7172
|
protoOf($serializer_3).cv = typeParametersSerializers;
|
|
7169
7173
|
protoOf($serializer_4).cv = typeParametersSerializers;
|
|
7170
7174
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
7171
|
-
return this.
|
|
7175
|
+
return this.a2l();
|
|
7172
7176
|
});
|
|
7173
7177
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
7174
|
-
return this.
|
|
7178
|
+
return this.a2l();
|
|
7175
7179
|
});
|
|
7176
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
7177
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
7178
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
7179
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
7180
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
7181
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
7182
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
7183
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
7184
|
-
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).
|
|
7185
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
7180
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).j2n);
|
|
7181
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).k2n);
|
|
7182
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).l2n);
|
|
7183
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).m2n);
|
|
7184
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).n2n);
|
|
7185
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).o2n);
|
|
7186
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).p2n);
|
|
7187
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).q2n);
|
|
7188
|
+
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).r2n);
|
|
7189
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).s2n);
|
|
7186
7190
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).g9);
|
|
7187
7191
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).h9);
|
|
7188
7192
|
defineProp(protoOf(PlayerLuckyFactor), 'playerId', function () {
|
|
7189
|
-
return this.
|
|
7193
|
+
return this.a2l();
|
|
7190
7194
|
});
|
|
7191
|
-
defineProp(protoOf(RulesSetType), 'isCustom', protoOf(RulesSetType).
|
|
7195
|
+
defineProp(protoOf(RulesSetType), 'isCustom', protoOf(RulesSetType).r2p);
|
|
7192
7196
|
defineProp(protoOf(RulesSetType), 'name', protoOf(RulesSetType).g9);
|
|
7193
7197
|
defineProp(protoOf(RulesSetType), 'ordinal', protoOf(RulesSetType).h9);
|
|
7194
|
-
protoOf(BufferedActionDto).
|
|
7198
|
+
protoOf(BufferedActionDto).t2p = get_actionTag;
|
|
7195
7199
|
defineProp(protoOf(BufferedActionDto), 'actionTag', function () {
|
|
7196
|
-
return this.
|
|
7200
|
+
return this.t2p();
|
|
7197
7201
|
});
|
|
7198
7202
|
protoOf($serializer_5).cv = typeParametersSerializers;
|
|
7199
7203
|
protoOf($serializer_6).cv = typeParametersSerializers;
|
|
7200
7204
|
protoOf($serializer_7).cv = typeParametersSerializers;
|
|
7201
7205
|
protoOf($serializer_8).cv = typeParametersSerializers;
|
|
7202
|
-
protoOf(AsyncProviderImpl).
|
|
7203
|
-
protoOf(AsyncProviderImpl).
|
|
7204
|
-
protoOf(AsyncProviderImpl).
|
|
7205
|
-
protoOf(AsyncProviderImpl).
|
|
7206
|
-
protoOf(TimerAction).
|
|
7206
|
+
protoOf(AsyncProviderImpl).y2r = launchMain$default;
|
|
7207
|
+
protoOf(AsyncProviderImpl).u2r = launchDefault$default;
|
|
7208
|
+
protoOf(AsyncProviderImpl).s2r = launchUnconfinedWithLock$default;
|
|
7209
|
+
protoOf(AsyncProviderImpl).w2r = launchDefaultWithLock$default;
|
|
7210
|
+
protoOf(TimerAction).t2p = get_actionTag;
|
|
7207
7211
|
defineProp(protoOf(TimerAction), 'actionTag', function () {
|
|
7208
|
-
return this.
|
|
7212
|
+
return this.t2p();
|
|
7209
7213
|
});
|
|
7210
7214
|
defineProp(protoOf(StartTimerAction), 'actionTag', function () {
|
|
7211
|
-
return this.
|
|
7215
|
+
return this.t2p();
|
|
7212
7216
|
});
|
|
7213
7217
|
defineProp(protoOf(TimerTickAction), 'actionTag', function () {
|
|
7214
|
-
return this.
|
|
7218
|
+
return this.t2p();
|
|
7215
7219
|
});
|
|
7216
7220
|
protoOf(StopTimerAction).notValidateWhenFinishing = notValidateWhenFinishing;
|
|
7217
7221
|
protoOf(StopTimerAction).notValidateWhenFinished = notValidateWhenFinished;
|
|
7218
7222
|
defineProp(protoOf(StopTimerAction), 'actionTag', function () {
|
|
7219
|
-
return this.
|
|
7223
|
+
return this.t2p();
|
|
7220
7224
|
});
|
|
7221
7225
|
defineProp(protoOf(createStore$2), 'store', function () {
|
|
7222
|
-
return this.
|
|
7226
|
+
return this.v2y();
|
|
7223
7227
|
});
|
|
7224
7228
|
defineProp(protoOf(createStore$2), 'state', function () {
|
|
7225
7229
|
return this.k1r();
|
|
7226
7230
|
});
|
|
7227
7231
|
defineProp(protoOf(createStore$2), 'dispatch', function () {
|
|
7228
|
-
return this.
|
|
7232
|
+
return this.x2y();
|
|
7229
7233
|
}, function (value) {
|
|
7230
|
-
this.
|
|
7234
|
+
this.w2y(value);
|
|
7231
7235
|
});
|
|
7232
7236
|
defineProp(protoOf(createStore$2), 'replaceReducer', function () {
|
|
7233
|
-
return this.
|
|
7237
|
+
return this.y2y();
|
|
7234
7238
|
});
|
|
7235
7239
|
defineProp(protoOf(createStore$2), 'observe', function () {
|
|
7236
|
-
return this.
|
|
7240
|
+
return this.z2y();
|
|
7237
7241
|
});
|
|
7238
|
-
protoOf(ActionTypes).
|
|
7242
|
+
protoOf(ActionTypes).t2p = get_actionTag;
|
|
7239
7243
|
defineProp(protoOf(ActionTypes), 'actionTag', function () {
|
|
7240
|
-
return this.
|
|
7244
|
+
return this.t2p();
|
|
7241
7245
|
});
|
|
7242
7246
|
defineProp(protoOf(INIT), 'actionTag', function () {
|
|
7243
|
-
return this.
|
|
7247
|
+
return this.t2p();
|
|
7244
7248
|
});
|
|
7245
7249
|
defineProp(protoOf(REPLACE), 'actionTag', function () {
|
|
7246
|
-
return this.
|
|
7250
|
+
return this.t2p();
|
|
7247
7251
|
});
|
|
7248
|
-
protoOf(middleware$1).
|
|
7249
|
-
protoOf(combineReducers$1).
|
|
7252
|
+
protoOf(middleware$1).j2v = canHandle;
|
|
7253
|
+
protoOf(combineReducers$1).j2v = canHandle_0;
|
|
7250
7254
|
protoOf(CombinedGameLogger).d = d;
|
|
7251
7255
|
protoOf(CombinedGameLogger).e = e;
|
|
7252
7256
|
protoOf(CombinedGameLogger).w = w;
|
|
@@ -7254,9 +7258,9 @@
|
|
|
7254
7258
|
protoOf(PlatformGameLogger).e = e;
|
|
7255
7259
|
protoOf(PlatformGameLogger).w = w;
|
|
7256
7260
|
defineProp(protoOf(PlatformGameLogger), 'enabled', function () {
|
|
7257
|
-
return this.
|
|
7261
|
+
return this.w2z();
|
|
7258
7262
|
}, function (value) {
|
|
7259
|
-
this.
|
|
7263
|
+
this.v2z(value);
|
|
7260
7264
|
});
|
|
7261
7265
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).g9);
|
|
7262
7266
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).h9);
|