client_plugin_logic_deb 1.8.320 → 1.8.321
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-client_plugin.js +1919 -1919
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +483 -456
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +535 -535
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +2 -2
- package/package.json +1 -1
|
@@ -325,12 +325,12 @@
|
|
|
325
325
|
var ReleaseBufferTriggerAction = kotlin_io_raspberryapps_game_engine_core.$_$.u2;
|
|
326
326
|
var NotValidateIfGameFinishing = kotlin_io_raspberryapps_game_engine_core.$_$.m2;
|
|
327
327
|
var IgnoreLoggerAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z7;
|
|
328
|
-
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.n7;
|
|
329
328
|
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.m7;
|
|
330
329
|
var CombinationProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
|
|
331
330
|
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.e2;
|
|
332
331
|
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.o4;
|
|
333
332
|
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.q7;
|
|
333
|
+
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.n7;
|
|
334
334
|
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.h7;
|
|
335
335
|
var PlayerTurnStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
|
|
336
336
|
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.i7;
|
|
@@ -1204,6 +1204,9 @@
|
|
|
1204
1204
|
initMetadataForClass(_no_name_provided__qut3iv_110, VOID, VOID, VOID, [Reducer]);
|
|
1205
1205
|
initMetadataForClass(_no_name_provided__qut3iv_111, VOID, VOID, VOID, [Reducer]);
|
|
1206
1206
|
initMetadataForClass(_no_name_provided__qut3iv_112, VOID, VOID, VOID, [Reducer]);
|
|
1207
|
+
function reducers(currentPlayerId) {
|
|
1208
|
+
return listOf_0([this.udd(currentPlayerId), this.vdd(currentPlayerId), this.xdd(currentPlayerId), this.wdd(), this.ydd()]);
|
|
1209
|
+
}
|
|
1207
1210
|
initMetadataForInterface(TransitionsReducer, 'TransitionsReducer');
|
|
1208
1211
|
initMetadataForClass(TransitionsReducerImpl, 'TransitionsReducerImpl', VOID, VOID, [TransitionsReducer]);
|
|
1209
1212
|
initMetadataForClass(PlayerHandSelector, 'PlayerHandSelector');
|
|
@@ -1237,7 +1240,7 @@
|
|
|
1237
1240
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig(VOID, false) : logicConfig;
|
|
1238
1241
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
1239
1242
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
1240
|
-
return this.
|
|
1243
|
+
return this.ude(currentPlayerId, reducers, middlewares, gameClientConfig, engineBotConfig, logicConfig, dealerConfig, coreConfig);
|
|
1241
1244
|
}
|
|
1242
1245
|
initMetadataForInterface(GameClientEngineController, 'GameClientEngineController');
|
|
1243
1246
|
initMetadataForClass(_no_name_provided__qut3iv_113, VOID, VOID, VOID, [Reducer]);
|
|
@@ -29643,173 +29646,158 @@
|
|
|
29643
29646
|
};
|
|
29644
29647
|
function _get_messageFactory__6vg0vc($this) {
|
|
29645
29648
|
// Inline function 'kotlin.getValue' call
|
|
29646
|
-
var this_0 = $this.
|
|
29649
|
+
var this_0 = $this.nd5_1;
|
|
29647
29650
|
messageFactory$factory_0();
|
|
29648
29651
|
return this_0.u();
|
|
29649
29652
|
}
|
|
29650
29653
|
function _get_bufferInteractor__bbjsb2_0($this) {
|
|
29651
29654
|
// Inline function 'kotlin.getValue' call
|
|
29652
|
-
var this_0 = $this.
|
|
29655
|
+
var this_0 = $this.od5_1;
|
|
29653
29656
|
bufferInteractor$factory_2();
|
|
29654
29657
|
return this_0.u();
|
|
29655
29658
|
}
|
|
29656
29659
|
function _get_combinationProvider__3gs1n3($this) {
|
|
29657
29660
|
// Inline function 'kotlin.getValue' call
|
|
29658
|
-
var this_0 = $this.
|
|
29661
|
+
var this_0 = $this.pd5_1;
|
|
29659
29662
|
combinationProvider$factory_0();
|
|
29660
29663
|
return this_0.u();
|
|
29661
29664
|
}
|
|
29662
29665
|
function _get_playerTurnTagProvider__7cizx8($this) {
|
|
29663
29666
|
// Inline function 'kotlin.getValue' call
|
|
29664
|
-
var this_0 = $this.
|
|
29667
|
+
var this_0 = $this.qd5_1;
|
|
29665
29668
|
playerTurnTagProvider$factory_0();
|
|
29666
29669
|
return this_0.u();
|
|
29667
29670
|
}
|
|
29668
29671
|
function _get_cardValidatorInteractor__u3zq3u($this) {
|
|
29669
29672
|
// Inline function 'kotlin.getValue' call
|
|
29670
|
-
var this_0 = $this.
|
|
29673
|
+
var this_0 = $this.rd5_1;
|
|
29671
29674
|
cardValidatorInteractor$factory_0();
|
|
29672
29675
|
return this_0.u();
|
|
29673
29676
|
}
|
|
29674
29677
|
function _get_clientLifecycleReducer__6ihp6m($this) {
|
|
29675
29678
|
// Inline function 'kotlin.getValue' call
|
|
29676
|
-
var this_0 = $this.
|
|
29679
|
+
var this_0 = $this.sd5_1;
|
|
29677
29680
|
clientLifecycleReducer$factory_0();
|
|
29678
29681
|
return this_0.u();
|
|
29679
29682
|
}
|
|
29680
29683
|
function _get_clientCombinationsReducer__u5899o($this) {
|
|
29681
29684
|
// Inline function 'kotlin.getValue' call
|
|
29682
|
-
var this_0 = $this.
|
|
29685
|
+
var this_0 = $this.td5_1;
|
|
29683
29686
|
clientCombinationsReducer$factory_0();
|
|
29684
29687
|
return this_0.u();
|
|
29685
29688
|
}
|
|
29686
|
-
function _get_transitionsReducer__bsis4j($this) {
|
|
29687
|
-
// Inline function 'kotlin.getValue' call
|
|
29688
|
-
var this_0 = $this.wd5_1;
|
|
29689
|
-
transitionsReducer$factory_0();
|
|
29690
|
-
return this_0.u();
|
|
29691
|
-
}
|
|
29692
29689
|
function _get_asyncProvider__jbpyhw($this) {
|
|
29693
29690
|
// Inline function 'kotlin.getValue' call
|
|
29694
|
-
var this_0 = $this.
|
|
29691
|
+
var this_0 = $this.ud5_1;
|
|
29695
29692
|
asyncProvider$factory_0();
|
|
29696
29693
|
return this_0.u();
|
|
29697
29694
|
}
|
|
29698
29695
|
function _get_gameClientConfig__xfscic_0($this) {
|
|
29699
29696
|
// Inline function 'kotlin.getValue' call
|
|
29700
|
-
var this_0 = $this.
|
|
29697
|
+
var this_0 = $this.vd5_1;
|
|
29701
29698
|
gameClientConfig$factory_2();
|
|
29702
29699
|
return this_0.u();
|
|
29703
29700
|
}
|
|
29704
29701
|
function _get_logger__rkp4sl_0($this) {
|
|
29705
29702
|
// Inline function 'kotlin.getValue' call
|
|
29706
|
-
var this_0 = $this.
|
|
29703
|
+
var this_0 = $this.wd5_1;
|
|
29707
29704
|
logger$factory_2();
|
|
29708
29705
|
return this_0.u();
|
|
29709
29706
|
}
|
|
29710
29707
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
29711
29708
|
// Inline function 'kotlin.getValue' call
|
|
29712
|
-
var this_0 = $this.
|
|
29709
|
+
var this_0 = $this.xd5_1;
|
|
29713
29710
|
scenePositionProvider$factory_0();
|
|
29714
29711
|
return this_0.u();
|
|
29715
29712
|
}
|
|
29716
29713
|
function _get_clientGameHistoryInteractor__6os8wx($this) {
|
|
29717
29714
|
// Inline function 'kotlin.getValue' call
|
|
29718
|
-
var this_0 = $this.
|
|
29715
|
+
var this_0 = $this.yd5_1;
|
|
29719
29716
|
clientGameHistoryInteractor$factory_0();
|
|
29720
29717
|
return this_0.u();
|
|
29721
29718
|
}
|
|
29722
|
-
function ClientCommonStoreContract(di,
|
|
29723
|
-
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, false, localGameMechanicActions, currentPlayerId) : validationStoreContract;
|
|
29719
|
+
function ClientCommonStoreContract(di, currentPlayerId, timersStoreContract) {
|
|
29724
29720
|
timersStoreContract = timersStoreContract === VOID ? new TimersStoreContract(di) : timersStoreContract;
|
|
29725
|
-
this.ld5_1 =
|
|
29726
|
-
this.md5_1 =
|
|
29727
|
-
this.nd5_1 = validationStoreContract;
|
|
29728
|
-
this.od5_1 = timersStoreContract;
|
|
29721
|
+
this.ld5_1 = currentPlayerId;
|
|
29722
|
+
this.md5_1 = timersStoreContract;
|
|
29729
29723
|
var tmp = this;
|
|
29730
29724
|
// Inline function 'org.kodein.di.instance' call
|
|
29731
29725
|
// Inline function 'org.kodein.type.generic' call
|
|
29732
29726
|
var tmp_0 = typeToken(createKType(getKClass(MessageFactory), arrayOf([]), false));
|
|
29733
29727
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
29734
|
-
tmp.
|
|
29728
|
+
tmp.nd5_1 = Instance(di, tmp$ret$0, null).w67(this, messageFactory$factory());
|
|
29735
29729
|
var tmp_1 = this;
|
|
29736
29730
|
// Inline function 'org.kodein.di.instance' call
|
|
29737
29731
|
// Inline function 'org.kodein.type.generic' call
|
|
29738
29732
|
var tmp_2 = typeToken(createKType(getKClass(BufferInteractor), arrayOf([createInvariantKTypeProjection(createKType(getKClass(AppState), arrayOf([]), false))]), false));
|
|
29739
29733
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
29740
|
-
tmp_1.
|
|
29734
|
+
tmp_1.od5_1 = Instance(di, tmp$ret$2, null).w67(this, bufferInteractor$factory_1());
|
|
29741
29735
|
var tmp_3 = this;
|
|
29742
29736
|
// Inline function 'org.kodein.di.instance' call
|
|
29743
29737
|
// Inline function 'org.kodein.type.generic' call
|
|
29744
29738
|
var tmp_4 = typeToken(createKType(getKClass(CombinationProvider), arrayOf([]), false));
|
|
29745
29739
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
29746
|
-
tmp_3.
|
|
29740
|
+
tmp_3.pd5_1 = Instance(di, tmp$ret$4, null).w67(this, combinationProvider$factory());
|
|
29747
29741
|
var tmp_5 = this;
|
|
29748
29742
|
// Inline function 'org.kodein.di.instance' call
|
|
29749
29743
|
// Inline function 'org.kodein.type.generic' call
|
|
29750
29744
|
var tmp_6 = typeToken(createKType(getKClass(PlayerTurnTagProvider), arrayOf([]), false));
|
|
29751
29745
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
29752
|
-
tmp_5.
|
|
29746
|
+
tmp_5.qd5_1 = Instance(di, tmp$ret$6, null).w67(this, playerTurnTagProvider$factory());
|
|
29753
29747
|
var tmp_7 = this;
|
|
29754
29748
|
// Inline function 'org.kodein.di.instance' call
|
|
29755
29749
|
// Inline function 'org.kodein.type.generic' call
|
|
29756
29750
|
var tmp_8 = typeToken(createKType(getKClass(PutCardValidatorInteractor), arrayOf([]), false));
|
|
29757
29751
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
29758
|
-
tmp_7.
|
|
29752
|
+
tmp_7.rd5_1 = Instance(di, tmp$ret$8, null).w67(this, cardValidatorInteractor$factory());
|
|
29759
29753
|
var tmp_9 = this;
|
|
29760
29754
|
// Inline function 'org.kodein.di.instance' call
|
|
29761
29755
|
// Inline function 'org.kodein.type.generic' call
|
|
29762
29756
|
var tmp_10 = typeToken(createKType(getKClass(ClientLifecycleReducer), arrayOf([]), false));
|
|
29763
29757
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
29764
|
-
tmp_9.
|
|
29758
|
+
tmp_9.sd5_1 = Instance(di, tmp$ret$10, null).w67(this, clientLifecycleReducer$factory());
|
|
29765
29759
|
var tmp_11 = this;
|
|
29766
29760
|
// Inline function 'org.kodein.di.instance' call
|
|
29767
29761
|
// Inline function 'org.kodein.type.generic' call
|
|
29768
29762
|
var tmp_12 = typeToken(createKType(getKClass(ClientCombinationsReducer), arrayOf([]), false));
|
|
29769
29763
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
29770
|
-
tmp_11.
|
|
29764
|
+
tmp_11.td5_1 = Instance(di, tmp$ret$12, null).w67(this, clientCombinationsReducer$factory());
|
|
29771
29765
|
var tmp_13 = this;
|
|
29772
29766
|
// Inline function 'org.kodein.di.instance' call
|
|
29773
29767
|
// Inline function 'org.kodein.type.generic' call
|
|
29774
|
-
var tmp_14 = typeToken(createKType(getKClass(
|
|
29768
|
+
var tmp_14 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
29775
29769
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
29776
|
-
tmp_13.
|
|
29770
|
+
tmp_13.ud5_1 = Instance(di, tmp$ret$14, null).w67(this, asyncProvider$factory());
|
|
29777
29771
|
var tmp_15 = this;
|
|
29778
29772
|
// Inline function 'org.kodein.di.instance' call
|
|
29779
29773
|
// Inline function 'org.kodein.type.generic' call
|
|
29780
|
-
var tmp_16 = typeToken(createKType(getKClass(
|
|
29774
|
+
var tmp_16 = typeToken(createKType(getKClass(GameClientConfig), arrayOf([]), false));
|
|
29781
29775
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
29782
|
-
tmp_15.
|
|
29776
|
+
tmp_15.vd5_1 = Instance(di, tmp$ret$16, null).w67(this, gameClientConfig$factory_1());
|
|
29783
29777
|
var tmp_17 = this;
|
|
29784
29778
|
// Inline function 'org.kodein.di.instance' call
|
|
29785
29779
|
// Inline function 'org.kodein.type.generic' call
|
|
29786
|
-
var tmp_18 = typeToken(createKType(getKClass(
|
|
29780
|
+
var tmp_18 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
29787
29781
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
29788
|
-
tmp_17.
|
|
29782
|
+
tmp_17.wd5_1 = Instance(di, tmp$ret$18, null).w67(this, logger$factory_1());
|
|
29789
29783
|
var tmp_19 = this;
|
|
29790
29784
|
// Inline function 'org.kodein.di.instance' call
|
|
29791
29785
|
// Inline function 'org.kodein.type.generic' call
|
|
29792
|
-
var tmp_20 = typeToken(createKType(getKClass(
|
|
29786
|
+
var tmp_20 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
29793
29787
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
29794
|
-
tmp_19.
|
|
29788
|
+
tmp_19.xd5_1 = Instance(di, tmp$ret$20, null).w67(this, scenePositionProvider$factory());
|
|
29795
29789
|
var tmp_21 = this;
|
|
29796
29790
|
// Inline function 'org.kodein.di.instance' call
|
|
29797
29791
|
// Inline function 'org.kodein.type.generic' call
|
|
29798
|
-
var tmp_22 = typeToken(createKType(getKClass(
|
|
29792
|
+
var tmp_22 = typeToken(createKType(getKClass(ClientGameHistoryInteractor), arrayOf([]), false));
|
|
29799
29793
|
var tmp$ret$22 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
29800
|
-
tmp_21.
|
|
29801
|
-
var tmp_23 = this;
|
|
29802
|
-
// Inline function 'org.kodein.di.instance' call
|
|
29803
|
-
// Inline function 'org.kodein.type.generic' call
|
|
29804
|
-
var tmp_24 = typeToken(createKType(getKClass(ClientGameHistoryInteractor), arrayOf([]), false));
|
|
29805
|
-
var tmp$ret$24 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
29806
|
-
tmp_23.bd6_1 = Instance(di, tmp$ret$24, null).w67(this, clientGameHistoryInteractor$factory());
|
|
29794
|
+
tmp_21.yd5_1 = Instance(di, tmp$ret$22, null).w67(this, clientGameHistoryInteractor$factory());
|
|
29807
29795
|
}
|
|
29808
29796
|
protoOf(ClientCommonStoreContract).s9f = function () {
|
|
29809
|
-
return plus(
|
|
29797
|
+
return plus(listOfNotNull([_get_gameClientConfig__xfscic_0(this).validateExpectantActions ? expectantLifecycleReducer() : null, _get_gameClientConfig__xfscic_0(this).validateExpectantActions ? expectantActionReducer() : null, bufferReducer(), messageReducer(), _get_gameClientConfig__xfscic_0(this).validateSceneActiveState ? sceneActivationReducer() : null, clientResetMessagesAfterSelectedTrumpReducer(_get_logger__rkp4sl_0(this)), clientResetMessagesAfterBribeReducer(_get_logger__rkp4sl_0(this)), clientUIReducer(this.ld5_1), clientResetProcessingCardReducer(), clientSceneReducer(_get_logger__rkp4sl_0(this), _get_clientLifecycleReducer__6ihp6m(this)), clientCombinationToAnnounceStateOnPlayerTurnReducer(_get_clientCombinationsReducer__u5899o(this))]), this.md5_1.s9f());
|
|
29810
29798
|
};
|
|
29811
29799
|
protoOf(ClientCommonStoreContract).t9f = function () {
|
|
29812
|
-
return plus(plus(plus(plus(
|
|
29800
|
+
return plus(plus(plus(plus(listOfNotNull([checkValidCurrentPlayerIdMiddleware(this.ld5_1, _get_logger__rkp4sl_0(this)), checkExpectantsMiddleware(_get_logger__rkp4sl_0(this))]), listOfNotNull([_get_gameClientConfig__xfscic_0(this).validateCardOnMove ? validateCardOnMoveMiddleware(_get_cardValidatorInteractor__u3zq3u(this), _get_messageFactory__6vg0vc(this), _get_logger__rkp4sl_0(this)) : null, clientShowDisabledCardMessageMiddleware(_get_cardValidatorInteractor__u3zq3u(this), _get_messageFactory__6vg0vc(this), _get_logger__rkp4sl_0(this)), clientCheckCombinationsMiddleware(_get_combinationProvider__3gs1n3(this), _get_playerTurnTagProvider__7cizx8(this)), gameHistoryMiddleware(_get_asyncProvider__jbpyhw(this), _get_clientGameHistoryInteractor__6os8wx(this)), finishingGameWhenPlayerExitsMiddleware(_get_gameClientConfig__xfscic_0(this)), startResetTimerForInfoMessageMiddleware(), clearTimersWhenErrorMiddleware(), resetInfoMessageWhenShownMiddleware(), roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this))])), bufferMiddleware(_get_bufferInteractor__bbjsb2_0(this))), expectantMiddlewares()), this.md5_1.t9f());
|
|
29813
29801
|
};
|
|
29814
29802
|
function messageFactory$factory() {
|
|
29815
29803
|
return getPropertyCallableRef('messageFactory', 1, KProperty1, function (receiver) {
|
|
@@ -29846,11 +29834,6 @@
|
|
|
29846
29834
|
return _get_clientCombinationsReducer__u5899o(receiver);
|
|
29847
29835
|
}, null);
|
|
29848
29836
|
}
|
|
29849
|
-
function transitionsReducer$factory() {
|
|
29850
|
-
return getPropertyCallableRef('transitionsReducer', 1, KProperty1, function (receiver) {
|
|
29851
|
-
return _get_transitionsReducer__bsis4j(receiver);
|
|
29852
|
-
}, null);
|
|
29853
|
-
}
|
|
29854
29837
|
function asyncProvider$factory() {
|
|
29855
29838
|
return getPropertyCallableRef('asyncProvider', 1, KProperty1, function (receiver) {
|
|
29856
29839
|
return _get_asyncProvider__jbpyhw(receiver);
|
|
@@ -29911,11 +29894,6 @@
|
|
|
29911
29894
|
return _get_clientCombinationsReducer__u5899o(receiver);
|
|
29912
29895
|
}, null);
|
|
29913
29896
|
}
|
|
29914
|
-
function transitionsReducer$factory_0() {
|
|
29915
|
-
return getPropertyCallableRef('transitionsReducer', 1, KProperty1, function (receiver) {
|
|
29916
|
-
return _get_transitionsReducer__bsis4j(receiver);
|
|
29917
|
-
}, null);
|
|
29918
|
-
}
|
|
29919
29897
|
function asyncProvider$factory_0() {
|
|
29920
29898
|
return getPropertyCallableRef('asyncProvider', 1, KProperty1, function (receiver) {
|
|
29921
29899
|
return _get_asyncProvider__jbpyhw(receiver);
|
|
@@ -29943,215 +29921,229 @@
|
|
|
29943
29921
|
}
|
|
29944
29922
|
function _get_messageFactory__6vg0vc_0($this) {
|
|
29945
29923
|
// Inline function 'kotlin.getValue' call
|
|
29946
|
-
var this_0 = $this.
|
|
29924
|
+
var this_0 = $this.fd6_1;
|
|
29947
29925
|
messageFactory$factory_2();
|
|
29948
29926
|
return this_0.u();
|
|
29949
29927
|
}
|
|
29950
29928
|
function _get_pointsInteractor__5t71wv($this) {
|
|
29951
29929
|
// Inline function 'kotlin.getValue' call
|
|
29952
|
-
var this_0 = $this.
|
|
29930
|
+
var this_0 = $this.gd6_1;
|
|
29953
29931
|
pointsInteractor$factory_0();
|
|
29954
29932
|
return this_0.u();
|
|
29955
29933
|
}
|
|
29956
29934
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
29957
29935
|
// Inline function 'kotlin.getValue' call
|
|
29958
|
-
var this_0 = $this.
|
|
29936
|
+
var this_0 = $this.hd6_1;
|
|
29959
29937
|
teamsLogicProvider$factory_0();
|
|
29960
29938
|
return this_0.u();
|
|
29961
29939
|
}
|
|
29962
29940
|
function _get_gameLogicInteractor__895s7o($this) {
|
|
29963
29941
|
// Inline function 'kotlin.getValue' call
|
|
29964
|
-
var this_0 = $this.
|
|
29942
|
+
var this_0 = $this.id6_1;
|
|
29965
29943
|
gameLogicInteractor$factory_0();
|
|
29966
29944
|
return this_0.u();
|
|
29967
29945
|
}
|
|
29968
29946
|
function _get_clientLifecycleReducer__6ihp6m_0($this) {
|
|
29969
29947
|
// Inline function 'kotlin.getValue' call
|
|
29970
|
-
var this_0 = $this.
|
|
29948
|
+
var this_0 = $this.jd6_1;
|
|
29971
29949
|
clientLifecycleReducer$factory_2();
|
|
29972
29950
|
return this_0.u();
|
|
29973
29951
|
}
|
|
29974
29952
|
function _get_logicConfig__52ww9d($this) {
|
|
29975
29953
|
// Inline function 'kotlin.getValue' call
|
|
29976
|
-
var this_0 = $this.
|
|
29954
|
+
var this_0 = $this.kd6_1;
|
|
29977
29955
|
logicConfig$factory_0();
|
|
29978
29956
|
return this_0.u();
|
|
29979
29957
|
}
|
|
29980
29958
|
function _get_playerTurnTagProvider__7cizx8_0($this) {
|
|
29981
29959
|
// Inline function 'kotlin.getValue' call
|
|
29982
|
-
var this_0 = $this.
|
|
29960
|
+
var this_0 = $this.ld6_1;
|
|
29983
29961
|
playerTurnTagProvider$factory_2();
|
|
29984
29962
|
return this_0.u();
|
|
29985
29963
|
}
|
|
29986
29964
|
function _get_botConfig__cpaxzc($this) {
|
|
29987
29965
|
// Inline function 'kotlin.getValue' call
|
|
29988
|
-
var this_0 = $this.
|
|
29966
|
+
var this_0 = $this.md6_1;
|
|
29989
29967
|
botConfig$factory_0();
|
|
29990
29968
|
return this_0.u();
|
|
29991
29969
|
}
|
|
29992
29970
|
function _get_gameClientConfig__xfscic_1($this) {
|
|
29993
29971
|
// Inline function 'kotlin.getValue' call
|
|
29994
|
-
var this_0 = $this.
|
|
29972
|
+
var this_0 = $this.nd6_1;
|
|
29995
29973
|
gameClientConfig$factory_4();
|
|
29996
29974
|
return this_0.u();
|
|
29997
29975
|
}
|
|
29998
29976
|
function _get_asyncProvider__jbpyhw_0($this) {
|
|
29999
29977
|
// Inline function 'kotlin.getValue' call
|
|
30000
|
-
var this_0 = $this.
|
|
29978
|
+
var this_0 = $this.od6_1;
|
|
30001
29979
|
asyncProvider$factory_2();
|
|
30002
29980
|
return this_0.u();
|
|
30003
29981
|
}
|
|
30004
29982
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
30005
29983
|
// Inline function 'kotlin.getValue' call
|
|
30006
|
-
var this_0 = $this.
|
|
29984
|
+
var this_0 = $this.pd6_1;
|
|
30007
29985
|
fromClientEventsObserver$factory_0();
|
|
30008
29986
|
return this_0.u();
|
|
30009
29987
|
}
|
|
30010
29988
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
30011
29989
|
// Inline function 'kotlin.getValue' call
|
|
30012
|
-
var this_0 = $this.
|
|
29990
|
+
var this_0 = $this.qd6_1;
|
|
30013
29991
|
lastCardInteractor$factory_0();
|
|
30014
29992
|
return this_0.u();
|
|
30015
29993
|
}
|
|
30016
29994
|
function _get_dealerInteractor__6aitmv($this) {
|
|
30017
29995
|
// Inline function 'kotlin.getValue' call
|
|
30018
|
-
var this_0 = $this.
|
|
29996
|
+
var this_0 = $this.rd6_1;
|
|
30019
29997
|
dealerInteractor$factory_0();
|
|
30020
29998
|
return this_0.u();
|
|
30021
29999
|
}
|
|
30022
30000
|
function _get_mechanicReducers__ipi0tc($this) {
|
|
30023
30001
|
// Inline function 'kotlin.getValue' call
|
|
30024
|
-
var this_0 = $this.
|
|
30002
|
+
var this_0 = $this.sd6_1;
|
|
30025
30003
|
mechanicReducers$factory_0();
|
|
30026
30004
|
return this_0.u();
|
|
30027
30005
|
}
|
|
30006
|
+
function _get_transitionsReducer__bsis4j($this) {
|
|
30007
|
+
// Inline function 'kotlin.getValue' call
|
|
30008
|
+
var this_0 = $this.td6_1;
|
|
30009
|
+
transitionsReducer$factory_0();
|
|
30010
|
+
return this_0.u();
|
|
30011
|
+
}
|
|
30028
30012
|
function OnlineGameStoreContract$_get_middlewares_$lambda_9o1az3(this$0) {
|
|
30029
30013
|
return function (it) {
|
|
30030
|
-
return it === this$0.
|
|
30014
|
+
return it === this$0.zd5_1;
|
|
30031
30015
|
};
|
|
30032
30016
|
}
|
|
30033
30017
|
function OnlineGameStoreContract$_get_middlewares_$lambda_9o1az3_0(this$0) {
|
|
30034
30018
|
return function (player) {
|
|
30035
|
-
return player.playerId === this$0.
|
|
30019
|
+
return player.playerId === this$0.zd5_1;
|
|
30036
30020
|
};
|
|
30037
30021
|
}
|
|
30038
|
-
function OnlineGameStoreContract(di, currentPlayerId, clientCommonStoreContract, botGameStoreContract, playerTurnStoreContract, fileLoggerStoreContract) {
|
|
30039
|
-
|
|
30022
|
+
function OnlineGameStoreContract(di, currentPlayerId, validationStoreContract, clientCommonStoreContract, botGameStoreContract, playerTurnStoreContract, fileLoggerStoreContract) {
|
|
30023
|
+
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, false, false, currentPlayerId) : validationStoreContract;
|
|
30024
|
+
clientCommonStoreContract = clientCommonStoreContract === VOID ? new ClientCommonStoreContract(di, currentPlayerId) : clientCommonStoreContract;
|
|
30040
30025
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di, listOf(currentPlayerId)) : botGameStoreContract;
|
|
30041
30026
|
playerTurnStoreContract = playerTurnStoreContract === VOID ? new PlayerTurnStoreContract(di, false, currentPlayerId) : playerTurnStoreContract;
|
|
30042
30027
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di, currentPlayerId) : fileLoggerStoreContract;
|
|
30043
|
-
this.
|
|
30044
|
-
this.
|
|
30045
|
-
this.
|
|
30046
|
-
this.
|
|
30047
|
-
this.
|
|
30028
|
+
this.zd5_1 = currentPlayerId;
|
|
30029
|
+
this.ad6_1 = validationStoreContract;
|
|
30030
|
+
this.bd6_1 = clientCommonStoreContract;
|
|
30031
|
+
this.cd6_1 = botGameStoreContract;
|
|
30032
|
+
this.dd6_1 = playerTurnStoreContract;
|
|
30033
|
+
this.ed6_1 = fileLoggerStoreContract;
|
|
30048
30034
|
var tmp = this;
|
|
30049
30035
|
// Inline function 'org.kodein.di.instance' call
|
|
30050
30036
|
// Inline function 'org.kodein.type.generic' call
|
|
30051
30037
|
var tmp_0 = typeToken(createKType(getKClass(MessageFactory), arrayOf([]), false));
|
|
30052
30038
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
30053
|
-
tmp.
|
|
30039
|
+
tmp.fd6_1 = Instance(di, tmp$ret$0, null).w67(this, messageFactory$factory_1());
|
|
30054
30040
|
var tmp_1 = this;
|
|
30055
30041
|
// Inline function 'org.kodein.di.instance' call
|
|
30056
30042
|
// Inline function 'org.kodein.type.generic' call
|
|
30057
30043
|
var tmp_2 = typeToken(createKType(getKClass(PointsInteractor), arrayOf([]), false));
|
|
30058
30044
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
30059
|
-
tmp_1.
|
|
30045
|
+
tmp_1.gd6_1 = Instance(di, tmp$ret$2, null).w67(this, pointsInteractor$factory());
|
|
30060
30046
|
var tmp_3 = this;
|
|
30061
30047
|
// Inline function 'org.kodein.di.instance' call
|
|
30062
30048
|
// Inline function 'org.kodein.type.generic' call
|
|
30063
30049
|
var tmp_4 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
30064
30050
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
30065
|
-
tmp_3.
|
|
30051
|
+
tmp_3.hd6_1 = Instance(di, tmp$ret$4, null).w67(this, teamsLogicProvider$factory());
|
|
30066
30052
|
var tmp_5 = this;
|
|
30067
30053
|
// Inline function 'org.kodein.di.instance' call
|
|
30068
30054
|
// Inline function 'org.kodein.type.generic' call
|
|
30069
30055
|
var tmp_6 = typeToken(createKType(getKClass(GameMechanicLogicInteractor), arrayOf([]), false));
|
|
30070
30056
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
30071
|
-
tmp_5.
|
|
30057
|
+
tmp_5.id6_1 = Instance(di, tmp$ret$6, null).w67(this, gameLogicInteractor$factory());
|
|
30072
30058
|
var tmp_7 = this;
|
|
30073
30059
|
// Inline function 'org.kodein.di.instance' call
|
|
30074
30060
|
// Inline function 'org.kodein.type.generic' call
|
|
30075
30061
|
var tmp_8 = typeToken(createKType(getKClass(ClientLifecycleReducer), arrayOf([]), false));
|
|
30076
30062
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
30077
|
-
tmp_7.
|
|
30063
|
+
tmp_7.jd6_1 = Instance(di, tmp$ret$8, null).w67(this, clientLifecycleReducer$factory_1());
|
|
30078
30064
|
var tmp_9 = this;
|
|
30079
30065
|
// Inline function 'org.kodein.di.instance' call
|
|
30080
30066
|
// Inline function 'org.kodein.type.generic' call
|
|
30081
30067
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
30082
30068
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
30083
|
-
tmp_9.
|
|
30069
|
+
tmp_9.kd6_1 = Instance(di, tmp$ret$10, null).w67(this, logicConfig$factory());
|
|
30084
30070
|
var tmp_11 = this;
|
|
30085
30071
|
// Inline function 'org.kodein.di.instance' call
|
|
30086
30072
|
// Inline function 'org.kodein.type.generic' call
|
|
30087
30073
|
var tmp_12 = typeToken(createKType(getKClass(PlayerTurnTagProvider), arrayOf([]), false));
|
|
30088
30074
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
30089
|
-
tmp_11.
|
|
30075
|
+
tmp_11.ld6_1 = Instance(di, tmp$ret$12, null).w67(this, playerTurnTagProvider$factory_1());
|
|
30090
30076
|
var tmp_13 = this;
|
|
30091
30077
|
// Inline function 'org.kodein.di.instance' call
|
|
30092
30078
|
// Inline function 'org.kodein.type.generic' call
|
|
30093
30079
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
30094
30080
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
30095
|
-
tmp_13.
|
|
30081
|
+
tmp_13.md6_1 = Instance(di, tmp$ret$14, null).w67(this, botConfig$factory());
|
|
30096
30082
|
var tmp_15 = this;
|
|
30097
30083
|
// Inline function 'org.kodein.di.instance' call
|
|
30098
30084
|
// Inline function 'org.kodein.type.generic' call
|
|
30099
30085
|
var tmp_16 = typeToken(createKType(getKClass(GameClientConfig), arrayOf([]), false));
|
|
30100
30086
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
30101
|
-
tmp_15.
|
|
30087
|
+
tmp_15.nd6_1 = Instance(di, tmp$ret$16, null).w67(this, gameClientConfig$factory_3());
|
|
30102
30088
|
var tmp_17 = this;
|
|
30103
30089
|
// Inline function 'org.kodein.di.instance' call
|
|
30104
30090
|
// Inline function 'org.kodein.type.generic' call
|
|
30105
30091
|
var tmp_18 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
30106
30092
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
30107
|
-
tmp_17.
|
|
30093
|
+
tmp_17.od6_1 = Instance(di, tmp$ret$18, null).w67(this, asyncProvider$factory_1());
|
|
30108
30094
|
var tmp_19 = this;
|
|
30109
30095
|
// Inline function 'org.kodein.di.instance' call
|
|
30110
30096
|
// Inline function 'org.kodein.type.generic' call
|
|
30111
30097
|
var tmp_20 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
30112
30098
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
30113
|
-
tmp_19.
|
|
30099
|
+
tmp_19.pd6_1 = Instance(di, tmp$ret$20, null).w67(this, fromClientEventsObserver$factory());
|
|
30114
30100
|
var tmp_21 = this;
|
|
30115
30101
|
// Inline function 'org.kodein.di.instance' call
|
|
30116
30102
|
// Inline function 'org.kodein.type.generic' call
|
|
30117
30103
|
var tmp_22 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
30118
30104
|
var tmp$ret$22 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
30119
|
-
tmp_21.
|
|
30105
|
+
tmp_21.qd6_1 = Instance(di, tmp$ret$22, null).w67(this, lastCardInteractor$factory());
|
|
30120
30106
|
var tmp_23 = this;
|
|
30121
30107
|
// Inline function 'org.kodein.di.instance' call
|
|
30122
30108
|
// Inline function 'org.kodein.type.generic' call
|
|
30123
30109
|
var tmp_24 = typeToken(createKType(getKClass(DealerInteractor), arrayOf([]), false));
|
|
30124
30110
|
var tmp$ret$24 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
30125
|
-
tmp_23.
|
|
30111
|
+
tmp_23.rd6_1 = Instance(di, tmp$ret$24, null).w67(this, dealerInteractor$factory());
|
|
30126
30112
|
var tmp_25 = this;
|
|
30127
30113
|
// Inline function 'org.kodein.di.instance' call
|
|
30128
30114
|
// Inline function 'org.kodein.type.generic' call
|
|
30129
30115
|
var tmp_26 = typeToken(createKType(getKClass(MechanicReducers), arrayOf([]), false));
|
|
30130
30116
|
var tmp$ret$26 = isInterface(tmp_26, TypeToken) ? tmp_26 : THROW_CCE();
|
|
30131
|
-
tmp_25.
|
|
30117
|
+
tmp_25.sd6_1 = Instance(di, tmp$ret$26, null).w67(this, mechanicReducers$factory());
|
|
30118
|
+
var tmp_27 = this;
|
|
30119
|
+
// Inline function 'org.kodein.di.instance' call
|
|
30120
|
+
// Inline function 'org.kodein.type.generic' call
|
|
30121
|
+
var tmp_28 = typeToken(createKType(getKClass(TransitionsReducer), arrayOf([]), false));
|
|
30122
|
+
var tmp$ret$28 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
|
|
30123
|
+
tmp_27.td6_1 = Instance(di, tmp$ret$28, null).w67(this, transitionsReducer$factory());
|
|
30132
30124
|
}
|
|
30133
30125
|
protoOf(OnlineGameStoreContract).s9f = function () {
|
|
30134
|
-
var tmp = plus(this.
|
|
30126
|
+
var tmp = plus(plus(plus(plus(this.ad6_1.s9f(), _get_transitionsReducer__bsis4j(this).ud6(this.zd5_1)), this.dd6_1.s9f()), listOf_0([_get_mechanicReducers__ipi0tc(this).c9h(), clientErrorStateWhenTerminationActionReducer(_get_clientLifecycleReducer__6ihp6m_0(this))])), this.bd6_1.s9f());
|
|
30135
30127
|
var tmp_0;
|
|
30136
30128
|
if (_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer) {
|
|
30137
|
-
tmp_0 = this.
|
|
30129
|
+
tmp_0 = this.cd6_1.s9f();
|
|
30138
30130
|
} else {
|
|
30139
30131
|
tmp_0 = emptyList();
|
|
30140
30132
|
}
|
|
30141
|
-
return plus(plus(
|
|
30133
|
+
return plus(plus(tmp, tmp_0), this.ed6_1.s9f());
|
|
30142
30134
|
};
|
|
30143
30135
|
protoOf(OnlineGameStoreContract).t9f = function () {
|
|
30144
30136
|
var messagesMiddleware = new MessagesMiddleware(_get_messageFactory__6vg0vc_0(this), _get_pointsInteractor__5t71wv(this), _get_teamsLogicProvider__u10pm6(this));
|
|
30145
|
-
var tmp = this.
|
|
30137
|
+
var tmp = plus(plus(this.ad6_1.t9f(), this.dd6_1.t9f()), this.bd6_1.t9f());
|
|
30146
30138
|
var tmp_0;
|
|
30147
30139
|
if (_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer) {
|
|
30148
|
-
var tmp_1 = this.
|
|
30140
|
+
var tmp_1 = this.cd6_1.t9f();
|
|
30149
30141
|
var tmp_2 = playerTurnTimeoutMiddleware(_get_asyncProvider__jbpyhw_0(this));
|
|
30150
30142
|
tmp_0 = plus(tmp_1, listOf_0([tmp_2, reloadTimersWhenContinueGameMiddleware(true, VOID, OnlineGameStoreContract$_get_middlewares_$lambda_9o1az3(this))]));
|
|
30151
30143
|
} else {
|
|
30152
30144
|
tmp_0 = emptyList();
|
|
30153
30145
|
}
|
|
30154
|
-
var tmp_3 = plus(plus(plus(
|
|
30146
|
+
var tmp_3 = plus(plus(plus(tmp, tmp_0), this.ed6_1.t9f()), listOfNotNull([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw_0(this), _get_fromClientEventsObserver__a7vzd3(this)), announceCombinationMiddleware(_get_playerTurnTagProvider__7cizx8_0(this)), clientHostDealerMiddleware(this.zd5_1, _get_dealerInteractor__6aitmv(this), _get_playerTurnTagProvider__7cizx8_0(this)), _get_logicConfig__52ww9d(this).supportBackwardActions ? clientConsumeFromClientActionsMiddleware(_get_gameLogicInteractor__895s7o(this)) : null, messagesMiddleware.yd6(this.zd5_1)]));
|
|
30155
30147
|
var tmp_4;
|
|
30156
30148
|
if (_get_botConfig__cpaxzc(this).autoStepLastCard) {
|
|
30157
30149
|
var tmp_5;
|
|
@@ -30161,7 +30153,7 @@
|
|
|
30161
30153
|
} else {
|
|
30162
30154
|
tmp_5 = null;
|
|
30163
30155
|
}
|
|
30164
|
-
tmp_4 = listOfNotNull([tmp_5, !_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer ? clientPutCurrentPlayerLastCardMiddleware(this.
|
|
30156
|
+
tmp_4 = listOfNotNull([tmp_5, !_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer ? clientPutCurrentPlayerLastCardMiddleware(this.zd5_1, _get_lastCardInteractor__h6lq3w(this)) : null]);
|
|
30165
30157
|
} else {
|
|
30166
30158
|
tmp_4 = emptyList();
|
|
30167
30159
|
}
|
|
@@ -30237,6 +30229,11 @@
|
|
|
30237
30229
|
return _get_mechanicReducers__ipi0tc(receiver);
|
|
30238
30230
|
}, null);
|
|
30239
30231
|
}
|
|
30232
|
+
function transitionsReducer$factory() {
|
|
30233
|
+
return getPropertyCallableRef('transitionsReducer', 1, KProperty1, function (receiver) {
|
|
30234
|
+
return _get_transitionsReducer__bsis4j(receiver);
|
|
30235
|
+
}, null);
|
|
30236
|
+
}
|
|
30240
30237
|
function messageFactory$factory_2() {
|
|
30241
30238
|
return getPropertyCallableRef('messageFactory', 1, KProperty1, function (receiver) {
|
|
30242
30239
|
return _get_messageFactory__6vg0vc_0(receiver);
|
|
@@ -30307,79 +30304,91 @@
|
|
|
30307
30304
|
return _get_mechanicReducers__ipi0tc(receiver);
|
|
30308
30305
|
}, null);
|
|
30309
30306
|
}
|
|
30307
|
+
function transitionsReducer$factory_0() {
|
|
30308
|
+
return getPropertyCallableRef('transitionsReducer', 1, KProperty1, function (receiver) {
|
|
30309
|
+
return _get_transitionsReducer__bsis4j(receiver);
|
|
30310
|
+
}, null);
|
|
30311
|
+
}
|
|
30310
30312
|
function _get_messageFactory__6vg0vc_1($this) {
|
|
30311
30313
|
// Inline function 'kotlin.getValue' call
|
|
30312
|
-
var this_0 = $this.
|
|
30314
|
+
var this_0 = $this.fd7_1;
|
|
30313
30315
|
messageFactory$factory_4();
|
|
30314
30316
|
return this_0.u();
|
|
30315
30317
|
}
|
|
30316
30318
|
function _get_pointsInteractor__5t71wv_0($this) {
|
|
30317
30319
|
// Inline function 'kotlin.getValue' call
|
|
30318
|
-
var this_0 = $this.
|
|
30320
|
+
var this_0 = $this.gd7_1;
|
|
30319
30321
|
pointsInteractor$factory_2();
|
|
30320
30322
|
return this_0.u();
|
|
30321
30323
|
}
|
|
30322
30324
|
function _get_teamsLogicProvider__u10pm6_0($this) {
|
|
30323
30325
|
// Inline function 'kotlin.getValue' call
|
|
30324
|
-
var this_0 = $this.
|
|
30326
|
+
var this_0 = $this.hd7_1;
|
|
30325
30327
|
teamsLogicProvider$factory_2();
|
|
30326
30328
|
return this_0.u();
|
|
30327
30329
|
}
|
|
30328
30330
|
function _get_clientStatisticsInteractor__s4ngf8($this) {
|
|
30329
30331
|
// Inline function 'kotlin.getValue' call
|
|
30330
|
-
var this_0 = $this.
|
|
30332
|
+
var this_0 = $this.id7_1;
|
|
30331
30333
|
clientStatisticsInteractor$factory_0();
|
|
30332
30334
|
return this_0.u();
|
|
30333
30335
|
}
|
|
30334
30336
|
function _get_asyncProvider__jbpyhw_1($this) {
|
|
30335
30337
|
// Inline function 'kotlin.getValue' call
|
|
30336
|
-
var this_0 = $this.
|
|
30338
|
+
var this_0 = $this.jd7_1;
|
|
30337
30339
|
asyncProvider$factory_4();
|
|
30338
30340
|
return this_0.u();
|
|
30339
30341
|
}
|
|
30340
30342
|
function _get_persistentAppStateInteractor__5jt7l7($this) {
|
|
30341
30343
|
// Inline function 'kotlin.getValue' call
|
|
30342
|
-
var this_0 = $this.
|
|
30344
|
+
var this_0 = $this.kd7_1;
|
|
30343
30345
|
persistentAppStateInteractor$factory_0();
|
|
30344
30346
|
return this_0.u();
|
|
30345
30347
|
}
|
|
30346
30348
|
function _get_gameClientConfig__xfscic_2($this) {
|
|
30347
30349
|
// Inline function 'kotlin.getValue' call
|
|
30348
|
-
var this_0 = $this.
|
|
30350
|
+
var this_0 = $this.ld7_1;
|
|
30349
30351
|
gameClientConfig$factory_6();
|
|
30350
30352
|
return this_0.u();
|
|
30351
30353
|
}
|
|
30352
30354
|
function _get_botConfig__cpaxzc_0($this) {
|
|
30353
30355
|
// Inline function 'kotlin.getValue' call
|
|
30354
|
-
var this_0 = $this.
|
|
30356
|
+
var this_0 = $this.md7_1;
|
|
30355
30357
|
botConfig$factory_2();
|
|
30356
30358
|
return this_0.u();
|
|
30357
30359
|
}
|
|
30358
30360
|
function _get_lastCardInteractor__h6lq3w_0($this) {
|
|
30359
30361
|
// Inline function 'kotlin.getValue' call
|
|
30360
|
-
var this_0 = $this.
|
|
30362
|
+
var this_0 = $this.nd7_1;
|
|
30361
30363
|
lastCardInteractor$factory_2();
|
|
30362
30364
|
return this_0.u();
|
|
30363
30365
|
}
|
|
30364
30366
|
function _get_playerTurnTagProvider__7cizx8_1($this) {
|
|
30365
30367
|
// Inline function 'kotlin.getValue' call
|
|
30366
|
-
var this_0 = $this.
|
|
30368
|
+
var this_0 = $this.od7_1;
|
|
30367
30369
|
playerTurnTagProvider$factory_4();
|
|
30368
30370
|
return this_0.u();
|
|
30369
30371
|
}
|
|
30372
|
+
function _get_transitionsReducer__bsis4j_0($this) {
|
|
30373
|
+
// Inline function 'kotlin.getValue' call
|
|
30374
|
+
var this_0 = $this.pd7_1;
|
|
30375
|
+
transitionsReducer$factory_2();
|
|
30376
|
+
return this_0.u();
|
|
30377
|
+
}
|
|
30370
30378
|
function SingleGameStoreContract$_get_middlewares_$lambda_dj4vza(this$0) {
|
|
30371
30379
|
return function (it) {
|
|
30372
|
-
return !(it === this$0.
|
|
30380
|
+
return !(it === this$0.zd6_1) || _get_gameClientConfig__xfscic_2(this$0).isAutoStepCurrentPlayer;
|
|
30373
30381
|
};
|
|
30374
30382
|
}
|
|
30375
30383
|
function SingleGameStoreContract$_get_middlewares_$lambda_dj4vza_0(this$0) {
|
|
30376
30384
|
return function (player) {
|
|
30377
|
-
var isCurrentPlayer = player.playerId === this$0.
|
|
30385
|
+
var isCurrentPlayer = player.playerId === this$0.zd6_1;
|
|
30378
30386
|
return !isCurrentPlayer || _get_gameClientConfig__xfscic_2(this$0).isAutoStepCurrentPlayer;
|
|
30379
30387
|
};
|
|
30380
30388
|
}
|
|
30381
|
-
function SingleGameStoreContract(di, currentPlayerId, clientCommonStoreContract, gameMechanicStoreContract, botGameStoreContract, fileLoggerStoreContract) {
|
|
30382
|
-
|
|
30389
|
+
function SingleGameStoreContract(di, currentPlayerId, validationStoreContract, clientCommonStoreContract, gameMechanicStoreContract, botGameStoreContract, fileLoggerStoreContract) {
|
|
30390
|
+
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, false, true, currentPlayerId) : validationStoreContract;
|
|
30391
|
+
clientCommonStoreContract = clientCommonStoreContract === VOID ? new ClientCommonStoreContract(di, currentPlayerId) : clientCommonStoreContract;
|
|
30383
30392
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, currentPlayerId, true) : gameMechanicStoreContract;
|
|
30384
30393
|
var tmp;
|
|
30385
30394
|
if (botGameStoreContract === VOID) {
|
|
@@ -30400,88 +30409,95 @@
|
|
|
30400
30409
|
}
|
|
30401
30410
|
botGameStoreContract = tmp;
|
|
30402
30411
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di, currentPlayerId) : fileLoggerStoreContract;
|
|
30403
|
-
this.
|
|
30404
|
-
this.
|
|
30405
|
-
this.
|
|
30406
|
-
this.
|
|
30407
|
-
this.
|
|
30412
|
+
this.zd6_1 = currentPlayerId;
|
|
30413
|
+
this.ad7_1 = validationStoreContract;
|
|
30414
|
+
this.bd7_1 = clientCommonStoreContract;
|
|
30415
|
+
this.cd7_1 = gameMechanicStoreContract;
|
|
30416
|
+
this.dd7_1 = botGameStoreContract;
|
|
30417
|
+
this.ed7_1 = fileLoggerStoreContract;
|
|
30408
30418
|
var tmp_3 = this;
|
|
30409
30419
|
// Inline function 'org.kodein.di.instance' call
|
|
30410
30420
|
// Inline function 'org.kodein.type.generic' call
|
|
30411
30421
|
var tmp_4 = typeToken(createKType(getKClass(MessageFactory), arrayOf([]), false));
|
|
30412
30422
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
30413
|
-
tmp_3.
|
|
30423
|
+
tmp_3.fd7_1 = Instance(di, tmp$ret$2, null).w67(this, messageFactory$factory_3());
|
|
30414
30424
|
var tmp_5 = this;
|
|
30415
30425
|
// Inline function 'org.kodein.di.instance' call
|
|
30416
30426
|
// Inline function 'org.kodein.type.generic' call
|
|
30417
30427
|
var tmp_6 = typeToken(createKType(getKClass(PointsInteractor), arrayOf([]), false));
|
|
30418
30428
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
30419
|
-
tmp_5.
|
|
30429
|
+
tmp_5.gd7_1 = Instance(di, tmp$ret$4, null).w67(this, pointsInteractor$factory_1());
|
|
30420
30430
|
var tmp_7 = this;
|
|
30421
30431
|
// Inline function 'org.kodein.di.instance' call
|
|
30422
30432
|
// Inline function 'org.kodein.type.generic' call
|
|
30423
30433
|
var tmp_8 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
30424
30434
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
30425
|
-
tmp_7.
|
|
30435
|
+
tmp_7.hd7_1 = Instance(di, tmp$ret$6, null).w67(this, teamsLogicProvider$factory_1());
|
|
30426
30436
|
var tmp_9 = this;
|
|
30427
30437
|
// Inline function 'org.kodein.di.instance' call
|
|
30428
30438
|
// Inline function 'org.kodein.type.generic' call
|
|
30429
30439
|
var tmp_10 = typeToken(createKType(getKClass(ClientStatisticsInteractor), arrayOf([]), false));
|
|
30430
30440
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
30431
|
-
tmp_9.
|
|
30441
|
+
tmp_9.id7_1 = Instance(di, tmp$ret$8, null).w67(this, clientStatisticsInteractor$factory());
|
|
30432
30442
|
var tmp_11 = this;
|
|
30433
30443
|
// Inline function 'org.kodein.di.instance' call
|
|
30434
30444
|
// Inline function 'org.kodein.type.generic' call
|
|
30435
30445
|
var tmp_12 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
30436
30446
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
30437
|
-
tmp_11.
|
|
30447
|
+
tmp_11.jd7_1 = Instance(di, tmp$ret$10, null).w67(this, asyncProvider$factory_3());
|
|
30438
30448
|
var tmp_13 = this;
|
|
30439
30449
|
// Inline function 'org.kodein.di.instance' call
|
|
30440
30450
|
// Inline function 'org.kodein.type.generic' call
|
|
30441
30451
|
var tmp_14 = typeToken(createKType(getKClass(PersistentAppStateInteractor), arrayOf([]), false));
|
|
30442
30452
|
var tmp$ret$12 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
30443
|
-
tmp_13.
|
|
30453
|
+
tmp_13.kd7_1 = Instance(di, tmp$ret$12, null).w67(this, persistentAppStateInteractor$factory());
|
|
30444
30454
|
var tmp_15 = this;
|
|
30445
30455
|
// Inline function 'org.kodein.di.instance' call
|
|
30446
30456
|
// Inline function 'org.kodein.type.generic' call
|
|
30447
30457
|
var tmp_16 = typeToken(createKType(getKClass(GameClientConfig), arrayOf([]), false));
|
|
30448
30458
|
var tmp$ret$14 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
30449
|
-
tmp_15.
|
|
30459
|
+
tmp_15.ld7_1 = Instance(di, tmp$ret$14, null).w67(this, gameClientConfig$factory_5());
|
|
30450
30460
|
var tmp_17 = this;
|
|
30451
30461
|
// Inline function 'org.kodein.di.instance' call
|
|
30452
30462
|
// Inline function 'org.kodein.type.generic' call
|
|
30453
30463
|
var tmp_18 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
30454
30464
|
var tmp$ret$16 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
30455
|
-
tmp_17.
|
|
30465
|
+
tmp_17.md7_1 = Instance(di, tmp$ret$16, null).w67(this, botConfig$factory_1());
|
|
30456
30466
|
var tmp_19 = this;
|
|
30457
30467
|
// Inline function 'org.kodein.di.instance' call
|
|
30458
30468
|
// Inline function 'org.kodein.type.generic' call
|
|
30459
30469
|
var tmp_20 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
30460
30470
|
var tmp$ret$18 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
30461
|
-
tmp_19.
|
|
30471
|
+
tmp_19.nd7_1 = Instance(di, tmp$ret$18, null).w67(this, lastCardInteractor$factory_1());
|
|
30462
30472
|
var tmp_21 = this;
|
|
30463
30473
|
// Inline function 'org.kodein.di.instance' call
|
|
30464
30474
|
// Inline function 'org.kodein.type.generic' call
|
|
30465
30475
|
var tmp_22 = typeToken(createKType(getKClass(PlayerTurnTagProvider), arrayOf([]), false));
|
|
30466
30476
|
var tmp$ret$20 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
30467
|
-
tmp_21.
|
|
30477
|
+
tmp_21.od7_1 = Instance(di, tmp$ret$20, null).w67(this, playerTurnTagProvider$factory_3());
|
|
30478
|
+
var tmp_23 = this;
|
|
30479
|
+
// Inline function 'org.kodein.di.instance' call
|
|
30480
|
+
// Inline function 'org.kodein.type.generic' call
|
|
30481
|
+
var tmp_24 = typeToken(createKType(getKClass(TransitionsReducer), arrayOf([]), false));
|
|
30482
|
+
var tmp$ret$22 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
30483
|
+
tmp_23.pd7_1 = Instance(di, tmp$ret$22, null).w67(this, transitionsReducer$factory_1());
|
|
30468
30484
|
}
|
|
30469
30485
|
protoOf(SingleGameStoreContract).s9f = function () {
|
|
30470
|
-
return plus(plus(plus(this.
|
|
30486
|
+
return plus(plus(plus(plus(plus(this.ad7_1.s9f(), _get_transitionsReducer__bsis4j_0(this).ud6(this.zd6_1)), this.cd7_1.s9f()), this.bd7_1.s9f()), this.dd7_1.s9f()), this.ed7_1.s9f());
|
|
30471
30487
|
};
|
|
30472
30488
|
protoOf(SingleGameStoreContract).t9f = function () {
|
|
30473
30489
|
var messagesMiddleware = new MessagesMiddleware(_get_messageFactory__6vg0vc_1(this), _get_pointsInteractor__5t71wv_0(this), _get_teamsLogicProvider__u10pm6_0(this));
|
|
30474
|
-
var tmp = plus(plus(plus(this.
|
|
30475
|
-
var tmp_0 = messagesMiddleware.
|
|
30490
|
+
var tmp = plus(plus(plus(plus(this.ad7_1.t9f(), this.cd7_1.t9f()), this.bd7_1.t9f()), this.dd7_1.t9f()), this.ed7_1.t9f());
|
|
30491
|
+
var tmp_0 = messagesMiddleware.qd7();
|
|
30476
30492
|
var tmp_1 = announceCombinationMiddleware(_get_playerTurnTagProvider__7cizx8_1(this));
|
|
30477
30493
|
var tmp_2 = playerTurnTimeoutMiddleware(_get_asyncProvider__jbpyhw_1(this));
|
|
30478
30494
|
var tmp_3 = _get_botConfig__cpaxzc_0(this).isDelayForBot;
|
|
30479
30495
|
var tmp_4 = _get_botConfig__cpaxzc_0(this).simulateBotThinkingDelay ? Default_getInstance() : null;
|
|
30480
|
-
var tmp_5 = plus(tmp, listOfNotNull([tmp_0, tmp_1, tmp_2, reloadTimersWhenContinueGameMiddleware(tmp_3, tmp_4, SingleGameStoreContract$_get_middlewares_$lambda_dj4vza(this)), statisticsMiddleware(_get_asyncProvider__jbpyhw_1(this), this.
|
|
30496
|
+
var tmp_5 = plus(tmp, listOfNotNull([tmp_0, tmp_1, tmp_2, reloadTimersWhenContinueGameMiddleware(tmp_3, tmp_4, SingleGameStoreContract$_get_middlewares_$lambda_dj4vza(this)), statisticsMiddleware(_get_asyncProvider__jbpyhw_1(this), this.zd6_1, _get_clientStatisticsInteractor__s4ngf8(this)), exitAndSaveGameMiddleware(this.zd6_1, _get_asyncProvider__jbpyhw_1(this), _get_persistentAppStateInteractor__5jt7l7(this)), saveGameWhenAppOnBackgroundMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_persistentAppStateInteractor__5jt7l7(this)), removeSavedGameMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_persistentAppStateInteractor__5jt7l7(this)), removeSavedGameWhenErrorMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_persistentAppStateInteractor__5jt7l7(this))]));
|
|
30481
30497
|
var tmp_6;
|
|
30482
30498
|
if (_get_botConfig__cpaxzc_0(this).autoStepLastCard) {
|
|
30483
30499
|
var tmp_7 = _get_lastCardInteractor__h6lq3w_0(this);
|
|
30484
|
-
tmp_6 = listOfNotNull([putPlayerLastCardMiddleware(tmp_7, SingleGameStoreContract$_get_middlewares_$lambda_dj4vza_0(this)), !_get_gameClientConfig__xfscic_2(this).isAutoStepCurrentPlayer ? clientPutCurrentPlayerLastCardMiddleware(this.
|
|
30500
|
+
tmp_6 = listOfNotNull([putPlayerLastCardMiddleware(tmp_7, SingleGameStoreContract$_get_middlewares_$lambda_dj4vza_0(this)), !_get_gameClientConfig__xfscic_2(this).isAutoStepCurrentPlayer ? clientPutCurrentPlayerLastCardMiddleware(this.zd6_1, _get_lastCardInteractor__h6lq3w_0(this)) : null]);
|
|
30485
30501
|
} else {
|
|
30486
30502
|
tmp_6 = emptyList();
|
|
30487
30503
|
}
|
|
@@ -30537,6 +30553,11 @@
|
|
|
30537
30553
|
return _get_playerTurnTagProvider__7cizx8_1(receiver);
|
|
30538
30554
|
}, null);
|
|
30539
30555
|
}
|
|
30556
|
+
function transitionsReducer$factory_1() {
|
|
30557
|
+
return getPropertyCallableRef('transitionsReducer', 1, KProperty1, function (receiver) {
|
|
30558
|
+
return _get_transitionsReducer__bsis4j_0(receiver);
|
|
30559
|
+
}, null);
|
|
30560
|
+
}
|
|
30540
30561
|
function messageFactory$factory_4() {
|
|
30541
30562
|
return getPropertyCallableRef('messageFactory', 1, KProperty1, function (receiver) {
|
|
30542
30563
|
return _get_messageFactory__6vg0vc_1(receiver);
|
|
@@ -30587,6 +30608,11 @@
|
|
|
30587
30608
|
return _get_playerTurnTagProvider__7cizx8_1(receiver);
|
|
30588
30609
|
}, null);
|
|
30589
30610
|
}
|
|
30611
|
+
function transitionsReducer$factory_2() {
|
|
30612
|
+
return getPropertyCallableRef('transitionsReducer', 1, KProperty1, function (receiver) {
|
|
30613
|
+
return _get_transitionsReducer__bsis4j_0(receiver);
|
|
30614
|
+
}, null);
|
|
30615
|
+
}
|
|
30590
30616
|
function applyBuffer(bufferInteractor) {
|
|
30591
30617
|
return applyBuffer$lambda(bufferInteractor);
|
|
30592
30618
|
}
|
|
@@ -30680,7 +30706,7 @@
|
|
|
30680
30706
|
return new _no_name_provided__qut3iv_74(combinationProvider, playerTurnTagProvider);
|
|
30681
30707
|
}
|
|
30682
30708
|
function _no_name_provided__qut3iv_73($playerTurnTagProvider) {
|
|
30683
|
-
this.
|
|
30709
|
+
this.rd7_1 = $playerTurnTagProvider;
|
|
30684
30710
|
}
|
|
30685
30711
|
protoOf(_no_name_provided__qut3iv_73).r6o = function (action) {
|
|
30686
30712
|
return action instanceof AnnouncedCombinationAction;
|
|
@@ -30727,7 +30753,7 @@
|
|
|
30727
30753
|
var tmp = store.dispatch;
|
|
30728
30754
|
var tmp0_playerId = get_currentPlayer(table).playerId;
|
|
30729
30755
|
var tmp1_isAccepted = action_0.rd4_1;
|
|
30730
|
-
var tmp2_tag = this.
|
|
30756
|
+
var tmp2_tag = this.rd7_1.c94(table.sceneInfo, table.gameInfo.round);
|
|
30731
30757
|
tmp(new CombinationChoiceFromClientAction(tmp0_playerId, false, tmp2_tag, tmp1_isAccepted));
|
|
30732
30758
|
}
|
|
30733
30759
|
};
|
|
@@ -30735,8 +30761,8 @@
|
|
|
30735
30761
|
return this.i6q(store, next, action);
|
|
30736
30762
|
};
|
|
30737
30763
|
function _no_name_provided__qut3iv_74($combinationProvider, $playerTurnTagProvider) {
|
|
30738
|
-
this.
|
|
30739
|
-
this.
|
|
30764
|
+
this.sd7_1 = $combinationProvider;
|
|
30765
|
+
this.td7_1 = $playerTurnTagProvider;
|
|
30740
30766
|
}
|
|
30741
30767
|
protoOf(_no_name_provided__qut3iv_74).r6o = function (action) {
|
|
30742
30768
|
return action instanceof PutCardAndCheckCombinationsAction;
|
|
@@ -30749,7 +30775,7 @@
|
|
|
30749
30775
|
var player = get_currentPlayer(table);
|
|
30750
30776
|
var playerCombinations = player.k74_1.a76_1;
|
|
30751
30777
|
// Inline function 'kotlin.collections.map' call
|
|
30752
|
-
var this_0 = this.
|
|
30778
|
+
var this_0 = this.sd7_1.v93(playerCombinations);
|
|
30753
30779
|
// Inline function 'kotlin.collections.mapTo' call
|
|
30754
30780
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
30755
30781
|
var tmp0_iterator = this_0.j();
|
|
@@ -30861,7 +30887,7 @@
|
|
|
30861
30887
|
if (tmp_0) {
|
|
30862
30888
|
tmp = new CombinationToAnnounceAction(findFirstRoundCombinations, acceptedCombinations, declinedCombinations);
|
|
30863
30889
|
} else {
|
|
30864
|
-
var tmp0_safe_receiver = this.
|
|
30890
|
+
var tmp0_safe_receiver = this.sd7_1.w93(action_0.od4_1.b6j_1, playerCombinations, table.config.rules.oneTryToProtectBella);
|
|
30865
30891
|
var findBellaCombination = tmp0_safe_receiver == null ? null : mapFromDetailed(tmp0_safe_receiver);
|
|
30866
30892
|
var tmp_6;
|
|
30867
30893
|
var tmp_7;
|
|
@@ -30942,7 +30968,7 @@
|
|
|
30942
30968
|
var tmp5_card = action_0.od4_1.b6j_1;
|
|
30943
30969
|
var tmp1_cardNumber = table.cardsOnTable.m();
|
|
30944
30970
|
var tmp2_round = table.gameInfo.round;
|
|
30945
|
-
var tmp6_tag = this.
|
|
30971
|
+
var tmp6_tag = this.td7_1.e94(tmp2_round, VOID, tmp1_cardNumber);
|
|
30946
30972
|
tmp_6 = new CardFromClientAction(tmp3_playerId, false, tmp6_tag, tmp5_card, tmp4_combinations);
|
|
30947
30973
|
}
|
|
30948
30974
|
tmp = tmp_6;
|
|
@@ -30958,7 +30984,7 @@
|
|
|
30958
30984
|
return new _no_name_provided__qut3iv_75(gameClientConfig);
|
|
30959
30985
|
}
|
|
30960
30986
|
function _no_name_provided__qut3iv_75($gameClientConfig) {
|
|
30961
|
-
this.
|
|
30987
|
+
this.ud7_1 = $gameClientConfig;
|
|
30962
30988
|
}
|
|
30963
30989
|
protoOf(_no_name_provided__qut3iv_75).r6o = function (action) {
|
|
30964
30990
|
return action instanceof ExitFromClientAction;
|
|
@@ -30969,7 +30995,7 @@
|
|
|
30969
30995
|
var table = store.state.r6w_1;
|
|
30970
30996
|
var tmp = store.dispatch;
|
|
30971
30997
|
var tmp_0;
|
|
30972
|
-
if (this.
|
|
30998
|
+
if (this.ud7_1.sessionAnalytics) {
|
|
30973
30999
|
var tmp_1 = Companion_instance_0;
|
|
30974
31000
|
var tmp_2 = ProcessingReason_getInstance();
|
|
30975
31001
|
var tmp1_elvis_lhs = table == null ? null : table.isGameFinished;
|
|
@@ -30993,7 +31019,7 @@
|
|
|
30993
31019
|
return new _no_name_provided__qut3iv_76(bufferInteractor);
|
|
30994
31020
|
}
|
|
30995
31021
|
function _no_name_provided__qut3iv_76($bufferInteractor) {
|
|
30996
|
-
this.
|
|
31022
|
+
this.vd7_1 = $bufferInteractor;
|
|
30997
31023
|
}
|
|
30998
31024
|
protoOf(_no_name_provided__qut3iv_76).r6o = function (action) {
|
|
30999
31025
|
return isInterface(action, ReleaseBufferTriggerAction);
|
|
@@ -31003,14 +31029,14 @@
|
|
|
31003
31029
|
var action_0 = isInterface(action, ReleaseBufferTriggerAction) ? action : THROW_CCE();
|
|
31004
31030
|
next(action_0);
|
|
31005
31031
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
31006
|
-
this.
|
|
31032
|
+
this.vd7_1.yap();
|
|
31007
31033
|
var state = store.state;
|
|
31008
31034
|
var bufferedActions = get_clientPayload(state).fao_1;
|
|
31009
31035
|
var tmp;
|
|
31010
31036
|
var tmp_0;
|
|
31011
31037
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
31012
31038
|
if (!bufferedActions.p()) {
|
|
31013
|
-
tmp_0 = this.
|
|
31039
|
+
tmp_0 = this.vd7_1.aaq(state, action_0);
|
|
31014
31040
|
} else {
|
|
31015
31041
|
tmp_0 = false;
|
|
31016
31042
|
}
|
|
@@ -31049,9 +31075,9 @@
|
|
|
31049
31075
|
return new _no_name_provided__qut3iv_77(currentPlayerId, dealerInteractor, tagProvider);
|
|
31050
31076
|
}
|
|
31051
31077
|
function _no_name_provided__qut3iv_77($currentPlayerId, $dealerInteractor, $tagProvider) {
|
|
31052
|
-
this.
|
|
31053
|
-
this.
|
|
31054
|
-
this.
|
|
31078
|
+
this.wd7_1 = $currentPlayerId;
|
|
31079
|
+
this.xd7_1 = $dealerInteractor;
|
|
31080
|
+
this.yd7_1 = $tagProvider;
|
|
31055
31081
|
}
|
|
31056
31082
|
protoOf(_no_name_provided__qut3iv_77).r6o = function (action) {
|
|
31057
31083
|
return action instanceof MechanicAction;
|
|
@@ -31076,7 +31102,7 @@
|
|
|
31076
31102
|
var requestPayload = waitingActData.o7j_1;
|
|
31077
31103
|
if (!(requestPayload == null)) {
|
|
31078
31104
|
if (requestPayload instanceof CardDeckRequest) {
|
|
31079
|
-
if (this.
|
|
31105
|
+
if (this.wd7_1 === waitingActData.l7j()) {
|
|
31080
31106
|
var tmp = store.dispatch;
|
|
31081
31107
|
// Inline function 'kotlin.collections.map' call
|
|
31082
31108
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -31102,7 +31128,7 @@
|
|
|
31102
31128
|
while (tmp0_iterator.k()) {
|
|
31103
31129
|
var item = tmp0_iterator.l();
|
|
31104
31130
|
// Inline function 'games.jass.logic.client.redux.middlewares.dealer.clientHostDealerMiddleware.<anonymous>.<anonymous>' call
|
|
31105
|
-
var tmp$ret$4 = this.
|
|
31131
|
+
var tmp$ret$4 = this.xd7_1.x93();
|
|
31106
31132
|
destination.e(tmp$ret$4);
|
|
31107
31133
|
}
|
|
31108
31134
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -31114,8 +31140,8 @@
|
|
|
31114
31140
|
var tmp$ret$7 = Companion_instance_1.x82(item_0);
|
|
31115
31141
|
destination_0.e(tmp$ret$7);
|
|
31116
31142
|
}
|
|
31117
|
-
var tmp3_tag = this.
|
|
31118
|
-
tmp(new RequestedCardDecksFromClientAction(destination_0, this.
|
|
31143
|
+
var tmp3_tag = this.yd7_1.z93(action_0.q89_1, store.state.i6x().gameInfo.round);
|
|
31144
|
+
tmp(new RequestedCardDecksFromClientAction(destination_0, this.wd7_1, false, tmp3_tag));
|
|
31119
31145
|
}
|
|
31120
31146
|
} else {
|
|
31121
31147
|
noWhenBranchMatchedException();
|
|
@@ -31138,13 +31164,13 @@
|
|
|
31138
31164
|
return new _no_name_provided__qut3iv_79();
|
|
31139
31165
|
}
|
|
31140
31166
|
function ExpectantTimerTag(id) {
|
|
31141
|
-
this.
|
|
31167
|
+
this.zd7_1 = id;
|
|
31142
31168
|
}
|
|
31143
31169
|
protoOf(ExpectantTimerTag).toString = function () {
|
|
31144
|
-
return 'ExpectantTimerTag(id=' + this.
|
|
31170
|
+
return 'ExpectantTimerTag(id=' + this.zd7_1 + ')';
|
|
31145
31171
|
};
|
|
31146
31172
|
protoOf(ExpectantTimerTag).hashCode = function () {
|
|
31147
|
-
return getStringHashCode(this.
|
|
31173
|
+
return getStringHashCode(this.zd7_1);
|
|
31148
31174
|
};
|
|
31149
31175
|
protoOf(ExpectantTimerTag).equals = function (other) {
|
|
31150
31176
|
if (this === other)
|
|
@@ -31152,7 +31178,7 @@
|
|
|
31152
31178
|
if (!(other instanceof ExpectantTimerTag))
|
|
31153
31179
|
return false;
|
|
31154
31180
|
var tmp0_other_with_cast = other instanceof ExpectantTimerTag ? other : THROW_CCE();
|
|
31155
|
-
if (!(this.
|
|
31181
|
+
if (!(this.zd7_1 === tmp0_other_with_cast.zd7_1))
|
|
31156
31182
|
return false;
|
|
31157
31183
|
return true;
|
|
31158
31184
|
};
|
|
@@ -31208,7 +31234,7 @@
|
|
|
31208
31234
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
31209
31235
|
var timerTag = action_0.n6o_1;
|
|
31210
31236
|
if (timerTag instanceof ExpectantTimerTag) {
|
|
31211
|
-
store.dispatch(new ExpectantTimerFinishedClientAction(timerTag.
|
|
31237
|
+
store.dispatch(new ExpectantTimerFinishedClientAction(timerTag.zd7_1));
|
|
31212
31238
|
}
|
|
31213
31239
|
next(action_0);
|
|
31214
31240
|
};
|
|
@@ -31231,8 +31257,8 @@
|
|
|
31231
31257
|
return null;
|
|
31232
31258
|
}
|
|
31233
31259
|
function _no_name_provided__qut3iv_80($currentPlayerId, $lastCardInteractor) {
|
|
31234
|
-
this.
|
|
31235
|
-
this.
|
|
31260
|
+
this.ad8_1 = $currentPlayerId;
|
|
31261
|
+
this.bd8_1 = $lastCardInteractor;
|
|
31236
31262
|
}
|
|
31237
31263
|
protoOf(_no_name_provided__qut3iv_80).r6o = function (action) {
|
|
31238
31264
|
return isInterface(action, CardsMechanicAction);
|
|
@@ -31242,7 +31268,7 @@
|
|
|
31242
31268
|
var action_0 = isInterface(action, CardsMechanicAction) ? action : THROW_CCE();
|
|
31243
31269
|
next(action_0);
|
|
31244
31270
|
var table = store.state.i6x();
|
|
31245
|
-
var newAction = getCardActionIfNeeded(action_0, this.
|
|
31271
|
+
var newAction = getCardActionIfNeeded(action_0, this.ad8_1, table, this.bd8_1);
|
|
31246
31272
|
if (newAction == null)
|
|
31247
31273
|
null;
|
|
31248
31274
|
else {
|
|
@@ -31259,7 +31285,7 @@
|
|
|
31259
31285
|
// Inline function 'kotlin.contracts.contract' call
|
|
31260
31286
|
var $this$with = store.state.i6x();
|
|
31261
31287
|
var player = getPlayer($this$with.players, playerId);
|
|
31262
|
-
store.dispatch(new MessageMechanicAction($this.
|
|
31288
|
+
store.dispatch(new MessageMechanicAction($this.vd6_1.w92(player.i74_1.c79(), selectedSuit, player.f74_1)));
|
|
31263
31289
|
}
|
|
31264
31290
|
function onCardMessages($this, store, playerId, combinations) {
|
|
31265
31291
|
// Inline function 'kotlin.with' call
|
|
@@ -31284,7 +31310,7 @@
|
|
|
31284
31310
|
var tmp$ret$0 = item.t7j_1;
|
|
31285
31311
|
destination.e(tmp$ret$0);
|
|
31286
31312
|
}
|
|
31287
|
-
tmp_0(new MessageMechanicAction($this.
|
|
31313
|
+
tmp_0(new MessageMechanicAction($this.vd6_1.u92(destination, player.f74_1)));
|
|
31288
31314
|
tmp = Unit_instance;
|
|
31289
31315
|
}
|
|
31290
31316
|
}
|
|
@@ -31315,14 +31341,14 @@
|
|
|
31315
31341
|
var tmp$ret$1 = item.t7j_1;
|
|
31316
31342
|
destination.e(tmp$ret$1);
|
|
31317
31343
|
}
|
|
31318
|
-
tmp(new MessageMechanicAction($this.
|
|
31344
|
+
tmp(new MessageMechanicAction($this.vd6_1.u92(destination, player.f74_1)));
|
|
31319
31345
|
}
|
|
31320
31346
|
}
|
|
31321
31347
|
function onWinnerCombinationMessages($this, store, winnerCombinations) {
|
|
31322
31348
|
// Inline function 'kotlin.with' call
|
|
31323
31349
|
// Inline function 'kotlin.contracts.contract' call
|
|
31324
31350
|
var $this$with = store.state.i6x();
|
|
31325
|
-
var message = $this.
|
|
31351
|
+
var message = $this.vd6_1.v92(winnerCombinations, $this$with.players);
|
|
31326
31352
|
store.dispatch(new MessageMechanicAction(message));
|
|
31327
31353
|
}
|
|
31328
31354
|
function onSceneMessages($this, store, action) {
|
|
@@ -31335,7 +31361,7 @@
|
|
|
31335
31361
|
var tmp$ret$0;
|
|
31336
31362
|
$l$block_0: {
|
|
31337
31363
|
// Inline function 'kotlin.collections.any' call
|
|
31338
|
-
var this_0 = $this.
|
|
31364
|
+
var this_0 = $this.xd6_1.i92(table.players);
|
|
31339
31365
|
var tmp_0;
|
|
31340
31366
|
if (isInterface(this_0, Collection)) {
|
|
31341
31367
|
tmp_0 = this_0.p();
|
|
@@ -31397,7 +31423,7 @@
|
|
|
31397
31423
|
}
|
|
31398
31424
|
var hasWinners = tmp;
|
|
31399
31425
|
if (hasWinners) {
|
|
31400
|
-
store.dispatch(new MessageMechanicAction($this.
|
|
31426
|
+
store.dispatch(new MessageMechanicAction($this.vd6_1.z92('ONE_MORE_ROUND_NEEDED_ID')));
|
|
31401
31427
|
}
|
|
31402
31428
|
var tmp$ret$6;
|
|
31403
31429
|
$l$block_3: {
|
|
@@ -31410,10 +31436,10 @@
|
|
|
31410
31436
|
throw new MechanicException('Required ' + getKClass(TradeSceneData).qa() + ', current scene is ' + toString_0(this_2));
|
|
31411
31437
|
}
|
|
31412
31438
|
var scene = tmp$ret$6;
|
|
31413
|
-
store.dispatch(new MessageMechanicAction($this.
|
|
31439
|
+
store.dispatch(new MessageMechanicAction($this.vd6_1.t92(getPlayer(table.players, scene.d7l_1).f74_1, scene.b7l_1)));
|
|
31414
31440
|
var randomData = scene.a7l_1;
|
|
31415
31441
|
if (!(randomData == null)) {
|
|
31416
|
-
store.dispatch(new MessageMechanicAction($this.
|
|
31442
|
+
store.dispatch(new MessageMechanicAction($this.vd6_1.d93(randomData)));
|
|
31417
31443
|
}
|
|
31418
31444
|
} else if (tmp0_subject === 'CALC_POINTS') {
|
|
31419
31445
|
var tmp$ret$7;
|
|
@@ -31431,7 +31457,7 @@
|
|
|
31431
31457
|
var whoChoseSuitPlayerId = getWhoChoseSuit(table_0.players).playerId;
|
|
31432
31458
|
var tmp_3 = store.dispatch;
|
|
31433
31459
|
// Inline function 'kotlin.collections.map' call
|
|
31434
|
-
var this_4 = $this.
|
|
31460
|
+
var this_4 = $this.wd6_1.p98(scene_0.s7k_1);
|
|
31435
31461
|
// Inline function 'kotlin.collections.mapTo' call
|
|
31436
31462
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_4, 10));
|
|
31437
31463
|
var tmp0_iterator_2 = this_4.j();
|
|
@@ -31453,7 +31479,7 @@
|
|
|
31453
31479
|
var tmp$ret$11 = new PointItemViewModel(destination_0, tmp0_points);
|
|
31454
31480
|
destination.e(tmp$ret$11);
|
|
31455
31481
|
}
|
|
31456
|
-
tmp_3(new MessageMechanicAction($this.
|
|
31482
|
+
tmp_3(new MessageMechanicAction($this.vd6_1.x92(table_0.gameInfo.round, destination, scene_0.w7k(whoChoseSuitPlayerId), scene_0.v7k(whoChoseSuitPlayerId), scene_0.p7k_1)));
|
|
31457
31483
|
}
|
|
31458
31484
|
}
|
|
31459
31485
|
function onExpectantCreatedMessages($this, store, action, excludePlayersIds) {
|
|
@@ -31468,12 +31494,12 @@
|
|
|
31468
31494
|
onCombinationChoiceMessages($this, store, expectantAction.playerId, expectantAction.g8a_1);
|
|
31469
31495
|
} else {
|
|
31470
31496
|
if (expectantAction instanceof RestartGameMechanicAction) {
|
|
31471
|
-
var message = $this.
|
|
31497
|
+
var message = $this.vd6_1.z92('GAME_RESTART_EVENT_ID');
|
|
31472
31498
|
store.dispatch(new MessageMechanicAction(message));
|
|
31473
31499
|
store.dispatch(new InfoMessageAction(message));
|
|
31474
31500
|
} else {
|
|
31475
31501
|
if (expectantAction instanceof WinnerCombinationsMechanicAction) {
|
|
31476
|
-
var message_0 = $this.
|
|
31502
|
+
var message_0 = $this.vd6_1.v92(expectantAction.s8a_1, $this$with.players);
|
|
31477
31503
|
store.dispatch(new InfoMessageAction(message_0));
|
|
31478
31504
|
}
|
|
31479
31505
|
}
|
|
@@ -31585,14 +31611,14 @@
|
|
|
31585
31611
|
};
|
|
31586
31612
|
}
|
|
31587
31613
|
function MessagesMiddleware(factory, pointsInteractor, teamsLogicProvider) {
|
|
31588
|
-
this.
|
|
31589
|
-
this.
|
|
31590
|
-
this.
|
|
31614
|
+
this.vd6_1 = factory;
|
|
31615
|
+
this.wd6_1 = pointsInteractor;
|
|
31616
|
+
this.xd6_1 = teamsLogicProvider;
|
|
31591
31617
|
}
|
|
31592
|
-
protoOf(MessagesMiddleware).
|
|
31618
|
+
protoOf(MessagesMiddleware).qd7 = function () {
|
|
31593
31619
|
return middleware(MessagesMiddleware$middlewareEngine$lambda(this));
|
|
31594
31620
|
};
|
|
31595
|
-
protoOf(MessagesMiddleware).
|
|
31621
|
+
protoOf(MessagesMiddleware).yd6 = function (currentPlayerId) {
|
|
31596
31622
|
return middleware(MessagesMiddleware$middlewareClient$lambda(this, currentPlayerId));
|
|
31597
31623
|
};
|
|
31598
31624
|
function startResetTimerForInfoMessageMiddleware() {
|
|
@@ -31604,13 +31630,13 @@
|
|
|
31604
31630
|
return new _no_name_provided__qut3iv_82();
|
|
31605
31631
|
}
|
|
31606
31632
|
function ResetMessageTimerTag(message) {
|
|
31607
|
-
this.
|
|
31633
|
+
this.cd8_1 = message;
|
|
31608
31634
|
}
|
|
31609
31635
|
protoOf(ResetMessageTimerTag).toString = function () {
|
|
31610
|
-
return 'ResetMessageTimerTag(message=' + toString(this.
|
|
31636
|
+
return 'ResetMessageTimerTag(message=' + toString(this.cd8_1) + ')';
|
|
31611
31637
|
};
|
|
31612
31638
|
protoOf(ResetMessageTimerTag).hashCode = function () {
|
|
31613
|
-
return hashCode(this.
|
|
31639
|
+
return hashCode(this.cd8_1);
|
|
31614
31640
|
};
|
|
31615
31641
|
protoOf(ResetMessageTimerTag).equals = function (other) {
|
|
31616
31642
|
if (this === other)
|
|
@@ -31618,7 +31644,7 @@
|
|
|
31618
31644
|
if (!(other instanceof ResetMessageTimerTag))
|
|
31619
31645
|
return false;
|
|
31620
31646
|
var tmp0_other_with_cast = other instanceof ResetMessageTimerTag ? other : THROW_CCE();
|
|
31621
|
-
if (!equals(this.
|
|
31647
|
+
if (!equals(this.cd8_1, tmp0_other_with_cast.cd8_1))
|
|
31622
31648
|
return false;
|
|
31623
31649
|
return true;
|
|
31624
31650
|
};
|
|
@@ -31653,7 +31679,7 @@
|
|
|
31653
31679
|
var timerTag = action_0.n6o_1;
|
|
31654
31680
|
if (timerTag instanceof ResetMessageTimerTag) {
|
|
31655
31681
|
var clientPayload = get_clientPayload(store.state);
|
|
31656
|
-
if (equals(clientPayload.dao_1, timerTag.
|
|
31682
|
+
if (equals(clientPayload.dao_1, timerTag.cd8_1)) {
|
|
31657
31683
|
store.dispatch(new InfoMessageAction(null));
|
|
31658
31684
|
}
|
|
31659
31685
|
}
|
|
@@ -31667,7 +31693,7 @@
|
|
|
31667
31693
|
return new _no_name_provided__qut3iv_83(gameMechanicLogicInteractor);
|
|
31668
31694
|
}
|
|
31669
31695
|
function _no_name_provided__qut3iv_83($gameMechanicLogicInteractor) {
|
|
31670
|
-
this.
|
|
31696
|
+
this.dd8_1 = $gameMechanicLogicInteractor;
|
|
31671
31697
|
}
|
|
31672
31698
|
protoOf(_no_name_provided__qut3iv_83).r6o = function (action) {
|
|
31673
31699
|
return action instanceof FromClientAction;
|
|
@@ -31686,23 +31712,23 @@
|
|
|
31686
31712
|
next(action_0);
|
|
31687
31713
|
var tmp;
|
|
31688
31714
|
if (action_0 instanceof MessageFromClientAction) {
|
|
31689
|
-
tmp = this.
|
|
31715
|
+
tmp = this.dd8_1.s97(action_0, table.players);
|
|
31690
31716
|
} else {
|
|
31691
31717
|
if (action_0 instanceof PartnerSelectedFromClientAction) {
|
|
31692
|
-
tmp = this.
|
|
31718
|
+
tmp = this.dd8_1.t97(action_0, table.players);
|
|
31693
31719
|
} else {
|
|
31694
31720
|
if (action_0 instanceof PlayerReadyFromClientAction) {
|
|
31695
|
-
tmp = this.
|
|
31721
|
+
tmp = this.dd8_1.u97(action_0);
|
|
31696
31722
|
} else {
|
|
31697
31723
|
if (action_0 instanceof SuitChoiceFromClientAction) {
|
|
31698
|
-
tmp = this.
|
|
31724
|
+
tmp = this.dd8_1.v97(action_0, table.players, table.config);
|
|
31699
31725
|
} else {
|
|
31700
31726
|
if (action_0 instanceof CombinationChoiceFromClientAction) {
|
|
31701
|
-
tmp = this.
|
|
31727
|
+
tmp = this.dd8_1.w97(action_0, table);
|
|
31702
31728
|
} else {
|
|
31703
31729
|
if (action_0 instanceof CardFromClientAction) {
|
|
31704
31730
|
var newCardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(action_0.g82_1, table.cardsOnTable.m(), action_0.j82_1));
|
|
31705
|
-
var cardMechanicAction = this.
|
|
31731
|
+
var cardMechanicAction = this.dd8_1.x97(action_0, newCardsOnTheTable, table.players, table.config);
|
|
31706
31732
|
tmp = cardMechanicAction;
|
|
31707
31733
|
} else {
|
|
31708
31734
|
tmp = null;
|
|
@@ -31743,7 +31769,7 @@
|
|
|
31743
31769
|
case 'TRADE':
|
|
31744
31770
|
case 'EARN_POINTS':
|
|
31745
31771
|
case 'CALC_POINTS':
|
|
31746
|
-
var tmp$ret$0 = state.u9c(VOID, clientPayload.
|
|
31772
|
+
var tmp$ret$0 = state.u9c(VOID, clientPayload.ed8(VOID, VOID, VOID, VOID, VOID, VOID, false));
|
|
31747
31773
|
break;
|
|
31748
31774
|
default:
|
|
31749
31775
|
tmp$ret$0 = state;
|
|
@@ -31759,9 +31785,9 @@
|
|
|
31759
31785
|
return new _no_name_provided__qut3iv_85(currentPlayerId, asyncProvider, persistentAppStateInteractor);
|
|
31760
31786
|
}
|
|
31761
31787
|
function exitAndSaveGameMiddleware$o$handle$slambda($store, $action, $persistentAppStateInteractor, resultContinuation) {
|
|
31762
|
-
this.
|
|
31763
|
-
this.
|
|
31764
|
-
this.
|
|
31788
|
+
this.nd8_1 = $store;
|
|
31789
|
+
this.od8_1 = $action;
|
|
31790
|
+
this.pd8_1 = $persistentAppStateInteractor;
|
|
31765
31791
|
CoroutineImpl.call(this, resultContinuation);
|
|
31766
31792
|
}
|
|
31767
31793
|
protoOf(exitAndSaveGameMiddleware$o$handle$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -31781,16 +31807,16 @@
|
|
|
31781
31807
|
switch (tmp) {
|
|
31782
31808
|
case 0:
|
|
31783
31809
|
this.k9_1 = 2;
|
|
31784
|
-
this.
|
|
31785
|
-
if (!this.
|
|
31810
|
+
this.rd8_1 = this.nd8_1.state;
|
|
31811
|
+
if (!this.rd8_1.j6x() || this.rd8_1.i6x().isGameFinished) {
|
|
31786
31812
|
var tmp_0 = this;
|
|
31787
|
-
this.
|
|
31788
|
-
tmp_0.
|
|
31813
|
+
this.nd8_1.dispatch(new FinishGameMechanicAction(new PlayerExitReason(this.od8_1.a9d_1), this.rd8_1.i6x().isGameFinished));
|
|
31814
|
+
tmp_0.sd8_1 = Unit_instance;
|
|
31789
31815
|
this.j9_1 = 3;
|
|
31790
31816
|
continue $sm;
|
|
31791
31817
|
} else {
|
|
31792
31818
|
this.j9_1 = 1;
|
|
31793
|
-
suspendResult = this.
|
|
31819
|
+
suspendResult = this.pd8_1.xaq(this.rd8_1.i6x(), get_clientPayload(this.rd8_1), true, this);
|
|
31794
31820
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31795
31821
|
return suspendResult;
|
|
31796
31822
|
}
|
|
@@ -31798,7 +31824,7 @@
|
|
|
31798
31824
|
}
|
|
31799
31825
|
|
|
31800
31826
|
case 1:
|
|
31801
|
-
this.
|
|
31827
|
+
this.sd8_1 = suspendResult;
|
|
31802
31828
|
this.j9_1 = 3;
|
|
31803
31829
|
continue $sm;
|
|
31804
31830
|
case 2:
|
|
@@ -31818,8 +31844,8 @@
|
|
|
31818
31844
|
while (true);
|
|
31819
31845
|
};
|
|
31820
31846
|
protoOf(exitAndSaveGameMiddleware$o$handle$slambda).h1f = function ($this$launchDefault, completion) {
|
|
31821
|
-
var i = new exitAndSaveGameMiddleware$o$handle$slambda(this.
|
|
31822
|
-
i.
|
|
31847
|
+
var i = new exitAndSaveGameMiddleware$o$handle$slambda(this.nd8_1, this.od8_1, this.pd8_1, completion);
|
|
31848
|
+
i.qd8_1 = $this$launchDefault;
|
|
31823
31849
|
return i;
|
|
31824
31850
|
};
|
|
31825
31851
|
function exitAndSaveGameMiddleware$o$handle$slambda_0($store, $action, $persistentAppStateInteractor, resultContinuation) {
|
|
@@ -31831,9 +31857,9 @@
|
|
|
31831
31857
|
return l;
|
|
31832
31858
|
}
|
|
31833
31859
|
function _no_name_provided__qut3iv_85($currentPlayerId, $asyncProvider, $persistentAppStateInteractor) {
|
|
31834
|
-
this.
|
|
31835
|
-
this.
|
|
31836
|
-
this.
|
|
31860
|
+
this.td8_1 = $currentPlayerId;
|
|
31861
|
+
this.ud8_1 = $asyncProvider;
|
|
31862
|
+
this.vd8_1 = $persistentAppStateInteractor;
|
|
31837
31863
|
}
|
|
31838
31864
|
protoOf(_no_name_provided__qut3iv_85).r6o = function (action) {
|
|
31839
31865
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -31842,12 +31868,12 @@
|
|
|
31842
31868
|
$l$block: {
|
|
31843
31869
|
// Inline function 'games.jass.logic.client.redux.middlewares.single.exitAndSaveGameMiddleware.<anonymous>' call
|
|
31844
31870
|
var action_0 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
31845
|
-
if (!(this.
|
|
31871
|
+
if (!(this.td8_1 === action_0.a9d_1)) {
|
|
31846
31872
|
next(action_0);
|
|
31847
31873
|
break $l$block;
|
|
31848
31874
|
}
|
|
31849
31875
|
next(action_0);
|
|
31850
|
-
this.
|
|
31876
|
+
this.ud8_1.n6l(VOID, exitAndSaveGameMiddleware$o$handle$slambda_0(store, action_0, this.vd8_1, null));
|
|
31851
31877
|
}
|
|
31852
31878
|
};
|
|
31853
31879
|
protoOf(_no_name_provided__qut3iv_85).q6o = function (store, next, action) {
|
|
@@ -31858,9 +31884,9 @@
|
|
|
31858
31884
|
return new _no_name_provided__qut3iv_86(asyncProvider, interactor);
|
|
31859
31885
|
}
|
|
31860
31886
|
function gameHistoryMiddleware$o$handle$slambda($action, $store, $interactor, resultContinuation) {
|
|
31861
|
-
this.
|
|
31862
|
-
this.
|
|
31863
|
-
this.
|
|
31887
|
+
this.ed9_1 = $action;
|
|
31888
|
+
this.fd9_1 = $store;
|
|
31889
|
+
this.gd9_1 = $interactor;
|
|
31864
31890
|
CoroutineImpl.call(this, resultContinuation);
|
|
31865
31891
|
}
|
|
31866
31892
|
protoOf(gameHistoryMiddleware$o$handle$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -31880,22 +31906,22 @@
|
|
|
31880
31906
|
switch (tmp) {
|
|
31881
31907
|
case 0:
|
|
31882
31908
|
this.k9_1 = 4;
|
|
31883
|
-
this.
|
|
31884
|
-
var tmp_0 = this.
|
|
31909
|
+
this.id9_1 = this.ed9_1;
|
|
31910
|
+
var tmp_0 = this.id9_1;
|
|
31885
31911
|
if (tmp_0 instanceof RoundStartedAction) {
|
|
31886
|
-
this.
|
|
31912
|
+
this.jd9_1 = this.fd9_1.state.i6x();
|
|
31887
31913
|
this.j9_1 = 2;
|
|
31888
|
-
suspendResult = this.
|
|
31914
|
+
suspendResult = this.gd9_1.uaq(this.ed9_1.gameHistory, this.jd9_1.config, this.jd9_1.users, get_clientPayload(this.fd9_1.state).bao_1.eaa_1, this);
|
|
31889
31915
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31890
31916
|
return suspendResult;
|
|
31891
31917
|
}
|
|
31892
31918
|
continue $sm;
|
|
31893
31919
|
} else {
|
|
31894
|
-
var tmp_1 = this.
|
|
31920
|
+
var tmp_1 = this.id9_1;
|
|
31895
31921
|
if (tmp_1 instanceof RoundEndedAction) {
|
|
31896
|
-
this.
|
|
31922
|
+
this.kd9_1 = this.fd9_1.state.i6x();
|
|
31897
31923
|
this.j9_1 = 1;
|
|
31898
|
-
suspendResult = this.
|
|
31924
|
+
suspendResult = this.gd9_1.taq(this.ed9_1.gameHistory, this.kd9_1.config, this.kd9_1.users, get_clientPayload(this.fd9_1.state).bao_1.eaa_1, this);
|
|
31899
31925
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31900
31926
|
return suspendResult;
|
|
31901
31927
|
}
|
|
@@ -31929,8 +31955,8 @@
|
|
|
31929
31955
|
while (true);
|
|
31930
31956
|
};
|
|
31931
31957
|
protoOf(gameHistoryMiddleware$o$handle$slambda).h1f = function ($this$launchDefault, completion) {
|
|
31932
|
-
var i = new gameHistoryMiddleware$o$handle$slambda(this.
|
|
31933
|
-
i.
|
|
31958
|
+
var i = new gameHistoryMiddleware$o$handle$slambda(this.ed9_1, this.fd9_1, this.gd9_1, completion);
|
|
31959
|
+
i.hd9_1 = $this$launchDefault;
|
|
31934
31960
|
return i;
|
|
31935
31961
|
};
|
|
31936
31962
|
function gameHistoryMiddleware$o$handle$slambda_0($action, $store, $interactor, resultContinuation) {
|
|
@@ -31942,8 +31968,8 @@
|
|
|
31942
31968
|
return l;
|
|
31943
31969
|
}
|
|
31944
31970
|
function _no_name_provided__qut3iv_86($asyncProvider, $interactor) {
|
|
31945
|
-
this.
|
|
31946
|
-
this.
|
|
31971
|
+
this.ld9_1 = $asyncProvider;
|
|
31972
|
+
this.md9_1 = $interactor;
|
|
31947
31973
|
}
|
|
31948
31974
|
protoOf(_no_name_provided__qut3iv_86).r6o = function (action) {
|
|
31949
31975
|
return action instanceof GameAction;
|
|
@@ -31952,7 +31978,7 @@
|
|
|
31952
31978
|
// Inline function 'games.jass.logic.client.redux.middlewares.single.gameHistoryMiddleware.<anonymous>' call
|
|
31953
31979
|
var action_0 = action instanceof GameAction ? action : THROW_CCE();
|
|
31954
31980
|
next(action_0);
|
|
31955
|
-
this.
|
|
31981
|
+
this.ld9_1.n6l(VOID, gameHistoryMiddleware$o$handle$slambda_0(action_0, store, this.md9_1, null));
|
|
31956
31982
|
};
|
|
31957
31983
|
protoOf(_no_name_provided__qut3iv_86).q6o = function (store, next, action) {
|
|
31958
31984
|
return this.i6q(store, next, action);
|
|
@@ -31963,9 +31989,9 @@
|
|
|
31963
31989
|
return new _no_name_provided__qut3iv_87(isEnableBotForPlayer, isDelayForBot, random);
|
|
31964
31990
|
}
|
|
31965
31991
|
function _no_name_provided__qut3iv_87($isEnableBotForPlayer, $isDelayForBot, $random) {
|
|
31966
|
-
this.
|
|
31967
|
-
this.
|
|
31968
|
-
this.
|
|
31992
|
+
this.nd9_1 = $isEnableBotForPlayer;
|
|
31993
|
+
this.od9_1 = $isDelayForBot;
|
|
31994
|
+
this.pd9_1 = $random;
|
|
31969
31995
|
}
|
|
31970
31996
|
protoOf(_no_name_provided__qut3iv_87).r6o = function (action) {
|
|
31971
31997
|
return action instanceof ContinueGameMechanicAction;
|
|
@@ -31984,7 +32010,7 @@
|
|
|
31984
32010
|
while (tmp0_iterator.k()) {
|
|
31985
32011
|
var element = tmp0_iterator.l();
|
|
31986
32012
|
// Inline function 'games.jass.logic.client.redux.middlewares.single.reloadTimersWhenContinueGameMiddleware.<anonymous>.<anonymous>' call
|
|
31987
|
-
if (this.
|
|
32013
|
+
if (this.nd9_1(element.playerId)) {
|
|
31988
32014
|
destination.e(element);
|
|
31989
32015
|
}
|
|
31990
32016
|
}
|
|
@@ -31992,7 +32018,7 @@
|
|
|
31992
32018
|
while (tmp0_iterator_0.k()) {
|
|
31993
32019
|
var element_0 = tmp0_iterator_0.l();
|
|
31994
32020
|
// Inline function 'games.jass.logic.client.redux.middlewares.single.reloadTimersWhenContinueGameMiddleware.<anonymous>.<anonymous>' call
|
|
31995
|
-
store.dispatch(new StartTimerAction(PlayerTurnTimerTag_init_$Create$(element_0.playerId, element_0.g74_1.k6h()), getInitialPlayerTurnTimerDelayMillis(element_0, table.config, this.
|
|
32021
|
+
store.dispatch(new StartTimerAction(PlayerTurnTimerTag_init_$Create$(element_0.playerId, element_0.g74_1.k6h()), getInitialPlayerTurnTimerDelayMillis(element_0, table.config, this.od9_1, this.pd9_1), VOID, TimerType_DELAY_getInstance()));
|
|
31996
32022
|
}
|
|
31997
32023
|
};
|
|
31998
32024
|
protoOf(_no_name_provided__qut3iv_87).q6o = function (store, next, action) {
|
|
@@ -32003,9 +32029,9 @@
|
|
|
32003
32029
|
return new _no_name_provided__qut3iv_88(asyncProvider, persistentAppStateInteractor);
|
|
32004
32030
|
}
|
|
32005
32031
|
function removeSavedGameMiddleware$o$handle$slambda($action, $persistentAppStateInteractor, $id, resultContinuation) {
|
|
32006
|
-
this.
|
|
32007
|
-
this.
|
|
32008
|
-
this.
|
|
32032
|
+
this.yd9_1 = $action;
|
|
32033
|
+
this.zd9_1 = $persistentAppStateInteractor;
|
|
32034
|
+
this.ada_1 = $id;
|
|
32009
32035
|
CoroutineImpl.call(this, resultContinuation);
|
|
32010
32036
|
}
|
|
32011
32037
|
protoOf(removeSavedGameMiddleware$o$handle$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -32025,10 +32051,10 @@
|
|
|
32025
32051
|
switch (tmp) {
|
|
32026
32052
|
case 0:
|
|
32027
32053
|
this.k9_1 = 3;
|
|
32028
|
-
this.
|
|
32029
|
-
if (!(this.
|
|
32054
|
+
this.cda_1 = this.yd9_1.gameWinners;
|
|
32055
|
+
if (!(this.cda_1 == null)) {
|
|
32030
32056
|
this.j9_1 = 1;
|
|
32031
|
-
suspendResult = this.
|
|
32057
|
+
suspendResult = this.zd9_1.yaq(this.ada_1, this);
|
|
32032
32058
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
32033
32059
|
return suspendResult;
|
|
32034
32060
|
}
|
|
@@ -32058,8 +32084,8 @@
|
|
|
32058
32084
|
while (true);
|
|
32059
32085
|
};
|
|
32060
32086
|
protoOf(removeSavedGameMiddleware$o$handle$slambda).h1f = function ($this$launchDefault, completion) {
|
|
32061
|
-
var i = new removeSavedGameMiddleware$o$handle$slambda(this.
|
|
32062
|
-
i.
|
|
32087
|
+
var i = new removeSavedGameMiddleware$o$handle$slambda(this.yd9_1, this.zd9_1, this.ada_1, completion);
|
|
32088
|
+
i.bda_1 = $this$launchDefault;
|
|
32063
32089
|
return i;
|
|
32064
32090
|
};
|
|
32065
32091
|
function removeSavedGameMiddleware$o$handle$slambda_0($action, $persistentAppStateInteractor, $id, resultContinuation) {
|
|
@@ -32071,8 +32097,8 @@
|
|
|
32071
32097
|
return l;
|
|
32072
32098
|
}
|
|
32073
32099
|
function _no_name_provided__qut3iv_88($asyncProvider, $persistentAppStateInteractor) {
|
|
32074
|
-
this.
|
|
32075
|
-
this.
|
|
32100
|
+
this.dda_1 = $asyncProvider;
|
|
32101
|
+
this.eda_1 = $persistentAppStateInteractor;
|
|
32076
32102
|
}
|
|
32077
32103
|
protoOf(_no_name_provided__qut3iv_88).r6o = function (action) {
|
|
32078
32104
|
return action instanceof RoundEndedAction;
|
|
@@ -32082,7 +32108,7 @@
|
|
|
32082
32108
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
32083
32109
|
var id = store.state.i6x().id;
|
|
32084
32110
|
next(action_0);
|
|
32085
|
-
this.
|
|
32111
|
+
this.dda_1.n6l(VOID, removeSavedGameMiddleware$o$handle$slambda_0(action_0, this.eda_1, id, null));
|
|
32086
32112
|
};
|
|
32087
32113
|
protoOf(_no_name_provided__qut3iv_88).q6o = function (store, next, action) {
|
|
32088
32114
|
return this.i6q(store, next, action);
|
|
@@ -32092,8 +32118,8 @@
|
|
|
32092
32118
|
return new _no_name_provided__qut3iv_89(asyncProvider, persistentAppStateInteractor);
|
|
32093
32119
|
}
|
|
32094
32120
|
function removeSavedGameWhenErrorMiddleware$o$handle$slambda($store, $persistentAppStateInteractor, resultContinuation) {
|
|
32095
|
-
this.
|
|
32096
|
-
this.
|
|
32121
|
+
this.nda_1 = $store;
|
|
32122
|
+
this.oda_1 = $persistentAppStateInteractor;
|
|
32097
32123
|
CoroutineImpl.call(this, resultContinuation);
|
|
32098
32124
|
}
|
|
32099
32125
|
protoOf(removeSavedGameWhenErrorMiddleware$o$handle$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -32114,11 +32140,11 @@
|
|
|
32114
32140
|
case 0:
|
|
32115
32141
|
this.k9_1 = 2;
|
|
32116
32142
|
var tmp_0 = this;
|
|
32117
|
-
var tmp0_safe_receiver = this.
|
|
32143
|
+
var tmp0_safe_receiver = this.nda_1.state.r6w_1;
|
|
32118
32144
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.id;
|
|
32119
|
-
tmp_0.
|
|
32145
|
+
tmp_0.qda_1 = tmp1_elvis_lhs == null ? 'temp_game_id' : tmp1_elvis_lhs;
|
|
32120
32146
|
this.j9_1 = 1;
|
|
32121
|
-
suspendResult = this.
|
|
32147
|
+
suspendResult = this.oda_1.yaq(this.qda_1, this);
|
|
32122
32148
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
32123
32149
|
return suspendResult;
|
|
32124
32150
|
}
|
|
@@ -32141,8 +32167,8 @@
|
|
|
32141
32167
|
while (true);
|
|
32142
32168
|
};
|
|
32143
32169
|
protoOf(removeSavedGameWhenErrorMiddleware$o$handle$slambda).h1f = function ($this$launchDefault, completion) {
|
|
32144
|
-
var i = new removeSavedGameWhenErrorMiddleware$o$handle$slambda(this.
|
|
32145
|
-
i.
|
|
32170
|
+
var i = new removeSavedGameWhenErrorMiddleware$o$handle$slambda(this.nda_1, this.oda_1, completion);
|
|
32171
|
+
i.pda_1 = $this$launchDefault;
|
|
32146
32172
|
return i;
|
|
32147
32173
|
};
|
|
32148
32174
|
function removeSavedGameWhenErrorMiddleware$o$handle$slambda_0($store, $persistentAppStateInteractor, resultContinuation) {
|
|
@@ -32154,8 +32180,8 @@
|
|
|
32154
32180
|
return l;
|
|
32155
32181
|
}
|
|
32156
32182
|
function _no_name_provided__qut3iv_89($asyncProvider, $persistentAppStateInteractor) {
|
|
32157
|
-
this.
|
|
32158
|
-
this.
|
|
32183
|
+
this.rda_1 = $asyncProvider;
|
|
32184
|
+
this.sda_1 = $persistentAppStateInteractor;
|
|
32159
32185
|
}
|
|
32160
32186
|
protoOf(_no_name_provided__qut3iv_89).r6o = function (action) {
|
|
32161
32187
|
return action instanceof ErrorAction;
|
|
@@ -32163,7 +32189,7 @@
|
|
|
32163
32189
|
protoOf(_no_name_provided__qut3iv_89).i6q = function (store, next, action) {
|
|
32164
32190
|
// Inline function 'games.jass.logic.client.redux.middlewares.single.removeSavedGameWhenErrorMiddleware.<anonymous>' call
|
|
32165
32191
|
next(action instanceof ErrorAction ? action : THROW_CCE());
|
|
32166
|
-
this.
|
|
32192
|
+
this.rda_1.n6l(VOID, removeSavedGameWhenErrorMiddleware$o$handle$slambda_0(store, this.sda_1, null));
|
|
32167
32193
|
};
|
|
32168
32194
|
protoOf(_no_name_provided__qut3iv_89).q6o = function (store, next, action) {
|
|
32169
32195
|
return this.i6q(store, next, action);
|
|
@@ -32173,9 +32199,9 @@
|
|
|
32173
32199
|
return new _no_name_provided__qut3iv_90(asyncProvider, persistentAppStateInteractor);
|
|
32174
32200
|
}
|
|
32175
32201
|
function saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda($action, $state, $persistentAppStateInteractor, resultContinuation) {
|
|
32176
|
-
this.
|
|
32177
|
-
this.
|
|
32178
|
-
this.
|
|
32202
|
+
this.bdb_1 = $action;
|
|
32203
|
+
this.cdb_1 = $state;
|
|
32204
|
+
this.ddb_1 = $persistentAppStateInteractor;
|
|
32179
32205
|
CoroutineImpl.call(this, resultContinuation);
|
|
32180
32206
|
}
|
|
32181
32207
|
protoOf(saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -32195,9 +32221,9 @@
|
|
|
32195
32221
|
switch (tmp) {
|
|
32196
32222
|
case 0:
|
|
32197
32223
|
this.k9_1 = 3;
|
|
32198
|
-
if (!this.
|
|
32224
|
+
if (!this.bdb_1.wd4_1 && this.cdb_1.j6x() && !this.cdb_1.i6x().isGameFinished) {
|
|
32199
32225
|
this.j9_1 = 1;
|
|
32200
|
-
suspendResult = this.
|
|
32226
|
+
suspendResult = this.ddb_1.xaq(this.cdb_1.i6x(), get_clientPayload(this.cdb_1), false, this);
|
|
32201
32227
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
32202
32228
|
return suspendResult;
|
|
32203
32229
|
}
|
|
@@ -32227,8 +32253,8 @@
|
|
|
32227
32253
|
while (true);
|
|
32228
32254
|
};
|
|
32229
32255
|
protoOf(saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda).h1f = function ($this$launchDefault, completion) {
|
|
32230
|
-
var i = new saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda(this.
|
|
32231
|
-
i.
|
|
32256
|
+
var i = new saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda(this.bdb_1, this.cdb_1, this.ddb_1, completion);
|
|
32257
|
+
i.edb_1 = $this$launchDefault;
|
|
32232
32258
|
return i;
|
|
32233
32259
|
};
|
|
32234
32260
|
function saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda_0($action, $state, $persistentAppStateInteractor, resultContinuation) {
|
|
@@ -32240,8 +32266,8 @@
|
|
|
32240
32266
|
return l;
|
|
32241
32267
|
}
|
|
32242
32268
|
function _no_name_provided__qut3iv_90($asyncProvider, $persistentAppStateInteractor) {
|
|
32243
|
-
this.
|
|
32244
|
-
this.
|
|
32269
|
+
this.fdb_1 = $asyncProvider;
|
|
32270
|
+
this.gdb_1 = $persistentAppStateInteractor;
|
|
32245
32271
|
}
|
|
32246
32272
|
protoOf(_no_name_provided__qut3iv_90).r6o = function (action) {
|
|
32247
32273
|
return action instanceof ForegroundAction;
|
|
@@ -32251,7 +32277,7 @@
|
|
|
32251
32277
|
var action_0 = action instanceof ForegroundAction ? action : THROW_CCE();
|
|
32252
32278
|
var state = store.state;
|
|
32253
32279
|
next(action_0);
|
|
32254
|
-
this.
|
|
32280
|
+
this.fdb_1.n6l(VOID, saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda_0(action_0, state, this.gdb_1, null));
|
|
32255
32281
|
};
|
|
32256
32282
|
protoOf(_no_name_provided__qut3iv_90).q6o = function (store, next, action) {
|
|
32257
32283
|
return this.i6q(store, next, action);
|
|
@@ -32261,9 +32287,9 @@
|
|
|
32261
32287
|
return new _no_name_provided__qut3iv_91(asyncProvider, currentPlayerId, clientStatisticsInteractor);
|
|
32262
32288
|
}
|
|
32263
32289
|
function statisticsMiddleware$o$handle$slambda($action, $currentPlayerId, $clientStatisticsInteractor, resultContinuation) {
|
|
32264
|
-
this.
|
|
32265
|
-
this.
|
|
32266
|
-
this.
|
|
32290
|
+
this.pdb_1 = $action;
|
|
32291
|
+
this.qdb_1 = $currentPlayerId;
|
|
32292
|
+
this.rdb_1 = $clientStatisticsInteractor;
|
|
32267
32293
|
CoroutineImpl.call(this, resultContinuation);
|
|
32268
32294
|
}
|
|
32269
32295
|
protoOf(statisticsMiddleware$o$handle$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -32283,26 +32309,26 @@
|
|
|
32283
32309
|
switch (tmp) {
|
|
32284
32310
|
case 0:
|
|
32285
32311
|
this.k9_1 = 4;
|
|
32286
|
-
this.
|
|
32312
|
+
this.tdb_1 = this.pdb_1.earnedBiggestPointPlayerId === this.qdb_1;
|
|
32287
32313
|
var tmp_0 = this;
|
|
32288
|
-
var tmp0_safe_receiver = this.
|
|
32289
|
-
tmp_0.
|
|
32314
|
+
var tmp0_safe_receiver = this.pdb_1.gameHistory.lastRoundHistory.winners;
|
|
32315
|
+
tmp_0.udb_1 = (tmp0_safe_receiver == null ? null : contains(tmp0_safe_receiver, this.qdb_1)) === true;
|
|
32290
32316
|
var tmp_1 = this;
|
|
32291
|
-
var tmp1_safe_receiver = this.
|
|
32292
|
-
tmp_1.
|
|
32317
|
+
var tmp1_safe_receiver = this.pdb_1.gameHistory.lastRoundHistory.committed;
|
|
32318
|
+
tmp_1.vdb_1 = (tmp1_safe_receiver == null ? null : contains(tmp1_safe_receiver, this.qdb_1)) === true;
|
|
32293
32319
|
this.j9_1 = 1;
|
|
32294
|
-
suspendResult = this.
|
|
32320
|
+
suspendResult = this.rdb_1.vaq(this.vdb_1, this.udb_1, this.tdb_1, this);
|
|
32295
32321
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
32296
32322
|
return suspendResult;
|
|
32297
32323
|
}
|
|
32298
32324
|
|
|
32299
32325
|
continue $sm;
|
|
32300
32326
|
case 1:
|
|
32301
|
-
this.
|
|
32302
|
-
if (!(this.
|
|
32303
|
-
this.
|
|
32327
|
+
this.wdb_1 = this.pdb_1.gameWinners;
|
|
32328
|
+
if (!(this.wdb_1 == null)) {
|
|
32329
|
+
this.xdb_1 = contains(this.wdb_1, this.qdb_1);
|
|
32304
32330
|
this.j9_1 = 2;
|
|
32305
|
-
suspendResult = this.
|
|
32331
|
+
suspendResult = this.rdb_1.waq(this.xdb_1, this);
|
|
32306
32332
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
32307
32333
|
return suspendResult;
|
|
32308
32334
|
}
|
|
@@ -32332,8 +32358,8 @@
|
|
|
32332
32358
|
while (true);
|
|
32333
32359
|
};
|
|
32334
32360
|
protoOf(statisticsMiddleware$o$handle$slambda).h1f = function ($this$launchDefault, completion) {
|
|
32335
|
-
var i = new statisticsMiddleware$o$handle$slambda(this.
|
|
32336
|
-
i.
|
|
32361
|
+
var i = new statisticsMiddleware$o$handle$slambda(this.pdb_1, this.qdb_1, this.rdb_1, completion);
|
|
32362
|
+
i.sdb_1 = $this$launchDefault;
|
|
32337
32363
|
return i;
|
|
32338
32364
|
};
|
|
32339
32365
|
function statisticsMiddleware$o$handle$slambda_0($action, $currentPlayerId, $clientStatisticsInteractor, resultContinuation) {
|
|
@@ -32345,9 +32371,9 @@
|
|
|
32345
32371
|
return l;
|
|
32346
32372
|
}
|
|
32347
32373
|
function _no_name_provided__qut3iv_91($asyncProvider, $currentPlayerId, $clientStatisticsInteractor) {
|
|
32348
|
-
this.
|
|
32349
|
-
this.
|
|
32350
|
-
this.
|
|
32374
|
+
this.ydb_1 = $asyncProvider;
|
|
32375
|
+
this.zdb_1 = $currentPlayerId;
|
|
32376
|
+
this.adc_1 = $clientStatisticsInteractor;
|
|
32351
32377
|
}
|
|
32352
32378
|
protoOf(_no_name_provided__qut3iv_91).r6o = function (action) {
|
|
32353
32379
|
return action instanceof RoundEndedAction;
|
|
@@ -32356,7 +32382,7 @@
|
|
|
32356
32382
|
// Inline function 'games.jass.logic.client.redux.middlewares.single.statisticsMiddleware.<anonymous>' call
|
|
32357
32383
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
32358
32384
|
next(action_0);
|
|
32359
|
-
this.
|
|
32385
|
+
this.ydb_1.n6l(VOID, statisticsMiddleware$o$handle$slambda_0(action_0, this.zdb_1, this.adc_1, null));
|
|
32360
32386
|
};
|
|
32361
32387
|
protoOf(_no_name_provided__qut3iv_91).q6o = function (store, next, action) {
|
|
32362
32388
|
return this.i6q(store, next, action);
|
|
@@ -32393,7 +32419,7 @@
|
|
|
32393
32419
|
return new _no_name_provided__qut3iv_93(logger);
|
|
32394
32420
|
}
|
|
32395
32421
|
function _no_name_provided__qut3iv_93($logger) {
|
|
32396
|
-
this.
|
|
32422
|
+
this.bdc_1 = $logger;
|
|
32397
32423
|
}
|
|
32398
32424
|
protoOf(_no_name_provided__qut3iv_93).r6o = function (action) {
|
|
32399
32425
|
return action instanceof ExpectantLifecycleAction;
|
|
@@ -32428,7 +32454,7 @@
|
|
|
32428
32454
|
tmp$ret$0 = true;
|
|
32429
32455
|
}
|
|
32430
32456
|
if (tmp$ret$0) {
|
|
32431
|
-
this.
|
|
32457
|
+
this.bdc_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't finish it: " + toString(expectants) + ', ' + action_0.toString());
|
|
32432
32458
|
}
|
|
32433
32459
|
} else {
|
|
32434
32460
|
if (action_0 instanceof ExpectantCreatedClientAction) {
|
|
@@ -32457,7 +32483,7 @@
|
|
|
32457
32483
|
tmp$ret$2 = false;
|
|
32458
32484
|
}
|
|
32459
32485
|
if (tmp$ret$2) {
|
|
32460
|
-
this.
|
|
32486
|
+
this.bdc_1.w(VOID, "CheckExpectantsMiddleware: Expectant already exists, can't add it: " + toString(expectants) + ', ' + action_0.toString());
|
|
32461
32487
|
}
|
|
32462
32488
|
} else {
|
|
32463
32489
|
if (action_0 instanceof ExpectantStageCompletedClientAction) {
|
|
@@ -32486,7 +32512,7 @@
|
|
|
32486
32512
|
tmp$ret$4 = true;
|
|
32487
32513
|
}
|
|
32488
32514
|
if (tmp$ret$4) {
|
|
32489
|
-
this.
|
|
32515
|
+
this.bdc_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't complete stage: " + toString(expectants) + ', ' + action_0.toString());
|
|
32490
32516
|
}
|
|
32491
32517
|
} else {
|
|
32492
32518
|
noWhenBranchMatchedException();
|
|
@@ -32503,8 +32529,8 @@
|
|
|
32503
32529
|
return new _no_name_provided__qut3iv_94(currentPlayerId, gameLogger);
|
|
32504
32530
|
}
|
|
32505
32531
|
function _no_name_provided__qut3iv_94($currentPlayerId, $gameLogger) {
|
|
32506
|
-
this.
|
|
32507
|
-
this.
|
|
32532
|
+
this.cdc_1 = $currentPlayerId;
|
|
32533
|
+
this.ddc_1 = $gameLogger;
|
|
32508
32534
|
}
|
|
32509
32535
|
protoOf(_no_name_provided__qut3iv_94).r6o = function (action) {
|
|
32510
32536
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -32521,19 +32547,19 @@
|
|
|
32521
32547
|
while (tmp0_iterator.k()) {
|
|
32522
32548
|
var element = tmp0_iterator.l();
|
|
32523
32549
|
// Inline function 'games.jass.logic.client.redux.middlewares.validation.checkValidCurrentPlayerIdMiddleware.<anonymous>.<anonymous>' call
|
|
32524
|
-
if (element.h6f_1 === this.
|
|
32550
|
+
if (element.h6f_1 === this.cdc_1) {
|
|
32525
32551
|
destination.e(element);
|
|
32526
32552
|
}
|
|
32527
32553
|
}
|
|
32528
32554
|
if (!(destination.m() === 1)) {
|
|
32529
32555
|
var state = store.state;
|
|
32530
|
-
this.
|
|
32556
|
+
this.ddc_1.w(VOID, 'checkValidCurrentPlayerIdMiddleware: currentPlayer id is not matched');
|
|
32531
32557
|
var tmp0_safe_receiver = get_clientPayloadOrNull(state);
|
|
32532
32558
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bao_1;
|
|
32533
32559
|
if (!((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.haa()) === false)) {
|
|
32534
|
-
store.dispatch(new ErrorAction(new ErrorState('Not valid user session, id:' + this.
|
|
32560
|
+
store.dispatch(new ErrorAction(new ErrorState('Not valid user session, id:' + this.cdc_1, VOID, new GameErrorReason(Reason_INTERNAL_ERROR_getInstance()))));
|
|
32535
32561
|
} else {
|
|
32536
|
-
throw new SessionException(401, 'Not valid user session, id:' + this.
|
|
32562
|
+
throw new SessionException(401, 'Not valid user session, id:' + this.cdc_1);
|
|
32537
32563
|
}
|
|
32538
32564
|
}
|
|
32539
32565
|
};
|
|
@@ -32545,9 +32571,9 @@
|
|
|
32545
32571
|
return new _no_name_provided__qut3iv_95(putCardValidatorInteractor, messageFactory, logger);
|
|
32546
32572
|
}
|
|
32547
32573
|
function _no_name_provided__qut3iv_95($putCardValidatorInteractor, $messageFactory, $logger) {
|
|
32548
|
-
this.
|
|
32549
|
-
this.
|
|
32550
|
-
this.
|
|
32574
|
+
this.edc_1 = $putCardValidatorInteractor;
|
|
32575
|
+
this.fdc_1 = $messageFactory;
|
|
32576
|
+
this.gdc_1 = $logger;
|
|
32551
32577
|
}
|
|
32552
32578
|
protoOf(_no_name_provided__qut3iv_95).r6o = function (action) {
|
|
32553
32579
|
return action instanceof DisabledCardAction;
|
|
@@ -32557,11 +32583,11 @@
|
|
|
32557
32583
|
var action_0 = action instanceof DisabledCardAction ? action : THROW_CCE();
|
|
32558
32584
|
var state = store.state;
|
|
32559
32585
|
if (get_isEarnPointScene(state.i6x().sceneInfo.h8c_1)) {
|
|
32560
|
-
var validationCode = this.
|
|
32586
|
+
var validationCode = this.edc_1.zaq(action_0.nd4_1, get_currentPlayer(state.i6x()), state.i6x());
|
|
32561
32587
|
if (!(validationCode == null)) {
|
|
32562
|
-
store.dispatch(new InfoMessageAction(this.
|
|
32588
|
+
store.dispatch(new InfoMessageAction(this.fdc_1.y92(validationCode)));
|
|
32563
32589
|
} else {
|
|
32564
|
-
this.
|
|
32590
|
+
this.gdc_1.w(VOID, 'clientShowDisabledCardMessageMiddleware: card is valid, please check');
|
|
32565
32591
|
}
|
|
32566
32592
|
}
|
|
32567
32593
|
next(action_0);
|
|
@@ -32574,9 +32600,9 @@
|
|
|
32574
32600
|
return new _no_name_provided__qut3iv_96(putCardValidatorInteractor, logger, messageFactory);
|
|
32575
32601
|
}
|
|
32576
32602
|
function _no_name_provided__qut3iv_96($putCardValidatorInteractor, $logger, $messageFactory) {
|
|
32577
|
-
this.
|
|
32578
|
-
this.
|
|
32579
|
-
this.
|
|
32603
|
+
this.hdc_1 = $putCardValidatorInteractor;
|
|
32604
|
+
this.idc_1 = $logger;
|
|
32605
|
+
this.jdc_1 = $messageFactory;
|
|
32580
32606
|
}
|
|
32581
32607
|
protoOf(_no_name_provided__qut3iv_96).r6o = function (action) {
|
|
32582
32608
|
return action instanceof PutCardAndCheckCombinationsAction;
|
|
@@ -32587,17 +32613,17 @@
|
|
|
32587
32613
|
var state = store.state;
|
|
32588
32614
|
var cardNotValidCount = 0;
|
|
32589
32615
|
var player = get_currentPlayer(state.i6x());
|
|
32590
|
-
var validationCode = this.
|
|
32616
|
+
var validationCode = this.hdc_1.zaq(action_0.od4_1.b6j_1, player, state.i6x());
|
|
32591
32617
|
if (!(validationCode == null)) {
|
|
32592
32618
|
cardNotValidCount = cardNotValidCount + 1 | 0;
|
|
32593
32619
|
} else {
|
|
32594
32620
|
cardNotValidCount = 0;
|
|
32595
32621
|
}
|
|
32596
32622
|
if (cardNotValidCount > 3) {
|
|
32597
|
-
this.
|
|
32623
|
+
this.idc_1.w(VOID, 'validateCardMiddleware: card is not valid for the third time, please check');
|
|
32598
32624
|
}
|
|
32599
32625
|
if (!(validationCode == null)) {
|
|
32600
|
-
store.dispatch(new InfoMessageAction(this.
|
|
32626
|
+
store.dispatch(new InfoMessageAction(this.jdc_1.y92(validationCode)));
|
|
32601
32627
|
} else {
|
|
32602
32628
|
next(action_0);
|
|
32603
32629
|
}
|
|
@@ -32607,7 +32633,7 @@
|
|
|
32607
32633
|
};
|
|
32608
32634
|
function ClientCombinationsReducerImpl() {
|
|
32609
32635
|
}
|
|
32610
|
-
protoOf(ClientCombinationsReducerImpl).
|
|
32636
|
+
protoOf(ClientCombinationsReducerImpl).kdc = function (currentPlayerId, actData) {
|
|
32611
32637
|
if (!(actData == null) && currentPlayerId === actData.l7j()) {
|
|
32612
32638
|
return new CombinationToAnnounceState(actData.q7j_1, null, null);
|
|
32613
32639
|
}
|
|
@@ -32620,7 +32646,7 @@
|
|
|
32620
32646
|
return new _no_name_provided__qut3iv_97(clientCombinationsReducer);
|
|
32621
32647
|
}
|
|
32622
32648
|
function _no_name_provided__qut3iv_97($clientCombinationsReducer) {
|
|
32623
|
-
this.
|
|
32649
|
+
this.ldc_1 = $clientCombinationsReducer;
|
|
32624
32650
|
}
|
|
32625
32651
|
protoOf(_no_name_provided__qut3iv_97).r6o = function (action) {
|
|
32626
32652
|
return isInterface(action, NavigationMechanicAction);
|
|
@@ -32645,7 +32671,7 @@
|
|
|
32645
32671
|
}
|
|
32646
32672
|
throw new MechanicException('Required ' + getKClass(CombinationActData).qa() + ', current act is ' + toString_0(this_0));
|
|
32647
32673
|
}
|
|
32648
|
-
tmp$ret$1 = state.u9c(VOID, tmp.
|
|
32674
|
+
tmp$ret$1 = state.u9c(VOID, tmp.ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.ldc_1.kdc(tmp_0, tmp$ret$0)));
|
|
32649
32675
|
break $l$block_0;
|
|
32650
32676
|
}
|
|
32651
32677
|
tmp$ret$1 = state;
|
|
@@ -32656,20 +32682,20 @@
|
|
|
32656
32682
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
32657
32683
|
};
|
|
32658
32684
|
function ClientLifecycleReducer(logger) {
|
|
32659
|
-
this.
|
|
32685
|
+
this.mdc_1 = logger;
|
|
32660
32686
|
}
|
|
32661
|
-
protoOf(ClientLifecycleReducer).
|
|
32687
|
+
protoOf(ClientLifecycleReducer).ndc = function (state, messagesReducer) {
|
|
32662
32688
|
var tmp1_config = state.bao_1;
|
|
32663
32689
|
var tmp2_isForeground = state.gao_1;
|
|
32664
32690
|
var tmp3_isSceneActive = state.hao_1;
|
|
32665
32691
|
var tmp4_bufferedActions = state.fao_1;
|
|
32666
32692
|
var tmp5_error = state.pao_1;
|
|
32667
32693
|
var tmp6_messages = messagesReducer(state.cao_1);
|
|
32668
|
-
return Companion_instance_74.
|
|
32694
|
+
return Companion_instance_74.odc(tmp1_config, tmp2_isForeground, tmp3_isSceneActive, tmp6_messages, tmp4_bufferedActions, tmp5_error);
|
|
32669
32695
|
};
|
|
32670
|
-
protoOf(ClientLifecycleReducer).
|
|
32696
|
+
protoOf(ClientLifecycleReducer).pdc = function (state) {
|
|
32671
32697
|
if (state.bao_1.gaa()) {
|
|
32672
|
-
return Companion_instance_74.
|
|
32698
|
+
return Companion_instance_74.rdc(state.bao_1, state.gao_1, state.hao_1);
|
|
32673
32699
|
} else {
|
|
32674
32700
|
var tmp1_config = state.bao_1;
|
|
32675
32701
|
var tmp2_isForeground = state.gao_1;
|
|
@@ -32680,10 +32706,10 @@
|
|
|
32680
32706
|
var tmp7_combinations = state.kao_1;
|
|
32681
32707
|
var tmp8_messages = state.cao_1;
|
|
32682
32708
|
var tmp9_processingCard = state.nao_1;
|
|
32683
|
-
return Companion_instance_74.
|
|
32709
|
+
return Companion_instance_74.qdc(tmp1_config, tmp2_isForeground, tmp3_isSceneActive, tmp8_messages, tmp6_bufferedActions, tmp5_expectants, tmp7_combinations, tmp9_processingCard, tmp4_error);
|
|
32684
32710
|
}
|
|
32685
32711
|
};
|
|
32686
|
-
protoOf(ClientLifecycleReducer).
|
|
32712
|
+
protoOf(ClientLifecycleReducer).sdc = function (messages) {
|
|
32687
32713
|
// Inline function 'kotlin.collections.filter' call
|
|
32688
32714
|
// Inline function 'kotlin.collections.filterTo' call
|
|
32689
32715
|
var destination = ArrayList_init_$Create$_0();
|
|
@@ -32695,9 +32721,9 @@
|
|
|
32695
32721
|
destination.e(element);
|
|
32696
32722
|
}
|
|
32697
32723
|
}
|
|
32698
|
-
return updateMessagesAsNotShown(destination, this.
|
|
32724
|
+
return updateMessagesAsNotShown(destination, this.mdc_1);
|
|
32699
32725
|
};
|
|
32700
|
-
protoOf(ClientLifecycleReducer).
|
|
32726
|
+
protoOf(ClientLifecycleReducer).tdc = function (messages) {
|
|
32701
32727
|
// Inline function 'kotlin.collections.filter' call
|
|
32702
32728
|
// Inline function 'kotlin.collections.filterTo' call
|
|
32703
32729
|
var destination = ArrayList_init_$Create$_0();
|
|
@@ -32709,7 +32735,7 @@
|
|
|
32709
32735
|
destination.e(element);
|
|
32710
32736
|
}
|
|
32711
32737
|
}
|
|
32712
|
-
return updateMessagesAsNotShown(destination, this.
|
|
32738
|
+
return updateMessagesAsNotShown(destination, this.mdc_1);
|
|
32713
32739
|
};
|
|
32714
32740
|
function updateMessagesAsNotShown(_this__u8e3s4, gameLogger) {
|
|
32715
32741
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -32774,7 +32800,7 @@
|
|
|
32774
32800
|
function ClientMechanicLifecycleReducer$onStart$lambda(this$0, $action) {
|
|
32775
32801
|
return function (it) {
|
|
32776
32802
|
var tmp;
|
|
32777
|
-
if (this$0.
|
|
32803
|
+
if (this$0.wdc_1.gaa()) {
|
|
32778
32804
|
var tmp_0 = Companion_instance_2;
|
|
32779
32805
|
var tmp_1 = Companion_instance_3;
|
|
32780
32806
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
@@ -32791,24 +32817,24 @@
|
|
|
32791
32817
|
}
|
|
32792
32818
|
function ClientLifecycleReducer$gameFinishedMessagesReducer$ref($boundThis) {
|
|
32793
32819
|
var l = function (p0) {
|
|
32794
|
-
return $boundThis.
|
|
32820
|
+
return $boundThis.sdc(p0);
|
|
32795
32821
|
};
|
|
32796
32822
|
l.callableName = 'gameFinishedMessagesReducer';
|
|
32797
32823
|
return l;
|
|
32798
32824
|
}
|
|
32799
32825
|
function ClientLifecycleReducer$roundFinishedMessagesReducer$ref($boundThis) {
|
|
32800
32826
|
var l = function (p0) {
|
|
32801
|
-
return $boundThis.
|
|
32827
|
+
return $boundThis.tdc(p0);
|
|
32802
32828
|
};
|
|
32803
32829
|
l.callableName = 'roundFinishedMessagesReducer';
|
|
32804
32830
|
return l;
|
|
32805
32831
|
}
|
|
32806
32832
|
function ClientMechanicLifecycleReducer(clintConfig, logger, tableLifecycleReducer, randomPoolProvider, clientLifecycleReducer, clientCombinationsReducer) {
|
|
32807
32833
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
32808
|
-
this.
|
|
32809
|
-
this.
|
|
32810
|
-
this.
|
|
32811
|
-
this.
|
|
32834
|
+
this.wdc_1 = clintConfig;
|
|
32835
|
+
this.xdc_1 = logger;
|
|
32836
|
+
this.ydc_1 = clientLifecycleReducer;
|
|
32837
|
+
this.zdc_1 = clientCombinationsReducer;
|
|
32812
32838
|
}
|
|
32813
32839
|
protoOf(ClientMechanicLifecycleReducer).y9r = function (state, action) {
|
|
32814
32840
|
var clientState = get_clientPayloadOrNull_0(state.s6w_1);
|
|
@@ -32823,8 +32849,8 @@
|
|
|
32823
32849
|
var newTable = tmp0_$this.f9t(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ClientMechanicLifecycleReducer$onStart$lambda(this, action));
|
|
32824
32850
|
var tmp;
|
|
32825
32851
|
if (clientState == null) {
|
|
32826
|
-
this.
|
|
32827
|
-
tmp = Companion_instance_74.
|
|
32852
|
+
this.xdc_1.w(VOID, 'ClientPayload is not onStart, should be init via InitClientStateAction');
|
|
32853
|
+
tmp = Companion_instance_74.add(this.wdc_1);
|
|
32828
32854
|
} else {
|
|
32829
32855
|
tmp = clientState;
|
|
32830
32856
|
}
|
|
@@ -32836,7 +32862,7 @@
|
|
|
32836
32862
|
this.a9s_1.c5v(action.previousGameId);
|
|
32837
32863
|
var newTable = this.z9r_1.g9t(state.i6x(), action.gameId);
|
|
32838
32864
|
var tmp = get_clientPayload(state);
|
|
32839
|
-
var newPayload = this.
|
|
32865
|
+
var newPayload = this.ydc_1.ndc(tmp, ClientLifecycleReducer$gameFinishedMessagesReducer$ref(this.ydc_1));
|
|
32840
32866
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
32841
32867
|
return state.u9c(newTable, newPayload, tmp0_gameLifecycleState);
|
|
32842
32868
|
};
|
|
@@ -32862,9 +32888,9 @@
|
|
|
32862
32888
|
}
|
|
32863
32889
|
tmp_2 = tmp$ret$0;
|
|
32864
32890
|
}
|
|
32865
|
-
tmp = tmp_0.
|
|
32891
|
+
tmp = tmp_0.bdd(this.wdc_1, this.zdc_1.kdc(tmp_1, tmp_2));
|
|
32866
32892
|
} else {
|
|
32867
|
-
tmp = this.
|
|
32893
|
+
tmp = this.ydc_1.pdc(clientState);
|
|
32868
32894
|
}
|
|
32869
32895
|
var newPayload = tmp;
|
|
32870
32896
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
@@ -32882,7 +32908,7 @@
|
|
|
32882
32908
|
// Inline function 'games.jass.logic.client.redux.redusers.ClientMechanicLifecycleReducer.onFinishing.<anonymous>' call
|
|
32883
32909
|
this.a9s_1.c5v(tmp1_safe_receiver);
|
|
32884
32910
|
}
|
|
32885
|
-
var newPayload = this.
|
|
32911
|
+
var newPayload = this.ydc_1.pdc(get_clientPayload(state));
|
|
32886
32912
|
var tmp2_gameLifecycleState = GameLifecycleState_FINISHING_getInstance();
|
|
32887
32913
|
var tmp3_terminationState = new TerminationState(action.b89_1, action.d89_1);
|
|
32888
32914
|
return state.u9c(VOID, newPayload, tmp2_gameLifecycleState, tmp3_terminationState);
|
|
@@ -32895,7 +32921,7 @@
|
|
|
32895
32921
|
};
|
|
32896
32922
|
protoOf(ClientMechanicLifecycleReducer).t9r = function (state, action) {
|
|
32897
32923
|
var tmp = get_clientPayload(state);
|
|
32898
|
-
var newPayload = this.
|
|
32924
|
+
var newPayload = this.ydc_1.ndc(tmp, ClientLifecycleReducer$roundFinishedMessagesReducer$ref(this.ydc_1));
|
|
32899
32925
|
var newTable = this.z9r_1.b9s(state.i6x());
|
|
32900
32926
|
return state.u9c(newTable, newPayload);
|
|
32901
32927
|
};
|
|
@@ -32918,7 +32944,7 @@
|
|
|
32918
32944
|
// Inline function 'kotlin.let' call
|
|
32919
32945
|
// Inline function 'kotlin.contracts.contract' call
|
|
32920
32946
|
// Inline function 'games.jass.logic.client.redux.redusers.ClientMechanicLifecycleReducer.onError.<anonymous>' call
|
|
32921
|
-
tmp = this.
|
|
32947
|
+
tmp = this.ydc_1.pdc(tmp2_safe_receiver).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, action.x8a_1);
|
|
32922
32948
|
}
|
|
32923
32949
|
var newPayload = tmp;
|
|
32924
32950
|
var tmp3_safe_receiver = state.u6w_1;
|
|
@@ -32938,7 +32964,7 @@
|
|
|
32938
32964
|
protoOf(_no_name_provided__qut3iv_98).m9q = function (state, action) {
|
|
32939
32965
|
// Inline function 'games.jass.logic.client.redux.redusers.clientResetProcessingCardReducer.<anonymous>' call
|
|
32940
32966
|
action instanceof PutCardMechanicAction || THROW_CCE();
|
|
32941
|
-
return state.u9c(VOID, get_clientPayload(state).
|
|
32967
|
+
return state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, null));
|
|
32942
32968
|
};
|
|
32943
32969
|
protoOf(_no_name_provided__qut3iv_98).j6q = function (state, action) {
|
|
32944
32970
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -32949,14 +32975,14 @@
|
|
|
32949
32975
|
}
|
|
32950
32976
|
function ClientLifecycleReducer$roundFinishedMessagesReducer$ref_0($boundThis) {
|
|
32951
32977
|
var l = function (p0) {
|
|
32952
|
-
return $boundThis.
|
|
32978
|
+
return $boundThis.tdc(p0);
|
|
32953
32979
|
};
|
|
32954
32980
|
l.callableName = 'roundFinishedMessagesReducer';
|
|
32955
32981
|
return l;
|
|
32956
32982
|
}
|
|
32957
32983
|
function _no_name_provided__qut3iv_99($logger, $clientLifecycleReducer) {
|
|
32958
|
-
this.
|
|
32959
|
-
this.
|
|
32984
|
+
this.cdd_1 = $logger;
|
|
32985
|
+
this.ddd_1 = $clientLifecycleReducer;
|
|
32960
32986
|
}
|
|
32961
32987
|
protoOf(_no_name_provided__qut3iv_99).r6o = function (action) {
|
|
32962
32988
|
return action instanceof SceneMechanicAction;
|
|
@@ -32972,11 +32998,11 @@
|
|
|
32972
32998
|
case 'CHOOSE_PARTNER':
|
|
32973
32999
|
case 'TRADE':
|
|
32974
33000
|
case 'EARN_POINTS':
|
|
32975
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33001
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, updateMessagesAsNotShown(get_clientPayload(state).cao_1, this.cdd_1)));
|
|
32976
33002
|
break;
|
|
32977
33003
|
case 'CALC_POINTS':
|
|
32978
33004
|
var tmp_0 = get_clientPayload(state);
|
|
32979
|
-
tmp = state.u9c(VOID, this.
|
|
33005
|
+
tmp = state.u9c(VOID, this.ddd_1.ndc(tmp_0, ClientLifecycleReducer$roundFinishedMessagesReducer$ref_0(this.ddd_1)));
|
|
32980
33006
|
break;
|
|
32981
33007
|
default:
|
|
32982
33008
|
throw new MechanicException("clientSceneReducer: Can't support this scene " + action_0.toString());
|
|
@@ -32991,7 +33017,7 @@
|
|
|
32991
33017
|
return new _no_name_provided__qut3iv_100(currentPlayerId);
|
|
32992
33018
|
}
|
|
32993
33019
|
function _no_name_provided__qut3iv_100($currentPlayerId) {
|
|
32994
|
-
this.
|
|
33020
|
+
this.edd_1 = $currentPlayerId;
|
|
32995
33021
|
}
|
|
32996
33022
|
protoOf(_no_name_provided__qut3iv_100).r6o = function (action) {
|
|
32997
33023
|
return action instanceof ClientAction;
|
|
@@ -33003,19 +33029,19 @@
|
|
|
33003
33029
|
var action_0 = action instanceof ClientAction ? action : THROW_CCE();
|
|
33004
33030
|
var tmp;
|
|
33005
33031
|
if (action_0 instanceof SwitchChatAction) {
|
|
33006
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33032
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, action_0.bd5_1));
|
|
33007
33033
|
} else {
|
|
33008
33034
|
if (action_0 instanceof SwitchSettingAction) {
|
|
33009
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33035
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, action_0.ad5_1));
|
|
33010
33036
|
} else {
|
|
33011
33037
|
if (action_0 instanceof SceneTutorialAction) {
|
|
33012
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33038
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, action_0.fdd_1));
|
|
33013
33039
|
} else {
|
|
33014
33040
|
if (action_0 instanceof SceneActivationAction) {
|
|
33015
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33041
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, action_0.raq_1));
|
|
33016
33042
|
} else {
|
|
33017
33043
|
if (action_0 instanceof CombinationToAnnounceAction) {
|
|
33018
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33044
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, new CombinationToAnnounceState(action_0.td4_1, action_0.ud4_1, action_0.vd4_1)));
|
|
33019
33045
|
} else {
|
|
33020
33046
|
if (action_0 instanceof SwitchLastBribeAction) {
|
|
33021
33047
|
var tmp_0 = get_clientPayload(state);
|
|
@@ -33026,7 +33052,7 @@
|
|
|
33026
33052
|
} else {
|
|
33027
33053
|
tmp_1 = null;
|
|
33028
33054
|
}
|
|
33029
|
-
tmp = state.u9c(VOID, tmp_0.
|
|
33055
|
+
tmp = state.u9c(VOID, tmp_0.ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp_1));
|
|
33030
33056
|
} else {
|
|
33031
33057
|
if (action_0 instanceof SwitchGameInfoAction) {
|
|
33032
33058
|
var tmp_2 = get_clientPayload(state);
|
|
@@ -33042,16 +33068,16 @@
|
|
|
33042
33068
|
} else {
|
|
33043
33069
|
tmp_3 = null;
|
|
33044
33070
|
}
|
|
33045
|
-
tmp = state.u9c(VOID, tmp_2.
|
|
33071
|
+
tmp = state.u9c(VOID, tmp_2.ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp_3));
|
|
33046
33072
|
} else {
|
|
33047
33073
|
if (action_0 instanceof AnnouncedCombinationAction) {
|
|
33048
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33074
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, null));
|
|
33049
33075
|
} else {
|
|
33050
33076
|
if (action_0 instanceof ForegroundAction) {
|
|
33051
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33077
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, action_0.wd4_1));
|
|
33052
33078
|
} else {
|
|
33053
33079
|
if (action_0 instanceof InitClientStateAction) {
|
|
33054
|
-
tmp = state.u9c(VOID, Companion_instance_74.
|
|
33080
|
+
tmp = state.u9c(VOID, Companion_instance_74.add(action_0.xd4_1));
|
|
33055
33081
|
} else {
|
|
33056
33082
|
if (action_0 instanceof UpdateConfigAction) {
|
|
33057
33083
|
var tmp6_safe_receiver = action_0.gd5_1;
|
|
@@ -33089,7 +33115,7 @@
|
|
|
33089
33115
|
var tmp_7 = tmp_5.copy(VOID, VOID, VOID, tmp_6, updatedPlayers == null ? state.i6x().players : updatedPlayers);
|
|
33090
33116
|
var tmp_8 = get_clientPayload(state);
|
|
33091
33117
|
var tmp15_elvis_lhs = action_0.cd5_1;
|
|
33092
|
-
tmp = state.u9c(tmp_7, tmp_8.
|
|
33118
|
+
tmp = state.u9c(tmp_7, tmp_8.ed8(tmp15_elvis_lhs == null ? get_clientPayload(state).bao_1 : tmp15_elvis_lhs));
|
|
33093
33119
|
} else {
|
|
33094
33120
|
if (action_0 instanceof ClientMessageAction) {
|
|
33095
33121
|
var messages = get_clientPayload(state).cao_1;
|
|
@@ -33098,19 +33124,19 @@
|
|
|
33098
33124
|
tmp$ret$5 = state;
|
|
33099
33125
|
break $l$block;
|
|
33100
33126
|
}
|
|
33101
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33127
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, plus_0(messages, action_0.hd5_1)));
|
|
33102
33128
|
} else {
|
|
33103
33129
|
if (action_0 instanceof PutCardAndCheckCombinationsAction) {
|
|
33104
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33130
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, action_0.od4_1));
|
|
33105
33131
|
} else {
|
|
33106
33132
|
if (action_0 instanceof InfoMessageAction) {
|
|
33107
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33133
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, action_0.sd4_1));
|
|
33108
33134
|
} else {
|
|
33109
33135
|
if (action_0 instanceof UpdateMessagesCountAction) {
|
|
33110
|
-
tmp = state.u9c(updateVoiceCount_0(state.i6x(), this.
|
|
33136
|
+
tmp = state.u9c(updateVoiceCount_0(state.i6x(), this.edd_1));
|
|
33111
33137
|
} else {
|
|
33112
33138
|
if (action_0 instanceof ResetErrorAction) {
|
|
33113
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33139
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, null), GameLifecycleState_CREATING_getInstance(), null);
|
|
33114
33140
|
} else {
|
|
33115
33141
|
if (action_0 instanceof TransitionsFinishedAction) {
|
|
33116
33142
|
var tmp_9 = get_clientPayload(state);
|
|
@@ -33126,7 +33152,7 @@
|
|
|
33126
33152
|
destination_0.e(element);
|
|
33127
33153
|
}
|
|
33128
33154
|
}
|
|
33129
|
-
tmp = state.u9c(VOID, tmp_9.
|
|
33155
|
+
tmp = state.u9c(VOID, tmp_9.ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, destination_0));
|
|
33130
33156
|
} else {
|
|
33131
33157
|
if (action_0 instanceof TutorialPassedAction) {
|
|
33132
33158
|
tmp = state;
|
|
@@ -33200,13 +33226,13 @@
|
|
|
33200
33226
|
// Inline function 'games.jass.logic.client.redux.redusers.messageReducer.<anonymous>' call
|
|
33201
33227
|
var action_0 = action instanceof MessageMechanicAction ? action : THROW_CCE();
|
|
33202
33228
|
var clientState = get_clientPayload(state);
|
|
33203
|
-
return state.u9c(updateVoiceCount(state.i6x(), action_0), clientState.
|
|
33229
|
+
return state.u9c(updateVoiceCount(state.i6x(), action_0), clientState.ed8(VOID, plus_0(clientState.cao_1, action_0.u8a_1)));
|
|
33204
33230
|
};
|
|
33205
33231
|
protoOf(_no_name_provided__qut3iv_101).j6q = function (state, action) {
|
|
33206
33232
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
33207
33233
|
};
|
|
33208
33234
|
function _no_name_provided__qut3iv_102($gameLogger) {
|
|
33209
|
-
this.
|
|
33235
|
+
this.gdd_1 = $gameLogger;
|
|
33210
33236
|
}
|
|
33211
33237
|
protoOf(_no_name_provided__qut3iv_102).r6o = function (action) {
|
|
33212
33238
|
return action instanceof TrumpMechanicAction;
|
|
@@ -33215,13 +33241,13 @@
|
|
|
33215
33241
|
// Inline function 'games.jass.logic.client.redux.redusers.clientResetMessagesAfterSelectedTrumpReducer.<anonymous>' call
|
|
33216
33242
|
action instanceof TrumpMechanicAction || THROW_CCE();
|
|
33217
33243
|
var clientState = get_clientPayload(state);
|
|
33218
|
-
return state.u9c(VOID, clientState.
|
|
33244
|
+
return state.u9c(VOID, clientState.ed8(VOID, updateMessagesAsNotShown(clientState.cao_1, this.gdd_1)));
|
|
33219
33245
|
};
|
|
33220
33246
|
protoOf(_no_name_provided__qut3iv_102).j6q = function (state, action) {
|
|
33221
33247
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
33222
33248
|
};
|
|
33223
33249
|
function _no_name_provided__qut3iv_103($gameLogger) {
|
|
33224
|
-
this.
|
|
33250
|
+
this.hdd_1 = $gameLogger;
|
|
33225
33251
|
}
|
|
33226
33252
|
protoOf(_no_name_provided__qut3iv_103).r6o = function (action) {
|
|
33227
33253
|
return action instanceof PickUpBribeMechanicAction;
|
|
@@ -33230,7 +33256,7 @@
|
|
|
33230
33256
|
// Inline function 'games.jass.logic.client.redux.redusers.clientResetMessagesAfterBribeReducer.<anonymous>' call
|
|
33231
33257
|
action instanceof PickUpBribeMechanicAction || THROW_CCE();
|
|
33232
33258
|
var clientState = get_clientPayload(state);
|
|
33233
|
-
return state.u9c(VOID, clientState.
|
|
33259
|
+
return state.u9c(VOID, clientState.ed8(VOID, updateMessagesAsNotShown(clientState.cao_1, this.hdd_1)));
|
|
33234
33260
|
};
|
|
33235
33261
|
protoOf(_no_name_provided__qut3iv_103).j6q = function (state, action) {
|
|
33236
33262
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -33251,10 +33277,10 @@
|
|
|
33251
33277
|
var tmp;
|
|
33252
33278
|
if (action_0 instanceof AddToBufferAction) {
|
|
33253
33279
|
var bufferedActions = plus_0(clientState.fao_1, action_0.jd4_1);
|
|
33254
|
-
tmp = state.u9c(VOID, clientState.
|
|
33280
|
+
tmp = state.u9c(VOID, clientState.ed8(VOID, VOID, VOID, VOID, bufferedActions));
|
|
33255
33281
|
} else {
|
|
33256
33282
|
if (action_0 instanceof ReleaseBufferAction) {
|
|
33257
|
-
tmp = state.u9c(VOID, clientState.
|
|
33283
|
+
tmp = state.u9c(VOID, clientState.ed8(VOID, VOID, VOID, VOID, emptyList()));
|
|
33258
33284
|
} else {
|
|
33259
33285
|
noWhenBranchMatchedException();
|
|
33260
33286
|
}
|
|
@@ -33269,7 +33295,7 @@
|
|
|
33269
33295
|
return new _no_name_provided__qut3iv_105(clientLifecycleReducer);
|
|
33270
33296
|
}
|
|
33271
33297
|
function _no_name_provided__qut3iv_105($clientLifecycleReducer) {
|
|
33272
|
-
this.
|
|
33298
|
+
this.idd_1 = $clientLifecycleReducer;
|
|
33273
33299
|
}
|
|
33274
33300
|
protoOf(_no_name_provided__qut3iv_105).r6o = function (action) {
|
|
33275
33301
|
return isInterface(action, TerminatedAction);
|
|
@@ -33288,7 +33314,7 @@
|
|
|
33288
33314
|
}
|
|
33289
33315
|
}
|
|
33290
33316
|
var errorState = tmp;
|
|
33291
|
-
return state.u9c(VOID, this.
|
|
33317
|
+
return state.u9c(VOID, this.idd_1.pdc(get_clientPayload(state)).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, errorState));
|
|
33292
33318
|
};
|
|
33293
33319
|
protoOf(_no_name_provided__qut3iv_105).j6q = function (state, action) {
|
|
33294
33320
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -33310,7 +33336,7 @@
|
|
|
33310
33336
|
if (action_0 instanceof ExpectantCreatedClientAction) {
|
|
33311
33337
|
var expectants = plus_0(clientState.eao_1, action_0.kd5_1);
|
|
33312
33338
|
var bufferedActions = plus_0(clientState.fao_1, action_0.kd5_1.oab_1);
|
|
33313
|
-
tmp = state.u9c(VOID, clientState.
|
|
33339
|
+
tmp = state.u9c(VOID, clientState.ed8(VOID, VOID, VOID, expectants, bufferedActions));
|
|
33314
33340
|
} else {
|
|
33315
33341
|
if (action_0 instanceof ExpectantTimerFinishedClientAction) {
|
|
33316
33342
|
// Inline function 'kotlin.collections.single' call
|
|
@@ -33343,7 +33369,7 @@
|
|
|
33343
33369
|
}
|
|
33344
33370
|
}
|
|
33345
33371
|
var expectants_0 = plus_0(destination, expectant.sab(VOID, VOID, true));
|
|
33346
|
-
tmp = state.u9c(VOID, clientState.
|
|
33372
|
+
tmp = state.u9c(VOID, clientState.ed8(VOID, VOID, VOID, expectants_0));
|
|
33347
33373
|
} else {
|
|
33348
33374
|
if (action_0 instanceof ExpectantStageCompletedClientAction) {
|
|
33349
33375
|
tmp = state;
|
|
@@ -33383,7 +33409,7 @@
|
|
|
33383
33409
|
}
|
|
33384
33410
|
}
|
|
33385
33411
|
var expectants = destination;
|
|
33386
|
-
return state.u9c(VOID, clientPayload.
|
|
33412
|
+
return state.u9c(VOID, clientPayload.ed8(VOID, VOID, VOID, expectants));
|
|
33387
33413
|
};
|
|
33388
33414
|
protoOf(_no_name_provided__qut3iv_107).j6q = function (state, action) {
|
|
33389
33415
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -33414,10 +33440,10 @@
|
|
|
33414
33440
|
return clientPayload.oao_1;
|
|
33415
33441
|
}
|
|
33416
33442
|
var player = getPlayer(table.players, playerId);
|
|
33417
|
-
var tmp0_$this = $this.
|
|
33443
|
+
var tmp0_$this = $this.jdd_1;
|
|
33418
33444
|
var tmp1_players = mapWithIndex(table.players);
|
|
33419
33445
|
var tmp2_cards = player.h74_1;
|
|
33420
|
-
var updatedPlayerCards = tmp0_$this.
|
|
33446
|
+
var updatedPlayerCards = tmp0_$this.ndd(playerId, isCurrentPlayerId, tmp2_cards, tmp1_players);
|
|
33421
33447
|
var tmp$ret$3;
|
|
33422
33448
|
$l$block_0: {
|
|
33423
33449
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -33434,7 +33460,7 @@
|
|
|
33434
33460
|
}
|
|
33435
33461
|
var tmp3_elvis_lhs = tmp$ret$3;
|
|
33436
33462
|
var removeCardFromHand = tmp3_elvis_lhs == null ? last(updatedPlayerCards) : tmp3_elvis_lhs;
|
|
33437
|
-
var tmp4_id = $this.
|
|
33463
|
+
var tmp4_id = $this.ldd_1.q6m();
|
|
33438
33464
|
return plus_0(clientPayload.oao_1, new PutCardOnTableTransition(tmp4_id, removeCardFromHand, card));
|
|
33439
33465
|
}
|
|
33440
33466
|
function handleTradeScene($this, state, action, currentPlayerId) {
|
|
@@ -33463,7 +33489,7 @@
|
|
|
33463
33489
|
throw new MechanicException('Required ' + getKClass(EarnPointsSceneData).qa() + ', current scene is ' + toString_0(this_0));
|
|
33464
33490
|
}
|
|
33465
33491
|
var sceneData = tmp$ret$0;
|
|
33466
|
-
var tmp0_$this = $this.
|
|
33492
|
+
var tmp0_$this = $this.kdd_1;
|
|
33467
33493
|
var tmp1_config = state.i6x().config;
|
|
33468
33494
|
var tmp2_cardDeck = state.i6x().requireCardDeck;
|
|
33469
33495
|
var tmp3_newTopOpenedCard = sceneData.h7l_1;
|
|
@@ -33478,8 +33504,8 @@
|
|
|
33478
33504
|
var cardDeckCards = createCardDeckCards($this, cardsToDistribute, otherCardsCount);
|
|
33479
33505
|
var tmp1_whoChoseSuitPlayerId = whoGetsTheTrumpCardPlayer == null ? null : whoGetsTheTrumpCardPlayer.playerId;
|
|
33480
33506
|
var cardPairsMap = dealCardsByWaves$default($this, distributeToCards, cardDeckCards, trumpCard, tmp1_whoChoseSuitPlayerId);
|
|
33481
|
-
var updatedTransitions = plus_0(get_clientPayload(state).oao_1, new CardDistributionTransition($this.
|
|
33482
|
-
return state.u9c(VOID, get_clientPayload(state).
|
|
33507
|
+
var updatedTransitions = plus_0(get_clientPayload(state).oao_1, new CardDistributionTransition($this.ldd_1.q6m(), cardPairsMap));
|
|
33508
|
+
return state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
33483
33509
|
}
|
|
33484
33510
|
function prepareCardsForDistribution($this, state, table, currentPlayerId, cardsToDistribute) {
|
|
33485
33511
|
// Inline function 'kotlin.collections.associate' call
|
|
@@ -33493,11 +33519,11 @@
|
|
|
33493
33519
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
33494
33520
|
// Inline function 'games.jass.logic.client.redux.redusers.transitions.TransitionsReducerImpl.prepareCardsForDistribution.<anonymous>' call
|
|
33495
33521
|
var allPlayerCards = toList_0(toSet(plus(element.h74_1, getValue(cardsToDistribute, element.playerId))));
|
|
33496
|
-
var tmp0_$this = $this.
|
|
33522
|
+
var tmp0_$this = $this.jdd_1;
|
|
33497
33523
|
var tmp1_playerId = element.playerId;
|
|
33498
33524
|
var tmp2_players = mapWithIndex(table.players);
|
|
33499
33525
|
var tmp3_isCurrentPlayer = currentPlayerId === element.playerId;
|
|
33500
|
-
var hiddenCardsIfNeeded = tmp0_$this.
|
|
33526
|
+
var hiddenCardsIfNeeded = tmp0_$this.ndd(tmp1_playerId, tmp3_isCurrentPlayer, allPlayerCards, tmp2_players);
|
|
33501
33527
|
var cards = takeLast(hiddenCardsIfNeeded, getValue(cardsToDistribute, element.playerId).m());
|
|
33502
33528
|
var pair = to(element.playerId, sortedWith(cards, new CardSuitSortingComparator(get_clientPayload(state).bao_1.faa_1)));
|
|
33503
33529
|
destination.n2(pair.se_1, pair.te_1);
|
|
@@ -33505,7 +33531,7 @@
|
|
|
33505
33531
|
return destination;
|
|
33506
33532
|
}
|
|
33507
33533
|
function determineWhoGetsTheTrumpCard($this, table) {
|
|
33508
|
-
return !(firstOrNull(filterWhoChoseSuit(table.players)) == null) ? $this.
|
|
33534
|
+
return !(firstOrNull(filterWhoChoseSuit(table.players)) == null) ? $this.mdd_1.y91(table.players, table.config) : null;
|
|
33509
33535
|
}
|
|
33510
33536
|
function createCardDeckCards($this, cardsToDistribute, otherCardsCount) {
|
|
33511
33537
|
// Inline function 'kotlin.collections.sumOf' call
|
|
@@ -33652,8 +33678,8 @@
|
|
|
33652
33678
|
}
|
|
33653
33679
|
}
|
|
33654
33680
|
function _no_name_provided__qut3iv_108(this$0, $currentPlayerId) {
|
|
33655
|
-
this.
|
|
33656
|
-
this.
|
|
33681
|
+
this.odd_1 = this$0;
|
|
33682
|
+
this.pdd_1 = $currentPlayerId;
|
|
33657
33683
|
}
|
|
33658
33684
|
protoOf(_no_name_provided__qut3iv_108).r6o = function (action) {
|
|
33659
33685
|
return action instanceof PutCardAndCheckCombinationsAction;
|
|
@@ -33661,15 +33687,15 @@
|
|
|
33661
33687
|
protoOf(_no_name_provided__qut3iv_108).m9q = function (state, action) {
|
|
33662
33688
|
// Inline function 'games.jass.logic.client.redux.redusers.transitions.TransitionsReducerImpl.addTransitionWhenPutCardAndCheckCombinationReducer.<anonymous>' call
|
|
33663
33689
|
var action_0 = action instanceof PutCardAndCheckCombinationsAction ? action : THROW_CCE();
|
|
33664
|
-
var updatedTransitions = addPutCardOnTableTransition(this.
|
|
33665
|
-
return state.u9c(VOID, get_clientPayload(state).
|
|
33690
|
+
var updatedTransitions = addPutCardOnTableTransition(this.odd_1, this.pdd_1, true, action_0.od4_1.b6j_1, state.i6x(), get_clientPayload(state));
|
|
33691
|
+
return state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
33666
33692
|
};
|
|
33667
33693
|
protoOf(_no_name_provided__qut3iv_108).j6q = function (state, action) {
|
|
33668
33694
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
33669
33695
|
};
|
|
33670
33696
|
function _no_name_provided__qut3iv_109(this$0, $currentPlayerId) {
|
|
33671
|
-
this.
|
|
33672
|
-
this.
|
|
33697
|
+
this.qdd_1 = this$0;
|
|
33698
|
+
this.rdd_1 = $currentPlayerId;
|
|
33673
33699
|
}
|
|
33674
33700
|
protoOf(_no_name_provided__qut3iv_109).r6o = function (action) {
|
|
33675
33701
|
return action instanceof PutCardMechanicAction;
|
|
@@ -33677,8 +33703,8 @@
|
|
|
33677
33703
|
protoOf(_no_name_provided__qut3iv_109).m9q = function (state, action) {
|
|
33678
33704
|
// Inline function 'games.jass.logic.client.redux.redusers.transitions.TransitionsReducerImpl.addTransitionWhenPutCardReducer.<anonymous>' call
|
|
33679
33705
|
var action_0 = action instanceof PutCardMechanicAction ? action : THROW_CCE();
|
|
33680
|
-
var updatedTransitions = addPutCardOnTableTransition(this.
|
|
33681
|
-
return state.u9c(VOID, get_clientPayload(state).
|
|
33706
|
+
var updatedTransitions = addPutCardOnTableTransition(this.qdd_1, action_0.playerId, this.rdd_1 === action_0.playerId, action_0.k8a_1, state.i6x(), get_clientPayload(state));
|
|
33707
|
+
return state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
33682
33708
|
};
|
|
33683
33709
|
protoOf(_no_name_provided__qut3iv_109).j6q = function (state, action) {
|
|
33684
33710
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -33704,28 +33730,28 @@
|
|
|
33704
33730
|
}
|
|
33705
33731
|
}
|
|
33706
33732
|
var filteredTransitions = destination;
|
|
33707
|
-
return state.u9c(VOID, get_clientPayload(state).
|
|
33733
|
+
return state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, filteredTransitions));
|
|
33708
33734
|
};
|
|
33709
33735
|
protoOf(_no_name_provided__qut3iv_110).j6q = function (state, action) {
|
|
33710
33736
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
33711
33737
|
};
|
|
33712
33738
|
function _no_name_provided__qut3iv_111(this$0, $currentPlayerId) {
|
|
33713
|
-
this.
|
|
33714
|
-
this.
|
|
33739
|
+
this.sdd_1 = this$0;
|
|
33740
|
+
this.tdd_1 = $currentPlayerId;
|
|
33715
33741
|
}
|
|
33716
33742
|
protoOf(_no_name_provided__qut3iv_111).r6o = function (action) {
|
|
33717
33743
|
return action instanceof SceneMechanicAction;
|
|
33718
33744
|
};
|
|
33719
33745
|
protoOf(_no_name_provided__qut3iv_111).m9q = function (state, action) {
|
|
33720
|
-
// Inline function 'games.jass.logic.client.redux.redusers.transitions.TransitionsReducerImpl.
|
|
33746
|
+
// Inline function 'games.jass.logic.client.redux.redusers.transitions.TransitionsReducerImpl.addTransitionWhenCardDistributionReducer.<anonymous>' call
|
|
33721
33747
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
33722
33748
|
var tmp;
|
|
33723
33749
|
switch (action_0.m89_1) {
|
|
33724
33750
|
case 'TRADE':
|
|
33725
|
-
tmp = handleTradeScene(this.
|
|
33751
|
+
tmp = handleTradeScene(this.sdd_1, state, action_0, this.tdd_1);
|
|
33726
33752
|
break;
|
|
33727
33753
|
case 'EARN_POINTS':
|
|
33728
|
-
tmp = handleEarnPointsScene(this.
|
|
33754
|
+
tmp = handleEarnPointsScene(this.sdd_1, state, action_0, this.tdd_1);
|
|
33729
33755
|
break;
|
|
33730
33756
|
default:
|
|
33731
33757
|
tmp = state;
|
|
@@ -33742,7 +33768,7 @@
|
|
|
33742
33768
|
return action instanceof SceneActivationAction;
|
|
33743
33769
|
};
|
|
33744
33770
|
protoOf(_no_name_provided__qut3iv_112).m9q = function (state, action) {
|
|
33745
|
-
// Inline function 'games.jass.logic.client.redux.redusers.transitions.TransitionsReducerImpl.
|
|
33771
|
+
// Inline function 'games.jass.logic.client.redux.redusers.transitions.TransitionsReducerImpl.removeTransitionWhenCardDistributionReducer.<anonymous>' call
|
|
33746
33772
|
var tmp;
|
|
33747
33773
|
if ((action instanceof SceneActivationAction ? action : THROW_CCE()).raq_1) {
|
|
33748
33774
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -33752,13 +33778,13 @@
|
|
|
33752
33778
|
var tmp0_iterator = this_0.j();
|
|
33753
33779
|
while (tmp0_iterator.k()) {
|
|
33754
33780
|
var element = tmp0_iterator.l();
|
|
33755
|
-
// Inline function 'games.jass.logic.client.redux.redusers.transitions.TransitionsReducerImpl.
|
|
33781
|
+
// Inline function 'games.jass.logic.client.redux.redusers.transitions.TransitionsReducerImpl.removeTransitionWhenCardDistributionReducer.<anonymous>.<anonymous>' call
|
|
33756
33782
|
if (!(element instanceof CardDistributionTransition)) {
|
|
33757
33783
|
destination.e(element);
|
|
33758
33784
|
}
|
|
33759
33785
|
}
|
|
33760
33786
|
var filteredTransitions = destination;
|
|
33761
|
-
tmp = state.u9c(VOID, get_clientPayload(state).
|
|
33787
|
+
tmp = state.u9c(VOID, get_clientPayload(state).ed8(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, filteredTransitions));
|
|
33762
33788
|
} else {
|
|
33763
33789
|
tmp = state;
|
|
33764
33790
|
}
|
|
@@ -33768,28 +33794,28 @@
|
|
|
33768
33794
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
33769
33795
|
};
|
|
33770
33796
|
function TransitionsReducerImpl(playerHandSelector, sceneReducer, idsProvider, gameLogicProvider) {
|
|
33771
|
-
this.
|
|
33772
|
-
this.
|
|
33773
|
-
this.
|
|
33774
|
-
this.
|
|
33797
|
+
this.jdd_1 = playerHandSelector;
|
|
33798
|
+
this.kdd_1 = sceneReducer;
|
|
33799
|
+
this.ldd_1 = idsProvider;
|
|
33800
|
+
this.mdd_1 = gameLogicProvider;
|
|
33775
33801
|
}
|
|
33776
|
-
protoOf(TransitionsReducerImpl).
|
|
33802
|
+
protoOf(TransitionsReducerImpl).udd = function (currentPlayerId) {
|
|
33777
33803
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
33778
33804
|
return new _no_name_provided__qut3iv_108(this, currentPlayerId);
|
|
33779
33805
|
};
|
|
33780
|
-
protoOf(TransitionsReducerImpl).
|
|
33806
|
+
protoOf(TransitionsReducerImpl).vdd = function (currentPlayerId) {
|
|
33781
33807
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
33782
33808
|
return new _no_name_provided__qut3iv_109(this, currentPlayerId);
|
|
33783
33809
|
};
|
|
33784
|
-
protoOf(TransitionsReducerImpl).
|
|
33810
|
+
protoOf(TransitionsReducerImpl).wdd = function () {
|
|
33785
33811
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
33786
33812
|
return new _no_name_provided__qut3iv_110();
|
|
33787
33813
|
};
|
|
33788
|
-
protoOf(TransitionsReducerImpl).
|
|
33814
|
+
protoOf(TransitionsReducerImpl).xdd = function (currentPlayerId) {
|
|
33789
33815
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
33790
33816
|
return new _no_name_provided__qut3iv_111(this, currentPlayerId);
|
|
33791
33817
|
};
|
|
33792
|
-
protoOf(TransitionsReducerImpl).
|
|
33818
|
+
protoOf(TransitionsReducerImpl).ydd = function () {
|
|
33793
33819
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
33794
33820
|
return new _no_name_provided__qut3iv_112();
|
|
33795
33821
|
};
|
|
@@ -33992,8 +34018,8 @@
|
|
|
33992
34018
|
var tmp3_cards = player.h74_1;
|
|
33993
34019
|
var tmp4_players = mapWithIndex(table.players);
|
|
33994
34020
|
var tmp0_safe_receiver = clientPayload.nao_1;
|
|
33995
|
-
var
|
|
33996
|
-
var playerCards = this.
|
|
34021
|
+
var tmp5_processingCardOnTable = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b6j_1;
|
|
34022
|
+
var playerCards = this.zdd(tmp2_playerId, tmp1_isCurrentPlayer, tmp3_cards, tmp4_players, tmp5_processingCardOnTable);
|
|
33997
34023
|
var cardsStateVM = this.rco(isGameActive, table, clientPayload);
|
|
33998
34024
|
// Inline function 'kotlin.collections.map' call
|
|
33999
34025
|
var this_0 = getShowedCombinations(this, playerId, table.cardsOnTable, clientPayload);
|
|
@@ -34169,9 +34195,9 @@
|
|
|
34169
34195
|
}
|
|
34170
34196
|
return tmp;
|
|
34171
34197
|
};
|
|
34172
|
-
protoOf(PlayerHandSelector).
|
|
34173
|
-
if (isCurrentPlayer && !(
|
|
34174
|
-
return minus(cards,
|
|
34198
|
+
protoOf(PlayerHandSelector).zdd = function (playerId, isCurrentPlayer, cards, players, processingCardOnTable) {
|
|
34199
|
+
if (isCurrentPlayer && !(processingCardOnTable == null)) {
|
|
34200
|
+
return minus(cards, processingCardOnTable);
|
|
34175
34201
|
}
|
|
34176
34202
|
if (cards.p()) {
|
|
34177
34203
|
return emptyList();
|
|
@@ -34182,26 +34208,26 @@
|
|
|
34182
34208
|
var index = getItemIndex(players, get_byIdPlayerPredicate()(playerId));
|
|
34183
34209
|
return generateHiddenPlayerHandCards(cards.m(), index);
|
|
34184
34210
|
};
|
|
34185
|
-
protoOf(PlayerHandSelector).
|
|
34186
|
-
|
|
34187
|
-
return $super === VOID ? this.
|
|
34211
|
+
protoOf(PlayerHandSelector).ndd = function (playerId, isCurrentPlayer, cards, players, processingCardOnTable, $super) {
|
|
34212
|
+
processingCardOnTable = processingCardOnTable === VOID ? null : processingCardOnTable;
|
|
34213
|
+
return $super === VOID ? this.zdd(playerId, isCurrentPlayer, cards, players, processingCardOnTable) : $super.zdd.call(this, playerId, isCurrentPlayer, cards, players, processingCardOnTable);
|
|
34188
34214
|
};
|
|
34189
34215
|
function Companion_64() {
|
|
34190
34216
|
}
|
|
34191
|
-
protoOf(Companion_64).
|
|
34217
|
+
protoOf(Companion_64).bdd = function (config, combinations) {
|
|
34192
34218
|
return new ClientStatePayload(config, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, combinations);
|
|
34193
34219
|
};
|
|
34194
|
-
protoOf(Companion_64).
|
|
34220
|
+
protoOf(Companion_64).add = function (config, combinations, $super) {
|
|
34195
34221
|
combinations = combinations === VOID ? null : combinations;
|
|
34196
|
-
return $super === VOID ? this.
|
|
34222
|
+
return $super === VOID ? this.bdd(config, combinations) : $super.bdd.call(this, config, combinations);
|
|
34197
34223
|
};
|
|
34198
|
-
protoOf(Companion_64).
|
|
34224
|
+
protoOf(Companion_64).odc = function (config, isForeground, isSceneActive, messages, bufferedActions, error) {
|
|
34199
34225
|
return new ClientStatePayload(config, messages, VOID, VOID, bufferedActions, isForeground, isSceneActive, VOID, VOID, VOID, VOID, VOID, VOID, VOID, error);
|
|
34200
34226
|
};
|
|
34201
|
-
protoOf(Companion_64).
|
|
34227
|
+
protoOf(Companion_64).qdc = function (config, isForeground, isSceneActive, messages, bufferedActions, expectants, combinations, processingCard, error) {
|
|
34202
34228
|
return new ClientStatePayload(config, messages, VOID, expectants, bufferedActions, isForeground, isSceneActive, VOID, VOID, combinations, VOID, VOID, processingCard, VOID, error);
|
|
34203
34229
|
};
|
|
34204
|
-
protoOf(Companion_64).
|
|
34230
|
+
protoOf(Companion_64).rdc = function (config, isForeground, isSceneActive) {
|
|
34205
34231
|
return new ClientStatePayload(config, VOID, VOID, VOID, VOID, isForeground, isSceneActive);
|
|
34206
34232
|
};
|
|
34207
34233
|
var Companion_instance_74;
|
|
@@ -34244,10 +34270,10 @@
|
|
|
34244
34270
|
protoOf(ClientStatePayload).tcz = function () {
|
|
34245
34271
|
return !this.hao_1;
|
|
34246
34272
|
};
|
|
34247
|
-
protoOf(ClientStatePayload).
|
|
34273
|
+
protoOf(ClientStatePayload).ade = function (config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinations, lastBribe, gameInfo, processingCard, transitions, error, tutorial) {
|
|
34248
34274
|
return new ClientStatePayload(config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinations, lastBribe, gameInfo, processingCard, transitions, error, tutorial);
|
|
34249
34275
|
};
|
|
34250
|
-
protoOf(ClientStatePayload).
|
|
34276
|
+
protoOf(ClientStatePayload).ed8 = function (config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinations, lastBribe, gameInfo, processingCard, transitions, error, tutorial, $super) {
|
|
34251
34277
|
config = config === VOID ? this.bao_1 : config;
|
|
34252
34278
|
messages = messages === VOID ? this.cao_1 : messages;
|
|
34253
34279
|
infoMessage = infoMessage === VOID ? this.dao_1 : infoMessage;
|
|
@@ -34264,7 +34290,7 @@
|
|
|
34264
34290
|
transitions = transitions === VOID ? this.oao_1 : transitions;
|
|
34265
34291
|
error = error === VOID ? this.pao_1 : error;
|
|
34266
34292
|
tutorial = tutorial === VOID ? this.qao_1 : tutorial;
|
|
34267
|
-
return $super === VOID ? this.
|
|
34293
|
+
return $super === VOID ? this.ade(config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinations, lastBribe, gameInfo, processingCard, transitions, error, tutorial) : $super.ade.call(this, config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinations, lastBribe, gameInfo, processingCard, transitions, error, tutorial);
|
|
34268
34294
|
};
|
|
34269
34295
|
protoOf(ClientStatePayload).toString = function () {
|
|
34270
34296
|
return 'ClientStatePayload(config=' + this.bao_1.toString() + ', messages=' + toString(this.cao_1) + ', infoMessage=' + toString_0(this.dao_1) + ', expectants=' + toString(this.eao_1) + ', bufferedActions=' + toString(this.fao_1) + ', isForeground=' + this.gao_1 + ', isSceneActive=' + this.hao_1 + ', chatOpened=' + this.iao_1 + ', settingsOpened=' + this.jao_1 + ', combinations=' + toString_0(this.kao_1) + ', lastBribe=' + toString_0(this.lao_1) + ', gameInfo=' + toString_0(this.mao_1) + ', processingCard=' + toString_0(this.nao_1) + ', transitions=' + toString(this.oao_1) + ', error=' + toString_0(this.pao_1) + ', tutorial=' + this.qao_1 + ')';
|
|
@@ -34476,7 +34502,7 @@
|
|
|
34476
34502
|
function onError($this, message, payload) {
|
|
34477
34503
|
var tmp0_elvis_lhs = payload instanceof TerminationGameReason ? payload : null;
|
|
34478
34504
|
var reason = tmp0_elvis_lhs == null ? new GameErrorReason(Reason_INTERNAL_ERROR_getInstance()) : tmp0_elvis_lhs;
|
|
34479
|
-
var tmp1_safe_receiver = $this.
|
|
34505
|
+
var tmp1_safe_receiver = $this.gde_1;
|
|
34480
34506
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver();
|
|
34481
34507
|
if (tmp2_safe_receiver == null)
|
|
34482
34508
|
null;
|
|
@@ -34485,8 +34511,8 @@
|
|
|
34485
34511
|
}
|
|
34486
34512
|
}
|
|
34487
34513
|
function ShowErrorLoggerOutputImpl$onError$slambda($message, $reason, resultContinuation) {
|
|
34488
|
-
this.
|
|
34489
|
-
this.
|
|
34514
|
+
this.pde_1 = $message;
|
|
34515
|
+
this.qde_1 = $reason;
|
|
34490
34516
|
CoroutineImpl.call(this, resultContinuation);
|
|
34491
34517
|
}
|
|
34492
34518
|
protoOf(ShowErrorLoggerOutputImpl$onError$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -34506,7 +34532,7 @@
|
|
|
34506
34532
|
var tmp = this.j9_1;
|
|
34507
34533
|
if (tmp === 0) {
|
|
34508
34534
|
this.k9_1 = 1;
|
|
34509
|
-
this.
|
|
34535
|
+
this.sde_1.dispatch(new ErrorAction(new ErrorState(this.pde_1, VOID, this.qde_1)));
|
|
34510
34536
|
return Unit_instance;
|
|
34511
34537
|
} else if (tmp === 1) {
|
|
34512
34538
|
throw this.m9_1;
|
|
@@ -34518,9 +34544,9 @@
|
|
|
34518
34544
|
while (true);
|
|
34519
34545
|
};
|
|
34520
34546
|
protoOf(ShowErrorLoggerOutputImpl$onError$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
34521
|
-
var i = new ShowErrorLoggerOutputImpl$onError$slambda(this.
|
|
34522
|
-
i.
|
|
34523
|
-
i.
|
|
34547
|
+
var i = new ShowErrorLoggerOutputImpl$onError$slambda(this.pde_1, this.qde_1, completion);
|
|
34548
|
+
i.rde_1 = $this$dispatchAsync;
|
|
34549
|
+
i.sde_1 = store;
|
|
34524
34550
|
return i;
|
|
34525
34551
|
};
|
|
34526
34552
|
function ShowErrorLoggerOutputImpl$onError$slambda_0($message, $reason, resultContinuation) {
|
|
@@ -34534,20 +34560,20 @@
|
|
|
34534
34560
|
function ShowErrorLoggerOutputImpl(skipWarnings, gameClientProvider) {
|
|
34535
34561
|
skipWarnings = skipWarnings === VOID ? true : skipWarnings;
|
|
34536
34562
|
gameClientProvider = gameClientProvider === VOID ? null : gameClientProvider;
|
|
34537
|
-
this.
|
|
34538
|
-
this.
|
|
34563
|
+
this.fde_1 = skipWarnings;
|
|
34564
|
+
this.gde_1 = gameClientProvider;
|
|
34539
34565
|
}
|
|
34540
|
-
protoOf(ShowErrorLoggerOutputImpl).zdd = function (_set____db54di) {
|
|
34541
|
-
this.dde_1 = _set____db54di;
|
|
34542
|
-
};
|
|
34543
|
-
protoOf(ShowErrorLoggerOutputImpl).ade = function () {
|
|
34544
|
-
return this.dde_1;
|
|
34545
|
-
};
|
|
34546
34566
|
protoOf(ShowErrorLoggerOutputImpl).bde = function (_set____db54di) {
|
|
34547
|
-
this.
|
|
34567
|
+
this.fde_1 = _set____db54di;
|
|
34548
34568
|
};
|
|
34549
34569
|
protoOf(ShowErrorLoggerOutputImpl).cde = function () {
|
|
34550
|
-
return this.
|
|
34570
|
+
return this.fde_1;
|
|
34571
|
+
};
|
|
34572
|
+
protoOf(ShowErrorLoggerOutputImpl).dde = function (_set____db54di) {
|
|
34573
|
+
this.gde_1 = _set____db54di;
|
|
34574
|
+
};
|
|
34575
|
+
protoOf(ShowErrorLoggerOutputImpl).ede = function () {
|
|
34576
|
+
return this.gde_1;
|
|
34551
34577
|
};
|
|
34552
34578
|
protoOf(ShowErrorLoggerOutputImpl).in = function (tag, message, payload) {
|
|
34553
34579
|
};
|
|
@@ -34559,7 +34585,7 @@
|
|
|
34559
34585
|
protoOf(ShowErrorLoggerOutputImpl).ln = function (tag, message, exception, payload) {
|
|
34560
34586
|
};
|
|
34561
34587
|
protoOf(ShowErrorLoggerOutputImpl).kn = function (tag, message, exception, payload) {
|
|
34562
|
-
if (!this.
|
|
34588
|
+
if (!this.fde_1) {
|
|
34563
34589
|
onError(this, message, payload);
|
|
34564
34590
|
}
|
|
34565
34591
|
};
|
|
@@ -34570,13 +34596,13 @@
|
|
|
34570
34596
|
}
|
|
34571
34597
|
function _get_logger__rkp4sl_1($this) {
|
|
34572
34598
|
// Inline function 'kotlin.getValue' call
|
|
34573
|
-
var this_0 = $this.
|
|
34599
|
+
var this_0 = $this.wde_1;
|
|
34574
34600
|
logger$factory_3();
|
|
34575
34601
|
return this_0.u();
|
|
34576
34602
|
}
|
|
34577
34603
|
function _get_di__ndbzja($this) {
|
|
34578
34604
|
// Inline function 'kotlin.getValue' call
|
|
34579
|
-
var this_0 = $this.
|
|
34605
|
+
var this_0 = $this.xde_1;
|
|
34580
34606
|
di$factory();
|
|
34581
34607
|
return this_0.u();
|
|
34582
34608
|
}
|
|
@@ -34619,13 +34645,13 @@
|
|
|
34619
34645
|
};
|
|
34620
34646
|
}
|
|
34621
34647
|
function _no_name_provided__qut3iv_113($item) {
|
|
34622
|
-
this.
|
|
34648
|
+
this.zde_1 = $item;
|
|
34623
34649
|
}
|
|
34624
34650
|
protoOf(_no_name_provided__qut3iv_113).r6o = function (action) {
|
|
34625
34651
|
return isInterface(action, Action);
|
|
34626
34652
|
};
|
|
34627
34653
|
protoOf(_no_name_provided__qut3iv_113).m9q = function (state, action) {
|
|
34628
|
-
return this.
|
|
34654
|
+
return this.zde_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
34629
34655
|
};
|
|
34630
34656
|
protoOf(_no_name_provided__qut3iv_113).j6q = function (state, action) {
|
|
34631
34657
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -34747,23 +34773,23 @@
|
|
|
34747
34773
|
function GameClientEngineControllerImpl(loggerCallback, production) {
|
|
34748
34774
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
34749
34775
|
production = production === VOID ? true : production;
|
|
34750
|
-
this.
|
|
34776
|
+
this.vde_1 = loggerCallback;
|
|
34751
34777
|
AppEnvironment_getInstance().a6w(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
34752
34778
|
var tmp = this;
|
|
34753
|
-
tmp.
|
|
34779
|
+
tmp.wde_1 = lazy_0(GameClientEngineControllerImpl$logger$delegate$lambda);
|
|
34754
34780
|
var tmp_0 = this;
|
|
34755
|
-
tmp_0.
|
|
34781
|
+
tmp_0.xde_1 = lazy_0(GameClientEngineControllerImpl$di$delegate$lambda(this));
|
|
34756
34782
|
var tmp_1 = this;
|
|
34757
34783
|
// Inline function 'org.kodein.di.instance' call
|
|
34758
34784
|
var this_0 = _get_di__ndbzja(this);
|
|
34759
34785
|
// Inline function 'org.kodein.type.generic' call
|
|
34760
34786
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
34761
34787
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
34762
|
-
tmp_1.
|
|
34788
|
+
tmp_1.yde_1 = Instance(this_0, tmp$ret$0, null).w67(this, parser$factory());
|
|
34763
34789
|
}
|
|
34764
|
-
protoOf(GameClientEngineControllerImpl).
|
|
34790
|
+
protoOf(GameClientEngineControllerImpl).tde = function () {
|
|
34765
34791
|
// Inline function 'kotlin.getValue' call
|
|
34766
|
-
var this_0 = this.
|
|
34792
|
+
var this_0 = this.yde_1;
|
|
34767
34793
|
parser$factory_0();
|
|
34768
34794
|
return this_0.u();
|
|
34769
34795
|
};
|
|
@@ -34773,7 +34799,7 @@
|
|
|
34773
34799
|
protoOf(GameClientEngineControllerImpl).createOnlineGameEngine = function (currentPlayerId) {
|
|
34774
34800
|
return this.createOnlineGameEngineWithLogic(currentPlayerId);
|
|
34775
34801
|
};
|
|
34776
|
-
protoOf(GameClientEngineControllerImpl).
|
|
34802
|
+
protoOf(GameClientEngineControllerImpl).ude = function (currentPlayerId, reducers, middlewares, gameClientConfig, engineBotConfig, logicConfig, dealerConfig, coreConfig) {
|
|
34777
34803
|
var tmp;
|
|
34778
34804
|
if (coreConfig.fileLogsEnabled) {
|
|
34779
34805
|
tmp = new FileLoggerOutputImpl();
|
|
@@ -34782,8 +34808,8 @@
|
|
|
34782
34808
|
}
|
|
34783
34809
|
var fileLoggerOutput = tmp;
|
|
34784
34810
|
var tmp_0;
|
|
34785
|
-
if (!(this.
|
|
34786
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
34811
|
+
if (!(this.vde_1 == null)) {
|
|
34812
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.vde_1));
|
|
34787
34813
|
} else {
|
|
34788
34814
|
tmp_0 = null;
|
|
34789
34815
|
}
|
|
@@ -35062,24 +35088,25 @@
|
|
|
35062
35088
|
protoOf(ExpectantTimerTag).notValidateWhenFinished = notValidateWhenFinished;
|
|
35063
35089
|
protoOf(ResetMessageTimerTag).notValidateWhenFinished = notValidateWhenFinished;
|
|
35064
35090
|
protoOf(ResetMessageTimerTag).e9c = notValidateTimerReset;
|
|
35091
|
+
protoOf(TransitionsReducerImpl).ud6 = reducers;
|
|
35065
35092
|
protoOf(ShowErrorLoggerOutputImpl).d = d;
|
|
35066
35093
|
protoOf(ShowErrorLoggerOutputImpl).e = e;
|
|
35067
35094
|
protoOf(ShowErrorLoggerOutputImpl).i = i;
|
|
35068
35095
|
protoOf(ShowErrorLoggerOutputImpl).v = v;
|
|
35069
35096
|
protoOf(ShowErrorLoggerOutputImpl).w = w;
|
|
35070
35097
|
defineProp(protoOf(ShowErrorLoggerOutputImpl), 'skipWarnings', function () {
|
|
35071
|
-
return this.
|
|
35098
|
+
return this.cde();
|
|
35072
35099
|
}, function (value) {
|
|
35073
|
-
this.
|
|
35100
|
+
this.bde(value);
|
|
35074
35101
|
});
|
|
35075
35102
|
defineProp(protoOf(ShowErrorLoggerOutputImpl), 'gameClientProvider', function () {
|
|
35076
|
-
return this.
|
|
35103
|
+
return this.ede();
|
|
35077
35104
|
}, function (value) {
|
|
35078
|
-
this.
|
|
35105
|
+
this.dde(value);
|
|
35079
35106
|
});
|
|
35080
35107
|
protoOf(GameClientEngineControllerImpl).createOnlineGameEngineWithLogic = createOnlineGameEngineWithLogic;
|
|
35081
35108
|
defineProp(protoOf(GameClientEngineControllerImpl), 'parser', function () {
|
|
35082
|
-
return this.
|
|
35109
|
+
return this.tde();
|
|
35083
35110
|
});
|
|
35084
35111
|
//endregion
|
|
35085
35112
|
//region block: init
|