game_client_logic_deb 1.8.104 → 1.8.105

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.
@@ -991,7 +991,7 @@
991
991
  tmp = playerStateReducer;
992
992
  }
993
993
  playerStateReducer = tmp;
994
- return $super === VOID ? this.y4u(tableId, gameId, config, version, users, gameCreatorPlayerId, playerStateReducer) : $super.y4u.call(this, tableId, gameId, config, version, users, gameCreatorPlayerId, playerStateReducer);
994
+ return $super === VOID ? this.z4u(tableId, gameId, config, version, users, gameCreatorPlayerId, playerStateReducer) : $super.z4u.call(this, tableId, gameId, config, version, users, gameCreatorPlayerId, playerStateReducer);
995
995
  }
996
996
  initMetadataForInterface(TableLifecycleReducer, 'TableLifecycleReducer');
997
997
  initMetadataForClass(TableLifecycleReducerImpl, 'TableLifecycleReducerImpl', VOID, VOID, [TableLifecycleReducer]);
@@ -1015,7 +1015,7 @@
1015
1015
  tmp = types;
1016
1016
  }
1017
1017
  types = tmp;
1018
- return $super === VOID ? this.a4x(key, types) : $super.a4x.call(this, key, types);
1018
+ return $super === VOID ? this.b4x(key, types) : $super.b4x.call(this, key, types);
1019
1019
  }
1020
1020
  initMetadataForInterface(FileLoggerOutput, 'FileLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
1021
1021
  initMetadataForClass(FileLoggerOutputImpl, 'FileLoggerOutputImpl', FileLoggerOutputImpl, VOID, [FileLoggerOutput]);
@@ -10772,8 +10772,7 @@
10772
10772
  return new PointItemDto(_this__u8e3s4.q3t_1, _this__u8e3s4.r3t_1);
10773
10773
  }
10774
10774
  function mapToDto_43(_this__u8e3s4) {
10775
- var tmp0_elvis_lhs = _this__u8e3s4.t3t_1;
10776
- return new RoundDto(_this__u8e3s4.s3t_1, tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs, _this__u8e3s4.u3t_1);
10775
+ return new RoundDto(_this__u8e3s4.s3t_1, _this__u8e3s4.t3t_1, _this__u8e3s4.u3t_1);
10777
10776
  }
10778
10777
  function mapFromDto_31(_this__u8e3s4) {
10779
10778
  return new Round(_this__u8e3s4.v3t_1, _this__u8e3s4.w3t_1, _this__u8e3s4.x3t_1);
@@ -19143,7 +19142,7 @@
19143
19142
  $serializer_instance_71 = this;
19144
19143
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.debertz.logic.data.models.serializable.table.round.RoundDto', this, 3);
19145
19144
  tmp0_serialDesc.e1q('partyNumber', false);
19146
- tmp0_serialDesc.e1q('numberOfBribe', false);
19145
+ tmp0_serialDesc.e1q('numberOfBribe', true);
19147
19146
  tmp0_serialDesc.e1q('trump', true);
19148
19147
  this.v45_1 = tmp0_serialDesc;
19149
19148
  }
@@ -19152,7 +19151,9 @@
19152
19151
  var tmp1_output = encoder.q1i(tmp0_desc);
19153
19152
  var tmp2_cached = Companion_getInstance_105().u45_1;
19154
19153
  tmp1_output.a1k(tmp0_desc, 0, value.v3t_1);
19155
- tmp1_output.a1k(tmp0_desc, 1, value.w3t_1);
19154
+ if (tmp1_output.n1k(tmp0_desc, 1) ? true : !(value.w3t_1 == null)) {
19155
+ tmp1_output.j1k(tmp0_desc, 1, IntSerializer_getInstance(), value.w3t_1);
19156
+ }
19156
19157
  if (tmp1_output.n1k(tmp0_desc, 2) ? true : !(value.x3t_1 == null)) {
19157
19158
  tmp1_output.j1k(tmp0_desc, 2, tmp2_cached[2], value.x3t_1);
19158
19159
  }
@@ -19167,14 +19168,14 @@
19167
19168
  var tmp2_index = 0;
19168
19169
  var tmp3_bitMask0 = 0;
19169
19170
  var tmp4_local0 = 0;
19170
- var tmp5_local1 = 0;
19171
+ var tmp5_local1 = null;
19171
19172
  var tmp6_local2 = null;
19172
19173
  var tmp7_input = decoder.q1i(tmp0_desc);
19173
19174
  var tmp8_cached = Companion_getInstance_105().u45_1;
19174
19175
  if (tmp7_input.g1j()) {
19175
19176
  tmp4_local0 = tmp7_input.v1i(tmp0_desc, 0);
19176
19177
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
19177
- tmp5_local1 = tmp7_input.v1i(tmp0_desc, 1);
19178
+ tmp5_local1 = tmp7_input.e1j(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
19178
19179
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
19179
19180
  tmp6_local2 = tmp7_input.e1j(tmp0_desc, 2, tmp8_cached[2], tmp6_local2);
19180
19181
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
@@ -19190,7 +19191,7 @@
19190
19191
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
19191
19192
  break;
19192
19193
  case 1:
19193
- tmp5_local1 = tmp7_input.v1i(tmp0_desc, 1);
19194
+ tmp5_local1 = tmp7_input.e1j(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
19194
19195
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
19195
19196
  break;
19196
19197
  case 2:
@@ -19212,7 +19213,7 @@
19212
19213
  // Inline function 'kotlin.arrayOf' call
19213
19214
  // Inline function 'kotlin.js.unsafeCast' call
19214
19215
  // Inline function 'kotlin.js.asDynamic' call
19215
- return [IntSerializer_getInstance(), IntSerializer_getInstance(), get_nullable(tmp0_cached[2])];
19216
+ return [IntSerializer_getInstance(), get_nullable(IntSerializer_getInstance()), get_nullable(tmp0_cached[2])];
19216
19217
  };
19217
19218
  var $serializer_instance_71;
19218
19219
  function $serializer_getInstance_73() {
@@ -19221,11 +19222,14 @@
19221
19222
  return $serializer_instance_71;
19222
19223
  }
19223
19224
  function RoundDto_init_$Init$(seen0, roundNumber, numberOfBribe, trump, serializationConstructorMarker, $this) {
19224
- if (!(3 === (3 & seen0))) {
19225
- throwMissingFieldException(seen0, 3, $serializer_getInstance_73().v45_1);
19225
+ if (!(1 === (1 & seen0))) {
19226
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_73().v45_1);
19226
19227
  }
19227
19228
  $this.v3t_1 = roundNumber;
19228
- $this.w3t_1 = numberOfBribe;
19229
+ if (0 === (seen0 & 2))
19230
+ $this.w3t_1 = null;
19231
+ else
19232
+ $this.w3t_1 = numberOfBribe;
19229
19233
  if (0 === (seen0 & 4))
19230
19234
  $this.x3t_1 = null;
19231
19235
  else
@@ -19237,6 +19241,7 @@
19237
19241
  }
19238
19242
  function RoundDto(roundNumber, numberOfBribe, trump) {
19239
19243
  Companion_getInstance_105();
19244
+ numberOfBribe = numberOfBribe === VOID ? null : numberOfBribe;
19240
19245
  trump = trump === VOID ? null : trump;
19241
19246
  this.v3t_1 = roundNumber;
19242
19247
  this.w3t_1 = numberOfBribe;
@@ -19247,7 +19252,7 @@
19247
19252
  };
19248
19253
  protoOf(RoundDto).hashCode = function () {
19249
19254
  var result = this.v3t_1;
19250
- result = imul(result, 31) + this.w3t_1 | 0;
19255
+ result = imul(result, 31) + (this.w3t_1 == null ? 0 : this.w3t_1) | 0;
19251
19256
  result = imul(result, 31) + (this.x3t_1 == null ? 0 : this.x3t_1.hashCode()) | 0;
19252
19257
  return result;
19253
19258
  };
@@ -19259,7 +19264,7 @@
19259
19264
  var tmp0_other_with_cast = other instanceof RoundDto ? other : THROW_CCE();
19260
19265
  if (!(this.v3t_1 === tmp0_other_with_cast.v3t_1))
19261
19266
  return false;
19262
- if (!(this.w3t_1 === tmp0_other_with_cast.w3t_1))
19267
+ if (!(this.w3t_1 == tmp0_other_with_cast.w3t_1))
19263
19268
  return false;
19264
19269
  if (!equals(this.x3t_1, tmp0_other_with_cast.x3t_1))
19265
19270
  return false;
@@ -32283,7 +32288,7 @@
32283
32288
  tmp_5.w4o_1 = Instance(di, tmp$ret$6, null).n2i(this, logger$factory_1());
32284
32289
  }
32285
32290
  protoOf(PlayerTurnStoreContract).f4o = function () {
32286
- return listOfNotNull_0([resetPlayerTurnReducer(_get_playerTurnInteractor__lczh1o_0(this), _get_playerTurnMechanicReducer__y10a87_0(this), _get_logger__rkp4sl_0(this)), _get_logicConfig__52ww9d(this).supportPlayerTurnActions ? setPlayerTurnReducer(_get_playerTurnInteractor__lczh1o_0(this), _get_playerTurnMechanicReducer__y10a87_0(this)) : null]);
32291
+ return listOfNotNull_0([resetPlayerTurnWhenAnswerFromActionReducer(_get_playerTurnInteractor__lczh1o_0(this), _get_playerTurnMechanicReducer__y10a87_0(this), _get_logger__rkp4sl_0(this)), _get_logicConfig__52ww9d(this).supportPlayerTurnActions ? setPlayerTurnReducer(_get_playerTurnInteractor__lczh1o_0(this), _get_playerTurnMechanicReducer__y10a87_0(this)) : null]);
32287
32292
  };
32288
32293
  protoOf(PlayerTurnStoreContract).g4o = function () {
32289
32294
  return emptyList();
@@ -32394,8 +32399,8 @@
32394
32399
  engineLogicConfig$factory_0();
32395
32400
  return this_0.e2();
32396
32401
  }
32397
- function ValidationStoreContract(di, sendErrorToClient) {
32398
- this.z4o_1 = sendErrorToClient;
32402
+ function ValidationStoreContract(di, isServer) {
32403
+ this.z4o_1 = isServer;
32399
32404
  var tmp = this;
32400
32405
  // Inline function 'org.kodein.di.instance' call
32401
32406
  // Inline function 'org.kodein.type.generic' call
@@ -32413,13 +32418,21 @@
32413
32418
  return emptyList();
32414
32419
  };
32415
32420
  protoOf(ValidationStoreContract).g4o = function () {
32416
- var tmp = _get_engineLogicConfig__l11qpf(this).validateTestMode ? checkGameTestPointsMiddleware(_get_logger__rkp4sl_1(this)) : null;
32417
- var tmp688_logger = _get_logger__rkp4sl_1(this);
32418
- var tmp689_sendErrorToClient = this.z4o_1;
32419
- var tmp_0 = checkValidTurnAnswerFromClientMiddleware(tmp689_sendErrorToClient, VOID, tmp688_logger);
32420
- var tmp690_logger = _get_logger__rkp4sl_1(this);
32421
- var tmp691_sendErrorToClient = this.z4o_1;
32422
- return listOfNotNull_0([tmp, tmp_0, checkValidPlayerConnectionStateMiddleware(tmp691_sendErrorToClient, VOID, tmp690_logger), checkValidNextPlayerTurnMiddleware(VOID, _get_logger__rkp4sl_1(this)), checkValidTurnAnswerMiddleware(VOID, _get_logger__rkp4sl_1(this)), checkValidSceneMiddleware(_get_logger__rkp4sl_1(this)), checkValidSceneActMiddleware(_get_logger__rkp4sl_1(this)), checkCardDuplicatesForBribesMiddleware(_get_logger__rkp4sl_1(this)), checkCardDuplicatesForScenesMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsNotFinishedMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsFinishedTimerTickMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsFinishedStartTimerMiddleware(), checkGameIsFinishedStopTimerMiddleware()]);
32421
+ var tmp;
32422
+ if (this.z4o_1) {
32423
+ var tmp688_logger = _get_logger__rkp4sl_1(this);
32424
+ var tmp689_sendErrorToClient = this.z4o_1;
32425
+ var tmp_0 = checkValidTurnWhenAnswerFromClientMiddleware(tmp689_sendErrorToClient, VOID, tmp688_logger);
32426
+ var tmp690_logger = _get_logger__rkp4sl_1(this);
32427
+ var tmp691_sendErrorToClient = this.z4o_1;
32428
+ tmp = listOf([tmp_0, checkValidPlayerConnectionStateMiddleware(tmp691_sendErrorToClient, VOID, tmp690_logger), checkValidNextPlayerTurnMiddleware(VOID, _get_logger__rkp4sl_1(this))]);
32429
+ } else {
32430
+ var tmp_1 = checkValidNextPlayerTurnMiddleware(VOID, _get_logger__rkp4sl_1(this));
32431
+ var tmp692_logger = _get_logger__rkp4sl_1(this);
32432
+ var tmp693_sendErrorToClient = this.z4o_1;
32433
+ tmp = plus(listOf([tmp_1, checkValidTurnWhenAnswerMiddleware(tmp693_sendErrorToClient, VOID, tmp692_logger)]), listOfNotNull_0([_get_engineLogicConfig__l11qpf(this).validateTestMode ? checkGameTestPointsMiddleware(_get_logger__rkp4sl_1(this)) : null, checkValidSceneMiddleware(_get_logger__rkp4sl_1(this)), checkValidSceneActMiddleware(_get_logger__rkp4sl_1(this)), checkCardDuplicatesForBribesMiddleware(_get_logger__rkp4sl_1(this)), checkCardDuplicatesForScenesMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsNotFinishedMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsFinishedTimerTickMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsFinishedStartTimerMiddleware(), checkGameIsFinishedStopTimerMiddleware()]));
32434
+ }
32435
+ return tmp;
32423
32436
  };
32424
32437
  function logger$factory_3() {
32425
32438
  return getPropertyCallableRef('logger', 1, KProperty1, function (receiver) {
@@ -32503,14 +32516,14 @@
32503
32516
  actions.e(cardMechanicAction);
32504
32517
  var shouldValidateBribe = newCardsOnTheTable.m() === table.config.playersMode.count;
32505
32518
  if (shouldValidateBribe) {
32506
- var tmp694_safe_receiver = this.c4p_1.b4i(action_0, table.gameInfo.u46_1, newCardsOnTheTable, table.players, table.config);
32507
- if (tmp694_safe_receiver == null)
32519
+ var tmp696_safe_receiver = this.c4p_1.b4i(action_0, table.gameInfo.u46_1, newCardsOnTheTable, table.players, table.config);
32520
+ if (tmp696_safe_receiver == null)
32508
32521
  null;
32509
32522
  else {
32510
32523
  // Inline function 'kotlin.apply' call
32511
32524
  // Inline function 'kotlin.contracts.contract' call
32512
32525
  // Inline function 'com.debertz.logic.redux.middlewares.consumeFromClientActionsMiddleware.<anonymous>.<anonymous>.<anonymous>' call
32513
- actions.e(tmp694_safe_receiver);
32526
+ actions.e(tmp696_safe_receiver);
32514
32527
  }
32515
32528
  var bribeMechanicAction = this.c4p_1.c4i(action_0, table.gameInfo.u46_1, newCardsOnTheTable, table.players, table.config);
32516
32529
  actions.e(bribeMechanicAction);
@@ -32606,13 +32619,13 @@
32606
32619
  } else {
32607
32620
  if (action_0 instanceof SceneMechanicAction) {
32608
32621
  var table_0 = store.state.e33();
32609
- var tmp696_subject = action_0.d4j_1;
32610
- var tmp704_config = table_0.config;
32611
- var tmp705_isFirstRound = table_0.gameHistory.isFirstRound;
32612
- if (tmp696_subject === this.f4p_1.i4k(tmp705_isFirstRound, tmp704_config)) {
32622
+ var tmp698_subject = action_0.d4j_1;
32623
+ var tmp706_config = table_0.config;
32624
+ var tmp707_isFirstRound = table_0.gameHistory.isFirstRound;
32625
+ if (tmp698_subject === this.f4p_1.i4k(tmp707_isFirstRound, tmp706_config)) {
32613
32626
  var tmp = store.dispatch;
32614
- var tmp697_id = table_0.id;
32615
- var tmp698_gameId = table_0.gameId;
32627
+ var tmp699_id = table_0.id;
32628
+ var tmp700_gameId = table_0.gameId;
32616
32629
  // Inline function 'kotlin.collections.toTypedArray' call
32617
32630
  // Inline function 'kotlin.collections.map' call
32618
32631
  var this_0 = table_0.players;
@@ -32625,14 +32638,14 @@
32625
32638
  var tmp$ret$0 = item.playerId;
32626
32639
  destination.e(tmp$ret$0);
32627
32640
  }
32628
- var tmp699_players = copyToArray(destination);
32629
- var tmp700_isFirstRound = table_0.gameHistory.isFirstRound;
32630
- var tmp701_roundNumber = table_0.gameInfo.u46_1.s3t_1;
32631
- var tmp702_gameNumber = table_0.gameInfo.t46_1;
32632
- var tmp703_gameHistory = table_0.gameHistory;
32633
- tmp(new RoundStartedAction(tmp697_id, tmp698_gameId, tmp701_roundNumber, tmp699_players, tmp700_isFirstRound, tmp702_gameNumber, tmp703_gameHistory));
32641
+ var tmp701_players = copyToArray(destination);
32642
+ var tmp702_isFirstRound = table_0.gameHistory.isFirstRound;
32643
+ var tmp703_roundNumber = table_0.gameInfo.u46_1.s3t_1;
32644
+ var tmp704_gameNumber = table_0.gameInfo.t46_1;
32645
+ var tmp705_gameHistory = table_0.gameHistory;
32646
+ tmp(new RoundStartedAction(tmp699_id, tmp700_gameId, tmp703_roundNumber, tmp701_players, tmp702_isFirstRound, tmp704_gameNumber, tmp705_gameHistory));
32634
32647
  } else {
32635
- if (tmp696_subject === this.f4p_1.j4k()) {
32648
+ if (tmp698_subject === this.f4p_1.j4k()) {
32636
32649
  var tmp$ret$4;
32637
32650
  $l$block: {
32638
32651
  // Inline function 'com.debertz.logic.data.models.scenes.requireSceneData' call
@@ -32698,17 +32711,17 @@
32698
32711
  }
32699
32712
  var isGameFinished = tmp_1;
32700
32713
  var tmp_3 = store.dispatch;
32701
- var tmp708_id = table_0.id;
32702
- var tmp709_gameId = table_0.gameId;
32703
- var tmp710_roundNumber = table_0.gameInfo.u46_1.s3t_1;
32704
- var tmp711_earnedBiggestPointPlayerId = sceneData.v3i_1;
32705
- var tmp712_roundContractState = sceneData.b3j(whoChoseSuitPlayerId);
32714
+ var tmp710_id = table_0.id;
32715
+ var tmp711_gameId = table_0.gameId;
32716
+ var tmp712_roundNumber = table_0.gameInfo.u46_1.s3t_1;
32717
+ var tmp713_earnedBiggestPointPlayerId = sceneData.v3i_1;
32718
+ var tmp714_roundContractState = sceneData.b3j(whoChoseSuitPlayerId);
32706
32719
  // Inline function 'kotlin.collections.toTypedArray' call
32707
32720
  var this_3 = sceneData.a3j(whoChoseSuitPlayerId);
32708
- var tmp713_roundCommitted = copyToArray(this_3);
32721
+ var tmp715_roundCommitted = copyToArray(this_3);
32709
32722
  // Inline function 'kotlin.collections.toTypedArray' call
32710
32723
  var this_4 = sceneData.w3i_1;
32711
- var tmp714_roundWinners = copyToArray(this_4);
32724
+ var tmp716_roundWinners = copyToArray(this_4);
32712
32725
  var tmp_4;
32713
32726
  if (gameWinners == null) {
32714
32727
  tmp_4 = null;
@@ -32716,7 +32729,7 @@
32716
32729
  // Inline function 'kotlin.collections.toTypedArray' call
32717
32730
  tmp_4 = copyToArray(gameWinners);
32718
32731
  }
32719
- var tmp715_gameWinners = tmp_4;
32732
+ var tmp717_gameWinners = tmp_4;
32720
32733
  var tmp_5;
32721
32734
  if (isGameFinished) {
32722
32735
  // Inline function 'kotlin.collections.toTypedArray' call
@@ -32735,7 +32748,7 @@
32735
32748
  } else {
32736
32749
  tmp_5 = null;
32737
32750
  }
32738
- var tmp716_playersGameAnalytics = tmp_5;
32751
+ var tmp718_playersGameAnalytics = tmp_5;
32739
32752
  // Inline function 'kotlin.collections.toTypedArray' call
32740
32753
  // Inline function 'kotlin.collections.map' call
32741
32754
  var this_6 = table_0.players;
@@ -32748,9 +32761,9 @@
32748
32761
  var tmp$ret$24 = mapToRoundAnalytics(item_2, table_0.gameDuration);
32749
32762
  destination_3.e(tmp$ret$24);
32750
32763
  }
32751
- var tmp717_playersRoundAnalytics = copyToArray(destination_3);
32752
- var tmp718_gameHistory = table_0.gameHistory;
32753
- tmp_3(new RoundEndedAction(tmp708_id, tmp709_gameId, tmp710_roundNumber, tmp711_earnedBiggestPointPlayerId, tmp713_roundCommitted, tmp712_roundContractState, tmp714_roundWinners, gameLosers, tmp715_gameWinners, tmp716_playersGameAnalytics, tmp717_playersRoundAnalytics, tmp718_gameHistory));
32764
+ var tmp719_playersRoundAnalytics = copyToArray(destination_3);
32765
+ var tmp720_gameHistory = table_0.gameHistory;
32766
+ tmp_3(new RoundEndedAction(tmp710_id, tmp711_gameId, tmp712_roundNumber, tmp713_earnedBiggestPointPlayerId, tmp715_roundCommitted, tmp714_roundContractState, tmp716_roundWinners, gameLosers, tmp717_gameWinners, tmp718_playersGameAnalytics, tmp719_playersRoundAnalytics, tmp720_gameHistory));
32754
32767
  }
32755
32768
  }
32756
32769
  }
@@ -32802,8 +32815,8 @@
32802
32815
  // Inline function 'com.debertz.logic.redux.middlewares.lastbribe.putPlayerLastCardMiddleware.<anonymous>' call
32803
32816
  var action_0 = isInterface(action, CardsMechanicAction) ? action : THROW_CCE();
32804
32817
  next(action_0);
32805
- var tmp719_table = store.state.e33();
32806
- var newAction = getBotActionIfNeeded(action_0, tmp719_table, this.g4p_1, this.h4p_1);
32818
+ var tmp721_table = store.state.e33();
32819
+ var newAction = getBotActionIfNeeded(action_0, tmp721_table, this.g4p_1, this.h4p_1);
32807
32820
  if (newAction == null)
32808
32821
  null;
32809
32822
  else {
@@ -32837,8 +32850,8 @@
32837
32850
  break $l$block;
32838
32851
  }
32839
32852
  }
32840
- var tmp721_loggerOutput = tmp$ret$1;
32841
- tmp = fileLoggerByGameIdMiddleware(currentPlayerId, loggerFactory, asyncProvider, tmp721_loggerOutput);
32853
+ var tmp723_loggerOutput = tmp$ret$1;
32854
+ tmp = fileLoggerByGameIdMiddleware(currentPlayerId, loggerFactory, asyncProvider, tmp723_loggerOutput);
32842
32855
  } else {
32843
32856
  tmp = null;
32844
32857
  }
@@ -32880,14 +32893,14 @@
32880
32893
  fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.k4p_1, this.l4p_1, this.m4p_1, this.n4p_1, action_0.gameId, store.state.e33().id);
32881
32894
  } else {
32882
32895
  if (action_0 instanceof FinishGameMechanicAction) {
32883
- var tmp723_safe_receiver = store.state.t32_1;
32884
- var tmp724_safe_receiver = tmp723_safe_receiver == null ? null : tmp723_safe_receiver.gameId;
32885
- if (tmp724_safe_receiver == null)
32896
+ var tmp725_safe_receiver = store.state.t32_1;
32897
+ var tmp726_safe_receiver = tmp725_safe_receiver == null ? null : tmp725_safe_receiver.gameId;
32898
+ if (tmp726_safe_receiver == null)
32886
32899
  null;
32887
32900
  else {
32888
32901
  // Inline function 'kotlin.let' call
32889
32902
  // Inline function 'kotlin.contracts.contract' call
32890
- fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.n4p_1, tmp724_safe_receiver);
32903
+ fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.n4p_1, tmp726_safe_receiver);
32891
32904
  }
32892
32905
  }
32893
32906
  }
@@ -33358,9 +33371,9 @@
33358
33371
  var tmp;
33359
33372
  var tmp_0;
33360
33373
  if (!isDelayForBot) {
33361
- var tmp727_safe_receiver = player.w36_1.l2q_1;
33362
- var tmp728_safe_receiver = tmp727_safe_receiver == null ? null : tmp727_safe_receiver.p2q_1;
33363
- tmp_0 = (tmp728_safe_receiver == null ? null : tmp728_safe_receiver.isLive) === true;
33374
+ var tmp729_safe_receiver = player.w36_1.l2q_1;
33375
+ var tmp730_safe_receiver = tmp729_safe_receiver == null ? null : tmp729_safe_receiver.p2q_1;
33376
+ tmp_0 = (tmp730_safe_receiver == null ? null : tmp730_safe_receiver.isLive) === true;
33364
33377
  } else {
33365
33378
  tmp_0 = false;
33366
33379
  }
@@ -33506,20 +33519,20 @@
33506
33519
  // Inline function 'kotlin.let' call
33507
33520
  // Inline function 'kotlin.contracts.contract' call
33508
33521
  // Inline function 'com.debertz.logic.redux.middlewares.slices.sceneLifecycleMiddleware.<anonymous>.<anonymous>' call
33509
- var tmp731_actId = navigationActCommand.w4k_1;
33510
- var tmp732_payload = navigationActCommand.x4k_1;
33511
- tmp_0 = this.l4r_1.e4k(tmp731_actId, sceneData, tmp732_payload, table);
33522
+ var tmp733_actId = navigationActCommand.w4k_1;
33523
+ var tmp734_payload = navigationActCommand.x4k_1;
33524
+ tmp_0 = this.l4r_1.e4k(tmp733_actId, sceneData, tmp734_payload, table);
33512
33525
  }
33513
33526
  var actData = tmp_0;
33514
33527
  this.n4r_1.m4k(store.state.x32_1, 'Timers are not empty before scene ' + action_0.v4n_1);
33515
- var tmp734_sceneId = action_0.v4n_1;
33516
- var tmp735_actId = actData == null ? null : actData.actId;
33517
- var mechanicAction = new SceneMechanicAction(tmp734_sceneId, tmp735_actId, sceneData, actData);
33528
+ var tmp736_sceneId = action_0.v4n_1;
33529
+ var tmp737_actId = actData == null ? null : actData.actId;
33530
+ var mechanicAction = new SceneMechanicAction(tmp736_sceneId, tmp737_actId, sceneData, actData);
33518
33531
  tmp = listOfNotNull(mechanicAction);
33519
33532
  } else {
33520
33533
  if (action_0 instanceof SceneEndedMechanicAction) {
33521
- var tmp736_safe_receiver = firstOrNull(filterByGameWinner(table.players));
33522
- var gameWinnerPlayerId = tmp736_safe_receiver == null ? null : tmp736_safe_receiver.playerId;
33534
+ var tmp738_safe_receiver = firstOrNull(filterByGameWinner(table.players));
33535
+ var gameWinnerPlayerId = tmp738_safe_receiver == null ? null : tmp738_safe_receiver.playerId;
33523
33536
  var nextSceneCommand = this.m4r_1.r4k(action_0.u4n_1, !(gameWinnerPlayerId == null), table.config);
33524
33537
  var tmp_1;
33525
33538
  if (nextSceneCommand instanceof MoveSceneNext) {
@@ -33541,7 +33554,7 @@
33541
33554
  tmp_2 = listOf_0(new SceneEndedMechanicAction(table.sceneInfo.c4a_1));
33542
33555
  } else {
33543
33556
  if (navigationCommand instanceof MoveActNext) {
33544
- var tmp738_actId = navigationCommand.w4k_1;
33557
+ var tmp740_actId = navigationCommand.w4k_1;
33545
33558
  var tmp$ret$2;
33546
33559
  $l$block: {
33547
33560
  // Inline function 'com.debertz.logic.data.models.scenes.requireSceneData' call
@@ -33552,9 +33565,9 @@
33552
33565
  }
33553
33566
  throw new MechanicException('Required ' + getKClass(SceneData).ba() + ', current scene is ' + toString_0(this_0));
33554
33567
  }
33555
- var tmp739_sceneData = tmp$ret$2;
33556
- var tmp740_payload = navigationCommand.x4k_1;
33557
- var actData_0 = this.l4r_1.e4k(tmp738_actId, tmp739_sceneData, tmp740_payload, table);
33568
+ var tmp741_sceneData = tmp$ret$2;
33569
+ var tmp742_payload = navigationCommand.x4k_1;
33570
+ var actData_0 = this.l4r_1.e4k(tmp740_actId, tmp741_sceneData, tmp742_payload, table);
33558
33571
  tmp_2 = listOf_0(new SceneActStartedMechanicAction(table.sceneInfo.c4a_1, navigationCommand.w4k_1, actData_0));
33559
33572
  } else {
33560
33573
  noWhenBranchMatchedException();
@@ -33810,15 +33823,15 @@
33810
33823
  if (scenePayload instanceof EarnPointsClientScene) {
33811
33824
  var playerCards_0 = plus(scenePayload.p3i_1, first(state.e33().players).x36_1);
33812
33825
  // Inline function 'kotlin.collections.orEmpty' call
33813
- var tmp741_safe_receiver = scenePayload.r3i_1;
33826
+ var tmp743_safe_receiver = scenePayload.r3i_1;
33814
33827
  var tmp_9;
33815
- if (tmp741_safe_receiver == null) {
33828
+ if (tmp743_safe_receiver == null) {
33816
33829
  tmp_9 = null;
33817
33830
  } else {
33818
33831
  // Inline function 'kotlin.collections.map' call
33819
33832
  // Inline function 'kotlin.collections.mapTo' call
33820
- var destination_7 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp741_safe_receiver, 10));
33821
- var tmp0_iterator_7 = tmp741_safe_receiver.j();
33833
+ var destination_7 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp743_safe_receiver, 10));
33834
+ var tmp0_iterator_7 = tmp743_safe_receiver.j();
33822
33835
  while (tmp0_iterator_7.k()) {
33823
33836
  var item_4 = tmp0_iterator_7.l();
33824
33837
  // Inline function 'com.debertz.logic.redux.middlewares.validation.checkCardDuplicatesForScenesMiddleware.<anonymous>.<anonymous>' call
@@ -33829,8 +33842,8 @@
33829
33842
  }
33830
33843
  tmp_9 = destination_7;
33831
33844
  }
33832
- var tmp742_safe_receiver = tmp_9;
33833
- var tmp0_elvis_lhs_0 = tmp742_safe_receiver == null ? null : flatten(tmp742_safe_receiver);
33845
+ var tmp744_safe_receiver = tmp_9;
33846
+ var tmp0_elvis_lhs_0 = tmp744_safe_receiver == null ? null : flatten(tmp744_safe_receiver);
33834
33847
  var combinationsCards = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
33835
33848
  var tmp$ret$40;
33836
33849
  $l$block_0: {
@@ -34038,7 +34051,7 @@
34038
34051
  protoOf(_no_name_provided__qut3iv_16).s2x = function (store, next, action) {
34039
34052
  return this.v2z(store, next, action);
34040
34053
  };
34041
- function checkValidTurnAnswerFromClientMiddleware(sendErrorToClient, disableClientTurnCheckWhen, logger) {
34054
+ function checkValidTurnWhenAnswerFromClientMiddleware(sendErrorToClient, disableClientTurnCheckWhen, logger) {
34042
34055
  disableClientTurnCheckWhen = disableClientTurnCheckWhen === VOID ? emptyList() : disableClientTurnCheckWhen;
34043
34056
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
34044
34057
  return new _no_name_provided__qut3iv_17(disableClientTurnCheckWhen, sendErrorToClient, logger);
@@ -34053,10 +34066,10 @@
34053
34066
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
34054
34067
  return new _no_name_provided__qut3iv_19(disableClientTurnCheckWhen, logger);
34055
34068
  }
34056
- function checkValidTurnAnswerMiddleware(disableClientTurnCheckWhen, logger) {
34069
+ function checkValidTurnWhenAnswerMiddleware(sendErrorToClient, disableClientTurnCheckWhen, logger) {
34057
34070
  disableClientTurnCheckWhen = disableClientTurnCheckWhen === VOID ? emptyList() : disableClientTurnCheckWhen;
34058
34071
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
34059
- return new _no_name_provided__qut3iv_20(disableClientTurnCheckWhen, logger);
34072
+ return new _no_name_provided__qut3iv_20(disableClientTurnCheckWhen, sendErrorToClient, logger);
34060
34073
  }
34061
34074
  function isEnabledCheck(disableClientTurnCheckWhen, state, action) {
34062
34075
  var tmp;
@@ -34103,7 +34116,7 @@
34103
34116
  };
34104
34117
  protoOf(_no_name_provided__qut3iv_17).v2z = function (store, next, action) {
34105
34118
  $l$block: {
34106
- // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnAnswerFromClientMiddleware.<anonymous>' call
34119
+ // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnWhenAnswerFromClientMiddleware.<anonymous>' call
34107
34120
  var action_0 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
34108
34121
  var state = store.state;
34109
34122
  if (!isEnabledCheck(this.s4r_1, state, action_0)) {
@@ -34118,7 +34131,7 @@
34118
34131
  var tmp0_iterator = players.j();
34119
34132
  while (tmp0_iterator.k()) {
34120
34133
  var item = tmp0_iterator.l();
34121
- // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnAnswerFromClientMiddleware.<anonymous>.<anonymous>' call
34134
+ // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnWhenAnswerFromClientMiddleware.<anonymous>.<anonymous>' call
34122
34135
  var tmp$ret$1 = item.playerId;
34123
34136
  destination.e(tmp$ret$1);
34124
34137
  }
@@ -34130,7 +34143,7 @@
34130
34143
  var tmp0_iterator_0 = players.j();
34131
34144
  while (tmp0_iterator_0.k()) {
34132
34145
  var item_0 = tmp0_iterator_0.l();
34133
- // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnAnswerFromClientMiddleware.<anonymous>.<anonymous>' call
34146
+ // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnWhenAnswerFromClientMiddleware.<anonymous>.<anonymous>' call
34134
34147
  var tmp$ret$4 = to(item_0.playerId, item_0.w36_1.x2r());
34135
34148
  destination_0.e(tmp$ret$4);
34136
34149
  }
@@ -34166,8 +34179,8 @@
34166
34179
  }
34167
34180
  var table = store.state.e33();
34168
34181
  var player = getPlayer(table.players, action_0.playerId);
34169
- var tmp743_safe_receiver = player.b37_1;
34170
- var connectionState = tmp743_safe_receiver == null ? null : tmp743_safe_receiver.p2q_1;
34182
+ var tmp745_safe_receiver = player.b37_1;
34183
+ var connectionState = tmp745_safe_receiver == null ? null : tmp745_safe_receiver.p2q_1;
34171
34184
  if (!(connectionState == null) && !connectionState.isLive) {
34172
34185
  var message = 'Player connection state is not alive:' + ('playerId = ' + player.playerId);
34173
34186
  if (this.w4r_1) {
@@ -34255,23 +34268,25 @@
34255
34268
  protoOf(_no_name_provided__qut3iv_19).s2x = function (store, next, action) {
34256
34269
  return this.v2z(store, next, action);
34257
34270
  };
34258
- function _no_name_provided__qut3iv_20($disableClientTurnCheckWhen, $logger) {
34271
+ function _no_name_provided__qut3iv_20($disableClientTurnCheckWhen, $sendErrorToClient, $logger) {
34259
34272
  this.a4s_1 = $disableClientTurnCheckWhen;
34260
- this.b4s_1 = $logger;
34273
+ this.b4s_1 = $sendErrorToClient;
34274
+ this.c4s_1 = $logger;
34261
34275
  }
34262
34276
  protoOf(_no_name_provided__qut3iv_20).t2x = function (action) {
34263
34277
  return isInterface(action, PlayerTurnAnswerAction);
34264
34278
  };
34265
34279
  protoOf(_no_name_provided__qut3iv_20).v2z = function (store, next, action) {
34266
34280
  $l$block: {
34267
- // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnAnswerMiddleware.<anonymous>' call
34281
+ // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnWhenAnswerMiddleware.<anonymous>' call
34268
34282
  var action_0 = isInterface(action, PlayerTurnAnswerAction) ? action : THROW_CCE();
34269
34283
  var state = store.state;
34270
34284
  if (!isEnabledCheck(this.a4s_1, state, action_0)) {
34271
34285
  next(action_0);
34272
34286
  break $l$block;
34273
34287
  }
34274
- var players = filterPlayerTurn(state.e33().players);
34288
+ var table = state.e33();
34289
+ var players = filterPlayerTurn(table.players);
34275
34290
  var player = getPlayerTurn(action_0, state.e33().players);
34276
34291
  // Inline function 'kotlin.collections.map' call
34277
34292
  // Inline function 'kotlin.collections.mapTo' call
@@ -34279,7 +34294,7 @@
34279
34294
  var tmp0_iterator = players.j();
34280
34295
  while (tmp0_iterator.k()) {
34281
34296
  var item = tmp0_iterator.l();
34282
- // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnAnswerMiddleware.<anonymous>.<anonymous>' call
34297
+ // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnWhenAnswerMiddleware.<anonymous>.<anonymous>' call
34283
34298
  var tmp$ret$1 = item.playerId;
34284
34299
  destination.e(tmp$ret$1);
34285
34300
  }
@@ -34291,12 +34306,15 @@
34291
34306
  var tmp0_iterator_0 = players.j();
34292
34307
  while (tmp0_iterator_0.k()) {
34293
34308
  var item_0 = tmp0_iterator_0.l();
34294
- // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnAnswerMiddleware.<anonymous>.<anonymous>' call
34309
+ // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnWhenAnswerMiddleware.<anonymous>.<anonymous>' call
34295
34310
  var tmp$ret$4 = to(item_0.playerId, item_0.w36_1.x2r());
34296
34311
  destination_0.e(tmp$ret$4);
34297
34312
  }
34298
34313
  var message = 'Is not player turn:' + ('expected = ' + toString(destination_0) + ', ') + ('actual = ' + player.playerId);
34299
- this.b4s_1.w('Validation', 'checkValidTurnAnswerMiddleware: ' + message + ', action: ' + toString(action_0));
34314
+ if (this.b4s_1) {
34315
+ store.dispatch(new ErrorToClientAction(Companion_instance_121.userFromTable(table, player.playerId), new ErrorState(message, VOID, new PlayerLostConnectionReason(player.playerId, player.w36_1.y2r()))));
34316
+ }
34317
+ this.c4s_1.w('Validation', 'checkValidTurnAnswerMiddleware: ' + message + ', action: ' + toString(action_0));
34300
34318
  } else {
34301
34319
  next(action_0);
34302
34320
  }
@@ -34314,7 +34332,7 @@
34314
34332
  return new _no_name_provided__qut3iv_22(logger);
34315
34333
  }
34316
34334
  function _no_name_provided__qut3iv_21($logger) {
34317
- this.c4s_1 = $logger;
34335
+ this.d4s_1 = $logger;
34318
34336
  }
34319
34337
  protoOf(_no_name_provided__qut3iv_21).t2x = function (action) {
34320
34338
  return action instanceof SceneMechanicAction;
@@ -34326,7 +34344,7 @@
34326
34344
  if (state.f33()) {
34327
34345
  var sceneInfo = state.e33().sceneInfo;
34328
34346
  if (!get_isWaitingScene(sceneInfo.c4a_1) && Companion_instance_4.d33(sceneInfo.c4a_1, action_0.d4j_1) && equals(sceneInfo.f4a_1, action_0.sceneData)) {
34329
- this.c4s_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
34347
+ this.d4s_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
34330
34348
  }
34331
34349
  }
34332
34350
  next(action_0);
@@ -34335,7 +34353,7 @@
34335
34353
  return this.v2z(store, next, action);
34336
34354
  };
34337
34355
  function _no_name_provided__qut3iv_22($logger) {
34338
- this.d4s_1 = $logger;
34356
+ this.e4s_1 = $logger;
34339
34357
  }
34340
34358
  protoOf(_no_name_provided__qut3iv_22).t2x = function (action) {
34341
34359
  return action instanceof SceneActMechanicAction;
@@ -34347,7 +34365,7 @@
34347
34365
  if (state.f33()) {
34348
34366
  var sceneInfo = state.e33().sceneInfo;
34349
34367
  if (Companion_instance_4.d33(sceneInfo.c4a_1, action_0.v4i_1) && sceneInfo.e4a_1 === action_0.w4i_1 && equals(sceneInfo.g4a_1, action_0.x4i_1)) {
34350
- this.d4s_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
34368
+ this.e4s_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
34351
34369
  }
34352
34370
  }
34353
34371
  next(action_0);
@@ -34364,13 +34382,13 @@
34364
34382
  protoOf(_no_name_provided__qut3iv_23).t2x = function (action) {
34365
34383
  return action instanceof ClearAction;
34366
34384
  };
34367
- protoOf(_no_name_provided__qut3iv_23).e4s = function (state, action) {
34385
+ protoOf(_no_name_provided__qut3iv_23).f4s = function (state, action) {
34368
34386
  // Inline function 'com.debertz.logic.redux.reducers.clearReducer.<anonymous>' call
34369
34387
  action instanceof ClearAction || THROW_CCE();
34370
34388
  return state.a4l(VOID, VOID, GameLifecycleState_FINISHED_getInstance());
34371
34389
  };
34372
34390
  protoOf(_no_name_provided__qut3iv_23).w2z = function (state, action) {
34373
- return this.e4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
34391
+ return this.f4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
34374
34392
  };
34375
34393
  function mechanicReducer(gameLifecycleReducer, teamsMechanicReducer, tradeMechanicReducer, earnPointsMechanicReducer, combinationsMechanicReducer, playerTurnMechanicReducer, sceneReducer, sceneActReducer) {
34376
34394
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
@@ -34379,58 +34397,58 @@
34379
34397
  function mechanicReducer$_anonymous_$reduce_kmtetj($gameLifecycleReducer, $teamsMechanicReducer, $tradeMechanicReducer, $combinationsMechanicReducer, $earnPointsMechanicReducer, $sceneReducer, $sceneActReducer, $playerTurnMechanicReducer, state, action) {
34380
34398
  var tmp;
34381
34399
  if (action instanceof StartGameMechanicAction) {
34382
- tmp = $gameLifecycleReducer.q4t(state, action);
34400
+ tmp = $gameLifecycleReducer.r4t(state, action);
34383
34401
  } else {
34384
34402
  if (action instanceof StartNewGameMechanicAction) {
34385
- tmp = $gameLifecycleReducer.p4t(state, action);
34403
+ tmp = $gameLifecycleReducer.q4t(state, action);
34386
34404
  } else {
34387
34405
  if (action instanceof ContinueGameMechanicAction) {
34388
- tmp = $gameLifecycleReducer.o4t(state, action);
34406
+ tmp = $gameLifecycleReducer.p4t(state, action);
34389
34407
  } else {
34390
34408
  if (action instanceof FinishingGameMechanicAction) {
34391
- tmp = $gameLifecycleReducer.n4t(state, action);
34409
+ tmp = $gameLifecycleReducer.o4t(state, action);
34392
34410
  } else {
34393
34411
  if (action instanceof FinishGameMechanicAction) {
34394
- tmp = $gameLifecycleReducer.m4t(state, action);
34412
+ tmp = $gameLifecycleReducer.n4t(state, action);
34395
34413
  } else {
34396
34414
  if (action instanceof RestartGameMechanicAction) {
34397
- tmp = $gameLifecycleReducer.l4t(state, action);
34415
+ tmp = $gameLifecycleReducer.m4t(state, action);
34398
34416
  } else {
34399
34417
  if (action instanceof ErrorAction) {
34400
- tmp = $gameLifecycleReducer.k4t(state, action);
34418
+ tmp = $gameLifecycleReducer.l4t(state, action);
34401
34419
  } else {
34402
34420
  if (action instanceof TeamsDataMechanicAction) {
34403
- tmp = state.a4l(state.e33().copy(VOID, VOID, VOID, VOID, $teamsMechanicReducer.j4t(state.e33().players, action)));
34421
+ tmp = state.a4l(state.e33().copy(VOID, VOID, VOID, VOID, $teamsMechanicReducer.k4t(state.e33().players, action)));
34404
34422
  } else {
34405
34423
  if (action instanceof SuitChoiceMechanicAction) {
34406
- tmp = $tradeMechanicReducer.i4t(state, action);
34424
+ tmp = $tradeMechanicReducer.j4t(state, action);
34407
34425
  } else {
34408
34426
  if (action instanceof TrumpMechanicAction) {
34409
- tmp = $tradeMechanicReducer.h4t(state, action);
34427
+ tmp = $tradeMechanicReducer.i4t(state, action);
34410
34428
  } else {
34411
34429
  if (action instanceof CombinationChoiceMechanicAction) {
34412
- tmp = $combinationsMechanicReducer.e4t(state, action);
34430
+ tmp = $combinationsMechanicReducer.f4t(state, action);
34413
34431
  } else {
34414
34432
  if (action instanceof PutCardMechanicAction) {
34415
- tmp = $earnPointsMechanicReducer.d4t(state, action);
34433
+ tmp = $earnPointsMechanicReducer.e4t(state, action);
34416
34434
  } else {
34417
34435
  if (action instanceof PickUpBribeMechanicAction) {
34418
- tmp = $earnPointsMechanicReducer.c4t(state, action);
34436
+ tmp = $earnPointsMechanicReducer.d4t(state, action);
34419
34437
  } else {
34420
34438
  if (action instanceof WinnerCombinationsMechanicAction) {
34421
- tmp = $combinationsMechanicReducer.v4s(state, action);
34439
+ tmp = $combinationsMechanicReducer.w4s(state, action);
34422
34440
  } else {
34423
34441
  if (action instanceof SceneMechanicAction) {
34424
- tmp = state.a4l($sceneReducer.p4s(state.e33(), action));
34442
+ tmp = state.a4l($sceneReducer.q4s(state.e33(), action));
34425
34443
  } else {
34426
34444
  if (action instanceof SceneActMechanicAction) {
34427
- tmp = state.a4l($sceneActReducer.i4s(state.e33(), action));
34445
+ tmp = state.a4l($sceneActReducer.j4s(state.e33(), action));
34428
34446
  } else {
34429
34447
  if (action instanceof PlayerReadyMechanicAction) {
34430
- tmp = state.a4l($playerTurnMechanicReducer.h4s(state.e33(), action));
34448
+ tmp = state.a4l($playerTurnMechanicReducer.i4s(state.e33(), action));
34431
34449
  } else {
34432
34450
  if (action instanceof PlayerConnectionChangedMechanicAction) {
34433
- tmp = state.a4l($playerTurnMechanicReducer.g4s(state.e33(), action.playerId, action.state, action.reconnectUntilTime));
34451
+ tmp = state.a4l($playerTurnMechanicReducer.h4s(state.e33(), action.playerId, action.state, action.reconnectUntilTime));
34434
34452
  } else {
34435
34453
  if (action instanceof MessageMechanicAction) {
34436
34454
  tmp = state;
@@ -34471,25 +34489,25 @@
34471
34489
  return tmp;
34472
34490
  }
34473
34491
  function _no_name_provided__qut3iv_24($gameLifecycleReducer, $teamsMechanicReducer, $tradeMechanicReducer, $combinationsMechanicReducer, $earnPointsMechanicReducer, $sceneReducer, $sceneActReducer, $playerTurnMechanicReducer) {
34474
- this.r4t_1 = $gameLifecycleReducer;
34475
- this.s4t_1 = $teamsMechanicReducer;
34476
- this.t4t_1 = $tradeMechanicReducer;
34477
- this.u4t_1 = $combinationsMechanicReducer;
34478
- this.v4t_1 = $earnPointsMechanicReducer;
34479
- this.w4t_1 = $sceneReducer;
34480
- this.x4t_1 = $sceneActReducer;
34481
- this.y4t_1 = $playerTurnMechanicReducer;
34492
+ this.s4t_1 = $gameLifecycleReducer;
34493
+ this.t4t_1 = $teamsMechanicReducer;
34494
+ this.u4t_1 = $tradeMechanicReducer;
34495
+ this.v4t_1 = $combinationsMechanicReducer;
34496
+ this.w4t_1 = $earnPointsMechanicReducer;
34497
+ this.x4t_1 = $sceneReducer;
34498
+ this.y4t_1 = $sceneActReducer;
34499
+ this.z4t_1 = $playerTurnMechanicReducer;
34482
34500
  }
34483
34501
  protoOf(_no_name_provided__qut3iv_24).t2x = function (action) {
34484
34502
  return action instanceof MechanicAction;
34485
34503
  };
34486
- protoOf(_no_name_provided__qut3iv_24).e4s = function (state, action) {
34504
+ protoOf(_no_name_provided__qut3iv_24).f4s = function (state, action) {
34487
34505
  // Inline function 'com.debertz.logic.redux.reducers.mechanicReducer.<anonymous>' call
34488
34506
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
34489
- return mechanicReducer$_anonymous_$reduce_kmtetj(this.r4t_1, this.s4t_1, this.t4t_1, this.u4t_1, this.v4t_1, this.w4t_1, this.x4t_1, this.y4t_1, state, action_0);
34507
+ return mechanicReducer$_anonymous_$reduce_kmtetj(this.s4t_1, this.t4t_1, this.u4t_1, this.v4t_1, this.w4t_1, this.x4t_1, this.y4t_1, this.z4t_1, state, action_0);
34490
34508
  };
34491
34509
  protoOf(_no_name_provided__qut3iv_24).w2z = function (state, action) {
34492
- return this.e4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
34510
+ return this.f4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
34493
34511
  };
34494
34512
  function timerReducer() {
34495
34513
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
@@ -34500,7 +34518,7 @@
34500
34518
  protoOf(_no_name_provided__qut3iv_25).t2x = function (action) {
34501
34519
  return action instanceof TimerAction;
34502
34520
  };
34503
- protoOf(_no_name_provided__qut3iv_25).e4s = function (state, action) {
34521
+ protoOf(_no_name_provided__qut3iv_25).f4s = function (state, action) {
34504
34522
  // Inline function 'com.debertz.logic.redux.reducers.timerReducer.<anonymous>' call
34505
34523
  var action_0 = action instanceof TimerAction ? action : THROW_CCE();
34506
34524
  var tmp;
@@ -34526,11 +34544,11 @@
34526
34544
  return tmp;
34527
34545
  };
34528
34546
  protoOf(_no_name_provided__qut3iv_25).w2z = function (state, action) {
34529
- return this.e4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
34547
+ return this.f4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
34530
34548
  };
34531
34549
  function SceneActReducer() {
34532
34550
  }
34533
- protoOf(SceneActReducer).i4s = function (table, action) {
34551
+ protoOf(SceneActReducer).j4s = function (table, action) {
34534
34552
  var tmp;
34535
34553
  switch (action.v4i_1) {
34536
34554
  case 'TRADE':
@@ -34567,7 +34585,7 @@
34567
34585
  }
34568
34586
  var combinationActData = tmp$ret$0;
34569
34587
  var updatedCombinations = combinationActData.e3i_1;
34570
- var tmp753_sceneInfo = table.sceneInfo.i4a(VOID, VOID, action.w4i_1, VOID, action.x4i_1);
34588
+ var tmp755_sceneInfo = table.sceneInfo.i4a(VOID, VOID, action.w4i_1, VOID, action.x4i_1);
34571
34589
  var tmp;
34572
34590
  if (updatedCombinations == null) {
34573
34591
  tmp = null;
@@ -34606,11 +34624,11 @@
34606
34624
  while (tmp0_iterator_1.k()) {
34607
34625
  var item_0 = tmp0_iterator_1.l();
34608
34626
  // Inline function 'com.debertz.logic.redux.reducers.sclices.act.playerTurnReducer.<anonymous>.<anonymous>.<anonymous>' call
34609
- var tmp749_state = CombinationState_NOT_VERIFIED_getInstance();
34610
- var tmp750_config = table.config;
34611
- var tmp751_playerId = item.playerId;
34612
- var tmp752_players = table.players;
34613
- var tmp$ret$3 = mapToDetailedFull(item_0, tmp751_playerId, tmp749_state, tmp750_config, tmp752_players, null);
34627
+ var tmp751_state = CombinationState_NOT_VERIFIED_getInstance();
34628
+ var tmp752_config = table.config;
34629
+ var tmp753_playerId = item.playerId;
34630
+ var tmp754_players = table.players;
34631
+ var tmp$ret$3 = mapToDetailedFull(item_0, tmp753_playerId, tmp751_state, tmp752_config, tmp754_players, null);
34614
34632
  destination_1.e(tmp$ret$3);
34615
34633
  }
34616
34634
  tmp_0 = item.s37(VOID, VOID, VOID, VOID, VOID, item.a37_1.l3a(VOID, plus(tmp_1, destination_1)));
@@ -34623,8 +34641,8 @@
34623
34641
  tmp = destination;
34624
34642
  }
34625
34643
  var tmp0_elvis_lhs = tmp;
34626
- var tmp754_players = tmp0_elvis_lhs == null ? table.players : tmp0_elvis_lhs;
34627
- return table.copy(VOID, VOID, VOID, VOID, tmp754_players, tmp753_sceneInfo);
34644
+ var tmp756_players = tmp0_elvis_lhs == null ? table.players : tmp0_elvis_lhs;
34645
+ return table.copy(VOID, VOID, VOID, VOID, tmp756_players, tmp755_sceneInfo);
34628
34646
  }
34629
34647
  function combinationReducer(action, table) {
34630
34648
  var tmp$ret$0;
@@ -34639,7 +34657,7 @@
34639
34657
  }
34640
34658
  var combinationActData = tmp$ret$0;
34641
34659
  var player = getPlayer(table.players, combinationActData.c3i());
34642
- var tmp759_sceneInfo = table.sceneInfo.i4a(VOID, VOID, action.w4i_1, VOID, action.x4i_1);
34660
+ var tmp761_sceneInfo = table.sceneInfo.i4a(VOID, VOID, action.w4i_1, VOID, action.x4i_1);
34643
34661
  // Inline function 'kotlin.collections.filterNot' call
34644
34662
  // Inline function 'kotlin.collections.filterNotTo' call
34645
34663
  var this_1 = player.a37_1.p38_1;
@@ -34686,49 +34704,49 @@
34686
34704
  while (tmp0_iterator_1.k()) {
34687
34705
  var item = tmp0_iterator_1.l();
34688
34706
  // Inline function 'com.debertz.logic.redux.reducers.sclices.act.combinationReducer.<anonymous>' call
34689
- var tmp755_state = CombinationState_VERIFYING_getInstance();
34690
- var tmp756_config = table.config;
34691
- var tmp757_playerId = player.playerId;
34692
- var tmp758_players = table.players;
34693
- var tmp$ret$5 = mapToDetailedFull(item, tmp757_playerId, tmp755_state, tmp756_config, tmp758_players, null);
34707
+ var tmp757_state = CombinationState_VERIFYING_getInstance();
34708
+ var tmp758_config = table.config;
34709
+ var tmp759_playerId = player.playerId;
34710
+ var tmp760_players = table.players;
34711
+ var tmp$ret$5 = mapToDetailedFull(item, tmp759_playerId, tmp757_state, tmp758_config, tmp760_players, null);
34694
34712
  destination_0.e(tmp$ret$5);
34695
34713
  }
34696
- var tmp760_players = updateItem(table.players, player.s37(VOID, VOID, VOID, VOID, VOID, player.a37_1.l3a(VOID, plus(tmp_0, destination_0))), get_byIdPlayerPredicate()(player.playerId));
34697
- return table.copy(VOID, VOID, VOID, VOID, tmp760_players, tmp759_sceneInfo);
34714
+ var tmp762_players = updateItem(table.players, player.s37(VOID, VOID, VOID, VOID, VOID, player.a37_1.l3a(VOID, plus(tmp_0, destination_0))), get_byIdPlayerPredicate()(player.playerId));
34715
+ return table.copy(VOID, VOID, VOID, VOID, tmp762_players, tmp761_sceneInfo);
34698
34716
  }
34699
34717
  function MechanicLifecycleReducer() {
34700
34718
  }
34701
34719
  function BaseMechanicLifecycleReducer(tableLifecycleReducer) {
34702
- this.z4t_1 = tableLifecycleReducer;
34720
+ this.a4u_1 = tableLifecycleReducer;
34703
34721
  }
34704
- protoOf(BaseMechanicLifecycleReducer).o4t = function (state, action) {
34705
- var tmp761_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
34706
- var tmp762_tableOrNull = action.p4n_1;
34707
- var tmp763_payload = action.r4n_1;
34708
- return state.a4l(tmp762_tableOrNull, tmp763_payload, tmp761_gameLifecycleState, null);
34722
+ protoOf(BaseMechanicLifecycleReducer).p4t = function (state, action) {
34723
+ var tmp763_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
34724
+ var tmp764_tableOrNull = action.p4n_1;
34725
+ var tmp765_payload = action.r4n_1;
34726
+ return state.a4l(tmp764_tableOrNull, tmp765_payload, tmp763_gameLifecycleState, null);
34709
34727
  };
34710
- protoOf(BaseMechanicLifecycleReducer).m4t = function (state, action) {
34728
+ protoOf(BaseMechanicLifecycleReducer).n4t = function (state, action) {
34711
34729
  return state.a4l(VOID, VOID, GameLifecycleState_FINISHED_getInstance(), action.r4m_1);
34712
34730
  };
34713
- protoOf(BaseMechanicLifecycleReducer).n4t = function (state, action) {
34714
- var tmp764_gameLifecycleState = GameLifecycleState_FINISHING_getInstance();
34715
- var tmp765_terminationGameReason = action.o4m_1;
34716
- var tmp766_tableOrNull = this.z4t_1.a4u(state.e33());
34717
- return state.a4l(tmp766_tableOrNull, VOID, tmp764_gameLifecycleState, tmp765_terminationGameReason);
34731
+ protoOf(BaseMechanicLifecycleReducer).o4t = function (state, action) {
34732
+ var tmp766_gameLifecycleState = GameLifecycleState_FINISHING_getInstance();
34733
+ var tmp767_terminationGameReason = action.o4m_1;
34734
+ var tmp768_tableOrNull = this.a4u_1.b4u(state.e33());
34735
+ return state.a4l(tmp768_tableOrNull, VOID, tmp766_gameLifecycleState, tmp767_terminationGameReason);
34718
34736
  };
34719
- protoOf(BaseMechanicLifecycleReducer).l4t = function (state, action) {
34720
- return state.a4l(this.z4t_1.b4u(state.e33()));
34737
+ protoOf(BaseMechanicLifecycleReducer).m4t = function (state, action) {
34738
+ return state.a4l(this.a4u_1.c4u(state.e33()));
34721
34739
  };
34722
- protoOf(BaseMechanicLifecycleReducer).k4t = function (state, action) {
34740
+ protoOf(BaseMechanicLifecycleReducer).l4t = function (state, action) {
34723
34741
  return state.a4l(VOID, VOID, GameLifecycleState_FINISHED_getInstance(), action.n4n_1.k3q_1);
34724
34742
  };
34725
34743
  function PlayerHandReducer(pointsInteractor, playerHappinessProvider, logger, dealerConfig) {
34726
- this.c4u_1 = pointsInteractor;
34727
- this.d4u_1 = playerHappinessProvider;
34728
- this.e4u_1 = logger;
34729
- this.f4u_1 = dealerConfig;
34744
+ this.d4u_1 = pointsInteractor;
34745
+ this.e4u_1 = playerHappinessProvider;
34746
+ this.f4u_1 = logger;
34747
+ this.g4u_1 = dealerConfig;
34730
34748
  }
34731
- protoOf(PlayerHandReducer).g4u = function (playerId, hand, cards, combinations, selectedTrump, config) {
34749
+ protoOf(PlayerHandReducer).h4u = function (playerId, hand, cards, combinations, selectedTrump, config) {
34732
34750
  // Inline function 'kotlin.collections.map' call
34733
34751
  // Inline function 'kotlin.collections.mapTo' call
34734
34752
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(combinations, 10));
@@ -34736,7 +34754,7 @@
34736
34754
  while (tmp0_iterator.k()) {
34737
34755
  var item = tmp0_iterator.l();
34738
34756
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.PlayerHandReducer.playerHandReducerAddRecord.<anonymous>' call
34739
- var tmp$ret$0 = mapToRecord(item, this.c4u_1.o4h(item));
34757
+ var tmp$ret$0 = mapToRecord(item, this.d4u_1.o4h(item));
34740
34758
  destination.e(tmp$ret$0);
34741
34759
  }
34742
34760
  var combinationRecords = destination;
@@ -34771,7 +34789,7 @@
34771
34789
  if (hasStubCards) {
34772
34790
  return hand.y39(VOID, VOID, plus(hand.w37_1, combinationRecords), plus(hand.x37_1, combinationRecords));
34773
34791
  }
34774
- var tmp_0 = this.c4u_1.n4h(cards, selectedTrump, this.f4u_1.dealerStrategy);
34792
+ var tmp_0 = this.d4u_1.n4h(cards, selectedTrump, this.g4u_1.dealerStrategy);
34775
34793
  // Inline function 'kotlin.collections.map' call
34776
34794
  // Inline function 'kotlin.collections.mapTo' call
34777
34795
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(combinationRecords, 10));
@@ -34783,11 +34801,11 @@
34783
34801
  destination_0.e(tmp$ret$5);
34784
34802
  }
34785
34803
  var value = tmp_0 + sum(destination_0);
34786
- var luckyFactor = this.d4u_1.u4c(value, config.playersMode, this.f4u_1.dealerStrategy);
34787
- Companion_instance_119.m4h(this.e4u_1, 'equaliseCards: earn points for = ' + playerId + ' ' + ('luckyFactor: ' + luckyFactor + ', ') + ('currentLuckyFactor: ' + hand.k38() + ', ') + ('value: ' + value + ', ') + ('combinations: ' + combinations.m() + ', '));
34804
+ var luckyFactor = this.e4u_1.u4c(value, config.playersMode, this.g4u_1.dealerStrategy);
34805
+ Companion_instance_119.m4h(this.f4u_1, 'equaliseCards: earn points for = ' + playerId + ' ' + ('luckyFactor: ' + luckyFactor + ', ') + ('currentLuckyFactor: ' + hand.k38() + ', ') + ('value: ' + value + ', ') + ('combinations: ' + combinations.m() + ', '));
34788
34806
  return hand.y39(VOID, plus(hand.v37_1, listOf_0(Companion_instance_11.j39(luckyFactor, value))), plus(hand.w37_1, combinationRecords), plus(hand.x37_1, combinationRecords));
34789
34807
  };
34790
- protoOf(PlayerHandReducer).h4u = function (playerId, hand, updatedCombinations, config) {
34808
+ protoOf(PlayerHandReducer).i4u = function (playerId, hand, updatedCombinations, config) {
34791
34809
  // Inline function 'kotlin.collections.map' call
34792
34810
  // Inline function 'kotlin.collections.mapTo' call
34793
34811
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(updatedCombinations, 10));
@@ -34795,7 +34813,7 @@
34795
34813
  while (tmp0_iterator.k()) {
34796
34814
  var item = tmp0_iterator.l();
34797
34815
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.PlayerHandReducer.playerHandReducerUpdatedRecord.<anonymous>' call
34798
- var tmp$ret$0 = mapToRecord(item, this.c4u_1.o4h(item));
34816
+ var tmp$ret$0 = mapToRecord(item, this.d4u_1.o4h(item));
34799
34817
  destination.e(tmp$ret$0);
34800
34818
  }
34801
34819
  var updatedCombinationRecords = destination;
@@ -34938,8 +34956,8 @@
34938
34956
  destination_4.e(tmp$ret$21);
34939
34957
  }
34940
34958
  var updatedValue = tmp_3 + sum(destination_4);
34941
- var updatedLuckyFactor = this.d4u_1.u4c(updatedValue, config.playersMode, this.f4u_1.dealerStrategy);
34942
- Companion_instance_119.m4h(this.e4u_1, 'playerHand: update combinations value for = ' + playerId + ' ' + ('luckyFactor: ' + updatedLuckyFactor + ', ') + ('currentLuckyFactor: ' + hand.k38() + ', ') + ('value: ' + updatedValue + ', '));
34959
+ var updatedLuckyFactor = this.e4u_1.u4c(updatedValue, config.playersMode, this.g4u_1.dealerStrategy);
34960
+ Companion_instance_119.m4h(this.f4u_1, 'playerHand: update combinations value for = ' + playerId + ' ' + ('luckyFactor: ' + updatedLuckyFactor + ', ') + ('currentLuckyFactor: ' + hand.k38() + ', ') + ('value: ' + updatedValue + ', '));
34943
34961
  // Inline function 'kotlin.collections.map' call
34944
34962
  var this_3 = hand.v37_1;
34945
34963
  // Inline function 'kotlin.collections.mapTo' call
@@ -35033,7 +35051,7 @@
35033
35051
  protoOf(PlayerSceneReducer).c4k = function (player, cards, whoShuffleCardsPlayerId) {
35034
35052
  return player.s37(VOID, VOID, cards, player.y36_1.j3a(VOID, VOID, VOID, player.playerId === whoShuffleCardsPlayerId));
35035
35053
  };
35036
- protoOf(PlayerSceneReducer).i4u = function (player, distributedCards, combinations, config, players, selectedTrump) {
35054
+ protoOf(PlayerSceneReducer).j4u = function (player, distributedCards, combinations, config, players, selectedTrump) {
35037
35055
  // Inline function 'kotlin.collections.map' call
35038
35056
  // Inline function 'kotlin.collections.mapTo' call
35039
35057
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(combinations, 10));
@@ -35041,14 +35059,14 @@
35041
35059
  while (tmp0_iterator.k()) {
35042
35060
  var item = tmp0_iterator.l();
35043
35061
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.PlayerSceneReducer.playerEarnPointsSceneReducer.<anonymous>' call
35044
- var tmp767_state = CombinationState_NOT_VERIFIED_getInstance();
35045
- var tmp768_playerId = player.playerId;
35046
- var tmp$ret$0 = mapToDetailedFull(item, tmp768_playerId, tmp767_state, config, players, null);
35062
+ var tmp769_state = CombinationState_NOT_VERIFIED_getInstance();
35063
+ var tmp770_playerId = player.playerId;
35064
+ var tmp$ret$0 = mapToDetailedFull(item, tmp770_playerId, tmp769_state, config, players, null);
35047
35065
  destination.e(tmp$ret$0);
35048
35066
  }
35049
35067
  var detailedCombinations = destination;
35050
35068
  var cards = plus(player.x36_1, distributedCards);
35051
- var hand = this.b4k_1.g4u(player.playerId, player.z36_1, cards, detailedCombinations, selectedTrump, config);
35069
+ var hand = this.b4k_1.h4u(player.playerId, player.z36_1, cards, detailedCombinations, selectedTrump, config);
35052
35070
  var tmp;
35053
35071
  // Inline function 'kotlin.collections.isNotEmpty' call
35054
35072
  if (!combinations.p()) {
@@ -35092,10 +35110,10 @@
35092
35110
  } else {
35093
35111
  tmp = player.a37_1;
35094
35112
  }
35095
- var tmp769_points = tmp;
35096
- return player.s37(VOID, VOID, cards, VOID, hand, tmp769_points);
35113
+ var tmp771_points = tmp;
35114
+ return player.s37(VOID, VOID, cards, VOID, hand, tmp771_points);
35097
35115
  };
35098
- protoOf(PlayerSceneReducer).j4u = function (player, sceneData) {
35116
+ protoOf(PlayerSceneReducer).k4u = function (player, sceneData) {
35099
35117
  // Inline function 'kotlin.collections.single' call
35100
35118
  var single = null;
35101
35119
  var found = false;
@@ -35114,26 +35132,26 @@
35114
35132
  throw NoSuchElementException_init_$Create$('Collection contains no element matching the predicate.');
35115
35133
  var pointsCell = (single == null ? true : !(single == null)) ? single : THROW_CCE();
35116
35134
  var playerPointsCell = getPlayer(pointsCell.w3b_1, player.playerId);
35117
- var tmp771_$this = player.y36_1;
35118
- var tmp772_isEarnedBiggestPointInLastGame = sceneData.v3i_1 === player.playerId;
35119
- var tmp773_isRoundWinner = sceneData.w3i_1.q1(player.playerId);
35120
- var tmp770_safe_receiver = sceneData.x3i_1;
35121
- var tmp0_elvis_lhs = tmp770_safe_receiver == null ? null : tmp770_safe_receiver.q1(player.playerId);
35122
- var tmp774_isGameWinner = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
35123
- var tmp775_failedContractsCount = pointsCell.x3b_1.isFailed ? player.y36_1.l37_1 + 1 | 0 : player.y36_1.l37_1;
35124
- var tmp = tmp771_$this.j3a(VOID, VOID, tmp774_isGameWinner, VOID, tmp773_isRoundWinner, VOID, tmp772_isEarnedBiggestPointInLastGame, tmp775_failedContractsCount);
35125
- var tmp776_earnedPoints = playerPointsCell.e3c_1;
35126
- var tmp777_earnedCards = emptyList();
35135
+ var tmp773_$this = player.y36_1;
35136
+ var tmp774_isEarnedBiggestPointInLastGame = sceneData.v3i_1 === player.playerId;
35137
+ var tmp775_isRoundWinner = sceneData.w3i_1.q1(player.playerId);
35138
+ var tmp772_safe_receiver = sceneData.x3i_1;
35139
+ var tmp0_elvis_lhs = tmp772_safe_receiver == null ? null : tmp772_safe_receiver.q1(player.playerId);
35140
+ var tmp776_isGameWinner = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
35141
+ var tmp777_failedContractsCount = pointsCell.x3b_1.isFailed ? player.y36_1.l37_1 + 1 | 0 : player.y36_1.l37_1;
35142
+ var tmp = tmp773_$this.j3a(VOID, VOID, tmp776_isGameWinner, VOID, tmp775_isRoundWinner, VOID, tmp774_isEarnedBiggestPointInLastGame, tmp777_failedContractsCount);
35143
+ var tmp778_earnedPoints = playerPointsCell.e3c_1;
35144
+ var tmp779_earnedCards = emptyList();
35127
35145
  // Inline function 'kotlin.collections.orEmpty' call
35128
35146
  var tmp0_elvis_lhs_0 = playerPointsCell.f3c_1;
35129
- var tmp778_combinations = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
35130
- return player.s37(VOID, VOID, VOID, tmp, VOID, new PlayerPoints(tmp776_earnedPoints, tmp778_combinations, tmp777_earnedCards));
35147
+ var tmp780_combinations = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
35148
+ return player.s37(VOID, VOID, VOID, tmp, VOID, new PlayerPoints(tmp778_earnedPoints, tmp780_combinations, tmp779_earnedCards));
35131
35149
  };
35132
35150
  function PlayerTurnMechanicReducer(logger) {
35133
- this.f4s_1 = logger;
35151
+ this.g4s_1 = logger;
35134
35152
  }
35135
- protoOf(PlayerTurnMechanicReducer).k4u = function (table, model) {
35136
- this.f4s_1.d('PlayerTurn', 'onPlayerTurn: ' + model.toString());
35153
+ protoOf(PlayerTurnMechanicReducer).l4u = function (table, model) {
35154
+ this.g4s_1.d('PlayerTurn', 'onPlayerTurn: ' + model.toString());
35137
35155
  // Inline function 'com.logic.utils.copy' call
35138
35156
  var this_0 = table.players;
35139
35157
  // Inline function 'kotlin.apply' call
@@ -35147,7 +35165,7 @@
35147
35165
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.PlayerTurnMechanicReducer.onPlayerTurn.<anonymous>.<anonymous>' call
35148
35166
  var player = getPlayer(table.players, element);
35149
35167
  if (!(player.w36_1.k2q_1 == null)) {
35150
- this.f4s_1.w(VOID, 'PlayerTurnMechanicReducer.onPlayerTurn: already ' + ('has a tag: ' + player.w36_1.k2q_1) + (', new tag: ' + model.d39_1));
35168
+ this.g4s_1.w(VOID, 'PlayerTurnMechanicReducer.onPlayerTurn: already ' + ('has a tag: ' + player.w36_1.k2q_1) + (', new tag: ' + model.d39_1));
35151
35169
  }
35152
35170
  var tmp = Companion_instance_0;
35153
35171
  var tmp_0 = System_instance.p2i();
@@ -35160,19 +35178,19 @@
35160
35178
  }
35161
35179
  return table.copy(VOID, VOID, VOID, VOID, this_1);
35162
35180
  };
35163
- protoOf(PlayerTurnMechanicReducer).l4u = function (table, model) {
35181
+ protoOf(PlayerTurnMechanicReducer).m4u = function (table, model) {
35164
35182
  var player = getPlayer(table.players, model.t2o());
35165
35183
  if (player.w36_1.k2q_1 == null) {
35166
- this.f4s_1.w(VOID, 'PlayerTurnMechanicReducer.onResetPlayerTurn: has no tag' + (', tag: ' + model.d39_1));
35184
+ this.g4s_1.w(VOID, 'PlayerTurnMechanicReducer.onResetPlayerTurn: has no tag' + (', tag: ' + model.d39_1));
35167
35185
  }
35168
- this.f4s_1.d('PlayerTurn', 'onResetPlayerTurn: ' + model.toString());
35186
+ this.g4s_1.d('PlayerTurn', 'onResetPlayerTurn: ' + model.toString());
35169
35187
  return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.s37(VOID, Companion_instance_0.t2r(player.w36_1)), get_byIdPlayerPredicate()(player.playerId)));
35170
35188
  };
35171
- protoOf(PlayerTurnMechanicReducer).h4s = function (table, action) {
35189
+ protoOf(PlayerTurnMechanicReducer).i4s = function (table, action) {
35172
35190
  var player = getPlayer(table.players, action.t4n_1);
35173
35191
  return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.s37(VOID, player.w36_1.u2r(VOID, VOID, VOID, VOID, true)), get_byIdPlayerPredicate()(player.playerId)));
35174
35192
  };
35175
- protoOf(PlayerTurnMechanicReducer).m4u = function (table) {
35193
+ protoOf(PlayerTurnMechanicReducer).n4u = function (table) {
35176
35194
  // Inline function 'kotlin.collections.map' call
35177
35195
  var this_0 = table.players;
35178
35196
  // Inline function 'kotlin.collections.mapTo' call
@@ -35186,16 +35204,16 @@
35186
35204
  }
35187
35205
  return table.copy(VOID, VOID, VOID, VOID, destination);
35188
35206
  };
35189
- protoOf(PlayerTurnMechanicReducer).g4s = function (table, playerId, newConnectionState, reconnectUntilTime) {
35207
+ protoOf(PlayerTurnMechanicReducer).h4s = function (table, playerId, newConnectionState, reconnectUntilTime) {
35190
35208
  var players = table.players;
35191
35209
  var player = getPlayer(players, playerId);
35192
- this.f4s_1.d(VOID, 'PlayerTurnMechanicReducer.onPlayerConnectionChanged: ' + newConnectionState.toString() + ', playerId: ' + playerId + ', state: ' + player.w36_1.toString());
35210
+ this.g4s_1.d(VOID, 'PlayerTurnMechanicReducer.onPlayerConnectionChanged: ' + newConnectionState.toString() + ', playerId: ' + playerId + ', state: ' + player.w36_1.toString());
35193
35211
  var reconnectUntilTimeInstant = reconnectUntilTime == null ? null : toInstant(reconnectUntilTime);
35194
35212
  var tmp;
35195
35213
  if (newConnectionState.n2_1 === 0) {
35196
- var tmp782_$this = player.w36_1;
35197
- var tmp781_safe_receiver = player.w36_1.l2q_1;
35198
- var tmp783_connection = tmp781_safe_receiver == null ? null : Companion_instance_1.o2q(tmp781_safe_receiver);
35214
+ var tmp784_$this = player.w36_1;
35215
+ var tmp783_safe_receiver = player.w36_1.l2q_1;
35216
+ var tmp785_connection = tmp783_safe_receiver == null ? null : Companion_instance_1.o2q(tmp783_safe_receiver);
35199
35217
  var tmp_0;
35200
35218
  if (player.w36_1.m2q()) {
35201
35219
  var tmp_1 = System_instance.p2i();
@@ -35207,13 +35225,13 @@
35207
35225
  } else {
35208
35226
  tmp_0 = player.w36_1.g2q_1;
35209
35227
  }
35210
- var tmp784_playerTurnTimeout = tmp_0;
35211
- tmp = tmp782_$this.u2r(VOID, tmp784_playerTurnTimeout, reconnectUntilTimeInstant, VOID, VOID, VOID, tmp783_connection);
35228
+ var tmp786_playerTurnTimeout = tmp_0;
35229
+ tmp = tmp784_$this.u2r(VOID, tmp786_playerTurnTimeout, reconnectUntilTimeInstant, VOID, VOID, VOID, tmp785_connection);
35212
35230
  } else {
35213
- var tmp786_$this = player.w36_1;
35214
- var tmp785_safe_receiver = player.w36_1.l2q_1;
35215
- var tmp787_connection = tmp785_safe_receiver == null ? null : Companion_instance_1.u2q(tmp785_safe_receiver, newConnectionState);
35216
- tmp = tmp786_$this.u2r(VOID, VOID, reconnectUntilTimeInstant, VOID, VOID, VOID, tmp787_connection);
35231
+ var tmp788_$this = player.w36_1;
35232
+ var tmp787_safe_receiver = player.w36_1.l2q_1;
35233
+ var tmp789_connection = tmp787_safe_receiver == null ? null : Companion_instance_1.u2q(tmp787_safe_receiver, newConnectionState);
35234
+ tmp = tmp788_$this.u2r(VOID, VOID, reconnectUntilTimeInstant, VOID, VOID, VOID, tmp789_connection);
35217
35235
  }
35218
35236
  return table.copy(VOID, VOID, VOID, VOID, updateItem(players, player.s37(VOID, tmp), get_byIdPlayerPredicate()(player.playerId)));
35219
35237
  };
@@ -35249,16 +35267,16 @@
35249
35267
  while (tmp0_iterator.k()) {
35250
35268
  var item = tmp0_iterator.l();
35251
35269
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
35252
- var tmp$ret$1 = $this.j4s_1.c4k(item, getValue(scene.d3j_1, item.playerId), scene.g3j_1);
35270
+ var tmp$ret$1 = $this.k4s_1.c4k(item, getValue(scene.d3j_1, item.playerId), scene.g3j_1);
35253
35271
  destination.e(tmp$ret$1);
35254
35272
  }
35255
35273
 
35256
- var tmp789_$this = $this.m4s_1;
35257
- var tmp790_gameHistory = table.gameHistory;
35258
- var tmp791_playersCards = scene.d3j_1;
35259
- var tmp792_whoShuffleCardsPlayerId = scene.g3j_1;
35260
- var tmp794_gameHistory = tmp789_$this.o4u(cardDeck, tmp792_whoShuffleCardsPlayerId, tmp791_playersCards, tmp790_gameHistory);
35261
- return table.copy(VOID, VOID, VOID, VOID, destination, sceneInfo, VOID, VOID, cardDeck, VOID, tmp794_gameHistory);
35274
+ var tmp791_$this = $this.n4s_1;
35275
+ var tmp792_gameHistory = table.gameHistory;
35276
+ var tmp793_playersCards = scene.d3j_1;
35277
+ var tmp794_whoShuffleCardsPlayerId = scene.g3j_1;
35278
+ var tmp796_gameHistory = tmp791_$this.p4u(cardDeck, tmp794_whoShuffleCardsPlayerId, tmp793_playersCards, tmp792_gameHistory);
35279
+ return table.copy(VOID, VOID, VOID, VOID, destination, sceneInfo, VOID, VOID, cardDeck, VOID, tmp796_gameHistory);
35262
35280
  case 'EARN_POINTS':
35263
35281
  var tmp$ret$4;
35264
35282
  $l$block_0: {
@@ -35298,14 +35316,14 @@
35298
35316
 
35299
35317
  var it = flatten(destination_0);
35300
35318
  var tmp_0;
35301
- if ($this.o4s_1.s4d(config)) {
35302
- tmp_0 = $this.n4s_1.z2m(it, cardDeck_0.y46_1);
35319
+ if ($this.p4s_1.s4d(config)) {
35320
+ tmp_0 = $this.o4s_1.z2m(it, cardDeck_0.y46_1);
35303
35321
  } else {
35304
35322
  tmp_0 = it;
35305
35323
  }
35306
35324
 
35307
35325
  var playersCards = tmp_0;
35308
- var cards = $this.n4s_1.y2m(cardDeck_0.x46_1, plus(playersCards, listOfNotNull(scene_0.j3j_1)));
35326
+ var cards = $this.o4s_1.y2m(cardDeck_0.x46_1, plus(playersCards, listOfNotNull(scene_0.j3j_1)));
35309
35327
  var newCardDeck = cardDeck_0.k47(cards, VOID, scene_0.j3j_1);
35310
35328
  // Inline function 'kotlin.collections.map' call
35311
35329
 
@@ -35316,21 +35334,21 @@
35316
35334
  while (tmp0_iterator_1.k()) {
35317
35335
  var item_1 = tmp0_iterator_1.l();
35318
35336
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
35319
- var tmp796_$this = $this.j4s_1;
35320
- var tmp797_distributedCards = getValue(scene_0.h3j_1, item_1.playerId);
35321
- var tmp795_safe_receiver = scene_0.i3j_1;
35322
- var tmp0_elvis_lhs = tmp795_safe_receiver == null ? null : tmp795_safe_receiver.h2(item_1.playerId);
35323
- var tmp798_combinations = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
35324
- var tmp799_selectedTrump = table.gameInfo.u46_1.y49();
35325
- var tmp$ret$11 = tmp796_$this.i4u(item_1, tmp797_distributedCards, tmp798_combinations, config, players, tmp799_selectedTrump);
35337
+ var tmp798_$this = $this.k4s_1;
35338
+ var tmp799_distributedCards = getValue(scene_0.h3j_1, item_1.playerId);
35339
+ var tmp797_safe_receiver = scene_0.i3j_1;
35340
+ var tmp0_elvis_lhs = tmp797_safe_receiver == null ? null : tmp797_safe_receiver.h2(item_1.playerId);
35341
+ var tmp800_combinations = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
35342
+ var tmp801_selectedTrump = table.gameInfo.u46_1.y49();
35343
+ var tmp$ret$11 = tmp798_$this.j4u(item_1, tmp799_distributedCards, tmp800_combinations, config, players, tmp801_selectedTrump);
35326
35344
  destination_1.e(tmp$ret$11);
35327
35345
  }
35328
35346
 
35329
- var tmp800_$this = $this.m4s_1;
35330
- var tmp801_gameHistory = table.gameHistory;
35331
- var tmp802_playersCards = scene_0.h3j_1;
35332
- var tmp804_gameHistory = tmp800_$this.p4u(tmp802_playersCards, tmp801_gameHistory);
35333
- return table.copy(VOID, VOID, VOID, VOID, destination_1, sceneInfo, VOID, VOID, newCardDeck, VOID, tmp804_gameHistory);
35347
+ var tmp802_$this = $this.n4s_1;
35348
+ var tmp803_gameHistory = table.gameHistory;
35349
+ var tmp804_playersCards = scene_0.h3j_1;
35350
+ var tmp806_gameHistory = tmp802_$this.q4u(tmp804_playersCards, tmp803_gameHistory);
35351
+ return table.copy(VOID, VOID, VOID, VOID, destination_1, sceneInfo, VOID, VOID, newCardDeck, VOID, tmp806_gameHistory);
35334
35352
  case 'CALC_POINTS':
35335
35353
  var tmp$ret$14;
35336
35354
  $l$block_1: {
@@ -35353,15 +35371,15 @@
35353
35371
  while (tmp0_iterator_2.k()) {
35354
35372
  var item_2 = tmp0_iterator_2.l();
35355
35373
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
35356
- var tmp$ret$15 = $this.j4s_1.j4u(item_2, scene_1);
35374
+ var tmp$ret$15 = $this.k4s_1.k4u(item_2, scene_1);
35357
35375
  destination_2.e(tmp$ret$15);
35358
35376
  }
35359
35377
 
35360
- var tmp805_$this = $this.m4s_1;
35361
- var tmp806_gameHistory = table.gameHistory;
35362
- var tmp807_points = scene_1.z3i_1;
35363
- var tmp809_gameHistory = tmp805_$this.q4u(tmp807_points, tmp806_gameHistory);
35364
- return table.copy(VOID, VOID, VOID, VOID, destination_2, sceneInfo, VOID, VOID, VOID, VOID, tmp809_gameHistory);
35378
+ var tmp807_$this = $this.n4s_1;
35379
+ var tmp808_gameHistory = table.gameHistory;
35380
+ var tmp809_points = scene_1.z3i_1;
35381
+ var tmp811_gameHistory = tmp807_$this.r4u(tmp809_points, tmp808_gameHistory);
35382
+ return table.copy(VOID, VOID, VOID, VOID, destination_2, sceneInfo, VOID, VOID, VOID, VOID, tmp811_gameHistory);
35365
35383
  default:
35366
35384
  throw new MechanicException("Can't support this scene " + action.toString());
35367
35385
  }
@@ -35375,8 +35393,8 @@
35375
35393
  // Inline function 'kotlin.let' call
35376
35394
  // Inline function 'kotlin.contracts.contract' call
35377
35395
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onPreviousScene.<anonymous>' call
35378
- var tableUpdated = $this.k4s_1.m4u(table);
35379
- tmp_0 = $this.l4s_1.r4u(tableUpdated);
35396
+ var tableUpdated = $this.l4s_1.n4u(table);
35397
+ tmp_0 = $this.m4s_1.s4u(tableUpdated);
35380
35398
  } else {
35381
35399
  tmp_0 = table;
35382
35400
  }
@@ -35387,14 +35405,14 @@
35387
35405
  return tmp;
35388
35406
  }
35389
35407
  function SceneReducer(playerSceneReducer, playerTurnMechanicReducer, tableLifecycleReducer, gameHistoryReducer, dealerReducer, gameParamsProvider) {
35390
- this.j4s_1 = playerSceneReducer;
35391
- this.k4s_1 = playerTurnMechanicReducer;
35392
- this.l4s_1 = tableLifecycleReducer;
35393
- this.m4s_1 = gameHistoryReducer;
35394
- this.n4s_1 = dealerReducer;
35395
- this.o4s_1 = gameParamsProvider;
35396
- }
35397
- protoOf(SceneReducer).p4s = function (table, action) {
35408
+ this.k4s_1 = playerSceneReducer;
35409
+ this.l4s_1 = playerTurnMechanicReducer;
35410
+ this.m4s_1 = tableLifecycleReducer;
35411
+ this.n4s_1 = gameHistoryReducer;
35412
+ this.o4s_1 = dealerReducer;
35413
+ this.p4s_1 = gameParamsProvider;
35414
+ }
35415
+ protoOf(SceneReducer).q4s = function (table, action) {
35398
35416
  var previousSceneId = table.sceneInfo.c4a_1;
35399
35417
  if (!(previousSceneId === 'WAITING') && equals(table.sceneInfo.f4a_1, action.sceneData)) {
35400
35418
  throw new MechanicException('Payload was set twice');
@@ -35403,7 +35421,7 @@
35403
35421
  };
35404
35422
  function TeamsMechanicReducer() {
35405
35423
  }
35406
- protoOf(TeamsMechanicReducer).j4t = function (players, action) {
35424
+ protoOf(TeamsMechanicReducer).k4t = function (players, action) {
35407
35425
  // Inline function 'kotlin.collections.map' call
35408
35426
  var this_0 = action.e4n_1.a2s_1;
35409
35427
  // Inline function 'kotlin.collections.mapTo' call
@@ -35446,10 +35464,10 @@
35446
35464
  return destination_1;
35447
35465
  };
35448
35466
  function TradeMechanicReducer(logger, gameHistoryReducer) {
35449
- this.f4t_1 = logger;
35450
- this.g4t_1 = gameHistoryReducer;
35467
+ this.g4t_1 = logger;
35468
+ this.h4t_1 = gameHistoryReducer;
35451
35469
  }
35452
- protoOf(TradeMechanicReducer).i4t = function (state, action) {
35470
+ protoOf(TradeMechanicReducer).j4t = function (state, action) {
35453
35471
  var table = state.e33();
35454
35472
  // Inline function 'kotlin.with' call
35455
35473
  // Inline function 'kotlin.contracts.contract' call
@@ -35460,7 +35478,7 @@
35460
35478
  var it = player.y36_1.h3a();
35461
35479
  var tmp;
35462
35480
  if (it == null) {
35463
- this.f4t_1.w(VOID, "Can't support this circle increment");
35481
+ this.g4t_1.w(VOID, "Can't support this circle increment");
35464
35482
  tmp = player.y36_1.o37_1;
35465
35483
  } else {
35466
35484
  tmp = it;
@@ -35482,11 +35500,11 @@
35482
35500
  var tmp$ret$2 = item.s37(VOID, VOID, VOID, item.y36_1.j3a(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, isPlayerChoseSuit ? newNumberOfCircle : player.y36_1.o37_1, isPlayerChoseSuit, isPlayerChoseSuit));
35483
35501
  destination.e(tmp$ret$2);
35484
35502
  }
35485
- tmp_0 = state.a4l(table.copy(VOID, VOID, VOID, VOID, destination, VOID, VOID, VOID, VOID, VOID, this.g4t_1.s4u(player.playerId, action.k4j_1, newNumberOfCircle, table.gameHistory)));
35503
+ tmp_0 = state.a4l(table.copy(VOID, VOID, VOID, VOID, destination, VOID, VOID, VOID, VOID, VOID, this.h4t_1.t4u(player.playerId, action.k4j_1, newNumberOfCircle, table.gameHistory)));
35486
35504
  }
35487
35505
  return tmp_0;
35488
35506
  };
35489
- protoOf(TradeMechanicReducer).h4t = function (state, action) {
35507
+ protoOf(TradeMechanicReducer).i4t = function (state, action) {
35490
35508
  var table = state.e33();
35491
35509
  // Inline function 'kotlin.collections.map' call
35492
35510
  var this_0 = table.players;
@@ -35521,8 +35539,8 @@
35521
35539
  while (tmp0_iterator_0.k()) {
35522
35540
  var item = tmp0_iterator_0.l();
35523
35541
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.logic.CombinationsMechanicReducer.rebuildPlayerCombinationsWithNewState.<anonymous>' call
35524
- var tmp811_playerId = player.playerId;
35525
- var tmp$ret$2 = mapToDetailedFull(item, tmp811_playerId, state, config, players, null);
35542
+ var tmp813_playerId = player.playerId;
35543
+ var tmp$ret$2 = mapToDetailedFull(item, tmp813_playerId, state, config, players, null);
35526
35544
  destination_0.e(tmp$ret$2);
35527
35545
  }
35528
35546
  return plus(tmp, destination_0);
@@ -35568,13 +35586,13 @@
35568
35586
  };
35569
35587
  }
35570
35588
  function CombinationsMechanicReducer(teamsLogicProvider, combinationsInteractor, dealerReducer, playerHandReducer, gameHistoryReducer) {
35571
- this.q4s_1 = teamsLogicProvider;
35572
- this.r4s_1 = combinationsInteractor;
35573
- this.s4s_1 = dealerReducer;
35574
- this.t4s_1 = playerHandReducer;
35575
- this.u4s_1 = gameHistoryReducer;
35589
+ this.r4s_1 = teamsLogicProvider;
35590
+ this.s4s_1 = combinationsInteractor;
35591
+ this.t4s_1 = dealerReducer;
35592
+ this.u4s_1 = playerHandReducer;
35593
+ this.v4s_1 = gameHistoryReducer;
35576
35594
  }
35577
- protoOf(CombinationsMechanicReducer).t4u = function (whoGotBribePlayerId, playerCombinations, players, config) {
35595
+ protoOf(CombinationsMechanicReducer).u4u = function (whoGotBribePlayerId, playerCombinations, players, config) {
35578
35596
  var bellaCombination = first(playerCombinations.k48_1);
35579
35597
  var player = getPlayer(players, playerCombinations.j48_1);
35580
35598
  if (bellaCombination.k3b_1.equals(CombinationState_NOT_ACCEPTED_getInstance())) {
@@ -35583,7 +35601,7 @@
35583
35601
  var tmp;
35584
35602
  if (config.rules.protectBella) {
35585
35603
  var playerWithBellaGotBribe = player.playerId === whoGotBribePlayerId;
35586
- var partnerGotBribe = config.playersMode.isTeamGame && this.q4s_1.j4c(player.playerId, players).playerId === whoGotBribePlayerId;
35604
+ var partnerGotBribe = config.playersMode.isTeamGame && this.r4s_1.j4c(player.playerId, players).playerId === whoGotBribePlayerId;
35587
35605
  var tmp_0;
35588
35606
  if (playerWithBellaGotBribe || partnerGotBribe) {
35589
35607
  tmp_0 = bellaCombination.t3b(VOID, VOID, CombinationState_ACCEPTED_getInstance());
@@ -35597,7 +35615,7 @@
35597
35615
  return tmp;
35598
35616
  }
35599
35617
  };
35600
- protoOf(CombinationsMechanicReducer).v4s = function (state, action) {
35618
+ protoOf(CombinationsMechanicReducer).w4s = function (state, action) {
35601
35619
  var table = state.e33();
35602
35620
  var players = table.players;
35603
35621
  var config = table.config;
@@ -35629,7 +35647,7 @@
35629
35647
  // Inline function 'kotlin.collections.associate' call
35630
35648
  // Inline function 'kotlin.collections.filterNot' call
35631
35649
  // Inline function 'kotlin.collections.filterNotTo' call
35632
- var this_2 = this.r4s_1.q4f(players);
35650
+ var this_2 = this.s4s_1.q4f(players);
35633
35651
  var destination_1 = ArrayList_init_$Create$();
35634
35652
  var tmp0_iterator_1 = this_2.j();
35635
35653
  while (tmp0_iterator_1.k()) {
@@ -35678,10 +35696,10 @@
35678
35696
  var tmp0_elvis_lhs_0 = rejectedPlayersCombinations.h2(item_1.playerId);
35679
35697
  var tmp$ret$16 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
35680
35698
  var combinations = plus(tmp_0, tmp$ret$16);
35681
- var tmp812_$this = this.t4s_1;
35682
- var tmp813_playerId = item_1.playerId;
35683
- var tmp814_hand = item_1.z36_1;
35684
- var tmp_1 = tmp812_$this.h4u(tmp813_playerId, tmp814_hand, combinations, config);
35699
+ var tmp814_$this = this.u4s_1;
35700
+ var tmp815_playerId = item_1.playerId;
35701
+ var tmp816_hand = item_1.z36_1;
35702
+ var tmp_1 = tmp814_$this.i4u(tmp815_playerId, tmp816_hand, combinations, config);
35685
35703
  // Inline function 'kotlin.collections.filterNot' call
35686
35704
  // Inline function 'kotlin.collections.filterNotTo' call
35687
35705
  var this_4 = item_1.a37_1.p38_1;
@@ -35725,23 +35743,23 @@
35725
35743
  var tmp$ret$21 = tmp;
35726
35744
  destination_4.e(tmp$ret$21);
35727
35745
  }
35728
- return state.a4l(table.copy(VOID, VOID, VOID, VOID, destination_4, VOID, VOID, VOID, VOID, VOID, this.u4s_1.u4u(action.m4n_1, table.gameHistory)));
35746
+ return state.a4l(table.copy(VOID, VOID, VOID, VOID, destination_4, VOID, VOID, VOID, VOID, VOID, this.v4s_1.v4u(action.m4n_1, table.gameHistory)));
35729
35747
  };
35730
- protoOf(CombinationsMechanicReducer).e4t = function (state, action) {
35748
+ protoOf(CombinationsMechanicReducer).f4t = function (state, action) {
35731
35749
  var table = state.e33();
35732
35750
  var playerWithCombination = getPlayer(table.players, action.i4n_1);
35733
- var tmp815_state = action.j4n_1 ? CombinationState_ACCEPTED_getInstance() : CombinationState_NOT_ACCEPTED_getInstance();
35734
- var tmp816_players = table.players;
35735
- var tmp817_combinations = action.k4n_1;
35736
- var tmp818_config = table.config;
35737
- var newPoints = playerWithCombination.a37_1.l3a(VOID, rebuildPlayerCombinationsWithNewState$default(this, tmp815_state, tmp817_combinations, playerWithCombination, tmp816_players, tmp818_config));
35751
+ var tmp817_state = action.j4n_1 ? CombinationState_ACCEPTED_getInstance() : CombinationState_NOT_ACCEPTED_getInstance();
35752
+ var tmp818_players = table.players;
35753
+ var tmp819_combinations = action.k4n_1;
35754
+ var tmp820_config = table.config;
35755
+ var newPoints = playerWithCombination.a37_1.l3a(VOID, rebuildPlayerCombinationsWithNewState$default(this, tmp817_state, tmp819_combinations, playerWithCombination, tmp818_players, tmp820_config));
35738
35756
  var announcedCombination = getCombination(newPoints.p38_1, single(action.k4n_1).z3h_1);
35739
35757
  if (announcedCombination.k3b_1.equals(CombinationState_ACCEPTED_getInstance())) {
35740
35758
  switch (announcedCombination.j3b_1.n2_1) {
35741
35759
  case 4:
35742
35760
  var trumpSevenCard = single(announcedCombination.m47());
35743
35761
  var trumpCard = table.requireCardDeck.y46_1;
35744
- var tmp821_cardDeck = table.requireCardDeck.k47(VOID, trumpSevenCard);
35762
+ var tmp823_cardDeck = table.requireCardDeck.k47(VOID, trumpSevenCard);
35745
35763
  // Inline function 'kotlin.let' call
35746
35764
 
35747
35765
  // Inline function 'kotlin.contracts.contract' call
@@ -35749,13 +35767,13 @@
35749
35767
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.logic.CombinationsMechanicReducer.onCombinationChoice.<anonymous>' call
35750
35768
 
35751
35769
  var cards = playerWithCombination.x36_1;
35752
- var newCards = this.s4s_1.z2m(cards, trumpSevenCard);
35753
- var tmp820_cards = this.s4s_1.a2n(newCards, trumpCard);
35754
- var tmp822_players = updateItem(table.players, playerWithCombination.s37(VOID, VOID, tmp820_cards, VOID, VOID, newPoints), get_byIdPlayerPredicate()(playerWithCombination.playerId));
35755
- var tmp823_gameHistory = this.u4s_1.v4u(playerWithCombination.playerId, listOf_0(announcedCombination.j3b_1), table.gameHistory);
35756
- return state.a4l(table.copy(VOID, VOID, VOID, VOID, tmp822_players, VOID, VOID, VOID, tmp821_cardDeck, VOID, tmp823_gameHistory));
35770
+ var newCards = this.t4s_1.z2m(cards, trumpSevenCard);
35771
+ var tmp822_cards = this.t4s_1.a2n(newCards, trumpCard);
35772
+ var tmp824_players = updateItem(table.players, playerWithCombination.s37(VOID, VOID, tmp822_cards, VOID, VOID, newPoints), get_byIdPlayerPredicate()(playerWithCombination.playerId));
35773
+ var tmp825_gameHistory = this.v4s_1.w4u(playerWithCombination.playerId, listOf_0(announcedCombination.j3b_1), table.gameHistory);
35774
+ return state.a4l(table.copy(VOID, VOID, VOID, VOID, tmp824_players, VOID, VOID, VOID, tmp823_cardDeck, VOID, tmp825_gameHistory));
35757
35775
  case 5:
35758
- return state.a4l(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, playerWithCombination.s37(VOID, VOID, VOID, VOID, VOID, newPoints), get_byIdPlayerPredicate()(playerWithCombination.playerId)), VOID, VOID, VOID, VOID, VOID, this.u4s_1.v4u(playerWithCombination.playerId, listOf_0(announcedCombination.j3b_1), table.gameHistory)));
35776
+ return state.a4l(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, playerWithCombination.s37(VOID, VOID, VOID, VOID, VOID, newPoints), get_byIdPlayerPredicate()(playerWithCombination.playerId)), VOID, VOID, VOID, VOID, VOID, this.v4s_1.w4u(playerWithCombination.playerId, listOf_0(announcedCombination.j3b_1), table.gameHistory)));
35759
35777
  default:
35760
35778
  throw new MechanicException("Can't support this combination " + announcedCombination.toString());
35761
35779
  }
@@ -35837,16 +35855,16 @@
35837
35855
  destination.e(tmp$ret$1);
35838
35856
  }
35839
35857
  var updatedCombinations = destination;
35840
- var tmp828_cards = $this.z4s_1.z2m(player.x36_1, card);
35841
- var tmp829_points = player.a37_1.l3a(VOID, updatedCombinations);
35842
- var tmp830_hand = updatePlayerHand($this, player, cardsOnTheTable, table.gameInfo.u46_1.y49());
35843
- return player.s37(VOID, VOID, tmp828_cards, VOID, tmp830_hand, tmp829_points);
35858
+ var tmp830_cards = $this.a4t_1.z2m(player.x36_1, card);
35859
+ var tmp831_points = player.a37_1.l3a(VOID, updatedCombinations);
35860
+ var tmp832_hand = updatePlayerHand($this, player, cardsOnTheTable, table.gameInfo.u46_1.y49());
35861
+ return player.s37(VOID, VOID, tmp830_cards, VOID, tmp832_hand, tmp831_points);
35844
35862
  }
35845
35863
  function updatePlayerWhenPickBribe($this, player, whoGotBribePlayerId, cardsOnTable, combinations) {
35846
35864
  var isGotBribe = player.playerId === whoGotBribePlayerId;
35847
35865
  var tmp = player.y36_1.j3a(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, isGotBribe);
35848
- var tmp836_$this = player.a37_1;
35849
- var tmp837_earnedCards = updateWonCards($this, player, isGotBribe, cardsOnTable);
35866
+ var tmp838_$this = player.a37_1;
35867
+ var tmp839_earnedCards = updateWonCards($this, player, isGotBribe, cardsOnTable);
35850
35868
  var tmp_0;
35851
35869
  // Inline function 'kotlin.collections.isNotEmpty' call
35852
35870
  if (!combinations.p()) {
@@ -35890,11 +35908,11 @@
35890
35908
  } else {
35891
35909
  tmp_0 = player.a37_1.p38_1;
35892
35910
  }
35893
- var tmp838_combinations = tmp_0;
35894
- return player.s37(VOID, VOID, VOID, tmp, VOID, tmp836_$this.l3a(VOID, tmp838_combinations, tmp837_earnedCards));
35911
+ var tmp840_combinations = tmp_0;
35912
+ return player.s37(VOID, VOID, VOID, tmp, VOID, tmp838_$this.l3a(VOID, tmp840_combinations, tmp839_earnedCards));
35895
35913
  }
35896
35914
  function addPlayersCombinationsWhenPickBribe($this, whoGotBribePlayerId, players, config) {
35897
- var bellaCombination = $this.y4s_1.p4f(players);
35915
+ var bellaCombination = $this.z4s_1.p4f(players);
35898
35916
  // Inline function 'kotlin.collections.associate' call
35899
35917
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(players, 10)), 16);
35900
35918
  // Inline function 'kotlin.collections.associateTo' call
@@ -35914,7 +35932,7 @@
35914
35932
  var isGotBribe = player.playerId === whoGotBribePlayerId;
35915
35933
  var isGotLastBribe = player.a2q() === 0 && isGotBribe;
35916
35934
  var hasBellaCombination = !(bellaCombination == null) && bellaCombination.j48_1 === player.playerId;
35917
- var tmp = isGotLastBribe ? $this.x4s_1.x3a(CombinationType_BONUS_LAST_BRIBE_getInstance(), CombinationState_ACCEPTED_getInstance(), Companion_instance_107.n47(CombinationType_BONUS_LAST_BRIBE_getInstance(), config)) : null;
35935
+ var tmp = isGotLastBribe ? $this.y4s_1.x3a(CombinationType_BONUS_LAST_BRIBE_getInstance(), CombinationState_ACCEPTED_getInstance(), Companion_instance_107.n47(CombinationType_BONUS_LAST_BRIBE_getInstance(), config)) : null;
35918
35936
  var tmp_0;
35919
35937
  if (hasBellaCombination) {
35920
35938
  // Inline function 'kotlin.requireNotNull' call
@@ -35933,7 +35951,7 @@
35933
35951
  }
35934
35952
  }
35935
35953
  var tmp$ret$2 = tmp$ret$1;
35936
- tmp_0 = $this.w4s_1.t4u(whoGotBribePlayerId, tmp$ret$2, players, config);
35954
+ tmp_0 = $this.x4s_1.u4u(whoGotBribePlayerId, tmp$ret$2, players, config);
35937
35955
  } else {
35938
35956
  tmp_0 = null;
35939
35957
  }
@@ -35996,22 +36014,22 @@
35996
36014
  return player.z36_1;
35997
36015
  }
35998
36016
  function EarnPointsMechanicReducer(combinationsMechanicReducer, combinationsFactory, combinationsInteractor, dealerReducer, gameHistoryReducer, logger) {
35999
- this.w4s_1 = combinationsMechanicReducer;
36000
- this.x4s_1 = combinationsFactory;
36001
- this.y4s_1 = combinationsInteractor;
36002
- this.z4s_1 = dealerReducer;
36003
- this.a4t_1 = gameHistoryReducer;
36004
- this.b4t_1 = logger;
36005
- }
36006
- protoOf(EarnPointsMechanicReducer).d4t = function (state, action) {
36017
+ this.x4s_1 = combinationsMechanicReducer;
36018
+ this.y4s_1 = combinationsFactory;
36019
+ this.z4s_1 = combinationsInteractor;
36020
+ this.a4t_1 = dealerReducer;
36021
+ this.b4t_1 = gameHistoryReducer;
36022
+ this.c4t_1 = logger;
36023
+ }
36024
+ protoOf(EarnPointsMechanicReducer).e4t = function (state, action) {
36007
36025
  var table = state.e33();
36008
36026
  var player = getPlayer(table.players, action.m4j_1);
36009
36027
  var cardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(action.m4j_1, table.cardsOnTable.m(), action.o4j_1));
36010
- var tmp825_$this = state.e33();
36011
- var tmp826_players = updateItem(table.players, onPutCardForPlayer(this, player, table, action.o4j_1, cardsOnTheTable, action.p4j_1), get_byIdPlayerPredicate()(player.playerId));
36012
- var tmp824_safe_receiver = action.p4j_1;
36028
+ var tmp827_$this = state.e33();
36029
+ var tmp828_players = updateItem(table.players, onPutCardForPlayer(this, player, table, action.o4j_1, cardsOnTheTable, action.p4j_1), get_byIdPlayerPredicate()(player.playerId));
36030
+ var tmp826_safe_receiver = action.p4j_1;
36013
36031
  var tmp;
36014
- if (tmp824_safe_receiver == null) {
36032
+ if (tmp826_safe_receiver == null) {
36015
36033
  tmp = null;
36016
36034
  } else {
36017
36035
  // Inline function 'kotlin.let' call
@@ -36020,21 +36038,21 @@
36020
36038
  var tmp_0 = player.playerId;
36021
36039
  // Inline function 'kotlin.collections.map' call
36022
36040
  // Inline function 'kotlin.collections.mapTo' call
36023
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp824_safe_receiver, 10));
36024
- var tmp0_iterator = tmp824_safe_receiver.j();
36041
+ var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp826_safe_receiver, 10));
36042
+ var tmp0_iterator = tmp826_safe_receiver.j();
36025
36043
  while (tmp0_iterator.k()) {
36026
36044
  var item = tmp0_iterator.l();
36027
36045
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.logic.EarnPointsMechanicReducer.onPutCard.<anonymous>.<anonymous>' call
36028
36046
  var tmp$ret$0 = item.a3i_1;
36029
36047
  destination.e(tmp$ret$0);
36030
36048
  }
36031
- tmp = this.a4t_1.v4u(tmp_0, destination, table.gameHistory);
36049
+ tmp = this.b4t_1.w4u(tmp_0, destination, table.gameHistory);
36032
36050
  }
36033
36051
  var tmp0_elvis_lhs = tmp;
36034
- var tmp827_gameHistory = tmp0_elvis_lhs == null ? table.gameHistory : tmp0_elvis_lhs;
36035
- return state.a4l(tmp825_$this.copy(VOID, VOID, VOID, VOID, tmp826_players, VOID, cardsOnTheTable, VOID, VOID, VOID, tmp827_gameHistory));
36052
+ var tmp829_gameHistory = tmp0_elvis_lhs == null ? table.gameHistory : tmp0_elvis_lhs;
36053
+ return state.a4l(tmp827_$this.copy(VOID, VOID, VOID, VOID, tmp828_players, VOID, cardsOnTheTable, VOID, VOID, VOID, tmp829_gameHistory));
36036
36054
  };
36037
- protoOf(EarnPointsMechanicReducer).c4t = function (state, action) {
36055
+ protoOf(EarnPointsMechanicReducer).d4t = function (state, action) {
36038
36056
  var table = state.e33();
36039
36057
  var players = table.players;
36040
36058
  var cardsOnTable = table.cardsOnTable;
@@ -36061,12 +36079,12 @@
36061
36079
  destination_0.e(tmp$ret$3);
36062
36080
  }
36063
36081
  if (!(toSet(destination_0).m() === 1)) {
36064
- this.b4t_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
36082
+ this.c4t_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
36065
36083
  }
36066
36084
  var playersCombinations = addPlayersCombinationsWhenPickBribe(this, action.q4j_1, players, config);
36067
36085
  var bribe = new Bribe(cardsOnTable);
36068
- var tmp831_bribes = plus_0(table.bribes, bribe);
36069
- var tmp832_cardsOnTable = emptyList();
36086
+ var tmp833_bribes = plus_0(table.bribes, bribe);
36087
+ var tmp834_cardsOnTable = emptyList();
36070
36088
  // Inline function 'kotlin.collections.map' call
36071
36089
  // Inline function 'kotlin.collections.mapTo' call
36072
36090
  var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players, 10));
@@ -36077,14 +36095,14 @@
36077
36095
  var tmp$ret$6 = updatePlayerWhenPickBribe(this, item_1, action.q4j_1, cardsOnTable, getValue(playersCombinations, item_1.playerId));
36078
36096
  destination_1.e(tmp$ret$6);
36079
36097
  }
36080
- var tmp834_gameInfo = table.gameInfo.d47(VOID, VOID, table.gameInfo.u46_1.b4a(VOID, action.r4j_1));
36081
- var tmp835_gameHistory = this.a4t_1.w4u(action.q4j_1, bribe, action.r4j_1, playersCombinations, table.gameHistory);
36082
- return state.a4l(table.copy(VOID, VOID, VOID, VOID, destination_1, VOID, tmp832_cardsOnTable, tmp831_bribes, VOID, tmp834_gameInfo, tmp835_gameHistory));
36098
+ var tmp836_gameInfo = table.gameInfo.d47(VOID, VOID, table.gameInfo.u46_1.b4a(VOID, action.r4j_1));
36099
+ var tmp837_gameHistory = this.b4t_1.x4u(action.q4j_1, bribe, action.r4j_1, playersCombinations, table.gameHistory);
36100
+ return state.a4l(table.copy(VOID, VOID, VOID, VOID, destination_1, VOID, tmp834_cardsOnTable, tmp833_bribes, VOID, tmp836_gameInfo, tmp837_gameHistory));
36083
36101
  };
36084
36102
  function GameHistoryReducer(pointsInteractor) {
36085
- this.n4u_1 = pointsInteractor;
36103
+ this.o4u_1 = pointsInteractor;
36086
36104
  }
36087
- protoOf(GameHistoryReducer).x4u = function (gameHistory) {
36105
+ protoOf(GameHistoryReducer).y4u = function (gameHistory) {
36088
36106
  var roundNumber = gameHistory.rounds.length;
36089
36107
  // Inline function 'kotlin.collections.plus' call
36090
36108
  var this_0 = gameHistory.rounds;
@@ -36096,7 +36114,7 @@
36096
36114
  var tmp$ret$4 = this_0.concat(tmp$ret$3);
36097
36115
  return gameHistory.copy(VOID, VOID, tmp$ret$4);
36098
36116
  };
36099
- protoOf(GameHistoryReducer).o4u = function (cardDeck, whoShuffleCardsPlayerId, playersCards, gameHistory) {
36117
+ protoOf(GameHistoryReducer).p4u = function (cardDeck, whoShuffleCardsPlayerId, playersCards, gameHistory) {
36100
36118
  var tmp = new WhoShuffleCardsItem(whoShuffleCardsPlayerId, cardDeck.y46_1, System_instance.p2i());
36101
36119
  // Inline function 'kotlin.collections.mapValues' call
36102
36120
  // Inline function 'kotlin.collections.mapValuesTo' call
@@ -36113,10 +36131,10 @@
36113
36131
  }
36114
36132
  return addItemsToCurrentRound(gameHistory, listOf([tmp, new PlayersCardsItem(destination, 0, System_instance.p2i())]));
36115
36133
  };
36116
- protoOf(GameHistoryReducer).s4u = function (playerId, suit, numberOfCircle, gameHistory) {
36134
+ protoOf(GameHistoryReducer).t4u = function (playerId, suit, numberOfCircle, gameHistory) {
36117
36135
  return addItemsToCurrentRound(gameHistory, listOf_0(new SuitSelectionItem(playerId, suit, numberOfCircle, System_instance.p2i())));
36118
36136
  };
36119
- protoOf(GameHistoryReducer).p4u = function (playersCards, gameHistory) {
36137
+ protoOf(GameHistoryReducer).q4u = function (playersCards, gameHistory) {
36120
36138
  // Inline function 'kotlin.collections.mapValues' call
36121
36139
  // Inline function 'kotlin.collections.mapValuesTo' call
36122
36140
  var destination = LinkedHashMap_init_$Create$_0(mapCapacity(playersCards.m()));
@@ -36132,10 +36150,10 @@
36132
36150
  }
36133
36151
  return addItemsToCurrentRound(gameHistory, listOf_0(new PlayersCardsItem(destination, 1, System_instance.p2i())));
36134
36152
  };
36135
- protoOf(GameHistoryReducer).v4u = function (playerId, combinations, gameHistory) {
36153
+ protoOf(GameHistoryReducer).w4u = function (playerId, combinations, gameHistory) {
36136
36154
  return addItemsToCurrentRound(gameHistory, listOf_0(new CombinationAnnounceItem(playerId, combinations, System_instance.p2i())));
36137
36155
  };
36138
- protoOf(GameHistoryReducer).w4u = function (whoGotBribePlayerId, bribe, numberOfBribe, playersCombinations, gameHistory) {
36156
+ protoOf(GameHistoryReducer).x4u = function (whoGotBribePlayerId, bribe, numberOfBribe, playersCombinations, gameHistory) {
36139
36157
  var tmp = listOf_0(new BribeItem(whoGotBribePlayerId, bribe.y3o_1, numberOfBribe, System_instance.p2i()));
36140
36158
  // Inline function 'kotlin.collections.mapNotNull' call
36141
36159
  // Inline function 'kotlin.collections.mapNotNullTo' call
@@ -36180,7 +36198,7 @@
36180
36198
  }
36181
36199
  return addItemsToCurrentRound(gameHistory, plus(tmp, destination));
36182
36200
  };
36183
- protoOf(GameHistoryReducer).u4u = function (winnerCombinations, gameHistory) {
36201
+ protoOf(GameHistoryReducer).v4u = function (winnerCombinations, gameHistory) {
36184
36202
  // Inline function 'kotlin.collections.map' call
36185
36203
  // Inline function 'kotlin.collections.mapTo' call
36186
36204
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(winnerCombinations, 10));
@@ -36188,18 +36206,18 @@
36188
36206
  while (tmp0_iterator.k()) {
36189
36207
  var item = tmp0_iterator.l();
36190
36208
  // Inline function 'com.debertz.logic.redux.reducers.sclices.table.GameHistoryReducer.winnerCombinationHistoryReducer.<anonymous>' call
36191
- var tmp840_playerId = item.k3p_1;
36192
- var tmp841_combinations = item.l3p_1;
36193
- var tmp842_reason = item.j3p_1;
36194
- var tmp843_createdAt = System_instance.p2i();
36195
- var tmp$ret$0 = new WinnerCombinationsItem(tmp840_playerId, tmp842_reason, tmp841_combinations, tmp843_createdAt);
36209
+ var tmp842_playerId = item.k3p_1;
36210
+ var tmp843_combinations = item.l3p_1;
36211
+ var tmp844_reason = item.j3p_1;
36212
+ var tmp845_createdAt = System_instance.p2i();
36213
+ var tmp$ret$0 = new WinnerCombinationsItem(tmp842_playerId, tmp844_reason, tmp843_combinations, tmp845_createdAt);
36196
36214
  destination.e(tmp$ret$0);
36197
36215
  }
36198
36216
  return addItemsToCurrentRound(gameHistory, destination);
36199
36217
  };
36200
- protoOf(GameHistoryReducer).q4u = function (points, gameHistory) {
36218
+ protoOf(GameHistoryReducer).r4u = function (points, gameHistory) {
36201
36219
  var currentRoundHistory = last_0(gameHistory.rounds);
36202
- return gameHistory.copy(VOID, VOID, updateLastItem(gameHistory.rounds, currentRoundHistory.copy(VOID, plus_1(currentRoundHistory.items, listOf_0(new PointsItem(this.n4u_1.p4i(points), System_instance.p2i()))))));
36220
+ return gameHistory.copy(VOID, VOID, updateLastItem(gameHistory.rounds, currentRoundHistory.copy(VOID, plus_1(currentRoundHistory.items, listOf_0(new PointsItem(this.o4u_1.p4i(points), System_instance.p2i()))))));
36203
36221
  };
36204
36222
  function addItemsToCurrentRound(_this__u8e3s4, items) {
36205
36223
  var roundHistory = last_0(_this__u8e3s4.rounds);
@@ -36230,23 +36248,23 @@
36230
36248
  tmp = cardDeck;
36231
36249
  }
36232
36250
  var newCardDeck = tmp;
36233
- return new PreviousRound(bribes, newCardDeck, $this.b4v_1.q4i(players, config));
36251
+ return new PreviousRound(bribes, newCardDeck, $this.c4v_1.q4i(players, config));
36234
36252
  }
36235
36253
  function roundFinishedGameInfoReducer($this, table) {
36236
36254
  var gameInfo = table.gameInfo;
36237
36255
  var tmp = roundFinishedRoundReducer($this, gameInfo.u46_1);
36238
36256
  var tmp_0 = gameInfo.v46_1 + 1 | 0;
36239
- var tmp854_players = table.players;
36240
- var tmp855_config = table.config;
36241
- var tmp856_cardDeck = table.requireCardDeck;
36242
- var tmp857_bribes = table.bribes;
36243
- return gameInfo.d47(VOID, VOID, tmp, tmp_0, roundFinishedPreviousRound($this, tmp854_players, tmp856_cardDeck, tmp857_bribes, tmp855_config));
36257
+ var tmp856_players = table.players;
36258
+ var tmp857_config = table.config;
36259
+ var tmp858_cardDeck = table.requireCardDeck;
36260
+ var tmp859_bribes = table.bribes;
36261
+ return gameInfo.d47(VOID, VOID, tmp, tmp_0, roundFinishedPreviousRound($this, tmp856_players, tmp858_cardDeck, tmp859_bribes, tmp857_config));
36244
36262
  }
36245
36263
  function gameFinishedGameInfoReducer($this, gameInfo) {
36246
- var tmp858_gameNumber = gameInfo.t46_1 + 1 | 0;
36247
- var tmp859_roundNumberTotal = gameInfo.v46_1 + 1 | 0;
36248
- var tmp860_round = gameFinishedRoundReducer($this, gameInfo.u46_1);
36249
- return gameInfo.d47(VOID, tmp858_gameNumber, tmp860_round, tmp859_roundNumberTotal, null);
36264
+ var tmp860_gameNumber = gameInfo.t46_1 + 1 | 0;
36265
+ var tmp861_roundNumberTotal = gameInfo.v46_1 + 1 | 0;
36266
+ var tmp862_round = gameFinishedRoundReducer($this, gameInfo.u46_1);
36267
+ return gameInfo.d47(VOID, tmp860_gameNumber, tmp862_round, tmp861_roundNumberTotal, null);
36250
36268
  }
36251
36269
  function roundFinishedRoundReducer($this, round) {
36252
36270
  return round.a4a(round.s3t_1 + 1 | 0, null, null);
@@ -36255,28 +36273,28 @@
36255
36273
  return round.a4a(0, null, null);
36256
36274
  }
36257
36275
  function roundFinishedPlayerReducer($this, player) {
36258
- var tmp861_options = roundFinishedPlayerOptionReducer($this, player.y36_1);
36259
- var tmp862_points = roundFinishedPlayerReducer_0($this, player.a37_1);
36260
- var tmp863_state = Companion_instance_0.t2r(player.w36_1);
36261
- var tmp864_hand = Companion_instance_12.s39(player.z36_1);
36262
- var tmp865_cards = emptyList();
36263
- return player.s37(VOID, tmp863_state, tmp865_cards, tmp861_options, tmp864_hand, tmp862_points);
36276
+ var tmp863_options = roundFinishedPlayerOptionReducer($this, player.y36_1);
36277
+ var tmp864_points = roundFinishedPlayerReducer_0($this, player.a37_1);
36278
+ var tmp865_state = Companion_instance_0.t2r(player.w36_1);
36279
+ var tmp866_hand = Companion_instance_12.s39(player.z36_1);
36280
+ var tmp867_cards = emptyList();
36281
+ return player.s37(VOID, tmp865_state, tmp867_cards, tmp863_options, tmp866_hand, tmp864_points);
36264
36282
  }
36265
36283
  function gameFinishedPlayerReducer($this, player) {
36266
- var tmp866_options = gameFinishedPlayerOptionReducer($this, player.y36_1);
36267
- var tmp867_points = gameFinishedPlayerReducer_0($this, player.a37_1);
36268
- var tmp868_state = Companion_instance_0.t2r(player.w36_1);
36269
- var tmp869_hand = Companion_instance_12.t39(player.z36_1);
36270
- var tmp870_cards = emptyList();
36271
- return player.s37(VOID, tmp868_state, tmp870_cards, tmp866_options, tmp869_hand, tmp867_points);
36284
+ var tmp868_options = gameFinishedPlayerOptionReducer($this, player.y36_1);
36285
+ var tmp869_points = gameFinishedPlayerReducer_0($this, player.a37_1);
36286
+ var tmp870_state = Companion_instance_0.t2r(player.w36_1);
36287
+ var tmp871_hand = Companion_instance_12.t39(player.z36_1);
36288
+ var tmp872_cards = emptyList();
36289
+ return player.s37(VOID, tmp870_state, tmp872_cards, tmp868_options, tmp871_hand, tmp869_points);
36272
36290
  }
36273
36291
  function roundFinishedPlayerOptionReducer($this, options) {
36274
- var tmp871_numberOfCircle = RoundNumber_CIRCLE_NOT_STARTED_getInstance();
36275
- return options.j3a(VOID, VOID, false, VOID, VOID, VOID, VOID, VOID, 15, VOID, tmp871_numberOfCircle, false);
36292
+ var tmp873_numberOfCircle = RoundNumber_CIRCLE_NOT_STARTED_getInstance();
36293
+ return options.j3a(VOID, VOID, false, VOID, VOID, VOID, VOID, VOID, 15, VOID, tmp873_numberOfCircle, false);
36276
36294
  }
36277
36295
  function gameFinishedPlayerOptionReducer($this, options) {
36278
- var tmp873_numberOfCircle = RoundNumber_CIRCLE_NOT_STARTED_getInstance();
36279
- return options.j3a(VOID, VOID, false, false, false, VOID, false, 0, 15, VOID, tmp873_numberOfCircle, false, false);
36296
+ var tmp875_numberOfCircle = RoundNumber_CIRCLE_NOT_STARTED_getInstance();
36297
+ return options.j3a(VOID, VOID, false, false, false, VOID, false, 0, 15, VOID, tmp875_numberOfCircle, false, false);
36280
36298
  }
36281
36299
  function roundFinishedPlayerReducer_0($this, points) {
36282
36300
  return points.l3a(VOID, filterByCombinationState(points.p38_1, [CombinationState_VERIFYING_getInstance()]), emptyList());
@@ -36285,10 +36303,10 @@
36285
36303
  return points.k3a(0, emptyList(), emptyList());
36286
36304
  }
36287
36305
  function TableLifecycleReducerImpl(pointsInteractor, historyReducer) {
36288
- this.b4v_1 = pointsInteractor;
36289
- this.c4v_1 = historyReducer;
36306
+ this.c4v_1 = pointsInteractor;
36307
+ this.d4v_1 = historyReducer;
36290
36308
  }
36291
- protoOf(TableLifecycleReducerImpl).y4u = function (tableId, gameId, config, version, users, gameCreatorPlayerId, playerStateReducer) {
36309
+ protoOf(TableLifecycleReducerImpl).z4u = function (tableId, gameId, config, version, users, gameCreatorPlayerId, playerStateReducer) {
36292
36310
  var tmp = Companion_instance_104;
36293
36311
  // Inline function 'kotlin.collections.mapIndexed' call
36294
36312
  // Inline function 'kotlin.collections.mapIndexedTo' call
@@ -36301,17 +36319,17 @@
36301
36319
  var tmp1 = index;
36302
36320
  index = tmp1 + 1 | 0;
36303
36321
  var index_0 = checkIndexOverflow(tmp1);
36304
- var tmp845_state = playerStateReducer(item);
36305
- var tmp846_isGameCreator = gameCreatorPlayerId === item.q2p_1;
36322
+ var tmp847_state = playerStateReducer(item);
36323
+ var tmp848_isGameCreator = gameCreatorPlayerId === item.q2p_1;
36306
36324
  var tmp_0 = Companion_instance_11;
36307
36325
  var tmp0_elvis_lhs = item.initialLuckyFactor;
36308
- var tmp847_hand = new PlayerHand(VOID, listOf_0(tmp_0.j39(tmp0_elvis_lhs == null ? 5.0 : tmp0_elvis_lhs, 0.0)));
36309
- var tmp$ret$0 = Companion_instance_10.u36(item, index_0, tmp846_isGameCreator, VOID, tmp845_state, tmp847_hand);
36326
+ var tmp849_hand = new PlayerHand(VOID, listOf_0(tmp_0.j39(tmp0_elvis_lhs == null ? 5.0 : tmp0_elvis_lhs, 0.0)));
36327
+ var tmp$ret$0 = Companion_instance_10.u36(item, index_0, tmp848_isGameCreator, VOID, tmp847_state, tmp849_hand);
36310
36328
  destination.e(tmp$ret$0);
36311
36329
  }
36312
36330
  return tmp.initial(tableId, gameId, version, config, destination);
36313
36331
  };
36314
- protoOf(TableLifecycleReducerImpl).a4u = function (table) {
36332
+ protoOf(TableLifecycleReducerImpl).b4u = function (table) {
36315
36333
  // Inline function 'kotlin.collections.map' call
36316
36334
  var this_0 = table.players;
36317
36335
  // Inline function 'kotlin.collections.mapTo' call
@@ -36325,8 +36343,8 @@
36325
36343
  }
36326
36344
  return table.copy(VOID, VOID, VOID, VOID, destination);
36327
36345
  };
36328
- protoOf(TableLifecycleReducerImpl).b4u = function (table) {
36329
- var tmp848_sceneInfo = new SceneInfo('WAITING');
36346
+ protoOf(TableLifecycleReducerImpl).c4u = function (table) {
36347
+ var tmp850_sceneInfo = new SceneInfo('WAITING');
36330
36348
  // Inline function 'kotlin.collections.map' call
36331
36349
  var this_0 = table.players;
36332
36350
  // Inline function 'kotlin.collections.mapTo' call
@@ -36338,13 +36356,13 @@
36338
36356
  var tmp$ret$0 = roundFinishedPlayerReducer(this, item);
36339
36357
  destination.e(tmp$ret$0);
36340
36358
  }
36341
- var tmp850_cardsOnTable = emptyList();
36342
- var tmp851_bribes = emptyList();
36343
- var tmp852_gameInfo = roundFinishedGameInfoReducer(this, table);
36344
- var tmp853_gameHistory = this.c4v_1.x4u(table.gameHistory);
36345
- return table.copy(VOID, VOID, VOID, VOID, destination, tmp848_sceneInfo, tmp850_cardsOnTable, tmp851_bribes, null, tmp852_gameInfo, tmp853_gameHistory);
36359
+ var tmp852_cardsOnTable = emptyList();
36360
+ var tmp853_bribes = emptyList();
36361
+ var tmp854_gameInfo = roundFinishedGameInfoReducer(this, table);
36362
+ var tmp855_gameHistory = this.d4v_1.y4u(table.gameHistory);
36363
+ return table.copy(VOID, VOID, VOID, VOID, destination, tmp850_sceneInfo, tmp852_cardsOnTable, tmp853_bribes, null, tmp854_gameInfo, tmp855_gameHistory);
36346
36364
  };
36347
- protoOf(TableLifecycleReducerImpl).r4u = function (table) {
36365
+ protoOf(TableLifecycleReducerImpl).s4u = function (table) {
36348
36366
  // Inline function 'kotlin.collections.map' call
36349
36367
  var this_0 = table.players;
36350
36368
  // Inline function 'kotlin.collections.mapTo' call
@@ -36356,9 +36374,9 @@
36356
36374
  var tmp$ret$0 = roundFinishedPlayerReducer(this, item);
36357
36375
  destination.e(tmp$ret$0);
36358
36376
  }
36359
- return table.copy(VOID, VOID, VOID, VOID, destination, VOID, emptyList(), emptyList(), null, roundFinishedGameInfoReducer(this, table), this.c4v_1.x4u(table.gameHistory));
36377
+ return table.copy(VOID, VOID, VOID, VOID, destination, VOID, emptyList(), emptyList(), null, roundFinishedGameInfoReducer(this, table), this.d4v_1.y4u(table.gameHistory));
36360
36378
  };
36361
- protoOf(TableLifecycleReducerImpl).a4v = function (table, newGameId) {
36379
+ protoOf(TableLifecycleReducerImpl).b4v = function (table, newGameId) {
36362
36380
  // Inline function 'kotlin.collections.map' call
36363
36381
  var this_0 = table.players;
36364
36382
  // Inline function 'kotlin.collections.mapTo' call
@@ -36376,10 +36394,10 @@
36376
36394
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
36377
36395
  return new _no_name_provided__qut3iv_26(playerTurnInteractor, playerTurnMechanicReducer);
36378
36396
  }
36379
- function resetPlayerTurnReducer(playerTurnInteractor, playerTurnMechanicReducer, logger, isEnableForPlayer) {
36397
+ function resetPlayerTurnWhenAnswerFromActionReducer(playerTurnInteractor, playerTurnMechanicReducer, logger, isEnableForPlayer) {
36380
36398
  var tmp;
36381
36399
  if (isEnableForPlayer === VOID) {
36382
- tmp = resetPlayerTurnReducer$lambda;
36400
+ tmp = resetPlayerTurnWhenAnswerFromActionReducer$lambda;
36383
36401
  } else {
36384
36402
  tmp = isEnableForPlayer;
36385
36403
  }
@@ -36388,19 +36406,19 @@
36388
36406
  return new _no_name_provided__qut3iv_27(isEnableForPlayer, playerTurnInteractor, logger, playerTurnMechanicReducer);
36389
36407
  }
36390
36408
  function _no_name_provided__qut3iv_26($playerTurnInteractor, $playerTurnMechanicReducer) {
36391
- this.d4v_1 = $playerTurnInteractor;
36392
- this.e4v_1 = $playerTurnMechanicReducer;
36409
+ this.e4v_1 = $playerTurnInteractor;
36410
+ this.f4v_1 = $playerTurnMechanicReducer;
36393
36411
  }
36394
36412
  protoOf(_no_name_provided__qut3iv_26).t2x = function (action) {
36395
36413
  return isInterface(action, NextPlayerTurnAction);
36396
36414
  };
36397
- protoOf(_no_name_provided__qut3iv_26).e4s = function (state, action) {
36415
+ protoOf(_no_name_provided__qut3iv_26).f4s = function (state, action) {
36398
36416
  var tmp$ret$0;
36399
36417
  $l$block: {
36400
36418
  // Inline function 'com.debertz.logic.redux.reducers.turn.setPlayerTurnReducer.<anonymous>' call
36401
36419
  var action_0 = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
36402
36420
  var table = state.e33();
36403
- var tmp0_elvis_lhs = this.d4v_1.t4i(action_0, table.players, table.gameInfo.u46_1);
36421
+ var tmp0_elvis_lhs = this.e4v_1.t4i(action_0, table.players, table.gameInfo.u46_1);
36404
36422
  var tmp;
36405
36423
  if (tmp0_elvis_lhs == null) {
36406
36424
  tmp$ret$0 = state;
@@ -36409,50 +36427,50 @@
36409
36427
  tmp = tmp0_elvis_lhs;
36410
36428
  }
36411
36429
  var turnModel = tmp;
36412
- tmp$ret$0 = state.a4l(this.e4v_1.k4u(table, turnModel));
36430
+ tmp$ret$0 = state.a4l(this.f4v_1.l4u(table, turnModel));
36413
36431
  }
36414
36432
  return tmp$ret$0;
36415
36433
  };
36416
36434
  protoOf(_no_name_provided__qut3iv_26).w2z = function (state, action) {
36417
- return this.e4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
36435
+ return this.f4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
36418
36436
  };
36419
- function resetPlayerTurnReducer$lambda(it) {
36437
+ function resetPlayerTurnWhenAnswerFromActionReducer$lambda(it) {
36420
36438
  return true;
36421
36439
  }
36422
36440
  function _no_name_provided__qut3iv_27($isEnableForPlayer, $playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
36423
- this.f4v_1 = $isEnableForPlayer;
36424
- this.g4v_1 = $playerTurnInteractor;
36425
- this.h4v_1 = $logger;
36426
- this.i4v_1 = $playerTurnMechanicReducer;
36441
+ this.g4v_1 = $isEnableForPlayer;
36442
+ this.h4v_1 = $playerTurnInteractor;
36443
+ this.i4v_1 = $logger;
36444
+ this.j4v_1 = $playerTurnMechanicReducer;
36427
36445
  }
36428
36446
  protoOf(_no_name_provided__qut3iv_27).t2x = function (action) {
36429
36447
  return isInterface(action, PlayerAnswerFromClientAction);
36430
36448
  };
36431
- protoOf(_no_name_provided__qut3iv_27).e4s = function (state, action) {
36449
+ protoOf(_no_name_provided__qut3iv_27).f4s = function (state, action) {
36432
36450
  var tmp$ret$0;
36433
36451
  $l$block: {
36434
- // Inline function 'com.debertz.logic.redux.reducers.turn.resetPlayerTurnReducer.<anonymous>' call
36452
+ // Inline function 'com.debertz.logic.redux.reducers.turn.resetPlayerTurnWhenAnswerFromActionReducer.<anonymous>' call
36435
36453
  var action_0 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
36436
36454
  var table = state.e33();
36437
36455
  var player = getPlayer(table.players, action_0.playerId);
36438
- if (!this.f4v_1(player)) {
36456
+ if (!this.g4v_1(player)) {
36439
36457
  tmp$ret$0 = state;
36440
36458
  break $l$block;
36441
36459
  }
36442
- var turnModel = this.g4v_1.u4i(player, action_0);
36460
+ var turnModel = this.h4v_1.u4i(player, action_0);
36443
36461
  var tmp;
36444
36462
  if (turnModel == null) {
36445
- this.h4v_1.w(VOID, 'TAG is null, action: ' + toString(action_0) + ', playerId: ' + player.playerId);
36463
+ this.i4v_1.w(VOID, 'TAG is null, action: ' + toString(action_0) + ', playerId: ' + player.playerId);
36446
36464
  tmp = state;
36447
36465
  } else {
36448
- tmp = state.a4l(this.i4v_1.l4u(table, turnModel));
36466
+ tmp = state.a4l(this.j4v_1.m4u(table, turnModel));
36449
36467
  }
36450
36468
  tmp$ret$0 = tmp;
36451
36469
  }
36452
36470
  return tmp$ret$0;
36453
36471
  };
36454
36472
  protoOf(_no_name_provided__qut3iv_27).w2z = function (state, action) {
36455
- return this.e4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
36473
+ return this.f4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
36456
36474
  };
36457
36475
  function get_isCreated_0(_this__u8e3s4) {
36458
36476
  return get_isCreated(_this__u8e3s4.v32_1);
@@ -36462,7 +36480,7 @@
36462
36480
  }
36463
36481
  function Companion_120() {
36464
36482
  }
36465
- protoOf(Companion_120).j4v = function (payload) {
36483
+ protoOf(Companion_120).k4v = function (payload) {
36466
36484
  var tmp;
36467
36485
  if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
36468
36486
  tmp = toLoggerPayload_0(payload);
@@ -36475,7 +36493,7 @@
36475
36493
  while (tmp0_iterator.k()) {
36476
36494
  var element = tmp0_iterator.l();
36477
36495
  // Inline function 'com.debertz.logic.utils.logger.Companion.mapPayloadToLoggerPayload.<anonymous>' call
36478
- var result = Companion_instance_124.j4v(element);
36496
+ var result = Companion_instance_124.k4v(element);
36479
36497
  if (!(result == null)) {
36480
36498
  tmp$ret$1 = result;
36481
36499
  break $l$block;
@@ -36513,21 +36531,21 @@
36513
36531
  tmp = payloadMapper;
36514
36532
  }
36515
36533
  payloadMapper = tmp;
36516
- this.k4v_1 = logger;
36517
- this.l4v_1 = payloadMapper;
36534
+ this.l4v_1 = logger;
36535
+ this.m4v_1 = payloadMapper;
36518
36536
  }
36519
36537
  protoOf(CallbackWrapperLoggerOutput).e2n = function (tag, message, payload) {
36520
- this.k4v_1.d(tag, message, this.l4v_1(payload));
36538
+ this.l4v_1.d(tag, message, this.m4v_1(payload));
36521
36539
  };
36522
36540
  protoOf(CallbackWrapperLoggerOutput).f2n = function (tag, message, exception, payload) {
36523
- this.k4v_1.e(tag, message, exception, this.l4v_1(payload));
36541
+ this.l4v_1.e(tag, message, exception, this.m4v_1(payload));
36524
36542
  };
36525
36543
  protoOf(CallbackWrapperLoggerOutput).g2n = function (tag, message, exception, payload) {
36526
- this.k4v_1.w(tag, message, exception, this.l4v_1(payload));
36544
+ this.l4v_1.w(tag, message, exception, this.m4v_1(payload));
36527
36545
  };
36528
36546
  function FileLoggerOutputImpl$observe$o$collect$slambda($$this$unsafeFlow, $types, resultContinuation) {
36529
- this.u4v_1 = $$this$unsafeFlow;
36530
- this.v4v_1 = $types;
36547
+ this.v4v_1 = $$this$unsafeFlow;
36548
+ this.w4v_1 = $types;
36531
36549
  CoroutineImpl.call(this, resultContinuation);
36532
36550
  }
36533
36551
  protoOf(FileLoggerOutputImpl$observe$o$collect$slambda).k30 = function (value, $completion) {
@@ -36551,13 +36569,13 @@
36551
36569
  continue $sm;
36552
36570
  case 1:
36553
36571
  var tmp_0 = this;
36554
- tmp_0.y4v_1 = this.u4v_1;
36572
+ tmp_0.z4v_1 = this.v4v_1;
36555
36573
  var tmp_1 = this;
36556
- tmp_1.z4v_1 = this.w4v_1;
36557
- var it = this.z4v_1;
36558
- if (contains(this.v4v_1, it.type)) {
36574
+ tmp_1.a4w_1 = this.x4v_1;
36575
+ var it = this.a4w_1;
36576
+ if (contains(this.w4v_1, it.type)) {
36559
36577
  this.v8_1 = 3;
36560
- suspendResult = this.y4v_1.e11(this.z4v_1, this);
36578
+ suspendResult = this.z4v_1.e11(this.a4w_1, this);
36561
36579
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
36562
36580
  return suspendResult;
36563
36581
  }
@@ -36576,7 +36594,7 @@
36576
36594
  this.v8_1 = 4;
36577
36595
  continue $sm;
36578
36596
  case 3:
36579
- this.x4v_1 = suspendResult;
36597
+ this.y4v_1 = suspendResult;
36580
36598
  this.v8_1 = 4;
36581
36599
  continue $sm;
36582
36600
  case 4:
@@ -36596,8 +36614,8 @@
36596
36614
  while (true);
36597
36615
  };
36598
36616
  protoOf(FileLoggerOutputImpl$observe$o$collect$slambda).l30 = function (value, completion) {
36599
- var i = new FileLoggerOutputImpl$observe$o$collect$slambda(this.u4v_1, this.v4v_1, completion);
36600
- i.w4v_1 = value;
36617
+ var i = new FileLoggerOutputImpl$observe$o$collect$slambda(this.v4v_1, this.w4v_1, completion);
36618
+ i.x4v_1 = value;
36601
36619
  return i;
36602
36620
  };
36603
36621
  function FileLoggerOutputImpl$observe$o$collect$slambda_0($$this$unsafeFlow, $types, resultContinuation) {
@@ -36610,8 +36628,8 @@
36610
36628
  }
36611
36629
  function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
36612
36630
  CoroutineImpl.call(this, resultContinuation);
36613
- this.i4w_1 = _this__u8e3s4;
36614
- this.j4w_1 = collector;
36631
+ this.j4w_1 = _this__u8e3s4;
36632
+ this.k4w_1 = collector;
36615
36633
  }
36616
36634
  protoOf($collectCOROUTINE$0).d9 = function () {
36617
36635
  var suspendResult = this.x8_1;
@@ -36622,10 +36640,10 @@
36622
36640
  case 0:
36623
36641
  this.w8_1 = 2;
36624
36642
  var tmp_0 = this;
36625
- tmp_0.k4w_1 = this.j4w_1;
36643
+ tmp_0.l4w_1 = this.k4w_1;
36626
36644
  this.v8_1 = 1;
36627
- var tmp_1 = FileLoggerOutputImpl$observe$o$collect$slambda_0(this.k4w_1, this.i4w_1.m4w_1, null);
36628
- suspendResult = this.i4w_1.l4w_1.o10(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
36645
+ var tmp_1 = FileLoggerOutputImpl$observe$o$collect$slambda_0(this.l4w_1, this.j4w_1.n4w_1, null);
36646
+ suspendResult = this.j4w_1.m4w_1.o10(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
36629
36647
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
36630
36648
  return suspendResult;
36631
36649
  }
@@ -36649,9 +36667,9 @@
36649
36667
  };
36650
36668
  function log($this, type, tag, message, payload, stackTrace) {
36651
36669
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
36652
- $this.p4w_1;
36670
+ $this.q4w_1;
36653
36671
  // Inline function 'com.debertz.logic.utils.logger.FileLoggerOutputImpl.log.<anonymous>' call
36654
- var tmp0_elvis_lhs = $this.n4w_1(payload);
36672
+ var tmp0_elvis_lhs = $this.o4w_1(payload);
36655
36673
  var tmp;
36656
36674
  if (tmp0_elvis_lhs == null) {
36657
36675
  return Unit_instance;
@@ -36660,7 +36678,7 @@
36660
36678
  }
36661
36679
  var key = tmp;
36662
36680
  // Inline function 'kotlin.collections.getOrPut' call
36663
- var this_0 = $this.q4w_1;
36681
+ var this_0 = $this.r4w_1;
36664
36682
  var value = this_0.h2(key);
36665
36683
  var tmp_0;
36666
36684
  if (value == null) {
@@ -36672,7 +36690,7 @@
36672
36690
  tmp_0 = value;
36673
36691
  }
36674
36692
  var logger = tmp_0;
36675
- logger.r4w_1.x12(new LoggerOutputDataDto(type, tag, message, stackTrace));
36693
+ logger.s4w_1.x12(new LoggerOutputDataDto(type, tag, message, stackTrace));
36676
36694
  }
36677
36695
  function log$default($this, type, tag, message, payload, stackTrace, $super) {
36678
36696
  stackTrace = stackTrace === VOID ? null : stackTrace;
@@ -36682,35 +36700,35 @@
36682
36700
  flow = flow === VOID ? MutableSharedFlow(10, 100, BufferOverflow_DROP_OLDEST_getInstance()) : flow;
36683
36701
  controller = controller === VOID ? null : controller;
36684
36702
  job = job === VOID ? null : job;
36685
- this.r4w_1 = flow;
36686
- this.s4w_1 = controller;
36687
- this.t4w_1 = job;
36688
- }
36689
- protoOf(LoggerModel).u4w = function () {
36690
- this.r4w_1.b13();
36691
- var tmp890_safe_receiver = this.t4w_1;
36692
- if (tmp890_safe_receiver == null)
36703
+ this.s4w_1 = flow;
36704
+ this.t4w_1 = controller;
36705
+ this.u4w_1 = job;
36706
+ }
36707
+ protoOf(LoggerModel).v4w = function () {
36708
+ this.s4w_1.b13();
36709
+ var tmp892_safe_receiver = this.u4w_1;
36710
+ if (tmp892_safe_receiver == null)
36693
36711
  null;
36694
36712
  else {
36695
- tmp890_safe_receiver.tm();
36713
+ tmp892_safe_receiver.tm();
36696
36714
  }
36697
36715
  };
36698
- protoOf(LoggerModel).v4w = function (flow, controller, job) {
36716
+ protoOf(LoggerModel).w4w = function (flow, controller, job) {
36699
36717
  return new LoggerModel(flow, controller, job);
36700
36718
  };
36701
- protoOf(LoggerModel).w4w = function (flow, controller, job, $super) {
36702
- flow = flow === VOID ? this.r4w_1 : flow;
36703
- controller = controller === VOID ? this.s4w_1 : controller;
36704
- job = job === VOID ? this.t4w_1 : job;
36705
- return $super === VOID ? this.v4w(flow, controller, job) : $super.v4w.call(this, flow, controller, job);
36719
+ protoOf(LoggerModel).x4w = function (flow, controller, job, $super) {
36720
+ flow = flow === VOID ? this.s4w_1 : flow;
36721
+ controller = controller === VOID ? this.t4w_1 : controller;
36722
+ job = job === VOID ? this.u4w_1 : job;
36723
+ return $super === VOID ? this.w4w(flow, controller, job) : $super.w4w.call(this, flow, controller, job);
36706
36724
  };
36707
36725
  protoOf(LoggerModel).toString = function () {
36708
- return 'LoggerModel(flow=' + toString(this.r4w_1) + ', controller=' + toString_0(this.s4w_1) + ', job=' + toString_0(this.t4w_1) + ')';
36726
+ return 'LoggerModel(flow=' + toString(this.s4w_1) + ', controller=' + toString_0(this.t4w_1) + ', job=' + toString_0(this.u4w_1) + ')';
36709
36727
  };
36710
36728
  protoOf(LoggerModel).hashCode = function () {
36711
- var result = hashCode(this.r4w_1);
36712
- result = imul(result, 31) + (this.s4w_1 == null ? 0 : hashCode(this.s4w_1)) | 0;
36729
+ var result = hashCode(this.s4w_1);
36713
36730
  result = imul(result, 31) + (this.t4w_1 == null ? 0 : hashCode(this.t4w_1)) | 0;
36731
+ result = imul(result, 31) + (this.u4w_1 == null ? 0 : hashCode(this.u4w_1)) | 0;
36714
36732
  return result;
36715
36733
  };
36716
36734
  protoOf(LoggerModel).equals = function (other) {
@@ -36719,18 +36737,18 @@
36719
36737
  if (!(other instanceof LoggerModel))
36720
36738
  return false;
36721
36739
  var tmp0_other_with_cast = other instanceof LoggerModel ? other : THROW_CCE();
36722
- if (!equals(this.r4w_1, tmp0_other_with_cast.r4w_1))
36723
- return false;
36724
36740
  if (!equals(this.s4w_1, tmp0_other_with_cast.s4w_1))
36725
36741
  return false;
36726
36742
  if (!equals(this.t4w_1, tmp0_other_with_cast.t4w_1))
36727
36743
  return false;
36744
+ if (!equals(this.u4w_1, tmp0_other_with_cast.u4w_1))
36745
+ return false;
36728
36746
  return true;
36729
36747
  };
36730
36748
  function Companion_121() {
36731
- this.x4w_1 = 1000;
36749
+ this.y4w_1 = 1000;
36732
36750
  }
36733
- protoOf(Companion_121).y4w = function (payload) {
36751
+ protoOf(Companion_121).z4w = function (payload) {
36734
36752
  var tmp;
36735
36753
  if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
36736
36754
  tmp = payload.id;
@@ -36743,7 +36761,7 @@
36743
36761
  while (tmp0_iterator.k()) {
36744
36762
  var element = tmp0_iterator.l();
36745
36763
  // Inline function 'com.debertz.logic.utils.logger.Companion.mapPayloadToGameId.<anonymous>' call
36746
- var result = Companion_instance_125.y4w(element);
36764
+ var result = Companion_instance_125.z4w(element);
36747
36765
  if (!(result == null)) {
36748
36766
  tmp$ret$1 = result;
36749
36767
  break $l$block;
@@ -36771,17 +36789,17 @@
36771
36789
  return Companion_instance_125;
36772
36790
  }
36773
36791
  function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
36774
- this.z4w_1 = function_0;
36792
+ this.a4x_1 = function_0;
36775
36793
  }
36776
36794
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).e11 = function (value, $completion) {
36777
- return this.z4w_1(value, $completion);
36795
+ return this.a4x_1(value, $completion);
36778
36796
  };
36779
36797
  function FileLoggerOutputImpl$_init_$lambda_sdog02(it) {
36780
36798
  return null;
36781
36799
  }
36782
36800
  function _no_name_provided__qut3iv_28($this, $types) {
36783
- this.l4w_1 = $this;
36784
- this.m4w_1 = $types;
36801
+ this.m4w_1 = $this;
36802
+ this.n4w_1 = $types;
36785
36803
  }
36786
36804
  protoOf(_no_name_provided__qut3iv_28).c1b = function (collector, $completion) {
36787
36805
  var tmp = new $collectCOROUTINE$0(this, collector, $completion);
@@ -36801,27 +36819,27 @@
36801
36819
  }
36802
36820
  payloadMapper = tmp;
36803
36821
  enabled = enabled === VOID ? true : enabled;
36804
- this.n4w_1 = payloadMapper;
36805
- this.o4w_1 = enabled;
36822
+ this.o4w_1 = payloadMapper;
36823
+ this.p4w_1 = enabled;
36806
36824
  var tmp_0 = this;
36807
36825
  // Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
36808
- tmp_0.p4w_1 = get_atomicfu$reentrantLock();
36826
+ tmp_0.q4w_1 = get_atomicfu$reentrantLock();
36809
36827
  var tmp_1 = this;
36810
36828
  // Inline function 'kotlin.collections.mutableMapOf' call
36811
- tmp_1.q4w_1 = LinkedHashMap_init_$Create$();
36829
+ tmp_1.r4w_1 = LinkedHashMap_init_$Create$();
36812
36830
  }
36813
36831
  protoOf(FileLoggerOutputImpl).h2n = function (_set____db54di) {
36814
- this.o4w_1 = _set____db54di;
36832
+ this.p4w_1 = _set____db54di;
36815
36833
  };
36816
36834
  protoOf(FileLoggerOutputImpl).i2n = function () {
36817
- return this.o4w_1;
36835
+ return this.p4w_1;
36818
36836
  };
36819
- protoOf(FileLoggerOutputImpl).a4x = function (key, types) {
36837
+ protoOf(FileLoggerOutputImpl).b4x = function (key, types) {
36820
36838
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
36821
- this.p4w_1;
36839
+ this.q4w_1;
36822
36840
  // Inline function 'com.debertz.logic.utils.logger.FileLoggerOutputImpl.observe.<anonymous>' call
36823
36841
  // Inline function 'kotlin.collections.getOrPut' call
36824
- var this_0 = this.q4w_1;
36842
+ var this_0 = this.r4w_1;
36825
36843
  var value = this_0.h2(key);
36826
36844
  var tmp;
36827
36845
  if (value == null) {
@@ -36835,27 +36853,27 @@
36835
36853
  var logger = tmp;
36836
36854
  // Inline function 'kotlinx.coroutines.flow.filter' call
36837
36855
  // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
36838
- var this_1 = logger.r4w_1;
36856
+ var this_1 = logger.s4w_1;
36839
36857
  // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
36840
36858
  return new _no_name_provided__qut3iv_28(this_1, types);
36841
36859
  };
36842
36860
  protoOf(FileLoggerOutputImpl).j4p = function (key) {
36843
36861
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
36844
- this.p4w_1;
36862
+ this.q4w_1;
36845
36863
  // Inline function 'com.debertz.logic.utils.logger.FileLoggerOutputImpl.destroy.<anonymous>' call
36846
- var tmp876_safe_receiver = this.q4w_1.h2(key);
36847
- if (tmp876_safe_receiver == null)
36864
+ var tmp878_safe_receiver = this.r4w_1.h2(key);
36865
+ if (tmp878_safe_receiver == null)
36848
36866
  null;
36849
36867
  else {
36850
- tmp876_safe_receiver.u4w();
36868
+ tmp878_safe_receiver.v4w();
36851
36869
  }
36852
- this.q4w_1.l2(key);
36870
+ this.r4w_1.l2(key);
36853
36871
  };
36854
36872
  protoOf(FileLoggerOutputImpl).i4p = function (key, job, controller) {
36855
36873
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
36856
- this.p4w_1;
36874
+ this.q4w_1;
36857
36875
  // Inline function 'kotlin.collections.getOrPut' call
36858
- var this_0 = this.q4w_1;
36876
+ var this_0 = this.r4w_1;
36859
36877
  var value = this_0.h2(key);
36860
36878
  var tmp;
36861
36879
  if (value == null) {
@@ -36866,39 +36884,39 @@
36866
36884
  } else {
36867
36885
  tmp = value;
36868
36886
  }
36869
- var updatedModel = tmp.w4w(VOID, controller, job);
36870
- this.q4w_1.k2(key, updatedModel);
36887
+ var updatedModel = tmp.x4w(VOID, controller, job);
36888
+ this.r4w_1.k2(key, updatedModel);
36871
36889
  };
36872
36890
  protoOf(FileLoggerOutputImpl).e2n = function (tag, message, payload) {
36873
- if (!this.o4w_1)
36891
+ if (!this.p4w_1)
36874
36892
  return Unit_instance;
36875
- var tmp877_type = LogType_DEBUG_getInstance();
36876
- log$default(this, tmp877_type, tag, message, payload);
36893
+ var tmp879_type = LogType_DEBUG_getInstance();
36894
+ log$default(this, tmp879_type, tag, message, payload);
36877
36895
  };
36878
36896
  protoOf(FileLoggerOutputImpl).f2n = function (tag, message, exception, payload) {
36879
- if (!this.o4w_1)
36897
+ if (!this.p4w_1)
36880
36898
  return Unit_instance;
36881
- var tmp881_type = LogType_ERROR_getInstance();
36899
+ var tmp883_type = LogType_ERROR_getInstance();
36882
36900
  var tmp;
36883
36901
  if (message == null) {
36884
36902
  tmp = exception == null ? null : exception.message;
36885
36903
  } else {
36886
36904
  tmp = message;
36887
36905
  }
36888
- var tmp882_message = tmp;
36889
- var tmp880_safe_receiver = exception == null ? null : stackTraceToString(exception);
36890
- var tmp883_stackTrace = tmp880_safe_receiver == null ? null : take_0(tmp880_safe_receiver, 1000);
36891
- log(this, tmp881_type, tag, tmp882_message, payload, tmp883_stackTrace);
36906
+ var tmp884_message = tmp;
36907
+ var tmp882_safe_receiver = exception == null ? null : stackTraceToString(exception);
36908
+ var tmp885_stackTrace = tmp882_safe_receiver == null ? null : take_0(tmp882_safe_receiver, 1000);
36909
+ log(this, tmp883_type, tag, tmp884_message, payload, tmp885_stackTrace);
36892
36910
  };
36893
36911
  protoOf(FileLoggerOutputImpl).g2n = function (tag, message, exception, payload) {
36894
- if (!this.o4w_1)
36912
+ if (!this.p4w_1)
36895
36913
  return Unit_instance;
36896
- var tmp887_type = LogType_WARN_getInstance();
36914
+ var tmp889_type = LogType_WARN_getInstance();
36897
36915
  var tmp0_elvis_lhs = exception == null ? null : exception.message;
36898
- var tmp888_message = '' + message + ' ' + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
36899
- var tmp886_safe_receiver = exception == null ? null : stackTraceToString(exception);
36900
- var tmp889_stackTrace = tmp886_safe_receiver == null ? null : take_0(tmp886_safe_receiver, 1000);
36901
- log(this, tmp887_type, tag, tmp888_message, payload, tmp889_stackTrace);
36916
+ var tmp890_message = '' + message + ' ' + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
36917
+ var tmp888_safe_receiver = exception == null ? null : stackTraceToString(exception);
36918
+ var tmp891_stackTrace = tmp888_safe_receiver == null ? null : take_0(tmp888_safe_receiver, 1000);
36919
+ log(this, tmp889_type, tag, tmp890_message, payload, tmp891_stackTrace);
36902
36920
  };
36903
36921
  function FileLoggerOutput() {
36904
36922
  }
@@ -36915,28 +36933,28 @@
36915
36933
  }
36916
36934
  var WARN;
36917
36935
  function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
36918
- this.b4x_1 = loggerCallback;
36936
+ this.c4x_1 = loggerCallback;
36919
36937
  }
36920
36938
  protoOf(LoggerCallbacksWrapperLoggerOutput).e2n = function (tag, message, payload) {
36921
- this.b4x_1('debug', tag, message, null, payload);
36939
+ this.c4x_1('debug', tag, message, null, payload);
36922
36940
  };
36923
36941
  protoOf(LoggerCallbacksWrapperLoggerOutput).f2n = function (tag, message, exception, payload) {
36924
- this.b4x_1('error', tag, generateMsg(message, exception), exception, payload);
36942
+ this.c4x_1('error', tag, generateMsg(message, exception), exception, payload);
36925
36943
  };
36926
36944
  protoOf(LoggerCallbacksWrapperLoggerOutput).g2n = function (tag, message, exception, payload) {
36927
- this.b4x_1('warn', tag, generateMsg(message, exception), exception, payload);
36945
+ this.c4x_1('warn', tag, generateMsg(message, exception), exception, payload);
36928
36946
  };
36929
36947
  function ParserHelper() {
36930
36948
  }
36931
36949
  function _get_encoderDecoderProvider__qqgrji($this) {
36932
36950
  // Inline function 'kotlin.getValue' call
36933
- var this_0 = $this.d4x_1;
36951
+ var this_0 = $this.e4x_1;
36934
36952
  encoderDecoderProvider$factory_0();
36935
36953
  return this_0.e2();
36936
36954
  }
36937
36955
  function _get_json__d8whur($this) {
36938
36956
  // Inline function 'kotlin.getValue' call
36939
- var this_0 = $this.e4x_1;
36957
+ var this_0 = $this.f4x_1;
36940
36958
  json$factory_0();
36941
36959
  return this_0.e2();
36942
36960
  }
@@ -36949,21 +36967,21 @@
36949
36967
  function ParserHelperImpl(serializersModules) {
36950
36968
  var tmp = this;
36951
36969
  var tmp_0 = Companion_instance_2;
36952
- tmp.c4x_1 = tmp_0.b2d(VOID, ParserHelperImpl$di$lambda(serializersModules));
36970
+ tmp.d4x_1 = tmp_0.b2d(VOID, ParserHelperImpl$di$lambda(serializersModules));
36953
36971
  var tmp_1 = this;
36954
36972
  // Inline function 'org.kodein.di.instance' call
36955
- var this_0 = this.c4x_1;
36973
+ var this_0 = this.d4x_1;
36956
36974
  // Inline function 'org.kodein.type.generic' call
36957
36975
  var tmp_2 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
36958
36976
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
36959
- tmp_1.d4x_1 = Instance(this_0, tmp$ret$0, null).n2i(this, encoderDecoderProvider$factory());
36977
+ tmp_1.e4x_1 = Instance(this_0, tmp$ret$0, null).n2i(this, encoderDecoderProvider$factory());
36960
36978
  var tmp_3 = this;
36961
36979
  // Inline function 'org.kodein.di.instance' call
36962
- var this_1 = this.c4x_1;
36980
+ var this_1 = this.d4x_1;
36963
36981
  // Inline function 'org.kodein.type.generic' call
36964
36982
  var tmp_4 = typeToken(createKType(getKClass(Json_0), arrayOf([]), false));
36965
36983
  var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
36966
- tmp_3.e4x_1 = Instance(this_1, tmp$ret$2, null).n2i(this, json$factory());
36984
+ tmp_3.f4x_1 = Instance(this_1, tmp$ret$2, null).n2i(this, json$factory());
36967
36985
  }
36968
36986
  protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
36969
36987
  return _get_encoderDecoderProvider__qqgrji(this).h4d(mapToDto_13(action));
@@ -37446,7 +37464,7 @@
37446
37464
  });
37447
37465
  protoOf(PlayerTurnTimerTag).notValidateWhenFinished = notValidateWhenFinished;
37448
37466
  protoOf(GameIsNotFinishedTimerTag).k4k = notValidateTimerReset;
37449
- protoOf(TableLifecycleReducerImpl).z4u = startTableReducer$default;
37467
+ protoOf(TableLifecycleReducerImpl).a4v = startTableReducer$default;
37450
37468
  protoOf(CallbackWrapperLoggerOutput).d = d;
37451
37469
  protoOf(CallbackWrapperLoggerOutput).e = e;
37452
37470
  protoOf(CallbackWrapperLoggerOutput).w = w;
@@ -37953,7 +37971,7 @@
37953
37971
  _.$_$.q3 = PlayerTurnMechanicReducer;
37954
37972
  _.$_$.r3 = TeamsMechanicReducer;
37955
37973
  _.$_$.s3 = TableLifecycleReducer;
37956
- _.$_$.t3 = resetPlayerTurnReducer;
37974
+ _.$_$.t3 = resetPlayerTurnWhenAnswerFromActionReducer;
37957
37975
  _.$_$.u3 = setPlayerTurnReducer;
37958
37976
  _.$_$.v3 = AppStatePayload;
37959
37977
  _.$_$.w3 = AppState;