client_plugin_logic_deb 1.8.225 → 1.8.232

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.
@@ -44,10 +44,10 @@
44
44
  var Unit_instance = kotlin_kotlin.$_$.n5;
45
45
  var protoOf = kotlin_kotlin.$_$.sc;
46
46
  var THROW_CCE = kotlin_kotlin.$_$.tg;
47
- var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c5;
47
+ var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e5;
48
48
  var initMetadataForLambda = kotlin_kotlin.$_$.vb;
49
49
  var VOID = kotlin_kotlin.$_$.f;
50
- var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.d8;
50
+ var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.f8;
51
51
  var initMetadataForCompanion = kotlin_kotlin.$_$.sb;
52
52
  var equals = kotlin_kotlin.$_$.jb;
53
53
  var FunctionAdapter = kotlin_kotlin.$_$.xa;
@@ -59,27 +59,28 @@
59
59
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ea;
60
60
  var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
61
61
  var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j3;
62
+ var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.k8;
62
63
  var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
63
- var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e7;
64
+ var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h7;
64
65
  var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.k4;
65
66
  var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.j4;
66
67
  var toList = kotlin_kotlin.$_$.r9;
67
68
  var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.p;
68
69
  var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.t5;
69
70
  var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.y3;
70
- var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u6;
71
+ var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w6;
71
72
  var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.o4;
72
73
  var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.t1;
73
- var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.e8;
74
- var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e6;
75
- var ClearAction_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.ka;
74
+ var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.g8;
75
+ var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g6;
76
+ var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g7;
76
77
  var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.a4;
77
- var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.ja;
78
+ var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.oa;
78
79
  var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
79
80
  var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.u1;
80
81
  var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r4;
81
82
  var noWhenBranchMatchedException = kotlin_kotlin.$_$.rh;
82
- var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.j8;
83
+ var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.l8;
83
84
  var emptyList = kotlin_kotlin.$_$.l7;
84
85
  var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
85
86
  var getKClass = kotlin_kotlin.$_$.e;
@@ -88,9 +89,9 @@
88
89
  var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
89
90
  var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
90
91
  var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
91
- var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.k4;
92
+ var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.m4;
92
93
  var plus = kotlin_kotlin.$_$.x8;
93
- var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.l8;
94
+ var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.n8;
94
95
  var defineProp = kotlin_kotlin.$_$.ib;
95
96
  var KProperty1 = kotlin_kotlin.$_$.nd;
96
97
  var getPropertyCallableRef = kotlin_kotlin.$_$.ob;
@@ -99,28 +100,28 @@
99
100
  var Enum = kotlin_kotlin.$_$.ig;
100
101
  var getBooleanHashCode = kotlin_kotlin.$_$.mb;
101
102
  var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
102
- var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.j7;
103
+ var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.m7;
103
104
  var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
104
105
  var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
105
- var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.m8;
106
+ var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.o8;
106
107
  var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
107
- var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.b8;
108
+ var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.d8;
108
109
  var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
109
- var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.z7;
110
+ var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.b8;
110
111
  var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.e2;
111
- var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.r3;
112
- var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
113
- var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
114
- var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.y7;
115
- var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.k8;
112
+ var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
113
+ var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
114
+ var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
115
+ var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.a8;
116
+ var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.m8;
116
117
  var initMetadataForInterface = kotlin_kotlin.$_$.ub;
117
118
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
118
119
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
119
120
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
120
- var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a5;
121
+ var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c5;
121
122
  var single = kotlin_kotlin.$_$.g9;
122
123
  var copyToArray = kotlin_kotlin.$_$.g7;
123
- var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.z4;
124
+ var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.b5;
124
125
  var toString = kotlin_kotlin.$_$.wc;
125
126
  var getStringHashCode = kotlin_kotlin.$_$.pb;
126
127
  var KtList = kotlin_kotlin.$_$.v5;
@@ -136,110 +137,118 @@
136
137
  var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
137
138
  var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
138
139
  var Action = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
139
- var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.l7;
140
- var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
141
- var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.f7;
142
- var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.h7;
143
- var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.g7;
140
+ var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.o7;
141
+ var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.n7;
142
+ var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.i7;
143
+ var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
144
+ var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.j7;
144
145
  var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.d2;
145
- var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
146
- var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.q3;
147
- var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.o4;
148
- var listOf = kotlin_kotlin.$_$.n8;
149
- var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.v7;
146
+ var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
147
+ var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.s3;
148
+ var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.q4;
149
+ var listOf = kotlin_kotlin.$_$.o8;
150
+ var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.x7;
150
151
  var listOfNotNull = kotlin_kotlin.$_$.l8;
151
- var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.o7;
152
- var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.p7;
152
+ var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.r7;
153
+ var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.s7;
153
154
  var listOfNotNull_0 = kotlin_kotlin.$_$.m8;
154
- var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.m7;
155
- var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.t7;
156
- var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.u7;
157
- var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.n7;
158
- var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y5;
155
+ var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.p7;
156
+ var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.v7;
157
+ var listOf_0 = kotlin_kotlin.$_$.n8;
158
+ var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.w7;
159
+ var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.q7;
160
+ var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a6;
159
161
  var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
160
- var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i6;
161
- var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.b5;
162
- var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.m5;
163
- var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n6;
162
+ var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.k6;
163
+ var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.d5;
164
+ var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.o5;
165
+ var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p6;
164
166
  var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.p;
165
- var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.r5;
166
- var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j6;
167
- var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.k5;
168
- var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a7;
169
- var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.i5;
170
- var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m6;
171
- var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.p5;
172
- var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q6;
173
- var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.e5;
174
- var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b6;
175
- var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.s5;
176
- var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z6;
177
- var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.w5;
178
- var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w6;
179
- var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.v5;
180
- var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o6;
181
- var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.u;
167
+ var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.t5;
168
+ var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l6;
169
+ var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.m5;
170
+ var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c7;
171
+ var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.k5;
172
+ var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o6;
173
+ var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.r5;
174
+ var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s6;
175
+ var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.g5;
176
+ var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d6;
177
+ var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.u5;
178
+ var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b7;
179
+ var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.y5;
180
+ var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y6;
181
+ var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.x5;
182
+ var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q6;
183
+ var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
182
184
  var collectionSizeOrDefault = kotlin_kotlin.$_$.q6;
183
- var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.k9;
184
- var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.t5;
185
- var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x6;
186
- var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.q5;
187
- var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s6;
188
- var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.u5;
189
- var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t6;
190
- var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.n5;
191
- var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d6;
192
- var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.g5;
193
- var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r6;
194
- var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.l5;
195
- var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.o5;
196
- var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f6;
197
- var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.h5;
198
- var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c6;
199
- var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.j5;
200
- var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v6;
201
- var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.f5;
185
+ var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.o9;
186
+ var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.v5;
187
+ var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z6;
188
+ var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.s5;
189
+ var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u6;
190
+ var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.w5;
191
+ var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v6;
192
+ var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.p5;
193
+ var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f6;
194
+ var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.i5;
195
+ var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t6;
196
+ var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.n5;
197
+ var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.q5;
198
+ var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h6;
199
+ var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.j5;
200
+ var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e6;
201
+ var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.l5;
202
+ var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x6;
203
+ var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.h5;
202
204
  var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
203
205
  var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_core.$_$.f5;
204
206
  var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.d5;
205
207
  var Companion_getInstance = kotlin_kotlin.$_$.e5;
206
208
  var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
207
209
  var toDuration = kotlin_kotlin.$_$.ag;
208
- var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.x7;
209
- var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.f9;
210
- var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.c8;
210
+ var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.z7;
211
+ var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.j9;
212
+ var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.m;
213
+ var singleOrNull = kotlin_kotlin.$_$.f9;
214
+ var Collection = kotlin_kotlin.$_$.p5;
215
+ var toSet = kotlin_kotlin.$_$.x9;
216
+ var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.s;
217
+ var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.e8;
211
218
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.r1;
212
219
  var isArray = kotlin_kotlin.$_$.xb;
213
- var get_entries = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
220
+ var get_entries = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
214
221
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.v1;
215
- var listOf_0 = kotlin_kotlin.$_$.o8;
216
- var get_entries_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.h3;
217
- var get_entries_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.i3;
218
- var getUserProfilePayloadOrNull = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
219
- var BotIntelligenceLevel_SUPER_HARD_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.w8;
220
- var Options = kotlin_io_raspberryapps_game_engine_engine.$_$.g3;
221
- var Config = kotlin_io_raspberryapps_game_engine_engine.$_$.f3;
222
- var PointsMode_SMALL_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.d9;
223
- var PointsMode_MEDIUM_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.c9;
224
- var PointsMode_BIG_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.b9;
225
- var PointsMode_TEST_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.e9;
226
- var PlayersMode_TWO_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.a9;
227
- var PlayersMode_THREE_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.z8;
228
- var PlayersMode_FOUR_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.y8;
229
- var PlayersMode_FOUR_PLAYERS_BY_TEAM_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.x8;
230
- var Rules = kotlin_io_raspberryapps_game_engine_engine.$_$.b1;
222
+ var get_entries_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.j3;
223
+ var get_entries_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.k3;
224
+ var getUserProfilePayloadOrNull = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
225
+ var BotIntelligenceLevel_SUPER_HARD_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.a9;
226
+ var Options = kotlin_io_raspberryapps_game_engine_engine.$_$.i3;
227
+ var Config = kotlin_io_raspberryapps_game_engine_engine.$_$.h3;
228
+ var PointsMode_SMALL_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.h9;
229
+ var PointsMode_MEDIUM_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.g9;
230
+ var PointsMode_BIG_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.f9;
231
+ var PointsMode_TEST_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.i9;
232
+ var PlayersMode_TWO_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.e9;
233
+ var PlayersMode_THREE_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.d9;
234
+ var PlayersMode_FOUR_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.c9;
235
+ var PlayersMode_FOUR_PLAYERS_BY_TEAM_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.b9;
236
+ var Rules = kotlin_io_raspberryapps_game_engine_engine.$_$.c1;
231
237
  var mapOfObject = kotlin_io_raspberryapps_game_engine_core.$_$.w3;
232
- var toRoundContractType = kotlin_io_raspberryapps_game_engine_engine.$_$.t2;
233
- var Companion_getInstance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.l9;
234
- var toBidType = kotlin_io_raspberryapps_game_engine_engine.$_$.s2;
235
- var mapToCombinationType = kotlin_io_raspberryapps_game_engine_engine.$_$.b2;
236
- var Companion_getInstance_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.fa;
238
+ var toRoundContractType = kotlin_io_raspberryapps_game_engine_engine.$_$.v2;
239
+ var Companion_getInstance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.q9;
240
+ var toBidType = kotlin_io_raspberryapps_game_engine_engine.$_$.t2;
241
+ var mapToCombinationType = kotlin_io_raspberryapps_game_engine_engine.$_$.c2;
242
+ var Companion_getInstance_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.ka;
243
+ var toPointsDistributeMode = kotlin_io_raspberryapps_game_engine_engine.$_$.u2;
244
+ var PointsDistributeMode_HIGHEST_PLAYER_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.w8;
245
+ var PointsDistributeMode_ALL_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.v8;
237
246
  var getValue = kotlin_kotlin.$_$.y7;
238
- var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.m9;
239
- var valueOf = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
247
+ var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.r9;
248
+ var valueOf = kotlin_io_raspberryapps_game_engine_engine.$_$.a1;
240
249
  var Default_getInstance = kotlin_kotlin.$_$.b5;
241
250
  var GameUserInfo = kotlin_io_raspberryapps_game_engine_core.$_$.c;
242
- var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
251
+ var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.r3;
243
252
  var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.r1;
244
253
  var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
245
254
  var Companion_instance_3 = kotlin_org_kodein_di_kodein_di.$_$.b;
@@ -248,12 +257,12 @@
248
257
  var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
249
258
  var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
250
259
  var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
251
- var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.h8;
252
- var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.g8;
253
- var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.f8;
254
- var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.ma;
255
- var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.la;
256
- var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.o3;
260
+ var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.j8;
261
+ var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.i8;
262
+ var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.h8;
263
+ var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.qa;
264
+ var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.pa;
265
+ var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.q3;
257
266
  var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
258
267
  var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
259
268
  var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
@@ -267,18 +276,17 @@
267
276
  var toList_0 = kotlin_kotlin.$_$.q9;
268
277
  var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l3;
269
278
  var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
270
- var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.h2;
271
- var RoomConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.na;
272
- var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
279
+ var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.i2;
280
+ var RoomConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.ra;
281
+ var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
273
282
  var emptyMap = kotlin_kotlin.$_$.m7;
274
- var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
275
- var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.s4;
276
- var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.d5;
277
- var Collection = kotlin_kotlin.$_$.p5;
278
- var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l6;
283
+ var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
284
+ var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.u4;
285
+ var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.f5;
286
+ var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n6;
279
287
  var ParserHelperImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
280
288
  var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
281
- var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
289
+ var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
282
290
  //endregion
283
291
  //region block: pre-declaration
284
292
  initMetadataForLambda(GameServer$subscribeToClientAction$slambda$slambda, CoroutineImpl, VOID, [1]);
@@ -293,10 +301,27 @@
293
301
  initMetadataForLambda(GameServer$playerLive$slambda, CoroutineImpl, VOID, [2]);
294
302
  initMetadataForLambda(GameServer$playerLeft$slambda, CoroutineImpl, VOID, [2]);
295
303
  initMetadataForLambda(GameServer$roomOnCreate$slambda, CoroutineImpl, VOID, [2]);
304
+ initMetadataForLambda(GameServer$addSpectatorsToRoom$slambda, CoroutineImpl, VOID, [2]);
305
+ initMetadataForLambda(GameServer$removeSpectatorsFromRoom$slambda, CoroutineImpl, VOID, [2]);
296
306
  initMetadataForLambda(GameServer$roomRefreshPlayerState$slambda, CoroutineImpl, VOID, [2]);
297
307
  initMetadataForLambda(GameServer$roomOnDelete$slambda, CoroutineImpl, VOID, [2]);
298
308
  initMetadataForLambda(GameServer$setCanStartNewGameEnabled$slambda, CoroutineImpl, VOID, [2]);
299
309
  initMetadataForLambda(GameServer$shutdown$slambda, CoroutineImpl, VOID, [2]);
310
+ function roomOnCreate(roomId, gameCreatorId, config, users, spectators, $super) {
311
+ var tmp;
312
+ if (spectators === VOID) {
313
+ // Inline function 'kotlin.emptyArray' call
314
+ tmp = [];
315
+ } else {
316
+ tmp = spectators;
317
+ }
318
+ spectators = tmp;
319
+ return this.ed5(roomId, gameCreatorId, config, users, spectators);
320
+ }
321
+ function roomOnDelete(newRid, $super) {
322
+ newRid = newRid === VOID ? null : newRid;
323
+ return this.fd5(newRid);
324
+ }
300
325
  initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
301
326
  initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
302
327
  initMetadataForClass(ServerShutdownReason, 'ServerShutdownReason', VOID, Enum);
@@ -310,6 +335,9 @@
310
335
  initMetadataForCoroutine($waitForCOROUTINE$1, CoroutineImpl);
311
336
  initMetadataForClass(ToClientEventsObserverImpl, 'ToClientEventsObserverImpl', VOID, VOID, [ToClientEventsObserver], [1, 0]);
312
337
  initMetadataForClass(UpdateServerConfigAction, 'UpdateServerConfigAction', VOID, VOID, [Action]);
338
+ initMetadataForInterface(SpectatorsAction, 'SpectatorsAction', VOID, VOID, [Action]);
339
+ initMetadataForClass(AddSpectatorsAction, 'AddSpectatorsAction', VOID, VOID, [SpectatorsAction]);
340
+ initMetadataForClass(RemoveSpectatorsAction, 'RemoveSpectatorsAction', VOID, VOID, [SpectatorsAction]);
313
341
  initMetadataForClass(ServerGameStoreContract, 'ServerGameStoreContract', VOID, VOID, [StoreContract]);
314
342
  initMetadataForClass(_no_name_provided__qut3iv, VOID, VOID, VOID, [Middleware]);
315
343
  initMetadataForClass(_no_name_provided__qut3iv_0, VOID, VOID, VOID, [Middleware]);
@@ -318,6 +346,7 @@
318
346
  initMetadataForClass(_no_name_provided__qut3iv_1, VOID, VOID, VOID, [Middleware]);
319
347
  initMetadataForClass(_no_name_provided__qut3iv_2, VOID, VOID, VOID, [Reducer]);
320
348
  initMetadataForClass(ServerMechanicLifecycleReducer, 'ServerMechanicLifecycleReducer', VOID, BaseMechanicLifecycleReducer, [BaseMechanicLifecycleReducer, MechanicLifecycleReducer]);
349
+ initMetadataForClass(_no_name_provided__qut3iv_3, VOID, VOID, VOID, [Reducer]);
321
350
  initMetadataForCompanion(Companion_1);
322
351
  initMetadataForClass(ServerState, 'ServerState', VOID, VOID, [AppStatePayload]);
323
352
  initMetadataForInterface(GameHelper, 'GameHelper');
@@ -331,7 +360,7 @@
331
360
  tmp = existingNicknames;
332
361
  }
333
362
  existingNicknames = tmp;
334
- return this.ad7(playerId, existingNicknames);
363
+ return this.gd9(playerId, existingNicknames);
335
364
  }
336
365
  initMetadataForInterface(GameResources, 'GameResources');
337
366
  initMetadataForCompanion(Companion_2);
@@ -359,26 +388,26 @@
359
388
  logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
360
389
  dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
361
390
  coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
362
- return this.qd7(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
391
+ return this.wd9(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
363
392
  }
364
393
  initMetadataForInterface(GameEngineController, 'GameEngineController');
365
- initMetadataForClass(_no_name_provided__qut3iv_3, VOID, VOID, VOID, [Reducer]);
394
+ initMetadataForClass(_no_name_provided__qut3iv_4, VOID, VOID, VOID, [Reducer]);
366
395
  initMetadataForClass(GameServerEngineControllerImpl, 'GameServerEngineControllerImpl', VOID, VOID, [GameEngineController]);
367
396
  initMetadataForInterface(TestHelper, 'TestHelper');
368
397
  initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
369
398
  //endregion
370
399
  function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
371
- this.ecx_1 = $subscriber;
400
+ this.icy_1 = $subscriber;
372
401
  CoroutineImpl.call(this, resultContinuation);
373
402
  }
374
- protoOf(GameServer$subscribeToClientAction$slambda$slambda).gcx = function (it, $completion) {
375
- var tmp = this.hcx(it, $completion);
403
+ protoOf(GameServer$subscribeToClientAction$slambda$slambda).kcy = function (it, $completion) {
404
+ var tmp = this.lcy(it, $completion);
376
405
  tmp.j9_1 = Unit_instance;
377
406
  tmp.k9_1 = null;
378
407
  return tmp.p9();
379
408
  };
380
409
  protoOf(GameServer$subscribeToClientAction$slambda$slambda).z9 = function (p1, $completion) {
381
- return this.gcx(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
410
+ return this.kcy(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
382
411
  };
383
412
  protoOf(GameServer$subscribeToClientAction$slambda$slambda).p9 = function () {
384
413
  var suspendResult = this.j9_1;
@@ -387,7 +416,7 @@
387
416
  var tmp = this.h9_1;
388
417
  if (tmp === 0) {
389
418
  this.i9_1 = 1;
390
- this.ecx_1(this.fcx_1);
419
+ this.icy_1(this.jcy_1);
391
420
  return Unit_instance;
392
421
  } else if (tmp === 1) {
393
422
  throw this.k9_1;
@@ -398,31 +427,31 @@
398
427
  }
399
428
  while (true);
400
429
  };
401
- protoOf(GameServer$subscribeToClientAction$slambda$slambda).hcx = function (it, completion) {
402
- var i = new GameServer$subscribeToClientAction$slambda$slambda(this.ecx_1, completion);
403
- i.fcx_1 = it;
430
+ protoOf(GameServer$subscribeToClientAction$slambda$slambda).lcy = function (it, completion) {
431
+ var i = new GameServer$subscribeToClientAction$slambda$slambda(this.icy_1, completion);
432
+ i.jcy_1 = it;
404
433
  return i;
405
434
  };
406
435
  function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
407
436
  var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
408
437
  var l = function (it, $completion) {
409
- return i.gcx(it, $completion);
438
+ return i.kcy(it, $completion);
410
439
  };
411
440
  l.$arity = 1;
412
441
  return l;
413
442
  }
414
443
  function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
415
- this.qcx_1 = $subscriber;
444
+ this.ucy_1 = $subscriber;
416
445
  CoroutineImpl.call(this, resultContinuation);
417
446
  }
418
- protoOf(GameServer$subscribeWith$slambda$slambda).scx = function (it, $completion) {
419
- var tmp = this.tcx(it, $completion);
447
+ protoOf(GameServer$subscribeWith$slambda$slambda).wcy = function (it, $completion) {
448
+ var tmp = this.xcy(it, $completion);
420
449
  tmp.j9_1 = Unit_instance;
421
450
  tmp.k9_1 = null;
422
451
  return tmp.p9();
423
452
  };
424
453
  protoOf(GameServer$subscribeWith$slambda$slambda).z9 = function (p1, $completion) {
425
- return this.scx(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
454
+ return this.wcy(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
426
455
  };
427
456
  protoOf(GameServer$subscribeWith$slambda$slambda).p9 = function () {
428
457
  var suspendResult = this.j9_1;
@@ -431,7 +460,7 @@
431
460
  var tmp = this.h9_1;
432
461
  if (tmp === 0) {
433
462
  this.i9_1 = 1;
434
- this.qcx_1(this.rcx_1);
463
+ this.ucy_1(this.vcy_1);
435
464
  return Unit_instance;
436
465
  } else if (tmp === 1) {
437
466
  throw this.k9_1;
@@ -442,52 +471,52 @@
442
471
  }
443
472
  while (true);
444
473
  };
445
- protoOf(GameServer$subscribeWith$slambda$slambda).tcx = function (it, completion) {
446
- var i = new GameServer$subscribeWith$slambda$slambda(this.qcx_1, completion);
447
- i.rcx_1 = it;
474
+ protoOf(GameServer$subscribeWith$slambda$slambda).xcy = function (it, completion) {
475
+ var i = new GameServer$subscribeWith$slambda$slambda(this.ucy_1, completion);
476
+ i.vcy_1 = it;
448
477
  return i;
449
478
  };
450
479
  function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
451
480
  var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
452
481
  var l = function (it, $completion) {
453
- return i.scx(it, $completion);
482
+ return i.wcy(it, $completion);
454
483
  };
455
484
  l.$arity = 1;
456
485
  return l;
457
486
  }
458
487
  function _get_logger__rkp4sl($this) {
459
488
  // Inline function 'kotlin.getValue' call
460
- var this_0 = $this.wcx_1;
489
+ var this_0 = $this.acz_1;
461
490
  logger$factory_0();
462
491
  return this_0.u();
463
492
  }
464
493
  function _get_toClientEventsObserver__6rp51y($this) {
465
494
  // Inline function 'kotlin.getValue' call
466
- var this_0 = $this.xcx_1;
495
+ var this_0 = $this.bcz_1;
467
496
  toClientEventsObserver$factory_0();
468
497
  return this_0.u();
469
498
  }
470
499
  function _get_playerConnectionInteractor__si6cxf($this) {
471
500
  // Inline function 'kotlin.getValue' call
472
- var this_0 = $this.ycx_1;
501
+ var this_0 = $this.ccz_1;
473
502
  playerConnectionInteractor$factory_0();
474
503
  return this_0.u();
475
504
  }
476
505
  function Companion() {
477
- this.acy_1 = 'GameEngine_API';
506
+ this.ecz_1 = 'GameEngine_API';
478
507
  }
479
508
  var Companion_instance_7;
480
509
  function Companion_getInstance_2() {
481
510
  return Companion_instance_7;
482
511
  }
483
512
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
484
- this.bcy_1 = function_0;
513
+ this.fcz_1 = function_0;
485
514
  }
486
515
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s18 = function (value, $completion) {
487
- return this.bcy_1(value, $completion);
516
+ return this.fcz_1(value, $completion);
488
517
  };
489
518
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p3 = function () {
490
- return this.bcy_1;
519
+ return this.fcz_1;
491
520
  };
492
521
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
493
522
  var tmp;
@@ -508,13 +537,13 @@
508
537
  return hashCode(this.p3());
509
538
  };
510
539
  function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
511
- this.ccy_1 = function_0;
540
+ this.gcz_1 = function_0;
512
541
  }
513
542
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).s18 = function (value, $completion) {
514
- return this.ccy_1(value, $completion);
543
+ return this.gcz_1(value, $completion);
515
544
  };
516
545
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p3 = function () {
517
- return this.ccy_1;
546
+ return this.gcz_1;
518
547
  };
519
548
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
520
549
  var tmp;
@@ -535,8 +564,8 @@
535
564
  return hashCode(this.p3());
536
565
  };
537
566
  function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
538
- this.lcy_1 = this$0;
539
- this.mcy_1 = $subscriber;
567
+ this.pcz_1 = this$0;
568
+ this.qcz_1 = $subscriber;
540
569
  CoroutineImpl.call(this, resultContinuation);
541
570
  }
542
571
  protoOf(GameServer$subscribeToClientAction$slambda).h1f = function ($this$launchDefault, $completion) {
@@ -557,8 +586,8 @@
557
586
  case 0:
558
587
  this.i9_1 = 2;
559
588
  this.h9_1 = 1;
560
- var tmp_0 = _get_toClientEventsObserver__6rp51y(this.lcy_1).zb2();
561
- var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.mcy_1, null);
589
+ var tmp_0 = _get_toClientEventsObserver__6rp51y(this.pcz_1).cb4();
590
+ var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.qcz_1, null);
562
591
  suspendResult = tmp_0.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
563
592
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
564
593
  return suspendResult;
@@ -582,8 +611,8 @@
582
611
  while (true);
583
612
  };
584
613
  protoOf(GameServer$subscribeToClientAction$slambda).i1f = function ($this$launchDefault, completion) {
585
- var i = new GameServer$subscribeToClientAction$slambda(this.lcy_1, this.mcy_1, completion);
586
- i.ncy_1 = $this$launchDefault;
614
+ var i = new GameServer$subscribeToClientAction$slambda(this.pcz_1, this.qcz_1, completion);
615
+ i.rcz_1 = $this$launchDefault;
587
616
  return i;
588
617
  };
589
618
  function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -595,8 +624,8 @@
595
624
  return l;
596
625
  }
597
626
  function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
598
- this.wcy_1 = this$0;
599
- this.xcy_1 = $subscriber;
627
+ this.ad0_1 = this$0;
628
+ this.bd0_1 = $subscriber;
600
629
  CoroutineImpl.call(this, resultContinuation);
601
630
  }
602
631
  protoOf(GameServer$subscribeWith$slambda).h1f = function ($this$launchDefault, $completion) {
@@ -617,8 +646,8 @@
617
646
  case 0:
618
647
  this.i9_1 = 2;
619
648
  this.h9_1 = 1;
620
- var tmp_0 = distinctUntilChanged(this.wcy_1.h6v());
621
- var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.xcy_1, null);
649
+ var tmp_0 = distinctUntilChanged(this.ad0_1.j6v());
650
+ var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.bd0_1, null);
622
651
  suspendResult = tmp_0.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
623
652
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
624
653
  return suspendResult;
@@ -642,8 +671,8 @@
642
671
  while (true);
643
672
  };
644
673
  protoOf(GameServer$subscribeWith$slambda).i1f = function ($this$launchDefault, completion) {
645
- var i = new GameServer$subscribeWith$slambda(this.wcy_1, this.xcy_1, completion);
646
- i.ycy_1 = $this$launchDefault;
674
+ var i = new GameServer$subscribeWith$slambda(this.ad0_1, this.bd0_1, completion);
675
+ i.cd0_1 = $this$launchDefault;
647
676
  return i;
648
677
  };
649
678
  function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -655,18 +684,18 @@
655
684
  return l;
656
685
  }
657
686
  function GameServer$fromClientEvent$slambda($action, resultContinuation) {
658
- this.hcz_1 = $action;
687
+ this.ld0_1 = $action;
659
688
  CoroutineImpl.call(this, resultContinuation);
660
689
  }
661
- protoOf(GameServer$fromClientEvent$slambda).lay = function ($this$dispatchAsync, store, $completion) {
662
- var tmp = this.may($this$dispatchAsync, store, $completion);
690
+ protoOf(GameServer$fromClientEvent$slambda).daz = function ($this$dispatchAsync, store, $completion) {
691
+ var tmp = this.eaz($this$dispatchAsync, store, $completion);
663
692
  tmp.j9_1 = Unit_instance;
664
693
  tmp.k9_1 = null;
665
694
  return tmp.p9();
666
695
  };
667
696
  protoOf(GameServer$fromClientEvent$slambda).aa = function (p1, p2, $completion) {
668
697
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
669
- return this.lay(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
698
+ return this.daz(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
670
699
  };
671
700
  protoOf(GameServer$fromClientEvent$slambda).p9 = function () {
672
701
  var suspendResult = this.j9_1;
@@ -675,7 +704,7 @@
675
704
  var tmp = this.h9_1;
676
705
  if (tmp === 0) {
677
706
  this.i9_1 = 1;
678
- this.jcz_1.dispatch(this.hcz_1);
707
+ this.nd0_1.dispatch(this.ld0_1);
679
708
  return Unit_instance;
680
709
  } else if (tmp === 1) {
681
710
  throw this.k9_1;
@@ -686,33 +715,33 @@
686
715
  }
687
716
  while (true);
688
717
  };
689
- protoOf(GameServer$fromClientEvent$slambda).may = function ($this$dispatchAsync, store, completion) {
690
- var i = new GameServer$fromClientEvent$slambda(this.hcz_1, completion);
691
- i.icz_1 = $this$dispatchAsync;
692
- i.jcz_1 = store;
718
+ protoOf(GameServer$fromClientEvent$slambda).eaz = function ($this$dispatchAsync, store, completion) {
719
+ var i = new GameServer$fromClientEvent$slambda(this.ld0_1, completion);
720
+ i.md0_1 = $this$dispatchAsync;
721
+ i.nd0_1 = store;
693
722
  return i;
694
723
  };
695
724
  function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
696
725
  var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
697
726
  var l = function ($this$dispatchAsync, store, $completion) {
698
- return i.lay($this$dispatchAsync, store, $completion);
727
+ return i.daz($this$dispatchAsync, store, $completion);
699
728
  };
700
729
  l.$arity = 2;
701
730
  return l;
702
731
  }
703
732
  function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
704
- this.scz_1 = $playerId;
733
+ this.wd0_1 = $playerId;
705
734
  CoroutineImpl.call(this, resultContinuation);
706
735
  }
707
- protoOf(GameServer$playerLostConnection$slambda).lay = function ($this$dispatchAsync, store, $completion) {
708
- var tmp = this.may($this$dispatchAsync, store, $completion);
736
+ protoOf(GameServer$playerLostConnection$slambda).daz = function ($this$dispatchAsync, store, $completion) {
737
+ var tmp = this.eaz($this$dispatchAsync, store, $completion);
709
738
  tmp.j9_1 = Unit_instance;
710
739
  tmp.k9_1 = null;
711
740
  return tmp.p9();
712
741
  };
713
742
  protoOf(GameServer$playerLostConnection$slambda).aa = function (p1, p2, $completion) {
714
743
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
715
- return this.lay(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
744
+ return this.daz(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
716
745
  };
717
746
  protoOf(GameServer$playerLostConnection$slambda).p9 = function () {
718
747
  var suspendResult = this.j9_1;
@@ -721,9 +750,12 @@
721
750
  var tmp = this.h9_1;
722
751
  if (tmp === 0) {
723
752
  this.i9_1 = 1;
724
- var tmp_0 = this.ucz_1.dispatch;
753
+ if (!get_isCreated(this.yd0_1.state)) {
754
+ return Unit_instance;
755
+ }
756
+ var tmp_0 = this.yd0_1.dispatch;
725
757
  var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
726
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.scz_1));
758
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.wd0_1));
727
759
  return Unit_instance;
728
760
  } else if (tmp === 1) {
729
761
  throw this.k9_1;
@@ -734,33 +766,33 @@
734
766
  }
735
767
  while (true);
736
768
  };
737
- protoOf(GameServer$playerLostConnection$slambda).may = function ($this$dispatchAsync, store, completion) {
738
- var i = new GameServer$playerLostConnection$slambda(this.scz_1, completion);
739
- i.tcz_1 = $this$dispatchAsync;
740
- i.ucz_1 = store;
769
+ protoOf(GameServer$playerLostConnection$slambda).eaz = function ($this$dispatchAsync, store, completion) {
770
+ var i = new GameServer$playerLostConnection$slambda(this.wd0_1, completion);
771
+ i.xd0_1 = $this$dispatchAsync;
772
+ i.yd0_1 = store;
741
773
  return i;
742
774
  };
743
775
  function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
744
776
  var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
745
777
  var l = function ($this$dispatchAsync, store, $completion) {
746
- return i.lay($this$dispatchAsync, store, $completion);
778
+ return i.daz($this$dispatchAsync, store, $completion);
747
779
  };
748
780
  l.$arity = 2;
749
781
  return l;
750
782
  }
751
783
  function GameServer$playerLive$slambda($playerId, resultContinuation) {
752
- this.dd0_1 = $playerId;
784
+ this.hd1_1 = $playerId;
753
785
  CoroutineImpl.call(this, resultContinuation);
754
786
  }
755
- protoOf(GameServer$playerLive$slambda).lay = function ($this$dispatchAsync, store, $completion) {
756
- var tmp = this.may($this$dispatchAsync, store, $completion);
787
+ protoOf(GameServer$playerLive$slambda).daz = function ($this$dispatchAsync, store, $completion) {
788
+ var tmp = this.eaz($this$dispatchAsync, store, $completion);
757
789
  tmp.j9_1 = Unit_instance;
758
790
  tmp.k9_1 = null;
759
791
  return tmp.p9();
760
792
  };
761
793
  protoOf(GameServer$playerLive$slambda).aa = function (p1, p2, $completion) {
762
794
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
763
- return this.lay(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
795
+ return this.daz(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
764
796
  };
765
797
  protoOf(GameServer$playerLive$slambda).p9 = function () {
766
798
  var suspendResult = this.j9_1;
@@ -769,9 +801,9 @@
769
801
  var tmp = this.h9_1;
770
802
  if (tmp === 0) {
771
803
  this.i9_1 = 1;
772
- var tmp_0 = this.fd0_1.dispatch;
804
+ var tmp_0 = this.jd1_1.dispatch;
773
805
  var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
774
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.dd0_1));
806
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.hd1_1));
775
807
  return Unit_instance;
776
808
  } else if (tmp === 1) {
777
809
  throw this.k9_1;
@@ -782,33 +814,33 @@
782
814
  }
783
815
  while (true);
784
816
  };
785
- protoOf(GameServer$playerLive$slambda).may = function ($this$dispatchAsync, store, completion) {
786
- var i = new GameServer$playerLive$slambda(this.dd0_1, completion);
787
- i.ed0_1 = $this$dispatchAsync;
788
- i.fd0_1 = store;
817
+ protoOf(GameServer$playerLive$slambda).eaz = function ($this$dispatchAsync, store, completion) {
818
+ var i = new GameServer$playerLive$slambda(this.hd1_1, completion);
819
+ i.id1_1 = $this$dispatchAsync;
820
+ i.jd1_1 = store;
789
821
  return i;
790
822
  };
791
823
  function GameServer$playerLive$slambda_0($playerId, resultContinuation) {
792
824
  var i = new GameServer$playerLive$slambda($playerId, resultContinuation);
793
825
  var l = function ($this$dispatchAsync, store, $completion) {
794
- return i.lay($this$dispatchAsync, store, $completion);
826
+ return i.daz($this$dispatchAsync, store, $completion);
795
827
  };
796
828
  l.$arity = 2;
797
829
  return l;
798
830
  }
799
831
  function GameServer$playerLeft$slambda($playerId, resultContinuation) {
800
- this.od0_1 = $playerId;
832
+ this.sd1_1 = $playerId;
801
833
  CoroutineImpl.call(this, resultContinuation);
802
834
  }
803
- protoOf(GameServer$playerLeft$slambda).lay = function ($this$dispatchAsync, store, $completion) {
804
- var tmp = this.may($this$dispatchAsync, store, $completion);
835
+ protoOf(GameServer$playerLeft$slambda).daz = function ($this$dispatchAsync, store, $completion) {
836
+ var tmp = this.eaz($this$dispatchAsync, store, $completion);
805
837
  tmp.j9_1 = Unit_instance;
806
838
  tmp.k9_1 = null;
807
839
  return tmp.p9();
808
840
  };
809
841
  protoOf(GameServer$playerLeft$slambda).aa = function (p1, p2, $completion) {
810
842
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
811
- return this.lay(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
843
+ return this.daz(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
812
844
  };
813
845
  protoOf(GameServer$playerLeft$slambda).p9 = function () {
814
846
  var suspendResult = this.j9_1;
@@ -817,9 +849,9 @@
817
849
  var tmp = this.h9_1;
818
850
  if (tmp === 0) {
819
851
  this.i9_1 = 1;
820
- var tmp_0 = this.qd0_1.dispatch;
852
+ var tmp_0 = this.ud1_1.dispatch;
821
853
  var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
822
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.od0_1));
854
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.sd1_1));
823
855
  return Unit_instance;
824
856
  } else if (tmp === 1) {
825
857
  throw this.k9_1;
@@ -830,36 +862,37 @@
830
862
  }
831
863
  while (true);
832
864
  };
833
- protoOf(GameServer$playerLeft$slambda).may = function ($this$dispatchAsync, store, completion) {
834
- var i = new GameServer$playerLeft$slambda(this.od0_1, completion);
835
- i.pd0_1 = $this$dispatchAsync;
836
- i.qd0_1 = store;
865
+ protoOf(GameServer$playerLeft$slambda).eaz = function ($this$dispatchAsync, store, completion) {
866
+ var i = new GameServer$playerLeft$slambda(this.sd1_1, completion);
867
+ i.td1_1 = $this$dispatchAsync;
868
+ i.ud1_1 = store;
837
869
  return i;
838
870
  };
839
871
  function GameServer$playerLeft$slambda_0($playerId, resultContinuation) {
840
872
  var i = new GameServer$playerLeft$slambda($playerId, resultContinuation);
841
873
  var l = function ($this$dispatchAsync, store, $completion) {
842
- return i.lay($this$dispatchAsync, store, $completion);
874
+ return i.daz($this$dispatchAsync, store, $completion);
843
875
  };
844
876
  l.$arity = 2;
845
877
  return l;
846
878
  }
847
- function GameServer$roomOnCreate$slambda($users, $gameCreatorId, $config, $roomId, resultContinuation) {
848
- this.zd0_1 = $users;
849
- this.ad1_1 = $gameCreatorId;
850
- this.bd1_1 = $config;
851
- this.cd1_1 = $roomId;
879
+ function GameServer$roomOnCreate$slambda($users, $gameCreatorId, $spectators, $config, $roomId, resultContinuation) {
880
+ this.dd2_1 = $users;
881
+ this.ed2_1 = $gameCreatorId;
882
+ this.fd2_1 = $spectators;
883
+ this.gd2_1 = $config;
884
+ this.hd2_1 = $roomId;
852
885
  CoroutineImpl.call(this, resultContinuation);
853
886
  }
854
- protoOf(GameServer$roomOnCreate$slambda).lay = function ($this$dispatchAsync, store, $completion) {
855
- var tmp = this.may($this$dispatchAsync, store, $completion);
887
+ protoOf(GameServer$roomOnCreate$slambda).daz = function ($this$dispatchAsync, store, $completion) {
888
+ var tmp = this.eaz($this$dispatchAsync, store, $completion);
856
889
  tmp.j9_1 = Unit_instance;
857
890
  tmp.k9_1 = null;
858
891
  return tmp.p9();
859
892
  };
860
893
  protoOf(GameServer$roomOnCreate$slambda).aa = function (p1, p2, $completion) {
861
894
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
862
- return this.lay(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
895
+ return this.daz(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
863
896
  };
864
897
  protoOf(GameServer$roomOnCreate$slambda).p9 = function () {
865
898
  var suspendResult = this.j9_1;
@@ -868,12 +901,105 @@
868
901
  var tmp = this.h9_1;
869
902
  if (tmp === 0) {
870
903
  this.i9_1 = 1;
871
- var usersList = toList(this.zd0_1);
872
- var gameCreatorUser = getPlayer(usersList, this.ad1_1);
873
- var tmp_0 = this.ed1_1.dispatch;
904
+ var usersList = toList(this.dd2_1);
905
+ var gameCreatorUser = getPlayer(usersList, this.ed2_1);
906
+ var tmp_0 = this.jd2_1.dispatch;
874
907
  var tmp0_version = GameEngineConfig_instance.version;
875
908
  var tmp1_users = sortWithItem(usersList, gameCreatorUser);
876
- tmp_0(new StartGameMechanicAction(this.bd1_1, this.cd1_1, tmp0_version, this.ad1_1, tmp1_users));
909
+ var tmp2_spectators = toList(this.fd2_1);
910
+ tmp_0(new StartGameMechanicAction(this.gd2_1, this.hd2_1, tmp0_version, this.ed2_1, tmp1_users, VOID, tmp2_spectators));
911
+ return Unit_instance;
912
+ } else if (tmp === 1) {
913
+ throw this.k9_1;
914
+ }
915
+ } catch ($p) {
916
+ var e = $p;
917
+ throw e;
918
+ }
919
+ while (true);
920
+ };
921
+ protoOf(GameServer$roomOnCreate$slambda).eaz = function ($this$dispatchAsync, store, completion) {
922
+ var i = new GameServer$roomOnCreate$slambda(this.dd2_1, this.ed2_1, this.fd2_1, this.gd2_1, this.hd2_1, completion);
923
+ i.id2_1 = $this$dispatchAsync;
924
+ i.jd2_1 = store;
925
+ return i;
926
+ };
927
+ function GameServer$roomOnCreate$slambda_0($users, $gameCreatorId, $spectators, $config, $roomId, resultContinuation) {
928
+ var i = new GameServer$roomOnCreate$slambda($users, $gameCreatorId, $spectators, $config, $roomId, resultContinuation);
929
+ var l = function ($this$dispatchAsync, store, $completion) {
930
+ return i.daz($this$dispatchAsync, store, $completion);
931
+ };
932
+ l.$arity = 2;
933
+ return l;
934
+ }
935
+ function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
936
+ this.sd2_1 = $spectators;
937
+ CoroutineImpl.call(this, resultContinuation);
938
+ }
939
+ protoOf(GameServer$addSpectatorsToRoom$slambda).daz = function ($this$dispatchAsync, store, $completion) {
940
+ var tmp = this.eaz($this$dispatchAsync, store, $completion);
941
+ tmp.j9_1 = Unit_instance;
942
+ tmp.k9_1 = null;
943
+ return tmp.p9();
944
+ };
945
+ protoOf(GameServer$addSpectatorsToRoom$slambda).aa = function (p1, p2, $completion) {
946
+ var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
947
+ return this.daz(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
948
+ };
949
+ protoOf(GameServer$addSpectatorsToRoom$slambda).p9 = function () {
950
+ var suspendResult = this.j9_1;
951
+ $sm: do
952
+ try {
953
+ var tmp = this.h9_1;
954
+ if (tmp === 0) {
955
+ this.i9_1 = 1;
956
+ this.ud2_1.dispatch(new AddSpectatorsAction(toList(this.sd2_1)));
957
+ return Unit_instance;
958
+ } else if (tmp === 1) {
959
+ throw this.k9_1;
960
+ }
961
+ } catch ($p) {
962
+ var e = $p;
963
+ throw e;
964
+ }
965
+ while (true);
966
+ };
967
+ protoOf(GameServer$addSpectatorsToRoom$slambda).eaz = function ($this$dispatchAsync, store, completion) {
968
+ var i = new GameServer$addSpectatorsToRoom$slambda(this.sd2_1, completion);
969
+ i.td2_1 = $this$dispatchAsync;
970
+ i.ud2_1 = store;
971
+ return i;
972
+ };
973
+ function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
974
+ var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
975
+ var l = function ($this$dispatchAsync, store, $completion) {
976
+ return i.daz($this$dispatchAsync, store, $completion);
977
+ };
978
+ l.$arity = 2;
979
+ return l;
980
+ }
981
+ function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
982
+ this.dd3_1 = $spectators;
983
+ CoroutineImpl.call(this, resultContinuation);
984
+ }
985
+ protoOf(GameServer$removeSpectatorsFromRoom$slambda).daz = function ($this$dispatchAsync, store, $completion) {
986
+ var tmp = this.eaz($this$dispatchAsync, store, $completion);
987
+ tmp.j9_1 = Unit_instance;
988
+ tmp.k9_1 = null;
989
+ return tmp.p9();
990
+ };
991
+ protoOf(GameServer$removeSpectatorsFromRoom$slambda).aa = function (p1, p2, $completion) {
992
+ var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
993
+ return this.daz(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
994
+ };
995
+ protoOf(GameServer$removeSpectatorsFromRoom$slambda).p9 = function () {
996
+ var suspendResult = this.j9_1;
997
+ $sm: do
998
+ try {
999
+ var tmp = this.h9_1;
1000
+ if (tmp === 0) {
1001
+ this.i9_1 = 1;
1002
+ this.fd3_1.dispatch(new RemoveSpectatorsAction(toList(this.dd3_1)));
877
1003
  return Unit_instance;
878
1004
  } else if (tmp === 1) {
879
1005
  throw this.k9_1;
@@ -884,34 +1010,34 @@
884
1010
  }
885
1011
  while (true);
886
1012
  };
887
- protoOf(GameServer$roomOnCreate$slambda).may = function ($this$dispatchAsync, store, completion) {
888
- var i = new GameServer$roomOnCreate$slambda(this.zd0_1, this.ad1_1, this.bd1_1, this.cd1_1, completion);
889
- i.dd1_1 = $this$dispatchAsync;
890
- i.ed1_1 = store;
1013
+ protoOf(GameServer$removeSpectatorsFromRoom$slambda).eaz = function ($this$dispatchAsync, store, completion) {
1014
+ var i = new GameServer$removeSpectatorsFromRoom$slambda(this.dd3_1, completion);
1015
+ i.ed3_1 = $this$dispatchAsync;
1016
+ i.fd3_1 = store;
891
1017
  return i;
892
1018
  };
893
- function GameServer$roomOnCreate$slambda_0($users, $gameCreatorId, $config, $roomId, resultContinuation) {
894
- var i = new GameServer$roomOnCreate$slambda($users, $gameCreatorId, $config, $roomId, resultContinuation);
1019
+ function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
1020
+ var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
895
1021
  var l = function ($this$dispatchAsync, store, $completion) {
896
- return i.lay($this$dispatchAsync, store, $completion);
1022
+ return i.daz($this$dispatchAsync, store, $completion);
897
1023
  };
898
1024
  l.$arity = 2;
899
1025
  return l;
900
1026
  }
901
- function GameServer$roomRefreshPlayerState$slambda(this$0, $playerId, resultContinuation) {
902
- this.nd1_1 = this$0;
903
- this.od1_1 = $playerId;
1027
+ function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
1028
+ this.od3_1 = $playerId;
1029
+ this.pd3_1 = this$0;
904
1030
  CoroutineImpl.call(this, resultContinuation);
905
1031
  }
906
- protoOf(GameServer$roomRefreshPlayerState$slambda).lay = function ($this$dispatchAsync, store, $completion) {
907
- var tmp = this.may($this$dispatchAsync, store, $completion);
1032
+ protoOf(GameServer$roomRefreshPlayerState$slambda).daz = function ($this$dispatchAsync, store, $completion) {
1033
+ var tmp = this.eaz($this$dispatchAsync, store, $completion);
908
1034
  tmp.j9_1 = Unit_instance;
909
1035
  tmp.k9_1 = null;
910
1036
  return tmp.p9();
911
1037
  };
912
1038
  protoOf(GameServer$roomRefreshPlayerState$slambda).aa = function (p1, p2, $completion) {
913
1039
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
914
- return this.lay(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1040
+ return this.daz(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
915
1041
  };
916
1042
  protoOf(GameServer$roomRefreshPlayerState$slambda).p9 = function () {
917
1043
  var suspendResult = this.j9_1;
@@ -920,8 +1046,15 @@
920
1046
  var tmp = this.h9_1;
921
1047
  if (tmp === 0) {
922
1048
  this.i9_1 = 1;
923
- var table = this.qd1_1.state.k6w();
924
- this.qd1_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.nd1_1).o91(getPlayer(table.players, this.od1_1), table));
1049
+ var table = this.rd3_1.state.m6w();
1050
+ var player = getPlayer(table.players, this.od3_1);
1051
+ if (player.p72_1.h6g().y6e_1.isLive) {
1052
+ this.rd3_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.pd3_1).b92(player, table));
1053
+ } else {
1054
+ var tmp_0 = this.rd3_1.dispatch;
1055
+ var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
1056
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.od3_1));
1057
+ }
925
1058
  return Unit_instance;
926
1059
  } else if (tmp === 1) {
927
1060
  throw this.k9_1;
@@ -932,33 +1065,33 @@
932
1065
  }
933
1066
  while (true);
934
1067
  };
935
- protoOf(GameServer$roomRefreshPlayerState$slambda).may = function ($this$dispatchAsync, store, completion) {
936
- var i = new GameServer$roomRefreshPlayerState$slambda(this.nd1_1, this.od1_1, completion);
937
- i.pd1_1 = $this$dispatchAsync;
938
- i.qd1_1 = store;
1068
+ protoOf(GameServer$roomRefreshPlayerState$slambda).eaz = function ($this$dispatchAsync, store, completion) {
1069
+ var i = new GameServer$roomRefreshPlayerState$slambda(this.od3_1, this.pd3_1, completion);
1070
+ i.qd3_1 = $this$dispatchAsync;
1071
+ i.rd3_1 = store;
939
1072
  return i;
940
1073
  };
941
- function GameServer$roomRefreshPlayerState$slambda_0(this$0, $playerId, resultContinuation) {
942
- var i = new GameServer$roomRefreshPlayerState$slambda(this$0, $playerId, resultContinuation);
1074
+ function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
1075
+ var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
943
1076
  var l = function ($this$dispatchAsync, store, $completion) {
944
- return i.lay($this$dispatchAsync, store, $completion);
1077
+ return i.daz($this$dispatchAsync, store, $completion);
945
1078
  };
946
1079
  l.$arity = 2;
947
1080
  return l;
948
1081
  }
949
1082
  function GameServer$roomOnDelete$slambda(this$0, resultContinuation) {
950
- this.zd1_1 = this$0;
1083
+ this.ad4_1 = this$0;
951
1084
  CoroutineImpl.call(this, resultContinuation);
952
1085
  }
953
- protoOf(GameServer$roomOnDelete$slambda).lay = function ($this$dispatchAsync, store, $completion) {
954
- var tmp = this.may($this$dispatchAsync, store, $completion);
1086
+ protoOf(GameServer$roomOnDelete$slambda).daz = function ($this$dispatchAsync, store, $completion) {
1087
+ var tmp = this.eaz($this$dispatchAsync, store, $completion);
955
1088
  tmp.j9_1 = Unit_instance;
956
1089
  tmp.k9_1 = null;
957
1090
  return tmp.p9();
958
1091
  };
959
1092
  protoOf(GameServer$roomOnDelete$slambda).aa = function (p1, p2, $completion) {
960
1093
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
961
- return this.lay(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1094
+ return this.daz(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
962
1095
  };
963
1096
  protoOf(GameServer$roomOnDelete$slambda).p9 = function () {
964
1097
  var suspendResult = this.j9_1;
@@ -967,16 +1100,16 @@
967
1100
  var tmp = this.h9_1;
968
1101
  if (tmp === 0) {
969
1102
  this.i9_1 = 1;
970
- var it = this.zd1_1.d6e().l6v_1;
1103
+ var it = this.ad4_1.e6e().n6v_1;
971
1104
  var tmp_0;
972
1105
  if (it == null) {
973
- _get_logger__rkp4sl(this.zd1_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
1106
+ _get_logger__rkp4sl(this.ad4_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
974
1107
  tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
975
1108
  } else {
976
1109
  tmp_0 = it;
977
1110
  }
978
1111
  var terminationState = tmp_0;
979
- this.bd2_1.dispatch(new FinishGameMechanicAction(terminationState.g88_1, this.zd1_1.d6e().k6w().isGameFinished));
1112
+ this.cd4_1.dispatch(new FinishGameMechanicAction(terminationState.q88_1, this.ad4_1.e6e().m6w().isGameFinished));
980
1113
  return Unit_instance;
981
1114
  } else if (tmp === 1) {
982
1115
  throw this.k9_1;
@@ -987,33 +1120,33 @@
987
1120
  }
988
1121
  while (true);
989
1122
  };
990
- protoOf(GameServer$roomOnDelete$slambda).may = function ($this$dispatchAsync, store, completion) {
991
- var i = new GameServer$roomOnDelete$slambda(this.zd1_1, completion);
992
- i.ad2_1 = $this$dispatchAsync;
993
- i.bd2_1 = store;
1123
+ protoOf(GameServer$roomOnDelete$slambda).eaz = function ($this$dispatchAsync, store, completion) {
1124
+ var i = new GameServer$roomOnDelete$slambda(this.ad4_1, completion);
1125
+ i.bd4_1 = $this$dispatchAsync;
1126
+ i.cd4_1 = store;
994
1127
  return i;
995
1128
  };
996
1129
  function GameServer$roomOnDelete$slambda_0(this$0, resultContinuation) {
997
1130
  var i = new GameServer$roomOnDelete$slambda(this$0, resultContinuation);
998
1131
  var l = function ($this$dispatchAsync, store, $completion) {
999
- return i.lay($this$dispatchAsync, store, $completion);
1132
+ return i.daz($this$dispatchAsync, store, $completion);
1000
1133
  };
1001
1134
  l.$arity = 2;
1002
1135
  return l;
1003
1136
  }
1004
1137
  function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
1005
- this.kd2_1 = $enabled;
1138
+ this.ld4_1 = $enabled;
1006
1139
  CoroutineImpl.call(this, resultContinuation);
1007
1140
  }
1008
- protoOf(GameServer$setCanStartNewGameEnabled$slambda).lay = function ($this$dispatchAsync, store, $completion) {
1009
- var tmp = this.may($this$dispatchAsync, store, $completion);
1141
+ protoOf(GameServer$setCanStartNewGameEnabled$slambda).daz = function ($this$dispatchAsync, store, $completion) {
1142
+ var tmp = this.eaz($this$dispatchAsync, store, $completion);
1010
1143
  tmp.j9_1 = Unit_instance;
1011
1144
  tmp.k9_1 = null;
1012
1145
  return tmp.p9();
1013
1146
  };
1014
1147
  protoOf(GameServer$setCanStartNewGameEnabled$slambda).aa = function (p1, p2, $completion) {
1015
1148
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1016
- return this.lay(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1149
+ return this.daz(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1017
1150
  };
1018
1151
  protoOf(GameServer$setCanStartNewGameEnabled$slambda).p9 = function () {
1019
1152
  var suspendResult = this.j9_1;
@@ -1022,7 +1155,7 @@
1022
1155
  var tmp = this.h9_1;
1023
1156
  if (tmp === 0) {
1024
1157
  this.i9_1 = 1;
1025
- this.md2_1.dispatch(new UpdateServerConfigAction(get_serverState(this.md2_1.state).nd2_1.pd2(this.kd2_1)));
1158
+ this.nd4_1.dispatch(new UpdateServerConfigAction(get_serverState(this.nd4_1.state).od4_1.qd4(this.ld4_1)));
1026
1159
  return Unit_instance;
1027
1160
  } else if (tmp === 1) {
1028
1161
  throw this.k9_1;
@@ -1033,34 +1166,34 @@
1033
1166
  }
1034
1167
  while (true);
1035
1168
  };
1036
- protoOf(GameServer$setCanStartNewGameEnabled$slambda).may = function ($this$dispatchAsync, store, completion) {
1037
- var i = new GameServer$setCanStartNewGameEnabled$slambda(this.kd2_1, completion);
1038
- i.ld2_1 = $this$dispatchAsync;
1039
- i.md2_1 = store;
1169
+ protoOf(GameServer$setCanStartNewGameEnabled$slambda).eaz = function ($this$dispatchAsync, store, completion) {
1170
+ var i = new GameServer$setCanStartNewGameEnabled$slambda(this.ld4_1, completion);
1171
+ i.md4_1 = $this$dispatchAsync;
1172
+ i.nd4_1 = store;
1040
1173
  return i;
1041
1174
  };
1042
1175
  function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
1043
1176
  var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
1044
1177
  var l = function ($this$dispatchAsync, store, $completion) {
1045
- return i.lay($this$dispatchAsync, store, $completion);
1178
+ return i.daz($this$dispatchAsync, store, $completion);
1046
1179
  };
1047
1180
  l.$arity = 2;
1048
1181
  return l;
1049
1182
  }
1050
1183
  function GameServer$shutdown$slambda($reason, this$0, resultContinuation) {
1051
- this.yd2_1 = $reason;
1052
- this.zd2_1 = this$0;
1184
+ this.zd4_1 = $reason;
1185
+ this.ad5_1 = this$0;
1053
1186
  CoroutineImpl.call(this, resultContinuation);
1054
1187
  }
1055
- protoOf(GameServer$shutdown$slambda).lay = function ($this$dispatchAsync, store, $completion) {
1056
- var tmp = this.may($this$dispatchAsync, store, $completion);
1188
+ protoOf(GameServer$shutdown$slambda).daz = function ($this$dispatchAsync, store, $completion) {
1189
+ var tmp = this.eaz($this$dispatchAsync, store, $completion);
1057
1190
  tmp.j9_1 = Unit_instance;
1058
1191
  tmp.k9_1 = null;
1059
1192
  return tmp.p9();
1060
1193
  };
1061
1194
  protoOf(GameServer$shutdown$slambda).aa = function (p1, p2, $completion) {
1062
1195
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1063
- return this.lay(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1196
+ return this.daz(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1064
1197
  };
1065
1198
  protoOf(GameServer$shutdown$slambda).p9 = function () {
1066
1199
  var suspendResult = this.j9_1;
@@ -1069,11 +1202,11 @@
1069
1202
  var tmp = this.h9_1;
1070
1203
  if (tmp === 0) {
1071
1204
  this.i9_1 = 1;
1072
- var state = this.bd3_1.store.state;
1073
- if (state.l6w()) {
1074
- var tmp0_elvis_lhs = toDomainEnumSafe(this.yd2_1, get_serverShutdownReasonMapping());
1205
+ var state = this.cd5_1.store.state;
1206
+ if (state.n6w()) {
1207
+ var tmp0_elvis_lhs = toDomainEnumSafe(this.zd4_1, get_serverShutdownReasonMapping());
1075
1208
  var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
1076
- var tmp_0 = this.bd3_1.dispatch;
1209
+ var tmp_0 = this.cd5_1.dispatch;
1077
1210
  var tmp_1 = Companion_instance;
1078
1211
  var tmp_2;
1079
1212
  switch (shutdownReason.o2_1) {
@@ -1087,10 +1220,10 @@
1087
1220
  noWhenBranchMatchedException();
1088
1221
  break;
1089
1222
  }
1090
- tmp_0(tmp_1.withAnalytics(tmp_2, this.zd2_1.table.isGameFinished, this.zd2_1.table));
1223
+ tmp_0(tmp_1.withAnalytics(tmp_2, this.ad5_1.table.isGameFinished, this.ad5_1.table));
1091
1224
  } else {
1092
- _get_logger__rkp4sl(this.zd2_1).w('GameEngine_API', "GameServer: can't shutdown engine without table");
1093
- this.bd3_1.dispatch(ClearAction_instance);
1225
+ _get_logger__rkp4sl(this.ad5_1).w('GameEngine_API', "GameServer: can't shutdown engine without table");
1226
+ this.cd5_1.dispatch(new ClearAction());
1094
1227
  }
1095
1228
  return Unit_instance;
1096
1229
  } else if (tmp === 1) {
@@ -1102,22 +1235,22 @@
1102
1235
  }
1103
1236
  while (true);
1104
1237
  };
1105
- protoOf(GameServer$shutdown$slambda).may = function ($this$dispatchAsync, store, completion) {
1106
- var i = new GameServer$shutdown$slambda(this.yd2_1, this.zd2_1, completion);
1107
- i.ad3_1 = $this$dispatchAsync;
1108
- i.bd3_1 = store;
1238
+ protoOf(GameServer$shutdown$slambda).eaz = function ($this$dispatchAsync, store, completion) {
1239
+ var i = new GameServer$shutdown$slambda(this.zd4_1, this.ad5_1, completion);
1240
+ i.bd5_1 = $this$dispatchAsync;
1241
+ i.cd5_1 = store;
1109
1242
  return i;
1110
1243
  };
1111
1244
  function GameServer$shutdown$slambda_0($reason, this$0, resultContinuation) {
1112
1245
  var i = new GameServer$shutdown$slambda($reason, this$0, resultContinuation);
1113
1246
  var l = function ($this$dispatchAsync, store, $completion) {
1114
- return i.lay($this$dispatchAsync, store, $completion);
1247
+ return i.daz($this$dispatchAsync, store, $completion);
1115
1248
  };
1116
1249
  l.$arity = 2;
1117
1250
  return l;
1118
1251
  }
1119
1252
  function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
1120
- preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_9.cd3()) : preloadedState;
1253
+ preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_9.dd5()) : preloadedState;
1121
1254
  var tmp;
1122
1255
  if (externalReducers === VOID) {
1123
1256
  // Inline function 'kotlin.collections.listOf' call
@@ -1140,77 +1273,84 @@
1140
1273
  // Inline function 'org.kodein.type.generic' call
1141
1274
  var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
1142
1275
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
1143
- tmp_1.wcx_1 = Instance(di, tmp$ret$2, null).p67(this, logger$factory());
1276
+ tmp_1.acz_1 = Instance(di, tmp$ret$2, null).q67(this, logger$factory());
1144
1277
  var tmp_3 = this;
1145
1278
  // Inline function 'org.kodein.di.instance' call
1146
1279
  // Inline function 'org.kodein.type.generic' call
1147
1280
  var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
1148
1281
  var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
1149
- tmp_3.xcx_1 = Instance(di, tmp$ret$4, null).p67(this, toClientEventsObserver$factory());
1282
+ tmp_3.bcz_1 = Instance(di, tmp$ret$4, null).q67(this, toClientEventsObserver$factory());
1150
1283
  var tmp_5 = this;
1151
1284
  // Inline function 'org.kodein.di.instance' call
1152
1285
  // Inline function 'org.kodein.type.generic' call
1153
1286
  var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
1154
1287
  var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
1155
- tmp_5.ycx_1 = Instance(di, tmp$ret$6, null).p67(this, playerConnectionInteractor$factory());
1288
+ tmp_5.ccz_1 = Instance(di, tmp$ret$6, null).q67(this, playerConnectionInteractor$factory());
1156
1289
  var tmp_7 = this;
1157
- var tmp0_externalMiddlewares = plus(storeContract.e97(), externalMiddlewares);
1158
- var tmp1_externalReducers = plus(storeContract.d97(), externalReducers);
1159
- tmp_7.zcx_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
1290
+ var tmp0_externalMiddlewares = plus(storeContract.u97(), externalMiddlewares);
1291
+ var tmp1_externalReducers = plus(storeContract.t97(), externalReducers);
1292
+ tmp_7.dcz_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
1160
1293
  }
1161
- protoOf(GameServer).x6u = function () {
1162
- return this.zcx_1;
1294
+ protoOf(GameServer).z6u = function () {
1295
+ return this.dcz_1;
1163
1296
  };
1164
1297
  protoOf(GameServer).a5p = function () {
1165
- return this.d6e().k6w().id;
1298
+ return this.e6e().m6w().id;
1166
1299
  };
1167
- protoOf(GameServer).k6w = function () {
1168
- return this.d6e().k6w();
1300
+ protoOf(GameServer).m6w = function () {
1301
+ return this.e6e().m6w();
1169
1302
  };
1170
- protoOf(GameServer).l6w = function () {
1171
- return this.d6e().l6w();
1303
+ protoOf(GameServer).n6w = function () {
1304
+ return this.e6e().n6w();
1172
1305
  };
1173
- protoOf(GameServer).m6w = function () {
1174
- return this.d6e().k6v_1;
1306
+ protoOf(GameServer).o6w = function () {
1307
+ return this.e6e().m6v_1;
1175
1308
  };
1176
1309
  protoOf(GameServer).subscribeToClientAction = function (subscriber) {
1177
- var tmp = this.v6u();
1178
- tmp.d6k(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
1310
+ var tmp = this.x6u();
1311
+ tmp.f6k(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
1179
1312
  };
1180
1313
  protoOf(GameServer).subscribeWith = function (subscriber) {
1181
- var tmp = this.v6u();
1182
- tmp.d6k(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
1314
+ var tmp = this.x6u();
1315
+ tmp.f6k(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
1183
1316
  };
1184
1317
  protoOf(GameServer).fromClientEvent = function (action) {
1185
1318
  _get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
1186
- this.zcx_1.j6w(GameServer$fromClientEvent$slambda_0(action, null));
1319
+ this.dcz_1.l6w(GameServer$fromClientEvent$slambda_0(action, null));
1187
1320
  };
1188
1321
  protoOf(GameServer).playerLostConnection = function (playerId) {
1189
1322
  _get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
1190
- this.zcx_1.j6w(GameServer$playerLostConnection$slambda_0(playerId, null));
1323
+ this.dcz_1.l6w(GameServer$playerLostConnection$slambda_0(playerId, null));
1191
1324
  };
1192
1325
  protoOf(GameServer).playerLive = function (playerId) {
1193
1326
  _get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
1194
- this.zcx_1.j6w(GameServer$playerLive$slambda_0(playerId, null));
1327
+ this.dcz_1.l6w(GameServer$playerLive$slambda_0(playerId, null));
1195
1328
  };
1196
1329
  protoOf(GameServer).playerLeft = function (playerId) {
1197
1330
  _get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
1198
- this.zcx_1.j6w(GameServer$playerLeft$slambda_0(playerId, null));
1331
+ this.dcz_1.l6w(GameServer$playerLeft$slambda_0(playerId, null));
1199
1332
  };
1200
- protoOf(GameServer).roomOnCreate = function (roomId, gameCreatorId, config, users) {
1201
- this.zcx_1.j6w(GameServer$roomOnCreate$slambda_0(users, gameCreatorId, config, roomId, null));
1333
+ protoOf(GameServer).ed5 = function (roomId, gameCreatorId, config, users, spectators) {
1334
+ this.dcz_1.l6w(GameServer$roomOnCreate$slambda_0(users, gameCreatorId, spectators, config, roomId, null));
1335
+ };
1336
+ protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
1337
+ this.dcz_1.l6w(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
1338
+ };
1339
+ protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
1340
+ this.dcz_1.l6w(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
1202
1341
  };
1203
1342
  protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
1204
- this.zcx_1.j6w(GameServer$roomRefreshPlayerState$slambda_0(this, playerId, null));
1343
+ _get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
1344
+ this.dcz_1.l6w(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
1205
1345
  };
1206
- protoOf(GameServer).roomOnDelete = function () {
1207
- this.zcx_1.j6w(GameServer$roomOnDelete$slambda_0(this, null));
1346
+ protoOf(GameServer).fd5 = function (newRid) {
1347
+ this.dcz_1.l6w(GameServer$roomOnDelete$slambda_0(this, null));
1208
1348
  };
1209
1349
  protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
1210
- this.zcx_1.j6w(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
1350
+ this.dcz_1.l6w(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
1211
1351
  };
1212
1352
  protoOf(GameServer).shutdown = function (reason) {
1213
- this.zcx_1.j6w(GameServer$shutdown$slambda_0(reason, this, null));
1353
+ this.dcz_1.l6w(GameServer$shutdown$slambda_0(reason, this, null));
1214
1354
  };
1215
1355
  protoOf(GameServer).clear = function () {
1216
1356
  return this.a2();
@@ -1279,16 +1419,16 @@
1279
1419
  return ServerShutdownReason_ERROR_instance;
1280
1420
  }
1281
1421
  function ServerConfig(canStartNewGame) {
1282
- this.od2_1 = canStartNewGame;
1422
+ this.pd4_1 = canStartNewGame;
1283
1423
  }
1284
- protoOf(ServerConfig).pd2 = function (canStartNewGame) {
1424
+ protoOf(ServerConfig).qd4 = function (canStartNewGame) {
1285
1425
  return new ServerConfig(canStartNewGame);
1286
1426
  };
1287
1427
  protoOf(ServerConfig).toString = function () {
1288
- return 'ServerConfig(canStartNewGame=' + this.od2_1 + ')';
1428
+ return 'ServerConfig(canStartNewGame=' + this.pd4_1 + ')';
1289
1429
  };
1290
1430
  protoOf(ServerConfig).hashCode = function () {
1291
- return getBooleanHashCode(this.od2_1);
1431
+ return getBooleanHashCode(this.pd4_1);
1292
1432
  };
1293
1433
  protoOf(ServerConfig).equals = function (other) {
1294
1434
  if (this === other)
@@ -1296,7 +1436,7 @@
1296
1436
  if (!(other instanceof ServerConfig))
1297
1437
  return false;
1298
1438
  var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
1299
- if (!(this.od2_1 === tmp0_other_with_cast.od2_1))
1439
+ if (!(this.pd4_1 === tmp0_other_with_cast.pd4_1))
1300
1440
  return false;
1301
1441
  return true;
1302
1442
  };
@@ -1314,27 +1454,27 @@
1314
1454
  };
1315
1455
  }
1316
1456
  function createGameServerDI$lambda$lambda_0($this$singleton) {
1317
- return new ServerGameStoreContract($this$singleton.e62());
1457
+ return new ServerGameStoreContract($this$singleton.f62());
1318
1458
  }
1319
1459
  function createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares) {
1320
1460
  return function ($this$singleton) {
1321
- var tmp = $this$singleton.e62();
1461
+ var tmp = $this$singleton.f62();
1322
1462
  // Inline function 'org.kodein.di.instance' call
1323
- var tmp_0 = $this$singleton.h63();
1463
+ var tmp_0 = $this$singleton.i63();
1324
1464
  // Inline function 'org.kodein.type.generic' call
1325
1465
  var tmp_1 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
1326
1466
  var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
1327
- var tmp$ret$1 = tmp_0.g63(tmp$ret$0, null);
1467
+ var tmp$ret$1 = tmp_0.h63(tmp$ret$0, null);
1328
1468
  return new GameServer(tmp, 'Game server', tmp$ret$1, VOID, $externalReducers, $externalMiddlewares);
1329
1469
  };
1330
1470
  }
1331
1471
  function createGameServerDI$lambda$lambda_2($this$provider) {
1332
1472
  // Inline function 'org.kodein.di.instance' call
1333
- var tmp = $this$provider.h63();
1473
+ var tmp = $this$provider.i63();
1334
1474
  // Inline function 'org.kodein.type.generic' call
1335
1475
  var tmp_0 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
1336
1476
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
1337
- return tmp.g63(tmp$ret$0, null);
1477
+ return tmp.h63(tmp$ret$0, null);
1338
1478
  }
1339
1479
  function createGameServerDI$lambda($botConfig, $logicConfig, $dealerConfig, $serverConfig, $externalReducers, $externalMiddlewares) {
1340
1480
  return function ($this$Module) {
@@ -1342,184 +1482,184 @@
1342
1482
  // Inline function 'org.kodein.type.generic' call
1343
1483
  var tmp = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
1344
1484
  var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
1345
- var tmp_0 = $this$Module.u61(tmp$ret$0, null, null);
1485
+ var tmp_0 = $this$Module.v61(tmp$ret$0, null, null);
1346
1486
  // Inline function 'org.kodein.di.singleton' call
1347
1487
  var creator = createGameServerDI$lambda$lambda($serverConfig);
1348
- var tmp_1 = $this$Module.z61();
1349
- var tmp_2 = $this$Module.x61();
1350
- var tmp_3 = $this$Module.y61();
1488
+ var tmp_1 = $this$Module.a62();
1489
+ var tmp_2 = $this$Module.y61();
1490
+ var tmp_3 = $this$Module.z61();
1351
1491
  // Inline function 'org.kodein.type.generic' call
1352
1492
  var tmp_4 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
1353
1493
  var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
1354
1494
  var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
1355
- tmp_0.s65(tmp$ret$3);
1356
- $this$Module.w61(getServerEngineGameDI($botConfig, $logicConfig, $dealerConfig));
1495
+ tmp_0.t65(tmp$ret$3);
1496
+ $this$Module.x61(getServerEngineGameDI($botConfig, $logicConfig, $dealerConfig));
1357
1497
  // Inline function 'org.kodein.di.bind' call
1358
1498
  // Inline function 'org.kodein.type.generic' call
1359
1499
  var tmp_5 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
1360
1500
  var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
1361
- var tmp_6 = $this$Module.u61(tmp$ret$4, null, null);
1501
+ var tmp_6 = $this$Module.v61(tmp$ret$4, null, null);
1362
1502
  // Inline function 'org.kodein.di.singleton' call
1363
1503
  var creator_0 = createGameServerDI$lambda$lambda_0;
1364
- var tmp_7 = $this$Module.z61();
1365
- var tmp_8 = $this$Module.x61();
1366
- var tmp_9 = $this$Module.y61();
1504
+ var tmp_7 = $this$Module.a62();
1505
+ var tmp_8 = $this$Module.y61();
1506
+ var tmp_9 = $this$Module.z61();
1367
1507
  // Inline function 'org.kodein.type.generic' call
1368
1508
  var tmp_10 = typeToken(createKType(getKClass(ServerGameStoreContract), arrayOf([]), false));
1369
1509
  var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
1370
1510
  var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
1371
- tmp_6.s65(tmp$ret$7);
1511
+ tmp_6.t65(tmp$ret$7);
1372
1512
  // Inline function 'org.kodein.di.bind' call
1373
1513
  // Inline function 'org.kodein.type.generic' call
1374
1514
  var tmp_11 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
1375
1515
  var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
1376
- var tmp_12 = $this$Module.u61(tmp$ret$8, null, null);
1516
+ var tmp_12 = $this$Module.v61(tmp$ret$8, null, null);
1377
1517
  // Inline function 'org.kodein.di.singleton' call
1378
1518
  var creator_1 = createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares);
1379
- var tmp_13 = $this$Module.z61();
1380
- var tmp_14 = $this$Module.x61();
1381
- var tmp_15 = $this$Module.y61();
1519
+ var tmp_13 = $this$Module.a62();
1520
+ var tmp_14 = $this$Module.y61();
1521
+ var tmp_15 = $this$Module.z61();
1382
1522
  // Inline function 'org.kodein.type.generic' call
1383
1523
  var tmp_16 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
1384
1524
  var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
1385
1525
  var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
1386
- tmp_12.s65(tmp$ret$11);
1526
+ tmp_12.t65(tmp$ret$11);
1387
1527
  // Inline function 'org.kodein.di.bind' call
1388
1528
  // Inline function 'org.kodein.type.generic' call
1389
1529
  var tmp_17 = typeToken(createKType(getKClass(StateProvider), arrayOf([]), false));
1390
1530
  var tmp$ret$12 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
1391
- var tmp_18 = $this$Module.u61(tmp$ret$12, null, null);
1531
+ var tmp_18 = $this$Module.v61(tmp$ret$12, null, null);
1392
1532
  // Inline function 'org.kodein.di.provider' call
1393
1533
  var creator_2 = createGameServerDI$lambda$lambda_2;
1394
- var tmp_19 = $this$Module.x61();
1534
+ var tmp_19 = $this$Module.y61();
1395
1535
  // Inline function 'org.kodein.type.generic' call
1396
1536
  var tmp_20 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
1397
1537
  var tmp$ret$14 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
1398
1538
  var tmp$ret$15 = new Provider(tmp_19, tmp$ret$14, creator_2);
1399
- tmp_18.s65(tmp$ret$15);
1539
+ tmp_18.t65(tmp$ret$15);
1400
1540
  return Unit_instance;
1401
1541
  };
1402
1542
  }
1403
1543
  function getServerEngineGameDI$lambda$lambda($this$provider) {
1404
1544
  // Inline function 'org.kodein.di.instance' call
1405
- var tmp = $this$provider.h63();
1545
+ var tmp = $this$provider.i63();
1406
1546
  // Inline function 'org.kodein.type.generic' call
1407
1547
  var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
1408
1548
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
1409
- var tmp_1 = tmp.g63(tmp$ret$0, null);
1549
+ var tmp_1 = tmp.h63(tmp$ret$0, null);
1410
1550
  // Inline function 'org.kodein.di.instance' call
1411
- var tmp_2 = $this$provider.h63();
1551
+ var tmp_2 = $this$provider.i63();
1412
1552
  // Inline function 'org.kodein.type.generic' call
1413
1553
  var tmp_3 = typeToken(createKType(getKClass(TableLifecycleReducer), arrayOf([]), false));
1414
1554
  var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
1415
- var tmp_4 = tmp_2.g63(tmp$ret$2, null);
1555
+ var tmp_4 = tmp_2.h63(tmp$ret$2, null);
1416
1556
  // Inline function 'org.kodein.di.instance' call
1417
- var tmp_5 = $this$provider.h63();
1557
+ var tmp_5 = $this$provider.i63();
1418
1558
  // Inline function 'org.kodein.type.generic' call
1419
1559
  var tmp_6 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
1420
1560
  var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
1421
- var tmp$ret$5 = tmp_5.g63(tmp$ret$4, null);
1561
+ var tmp$ret$5 = tmp_5.h63(tmp$ret$4, null);
1422
1562
  return new ServerMechanicLifecycleReducer(tmp_1, tmp_4, tmp$ret$5);
1423
1563
  }
1424
1564
  function getServerEngineGameDI$lambda$lambda_0($this$provider) {
1425
1565
  // Inline function 'org.kodein.di.instance' call
1426
- var tmp = $this$provider.h63();
1566
+ var tmp = $this$provider.i63();
1427
1567
  // Inline function 'org.kodein.type.generic' call
1428
1568
  var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
1429
1569
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
1430
- var tmp0_serverConfig = tmp.g63(tmp$ret$0, null);
1570
+ var tmp0_serverConfig = tmp.h63(tmp$ret$0, null);
1431
1571
  // Inline function 'org.kodein.di.instance' call
1432
- var tmp_1 = $this$provider.h63();
1572
+ var tmp_1 = $this$provider.i63();
1433
1573
  // Inline function 'org.kodein.type.generic' call
1434
1574
  var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
1435
1575
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
1436
- var tmp1_logger = tmp_1.g63(tmp$ret$2, null);
1576
+ var tmp1_logger = tmp_1.h63(tmp$ret$2, null);
1437
1577
  // Inline function 'org.kodein.di.instance' call
1438
- var tmp_3 = $this$provider.h63();
1578
+ var tmp_3 = $this$provider.i63();
1439
1579
  // Inline function 'org.kodein.type.generic' call
1440
1580
  var tmp_4 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
1441
1581
  var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
1442
- var tmp2_playerTurnMechanicReducer = tmp_3.g63(tmp$ret$4, null);
1582
+ var tmp2_playerTurnMechanicReducer = tmp_3.h63(tmp$ret$4, null);
1443
1583
  // Inline function 'org.kodein.di.instance' call
1444
- var tmp_5 = $this$provider.h63();
1584
+ var tmp_5 = $this$provider.i63();
1445
1585
  // Inline function 'org.kodein.type.generic' call
1446
1586
  var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
1447
1587
  var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
1448
- var tmp3_idsProvider = tmp_5.g63(tmp$ret$6, null);
1588
+ var tmp3_idsProvider = tmp_5.h63(tmp$ret$6, null);
1449
1589
  // Inline function 'org.kodein.di.instance' call
1450
- var tmp_7 = $this$provider.h63();
1590
+ var tmp_7 = $this$provider.i63();
1451
1591
  // Inline function 'org.kodein.type.generic' call
1452
1592
  var tmp_8 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
1453
1593
  var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
1454
- var tmp4_engineLogicConfig = tmp_7.g63(tmp$ret$8, null);
1594
+ var tmp4_engineLogicConfig = tmp_7.h63(tmp$ret$8, null);
1455
1595
  return new PlayerConnectionInteractor(tmp0_serverConfig, tmp4_engineLogicConfig, tmp1_logger, tmp2_playerTurnMechanicReducer, tmp3_idsProvider);
1456
1596
  }
1457
1597
  function getServerEngineGameDI$lambda$lambda_1($this$singleton) {
1458
1598
  // Inline function 'org.kodein.di.instance' call
1459
- var tmp = $this$singleton.h63();
1599
+ var tmp = $this$singleton.i63();
1460
1600
  // Inline function 'org.kodein.type.generic' call
1461
1601
  var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
1462
1602
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
1463
- var tmp_1 = tmp.g63(tmp$ret$0, null);
1603
+ var tmp_1 = tmp.h63(tmp$ret$0, null);
1464
1604
  // Inline function 'org.kodein.di.instance' call
1465
- var tmp_2 = $this$singleton.h63();
1605
+ var tmp_2 = $this$singleton.i63();
1466
1606
  // Inline function 'org.kodein.type.generic' call
1467
1607
  var tmp_3 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
1468
1608
  var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
1469
- var tmp_4 = tmp_2.g63(tmp$ret$2, null);
1609
+ var tmp_4 = tmp_2.h63(tmp$ret$2, null);
1470
1610
  // Inline function 'org.kodein.di.instance' call
1471
- var tmp_5 = $this$singleton.h63();
1611
+ var tmp_5 = $this$singleton.i63();
1472
1612
  // Inline function 'org.kodein.type.generic' call
1473
1613
  var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
1474
1614
  var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
1475
- var tmp$ret$5 = tmp_5.g63(tmp$ret$4, null);
1615
+ var tmp$ret$5 = tmp_5.h63(tmp$ret$4, null);
1476
1616
  return new ToClientEventsObserverImpl(tmp_1, tmp_4, tmp$ret$5);
1477
1617
  }
1478
1618
  function getServerEngineGameDI$lambda($engineBotConfig, $engineLogicConfig, $dealerConfig) {
1479
1619
  return function ($this$Module) {
1480
- $this$Module.w61(jsonModule(emptyList()));
1481
- $this$Module.w61(getEngineGameModule($engineBotConfig, $engineLogicConfig, $dealerConfig));
1620
+ $this$Module.x61(jsonModule(emptyList()));
1621
+ $this$Module.x61(getEngineGameModule($engineBotConfig, $engineLogicConfig, $dealerConfig));
1482
1622
  // Inline function 'org.kodein.di.bind' call
1483
1623
  // Inline function 'org.kodein.type.generic' call
1484
1624
  var tmp = typeToken(createKType(getKClass(MechanicLifecycleReducer), arrayOf([]), false));
1485
1625
  var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
1486
- var tmp_0 = $this$Module.u61(tmp$ret$0, null, null);
1626
+ var tmp_0 = $this$Module.v61(tmp$ret$0, null, null);
1487
1627
  // Inline function 'org.kodein.di.provider' call
1488
1628
  var creator = getServerEngineGameDI$lambda$lambda;
1489
- var tmp_1 = $this$Module.x61();
1629
+ var tmp_1 = $this$Module.y61();
1490
1630
  // Inline function 'org.kodein.type.generic' call
1491
1631
  var tmp_2 = typeToken(createKType(getKClass(ServerMechanicLifecycleReducer), arrayOf([]), false));
1492
1632
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
1493
1633
  var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
1494
- tmp_0.s65(tmp$ret$3);
1634
+ tmp_0.t65(tmp$ret$3);
1495
1635
  // Inline function 'org.kodein.di.bind' call
1496
1636
  // Inline function 'org.kodein.type.generic' call
1497
1637
  var tmp_3 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
1498
1638
  var tmp$ret$4 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
1499
- var tmp_4 = $this$Module.u61(tmp$ret$4, null, null);
1639
+ var tmp_4 = $this$Module.v61(tmp$ret$4, null, null);
1500
1640
  // Inline function 'org.kodein.di.provider' call
1501
1641
  var creator_0 = getServerEngineGameDI$lambda$lambda_0;
1502
- var tmp_5 = $this$Module.x61();
1642
+ var tmp_5 = $this$Module.y61();
1503
1643
  // Inline function 'org.kodein.type.generic' call
1504
1644
  var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
1505
1645
  var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
1506
1646
  var tmp$ret$7 = new Provider(tmp_5, tmp$ret$6, creator_0);
1507
- tmp_4.s65(tmp$ret$7);
1647
+ tmp_4.t65(tmp$ret$7);
1508
1648
  // Inline function 'org.kodein.di.bind' call
1509
1649
  // Inline function 'org.kodein.type.generic' call
1510
1650
  var tmp_7 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
1511
1651
  var tmp$ret$8 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
1512
- var tmp_8 = $this$Module.u61(tmp$ret$8, null, null);
1652
+ var tmp_8 = $this$Module.v61(tmp$ret$8, null, null);
1513
1653
  // Inline function 'org.kodein.di.singleton' call
1514
1654
  var creator_1 = getServerEngineGameDI$lambda$lambda_1;
1515
- var tmp_9 = $this$Module.z61();
1516
- var tmp_10 = $this$Module.x61();
1517
- var tmp_11 = $this$Module.y61();
1655
+ var tmp_9 = $this$Module.a62();
1656
+ var tmp_10 = $this$Module.y61();
1657
+ var tmp_11 = $this$Module.z61();
1518
1658
  // Inline function 'org.kodein.type.generic' call
1519
1659
  var tmp_12 = typeToken(createKType(getKClass(ToClientEventsObserverImpl), arrayOf([]), false));
1520
1660
  var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
1521
1661
  var tmp$ret$11 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$10, null, true, creator_1);
1522
- tmp_8.s65(tmp$ret$11);
1662
+ tmp_8.t65(tmp$ret$11);
1523
1663
  return Unit_instance;
1524
1664
  };
1525
1665
  }
@@ -1528,18 +1668,18 @@
1528
1668
  function ToClientEventsObserver() {
1529
1669
  }
1530
1670
  function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this$0, $actions, resultContinuation) {
1531
- this.md3_1 = this$0;
1532
- this.nd3_1 = $actions;
1671
+ this.pd5_1 = this$0;
1672
+ this.qd5_1 = $actions;
1533
1673
  CoroutineImpl.call(this, resultContinuation);
1534
1674
  }
1535
- protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).ud3 = function ($this$flow, $completion) {
1536
- var tmp = this.vd3($this$flow, $completion);
1675
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).xd5 = function ($this$flow, $completion) {
1676
+ var tmp = this.yd5($this$flow, $completion);
1537
1677
  tmp.j9_1 = Unit_instance;
1538
1678
  tmp.k9_1 = null;
1539
1679
  return tmp.p9();
1540
1680
  };
1541
1681
  protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).z9 = function (p1, $completion) {
1542
- return this.ud3((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
1682
+ return this.xd5((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
1543
1683
  };
1544
1684
  protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).p9 = function () {
1545
1685
  var suspendResult = this.j9_1;
@@ -1550,23 +1690,23 @@
1550
1690
  case 0:
1551
1691
  this.i9_1 = 4;
1552
1692
  var tmp_0 = this;
1553
- tmp_0.pd3_1 = this.md3_1.ad4_1;
1693
+ tmp_0.sd5_1 = this.pd5_1.dd6_1;
1554
1694
  var tmp_1 = this;
1555
- tmp_1.qd3_1 = transformToEmits(this.md3_1, this.nd3_1);
1556
- this.rd3_1 = this.qd3_1.j();
1695
+ tmp_1.td5_1 = transformToEmits(this.pd5_1, this.qd5_1);
1696
+ this.ud5_1 = this.td5_1.j();
1557
1697
  this.h9_1 = 1;
1558
1698
  continue $sm;
1559
1699
  case 1:
1560
- if (!this.rd3_1.k()) {
1700
+ if (!this.ud5_1.k()) {
1561
1701
  this.h9_1 = 3;
1562
1702
  continue $sm;
1563
1703
  }
1564
1704
 
1565
- this.sd3_1 = this.rd3_1.l();
1705
+ this.vd5_1 = this.ud5_1.l();
1566
1706
  var tmp_2 = this;
1567
- tmp_2.td3_1 = this.sd3_1;
1707
+ tmp_2.wd5_1 = this.vd5_1;
1568
1708
  this.h9_1 = 2;
1569
- suspendResult = this.od3_1.s18(this.td3_1, this);
1709
+ suspendResult = this.rd5_1.s18(this.wd5_1, this);
1570
1710
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1571
1711
  return suspendResult;
1572
1712
  }
@@ -1577,10 +1717,10 @@
1577
1717
  continue $sm;
1578
1718
  case 3:
1579
1719
  l$ret$1: do {
1580
- var this_0 = this.md3_1.zd3_1;
1720
+ var this_0 = this.pd5_1.cd6_1;
1581
1721
  while (true) {
1582
1722
  var cur = this_0.kotlinx$atomicfu$value;
1583
- var upd = cur - this.nd3_1.m() | 0;
1723
+ var upd = cur - this.qd5_1.m() | 0;
1584
1724
  if (this_0.atomicfu$compareAndSet(cur, upd)) {
1585
1725
  break l$ret$1;
1586
1726
  }
@@ -1602,15 +1742,15 @@
1602
1742
  }
1603
1743
  while (true);
1604
1744
  };
1605
- protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).vd3 = function ($this$flow, completion) {
1606
- var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this.md3_1, this.nd3_1, completion);
1607
- i.od3_1 = $this$flow;
1745
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).yd5 = function ($this$flow, completion) {
1746
+ var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this.pd5_1, this.qd5_1, completion);
1747
+ i.rd5_1 = $this$flow;
1608
1748
  return i;
1609
1749
  };
1610
1750
  function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
1611
1751
  var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this$0, $actions, resultContinuation);
1612
1752
  var l = function ($this$flow, $completion) {
1613
- return i.ud3($this$flow, $completion);
1753
+ return i.xd5($this$flow, $completion);
1614
1754
  };
1615
1755
  l.$arity = 1;
1616
1756
  return l;
@@ -1683,29 +1823,29 @@
1683
1823
  return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
1684
1824
  }
1685
1825
  function mapFromGroupKey(_this__u8e3s4, $this) {
1686
- var tmp = $this.yd3_1.g6l();
1826
+ var tmp = $this.bd6_1.i6l();
1687
1827
  // Inline function 'kotlin.collections.toTypedArray' call
1688
- var this_0 = _this__u8e3s4.dd4_1;
1828
+ var this_0 = _this__u8e3s4.gd6_1;
1689
1829
  var tmp_0 = copyToArray(this_0);
1690
1830
  // Inline function 'kotlin.collections.toTypedArray' call
1691
- var this_1 = _this__u8e3s4.ed4_1;
1831
+ var this_1 = _this__u8e3s4.hd6_1;
1692
1832
  var tmp$ret$1 = copyToArray(this_1);
1693
- return new ActionDeliveryPayload(_this__u8e3s4.cd4_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.fd4_1);
1833
+ return new ActionDeliveryPayload(_this__u8e3s4.fd6_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.id6_1);
1694
1834
  }
1695
1835
  function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
1696
- this.cd4_1 = tableId;
1697
- this.dd4_1 = includePlayers;
1698
- this.ed4_1 = excludePlayers;
1699
- this.fd4_1 = deliveryType;
1836
+ this.fd6_1 = tableId;
1837
+ this.gd6_1 = includePlayers;
1838
+ this.hd6_1 = excludePlayers;
1839
+ this.id6_1 = deliveryType;
1700
1840
  }
1701
1841
  protoOf(GroupKey).toString = function () {
1702
- return 'GroupKey(tableId=' + this.cd4_1 + ', includePlayers=' + toString(this.dd4_1) + ', excludePlayers=' + toString(this.ed4_1) + ', deliveryType=' + this.fd4_1.toString() + ')';
1842
+ return 'GroupKey(tableId=' + this.fd6_1 + ', includePlayers=' + toString(this.gd6_1) + ', excludePlayers=' + toString(this.hd6_1) + ', deliveryType=' + this.id6_1.toString() + ')';
1703
1843
  };
1704
1844
  protoOf(GroupKey).hashCode = function () {
1705
- var result = getStringHashCode(this.cd4_1);
1706
- result = imul(result, 31) + hashCode(this.dd4_1) | 0;
1707
- result = imul(result, 31) + hashCode(this.ed4_1) | 0;
1708
- result = imul(result, 31) + this.fd4_1.hashCode() | 0;
1845
+ var result = getStringHashCode(this.fd6_1);
1846
+ result = imul(result, 31) + hashCode(this.gd6_1) | 0;
1847
+ result = imul(result, 31) + hashCode(this.hd6_1) | 0;
1848
+ result = imul(result, 31) + this.id6_1.hashCode() | 0;
1709
1849
  return result;
1710
1850
  };
1711
1851
  protoOf(GroupKey).equals = function (other) {
@@ -1714,35 +1854,35 @@
1714
1854
  if (!(other instanceof GroupKey))
1715
1855
  return false;
1716
1856
  var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
1717
- if (!(this.cd4_1 === tmp0_other_with_cast.cd4_1))
1857
+ if (!(this.fd6_1 === tmp0_other_with_cast.fd6_1))
1718
1858
  return false;
1719
- if (!equals(this.dd4_1, tmp0_other_with_cast.dd4_1))
1859
+ if (!equals(this.gd6_1, tmp0_other_with_cast.gd6_1))
1720
1860
  return false;
1721
- if (!equals(this.ed4_1, tmp0_other_with_cast.ed4_1))
1861
+ if (!equals(this.hd6_1, tmp0_other_with_cast.hd6_1))
1722
1862
  return false;
1723
- if (!this.fd4_1.equals(tmp0_other_with_cast.fd4_1))
1863
+ if (!this.id6_1.equals(tmp0_other_with_cast.id6_1))
1724
1864
  return false;
1725
1865
  return true;
1726
1866
  };
1727
1867
  function Companion_0() {
1728
- this.gd4_1 = 6;
1868
+ this.jd6_1 = 6;
1729
1869
  }
1730
1870
  var Companion_instance_8;
1731
1871
  function Companion_getInstance_3() {
1732
1872
  return Companion_instance_8;
1733
1873
  }
1734
1874
  function ToClientEventsObserverImpl$observeFromClientEvents$slambda(this$0, resultContinuation) {
1735
- this.pd4_1 = this$0;
1875
+ this.sd6_1 = this$0;
1736
1876
  CoroutineImpl.call(this, resultContinuation);
1737
1877
  }
1738
- protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).rd4 = function (actions, $completion) {
1739
- var tmp = this.sd4(actions, $completion);
1878
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).ud6 = function (actions, $completion) {
1879
+ var tmp = this.vd6(actions, $completion);
1740
1880
  tmp.j9_1 = Unit_instance;
1741
1881
  tmp.k9_1 = null;
1742
1882
  return tmp.p9();
1743
1883
  };
1744
1884
  protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).z9 = function (p1, $completion) {
1745
- return this.rd4((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
1885
+ return this.ud6((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
1746
1886
  };
1747
1887
  protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).p9 = function () {
1748
1888
  var suspendResult = this.j9_1;
@@ -1751,7 +1891,7 @@
1751
1891
  var tmp = this.h9_1;
1752
1892
  if (tmp === 0) {
1753
1893
  this.i9_1 = 1;
1754
- return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.pd4_1, this.qd4_1, null));
1894
+ return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.sd6_1, this.td6_1, null));
1755
1895
  } else if (tmp === 1) {
1756
1896
  throw this.k9_1;
1757
1897
  }
@@ -1761,23 +1901,23 @@
1761
1901
  }
1762
1902
  while (true);
1763
1903
  };
1764
- protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).sd4 = function (actions, completion) {
1765
- var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this.pd4_1, completion);
1766
- i.qd4_1 = actions;
1904
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).vd6 = function (actions, completion) {
1905
+ var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this.sd6_1, completion);
1906
+ i.td6_1 = actions;
1767
1907
  return i;
1768
1908
  };
1769
1909
  function ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(this$0, resultContinuation) {
1770
1910
  var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this$0, resultContinuation);
1771
1911
  var l = function (actions, $completion) {
1772
- return i.rd4(actions, $completion);
1912
+ return i.ud6(actions, $completion);
1773
1913
  };
1774
1914
  l.$arity = 1;
1775
1915
  return l;
1776
1916
  }
1777
1917
  function $sentEventCOROUTINE$0(_this__u8e3s4, fromEvent, resultContinuation) {
1778
1918
  CoroutineImpl.call(this, resultContinuation);
1779
- this.bd5_1 = _this__u8e3s4;
1780
- this.cd5_1 = fromEvent;
1919
+ this.ed7_1 = _this__u8e3s4;
1920
+ this.fd7_1 = fromEvent;
1781
1921
  }
1782
1922
  protoOf($sentEventCOROUTINE$0).p9 = function () {
1783
1923
  var suspendResult = this.j9_1;
@@ -1788,9 +1928,9 @@
1788
1928
  case 0:
1789
1929
  this.i9_1 = 2;
1790
1930
  var tmp_0 = this;
1791
- tmp_0.dd5_1 = this.bd5_1.ad4_1;
1931
+ tmp_0.gd7_1 = this.ed7_1.dd6_1;
1792
1932
  l$ret$1: do {
1793
- var this_0 = this.bd5_1.zd3_1;
1933
+ var this_0 = this.ed7_1.cd6_1;
1794
1934
  while (true) {
1795
1935
  var cur = this_0.kotlinx$atomicfu$value;
1796
1936
  var upd = cur + 1 | 0;
@@ -1801,7 +1941,7 @@
1801
1941
  }
1802
1942
  while (false);
1803
1943
  this.h9_1 = 1;
1804
- suspendResult = this.bd5_1.bd4_1.s18(this.cd5_1, this);
1944
+ suspendResult = this.ed7_1.ed6_1.s18(this.fd7_1, this);
1805
1945
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1806
1946
  return suspendResult;
1807
1947
  }
@@ -1825,7 +1965,7 @@
1825
1965
  };
1826
1966
  function $waitForCOROUTINE$1(_this__u8e3s4, resultContinuation) {
1827
1967
  CoroutineImpl.call(this, resultContinuation);
1828
- this.md5_1 = _this__u8e3s4;
1968
+ this.pd7_1 = _this__u8e3s4;
1829
1969
  }
1830
1970
  protoOf($waitForCOROUTINE$1).p9 = function () {
1831
1971
  var suspendResult = this.j9_1;
@@ -1836,12 +1976,12 @@
1836
1976
  case 0:
1837
1977
  this.i9_1 = 5;
1838
1978
  var tmp_0 = this;
1839
- tmp_0.nd5_1 = this.md5_1.ad4_1;
1840
- this.od5_1 = 0;
1979
+ tmp_0.qd7_1 = this.pd7_1.dd6_1;
1980
+ this.rd7_1 = 0;
1841
1981
  this.h9_1 = 1;
1842
1982
  continue $sm;
1843
1983
  case 1:
1844
- if (!!(this.md5_1.zd3_1.kotlinx$atomicfu$value === 0)) {
1984
+ if (!!(this.pd7_1.cd6_1.kotlinx$atomicfu$value === 0)) {
1845
1985
  this.h9_1 = 4;
1846
1986
  continue $sm;
1847
1987
  }
@@ -1854,9 +1994,9 @@
1854
1994
 
1855
1995
  continue $sm;
1856
1996
  case 2:
1857
- this.od5_1 = this.od5_1 + 1 | 0;
1858
- if (this.od5_1 > 6) {
1859
- this.md5_1.xd3_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.md5_1.zd3_1.kotlinx$atomicfu$value);
1997
+ this.rd7_1 = this.rd7_1 + 1 | 0;
1998
+ if (this.rd7_1 > 6) {
1999
+ this.pd7_1.ad6_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.pd7_1.cd6_1.kotlinx$atomicfu$value);
1860
2000
  this.h9_1 = 4;
1861
2001
  continue $sm;
1862
2002
  } else {
@@ -1884,42 +2024,42 @@
1884
2024
  while (true);
1885
2025
  };
1886
2026
  function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
1887
- this.wd3_1 = serverReduxConfig;
1888
- this.xd3_1 = logger;
1889
- this.yd3_1 = idsProvider;
1890
- this.zd3_1 = atomic$ref$1(0);
2027
+ this.zd5_1 = serverReduxConfig;
2028
+ this.ad6_1 = logger;
2029
+ this.bd6_1 = idsProvider;
2030
+ this.cd6_1 = atomic$ref$1(0);
1891
2031
  var tmp = this;
1892
2032
  // Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
1893
- tmp.ad4_1 = get_atomicfu$reentrantLock();
1894
- this.bd4_1 = MutableSharedFlow();
2033
+ tmp.dd6_1 = get_atomicfu$reentrantLock();
2034
+ this.ed6_1 = MutableSharedFlow();
1895
2035
  }
1896
- protoOf(ToClientEventsObserverImpl).dd3 = function (fromEvent, $completion) {
2036
+ protoOf(ToClientEventsObserverImpl).gd5 = function (fromEvent, $completion) {
1897
2037
  var tmp = new $sentEventCOROUTINE$0(this, fromEvent, $completion);
1898
2038
  tmp.j9_1 = Unit_instance;
1899
2039
  tmp.k9_1 = null;
1900
2040
  return tmp.p9();
1901
2041
  };
1902
- protoOf(ToClientEventsObserverImpl).k9e = function ($completion) {
2042
+ protoOf(ToClientEventsObserverImpl).b9f = function ($completion) {
1903
2043
  var tmp = new $waitForCOROUTINE$1(this, $completion);
1904
2044
  tmp.j9_1 = Unit_instance;
1905
2045
  tmp.k9_1 = null;
1906
2046
  return tmp.p9();
1907
2047
  };
1908
- protoOf(ToClientEventsObserverImpl).zb2 = function () {
1909
- if (!this.wd3_1.enabledCombinedEvents) {
1910
- return this.bd4_1;
2048
+ protoOf(ToClientEventsObserverImpl).cb4 = function () {
2049
+ if (!this.zd5_1.enabledCombinedEvents) {
2050
+ return this.ed6_1;
1911
2051
  }
1912
- var tmp = windowedByInterval(this.bd4_1, toLong(this.wd3_1.combinedEventsPeriod));
2052
+ var tmp = windowedByInterval(this.ed6_1, toLong(this.zd5_1.combinedEventsPeriod));
1913
2053
  return flatMapConcat(tmp, ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(this, null));
1914
2054
  };
1915
2055
  function UpdateServerConfigAction(serverConfig) {
1916
- this.pd5_1 = serverConfig;
2056
+ this.sd7_1 = serverConfig;
1917
2057
  }
1918
2058
  protoOf(UpdateServerConfigAction).toString = function () {
1919
- return 'UpdateServerConfigAction(serverConfig=' + this.pd5_1.toString() + ')';
2059
+ return 'UpdateServerConfigAction(serverConfig=' + this.sd7_1.toString() + ')';
1920
2060
  };
1921
2061
  protoOf(UpdateServerConfigAction).hashCode = function () {
1922
- return this.pd5_1.hashCode();
2062
+ return this.sd7_1.hashCode();
1923
2063
  };
1924
2064
  protoOf(UpdateServerConfigAction).equals = function (other) {
1925
2065
  if (this === other)
@@ -1927,72 +2067,112 @@
1927
2067
  if (!(other instanceof UpdateServerConfigAction))
1928
2068
  return false;
1929
2069
  var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
1930
- if (!this.pd5_1.equals(tmp0_other_with_cast.pd5_1))
2070
+ if (!this.sd7_1.equals(tmp0_other_with_cast.sd7_1))
1931
2071
  return false;
1932
2072
  return true;
1933
2073
  };
2074
+ function AddSpectatorsAction(spectators) {
2075
+ this.td7_1 = spectators;
2076
+ }
2077
+ protoOf(AddSpectatorsAction).toString = function () {
2078
+ return 'AddSpectatorsAction(spectators=' + toString(this.td7_1) + ')';
2079
+ };
2080
+ protoOf(AddSpectatorsAction).hashCode = function () {
2081
+ return hashCode(this.td7_1);
2082
+ };
2083
+ protoOf(AddSpectatorsAction).equals = function (other) {
2084
+ if (this === other)
2085
+ return true;
2086
+ if (!(other instanceof AddSpectatorsAction))
2087
+ return false;
2088
+ var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
2089
+ if (!equals(this.td7_1, tmp0_other_with_cast.td7_1))
2090
+ return false;
2091
+ return true;
2092
+ };
2093
+ function RemoveSpectatorsAction(spectators) {
2094
+ this.ud7_1 = spectators;
2095
+ }
2096
+ protoOf(RemoveSpectatorsAction).toString = function () {
2097
+ return 'RemoveSpectatorsAction(spectators=' + toString(this.ud7_1) + ')';
2098
+ };
2099
+ protoOf(RemoveSpectatorsAction).hashCode = function () {
2100
+ return hashCode(this.ud7_1);
2101
+ };
2102
+ protoOf(RemoveSpectatorsAction).equals = function (other) {
2103
+ if (this === other)
2104
+ return true;
2105
+ if (!(other instanceof RemoveSpectatorsAction))
2106
+ return false;
2107
+ var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
2108
+ if (!equals(this.ud7_1, tmp0_other_with_cast.ud7_1))
2109
+ return false;
2110
+ return true;
2111
+ };
2112
+ function SpectatorsAction() {
2113
+ }
1934
2114
  function _get_asyncProvider__jbpyhw($this) {
1935
2115
  // Inline function 'kotlin.getValue' call
1936
- var this_0 = $this.vd5_1;
2116
+ var this_0 = $this.ad8_1;
1937
2117
  asyncProvider$factory_0();
1938
2118
  return this_0.u();
1939
2119
  }
1940
2120
  function _get_logger__rkp4sl_0($this) {
1941
2121
  // Inline function 'kotlin.getValue' call
1942
- var this_0 = $this.wd5_1;
2122
+ var this_0 = $this.bd8_1;
1943
2123
  logger$factory_2();
1944
2124
  return this_0.u();
1945
2125
  }
1946
2126
  function _get_playerConnectionInteractor__si6cxf_0($this) {
1947
2127
  // Inline function 'kotlin.getValue' call
1948
- var this_0 = $this.xd5_1;
2128
+ var this_0 = $this.cd8_1;
1949
2129
  playerConnectionInteractor$factory_2();
1950
2130
  return this_0.u();
1951
2131
  }
1952
2132
  function _get_lastCardInteractor__h6lq3w($this) {
1953
2133
  // Inline function 'kotlin.getValue' call
1954
- var this_0 = $this.yd5_1;
2134
+ var this_0 = $this.dd8_1;
1955
2135
  lastCardInteractor$factory_0();
1956
2136
  return this_0.u();
1957
2137
  }
1958
2138
  function _get_serverConfig__rk2g06($this) {
1959
2139
  // Inline function 'kotlin.getValue' call
1960
- var this_0 = $this.zd5_1;
2140
+ var this_0 = $this.ed8_1;
1961
2141
  serverConfig$factory_0();
1962
2142
  return this_0.u();
1963
2143
  }
1964
2144
  function _get_logicConfig__52ww9d($this) {
1965
2145
  // Inline function 'kotlin.getValue' call
1966
- var this_0 = $this.ad6_1;
2146
+ var this_0 = $this.fd8_1;
1967
2147
  logicConfig$factory_0();
1968
2148
  return this_0.u();
1969
2149
  }
1970
2150
  function _get_idsProvider__fnfajc($this) {
1971
2151
  // Inline function 'kotlin.getValue' call
1972
- var this_0 = $this.bd6_1;
2152
+ var this_0 = $this.gd8_1;
1973
2153
  idsProvider$factory_0();
1974
2154
  return this_0.u();
1975
2155
  }
1976
2156
  function _get_botConfig__cpaxzc($this) {
1977
2157
  // Inline function 'kotlin.getValue' call
1978
- var this_0 = $this.cd6_1;
2158
+ var this_0 = $this.hd8_1;
1979
2159
  botConfig$factory_0();
1980
2160
  return this_0.u();
1981
2161
  }
1982
2162
  function _get_scenePositionProvider__kn0n1n($this) {
1983
2163
  // Inline function 'kotlin.getValue' call
1984
- var this_0 = $this.dd6_1;
2164
+ var this_0 = $this.id8_1;
1985
2165
  scenePositionProvider$factory_0();
1986
2166
  return this_0.u();
1987
2167
  }
1988
2168
  function _get_toClientEventsObserver__6rp51y_0($this) {
1989
2169
  // Inline function 'kotlin.getValue' call
1990
- var this_0 = $this.ed6_1;
2170
+ var this_0 = $this.jd8_1;
1991
2171
  toClientEventsObserver$factory_2();
1992
2172
  return this_0.u();
1993
2173
  }
1994
2174
  function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
1995
- return !player.r72();
2175
+ return !player.u72();
1996
2176
  }
1997
2177
  function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
1998
2178
  validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
@@ -2000,83 +2180,83 @@
2000
2180
  botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
2001
2181
  gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
2002
2182
  fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
2003
- this.qd5_1 = validationStoreContract;
2004
- this.rd5_1 = timersStoreContract;
2005
- this.sd5_1 = botGameStoreContract;
2006
- this.td5_1 = gameMechanicStoreContract;
2007
- this.ud5_1 = fileLoggerStoreContract;
2183
+ this.vd7_1 = validationStoreContract;
2184
+ this.wd7_1 = timersStoreContract;
2185
+ this.xd7_1 = botGameStoreContract;
2186
+ this.yd7_1 = gameMechanicStoreContract;
2187
+ this.zd7_1 = fileLoggerStoreContract;
2008
2188
  var tmp = this;
2009
2189
  // Inline function 'org.kodein.di.instance' call
2010
2190
  // Inline function 'org.kodein.type.generic' call
2011
2191
  var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
2012
2192
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
2013
- tmp.vd5_1 = Instance(di, tmp$ret$0, null).p67(this, asyncProvider$factory());
2193
+ tmp.ad8_1 = Instance(di, tmp$ret$0, null).q67(this, asyncProvider$factory());
2014
2194
  var tmp_1 = this;
2015
2195
  // Inline function 'org.kodein.di.instance' call
2016
2196
  // Inline function 'org.kodein.type.generic' call
2017
2197
  var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
2018
2198
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
2019
- tmp_1.wd5_1 = Instance(di, tmp$ret$2, null).p67(this, logger$factory_1());
2199
+ tmp_1.bd8_1 = Instance(di, tmp$ret$2, null).q67(this, logger$factory_1());
2020
2200
  var tmp_3 = this;
2021
2201
  // Inline function 'org.kodein.di.instance' call
2022
2202
  // Inline function 'org.kodein.type.generic' call
2023
2203
  var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
2024
2204
  var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
2025
- tmp_3.xd5_1 = Instance(di, tmp$ret$4, null).p67(this, playerConnectionInteractor$factory_1());
2205
+ tmp_3.cd8_1 = Instance(di, tmp$ret$4, null).q67(this, playerConnectionInteractor$factory_1());
2026
2206
  var tmp_5 = this;
2027
2207
  // Inline function 'org.kodein.di.instance' call
2028
2208
  // Inline function 'org.kodein.type.generic' call
2029
2209
  var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
2030
2210
  var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
2031
- tmp_5.yd5_1 = Instance(di, tmp$ret$6, null).p67(this, lastCardInteractor$factory());
2211
+ tmp_5.dd8_1 = Instance(di, tmp$ret$6, null).q67(this, lastCardInteractor$factory());
2032
2212
  var tmp_7 = this;
2033
2213
  // Inline function 'org.kodein.di.instance' call
2034
2214
  // Inline function 'org.kodein.type.generic' call
2035
2215
  var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
2036
2216
  var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
2037
- tmp_7.zd5_1 = Instance(di, tmp$ret$8, null).p67(this, serverConfig$factory());
2217
+ tmp_7.ed8_1 = Instance(di, tmp$ret$8, null).q67(this, serverConfig$factory());
2038
2218
  var tmp_9 = this;
2039
2219
  // Inline function 'org.kodein.di.instance' call
2040
2220
  // Inline function 'org.kodein.type.generic' call
2041
2221
  var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
2042
2222
  var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
2043
- tmp_9.ad6_1 = Instance(di, tmp$ret$10, null).p67(this, logicConfig$factory());
2223
+ tmp_9.fd8_1 = Instance(di, tmp$ret$10, null).q67(this, logicConfig$factory());
2044
2224
  var tmp_11 = this;
2045
2225
  // Inline function 'org.kodein.di.instance' call
2046
2226
  // Inline function 'org.kodein.type.generic' call
2047
2227
  var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
2048
2228
  var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
2049
- tmp_11.bd6_1 = Instance(di, tmp$ret$12, null).p67(this, idsProvider$factory());
2229
+ tmp_11.gd8_1 = Instance(di, tmp$ret$12, null).q67(this, idsProvider$factory());
2050
2230
  var tmp_13 = this;
2051
2231
  // Inline function 'org.kodein.di.instance' call
2052
2232
  // Inline function 'org.kodein.type.generic' call
2053
2233
  var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
2054
2234
  var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
2055
- tmp_13.cd6_1 = Instance(di, tmp$ret$14, null).p67(this, botConfig$factory());
2235
+ tmp_13.hd8_1 = Instance(di, tmp$ret$14, null).q67(this, botConfig$factory());
2056
2236
  var tmp_15 = this;
2057
2237
  // Inline function 'org.kodein.di.instance' call
2058
2238
  // Inline function 'org.kodein.type.generic' call
2059
2239
  var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
2060
2240
  var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
2061
- tmp_15.dd6_1 = Instance(di, tmp$ret$16, null).p67(this, scenePositionProvider$factory());
2241
+ tmp_15.id8_1 = Instance(di, tmp$ret$16, null).q67(this, scenePositionProvider$factory());
2062
2242
  var tmp_17 = this;
2063
2243
  // Inline function 'org.kodein.di.instance' call
2064
2244
  // Inline function 'org.kodein.type.generic' call
2065
2245
  var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
2066
2246
  var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
2067
- tmp_17.ed6_1 = Instance(di, tmp$ret$18, null).p67(this, toClientEventsObserver$factory_1());
2247
+ tmp_17.jd8_1 = Instance(di, tmp$ret$18, null).q67(this, toClientEventsObserver$factory_1());
2068
2248
  }
2069
- protoOf(ServerGameStoreContract).d97 = function () {
2070
- return plus(plus(plus(plus(plus(this.qd5_1.d97(), this.rd5_1.d97()), this.sd5_1.d97()), this.td5_1.d97()), this.ud5_1.d97()), listOf(serverConfigReducer()));
2249
+ protoOf(ServerGameStoreContract).t97 = function () {
2250
+ return plus(plus(plus(plus(plus(this.vd7_1.t97(), this.wd7_1.t97()), this.xd7_1.t97()), this.yd7_1.t97()), this.zd7_1.t97()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
2071
2251
  };
2072
- protoOf(ServerGameStoreContract).e97 = function () {
2073
- var tmp = plus(plus(plus(plus(plus(plus(plus(this.qd5_1.e97(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.rd5_1.e97()), this.sd5_1.e97()), this.td5_1.e97()), this.ud5_1.e97()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([serverSendEventsToClientsMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc(this))).w98(), finishingGameWhenCantStartNewMiddleware()]));
2252
+ protoOf(ServerGameStoreContract).u97 = function () {
2253
+ var tmp = plus(plus(plus(plus(plus(plus(plus(this.vd7_1.u97(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.wd7_1.u97()), this.xd7_1.u97()), this.yd7_1.u97()), this.zd7_1.u97()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([serverSendEventsToClientsMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc(this))).m99(), finishingGameWhenCantStartNewMiddleware()]));
2074
2254
  var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
2075
2255
  var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
2076
2256
  var tmp1_logger = _get_logger__rkp4sl_0(this);
2077
2257
  var tmp2_asyncProvider = _get_asyncProvider__jbpyhw(this);
2078
2258
  var tmp_1 = playerTurnTimeoutWhenHostMiddleware(tmp0_serverConfig, tmp2_asyncProvider, tmp1_logger);
2079
- var tmp_2 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOf(_get_toClientEventsObserver__6rp51y_0(this)));
2259
+ var tmp_2 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOf_0(_get_toClientEventsObserver__6rp51y_0(this)));
2080
2260
  var tmp_3;
2081
2261
  if (_get_botConfig__cpaxzc(this).autoStepLastCard) {
2082
2262
  var tmp_4 = _get_lastCardInteractor__h6lq3w(this);
@@ -2192,33 +2372,33 @@
2192
2372
  }
2193
2373
  function _no_name_provided__qut3iv() {
2194
2374
  }
2195
- protoOf(_no_name_provided__qut3iv).h6n = function (action) {
2375
+ protoOf(_no_name_provided__qut3iv).j6n = function (action) {
2196
2376
  return action instanceof RoundEndedAction;
2197
2377
  };
2198
- protoOf(_no_name_provided__qut3iv).y6o = function (store, next, action) {
2378
+ protoOf(_no_name_provided__qut3iv).a6p = function (store, next, action) {
2199
2379
  // Inline function 'games.jass.logic.server.redux.middlewares.finishingGameWhenCantStartNewMiddleware.<anonymous>' call
2200
2380
  var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
2201
2381
  next(action_0);
2202
2382
  var state = store.state;
2203
- if (!get_serverState(state).nd2_1.od2_1 && action_0.isGameFinished) {
2204
- store.dispatch(Companion_instance.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.i6v_1));
2383
+ if (!get_serverState(state).od4_1.pd4_1 && action_0.isGameFinished) {
2384
+ store.dispatch(Companion_instance.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.k6v_1));
2205
2385
  }
2206
2386
  };
2207
- protoOf(_no_name_provided__qut3iv).g6n = function (store, next, action) {
2208
- return this.y6o(store, next, action);
2387
+ protoOf(_no_name_provided__qut3iv).i6n = function (store, next, action) {
2388
+ return this.a6p(store, next, action);
2209
2389
  };
2210
2390
  function ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda($$this$with) {
2211
2391
  return function () {
2212
- return $$this$with.k6w().playersConnections;
2392
+ return $$this$with.m6w().playersConnections;
2213
2393
  };
2214
2394
  }
2215
2395
  function _no_name_provided__qut3iv_0(this$0) {
2216
- this.hd6_1 = this$0;
2396
+ this.md8_1 = this$0;
2217
2397
  }
2218
- protoOf(_no_name_provided__qut3iv_0).h6n = function (action) {
2398
+ protoOf(_no_name_provided__qut3iv_0).j6n = function (action) {
2219
2399
  return action instanceof MechanicAction;
2220
2400
  };
2221
- protoOf(_no_name_provided__qut3iv_0).y6o = function (store, next, action) {
2401
+ protoOf(_no_name_provided__qut3iv_0).a6p = function (store, next, action) {
2222
2402
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>' call
2223
2403
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
2224
2404
  var state = store.state;
@@ -2228,18 +2408,18 @@
2228
2408
  var tmp;
2229
2409
  if (action_0 instanceof StartGameMechanicAction) {
2230
2410
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
2231
- var this_0 = this.hd6_1;
2232
- var tableId = action_0.p83_1;
2233
- var gameCreatorPlayerId = action_0.r83_1;
2411
+ var this_0 = this.md8_1;
2412
+ var tableId = action_0.x83_1;
2413
+ var gameCreatorPlayerId = action_0.z83_1;
2234
2414
  // Inline function 'kotlin.collections.map' call
2235
- var this_1 = action_0.s83_1;
2415
+ var this_1 = action_0.a84_1;
2236
2416
  // Inline function 'kotlin.collections.mapTo' call
2237
2417
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
2238
2418
  var tmp0_iterator = this_1.j();
2239
2419
  while (tmp0_iterator.k()) {
2240
2420
  var item = tmp0_iterator.l();
2241
2421
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2242
- var tmp$ret$0 = to(item.v6d_1, PlayerConnectionState_LIVE_getInstance());
2422
+ var tmp$ret$0 = to(item.w6d_1, PlayerConnectionState_LIVE_getInstance());
2243
2423
  destination.e(tmp$ret$0);
2244
2424
  }
2245
2425
  // Inline function 'kotlin.collections.mapNotNull' call
@@ -2273,7 +2453,7 @@
2273
2453
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
2274
2454
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
2275
2455
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2276
- var tmp0_aid = this_0.gd6_1.g6l();
2456
+ var tmp0_aid = this_0.ld8_1.i6l();
2277
2457
  // Inline function 'kotlin.collections.map' call
2278
2458
  // Inline function 'kotlin.collections.mapTo' call
2279
2459
  var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
@@ -2298,17 +2478,17 @@
2298
2478
  } else {
2299
2479
  if (action_0 instanceof StartNewGameMechanicAction) {
2300
2480
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2301
- var this_2 = this.hd6_1;
2302
- var table = state.k6w();
2481
+ var this_2 = this.md8_1;
2482
+ var table = state.m6w();
2303
2483
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2304
- var sendToPlayer_0 = new RoomActionPayload(this_2.gd6_1.g6l(), table.id, null);
2484
+ var sendToPlayer_0 = new RoomActionPayload(this_2.ld8_1.i6l(), table.id, null);
2305
2485
  var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
2306
2486
  tmp = listOfNotNull(tmp$ret$18);
2307
2487
  } else {
2308
2488
  if (action_0 instanceof ContinueGameMechanicAction) {
2309
2489
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
2310
- var this_3 = this.hd6_1;
2311
- var tableId_0 = action_0.v83_1.id;
2490
+ var this_3 = this.md8_1;
2491
+ var tableId_0 = action_0.d84_1.id;
2312
2492
  var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
2313
2493
  var players = getPlayers();
2314
2494
  // Inline function 'kotlin.collections.mapNotNull' call
@@ -2342,7 +2522,7 @@
2342
2522
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
2343
2523
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
2344
2524
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2345
- var tmp0_aid_0 = this_3.gd6_1.g6l();
2525
+ var tmp0_aid_0 = this_3.ld8_1.i6l();
2346
2526
  // Inline function 'kotlin.collections.map' call
2347
2527
  // Inline function 'kotlin.collections.mapTo' call
2348
2528
  var destination_7 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players, 10));
@@ -2367,44 +2547,44 @@
2367
2547
  } else {
2368
2548
  if (action_0 instanceof FinishingGameMechanicAction) {
2369
2549
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2370
- var this_4 = this.hd6_1;
2371
- var table_0 = state.k6w();
2550
+ var this_4 = this.md8_1;
2551
+ var table_0 = state.m6w();
2372
2552
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2373
- var sendToPlayer_2 = new RoomActionPayload(this_4.gd6_1.g6l(), table_0.id, null);
2553
+ var sendToPlayer_2 = new RoomActionPayload(this_4.ld8_1.i6l(), table_0.id, null);
2374
2554
  var tmp$ret$35 = mapToClient_14(action_0, sendToPlayer_2);
2375
2555
  tmp = listOfNotNull(tmp$ret$35);
2376
2556
  } else {
2377
2557
  if (action_0 instanceof FinishGameMechanicAction) {
2378
2558
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2379
- var this_5 = this.hd6_1;
2380
- var table_1 = state.k6w();
2559
+ var this_5 = this.md8_1;
2560
+ var table_1 = state.m6w();
2381
2561
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2382
- var sendToPlayer_3 = new RoomActionPayload(this_5.gd6_1.g6l(), table_1.id, null);
2562
+ var sendToPlayer_3 = new RoomActionPayload(this_5.ld8_1.i6l(), table_1.id, null);
2383
2563
  var tmp$ret$37 = mapToClient_13(action_0, sendToPlayer_3);
2384
2564
  tmp = listOfNotNull(tmp$ret$37);
2385
2565
  } else {
2386
2566
  if (action_0 instanceof RestartGameMechanicAction) {
2387
2567
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2388
- var this_6 = this.hd6_1;
2389
- var table_2 = state.k6w();
2568
+ var this_6 = this.md8_1;
2569
+ var table_2 = state.m6w();
2390
2570
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2391
- var sendToPlayer_4 = new RoomActionPayload(this_6.gd6_1.g6l(), table_2.id, null);
2571
+ var sendToPlayer_4 = new RoomActionPayload(this_6.ld8_1.i6l(), table_2.id, null);
2392
2572
  var tmp$ret$39 = mapToClient_12(action_0, sendToPlayer_4);
2393
2573
  tmp = listOfNotNull(tmp$ret$39);
2394
2574
  } else {
2395
2575
  if (action_0 instanceof ErrorAction) {
2396
2576
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2397
- var this_7 = this.hd6_1;
2398
- var table_3 = state.k6w();
2577
+ var this_7 = this.md8_1;
2578
+ var table_3 = state.m6w();
2399
2579
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2400
- var sendToPlayer_5 = new RoomActionPayload(this_7.gd6_1.g6l(), table_3.id, null);
2580
+ var sendToPlayer_5 = new RoomActionPayload(this_7.ld8_1.i6l(), table_3.id, null);
2401
2581
  var tmp$ret$41 = mapToClient_11(action_0, sendToPlayer_5);
2402
2582
  tmp = listOfNotNull(tmp$ret$41);
2403
2583
  } else {
2404
2584
  if (action_0 instanceof SceneMechanicAction) {
2405
2585
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
2406
- var this_8 = this.hd6_1;
2407
- var table_4 = state.k6w();
2586
+ var this_8 = this.md8_1;
2587
+ var table_4 = state.m6w();
2408
2588
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
2409
2589
  var tableId_1 = table_4.id;
2410
2590
  var gameCreatorPlayerId_1 = getGameCreator(table_4.players).playerId;
@@ -2440,7 +2620,7 @@
2440
2620
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
2441
2621
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
2442
2622
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2443
- var tmp0_aid_1 = this_8.gd6_1.g6l();
2623
+ var tmp0_aid_1 = this_8.ld8_1.i6l();
2444
2624
  // Inline function 'kotlin.collections.map' call
2445
2625
  // Inline function 'kotlin.collections.mapTo' call
2446
2626
  var destination_11 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_0, 10));
@@ -2465,8 +2645,8 @@
2465
2645
  } else {
2466
2646
  if (action_0 instanceof SceneActMechanicAction) {
2467
2647
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
2468
- var this_9 = this.hd6_1;
2469
- var table_5 = state.k6w();
2648
+ var this_9 = this.md8_1;
2649
+ var table_5 = state.m6w();
2470
2650
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
2471
2651
  var tableId_2 = table_5.id;
2472
2652
  var gameCreatorPlayerId_2 = getGameCreator(table_5.players).playerId;
@@ -2502,7 +2682,7 @@
2502
2682
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
2503
2683
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
2504
2684
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2505
- var tmp0_aid_2 = this_9.gd6_1.g6l();
2685
+ var tmp0_aid_2 = this_9.ld8_1.i6l();
2506
2686
  // Inline function 'kotlin.collections.map' call
2507
2687
  // Inline function 'kotlin.collections.mapTo' call
2508
2688
  var destination_15 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_1, 10));
@@ -2527,8 +2707,8 @@
2527
2707
  } else {
2528
2708
  if (action_0 instanceof TeamsDataMechanicAction) {
2529
2709
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
2530
- var this_10 = this.hd6_1;
2531
- var table_6 = state.k6w();
2710
+ var this_10 = this.md8_1;
2711
+ var table_6 = state.m6w();
2532
2712
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
2533
2713
  var tableId_3 = table_6.id;
2534
2714
  var gameCreatorPlayerId_3 = getGameCreator(table_6.players).playerId;
@@ -2564,7 +2744,7 @@
2564
2744
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
2565
2745
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
2566
2746
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2567
- var tmp0_aid_3 = this_10.gd6_1.g6l();
2747
+ var tmp0_aid_3 = this_10.ld8_1.i6l();
2568
2748
  // Inline function 'kotlin.collections.map' call
2569
2749
  // Inline function 'kotlin.collections.mapTo' call
2570
2750
  var destination_19 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_2, 10));
@@ -2577,7 +2757,7 @@
2577
2757
  }
2578
2758
  var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_19);
2579
2759
  var tmp_0;
2580
- if (this.hd6_1.fd6_1.supportBackwardActions && getPlayer(state.k6w().players, sendToPlayer_8.u7i_1).o72_1.t72_1) {
2760
+ if (this.md8_1.kd8_1.supportBackwardActions && getPlayer(state.m6w().players, sendToPlayer_8.c7j_1).r72_1.w72_1) {
2581
2761
  tmp_0 = null;
2582
2762
  } else {
2583
2763
  tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
@@ -2595,79 +2775,79 @@
2595
2775
  } else {
2596
2776
  if (action_0 instanceof PlayerReadyMechanicAction) {
2597
2777
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2598
- var this_11 = this.hd6_1;
2599
- var table_7 = state.k6w();
2600
- var exceptPlayerId = this.hd6_1.fd6_1.supportBackwardActions ? action_0.s84_1 : null;
2778
+ var this_11 = this.md8_1;
2779
+ var table_7 = state.m6w();
2780
+ var exceptPlayerId = this.md8_1.kd8_1.supportBackwardActions ? action_0.a85_1 : null;
2601
2781
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2602
- var sendToPlayer_9 = new RoomActionPayload(this_11.gd6_1.g6l(), table_7.id, exceptPlayerId);
2782
+ var sendToPlayer_9 = new RoomActionPayload(this_11.ld8_1.i6l(), table_7.id, exceptPlayerId);
2603
2783
  var tmp$ret$91 = mapToClient_7(action_0, sendToPlayer_9);
2604
2784
  tmp = listOfNotNull(tmp$ret$91);
2605
2785
  } else {
2606
2786
  if (action_0 instanceof SuitChoiceMechanicAction) {
2607
2787
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2608
- var this_12 = this.hd6_1;
2609
- var table_8 = state.k6w();
2610
- var exceptPlayerId_0 = this.hd6_1.fd6_1.supportBackwardActions ? action_0.w84_1 : null;
2788
+ var this_12 = this.md8_1;
2789
+ var table_8 = state.m6w();
2790
+ var exceptPlayerId_0 = this.md8_1.kd8_1.supportBackwardActions ? action_0.e85_1 : null;
2611
2791
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2612
- var sendToPlayer_10 = new RoomActionPayload(this_12.gd6_1.g6l(), table_8.id, exceptPlayerId_0);
2792
+ var sendToPlayer_10 = new RoomActionPayload(this_12.ld8_1.i6l(), table_8.id, exceptPlayerId_0);
2613
2793
  var tmp$ret$93 = mapToClient_6(action_0, sendToPlayer_10);
2614
2794
  tmp = listOfNotNull(tmp$ret$93);
2615
2795
  } else {
2616
2796
  if (action_0 instanceof TrumpMechanicAction) {
2617
2797
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2618
- var this_13 = this.hd6_1;
2619
- var table_9 = state.k6w();
2798
+ var this_13 = this.md8_1;
2799
+ var table_9 = state.m6w();
2620
2800
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2621
- var sendToPlayer_11 = new RoomActionPayload(this_13.gd6_1.g6l(), table_9.id, null);
2801
+ var sendToPlayer_11 = new RoomActionPayload(this_13.ld8_1.i6l(), table_9.id, null);
2622
2802
  var tmp$ret$95 = mapToClient_5(action_0, sendToPlayer_11);
2623
2803
  tmp = listOfNotNull(tmp$ret$95);
2624
2804
  } else {
2625
2805
  if (action_0 instanceof CombinationChoiceMechanicAction) {
2626
2806
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2627
- var this_14 = this.hd6_1;
2628
- var table_10 = state.k6w();
2629
- var exceptPlayerId_1 = this.hd6_1.fd6_1.supportBackwardActions ? action_0.d85_1 : null;
2807
+ var this_14 = this.md8_1;
2808
+ var table_10 = state.m6w();
2809
+ var exceptPlayerId_1 = this.md8_1.kd8_1.supportBackwardActions ? action_0.l85_1 : null;
2630
2810
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2631
- var sendToPlayer_12 = new RoomActionPayload(this_14.gd6_1.g6l(), table_10.id, exceptPlayerId_1);
2811
+ var sendToPlayer_12 = new RoomActionPayload(this_14.ld8_1.i6l(), table_10.id, exceptPlayerId_1);
2632
2812
  var tmp$ret$97 = mapToClient_4(action_0, sendToPlayer_12);
2633
2813
  tmp = listOfNotNull(tmp$ret$97);
2634
2814
  } else {
2635
2815
  if (action_0 instanceof PutCardMechanicAction) {
2636
2816
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2637
- var this_15 = this.hd6_1;
2638
- var table_11 = state.k6w();
2639
- var exceptPlayerId_2 = this.hd6_1.fd6_1.supportBackwardActions ? action_0.h85_1 : null;
2817
+ var this_15 = this.md8_1;
2818
+ var table_11 = state.m6w();
2819
+ var exceptPlayerId_2 = this.md8_1.kd8_1.supportBackwardActions ? action_0.p85_1 : null;
2640
2820
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2641
- var sendToPlayer_13 = new RoomActionPayload(this_15.gd6_1.g6l(), table_11.id, exceptPlayerId_2);
2821
+ var sendToPlayer_13 = new RoomActionPayload(this_15.ld8_1.i6l(), table_11.id, exceptPlayerId_2);
2642
2822
  var tmp$ret$99 = mapToClient_3(action_0, sendToPlayer_13);
2643
2823
  tmp = listOfNotNull(tmp$ret$99);
2644
2824
  } else {
2645
2825
  if (action_0 instanceof PickUpBribeMechanicAction) {
2646
2826
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2647
- var this_16 = this.hd6_1;
2648
- var table_12 = state.k6w();
2827
+ var this_16 = this.md8_1;
2828
+ var table_12 = state.m6w();
2649
2829
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2650
- var sendToPlayer_14 = new RoomActionPayload(this_16.gd6_1.g6l(), table_12.id, null);
2830
+ var sendToPlayer_14 = new RoomActionPayload(this_16.ld8_1.i6l(), table_12.id, null);
2651
2831
  var tmp$ret$101 = mapToClient_2(action_0, sendToPlayer_14);
2652
2832
  tmp = listOfNotNull(tmp$ret$101);
2653
2833
  } else {
2654
2834
  if (action_0 instanceof WinnerCombinationsMechanicAction) {
2655
2835
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2656
- var this_17 = this.hd6_1;
2657
- var table_13 = state.k6w();
2836
+ var this_17 = this.md8_1;
2837
+ var table_13 = state.m6w();
2658
2838
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2659
- var sendToPlayer_15 = new RoomActionPayload(this_17.gd6_1.g6l(), table_13.id, null);
2839
+ var sendToPlayer_15 = new RoomActionPayload(this_17.ld8_1.i6l(), table_13.id, null);
2660
2840
  var tmp$ret$103 = mapToClient_1(action_0, sendToPlayer_15);
2661
2841
  tmp = listOfNotNull(tmp$ret$103);
2662
2842
  } else {
2663
2843
  if (action_0 instanceof MessageMechanicAction) {
2664
- var message = action_0.p85_1;
2844
+ var message = action_0.x85_1;
2665
2845
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2666
- var this_18 = this.hd6_1;
2667
- var table_14 = state.k6w();
2846
+ var this_18 = this.md8_1;
2847
+ var table_14 = state.m6w();
2668
2848
  var tmp_1;
2669
2849
  var tmp_2;
2670
- if (this.hd6_1.fd6_1.supportBackwardActions) {
2850
+ if (this.md8_1.kd8_1.supportBackwardActions) {
2671
2851
  tmp_2 = isInterface(message, UserMessage);
2672
2852
  } else {
2673
2853
  tmp_2 = false;
@@ -2679,17 +2859,17 @@
2679
2859
  }
2680
2860
  var exceptPlayerId_3 = tmp_1;
2681
2861
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2682
- var sendToPlayer_16 = new RoomActionPayload(this_18.gd6_1.g6l(), table_14.id, exceptPlayerId_3);
2862
+ var sendToPlayer_16 = new RoomActionPayload(this_18.ld8_1.i6l(), table_14.id, exceptPlayerId_3);
2683
2863
  var tmp$ret$105 = mapToClient_0(action_0, sendToPlayer_16);
2684
2864
  tmp = listOfNotNull(tmp$ret$105);
2685
2865
  } else {
2686
2866
  if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
2687
2867
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2688
- var this_19 = this.hd6_1;
2689
- var table_15 = state.k6w();
2868
+ var this_19 = this.md8_1;
2869
+ var table_15 = state.m6w();
2690
2870
  var exceptPlayerId_4 = action_0.playerId;
2691
2871
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2692
- var sendToPlayer_17 = new RoomActionPayload(this_19.gd6_1.g6l(), table_15.id, exceptPlayerId_4);
2872
+ var sendToPlayer_17 = new RoomActionPayload(this_19.ld8_1.i6l(), table_15.id, exceptPlayerId_4);
2693
2873
  var tmp$ret$107 = mapToClient(action_0, sendToPlayer_17);
2694
2874
  tmp = listOfNotNull(tmp$ret$107);
2695
2875
  } else {
@@ -2723,14 +2903,14 @@
2723
2903
  }
2724
2904
  next(action_0);
2725
2905
  };
2726
- protoOf(_no_name_provided__qut3iv_0).g6n = function (store, next, action) {
2727
- return this.y6o(store, next, action);
2906
+ protoOf(_no_name_provided__qut3iv_0).i6n = function (store, next, action) {
2907
+ return this.a6p(store, next, action);
2728
2908
  };
2729
2909
  function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
2730
- this.fd6_1 = logicConfig;
2731
- this.gd6_1 = idsProvider;
2910
+ this.kd8_1 = logicConfig;
2911
+ this.ld8_1 = idsProvider;
2732
2912
  }
2733
- protoOf(ServerMapMechanicToClientActionMiddleware).w98 = function () {
2913
+ protoOf(ServerMapMechanicToClientActionMiddleware).m99 = function () {
2734
2914
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
2735
2915
  return new _no_name_provided__qut3iv_0(this);
2736
2916
  };
@@ -2739,8 +2919,8 @@
2739
2919
  return new _no_name_provided__qut3iv_1(asyncProvider, provider);
2740
2920
  }
2741
2921
  function serverSendEventsToClientsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
2742
- this.qd6_1 = $provider;
2743
- this.rd6_1 = $action;
2922
+ this.vd8_1 = $provider;
2923
+ this.wd8_1 = $action;
2744
2924
  CoroutineImpl.call(this, resultContinuation);
2745
2925
  }
2746
2926
  protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).h1f = function ($this$launchDefault, $completion) {
@@ -2761,7 +2941,7 @@
2761
2941
  case 0:
2762
2942
  this.i9_1 = 2;
2763
2943
  this.h9_1 = 1;
2764
- suspendResult = this.qd6_1.dd3(this.rd6_1, this);
2944
+ suspendResult = this.vd8_1.gd5(this.wd8_1, this);
2765
2945
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2766
2946
  return suspendResult;
2767
2947
  }
@@ -2784,8 +2964,8 @@
2784
2964
  while (true);
2785
2965
  };
2786
2966
  protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).i1f = function ($this$launchDefault, completion) {
2787
- var i = new serverSendEventsToClientsMiddleware$o$handle$slambda(this.qd6_1, this.rd6_1, completion);
2788
- i.sd6_1 = $this$launchDefault;
2967
+ var i = new serverSendEventsToClientsMiddleware$o$handle$slambda(this.vd8_1, this.wd8_1, completion);
2968
+ i.xd8_1 = $this$launchDefault;
2789
2969
  return i;
2790
2970
  };
2791
2971
  function serverSendEventsToClientsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
@@ -2797,20 +2977,20 @@
2797
2977
  return l;
2798
2978
  }
2799
2979
  function _no_name_provided__qut3iv_1($asyncProvider, $provider) {
2800
- this.td6_1 = $asyncProvider;
2801
- this.ud6_1 = $provider;
2980
+ this.yd8_1 = $asyncProvider;
2981
+ this.zd8_1 = $provider;
2802
2982
  }
2803
- protoOf(_no_name_provided__qut3iv_1).h6n = function (action) {
2983
+ protoOf(_no_name_provided__qut3iv_1).j6n = function (action) {
2804
2984
  return action instanceof ToClientAction;
2805
2985
  };
2806
- protoOf(_no_name_provided__qut3iv_1).y6o = function (store, next, action) {
2986
+ protoOf(_no_name_provided__qut3iv_1).a6p = function (store, next, action) {
2807
2987
  // Inline function 'games.jass.logic.server.redux.middlewares.client.serverSendEventsToClientsMiddleware.<anonymous>' call
2808
2988
  var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
2809
- this.td6_1.d6k(VOID, serverSendEventsToClientsMiddleware$o$handle$slambda_0(this.ud6_1, action_0, null));
2989
+ this.yd8_1.f6k(VOID, serverSendEventsToClientsMiddleware$o$handle$slambda_0(this.zd8_1, action_0, null));
2810
2990
  next(action_0);
2811
2991
  };
2812
- protoOf(_no_name_provided__qut3iv_1).g6n = function (store, next, action) {
2813
- return this.y6o(store, next, action);
2992
+ protoOf(_no_name_provided__qut3iv_1).i6n = function (store, next, action) {
2993
+ return this.a6p(store, next, action);
2814
2994
  };
2815
2995
  function serverConfigReducer() {
2816
2996
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
@@ -2818,90 +2998,297 @@
2818
2998
  }
2819
2999
  function _no_name_provided__qut3iv_2() {
2820
3000
  }
2821
- protoOf(_no_name_provided__qut3iv_2).h6n = function (action) {
3001
+ protoOf(_no_name_provided__qut3iv_2).j6n = function (action) {
2822
3002
  return action instanceof UpdateServerConfigAction;
2823
3003
  };
2824
- protoOf(_no_name_provided__qut3iv_2).c9g = function (state, action) {
3004
+ protoOf(_no_name_provided__qut3iv_2).t9g = function (state, action) {
2825
3005
  // Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
2826
3006
  var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
2827
- return state.m94(VOID, get_serverState(state).vd6(action_0.pd5_1));
3007
+ return state.z94(VOID, get_serverState(state).ad9(action_0.sd7_1));
2828
3008
  };
2829
- protoOf(_no_name_provided__qut3iv_2).z6o = function (state, action) {
2830
- return this.c9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
3009
+ protoOf(_no_name_provided__qut3iv_2).b6p = function (state, action) {
3010
+ return this.t9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
2831
3011
  };
2832
3012
  function ServerMechanicLifecycleReducer$onStart$lambda($action) {
2833
3013
  return function (it) {
2834
3014
  var tmp = Companion_instance_0;
2835
3015
  var tmp_0;
2836
3016
  if (it.isBot) {
2837
- tmp_0 = Companion_instance_1.v6e(PlayerConnectionState_LEFT_getInstance());
3017
+ tmp_0 = Companion_instance_1.w6e(PlayerConnectionState_LEFT_getInstance());
2838
3018
  } else {
2839
3019
  var tmp_1 = Companion_instance_1;
2840
3020
  var tmp_2 = PlayerConnectionState_LIVE_getInstance();
2841
3021
  // Inline function 'kotlin.time.Companion.milliseconds' call
2842
3022
  Companion_getInstance();
2843
- var this_0 = $action.o83_1.timeoutTimeMillis;
3023
+ var this_0 = $action.w83_1.timeoutTimeMillis;
2844
3024
  var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
2845
- tmp_0 = tmp_1.u6e(tmp_2, tmp$ret$0);
3025
+ tmp_0 = tmp_1.v6e(tmp_2, tmp$ret$0);
2846
3026
  }
2847
- return tmp.c6g(tmp_0);
3027
+ return tmp.d6g(tmp_0);
2848
3028
  };
2849
3029
  }
2850
3030
  function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
2851
3031
  BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
2852
- this.yd6_1 = logger;
2853
- }
2854
- protoOf(ServerMechanicLifecycleReducer).o9h = function (state, action) {
2855
- var serverState = get_serverStateOrNull(state.j6v_1);
2856
- var tmp7_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
2857
- var tmp0_$this = this.p9h_1;
2858
- var tmp1_tableId = action.p83_1;
2859
- var tmp2_gameId = action.p83_1;
2860
- var tmp3_version = action.q83_1;
2861
- var tmp4_config = action.o83_1;
2862
- var tmp5_users = action.s83_1;
2863
- var tmp6_gameCreatorPlayerId = action.r83_1;
2864
- var tmp8_tableOrNull = tmp0_$this.v9i(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
3032
+ this.dd9_1 = logger;
3033
+ }
3034
+ protoOf(ServerMechanicLifecycleReducer).f9i = function (state, action) {
3035
+ var serverState = get_serverStateOrNull(state.l6v_1);
3036
+ var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
3037
+ var tmp0_$this = this.g9i_1;
3038
+ var tmp1_tableId = action.x83_1;
3039
+ var tmp2_gameId = action.x83_1;
3040
+ var tmp3_version = action.y83_1;
3041
+ var tmp4_config = action.w83_1;
3042
+ var tmp5_users = action.a84_1;
3043
+ var tmp6_spectators = action.spectators;
3044
+ var tmp7_gameCreatorPlayerId = action.z83_1;
3045
+ var tmp9_tableOrNull = tmp0_$this.m9j(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
2865
3046
  var tmp;
2866
3047
  if (serverState == null) {
2867
- this.yd6_1.w(VOID, 'ServerPayload is not onStart');
2868
- tmp = Companion_instance_9.cd3();
3048
+ this.dd9_1.w(VOID, 'ServerPayload is not onStart');
3049
+ tmp = Companion_instance_9.dd5();
2869
3050
  } else {
2870
3051
  tmp = serverState;
2871
3052
  }
2872
- var tmp9_payload = tmp;
2873
- return state.m94(tmp8_tableOrNull, tmp9_payload, tmp7_gameLifecycleState);
3053
+ var tmp10_payload = tmp;
3054
+ return state.z94(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
2874
3055
  };
2875
- protoOf(ServerMechanicLifecycleReducer).n9h = function (state, action) {
2876
- this.q9h_1.c5v(action.previousGameId);
3056
+ protoOf(ServerMechanicLifecycleReducer).e9i = function (state, action) {
3057
+ this.h9i_1.d5v(action.previousGameId);
2877
3058
  var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
2878
- var tmp1_tableOrNull = this.p9h_1.x9i(state.k6w(), action.gameId);
2879
- return state.m94(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
3059
+ var tmp1_tableOrNull = this.g9i_1.n9j(state.m6w(), action.gameId);
3060
+ return state.z94(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
3061
+ };
3062
+ function spectatorsReducer(logger) {
3063
+ // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
3064
+ return new _no_name_provided__qut3iv_3(logger);
3065
+ }
3066
+ function _no_name_provided__qut3iv_3($logger) {
3067
+ this.ed9_1 = $logger;
3068
+ }
3069
+ protoOf(_no_name_provided__qut3iv_3).j6n = function (action) {
3070
+ return isInterface(action, SpectatorsAction);
3071
+ };
3072
+ protoOf(_no_name_provided__qut3iv_3).t9g = function (state, action) {
3073
+ // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
3074
+ var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
3075
+ var table = state.m6w();
3076
+ var tmp;
3077
+ if (action_0 instanceof AddSpectatorsAction) {
3078
+ // Inline function 'kotlin.collections.mapNotNull' call
3079
+ // Inline function 'kotlin.collections.mapNotNullTo' call
3080
+ var this_0 = action_0.td7_1;
3081
+ var destination = ArrayList_init_$Create$();
3082
+ // Inline function 'kotlin.collections.forEach' call
3083
+ var tmp0_iterator = this_0.j();
3084
+ while (tmp0_iterator.k()) {
3085
+ var element = tmp0_iterator.l();
3086
+ // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
3087
+ // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
3088
+ var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.w6d_1));
3089
+ if (tmp0_safe_receiver == null)
3090
+ null;
3091
+ else {
3092
+ // Inline function 'kotlin.let' call
3093
+ // Inline function 'kotlin.contracts.contract' call
3094
+ destination.e(tmp0_safe_receiver);
3095
+ }
3096
+ }
3097
+ var sameSpectators = destination;
3098
+ // Inline function 'kotlin.collections.map' call
3099
+ var tmp_0;
3100
+ // Inline function 'kotlin.collections.isNotEmpty' call
3101
+ if (!sameSpectators.p()) {
3102
+ this.ed9_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
3103
+ // Inline function 'kotlin.collections.filterNot' call
3104
+ // Inline function 'kotlin.collections.filterNotTo' call
3105
+ var this_1 = action_0.td7_1;
3106
+ var destination_0 = ArrayList_init_$Create$();
3107
+ var tmp0_iterator_0 = this_1.j();
3108
+ while (tmp0_iterator_0.k()) {
3109
+ var element_0 = tmp0_iterator_0.l();
3110
+ // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
3111
+ var tmp$ret$5;
3112
+ $l$block_0: {
3113
+ // Inline function 'kotlin.collections.any' call
3114
+ var tmp_1;
3115
+ if (isInterface(sameSpectators, Collection)) {
3116
+ tmp_1 = sameSpectators.p();
3117
+ } else {
3118
+ tmp_1 = false;
3119
+ }
3120
+ if (tmp_1) {
3121
+ tmp$ret$5 = false;
3122
+ break $l$block_0;
3123
+ }
3124
+ var tmp0_iterator_1 = sameSpectators.j();
3125
+ while (tmp0_iterator_1.k()) {
3126
+ var element_1 = tmp0_iterator_1.l();
3127
+ // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
3128
+ if (element_0.w6d_1 === element_1.playerId) {
3129
+ tmp$ret$5 = true;
3130
+ break $l$block_0;
3131
+ }
3132
+ }
3133
+ tmp$ret$5 = false;
3134
+ }
3135
+ if (!tmp$ret$5) {
3136
+ destination_0.e(element_0);
3137
+ }
3138
+ }
3139
+ tmp_0 = destination_0;
3140
+ } else {
3141
+ tmp_0 = action_0.td7_1;
3142
+ }
3143
+ var this_2 = tmp_0;
3144
+ // Inline function 'kotlin.collections.mapTo' call
3145
+ var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
3146
+ var tmp0_iterator_2 = this_2.j();
3147
+ while (tmp0_iterator_2.k()) {
3148
+ var item = tmp0_iterator_2.l();
3149
+ // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
3150
+ var tmp$ret$10 = new Spectator(item);
3151
+ destination_1.e(tmp$ret$10);
3152
+ }
3153
+ var spectatorsToAdd = toSet(destination_1);
3154
+ tmp = state.z94(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
3155
+ } else {
3156
+ if (action_0 instanceof RemoveSpectatorsAction) {
3157
+ // Inline function 'kotlin.collections.mapNotNull' call
3158
+ // Inline function 'kotlin.collections.mapNotNullTo' call
3159
+ var this_3 = action_0.ud7_1;
3160
+ var destination_2 = ArrayList_init_$Create$();
3161
+ // Inline function 'kotlin.collections.forEach' call
3162
+ var tmp0_iterator_3 = this_3.j();
3163
+ while (tmp0_iterator_3.k()) {
3164
+ var element_2 = tmp0_iterator_3.l();
3165
+ // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
3166
+ // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
3167
+ var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.w6d_1));
3168
+ if (tmp0_safe_receiver_0 == null)
3169
+ null;
3170
+ else {
3171
+ // Inline function 'kotlin.let' call
3172
+ // Inline function 'kotlin.contracts.contract' call
3173
+ destination_2.e(tmp0_safe_receiver_0);
3174
+ }
3175
+ }
3176
+ var sameSpectators_0 = destination_2;
3177
+ var tmp_2;
3178
+ // Inline function 'kotlin.collections.isNotEmpty' call
3179
+ if (!sameSpectators_0.p()) {
3180
+ this.ed9_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
3181
+ // Inline function 'kotlin.collections.filterNot' call
3182
+ // Inline function 'kotlin.collections.filterNotTo' call
3183
+ var this_4 = action_0.ud7_1;
3184
+ var destination_3 = ArrayList_init_$Create$();
3185
+ var tmp0_iterator_4 = this_4.j();
3186
+ while (tmp0_iterator_4.k()) {
3187
+ var element_3 = tmp0_iterator_4.l();
3188
+ // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
3189
+ var tmp$ret$18;
3190
+ $l$block_2: {
3191
+ // Inline function 'kotlin.collections.any' call
3192
+ var tmp_3;
3193
+ if (isInterface(sameSpectators_0, Collection)) {
3194
+ tmp_3 = sameSpectators_0.p();
3195
+ } else {
3196
+ tmp_3 = false;
3197
+ }
3198
+ if (tmp_3) {
3199
+ tmp$ret$18 = false;
3200
+ break $l$block_2;
3201
+ }
3202
+ var tmp0_iterator_5 = sameSpectators_0.j();
3203
+ while (tmp0_iterator_5.k()) {
3204
+ var element_4 = tmp0_iterator_5.l();
3205
+ // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
3206
+ if (element_3.w6d_1 === element_4.playerId) {
3207
+ tmp$ret$18 = true;
3208
+ break $l$block_2;
3209
+ }
3210
+ }
3211
+ tmp$ret$18 = false;
3212
+ }
3213
+ if (!tmp$ret$18) {
3214
+ destination_3.e(element_3);
3215
+ }
3216
+ }
3217
+ tmp_2 = destination_3;
3218
+ } else {
3219
+ tmp_2 = action_0.ud7_1;
3220
+ }
3221
+ var spectatorsToRemove = toSet(tmp_2);
3222
+ // Inline function 'kotlin.collections.filterNot' call
3223
+ // Inline function 'kotlin.collections.filterNotTo' call
3224
+ var this_5 = table.spectators;
3225
+ var destination_4 = ArrayList_init_$Create$();
3226
+ var tmp0_iterator_6 = this_5.j();
3227
+ while (tmp0_iterator_6.k()) {
3228
+ var element_5 = tmp0_iterator_6.l();
3229
+ // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
3230
+ var tmp$ret$23;
3231
+ $l$block_4: {
3232
+ // Inline function 'kotlin.collections.any' call
3233
+ var tmp_4;
3234
+ if (isInterface(spectatorsToRemove, Collection)) {
3235
+ tmp_4 = spectatorsToRemove.p();
3236
+ } else {
3237
+ tmp_4 = false;
3238
+ }
3239
+ if (tmp_4) {
3240
+ tmp$ret$23 = false;
3241
+ break $l$block_4;
3242
+ }
3243
+ var tmp0_iterator_7 = spectatorsToRemove.j();
3244
+ while (tmp0_iterator_7.k()) {
3245
+ var element_6 = tmp0_iterator_7.l();
3246
+ // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
3247
+ if (element_5.playerId === element_6.w6d_1) {
3248
+ tmp$ret$23 = true;
3249
+ break $l$block_4;
3250
+ }
3251
+ }
3252
+ tmp$ret$23 = false;
3253
+ }
3254
+ if (!tmp$ret$23) {
3255
+ destination_4.e(element_5);
3256
+ }
3257
+ }
3258
+ tmp = state.z94(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
3259
+ } else {
3260
+ noWhenBranchMatchedException();
3261
+ }
3262
+ }
3263
+ return tmp;
3264
+ };
3265
+ protoOf(_no_name_provided__qut3iv_3).b6p = function (state, action) {
3266
+ return this.t9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
2880
3267
  };
2881
3268
  function Companion_1() {
2882
3269
  }
2883
- protoOf(Companion_1).zd6 = function (config) {
3270
+ protoOf(Companion_1).fd9 = function (config) {
2884
3271
  return new ServerState(config);
2885
3272
  };
2886
- protoOf(Companion_1).cd3 = function (config, $super) {
3273
+ protoOf(Companion_1).dd5 = function (config, $super) {
2887
3274
  config = config === VOID ? new ServerConfig(true) : config;
2888
- return $super === VOID ? this.zd6(config) : $super.zd6.call(this, config);
3275
+ return $super === VOID ? this.fd9(config) : $super.fd9.call(this, config);
2889
3276
  };
2890
3277
  var Companion_instance_9;
2891
3278
  function Companion_getInstance_4() {
2892
3279
  return Companion_instance_9;
2893
3280
  }
2894
3281
  function ServerState(config) {
2895
- this.nd2_1 = config;
3282
+ this.od4_1 = config;
2896
3283
  }
2897
- protoOf(ServerState).vd6 = function (config) {
3284
+ protoOf(ServerState).ad9 = function (config) {
2898
3285
  return new ServerState(config);
2899
3286
  };
2900
3287
  protoOf(ServerState).toString = function () {
2901
- return 'ServerState(config=' + this.nd2_1.toString() + ')';
3288
+ return 'ServerState(config=' + this.od4_1.toString() + ')';
2902
3289
  };
2903
3290
  protoOf(ServerState).hashCode = function () {
2904
- return this.nd2_1.hashCode();
3291
+ return this.od4_1.hashCode();
2905
3292
  };
2906
3293
  protoOf(ServerState).equals = function (other) {
2907
3294
  if (this === other)
@@ -2909,13 +3296,13 @@
2909
3296
  if (!(other instanceof ServerState))
2910
3297
  return false;
2911
3298
  var tmp0_other_with_cast = other instanceof ServerState ? other : THROW_CCE();
2912
- if (!this.nd2_1.equals(tmp0_other_with_cast.nd2_1))
3299
+ if (!this.od4_1.equals(tmp0_other_with_cast.od4_1))
2913
3300
  return false;
2914
3301
  return true;
2915
3302
  };
2916
3303
  function get_serverState(_this__u8e3s4) {
2917
3304
  // Inline function 'kotlin.requireNotNull' call
2918
- var value = _this__u8e3s4.j6v_1;
3305
+ var value = _this__u8e3s4.l6v_1;
2919
3306
  // Inline function 'kotlin.contracts.contract' call
2920
3307
  var tmp$ret$1;
2921
3308
  $l$block: {
@@ -3154,7 +3541,7 @@
3154
3541
  return jsObject;
3155
3542
  }
3156
3543
  function validateTimeoutTime($this, timeoutTime) {
3157
- if (!listOf_0([15, 30, 45]).s1(timeoutTime)) {
3544
+ if (!listOf([15, 30, 45]).s1(timeoutTime)) {
3158
3545
  throw IllegalStateException_init_$Create$("Time out time allowed: 20, 40, 60, but it's " + timeoutTime);
3159
3546
  }
3160
3547
  }
@@ -3221,7 +3608,7 @@
3221
3608
  protoOf(GameHelperImpl).filterLivePlayers = function (store, playerIds) {
3222
3609
  var state = store.state;
3223
3610
  var tmp;
3224
- if (!state.l6w()) {
3611
+ if (!state.n6w()) {
3225
3612
  tmp = true;
3226
3613
  } else {
3227
3614
  // Inline function 'kotlin.collections.isEmpty' call
@@ -3230,7 +3617,7 @@
3230
3617
  if (tmp) {
3231
3618
  return playerIds;
3232
3619
  }
3233
- var players = state.k6w().players;
3620
+ var players = state.m6w().players;
3234
3621
  // Inline function 'kotlin.collections.toTypedArray' call
3235
3622
  // Inline function 'kotlin.collections.map' call
3236
3623
  // Inline function 'kotlin.collections.filter' call
@@ -3252,7 +3639,7 @@
3252
3639
  while (tmp0_iterator.k()) {
3253
3640
  var element = tmp0_iterator.l();
3254
3641
  // Inline function 'GameHelperImpl.filterLivePlayers.<anonymous>' call
3255
- if (element.m72_1.g6g().x6e_1.isLive) {
3642
+ if (element.p72_1.h6g().y6e_1.isLive) {
3256
3643
  destination_0.e(element);
3257
3644
  }
3258
3645
  }
@@ -3270,7 +3657,7 @@
3270
3657
  protoOf(GameHelperImpl).filterLiveDuringGamePlayers = function (store, playerIds) {
3271
3658
  var state = store.state;
3272
3659
  var tmp;
3273
- if (!state.l6w()) {
3660
+ if (!state.n6w()) {
3274
3661
  tmp = true;
3275
3662
  } else {
3276
3663
  // Inline function 'kotlin.collections.isEmpty' call
@@ -3279,7 +3666,7 @@
3279
3666
  if (tmp) {
3280
3667
  return playerIds;
3281
3668
  }
3282
- var players = state.k6w().players;
3669
+ var players = state.m6w().players;
3283
3670
  // Inline function 'kotlin.collections.toTypedArray' call
3284
3671
  // Inline function 'kotlin.collections.map' call
3285
3672
  // Inline function 'kotlin.collections.filter' call
@@ -3301,7 +3688,7 @@
3301
3688
  while (tmp0_iterator.k()) {
3302
3689
  var element = tmp0_iterator.l();
3303
3690
  // Inline function 'GameHelperImpl.filterLiveDuringGamePlayers.<anonymous>' call
3304
- if (element.m72_1.g6g().i6f(state.k6w().gameDuration)) {
3691
+ if (element.p72_1.h6g().j6f(state.m6w().gameDuration)) {
3305
3692
  destination_0.e(element);
3306
3693
  }
3307
3694
  }
@@ -3319,7 +3706,7 @@
3319
3706
  protoOf(GameHelperImpl).filterBotPlayers = function (store, playerIds) {
3320
3707
  var state = store.state;
3321
3708
  var tmp;
3322
- if (!state.l6w()) {
3709
+ if (!state.n6w()) {
3323
3710
  tmp = true;
3324
3711
  } else {
3325
3712
  // Inline function 'kotlin.collections.isEmpty' call
@@ -3328,7 +3715,7 @@
3328
3715
  if (tmp) {
3329
3716
  return playerIds;
3330
3717
  }
3331
- var players = state.k6w().players;
3718
+ var players = state.m6w().players;
3332
3719
  // Inline function 'kotlin.collections.toTypedArray' call
3333
3720
  // Inline function 'kotlin.collections.map' call
3334
3721
  // Inline function 'kotlin.collections.filter' call
@@ -3350,7 +3737,7 @@
3350
3737
  while (tmp0_iterator.k()) {
3351
3738
  var element = tmp0_iterator.l();
3352
3739
  // Inline function 'GameHelperImpl.filterBotPlayers.<anonymous>' call
3353
- if (element.l72_1.isBot) {
3740
+ if (element.o72_1.isBot) {
3354
3741
  destination_0.e(element);
3355
3742
  }
3356
3743
  }
@@ -3368,7 +3755,7 @@
3368
3755
  protoOf(GameHelperImpl).filterRealPlayers = function (store, playerIds) {
3369
3756
  var state = store.state;
3370
3757
  var tmp;
3371
- if (!state.l6w()) {
3758
+ if (!state.n6w()) {
3372
3759
  tmp = true;
3373
3760
  } else {
3374
3761
  // Inline function 'kotlin.collections.isEmpty' call
@@ -3377,7 +3764,7 @@
3377
3764
  if (tmp) {
3378
3765
  return playerIds;
3379
3766
  }
3380
- var players = state.k6w().players;
3767
+ var players = state.m6w().players;
3381
3768
  // Inline function 'kotlin.collections.toTypedArray' call
3382
3769
  // Inline function 'kotlin.collections.map' call
3383
3770
  // Inline function 'kotlin.collections.filter' call
@@ -3399,7 +3786,7 @@
3399
3786
  while (tmp0_iterator.k()) {
3400
3787
  var element = tmp0_iterator.l();
3401
3788
  // Inline function 'GameHelperImpl.filterRealPlayers.<anonymous>' call
3402
- if (!element.l72_1.isBot) {
3789
+ if (!element.o72_1.isBot) {
3403
3790
  destination_0.e(element);
3404
3791
  }
3405
3792
  }
@@ -3416,21 +3803,21 @@
3416
3803
  };
3417
3804
  protoOf(GameHelperImpl).getUserSocketId = function (store, playerId) {
3418
3805
  var state = store.state;
3419
- if (!state.l6w()) {
3806
+ if (!state.n6w()) {
3420
3807
  return null;
3421
3808
  }
3422
- var tmp0_safe_receiver = getUserProfilePayloadOrNull(getPlayer(state.k6w().players, playerId).l72_1);
3809
+ var tmp0_safe_receiver = getUserProfilePayloadOrNull(getPlayer(state.m6w().players, playerId).o72_1);
3423
3810
  return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.socketId;
3424
3811
  };
3425
3812
  protoOf(GameHelperImpl).getUserSocketIds = function (store) {
3426
3813
  var state = store.state;
3427
- if (!state.l6w()) {
3814
+ if (!state.n6w()) {
3428
3815
  return null;
3429
3816
  }
3430
3817
  // Inline function 'kotlin.collections.toTypedArray' call
3431
3818
  // Inline function 'kotlin.collections.mapNotNull' call
3432
3819
  // Inline function 'kotlin.collections.mapNotNullTo' call
3433
- var this_0 = state.k6w().players;
3820
+ var this_0 = state.m6w().players;
3434
3821
  var destination = ArrayList_init_$Create$();
3435
3822
  // Inline function 'kotlin.collections.forEach' call
3436
3823
  var tmp0_iterator = this_0.j();
@@ -3438,7 +3825,7 @@
3438
3825
  var element = tmp0_iterator.l();
3439
3826
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
3440
3827
  // Inline function 'GameHelperImpl.getUserSocketIds.<anonymous>' call
3441
- var tmp0_safe_receiver = getUserProfilePayloadOrNull(element.l72_1);
3828
+ var tmp0_safe_receiver = getUserProfilePayloadOrNull(element.o72_1);
3442
3829
  var tmp0_safe_receiver_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.socketId;
3443
3830
  if (tmp0_safe_receiver_0 == null)
3444
3831
  null;
@@ -3513,28 +3900,28 @@
3513
3900
  var map = mapOfObject(rules);
3514
3901
  var tmp = map.h2('needToPutHigherTrump');
3515
3902
  var tmp0_elvis_lhs = (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : null;
3516
- var tmp29_needToPutHigherTrump = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
3903
+ var tmp31_needToPutHigherTrump = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
3517
3904
  var tmp_0 = map.h2('playerWhoChooseSuitGoFirst');
3518
3905
  var tmp1_elvis_lhs = (!(tmp_0 == null) ? typeof tmp_0 === 'boolean' : false) ? tmp_0 : null;
3519
- var tmp30_playerWhoChooseSuitGoFirst = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
3906
+ var tmp32_playerWhoChooseSuitGoFirst = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
3520
3907
  var tmp_1 = map.h2('winnerShuffleCards');
3521
3908
  var tmp2_elvis_lhs = (!(tmp_1 == null) ? typeof tmp_1 === 'boolean' : false) ? tmp_1 : null;
3522
- var tmp31_winnerShuffleCards = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
3909
+ var tmp33_winnerShuffleCards = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
3523
3910
  var tmp_2 = map.h2('playWithoutLiabilities');
3524
3911
  var tmp3_elvis_lhs = (!(tmp_2 == null) ? typeof tmp_2 === 'boolean' : false) ? tmp_2 : null;
3525
- var tmp32_playWithoutLiabilities = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
3912
+ var tmp34_playWithoutLiabilities = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
3526
3913
  var tmp_3 = map.h2('trumpCardGoToPlayerWhoShuffleCards');
3527
3914
  var tmp4_elvis_lhs = (!(tmp_3 == null) ? typeof tmp_3 === 'boolean' : false) ? tmp_3 : null;
3528
- var tmp33_trumpCardGoToPlayerWhoShuffleCards = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
3915
+ var tmp35_trumpCardGoToPlayerWhoShuffleCards = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
3529
3916
  var tmp_4 = map.h2('dealerCounterClockwise');
3530
3917
  var tmp5_elvis_lhs = (!(tmp_4 == null) ? typeof tmp_4 === 'boolean' : false) ? tmp_4 : null;
3531
- var tmp34_dealerCounterClockwise = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs;
3918
+ var tmp36_dealerCounterClockwise = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs;
3532
3919
  var tmp_5 = map.h2('dealerInitialCardsCount');
3533
3920
  var tmp6_elvis_lhs = (!(tmp_5 == null) ? typeof tmp_5 === 'number' : false) ? tmp_5 : null;
3534
- var tmp35_dealerInitialCardsCount = tmp6_elvis_lhs == null ? 6 : tmp6_elvis_lhs;
3921
+ var tmp37_dealerInitialCardsCount = tmp6_elvis_lhs == null ? 6 : tmp6_elvis_lhs;
3535
3922
  var tmp_6 = map.h2('dealerFinalCardsCount');
3536
3923
  var tmp7_elvis_lhs = (!(tmp_6 == null) ? typeof tmp_6 === 'number' : false) ? tmp_6 : null;
3537
- var tmp36_dealerFinalCardsCount = tmp7_elvis_lhs == null ? 9 : tmp7_elvis_lhs;
3924
+ var tmp38_dealerFinalCardsCount = tmp7_elvis_lhs == null ? 9 : tmp7_elvis_lhs;
3538
3925
  var tmp_7 = map.h2('contractTypes');
3539
3926
  var tmp8_safe_receiver = (!(tmp_7 == null) ? isArray(tmp_7) : false) ? tmp_7 : null;
3540
3927
  var tmp_8;
@@ -3572,7 +3959,7 @@
3572
3959
  } else {
3573
3960
  tmp_10 = tmp10_elvis_lhs;
3574
3961
  }
3575
- var tmp37_contractTypes = tmp_10;
3962
+ var tmp39_contractTypes = tmp_10;
3576
3963
  var tmp_11 = map.h2('bidTypes');
3577
3964
  var tmp11_safe_receiver = (!(tmp_11 == null) ? isArray(tmp_11) : false) ? tmp_11 : null;
3578
3965
  var tmp_12;
@@ -3609,7 +3996,7 @@
3609
3996
  } else {
3610
3997
  tmp_14 = tmp13_elvis_lhs;
3611
3998
  }
3612
- var tmp38_bidTypes = tmp_14;
3999
+ var tmp40_bidTypes = tmp_14;
3613
4000
  var tmp_15 = map.h2('combinationsWithFirstCard');
3614
4001
  var tmp14_safe_receiver = (!(tmp_15 == null) ? isArray(tmp_15) : false) ? tmp_15 : null;
3615
4002
  var tmp_16;
@@ -3647,44 +4034,61 @@
3647
4034
  } else {
3648
4035
  tmp_18 = tmp16_elvis_lhs;
3649
4036
  }
3650
- var tmp39_combinationsWithFirstCard = tmp_18;
4037
+ var tmp41_combinationsWithFirstCard = tmp_18;
3651
4038
  var tmp_19 = map.h2('protectBella');
3652
4039
  var tmp17_elvis_lhs = (!(tmp_19 == null) ? typeof tmp_19 === 'boolean' : false) ? tmp_19 : null;
3653
- var tmp40_protectBella = tmp17_elvis_lhs == null ? false : tmp17_elvis_lhs;
4040
+ var tmp42_protectBella = tmp17_elvis_lhs == null ? false : tmp17_elvis_lhs;
3654
4041
  var tmp_20 = map.h2('oneTryToProtectBella');
3655
4042
  var tmp18_elvis_lhs = (!(tmp_20 == null) ? typeof tmp_20 === 'boolean' : false) ? tmp_20 : null;
3656
- var tmp41_oneTryToProtectBella = tmp18_elvis_lhs == null ? false : tmp18_elvis_lhs;
4043
+ var tmp43_oneTryToProtectBella = tmp18_elvis_lhs == null ? false : tmp18_elvis_lhs;
3657
4044
  var tmp_21 = map.h2('enableFourSevensCombination');
3658
4045
  var tmp19_elvis_lhs = (!(tmp_21 == null) ? typeof tmp_21 === 'boolean' : false) ? tmp_21 : null;
3659
- var tmp42_enableFourSevensCombination = tmp19_elvis_lhs == null ? false : tmp19_elvis_lhs;
4046
+ var tmp44_enableFourSevensCombination = tmp19_elvis_lhs == null ? false : tmp19_elvis_lhs;
3660
4047
  var tmp_22 = map.h2('enableTrumpSevenCombination');
3661
4048
  var tmp20_elvis_lhs = (!(tmp_22 == null) ? typeof tmp_22 === 'boolean' : false) ? tmp_22 : null;
3662
- var tmp43_enableTrumpSevenCombination = tmp20_elvis_lhs == null ? false : tmp20_elvis_lhs;
4049
+ var tmp45_enableTrumpSevenCombination = tmp20_elvis_lhs == null ? false : tmp20_elvis_lhs;
3663
4050
  var tmp_23 = map.h2('enableTrumpSevenCombinationAfterDistribution');
3664
4051
  var tmp21_elvis_lhs = (!(tmp_23 == null) ? typeof tmp_23 === 'boolean' : false) ? tmp_23 : null;
3665
- var tmp44_enableTrumpSevenCombinationAfterDistribution = tmp21_elvis_lhs == null ? false : tmp21_elvis_lhs;
4052
+ var tmp46_enableTrumpSevenCombinationAfterDistribution = tmp21_elvis_lhs == null ? false : tmp21_elvis_lhs;
3666
4053
  var tmp_24 = map.h2('checkTrumpCombination');
3667
4054
  var tmp22_elvis_lhs = (!(tmp_24 == null) ? typeof tmp_24 === 'boolean' : false) ? tmp_24 : null;
3668
- var tmp45_checkTrumpCombination = tmp22_elvis_lhs == null ? false : tmp22_elvis_lhs;
4055
+ var tmp47_checkTrumpCombination = tmp22_elvis_lhs == null ? false : tmp22_elvis_lhs;
3669
4056
  var tmp_25 = map.h2('checkOnlyTrumpDebertz');
3670
4057
  var tmp23_elvis_lhs = (!(tmp_25 == null) ? typeof tmp_25 === 'boolean' : false) ? tmp_25 : null;
3671
- var tmp46_checkOnlyTrumpDebertz = tmp23_elvis_lhs == null ? false : tmp23_elvis_lhs;
4058
+ var tmp48_checkOnlyTrumpDebertz = tmp23_elvis_lhs == null ? false : tmp23_elvis_lhs;
3672
4059
  var tmp_26 = map.h2('distributePoints');
3673
4060
  var tmp24_elvis_lhs = (!(tmp_26 == null) ? typeof tmp_26 === 'boolean' : false) ? tmp_26 : null;
3674
- var tmp47_distributePoints = tmp24_elvis_lhs == null ? false : tmp24_elvis_lhs;
3675
- var tmp_27 = map.h2('enableFineIfNoBribes');
3676
- var tmp25_elvis_lhs = (!(tmp_27 == null) ? typeof tmp_27 === 'boolean' : false) ? tmp_27 : null;
3677
- var tmp48_enableFineIfNoBribes = tmp25_elvis_lhs == null ? false : tmp25_elvis_lhs;
3678
- var tmp_28 = map.h2('fineIfNoBribes');
3679
- var tmp26_elvis_lhs = (!(tmp_28 == null) ? typeof tmp_28 === 'number' : false) ? tmp_28 : null;
3680
- var tmp49_fineIfNoBribes = tmp26_elvis_lhs == null ? 50 : tmp26_elvis_lhs;
3681
- var tmp_29 = map.h2('enableFineAfterThirdByte');
3682
- var tmp27_elvis_lhs = (!(tmp_29 == null) ? typeof tmp_29 === 'boolean' : false) ? tmp_29 : null;
3683
- var tmp50_enableFineAfterThirdFailedContract = tmp27_elvis_lhs == null ? false : tmp27_elvis_lhs;
3684
- var tmp_30 = map.h2('fineAfterThirdFailedContract');
3685
- var tmp28_elvis_lhs = (!(tmp_30 == null) ? typeof tmp_30 === 'number' : false) ? tmp_30 : null;
3686
- var tmp51_fineAfterThirdFailedContract = tmp28_elvis_lhs == null ? 0 : tmp28_elvis_lhs;
3687
- return new Rules(tmp29_needToPutHigherTrump, tmp30_playerWhoChooseSuitGoFirst, tmp31_winnerShuffleCards, tmp32_playWithoutLiabilities, tmp33_trumpCardGoToPlayerWhoShuffleCards, tmp35_dealerInitialCardsCount, tmp36_dealerFinalCardsCount, tmp34_dealerCounterClockwise, tmp37_contractTypes, tmp38_bidTypes, tmp39_combinationsWithFirstCard, tmp40_protectBella, tmp41_oneTryToProtectBella, tmp42_enableFourSevensCombination, tmp43_enableTrumpSevenCombination, tmp44_enableTrumpSevenCombinationAfterDistribution, tmp45_checkTrumpCombination, tmp46_checkOnlyTrumpDebertz, tmp47_distributePoints, tmp50_enableFineAfterThirdFailedContract, tmp51_fineAfterThirdFailedContract, tmp48_enableFineIfNoBribes, tmp49_fineIfNoBribes);
4061
+ var tmp49_distributePoints = tmp24_elvis_lhs == null ? false : tmp24_elvis_lhs;
4062
+ var tmp_27 = map.h2('pointsDistributeMode');
4063
+ var tmp25_safe_receiver = (!(tmp_27 == null) ? typeof tmp_27 === 'string' : false) ? tmp_27 : null;
4064
+ var tmp26_elvis_lhs = tmp25_safe_receiver == null ? null : toPointsDistributeMode(tmp25_safe_receiver);
4065
+ var tmp_28;
4066
+ if (tmp26_elvis_lhs == null) {
4067
+ var tmp_29;
4068
+ var tmp_30 = map.h2('distributePoints');
4069
+ if (((!(tmp_30 == null) ? typeof tmp_30 === 'boolean' : false) ? tmp_30 : null) === true) {
4070
+ tmp_29 = PointsDistributeMode_ALL_getInstance();
4071
+ } else {
4072
+ tmp_29 = PointsDistributeMode_HIGHEST_PLAYER_getInstance();
4073
+ }
4074
+ tmp_28 = tmp_29;
4075
+ } else {
4076
+ tmp_28 = tmp26_elvis_lhs;
4077
+ }
4078
+ var tmp50_pointsDistributeMode = tmp_28;
4079
+ var tmp_31 = map.h2('enableFineIfNoBribes');
4080
+ var tmp27_elvis_lhs = (!(tmp_31 == null) ? typeof tmp_31 === 'boolean' : false) ? tmp_31 : null;
4081
+ var tmp51_enableFineIfNoBribes = tmp27_elvis_lhs == null ? false : tmp27_elvis_lhs;
4082
+ var tmp_32 = map.h2('fineIfNoBribes');
4083
+ var tmp28_elvis_lhs = (!(tmp_32 == null) ? typeof tmp_32 === 'number' : false) ? tmp_32 : null;
4084
+ var tmp52_fineIfNoBribes = tmp28_elvis_lhs == null ? 50 : tmp28_elvis_lhs;
4085
+ var tmp_33 = map.h2('enableFineAfterThirdByte');
4086
+ var tmp29_elvis_lhs = (!(tmp_33 == null) ? typeof tmp_33 === 'boolean' : false) ? tmp_33 : null;
4087
+ var tmp53_enableFineAfterThirdFailedContract = tmp29_elvis_lhs == null ? false : tmp29_elvis_lhs;
4088
+ var tmp_34 = map.h2('fineAfterThirdFailedContract');
4089
+ var tmp30_elvis_lhs = (!(tmp_34 == null) ? typeof tmp_34 === 'number' : false) ? tmp_34 : null;
4090
+ var tmp54_fineAfterThirdFailedContract = tmp30_elvis_lhs == null ? 100 : tmp30_elvis_lhs;
4091
+ return new Rules(tmp31_needToPutHigherTrump, tmp32_playerWhoChooseSuitGoFirst, tmp33_winnerShuffleCards, tmp34_playWithoutLiabilities, tmp35_trumpCardGoToPlayerWhoShuffleCards, tmp37_dealerInitialCardsCount, tmp38_dealerFinalCardsCount, tmp36_dealerCounterClockwise, tmp39_contractTypes, tmp40_bidTypes, tmp41_combinationsWithFirstCard, tmp42_protectBella, tmp43_oneTryToProtectBella, tmp44_enableFourSevensCombination, tmp45_enableTrumpSevenCombination, tmp46_enableTrumpSevenCombinationAfterDistribution, tmp47_checkTrumpCombination, tmp48_checkOnlyTrumpDebertz, tmp49_distributePoints, tmp50_pointsDistributeMode, tmp53_enableFineAfterThirdFailedContract, tmp54_fineAfterThirdFailedContract, tmp51_enableFineIfNoBribes, tmp52_fineIfNoBribes);
3688
4092
  };
3689
4093
  protoOf(GameHelperImpl).prepareConfigObjectWithPagination = function (config) {
3690
4094
  var map = mapOfObject(config);
@@ -3834,40 +4238,40 @@
3834
4238
  function getRandomAvatarData_0($this) {
3835
4239
  var avatarSetNumber = Default_getInstance().rg(values().length);
3836
4240
  var avatarSet = values()[avatarSetNumber];
3837
- return new AvatarData(Default_getInstance().rg(avatarSet.dd7()), avatarSet);
4241
+ return new AvatarData(Default_getInstance().rg(avatarSet.jd9()), avatarSet);
3838
4242
  }
3839
4243
  function getAvatarUrlByIndex($this, data) {
3840
4244
  return mapToPattern($this, data);
3841
4245
  }
3842
4246
  function getNicknameByIndex($this, data) {
3843
- return data.fd7_1.gd7(data.ed7_1);
4247
+ return data.ld9_1.md9(data.kd9_1);
3844
4248
  }
3845
4249
  function mapToPattern($this, data) {
3846
- return 'debertz://raspberry.games/' + data.fd7_1.o2_1 + '/' + data.ed7_1;
4250
+ return 'debertz://raspberry.games/' + data.ld9_1.o2_1 + '/' + data.kd9_1;
3847
4251
  }
3848
4252
  function Companion_2() {
3849
4253
  Companion_instance_10 = this;
3850
- this.hd7_1 = 'debertz://raspberry.games';
4254
+ this.nd9_1 = 'debertz://raspberry.games';
3851
4255
  var tmp = this;
3852
4256
  // Inline function 'kotlin.arrayOf' call
3853
4257
  // Inline function 'kotlin.js.unsafeCast' call
3854
4258
  // Inline function 'kotlin.js.asDynamic' call
3855
- tmp.id7_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
4259
+ tmp.od9_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
3856
4260
  var tmp_0 = this;
3857
4261
  // Inline function 'kotlin.arrayOf' call
3858
4262
  // Inline function 'kotlin.js.unsafeCast' call
3859
4263
  // Inline function 'kotlin.js.asDynamic' call
3860
- tmp_0.jd7_1 = ['\u0422\u0430\u043D\u044F', 'TheBest', '\u0425\u0430\u0440\u043A\u0456\u0432\u041C\u0456\u0441\u0442\u043E\u0413\u0435\u0440\u043E\u0439', '\u0412\u0430\u043B\u044F', '\u041C\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430', 'Dasha', '\u0410\u0440\u0442\u0435\u043C', '\u041F\u0435\u0442\u0440\u043E\u0432\u0438\u0447', '\u041A\u0440\u0438\u0441', '\u041C\u0430\u0440\u0456\u0430\u043D\u0430', '\u0421\u0430\u043B\u0442\u0456\u0432\u043A\u0430', '\u042F\u043D\u0430', 'Alex', '\u041E\u0434\u0435\u0441\u0441\u0430\u041C\u0430\u043C\u0430', 'Vika', '\u0421\u0432\u0456\u0442\u043B\u0430\u043D\u0430'];
4264
+ tmp_0.pd9_1 = ['\u0422\u0430\u043D\u044F', 'TheBest', '\u0425\u0430\u0440\u043A\u0456\u0432\u041C\u0456\u0441\u0442\u043E\u0413\u0435\u0440\u043E\u0439', '\u0412\u0430\u043B\u044F', '\u041C\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430', 'Dasha', '\u0410\u0440\u0442\u0435\u043C', '\u041F\u0435\u0442\u0440\u043E\u0432\u0438\u0447', '\u041A\u0440\u0438\u0441', '\u041C\u0430\u0440\u0456\u0430\u043D\u0430', '\u0421\u0430\u043B\u0442\u0456\u0432\u043A\u0430', '\u042F\u043D\u0430', 'Alex', '\u041E\u0434\u0435\u0441\u0441\u0430\u041C\u0430\u043C\u0430', 'Vika', '\u0421\u0432\u0456\u0442\u043B\u0430\u043D\u0430'];
3861
4265
  var tmp_1 = this;
3862
4266
  // Inline function 'kotlin.arrayOf' call
3863
4267
  // Inline function 'kotlin.js.unsafeCast' call
3864
4268
  // Inline function 'kotlin.js.asDynamic' call
3865
- tmp_1.kd7_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
4269
+ tmp_1.qd9_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
3866
4270
  var tmp_2 = this;
3867
4271
  // Inline function 'kotlin.arrayOf' call
3868
4272
  // Inline function 'kotlin.js.unsafeCast' call
3869
4273
  // Inline function 'kotlin.js.asDynamic' call
3870
- tmp_2.ld7_1 = ['\u0423\u0441\u0456\u043C\u0414\u043E\u0431\u0440\u0430', '\u0410\u043B\u0435\u043A\u0441', 'MOLOTOK', '\u041B\u042F\u041B\u042F', '\u0406\u0412\u0410\u041D', '\u041C\u0438\u043A\u0438\u0442\u0430', '\u0410\u043B\u0456\u0441\u0430', '\u041C\u0430\u043A\u0441\u0438\u043C', '\u0421\u043E\u043B\u043E\u043C\u0456\u044F', '\u0414\u0436\u0435\u0432\u0435\u043B\u0456\u043D\u0430', '\u041A\u0441\u044E\u0445\u0430', '\u0422\u0410\u0420\u0410\u0421', '\u041E\u043B\u044F', '\u0414\u043E\u0420\u043E\u0431\u043E\u0442\u0438', '\u0421\u043B\u0430\u0432\u0430\u0417\u0421\u0423!', '\u0426\u0430\u0440\u044C\u0414\u0435\u0431\u0430'];
4274
+ tmp_2.rd9_1 = ['\u0423\u0441\u0456\u043C\u0414\u043E\u0431\u0440\u0430', '\u0410\u043B\u0435\u043A\u0441', 'MOLOTOK', '\u041B\u042F\u041B\u042F', '\u0406\u0412\u0410\u041D', '\u041C\u0438\u043A\u0438\u0442\u0430', '\u0410\u043B\u0456\u0441\u0430', '\u041C\u0430\u043A\u0441\u0438\u043C', '\u0421\u043E\u043B\u043E\u043C\u0456\u044F', '\u0414\u0436\u0435\u0432\u0435\u043B\u0456\u043D\u0430', '\u041A\u0441\u044E\u0445\u0430', '\u0422\u0410\u0420\u0410\u0421', '\u041E\u043B\u044F', '\u0414\u043E\u0420\u043E\u0431\u043E\u0442\u0438', '\u0421\u043B\u0430\u0432\u0430\u0417\u0421\u0423!', '\u0426\u0430\u0440\u044C\u0414\u0435\u0431\u0430'];
3871
4275
  }
3872
4276
  var Companion_instance_10;
3873
4277
  function Companion_getInstance_5() {
@@ -3878,14 +4282,14 @@
3878
4282
  function AvatarSet(name, ordinal) {
3879
4283
  Enum.call(this, name, ordinal);
3880
4284
  }
3881
- protoOf(AvatarSet).dd7 = function () {
4285
+ protoOf(AvatarSet).jd9 = function () {
3882
4286
  var tmp;
3883
4287
  switch (this.o2_1) {
3884
4288
  case 0:
3885
- tmp = Companion_getInstance_5().jd7_1.length;
4289
+ tmp = Companion_getInstance_5().pd9_1.length;
3886
4290
  break;
3887
4291
  case 1:
3888
- tmp = Companion_getInstance_5().ld7_1.length;
4292
+ tmp = Companion_getInstance_5().rd9_1.length;
3889
4293
  break;
3890
4294
  default:
3891
4295
  noWhenBranchMatchedException();
@@ -3893,14 +4297,14 @@
3893
4297
  }
3894
4298
  return tmp;
3895
4299
  };
3896
- protoOf(AvatarSet).gd7 = function (index) {
4300
+ protoOf(AvatarSet).md9 = function (index) {
3897
4301
  var tmp;
3898
4302
  switch (this.o2_1) {
3899
4303
  case 0:
3900
- tmp = Companion_getInstance_5().jd7_1[index];
4304
+ tmp = Companion_getInstance_5().pd9_1[index];
3901
4305
  break;
3902
4306
  case 1:
3903
- tmp = Companion_getInstance_5().ld7_1[index];
4307
+ tmp = Companion_getInstance_5().rd9_1[index];
3904
4308
  break;
3905
4309
  default:
3906
4310
  noWhenBranchMatchedException();
@@ -3909,8 +4313,8 @@
3909
4313
  return tmp;
3910
4314
  };
3911
4315
  function AvatarData(index, avatarSet) {
3912
- this.ed7_1 = index;
3913
- this.fd7_1 = avatarSet;
4316
+ this.kd9_1 = index;
4317
+ this.ld9_1 = avatarSet;
3914
4318
  }
3915
4319
  function AvatarSet_ORIGIN_getInstance() {
3916
4320
  AvatarSet_initEntries();
@@ -3923,7 +4327,7 @@
3923
4327
  function GameResourcesImpl() {
3924
4328
  Companion_getInstance_5();
3925
4329
  }
3926
- protoOf(GameResourcesImpl).ad7 = function (playerId, existingNicknames) {
4330
+ protoOf(GameResourcesImpl).gd9 = function (playerId, existingNicknames) {
3927
4331
  var data = getRandomAvatarData(this, existingNicknames);
3928
4332
  return new GameUserInfo(playerId, getNicknameByIndex(this, data), getAvatarUrlByIndex(this, data), true);
3929
4333
  };
@@ -3961,30 +4365,30 @@
3961
4365
  }
3962
4366
  function _get_controllerLogger__nbd727($this) {
3963
4367
  // Inline function 'kotlin.getValue' call
3964
- var this_0 = $this.td7_1;
4368
+ var this_0 = $this.zd9_1;
3965
4369
  controllerLogger$factory();
3966
4370
  return this_0.u();
3967
4371
  }
3968
4372
  function _get_di__ndbzja($this) {
3969
4373
  // Inline function 'kotlin.getValue' call
3970
- var this_0 = $this.ud7_1;
4374
+ var this_0 = $this.ada_1;
3971
4375
  di$factory();
3972
4376
  return this_0.u();
3973
4377
  }
3974
4378
  function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares, externalModule) {
3975
4379
  var tmp = Companion_instance_3;
3976
- return tmp.d62(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares));
4380
+ return tmp.e62(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares));
3977
4381
  }
3978
4382
  function GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this$0) {
3979
4383
  return function () {
3980
4384
  var tmp;
3981
- if (this$0.rd7_1 == null) {
4385
+ if (this$0.xd9_1 == null) {
3982
4386
  tmp = null;
3983
4387
  } else {
3984
4388
  // Inline function 'kotlin.let' call
3985
4389
  // Inline function 'kotlin.contracts.contract' call
3986
4390
  // Inline function 'GameServerEngineControllerImpl.controllerLogger$delegate.<anonymous>.<anonymous>' call
3987
- tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.rd7_1)]));
4391
+ tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.xd9_1)]));
3988
4392
  }
3989
4393
  var tmp1_elvis_lhs = tmp;
3990
4394
  return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
@@ -4001,38 +4405,38 @@
4001
4405
  // Inline function 'org.kodein.type.generic' call
4002
4406
  var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
4003
4407
  var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
4004
- var tmp_0 = $this$DI.u61(tmp$ret$0, null, null);
4408
+ var tmp_0 = $this$DI.v61(tmp$ret$0, null, null);
4005
4409
  // Inline function 'org.kodein.di.provider' call
4006
4410
  var creator = GameServerEngineControllerImpl$di$delegate$lambda$lambda$lambda(this$0);
4007
- var tmp_1 = $this$DI.x61();
4411
+ var tmp_1 = $this$DI.y61();
4008
4412
  // Inline function 'org.kodein.type.generic' call
4009
4413
  var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
4010
4414
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
4011
4415
  var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
4012
- tmp_0.s65(tmp$ret$3);
4013
- $this$DI.w61(jsonModule());
4014
- $this$DI.w61(serverHelpersModule());
4015
- $this$DI.w61(randomOrgModule(this$0.sd7_1));
4416
+ tmp_0.t65(tmp$ret$3);
4417
+ $this$DI.x61(jsonModule());
4418
+ $this$DI.x61(serverHelpersModule());
4419
+ $this$DI.x61(randomOrgModule(this$0.yd9_1));
4016
4420
  return Unit_instance;
4017
4421
  };
4018
4422
  }
4019
4423
  function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
4020
4424
  return function () {
4021
4425
  var tmp = Companion_instance_3;
4022
- return tmp.d62(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
4426
+ return tmp.e62(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
4023
4427
  };
4024
4428
  }
4025
- function _no_name_provided__qut3iv_3($item) {
4026
- this.ad8_1 = $item;
4429
+ function _no_name_provided__qut3iv_4($item) {
4430
+ this.gda_1 = $item;
4027
4431
  }
4028
- protoOf(_no_name_provided__qut3iv_3).h6n = function (action) {
4432
+ protoOf(_no_name_provided__qut3iv_4).j6n = function (action) {
4029
4433
  return isInterface(action, Action);
4030
4434
  };
4031
- protoOf(_no_name_provided__qut3iv_3).c9g = function (state, action) {
4032
- return this.ad8_1(state, isInterface(action, Action) ? action : THROW_CCE());
4435
+ protoOf(_no_name_provided__qut3iv_4).t9g = function (state, action) {
4436
+ return this.gda_1(state, isInterface(action, Action) ? action : THROW_CCE());
4033
4437
  };
4034
- protoOf(_no_name_provided__qut3iv_3).z6o = function (state, action) {
4035
- return this.c9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
4438
+ protoOf(_no_name_provided__qut3iv_4).b6p = function (state, action) {
4439
+ return this.t9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
4036
4440
  };
4037
4441
  function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
4038
4442
  return function ($this$singleton) {
@@ -4052,17 +4456,17 @@
4052
4456
  // Inline function 'org.kodein.type.generic' call
4053
4457
  var tmp_0 = typeToken(createKType(getKClass(FileLoggerOutput), arrayOf([]), false));
4054
4458
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
4055
- var tmp_1 = $this$Module.u61(tmp$ret$0, null, null);
4459
+ var tmp_1 = $this$Module.v61(tmp$ret$0, null, null);
4056
4460
  // Inline function 'org.kodein.di.singleton' call
4057
4461
  var creator = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput);
4058
- var tmp_2 = $this$Module.z61();
4059
- var tmp_3 = $this$Module.x61();
4060
- var tmp_4 = $this$Module.y61();
4462
+ var tmp_2 = $this$Module.a62();
4463
+ var tmp_3 = $this$Module.y61();
4464
+ var tmp_4 = $this$Module.z61();
4061
4465
  // Inline function 'org.kodein.type.generic' call
4062
4466
  var tmp_5 = typeToken(createKType(getKClass(FileLoggerOutputImpl), arrayOf([]), false));
4063
4467
  var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
4064
4468
  var tmp$ret$3 = new Singleton(tmp_2, tmp_3, tmp_4, tmp$ret$2, null, true, creator);
4065
- tmp_1.s65(tmp$ret$3);
4469
+ tmp_1.t65(tmp$ret$3);
4066
4470
  tmp = Unit_instance;
4067
4471
  }
4068
4472
  var tmp_6;
@@ -4071,17 +4475,17 @@
4071
4475
  // Inline function 'org.kodein.type.generic' call
4072
4476
  var tmp_7 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
4073
4477
  var tmp$ret$4 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
4074
- var tmp_8 = $this$Module.u61(tmp$ret$4, null, null);
4478
+ var tmp_8 = $this$Module.v61(tmp$ret$4, null, null);
4075
4479
  // Inline function 'org.kodein.di.singleton' call
4076
4480
  var creator_0 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_0($callbackWrapperLoggerOutput);
4077
- var tmp_9 = $this$Module.z61();
4078
- var tmp_10 = $this$Module.x61();
4079
- var tmp_11 = $this$Module.y61();
4481
+ var tmp_9 = $this$Module.a62();
4482
+ var tmp_10 = $this$Module.y61();
4483
+ var tmp_11 = $this$Module.z61();
4080
4484
  // Inline function 'org.kodein.type.generic' call
4081
4485
  var tmp_12 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
4082
4486
  var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
4083
4487
  var tmp$ret$7 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$6, null, true, creator_0);
4084
- tmp_8.s65(tmp$ret$7);
4488
+ tmp_8.t65(tmp$ret$7);
4085
4489
  tmp_6 = Unit_instance;
4086
4490
  }
4087
4491
  return Unit_instance;
@@ -4089,10 +4493,10 @@
4089
4493
  }
4090
4494
  function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
4091
4495
  return function (it) {
4092
- var tmp0_elvis_lhs = Companion_instance_4.z9k(it);
4496
+ var tmp0_elvis_lhs = Companion_instance_4.p9l(it);
4093
4497
  var tmp;
4094
4498
  if (tmp0_elvis_lhs == null) {
4095
- var tmp1_safe_receiver = $gameServer.d6e().i6v_1;
4499
+ var tmp1_safe_receiver = $gameServer.e6e().k6v_1;
4096
4500
  tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gameId;
4097
4501
  } else {
4098
4502
  tmp = tmp0_elvis_lhs;
@@ -4102,10 +4506,10 @@
4102
4506
  }
4103
4507
  function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
4104
4508
  return function (it) {
4105
- var tmp0_elvis_lhs = Companion_instance_5.k9j(it);
4509
+ var tmp0_elvis_lhs = Companion_instance_5.a9k(it);
4106
4510
  var tmp;
4107
4511
  if (tmp0_elvis_lhs == null) {
4108
- var tmp1_safe_receiver = $gameServer.d6e().i6v_1;
4512
+ var tmp1_safe_receiver = $gameServer.e6e().k6v_1;
4109
4513
  tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
4110
4514
  } else {
4111
4515
  tmp = tmp0_elvis_lhs;
@@ -4115,94 +4519,94 @@
4115
4519
  }
4116
4520
  function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares) {
4117
4521
  return function ($this$DI) {
4118
- $this$DI.w61(combinedLoggerModule($combinedLogger));
4522
+ $this$DI.x61(combinedLoggerModule($combinedLogger));
4119
4523
  var tmp0_safe_receiver = $externalModule;
4120
4524
  if (tmp0_safe_receiver == null)
4121
4525
  null;
4122
4526
  else {
4123
4527
  // Inline function 'kotlin.let' call
4124
4528
  // Inline function 'kotlin.contracts.contract' call
4125
- $this$DI.w61(tmp0_safe_receiver);
4529
+ $this$DI.x61(tmp0_safe_receiver);
4126
4530
  }
4127
- $this$DI.w61(dealerModule(this$0.randomPoolProvider, this$0.sd7_1));
4128
- $this$DI.w61(coreModule($coreConfig));
4129
- $this$DI.w61(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
4531
+ $this$DI.x61(dealerModule(this$0.randomPoolProvider, this$0.yd9_1));
4532
+ $this$DI.x61(coreModule($coreConfig));
4533
+ $this$DI.x61(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
4130
4534
  return Unit_instance;
4131
4535
  };
4132
4536
  }
4133
4537
  function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
4134
4538
  loggerCallback = loggerCallback === VOID ? null : loggerCallback;
4135
4539
  production = production === VOID ? true : production;
4136
- this.rd7_1 = loggerCallback;
4137
- this.sd7_1 = randomOrgConfig;
4138
- AppEnvironment_getInstance().q6u(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
4540
+ this.xd9_1 = loggerCallback;
4541
+ this.yd9_1 = randomOrgConfig;
4542
+ AppEnvironment_getInstance().s6u(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
4139
4543
  var tmp = this;
4140
- tmp.td7_1 = lazy(GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this));
4544
+ tmp.zd9_1 = lazy(GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this));
4141
4545
  var tmp_0 = this;
4142
- tmp_0.ud7_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
4546
+ tmp_0.ada_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
4143
4547
  var tmp_1 = this;
4144
4548
  // Inline function 'org.kodein.di.instance' call
4145
4549
  var this_0 = _get_di__ndbzja(this);
4146
4550
  // Inline function 'org.kodein.type.generic' call
4147
4551
  var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
4148
4552
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
4149
- tmp_1.vd7_1 = Instance(this_0, tmp$ret$0, null).p67(this, parser$factory());
4553
+ tmp_1.bda_1 = Instance(this_0, tmp$ret$0, null).q67(this, parser$factory());
4150
4554
  var tmp_3 = this;
4151
4555
  // Inline function 'org.kodein.di.instance' call
4152
4556
  var this_1 = _get_di__ndbzja(this);
4153
4557
  // Inline function 'org.kodein.type.generic' call
4154
4558
  var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
4155
4559
  var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
4156
- tmp_3.wd7_1 = Instance(this_1, tmp$ret$2, null).p67(this, helper$factory());
4560
+ tmp_3.cda_1 = Instance(this_1, tmp$ret$2, null).q67(this, helper$factory());
4157
4561
  var tmp_5 = this;
4158
4562
  // Inline function 'org.kodein.di.instance' call
4159
4563
  var this_2 = _get_di__ndbzja(this);
4160
4564
  // Inline function 'org.kodein.type.generic' call
4161
4565
  var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
4162
4566
  var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
4163
- tmp_5.xd7_1 = Instance(this_2, tmp$ret$4, null).p67(this, resources$factory());
4567
+ tmp_5.dda_1 = Instance(this_2, tmp$ret$4, null).q67(this, resources$factory());
4164
4568
  var tmp_7 = this;
4165
4569
  // Inline function 'org.kodein.di.instance' call
4166
4570
  var this_3 = _get_di__ndbzja(this);
4167
4571
  // Inline function 'org.kodein.type.generic' call
4168
4572
  var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
4169
4573
  var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
4170
- tmp_7.yd7_1 = Instance(this_3, tmp$ret$6, null).p67(this, test$factory());
4574
+ tmp_7.eda_1 = Instance(this_3, tmp$ret$6, null).q67(this, test$factory());
4171
4575
  var tmp_9 = this;
4172
4576
  // Inline function 'org.kodein.di.instance' call
4173
4577
  var this_4 = _get_di__ndbzja(this);
4174
4578
  // Inline function 'org.kodein.type.generic' call
4175
4579
  var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
4176
4580
  var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
4177
- tmp_9.zd7_1 = Instance(this_4, tmp$ret$8, null).p67(this, randomPoolProvider$factory());
4581
+ tmp_9.fda_1 = Instance(this_4, tmp$ret$8, null).q67(this, randomPoolProvider$factory());
4178
4582
  }
4179
- protoOf(GameServerEngineControllerImpl).pcw = function () {
4583
+ protoOf(GameServerEngineControllerImpl).tcx = function () {
4180
4584
  // Inline function 'kotlin.getValue' call
4181
- var this_0 = this.vd7_1;
4585
+ var this_0 = this.bda_1;
4182
4586
  parser$factory_0();
4183
4587
  return this_0.u();
4184
4588
  };
4185
- protoOf(GameServerEngineControllerImpl).nd7 = function () {
4589
+ protoOf(GameServerEngineControllerImpl).td9 = function () {
4186
4590
  // Inline function 'kotlin.getValue' call
4187
- var this_0 = this.wd7_1;
4591
+ var this_0 = this.cda_1;
4188
4592
  helper$factory_0();
4189
4593
  return this_0.u();
4190
4594
  };
4191
- protoOf(GameServerEngineControllerImpl).od7 = function () {
4595
+ protoOf(GameServerEngineControllerImpl).ud9 = function () {
4192
4596
  // Inline function 'kotlin.getValue' call
4193
- var this_0 = this.xd7_1;
4597
+ var this_0 = this.dda_1;
4194
4598
  resources$factory_0();
4195
4599
  return this_0.u();
4196
4600
  };
4197
- protoOf(GameServerEngineControllerImpl).md7 = function () {
4601
+ protoOf(GameServerEngineControllerImpl).sd9 = function () {
4198
4602
  // Inline function 'kotlin.getValue' call
4199
- var this_0 = this.yd7_1;
4603
+ var this_0 = this.eda_1;
4200
4604
  test$factory_0();
4201
4605
  return this_0.u();
4202
4606
  };
4203
- protoOf(GameServerEngineControllerImpl).pd7 = function () {
4607
+ protoOf(GameServerEngineControllerImpl).vd9 = function () {
4204
4608
  // Inline function 'kotlin.getValue' call
4205
- var this_0 = this.zd7_1;
4609
+ var this_0 = this.fda_1;
4206
4610
  randomPoolProvider$factory_0();
4207
4611
  return this_0.u();
4208
4612
  };
@@ -4212,7 +4616,7 @@
4212
4616
  protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
4213
4617
  return this.createGameEngineWithLogic();
4214
4618
  };
4215
- protoOf(GameServerEngineControllerImpl).qd7 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
4619
+ protoOf(GameServerEngineControllerImpl).wd9 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
4216
4620
  var combinedLogger = Companion_instance_6.tm();
4217
4621
  var tmp;
4218
4622
  if (coreConfig.fileLogsEnabled) {
@@ -4222,8 +4626,8 @@
4222
4626
  }
4223
4627
  var fileLoggerOutput = tmp;
4224
4628
  var tmp_0;
4225
- if (!(this.rd7_1 == null)) {
4226
- tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.rd7_1));
4629
+ if (!(this.xd9_1 == null)) {
4630
+ tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.xd9_1));
4227
4631
  } else {
4228
4632
  tmp_0 = null;
4229
4633
  }
@@ -4239,7 +4643,7 @@
4239
4643
  inductionVariable = inductionVariable + 1 | 0;
4240
4644
  // Inline function 'GameServerEngineControllerImpl.createGameEngineWithLogic.<anonymous>' call
4241
4645
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
4242
- var tmp$ret$1 = new _no_name_provided__qut3iv_3(item);
4646
+ var tmp$ret$1 = new _no_name_provided__qut3iv_4(item);
4243
4647
  destination.e(tmp$ret$1);
4244
4648
  }
4245
4649
  var tmp1_externalReducers = toList_0(destination);
@@ -4259,19 +4663,19 @@
4259
4663
  var tmp3_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(fileLoggerOutput, callbackWrapperLoggerOutput));
4260
4664
  var di = createDI(this, combinedLogger, coreConfig, serverConfig, logicConfig, tmp0_botConfig, dealerConfig, tmp1_externalReducers, tmp2_externalMiddlewares, tmp3_externalModule);
4261
4665
  // Inline function 'org.kodein.di.instance' call
4262
- var tmp_1 = get_direct(di).h63();
4666
+ var tmp_1 = get_direct(di).i63();
4263
4667
  // Inline function 'org.kodein.type.generic' call
4264
4668
  var tmp_2 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
4265
4669
  var tmp$ret$7 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
4266
- var gameServer = tmp_1.g63(tmp$ret$7, null);
4670
+ var gameServer = tmp_1.h63(tmp$ret$7, null);
4267
4671
  if (!(fileLoggerOutput == null)) {
4268
4672
  var tmp_3 = fileLoggerOutput;
4269
- tmp_3.o9k_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
4673
+ tmp_3.e9l_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
4270
4674
  combinedLogger.vm(fileLoggerOutput);
4271
4675
  }
4272
4676
  if (!(callbackWrapperLoggerOutput == null)) {
4273
4677
  var tmp_4 = callbackWrapperLoggerOutput;
4274
- tmp_4.m9j_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
4678
+ tmp_4.c9k_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
4275
4679
  combinedLogger.vm(callbackWrapperLoggerOutput);
4276
4680
  }
4277
4681
  return gameServer;
@@ -4381,13 +4785,13 @@
4381
4785
  }
4382
4786
  function _get_playerAnswerInteractor__msggz1($this) {
4383
4787
  // Inline function 'kotlin.getValue' call
4384
- var this_0 = $this.dd8_1;
4788
+ var this_0 = $this.jda_1;
4385
4789
  playerAnswerInteractor$factory_0();
4386
4790
  return this_0.u();
4387
4791
  }
4388
4792
  function TestHelperImpl$di$lambda$lambda(this$0) {
4389
4793
  return function ($this$singleton) {
4390
- return this$0.bd8_1;
4794
+ return this$0.hda_1;
4391
4795
  };
4392
4796
  }
4393
4797
  function TestHelperImpl$di$lambda(this$0) {
@@ -4396,19 +4800,19 @@
4396
4800
  // Inline function 'org.kodein.type.generic' call
4397
4801
  var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
4398
4802
  var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
4399
- var tmp_0 = $this$DI.u61(tmp$ret$0, null, null);
4803
+ var tmp_0 = $this$DI.v61(tmp$ret$0, null, null);
4400
4804
  // Inline function 'org.kodein.di.singleton' call
4401
4805
  var creator = TestHelperImpl$di$lambda$lambda(this$0);
4402
- var tmp_1 = $this$DI.z61();
4403
- var tmp_2 = $this$DI.x61();
4404
- var tmp_3 = $this$DI.y61();
4806
+ var tmp_1 = $this$DI.a62();
4807
+ var tmp_2 = $this$DI.y61();
4808
+ var tmp_3 = $this$DI.z61();
4405
4809
  // Inline function 'org.kodein.type.generic' call
4406
4810
  var tmp_4 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
4407
4811
  var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
4408
4812
  var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
4409
- tmp_0.s65(tmp$ret$3);
4410
- $this$DI.w61(jsonModule(emptyList()));
4411
- $this$DI.w61(get_botGameModule());
4813
+ tmp_0.t65(tmp$ret$3);
4814
+ $this$DI.x61(jsonModule(emptyList()));
4815
+ $this$DI.x61(get_botGameModule());
4412
4816
  return Unit_instance;
4413
4817
  };
4414
4818
  }
@@ -4416,20 +4820,20 @@
4416
4820
  return emptyMap();
4417
4821
  }
4418
4822
  function TestHelperImpl(logger) {
4419
- this.bd8_1 = logger;
4823
+ this.hda_1 = logger;
4420
4824
  var tmp = this;
4421
4825
  var tmp_0 = Companion_instance_3;
4422
- tmp.cd8_1 = tmp_0.d62(VOID, TestHelperImpl$di$lambda(this));
4826
+ tmp.ida_1 = tmp_0.e62(VOID, TestHelperImpl$di$lambda(this));
4423
4827
  var tmp_1 = this;
4424
4828
  // Inline function 'org.kodein.di.instance' call
4425
- var this_0 = this.cd8_1;
4829
+ var this_0 = this.ida_1;
4426
4830
  // Inline function 'org.kodein.type.generic' call
4427
4831
  var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
4428
4832
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
4429
- tmp_1.dd8_1 = Instance(this_0, tmp$ret$0, null).p67(this, playerAnswerInteractor$factory());
4833
+ tmp_1.jda_1 = Instance(this_0, tmp$ret$0, null).q67(this, playerAnswerInteractor$factory());
4430
4834
  }
4431
4835
  protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
4432
- return _get_playerAnswerInteractor__msggz1(this).a8w(playerId, table, botConfig);
4836
+ return _get_playerAnswerInteractor__msggz1(this).n8w(playerId, table, botConfig);
4433
4837
  };
4434
4838
  protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
4435
4839
  var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
@@ -4437,7 +4841,7 @@
4437
4841
  var tmp$ret$0;
4438
4842
  $l$block_0: {
4439
4843
  // Inline function 'kotlin.collections.any' call
4440
- var this_0 = mechanicAction.g96();
4844
+ var this_0 = mechanicAction.v96();
4441
4845
  var tmp;
4442
4846
  if (isInterface(this_0, Collection)) {
4443
4847
  tmp = this_0.p();
@@ -4470,7 +4874,7 @@
4470
4874
  var tmp$ret$0;
4471
4875
  $l$block_0: {
4472
4876
  // Inline function 'kotlin.collections.any' call
4473
- var this_0 = action.g96();
4877
+ var this_0 = action.v96();
4474
4878
  var tmp;
4475
4879
  if (isInterface(this_0, Collection)) {
4476
4880
  tmp = this_0.p();
@@ -4516,77 +4920,77 @@
4516
4920
  // Inline function 'org.kodein.type.generic' call
4517
4921
  var tmp = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
4518
4922
  var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
4519
- var tmp_0 = $this$Module.u61(tmp$ret$0, null, null);
4923
+ var tmp_0 = $this$Module.v61(tmp$ret$0, null, null);
4520
4924
  // Inline function 'org.kodein.di.singleton' call
4521
4925
  var creator = serverHelpersModule$lambda$lambda;
4522
- var tmp_1 = $this$Module.z61();
4523
- var tmp_2 = $this$Module.x61();
4524
- var tmp_3 = $this$Module.y61();
4926
+ var tmp_1 = $this$Module.a62();
4927
+ var tmp_2 = $this$Module.y61();
4928
+ var tmp_3 = $this$Module.z61();
4525
4929
  // Inline function 'org.kodein.type.generic' call
4526
4930
  var tmp_4 = typeToken(createKType(getKClass(ParserHelperImpl), arrayOf([]), false));
4527
4931
  var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
4528
4932
  var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
4529
- tmp_0.s65(tmp$ret$3);
4933
+ tmp_0.t65(tmp$ret$3);
4530
4934
  // Inline function 'org.kodein.di.bind' call
4531
4935
  // Inline function 'org.kodein.type.generic' call
4532
4936
  var tmp_5 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
4533
4937
  var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
4534
- var tmp_6 = $this$Module.u61(tmp$ret$4, null, null);
4938
+ var tmp_6 = $this$Module.v61(tmp$ret$4, null, null);
4535
4939
  // Inline function 'org.kodein.di.singleton' call
4536
4940
  var creator_0 = serverHelpersModule$lambda$lambda_0;
4537
- var tmp_7 = $this$Module.z61();
4538
- var tmp_8 = $this$Module.x61();
4539
- var tmp_9 = $this$Module.y61();
4941
+ var tmp_7 = $this$Module.a62();
4942
+ var tmp_8 = $this$Module.y61();
4943
+ var tmp_9 = $this$Module.z61();
4540
4944
  // Inline function 'org.kodein.type.generic' call
4541
4945
  var tmp_10 = typeToken(createKType(getKClass(GameHelperImpl), arrayOf([]), false));
4542
4946
  var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
4543
4947
  var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
4544
- tmp_6.s65(tmp$ret$7);
4948
+ tmp_6.t65(tmp$ret$7);
4545
4949
  // Inline function 'org.kodein.di.bind' call
4546
4950
  // Inline function 'org.kodein.type.generic' call
4547
4951
  var tmp_11 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
4548
4952
  var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
4549
- var tmp_12 = $this$Module.u61(tmp$ret$8, null, null);
4953
+ var tmp_12 = $this$Module.v61(tmp$ret$8, null, null);
4550
4954
  // Inline function 'org.kodein.di.singleton' call
4551
4955
  var creator_1 = serverHelpersModule$lambda$lambda_1;
4552
- var tmp_13 = $this$Module.z61();
4553
- var tmp_14 = $this$Module.x61();
4554
- var tmp_15 = $this$Module.y61();
4956
+ var tmp_13 = $this$Module.a62();
4957
+ var tmp_14 = $this$Module.y61();
4958
+ var tmp_15 = $this$Module.z61();
4555
4959
  // Inline function 'org.kodein.type.generic' call
4556
4960
  var tmp_16 = typeToken(createKType(getKClass(TestHelperImpl), arrayOf([]), false));
4557
4961
  var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
4558
4962
  var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
4559
- tmp_12.s65(tmp$ret$11);
4963
+ tmp_12.t65(tmp$ret$11);
4560
4964
  // Inline function 'org.kodein.di.bind' call
4561
4965
  // Inline function 'org.kodein.type.generic' call
4562
4966
  var tmp_17 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
4563
4967
  var tmp$ret$12 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
4564
- var tmp_18 = $this$Module.u61(tmp$ret$12, null, null);
4968
+ var tmp_18 = $this$Module.v61(tmp$ret$12, null, null);
4565
4969
  // Inline function 'org.kodein.di.singleton' call
4566
4970
  var creator_2 = serverHelpersModule$lambda$lambda_2;
4567
- var tmp_19 = $this$Module.z61();
4568
- var tmp_20 = $this$Module.x61();
4569
- var tmp_21 = $this$Module.y61();
4971
+ var tmp_19 = $this$Module.a62();
4972
+ var tmp_20 = $this$Module.y61();
4973
+ var tmp_21 = $this$Module.z61();
4570
4974
  // Inline function 'org.kodein.type.generic' call
4571
4975
  var tmp_22 = typeToken(createKType(getKClass(GameResourcesImpl), arrayOf([]), false));
4572
4976
  var tmp$ret$14 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
4573
4977
  var tmp$ret$15 = new Singleton(tmp_19, tmp_20, tmp_21, tmp$ret$14, null, true, creator_2);
4574
- tmp_18.s65(tmp$ret$15);
4978
+ tmp_18.t65(tmp$ret$15);
4575
4979
  return Unit_instance;
4576
4980
  }
4577
4981
  function serverHelpersModule$lambda$lambda($this$singleton) {
4578
4982
  // Inline function 'org.kodein.di.instance' call
4579
- var tmp = $this$singleton.h63();
4983
+ var tmp = $this$singleton.i63();
4580
4984
  // Inline function 'org.kodein.type.generic' call
4581
4985
  var tmp_0 = typeToken(createKType(getKClass(Json), arrayOf([]), false));
4582
4986
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
4583
- var tmp_1 = tmp.g63(tmp$ret$0, null);
4987
+ var tmp_1 = tmp.h63(tmp$ret$0, null);
4584
4988
  // Inline function 'org.kodein.di.instance' call
4585
- var tmp_2 = $this$singleton.h63();
4989
+ var tmp_2 = $this$singleton.i63();
4586
4990
  // Inline function 'org.kodein.type.generic' call
4587
4991
  var tmp_3 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
4588
4992
  var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
4589
- var tmp$ret$3 = tmp_2.g63(tmp$ret$2, null);
4993
+ var tmp$ret$3 = tmp_2.h63(tmp$ret$2, null);
4590
4994
  return new ParserHelperImpl(tmp_1, tmp$ret$3);
4591
4995
  }
4592
4996
  function serverHelpersModule$lambda$lambda_0($this$singleton) {
@@ -4594,49 +4998,59 @@
4594
4998
  }
4595
4999
  function serverHelpersModule$lambda$lambda_1($this$singleton) {
4596
5000
  // Inline function 'org.kodein.di.instance' call
4597
- var tmp = $this$singleton.h63();
5001
+ var tmp = $this$singleton.i63();
4598
5002
  // Inline function 'org.kodein.type.generic' call
4599
5003
  var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
4600
5004
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
4601
- var tmp$ret$1 = tmp.g63(tmp$ret$0, null);
5005
+ var tmp$ret$1 = tmp.h63(tmp$ret$0, null);
4602
5006
  return new TestHelperImpl(tmp$ret$1);
4603
5007
  }
4604
5008
  function serverHelpersModule$lambda$lambda_2($this$singleton) {
4605
5009
  return new GameResourcesImpl();
4606
5010
  }
4607
5011
  //region block: post-declaration
5012
+ protoOf(GameServer).roomOnCreate = roomOnCreate;
5013
+ protoOf(GameServer).roomOnDelete = roomOnDelete;
4608
5014
  defineProp(protoOf(GameServer), 'id', function () {
4609
5015
  return this.a5p();
4610
5016
  });
4611
5017
  defineProp(protoOf(GameServer), 'table', function () {
4612
- return this.k6w();
5018
+ return this.m6w();
4613
5019
  });
4614
5020
  defineProp(protoOf(GameServer), 'isTableExists', function () {
4615
- return this.l6w();
5021
+ return this.n6w();
4616
5022
  });
4617
5023
  defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
4618
- return this.m6w();
5024
+ return this.o6w();
4619
5025
  });
4620
- protoOf(UpdateServerConfigAction).u6m = get_actionTag;
5026
+ protoOf(UpdateServerConfigAction).w6m = get_actionTag;
4621
5027
  defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
4622
- return this.u6m();
5028
+ return this.w6m();
5029
+ });
5030
+ protoOf(AddSpectatorsAction).w6m = get_actionTag;
5031
+ defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
5032
+ return this.w6m();
5033
+ });
5034
+ protoOf(RemoveSpectatorsAction).w6m = get_actionTag;
5035
+ defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
5036
+ return this.w6m();
4623
5037
  });
4624
5038
  protoOf(GameResourcesImpl).createBotUser = createBotUser;
4625
5039
  protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
4626
5040
  defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
4627
- return this.pcw();
5041
+ return this.tcx();
4628
5042
  });
4629
5043
  defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
4630
- return this.nd7();
5044
+ return this.td9();
4631
5045
  });
4632
5046
  defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
4633
- return this.od7();
5047
+ return this.ud9();
4634
5048
  });
4635
5049
  defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
4636
- return this.md7();
5050
+ return this.sd9();
4637
5051
  });
4638
5052
  defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
4639
- return this.pd7();
5053
+ return this.vd9();
4640
5054
  });
4641
5055
  //endregion
4642
5056
  //region block: init