game_client_logic_deb 1.8.106 → 1.8.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +815 -869
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +8951 -8514
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +49 -11
- package/Logic_Debertz-game_client.js +3159 -2725
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -182,7 +182,9 @@
|
|
|
182
182
|
initMetadataForCompanion(Companion_7);
|
|
183
183
|
initMetadataForObject($serializer_3, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
184
184
|
initMetadataForClass(GameFinishedReason, 'GameFinishedReason', VOID, TerminationGameReason, VOID, VOID, VOID, {0: $serializer_getInstance_3});
|
|
185
|
-
initMetadataForCompanion(Companion_8);
|
|
185
|
+
initMetadataForCompanion(Companion_8, VOID, [SerializerFactory]);
|
|
186
|
+
initMetadataForClass(Reason_0, 'Reason', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_10});
|
|
187
|
+
initMetadataForCompanion(Companion_9);
|
|
186
188
|
initMetadataForObject($serializer_4, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
187
189
|
initMetadataForClass(GameErrorReason, 'GameErrorReason', VOID, TerminationGameReason, VOID, VOID, VOID, {0: $serializer_getInstance_4});
|
|
188
190
|
initMetadataForObject(WaitingForConnectionReason, 'WaitingForConnectionReason', VOID, TerminationGameReason, [TerminationGameReason, SerializerFactory], VOID, VOID, {0: WaitingForConnectionReason_getInstance});
|
|
@@ -191,50 +193,45 @@
|
|
|
191
193
|
initMetadataForInterface(PlayerIdContract, 'PlayerIdContract');
|
|
192
194
|
initMetadataForClass(GameUserInfo, 'GameUserInfo', VOID, VOID, [PlayerIdContract]);
|
|
193
195
|
function get_amountOfCards() {
|
|
194
|
-
return this.
|
|
196
|
+
return this.e2q().m();
|
|
195
197
|
}
|
|
196
198
|
initMetadataForInterface(Player, 'Player', VOID, VOID, [PlayerIdContract]);
|
|
197
199
|
initMetadataForClass(PlayerIndex, 'PlayerIndex', VOID, VOID, [PlayerIdContract]);
|
|
198
200
|
initMetadataForClass(PlayerIdContractOrderComparator, 'PlayerIdContractOrderComparator', VOID, VOID, [Comparator]);
|
|
199
|
-
initMetadataForCompanion(
|
|
201
|
+
initMetadataForCompanion(Companion_10);
|
|
200
202
|
initMetadataForClass(PlayerConnection, 'PlayerConnection');
|
|
201
|
-
initMetadataForCompanion(Companion_10, VOID, [SerializerFactory]);
|
|
202
|
-
initMetadataForClass(PlayerConnectionState, 'PlayerConnectionState', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_12});
|
|
203
203
|
initMetadataForCompanion(Companion_11, VOID, [SerializerFactory]);
|
|
204
|
-
initMetadataForClass(
|
|
205
|
-
initMetadataForCompanion(Companion_12);
|
|
204
|
+
initMetadataForClass(PlayerConnectionState, 'PlayerConnectionState', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_13});
|
|
205
|
+
initMetadataForCompanion(Companion_12, VOID, [SerializerFactory]);
|
|
206
|
+
initMetadataForClass(PlayerWaitingState, 'PlayerWaitingState', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_14});
|
|
207
|
+
initMetadataForCompanion(Companion_13);
|
|
206
208
|
initMetadataForClass(PlayerState, 'PlayerState');
|
|
207
209
|
initMetadataForClass(Team, 'Team');
|
|
208
|
-
initMetadataForCompanion(
|
|
210
|
+
initMetadataForCompanion(Companion_14);
|
|
209
211
|
initMetadataForClass(Rules, 'Rules');
|
|
210
212
|
initMetadataForClass(RulesSetType, 'RulesSetType', VOID, Enum);
|
|
211
|
-
initMetadataForCompanion(
|
|
213
|
+
initMetadataForCompanion(Companion_15);
|
|
212
214
|
initMetadataForObject($serializer_5, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
213
215
|
initMetadataForClass(GameUserInfoDto, 'GameUserInfoDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_5});
|
|
214
|
-
initMetadataForCompanion(
|
|
216
|
+
initMetadataForCompanion(Companion_16);
|
|
215
217
|
initMetadataForObject($serializer_6, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
216
218
|
initMetadataForClass(RulesDto, 'RulesDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_6});
|
|
217
219
|
initMetadataForClass(CardGrowthComparator, 'CardGrowthComparator', VOID, VOID, [Comparator]);
|
|
218
220
|
initMetadataForClass(ProcessingCard, 'ProcessingCard');
|
|
219
|
-
function launchUnconfinedWithLock$default(context, block, $super) {
|
|
220
|
-
context = context === VOID ? this.y2t() : context;
|
|
221
|
-
return $super === VOID ? this.z2t(context, block) : $super.z2t.call(this, context, block);
|
|
222
|
-
}
|
|
223
221
|
function launchDefault$default(context, block, $super) {
|
|
224
|
-
context = context === VOID ? this.
|
|
225
|
-
return $super === VOID ? this.
|
|
222
|
+
context = context === VOID ? this.d2u() : context;
|
|
223
|
+
return $super === VOID ? this.e2u(context, block) : $super.e2u.call(this, context, block);
|
|
226
224
|
}
|
|
227
225
|
function launchDefaultWithLock$default(context, block, $super) {
|
|
228
|
-
context = context === VOID ? this.
|
|
229
|
-
return $super === VOID ? this.
|
|
226
|
+
context = context === VOID ? this.d2u() : context;
|
|
227
|
+
return $super === VOID ? this.g2u(context, block) : $super.g2u.call(this, context, block);
|
|
230
228
|
}
|
|
231
229
|
function launchMain$default(context, block, $super) {
|
|
232
|
-
context = context === VOID ? this.
|
|
233
|
-
return $super === VOID ? this.
|
|
230
|
+
context = context === VOID ? this.d2u() : context;
|
|
231
|
+
return $super === VOID ? this.i2u(context, block) : $super.i2u.call(this, context, block);
|
|
234
232
|
}
|
|
235
233
|
initMetadataForInterface(AsyncProvider, 'AsyncProvider');
|
|
236
234
|
initMetadataForClass(_no_name_provided__qut3iv, VOID, VOID, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element]);
|
|
237
|
-
initMetadataForLambda(AsyncProviderImpl$launchUnconfinedWithLock$slambda, CoroutineImpl, VOID, [1]);
|
|
238
235
|
initMetadataForLambda(AsyncProviderImpl$launchDefaultWithLock$slambda, CoroutineImpl, VOID, [1]);
|
|
239
236
|
initMetadataForClass(AsyncProviderImpl, 'AsyncProviderImpl', VOID, VOID, [AsyncProvider]);
|
|
240
237
|
initMetadataForInterface(IdsProvider, 'IdsProvider');
|
|
@@ -265,7 +262,7 @@
|
|
|
265
262
|
return false;
|
|
266
263
|
}
|
|
267
264
|
function get_isAutoStartTimer() {
|
|
268
|
-
return !this.
|
|
265
|
+
return !this.x2w() && !this.y2w();
|
|
269
266
|
}
|
|
270
267
|
initMetadataForInterface(ExpectantAction, 'ExpectantAction', VOID, VOID, [BufferedAction]);
|
|
271
268
|
initMetadataForClass(TimerAction, 'TimerAction', VOID, VOID, [Action]);
|
|
@@ -281,7 +278,6 @@
|
|
|
281
278
|
}
|
|
282
279
|
initMetadataForInterface(NotValidateIfGameFinishing, 'NotValidateIfGameFinishing');
|
|
283
280
|
initMetadataForClass(StopTimerAction, 'StopTimerAction', VOID, TimerAction, [TimerAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
|
|
284
|
-
initMetadataForLambda(applyThread$lambda$lambda$lambda$slambda, CoroutineImpl, VOID, [1]);
|
|
285
281
|
initMetadataForLambda(timerMiddleware$o$handle$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
286
282
|
initMetadataForLambda(timerMiddleware$o$handle$slambda$slambda_1, CoroutineImpl, VOID, [1]);
|
|
287
283
|
initMetadataForLambda(timerMiddleware$o$handle$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -305,8 +301,8 @@
|
|
|
305
301
|
}
|
|
306
302
|
initMetadataForInterface(Reducer, 'Reducer');
|
|
307
303
|
initMetadataForClass(combineReducers$1, VOID, VOID, VOID, [Reducer]);
|
|
308
|
-
initMetadataForCompanion(
|
|
309
|
-
initMetadataForClass(LogType, 'LogType', VOID, Enum, VOID, VOID, VOID, {0:
|
|
304
|
+
initMetadataForCompanion(Companion_17, VOID, [SerializerFactory]);
|
|
305
|
+
initMetadataForClass(LogType, 'LogType', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_19});
|
|
310
306
|
function observe(types, $super) {
|
|
311
307
|
var tmp;
|
|
312
308
|
if (types === VOID) {
|
|
@@ -317,15 +313,15 @@
|
|
|
317
313
|
tmp = types;
|
|
318
314
|
}
|
|
319
315
|
types = tmp;
|
|
320
|
-
return this.
|
|
316
|
+
return this.u30(types);
|
|
321
317
|
}
|
|
322
318
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
323
|
-
initMetadataForCompanion(
|
|
319
|
+
initMetadataForCompanion(Companion_18);
|
|
324
320
|
initMetadataForObject($serializer_7, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
325
321
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
|
|
326
322
|
//endregion
|
|
327
323
|
function GameEngineConfig() {
|
|
328
|
-
this.version = '1.8.
|
|
324
|
+
this.version = '1.8.110';
|
|
329
325
|
}
|
|
330
326
|
protoOf(GameEngineConfig).z2l = function () {
|
|
331
327
|
return this.version;
|
|
@@ -1251,39 +1247,111 @@
|
|
|
1251
1247
|
return false;
|
|
1252
1248
|
return true;
|
|
1253
1249
|
};
|
|
1250
|
+
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1251
|
+
return $this.m2p_1.e2();
|
|
1252
|
+
}
|
|
1253
|
+
function GameErrorReason$Reason$Companion$_anonymous__54sopr() {
|
|
1254
|
+
return createSimpleEnumSerializer('com.logic.data.models.GameErrorReason.Reason', values_0());
|
|
1255
|
+
}
|
|
1256
|
+
var Reason_SERVER_ERROR_instance;
|
|
1257
|
+
var Reason_INTERNAL_ERROR_instance;
|
|
1258
|
+
var Reason_GAME_NOT_EXISTS_instance_0;
|
|
1259
|
+
var Reason_WRONG_PLAYER_TURN_instance;
|
|
1260
|
+
function values_0() {
|
|
1261
|
+
return [Reason_SERVER_ERROR_getInstance(), Reason_INTERNAL_ERROR_getInstance(), Reason_GAME_NOT_EXISTS_getInstance_0(), Reason_WRONG_PLAYER_TURN_getInstance()];
|
|
1262
|
+
}
|
|
1263
|
+
function valueOf_0(value) {
|
|
1264
|
+
switch (value) {
|
|
1265
|
+
case 'SERVER_ERROR':
|
|
1266
|
+
return Reason_SERVER_ERROR_getInstance();
|
|
1267
|
+
case 'INTERNAL_ERROR':
|
|
1268
|
+
return Reason_INTERNAL_ERROR_getInstance();
|
|
1269
|
+
case 'GAME_NOT_EXISTS':
|
|
1270
|
+
return Reason_GAME_NOT_EXISTS_getInstance_0();
|
|
1271
|
+
case 'WRONG_PLAYER_TURN':
|
|
1272
|
+
return Reason_WRONG_PLAYER_TURN_getInstance();
|
|
1273
|
+
default:
|
|
1274
|
+
Reason_initEntries_0();
|
|
1275
|
+
THROW_IAE('No enum constant value.');
|
|
1276
|
+
break;
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1254
1279
|
function Companion_8() {
|
|
1280
|
+
Companion_instance_9 = this;
|
|
1281
|
+
var tmp = this;
|
|
1282
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1283
|
+
tmp.m2p_1 = lazy(tmp_0, GameErrorReason$Reason$Companion$_anonymous__54sopr);
|
|
1255
1284
|
}
|
|
1256
1285
|
protoOf(Companion_8).o22 = function () {
|
|
1257
|
-
return $
|
|
1286
|
+
return _get_$cachedSerializer__te6jhj_3(this);
|
|
1287
|
+
};
|
|
1288
|
+
protoOf(Companion_8).e1r = function (typeParamsSerializers) {
|
|
1289
|
+
return this.o22();
|
|
1258
1290
|
};
|
|
1259
1291
|
var Companion_instance_9;
|
|
1260
1292
|
function Companion_getInstance_10() {
|
|
1293
|
+
Reason_initEntries_0();
|
|
1294
|
+
if (Companion_instance_9 == null)
|
|
1295
|
+
new Companion_8();
|
|
1261
1296
|
return Companion_instance_9;
|
|
1262
1297
|
}
|
|
1298
|
+
var Reason_entriesInitialized_0;
|
|
1299
|
+
function Reason_initEntries_0() {
|
|
1300
|
+
if (Reason_entriesInitialized_0)
|
|
1301
|
+
return Unit_instance;
|
|
1302
|
+
Reason_entriesInitialized_0 = true;
|
|
1303
|
+
Reason_SERVER_ERROR_instance = new Reason_0('SERVER_ERROR', 0);
|
|
1304
|
+
Reason_INTERNAL_ERROR_instance = new Reason_0('INTERNAL_ERROR', 1);
|
|
1305
|
+
Reason_GAME_NOT_EXISTS_instance_0 = new Reason_0('GAME_NOT_EXISTS', 2);
|
|
1306
|
+
Reason_WRONG_PLAYER_TURN_instance = new Reason_0('WRONG_PLAYER_TURN', 3);
|
|
1307
|
+
Companion_getInstance_10();
|
|
1308
|
+
}
|
|
1309
|
+
function Reason_0(name, ordinal) {
|
|
1310
|
+
Enum.call(this, name, ordinal);
|
|
1311
|
+
}
|
|
1312
|
+
function Companion_9() {
|
|
1313
|
+
Companion_instance_10 = this;
|
|
1314
|
+
var tmp = this;
|
|
1315
|
+
// Inline function 'kotlin.arrayOf' call
|
|
1316
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1317
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1318
|
+
tmp.p2p_1 = [Companion_getInstance_10().o22()];
|
|
1319
|
+
}
|
|
1320
|
+
protoOf(Companion_9).o22 = function () {
|
|
1321
|
+
return $serializer_getInstance_4();
|
|
1322
|
+
};
|
|
1323
|
+
var Companion_instance_10;
|
|
1324
|
+
function Companion_getInstance_11() {
|
|
1325
|
+
if (Companion_instance_10 == null)
|
|
1326
|
+
new Companion_9();
|
|
1327
|
+
return Companion_instance_10;
|
|
1328
|
+
}
|
|
1263
1329
|
function $serializer_4() {
|
|
1264
1330
|
$serializer_instance_4 = this;
|
|
1265
1331
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1266
1332
|
tmp0_serialDesc.e1q('reason', false);
|
|
1267
|
-
this.
|
|
1333
|
+
this.q2p_1 = tmp0_serialDesc;
|
|
1268
1334
|
}
|
|
1269
|
-
protoOf($serializer_4).
|
|
1270
|
-
var tmp0_desc = this.
|
|
1335
|
+
protoOf($serializer_4).r2p = function (encoder, value) {
|
|
1336
|
+
var tmp0_desc = this.q2p_1;
|
|
1271
1337
|
var tmp1_output = encoder.q1i(tmp0_desc);
|
|
1272
|
-
|
|
1338
|
+
var tmp2_cached = Companion_getInstance_11().p2p_1;
|
|
1339
|
+
tmp1_output.h1k(tmp0_desc, 0, tmp2_cached[0], value.reason);
|
|
1273
1340
|
tmp1_output.r1i(tmp0_desc);
|
|
1274
1341
|
};
|
|
1275
1342
|
protoOf($serializer_4).j1f = function (encoder, value) {
|
|
1276
|
-
return this.
|
|
1343
|
+
return this.r2p(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
1277
1344
|
};
|
|
1278
1345
|
protoOf($serializer_4).k1f = function (decoder) {
|
|
1279
|
-
var tmp0_desc = this.
|
|
1346
|
+
var tmp0_desc = this.q2p_1;
|
|
1280
1347
|
var tmp1_flag = true;
|
|
1281
1348
|
var tmp2_index = 0;
|
|
1282
1349
|
var tmp3_bitMask0 = 0;
|
|
1283
1350
|
var tmp4_local0 = null;
|
|
1284
1351
|
var tmp5_input = decoder.q1i(tmp0_desc);
|
|
1352
|
+
var tmp6_cached = Companion_getInstance_11().p2p_1;
|
|
1285
1353
|
if (tmp5_input.g1j()) {
|
|
1286
|
-
tmp4_local0 = tmp5_input.
|
|
1354
|
+
tmp4_local0 = tmp5_input.c1j(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
1287
1355
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1288
1356
|
} else
|
|
1289
1357
|
while (tmp1_flag) {
|
|
@@ -1293,7 +1361,7 @@
|
|
|
1293
1361
|
tmp1_flag = false;
|
|
1294
1362
|
break;
|
|
1295
1363
|
case 0:
|
|
1296
|
-
tmp4_local0 = tmp5_input.
|
|
1364
|
+
tmp4_local0 = tmp5_input.c1j(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
1297
1365
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1298
1366
|
break;
|
|
1299
1367
|
default:
|
|
@@ -1304,13 +1372,13 @@
|
|
|
1304
1372
|
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1305
1373
|
};
|
|
1306
1374
|
protoOf($serializer_4).i1f = function () {
|
|
1307
|
-
return this.
|
|
1375
|
+
return this.q2p_1;
|
|
1308
1376
|
};
|
|
1309
1377
|
protoOf($serializer_4).t1q = function () {
|
|
1310
1378
|
// Inline function 'kotlin.arrayOf' call
|
|
1311
1379
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1312
1380
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1313
|
-
return [
|
|
1381
|
+
return [Companion_getInstance_11().p2p_1[0]];
|
|
1314
1382
|
};
|
|
1315
1383
|
var $serializer_instance_4;
|
|
1316
1384
|
function $serializer_getInstance_4() {
|
|
@@ -1320,7 +1388,7 @@
|
|
|
1320
1388
|
}
|
|
1321
1389
|
function GameErrorReason_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1322
1390
|
if (!(1 === (1 & seen0))) {
|
|
1323
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_4().
|
|
1391
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_4().q2p_1);
|
|
1324
1392
|
}
|
|
1325
1393
|
TerminationGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1326
1394
|
$this.reason = reason;
|
|
@@ -1329,7 +1397,24 @@
|
|
|
1329
1397
|
function GameErrorReason_init_$Create$(seen0, reason, serializationConstructorMarker) {
|
|
1330
1398
|
return GameErrorReason_init_$Init$(seen0, reason, serializationConstructorMarker, objectCreate(protoOf(GameErrorReason)));
|
|
1331
1399
|
}
|
|
1400
|
+
function Reason_SERVER_ERROR_getInstance() {
|
|
1401
|
+
Reason_initEntries_0();
|
|
1402
|
+
return Reason_SERVER_ERROR_instance;
|
|
1403
|
+
}
|
|
1404
|
+
function Reason_INTERNAL_ERROR_getInstance() {
|
|
1405
|
+
Reason_initEntries_0();
|
|
1406
|
+
return Reason_INTERNAL_ERROR_instance;
|
|
1407
|
+
}
|
|
1408
|
+
function Reason_GAME_NOT_EXISTS_getInstance_0() {
|
|
1409
|
+
Reason_initEntries_0();
|
|
1410
|
+
return Reason_GAME_NOT_EXISTS_instance_0;
|
|
1411
|
+
}
|
|
1412
|
+
function Reason_WRONG_PLAYER_TURN_getInstance() {
|
|
1413
|
+
Reason_initEntries_0();
|
|
1414
|
+
return Reason_WRONG_PLAYER_TURN_instance;
|
|
1415
|
+
}
|
|
1332
1416
|
function GameErrorReason(reason) {
|
|
1417
|
+
Companion_getInstance_11();
|
|
1333
1418
|
TerminationGameReason.call(this);
|
|
1334
1419
|
this.reason = reason;
|
|
1335
1420
|
}
|
|
@@ -1339,18 +1424,18 @@
|
|
|
1339
1424
|
protoOf(GameErrorReason).ee = function () {
|
|
1340
1425
|
return this.reason;
|
|
1341
1426
|
};
|
|
1342
|
-
protoOf(GameErrorReason).
|
|
1427
|
+
protoOf(GameErrorReason).s2p = function (reason) {
|
|
1343
1428
|
return new GameErrorReason(reason);
|
|
1344
1429
|
};
|
|
1345
1430
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
1346
1431
|
reason = reason === VOID ? this.reason : reason;
|
|
1347
|
-
return this.
|
|
1432
|
+
return this.s2p(reason);
|
|
1348
1433
|
};
|
|
1349
1434
|
protoOf(GameErrorReason).toString = function () {
|
|
1350
|
-
return 'GameErrorReason(reason=' + this.reason + ')';
|
|
1435
|
+
return 'GameErrorReason(reason=' + this.reason.toString() + ')';
|
|
1351
1436
|
};
|
|
1352
1437
|
protoOf(GameErrorReason).hashCode = function () {
|
|
1353
|
-
return
|
|
1438
|
+
return this.reason.hashCode();
|
|
1354
1439
|
};
|
|
1355
1440
|
protoOf(GameErrorReason).equals = function (other) {
|
|
1356
1441
|
if (this === other)
|
|
@@ -1358,12 +1443,12 @@
|
|
|
1358
1443
|
if (!(other instanceof GameErrorReason))
|
|
1359
1444
|
return false;
|
|
1360
1445
|
var tmp0_other_with_cast = other instanceof GameErrorReason ? other : THROW_CCE();
|
|
1361
|
-
if (!
|
|
1446
|
+
if (!this.reason.equals(tmp0_other_with_cast.reason))
|
|
1362
1447
|
return false;
|
|
1363
1448
|
return true;
|
|
1364
1449
|
};
|
|
1365
|
-
function _get_$
|
|
1366
|
-
return $this.
|
|
1450
|
+
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1451
|
+
return $this.t2p_1.e2();
|
|
1367
1452
|
}
|
|
1368
1453
|
function WaitingForConnectionReason$_anonymous__v65n7d() {
|
|
1369
1454
|
var tmp = WaitingForConnectionReason_getInstance();
|
|
@@ -1378,10 +1463,10 @@
|
|
|
1378
1463
|
TerminationGameReason.call(this);
|
|
1379
1464
|
var tmp = this;
|
|
1380
1465
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1381
|
-
tmp.
|
|
1466
|
+
tmp.t2p_1 = lazy(tmp_0, WaitingForConnectionReason$_anonymous__v65n7d);
|
|
1382
1467
|
}
|
|
1383
1468
|
protoOf(WaitingForConnectionReason).o22 = function () {
|
|
1384
|
-
return _get_$
|
|
1469
|
+
return _get_$cachedSerializer__te6jhj_4(this);
|
|
1385
1470
|
};
|
|
1386
1471
|
protoOf(WaitingForConnectionReason).e1r = function (typeParamsSerializers) {
|
|
1387
1472
|
return this.o22();
|
|
@@ -1406,8 +1491,8 @@
|
|
|
1406
1491
|
new WaitingForConnectionReason();
|
|
1407
1492
|
return WaitingForConnectionReason_instance;
|
|
1408
1493
|
}
|
|
1409
|
-
function _get_$
|
|
1410
|
-
return $this.
|
|
1494
|
+
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1495
|
+
return $this.u2p_1.e2();
|
|
1411
1496
|
}
|
|
1412
1497
|
function ProcessingReason$_anonymous__fvp7fk() {
|
|
1413
1498
|
var tmp = ProcessingReason_getInstance();
|
|
@@ -1422,10 +1507,10 @@
|
|
|
1422
1507
|
TerminationGameReason.call(this);
|
|
1423
1508
|
var tmp = this;
|
|
1424
1509
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1425
|
-
tmp.
|
|
1510
|
+
tmp.u2p_1 = lazy(tmp_0, ProcessingReason$_anonymous__fvp7fk);
|
|
1426
1511
|
}
|
|
1427
1512
|
protoOf(ProcessingReason).o22 = function () {
|
|
1428
|
-
return _get_$
|
|
1513
|
+
return _get_$cachedSerializer__te6jhj_5(this);
|
|
1429
1514
|
};
|
|
1430
1515
|
protoOf(ProcessingReason).e1r = function (typeParamsSerializers) {
|
|
1431
1516
|
return this.o22();
|
|
@@ -1461,7 +1546,7 @@
|
|
|
1461
1546
|
isBot = isBot === VOID ? false : isBot;
|
|
1462
1547
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1463
1548
|
payload = payload === VOID ? null : payload;
|
|
1464
|
-
this.
|
|
1549
|
+
this.v2p_1 = playerId;
|
|
1465
1550
|
this.name = name;
|
|
1466
1551
|
this.avatarUrl = avatarUrl;
|
|
1467
1552
|
this.isBot = isBot;
|
|
@@ -1469,25 +1554,25 @@
|
|
|
1469
1554
|
this.payload = payload;
|
|
1470
1555
|
}
|
|
1471
1556
|
protoOf(GameUserInfo).t2o = function () {
|
|
1472
|
-
return this.
|
|
1557
|
+
return this.v2p_1;
|
|
1473
1558
|
};
|
|
1474
1559
|
protoOf(GameUserInfo).o2 = function () {
|
|
1475
1560
|
return this.name;
|
|
1476
1561
|
};
|
|
1477
|
-
protoOf(GameUserInfo).
|
|
1562
|
+
protoOf(GameUserInfo).w2p = function () {
|
|
1478
1563
|
return this.avatarUrl;
|
|
1479
1564
|
};
|
|
1480
|
-
protoOf(GameUserInfo).
|
|
1565
|
+
protoOf(GameUserInfo).x2p = function () {
|
|
1481
1566
|
return this.isBot;
|
|
1482
1567
|
};
|
|
1483
|
-
protoOf(GameUserInfo).
|
|
1568
|
+
protoOf(GameUserInfo).y2p = function () {
|
|
1484
1569
|
return this.initialLuckyFactor;
|
|
1485
1570
|
};
|
|
1486
|
-
protoOf(GameUserInfo).
|
|
1571
|
+
protoOf(GameUserInfo).z2p = function () {
|
|
1487
1572
|
return this.payload;
|
|
1488
1573
|
};
|
|
1489
1574
|
protoOf(GameUserInfo).toString = function () {
|
|
1490
|
-
var tmp = 'GameUserInfo(' + ("playerId='" + this.
|
|
1575
|
+
var tmp = 'GameUserInfo(' + ("playerId='" + this.v2p_1 + "', ") + ("name='" + this.name + "', ");
|
|
1491
1576
|
// Inline function 'kotlin.takeIf' call
|
|
1492
1577
|
var this_0 = 'avatarUrl=' + this.avatarUrl + ', ';
|
|
1493
1578
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -1538,7 +1623,7 @@
|
|
|
1538
1623
|
return tmp_5 + (tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs) + ')';
|
|
1539
1624
|
};
|
|
1540
1625
|
protoOf(GameUserInfo).ee = function () {
|
|
1541
|
-
return this.
|
|
1626
|
+
return this.v2p_1;
|
|
1542
1627
|
};
|
|
1543
1628
|
protoOf(GameUserInfo).fe = function () {
|
|
1544
1629
|
return this.name;
|
|
@@ -1549,26 +1634,26 @@
|
|
|
1549
1634
|
protoOf(GameUserInfo).m2o = function () {
|
|
1550
1635
|
return this.isBot;
|
|
1551
1636
|
};
|
|
1552
|
-
protoOf(GameUserInfo).
|
|
1637
|
+
protoOf(GameUserInfo).a2q = function () {
|
|
1553
1638
|
return this.initialLuckyFactor;
|
|
1554
1639
|
};
|
|
1555
|
-
protoOf(GameUserInfo).
|
|
1640
|
+
protoOf(GameUserInfo).b2q = function () {
|
|
1556
1641
|
return this.payload;
|
|
1557
1642
|
};
|
|
1558
|
-
protoOf(GameUserInfo).
|
|
1643
|
+
protoOf(GameUserInfo).c2q = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload) {
|
|
1559
1644
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1560
1645
|
};
|
|
1561
1646
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload, $super) {
|
|
1562
|
-
playerId = playerId === VOID ? this.
|
|
1647
|
+
playerId = playerId === VOID ? this.v2p_1 : playerId;
|
|
1563
1648
|
name = name === VOID ? this.name : name;
|
|
1564
1649
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1565
1650
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1566
1651
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1567
1652
|
payload = payload === VOID ? this.payload : payload;
|
|
1568
|
-
return this.
|
|
1653
|
+
return this.c2q(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1569
1654
|
};
|
|
1570
1655
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1571
|
-
var result = getStringHashCode(this.
|
|
1656
|
+
var result = getStringHashCode(this.v2p_1);
|
|
1572
1657
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1573
1658
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1574
1659
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1582,7 +1667,7 @@
|
|
|
1582
1667
|
if (!(other instanceof GameUserInfo))
|
|
1583
1668
|
return false;
|
|
1584
1669
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1585
|
-
if (!(this.
|
|
1670
|
+
if (!(this.v2p_1 === tmp0_other_with_cast.v2p_1))
|
|
1586
1671
|
return false;
|
|
1587
1672
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1588
1673
|
return false;
|
|
@@ -1677,18 +1762,18 @@
|
|
|
1677
1762
|
return destination;
|
|
1678
1763
|
}
|
|
1679
1764
|
function PlayerIndex(playerId, index) {
|
|
1680
|
-
this.
|
|
1681
|
-
this.
|
|
1765
|
+
this.g2q_1 = playerId;
|
|
1766
|
+
this.h2q_1 = index;
|
|
1682
1767
|
}
|
|
1683
1768
|
protoOf(PlayerIndex).t2o = function () {
|
|
1684
|
-
return this.
|
|
1769
|
+
return this.g2q_1;
|
|
1685
1770
|
};
|
|
1686
1771
|
protoOf(PlayerIndex).toString = function () {
|
|
1687
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1772
|
+
return 'PlayerIndex(playerId=' + this.g2q_1 + ', index=' + this.h2q_1 + ')';
|
|
1688
1773
|
};
|
|
1689
1774
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1690
|
-
var result = getStringHashCode(this.
|
|
1691
|
-
result = imul(result, 31) + this.
|
|
1775
|
+
var result = getStringHashCode(this.g2q_1);
|
|
1776
|
+
result = imul(result, 31) + this.h2q_1 | 0;
|
|
1692
1777
|
return result;
|
|
1693
1778
|
};
|
|
1694
1779
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1697,9 +1782,9 @@
|
|
|
1697
1782
|
if (!(other instanceof PlayerIndex))
|
|
1698
1783
|
return false;
|
|
1699
1784
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1700
|
-
if (!(this.
|
|
1785
|
+
if (!(this.g2q_1 === tmp0_other_with_cast.g2q_1))
|
|
1701
1786
|
return false;
|
|
1702
|
-
if (!(this.
|
|
1787
|
+
if (!(this.h2q_1 === tmp0_other_with_cast.h2q_1))
|
|
1703
1788
|
return false;
|
|
1704
1789
|
return true;
|
|
1705
1790
|
};
|
|
@@ -1708,16 +1793,16 @@
|
|
|
1708
1793
|
return nextTo_0(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1709
1794
|
}
|
|
1710
1795
|
function PlayerIdContractOrderComparator(players) {
|
|
1711
|
-
this.
|
|
1796
|
+
this.i2q_1 = players;
|
|
1712
1797
|
}
|
|
1713
|
-
protoOf(PlayerIdContractOrderComparator).
|
|
1714
|
-
var indexA = this.
|
|
1715
|
-
var indexB = this.
|
|
1798
|
+
protoOf(PlayerIdContractOrderComparator).j2q = function (a, b) {
|
|
1799
|
+
var indexA = this.i2q_1.s1(a.playerId);
|
|
1800
|
+
var indexB = this.i2q_1.s1(b.playerId);
|
|
1716
1801
|
return compareTo(indexA, indexB);
|
|
1717
1802
|
};
|
|
1718
1803
|
protoOf(PlayerIdContractOrderComparator).compare = function (a, b) {
|
|
1719
1804
|
var tmp = (!(a == null) ? isInterface(a, PlayerIdContract) : false) ? a : THROW_CCE();
|
|
1720
|
-
return this.
|
|
1805
|
+
return this.j2q(tmp, (!(b == null) ? isInterface(b, PlayerIdContract) : false) ? b : THROW_CCE());
|
|
1721
1806
|
};
|
|
1722
1807
|
function byIdPlayerPredicate$lambda(id) {
|
|
1723
1808
|
_init_properties_Player_kt__qi83pd();
|
|
@@ -1730,7 +1815,7 @@
|
|
|
1730
1815
|
}
|
|
1731
1816
|
function playerTurnPredicate$lambda(p1) {
|
|
1732
1817
|
_init_properties_Player_kt__qi83pd();
|
|
1733
|
-
return p1.
|
|
1818
|
+
return p1.d2q().r2q();
|
|
1734
1819
|
}
|
|
1735
1820
|
var properties_initialized_Player_kt_56shkt;
|
|
1736
1821
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1740,72 +1825,82 @@
|
|
|
1740
1825
|
playerTurnPredicate = playerTurnPredicate$lambda;
|
|
1741
1826
|
}
|
|
1742
1827
|
}
|
|
1743
|
-
function
|
|
1744
|
-
this.
|
|
1828
|
+
function Companion_10() {
|
|
1829
|
+
this.s2q_1 = 75;
|
|
1745
1830
|
}
|
|
1746
|
-
protoOf(
|
|
1747
|
-
|
|
1748
|
-
|
|
1831
|
+
protoOf(Companion_10).t2q = function (_this__u8e3s4) {
|
|
1832
|
+
if (_this__u8e3s4 == null) {
|
|
1833
|
+
return new PlayerConnection(PlayerConnectionState_LIVE_getInstance(), System_instance.p2i());
|
|
1834
|
+
}
|
|
1835
|
+
var tmp;
|
|
1836
|
+
if (_this__u8e3s4.u2q_1.isLive) {
|
|
1837
|
+
tmp = _this__u8e3s4.z2q(VOID, System_instance.p2i());
|
|
1838
|
+
} else {
|
|
1839
|
+
tmp = _this__u8e3s4.y2q(PlayerConnectionState_LIVE_getInstance(), System_instance.p2i(), Duration__plus_impl_yu9v8f(_this__u8e3s4.w2q_1, _this__u8e3s4.x2q()));
|
|
1840
|
+
}
|
|
1841
|
+
return tmp;
|
|
1749
1842
|
};
|
|
1750
|
-
protoOf(
|
|
1751
|
-
|
|
1752
|
-
|
|
1843
|
+
protoOf(Companion_10).a2r = function (_this__u8e3s4, state) {
|
|
1844
|
+
if (_this__u8e3s4 == null) {
|
|
1845
|
+
return new PlayerConnection(state, System_instance.p2i());
|
|
1846
|
+
}
|
|
1847
|
+
return _this__u8e3s4.z2q(state, System_instance.p2i());
|
|
1753
1848
|
};
|
|
1754
|
-
var
|
|
1755
|
-
function
|
|
1756
|
-
return
|
|
1849
|
+
var Companion_instance_11;
|
|
1850
|
+
function Companion_getInstance_12() {
|
|
1851
|
+
return Companion_instance_11;
|
|
1757
1852
|
}
|
|
1758
1853
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1759
1854
|
connectionChangedTime = connectionChangedTime === VOID ? System_instance.p2i() : connectionChangedTime;
|
|
1760
1855
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().ai_1 : notLiveDurationRecord;
|
|
1761
|
-
this.
|
|
1762
|
-
this.
|
|
1763
|
-
this.
|
|
1856
|
+
this.u2q_1 = state;
|
|
1857
|
+
this.v2q_1 = connectionChangedTime;
|
|
1858
|
+
this.w2q_1 = notLiveDurationRecord;
|
|
1764
1859
|
}
|
|
1765
|
-
protoOf(PlayerConnection).
|
|
1766
|
-
return System_instance.p2i().u2j(this.
|
|
1860
|
+
protoOf(PlayerConnection).x2q = function () {
|
|
1861
|
+
return System_instance.p2i().u2j(this.v2q_1);
|
|
1767
1862
|
};
|
|
1768
|
-
protoOf(PlayerConnection).
|
|
1863
|
+
protoOf(PlayerConnection).b2r = function () {
|
|
1769
1864
|
var tmp;
|
|
1770
|
-
if (this.
|
|
1771
|
-
tmp = this.
|
|
1865
|
+
if (this.u2q_1.isLive) {
|
|
1866
|
+
tmp = this.w2q_1;
|
|
1772
1867
|
} else {
|
|
1773
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1868
|
+
tmp = Duration__plus_impl_yu9v8f(this.w2q_1, this.x2q());
|
|
1774
1869
|
}
|
|
1775
1870
|
return tmp;
|
|
1776
1871
|
};
|
|
1777
|
-
protoOf(PlayerConnection).
|
|
1872
|
+
protoOf(PlayerConnection).c2r = function (gameDuration) {
|
|
1778
1873
|
// Inline function 'kotlin.Long.div' call
|
|
1779
1874
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).m3() / 100.0;
|
|
1780
1875
|
// Inline function 'kotlin.math.round' call
|
|
1781
1876
|
// Inline function 'kotlin.Long.div' call
|
|
1782
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1877
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.b2r()).m3() / percent;
|
|
1783
1878
|
var tmp$ret$2 = round(x);
|
|
1784
1879
|
return numberToInt(tmp$ret$2);
|
|
1785
1880
|
};
|
|
1786
|
-
protoOf(PlayerConnection).
|
|
1787
|
-
return 100 - this.
|
|
1881
|
+
protoOf(PlayerConnection).d2r = function (gameDuration) {
|
|
1882
|
+
return 100 - this.c2r(gameDuration) | 0;
|
|
1788
1883
|
};
|
|
1789
|
-
protoOf(PlayerConnection).
|
|
1790
|
-
var percentage = this.
|
|
1884
|
+
protoOf(PlayerConnection).e2r = function (gameDuration) {
|
|
1885
|
+
var percentage = this.d2r(gameDuration);
|
|
1791
1886
|
return percentage >= 75;
|
|
1792
1887
|
};
|
|
1793
|
-
protoOf(PlayerConnection).
|
|
1888
|
+
protoOf(PlayerConnection).y2q = function (state, connectionChangedTime, notLiveDurationRecord) {
|
|
1794
1889
|
return new PlayerConnection(state, connectionChangedTime, notLiveDurationRecord);
|
|
1795
1890
|
};
|
|
1796
|
-
protoOf(PlayerConnection).
|
|
1797
|
-
state = state === VOID ? this.
|
|
1798
|
-
connectionChangedTime = connectionChangedTime === VOID ? this.
|
|
1799
|
-
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.
|
|
1800
|
-
return $super === VOID ? this.
|
|
1891
|
+
protoOf(PlayerConnection).z2q = function (state, connectionChangedTime, notLiveDurationRecord, $super) {
|
|
1892
|
+
state = state === VOID ? this.u2q_1 : state;
|
|
1893
|
+
connectionChangedTime = connectionChangedTime === VOID ? this.v2q_1 : connectionChangedTime;
|
|
1894
|
+
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.w2q_1 : notLiveDurationRecord;
|
|
1895
|
+
return $super === VOID ? this.y2q(state, connectionChangedTime, notLiveDurationRecord) : $super.y2q.call(this, state, connectionChangedTime, new Duration(notLiveDurationRecord));
|
|
1801
1896
|
};
|
|
1802
1897
|
protoOf(PlayerConnection).toString = function () {
|
|
1803
|
-
return 'PlayerConnection(state=' + this.
|
|
1898
|
+
return 'PlayerConnection(state=' + this.u2q_1.toString() + ', connectionChangedTime=' + this.v2q_1.toString() + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.w2q_1) + ')';
|
|
1804
1899
|
};
|
|
1805
1900
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1806
|
-
var result = this.
|
|
1807
|
-
result = imul(result, 31) + this.
|
|
1808
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1901
|
+
var result = this.u2q_1.hashCode();
|
|
1902
|
+
result = imul(result, 31) + this.v2q_1.hashCode() | 0;
|
|
1903
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.w2q_1) | 0;
|
|
1809
1904
|
return result;
|
|
1810
1905
|
};
|
|
1811
1906
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1814,19 +1909,19 @@
|
|
|
1814
1909
|
if (!(other instanceof PlayerConnection))
|
|
1815
1910
|
return false;
|
|
1816
1911
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1817
|
-
if (!this.
|
|
1912
|
+
if (!this.u2q_1.equals(tmp0_other_with_cast.u2q_1))
|
|
1818
1913
|
return false;
|
|
1819
|
-
if (!this.
|
|
1914
|
+
if (!this.v2q_1.equals(tmp0_other_with_cast.v2q_1))
|
|
1820
1915
|
return false;
|
|
1821
|
-
if (!equals(this.
|
|
1916
|
+
if (!equals(this.w2q_1, tmp0_other_with_cast.w2q_1))
|
|
1822
1917
|
return false;
|
|
1823
1918
|
return true;
|
|
1824
1919
|
};
|
|
1825
|
-
function _get_$
|
|
1826
|
-
return $this.
|
|
1920
|
+
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1921
|
+
return $this.f2r_1.e2();
|
|
1827
1922
|
}
|
|
1828
1923
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1829
|
-
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState',
|
|
1924
|
+
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
1830
1925
|
}
|
|
1831
1926
|
var PlayerConnectionState_LIVE_instance;
|
|
1832
1927
|
var PlayerConnectionState_TIMEOUT_instance;
|
|
@@ -1834,10 +1929,10 @@
|
|
|
1834
1929
|
var PlayerConnectionState_LEFT_instance;
|
|
1835
1930
|
var PlayerConnectionState_DISCONNECTING_instance;
|
|
1836
1931
|
var PlayerConnectionState_DELETED_instance;
|
|
1837
|
-
function
|
|
1932
|
+
function values_1() {
|
|
1838
1933
|
return [PlayerConnectionState_LIVE_getInstance(), PlayerConnectionState_TIMEOUT_getInstance(), PlayerConnectionState_LOST_CONNECTION_getInstance(), PlayerConnectionState_LEFT_getInstance(), PlayerConnectionState_DISCONNECTING_getInstance(), PlayerConnectionState_DELETED_getInstance()];
|
|
1839
1934
|
}
|
|
1840
|
-
function
|
|
1935
|
+
function valueOf_1(value) {
|
|
1841
1936
|
switch (value) {
|
|
1842
1937
|
case 'LIVE':
|
|
1843
1938
|
return PlayerConnectionState_LIVE_getInstance();
|
|
@@ -1857,24 +1952,24 @@
|
|
|
1857
1952
|
break;
|
|
1858
1953
|
}
|
|
1859
1954
|
}
|
|
1860
|
-
function
|
|
1861
|
-
|
|
1955
|
+
function Companion_11() {
|
|
1956
|
+
Companion_instance_12 = this;
|
|
1862
1957
|
var tmp = this;
|
|
1863
1958
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1864
|
-
tmp.
|
|
1959
|
+
tmp.f2r_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1865
1960
|
}
|
|
1866
|
-
protoOf(
|
|
1867
|
-
return _get_$
|
|
1961
|
+
protoOf(Companion_11).o22 = function () {
|
|
1962
|
+
return _get_$cachedSerializer__te6jhj_6(this);
|
|
1868
1963
|
};
|
|
1869
|
-
protoOf(
|
|
1964
|
+
protoOf(Companion_11).e1r = function (typeParamsSerializers) {
|
|
1870
1965
|
return this.o22();
|
|
1871
1966
|
};
|
|
1872
|
-
var
|
|
1873
|
-
function
|
|
1967
|
+
var Companion_instance_12;
|
|
1968
|
+
function Companion_getInstance_13() {
|
|
1874
1969
|
PlayerConnectionState_initEntries();
|
|
1875
|
-
if (
|
|
1876
|
-
new
|
|
1877
|
-
return
|
|
1970
|
+
if (Companion_instance_12 == null)
|
|
1971
|
+
new Companion_11();
|
|
1972
|
+
return Companion_instance_12;
|
|
1878
1973
|
}
|
|
1879
1974
|
var PlayerConnectionState_entriesInitialized;
|
|
1880
1975
|
function PlayerConnectionState_initEntries() {
|
|
@@ -1887,39 +1982,39 @@
|
|
|
1887
1982
|
PlayerConnectionState_LEFT_instance = new PlayerConnectionState('LEFT', 3);
|
|
1888
1983
|
PlayerConnectionState_DISCONNECTING_instance = new PlayerConnectionState('DISCONNECTING', 4);
|
|
1889
1984
|
PlayerConnectionState_DELETED_instance = new PlayerConnectionState('DELETED', 5);
|
|
1890
|
-
|
|
1985
|
+
Companion_getInstance_13();
|
|
1891
1986
|
}
|
|
1892
1987
|
function PlayerConnectionState(name, ordinal) {
|
|
1893
1988
|
Enum.call(this, name, ordinal);
|
|
1894
1989
|
}
|
|
1895
|
-
protoOf(PlayerConnectionState).
|
|
1990
|
+
protoOf(PlayerConnectionState).i2r = function () {
|
|
1896
1991
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1897
1992
|
};
|
|
1898
|
-
protoOf(PlayerConnectionState).
|
|
1993
|
+
protoOf(PlayerConnectionState).j2r = function () {
|
|
1899
1994
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1900
1995
|
};
|
|
1901
|
-
protoOf(PlayerConnectionState).
|
|
1996
|
+
protoOf(PlayerConnectionState).k2r = function () {
|
|
1902
1997
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1903
1998
|
};
|
|
1904
|
-
protoOf(PlayerConnectionState).
|
|
1999
|
+
protoOf(PlayerConnectionState).l2r = function () {
|
|
1905
2000
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1906
2001
|
};
|
|
1907
|
-
protoOf(PlayerConnectionState).
|
|
2002
|
+
protoOf(PlayerConnectionState).m2r = function () {
|
|
1908
2003
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1909
2004
|
};
|
|
1910
|
-
protoOf(PlayerConnectionState).
|
|
2005
|
+
protoOf(PlayerConnectionState).n2r = function () {
|
|
1911
2006
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1912
2007
|
};
|
|
1913
|
-
protoOf(PlayerConnectionState).
|
|
2008
|
+
protoOf(PlayerConnectionState).o2r = function () {
|
|
1914
2009
|
return this.isDisconnected || this.isDeleted;
|
|
1915
2010
|
};
|
|
1916
|
-
protoOf(PlayerConnectionState).
|
|
2011
|
+
protoOf(PlayerConnectionState).p2r = function () {
|
|
1917
2012
|
return this.isTimeOut || this.isLostConnection || this.isLeft;
|
|
1918
2013
|
};
|
|
1919
|
-
protoOf(PlayerConnectionState).
|
|
2014
|
+
protoOf(PlayerConnectionState).q2r = function () {
|
|
1920
2015
|
return this.isTimeOut || this.isLeft || this.isDeleted;
|
|
1921
2016
|
};
|
|
1922
|
-
protoOf(PlayerConnectionState).
|
|
2017
|
+
protoOf(PlayerConnectionState).r2r = function () {
|
|
1923
2018
|
return this.isLostConnection;
|
|
1924
2019
|
};
|
|
1925
2020
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1946,36 +2041,36 @@
|
|
|
1946
2041
|
PlayerConnectionState_initEntries();
|
|
1947
2042
|
return PlayerConnectionState_DELETED_instance;
|
|
1948
2043
|
}
|
|
1949
|
-
function _get_$
|
|
1950
|
-
return $this.
|
|
2044
|
+
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2045
|
+
return $this.s2r_1.e2();
|
|
1951
2046
|
}
|
|
1952
2047
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1953
|
-
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState',
|
|
2048
|
+
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
1954
2049
|
}
|
|
1955
2050
|
var PlayerWaitingState_IDLE_instance;
|
|
1956
2051
|
var PlayerWaitingState_IN_PROGRESS_instance;
|
|
1957
2052
|
var PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance;
|
|
1958
|
-
function
|
|
2053
|
+
function values_2() {
|
|
1959
2054
|
return [PlayerWaitingState_IDLE_getInstance(), PlayerWaitingState_IN_PROGRESS_getInstance(), PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance()];
|
|
1960
2055
|
}
|
|
1961
|
-
function
|
|
1962
|
-
|
|
2056
|
+
function Companion_12() {
|
|
2057
|
+
Companion_instance_13 = this;
|
|
1963
2058
|
var tmp = this;
|
|
1964
2059
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1965
|
-
tmp.
|
|
2060
|
+
tmp.s2r_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1966
2061
|
}
|
|
1967
|
-
protoOf(
|
|
1968
|
-
return _get_$
|
|
2062
|
+
protoOf(Companion_12).o22 = function () {
|
|
2063
|
+
return _get_$cachedSerializer__te6jhj_7(this);
|
|
1969
2064
|
};
|
|
1970
|
-
protoOf(
|
|
2065
|
+
protoOf(Companion_12).e1r = function (typeParamsSerializers) {
|
|
1971
2066
|
return this.o22();
|
|
1972
2067
|
};
|
|
1973
|
-
var
|
|
1974
|
-
function
|
|
2068
|
+
var Companion_instance_13;
|
|
2069
|
+
function Companion_getInstance_14() {
|
|
1975
2070
|
PlayerWaitingState_initEntries();
|
|
1976
|
-
if (
|
|
1977
|
-
new
|
|
1978
|
-
return
|
|
2071
|
+
if (Companion_instance_13 == null)
|
|
2072
|
+
new Companion_12();
|
|
2073
|
+
return Companion_instance_13;
|
|
1979
2074
|
}
|
|
1980
2075
|
var PlayerWaitingState_entriesInitialized;
|
|
1981
2076
|
function PlayerWaitingState_initEntries() {
|
|
@@ -1985,34 +2080,34 @@
|
|
|
1985
2080
|
PlayerWaitingState_IDLE_instance = new PlayerWaitingState('IDLE', 0);
|
|
1986
2081
|
PlayerWaitingState_IN_PROGRESS_instance = new PlayerWaitingState('IN_PROGRESS', 1);
|
|
1987
2082
|
PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance = new PlayerWaitingState('IN_PROGRESS_ATTENTION_MODE', 2);
|
|
1988
|
-
|
|
2083
|
+
Companion_getInstance_14();
|
|
1989
2084
|
}
|
|
1990
2085
|
function PlayerWaitingState(name, ordinal) {
|
|
1991
2086
|
Enum.call(this, name, ordinal);
|
|
1992
2087
|
}
|
|
1993
|
-
protoOf(PlayerWaitingState).
|
|
2088
|
+
protoOf(PlayerWaitingState).v2r = function () {
|
|
1994
2089
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1995
2090
|
};
|
|
1996
|
-
protoOf(PlayerWaitingState).
|
|
2091
|
+
protoOf(PlayerWaitingState).w2r = function () {
|
|
1997
2092
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1998
2093
|
};
|
|
1999
|
-
function
|
|
2094
|
+
function Companion_13() {
|
|
2000
2095
|
}
|
|
2001
|
-
protoOf(
|
|
2002
|
-
var
|
|
2003
|
-
return new PlayerState(null, null, null,
|
|
2096
|
+
protoOf(Companion_13).x2r = function (connection) {
|
|
2097
|
+
var tmp2_state = PlayerWaitingState_IDLE_getInstance();
|
|
2098
|
+
return new PlayerState(null, null, null, tmp2_state, false, null, connection);
|
|
2004
2099
|
};
|
|
2005
|
-
protoOf(
|
|
2006
|
-
return _this__u8e3s4.
|
|
2100
|
+
protoOf(Companion_13).y2r = function (_this__u8e3s4) {
|
|
2101
|
+
return _this__u8e3s4.z2r(null, null, VOID, PlayerWaitingState_IDLE_getInstance(), VOID, null);
|
|
2007
2102
|
};
|
|
2008
|
-
protoOf(
|
|
2009
|
-
var
|
|
2010
|
-
var
|
|
2011
|
-
return _this__u8e3s4.
|
|
2103
|
+
protoOf(Companion_13).a2s = function (_this__u8e3s4, playerTurnTimeout, tag) {
|
|
2104
|
+
var tmp3_startFromTime = System_instance.p2i();
|
|
2105
|
+
var tmp4_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
2106
|
+
return _this__u8e3s4.z2r(tmp3_startFromTime, playerTurnTimeout, VOID, tmp4_state, false, tag);
|
|
2012
2107
|
};
|
|
2013
|
-
var
|
|
2014
|
-
function
|
|
2015
|
-
return
|
|
2108
|
+
var Companion_instance_14;
|
|
2109
|
+
function Companion_getInstance_15() {
|
|
2110
|
+
return Companion_instance_14;
|
|
2016
2111
|
}
|
|
2017
2112
|
function PlayerWaitingState_IDLE_getInstance() {
|
|
2018
2113
|
PlayerWaitingState_initEntries();
|
|
@@ -2029,17 +2124,17 @@
|
|
|
2029
2124
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2030
2125
|
tag = tag === VOID ? null : tag;
|
|
2031
2126
|
connection = connection === VOID ? null : connection;
|
|
2032
|
-
this.
|
|
2033
|
-
this.
|
|
2034
|
-
this.
|
|
2035
|
-
this.
|
|
2036
|
-
this.
|
|
2037
|
-
this.
|
|
2038
|
-
this.
|
|
2039
|
-
}
|
|
2040
|
-
protoOf(PlayerState).
|
|
2127
|
+
this.k2q_1 = startFromTime;
|
|
2128
|
+
this.l2q_1 = playerTurnTimeout;
|
|
2129
|
+
this.m2q_1 = waitPlayerUntilTime;
|
|
2130
|
+
this.n2q_1 = state;
|
|
2131
|
+
this.o2q_1 = ready;
|
|
2132
|
+
this.p2q_1 = tag;
|
|
2133
|
+
this.q2q_1 = connection;
|
|
2134
|
+
}
|
|
2135
|
+
protoOf(PlayerState).b2s = function () {
|
|
2041
2136
|
// Inline function 'kotlin.requireNotNull' call
|
|
2042
|
-
var value = this.
|
|
2137
|
+
var value = this.q2q_1;
|
|
2043
2138
|
// Inline function 'kotlin.contracts.contract' call
|
|
2044
2139
|
var tmp$ret$1;
|
|
2045
2140
|
$l$block: {
|
|
@@ -2056,9 +2151,9 @@
|
|
|
2056
2151
|
}
|
|
2057
2152
|
return tmp$ret$1;
|
|
2058
2153
|
};
|
|
2059
|
-
protoOf(PlayerState).
|
|
2154
|
+
protoOf(PlayerState).c2s = function () {
|
|
2060
2155
|
// Inline function 'kotlin.requireNotNull' call
|
|
2061
|
-
var value = this.
|
|
2156
|
+
var value = this.p2q_1;
|
|
2062
2157
|
// Inline function 'kotlin.contracts.contract' call
|
|
2063
2158
|
var tmp$ret$1;
|
|
2064
2159
|
$l$block: {
|
|
@@ -2075,17 +2170,17 @@
|
|
|
2075
2170
|
}
|
|
2076
2171
|
return tmp$ret$1;
|
|
2077
2172
|
};
|
|
2078
|
-
protoOf(PlayerState).
|
|
2079
|
-
var tmp0_elvis_lhs = this.
|
|
2173
|
+
protoOf(PlayerState).d2s = function () {
|
|
2174
|
+
var tmp0_elvis_lhs = this.p2q_1;
|
|
2080
2175
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2081
2176
|
};
|
|
2082
2177
|
protoOf(PlayerState).toString = function () {
|
|
2083
2178
|
// Inline function 'kotlin.takeIf' call
|
|
2084
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
2179
|
+
var this_0 = 'startFromTime=' + toString(this.k2q_1) + ', ';
|
|
2085
2180
|
// Inline function 'kotlin.contracts.contract' call
|
|
2086
2181
|
var tmp;
|
|
2087
2182
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2088
|
-
if (!(this.
|
|
2183
|
+
if (!(this.k2q_1 == null)) {
|
|
2089
2184
|
tmp = this_0;
|
|
2090
2185
|
} else {
|
|
2091
2186
|
tmp = null;
|
|
@@ -2093,11 +2188,11 @@
|
|
|
2093
2188
|
var tmp0_elvis_lhs = tmp;
|
|
2094
2189
|
var tmp_0 = 'PlayerState(' + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
|
|
2095
2190
|
// Inline function 'kotlin.takeIf' call
|
|
2096
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
2191
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.l2q_1) + ', ';
|
|
2097
2192
|
// Inline function 'kotlin.contracts.contract' call
|
|
2098
2193
|
var tmp_1;
|
|
2099
2194
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2100
|
-
if (!(this.
|
|
2195
|
+
if (!(this.l2q_1 == null)) {
|
|
2101
2196
|
tmp_1 = this_1;
|
|
2102
2197
|
} else {
|
|
2103
2198
|
tmp_1 = null;
|
|
@@ -2105,23 +2200,23 @@
|
|
|
2105
2200
|
var tmp1_elvis_lhs = tmp_1;
|
|
2106
2201
|
var tmp_2 = tmp_0 + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2107
2202
|
// Inline function 'kotlin.takeIf' call
|
|
2108
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
2203
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.m2q_1) + ', ';
|
|
2109
2204
|
// Inline function 'kotlin.contracts.contract' call
|
|
2110
2205
|
var tmp_3;
|
|
2111
2206
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2112
|
-
if (!(this.
|
|
2207
|
+
if (!(this.m2q_1 == null)) {
|
|
2113
2208
|
tmp_3 = this_2;
|
|
2114
2209
|
} else {
|
|
2115
2210
|
tmp_3 = null;
|
|
2116
2211
|
}
|
|
2117
2212
|
var tmp2_elvis_lhs = tmp_3;
|
|
2118
|
-
var tmp_4 = tmp_2 + (tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs) + ('state=' + this.
|
|
2213
|
+
var tmp_4 = tmp_2 + (tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs) + ('state=' + this.n2q_1.toString() + ', ');
|
|
2119
2214
|
// Inline function 'kotlin.takeIf' call
|
|
2120
|
-
var this_3 = 'ready=' + this.
|
|
2215
|
+
var this_3 = 'ready=' + this.o2q_1 + ', ';
|
|
2121
2216
|
// Inline function 'kotlin.contracts.contract' call
|
|
2122
2217
|
var tmp_5;
|
|
2123
2218
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2124
|
-
if (this.
|
|
2219
|
+
if (this.o2q_1) {
|
|
2125
2220
|
tmp_5 = this_3;
|
|
2126
2221
|
} else {
|
|
2127
2222
|
tmp_5 = null;
|
|
@@ -2129,11 +2224,11 @@
|
|
|
2129
2224
|
var tmp3_elvis_lhs = tmp_5;
|
|
2130
2225
|
var tmp_6 = tmp_4 + (tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
|
|
2131
2226
|
// Inline function 'kotlin.takeIf' call
|
|
2132
|
-
var this_4 = 'tag=' + this.
|
|
2227
|
+
var this_4 = 'tag=' + this.p2q_1 + ', ';
|
|
2133
2228
|
// Inline function 'kotlin.contracts.contract' call
|
|
2134
2229
|
var tmp_7;
|
|
2135
2230
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2136
|
-
if (!(this.
|
|
2231
|
+
if (!(this.p2q_1 == null)) {
|
|
2137
2232
|
tmp_7 = this_4;
|
|
2138
2233
|
} else {
|
|
2139
2234
|
tmp_7 = null;
|
|
@@ -2141,11 +2236,11 @@
|
|
|
2141
2236
|
var tmp4_elvis_lhs = tmp_7;
|
|
2142
2237
|
var tmp_8 = tmp_6 + (tmp4_elvis_lhs == null ? '' : tmp4_elvis_lhs);
|
|
2143
2238
|
// Inline function 'kotlin.takeIf' call
|
|
2144
|
-
var this_5 = 'connection=' + toString(this.
|
|
2239
|
+
var this_5 = 'connection=' + toString(this.q2q_1);
|
|
2145
2240
|
// Inline function 'kotlin.contracts.contract' call
|
|
2146
2241
|
var tmp_9;
|
|
2147
2242
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2148
|
-
if (!(this.
|
|
2243
|
+
if (!(this.q2q_1 == null)) {
|
|
2149
2244
|
tmp_9 = this_5;
|
|
2150
2245
|
} else {
|
|
2151
2246
|
tmp_9 = null;
|
|
@@ -2153,30 +2248,30 @@
|
|
|
2153
2248
|
var tmp5_elvis_lhs = tmp_9;
|
|
2154
2249
|
return tmp_8 + (tmp5_elvis_lhs == null ? '' : tmp5_elvis_lhs) + ')';
|
|
2155
2250
|
};
|
|
2156
|
-
protoOf(PlayerState).
|
|
2157
|
-
return this.
|
|
2251
|
+
protoOf(PlayerState).r2q = function () {
|
|
2252
|
+
return this.n2q_1.v2r() || this.n2q_1.w2r();
|
|
2158
2253
|
};
|
|
2159
|
-
protoOf(PlayerState).
|
|
2254
|
+
protoOf(PlayerState).e2s = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2160
2255
|
return new PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2161
2256
|
};
|
|
2162
|
-
protoOf(PlayerState).
|
|
2163
|
-
startFromTime = startFromTime === VOID ? this.
|
|
2164
|
-
playerTurnTimeout = playerTurnTimeout === VOID ? this.
|
|
2165
|
-
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.
|
|
2166
|
-
state = state === VOID ? this.
|
|
2167
|
-
ready = ready === VOID ? this.
|
|
2168
|
-
tag = tag === VOID ? this.
|
|
2169
|
-
connection = connection === VOID ? this.
|
|
2170
|
-
return $super === VOID ? this.
|
|
2257
|
+
protoOf(PlayerState).z2r = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, $super) {
|
|
2258
|
+
startFromTime = startFromTime === VOID ? this.k2q_1 : startFromTime;
|
|
2259
|
+
playerTurnTimeout = playerTurnTimeout === VOID ? this.l2q_1 : playerTurnTimeout;
|
|
2260
|
+
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.m2q_1 : waitPlayerUntilTime;
|
|
2261
|
+
state = state === VOID ? this.n2q_1 : state;
|
|
2262
|
+
ready = ready === VOID ? this.o2q_1 : ready;
|
|
2263
|
+
tag = tag === VOID ? this.p2q_1 : tag;
|
|
2264
|
+
connection = connection === VOID ? this.q2q_1 : connection;
|
|
2265
|
+
return $super === VOID ? this.e2s(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) : $super.e2s.call(this, startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2171
2266
|
};
|
|
2172
2267
|
protoOf(PlayerState).hashCode = function () {
|
|
2173
|
-
var result = this.
|
|
2174
|
-
result = imul(result, 31) + (this.g2q_1 == null ? 0 : this.g2q_1.hashCode()) | 0;
|
|
2175
|
-
result = imul(result, 31) + (this.h2q_1 == null ? 0 : this.h2q_1.hashCode()) | 0;
|
|
2176
|
-
result = imul(result, 31) + this.i2q_1.hashCode() | 0;
|
|
2177
|
-
result = imul(result, 31) + getBooleanHashCode(this.j2q_1) | 0;
|
|
2178
|
-
result = imul(result, 31) + (this.k2q_1 == null ? 0 : getStringHashCode(this.k2q_1)) | 0;
|
|
2268
|
+
var result = this.k2q_1 == null ? 0 : this.k2q_1.hashCode();
|
|
2179
2269
|
result = imul(result, 31) + (this.l2q_1 == null ? 0 : this.l2q_1.hashCode()) | 0;
|
|
2270
|
+
result = imul(result, 31) + (this.m2q_1 == null ? 0 : this.m2q_1.hashCode()) | 0;
|
|
2271
|
+
result = imul(result, 31) + this.n2q_1.hashCode() | 0;
|
|
2272
|
+
result = imul(result, 31) + getBooleanHashCode(this.o2q_1) | 0;
|
|
2273
|
+
result = imul(result, 31) + (this.p2q_1 == null ? 0 : getStringHashCode(this.p2q_1)) | 0;
|
|
2274
|
+
result = imul(result, 31) + (this.q2q_1 == null ? 0 : this.q2q_1.hashCode()) | 0;
|
|
2180
2275
|
return result;
|
|
2181
2276
|
};
|
|
2182
2277
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -2185,30 +2280,30 @@
|
|
|
2185
2280
|
if (!(other instanceof PlayerState))
|
|
2186
2281
|
return false;
|
|
2187
2282
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
2188
|
-
if (!equals(this.
|
|
2283
|
+
if (!equals(this.k2q_1, tmp0_other_with_cast.k2q_1))
|
|
2189
2284
|
return false;
|
|
2190
|
-
if (!equals(this.
|
|
2285
|
+
if (!equals(this.l2q_1, tmp0_other_with_cast.l2q_1))
|
|
2191
2286
|
return false;
|
|
2192
|
-
if (!equals(this.
|
|
2287
|
+
if (!equals(this.m2q_1, tmp0_other_with_cast.m2q_1))
|
|
2193
2288
|
return false;
|
|
2194
|
-
if (!this.
|
|
2289
|
+
if (!this.n2q_1.equals(tmp0_other_with_cast.n2q_1))
|
|
2195
2290
|
return false;
|
|
2196
|
-
if (!(this.
|
|
2291
|
+
if (!(this.o2q_1 === tmp0_other_with_cast.o2q_1))
|
|
2197
2292
|
return false;
|
|
2198
|
-
if (!(this.
|
|
2293
|
+
if (!(this.p2q_1 == tmp0_other_with_cast.p2q_1))
|
|
2199
2294
|
return false;
|
|
2200
|
-
if (!equals(this.
|
|
2295
|
+
if (!equals(this.q2q_1, tmp0_other_with_cast.q2q_1))
|
|
2201
2296
|
return false;
|
|
2202
2297
|
return true;
|
|
2203
2298
|
};
|
|
2204
2299
|
function Team(playerIds) {
|
|
2205
|
-
this.
|
|
2300
|
+
this.f2s_1 = playerIds;
|
|
2206
2301
|
}
|
|
2207
2302
|
protoOf(Team).toString = function () {
|
|
2208
|
-
return 'Team(playerIds=' + toString_0(this.
|
|
2303
|
+
return 'Team(playerIds=' + toString_0(this.f2s_1) + ')';
|
|
2209
2304
|
};
|
|
2210
2305
|
protoOf(Team).hashCode = function () {
|
|
2211
|
-
return hashCode(this.
|
|
2306
|
+
return hashCode(this.f2s_1);
|
|
2212
2307
|
};
|
|
2213
2308
|
protoOf(Team).equals = function (other) {
|
|
2214
2309
|
if (this === other)
|
|
@@ -2216,33 +2311,33 @@
|
|
|
2216
2311
|
if (!(other instanceof Team))
|
|
2217
2312
|
return false;
|
|
2218
2313
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
2219
|
-
if (!equals(this.
|
|
2314
|
+
if (!equals(this.f2s_1, tmp0_other_with_cast.f2s_1))
|
|
2220
2315
|
return false;
|
|
2221
2316
|
return true;
|
|
2222
2317
|
};
|
|
2223
|
-
function
|
|
2318
|
+
function Companion_14() {
|
|
2224
2319
|
}
|
|
2225
|
-
protoOf(
|
|
2320
|
+
protoOf(Companion_14).kharkiv = function () {
|
|
2226
2321
|
return new Rules(true, true, true, false, false, true, true, true, false, false, false, true, 50, true, false, true, false);
|
|
2227
2322
|
};
|
|
2228
|
-
protoOf(
|
|
2323
|
+
protoOf(Companion_14).saltivka = function () {
|
|
2229
2324
|
return new Rules(true, true, true, false, false, true, false, false, false, false, false, true, 50, true, false, false, false);
|
|
2230
2325
|
};
|
|
2231
|
-
protoOf(
|
|
2326
|
+
protoOf(Companion_14).klabor = function () {
|
|
2232
2327
|
return new Rules(true, false, true, false, true, true, false, true, false, false, true, true, 100, true, true, false, false);
|
|
2233
2328
|
};
|
|
2234
|
-
protoOf(
|
|
2329
|
+
protoOf(Companion_14).debertzCommon = function () {
|
|
2235
2330
|
return new Rules(true, false, false, false, true, true, true, false, false, true, false, false, 0, false, true, false, false);
|
|
2236
2331
|
};
|
|
2237
|
-
protoOf(
|
|
2332
|
+
protoOf(Companion_14).belot = function () {
|
|
2238
2333
|
return new Rules(true, true, false, false, true, true, true, false, true, true, false, false, 50, false, true, false, false);
|
|
2239
2334
|
};
|
|
2240
|
-
protoOf(
|
|
2335
|
+
protoOf(Companion_14).custom = function () {
|
|
2241
2336
|
return new Rules(false, false, false, false, true, true, true, false, false, false, false, false, 50, false, false, false, false);
|
|
2242
2337
|
};
|
|
2243
|
-
var
|
|
2244
|
-
function
|
|
2245
|
-
return
|
|
2338
|
+
var Companion_instance_15;
|
|
2339
|
+
function Companion_getInstance_16() {
|
|
2340
|
+
return Companion_instance_15;
|
|
2246
2341
|
}
|
|
2247
2342
|
function Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2248
2343
|
this.needToPutHigherTrump = needToPutHigherTrump;
|
|
@@ -2263,55 +2358,55 @@
|
|
|
2263
2358
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
2264
2359
|
this.tenCardsInHand = tenCardsInHand;
|
|
2265
2360
|
}
|
|
2266
|
-
protoOf(Rules).
|
|
2361
|
+
protoOf(Rules).g2s = function () {
|
|
2267
2362
|
return this.needToPutHigherTrump;
|
|
2268
2363
|
};
|
|
2269
|
-
protoOf(Rules).
|
|
2364
|
+
protoOf(Rules).h2s = function () {
|
|
2270
2365
|
return this.distributePoints;
|
|
2271
2366
|
};
|
|
2272
|
-
protoOf(Rules).
|
|
2367
|
+
protoOf(Rules).i2s = function () {
|
|
2273
2368
|
return this.protectBella;
|
|
2274
2369
|
};
|
|
2275
|
-
protoOf(Rules).
|
|
2370
|
+
protoOf(Rules).j2s = function () {
|
|
2276
2371
|
return this.oneTryToProtectBella;
|
|
2277
2372
|
};
|
|
2278
|
-
protoOf(Rules).
|
|
2373
|
+
protoOf(Rules).k2s = function () {
|
|
2279
2374
|
return this.enableFourSevensCombination;
|
|
2280
2375
|
};
|
|
2281
|
-
protoOf(Rules).
|
|
2376
|
+
protoOf(Rules).l2s = function () {
|
|
2282
2377
|
return this.enableTrumpSevenCombination;
|
|
2283
2378
|
};
|
|
2284
|
-
protoOf(Rules).
|
|
2379
|
+
protoOf(Rules).m2s = function () {
|
|
2285
2380
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2286
2381
|
};
|
|
2287
|
-
protoOf(Rules).
|
|
2382
|
+
protoOf(Rules).n2s = function () {
|
|
2288
2383
|
return this.playerWhoChooseSuitGoFirst;
|
|
2289
2384
|
};
|
|
2290
|
-
protoOf(Rules).
|
|
2385
|
+
protoOf(Rules).o2s = function () {
|
|
2291
2386
|
return this.winnerShuffleCards;
|
|
2292
2387
|
};
|
|
2293
|
-
protoOf(Rules).
|
|
2388
|
+
protoOf(Rules).p2s = function () {
|
|
2294
2389
|
return this.playWithoutLiabilities;
|
|
2295
2390
|
};
|
|
2296
|
-
protoOf(Rules).
|
|
2391
|
+
protoOf(Rules).q2s = function () {
|
|
2297
2392
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2298
2393
|
};
|
|
2299
|
-
protoOf(Rules).
|
|
2394
|
+
protoOf(Rules).r2s = function () {
|
|
2300
2395
|
return this.enableFineIfNoBribes;
|
|
2301
2396
|
};
|
|
2302
|
-
protoOf(Rules).
|
|
2397
|
+
protoOf(Rules).s2s = function () {
|
|
2303
2398
|
return this.fineIfNoBribes;
|
|
2304
2399
|
};
|
|
2305
|
-
protoOf(Rules).
|
|
2400
|
+
protoOf(Rules).t2s = function () {
|
|
2306
2401
|
return this.enableFineAfterThirdByte;
|
|
2307
2402
|
};
|
|
2308
|
-
protoOf(Rules).
|
|
2403
|
+
protoOf(Rules).u2s = function () {
|
|
2309
2404
|
return this.checkTrumpCombination;
|
|
2310
2405
|
};
|
|
2311
|
-
protoOf(Rules).
|
|
2406
|
+
protoOf(Rules).v2s = function () {
|
|
2312
2407
|
return this.checkOnlyTrumpDebertz;
|
|
2313
2408
|
};
|
|
2314
|
-
protoOf(Rules).
|
|
2409
|
+
protoOf(Rules).w2s = function () {
|
|
2315
2410
|
return this.tenCardsInHand;
|
|
2316
2411
|
};
|
|
2317
2412
|
protoOf(Rules).toString = function () {
|
|
@@ -2520,46 +2615,46 @@
|
|
|
2520
2615
|
protoOf(Rules).m2o = function () {
|
|
2521
2616
|
return this.oneTryToProtectBella;
|
|
2522
2617
|
};
|
|
2523
|
-
protoOf(Rules).
|
|
2618
|
+
protoOf(Rules).a2q = function () {
|
|
2524
2619
|
return this.enableFourSevensCombination;
|
|
2525
2620
|
};
|
|
2526
|
-
protoOf(Rules).
|
|
2621
|
+
protoOf(Rules).b2q = function () {
|
|
2527
2622
|
return this.enableTrumpSevenCombination;
|
|
2528
2623
|
};
|
|
2529
|
-
protoOf(Rules).
|
|
2624
|
+
protoOf(Rules).x2s = function () {
|
|
2530
2625
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2531
2626
|
};
|
|
2532
|
-
protoOf(Rules).
|
|
2627
|
+
protoOf(Rules).y2s = function () {
|
|
2533
2628
|
return this.playerWhoChooseSuitGoFirst;
|
|
2534
2629
|
};
|
|
2535
|
-
protoOf(Rules).
|
|
2630
|
+
protoOf(Rules).z2s = function () {
|
|
2536
2631
|
return this.winnerShuffleCards;
|
|
2537
2632
|
};
|
|
2538
|
-
protoOf(Rules).
|
|
2633
|
+
protoOf(Rules).a2t = function () {
|
|
2539
2634
|
return this.playWithoutLiabilities;
|
|
2540
2635
|
};
|
|
2541
|
-
protoOf(Rules).
|
|
2636
|
+
protoOf(Rules).b2t = function () {
|
|
2542
2637
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2543
2638
|
};
|
|
2544
|
-
protoOf(Rules).
|
|
2639
|
+
protoOf(Rules).c2t = function () {
|
|
2545
2640
|
return this.enableFineIfNoBribes;
|
|
2546
2641
|
};
|
|
2547
|
-
protoOf(Rules).
|
|
2642
|
+
protoOf(Rules).d2t = function () {
|
|
2548
2643
|
return this.fineIfNoBribes;
|
|
2549
2644
|
};
|
|
2550
|
-
protoOf(Rules).
|
|
2645
|
+
protoOf(Rules).e2t = function () {
|
|
2551
2646
|
return this.enableFineAfterThirdByte;
|
|
2552
2647
|
};
|
|
2553
|
-
protoOf(Rules).
|
|
2648
|
+
protoOf(Rules).f2t = function () {
|
|
2554
2649
|
return this.checkTrumpCombination;
|
|
2555
2650
|
};
|
|
2556
|
-
protoOf(Rules).
|
|
2651
|
+
protoOf(Rules).g2t = function () {
|
|
2557
2652
|
return this.checkOnlyTrumpDebertz;
|
|
2558
2653
|
};
|
|
2559
|
-
protoOf(Rules).
|
|
2654
|
+
protoOf(Rules).h2t = function () {
|
|
2560
2655
|
return this.tenCardsInHand;
|
|
2561
2656
|
};
|
|
2562
|
-
protoOf(Rules).
|
|
2657
|
+
protoOf(Rules).i2t = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2563
2658
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2564
2659
|
};
|
|
2565
2660
|
protoOf(Rules).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -2580,7 +2675,7 @@
|
|
|
2580
2675
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
2581
2676
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
2582
2677
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
2583
|
-
return this.
|
|
2678
|
+
return this.i2t(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2584
2679
|
};
|
|
2585
2680
|
protoOf(Rules).hashCode = function () {
|
|
2586
2681
|
var result = getBooleanHashCode(this.needToPutHigherTrump);
|
|
@@ -2650,10 +2745,10 @@
|
|
|
2650
2745
|
var RulesSetType_debertzKharkiv_instance;
|
|
2651
2746
|
var RulesSetType_debertzSaltivka_instance;
|
|
2652
2747
|
var RulesSetType_custom_instance;
|
|
2653
|
-
function
|
|
2748
|
+
function values_3() {
|
|
2654
2749
|
return [RulesSetType_belot_getInstance(), RulesSetType_klabor_getInstance(), RulesSetType_debertzCommon_getInstance(), RulesSetType_debertzKharkiv_getInstance(), RulesSetType_debertzSaltivka_getInstance(), RulesSetType_custom_getInstance()];
|
|
2655
2750
|
}
|
|
2656
|
-
function
|
|
2751
|
+
function valueOf_2(value) {
|
|
2657
2752
|
switch (value) {
|
|
2658
2753
|
case 'belot':
|
|
2659
2754
|
return RulesSetType_belot_getInstance();
|
|
@@ -2696,19 +2791,19 @@
|
|
|
2696
2791
|
var tmp;
|
|
2697
2792
|
switch (this.n2_1) {
|
|
2698
2793
|
case 0:
|
|
2699
|
-
tmp =
|
|
2794
|
+
tmp = Companion_instance_15.belot();
|
|
2700
2795
|
break;
|
|
2701
2796
|
case 1:
|
|
2702
|
-
tmp =
|
|
2797
|
+
tmp = Companion_instance_15.kharkiv();
|
|
2703
2798
|
break;
|
|
2704
2799
|
case 2:
|
|
2705
|
-
tmp =
|
|
2800
|
+
tmp = Companion_instance_15.debertzCommon();
|
|
2706
2801
|
break;
|
|
2707
2802
|
case 3:
|
|
2708
|
-
tmp =
|
|
2803
|
+
tmp = Companion_instance_15.kharkiv();
|
|
2709
2804
|
break;
|
|
2710
2805
|
case 4:
|
|
2711
|
-
tmp =
|
|
2806
|
+
tmp = Companion_instance_15.saltivka();
|
|
2712
2807
|
break;
|
|
2713
2808
|
case 5:
|
|
2714
2809
|
throw new MechanicException("RulesSetTyp.getRules: Can't support this rules");
|
|
@@ -2718,7 +2813,7 @@
|
|
|
2718
2813
|
}
|
|
2719
2814
|
return tmp;
|
|
2720
2815
|
};
|
|
2721
|
-
protoOf(RulesSetType).
|
|
2816
|
+
protoOf(RulesSetType).l2t = function () {
|
|
2722
2817
|
return this.equals(RulesSetType_custom_getInstance());
|
|
2723
2818
|
};
|
|
2724
2819
|
function RulesSetType_belot_getInstance() {
|
|
@@ -2965,17 +3060,17 @@
|
|
|
2965
3060
|
tmp = null;
|
|
2966
3061
|
}
|
|
2967
3062
|
var tmp$ret$1 = tmp;
|
|
2968
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
3063
|
+
return new GameUserInfoDto(_this__u8e3s4.v2p_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1, _this__u8e3s4.initialLuckyFactor);
|
|
2969
3064
|
}
|
|
2970
3065
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2971
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2972
|
-
return new GameUserInfo(_this__u8e3s4.
|
|
3066
|
+
var tmp0_elvis_lhs = _this__u8e3s4.p2t_1;
|
|
3067
|
+
return new GameUserInfo(_this__u8e3s4.m2t_1, _this__u8e3s4.n2t_1, _this__u8e3s4.o2t_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.q2t_1);
|
|
2973
3068
|
}
|
|
2974
|
-
function
|
|
3069
|
+
function Companion_15() {
|
|
2975
3070
|
}
|
|
2976
|
-
var
|
|
2977
|
-
function
|
|
2978
|
-
return
|
|
3071
|
+
var Companion_instance_16;
|
|
3072
|
+
function Companion_getInstance_17() {
|
|
3073
|
+
return Companion_instance_16;
|
|
2979
3074
|
}
|
|
2980
3075
|
function $serializer_5() {
|
|
2981
3076
|
$serializer_instance_5 = this;
|
|
@@ -2985,29 +3080,29 @@
|
|
|
2985
3080
|
tmp0_serialDesc.e1q('avatarUrl', true);
|
|
2986
3081
|
tmp0_serialDesc.e1q('isBot', true);
|
|
2987
3082
|
tmp0_serialDesc.e1q('initialLuckyFactor', true);
|
|
2988
|
-
this.
|
|
3083
|
+
this.r2t_1 = tmp0_serialDesc;
|
|
2989
3084
|
}
|
|
2990
|
-
protoOf($serializer_5).
|
|
2991
|
-
var tmp0_desc = this.
|
|
3085
|
+
protoOf($serializer_5).s2t = function (encoder, value) {
|
|
3086
|
+
var tmp0_desc = this.r2t_1;
|
|
2992
3087
|
var tmp1_output = encoder.q1i(tmp0_desc);
|
|
2993
|
-
tmp1_output.f1k(tmp0_desc, 0, value.
|
|
2994
|
-
tmp1_output.f1k(tmp0_desc, 1, value.
|
|
2995
|
-
if (tmp1_output.n1k(tmp0_desc, 2) ? true : !(value.
|
|
2996
|
-
tmp1_output.j1k(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3088
|
+
tmp1_output.f1k(tmp0_desc, 0, value.m2t_1);
|
|
3089
|
+
tmp1_output.f1k(tmp0_desc, 1, value.n2t_1);
|
|
3090
|
+
if (tmp1_output.n1k(tmp0_desc, 2) ? true : !(value.o2t_1 == null)) {
|
|
3091
|
+
tmp1_output.j1k(tmp0_desc, 2, StringSerializer_getInstance(), value.o2t_1);
|
|
2997
3092
|
}
|
|
2998
|
-
if (tmp1_output.n1k(tmp0_desc, 3) ? true : !(value.
|
|
2999
|
-
tmp1_output.j1k(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
3093
|
+
if (tmp1_output.n1k(tmp0_desc, 3) ? true : !(value.p2t_1 == null)) {
|
|
3094
|
+
tmp1_output.j1k(tmp0_desc, 3, BooleanSerializer_getInstance(), value.p2t_1);
|
|
3000
3095
|
}
|
|
3001
|
-
if (tmp1_output.n1k(tmp0_desc, 4) ? true : !(value.
|
|
3002
|
-
tmp1_output.j1k(tmp0_desc, 4, FloatSerializer_getInstance(), value.
|
|
3096
|
+
if (tmp1_output.n1k(tmp0_desc, 4) ? true : !(value.q2t_1 == null)) {
|
|
3097
|
+
tmp1_output.j1k(tmp0_desc, 4, FloatSerializer_getInstance(), value.q2t_1);
|
|
3003
3098
|
}
|
|
3004
3099
|
tmp1_output.r1i(tmp0_desc);
|
|
3005
3100
|
};
|
|
3006
3101
|
protoOf($serializer_5).j1f = function (encoder, value) {
|
|
3007
|
-
return this.
|
|
3102
|
+
return this.s2t(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
3008
3103
|
};
|
|
3009
3104
|
protoOf($serializer_5).k1f = function (decoder) {
|
|
3010
|
-
var tmp0_desc = this.
|
|
3105
|
+
var tmp0_desc = this.r2t_1;
|
|
3011
3106
|
var tmp1_flag = true;
|
|
3012
3107
|
var tmp2_index = 0;
|
|
3013
3108
|
var tmp3_bitMask0 = 0;
|
|
@@ -3063,7 +3158,7 @@
|
|
|
3063
3158
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
3064
3159
|
};
|
|
3065
3160
|
protoOf($serializer_5).i1f = function () {
|
|
3066
|
-
return this.
|
|
3161
|
+
return this.r2t_1;
|
|
3067
3162
|
};
|
|
3068
3163
|
protoOf($serializer_5).t1q = function () {
|
|
3069
3164
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3079,22 +3174,22 @@
|
|
|
3079
3174
|
}
|
|
3080
3175
|
function GameUserInfoDto_init_$Init$(seen0, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
3081
3176
|
if (!(3 === (3 & seen0))) {
|
|
3082
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
3177
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().r2t_1);
|
|
3083
3178
|
}
|
|
3084
|
-
$this.
|
|
3085
|
-
$this.
|
|
3179
|
+
$this.m2t_1 = playerId;
|
|
3180
|
+
$this.n2t_1 = name;
|
|
3086
3181
|
if (0 === (seen0 & 4))
|
|
3087
|
-
$this.
|
|
3182
|
+
$this.o2t_1 = null;
|
|
3088
3183
|
else
|
|
3089
|
-
$this.
|
|
3184
|
+
$this.o2t_1 = avatarUrl;
|
|
3090
3185
|
if (0 === (seen0 & 8))
|
|
3091
|
-
$this.
|
|
3186
|
+
$this.p2t_1 = null;
|
|
3092
3187
|
else
|
|
3093
|
-
$this.
|
|
3188
|
+
$this.p2t_1 = isBot;
|
|
3094
3189
|
if (0 === (seen0 & 16))
|
|
3095
|
-
$this.
|
|
3190
|
+
$this.q2t_1 = null;
|
|
3096
3191
|
else
|
|
3097
|
-
$this.
|
|
3192
|
+
$this.q2t_1 = initialLuckyFactor;
|
|
3098
3193
|
return $this;
|
|
3099
3194
|
}
|
|
3100
3195
|
function GameUserInfoDto_init_$Create$(seen0, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -3104,35 +3199,35 @@
|
|
|
3104
3199
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
3105
3200
|
isBot = isBot === VOID ? null : isBot;
|
|
3106
3201
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
3107
|
-
this.
|
|
3108
|
-
this.
|
|
3109
|
-
this.
|
|
3110
|
-
this.
|
|
3111
|
-
this.
|
|
3202
|
+
this.m2t_1 = playerId;
|
|
3203
|
+
this.n2t_1 = name;
|
|
3204
|
+
this.o2t_1 = avatarUrl;
|
|
3205
|
+
this.p2t_1 = isBot;
|
|
3206
|
+
this.q2t_1 = initialLuckyFactor;
|
|
3112
3207
|
}
|
|
3113
|
-
protoOf(GameUserInfoDto).
|
|
3114
|
-
return this.
|
|
3208
|
+
protoOf(GameUserInfoDto).t2t = function () {
|
|
3209
|
+
return this.u2t(VOID, VOID, VOID, null, null);
|
|
3115
3210
|
};
|
|
3116
|
-
protoOf(GameUserInfoDto).
|
|
3211
|
+
protoOf(GameUserInfoDto).v2t = function (playerId, name, avatarUrl, isBot, initialLuckyFactor) {
|
|
3117
3212
|
return new GameUserInfoDto(playerId, name, avatarUrl, isBot, initialLuckyFactor);
|
|
3118
3213
|
};
|
|
3119
|
-
protoOf(GameUserInfoDto).
|
|
3120
|
-
playerId = playerId === VOID ? this.
|
|
3121
|
-
name = name === VOID ? this.
|
|
3122
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
3123
|
-
isBot = isBot === VOID ? this.
|
|
3124
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
3125
|
-
return $super === VOID ? this.
|
|
3214
|
+
protoOf(GameUserInfoDto).u2t = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, $super) {
|
|
3215
|
+
playerId = playerId === VOID ? this.m2t_1 : playerId;
|
|
3216
|
+
name = name === VOID ? this.n2t_1 : name;
|
|
3217
|
+
avatarUrl = avatarUrl === VOID ? this.o2t_1 : avatarUrl;
|
|
3218
|
+
isBot = isBot === VOID ? this.p2t_1 : isBot;
|
|
3219
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.q2t_1 : initialLuckyFactor;
|
|
3220
|
+
return $super === VOID ? this.v2t(playerId, name, avatarUrl, isBot, initialLuckyFactor) : $super.v2t.call(this, playerId, name, avatarUrl, isBot, initialLuckyFactor);
|
|
3126
3221
|
};
|
|
3127
3222
|
protoOf(GameUserInfoDto).toString = function () {
|
|
3128
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
3223
|
+
return 'GameUserInfoDto(playerId=' + this.m2t_1 + ', name=' + this.n2t_1 + ', avatarUrl=' + this.o2t_1 + ', isBot=' + this.p2t_1 + ', initialLuckyFactor=' + this.q2t_1 + ')';
|
|
3129
3224
|
};
|
|
3130
3225
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
3131
|
-
var result = getStringHashCode(this.
|
|
3132
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3133
|
-
result = imul(result, 31) + (this.
|
|
3134
|
-
result = imul(result, 31) + (this.
|
|
3135
|
-
result = imul(result, 31) + (this.
|
|
3226
|
+
var result = getStringHashCode(this.m2t_1);
|
|
3227
|
+
result = imul(result, 31) + getStringHashCode(this.n2t_1) | 0;
|
|
3228
|
+
result = imul(result, 31) + (this.o2t_1 == null ? 0 : getStringHashCode(this.o2t_1)) | 0;
|
|
3229
|
+
result = imul(result, 31) + (this.p2t_1 == null ? 0 : getBooleanHashCode(this.p2t_1)) | 0;
|
|
3230
|
+
result = imul(result, 31) + (this.q2t_1 == null ? 0 : getNumberHashCode(this.q2t_1)) | 0;
|
|
3136
3231
|
return result;
|
|
3137
3232
|
};
|
|
3138
3233
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -3141,26 +3236,26 @@
|
|
|
3141
3236
|
if (!(other instanceof GameUserInfoDto))
|
|
3142
3237
|
return false;
|
|
3143
3238
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
3144
|
-
if (!(this.
|
|
3239
|
+
if (!(this.m2t_1 === tmp0_other_with_cast.m2t_1))
|
|
3145
3240
|
return false;
|
|
3146
|
-
if (!(this.
|
|
3241
|
+
if (!(this.n2t_1 === tmp0_other_with_cast.n2t_1))
|
|
3147
3242
|
return false;
|
|
3148
|
-
if (!(this.
|
|
3243
|
+
if (!(this.o2t_1 == tmp0_other_with_cast.o2t_1))
|
|
3149
3244
|
return false;
|
|
3150
|
-
if (!(this.
|
|
3245
|
+
if (!(this.p2t_1 == tmp0_other_with_cast.p2t_1))
|
|
3151
3246
|
return false;
|
|
3152
|
-
if (!equals(this.
|
|
3247
|
+
if (!equals(this.q2t_1, tmp0_other_with_cast.q2t_1))
|
|
3153
3248
|
return false;
|
|
3154
3249
|
return true;
|
|
3155
3250
|
};
|
|
3156
|
-
function
|
|
3251
|
+
function Companion_16() {
|
|
3157
3252
|
}
|
|
3158
|
-
protoOf(
|
|
3253
|
+
protoOf(Companion_16).o22 = function () {
|
|
3159
3254
|
return $serializer_getInstance_6();
|
|
3160
3255
|
};
|
|
3161
|
-
var
|
|
3162
|
-
function
|
|
3163
|
-
return
|
|
3256
|
+
var Companion_instance_17;
|
|
3257
|
+
function Companion_getInstance_18() {
|
|
3258
|
+
return Companion_instance_17;
|
|
3164
3259
|
}
|
|
3165
3260
|
function $serializer_6() {
|
|
3166
3261
|
$serializer_instance_6 = this;
|
|
@@ -3182,10 +3277,10 @@
|
|
|
3182
3277
|
tmp0_serialDesc.e1q('checkTrumpCombination', true);
|
|
3183
3278
|
tmp0_serialDesc.e1q('checkOnlyTrumpDebertz', true);
|
|
3184
3279
|
tmp0_serialDesc.e1q('tenCardsInHand', true);
|
|
3185
|
-
this.
|
|
3280
|
+
this.w2t_1 = tmp0_serialDesc;
|
|
3186
3281
|
}
|
|
3187
|
-
protoOf($serializer_6).
|
|
3188
|
-
var tmp0_desc = this.
|
|
3282
|
+
protoOf($serializer_6).x2t = function (encoder, value) {
|
|
3283
|
+
var tmp0_desc = this.w2t_1;
|
|
3189
3284
|
var tmp1_output = encoder.q1i(tmp0_desc);
|
|
3190
3285
|
if (tmp1_output.n1k(tmp0_desc, 0) ? true : !(value.needToPutHigherTrump == null)) {
|
|
3191
3286
|
tmp1_output.j1k(tmp0_desc, 0, BooleanSerializer_getInstance(), value.needToPutHigherTrump);
|
|
@@ -3239,10 +3334,10 @@
|
|
|
3239
3334
|
tmp1_output.r1i(tmp0_desc);
|
|
3240
3335
|
};
|
|
3241
3336
|
protoOf($serializer_6).j1f = function (encoder, value) {
|
|
3242
|
-
return this.
|
|
3337
|
+
return this.x2t(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3243
3338
|
};
|
|
3244
3339
|
protoOf($serializer_6).k1f = function (decoder) {
|
|
3245
|
-
var tmp0_desc = this.
|
|
3340
|
+
var tmp0_desc = this.w2t_1;
|
|
3246
3341
|
var tmp1_flag = true;
|
|
3247
3342
|
var tmp2_index = 0;
|
|
3248
3343
|
var tmp3_bitMask0 = 0;
|
|
@@ -3382,7 +3477,7 @@
|
|
|
3382
3477
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, null);
|
|
3383
3478
|
};
|
|
3384
3479
|
protoOf($serializer_6).i1f = function () {
|
|
3385
|
-
return this.
|
|
3480
|
+
return this.w2t_1;
|
|
3386
3481
|
};
|
|
3387
3482
|
protoOf($serializer_6).t1q = function () {
|
|
3388
3483
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3398,7 +3493,7 @@
|
|
|
3398
3493
|
}
|
|
3399
3494
|
function RulesDto_init_$Init$(seen0, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
3400
3495
|
if (!(4096 === (4096 & seen0))) {
|
|
3401
|
-
throwMissingFieldException(seen0, 4096, $serializer_getInstance_6().
|
|
3496
|
+
throwMissingFieldException(seen0, 4096, $serializer_getInstance_6().w2t_1);
|
|
3402
3497
|
}
|
|
3403
3498
|
if (0 === (seen0 & 1))
|
|
3404
3499
|
$this.needToPutHigherTrump = null;
|
|
@@ -3505,55 +3600,55 @@
|
|
|
3505
3600
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
3506
3601
|
this.tenCardsInHand = tenCardsInHand;
|
|
3507
3602
|
}
|
|
3508
|
-
protoOf(RulesDto).
|
|
3603
|
+
protoOf(RulesDto).g2s = function () {
|
|
3509
3604
|
return this.needToPutHigherTrump;
|
|
3510
3605
|
};
|
|
3511
|
-
protoOf(RulesDto).
|
|
3606
|
+
protoOf(RulesDto).h2s = function () {
|
|
3512
3607
|
return this.distributePoints;
|
|
3513
3608
|
};
|
|
3514
|
-
protoOf(RulesDto).
|
|
3609
|
+
protoOf(RulesDto).i2s = function () {
|
|
3515
3610
|
return this.protectBella;
|
|
3516
3611
|
};
|
|
3517
|
-
protoOf(RulesDto).
|
|
3612
|
+
protoOf(RulesDto).j2s = function () {
|
|
3518
3613
|
return this.oneTryToProtectBella;
|
|
3519
3614
|
};
|
|
3520
|
-
protoOf(RulesDto).
|
|
3615
|
+
protoOf(RulesDto).k2s = function () {
|
|
3521
3616
|
return this.enableFourSevensCombination;
|
|
3522
3617
|
};
|
|
3523
|
-
protoOf(RulesDto).
|
|
3618
|
+
protoOf(RulesDto).l2s = function () {
|
|
3524
3619
|
return this.enableTrumpSevenCombination;
|
|
3525
3620
|
};
|
|
3526
|
-
protoOf(RulesDto).
|
|
3621
|
+
protoOf(RulesDto).m2s = function () {
|
|
3527
3622
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3528
3623
|
};
|
|
3529
|
-
protoOf(RulesDto).
|
|
3624
|
+
protoOf(RulesDto).n2s = function () {
|
|
3530
3625
|
return this.playerWhoChooseSuitGoFirst;
|
|
3531
3626
|
};
|
|
3532
|
-
protoOf(RulesDto).
|
|
3627
|
+
protoOf(RulesDto).o2s = function () {
|
|
3533
3628
|
return this.winnerShuffleCards;
|
|
3534
3629
|
};
|
|
3535
|
-
protoOf(RulesDto).
|
|
3630
|
+
protoOf(RulesDto).p2s = function () {
|
|
3536
3631
|
return this.playWithoutLiabilities;
|
|
3537
3632
|
};
|
|
3538
|
-
protoOf(RulesDto).
|
|
3633
|
+
protoOf(RulesDto).q2s = function () {
|
|
3539
3634
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3540
3635
|
};
|
|
3541
|
-
protoOf(RulesDto).
|
|
3636
|
+
protoOf(RulesDto).r2s = function () {
|
|
3542
3637
|
return this.enableFineIfNoBribes;
|
|
3543
3638
|
};
|
|
3544
|
-
protoOf(RulesDto).
|
|
3639
|
+
protoOf(RulesDto).s2s = function () {
|
|
3545
3640
|
return this.fineIfNoBribes;
|
|
3546
3641
|
};
|
|
3547
|
-
protoOf(RulesDto).
|
|
3642
|
+
protoOf(RulesDto).t2s = function () {
|
|
3548
3643
|
return this.enableFineAfterThirdByte;
|
|
3549
3644
|
};
|
|
3550
|
-
protoOf(RulesDto).
|
|
3645
|
+
protoOf(RulesDto).u2s = function () {
|
|
3551
3646
|
return this.checkTrumpCombination;
|
|
3552
3647
|
};
|
|
3553
|
-
protoOf(RulesDto).
|
|
3648
|
+
protoOf(RulesDto).v2s = function () {
|
|
3554
3649
|
return this.checkOnlyTrumpDebertz;
|
|
3555
3650
|
};
|
|
3556
|
-
protoOf(RulesDto).
|
|
3651
|
+
protoOf(RulesDto).w2s = function () {
|
|
3557
3652
|
return this.tenCardsInHand;
|
|
3558
3653
|
};
|
|
3559
3654
|
protoOf(RulesDto).ee = function () {
|
|
@@ -3568,46 +3663,46 @@
|
|
|
3568
3663
|
protoOf(RulesDto).m2o = function () {
|
|
3569
3664
|
return this.oneTryToProtectBella;
|
|
3570
3665
|
};
|
|
3571
|
-
protoOf(RulesDto).
|
|
3666
|
+
protoOf(RulesDto).a2q = function () {
|
|
3572
3667
|
return this.enableFourSevensCombination;
|
|
3573
3668
|
};
|
|
3574
|
-
protoOf(RulesDto).
|
|
3669
|
+
protoOf(RulesDto).b2q = function () {
|
|
3575
3670
|
return this.enableTrumpSevenCombination;
|
|
3576
3671
|
};
|
|
3577
|
-
protoOf(RulesDto).
|
|
3672
|
+
protoOf(RulesDto).x2s = function () {
|
|
3578
3673
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3579
3674
|
};
|
|
3580
|
-
protoOf(RulesDto).
|
|
3675
|
+
protoOf(RulesDto).y2s = function () {
|
|
3581
3676
|
return this.playerWhoChooseSuitGoFirst;
|
|
3582
3677
|
};
|
|
3583
|
-
protoOf(RulesDto).
|
|
3678
|
+
protoOf(RulesDto).z2s = function () {
|
|
3584
3679
|
return this.winnerShuffleCards;
|
|
3585
3680
|
};
|
|
3586
|
-
protoOf(RulesDto).
|
|
3681
|
+
protoOf(RulesDto).a2t = function () {
|
|
3587
3682
|
return this.playWithoutLiabilities;
|
|
3588
3683
|
};
|
|
3589
|
-
protoOf(RulesDto).
|
|
3684
|
+
protoOf(RulesDto).b2t = function () {
|
|
3590
3685
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3591
3686
|
};
|
|
3592
|
-
protoOf(RulesDto).
|
|
3687
|
+
protoOf(RulesDto).c2t = function () {
|
|
3593
3688
|
return this.enableFineIfNoBribes;
|
|
3594
3689
|
};
|
|
3595
|
-
protoOf(RulesDto).
|
|
3690
|
+
protoOf(RulesDto).d2t = function () {
|
|
3596
3691
|
return this.fineIfNoBribes;
|
|
3597
3692
|
};
|
|
3598
|
-
protoOf(RulesDto).
|
|
3693
|
+
protoOf(RulesDto).e2t = function () {
|
|
3599
3694
|
return this.enableFineAfterThirdByte;
|
|
3600
3695
|
};
|
|
3601
|
-
protoOf(RulesDto).
|
|
3696
|
+
protoOf(RulesDto).f2t = function () {
|
|
3602
3697
|
return this.checkTrumpCombination;
|
|
3603
3698
|
};
|
|
3604
|
-
protoOf(RulesDto).
|
|
3699
|
+
protoOf(RulesDto).g2t = function () {
|
|
3605
3700
|
return this.checkOnlyTrumpDebertz;
|
|
3606
3701
|
};
|
|
3607
|
-
protoOf(RulesDto).
|
|
3702
|
+
protoOf(RulesDto).h2t = function () {
|
|
3608
3703
|
return this.tenCardsInHand;
|
|
3609
3704
|
};
|
|
3610
|
-
protoOf(RulesDto).
|
|
3705
|
+
protoOf(RulesDto).y2t = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
3611
3706
|
return new RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
3612
3707
|
};
|
|
3613
3708
|
protoOf(RulesDto).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -3628,7 +3723,7 @@
|
|
|
3628
3723
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
3629
3724
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
3630
3725
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
3631
|
-
return this.
|
|
3726
|
+
return this.y2t(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
3632
3727
|
};
|
|
3633
3728
|
protoOf(RulesDto).toString = function () {
|
|
3634
3729
|
return 'RulesDto(needToPutHigherTrump=' + this.needToPutHigherTrump + ', distributePoints=' + this.distributePoints + ', protectBella=' + this.protectBella + ', oneTryToProtectBella=' + this.oneTryToProtectBella + ', enableFourSevensCombination=' + this.enableFourSevensCombination + ', enableTrumpSevenCombination=' + this.enableTrumpSevenCombination + ', enableTrumpSevenCombinationAfterDistribution=' + this.enableTrumpSevenCombinationAfterDistribution + ', playerWhoChooseSuitGoFirst=' + this.playerWhoChooseSuitGoFirst + ', winnerShuffleCards=' + this.winnerShuffleCards + ', playWithoutLiabilities=' + this.playWithoutLiabilities + ', trumpCardGoToPlayerWhoShuffleCards=' + this.trumpCardGoToPlayerWhoShuffleCards + ', enableFineIfNoBribes=' + this.enableFineIfNoBribes + ', fineIfNoBribes=' + this.fineIfNoBribes + ', enableFineAfterThirdByte=' + this.enableFineAfterThirdByte + ', checkTrumpCombination=' + this.checkTrumpCombination + ', checkOnlyTrumpDebertz=' + this.checkOnlyTrumpDebertz + ', tenCardsInHand=' + this.tenCardsInHand + ')';
|
|
@@ -3696,11 +3791,11 @@
|
|
|
3696
3791
|
return true;
|
|
3697
3792
|
};
|
|
3698
3793
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
3699
|
-
this.
|
|
3700
|
-
this.
|
|
3794
|
+
this.z2t_1 = trump;
|
|
3795
|
+
this.a2u_1 = firstCardSuit;
|
|
3701
3796
|
}
|
|
3702
3797
|
protoOf(CardGrowthComparator).a2m = function (a, b) {
|
|
3703
|
-
return getGrowth(b, this.
|
|
3798
|
+
return getGrowth(b, this.z2t_1, this.a2u_1) - getGrowth(a, this.z2t_1, this.a2u_1) | 0;
|
|
3704
3799
|
};
|
|
3705
3800
|
protoOf(CardGrowthComparator).compare = function (a, b) {
|
|
3706
3801
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
@@ -3848,15 +3943,15 @@
|
|
|
3848
3943
|
return tmp;
|
|
3849
3944
|
}
|
|
3850
3945
|
function ProcessingCard(gameCard, payload) {
|
|
3851
|
-
this.
|
|
3852
|
-
this.
|
|
3946
|
+
this.b2u_1 = gameCard;
|
|
3947
|
+
this.c2u_1 = payload;
|
|
3853
3948
|
}
|
|
3854
3949
|
protoOf(ProcessingCard).toString = function () {
|
|
3855
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3950
|
+
return 'ProcessingCard(gameCard=' + this.b2u_1.toString() + ', payload=' + toString(this.c2u_1) + ')';
|
|
3856
3951
|
};
|
|
3857
3952
|
protoOf(ProcessingCard).hashCode = function () {
|
|
3858
|
-
var result = this.
|
|
3859
|
-
result = imul(result, 31) + (this.
|
|
3953
|
+
var result = this.b2u_1.hashCode();
|
|
3954
|
+
result = imul(result, 31) + (this.c2u_1 == null ? 0 : hashCode(this.c2u_1)) | 0;
|
|
3860
3955
|
return result;
|
|
3861
3956
|
};
|
|
3862
3957
|
protoOf(ProcessingCard).equals = function (other) {
|
|
@@ -3865,117 +3960,28 @@
|
|
|
3865
3960
|
if (!(other instanceof ProcessingCard))
|
|
3866
3961
|
return false;
|
|
3867
3962
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3868
|
-
if (!this.
|
|
3963
|
+
if (!this.b2u_1.equals(tmp0_other_with_cast.b2u_1))
|
|
3869
3964
|
return false;
|
|
3870
|
-
if (!equals(this.
|
|
3965
|
+
if (!equals(this.c2u_1, tmp0_other_with_cast.c2u_1))
|
|
3871
3966
|
return false;
|
|
3872
3967
|
return true;
|
|
3873
3968
|
};
|
|
3874
3969
|
function AsyncProvider() {
|
|
3875
3970
|
}
|
|
3876
3971
|
function onError($this, message, error) {
|
|
3877
|
-
$this.
|
|
3972
|
+
$this.k2u_1.e('AsyncErrorHandler', message + ': ' + error.toString(), error);
|
|
3878
3973
|
}
|
|
3879
3974
|
function _no_name_provided__qut3iv(this$0) {
|
|
3880
|
-
this.
|
|
3975
|
+
this.t2u_1 = this$0;
|
|
3881
3976
|
AbstractCoroutineContextElement.call(this, Key_instance);
|
|
3882
3977
|
}
|
|
3883
3978
|
protoOf(_no_name_provided__qut3iv).gq = function (context, exception) {
|
|
3884
|
-
onError(this.
|
|
3979
|
+
onError(this.t2u_1, 'CoroutineContext', exception);
|
|
3885
3980
|
return Unit_instance;
|
|
3886
3981
|
};
|
|
3887
|
-
function AsyncProviderImpl$launchUnconfinedWithLock$slambda(this$0, $block, resultContinuation) {
|
|
3888
|
-
this.z2u_1 = this$0;
|
|
3889
|
-
this.a2v_1 = $block;
|
|
3890
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
3891
|
-
}
|
|
3892
|
-
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).b16 = function ($this$launch, $completion) {
|
|
3893
|
-
var tmp = this.c16($this$launch, $completion);
|
|
3894
|
-
tmp.x8_1 = Unit_instance;
|
|
3895
|
-
tmp.y8_1 = null;
|
|
3896
|
-
return tmp.d9();
|
|
3897
|
-
};
|
|
3898
|
-
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).y9 = function (p1, $completion) {
|
|
3899
|
-
return this.b16((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
3900
|
-
};
|
|
3901
|
-
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).d9 = function () {
|
|
3902
|
-
var suspendResult = this.x8_1;
|
|
3903
|
-
$sm: do
|
|
3904
|
-
try {
|
|
3905
|
-
var tmp = this.v8_1;
|
|
3906
|
-
switch (tmp) {
|
|
3907
|
-
case 0:
|
|
3908
|
-
this.w8_1 = 6;
|
|
3909
|
-
var tmp_0 = this;
|
|
3910
|
-
tmp_0.c2v_1 = this.z2u_1.k2u_1;
|
|
3911
|
-
var tmp_1 = this;
|
|
3912
|
-
tmp_1.d2v_1 = null;
|
|
3913
|
-
this.v8_1 = 1;
|
|
3914
|
-
suspendResult = this.c2v_1.b1d(this.d2v_1, this);
|
|
3915
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3916
|
-
return suspendResult;
|
|
3917
|
-
}
|
|
3918
|
-
|
|
3919
|
-
continue $sm;
|
|
3920
|
-
case 1:
|
|
3921
|
-
this.e2v_1 = Unit_instance;
|
|
3922
|
-
this.v8_1 = 2;
|
|
3923
|
-
continue $sm;
|
|
3924
|
-
case 2:
|
|
3925
|
-
this.w8_1 = 5;
|
|
3926
|
-
this.v8_1 = 3;
|
|
3927
|
-
suspendResult = this.a2v_1(this.b2v_1, this);
|
|
3928
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3929
|
-
return suspendResult;
|
|
3930
|
-
}
|
|
3931
|
-
|
|
3932
|
-
continue $sm;
|
|
3933
|
-
case 3:
|
|
3934
|
-
var tmp_2 = this;
|
|
3935
|
-
tmp_2.e2v_1 = Unit_instance;
|
|
3936
|
-
this.w8_1 = 6;
|
|
3937
|
-
this.v8_1 = 4;
|
|
3938
|
-
continue $sm;
|
|
3939
|
-
case 4:
|
|
3940
|
-
this.e2v_1;
|
|
3941
|
-
this.w8_1 = 6;
|
|
3942
|
-
this.c2v_1.m1c(this.d2v_1);
|
|
3943
|
-
return Unit_instance;
|
|
3944
|
-
case 5:
|
|
3945
|
-
this.w8_1 = 6;
|
|
3946
|
-
var t = this.y8_1;
|
|
3947
|
-
this.c2v_1.m1c(this.d2v_1);
|
|
3948
|
-
throw t;
|
|
3949
|
-
case 6:
|
|
3950
|
-
throw this.y8_1;
|
|
3951
|
-
}
|
|
3952
|
-
} catch ($p) {
|
|
3953
|
-
var e = $p;
|
|
3954
|
-
if (this.w8_1 === 6) {
|
|
3955
|
-
throw e;
|
|
3956
|
-
} else {
|
|
3957
|
-
this.v8_1 = this.w8_1;
|
|
3958
|
-
this.y8_1 = e;
|
|
3959
|
-
}
|
|
3960
|
-
}
|
|
3961
|
-
while (true);
|
|
3962
|
-
};
|
|
3963
|
-
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).c16 = function ($this$launch, completion) {
|
|
3964
|
-
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this.z2u_1, this.a2v_1, completion);
|
|
3965
|
-
i.b2v_1 = $this$launch;
|
|
3966
|
-
return i;
|
|
3967
|
-
};
|
|
3968
|
-
function AsyncProviderImpl$launchUnconfinedWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
3969
|
-
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this$0, $block, resultContinuation);
|
|
3970
|
-
var l = function ($this$launch, $completion) {
|
|
3971
|
-
return i.b16($this$launch, $completion);
|
|
3972
|
-
};
|
|
3973
|
-
l.$arity = 1;
|
|
3974
|
-
return l;
|
|
3975
|
-
}
|
|
3976
3982
|
function AsyncProviderImpl$launchDefaultWithLock$slambda(this$0, $block, resultContinuation) {
|
|
3977
|
-
this.
|
|
3978
|
-
this.
|
|
3983
|
+
this.c2v_1 = this$0;
|
|
3984
|
+
this.d2v_1 = $block;
|
|
3979
3985
|
CoroutineImpl.call(this, resultContinuation);
|
|
3980
3986
|
}
|
|
3981
3987
|
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).b16 = function ($this$launch, $completion) {
|
|
@@ -3996,24 +4002,24 @@
|
|
|
3996
4002
|
case 0:
|
|
3997
4003
|
this.w8_1 = 6;
|
|
3998
4004
|
var tmp_0 = this;
|
|
3999
|
-
tmp_0.
|
|
4005
|
+
tmp_0.f2v_1 = this.c2v_1.m2u_1;
|
|
4000
4006
|
var tmp_1 = this;
|
|
4001
|
-
tmp_1.
|
|
4007
|
+
tmp_1.g2v_1 = null;
|
|
4002
4008
|
this.v8_1 = 1;
|
|
4003
|
-
suspendResult = this.
|
|
4009
|
+
suspendResult = this.f2v_1.b1d(this.g2v_1, this);
|
|
4004
4010
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4005
4011
|
return suspendResult;
|
|
4006
4012
|
}
|
|
4007
4013
|
|
|
4008
4014
|
continue $sm;
|
|
4009
4015
|
case 1:
|
|
4010
|
-
this.
|
|
4016
|
+
this.h2v_1 = Unit_instance;
|
|
4011
4017
|
this.v8_1 = 2;
|
|
4012
4018
|
continue $sm;
|
|
4013
4019
|
case 2:
|
|
4014
4020
|
this.w8_1 = 5;
|
|
4015
4021
|
this.v8_1 = 3;
|
|
4016
|
-
suspendResult = this.
|
|
4022
|
+
suspendResult = this.d2v_1(this.e2v_1, this);
|
|
4017
4023
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4018
4024
|
return suspendResult;
|
|
4019
4025
|
}
|
|
@@ -4021,19 +4027,19 @@
|
|
|
4021
4027
|
continue $sm;
|
|
4022
4028
|
case 3:
|
|
4023
4029
|
var tmp_2 = this;
|
|
4024
|
-
tmp_2.
|
|
4030
|
+
tmp_2.h2v_1 = Unit_instance;
|
|
4025
4031
|
this.w8_1 = 6;
|
|
4026
4032
|
this.v8_1 = 4;
|
|
4027
4033
|
continue $sm;
|
|
4028
4034
|
case 4:
|
|
4029
|
-
this.
|
|
4035
|
+
this.h2v_1;
|
|
4030
4036
|
this.w8_1 = 6;
|
|
4031
|
-
this.
|
|
4037
|
+
this.f2v_1.m1c(this.g2v_1);
|
|
4032
4038
|
return Unit_instance;
|
|
4033
4039
|
case 5:
|
|
4034
4040
|
this.w8_1 = 6;
|
|
4035
4041
|
var t = this.y8_1;
|
|
4036
|
-
this.
|
|
4042
|
+
this.f2v_1.m1c(this.g2v_1);
|
|
4037
4043
|
throw t;
|
|
4038
4044
|
case 6:
|
|
4039
4045
|
throw this.y8_1;
|
|
@@ -4050,8 +4056,8 @@
|
|
|
4050
4056
|
while (true);
|
|
4051
4057
|
};
|
|
4052
4058
|
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).c16 = function ($this$launch, completion) {
|
|
4053
|
-
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this.
|
|
4054
|
-
i.
|
|
4059
|
+
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this.c2v_1, this.d2v_1, completion);
|
|
4060
|
+
i.e2v_1 = $this$launch;
|
|
4055
4061
|
return i;
|
|
4056
4062
|
};
|
|
4057
4063
|
function AsyncProviderImpl$launchDefaultWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
@@ -4066,42 +4072,39 @@
|
|
|
4066
4072
|
mainDispatcher = mainDispatcher === VOID ? Dispatchers_getInstance().au() : mainDispatcher;
|
|
4067
4073
|
defaultDispatcher = defaultDispatcher === VOID ? Dispatchers_getInstance().wt_1 : defaultDispatcher;
|
|
4068
4074
|
unconfinedDispatcher = unconfinedDispatcher === VOID ? Dispatchers_getInstance().xt_1 : unconfinedDispatcher;
|
|
4069
|
-
this.
|
|
4070
|
-
this.
|
|
4071
|
-
this.
|
|
4072
|
-
this.
|
|
4075
|
+
this.k2u_1 = logger;
|
|
4076
|
+
this.l2u_1 = SupervisorJob();
|
|
4077
|
+
this.m2u_1 = Mutex();
|
|
4078
|
+
this.n2u_1 = Mutex();
|
|
4073
4079
|
var tmp = this;
|
|
4074
4080
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
4075
|
-
tmp.
|
|
4076
|
-
this.
|
|
4077
|
-
this.
|
|
4078
|
-
this.
|
|
4081
|
+
tmp.o2u_1 = new _no_name_provided__qut3iv(this);
|
|
4082
|
+
this.p2u_1 = CoroutineScope_0(mainDispatcher.sf(this.l2u_1));
|
|
4083
|
+
this.q2u_1 = CoroutineScope_0(defaultDispatcher.sf(this.l2u_1));
|
|
4084
|
+
this.r2u_1 = CoroutineScope_0(unconfinedDispatcher.sf(this.l2u_1));
|
|
4079
4085
|
}
|
|
4080
|
-
protoOf(AsyncProviderImpl).
|
|
4081
|
-
return this.
|
|
4082
|
-
};
|
|
4083
|
-
protoOf(AsyncProviderImpl).f2u = function (context, block) {
|
|
4084
|
-
return launch(this.m2u_1, context, VOID, block);
|
|
4086
|
+
protoOf(AsyncProviderImpl).d2u = function () {
|
|
4087
|
+
return this.o2u_1;
|
|
4085
4088
|
};
|
|
4086
|
-
protoOf(AsyncProviderImpl).
|
|
4087
|
-
return launch(this.
|
|
4089
|
+
protoOf(AsyncProviderImpl).i2u = function (context, block) {
|
|
4090
|
+
return launch(this.p2u_1, context, VOID, block);
|
|
4088
4091
|
};
|
|
4089
|
-
protoOf(AsyncProviderImpl).
|
|
4090
|
-
return launch(this.
|
|
4092
|
+
protoOf(AsyncProviderImpl).e2u = function (context, block) {
|
|
4093
|
+
return launch(this.q2u_1, context, VOID, block);
|
|
4091
4094
|
};
|
|
4092
|
-
protoOf(AsyncProviderImpl).
|
|
4093
|
-
return launch(this.
|
|
4095
|
+
protoOf(AsyncProviderImpl).g2u = function (context, block) {
|
|
4096
|
+
return launch(this.q2u_1, context, VOID, AsyncProviderImpl$launchDefaultWithLock$slambda_0(this, block, null));
|
|
4094
4097
|
};
|
|
4095
4098
|
protoOf(AsyncProviderImpl).z1 = function () {
|
|
4096
|
-
if (!this.
|
|
4097
|
-
this.
|
|
4099
|
+
if (!this.l2u_1.gm()) {
|
|
4100
|
+
this.l2u_1.tm();
|
|
4098
4101
|
}
|
|
4099
4102
|
};
|
|
4100
4103
|
function IdsProvider() {
|
|
4101
4104
|
}
|
|
4102
4105
|
function UUIDIdsProvider() {
|
|
4103
4106
|
}
|
|
4104
|
-
protoOf(UUIDIdsProvider).
|
|
4107
|
+
protoOf(UUIDIdsProvider).i2v = function () {
|
|
4105
4108
|
return uuid4().toString();
|
|
4106
4109
|
};
|
|
4107
4110
|
var UUIDIdsProvider_instance;
|
|
@@ -4111,45 +4114,45 @@
|
|
|
4111
4114
|
function JobsProvider() {
|
|
4112
4115
|
}
|
|
4113
4116
|
function JobsProviderImpl(logger) {
|
|
4114
|
-
this.
|
|
4117
|
+
this.o2v_1 = logger;
|
|
4115
4118
|
var tmp = this;
|
|
4116
4119
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
4117
|
-
tmp.
|
|
4120
|
+
tmp.p2v_1 = HashMap_init_$Create$();
|
|
4118
4121
|
}
|
|
4119
|
-
protoOf(JobsProviderImpl).
|
|
4120
|
-
if (this.
|
|
4121
|
-
this.
|
|
4122
|
+
protoOf(JobsProviderImpl).j2v = function (timerTag, job) {
|
|
4123
|
+
if (this.n2v(timerTag)) {
|
|
4124
|
+
this.o2v_1.w(VOID, 'Timer already exists for that tag: ' + toString_0(timerTag));
|
|
4122
4125
|
}
|
|
4123
4126
|
// Inline function 'kotlin.collections.set' call
|
|
4124
|
-
this.
|
|
4127
|
+
this.p2v_1.k2(timerTag, job);
|
|
4125
4128
|
};
|
|
4126
|
-
protoOf(JobsProviderImpl).
|
|
4127
|
-
return this.
|
|
4129
|
+
protoOf(JobsProviderImpl).n2v = function (timerTag) {
|
|
4130
|
+
return this.p2v_1.f2(timerTag);
|
|
4128
4131
|
};
|
|
4129
|
-
protoOf(JobsProviderImpl).
|
|
4130
|
-
if (!this.
|
|
4131
|
-
this.
|
|
4132
|
+
protoOf(JobsProviderImpl).l2v = function (timerTag) {
|
|
4133
|
+
if (!this.n2v(timerTag)) {
|
|
4134
|
+
this.o2v_1.w(VOID, "Can't find timer for that tag: " + toString_0(timerTag));
|
|
4132
4135
|
}
|
|
4133
|
-
this.
|
|
4136
|
+
this.p2v_1.l2(timerTag);
|
|
4134
4137
|
};
|
|
4135
|
-
protoOf(JobsProviderImpl).
|
|
4138
|
+
protoOf(JobsProviderImpl).m2v = function (timers) {
|
|
4136
4139
|
// Inline function 'kotlin.collections.forEach' call
|
|
4137
4140
|
var tmp0_iterator = timers.j();
|
|
4138
4141
|
while (tmp0_iterator.k()) {
|
|
4139
4142
|
var element = tmp0_iterator.l();
|
|
4140
4143
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
4141
|
-
var timer = this.
|
|
4144
|
+
var timer = this.p2v_1.h2(element);
|
|
4142
4145
|
if (timer == null)
|
|
4143
4146
|
null;
|
|
4144
4147
|
else {
|
|
4145
4148
|
timer.tm();
|
|
4146
4149
|
}
|
|
4147
4150
|
}
|
|
4148
|
-
this.
|
|
4151
|
+
this.p2v_1.i2().x1(toSet(timers));
|
|
4149
4152
|
};
|
|
4150
|
-
protoOf(JobsProviderImpl).
|
|
4151
|
-
var timer = this.
|
|
4152
|
-
this.
|
|
4153
|
+
protoOf(JobsProviderImpl).k2v = function (timerTag) {
|
|
4154
|
+
var timer = this.p2v_1.h2(timerTag);
|
|
4155
|
+
this.p2v_1.l2(timerTag);
|
|
4153
4156
|
if (timer == null)
|
|
4154
4157
|
null;
|
|
4155
4158
|
else {
|
|
@@ -4409,36 +4412,36 @@
|
|
|
4409
4412
|
}
|
|
4410
4413
|
function FileSystemImpl(fileSystem) {
|
|
4411
4414
|
fileSystem = fileSystem === VOID ? get_SystemFileSystem() : fileSystem;
|
|
4412
|
-
this.
|
|
4415
|
+
this.t2v_1 = fileSystem;
|
|
4413
4416
|
}
|
|
4414
|
-
protoOf(FileSystemImpl).
|
|
4417
|
+
protoOf(FileSystemImpl).q2v = function (path, $completion) {
|
|
4415
4418
|
var directoryPath = Path(path);
|
|
4416
|
-
var exists = this.
|
|
4419
|
+
var exists = this.t2v_1.j2l(directoryPath);
|
|
4417
4420
|
if (!exists) {
|
|
4418
|
-
this.
|
|
4421
|
+
this.t2v_1.n2l(directoryPath);
|
|
4419
4422
|
}
|
|
4420
4423
|
return Unit_instance;
|
|
4421
4424
|
};
|
|
4422
|
-
protoOf(FileSystemImpl).
|
|
4423
|
-
return buffered(this.
|
|
4425
|
+
protoOf(FileSystemImpl).r2v = function (path, fileName, append, $completion) {
|
|
4426
|
+
return buffered(this.t2v_1.o2l(Path_0(path, [fileName]), append));
|
|
4424
4427
|
};
|
|
4425
|
-
protoOf(FileSystemImpl).
|
|
4426
|
-
this.
|
|
4428
|
+
protoOf(FileSystemImpl).s2v = function (path, $completion) {
|
|
4429
|
+
this.t2v_1.l2l(Path_0(path, []));
|
|
4427
4430
|
return Unit_instance;
|
|
4428
4431
|
};
|
|
4429
4432
|
function LoggerFactoryImpl(coreConfig, fileSystem) {
|
|
4430
|
-
this.
|
|
4431
|
-
this.
|
|
4433
|
+
this.u2v_1 = coreConfig;
|
|
4434
|
+
this.v2v_1 = fileSystem;
|
|
4432
4435
|
}
|
|
4433
|
-
protoOf(LoggerFactoryImpl).
|
|
4436
|
+
protoOf(LoggerFactoryImpl).w2v = function (gameId, roomId, userId) {
|
|
4434
4437
|
// Inline function 'kotlin.let' call
|
|
4435
4438
|
// Inline function 'kotlin.contracts.contract' call
|
|
4436
4439
|
// Inline function 'com.logic.domain.logs.LoggerFactoryImpl.createLogger.<anonymous>' call
|
|
4437
|
-
var it = this.
|
|
4440
|
+
var it = this.u2v_1.fileNameFormat;
|
|
4438
4441
|
var tmp = Companion_instance_2;
|
|
4439
4442
|
var fileName = tmp.formatter(it, gameId, roomId, userId == null ? 'unknown_user_id' : userId);
|
|
4440
4443
|
// Inline function 'kotlin.collections.map' call
|
|
4441
|
-
var this_0 = split(this.
|
|
4444
|
+
var this_0 = split(this.u2v_1.requireDirectoryPath, ['/']);
|
|
4442
4445
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4443
4446
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
4444
4447
|
var tmp0_iterator = this_0.j();
|
|
@@ -4450,9 +4453,9 @@
|
|
|
4450
4453
|
destination.e(tmp$ret$2);
|
|
4451
4454
|
}
|
|
4452
4455
|
var segments = destination;
|
|
4453
|
-
var
|
|
4454
|
-
var
|
|
4455
|
-
return new LogsStorageControllerImpl(fileName,
|
|
4456
|
+
var tmp39_path = joinToString(segments, '/');
|
|
4457
|
+
var tmp40_fileSystem = this.v2v_1;
|
|
4458
|
+
return new LogsStorageControllerImpl(fileName, tmp39_path, tmp40_fileSystem);
|
|
4456
4459
|
};
|
|
4457
4460
|
function LoggerFactory() {
|
|
4458
4461
|
}
|
|
@@ -4464,7 +4467,7 @@
|
|
|
4464
4467
|
}
|
|
4465
4468
|
function $createDirectoryCOROUTINE$0(_this__u8e3s4, resultContinuation) {
|
|
4466
4469
|
CoroutineImpl.call(this, resultContinuation);
|
|
4467
|
-
this.
|
|
4470
|
+
this.p2w_1 = _this__u8e3s4;
|
|
4468
4471
|
}
|
|
4469
4472
|
protoOf($createDirectoryCOROUTINE$0).d9 = function () {
|
|
4470
4473
|
var suspendResult = this.x8_1;
|
|
@@ -4476,7 +4479,7 @@
|
|
|
4476
4479
|
this.w8_1 = 3;
|
|
4477
4480
|
this.w8_1 = 2;
|
|
4478
4481
|
this.v8_1 = 1;
|
|
4479
|
-
suspendResult = this.
|
|
4482
|
+
suspendResult = this.p2w_1.s2w_1.q2v(this.p2w_1.r2w_1, this);
|
|
4480
4483
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4481
4484
|
return suspendResult;
|
|
4482
4485
|
}
|
|
@@ -4517,8 +4520,8 @@
|
|
|
4517
4520
|
};
|
|
4518
4521
|
function $appendToFileCOROUTINE$1(_this__u8e3s4, message, resultContinuation) {
|
|
4519
4522
|
CoroutineImpl.call(this, resultContinuation);
|
|
4520
|
-
this.
|
|
4521
|
-
this.
|
|
4523
|
+
this.f2w_1 = _this__u8e3s4;
|
|
4524
|
+
this.g2w_1 = message;
|
|
4522
4525
|
}
|
|
4523
4526
|
protoOf($appendToFileCOROUTINE$1).d9 = function () {
|
|
4524
4527
|
var suspendResult = this.x8_1;
|
|
@@ -4530,7 +4533,7 @@
|
|
|
4530
4533
|
this.w8_1 = 3;
|
|
4531
4534
|
this.w8_1 = 2;
|
|
4532
4535
|
this.v8_1 = 1;
|
|
4533
|
-
suspendResult = this.
|
|
4536
|
+
suspendResult = this.f2w_1.s2w_1.r2v(this.f2w_1.r2w_1, this.f2w_1.q2w_1, true, this);
|
|
4534
4537
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4535
4538
|
return suspendResult;
|
|
4536
4539
|
}
|
|
@@ -4541,7 +4544,7 @@
|
|
|
4541
4544
|
var sink = buffered(ARGUMENT);
|
|
4542
4545
|
l$ret$1: do {
|
|
4543
4546
|
try {
|
|
4544
|
-
writeString(sink, this.
|
|
4547
|
+
writeString(sink, this.g2w_1 + '\n');
|
|
4545
4548
|
break l$ret$1;
|
|
4546
4549
|
} catch ($p) {
|
|
4547
4550
|
var t = $p;
|
|
@@ -4584,17 +4587,17 @@
|
|
|
4584
4587
|
while (true);
|
|
4585
4588
|
};
|
|
4586
4589
|
function LogsStorageControllerImpl(fileName, path, fileSystem) {
|
|
4587
|
-
this.
|
|
4588
|
-
this.
|
|
4589
|
-
this.
|
|
4590
|
+
this.q2w_1 = fileName;
|
|
4591
|
+
this.r2w_1 = path;
|
|
4592
|
+
this.s2w_1 = fileSystem;
|
|
4590
4593
|
}
|
|
4591
|
-
protoOf(LogsStorageControllerImpl).
|
|
4594
|
+
protoOf(LogsStorageControllerImpl).t2w = function ($completion) {
|
|
4592
4595
|
var tmp = new $createDirectoryCOROUTINE$0(this, $completion);
|
|
4593
4596
|
tmp.x8_1 = Unit_instance;
|
|
4594
4597
|
tmp.y8_1 = null;
|
|
4595
4598
|
return tmp.d9();
|
|
4596
4599
|
};
|
|
4597
|
-
protoOf(LogsStorageControllerImpl).
|
|
4600
|
+
protoOf(LogsStorageControllerImpl).u2w = function (log, $completion) {
|
|
4598
4601
|
return appendToFile(this, log, $completion);
|
|
4599
4602
|
};
|
|
4600
4603
|
function BufferedAction() {
|
|
@@ -4609,31 +4612,31 @@
|
|
|
4609
4612
|
initialDelay = initialDelay === VOID ? new Long(0, 0) : initialDelay;
|
|
4610
4613
|
type = type === VOID ? TimerType_DELAY_getInstance() : type;
|
|
4611
4614
|
TimerAction.call(this);
|
|
4612
|
-
this.
|
|
4613
|
-
this.
|
|
4614
|
-
this.
|
|
4615
|
-
this.
|
|
4615
|
+
this.a2x_1 = timerTag;
|
|
4616
|
+
this.b2x_1 = delayMillis;
|
|
4617
|
+
this.c2x_1 = initialDelay;
|
|
4618
|
+
this.d2x_1 = type;
|
|
4616
4619
|
}
|
|
4617
4620
|
protoOf(StartTimerAction).toString = function () {
|
|
4618
|
-
var tmp = 'StartTimerAction(' + ('timerTag=' + toString_0(this.
|
|
4621
|
+
var tmp = 'StartTimerAction(' + ('timerTag=' + toString_0(this.a2x_1) + ', ') + ('delayMillis=' + this.b2x_1.toString() + ', ');
|
|
4619
4622
|
// Inline function 'kotlin.takeIf' call
|
|
4620
|
-
var this_0 = 'initialDelay=' + this.
|
|
4623
|
+
var this_0 = 'initialDelay=' + this.c2x_1.toString() + ', ';
|
|
4621
4624
|
// Inline function 'kotlin.contracts.contract' call
|
|
4622
4625
|
var tmp_0;
|
|
4623
4626
|
// Inline function 'com.logic.redux.actions.StartTimerAction.toString.<anonymous>' call
|
|
4624
|
-
if (!this.
|
|
4627
|
+
if (!this.c2x_1.equals(new Long(0, 0))) {
|
|
4625
4628
|
tmp_0 = this_0;
|
|
4626
4629
|
} else {
|
|
4627
4630
|
tmp_0 = null;
|
|
4628
4631
|
}
|
|
4629
4632
|
var tmp0_elvis_lhs = tmp_0;
|
|
4630
|
-
return tmp + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs) + ('type=' + this.
|
|
4633
|
+
return tmp + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs) + ('type=' + this.d2x_1.toString()) + ')';
|
|
4631
4634
|
};
|
|
4632
4635
|
protoOf(StartTimerAction).hashCode = function () {
|
|
4633
|
-
var result = hashCode(this.
|
|
4634
|
-
result = imul(result, 31) + this.
|
|
4635
|
-
result = imul(result, 31) + this.
|
|
4636
|
-
result = imul(result, 31) + this.
|
|
4636
|
+
var result = hashCode(this.a2x_1);
|
|
4637
|
+
result = imul(result, 31) + this.b2x_1.hashCode() | 0;
|
|
4638
|
+
result = imul(result, 31) + this.c2x_1.hashCode() | 0;
|
|
4639
|
+
result = imul(result, 31) + this.d2x_1.hashCode() | 0;
|
|
4637
4640
|
return result;
|
|
4638
4641
|
};
|
|
4639
4642
|
protoOf(StartTimerAction).equals = function (other) {
|
|
@@ -4642,13 +4645,13 @@
|
|
|
4642
4645
|
if (!(other instanceof StartTimerAction))
|
|
4643
4646
|
return false;
|
|
4644
4647
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
4645
|
-
if (!equals(this.
|
|
4648
|
+
if (!equals(this.a2x_1, tmp0_other_with_cast.a2x_1))
|
|
4646
4649
|
return false;
|
|
4647
|
-
if (!this.
|
|
4650
|
+
if (!this.b2x_1.equals(tmp0_other_with_cast.b2x_1))
|
|
4648
4651
|
return false;
|
|
4649
|
-
if (!this.
|
|
4652
|
+
if (!this.c2x_1.equals(tmp0_other_with_cast.c2x_1))
|
|
4650
4653
|
return false;
|
|
4651
|
-
if (!this.
|
|
4654
|
+
if (!this.d2x_1.equals(tmp0_other_with_cast.d2x_1))
|
|
4652
4655
|
return false;
|
|
4653
4656
|
return true;
|
|
4654
4657
|
};
|
|
@@ -4667,18 +4670,18 @@
|
|
|
4667
4670
|
}
|
|
4668
4671
|
function TimerTickAction(timerTag, type) {
|
|
4669
4672
|
TimerAction.call(this);
|
|
4670
|
-
this.
|
|
4671
|
-
this.
|
|
4673
|
+
this.e2x_1 = timerTag;
|
|
4674
|
+
this.f2x_1 = type;
|
|
4672
4675
|
}
|
|
4673
4676
|
protoOf(TimerTickAction).notValidateWhenFinished = function () {
|
|
4674
|
-
return this.
|
|
4677
|
+
return this.e2x_1.notValidateWhenFinished();
|
|
4675
4678
|
};
|
|
4676
4679
|
protoOf(TimerTickAction).toString = function () {
|
|
4677
|
-
return 'TimerTickAction(timerTag=' + toString_0(this.
|
|
4680
|
+
return 'TimerTickAction(timerTag=' + toString_0(this.e2x_1) + ', type=' + this.f2x_1.toString() + ')';
|
|
4678
4681
|
};
|
|
4679
4682
|
protoOf(TimerTickAction).hashCode = function () {
|
|
4680
|
-
var result = hashCode(this.
|
|
4681
|
-
result = imul(result, 31) + this.
|
|
4683
|
+
var result = hashCode(this.e2x_1);
|
|
4684
|
+
result = imul(result, 31) + this.f2x_1.hashCode() | 0;
|
|
4682
4685
|
return result;
|
|
4683
4686
|
};
|
|
4684
4687
|
protoOf(TimerTickAction).equals = function (other) {
|
|
@@ -4687,21 +4690,21 @@
|
|
|
4687
4690
|
if (!(other instanceof TimerTickAction))
|
|
4688
4691
|
return false;
|
|
4689
4692
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4690
|
-
if (!equals(this.
|
|
4693
|
+
if (!equals(this.e2x_1, tmp0_other_with_cast.e2x_1))
|
|
4691
4694
|
return false;
|
|
4692
|
-
if (!this.
|
|
4695
|
+
if (!this.f2x_1.equals(tmp0_other_with_cast.f2x_1))
|
|
4693
4696
|
return false;
|
|
4694
4697
|
return true;
|
|
4695
4698
|
};
|
|
4696
4699
|
function StopTimerAction(timerTag) {
|
|
4697
4700
|
TimerAction.call(this);
|
|
4698
|
-
this.
|
|
4701
|
+
this.g2x_1 = timerTag;
|
|
4699
4702
|
}
|
|
4700
4703
|
protoOf(StopTimerAction).toString = function () {
|
|
4701
|
-
return 'StopTimerAction(timerTag=' + toString_0(this.
|
|
4704
|
+
return 'StopTimerAction(timerTag=' + toString_0(this.g2x_1) + ')';
|
|
4702
4705
|
};
|
|
4703
4706
|
protoOf(StopTimerAction).hashCode = function () {
|
|
4704
|
-
return hashCode(this.
|
|
4707
|
+
return hashCode(this.g2x_1);
|
|
4705
4708
|
};
|
|
4706
4709
|
protoOf(StopTimerAction).equals = function (other) {
|
|
4707
4710
|
if (this === other)
|
|
@@ -4709,7 +4712,7 @@
|
|
|
4709
4712
|
if (!(other instanceof StopTimerAction))
|
|
4710
4713
|
return false;
|
|
4711
4714
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
4712
|
-
if (!equals(this.
|
|
4715
|
+
if (!equals(this.g2x_1, tmp0_other_with_cast.g2x_1))
|
|
4713
4716
|
return false;
|
|
4714
4717
|
return true;
|
|
4715
4718
|
};
|
|
@@ -4767,7 +4770,7 @@
|
|
|
4767
4770
|
}
|
|
4768
4771
|
function applyMiddleware$lambda$lambda$lambda$lambda($middleware, $store, $dispatcher) {
|
|
4769
4772
|
return function (action) {
|
|
4770
|
-
$middleware.
|
|
4773
|
+
$middleware.h2x($store, $dispatcher, action);
|
|
4771
4774
|
return Unit_instance;
|
|
4772
4775
|
};
|
|
4773
4776
|
}
|
|
@@ -4783,7 +4786,7 @@
|
|
|
4783
4786
|
var element = this_0[inductionVariable];
|
|
4784
4787
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4785
4788
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4786
|
-
if (element.
|
|
4789
|
+
if (element.i2x(action)) {
|
|
4787
4790
|
destination.e(element);
|
|
4788
4791
|
}
|
|
4789
4792
|
}
|
|
@@ -4817,81 +4820,14 @@
|
|
|
4817
4820
|
return applyMiddleware$lambda$lambda(storeCreator, $middlewares);
|
|
4818
4821
|
};
|
|
4819
4822
|
}
|
|
4820
|
-
function applyThread(asyncProvider) {
|
|
4821
|
-
return applyThread$lambda(asyncProvider);
|
|
4822
|
-
}
|
|
4823
|
-
function applyThread$lambda$lambda$lambda$slambda($origDispatch, $action, resultContinuation) {
|
|
4824
|
-
this.c2y_1 = $origDispatch;
|
|
4825
|
-
this.d2y_1 = $action;
|
|
4826
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
4827
|
-
}
|
|
4828
|
-
protoOf(applyThread$lambda$lambda$lambda$slambda).b16 = function ($this$launchUnconfinedWithLock, $completion) {
|
|
4829
|
-
var tmp = this.c16($this$launchUnconfinedWithLock, $completion);
|
|
4830
|
-
tmp.x8_1 = Unit_instance;
|
|
4831
|
-
tmp.y8_1 = null;
|
|
4832
|
-
return tmp.d9();
|
|
4833
|
-
};
|
|
4834
|
-
protoOf(applyThread$lambda$lambda$lambda$slambda).y9 = function (p1, $completion) {
|
|
4835
|
-
return this.b16((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4836
|
-
};
|
|
4837
|
-
protoOf(applyThread$lambda$lambda$lambda$slambda).d9 = function () {
|
|
4838
|
-
var suspendResult = this.x8_1;
|
|
4839
|
-
$sm: do
|
|
4840
|
-
try {
|
|
4841
|
-
var tmp = this.v8_1;
|
|
4842
|
-
if (tmp === 0) {
|
|
4843
|
-
this.w8_1 = 1;
|
|
4844
|
-
this.c2y_1(this.d2y_1);
|
|
4845
|
-
return Unit_instance;
|
|
4846
|
-
} else if (tmp === 1) {
|
|
4847
|
-
throw this.y8_1;
|
|
4848
|
-
}
|
|
4849
|
-
} catch ($p) {
|
|
4850
|
-
var e = $p;
|
|
4851
|
-
throw e;
|
|
4852
|
-
}
|
|
4853
|
-
while (true);
|
|
4854
|
-
};
|
|
4855
|
-
protoOf(applyThread$lambda$lambda$lambda$slambda).c16 = function ($this$launchUnconfinedWithLock, completion) {
|
|
4856
|
-
var i = new applyThread$lambda$lambda$lambda$slambda(this.c2y_1, this.d2y_1, completion);
|
|
4857
|
-
i.e2y_1 = $this$launchUnconfinedWithLock;
|
|
4858
|
-
return i;
|
|
4859
|
-
};
|
|
4860
|
-
function applyThread$lambda$lambda$lambda$slambda_0($origDispatch, $action, resultContinuation) {
|
|
4861
|
-
var i = new applyThread$lambda$lambda$lambda$slambda($origDispatch, $action, resultContinuation);
|
|
4862
|
-
var l = function ($this$launchUnconfinedWithLock, $completion) {
|
|
4863
|
-
return i.b16($this$launchUnconfinedWithLock, $completion);
|
|
4864
|
-
};
|
|
4865
|
-
l.$arity = 1;
|
|
4866
|
-
return l;
|
|
4867
|
-
}
|
|
4868
|
-
function applyThread$lambda$lambda$lambda($asyncProvider, $origDispatch) {
|
|
4869
|
-
return function (action) {
|
|
4870
|
-
$asyncProvider.a2u(VOID, applyThread$lambda$lambda$lambda$slambda_0($origDispatch, action, null));
|
|
4871
|
-
return Unit_instance;
|
|
4872
|
-
};
|
|
4873
|
-
}
|
|
4874
|
-
function applyThread$lambda$lambda($storeCreator, $asyncProvider) {
|
|
4875
|
-
return function (reducer, initialState, en) {
|
|
4876
|
-
var store = $storeCreator(reducer, initialState, en);
|
|
4877
|
-
var origDispatch = store.dispatch;
|
|
4878
|
-
store.dispatch = applyThread$lambda$lambda$lambda($asyncProvider, origDispatch);
|
|
4879
|
-
return store;
|
|
4880
|
-
};
|
|
4881
|
-
}
|
|
4882
|
-
function applyThread$lambda($asyncProvider) {
|
|
4883
|
-
return function (storeCreator) {
|
|
4884
|
-
return applyThread$lambda$lambda(storeCreator, $asyncProvider);
|
|
4885
|
-
};
|
|
4886
|
-
}
|
|
4887
4823
|
function timerMiddleware(asyncProvider, jobsProvider) {
|
|
4888
4824
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4889
4825
|
return new _no_name_provided__qut3iv_0(asyncProvider, jobsProvider);
|
|
4890
4826
|
}
|
|
4891
4827
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $action, $store, resultContinuation) {
|
|
4892
|
-
this.
|
|
4893
|
-
this.
|
|
4894
|
-
this.
|
|
4828
|
+
this.r2x_1 = $jobsProvider;
|
|
4829
|
+
this.s2x_1 = $action;
|
|
4830
|
+
this.t2x_1 = $store;
|
|
4895
4831
|
CoroutineImpl.call(this, resultContinuation);
|
|
4896
4832
|
}
|
|
4897
4833
|
protoOf(timerMiddleware$o$handle$slambda$slambda).b16 = function ($this$launchMain, $completion) {
|
|
@@ -4910,8 +4846,8 @@
|
|
|
4910
4846
|
var tmp = this.v8_1;
|
|
4911
4847
|
if (tmp === 0) {
|
|
4912
4848
|
this.w8_1 = 1;
|
|
4913
|
-
if (this.
|
|
4914
|
-
this.
|
|
4849
|
+
if (this.r2x_1.n2v(this.s2x_1.a2x_1)) {
|
|
4850
|
+
this.t2x_1.dispatch(new TimerTickAction(this.s2x_1.a2x_1, TimerType_DELAY_getInstance()));
|
|
4915
4851
|
}
|
|
4916
4852
|
return Unit_instance;
|
|
4917
4853
|
} else if (tmp === 1) {
|
|
@@ -4924,8 +4860,8 @@
|
|
|
4924
4860
|
while (true);
|
|
4925
4861
|
};
|
|
4926
4862
|
protoOf(timerMiddleware$o$handle$slambda$slambda).c16 = function ($this$launchMain, completion) {
|
|
4927
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4928
|
-
i.
|
|
4863
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.r2x_1, this.s2x_1, this.t2x_1, completion);
|
|
4864
|
+
i.u2x_1 = $this$launchMain;
|
|
4929
4865
|
return i;
|
|
4930
4866
|
};
|
|
4931
4867
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -4937,9 +4873,9 @@
|
|
|
4937
4873
|
return l;
|
|
4938
4874
|
}
|
|
4939
4875
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $action, $store, resultContinuation) {
|
|
4940
|
-
this.
|
|
4941
|
-
this.
|
|
4942
|
-
this.
|
|
4876
|
+
this.d2y_1 = $jobsProvider;
|
|
4877
|
+
this.e2y_1 = $action;
|
|
4878
|
+
this.f2y_1 = $store;
|
|
4943
4879
|
CoroutineImpl.call(this, resultContinuation);
|
|
4944
4880
|
}
|
|
4945
4881
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).b16 = function ($this$launchMain, $completion) {
|
|
@@ -4958,8 +4894,8 @@
|
|
|
4958
4894
|
var tmp = this.v8_1;
|
|
4959
4895
|
if (tmp === 0) {
|
|
4960
4896
|
this.w8_1 = 1;
|
|
4961
|
-
if (this.
|
|
4962
|
-
this.
|
|
4897
|
+
if (this.d2y_1.n2v(this.e2y_1.a2x_1)) {
|
|
4898
|
+
this.f2y_1.dispatch(new TimerTickAction(this.e2y_1.a2x_1, TimerType_INTERVAL_getInstance()));
|
|
4963
4899
|
}
|
|
4964
4900
|
return Unit_instance;
|
|
4965
4901
|
} else if (tmp === 1) {
|
|
@@ -4972,8 +4908,8 @@
|
|
|
4972
4908
|
while (true);
|
|
4973
4909
|
};
|
|
4974
4910
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).c16 = function ($this$launchMain, completion) {
|
|
4975
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4976
|
-
i.
|
|
4911
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.d2y_1, this.e2y_1, this.f2y_1, completion);
|
|
4912
|
+
i.g2y_1 = $this$launchMain;
|
|
4977
4913
|
return i;
|
|
4978
4914
|
};
|
|
4979
4915
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -4985,10 +4921,10 @@
|
|
|
4985
4921
|
return l;
|
|
4986
4922
|
}
|
|
4987
4923
|
function timerMiddleware$o$handle$slambda($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4988
|
-
this.
|
|
4989
|
-
this.
|
|
4990
|
-
this.
|
|
4991
|
-
this.
|
|
4924
|
+
this.p2y_1 = $action;
|
|
4925
|
+
this.q2y_1 = $asyncProvider;
|
|
4926
|
+
this.r2y_1 = $jobsProvider;
|
|
4927
|
+
this.s2y_1 = $store;
|
|
4992
4928
|
CoroutineImpl.call(this, resultContinuation);
|
|
4993
4929
|
}
|
|
4994
4930
|
protoOf(timerMiddleware$o$handle$slambda).b16 = function ($this$launchDefault, $completion) {
|
|
@@ -5008,9 +4944,9 @@
|
|
|
5008
4944
|
switch (tmp) {
|
|
5009
4945
|
case 0:
|
|
5010
4946
|
this.w8_1 = 10;
|
|
5011
|
-
if (!this.
|
|
4947
|
+
if (!this.p2y_1.c2x_1.equals(new Long(0, 0)) && this.p2y_1.d2x_1.equals(TimerType_INTERVAL_getInstance())) {
|
|
5012
4948
|
this.v8_1 = 1;
|
|
5013
|
-
suspendResult = delay(this.
|
|
4949
|
+
suspendResult = delay(this.p2y_1.c2x_1, this);
|
|
5014
4950
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5015
4951
|
return suspendResult;
|
|
5016
4952
|
}
|
|
@@ -5024,20 +4960,20 @@
|
|
|
5024
4960
|
this.v8_1 = 2;
|
|
5025
4961
|
continue $sm;
|
|
5026
4962
|
case 2:
|
|
5027
|
-
this.
|
|
5028
|
-
this.
|
|
5029
|
-
if (this.
|
|
4963
|
+
this.u2y_1 = this.p2y_1.d2x_1;
|
|
4964
|
+
this.v2y_1 = this.u2y_1.n2_1;
|
|
4965
|
+
if (this.v2y_1 === 0) {
|
|
5030
4966
|
this.v8_1 = 8;
|
|
5031
|
-
suspendResult = delay(this.
|
|
4967
|
+
suspendResult = delay(this.p2y_1.b2x_1, this);
|
|
5032
4968
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5033
4969
|
return suspendResult;
|
|
5034
4970
|
}
|
|
5035
4971
|
continue $sm;
|
|
5036
4972
|
} else {
|
|
5037
|
-
if (this.
|
|
5038
|
-
if (!this.
|
|
4973
|
+
if (this.v2y_1 === 1) {
|
|
4974
|
+
if (!this.p2y_1.c2x_1.equals(new Long(0, 0))) {
|
|
5039
4975
|
this.v8_1 = 3;
|
|
5040
|
-
suspendResult = delay(this.
|
|
4976
|
+
suspendResult = delay(this.p2y_1.c2x_1, this);
|
|
5041
4977
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5042
4978
|
return suspendResult;
|
|
5043
4979
|
}
|
|
@@ -5060,14 +4996,14 @@
|
|
|
5060
4996
|
this.v8_1 = 5;
|
|
5061
4997
|
continue $sm;
|
|
5062
4998
|
case 5:
|
|
5063
|
-
if (!get_isActive(this.
|
|
4999
|
+
if (!get_isActive(this.t2y_1)) {
|
|
5064
5000
|
this.v8_1 = 7;
|
|
5065
5001
|
continue $sm;
|
|
5066
5002
|
}
|
|
5067
5003
|
|
|
5068
|
-
this.
|
|
5004
|
+
this.q2y_1.j2u(VOID, timerMiddleware$o$handle$slambda$slambda_2(this.r2y_1, this.p2y_1, this.s2y_1, null));
|
|
5069
5005
|
this.v8_1 = 6;
|
|
5070
|
-
suspendResult = delay(this.
|
|
5006
|
+
suspendResult = delay(this.p2y_1.c2x_1, this);
|
|
5071
5007
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5072
5008
|
return suspendResult;
|
|
5073
5009
|
}
|
|
@@ -5077,12 +5013,12 @@
|
|
|
5077
5013
|
this.v8_1 = 5;
|
|
5078
5014
|
continue $sm;
|
|
5079
5015
|
case 7:
|
|
5080
|
-
this.
|
|
5016
|
+
this.w2y_1 = Unit_instance;
|
|
5081
5017
|
this.v8_1 = 9;
|
|
5082
5018
|
continue $sm;
|
|
5083
5019
|
case 8:
|
|
5084
5020
|
var tmp_1 = this;
|
|
5085
|
-
tmp_1.
|
|
5021
|
+
tmp_1.w2y_1 = this.q2y_1.j2u(VOID, timerMiddleware$o$handle$slambda$slambda_0(this.r2y_1, this.p2y_1, this.s2y_1, null));
|
|
5086
5022
|
this.v8_1 = 9;
|
|
5087
5023
|
continue $sm;
|
|
5088
5024
|
case 9:
|
|
@@ -5102,8 +5038,8 @@
|
|
|
5102
5038
|
while (true);
|
|
5103
5039
|
};
|
|
5104
5040
|
protoOf(timerMiddleware$o$handle$slambda).c16 = function ($this$launchDefault, completion) {
|
|
5105
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
5106
|
-
i.
|
|
5041
|
+
var i = new timerMiddleware$o$handle$slambda(this.p2y_1, this.q2y_1, this.r2y_1, this.s2y_1, completion);
|
|
5042
|
+
i.t2y_1 = $this$launchDefault;
|
|
5107
5043
|
return i;
|
|
5108
5044
|
};
|
|
5109
5045
|
function timerMiddleware$o$handle$slambda_0($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
@@ -5115,25 +5051,25 @@
|
|
|
5115
5051
|
return l;
|
|
5116
5052
|
}
|
|
5117
5053
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
5118
|
-
this.
|
|
5119
|
-
this.
|
|
5054
|
+
this.x2y_1 = $asyncProvider;
|
|
5055
|
+
this.y2y_1 = $jobsProvider;
|
|
5120
5056
|
}
|
|
5121
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
5057
|
+
protoOf(_no_name_provided__qut3iv_0).i2x = function (action) {
|
|
5122
5058
|
return action instanceof TimerAction;
|
|
5123
5059
|
};
|
|
5124
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
5060
|
+
protoOf(_no_name_provided__qut3iv_0).z2y = function (store, next, action) {
|
|
5125
5061
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
5126
5062
|
var action_0 = action instanceof TimerAction ? action : THROW_CCE();
|
|
5127
5063
|
if (action_0 instanceof StartTimerAction) {
|
|
5128
|
-
var job = this.
|
|
5129
|
-
this.
|
|
5064
|
+
var job = this.x2y_1.f2u(VOID, timerMiddleware$o$handle$slambda_0(action_0, this.x2y_1, this.y2y_1, store, null));
|
|
5065
|
+
this.y2y_1.j2v(action_0.a2x_1, job);
|
|
5130
5066
|
} else {
|
|
5131
5067
|
if (action_0 instanceof StopTimerAction) {
|
|
5132
|
-
this.
|
|
5068
|
+
this.y2y_1.k2v(action_0.g2x_1);
|
|
5133
5069
|
} else {
|
|
5134
5070
|
if (action_0 instanceof TimerTickAction) {
|
|
5135
|
-
if (action_0.
|
|
5136
|
-
this.
|
|
5071
|
+
if (action_0.f2x_1.equals(TimerType_DELAY_getInstance())) {
|
|
5072
|
+
this.y2y_1.l2v(action_0.e2x_1);
|
|
5137
5073
|
}
|
|
5138
5074
|
} else {
|
|
5139
5075
|
noWhenBranchMatchedException();
|
|
@@ -5142,8 +5078,8 @@
|
|
|
5142
5078
|
}
|
|
5143
5079
|
next(action_0);
|
|
5144
5080
|
};
|
|
5145
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
5146
|
-
return this.
|
|
5081
|
+
protoOf(_no_name_provided__qut3iv_0).h2x = function (store, next, action) {
|
|
5082
|
+
return this.z2y(store, next, action);
|
|
5147
5083
|
};
|
|
5148
5084
|
function compose(functions) {
|
|
5149
5085
|
return compose$lambda(functions);
|
|
@@ -5179,7 +5115,7 @@
|
|
|
5179
5115
|
}
|
|
5180
5116
|
function createStore$dispatch(currentState, currentReducer, $logger, stateTrigger, action) {
|
|
5181
5117
|
try {
|
|
5182
|
-
currentState._v = currentReducer._v.
|
|
5118
|
+
currentState._v = currentReducer._v.a2z(currentState._v, action);
|
|
5183
5119
|
} catch ($p) {
|
|
5184
5120
|
if ($p instanceof Exception) {
|
|
5185
5121
|
var exception = $p;
|
|
@@ -5200,18 +5136,18 @@
|
|
|
5200
5136
|
};
|
|
5201
5137
|
}
|
|
5202
5138
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation) {
|
|
5203
|
-
this.
|
|
5204
|
-
this.
|
|
5139
|
+
this.j2z_1 = $$this$unsafeFlow;
|
|
5140
|
+
this.k2z_1 = this$0;
|
|
5205
5141
|
CoroutineImpl.call(this, resultContinuation);
|
|
5206
5142
|
}
|
|
5207
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
5208
|
-
var tmp = this.
|
|
5143
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).o2z = function (value, $completion) {
|
|
5144
|
+
var tmp = this.p2z(value, $completion);
|
|
5209
5145
|
tmp.x8_1 = Unit_instance;
|
|
5210
5146
|
tmp.y8_1 = null;
|
|
5211
5147
|
return tmp.d9();
|
|
5212
5148
|
};
|
|
5213
5149
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).y9 = function (p1, $completion) {
|
|
5214
|
-
return this.
|
|
5150
|
+
return this.o2z((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
5215
5151
|
};
|
|
5216
5152
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).d9 = function () {
|
|
5217
5153
|
var suspendResult = this.x8_1;
|
|
@@ -5222,12 +5158,12 @@
|
|
|
5222
5158
|
case 0:
|
|
5223
5159
|
this.w8_1 = 2;
|
|
5224
5160
|
var tmp_0 = this;
|
|
5225
|
-
tmp_0.
|
|
5161
|
+
tmp_0.m2z_1 = this.j2z_1;
|
|
5226
5162
|
var tmp_1 = this;
|
|
5227
|
-
tmp_1.
|
|
5163
|
+
tmp_1.n2z_1 = this.l2z_1;
|
|
5228
5164
|
this.v8_1 = 1;
|
|
5229
|
-
this.
|
|
5230
|
-
suspendResult = this.
|
|
5165
|
+
this.n2z_1;
|
|
5166
|
+
suspendResult = this.m2z_1.e11(this.k2z_1.state, this);
|
|
5231
5167
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5232
5168
|
return suspendResult;
|
|
5233
5169
|
}
|
|
@@ -5249,23 +5185,23 @@
|
|
|
5249
5185
|
}
|
|
5250
5186
|
while (true);
|
|
5251
5187
|
};
|
|
5252
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
5253
|
-
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.
|
|
5254
|
-
i.
|
|
5188
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).p2z = function (value, completion) {
|
|
5189
|
+
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.j2z_1, this.k2z_1, completion);
|
|
5190
|
+
i.l2z_1 = value;
|
|
5255
5191
|
return i;
|
|
5256
5192
|
};
|
|
5257
5193
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
5258
5194
|
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation);
|
|
5259
5195
|
var l = function (value, $completion) {
|
|
5260
|
-
return i.
|
|
5196
|
+
return i.o2z(value, $completion);
|
|
5261
5197
|
};
|
|
5262
5198
|
l.$arity = 1;
|
|
5263
5199
|
return l;
|
|
5264
5200
|
}
|
|
5265
5201
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
5266
5202
|
CoroutineImpl.call(this, resultContinuation);
|
|
5267
|
-
this.
|
|
5268
|
-
this.
|
|
5203
|
+
this.y2z_1 = _this__u8e3s4;
|
|
5204
|
+
this.z2z_1 = collector;
|
|
5269
5205
|
}
|
|
5270
5206
|
protoOf($collectCOROUTINE$2).d9 = function () {
|
|
5271
5207
|
var suspendResult = this.x8_1;
|
|
@@ -5276,10 +5212,10 @@
|
|
|
5276
5212
|
case 0:
|
|
5277
5213
|
this.w8_1 = 2;
|
|
5278
5214
|
var tmp_0 = this;
|
|
5279
|
-
tmp_0.
|
|
5215
|
+
tmp_0.a30_1 = this.z2z_1;
|
|
5280
5216
|
this.v8_1 = 1;
|
|
5281
|
-
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.
|
|
5282
|
-
suspendResult = this.
|
|
5217
|
+
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.a30_1, this.y2z_1.c30_1, null);
|
|
5218
|
+
suspendResult = this.y2z_1.b30_1.o10(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
5283
5219
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5284
5220
|
return suspendResult;
|
|
5285
5221
|
}
|
|
@@ -5302,10 +5238,10 @@
|
|
|
5302
5238
|
while (true);
|
|
5303
5239
|
};
|
|
5304
5240
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
5305
|
-
this.
|
|
5241
|
+
this.d30_1 = function_0;
|
|
5306
5242
|
}
|
|
5307
5243
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).e11 = function (value, $completion) {
|
|
5308
|
-
return this.
|
|
5244
|
+
return this.d30_1(value, $completion);
|
|
5309
5245
|
};
|
|
5310
5246
|
function createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
5311
5247
|
return function (action) {
|
|
@@ -5320,8 +5256,8 @@
|
|
|
5320
5256
|
};
|
|
5321
5257
|
}
|
|
5322
5258
|
function _no_name_provided__qut3iv_1($this, this$0) {
|
|
5323
|
-
this.
|
|
5324
|
-
this.
|
|
5259
|
+
this.b30_1 = $this;
|
|
5260
|
+
this.c30_1 = this$0;
|
|
5325
5261
|
}
|
|
5326
5262
|
protoOf(_no_name_provided__qut3iv_1).c1b = function (collector, $completion) {
|
|
5327
5263
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
@@ -5333,33 +5269,33 @@
|
|
|
5333
5269
|
return this.c1b(collector, $completion);
|
|
5334
5270
|
};
|
|
5335
5271
|
function createStore$2($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
5336
|
-
this.
|
|
5337
|
-
this.
|
|
5338
|
-
this.
|
|
5272
|
+
this.h30_1 = $currentState;
|
|
5273
|
+
this.i30_1 = $stateTrigger;
|
|
5274
|
+
this.e30_1 = this;
|
|
5339
5275
|
var tmp = this;
|
|
5340
|
-
tmp.
|
|
5276
|
+
tmp.f30_1 = createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger);
|
|
5341
5277
|
var tmp_0 = this;
|
|
5342
|
-
tmp_0.
|
|
5278
|
+
tmp_0.g30_1 = createStore$o$replaceReducer$lambda($currentReducer, $currentState, $logger, $stateTrigger);
|
|
5343
5279
|
}
|
|
5344
|
-
protoOf(createStore$2).
|
|
5345
|
-
return this.
|
|
5280
|
+
protoOf(createStore$2).j30 = function () {
|
|
5281
|
+
return this.e30_1;
|
|
5346
5282
|
};
|
|
5347
|
-
protoOf(createStore$2).
|
|
5348
|
-
return createStore$getState(this.
|
|
5283
|
+
protoOf(createStore$2).d2q = function () {
|
|
5284
|
+
return createStore$getState(this.h30_1);
|
|
5349
5285
|
};
|
|
5350
|
-
protoOf(createStore$2).
|
|
5351
|
-
this.
|
|
5286
|
+
protoOf(createStore$2).k30 = function (_set____db54di) {
|
|
5287
|
+
this.f30_1 = _set____db54di;
|
|
5352
5288
|
};
|
|
5353
|
-
protoOf(createStore$2).
|
|
5354
|
-
return this.
|
|
5289
|
+
protoOf(createStore$2).l30 = function () {
|
|
5290
|
+
return this.f30_1;
|
|
5355
5291
|
};
|
|
5356
|
-
protoOf(createStore$2).
|
|
5357
|
-
return this.
|
|
5292
|
+
protoOf(createStore$2).m30 = function () {
|
|
5293
|
+
return this.g30_1;
|
|
5358
5294
|
};
|
|
5359
|
-
protoOf(createStore$2).
|
|
5295
|
+
protoOf(createStore$2).n30 = function () {
|
|
5360
5296
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
5361
5297
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
5362
|
-
var this_0 = this.
|
|
5298
|
+
var this_0 = this.i30_1;
|
|
5363
5299
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
5364
5300
|
return new _no_name_provided__qut3iv_1(this_0, this);
|
|
5365
5301
|
};
|
|
@@ -5437,10 +5373,10 @@
|
|
|
5437
5373
|
return new middleware$1(dispatch);
|
|
5438
5374
|
}
|
|
5439
5375
|
function middleware$1($dispatch) {
|
|
5440
|
-
this.
|
|
5376
|
+
this.o30_1 = $dispatch;
|
|
5441
5377
|
}
|
|
5442
|
-
protoOf(middleware$1).
|
|
5443
|
-
this.
|
|
5378
|
+
protoOf(middleware$1).h2x = function (store, next, action) {
|
|
5379
|
+
this.o30_1(store, next, action);
|
|
5444
5380
|
};
|
|
5445
5381
|
function Reducer() {
|
|
5446
5382
|
}
|
|
@@ -5448,13 +5384,13 @@
|
|
|
5448
5384
|
return new combineReducers$1(reducers);
|
|
5449
5385
|
}
|
|
5450
5386
|
function combineReducers$1($reducers) {
|
|
5451
|
-
this.
|
|
5387
|
+
this.p30_1 = $reducers;
|
|
5452
5388
|
}
|
|
5453
|
-
protoOf(combineReducers$1).
|
|
5389
|
+
protoOf(combineReducers$1).q30 = function (state, action) {
|
|
5454
5390
|
// Inline function 'kotlin.collections.fold' call
|
|
5455
5391
|
// Inline function 'kotlin.collections.filter' call
|
|
5456
5392
|
// Inline function 'kotlin.collections.filterTo' call
|
|
5457
|
-
var this_0 = this.
|
|
5393
|
+
var this_0 = this.p30_1;
|
|
5458
5394
|
var destination = ArrayList_init_$Create$();
|
|
5459
5395
|
var inductionVariable = 0;
|
|
5460
5396
|
var last = this_0.length;
|
|
@@ -5462,7 +5398,7 @@
|
|
|
5462
5398
|
var element = this_0[inductionVariable];
|
|
5463
5399
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5464
5400
|
// Inline function 'com.logic.redux.store.definitions.<no name provided>.reduce.<anonymous>' call
|
|
5465
|
-
if (element.
|
|
5401
|
+
if (element.i2x(action)) {
|
|
5466
5402
|
destination.e(element);
|
|
5467
5403
|
}
|
|
5468
5404
|
}
|
|
@@ -5472,12 +5408,12 @@
|
|
|
5472
5408
|
var element_0 = tmp0_iterator.l();
|
|
5473
5409
|
// Inline function 'com.logic.redux.store.definitions.<no name provided>.reduce.<anonymous>' call
|
|
5474
5410
|
var s = accumulator;
|
|
5475
|
-
accumulator = element_0.
|
|
5411
|
+
accumulator = element_0.a2z(s, action);
|
|
5476
5412
|
}
|
|
5477
5413
|
return accumulator;
|
|
5478
5414
|
};
|
|
5479
|
-
protoOf(combineReducers$1).
|
|
5480
|
-
return this.
|
|
5415
|
+
protoOf(combineReducers$1).a2z = function (state, action) {
|
|
5416
|
+
return this.q30((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5481
5417
|
};
|
|
5482
5418
|
function Store() {
|
|
5483
5419
|
}
|
|
@@ -5498,8 +5434,8 @@
|
|
|
5498
5434
|
}
|
|
5499
5435
|
tmp$ret$1 = null;
|
|
5500
5436
|
}
|
|
5501
|
-
var
|
|
5502
|
-
var tmp0_elvis_lhs =
|
|
5437
|
+
var tmp43_safe_receiver = tmp$ret$1;
|
|
5438
|
+
var tmp0_elvis_lhs = tmp43_safe_receiver == null ? null : tmp43_safe_receiver.d2();
|
|
5503
5439
|
var tmp;
|
|
5504
5440
|
if (tmp0_elvis_lhs == null) {
|
|
5505
5441
|
throw IllegalArgumentException_init_$Create$("can't find key " + _this__u8e3s4.toString() + ', in mapping ' + toString_0(mapping));
|
|
@@ -5613,19 +5549,19 @@
|
|
|
5613
5549
|
var tmp0_elvis_lhs = toIntOrNull(split(_this__u8e3s4, ['.']).o(1));
|
|
5614
5550
|
return tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
5615
5551
|
}
|
|
5616
|
-
function _get_$
|
|
5617
|
-
return $this.
|
|
5552
|
+
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
5553
|
+
return $this.r30_1.e2();
|
|
5618
5554
|
}
|
|
5619
5555
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
5620
|
-
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType',
|
|
5556
|
+
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_4());
|
|
5621
5557
|
}
|
|
5622
5558
|
var LogType_DEBUG_instance;
|
|
5623
5559
|
var LogType_ERROR_instance;
|
|
5624
5560
|
var LogType_WARN_instance;
|
|
5625
|
-
function
|
|
5561
|
+
function values_4() {
|
|
5626
5562
|
return [LogType_DEBUG_getInstance(), LogType_ERROR_getInstance(), LogType_WARN_getInstance()];
|
|
5627
5563
|
}
|
|
5628
|
-
function
|
|
5564
|
+
function valueOf_3(value) {
|
|
5629
5565
|
switch (value) {
|
|
5630
5566
|
case 'DEBUG':
|
|
5631
5567
|
return LogType_DEBUG_getInstance();
|
|
@@ -5641,27 +5577,27 @@
|
|
|
5641
5577
|
}
|
|
5642
5578
|
function get_entries() {
|
|
5643
5579
|
if ($ENTRIES == null)
|
|
5644
|
-
$ENTRIES = enumEntries(
|
|
5580
|
+
$ENTRIES = enumEntries(values_4());
|
|
5645
5581
|
return $ENTRIES;
|
|
5646
5582
|
}
|
|
5647
|
-
function
|
|
5648
|
-
|
|
5583
|
+
function Companion_17() {
|
|
5584
|
+
Companion_instance_18 = this;
|
|
5649
5585
|
var tmp = this;
|
|
5650
5586
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
5651
|
-
tmp.
|
|
5587
|
+
tmp.r30_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
5652
5588
|
}
|
|
5653
|
-
protoOf(
|
|
5654
|
-
return _get_$
|
|
5589
|
+
protoOf(Companion_17).o22 = function () {
|
|
5590
|
+
return _get_$cachedSerializer__te6jhj_8(this);
|
|
5655
5591
|
};
|
|
5656
|
-
protoOf(
|
|
5592
|
+
protoOf(Companion_17).e1r = function (typeParamsSerializers) {
|
|
5657
5593
|
return this.o22();
|
|
5658
5594
|
};
|
|
5659
|
-
var
|
|
5660
|
-
function
|
|
5595
|
+
var Companion_instance_18;
|
|
5596
|
+
function Companion_getInstance_19() {
|
|
5661
5597
|
LogType_initEntries();
|
|
5662
|
-
if (
|
|
5663
|
-
new
|
|
5664
|
-
return
|
|
5598
|
+
if (Companion_instance_18 == null)
|
|
5599
|
+
new Companion_17();
|
|
5600
|
+
return Companion_instance_18;
|
|
5665
5601
|
}
|
|
5666
5602
|
var LogType_entriesInitialized;
|
|
5667
5603
|
function LogType_initEntries() {
|
|
@@ -5671,7 +5607,7 @@
|
|
|
5671
5607
|
LogType_DEBUG_instance = new LogType('DEBUG', 0);
|
|
5672
5608
|
LogType_ERROR_instance = new LogType('ERROR', 1);
|
|
5673
5609
|
LogType_WARN_instance = new LogType('WARN', 2);
|
|
5674
|
-
|
|
5610
|
+
Companion_getInstance_19();
|
|
5675
5611
|
}
|
|
5676
5612
|
var $ENTRIES;
|
|
5677
5613
|
function LogType(name, ordinal) {
|
|
@@ -5691,22 +5627,22 @@
|
|
|
5691
5627
|
}
|
|
5692
5628
|
function ObservableLoggerOutput() {
|
|
5693
5629
|
}
|
|
5694
|
-
function
|
|
5695
|
-
|
|
5630
|
+
function Companion_18() {
|
|
5631
|
+
Companion_instance_19 = this;
|
|
5696
5632
|
var tmp = this;
|
|
5697
5633
|
// Inline function 'kotlin.arrayOf' call
|
|
5698
5634
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
5699
5635
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5700
|
-
tmp.
|
|
5636
|
+
tmp.v30_1 = [Companion_getInstance_19().o22(), null, null, null];
|
|
5701
5637
|
}
|
|
5702
|
-
protoOf(
|
|
5638
|
+
protoOf(Companion_18).o22 = function () {
|
|
5703
5639
|
return $serializer_getInstance_7();
|
|
5704
5640
|
};
|
|
5705
|
-
var
|
|
5706
|
-
function
|
|
5707
|
-
if (
|
|
5708
|
-
new
|
|
5709
|
-
return
|
|
5641
|
+
var Companion_instance_19;
|
|
5642
|
+
function Companion_getInstance_20() {
|
|
5643
|
+
if (Companion_instance_19 == null)
|
|
5644
|
+
new Companion_18();
|
|
5645
|
+
return Companion_instance_19;
|
|
5710
5646
|
}
|
|
5711
5647
|
function $serializer_7() {
|
|
5712
5648
|
$serializer_instance_7 = this;
|
|
@@ -5715,12 +5651,12 @@
|
|
|
5715
5651
|
tmp0_serialDesc.e1q('tag', false);
|
|
5716
5652
|
tmp0_serialDesc.e1q('message', false);
|
|
5717
5653
|
tmp0_serialDesc.e1q('stackTrace', false);
|
|
5718
|
-
this.
|
|
5654
|
+
this.w30_1 = tmp0_serialDesc;
|
|
5719
5655
|
}
|
|
5720
|
-
protoOf($serializer_7).
|
|
5721
|
-
var tmp0_desc = this.
|
|
5656
|
+
protoOf($serializer_7).x30 = function (encoder, value) {
|
|
5657
|
+
var tmp0_desc = this.w30_1;
|
|
5722
5658
|
var tmp1_output = encoder.q1i(tmp0_desc);
|
|
5723
|
-
var tmp2_cached =
|
|
5659
|
+
var tmp2_cached = Companion_getInstance_20().v30_1;
|
|
5724
5660
|
tmp1_output.h1k(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
5725
5661
|
tmp1_output.j1k(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
5726
5662
|
tmp1_output.j1k(tmp0_desc, 2, StringSerializer_getInstance(), value.message);
|
|
@@ -5728,10 +5664,10 @@
|
|
|
5728
5664
|
tmp1_output.r1i(tmp0_desc);
|
|
5729
5665
|
};
|
|
5730
5666
|
protoOf($serializer_7).j1f = function (encoder, value) {
|
|
5731
|
-
return this.
|
|
5667
|
+
return this.x30(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
5732
5668
|
};
|
|
5733
5669
|
protoOf($serializer_7).k1f = function (decoder) {
|
|
5734
|
-
var tmp0_desc = this.
|
|
5670
|
+
var tmp0_desc = this.w30_1;
|
|
5735
5671
|
var tmp1_flag = true;
|
|
5736
5672
|
var tmp2_index = 0;
|
|
5737
5673
|
var tmp3_bitMask0 = 0;
|
|
@@ -5740,7 +5676,7 @@
|
|
|
5740
5676
|
var tmp6_local2 = null;
|
|
5741
5677
|
var tmp7_local3 = null;
|
|
5742
5678
|
var tmp8_input = decoder.q1i(tmp0_desc);
|
|
5743
|
-
var tmp9_cached =
|
|
5679
|
+
var tmp9_cached = Companion_getInstance_20().v30_1;
|
|
5744
5680
|
if (tmp8_input.g1j()) {
|
|
5745
5681
|
tmp4_local0 = tmp8_input.c1j(tmp0_desc, 0, tmp9_cached[0], tmp4_local0);
|
|
5746
5682
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -5781,13 +5717,13 @@
|
|
|
5781
5717
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
5782
5718
|
};
|
|
5783
5719
|
protoOf($serializer_7).i1f = function () {
|
|
5784
|
-
return this.
|
|
5720
|
+
return this.w30_1;
|
|
5785
5721
|
};
|
|
5786
5722
|
protoOf($serializer_7).t1q = function () {
|
|
5787
5723
|
// Inline function 'kotlin.arrayOf' call
|
|
5788
5724
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
5789
5725
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5790
|
-
return [
|
|
5726
|
+
return [Companion_getInstance_20().v30_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
5791
5727
|
};
|
|
5792
5728
|
var $serializer_instance_7;
|
|
5793
5729
|
function $serializer_getInstance_7() {
|
|
@@ -5797,7 +5733,7 @@
|
|
|
5797
5733
|
}
|
|
5798
5734
|
function LoggerOutputDataDto_init_$Init$(seen0, type, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
5799
5735
|
if (!(15 === (15 & seen0))) {
|
|
5800
|
-
throwMissingFieldException(seen0, 15, $serializer_getInstance_7().
|
|
5736
|
+
throwMissingFieldException(seen0, 15, $serializer_getInstance_7().w30_1);
|
|
5801
5737
|
}
|
|
5802
5738
|
$this.type = type;
|
|
5803
5739
|
$this.tag = tag;
|
|
@@ -5809,7 +5745,7 @@
|
|
|
5809
5745
|
return LoggerOutputDataDto_init_$Init$(seen0, type, tag, message, stackTrace, serializationConstructorMarker, objectCreate(protoOf(LoggerOutputDataDto)));
|
|
5810
5746
|
}
|
|
5811
5747
|
function LoggerOutputDataDto(type, tag, message, stackTrace) {
|
|
5812
|
-
|
|
5748
|
+
Companion_getInstance_20();
|
|
5813
5749
|
this.type = type;
|
|
5814
5750
|
this.tag = tag;
|
|
5815
5751
|
this.message = message;
|
|
@@ -5824,7 +5760,7 @@
|
|
|
5824
5760
|
protoOf(LoggerOutputDataDto).l9 = function () {
|
|
5825
5761
|
return this.message;
|
|
5826
5762
|
};
|
|
5827
|
-
protoOf(LoggerOutputDataDto).
|
|
5763
|
+
protoOf(LoggerOutputDataDto).y30 = function () {
|
|
5828
5764
|
return this.stackTrace;
|
|
5829
5765
|
};
|
|
5830
5766
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -5871,7 +5807,7 @@
|
|
|
5871
5807
|
protoOf(LoggerOutputDataDto).m2o = function () {
|
|
5872
5808
|
return this.stackTrace;
|
|
5873
5809
|
};
|
|
5874
|
-
protoOf(LoggerOutputDataDto).
|
|
5810
|
+
protoOf(LoggerOutputDataDto).z30 = function (type, tag, message, stackTrace) {
|
|
5875
5811
|
return new LoggerOutputDataDto(type, tag, message, stackTrace);
|
|
5876
5812
|
};
|
|
5877
5813
|
protoOf(LoggerOutputDataDto).copy = function (type, tag, message, stackTrace, $super) {
|
|
@@ -5879,7 +5815,7 @@
|
|
|
5879
5815
|
tag = tag === VOID ? this.tag : tag;
|
|
5880
5816
|
message = message === VOID ? this.message : message;
|
|
5881
5817
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
5882
|
-
return this.
|
|
5818
|
+
return this.z30(type, tag, message, stackTrace);
|
|
5883
5819
|
};
|
|
5884
5820
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
5885
5821
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -5916,6 +5852,8 @@
|
|
|
5916
5852
|
defineProp(protoOf(Reason), 'name', protoOf(Reason).o2);
|
|
5917
5853
|
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).p2);
|
|
5918
5854
|
protoOf($serializer_3).u1q = typeParametersSerializers;
|
|
5855
|
+
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).o2);
|
|
5856
|
+
defineProp(protoOf(Reason_0), 'ordinal', protoOf(Reason_0).p2);
|
|
5919
5857
|
protoOf($serializer_4).u1q = typeParametersSerializers;
|
|
5920
5858
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
5921
5859
|
return this.t2o();
|
|
@@ -5923,71 +5861,70 @@
|
|
|
5923
5861
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
5924
5862
|
return this.t2o();
|
|
5925
5863
|
});
|
|
5926
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
5927
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
5928
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
5929
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
5930
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
5931
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
5932
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
5933
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
5934
|
-
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).
|
|
5935
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
5864
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).i2r);
|
|
5865
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).j2r);
|
|
5866
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).k2r);
|
|
5867
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).l2r);
|
|
5868
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).m2r);
|
|
5869
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).n2r);
|
|
5870
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).o2r);
|
|
5871
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).p2r);
|
|
5872
|
+
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).q2r);
|
|
5873
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).r2r);
|
|
5936
5874
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).o2);
|
|
5937
5875
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).p2);
|
|
5938
|
-
defineProp(protoOf(RulesSetType), 'isCustom', protoOf(RulesSetType).
|
|
5876
|
+
defineProp(protoOf(RulesSetType), 'isCustom', protoOf(RulesSetType).l2t);
|
|
5939
5877
|
defineProp(protoOf(RulesSetType), 'name', protoOf(RulesSetType).o2);
|
|
5940
5878
|
defineProp(protoOf(RulesSetType), 'ordinal', protoOf(RulesSetType).p2);
|
|
5941
5879
|
protoOf($serializer_5).u1q = typeParametersSerializers;
|
|
5942
5880
|
protoOf($serializer_6).u1q = typeParametersSerializers;
|
|
5943
|
-
protoOf(AsyncProviderImpl).
|
|
5944
|
-
protoOf(AsyncProviderImpl).
|
|
5945
|
-
protoOf(AsyncProviderImpl).
|
|
5946
|
-
protoOf(
|
|
5947
|
-
protoOf(TimerAction).g2x = get_actionTag;
|
|
5881
|
+
protoOf(AsyncProviderImpl).j2u = launchMain$default;
|
|
5882
|
+
protoOf(AsyncProviderImpl).f2u = launchDefault$default;
|
|
5883
|
+
protoOf(AsyncProviderImpl).h2u = launchDefaultWithLock$default;
|
|
5884
|
+
protoOf(TimerAction).v2w = get_actionTag;
|
|
5948
5885
|
defineProp(protoOf(TimerAction), 'actionTag', function () {
|
|
5949
|
-
return this.
|
|
5886
|
+
return this.v2w();
|
|
5950
5887
|
});
|
|
5951
5888
|
defineProp(protoOf(StartTimerAction), 'actionTag', function () {
|
|
5952
|
-
return this.
|
|
5889
|
+
return this.v2w();
|
|
5953
5890
|
});
|
|
5954
5891
|
defineProp(protoOf(TimerTickAction), 'actionTag', function () {
|
|
5955
|
-
return this.
|
|
5892
|
+
return this.v2w();
|
|
5956
5893
|
});
|
|
5957
5894
|
protoOf(StopTimerAction).notValidateWhenFinishing = notValidateWhenFinishing;
|
|
5958
5895
|
protoOf(StopTimerAction).notValidateWhenFinished = notValidateWhenFinished;
|
|
5959
5896
|
defineProp(protoOf(StopTimerAction), 'actionTag', function () {
|
|
5960
|
-
return this.
|
|
5897
|
+
return this.v2w();
|
|
5961
5898
|
});
|
|
5962
5899
|
defineProp(protoOf(createStore$2), 'store', function () {
|
|
5963
|
-
return this.
|
|
5900
|
+
return this.j30();
|
|
5964
5901
|
});
|
|
5965
5902
|
defineProp(protoOf(createStore$2), 'state', function () {
|
|
5966
|
-
return this.
|
|
5903
|
+
return this.d2q();
|
|
5967
5904
|
});
|
|
5968
5905
|
defineProp(protoOf(createStore$2), 'dispatch', function () {
|
|
5969
|
-
return this.
|
|
5906
|
+
return this.l30();
|
|
5970
5907
|
}, function (value) {
|
|
5971
|
-
this.
|
|
5908
|
+
this.k30(value);
|
|
5972
5909
|
});
|
|
5973
5910
|
defineProp(protoOf(createStore$2), 'replaceReducer', function () {
|
|
5974
|
-
return this.
|
|
5911
|
+
return this.m30();
|
|
5975
5912
|
});
|
|
5976
5913
|
defineProp(protoOf(createStore$2), 'observe', function () {
|
|
5977
|
-
return this.
|
|
5914
|
+
return this.n30();
|
|
5978
5915
|
});
|
|
5979
|
-
protoOf(ActionTypes).
|
|
5916
|
+
protoOf(ActionTypes).v2w = get_actionTag;
|
|
5980
5917
|
defineProp(protoOf(ActionTypes), 'actionTag', function () {
|
|
5981
|
-
return this.
|
|
5918
|
+
return this.v2w();
|
|
5982
5919
|
});
|
|
5983
5920
|
defineProp(protoOf(INIT), 'actionTag', function () {
|
|
5984
|
-
return this.
|
|
5921
|
+
return this.v2w();
|
|
5985
5922
|
});
|
|
5986
5923
|
defineProp(protoOf(REPLACE), 'actionTag', function () {
|
|
5987
|
-
return this.
|
|
5924
|
+
return this.v2w();
|
|
5988
5925
|
});
|
|
5989
|
-
protoOf(middleware$1).
|
|
5990
|
-
protoOf(combineReducers$1).
|
|
5926
|
+
protoOf(middleware$1).i2x = canHandle;
|
|
5927
|
+
protoOf(combineReducers$1).i2x = canHandle_0;
|
|
5991
5928
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).o2);
|
|
5992
5929
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).p2);
|
|
5993
5930
|
protoOf($serializer_7).u1q = typeParametersSerializers;
|
|
@@ -6000,12 +5937,11 @@
|
|
|
6000
5937
|
Companion_instance_4 = new Companion_3();
|
|
6001
5938
|
Companion_instance_5 = new Companion_4();
|
|
6002
5939
|
Companion_instance_6 = new Companion_5();
|
|
6003
|
-
|
|
6004
|
-
Companion_instance_10 = new Companion_9();
|
|
6005
|
-
Companion_instance_13 = new Companion_12();
|
|
5940
|
+
Companion_instance_11 = new Companion_10();
|
|
6006
5941
|
Companion_instance_14 = new Companion_13();
|
|
6007
5942
|
Companion_instance_15 = new Companion_14();
|
|
6008
5943
|
Companion_instance_16 = new Companion_15();
|
|
5944
|
+
Companion_instance_17 = new Companion_16();
|
|
6009
5945
|
UUIDIdsProvider_instance = new UUIDIdsProvider();
|
|
6010
5946
|
//endregion
|
|
6011
5947
|
//region block: exports
|
|
@@ -6042,7 +5978,15 @@
|
|
|
6042
5978
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'Companion', Companion_getInstance_8);
|
|
6043
5979
|
defineProp($com$logic$data$models.GameFinishedReason, 'Companion', Companion_getInstance_9);
|
|
6044
5980
|
$com$logic$data$models.GameErrorReason = GameErrorReason;
|
|
6045
|
-
|
|
5981
|
+
$com$logic$data$models.GameErrorReason.Reason = Reason_0;
|
|
5982
|
+
$com$logic$data$models.GameErrorReason.Reason.values = values_0;
|
|
5983
|
+
$com$logic$data$models.GameErrorReason.Reason.valueOf = valueOf_0;
|
|
5984
|
+
defineProp($com$logic$data$models.GameErrorReason.Reason, 'SERVER_ERROR', Reason_SERVER_ERROR_getInstance);
|
|
5985
|
+
defineProp($com$logic$data$models.GameErrorReason.Reason, 'INTERNAL_ERROR', Reason_INTERNAL_ERROR_getInstance);
|
|
5986
|
+
defineProp($com$logic$data$models.GameErrorReason.Reason, 'GAME_NOT_EXISTS', Reason_GAME_NOT_EXISTS_getInstance_0);
|
|
5987
|
+
defineProp($com$logic$data$models.GameErrorReason.Reason, 'WRONG_PLAYER_TURN', Reason_WRONG_PLAYER_TURN_getInstance);
|
|
5988
|
+
defineProp($com$logic$data$models.GameErrorReason.Reason, 'Companion', Companion_getInstance_10);
|
|
5989
|
+
defineProp($com$logic$data$models.GameErrorReason, 'Companion', Companion_getInstance_11);
|
|
6046
5990
|
defineProp($com$logic$data$models, 'WaitingForConnectionReason', WaitingForConnectionReason_getInstance);
|
|
6047
5991
|
defineProp($com$logic$data$models, 'ProcessingReason', ProcessingReason_getInstance);
|
|
6048
5992
|
var $com = _.com || (_.com = {});
|
|
@@ -6064,30 +6008,30 @@
|
|
|
6064
6008
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
6065
6009
|
var $com$logic$data$models$player = $com$logic$data$models.player || ($com$logic$data$models.player = {});
|
|
6066
6010
|
$com$logic$data$models$player.PlayerConnectionState = PlayerConnectionState;
|
|
6067
|
-
$com$logic$data$models$player.PlayerConnectionState.values =
|
|
6068
|
-
$com$logic$data$models$player.PlayerConnectionState.valueOf =
|
|
6011
|
+
$com$logic$data$models$player.PlayerConnectionState.values = values_1;
|
|
6012
|
+
$com$logic$data$models$player.PlayerConnectionState.valueOf = valueOf_1;
|
|
6069
6013
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LIVE', PlayerConnectionState_LIVE_getInstance);
|
|
6070
6014
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'TIMEOUT', PlayerConnectionState_TIMEOUT_getInstance);
|
|
6071
6015
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LOST_CONNECTION', PlayerConnectionState_LOST_CONNECTION_getInstance);
|
|
6072
6016
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LEFT', PlayerConnectionState_LEFT_getInstance);
|
|
6073
6017
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DISCONNECTING', PlayerConnectionState_DISCONNECTING_getInstance);
|
|
6074
6018
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DELETED', PlayerConnectionState_DELETED_getInstance);
|
|
6075
|
-
defineProp($com$logic$data$models$player.PlayerConnectionState, 'Companion',
|
|
6019
|
+
defineProp($com$logic$data$models$player.PlayerConnectionState, 'Companion', Companion_getInstance_13);
|
|
6076
6020
|
var $com = _.com || (_.com = {});
|
|
6077
6021
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
6078
6022
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
6079
6023
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
6080
6024
|
var $com$logic$data$models$rules = $com$logic$data$models.rules || ($com$logic$data$models.rules = {});
|
|
6081
6025
|
$com$logic$data$models$rules.Rules = Rules;
|
|
6082
|
-
defineProp($com$logic$data$models$rules.Rules, 'Companion',
|
|
6026
|
+
defineProp($com$logic$data$models$rules.Rules, 'Companion', Companion_getInstance_16);
|
|
6083
6027
|
var $com = _.com || (_.com = {});
|
|
6084
6028
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
6085
6029
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
6086
6030
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
6087
6031
|
var $com$logic$data$models$rules = $com$logic$data$models.rules || ($com$logic$data$models.rules = {});
|
|
6088
6032
|
$com$logic$data$models$rules.RulesSetType = RulesSetType;
|
|
6089
|
-
$com$logic$data$models$rules.RulesSetType.values =
|
|
6090
|
-
$com$logic$data$models$rules.RulesSetType.valueOf =
|
|
6033
|
+
$com$logic$data$models$rules.RulesSetType.values = values_3;
|
|
6034
|
+
$com$logic$data$models$rules.RulesSetType.valueOf = valueOf_2;
|
|
6091
6035
|
defineProp($com$logic$data$models$rules.RulesSetType, 'belot', RulesSetType_belot_getInstance);
|
|
6092
6036
|
defineProp($com$logic$data$models$rules.RulesSetType, 'klabor', RulesSetType_klabor_getInstance);
|
|
6093
6037
|
defineProp($com$logic$data$models$rules.RulesSetType, 'debertzCommon', RulesSetType_debertzCommon_getInstance);
|
|
@@ -6101,7 +6045,7 @@
|
|
|
6101
6045
|
var $com$logic$data$models$serializable = $com$logic$data$models.serializable || ($com$logic$data$models.serializable = {});
|
|
6102
6046
|
var $com$logic$data$models$serializable$rules = $com$logic$data$models$serializable.rules || ($com$logic$data$models$serializable.rules = {});
|
|
6103
6047
|
$com$logic$data$models$serializable$rules.RulesDto = RulesDto;
|
|
6104
|
-
defineProp($com$logic$data$models$serializable$rules.RulesDto, 'Companion',
|
|
6048
|
+
defineProp($com$logic$data$models$serializable$rules.RulesDto, 'Companion', Companion_getInstance_18);
|
|
6105
6049
|
var $com = _.com || (_.com = {});
|
|
6106
6050
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
6107
6051
|
var $com$logic$redux = $com$logic.redux || ($com$logic.redux = {});
|
|
@@ -6132,19 +6076,19 @@
|
|
|
6132
6076
|
var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
|
|
6133
6077
|
var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
|
|
6134
6078
|
$com$logic$utils$logger$outputs.LogType = LogType;
|
|
6135
|
-
$com$logic$utils$logger$outputs.LogType.values =
|
|
6136
|
-
$com$logic$utils$logger$outputs.LogType.valueOf =
|
|
6079
|
+
$com$logic$utils$logger$outputs.LogType.values = values_4;
|
|
6080
|
+
$com$logic$utils$logger$outputs.LogType.valueOf = valueOf_3;
|
|
6137
6081
|
defineProp($com$logic$utils$logger$outputs.LogType, 'DEBUG', LogType_DEBUG_getInstance);
|
|
6138
6082
|
defineProp($com$logic$utils$logger$outputs.LogType, 'ERROR', LogType_ERROR_getInstance);
|
|
6139
6083
|
defineProp($com$logic$utils$logger$outputs.LogType, 'WARN', LogType_WARN_getInstance);
|
|
6140
|
-
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion',
|
|
6084
|
+
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion', Companion_getInstance_19);
|
|
6141
6085
|
var $com = _.com || (_.com = {});
|
|
6142
6086
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
6143
6087
|
var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
|
|
6144
6088
|
var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
|
|
6145
6089
|
var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
|
|
6146
6090
|
$com$logic$utils$logger$outputs.LoggerOutputDataDto = LoggerOutputDataDto;
|
|
6147
|
-
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion',
|
|
6091
|
+
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion', Companion_getInstance_20);
|
|
6148
6092
|
}
|
|
6149
6093
|
$jsExportAll$(_);
|
|
6150
6094
|
_.$jsExportAll$ = $jsExportAll$;
|
|
@@ -6208,12 +6152,12 @@
|
|
|
6208
6152
|
_.$_$.e2 = TimerTickAction;
|
|
6209
6153
|
_.$_$.f2 = applyCatcher;
|
|
6210
6154
|
_.$_$.g2 = applyMiddleware;
|
|
6211
|
-
_.$_$.h2 =
|
|
6212
|
-
_.$_$.i2 =
|
|
6213
|
-
_.$_$.j2 =
|
|
6214
|
-
_.$_$.k2 =
|
|
6215
|
-
_.$_$.l2 =
|
|
6216
|
-
_.$_$.m2 =
|
|
6155
|
+
_.$_$.h2 = timerMiddleware;
|
|
6156
|
+
_.$_$.i2 = get_actionTag;
|
|
6157
|
+
_.$_$.j2 = Action;
|
|
6158
|
+
_.$_$.k2 = Middleware;
|
|
6159
|
+
_.$_$.l2 = Reducer;
|
|
6160
|
+
_.$_$.m2 = Store;
|
|
6217
6161
|
_.$_$.n2 = combineReducers;
|
|
6218
6162
|
_.$_$.o2 = middleware;
|
|
6219
6163
|
_.$_$.p2 = parseActionName;
|
|
@@ -6237,21 +6181,23 @@
|
|
|
6237
6181
|
_.$_$.h3 = RulesSetType_debertzKharkiv_getInstance;
|
|
6238
6182
|
_.$_$.i3 = RulesSetType_debertzSaltivka_getInstance;
|
|
6239
6183
|
_.$_$.j3 = RulesSetType_klabor_getInstance;
|
|
6240
|
-
_.$_$.k3 =
|
|
6241
|
-
_.$_$.l3 =
|
|
6242
|
-
_.$_$.m3 =
|
|
6243
|
-
_.$_$.n3 =
|
|
6244
|
-
_.$_$.o3 =
|
|
6245
|
-
_.$_$.p3 =
|
|
6246
|
-
_.$_$.q3 =
|
|
6184
|
+
_.$_$.k3 = Reason_INTERNAL_ERROR_getInstance;
|
|
6185
|
+
_.$_$.l3 = Reason_WRONG_PLAYER_TURN_getInstance;
|
|
6186
|
+
_.$_$.m3 = TimerType_DELAY_getInstance;
|
|
6187
|
+
_.$_$.n3 = LogType_DEBUG_getInstance;
|
|
6188
|
+
_.$_$.o3 = LogType_ERROR_getInstance;
|
|
6189
|
+
_.$_$.p3 = LogType_WARN_getInstance;
|
|
6190
|
+
_.$_$.q3 = Companion_instance_11;
|
|
6247
6191
|
_.$_$.r3 = Companion_getInstance_13;
|
|
6248
|
-
_.$_$.s3 =
|
|
6249
|
-
_.$_$.t3 =
|
|
6250
|
-
_.$_$.u3 =
|
|
6251
|
-
_.$_$.v3 =
|
|
6252
|
-
_.$_$.w3 =
|
|
6253
|
-
_.$_$.x3 =
|
|
6254
|
-
_.$_$.y3 =
|
|
6192
|
+
_.$_$.s3 = Companion_instance_14;
|
|
6193
|
+
_.$_$.t3 = Companion_getInstance_14;
|
|
6194
|
+
_.$_$.u3 = $serializer_getInstance_5;
|
|
6195
|
+
_.$_$.v3 = $serializer_getInstance_6;
|
|
6196
|
+
_.$_$.w3 = Companion_getInstance_2;
|
|
6197
|
+
_.$_$.x3 = ProcessingReason_getInstance;
|
|
6198
|
+
_.$_$.y3 = RestartGameReason_getInstance;
|
|
6199
|
+
_.$_$.z3 = Companion_getInstance_4;
|
|
6200
|
+
_.$_$.a4 = Toggles_instance;
|
|
6255
6201
|
//endregion
|
|
6256
6202
|
return _;
|
|
6257
6203
|
}));
|