game_client_logic_deb 1.3.81 → 1.3.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +32 -32
- package/Logic_Debertz-core.js +661 -607
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6525 -6523
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +5 -3
- package/Logic_Debertz-game_client.js +2383 -2371
- package/Logic_Debertz-game_client.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +13 -13
package/Logic_Debertz-core.js
CHANGED
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
var Long = kotlin_kotlin.$_$.xb;
|
|
58
58
|
var toString_0 = kotlin_kotlin.$_$.ba;
|
|
59
59
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
60
|
-
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
61
60
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
61
|
+
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
62
62
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
63
63
|
var Comparator = kotlin_kotlin.$_$.pb;
|
|
64
64
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
@@ -135,13 +135,13 @@
|
|
|
135
135
|
_no_name_provided__qut3iv.prototype.constructor = _no_name_provided__qut3iv;
|
|
136
136
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
137
137
|
if (!(($mask0 & 1) === 0))
|
|
138
|
-
context = this.
|
|
139
|
-
return $handler == null ? this.
|
|
138
|
+
context = this.m2q();
|
|
139
|
+
return $handler == null ? this.p2q(context, block) : $handler(context, block);
|
|
140
140
|
}
|
|
141
141
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
142
142
|
if (!(($mask0 & 1) === 0))
|
|
143
|
-
context = this.
|
|
144
|
-
return $handler == null ? this.
|
|
143
|
+
context = this.m2q();
|
|
144
|
+
return $handler == null ? this.n2q(context, block) : $handler(context, block);
|
|
145
145
|
}
|
|
146
146
|
function get_actionTag() {
|
|
147
147
|
return toString_0(getKClassFromExpression(this));
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
payload = null;
|
|
187
187
|
var tmp;
|
|
188
188
|
if ($handler == null) {
|
|
189
|
-
this.
|
|
189
|
+
this.o2t(tag, message, payload);
|
|
190
190
|
tmp = Unit_getInstance();
|
|
191
191
|
} else {
|
|
192
192
|
tmp = $handler(tag, message, payload);
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
payload = null;
|
|
205
205
|
var tmp;
|
|
206
206
|
if ($handler == null) {
|
|
207
|
-
this.
|
|
207
|
+
this.q2t(tag, message, exception, payload);
|
|
208
208
|
tmp = Unit_getInstance();
|
|
209
209
|
} else {
|
|
210
210
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
payload = null;
|
|
219
219
|
var tmp;
|
|
220
220
|
if ($handler == null) {
|
|
221
|
-
this.
|
|
221
|
+
this.r2t(tag, message, payload);
|
|
222
222
|
tmp = Unit_getInstance();
|
|
223
223
|
} else {
|
|
224
224
|
tmp = $handler(tag, message, payload);
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
//endregion
|
|
231
231
|
function GameEngineConfig() {
|
|
232
232
|
GameEngineConfig_instance = this;
|
|
233
|
-
this.i2k_1 = '1.3.
|
|
233
|
+
this.i2k_1 = '1.3.82';
|
|
234
234
|
}
|
|
235
235
|
GameEngineConfig.prototype.j2k = function () {
|
|
236
236
|
return this.i2k_1;
|
|
@@ -1142,21 +1142,25 @@
|
|
|
1142
1142
|
captureStack(this, MechanicException);
|
|
1143
1143
|
}
|
|
1144
1144
|
MechanicException.$metadata$ = classMeta('MechanicException', undefined, undefined, undefined, undefined, Exception.prototype);
|
|
1145
|
-
function GameUserInfo_init_$Init$(playerId, name, avatarUrl, payload, $mask0, $marker, $this) {
|
|
1145
|
+
function GameUserInfo_init_$Init$(playerId, name, avatarUrl, isBot, payload, $mask0, $marker, $this) {
|
|
1146
1146
|
if (!(($mask0 & 8) === 0))
|
|
1147
|
+
isBot = false;
|
|
1148
|
+
if (!(($mask0 & 16) === 0))
|
|
1147
1149
|
payload = null;
|
|
1148
|
-
GameUserInfo.call($this, playerId, name, avatarUrl, payload);
|
|
1150
|
+
GameUserInfo.call($this, playerId, name, avatarUrl, isBot, payload);
|
|
1149
1151
|
return $this;
|
|
1150
1152
|
}
|
|
1151
|
-
function GameUserInfo_init_$Create$(playerId, name, avatarUrl, payload, $mask0, $marker) {
|
|
1152
|
-
return GameUserInfo_init_$Init$(playerId, name, avatarUrl, payload, $mask0, $marker, Object.create(GameUserInfo.prototype));
|
|
1153
|
+
function GameUserInfo_init_$Create$(playerId, name, avatarUrl, isBot, payload, $mask0, $marker) {
|
|
1154
|
+
return GameUserInfo_init_$Init$(playerId, name, avatarUrl, isBot, payload, $mask0, $marker, Object.create(GameUserInfo.prototype));
|
|
1153
1155
|
}
|
|
1154
|
-
function GameUserInfo(playerId, name, avatarUrl, payload) {
|
|
1156
|
+
function GameUserInfo(playerId, name, avatarUrl, isBot, payload) {
|
|
1157
|
+
var isBot_0 = isBot === void 1 ? false : isBot;
|
|
1155
1158
|
var payload_0 = payload === void 1 ? null : payload;
|
|
1156
1159
|
this.i2l_1 = playerId;
|
|
1157
1160
|
this.j2l_1 = name;
|
|
1158
1161
|
this.k2l_1 = avatarUrl;
|
|
1159
|
-
this.l2l_1 =
|
|
1162
|
+
this.l2l_1 = isBot_0;
|
|
1163
|
+
this.m2l_1 = payload_0;
|
|
1160
1164
|
}
|
|
1161
1165
|
GameUserInfo.prototype.x2k = function () {
|
|
1162
1166
|
return this.i2l_1;
|
|
@@ -1164,12 +1168,15 @@
|
|
|
1164
1168
|
GameUserInfo.prototype.f5 = function () {
|
|
1165
1169
|
return this.j2l_1;
|
|
1166
1170
|
};
|
|
1167
|
-
GameUserInfo.prototype.
|
|
1171
|
+
GameUserInfo.prototype.n2l = function () {
|
|
1168
1172
|
return this.k2l_1;
|
|
1169
1173
|
};
|
|
1170
|
-
GameUserInfo.prototype.
|
|
1174
|
+
GameUserInfo.prototype.o2l = function () {
|
|
1171
1175
|
return this.l2l_1;
|
|
1172
1176
|
};
|
|
1177
|
+
GameUserInfo.prototype.p2l = function () {
|
|
1178
|
+
return this.m2l_1;
|
|
1179
|
+
};
|
|
1173
1180
|
GameUserInfo.prototype.component1 = function () {
|
|
1174
1181
|
return this.i2l_1;
|
|
1175
1182
|
};
|
|
@@ -1182,13 +1189,16 @@
|
|
|
1182
1189
|
GameUserInfo.prototype.component4 = function () {
|
|
1183
1190
|
return this.l2l_1;
|
|
1184
1191
|
};
|
|
1185
|
-
GameUserInfo.prototype.
|
|
1186
|
-
return this.
|
|
1192
|
+
GameUserInfo.prototype.component5 = function () {
|
|
1193
|
+
return this.m2l_1;
|
|
1194
|
+
};
|
|
1195
|
+
GameUserInfo.prototype.copy = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1196
|
+
return this.q2l(playerId === void 1 ? this.i2l_1 : playerId, name === void 1 ? this.j2l_1 : name, avatarUrl === void 1 ? this.k2l_1 : avatarUrl, isBot === void 1 ? this.l2l_1 : isBot, payload === void 1 ? this.m2l_1 : payload);
|
|
1187
1197
|
};
|
|
1188
|
-
GameUserInfo.prototype.
|
|
1189
|
-
return new GameUserInfo(playerId, name, avatarUrl, payload);
|
|
1198
|
+
GameUserInfo.prototype.q2l = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1199
|
+
return new GameUserInfo(playerId, name, avatarUrl, isBot, payload);
|
|
1190
1200
|
};
|
|
1191
|
-
GameUserInfo.prototype.
|
|
1201
|
+
GameUserInfo.prototype.r2l = function (playerId, name, avatarUrl, isBot, payload, $mask0, $handler) {
|
|
1192
1202
|
if (!(($mask0 & 1) === 0))
|
|
1193
1203
|
playerId = this.i2l_1;
|
|
1194
1204
|
if (!(($mask0 & 2) === 0))
|
|
@@ -1196,17 +1206,20 @@
|
|
|
1196
1206
|
if (!(($mask0 & 4) === 0))
|
|
1197
1207
|
avatarUrl = this.k2l_1;
|
|
1198
1208
|
if (!(($mask0 & 8) === 0))
|
|
1199
|
-
|
|
1200
|
-
|
|
1209
|
+
isBot = this.l2l_1;
|
|
1210
|
+
if (!(($mask0 & 16) === 0))
|
|
1211
|
+
payload = this.m2l_1;
|
|
1212
|
+
return this.q2l(playerId, name, avatarUrl, isBot, payload);
|
|
1201
1213
|
};
|
|
1202
1214
|
GameUserInfo.prototype.toString = function () {
|
|
1203
|
-
return 'GameUserInfo(playerId=' + this.i2l_1 + ', name=' + this.j2l_1 + ', avatarUrl=' + this.k2l_1 + ', payload=' + toString(this.
|
|
1215
|
+
return 'GameUserInfo(playerId=' + this.i2l_1 + ', name=' + this.j2l_1 + ', avatarUrl=' + this.k2l_1 + ', isBot=' + this.l2l_1 + ', payload=' + toString(this.m2l_1) + ')';
|
|
1204
1216
|
};
|
|
1205
1217
|
GameUserInfo.prototype.hashCode = function () {
|
|
1206
1218
|
var result = getStringHashCode(this.i2l_1);
|
|
1207
1219
|
result = imul(result, 31) + getStringHashCode(this.j2l_1) | 0;
|
|
1208
1220
|
result = imul(result, 31) + getStringHashCode(this.k2l_1) | 0;
|
|
1209
|
-
result = imul(result, 31) + (this.l2l_1
|
|
1221
|
+
result = imul(result, 31) + (this.l2l_1 | 0) | 0;
|
|
1222
|
+
result = imul(result, 31) + (this.m2l_1 == null ? 0 : hashCode(this.m2l_1)) | 0;
|
|
1210
1223
|
return result;
|
|
1211
1224
|
};
|
|
1212
1225
|
GameUserInfo.prototype.equals = function (other) {
|
|
@@ -1221,7 +1234,9 @@
|
|
|
1221
1234
|
return false;
|
|
1222
1235
|
if (!(this.k2l_1 === tmp0_other_with_cast.k2l_1))
|
|
1223
1236
|
return false;
|
|
1224
|
-
if (!
|
|
1237
|
+
if (!(this.l2l_1 === tmp0_other_with_cast.l2l_1))
|
|
1238
|
+
return false;
|
|
1239
|
+
if (!equals(this.m2l_1, tmp0_other_with_cast.m2l_1))
|
|
1225
1240
|
return false;
|
|
1226
1241
|
return true;
|
|
1227
1242
|
};
|
|
@@ -1238,11 +1253,15 @@
|
|
|
1238
1253
|
});
|
|
1239
1254
|
Object.defineProperty(GameUserInfo.prototype, 'avatarUrl', {
|
|
1240
1255
|
configurable: true,
|
|
1241
|
-
get: GameUserInfo.prototype.
|
|
1256
|
+
get: GameUserInfo.prototype.n2l
|
|
1257
|
+
});
|
|
1258
|
+
Object.defineProperty(GameUserInfo.prototype, 'isBot', {
|
|
1259
|
+
configurable: true,
|
|
1260
|
+
get: GameUserInfo.prototype.o2l
|
|
1242
1261
|
});
|
|
1243
1262
|
Object.defineProperty(GameUserInfo.prototype, 'payload', {
|
|
1244
1263
|
configurable: true,
|
|
1245
|
-
get: GameUserInfo.prototype.
|
|
1264
|
+
get: GameUserInfo.prototype.p2l
|
|
1246
1265
|
});
|
|
1247
1266
|
function get_byIdPlayerPredicate() {
|
|
1248
1267
|
init_properties_Player_kt_txblev();
|
|
@@ -1352,7 +1371,7 @@
|
|
|
1352
1371
|
}
|
|
1353
1372
|
function playerTurnPredicate$lambda(p1) {
|
|
1354
1373
|
init_properties_Player_kt_txblev();
|
|
1355
|
-
return p1.am().
|
|
1374
|
+
return p1.am().y2l() ? true : p1.am().x2l();
|
|
1356
1375
|
}
|
|
1357
1376
|
var properties_initialized_Player_kt_56shkt;
|
|
1358
1377
|
function init_properties_Player_kt_txblev() {
|
|
@@ -1376,10 +1395,10 @@
|
|
|
1376
1395
|
Companion_instance_6 = this;
|
|
1377
1396
|
var tmp = this;
|
|
1378
1397
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1379
|
-
tmp.
|
|
1398
|
+
tmp.z2l_1 = lazy(tmp_0, PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c);
|
|
1380
1399
|
}
|
|
1381
1400
|
Companion_6.prototype.serializer = function () {
|
|
1382
|
-
return this.
|
|
1401
|
+
return this.z2l_1.c2();
|
|
1383
1402
|
};
|
|
1384
1403
|
Companion_6.prototype.t1t = function (typeParamsSerializers) {
|
|
1385
1404
|
return this.serializer();
|
|
@@ -1431,62 +1450,62 @@
|
|
|
1431
1450
|
function PlayerConnectionState(name, ordinal) {
|
|
1432
1451
|
Enum.call(this, name, ordinal);
|
|
1433
1452
|
}
|
|
1434
|
-
PlayerConnectionState.prototype.
|
|
1453
|
+
PlayerConnectionState.prototype.c2m = function () {
|
|
1435
1454
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1436
1455
|
};
|
|
1437
|
-
PlayerConnectionState.prototype.
|
|
1456
|
+
PlayerConnectionState.prototype.d2m = function () {
|
|
1438
1457
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1439
1458
|
};
|
|
1440
|
-
PlayerConnectionState.prototype.
|
|
1459
|
+
PlayerConnectionState.prototype.e2m = function () {
|
|
1441
1460
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1442
1461
|
};
|
|
1443
|
-
PlayerConnectionState.prototype.
|
|
1462
|
+
PlayerConnectionState.prototype.f2m = function () {
|
|
1444
1463
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1445
1464
|
};
|
|
1446
|
-
PlayerConnectionState.prototype.
|
|
1465
|
+
PlayerConnectionState.prototype.g2m = function () {
|
|
1447
1466
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1448
1467
|
};
|
|
1449
|
-
PlayerConnectionState.prototype.
|
|
1468
|
+
PlayerConnectionState.prototype.h2m = function () {
|
|
1450
1469
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1451
1470
|
};
|
|
1452
|
-
PlayerConnectionState.prototype.
|
|
1471
|
+
PlayerConnectionState.prototype.i2m = function () {
|
|
1453
1472
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1454
1473
|
};
|
|
1455
|
-
PlayerConnectionState.prototype.
|
|
1474
|
+
PlayerConnectionState.prototype.j2m = function () {
|
|
1456
1475
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1457
1476
|
};
|
|
1458
1477
|
PlayerConnectionState.$metadata$ = classMeta('PlayerConnectionState', undefined, undefined, {0: Companion_getInstance_6}, undefined, Enum.prototype);
|
|
1459
1478
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1460
1479
|
configurable: true,
|
|
1461
|
-
get: PlayerConnectionState.prototype.
|
|
1480
|
+
get: PlayerConnectionState.prototype.c2m
|
|
1462
1481
|
});
|
|
1463
1482
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1464
1483
|
configurable: true,
|
|
1465
|
-
get: PlayerConnectionState.prototype.
|
|
1484
|
+
get: PlayerConnectionState.prototype.d2m
|
|
1466
1485
|
});
|
|
1467
1486
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1468
1487
|
configurable: true,
|
|
1469
|
-
get: PlayerConnectionState.prototype.
|
|
1488
|
+
get: PlayerConnectionState.prototype.e2m
|
|
1470
1489
|
});
|
|
1471
1490
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1472
1491
|
configurable: true,
|
|
1473
|
-
get: PlayerConnectionState.prototype.
|
|
1492
|
+
get: PlayerConnectionState.prototype.f2m
|
|
1474
1493
|
});
|
|
1475
1494
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1476
1495
|
configurable: true,
|
|
1477
|
-
get: PlayerConnectionState.prototype.
|
|
1496
|
+
get: PlayerConnectionState.prototype.g2m
|
|
1478
1497
|
});
|
|
1479
1498
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1480
1499
|
configurable: true,
|
|
1481
|
-
get: PlayerConnectionState.prototype.
|
|
1500
|
+
get: PlayerConnectionState.prototype.h2m
|
|
1482
1501
|
});
|
|
1483
1502
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1484
1503
|
configurable: true,
|
|
1485
|
-
get: PlayerConnectionState.prototype.
|
|
1504
|
+
get: PlayerConnectionState.prototype.i2m
|
|
1486
1505
|
});
|
|
1487
1506
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1488
1507
|
configurable: true,
|
|
1489
|
-
get: PlayerConnectionState.prototype.
|
|
1508
|
+
get: PlayerConnectionState.prototype.j2m
|
|
1490
1509
|
});
|
|
1491
1510
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1492
1511
|
configurable: true,
|
|
@@ -1530,10 +1549,10 @@
|
|
|
1530
1549
|
Companion_instance_7 = this;
|
|
1531
1550
|
var tmp = this;
|
|
1532
1551
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1533
|
-
tmp.
|
|
1552
|
+
tmp.k2m_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar);
|
|
1534
1553
|
}
|
|
1535
1554
|
Companion_7.prototype.d25 = function () {
|
|
1536
|
-
return this.
|
|
1555
|
+
return this.k2m_1.c2();
|
|
1537
1556
|
};
|
|
1538
1557
|
Companion_7.prototype.t1t = function (typeParamsSerializers) {
|
|
1539
1558
|
return this.d25();
|
|
@@ -1562,28 +1581,28 @@
|
|
|
1562
1581
|
function PlayerWaitingState(name, ordinal) {
|
|
1563
1582
|
Enum.call(this, name, ordinal);
|
|
1564
1583
|
}
|
|
1565
|
-
PlayerWaitingState.prototype.
|
|
1566
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.
|
|
1584
|
+
PlayerWaitingState.prototype.y2l = function () {
|
|
1585
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.x2l();
|
|
1567
1586
|
};
|
|
1568
|
-
PlayerWaitingState.prototype.
|
|
1587
|
+
PlayerWaitingState.prototype.x2l = function () {
|
|
1569
1588
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1570
1589
|
};
|
|
1571
1590
|
PlayerWaitingState.$metadata$ = classMeta('PlayerWaitingState', undefined, undefined, {0: Companion_getInstance_7}, undefined, Enum.prototype);
|
|
1572
1591
|
function Companion_8() {
|
|
1573
1592
|
Companion_instance_8 = this;
|
|
1574
1593
|
}
|
|
1575
|
-
Companion_8.prototype.
|
|
1594
|
+
Companion_8.prototype.n2m = function (connectionState) {
|
|
1576
1595
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1577
1596
|
return new PlayerState(new Long(0, 0), tmp0_state, false, connectionState, null);
|
|
1578
1597
|
};
|
|
1579
|
-
Companion_8.prototype.
|
|
1598
|
+
Companion_8.prototype.o2m = function (_this__u8e3s4) {
|
|
1580
1599
|
var tmp = new Long(0, 0);
|
|
1581
1600
|
var tmp_0 = PlayerWaitingState_IDLE_getInstance();
|
|
1582
|
-
return _this__u8e3s4.
|
|
1601
|
+
return _this__u8e3s4.p2m(tmp, tmp_0, false, null, null, 12, null);
|
|
1583
1602
|
};
|
|
1584
|
-
Companion_8.prototype.
|
|
1603
|
+
Companion_8.prototype.q2m = function (_this__u8e3s4, startFromTime, tag) {
|
|
1585
1604
|
var tmp0_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1586
|
-
return _this__u8e3s4.
|
|
1605
|
+
return _this__u8e3s4.p2m(startFromTime, tmp0_state, false, null, tag, 8, null);
|
|
1587
1606
|
};
|
|
1588
1607
|
Companion_8.$metadata$ = objectMeta('Companion');
|
|
1589
1608
|
var Companion_instance_8;
|
|
@@ -1606,25 +1625,25 @@
|
|
|
1606
1625
|
}
|
|
1607
1626
|
function PlayerState(startFromTime, state, ready, connectionState, tag) {
|
|
1608
1627
|
Companion_getInstance_8();
|
|
1609
|
-
this.
|
|
1610
|
-
this.
|
|
1611
|
-
this.
|
|
1612
|
-
this.
|
|
1613
|
-
this.
|
|
1628
|
+
this.s2l_1 = startFromTime;
|
|
1629
|
+
this.t2l_1 = state;
|
|
1630
|
+
this.u2l_1 = ready;
|
|
1631
|
+
this.v2l_1 = connectionState;
|
|
1632
|
+
this.w2l_1 = tag;
|
|
1614
1633
|
}
|
|
1615
|
-
PlayerState.prototype.
|
|
1616
|
-
return this.
|
|
1634
|
+
PlayerState.prototype.r2m = function () {
|
|
1635
|
+
return this.u2l_1;
|
|
1617
1636
|
};
|
|
1618
|
-
PlayerState.prototype.
|
|
1619
|
-
return this.
|
|
1637
|
+
PlayerState.prototype.s2m = function () {
|
|
1638
|
+
return this.v2l_1;
|
|
1620
1639
|
};
|
|
1621
1640
|
PlayerState.prototype.o2e = function () {
|
|
1622
|
-
return this.
|
|
1641
|
+
return this.w2l_1;
|
|
1623
1642
|
};
|
|
1624
|
-
PlayerState.prototype.
|
|
1643
|
+
PlayerState.prototype.t2m = function () {
|
|
1625
1644
|
var tmp$ret$2;
|
|
1626
1645
|
// Inline function 'kotlin.requireNotNull' call
|
|
1627
|
-
var tmp0_requireNotNull = this.
|
|
1646
|
+
var tmp0_requireNotNull = this.w2l_1;
|
|
1628
1647
|
// Inline function 'kotlin.contracts.contract' call
|
|
1629
1648
|
var tmp$ret$1;
|
|
1630
1649
|
$l$block: {
|
|
@@ -1644,41 +1663,41 @@
|
|
|
1644
1663
|
tmp$ret$2 = tmp$ret$1;
|
|
1645
1664
|
return tmp$ret$2;
|
|
1646
1665
|
};
|
|
1647
|
-
PlayerState.prototype.
|
|
1648
|
-
var tmp0_elvis_lhs = this.
|
|
1666
|
+
PlayerState.prototype.u2m = function () {
|
|
1667
|
+
var tmp0_elvis_lhs = this.w2l_1;
|
|
1649
1668
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1650
1669
|
};
|
|
1651
|
-
PlayerState.prototype.
|
|
1652
|
-
return this.
|
|
1670
|
+
PlayerState.prototype.y2l = function () {
|
|
1671
|
+
return this.t2l_1.y2l();
|
|
1653
1672
|
};
|
|
1654
|
-
PlayerState.prototype.
|
|
1655
|
-
return this.
|
|
1673
|
+
PlayerState.prototype.x2l = function () {
|
|
1674
|
+
return this.t2l_1.x2l();
|
|
1656
1675
|
};
|
|
1657
|
-
PlayerState.prototype.
|
|
1676
|
+
PlayerState.prototype.v2m = function (startFromTime, state, ready, connectionState, tag) {
|
|
1658
1677
|
return new PlayerState(startFromTime, state, ready, connectionState, tag);
|
|
1659
1678
|
};
|
|
1660
|
-
PlayerState.prototype.
|
|
1679
|
+
PlayerState.prototype.p2m = function (startFromTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1661
1680
|
if (!(($mask0 & 1) === 0))
|
|
1662
|
-
startFromTime = this.
|
|
1681
|
+
startFromTime = this.s2l_1;
|
|
1663
1682
|
if (!(($mask0 & 2) === 0))
|
|
1664
|
-
state = this.
|
|
1683
|
+
state = this.t2l_1;
|
|
1665
1684
|
if (!(($mask0 & 4) === 0))
|
|
1666
|
-
ready = this.
|
|
1685
|
+
ready = this.u2l_1;
|
|
1667
1686
|
if (!(($mask0 & 8) === 0))
|
|
1668
|
-
connectionState = this.
|
|
1687
|
+
connectionState = this.v2l_1;
|
|
1669
1688
|
if (!(($mask0 & 16) === 0))
|
|
1670
|
-
tag = this.
|
|
1671
|
-
return this.
|
|
1689
|
+
tag = this.w2l_1;
|
|
1690
|
+
return this.v2m(startFromTime, state, ready, connectionState, tag);
|
|
1672
1691
|
};
|
|
1673
1692
|
PlayerState.prototype.toString = function () {
|
|
1674
|
-
return 'PlayerState(startFromTime=' + toString_0(this.
|
|
1693
|
+
return 'PlayerState(startFromTime=' + toString_0(this.s2l_1) + ', state=' + this.t2l_1 + ', ready=' + this.u2l_1 + ', connectionState=' + this.v2l_1 + ', tag=' + this.w2l_1 + ')';
|
|
1675
1694
|
};
|
|
1676
1695
|
PlayerState.prototype.hashCode = function () {
|
|
1677
|
-
var result = this.
|
|
1678
|
-
result = imul(result, 31) + this.r2l_1.hashCode() | 0;
|
|
1679
|
-
result = imul(result, 31) + (this.s2l_1 | 0) | 0;
|
|
1696
|
+
var result = this.s2l_1.hashCode();
|
|
1680
1697
|
result = imul(result, 31) + this.t2l_1.hashCode() | 0;
|
|
1681
|
-
result = imul(result, 31) + (this.u2l_1
|
|
1698
|
+
result = imul(result, 31) + (this.u2l_1 | 0) | 0;
|
|
1699
|
+
result = imul(result, 31) + this.v2l_1.hashCode() | 0;
|
|
1700
|
+
result = imul(result, 31) + (this.w2l_1 == null ? 0 : getStringHashCode(this.w2l_1)) | 0;
|
|
1682
1701
|
return result;
|
|
1683
1702
|
};
|
|
1684
1703
|
PlayerState.prototype.equals = function (other) {
|
|
@@ -1687,27 +1706,27 @@
|
|
|
1687
1706
|
if (!(other instanceof PlayerState))
|
|
1688
1707
|
return false;
|
|
1689
1708
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1690
|
-
if (!this.
|
|
1709
|
+
if (!this.s2l_1.equals(tmp0_other_with_cast.s2l_1))
|
|
1691
1710
|
return false;
|
|
1692
|
-
if (!this.
|
|
1711
|
+
if (!this.t2l_1.equals(tmp0_other_with_cast.t2l_1))
|
|
1693
1712
|
return false;
|
|
1694
|
-
if (!(this.
|
|
1713
|
+
if (!(this.u2l_1 === tmp0_other_with_cast.u2l_1))
|
|
1695
1714
|
return false;
|
|
1696
|
-
if (!this.
|
|
1715
|
+
if (!this.v2l_1.equals(tmp0_other_with_cast.v2l_1))
|
|
1697
1716
|
return false;
|
|
1698
|
-
if (!(this.
|
|
1717
|
+
if (!(this.w2l_1 == tmp0_other_with_cast.w2l_1))
|
|
1699
1718
|
return false;
|
|
1700
1719
|
return true;
|
|
1701
1720
|
};
|
|
1702
1721
|
PlayerState.$metadata$ = classMeta('PlayerState');
|
|
1703
1722
|
function Team(playerIds) {
|
|
1704
|
-
this.
|
|
1723
|
+
this.w2m_1 = playerIds;
|
|
1705
1724
|
}
|
|
1706
1725
|
Team.prototype.toString = function () {
|
|
1707
|
-
return 'Team(playerIds=' + this.
|
|
1726
|
+
return 'Team(playerIds=' + this.w2m_1 + ')';
|
|
1708
1727
|
};
|
|
1709
1728
|
Team.prototype.hashCode = function () {
|
|
1710
|
-
return hashCode(this.
|
|
1729
|
+
return hashCode(this.w2m_1);
|
|
1711
1730
|
};
|
|
1712
1731
|
Team.prototype.equals = function (other) {
|
|
1713
1732
|
if (this === other)
|
|
@@ -1715,7 +1734,7 @@
|
|
|
1715
1734
|
if (!(other instanceof Team))
|
|
1716
1735
|
return false;
|
|
1717
1736
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1718
|
-
if (!equals(this.
|
|
1737
|
+
if (!equals(this.w2m_1, tmp0_other_with_cast.w2m_1))
|
|
1719
1738
|
return false;
|
|
1720
1739
|
return true;
|
|
1721
1740
|
};
|
|
@@ -1747,29 +1766,23 @@
|
|
|
1747
1766
|
}
|
|
1748
1767
|
function Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1749
1768
|
Companion_getInstance_9();
|
|
1750
|
-
this.
|
|
1751
|
-
this.
|
|
1752
|
-
this.
|
|
1753
|
-
this.
|
|
1754
|
-
this.
|
|
1755
|
-
this.
|
|
1756
|
-
this.
|
|
1757
|
-
this.
|
|
1758
|
-
this.
|
|
1759
|
-
this.
|
|
1760
|
-
this.
|
|
1761
|
-
this.
|
|
1762
|
-
this.
|
|
1763
|
-
this.
|
|
1764
|
-
this.
|
|
1765
|
-
this.
|
|
1766
|
-
}
|
|
1767
|
-
Rules.prototype.l2n = function () {
|
|
1768
|
-
return this.v2m_1;
|
|
1769
|
-
};
|
|
1770
|
-
Rules.prototype.m2n = function () {
|
|
1771
|
-
return this.w2m_1;
|
|
1772
|
-
};
|
|
1769
|
+
this.x2m_1 = needToPutHigherTrump;
|
|
1770
|
+
this.y2m_1 = distributePoints;
|
|
1771
|
+
this.z2m_1 = protectBella;
|
|
1772
|
+
this.a2n_1 = enableFourSevensCombination;
|
|
1773
|
+
this.b2n_1 = enableTrumpSevenCombination;
|
|
1774
|
+
this.c2n_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
1775
|
+
this.d2n_1 = playerWhoChooseSuitGoFirst;
|
|
1776
|
+
this.e2n_1 = winnerShuffleCards;
|
|
1777
|
+
this.f2n_1 = playWithoutLiabilities;
|
|
1778
|
+
this.g2n_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
1779
|
+
this.h2n_1 = enableFineIfNoBribes;
|
|
1780
|
+
this.i2n_1 = fineIfNoBribes;
|
|
1781
|
+
this.j2n_1 = enableFineAfterThirdByte;
|
|
1782
|
+
this.k2n_1 = checkTrumpCombination;
|
|
1783
|
+
this.l2n_1 = checkOnlyTrumpDebertz;
|
|
1784
|
+
this.m2n_1 = tenCardsInHand;
|
|
1785
|
+
}
|
|
1773
1786
|
Rules.prototype.n2n = function () {
|
|
1774
1787
|
return this.x2m_1;
|
|
1775
1788
|
};
|
|
@@ -1812,102 +1825,106 @@
|
|
|
1812
1825
|
Rules.prototype.a2o = function () {
|
|
1813
1826
|
return this.k2n_1;
|
|
1814
1827
|
};
|
|
1828
|
+
Rules.prototype.b2o = function () {
|
|
1829
|
+
return this.l2n_1;
|
|
1830
|
+
};
|
|
1831
|
+
Rules.prototype.c2o = function () {
|
|
1832
|
+
return this.m2n_1;
|
|
1833
|
+
};
|
|
1815
1834
|
Rules.prototype.component1 = function () {
|
|
1816
|
-
return this.
|
|
1835
|
+
return this.x2m_1;
|
|
1817
1836
|
};
|
|
1818
1837
|
Rules.prototype.component2 = function () {
|
|
1819
|
-
return this.
|
|
1838
|
+
return this.y2m_1;
|
|
1820
1839
|
};
|
|
1821
1840
|
Rules.prototype.component3 = function () {
|
|
1822
|
-
return this.
|
|
1841
|
+
return this.z2m_1;
|
|
1823
1842
|
};
|
|
1824
1843
|
Rules.prototype.component4 = function () {
|
|
1825
|
-
return this.
|
|
1844
|
+
return this.a2n_1;
|
|
1826
1845
|
};
|
|
1827
1846
|
Rules.prototype.component5 = function () {
|
|
1828
|
-
return this.
|
|
1847
|
+
return this.b2n_1;
|
|
1829
1848
|
};
|
|
1830
1849
|
Rules.prototype.component6 = function () {
|
|
1831
|
-
return this.
|
|
1850
|
+
return this.c2n_1;
|
|
1832
1851
|
};
|
|
1833
1852
|
Rules.prototype.component7 = function () {
|
|
1834
|
-
return this.
|
|
1853
|
+
return this.d2n_1;
|
|
1835
1854
|
};
|
|
1836
1855
|
Rules.prototype.component8 = function () {
|
|
1837
|
-
return this.
|
|
1856
|
+
return this.e2n_1;
|
|
1838
1857
|
};
|
|
1839
1858
|
Rules.prototype.component9 = function () {
|
|
1840
|
-
return this.
|
|
1859
|
+
return this.f2n_1;
|
|
1841
1860
|
};
|
|
1842
1861
|
Rules.prototype.component10 = function () {
|
|
1843
|
-
return this.
|
|
1862
|
+
return this.g2n_1;
|
|
1844
1863
|
};
|
|
1845
1864
|
Rules.prototype.component11 = function () {
|
|
1846
|
-
return this.
|
|
1865
|
+
return this.h2n_1;
|
|
1847
1866
|
};
|
|
1848
1867
|
Rules.prototype.component12 = function () {
|
|
1849
|
-
return this.
|
|
1868
|
+
return this.i2n_1;
|
|
1850
1869
|
};
|
|
1851
1870
|
Rules.prototype.component13 = function () {
|
|
1852
|
-
return this.
|
|
1871
|
+
return this.j2n_1;
|
|
1853
1872
|
};
|
|
1854
1873
|
Rules.prototype.component14 = function () {
|
|
1855
|
-
return this.
|
|
1874
|
+
return this.k2n_1;
|
|
1856
1875
|
};
|
|
1857
1876
|
Rules.prototype.component15 = function () {
|
|
1858
|
-
return this.
|
|
1877
|
+
return this.l2n_1;
|
|
1859
1878
|
};
|
|
1860
1879
|
Rules.prototype.component16 = function () {
|
|
1861
|
-
return this.
|
|
1880
|
+
return this.m2n_1;
|
|
1862
1881
|
};
|
|
1863
1882
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1864
|
-
return this.
|
|
1883
|
+
return this.d2o(needToPutHigherTrump === void 1 ? this.x2m_1 : needToPutHigherTrump, distributePoints === void 1 ? this.y2m_1 : distributePoints, protectBella === void 1 ? this.z2m_1 : protectBella, enableFourSevensCombination === void 1 ? this.a2n_1 : enableFourSevensCombination, enableTrumpSevenCombination === void 1 ? this.b2n_1 : enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution === void 1 ? this.c2n_1 : enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst === void 1 ? this.d2n_1 : playerWhoChooseSuitGoFirst, winnerShuffleCards === void 1 ? this.e2n_1 : winnerShuffleCards, playWithoutLiabilities === void 1 ? this.f2n_1 : playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards === void 1 ? this.g2n_1 : trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes === void 1 ? this.h2n_1 : enableFineIfNoBribes, fineIfNoBribes === void 1 ? this.i2n_1 : fineIfNoBribes, enableFineAfterThirdByte === void 1 ? this.j2n_1 : enableFineAfterThirdByte, checkTrumpCombination === void 1 ? this.k2n_1 : checkTrumpCombination, checkOnlyTrumpDebertz === void 1 ? this.l2n_1 : checkOnlyTrumpDebertz, tenCardsInHand === void 1 ? this.m2n_1 : tenCardsInHand);
|
|
1865
1884
|
};
|
|
1866
|
-
Rules.prototype.
|
|
1885
|
+
Rules.prototype.d2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1867
1886
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1868
1887
|
};
|
|
1869
|
-
Rules.prototype.
|
|
1888
|
+
Rules.prototype.e2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
1870
1889
|
if (!(($mask0 & 1) === 0))
|
|
1871
|
-
needToPutHigherTrump = this.
|
|
1890
|
+
needToPutHigherTrump = this.x2m_1;
|
|
1872
1891
|
if (!(($mask0 & 2) === 0))
|
|
1873
|
-
distributePoints = this.
|
|
1892
|
+
distributePoints = this.y2m_1;
|
|
1874
1893
|
if (!(($mask0 & 4) === 0))
|
|
1875
|
-
protectBella = this.
|
|
1894
|
+
protectBella = this.z2m_1;
|
|
1876
1895
|
if (!(($mask0 & 8) === 0))
|
|
1877
|
-
enableFourSevensCombination = this.
|
|
1896
|
+
enableFourSevensCombination = this.a2n_1;
|
|
1878
1897
|
if (!(($mask0 & 16) === 0))
|
|
1879
|
-
enableTrumpSevenCombination = this.
|
|
1898
|
+
enableTrumpSevenCombination = this.b2n_1;
|
|
1880
1899
|
if (!(($mask0 & 32) === 0))
|
|
1881
|
-
enableTrumpSevenCombinationAfterDistribution = this.
|
|
1900
|
+
enableTrumpSevenCombinationAfterDistribution = this.c2n_1;
|
|
1882
1901
|
if (!(($mask0 & 64) === 0))
|
|
1883
|
-
playerWhoChooseSuitGoFirst = this.
|
|
1902
|
+
playerWhoChooseSuitGoFirst = this.d2n_1;
|
|
1884
1903
|
if (!(($mask0 & 128) === 0))
|
|
1885
|
-
winnerShuffleCards = this.
|
|
1904
|
+
winnerShuffleCards = this.e2n_1;
|
|
1886
1905
|
if (!(($mask0 & 256) === 0))
|
|
1887
|
-
playWithoutLiabilities = this.
|
|
1906
|
+
playWithoutLiabilities = this.f2n_1;
|
|
1888
1907
|
if (!(($mask0 & 512) === 0))
|
|
1889
|
-
trumpCardGoToPlayerWhoShuffleCards = this.
|
|
1908
|
+
trumpCardGoToPlayerWhoShuffleCards = this.g2n_1;
|
|
1890
1909
|
if (!(($mask0 & 1024) === 0))
|
|
1891
|
-
enableFineIfNoBribes = this.
|
|
1910
|
+
enableFineIfNoBribes = this.h2n_1;
|
|
1892
1911
|
if (!(($mask0 & 2048) === 0))
|
|
1893
|
-
fineIfNoBribes = this.
|
|
1912
|
+
fineIfNoBribes = this.i2n_1;
|
|
1894
1913
|
if (!(($mask0 & 4096) === 0))
|
|
1895
|
-
enableFineAfterThirdByte = this.
|
|
1914
|
+
enableFineAfterThirdByte = this.j2n_1;
|
|
1896
1915
|
if (!(($mask0 & 8192) === 0))
|
|
1897
|
-
checkTrumpCombination = this.
|
|
1916
|
+
checkTrumpCombination = this.k2n_1;
|
|
1898
1917
|
if (!(($mask0 & 16384) === 0))
|
|
1899
|
-
checkOnlyTrumpDebertz = this.
|
|
1918
|
+
checkOnlyTrumpDebertz = this.l2n_1;
|
|
1900
1919
|
if (!(($mask0 & 32768) === 0))
|
|
1901
|
-
tenCardsInHand = this.
|
|
1902
|
-
return this.
|
|
1920
|
+
tenCardsInHand = this.m2n_1;
|
|
1921
|
+
return this.d2o(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1903
1922
|
};
|
|
1904
1923
|
Rules.prototype.toString = function () {
|
|
1905
|
-
return 'Rules(needToPutHigherTrump=' + this.
|
|
1924
|
+
return 'Rules(needToPutHigherTrump=' + this.x2m_1 + ', distributePoints=' + this.y2m_1 + ', protectBella=' + this.z2m_1 + ', enableFourSevensCombination=' + this.a2n_1 + ', enableTrumpSevenCombination=' + this.b2n_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.c2n_1 + ', playerWhoChooseSuitGoFirst=' + this.d2n_1 + ', winnerShuffleCards=' + this.e2n_1 + ', playWithoutLiabilities=' + this.f2n_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.g2n_1 + ', enableFineIfNoBribes=' + this.h2n_1 + ', fineIfNoBribes=' + this.i2n_1 + ', enableFineAfterThirdByte=' + this.j2n_1 + ', checkTrumpCombination=' + this.k2n_1 + ', checkOnlyTrumpDebertz=' + this.l2n_1 + ', tenCardsInHand=' + this.m2n_1 + ')';
|
|
1906
1925
|
};
|
|
1907
1926
|
Rules.prototype.hashCode = function () {
|
|
1908
|
-
var result = this.
|
|
1909
|
-
result = imul(result, 31) + (this.w2m_1 | 0) | 0;
|
|
1910
|
-
result = imul(result, 31) + (this.x2m_1 | 0) | 0;
|
|
1927
|
+
var result = this.x2m_1 | 0;
|
|
1911
1928
|
result = imul(result, 31) + (this.y2m_1 | 0) | 0;
|
|
1912
1929
|
result = imul(result, 31) + (this.z2m_1 | 0) | 0;
|
|
1913
1930
|
result = imul(result, 31) + (this.a2n_1 | 0) | 0;
|
|
@@ -1916,11 +1933,13 @@
|
|
|
1916
1933
|
result = imul(result, 31) + (this.d2n_1 | 0) | 0;
|
|
1917
1934
|
result = imul(result, 31) + (this.e2n_1 | 0) | 0;
|
|
1918
1935
|
result = imul(result, 31) + (this.f2n_1 | 0) | 0;
|
|
1919
|
-
result = imul(result, 31) + this.g2n_1 | 0;
|
|
1936
|
+
result = imul(result, 31) + (this.g2n_1 | 0) | 0;
|
|
1920
1937
|
result = imul(result, 31) + (this.h2n_1 | 0) | 0;
|
|
1921
|
-
result = imul(result, 31) +
|
|
1938
|
+
result = imul(result, 31) + this.i2n_1 | 0;
|
|
1922
1939
|
result = imul(result, 31) + (this.j2n_1 | 0) | 0;
|
|
1923
1940
|
result = imul(result, 31) + (this.k2n_1 | 0) | 0;
|
|
1941
|
+
result = imul(result, 31) + (this.l2n_1 | 0) | 0;
|
|
1942
|
+
result = imul(result, 31) + (this.m2n_1 | 0) | 0;
|
|
1924
1943
|
return result;
|
|
1925
1944
|
};
|
|
1926
1945
|
Rules.prototype.equals = function (other) {
|
|
@@ -1929,10 +1948,6 @@
|
|
|
1929
1948
|
if (!(other instanceof Rules))
|
|
1930
1949
|
return false;
|
|
1931
1950
|
var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
|
|
1932
|
-
if (!(this.v2m_1 === tmp0_other_with_cast.v2m_1))
|
|
1933
|
-
return false;
|
|
1934
|
-
if (!(this.w2m_1 === tmp0_other_with_cast.w2m_1))
|
|
1935
|
-
return false;
|
|
1936
1951
|
if (!(this.x2m_1 === tmp0_other_with_cast.x2m_1))
|
|
1937
1952
|
return false;
|
|
1938
1953
|
if (!(this.y2m_1 === tmp0_other_with_cast.y2m_1))
|
|
@@ -1961,72 +1976,76 @@
|
|
|
1961
1976
|
return false;
|
|
1962
1977
|
if (!(this.k2n_1 === tmp0_other_with_cast.k2n_1))
|
|
1963
1978
|
return false;
|
|
1979
|
+
if (!(this.l2n_1 === tmp0_other_with_cast.l2n_1))
|
|
1980
|
+
return false;
|
|
1981
|
+
if (!(this.m2n_1 === tmp0_other_with_cast.m2n_1))
|
|
1982
|
+
return false;
|
|
1964
1983
|
return true;
|
|
1965
1984
|
};
|
|
1966
1985
|
Rules.$metadata$ = classMeta('Rules');
|
|
1967
1986
|
Object.defineProperty(Rules.prototype, 'needToPutHigherTrump', {
|
|
1968
1987
|
configurable: true,
|
|
1969
|
-
get: Rules.prototype.
|
|
1988
|
+
get: Rules.prototype.n2n
|
|
1970
1989
|
});
|
|
1971
1990
|
Object.defineProperty(Rules.prototype, 'distributePoints', {
|
|
1972
1991
|
configurable: true,
|
|
1973
|
-
get: Rules.prototype.
|
|
1992
|
+
get: Rules.prototype.o2n
|
|
1974
1993
|
});
|
|
1975
1994
|
Object.defineProperty(Rules.prototype, 'protectBella', {
|
|
1976
1995
|
configurable: true,
|
|
1977
|
-
get: Rules.prototype.
|
|
1996
|
+
get: Rules.prototype.p2n
|
|
1978
1997
|
});
|
|
1979
1998
|
Object.defineProperty(Rules.prototype, 'enableFourSevensCombination', {
|
|
1980
1999
|
configurable: true,
|
|
1981
|
-
get: Rules.prototype.
|
|
2000
|
+
get: Rules.prototype.q2n
|
|
1982
2001
|
});
|
|
1983
2002
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombination', {
|
|
1984
2003
|
configurable: true,
|
|
1985
|
-
get: Rules.prototype.
|
|
2004
|
+
get: Rules.prototype.r2n
|
|
1986
2005
|
});
|
|
1987
2006
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombinationAfterDistribution', {
|
|
1988
2007
|
configurable: true,
|
|
1989
|
-
get: Rules.prototype.
|
|
2008
|
+
get: Rules.prototype.s2n
|
|
1990
2009
|
});
|
|
1991
2010
|
Object.defineProperty(Rules.prototype, 'playerWhoChooseSuitGoFirst', {
|
|
1992
2011
|
configurable: true,
|
|
1993
|
-
get: Rules.prototype.
|
|
2012
|
+
get: Rules.prototype.t2n
|
|
1994
2013
|
});
|
|
1995
2014
|
Object.defineProperty(Rules.prototype, 'winnerShuffleCards', {
|
|
1996
2015
|
configurable: true,
|
|
1997
|
-
get: Rules.prototype.
|
|
2016
|
+
get: Rules.prototype.u2n
|
|
1998
2017
|
});
|
|
1999
2018
|
Object.defineProperty(Rules.prototype, 'playWithoutLiabilities', {
|
|
2000
2019
|
configurable: true,
|
|
2001
|
-
get: Rules.prototype.
|
|
2020
|
+
get: Rules.prototype.v2n
|
|
2002
2021
|
});
|
|
2003
2022
|
Object.defineProperty(Rules.prototype, 'trumpCardGoToPlayerWhoShuffleCards', {
|
|
2004
2023
|
configurable: true,
|
|
2005
|
-
get: Rules.prototype.
|
|
2024
|
+
get: Rules.prototype.w2n
|
|
2006
2025
|
});
|
|
2007
2026
|
Object.defineProperty(Rules.prototype, 'enableFineIfNoBribes', {
|
|
2008
2027
|
configurable: true,
|
|
2009
|
-
get: Rules.prototype.
|
|
2028
|
+
get: Rules.prototype.x2n
|
|
2010
2029
|
});
|
|
2011
2030
|
Object.defineProperty(Rules.prototype, 'fineIfNoBribes', {
|
|
2012
2031
|
configurable: true,
|
|
2013
|
-
get: Rules.prototype.
|
|
2032
|
+
get: Rules.prototype.y2n
|
|
2014
2033
|
});
|
|
2015
2034
|
Object.defineProperty(Rules.prototype, 'enableFineAfterThirdByte', {
|
|
2016
2035
|
configurable: true,
|
|
2017
|
-
get: Rules.prototype.
|
|
2036
|
+
get: Rules.prototype.z2n
|
|
2018
2037
|
});
|
|
2019
2038
|
Object.defineProperty(Rules.prototype, 'checkTrumpCombination', {
|
|
2020
2039
|
configurable: true,
|
|
2021
|
-
get: Rules.prototype.
|
|
2040
|
+
get: Rules.prototype.a2o
|
|
2022
2041
|
});
|
|
2023
2042
|
Object.defineProperty(Rules.prototype, 'checkOnlyTrumpDebertz', {
|
|
2024
2043
|
configurable: true,
|
|
2025
|
-
get: Rules.prototype.
|
|
2044
|
+
get: Rules.prototype.b2o
|
|
2026
2045
|
});
|
|
2027
2046
|
Object.defineProperty(Rules.prototype, 'tenCardsInHand', {
|
|
2028
2047
|
configurable: true,
|
|
2029
|
-
get: Rules.prototype.
|
|
2048
|
+
get: Rules.prototype.c2o
|
|
2030
2049
|
});
|
|
2031
2050
|
var RulesSetType_belot_instance;
|
|
2032
2051
|
var RulesSetType_klabor_instance;
|
|
@@ -2098,38 +2117,54 @@
|
|
|
2098
2117
|
return RulesSetType_custom_instance;
|
|
2099
2118
|
}
|
|
2100
2119
|
function mapToDto(_this__u8e3s4) {
|
|
2101
|
-
return _this__u8e3s4.
|
|
2120
|
+
return _this__u8e3s4.h2o_1;
|
|
2102
2121
|
}
|
|
2103
2122
|
function mapFromDto(_this__u8e3s4) {
|
|
2104
2123
|
return new GameCard(_this__u8e3s4);
|
|
2105
2124
|
}
|
|
2106
2125
|
function mapToDto_0(_this__u8e3s4) {
|
|
2107
|
-
return _this__u8e3s4.h2o_1
|
|
2126
|
+
return _this__u8e3s4.j2o_1.h2o_1;
|
|
2108
2127
|
}
|
|
2109
2128
|
function mapToDto_1(_this__u8e3s4) {
|
|
2110
|
-
return new RulesDto(_this__u8e3s4.
|
|
2129
|
+
return new RulesDto(_this__u8e3s4.x2m_1, _this__u8e3s4.y2m_1, _this__u8e3s4.z2m_1, _this__u8e3s4.a2n_1, _this__u8e3s4.b2n_1, _this__u8e3s4.c2n_1, _this__u8e3s4.d2n_1, _this__u8e3s4.e2n_1, _this__u8e3s4.f2n_1, _this__u8e3s4.g2n_1, _this__u8e3s4.h2n_1, _this__u8e3s4.i2n_1, _this__u8e3s4.j2n_1, _this__u8e3s4.k2n_1, _this__u8e3s4.l2n_1, _this__u8e3s4.m2n_1);
|
|
2111
2130
|
}
|
|
2112
2131
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2113
|
-
return new Rules(_this__u8e3s4.
|
|
2132
|
+
return new Rules(_this__u8e3s4.k2o_1, _this__u8e3s4.l2o_1, _this__u8e3s4.m2o_1, _this__u8e3s4.n2o_1, _this__u8e3s4.o2o_1, _this__u8e3s4.p2o_1, _this__u8e3s4.q2o_1, _this__u8e3s4.r2o_1, _this__u8e3s4.s2o_1, _this__u8e3s4.t2o_1, _this__u8e3s4.u2o_1, _this__u8e3s4.v2o_1, _this__u8e3s4.w2o_1, _this__u8e3s4.x2o_1, _this__u8e3s4.y2o_1, _this__u8e3s4.z2o_1);
|
|
2114
2133
|
}
|
|
2115
2134
|
function mapToDto_2(_this__u8e3s4) {
|
|
2116
|
-
|
|
2135
|
+
var tmp$ret$1;
|
|
2136
|
+
// Inline function 'kotlin.takeIf' call
|
|
2137
|
+
var tmp0_takeIf = _this__u8e3s4.l2l_1;
|
|
2138
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2139
|
+
var tmp;
|
|
2140
|
+
var tmp$ret$0;
|
|
2141
|
+
// Inline function 'com.logic.data.models.serializable.mappers.mapToDto.<anonymous>' call
|
|
2142
|
+
tmp$ret$0 = tmp0_takeIf;
|
|
2143
|
+
if (tmp$ret$0) {
|
|
2144
|
+
tmp = tmp0_takeIf;
|
|
2145
|
+
} else {
|
|
2146
|
+
tmp = null;
|
|
2147
|
+
}
|
|
2148
|
+
tmp$ret$1 = tmp;
|
|
2149
|
+
return new GameUserInfoDto(_this__u8e3s4.i2l_1, _this__u8e3s4.j2l_1, _this__u8e3s4.k2l_1, tmp$ret$1);
|
|
2117
2150
|
}
|
|
2118
2151
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2119
|
-
|
|
2152
|
+
var tmp0_elvis_lhs = _this__u8e3s4.d2p_1;
|
|
2153
|
+
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
2154
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.a2p_1, _this__u8e3s4.b2p_1, _this__u8e3s4.c2p_1, tmp, null, 16, null);
|
|
2120
2155
|
}
|
|
2121
2156
|
function mapToDto_3(_this__u8e3s4) {
|
|
2122
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2123
|
-
var tmp1_state = _this__u8e3s4.
|
|
2124
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2125
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2157
|
+
var tmp0_startFromTime = _this__u8e3s4.s2l_1;
|
|
2158
|
+
var tmp1_state = _this__u8e3s4.t2l_1;
|
|
2159
|
+
var tmp2_tag = _this__u8e3s4.w2l_1;
|
|
2160
|
+
var tmp3_ready = _this__u8e3s4.u2l_1;
|
|
2126
2161
|
return new PlayerStateDto(tmp0_startFromTime, tmp1_state, tmp3_ready, tmp2_tag);
|
|
2127
2162
|
}
|
|
2128
2163
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2129
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2130
|
-
var tmp1_state = _this__u8e3s4.
|
|
2131
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2132
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2164
|
+
var tmp0_startFromTime = _this__u8e3s4.e2p_1;
|
|
2165
|
+
var tmp1_state = _this__u8e3s4.f2p_1;
|
|
2166
|
+
var tmp2_tag = _this__u8e3s4.h2p_1;
|
|
2167
|
+
var tmp3_ready = _this__u8e3s4.g2p_1;
|
|
2133
2168
|
return new PlayerState(tmp0_startFromTime, tmp1_state, tmp3_ready, connectionState, tmp2_tag);
|
|
2134
2169
|
}
|
|
2135
2170
|
function Companion_10() {
|
|
@@ -2144,19 +2179,20 @@
|
|
|
2144
2179
|
}
|
|
2145
2180
|
function $serializer_4() {
|
|
2146
2181
|
$serializer_instance_4 = this;
|
|
2147
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this,
|
|
2182
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 4);
|
|
2148
2183
|
tmp0_serialDesc.v1s('playerId', false);
|
|
2149
2184
|
tmp0_serialDesc.v1s('name', false);
|
|
2150
2185
|
tmp0_serialDesc.v1s('avatarUrl', false);
|
|
2151
|
-
|
|
2186
|
+
tmp0_serialDesc.v1s('isBot', true);
|
|
2187
|
+
this.i2p_1 = tmp0_serialDesc;
|
|
2152
2188
|
}
|
|
2153
2189
|
$serializer_4.prototype.i1i = function () {
|
|
2154
|
-
return this.
|
|
2190
|
+
return this.i2p_1;
|
|
2155
2191
|
};
|
|
2156
2192
|
$serializer_4.prototype.k1t = function () {
|
|
2157
2193
|
var tmp$ret$2;
|
|
2158
2194
|
// Inline function 'kotlin.arrayOf' call
|
|
2159
|
-
var tmp0_arrayOf = [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2195
|
+
var tmp0_arrayOf = [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance())];
|
|
2160
2196
|
var tmp$ret$1;
|
|
2161
2197
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2162
2198
|
var tmp$ret$0;
|
|
@@ -2167,57 +2203,67 @@
|
|
|
2167
2203
|
return tmp$ret$2;
|
|
2168
2204
|
};
|
|
2169
2205
|
$serializer_4.prototype.k1i = function (decoder) {
|
|
2170
|
-
var tmp0_desc = this.
|
|
2206
|
+
var tmp0_desc = this.i2p_1;
|
|
2171
2207
|
var tmp1_flag = true;
|
|
2172
2208
|
var tmp2_index = 0;
|
|
2173
2209
|
var tmp3_bitMask0 = 0;
|
|
2174
2210
|
var tmp4_local0 = null;
|
|
2175
2211
|
var tmp5_local1 = null;
|
|
2176
2212
|
var tmp6_local2 = null;
|
|
2177
|
-
var
|
|
2178
|
-
|
|
2179
|
-
|
|
2213
|
+
var tmp7_local3 = null;
|
|
2214
|
+
var tmp8_input = decoder.q1l(tmp0_desc);
|
|
2215
|
+
if (tmp8_input.f1m()) {
|
|
2216
|
+
tmp4_local0 = tmp8_input.a1m(tmp0_desc, 0);
|
|
2180
2217
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2181
|
-
tmp5_local1 =
|
|
2218
|
+
tmp5_local1 = tmp8_input.a1m(tmp0_desc, 1);
|
|
2182
2219
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2183
|
-
tmp6_local2 =
|
|
2220
|
+
tmp6_local2 = tmp8_input.a1m(tmp0_desc, 2);
|
|
2184
2221
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2222
|
+
tmp7_local3 = tmp8_input.e1m(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2223
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2185
2224
|
} else
|
|
2186
2225
|
while (tmp1_flag) {
|
|
2187
|
-
tmp2_index =
|
|
2226
|
+
tmp2_index = tmp8_input.g1m(tmp0_desc);
|
|
2188
2227
|
switch (tmp2_index) {
|
|
2189
2228
|
case -1:
|
|
2190
2229
|
tmp1_flag = false;
|
|
2191
2230
|
break;
|
|
2192
2231
|
case 0:
|
|
2193
|
-
tmp4_local0 =
|
|
2232
|
+
tmp4_local0 = tmp8_input.a1m(tmp0_desc, 0);
|
|
2194
2233
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2195
2234
|
break;
|
|
2196
2235
|
case 1:
|
|
2197
|
-
tmp5_local1 =
|
|
2236
|
+
tmp5_local1 = tmp8_input.a1m(tmp0_desc, 1);
|
|
2198
2237
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2199
2238
|
break;
|
|
2200
2239
|
case 2:
|
|
2201
|
-
tmp6_local2 =
|
|
2240
|
+
tmp6_local2 = tmp8_input.a1m(tmp0_desc, 2);
|
|
2202
2241
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2203
2242
|
break;
|
|
2243
|
+
case 3:
|
|
2244
|
+
tmp7_local3 = tmp8_input.e1m(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2245
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2246
|
+
break;
|
|
2204
2247
|
default:
|
|
2205
2248
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2206
2249
|
}
|
|
2207
2250
|
}
|
|
2208
|
-
|
|
2209
|
-
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2251
|
+
tmp8_input.r1l(tmp0_desc);
|
|
2252
|
+
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2210
2253
|
};
|
|
2211
|
-
$serializer_4.prototype.
|
|
2212
|
-
var tmp0_desc = this.
|
|
2254
|
+
$serializer_4.prototype.j2p = function (encoder, value) {
|
|
2255
|
+
var tmp0_desc = this.i2p_1;
|
|
2213
2256
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
2214
|
-
tmp1_output.e1n(tmp0_desc, 0, value.
|
|
2215
|
-
tmp1_output.e1n(tmp0_desc, 1, value.
|
|
2216
|
-
tmp1_output.e1n(tmp0_desc, 2, value.
|
|
2257
|
+
tmp1_output.e1n(tmp0_desc, 0, value.a2p_1);
|
|
2258
|
+
tmp1_output.e1n(tmp0_desc, 1, value.b2p_1);
|
|
2259
|
+
tmp1_output.e1n(tmp0_desc, 2, value.c2p_1);
|
|
2260
|
+
if (tmp1_output.m1n(tmp0_desc, 3) ? true : !(value.d2p_1 === false)) {
|
|
2261
|
+
tmp1_output.i1n(tmp0_desc, 3, BooleanSerializer_getInstance(), value.d2p_1);
|
|
2262
|
+
}
|
|
2217
2263
|
tmp1_output.r1l(tmp0_desc);
|
|
2218
2264
|
};
|
|
2219
2265
|
$serializer_4.prototype.j1i = function (encoder, value) {
|
|
2220
|
-
return this.
|
|
2266
|
+
return this.j2p(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2221
2267
|
};
|
|
2222
2268
|
$serializer_4.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2223
2269
|
var $serializer_instance_4;
|
|
@@ -2226,31 +2272,37 @@
|
|
|
2226
2272
|
new $serializer_4();
|
|
2227
2273
|
return $serializer_instance_4;
|
|
2228
2274
|
}
|
|
2229
|
-
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, serializationConstructorMarker, $this) {
|
|
2275
|
+
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, $this) {
|
|
2230
2276
|
if (!(7 === (7 & seen1))) {
|
|
2231
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_4().
|
|
2277
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_4().i2p_1);
|
|
2232
2278
|
}
|
|
2233
|
-
$this.
|
|
2234
|
-
$this.
|
|
2235
|
-
$this.
|
|
2279
|
+
$this.a2p_1 = playerId;
|
|
2280
|
+
$this.b2p_1 = name;
|
|
2281
|
+
$this.c2p_1 = avatarUrl;
|
|
2282
|
+
if (0 === (seen1 & 8))
|
|
2283
|
+
$this.d2p_1 = false;
|
|
2284
|
+
else
|
|
2285
|
+
$this.d2p_1 = isBot;
|
|
2236
2286
|
return $this;
|
|
2237
2287
|
}
|
|
2238
|
-
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, serializationConstructorMarker) {
|
|
2239
|
-
return GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, serializationConstructorMarker, Object.create(GameUserInfoDto.prototype));
|
|
2288
|
+
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker) {
|
|
2289
|
+
return GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, Object.create(GameUserInfoDto.prototype));
|
|
2240
2290
|
}
|
|
2241
|
-
function GameUserInfoDto(playerId, name, avatarUrl) {
|
|
2291
|
+
function GameUserInfoDto(playerId, name, avatarUrl, isBot) {
|
|
2242
2292
|
Companion_getInstance_10();
|
|
2243
|
-
this.
|
|
2244
|
-
this.
|
|
2245
|
-
this.
|
|
2293
|
+
this.a2p_1 = playerId;
|
|
2294
|
+
this.b2p_1 = name;
|
|
2295
|
+
this.c2p_1 = avatarUrl;
|
|
2296
|
+
this.d2p_1 = isBot;
|
|
2246
2297
|
}
|
|
2247
2298
|
GameUserInfoDto.prototype.toString = function () {
|
|
2248
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2299
|
+
return 'GameUserInfoDto(playerId=' + this.a2p_1 + ', name=' + this.b2p_1 + ', avatarUrl=' + this.c2p_1 + ', isBot=' + this.d2p_1 + ')';
|
|
2249
2300
|
};
|
|
2250
2301
|
GameUserInfoDto.prototype.hashCode = function () {
|
|
2251
|
-
var result = getStringHashCode(this.
|
|
2252
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2253
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2302
|
+
var result = getStringHashCode(this.a2p_1);
|
|
2303
|
+
result = imul(result, 31) + getStringHashCode(this.b2p_1) | 0;
|
|
2304
|
+
result = imul(result, 31) + getStringHashCode(this.c2p_1) | 0;
|
|
2305
|
+
result = imul(result, 31) + (this.d2p_1 == null ? 0 : this.d2p_1 | 0) | 0;
|
|
2254
2306
|
return result;
|
|
2255
2307
|
};
|
|
2256
2308
|
GameUserInfoDto.prototype.equals = function (other) {
|
|
@@ -2259,11 +2311,13 @@
|
|
|
2259
2311
|
if (!(other instanceof GameUserInfoDto))
|
|
2260
2312
|
return false;
|
|
2261
2313
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2262
|
-
if (!(this.
|
|
2314
|
+
if (!(this.a2p_1 === tmp0_other_with_cast.a2p_1))
|
|
2263
2315
|
return false;
|
|
2264
|
-
if (!(this.
|
|
2316
|
+
if (!(this.b2p_1 === tmp0_other_with_cast.b2p_1))
|
|
2265
2317
|
return false;
|
|
2266
|
-
if (!(this.
|
|
2318
|
+
if (!(this.c2p_1 === tmp0_other_with_cast.c2p_1))
|
|
2319
|
+
return false;
|
|
2320
|
+
if (!(this.d2p_1 == tmp0_other_with_cast.d2p_1))
|
|
2267
2321
|
return false;
|
|
2268
2322
|
return true;
|
|
2269
2323
|
};
|
|
@@ -2285,10 +2339,10 @@
|
|
|
2285
2339
|
tmp0_serialDesc.v1s('state', false);
|
|
2286
2340
|
tmp0_serialDesc.v1s('ready', false);
|
|
2287
2341
|
tmp0_serialDesc.v1s('tag', true);
|
|
2288
|
-
this.
|
|
2342
|
+
this.k2p_1 = tmp0_serialDesc;
|
|
2289
2343
|
}
|
|
2290
2344
|
$serializer_5.prototype.i1i = function () {
|
|
2291
|
-
return this.
|
|
2345
|
+
return this.k2p_1;
|
|
2292
2346
|
};
|
|
2293
2347
|
$serializer_5.prototype.k1t = function () {
|
|
2294
2348
|
var tmp$ret$2;
|
|
@@ -2304,7 +2358,7 @@
|
|
|
2304
2358
|
return tmp$ret$2;
|
|
2305
2359
|
};
|
|
2306
2360
|
$serializer_5.prototype.k1i = function (decoder) {
|
|
2307
|
-
var tmp0_desc = this.
|
|
2361
|
+
var tmp0_desc = this.k2p_1;
|
|
2308
2362
|
var tmp1_flag = true;
|
|
2309
2363
|
var tmp2_index = 0;
|
|
2310
2364
|
var tmp3_bitMask0 = 0;
|
|
@@ -2352,19 +2406,19 @@
|
|
|
2352
2406
|
tmp8_input.r1l(tmp0_desc);
|
|
2353
2407
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2354
2408
|
};
|
|
2355
|
-
$serializer_5.prototype.
|
|
2356
|
-
var tmp0_desc = this.
|
|
2409
|
+
$serializer_5.prototype.l2p = function (encoder, value) {
|
|
2410
|
+
var tmp0_desc = this.k2p_1;
|
|
2357
2411
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
2358
|
-
tmp1_output.a1n(tmp0_desc, 0, value.
|
|
2359
|
-
tmp1_output.g1n(tmp0_desc, 1, Companion_getInstance_7().d25(), value.
|
|
2360
|
-
tmp1_output.w1m(tmp0_desc, 2, value.
|
|
2361
|
-
if (tmp1_output.m1n(tmp0_desc, 3) ? true : !(value.
|
|
2362
|
-
tmp1_output.i1n(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2412
|
+
tmp1_output.a1n(tmp0_desc, 0, value.e2p_1);
|
|
2413
|
+
tmp1_output.g1n(tmp0_desc, 1, Companion_getInstance_7().d25(), value.f2p_1);
|
|
2414
|
+
tmp1_output.w1m(tmp0_desc, 2, value.g2p_1);
|
|
2415
|
+
if (tmp1_output.m1n(tmp0_desc, 3) ? true : !(value.h2p_1 == null)) {
|
|
2416
|
+
tmp1_output.i1n(tmp0_desc, 3, StringSerializer_getInstance(), value.h2p_1);
|
|
2363
2417
|
}
|
|
2364
2418
|
tmp1_output.r1l(tmp0_desc);
|
|
2365
2419
|
};
|
|
2366
2420
|
$serializer_5.prototype.j1i = function (encoder, value) {
|
|
2367
|
-
return this.
|
|
2421
|
+
return this.l2p(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2368
2422
|
};
|
|
2369
2423
|
$serializer_5.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2370
2424
|
var $serializer_instance_5;
|
|
@@ -2375,15 +2429,15 @@
|
|
|
2375
2429
|
}
|
|
2376
2430
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2377
2431
|
if (!(7 === (7 & seen1))) {
|
|
2378
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().
|
|
2432
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().k2p_1);
|
|
2379
2433
|
}
|
|
2380
|
-
$this.
|
|
2381
|
-
$this.
|
|
2382
|
-
$this.
|
|
2434
|
+
$this.e2p_1 = startFromTime;
|
|
2435
|
+
$this.f2p_1 = state;
|
|
2436
|
+
$this.g2p_1 = ready;
|
|
2383
2437
|
if (0 === (seen1 & 8))
|
|
2384
|
-
$this.
|
|
2438
|
+
$this.h2p_1 = null;
|
|
2385
2439
|
else
|
|
2386
|
-
$this.
|
|
2440
|
+
$this.h2p_1 = tag;
|
|
2387
2441
|
return $this;
|
|
2388
2442
|
}
|
|
2389
2443
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker) {
|
|
@@ -2391,19 +2445,19 @@
|
|
|
2391
2445
|
}
|
|
2392
2446
|
function PlayerStateDto(startFromTime, state, ready, tag) {
|
|
2393
2447
|
Companion_getInstance_11();
|
|
2394
|
-
this.
|
|
2395
|
-
this.
|
|
2396
|
-
this.
|
|
2397
|
-
this.
|
|
2448
|
+
this.e2p_1 = startFromTime;
|
|
2449
|
+
this.f2p_1 = state;
|
|
2450
|
+
this.g2p_1 = ready;
|
|
2451
|
+
this.h2p_1 = tag;
|
|
2398
2452
|
}
|
|
2399
2453
|
PlayerStateDto.prototype.toString = function () {
|
|
2400
|
-
return 'PlayerStateDto(startFromTime=' + toString_0(this.
|
|
2454
|
+
return 'PlayerStateDto(startFromTime=' + toString_0(this.e2p_1) + ', state=' + this.f2p_1 + ', ready=' + this.g2p_1 + ', tag=' + this.h2p_1 + ')';
|
|
2401
2455
|
};
|
|
2402
2456
|
PlayerStateDto.prototype.hashCode = function () {
|
|
2403
|
-
var result = this.
|
|
2404
|
-
result = imul(result, 31) + this.
|
|
2405
|
-
result = imul(result, 31) + (this.
|
|
2406
|
-
result = imul(result, 31) + (this.
|
|
2457
|
+
var result = this.e2p_1.hashCode();
|
|
2458
|
+
result = imul(result, 31) + this.f2p_1.hashCode() | 0;
|
|
2459
|
+
result = imul(result, 31) + (this.g2p_1 | 0) | 0;
|
|
2460
|
+
result = imul(result, 31) + (this.h2p_1 == null ? 0 : getStringHashCode(this.h2p_1)) | 0;
|
|
2407
2461
|
return result;
|
|
2408
2462
|
};
|
|
2409
2463
|
PlayerStateDto.prototype.equals = function (other) {
|
|
@@ -2412,13 +2466,13 @@
|
|
|
2412
2466
|
if (!(other instanceof PlayerStateDto))
|
|
2413
2467
|
return false;
|
|
2414
2468
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2415
|
-
if (!this.
|
|
2469
|
+
if (!this.e2p_1.equals(tmp0_other_with_cast.e2p_1))
|
|
2416
2470
|
return false;
|
|
2417
|
-
if (!this.
|
|
2471
|
+
if (!this.f2p_1.equals(tmp0_other_with_cast.f2p_1))
|
|
2418
2472
|
return false;
|
|
2419
|
-
if (!(this.
|
|
2473
|
+
if (!(this.g2p_1 === tmp0_other_with_cast.g2p_1))
|
|
2420
2474
|
return false;
|
|
2421
|
-
if (!(this.
|
|
2475
|
+
if (!(this.h2p_1 == tmp0_other_with_cast.h2p_1))
|
|
2422
2476
|
return false;
|
|
2423
2477
|
return true;
|
|
2424
2478
|
};
|
|
@@ -2452,10 +2506,10 @@
|
|
|
2452
2506
|
tmp0_serialDesc.v1s('checkTrumpCombination', false);
|
|
2453
2507
|
tmp0_serialDesc.v1s('checkOnlyTrumpDebertz', false);
|
|
2454
2508
|
tmp0_serialDesc.v1s('tenCardsInHand', false);
|
|
2455
|
-
this.
|
|
2509
|
+
this.m2p_1 = tmp0_serialDesc;
|
|
2456
2510
|
}
|
|
2457
2511
|
$serializer_6.prototype.i1i = function () {
|
|
2458
|
-
return this.
|
|
2512
|
+
return this.m2p_1;
|
|
2459
2513
|
};
|
|
2460
2514
|
$serializer_6.prototype.k1t = function () {
|
|
2461
2515
|
var tmp$ret$2;
|
|
@@ -2471,7 +2525,7 @@
|
|
|
2471
2525
|
return tmp$ret$2;
|
|
2472
2526
|
};
|
|
2473
2527
|
$serializer_6.prototype.k1i = function (decoder) {
|
|
2474
|
-
var tmp0_desc = this.
|
|
2528
|
+
var tmp0_desc = this.m2p_1;
|
|
2475
2529
|
var tmp1_flag = true;
|
|
2476
2530
|
var tmp2_index = 0;
|
|
2477
2531
|
var tmp3_bitMask0 = 0;
|
|
@@ -2603,29 +2657,29 @@
|
|
|
2603
2657
|
tmp20_input.r1l(tmp0_desc);
|
|
2604
2658
|
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, null);
|
|
2605
2659
|
};
|
|
2606
|
-
$serializer_6.prototype.
|
|
2607
|
-
var tmp0_desc = this.
|
|
2660
|
+
$serializer_6.prototype.n2p = function (encoder, value) {
|
|
2661
|
+
var tmp0_desc = this.m2p_1;
|
|
2608
2662
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
2609
|
-
tmp1_output.w1m(tmp0_desc, 0, value.
|
|
2610
|
-
tmp1_output.w1m(tmp0_desc, 1, value.
|
|
2611
|
-
tmp1_output.w1m(tmp0_desc, 2, value.
|
|
2612
|
-
tmp1_output.w1m(tmp0_desc, 3, value.
|
|
2613
|
-
tmp1_output.w1m(tmp0_desc, 4, value.
|
|
2614
|
-
tmp1_output.w1m(tmp0_desc, 5, value.
|
|
2615
|
-
tmp1_output.w1m(tmp0_desc, 6, value.
|
|
2616
|
-
tmp1_output.w1m(tmp0_desc, 7, value.
|
|
2617
|
-
tmp1_output.w1m(tmp0_desc, 8, value.
|
|
2618
|
-
tmp1_output.w1m(tmp0_desc, 9, value.
|
|
2619
|
-
tmp1_output.w1m(tmp0_desc, 10, value.
|
|
2620
|
-
tmp1_output.z1m(tmp0_desc, 11, value.
|
|
2621
|
-
tmp1_output.w1m(tmp0_desc, 12, value.
|
|
2622
|
-
tmp1_output.w1m(tmp0_desc, 13, value.
|
|
2623
|
-
tmp1_output.w1m(tmp0_desc, 14, value.
|
|
2624
|
-
tmp1_output.w1m(tmp0_desc, 15, value.
|
|
2663
|
+
tmp1_output.w1m(tmp0_desc, 0, value.k2o_1);
|
|
2664
|
+
tmp1_output.w1m(tmp0_desc, 1, value.l2o_1);
|
|
2665
|
+
tmp1_output.w1m(tmp0_desc, 2, value.m2o_1);
|
|
2666
|
+
tmp1_output.w1m(tmp0_desc, 3, value.n2o_1);
|
|
2667
|
+
tmp1_output.w1m(tmp0_desc, 4, value.o2o_1);
|
|
2668
|
+
tmp1_output.w1m(tmp0_desc, 5, value.p2o_1);
|
|
2669
|
+
tmp1_output.w1m(tmp0_desc, 6, value.q2o_1);
|
|
2670
|
+
tmp1_output.w1m(tmp0_desc, 7, value.r2o_1);
|
|
2671
|
+
tmp1_output.w1m(tmp0_desc, 8, value.s2o_1);
|
|
2672
|
+
tmp1_output.w1m(tmp0_desc, 9, value.t2o_1);
|
|
2673
|
+
tmp1_output.w1m(tmp0_desc, 10, value.u2o_1);
|
|
2674
|
+
tmp1_output.z1m(tmp0_desc, 11, value.v2o_1);
|
|
2675
|
+
tmp1_output.w1m(tmp0_desc, 12, value.w2o_1);
|
|
2676
|
+
tmp1_output.w1m(tmp0_desc, 13, value.x2o_1);
|
|
2677
|
+
tmp1_output.w1m(tmp0_desc, 14, value.y2o_1);
|
|
2678
|
+
tmp1_output.w1m(tmp0_desc, 15, value.z2o_1);
|
|
2625
2679
|
tmp1_output.r1l(tmp0_desc);
|
|
2626
2680
|
};
|
|
2627
2681
|
$serializer_6.prototype.j1i = function (encoder, value) {
|
|
2628
|
-
return this.
|
|
2682
|
+
return this.n2p(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2629
2683
|
};
|
|
2630
2684
|
$serializer_6.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2631
2685
|
var $serializer_instance_6;
|
|
@@ -2636,24 +2690,24 @@
|
|
|
2636
2690
|
}
|
|
2637
2691
|
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2638
2692
|
if (!(65535 === (65535 & seen1))) {
|
|
2639
|
-
throwMissingFieldException(seen1, 65535, $serializer_getInstance_6().
|
|
2693
|
+
throwMissingFieldException(seen1, 65535, $serializer_getInstance_6().m2p_1);
|
|
2640
2694
|
}
|
|
2641
|
-
$this.
|
|
2642
|
-
$this.
|
|
2643
|
-
$this.
|
|
2644
|
-
$this.
|
|
2645
|
-
$this.
|
|
2646
|
-
$this.
|
|
2647
|
-
$this.
|
|
2648
|
-
$this.
|
|
2649
|
-
$this.
|
|
2650
|
-
$this.
|
|
2651
|
-
$this.
|
|
2652
|
-
$this.
|
|
2653
|
-
$this.
|
|
2654
|
-
$this.
|
|
2655
|
-
$this.
|
|
2656
|
-
$this.
|
|
2695
|
+
$this.k2o_1 = needToPutHigherTrump;
|
|
2696
|
+
$this.l2o_1 = distributePoints;
|
|
2697
|
+
$this.m2o_1 = protectBella;
|
|
2698
|
+
$this.n2o_1 = enableFourSevensCombination;
|
|
2699
|
+
$this.o2o_1 = enableTrumpSevenCombination;
|
|
2700
|
+
$this.p2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2701
|
+
$this.q2o_1 = playerWhoChooseSuitGoFirst;
|
|
2702
|
+
$this.r2o_1 = winnerShuffleCards;
|
|
2703
|
+
$this.s2o_1 = playWithoutLiabilities;
|
|
2704
|
+
$this.t2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2705
|
+
$this.u2o_1 = enableFineIfNoBribes;
|
|
2706
|
+
$this.v2o_1 = fineIfNoBribes;
|
|
2707
|
+
$this.w2o_1 = enableFineAfterThirdByte;
|
|
2708
|
+
$this.x2o_1 = checkTrumpCombination;
|
|
2709
|
+
$this.y2o_1 = checkOnlyTrumpDebertz;
|
|
2710
|
+
$this.z2o_1 = tenCardsInHand;
|
|
2657
2711
|
return $this;
|
|
2658
2712
|
}
|
|
2659
2713
|
function RulesDto_init_$Create$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -2661,30 +2715,28 @@
|
|
|
2661
2715
|
}
|
|
2662
2716
|
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2663
2717
|
Companion_getInstance_12();
|
|
2664
|
-
this.
|
|
2665
|
-
this.
|
|
2666
|
-
this.
|
|
2667
|
-
this.
|
|
2668
|
-
this.
|
|
2669
|
-
this.
|
|
2670
|
-
this.
|
|
2671
|
-
this.
|
|
2672
|
-
this.
|
|
2673
|
-
this.
|
|
2674
|
-
this.
|
|
2675
|
-
this.
|
|
2676
|
-
this.
|
|
2677
|
-
this.
|
|
2678
|
-
this.
|
|
2679
|
-
this.
|
|
2718
|
+
this.k2o_1 = needToPutHigherTrump;
|
|
2719
|
+
this.l2o_1 = distributePoints;
|
|
2720
|
+
this.m2o_1 = protectBella;
|
|
2721
|
+
this.n2o_1 = enableFourSevensCombination;
|
|
2722
|
+
this.o2o_1 = enableTrumpSevenCombination;
|
|
2723
|
+
this.p2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2724
|
+
this.q2o_1 = playerWhoChooseSuitGoFirst;
|
|
2725
|
+
this.r2o_1 = winnerShuffleCards;
|
|
2726
|
+
this.s2o_1 = playWithoutLiabilities;
|
|
2727
|
+
this.t2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2728
|
+
this.u2o_1 = enableFineIfNoBribes;
|
|
2729
|
+
this.v2o_1 = fineIfNoBribes;
|
|
2730
|
+
this.w2o_1 = enableFineAfterThirdByte;
|
|
2731
|
+
this.x2o_1 = checkTrumpCombination;
|
|
2732
|
+
this.y2o_1 = checkOnlyTrumpDebertz;
|
|
2733
|
+
this.z2o_1 = tenCardsInHand;
|
|
2680
2734
|
}
|
|
2681
2735
|
RulesDto.prototype.toString = function () {
|
|
2682
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2736
|
+
return 'RulesDto(needToPutHigherTrump=' + this.k2o_1 + ', distributePoints=' + this.l2o_1 + ', protectBella=' + this.m2o_1 + ', enableFourSevensCombination=' + this.n2o_1 + ', enableTrumpSevenCombination=' + this.o2o_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.p2o_1 + ', playerWhoChooseSuitGoFirst=' + this.q2o_1 + ', winnerShuffleCards=' + this.r2o_1 + ', playWithoutLiabilities=' + this.s2o_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.t2o_1 + ', enableFineIfNoBribes=' + this.u2o_1 + ', fineIfNoBribes=' + this.v2o_1 + ', enableFineAfterThirdByte=' + this.w2o_1 + ', checkTrumpCombination=' + this.x2o_1 + ', checkOnlyTrumpDebertz=' + this.y2o_1 + ', tenCardsInHand=' + this.z2o_1 + ')';
|
|
2683
2737
|
};
|
|
2684
2738
|
RulesDto.prototype.hashCode = function () {
|
|
2685
|
-
var result = this.
|
|
2686
|
-
result = imul(result, 31) + (this.j2o_1 | 0) | 0;
|
|
2687
|
-
result = imul(result, 31) + (this.k2o_1 | 0) | 0;
|
|
2739
|
+
var result = this.k2o_1 | 0;
|
|
2688
2740
|
result = imul(result, 31) + (this.l2o_1 | 0) | 0;
|
|
2689
2741
|
result = imul(result, 31) + (this.m2o_1 | 0) | 0;
|
|
2690
2742
|
result = imul(result, 31) + (this.n2o_1 | 0) | 0;
|
|
@@ -2693,11 +2745,13 @@
|
|
|
2693
2745
|
result = imul(result, 31) + (this.q2o_1 | 0) | 0;
|
|
2694
2746
|
result = imul(result, 31) + (this.r2o_1 | 0) | 0;
|
|
2695
2747
|
result = imul(result, 31) + (this.s2o_1 | 0) | 0;
|
|
2696
|
-
result = imul(result, 31) + this.t2o_1 | 0;
|
|
2748
|
+
result = imul(result, 31) + (this.t2o_1 | 0) | 0;
|
|
2697
2749
|
result = imul(result, 31) + (this.u2o_1 | 0) | 0;
|
|
2698
|
-
result = imul(result, 31) +
|
|
2750
|
+
result = imul(result, 31) + this.v2o_1 | 0;
|
|
2699
2751
|
result = imul(result, 31) + (this.w2o_1 | 0) | 0;
|
|
2700
2752
|
result = imul(result, 31) + (this.x2o_1 | 0) | 0;
|
|
2753
|
+
result = imul(result, 31) + (this.y2o_1 | 0) | 0;
|
|
2754
|
+
result = imul(result, 31) + (this.z2o_1 | 0) | 0;
|
|
2701
2755
|
return result;
|
|
2702
2756
|
};
|
|
2703
2757
|
RulesDto.prototype.equals = function (other) {
|
|
@@ -2706,10 +2760,6 @@
|
|
|
2706
2760
|
if (!(other instanceof RulesDto))
|
|
2707
2761
|
return false;
|
|
2708
2762
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2709
|
-
if (!(this.i2o_1 === tmp0_other_with_cast.i2o_1))
|
|
2710
|
-
return false;
|
|
2711
|
-
if (!(this.j2o_1 === tmp0_other_with_cast.j2o_1))
|
|
2712
|
-
return false;
|
|
2713
2763
|
if (!(this.k2o_1 === tmp0_other_with_cast.k2o_1))
|
|
2714
2764
|
return false;
|
|
2715
2765
|
if (!(this.l2o_1 === tmp0_other_with_cast.l2o_1))
|
|
@@ -2738,19 +2788,23 @@
|
|
|
2738
2788
|
return false;
|
|
2739
2789
|
if (!(this.x2o_1 === tmp0_other_with_cast.x2o_1))
|
|
2740
2790
|
return false;
|
|
2791
|
+
if (!(this.y2o_1 === tmp0_other_with_cast.y2o_1))
|
|
2792
|
+
return false;
|
|
2793
|
+
if (!(this.z2o_1 === tmp0_other_with_cast.z2o_1))
|
|
2794
|
+
return false;
|
|
2741
2795
|
return true;
|
|
2742
2796
|
};
|
|
2743
2797
|
RulesDto.$metadata$ = classMeta('RulesDto', undefined, undefined, {0: $serializer_getInstance_6});
|
|
2744
2798
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
2745
|
-
this.
|
|
2746
|
-
this.
|
|
2799
|
+
this.o2p_1 = trump;
|
|
2800
|
+
this.p2p_1 = firstCardSuit;
|
|
2747
2801
|
}
|
|
2748
|
-
CardGrowthComparator.prototype.
|
|
2749
|
-
return getGrowth(b, this.
|
|
2802
|
+
CardGrowthComparator.prototype.q2p = function (a, b) {
|
|
2803
|
+
return getGrowth(b, this.o2p_1, this.p2p_1) - getGrowth(a, this.o2p_1, this.p2p_1) | 0;
|
|
2750
2804
|
};
|
|
2751
2805
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
2752
2806
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2753
|
-
return this.
|
|
2807
|
+
return this.q2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2754
2808
|
};
|
|
2755
2809
|
CardGrowthComparator.$metadata$ = classMeta('CardGrowthComparator', [Comparator]);
|
|
2756
2810
|
function filterByCardName(_this__u8e3s4, name) {
|
|
@@ -2774,12 +2828,12 @@
|
|
|
2774
2828
|
function CardIndexComparator() {
|
|
2775
2829
|
CardIndexComparator_instance = this;
|
|
2776
2830
|
}
|
|
2777
|
-
CardIndexComparator.prototype.
|
|
2778
|
-
return a.
|
|
2831
|
+
CardIndexComparator.prototype.q2p = function (a, b) {
|
|
2832
|
+
return a.h2o_1 - b.h2o_1 | 0;
|
|
2779
2833
|
};
|
|
2780
2834
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
2781
2835
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2782
|
-
return this.
|
|
2836
|
+
return this.q2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2783
2837
|
};
|
|
2784
2838
|
CardIndexComparator.$metadata$ = objectMeta('CardIndexComparator', [Comparator]);
|
|
2785
2839
|
var CardIndexComparator_instance;
|
|
@@ -2809,12 +2863,12 @@
|
|
|
2809
2863
|
function CardNumberComparator() {
|
|
2810
2864
|
CardNumberComparator_instance = this;
|
|
2811
2865
|
}
|
|
2812
|
-
CardNumberComparator.prototype.
|
|
2813
|
-
return b.
|
|
2866
|
+
CardNumberComparator.prototype.q2p = function (a, b) {
|
|
2867
|
+
return b.r2p() - a.r2p() | 0;
|
|
2814
2868
|
};
|
|
2815
2869
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
2816
2870
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2817
|
-
return this.
|
|
2871
|
+
return this.q2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2818
2872
|
};
|
|
2819
2873
|
CardNumberComparator.$metadata$ = objectMeta('CardNumberComparator', [Comparator]);
|
|
2820
2874
|
var CardNumberComparator_instance;
|
|
@@ -2824,7 +2878,7 @@
|
|
|
2824
2878
|
return CardNumberComparator_instance;
|
|
2825
2879
|
}
|
|
2826
2880
|
function getPoint(_this__u8e3s4, trump) {
|
|
2827
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
2881
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.s2p());
|
|
2828
2882
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
2829
2883
|
var tmp0 = tmp0_subject.e5_1;
|
|
2830
2884
|
var tmp;
|
|
@@ -2858,8 +2912,8 @@
|
|
|
2858
2912
|
}
|
|
2859
2913
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
2860
2914
|
var minPoint = 0;
|
|
2861
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
2862
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
2915
|
+
var isTrump = trump.equals(_this__u8e3s4.s2p());
|
|
2916
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.s2p());
|
|
2863
2917
|
var minGrowth;
|
|
2864
2918
|
var maxGrowth;
|
|
2865
2919
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
@@ -2957,7 +3011,7 @@
|
|
|
2957
3011
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2958
3012
|
var tmp$ret$0;
|
|
2959
3013
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
2960
|
-
tmp$ret$0 = p1.
|
|
3014
|
+
tmp$ret$0 = p1.s2p().equals(element);
|
|
2961
3015
|
if (tmp$ret$0) {
|
|
2962
3016
|
tmp$ret$1 = true;
|
|
2963
3017
|
break $l$block;
|
|
@@ -3005,10 +3059,10 @@
|
|
|
3005
3059
|
function Companion_13() {
|
|
3006
3060
|
Companion_instance_13 = this;
|
|
3007
3061
|
}
|
|
3008
|
-
Companion_13.prototype.
|
|
3062
|
+
Companion_13.prototype.t2p = function (suit, cardNumber) {
|
|
3009
3063
|
return new GameCard(getNumber(Companion_getInstance_14(), cardNumber, suit));
|
|
3010
3064
|
};
|
|
3011
|
-
Companion_13.prototype.
|
|
3065
|
+
Companion_13.prototype.u2p = function (position, playerIndex, reverse) {
|
|
3012
3066
|
var tmp;
|
|
3013
3067
|
if (reverse) {
|
|
3014
3068
|
Companion_getInstance_14();
|
|
@@ -3022,10 +3076,10 @@
|
|
|
3022
3076
|
var index = tmp;
|
|
3023
3077
|
return new GameCard(index);
|
|
3024
3078
|
};
|
|
3025
|
-
Companion_13.prototype.
|
|
3079
|
+
Companion_13.prototype.v2p = function (position, playerIndex, reverse, $mask0, $handler) {
|
|
3026
3080
|
if (!(($mask0 & 4) === 0))
|
|
3027
3081
|
reverse = false;
|
|
3028
|
-
return this.
|
|
3082
|
+
return this.u2p(position, playerIndex, reverse);
|
|
3029
3083
|
};
|
|
3030
3084
|
Companion_13.$metadata$ = objectMeta('Companion');
|
|
3031
3085
|
var Companion_instance_13;
|
|
@@ -3135,7 +3189,7 @@
|
|
|
3135
3189
|
return tmp;
|
|
3136
3190
|
}
|
|
3137
3191
|
function _get_isShirt__vd98rp($this) {
|
|
3138
|
-
var tmp = $this.
|
|
3192
|
+
var tmp = $this.h2o_1;
|
|
3139
3193
|
Companion_getInstance_14();
|
|
3140
3194
|
return tmp === 52;
|
|
3141
3195
|
}
|
|
@@ -3145,10 +3199,10 @@
|
|
|
3145
3199
|
CardName.$metadata$ = classMeta('CardName', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
3146
3200
|
function Companion_14() {
|
|
3147
3201
|
Companion_instance_14 = this;
|
|
3148
|
-
this.
|
|
3149
|
-
this.
|
|
3150
|
-
this.
|
|
3151
|
-
this.
|
|
3202
|
+
this.w2p_1 = -1;
|
|
3203
|
+
this.x2p_1 = 13;
|
|
3204
|
+
this.y2p_1 = 52;
|
|
3205
|
+
this.z2p_1 = 53;
|
|
3152
3206
|
}
|
|
3153
3207
|
Companion_14.$metadata$ = objectMeta('Companion');
|
|
3154
3208
|
var Companion_instance_14;
|
|
@@ -3215,58 +3269,58 @@
|
|
|
3215
3269
|
}
|
|
3216
3270
|
function GameCard(index) {
|
|
3217
3271
|
Companion_getInstance_14();
|
|
3218
|
-
this.
|
|
3272
|
+
this.h2o_1 = index;
|
|
3219
3273
|
}
|
|
3220
3274
|
GameCard.prototype.b3 = function () {
|
|
3221
|
-
return this.
|
|
3275
|
+
return this.h2o_1;
|
|
3222
3276
|
};
|
|
3223
|
-
GameCard.prototype.
|
|
3277
|
+
GameCard.prototype.s2p = function () {
|
|
3224
3278
|
var tmp;
|
|
3225
3279
|
Companion_getInstance_14();
|
|
3226
3280
|
var containsUpper = 13;
|
|
3227
|
-
var containsArg = this.
|
|
3281
|
+
var containsArg = this.h2o_1;
|
|
3228
3282
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3229
3283
|
tmp = Suit_DIAMOND_getInstance();
|
|
3230
3284
|
} else {
|
|
3231
|
-
var tmp_0 = this.
|
|
3285
|
+
var tmp_0 = this.h2o_1;
|
|
3232
3286
|
Companion_getInstance_14();
|
|
3233
3287
|
if (tmp_0 <= imul(13, 2)) {
|
|
3234
3288
|
tmp = Suit_SPADE_getInstance();
|
|
3235
3289
|
} else {
|
|
3236
|
-
var tmp_1 = this.
|
|
3290
|
+
var tmp_1 = this.h2o_1;
|
|
3237
3291
|
Companion_getInstance_14();
|
|
3238
3292
|
if (tmp_1 <= imul(13, 3)) {
|
|
3239
3293
|
tmp = Suit_HEART_getInstance();
|
|
3240
3294
|
} else {
|
|
3241
|
-
var tmp_2 = this.
|
|
3295
|
+
var tmp_2 = this.h2o_1;
|
|
3242
3296
|
Companion_getInstance_14();
|
|
3243
3297
|
if (tmp_2 <= imul(13, 4)) {
|
|
3244
3298
|
tmp = Suit_CLUB_getInstance();
|
|
3245
3299
|
} else {
|
|
3246
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3300
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.h2o_1);
|
|
3247
3301
|
}
|
|
3248
3302
|
}
|
|
3249
3303
|
}
|
|
3250
3304
|
}
|
|
3251
3305
|
return tmp;
|
|
3252
3306
|
};
|
|
3253
|
-
GameCard.prototype.
|
|
3307
|
+
GameCard.prototype.r2p = function () {
|
|
3254
3308
|
var tmp;
|
|
3255
|
-
if (this.
|
|
3309
|
+
if (this.a2q()) {
|
|
3256
3310
|
Companion_getInstance_14();
|
|
3257
3311
|
tmp = -1;
|
|
3258
3312
|
} else {
|
|
3259
|
-
var tmp_0 = this.
|
|
3313
|
+
var tmp_0 = this.h2o_1;
|
|
3260
3314
|
Companion_getInstance_14();
|
|
3261
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3315
|
+
tmp = tmp_0 - imul(13, getIndex(this.s2p())) | 0;
|
|
3262
3316
|
}
|
|
3263
3317
|
return tmp;
|
|
3264
3318
|
};
|
|
3265
3319
|
GameCard.prototype.f5 = function () {
|
|
3266
|
-
return this.
|
|
3320
|
+
return this.a2q() ? CardName_STUB_getInstance() : getName(Companion_getInstance_14(), this.r2p());
|
|
3267
3321
|
};
|
|
3268
|
-
GameCard.prototype.
|
|
3269
|
-
var tmp = this.
|
|
3322
|
+
GameCard.prototype.a2q = function () {
|
|
3323
|
+
var tmp = this.h2o_1;
|
|
3270
3324
|
Companion_getInstance_14();
|
|
3271
3325
|
return tmp >= 53;
|
|
3272
3326
|
};
|
|
@@ -3274,13 +3328,13 @@
|
|
|
3274
3328
|
if (_get_isShirt__vd98rp(this)) {
|
|
3275
3329
|
return 'GameCard(SHIRT)';
|
|
3276
3330
|
}
|
|
3277
|
-
if (this.
|
|
3278
|
-
return 'GameCard(STUB, ' + this.
|
|
3331
|
+
if (this.a2q()) {
|
|
3332
|
+
return 'GameCard(STUB, ' + this.h2o_1 + ')';
|
|
3279
3333
|
}
|
|
3280
|
-
return 'GameCard(' + this.f5() + ', suit: ' + this.
|
|
3334
|
+
return 'GameCard(' + this.f5() + ', suit: ' + this.s2p() + ', index=' + this.h2o_1 + ')';
|
|
3281
3335
|
};
|
|
3282
3336
|
GameCard.prototype.hashCode = function () {
|
|
3283
|
-
return this.
|
|
3337
|
+
return this.h2o_1;
|
|
3284
3338
|
};
|
|
3285
3339
|
GameCard.prototype.equals = function (other) {
|
|
3286
3340
|
if (this === other)
|
|
@@ -3288,24 +3342,24 @@
|
|
|
3288
3342
|
if (!(other instanceof GameCard))
|
|
3289
3343
|
return false;
|
|
3290
3344
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3291
|
-
if (!(this.
|
|
3345
|
+
if (!(this.h2o_1 === tmp0_other_with_cast.h2o_1))
|
|
3292
3346
|
return false;
|
|
3293
3347
|
return true;
|
|
3294
3348
|
};
|
|
3295
3349
|
GameCard.$metadata$ = classMeta('GameCard');
|
|
3296
3350
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3297
|
-
this.
|
|
3298
|
-
this.
|
|
3351
|
+
this.i2o_1 = playerId;
|
|
3352
|
+
this.j2o_1 = gameCard;
|
|
3299
3353
|
}
|
|
3300
3354
|
GameCardWIthPlayerId.prototype.x2k = function () {
|
|
3301
|
-
return this.
|
|
3355
|
+
return this.i2o_1;
|
|
3302
3356
|
};
|
|
3303
3357
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3304
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3358
|
+
return 'GameCardWIthPlayerId(playerId=' + this.i2o_1 + ', gameCard=' + this.j2o_1 + ')';
|
|
3305
3359
|
};
|
|
3306
3360
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3307
|
-
var result = getStringHashCode(this.
|
|
3308
|
-
result = imul(result, 31) + this.
|
|
3361
|
+
var result = getStringHashCode(this.i2o_1);
|
|
3362
|
+
result = imul(result, 31) + this.j2o_1.hashCode() | 0;
|
|
3309
3363
|
return result;
|
|
3310
3364
|
};
|
|
3311
3365
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3314,9 +3368,9 @@
|
|
|
3314
3368
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3315
3369
|
return false;
|
|
3316
3370
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3317
|
-
if (!(this.
|
|
3371
|
+
if (!(this.i2o_1 === tmp0_other_with_cast.i2o_1))
|
|
3318
3372
|
return false;
|
|
3319
|
-
if (!this.
|
|
3373
|
+
if (!this.j2o_1.equals(tmp0_other_with_cast.j2o_1))
|
|
3320
3374
|
return false;
|
|
3321
3375
|
return true;
|
|
3322
3376
|
};
|
|
@@ -3328,18 +3382,18 @@
|
|
|
3328
3382
|
}
|
|
3329
3383
|
});
|
|
3330
3384
|
function ProcessingCard(gameCard, payload) {
|
|
3331
|
-
this.
|
|
3332
|
-
this.
|
|
3385
|
+
this.b2q_1 = gameCard;
|
|
3386
|
+
this.c2q_1 = payload;
|
|
3333
3387
|
}
|
|
3334
|
-
ProcessingCard.prototype.
|
|
3335
|
-
return this.
|
|
3388
|
+
ProcessingCard.prototype.d2q = function () {
|
|
3389
|
+
return this.b2q_1;
|
|
3336
3390
|
};
|
|
3337
3391
|
ProcessingCard.prototype.toString = function () {
|
|
3338
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3392
|
+
return 'ProcessingCard(gameCard=' + this.b2q_1 + ', payload=' + this.c2q_1 + ')';
|
|
3339
3393
|
};
|
|
3340
3394
|
ProcessingCard.prototype.hashCode = function () {
|
|
3341
|
-
var result = this.
|
|
3342
|
-
result = imul(result, 31) + (this.
|
|
3395
|
+
var result = this.b2q_1.hashCode();
|
|
3396
|
+
result = imul(result, 31) + (this.c2q_1 == null ? 0 : hashCode(this.c2q_1)) | 0;
|
|
3343
3397
|
return result;
|
|
3344
3398
|
};
|
|
3345
3399
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3348,9 +3402,9 @@
|
|
|
3348
3402
|
if (!(other instanceof ProcessingCard))
|
|
3349
3403
|
return false;
|
|
3350
3404
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3351
|
-
if (!this.
|
|
3405
|
+
if (!this.b2q_1.equals(tmp0_other_with_cast.b2q_1))
|
|
3352
3406
|
return false;
|
|
3353
|
-
if (!equals(this.
|
|
3407
|
+
if (!equals(this.c2q_1, tmp0_other_with_cast.c2q_1))
|
|
3354
3408
|
return false;
|
|
3355
3409
|
return true;
|
|
3356
3410
|
};
|
|
@@ -3366,10 +3420,10 @@
|
|
|
3366
3420
|
Companion_instance_15 = this;
|
|
3367
3421
|
var tmp = this;
|
|
3368
3422
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3369
|
-
tmp.
|
|
3423
|
+
tmp.e2q_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3370
3424
|
}
|
|
3371
3425
|
Companion_15.prototype.d25 = function () {
|
|
3372
|
-
return this.
|
|
3426
|
+
return this.e2q_1.c2();
|
|
3373
3427
|
};
|
|
3374
3428
|
Companion_15.prototype.t1t = function (typeParamsSerializers) {
|
|
3375
3429
|
return this.d25();
|
|
@@ -3440,37 +3494,37 @@
|
|
|
3440
3494
|
return tmp;
|
|
3441
3495
|
}
|
|
3442
3496
|
function _no_name_provided__qut3iv($logger) {
|
|
3443
|
-
this.
|
|
3497
|
+
this.g2q_1 = $logger;
|
|
3444
3498
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3445
3499
|
}
|
|
3446
3500
|
_no_name_provided__qut3iv.prototype.eq = function (context, exception) {
|
|
3447
3501
|
var tmp = 'AsyncProvider error: ' + exception;
|
|
3448
|
-
return this.
|
|
3502
|
+
return this.g2q_1.h2q('AsyncErrorHandler', tmp, exception, null, 8, null);
|
|
3449
3503
|
};
|
|
3450
3504
|
_no_name_provided__qut3iv.$metadata$ = classMeta(undefined, [CoroutineExceptionHandler], undefined, undefined, undefined, AbstractCoroutineContextElement.prototype);
|
|
3451
3505
|
function AsyncProviderImpl(logger) {
|
|
3452
3506
|
var tmp = this;
|
|
3453
|
-
tmp.
|
|
3507
|
+
tmp.i2q_1 = Job$default(null, 1, null);
|
|
3454
3508
|
var tmp_0 = this;
|
|
3455
3509
|
var tmp$ret$0;
|
|
3456
3510
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3457
3511
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3458
|
-
tmp_0.
|
|
3459
|
-
this.
|
|
3460
|
-
this.
|
|
3512
|
+
tmp_0.j2q_1 = tmp$ret$0;
|
|
3513
|
+
this.k2q_1 = CoroutineScope(Dispatchers_getInstance().lu().y4(this.i2q_1));
|
|
3514
|
+
this.l2q_1 = CoroutineScope(Dispatchers_getInstance().hu_1.y4(this.i2q_1));
|
|
3461
3515
|
}
|
|
3462
|
-
AsyncProviderImpl.prototype.
|
|
3463
|
-
return this.
|
|
3516
|
+
AsyncProviderImpl.prototype.m2q = function () {
|
|
3517
|
+
return this.j2q_1;
|
|
3464
3518
|
};
|
|
3465
|
-
AsyncProviderImpl.prototype.
|
|
3466
|
-
return launch$default(this.
|
|
3519
|
+
AsyncProviderImpl.prototype.n2q = function (context, block) {
|
|
3520
|
+
return launch$default(this.k2q_1, context, null, block, 2, null);
|
|
3467
3521
|
};
|
|
3468
|
-
AsyncProviderImpl.prototype.
|
|
3469
|
-
return launch$default(this.
|
|
3522
|
+
AsyncProviderImpl.prototype.p2q = function (context, block) {
|
|
3523
|
+
return launch$default(this.l2q_1, context, null, block, 2, null);
|
|
3470
3524
|
};
|
|
3471
3525
|
AsyncProviderImpl.prototype.rn = function () {
|
|
3472
|
-
if (!this.
|
|
3473
|
-
this.
|
|
3526
|
+
if (!this.i2q_1.xp()) {
|
|
3527
|
+
this.i2q_1.om(null, 1, null);
|
|
3474
3528
|
}
|
|
3475
3529
|
};
|
|
3476
3530
|
AsyncProviderImpl.$metadata$ = classMeta('AsyncProviderImpl', [AsyncProvider]);
|
|
@@ -3478,39 +3532,39 @@
|
|
|
3478
3532
|
}
|
|
3479
3533
|
AsyncProvider.$metadata$ = interfaceMeta('AsyncProvider');
|
|
3480
3534
|
function JobsProviderImpl(logger) {
|
|
3481
|
-
this.
|
|
3535
|
+
this.r2q_1 = logger;
|
|
3482
3536
|
var tmp = this;
|
|
3483
3537
|
var tmp$ret$0;
|
|
3484
3538
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3485
3539
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
3486
|
-
tmp.
|
|
3540
|
+
tmp.s2q_1 = tmp$ret$0;
|
|
3487
3541
|
}
|
|
3488
|
-
JobsProviderImpl.prototype.
|
|
3489
|
-
if (this.
|
|
3542
|
+
JobsProviderImpl.prototype.t2q = function (timerTag, job) {
|
|
3543
|
+
if (this.v2q(timerTag)) {
|
|
3490
3544
|
var tmp = 'Timer already exists for that tag: ' + timerTag;
|
|
3491
|
-
this.
|
|
3545
|
+
this.r2q_1.u2q(null, tmp, null, 5, null);
|
|
3492
3546
|
}
|
|
3493
3547
|
// Inline function 'kotlin.collections.set' call
|
|
3494
|
-
var tmp0_set = this.
|
|
3548
|
+
var tmp0_set = this.s2q_1;
|
|
3495
3549
|
tmp0_set.o(timerTag, job);
|
|
3496
3550
|
};
|
|
3497
|
-
JobsProviderImpl.prototype.
|
|
3498
|
-
return this.
|
|
3551
|
+
JobsProviderImpl.prototype.v2q = function (timerTag) {
|
|
3552
|
+
return this.s2q_1.j2(timerTag);
|
|
3499
3553
|
};
|
|
3500
|
-
JobsProviderImpl.prototype.
|
|
3501
|
-
if (!this.
|
|
3554
|
+
JobsProviderImpl.prototype.w2q = function (timerTag) {
|
|
3555
|
+
if (!this.v2q(timerTag)) {
|
|
3502
3556
|
var tmp = "Can't find timer for that tag: " + timerTag;
|
|
3503
|
-
this.
|
|
3557
|
+
this.r2q_1.u2q(null, tmp, null, 5, null);
|
|
3504
3558
|
}
|
|
3505
|
-
this.
|
|
3559
|
+
this.s2q_1.od(timerTag);
|
|
3506
3560
|
};
|
|
3507
|
-
JobsProviderImpl.prototype.
|
|
3561
|
+
JobsProviderImpl.prototype.x2q = function (timers) {
|
|
3508
3562
|
// Inline function 'kotlin.collections.forEach' call
|
|
3509
3563
|
var tmp0_iterator = timers.f();
|
|
3510
3564
|
while (tmp0_iterator.g()) {
|
|
3511
3565
|
var element = tmp0_iterator.h();
|
|
3512
3566
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3513
|
-
var timer = this.
|
|
3567
|
+
var timer = this.s2q_1.n(element);
|
|
3514
3568
|
var tmp0_safe_receiver = timer;
|
|
3515
3569
|
if (tmp0_safe_receiver == null)
|
|
3516
3570
|
null;
|
|
@@ -3518,11 +3572,11 @@
|
|
|
3518
3572
|
tmp0_safe_receiver.om(null, 1, null);
|
|
3519
3573
|
}
|
|
3520
3574
|
}
|
|
3521
|
-
this.
|
|
3575
|
+
this.s2q_1.m2().mc(toSet(timers));
|
|
3522
3576
|
};
|
|
3523
|
-
JobsProviderImpl.prototype.
|
|
3524
|
-
var timer = this.
|
|
3525
|
-
this.
|
|
3577
|
+
JobsProviderImpl.prototype.y2q = function (timerTag) {
|
|
3578
|
+
var timer = this.s2q_1.n(timerTag);
|
|
3579
|
+
this.s2q_1.od(timerTag);
|
|
3526
3580
|
var tmp0_safe_receiver = timer;
|
|
3527
3581
|
if (tmp0_safe_receiver == null)
|
|
3528
3582
|
null;
|
|
@@ -3653,7 +3707,7 @@
|
|
|
3653
3707
|
return createStore(reducer, preloadedState, enhancer);
|
|
3654
3708
|
}
|
|
3655
3709
|
function createStore$dispatch(currentState, currentReducer, action) {
|
|
3656
|
-
currentState.x11(currentReducer._v.
|
|
3710
|
+
currentState.x11(currentReducer._v.z2q(currentState.c2(), action));
|
|
3657
3711
|
}
|
|
3658
3712
|
function createStore$replaceReducer(currentReducer, currentState, nextReducer) {
|
|
3659
3713
|
currentReducer._v = nextReducer;
|
|
@@ -3679,47 +3733,47 @@
|
|
|
3679
3733
|
return l;
|
|
3680
3734
|
}
|
|
3681
3735
|
function createStore$2($currentState, $currentReducer) {
|
|
3682
|
-
this.
|
|
3736
|
+
this.c2r_1 = $currentState;
|
|
3683
3737
|
var tmp = this;
|
|
3684
|
-
tmp.
|
|
3738
|
+
tmp.a2r_1 = createStore$dispatch$ref($currentState, $currentReducer);
|
|
3685
3739
|
var tmp_0 = this;
|
|
3686
|
-
tmp_0.
|
|
3740
|
+
tmp_0.b2r_1 = createStore$replaceReducer$ref($currentReducer, $currentState);
|
|
3687
3741
|
}
|
|
3688
|
-
createStore$2.prototype.
|
|
3689
|
-
this.
|
|
3742
|
+
createStore$2.prototype.d2r = function (_set____db54di) {
|
|
3743
|
+
this.a2r_1 = _set____db54di;
|
|
3690
3744
|
};
|
|
3691
|
-
createStore$2.prototype.
|
|
3692
|
-
return this.
|
|
3745
|
+
createStore$2.prototype.e2r = function () {
|
|
3746
|
+
return this.a2r_1;
|
|
3693
3747
|
};
|
|
3694
|
-
createStore$2.prototype.
|
|
3695
|
-
return this.
|
|
3748
|
+
createStore$2.prototype.f2r = function () {
|
|
3749
|
+
return this.c2r_1;
|
|
3696
3750
|
};
|
|
3697
|
-
createStore$2.prototype.
|
|
3698
|
-
return this.
|
|
3751
|
+
createStore$2.prototype.g2r = function () {
|
|
3752
|
+
return this.b2r_1;
|
|
3699
3753
|
};
|
|
3700
3754
|
createStore$2.prototype.am = function () {
|
|
3701
|
-
return this.
|
|
3755
|
+
return this.c2r_1.c2();
|
|
3702
3756
|
};
|
|
3703
3757
|
createStore$2.$metadata$ = classMeta(undefined, [Store]);
|
|
3704
3758
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
3705
3759
|
configurable: true,
|
|
3706
3760
|
get: function () {
|
|
3707
|
-
return this.
|
|
3761
|
+
return this.e2r();
|
|
3708
3762
|
},
|
|
3709
3763
|
set: function (value) {
|
|
3710
|
-
this.
|
|
3764
|
+
this.d2r(value);
|
|
3711
3765
|
}
|
|
3712
3766
|
});
|
|
3713
3767
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
3714
3768
|
configurable: true,
|
|
3715
3769
|
get: function () {
|
|
3716
|
-
return this.
|
|
3770
|
+
return this.f2r();
|
|
3717
3771
|
}
|
|
3718
3772
|
});
|
|
3719
3773
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
3720
3774
|
configurable: true,
|
|
3721
3775
|
get: function () {
|
|
3722
|
-
return this.
|
|
3776
|
+
return this.g2r();
|
|
3723
3777
|
}
|
|
3724
3778
|
});
|
|
3725
3779
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
@@ -3754,10 +3808,10 @@
|
|
|
3754
3808
|
return new middleware$1(dispatch);
|
|
3755
3809
|
}
|
|
3756
3810
|
function middleware$1($dispatch) {
|
|
3757
|
-
this.
|
|
3811
|
+
this.k2r_1 = $dispatch;
|
|
3758
3812
|
}
|
|
3759
|
-
middleware$1.prototype.
|
|
3760
|
-
this.
|
|
3813
|
+
middleware$1.prototype.j2r = function (store, next, action) {
|
|
3814
|
+
this.k2r_1(store, next, action);
|
|
3761
3815
|
};
|
|
3762
3816
|
middleware$1.$metadata$ = classMeta(undefined, [Middleware]);
|
|
3763
3817
|
function Reducer() {
|
|
@@ -3767,9 +3821,9 @@
|
|
|
3767
3821
|
return new combineReducers$1(reducers);
|
|
3768
3822
|
}
|
|
3769
3823
|
function combineReducers$1($reducers) {
|
|
3770
|
-
this.
|
|
3824
|
+
this.l2r_1 = $reducers;
|
|
3771
3825
|
}
|
|
3772
|
-
combineReducers$1.prototype.
|
|
3826
|
+
combineReducers$1.prototype.m2r = function (state, action) {
|
|
3773
3827
|
var tmp$ret$4;
|
|
3774
3828
|
// Inline function 'kotlin.collections.fold' call
|
|
3775
3829
|
var tmp$ret$2;
|
|
@@ -3777,7 +3831,7 @@
|
|
|
3777
3831
|
var tmp$ret$1;
|
|
3778
3832
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3779
3833
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
3780
|
-
var indexedObject = this.
|
|
3834
|
+
var indexedObject = this.l2r_1;
|
|
3781
3835
|
var inductionVariable = 0;
|
|
3782
3836
|
var last = indexedObject.length;
|
|
3783
3837
|
while (inductionVariable < last) {
|
|
@@ -3785,7 +3839,7 @@
|
|
|
3785
3839
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3786
3840
|
var tmp$ret$0;
|
|
3787
3841
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3788
|
-
tmp$ret$0 = element.
|
|
3842
|
+
tmp$ret$0 = element.i2r(action);
|
|
3789
3843
|
if (tmp$ret$0) {
|
|
3790
3844
|
tmp0_filterTo.a(element);
|
|
3791
3845
|
}
|
|
@@ -3800,14 +3854,14 @@
|
|
|
3800
3854
|
var tmp$ret$3;
|
|
3801
3855
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3802
3856
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
3803
|
-
tmp$ret$3 = element_0.
|
|
3857
|
+
tmp$ret$3 = element_0.z2q(tmp1__anonymous__uwfjfc, action);
|
|
3804
3858
|
accumulator = tmp$ret$3;
|
|
3805
3859
|
}
|
|
3806
3860
|
tmp$ret$4 = accumulator;
|
|
3807
3861
|
return tmp$ret$4;
|
|
3808
3862
|
};
|
|
3809
|
-
combineReducers$1.prototype.
|
|
3810
|
-
return this.
|
|
3863
|
+
combineReducers$1.prototype.z2q = function (state, action) {
|
|
3864
|
+
return this.m2r((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
3811
3865
|
};
|
|
3812
3866
|
combineReducers$1.$metadata$ = classMeta(undefined, [Reducer]);
|
|
3813
3867
|
function Store() {
|
|
@@ -3821,7 +3875,7 @@
|
|
|
3821
3875
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
3822
3876
|
configurable: true,
|
|
3823
3877
|
get: function () {
|
|
3824
|
-
return this.
|
|
3878
|
+
return this.h2r();
|
|
3825
3879
|
}
|
|
3826
3880
|
});
|
|
3827
3881
|
var INIT_instance;
|
|
@@ -3838,7 +3892,7 @@
|
|
|
3838
3892
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
3839
3893
|
configurable: true,
|
|
3840
3894
|
get: function () {
|
|
3841
|
-
return this.
|
|
3895
|
+
return this.h2r();
|
|
3842
3896
|
}
|
|
3843
3897
|
});
|
|
3844
3898
|
var REPLACE_instance;
|
|
@@ -3853,7 +3907,7 @@
|
|
|
3853
3907
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
3854
3908
|
configurable: true,
|
|
3855
3909
|
get: function () {
|
|
3856
|
-
return this.
|
|
3910
|
+
return this.h2r();
|
|
3857
3911
|
}
|
|
3858
3912
|
});
|
|
3859
3913
|
function BufferedAction() {
|
|
@@ -3870,16 +3924,16 @@
|
|
|
3870
3924
|
TimerTag.$metadata$ = interfaceMeta('TimerTag');
|
|
3871
3925
|
function StopTimerAction(timerTag) {
|
|
3872
3926
|
TimerAction.call(this);
|
|
3873
|
-
this.
|
|
3927
|
+
this.o2r_1 = timerTag;
|
|
3874
3928
|
}
|
|
3875
|
-
StopTimerAction.prototype.
|
|
3876
|
-
return this.
|
|
3929
|
+
StopTimerAction.prototype.p2r = function () {
|
|
3930
|
+
return this.o2r_1;
|
|
3877
3931
|
};
|
|
3878
3932
|
StopTimerAction.prototype.toString = function () {
|
|
3879
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
3933
|
+
return 'StopTimerAction(timerTag=' + this.o2r_1 + ')';
|
|
3880
3934
|
};
|
|
3881
3935
|
StopTimerAction.prototype.hashCode = function () {
|
|
3882
|
-
return hashCode(this.
|
|
3936
|
+
return hashCode(this.o2r_1);
|
|
3883
3937
|
};
|
|
3884
3938
|
StopTimerAction.prototype.equals = function (other) {
|
|
3885
3939
|
if (this === other)
|
|
@@ -3887,7 +3941,7 @@
|
|
|
3887
3941
|
if (!(other instanceof StopTimerAction))
|
|
3888
3942
|
return false;
|
|
3889
3943
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
3890
|
-
if (!equals(this.
|
|
3944
|
+
if (!equals(this.o2r_1, tmp0_other_with_cast.o2r_1))
|
|
3891
3945
|
return false;
|
|
3892
3946
|
return true;
|
|
3893
3947
|
};
|
|
@@ -3895,7 +3949,7 @@
|
|
|
3895
3949
|
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
3896
3950
|
configurable: true,
|
|
3897
3951
|
get: function () {
|
|
3898
|
-
return this.
|
|
3952
|
+
return this.h2r();
|
|
3899
3953
|
}
|
|
3900
3954
|
});
|
|
3901
3955
|
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
@@ -3911,31 +3965,31 @@
|
|
|
3911
3965
|
}
|
|
3912
3966
|
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
3913
3967
|
TimerAction.call(this);
|
|
3914
|
-
this.
|
|
3915
|
-
this.
|
|
3916
|
-
this.
|
|
3917
|
-
this.
|
|
3968
|
+
this.q2r_1 = timerTag;
|
|
3969
|
+
this.r2r_1 = delayMillis;
|
|
3970
|
+
this.s2r_1 = initialDelay;
|
|
3971
|
+
this.t2r_1 = type;
|
|
3918
3972
|
}
|
|
3919
|
-
StartTimerAction.prototype.
|
|
3920
|
-
return this.
|
|
3973
|
+
StartTimerAction.prototype.p2r = function () {
|
|
3974
|
+
return this.q2r_1;
|
|
3921
3975
|
};
|
|
3922
|
-
StartTimerAction.prototype.
|
|
3923
|
-
return this.
|
|
3976
|
+
StartTimerAction.prototype.u2r = function () {
|
|
3977
|
+
return this.r2r_1;
|
|
3924
3978
|
};
|
|
3925
|
-
StartTimerAction.prototype.
|
|
3926
|
-
return this.
|
|
3979
|
+
StartTimerAction.prototype.v2r = function () {
|
|
3980
|
+
return this.s2r_1;
|
|
3927
3981
|
};
|
|
3928
3982
|
StartTimerAction.prototype.f7 = function () {
|
|
3929
|
-
return this.
|
|
3983
|
+
return this.t2r_1;
|
|
3930
3984
|
};
|
|
3931
3985
|
StartTimerAction.prototype.toString = function () {
|
|
3932
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
3986
|
+
return 'StartTimerAction(timerTag=' + this.q2r_1 + ', delayMillis=' + toString_0(this.r2r_1) + ', initialDelay=' + toString_0(this.s2r_1) + ', type=' + this.t2r_1 + ')';
|
|
3933
3987
|
};
|
|
3934
3988
|
StartTimerAction.prototype.hashCode = function () {
|
|
3935
|
-
var result = hashCode(this.
|
|
3936
|
-
result = imul(result, 31) + this.
|
|
3937
|
-
result = imul(result, 31) + this.
|
|
3938
|
-
result = imul(result, 31) + this.
|
|
3989
|
+
var result = hashCode(this.q2r_1);
|
|
3990
|
+
result = imul(result, 31) + this.r2r_1.hashCode() | 0;
|
|
3991
|
+
result = imul(result, 31) + this.s2r_1.hashCode() | 0;
|
|
3992
|
+
result = imul(result, 31) + this.t2r_1.hashCode() | 0;
|
|
3939
3993
|
return result;
|
|
3940
3994
|
};
|
|
3941
3995
|
StartTimerAction.prototype.equals = function (other) {
|
|
@@ -3944,13 +3998,13 @@
|
|
|
3944
3998
|
if (!(other instanceof StartTimerAction))
|
|
3945
3999
|
return false;
|
|
3946
4000
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
3947
|
-
if (!equals(this.
|
|
4001
|
+
if (!equals(this.q2r_1, tmp0_other_with_cast.q2r_1))
|
|
3948
4002
|
return false;
|
|
3949
|
-
if (!this.
|
|
4003
|
+
if (!this.r2r_1.equals(tmp0_other_with_cast.r2r_1))
|
|
3950
4004
|
return false;
|
|
3951
|
-
if (!this.
|
|
4005
|
+
if (!this.s2r_1.equals(tmp0_other_with_cast.s2r_1))
|
|
3952
4006
|
return false;
|
|
3953
|
-
if (!this.
|
|
4007
|
+
if (!this.t2r_1.equals(tmp0_other_with_cast.t2r_1))
|
|
3954
4008
|
return false;
|
|
3955
4009
|
return true;
|
|
3956
4010
|
};
|
|
@@ -3958,7 +4012,7 @@
|
|
|
3958
4012
|
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
3959
4013
|
configurable: true,
|
|
3960
4014
|
get: function () {
|
|
3961
|
-
return this.
|
|
4015
|
+
return this.h2r();
|
|
3962
4016
|
}
|
|
3963
4017
|
});
|
|
3964
4018
|
var TimerType_DELAY_instance;
|
|
@@ -3977,21 +4031,21 @@
|
|
|
3977
4031
|
TimerType.$metadata$ = classMeta('TimerType', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
3978
4032
|
function TimerTickAction(timerTag, type) {
|
|
3979
4033
|
TimerAction.call(this);
|
|
3980
|
-
this.
|
|
3981
|
-
this.
|
|
4034
|
+
this.w2r_1 = timerTag;
|
|
4035
|
+
this.x2r_1 = type;
|
|
3982
4036
|
}
|
|
3983
|
-
TimerTickAction.prototype.
|
|
3984
|
-
return this.
|
|
4037
|
+
TimerTickAction.prototype.p2r = function () {
|
|
4038
|
+
return this.w2r_1;
|
|
3985
4039
|
};
|
|
3986
4040
|
TimerTickAction.prototype.f7 = function () {
|
|
3987
|
-
return this.
|
|
4041
|
+
return this.x2r_1;
|
|
3988
4042
|
};
|
|
3989
4043
|
TimerTickAction.prototype.toString = function () {
|
|
3990
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4044
|
+
return 'TimerTickAction(timerTag=' + this.w2r_1 + ', type=' + this.x2r_1 + ')';
|
|
3991
4045
|
};
|
|
3992
4046
|
TimerTickAction.prototype.hashCode = function () {
|
|
3993
|
-
var result = hashCode(this.
|
|
3994
|
-
result = imul(result, 31) + this.
|
|
4047
|
+
var result = hashCode(this.w2r_1);
|
|
4048
|
+
result = imul(result, 31) + this.x2r_1.hashCode() | 0;
|
|
3995
4049
|
return result;
|
|
3996
4050
|
};
|
|
3997
4051
|
TimerTickAction.prototype.equals = function (other) {
|
|
@@ -4000,9 +4054,9 @@
|
|
|
4000
4054
|
if (!(other instanceof TimerTickAction))
|
|
4001
4055
|
return false;
|
|
4002
4056
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4003
|
-
if (!equals(this.
|
|
4057
|
+
if (!equals(this.w2r_1, tmp0_other_with_cast.w2r_1))
|
|
4004
4058
|
return false;
|
|
4005
|
-
if (!this.
|
|
4059
|
+
if (!this.x2r_1.equals(tmp0_other_with_cast.x2r_1))
|
|
4006
4060
|
return false;
|
|
4007
4061
|
return true;
|
|
4008
4062
|
};
|
|
@@ -4010,7 +4064,7 @@
|
|
|
4010
4064
|
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4011
4065
|
configurable: true,
|
|
4012
4066
|
get: function () {
|
|
4013
|
-
return this.
|
|
4067
|
+
return this.h2r();
|
|
4014
4068
|
}
|
|
4015
4069
|
});
|
|
4016
4070
|
function TimerAction() {
|
|
@@ -4019,7 +4073,7 @@
|
|
|
4019
4073
|
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4020
4074
|
configurable: true,
|
|
4021
4075
|
get: function () {
|
|
4022
|
-
return this.
|
|
4076
|
+
return this.h2r();
|
|
4023
4077
|
}
|
|
4024
4078
|
});
|
|
4025
4079
|
function TimerType_DELAY_getInstance() {
|
|
@@ -4048,7 +4102,7 @@
|
|
|
4048
4102
|
var tmp_0;
|
|
4049
4103
|
if ($p instanceof Exception) {
|
|
4050
4104
|
var tmp_1 = 'StoreEnhancer error: ' + $p;
|
|
4051
|
-
$logger.
|
|
4105
|
+
$logger.h2q('StoreEnhancer', tmp_1, $p, null, 8, null);
|
|
4052
4106
|
tmp_0 = Unit_getInstance();
|
|
4053
4107
|
} else {
|
|
4054
4108
|
throw $p;
|
|
@@ -4076,7 +4130,7 @@
|
|
|
4076
4130
|
}
|
|
4077
4131
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
4078
4132
|
return function (action) {
|
|
4079
|
-
$tmp0__anonymous__1nv1x1.
|
|
4133
|
+
$tmp0__anonymous__1nv1x1.j2r($store, $tmp1__anonymous__6ijp4k, action);
|
|
4080
4134
|
return Unit_getInstance();
|
|
4081
4135
|
};
|
|
4082
4136
|
}
|
|
@@ -4095,7 +4149,7 @@
|
|
|
4095
4149
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4096
4150
|
var tmp$ret$0;
|
|
4097
4151
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4098
|
-
tmp$ret$0 = element.
|
|
4152
|
+
tmp$ret$0 = element.i2r(action);
|
|
4099
4153
|
if (tmp$ret$0) {
|
|
4100
4154
|
tmp0_filterTo.a(element);
|
|
4101
4155
|
}
|
|
@@ -4143,9 +4197,9 @@
|
|
|
4143
4197
|
return tmp$ret$0;
|
|
4144
4198
|
}
|
|
4145
4199
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4146
|
-
this.
|
|
4147
|
-
this.
|
|
4148
|
-
this.
|
|
4200
|
+
this.g2s_1 = $jobsProvider;
|
|
4201
|
+
this.h2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4202
|
+
this.i2s_1 = $store;
|
|
4149
4203
|
CoroutineImpl.call(this, resultContinuation);
|
|
4150
4204
|
}
|
|
4151
4205
|
timerMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -4164,8 +4218,8 @@
|
|
|
4164
4218
|
var tmp = this.mj_1;
|
|
4165
4219
|
if (tmp === 0) {
|
|
4166
4220
|
this.nj_1 = 1;
|
|
4167
|
-
if (this.
|
|
4168
|
-
this.
|
|
4221
|
+
if (this.g2s_1.v2q(this.h2s_1.p2r())) {
|
|
4222
|
+
this.i2s_1.dispatch(new TimerTickAction(this.h2s_1.p2r(), TimerType_DELAY_getInstance()));
|
|
4169
4223
|
}
|
|
4170
4224
|
return Unit_getInstance();
|
|
4171
4225
|
} else if (tmp === 1) {
|
|
@@ -4177,8 +4231,8 @@
|
|
|
4177
4231
|
while (true);
|
|
4178
4232
|
};
|
|
4179
4233
|
timerMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
4180
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4181
|
-
i.
|
|
4234
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.g2s_1, this.h2s_1, this.i2s_1, completion);
|
|
4235
|
+
i.j2s_1 = $this$launchStore;
|
|
4182
4236
|
return i;
|
|
4183
4237
|
};
|
|
4184
4238
|
timerMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4191,9 +4245,9 @@
|
|
|
4191
4245
|
return l;
|
|
4192
4246
|
}
|
|
4193
4247
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4194
|
-
this.
|
|
4195
|
-
this.
|
|
4196
|
-
this.
|
|
4248
|
+
this.s2s_1 = $jobsProvider;
|
|
4249
|
+
this.t2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4250
|
+
this.u2s_1 = $store;
|
|
4197
4251
|
CoroutineImpl.call(this, resultContinuation);
|
|
4198
4252
|
}
|
|
4199
4253
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -4212,8 +4266,8 @@
|
|
|
4212
4266
|
var tmp = this.mj_1;
|
|
4213
4267
|
if (tmp === 0) {
|
|
4214
4268
|
this.nj_1 = 1;
|
|
4215
|
-
if (this.
|
|
4216
|
-
this.
|
|
4269
|
+
if (this.s2s_1.v2q(this.t2s_1.p2r())) {
|
|
4270
|
+
this.u2s_1.dispatch(new TimerTickAction(this.t2s_1.p2r(), TimerType_INTERVAL_getInstance()));
|
|
4217
4271
|
}
|
|
4218
4272
|
return Unit_getInstance();
|
|
4219
4273
|
} else if (tmp === 1) {
|
|
@@ -4225,8 +4279,8 @@
|
|
|
4225
4279
|
while (true);
|
|
4226
4280
|
};
|
|
4227
4281
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.k16 = function ($this$launchStore, completion) {
|
|
4228
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4229
|
-
i.
|
|
4282
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.s2s_1, this.t2s_1, this.u2s_1, completion);
|
|
4283
|
+
i.v2s_1 = $this$launchStore;
|
|
4230
4284
|
return i;
|
|
4231
4285
|
};
|
|
4232
4286
|
timerMiddleware$o$handle$slambda$slambda_1.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4239,10 +4293,10 @@
|
|
|
4239
4293
|
return l;
|
|
4240
4294
|
}
|
|
4241
4295
|
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4242
|
-
this.
|
|
4243
|
-
this.
|
|
4244
|
-
this.
|
|
4245
|
-
this.
|
|
4296
|
+
this.e2t_1 = $tmp0__anonymous__1nv1x1;
|
|
4297
|
+
this.f2t_1 = $asyncProvider;
|
|
4298
|
+
this.g2t_1 = $jobsProvider;
|
|
4299
|
+
this.h2t_1 = $store;
|
|
4246
4300
|
CoroutineImpl.call(this, resultContinuation);
|
|
4247
4301
|
}
|
|
4248
4302
|
timerMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -4262,9 +4316,9 @@
|
|
|
4262
4316
|
switch (tmp) {
|
|
4263
4317
|
case 0:
|
|
4264
4318
|
this.nj_1 = 10;
|
|
4265
|
-
if (!this.
|
|
4319
|
+
if (!this.e2t_1.s2r_1.equals(new Long(0, 0)) ? this.e2t_1.t2r_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4266
4320
|
this.mj_1 = 1;
|
|
4267
|
-
suspendResult = delay(this.
|
|
4321
|
+
suspendResult = delay(this.e2t_1.s2r_1, this);
|
|
4268
4322
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4269
4323
|
return suspendResult;
|
|
4270
4324
|
}
|
|
@@ -4279,20 +4333,20 @@
|
|
|
4279
4333
|
this.mj_1 = 2;
|
|
4280
4334
|
continue $sm;
|
|
4281
4335
|
case 2:
|
|
4282
|
-
this.
|
|
4283
|
-
this.
|
|
4284
|
-
if (this.
|
|
4336
|
+
this.j2t_1 = this.e2t_1.t2r_1;
|
|
4337
|
+
this.k2t_1 = this.j2t_1.e5_1;
|
|
4338
|
+
if (this.k2t_1 === 0) {
|
|
4285
4339
|
this.mj_1 = 8;
|
|
4286
|
-
suspendResult = delay(this.
|
|
4340
|
+
suspendResult = delay(this.e2t_1.r2r_1, this);
|
|
4287
4341
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4288
4342
|
return suspendResult;
|
|
4289
4343
|
}
|
|
4290
4344
|
continue $sm;
|
|
4291
4345
|
} else {
|
|
4292
|
-
if (this.
|
|
4293
|
-
if (!this.
|
|
4346
|
+
if (this.k2t_1 === 1) {
|
|
4347
|
+
if (!this.e2t_1.s2r_1.equals(new Long(0, 0))) {
|
|
4294
4348
|
this.mj_1 = 3;
|
|
4295
|
-
suspendResult = delay(this.
|
|
4349
|
+
suspendResult = delay(this.e2t_1.s2r_1, this);
|
|
4296
4350
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4297
4351
|
return suspendResult;
|
|
4298
4352
|
}
|
|
@@ -4315,15 +4369,15 @@
|
|
|
4315
4369
|
this.mj_1 = 5;
|
|
4316
4370
|
continue $sm;
|
|
4317
4371
|
case 5:
|
|
4318
|
-
if (!get_isActive(this.
|
|
4372
|
+
if (!get_isActive(this.i2t_1)) {
|
|
4319
4373
|
this.mj_1 = 7;
|
|
4320
4374
|
continue $sm;
|
|
4321
4375
|
}
|
|
4322
4376
|
|
|
4323
|
-
this.
|
|
4377
|
+
this.f2t_1.o2q(null, timerMiddleware$o$handle$slambda$slambda_2(this.g2t_1, this.e2t_1, this.h2t_1, null), 1, null);
|
|
4324
4378
|
;
|
|
4325
4379
|
this.mj_1 = 6;
|
|
4326
|
-
suspendResult = delay(this.
|
|
4380
|
+
suspendResult = delay(this.e2t_1.s2r_1, this);
|
|
4327
4381
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4328
4382
|
return suspendResult;
|
|
4329
4383
|
}
|
|
@@ -4336,7 +4390,7 @@
|
|
|
4336
4390
|
this.mj_1 = 9;
|
|
4337
4391
|
continue $sm;
|
|
4338
4392
|
case 8:
|
|
4339
|
-
this.
|
|
4393
|
+
this.f2t_1.o2q(null, timerMiddleware$o$handle$slambda$slambda_0(this.g2t_1, this.e2t_1, this.h2t_1, null), 1, null);
|
|
4340
4394
|
;
|
|
4341
4395
|
this.mj_1 = 9;
|
|
4342
4396
|
continue $sm;
|
|
@@ -4356,8 +4410,8 @@
|
|
|
4356
4410
|
while (true);
|
|
4357
4411
|
};
|
|
4358
4412
|
timerMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
4359
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
4360
|
-
i.
|
|
4413
|
+
var i = new timerMiddleware$o$handle$slambda(this.e2t_1, this.f2t_1, this.g2t_1, this.h2t_1, completion);
|
|
4414
|
+
i.i2t_1 = $this$launchWorker;
|
|
4361
4415
|
return i;
|
|
4362
4416
|
};
|
|
4363
4417
|
timerMiddleware$o$handle$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4370,34 +4424,34 @@
|
|
|
4370
4424
|
return l;
|
|
4371
4425
|
}
|
|
4372
4426
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4373
|
-
this.
|
|
4374
|
-
this.
|
|
4427
|
+
this.l2t_1 = $asyncProvider;
|
|
4428
|
+
this.m2t_1 = $jobsProvider;
|
|
4375
4429
|
}
|
|
4376
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4430
|
+
_no_name_provided__qut3iv_0.prototype.i2r = function (action) {
|
|
4377
4431
|
return action instanceof TimerAction;
|
|
4378
4432
|
};
|
|
4379
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4433
|
+
_no_name_provided__qut3iv_0.prototype.n2t = function (store, next, action) {
|
|
4380
4434
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4381
4435
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4382
4436
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4383
4437
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
4384
|
-
var job = this.
|
|
4385
|
-
this.
|
|
4438
|
+
var job = this.l2t_1.q2q(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.l2t_1, this.m2t_1, store, null), 1, null);
|
|
4439
|
+
this.m2t_1.t2q(tmp0__anonymous__q1qw7t.p2r(), job);
|
|
4386
4440
|
} else {
|
|
4387
4441
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
4388
|
-
this.
|
|
4442
|
+
this.m2t_1.y2q(tmp0__anonymous__q1qw7t.p2r());
|
|
4389
4443
|
} else {
|
|
4390
4444
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
4391
|
-
if (tmp0__anonymous__q1qw7t.
|
|
4392
|
-
this.
|
|
4445
|
+
if (tmp0__anonymous__q1qw7t.x2r_1.equals(TimerType_DELAY_getInstance())) {
|
|
4446
|
+
this.m2t_1.w2q(tmp0__anonymous__q1qw7t.p2r());
|
|
4393
4447
|
}
|
|
4394
4448
|
}
|
|
4395
4449
|
}
|
|
4396
4450
|
}
|
|
4397
4451
|
next(tmp0__anonymous__q1qw7t);
|
|
4398
4452
|
};
|
|
4399
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4400
|
-
return this.
|
|
4453
|
+
_no_name_provided__qut3iv_0.prototype.j2r = function (store, next, action) {
|
|
4454
|
+
return this.n2t(store, next, action);
|
|
4401
4455
|
};
|
|
4402
4456
|
_no_name_provided__qut3iv_0.$metadata$ = classMeta(undefined, [Middleware]);
|
|
4403
4457
|
function enumToString(_this__u8e3s4, mapping) {
|
|
@@ -4581,24 +4635,24 @@
|
|
|
4581
4635
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
4582
4636
|
}
|
|
4583
4637
|
function generateTag($this, tag) {
|
|
4584
|
-
return (!($this.
|
|
4638
|
+
return (!($this.u2t_1 == null) ? !(tag == null) : false) ? '' + $this.u2t_1 + ':' + tag : tag;
|
|
4585
4639
|
}
|
|
4586
4640
|
function Category(name, ordinal, isEnabled) {
|
|
4587
4641
|
Enum.call(this, name, ordinal);
|
|
4588
|
-
this.
|
|
4642
|
+
this.x2t_1 = isEnabled;
|
|
4589
4643
|
}
|
|
4590
4644
|
Category.$metadata$ = classMeta('Category', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
4591
4645
|
function Logger$loggerSource$1() {
|
|
4592
|
-
this.
|
|
4646
|
+
this.y2t_1 = new PlatformLogger();
|
|
4593
4647
|
}
|
|
4594
|
-
Logger$loggerSource$1.prototype.
|
|
4595
|
-
this.
|
|
4648
|
+
Logger$loggerSource$1.prototype.z2t = function (tag, msg) {
|
|
4649
|
+
this.y2t_1.z2t(tag, msg);
|
|
4596
4650
|
};
|
|
4597
|
-
Logger$loggerSource$1.prototype.
|
|
4598
|
-
this.
|
|
4651
|
+
Logger$loggerSource$1.prototype.a2u = function (tag, msg, exception) {
|
|
4652
|
+
this.y2t_1.a2u(tag, msg, exception);
|
|
4599
4653
|
};
|
|
4600
|
-
Logger$loggerSource$1.prototype.
|
|
4601
|
-
this.
|
|
4654
|
+
Logger$loggerSource$1.prototype.b2u = function (tag, msg) {
|
|
4655
|
+
this.y2t_1.b2u(tag, msg);
|
|
4602
4656
|
};
|
|
4603
4657
|
Logger$loggerSource$1.$metadata$ = classMeta(undefined, [LoggerSource]);
|
|
4604
4658
|
function Category_NONE_getInstance() {
|
|
@@ -4608,42 +4662,42 @@
|
|
|
4608
4662
|
function Logger() {
|
|
4609
4663
|
Logger_instance = this;
|
|
4610
4664
|
var tmp = this;
|
|
4611
|
-
tmp.
|
|
4612
|
-
this.
|
|
4613
|
-
this.
|
|
4665
|
+
tmp.s2t_1 = new Logger$loggerSource$1();
|
|
4666
|
+
this.t2t_1 = true;
|
|
4667
|
+
this.u2t_1 = null;
|
|
4614
4668
|
}
|
|
4615
|
-
Logger.prototype.
|
|
4616
|
-
this.
|
|
4669
|
+
Logger.prototype.c2u = function (tag, message) {
|
|
4670
|
+
this.d2u(tag, message, Category_NONE_getInstance());
|
|
4617
4671
|
};
|
|
4618
|
-
Logger.prototype.
|
|
4619
|
-
if (this.
|
|
4620
|
-
this.
|
|
4672
|
+
Logger.prototype.e2u = function (tag, message, category) {
|
|
4673
|
+
if (this.t2t_1 ? category.x2t_1 : false) {
|
|
4674
|
+
this.s2t_1.b2u(generateTag(this, tag), message);
|
|
4621
4675
|
}
|
|
4622
4676
|
};
|
|
4623
|
-
Logger.prototype.
|
|
4677
|
+
Logger.prototype.f2u = function (tag, message, category, $mask0, $handler) {
|
|
4624
4678
|
if (!(($mask0 & 1) === 0))
|
|
4625
4679
|
tag = null;
|
|
4626
4680
|
if (!(($mask0 & 4) === 0))
|
|
4627
4681
|
category = Category_NONE_getInstance();
|
|
4628
|
-
return this.
|
|
4682
|
+
return this.e2u(tag, message, category);
|
|
4629
4683
|
};
|
|
4630
|
-
Logger.prototype.
|
|
4631
|
-
if (this.
|
|
4632
|
-
this.
|
|
4684
|
+
Logger.prototype.d2u = function (tag, message, category) {
|
|
4685
|
+
if (this.t2t_1 ? category.x2t_1 : false) {
|
|
4686
|
+
this.s2t_1.z2t(generateTag(this, tag), message);
|
|
4633
4687
|
}
|
|
4634
4688
|
};
|
|
4635
|
-
Logger.prototype.
|
|
4636
|
-
if (this.
|
|
4689
|
+
Logger.prototype.g2u = function (tag, message, exception, category) {
|
|
4690
|
+
if (this.t2t_1 ? category.x2t_1 : false) {
|
|
4637
4691
|
var tmp0_safe_receiver = exception;
|
|
4638
4692
|
if (tmp0_safe_receiver == null)
|
|
4639
4693
|
null;
|
|
4640
4694
|
else {
|
|
4641
4695
|
printStackTrace(tmp0_safe_receiver);
|
|
4642
4696
|
}
|
|
4643
|
-
this.
|
|
4697
|
+
this.s2t_1.a2u(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
4644
4698
|
}
|
|
4645
4699
|
};
|
|
4646
|
-
Logger.prototype.
|
|
4700
|
+
Logger.prototype.h2u = function (tag, message, exception, category, $mask0, $handler) {
|
|
4647
4701
|
if (!(($mask0 & 1) === 0))
|
|
4648
4702
|
tag = null;
|
|
4649
4703
|
if (!(($mask0 & 2) === 0))
|
|
@@ -4652,7 +4706,7 @@
|
|
|
4652
4706
|
exception = null;
|
|
4653
4707
|
if (!(($mask0 & 8) === 0))
|
|
4654
4708
|
category = Category_NONE_getInstance();
|
|
4655
|
-
return this.
|
|
4709
|
+
return this.g2u(tag, message, exception, category);
|
|
4656
4710
|
};
|
|
4657
4711
|
Logger.$metadata$ = objectMeta('Logger');
|
|
4658
4712
|
var Logger_instance;
|
|
@@ -4692,36 +4746,36 @@
|
|
|
4692
4746
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4693
4747
|
}
|
|
4694
4748
|
function CombinedGameLogger(logOutputs) {
|
|
4695
|
-
this.
|
|
4749
|
+
this.i2u_1 = logOutputs;
|
|
4696
4750
|
}
|
|
4697
|
-
CombinedGameLogger.prototype.
|
|
4751
|
+
CombinedGameLogger.prototype.o2t = function (tag, message, payload) {
|
|
4698
4752
|
// Inline function 'kotlin.collections.forEach' call
|
|
4699
|
-
var tmp0_forEach = this.
|
|
4753
|
+
var tmp0_forEach = this.i2u_1;
|
|
4700
4754
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4701
4755
|
while (tmp0_iterator.g()) {
|
|
4702
4756
|
var element = tmp0_iterator.h();
|
|
4703
4757
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
4704
|
-
element.
|
|
4758
|
+
element.o2t(tag, message, payload);
|
|
4705
4759
|
}
|
|
4706
4760
|
};
|
|
4707
|
-
CombinedGameLogger.prototype.
|
|
4761
|
+
CombinedGameLogger.prototype.q2t = function (tag, message, exception, payload) {
|
|
4708
4762
|
// Inline function 'kotlin.collections.forEach' call
|
|
4709
|
-
var tmp0_forEach = this.
|
|
4763
|
+
var tmp0_forEach = this.i2u_1;
|
|
4710
4764
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4711
4765
|
while (tmp0_iterator.g()) {
|
|
4712
4766
|
var element = tmp0_iterator.h();
|
|
4713
4767
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4714
|
-
element.
|
|
4768
|
+
element.q2t(tag, message, exception, payload);
|
|
4715
4769
|
}
|
|
4716
4770
|
};
|
|
4717
|
-
CombinedGameLogger.prototype.
|
|
4771
|
+
CombinedGameLogger.prototype.r2t = function (tag, message, payload) {
|
|
4718
4772
|
// Inline function 'kotlin.collections.forEach' call
|
|
4719
|
-
var tmp0_forEach = this.
|
|
4773
|
+
var tmp0_forEach = this.i2u_1;
|
|
4720
4774
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4721
4775
|
while (tmp0_iterator.g()) {
|
|
4722
4776
|
var element = tmp0_iterator.h();
|
|
4723
4777
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4724
|
-
element.
|
|
4778
|
+
element.r2t(tag, message, payload);
|
|
4725
4779
|
}
|
|
4726
4780
|
};
|
|
4727
4781
|
CombinedGameLogger.$metadata$ = classMeta('CombinedGameLogger', [GameLogger]);
|
|
@@ -4731,16 +4785,16 @@
|
|
|
4731
4785
|
function PlatformGameLogger() {
|
|
4732
4786
|
PlatformGameLogger_instance = this;
|
|
4733
4787
|
}
|
|
4734
|
-
PlatformGameLogger.prototype.
|
|
4735
|
-
Logger_getInstance().
|
|
4788
|
+
PlatformGameLogger.prototype.o2t = function (tag, message, payload) {
|
|
4789
|
+
Logger_getInstance().c2u(tag, message);
|
|
4736
4790
|
};
|
|
4737
|
-
PlatformGameLogger.prototype.
|
|
4791
|
+
PlatformGameLogger.prototype.q2t = function (tag, message, exception, payload) {
|
|
4738
4792
|
var tmp = Logger_getInstance();
|
|
4739
|
-
tmp.
|
|
4793
|
+
tmp.h2u(tag, message, exception, null, 8, null);
|
|
4740
4794
|
};
|
|
4741
|
-
PlatformGameLogger.prototype.
|
|
4795
|
+
PlatformGameLogger.prototype.r2t = function (tag, message, payload) {
|
|
4742
4796
|
var tmp = Logger_getInstance();
|
|
4743
|
-
tmp.
|
|
4797
|
+
tmp.f2u(tag, message, null, 4, null);
|
|
4744
4798
|
};
|
|
4745
4799
|
PlatformGameLogger.$metadata$ = objectMeta('PlatformGameLogger', [GameLogger]);
|
|
4746
4800
|
var PlatformGameLogger_instance;
|
|
@@ -4751,17 +4805,17 @@
|
|
|
4751
4805
|
}
|
|
4752
4806
|
function PlatformLogger() {
|
|
4753
4807
|
}
|
|
4754
|
-
PlatformLogger.prototype.
|
|
4808
|
+
PlatformLogger.prototype.z2t = function (tag, msg) {
|
|
4755
4809
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
4756
4810
|
};
|
|
4757
|
-
PlatformLogger.prototype.
|
|
4811
|
+
PlatformLogger.prototype.a2u = function (tag, msg, exception) {
|
|
4758
4812
|
if (!(exception == null)) {
|
|
4759
4813
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
4760
4814
|
} else {
|
|
4761
4815
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
4762
4816
|
}
|
|
4763
4817
|
};
|
|
4764
|
-
PlatformLogger.prototype.
|
|
4818
|
+
PlatformLogger.prototype.b2u = function (tag, msg) {
|
|
4765
4819
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
4766
4820
|
};
|
|
4767
4821
|
PlatformLogger.$metadata$ = classMeta('PlatformLogger');
|
|
@@ -4778,25 +4832,25 @@
|
|
|
4778
4832
|
_no_name_provided__qut3iv.prototype.x4 = fold;
|
|
4779
4833
|
_no_name_provided__qut3iv.prototype.w4 = minusKey;
|
|
4780
4834
|
_no_name_provided__qut3iv.prototype.y4 = plus;
|
|
4781
|
-
AsyncProviderImpl.prototype.
|
|
4782
|
-
AsyncProviderImpl.prototype.
|
|
4783
|
-
middleware$1.prototype.
|
|
4784
|
-
combineReducers$1.prototype.
|
|
4785
|
-
StoreLifecycleAction.prototype.
|
|
4786
|
-
INIT.prototype.
|
|
4787
|
-
REPLACE.prototype.
|
|
4788
|
-
TimerAction.prototype.
|
|
4789
|
-
StopTimerAction.prototype.
|
|
4835
|
+
AsyncProviderImpl.prototype.o2q = launchStore$default;
|
|
4836
|
+
AsyncProviderImpl.prototype.q2q = launchWorker$default;
|
|
4837
|
+
middleware$1.prototype.i2r = canHandle;
|
|
4838
|
+
combineReducers$1.prototype.i2r = canHandle_0;
|
|
4839
|
+
StoreLifecycleAction.prototype.h2r = get_actionTag;
|
|
4840
|
+
INIT.prototype.h2r = get_actionTag;
|
|
4841
|
+
REPLACE.prototype.h2r = get_actionTag;
|
|
4842
|
+
TimerAction.prototype.h2r = get_actionTag;
|
|
4843
|
+
StopTimerAction.prototype.h2r = get_actionTag;
|
|
4790
4844
|
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
4791
4845
|
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
4792
|
-
StartTimerAction.prototype.
|
|
4793
|
-
TimerTickAction.prototype.
|
|
4794
|
-
CombinedGameLogger.prototype.
|
|
4795
|
-
CombinedGameLogger.prototype.
|
|
4796
|
-
CombinedGameLogger.prototype.
|
|
4797
|
-
PlatformGameLogger.prototype.
|
|
4798
|
-
PlatformGameLogger.prototype.
|
|
4799
|
-
PlatformGameLogger.prototype.
|
|
4846
|
+
StartTimerAction.prototype.h2r = get_actionTag;
|
|
4847
|
+
TimerTickAction.prototype.h2r = get_actionTag;
|
|
4848
|
+
CombinedGameLogger.prototype.p2t = d$default;
|
|
4849
|
+
CombinedGameLogger.prototype.h2q = e$default;
|
|
4850
|
+
CombinedGameLogger.prototype.u2q = w$default;
|
|
4851
|
+
PlatformGameLogger.prototype.p2t = d$default;
|
|
4852
|
+
PlatformGameLogger.prototype.h2q = e$default;
|
|
4853
|
+
PlatformGameLogger.prototype.u2q = w$default;
|
|
4800
4854
|
//endregion
|
|
4801
4855
|
//region block: exports
|
|
4802
4856
|
function $jsExportAll$(_) {
|