game_client_logic_deb 1.8.348 → 1.8.349
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-core.js +1 -1
- package/Logic_Debertz-engine.js +11 -5
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +1 -0
- package/Logic_Debertz-game_client.js +677 -660
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +13 -13
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -317,20 +317,20 @@
|
|
|
317
317
|
var toSet = kotlin_kotlin.$_$.u9;
|
|
318
318
|
var toList = kotlin_kotlin.$_$.n9;
|
|
319
319
|
var EarnPointsSceneData = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
|
|
320
|
+
var mapCapacity = kotlin_kotlin.$_$.l8;
|
|
321
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
322
|
+
var sortedWith = kotlin_kotlin.$_$.f9;
|
|
320
323
|
var getValue = kotlin_kotlin.$_$.u7;
|
|
321
324
|
var takeLast = kotlin_kotlin.$_$.i9;
|
|
322
325
|
var CardSuitSortingComparator = kotlin_io_raspberryapps_cardgame_core.$_$.q;
|
|
323
|
-
var sortedWith = kotlin_kotlin.$_$.f9;
|
|
324
326
|
var Companion_instance_4 = kotlin_io_raspberryapps_cardgame_core.$_$.n;
|
|
325
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
327
|
+
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.u;
|
|
326
328
|
var take_0 = kotlin_kotlin.$_$.j9;
|
|
327
329
|
var reversed = kotlin_kotlin.$_$.y8;
|
|
328
330
|
var toMutableList = kotlin_kotlin.$_$.r9;
|
|
329
331
|
var updated = kotlin_io_raspberryapps_game_engine_core.$_$.o3;
|
|
330
|
-
var
|
|
332
|
+
var Comparator = kotlin_kotlin.$_$.bg;
|
|
331
333
|
var coerceAtLeast = kotlin_kotlin.$_$.zc;
|
|
332
|
-
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.t;
|
|
333
|
-
var drop = kotlin_kotlin.$_$.g7;
|
|
334
334
|
var flatten = kotlin_kotlin.$_$.r7;
|
|
335
335
|
var zip = kotlin_kotlin.$_$.x9;
|
|
336
336
|
var checkIndexOverflow = kotlin_kotlin.$_$.l6;
|
|
@@ -597,7 +597,7 @@
|
|
|
597
597
|
initMetadataForInterface(ControlsContract, 'ControlsContract');
|
|
598
598
|
initMetadataForInterface(TradeSceneContract, 'TradeSceneContract');
|
|
599
599
|
initMetadataForInterface(EarnPointsSceneContract, 'EarnPointsSceneContract');
|
|
600
|
-
initMetadataForInterface(TableScene, 'TableScene', VOID, VOID, [
|
|
600
|
+
initMetadataForInterface(TableScene, 'TableScene', VOID, VOID, [ExpectantContract, ControlsContract, SceneActionsContract]);
|
|
601
601
|
initMetadataForInterface(TradeScene, 'TradeScene', VOID, VOID, [SceneActionsContract, ExpectantContract, TradeSceneContract]);
|
|
602
602
|
initMetadataForInterface(EarnPointsScene, 'EarnPointsScene', VOID, VOID, [SceneActionsContract, ExpectantContract, EarnPointsSceneContract]);
|
|
603
603
|
initMetadataForClass(EarnPointsSceneImpl, 'EarnPointsSceneImpl', VOID, VOID, [EarnPointsSceneContract, ExpectantContract, SceneActionsContract, PlayersSceneContract, EarnPointsScene, GameEngineSceneContract]);
|
|
@@ -724,13 +724,14 @@
|
|
|
724
724
|
initMetadataForClass(expectantLifecycleReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
725
725
|
initMetadataForClass(expectantActionReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
726
726
|
function reducers(currentPlayerId) {
|
|
727
|
-
return listOf([this.
|
|
727
|
+
return listOf([this.sbc(currentPlayerId), this.tbc(currentPlayerId), this.ubc(currentPlayerId), this.vbc(currentPlayerId)]);
|
|
728
728
|
}
|
|
729
729
|
function get_middlewares() {
|
|
730
730
|
return listOf_0(transitionsFinishedMiddleware());
|
|
731
731
|
}
|
|
732
732
|
initMetadataForInterface(TransitionsReducer, 'TransitionsReducer');
|
|
733
733
|
initMetadataForClass(DistributeCardsModel, 'DistributeCardsModel', VOID, VOID, [PlayerIdContract]);
|
|
734
|
+
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
734
735
|
initMetadataForClass(TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
735
736
|
initMetadataForClass(TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
736
737
|
initMetadataForClass(TransitionsReducerImpl$addTransitionWhenCardDistributionReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -765,7 +766,7 @@
|
|
|
765
766
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig(VOID, false) : logicConfig;
|
|
766
767
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
767
768
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
768
|
-
return $super === VOID ? this.
|
|
769
|
+
return $super === VOID ? this.xbd(currentPlayerId, reducers, middlewares, gameClientConfig, engineBotConfig, logicConfig, dealerConfig, coreConfig) : $super.xbd.call(this, currentPlayerId, reducers, middlewares, gameClientConfig, engineBotConfig, logicConfig, dealerConfig, coreConfig);
|
|
769
770
|
}
|
|
770
771
|
initMetadataForInterface(GameClientEngineController, 'GameClientEngineController');
|
|
771
772
|
initMetadataForClass(GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -2147,13 +2148,13 @@
|
|
|
2147
2148
|
protoOf(SessionException).toString = function () {
|
|
2148
2149
|
return 'SessionException: ' + this.k9s_1 + ', ' + this.message;
|
|
2149
2150
|
};
|
|
2150
|
-
function PutCardOnTableTransition(id, playerId, playerIndex, position,
|
|
2151
|
+
function PutCardOnTableTransition(id, playerId, playerIndex, position, fromCard, toCard) {
|
|
2151
2152
|
this.l9s_1 = id;
|
|
2152
2153
|
this.m9s_1 = playerId;
|
|
2153
2154
|
this.n9s_1 = playerIndex;
|
|
2154
2155
|
this.o9s_1 = position;
|
|
2155
|
-
this.p9s_1 =
|
|
2156
|
-
this.q9s_1 =
|
|
2156
|
+
this.p9s_1 = fromCard;
|
|
2157
|
+
this.q9s_1 = toCard;
|
|
2157
2158
|
}
|
|
2158
2159
|
protoOf(PutCardOnTableTransition).h5o = function () {
|
|
2159
2160
|
return this.l9s_1;
|
|
@@ -2162,7 +2163,7 @@
|
|
|
2162
2163
|
return this.m9s_1;
|
|
2163
2164
|
};
|
|
2164
2165
|
protoOf(PutCardOnTableTransition).toString = function () {
|
|
2165
|
-
return 'PutCardOnTableTransition(id=' + this.l9s_1 + ', playerId=' + this.m9s_1 + ', playerIndex=' + this.n9s_1 + ', position=' + this.o9s_1 + ',
|
|
2166
|
+
return 'PutCardOnTableTransition(id=' + this.l9s_1 + ', playerId=' + this.m9s_1 + ', playerIndex=' + this.n9s_1 + ', position=' + this.o9s_1 + ', fromCard=' + this.p9s_1.toString() + ', toCard=' + this.q9s_1.toString() + ')';
|
|
2166
2167
|
};
|
|
2167
2168
|
protoOf(PutCardOnTableTransition).hashCode = function () {
|
|
2168
2169
|
var result = getStringHashCode(this.l9s_1);
|
|
@@ -2224,18 +2225,18 @@
|
|
|
2224
2225
|
return false;
|
|
2225
2226
|
return true;
|
|
2226
2227
|
};
|
|
2227
|
-
function SwapCardsTransition(id,
|
|
2228
|
+
function SwapCardsTransition(id, fromCard1, toCard1, fromCard2, toCard2) {
|
|
2228
2229
|
this.u9s_1 = id;
|
|
2229
|
-
this.v9s_1 =
|
|
2230
|
-
this.w9s_1 =
|
|
2231
|
-
this.x9s_1 =
|
|
2232
|
-
this.y9s_1 =
|
|
2230
|
+
this.v9s_1 = fromCard1;
|
|
2231
|
+
this.w9s_1 = toCard1;
|
|
2232
|
+
this.x9s_1 = fromCard2;
|
|
2233
|
+
this.y9s_1 = toCard2;
|
|
2233
2234
|
}
|
|
2234
2235
|
protoOf(SwapCardsTransition).h5o = function () {
|
|
2235
2236
|
return this.u9s_1;
|
|
2236
2237
|
};
|
|
2237
2238
|
protoOf(SwapCardsTransition).toString = function () {
|
|
2238
|
-
return 'SwapCardsTransition(id=' + this.u9s_1 + ',
|
|
2239
|
+
return 'SwapCardsTransition(id=' + this.u9s_1 + ', fromCard1=' + this.v9s_1.toString() + ', toCard1=' + this.w9s_1.toString() + ', fromCard2=' + this.x9s_1.toString() + ', toCard2=' + this.y9s_1.toString() + ')';
|
|
2239
2240
|
};
|
|
2240
2241
|
protoOf(SwapCardsTransition).hashCode = function () {
|
|
2241
2242
|
var result = getStringHashCode(this.u9s_1);
|
|
@@ -2317,14 +2318,14 @@
|
|
|
2317
2318
|
return false;
|
|
2318
2319
|
return true;
|
|
2319
2320
|
};
|
|
2320
|
-
function CardInHandTransition(mode, index,
|
|
2321
|
+
function CardInHandTransition(mode, index, fromCard, toCard) {
|
|
2321
2322
|
this.d9t_1 = mode;
|
|
2322
2323
|
this.e9t_1 = index;
|
|
2323
|
-
this.f9t_1 =
|
|
2324
|
-
this.g9t_1 =
|
|
2324
|
+
this.f9t_1 = fromCard;
|
|
2325
|
+
this.g9t_1 = toCard;
|
|
2325
2326
|
}
|
|
2326
2327
|
protoOf(CardInHandTransition).toString = function () {
|
|
2327
|
-
return 'CardInHandTransition(mode=' + this.d9t_1.toString() + ', index=' + this.e9t_1 + ',
|
|
2328
|
+
return 'CardInHandTransition(mode=' + this.d9t_1.toString() + ', index=' + this.e9t_1 + ', fromCard=' + this.f9t_1.toString() + ', toCard=' + this.g9t_1.toString() + ')';
|
|
2328
2329
|
};
|
|
2329
2330
|
protoOf(CardInHandTransition).hashCode = function () {
|
|
2330
2331
|
var result = this.d9t_1.hashCode();
|
|
@@ -4253,10 +4254,16 @@
|
|
|
4253
4254
|
// Inline function 'org.kodein.di.instance' call
|
|
4254
4255
|
var tmp_2 = $this$provider.c63();
|
|
4255
4256
|
// Inline function 'org.kodein.type.generic' call
|
|
4256
|
-
var tmp_3 = typeToken(createKType(getKClass(
|
|
4257
|
+
var tmp_3 = typeToken(createKType(getKClass(PlayerHandSelector), arrayOf([]), false));
|
|
4257
4258
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
4258
|
-
var
|
|
4259
|
-
|
|
4259
|
+
var tmp_4 = tmp_2.b63(tmp$ret$2, null);
|
|
4260
|
+
// Inline function 'org.kodein.di.instance' call
|
|
4261
|
+
var tmp_5 = $this$provider.c63();
|
|
4262
|
+
// Inline function 'org.kodein.type.generic' call
|
|
4263
|
+
var tmp_6 = typeToken(createKType(getKClass(ProgressContract), arrayOf([]), false));
|
|
4264
|
+
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4265
|
+
var tmp$ret$5 = tmp_5.b63(tmp$ret$4, null);
|
|
4266
|
+
return new EarnPointsSceneContractImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
4260
4267
|
}
|
|
4261
4268
|
function clientScenesDIModule$lambda$lambda_7($this$provider) {
|
|
4262
4269
|
_init_properties_DI_kt__lm8vuj();
|
|
@@ -11023,9 +11030,10 @@
|
|
|
11023
11030
|
protoOf(SceneActionsContractImpl).oar = function () {
|
|
11024
11031
|
return this.fb3_1;
|
|
11025
11032
|
};
|
|
11026
|
-
function EarnPointsSceneContractImpl(gameClient, progressContract) {
|
|
11033
|
+
function EarnPointsSceneContractImpl(gameClient, playerHandSelector, progressContract) {
|
|
11027
11034
|
this.gb3_1 = progressContract;
|
|
11028
11035
|
this.hb3_1 = gameClient;
|
|
11036
|
+
this.ib3_1 = playerHandSelector;
|
|
11029
11037
|
}
|
|
11030
11038
|
protoOf(EarnPointsSceneContractImpl).oar = function () {
|
|
11031
11039
|
return this.hb3_1;
|
|
@@ -11037,35 +11045,35 @@
|
|
|
11037
11045
|
return Companion_instance_12;
|
|
11038
11046
|
}
|
|
11039
11047
|
function TableSceneContractImpl(gameClient, progressContract, playerHandSelector) {
|
|
11040
|
-
this.
|
|
11041
|
-
this.
|
|
11042
|
-
this.
|
|
11048
|
+
this.jb3_1 = gameClient;
|
|
11049
|
+
this.kb3_1 = progressContract;
|
|
11050
|
+
this.lb3_1 = playerHandSelector;
|
|
11043
11051
|
}
|
|
11044
11052
|
protoOf(TableSceneContractImpl).oar = function () {
|
|
11045
|
-
return this.
|
|
11053
|
+
return this.jb3_1;
|
|
11046
11054
|
};
|
|
11047
11055
|
function TradeSceneContractImpl(gameClient, messageFactory, playerTurnTagProvider) {
|
|
11048
|
-
this.
|
|
11049
|
-
this.
|
|
11050
|
-
this.
|
|
11056
|
+
this.mb3_1 = gameClient;
|
|
11057
|
+
this.nb3_1 = messageFactory;
|
|
11058
|
+
this.ob3_1 = playerTurnTagProvider;
|
|
11051
11059
|
}
|
|
11052
11060
|
protoOf(TradeSceneContractImpl).oar = function () {
|
|
11053
|
-
return this.
|
|
11061
|
+
return this.mb3_1;
|
|
11054
11062
|
};
|
|
11055
11063
|
function BufferLifecycleAction() {
|
|
11056
11064
|
}
|
|
11057
11065
|
function AddToBufferAction(bufferedAction, reason) {
|
|
11058
11066
|
reason = reason === VOID ? null : reason;
|
|
11059
11067
|
BufferLifecycleAction.call(this);
|
|
11060
|
-
this.
|
|
11061
|
-
this.
|
|
11068
|
+
this.pb3_1 = bufferedAction;
|
|
11069
|
+
this.qb3_1 = reason;
|
|
11062
11070
|
}
|
|
11063
11071
|
protoOf(AddToBufferAction).toString = function () {
|
|
11064
|
-
return 'AddToBufferAction(action=' + parseActionName(this.
|
|
11072
|
+
return 'AddToBufferAction(action=' + parseActionName(this.pb3_1) + ', reason=' + this.qb3_1 + ')';
|
|
11065
11073
|
};
|
|
11066
11074
|
protoOf(AddToBufferAction).hashCode = function () {
|
|
11067
|
-
var result = hashCode(this.
|
|
11068
|
-
result = imul(result, 31) + (this.
|
|
11075
|
+
var result = hashCode(this.pb3_1);
|
|
11076
|
+
result = imul(result, 31) + (this.qb3_1 == null ? 0 : getStringHashCode(this.qb3_1)) | 0;
|
|
11069
11077
|
return result;
|
|
11070
11078
|
};
|
|
11071
11079
|
protoOf(AddToBufferAction).equals = function (other) {
|
|
@@ -11074,21 +11082,21 @@
|
|
|
11074
11082
|
if (!(other instanceof AddToBufferAction))
|
|
11075
11083
|
return false;
|
|
11076
11084
|
var tmp0_other_with_cast = other instanceof AddToBufferAction ? other : THROW_CCE();
|
|
11077
|
-
if (!equals(this.
|
|
11085
|
+
if (!equals(this.pb3_1, tmp0_other_with_cast.pb3_1))
|
|
11078
11086
|
return false;
|
|
11079
|
-
if (!(this.
|
|
11087
|
+
if (!(this.qb3_1 == tmp0_other_with_cast.qb3_1))
|
|
11080
11088
|
return false;
|
|
11081
11089
|
return true;
|
|
11082
11090
|
};
|
|
11083
11091
|
function ReleaseBufferAction(count) {
|
|
11084
11092
|
BufferLifecycleAction.call(this);
|
|
11085
|
-
this.
|
|
11093
|
+
this.rb3_1 = count;
|
|
11086
11094
|
}
|
|
11087
11095
|
protoOf(ReleaseBufferAction).toString = function () {
|
|
11088
|
-
return 'ReleaseBufferAction(count=' + this.
|
|
11096
|
+
return 'ReleaseBufferAction(count=' + this.rb3_1 + ')';
|
|
11089
11097
|
};
|
|
11090
11098
|
protoOf(ReleaseBufferAction).hashCode = function () {
|
|
11091
|
-
return this.
|
|
11099
|
+
return this.rb3_1;
|
|
11092
11100
|
};
|
|
11093
11101
|
protoOf(ReleaseBufferAction).equals = function (other) {
|
|
11094
11102
|
if (this === other)
|
|
@@ -11096,7 +11104,7 @@
|
|
|
11096
11104
|
if (!(other instanceof ReleaseBufferAction))
|
|
11097
11105
|
return false;
|
|
11098
11106
|
var tmp0_other_with_cast = other instanceof ReleaseBufferAction ? other : THROW_CCE();
|
|
11099
|
-
if (!(this.
|
|
11107
|
+
if (!(this.rb3_1 === tmp0_other_with_cast.rb3_1))
|
|
11100
11108
|
return false;
|
|
11101
11109
|
return true;
|
|
11102
11110
|
};
|
|
@@ -11104,13 +11112,13 @@
|
|
|
11104
11112
|
}
|
|
11105
11113
|
function TutorialPassedAction(skipped) {
|
|
11106
11114
|
ClientAction.call(this);
|
|
11107
|
-
this.
|
|
11115
|
+
this.sb3_1 = skipped;
|
|
11108
11116
|
}
|
|
11109
11117
|
protoOf(TutorialPassedAction).toString = function () {
|
|
11110
|
-
return 'TutorialPassedAction(skipped=' + this.
|
|
11118
|
+
return 'TutorialPassedAction(skipped=' + this.sb3_1 + ')';
|
|
11111
11119
|
};
|
|
11112
11120
|
protoOf(TutorialPassedAction).hashCode = function () {
|
|
11113
|
-
return getBooleanHashCode(this.
|
|
11121
|
+
return getBooleanHashCode(this.sb3_1);
|
|
11114
11122
|
};
|
|
11115
11123
|
protoOf(TutorialPassedAction).equals = function (other) {
|
|
11116
11124
|
if (this === other)
|
|
@@ -11118,19 +11126,19 @@
|
|
|
11118
11126
|
if (!(other instanceof TutorialPassedAction))
|
|
11119
11127
|
return false;
|
|
11120
11128
|
var tmp0_other_with_cast = other instanceof TutorialPassedAction ? other : THROW_CCE();
|
|
11121
|
-
if (!(this.
|
|
11129
|
+
if (!(this.sb3_1 === tmp0_other_with_cast.sb3_1))
|
|
11122
11130
|
return false;
|
|
11123
11131
|
return true;
|
|
11124
11132
|
};
|
|
11125
11133
|
function SwitchChatAction(open) {
|
|
11126
11134
|
ClientAction.call(this);
|
|
11127
|
-
this.
|
|
11135
|
+
this.tb3_1 = open;
|
|
11128
11136
|
}
|
|
11129
11137
|
protoOf(SwitchChatAction).toString = function () {
|
|
11130
|
-
return 'SwitchChatAction(open=' + this.
|
|
11138
|
+
return 'SwitchChatAction(open=' + this.tb3_1 + ')';
|
|
11131
11139
|
};
|
|
11132
11140
|
protoOf(SwitchChatAction).hashCode = function () {
|
|
11133
|
-
return getBooleanHashCode(this.
|
|
11141
|
+
return getBooleanHashCode(this.tb3_1);
|
|
11134
11142
|
};
|
|
11135
11143
|
protoOf(SwitchChatAction).equals = function (other) {
|
|
11136
11144
|
if (this === other)
|
|
@@ -11138,19 +11146,19 @@
|
|
|
11138
11146
|
if (!(other instanceof SwitchChatAction))
|
|
11139
11147
|
return false;
|
|
11140
11148
|
var tmp0_other_with_cast = other instanceof SwitchChatAction ? other : THROW_CCE();
|
|
11141
|
-
if (!(this.
|
|
11149
|
+
if (!(this.tb3_1 === tmp0_other_with_cast.tb3_1))
|
|
11142
11150
|
return false;
|
|
11143
11151
|
return true;
|
|
11144
11152
|
};
|
|
11145
11153
|
function SwitchSettingAction(open) {
|
|
11146
11154
|
ClientAction.call(this);
|
|
11147
|
-
this.
|
|
11155
|
+
this.ub3_1 = open;
|
|
11148
11156
|
}
|
|
11149
11157
|
protoOf(SwitchSettingAction).toString = function () {
|
|
11150
|
-
return 'SwitchSettingAction(open=' + this.
|
|
11158
|
+
return 'SwitchSettingAction(open=' + this.ub3_1 + ')';
|
|
11151
11159
|
};
|
|
11152
11160
|
protoOf(SwitchSettingAction).hashCode = function () {
|
|
11153
|
-
return getBooleanHashCode(this.
|
|
11161
|
+
return getBooleanHashCode(this.ub3_1);
|
|
11154
11162
|
};
|
|
11155
11163
|
protoOf(SwitchSettingAction).equals = function (other) {
|
|
11156
11164
|
if (this === other)
|
|
@@ -11158,19 +11166,19 @@
|
|
|
11158
11166
|
if (!(other instanceof SwitchSettingAction))
|
|
11159
11167
|
return false;
|
|
11160
11168
|
var tmp0_other_with_cast = other instanceof SwitchSettingAction ? other : THROW_CCE();
|
|
11161
|
-
if (!(this.
|
|
11169
|
+
if (!(this.ub3_1 === tmp0_other_with_cast.ub3_1))
|
|
11162
11170
|
return false;
|
|
11163
11171
|
return true;
|
|
11164
11172
|
};
|
|
11165
11173
|
function SwitchLastBribeAction(open) {
|
|
11166
11174
|
ClientAction.call(this);
|
|
11167
|
-
this.
|
|
11175
|
+
this.vb3_1 = open;
|
|
11168
11176
|
}
|
|
11169
11177
|
protoOf(SwitchLastBribeAction).toString = function () {
|
|
11170
|
-
return 'SwitchLastBribeAction(open=' + this.
|
|
11178
|
+
return 'SwitchLastBribeAction(open=' + this.vb3_1 + ')';
|
|
11171
11179
|
};
|
|
11172
11180
|
protoOf(SwitchLastBribeAction).hashCode = function () {
|
|
11173
|
-
return getBooleanHashCode(this.
|
|
11181
|
+
return getBooleanHashCode(this.vb3_1);
|
|
11174
11182
|
};
|
|
11175
11183
|
protoOf(SwitchLastBribeAction).equals = function (other) {
|
|
11176
11184
|
if (this === other)
|
|
@@ -11178,19 +11186,19 @@
|
|
|
11178
11186
|
if (!(other instanceof SwitchLastBribeAction))
|
|
11179
11187
|
return false;
|
|
11180
11188
|
var tmp0_other_with_cast = other instanceof SwitchLastBribeAction ? other : THROW_CCE();
|
|
11181
|
-
if (!(this.
|
|
11189
|
+
if (!(this.vb3_1 === tmp0_other_with_cast.vb3_1))
|
|
11182
11190
|
return false;
|
|
11183
11191
|
return true;
|
|
11184
11192
|
};
|
|
11185
11193
|
function SwitchGameInfoAction(open) {
|
|
11186
11194
|
ClientAction.call(this);
|
|
11187
|
-
this.
|
|
11195
|
+
this.wb3_1 = open;
|
|
11188
11196
|
}
|
|
11189
11197
|
protoOf(SwitchGameInfoAction).toString = function () {
|
|
11190
|
-
return 'SwitchGameInfoAction(open=' + this.
|
|
11198
|
+
return 'SwitchGameInfoAction(open=' + this.wb3_1 + ')';
|
|
11191
11199
|
};
|
|
11192
11200
|
protoOf(SwitchGameInfoAction).hashCode = function () {
|
|
11193
|
-
return getBooleanHashCode(this.
|
|
11201
|
+
return getBooleanHashCode(this.wb3_1);
|
|
11194
11202
|
};
|
|
11195
11203
|
protoOf(SwitchGameInfoAction).equals = function (other) {
|
|
11196
11204
|
if (this === other)
|
|
@@ -11198,7 +11206,7 @@
|
|
|
11198
11206
|
if (!(other instanceof SwitchGameInfoAction))
|
|
11199
11207
|
return false;
|
|
11200
11208
|
var tmp0_other_with_cast = other instanceof SwitchGameInfoAction ? other : THROW_CCE();
|
|
11201
|
-
if (!(this.
|
|
11209
|
+
if (!(this.wb3_1 === tmp0_other_with_cast.wb3_1))
|
|
11202
11210
|
return false;
|
|
11203
11211
|
return true;
|
|
11204
11212
|
};
|
|
@@ -11206,13 +11214,13 @@
|
|
|
11206
11214
|
}
|
|
11207
11215
|
function ForegroundAction(isForeground) {
|
|
11208
11216
|
ClientAction.call(this);
|
|
11209
|
-
this.
|
|
11217
|
+
this.xb3_1 = isForeground;
|
|
11210
11218
|
}
|
|
11211
11219
|
protoOf(ForegroundAction).toString = function () {
|
|
11212
|
-
return 'ForegroundAction(isForeground=' + this.
|
|
11220
|
+
return 'ForegroundAction(isForeground=' + this.xb3_1 + ')';
|
|
11213
11221
|
};
|
|
11214
11222
|
protoOf(ForegroundAction).hashCode = function () {
|
|
11215
|
-
return getBooleanHashCode(this.
|
|
11223
|
+
return getBooleanHashCode(this.xb3_1);
|
|
11216
11224
|
};
|
|
11217
11225
|
protoOf(ForegroundAction).equals = function (other) {
|
|
11218
11226
|
if (this === other)
|
|
@@ -11220,7 +11228,7 @@
|
|
|
11220
11228
|
if (!(other instanceof ForegroundAction))
|
|
11221
11229
|
return false;
|
|
11222
11230
|
var tmp0_other_with_cast = other instanceof ForegroundAction ? other : THROW_CCE();
|
|
11223
|
-
if (!(this.
|
|
11231
|
+
if (!(this.xb3_1 === tmp0_other_with_cast.xb3_1))
|
|
11224
11232
|
return false;
|
|
11225
11233
|
return true;
|
|
11226
11234
|
};
|
|
@@ -11246,13 +11254,13 @@
|
|
|
11246
11254
|
};
|
|
11247
11255
|
function InitClientStateAction(clientConfig) {
|
|
11248
11256
|
ClientAction.call(this);
|
|
11249
|
-
this.
|
|
11257
|
+
this.yb3_1 = clientConfig;
|
|
11250
11258
|
}
|
|
11251
11259
|
protoOf(InitClientStateAction).toString = function () {
|
|
11252
|
-
return 'InitClientStateAction(clientConfig=' + this.
|
|
11260
|
+
return 'InitClientStateAction(clientConfig=' + this.yb3_1.toString() + ')';
|
|
11253
11261
|
};
|
|
11254
11262
|
protoOf(InitClientStateAction).hashCode = function () {
|
|
11255
|
-
return this.
|
|
11263
|
+
return this.yb3_1.hashCode();
|
|
11256
11264
|
};
|
|
11257
11265
|
protoOf(InitClientStateAction).equals = function (other) {
|
|
11258
11266
|
if (this === other)
|
|
@@ -11260,27 +11268,27 @@
|
|
|
11260
11268
|
if (!(other instanceof InitClientStateAction))
|
|
11261
11269
|
return false;
|
|
11262
11270
|
var tmp0_other_with_cast = other instanceof InitClientStateAction ? other : THROW_CCE();
|
|
11263
|
-
if (!this.
|
|
11271
|
+
if (!this.yb3_1.equals(tmp0_other_with_cast.yb3_1))
|
|
11264
11272
|
return false;
|
|
11265
11273
|
return true;
|
|
11266
11274
|
};
|
|
11267
11275
|
function UpdateConfigAction(clientConfig, options, rulesSetType, rules, users) {
|
|
11268
11276
|
ClientAction.call(this);
|
|
11269
|
-
this.
|
|
11270
|
-
this.
|
|
11271
|
-
this.
|
|
11272
|
-
this.
|
|
11273
|
-
this.
|
|
11277
|
+
this.zb3_1 = clientConfig;
|
|
11278
|
+
this.ab4_1 = options;
|
|
11279
|
+
this.bb4_1 = rulesSetType;
|
|
11280
|
+
this.cb4_1 = rules;
|
|
11281
|
+
this.db4_1 = users;
|
|
11274
11282
|
}
|
|
11275
11283
|
protoOf(UpdateConfigAction).toString = function () {
|
|
11276
|
-
return 'UpdateConfigAction(clientConfig=' + toString_0(this.
|
|
11284
|
+
return 'UpdateConfigAction(clientConfig=' + toString_0(this.zb3_1) + ', options=' + toString_0(this.ab4_1) + ', rulesSetType=' + toString_0(this.bb4_1) + ', rules=' + toString_0(this.cb4_1) + ', users=' + toString_0(this.db4_1) + ')';
|
|
11277
11285
|
};
|
|
11278
11286
|
protoOf(UpdateConfigAction).hashCode = function () {
|
|
11279
|
-
var result = this.
|
|
11280
|
-
result = imul(result, 31) + (this.zb3_1 == null ? 0 : this.zb3_1.hashCode()) | 0;
|
|
11287
|
+
var result = this.zb3_1 == null ? 0 : this.zb3_1.hashCode();
|
|
11281
11288
|
result = imul(result, 31) + (this.ab4_1 == null ? 0 : this.ab4_1.hashCode()) | 0;
|
|
11282
11289
|
result = imul(result, 31) + (this.bb4_1 == null ? 0 : this.bb4_1.hashCode()) | 0;
|
|
11283
|
-
result = imul(result, 31) + (this.cb4_1 == null ? 0 :
|
|
11290
|
+
result = imul(result, 31) + (this.cb4_1 == null ? 0 : this.cb4_1.hashCode()) | 0;
|
|
11291
|
+
result = imul(result, 31) + (this.db4_1 == null ? 0 : hashCode(this.db4_1)) | 0;
|
|
11284
11292
|
return result;
|
|
11285
11293
|
};
|
|
11286
11294
|
protoOf(UpdateConfigAction).equals = function (other) {
|
|
@@ -11289,8 +11297,6 @@
|
|
|
11289
11297
|
if (!(other instanceof UpdateConfigAction))
|
|
11290
11298
|
return false;
|
|
11291
11299
|
var tmp0_other_with_cast = other instanceof UpdateConfigAction ? other : THROW_CCE();
|
|
11292
|
-
if (!equals(this.yb3_1, tmp0_other_with_cast.yb3_1))
|
|
11293
|
-
return false;
|
|
11294
11300
|
if (!equals(this.zb3_1, tmp0_other_with_cast.zb3_1))
|
|
11295
11301
|
return false;
|
|
11296
11302
|
if (!equals(this.ab4_1, tmp0_other_with_cast.ab4_1))
|
|
@@ -11299,17 +11305,19 @@
|
|
|
11299
11305
|
return false;
|
|
11300
11306
|
if (!equals(this.cb4_1, tmp0_other_with_cast.cb4_1))
|
|
11301
11307
|
return false;
|
|
11308
|
+
if (!equals(this.db4_1, tmp0_other_with_cast.db4_1))
|
|
11309
|
+
return false;
|
|
11302
11310
|
return true;
|
|
11303
11311
|
};
|
|
11304
11312
|
function ClientMessageAction(message) {
|
|
11305
11313
|
ClientAction.call(this);
|
|
11306
|
-
this.
|
|
11314
|
+
this.eb4_1 = message;
|
|
11307
11315
|
}
|
|
11308
11316
|
protoOf(ClientMessageAction).toString = function () {
|
|
11309
|
-
return 'ClientMessageAction(message=' + toString(this.
|
|
11317
|
+
return 'ClientMessageAction(message=' + toString(this.eb4_1) + ')';
|
|
11310
11318
|
};
|
|
11311
11319
|
protoOf(ClientMessageAction).hashCode = function () {
|
|
11312
|
-
return hashCode(this.
|
|
11320
|
+
return hashCode(this.eb4_1);
|
|
11313
11321
|
};
|
|
11314
11322
|
protoOf(ClientMessageAction).equals = function (other) {
|
|
11315
11323
|
if (this === other)
|
|
@@ -11317,7 +11325,7 @@
|
|
|
11317
11325
|
if (!(other instanceof ClientMessageAction))
|
|
11318
11326
|
return false;
|
|
11319
11327
|
var tmp0_other_with_cast = other instanceof ClientMessageAction ? other : THROW_CCE();
|
|
11320
|
-
if (!equals(this.
|
|
11328
|
+
if (!equals(this.eb4_1, tmp0_other_with_cast.eb4_1))
|
|
11321
11329
|
return false;
|
|
11322
11330
|
return true;
|
|
11323
11331
|
};
|
|
@@ -11325,17 +11333,17 @@
|
|
|
11325
11333
|
acceptedCombinations = acceptedCombinations === VOID ? null : acceptedCombinations;
|
|
11326
11334
|
declinedCombinations = declinedCombinations === VOID ? null : declinedCombinations;
|
|
11327
11335
|
ClientAction.call(this);
|
|
11328
|
-
this.
|
|
11329
|
-
this.
|
|
11330
|
-
this.
|
|
11336
|
+
this.fb4_1 = processingCard;
|
|
11337
|
+
this.gb4_1 = acceptedCombinations;
|
|
11338
|
+
this.hb4_1 = declinedCombinations;
|
|
11331
11339
|
}
|
|
11332
11340
|
protoOf(PutCardAndCheckCombinationsAction).toString = function () {
|
|
11333
|
-
return 'PutCardAndCheckCombinationsAction(processingCard=' + this.
|
|
11341
|
+
return 'PutCardAndCheckCombinationsAction(processingCard=' + this.fb4_1.toString() + ', acceptedCombinations=' + toString_0(this.gb4_1) + ', declinedCombinations=' + toString_0(this.hb4_1) + ')';
|
|
11334
11342
|
};
|
|
11335
11343
|
protoOf(PutCardAndCheckCombinationsAction).hashCode = function () {
|
|
11336
|
-
var result = this.
|
|
11337
|
-
result = imul(result, 31) + (this.fb4_1 == null ? 0 : hashCode(this.fb4_1)) | 0;
|
|
11344
|
+
var result = this.fb4_1.hashCode();
|
|
11338
11345
|
result = imul(result, 31) + (this.gb4_1 == null ? 0 : hashCode(this.gb4_1)) | 0;
|
|
11346
|
+
result = imul(result, 31) + (this.hb4_1 == null ? 0 : hashCode(this.hb4_1)) | 0;
|
|
11339
11347
|
return result;
|
|
11340
11348
|
};
|
|
11341
11349
|
protoOf(PutCardAndCheckCombinationsAction).equals = function (other) {
|
|
@@ -11344,25 +11352,25 @@
|
|
|
11344
11352
|
if (!(other instanceof PutCardAndCheckCombinationsAction))
|
|
11345
11353
|
return false;
|
|
11346
11354
|
var tmp0_other_with_cast = other instanceof PutCardAndCheckCombinationsAction ? other : THROW_CCE();
|
|
11347
|
-
if (!this.
|
|
11348
|
-
return false;
|
|
11349
|
-
if (!equals(this.fb4_1, tmp0_other_with_cast.fb4_1))
|
|
11355
|
+
if (!this.fb4_1.equals(tmp0_other_with_cast.fb4_1))
|
|
11350
11356
|
return false;
|
|
11351
11357
|
if (!equals(this.gb4_1, tmp0_other_with_cast.gb4_1))
|
|
11352
11358
|
return false;
|
|
11359
|
+
if (!equals(this.hb4_1, tmp0_other_with_cast.hb4_1))
|
|
11360
|
+
return false;
|
|
11353
11361
|
return true;
|
|
11354
11362
|
};
|
|
11355
11363
|
function DisabledCardAction() {
|
|
11356
11364
|
}
|
|
11357
11365
|
function InfoMessageAction(message) {
|
|
11358
11366
|
ClientAction.call(this);
|
|
11359
|
-
this.
|
|
11367
|
+
this.ib4_1 = message;
|
|
11360
11368
|
}
|
|
11361
11369
|
protoOf(InfoMessageAction).toString = function () {
|
|
11362
|
-
return 'InfoMessageAction(message=' + toString_0(this.
|
|
11370
|
+
return 'InfoMessageAction(message=' + toString_0(this.ib4_1) + ')';
|
|
11363
11371
|
};
|
|
11364
11372
|
protoOf(InfoMessageAction).hashCode = function () {
|
|
11365
|
-
return this.
|
|
11373
|
+
return this.ib4_1 == null ? 0 : hashCode(this.ib4_1);
|
|
11366
11374
|
};
|
|
11367
11375
|
protoOf(InfoMessageAction).equals = function (other) {
|
|
11368
11376
|
if (this === other)
|
|
@@ -11370,7 +11378,7 @@
|
|
|
11370
11378
|
if (!(other instanceof InfoMessageAction))
|
|
11371
11379
|
return false;
|
|
11372
11380
|
var tmp0_other_with_cast = other instanceof InfoMessageAction ? other : THROW_CCE();
|
|
11373
|
-
if (!equals(this.
|
|
11381
|
+
if (!equals(this.ib4_1, tmp0_other_with_cast.ib4_1))
|
|
11374
11382
|
return false;
|
|
11375
11383
|
return true;
|
|
11376
11384
|
};
|
|
@@ -11380,17 +11388,17 @@
|
|
|
11380
11388
|
acceptedCombinations = acceptedCombinations === VOID ? null : acceptedCombinations;
|
|
11381
11389
|
declinedCombinations = declinedCombinations === VOID ? null : declinedCombinations;
|
|
11382
11390
|
ClientAction.call(this);
|
|
11383
|
-
this.
|
|
11384
|
-
this.
|
|
11385
|
-
this.
|
|
11391
|
+
this.jb4_1 = combinations;
|
|
11392
|
+
this.kb4_1 = acceptedCombinations;
|
|
11393
|
+
this.lb4_1 = declinedCombinations;
|
|
11386
11394
|
}
|
|
11387
11395
|
protoOf(CombinationToAnnounceAction).toString = function () {
|
|
11388
|
-
return 'CombinationToAnnounceAction(combinations=' + toString(this.
|
|
11396
|
+
return 'CombinationToAnnounceAction(combinations=' + toString(this.jb4_1) + ', acceptedCombinations=' + toString_0(this.kb4_1) + ', declinedCombinations=' + toString_0(this.lb4_1) + ')';
|
|
11389
11397
|
};
|
|
11390
11398
|
protoOf(CombinationToAnnounceAction).hashCode = function () {
|
|
11391
|
-
var result = hashCode(this.
|
|
11392
|
-
result = imul(result, 31) + (this.jb4_1 == null ? 0 : hashCode(this.jb4_1)) | 0;
|
|
11399
|
+
var result = hashCode(this.jb4_1);
|
|
11393
11400
|
result = imul(result, 31) + (this.kb4_1 == null ? 0 : hashCode(this.kb4_1)) | 0;
|
|
11401
|
+
result = imul(result, 31) + (this.lb4_1 == null ? 0 : hashCode(this.lb4_1)) | 0;
|
|
11394
11402
|
return result;
|
|
11395
11403
|
};
|
|
11396
11404
|
protoOf(CombinationToAnnounceAction).equals = function (other) {
|
|
@@ -11399,12 +11407,12 @@
|
|
|
11399
11407
|
if (!(other instanceof CombinationToAnnounceAction))
|
|
11400
11408
|
return false;
|
|
11401
11409
|
var tmp0_other_with_cast = other instanceof CombinationToAnnounceAction ? other : THROW_CCE();
|
|
11402
|
-
if (!equals(this.ib4_1, tmp0_other_with_cast.ib4_1))
|
|
11403
|
-
return false;
|
|
11404
11410
|
if (!equals(this.jb4_1, tmp0_other_with_cast.jb4_1))
|
|
11405
11411
|
return false;
|
|
11406
11412
|
if (!equals(this.kb4_1, tmp0_other_with_cast.kb4_1))
|
|
11407
11413
|
return false;
|
|
11414
|
+
if (!equals(this.lb4_1, tmp0_other_with_cast.lb4_1))
|
|
11415
|
+
return false;
|
|
11408
11416
|
return true;
|
|
11409
11417
|
};
|
|
11410
11418
|
function AnnouncedCombinationAction() {
|
|
@@ -11439,13 +11447,13 @@
|
|
|
11439
11447
|
}
|
|
11440
11448
|
function ExpectantCreatedClientAction(expectant) {
|
|
11441
11449
|
ExpectantLifecycleAction.call(this);
|
|
11442
|
-
this.
|
|
11450
|
+
this.mb4_1 = expectant;
|
|
11443
11451
|
}
|
|
11444
11452
|
protoOf(ExpectantCreatedClientAction).toString = function () {
|
|
11445
|
-
return 'ExpectantCreatedClientAction(id: ' + this.
|
|
11453
|
+
return 'ExpectantCreatedClientAction(id: ' + this.mb4_1.j9w_1 + ', expectant=' + parseActionName(this.mb4_1.k9w_1) + ')';
|
|
11446
11454
|
};
|
|
11447
11455
|
protoOf(ExpectantCreatedClientAction).hashCode = function () {
|
|
11448
|
-
return this.
|
|
11456
|
+
return this.mb4_1.hashCode();
|
|
11449
11457
|
};
|
|
11450
11458
|
protoOf(ExpectantCreatedClientAction).equals = function (other) {
|
|
11451
11459
|
if (this === other)
|
|
@@ -11453,14 +11461,14 @@
|
|
|
11453
11461
|
if (!(other instanceof ExpectantCreatedClientAction))
|
|
11454
11462
|
return false;
|
|
11455
11463
|
var tmp0_other_with_cast = other instanceof ExpectantCreatedClientAction ? other : THROW_CCE();
|
|
11456
|
-
if (!this.
|
|
11464
|
+
if (!this.mb4_1.equals(tmp0_other_with_cast.mb4_1))
|
|
11457
11465
|
return false;
|
|
11458
11466
|
return true;
|
|
11459
11467
|
};
|
|
11460
11468
|
function ExpectantStageCompletedClientAction() {
|
|
11461
11469
|
}
|
|
11462
11470
|
protoOf(ExpectantStageCompletedClientAction).toString = function () {
|
|
11463
|
-
return 'ExpectantStageCompletedClientAction(expectantId=' + this.
|
|
11471
|
+
return 'ExpectantStageCompletedClientAction(expectantId=' + this.nb4_1 + ')';
|
|
11464
11472
|
};
|
|
11465
11473
|
function ExpectantTimerFinishedClientAction(expectantId) {
|
|
11466
11474
|
ExpectantLifecycleAction.call(this);
|
|
@@ -11483,84 +11491,84 @@
|
|
|
11483
11491
|
return true;
|
|
11484
11492
|
};
|
|
11485
11493
|
function _get_messageFactory__6vg0vc($this) {
|
|
11486
|
-
var tmp0 = $this.
|
|
11494
|
+
var tmp0 = $this.qb4_1;
|
|
11487
11495
|
var tmp = KProperty1;
|
|
11488
11496
|
// Inline function 'kotlin.getValue' call
|
|
11489
11497
|
getPropertyCallableRef('messageFactory', 1, tmp, ClientCommonStoreContract$_get_messageFactory_$ref_wf2zvi_0(), null);
|
|
11490
11498
|
return tmp0.u();
|
|
11491
11499
|
}
|
|
11492
11500
|
function _get_bufferInteractor__bbjsb2_0($this) {
|
|
11493
|
-
var tmp0 = $this.
|
|
11501
|
+
var tmp0 = $this.rb4_1;
|
|
11494
11502
|
var tmp = KProperty1;
|
|
11495
11503
|
// Inline function 'kotlin.getValue' call
|
|
11496
11504
|
getPropertyCallableRef('bufferInteractor', 1, tmp, ClientCommonStoreContract$_get_bufferInteractor_$ref_m25ons_0(), null);
|
|
11497
11505
|
return tmp0.u();
|
|
11498
11506
|
}
|
|
11499
11507
|
function _get_combinationProvider__3gs1n3($this) {
|
|
11500
|
-
var tmp0 = $this.
|
|
11508
|
+
var tmp0 = $this.sb4_1;
|
|
11501
11509
|
var tmp = KProperty1;
|
|
11502
11510
|
// Inline function 'kotlin.getValue' call
|
|
11503
11511
|
getPropertyCallableRef('combinationProvider', 1, tmp, ClientCommonStoreContract$_get_combinationProvider_$ref_raagqv_0(), null);
|
|
11504
11512
|
return tmp0.u();
|
|
11505
11513
|
}
|
|
11506
11514
|
function _get_playerTurnTagProvider__7cizx8($this) {
|
|
11507
|
-
var tmp0 = $this.
|
|
11515
|
+
var tmp0 = $this.tb4_1;
|
|
11508
11516
|
var tmp = KProperty1;
|
|
11509
11517
|
// Inline function 'kotlin.getValue' call
|
|
11510
11518
|
getPropertyCallableRef('playerTurnTagProvider', 1, tmp, ClientCommonStoreContract$_get_playerTurnTagProvider_$ref_dfh23w_0(), null);
|
|
11511
11519
|
return tmp0.u();
|
|
11512
11520
|
}
|
|
11513
11521
|
function _get_cardValidatorInteractor__u3zq3u($this) {
|
|
11514
|
-
var tmp0 = $this.
|
|
11522
|
+
var tmp0 = $this.ub4_1;
|
|
11515
11523
|
var tmp = KProperty1;
|
|
11516
11524
|
// Inline function 'kotlin.getValue' call
|
|
11517
11525
|
getPropertyCallableRef('cardValidatorInteractor', 1, tmp, ClientCommonStoreContract$_get_cardValidatorInteractor_$ref_bmbj6_0(), null);
|
|
11518
11526
|
return tmp0.u();
|
|
11519
11527
|
}
|
|
11520
11528
|
function _get_clientLifecycleReducer__6ihp6m($this) {
|
|
11521
|
-
var tmp0 = $this.
|
|
11529
|
+
var tmp0 = $this.vb4_1;
|
|
11522
11530
|
var tmp = KProperty1;
|
|
11523
11531
|
// Inline function 'kotlin.getValue' call
|
|
11524
11532
|
getPropertyCallableRef('clientLifecycleReducer', 1, tmp, ClientCommonStoreContract$_get_clientLifecycleReducer_$ref_y6t378_0(), null);
|
|
11525
11533
|
return tmp0.u();
|
|
11526
11534
|
}
|
|
11527
11535
|
function _get_clientCombinationsReducer__u5899o($this) {
|
|
11528
|
-
var tmp0 = $this.
|
|
11536
|
+
var tmp0 = $this.wb4_1;
|
|
11529
11537
|
var tmp = KProperty1;
|
|
11530
11538
|
// Inline function 'kotlin.getValue' call
|
|
11531
11539
|
getPropertyCallableRef('clientCombinationsReducer', 1, tmp, ClientCommonStoreContract$_get_clientCombinationsReducer_$ref_b7sel8_0(), null);
|
|
11532
11540
|
return tmp0.u();
|
|
11533
11541
|
}
|
|
11534
11542
|
function _get_asyncProvider__jbpyhw($this) {
|
|
11535
|
-
var tmp0 = $this.
|
|
11543
|
+
var tmp0 = $this.xb4_1;
|
|
11536
11544
|
var tmp = KProperty1;
|
|
11537
11545
|
// Inline function 'kotlin.getValue' call
|
|
11538
11546
|
getPropertyCallableRef('asyncProvider', 1, tmp, ClientCommonStoreContract$_get_asyncProvider_$ref_dp7wt0_0(), null);
|
|
11539
11547
|
return tmp0.u();
|
|
11540
11548
|
}
|
|
11541
11549
|
function _get_gameClientConfig__xfscic_0($this) {
|
|
11542
|
-
var tmp0 = $this.
|
|
11550
|
+
var tmp0 = $this.yb4_1;
|
|
11543
11551
|
var tmp = KProperty1;
|
|
11544
11552
|
// Inline function 'kotlin.getValue' call
|
|
11545
11553
|
getPropertyCallableRef('gameClientConfig', 1, tmp, ClientCommonStoreContract$_get_gameClientConfig_$ref_hlbrfm_0(), null);
|
|
11546
11554
|
return tmp0.u();
|
|
11547
11555
|
}
|
|
11548
11556
|
function _get_logger__rkp4sl_0($this) {
|
|
11549
|
-
var tmp0 = $this.
|
|
11557
|
+
var tmp0 = $this.zb4_1;
|
|
11550
11558
|
var tmp = KProperty1;
|
|
11551
11559
|
// Inline function 'kotlin.getValue' call
|
|
11552
11560
|
getPropertyCallableRef('logger', 1, tmp, ClientCommonStoreContract$_get_logger_$ref_l18aq7_0(), null);
|
|
11553
11561
|
return tmp0.u();
|
|
11554
11562
|
}
|
|
11555
11563
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
11556
|
-
var tmp0 = $this.
|
|
11564
|
+
var tmp0 = $this.ab5_1;
|
|
11557
11565
|
var tmp = KProperty1;
|
|
11558
11566
|
// Inline function 'kotlin.getValue' call
|
|
11559
11567
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ClientCommonStoreContract$_get_scenePositionProvider_$ref_2mdnjn_0(), null);
|
|
11560
11568
|
return tmp0.u();
|
|
11561
11569
|
}
|
|
11562
11570
|
function _get_clientGameHistoryInteractor__6os8wx($this) {
|
|
11563
|
-
var tmp0 = $this.
|
|
11571
|
+
var tmp0 = $this.bb5_1;
|
|
11564
11572
|
var tmp = KProperty1;
|
|
11565
11573
|
// Inline function 'kotlin.getValue' call
|
|
11566
11574
|
getPropertyCallableRef('clientGameHistoryInteractor', 1, tmp, ClientCommonStoreContract$_get_clientGameHistoryInteractor_$ref_2ivcgn_0(), null);
|
|
@@ -11688,8 +11696,8 @@
|
|
|
11688
11696
|
}
|
|
11689
11697
|
function ClientCommonStoreContract(di, currentPlayerId, timersStoreContract) {
|
|
11690
11698
|
timersStoreContract = timersStoreContract === VOID ? new TimersStoreContract(di) : timersStoreContract;
|
|
11691
|
-
this.
|
|
11692
|
-
this.
|
|
11699
|
+
this.ob4_1 = currentPlayerId;
|
|
11700
|
+
this.pb4_1 = timersStoreContract;
|
|
11693
11701
|
var tmp = this;
|
|
11694
11702
|
// Inline function 'org.kodein.di.instance' call
|
|
11695
11703
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11697,7 +11705,7 @@
|
|
|
11697
11705
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
11698
11706
|
var tmp_1 = Instance(di, tmp$ret$0, null);
|
|
11699
11707
|
var tmp_2 = KProperty1;
|
|
11700
|
-
tmp.
|
|
11708
|
+
tmp.qb4_1 = tmp_1.k67(this, getPropertyCallableRef('messageFactory', 1, tmp_2, ClientCommonStoreContract$_get_messageFactory_$ref_wf2zvi(), null));
|
|
11701
11709
|
var tmp_3 = this;
|
|
11702
11710
|
// Inline function 'org.kodein.di.instance' call
|
|
11703
11711
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11705,7 +11713,7 @@
|
|
|
11705
11713
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
11706
11714
|
var tmp_5 = Instance(di, tmp$ret$2, null);
|
|
11707
11715
|
var tmp_6 = KProperty1;
|
|
11708
|
-
tmp_3.
|
|
11716
|
+
tmp_3.rb4_1 = tmp_5.k67(this, getPropertyCallableRef('bufferInteractor', 1, tmp_6, ClientCommonStoreContract$_get_bufferInteractor_$ref_m25ons(), null));
|
|
11709
11717
|
var tmp_7 = this;
|
|
11710
11718
|
// Inline function 'org.kodein.di.instance' call
|
|
11711
11719
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11713,7 +11721,7 @@
|
|
|
11713
11721
|
var tmp$ret$4 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
11714
11722
|
var tmp_9 = Instance(di, tmp$ret$4, null);
|
|
11715
11723
|
var tmp_10 = KProperty1;
|
|
11716
|
-
tmp_7.
|
|
11724
|
+
tmp_7.sb4_1 = tmp_9.k67(this, getPropertyCallableRef('combinationProvider', 1, tmp_10, ClientCommonStoreContract$_get_combinationProvider_$ref_raagqv(), null));
|
|
11717
11725
|
var tmp_11 = this;
|
|
11718
11726
|
// Inline function 'org.kodein.di.instance' call
|
|
11719
11727
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11721,7 +11729,7 @@
|
|
|
11721
11729
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
11722
11730
|
var tmp_13 = Instance(di, tmp$ret$6, null);
|
|
11723
11731
|
var tmp_14 = KProperty1;
|
|
11724
|
-
tmp_11.
|
|
11732
|
+
tmp_11.tb4_1 = tmp_13.k67(this, getPropertyCallableRef('playerTurnTagProvider', 1, tmp_14, ClientCommonStoreContract$_get_playerTurnTagProvider_$ref_dfh23w(), null));
|
|
11725
11733
|
var tmp_15 = this;
|
|
11726
11734
|
// Inline function 'org.kodein.di.instance' call
|
|
11727
11735
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11729,7 +11737,7 @@
|
|
|
11729
11737
|
var tmp$ret$8 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
11730
11738
|
var tmp_17 = Instance(di, tmp$ret$8, null);
|
|
11731
11739
|
var tmp_18 = KProperty1;
|
|
11732
|
-
tmp_15.
|
|
11740
|
+
tmp_15.ub4_1 = tmp_17.k67(this, getPropertyCallableRef('cardValidatorInteractor', 1, tmp_18, ClientCommonStoreContract$_get_cardValidatorInteractor_$ref_bmbj6(), null));
|
|
11733
11741
|
var tmp_19 = this;
|
|
11734
11742
|
// Inline function 'org.kodein.di.instance' call
|
|
11735
11743
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11737,7 +11745,7 @@
|
|
|
11737
11745
|
var tmp$ret$10 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
11738
11746
|
var tmp_21 = Instance(di, tmp$ret$10, null);
|
|
11739
11747
|
var tmp_22 = KProperty1;
|
|
11740
|
-
tmp_19.
|
|
11748
|
+
tmp_19.vb4_1 = tmp_21.k67(this, getPropertyCallableRef('clientLifecycleReducer', 1, tmp_22, ClientCommonStoreContract$_get_clientLifecycleReducer_$ref_y6t378(), null));
|
|
11741
11749
|
var tmp_23 = this;
|
|
11742
11750
|
// Inline function 'org.kodein.di.instance' call
|
|
11743
11751
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11745,7 +11753,7 @@
|
|
|
11745
11753
|
var tmp$ret$12 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
11746
11754
|
var tmp_25 = Instance(di, tmp$ret$12, null);
|
|
11747
11755
|
var tmp_26 = KProperty1;
|
|
11748
|
-
tmp_23.
|
|
11756
|
+
tmp_23.wb4_1 = tmp_25.k67(this, getPropertyCallableRef('clientCombinationsReducer', 1, tmp_26, ClientCommonStoreContract$_get_clientCombinationsReducer_$ref_b7sel8(), null));
|
|
11749
11757
|
var tmp_27 = this;
|
|
11750
11758
|
// Inline function 'org.kodein.di.instance' call
|
|
11751
11759
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11753,7 +11761,7 @@
|
|
|
11753
11761
|
var tmp$ret$14 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
|
|
11754
11762
|
var tmp_29 = Instance(di, tmp$ret$14, null);
|
|
11755
11763
|
var tmp_30 = KProperty1;
|
|
11756
|
-
tmp_27.
|
|
11764
|
+
tmp_27.xb4_1 = tmp_29.k67(this, getPropertyCallableRef('asyncProvider', 1, tmp_30, ClientCommonStoreContract$_get_asyncProvider_$ref_dp7wt0(), null));
|
|
11757
11765
|
var tmp_31 = this;
|
|
11758
11766
|
// Inline function 'org.kodein.di.instance' call
|
|
11759
11767
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11761,7 +11769,7 @@
|
|
|
11761
11769
|
var tmp$ret$16 = isInterface(tmp_32, TypeToken) ? tmp_32 : THROW_CCE();
|
|
11762
11770
|
var tmp_33 = Instance(di, tmp$ret$16, null);
|
|
11763
11771
|
var tmp_34 = KProperty1;
|
|
11764
|
-
tmp_31.
|
|
11772
|
+
tmp_31.yb4_1 = tmp_33.k67(this, getPropertyCallableRef('gameClientConfig', 1, tmp_34, ClientCommonStoreContract$_get_gameClientConfig_$ref_hlbrfm(), null));
|
|
11765
11773
|
var tmp_35 = this;
|
|
11766
11774
|
// Inline function 'org.kodein.di.instance' call
|
|
11767
11775
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11769,7 +11777,7 @@
|
|
|
11769
11777
|
var tmp$ret$18 = isInterface(tmp_36, TypeToken) ? tmp_36 : THROW_CCE();
|
|
11770
11778
|
var tmp_37 = Instance(di, tmp$ret$18, null);
|
|
11771
11779
|
var tmp_38 = KProperty1;
|
|
11772
|
-
tmp_35.
|
|
11780
|
+
tmp_35.zb4_1 = tmp_37.k67(this, getPropertyCallableRef('logger', 1, tmp_38, ClientCommonStoreContract$_get_logger_$ref_l18aq7(), null));
|
|
11773
11781
|
var tmp_39 = this;
|
|
11774
11782
|
// Inline function 'org.kodein.di.instance' call
|
|
11775
11783
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11777,7 +11785,7 @@
|
|
|
11777
11785
|
var tmp$ret$20 = isInterface(tmp_40, TypeToken) ? tmp_40 : THROW_CCE();
|
|
11778
11786
|
var tmp_41 = Instance(di, tmp$ret$20, null);
|
|
11779
11787
|
var tmp_42 = KProperty1;
|
|
11780
|
-
tmp_39.
|
|
11788
|
+
tmp_39.ab5_1 = tmp_41.k67(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_42, ClientCommonStoreContract$_get_scenePositionProvider_$ref_2mdnjn(), null));
|
|
11781
11789
|
var tmp_43 = this;
|
|
11782
11790
|
// Inline function 'org.kodein.di.instance' call
|
|
11783
11791
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11785,114 +11793,114 @@
|
|
|
11785
11793
|
var tmp$ret$22 = isInterface(tmp_44, TypeToken) ? tmp_44 : THROW_CCE();
|
|
11786
11794
|
var tmp_45 = Instance(di, tmp$ret$22, null);
|
|
11787
11795
|
var tmp_46 = KProperty1;
|
|
11788
|
-
tmp_43.
|
|
11796
|
+
tmp_43.bb5_1 = tmp_45.k67(this, getPropertyCallableRef('clientGameHistoryInteractor', 1, tmp_46, ClientCommonStoreContract$_get_clientGameHistoryInteractor_$ref_2ivcgn(), null));
|
|
11789
11797
|
}
|
|
11790
11798
|
protoOf(ClientCommonStoreContract).f94 = function () {
|
|
11791
|
-
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.
|
|
11799
|
+
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.ob4_1), clientResetProcessingCardReducer(), clientSceneReducer(_get_logger__rkp4sl_0(this), _get_clientLifecycleReducer__6ihp6m(this)), clientCombinationToAnnounceStateOnPlayerTurnReducer(_get_clientCombinationsReducer__u5899o(this))]), this.pb4_1.f94());
|
|
11792
11800
|
};
|
|
11793
11801
|
protoOf(ClientCommonStoreContract).g94 = function () {
|
|
11794
|
-
return plus(plus(plus(plus(listOfNotNull([checkValidCurrentPlayerIdMiddleware(this.
|
|
11802
|
+
return plus(plus(plus(plus(listOfNotNull([checkValidCurrentPlayerIdMiddleware(this.ob4_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.pb4_1.g94());
|
|
11795
11803
|
};
|
|
11796
11804
|
function _get_messageFactory__6vg0vc_0($this) {
|
|
11797
|
-
var tmp0 = $this.
|
|
11805
|
+
var tmp0 = $this.ib5_1;
|
|
11798
11806
|
var tmp = KProperty1;
|
|
11799
11807
|
// Inline function 'kotlin.getValue' call
|
|
11800
11808
|
getPropertyCallableRef('messageFactory', 1, tmp, OnlineGameStoreContract$_get_messageFactory_$ref_5nllg3_0(), null);
|
|
11801
11809
|
return tmp0.u();
|
|
11802
11810
|
}
|
|
11803
11811
|
function _get_pointsInteractor__5t71wv($this) {
|
|
11804
|
-
var tmp0 = $this.
|
|
11812
|
+
var tmp0 = $this.jb5_1;
|
|
11805
11813
|
var tmp = KProperty1;
|
|
11806
11814
|
// Inline function 'kotlin.getValue' call
|
|
11807
11815
|
getPropertyCallableRef('pointsInteractor', 1, tmp, OnlineGameStoreContract$_get_pointsInteractor_$ref_wc6oc_0(), null);
|
|
11808
11816
|
return tmp0.u();
|
|
11809
11817
|
}
|
|
11810
11818
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
11811
|
-
var tmp0 = $this.
|
|
11819
|
+
var tmp0 = $this.kb5_1;
|
|
11812
11820
|
var tmp = KProperty1;
|
|
11813
11821
|
// Inline function 'kotlin.getValue' call
|
|
11814
11822
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, OnlineGameStoreContract$_get_teamsLogicProvider_$ref_14f7dj_0(), null);
|
|
11815
11823
|
return tmp0.u();
|
|
11816
11824
|
}
|
|
11817
11825
|
function _get_gameLogicInteractor__895s7o($this) {
|
|
11818
|
-
var tmp0 = $this.
|
|
11826
|
+
var tmp0 = $this.lb5_1;
|
|
11819
11827
|
var tmp = KProperty1;
|
|
11820
11828
|
// Inline function 'kotlin.getValue' call
|
|
11821
11829
|
getPropertyCallableRef('gameLogicInteractor', 1, tmp, OnlineGameStoreContract$_get_gameLogicInteractor_$ref_o2hr23_0(), null);
|
|
11822
11830
|
return tmp0.u();
|
|
11823
11831
|
}
|
|
11824
11832
|
function _get_clientLifecycleReducer__6ihp6m_0($this) {
|
|
11825
|
-
var tmp0 = $this.
|
|
11833
|
+
var tmp0 = $this.mb5_1;
|
|
11826
11834
|
var tmp = KProperty1;
|
|
11827
11835
|
// Inline function 'kotlin.getValue' call
|
|
11828
11836
|
getPropertyCallableRef('clientLifecycleReducer', 1, tmp, OnlineGameStoreContract$_get_clientLifecycleReducer_$ref_ureow3_0(), null);
|
|
11829
11837
|
return tmp0.u();
|
|
11830
11838
|
}
|
|
11831
11839
|
function _get_logicConfig__52ww9d($this) {
|
|
11832
|
-
var tmp0 = $this.
|
|
11840
|
+
var tmp0 = $this.nb5_1;
|
|
11833
11841
|
var tmp = KProperty1;
|
|
11834
11842
|
// Inline function 'kotlin.getValue' call
|
|
11835
11843
|
getPropertyCallableRef('logicConfig', 1, tmp, OnlineGameStoreContract$_get_logicConfig_$ref_witaom_0(), null);
|
|
11836
11844
|
return tmp0.u();
|
|
11837
11845
|
}
|
|
11838
11846
|
function _get_playerTurnTagProvider__7cizx8_0($this) {
|
|
11839
|
-
var tmp0 = $this.
|
|
11847
|
+
var tmp0 = $this.ob5_1;
|
|
11840
11848
|
var tmp = KProperty1;
|
|
11841
11849
|
// Inline function 'kotlin.getValue' call
|
|
11842
11850
|
getPropertyCallableRef('playerTurnTagProvider', 1, tmp, OnlineGameStoreContract$_get_playerTurnTagProvider_$ref_mhfyf1_0(), null);
|
|
11843
11851
|
return tmp0.u();
|
|
11844
11852
|
}
|
|
11845
11853
|
function _get_botConfig__cpaxzc($this) {
|
|
11846
|
-
var tmp0 = $this.
|
|
11854
|
+
var tmp0 = $this.pb5_1;
|
|
11847
11855
|
var tmp = KProperty1;
|
|
11848
11856
|
// Inline function 'kotlin.getValue' call
|
|
11849
11857
|
getPropertyCallableRef('botConfig', 1, tmp, OnlineGameStoreContract$_get_botConfig_$ref_t93dgh_0(), null);
|
|
11850
11858
|
return tmp0.u();
|
|
11851
11859
|
}
|
|
11852
11860
|
function _get_gameClientConfig__xfscic_1($this) {
|
|
11853
|
-
var tmp0 = $this.
|
|
11861
|
+
var tmp0 = $this.qb5_1;
|
|
11854
11862
|
var tmp = KProperty1;
|
|
11855
11863
|
// Inline function 'kotlin.getValue' call
|
|
11856
11864
|
getPropertyCallableRef('gameClientConfig', 1, tmp, OnlineGameStoreContract$_get_gameClientConfig_$ref_8vuui9_0(), null);
|
|
11857
11865
|
return tmp0.u();
|
|
11858
11866
|
}
|
|
11859
11867
|
function _get_asyncProvider__jbpyhw_0($this) {
|
|
11860
|
-
var tmp0 = $this.
|
|
11868
|
+
var tmp0 = $this.rb5_1;
|
|
11861
11869
|
var tmp = KProperty1;
|
|
11862
11870
|
// Inline function 'kotlin.getValue' call
|
|
11863
11871
|
getPropertyCallableRef('asyncProvider', 1, tmp, OnlineGameStoreContract$_get_asyncProvider_$ref_cmy4eb_0(), null);
|
|
11864
11872
|
return tmp0.u();
|
|
11865
11873
|
}
|
|
11866
11874
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
11867
|
-
var tmp0 = $this.
|
|
11875
|
+
var tmp0 = $this.sb5_1;
|
|
11868
11876
|
var tmp = KProperty1;
|
|
11869
11877
|
// Inline function 'kotlin.getValue' call
|
|
11870
11878
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, OnlineGameStoreContract$_get_fromClientEventsObserver_$ref_cfl5l8_0(), null);
|
|
11871
11879
|
return tmp0.u();
|
|
11872
11880
|
}
|
|
11873
11881
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
11874
|
-
var tmp0 = $this.
|
|
11882
|
+
var tmp0 = $this.tb5_1;
|
|
11875
11883
|
var tmp = KProperty1;
|
|
11876
11884
|
// Inline function 'kotlin.getValue' call
|
|
11877
11885
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, OnlineGameStoreContract$_get_lastCardInteractor_$ref_6ivvap_0(), null);
|
|
11878
11886
|
return tmp0.u();
|
|
11879
11887
|
}
|
|
11880
11888
|
function _get_dealerInteractor__6aitmv($this) {
|
|
11881
|
-
var tmp0 = $this.
|
|
11889
|
+
var tmp0 = $this.ub5_1;
|
|
11882
11890
|
var tmp = KProperty1;
|
|
11883
11891
|
// Inline function 'kotlin.getValue' call
|
|
11884
11892
|
getPropertyCallableRef('dealerInteractor', 1, tmp, OnlineGameStoreContract$_get_dealerInteractor_$ref_fqiugy_0(), null);
|
|
11885
11893
|
return tmp0.u();
|
|
11886
11894
|
}
|
|
11887
11895
|
function _get_mechanicReducers__ipi0tc($this) {
|
|
11888
|
-
var tmp0 = $this.
|
|
11896
|
+
var tmp0 = $this.vb5_1;
|
|
11889
11897
|
var tmp = KProperty1;
|
|
11890
11898
|
// Inline function 'kotlin.getValue' call
|
|
11891
11899
|
getPropertyCallableRef('mechanicReducers', 1, tmp, OnlineGameStoreContract$_get_mechanicReducers_$ref_lka6cl_0(), null);
|
|
11892
11900
|
return tmp0.u();
|
|
11893
11901
|
}
|
|
11894
11902
|
function _get_transitionsReducer__bsis4j($this) {
|
|
11895
|
-
var tmp0 = $this.
|
|
11903
|
+
var tmp0 = $this.wb5_1;
|
|
11896
11904
|
var tmp = KProperty1;
|
|
11897
11905
|
// Inline function 'kotlin.getValue' call
|
|
11898
11906
|
getPropertyCallableRef('transitionsReducer', 1, tmp, OnlineGameStoreContract$_get_transitionsReducer_$ref_q3kxgi_0(), null);
|
|
@@ -12050,12 +12058,12 @@
|
|
|
12050
12058
|
}
|
|
12051
12059
|
function OnlineGameStoreContract$_get_middlewares_$lambda_9o1az3(this$0) {
|
|
12052
12060
|
return function (it) {
|
|
12053
|
-
return it === this$0.
|
|
12061
|
+
return it === this$0.cb5_1;
|
|
12054
12062
|
};
|
|
12055
12063
|
}
|
|
12056
12064
|
function OnlineGameStoreContract$_get_middlewares_$lambda_9o1az3_0(this$0) {
|
|
12057
12065
|
return function (player) {
|
|
12058
|
-
return player.playerId === this$0.
|
|
12066
|
+
return player.playerId === this$0.cb5_1;
|
|
12059
12067
|
};
|
|
12060
12068
|
}
|
|
12061
12069
|
function OnlineGameStoreContract(di, currentPlayerId, validationStoreContract, clientCommonStoreContract, botGameStoreContract, playerTurnStoreContract, fileLoggerStoreContract) {
|
|
@@ -12064,12 +12072,12 @@
|
|
|
12064
12072
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di, listOf_0(currentPlayerId)) : botGameStoreContract;
|
|
12065
12073
|
playerTurnStoreContract = playerTurnStoreContract === VOID ? new PlayerTurnStoreContract(di, false, currentPlayerId) : playerTurnStoreContract;
|
|
12066
12074
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di, currentPlayerId) : fileLoggerStoreContract;
|
|
12067
|
-
this.
|
|
12068
|
-
this.
|
|
12069
|
-
this.
|
|
12070
|
-
this.
|
|
12071
|
-
this.
|
|
12072
|
-
this.
|
|
12075
|
+
this.cb5_1 = currentPlayerId;
|
|
12076
|
+
this.db5_1 = validationStoreContract;
|
|
12077
|
+
this.eb5_1 = clientCommonStoreContract;
|
|
12078
|
+
this.fb5_1 = botGameStoreContract;
|
|
12079
|
+
this.gb5_1 = playerTurnStoreContract;
|
|
12080
|
+
this.hb5_1 = fileLoggerStoreContract;
|
|
12073
12081
|
var tmp = this;
|
|
12074
12082
|
// Inline function 'org.kodein.di.instance' call
|
|
12075
12083
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12077,7 +12085,7 @@
|
|
|
12077
12085
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
12078
12086
|
var tmp_1 = Instance(di, tmp$ret$0, null);
|
|
12079
12087
|
var tmp_2 = KProperty1;
|
|
12080
|
-
tmp.
|
|
12088
|
+
tmp.ib5_1 = tmp_1.k67(this, getPropertyCallableRef('messageFactory', 1, tmp_2, OnlineGameStoreContract$_get_messageFactory_$ref_5nllg3(), null));
|
|
12081
12089
|
var tmp_3 = this;
|
|
12082
12090
|
// Inline function 'org.kodein.di.instance' call
|
|
12083
12091
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12085,7 +12093,7 @@
|
|
|
12085
12093
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
12086
12094
|
var tmp_5 = Instance(di, tmp$ret$2, null);
|
|
12087
12095
|
var tmp_6 = KProperty1;
|
|
12088
|
-
tmp_3.
|
|
12096
|
+
tmp_3.jb5_1 = tmp_5.k67(this, getPropertyCallableRef('pointsInteractor', 1, tmp_6, OnlineGameStoreContract$_get_pointsInteractor_$ref_wc6oc(), null));
|
|
12089
12097
|
var tmp_7 = this;
|
|
12090
12098
|
// Inline function 'org.kodein.di.instance' call
|
|
12091
12099
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12093,7 +12101,7 @@
|
|
|
12093
12101
|
var tmp$ret$4 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
12094
12102
|
var tmp_9 = Instance(di, tmp$ret$4, null);
|
|
12095
12103
|
var tmp_10 = KProperty1;
|
|
12096
|
-
tmp_7.
|
|
12104
|
+
tmp_7.kb5_1 = tmp_9.k67(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_10, OnlineGameStoreContract$_get_teamsLogicProvider_$ref_14f7dj(), null));
|
|
12097
12105
|
var tmp_11 = this;
|
|
12098
12106
|
// Inline function 'org.kodein.di.instance' call
|
|
12099
12107
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12101,7 +12109,7 @@
|
|
|
12101
12109
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
12102
12110
|
var tmp_13 = Instance(di, tmp$ret$6, null);
|
|
12103
12111
|
var tmp_14 = KProperty1;
|
|
12104
|
-
tmp_11.
|
|
12112
|
+
tmp_11.lb5_1 = tmp_13.k67(this, getPropertyCallableRef('gameLogicInteractor', 1, tmp_14, OnlineGameStoreContract$_get_gameLogicInteractor_$ref_o2hr23(), null));
|
|
12105
12113
|
var tmp_15 = this;
|
|
12106
12114
|
// Inline function 'org.kodein.di.instance' call
|
|
12107
12115
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12109,7 +12117,7 @@
|
|
|
12109
12117
|
var tmp$ret$8 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
12110
12118
|
var tmp_17 = Instance(di, tmp$ret$8, null);
|
|
12111
12119
|
var tmp_18 = KProperty1;
|
|
12112
|
-
tmp_15.
|
|
12120
|
+
tmp_15.mb5_1 = tmp_17.k67(this, getPropertyCallableRef('clientLifecycleReducer', 1, tmp_18, OnlineGameStoreContract$_get_clientLifecycleReducer_$ref_ureow3(), null));
|
|
12113
12121
|
var tmp_19 = this;
|
|
12114
12122
|
// Inline function 'org.kodein.di.instance' call
|
|
12115
12123
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12117,7 +12125,7 @@
|
|
|
12117
12125
|
var tmp$ret$10 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
12118
12126
|
var tmp_21 = Instance(di, tmp$ret$10, null);
|
|
12119
12127
|
var tmp_22 = KProperty1;
|
|
12120
|
-
tmp_19.
|
|
12128
|
+
tmp_19.nb5_1 = tmp_21.k67(this, getPropertyCallableRef('logicConfig', 1, tmp_22, OnlineGameStoreContract$_get_logicConfig_$ref_witaom(), null));
|
|
12121
12129
|
var tmp_23 = this;
|
|
12122
12130
|
// Inline function 'org.kodein.di.instance' call
|
|
12123
12131
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12125,7 +12133,7 @@
|
|
|
12125
12133
|
var tmp$ret$12 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
12126
12134
|
var tmp_25 = Instance(di, tmp$ret$12, null);
|
|
12127
12135
|
var tmp_26 = KProperty1;
|
|
12128
|
-
tmp_23.
|
|
12136
|
+
tmp_23.ob5_1 = tmp_25.k67(this, getPropertyCallableRef('playerTurnTagProvider', 1, tmp_26, OnlineGameStoreContract$_get_playerTurnTagProvider_$ref_mhfyf1(), null));
|
|
12129
12137
|
var tmp_27 = this;
|
|
12130
12138
|
// Inline function 'org.kodein.di.instance' call
|
|
12131
12139
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12133,7 +12141,7 @@
|
|
|
12133
12141
|
var tmp$ret$14 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
|
|
12134
12142
|
var tmp_29 = Instance(di, tmp$ret$14, null);
|
|
12135
12143
|
var tmp_30 = KProperty1;
|
|
12136
|
-
tmp_27.
|
|
12144
|
+
tmp_27.pb5_1 = tmp_29.k67(this, getPropertyCallableRef('botConfig', 1, tmp_30, OnlineGameStoreContract$_get_botConfig_$ref_t93dgh(), null));
|
|
12137
12145
|
var tmp_31 = this;
|
|
12138
12146
|
// Inline function 'org.kodein.di.instance' call
|
|
12139
12147
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12141,7 +12149,7 @@
|
|
|
12141
12149
|
var tmp$ret$16 = isInterface(tmp_32, TypeToken) ? tmp_32 : THROW_CCE();
|
|
12142
12150
|
var tmp_33 = Instance(di, tmp$ret$16, null);
|
|
12143
12151
|
var tmp_34 = KProperty1;
|
|
12144
|
-
tmp_31.
|
|
12152
|
+
tmp_31.qb5_1 = tmp_33.k67(this, getPropertyCallableRef('gameClientConfig', 1, tmp_34, OnlineGameStoreContract$_get_gameClientConfig_$ref_8vuui9(), null));
|
|
12145
12153
|
var tmp_35 = this;
|
|
12146
12154
|
// Inline function 'org.kodein.di.instance' call
|
|
12147
12155
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12149,7 +12157,7 @@
|
|
|
12149
12157
|
var tmp$ret$18 = isInterface(tmp_36, TypeToken) ? tmp_36 : THROW_CCE();
|
|
12150
12158
|
var tmp_37 = Instance(di, tmp$ret$18, null);
|
|
12151
12159
|
var tmp_38 = KProperty1;
|
|
12152
|
-
tmp_35.
|
|
12160
|
+
tmp_35.rb5_1 = tmp_37.k67(this, getPropertyCallableRef('asyncProvider', 1, tmp_38, OnlineGameStoreContract$_get_asyncProvider_$ref_cmy4eb(), null));
|
|
12153
12161
|
var tmp_39 = this;
|
|
12154
12162
|
// Inline function 'org.kodein.di.instance' call
|
|
12155
12163
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12157,7 +12165,7 @@
|
|
|
12157
12165
|
var tmp$ret$20 = isInterface(tmp_40, TypeToken) ? tmp_40 : THROW_CCE();
|
|
12158
12166
|
var tmp_41 = Instance(di, tmp$ret$20, null);
|
|
12159
12167
|
var tmp_42 = KProperty1;
|
|
12160
|
-
tmp_39.
|
|
12168
|
+
tmp_39.sb5_1 = tmp_41.k67(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_42, OnlineGameStoreContract$_get_fromClientEventsObserver_$ref_cfl5l8(), null));
|
|
12161
12169
|
var tmp_43 = this;
|
|
12162
12170
|
// Inline function 'org.kodein.di.instance' call
|
|
12163
12171
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12165,7 +12173,7 @@
|
|
|
12165
12173
|
var tmp$ret$22 = isInterface(tmp_44, TypeToken) ? tmp_44 : THROW_CCE();
|
|
12166
12174
|
var tmp_45 = Instance(di, tmp$ret$22, null);
|
|
12167
12175
|
var tmp_46 = KProperty1;
|
|
12168
|
-
tmp_43.
|
|
12176
|
+
tmp_43.tb5_1 = tmp_45.k67(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_46, OnlineGameStoreContract$_get_lastCardInteractor_$ref_6ivvap(), null));
|
|
12169
12177
|
var tmp_47 = this;
|
|
12170
12178
|
// Inline function 'org.kodein.di.instance' call
|
|
12171
12179
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12173,7 +12181,7 @@
|
|
|
12173
12181
|
var tmp$ret$24 = isInterface(tmp_48, TypeToken) ? tmp_48 : THROW_CCE();
|
|
12174
12182
|
var tmp_49 = Instance(di, tmp$ret$24, null);
|
|
12175
12183
|
var tmp_50 = KProperty1;
|
|
12176
|
-
tmp_47.
|
|
12184
|
+
tmp_47.ub5_1 = tmp_49.k67(this, getPropertyCallableRef('dealerInteractor', 1, tmp_50, OnlineGameStoreContract$_get_dealerInteractor_$ref_fqiugy(), null));
|
|
12177
12185
|
var tmp_51 = this;
|
|
12178
12186
|
// Inline function 'org.kodein.di.instance' call
|
|
12179
12187
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12181,7 +12189,7 @@
|
|
|
12181
12189
|
var tmp$ret$26 = isInterface(tmp_52, TypeToken) ? tmp_52 : THROW_CCE();
|
|
12182
12190
|
var tmp_53 = Instance(di, tmp$ret$26, null);
|
|
12183
12191
|
var tmp_54 = KProperty1;
|
|
12184
|
-
tmp_51.
|
|
12192
|
+
tmp_51.vb5_1 = tmp_53.k67(this, getPropertyCallableRef('mechanicReducers', 1, tmp_54, OnlineGameStoreContract$_get_mechanicReducers_$ref_lka6cl(), null));
|
|
12185
12193
|
var tmp_55 = this;
|
|
12186
12194
|
// Inline function 'org.kodein.di.instance' call
|
|
12187
12195
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12189,30 +12197,30 @@
|
|
|
12189
12197
|
var tmp$ret$28 = isInterface(tmp_56, TypeToken) ? tmp_56 : THROW_CCE();
|
|
12190
12198
|
var tmp_57 = Instance(di, tmp$ret$28, null);
|
|
12191
12199
|
var tmp_58 = KProperty1;
|
|
12192
|
-
tmp_55.
|
|
12200
|
+
tmp_55.wb5_1 = tmp_57.k67(this, getPropertyCallableRef('transitionsReducer', 1, tmp_58, OnlineGameStoreContract$_get_transitionsReducer_$ref_q3kxgi(), null));
|
|
12193
12201
|
}
|
|
12194
12202
|
protoOf(OnlineGameStoreContract).f94 = function () {
|
|
12195
|
-
var tmp = plus(plus(plus(plus(this.
|
|
12203
|
+
var tmp = plus(plus(plus(plus(this.db5_1.f94(), _get_transitionsReducer__bsis4j(this).xb5(this.cb5_1)), listOf([_get_mechanicReducers__ipi0tc(this).k95(), clientErrorStateWhenTerminationActionReducer(_get_clientLifecycleReducer__6ihp6m_0(this))])), this.gb5_1.f94()), this.eb5_1.f94());
|
|
12196
12204
|
var tmp_0;
|
|
12197
12205
|
if (_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer) {
|
|
12198
|
-
tmp_0 = this.
|
|
12206
|
+
tmp_0 = this.fb5_1.f94();
|
|
12199
12207
|
} else {
|
|
12200
12208
|
tmp_0 = emptyList();
|
|
12201
12209
|
}
|
|
12202
|
-
return plus(plus(tmp, tmp_0), this.
|
|
12210
|
+
return plus(plus(tmp, tmp_0), this.hb5_1.f94());
|
|
12203
12211
|
};
|
|
12204
12212
|
protoOf(OnlineGameStoreContract).g94 = function () {
|
|
12205
12213
|
var messagesMiddleware = new MessagesMiddleware(_get_messageFactory__6vg0vc_0(this), _get_pointsInteractor__5t71wv(this), _get_teamsLogicProvider__u10pm6(this));
|
|
12206
|
-
var tmp = plus(plus(plus(_get_transitionsReducer__bsis4j(this).g94(), this.
|
|
12214
|
+
var tmp = plus(plus(plus(_get_transitionsReducer__bsis4j(this).g94(), this.db5_1.g94()), this.gb5_1.g94()), this.eb5_1.g94());
|
|
12207
12215
|
var tmp_0;
|
|
12208
12216
|
if (_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer) {
|
|
12209
|
-
var tmp_1 = this.
|
|
12217
|
+
var tmp_1 = this.fb5_1.g94();
|
|
12210
12218
|
var tmp_2 = playerTurnTimeoutMiddleware(_get_asyncProvider__jbpyhw_0(this));
|
|
12211
12219
|
tmp_0 = plus(tmp_1, listOf([tmp_2, reloadTimersWhenContinueGameMiddleware(true, VOID, OnlineGameStoreContract$_get_middlewares_$lambda_9o1az3(this))]));
|
|
12212
12220
|
} else {
|
|
12213
12221
|
tmp_0 = emptyList();
|
|
12214
12222
|
}
|
|
12215
|
-
var tmp_3 = plus(plus(plus(tmp, tmp_0), this.
|
|
12223
|
+
var tmp_3 = plus(plus(plus(tmp, tmp_0), this.hb5_1.g94()), listOfNotNull([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw_0(this), _get_fromClientEventsObserver__a7vzd3(this)), announceCombinationMiddleware(_get_playerTurnTagProvider__7cizx8_0(this)), clientHostDealerMiddleware(this.cb5_1, _get_dealerInteractor__6aitmv(this), _get_playerTurnTagProvider__7cizx8_0(this)), _get_logicConfig__52ww9d(this).supportBackwardActions ? clientConsumeFromClientActionsMiddleware(_get_gameLogicInteractor__895s7o(this)) : null, messagesMiddleware.bb6(this.cb5_1)]));
|
|
12216
12224
|
var tmp_4;
|
|
12217
12225
|
if (_get_botConfig__cpaxzc(this).autoStepLastCard) {
|
|
12218
12226
|
var tmp_5;
|
|
@@ -12222,84 +12230,84 @@
|
|
|
12222
12230
|
} else {
|
|
12223
12231
|
tmp_5 = null;
|
|
12224
12232
|
}
|
|
12225
|
-
tmp_4 = listOfNotNull([tmp_5, !_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer ? clientPutCurrentPlayerLastCardMiddleware(this.
|
|
12233
|
+
tmp_4 = listOfNotNull([tmp_5, !_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer ? clientPutCurrentPlayerLastCardMiddleware(this.cb5_1, _get_lastCardInteractor__h6lq3w(this)) : null]);
|
|
12226
12234
|
} else {
|
|
12227
12235
|
tmp_4 = emptyList();
|
|
12228
12236
|
}
|
|
12229
12237
|
return plus(tmp_3, tmp_4);
|
|
12230
12238
|
};
|
|
12231
12239
|
function _get_messageFactory__6vg0vc_1($this) {
|
|
12232
|
-
var tmp0 = $this.
|
|
12240
|
+
var tmp0 = $this.ib6_1;
|
|
12233
12241
|
var tmp = KProperty1;
|
|
12234
12242
|
// Inline function 'kotlin.getValue' call
|
|
12235
12243
|
getPropertyCallableRef('messageFactory', 1, tmp, SingleGameStoreContract$_get_messageFactory_$ref_hjklia_0(), null);
|
|
12236
12244
|
return tmp0.u();
|
|
12237
12245
|
}
|
|
12238
12246
|
function _get_pointsInteractor__5t71wv_0($this) {
|
|
12239
|
-
var tmp0 = $this.
|
|
12247
|
+
var tmp0 = $this.jb6_1;
|
|
12240
12248
|
var tmp = KProperty1;
|
|
12241
12249
|
// Inline function 'kotlin.getValue' call
|
|
12242
12250
|
getPropertyCallableRef('pointsInteractor', 1, tmp, SingleGameStoreContract$_get_pointsInteractor_$ref_a5dro7_0(), null);
|
|
12243
12251
|
return tmp0.u();
|
|
12244
12252
|
}
|
|
12245
12253
|
function _get_teamsLogicProvider__u10pm6_0($this) {
|
|
12246
|
-
var tmp0 = $this.
|
|
12254
|
+
var tmp0 = $this.kb6_1;
|
|
12247
12255
|
var tmp = KProperty1;
|
|
12248
12256
|
// Inline function 'kotlin.getValue' call
|
|
12249
12257
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, SingleGameStoreContract$_get_teamsLogicProvider_$ref_afrf04_0(), null);
|
|
12250
12258
|
return tmp0.u();
|
|
12251
12259
|
}
|
|
12252
12260
|
function _get_clientStatisticsInteractor__s4ngf8($this) {
|
|
12253
|
-
var tmp0 = $this.
|
|
12261
|
+
var tmp0 = $this.lb6_1;
|
|
12254
12262
|
var tmp = KProperty1;
|
|
12255
12263
|
// Inline function 'kotlin.getValue' call
|
|
12256
12264
|
getPropertyCallableRef('clientStatisticsInteractor', 1, tmp, SingleGameStoreContract$_get_clientStatisticsInteractor_$ref_5vsroi_0(), null);
|
|
12257
12265
|
return tmp0.u();
|
|
12258
12266
|
}
|
|
12259
12267
|
function _get_asyncProvider__jbpyhw_1($this) {
|
|
12260
|
-
var tmp0 = $this.
|
|
12268
|
+
var tmp0 = $this.mb6_1;
|
|
12261
12269
|
var tmp = KProperty1;
|
|
12262
12270
|
// Inline function 'kotlin.getValue' call
|
|
12263
12271
|
getPropertyCallableRef('asyncProvider', 1, tmp, SingleGameStoreContract$_get_asyncProvider_$ref_50jleg_0(), null);
|
|
12264
12272
|
return tmp0.u();
|
|
12265
12273
|
}
|
|
12266
12274
|
function _get_persistentAppStateInteractor__5jt7l7($this) {
|
|
12267
|
-
var tmp0 = $this.
|
|
12275
|
+
var tmp0 = $this.nb6_1;
|
|
12268
12276
|
var tmp = KProperty1;
|
|
12269
12277
|
// Inline function 'kotlin.getValue' call
|
|
12270
12278
|
getPropertyCallableRef('persistentAppStateInteractor', 1, tmp, SingleGameStoreContract$_get_persistentAppStateInteractor_$ref_dg0kf9_0(), null);
|
|
12271
12279
|
return tmp0.u();
|
|
12272
12280
|
}
|
|
12273
12281
|
function _get_gameClientConfig__xfscic_2($this) {
|
|
12274
|
-
var tmp0 = $this.
|
|
12282
|
+
var tmp0 = $this.ob6_1;
|
|
12275
12283
|
var tmp = KProperty1;
|
|
12276
12284
|
// Inline function 'kotlin.getValue' call
|
|
12277
12285
|
getPropertyCallableRef('gameClientConfig', 1, tmp, SingleGameStoreContract$_get_gameClientConfig_$ref_d6qhm_0(), null);
|
|
12278
12286
|
return tmp0.u();
|
|
12279
12287
|
}
|
|
12280
12288
|
function _get_botConfig__cpaxzc_0($this) {
|
|
12281
|
-
var tmp0 = $this.
|
|
12289
|
+
var tmp0 = $this.pb6_1;
|
|
12282
12290
|
var tmp = KProperty1;
|
|
12283
12291
|
// Inline function 'kotlin.getValue' call
|
|
12284
12292
|
getPropertyCallableRef('botConfig', 1, tmp, SingleGameStoreContract$_get_botConfig_$ref_liacqc_0(), null);
|
|
12285
12293
|
return tmp0.u();
|
|
12286
12294
|
}
|
|
12287
12295
|
function _get_lastCardInteractor__h6lq3w_0($this) {
|
|
12288
|
-
var tmp0 = $this.
|
|
12296
|
+
var tmp0 = $this.qb6_1;
|
|
12289
12297
|
var tmp = KProperty1;
|
|
12290
12298
|
// Inline function 'kotlin.getValue' call
|
|
12291
12299
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, SingleGameStoreContract$_get_lastCardInteractor_$ref_51ar2y_0(), null);
|
|
12292
12300
|
return tmp0.u();
|
|
12293
12301
|
}
|
|
12294
12302
|
function _get_playerTurnTagProvider__7cizx8_1($this) {
|
|
12295
|
-
var tmp0 = $this.
|
|
12303
|
+
var tmp0 = $this.rb6_1;
|
|
12296
12304
|
var tmp = KProperty1;
|
|
12297
12305
|
// Inline function 'kotlin.getValue' call
|
|
12298
12306
|
getPropertyCallableRef('playerTurnTagProvider', 1, tmp, SingleGameStoreContract$_get_playerTurnTagProvider_$ref_ng35ug_0(), null);
|
|
12299
12307
|
return tmp0.u();
|
|
12300
12308
|
}
|
|
12301
12309
|
function _get_transitionsReducer__bsis4j_0($this) {
|
|
12302
|
-
var tmp0 = $this.
|
|
12310
|
+
var tmp0 = $this.sb6_1;
|
|
12303
12311
|
var tmp = KProperty1;
|
|
12304
12312
|
// Inline function 'kotlin.getValue' call
|
|
12305
12313
|
getPropertyCallableRef('transitionsReducer', 1, tmp, SingleGameStoreContract$_get_transitionsReducer_$ref_ejeb2v_0(), null);
|
|
@@ -12417,12 +12425,12 @@
|
|
|
12417
12425
|
}
|
|
12418
12426
|
function SingleGameStoreContract$_get_middlewares_$lambda_dj4vza(this$0) {
|
|
12419
12427
|
return function (it) {
|
|
12420
|
-
return !(it === this$0.
|
|
12428
|
+
return !(it === this$0.cb6_1) || _get_gameClientConfig__xfscic_2(this$0).isAutoStepCurrentPlayer;
|
|
12421
12429
|
};
|
|
12422
12430
|
}
|
|
12423
12431
|
function SingleGameStoreContract$_get_middlewares_$lambda_dj4vza_0(this$0) {
|
|
12424
12432
|
return function (player) {
|
|
12425
|
-
var isCurrentPlayer = player.playerId === this$0.
|
|
12433
|
+
var isCurrentPlayer = player.playerId === this$0.cb6_1;
|
|
12426
12434
|
return !isCurrentPlayer || _get_gameClientConfig__xfscic_2(this$0).isAutoStepCurrentPlayer;
|
|
12427
12435
|
};
|
|
12428
12436
|
}
|
|
@@ -12449,12 +12457,12 @@
|
|
|
12449
12457
|
}
|
|
12450
12458
|
botGameStoreContract = tmp;
|
|
12451
12459
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di, currentPlayerId) : fileLoggerStoreContract;
|
|
12452
|
-
this.
|
|
12453
|
-
this.
|
|
12454
|
-
this.
|
|
12455
|
-
this.
|
|
12456
|
-
this.
|
|
12457
|
-
this.
|
|
12460
|
+
this.cb6_1 = currentPlayerId;
|
|
12461
|
+
this.db6_1 = validationStoreContract;
|
|
12462
|
+
this.eb6_1 = clientCommonStoreContract;
|
|
12463
|
+
this.fb6_1 = gameMechanicStoreContract;
|
|
12464
|
+
this.gb6_1 = botGameStoreContract;
|
|
12465
|
+
this.hb6_1 = fileLoggerStoreContract;
|
|
12458
12466
|
var tmp_3 = this;
|
|
12459
12467
|
// Inline function 'org.kodein.di.instance' call
|
|
12460
12468
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12462,7 +12470,7 @@
|
|
|
12462
12470
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
12463
12471
|
var tmp_5 = Instance(di, tmp$ret$2, null);
|
|
12464
12472
|
var tmp_6 = KProperty1;
|
|
12465
|
-
tmp_3.
|
|
12473
|
+
tmp_3.ib6_1 = tmp_5.k67(this, getPropertyCallableRef('messageFactory', 1, tmp_6, SingleGameStoreContract$_get_messageFactory_$ref_hjklia(), null));
|
|
12466
12474
|
var tmp_7 = this;
|
|
12467
12475
|
// Inline function 'org.kodein.di.instance' call
|
|
12468
12476
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12470,7 +12478,7 @@
|
|
|
12470
12478
|
var tmp$ret$4 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
12471
12479
|
var tmp_9 = Instance(di, tmp$ret$4, null);
|
|
12472
12480
|
var tmp_10 = KProperty1;
|
|
12473
|
-
tmp_7.
|
|
12481
|
+
tmp_7.jb6_1 = tmp_9.k67(this, getPropertyCallableRef('pointsInteractor', 1, tmp_10, SingleGameStoreContract$_get_pointsInteractor_$ref_a5dro7(), null));
|
|
12474
12482
|
var tmp_11 = this;
|
|
12475
12483
|
// Inline function 'org.kodein.di.instance' call
|
|
12476
12484
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12478,7 +12486,7 @@
|
|
|
12478
12486
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
12479
12487
|
var tmp_13 = Instance(di, tmp$ret$6, null);
|
|
12480
12488
|
var tmp_14 = KProperty1;
|
|
12481
|
-
tmp_11.
|
|
12489
|
+
tmp_11.kb6_1 = tmp_13.k67(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_14, SingleGameStoreContract$_get_teamsLogicProvider_$ref_afrf04(), null));
|
|
12482
12490
|
var tmp_15 = this;
|
|
12483
12491
|
// Inline function 'org.kodein.di.instance' call
|
|
12484
12492
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12486,7 +12494,7 @@
|
|
|
12486
12494
|
var tmp$ret$8 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
12487
12495
|
var tmp_17 = Instance(di, tmp$ret$8, null);
|
|
12488
12496
|
var tmp_18 = KProperty1;
|
|
12489
|
-
tmp_15.
|
|
12497
|
+
tmp_15.lb6_1 = tmp_17.k67(this, getPropertyCallableRef('clientStatisticsInteractor', 1, tmp_18, SingleGameStoreContract$_get_clientStatisticsInteractor_$ref_5vsroi(), null));
|
|
12490
12498
|
var tmp_19 = this;
|
|
12491
12499
|
// Inline function 'org.kodein.di.instance' call
|
|
12492
12500
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12494,7 +12502,7 @@
|
|
|
12494
12502
|
var tmp$ret$10 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
12495
12503
|
var tmp_21 = Instance(di, tmp$ret$10, null);
|
|
12496
12504
|
var tmp_22 = KProperty1;
|
|
12497
|
-
tmp_19.
|
|
12505
|
+
tmp_19.mb6_1 = tmp_21.k67(this, getPropertyCallableRef('asyncProvider', 1, tmp_22, SingleGameStoreContract$_get_asyncProvider_$ref_50jleg(), null));
|
|
12498
12506
|
var tmp_23 = this;
|
|
12499
12507
|
// Inline function 'org.kodein.di.instance' call
|
|
12500
12508
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12502,7 +12510,7 @@
|
|
|
12502
12510
|
var tmp$ret$12 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
12503
12511
|
var tmp_25 = Instance(di, tmp$ret$12, null);
|
|
12504
12512
|
var tmp_26 = KProperty1;
|
|
12505
|
-
tmp_23.
|
|
12513
|
+
tmp_23.nb6_1 = tmp_25.k67(this, getPropertyCallableRef('persistentAppStateInteractor', 1, tmp_26, SingleGameStoreContract$_get_persistentAppStateInteractor_$ref_dg0kf9(), null));
|
|
12506
12514
|
var tmp_27 = this;
|
|
12507
12515
|
// Inline function 'org.kodein.di.instance' call
|
|
12508
12516
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12510,7 +12518,7 @@
|
|
|
12510
12518
|
var tmp$ret$14 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
|
|
12511
12519
|
var tmp_29 = Instance(di, tmp$ret$14, null);
|
|
12512
12520
|
var tmp_30 = KProperty1;
|
|
12513
|
-
tmp_27.
|
|
12521
|
+
tmp_27.ob6_1 = tmp_29.k67(this, getPropertyCallableRef('gameClientConfig', 1, tmp_30, SingleGameStoreContract$_get_gameClientConfig_$ref_d6qhm(), null));
|
|
12514
12522
|
var tmp_31 = this;
|
|
12515
12523
|
// Inline function 'org.kodein.di.instance' call
|
|
12516
12524
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12518,7 +12526,7 @@
|
|
|
12518
12526
|
var tmp$ret$16 = isInterface(tmp_32, TypeToken) ? tmp_32 : THROW_CCE();
|
|
12519
12527
|
var tmp_33 = Instance(di, tmp$ret$16, null);
|
|
12520
12528
|
var tmp_34 = KProperty1;
|
|
12521
|
-
tmp_31.
|
|
12529
|
+
tmp_31.pb6_1 = tmp_33.k67(this, getPropertyCallableRef('botConfig', 1, tmp_34, SingleGameStoreContract$_get_botConfig_$ref_liacqc(), null));
|
|
12522
12530
|
var tmp_35 = this;
|
|
12523
12531
|
// Inline function 'org.kodein.di.instance' call
|
|
12524
12532
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12526,7 +12534,7 @@
|
|
|
12526
12534
|
var tmp$ret$18 = isInterface(tmp_36, TypeToken) ? tmp_36 : THROW_CCE();
|
|
12527
12535
|
var tmp_37 = Instance(di, tmp$ret$18, null);
|
|
12528
12536
|
var tmp_38 = KProperty1;
|
|
12529
|
-
tmp_35.
|
|
12537
|
+
tmp_35.qb6_1 = tmp_37.k67(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_38, SingleGameStoreContract$_get_lastCardInteractor_$ref_51ar2y(), null));
|
|
12530
12538
|
var tmp_39 = this;
|
|
12531
12539
|
// Inline function 'org.kodein.di.instance' call
|
|
12532
12540
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12534,7 +12542,7 @@
|
|
|
12534
12542
|
var tmp$ret$20 = isInterface(tmp_40, TypeToken) ? tmp_40 : THROW_CCE();
|
|
12535
12543
|
var tmp_41 = Instance(di, tmp$ret$20, null);
|
|
12536
12544
|
var tmp_42 = KProperty1;
|
|
12537
|
-
tmp_39.
|
|
12545
|
+
tmp_39.rb6_1 = tmp_41.k67(this, getPropertyCallableRef('playerTurnTagProvider', 1, tmp_42, SingleGameStoreContract$_get_playerTurnTagProvider_$ref_ng35ug(), null));
|
|
12538
12546
|
var tmp_43 = this;
|
|
12539
12547
|
// Inline function 'org.kodein.di.instance' call
|
|
12540
12548
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12542,24 +12550,24 @@
|
|
|
12542
12550
|
var tmp$ret$22 = isInterface(tmp_44, TypeToken) ? tmp_44 : THROW_CCE();
|
|
12543
12551
|
var tmp_45 = Instance(di, tmp$ret$22, null);
|
|
12544
12552
|
var tmp_46 = KProperty1;
|
|
12545
|
-
tmp_43.
|
|
12553
|
+
tmp_43.sb6_1 = tmp_45.k67(this, getPropertyCallableRef('transitionsReducer', 1, tmp_46, SingleGameStoreContract$_get_transitionsReducer_$ref_ejeb2v(), null));
|
|
12546
12554
|
}
|
|
12547
12555
|
protoOf(SingleGameStoreContract).f94 = function () {
|
|
12548
|
-
return plus(plus(plus(plus(plus(this.
|
|
12556
|
+
return plus(plus(plus(plus(plus(this.db6_1.f94(), _get_transitionsReducer__bsis4j_0(this).xb5(this.cb6_1)), this.fb6_1.f94()), this.eb6_1.f94()), this.gb6_1.f94()), this.hb6_1.f94());
|
|
12549
12557
|
};
|
|
12550
12558
|
protoOf(SingleGameStoreContract).g94 = function () {
|
|
12551
12559
|
var messagesMiddleware = new MessagesMiddleware(_get_messageFactory__6vg0vc_1(this), _get_pointsInteractor__5t71wv_0(this), _get_teamsLogicProvider__u10pm6_0(this));
|
|
12552
|
-
var tmp = plus(plus(plus(plus(plus(_get_transitionsReducer__bsis4j_0(this).g94(), this.
|
|
12553
|
-
var tmp_0 = messagesMiddleware.
|
|
12560
|
+
var tmp = plus(plus(plus(plus(plus(_get_transitionsReducer__bsis4j_0(this).g94(), this.db6_1.g94()), this.fb6_1.g94()), this.eb6_1.g94()), this.gb6_1.g94()), this.hb6_1.g94());
|
|
12561
|
+
var tmp_0 = messagesMiddleware.tb6();
|
|
12554
12562
|
var tmp_1 = announceCombinationMiddleware(_get_playerTurnTagProvider__7cizx8_1(this));
|
|
12555
12563
|
var tmp_2 = playerTurnTimeoutMiddleware(_get_asyncProvider__jbpyhw_1(this));
|
|
12556
12564
|
var tmp_3 = _get_botConfig__cpaxzc_0(this).isDelayForBot;
|
|
12557
12565
|
var tmp_4 = _get_botConfig__cpaxzc_0(this).simulateBotThinkingDelay ? Default_getInstance() : null;
|
|
12558
|
-
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.
|
|
12566
|
+
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.cb6_1, _get_clientStatisticsInteractor__s4ngf8(this)), exitAndSaveGameMiddleware(this.cb6_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))]));
|
|
12559
12567
|
var tmp_6;
|
|
12560
12568
|
if (_get_botConfig__cpaxzc_0(this).autoStepLastCard) {
|
|
12561
12569
|
var tmp_7 = _get_lastCardInteractor__h6lq3w_0(this);
|
|
12562
|
-
tmp_6 = listOfNotNull([putPlayerLastCardMiddleware(tmp_7, SingleGameStoreContract$_get_middlewares_$lambda_dj4vza_0(this)), !_get_gameClientConfig__xfscic_2(this).isAutoStepCurrentPlayer ? clientPutCurrentPlayerLastCardMiddleware(this.
|
|
12570
|
+
tmp_6 = listOfNotNull([putPlayerLastCardMiddleware(tmp_7, SingleGameStoreContract$_get_middlewares_$lambda_dj4vza_0(this)), !_get_gameClientConfig__xfscic_2(this).isAutoStepCurrentPlayer ? clientPutCurrentPlayerLastCardMiddleware(this.cb6_1, _get_lastCardInteractor__h6lq3w_0(this)) : null]);
|
|
12563
12571
|
} else {
|
|
12564
12572
|
tmp_6 = emptyList();
|
|
12565
12573
|
}
|
|
@@ -12620,7 +12628,7 @@
|
|
|
12620
12628
|
var interceptableAction = action;
|
|
12621
12629
|
var tmp0_safe_receiver = get_clientPayloadOrNull_0(state);
|
|
12622
12630
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p9x_1;
|
|
12623
|
-
var expectant = tmp1_safe_receiver == null ? null :
|
|
12631
|
+
var expectant = tmp1_safe_receiver == null ? null : getOrNullInterceptable(tmp1_safe_receiver, getKClassFromExpression(interceptableAction));
|
|
12624
12632
|
if (!(expectant == null) && equals(action, expectant.k9w_1)) {
|
|
12625
12633
|
if (expectant.m9w()) {
|
|
12626
12634
|
$gameLogger.w(VOID, 'applyExpectant: Expectant ' + toString_0(expectant) + ', should be started');
|
|
@@ -12658,8 +12666,8 @@
|
|
|
12658
12666
|
return new announceCombinationMiddleware$$inlined$middlewareForActionType$1(playerTurnTagProvider);
|
|
12659
12667
|
}
|
|
12660
12668
|
function clientCheckCombinationsMiddleware$$inlined$middlewareForActionType$1($combinationProvider, $playerTurnTagProvider) {
|
|
12661
|
-
this.
|
|
12662
|
-
this.
|
|
12669
|
+
this.ub6_1 = $combinationProvider;
|
|
12670
|
+
this.vb6_1 = $playerTurnTagProvider;
|
|
12663
12671
|
}
|
|
12664
12672
|
protoOf(clientCheckCombinationsMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
12665
12673
|
return action instanceof PutCardAndCheckCombinationsAction;
|
|
@@ -12671,7 +12679,7 @@
|
|
|
12671
12679
|
var player = get_currentPlayer(table);
|
|
12672
12680
|
var playerCombinations = player.d70_1.t71_1;
|
|
12673
12681
|
// Inline function 'kotlin.collections.map' call
|
|
12674
|
-
var this_0 = this.
|
|
12682
|
+
var this_0 = this.ub6_1.i8q(playerCombinations);
|
|
12675
12683
|
// Inline function 'kotlin.collections.mapTo' call
|
|
12676
12684
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
12677
12685
|
var _iterator__ex2g4s = this_0.j();
|
|
@@ -12682,10 +12690,10 @@
|
|
|
12682
12690
|
}
|
|
12683
12691
|
var findFirstRoundCombinations = destination;
|
|
12684
12692
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
12685
|
-
var tmp0_elvis_lhs = action_0.
|
|
12693
|
+
var tmp0_elvis_lhs = action_0.gb4_1;
|
|
12686
12694
|
var acceptedCombinations = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
12687
12695
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
12688
|
-
var tmp0_elvis_lhs_0 = action_0.
|
|
12696
|
+
var tmp0_elvis_lhs_0 = action_0.hb4_1;
|
|
12689
12697
|
var declinedCombinations = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
|
|
12690
12698
|
var tmp;
|
|
12691
12699
|
var tmp_0;
|
|
@@ -12779,7 +12787,7 @@
|
|
|
12779
12787
|
if (tmp_0) {
|
|
12780
12788
|
tmp = new CombinationToAnnounceAction(findFirstRoundCombinations, acceptedCombinations, declinedCombinations);
|
|
12781
12789
|
} else {
|
|
12782
|
-
var tmp0_safe_receiver = this.
|
|
12790
|
+
var tmp0_safe_receiver = this.ub6_1.j8q(action_0.fb4_1.m6k_1, playerCombinations, table.config.rules.oneTryToProtectBella);
|
|
12783
12791
|
var findBellaCombination = tmp0_safe_receiver == null ? null : mapFromDetailed(tmp0_safe_receiver);
|
|
12784
12792
|
var tmp_6;
|
|
12785
12793
|
var tmp_7;
|
|
@@ -12853,10 +12861,10 @@
|
|
|
12853
12861
|
tmp_11 = null;
|
|
12854
12862
|
}
|
|
12855
12863
|
var tmp4_combinations = tmp_11;
|
|
12856
|
-
var tmp5_card = action_0.
|
|
12864
|
+
var tmp5_card = action_0.fb4_1.m6k_1;
|
|
12857
12865
|
var tmp1_cardNumber = table.cardsOnTable.m();
|
|
12858
12866
|
var tmp2_round = table.gameInfo.round;
|
|
12859
|
-
var tmp6_tag = this.
|
|
12867
|
+
var tmp6_tag = this.vb6_1.r8q(tmp2_round, VOID, tmp1_cardNumber);
|
|
12860
12868
|
tmp_6 = new CardFromClientAction(tmp3_playerId, false, tmp6_tag, tmp5_card, tmp4_combinations);
|
|
12861
12869
|
}
|
|
12862
12870
|
tmp = tmp_6;
|
|
@@ -12868,7 +12876,7 @@
|
|
|
12868
12876
|
return this.m6p(store, next, action);
|
|
12869
12877
|
};
|
|
12870
12878
|
function announceCombinationMiddleware$$inlined$middlewareForActionType$1($playerTurnTagProvider) {
|
|
12871
|
-
this.
|
|
12879
|
+
this.wb6_1 = $playerTurnTagProvider;
|
|
12872
12880
|
}
|
|
12873
12881
|
protoOf(announceCombinationMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
12874
12882
|
return action instanceof AnnouncedCombinationAction;
|
|
@@ -12892,16 +12900,16 @@
|
|
|
12892
12900
|
}
|
|
12893
12901
|
var combinationsState = tmp$ret$1;
|
|
12894
12902
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
12895
|
-
var tmp0_elvis_lhs = combinationsState.
|
|
12903
|
+
var tmp0_elvis_lhs = combinationsState.yb6_1;
|
|
12896
12904
|
var acceptedCombinations = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
12897
12905
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
12898
|
-
var tmp0_elvis_lhs_0 = combinationsState.
|
|
12906
|
+
var tmp0_elvis_lhs_0 = combinationsState.zb6_1;
|
|
12899
12907
|
var tmp$ret$4 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
|
|
12900
|
-
var declinedCombinations = plus(combinationsState.
|
|
12901
|
-
if (action_0.
|
|
12902
|
-
acceptedCombinations = plus(acceptedCombinations, combinationsState.
|
|
12908
|
+
var declinedCombinations = plus(combinationsState.xb6_1, tmp$ret$4);
|
|
12909
|
+
if (action_0.ab7_1) {
|
|
12910
|
+
acceptedCombinations = plus(acceptedCombinations, combinationsState.xb6_1);
|
|
12903
12911
|
} else {
|
|
12904
|
-
declinedCombinations = plus(declinedCombinations, combinationsState.
|
|
12912
|
+
declinedCombinations = plus(declinedCombinations, combinationsState.xb6_1);
|
|
12905
12913
|
}
|
|
12906
12914
|
var card = clientState.y9x_1;
|
|
12907
12915
|
if (!(card == null)) {
|
|
@@ -12910,8 +12918,8 @@
|
|
|
12910
12918
|
var table = store.state.y6s();
|
|
12911
12919
|
var tmp = store.dispatch;
|
|
12912
12920
|
var tmp0_playerId = get_currentPlayer(table).playerId;
|
|
12913
|
-
var tmp1_isAccepted = action_0.
|
|
12914
|
-
var tmp2_tag = this.
|
|
12921
|
+
var tmp1_isAccepted = action_0.ab7_1;
|
|
12922
|
+
var tmp2_tag = this.wb6_1.p8q(table.sceneInfo, table.gameInfo.round);
|
|
12915
12923
|
tmp(new CombinationChoiceFromClientAction(tmp0_playerId, false, tmp2_tag, tmp1_isAccepted));
|
|
12916
12924
|
}
|
|
12917
12925
|
};
|
|
@@ -12923,7 +12931,7 @@
|
|
|
12923
12931
|
return new finishingGameWhenPlayerExitsMiddleware$$inlined$middlewareForActionType$1(gameClientConfig);
|
|
12924
12932
|
}
|
|
12925
12933
|
function finishingGameWhenPlayerExitsMiddleware$$inlined$middlewareForActionType$1($gameClientConfig) {
|
|
12926
|
-
this.
|
|
12934
|
+
this.bb7_1 = $gameClientConfig;
|
|
12927
12935
|
}
|
|
12928
12936
|
protoOf(finishingGameWhenPlayerExitsMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
12929
12937
|
return action instanceof ExitFromClientAction;
|
|
@@ -12933,7 +12941,7 @@
|
|
|
12933
12941
|
var table = store.state.h6s_1;
|
|
12934
12942
|
var tmp = store.dispatch;
|
|
12935
12943
|
var tmp_0;
|
|
12936
|
-
if (this.
|
|
12944
|
+
if (this.bb7_1.sessionAnalytics) {
|
|
12937
12945
|
var tmp_1 = Companion_instance_0;
|
|
12938
12946
|
var tmp_2 = ProcessingReason_getInstance();
|
|
12939
12947
|
var tmp1_elvis_lhs = table == null ? null : table.isGameFinished;
|
|
@@ -12955,7 +12963,7 @@
|
|
|
12955
12963
|
return new releaseBufferTriggerMiddleware$$inlined$middlewareForActionType$1(bufferInteractor);
|
|
12956
12964
|
}
|
|
12957
12965
|
function releaseBufferTriggerMiddleware$$inlined$middlewareForActionType$1($bufferInteractor) {
|
|
12958
|
-
this.
|
|
12966
|
+
this.cb7_1 = $bufferInteractor;
|
|
12959
12967
|
}
|
|
12960
12968
|
protoOf(releaseBufferTriggerMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
12961
12969
|
return isInterface(action, ReleaseBufferTriggerAction);
|
|
@@ -12964,14 +12972,14 @@
|
|
|
12964
12972
|
var action_0 = isInterface(action, ReleaseBufferTriggerAction) ? action : THROW_CCE();
|
|
12965
12973
|
next(action_0);
|
|
12966
12974
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
12967
|
-
this.
|
|
12975
|
+
this.cb7_1.x9w();
|
|
12968
12976
|
var state = store.state;
|
|
12969
12977
|
var bufferedActions = get_clientPayload_0(state).q9x_1;
|
|
12970
12978
|
var tmp;
|
|
12971
12979
|
var tmp_0;
|
|
12972
12980
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
12973
12981
|
if (!bufferedActions.p()) {
|
|
12974
|
-
tmp_0 = this.
|
|
12982
|
+
tmp_0 = this.cb7_1.z9w(state, action_0);
|
|
12975
12983
|
} else {
|
|
12976
12984
|
tmp_0 = false;
|
|
12977
12985
|
}
|
|
@@ -13007,9 +13015,9 @@
|
|
|
13007
13015
|
return new clientHostDealerMiddleware$$inlined$middlewareForActionType$1(currentPlayerId, dealerInteractor, tagProvider);
|
|
13008
13016
|
}
|
|
13009
13017
|
function clientHostDealerMiddleware$$inlined$middlewareForActionType$1($currentPlayerId, $dealerInteractor, $tagProvider) {
|
|
13010
|
-
this.
|
|
13011
|
-
this.
|
|
13012
|
-
this.
|
|
13018
|
+
this.db7_1 = $currentPlayerId;
|
|
13019
|
+
this.eb7_1 = $dealerInteractor;
|
|
13020
|
+
this.fb7_1 = $tagProvider;
|
|
13013
13021
|
}
|
|
13014
13022
|
protoOf(clientHostDealerMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13015
13023
|
return action instanceof MechanicAction;
|
|
@@ -13033,7 +13041,7 @@
|
|
|
13033
13041
|
var requestPayload = waitingActData.d7f_1;
|
|
13034
13042
|
if (!(requestPayload == null)) {
|
|
13035
13043
|
if (requestPayload instanceof CardDeckRequest) {
|
|
13036
|
-
if (this.
|
|
13044
|
+
if (this.db7_1 === waitingActData.a7f()) {
|
|
13037
13045
|
var tmp = store.dispatch;
|
|
13038
13046
|
// Inline function 'kotlin.collections.List' call
|
|
13039
13047
|
// Inline function 'kotlin.collections.MutableList' call
|
|
@@ -13054,7 +13062,7 @@
|
|
|
13054
13062
|
var _iterator__ex2g4s = list.j();
|
|
13055
13063
|
while (_iterator__ex2g4s.k()) {
|
|
13056
13064
|
var item = _iterator__ex2g4s.l();
|
|
13057
|
-
var tmp$ret$6 = this.
|
|
13065
|
+
var tmp$ret$6 = this.eb7_1.k8q();
|
|
13058
13066
|
destination.e(tmp$ret$6);
|
|
13059
13067
|
}
|
|
13060
13068
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -13066,8 +13074,8 @@
|
|
|
13066
13074
|
var tmp$ret$9 = Companion_instance_1.o7s(item_0);
|
|
13067
13075
|
destination_0.e(tmp$ret$9);
|
|
13068
13076
|
}
|
|
13069
|
-
var tmp3_tag = this.
|
|
13070
|
-
tmp(new RequestedCardDecksFromClientAction(destination_0, this.
|
|
13077
|
+
var tmp3_tag = this.fb7_1.m8q(action_0.d8w_1, store.state.y6s().gameInfo.round);
|
|
13078
|
+
tmp(new RequestedCardDecksFromClientAction(destination_0, this.db7_1, false, tmp3_tag));
|
|
13071
13079
|
}
|
|
13072
13080
|
} else {
|
|
13073
13081
|
noWhenBranchMatchedException();
|
|
@@ -13090,13 +13098,13 @@
|
|
|
13090
13098
|
return new expectantsTimerTickMiddleware$$inlined$middlewareForActionType$1();
|
|
13091
13099
|
}
|
|
13092
13100
|
function ExpectantTimerTag(id) {
|
|
13093
|
-
this.
|
|
13101
|
+
this.gb7_1 = id;
|
|
13094
13102
|
}
|
|
13095
13103
|
protoOf(ExpectantTimerTag).toString = function () {
|
|
13096
|
-
return 'ExpectantTimerTag(id=' + this.
|
|
13104
|
+
return 'ExpectantTimerTag(id=' + this.gb7_1 + ')';
|
|
13097
13105
|
};
|
|
13098
13106
|
protoOf(ExpectantTimerTag).hashCode = function () {
|
|
13099
|
-
return getStringHashCode(this.
|
|
13107
|
+
return getStringHashCode(this.gb7_1);
|
|
13100
13108
|
};
|
|
13101
13109
|
protoOf(ExpectantTimerTag).equals = function (other) {
|
|
13102
13110
|
if (this === other)
|
|
@@ -13104,7 +13112,7 @@
|
|
|
13104
13112
|
if (!(other instanceof ExpectantTimerTag))
|
|
13105
13113
|
return false;
|
|
13106
13114
|
var tmp0_other_with_cast = other instanceof ExpectantTimerTag ? other : THROW_CCE();
|
|
13107
|
-
if (!(this.
|
|
13115
|
+
if (!(this.gb7_1 === tmp0_other_with_cast.gb7_1))
|
|
13108
13116
|
return false;
|
|
13109
13117
|
return true;
|
|
13110
13118
|
};
|
|
@@ -13117,17 +13125,17 @@
|
|
|
13117
13125
|
var action_0 = action instanceof ExpectantLifecycleAction ? action : THROW_CCE();
|
|
13118
13126
|
var tmp;
|
|
13119
13127
|
if (action_0 instanceof ExpectantCreatedClientAction) {
|
|
13120
|
-
var expectantAction = action_0.
|
|
13128
|
+
var expectantAction = action_0.mb4_1.k9w_1;
|
|
13121
13129
|
var tmp_0;
|
|
13122
13130
|
if (expectantAction.l6n()) {
|
|
13123
|
-
tmp_0 = listOf_0(new StartTimerAction(new ExpectantTimerTag(action_0.
|
|
13131
|
+
tmp_0 = listOf_0(new StartTimerAction(new ExpectantTimerTag(action_0.mb4_1.j9w_1), toLong(store.state.y6s().config.options.timeForCountdownMillis), VOID, TimerType_DELAY_getInstance()));
|
|
13124
13132
|
} else {
|
|
13125
13133
|
tmp_0 = emptyList();
|
|
13126
13134
|
}
|
|
13127
13135
|
tmp = tmp_0;
|
|
13128
13136
|
} else {
|
|
13129
13137
|
if (action_0 instanceof ExpectantStageCompletedClientAction) {
|
|
13130
|
-
tmp = listOf_0(new ExpectantTimerFinishedClientAction(action_0.
|
|
13138
|
+
tmp = listOf_0(new ExpectantTimerFinishedClientAction(action_0.nb4_1));
|
|
13131
13139
|
} else {
|
|
13132
13140
|
if (action_0 instanceof ExpectantTimerFinishedClientAction) {
|
|
13133
13141
|
tmp = emptyList();
|
|
@@ -13157,7 +13165,7 @@
|
|
|
13157
13165
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
13158
13166
|
var timerTag = action_0.q6n_1;
|
|
13159
13167
|
if (timerTag instanceof ExpectantTimerTag) {
|
|
13160
|
-
store.dispatch(new ExpectantTimerFinishedClientAction(timerTag.
|
|
13168
|
+
store.dispatch(new ExpectantTimerFinishedClientAction(timerTag.gb7_1));
|
|
13161
13169
|
}
|
|
13162
13170
|
next(action_0);
|
|
13163
13171
|
};
|
|
@@ -13180,8 +13188,8 @@
|
|
|
13180
13188
|
return null;
|
|
13181
13189
|
}
|
|
13182
13190
|
function clientPutCurrentPlayerLastCardMiddleware$$inlined$middlewareForActionType$1($currentPlayerId, $lastCardInteractor) {
|
|
13183
|
-
this.
|
|
13184
|
-
this.
|
|
13191
|
+
this.hb7_1 = $currentPlayerId;
|
|
13192
|
+
this.ib7_1 = $lastCardInteractor;
|
|
13185
13193
|
}
|
|
13186
13194
|
protoOf(clientPutCurrentPlayerLastCardMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13187
13195
|
return isInterface(action, CardsMechanicAction);
|
|
@@ -13190,7 +13198,7 @@
|
|
|
13190
13198
|
var action_0 = isInterface(action, CardsMechanicAction) ? action : THROW_CCE();
|
|
13191
13199
|
next(action_0);
|
|
13192
13200
|
var table = store.state.y6s();
|
|
13193
|
-
var newAction = getCardActionIfNeeded(action_0, this.
|
|
13201
|
+
var newAction = getCardActionIfNeeded(action_0, this.hb7_1, table, this.ib7_1);
|
|
13194
13202
|
if (newAction == null)
|
|
13195
13203
|
null;
|
|
13196
13204
|
else {
|
|
@@ -13205,7 +13213,7 @@
|
|
|
13205
13213
|
// Inline function 'kotlin.with' call
|
|
13206
13214
|
var $this$with = store.state.y6s();
|
|
13207
13215
|
var player = getPlayer($this$with.players, playerId);
|
|
13208
|
-
store.dispatch(new MessageMechanicAction($this.
|
|
13216
|
+
store.dispatch(new MessageMechanicAction($this.yb5_1.j8p(player.b70_1.v74(), selectedSuit, player.y6z_1)));
|
|
13209
13217
|
}
|
|
13210
13218
|
function onCardMessages($this, store, playerId, combinations) {
|
|
13211
13219
|
// Inline function 'kotlin.with' call
|
|
@@ -13226,7 +13234,7 @@
|
|
|
13226
13234
|
var tmp$ret$0 = item.i7f_1;
|
|
13227
13235
|
destination.e(tmp$ret$0);
|
|
13228
13236
|
}
|
|
13229
|
-
tmp_0(new MessageMechanicAction($this.
|
|
13237
|
+
tmp_0(new MessageMechanicAction($this.yb5_1.h8p(destination, player.y6z_1)));
|
|
13230
13238
|
tmp = Unit_instance;
|
|
13231
13239
|
}
|
|
13232
13240
|
}
|
|
@@ -13256,13 +13264,13 @@
|
|
|
13256
13264
|
var tmp$ret$1 = item.i7f_1;
|
|
13257
13265
|
destination.e(tmp$ret$1);
|
|
13258
13266
|
}
|
|
13259
|
-
tmp(new MessageMechanicAction($this.
|
|
13267
|
+
tmp(new MessageMechanicAction($this.yb5_1.h8p(destination, player.y6z_1)));
|
|
13260
13268
|
}
|
|
13261
13269
|
}
|
|
13262
13270
|
function onWinnerCombinationMessages($this, store, winnerCombinations) {
|
|
13263
13271
|
// Inline function 'kotlin.with' call
|
|
13264
13272
|
var $this$with = store.state.y6s();
|
|
13265
|
-
var message = $this.
|
|
13273
|
+
var message = $this.yb5_1.i8p(winnerCombinations, $this$with.players);
|
|
13266
13274
|
store.dispatch(new MessageMechanicAction(message));
|
|
13267
13275
|
}
|
|
13268
13276
|
function onSceneMessages($this, store, action) {
|
|
@@ -13272,7 +13280,7 @@
|
|
|
13272
13280
|
if (tmp0_subject === 'TRADE') {
|
|
13273
13281
|
var tmp;
|
|
13274
13282
|
if (table.config.playersMode.isTeamGame) {
|
|
13275
|
-
var tmp0 = $this.
|
|
13283
|
+
var tmp0 = $this.ab6_1.w8o(table.players);
|
|
13276
13284
|
var tmp$ret$0;
|
|
13277
13285
|
$l$block_0: {
|
|
13278
13286
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -13334,7 +13342,7 @@
|
|
|
13334
13342
|
}
|
|
13335
13343
|
var hasWinners = tmp;
|
|
13336
13344
|
if (hasWinners) {
|
|
13337
|
-
store.dispatch(new MessageMechanicAction($this.
|
|
13345
|
+
store.dispatch(new MessageMechanicAction($this.yb5_1.m8p('ONE_MORE_ROUND_NEEDED_ID')));
|
|
13338
13346
|
}
|
|
13339
13347
|
var tmp0_1 = action.sceneData;
|
|
13340
13348
|
var tmp$ret$6;
|
|
@@ -13347,10 +13355,10 @@
|
|
|
13347
13355
|
throw new MechanicException('Required ' + getKClass(TradeSceneData).ab() + ', current scene is ' + toString_0(tmp0_1));
|
|
13348
13356
|
}
|
|
13349
13357
|
var scene = tmp$ret$6;
|
|
13350
|
-
store.dispatch(new MessageMechanicAction($this.
|
|
13358
|
+
store.dispatch(new MessageMechanicAction($this.yb5_1.g8p(getPlayer(table.players, scene.r7g_1).y6z_1, scene.p7g_1)));
|
|
13351
13359
|
var randomData = scene.o7g_1;
|
|
13352
13360
|
if (!(randomData == null)) {
|
|
13353
|
-
store.dispatch(new MessageMechanicAction($this.
|
|
13361
|
+
store.dispatch(new MessageMechanicAction($this.yb5_1.q8p(randomData)));
|
|
13354
13362
|
}
|
|
13355
13363
|
} else if (tmp0_subject === 'CALC_POINTS') {
|
|
13356
13364
|
var tmp0_2 = action.sceneData;
|
|
@@ -13368,7 +13376,7 @@
|
|
|
13368
13376
|
var whoChoseSuitPlayerId = getWhoChoseSuit(table_0.players).playerId;
|
|
13369
13377
|
var tmp_3 = store.dispatch;
|
|
13370
13378
|
// Inline function 'kotlin.collections.map' call
|
|
13371
|
-
var this_0 = $this.
|
|
13379
|
+
var this_0 = $this.zb5_1.d8v(scene_0.h7g_1);
|
|
13372
13380
|
// Inline function 'kotlin.collections.mapTo' call
|
|
13373
13381
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
13374
13382
|
var _iterator__ex2g4s_2 = this_0.j();
|
|
@@ -13388,13 +13396,13 @@
|
|
|
13388
13396
|
var tmp$ret$11 = new PointItemViewModel(destination_0, tmp0_points);
|
|
13389
13397
|
destination.e(tmp$ret$11);
|
|
13390
13398
|
}
|
|
13391
|
-
tmp_3(new MessageMechanicAction($this.
|
|
13399
|
+
tmp_3(new MessageMechanicAction($this.yb5_1.k8p(table_0.gameInfo.round, destination, scene_0.l7g(whoChoseSuitPlayerId), scene_0.k7g(whoChoseSuitPlayerId), scene_0.e7g_1)));
|
|
13392
13400
|
}
|
|
13393
13401
|
}
|
|
13394
13402
|
function onExpectantCreatedMessages($this, store, action, excludePlayersIds) {
|
|
13395
13403
|
// Inline function 'kotlin.with' call
|
|
13396
13404
|
var $this$with = store.state.y6s();
|
|
13397
|
-
var expectantAction = action.
|
|
13405
|
+
var expectantAction = action.mb4_1.k9w_1;
|
|
13398
13406
|
if (expectantAction instanceof CombinationChoiceMechanicAction) {
|
|
13399
13407
|
if (excludePlayersIds.v1(expectantAction.playerId)) {
|
|
13400
13408
|
return Unit_instance;
|
|
@@ -13402,12 +13410,12 @@
|
|
|
13402
13410
|
onCombinationChoiceMessages($this, store, expectantAction.playerId, expectantAction.i93_1);
|
|
13403
13411
|
} else {
|
|
13404
13412
|
if (expectantAction instanceof RestartGameMechanicAction) {
|
|
13405
|
-
var message = $this.
|
|
13413
|
+
var message = $this.yb5_1.m8p('GAME_RESTART_EVENT_ID');
|
|
13406
13414
|
store.dispatch(new MessageMechanicAction(message));
|
|
13407
13415
|
store.dispatch(new InfoMessageAction(message));
|
|
13408
13416
|
} else {
|
|
13409
13417
|
if (expectantAction instanceof WinnerCombinationsMechanicAction) {
|
|
13410
|
-
var message_0 = $this.
|
|
13418
|
+
var message_0 = $this.yb5_1.i8p(expectantAction.m93_1, $this$with.players);
|
|
13411
13419
|
store.dispatch(new InfoMessageAction(message_0));
|
|
13412
13420
|
}
|
|
13413
13421
|
}
|
|
@@ -13519,14 +13527,14 @@
|
|
|
13519
13527
|
};
|
|
13520
13528
|
}
|
|
13521
13529
|
function MessagesMiddleware(factory, pointsInteractor, teamsLogicProvider) {
|
|
13522
|
-
this.
|
|
13523
|
-
this.
|
|
13524
|
-
this.
|
|
13530
|
+
this.yb5_1 = factory;
|
|
13531
|
+
this.zb5_1 = pointsInteractor;
|
|
13532
|
+
this.ab6_1 = teamsLogicProvider;
|
|
13525
13533
|
}
|
|
13526
|
-
protoOf(MessagesMiddleware).
|
|
13534
|
+
protoOf(MessagesMiddleware).tb6 = function () {
|
|
13527
13535
|
return middleware(MessagesMiddleware$middlewareEngine$lambda(this));
|
|
13528
13536
|
};
|
|
13529
|
-
protoOf(MessagesMiddleware).
|
|
13537
|
+
protoOf(MessagesMiddleware).bb6 = function (currentPlayerId) {
|
|
13530
13538
|
return middleware(MessagesMiddleware$middlewareClient$lambda(this, currentPlayerId));
|
|
13531
13539
|
};
|
|
13532
13540
|
function startResetTimerForInfoMessageMiddleware() {
|
|
@@ -13538,13 +13546,13 @@
|
|
|
13538
13546
|
return new resetInfoMessageWhenShownMiddleware$$inlined$middlewareForActionType$1();
|
|
13539
13547
|
}
|
|
13540
13548
|
function ResetMessageTimerTag(message) {
|
|
13541
|
-
this.
|
|
13549
|
+
this.jb7_1 = message;
|
|
13542
13550
|
}
|
|
13543
13551
|
protoOf(ResetMessageTimerTag).toString = function () {
|
|
13544
|
-
return 'ResetMessageTimerTag(message=' + toString(this.
|
|
13552
|
+
return 'ResetMessageTimerTag(message=' + toString(this.jb7_1) + ')';
|
|
13545
13553
|
};
|
|
13546
13554
|
protoOf(ResetMessageTimerTag).hashCode = function () {
|
|
13547
|
-
return hashCode(this.
|
|
13555
|
+
return hashCode(this.jb7_1);
|
|
13548
13556
|
};
|
|
13549
13557
|
protoOf(ResetMessageTimerTag).equals = function (other) {
|
|
13550
13558
|
if (this === other)
|
|
@@ -13552,7 +13560,7 @@
|
|
|
13552
13560
|
if (!(other instanceof ResetMessageTimerTag))
|
|
13553
13561
|
return false;
|
|
13554
13562
|
var tmp0_other_with_cast = other instanceof ResetMessageTimerTag ? other : THROW_CCE();
|
|
13555
|
-
if (!equals(this.
|
|
13563
|
+
if (!equals(this.jb7_1, tmp0_other_with_cast.jb7_1))
|
|
13556
13564
|
return false;
|
|
13557
13565
|
return true;
|
|
13558
13566
|
};
|
|
@@ -13563,12 +13571,12 @@
|
|
|
13563
13571
|
};
|
|
13564
13572
|
protoOf(startResetTimerForInfoMessageMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
13565
13573
|
var action_0 = action instanceof InfoMessageAction ? action : THROW_CCE();
|
|
13566
|
-
if (!(action_0.
|
|
13574
|
+
if (!(action_0.ib4_1 == null)) {
|
|
13567
13575
|
var clientPayload = get_clientPayload_0(store.state);
|
|
13568
13576
|
if (!(clientPayload.o9x_1 == null)) {
|
|
13569
13577
|
store.dispatch(new StopTimerAction(new ResetMessageTimerTag(clientPayload.o9x_1)));
|
|
13570
13578
|
}
|
|
13571
|
-
store.dispatch(new StartTimerAction(new ResetMessageTimerTag(action_0.
|
|
13579
|
+
store.dispatch(new StartTimerAction(new ResetMessageTimerTag(action_0.ib4_1), new Long(1000, 0), VOID, TimerType_DELAY_getInstance()));
|
|
13572
13580
|
}
|
|
13573
13581
|
next(action_0);
|
|
13574
13582
|
};
|
|
@@ -13585,7 +13593,7 @@
|
|
|
13585
13593
|
var timerTag = action_0.q6n_1;
|
|
13586
13594
|
if (timerTag instanceof ResetMessageTimerTag) {
|
|
13587
13595
|
var clientPayload = get_clientPayload_0(store.state);
|
|
13588
|
-
if (equals(clientPayload.o9x_1, timerTag.
|
|
13596
|
+
if (equals(clientPayload.o9x_1, timerTag.jb7_1)) {
|
|
13589
13597
|
store.dispatch(new InfoMessageAction(null));
|
|
13590
13598
|
}
|
|
13591
13599
|
}
|
|
@@ -13599,7 +13607,7 @@
|
|
|
13599
13607
|
return new clientConsumeFromClientActionsMiddleware$$inlined$middlewareForActionType$1(gameMechanicLogicInteractor);
|
|
13600
13608
|
}
|
|
13601
13609
|
function clientConsumeFromClientActionsMiddleware$$inlined$middlewareForActionType$1($gameMechanicLogicInteractor) {
|
|
13602
|
-
this.
|
|
13610
|
+
this.kb7_1 = $gameMechanicLogicInteractor;
|
|
13603
13611
|
}
|
|
13604
13612
|
protoOf(clientConsumeFromClientActionsMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13605
13613
|
return action instanceof FromClientAction;
|
|
@@ -13617,23 +13625,23 @@
|
|
|
13617
13625
|
next(tmp4);
|
|
13618
13626
|
var tmp;
|
|
13619
13627
|
if (tmp4 instanceof MessageFromClientAction) {
|
|
13620
|
-
tmp = this.
|
|
13628
|
+
tmp = this.kb7_1.f8u(tmp4, table.players);
|
|
13621
13629
|
} else {
|
|
13622
13630
|
if (tmp4 instanceof PartnerSelectedFromClientAction) {
|
|
13623
|
-
tmp = this.
|
|
13631
|
+
tmp = this.kb7_1.g8u(tmp4, table.players);
|
|
13624
13632
|
} else {
|
|
13625
13633
|
if (tmp4 instanceof PlayerReadyFromClientAction) {
|
|
13626
|
-
tmp = this.
|
|
13634
|
+
tmp = this.kb7_1.h8u(tmp4);
|
|
13627
13635
|
} else {
|
|
13628
13636
|
if (tmp4 instanceof SuitChoiceFromClientAction) {
|
|
13629
|
-
tmp = this.
|
|
13637
|
+
tmp = this.kb7_1.i8u(tmp4, table.players, table.config);
|
|
13630
13638
|
} else {
|
|
13631
13639
|
if (tmp4 instanceof CombinationChoiceFromClientAction) {
|
|
13632
|
-
tmp = this.
|
|
13640
|
+
tmp = this.kb7_1.j8u(tmp4, table);
|
|
13633
13641
|
} else {
|
|
13634
13642
|
if (tmp4 instanceof CardFromClientAction) {
|
|
13635
13643
|
var newCardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(tmp4.x7r_1, table.cardsOnTable.m(), tmp4.a7s_1));
|
|
13636
|
-
var cardMechanicAction = this.
|
|
13644
|
+
var cardMechanicAction = this.kb7_1.k8u(tmp4, newCardsOnTheTable, table.players, table.config);
|
|
13637
13645
|
tmp = cardMechanicAction;
|
|
13638
13646
|
} else {
|
|
13639
13647
|
tmp = null;
|
|
@@ -13668,7 +13676,7 @@
|
|
|
13668
13676
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
13669
13677
|
var clientPayload = get_clientPayload_0(state);
|
|
13670
13678
|
var tmp0_subject = action_0.l8w_1;
|
|
13671
|
-
return tmp0_subject === 'CHOOSE_PARTNER' || tmp0_subject === 'TRADE' || (tmp0_subject === 'EARN_POINTS' || tmp0_subject === 'CALC_POINTS') ? state.w8z(VOID, clientPayload.
|
|
13679
|
+
return tmp0_subject === 'CHOOSE_PARTNER' || tmp0_subject === 'TRADE' || (tmp0_subject === 'EARN_POINTS' || tmp0_subject === 'CALC_POINTS') ? state.w8z(VOID, clientPayload.lb7(VOID, VOID, VOID, VOID, VOID, VOID, false)) : state;
|
|
13672
13680
|
};
|
|
13673
13681
|
protoOf(sceneActivationReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
13674
13682
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -13678,9 +13686,9 @@
|
|
|
13678
13686
|
return new exitAndSaveGameMiddleware$$inlined$middlewareForActionType$1(currentPlayerId, asyncProvider, persistentAppStateInteractor);
|
|
13679
13687
|
}
|
|
13680
13688
|
function exitAndSaveGameMiddleware$o$handle$slambda($store, $action, $persistentAppStateInteractor, resultContinuation) {
|
|
13681
|
-
this.
|
|
13682
|
-
this.
|
|
13683
|
-
this.
|
|
13689
|
+
this.ub7_1 = $store;
|
|
13690
|
+
this.vb7_1 = $action;
|
|
13691
|
+
this.wb7_1 = $persistentAppStateInteractor;
|
|
13684
13692
|
CoroutineImpl.call(this, resultContinuation);
|
|
13685
13693
|
}
|
|
13686
13694
|
protoOf(exitAndSaveGameMiddleware$o$handle$slambda).c1g = function ($this$launchDefault, $completion) {
|
|
@@ -13700,16 +13708,16 @@
|
|
|
13700
13708
|
switch (tmp) {
|
|
13701
13709
|
case 0:
|
|
13702
13710
|
this.m9_1 = 2;
|
|
13703
|
-
this.
|
|
13704
|
-
if (!this.
|
|
13711
|
+
this.yb7_1 = this.ub7_1.state;
|
|
13712
|
+
if (!this.yb7_1.z6s() || this.yb7_1.y6s().isGameFinished) {
|
|
13705
13713
|
var tmp_0 = this;
|
|
13706
|
-
this.
|
|
13707
|
-
tmp_0.
|
|
13714
|
+
this.ub7_1.dispatch(new FinishGameMechanicAction(new PlayerExitReason(this.vb7_1.e90_1), this.yb7_1.y6s().isGameFinished));
|
|
13715
|
+
tmp_0.zb7_1 = Unit_instance;
|
|
13708
13716
|
this.l9_1 = 3;
|
|
13709
13717
|
continue $sm;
|
|
13710
13718
|
} else {
|
|
13711
13719
|
this.l9_1 = 1;
|
|
13712
|
-
suspendResult = this.
|
|
13720
|
+
suspendResult = this.wb7_1.m9y(this.yb7_1.y6s(), get_clientPayload_0(this.yb7_1), true, this);
|
|
13713
13721
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13714
13722
|
return suspendResult;
|
|
13715
13723
|
}
|
|
@@ -13717,7 +13725,7 @@
|
|
|
13717
13725
|
}
|
|
13718
13726
|
|
|
13719
13727
|
case 1:
|
|
13720
|
-
this.
|
|
13728
|
+
this.zb7_1 = suspendResult;
|
|
13721
13729
|
this.l9_1 = 3;
|
|
13722
13730
|
continue $sm;
|
|
13723
13731
|
case 2:
|
|
@@ -13737,8 +13745,8 @@
|
|
|
13737
13745
|
while (true);
|
|
13738
13746
|
};
|
|
13739
13747
|
protoOf(exitAndSaveGameMiddleware$o$handle$slambda).d1g = function ($this$launchDefault, completion) {
|
|
13740
|
-
var i = new exitAndSaveGameMiddleware$o$handle$slambda(this.
|
|
13741
|
-
i.
|
|
13748
|
+
var i = new exitAndSaveGameMiddleware$o$handle$slambda(this.ub7_1, this.vb7_1, this.wb7_1, completion);
|
|
13749
|
+
i.xb7_1 = $this$launchDefault;
|
|
13742
13750
|
return i;
|
|
13743
13751
|
};
|
|
13744
13752
|
function exitAndSaveGameMiddleware$o$handle$slambda_0($store, $action, $persistentAppStateInteractor, resultContinuation) {
|
|
@@ -13750,9 +13758,9 @@
|
|
|
13750
13758
|
return l;
|
|
13751
13759
|
}
|
|
13752
13760
|
function exitAndSaveGameMiddleware$$inlined$middlewareForActionType$1($currentPlayerId, $asyncProvider, $persistentAppStateInteractor) {
|
|
13753
|
-
this.
|
|
13754
|
-
this.
|
|
13755
|
-
this.
|
|
13761
|
+
this.ab8_1 = $currentPlayerId;
|
|
13762
|
+
this.bb8_1 = $asyncProvider;
|
|
13763
|
+
this.cb8_1 = $persistentAppStateInteractor;
|
|
13756
13764
|
}
|
|
13757
13765
|
protoOf(exitAndSaveGameMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13758
13766
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -13760,12 +13768,12 @@
|
|
|
13760
13768
|
protoOf(exitAndSaveGameMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
13761
13769
|
var tmp4 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
13762
13770
|
$l$block: {
|
|
13763
|
-
if (!(this.
|
|
13771
|
+
if (!(this.ab8_1 === tmp4.e90_1)) {
|
|
13764
13772
|
next(tmp4);
|
|
13765
13773
|
break $l$block;
|
|
13766
13774
|
}
|
|
13767
13775
|
next(tmp4);
|
|
13768
|
-
this.
|
|
13776
|
+
this.bb8_1.p6k(VOID, exitAndSaveGameMiddleware$o$handle$slambda_0(store, tmp4, this.cb8_1, null));
|
|
13769
13777
|
}
|
|
13770
13778
|
};
|
|
13771
13779
|
protoOf(exitAndSaveGameMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
@@ -13776,9 +13784,9 @@
|
|
|
13776
13784
|
return new gameHistoryMiddleware$$inlined$middlewareForActionType$1(asyncProvider, interactor);
|
|
13777
13785
|
}
|
|
13778
13786
|
function gameHistoryMiddleware$o$handle$slambda($action, $store, $interactor, resultContinuation) {
|
|
13779
|
-
this.
|
|
13780
|
-
this.
|
|
13781
|
-
this.
|
|
13787
|
+
this.lb8_1 = $action;
|
|
13788
|
+
this.mb8_1 = $store;
|
|
13789
|
+
this.nb8_1 = $interactor;
|
|
13782
13790
|
CoroutineImpl.call(this, resultContinuation);
|
|
13783
13791
|
}
|
|
13784
13792
|
protoOf(gameHistoryMiddleware$o$handle$slambda).c1g = function ($this$launchDefault, $completion) {
|
|
@@ -13798,22 +13806,22 @@
|
|
|
13798
13806
|
switch (tmp) {
|
|
13799
13807
|
case 0:
|
|
13800
13808
|
this.m9_1 = 4;
|
|
13801
|
-
this.
|
|
13802
|
-
var tmp_0 = this.
|
|
13809
|
+
this.pb8_1 = this.lb8_1;
|
|
13810
|
+
var tmp_0 = this.pb8_1;
|
|
13803
13811
|
if (tmp_0 instanceof RoundStartedAction) {
|
|
13804
|
-
this.
|
|
13812
|
+
this.qb8_1 = this.mb8_1.state.y6s();
|
|
13805
13813
|
this.l9_1 = 2;
|
|
13806
|
-
suspendResult = this.
|
|
13814
|
+
suspendResult = this.nb8_1.j9y(this.lb8_1.gameHistory, this.qb8_1.config, this.qb8_1.users, get_clientPayload_0(this.mb8_1.state).m9x_1.i9v_1, this);
|
|
13807
13815
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13808
13816
|
return suspendResult;
|
|
13809
13817
|
}
|
|
13810
13818
|
continue $sm;
|
|
13811
13819
|
} else {
|
|
13812
|
-
var tmp_1 = this.
|
|
13820
|
+
var tmp_1 = this.pb8_1;
|
|
13813
13821
|
if (tmp_1 instanceof RoundEndedAction) {
|
|
13814
|
-
this.
|
|
13822
|
+
this.rb8_1 = this.mb8_1.state.y6s();
|
|
13815
13823
|
this.l9_1 = 1;
|
|
13816
|
-
suspendResult = this.
|
|
13824
|
+
suspendResult = this.nb8_1.i9y(this.lb8_1.gameHistory, this.rb8_1.config, this.rb8_1.users, get_clientPayload_0(this.mb8_1.state).m9x_1.i9v_1, this);
|
|
13817
13825
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13818
13826
|
return suspendResult;
|
|
13819
13827
|
}
|
|
@@ -13847,8 +13855,8 @@
|
|
|
13847
13855
|
while (true);
|
|
13848
13856
|
};
|
|
13849
13857
|
protoOf(gameHistoryMiddleware$o$handle$slambda).d1g = function ($this$launchDefault, completion) {
|
|
13850
|
-
var i = new gameHistoryMiddleware$o$handle$slambda(this.
|
|
13851
|
-
i.
|
|
13858
|
+
var i = new gameHistoryMiddleware$o$handle$slambda(this.lb8_1, this.mb8_1, this.nb8_1, completion);
|
|
13859
|
+
i.ob8_1 = $this$launchDefault;
|
|
13852
13860
|
return i;
|
|
13853
13861
|
};
|
|
13854
13862
|
function gameHistoryMiddleware$o$handle$slambda_0($action, $store, $interactor, resultContinuation) {
|
|
@@ -13860,8 +13868,8 @@
|
|
|
13860
13868
|
return l;
|
|
13861
13869
|
}
|
|
13862
13870
|
function gameHistoryMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $interactor) {
|
|
13863
|
-
this.
|
|
13864
|
-
this.
|
|
13871
|
+
this.sb8_1 = $asyncProvider;
|
|
13872
|
+
this.tb8_1 = $interactor;
|
|
13865
13873
|
}
|
|
13866
13874
|
protoOf(gameHistoryMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13867
13875
|
return action instanceof GameAction;
|
|
@@ -13869,7 +13877,7 @@
|
|
|
13869
13877
|
protoOf(gameHistoryMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
13870
13878
|
var action_0 = action instanceof GameAction ? action : THROW_CCE();
|
|
13871
13879
|
next(action_0);
|
|
13872
|
-
this.
|
|
13880
|
+
this.sb8_1.p6k(VOID, gameHistoryMiddleware$o$handle$slambda_0(action_0, store, this.tb8_1, null));
|
|
13873
13881
|
};
|
|
13874
13882
|
protoOf(gameHistoryMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
13875
13883
|
return this.m6p(store, next, action);
|
|
@@ -13880,9 +13888,9 @@
|
|
|
13880
13888
|
return new reloadTimersWhenContinueGameMiddleware$$inlined$middlewareForActionType$1(isEnableBotForPlayer, isDelayForBot, random);
|
|
13881
13889
|
}
|
|
13882
13890
|
function reloadTimersWhenContinueGameMiddleware$$inlined$middlewareForActionType$1($isEnableBotForPlayer, $isDelayForBot, $random) {
|
|
13883
|
-
this.
|
|
13884
|
-
this.
|
|
13885
|
-
this.
|
|
13891
|
+
this.ub8_1 = $isEnableBotForPlayer;
|
|
13892
|
+
this.vb8_1 = $isDelayForBot;
|
|
13893
|
+
this.wb8_1 = $random;
|
|
13886
13894
|
}
|
|
13887
13895
|
protoOf(reloadTimersWhenContinueGameMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13888
13896
|
return action instanceof ContinueGameMechanicAction;
|
|
@@ -13898,7 +13906,7 @@
|
|
|
13898
13906
|
var _iterator__ex2g4s = tmp0.j();
|
|
13899
13907
|
while (_iterator__ex2g4s.k()) {
|
|
13900
13908
|
var element = _iterator__ex2g4s.l();
|
|
13901
|
-
if (this.
|
|
13909
|
+
if (this.ub8_1(element.playerId)) {
|
|
13902
13910
|
destination.e(element);
|
|
13903
13911
|
}
|
|
13904
13912
|
}
|
|
@@ -13906,7 +13914,7 @@
|
|
|
13906
13914
|
var _iterator__ex2g4s_0 = destination.j();
|
|
13907
13915
|
while (_iterator__ex2g4s_0.k()) {
|
|
13908
13916
|
var element_0 = _iterator__ex2g4s_0.l();
|
|
13909
|
-
store.dispatch(new StartTimerAction(PlayerTurnTimerTag_init_$Create$(element_0.playerId, element_0.z6z_1.h6h()), getInitialPlayerTurnTimerDelayMillis(element_0, table.config, this.
|
|
13917
|
+
store.dispatch(new StartTimerAction(PlayerTurnTimerTag_init_$Create$(element_0.playerId, element_0.z6z_1.h6h()), getInitialPlayerTurnTimerDelayMillis(element_0, table.config, this.vb8_1, this.wb8_1), VOID, TimerType_DELAY_getInstance()));
|
|
13910
13918
|
}
|
|
13911
13919
|
};
|
|
13912
13920
|
protoOf(reloadTimersWhenContinueGameMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
@@ -13917,9 +13925,9 @@
|
|
|
13917
13925
|
return new removeSavedGameMiddleware$$inlined$middlewareForActionType$1(asyncProvider, persistentAppStateInteractor);
|
|
13918
13926
|
}
|
|
13919
13927
|
function removeSavedGameMiddleware$o$handle$slambda($action, $persistentAppStateInteractor, $id, resultContinuation) {
|
|
13920
|
-
this.
|
|
13921
|
-
this.
|
|
13922
|
-
this.
|
|
13928
|
+
this.fb9_1 = $action;
|
|
13929
|
+
this.gb9_1 = $persistentAppStateInteractor;
|
|
13930
|
+
this.hb9_1 = $id;
|
|
13923
13931
|
CoroutineImpl.call(this, resultContinuation);
|
|
13924
13932
|
}
|
|
13925
13933
|
protoOf(removeSavedGameMiddleware$o$handle$slambda).c1g = function ($this$launchDefault, $completion) {
|
|
@@ -13939,10 +13947,10 @@
|
|
|
13939
13947
|
switch (tmp) {
|
|
13940
13948
|
case 0:
|
|
13941
13949
|
this.m9_1 = 3;
|
|
13942
|
-
this.
|
|
13943
|
-
if (!(this.
|
|
13950
|
+
this.jb9_1 = this.fb9_1.gameWinners;
|
|
13951
|
+
if (!(this.jb9_1 == null)) {
|
|
13944
13952
|
this.l9_1 = 1;
|
|
13945
|
-
suspendResult = this.
|
|
13953
|
+
suspendResult = this.gb9_1.n9y(this.hb9_1, this);
|
|
13946
13954
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13947
13955
|
return suspendResult;
|
|
13948
13956
|
}
|
|
@@ -13972,8 +13980,8 @@
|
|
|
13972
13980
|
while (true);
|
|
13973
13981
|
};
|
|
13974
13982
|
protoOf(removeSavedGameMiddleware$o$handle$slambda).d1g = function ($this$launchDefault, completion) {
|
|
13975
|
-
var i = new removeSavedGameMiddleware$o$handle$slambda(this.
|
|
13976
|
-
i.
|
|
13983
|
+
var i = new removeSavedGameMiddleware$o$handle$slambda(this.fb9_1, this.gb9_1, this.hb9_1, completion);
|
|
13984
|
+
i.ib9_1 = $this$launchDefault;
|
|
13977
13985
|
return i;
|
|
13978
13986
|
};
|
|
13979
13987
|
function removeSavedGameMiddleware$o$handle$slambda_0($action, $persistentAppStateInteractor, $id, resultContinuation) {
|
|
@@ -13985,8 +13993,8 @@
|
|
|
13985
13993
|
return l;
|
|
13986
13994
|
}
|
|
13987
13995
|
function removeSavedGameMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $persistentAppStateInteractor) {
|
|
13988
|
-
this.
|
|
13989
|
-
this.
|
|
13996
|
+
this.kb9_1 = $asyncProvider;
|
|
13997
|
+
this.lb9_1 = $persistentAppStateInteractor;
|
|
13990
13998
|
}
|
|
13991
13999
|
protoOf(removeSavedGameMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13992
14000
|
return action instanceof RoundEndedAction;
|
|
@@ -13995,7 +14003,7 @@
|
|
|
13995
14003
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
13996
14004
|
var id = store.state.y6s().id;
|
|
13997
14005
|
next(action_0);
|
|
13998
|
-
this.
|
|
14006
|
+
this.kb9_1.p6k(VOID, removeSavedGameMiddleware$o$handle$slambda_0(action_0, this.lb9_1, id, null));
|
|
13999
14007
|
};
|
|
14000
14008
|
protoOf(removeSavedGameMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
14001
14009
|
return this.m6p(store, next, action);
|
|
@@ -14005,8 +14013,8 @@
|
|
|
14005
14013
|
return new removeSavedGameWhenErrorMiddleware$$inlined$middlewareForActionType$1(asyncProvider, persistentAppStateInteractor);
|
|
14006
14014
|
}
|
|
14007
14015
|
function removeSavedGameWhenErrorMiddleware$o$handle$slambda($store, $persistentAppStateInteractor, resultContinuation) {
|
|
14008
|
-
this.
|
|
14009
|
-
this.
|
|
14016
|
+
this.ub9_1 = $store;
|
|
14017
|
+
this.vb9_1 = $persistentAppStateInteractor;
|
|
14010
14018
|
CoroutineImpl.call(this, resultContinuation);
|
|
14011
14019
|
}
|
|
14012
14020
|
protoOf(removeSavedGameWhenErrorMiddleware$o$handle$slambda).c1g = function ($this$launchDefault, $completion) {
|
|
@@ -14027,11 +14035,11 @@
|
|
|
14027
14035
|
case 0:
|
|
14028
14036
|
this.m9_1 = 2;
|
|
14029
14037
|
var tmp_0 = this;
|
|
14030
|
-
var tmp0_safe_receiver = this.
|
|
14038
|
+
var tmp0_safe_receiver = this.ub9_1.state.h6s_1;
|
|
14031
14039
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.id;
|
|
14032
|
-
tmp_0.
|
|
14040
|
+
tmp_0.xb9_1 = tmp1_elvis_lhs == null ? 'temp_game_id' : tmp1_elvis_lhs;
|
|
14033
14041
|
this.l9_1 = 1;
|
|
14034
|
-
suspendResult = this.
|
|
14042
|
+
suspendResult = this.vb9_1.n9y(this.xb9_1, this);
|
|
14035
14043
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14036
14044
|
return suspendResult;
|
|
14037
14045
|
}
|
|
@@ -14054,8 +14062,8 @@
|
|
|
14054
14062
|
while (true);
|
|
14055
14063
|
};
|
|
14056
14064
|
protoOf(removeSavedGameWhenErrorMiddleware$o$handle$slambda).d1g = function ($this$launchDefault, completion) {
|
|
14057
|
-
var i = new removeSavedGameWhenErrorMiddleware$o$handle$slambda(this.
|
|
14058
|
-
i.
|
|
14065
|
+
var i = new removeSavedGameWhenErrorMiddleware$o$handle$slambda(this.ub9_1, this.vb9_1, completion);
|
|
14066
|
+
i.wb9_1 = $this$launchDefault;
|
|
14059
14067
|
return i;
|
|
14060
14068
|
};
|
|
14061
14069
|
function removeSavedGameWhenErrorMiddleware$o$handle$slambda_0($store, $persistentAppStateInteractor, resultContinuation) {
|
|
@@ -14067,15 +14075,15 @@
|
|
|
14067
14075
|
return l;
|
|
14068
14076
|
}
|
|
14069
14077
|
function removeSavedGameWhenErrorMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $persistentAppStateInteractor) {
|
|
14070
|
-
this.
|
|
14071
|
-
this.
|
|
14078
|
+
this.yb9_1 = $asyncProvider;
|
|
14079
|
+
this.zb9_1 = $persistentAppStateInteractor;
|
|
14072
14080
|
}
|
|
14073
14081
|
protoOf(removeSavedGameWhenErrorMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14074
14082
|
return action instanceof ErrorAction;
|
|
14075
14083
|
};
|
|
14076
14084
|
protoOf(removeSavedGameWhenErrorMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
14077
14085
|
next(action instanceof ErrorAction ? action : THROW_CCE());
|
|
14078
|
-
this.
|
|
14086
|
+
this.yb9_1.p6k(VOID, removeSavedGameWhenErrorMiddleware$o$handle$slambda_0(store, this.zb9_1, null));
|
|
14079
14087
|
};
|
|
14080
14088
|
protoOf(removeSavedGameWhenErrorMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
14081
14089
|
return this.m6p(store, next, action);
|
|
@@ -14085,9 +14093,9 @@
|
|
|
14085
14093
|
return new saveGameWhenAppOnBackgroundMiddleware$$inlined$middlewareForActionType$1(asyncProvider, persistentAppStateInteractor);
|
|
14086
14094
|
}
|
|
14087
14095
|
function saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda($action, $state, $persistentAppStateInteractor, resultContinuation) {
|
|
14088
|
-
this.
|
|
14089
|
-
this.
|
|
14090
|
-
this.
|
|
14096
|
+
this.iba_1 = $action;
|
|
14097
|
+
this.jba_1 = $state;
|
|
14098
|
+
this.kba_1 = $persistentAppStateInteractor;
|
|
14091
14099
|
CoroutineImpl.call(this, resultContinuation);
|
|
14092
14100
|
}
|
|
14093
14101
|
protoOf(saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda).c1g = function ($this$launchDefault, $completion) {
|
|
@@ -14107,9 +14115,9 @@
|
|
|
14107
14115
|
switch (tmp) {
|
|
14108
14116
|
case 0:
|
|
14109
14117
|
this.m9_1 = 3;
|
|
14110
|
-
if (!this.
|
|
14118
|
+
if (!this.iba_1.xb3_1 && this.jba_1.z6s() && !this.jba_1.y6s().isGameFinished) {
|
|
14111
14119
|
this.l9_1 = 1;
|
|
14112
|
-
suspendResult = this.
|
|
14120
|
+
suspendResult = this.kba_1.m9y(this.jba_1.y6s(), get_clientPayload_0(this.jba_1), false, this);
|
|
14113
14121
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14114
14122
|
return suspendResult;
|
|
14115
14123
|
}
|
|
@@ -14139,8 +14147,8 @@
|
|
|
14139
14147
|
while (true);
|
|
14140
14148
|
};
|
|
14141
14149
|
protoOf(saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda).d1g = function ($this$launchDefault, completion) {
|
|
14142
|
-
var i = new saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda(this.
|
|
14143
|
-
i.
|
|
14150
|
+
var i = new saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda(this.iba_1, this.jba_1, this.kba_1, completion);
|
|
14151
|
+
i.lba_1 = $this$launchDefault;
|
|
14144
14152
|
return i;
|
|
14145
14153
|
};
|
|
14146
14154
|
function saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda_0($action, $state, $persistentAppStateInteractor, resultContinuation) {
|
|
@@ -14152,8 +14160,8 @@
|
|
|
14152
14160
|
return l;
|
|
14153
14161
|
}
|
|
14154
14162
|
function saveGameWhenAppOnBackgroundMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $persistentAppStateInteractor) {
|
|
14155
|
-
this.
|
|
14156
|
-
this.
|
|
14163
|
+
this.mba_1 = $asyncProvider;
|
|
14164
|
+
this.nba_1 = $persistentAppStateInteractor;
|
|
14157
14165
|
}
|
|
14158
14166
|
protoOf(saveGameWhenAppOnBackgroundMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14159
14167
|
return action instanceof ForegroundAction;
|
|
@@ -14162,7 +14170,7 @@
|
|
|
14162
14170
|
var action_0 = action instanceof ForegroundAction ? action : THROW_CCE();
|
|
14163
14171
|
var state = store.state;
|
|
14164
14172
|
next(action_0);
|
|
14165
|
-
this.
|
|
14173
|
+
this.mba_1.p6k(VOID, saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda_0(action_0, state, this.nba_1, null));
|
|
14166
14174
|
};
|
|
14167
14175
|
protoOf(saveGameWhenAppOnBackgroundMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
14168
14176
|
return this.m6p(store, next, action);
|
|
@@ -14172,9 +14180,9 @@
|
|
|
14172
14180
|
return new statisticsMiddleware$$inlined$middlewareForActionType$1(asyncProvider, currentPlayerId, clientStatisticsInteractor);
|
|
14173
14181
|
}
|
|
14174
14182
|
function statisticsMiddleware$o$handle$slambda($action, $currentPlayerId, $clientStatisticsInteractor, resultContinuation) {
|
|
14175
|
-
this.
|
|
14176
|
-
this.
|
|
14177
|
-
this.
|
|
14183
|
+
this.wba_1 = $action;
|
|
14184
|
+
this.xba_1 = $currentPlayerId;
|
|
14185
|
+
this.yba_1 = $clientStatisticsInteractor;
|
|
14178
14186
|
CoroutineImpl.call(this, resultContinuation);
|
|
14179
14187
|
}
|
|
14180
14188
|
protoOf(statisticsMiddleware$o$handle$slambda).c1g = function ($this$launchDefault, $completion) {
|
|
@@ -14194,26 +14202,26 @@
|
|
|
14194
14202
|
switch (tmp) {
|
|
14195
14203
|
case 0:
|
|
14196
14204
|
this.m9_1 = 4;
|
|
14197
|
-
this.
|
|
14205
|
+
this.abb_1 = this.wba_1.earnedBiggestPointPlayerId === this.xba_1;
|
|
14198
14206
|
var tmp_0 = this;
|
|
14199
|
-
var tmp0_safe_receiver = this.
|
|
14200
|
-
tmp_0.
|
|
14207
|
+
var tmp0_safe_receiver = this.wba_1.gameHistory.lastRoundHistory.winners;
|
|
14208
|
+
tmp_0.bbb_1 = (tmp0_safe_receiver == null ? null : contains(tmp0_safe_receiver, this.xba_1)) === true;
|
|
14201
14209
|
var tmp_1 = this;
|
|
14202
|
-
var tmp1_safe_receiver = this.
|
|
14203
|
-
tmp_1.
|
|
14210
|
+
var tmp1_safe_receiver = this.wba_1.gameHistory.lastRoundHistory.committed;
|
|
14211
|
+
tmp_1.cbb_1 = (tmp1_safe_receiver == null ? null : contains(tmp1_safe_receiver, this.xba_1)) === true;
|
|
14204
14212
|
this.l9_1 = 1;
|
|
14205
|
-
suspendResult = this.
|
|
14213
|
+
suspendResult = this.yba_1.k9y(this.cbb_1, this.bbb_1, this.abb_1, this);
|
|
14206
14214
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14207
14215
|
return suspendResult;
|
|
14208
14216
|
}
|
|
14209
14217
|
|
|
14210
14218
|
continue $sm;
|
|
14211
14219
|
case 1:
|
|
14212
|
-
this.
|
|
14213
|
-
if (!(this.
|
|
14214
|
-
this.
|
|
14220
|
+
this.dbb_1 = this.wba_1.gameWinners;
|
|
14221
|
+
if (!(this.dbb_1 == null)) {
|
|
14222
|
+
this.ebb_1 = contains(this.dbb_1, this.xba_1);
|
|
14215
14223
|
this.l9_1 = 2;
|
|
14216
|
-
suspendResult = this.
|
|
14224
|
+
suspendResult = this.yba_1.l9y(this.ebb_1, this);
|
|
14217
14225
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14218
14226
|
return suspendResult;
|
|
14219
14227
|
}
|
|
@@ -14243,8 +14251,8 @@
|
|
|
14243
14251
|
while (true);
|
|
14244
14252
|
};
|
|
14245
14253
|
protoOf(statisticsMiddleware$o$handle$slambda).d1g = function ($this$launchDefault, completion) {
|
|
14246
|
-
var i = new statisticsMiddleware$o$handle$slambda(this.
|
|
14247
|
-
i.
|
|
14254
|
+
var i = new statisticsMiddleware$o$handle$slambda(this.wba_1, this.xba_1, this.yba_1, completion);
|
|
14255
|
+
i.zba_1 = $this$launchDefault;
|
|
14248
14256
|
return i;
|
|
14249
14257
|
};
|
|
14250
14258
|
function statisticsMiddleware$o$handle$slambda_0($action, $currentPlayerId, $clientStatisticsInteractor, resultContinuation) {
|
|
@@ -14256,9 +14264,9 @@
|
|
|
14256
14264
|
return l;
|
|
14257
14265
|
}
|
|
14258
14266
|
function statisticsMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $currentPlayerId, $clientStatisticsInteractor) {
|
|
14259
|
-
this.
|
|
14260
|
-
this.
|
|
14261
|
-
this.
|
|
14267
|
+
this.fbb_1 = $asyncProvider;
|
|
14268
|
+
this.gbb_1 = $currentPlayerId;
|
|
14269
|
+
this.hbb_1 = $clientStatisticsInteractor;
|
|
14262
14270
|
}
|
|
14263
14271
|
protoOf(statisticsMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14264
14272
|
return action instanceof RoundEndedAction;
|
|
@@ -14266,7 +14274,7 @@
|
|
|
14266
14274
|
protoOf(statisticsMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
14267
14275
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
14268
14276
|
next(action_0);
|
|
14269
|
-
this.
|
|
14277
|
+
this.fbb_1.p6k(VOID, statisticsMiddleware$o$handle$slambda_0(action_0, this.gbb_1, this.hbb_1, null));
|
|
14270
14278
|
};
|
|
14271
14279
|
protoOf(statisticsMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
14272
14280
|
return this.m6p(store, next, action);
|
|
@@ -14315,7 +14323,7 @@
|
|
|
14315
14323
|
var _iterator__ex2g4s = tmp0.j();
|
|
14316
14324
|
while (_iterator__ex2g4s.k()) {
|
|
14317
14325
|
var element = _iterator__ex2g4s.l();
|
|
14318
|
-
if (action_0.
|
|
14326
|
+
if (action_0.ibb_1.v1(element.h5o())) {
|
|
14319
14327
|
tmp$ret$1 = element;
|
|
14320
14328
|
break $l$block;
|
|
14321
14329
|
}
|
|
@@ -14402,7 +14410,7 @@
|
|
|
14402
14410
|
return new checkExpectantsMiddleware$$inlined$middlewareForActionType$1(logger);
|
|
14403
14411
|
}
|
|
14404
14412
|
function checkExpectantsMiddleware$$inlined$middlewareForActionType$1($logger) {
|
|
14405
|
-
this.
|
|
14413
|
+
this.jbb_1 = $logger;
|
|
14406
14414
|
}
|
|
14407
14415
|
protoOf(checkExpectantsMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14408
14416
|
return action instanceof ExpectantLifecycleAction;
|
|
@@ -14436,7 +14444,7 @@
|
|
|
14436
14444
|
tmp$ret$0 = true;
|
|
14437
14445
|
}
|
|
14438
14446
|
if (tmp$ret$0) {
|
|
14439
|
-
this.
|
|
14447
|
+
this.jbb_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't finish it: " + toString(expectants) + ', ' + tmp4.toString());
|
|
14440
14448
|
next(tmp4);
|
|
14441
14449
|
break $l$block_7;
|
|
14442
14450
|
}
|
|
@@ -14458,7 +14466,7 @@
|
|
|
14458
14466
|
var _iterator__ex2g4s_0 = expectants.j();
|
|
14459
14467
|
while (_iterator__ex2g4s_0.k()) {
|
|
14460
14468
|
var element_0 = _iterator__ex2g4s_0.l();
|
|
14461
|
-
if (element_0.j9w_1 === tmp4.
|
|
14469
|
+
if (element_0.j9w_1 === tmp4.mb4_1.j9w_1) {
|
|
14462
14470
|
tmp$ret$3 = true;
|
|
14463
14471
|
break $l$block_3;
|
|
14464
14472
|
}
|
|
@@ -14466,7 +14474,7 @@
|
|
|
14466
14474
|
tmp$ret$3 = false;
|
|
14467
14475
|
}
|
|
14468
14476
|
if (tmp$ret$3) {
|
|
14469
|
-
this.
|
|
14477
|
+
this.jbb_1.w(VOID, "CheckExpectantsMiddleware: Expectant already exists, can't add it: " + toString(expectants) + ', ' + tmp4.toString());
|
|
14470
14478
|
next(tmp4);
|
|
14471
14479
|
break $l$block_7;
|
|
14472
14480
|
}
|
|
@@ -14488,7 +14496,7 @@
|
|
|
14488
14496
|
var _iterator__ex2g4s_1 = expectants.j();
|
|
14489
14497
|
while (_iterator__ex2g4s_1.k()) {
|
|
14490
14498
|
var element_1 = _iterator__ex2g4s_1.l();
|
|
14491
|
-
if (element_1.j9w_1 === tmp4.
|
|
14499
|
+
if (element_1.j9w_1 === tmp4.nb4_1) {
|
|
14492
14500
|
tmp$ret$5 = false;
|
|
14493
14501
|
break $l$block_6;
|
|
14494
14502
|
}
|
|
@@ -14496,7 +14504,7 @@
|
|
|
14496
14504
|
tmp$ret$5 = true;
|
|
14497
14505
|
}
|
|
14498
14506
|
if (tmp$ret$5) {
|
|
14499
|
-
this.
|
|
14507
|
+
this.jbb_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't complete stage: " + toString(expectants) + ', ' + tmp4.toString());
|
|
14500
14508
|
next(tmp4);
|
|
14501
14509
|
break $l$block_7;
|
|
14502
14510
|
}
|
|
@@ -14516,8 +14524,8 @@
|
|
|
14516
14524
|
return new checkValidCurrentPlayerIdMiddleware$$inlined$middlewareForActionType$1(currentPlayerId, gameLogger);
|
|
14517
14525
|
}
|
|
14518
14526
|
function checkValidCurrentPlayerIdMiddleware$$inlined$middlewareForActionType$1($currentPlayerId, $gameLogger) {
|
|
14519
|
-
this.
|
|
14520
|
-
this.
|
|
14527
|
+
this.kbb_1 = $currentPlayerId;
|
|
14528
|
+
this.lbb_1 = $gameLogger;
|
|
14521
14529
|
}
|
|
14522
14530
|
protoOf(checkValidCurrentPlayerIdMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14523
14531
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -14532,19 +14540,19 @@
|
|
|
14532
14540
|
var _iterator__ex2g4s = tmp0.j();
|
|
14533
14541
|
while (_iterator__ex2g4s.k()) {
|
|
14534
14542
|
var element = _iterator__ex2g4s.l();
|
|
14535
|
-
if (element.u6e_1 === this.
|
|
14543
|
+
if (element.u6e_1 === this.kbb_1) {
|
|
14536
14544
|
destination.e(element);
|
|
14537
14545
|
}
|
|
14538
14546
|
}
|
|
14539
14547
|
if (!(destination.m() === 1)) {
|
|
14540
14548
|
var state = store.state;
|
|
14541
|
-
this.
|
|
14549
|
+
this.lbb_1.w(VOID, 'checkValidCurrentPlayerIdMiddleware: currentPlayer id is not matched');
|
|
14542
14550
|
var tmp0_safe_receiver = get_clientPayloadOrNull_0(state);
|
|
14543
14551
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m9x_1;
|
|
14544
14552
|
if (!((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.l9v()) === false)) {
|
|
14545
|
-
store.dispatch(new ErrorAction(new ErrorState('Not valid user session, id:' + this.
|
|
14553
|
+
store.dispatch(new ErrorAction(new ErrorState('Not valid user session, id:' + this.kbb_1, VOID, new GameErrorReason(Reason_INTERNAL_ERROR_getInstance()))));
|
|
14546
14554
|
} else {
|
|
14547
|
-
throw new SessionException(401, 'Not valid user session, id:' + this.
|
|
14555
|
+
throw new SessionException(401, 'Not valid user session, id:' + this.kbb_1);
|
|
14548
14556
|
}
|
|
14549
14557
|
}
|
|
14550
14558
|
};
|
|
@@ -14556,9 +14564,9 @@
|
|
|
14556
14564
|
return new clientShowDisabledCardMessageMiddleware$$inlined$middlewareForActionType$1(putCardValidatorInteractor, messageFactory, logger);
|
|
14557
14565
|
}
|
|
14558
14566
|
function clientShowDisabledCardMessageMiddleware$$inlined$middlewareForActionType$1($putCardValidatorInteractor, $messageFactory, $logger) {
|
|
14559
|
-
this.
|
|
14560
|
-
this.
|
|
14561
|
-
this.
|
|
14567
|
+
this.mbb_1 = $putCardValidatorInteractor;
|
|
14568
|
+
this.nbb_1 = $messageFactory;
|
|
14569
|
+
this.obb_1 = $logger;
|
|
14562
14570
|
}
|
|
14563
14571
|
protoOf(clientShowDisabledCardMessageMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14564
14572
|
return action instanceof DisabledCardAction;
|
|
@@ -14567,14 +14575,14 @@
|
|
|
14567
14575
|
var action_0 = action instanceof DisabledCardAction ? action : THROW_CCE();
|
|
14568
14576
|
var state = store.state;
|
|
14569
14577
|
if (get_isEarnPointScene(state.y6s().sceneInfo.p7z_1)) {
|
|
14570
|
-
var tmp0_putPlayerCard = action_0.
|
|
14578
|
+
var tmp0_putPlayerCard = action_0.pbb_1;
|
|
14571
14579
|
var tmp1_player = get_currentPlayer(state.y6s());
|
|
14572
14580
|
var tmp2_table = state.y6s();
|
|
14573
|
-
var validationCode = this.
|
|
14581
|
+
var validationCode = this.mbb_1.o9y(tmp0_putPlayerCard, tmp2_table, tmp1_player);
|
|
14574
14582
|
if (!(validationCode == null)) {
|
|
14575
|
-
store.dispatch(new InfoMessageAction(this.
|
|
14583
|
+
store.dispatch(new InfoMessageAction(this.nbb_1.l8p(validationCode)));
|
|
14576
14584
|
} else {
|
|
14577
|
-
this.
|
|
14585
|
+
this.obb_1.w(VOID, 'clientShowDisabledCardMessageMiddleware: card is valid, please check');
|
|
14578
14586
|
}
|
|
14579
14587
|
}
|
|
14580
14588
|
next(action_0);
|
|
@@ -14587,9 +14595,9 @@
|
|
|
14587
14595
|
return new validateCardOnMoveMiddleware$$inlined$middlewareForActionType$1(putCardValidatorInteractor, logger, messageFactory);
|
|
14588
14596
|
}
|
|
14589
14597
|
function validateCardOnMoveMiddleware$$inlined$middlewareForActionType$1($putCardValidatorInteractor, $logger, $messageFactory) {
|
|
14590
|
-
this.
|
|
14591
|
-
this.
|
|
14592
|
-
this.
|
|
14598
|
+
this.qbb_1 = $putCardValidatorInteractor;
|
|
14599
|
+
this.rbb_1 = $logger;
|
|
14600
|
+
this.sbb_1 = $messageFactory;
|
|
14593
14601
|
}
|
|
14594
14602
|
protoOf(validateCardOnMoveMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14595
14603
|
return action instanceof PutCardAndCheckCombinationsAction;
|
|
@@ -14599,19 +14607,19 @@
|
|
|
14599
14607
|
var state = store.state;
|
|
14600
14608
|
var cardNotValidCount = 0;
|
|
14601
14609
|
var player = get_currentPlayer(state.y6s());
|
|
14602
|
-
var tmp0_putPlayerCard = action_0.
|
|
14610
|
+
var tmp0_putPlayerCard = action_0.fb4_1.m6k_1;
|
|
14603
14611
|
var tmp1_table = state.y6s();
|
|
14604
|
-
var validationCode = this.
|
|
14612
|
+
var validationCode = this.qbb_1.o9y(tmp0_putPlayerCard, tmp1_table, player);
|
|
14605
14613
|
if (!(validationCode == null)) {
|
|
14606
14614
|
cardNotValidCount = cardNotValidCount + 1 | 0;
|
|
14607
14615
|
} else {
|
|
14608
14616
|
cardNotValidCount = 0;
|
|
14609
14617
|
}
|
|
14610
14618
|
if (cardNotValidCount > 3) {
|
|
14611
|
-
this.
|
|
14619
|
+
this.rbb_1.w(VOID, 'validateCardMiddleware: card is not valid for the third time, please check');
|
|
14612
14620
|
}
|
|
14613
14621
|
if (!(validationCode == null)) {
|
|
14614
|
-
store.dispatch(new InfoMessageAction(this.
|
|
14622
|
+
store.dispatch(new InfoMessageAction(this.sbb_1.l8p(validationCode)));
|
|
14615
14623
|
} else {
|
|
14616
14624
|
next(action_0);
|
|
14617
14625
|
}
|
|
@@ -14627,14 +14635,14 @@
|
|
|
14627
14635
|
}
|
|
14628
14636
|
function ClientCombinationsReducerImpl() {
|
|
14629
14637
|
}
|
|
14630
|
-
protoOf(ClientCombinationsReducerImpl).
|
|
14638
|
+
protoOf(ClientCombinationsReducerImpl).tbb = function (currentPlayerId, actData) {
|
|
14631
14639
|
if (!(actData == null) && currentPlayerId === actData.a7f()) {
|
|
14632
14640
|
return new CombinationToAnnounceState(actData.f7f_1, null, null);
|
|
14633
14641
|
}
|
|
14634
14642
|
return null;
|
|
14635
14643
|
};
|
|
14636
14644
|
function clientCombinationToAnnounceStateOnPlayerTurnReducer$$inlined$reducerForActionType$1($clientCombinationsReducer) {
|
|
14637
|
-
this.
|
|
14645
|
+
this.ubb_1 = $clientCombinationsReducer;
|
|
14638
14646
|
}
|
|
14639
14647
|
protoOf(clientCombinationToAnnounceStateOnPlayerTurnReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
14640
14648
|
return isInterface(action, NavigationMechanicAction);
|
|
@@ -14658,7 +14666,7 @@
|
|
|
14658
14666
|
}
|
|
14659
14667
|
throw new MechanicException('Required ' + getKClass(CombinationActData).ab() + ', current act is ' + toString_0(tmp0));
|
|
14660
14668
|
}
|
|
14661
|
-
tmp$ret$1 = state.w8z(VOID, tmp.
|
|
14669
|
+
tmp$ret$1 = state.w8z(VOID, tmp.lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.ubb_1.tbb(tmp_0, tmp$ret$0)));
|
|
14662
14670
|
break $l$block_0;
|
|
14663
14671
|
}
|
|
14664
14672
|
tmp$ret$1 = state;
|
|
@@ -14669,20 +14677,20 @@
|
|
|
14669
14677
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
14670
14678
|
};
|
|
14671
14679
|
function ClientLifecycleReducer(logger) {
|
|
14672
|
-
this.
|
|
14680
|
+
this.vbb_1 = logger;
|
|
14673
14681
|
}
|
|
14674
|
-
protoOf(ClientLifecycleReducer).
|
|
14682
|
+
protoOf(ClientLifecycleReducer).wbb = function (state, messagesReducer) {
|
|
14675
14683
|
var tmp1_config = state.m9x_1;
|
|
14676
14684
|
var tmp2_isForeground = state.r9x_1;
|
|
14677
14685
|
var tmp3_isSceneActive = state.s9x_1;
|
|
14678
14686
|
var tmp4_bufferedActions = state.q9x_1;
|
|
14679
14687
|
var tmp5_error = state.a9y_1;
|
|
14680
14688
|
var tmp6_messages = messagesReducer(state.n9x_1);
|
|
14681
|
-
return Companion_instance_13.
|
|
14689
|
+
return Companion_instance_13.xbb(tmp1_config, tmp2_isForeground, tmp3_isSceneActive, tmp6_messages, tmp4_bufferedActions, tmp5_error);
|
|
14682
14690
|
};
|
|
14683
|
-
protoOf(ClientLifecycleReducer).
|
|
14691
|
+
protoOf(ClientLifecycleReducer).ybb = function (state) {
|
|
14684
14692
|
if (state.m9x_1.k9v()) {
|
|
14685
|
-
return Companion_instance_13.
|
|
14693
|
+
return Companion_instance_13.abc(state.m9x_1, state.r9x_1, state.s9x_1);
|
|
14686
14694
|
} else {
|
|
14687
14695
|
var tmp1_config = state.m9x_1;
|
|
14688
14696
|
var tmp2_isForeground = state.r9x_1;
|
|
@@ -14690,13 +14698,13 @@
|
|
|
14690
14698
|
var tmp4_error = state.a9y_1;
|
|
14691
14699
|
var tmp5_expectants = state.p9x_1;
|
|
14692
14700
|
var tmp6_bufferedActions = state.q9x_1;
|
|
14693
|
-
var
|
|
14701
|
+
var tmp7_combinationsToAnnounce = state.v9x_1;
|
|
14694
14702
|
var tmp8_messages = state.n9x_1;
|
|
14695
14703
|
var tmp9_processingCard = state.y9x_1;
|
|
14696
|
-
return Companion_instance_13.
|
|
14704
|
+
return Companion_instance_13.zbb(tmp1_config, tmp2_isForeground, tmp3_isSceneActive, tmp8_messages, tmp6_bufferedActions, tmp5_expectants, tmp7_combinationsToAnnounce, tmp9_processingCard, tmp4_error);
|
|
14697
14705
|
}
|
|
14698
14706
|
};
|
|
14699
|
-
protoOf(ClientLifecycleReducer).
|
|
14707
|
+
protoOf(ClientLifecycleReducer).bbc = function (messages) {
|
|
14700
14708
|
// Inline function 'kotlin.collections.filter' call
|
|
14701
14709
|
// Inline function 'kotlin.collections.filterTo' call
|
|
14702
14710
|
var destination = ArrayList_init_$Create$_0();
|
|
@@ -14707,9 +14715,9 @@
|
|
|
14707
14715
|
destination.e(element);
|
|
14708
14716
|
}
|
|
14709
14717
|
}
|
|
14710
|
-
return updateMessagesAsNotShown(destination, this.
|
|
14718
|
+
return updateMessagesAsNotShown(destination, this.vbb_1);
|
|
14711
14719
|
};
|
|
14712
|
-
protoOf(ClientLifecycleReducer).
|
|
14720
|
+
protoOf(ClientLifecycleReducer).cbc = function (messages) {
|
|
14713
14721
|
// Inline function 'kotlin.collections.filter' call
|
|
14714
14722
|
// Inline function 'kotlin.collections.filterTo' call
|
|
14715
14723
|
var destination = ArrayList_init_$Create$_0();
|
|
@@ -14720,7 +14728,7 @@
|
|
|
14720
14728
|
destination.e(element);
|
|
14721
14729
|
}
|
|
14722
14730
|
}
|
|
14723
|
-
return updateMessagesAsNotShown(destination, this.
|
|
14731
|
+
return updateMessagesAsNotShown(destination, this.vbb_1);
|
|
14724
14732
|
};
|
|
14725
14733
|
function updateMessagesAsNotShown(_this__u8e3s4, gameLogger) {
|
|
14726
14734
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -14784,7 +14792,7 @@
|
|
|
14784
14792
|
function ClientMechanicLifecycleReducer$onStart$lambda(this$0, $action) {
|
|
14785
14793
|
return function (it) {
|
|
14786
14794
|
var tmp;
|
|
14787
|
-
if (this$0.
|
|
14795
|
+
if (this$0.fbc_1.k9v()) {
|
|
14788
14796
|
var tmp_0 = Companion_instance_2;
|
|
14789
14797
|
var tmp_1 = Companion_instance_3;
|
|
14790
14798
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
@@ -14801,24 +14809,24 @@
|
|
|
14801
14809
|
}
|
|
14802
14810
|
function ClientLifecycleReducer$gameFinishedMessagesReducer$ref(p0) {
|
|
14803
14811
|
var l = function (_this__u8e3s4) {
|
|
14804
|
-
return p0.
|
|
14812
|
+
return p0.bbc(_this__u8e3s4);
|
|
14805
14813
|
};
|
|
14806
14814
|
l.callableName = 'gameFinishedMessagesReducer';
|
|
14807
14815
|
return l;
|
|
14808
14816
|
}
|
|
14809
14817
|
function ClientLifecycleReducer$roundFinishedMessagesReducer$ref(p0) {
|
|
14810
14818
|
var l = function (_this__u8e3s4) {
|
|
14811
|
-
return p0.
|
|
14819
|
+
return p0.cbc(_this__u8e3s4);
|
|
14812
14820
|
};
|
|
14813
14821
|
l.callableName = 'roundFinishedMessagesReducer';
|
|
14814
14822
|
return l;
|
|
14815
14823
|
}
|
|
14816
14824
|
function ClientMechanicLifecycleReducer(clintConfig, logger, tableLifecycleReducer, randomPoolProvider, clientLifecycleReducer, clientCombinationsReducer) {
|
|
14817
14825
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
14818
|
-
this.
|
|
14819
|
-
this.
|
|
14820
|
-
this.
|
|
14821
|
-
this.
|
|
14826
|
+
this.fbc_1 = clintConfig;
|
|
14827
|
+
this.gbc_1 = logger;
|
|
14828
|
+
this.hbc_1 = clientLifecycleReducer;
|
|
14829
|
+
this.ibc_1 = clientCombinationsReducer;
|
|
14822
14830
|
}
|
|
14823
14831
|
protoOf(ClientMechanicLifecycleReducer).h9e = function (state, action) {
|
|
14824
14832
|
var clientState = get_clientPayloadOrNull(state.i6s_1);
|
|
@@ -14833,8 +14841,8 @@
|
|
|
14833
14841
|
var newTable = tmp0_$this.o9f(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ClientMechanicLifecycleReducer$onStart$lambda(this, action));
|
|
14834
14842
|
var tmp;
|
|
14835
14843
|
if (clientState == null) {
|
|
14836
|
-
this.
|
|
14837
|
-
tmp = Companion_instance_13.
|
|
14844
|
+
this.gbc_1.w(VOID, 'ClientPayload is not onStart, should be init via InitClientStateAction');
|
|
14845
|
+
tmp = Companion_instance_13.jbc(this.fbc_1);
|
|
14838
14846
|
} else {
|
|
14839
14847
|
tmp = clientState;
|
|
14840
14848
|
}
|
|
@@ -14846,7 +14854,7 @@
|
|
|
14846
14854
|
this.j9e_1.k5v(action.previousGameId);
|
|
14847
14855
|
var newTable = this.i9e_1.p9f(state.y6s(), action.gameId);
|
|
14848
14856
|
var tmp = get_clientPayload_0(state);
|
|
14849
|
-
var newPayload = this.
|
|
14857
|
+
var newPayload = this.hbc_1.wbb(tmp, ClientLifecycleReducer$gameFinishedMessagesReducer$ref(this.hbc_1));
|
|
14850
14858
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
14851
14859
|
return state.w8z(newTable, newPayload, tmp0_gameLifecycleState);
|
|
14852
14860
|
};
|
|
@@ -14872,9 +14880,9 @@
|
|
|
14872
14880
|
}
|
|
14873
14881
|
tmp_2 = tmp$ret$0;
|
|
14874
14882
|
}
|
|
14875
|
-
tmp = tmp_0.
|
|
14883
|
+
tmp = tmp_0.kbc(this.fbc_1, this.ibc_1.tbb(tmp_1, tmp_2));
|
|
14876
14884
|
} else {
|
|
14877
|
-
tmp = this.
|
|
14885
|
+
tmp = this.hbc_1.ybb(clientState);
|
|
14878
14886
|
}
|
|
14879
14887
|
var newPayload = tmp;
|
|
14880
14888
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
@@ -14890,7 +14898,7 @@
|
|
|
14890
14898
|
// Inline function 'kotlin.apply' call
|
|
14891
14899
|
this.j9e_1.k5v(tmp1_safe_receiver);
|
|
14892
14900
|
}
|
|
14893
|
-
var newPayload = this.
|
|
14901
|
+
var newPayload = this.hbc_1.ybb(get_clientPayload_0(state));
|
|
14894
14902
|
var tmp2_gameLifecycleState = GameLifecycleState_FINISHING_getInstance();
|
|
14895
14903
|
var tmp3_terminationState = new TerminationState(action.x91_1, action.z91_1);
|
|
14896
14904
|
return state.w8z(VOID, newPayload, tmp2_gameLifecycleState, tmp3_terminationState);
|
|
@@ -14903,7 +14911,7 @@
|
|
|
14903
14911
|
};
|
|
14904
14912
|
protoOf(ClientMechanicLifecycleReducer).c9e = function (state, action) {
|
|
14905
14913
|
var tmp = get_clientPayload_0(state);
|
|
14906
|
-
var newPayload = this.
|
|
14914
|
+
var newPayload = this.hbc_1.wbb(tmp, ClientLifecycleReducer$roundFinishedMessagesReducer$ref(this.hbc_1));
|
|
14907
14915
|
var newTable = this.i9e_1.k9e(state.y6s());
|
|
14908
14916
|
return state.w8z(newTable, newPayload);
|
|
14909
14917
|
};
|
|
@@ -14922,7 +14930,7 @@
|
|
|
14922
14930
|
tmp = null;
|
|
14923
14931
|
} else {
|
|
14924
14932
|
// Inline function 'kotlin.let' call
|
|
14925
|
-
tmp = this.
|
|
14933
|
+
tmp = this.hbc_1.ybb(tmp2_safe_receiver).lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, action.q93_1);
|
|
14926
14934
|
}
|
|
14927
14935
|
var newPayload = tmp;
|
|
14928
14936
|
var tmp3_safe_receiver = state.k6s_1;
|
|
@@ -14941,7 +14949,7 @@
|
|
|
14941
14949
|
};
|
|
14942
14950
|
protoOf(clientResetProcessingCardReducer$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
14943
14951
|
action instanceof PutCardMechanicAction || THROW_CCE();
|
|
14944
|
-
return state.w8z(VOID, get_clientPayload_0(state).
|
|
14952
|
+
return state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, null));
|
|
14945
14953
|
};
|
|
14946
14954
|
protoOf(clientResetProcessingCardReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
14947
14955
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -14952,14 +14960,14 @@
|
|
|
14952
14960
|
}
|
|
14953
14961
|
function ClientLifecycleReducer$roundFinishedMessagesReducer$ref_0(p0) {
|
|
14954
14962
|
var l = function (_this__u8e3s4) {
|
|
14955
|
-
return p0.
|
|
14963
|
+
return p0.cbc(_this__u8e3s4);
|
|
14956
14964
|
};
|
|
14957
14965
|
l.callableName = 'roundFinishedMessagesReducer';
|
|
14958
14966
|
return l;
|
|
14959
14967
|
}
|
|
14960
14968
|
function clientSceneReducer$$inlined$reducerForActionType$1($logger, $clientLifecycleReducer) {
|
|
14961
|
-
this.
|
|
14962
|
-
this.
|
|
14969
|
+
this.lbc_1 = $logger;
|
|
14970
|
+
this.mbc_1 = $clientLifecycleReducer;
|
|
14963
14971
|
}
|
|
14964
14972
|
protoOf(clientSceneReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
14965
14973
|
return action instanceof SceneMechanicAction;
|
|
@@ -14974,11 +14982,11 @@
|
|
|
14974
14982
|
case 'CHOOSE_PARTNER':
|
|
14975
14983
|
case 'TRADE':
|
|
14976
14984
|
case 'EARN_POINTS':
|
|
14977
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
14985
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, updateMessagesAsNotShown(get_clientPayload_0(state).n9x_1, this.lbc_1)));
|
|
14978
14986
|
break;
|
|
14979
14987
|
case 'CALC_POINTS':
|
|
14980
14988
|
var tmp_0 = get_clientPayload_0(state);
|
|
14981
|
-
tmp = state.w8z(VOID, this.
|
|
14989
|
+
tmp = state.w8z(VOID, this.mbc_1.wbb(tmp_0, ClientLifecycleReducer$roundFinishedMessagesReducer$ref_0(this.mbc_1)));
|
|
14982
14990
|
break;
|
|
14983
14991
|
default:
|
|
14984
14992
|
throw new MechanicException("clientSceneReducer: Can't support this scene " + action_0.toString());
|
|
@@ -14993,7 +15001,7 @@
|
|
|
14993
15001
|
return new clientUIReducer$$inlined$reducerForActionType$1(currentPlayerId);
|
|
14994
15002
|
}
|
|
14995
15003
|
function clientUIReducer$$inlined$reducerForActionType$1($currentPlayerId) {
|
|
14996
|
-
this.
|
|
15004
|
+
this.nbc_1 = $currentPlayerId;
|
|
14997
15005
|
}
|
|
14998
15006
|
protoOf(clientUIReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
14999
15007
|
return action instanceof ClientAction;
|
|
@@ -15004,35 +15012,35 @@
|
|
|
15004
15012
|
$l$block: {
|
|
15005
15013
|
var tmp;
|
|
15006
15014
|
if (tmp2 instanceof SwitchChatAction) {
|
|
15007
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15015
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2.tb3_1));
|
|
15008
15016
|
} else {
|
|
15009
15017
|
if (tmp2 instanceof SwitchSettingAction) {
|
|
15010
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15018
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2.ub3_1));
|
|
15011
15019
|
} else {
|
|
15012
15020
|
if (tmp2 instanceof SceneTutorialAction) {
|
|
15013
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15021
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2.obc_1));
|
|
15014
15022
|
} else {
|
|
15015
15023
|
if (tmp2 instanceof SceneActivationAction) {
|
|
15016
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15024
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, VOID, VOID, VOID, VOID, tmp2.g9y_1));
|
|
15017
15025
|
} else {
|
|
15018
15026
|
if (tmp2 instanceof CombinationToAnnounceAction) {
|
|
15019
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15027
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, new CombinationToAnnounceState(tmp2.jb4_1, tmp2.kb4_1, tmp2.lb4_1)));
|
|
15020
15028
|
} else {
|
|
15021
15029
|
if (tmp2 instanceof SwitchLastBribeAction) {
|
|
15022
15030
|
var tmp_0 = get_clientPayload_0(state);
|
|
15023
15031
|
var tmp_1;
|
|
15024
|
-
if (tmp2.
|
|
15032
|
+
if (tmp2.vb3_1) {
|
|
15025
15033
|
var cards = last(state.y6s().bribes).s7o_1;
|
|
15026
15034
|
tmp_1 = new LastBribeState(first(cards).g7e_1, getWhoGotLastBribe(state.y6s().players).playerId, cards);
|
|
15027
15035
|
} else {
|
|
15028
15036
|
tmp_1 = null;
|
|
15029
15037
|
}
|
|
15030
|
-
tmp = state.w8z(VOID, tmp_0.
|
|
15038
|
+
tmp = state.w8z(VOID, tmp_0.lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp_1));
|
|
15031
15039
|
} else {
|
|
15032
15040
|
if (tmp2 instanceof SwitchGameInfoAction) {
|
|
15033
15041
|
var tmp_2 = get_clientPayload_0(state);
|
|
15034
15042
|
var tmp_3;
|
|
15035
|
-
if (tmp2.
|
|
15043
|
+
if (tmp2.wb3_1) {
|
|
15036
15044
|
var players = state.y6s().players;
|
|
15037
15045
|
var tmp3_trump = state.y6s().currentTrump;
|
|
15038
15046
|
var tmp1_safe_receiver = singleOrNull(filterWhoChoseSuit(players));
|
|
@@ -15043,19 +15051,19 @@
|
|
|
15043
15051
|
} else {
|
|
15044
15052
|
tmp_3 = null;
|
|
15045
15053
|
}
|
|
15046
|
-
tmp = state.w8z(VOID, tmp_2.
|
|
15054
|
+
tmp = state.w8z(VOID, tmp_2.lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp_3));
|
|
15047
15055
|
} else {
|
|
15048
15056
|
if (tmp2 instanceof AnnouncedCombinationAction) {
|
|
15049
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15057
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, null));
|
|
15050
15058
|
} else {
|
|
15051
15059
|
if (tmp2 instanceof ForegroundAction) {
|
|
15052
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15060
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, VOID, VOID, VOID, tmp2.xb3_1));
|
|
15053
15061
|
} else {
|
|
15054
15062
|
if (tmp2 instanceof InitClientStateAction) {
|
|
15055
|
-
tmp = state.w8z(VOID, Companion_instance_13.
|
|
15063
|
+
tmp = state.w8z(VOID, Companion_instance_13.jbc(tmp2.yb3_1));
|
|
15056
15064
|
} else {
|
|
15057
15065
|
if (tmp2 instanceof UpdateConfigAction) {
|
|
15058
|
-
var tmp6_safe_receiver = tmp2.
|
|
15066
|
+
var tmp6_safe_receiver = tmp2.db4_1;
|
|
15059
15067
|
var tmp_4;
|
|
15060
15068
|
if (tmp6_safe_receiver == null) {
|
|
15061
15069
|
tmp_4 = null;
|
|
@@ -15077,39 +15085,39 @@
|
|
|
15077
15085
|
var updatedPlayers = tmp_4;
|
|
15078
15086
|
var tmp_5 = state.y6s();
|
|
15079
15087
|
var tmp10_$this = state.y6s().config;
|
|
15080
|
-
var tmp7_elvis_lhs = tmp2.
|
|
15088
|
+
var tmp7_elvis_lhs = tmp2.bb4_1;
|
|
15081
15089
|
var tmp11_rulesSetType = tmp7_elvis_lhs == null ? state.y6s().config.rulesSetType : tmp7_elvis_lhs;
|
|
15082
|
-
var tmp8_elvis_lhs = tmp2.
|
|
15090
|
+
var tmp8_elvis_lhs = tmp2.cb4_1;
|
|
15083
15091
|
var tmp12_rules = tmp8_elvis_lhs == null ? state.y6s().config.rules : tmp8_elvis_lhs;
|
|
15084
|
-
var tmp9_elvis_lhs = tmp2.
|
|
15092
|
+
var tmp9_elvis_lhs = tmp2.ab4_1;
|
|
15085
15093
|
var tmp13_options = tmp9_elvis_lhs == null ? state.y6s().config.options : tmp9_elvis_lhs;
|
|
15086
15094
|
var tmp_6 = tmp10_$this.copy(tmp12_rules, tmp11_rulesSetType, tmp13_options);
|
|
15087
15095
|
var tmp_7 = tmp_5.copy(VOID, VOID, VOID, tmp_6, updatedPlayers == null ? state.y6s().players : updatedPlayers);
|
|
15088
15096
|
var tmp_8 = get_clientPayload_0(state);
|
|
15089
|
-
var tmp15_elvis_lhs = tmp2.
|
|
15090
|
-
tmp = state.w8z(tmp_7, tmp_8.
|
|
15097
|
+
var tmp15_elvis_lhs = tmp2.zb3_1;
|
|
15098
|
+
tmp = state.w8z(tmp_7, tmp_8.lb7(tmp15_elvis_lhs == null ? get_clientPayload_0(state).m9x_1 : tmp15_elvis_lhs));
|
|
15091
15099
|
} else {
|
|
15092
15100
|
if (tmp2 instanceof ClientMessageAction) {
|
|
15093
15101
|
var messages = get_clientPayload_0(state).n9x_1;
|
|
15094
15102
|
var lastMessage = lastOrNull(messages);
|
|
15095
|
-
if ((lastMessage == null ? null : lastMessage.f6w(tmp2.
|
|
15103
|
+
if ((lastMessage == null ? null : lastMessage.f6w(tmp2.eb4_1)) === true) {
|
|
15096
15104
|
tmp$ret$5 = state;
|
|
15097
15105
|
break $l$block;
|
|
15098
15106
|
}
|
|
15099
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15107
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, plus_0(messages, tmp2.eb4_1)));
|
|
15100
15108
|
} else {
|
|
15101
15109
|
if (tmp2 instanceof PutCardAndCheckCombinationsAction) {
|
|
15102
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15110
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2.fb4_1));
|
|
15103
15111
|
} else {
|
|
15104
15112
|
if (tmp2 instanceof InfoMessageAction) {
|
|
15105
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15113
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, tmp2.ib4_1));
|
|
15106
15114
|
} else {
|
|
15107
15115
|
if (tmp2 instanceof UpdateMessagesCountAction) {
|
|
15108
|
-
tmp = state.w8z(updateVoiceCount_0(state.y6s(), this.
|
|
15116
|
+
tmp = state.w8z(updateVoiceCount_0(state.y6s(), this.nbc_1));
|
|
15109
15117
|
} else {
|
|
15110
15118
|
if (tmp2 instanceof ResetErrorAction) {
|
|
15111
15119
|
var tmp17_safe_receiver = get_clientPayloadOrNull_0(state);
|
|
15112
|
-
tmp = state.w8z(VOID, tmp17_safe_receiver == null ? null : tmp17_safe_receiver.
|
|
15120
|
+
tmp = state.w8z(VOID, tmp17_safe_receiver == null ? null : tmp17_safe_receiver.lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, null), GameLifecycleState_CREATING_getInstance(), null);
|
|
15113
15121
|
} else {
|
|
15114
15122
|
if (tmp2 instanceof TransitionsFinishedAction) {
|
|
15115
15123
|
var tmp_9 = get_clientPayload_0(state);
|
|
@@ -15120,11 +15128,11 @@
|
|
|
15120
15128
|
var _iterator__ex2g4s_0 = tmp0.j();
|
|
15121
15129
|
while (_iterator__ex2g4s_0.k()) {
|
|
15122
15130
|
var element = _iterator__ex2g4s_0.l();
|
|
15123
|
-
if (!tmp2.
|
|
15131
|
+
if (!tmp2.ibb_1.v1(element.h5o())) {
|
|
15124
15132
|
destination_0.e(element);
|
|
15125
15133
|
}
|
|
15126
15134
|
}
|
|
15127
|
-
tmp = state.w8z(VOID, tmp_9.
|
|
15135
|
+
tmp = state.w8z(VOID, tmp_9.lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, destination_0));
|
|
15128
15136
|
} else {
|
|
15129
15137
|
if (tmp2 instanceof TutorialPassedAction) {
|
|
15130
15138
|
tmp = state;
|
|
@@ -15197,13 +15205,13 @@
|
|
|
15197
15205
|
protoOf(messageReducer$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
15198
15206
|
var action_0 = action instanceof MessageMechanicAction ? action : THROW_CCE();
|
|
15199
15207
|
var clientState = get_clientPayload_0(state);
|
|
15200
|
-
return state.w8z(updateVoiceCount(state.y6s(), action_0), clientState.
|
|
15208
|
+
return state.w8z(updateVoiceCount(state.y6s(), action_0), clientState.lb7(VOID, plus_0(clientState.n9x_1, action_0.o93_1)));
|
|
15201
15209
|
};
|
|
15202
15210
|
protoOf(messageReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15203
15211
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15204
15212
|
};
|
|
15205
15213
|
function clientResetMessagesAfterSelectedTrumpReducer$$inlined$reducerForActionType$1($gameLogger) {
|
|
15206
|
-
this.
|
|
15214
|
+
this.pbc_1 = $gameLogger;
|
|
15207
15215
|
}
|
|
15208
15216
|
protoOf(clientResetMessagesAfterSelectedTrumpReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15209
15217
|
return action instanceof TrumpMechanicAction;
|
|
@@ -15211,13 +15219,13 @@
|
|
|
15211
15219
|
protoOf(clientResetMessagesAfterSelectedTrumpReducer$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
15212
15220
|
action instanceof TrumpMechanicAction || THROW_CCE();
|
|
15213
15221
|
var clientState = get_clientPayload_0(state);
|
|
15214
|
-
return state.w8z(VOID, clientState.
|
|
15222
|
+
return state.w8z(VOID, clientState.lb7(VOID, updateMessagesAsNotShown(clientState.n9x_1, this.pbc_1)));
|
|
15215
15223
|
};
|
|
15216
15224
|
protoOf(clientResetMessagesAfterSelectedTrumpReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15217
15225
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15218
15226
|
};
|
|
15219
15227
|
function clientResetMessagesAfterBribeReducer$$inlined$reducerForActionType$1($gameLogger) {
|
|
15220
|
-
this.
|
|
15228
|
+
this.qbc_1 = $gameLogger;
|
|
15221
15229
|
}
|
|
15222
15230
|
protoOf(clientResetMessagesAfterBribeReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15223
15231
|
return action instanceof PickUpBribeMechanicAction;
|
|
@@ -15225,7 +15233,7 @@
|
|
|
15225
15233
|
protoOf(clientResetMessagesAfterBribeReducer$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
15226
15234
|
action instanceof PickUpBribeMechanicAction || THROW_CCE();
|
|
15227
15235
|
var clientState = get_clientPayload_0(state);
|
|
15228
|
-
return state.w8z(VOID, clientState.
|
|
15236
|
+
return state.w8z(VOID, clientState.lb7(VOID, updateMessagesAsNotShown(clientState.n9x_1, this.qbc_1)));
|
|
15229
15237
|
};
|
|
15230
15238
|
protoOf(clientResetMessagesAfterBribeReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15231
15239
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -15244,11 +15252,11 @@
|
|
|
15244
15252
|
var clientState = get_clientPayload_0(state);
|
|
15245
15253
|
var tmp;
|
|
15246
15254
|
if (action_0 instanceof AddToBufferAction) {
|
|
15247
|
-
var bufferedActions = plus_0(clientState.q9x_1, action_0.
|
|
15248
|
-
tmp = state.w8z(VOID, clientState.
|
|
15255
|
+
var bufferedActions = plus_0(clientState.q9x_1, action_0.pb3_1);
|
|
15256
|
+
tmp = state.w8z(VOID, clientState.lb7(VOID, VOID, VOID, VOID, bufferedActions));
|
|
15249
15257
|
} else {
|
|
15250
15258
|
if (action_0 instanceof ReleaseBufferAction) {
|
|
15251
|
-
tmp = state.w8z(VOID, clientState.
|
|
15259
|
+
tmp = state.w8z(VOID, clientState.lb7(VOID, VOID, VOID, VOID, emptyList()));
|
|
15252
15260
|
} else {
|
|
15253
15261
|
noWhenBranchMatchedException();
|
|
15254
15262
|
}
|
|
@@ -15263,7 +15271,7 @@
|
|
|
15263
15271
|
return new clientErrorStateWhenTerminationActionReducer$$inlined$reducerForActionType$1(clientLifecycleReducer);
|
|
15264
15272
|
}
|
|
15265
15273
|
function clientErrorStateWhenTerminationActionReducer$$inlined$reducerForActionType$1($clientLifecycleReducer) {
|
|
15266
|
-
this.
|
|
15274
|
+
this.rbc_1 = $clientLifecycleReducer;
|
|
15267
15275
|
}
|
|
15268
15276
|
protoOf(clientErrorStateWhenTerminationActionReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15269
15277
|
return isInterface(action, TerminatedAction);
|
|
@@ -15281,7 +15289,7 @@
|
|
|
15281
15289
|
}
|
|
15282
15290
|
}
|
|
15283
15291
|
var errorState = tmp;
|
|
15284
|
-
return state.w8z(VOID, this.
|
|
15292
|
+
return state.w8z(VOID, this.rbc_1.ybb(get_clientPayload_0(state)).lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, errorState));
|
|
15285
15293
|
};
|
|
15286
15294
|
protoOf(clientErrorStateWhenTerminationActionReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15287
15295
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -15300,9 +15308,9 @@
|
|
|
15300
15308
|
var clientState = get_clientPayload_0(state);
|
|
15301
15309
|
var tmp;
|
|
15302
15310
|
if (action_0 instanceof ExpectantCreatedClientAction) {
|
|
15303
|
-
var expectants = plus_0(clientState.p9x_1, action_0.
|
|
15304
|
-
var bufferedActions = plus_0(clientState.q9x_1, action_0.
|
|
15305
|
-
tmp = state.w8z(VOID, clientState.
|
|
15311
|
+
var expectants = plus_0(clientState.p9x_1, action_0.mb4_1);
|
|
15312
|
+
var bufferedActions = plus_0(clientState.q9x_1, action_0.mb4_1.k9w_1);
|
|
15313
|
+
tmp = state.w8z(VOID, clientState.lb7(VOID, VOID, VOID, expectants, bufferedActions));
|
|
15306
15314
|
} else {
|
|
15307
15315
|
if (action_0 instanceof ExpectantTimerFinishedClientAction) {
|
|
15308
15316
|
// Inline function 'kotlin.collections.single' call
|
|
@@ -15333,7 +15341,7 @@
|
|
|
15333
15341
|
}
|
|
15334
15342
|
}
|
|
15335
15343
|
var expectants_0 = plus_0(destination, expectant.o9w(VOID, VOID, true));
|
|
15336
|
-
tmp = state.w8z(VOID, clientState.
|
|
15344
|
+
tmp = state.w8z(VOID, clientState.lb7(VOID, VOID, VOID, expectants_0));
|
|
15337
15345
|
} else {
|
|
15338
15346
|
if (action_0 instanceof ExpectantStageCompletedClientAction) {
|
|
15339
15347
|
tmp = state;
|
|
@@ -15371,7 +15379,7 @@
|
|
|
15371
15379
|
}
|
|
15372
15380
|
}
|
|
15373
15381
|
var expectants = destination;
|
|
15374
|
-
return state.w8z(VOID, clientPayload.
|
|
15382
|
+
return state.w8z(VOID, clientPayload.lb7(VOID, VOID, VOID, expectants));
|
|
15375
15383
|
};
|
|
15376
15384
|
protoOf(expectantActionReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15377
15385
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -15405,7 +15413,7 @@
|
|
|
15405
15413
|
}
|
|
15406
15414
|
var player = getPlayer(table.players, playerId);
|
|
15407
15415
|
var removeCardFromHand = getOpenOrHiddenCardInHand($this, card, player, currentPlayerId, table.players);
|
|
15408
|
-
var tmp0_id = $this.
|
|
15416
|
+
var tmp0_id = $this.ybc_1.t6l();
|
|
15409
15417
|
var tmp1_playerIndex = getPlayerIndex(table.players, playerId);
|
|
15410
15418
|
var tmp2_position = table.cardsOnTable.m();
|
|
15411
15419
|
return plus_0(clientPayload.z9x_1, new PutCardOnTableTransition(tmp0_id, playerId, tmp1_playerIndex, tmp2_position, removeCardFromHand, card));
|
|
@@ -15429,13 +15437,13 @@
|
|
|
15429
15437
|
return tmp0_elvis_lhs == null ? last(openOrHiddenCard) : tmp0_elvis_lhs;
|
|
15430
15438
|
}
|
|
15431
15439
|
function getOpenOrHiddenCardsInHand($this, player, currentPlayerId, players, processingCard, cards) {
|
|
15432
|
-
var tmp1_$this = $this.
|
|
15440
|
+
var tmp1_$this = $this.wbc_1;
|
|
15433
15441
|
var tmp2_playerId = player.playerId;
|
|
15434
15442
|
var tmp3_isCurrentPlayer = player.playerId === currentPlayerId;
|
|
15435
15443
|
var tmp4_players = mapWithIndex(players);
|
|
15436
15444
|
var tmp5_cards = toList(toSet(cards));
|
|
15437
15445
|
var tmp6_processingCardOnTable = processingCard == null ? null : processingCard.m6k_1;
|
|
15438
|
-
return tmp1_$this.
|
|
15446
|
+
return tmp1_$this.cbd(tmp2_playerId, tmp3_isCurrentPlayer, tmp5_cards, tmp4_players, tmp6_processingCardOnTable);
|
|
15439
15447
|
}
|
|
15440
15448
|
function getOpenOrHiddenCardsInHand$default($this, player, currentPlayerId, players, processingCard, cards, $super) {
|
|
15441
15449
|
cards = cards === VOID ? player.a70_1 : cards;
|
|
@@ -15469,7 +15477,7 @@
|
|
|
15469
15477
|
throw new MechanicException('Required ' + getKClass(EarnPointsSceneData).ab() + ', current scene is ' + toString_0(tmp0));
|
|
15470
15478
|
}
|
|
15471
15479
|
var sceneData = tmp$ret$0;
|
|
15472
|
-
var tmp0_$this = $this.
|
|
15480
|
+
var tmp0_$this = $this.xbc_1;
|
|
15473
15481
|
var tmp1_config = state.y6s().config;
|
|
15474
15482
|
var tmp2_cardDeck = state.y6s().requireCardDeck;
|
|
15475
15483
|
var tmp3_newTopOpenedCard = sceneData.u7g_1;
|
|
@@ -15482,38 +15490,53 @@
|
|
|
15482
15490
|
}
|
|
15483
15491
|
function addCardDistributionTransition($this, state, currentPlayerId, cardsToDistribute, distributeTrumpCard, otherCardsCount) {
|
|
15484
15492
|
var table = state.y6s();
|
|
15485
|
-
var distributeToCards = prepareCardsForDistribution($this,
|
|
15493
|
+
var distributeToCards = prepareCardsForDistribution($this, table, get_clientPayload_0(state), currentPlayerId, cardsToDistribute);
|
|
15486
15494
|
var whoGetsTheTrumpCardPlayer = determineWhoGetsTheTrumpCard($this, table);
|
|
15487
15495
|
var cardDeckCards = createCardDeckCards($this, cardsToDistribute, otherCardsCount);
|
|
15488
15496
|
var tmp1_whoChoseSuitPlayerId = whoGetsTheTrumpCardPlayer == null ? null : whoGetsTheTrumpCardPlayer.playerId;
|
|
15489
|
-
|
|
15490
|
-
var
|
|
15491
|
-
|
|
15497
|
+
// Inline function 'kotlin.collections.mapValues' call
|
|
15498
|
+
var this_0 = dealCards($this, distributeToCards, distributeTrumpCard, cardDeckCards, tmp1_whoChoseSuitPlayerId);
|
|
15499
|
+
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
15500
|
+
var destination = LinkedHashMap_init_$Create$(mapCapacity(this_0.m()));
|
|
15501
|
+
// Inline function 'kotlin.collections.associateByTo' call
|
|
15502
|
+
var _iterator__ex2g4s = this_0.s().j();
|
|
15503
|
+
while (_iterator__ex2g4s.k()) {
|
|
15504
|
+
var element = _iterator__ex2g4s.l();
|
|
15505
|
+
var tmp = element.t();
|
|
15506
|
+
// Inline function 'kotlin.collections.component2' call
|
|
15507
|
+
var value = element.u();
|
|
15508
|
+
var tmp_0 = TransitionsReducerImpl$addCardDistributionTransition$lambda(state);
|
|
15509
|
+
var tmp$ret$2 = sortedWith(value, new sam$kotlin_Comparator$0(tmp_0));
|
|
15510
|
+
destination.n2(tmp, tmp$ret$2);
|
|
15511
|
+
}
|
|
15512
|
+
var cardPairsMap = destination;
|
|
15513
|
+
var updatedTransitions = plus_0(get_clientPayload_0(state).z9x_1, new CardDistributionTransition($this.ybc_1.t6l(), cardPairsMap));
|
|
15514
|
+
return state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
15492
15515
|
}
|
|
15493
15516
|
function DistributeCardsModel(playerId, cardsToDistribute, allPlayerCards) {
|
|
15494
|
-
this.
|
|
15495
|
-
this.
|
|
15496
|
-
this.
|
|
15517
|
+
this.dbd_1 = playerId;
|
|
15518
|
+
this.ebd_1 = cardsToDistribute;
|
|
15519
|
+
this.fbd_1 = allPlayerCards;
|
|
15497
15520
|
}
|
|
15498
15521
|
protoOf(DistributeCardsModel).f6e = function () {
|
|
15499
|
-
return this.
|
|
15522
|
+
return this.dbd_1;
|
|
15500
15523
|
};
|
|
15501
|
-
protoOf(DistributeCardsModel).
|
|
15524
|
+
protoOf(DistributeCardsModel).gbd = function (playerId, cardsToDistribute, allPlayerCards) {
|
|
15502
15525
|
return new DistributeCardsModel(playerId, cardsToDistribute, allPlayerCards);
|
|
15503
15526
|
};
|
|
15504
|
-
protoOf(DistributeCardsModel).
|
|
15505
|
-
playerId = playerId === VOID ? this.
|
|
15506
|
-
cardsToDistribute = cardsToDistribute === VOID ? this.
|
|
15507
|
-
allPlayerCards = allPlayerCards === VOID ? this.
|
|
15508
|
-
return $super === VOID ? this.
|
|
15527
|
+
protoOf(DistributeCardsModel).hbd = function (playerId, cardsToDistribute, allPlayerCards, $super) {
|
|
15528
|
+
playerId = playerId === VOID ? this.dbd_1 : playerId;
|
|
15529
|
+
cardsToDistribute = cardsToDistribute === VOID ? this.ebd_1 : cardsToDistribute;
|
|
15530
|
+
allPlayerCards = allPlayerCards === VOID ? this.fbd_1 : allPlayerCards;
|
|
15531
|
+
return $super === VOID ? this.gbd(playerId, cardsToDistribute, allPlayerCards) : $super.gbd.call(this, playerId, cardsToDistribute, allPlayerCards);
|
|
15509
15532
|
};
|
|
15510
15533
|
protoOf(DistributeCardsModel).toString = function () {
|
|
15511
|
-
return 'DistributeCardsModel(playerId=' + this.
|
|
15534
|
+
return 'DistributeCardsModel(playerId=' + this.dbd_1 + ', cardsToDistribute=' + toString(this.ebd_1) + ', allPlayerCards=' + toString(this.fbd_1) + ')';
|
|
15512
15535
|
};
|
|
15513
15536
|
protoOf(DistributeCardsModel).hashCode = function () {
|
|
15514
|
-
var result = getStringHashCode(this.
|
|
15515
|
-
result = imul(result, 31) + hashCode(this.dbd_1) | 0;
|
|
15537
|
+
var result = getStringHashCode(this.dbd_1);
|
|
15516
15538
|
result = imul(result, 31) + hashCode(this.ebd_1) | 0;
|
|
15539
|
+
result = imul(result, 31) + hashCode(this.fbd_1) | 0;
|
|
15517
15540
|
return result;
|
|
15518
15541
|
};
|
|
15519
15542
|
protoOf(DistributeCardsModel).equals = function (other) {
|
|
@@ -15522,15 +15545,15 @@
|
|
|
15522
15545
|
if (!(other instanceof DistributeCardsModel))
|
|
15523
15546
|
return false;
|
|
15524
15547
|
var tmp0_other_with_cast = other instanceof DistributeCardsModel ? other : THROW_CCE();
|
|
15525
|
-
if (!(this.
|
|
15526
|
-
return false;
|
|
15527
|
-
if (!equals(this.dbd_1, tmp0_other_with_cast.dbd_1))
|
|
15548
|
+
if (!(this.dbd_1 === tmp0_other_with_cast.dbd_1))
|
|
15528
15549
|
return false;
|
|
15529
15550
|
if (!equals(this.ebd_1, tmp0_other_with_cast.ebd_1))
|
|
15530
15551
|
return false;
|
|
15552
|
+
if (!equals(this.fbd_1, tmp0_other_with_cast.fbd_1))
|
|
15553
|
+
return false;
|
|
15531
15554
|
return true;
|
|
15532
15555
|
};
|
|
15533
|
-
function prepareCardsForDistribution($this,
|
|
15556
|
+
function prepareCardsForDistribution($this, table, clientPayload, currentPlayerId, cardsToDistributeForPlayers) {
|
|
15534
15557
|
// Inline function 'kotlin.collections.map' call
|
|
15535
15558
|
var this_0 = table.players;
|
|
15536
15559
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -15539,7 +15562,6 @@
|
|
|
15539
15562
|
while (_iterator__ex2g4s.k()) {
|
|
15540
15563
|
var item = _iterator__ex2g4s.l();
|
|
15541
15564
|
var newCards = getValue(cardsToDistributeForPlayers, item.playerId);
|
|
15542
|
-
var clientPayload = get_clientPayload_0(state);
|
|
15543
15565
|
var tmp0_cards = plus(item.a70_1, newCards);
|
|
15544
15566
|
var tmp1_players = table.players;
|
|
15545
15567
|
var tmp2_processingCard = clientPayload.y9x_1;
|
|
@@ -15552,7 +15574,7 @@
|
|
|
15552
15574
|
return destination;
|
|
15553
15575
|
}
|
|
15554
15576
|
function determineWhoGetsTheTrumpCard($this, table) {
|
|
15555
|
-
return !(firstOrNull(filterWhoChoseSuit(table.players)) == null) ? $this.
|
|
15577
|
+
return !(firstOrNull(filterWhoChoseSuit(table.players)) == null) ? $this.zbc_1.m8o(table.players, table.config) : null;
|
|
15556
15578
|
}
|
|
15557
15579
|
function createCardDeckCards($this, cardsToDistribute, otherCardsCount) {
|
|
15558
15580
|
// Inline function 'kotlin.collections.sumOf' call
|
|
@@ -15580,9 +15602,9 @@
|
|
|
15580
15602
|
while (inductionVariable < size);
|
|
15581
15603
|
return takeLast(list, cardsToDistributeCount);
|
|
15582
15604
|
}
|
|
15583
|
-
function
|
|
15605
|
+
function dealCards($this, distributeCardsModels, distributeTrumpCard, cardDeckCards, whoChoseSuitPlayerId) {
|
|
15584
15606
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
15585
|
-
var playersCardsFromCardDeck = LinkedHashMap_init_$Create$();
|
|
15607
|
+
var playersCardsFromCardDeck = LinkedHashMap_init_$Create$_0();
|
|
15586
15608
|
var updatedDistributeToCards = handleTrumpCardDistribution($this, distributeCardsModels, whoChoseSuitPlayerId, distributeTrumpCard, playersCardsFromCardDeck);
|
|
15587
15609
|
// Inline function 'kotlin.collections.sumOf' call
|
|
15588
15610
|
var sum = 0;
|
|
@@ -15590,17 +15612,32 @@
|
|
|
15590
15612
|
while (_iterator__ex2g4s.k()) {
|
|
15591
15613
|
var element = _iterator__ex2g4s.l();
|
|
15592
15614
|
var tmp = sum;
|
|
15593
|
-
sum = tmp + element.
|
|
15615
|
+
sum = tmp + element.ebd_1.m() | 0;
|
|
15616
|
+
}
|
|
15617
|
+
var totalToDeal = sum;
|
|
15618
|
+
var cardDeckCardsIterator = reversed(take_0(cardDeckCards, totalToDeal)).j();
|
|
15619
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
15620
|
+
var _iterator__ex2g4s_0 = updatedDistributeToCards.j();
|
|
15621
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
15622
|
+
var element_0 = _iterator__ex2g4s_0.l();
|
|
15623
|
+
// Inline function 'kotlin.collections.map' call
|
|
15624
|
+
var this_0 = element_0.ebd_1;
|
|
15625
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
15626
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
15627
|
+
var _iterator__ex2g4s_1 = this_0.j();
|
|
15628
|
+
while (_iterator__ex2g4s_1.k()) {
|
|
15629
|
+
var item = _iterator__ex2g4s_1.l();
|
|
15630
|
+
var tmp0_index = element_0.fbd_1.x1(item);
|
|
15631
|
+
var tmp1_fromCard = cardDeckCardsIterator.l();
|
|
15632
|
+
var tmp2_mode = CardTransitionMode_DISTRIBUTION_getInstance();
|
|
15633
|
+
var tmp$ret$3 = new CardInHandTransition(tmp2_mode, tmp0_index, tmp1_fromCard, item);
|
|
15634
|
+
destination.e(tmp$ret$3);
|
|
15635
|
+
}
|
|
15636
|
+
var additions = destination;
|
|
15637
|
+
addCards($this, playersCardsFromCardDeck, element_0.dbd_1, additions);
|
|
15594
15638
|
}
|
|
15595
|
-
var distributeCardCount = sum;
|
|
15596
|
-
var cardDeckCardsIterator = reversed(take_0(cardDeckCards, distributeCardCount)).j();
|
|
15597
|
-
distributeRemainingCards($this, updatedDistributeToCards, cardDeckCardsIterator, playersCardsFromCardDeck, cardsInWave);
|
|
15598
15639
|
return playersCardsFromCardDeck;
|
|
15599
15640
|
}
|
|
15600
|
-
function dealCardsByWaves$default($this, distributeCardsModels, distributeTrumpCard, cardDeckCards, whoChoseSuitPlayerId, cardsInWave, $super) {
|
|
15601
|
-
cardsInWave = cardsInWave === VOID ? 2 : cardsInWave;
|
|
15602
|
-
return dealCardsByWaves($this, distributeCardsModels, distributeTrumpCard, cardDeckCards, whoChoseSuitPlayerId, cardsInWave);
|
|
15603
|
-
}
|
|
15604
15641
|
function addCards($this, _this__u8e3s4, playerId, cards) {
|
|
15605
15642
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
15606
15643
|
var tmp0_elvis_lhs = _this__u8e3s4.k2(playerId);
|
|
@@ -15614,7 +15651,7 @@
|
|
|
15614
15651
|
var updatedDistributeCardsModels = toMutableList(distributeCardsModels);
|
|
15615
15652
|
if (!(whoChoseSuitPlayerId == null) && !(distributeTrumpCard == null)) {
|
|
15616
15653
|
var model = getPlayer(distributeCardsModels, whoChoseSuitPlayerId);
|
|
15617
|
-
var tmp0 = model.
|
|
15654
|
+
var tmp0 = model.ebd_1;
|
|
15618
15655
|
var tmp$ret$1;
|
|
15619
15656
|
$l$block: {
|
|
15620
15657
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -15629,12 +15666,12 @@
|
|
|
15629
15666
|
tmp$ret$1 = null;
|
|
15630
15667
|
}
|
|
15631
15668
|
var tmp0_elvis_lhs = tmp$ret$1;
|
|
15632
|
-
var toCard = tmp0_elvis_lhs == null ? first(model.
|
|
15633
|
-
var tmp1_index = model.
|
|
15669
|
+
var toCard = tmp0_elvis_lhs == null ? first(model.ebd_1) : tmp0_elvis_lhs;
|
|
15670
|
+
var tmp1_index = model.fbd_1.x1(toCard);
|
|
15634
15671
|
var tmp2_mode = CardTransitionMode_DISTRIBUTION_getInstance();
|
|
15635
15672
|
addCards($this, playersCardsFromCardDeck, whoChoseSuitPlayerId, listOf_0(new CardInHandTransition(tmp2_mode, tmp1_index, distributeTrumpCard, toCard)));
|
|
15636
15673
|
// Inline function 'kotlin.collections.filter' call
|
|
15637
|
-
var tmp0_0 = model.
|
|
15674
|
+
var tmp0_0 = model.ebd_1;
|
|
15638
15675
|
// Inline function 'kotlin.collections.filterTo' call
|
|
15639
15676
|
var destination = ArrayList_init_$Create$_0();
|
|
15640
15677
|
var _iterator__ex2g4s_0 = tmp0_0.j();
|
|
@@ -15644,98 +15681,73 @@
|
|
|
15644
15681
|
destination.e(element_0);
|
|
15645
15682
|
}
|
|
15646
15683
|
}
|
|
15647
|
-
updated(updatedDistributeCardsModels, model.
|
|
15684
|
+
updated(updatedDistributeCardsModels, model.hbd(VOID, destination), get_byIdPlayerPredicate()(model.dbd_1));
|
|
15648
15685
|
}
|
|
15649
15686
|
return updatedDistributeCardsModels;
|
|
15650
15687
|
}
|
|
15651
|
-
function
|
|
15652
|
-
|
|
15653
|
-
|
|
15654
|
-
|
|
15655
|
-
|
|
15656
|
-
|
|
15657
|
-
|
|
15658
|
-
|
|
15659
|
-
|
|
15660
|
-
|
|
15661
|
-
|
|
15662
|
-
|
|
15663
|
-
|
|
15664
|
-
|
|
15665
|
-
|
|
15666
|
-
|
|
15667
|
-
|
|
15668
|
-
|
|
15669
|
-
|
|
15670
|
-
|
|
15671
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
15672
|
-
var _iterator__ex2g4s_0 = cardsLeftMap.s().j();
|
|
15673
|
-
while (_iterator__ex2g4s_0.k()) {
|
|
15674
|
-
var element_0 = _iterator__ex2g4s_0.l();
|
|
15675
|
-
// Inline function 'kotlin.collections.component1' call
|
|
15676
|
-
var playerId = element_0.t();
|
|
15677
|
-
// Inline function 'kotlin.collections.component2' call
|
|
15678
|
-
var cards = element_0.u();
|
|
15679
|
-
// Inline function 'kotlin.math.min' call
|
|
15680
|
-
var b = cards.m();
|
|
15681
|
-
var tmp$ret$8 = Math.min(cardsInWave, b);
|
|
15682
|
-
var cardsToAdd = take_0(cards, tmp$ret$8);
|
|
15683
|
-
var cardsRemains = drop(cards, cardsToAdd.m());
|
|
15684
|
-
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
15685
|
-
if (!cardsRemains.p()) {
|
|
15686
|
-
// Inline function 'kotlin.collections.set' call
|
|
15687
|
-
cardsLeftMapAfterWave.n2(playerId, cardsRemains);
|
|
15688
|
-
}
|
|
15689
|
-
// Inline function 'kotlin.collections.map' call
|
|
15690
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
15691
|
-
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(cardsToAdd, 10));
|
|
15692
|
-
var _iterator__ex2g4s_1 = cardsToAdd.j();
|
|
15693
|
-
while (_iterator__ex2g4s_1.k()) {
|
|
15694
|
-
var item = _iterator__ex2g4s_1.l();
|
|
15695
|
-
var tmp0_index = getPlayer(distributeCardsModels, playerId).ebd_1.x1(item);
|
|
15696
|
-
var tmp1_hiddenCard = cardDeckCardsIterator.l();
|
|
15697
|
-
var tmp2_mode = CardTransitionMode_DISTRIBUTION_getInstance();
|
|
15698
|
-
var tmp$ret$11 = new CardInHandTransition(tmp2_mode, tmp0_index, tmp1_hiddenCard, item);
|
|
15699
|
-
destination_0.e(tmp$ret$11);
|
|
15700
|
-
}
|
|
15701
|
-
addCards($this, playersCardsFromCardDeck, playerId, destination_0);
|
|
15688
|
+
function sam$kotlin_Comparator$0(function_0) {
|
|
15689
|
+
this.ibd_1 = function_0;
|
|
15690
|
+
}
|
|
15691
|
+
protoOf(sam$kotlin_Comparator$0).bd = function (a, b) {
|
|
15692
|
+
return this.ibd_1(a, b);
|
|
15693
|
+
};
|
|
15694
|
+
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
15695
|
+
return this.bd(a, b);
|
|
15696
|
+
};
|
|
15697
|
+
protoOf(sam$kotlin_Comparator$0).u3 = function () {
|
|
15698
|
+
return this.ibd_1;
|
|
15699
|
+
};
|
|
15700
|
+
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
15701
|
+
var tmp;
|
|
15702
|
+
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
15703
|
+
var tmp_0;
|
|
15704
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
15705
|
+
tmp_0 = equals(this.u3(), other.u3());
|
|
15706
|
+
} else {
|
|
15707
|
+
tmp_0 = false;
|
|
15702
15708
|
}
|
|
15703
|
-
|
|
15709
|
+
tmp = tmp_0;
|
|
15710
|
+
} else {
|
|
15711
|
+
tmp = false;
|
|
15704
15712
|
}
|
|
15705
|
-
|
|
15713
|
+
return tmp;
|
|
15714
|
+
};
|
|
15715
|
+
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
15716
|
+
return hashCode(this.u3());
|
|
15717
|
+
};
|
|
15706
15718
|
function TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1(this$0, $currentPlayerId) {
|
|
15707
|
-
this.
|
|
15708
|
-
this.
|
|
15719
|
+
this.jbd_1 = this$0;
|
|
15720
|
+
this.kbd_1 = $currentPlayerId;
|
|
15709
15721
|
}
|
|
15710
15722
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15711
15723
|
return action instanceof PutCardAndCheckCombinationsAction;
|
|
15712
15724
|
};
|
|
15713
15725
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
15714
15726
|
var action_0 = action instanceof PutCardAndCheckCombinationsAction ? action : THROW_CCE();
|
|
15715
|
-
var updatedTransitions = addPutCardOnTableTransition(this.
|
|
15716
|
-
return state.w8z(VOID, get_clientPayload_0(state).
|
|
15727
|
+
var updatedTransitions = addPutCardOnTableTransition(this.jbd_1, this.kbd_1, this.kbd_1, action_0.fb4_1.m6k_1, state.y6s(), get_clientPayload_0(state));
|
|
15728
|
+
return state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
15717
15729
|
};
|
|
15718
15730
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15719
15731
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15720
15732
|
};
|
|
15721
15733
|
function TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1(this$0, $currentPlayerId) {
|
|
15722
|
-
this.
|
|
15723
|
-
this.
|
|
15734
|
+
this.lbd_1 = this$0;
|
|
15735
|
+
this.mbd_1 = $currentPlayerId;
|
|
15724
15736
|
}
|
|
15725
15737
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15726
15738
|
return action instanceof PutCardMechanicAction;
|
|
15727
15739
|
};
|
|
15728
15740
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
15729
15741
|
var action_0 = action instanceof PutCardMechanicAction ? action : THROW_CCE();
|
|
15730
|
-
var updatedTransitions = addPutCardOnTableTransition(this.
|
|
15731
|
-
return state.w8z(VOID, get_clientPayload_0(state).
|
|
15742
|
+
var updatedTransitions = addPutCardOnTableTransition(this.lbd_1, action_0.playerId, this.mbd_1, action_0.u8w_1, state.y6s(), get_clientPayload_0(state));
|
|
15743
|
+
return state.w8z(VOID, get_clientPayload_0(state).lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
15732
15744
|
};
|
|
15733
15745
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15734
15746
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15735
15747
|
};
|
|
15736
15748
|
function TransitionsReducerImpl$addTransitionWhenCardDistributionReducer$$inlined$reducerForActionType$1(this$0, $currentPlayerId) {
|
|
15737
|
-
this.
|
|
15738
|
-
this.
|
|
15749
|
+
this.nbd_1 = this$0;
|
|
15750
|
+
this.obd_1 = $currentPlayerId;
|
|
15739
15751
|
}
|
|
15740
15752
|
protoOf(TransitionsReducerImpl$addTransitionWhenCardDistributionReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15741
15753
|
return action instanceof SceneMechanicAction;
|
|
@@ -15745,10 +15757,10 @@
|
|
|
15745
15757
|
var tmp;
|
|
15746
15758
|
switch (action_0.l8w_1) {
|
|
15747
15759
|
case 'TRADE':
|
|
15748
|
-
tmp = handleTradeScene(this.
|
|
15760
|
+
tmp = handleTradeScene(this.nbd_1, state, action_0, this.obd_1);
|
|
15749
15761
|
break;
|
|
15750
15762
|
case 'EARN_POINTS':
|
|
15751
|
-
tmp = handleEarnPointsScene(this.
|
|
15763
|
+
tmp = handleEarnPointsScene(this.nbd_1, state, action_0, this.obd_1);
|
|
15752
15764
|
break;
|
|
15753
15765
|
default:
|
|
15754
15766
|
tmp = state;
|
|
@@ -15760,8 +15772,8 @@
|
|
|
15760
15772
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15761
15773
|
};
|
|
15762
15774
|
function TransitionsReducerImpl$addTransitionWhenExpectant$$inlined$reducerForActionType$1(this$0, $currentPlayerId) {
|
|
15763
|
-
this.
|
|
15764
|
-
this.
|
|
15775
|
+
this.pbd_1 = this$0;
|
|
15776
|
+
this.qbd_1 = $currentPlayerId;
|
|
15765
15777
|
}
|
|
15766
15778
|
protoOf(TransitionsReducerImpl$addTransitionWhenExpectant$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15767
15779
|
return action instanceof ExpectantCreatedClientAction;
|
|
@@ -15769,31 +15781,31 @@
|
|
|
15769
15781
|
protoOf(TransitionsReducerImpl$addTransitionWhenExpectant$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
15770
15782
|
var action_0 = action instanceof ExpectantCreatedClientAction ? action : THROW_CCE();
|
|
15771
15783
|
var clientPayload = get_clientPayload_0(state);
|
|
15772
|
-
var expectantAction = action_0.
|
|
15784
|
+
var expectantAction = action_0.mb4_1.k9w_1;
|
|
15773
15785
|
var tmp;
|
|
15774
15786
|
if (expectantAction instanceof CombinationChoiceMechanicAction) {
|
|
15775
15787
|
var combination = first(expectantAction.j93_1);
|
|
15776
15788
|
var tmp_0;
|
|
15777
15789
|
if (expectantAction.i93_1 && combination.i7f_1.equals(CombinationType_SEVEN_TRUMP_getInstance())) {
|
|
15778
15790
|
var trumpCard = single(combination.x8h());
|
|
15779
|
-
var trumpCardOrOrigin = getOpenOrHiddenCardInHand(this.
|
|
15780
|
-
var tmp1_id = this.
|
|
15781
|
-
var
|
|
15782
|
-
var
|
|
15783
|
-
var updatedTransitions = plus_0(clientPayload.z9x_1, new SwapCardsTransition(tmp1_id, trumpCardOrOrigin, trumpCard,
|
|
15784
|
-
tmp_0 = state.w8z(VOID, clientPayload.
|
|
15791
|
+
var trumpCardOrOrigin = getOpenOrHiddenCardInHand(this.pbd_1, trumpCard, getPlayer(state.y6s().players, expectantAction.playerId), this.qbd_1, state.y6s().players);
|
|
15792
|
+
var tmp1_id = this.pbd_1.ybc_1.t6l();
|
|
15793
|
+
var tmp2_toCard2 = state.y6s().requireCardDeck.b7p_1;
|
|
15794
|
+
var tmp3_fromCard2 = state.y6s().requireCardDeck.b7p_1;
|
|
15795
|
+
var updatedTransitions = plus_0(clientPayload.z9x_1, new SwapCardsTransition(tmp1_id, trumpCardOrOrigin, trumpCard, tmp3_fromCard2, tmp2_toCard2));
|
|
15796
|
+
tmp_0 = state.w8z(VOID, clientPayload.lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
15785
15797
|
} else {
|
|
15786
15798
|
tmp_0 = state;
|
|
15787
15799
|
}
|
|
15788
15800
|
tmp = tmp_0;
|
|
15789
15801
|
} else {
|
|
15790
15802
|
if (expectantAction instanceof WinnerCombinationsMechanicAction) {
|
|
15791
|
-
var tmp_1 = this.
|
|
15803
|
+
var tmp_1 = this.pbd_1.ybc_1.t6l();
|
|
15792
15804
|
// Inline function 'kotlin.collections.associate' call
|
|
15793
15805
|
var this_0 = expectantAction.m93_1;
|
|
15794
15806
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
15795
15807
|
// Inline function 'kotlin.collections.associateTo' call
|
|
15796
|
-
var destination = LinkedHashMap_init_$Create$
|
|
15808
|
+
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
15797
15809
|
var _iterator__ex2g4s = this_0.j();
|
|
15798
15810
|
while (_iterator__ex2g4s.k()) {
|
|
15799
15811
|
var element = _iterator__ex2g4s.l();
|
|
@@ -15812,7 +15824,7 @@
|
|
|
15812
15824
|
var combinationCards = flatten(destination_0);
|
|
15813
15825
|
var tmp0_players = state.y6s().players;
|
|
15814
15826
|
var tmp1_processingCard = clientPayload.y9x_1;
|
|
15815
|
-
var openOrHiddenCards = getOpenOrHiddenCardsInHand(this.
|
|
15827
|
+
var openOrHiddenCards = getOpenOrHiddenCardsInHand(this.pbd_1, player, this.qbd_1, tmp0_players, tmp1_processingCard, combinationCards);
|
|
15816
15828
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
15817
15829
|
var this_2 = zip(combinationCards, openOrHiddenCards);
|
|
15818
15830
|
// Inline function 'kotlin.collections.mapIndexedTo' call
|
|
@@ -15843,10 +15855,10 @@
|
|
|
15843
15855
|
destination.n2(pair.if_1, pair.jf_1);
|
|
15844
15856
|
}
|
|
15845
15857
|
var updatedTransitions_0 = plus_0(clientPayload.z9x_1, new ShowCombinationTransition(tmp_1, destination));
|
|
15846
|
-
tmp = state.w8z(VOID, clientPayload.
|
|
15858
|
+
tmp = state.w8z(VOID, clientPayload.lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions_0));
|
|
15847
15859
|
} else {
|
|
15848
15860
|
if (expectantAction instanceof PickUpBribeMechanicAction) {
|
|
15849
|
-
var tmp_3 = this.
|
|
15861
|
+
var tmp_3 = this.pbd_1.ybc_1.t6l();
|
|
15850
15862
|
// Inline function 'kotlin.collections.map' call
|
|
15851
15863
|
var this_3 = state.y6s().cardsOnTable;
|
|
15852
15864
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -15858,7 +15870,7 @@
|
|
|
15858
15870
|
destination_2.e(tmp$ret$10);
|
|
15859
15871
|
}
|
|
15860
15872
|
var updatedTransitions_1 = plus_0(clientPayload.z9x_1, new PickUpBribeTransition(tmp_3, expectantAction.z8w_1, destination_2));
|
|
15861
|
-
tmp = state.w8z(VOID, clientPayload.
|
|
15873
|
+
tmp = state.w8z(VOID, clientPayload.lb7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions_1));
|
|
15862
15874
|
} else {
|
|
15863
15875
|
tmp = state;
|
|
15864
15876
|
}
|
|
@@ -15869,40 +15881,45 @@
|
|
|
15869
15881
|
protoOf(TransitionsReducerImpl$addTransitionWhenExpectant$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15870
15882
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15871
15883
|
};
|
|
15884
|
+
function TransitionsReducerImpl$addCardDistributionTransition$lambda($state) {
|
|
15885
|
+
return function (card1, card2) {
|
|
15886
|
+
return (new CardSuitSortingComparator(get_clientPayload_0($state).m9x_1.j9v_1)).z69(card1.g9t_1, card2.g9t_1);
|
|
15887
|
+
};
|
|
15888
|
+
}
|
|
15872
15889
|
function TransitionsReducerImpl(playerHandSelector, sceneReducer, idsProvider, gameLogicProvider) {
|
|
15873
|
-
this.
|
|
15874
|
-
this.
|
|
15875
|
-
this.
|
|
15876
|
-
this.
|
|
15890
|
+
this.wbc_1 = playerHandSelector;
|
|
15891
|
+
this.xbc_1 = sceneReducer;
|
|
15892
|
+
this.ybc_1 = idsProvider;
|
|
15893
|
+
this.zbc_1 = gameLogicProvider;
|
|
15877
15894
|
}
|
|
15878
|
-
protoOf(TransitionsReducerImpl).
|
|
15895
|
+
protoOf(TransitionsReducerImpl).sbc = function (currentPlayerId) {
|
|
15879
15896
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
15880
15897
|
return new TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1(this, currentPlayerId);
|
|
15881
15898
|
};
|
|
15882
|
-
protoOf(TransitionsReducerImpl).
|
|
15899
|
+
protoOf(TransitionsReducerImpl).tbc = function (currentPlayerId) {
|
|
15883
15900
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
15884
15901
|
return new TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1(this, currentPlayerId);
|
|
15885
15902
|
};
|
|
15886
|
-
protoOf(TransitionsReducerImpl).
|
|
15903
|
+
protoOf(TransitionsReducerImpl).ubc = function (currentPlayerId) {
|
|
15887
15904
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
15888
15905
|
return new TransitionsReducerImpl$addTransitionWhenCardDistributionReducer$$inlined$reducerForActionType$1(this, currentPlayerId);
|
|
15889
15906
|
};
|
|
15890
|
-
protoOf(TransitionsReducerImpl).
|
|
15907
|
+
protoOf(TransitionsReducerImpl).vbc = function (currentPlayerId) {
|
|
15891
15908
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
15892
15909
|
return new TransitionsReducerImpl$addTransitionWhenExpectant$$inlined$reducerForActionType$1(this, currentPlayerId);
|
|
15893
15910
|
};
|
|
15894
15911
|
function PlayerHandSelector(gameClientConfig, putCardValidatorInteractor) {
|
|
15895
|
-
this.
|
|
15896
|
-
this.
|
|
15912
|
+
this.abd_1 = gameClientConfig;
|
|
15913
|
+
this.bbd_1 = putCardValidatorInteractor;
|
|
15897
15914
|
}
|
|
15898
|
-
protoOf(PlayerHandSelector).
|
|
15915
|
+
protoOf(PlayerHandSelector).cbd = function (playerId, isCurrentPlayer, cards, players, processingCardOnTable) {
|
|
15899
15916
|
if (isCurrentPlayer && !(processingCardOnTable == null)) {
|
|
15900
15917
|
return minus(cards, processingCardOnTable);
|
|
15901
15918
|
}
|
|
15902
15919
|
if (cards.p()) {
|
|
15903
15920
|
return emptyList();
|
|
15904
15921
|
}
|
|
15905
|
-
if (isCurrentPlayer || this.
|
|
15922
|
+
if (isCurrentPlayer || this.abd_1.areOpponentsCardsOpened) {
|
|
15906
15923
|
return cards;
|
|
15907
15924
|
}
|
|
15908
15925
|
var index = getItemIndex(players, get_byIdPlayerPredicate()(playerId));
|
|
@@ -15910,27 +15927,27 @@
|
|
|
15910
15927
|
};
|
|
15911
15928
|
function Companion_3() {
|
|
15912
15929
|
}
|
|
15913
|
-
protoOf(Companion_3).
|
|
15930
|
+
protoOf(Companion_3).kbc = function (config, combinations) {
|
|
15914
15931
|
return new ClientStatePayload(config, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, combinations);
|
|
15915
15932
|
};
|
|
15916
|
-
protoOf(Companion_3).
|
|
15933
|
+
protoOf(Companion_3).jbc = function (config, combinations, $super) {
|
|
15917
15934
|
combinations = combinations === VOID ? null : combinations;
|
|
15918
|
-
return $super === VOID ? this.
|
|
15935
|
+
return $super === VOID ? this.kbc(config, combinations) : $super.kbc.call(this, config, combinations);
|
|
15919
15936
|
};
|
|
15920
|
-
protoOf(Companion_3).
|
|
15937
|
+
protoOf(Companion_3).xbb = function (config, isForeground, isSceneActive, messages, bufferedActions, error) {
|
|
15921
15938
|
return new ClientStatePayload(config, messages, VOID, VOID, bufferedActions, isForeground, isSceneActive, VOID, VOID, VOID, VOID, VOID, VOID, VOID, error);
|
|
15922
15939
|
};
|
|
15923
|
-
protoOf(Companion_3).
|
|
15924
|
-
return new ClientStatePayload(config, messages, VOID, expectants, bufferedActions, isForeground, isSceneActive, VOID, VOID,
|
|
15940
|
+
protoOf(Companion_3).zbb = function (config, isForeground, isSceneActive, messages, bufferedActions, expectants, combinationsToAnnounce, processingCard, error) {
|
|
15941
|
+
return new ClientStatePayload(config, messages, VOID, expectants, bufferedActions, isForeground, isSceneActive, VOID, VOID, combinationsToAnnounce, VOID, VOID, processingCard, VOID, error);
|
|
15925
15942
|
};
|
|
15926
|
-
protoOf(Companion_3).
|
|
15943
|
+
protoOf(Companion_3).abc = function (config, isForeground, isSceneActive) {
|
|
15927
15944
|
return new ClientStatePayload(config, VOID, VOID, VOID, VOID, isForeground, isSceneActive);
|
|
15928
15945
|
};
|
|
15929
15946
|
var Companion_instance_13;
|
|
15930
15947
|
function Companion_getInstance_4() {
|
|
15931
15948
|
return Companion_instance_13;
|
|
15932
15949
|
}
|
|
15933
|
-
function ClientStatePayload(config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened,
|
|
15950
|
+
function ClientStatePayload(config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial) {
|
|
15934
15951
|
messages = messages === VOID ? emptyList() : messages;
|
|
15935
15952
|
infoMessage = infoMessage === VOID ? null : infoMessage;
|
|
15936
15953
|
expectants = expectants === VOID ? emptyList() : expectants;
|
|
@@ -15939,7 +15956,7 @@
|
|
|
15939
15956
|
isSceneActive = isSceneActive === VOID ? true : isSceneActive;
|
|
15940
15957
|
chatOpened = chatOpened === VOID ? false : chatOpened;
|
|
15941
15958
|
settingsOpened = settingsOpened === VOID ? false : settingsOpened;
|
|
15942
|
-
|
|
15959
|
+
combinationsToAnnounce = combinationsToAnnounce === VOID ? null : combinationsToAnnounce;
|
|
15943
15960
|
lastBribe = lastBribe === VOID ? null : lastBribe;
|
|
15944
15961
|
gameInfo = gameInfo === VOID ? null : gameInfo;
|
|
15945
15962
|
processingCard = processingCard === VOID ? null : processingCard;
|
|
@@ -15955,7 +15972,7 @@
|
|
|
15955
15972
|
this.s9x_1 = isSceneActive;
|
|
15956
15973
|
this.t9x_1 = chatOpened;
|
|
15957
15974
|
this.u9x_1 = settingsOpened;
|
|
15958
|
-
this.v9x_1 =
|
|
15975
|
+
this.v9x_1 = combinationsToAnnounce;
|
|
15959
15976
|
this.w9x_1 = lastBribe;
|
|
15960
15977
|
this.x9x_1 = gameInfo;
|
|
15961
15978
|
this.y9x_1 = processingCard;
|
|
@@ -15963,10 +15980,10 @@
|
|
|
15963
15980
|
this.a9y_1 = error;
|
|
15964
15981
|
this.b9y_1 = tutorial;
|
|
15965
15982
|
}
|
|
15966
|
-
protoOf(ClientStatePayload).
|
|
15967
|
-
return new ClientStatePayload(config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened,
|
|
15983
|
+
protoOf(ClientStatePayload).rbd = function (config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial) {
|
|
15984
|
+
return new ClientStatePayload(config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial);
|
|
15968
15985
|
};
|
|
15969
|
-
protoOf(ClientStatePayload).
|
|
15986
|
+
protoOf(ClientStatePayload).lb7 = function (config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial, $super) {
|
|
15970
15987
|
config = config === VOID ? this.m9x_1 : config;
|
|
15971
15988
|
messages = messages === VOID ? this.n9x_1 : messages;
|
|
15972
15989
|
infoMessage = infoMessage === VOID ? this.o9x_1 : infoMessage;
|
|
@@ -15976,17 +15993,17 @@
|
|
|
15976
15993
|
isSceneActive = isSceneActive === VOID ? this.s9x_1 : isSceneActive;
|
|
15977
15994
|
chatOpened = chatOpened === VOID ? this.t9x_1 : chatOpened;
|
|
15978
15995
|
settingsOpened = settingsOpened === VOID ? this.u9x_1 : settingsOpened;
|
|
15979
|
-
|
|
15996
|
+
combinationsToAnnounce = combinationsToAnnounce === VOID ? this.v9x_1 : combinationsToAnnounce;
|
|
15980
15997
|
lastBribe = lastBribe === VOID ? this.w9x_1 : lastBribe;
|
|
15981
15998
|
gameInfo = gameInfo === VOID ? this.x9x_1 : gameInfo;
|
|
15982
15999
|
processingCard = processingCard === VOID ? this.y9x_1 : processingCard;
|
|
15983
16000
|
transitions = transitions === VOID ? this.z9x_1 : transitions;
|
|
15984
16001
|
error = error === VOID ? this.a9y_1 : error;
|
|
15985
16002
|
tutorial = tutorial === VOID ? this.b9y_1 : tutorial;
|
|
15986
|
-
return $super === VOID ? this.
|
|
16003
|
+
return $super === VOID ? this.rbd(config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial) : $super.rbd.call(this, config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial);
|
|
15987
16004
|
};
|
|
15988
16005
|
protoOf(ClientStatePayload).toString = function () {
|
|
15989
|
-
return 'ClientStatePayload(config=' + this.m9x_1.toString() + ', messages=' + toString(this.n9x_1) + ', infoMessage=' + toString_0(this.o9x_1) + ', expectants=' + toString(this.p9x_1) + ', bufferedActions=' + toString(this.q9x_1) + ', isForeground=' + this.r9x_1 + ', isSceneActive=' + this.s9x_1 + ', chatOpened=' + this.t9x_1 + ', settingsOpened=' + this.u9x_1 + ',
|
|
16006
|
+
return 'ClientStatePayload(config=' + this.m9x_1.toString() + ', messages=' + toString(this.n9x_1) + ', infoMessage=' + toString_0(this.o9x_1) + ', expectants=' + toString(this.p9x_1) + ', bufferedActions=' + toString(this.q9x_1) + ', isForeground=' + this.r9x_1 + ', isSceneActive=' + this.s9x_1 + ', chatOpened=' + this.t9x_1 + ', settingsOpened=' + this.u9x_1 + ', combinationsToAnnounce=' + toString_0(this.v9x_1) + ', lastBribe=' + toString_0(this.w9x_1) + ', gameInfo=' + toString_0(this.x9x_1) + ', processingCard=' + toString_0(this.y9x_1) + ', transitions=' + toString(this.z9x_1) + ', error=' + toString_0(this.a9y_1) + ', tutorial=' + this.b9y_1 + ')';
|
|
15990
16007
|
};
|
|
15991
16008
|
protoOf(ClientStatePayload).hashCode = function () {
|
|
15992
16009
|
var result = this.m9x_1.hashCode();
|
|
@@ -16048,17 +16065,17 @@
|
|
|
16048
16065
|
return true;
|
|
16049
16066
|
};
|
|
16050
16067
|
function CombinationToAnnounceState(combinations, acceptedCombinations, declinedCombinations) {
|
|
16051
|
-
this.
|
|
16052
|
-
this.
|
|
16053
|
-
this.
|
|
16068
|
+
this.xb6_1 = combinations;
|
|
16069
|
+
this.yb6_1 = acceptedCombinations;
|
|
16070
|
+
this.zb6_1 = declinedCombinations;
|
|
16054
16071
|
}
|
|
16055
16072
|
protoOf(CombinationToAnnounceState).toString = function () {
|
|
16056
|
-
return 'CombinationToAnnounceState(combinations=' + toString(this.
|
|
16073
|
+
return 'CombinationToAnnounceState(combinations=' + toString(this.xb6_1) + ', acceptedCombinations=' + toString_0(this.yb6_1) + ', declinedCombinations=' + toString_0(this.zb6_1) + ')';
|
|
16057
16074
|
};
|
|
16058
16075
|
protoOf(CombinationToAnnounceState).hashCode = function () {
|
|
16059
|
-
var result = hashCode(this.
|
|
16060
|
-
result = imul(result, 31) + (this.xb6_1 == null ? 0 : hashCode(this.xb6_1)) | 0;
|
|
16076
|
+
var result = hashCode(this.xb6_1);
|
|
16061
16077
|
result = imul(result, 31) + (this.yb6_1 == null ? 0 : hashCode(this.yb6_1)) | 0;
|
|
16078
|
+
result = imul(result, 31) + (this.zb6_1 == null ? 0 : hashCode(this.zb6_1)) | 0;
|
|
16062
16079
|
return result;
|
|
16063
16080
|
};
|
|
16064
16081
|
protoOf(CombinationToAnnounceState).equals = function (other) {
|
|
@@ -16067,12 +16084,12 @@
|
|
|
16067
16084
|
if (!(other instanceof CombinationToAnnounceState))
|
|
16068
16085
|
return false;
|
|
16069
16086
|
var tmp0_other_with_cast = other instanceof CombinationToAnnounceState ? other : THROW_CCE();
|
|
16070
|
-
if (!equals(this.wb6_1, tmp0_other_with_cast.wb6_1))
|
|
16071
|
-
return false;
|
|
16072
16087
|
if (!equals(this.xb6_1, tmp0_other_with_cast.xb6_1))
|
|
16073
16088
|
return false;
|
|
16074
16089
|
if (!equals(this.yb6_1, tmp0_other_with_cast.yb6_1))
|
|
16075
16090
|
return false;
|
|
16091
|
+
if (!equals(this.zb6_1, tmp0_other_with_cast.zb6_1))
|
|
16092
|
+
return false;
|
|
16076
16093
|
return true;
|
|
16077
16094
|
};
|
|
16078
16095
|
function GameInfoState(trump, whoShuffleCardsPlayerId, whoChoseSuitPlayerId) {
|
|
@@ -16160,7 +16177,7 @@
|
|
|
16160
16177
|
function get_currentPlayer(_this__u8e3s4) {
|
|
16161
16178
|
return first(_this__u8e3s4.players);
|
|
16162
16179
|
}
|
|
16163
|
-
function
|
|
16180
|
+
function getOrNullInterceptable(_this__u8e3s4, clazz) {
|
|
16164
16181
|
// Inline function 'kotlin.collections.filter' call
|
|
16165
16182
|
// Inline function 'kotlin.collections.filterTo' call
|
|
16166
16183
|
var destination = ArrayList_init_$Create$_0();
|
|
@@ -16190,14 +16207,14 @@
|
|
|
16190
16207
|
return new GameClientEngineControllerImpl(loggerCallback);
|
|
16191
16208
|
}
|
|
16192
16209
|
function _get_logger__rkp4sl_1($this) {
|
|
16193
|
-
var tmp0 = $this.
|
|
16210
|
+
var tmp0 = $this.zbd_1;
|
|
16194
16211
|
var tmp = KProperty1;
|
|
16195
16212
|
// Inline function 'kotlin.getValue' call
|
|
16196
16213
|
getPropertyCallableRef('logger', 1, tmp, GameClientEngineControllerImpl$_get_logger_$ref_da2dm5(), null);
|
|
16197
16214
|
return tmp0.u();
|
|
16198
16215
|
}
|
|
16199
16216
|
function _get_di__ndbzja($this) {
|
|
16200
|
-
var tmp0 = $this.
|
|
16217
|
+
var tmp0 = $this.abe_1;
|
|
16201
16218
|
var tmp = KProperty1;
|
|
16202
16219
|
// Inline function 'kotlin.getValue' call
|
|
16203
16220
|
getPropertyCallableRef('di', 1, tmp, GameClientEngineControllerImpl$_get_di_$ref_2o2v5u(), null);
|
|
@@ -16262,13 +16279,13 @@
|
|
|
16262
16279
|
};
|
|
16263
16280
|
}
|
|
16264
16281
|
function GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
16265
|
-
this.
|
|
16282
|
+
this.cbe_1 = $reducer;
|
|
16266
16283
|
}
|
|
16267
16284
|
protoOf(GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1).v6n = function (action) {
|
|
16268
16285
|
return isInterface(action, Action);
|
|
16269
16286
|
};
|
|
16270
16287
|
protoOf(GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1).r9c = function (state, action) {
|
|
16271
|
-
return this.
|
|
16288
|
+
return this.cbe_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
16272
16289
|
};
|
|
16273
16290
|
protoOf(GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1).n6p = function (state, action) {
|
|
16274
16291
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -16389,12 +16406,12 @@
|
|
|
16389
16406
|
function GameClientEngineControllerImpl(loggerCallback, production) {
|
|
16390
16407
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
16391
16408
|
production = production === VOID ? true : production;
|
|
16392
|
-
this.
|
|
16409
|
+
this.ybd_1 = loggerCallback;
|
|
16393
16410
|
AppEnvironment_getInstance().q6r(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
16394
16411
|
var tmp = this;
|
|
16395
|
-
tmp.
|
|
16412
|
+
tmp.zbd_1 = lazy_0(GameClientEngineControllerImpl$logger$delegate$lambda);
|
|
16396
16413
|
var tmp_0 = this;
|
|
16397
|
-
tmp_0.
|
|
16414
|
+
tmp_0.abe_1 = lazy_0(GameClientEngineControllerImpl$di$delegate$lambda(this));
|
|
16398
16415
|
var tmp_1 = this;
|
|
16399
16416
|
// Inline function 'org.kodein.di.instance' call
|
|
16400
16417
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -16403,10 +16420,10 @@
|
|
|
16403
16420
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
16404
16421
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
16405
16422
|
var tmp_4 = KProperty1;
|
|
16406
|
-
tmp_1.
|
|
16423
|
+
tmp_1.bbe_1 = tmp_3.k67(this, getPropertyCallableRef('parser', 1, tmp_4, GameClientEngineControllerImpl$_get_parser_$ref_1fv1b8(), null));
|
|
16407
16424
|
}
|
|
16408
|
-
protoOf(GameClientEngineControllerImpl).
|
|
16409
|
-
var tmp0 = this.
|
|
16425
|
+
protoOf(GameClientEngineControllerImpl).wbd = function () {
|
|
16426
|
+
var tmp0 = this.bbe_1;
|
|
16410
16427
|
var tmp = KProperty1;
|
|
16411
16428
|
// Inline function 'kotlin.getValue' call
|
|
16412
16429
|
getPropertyCallableRef('parser', 1, tmp, GameClientEngineControllerImpl$_get_parser_$ref_1fv1b8_0(), null);
|
|
@@ -16418,7 +16435,7 @@
|
|
|
16418
16435
|
protoOf(GameClientEngineControllerImpl).createOnlineGameEngine = function (currentPlayerId) {
|
|
16419
16436
|
return this.createOnlineGameEngineWithLogic(currentPlayerId);
|
|
16420
16437
|
};
|
|
16421
|
-
protoOf(GameClientEngineControllerImpl).
|
|
16438
|
+
protoOf(GameClientEngineControllerImpl).xbd = function (currentPlayerId, reducers, middlewares, gameClientConfig, engineBotConfig, logicConfig, dealerConfig, coreConfig) {
|
|
16422
16439
|
var tmp;
|
|
16423
16440
|
if (coreConfig.fileLogsEnabled) {
|
|
16424
16441
|
tmp = new FileLoggerOutputImpl();
|
|
@@ -16427,8 +16444,8 @@
|
|
|
16427
16444
|
}
|
|
16428
16445
|
var fileLoggerOutput = tmp;
|
|
16429
16446
|
var tmp_0;
|
|
16430
|
-
if (!(this.
|
|
16431
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
16447
|
+
if (!(this.ybd_1 == null)) {
|
|
16448
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.ybd_1));
|
|
16432
16449
|
} else {
|
|
16433
16450
|
tmp_0 = null;
|
|
16434
16451
|
}
|
|
@@ -16616,11 +16633,11 @@
|
|
|
16616
16633
|
defineProp(protoOf(DistributeCardsModel), 'playerId', function () {
|
|
16617
16634
|
return this.f6e();
|
|
16618
16635
|
});
|
|
16619
|
-
protoOf(TransitionsReducerImpl).
|
|
16636
|
+
protoOf(TransitionsReducerImpl).xb5 = reducers;
|
|
16620
16637
|
protoOf(TransitionsReducerImpl).g94 = get_middlewares;
|
|
16621
16638
|
protoOf(GameClientEngineControllerImpl).createOnlineGameEngineWithLogic = createOnlineGameEngineWithLogic;
|
|
16622
16639
|
defineProp(protoOf(GameClientEngineControllerImpl), 'parser', function () {
|
|
16623
|
-
return this.
|
|
16640
|
+
return this.wbd();
|
|
16624
16641
|
});
|
|
16625
16642
|
//endregion
|
|
16626
16643
|
//region block: init
|