client_plugin_logic_deb 1.8.411 → 1.8.414

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.
@@ -47,7 +47,7 @@
47
47
  var Unit_instance = kotlin_kotlin.$_$.g5;
48
48
  var protoOf = kotlin_kotlin.$_$.qd;
49
49
  var THROW_CCE = kotlin_kotlin.$_$.uh;
50
- var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d5;
50
+ var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.k5;
51
51
  var initMetadataForLambda = kotlin_kotlin.$_$.uc;
52
52
  var VOID = kotlin_kotlin.$_$.b;
53
53
  var isInterface = kotlin_kotlin.$_$.ed;
@@ -59,9 +59,9 @@
59
59
  var fromInt = kotlin_kotlin.$_$.lb;
60
60
  var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
61
61
  var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
62
- var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.p8;
62
+ var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.u8;
63
63
  var to = kotlin_kotlin.$_$.zi;
64
- var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.k8;
64
+ var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.p8;
65
65
  var defineProp = kotlin_kotlin.$_$.ic;
66
66
  var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.g;
67
67
  var KProperty1 = kotlin_kotlin.$_$.pe;
@@ -69,6 +69,10 @@
69
69
  var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
70
70
  var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
71
71
  var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c1;
72
+ var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.q;
73
+ var PlayerAchievements = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
74
+ var mapToGameAnalytics = kotlin_io_raspberryapps_game_engine_engine.$_$.e1;
75
+ var PlayerLeftResult = kotlin_io_raspberryapps_game_engine_engine.$_$.x;
72
76
  var initMetadataForCompanion = kotlin_kotlin.$_$.rc;
73
77
  var equals = kotlin_kotlin.$_$.jc;
74
78
  var FunctionAdapter = kotlin_kotlin.$_$.wb;
@@ -77,17 +81,17 @@
77
81
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r1;
78
82
  var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h1;
79
83
  var Store = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
80
- var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v4;
84
+ var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z4;
81
85
  var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.x4;
82
- var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i7;
83
- var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.r8;
84
- var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.s8;
86
+ var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p7;
87
+ var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.w8;
88
+ var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.x8;
85
89
  var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.w4;
86
90
  var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v4;
87
91
  var toList = kotlin_kotlin.$_$.s9;
88
92
  var toString = kotlin_kotlin.$_$.td;
89
- var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.sa;
90
- var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.f5;
93
+ var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.ab;
94
+ var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.g5;
91
95
  var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.u1;
92
96
  var collectionSizeOrDefault = kotlin_kotlin.$_$.k6;
93
97
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
@@ -95,26 +99,25 @@
95
99
  var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.n;
96
100
  var firstOrNull = kotlin_kotlin.$_$.k7;
97
101
  var toMutableList = kotlin_kotlin.$_$.w9;
98
- var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.q;
99
- var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.i6;
102
+ var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.j6;
100
103
  var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.o4;
101
104
  var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.b4;
102
- var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x6;
105
+ var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e7;
103
106
  var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.c2;
104
- var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e6;
105
- var get_isCreating = kotlin_io_raspberryapps_game_engine_engine.$_$.q8;
106
- var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.qa;
107
- var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g7;
108
- var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.c5;
109
- var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.l8;
110
- var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.j6;
111
- var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g6;
112
- var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h7;
107
+ var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l6;
108
+ var get_isCreating = kotlin_io_raspberryapps_game_engine_engine.$_$.v8;
109
+ var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.xa;
110
+ var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n7;
111
+ var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.d5;
112
+ var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.q8;
113
+ var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.q6;
114
+ var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n6;
115
+ var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o7;
113
116
  var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.d4;
114
- var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.h5;
117
+ var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.i5;
115
118
  var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.v1;
116
119
  var noWhenBranchMatchedException = kotlin_kotlin.$_$.si;
117
- var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.t8;
120
+ var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.y8;
118
121
  var emptyList = kotlin_kotlin.$_$.f7;
119
122
  var getKClass = kotlin_kotlin.$_$.le;
120
123
  var arrayOf = kotlin_kotlin.$_$.ii;
@@ -122,15 +125,16 @@
122
125
  var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
123
126
  var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
124
127
  var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
125
- var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
126
- var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.j4;
127
- var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
128
+ var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
129
+ var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
130
+ var UserRatingInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.n4;
128
131
  var lazy = kotlin_kotlin.$_$.ri;
129
132
  var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
130
133
  var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.g;
131
- var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
134
+ var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
135
+ var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
132
136
  var plus = kotlin_kotlin.$_$.v8;
133
- var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.v8;
137
+ var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.a9;
134
138
  var toString_0 = kotlin_kotlin.$_$.yi;
135
139
  var mapOf = kotlin_kotlin.$_$.m8;
136
140
  var Enum = kotlin_kotlin.$_$.jh;
@@ -147,27 +151,27 @@
147
151
  var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
148
152
  var objectCreate = kotlin_kotlin.$_$.pd;
149
153
  var getStringHashCode = kotlin_kotlin.$_$.oc;
150
- var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.l2;
151
- var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.p2;
154
+ var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.o2;
155
+ var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.s2;
152
156
  var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
153
- var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.n7;
157
+ var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.u7;
154
158
  var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
155
- var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.w8;
159
+ var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.b9;
156
160
  var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
157
161
  var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
158
- var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.h8;
162
+ var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.m8;
159
163
  var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
160
- var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.e8;
161
- var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.s3;
162
- var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
163
- var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
164
- var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.d8;
165
- var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.u8;
164
+ var GameLifecycleInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.k4;
165
+ var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.j8;
166
+ var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
167
+ var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
168
+ var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.i8;
169
+ var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.z8;
166
170
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
167
- var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b5;
171
+ var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f5;
168
172
  var single = kotlin_kotlin.$_$.h9;
169
173
  var copyToArray = kotlin_kotlin.$_$.a7;
170
- var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.a5;
174
+ var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.e5;
171
175
  var KtList = kotlin_kotlin.$_$.p5;
172
176
  var Long = kotlin_kotlin.$_$.oh;
173
177
  var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
@@ -175,132 +179,155 @@
175
179
  var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
176
180
  var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v;
177
181
  var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
182
+ var Companion_getInstance = kotlin_kotlin.$_$.w4;
183
+ var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
184
+ var toDuration = kotlin_kotlin.$_$.bh;
185
+ var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.z9;
186
+ var mapToFinishReason = kotlin_io_raspberryapps_game_engine_core.$_$.s;
187
+ var listOf = kotlin_kotlin.$_$.i8;
188
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
189
+ var plus_0 = kotlin_kotlin.$_$.w8;
190
+ var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x6;
191
+ var listOf_0 = kotlin_kotlin.$_$.j8;
192
+ var PlayerTurnTimerTag_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.y9;
193
+ var StopTimerAction = kotlin_io_raspberryapps_game_engine_core.$_$.x2;
194
+ var _Duration___get_inWholeMilliseconds__impl__msfiry = kotlin_kotlin.$_$.h2;
195
+ var TimerType_DELAY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l5;
196
+ var StartTimerAction = kotlin_io_raspberryapps_game_engine_core.$_$.w2;
197
+ var AskBotAction_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.x9;
198
+ var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.za;
199
+ var FinishingGameToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i5;
200
+ var FinishGameToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h5;
201
+ var MechanicException = kotlin_io_raspberryapps_game_engine_core.$_$.b;
202
+ var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.b1;
203
+ var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.w9;
204
+ var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.h3;
205
+ var PlayerReturnsReason = kotlin_io_raspberryapps_game_engine_core.$_$.z1;
206
+ var ContinueGameToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g5;
207
+ var System_instance = kotlin_kotlin.$_$.v4;
208
+ var PlayerConnectionState_DISCONNECTING_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
178
209
  var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.d3;
179
210
  var Action = kotlin_io_raspberryapps_game_engine_core.$_$.e3;
180
211
  var ServerLoggerKey = kotlin_io_raspberryapps_game_engine_core.$_$.s3;
181
- var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.p7;
182
- var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.o7;
183
- var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.j7;
184
- var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.l7;
185
- var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
212
+ var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.w7;
213
+ var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.v7;
214
+ var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.q7;
215
+ var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.s7;
216
+ var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.r7;
186
217
  var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.f2;
187
- var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
188
- var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.r3;
189
- var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.n4;
190
- var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.q3;
218
+ var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
219
+ var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
220
+ var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.r4;
221
+ var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
191
222
  var CardsDealerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.y;
192
- var listOf = kotlin_kotlin.$_$.j8;
193
- var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.a8;
194
- var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.x8;
223
+ var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.f8;
224
+ var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.c9;
195
225
  var listOfNotNull = kotlin_kotlin.$_$.g8;
196
- var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.u7;
197
- var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.v7;
198
226
  var listOfNotNull_0 = kotlin_kotlin.$_$.h8;
199
- var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.r7;
200
- var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.s7;
201
- var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.y7;
202
- var listOf_0 = kotlin_kotlin.$_$.i8;
203
- var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.z7;
204
- var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.q7;
205
- var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.t7;
206
- var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a6;
207
- var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.j5;
208
- var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.l9;
227
+ var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.y7;
228
+ var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.z7;
229
+ var playerTurnTimeoutWhenHasConnectionMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.d8;
230
+ var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.e8;
231
+ var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.x7;
232
+ var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.a8;
233
+ var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h6;
234
+ var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.k5;
235
+ var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.q9;
209
236
  var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
210
- var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l6;
211
- var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.c5;
212
- var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.o5;
213
- var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q6;
237
+ var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s6;
238
+ var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.j5;
239
+ var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.v5;
214
240
  var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.t;
215
- var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.t5;
216
- var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m6;
217
- var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.m5;
218
- var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e7;
219
- var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.l5;
220
- var TakeAllRemainingCardsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a7;
221
- var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.j5;
222
- var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p6;
223
- var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.r5;
224
- var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t6;
225
- var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.f5;
226
- var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d6;
227
- var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.u5;
228
- var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d7;
229
- var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.y5;
230
- var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z6;
231
- var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.x5;
232
- var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r6;
233
- var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
234
- var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.r9;
235
- var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.v5;
236
- var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b7;
237
- var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.s5;
238
- var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v6;
239
- var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.w5;
240
- var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w6;
241
- var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.p5;
242
- var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f6;
243
- var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.h5;
244
- var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u6;
245
- var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.n5;
246
- var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.q5;
247
- var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h6;
248
- var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.i5;
249
- var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.k5;
250
- var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y6;
251
- var mapToClient_18 = kotlin_io_raspberryapps_game_engine_engine.$_$.g5;
241
+ var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.a6;
242
+ var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t6;
243
+ var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.t5;
244
+ var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l7;
245
+ var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.s5;
246
+ var TakeAllRemainingCardsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h7;
247
+ var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.q5;
248
+ var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w6;
249
+ var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.y5;
250
+ var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a7;
251
+ var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.m5;
252
+ var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.k6;
253
+ var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.b6;
254
+ var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
255
+ var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.f6;
256
+ var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g7;
257
+ var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.e6;
258
+ var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y6;
259
+ var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.c6;
260
+ var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i7;
261
+ var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.z5;
262
+ var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c7;
263
+ var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.d6;
264
+ var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d7;
265
+ var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.w5;
266
+ var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m6;
267
+ var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.o5;
268
+ var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b7;
269
+ var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.u5;
270
+ var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.x5;
271
+ var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o6;
272
+ var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.p5;
273
+ var mapToClient_18 = kotlin_io_raspberryapps_game_engine_engine.$_$.r5;
274
+ var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f7;
275
+ var mapToClient_19 = kotlin_io_raspberryapps_game_engine_engine.$_$.n5;
276
+ var ignoreValidation = kotlin_io_raspberryapps_game_engine_core.$_$.k2;
277
+ var ignoreTimerResetValidation = kotlin_io_raspberryapps_game_engine_engine.$_$.p4;
278
+ var NotValidateIfGameFinished = kotlin_io_raspberryapps_game_engine_core.$_$.l2;
279
+ var NotValidateTimerReset = kotlin_io_raspberryapps_game_engine_engine.$_$.q4;
280
+ var TimerTickAction = kotlin_io_raspberryapps_game_engine_core.$_$.z2;
281
+ var FirstMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p6;
252
282
  var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
253
- var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.u5;
254
- var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.s5;
255
- var Companion_getInstance = kotlin_kotlin.$_$.w4;
256
- var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
257
- var toDuration = kotlin_kotlin.$_$.bh;
283
+ var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_core.$_$.v5;
284
+ var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_core.$_$.t5;
285
+ var PlayerConnectionState_WAITING_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.z4;
258
286
  var PlayerConnectionState_LEFT_PERMANENTLY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.u4;
259
- var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.c8;
260
- var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.m9;
287
+ var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.h8;
288
+ var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.r9;
261
289
  var singleOrNull = kotlin_kotlin.$_$.g9;
262
290
  var Collection = kotlin_kotlin.$_$.i5;
263
291
  var toSet = kotlin_kotlin.$_$.z9;
264
- var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
265
- var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.j8;
266
- var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.ua;
267
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
292
+ var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
293
+ var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.o8;
294
+ var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.cb;
268
295
  var RatingConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
269
296
  var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.s1;
270
297
  var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
271
- var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.n8;
298
+ var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.s8;
272
299
  var LoggerCallbacksWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.c;
273
- var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.m8;
274
- var Companion_instance_4 = kotlin_org_kodein_di_kodein_di.$_$.b;
300
+ var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.r8;
301
+ var Companion_instance_6 = kotlin_org_kodein_di_kodein_di.$_$.b;
275
302
  var mutableListOf = kotlin_kotlin.$_$.p8;
276
303
  var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
277
304
  var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
278
305
  var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
279
- var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.o8;
280
- var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.ta;
281
- var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
306
+ var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.t8;
307
+ var Companion_instance_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.bb;
308
+ var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
282
309
  var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.j4;
283
310
  var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
284
311
  var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.k4;
285
- var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.k6;
286
- var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.q5;
287
- var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r5;
312
+ var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l6;
313
+ var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r5;
314
+ var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.s5;
288
315
  var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
289
316
  var GameHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
290
317
  var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
291
318
  var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
292
- var Companion_instance_6 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
319
+ var Companion_instance_8 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
293
320
  var toList_0 = kotlin_kotlin.$_$.r9;
294
321
  var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.j3;
295
322
  var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
296
- var botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
323
+ var botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
297
324
  var emptyMap = kotlin_kotlin.$_$.g7;
298
- var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
299
- var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.r4;
300
- var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.e5;
301
- var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o6;
325
+ var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
326
+ var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.v4;
327
+ var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.l5;
328
+ var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v6;
302
329
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
303
- var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
330
+ var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
304
331
  var engineHelpersModule = kotlin_io_raspberryapps_game_engine_engine.$_$.e;
305
332
  //endregion
306
333
  //region block: pre-declaration
@@ -387,14 +414,7 @@
387
414
  }
388
415
  function playerLeft(playerId, permanently, $super) {
389
416
  permanently = permanently === VOID ? true : permanently;
390
- var tmp;
391
- if ($super === VOID) {
392
- this.jeg(playerId, permanently);
393
- tmp = Unit_instance;
394
- } else {
395
- tmp = $super.jeg.call(this, playerId, permanently);
396
- }
397
- return tmp;
417
+ return $super === VOID ? this.jeg(playerId, permanently) : $super.jeg.call(this, playerId, permanently);
398
418
  }
399
419
  function shutdown(reason, roomId, $super) {
400
420
  roomId = roomId === VOID ? null : roomId;
@@ -431,6 +451,8 @@
431
451
  initMetadataForCoroutine($sentEventCOROUTINE$, CoroutineImpl);
432
452
  initMetadataForCoroutine($waitForCOROUTINE$, CoroutineImpl);
433
453
  initMetadataForClass(ToClientEventsObserverImpl, 'ToClientEventsObserverImpl', VOID, VOID, [ToClientEventsObserver], [1, 0]);
454
+ initMetadataForInterface(PlayerConnectionInteractor, 'PlayerConnectionInteractor');
455
+ initMetadataForClass(PlayerConnectionInteractorImpl, 'PlayerConnectionInteractorImpl', VOID, VOID, [PlayerConnectionInteractor]);
434
456
  initMetadataForClass(UpdateServerConfigAction, 'UpdateServerConfigAction', VOID, VOID, [Action]);
435
457
  initMetadataForInterface(SpectatorsAction, 'SpectatorsAction', VOID, VOID, [Action]);
436
458
  initMetadataForClass(AddSpectatorsAction, 'AddSpectatorsAction', VOID, VOID, [SpectatorsAction]);
@@ -439,12 +461,17 @@
439
461
  initMetadataForClass(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1, VOID, VOID, VOID, [Middleware]);
440
462
  initMetadataForClass(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1, VOID, VOID, VOID, [Middleware]);
441
463
  initMetadataForClass(ServerMapMechanicToClientActionMiddleware, 'ServerMapMechanicToClientActionMiddleware');
464
+ initMetadataForClass(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1, VOID, VOID, VOID, [Middleware]);
465
+ initMetadataForClass(PlayerReconnectionWaitingTimerTag, 'PlayerReconnectionWaitingTimerTag', VOID, VOID, [NotValidateIfGameFinished, NotValidateTimerReset]);
466
+ initMetadataForClass(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1, VOID, VOID, VOID, [Middleware]);
467
+ initMetadataForClass(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1, VOID, VOID, VOID, [Middleware]);
442
468
  initMetadataForLambda(sendToClientActionMiddleware$o$handle$slambda, CoroutineImpl, VOID, [1]);
443
469
  initMetadataForClass(sendToClientActionMiddleware$$inlined$middlewareForActionType$1, VOID, VOID, VOID, [Middleware]);
444
470
  initMetadataForClass(serverConfigReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
445
471
  initMetadataForCompanion(Companion_5);
446
472
  initMetadataForClass(ServerMechanicLifecycleReducer, 'ServerMechanicLifecycleReducer', VOID, BaseMechanicLifecycleReducer, [BaseMechanicLifecycleReducer, MechanicLifecycleReducer]);
447
473
  initMetadataForClass(spectatorsReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
474
+ initMetadataForClass(playerConnectionUpdateReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
448
475
  initMetadataForCompanion(Companion_6);
449
476
  initMetadataForClass(ServerStatePayload, 'ServerStatePayload', VOID, VOID, [AppStatePayload]);
450
477
  function createGameEngineWithLogic(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig, $super) {
@@ -470,7 +497,7 @@
470
497
  ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
471
498
  coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
472
499
  botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
473
- return $super === VOID ? this.fel(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.fel.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig);
500
+ return $super === VOID ? this.tel(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.tel.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig);
474
501
  }
475
502
  initMetadataForInterface(GameEngineController, 'GameEngineController');
476
503
  initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
@@ -483,17 +510,17 @@
483
510
  initMetadataForClass(GameMetadata, 'GameMetadata');
484
511
  //endregion
485
512
  function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
486
- this.bdz_1 = $subscriber;
513
+ this.ydy_1 = $subscriber;
487
514
  CoroutineImpl.call(this, resultContinuation);
488
515
  }
489
- protoOf(GameServer$subscribeToClientAction$slambda$slambda).ddz = function (it, $completion) {
490
- var tmp = this.edz(it, $completion);
516
+ protoOf(GameServer$subscribeToClientAction$slambda$slambda).adz = function (it, $completion) {
517
+ var tmp = this.bdz(it, $completion);
491
518
  tmp.u8_1 = Unit_instance;
492
519
  tmp.v8_1 = null;
493
520
  return tmp.a9();
494
521
  };
495
522
  protoOf(GameServer$subscribeToClientAction$slambda$slambda).i9 = function (p1, $completion) {
496
- return this.ddz(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
523
+ return this.adz(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
497
524
  };
498
525
  protoOf(GameServer$subscribeToClientAction$slambda$slambda).a9 = function () {
499
526
  var suspendResult = this.u8_1;
@@ -502,7 +529,7 @@
502
529
  var tmp = this.s8_1;
503
530
  if (tmp === 0) {
504
531
  this.t8_1 = 1;
505
- this.bdz_1(this.cdz_1);
532
+ this.ydy_1(this.zdy_1);
506
533
  return Unit_instance;
507
534
  } else if (tmp === 1) {
508
535
  throw this.v8_1;
@@ -513,31 +540,31 @@
513
540
  }
514
541
  while (true);
515
542
  };
516
- protoOf(GameServer$subscribeToClientAction$slambda$slambda).edz = function (it, completion) {
517
- var i = new GameServer$subscribeToClientAction$slambda$slambda(this.bdz_1, completion);
518
- i.cdz_1 = it;
543
+ protoOf(GameServer$subscribeToClientAction$slambda$slambda).bdz = function (it, completion) {
544
+ var i = new GameServer$subscribeToClientAction$slambda$slambda(this.ydy_1, completion);
545
+ i.zdy_1 = it;
519
546
  return i;
520
547
  };
521
548
  function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
522
549
  var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
523
550
  var l = function (it, $completion) {
524
- return i.ddz(it, $completion);
551
+ return i.adz(it, $completion);
525
552
  };
526
553
  l.$arity = 1;
527
554
  return l;
528
555
  }
529
556
  function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
530
- this.ndz_1 = $subscriber;
557
+ this.kdz_1 = $subscriber;
531
558
  CoroutineImpl.call(this, resultContinuation);
532
559
  }
533
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).pdz = function (it, $completion) {
534
- var tmp = this.qdz(it, $completion);
560
+ protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).mdz = function (it, $completion) {
561
+ var tmp = this.ndz(it, $completion);
535
562
  tmp.u8_1 = Unit_instance;
536
563
  tmp.v8_1 = null;
537
564
  return tmp.a9();
538
565
  };
539
566
  protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9 = function (p1, $completion) {
540
- return this.pdz((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
567
+ return this.mdz((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
541
568
  };
542
569
  protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9 = function () {
543
570
  var suspendResult = this.u8_1;
@@ -546,7 +573,7 @@
546
573
  var tmp = this.s8_1;
547
574
  if (tmp === 0) {
548
575
  this.t8_1 = 1;
549
- this.ndz_1(this.odz_1);
576
+ this.kdz_1(this.ldz_1);
550
577
  return Unit_instance;
551
578
  } else if (tmp === 1) {
552
579
  throw this.v8_1;
@@ -557,22 +584,22 @@
557
584
  }
558
585
  while (true);
559
586
  };
560
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).qdz = function (it, completion) {
561
- var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.ndz_1, completion);
562
- i.odz_1 = it;
587
+ protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ndz = function (it, completion) {
588
+ var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.kdz_1, completion);
589
+ i.ldz_1 = it;
563
590
  return i;
564
591
  };
565
592
  function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
566
593
  var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
567
594
  var l = function (it, $completion) {
568
- return i.pdz(it, $completion);
595
+ return i.mdz(it, $completion);
569
596
  };
570
597
  l.$arity = 1;
571
598
  return l;
572
599
  }
573
600
  function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
574
- this.zdz_1 = $$this$unsafeFlow;
575
- this.ae0_1 = this$0;
601
+ this.wdz_1 = $$this$unsafeFlow;
602
+ this.xdz_1 = this$0;
576
603
  CoroutineImpl.call(this, resultContinuation);
577
604
  }
578
605
  protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).c2j = function (value, $completion) {
@@ -592,10 +619,10 @@
592
619
  switch (tmp) {
593
620
  case 0:
594
621
  this.t8_1 = 2;
595
- var tmp0 = this.zdz_1;
596
- var value = this.be0_1;
622
+ var tmp0 = this.wdz_1;
623
+ var value = this.ydz_1;
597
624
  this.s8_1 = 1;
598
- suspendResult = tmp0.i24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.ae0_1)), this);
625
+ suspendResult = tmp0.i24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.xdz_1)), this);
599
626
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
600
627
  return suspendResult;
601
628
  }
@@ -618,8 +645,8 @@
618
645
  while (true);
619
646
  };
620
647
  protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).d2j = function (value, completion) {
621
- var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.zdz_1, this.ae0_1, completion);
622
- i.be0_1 = value;
648
+ var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.wdz_1, this.xdz_1, completion);
649
+ i.ydz_1 = value;
623
650
  return i;
624
651
  };
625
652
  function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
@@ -632,8 +659,8 @@
632
659
  }
633
660
  function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
634
661
  CoroutineImpl.call(this, resultContinuation);
635
- this.ke0_1 = _this__u8e3s4;
636
- this.le0_1 = collector;
662
+ this.he0_1 = _this__u8e3s4;
663
+ this.ie0_1 = collector;
637
664
  }
638
665
  protoOf($collectCOROUTINE$).a9 = function () {
639
666
  var suspendResult = this.u8_1;
@@ -643,10 +670,10 @@
643
670
  switch (tmp) {
644
671
  case 0:
645
672
  this.t8_1 = 2;
646
- var $this$unsafeFlow = this.le0_1;
673
+ var $this$unsafeFlow = this.ie0_1;
647
674
  this.s8_1 = 1;
648
- var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.ke0_1.ne0_1, null);
649
- suspendResult = this.ke0_1.me0_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
675
+ var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.he0_1.ke0_1, null);
676
+ suspendResult = this.he0_1.je0_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
650
677
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
651
678
  return suspendResult;
652
679
  }
@@ -669,8 +696,8 @@
669
696
  while (true);
670
697
  };
671
698
  function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
672
- this.me0_1 = $this;
673
- this.ne0_1 = this$0;
699
+ this.je0_1 = $this;
700
+ this.ke0_1 = this$0;
674
701
  }
675
702
  protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).j24 = function (collector, $completion) {
676
703
  var tmp = new $collectCOROUTINE$(this, collector, $completion);
@@ -682,17 +709,17 @@
682
709
  return this.j24(collector, $completion);
683
710
  };
684
711
  function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
685
- this.we0_1 = $subscriber;
712
+ this.te0_1 = $subscriber;
686
713
  CoroutineImpl.call(this, resultContinuation);
687
714
  }
688
- protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ye0 = function (it, $completion) {
689
- var tmp = this.ze0(it, $completion);
715
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ve0 = function (it, $completion) {
716
+ var tmp = this.we0(it, $completion);
690
717
  tmp.u8_1 = Unit_instance;
691
718
  tmp.v8_1 = null;
692
719
  return tmp.a9();
693
720
  };
694
721
  protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).i9 = function (p1, $completion) {
695
- return this.ye0((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
722
+ return this.ve0((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
696
723
  };
697
724
  protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).a9 = function () {
698
725
  var suspendResult = this.u8_1;
@@ -701,7 +728,7 @@
701
728
  var tmp = this.s8_1;
702
729
  if (tmp === 0) {
703
730
  this.t8_1 = 1;
704
- this.we0_1(this.xe0_1);
731
+ this.te0_1(this.ue0_1);
705
732
  return Unit_instance;
706
733
  } else if (tmp === 1) {
707
734
  throw this.v8_1;
@@ -712,22 +739,22 @@
712
739
  }
713
740
  while (true);
714
741
  };
715
- protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ze0 = function (it, completion) {
716
- var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.we0_1, completion);
717
- i.xe0_1 = it;
742
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).we0 = function (it, completion) {
743
+ var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.te0_1, completion);
744
+ i.ue0_1 = it;
718
745
  return i;
719
746
  };
720
747
  function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
721
748
  var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
722
749
  var l = function (it, $completion) {
723
- return i.ye0(it, $completion);
750
+ return i.ve0(it, $completion);
724
751
  };
725
752
  l.$arity = 1;
726
753
  return l;
727
754
  }
728
755
  function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
729
- this.ie1_1 = $$this$unsafeFlow;
730
- this.je1_1 = $table;
756
+ this.fe1_1 = $$this$unsafeFlow;
757
+ this.ge1_1 = $table;
731
758
  CoroutineImpl.call(this, resultContinuation);
732
759
  }
733
760
  protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).c2j = function (value, $completion) {
@@ -747,10 +774,10 @@
747
774
  switch (tmp) {
748
775
  case 0:
749
776
  this.t8_1 = 2;
750
- var tmp0 = this.ie1_1;
751
- var value = this.ke1_1;
777
+ var tmp0 = this.fe1_1;
778
+ var value = this.he1_1;
752
779
  this.s8_1 = 1;
753
- suspendResult = tmp0.i24(new ActionsStateUpdate(this.je1_1.id, value), this);
780
+ suspendResult = tmp0.i24(new ActionsStateUpdate(this.ge1_1.id, value), this);
754
781
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
755
782
  return suspendResult;
756
783
  }
@@ -773,8 +800,8 @@
773
800
  while (true);
774
801
  };
775
802
  protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).d2j = function (value, completion) {
776
- var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.ie1_1, this.je1_1, completion);
777
- i.ke1_1 = value;
803
+ var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.fe1_1, this.ge1_1, completion);
804
+ i.he1_1 = value;
778
805
  return i;
779
806
  };
780
807
  function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
@@ -787,8 +814,8 @@
787
814
  }
788
815
  function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
789
816
  CoroutineImpl.call(this, resultContinuation);
790
- this.te1_1 = _this__u8e3s4;
791
- this.ue1_1 = collector;
817
+ this.qe1_1 = _this__u8e3s4;
818
+ this.re1_1 = collector;
792
819
  }
793
820
  protoOf($collectCOROUTINE$_0).a9 = function () {
794
821
  var suspendResult = this.u8_1;
@@ -798,10 +825,10 @@
798
825
  switch (tmp) {
799
826
  case 0:
800
827
  this.t8_1 = 2;
801
- var $this$unsafeFlow = this.ue1_1;
828
+ var $this$unsafeFlow = this.re1_1;
802
829
  this.s8_1 = 1;
803
- var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.te1_1.we1_1, null);
804
- suspendResult = this.te1_1.ve1_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
830
+ var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.qe1_1.te1_1, null);
831
+ suspendResult = this.qe1_1.se1_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
805
832
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
806
833
  return suspendResult;
807
834
  }
@@ -824,8 +851,8 @@
824
851
  while (true);
825
852
  };
826
853
  function _no_name_provided__qut3iv($this, $table) {
827
- this.ve1_1 = $this;
828
- this.we1_1 = $table;
854
+ this.se1_1 = $this;
855
+ this.te1_1 = $table;
829
856
  }
830
857
  protoOf(_no_name_provided__qut3iv).j24 = function (collector, $completion) {
831
858
  var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
@@ -837,18 +864,18 @@
837
864
  return this.j24(collector, $completion);
838
865
  };
839
866
  function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
840
- this.fe2_1 = $table;
841
- this.ge2_1 = this$0;
867
+ this.ce2_1 = $table;
868
+ this.de2_1 = this$0;
842
869
  CoroutineImpl.call(this, resultContinuation);
843
870
  }
844
- protoOf(GameServer$observeTableStateUpdates$slambda$slambda).ie2 = function ($this$flow, $completion) {
845
- var tmp = this.je2($this$flow, $completion);
871
+ protoOf(GameServer$observeTableStateUpdates$slambda$slambda).fe2 = function ($this$flow, $completion) {
872
+ var tmp = this.ge2($this$flow, $completion);
846
873
  tmp.u8_1 = Unit_instance;
847
874
  tmp.v8_1 = null;
848
875
  return tmp.a9();
849
876
  };
850
877
  protoOf(GameServer$observeTableStateUpdates$slambda$slambda).i9 = function (p1, $completion) {
851
- return this.ie2((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
878
+ return this.fe2((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
852
879
  };
853
880
  protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9 = function () {
854
881
  var suspendResult = this.u8_1;
@@ -859,7 +886,7 @@
859
886
  case 0:
860
887
  this.t8_1 = 3;
861
888
  this.s8_1 = 1;
862
- suspendResult = this.he2_1.i24(new TableStateUpdate(this.fe2_1.id, this.fe2_1), this);
889
+ suspendResult = this.ee2_1.i24(new TableStateUpdate(this.ce2_1.id, this.ce2_1), this);
863
890
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
864
891
  return suspendResult;
865
892
  }
@@ -867,8 +894,8 @@
867
894
  continue $sm;
868
895
  case 1:
869
896
  this.s8_1 = 2;
870
- var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.ge2_1).i9b(), fromInt(_get_serverReduxConfig__rprcrm(this.ge2_1).serverStateUpdateIntervalMillis));
871
- suspendResult = emitAll(this.he2_1, new _no_name_provided__qut3iv(this_0, this.fe2_1), this);
897
+ var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.de2_1).k9b(), fromInt(_get_serverReduxConfig__rprcrm(this.de2_1).serverStateUpdateIntervalMillis));
898
+ suspendResult = emitAll(this.ee2_1, new _no_name_provided__qut3iv(this_0, this.ce2_1), this);
872
899
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
873
900
  return suspendResult;
874
901
  }
@@ -890,22 +917,22 @@
890
917
  }
891
918
  while (true);
892
919
  };
893
- protoOf(GameServer$observeTableStateUpdates$slambda$slambda).je2 = function ($this$flow, completion) {
894
- var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.fe2_1, this.ge2_1, completion);
895
- i.he2_1 = $this$flow;
920
+ protoOf(GameServer$observeTableStateUpdates$slambda$slambda).ge2 = function ($this$flow, completion) {
921
+ var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.ce2_1, this.de2_1, completion);
922
+ i.ee2_1 = $this$flow;
896
923
  return i;
897
924
  };
898
925
  function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
899
926
  var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
900
927
  var l = function ($this$flow, $completion) {
901
- return i.ie2($this$flow, $completion);
928
+ return i.fe2($this$flow, $completion);
902
929
  };
903
930
  l.$arity = 1;
904
931
  return l;
905
932
  }
906
933
  function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
907
- this.se2_1 = $$this$unsafeFlow;
908
- this.te2_1 = this$0;
934
+ this.pe2_1 = $$this$unsafeFlow;
935
+ this.qe2_1 = this$0;
909
936
  CoroutineImpl.call(this, resultContinuation);
910
937
  }
911
938
  protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).c2j = function (value, $completion) {
@@ -926,16 +953,16 @@
926
953
  case 0:
927
954
  this.t8_1 = 5;
928
955
  var tmp_0 = this;
929
- tmp_0.ye2_1 = this.se2_1;
956
+ tmp_0.ve2_1 = this.pe2_1;
930
957
  var tmp_1 = this;
931
- tmp_1.xe2_1 = this.ue2_1;
958
+ tmp_1.ue2_1 = this.re2_1;
932
959
  this.s8_1 = 1;
933
960
  continue $sm;
934
961
  case 1:
935
- this.ve2_1 = this.ye2_1;
936
- var it = this.xe2_1;
962
+ this.se2_1 = this.ve2_1;
963
+ var it = this.ue2_1;
937
964
  var tmp_2;
938
- if (get_isCreated(this.te2_1.h6f())) {
965
+ if (get_isCreated(this.qe2_1.h6f())) {
939
966
  tmp_2 = it;
940
967
  } else {
941
968
  tmp_2 = null;
@@ -947,15 +974,15 @@
947
974
  var tmp_3 = this;
948
975
  continue $sm;
949
976
  } else {
950
- this.we2_1 = tmp0_elvis_lhs;
977
+ this.te2_1 = tmp0_elvis_lhs;
951
978
  this.s8_1 = 2;
952
979
  continue $sm;
953
980
  }
954
981
 
955
982
  case 2:
956
- var transformed = this.we2_1;
983
+ var transformed = this.te2_1;
957
984
  this.s8_1 = 3;
958
- suspendResult = this.ve2_1.i24(transformed, this);
985
+ suspendResult = this.se2_1.i24(transformed, this);
959
986
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
960
987
  return suspendResult;
961
988
  }
@@ -986,8 +1013,8 @@
986
1013
  while (true);
987
1014
  };
988
1015
  protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).d2j = function (value, completion) {
989
- var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.se2_1, this.te2_1, completion);
990
- i.ue2_1 = value;
1016
+ var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.pe2_1, this.qe2_1, completion);
1017
+ i.re2_1 = value;
991
1018
  return i;
992
1019
  };
993
1020
  function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
@@ -1000,8 +1027,8 @@
1000
1027
  }
1001
1028
  function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
1002
1029
  CoroutineImpl.call(this, resultContinuation);
1003
- this.he3_1 = _this__u8e3s4;
1004
- this.ie3_1 = collector;
1030
+ this.ee3_1 = _this__u8e3s4;
1031
+ this.fe3_1 = collector;
1005
1032
  }
1006
1033
  protoOf($collectCOROUTINE$_1).a9 = function () {
1007
1034
  var suspendResult = this.u8_1;
@@ -1011,10 +1038,10 @@
1011
1038
  switch (tmp) {
1012
1039
  case 0:
1013
1040
  this.t8_1 = 2;
1014
- var $this$unsafeFlow = this.ie3_1;
1041
+ var $this$unsafeFlow = this.fe3_1;
1015
1042
  this.s8_1 = 1;
1016
- var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.he3_1.ke3_1, null);
1017
- suspendResult = this.he3_1.je3_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
1043
+ var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.ee3_1.he3_1, null);
1044
+ suspendResult = this.ee3_1.ge3_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
1018
1045
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1019
1046
  return suspendResult;
1020
1047
  }
@@ -1037,7 +1064,7 @@
1037
1064
  while (true);
1038
1065
  };
1039
1066
  function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
1040
- this.te3_1 = $$this$unsafeFlow;
1067
+ this.qe3_1 = $$this$unsafeFlow;
1041
1068
  CoroutineImpl.call(this, resultContinuation);
1042
1069
  }
1043
1070
  protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).c2j = function (value, $completion) {
@@ -1058,28 +1085,28 @@
1058
1085
  case 0:
1059
1086
  this.t8_1 = 5;
1060
1087
  var tmp_0 = this;
1061
- tmp_0.ye3_1 = this.te3_1;
1088
+ tmp_0.ve3_1 = this.qe3_1;
1062
1089
  var tmp_1 = this;
1063
- tmp_1.xe3_1 = this.ue3_1;
1090
+ tmp_1.ue3_1 = this.re3_1;
1064
1091
  this.s8_1 = 1;
1065
1092
  continue $sm;
1066
1093
  case 1:
1067
- this.ve3_1 = this.ye3_1;
1068
- var tmp0_elvis_lhs = this.xe3_1.tableOrNull;
1094
+ this.se3_1 = this.ve3_1;
1095
+ var tmp0_elvis_lhs = this.ue3_1.tableOrNull;
1069
1096
  if (tmp0_elvis_lhs == null) {
1070
1097
  this.s8_1 = 4;
1071
1098
  var tmp_2 = this;
1072
1099
  continue $sm;
1073
1100
  } else {
1074
- this.we3_1 = tmp0_elvis_lhs;
1101
+ this.te3_1 = tmp0_elvis_lhs;
1075
1102
  this.s8_1 = 2;
1076
1103
  continue $sm;
1077
1104
  }
1078
1105
 
1079
1106
  case 2:
1080
- var transformed = this.we3_1;
1107
+ var transformed = this.te3_1;
1081
1108
  this.s8_1 = 3;
1082
- suspendResult = this.ve3_1.i24(transformed, this);
1109
+ suspendResult = this.se3_1.i24(transformed, this);
1083
1110
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1084
1111
  return suspendResult;
1085
1112
  }
@@ -1110,8 +1137,8 @@
1110
1137
  while (true);
1111
1138
  };
1112
1139
  protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).d2j = function (value, completion) {
1113
- var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.te3_1, completion);
1114
- i.ue3_1 = value;
1140
+ var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.qe3_1, completion);
1141
+ i.re3_1 = value;
1115
1142
  return i;
1116
1143
  };
1117
1144
  function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
@@ -1124,8 +1151,8 @@
1124
1151
  }
1125
1152
  function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
1126
1153
  CoroutineImpl.call(this, resultContinuation);
1127
- this.he4_1 = _this__u8e3s4;
1128
- this.ie4_1 = collector;
1154
+ this.ee4_1 = _this__u8e3s4;
1155
+ this.fe4_1 = collector;
1129
1156
  }
1130
1157
  protoOf($collectCOROUTINE$_2).a9 = function () {
1131
1158
  var suspendResult = this.u8_1;
@@ -1135,10 +1162,10 @@
1135
1162
  switch (tmp) {
1136
1163
  case 0:
1137
1164
  this.t8_1 = 2;
1138
- var $this$unsafeFlow = this.ie4_1;
1165
+ var $this$unsafeFlow = this.fe4_1;
1139
1166
  this.s8_1 = 1;
1140
1167
  var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
1141
- suspendResult = this.he4_1.je4_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
1168
+ suspendResult = this.ee4_1.ge4_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
1142
1169
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1143
1170
  return suspendResult;
1144
1171
  }
@@ -1161,7 +1188,7 @@
1161
1188
  while (true);
1162
1189
  };
1163
1190
  function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
1164
- this.se4_1 = $$this$unsafeFlow;
1191
+ this.pe4_1 = $$this$unsafeFlow;
1165
1192
  CoroutineImpl.call(this, resultContinuation);
1166
1193
  }
1167
1194
  protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).c2j = function (value, $completion) {
@@ -1181,8 +1208,8 @@
1181
1208
  switch (tmp) {
1182
1209
  case 0:
1183
1210
  this.t8_1 = 2;
1184
- var tmp0 = this.se4_1;
1185
- var value = this.te4_1;
1211
+ var tmp0 = this.pe4_1;
1212
+ var value = this.qe4_1;
1186
1213
  this.s8_1 = 1;
1187
1214
  suspendResult = tmp0.i24(to(value.gameInfo.roundNumberTotal, value), this);
1188
1215
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -1207,8 +1234,8 @@
1207
1234
  while (true);
1208
1235
  };
1209
1236
  protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).d2j = function (value, completion) {
1210
- var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.se4_1, completion);
1211
- i.te4_1 = value;
1237
+ var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.pe4_1, completion);
1238
+ i.qe4_1 = value;
1212
1239
  return i;
1213
1240
  };
1214
1241
  function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
@@ -1221,8 +1248,8 @@
1221
1248
  }
1222
1249
  function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
1223
1250
  CoroutineImpl.call(this, resultContinuation);
1224
- this.ce5_1 = _this__u8e3s4;
1225
- this.de5_1 = collector;
1251
+ this.ze4_1 = _this__u8e3s4;
1252
+ this.ae5_1 = collector;
1226
1253
  }
1227
1254
  protoOf($collectCOROUTINE$_3).a9 = function () {
1228
1255
  var suspendResult = this.u8_1;
@@ -1232,10 +1259,10 @@
1232
1259
  switch (tmp) {
1233
1260
  case 0:
1234
1261
  this.t8_1 = 2;
1235
- var $this$unsafeFlow = this.de5_1;
1262
+ var $this$unsafeFlow = this.ae5_1;
1236
1263
  this.s8_1 = 1;
1237
1264
  var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
1238
- suspendResult = this.ce5_1.ee5_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
1265
+ suspendResult = this.ze4_1.be5_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
1239
1266
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1240
1267
  return suspendResult;
1241
1268
  }
@@ -1258,7 +1285,7 @@
1258
1285
  while (true);
1259
1286
  };
1260
1287
  function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
1261
- this.ne5_1 = $$this$unsafeFlow;
1288
+ this.ke5_1 = $$this$unsafeFlow;
1262
1289
  CoroutineImpl.call(this, resultContinuation);
1263
1290
  }
1264
1291
  protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).c2j = function (value, $completion) {
@@ -1278,8 +1305,8 @@
1278
1305
  switch (tmp) {
1279
1306
  case 0:
1280
1307
  this.t8_1 = 2;
1281
- var tmp0 = this.ne5_1;
1282
- var value = this.oe5_1;
1308
+ var tmp0 = this.ke5_1;
1309
+ var value = this.le5_1;
1283
1310
  this.s8_1 = 1;
1284
1311
  suspendResult = tmp0.i24(value.ne_1, this);
1285
1312
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -1304,8 +1331,8 @@
1304
1331
  while (true);
1305
1332
  };
1306
1333
  protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).d2j = function (value, completion) {
1307
- var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.ne5_1, completion);
1308
- i.oe5_1 = value;
1334
+ var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.ke5_1, completion);
1335
+ i.le5_1 = value;
1309
1336
  return i;
1310
1337
  };
1311
1338
  function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
@@ -1318,8 +1345,8 @@
1318
1345
  }
1319
1346
  function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
1320
1347
  CoroutineImpl.call(this, resultContinuation);
1321
- this.xe5_1 = _this__u8e3s4;
1322
- this.ye5_1 = collector;
1348
+ this.ue5_1 = _this__u8e3s4;
1349
+ this.ve5_1 = collector;
1323
1350
  }
1324
1351
  protoOf($collectCOROUTINE$_4).a9 = function () {
1325
1352
  var suspendResult = this.u8_1;
@@ -1329,10 +1356,10 @@
1329
1356
  switch (tmp) {
1330
1357
  case 0:
1331
1358
  this.t8_1 = 2;
1332
- var $this$unsafeFlow = this.ye5_1;
1359
+ var $this$unsafeFlow = this.ve5_1;
1333
1360
  this.s8_1 = 1;
1334
1361
  var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
1335
- suspendResult = this.xe5_1.ze5_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
1362
+ suspendResult = this.ue5_1.we5_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
1336
1363
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1337
1364
  return suspendResult;
1338
1365
  }
@@ -1355,17 +1382,17 @@
1355
1382
  while (true);
1356
1383
  };
1357
1384
  function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
1358
- this.ie6_1 = $subscriber;
1385
+ this.fe6_1 = $subscriber;
1359
1386
  CoroutineImpl.call(this, resultContinuation);
1360
1387
  }
1361
- protoOf(GameServer$subscribeWith$slambda$slambda).ke6 = function (it, $completion) {
1362
- var tmp = this.le6(it, $completion);
1388
+ protoOf(GameServer$subscribeWith$slambda$slambda).he6 = function (it, $completion) {
1389
+ var tmp = this.ie6(it, $completion);
1363
1390
  tmp.u8_1 = Unit_instance;
1364
1391
  tmp.v8_1 = null;
1365
1392
  return tmp.a9();
1366
1393
  };
1367
1394
  protoOf(GameServer$subscribeWith$slambda$slambda).i9 = function (p1, $completion) {
1368
- return this.ke6(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
1395
+ return this.he6(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
1369
1396
  };
1370
1397
  protoOf(GameServer$subscribeWith$slambda$slambda).a9 = function () {
1371
1398
  var suspendResult = this.u8_1;
@@ -1374,7 +1401,7 @@
1374
1401
  var tmp = this.s8_1;
1375
1402
  if (tmp === 0) {
1376
1403
  this.t8_1 = 1;
1377
- this.ie6_1(this.je6_1);
1404
+ this.fe6_1(this.ge6_1);
1378
1405
  return Unit_instance;
1379
1406
  } else if (tmp === 1) {
1380
1407
  throw this.v8_1;
@@ -1385,81 +1412,95 @@
1385
1412
  }
1386
1413
  while (true);
1387
1414
  };
1388
- protoOf(GameServer$subscribeWith$slambda$slambda).le6 = function (it, completion) {
1389
- var i = new GameServer$subscribeWith$slambda$slambda(this.ie6_1, completion);
1390
- i.je6_1 = it;
1415
+ protoOf(GameServer$subscribeWith$slambda$slambda).ie6 = function (it, completion) {
1416
+ var i = new GameServer$subscribeWith$slambda$slambda(this.fe6_1, completion);
1417
+ i.ge6_1 = it;
1391
1418
  return i;
1392
1419
  };
1393
1420
  function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
1394
1421
  var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
1395
1422
  var l = function (it, $completion) {
1396
- return i.ke6(it, $completion);
1423
+ return i.he6(it, $completion);
1397
1424
  };
1398
1425
  l.$arity = 1;
1399
1426
  return l;
1400
1427
  }
1401
1428
  function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
1402
- this.me6_1 = $playerId;
1429
+ this.je6_1 = $playerId;
1403
1430
  }
1404
1431
  protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).h6e = function () {
1405
- return this.me6_1;
1432
+ return this.je6_1;
1406
1433
  };
1407
1434
  function _get_toClientEventsObserver__6rp51y($this) {
1408
- var tmp0 = $this.re6_1;
1435
+ var tmp0 = $this.oe6_1;
1409
1436
  var tmp = KProperty1;
1410
1437
  // Inline function 'kotlin.getValue' call
1411
1438
  getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
1412
1439
  return tmp0.x();
1413
1440
  }
1414
1441
  function _get_fromClientEventsObserver__a7vzd3($this) {
1415
- var tmp0 = $this.se6_1;
1442
+ var tmp0 = $this.pe6_1;
1416
1443
  var tmp = KProperty1;
1417
1444
  // Inline function 'kotlin.getValue' call
1418
1445
  getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
1419
1446
  return tmp0.x();
1420
1447
  }
1421
1448
  function _get_playerConnectionInteractor__si6cxf($this) {
1422
- var tmp0 = $this.te6_1;
1449
+ var tmp0 = $this.qe6_1;
1423
1450
  var tmp = KProperty1;
1424
1451
  // Inline function 'kotlin.getValue' call
1425
1452
  getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
1426
1453
  return tmp0.x();
1427
1454
  }
1428
1455
  function _get_teamsLogicProvider__u10pm6($this) {
1429
- var tmp0 = $this.ue6_1;
1456
+ var tmp0 = $this.re6_1;
1430
1457
  var tmp = KProperty1;
1431
1458
  // Inline function 'kotlin.getValue' call
1432
1459
  getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
1433
1460
  return tmp0.x();
1434
1461
  }
1462
+ function _get_userRatingInteractor__a09mdy($this) {
1463
+ var tmp0 = $this.se6_1;
1464
+ var tmp = KProperty1;
1465
+ // Inline function 'kotlin.getValue' call
1466
+ getPropertyCallableRef('userRatingInteractor', 1, tmp, GameServer$_get_userRatingInteractor_$ref_8uo6aw_0(), null);
1467
+ return tmp0.x();
1468
+ }
1435
1469
  function _get_random__h29cgo($this) {
1436
- var tmp0 = $this.ve6_1;
1470
+ var tmp0 = $this.te6_1;
1437
1471
  var tmp = KProperty1;
1438
1472
  // Inline function 'kotlin.getValue' call
1439
1473
  getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
1440
1474
  return tmp0.x();
1441
1475
  }
1442
1476
  function _get_idsProvider__fnfajc($this) {
1443
- var tmp0 = $this.we6_1;
1477
+ var tmp0 = $this.ue6_1;
1444
1478
  var tmp = KProperty1;
1445
1479
  // Inline function 'kotlin.getValue' call
1446
1480
  getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
1447
1481
  return tmp0.x();
1448
1482
  }
1449
1483
  function _get_serverReduxConfig__rprcrm($this) {
1450
- var tmp0 = $this.xe6_1;
1484
+ var tmp0 = $this.ve6_1;
1451
1485
  var tmp = KProperty1;
1452
1486
  // Inline function 'kotlin.getValue' call
1453
1487
  getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
1454
1488
  return tmp0.x();
1455
1489
  }
1456
1490
  function _get_encoderDecoderProvider__qqgrji($this) {
1457
- var tmp0 = $this.ye6_1;
1491
+ var tmp0 = $this.we6_1;
1458
1492
  var tmp = KProperty1;
1459
1493
  // Inline function 'kotlin.getValue' call
1460
1494
  getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
1461
1495
  return tmp0.x();
1462
1496
  }
1497
+ function _get_engineLogicConfig__l11qpf($this) {
1498
+ var tmp0 = $this.xe6_1;
1499
+ var tmp = KProperty1;
1500
+ // Inline function 'kotlin.getValue' call
1501
+ getPropertyCallableRef('engineLogicConfig', 1, tmp, GameServer$_get_engineLogicConfig_$ref_nlkv2l_0(), null);
1502
+ return tmp0.x();
1503
+ }
1463
1504
  function observeTableStateUpdates($this) {
1464
1505
  // Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
1465
1506
  var this_0 = observeTableWhenRoundChanges($this, $this.b71());
@@ -1485,21 +1526,42 @@
1485
1526
  // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
1486
1527
  return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
1487
1528
  }
1529
+ function calculatePlayerLeftResult($this, playerId) {
1530
+ var table = $this.h6f().c72();
1531
+ var player = getPlayer(table.players, playerId);
1532
+ var tmp;
1533
+ if (_get_engineLogicConfig__l11qpf($this).updateRating) {
1534
+ var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).d9i(player, table.players, table.config.playersMode, table.config.pointsMode);
1535
+ var tmp_0;
1536
+ if (tmp0_safe_receiver == null) {
1537
+ tmp_0 = null;
1538
+ } else {
1539
+ // Inline function 'kotlin.let' call
1540
+ tmp_0 = new PlayerAchievements(tmp0_safe_receiver.k7h_1, tmp0_safe_receiver.l7h_1, tmp0_safe_receiver.m7h_1);
1541
+ }
1542
+ tmp = tmp_0;
1543
+ } else {
1544
+ tmp = null;
1545
+ }
1546
+ var playerAchievements = tmp;
1547
+ var playerAnalytics = mapToGameAnalytics(player, table.gameDuration);
1548
+ return new PlayerLeftResult(playerAchievements, playerAnalytics);
1549
+ }
1488
1550
  function Companion() {
1489
- this.ae7_1 = 'GameEngine_API';
1551
+ this.ze6_1 = 'GameEngine_API';
1490
1552
  }
1491
- var Companion_instance_7;
1553
+ var Companion_instance_9;
1492
1554
  function Companion_getInstance_0() {
1493
- return Companion_instance_7;
1555
+ return Companion_instance_9;
1494
1556
  }
1495
1557
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
1496
- this.be7_1 = function_0;
1558
+ this.ae7_1 = function_0;
1497
1559
  }
1498
1560
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).i24 = function (value, $completion) {
1499
- return this.be7_1(value, $completion);
1561
+ return this.ae7_1(value, $completion);
1500
1562
  };
1501
1563
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
1502
- return this.be7_1;
1564
+ return this.ae7_1;
1503
1565
  };
1504
1566
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
1505
1567
  var tmp;
@@ -1520,13 +1582,13 @@
1520
1582
  return hashCode(this.b3());
1521
1583
  };
1522
1584
  function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
1523
- this.ce7_1 = function_0;
1585
+ this.be7_1 = function_0;
1524
1586
  }
1525
1587
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).i24 = function (value, $completion) {
1526
- return this.ce7_1(value, $completion);
1588
+ return this.be7_1(value, $completion);
1527
1589
  };
1528
1590
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
1529
- return this.ce7_1;
1591
+ return this.be7_1;
1530
1592
  };
1531
1593
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
1532
1594
  var tmp;
@@ -1547,13 +1609,13 @@
1547
1609
  return hashCode(this.b3());
1548
1610
  };
1549
1611
  function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
1550
- this.de7_1 = function_0;
1612
+ this.ce7_1 = function_0;
1551
1613
  }
1552
1614
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).i24 = function (value, $completion) {
1553
- return this.de7_1(value, $completion);
1615
+ return this.ce7_1(value, $completion);
1554
1616
  };
1555
1617
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
1556
- return this.de7_1;
1618
+ return this.ce7_1;
1557
1619
  };
1558
1620
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
1559
1621
  var tmp;
@@ -1574,13 +1636,13 @@
1574
1636
  return hashCode(this.b3());
1575
1637
  };
1576
1638
  function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
1577
- this.ee7_1 = function_0;
1639
+ this.de7_1 = function_0;
1578
1640
  }
1579
1641
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).i24 = function (value, $completion) {
1580
- return this.ee7_1(value, $completion);
1642
+ return this.de7_1(value, $completion);
1581
1643
  };
1582
1644
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
1583
- return this.ee7_1;
1645
+ return this.de7_1;
1584
1646
  };
1585
1647
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
1586
1648
  var tmp;
@@ -1601,13 +1663,13 @@
1601
1663
  return hashCode(this.b3());
1602
1664
  };
1603
1665
  function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
1604
- this.fe7_1 = function_0;
1666
+ this.ee7_1 = function_0;
1605
1667
  }
1606
1668
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).i24 = function (value, $completion) {
1607
- return this.fe7_1(value, $completion);
1669
+ return this.ee7_1(value, $completion);
1608
1670
  };
1609
1671
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
1610
- return this.fe7_1;
1672
+ return this.ee7_1;
1611
1673
  };
1612
1674
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
1613
1675
  var tmp;
@@ -1628,13 +1690,13 @@
1628
1690
  return hashCode(this.b3());
1629
1691
  };
1630
1692
  function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
1631
- this.ge7_1 = function_0;
1693
+ this.fe7_1 = function_0;
1632
1694
  }
1633
1695
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).i24 = function (value, $completion) {
1634
- return this.ge7_1(value, $completion);
1696
+ return this.fe7_1(value, $completion);
1635
1697
  };
1636
1698
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
1637
- return this.ge7_1;
1699
+ return this.fe7_1;
1638
1700
  };
1639
1701
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
1640
1702
  var tmp;
@@ -1694,6 +1756,16 @@
1694
1756
  return _get_teamsLogicProvider__u10pm6(p0);
1695
1757
  };
1696
1758
  }
1759
+ function GameServer$_get_userRatingInteractor_$ref_8uo6aw() {
1760
+ return function (p0) {
1761
+ return _get_userRatingInteractor__a09mdy(p0);
1762
+ };
1763
+ }
1764
+ function GameServer$_get_userRatingInteractor_$ref_8uo6aw_0() {
1765
+ return function (p0) {
1766
+ return _get_userRatingInteractor__a09mdy(p0);
1767
+ };
1768
+ }
1697
1769
  function GameServer$random$delegate$lambda(this$0) {
1698
1770
  return function () {
1699
1771
  return new SecureRandom(this$0.b56());
@@ -1734,9 +1806,19 @@
1734
1806
  return _get_encoderDecoderProvider__qqgrji(p0);
1735
1807
  };
1736
1808
  }
1809
+ function GameServer$_get_engineLogicConfig_$ref_nlkv2l() {
1810
+ return function (p0) {
1811
+ return _get_engineLogicConfig__l11qpf(p0);
1812
+ };
1813
+ }
1814
+ function GameServer$_get_engineLogicConfig_$ref_nlkv2l_0() {
1815
+ return function (p0) {
1816
+ return _get_engineLogicConfig__l11qpf(p0);
1817
+ };
1818
+ }
1737
1819
  function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
1738
- this.pe7_1 = this$0;
1739
- this.qe7_1 = $subscriber;
1820
+ this.oe7_1 = this$0;
1821
+ this.pe7_1 = $subscriber;
1740
1822
  CoroutineImpl.call(this, resultContinuation);
1741
1823
  }
1742
1824
  protoOf(GameServer$subscribeToClientAction$slambda).j29 = function ($this$launchDefault, $completion) {
@@ -1757,8 +1839,8 @@
1757
1839
  case 0:
1758
1840
  this.t8_1 = 2;
1759
1841
  this.s8_1 = 1;
1760
- var tmp_0 = _get_toClientEventsObserver__6rp51y(this.pe7_1).db7();
1761
- var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.qe7_1, null);
1842
+ var tmp_0 = _get_toClientEventsObserver__6rp51y(this.oe7_1).ab7();
1843
+ var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.pe7_1, null);
1762
1844
  suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
1763
1845
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1764
1846
  return suspendResult;
@@ -1782,8 +1864,8 @@
1782
1864
  while (true);
1783
1865
  };
1784
1866
  protoOf(GameServer$subscribeToClientAction$slambda).k29 = function ($this$launchDefault, completion) {
1785
- var i = new GameServer$subscribeToClientAction$slambda(this.pe7_1, this.qe7_1, completion);
1786
- i.re7_1 = $this$launchDefault;
1867
+ var i = new GameServer$subscribeToClientAction$slambda(this.oe7_1, this.pe7_1, completion);
1868
+ i.qe7_1 = $this$launchDefault;
1787
1869
  return i;
1788
1870
  };
1789
1871
  function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -1795,8 +1877,8 @@
1795
1877
  return l;
1796
1878
  }
1797
1879
  function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
1798
- this.ae8_1 = this$0;
1799
- this.be8_1 = $subscriber;
1880
+ this.ze7_1 = this$0;
1881
+ this.ae8_1 = $subscriber;
1800
1882
  CoroutineImpl.call(this, resultContinuation);
1801
1883
  }
1802
1884
  protoOf(GameServer$subscribeServerStateUpdate$slambda).j29 = function ($this$launchDefault, $completion) {
@@ -1817,8 +1899,8 @@
1817
1899
  case 0:
1818
1900
  this.t8_1 = 2;
1819
1901
  this.s8_1 = 1;
1820
- var tmp_0 = observeTableStateUpdates(this.ae8_1);
1821
- var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.be8_1, null);
1902
+ var tmp_0 = observeTableStateUpdates(this.ze7_1);
1903
+ var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.ae8_1, null);
1822
1904
  suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
1823
1905
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1824
1906
  return suspendResult;
@@ -1842,8 +1924,8 @@
1842
1924
  while (true);
1843
1925
  };
1844
1926
  protoOf(GameServer$subscribeServerStateUpdate$slambda).k29 = function ($this$launchDefault, completion) {
1845
- var i = new GameServer$subscribeServerStateUpdate$slambda(this.ae8_1, this.be8_1, completion);
1846
- i.ce8_1 = $this$launchDefault;
1927
+ var i = new GameServer$subscribeServerStateUpdate$slambda(this.ze7_1, this.ae8_1, completion);
1928
+ i.be8_1 = $this$launchDefault;
1847
1929
  return i;
1848
1930
  };
1849
1931
  function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -1855,8 +1937,8 @@
1855
1937
  return l;
1856
1938
  }
1857
1939
  function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
1858
- this.le8_1 = this$0;
1859
- this.me8_1 = $subscriber;
1940
+ this.ke8_1 = this$0;
1941
+ this.le8_1 = $subscriber;
1860
1942
  CoroutineImpl.call(this, resultContinuation);
1861
1943
  }
1862
1944
  protoOf(GameServer$subscribeServerStateUpdateJson$slambda).j29 = function ($this$launchDefault, $completion) {
@@ -1877,9 +1959,9 @@
1877
1959
  case 0:
1878
1960
  this.t8_1 = 2;
1879
1961
  this.s8_1 = 1;
1880
- var this_0 = observeTableStateUpdates(this.le8_1);
1881
- var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.le8_1);
1882
- var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.me8_1, null);
1962
+ var this_0 = observeTableStateUpdates(this.ke8_1);
1963
+ var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.ke8_1);
1964
+ var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.le8_1, null);
1883
1965
  suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
1884
1966
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1885
1967
  return suspendResult;
@@ -1903,8 +1985,8 @@
1903
1985
  while (true);
1904
1986
  };
1905
1987
  protoOf(GameServer$subscribeServerStateUpdateJson$slambda).k29 = function ($this$launchDefault, completion) {
1906
- var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.le8_1, this.me8_1, completion);
1907
- i.ne8_1 = $this$launchDefault;
1988
+ var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.ke8_1, this.le8_1, completion);
1989
+ i.me8_1 = $this$launchDefault;
1908
1990
  return i;
1909
1991
  };
1910
1992
  function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -1916,18 +1998,18 @@
1916
1998
  return l;
1917
1999
  }
1918
2000
  function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
1919
- this.we8_1 = this$0;
2001
+ this.ve8_1 = this$0;
1920
2002
  CoroutineImpl.call(this, resultContinuation);
1921
2003
  }
1922
- protoOf(GameServer$observeTableStateUpdates$slambda).qcg = function ($this$transformLatest, it, $completion) {
1923
- var tmp = this.rcg($this$transformLatest, it, $completion);
2004
+ protoOf(GameServer$observeTableStateUpdates$slambda).ncg = function ($this$transformLatest, it, $completion) {
2005
+ var tmp = this.ocg($this$transformLatest, it, $completion);
1924
2006
  tmp.u8_1 = Unit_instance;
1925
2007
  tmp.v8_1 = null;
1926
2008
  return tmp.a9();
1927
2009
  };
1928
2010
  protoOf(GameServer$observeTableStateUpdates$slambda).j9 = function (p1, p2, $completion) {
1929
2011
  var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
1930
- return this.qcg(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
2012
+ return this.ncg(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
1931
2013
  };
1932
2014
  protoOf(GameServer$observeTableStateUpdates$slambda).a9 = function () {
1933
2015
  var suspendResult = this.u8_1;
@@ -1938,8 +2020,8 @@
1938
2020
  case 0:
1939
2021
  this.t8_1 = 2;
1940
2022
  this.s8_1 = 1;
1941
- var table = this.ye8_1;
1942
- suspendResult = emitAll(this.xe8_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.we8_1, null)), this);
2023
+ var table = this.xe8_1;
2024
+ suspendResult = emitAll(this.we8_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.ve8_1, null)), this);
1943
2025
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1944
2026
  return suspendResult;
1945
2027
  }
@@ -1961,23 +2043,23 @@
1961
2043
  }
1962
2044
  while (true);
1963
2045
  };
1964
- protoOf(GameServer$observeTableStateUpdates$slambda).rcg = function ($this$transformLatest, it, completion) {
1965
- var i = new GameServer$observeTableStateUpdates$slambda(this.we8_1, completion);
1966
- i.xe8_1 = $this$transformLatest;
1967
- i.ye8_1 = it;
2046
+ protoOf(GameServer$observeTableStateUpdates$slambda).ocg = function ($this$transformLatest, it, completion) {
2047
+ var i = new GameServer$observeTableStateUpdates$slambda(this.ve8_1, completion);
2048
+ i.we8_1 = $this$transformLatest;
2049
+ i.xe8_1 = it;
1968
2050
  return i;
1969
2051
  };
1970
2052
  function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
1971
2053
  var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
1972
2054
  var l = function ($this$transformLatest, it, $completion) {
1973
- return i.qcg($this$transformLatest, it, $completion);
2055
+ return i.ncg($this$transformLatest, it, $completion);
1974
2056
  };
1975
2057
  l.$arity = 2;
1976
2058
  return l;
1977
2059
  }
1978
2060
  function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
1979
- this.je3_1 = $this;
1980
- this.ke3_1 = this$0;
2061
+ this.ge3_1 = $this;
2062
+ this.he3_1 = this$0;
1981
2063
  }
1982
2064
  protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).j24 = function (collector, $completion) {
1983
2065
  var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
@@ -1989,7 +2071,7 @@
1989
2071
  return this.j24(collector, $completion);
1990
2072
  };
1991
2073
  function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
1992
- this.je4_1 = $this;
2074
+ this.ge4_1 = $this;
1993
2075
  }
1994
2076
  protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).j24 = function (collector, $completion) {
1995
2077
  var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
@@ -2001,7 +2083,7 @@
2001
2083
  return this.j24(collector, $completion);
2002
2084
  };
2003
2085
  function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
2004
- this.ee5_1 = $this;
2086
+ this.be5_1 = $this;
2005
2087
  }
2006
2088
  protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).j24 = function (collector, $completion) {
2007
2089
  var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
@@ -2016,7 +2098,7 @@
2016
2098
  return old.me_1 === new_0.me_1;
2017
2099
  }
2018
2100
  function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
2019
- this.ze5_1 = $this;
2101
+ this.we5_1 = $this;
2020
2102
  }
2021
2103
  protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).j24 = function (collector, $completion) {
2022
2104
  var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
@@ -2028,8 +2110,8 @@
2028
2110
  return this.j24(collector, $completion);
2029
2111
  };
2030
2112
  function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
2031
- this.he9_1 = this$0;
2032
- this.ie9_1 = $subscriber;
2113
+ this.ge9_1 = this$0;
2114
+ this.he9_1 = $subscriber;
2033
2115
  CoroutineImpl.call(this, resultContinuation);
2034
2116
  }
2035
2117
  protoOf(GameServer$subscribeWith$slambda).j29 = function ($this$launchDefault, $completion) {
@@ -2050,8 +2132,8 @@
2050
2132
  case 0:
2051
2133
  this.t8_1 = 2;
2052
2134
  this.s8_1 = 1;
2053
- var tmp_0 = distinctUntilChanged(this.he9_1.b71());
2054
- var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.ie9_1, null);
2135
+ var tmp_0 = distinctUntilChanged(this.ge9_1.b71());
2136
+ var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.he9_1, null);
2055
2137
  suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
2056
2138
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2057
2139
  return suspendResult;
@@ -2075,8 +2157,8 @@
2075
2157
  while (true);
2076
2158
  };
2077
2159
  protoOf(GameServer$subscribeWith$slambda).k29 = function ($this$launchDefault, completion) {
2078
- var i = new GameServer$subscribeWith$slambda(this.he9_1, this.ie9_1, completion);
2079
- i.je9_1 = $this$launchDefault;
2160
+ var i = new GameServer$subscribeWith$slambda(this.ge9_1, this.he9_1, completion);
2161
+ i.ie9_1 = $this$launchDefault;
2080
2162
  return i;
2081
2163
  };
2082
2164
  function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -2088,18 +2170,18 @@
2088
2170
  return l;
2089
2171
  }
2090
2172
  function GameServer$fromClientEvent$slambda($action, resultContinuation) {
2091
- this.se9_1 = $action;
2173
+ this.re9_1 = $action;
2092
2174
  CoroutineImpl.call(this, resultContinuation);
2093
2175
  }
2094
- protoOf(GameServer$fromClientEvent$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
2095
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2176
+ protoOf(GameServer$fromClientEvent$slambda).cbp = function ($this$dispatchAsync, store, $completion) {
2177
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2096
2178
  tmp.u8_1 = Unit_instance;
2097
2179
  tmp.v8_1 = null;
2098
2180
  return tmp.a9();
2099
2181
  };
2100
2182
  protoOf(GameServer$fromClientEvent$slambda).j9 = function (p1, p2, $completion) {
2101
2183
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2102
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2184
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2103
2185
  };
2104
2186
  protoOf(GameServer$fromClientEvent$slambda).a9 = function () {
2105
2187
  var suspendResult = this.u8_1;
@@ -2108,11 +2190,11 @@
2108
2190
  var tmp = this.s8_1;
2109
2191
  if (tmp === 0) {
2110
2192
  this.t8_1 = 1;
2111
- if (this.se9_1 instanceof PlayerReadyFromClientAction)
2112
- if (!get_isCreated(this.ue9_1.state)) {
2193
+ if (this.re9_1 instanceof PlayerReadyFromClientAction)
2194
+ if (!get_isCreated(this.te9_1.state)) {
2113
2195
  return Unit_instance;
2114
2196
  }
2115
- this.ue9_1.dispatch(this.se9_1);
2197
+ this.te9_1.dispatch(this.re9_1);
2116
2198
  return Unit_instance;
2117
2199
  } else if (tmp === 1) {
2118
2200
  throw this.v8_1;
@@ -2123,33 +2205,33 @@
2123
2205
  }
2124
2206
  while (true);
2125
2207
  };
2126
- protoOf(GameServer$fromClientEvent$slambda).gbp = function ($this$dispatchAsync, store, completion) {
2127
- var i = new GameServer$fromClientEvent$slambda(this.se9_1, completion);
2128
- i.te9_1 = $this$dispatchAsync;
2129
- i.ue9_1 = store;
2208
+ protoOf(GameServer$fromClientEvent$slambda).dbp = function ($this$dispatchAsync, store, completion) {
2209
+ var i = new GameServer$fromClientEvent$slambda(this.re9_1, completion);
2210
+ i.se9_1 = $this$dispatchAsync;
2211
+ i.te9_1 = store;
2130
2212
  return i;
2131
2213
  };
2132
2214
  function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
2133
2215
  var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
2134
2216
  var l = function ($this$dispatchAsync, store, $completion) {
2135
- return i.fbp($this$dispatchAsync, store, $completion);
2217
+ return i.cbp($this$dispatchAsync, store, $completion);
2136
2218
  };
2137
2219
  l.$arity = 2;
2138
2220
  return l;
2139
2221
  }
2140
2222
  function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
2141
- this.dea_1 = $playerId;
2223
+ this.cea_1 = $playerId;
2142
2224
  CoroutineImpl.call(this, resultContinuation);
2143
2225
  }
2144
- protoOf(GameServer$playerLostConnection$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
2145
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2226
+ protoOf(GameServer$playerLostConnection$slambda).cbp = function ($this$dispatchAsync, store, $completion) {
2227
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2146
2228
  tmp.u8_1 = Unit_instance;
2147
2229
  tmp.v8_1 = null;
2148
2230
  return tmp.a9();
2149
2231
  };
2150
2232
  protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
2151
2233
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2152
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2234
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2153
2235
  };
2154
2236
  protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
2155
2237
  var suspendResult = this.u8_1;
@@ -2158,12 +2240,12 @@
2158
2240
  var tmp = this.s8_1;
2159
2241
  if (tmp === 0) {
2160
2242
  this.t8_1 = 1;
2161
- if (!get_isCreated(this.fea_1.state)) {
2243
+ if (!get_isCreated(this.eea_1.state)) {
2162
2244
  return Unit_instance;
2163
2245
  }
2164
- var tmp_0 = this.fea_1.dispatch;
2246
+ var tmp_0 = this.eea_1.dispatch;
2165
2247
  var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
2166
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.dea_1));
2248
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.cea_1));
2167
2249
  return Unit_instance;
2168
2250
  } else if (tmp === 1) {
2169
2251
  throw this.v8_1;
@@ -2174,34 +2256,34 @@
2174
2256
  }
2175
2257
  while (true);
2176
2258
  };
2177
- protoOf(GameServer$playerLostConnection$slambda).gbp = function ($this$dispatchAsync, store, completion) {
2178
- var i = new GameServer$playerLostConnection$slambda(this.dea_1, completion);
2179
- i.eea_1 = $this$dispatchAsync;
2180
- i.fea_1 = store;
2259
+ protoOf(GameServer$playerLostConnection$slambda).dbp = function ($this$dispatchAsync, store, completion) {
2260
+ var i = new GameServer$playerLostConnection$slambda(this.cea_1, completion);
2261
+ i.dea_1 = $this$dispatchAsync;
2262
+ i.eea_1 = store;
2181
2263
  return i;
2182
2264
  };
2183
2265
  function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
2184
2266
  var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
2185
2267
  var l = function ($this$dispatchAsync, store, $completion) {
2186
- return i.fbp($this$dispatchAsync, store, $completion);
2268
+ return i.cbp($this$dispatchAsync, store, $completion);
2187
2269
  };
2188
2270
  l.$arity = 2;
2189
2271
  return l;
2190
2272
  }
2191
2273
  function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
2192
- this.oea_1 = this$0;
2193
- this.pea_1 = $playerId;
2274
+ this.nea_1 = this$0;
2275
+ this.oea_1 = $playerId;
2194
2276
  CoroutineImpl.call(this, resultContinuation);
2195
2277
  }
2196
- protoOf(GameServer$playerLive$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
2197
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2278
+ protoOf(GameServer$playerLive$slambda).cbp = function ($this$dispatchAsync, store, $completion) {
2279
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2198
2280
  tmp.u8_1 = Unit_instance;
2199
2281
  tmp.v8_1 = null;
2200
2282
  return tmp.a9();
2201
2283
  };
2202
2284
  protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
2203
2285
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2204
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2286
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2205
2287
  };
2206
2288
  protoOf(GameServer$playerLive$slambda).a9 = function () {
2207
2289
  var suspendResult = this.u8_1;
@@ -2210,16 +2292,16 @@
2210
2292
  var tmp = this.s8_1;
2211
2293
  if (tmp === 0) {
2212
2294
  this.t8_1 = 1;
2213
- if (get_isFinished(this.rea_1.state) || get_isFinishing(this.rea_1.state)) {
2295
+ if (get_isFinished(this.qea_1.state) || get_isFinishing(this.qea_1.state)) {
2214
2296
  return Unit_instance;
2215
2297
  }
2216
- if (!get_isCreated(this.rea_1.state) || !this.oea_1.h6f().e72()) {
2217
- this.oea_1.b56().v('GameEngine_API', 'playerLive: ' + this.pea_1 + ' before game is created');
2298
+ if (!_get_serverReduxConfig__rprcrm(this.nea_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.qea_1.state) || !this.nea_1.h6f().e72())) {
2299
+ this.nea_1.b56().v('GameEngine_API', 'playerLive: ' + this.oea_1 + ' before game is created');
2218
2300
  return Unit_instance;
2219
2301
  }
2220
- var tmp_0 = this.rea_1.dispatch;
2302
+ var tmp_0 = this.qea_1.dispatch;
2221
2303
  var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
2222
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.pea_1));
2304
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.oea_1));
2223
2305
  return Unit_instance;
2224
2306
  } else if (tmp === 1) {
2225
2307
  throw this.v8_1;
@@ -2230,35 +2312,35 @@
2230
2312
  }
2231
2313
  while (true);
2232
2314
  };
2233
- protoOf(GameServer$playerLive$slambda).gbp = function ($this$dispatchAsync, store, completion) {
2234
- var i = new GameServer$playerLive$slambda(this.oea_1, this.pea_1, completion);
2235
- i.qea_1 = $this$dispatchAsync;
2236
- i.rea_1 = store;
2315
+ protoOf(GameServer$playerLive$slambda).dbp = function ($this$dispatchAsync, store, completion) {
2316
+ var i = new GameServer$playerLive$slambda(this.nea_1, this.oea_1, completion);
2317
+ i.pea_1 = $this$dispatchAsync;
2318
+ i.qea_1 = store;
2237
2319
  return i;
2238
2320
  };
2239
2321
  function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
2240
2322
  var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
2241
2323
  var l = function ($this$dispatchAsync, store, $completion) {
2242
- return i.fbp($this$dispatchAsync, store, $completion);
2324
+ return i.cbp($this$dispatchAsync, store, $completion);
2243
2325
  };
2244
2326
  l.$arity = 2;
2245
2327
  return l;
2246
2328
  }
2247
2329
  function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation) {
2248
- this.aeb_1 = this$0;
2249
- this.beb_1 = $playerId;
2250
- this.ceb_1 = $permanently;
2330
+ this.zea_1 = this$0;
2331
+ this.aeb_1 = $playerId;
2332
+ this.beb_1 = $permanently;
2251
2333
  CoroutineImpl.call(this, resultContinuation);
2252
2334
  }
2253
- protoOf(GameServer$playerLeft$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
2254
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2335
+ protoOf(GameServer$playerLeft$slambda).cbp = function ($this$dispatchAsync, store, $completion) {
2336
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2255
2337
  tmp.u8_1 = Unit_instance;
2256
2338
  tmp.v8_1 = null;
2257
2339
  return tmp.a9();
2258
2340
  };
2259
2341
  protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
2260
2342
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2261
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2343
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2262
2344
  };
2263
2345
  protoOf(GameServer$playerLeft$slambda).a9 = function () {
2264
2346
  var suspendResult = this.u8_1;
@@ -2267,22 +2349,22 @@
2267
2349
  var tmp = this.s8_1;
2268
2350
  if (tmp === 0) {
2269
2351
  this.t8_1 = 1;
2270
- if (get_isFinished(this.eeb_1.state) || get_isFinishing(this.eeb_1.state)) {
2352
+ if (get_isFinished(this.deb_1.state) || get_isFinishing(this.deb_1.state)) {
2271
2353
  return Unit_instance;
2272
2354
  }
2273
- if (!get_isCreated(this.eeb_1.state) || !this.aeb_1.h6f().e72()) {
2274
- this.aeb_1.b56().w('GameEngine_API', 'playerLeft: ' + this.beb_1 + ' before game is created');
2355
+ if (!get_isCreated(this.deb_1.state) || !this.zea_1.h6f().e72()) {
2356
+ this.zea_1.b56().w('GameEngine_API', 'playerLeft: ' + this.aeb_1 + ' before game is created');
2275
2357
  return Unit_instance;
2276
2358
  }
2277
- var tmp_0 = this.eeb_1.dispatch;
2359
+ var tmp_0 = this.deb_1.dispatch;
2278
2360
  var tmp_1;
2279
- if (this.ceb_1) {
2361
+ if (this.beb_1) {
2280
2362
  tmp_1 = PlayerConnectionState_LEFT_getInstance();
2281
2363
  } else {
2282
2364
  tmp_1 = PlayerConnectionState_LEFT_getInstance();
2283
2365
  }
2284
2366
  var tmp0_connectionState = tmp_1;
2285
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.beb_1));
2367
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.aeb_1));
2286
2368
  return Unit_instance;
2287
2369
  } else if (tmp === 1) {
2288
2370
  throw this.v8_1;
@@ -2293,39 +2375,39 @@
2293
2375
  }
2294
2376
  while (true);
2295
2377
  };
2296
- protoOf(GameServer$playerLeft$slambda).gbp = function ($this$dispatchAsync, store, completion) {
2297
- var i = new GameServer$playerLeft$slambda(this.aeb_1, this.beb_1, this.ceb_1, completion);
2298
- i.deb_1 = $this$dispatchAsync;
2299
- i.eeb_1 = store;
2378
+ protoOf(GameServer$playerLeft$slambda).dbp = function ($this$dispatchAsync, store, completion) {
2379
+ var i = new GameServer$playerLeft$slambda(this.zea_1, this.aeb_1, this.beb_1, completion);
2380
+ i.ceb_1 = $this$dispatchAsync;
2381
+ i.deb_1 = store;
2300
2382
  return i;
2301
2383
  };
2302
2384
  function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, resultContinuation) {
2303
2385
  var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation);
2304
2386
  var l = function ($this$dispatchAsync, store, $completion) {
2305
- return i.fbp($this$dispatchAsync, store, $completion);
2387
+ return i.cbp($this$dispatchAsync, store, $completion);
2306
2388
  };
2307
2389
  l.$arity = 2;
2308
2390
  return l;
2309
2391
  }
2310
2392
  function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
2311
- this.neb_1 = $usersArray;
2312
- this.oeb_1 = $config;
2313
- this.peb_1 = this$0;
2314
- this.qeb_1 = $roomId;
2315
- this.reb_1 = $transition;
2316
- this.seb_1 = $gameCreatorId;
2317
- this.teb_1 = $spectators;
2393
+ this.meb_1 = $usersArray;
2394
+ this.neb_1 = $config;
2395
+ this.oeb_1 = this$0;
2396
+ this.peb_1 = $roomId;
2397
+ this.qeb_1 = $transition;
2398
+ this.reb_1 = $gameCreatorId;
2399
+ this.seb_1 = $spectators;
2318
2400
  CoroutineImpl.call(this, resultContinuation);
2319
2401
  }
2320
- protoOf(GameServer$roomOnCreate$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
2321
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2402
+ protoOf(GameServer$roomOnCreate$slambda).cbp = function ($this$dispatchAsync, store, $completion) {
2403
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2322
2404
  tmp.u8_1 = Unit_instance;
2323
2405
  tmp.v8_1 = null;
2324
2406
  return tmp.a9();
2325
2407
  };
2326
2408
  protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
2327
2409
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2328
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2410
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2329
2411
  };
2330
2412
  protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
2331
2413
  var suspendResult = this.u8_1;
@@ -2334,28 +2416,28 @@
2334
2416
  var tmp = this.s8_1;
2335
2417
  if (tmp === 0) {
2336
2418
  this.t8_1 = 1;
2337
- var users = toList(this.neb_1);
2338
- if (!(this.oeb_1.playersMode.count === users.o())) {
2339
- this.peb_1.b56().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.qeb_1 + ', config = ' + this.oeb_1.toString() + ', users = ' + toString(users));
2340
- this.veb_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.peb_1.table.isGameFinished, this.peb_1.table));
2419
+ var users = toList(this.meb_1);
2420
+ if (!(this.neb_1.playersMode.count === users.o())) {
2421
+ this.oeb_1.b56().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.peb_1 + ', config = ' + this.neb_1.toString() + ', users = ' + toString(users));
2422
+ this.ueb_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.oeb_1.table.isGameFinished, this.oeb_1.table));
2341
2423
  return Unit_instance;
2342
2424
  }
2343
2425
  var tmp_0;
2344
- if (this.oeb_1.mode.shufflePlayers && this.reb_1 == null) {
2345
- tmp_0 = _get_random__h29cgo(this.peb_1).l5t(toMutableList(users));
2426
+ if (this.neb_1.mode.shufflePlayers && this.qeb_1 == null) {
2427
+ tmp_0 = _get_random__h29cgo(this.oeb_1).l5t(toMutableList(users));
2346
2428
  } else {
2347
- var tmp0_safe_receiver = this.reb_1;
2429
+ var tmp0_safe_receiver = this.qeb_1;
2348
2430
  var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
2349
2431
  var tmp_1;
2350
- if (!(previousPlayers == null) && this.oeb_1.playersMode.isTeamGame) {
2351
- var tmp_2 = _get_teamsLogicProvider__u10pm6(this.peb_1);
2432
+ if (!(previousPlayers == null) && this.neb_1.playersMode.isTeamGame) {
2433
+ var tmp_2 = _get_teamsLogicProvider__u10pm6(this.oeb_1);
2352
2434
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
2353
2435
  var _iterator__ex2g4s = previousPlayers.l();
2354
2436
  while (_iterator__ex2g4s.m()) {
2355
2437
  var item = _iterator__ex2g4s.n();
2356
2438
  destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
2357
2439
  }
2358
- var previousTeams = tmp_2.z9a(destination);
2440
+ var previousTeams = tmp_2.b9b(destination);
2359
2441
  var destination_0 = ArrayList_init_$Create$_0();
2360
2442
  var _iterator__ex2g4s_0 = users.l();
2361
2443
  while (_iterator__ex2g4s_0.m()) {
@@ -2379,19 +2461,19 @@
2379
2461
  destination_1.j(destination_2);
2380
2462
  }
2381
2463
  var updatedTeams = destination_1;
2382
- tmp_1 = _get_teamsLogicProvider__u10pm6(this.peb_1).d9b(updatedTeams);
2464
+ tmp_1 = _get_teamsLogicProvider__u10pm6(this.oeb_1).f9b(updatedTeams);
2383
2465
  } else {
2384
2466
  tmp_1 = users;
2385
2467
  }
2386
2468
  tmp_0 = tmp_1;
2387
2469
  }
2388
2470
  var updatedUsers = tmp_0;
2389
- var gameCreatorUser = getPlayer(users, this.seb_1);
2390
- var tmp_3 = this.veb_1.dispatch;
2471
+ var gameCreatorUser = getPlayer(users, this.reb_1);
2472
+ var tmp_3 = this.ueb_1.dispatch;
2391
2473
  var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
2392
2474
  var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
2393
- var tmp3_spectators = toList(this.teb_1);
2394
- tmp_3(new StartGameMechanicAction(this.oeb_1, this.qeb_1, tmp1_version, this.seb_1, tmp2_users, VOID, tmp3_spectators));
2475
+ var tmp3_spectators = toList(this.seb_1);
2476
+ tmp_3(new StartGameMechanicAction(this.neb_1, this.peb_1, tmp1_version, this.reb_1, tmp2_users, VOID, tmp3_spectators));
2395
2477
  return Unit_instance;
2396
2478
  } else if (tmp === 1) {
2397
2479
  throw this.v8_1;
@@ -2402,33 +2484,33 @@
2402
2484
  }
2403
2485
  while (true);
2404
2486
  };
2405
- protoOf(GameServer$roomOnCreate$slambda).gbp = function ($this$dispatchAsync, store, completion) {
2406
- var i = new GameServer$roomOnCreate$slambda(this.neb_1, this.oeb_1, this.peb_1, this.qeb_1, this.reb_1, this.seb_1, this.teb_1, completion);
2407
- i.ueb_1 = $this$dispatchAsync;
2408
- i.veb_1 = store;
2487
+ protoOf(GameServer$roomOnCreate$slambda).dbp = function ($this$dispatchAsync, store, completion) {
2488
+ var i = new GameServer$roomOnCreate$slambda(this.meb_1, this.neb_1, this.oeb_1, this.peb_1, this.qeb_1, this.reb_1, this.seb_1, completion);
2489
+ i.teb_1 = $this$dispatchAsync;
2490
+ i.ueb_1 = store;
2409
2491
  return i;
2410
2492
  };
2411
2493
  function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
2412
2494
  var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
2413
2495
  var l = function ($this$dispatchAsync, store, $completion) {
2414
- return i.fbp($this$dispatchAsync, store, $completion);
2496
+ return i.cbp($this$dispatchAsync, store, $completion);
2415
2497
  };
2416
2498
  l.$arity = 2;
2417
2499
  return l;
2418
2500
  }
2419
2501
  function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
2420
- this.eec_1 = $state;
2502
+ this.dec_1 = $state;
2421
2503
  CoroutineImpl.call(this, resultContinuation);
2422
2504
  }
2423
- protoOf(GameServer$roomOnContinueFromState$slambda).hec = function ($this$dispatchAwait, store, $completion) {
2424
- var tmp = this.gbp($this$dispatchAwait, store, $completion);
2505
+ protoOf(GameServer$roomOnContinueFromState$slambda).gec = function ($this$dispatchAwait, store, $completion) {
2506
+ var tmp = this.dbp($this$dispatchAwait, store, $completion);
2425
2507
  tmp.u8_1 = Unit_instance;
2426
2508
  tmp.v8_1 = null;
2427
2509
  return tmp.a9();
2428
2510
  };
2429
2511
  protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
2430
2512
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2431
- return this.hec(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2513
+ return this.gec(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2432
2514
  };
2433
2515
  protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
2434
2516
  var suspendResult = this.u8_1;
@@ -2437,10 +2519,10 @@
2437
2519
  var tmp = this.s8_1;
2438
2520
  if (tmp === 0) {
2439
2521
  this.t8_1 = 1;
2440
- if (get_isCreating(this.gec_1.state)) {
2441
- var tmp_0 = this.gec_1.dispatch;
2522
+ if (get_isCreating(this.fec_1.state)) {
2523
+ var tmp_0 = this.fec_1.dispatch;
2442
2524
  var tmp0_reason = new RestartRoundReason(null);
2443
- var tmp1_table = this.eec_1.table;
2525
+ var tmp1_table = this.dec_1.table;
2444
2526
  tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
2445
2527
  return true;
2446
2528
  }
@@ -2454,34 +2536,34 @@
2454
2536
  }
2455
2537
  while (true);
2456
2538
  };
2457
- protoOf(GameServer$roomOnContinueFromState$slambda).gbp = function ($this$dispatchAwait, store, completion) {
2458
- var i = new GameServer$roomOnContinueFromState$slambda(this.eec_1, completion);
2459
- i.fec_1 = $this$dispatchAwait;
2460
- i.gec_1 = store;
2539
+ protoOf(GameServer$roomOnContinueFromState$slambda).dbp = function ($this$dispatchAwait, store, completion) {
2540
+ var i = new GameServer$roomOnContinueFromState$slambda(this.dec_1, completion);
2541
+ i.eec_1 = $this$dispatchAwait;
2542
+ i.fec_1 = store;
2461
2543
  return i;
2462
2544
  };
2463
2545
  function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
2464
2546
  var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
2465
2547
  var l = function ($this$dispatchAwait, store, $completion) {
2466
- return i.hec($this$dispatchAwait, store, $completion);
2548
+ return i.gec($this$dispatchAwait, store, $completion);
2467
2549
  };
2468
2550
  l.$arity = 2;
2469
2551
  return l;
2470
2552
  }
2471
2553
  function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
2472
- this.qec_1 = $isCreated;
2473
- this.rec_1 = $state;
2554
+ this.pec_1 = $isCreated;
2555
+ this.qec_1 = $state;
2474
2556
  CoroutineImpl.call(this, resultContinuation);
2475
2557
  }
2476
- protoOf(GameServer$roomOnContinueFromState$slambda_1).fbp = function ($this$dispatchAsync, store, $completion) {
2477
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2558
+ protoOf(GameServer$roomOnContinueFromState$slambda_1).cbp = function ($this$dispatchAsync, store, $completion) {
2559
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2478
2560
  tmp.u8_1 = Unit_instance;
2479
2561
  tmp.v8_1 = null;
2480
2562
  return tmp.a9();
2481
2563
  };
2482
2564
  protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
2483
2565
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2484
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2566
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2485
2567
  };
2486
2568
  protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
2487
2569
  var suspendResult = this.u8_1;
@@ -2492,7 +2574,7 @@
2492
2574
  case 0:
2493
2575
  this.t8_1 = 3;
2494
2576
  this.s8_1 = 1;
2495
- suspendResult = this.qec_1.f1p(this);
2577
+ suspendResult = this.pec_1.f1p(this);
2496
2578
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2497
2579
  return suspendResult;
2498
2580
  }
@@ -2500,10 +2582,10 @@
2500
2582
  continue $sm;
2501
2583
  case 1:
2502
2584
  if (suspendResult) {
2503
- var _iterator__ex2g4s = this.rec_1.actions.l();
2585
+ var _iterator__ex2g4s = this.qec_1.actions.l();
2504
2586
  while (_iterator__ex2g4s.m()) {
2505
2587
  var element = _iterator__ex2g4s.n();
2506
- this.tec_1.dispatch(element);
2588
+ this.sec_1.dispatch(element);
2507
2589
  }
2508
2590
  this.s8_1 = 2;
2509
2591
  continue $sm;
@@ -2528,35 +2610,35 @@
2528
2610
  }
2529
2611
  while (true);
2530
2612
  };
2531
- protoOf(GameServer$roomOnContinueFromState$slambda_1).gbp = function ($this$dispatchAsync, store, completion) {
2532
- var i = new GameServer$roomOnContinueFromState$slambda_1(this.qec_1, this.rec_1, completion);
2533
- i.sec_1 = $this$dispatchAsync;
2534
- i.tec_1 = store;
2613
+ protoOf(GameServer$roomOnContinueFromState$slambda_1).dbp = function ($this$dispatchAsync, store, completion) {
2614
+ var i = new GameServer$roomOnContinueFromState$slambda_1(this.pec_1, this.qec_1, completion);
2615
+ i.rec_1 = $this$dispatchAsync;
2616
+ i.sec_1 = store;
2535
2617
  return i;
2536
2618
  };
2537
2619
  function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
2538
2620
  var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
2539
2621
  var l = function ($this$dispatchAsync, store, $completion) {
2540
- return i.fbp($this$dispatchAsync, store, $completion);
2622
+ return i.cbp($this$dispatchAsync, store, $completion);
2541
2623
  };
2542
2624
  l.$arity = 2;
2543
2625
  return l;
2544
2626
  }
2545
2627
  function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
2546
- this.ced_1 = $tableLite;
2547
- this.ded_1 = $roomId;
2548
- this.eed_1 = this$0;
2628
+ this.bed_1 = $tableLite;
2629
+ this.ced_1 = $roomId;
2630
+ this.ded_1 = this$0;
2549
2631
  CoroutineImpl.call(this, resultContinuation);
2550
2632
  }
2551
- protoOf(GameServer$roomOnContinueFromRound$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
2552
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2633
+ protoOf(GameServer$roomOnContinueFromRound$slambda).cbp = function ($this$dispatchAsync, store, $completion) {
2634
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2553
2635
  tmp.u8_1 = Unit_instance;
2554
2636
  tmp.v8_1 = null;
2555
2637
  return tmp.a9();
2556
2638
  };
2557
2639
  protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
2558
2640
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2559
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2641
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2560
2642
  };
2561
2643
  protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
2562
2644
  var suspendResult = this.u8_1;
@@ -2565,9 +2647,9 @@
2565
2647
  var tmp = this.s8_1;
2566
2648
  if (tmp === 0) {
2567
2649
  this.t8_1 = 1;
2568
- var tmp_0 = this.ged_1.dispatch;
2569
- var tmp0_reason = new RestartRoundReason(this.ced_1.gameInfo.round.roundNumber);
2570
- var tmp1_table = Companion_instance_0.restartRound(this.ded_1, _get_idsProvider__fnfajc(this.eed_1).z6m(), get_versionOrDefault(GameEngineConfig_instance), this.ced_1);
2650
+ var tmp_0 = this.fed_1.dispatch;
2651
+ var tmp0_reason = new RestartRoundReason(this.bed_1.gameInfo.round.roundNumber);
2652
+ var tmp1_table = Companion_instance_0.restartRound(this.ced_1, _get_idsProvider__fnfajc(this.ded_1).z6m(), get_versionOrDefault(GameEngineConfig_instance), this.bed_1);
2571
2653
  tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
2572
2654
  return Unit_instance;
2573
2655
  } else if (tmp === 1) {
@@ -2579,16 +2661,16 @@
2579
2661
  }
2580
2662
  while (true);
2581
2663
  };
2582
- protoOf(GameServer$roomOnContinueFromRound$slambda).gbp = function ($this$dispatchAsync, store, completion) {
2583
- var i = new GameServer$roomOnContinueFromRound$slambda(this.ced_1, this.ded_1, this.eed_1, completion);
2584
- i.fed_1 = $this$dispatchAsync;
2585
- i.ged_1 = store;
2664
+ protoOf(GameServer$roomOnContinueFromRound$slambda).dbp = function ($this$dispatchAsync, store, completion) {
2665
+ var i = new GameServer$roomOnContinueFromRound$slambda(this.bed_1, this.ced_1, this.ded_1, completion);
2666
+ i.eed_1 = $this$dispatchAsync;
2667
+ i.fed_1 = store;
2586
2668
  return i;
2587
2669
  };
2588
2670
  function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
2589
2671
  var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
2590
2672
  var l = function ($this$dispatchAsync, store, $completion) {
2591
- return i.fbp($this$dispatchAsync, store, $completion);
2673
+ return i.cbp($this$dispatchAsync, store, $completion);
2592
2674
  };
2593
2675
  l.$arity = 2;
2594
2676
  return l;
@@ -2596,15 +2678,15 @@
2596
2678
  function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
2597
2679
  CoroutineImpl.call(this, resultContinuation);
2598
2680
  }
2599
- protoOf(GameServer$roomOnContinueFromRound$slambda_1).fbp = function ($this$dispatchAsync, store, $completion) {
2600
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2681
+ protoOf(GameServer$roomOnContinueFromRound$slambda_1).cbp = function ($this$dispatchAsync, store, $completion) {
2682
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2601
2683
  tmp.u8_1 = Unit_instance;
2602
2684
  tmp.v8_1 = null;
2603
2685
  return tmp.a9();
2604
2686
  };
2605
2687
  protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
2606
2688
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2607
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2689
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2608
2690
  };
2609
2691
  protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
2610
2692
  var suspendResult = this.u8_1;
@@ -2613,7 +2695,7 @@
2613
2695
  var tmp = this.s8_1;
2614
2696
  if (tmp === 0) {
2615
2697
  this.t8_1 = 1;
2616
- this.qed_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
2698
+ this.ped_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
2617
2699
  return Unit_instance;
2618
2700
  } else if (tmp === 1) {
2619
2701
  throw this.v8_1;
@@ -2624,33 +2706,33 @@
2624
2706
  }
2625
2707
  while (true);
2626
2708
  };
2627
- protoOf(GameServer$roomOnContinueFromRound$slambda_1).gbp = function ($this$dispatchAsync, store, completion) {
2709
+ protoOf(GameServer$roomOnContinueFromRound$slambda_1).dbp = function ($this$dispatchAsync, store, completion) {
2628
2710
  var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
2629
- i.ped_1 = $this$dispatchAsync;
2630
- i.qed_1 = store;
2711
+ i.oed_1 = $this$dispatchAsync;
2712
+ i.ped_1 = store;
2631
2713
  return i;
2632
2714
  };
2633
2715
  function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
2634
2716
  var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
2635
2717
  var l = function ($this$dispatchAsync, store, $completion) {
2636
- return i.fbp($this$dispatchAsync, store, $completion);
2718
+ return i.cbp($this$dispatchAsync, store, $completion);
2637
2719
  };
2638
2720
  l.$arity = 2;
2639
2721
  return l;
2640
2722
  }
2641
2723
  function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
2642
- this.zed_1 = $spectators;
2724
+ this.yed_1 = $spectators;
2643
2725
  CoroutineImpl.call(this, resultContinuation);
2644
2726
  }
2645
- protoOf(GameServer$addSpectatorsToRoom$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
2646
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2727
+ protoOf(GameServer$addSpectatorsToRoom$slambda).cbp = function ($this$dispatchAsync, store, $completion) {
2728
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2647
2729
  tmp.u8_1 = Unit_instance;
2648
2730
  tmp.v8_1 = null;
2649
2731
  return tmp.a9();
2650
2732
  };
2651
2733
  protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
2652
2734
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2653
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2735
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2654
2736
  };
2655
2737
  protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
2656
2738
  var suspendResult = this.u8_1;
@@ -2659,7 +2741,7 @@
2659
2741
  var tmp = this.s8_1;
2660
2742
  if (tmp === 0) {
2661
2743
  this.t8_1 = 1;
2662
- this.bee_1.dispatch(new AddSpectatorsAction(toList(this.zed_1)));
2744
+ this.aee_1.dispatch(new AddSpectatorsAction(toList(this.yed_1)));
2663
2745
  return Unit_instance;
2664
2746
  } else if (tmp === 1) {
2665
2747
  throw this.v8_1;
@@ -2670,33 +2752,33 @@
2670
2752
  }
2671
2753
  while (true);
2672
2754
  };
2673
- protoOf(GameServer$addSpectatorsToRoom$slambda).gbp = function ($this$dispatchAsync, store, completion) {
2674
- var i = new GameServer$addSpectatorsToRoom$slambda(this.zed_1, completion);
2675
- i.aee_1 = $this$dispatchAsync;
2676
- i.bee_1 = store;
2755
+ protoOf(GameServer$addSpectatorsToRoom$slambda).dbp = function ($this$dispatchAsync, store, completion) {
2756
+ var i = new GameServer$addSpectatorsToRoom$slambda(this.yed_1, completion);
2757
+ i.zed_1 = $this$dispatchAsync;
2758
+ i.aee_1 = store;
2677
2759
  return i;
2678
2760
  };
2679
2761
  function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
2680
2762
  var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
2681
2763
  var l = function ($this$dispatchAsync, store, $completion) {
2682
- return i.fbp($this$dispatchAsync, store, $completion);
2764
+ return i.cbp($this$dispatchAsync, store, $completion);
2683
2765
  };
2684
2766
  l.$arity = 2;
2685
2767
  return l;
2686
2768
  }
2687
2769
  function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
2688
- this.kee_1 = $spectators;
2770
+ this.jee_1 = $spectators;
2689
2771
  CoroutineImpl.call(this, resultContinuation);
2690
2772
  }
2691
- protoOf(GameServer$removeSpectatorsFromRoom$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
2692
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2773
+ protoOf(GameServer$removeSpectatorsFromRoom$slambda).cbp = function ($this$dispatchAsync, store, $completion) {
2774
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2693
2775
  tmp.u8_1 = Unit_instance;
2694
2776
  tmp.v8_1 = null;
2695
2777
  return tmp.a9();
2696
2778
  };
2697
2779
  protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
2698
2780
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2699
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2781
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2700
2782
  };
2701
2783
  protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
2702
2784
  var suspendResult = this.u8_1;
@@ -2705,7 +2787,7 @@
2705
2787
  var tmp = this.s8_1;
2706
2788
  if (tmp === 0) {
2707
2789
  this.t8_1 = 1;
2708
- this.mee_1.dispatch(new RemoveSpectatorsAction(toList(this.kee_1)));
2790
+ this.lee_1.dispatch(new RemoveSpectatorsAction(toList(this.jee_1)));
2709
2791
  return Unit_instance;
2710
2792
  } else if (tmp === 1) {
2711
2793
  throw this.v8_1;
@@ -2716,34 +2798,34 @@
2716
2798
  }
2717
2799
  while (true);
2718
2800
  };
2719
- protoOf(GameServer$removeSpectatorsFromRoom$slambda).gbp = function ($this$dispatchAsync, store, completion) {
2720
- var i = new GameServer$removeSpectatorsFromRoom$slambda(this.kee_1, completion);
2721
- i.lee_1 = $this$dispatchAsync;
2722
- i.mee_1 = store;
2801
+ protoOf(GameServer$removeSpectatorsFromRoom$slambda).dbp = function ($this$dispatchAsync, store, completion) {
2802
+ var i = new GameServer$removeSpectatorsFromRoom$slambda(this.jee_1, completion);
2803
+ i.kee_1 = $this$dispatchAsync;
2804
+ i.lee_1 = store;
2723
2805
  return i;
2724
2806
  };
2725
2807
  function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
2726
2808
  var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
2727
2809
  var l = function ($this$dispatchAsync, store, $completion) {
2728
- return i.fbp($this$dispatchAsync, store, $completion);
2810
+ return i.cbp($this$dispatchAsync, store, $completion);
2729
2811
  };
2730
2812
  l.$arity = 2;
2731
2813
  return l;
2732
2814
  }
2733
2815
  function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
2734
- this.vee_1 = $playerId;
2735
- this.wee_1 = this$0;
2816
+ this.uee_1 = $playerId;
2817
+ this.vee_1 = this$0;
2736
2818
  CoroutineImpl.call(this, resultContinuation);
2737
2819
  }
2738
- protoOf(GameServer$roomRefreshPlayerState$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
2739
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2820
+ protoOf(GameServer$roomRefreshPlayerState$slambda).cbp = function ($this$dispatchAsync, store, $completion) {
2821
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2740
2822
  tmp.u8_1 = Unit_instance;
2741
2823
  tmp.v8_1 = null;
2742
2824
  return tmp.a9();
2743
2825
  };
2744
2826
  protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
2745
2827
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2746
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2828
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2747
2829
  };
2748
2830
  protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
2749
2831
  var suspendResult = this.u8_1;
@@ -2752,14 +2834,14 @@
2752
2834
  var tmp = this.s8_1;
2753
2835
  if (tmp === 0) {
2754
2836
  this.t8_1 = 1;
2755
- var table = this.yee_1.state.c72();
2756
- var player = getPlayer(table.players, this.vee_1);
2757
- if (player.m75_1.k6h().z6f_1.isLive) {
2758
- this.yee_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.wee_1).d9i(player, table));
2837
+ var table = this.xee_1.state.c72();
2838
+ var player = getPlayer(table.players, this.uee_1);
2839
+ if (player.n75_1.k6h().z6f_1.isLive) {
2840
+ this.xee_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.vee_1).yee(player, table));
2759
2841
  } else {
2760
- var tmp_0 = this.yee_1.dispatch;
2842
+ var tmp_0 = this.xee_1.dispatch;
2761
2843
  var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
2762
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.vee_1));
2844
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.uee_1));
2763
2845
  }
2764
2846
  return Unit_instance;
2765
2847
  } else if (tmp === 1) {
@@ -2771,16 +2853,16 @@
2771
2853
  }
2772
2854
  while (true);
2773
2855
  };
2774
- protoOf(GameServer$roomRefreshPlayerState$slambda).gbp = function ($this$dispatchAsync, store, completion) {
2775
- var i = new GameServer$roomRefreshPlayerState$slambda(this.vee_1, this.wee_1, completion);
2776
- i.xee_1 = $this$dispatchAsync;
2777
- i.yee_1 = store;
2856
+ protoOf(GameServer$roomRefreshPlayerState$slambda).dbp = function ($this$dispatchAsync, store, completion) {
2857
+ var i = new GameServer$roomRefreshPlayerState$slambda(this.uee_1, this.vee_1, completion);
2858
+ i.wee_1 = $this$dispatchAsync;
2859
+ i.xee_1 = store;
2778
2860
  return i;
2779
2861
  };
2780
2862
  function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
2781
2863
  var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
2782
2864
  var l = function ($this$dispatchAsync, store, $completion) {
2783
- return i.fbp($this$dispatchAsync, store, $completion);
2865
+ return i.cbp($this$dispatchAsync, store, $completion);
2784
2866
  };
2785
2867
  l.$arity = 2;
2786
2868
  return l;
@@ -2790,15 +2872,15 @@
2790
2872
  this.ief_1 = $newRid;
2791
2873
  CoroutineImpl.call(this, resultContinuation);
2792
2874
  }
2793
- protoOf(GameServer$roomOnDelete$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
2794
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2875
+ protoOf(GameServer$roomOnDelete$slambda).cbp = function ($this$dispatchAsync, store, $completion) {
2876
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2795
2877
  tmp.u8_1 = Unit_instance;
2796
2878
  tmp.v8_1 = null;
2797
2879
  return tmp.a9();
2798
2880
  };
2799
2881
  protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
2800
2882
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2801
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2883
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2802
2884
  };
2803
2885
  protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
2804
2886
  var suspendResult = this.u8_1;
@@ -2816,7 +2898,7 @@
2816
2898
  tmp_0 = it;
2817
2899
  }
2818
2900
  var terminationState = tmp_0;
2819
- var gameTransition = terminationState.h8m_1;
2901
+ var gameTransition = terminationState.j8m_1;
2820
2902
  var tmp_1;
2821
2903
  if (gameTransition instanceof GameToRoomTransition) {
2822
2904
  var tmp0_elvis_lhs = this.ief_1;
@@ -2826,7 +2908,7 @@
2826
2908
  }
2827
2909
  var transition = tmp_1;
2828
2910
  var tmp_2 = this.kef_1.dispatch;
2829
- var tmp0_reason = terminationState.g8m_1;
2911
+ var tmp0_reason = terminationState.i8m_1;
2830
2912
  var tmp1_isGameFinished = this.hef_1.h6f().c72().isGameFinished;
2831
2913
  tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
2832
2914
  return Unit_instance;
@@ -2839,7 +2921,7 @@
2839
2921
  }
2840
2922
  while (true);
2841
2923
  };
2842
- protoOf(GameServer$roomOnDelete$slambda).gbp = function ($this$dispatchAsync, store, completion) {
2924
+ protoOf(GameServer$roomOnDelete$slambda).dbp = function ($this$dispatchAsync, store, completion) {
2843
2925
  var i = new GameServer$roomOnDelete$slambda(this.hef_1, this.ief_1, completion);
2844
2926
  i.jef_1 = $this$dispatchAsync;
2845
2927
  i.kef_1 = store;
@@ -2848,7 +2930,7 @@
2848
2930
  function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
2849
2931
  var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
2850
2932
  var l = function ($this$dispatchAsync, store, $completion) {
2851
- return i.fbp($this$dispatchAsync, store, $completion);
2933
+ return i.cbp($this$dispatchAsync, store, $completion);
2852
2934
  };
2853
2935
  l.$arity = 2;
2854
2936
  return l;
@@ -2857,15 +2939,15 @@
2857
2939
  this.tef_1 = $enabled;
2858
2940
  CoroutineImpl.call(this, resultContinuation);
2859
2941
  }
2860
- protoOf(GameServer$setCanStartNewGameEnabled$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
2861
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2942
+ protoOf(GameServer$setCanStartNewGameEnabled$slambda).cbp = function ($this$dispatchAsync, store, $completion) {
2943
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2862
2944
  tmp.u8_1 = Unit_instance;
2863
2945
  tmp.v8_1 = null;
2864
2946
  return tmp.a9();
2865
2947
  };
2866
2948
  protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
2867
2949
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2868
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2950
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2869
2951
  };
2870
2952
  protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
2871
2953
  var suspendResult = this.u8_1;
@@ -2885,7 +2967,7 @@
2885
2967
  }
2886
2968
  while (true);
2887
2969
  };
2888
- protoOf(GameServer$setCanStartNewGameEnabled$slambda).gbp = function ($this$dispatchAsync, store, completion) {
2970
+ protoOf(GameServer$setCanStartNewGameEnabled$slambda).dbp = function ($this$dispatchAsync, store, completion) {
2889
2971
  var i = new GameServer$setCanStartNewGameEnabled$slambda(this.tef_1, completion);
2890
2972
  i.uef_1 = $this$dispatchAsync;
2891
2973
  i.vef_1 = store;
@@ -2894,7 +2976,7 @@
2894
2976
  function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
2895
2977
  var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
2896
2978
  var l = function ($this$dispatchAsync, store, $completion) {
2897
- return i.fbp($this$dispatchAsync, store, $completion);
2979
+ return i.cbp($this$dispatchAsync, store, $completion);
2898
2980
  };
2899
2981
  l.$arity = 2;
2900
2982
  return l;
@@ -2905,15 +2987,15 @@
2905
2987
  this.geg_1 = $roomId;
2906
2988
  CoroutineImpl.call(this, resultContinuation);
2907
2989
  }
2908
- protoOf(GameServer$shutdown$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
2909
- var tmp = this.gbp($this$dispatchAsync, store, $completion);
2990
+ protoOf(GameServer$shutdown$slambda).cbp = function ($this$dispatchAsync, store, $completion) {
2991
+ var tmp = this.dbp($this$dispatchAsync, store, $completion);
2910
2992
  tmp.u8_1 = Unit_instance;
2911
2993
  tmp.v8_1 = null;
2912
2994
  return tmp.a9();
2913
2995
  };
2914
2996
  protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
2915
2997
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2916
- return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2998
+ return this.cbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2917
2999
  };
2918
3000
  protoOf(GameServer$shutdown$slambda).a9 = function () {
2919
3001
  var suspendResult = this.u8_1;
@@ -2945,7 +3027,7 @@
2945
3027
  this.feg_1.b56().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.geg_1);
2946
3028
  var tmp_3 = this.ieg_1.dispatch;
2947
3029
  var tmp2_safe_receiver = state.c71_1;
2948
- tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.h8m_1));
3030
+ tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.j8m_1));
2949
3031
  }
2950
3032
  return Unit_instance;
2951
3033
  } else if (tmp === 1) {
@@ -2957,7 +3039,7 @@
2957
3039
  }
2958
3040
  while (true);
2959
3041
  };
2960
- protoOf(GameServer$shutdown$slambda).gbp = function ($this$dispatchAsync, store, completion) {
3042
+ protoOf(GameServer$shutdown$slambda).dbp = function ($this$dispatchAsync, store, completion) {
2961
3043
  var i = new GameServer$shutdown$slambda(this.eeg_1, this.feg_1, this.geg_1, completion);
2962
3044
  i.heg_1 = $this$dispatchAsync;
2963
3045
  i.ieg_1 = store;
@@ -2966,13 +3048,13 @@
2966
3048
  function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
2967
3049
  var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
2968
3050
  var l = function ($this$dispatchAsync, store, $completion) {
2969
- return i.fbp($this$dispatchAsync, store, $completion);
3051
+ return i.cbp($this$dispatchAsync, store, $completion);
2970
3052
  };
2971
3053
  l.$arity = 2;
2972
3054
  return l;
2973
3055
  }
2974
3056
  function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
2975
- preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_14.initial()) : preloadedState;
3057
+ preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_16.initial()) : preloadedState;
2976
3058
  var tmp;
2977
3059
  if (externalReducers === VOID) {
2978
3060
  // Inline function 'kotlin.collections.listOf' call
@@ -2997,7 +3079,7 @@
2997
3079
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
2998
3080
  var tmp_3 = Instance(di, tmp$ret$2, null);
2999
3081
  var tmp_4 = KProperty1;
3000
- tmp_1.re6_1 = tmp_3.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
3082
+ tmp_1.oe6_1 = tmp_3.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
3001
3083
  var tmp_5 = this;
3002
3084
  // Inline function 'org.kodein.di.instance' call
3003
3085
  // Inline function 'org.kodein.type.generic' call
@@ -3005,7 +3087,7 @@
3005
3087
  var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
3006
3088
  var tmp_7 = Instance(di, tmp$ret$4, null);
3007
3089
  var tmp_8 = KProperty1;
3008
- tmp_5.se6_1 = tmp_7.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
3090
+ tmp_5.pe6_1 = tmp_7.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
3009
3091
  var tmp_9 = this;
3010
3092
  // Inline function 'org.kodein.di.instance' call
3011
3093
  // Inline function 'org.kodein.type.generic' call
@@ -3013,7 +3095,7 @@
3013
3095
  var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
3014
3096
  var tmp_11 = Instance(di, tmp$ret$6, null);
3015
3097
  var tmp_12 = KProperty1;
3016
- tmp_9.te6_1 = tmp_11.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
3098
+ tmp_9.qe6_1 = tmp_11.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
3017
3099
  var tmp_13 = this;
3018
3100
  // Inline function 'org.kodein.di.instance' call
3019
3101
  // Inline function 'org.kodein.type.generic' call
@@ -3021,42 +3103,58 @@
3021
3103
  var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
3022
3104
  var tmp_15 = Instance(di, tmp$ret$8, null);
3023
3105
  var tmp_16 = KProperty1;
3024
- tmp_13.ue6_1 = tmp_15.c1h(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
3106
+ tmp_13.re6_1 = tmp_15.c1h(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
3025
3107
  var tmp_17 = this;
3026
- tmp_17.ve6_1 = lazy(GameServer$random$delegate$lambda(this));
3027
- var tmp_18 = this;
3028
3108
  // Inline function 'org.kodein.di.instance' call
3029
3109
  // Inline function 'org.kodein.type.generic' call
3030
- var tmp_19 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
3031
- var tmp$ret$10 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
3032
- var tmp_20 = Instance(di, tmp$ret$10, null);
3033
- var tmp_21 = KProperty1;
3034
- tmp_18.we6_1 = tmp_20.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_21, GameServer$_get_idsProvider_$ref_89s908(), null));
3110
+ var tmp_18 = typeToken(createKType(getKClass(UserRatingInteractor), arrayOf([]), false));
3111
+ var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
3112
+ var tmp_19 = Instance(di, tmp$ret$10, null);
3113
+ var tmp_20 = KProperty1;
3114
+ tmp_17.se6_1 = tmp_19.c1h(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
3115
+ var tmp_21 = this;
3116
+ tmp_21.te6_1 = lazy(GameServer$random$delegate$lambda(this));
3035
3117
  var tmp_22 = this;
3036
3118
  // Inline function 'org.kodein.di.instance' call
3037
3119
  // Inline function 'org.kodein.type.generic' call
3038
- var tmp_23 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
3120
+ var tmp_23 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
3039
3121
  var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
3040
3122
  var tmp_24 = Instance(di, tmp$ret$12, null);
3041
3123
  var tmp_25 = KProperty1;
3042
- tmp_22.xe6_1 = tmp_24.c1h(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_25, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
3124
+ tmp_22.ue6_1 = tmp_24.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
3043
3125
  var tmp_26 = this;
3044
3126
  // Inline function 'org.kodein.di.instance' call
3045
3127
  // Inline function 'org.kodein.type.generic' call
3046
- var tmp_27 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
3128
+ var tmp_27 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
3047
3129
  var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
3048
3130
  var tmp_28 = Instance(di, tmp$ret$14, null);
3049
3131
  var tmp_29 = KProperty1;
3050
- tmp_26.ye6_1 = tmp_28.c1h(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_29, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
3132
+ tmp_26.ve6_1 = tmp_28.c1h(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
3051
3133
  var tmp_30 = this;
3052
- var tmp0_externalMiddlewares = plus(storeContract.h9o(), externalMiddlewares);
3053
- var tmp1_externalReducers = plus(storeContract.g9o(), externalReducers);
3054
- tmp_30.ze6_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
3134
+ // Inline function 'org.kodein.di.instance' call
3135
+ // Inline function 'org.kodein.type.generic' call
3136
+ var tmp_31 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
3137
+ var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
3138
+ var tmp_32 = Instance(di, tmp$ret$16, null);
3139
+ var tmp_33 = KProperty1;
3140
+ tmp_30.we6_1 = tmp_32.c1h(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
3141
+ var tmp_34 = this;
3142
+ // Inline function 'org.kodein.di.instance' call
3143
+ // Inline function 'org.kodein.type.generic' call
3144
+ var tmp_35 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
3145
+ var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
3146
+ var tmp_36 = Instance(di, tmp$ret$18, null);
3147
+ var tmp_37 = KProperty1;
3148
+ tmp_34.xe6_1 = tmp_36.c1h(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
3149
+ var tmp_38 = this;
3150
+ var tmp0_externalMiddlewares = plus(storeContract.c9o(), externalMiddlewares);
3151
+ var tmp1_externalReducers = plus(storeContract.b9o(), externalReducers);
3152
+ tmp_38.ye6_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
3055
3153
  }
3056
3154
  protoOf(GameServer).s70 = function () {
3057
- return this.ze6_1;
3155
+ return this.ye6_1;
3058
3156
  };
3059
- protoOf(GameServer).g96 = function () {
3157
+ protoOf(GameServer).i96 = function () {
3060
3158
  return get_serverStatePayload(this.h6f()).metadata;
3061
3159
  };
3062
3160
  protoOf(GameServer).canReconnectPlayer = function (player) {
@@ -3067,7 +3165,7 @@
3067
3165
  if (player_0 == null) {
3068
3166
  return false;
3069
3167
  }
3070
- return player_0.m75_1.k6h().z6f_1.canReconnect;
3168
+ return player_0.n75_1.k6h().z6f_1.canReconnect;
3071
3169
  };
3072
3170
  protoOf(GameServer).t5j = function () {
3073
3171
  return this.h6f().c72().id;
@@ -3102,55 +3200,63 @@
3102
3200
  };
3103
3201
  protoOf(GameServer).fromClientEvent = function (action) {
3104
3202
  this.b56().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
3105
- this.ze6_1.a72(GameServer$fromClientEvent$slambda_0(action, null));
3203
+ this.ye6_1.a72(GameServer$fromClientEvent$slambda_0(action, null));
3106
3204
  };
3107
3205
  protoOf(GameServer).playerLostConnection = function (playerId) {
3108
3206
  this.b56().d('GameEngine_API', 'playerLostConnection: ' + playerId);
3109
- this.ze6_1.a72(GameServer$playerLostConnection$slambda_0(playerId, null));
3207
+ this.ye6_1.a72(GameServer$playerLostConnection$slambda_0(playerId, null));
3110
3208
  };
3111
3209
  protoOf(GameServer).playerLive = function (playerId) {
3112
3210
  this.b56().d('GameEngine_API', 'playerLive: ' + playerId);
3113
- this.ze6_1.a72(GameServer$playerLive$slambda_0(this, playerId, null));
3211
+ this.ye6_1.a72(GameServer$playerLive$slambda_0(this, playerId, null));
3114
3212
  };
3115
3213
  protoOf(GameServer).jeg = function (playerId, permanently) {
3116
3214
  this.b56().d('GameEngine_API', 'playerLeft: ' + playerId);
3117
- this.ze6_1.a72(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
3215
+ var tmp;
3216
+ if (this.h6f().e72()) {
3217
+ tmp = calculatePlayerLeftResult(this, playerId);
3218
+ } else {
3219
+ tmp = new PlayerLeftResult(null, null);
3220
+ }
3221
+ var result = tmp;
3222
+ this.ye6_1.a72(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
3223
+ return result;
3118
3224
  };
3119
3225
  protoOf(GameServer).keg = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
3120
3226
  this.b56().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
3121
- this.ze6_1.a72(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
3227
+ this.ye6_1.a72(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
3122
3228
  };
3123
3229
  protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
3124
3230
  this.b56().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
3125
- var isCreated = this.ze6_1.b72(GameServer$roomOnContinueFromState$slambda_0(state, null));
3126
- this.ze6_1.a72(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
3231
+ var isCreated = this.ye6_1.b72(GameServer$roomOnContinueFromState$slambda_0(state, null));
3232
+ this.ye6_1.a72(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
3127
3233
  };
3128
3234
  protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
3129
3235
  this.b56().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
3130
- this.ze6_1.a72(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
3131
- this.ze6_1.a72(GameServer$roomOnContinueFromRound$slambda_2(null));
3236
+ this.ye6_1.a72(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
3237
+ this.ye6_1.a72(GameServer$roomOnContinueFromRound$slambda_2(null));
3132
3238
  };
3133
3239
  protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
3134
- this.ze6_1.a72(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
3240
+ this.ye6_1.a72(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
3135
3241
  };
3136
3242
  protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
3137
- this.ze6_1.a72(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
3243
+ this.ye6_1.a72(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
3138
3244
  };
3139
3245
  protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
3140
3246
  this.b56().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
3141
- this.ze6_1.a72(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
3247
+ this.ye6_1.a72(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
3142
3248
  };
3143
3249
  protoOf(GameServer).leg = function (newRid) {
3144
3250
  this.b56().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
3145
- this.ze6_1.a72(GameServer$roomOnDelete$slambda_0(this, newRid, null));
3251
+ this.ye6_1.a72(GameServer$roomOnDelete$slambda_0(this, newRid, null));
3146
3252
  };
3147
3253
  protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
3148
3254
  this.b56().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
3149
- this.ze6_1.a72(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
3255
+ this.ye6_1.a72(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
3150
3256
  };
3151
3257
  protoOf(GameServer).meg = function (reason, roomId) {
3152
3258
  this.b56().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
3153
- this.ze6_1.a72(GameServer$shutdown$slambda_0(reason, this, roomId, null));
3259
+ this.ye6_1.a72(GameServer$shutdown$slambda_0(reason, this, roomId, null));
3154
3260
  };
3155
3261
  protoOf(GameServer).clear = function () {
3156
3262
  return this.i2();
@@ -3193,9 +3299,9 @@
3193
3299
  protoOf(Companion_0).initial = function (fromRound) {
3194
3300
  return new ServerConfig(fromRound, false, false);
3195
3301
  };
3196
- var Companion_instance_8;
3302
+ var Companion_instance_10;
3197
3303
  function Companion_getInstance_1() {
3198
- return Companion_instance_8;
3304
+ return Companion_instance_10;
3199
3305
  }
3200
3306
  function ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
3201
3307
  shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? false : shouldFinishGameWhenDeploy;
@@ -3274,9 +3380,9 @@
3274
3380
  protoOf(Companion_1).g10 = function (typeParamsSerializers) {
3275
3381
  return this.q4t();
3276
3382
  };
3277
- var Companion_instance_9;
3383
+ var Companion_instance_11;
3278
3384
  function Companion_getInstance_2() {
3279
- return Companion_instance_9;
3385
+ return Companion_instance_11;
3280
3386
  }
3281
3387
  function ServerStateUpdateDto() {
3282
3388
  }
@@ -3285,9 +3391,9 @@
3285
3391
  protoOf(Companion_2).q4t = function () {
3286
3392
  return $serializer_getInstance();
3287
3393
  };
3288
- var Companion_instance_10;
3394
+ var Companion_instance_12;
3289
3395
  function Companion_getInstance_3() {
3290
- return Companion_instance_10;
3396
+ return Companion_instance_12;
3291
3397
  }
3292
3398
  function $serializer() {
3293
3399
  $serializer_instance = this;
@@ -3371,7 +3477,7 @@
3371
3477
  this.teg_1 = roomId;
3372
3478
  this.table = table;
3373
3479
  }
3374
- protoOf(TableStateUpdateDto).y92 = function () {
3480
+ protoOf(TableStateUpdateDto).a93 = function () {
3375
3481
  return this.teg_1;
3376
3482
  };
3377
3483
  protoOf(TableStateUpdateDto).c72 = function () {
@@ -3415,9 +3521,9 @@
3415
3521
  protoOf(Companion_3).q4t = function () {
3416
3522
  return $serializer_getInstance_0();
3417
3523
  };
3418
- var Companion_instance_11;
3524
+ var Companion_instance_13;
3419
3525
  function Companion_getInstance_4() {
3420
- return Companion_instance_11;
3526
+ return Companion_instance_13;
3421
3527
  }
3422
3528
  function $serializer_0() {
3423
3529
  $serializer_instance_0 = this;
@@ -3501,10 +3607,10 @@
3501
3607
  this.weg_1 = roomId;
3502
3608
  this.actions = actions;
3503
3609
  }
3504
- protoOf(ActionsStateUpdateDto).y92 = function () {
3610
+ protoOf(ActionsStateUpdateDto).a93 = function () {
3505
3611
  return this.weg_1;
3506
3612
  };
3507
- protoOf(ActionsStateUpdateDto).m93 = function () {
3613
+ protoOf(ActionsStateUpdateDto).o93 = function () {
3508
3614
  return this.actions;
3509
3615
  };
3510
3616
  protoOf(ActionsStateUpdateDto).oe = function () {
@@ -3564,10 +3670,10 @@
3564
3670
  var tmp$ret$0 = mapToDto(item);
3565
3671
  destination.j(tmp$ret$0);
3566
3672
  }
3567
- return new ActionsStateUpdateDto(_this__u8e3s4.xeg_1, encoderDecoderProvider.g9a(destination));
3673
+ return new ActionsStateUpdateDto(_this__u8e3s4.xeg_1, encoderDecoderProvider.i9a(destination));
3568
3674
  }
3569
3675
  function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
3570
- return new TableStateUpdateDto(_this__u8e3s4.yeg_1, encoderDecoderProvider.e9a(mapToDto_0(_this__u8e3s4.table)));
3676
+ return new TableStateUpdateDto(_this__u8e3s4.yeg_1, encoderDecoderProvider.g9a(mapToDto_0(_this__u8e3s4.table)));
3571
3677
  }
3572
3678
  function ServerStateUpdate() {
3573
3679
  }
@@ -3575,7 +3681,7 @@
3575
3681
  this.yeg_1 = roomId;
3576
3682
  this.table = table;
3577
3683
  }
3578
- protoOf(TableStateUpdate).y92 = function () {
3684
+ protoOf(TableStateUpdate).a93 = function () {
3579
3685
  return this.yeg_1;
3580
3686
  };
3581
3687
  protoOf(TableStateUpdate).c72 = function () {
@@ -3618,10 +3724,10 @@
3618
3724
  this.xeg_1 = roomId;
3619
3725
  this.actions = actions;
3620
3726
  }
3621
- protoOf(ActionsStateUpdate).y92 = function () {
3727
+ protoOf(ActionsStateUpdate).a93 = function () {
3622
3728
  return this.xeg_1;
3623
3729
  };
3624
- protoOf(ActionsStateUpdate).m93 = function () {
3730
+ protoOf(ActionsStateUpdate).o93 = function () {
3625
3731
  return this.actions;
3626
3732
  };
3627
3733
  protoOf(ActionsStateUpdate).oe = function () {
@@ -3763,20 +3869,26 @@
3763
3869
  // Inline function 'org.kodein.type.generic' call
3764
3870
  var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
3765
3871
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
3766
- var tmp_1 = tmp.t1c(tmp$ret$0, null);
3872
+ var tmp0_logger = tmp.t1c(tmp$ret$0, null);
3767
3873
  // Inline function 'org.kodein.di.instance' call
3768
- var tmp_2 = $this$provider.u1c();
3874
+ var tmp_1 = $this$provider.u1c();
3769
3875
  // Inline function 'org.kodein.type.generic' call
3770
- var tmp_3 = typeToken(createKType(getKClass(TableLifecycleReducer), arrayOf([]), false));
3771
- var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
3772
- var tmp_4 = tmp_2.t1c(tmp$ret$2, null);
3876
+ var tmp_2 = typeToken(createKType(getKClass(TableLifecycleReducer), arrayOf([]), false));
3877
+ var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
3878
+ var tmp1_tableLifecycleReducer = tmp_1.t1c(tmp$ret$2, null);
3879
+ // Inline function 'org.kodein.di.instance' call
3880
+ var tmp_3 = $this$provider.u1c();
3881
+ // Inline function 'org.kodein.type.generic' call
3882
+ var tmp_4 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
3883
+ var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
3884
+ var tmp2_randomPoolProvider = tmp_3.t1c(tmp$ret$4, null);
3773
3885
  // Inline function 'org.kodein.di.instance' call
3774
3886
  var tmp_5 = $this$provider.u1c();
3775
3887
  // Inline function 'org.kodein.type.generic' call
3776
- var tmp_6 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
3777
- var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
3778
- var tmp$ret$5 = tmp_5.t1c(tmp$ret$4, null);
3779
- return new ServerMechanicLifecycleReducer(tmp_1, tmp_4, tmp$ret$5);
3888
+ var tmp_6 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
3889
+ var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
3890
+ var tmp3_serverReduxConfig = tmp_5.t1c(tmp$ret$6, null);
3891
+ return new ServerMechanicLifecycleReducer(tmp0_logger, tmp3_serverReduxConfig, tmp1_tableLifecycleReducer, tmp2_randomPoolProvider);
3780
3892
  }
3781
3893
  function getServerEngineGameDI$lambda$lambda_0($this$provider) {
3782
3894
  // Inline function 'org.kodein.di.instance' call
@@ -3788,9 +3900,9 @@
3788
3900
  // Inline function 'org.kodein.di.instance' call
3789
3901
  var tmp_1 = $this$provider.u1c();
3790
3902
  // Inline function 'org.kodein.type.generic' call
3791
- var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
3903
+ var tmp_2 = typeToken(createKType(getKClass(GameLifecycleInteractor), arrayOf([]), false));
3792
3904
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
3793
- var tmp1_logger = tmp_1.t1c(tmp$ret$2, null);
3905
+ var tmp1_gameLifecycleInteractor = tmp_1.t1c(tmp$ret$2, null);
3794
3906
  // Inline function 'org.kodein.di.instance' call
3795
3907
  var tmp_3 = $this$provider.u1c();
3796
3908
  // Inline function 'org.kodein.type.generic' call
@@ -3809,7 +3921,7 @@
3809
3921
  var tmp_8 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
3810
3922
  var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
3811
3923
  var tmp4_engineLogicConfig = tmp_7.t1c(tmp$ret$8, null);
3812
- return new PlayerConnectionInteractor(tmp0_serverConfig, tmp4_engineLogicConfig, tmp1_logger, tmp2_playerTurnMechanicReducer, tmp3_idsProvider);
3924
+ return new PlayerConnectionInteractorImpl(tmp0_serverConfig, tmp4_engineLogicConfig, tmp2_playerTurnMechanicReducer, tmp3_idsProvider, tmp1_gameLifecycleInteractor);
3813
3925
  }
3814
3926
  function getServerEngineGameDI$lambda$lambda_1($this$singleton) {
3815
3927
  // Inline function 'org.kodein.di.instance' call
@@ -3858,7 +3970,7 @@
3858
3970
  var creator_0 = getServerEngineGameDI$lambda$lambda_0;
3859
3971
  var tmp_5 = $this$Module.k1b();
3860
3972
  // Inline function 'org.kodein.type.generic' call
3861
- var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
3973
+ var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractorImpl), arrayOf([]), false));
3862
3974
  var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
3863
3975
  var tmp$ret$7 = new Provider(tmp_5, tmp$ret$6, creator_0);
3864
3976
  tmp_4.f1f(tmp$ret$7);
@@ -4075,9 +4187,9 @@
4075
4187
  function Companion_4() {
4076
4188
  this.aei_1 = 6;
4077
4189
  }
4078
- var Companion_instance_12;
4190
+ var Companion_instance_14;
4079
4191
  function Companion_getInstance_5() {
4080
- return Companion_instance_12;
4192
+ return Companion_instance_14;
4081
4193
  }
4082
4194
  function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
4083
4195
  this.jei_1 = this$0;
@@ -4245,168 +4357,393 @@
4245
4357
  tmp.v8_1 = null;
4246
4358
  return tmp.a9();
4247
4359
  };
4248
- protoOf(ToClientEventsObserverImpl).v9z = function ($completion) {
4360
+ protoOf(ToClientEventsObserverImpl).m9z = function ($completion) {
4249
4361
  var tmp = new $waitForCOROUTINE$(this, $completion);
4250
4362
  tmp.u8_1 = Unit_instance;
4251
4363
  tmp.v8_1 = null;
4252
4364
  return tmp.a9();
4253
4365
  };
4254
- protoOf(ToClientEventsObserverImpl).db7 = function () {
4366
+ protoOf(ToClientEventsObserverImpl).ab7 = function () {
4255
4367
  if (!this.qeh_1.enabledCombinedEvents) {
4256
4368
  return this.veh_1;
4257
4369
  }
4258
4370
  var tmp = windowedByInterval(this.veh_1, fromInt(this.qeh_1.combinedEventsIntervalMillis));
4259
4371
  return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
4260
4372
  };
4373
+ function PlayerConnectionInteractor() {
4374
+ }
4375
+ function waitPlayerOrDisconnect($this, newConnectionState, table, player, waitForPlayer, sendFinishToClientActions) {
4376
+ if (waitForPlayer && $this.jej_1.waitForPlayerToReconnect) {
4377
+ var tmp = player.n75_1.k6h();
4378
+ Companion_getInstance();
4379
+ // Inline function 'kotlin.time.Companion.milliseconds' call
4380
+ var this_0 = $this.jej_1.reconnectionCheckDurationMillis;
4381
+ var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
4382
+ var noRecentReconnects = tmp.g6g(tmp$ret$0);
4383
+ if (noRecentReconnects) {
4384
+ var tmp0_tableId = table.id;
4385
+ var tmp1_players = table.playersConnections;
4386
+ var tmp2_isGameFinished = table.isGameFinished;
4387
+ return getWaitingForReconnectPlayerActions($this, tmp0_tableId, newConnectionState, player, tmp1_players, sendFinishToClientActions, tmp2_isGameFinished);
4388
+ }
4389
+ }
4390
+ var canRemoveGameWhenNoPlayers = Companion_instance_1.l75($this.jej_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
4391
+ if (canRemoveGameWhenNoPlayers) {
4392
+ return listOf($this.nej_1.j9g(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
4393
+ }
4394
+ if (table.sceneInfo.y7q()) {
4395
+ if (!$this.kej_1.openRoomIfFinished) {
4396
+ return listOf($this.nej_1.j9g(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
4397
+ }
4398
+ // Inline function 'kotlin.collections.filter' call
4399
+ var tmp0 = table.players;
4400
+ // Inline function 'kotlin.collections.filterTo' call
4401
+ var destination = ArrayList_init_$Create$_0();
4402
+ var _iterator__ex2g4s = tmp0.l();
4403
+ while (_iterator__ex2g4s.m()) {
4404
+ var element = _iterator__ex2g4s.n();
4405
+ var tmp_0;
4406
+ if (!(element.playerId === player.playerId) && !(element.n75_1.t6f_1 == null)) {
4407
+ // Inline function 'kotlin.requireNotNull' call
4408
+ var tmp0_0 = element.n75_1.t6f_1;
4409
+ var tmp$ret$2;
4410
+ $l$block: {
4411
+ // Inline function 'kotlin.requireNotNull' call
4412
+ if (tmp0_0 == null) {
4413
+ var message = 'Required value was null.';
4414
+ throw IllegalArgumentException_init_$Create$(toString(message));
4415
+ } else {
4416
+ tmp$ret$2 = tmp0_0;
4417
+ break $l$block;
4418
+ }
4419
+ }
4420
+ tmp_0 = tmp$ret$2.z6f_1.isNotAlive;
4421
+ } else {
4422
+ tmp_0 = false;
4423
+ }
4424
+ if (tmp_0) {
4425
+ destination.j(element);
4426
+ }
4427
+ }
4428
+ // Inline function 'kotlin.collections.map' call
4429
+ // Inline function 'kotlin.collections.mapTo' call
4430
+ var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
4431
+ var _iterator__ex2g4s_0 = destination.l();
4432
+ while (_iterator__ex2g4s_0.m()) {
4433
+ var item = _iterator__ex2g4s_0.n();
4434
+ var tmp$ret$7 = item.playerId;
4435
+ destination_0.j(tmp$ret$7);
4436
+ }
4437
+ var notAlivePlayers = plus_0(destination_0, player.playerId);
4438
+ // Inline function 'kotlin.collections.filter' call
4439
+ var tmp0_1 = table.players;
4440
+ // Inline function 'kotlin.collections.filterTo' call
4441
+ var destination_1 = ArrayList_init_$Create$_0();
4442
+ var _iterator__ex2g4s_1 = tmp0_1.l();
4443
+ while (_iterator__ex2g4s_1.m()) {
4444
+ var element_0 = _iterator__ex2g4s_1.n();
4445
+ if (element_0.n75_1.r6f_1) {
4446
+ destination_1.j(element_0);
4447
+ }
4448
+ }
4449
+ // Inline function 'kotlin.collections.map' call
4450
+ // Inline function 'kotlin.collections.mapTo' call
4451
+ var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_1, 10));
4452
+ var _iterator__ex2g4s_2 = destination_1.l();
4453
+ while (_iterator__ex2g4s_2.m()) {
4454
+ var item_0 = _iterator__ex2g4s_2.n();
4455
+ var tmp$ret$13 = item_0.playerId;
4456
+ destination_2.j(tmp$ret$13);
4457
+ }
4458
+ var readyPlayers = destination_2;
4459
+ // Inline function 'kotlin.collections.filter' call
4460
+ // Inline function 'kotlin.collections.filterTo' call
4461
+ var destination_3 = ArrayList_init_$Create$_0();
4462
+ var _iterator__ex2g4s_3 = readyPlayers.l();
4463
+ while (_iterator__ex2g4s_3.m()) {
4464
+ var element_1 = _iterator__ex2g4s_3.n();
4465
+ if (!notAlivePlayers.u1(element_1)) {
4466
+ destination_3.j(element_1);
4467
+ }
4468
+ }
4469
+ var readyLivePlayers = destination_3;
4470
+ var usersToJoinRoomSize = table.players.o() - notAlivePlayers.o() | 0;
4471
+ if ($this.kej_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
4472
+ return listOf($this.nej_1.j9g(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
4473
+ }
4474
+ var allPlayersMadeDecision = (readyLivePlayers.o() + notAlivePlayers.o() | 0) === table.players.o();
4475
+ if (allPlayersMadeDecision) {
4476
+ var tmp3_$this = $this.nej_1;
4477
+ var tmp4_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
4478
+ return listOf(tmp3_$this.i9g(tmp4_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
4479
+ }
4480
+ }
4481
+ if (!$this.jej_1.botReplacesPlayerAfterTimeout) {
4482
+ return listOf($this.nej_1.j9g(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
4483
+ }
4484
+ return getPlayerDisconnectedActions($this, newConnectionState, table.id, player, table.playersConnections, sendFinishToClientActions, table.isGameFinished);
4485
+ }
4486
+ function waitPlayerOrDisconnect$default($this, newConnectionState, table, player, waitForPlayer, sendFinishToClientActions, $super) {
4487
+ sendFinishToClientActions = sendFinishToClientActions === VOID ? true : sendFinishToClientActions;
4488
+ return waitPlayerOrDisconnect($this, newConnectionState, table, player, waitForPlayer, sendFinishToClientActions);
4489
+ }
4490
+ function getPlayerConnectedActions($this, player, table) {
4491
+ // Inline function 'kotlin.collections.mutableListOf' call
4492
+ var actionsList = ArrayList_init_$Create$_0();
4493
+ actionsList.r(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance()), $this.yee(player, table)]));
4494
+ if (player.n75_1.u6f()) {
4495
+ actionsList.r(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.n75_1.a6h())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.n75_1.a6h(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.lej_1.pa3(table.config)), VOID, TimerType_DELAY_getInstance())]));
4496
+ }
4497
+ return actionsList;
4498
+ }
4499
+ function getPlayerDisconnectedActions($this, connectionState, tableId, player, players, finishToClientActions, isGameFinished) {
4500
+ // Inline function 'kotlin.collections.mutableListOf' call
4501
+ var actionsList = ArrayList_init_$Create$_0();
4502
+ if (finishToClientActions) {
4503
+ actionsList.r(getFinishToClientActions($this, player.playerId, player.n75_1.k6h().z6f_1.isLive, tableId, mapToFinishReason(connectionState, player, players), isGameFinished));
4504
+ }
4505
+ actionsList.j(new PlayerConnectionChangedMechanicAction(player.playerId, connectionState));
4506
+ if (player.n75_1.u6f()) {
4507
+ actionsList.j(AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection changed'));
4508
+ }
4509
+ return actionsList;
4510
+ }
4511
+ function getFinishToClientActions($this, sendToPlayerId, isLive, tableId, reason, isGameFinished) {
4512
+ if (!isLive) {
4513
+ return emptyList();
4514
+ }
4515
+ var tmp0_deliveryPayload = Companion_instance_2.user($this.mej_1.z6m(), tableId, sendToPlayerId);
4516
+ var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
4517
+ var tmp1_deliveryPayload = Companion_instance_2.user($this.mej_1.z6m(), tableId, sendToPlayerId);
4518
+ return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
4519
+ }
4520
+ function getWaitingForReconnectPlayerActions($this, tableId, newConnectionState, player, players, finishToClientActions, isGameFinished) {
4521
+ // Inline function 'kotlin.collections.mutableListOf' call
4522
+ var actionsList = ArrayList_init_$Create$_0();
4523
+ if (finishToClientActions) {
4524
+ actionsList.r(getFinishToClientActions($this, player.playerId, player.n75_1.k6h().z6f_1.isLive, tableId, mapToFinishReason(newConnectionState, player, players), isGameFinished));
4525
+ }
4526
+ actionsList.r($this.iej(player.playerId, newConnectionState));
4527
+ return actionsList;
4528
+ }
4529
+ function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
4530
+ this.jej_1 = serverConfig;
4531
+ this.kej_1 = engineLogicConfig;
4532
+ this.lej_1 = playerTurnMechanicReducer;
4533
+ this.mej_1 = idsProvider;
4534
+ this.nej_1 = gameLifecycleInteractor;
4535
+ }
4536
+ protoOf(PlayerConnectionInteractorImpl).hej = function (newConnectionState, playerId, table, afterReconnection) {
4537
+ var player = getPlayer(table.players, playerId);
4538
+ var tmp;
4539
+ switch (newConnectionState.q2_1) {
4540
+ case 1:
4541
+ tmp = getPlayerConnectedActions(this, player, table);
4542
+ break;
4543
+ case 4:
4544
+ case 5:
4545
+ var tmp1_waitForPlayer = !afterReconnection && !table.sceneInfo.y7q() && table.config.isPrivate;
4546
+ tmp = waitPlayerOrDisconnect$default(this, newConnectionState, table, player, tmp1_waitForPlayer);
4547
+ break;
4548
+ case 2:
4549
+ var tmp2_waitForPlayer = !afterReconnection;
4550
+ tmp = waitPlayerOrDisconnect$default(this, newConnectionState, table, player, tmp2_waitForPlayer);
4551
+ break;
4552
+ case 3:
4553
+ var tmp3_waitForPlayer = !afterReconnection;
4554
+ tmp = waitPlayerOrDisconnect(this, newConnectionState, table, player, tmp3_waitForPlayer, false);
4555
+ break;
4556
+ case 7:
4557
+ tmp = waitPlayerOrDisconnect(this, newConnectionState, table, player, false, false);
4558
+ break;
4559
+ case 0:
4560
+ case 6:
4561
+ throw new MechanicException('This connection state ' + newConnectionState.toString() + ' is not supported in playerConnectionUpdateMiddleware');
4562
+ default:
4563
+ noWhenBranchMatchedException();
4564
+ break;
4565
+ }
4566
+ return tmp;
4567
+ };
4568
+ protoOf(PlayerConnectionInteractorImpl).yee = function (sendToPlayer, table) {
4569
+ var updatedTable = this.lej_1.qa1(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
4570
+ var aid = this.mej_1.z6m();
4571
+ var tmp4_deliveryPayload = Companion_instance_2.userFromTable(aid, updatedTable, sendToPlayer.playerId);
4572
+ var tmp0_playerId = sendToPlayer.playerId;
4573
+ var tmp1_gameCreatorPlayerId = getGameCreator(updatedTable.players).playerId;
4574
+ var tmp2_tableId = updatedTable.id;
4575
+ // Inline function 'kotlin.collections.map' call
4576
+ var this_0 = updatedTable.players;
4577
+ // Inline function 'kotlin.collections.mapTo' call
4578
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
4579
+ var _iterator__ex2g4s = this_0.l();
4580
+ while (_iterator__ex2g4s.m()) {
4581
+ var item = _iterator__ex2g4s.n();
4582
+ var tmp$ret$0 = item.playerId;
4583
+ destination.j(tmp$ret$0);
4584
+ }
4585
+ var tmp5_table = mapToClient(updatedTable, UserActionPayload_init_$Create$(aid, tmp2_tableId, tmp1_gameCreatorPlayerId, tmp0_playerId, destination));
4586
+ var tmp6_reason = new PlayerReturnsReason(sendToPlayer.playerId);
4587
+ return new ContinueGameToClientAction(tmp5_table, tmp6_reason, null, tmp4_deliveryPayload);
4588
+ };
4589
+ protoOf(PlayerConnectionInteractorImpl).iej = function (playerId, newConnectionState) {
4590
+ var tmp = System_instance.ck();
4591
+ Companion_getInstance();
4592
+ // Inline function 'kotlin.time.Companion.milliseconds' call
4593
+ var this_0 = this.jej_1.waitForPlayerToReconnectTimeOutMillis;
4594
+ var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
4595
+ var reconnectUntilTime = tmp.rk(tmp$ret$0);
4596
+ return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, PlayerConnectionState_DISCONNECTING_getInstance(), newConnectionState, false, reconnectUntilTime.toString()), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState), fromInt(this.jej_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
4597
+ };
4261
4598
  function UpdateServerConfigAction(serverConfig) {
4262
- this.hej_1 = serverConfig;
4599
+ this.oej_1 = serverConfig;
4263
4600
  }
4264
4601
  protoOf(UpdateServerConfigAction).toString = function () {
4265
- return 'UpdateServerConfigAction(serverConfig=' + this.hej_1.toString() + ')';
4602
+ return 'UpdateServerConfigAction(serverConfig=' + this.oej_1.toString() + ')';
4266
4603
  };
4267
4604
  protoOf(UpdateServerConfigAction).hashCode = function () {
4268
- return this.hej_1.hashCode();
4605
+ return this.oej_1.hashCode();
4269
4606
  };
4270
4607
  protoOf(UpdateServerConfigAction).equals = function (other) {
4271
4608
  if (this === other)
4272
4609
  return true;
4273
4610
  if (!(other instanceof UpdateServerConfigAction))
4274
4611
  return false;
4275
- if (!this.hej_1.equals(other.hej_1))
4612
+ if (!this.oej_1.equals(other.oej_1))
4276
4613
  return false;
4277
4614
  return true;
4278
4615
  };
4279
4616
  function AddSpectatorsAction(spectators) {
4280
- this.iej_1 = spectators;
4617
+ this.pej_1 = spectators;
4281
4618
  }
4282
4619
  protoOf(AddSpectatorsAction).toString = function () {
4283
- return 'AddSpectatorsAction(spectators=' + toString(this.iej_1) + ')';
4620
+ return 'AddSpectatorsAction(spectators=' + toString(this.pej_1) + ')';
4284
4621
  };
4285
4622
  protoOf(AddSpectatorsAction).hashCode = function () {
4286
- return hashCode(this.iej_1);
4623
+ return hashCode(this.pej_1);
4287
4624
  };
4288
4625
  protoOf(AddSpectatorsAction).equals = function (other) {
4289
4626
  if (this === other)
4290
4627
  return true;
4291
4628
  if (!(other instanceof AddSpectatorsAction))
4292
4629
  return false;
4293
- if (!equals(this.iej_1, other.iej_1))
4630
+ if (!equals(this.pej_1, other.pej_1))
4294
4631
  return false;
4295
4632
  return true;
4296
4633
  };
4297
4634
  function RemoveSpectatorsAction(spectators) {
4298
- this.jej_1 = spectators;
4635
+ this.qej_1 = spectators;
4299
4636
  }
4300
4637
  protoOf(RemoveSpectatorsAction).toString = function () {
4301
- return 'RemoveSpectatorsAction(spectators=' + toString(this.jej_1) + ')';
4638
+ return 'RemoveSpectatorsAction(spectators=' + toString(this.qej_1) + ')';
4302
4639
  };
4303
4640
  protoOf(RemoveSpectatorsAction).hashCode = function () {
4304
- return hashCode(this.jej_1);
4641
+ return hashCode(this.qej_1);
4305
4642
  };
4306
4643
  protoOf(RemoveSpectatorsAction).equals = function (other) {
4307
4644
  if (this === other)
4308
4645
  return true;
4309
4646
  if (!(other instanceof RemoveSpectatorsAction))
4310
4647
  return false;
4311
- if (!equals(this.jej_1, other.jej_1))
4648
+ if (!equals(this.qej_1, other.qej_1))
4312
4649
  return false;
4313
4650
  return true;
4314
4651
  };
4315
4652
  function SpectatorsAction() {
4316
4653
  }
4317
4654
  function _get_asyncProvider__jbpyhw($this) {
4318
- var tmp0 = $this.pej_1;
4655
+ var tmp0 = $this.wej_1;
4319
4656
  var tmp = KProperty1;
4320
4657
  // Inline function 'kotlin.getValue' call
4321
4658
  getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
4322
4659
  return tmp0.x();
4323
4660
  }
4324
4661
  function _get_logger__rkp4sl($this) {
4325
- var tmp0 = $this.qej_1;
4662
+ var tmp0 = $this.xej_1;
4326
4663
  var tmp = KProperty1;
4327
4664
  // Inline function 'kotlin.getValue' call
4328
4665
  getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
4329
4666
  return tmp0.x();
4330
4667
  }
4331
4668
  function _get_playerConnectionInteractor__si6cxf_0($this) {
4332
- var tmp0 = $this.rej_1;
4669
+ var tmp0 = $this.yej_1;
4333
4670
  var tmp = KProperty1;
4334
4671
  // Inline function 'kotlin.getValue' call
4335
4672
  getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
4336
4673
  return tmp0.x();
4337
4674
  }
4338
4675
  function _get_lastCardInteractor__h6lq3w($this) {
4339
- var tmp0 = $this.sej_1;
4676
+ var tmp0 = $this.zej_1;
4340
4677
  var tmp = KProperty1;
4341
4678
  // Inline function 'kotlin.getValue' call
4342
4679
  getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
4343
4680
  return tmp0.x();
4344
4681
  }
4345
4682
  function _get_serverConfig__rk2g06($this) {
4346
- var tmp0 = $this.tej_1;
4683
+ var tmp0 = $this.aek_1;
4347
4684
  var tmp = KProperty1;
4348
4685
  // Inline function 'kotlin.getValue' call
4349
4686
  getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
4350
4687
  return tmp0.x();
4351
4688
  }
4352
4689
  function _get_logicConfig__52ww9d($this) {
4353
- var tmp0 = $this.uej_1;
4690
+ var tmp0 = $this.bek_1;
4354
4691
  var tmp = KProperty1;
4355
4692
  // Inline function 'kotlin.getValue' call
4356
4693
  getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
4357
4694
  return tmp0.x();
4358
4695
  }
4359
4696
  function _get_idsProvider__fnfajc_0($this) {
4360
- var tmp0 = $this.vej_1;
4697
+ var tmp0 = $this.cek_1;
4361
4698
  var tmp = KProperty1;
4362
4699
  // Inline function 'kotlin.getValue' call
4363
4700
  getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
4364
4701
  return tmp0.x();
4365
4702
  }
4366
4703
  function _get_botConfig__cpaxzc($this) {
4367
- var tmp0 = $this.wej_1;
4704
+ var tmp0 = $this.dek_1;
4368
4705
  var tmp = KProperty1;
4369
4706
  // Inline function 'kotlin.getValue' call
4370
4707
  getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
4371
4708
  return tmp0.x();
4372
4709
  }
4373
4710
  function _get_scenePositionProvider__kn0n1n($this) {
4374
- var tmp0 = $this.xej_1;
4711
+ var tmp0 = $this.eek_1;
4375
4712
  var tmp = KProperty1;
4376
4713
  // Inline function 'kotlin.getValue' call
4377
4714
  getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
4378
4715
  return tmp0.x();
4379
4716
  }
4380
4717
  function _get_toClientEventsObserver__6rp51y_0($this) {
4381
- var tmp0 = $this.yej_1;
4718
+ var tmp0 = $this.fek_1;
4382
4719
  var tmp = KProperty1;
4383
4720
  // Inline function 'kotlin.getValue' call
4384
4721
  getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
4385
4722
  return tmp0.x();
4386
4723
  }
4387
4724
  function _get_fromClientEventsObserver__a7vzd3_0($this) {
4388
- var tmp0 = $this.zej_1;
4725
+ var tmp0 = $this.gek_1;
4389
4726
  var tmp = KProperty1;
4390
4727
  // Inline function 'kotlin.getValue' call
4391
4728
  getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
4392
4729
  return tmp0.x();
4393
4730
  }
4394
4731
  function _get_dealerConfig__183ci8($this) {
4395
- var tmp0 = $this.aek_1;
4732
+ var tmp0 = $this.hek_1;
4396
4733
  var tmp = KProperty1;
4397
4734
  // Inline function 'kotlin.getValue' call
4398
4735
  getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
4399
4736
  return tmp0.x();
4400
4737
  }
4401
4738
  function _get_poolProvider__tqti6a($this) {
4402
- var tmp0 = $this.bek_1;
4739
+ var tmp0 = $this.iek_1;
4403
4740
  var tmp = KProperty1;
4404
4741
  // Inline function 'kotlin.getValue' call
4405
4742
  getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
4406
4743
  return tmp0.x();
4407
4744
  }
4408
4745
  function _get_cardsDealerProvider__bekjpg($this) {
4409
- var tmp0 = $this.cek_1;
4746
+ var tmp0 = $this.jek_1;
4410
4747
  var tmp = KProperty1;
4411
4748
  // Inline function 'kotlin.getValue' call
4412
4749
  getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
@@ -4570,11 +4907,11 @@
4570
4907
  tmp = fileLoggerStoreContract;
4571
4908
  }
4572
4909
  fileLoggerStoreContract = tmp;
4573
- this.kej_1 = validationStoreContract;
4574
- this.lej_1 = timersStoreContract;
4575
- this.mej_1 = botGameStoreContract;
4576
- this.nej_1 = gameMechanicStoreContract;
4577
- this.oej_1 = fileLoggerStoreContract;
4910
+ this.rej_1 = validationStoreContract;
4911
+ this.sej_1 = timersStoreContract;
4912
+ this.tej_1 = botGameStoreContract;
4913
+ this.uej_1 = gameMechanicStoreContract;
4914
+ this.vej_1 = fileLoggerStoreContract;
4578
4915
  var tmp_0 = this;
4579
4916
  // Inline function 'org.kodein.di.instance' call
4580
4917
  // Inline function 'org.kodein.type.generic' call
@@ -4582,7 +4919,7 @@
4582
4919
  var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
4583
4920
  var tmp_2 = Instance(di, tmp$ret$0, null);
4584
4921
  var tmp_3 = KProperty1;
4585
- tmp_0.pej_1 = tmp_2.c1h(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
4922
+ tmp_0.wej_1 = tmp_2.c1h(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
4586
4923
  var tmp_4 = this;
4587
4924
  // Inline function 'org.kodein.di.instance' call
4588
4925
  // Inline function 'org.kodein.type.generic' call
@@ -4590,7 +4927,7 @@
4590
4927
  var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
4591
4928
  var tmp_6 = Instance(di, tmp$ret$2, null);
4592
4929
  var tmp_7 = KProperty1;
4593
- tmp_4.qej_1 = tmp_6.c1h(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
4930
+ tmp_4.xej_1 = tmp_6.c1h(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
4594
4931
  var tmp_8 = this;
4595
4932
  // Inline function 'org.kodein.di.instance' call
4596
4933
  // Inline function 'org.kodein.type.generic' call
@@ -4598,7 +4935,7 @@
4598
4935
  var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
4599
4936
  var tmp_10 = Instance(di, tmp$ret$4, null);
4600
4937
  var tmp_11 = KProperty1;
4601
- tmp_8.rej_1 = tmp_10.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
4938
+ tmp_8.yej_1 = tmp_10.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
4602
4939
  var tmp_12 = this;
4603
4940
  // Inline function 'org.kodein.di.instance' call
4604
4941
  // Inline function 'org.kodein.type.generic' call
@@ -4606,7 +4943,7 @@
4606
4943
  var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
4607
4944
  var tmp_14 = Instance(di, tmp$ret$6, null);
4608
4945
  var tmp_15 = KProperty1;
4609
- tmp_12.sej_1 = tmp_14.c1h(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
4946
+ tmp_12.zej_1 = tmp_14.c1h(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
4610
4947
  var tmp_16 = this;
4611
4948
  // Inline function 'org.kodein.di.instance' call
4612
4949
  // Inline function 'org.kodein.type.generic' call
@@ -4614,7 +4951,7 @@
4614
4951
  var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
4615
4952
  var tmp_18 = Instance(di, tmp$ret$8, null);
4616
4953
  var tmp_19 = KProperty1;
4617
- tmp_16.tej_1 = tmp_18.c1h(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
4954
+ tmp_16.aek_1 = tmp_18.c1h(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
4618
4955
  var tmp_20 = this;
4619
4956
  // Inline function 'org.kodein.di.instance' call
4620
4957
  // Inline function 'org.kodein.type.generic' call
@@ -4622,7 +4959,7 @@
4622
4959
  var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
4623
4960
  var tmp_22 = Instance(di, tmp$ret$10, null);
4624
4961
  var tmp_23 = KProperty1;
4625
- tmp_20.uej_1 = tmp_22.c1h(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
4962
+ tmp_20.bek_1 = tmp_22.c1h(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
4626
4963
  var tmp_24 = this;
4627
4964
  // Inline function 'org.kodein.di.instance' call
4628
4965
  // Inline function 'org.kodein.type.generic' call
@@ -4630,7 +4967,7 @@
4630
4967
  var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
4631
4968
  var tmp_26 = Instance(di, tmp$ret$12, null);
4632
4969
  var tmp_27 = KProperty1;
4633
- tmp_24.vej_1 = tmp_26.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
4970
+ tmp_24.cek_1 = tmp_26.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
4634
4971
  var tmp_28 = this;
4635
4972
  // Inline function 'org.kodein.di.instance' call
4636
4973
  // Inline function 'org.kodein.type.generic' call
@@ -4638,7 +4975,7 @@
4638
4975
  var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
4639
4976
  var tmp_30 = Instance(di, tmp$ret$14, null);
4640
4977
  var tmp_31 = KProperty1;
4641
- tmp_28.wej_1 = tmp_30.c1h(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
4978
+ tmp_28.dek_1 = tmp_30.c1h(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
4642
4979
  var tmp_32 = this;
4643
4980
  // Inline function 'org.kodein.di.instance' call
4644
4981
  // Inline function 'org.kodein.type.generic' call
@@ -4646,7 +4983,7 @@
4646
4983
  var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
4647
4984
  var tmp_34 = Instance(di, tmp$ret$16, null);
4648
4985
  var tmp_35 = KProperty1;
4649
- tmp_32.xej_1 = tmp_34.c1h(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
4986
+ tmp_32.eek_1 = tmp_34.c1h(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
4650
4987
  var tmp_36 = this;
4651
4988
  // Inline function 'org.kodein.di.instance' call
4652
4989
  // Inline function 'org.kodein.type.generic' call
@@ -4654,7 +4991,7 @@
4654
4991
  var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
4655
4992
  var tmp_38 = Instance(di, tmp$ret$18, null);
4656
4993
  var tmp_39 = KProperty1;
4657
- tmp_36.yej_1 = tmp_38.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
4994
+ tmp_36.fek_1 = tmp_38.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
4658
4995
  var tmp_40 = this;
4659
4996
  // Inline function 'org.kodein.di.instance' call
4660
4997
  // Inline function 'org.kodein.type.generic' call
@@ -4662,7 +4999,7 @@
4662
4999
  var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
4663
5000
  var tmp_42 = Instance(di, tmp$ret$20, null);
4664
5001
  var tmp_43 = KProperty1;
4665
- tmp_40.zej_1 = tmp_42.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
5002
+ tmp_40.gek_1 = tmp_42.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
4666
5003
  var tmp_44 = this;
4667
5004
  // Inline function 'org.kodein.di.instance' call
4668
5005
  // Inline function 'org.kodein.type.generic' call
@@ -4670,7 +5007,7 @@
4670
5007
  var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
4671
5008
  var tmp_46 = Instance(di, tmp$ret$22, null);
4672
5009
  var tmp_47 = KProperty1;
4673
- tmp_44.aek_1 = tmp_46.c1h(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
5010
+ tmp_44.hek_1 = tmp_46.c1h(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
4674
5011
  var tmp_48 = this;
4675
5012
  // Inline function 'org.kodein.di.instance' call
4676
5013
  // Inline function 'org.kodein.type.generic' call
@@ -4678,7 +5015,7 @@
4678
5015
  var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
4679
5016
  var tmp_50 = Instance(di, tmp$ret$24, null);
4680
5017
  var tmp_51 = KProperty1;
4681
- tmp_48.bek_1 = tmp_50.c1h(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
5018
+ tmp_48.iek_1 = tmp_50.c1h(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
4682
5019
  var tmp_52 = this;
4683
5020
  // Inline function 'org.kodein.di.instance' call
4684
5021
  // Inline function 'org.kodein.type.generic' call
@@ -4686,39 +5023,48 @@
4686
5023
  var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
4687
5024
  var tmp_54 = Instance(di, tmp$ret$26, null);
4688
5025
  var tmp_55 = KProperty1;
4689
- tmp_52.cek_1 = tmp_54.c1h(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
5026
+ tmp_52.jek_1 = tmp_54.c1h(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
4690
5027
  }
4691
- protoOf(ServerGameStoreContract).g9o = function () {
4692
- return plus(plus(plus(plus(plus(this.kej_1.g9o(), this.nej_1.g9o()), this.lej_1.g9o()), this.mej_1.g9o()), this.oej_1.g9o()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
5028
+ protoOf(ServerGameStoreContract).b9o = function () {
5029
+ return plus(plus(plus(plus(plus(this.rej_1.b9o(), this.uej_1.b9o()), this.sej_1.b9o()), this.tej_1.b9o()), this.vej_1.b9o()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
4693
5030
  };
4694
- protoOf(ServerGameStoreContract).h9o = function () {
4695
- var tmp = this.kej_1.h9o();
5031
+ protoOf(ServerGameStoreContract).c9o = function () {
5032
+ var tmp = this.rej_1.c9o();
4696
5033
  var tmp_0;
4697
5034
  if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
4698
5035
  tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
4699
5036
  } else {
4700
5037
  tmp_0 = null;
4701
5038
  }
4702
- var tmp_1 = plus(plus(plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.nej_1.h9o()), this.lej_1.h9o()), this.mej_1.h9o()), this.oej_1.h9o()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).n9q(), finishingGameWhenCantStartNewMiddleware()]));
4703
- var tmp_2 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
5039
+ var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.uej_1.c9o()), this.sej_1.c9o()), this.tej_1.c9o()), this.vej_1.c9o());
5040
+ var tmp_2 = playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
5041
+ var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
5042
+ var tmp_4;
5043
+ if (_get_serverConfig__rk2g06(this).waitForPlayerToConnectOnStart) {
5044
+ tmp_4 = playerReconnectionTimerStartWhenStartGameMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
5045
+ } else {
5046
+ tmp_4 = null;
5047
+ }
5048
+ var tmp_5 = plus(plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).i9q(), finishingGameWhenCantStartNewMiddleware()]));
5049
+ var tmp_6 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
4704
5050
  var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
4705
5051
  var tmp1_logger = _get_logger__rkp4sl(this);
4706
5052
  var tmp2_asyncProvider = _get_asyncProvider__jbpyhw(this);
4707
- var tmp_3 = playerTurnTimeoutWhenHostMiddleware(tmp0_serverConfig, tmp2_asyncProvider, tmp1_logger);
4708
- var tmp_4 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOf_0(_get_toClientEventsObserver__6rp51y_0(this)));
5053
+ var tmp_7 = playerTurnTimeoutWhenHasConnectionMiddleware(tmp0_serverConfig, tmp2_asyncProvider, tmp1_logger);
5054
+ var tmp_8 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOf(_get_toClientEventsObserver__6rp51y_0(this)));
4709
5055
  var tmp3_asyncProvider = _get_asyncProvider__jbpyhw(this);
4710
5056
  var tmp4_dealerConfig = _get_dealerConfig__183ci8(this);
4711
5057
  var tmp5_poolProvider = _get_poolProvider__tqti6a(this);
4712
5058
  var tmp6_cardsDealerProvider = _get_cardsDealerProvider__bekjpg(this);
4713
- var tmp_5 = prefetchRandomOrgPoolMiddleware(tmp5_poolProvider, tmp6_cardsDealerProvider, tmp3_asyncProvider, tmp4_dealerConfig);
4714
- var tmp_6;
5059
+ var tmp_9 = prefetchRandomOrgPoolMiddleware(tmp5_poolProvider, tmp6_cardsDealerProvider, tmp3_asyncProvider, tmp4_dealerConfig);
5060
+ var tmp_10;
4715
5061
  if (_get_botConfig__cpaxzc(this).autoStepLastCard) {
4716
- var tmp_7 = _get_lastCardInteractor__h6lq3w(this);
4717
- tmp_6 = putPlayerLastCardMiddleware(tmp_7, ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r);
5062
+ var tmp_11 = _get_lastCardInteractor__h6lq3w(this);
5063
+ tmp_10 = putPlayerLastCardMiddleware(tmp_11, ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r);
4718
5064
  } else {
4719
- tmp_6 = null;
5065
+ tmp_10 = null;
4720
5066
  }
4721
- return plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4, tmp_5, tmp_6]));
5067
+ return plus(tmp_5, listOfNotNull_0([tmp_6, tmp_7, tmp_8, tmp_9, tmp_10]));
4722
5068
  };
4723
5069
  function finishingGameWhenCantStartNewMiddleware() {
4724
5070
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
@@ -4750,7 +5096,7 @@
4750
5096
  return this.q6q(store, next, action);
4751
5097
  };
4752
5098
  function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
4753
- this.fek_1 = this$0;
5099
+ this.mek_1 = this$0;
4754
5100
  }
4755
5101
  protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).b6p = function (action) {
4756
5102
  return action instanceof MechanicAction;
@@ -4761,11 +5107,11 @@
4761
5107
  // Inline function 'kotlin.with' call
4762
5108
  var tmp;
4763
5109
  if (action_0 instanceof StartGameMechanicAction) {
4764
- var tmp0 = this.fek_1;
4765
- var tmp2 = action_0.l8g_1;
4766
- var tmp4 = action_0.n8g_1;
5110
+ var tmp0 = this.mek_1;
5111
+ var tmp2 = action_0.p8g_1;
5112
+ var tmp4 = action_0.r8g_1;
4767
5113
  // Inline function 'kotlin.collections.map' call
4768
- var this_0 = action_0.o8g_1;
5114
+ var this_0 = action_0.s8g_1;
4769
5115
  // Inline function 'kotlin.collections.mapTo' call
4770
5116
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
4771
5117
  var _iterator__ex2g4s = this_0.l();
@@ -4801,7 +5147,7 @@
4801
5147
  var _iterator__ex2g4s_2 = destination_1.l();
4802
5148
  while (_iterator__ex2g4s_2.m()) {
4803
5149
  var element_0 = _iterator__ex2g4s_2.n();
4804
- var tmp0_aid = tmp0.eek_1.z6m();
5150
+ var tmp0_aid = tmp0.lek_1.z6m();
4805
5151
  // Inline function 'kotlin.collections.map' call
4806
5152
  // Inline function 'kotlin.collections.mapTo' call
4807
5153
  var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
@@ -4812,7 +5158,7 @@
4812
5158
  destination_3.j(tmp$ret$9);
4813
5159
  }
4814
5160
  var sendToPlayer = UserActionPayload_init_$Create$(tmp0_aid, tmp2, tmp4, element_0, destination_3);
4815
- var tmp0_safe_receiver = mapToClient_18(action_0, sendToPlayer);
5161
+ var tmp0_safe_receiver = mapToClient_19(action_0, sendToPlayer);
4816
5162
  if (tmp0_safe_receiver == null)
4817
5163
  null;
4818
5164
  else {
@@ -4823,16 +5169,16 @@
4823
5169
  tmp = destination_2;
4824
5170
  } else {
4825
5171
  if (action_0 instanceof StartNewGameMechanicAction) {
4826
- var tmp0_0 = this.fek_1;
5172
+ var tmp0_0 = this.mek_1;
4827
5173
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4828
5174
  var table = state.c72();
4829
- var sendToPlayer_0 = new RoomActionPayload(tmp0_0.eek_1.z6m(), table.id, null);
4830
- var tmp$ret$21 = mapToClient_17(action_0, sendToPlayer_0);
5175
+ var sendToPlayer_0 = new RoomActionPayload(tmp0_0.lek_1.z6m(), table.id, null);
5176
+ var tmp$ret$21 = mapToClient_18(action_0, sendToPlayer_0);
4831
5177
  tmp = listOfNotNull(tmp$ret$21);
4832
5178
  } else {
4833
5179
  if (action_0 instanceof ContinueGameMechanicAction) {
4834
- var tmp0_1 = this.fek_1;
4835
- var tmp2_0 = action_0.r8g_1.id;
5180
+ var tmp0_1 = this.mek_1;
5181
+ var tmp2_0 = action_0.v8g_1.id;
4836
5182
  var tmp4_0 = action_0.gameCreatorPlayerId;
4837
5183
  // Inline function 'kotlin.collections.map' call
4838
5184
  var this_1 = action_0.users;
@@ -4871,7 +5217,7 @@
4871
5217
  var _iterator__ex2g4s_7 = destination_6.l();
4872
5218
  while (_iterator__ex2g4s_7.m()) {
4873
5219
  var element_2 = _iterator__ex2g4s_7.n();
4874
- var tmp0_aid_0 = tmp0_1.eek_1.z6m();
5220
+ var tmp0_aid_0 = tmp0_1.lek_1.z6m();
4875
5221
  // Inline function 'kotlin.collections.map' call
4876
5222
  // Inline function 'kotlin.collections.mapTo' call
4877
5223
  var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
@@ -4882,7 +5228,7 @@
4882
5228
  destination_8.j(tmp$ret$32);
4883
5229
  }
4884
5230
  var sendToPlayer_1 = UserActionPayload_init_$Create$(tmp0_aid_0, tmp2_0, tmp4_0, element_2, destination_8);
4885
- var tmp0_safe_receiver_0 = mapToClient_16(action_0, sendToPlayer_1);
5231
+ var tmp0_safe_receiver_0 = mapToClient_17(action_0, sendToPlayer_1);
4886
5232
  if (tmp0_safe_receiver_0 == null)
4887
5233
  null;
4888
5234
  else {
@@ -4893,39 +5239,39 @@
4893
5239
  tmp = destination_7;
4894
5240
  } else {
4895
5241
  if (action_0 instanceof FinishingGameMechanicAction) {
4896
- var tmp0_2 = this.fek_1;
5242
+ var tmp0_2 = this.mek_1;
4897
5243
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4898
5244
  var table_0 = state.c72();
4899
- var sendToPlayer_2 = new RoomActionPayload(tmp0_2.eek_1.z6m(), table_0.id, null);
4900
- var tmp$ret$44 = mapToClient_15(action_0, sendToPlayer_2);
5245
+ var sendToPlayer_2 = new RoomActionPayload(tmp0_2.lek_1.z6m(), table_0.id, null);
5246
+ var tmp$ret$44 = mapToClient_16(action_0, sendToPlayer_2);
4901
5247
  tmp = listOfNotNull(tmp$ret$44);
4902
5248
  } else {
4903
5249
  if (action_0 instanceof FinishGameMechanicAction) {
4904
- var tmp0_3 = this.fek_1;
5250
+ var tmp0_3 = this.mek_1;
4905
5251
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4906
5252
  var table_1 = state.c72();
4907
- var sendToPlayer_3 = new RoomActionPayload(tmp0_3.eek_1.z6m(), table_1.id, null);
4908
- var tmp$ret$46 = mapToClient_14(action_0, sendToPlayer_3);
5253
+ var sendToPlayer_3 = new RoomActionPayload(tmp0_3.lek_1.z6m(), table_1.id, null);
5254
+ var tmp$ret$46 = mapToClient_15(action_0, sendToPlayer_3);
4909
5255
  tmp = listOfNotNull(tmp$ret$46);
4910
5256
  } else {
4911
5257
  if (action_0 instanceof RestartGameMechanicAction) {
4912
- var tmp0_4 = this.fek_1;
5258
+ var tmp0_4 = this.mek_1;
4913
5259
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4914
5260
  var table_2 = state.c72();
4915
- var sendToPlayer_4 = new RoomActionPayload(tmp0_4.eek_1.z6m(), table_2.id, null);
4916
- var tmp$ret$48 = mapToClient_13(action_0, sendToPlayer_4);
5261
+ var sendToPlayer_4 = new RoomActionPayload(tmp0_4.lek_1.z6m(), table_2.id, null);
5262
+ var tmp$ret$48 = mapToClient_14(action_0, sendToPlayer_4);
4917
5263
  tmp = listOfNotNull(tmp$ret$48);
4918
5264
  } else {
4919
5265
  if (action_0 instanceof ErrorAction) {
4920
- var tmp0_5 = this.fek_1;
5266
+ var tmp0_5 = this.mek_1;
4921
5267
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4922
5268
  var table_3 = state.c72();
4923
- var sendToPlayer_5 = new RoomActionPayload(tmp0_5.eek_1.z6m(), table_3.id, null);
4924
- var tmp$ret$50 = mapToClient_12(action_0, sendToPlayer_5);
5269
+ var sendToPlayer_5 = new RoomActionPayload(tmp0_5.lek_1.z6m(), table_3.id, null);
5270
+ var tmp$ret$50 = mapToClient_13(action_0, sendToPlayer_5);
4925
5271
  tmp = listOfNotNull(tmp$ret$50);
4926
5272
  } else {
4927
5273
  if (action_0 instanceof SceneMechanicAction) {
4928
- var tmp0_6 = this.fek_1;
5274
+ var tmp0_6 = this.mek_1;
4929
5275
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
4930
5276
  var table_4 = state.c72();
4931
5277
  var tmp2_1 = table_4.id;
@@ -4958,7 +5304,7 @@
4958
5304
  var _iterator__ex2g4s_11 = destination_10.l();
4959
5305
  while (_iterator__ex2g4s_11.m()) {
4960
5306
  var element_4 = _iterator__ex2g4s_11.n();
4961
- var tmp0_aid_1 = tmp0_6.eek_1.z6m();
5307
+ var tmp0_aid_1 = tmp0_6.lek_1.z6m();
4962
5308
  // Inline function 'kotlin.collections.map' call
4963
5309
  // Inline function 'kotlin.collections.mapTo' call
4964
5310
  var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
@@ -4969,7 +5315,7 @@
4969
5315
  destination_12.j(tmp$ret$58);
4970
5316
  }
4971
5317
  var sendToPlayer_6 = UserActionPayload_init_$Create$(tmp0_aid_1, tmp2_1, tmp4_1, element_4, destination_12);
4972
- var tmp0_safe_receiver_1 = mapToClient_11(action_0, sendToPlayer_6);
5318
+ var tmp0_safe_receiver_1 = mapToClient_12(action_0, sendToPlayer_6);
4973
5319
  if (tmp0_safe_receiver_1 == null)
4974
5320
  null;
4975
5321
  else {
@@ -4980,7 +5326,7 @@
4980
5326
  tmp = destination_11;
4981
5327
  } else {
4982
5328
  if (action_0 instanceof SceneActMechanicAction) {
4983
- var tmp0_7 = this.fek_1;
5329
+ var tmp0_7 = this.mek_1;
4984
5330
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
4985
5331
  var table_5 = state.c72();
4986
5332
  var tmp2_2 = table_5.id;
@@ -5013,7 +5359,7 @@
5013
5359
  var _iterator__ex2g4s_15 = destination_14.l();
5014
5360
  while (_iterator__ex2g4s_15.m()) {
5015
5361
  var element_6 = _iterator__ex2g4s_15.n();
5016
- var tmp0_aid_2 = tmp0_7.eek_1.z6m();
5362
+ var tmp0_aid_2 = tmp0_7.lek_1.z6m();
5017
5363
  // Inline function 'kotlin.collections.map' call
5018
5364
  // Inline function 'kotlin.collections.mapTo' call
5019
5365
  var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
@@ -5024,7 +5370,7 @@
5024
5370
  destination_16.j(tmp$ret$77);
5025
5371
  }
5026
5372
  var sendToPlayer_7 = UserActionPayload_init_$Create$(tmp0_aid_2, tmp2_2, tmp4_2, element_6, destination_16);
5027
- var tmp0_safe_receiver_2 = mapToClient_10(action_0, sendToPlayer_7);
5373
+ var tmp0_safe_receiver_2 = mapToClient_11(action_0, sendToPlayer_7);
5028
5374
  if (tmp0_safe_receiver_2 == null)
5029
5375
  null;
5030
5376
  else {
@@ -5035,7 +5381,7 @@
5035
5381
  tmp = destination_15;
5036
5382
  } else {
5037
5383
  if (action_0 instanceof TeamsDataMechanicAction) {
5038
- var tmp0_8 = this.fek_1;
5384
+ var tmp0_8 = this.mek_1;
5039
5385
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
5040
5386
  var table_6 = state.c72();
5041
5387
  var tmp2_3 = table_6.id;
@@ -5068,7 +5414,7 @@
5068
5414
  var _iterator__ex2g4s_19 = destination_18.l();
5069
5415
  while (_iterator__ex2g4s_19.m()) {
5070
5416
  var element_8 = _iterator__ex2g4s_19.n();
5071
- var tmp0_aid_3 = tmp0_8.eek_1.z6m();
5417
+ var tmp0_aid_3 = tmp0_8.lek_1.z6m();
5072
5418
  // Inline function 'kotlin.collections.map' call
5073
5419
  // Inline function 'kotlin.collections.mapTo' call
5074
5420
  var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
@@ -5080,10 +5426,10 @@
5080
5426
  }
5081
5427
  var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
5082
5428
  var tmp_0;
5083
- if (this.fek_1.dek_1.supportBackwardActions && getPlayer(state.c72().players, sendToPlayer_8.m7r_1).o75_1.h7a_1) {
5429
+ if (this.mek_1.kek_1.supportBackwardActions && getPlayer(state.c72().players, sendToPlayer_8.p7r_1).p75_1.i7a_1) {
5084
5430
  tmp_0 = null;
5085
5431
  } else {
5086
- tmp_0 = mapToClient_9(action_0, sendToPlayer_8);
5432
+ tmp_0 = mapToClient_10(action_0, sendToPlayer_8);
5087
5433
  }
5088
5434
  var tmp0_safe_receiver_3 = tmp_0;
5089
5435
  if (tmp0_safe_receiver_3 == null)
@@ -5096,81 +5442,81 @@
5096
5442
  tmp = destination_19;
5097
5443
  } else {
5098
5444
  if (action_0 instanceof PlayerReadyMechanicAction) {
5099
- var tmp0_9 = this.fek_1;
5445
+ var tmp0_9 = this.mek_1;
5100
5446
  var tmp2_4 = state.c72();
5101
5447
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
5102
- var exceptPlayerId = this.fek_1.dek_1.supportBackwardActions ? action_0.s8h_1 : null;
5103
- var sendToPlayer_9 = new RoomActionPayload(tmp0_9.eek_1.z6m(), tmp2_4.id, exceptPlayerId);
5104
- var tmp$ret$109 = mapToClient_8(action_0, sendToPlayer_9);
5448
+ var exceptPlayerId = this.mek_1.kek_1.supportBackwardActions ? action_0.u8h_1 : null;
5449
+ var sendToPlayer_9 = new RoomActionPayload(tmp0_9.lek_1.z6m(), tmp2_4.id, exceptPlayerId);
5450
+ var tmp$ret$109 = mapToClient_9(action_0, sendToPlayer_9);
5105
5451
  tmp = listOfNotNull(tmp$ret$109);
5106
5452
  } else {
5107
5453
  if (action_0 instanceof SuitChoiceMechanicAction) {
5108
- var tmp0_10 = this.fek_1;
5454
+ var tmp0_10 = this.mek_1;
5109
5455
  var tmp2_5 = state.c72();
5110
5456
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
5111
- var exceptPlayerId_0 = this.fek_1.dek_1.supportBackwardActions ? action_0.w8h_1 : null;
5112
- var sendToPlayer_10 = new RoomActionPayload(tmp0_10.eek_1.z6m(), tmp2_5.id, exceptPlayerId_0);
5113
- var tmp$ret$111 = mapToClient_7(action_0, sendToPlayer_10);
5457
+ var exceptPlayerId_0 = this.mek_1.kek_1.supportBackwardActions ? action_0.y8h_1 : null;
5458
+ var sendToPlayer_10 = new RoomActionPayload(tmp0_10.lek_1.z6m(), tmp2_5.id, exceptPlayerId_0);
5459
+ var tmp$ret$111 = mapToClient_8(action_0, sendToPlayer_10);
5114
5460
  tmp = listOfNotNull(tmp$ret$111);
5115
5461
  } else {
5116
5462
  if (action_0 instanceof TrumpMechanicAction) {
5117
- var tmp0_11 = this.fek_1;
5463
+ var tmp0_11 = this.mek_1;
5118
5464
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
5119
5465
  var table_7 = state.c72();
5120
- var sendToPlayer_11 = new RoomActionPayload(tmp0_11.eek_1.z6m(), table_7.id, null);
5121
- var tmp$ret$113 = mapToClient_6(action_0, sendToPlayer_11);
5466
+ var sendToPlayer_11 = new RoomActionPayload(tmp0_11.lek_1.z6m(), table_7.id, null);
5467
+ var tmp$ret$113 = mapToClient_7(action_0, sendToPlayer_11);
5122
5468
  tmp = listOfNotNull(tmp$ret$113);
5123
5469
  } else {
5124
5470
  if (action_0 instanceof CombinationChoiceMechanicAction) {
5125
- var tmp0_12 = this.fek_1;
5471
+ var tmp0_12 = this.mek_1;
5126
5472
  var tmp2_6 = state.c72();
5127
5473
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
5128
- var exceptPlayerId_1 = this.fek_1.dek_1.supportBackwardActions ? action_0.d8i_1 : null;
5129
- var sendToPlayer_12 = new RoomActionPayload(tmp0_12.eek_1.z6m(), tmp2_6.id, exceptPlayerId_1);
5130
- var tmp$ret$115 = mapToClient_5(action_0, sendToPlayer_12);
5474
+ var exceptPlayerId_1 = this.mek_1.kek_1.supportBackwardActions ? action_0.f8i_1 : null;
5475
+ var sendToPlayer_12 = new RoomActionPayload(tmp0_12.lek_1.z6m(), tmp2_6.id, exceptPlayerId_1);
5476
+ var tmp$ret$115 = mapToClient_6(action_0, sendToPlayer_12);
5131
5477
  tmp = listOfNotNull(tmp$ret$115);
5132
5478
  } else {
5133
5479
  if (action_0 instanceof PutCardMechanicAction) {
5134
- var tmp0_13 = this.fek_1;
5480
+ var tmp0_13 = this.mek_1;
5135
5481
  var tmp2_7 = state.c72();
5136
5482
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
5137
- var exceptPlayerId_2 = this.fek_1.dek_1.supportBackwardActions ? action_0.i8i_1 : null;
5138
- var sendToPlayer_13 = new RoomActionPayload(tmp0_13.eek_1.z6m(), tmp2_7.id, exceptPlayerId_2);
5139
- var tmp$ret$117 = mapToClient_4(action_0, sendToPlayer_13);
5483
+ var exceptPlayerId_2 = this.mek_1.kek_1.supportBackwardActions ? action_0.k8i_1 : null;
5484
+ var sendToPlayer_13 = new RoomActionPayload(tmp0_13.lek_1.z6m(), tmp2_7.id, exceptPlayerId_2);
5485
+ var tmp$ret$117 = mapToClient_5(action_0, sendToPlayer_13);
5140
5486
  tmp = listOfNotNull(tmp$ret$117);
5141
5487
  } else {
5142
5488
  if (action_0 instanceof PickUpBribeMechanicAction) {
5143
- var tmp0_14 = this.fek_1;
5489
+ var tmp0_14 = this.mek_1;
5144
5490
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
5145
5491
  var table_8 = state.c72();
5146
- var sendToPlayer_14 = new RoomActionPayload(tmp0_14.eek_1.z6m(), table_8.id, null);
5147
- var tmp$ret$119 = mapToClient_3(action_0, sendToPlayer_14);
5492
+ var sendToPlayer_14 = new RoomActionPayload(tmp0_14.lek_1.z6m(), table_8.id, null);
5493
+ var tmp$ret$119 = mapToClient_4(action_0, sendToPlayer_14);
5148
5494
  tmp = listOfNotNull(tmp$ret$119);
5149
5495
  } else {
5150
5496
  if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
5151
- var tmp0_15 = this.fek_1;
5497
+ var tmp0_15 = this.mek_1;
5152
5498
  var tmp2_8 = state.c72();
5153
5499
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
5154
- var exceptPlayerId_3 = this.fek_1.dek_1.supportBackwardActions ? action_0.p8i_1 : null;
5155
- var sendToPlayer_15 = new RoomActionPayload(tmp0_15.eek_1.z6m(), tmp2_8.id, exceptPlayerId_3);
5156
- var tmp$ret$121 = mapToClient_2(action_0, sendToPlayer_15);
5500
+ var exceptPlayerId_3 = this.mek_1.kek_1.supportBackwardActions ? action_0.r8i_1 : null;
5501
+ var sendToPlayer_15 = new RoomActionPayload(tmp0_15.lek_1.z6m(), tmp2_8.id, exceptPlayerId_3);
5502
+ var tmp$ret$121 = mapToClient_3(action_0, sendToPlayer_15);
5157
5503
  tmp = listOfNotNull(tmp$ret$121);
5158
5504
  } else {
5159
5505
  if (action_0 instanceof WinnerCombinationsMechanicAction) {
5160
- var tmp0_16 = this.fek_1;
5506
+ var tmp0_16 = this.mek_1;
5161
5507
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
5162
5508
  var table_9 = state.c72();
5163
- var sendToPlayer_16 = new RoomActionPayload(tmp0_16.eek_1.z6m(), table_9.id, null);
5164
- var tmp$ret$123 = mapToClient_1(action_0, sendToPlayer_16);
5509
+ var sendToPlayer_16 = new RoomActionPayload(tmp0_16.lek_1.z6m(), table_9.id, null);
5510
+ var tmp$ret$123 = mapToClient_2(action_0, sendToPlayer_16);
5165
5511
  tmp = listOfNotNull(tmp$ret$123);
5166
5512
  } else {
5167
5513
  if (action_0 instanceof MessageMechanicAction) {
5168
- var message = action_0.u8i_1;
5169
- var tmp0_17 = this.fek_1;
5514
+ var message = action_0.w8i_1;
5515
+ var tmp0_17 = this.mek_1;
5170
5516
  var tmp2_9 = state.c72();
5171
5517
  var tmp_1;
5172
5518
  var tmp_2;
5173
- if (this.fek_1.dek_1.supportBackwardActions) {
5519
+ if (this.mek_1.kek_1.supportBackwardActions) {
5174
5520
  tmp_2 = isInterface(message, UserMessage);
5175
5521
  } else {
5176
5522
  tmp_2 = false;
@@ -5182,17 +5528,17 @@
5182
5528
  }
5183
5529
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
5184
5530
  var exceptPlayerId_4 = tmp_1;
5185
- var sendToPlayer_17 = new RoomActionPayload(tmp0_17.eek_1.z6m(), tmp2_9.id, exceptPlayerId_4);
5186
- var tmp$ret$125 = mapToClient_0(action_0, sendToPlayer_17);
5531
+ var sendToPlayer_17 = new RoomActionPayload(tmp0_17.lek_1.z6m(), tmp2_9.id, exceptPlayerId_4);
5532
+ var tmp$ret$125 = mapToClient_1(action_0, sendToPlayer_17);
5187
5533
  tmp = listOfNotNull(tmp$ret$125);
5188
5534
  } else {
5189
5535
  if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
5190
- var tmp0_18 = this.fek_1;
5536
+ var tmp0_18 = this.mek_1;
5191
5537
  var tmp2_10 = state.c72();
5192
5538
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
5193
5539
  var exceptPlayerId_5 = action_0.playerId;
5194
- var sendToPlayer_18 = new RoomActionPayload(tmp0_18.eek_1.z6m(), tmp2_10.id, exceptPlayerId_5);
5195
- var tmp$ret$127 = mapToClient(action_0, sendToPlayer_18);
5540
+ var sendToPlayer_18 = new RoomActionPayload(tmp0_18.lek_1.z6m(), tmp2_10.id, exceptPlayerId_5);
5541
+ var tmp$ret$127 = mapToClient_0(action_0, sendToPlayer_18);
5196
5542
  tmp = listOfNotNull(tmp$ret$127);
5197
5543
  } else {
5198
5544
  noWhenBranchMatchedException();
@@ -5229,20 +5575,193 @@
5229
5575
  return this.q6q(store, next, action);
5230
5576
  };
5231
5577
  function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
5232
- this.dek_1 = logicConfig;
5233
- this.eek_1 = idsProvider;
5578
+ this.kek_1 = logicConfig;
5579
+ this.lek_1 = idsProvider;
5234
5580
  }
5235
- protoOf(ServerMapMechanicToClientActionMiddleware).n9q = function () {
5581
+ protoOf(ServerMapMechanicToClientActionMiddleware).i9q = function () {
5236
5582
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
5237
5583
  return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
5238
5584
  };
5585
+ function playerConnectionUpdateMiddleware(playerConnectionInteractor) {
5586
+ // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
5587
+ return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
5588
+ }
5589
+ function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
5590
+ this.nek_1 = $playerConnectionInteractor;
5591
+ }
5592
+ protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).b6p = function (action) {
5593
+ return action instanceof PlayerConnectionUpdateAction;
5594
+ };
5595
+ protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
5596
+ var tmp4 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
5597
+ $l$block_0: {
5598
+ next(tmp4);
5599
+ var state = store.state;
5600
+ if (!get_isCreated(state)) {
5601
+ break $l$block_0;
5602
+ }
5603
+ var player = getPlayer(state.c72().players, tmp4.c9l_1);
5604
+ if (tmp4.b9l_1.isVisibleDisconnectedReason && player.n75_1.k6h().z6f_1.isDisconnecting) {
5605
+ break $l$block_0;
5606
+ }
5607
+ // Inline function 'kotlin.collections.filterIsInstance' call
5608
+ var tmp0 = state.d71_1;
5609
+ // Inline function 'kotlin.collections.filterIsInstanceTo' call
5610
+ var destination = ArrayList_init_$Create$_0();
5611
+ var _iterator__ex2g4s = tmp0.l();
5612
+ while (_iterator__ex2g4s.m()) {
5613
+ var element = _iterator__ex2g4s.n();
5614
+ if (element instanceof PlayerReconnectionWaitingTimerTag) {
5615
+ destination.j(element);
5616
+ }
5617
+ }
5618
+ var tmp$ret$4;
5619
+ $l$block_2: {
5620
+ // Inline function 'kotlin.collections.singleOrNull' call
5621
+ var single = null;
5622
+ var found = false;
5623
+ var _iterator__ex2g4s_0 = destination.l();
5624
+ while (_iterator__ex2g4s_0.m()) {
5625
+ var element_0 = _iterator__ex2g4s_0.n();
5626
+ if (element_0.oek_1 === tmp4.c9l_1) {
5627
+ if (found) {
5628
+ tmp$ret$4 = null;
5629
+ break $l$block_2;
5630
+ }
5631
+ single = element_0;
5632
+ found = true;
5633
+ }
5634
+ }
5635
+ if (!found) {
5636
+ tmp$ret$4 = null;
5637
+ break $l$block_2;
5638
+ }
5639
+ tmp$ret$4 = single;
5640
+ }
5641
+ var reconnectionTimerTag = tmp$ret$4;
5642
+ if (!(reconnectionTimerTag == null)) {
5643
+ store.dispatch(new StopTimerAction(reconnectionTimerTag));
5644
+ }
5645
+ var actions = this.nek_1.hej(tmp4.b9l_1, tmp4.c9l_1, store.state.c72(), tmp4.d9l_1);
5646
+ // Inline function 'kotlin.collections.forEach' call
5647
+ var _iterator__ex2g4s_1 = actions.l();
5648
+ while (_iterator__ex2g4s_1.m()) {
5649
+ var element_1 = _iterator__ex2g4s_1.n();
5650
+ store.dispatch(element_1);
5651
+ }
5652
+ }
5653
+ };
5654
+ protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).a6p = function (store, next, action) {
5655
+ return this.q6q(store, next, action);
5656
+ };
5657
+ function PlayerReconnectionWaitingTimerTag(playerId, state) {
5658
+ this.oek_1 = playerId;
5659
+ this.pek_1 = state;
5660
+ }
5661
+ protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
5662
+ return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.oek_1 + ', state=' + this.pek_1.toString() + ')';
5663
+ };
5664
+ protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
5665
+ var result = getStringHashCode(this.oek_1);
5666
+ result = imul(result, 31) + this.pek_1.hashCode() | 0;
5667
+ return result;
5668
+ };
5669
+ protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
5670
+ if (this === other)
5671
+ return true;
5672
+ if (!(other instanceof PlayerReconnectionWaitingTimerTag))
5673
+ return false;
5674
+ if (!(this.oek_1 === other.oek_1))
5675
+ return false;
5676
+ if (!this.pek_1.equals(other.pek_1))
5677
+ return false;
5678
+ return true;
5679
+ };
5680
+ function playerReconnectionTimeoutMiddleware(playerConnectionInteractor) {
5681
+ // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
5682
+ return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
5683
+ }
5684
+ function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
5685
+ this.qek_1 = $playerConnectionInteractor;
5686
+ }
5687
+ protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).b6p = function (action) {
5688
+ return action instanceof TimerTickAction;
5689
+ };
5690
+ protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
5691
+ var tmp4 = action instanceof TimerTickAction ? action : THROW_CCE();
5692
+ $l$block: {
5693
+ if (!get_isCreated(store.state)) {
5694
+ break $l$block;
5695
+ }
5696
+ var timerTag = tmp4.x6o_1;
5697
+ if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
5698
+ var state = store.state;
5699
+ var actions = this.qek_1.hej(timerTag.pek_1, timerTag.oek_1, state.c72(), true);
5700
+ // Inline function 'kotlin.collections.isNotEmpty' call
5701
+ if (!actions.q()) {
5702
+ // Inline function 'kotlin.collections.forEach' call
5703
+ var _iterator__ex2g4s = actions.l();
5704
+ while (_iterator__ex2g4s.m()) {
5705
+ var element = _iterator__ex2g4s.n();
5706
+ store.dispatch(element);
5707
+ }
5708
+ }
5709
+ }
5710
+ next(tmp4);
5711
+ }
5712
+ };
5713
+ protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).a6p = function (store, next, action) {
5714
+ return this.q6q(store, next, action);
5715
+ };
5716
+ function playerReconnectionTimerStartWhenStartGameMiddleware(playerConnectionInteractor) {
5717
+ // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
5718
+ return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
5719
+ }
5720
+ function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
5721
+ this.rek_1 = $playerConnectionInteractor;
5722
+ }
5723
+ protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).b6p = function (action) {
5724
+ return isInterface(action, FirstMechanicAction);
5725
+ };
5726
+ protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
5727
+ next(isInterface(action, FirstMechanicAction) ? action : THROW_CCE());
5728
+ var connectedPlayers = get_serverStatePayload(store.state).connectedPlayers;
5729
+ var table = store.state.c72();
5730
+ // Inline function 'kotlin.collections.filterNot' call
5731
+ var tmp0 = table.players;
5732
+ // Inline function 'kotlin.collections.filterNotTo' call
5733
+ var destination = ArrayList_init_$Create$_0();
5734
+ var _iterator__ex2g4s = tmp0.l();
5735
+ while (_iterator__ex2g4s.m()) {
5736
+ var element = _iterator__ex2g4s.n();
5737
+ if (!connectedPlayers.u1(element.playerId)) {
5738
+ destination.j(element);
5739
+ }
5740
+ }
5741
+ // Inline function 'kotlin.collections.forEach' call
5742
+ var _iterator__ex2g4s_0 = destination.l();
5743
+ while (_iterator__ex2g4s_0.m()) {
5744
+ var element_0 = _iterator__ex2g4s_0.n();
5745
+ var tmp0_newConnectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
5746
+ var tmp1_playerId = element_0.playerId;
5747
+ // Inline function 'kotlin.collections.forEach' call
5748
+ var _iterator__ex2g4s_1 = this.rek_1.iej(tmp1_playerId, tmp0_newConnectionState).l();
5749
+ while (_iterator__ex2g4s_1.m()) {
5750
+ var element_1 = _iterator__ex2g4s_1.n();
5751
+ store.dispatch(element_1);
5752
+ }
5753
+ }
5754
+ };
5755
+ protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).a6p = function (store, next, action) {
5756
+ return this.q6q(store, next, action);
5757
+ };
5239
5758
  function sendToClientActionMiddleware(asyncProvider, provider) {
5240
5759
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
5241
5760
  return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
5242
5761
  }
5243
5762
  function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
5244
- this.oek_1 = $provider;
5245
- this.pek_1 = $action;
5763
+ this.ael_1 = $provider;
5764
+ this.bel_1 = $action;
5246
5765
  CoroutineImpl.call(this, resultContinuation);
5247
5766
  }
5248
5767
  protoOf(sendToClientActionMiddleware$o$handle$slambda).j29 = function ($this$launchDefault, $completion) {
@@ -5263,7 +5782,7 @@
5263
5782
  case 0:
5264
5783
  this.t8_1 = 2;
5265
5784
  this.s8_1 = 1;
5266
- suspendResult = this.oek_1.beh(this.pek_1, this);
5785
+ suspendResult = this.ael_1.beh(this.bel_1, this);
5267
5786
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
5268
5787
  return suspendResult;
5269
5788
  }
@@ -5286,8 +5805,8 @@
5286
5805
  while (true);
5287
5806
  };
5288
5807
  protoOf(sendToClientActionMiddleware$o$handle$slambda).k29 = function ($this$launchDefault, completion) {
5289
- var i = new sendToClientActionMiddleware$o$handle$slambda(this.oek_1, this.pek_1, completion);
5290
- i.qek_1 = $this$launchDefault;
5808
+ var i = new sendToClientActionMiddleware$o$handle$slambda(this.ael_1, this.bel_1, completion);
5809
+ i.cel_1 = $this$launchDefault;
5291
5810
  return i;
5292
5811
  };
5293
5812
  function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
@@ -5299,15 +5818,15 @@
5299
5818
  return l;
5300
5819
  }
5301
5820
  function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
5302
- this.rek_1 = $asyncProvider;
5303
- this.sek_1 = $provider;
5821
+ this.del_1 = $asyncProvider;
5822
+ this.eel_1 = $provider;
5304
5823
  }
5305
5824
  protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).b6p = function (action) {
5306
5825
  return action instanceof ToClientAction;
5307
5826
  };
5308
5827
  protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
5309
5828
  var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
5310
- this.rek_1.e6l(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.sek_1, action_0, null));
5829
+ this.del_1.e6l(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.eel_1, action_0, null));
5311
5830
  next(action_0);
5312
5831
  };
5313
5832
  protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6p = function (store, next, action) {
@@ -5322,103 +5841,115 @@
5322
5841
  protoOf(serverConfigReducer$$inlined$reducerForActionType$1).b6p = function (action) {
5323
5842
  return action instanceof UpdateServerConfigAction;
5324
5843
  };
5325
- protoOf(serverConfigReducer$$inlined$reducerForActionType$1).ma1 = function (state, action) {
5844
+ protoOf(serverConfigReducer$$inlined$reducerForActionType$1).da1 = function (state, action) {
5326
5845
  var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
5327
- return state.c9l(VOID, get_serverStatePayload(state).copy(action_0.hej_1));
5846
+ return state.w9k(VOID, get_serverStatePayload(state).copy(action_0.oej_1));
5328
5847
  };
5329
5848
  protoOf(serverConfigReducer$$inlined$reducerForActionType$1).r6q = function (state, action) {
5330
- return this.ma1((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
5849
+ return this.da1((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
5331
5850
  };
5332
5851
  function addRoomMetadata($this, _this__u8e3s4, gameId) {
5333
5852
  _this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
5334
5853
  return _this__u8e3s4.metadata;
5335
5854
  }
5336
5855
  function Companion_5() {
5337
- this.tek_1 = 'ServerMechanicLifecycleReducer';
5856
+ this.fel_1 = 'ServerMechanicLifecycleReducer';
5338
5857
  }
5339
- var Companion_instance_13;
5858
+ var Companion_instance_15;
5340
5859
  function Companion_getInstance_6() {
5341
- return Companion_instance_13;
5860
+ return Companion_instance_15;
5342
5861
  }
5343
- function ServerMechanicLifecycleReducer$onStart$lambda($action) {
5862
+ function ServerMechanicLifecycleReducer$onStart$lambda(this$0, $updatedServerPayload, $action) {
5344
5863
  return function (it) {
5345
- var tmp = Companion_instance_1;
5864
+ var tmp = Companion_instance_3;
5346
5865
  var tmp_0;
5347
5866
  if (it.isBot) {
5348
- tmp_0 = Companion_instance_2.x6f(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
5867
+ tmp_0 = Companion_instance_4.x6f(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
5349
5868
  } else {
5350
- var tmp_1 = Companion_instance_2;
5351
- var tmp_2 = PlayerConnectionState_LIVE_getInstance();
5352
- Companion_getInstance();
5353
- // Inline function 'kotlin.time.Companion.milliseconds' call
5354
- var this_0 = $action.k8g_1.timeoutTimeMillis;
5355
- var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
5356
- tmp_0 = tmp_1.w6f(tmp_2, tmp$ret$0);
5869
+ var tmp_1;
5870
+ if (this$0.jel_1.waitForPlayerToConnectOnStart) {
5871
+ var tmp_2 = Companion_instance_4;
5872
+ var tmp_3;
5873
+ if ($updatedServerPayload.connectedPlayers.u1(it.v6e_1)) {
5874
+ tmp_3 = PlayerConnectionState_LIVE_getInstance();
5875
+ } else {
5876
+ tmp_3 = PlayerConnectionState_WAITING_getInstance();
5877
+ }
5878
+ var tmp_4 = tmp_3;
5879
+ Companion_getInstance();
5880
+ // Inline function 'kotlin.time.Companion.milliseconds' call
5881
+ var this_0 = $action.o8g_1.timeoutTimeMillis;
5882
+ var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
5883
+ tmp_1 = tmp_2.w6f(tmp_4, tmp$ret$0);
5884
+ } else {
5885
+ var tmp_5 = Companion_instance_4;
5886
+ var tmp_6 = PlayerConnectionState_LIVE_getInstance();
5887
+ Companion_getInstance();
5888
+ // Inline function 'kotlin.time.Companion.milliseconds' call
5889
+ var this_1 = $action.o8g_1.timeoutTimeMillis;
5890
+ var tmp$ret$1 = toDuration(this_1, DurationUnit_MILLISECONDS_getInstance());
5891
+ tmp_1 = tmp_5.w6f(tmp_6, tmp$ret$1);
5892
+ }
5893
+ tmp_0 = tmp_1;
5357
5894
  }
5358
5895
  return tmp.g6h(tmp_0);
5359
5896
  };
5360
5897
  }
5361
- function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
5898
+ function ServerMechanicLifecycleReducer(logger, serverReduxConfig, tableLifecycleReducer, randomPoolProvider) {
5362
5899
  BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
5363
- this.wek_1 = logger;
5364
- }
5365
- protoOf(ServerMechanicLifecycleReducer).za2 = function (state, action) {
5366
- this.wek_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
5367
- var serverState = get_serverStatePayloadOrNull(state.payload);
5368
- var tableId = action.l8g_1;
5900
+ this.iel_1 = logger;
5901
+ this.jel_1 = serverReduxConfig;
5902
+ }
5903
+ protoOf(ServerMechanicLifecycleReducer).ua2 = function (state, action) {
5904
+ this.iel_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
5905
+ var tableId = action.p8g_1;
5906
+ var serverState = get_serverStatePayload(state);
5907
+ var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
5369
5908
  var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
5370
- var tmp0_$this = this.aa3_1;
5371
- var tmp1_version = action.m8g_1;
5372
- var tmp2_config = action.k8g_1;
5373
- var tmp3_users = action.o8g_1;
5909
+ var tmp0_$this = this.va2_1;
5910
+ var tmp1_version = action.q8g_1;
5911
+ var tmp2_config = action.o8g_1;
5912
+ var tmp3_users = action.s8g_1;
5374
5913
  var tmp4_spectators = action.spectators;
5375
- var tmp5_gameCreatorPlayerId = action.n8g_1;
5376
- var tmp7_tableOrNull = tmp0_$this.ha4(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
5377
- var tmp;
5378
- if (serverState == null) {
5379
- this.wek_1.w(VOID, 'ServerPayload is not onStart');
5380
- tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload(state), tableId));
5381
- } else {
5382
- tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload(state), tableId));
5383
- }
5384
- var tmp8_payload = tmp;
5385
- return state.c9l(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
5914
+ var tmp5_gameCreatorPlayerId = action.r8g_1;
5915
+ var tmp7_tableOrNull = tmp0_$this.da4(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(this, updatedServerPayload, action));
5916
+ return state.w9k(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
5386
5917
  };
5387
- protoOf(ServerMechanicLifecycleReducer).xa2 = function (state, action) {
5388
- this.wek_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
5918
+ protoOf(ServerMechanicLifecycleReducer).sa2 = function (state, action) {
5919
+ this.iel_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
5389
5920
  var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
5390
- var tmp2_tableOrNull = action.r8g_1;
5391
- var tmp = Companion_instance_14;
5921
+ var tmp2_tableOrNull = action.v8g_1;
5922
+ var tmp = Companion_instance_16;
5392
5923
  var tmp_0 = get_serverStatePayload(state).config;
5393
- var tmp_1 = action.s8g_1;
5924
+ var tmp_1 = action.w8g_1;
5394
5925
  var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
5395
- var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q6d_1), addRoomMetadata(this, get_serverStatePayload(state), action.r8g_1.gameId));
5396
- return state.c9l(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
5926
+ var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q6d_1), addRoomMetadata(this, get_serverStatePayload(state), action.v8g_1.gameId));
5927
+ return state.w9k(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
5397
5928
  };
5398
- protoOf(ServerMechanicLifecycleReducer).ya2 = function (state, action) {
5399
- this.ba3_1.i5o(action.previousGameId);
5929
+ protoOf(ServerMechanicLifecycleReducer).ta2 = function (state, action) {
5930
+ this.wa2_1.i5o(action.previousGameId);
5400
5931
  var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
5401
- var tmp1_tableOrNull = this.aa3_1.ia4(state.c72(), action.gameId);
5932
+ var tmp1_tableOrNull = this.va2_1.ea4(state.c72(), action.gameId);
5402
5933
  var tmp2_payload = get_serverStatePayload(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload(state), action.gameId));
5403
- return state.c9l(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
5934
+ return state.w9k(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
5404
5935
  };
5405
5936
  function spectatorsReducer(logger) {
5406
5937
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
5407
5938
  return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
5408
5939
  }
5409
5940
  function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
5410
- this.xek_1 = $logger;
5941
+ this.kel_1 = $logger;
5411
5942
  }
5412
5943
  protoOf(spectatorsReducer$$inlined$reducerForActionType$1).b6p = function (action) {
5413
5944
  return isInterface(action, SpectatorsAction);
5414
5945
  };
5415
- protoOf(spectatorsReducer$$inlined$reducerForActionType$1).ma1 = function (state, action) {
5946
+ protoOf(spectatorsReducer$$inlined$reducerForActionType$1).da1 = function (state, action) {
5416
5947
  var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
5417
5948
  var table = state.c72();
5418
5949
  var tmp;
5419
5950
  if (action_0 instanceof AddSpectatorsAction) {
5420
5951
  // Inline function 'kotlin.collections.mapNotNull' call
5421
- var tmp0 = action_0.iej_1;
5952
+ var tmp0 = action_0.pej_1;
5422
5953
  // Inline function 'kotlin.collections.mapNotNullTo' call
5423
5954
  var destination = ArrayList_init_$Create$_0();
5424
5955
  // Inline function 'kotlin.collections.forEach' call
@@ -5437,9 +5968,9 @@
5437
5968
  var tmp_0;
5438
5969
  // Inline function 'kotlin.collections.isNotEmpty' call
5439
5970
  if (!sameSpectators.q()) {
5440
- this.xek_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
5971
+ this.kel_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
5441
5972
  // Inline function 'kotlin.collections.filterNot' call
5442
- var tmp0_0 = action_0.iej_1;
5973
+ var tmp0_0 = action_0.pej_1;
5443
5974
  // Inline function 'kotlin.collections.filterNotTo' call
5444
5975
  var destination_0 = ArrayList_init_$Create$_0();
5445
5976
  var _iterator__ex2g4s_0 = tmp0_0.l();
@@ -5474,7 +6005,7 @@
5474
6005
  }
5475
6006
  tmp_0 = destination_0;
5476
6007
  } else {
5477
- tmp_0 = action_0.iej_1;
6008
+ tmp_0 = action_0.pej_1;
5478
6009
  }
5479
6010
  // Inline function 'kotlin.collections.map' call
5480
6011
  var this_0 = tmp_0;
@@ -5487,11 +6018,11 @@
5487
6018
  destination_1.j(tmp$ret$13);
5488
6019
  }
5489
6020
  var spectatorsToAdd = toSet(destination_1);
5490
- tmp = state.c9l(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
6021
+ tmp = state.w9k(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
5491
6022
  } else {
5492
6023
  if (action_0 instanceof RemoveSpectatorsAction) {
5493
6024
  // Inline function 'kotlin.collections.mapNotNull' call
5494
- var tmp0_1 = action_0.jej_1;
6025
+ var tmp0_1 = action_0.qej_1;
5495
6026
  // Inline function 'kotlin.collections.mapNotNullTo' call
5496
6027
  var destination_2 = ArrayList_init_$Create$_0();
5497
6028
  // Inline function 'kotlin.collections.forEach' call
@@ -5510,9 +6041,9 @@
5510
6041
  var tmp_2;
5511
6042
  // Inline function 'kotlin.collections.isNotEmpty' call
5512
6043
  if (!sameSpectators_0.q()) {
5513
- this.xek_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
6044
+ this.kel_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
5514
6045
  // Inline function 'kotlin.collections.filterNot' call
5515
- var tmp0_2 = action_0.jej_1;
6046
+ var tmp0_2 = action_0.qej_1;
5516
6047
  // Inline function 'kotlin.collections.filterNotTo' call
5517
6048
  var destination_3 = ArrayList_init_$Create$_0();
5518
6049
  var _iterator__ex2g4s_4 = tmp0_2.l();
@@ -5547,7 +6078,7 @@
5547
6078
  }
5548
6079
  tmp_2 = destination_3;
5549
6080
  } else {
5550
- tmp_2 = action_0.jej_1;
6081
+ tmp_2 = action_0.qej_1;
5551
6082
  }
5552
6083
  var spectatorsToRemove = toSet(tmp_2);
5553
6084
  // Inline function 'kotlin.collections.filterNot' call
@@ -5584,7 +6115,7 @@
5584
6115
  destination_4.j(element_5);
5585
6116
  }
5586
6117
  }
5587
- tmp = state.c9l(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
6118
+ tmp = state.w9k(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
5588
6119
  } else {
5589
6120
  noWhenBranchMatchedException();
5590
6121
  }
@@ -5592,52 +6123,84 @@
5592
6123
  return tmp;
5593
6124
  };
5594
6125
  protoOf(spectatorsReducer$$inlined$reducerForActionType$1).r6q = function (state, action) {
5595
- return this.ma1((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
6126
+ return this.da1((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
6127
+ };
6128
+ function playerConnectionUpdateReducer() {
6129
+ // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
6130
+ return new playerConnectionUpdateReducer$$inlined$reducerForActionType$1();
6131
+ }
6132
+ function playerConnectionUpdateReducer$$inlined$reducerForActionType$1() {
6133
+ }
6134
+ protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).b6p = function (action) {
6135
+ return action instanceof PlayerConnectionUpdateAction;
6136
+ };
6137
+ protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).da1 = function (state, action) {
6138
+ var action_0 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
6139
+ var statePayload = get_serverStatePayload(state);
6140
+ var tmp;
6141
+ if (action_0.b9l_1.isLive) {
6142
+ tmp = state.w9k(VOID, statePayload.copy(VOID, VOID, plus_0(statePayload.connectedPlayers, action_0.c9l_1)));
6143
+ } else {
6144
+ tmp = state;
6145
+ }
6146
+ return tmp;
6147
+ };
6148
+ protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).r6q = function (state, action) {
6149
+ return this.da1((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
5596
6150
  };
5597
6151
  function Companion_6() {
5598
6152
  }
5599
- protoOf(Companion_6).yek = function (config, metadata) {
5600
- return new ServerStatePayload(config, metadata);
6153
+ protoOf(Companion_6).lel = function (config, metadata) {
6154
+ return new ServerStatePayload(config, metadata, emptyList());
5601
6155
  };
5602
6156
  protoOf(Companion_6).initial = function (config, metadata, $super) {
5603
- config = config === VOID ? Companion_instance_8.initial(null) : config;
6157
+ config = config === VOID ? Companion_instance_10.initial(null) : config;
5604
6158
  metadata = metadata === VOID ? new RoomMetadata() : metadata;
5605
- return $super === VOID ? this.yek(config, metadata) : $super.yek.call(this, config, metadata);
6159
+ return $super === VOID ? this.lel(config, metadata) : $super.lel.call(this, config, metadata);
5606
6160
  };
5607
- var Companion_instance_14;
6161
+ var Companion_instance_16;
5608
6162
  function Companion_getInstance_7() {
5609
- return Companion_instance_14;
6163
+ return Companion_instance_16;
5610
6164
  }
5611
- function ServerStatePayload(config, metadata) {
6165
+ function ServerStatePayload(config, metadata, connectedPlayers) {
5612
6166
  this.config = config;
5613
6167
  this.metadata = metadata;
6168
+ this.connectedPlayers = connectedPlayers;
5614
6169
  }
5615
6170
  protoOf(ServerStatePayload).e3w = function () {
5616
6171
  return this.config;
5617
6172
  };
5618
- protoOf(ServerStatePayload).g96 = function () {
6173
+ protoOf(ServerStatePayload).i96 = function () {
5619
6174
  return this.metadata;
5620
6175
  };
6176
+ protoOf(ServerStatePayload).mel = function () {
6177
+ return this.connectedPlayers;
6178
+ };
5621
6179
  protoOf(ServerStatePayload).oe = function () {
5622
6180
  return this.config;
5623
6181
  };
5624
6182
  protoOf(ServerStatePayload).pe = function () {
5625
6183
  return this.metadata;
5626
6184
  };
5627
- protoOf(ServerStatePayload).zek = function (config, metadata) {
5628
- return new ServerStatePayload(config, metadata);
6185
+ protoOf(ServerStatePayload).xl = function () {
6186
+ return this.connectedPlayers;
6187
+ };
6188
+ protoOf(ServerStatePayload).nel = function (config, metadata, connectedPlayers) {
6189
+ return new ServerStatePayload(config, metadata, connectedPlayers);
5629
6190
  };
5630
- protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
6191
+ protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
5631
6192
  config = config === VOID ? this.config : config;
5632
6193
  metadata = metadata === VOID ? this.metadata : metadata;
5633
- return $super === VOID ? this.zek(config, metadata) : $super.zek.call(this, config, metadata);
6194
+ connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
6195
+ return $super === VOID ? this.nel(config, metadata, connectedPlayers) : $super.nel.call(this, config, metadata, connectedPlayers);
5634
6196
  };
5635
6197
  protoOf(ServerStatePayload).toString = function () {
5636
- return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
6198
+ return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
5637
6199
  };
5638
6200
  protoOf(ServerStatePayload).hashCode = function () {
5639
6201
  var result = this.config.hashCode();
5640
6202
  result = imul(result, 31) + hashCode(this.metadata) | 0;
6203
+ result = imul(result, 31) + hashCode(this.connectedPlayers) | 0;
5641
6204
  return result;
5642
6205
  };
5643
6206
  protoOf(ServerStatePayload).equals = function (other) {
@@ -5649,10 +6212,12 @@
5649
6212
  return false;
5650
6213
  if (!equals(this.metadata, other.metadata))
5651
6214
  return false;
6215
+ if (!equals(this.connectedPlayers, other.connectedPlayers))
6216
+ return false;
5652
6217
  return true;
5653
6218
  };
5654
6219
  function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
5655
- var gameId = Companion_instance_3.ka6(payload);
6220
+ var gameId = Companion_instance_5.ga6(payload);
5656
6221
  var tmp;
5657
6222
  if (!(gameId == null)) {
5658
6223
  tmp = new ServerLoggerKey(gameId);
@@ -5685,9 +6250,6 @@
5685
6250
  function get_serverStatePayload_0(_this__u8e3s4) {
5686
6251
  return _this__u8e3s4 instanceof ServerStatePayload ? _this__u8e3s4 : THROW_CCE();
5687
6252
  }
5688
- function get_serverStatePayloadOrNull(_this__u8e3s4) {
5689
- return _this__u8e3s4 instanceof ServerStatePayload ? _this__u8e3s4 : null;
5690
- }
5691
6253
  function GameEngineController() {
5692
6254
  }
5693
6255
  function createGameServerController(loggerCallback, randomOrgConfig) {
@@ -5695,14 +6257,14 @@
5695
6257
  return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
5696
6258
  }
5697
6259
  function _get_logger__rkp4sl_0($this) {
5698
- var tmp0 = $this.iel_1;
6260
+ var tmp0 = $this.wel_1;
5699
6261
  var tmp = KProperty1;
5700
6262
  // Inline function 'kotlin.getValue' call
5701
6263
  getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
5702
6264
  return tmp0.x();
5703
6265
  }
5704
6266
  function _get_di__ndbzja($this) {
5705
- var tmp0 = $this.jel_1;
6267
+ var tmp0 = $this.xel_1;
5706
6268
  var tmp = KProperty1;
5707
6269
  // Inline function 'kotlin.getValue' call
5708
6270
  getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
@@ -5719,8 +6281,8 @@
5719
6281
  }
5720
6282
  function createCallbackOutput($this, gameServer) {
5721
6283
  var tmp;
5722
- if (!($this.gel_1 == null)) {
5723
- var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.gel_1);
6284
+ if (!($this.uel_1 == null)) {
6285
+ var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.uel_1);
5724
6286
  tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
5725
6287
  } else {
5726
6288
  tmp = null;
@@ -5728,17 +6290,17 @@
5728
6290
  return tmp;
5729
6291
  }
5730
6292
  function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares, externalModule) {
5731
- var tmp = Companion_instance_4;
6293
+ var tmp = Companion_instance_6;
5732
6294
  return tmp.q1b(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares));
5733
6295
  }
5734
6296
  function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
5735
6297
  return function () {
5736
6298
  var tmp;
5737
- if (this$0.gel_1 == null) {
6299
+ if (this$0.uel_1 == null) {
5738
6300
  tmp = null;
5739
6301
  } else {
5740
6302
  // Inline function 'kotlin.let' call
5741
- tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.gel_1)]));
6303
+ tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.uel_1)]));
5742
6304
  }
5743
6305
  var tmp1_elvis_lhs = tmp;
5744
6306
  return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
@@ -5771,13 +6333,13 @@
5771
6333
  tmp_0.f1f(tmp$ret$3);
5772
6334
  $this$DI.j1b(jsonModule());
5773
6335
  $this$DI.j1b(serverHelpersModule());
5774
- $this$DI.j1b(randomOrgModule(this$0.hel_1));
6336
+ $this$DI.j1b(randomOrgModule(this$0.vel_1));
5775
6337
  return Unit_instance;
5776
6338
  };
5777
6339
  }
5778
6340
  function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
5779
6341
  return function () {
5780
- var tmp = Companion_instance_4;
6342
+ var tmp = Companion_instance_6;
5781
6343
  return tmp.q1b(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
5782
6344
  };
5783
6345
  }
@@ -5847,16 +6409,16 @@
5847
6409
  };
5848
6410
  }
5849
6411
  function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
5850
- this.qel_1 = $reducer;
6412
+ this.eem_1 = $reducer;
5851
6413
  }
5852
6414
  protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).b6p = function (action) {
5853
6415
  return isInterface(action, Action);
5854
6416
  };
5855
- protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).ma1 = function (state, action) {
5856
- return this.qel_1(state, isInterface(action, Action) ? action : THROW_CCE());
6417
+ protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).da1 = function (state, action) {
6418
+ return this.eem_1(state, isInterface(action, Action) ? action : THROW_CCE());
5857
6419
  };
5858
6420
  protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).r6q = function (state, action) {
5859
- return this.ma1((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
6421
+ return this.da1((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
5860
6422
  };
5861
6423
  function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
5862
6424
  return function () {
@@ -5936,7 +6498,7 @@
5936
6498
  }
5937
6499
  function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
5938
6500
  return function (it) {
5939
- var payload = Companion_instance_5.va4(it);
6501
+ var payload = Companion_instance_7.ra4(it);
5940
6502
  var tmp;
5941
6503
  if (!(payload == null)) {
5942
6504
  return payload;
@@ -5957,7 +6519,7 @@
5957
6519
  // Inline function 'kotlin.let' call
5958
6520
  $this$DI.j1b(tmp0_safe_receiver);
5959
6521
  }
5960
- $this$DI.j1b(dealerModule(this$0.randomPoolProvider, this$0.hel_1));
6522
+ $this$DI.j1b(dealerModule(this$0.randomPoolProvider, this$0.vel_1));
5961
6523
  $this$DI.j1b(coreModule($coreConfig));
5962
6524
  $this$DI.j1b(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
5963
6525
  return Unit_instance;
@@ -5966,8 +6528,8 @@
5966
6528
  function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
5967
6529
  loggerCallback = loggerCallback === VOID ? null : loggerCallback;
5968
6530
  production = production === VOID ? true : production;
5969
- this.gel_1 = loggerCallback;
5970
- this.hel_1 = randomOrgConfig;
6531
+ this.uel_1 = loggerCallback;
6532
+ this.vel_1 = randomOrgConfig;
5971
6533
  var tmp = AppEnvironment_getInstance();
5972
6534
  var tmp_0;
5973
6535
  if (production) {
@@ -5977,9 +6539,9 @@
5977
6539
  }
5978
6540
  tmp.e6w(tmp_0);
5979
6541
  var tmp_1 = this;
5980
- tmp_1.iel_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
6542
+ tmp_1.wel_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
5981
6543
  var tmp_2 = this;
5982
- tmp_2.jel_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
6544
+ tmp_2.xel_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
5983
6545
  var tmp_3 = this;
5984
6546
  // Inline function 'org.kodein.di.instance' call
5985
6547
  var this_0 = _get_di__ndbzja(this);
@@ -5988,7 +6550,7 @@
5988
6550
  var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
5989
6551
  var tmp_5 = Instance(this_0, tmp$ret$0, null);
5990
6552
  var tmp_6 = KProperty1;
5991
- tmp_3.kel_1 = tmp_5.c1h(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
6553
+ tmp_3.yel_1 = tmp_5.c1h(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
5992
6554
  var tmp_7 = this;
5993
6555
  // Inline function 'org.kodein.di.instance' call
5994
6556
  var this_1 = _get_di__ndbzja(this);
@@ -5997,7 +6559,7 @@
5997
6559
  var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
5998
6560
  var tmp_9 = Instance(this_1, tmp$ret$2, null);
5999
6561
  var tmp_10 = KProperty1;
6000
- tmp_7.lel_1 = tmp_9.c1h(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
6562
+ tmp_7.zel_1 = tmp_9.c1h(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
6001
6563
  var tmp_11 = this;
6002
6564
  // Inline function 'org.kodein.di.instance' call
6003
6565
  var this_2 = _get_di__ndbzja(this);
@@ -6006,7 +6568,7 @@
6006
6568
  var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
6007
6569
  var tmp_13 = Instance(this_2, tmp$ret$4, null);
6008
6570
  var tmp_14 = KProperty1;
6009
- tmp_11.mel_1 = tmp_13.c1h(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
6571
+ tmp_11.aem_1 = tmp_13.c1h(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
6010
6572
  var tmp_15 = this;
6011
6573
  // Inline function 'org.kodein.di.instance' call
6012
6574
  var this_3 = _get_di__ndbzja(this);
@@ -6015,7 +6577,7 @@
6015
6577
  var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
6016
6578
  var tmp_17 = Instance(this_3, tmp$ret$6, null);
6017
6579
  var tmp_18 = KProperty1;
6018
- tmp_15.nel_1 = tmp_17.c1h(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
6580
+ tmp_15.bem_1 = tmp_17.c1h(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
6019
6581
  var tmp_19 = this;
6020
6582
  // Inline function 'org.kodein.di.instance' call
6021
6583
  var this_4 = _get_di__ndbzja(this);
@@ -6024,7 +6586,7 @@
6024
6586
  var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
6025
6587
  var tmp_21 = Instance(this_4, tmp$ret$8, null);
6026
6588
  var tmp_22 = KProperty1;
6027
- tmp_19.oel_1 = tmp_21.c1h(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
6589
+ tmp_19.cem_1 = tmp_21.c1h(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
6028
6590
  var tmp_23 = this;
6029
6591
  // Inline function 'org.kodein.di.instance' call
6030
6592
  var this_5 = _get_di__ndbzja(this);
@@ -6033,45 +6595,45 @@
6033
6595
  var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
6034
6596
  var tmp_25 = Instance(this_5, tmp$ret$10, null);
6035
6597
  var tmp_26 = KProperty1;
6036
- tmp_23.pel_1 = tmp_25.c1h(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
6598
+ tmp_23.dem_1 = tmp_25.c1h(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
6037
6599
  }
6038
- protoOf(GameServerEngineControllerImpl).mdy = function () {
6039
- var tmp0 = this.kel_1;
6600
+ protoOf(GameServerEngineControllerImpl).jdy = function () {
6601
+ var tmp0 = this.yel_1;
6040
6602
  var tmp = KProperty1;
6041
6603
  // Inline function 'kotlin.getValue' call
6042
6604
  getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
6043
6605
  return tmp0.x();
6044
6606
  };
6045
- protoOf(GameServerEngineControllerImpl).bel = function () {
6046
- var tmp0 = this.lel_1;
6607
+ protoOf(GameServerEngineControllerImpl).pel = function () {
6608
+ var tmp0 = this.zel_1;
6047
6609
  var tmp = KProperty1;
6048
6610
  // Inline function 'kotlin.getValue' call
6049
6611
  getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
6050
6612
  return tmp0.x();
6051
6613
  };
6052
- protoOf(GameServerEngineControllerImpl).cel = function () {
6053
- var tmp0 = this.mel_1;
6614
+ protoOf(GameServerEngineControllerImpl).qel = function () {
6615
+ var tmp0 = this.aem_1;
6054
6616
  var tmp = KProperty1;
6055
6617
  // Inline function 'kotlin.getValue' call
6056
6618
  getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
6057
6619
  return tmp0.x();
6058
6620
  };
6059
- protoOf(GameServerEngineControllerImpl).del = function () {
6060
- var tmp0 = this.nel_1;
6621
+ protoOf(GameServerEngineControllerImpl).rel = function () {
6622
+ var tmp0 = this.bem_1;
6061
6623
  var tmp = KProperty1;
6062
6624
  // Inline function 'kotlin.getValue' call
6063
6625
  getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
6064
6626
  return tmp0.x();
6065
6627
  };
6066
- protoOf(GameServerEngineControllerImpl).ael = function () {
6067
- var tmp0 = this.oel_1;
6628
+ protoOf(GameServerEngineControllerImpl).oel = function () {
6629
+ var tmp0 = this.cem_1;
6068
6630
  var tmp = KProperty1;
6069
6631
  // Inline function 'kotlin.getValue' call
6070
6632
  getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
6071
6633
  return tmp0.x();
6072
6634
  };
6073
- protoOf(GameServerEngineControllerImpl).eel = function () {
6074
- var tmp0 = this.pel_1;
6635
+ protoOf(GameServerEngineControllerImpl).sel = function () {
6636
+ var tmp0 = this.dem_1;
6075
6637
  var tmp = KProperty1;
6076
6638
  // Inline function 'kotlin.getValue' call
6077
6639
  getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
@@ -6083,8 +6645,8 @@
6083
6645
  protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
6084
6646
  return this.createGameEngineWithLogic();
6085
6647
  };
6086
- protoOf(GameServerEngineControllerImpl).fel = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
6087
- var combinedLogger = Companion_instance_6.mx();
6648
+ protoOf(GameServerEngineControllerImpl).tel = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
6649
+ var combinedLogger = Companion_instance_8.mx();
6088
6650
  var gameServer = {_v: null};
6089
6651
  // Inline function 'kotlin.collections.map' call
6090
6652
  // Inline function 'kotlin.collections.mapTo' call
@@ -6131,7 +6693,7 @@
6131
6693
  function TestHelper() {
6132
6694
  }
6133
6695
  function _get_playerAnswerInteractor__msggz1($this) {
6134
- var tmp0 = $this.tel_1;
6696
+ var tmp0 = $this.hem_1;
6135
6697
  var tmp = KProperty1;
6136
6698
  // Inline function 'kotlin.getValue' call
6137
6699
  getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
@@ -6139,7 +6701,7 @@
6139
6701
  }
6140
6702
  function TestHelperImpl$di$lambda$lambda(this$0) {
6141
6703
  return function ($this$singleton) {
6142
- return this$0.rel_1;
6704
+ return this$0.fem_1;
6143
6705
  };
6144
6706
  }
6145
6707
  function TestHelperImpl$di$lambda(this$0) {
@@ -6178,27 +6740,27 @@
6178
6740
  return emptyMap();
6179
6741
  }
6180
6742
  function TestHelperImpl(logger) {
6181
- this.rel_1 = logger;
6743
+ this.fem_1 = logger;
6182
6744
  var tmp = this;
6183
- var tmp_0 = Companion_instance_4;
6184
- tmp.sel_1 = tmp_0.q1b(VOID, TestHelperImpl$di$lambda(this));
6745
+ var tmp_0 = Companion_instance_6;
6746
+ tmp.gem_1 = tmp_0.q1b(VOID, TestHelperImpl$di$lambda(this));
6185
6747
  var tmp_1 = this;
6186
6748
  // Inline function 'org.kodein.di.instance' call
6187
- var this_0 = this.sel_1;
6749
+ var this_0 = this.gem_1;
6188
6750
  // Inline function 'org.kodein.type.generic' call
6189
6751
  var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
6190
6752
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
6191
6753
  var tmp_3 = Instance(this_0, tmp$ret$0, null);
6192
6754
  var tmp_4 = KProperty1;
6193
- tmp_1.tel_1 = tmp_3.c1h(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
6755
+ tmp_1.hem_1 = tmp_3.c1h(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
6194
6756
  }
6195
6757
  protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
6196
- return _get_playerAnswerInteractor__msggz1(this).g9c(playerId, table, botConfig);
6758
+ return _get_playerAnswerInteractor__msggz1(this).i9c(playerId, table, botConfig);
6197
6759
  };
6198
6760
  protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
6199
6761
  var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
6200
6762
  if (isInterface(mechanicAction, NextPlayerTurnAction)) {
6201
- var tmp0 = mechanicAction.f9n();
6763
+ var tmp0 = mechanicAction.x9m();
6202
6764
  var tmp$ret$0;
6203
6765
  $l$block_0: {
6204
6766
  // Inline function 'kotlin.collections.any' call
@@ -6230,7 +6792,7 @@
6230
6792
  };
6231
6793
  protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
6232
6794
  if (isInterface(action, NextPlayerTurnAction)) {
6233
- var tmp0 = action.f9n();
6795
+ var tmp0 = action.x9m();
6234
6796
  var tmp$ret$0;
6235
6797
  $l$block_0: {
6236
6798
  // Inline function 'kotlin.collections.any' call
@@ -6263,14 +6825,14 @@
6263
6825
  function RoomMetadata() {
6264
6826
  var tmp = this;
6265
6827
  // Inline function 'kotlin.collections.mutableMapOf' call
6266
- tmp.uel_1 = LinkedHashMap_init_$Create$();
6828
+ tmp.iem_1 = LinkedHashMap_init_$Create$();
6267
6829
  this.extras = {};
6268
- this.extras = this.uel_1;
6830
+ this.extras = this.iem_1;
6269
6831
  }
6270
- protoOf(RoomMetadata).vel = function () {
6832
+ protoOf(RoomMetadata).jem = function () {
6271
6833
  return this.extras;
6272
6834
  };
6273
- protoOf(RoomMetadata).vel = function () {
6835
+ protoOf(RoomMetadata).jem = function () {
6274
6836
  return this.extras;
6275
6837
  };
6276
6838
  protoOf(RoomMetadata).getGame = function (gameId) {
@@ -6288,7 +6850,7 @@
6288
6850
  };
6289
6851
  protoOf(RoomMetadata).addGame = function (gameId, game) {
6290
6852
  // Inline function 'kotlin.collections.set' call
6291
- this.uel_1.m2(gameId, game);
6853
+ this.iem_1.m2(gameId, game);
6292
6854
  };
6293
6855
  function GameMetadata(gameId) {
6294
6856
  this.gameId = gameId;
@@ -6297,7 +6859,7 @@
6297
6859
  protoOf(GameMetadata).x5j = function () {
6298
6860
  return this.gameId;
6299
6861
  };
6300
- protoOf(GameMetadata).vel = function () {
6862
+ protoOf(GameMetadata).jem = function () {
6301
6863
  return this.extras;
6302
6864
  };
6303
6865
  function serverHelpersModule() {
@@ -6359,7 +6921,7 @@
6359
6921
  protoOf(GameServer).roomOnDelete = roomOnDelete;
6360
6922
  protoOf(GameServer).shutdown = shutdown;
6361
6923
  defineProp(protoOf(GameServer), 'metadata', function () {
6362
- return this.g96();
6924
+ return this.i96();
6363
6925
  });
6364
6926
  defineProp(protoOf(GameServer), 'id', function () {
6365
6927
  return this.t5j();
@@ -6378,17 +6940,17 @@
6378
6940
  });
6379
6941
  protoOf($serializer).wz = typeParametersSerializers;
6380
6942
  defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
6381
- return this.y92();
6943
+ return this.a93();
6382
6944
  });
6383
6945
  protoOf($serializer_0).wz = typeParametersSerializers;
6384
6946
  defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
6385
- return this.y92();
6947
+ return this.a93();
6386
6948
  });
6387
6949
  defineProp(protoOf(TableStateUpdate), 'roomId', function () {
6388
- return this.y92();
6950
+ return this.a93();
6389
6951
  });
6390
6952
  defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
6391
- return this.y92();
6953
+ return this.a93();
6392
6954
  });
6393
6955
  protoOf(UpdateServerConfigAction).n6o = get_actionTag;
6394
6956
  defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
@@ -6402,35 +6964,37 @@
6402
6964
  defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
6403
6965
  return this.n6o();
6404
6966
  });
6967
+ protoOf(PlayerReconnectionWaitingTimerTag).ignoreValidation = ignoreValidation;
6968
+ protoOf(PlayerReconnectionWaitingTimerTag).g9k = ignoreTimerResetValidation;
6405
6969
  protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
6406
6970
  defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
6407
- return this.mdy();
6971
+ return this.jdy();
6408
6972
  });
6409
6973
  defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
6410
- return this.bel();
6974
+ return this.pel();
6411
6975
  });
6412
6976
  defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
6413
- return this.cel();
6977
+ return this.qel();
6414
6978
  });
6415
6979
  defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
6416
- return this.del();
6980
+ return this.rel();
6417
6981
  });
6418
6982
  defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
6419
- return this.ael();
6983
+ return this.oel();
6420
6984
  });
6421
6985
  defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
6422
- return this.eel();
6986
+ return this.sel();
6423
6987
  });
6424
6988
  //endregion
6425
6989
  //region block: init
6426
- Companion_instance_7 = new Companion();
6427
- Companion_instance_8 = new Companion_0();
6428
- Companion_instance_9 = new Companion_1();
6429
- Companion_instance_10 = new Companion_2();
6430
- Companion_instance_11 = new Companion_3();
6431
- Companion_instance_12 = new Companion_4();
6432
- Companion_instance_13 = new Companion_5();
6433
- Companion_instance_14 = new Companion_6();
6990
+ Companion_instance_9 = new Companion();
6991
+ Companion_instance_10 = new Companion_0();
6992
+ Companion_instance_11 = new Companion_1();
6993
+ Companion_instance_12 = new Companion_2();
6994
+ Companion_instance_13 = new Companion_3();
6995
+ Companion_instance_14 = new Companion_4();
6996
+ Companion_instance_15 = new Companion_5();
6997
+ Companion_instance_16 = new Companion_6();
6434
6998
  //endregion
6435
6999
  //region block: exports
6436
7000
  function $jsExportAll$(_) {