game_client_logic_deb 1.4.26 → 1.4.28
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/88b0986a7186d029-atomicfu-js-ir.js +4 -4
- package/Kodein-kodein-di.js +37 -37
- package/KosiTypeSystem-kaverit.js +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +17 -17
- package/Logic_Debertz-core.js +728 -693
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +4954 -4836
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +42 -3
- package/Logic_Debertz-game_client.js +2323 -2323
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +191 -182
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +79 -79
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +62 -62
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +49 -49
- package/package.json +1 -1
- package/uuid-js-ir.js +13 -13
package/Logic_Debertz-core.js
CHANGED
|
@@ -31,86 +31,86 @@
|
|
|
31
31
|
'use strict';
|
|
32
32
|
//region block: imports
|
|
33
33
|
var imul = Math.imul;
|
|
34
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
35
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
34
|
+
var objectMeta = kotlin_kotlin.$_$.s9;
|
|
35
|
+
var setMetadataFor = kotlin_kotlin.$_$.t9;
|
|
36
36
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
37
37
|
var Unit_getInstance = kotlin_kotlin.$_$.n4;
|
|
38
38
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
39
39
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.f;
|
|
40
|
-
var lazy = kotlin_kotlin.$_$.
|
|
40
|
+
var lazy = kotlin_kotlin.$_$.tc;
|
|
41
41
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
42
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
42
|
+
var classMeta = kotlin_kotlin.$_$.u8;
|
|
43
43
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
44
44
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
45
45
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
46
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
46
|
+
var THROW_CCE = kotlin_kotlin.$_$.yb;
|
|
47
47
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
48
48
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
49
49
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
50
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
50
|
+
var getStringHashCode = kotlin_kotlin.$_$.z8;
|
|
51
51
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
52
52
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
53
|
-
var Enum = kotlin_kotlin.$_$.
|
|
53
|
+
var Enum = kotlin_kotlin.$_$.ob;
|
|
54
54
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
55
|
-
var equals = kotlin_kotlin.$_$.
|
|
56
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
57
|
-
var Exception = kotlin_kotlin.$_$.
|
|
55
|
+
var equals = kotlin_kotlin.$_$.w8;
|
|
56
|
+
var interfaceMeta = kotlin_kotlin.$_$.b9;
|
|
57
|
+
var Exception = kotlin_kotlin.$_$.qb;
|
|
58
58
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.i1;
|
|
59
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
60
|
-
var toString = kotlin_kotlin.$_$.
|
|
61
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
59
|
+
var captureStack = kotlin_kotlin.$_$.p8;
|
|
60
|
+
var toString = kotlin_kotlin.$_$.ad;
|
|
61
|
+
var hashCode = kotlin_kotlin.$_$.a9;
|
|
62
62
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
63
|
-
var THROW_ISE = kotlin_kotlin.$_$.
|
|
64
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
63
|
+
var THROW_ISE = kotlin_kotlin.$_$.zb;
|
|
64
|
+
var toString_0 = kotlin_kotlin.$_$.x9;
|
|
65
65
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
66
|
-
var Long = kotlin_kotlin.$_$.
|
|
66
|
+
var Long = kotlin_kotlin.$_$.tb;
|
|
67
67
|
var toInstant = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.c;
|
|
68
68
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
69
69
|
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
70
70
|
var Companion_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
|
|
71
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
71
|
+
var ensureNotNull = kotlin_kotlin.$_$.pc;
|
|
72
72
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
73
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
73
|
+
var Comparator = kotlin_kotlin.$_$.lb;
|
|
74
74
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
75
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
76
|
-
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.
|
|
75
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.vc;
|
|
76
|
+
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.z7;
|
|
77
77
|
var Key_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
|
|
78
|
-
var get = kotlin_kotlin.$_$.
|
|
79
|
-
var fold = kotlin_kotlin.$_$.
|
|
80
|
-
var minusKey = kotlin_kotlin.$_$.
|
|
81
|
-
var plus = kotlin_kotlin.$_$.
|
|
82
|
-
var Element = kotlin_kotlin.$_$.
|
|
78
|
+
var get = kotlin_kotlin.$_$.g8;
|
|
79
|
+
var fold = kotlin_kotlin.$_$.f8;
|
|
80
|
+
var minusKey = kotlin_kotlin.$_$.h8;
|
|
81
|
+
var plus = kotlin_kotlin.$_$.j8;
|
|
82
|
+
var Element = kotlin_kotlin.$_$.i8;
|
|
83
83
|
var Job$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
|
|
84
84
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
|
|
85
85
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
|
|
86
86
|
var launch$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
87
87
|
var uuid4 = kotlin_com_benasher44_uuid.$_$.a;
|
|
88
88
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
89
|
-
var toSet = kotlin_kotlin.$_$.
|
|
90
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
89
|
+
var toSet = kotlin_kotlin.$_$.r7;
|
|
90
|
+
var arrayOf = kotlin_kotlin.$_$.mc;
|
|
91
91
|
var createKType = kotlin_kotlin.$_$.b;
|
|
92
92
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
93
93
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
94
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
94
|
+
var isInterface = kotlin_kotlin.$_$.j9;
|
|
95
95
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
96
96
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
97
97
|
var MutableStateFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
|
|
98
98
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
99
99
|
var split$default = kotlin_kotlin.$_$.k;
|
|
100
100
|
var first = kotlin_kotlin.$_$.f6;
|
|
101
|
-
var isObject = kotlin_kotlin.$_$.
|
|
102
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
101
|
+
var isObject = kotlin_kotlin.$_$.l9;
|
|
102
|
+
var CoroutineImpl = kotlin_kotlin.$_$.k8;
|
|
103
103
|
var CoroutineScope_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
104
104
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
105
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
105
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.w7;
|
|
106
106
|
var get_isActive = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
107
107
|
var checkIndexOverflow = kotlin_kotlin.$_$.g5;
|
|
108
|
-
var single = kotlin_kotlin.$_$.
|
|
109
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
110
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
111
|
-
var printStackTrace = kotlin_kotlin.$_$.
|
|
112
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
113
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
108
|
+
var single = kotlin_kotlin.$_$.g7;
|
|
109
|
+
var get_lastIndex = kotlin_kotlin.$_$.o6;
|
|
110
|
+
var toMutableList = kotlin_kotlin.$_$.q7;
|
|
111
|
+
var printStackTrace = kotlin_kotlin.$_$.xc;
|
|
112
|
+
var isBlank = kotlin_kotlin.$_$.qa;
|
|
113
|
+
var stackTraceToString = kotlin_kotlin.$_$.yc;
|
|
114
114
|
//endregion
|
|
115
115
|
//region block: pre-declaration
|
|
116
116
|
setMetadataFor(GameEngineConfig, 'GameEngineConfig', objectMeta, undefined, undefined, undefined, undefined, []);
|
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
setMetadataFor(MechanicException, 'MechanicException', classMeta, Exception, undefined, undefined, undefined, []);
|
|
146
146
|
setMetadataFor(PlayerIdContract, 'PlayerIdContract', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
147
147
|
setMetadataFor(GameUserInfo, 'GameUserInfo', classMeta, undefined, [PlayerIdContract], undefined, undefined, []);
|
|
148
|
+
setMetadataFor(PlayerIndex, 'PlayerIndex', classMeta, undefined, [PlayerIdContract], undefined, undefined, []);
|
|
148
149
|
setMetadataFor(Companion_8, 'Companion', objectMeta, undefined, [SerializerFactory], undefined, undefined, []);
|
|
149
150
|
setMetadataFor(PlayerConnectionState, 'PlayerConnectionState', classMeta, Enum, undefined, undefined, {0: Companion_getInstance_9}, []);
|
|
150
151
|
setMetadataFor(Companion_9, 'Companion', objectMeta, undefined, [SerializerFactory], undefined, undefined, []);
|
|
@@ -178,13 +179,13 @@
|
|
|
178
179
|
setMetadataFor(_no_name_provided__qut3iv, undefined, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element], undefined, undefined, []);
|
|
179
180
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
180
181
|
if (!(($mask0 & 1) === 0))
|
|
181
|
-
context = this.
|
|
182
|
-
return $handler == null ? this.
|
|
182
|
+
context = this.x2h();
|
|
183
|
+
return $handler == null ? this.a2i(context, block) : $handler(context, block);
|
|
183
184
|
}
|
|
184
185
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
185
186
|
if (!(($mask0 & 1) === 0))
|
|
186
|
-
context = this.
|
|
187
|
-
return $handler == null ? this.
|
|
187
|
+
context = this.x2h();
|
|
188
|
+
return $handler == null ? this.y2h(context, block) : $handler(context, block);
|
|
188
189
|
}
|
|
189
190
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
190
191
|
setMetadataFor(AsyncProviderImpl, 'AsyncProviderImpl', classMeta, undefined, [AsyncProvider], undefined, undefined, []);
|
|
@@ -244,7 +245,7 @@
|
|
|
244
245
|
payload = null;
|
|
245
246
|
var tmp;
|
|
246
247
|
if ($handler == null) {
|
|
247
|
-
this.
|
|
248
|
+
this.q2l(tag, message, payload);
|
|
248
249
|
tmp = Unit_getInstance();
|
|
249
250
|
} else {
|
|
250
251
|
tmp = $handler(tag, message, payload);
|
|
@@ -262,7 +263,7 @@
|
|
|
262
263
|
payload = null;
|
|
263
264
|
var tmp;
|
|
264
265
|
if ($handler == null) {
|
|
265
|
-
this.
|
|
266
|
+
this.i2j(tag, message, exception, payload);
|
|
266
267
|
tmp = Unit_getInstance();
|
|
267
268
|
} else {
|
|
268
269
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -276,7 +277,7 @@
|
|
|
276
277
|
payload = null;
|
|
277
278
|
var tmp;
|
|
278
279
|
if ($handler == null) {
|
|
279
|
-
this.
|
|
280
|
+
this.s2l(tag, message, payload);
|
|
280
281
|
tmp = Unit_getInstance();
|
|
281
282
|
} else {
|
|
282
283
|
tmp = $handler(tag, message, payload);
|
|
@@ -292,7 +293,7 @@
|
|
|
292
293
|
//endregion
|
|
293
294
|
function GameEngineConfig() {
|
|
294
295
|
GameEngineConfig_instance = this;
|
|
295
|
-
this.version = '1.4.
|
|
296
|
+
this.version = '1.4.28';
|
|
296
297
|
}
|
|
297
298
|
GameEngineConfig.prototype.f2c = function () {
|
|
298
299
|
return this.version;
|
|
@@ -1470,6 +1471,39 @@
|
|
|
1470
1471
|
tmp$ret$1 = tmp$ret$0;
|
|
1471
1472
|
return tmp$ret$1;
|
|
1472
1473
|
}
|
|
1474
|
+
function PlayerIndex(playerId, index) {
|
|
1475
|
+
this.n2d_1 = playerId;
|
|
1476
|
+
this.o2d_1 = index;
|
|
1477
|
+
}
|
|
1478
|
+
PlayerIndex.prototype.w2c = function () {
|
|
1479
|
+
return this.n2d_1;
|
|
1480
|
+
};
|
|
1481
|
+
PlayerIndex.prototype.toString = function () {
|
|
1482
|
+
return 'PlayerIndex(playerId=' + this.n2d_1 + ', index=' + this.o2d_1 + ')';
|
|
1483
|
+
};
|
|
1484
|
+
PlayerIndex.prototype.hashCode = function () {
|
|
1485
|
+
var result = getStringHashCode(this.n2d_1);
|
|
1486
|
+
result = imul(result, 31) + this.o2d_1 | 0;
|
|
1487
|
+
return result;
|
|
1488
|
+
};
|
|
1489
|
+
PlayerIndex.prototype.equals = function (other) {
|
|
1490
|
+
if (this === other)
|
|
1491
|
+
return true;
|
|
1492
|
+
if (!(other instanceof PlayerIndex))
|
|
1493
|
+
return false;
|
|
1494
|
+
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1495
|
+
if (!(this.n2d_1 === tmp0_other_with_cast.n2d_1))
|
|
1496
|
+
return false;
|
|
1497
|
+
if (!(this.o2d_1 === tmp0_other_with_cast.o2d_1))
|
|
1498
|
+
return false;
|
|
1499
|
+
return true;
|
|
1500
|
+
};
|
|
1501
|
+
Object.defineProperty(PlayerIndex.prototype, 'playerId', {
|
|
1502
|
+
configurable: true,
|
|
1503
|
+
get: function () {
|
|
1504
|
+
return this.w2c();
|
|
1505
|
+
}
|
|
1506
|
+
});
|
|
1473
1507
|
function filterPlayerTurn(_this__u8e3s4) {
|
|
1474
1508
|
init_properties_Player_kt_txblev();
|
|
1475
1509
|
var tmp$ret$1;
|
|
@@ -1504,7 +1538,7 @@
|
|
|
1504
1538
|
}
|
|
1505
1539
|
function playerTurnPredicate$lambda(p1) {
|
|
1506
1540
|
init_properties_Player_kt_txblev();
|
|
1507
|
-
return p1.xi().
|
|
1541
|
+
return p1.xi().w2d() ? true : p1.xi().v2d();
|
|
1508
1542
|
}
|
|
1509
1543
|
var properties_initialized_Player_kt_56shkt;
|
|
1510
1544
|
function init_properties_Player_kt_txblev() {
|
|
@@ -1528,10 +1562,10 @@
|
|
|
1528
1562
|
Companion_instance_8 = this;
|
|
1529
1563
|
var tmp = this;
|
|
1530
1564
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1531
|
-
tmp.
|
|
1565
|
+
tmp.x2d_1 = lazy(tmp_0, PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c);
|
|
1532
1566
|
}
|
|
1533
1567
|
Companion_8.prototype.serializer = function () {
|
|
1534
|
-
return this.
|
|
1568
|
+
return this.x2d_1.j1();
|
|
1535
1569
|
};
|
|
1536
1570
|
Companion_8.prototype.b1l = function (typeParamsSerializers) {
|
|
1537
1571
|
return this.serializer();
|
|
@@ -1582,61 +1616,61 @@
|
|
|
1582
1616
|
function PlayerConnectionState(name, ordinal) {
|
|
1583
1617
|
Enum.call(this, name, ordinal);
|
|
1584
1618
|
}
|
|
1585
|
-
PlayerConnectionState.prototype.
|
|
1619
|
+
PlayerConnectionState.prototype.a2e = function () {
|
|
1586
1620
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1587
1621
|
};
|
|
1588
|
-
PlayerConnectionState.prototype.
|
|
1622
|
+
PlayerConnectionState.prototype.b2e = function () {
|
|
1589
1623
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1590
1624
|
};
|
|
1591
|
-
PlayerConnectionState.prototype.
|
|
1625
|
+
PlayerConnectionState.prototype.c2e = function () {
|
|
1592
1626
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1593
1627
|
};
|
|
1594
|
-
PlayerConnectionState.prototype.
|
|
1628
|
+
PlayerConnectionState.prototype.d2e = function () {
|
|
1595
1629
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1596
1630
|
};
|
|
1597
|
-
PlayerConnectionState.prototype.
|
|
1631
|
+
PlayerConnectionState.prototype.e2e = function () {
|
|
1598
1632
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1599
1633
|
};
|
|
1600
|
-
PlayerConnectionState.prototype.
|
|
1634
|
+
PlayerConnectionState.prototype.f2e = function () {
|
|
1601
1635
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1602
1636
|
};
|
|
1603
|
-
PlayerConnectionState.prototype.
|
|
1637
|
+
PlayerConnectionState.prototype.g2e = function () {
|
|
1604
1638
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1605
1639
|
};
|
|
1606
|
-
PlayerConnectionState.prototype.
|
|
1640
|
+
PlayerConnectionState.prototype.h2e = function () {
|
|
1607
1641
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1608
1642
|
};
|
|
1609
1643
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1610
1644
|
configurable: true,
|
|
1611
|
-
get: PlayerConnectionState.prototype.
|
|
1645
|
+
get: PlayerConnectionState.prototype.a2e
|
|
1612
1646
|
});
|
|
1613
1647
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1614
1648
|
configurable: true,
|
|
1615
|
-
get: PlayerConnectionState.prototype.
|
|
1649
|
+
get: PlayerConnectionState.prototype.b2e
|
|
1616
1650
|
});
|
|
1617
1651
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1618
1652
|
configurable: true,
|
|
1619
|
-
get: PlayerConnectionState.prototype.
|
|
1653
|
+
get: PlayerConnectionState.prototype.c2e
|
|
1620
1654
|
});
|
|
1621
1655
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1622
1656
|
configurable: true,
|
|
1623
|
-
get: PlayerConnectionState.prototype.
|
|
1657
|
+
get: PlayerConnectionState.prototype.d2e
|
|
1624
1658
|
});
|
|
1625
1659
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1626
1660
|
configurable: true,
|
|
1627
|
-
get: PlayerConnectionState.prototype.
|
|
1661
|
+
get: PlayerConnectionState.prototype.e2e
|
|
1628
1662
|
});
|
|
1629
1663
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1630
1664
|
configurable: true,
|
|
1631
|
-
get: PlayerConnectionState.prototype.
|
|
1665
|
+
get: PlayerConnectionState.prototype.f2e
|
|
1632
1666
|
});
|
|
1633
1667
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1634
1668
|
configurable: true,
|
|
1635
|
-
get: PlayerConnectionState.prototype.
|
|
1669
|
+
get: PlayerConnectionState.prototype.g2e
|
|
1636
1670
|
});
|
|
1637
1671
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1638
1672
|
configurable: true,
|
|
1639
|
-
get: PlayerConnectionState.prototype.
|
|
1673
|
+
get: PlayerConnectionState.prototype.h2e
|
|
1640
1674
|
});
|
|
1641
1675
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1642
1676
|
configurable: true,
|
|
@@ -1680,10 +1714,10 @@
|
|
|
1680
1714
|
Companion_instance_9 = this;
|
|
1681
1715
|
var tmp = this;
|
|
1682
1716
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1683
|
-
tmp.
|
|
1717
|
+
tmp.i2e_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar);
|
|
1684
1718
|
}
|
|
1685
1719
|
Companion_9.prototype.l1w = function () {
|
|
1686
|
-
return this.
|
|
1720
|
+
return this.i2e_1.j1();
|
|
1687
1721
|
};
|
|
1688
1722
|
Companion_9.prototype.b1l = function (typeParamsSerializers) {
|
|
1689
1723
|
return this.l1w();
|
|
@@ -1711,26 +1745,26 @@
|
|
|
1711
1745
|
function PlayerWaitingState(name, ordinal) {
|
|
1712
1746
|
Enum.call(this, name, ordinal);
|
|
1713
1747
|
}
|
|
1714
|
-
PlayerWaitingState.prototype.
|
|
1715
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.
|
|
1748
|
+
PlayerWaitingState.prototype.w2d = function () {
|
|
1749
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.v2d();
|
|
1716
1750
|
};
|
|
1717
|
-
PlayerWaitingState.prototype.
|
|
1751
|
+
PlayerWaitingState.prototype.v2d = function () {
|
|
1718
1752
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1719
1753
|
};
|
|
1720
1754
|
function Companion_10() {
|
|
1721
1755
|
Companion_instance_10 = this;
|
|
1722
1756
|
}
|
|
1723
|
-
Companion_10.prototype.
|
|
1757
|
+
Companion_10.prototype.l2e = function (connectionState) {
|
|
1724
1758
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1725
1759
|
return new PlayerState(null, null, tmp0_state, false, connectionState, null);
|
|
1726
1760
|
};
|
|
1727
|
-
Companion_10.prototype.
|
|
1761
|
+
Companion_10.prototype.m2e = function (_this__u8e3s4) {
|
|
1728
1762
|
var tmp = PlayerWaitingState_IDLE_getInstance();
|
|
1729
|
-
return _this__u8e3s4.
|
|
1763
|
+
return _this__u8e3s4.n2e(null, null, tmp, false, null, null, 26, null);
|
|
1730
1764
|
};
|
|
1731
|
-
Companion_10.prototype.
|
|
1765
|
+
Companion_10.prototype.o2e = function (_this__u8e3s4, startFromTime, tag) {
|
|
1732
1766
|
var tmp0_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1733
|
-
return _this__u8e3s4.
|
|
1767
|
+
return _this__u8e3s4.n2e(startFromTime, null, tmp0_state, false, null, tag, 18, null);
|
|
1734
1768
|
};
|
|
1735
1769
|
var Companion_instance_10;
|
|
1736
1770
|
function Companion_getInstance_11() {
|
|
@@ -1752,17 +1786,17 @@
|
|
|
1752
1786
|
}
|
|
1753
1787
|
function PlayerState(startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag) {
|
|
1754
1788
|
Companion_getInstance_11();
|
|
1755
|
-
this.
|
|
1756
|
-
this.
|
|
1757
|
-
this.
|
|
1758
|
-
this.
|
|
1759
|
-
this.
|
|
1760
|
-
this.
|
|
1761
|
-
}
|
|
1762
|
-
PlayerState.prototype.
|
|
1789
|
+
this.p2d_1 = startFromTime;
|
|
1790
|
+
this.q2d_1 = waitPlayerUntilTime;
|
|
1791
|
+
this.r2d_1 = state;
|
|
1792
|
+
this.s2d_1 = ready;
|
|
1793
|
+
this.t2d_1 = connectionState;
|
|
1794
|
+
this.u2d_1 = tag;
|
|
1795
|
+
}
|
|
1796
|
+
PlayerState.prototype.p2e = function () {
|
|
1763
1797
|
var tmp$ret$2;
|
|
1764
1798
|
// Inline function 'kotlin.requireNotNull' call
|
|
1765
|
-
var tmp0_requireNotNull = this.
|
|
1799
|
+
var tmp0_requireNotNull = this.u2d_1;
|
|
1766
1800
|
// Inline function 'kotlin.contracts.contract' call
|
|
1767
1801
|
var tmp$ret$1;
|
|
1768
1802
|
$l$block: {
|
|
@@ -1782,44 +1816,44 @@
|
|
|
1782
1816
|
tmp$ret$2 = tmp$ret$1;
|
|
1783
1817
|
return tmp$ret$2;
|
|
1784
1818
|
};
|
|
1785
|
-
PlayerState.prototype.
|
|
1786
|
-
var tmp0_elvis_lhs = this.
|
|
1819
|
+
PlayerState.prototype.q2e = function () {
|
|
1820
|
+
var tmp0_elvis_lhs = this.u2d_1;
|
|
1787
1821
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1788
1822
|
};
|
|
1789
|
-
PlayerState.prototype.
|
|
1790
|
-
return this.
|
|
1823
|
+
PlayerState.prototype.w2d = function () {
|
|
1824
|
+
return this.r2d_1.w2d();
|
|
1791
1825
|
};
|
|
1792
|
-
PlayerState.prototype.
|
|
1793
|
-
return this.
|
|
1826
|
+
PlayerState.prototype.v2d = function () {
|
|
1827
|
+
return this.r2d_1.v2d();
|
|
1794
1828
|
};
|
|
1795
|
-
PlayerState.prototype.
|
|
1829
|
+
PlayerState.prototype.r2e = function (startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag) {
|
|
1796
1830
|
return new PlayerState(startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag);
|
|
1797
1831
|
};
|
|
1798
|
-
PlayerState.prototype.
|
|
1832
|
+
PlayerState.prototype.n2e = function (startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1799
1833
|
if (!(($mask0 & 1) === 0))
|
|
1800
|
-
startFromTime = this.
|
|
1834
|
+
startFromTime = this.p2d_1;
|
|
1801
1835
|
if (!(($mask0 & 2) === 0))
|
|
1802
|
-
waitPlayerUntilTime = this.
|
|
1836
|
+
waitPlayerUntilTime = this.q2d_1;
|
|
1803
1837
|
if (!(($mask0 & 4) === 0))
|
|
1804
|
-
state = this.
|
|
1838
|
+
state = this.r2d_1;
|
|
1805
1839
|
if (!(($mask0 & 8) === 0))
|
|
1806
|
-
ready = this.
|
|
1840
|
+
ready = this.s2d_1;
|
|
1807
1841
|
if (!(($mask0 & 16) === 0))
|
|
1808
|
-
connectionState = this.
|
|
1842
|
+
connectionState = this.t2d_1;
|
|
1809
1843
|
if (!(($mask0 & 32) === 0))
|
|
1810
|
-
tag = this.
|
|
1811
|
-
return this.
|
|
1844
|
+
tag = this.u2d_1;
|
|
1845
|
+
return this.r2e(startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag);
|
|
1812
1846
|
};
|
|
1813
1847
|
PlayerState.prototype.toString = function () {
|
|
1814
|
-
return 'PlayerState(startFromTime=' + this.
|
|
1848
|
+
return 'PlayerState(startFromTime=' + this.p2d_1 + ', waitPlayerUntilTime=' + this.q2d_1 + ', state=' + this.r2d_1 + ', ready=' + this.s2d_1 + ', connectionState=' + this.t2d_1 + ', tag=' + this.u2d_1 + ')';
|
|
1815
1849
|
};
|
|
1816
1850
|
PlayerState.prototype.hashCode = function () {
|
|
1817
|
-
var result = this.
|
|
1818
|
-
result = imul(result, 31) + (this.
|
|
1819
|
-
result = imul(result, 31) + this.p2d_1.hashCode() | 0;
|
|
1820
|
-
result = imul(result, 31) + (this.q2d_1 | 0) | 0;
|
|
1851
|
+
var result = this.p2d_1 == null ? 0 : this.p2d_1.hashCode();
|
|
1852
|
+
result = imul(result, 31) + (this.q2d_1 == null ? 0 : this.q2d_1.hashCode()) | 0;
|
|
1821
1853
|
result = imul(result, 31) + this.r2d_1.hashCode() | 0;
|
|
1822
|
-
result = imul(result, 31) + (this.s2d_1
|
|
1854
|
+
result = imul(result, 31) + (this.s2d_1 | 0) | 0;
|
|
1855
|
+
result = imul(result, 31) + this.t2d_1.hashCode() | 0;
|
|
1856
|
+
result = imul(result, 31) + (this.u2d_1 == null ? 0 : getStringHashCode(this.u2d_1)) | 0;
|
|
1823
1857
|
return result;
|
|
1824
1858
|
};
|
|
1825
1859
|
PlayerState.prototype.equals = function (other) {
|
|
@@ -1828,28 +1862,28 @@
|
|
|
1828
1862
|
if (!(other instanceof PlayerState))
|
|
1829
1863
|
return false;
|
|
1830
1864
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1831
|
-
if (!equals(this.
|
|
1865
|
+
if (!equals(this.p2d_1, tmp0_other_with_cast.p2d_1))
|
|
1832
1866
|
return false;
|
|
1833
|
-
if (!equals(this.
|
|
1867
|
+
if (!equals(this.q2d_1, tmp0_other_with_cast.q2d_1))
|
|
1834
1868
|
return false;
|
|
1835
|
-
if (!this.
|
|
1869
|
+
if (!this.r2d_1.equals(tmp0_other_with_cast.r2d_1))
|
|
1836
1870
|
return false;
|
|
1837
|
-
if (!(this.
|
|
1871
|
+
if (!(this.s2d_1 === tmp0_other_with_cast.s2d_1))
|
|
1838
1872
|
return false;
|
|
1839
|
-
if (!this.
|
|
1873
|
+
if (!this.t2d_1.equals(tmp0_other_with_cast.t2d_1))
|
|
1840
1874
|
return false;
|
|
1841
|
-
if (!(this.
|
|
1875
|
+
if (!(this.u2d_1 == tmp0_other_with_cast.u2d_1))
|
|
1842
1876
|
return false;
|
|
1843
1877
|
return true;
|
|
1844
1878
|
};
|
|
1845
1879
|
function Team(playerIds) {
|
|
1846
|
-
this.
|
|
1880
|
+
this.s2e_1 = playerIds;
|
|
1847
1881
|
}
|
|
1848
1882
|
Team.prototype.toString = function () {
|
|
1849
|
-
return 'Team(playerIds=' + this.
|
|
1883
|
+
return 'Team(playerIds=' + this.s2e_1 + ')';
|
|
1850
1884
|
};
|
|
1851
1885
|
Team.prototype.hashCode = function () {
|
|
1852
|
-
return hashCode(this.
|
|
1886
|
+
return hashCode(this.s2e_1);
|
|
1853
1887
|
};
|
|
1854
1888
|
Team.prototype.equals = function (other) {
|
|
1855
1889
|
if (this === other)
|
|
@@ -1857,7 +1891,7 @@
|
|
|
1857
1891
|
if (!(other instanceof Team))
|
|
1858
1892
|
return false;
|
|
1859
1893
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1860
|
-
if (!equals(this.
|
|
1894
|
+
if (!equals(this.s2e_1, tmp0_other_with_cast.s2e_1))
|
|
1861
1895
|
return false;
|
|
1862
1896
|
return true;
|
|
1863
1897
|
};
|
|
@@ -1905,55 +1939,55 @@
|
|
|
1905
1939
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
1906
1940
|
this.tenCardsInHand = tenCardsInHand;
|
|
1907
1941
|
}
|
|
1908
|
-
Rules.prototype.
|
|
1942
|
+
Rules.prototype.t2e = function () {
|
|
1909
1943
|
return this.needToPutHigherTrump;
|
|
1910
1944
|
};
|
|
1911
|
-
Rules.prototype.
|
|
1945
|
+
Rules.prototype.u2e = function () {
|
|
1912
1946
|
return this.distributePoints;
|
|
1913
1947
|
};
|
|
1914
|
-
Rules.prototype.
|
|
1948
|
+
Rules.prototype.v2e = function () {
|
|
1915
1949
|
return this.protectBella;
|
|
1916
1950
|
};
|
|
1917
|
-
Rules.prototype.
|
|
1951
|
+
Rules.prototype.w2e = function () {
|
|
1918
1952
|
return this.oneTryToProtectBella;
|
|
1919
1953
|
};
|
|
1920
|
-
Rules.prototype.
|
|
1954
|
+
Rules.prototype.x2e = function () {
|
|
1921
1955
|
return this.enableFourSevensCombination;
|
|
1922
1956
|
};
|
|
1923
|
-
Rules.prototype.
|
|
1957
|
+
Rules.prototype.y2e = function () {
|
|
1924
1958
|
return this.enableTrumpSevenCombination;
|
|
1925
1959
|
};
|
|
1926
|
-
Rules.prototype.
|
|
1960
|
+
Rules.prototype.z2e = function () {
|
|
1927
1961
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
1928
1962
|
};
|
|
1929
|
-
Rules.prototype.
|
|
1963
|
+
Rules.prototype.a2f = function () {
|
|
1930
1964
|
return this.playerWhoChooseSuitGoFirst;
|
|
1931
1965
|
};
|
|
1932
|
-
Rules.prototype.
|
|
1966
|
+
Rules.prototype.b2f = function () {
|
|
1933
1967
|
return this.winnerShuffleCards;
|
|
1934
1968
|
};
|
|
1935
|
-
Rules.prototype.
|
|
1969
|
+
Rules.prototype.c2f = function () {
|
|
1936
1970
|
return this.playWithoutLiabilities;
|
|
1937
1971
|
};
|
|
1938
|
-
Rules.prototype.
|
|
1972
|
+
Rules.prototype.d2f = function () {
|
|
1939
1973
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
1940
1974
|
};
|
|
1941
|
-
Rules.prototype.
|
|
1975
|
+
Rules.prototype.e2f = function () {
|
|
1942
1976
|
return this.enableFineIfNoBribes;
|
|
1943
1977
|
};
|
|
1944
|
-
Rules.prototype.
|
|
1978
|
+
Rules.prototype.f2f = function () {
|
|
1945
1979
|
return this.fineIfNoBribes;
|
|
1946
1980
|
};
|
|
1947
|
-
Rules.prototype.
|
|
1981
|
+
Rules.prototype.g2f = function () {
|
|
1948
1982
|
return this.enableFineAfterThirdByte;
|
|
1949
1983
|
};
|
|
1950
|
-
Rules.prototype.
|
|
1984
|
+
Rules.prototype.h2f = function () {
|
|
1951
1985
|
return this.checkTrumpCombination;
|
|
1952
1986
|
};
|
|
1953
|
-
Rules.prototype.
|
|
1987
|
+
Rules.prototype.i2f = function () {
|
|
1954
1988
|
return this.checkOnlyTrumpDebertz;
|
|
1955
1989
|
};
|
|
1956
|
-
Rules.prototype.
|
|
1990
|
+
Rules.prototype.j2f = function () {
|
|
1957
1991
|
return this.tenCardsInHand;
|
|
1958
1992
|
};
|
|
1959
1993
|
Rules.prototype.component1 = function () {
|
|
@@ -2008,12 +2042,12 @@
|
|
|
2008
2042
|
return this.tenCardsInHand;
|
|
2009
2043
|
};
|
|
2010
2044
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2011
|
-
return this.
|
|
2045
|
+
return this.k2f(needToPutHigherTrump === void 1 ? this.needToPutHigherTrump : needToPutHigherTrump, distributePoints === void 1 ? this.distributePoints : distributePoints, protectBella === void 1 ? this.protectBella : protectBella, oneTryToProtectBella === void 1 ? this.oneTryToProtectBella : oneTryToProtectBella, enableFourSevensCombination === void 1 ? this.enableFourSevensCombination : enableFourSevensCombination, enableTrumpSevenCombination === void 1 ? this.enableTrumpSevenCombination : enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution === void 1 ? this.enableTrumpSevenCombinationAfterDistribution : enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst === void 1 ? this.playerWhoChooseSuitGoFirst : playerWhoChooseSuitGoFirst, winnerShuffleCards === void 1 ? this.winnerShuffleCards : winnerShuffleCards, playWithoutLiabilities === void 1 ? this.playWithoutLiabilities : playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards === void 1 ? this.trumpCardGoToPlayerWhoShuffleCards : trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes === void 1 ? this.enableFineIfNoBribes : enableFineIfNoBribes, fineIfNoBribes === void 1 ? this.fineIfNoBribes : fineIfNoBribes, enableFineAfterThirdByte === void 1 ? this.enableFineAfterThirdByte : enableFineAfterThirdByte, checkTrumpCombination === void 1 ? this.checkTrumpCombination : checkTrumpCombination, checkOnlyTrumpDebertz === void 1 ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz, tenCardsInHand === void 1 ? this.tenCardsInHand : tenCardsInHand);
|
|
2012
2046
|
};
|
|
2013
|
-
Rules.prototype.
|
|
2047
|
+
Rules.prototype.k2f = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2014
2048
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2015
2049
|
};
|
|
2016
|
-
Rules.prototype.
|
|
2050
|
+
Rules.prototype.l2f = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
2017
2051
|
if (!(($mask0 & 1) === 0))
|
|
2018
2052
|
needToPutHigherTrump = this.needToPutHigherTrump;
|
|
2019
2053
|
if (!(($mask0 & 2) === 0))
|
|
@@ -2048,7 +2082,7 @@
|
|
|
2048
2082
|
checkOnlyTrumpDebertz = this.checkOnlyTrumpDebertz;
|
|
2049
2083
|
if (!(($mask0 & 65536) === 0))
|
|
2050
2084
|
tenCardsInHand = this.tenCardsInHand;
|
|
2051
|
-
return this.
|
|
2085
|
+
return this.k2f(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2052
2086
|
};
|
|
2053
2087
|
Rules.prototype.toString = function () {
|
|
2054
2088
|
return 'Rules(needToPutHigherTrump=' + this.needToPutHigherTrump + ', distributePoints=' + this.distributePoints + ', protectBella=' + this.protectBella + ', oneTryToProtectBella=' + this.oneTryToProtectBella + ', enableFourSevensCombination=' + this.enableFourSevensCombination + ', enableTrumpSevenCombination=' + this.enableTrumpSevenCombination + ', enableTrumpSevenCombinationAfterDistribution=' + this.enableTrumpSevenCombinationAfterDistribution + ', playerWhoChooseSuitGoFirst=' + this.playerWhoChooseSuitGoFirst + ', winnerShuffleCards=' + this.winnerShuffleCards + ', playWithoutLiabilities=' + this.playWithoutLiabilities + ', trumpCardGoToPlayerWhoShuffleCards=' + this.trumpCardGoToPlayerWhoShuffleCards + ', enableFineIfNoBribes=' + this.enableFineIfNoBribes + ', fineIfNoBribes=' + this.fineIfNoBribes + ', enableFineAfterThirdByte=' + this.enableFineAfterThirdByte + ', checkTrumpCombination=' + this.checkTrumpCombination + ', checkOnlyTrumpDebertz=' + this.checkOnlyTrumpDebertz + ', tenCardsInHand=' + this.tenCardsInHand + ')';
|
|
@@ -2184,20 +2218,20 @@
|
|
|
2184
2218
|
return RulesSetType_custom_instance;
|
|
2185
2219
|
}
|
|
2186
2220
|
function mapToDto(_this__u8e3s4) {
|
|
2187
|
-
return _this__u8e3s4.
|
|
2221
|
+
return _this__u8e3s4.o2f_1;
|
|
2188
2222
|
}
|
|
2189
2223
|
function mapFromDto(_this__u8e3s4) {
|
|
2190
2224
|
return new GameCard(_this__u8e3s4);
|
|
2191
2225
|
}
|
|
2192
2226
|
function mapToDto_0(_this__u8e3s4) {
|
|
2193
|
-
return _this__u8e3s4.o2f_1
|
|
2227
|
+
return _this__u8e3s4.q2f_1.o2f_1;
|
|
2194
2228
|
}
|
|
2195
2229
|
function mapToDto_1(_this__u8e3s4) {
|
|
2196
2230
|
return RulesDto_init_$Create$(_this__u8e3s4.needToPutHigherTrump, _this__u8e3s4.distributePoints, _this__u8e3s4.protectBella, null, _this__u8e3s4.enableFourSevensCombination, _this__u8e3s4.enableTrumpSevenCombination, _this__u8e3s4.enableTrumpSevenCombinationAfterDistribution, _this__u8e3s4.playerWhoChooseSuitGoFirst, _this__u8e3s4.winnerShuffleCards, _this__u8e3s4.playWithoutLiabilities, _this__u8e3s4.trumpCardGoToPlayerWhoShuffleCards, _this__u8e3s4.enableFineIfNoBribes, _this__u8e3s4.fineIfNoBribes, _this__u8e3s4.enableFineAfterThirdByte, _this__u8e3s4.checkTrumpCombination, _this__u8e3s4.checkOnlyTrumpDebertz, _this__u8e3s4.tenCardsInHand, 8, null);
|
|
2197
2231
|
}
|
|
2198
2232
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2199
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2200
|
-
return new Rules(_this__u8e3s4.
|
|
2233
|
+
var tmp0_elvis_lhs = _this__u8e3s4.u2f_1;
|
|
2234
|
+
return new Rules(_this__u8e3s4.r2f_1, _this__u8e3s4.s2f_1, _this__u8e3s4.t2f_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.v2f_1, _this__u8e3s4.w2f_1, _this__u8e3s4.x2f_1, _this__u8e3s4.y2f_1, _this__u8e3s4.z2f_1, _this__u8e3s4.a2g_1, _this__u8e3s4.b2g_1, _this__u8e3s4.c2g_1, _this__u8e3s4.d2g_1, _this__u8e3s4.e2g_1, _this__u8e3s4.f2g_1, _this__u8e3s4.g2g_1, _this__u8e3s4.h2g_1);
|
|
2201
2235
|
}
|
|
2202
2236
|
function mapToDto_2(_this__u8e3s4) {
|
|
2203
2237
|
var tmp$ret$1;
|
|
@@ -2217,30 +2251,30 @@
|
|
|
2217
2251
|
return new GameUserInfoDto(_this__u8e3s4.h2d_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1);
|
|
2218
2252
|
}
|
|
2219
2253
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2220
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2254
|
+
var tmp0_elvis_lhs = _this__u8e3s4.l2g_1;
|
|
2221
2255
|
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
2222
|
-
return GameUserInfo_init_$Create$(_this__u8e3s4.
|
|
2256
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.i2g_1, _this__u8e3s4.j2g_1, _this__u8e3s4.k2g_1, tmp, null, 16, null);
|
|
2223
2257
|
}
|
|
2224
2258
|
function mapToDto_3(_this__u8e3s4) {
|
|
2225
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2259
|
+
var tmp0_safe_receiver = _this__u8e3s4.p2d_1;
|
|
2226
2260
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a2c();
|
|
2227
2261
|
var tmp4_startFromTime = tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs;
|
|
2228
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2262
|
+
var tmp2_safe_receiver = _this__u8e3s4.p2d_1;
|
|
2229
2263
|
var tmp5_startFrom = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2230
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
2264
|
+
var tmp3_safe_receiver = _this__u8e3s4.q2d_1;
|
|
2231
2265
|
var tmp6_waitPlayerUntilTime = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.toString();
|
|
2232
|
-
var tmp7_state = _this__u8e3s4.
|
|
2233
|
-
var tmp8_tag = _this__u8e3s4.
|
|
2234
|
-
var tmp9_ready = _this__u8e3s4.
|
|
2266
|
+
var tmp7_state = _this__u8e3s4.r2d_1;
|
|
2267
|
+
var tmp8_tag = _this__u8e3s4.u2d_1;
|
|
2268
|
+
var tmp9_ready = _this__u8e3s4.s2d_1;
|
|
2235
2269
|
return new PlayerStateDto(tmp4_startFromTime, tmp5_startFrom, tmp6_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag);
|
|
2236
2270
|
}
|
|
2237
2271
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2238
|
-
var tmp1_startFromTime = _this__u8e3s4.
|
|
2239
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2272
|
+
var tmp1_startFromTime = _this__u8e3s4.s2g();
|
|
2273
|
+
var tmp0_safe_receiver = _this__u8e3s4.o2g_1;
|
|
2240
2274
|
var tmp2_waitPlayerUntilTime = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
2241
|
-
var tmp3_state = _this__u8e3s4.
|
|
2242
|
-
var tmp4_tag = _this__u8e3s4.
|
|
2243
|
-
var tmp5_ready = _this__u8e3s4.
|
|
2275
|
+
var tmp3_state = _this__u8e3s4.p2g_1;
|
|
2276
|
+
var tmp4_tag = _this__u8e3s4.r2g_1;
|
|
2277
|
+
var tmp5_ready = _this__u8e3s4.q2g_1;
|
|
2244
2278
|
return new PlayerState(tmp1_startFromTime, tmp2_waitPlayerUntilTime, tmp3_state, tmp5_ready, connectionState, tmp4_tag);
|
|
2245
2279
|
}
|
|
2246
2280
|
function Companion_12() {
|
|
@@ -2259,10 +2293,10 @@
|
|
|
2259
2293
|
tmp0_serialDesc.b1k('name', false);
|
|
2260
2294
|
tmp0_serialDesc.b1k('avatarUrl', false);
|
|
2261
2295
|
tmp0_serialDesc.b1k('isBot', true);
|
|
2262
|
-
this.
|
|
2296
|
+
this.t2g_1 = tmp0_serialDesc;
|
|
2263
2297
|
}
|
|
2264
2298
|
$serializer_5.prototype.p19 = function () {
|
|
2265
|
-
return this.
|
|
2299
|
+
return this.t2g_1;
|
|
2266
2300
|
};
|
|
2267
2301
|
$serializer_5.prototype.q1k = function () {
|
|
2268
2302
|
var tmp$ret$2;
|
|
@@ -2278,7 +2312,7 @@
|
|
|
2278
2312
|
return tmp$ret$2;
|
|
2279
2313
|
};
|
|
2280
2314
|
$serializer_5.prototype.r19 = function (decoder) {
|
|
2281
|
-
var tmp0_desc = this.
|
|
2315
|
+
var tmp0_desc = this.t2g_1;
|
|
2282
2316
|
var tmp1_flag = true;
|
|
2283
2317
|
var tmp2_index = 0;
|
|
2284
2318
|
var tmp3_bitMask0 = 0;
|
|
@@ -2326,19 +2360,19 @@
|
|
|
2326
2360
|
tmp8_input.x1c(tmp0_desc);
|
|
2327
2361
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2328
2362
|
};
|
|
2329
|
-
$serializer_5.prototype.
|
|
2330
|
-
var tmp0_desc = this.
|
|
2363
|
+
$serializer_5.prototype.u2g = function (encoder, value) {
|
|
2364
|
+
var tmp0_desc = this.t2g_1;
|
|
2331
2365
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2332
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
2333
|
-
tmp1_output.l1e(tmp0_desc, 1, value.
|
|
2334
|
-
tmp1_output.l1e(tmp0_desc, 2, value.
|
|
2335
|
-
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.
|
|
2336
|
-
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2366
|
+
tmp1_output.l1e(tmp0_desc, 0, value.i2g_1);
|
|
2367
|
+
tmp1_output.l1e(tmp0_desc, 1, value.j2g_1);
|
|
2368
|
+
tmp1_output.l1e(tmp0_desc, 2, value.k2g_1);
|
|
2369
|
+
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.l2g_1 === false)) {
|
|
2370
|
+
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.l2g_1);
|
|
2337
2371
|
}
|
|
2338
2372
|
tmp1_output.x1c(tmp0_desc);
|
|
2339
2373
|
};
|
|
2340
2374
|
$serializer_5.prototype.q19 = function (encoder, value) {
|
|
2341
|
-
return this.
|
|
2375
|
+
return this.u2g(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2342
2376
|
};
|
|
2343
2377
|
var $serializer_instance_5;
|
|
2344
2378
|
function $serializer_getInstance_5() {
|
|
@@ -2348,15 +2382,15 @@
|
|
|
2348
2382
|
}
|
|
2349
2383
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, $this) {
|
|
2350
2384
|
if (!(7 === (7 & seen1))) {
|
|
2351
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().
|
|
2385
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().t2g_1);
|
|
2352
2386
|
}
|
|
2353
|
-
$this.
|
|
2354
|
-
$this.
|
|
2355
|
-
$this.
|
|
2387
|
+
$this.i2g_1 = playerId;
|
|
2388
|
+
$this.j2g_1 = name;
|
|
2389
|
+
$this.k2g_1 = avatarUrl;
|
|
2356
2390
|
if (0 === (seen1 & 8))
|
|
2357
|
-
$this.
|
|
2391
|
+
$this.l2g_1 = false;
|
|
2358
2392
|
else
|
|
2359
|
-
$this.
|
|
2393
|
+
$this.l2g_1 = isBot;
|
|
2360
2394
|
return $this;
|
|
2361
2395
|
}
|
|
2362
2396
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker) {
|
|
@@ -2364,19 +2398,19 @@
|
|
|
2364
2398
|
}
|
|
2365
2399
|
function GameUserInfoDto(playerId, name, avatarUrl, isBot) {
|
|
2366
2400
|
Companion_getInstance_13();
|
|
2367
|
-
this.
|
|
2368
|
-
this.
|
|
2369
|
-
this.
|
|
2370
|
-
this.
|
|
2401
|
+
this.i2g_1 = playerId;
|
|
2402
|
+
this.j2g_1 = name;
|
|
2403
|
+
this.k2g_1 = avatarUrl;
|
|
2404
|
+
this.l2g_1 = isBot;
|
|
2371
2405
|
}
|
|
2372
2406
|
GameUserInfoDto.prototype.toString = function () {
|
|
2373
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2407
|
+
return 'GameUserInfoDto(playerId=' + this.i2g_1 + ', name=' + this.j2g_1 + ', avatarUrl=' + this.k2g_1 + ', isBot=' + this.l2g_1 + ')';
|
|
2374
2408
|
};
|
|
2375
2409
|
GameUserInfoDto.prototype.hashCode = function () {
|
|
2376
|
-
var result = getStringHashCode(this.
|
|
2377
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2378
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2379
|
-
result = imul(result, 31) + (this.
|
|
2410
|
+
var result = getStringHashCode(this.i2g_1);
|
|
2411
|
+
result = imul(result, 31) + getStringHashCode(this.j2g_1) | 0;
|
|
2412
|
+
result = imul(result, 31) + getStringHashCode(this.k2g_1) | 0;
|
|
2413
|
+
result = imul(result, 31) + (this.l2g_1 == null ? 0 : this.l2g_1 | 0) | 0;
|
|
2380
2414
|
return result;
|
|
2381
2415
|
};
|
|
2382
2416
|
GameUserInfoDto.prototype.equals = function (other) {
|
|
@@ -2385,13 +2419,13 @@
|
|
|
2385
2419
|
if (!(other instanceof GameUserInfoDto))
|
|
2386
2420
|
return false;
|
|
2387
2421
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2388
|
-
if (!(this.
|
|
2422
|
+
if (!(this.i2g_1 === tmp0_other_with_cast.i2g_1))
|
|
2389
2423
|
return false;
|
|
2390
|
-
if (!(this.
|
|
2424
|
+
if (!(this.j2g_1 === tmp0_other_with_cast.j2g_1))
|
|
2391
2425
|
return false;
|
|
2392
|
-
if (!(this.
|
|
2426
|
+
if (!(this.k2g_1 === tmp0_other_with_cast.k2g_1))
|
|
2393
2427
|
return false;
|
|
2394
|
-
if (!(this.
|
|
2428
|
+
if (!(this.l2g_1 == tmp0_other_with_cast.l2g_1))
|
|
2395
2429
|
return false;
|
|
2396
2430
|
return true;
|
|
2397
2431
|
};
|
|
@@ -2413,10 +2447,10 @@
|
|
|
2413
2447
|
tmp0_serialDesc.b1k('state', false);
|
|
2414
2448
|
tmp0_serialDesc.b1k('ready', false);
|
|
2415
2449
|
tmp0_serialDesc.b1k('tag', true);
|
|
2416
|
-
this.
|
|
2450
|
+
this.v2g_1 = tmp0_serialDesc;
|
|
2417
2451
|
}
|
|
2418
2452
|
$serializer_6.prototype.p19 = function () {
|
|
2419
|
-
return this.
|
|
2453
|
+
return this.v2g_1;
|
|
2420
2454
|
};
|
|
2421
2455
|
$serializer_6.prototype.q1k = function () {
|
|
2422
2456
|
var tmp$ret$2;
|
|
@@ -2432,7 +2466,7 @@
|
|
|
2432
2466
|
return tmp$ret$2;
|
|
2433
2467
|
};
|
|
2434
2468
|
$serializer_6.prototype.r19 = function (decoder) {
|
|
2435
|
-
var tmp0_desc = this.
|
|
2469
|
+
var tmp0_desc = this.v2g_1;
|
|
2436
2470
|
var tmp1_flag = true;
|
|
2437
2471
|
var tmp2_index = 0;
|
|
2438
2472
|
var tmp3_bitMask0 = 0;
|
|
@@ -2494,27 +2528,27 @@
|
|
|
2494
2528
|
tmp10_input.x1c(tmp0_desc);
|
|
2495
2529
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
2496
2530
|
};
|
|
2497
|
-
$serializer_6.prototype.
|
|
2498
|
-
var tmp0_desc = this.
|
|
2531
|
+
$serializer_6.prototype.w2g = function (encoder, value) {
|
|
2532
|
+
var tmp0_desc = this.v2g_1;
|
|
2499
2533
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2500
|
-
if (tmp1_output.t1e(tmp0_desc, 0) ? true : !(value.
|
|
2501
|
-
tmp1_output.p1e(tmp0_desc, 0, LongSerializer_getInstance(), value.
|
|
2534
|
+
if (tmp1_output.t1e(tmp0_desc, 0) ? true : !(value.m2g_1 == null)) {
|
|
2535
|
+
tmp1_output.p1e(tmp0_desc, 0, LongSerializer_getInstance(), value.m2g_1);
|
|
2502
2536
|
}
|
|
2503
|
-
if (tmp1_output.t1e(tmp0_desc, 1) ? true : !(value.
|
|
2504
|
-
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2537
|
+
if (tmp1_output.t1e(tmp0_desc, 1) ? true : !(value.n2g_1 == null)) {
|
|
2538
|
+
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.n2g_1);
|
|
2505
2539
|
}
|
|
2506
|
-
if (tmp1_output.t1e(tmp0_desc, 2) ? true : !(value.
|
|
2507
|
-
tmp1_output.p1e(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2540
|
+
if (tmp1_output.t1e(tmp0_desc, 2) ? true : !(value.o2g_1 == null)) {
|
|
2541
|
+
tmp1_output.p1e(tmp0_desc, 2, StringSerializer_getInstance(), value.o2g_1);
|
|
2508
2542
|
}
|
|
2509
|
-
tmp1_output.n1e(tmp0_desc, 3, Companion_getInstance_10().l1w(), value.
|
|
2510
|
-
tmp1_output.d1e(tmp0_desc, 4, value.
|
|
2511
|
-
if (tmp1_output.t1e(tmp0_desc, 5) ? true : !(value.
|
|
2512
|
-
tmp1_output.p1e(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
2543
|
+
tmp1_output.n1e(tmp0_desc, 3, Companion_getInstance_10().l1w(), value.p2g_1);
|
|
2544
|
+
tmp1_output.d1e(tmp0_desc, 4, value.q2g_1);
|
|
2545
|
+
if (tmp1_output.t1e(tmp0_desc, 5) ? true : !(value.r2g_1 == null)) {
|
|
2546
|
+
tmp1_output.p1e(tmp0_desc, 5, StringSerializer_getInstance(), value.r2g_1);
|
|
2513
2547
|
}
|
|
2514
2548
|
tmp1_output.x1c(tmp0_desc);
|
|
2515
2549
|
};
|
|
2516
2550
|
$serializer_6.prototype.q19 = function (encoder, value) {
|
|
2517
|
-
return this.
|
|
2551
|
+
return this.w2g(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2518
2552
|
};
|
|
2519
2553
|
var $serializer_instance_6;
|
|
2520
2554
|
function $serializer_getInstance_6() {
|
|
@@ -2524,26 +2558,26 @@
|
|
|
2524
2558
|
}
|
|
2525
2559
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2526
2560
|
if (!(24 === (24 & seen1))) {
|
|
2527
|
-
throwMissingFieldException(seen1, 24, $serializer_getInstance_6().
|
|
2561
|
+
throwMissingFieldException(seen1, 24, $serializer_getInstance_6().v2g_1);
|
|
2528
2562
|
}
|
|
2529
2563
|
if (0 === (seen1 & 1))
|
|
2530
|
-
$this.
|
|
2564
|
+
$this.m2g_1 = null;
|
|
2531
2565
|
else
|
|
2532
|
-
$this.
|
|
2566
|
+
$this.m2g_1 = startFromTime;
|
|
2533
2567
|
if (0 === (seen1 & 2))
|
|
2534
|
-
$this.
|
|
2568
|
+
$this.n2g_1 = null;
|
|
2535
2569
|
else
|
|
2536
|
-
$this.
|
|
2570
|
+
$this.n2g_1 = startFrom;
|
|
2537
2571
|
if (0 === (seen1 & 4))
|
|
2538
|
-
$this.
|
|
2572
|
+
$this.o2g_1 = null;
|
|
2539
2573
|
else
|
|
2540
|
-
$this.
|
|
2541
|
-
$this.
|
|
2542
|
-
$this.
|
|
2574
|
+
$this.o2g_1 = waitPlayerUntilTime;
|
|
2575
|
+
$this.p2g_1 = state;
|
|
2576
|
+
$this.q2g_1 = ready;
|
|
2543
2577
|
if (0 === (seen1 & 32))
|
|
2544
|
-
$this.
|
|
2578
|
+
$this.r2g_1 = null;
|
|
2545
2579
|
else
|
|
2546
|
-
$this.
|
|
2580
|
+
$this.r2g_1 = tag;
|
|
2547
2581
|
return $this;
|
|
2548
2582
|
}
|
|
2549
2583
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag, serializationConstructorMarker) {
|
|
@@ -2551,15 +2585,15 @@
|
|
|
2551
2585
|
}
|
|
2552
2586
|
function PlayerStateDto(startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag) {
|
|
2553
2587
|
Companion_getInstance_14();
|
|
2554
|
-
this.
|
|
2555
|
-
this.
|
|
2556
|
-
this.
|
|
2557
|
-
this.
|
|
2558
|
-
this.
|
|
2559
|
-
this.
|
|
2560
|
-
}
|
|
2561
|
-
PlayerStateDto.prototype.
|
|
2562
|
-
var tmp0_safe_receiver = this.
|
|
2588
|
+
this.m2g_1 = startFromTime;
|
|
2589
|
+
this.n2g_1 = startFrom;
|
|
2590
|
+
this.o2g_1 = waitPlayerUntilTime;
|
|
2591
|
+
this.p2g_1 = state;
|
|
2592
|
+
this.q2g_1 = ready;
|
|
2593
|
+
this.r2g_1 = tag;
|
|
2594
|
+
}
|
|
2595
|
+
PlayerStateDto.prototype.s2g = function () {
|
|
2596
|
+
var tmp0_safe_receiver = this.m2g_1;
|
|
2563
2597
|
var tmp;
|
|
2564
2598
|
if (tmp0_safe_receiver == null) {
|
|
2565
2599
|
tmp = null;
|
|
@@ -2569,23 +2603,23 @@
|
|
|
2569
2603
|
// Inline function 'kotlin.contracts.contract' call
|
|
2570
2604
|
var tmp$ret$0;
|
|
2571
2605
|
// Inline function 'com.logic.data.models.serializable.player.PlayerStateDto.<get-time>.<anonymous>' call
|
|
2572
|
-
tmp$ret$0 = Companion_getInstance().v2b(this.
|
|
2606
|
+
tmp$ret$0 = Companion_getInstance().v2b(this.m2g_1);
|
|
2573
2607
|
tmp$ret$1 = tmp$ret$0;
|
|
2574
2608
|
tmp = tmp$ret$1;
|
|
2575
2609
|
}
|
|
2576
2610
|
var tmp1_elvis_lhs = tmp;
|
|
2577
|
-
return tmp1_elvis_lhs == null ? toInstant(ensureNotNull(this.
|
|
2611
|
+
return tmp1_elvis_lhs == null ? toInstant(ensureNotNull(this.n2g_1)) : tmp1_elvis_lhs;
|
|
2578
2612
|
};
|
|
2579
2613
|
PlayerStateDto.prototype.toString = function () {
|
|
2580
|
-
return 'PlayerStateDto(startFromTime=' + toString(this.
|
|
2614
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.m2g_1) + ', startFrom=' + this.n2g_1 + ', waitPlayerUntilTime=' + this.o2g_1 + ', state=' + this.p2g_1 + ', ready=' + this.q2g_1 + ', tag=' + this.r2g_1 + ')';
|
|
2581
2615
|
};
|
|
2582
2616
|
PlayerStateDto.prototype.hashCode = function () {
|
|
2583
|
-
var result = this.
|
|
2584
|
-
result = imul(result, 31) + (this.
|
|
2585
|
-
result = imul(result, 31) + (this.
|
|
2586
|
-
result = imul(result, 31) + this.
|
|
2587
|
-
result = imul(result, 31) + (this.
|
|
2588
|
-
result = imul(result, 31) + (this.
|
|
2617
|
+
var result = this.m2g_1 == null ? 0 : this.m2g_1.hashCode();
|
|
2618
|
+
result = imul(result, 31) + (this.n2g_1 == null ? 0 : getStringHashCode(this.n2g_1)) | 0;
|
|
2619
|
+
result = imul(result, 31) + (this.o2g_1 == null ? 0 : getStringHashCode(this.o2g_1)) | 0;
|
|
2620
|
+
result = imul(result, 31) + this.p2g_1.hashCode() | 0;
|
|
2621
|
+
result = imul(result, 31) + (this.q2g_1 | 0) | 0;
|
|
2622
|
+
result = imul(result, 31) + (this.r2g_1 == null ? 0 : getStringHashCode(this.r2g_1)) | 0;
|
|
2589
2623
|
return result;
|
|
2590
2624
|
};
|
|
2591
2625
|
PlayerStateDto.prototype.equals = function (other) {
|
|
@@ -2594,17 +2628,17 @@
|
|
|
2594
2628
|
if (!(other instanceof PlayerStateDto))
|
|
2595
2629
|
return false;
|
|
2596
2630
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2597
|
-
if (!equals(this.
|
|
2631
|
+
if (!equals(this.m2g_1, tmp0_other_with_cast.m2g_1))
|
|
2598
2632
|
return false;
|
|
2599
|
-
if (!(this.
|
|
2633
|
+
if (!(this.n2g_1 == tmp0_other_with_cast.n2g_1))
|
|
2600
2634
|
return false;
|
|
2601
|
-
if (!(this.
|
|
2635
|
+
if (!(this.o2g_1 == tmp0_other_with_cast.o2g_1))
|
|
2602
2636
|
return false;
|
|
2603
|
-
if (!this.
|
|
2637
|
+
if (!this.p2g_1.equals(tmp0_other_with_cast.p2g_1))
|
|
2604
2638
|
return false;
|
|
2605
|
-
if (!(this.
|
|
2639
|
+
if (!(this.q2g_1 === tmp0_other_with_cast.q2g_1))
|
|
2606
2640
|
return false;
|
|
2607
|
-
if (!(this.
|
|
2641
|
+
if (!(this.r2g_1 == tmp0_other_with_cast.r2g_1))
|
|
2608
2642
|
return false;
|
|
2609
2643
|
return true;
|
|
2610
2644
|
};
|
|
@@ -2646,10 +2680,10 @@
|
|
|
2646
2680
|
tmp0_serialDesc.b1k('checkTrumpCombination', false);
|
|
2647
2681
|
tmp0_serialDesc.b1k('checkOnlyTrumpDebertz', false);
|
|
2648
2682
|
tmp0_serialDesc.b1k('tenCardsInHand', false);
|
|
2649
|
-
this.
|
|
2683
|
+
this.x2g_1 = tmp0_serialDesc;
|
|
2650
2684
|
}
|
|
2651
2685
|
$serializer_7.prototype.p19 = function () {
|
|
2652
|
-
return this.
|
|
2686
|
+
return this.x2g_1;
|
|
2653
2687
|
};
|
|
2654
2688
|
$serializer_7.prototype.q1k = function () {
|
|
2655
2689
|
var tmp$ret$2;
|
|
@@ -2665,7 +2699,7 @@
|
|
|
2665
2699
|
return tmp$ret$2;
|
|
2666
2700
|
};
|
|
2667
2701
|
$serializer_7.prototype.r19 = function (decoder) {
|
|
2668
|
-
var tmp0_desc = this.
|
|
2702
|
+
var tmp0_desc = this.x2g_1;
|
|
2669
2703
|
var tmp1_flag = true;
|
|
2670
2704
|
var tmp2_index = 0;
|
|
2671
2705
|
var tmp3_bitMask0 = 0;
|
|
@@ -2804,32 +2838,32 @@
|
|
|
2804
2838
|
tmp21_input.x1c(tmp0_desc);
|
|
2805
2839
|
return RulesDto_init_$Create$_0(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, null);
|
|
2806
2840
|
};
|
|
2807
|
-
$serializer_7.prototype.
|
|
2808
|
-
var tmp0_desc = this.
|
|
2841
|
+
$serializer_7.prototype.y2g = function (encoder, value) {
|
|
2842
|
+
var tmp0_desc = this.x2g_1;
|
|
2809
2843
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2810
|
-
tmp1_output.d1e(tmp0_desc, 0, value.
|
|
2811
|
-
tmp1_output.d1e(tmp0_desc, 1, value.
|
|
2812
|
-
tmp1_output.d1e(tmp0_desc, 2, value.
|
|
2813
|
-
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.
|
|
2814
|
-
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2844
|
+
tmp1_output.d1e(tmp0_desc, 0, value.r2f_1);
|
|
2845
|
+
tmp1_output.d1e(tmp0_desc, 1, value.s2f_1);
|
|
2846
|
+
tmp1_output.d1e(tmp0_desc, 2, value.t2f_1);
|
|
2847
|
+
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.u2f_1 == null)) {
|
|
2848
|
+
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.u2f_1);
|
|
2815
2849
|
}
|
|
2816
|
-
tmp1_output.d1e(tmp0_desc, 4, value.
|
|
2817
|
-
tmp1_output.d1e(tmp0_desc, 5, value.
|
|
2818
|
-
tmp1_output.d1e(tmp0_desc, 6, value.
|
|
2819
|
-
tmp1_output.d1e(tmp0_desc, 7, value.
|
|
2820
|
-
tmp1_output.d1e(tmp0_desc, 8, value.
|
|
2821
|
-
tmp1_output.d1e(tmp0_desc, 9, value.
|
|
2822
|
-
tmp1_output.d1e(tmp0_desc, 10, value.
|
|
2823
|
-
tmp1_output.d1e(tmp0_desc, 11, value.
|
|
2824
|
-
tmp1_output.g1e(tmp0_desc, 12, value.
|
|
2825
|
-
tmp1_output.d1e(tmp0_desc, 13, value.
|
|
2826
|
-
tmp1_output.d1e(tmp0_desc, 14, value.
|
|
2827
|
-
tmp1_output.d1e(tmp0_desc, 15, value.
|
|
2828
|
-
tmp1_output.d1e(tmp0_desc, 16, value.
|
|
2850
|
+
tmp1_output.d1e(tmp0_desc, 4, value.v2f_1);
|
|
2851
|
+
tmp1_output.d1e(tmp0_desc, 5, value.w2f_1);
|
|
2852
|
+
tmp1_output.d1e(tmp0_desc, 6, value.x2f_1);
|
|
2853
|
+
tmp1_output.d1e(tmp0_desc, 7, value.y2f_1);
|
|
2854
|
+
tmp1_output.d1e(tmp0_desc, 8, value.z2f_1);
|
|
2855
|
+
tmp1_output.d1e(tmp0_desc, 9, value.a2g_1);
|
|
2856
|
+
tmp1_output.d1e(tmp0_desc, 10, value.b2g_1);
|
|
2857
|
+
tmp1_output.d1e(tmp0_desc, 11, value.c2g_1);
|
|
2858
|
+
tmp1_output.g1e(tmp0_desc, 12, value.d2g_1);
|
|
2859
|
+
tmp1_output.d1e(tmp0_desc, 13, value.e2g_1);
|
|
2860
|
+
tmp1_output.d1e(tmp0_desc, 14, value.f2g_1);
|
|
2861
|
+
tmp1_output.d1e(tmp0_desc, 15, value.g2g_1);
|
|
2862
|
+
tmp1_output.d1e(tmp0_desc, 16, value.h2g_1);
|
|
2829
2863
|
tmp1_output.x1c(tmp0_desc);
|
|
2830
2864
|
};
|
|
2831
2865
|
$serializer_7.prototype.q19 = function (encoder, value) {
|
|
2832
|
-
return this.
|
|
2866
|
+
return this.y2g(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2833
2867
|
};
|
|
2834
2868
|
var $serializer_instance_7;
|
|
2835
2869
|
function $serializer_getInstance_7() {
|
|
@@ -2839,28 +2873,28 @@
|
|
|
2839
2873
|
}
|
|
2840
2874
|
function RulesDto_init_$Init$_0(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2841
2875
|
if (!(131063 === (131063 & seen1))) {
|
|
2842
|
-
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().
|
|
2876
|
+
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().x2g_1);
|
|
2843
2877
|
}
|
|
2844
|
-
$this.
|
|
2845
|
-
$this.
|
|
2846
|
-
$this.
|
|
2878
|
+
$this.r2f_1 = needToPutHigherTrump;
|
|
2879
|
+
$this.s2f_1 = distributePoints;
|
|
2880
|
+
$this.t2f_1 = protectBella;
|
|
2847
2881
|
if (0 === (seen1 & 8))
|
|
2848
|
-
$this.
|
|
2882
|
+
$this.u2f_1 = null;
|
|
2849
2883
|
else
|
|
2850
|
-
$this.
|
|
2851
|
-
$this.
|
|
2852
|
-
$this.
|
|
2853
|
-
$this.
|
|
2854
|
-
$this.
|
|
2855
|
-
$this.
|
|
2856
|
-
$this.
|
|
2857
|
-
$this.
|
|
2858
|
-
$this.
|
|
2859
|
-
$this.
|
|
2860
|
-
$this.
|
|
2861
|
-
$this.
|
|
2862
|
-
$this.
|
|
2863
|
-
$this.
|
|
2884
|
+
$this.u2f_1 = oneTryToProtectBella;
|
|
2885
|
+
$this.v2f_1 = enableFourSevensCombination;
|
|
2886
|
+
$this.w2f_1 = enableTrumpSevenCombination;
|
|
2887
|
+
$this.x2f_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2888
|
+
$this.y2f_1 = playerWhoChooseSuitGoFirst;
|
|
2889
|
+
$this.z2f_1 = winnerShuffleCards;
|
|
2890
|
+
$this.a2g_1 = playWithoutLiabilities;
|
|
2891
|
+
$this.b2g_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2892
|
+
$this.c2g_1 = enableFineIfNoBribes;
|
|
2893
|
+
$this.d2g_1 = fineIfNoBribes;
|
|
2894
|
+
$this.e2g_1 = enableFineAfterThirdByte;
|
|
2895
|
+
$this.f2g_1 = checkTrumpCombination;
|
|
2896
|
+
$this.g2g_1 = checkOnlyTrumpDebertz;
|
|
2897
|
+
$this.h2g_1 = tenCardsInHand;
|
|
2864
2898
|
return $this;
|
|
2865
2899
|
}
|
|
2866
2900
|
function RulesDto_init_$Create$_0(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -2868,45 +2902,45 @@
|
|
|
2868
2902
|
}
|
|
2869
2903
|
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2870
2904
|
Companion_getInstance_15();
|
|
2871
|
-
this.
|
|
2872
|
-
this.
|
|
2873
|
-
this.
|
|
2874
|
-
this.
|
|
2875
|
-
this.
|
|
2876
|
-
this.
|
|
2877
|
-
this.
|
|
2878
|
-
this.
|
|
2879
|
-
this.
|
|
2880
|
-
this.
|
|
2881
|
-
this.
|
|
2882
|
-
this.
|
|
2883
|
-
this.
|
|
2884
|
-
this.
|
|
2885
|
-
this.
|
|
2886
|
-
this.
|
|
2887
|
-
this.
|
|
2905
|
+
this.r2f_1 = needToPutHigherTrump;
|
|
2906
|
+
this.s2f_1 = distributePoints;
|
|
2907
|
+
this.t2f_1 = protectBella;
|
|
2908
|
+
this.u2f_1 = oneTryToProtectBella;
|
|
2909
|
+
this.v2f_1 = enableFourSevensCombination;
|
|
2910
|
+
this.w2f_1 = enableTrumpSevenCombination;
|
|
2911
|
+
this.x2f_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2912
|
+
this.y2f_1 = playerWhoChooseSuitGoFirst;
|
|
2913
|
+
this.z2f_1 = winnerShuffleCards;
|
|
2914
|
+
this.a2g_1 = playWithoutLiabilities;
|
|
2915
|
+
this.b2g_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2916
|
+
this.c2g_1 = enableFineIfNoBribes;
|
|
2917
|
+
this.d2g_1 = fineIfNoBribes;
|
|
2918
|
+
this.e2g_1 = enableFineAfterThirdByte;
|
|
2919
|
+
this.f2g_1 = checkTrumpCombination;
|
|
2920
|
+
this.g2g_1 = checkOnlyTrumpDebertz;
|
|
2921
|
+
this.h2g_1 = tenCardsInHand;
|
|
2888
2922
|
}
|
|
2889
2923
|
RulesDto.prototype.toString = function () {
|
|
2890
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2924
|
+
return 'RulesDto(needToPutHigherTrump=' + this.r2f_1 + ', distributePoints=' + this.s2f_1 + ', protectBella=' + this.t2f_1 + ', oneTryToProtectBella=' + this.u2f_1 + ', enableFourSevensCombination=' + this.v2f_1 + ', enableTrumpSevenCombination=' + this.w2f_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.x2f_1 + ', playerWhoChooseSuitGoFirst=' + this.y2f_1 + ', winnerShuffleCards=' + this.z2f_1 + ', playWithoutLiabilities=' + this.a2g_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.b2g_1 + ', enableFineIfNoBribes=' + this.c2g_1 + ', fineIfNoBribes=' + this.d2g_1 + ', enableFineAfterThirdByte=' + this.e2g_1 + ', checkTrumpCombination=' + this.f2g_1 + ', checkOnlyTrumpDebertz=' + this.g2g_1 + ', tenCardsInHand=' + this.h2g_1 + ')';
|
|
2891
2925
|
};
|
|
2892
2926
|
RulesDto.prototype.hashCode = function () {
|
|
2893
|
-
var result = this.
|
|
2894
|
-
result = imul(result, 31) + (this.
|
|
2895
|
-
result = imul(result, 31) + (this.r2f_1 | 0) | 0;
|
|
2896
|
-
result = imul(result, 31) + (this.s2f_1 == null ? 0 : this.s2f_1 | 0) | 0;
|
|
2927
|
+
var result = this.r2f_1 | 0;
|
|
2928
|
+
result = imul(result, 31) + (this.s2f_1 | 0) | 0;
|
|
2897
2929
|
result = imul(result, 31) + (this.t2f_1 | 0) | 0;
|
|
2898
|
-
result = imul(result, 31) + (this.u2f_1 | 0) | 0;
|
|
2930
|
+
result = imul(result, 31) + (this.u2f_1 == null ? 0 : this.u2f_1 | 0) | 0;
|
|
2899
2931
|
result = imul(result, 31) + (this.v2f_1 | 0) | 0;
|
|
2900
2932
|
result = imul(result, 31) + (this.w2f_1 | 0) | 0;
|
|
2901
2933
|
result = imul(result, 31) + (this.x2f_1 | 0) | 0;
|
|
2902
2934
|
result = imul(result, 31) + (this.y2f_1 | 0) | 0;
|
|
2903
2935
|
result = imul(result, 31) + (this.z2f_1 | 0) | 0;
|
|
2904
2936
|
result = imul(result, 31) + (this.a2g_1 | 0) | 0;
|
|
2905
|
-
result = imul(result, 31) + this.b2g_1 | 0;
|
|
2937
|
+
result = imul(result, 31) + (this.b2g_1 | 0) | 0;
|
|
2906
2938
|
result = imul(result, 31) + (this.c2g_1 | 0) | 0;
|
|
2907
|
-
result = imul(result, 31) +
|
|
2939
|
+
result = imul(result, 31) + this.d2g_1 | 0;
|
|
2908
2940
|
result = imul(result, 31) + (this.e2g_1 | 0) | 0;
|
|
2909
2941
|
result = imul(result, 31) + (this.f2g_1 | 0) | 0;
|
|
2942
|
+
result = imul(result, 31) + (this.g2g_1 | 0) | 0;
|
|
2943
|
+
result = imul(result, 31) + (this.h2g_1 | 0) | 0;
|
|
2910
2944
|
return result;
|
|
2911
2945
|
};
|
|
2912
2946
|
RulesDto.prototype.equals = function (other) {
|
|
@@ -2915,17 +2949,13 @@
|
|
|
2915
2949
|
if (!(other instanceof RulesDto))
|
|
2916
2950
|
return false;
|
|
2917
2951
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2918
|
-
if (!(this.p2f_1 === tmp0_other_with_cast.p2f_1))
|
|
2919
|
-
return false;
|
|
2920
|
-
if (!(this.q2f_1 === tmp0_other_with_cast.q2f_1))
|
|
2921
|
-
return false;
|
|
2922
2952
|
if (!(this.r2f_1 === tmp0_other_with_cast.r2f_1))
|
|
2923
2953
|
return false;
|
|
2924
|
-
if (!(this.s2f_1
|
|
2954
|
+
if (!(this.s2f_1 === tmp0_other_with_cast.s2f_1))
|
|
2925
2955
|
return false;
|
|
2926
2956
|
if (!(this.t2f_1 === tmp0_other_with_cast.t2f_1))
|
|
2927
2957
|
return false;
|
|
2928
|
-
if (!(this.u2f_1
|
|
2958
|
+
if (!(this.u2f_1 == tmp0_other_with_cast.u2f_1))
|
|
2929
2959
|
return false;
|
|
2930
2960
|
if (!(this.v2f_1 === tmp0_other_with_cast.v2f_1))
|
|
2931
2961
|
return false;
|
|
@@ -2949,18 +2979,22 @@
|
|
|
2949
2979
|
return false;
|
|
2950
2980
|
if (!(this.f2g_1 === tmp0_other_with_cast.f2g_1))
|
|
2951
2981
|
return false;
|
|
2982
|
+
if (!(this.g2g_1 === tmp0_other_with_cast.g2g_1))
|
|
2983
|
+
return false;
|
|
2984
|
+
if (!(this.h2g_1 === tmp0_other_with_cast.h2g_1))
|
|
2985
|
+
return false;
|
|
2952
2986
|
return true;
|
|
2953
2987
|
};
|
|
2954
2988
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
2955
|
-
this.
|
|
2956
|
-
this.
|
|
2989
|
+
this.z2g_1 = trump;
|
|
2990
|
+
this.a2h_1 = firstCardSuit;
|
|
2957
2991
|
}
|
|
2958
|
-
CardGrowthComparator.prototype.
|
|
2959
|
-
return getGrowth(b, this.
|
|
2992
|
+
CardGrowthComparator.prototype.b2h = function (a, b) {
|
|
2993
|
+
return getGrowth(b, this.z2g_1, this.a2h_1) - getGrowth(a, this.z2g_1, this.a2h_1) | 0;
|
|
2960
2994
|
};
|
|
2961
2995
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
2962
2996
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2963
|
-
return this.
|
|
2997
|
+
return this.b2h(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2964
2998
|
};
|
|
2965
2999
|
function filterByCardName(_this__u8e3s4, name) {
|
|
2966
3000
|
var tmp$ret$1;
|
|
@@ -2983,12 +3017,12 @@
|
|
|
2983
3017
|
function CardIndexComparator() {
|
|
2984
3018
|
CardIndexComparator_instance = this;
|
|
2985
3019
|
}
|
|
2986
|
-
CardIndexComparator.prototype.
|
|
2987
|
-
return a.
|
|
3020
|
+
CardIndexComparator.prototype.b2h = function (a, b) {
|
|
3021
|
+
return a.o2f_1 - b.o2f_1 | 0;
|
|
2988
3022
|
};
|
|
2989
3023
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
2990
3024
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2991
|
-
return this.
|
|
3025
|
+
return this.b2h(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2992
3026
|
};
|
|
2993
3027
|
var CardIndexComparator_instance;
|
|
2994
3028
|
function CardIndexComparator_getInstance() {
|
|
@@ -3017,12 +3051,12 @@
|
|
|
3017
3051
|
function CardNumberComparator() {
|
|
3018
3052
|
CardNumberComparator_instance = this;
|
|
3019
3053
|
}
|
|
3020
|
-
CardNumberComparator.prototype.
|
|
3021
|
-
return b.
|
|
3054
|
+
CardNumberComparator.prototype.b2h = function (a, b) {
|
|
3055
|
+
return b.c2h() - a.c2h() | 0;
|
|
3022
3056
|
};
|
|
3023
3057
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
3024
3058
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3025
|
-
return this.
|
|
3059
|
+
return this.b2h(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3026
3060
|
};
|
|
3027
3061
|
var CardNumberComparator_instance;
|
|
3028
3062
|
function CardNumberComparator_getInstance() {
|
|
@@ -3031,7 +3065,7 @@
|
|
|
3031
3065
|
return CardNumberComparator_instance;
|
|
3032
3066
|
}
|
|
3033
3067
|
function getPoint(_this__u8e3s4, trump) {
|
|
3034
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
3068
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.d2h());
|
|
3035
3069
|
var tmp0_subject = _this__u8e3s4.zf();
|
|
3036
3070
|
var tmp0 = tmp0_subject.n4_1;
|
|
3037
3071
|
var tmp;
|
|
@@ -3065,8 +3099,8 @@
|
|
|
3065
3099
|
}
|
|
3066
3100
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
3067
3101
|
var minPoint = 0;
|
|
3068
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3069
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
3102
|
+
var isTrump = trump.equals(_this__u8e3s4.d2h());
|
|
3103
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.d2h());
|
|
3070
3104
|
var minGrowth;
|
|
3071
3105
|
var maxGrowth;
|
|
3072
3106
|
var tmp0_subject = _this__u8e3s4.zf();
|
|
@@ -3164,7 +3198,7 @@
|
|
|
3164
3198
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3165
3199
|
var tmp$ret$0;
|
|
3166
3200
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
3167
|
-
tmp$ret$0 = p1.
|
|
3201
|
+
tmp$ret$0 = p1.d2h().equals(element);
|
|
3168
3202
|
if (tmp$ret$0) {
|
|
3169
3203
|
tmp$ret$1 = true;
|
|
3170
3204
|
break $l$block;
|
|
@@ -3212,10 +3246,10 @@
|
|
|
3212
3246
|
function Companion_15() {
|
|
3213
3247
|
Companion_instance_15 = this;
|
|
3214
3248
|
}
|
|
3215
|
-
Companion_15.prototype.
|
|
3249
|
+
Companion_15.prototype.e2h = function (suit, cardNumber) {
|
|
3216
3250
|
return new GameCard(getNumber(Companion_getInstance_17(), cardNumber, suit));
|
|
3217
3251
|
};
|
|
3218
|
-
Companion_15.prototype.
|
|
3252
|
+
Companion_15.prototype.f2h = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
3219
3253
|
var tmp0_safe_receiver = previousStubCardWithMaxIndex;
|
|
3220
3254
|
var tmp;
|
|
3221
3255
|
if (tmp0_safe_receiver == null) {
|
|
@@ -3227,7 +3261,7 @@
|
|
|
3227
3261
|
var tmp_0;
|
|
3228
3262
|
var tmp$ret$0;
|
|
3229
3263
|
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
3230
|
-
tmp$ret$0 = tmp0_safe_receiver.
|
|
3264
|
+
tmp$ret$0 = tmp0_safe_receiver.g2h();
|
|
3231
3265
|
if (tmp$ret$0) {
|
|
3232
3266
|
tmp_0 = tmp0_safe_receiver;
|
|
3233
3267
|
} else {
|
|
@@ -3237,8 +3271,8 @@
|
|
|
3237
3271
|
tmp = tmp$ret$1;
|
|
3238
3272
|
}
|
|
3239
3273
|
var tmp1_safe_receiver = tmp;
|
|
3240
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3241
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_getInstance_17().
|
|
3274
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.o2f_1;
|
|
3275
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_getInstance_17().l2h(tmp2_safe_receiver, playerIndex, reverse);
|
|
3242
3276
|
var tmp_1;
|
|
3243
3277
|
if (tmp3_safe_receiver == null) {
|
|
3244
3278
|
tmp_1 = null;
|
|
@@ -3267,12 +3301,12 @@
|
|
|
3267
3301
|
var index = tmp_2;
|
|
3268
3302
|
return new GameCard(index);
|
|
3269
3303
|
};
|
|
3270
|
-
Companion_15.prototype.
|
|
3304
|
+
Companion_15.prototype.m2h = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $mask0, $handler) {
|
|
3271
3305
|
if (!(($mask0 & 4) === 0))
|
|
3272
3306
|
previousStubCardWithMaxIndex = null;
|
|
3273
3307
|
if (!(($mask0 & 8) === 0))
|
|
3274
3308
|
reverse = false;
|
|
3275
|
-
return this.
|
|
3309
|
+
return this.f2h(position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
3276
3310
|
};
|
|
3277
3311
|
var Companion_instance_15;
|
|
3278
3312
|
function Companion_getInstance_16() {
|
|
@@ -3381,7 +3415,7 @@
|
|
|
3381
3415
|
return tmp;
|
|
3382
3416
|
}
|
|
3383
3417
|
function _get_isShirt__vd98rp($this) {
|
|
3384
|
-
var tmp = $this.
|
|
3418
|
+
var tmp = $this.o2f_1;
|
|
3385
3419
|
Companion_getInstance_17();
|
|
3386
3420
|
return tmp === 52;
|
|
3387
3421
|
}
|
|
@@ -3390,12 +3424,12 @@
|
|
|
3390
3424
|
}
|
|
3391
3425
|
function Companion_16() {
|
|
3392
3426
|
Companion_instance_16 = this;
|
|
3393
|
-
this.
|
|
3394
|
-
this.
|
|
3395
|
-
this.
|
|
3396
|
-
this.
|
|
3427
|
+
this.h2h_1 = -1;
|
|
3428
|
+
this.i2h_1 = 13;
|
|
3429
|
+
this.j2h_1 = 52;
|
|
3430
|
+
this.k2h_1 = 53;
|
|
3397
3431
|
}
|
|
3398
|
-
Companion_16.prototype.
|
|
3432
|
+
Companion_16.prototype.l2h = function (_this__u8e3s4, playerIndex, reverse) {
|
|
3399
3433
|
var tmp;
|
|
3400
3434
|
if (reverse) {
|
|
3401
3435
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -3468,55 +3502,55 @@
|
|
|
3468
3502
|
}
|
|
3469
3503
|
function GameCard(index) {
|
|
3470
3504
|
Companion_getInstance_17();
|
|
3471
|
-
this.
|
|
3505
|
+
this.o2f_1 = index;
|
|
3472
3506
|
}
|
|
3473
|
-
GameCard.prototype.
|
|
3507
|
+
GameCard.prototype.d2h = function () {
|
|
3474
3508
|
var tmp;
|
|
3475
3509
|
Companion_getInstance_17();
|
|
3476
3510
|
var containsUpper = 13;
|
|
3477
|
-
var containsArg = this.
|
|
3511
|
+
var containsArg = this.o2f_1;
|
|
3478
3512
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3479
3513
|
tmp = Suit_DIAMOND_getInstance();
|
|
3480
3514
|
} else {
|
|
3481
|
-
var tmp_0 = this.
|
|
3515
|
+
var tmp_0 = this.o2f_1;
|
|
3482
3516
|
Companion_getInstance_17();
|
|
3483
3517
|
if (tmp_0 <= imul(13, 2)) {
|
|
3484
3518
|
tmp = Suit_SPADE_getInstance();
|
|
3485
3519
|
} else {
|
|
3486
|
-
var tmp_1 = this.
|
|
3520
|
+
var tmp_1 = this.o2f_1;
|
|
3487
3521
|
Companion_getInstance_17();
|
|
3488
3522
|
if (tmp_1 <= imul(13, 3)) {
|
|
3489
3523
|
tmp = Suit_HEART_getInstance();
|
|
3490
3524
|
} else {
|
|
3491
|
-
var tmp_2 = this.
|
|
3525
|
+
var tmp_2 = this.o2f_1;
|
|
3492
3526
|
Companion_getInstance_17();
|
|
3493
3527
|
if (tmp_2 <= imul(13, 4)) {
|
|
3494
3528
|
tmp = Suit_CLUB_getInstance();
|
|
3495
3529
|
} else {
|
|
3496
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3530
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.o2f_1);
|
|
3497
3531
|
}
|
|
3498
3532
|
}
|
|
3499
3533
|
}
|
|
3500
3534
|
}
|
|
3501
3535
|
return tmp;
|
|
3502
3536
|
};
|
|
3503
|
-
GameCard.prototype.
|
|
3537
|
+
GameCard.prototype.c2h = function () {
|
|
3504
3538
|
var tmp;
|
|
3505
|
-
if (this.
|
|
3539
|
+
if (this.g2h()) {
|
|
3506
3540
|
Companion_getInstance_17();
|
|
3507
3541
|
tmp = -1;
|
|
3508
3542
|
} else {
|
|
3509
|
-
var tmp_0 = this.
|
|
3543
|
+
var tmp_0 = this.o2f_1;
|
|
3510
3544
|
Companion_getInstance_17();
|
|
3511
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3545
|
+
tmp = tmp_0 - imul(13, getIndex(this.d2h())) | 0;
|
|
3512
3546
|
}
|
|
3513
3547
|
return tmp;
|
|
3514
3548
|
};
|
|
3515
3549
|
GameCard.prototype.zf = function () {
|
|
3516
|
-
return this.
|
|
3550
|
+
return this.g2h() ? CardName_STUB_getInstance() : getName(Companion_getInstance_17(), this.c2h());
|
|
3517
3551
|
};
|
|
3518
|
-
GameCard.prototype.
|
|
3519
|
-
var tmp = this.
|
|
3552
|
+
GameCard.prototype.g2h = function () {
|
|
3553
|
+
var tmp = this.o2f_1;
|
|
3520
3554
|
Companion_getInstance_17();
|
|
3521
3555
|
return tmp >= 53;
|
|
3522
3556
|
};
|
|
@@ -3524,13 +3558,13 @@
|
|
|
3524
3558
|
if (_get_isShirt__vd98rp(this)) {
|
|
3525
3559
|
return 'GameCard(SHIRT)';
|
|
3526
3560
|
}
|
|
3527
|
-
if (this.
|
|
3528
|
-
return 'GameCard(STUB, ' + this.
|
|
3561
|
+
if (this.g2h()) {
|
|
3562
|
+
return 'GameCard(STUB, ' + this.o2f_1 + ')';
|
|
3529
3563
|
}
|
|
3530
|
-
return 'GameCard(' + this.zf() + ', suit: ' + this.
|
|
3564
|
+
return 'GameCard(' + this.zf() + ', suit: ' + this.d2h() + ', index=' + this.o2f_1 + ')';
|
|
3531
3565
|
};
|
|
3532
3566
|
GameCard.prototype.hashCode = function () {
|
|
3533
|
-
return this.
|
|
3567
|
+
return this.o2f_1;
|
|
3534
3568
|
};
|
|
3535
3569
|
GameCard.prototype.equals = function (other) {
|
|
3536
3570
|
if (this === other)
|
|
@@ -3538,23 +3572,23 @@
|
|
|
3538
3572
|
if (!(other instanceof GameCard))
|
|
3539
3573
|
return false;
|
|
3540
3574
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3541
|
-
if (!(this.
|
|
3575
|
+
if (!(this.o2f_1 === tmp0_other_with_cast.o2f_1))
|
|
3542
3576
|
return false;
|
|
3543
3577
|
return true;
|
|
3544
3578
|
};
|
|
3545
3579
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3546
|
-
this.
|
|
3547
|
-
this.
|
|
3580
|
+
this.p2f_1 = playerId;
|
|
3581
|
+
this.q2f_1 = gameCard;
|
|
3548
3582
|
}
|
|
3549
3583
|
GameCardWIthPlayerId.prototype.w2c = function () {
|
|
3550
|
-
return this.
|
|
3584
|
+
return this.p2f_1;
|
|
3551
3585
|
};
|
|
3552
3586
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3553
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3587
|
+
return 'GameCardWIthPlayerId(playerId=' + this.p2f_1 + ', gameCard=' + this.q2f_1 + ')';
|
|
3554
3588
|
};
|
|
3555
3589
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3556
|
-
var result = getStringHashCode(this.
|
|
3557
|
-
result = imul(result, 31) + this.
|
|
3590
|
+
var result = getStringHashCode(this.p2f_1);
|
|
3591
|
+
result = imul(result, 31) + this.q2f_1.hashCode() | 0;
|
|
3558
3592
|
return result;
|
|
3559
3593
|
};
|
|
3560
3594
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3563,9 +3597,9 @@
|
|
|
3563
3597
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3564
3598
|
return false;
|
|
3565
3599
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3566
|
-
if (!(this.
|
|
3600
|
+
if (!(this.p2f_1 === tmp0_other_with_cast.p2f_1))
|
|
3567
3601
|
return false;
|
|
3568
|
-
if (!this.
|
|
3602
|
+
if (!this.q2f_1.equals(tmp0_other_with_cast.q2f_1))
|
|
3569
3603
|
return false;
|
|
3570
3604
|
return true;
|
|
3571
3605
|
};
|
|
@@ -3576,15 +3610,15 @@
|
|
|
3576
3610
|
}
|
|
3577
3611
|
});
|
|
3578
3612
|
function ProcessingCard(gameCard, payload) {
|
|
3579
|
-
this.
|
|
3580
|
-
this.
|
|
3613
|
+
this.n2h_1 = gameCard;
|
|
3614
|
+
this.o2h_1 = payload;
|
|
3581
3615
|
}
|
|
3582
3616
|
ProcessingCard.prototype.toString = function () {
|
|
3583
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3617
|
+
return 'ProcessingCard(gameCard=' + this.n2h_1 + ', payload=' + this.o2h_1 + ')';
|
|
3584
3618
|
};
|
|
3585
3619
|
ProcessingCard.prototype.hashCode = function () {
|
|
3586
|
-
var result = this.
|
|
3587
|
-
result = imul(result, 31) + (this.
|
|
3620
|
+
var result = this.n2h_1.hashCode();
|
|
3621
|
+
result = imul(result, 31) + (this.o2h_1 == null ? 0 : hashCode(this.o2h_1)) | 0;
|
|
3588
3622
|
return result;
|
|
3589
3623
|
};
|
|
3590
3624
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3593,9 +3627,9 @@
|
|
|
3593
3627
|
if (!(other instanceof ProcessingCard))
|
|
3594
3628
|
return false;
|
|
3595
3629
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3596
|
-
if (!this.
|
|
3630
|
+
if (!this.n2h_1.equals(tmp0_other_with_cast.n2h_1))
|
|
3597
3631
|
return false;
|
|
3598
|
-
if (!equals(this.
|
|
3632
|
+
if (!equals(this.o2h_1, tmp0_other_with_cast.o2h_1))
|
|
3599
3633
|
return false;
|
|
3600
3634
|
return true;
|
|
3601
3635
|
};
|
|
@@ -3610,10 +3644,10 @@
|
|
|
3610
3644
|
Companion_instance_17 = this;
|
|
3611
3645
|
var tmp = this;
|
|
3612
3646
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3613
|
-
tmp.
|
|
3647
|
+
tmp.p2h_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3614
3648
|
}
|
|
3615
3649
|
Companion_17.prototype.l1w = function () {
|
|
3616
|
-
return this.
|
|
3650
|
+
return this.p2h_1.j1();
|
|
3617
3651
|
};
|
|
3618
3652
|
Companion_17.prototype.b1l = function (typeParamsSerializers) {
|
|
3619
3653
|
return this.l1w();
|
|
@@ -3682,81 +3716,81 @@
|
|
|
3682
3716
|
return tmp;
|
|
3683
3717
|
}
|
|
3684
3718
|
function _no_name_provided__qut3iv($logger) {
|
|
3685
|
-
this.
|
|
3719
|
+
this.r2h_1 = $logger;
|
|
3686
3720
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3687
3721
|
}
|
|
3688
3722
|
_no_name_provided__qut3iv.prototype.vm = function (context, exception) {
|
|
3689
3723
|
var tmp = 'AsyncProvider error: ' + exception;
|
|
3690
|
-
return this.
|
|
3724
|
+
return this.r2h_1.s2h('AsyncErrorHandler', tmp, exception, null, 8, null);
|
|
3691
3725
|
};
|
|
3692
3726
|
function AsyncProviderImpl(logger) {
|
|
3693
3727
|
var tmp = this;
|
|
3694
|
-
tmp.
|
|
3728
|
+
tmp.t2h_1 = Job$default(null, 1, null);
|
|
3695
3729
|
var tmp_0 = this;
|
|
3696
3730
|
var tmp$ret$0;
|
|
3697
3731
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3698
3732
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3699
|
-
tmp_0.
|
|
3700
|
-
this.
|
|
3701
|
-
this.
|
|
3733
|
+
tmp_0.u2h_1 = tmp$ret$0;
|
|
3734
|
+
this.v2h_1 = CoroutineScope(Dispatchers_getInstance().vq().h4(this.t2h_1));
|
|
3735
|
+
this.w2h_1 = CoroutineScope(Dispatchers_getInstance().rq_1.h4(this.t2h_1));
|
|
3702
3736
|
}
|
|
3703
|
-
AsyncProviderImpl.prototype.
|
|
3704
|
-
return this.
|
|
3705
|
-
};
|
|
3706
|
-
AsyncProviderImpl.prototype.w2h = function (context, block) {
|
|
3707
|
-
return launch$default(this.t2h_1, context, null, block, 2, null);
|
|
3737
|
+
AsyncProviderImpl.prototype.x2h = function () {
|
|
3738
|
+
return this.u2h_1;
|
|
3708
3739
|
};
|
|
3709
3740
|
AsyncProviderImpl.prototype.y2h = function (context, block) {
|
|
3710
|
-
return launch$default(this.
|
|
3741
|
+
return launch$default(this.v2h_1, context, null, block, 2, null);
|
|
3742
|
+
};
|
|
3743
|
+
AsyncProviderImpl.prototype.a2i = function (context, block) {
|
|
3744
|
+
return launch$default(this.w2h_1, context, null, block, 2, null);
|
|
3711
3745
|
};
|
|
3712
3746
|
AsyncProviderImpl.prototype.nk = function () {
|
|
3713
|
-
if (!this.
|
|
3714
|
-
this.
|
|
3747
|
+
if (!this.t2h_1.np()) {
|
|
3748
|
+
this.t2h_1.lj(null, 1, null);
|
|
3715
3749
|
}
|
|
3716
3750
|
};
|
|
3717
3751
|
function AsyncProvider() {
|
|
3718
3752
|
}
|
|
3719
3753
|
function UUIDIdsProvider() {
|
|
3720
3754
|
}
|
|
3721
|
-
UUIDIdsProvider.prototype.
|
|
3755
|
+
UUIDIdsProvider.prototype.c2i = function () {
|
|
3722
3756
|
return uuid4().toString();
|
|
3723
3757
|
};
|
|
3724
3758
|
function IdsProvider() {
|
|
3725
3759
|
}
|
|
3726
3760
|
function JobsProviderImpl(logger) {
|
|
3727
|
-
this.
|
|
3761
|
+
this.d2i_1 = logger;
|
|
3728
3762
|
var tmp = this;
|
|
3729
3763
|
var tmp$ret$0;
|
|
3730
3764
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3731
3765
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
3732
|
-
tmp.
|
|
3766
|
+
tmp.e2i_1 = tmp$ret$0;
|
|
3733
3767
|
}
|
|
3734
|
-
JobsProviderImpl.prototype.
|
|
3735
|
-
if (this.
|
|
3768
|
+
JobsProviderImpl.prototype.f2i = function (timerTag, job) {
|
|
3769
|
+
if (this.h2i(timerTag)) {
|
|
3736
3770
|
var tmp = 'Timer already exists for that tag: ' + timerTag;
|
|
3737
|
-
this.
|
|
3771
|
+
this.d2i_1.g2i(null, tmp, null, 5, null);
|
|
3738
3772
|
}
|
|
3739
3773
|
// Inline function 'kotlin.collections.set' call
|
|
3740
|
-
var tmp0_set = this.
|
|
3774
|
+
var tmp0_set = this.e2i_1;
|
|
3741
3775
|
tmp0_set.w2(timerTag, job);
|
|
3742
3776
|
};
|
|
3743
|
-
JobsProviderImpl.prototype.
|
|
3744
|
-
return this.
|
|
3777
|
+
JobsProviderImpl.prototype.h2i = function (timerTag) {
|
|
3778
|
+
return this.e2i_1.q1(timerTag);
|
|
3745
3779
|
};
|
|
3746
|
-
JobsProviderImpl.prototype.
|
|
3747
|
-
if (!this.
|
|
3780
|
+
JobsProviderImpl.prototype.i2i = function (timerTag) {
|
|
3781
|
+
if (!this.h2i(timerTag)) {
|
|
3748
3782
|
var tmp = "Can't find timer for that tag: " + timerTag;
|
|
3749
|
-
this.
|
|
3783
|
+
this.d2i_1.g2i(null, tmp, null, 5, null);
|
|
3750
3784
|
}
|
|
3751
|
-
this.
|
|
3785
|
+
this.e2i_1.sb(timerTag);
|
|
3752
3786
|
};
|
|
3753
|
-
JobsProviderImpl.prototype.
|
|
3787
|
+
JobsProviderImpl.prototype.j2i = function (timers) {
|
|
3754
3788
|
// Inline function 'kotlin.collections.forEach' call
|
|
3755
3789
|
var tmp0_iterator = timers.g();
|
|
3756
3790
|
while (tmp0_iterator.h()) {
|
|
3757
3791
|
var element = tmp0_iterator.i();
|
|
3758
3792
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3759
|
-
var timer = this.
|
|
3793
|
+
var timer = this.e2i_1.t1(element);
|
|
3760
3794
|
var tmp0_safe_receiver = timer;
|
|
3761
3795
|
if (tmp0_safe_receiver == null)
|
|
3762
3796
|
null;
|
|
@@ -3764,11 +3798,11 @@
|
|
|
3764
3798
|
tmp0_safe_receiver.lj(null, 1, null);
|
|
3765
3799
|
}
|
|
3766
3800
|
}
|
|
3767
|
-
this.
|
|
3801
|
+
this.e2i_1.u1().qa(toSet(timers));
|
|
3768
3802
|
};
|
|
3769
|
-
JobsProviderImpl.prototype.
|
|
3770
|
-
var timer = this.
|
|
3771
|
-
this.
|
|
3803
|
+
JobsProviderImpl.prototype.k2i = function (timerTag) {
|
|
3804
|
+
var timer = this.e2i_1.t1(timerTag);
|
|
3805
|
+
this.e2i_1.sb(timerTag);
|
|
3772
3806
|
var tmp0_safe_receiver = timer;
|
|
3773
3807
|
if (tmp0_safe_receiver == null)
|
|
3774
3808
|
null;
|
|
@@ -3922,10 +3956,10 @@
|
|
|
3922
3956
|
}
|
|
3923
3957
|
function createStore$dispatch(currentState, currentReducer, $logger, action) {
|
|
3924
3958
|
try {
|
|
3925
|
-
currentState.fy(currentReducer._v.
|
|
3959
|
+
currentState.fy(currentReducer._v.l2i(currentState.j1(), action));
|
|
3926
3960
|
} catch ($p) {
|
|
3927
3961
|
if ($p instanceof Exception) {
|
|
3928
|
-
$logger.
|
|
3962
|
+
$logger.s2h('createStore.dispatch', null, $p, null, 10, null);
|
|
3929
3963
|
} else {
|
|
3930
3964
|
throw $p;
|
|
3931
3965
|
}
|
|
@@ -3957,46 +3991,46 @@
|
|
|
3957
3991
|
return l;
|
|
3958
3992
|
}
|
|
3959
3993
|
function createStore$2($currentState, $currentReducer, $logger) {
|
|
3960
|
-
this.
|
|
3994
|
+
this.o2i_1 = $currentState;
|
|
3961
3995
|
var tmp = this;
|
|
3962
|
-
tmp.
|
|
3996
|
+
tmp.m2i_1 = createStore$dispatch$ref($currentState, $currentReducer, $logger);
|
|
3963
3997
|
var tmp_0 = this;
|
|
3964
|
-
tmp_0.
|
|
3998
|
+
tmp_0.n2i_1 = createStore$replaceReducer$ref($currentReducer, $currentState, $logger);
|
|
3965
3999
|
}
|
|
3966
|
-
createStore$2.prototype.
|
|
3967
|
-
this.
|
|
3968
|
-
};
|
|
3969
|
-
createStore$2.prototype.o2i = function () {
|
|
3970
|
-
return this.k2i_1;
|
|
4000
|
+
createStore$2.prototype.p2i = function (_set____db54di) {
|
|
4001
|
+
this.m2i_1 = _set____db54di;
|
|
3971
4002
|
};
|
|
3972
|
-
createStore$2.prototype.
|
|
4003
|
+
createStore$2.prototype.q2i = function () {
|
|
3973
4004
|
return this.m2i_1;
|
|
3974
4005
|
};
|
|
3975
|
-
createStore$2.prototype.
|
|
3976
|
-
return this.
|
|
4006
|
+
createStore$2.prototype.r2i = function () {
|
|
4007
|
+
return this.o2i_1;
|
|
4008
|
+
};
|
|
4009
|
+
createStore$2.prototype.s2i = function () {
|
|
4010
|
+
return this.n2i_1;
|
|
3977
4011
|
};
|
|
3978
4012
|
createStore$2.prototype.xi = function () {
|
|
3979
|
-
return this.
|
|
4013
|
+
return this.o2i_1.j1();
|
|
3980
4014
|
};
|
|
3981
4015
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
3982
4016
|
configurable: true,
|
|
3983
4017
|
get: function () {
|
|
3984
|
-
return this.
|
|
4018
|
+
return this.q2i();
|
|
3985
4019
|
},
|
|
3986
4020
|
set: function (value) {
|
|
3987
|
-
this.
|
|
4021
|
+
this.p2i(value);
|
|
3988
4022
|
}
|
|
3989
4023
|
});
|
|
3990
4024
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
3991
4025
|
configurable: true,
|
|
3992
4026
|
get: function () {
|
|
3993
|
-
return this.
|
|
4027
|
+
return this.r2i();
|
|
3994
4028
|
}
|
|
3995
4029
|
});
|
|
3996
4030
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
3997
4031
|
configurable: true,
|
|
3998
4032
|
get: function () {
|
|
3999
|
-
return this.
|
|
4033
|
+
return this.s2i();
|
|
4000
4034
|
}
|
|
4001
4035
|
});
|
|
4002
4036
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
@@ -4029,10 +4063,10 @@
|
|
|
4029
4063
|
return new middleware$1(dispatch);
|
|
4030
4064
|
}
|
|
4031
4065
|
function middleware$1($dispatch) {
|
|
4032
|
-
this.
|
|
4066
|
+
this.w2i_1 = $dispatch;
|
|
4033
4067
|
}
|
|
4034
|
-
middleware$1.prototype.
|
|
4035
|
-
this.
|
|
4068
|
+
middleware$1.prototype.v2i = function (store, next, action) {
|
|
4069
|
+
this.w2i_1(store, next, action);
|
|
4036
4070
|
};
|
|
4037
4071
|
function Reducer() {
|
|
4038
4072
|
}
|
|
@@ -4040,9 +4074,9 @@
|
|
|
4040
4074
|
return new combineReducers$1(reducers);
|
|
4041
4075
|
}
|
|
4042
4076
|
function combineReducers$1($reducers) {
|
|
4043
|
-
this.
|
|
4077
|
+
this.x2i_1 = $reducers;
|
|
4044
4078
|
}
|
|
4045
|
-
combineReducers$1.prototype.
|
|
4079
|
+
combineReducers$1.prototype.y2i = function (state, action) {
|
|
4046
4080
|
var tmp$ret$4;
|
|
4047
4081
|
// Inline function 'kotlin.collections.fold' call
|
|
4048
4082
|
var tmp$ret$2;
|
|
@@ -4050,7 +4084,7 @@
|
|
|
4050
4084
|
var tmp$ret$1;
|
|
4051
4085
|
// Inline function 'kotlin.collections.filterTo' call
|
|
4052
4086
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
4053
|
-
var indexedObject = this.
|
|
4087
|
+
var indexedObject = this.x2i_1;
|
|
4054
4088
|
var inductionVariable = 0;
|
|
4055
4089
|
var last = indexedObject.length;
|
|
4056
4090
|
while (inductionVariable < last) {
|
|
@@ -4058,7 +4092,7 @@
|
|
|
4058
4092
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4059
4093
|
var tmp$ret$0;
|
|
4060
4094
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4061
|
-
tmp$ret$0 = element.
|
|
4095
|
+
tmp$ret$0 = element.u2i(action);
|
|
4062
4096
|
if (tmp$ret$0) {
|
|
4063
4097
|
tmp0_filterTo.a(element);
|
|
4064
4098
|
}
|
|
@@ -4073,14 +4107,14 @@
|
|
|
4073
4107
|
var tmp$ret$3;
|
|
4074
4108
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4075
4109
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
4076
|
-
tmp$ret$3 = element_0.
|
|
4110
|
+
tmp$ret$3 = element_0.l2i(tmp1__anonymous__uwfjfc, action);
|
|
4077
4111
|
accumulator = tmp$ret$3;
|
|
4078
4112
|
}
|
|
4079
4113
|
tmp$ret$4 = accumulator;
|
|
4080
4114
|
return tmp$ret$4;
|
|
4081
4115
|
};
|
|
4082
|
-
combineReducers$1.prototype.
|
|
4083
|
-
return this.
|
|
4116
|
+
combineReducers$1.prototype.l2i = function (state, action) {
|
|
4117
|
+
return this.y2i((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
4084
4118
|
};
|
|
4085
4119
|
function Store() {
|
|
4086
4120
|
}
|
|
@@ -4091,7 +4125,7 @@
|
|
|
4091
4125
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
4092
4126
|
configurable: true,
|
|
4093
4127
|
get: function () {
|
|
4094
|
-
return this.
|
|
4128
|
+
return this.t2i();
|
|
4095
4129
|
}
|
|
4096
4130
|
});
|
|
4097
4131
|
var INIT_instance;
|
|
@@ -4107,7 +4141,7 @@
|
|
|
4107
4141
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
4108
4142
|
configurable: true,
|
|
4109
4143
|
get: function () {
|
|
4110
|
-
return this.
|
|
4144
|
+
return this.t2i();
|
|
4111
4145
|
}
|
|
4112
4146
|
});
|
|
4113
4147
|
var REPLACE_instance;
|
|
@@ -4121,7 +4155,7 @@
|
|
|
4121
4155
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
4122
4156
|
configurable: true,
|
|
4123
4157
|
get: function () {
|
|
4124
|
-
return this.
|
|
4158
|
+
return this.t2i();
|
|
4125
4159
|
}
|
|
4126
4160
|
});
|
|
4127
4161
|
function BufferedAction() {
|
|
@@ -4132,16 +4166,16 @@
|
|
|
4132
4166
|
}
|
|
4133
4167
|
function StopTimerAction(timerTag) {
|
|
4134
4168
|
TimerAction.call(this);
|
|
4135
|
-
this.
|
|
4169
|
+
this.a2j_1 = timerTag;
|
|
4136
4170
|
}
|
|
4137
|
-
StopTimerAction.prototype.
|
|
4138
|
-
return this.
|
|
4171
|
+
StopTimerAction.prototype.b2j = function () {
|
|
4172
|
+
return this.a2j_1;
|
|
4139
4173
|
};
|
|
4140
4174
|
StopTimerAction.prototype.toString = function () {
|
|
4141
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
4175
|
+
return 'StopTimerAction(timerTag=' + this.a2j_1 + ')';
|
|
4142
4176
|
};
|
|
4143
4177
|
StopTimerAction.prototype.hashCode = function () {
|
|
4144
|
-
return hashCode(this.
|
|
4178
|
+
return hashCode(this.a2j_1);
|
|
4145
4179
|
};
|
|
4146
4180
|
StopTimerAction.prototype.equals = function (other) {
|
|
4147
4181
|
if (this === other)
|
|
@@ -4149,14 +4183,14 @@
|
|
|
4149
4183
|
if (!(other instanceof StopTimerAction))
|
|
4150
4184
|
return false;
|
|
4151
4185
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
4152
|
-
if (!equals(this.
|
|
4186
|
+
if (!equals(this.a2j_1, tmp0_other_with_cast.a2j_1))
|
|
4153
4187
|
return false;
|
|
4154
4188
|
return true;
|
|
4155
4189
|
};
|
|
4156
4190
|
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
4157
4191
|
configurable: true,
|
|
4158
4192
|
get: function () {
|
|
4159
|
-
return this.
|
|
4193
|
+
return this.t2i();
|
|
4160
4194
|
}
|
|
4161
4195
|
});
|
|
4162
4196
|
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
@@ -4172,22 +4206,22 @@
|
|
|
4172
4206
|
}
|
|
4173
4207
|
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
4174
4208
|
TimerAction.call(this);
|
|
4175
|
-
this.
|
|
4176
|
-
this.
|
|
4177
|
-
this.
|
|
4178
|
-
this.
|
|
4209
|
+
this.c2j_1 = timerTag;
|
|
4210
|
+
this.d2j_1 = delayMillis;
|
|
4211
|
+
this.e2j_1 = initialDelay;
|
|
4212
|
+
this.f2j_1 = type;
|
|
4179
4213
|
}
|
|
4180
|
-
StartTimerAction.prototype.
|
|
4181
|
-
return this.
|
|
4214
|
+
StartTimerAction.prototype.b2j = function () {
|
|
4215
|
+
return this.c2j_1;
|
|
4182
4216
|
};
|
|
4183
4217
|
StartTimerAction.prototype.toString = function () {
|
|
4184
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
4218
|
+
return 'StartTimerAction(timerTag=' + this.c2j_1 + ', delayMillis=' + toString_0(this.d2j_1) + ', initialDelay=' + toString_0(this.e2j_1) + ', type=' + this.f2j_1 + ')';
|
|
4185
4219
|
};
|
|
4186
4220
|
StartTimerAction.prototype.hashCode = function () {
|
|
4187
|
-
var result = hashCode(this.
|
|
4188
|
-
result = imul(result, 31) + this.b2j_1.hashCode() | 0;
|
|
4189
|
-
result = imul(result, 31) + this.c2j_1.hashCode() | 0;
|
|
4221
|
+
var result = hashCode(this.c2j_1);
|
|
4190
4222
|
result = imul(result, 31) + this.d2j_1.hashCode() | 0;
|
|
4223
|
+
result = imul(result, 31) + this.e2j_1.hashCode() | 0;
|
|
4224
|
+
result = imul(result, 31) + this.f2j_1.hashCode() | 0;
|
|
4191
4225
|
return result;
|
|
4192
4226
|
};
|
|
4193
4227
|
StartTimerAction.prototype.equals = function (other) {
|
|
@@ -4196,20 +4230,20 @@
|
|
|
4196
4230
|
if (!(other instanceof StartTimerAction))
|
|
4197
4231
|
return false;
|
|
4198
4232
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
4199
|
-
if (!equals(this.
|
|
4233
|
+
if (!equals(this.c2j_1, tmp0_other_with_cast.c2j_1))
|
|
4200
4234
|
return false;
|
|
4201
|
-
if (!this.
|
|
4235
|
+
if (!this.d2j_1.equals(tmp0_other_with_cast.d2j_1))
|
|
4202
4236
|
return false;
|
|
4203
|
-
if (!this.
|
|
4237
|
+
if (!this.e2j_1.equals(tmp0_other_with_cast.e2j_1))
|
|
4204
4238
|
return false;
|
|
4205
|
-
if (!this.
|
|
4239
|
+
if (!this.f2j_1.equals(tmp0_other_with_cast.f2j_1))
|
|
4206
4240
|
return false;
|
|
4207
4241
|
return true;
|
|
4208
4242
|
};
|
|
4209
4243
|
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
4210
4244
|
configurable: true,
|
|
4211
4245
|
get: function () {
|
|
4212
|
-
return this.
|
|
4246
|
+
return this.t2i();
|
|
4213
4247
|
}
|
|
4214
4248
|
});
|
|
4215
4249
|
var TimerType_DELAY_instance;
|
|
@@ -4227,21 +4261,21 @@
|
|
|
4227
4261
|
}
|
|
4228
4262
|
function TimerTickAction(timerTag, type) {
|
|
4229
4263
|
TimerAction.call(this);
|
|
4230
|
-
this.
|
|
4231
|
-
this.
|
|
4264
|
+
this.g2j_1 = timerTag;
|
|
4265
|
+
this.h2j_1 = type;
|
|
4232
4266
|
}
|
|
4233
|
-
TimerTickAction.prototype.
|
|
4234
|
-
return this.
|
|
4267
|
+
TimerTickAction.prototype.b2j = function () {
|
|
4268
|
+
return this.g2j_1;
|
|
4235
4269
|
};
|
|
4236
4270
|
TimerTickAction.prototype.notValidateWhenFinished = function () {
|
|
4237
|
-
return this.
|
|
4271
|
+
return this.g2j_1.notValidateWhenFinished();
|
|
4238
4272
|
};
|
|
4239
4273
|
TimerTickAction.prototype.toString = function () {
|
|
4240
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4274
|
+
return 'TimerTickAction(timerTag=' + this.g2j_1 + ', type=' + this.h2j_1 + ')';
|
|
4241
4275
|
};
|
|
4242
4276
|
TimerTickAction.prototype.hashCode = function () {
|
|
4243
|
-
var result = hashCode(this.
|
|
4244
|
-
result = imul(result, 31) + this.
|
|
4277
|
+
var result = hashCode(this.g2j_1);
|
|
4278
|
+
result = imul(result, 31) + this.h2j_1.hashCode() | 0;
|
|
4245
4279
|
return result;
|
|
4246
4280
|
};
|
|
4247
4281
|
TimerTickAction.prototype.equals = function (other) {
|
|
@@ -4250,16 +4284,16 @@
|
|
|
4250
4284
|
if (!(other instanceof TimerTickAction))
|
|
4251
4285
|
return false;
|
|
4252
4286
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4253
|
-
if (!equals(this.
|
|
4287
|
+
if (!equals(this.g2j_1, tmp0_other_with_cast.g2j_1))
|
|
4254
4288
|
return false;
|
|
4255
|
-
if (!this.
|
|
4289
|
+
if (!this.h2j_1.equals(tmp0_other_with_cast.h2j_1))
|
|
4256
4290
|
return false;
|
|
4257
4291
|
return true;
|
|
4258
4292
|
};
|
|
4259
4293
|
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4260
4294
|
configurable: true,
|
|
4261
4295
|
get: function () {
|
|
4262
|
-
return this.
|
|
4296
|
+
return this.t2i();
|
|
4263
4297
|
}
|
|
4264
4298
|
});
|
|
4265
4299
|
function TimerAction() {
|
|
@@ -4267,7 +4301,7 @@
|
|
|
4267
4301
|
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4268
4302
|
configurable: true,
|
|
4269
4303
|
get: function () {
|
|
4270
|
-
return this.
|
|
4304
|
+
return this.t2i();
|
|
4271
4305
|
}
|
|
4272
4306
|
});
|
|
4273
4307
|
function TimerType_DELAY_getInstance() {
|
|
@@ -4293,7 +4327,7 @@
|
|
|
4293
4327
|
} catch ($p) {
|
|
4294
4328
|
var tmp_0;
|
|
4295
4329
|
if ($p instanceof Exception) {
|
|
4296
|
-
$logger.
|
|
4330
|
+
$logger.i2j('StoreEnhancer', 'StoreEnhancer error: ' + $p, $p, action);
|
|
4297
4331
|
tmp_0 = Unit_getInstance();
|
|
4298
4332
|
} else {
|
|
4299
4333
|
throw $p;
|
|
@@ -4321,7 +4355,7 @@
|
|
|
4321
4355
|
}
|
|
4322
4356
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
4323
4357
|
return function (action) {
|
|
4324
|
-
$tmp0__anonymous__1nv1x1.
|
|
4358
|
+
$tmp0__anonymous__1nv1x1.v2i($store, $tmp1__anonymous__6ijp4k, action);
|
|
4325
4359
|
return Unit_getInstance();
|
|
4326
4360
|
};
|
|
4327
4361
|
}
|
|
@@ -4340,7 +4374,7 @@
|
|
|
4340
4374
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4341
4375
|
var tmp$ret$0;
|
|
4342
4376
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4343
|
-
tmp$ret$0 = element.
|
|
4377
|
+
tmp$ret$0 = element.u2i(action);
|
|
4344
4378
|
if (tmp$ret$0) {
|
|
4345
4379
|
tmp0_filterTo.a(element);
|
|
4346
4380
|
}
|
|
@@ -4388,9 +4422,9 @@
|
|
|
4388
4422
|
return tmp$ret$0;
|
|
4389
4423
|
}
|
|
4390
4424
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4391
|
-
this.
|
|
4392
|
-
this.
|
|
4393
|
-
this.
|
|
4425
|
+
this.r2j_1 = $jobsProvider;
|
|
4426
|
+
this.s2j_1 = $tmp0__anonymous__1nv1x1;
|
|
4427
|
+
this.t2j_1 = $store;
|
|
4394
4428
|
CoroutineImpl.call(this, resultContinuation);
|
|
4395
4429
|
}
|
|
4396
4430
|
timerMiddleware$o$handle$slambda$slambda.prototype.k12 = function ($this$launchStore, $cont) {
|
|
@@ -4409,8 +4443,8 @@
|
|
|
4409
4443
|
var tmp = this.xg_1;
|
|
4410
4444
|
if (tmp === 0) {
|
|
4411
4445
|
this.yg_1 = 1;
|
|
4412
|
-
if (this.
|
|
4413
|
-
this.
|
|
4446
|
+
if (this.r2j_1.h2i(this.s2j_1.b2j())) {
|
|
4447
|
+
this.t2j_1.dispatch(new TimerTickAction(this.s2j_1.b2j(), TimerType_DELAY_getInstance()));
|
|
4414
4448
|
}
|
|
4415
4449
|
return Unit_getInstance();
|
|
4416
4450
|
} else if (tmp === 1) {
|
|
@@ -4422,8 +4456,8 @@
|
|
|
4422
4456
|
while (true);
|
|
4423
4457
|
};
|
|
4424
4458
|
timerMiddleware$o$handle$slambda$slambda.prototype.l12 = function ($this$launchStore, completion) {
|
|
4425
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4426
|
-
i.
|
|
4459
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.r2j_1, this.s2j_1, this.t2j_1, completion);
|
|
4460
|
+
i.u2j_1 = $this$launchStore;
|
|
4427
4461
|
return i;
|
|
4428
4462
|
};
|
|
4429
4463
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
@@ -4435,9 +4469,9 @@
|
|
|
4435
4469
|
return l;
|
|
4436
4470
|
}
|
|
4437
4471
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4438
|
-
this.
|
|
4439
|
-
this.
|
|
4440
|
-
this.
|
|
4472
|
+
this.d2k_1 = $jobsProvider;
|
|
4473
|
+
this.e2k_1 = $tmp0__anonymous__1nv1x1;
|
|
4474
|
+
this.f2k_1 = $store;
|
|
4441
4475
|
CoroutineImpl.call(this, resultContinuation);
|
|
4442
4476
|
}
|
|
4443
4477
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.k12 = function ($this$launchStore, $cont) {
|
|
@@ -4456,8 +4490,8 @@
|
|
|
4456
4490
|
var tmp = this.xg_1;
|
|
4457
4491
|
if (tmp === 0) {
|
|
4458
4492
|
this.yg_1 = 1;
|
|
4459
|
-
if (this.
|
|
4460
|
-
this.
|
|
4493
|
+
if (this.d2k_1.h2i(this.e2k_1.b2j())) {
|
|
4494
|
+
this.f2k_1.dispatch(new TimerTickAction(this.e2k_1.b2j(), TimerType_INTERVAL_getInstance()));
|
|
4461
4495
|
}
|
|
4462
4496
|
return Unit_getInstance();
|
|
4463
4497
|
} else if (tmp === 1) {
|
|
@@ -4469,8 +4503,8 @@
|
|
|
4469
4503
|
while (true);
|
|
4470
4504
|
};
|
|
4471
4505
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.l12 = function ($this$launchStore, completion) {
|
|
4472
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4473
|
-
i.
|
|
4506
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.d2k_1, this.e2k_1, this.f2k_1, completion);
|
|
4507
|
+
i.g2k_1 = $this$launchStore;
|
|
4474
4508
|
return i;
|
|
4475
4509
|
};
|
|
4476
4510
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
@@ -4482,10 +4516,10 @@
|
|
|
4482
4516
|
return l;
|
|
4483
4517
|
}
|
|
4484
4518
|
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4485
|
-
this.
|
|
4486
|
-
this.
|
|
4487
|
-
this.
|
|
4488
|
-
this.
|
|
4519
|
+
this.p2k_1 = $tmp0__anonymous__1nv1x1;
|
|
4520
|
+
this.q2k_1 = $asyncProvider;
|
|
4521
|
+
this.r2k_1 = $jobsProvider;
|
|
4522
|
+
this.s2k_1 = $store;
|
|
4489
4523
|
CoroutineImpl.call(this, resultContinuation);
|
|
4490
4524
|
}
|
|
4491
4525
|
timerMiddleware$o$handle$slambda.prototype.k12 = function ($this$launchWorker, $cont) {
|
|
@@ -4505,9 +4539,9 @@
|
|
|
4505
4539
|
switch (tmp) {
|
|
4506
4540
|
case 0:
|
|
4507
4541
|
this.yg_1 = 10;
|
|
4508
|
-
if (!this.
|
|
4542
|
+
if (!this.p2k_1.e2j_1.equals(new Long(0, 0)) ? this.p2k_1.f2j_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4509
4543
|
this.xg_1 = 1;
|
|
4510
|
-
suspendResult = delay(this.
|
|
4544
|
+
suspendResult = delay(this.p2k_1.e2j_1, this);
|
|
4511
4545
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4512
4546
|
return suspendResult;
|
|
4513
4547
|
}
|
|
@@ -4522,20 +4556,20 @@
|
|
|
4522
4556
|
this.xg_1 = 2;
|
|
4523
4557
|
continue $sm;
|
|
4524
4558
|
case 2:
|
|
4525
|
-
this.
|
|
4526
|
-
this.
|
|
4527
|
-
if (this.
|
|
4559
|
+
this.u2k_1 = this.p2k_1.f2j_1;
|
|
4560
|
+
this.v2k_1 = this.u2k_1.n4_1;
|
|
4561
|
+
if (this.v2k_1 === 0) {
|
|
4528
4562
|
this.xg_1 = 8;
|
|
4529
|
-
suspendResult = delay(this.
|
|
4563
|
+
suspendResult = delay(this.p2k_1.d2j_1, this);
|
|
4530
4564
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4531
4565
|
return suspendResult;
|
|
4532
4566
|
}
|
|
4533
4567
|
continue $sm;
|
|
4534
4568
|
} else {
|
|
4535
|
-
if (this.
|
|
4536
|
-
if (!this.
|
|
4569
|
+
if (this.v2k_1 === 1) {
|
|
4570
|
+
if (!this.p2k_1.e2j_1.equals(new Long(0, 0))) {
|
|
4537
4571
|
this.xg_1 = 3;
|
|
4538
|
-
suspendResult = delay(this.
|
|
4572
|
+
suspendResult = delay(this.p2k_1.e2j_1, this);
|
|
4539
4573
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4540
4574
|
return suspendResult;
|
|
4541
4575
|
}
|
|
@@ -4558,15 +4592,15 @@
|
|
|
4558
4592
|
this.xg_1 = 5;
|
|
4559
4593
|
continue $sm;
|
|
4560
4594
|
case 5:
|
|
4561
|
-
if (!get_isActive(this.
|
|
4595
|
+
if (!get_isActive(this.t2k_1)) {
|
|
4562
4596
|
this.xg_1 = 7;
|
|
4563
4597
|
continue $sm;
|
|
4564
4598
|
}
|
|
4565
4599
|
|
|
4566
|
-
this.
|
|
4600
|
+
this.q2k_1.z2h(null, timerMiddleware$o$handle$slambda$slambda_2(this.r2k_1, this.p2k_1, this.s2k_1, null), 1, null);
|
|
4567
4601
|
;
|
|
4568
4602
|
this.xg_1 = 6;
|
|
4569
|
-
suspendResult = delay(this.
|
|
4603
|
+
suspendResult = delay(this.p2k_1.e2j_1, this);
|
|
4570
4604
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4571
4605
|
return suspendResult;
|
|
4572
4606
|
}
|
|
@@ -4579,7 +4613,7 @@
|
|
|
4579
4613
|
this.xg_1 = 9;
|
|
4580
4614
|
continue $sm;
|
|
4581
4615
|
case 8:
|
|
4582
|
-
this.
|
|
4616
|
+
this.q2k_1.z2h(null, timerMiddleware$o$handle$slambda$slambda_0(this.r2k_1, this.p2k_1, this.s2k_1, null), 1, null);
|
|
4583
4617
|
;
|
|
4584
4618
|
this.xg_1 = 9;
|
|
4585
4619
|
continue $sm;
|
|
@@ -4599,8 +4633,8 @@
|
|
|
4599
4633
|
while (true);
|
|
4600
4634
|
};
|
|
4601
4635
|
timerMiddleware$o$handle$slambda.prototype.l12 = function ($this$launchWorker, completion) {
|
|
4602
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
4603
|
-
i.
|
|
4636
|
+
var i = new timerMiddleware$o$handle$slambda(this.p2k_1, this.q2k_1, this.r2k_1, this.s2k_1, completion);
|
|
4637
|
+
i.t2k_1 = $this$launchWorker;
|
|
4604
4638
|
return i;
|
|
4605
4639
|
};
|
|
4606
4640
|
function timerMiddleware$o$handle$slambda_0($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
@@ -4612,34 +4646,34 @@
|
|
|
4612
4646
|
return l;
|
|
4613
4647
|
}
|
|
4614
4648
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4615
|
-
this.
|
|
4616
|
-
this.
|
|
4649
|
+
this.w2k_1 = $asyncProvider;
|
|
4650
|
+
this.x2k_1 = $jobsProvider;
|
|
4617
4651
|
}
|
|
4618
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4652
|
+
_no_name_provided__qut3iv_0.prototype.u2i = function (action) {
|
|
4619
4653
|
return action instanceof TimerAction;
|
|
4620
4654
|
};
|
|
4621
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4655
|
+
_no_name_provided__qut3iv_0.prototype.y2k = function (store, next, action) {
|
|
4622
4656
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4623
4657
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4624
4658
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4625
4659
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
4626
|
-
var job = this.
|
|
4627
|
-
this.
|
|
4660
|
+
var job = this.w2k_1.b2i(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.w2k_1, this.x2k_1, store, null), 1, null);
|
|
4661
|
+
this.x2k_1.f2i(tmp0__anonymous__q1qw7t.b2j(), job);
|
|
4628
4662
|
} else {
|
|
4629
4663
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
4630
|
-
this.
|
|
4664
|
+
this.x2k_1.k2i(tmp0__anonymous__q1qw7t.b2j());
|
|
4631
4665
|
} else {
|
|
4632
4666
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
4633
|
-
if (tmp0__anonymous__q1qw7t.
|
|
4634
|
-
this.
|
|
4667
|
+
if (tmp0__anonymous__q1qw7t.h2j_1.equals(TimerType_DELAY_getInstance())) {
|
|
4668
|
+
this.x2k_1.i2i(tmp0__anonymous__q1qw7t.b2j());
|
|
4635
4669
|
}
|
|
4636
4670
|
}
|
|
4637
4671
|
}
|
|
4638
4672
|
}
|
|
4639
4673
|
next(tmp0__anonymous__q1qw7t);
|
|
4640
4674
|
};
|
|
4641
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4642
|
-
return this.
|
|
4675
|
+
_no_name_provided__qut3iv_0.prototype.v2i = function (store, next, action) {
|
|
4676
|
+
return this.y2k(store, next, action);
|
|
4643
4677
|
};
|
|
4644
4678
|
function enumToString(_this__u8e3s4, mapping) {
|
|
4645
4679
|
var tmp$ret$2;
|
|
@@ -4807,23 +4841,23 @@
|
|
|
4807
4841
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
4808
4842
|
}
|
|
4809
4843
|
function generateTag($this, tag) {
|
|
4810
|
-
return (!($this.
|
|
4844
|
+
return (!($this.b2l_1 == null) ? !(tag == null) : false) ? '' + $this.b2l_1 + ':' + tag : tag;
|
|
4811
4845
|
}
|
|
4812
4846
|
function Category(name, ordinal, isEnabled) {
|
|
4813
4847
|
Enum.call(this, name, ordinal);
|
|
4814
|
-
this.
|
|
4848
|
+
this.e2l_1 = isEnabled;
|
|
4815
4849
|
}
|
|
4816
4850
|
function Logger$loggerSource$1() {
|
|
4817
|
-
this.
|
|
4851
|
+
this.f2l_1 = new PlatformLogger();
|
|
4818
4852
|
}
|
|
4819
|
-
Logger$loggerSource$1.prototype.
|
|
4820
|
-
this.
|
|
4853
|
+
Logger$loggerSource$1.prototype.g2l = function (tag, msg) {
|
|
4854
|
+
this.f2l_1.g2l(tag, msg);
|
|
4821
4855
|
};
|
|
4822
|
-
Logger$loggerSource$1.prototype.
|
|
4823
|
-
this.
|
|
4856
|
+
Logger$loggerSource$1.prototype.h2l = function (tag, msg, exception) {
|
|
4857
|
+
this.f2l_1.h2l(tag, msg, exception);
|
|
4824
4858
|
};
|
|
4825
|
-
Logger$loggerSource$1.prototype.
|
|
4826
|
-
this.
|
|
4859
|
+
Logger$loggerSource$1.prototype.i2l = function (tag, msg) {
|
|
4860
|
+
this.f2l_1.i2l(tag, msg);
|
|
4827
4861
|
};
|
|
4828
4862
|
function Category_NONE_getInstance() {
|
|
4829
4863
|
Category_initEntries();
|
|
@@ -4832,42 +4866,42 @@
|
|
|
4832
4866
|
function Logger() {
|
|
4833
4867
|
Logger_instance = this;
|
|
4834
4868
|
var tmp = this;
|
|
4835
|
-
tmp.
|
|
4836
|
-
this.
|
|
4837
|
-
this.
|
|
4869
|
+
tmp.z2k_1 = new Logger$loggerSource$1();
|
|
4870
|
+
this.a2l_1 = true;
|
|
4871
|
+
this.b2l_1 = null;
|
|
4838
4872
|
}
|
|
4839
|
-
Logger.prototype.
|
|
4840
|
-
this.
|
|
4873
|
+
Logger.prototype.j2l = function (tag, message) {
|
|
4874
|
+
this.k2l(tag, message, Category_NONE_getInstance());
|
|
4841
4875
|
};
|
|
4842
|
-
Logger.prototype.
|
|
4843
|
-
if (this.
|
|
4844
|
-
this.
|
|
4876
|
+
Logger.prototype.l2l = function (tag, message, category) {
|
|
4877
|
+
if (this.a2l_1 ? category.e2l_1 : false) {
|
|
4878
|
+
this.z2k_1.i2l(generateTag(this, tag), message);
|
|
4845
4879
|
}
|
|
4846
4880
|
};
|
|
4847
|
-
Logger.prototype.
|
|
4881
|
+
Logger.prototype.m2l = function (tag, message, category, $mask0, $handler) {
|
|
4848
4882
|
if (!(($mask0 & 1) === 0))
|
|
4849
4883
|
tag = null;
|
|
4850
4884
|
if (!(($mask0 & 4) === 0))
|
|
4851
4885
|
category = Category_NONE_getInstance();
|
|
4852
|
-
return this.
|
|
4886
|
+
return this.l2l(tag, message, category);
|
|
4853
4887
|
};
|
|
4854
|
-
Logger.prototype.
|
|
4855
|
-
if (this.
|
|
4856
|
-
this.
|
|
4888
|
+
Logger.prototype.k2l = function (tag, message, category) {
|
|
4889
|
+
if (this.a2l_1 ? category.e2l_1 : false) {
|
|
4890
|
+
this.z2k_1.g2l(generateTag(this, tag), message);
|
|
4857
4891
|
}
|
|
4858
4892
|
};
|
|
4859
|
-
Logger.prototype.
|
|
4860
|
-
if (this.
|
|
4893
|
+
Logger.prototype.n2l = function (tag, message, exception, category) {
|
|
4894
|
+
if (this.a2l_1 ? category.e2l_1 : false) {
|
|
4861
4895
|
var tmp0_safe_receiver = exception;
|
|
4862
4896
|
if (tmp0_safe_receiver == null)
|
|
4863
4897
|
null;
|
|
4864
4898
|
else {
|
|
4865
4899
|
printStackTrace(tmp0_safe_receiver);
|
|
4866
4900
|
}
|
|
4867
|
-
this.
|
|
4901
|
+
this.z2k_1.h2l(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
4868
4902
|
}
|
|
4869
4903
|
};
|
|
4870
|
-
Logger.prototype.
|
|
4904
|
+
Logger.prototype.o2l = function (tag, message, exception, category, $mask0, $handler) {
|
|
4871
4905
|
if (!(($mask0 & 1) === 0))
|
|
4872
4906
|
tag = null;
|
|
4873
4907
|
if (!(($mask0 & 2) === 0))
|
|
@@ -4876,7 +4910,7 @@
|
|
|
4876
4910
|
exception = null;
|
|
4877
4911
|
if (!(($mask0 & 8) === 0))
|
|
4878
4912
|
category = Category_NONE_getInstance();
|
|
4879
|
-
return this.
|
|
4913
|
+
return this.n2l(tag, message, exception, category);
|
|
4880
4914
|
};
|
|
4881
4915
|
var Logger_instance;
|
|
4882
4916
|
function Logger_getInstance() {
|
|
@@ -4912,36 +4946,36 @@
|
|
|
4912
4946
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4913
4947
|
}
|
|
4914
4948
|
function CombinedGameLogger(logOutputs) {
|
|
4915
|
-
this.
|
|
4949
|
+
this.p2l_1 = logOutputs;
|
|
4916
4950
|
}
|
|
4917
|
-
CombinedGameLogger.prototype.
|
|
4951
|
+
CombinedGameLogger.prototype.q2l = function (tag, message, payload) {
|
|
4918
4952
|
// Inline function 'kotlin.collections.forEach' call
|
|
4919
|
-
var tmp0_forEach = this.
|
|
4953
|
+
var tmp0_forEach = this.p2l_1;
|
|
4920
4954
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4921
4955
|
while (tmp0_iterator.h()) {
|
|
4922
4956
|
var element = tmp0_iterator.i();
|
|
4923
4957
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
4924
|
-
element.
|
|
4958
|
+
element.q2l(tag, message, payload);
|
|
4925
4959
|
}
|
|
4926
4960
|
};
|
|
4927
|
-
CombinedGameLogger.prototype.
|
|
4961
|
+
CombinedGameLogger.prototype.i2j = function (tag, message, exception, payload) {
|
|
4928
4962
|
// Inline function 'kotlin.collections.forEach' call
|
|
4929
|
-
var tmp0_forEach = this.
|
|
4963
|
+
var tmp0_forEach = this.p2l_1;
|
|
4930
4964
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4931
4965
|
while (tmp0_iterator.h()) {
|
|
4932
4966
|
var element = tmp0_iterator.i();
|
|
4933
4967
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4934
|
-
element.
|
|
4968
|
+
element.i2j(tag, message, exception, payload);
|
|
4935
4969
|
}
|
|
4936
4970
|
};
|
|
4937
|
-
CombinedGameLogger.prototype.
|
|
4971
|
+
CombinedGameLogger.prototype.s2l = function (tag, message, payload) {
|
|
4938
4972
|
// Inline function 'kotlin.collections.forEach' call
|
|
4939
|
-
var tmp0_forEach = this.
|
|
4973
|
+
var tmp0_forEach = this.p2l_1;
|
|
4940
4974
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4941
4975
|
while (tmp0_iterator.h()) {
|
|
4942
4976
|
var element = tmp0_iterator.i();
|
|
4943
4977
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4944
|
-
element.
|
|
4978
|
+
element.s2l(tag, message, payload);
|
|
4945
4979
|
}
|
|
4946
4980
|
};
|
|
4947
4981
|
function GameLogger() {
|
|
@@ -4958,40 +4992,40 @@
|
|
|
4958
4992
|
return PlatformGameLogger_init_$Init$(enabled, $mask0, $marker, Object.create(PlatformGameLogger.prototype));
|
|
4959
4993
|
}
|
|
4960
4994
|
function PlatformGameLogger(enabled) {
|
|
4961
|
-
this.
|
|
4995
|
+
this.t2l_1 = enabled;
|
|
4962
4996
|
}
|
|
4963
|
-
PlatformGameLogger.prototype.
|
|
4964
|
-
if (!this.
|
|
4997
|
+
PlatformGameLogger.prototype.q2l = function (tag, message, payload) {
|
|
4998
|
+
if (!this.t2l_1)
|
|
4965
4999
|
return Unit_getInstance();
|
|
4966
|
-
Logger_getInstance().
|
|
5000
|
+
Logger_getInstance().j2l(tag, message);
|
|
4967
5001
|
};
|
|
4968
|
-
PlatformGameLogger.prototype.
|
|
4969
|
-
if (!this.
|
|
5002
|
+
PlatformGameLogger.prototype.i2j = function (tag, message, exception, payload) {
|
|
5003
|
+
if (!this.t2l_1)
|
|
4970
5004
|
return Unit_getInstance();
|
|
4971
5005
|
var tmp = Logger_getInstance();
|
|
4972
|
-
tmp.
|
|
5006
|
+
tmp.o2l(tag, message, exception, null, 8, null);
|
|
4973
5007
|
};
|
|
4974
|
-
PlatformGameLogger.prototype.
|
|
4975
|
-
if (!this.
|
|
5008
|
+
PlatformGameLogger.prototype.s2l = function (tag, message, payload) {
|
|
5009
|
+
if (!this.t2l_1)
|
|
4976
5010
|
return Unit_getInstance();
|
|
4977
5011
|
var tmp = Logger_getInstance();
|
|
4978
|
-
tmp.
|
|
5012
|
+
tmp.m2l(tag, message, null, 4, null);
|
|
4979
5013
|
};
|
|
4980
5014
|
function LoggerOutput() {
|
|
4981
5015
|
}
|
|
4982
5016
|
function PlatformLogger() {
|
|
4983
5017
|
}
|
|
4984
|
-
PlatformLogger.prototype.
|
|
5018
|
+
PlatformLogger.prototype.g2l = function (tag, msg) {
|
|
4985
5019
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
4986
5020
|
};
|
|
4987
|
-
PlatformLogger.prototype.
|
|
5021
|
+
PlatformLogger.prototype.h2l = function (tag, msg, exception) {
|
|
4988
5022
|
if (!(exception == null)) {
|
|
4989
5023
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
4990
5024
|
} else {
|
|
4991
5025
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
4992
5026
|
}
|
|
4993
5027
|
};
|
|
4994
|
-
PlatformLogger.prototype.
|
|
5028
|
+
PlatformLogger.prototype.i2l = function (tag, msg) {
|
|
4995
5029
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
4996
5030
|
};
|
|
4997
5031
|
//region block: post-declaration
|
|
@@ -5008,25 +5042,25 @@
|
|
|
5008
5042
|
_no_name_provided__qut3iv.prototype.g4 = fold;
|
|
5009
5043
|
_no_name_provided__qut3iv.prototype.f4 = minusKey;
|
|
5010
5044
|
_no_name_provided__qut3iv.prototype.h4 = plus;
|
|
5011
|
-
AsyncProviderImpl.prototype.
|
|
5012
|
-
AsyncProviderImpl.prototype.
|
|
5013
|
-
middleware$1.prototype.
|
|
5014
|
-
combineReducers$1.prototype.
|
|
5015
|
-
StoreLifecycleAction.prototype.
|
|
5016
|
-
INIT.prototype.
|
|
5017
|
-
REPLACE.prototype.
|
|
5018
|
-
TimerAction.prototype.
|
|
5019
|
-
StopTimerAction.prototype.
|
|
5045
|
+
AsyncProviderImpl.prototype.z2h = launchStore$default;
|
|
5046
|
+
AsyncProviderImpl.prototype.b2i = launchWorker$default;
|
|
5047
|
+
middleware$1.prototype.u2i = canHandle;
|
|
5048
|
+
combineReducers$1.prototype.u2i = canHandle_0;
|
|
5049
|
+
StoreLifecycleAction.prototype.t2i = get_actionTag;
|
|
5050
|
+
INIT.prototype.t2i = get_actionTag;
|
|
5051
|
+
REPLACE.prototype.t2i = get_actionTag;
|
|
5052
|
+
TimerAction.prototype.t2i = get_actionTag;
|
|
5053
|
+
StopTimerAction.prototype.t2i = get_actionTag;
|
|
5020
5054
|
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
5021
5055
|
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
5022
|
-
StartTimerAction.prototype.
|
|
5023
|
-
TimerTickAction.prototype.
|
|
5024
|
-
CombinedGameLogger.prototype.
|
|
5025
|
-
CombinedGameLogger.prototype.
|
|
5026
|
-
CombinedGameLogger.prototype.
|
|
5027
|
-
PlatformGameLogger.prototype.
|
|
5028
|
-
PlatformGameLogger.prototype.
|
|
5029
|
-
PlatformGameLogger.prototype.
|
|
5056
|
+
StartTimerAction.prototype.t2i = get_actionTag;
|
|
5057
|
+
TimerTickAction.prototype.t2i = get_actionTag;
|
|
5058
|
+
CombinedGameLogger.prototype.r2l = d$default;
|
|
5059
|
+
CombinedGameLogger.prototype.s2h = e$default;
|
|
5060
|
+
CombinedGameLogger.prototype.g2i = w$default;
|
|
5061
|
+
PlatformGameLogger.prototype.r2l = d$default;
|
|
5062
|
+
PlatformGameLogger.prototype.s2h = e$default;
|
|
5063
|
+
PlatformGameLogger.prototype.g2i = w$default;
|
|
5030
5064
|
//endregion
|
|
5031
5065
|
//region block: exports
|
|
5032
5066
|
function $jsExportAll$(_) {
|
|
@@ -5168,116 +5202,117 @@
|
|
|
5168
5202
|
_.$_$ = _.$_$ || {};
|
|
5169
5203
|
_.$_$.a = MechanicException;
|
|
5170
5204
|
_.$_$.b = PlayerIdContract;
|
|
5171
|
-
_.$_$.c =
|
|
5172
|
-
_.$_$.d =
|
|
5173
|
-
_.$_$.e =
|
|
5174
|
-
_.$_$.f =
|
|
5175
|
-
_.$_$.g =
|
|
5176
|
-
_.$_$.h =
|
|
5177
|
-
_.$_$.i =
|
|
5178
|
-
_.$_$.j =
|
|
5179
|
-
_.$_$.k =
|
|
5180
|
-
_.$_$.l =
|
|
5181
|
-
_.$_$.m =
|
|
5182
|
-
_.$_$.n =
|
|
5183
|
-
_.$_$.o =
|
|
5184
|
-
_.$_$.p =
|
|
5185
|
-
_.$_$.q =
|
|
5186
|
-
_.$_$.r =
|
|
5187
|
-
_.$_$.s =
|
|
5188
|
-
_.$_$.t =
|
|
5189
|
-
_.$_$.u =
|
|
5190
|
-
_.$_$.v =
|
|
5191
|
-
_.$_$.w =
|
|
5192
|
-
_.$_$.x =
|
|
5193
|
-
_.$_$.y =
|
|
5194
|
-
_.$_$.z =
|
|
5195
|
-
_.$_$.a1 =
|
|
5196
|
-
_.$_$.b1 =
|
|
5197
|
-
_.$_$.c1 =
|
|
5198
|
-
_.$_$.d1 =
|
|
5199
|
-
_.$_$.e1 =
|
|
5200
|
-
_.$_$.f1 =
|
|
5201
|
-
_.$_$.g1 =
|
|
5202
|
-
_.$_$.h1 =
|
|
5203
|
-
_.$_$.i1 =
|
|
5204
|
-
_.$_$.j1 =
|
|
5205
|
-
_.$_$.k1 =
|
|
5206
|
-
_.$_$.l1 =
|
|
5207
|
-
_.$_$.m1 =
|
|
5208
|
-
_.$_$.n1 =
|
|
5209
|
-
_.$_$.o1 =
|
|
5210
|
-
_.$_$.p1 =
|
|
5211
|
-
_.$_$.q1 =
|
|
5212
|
-
_.$_$.r1 =
|
|
5213
|
-
_.$_$.s1 =
|
|
5214
|
-
_.$_$.t1 =
|
|
5215
|
-
_.$_$.u1 =
|
|
5216
|
-
_.$_$.v1 =
|
|
5217
|
-
_.$_$.w1 =
|
|
5218
|
-
_.$_$.x1 =
|
|
5219
|
-
_.$_$.y1 =
|
|
5220
|
-
_.$_$.z1 =
|
|
5221
|
-
_.$_$.a2 =
|
|
5222
|
-
_.$_$.b2 =
|
|
5223
|
-
_.$_$.c2 =
|
|
5224
|
-
_.$_$.d2 =
|
|
5225
|
-
_.$_$.e2 =
|
|
5226
|
-
_.$_$.f2 =
|
|
5227
|
-
_.$_$.g2 =
|
|
5228
|
-
_.$_$.h2 =
|
|
5229
|
-
_.$_$.i2 =
|
|
5230
|
-
_.$_$.j2 =
|
|
5231
|
-
_.$_$.k2 =
|
|
5232
|
-
_.$_$.l2 =
|
|
5233
|
-
_.$_$.m2 =
|
|
5234
|
-
_.$_$.n2 =
|
|
5235
|
-
_.$_$.o2 =
|
|
5236
|
-
_.$_$.p2 =
|
|
5237
|
-
_.$_$.q2 =
|
|
5238
|
-
_.$_$.r2 =
|
|
5239
|
-
_.$_$.s2 =
|
|
5240
|
-
_.$_$.t2 =
|
|
5241
|
-
_.$_$.u2 =
|
|
5242
|
-
_.$_$.v2 =
|
|
5243
|
-
_.$_$.w2 =
|
|
5244
|
-
_.$_$.x2 =
|
|
5245
|
-
_.$_$.y2 =
|
|
5246
|
-
_.$_$.z2 =
|
|
5247
|
-
_.$_$.a3 =
|
|
5248
|
-
_.$_$.b3 =
|
|
5249
|
-
_.$_$.c3 =
|
|
5250
|
-
_.$_$.d3 =
|
|
5251
|
-
_.$_$.e3 =
|
|
5252
|
-
_.$_$.f3 =
|
|
5253
|
-
_.$_$.g3 =
|
|
5254
|
-
_.$_$.h3 =
|
|
5255
|
-
_.$_$.i3 =
|
|
5256
|
-
_.$_$.j3 =
|
|
5257
|
-
_.$_$.k3 =
|
|
5258
|
-
_.$_$.l3 =
|
|
5259
|
-
_.$_$.m3 =
|
|
5260
|
-
_.$_$.n3 =
|
|
5261
|
-
_.$_$.o3 =
|
|
5262
|
-
_.$_$.p3 =
|
|
5263
|
-
_.$_$.q3 =
|
|
5264
|
-
_.$_$.r3 =
|
|
5265
|
-
_.$_$.s3 =
|
|
5266
|
-
_.$_$.t3 =
|
|
5267
|
-
_.$_$.u3 =
|
|
5268
|
-
_.$_$.v3 =
|
|
5269
|
-
_.$_$.w3 =
|
|
5270
|
-
_.$_$.x3 = $
|
|
5271
|
-
_.$_$.y3 = $
|
|
5272
|
-
_.$_$.z3 =
|
|
5273
|
-
_.$_$.a4 =
|
|
5274
|
-
_.$_$.b4 =
|
|
5275
|
-
_.$_$.c4 =
|
|
5276
|
-
_.$_$.d4 =
|
|
5277
|
-
_.$_$.e4 =
|
|
5278
|
-
_.$_$.f4 =
|
|
5279
|
-
_.$_$.g4 =
|
|
5280
|
-
_.$_$.h4 =
|
|
5205
|
+
_.$_$.c = PlayerIndex;
|
|
5206
|
+
_.$_$.d = Team;
|
|
5207
|
+
_.$_$.e = get_byIdPlayerPredicate;
|
|
5208
|
+
_.$_$.f = filterByPlayerId;
|
|
5209
|
+
_.$_$.g = filterPlayerTurn;
|
|
5210
|
+
_.$_$.h = getPlayerIndex;
|
|
5211
|
+
_.$_$.i = getPlayer;
|
|
5212
|
+
_.$_$.j = nextToPlayerId;
|
|
5213
|
+
_.$_$.k = mapFromDto_0;
|
|
5214
|
+
_.$_$.l = mapFromDto_2;
|
|
5215
|
+
_.$_$.m = mapFromDto;
|
|
5216
|
+
_.$_$.n = mapFromDto_1;
|
|
5217
|
+
_.$_$.o = mapToDto_3;
|
|
5218
|
+
_.$_$.p = mapToDto_0;
|
|
5219
|
+
_.$_$.q = mapToDto_1;
|
|
5220
|
+
_.$_$.r = mapToDto_2;
|
|
5221
|
+
_.$_$.s = mapToDto;
|
|
5222
|
+
_.$_$.t = CardGrowthComparator;
|
|
5223
|
+
_.$_$.u = GameCardWIthPlayerId;
|
|
5224
|
+
_.$_$.v = GameCard;
|
|
5225
|
+
_.$_$.w = ProcessingCard;
|
|
5226
|
+
_.$_$.x = values_3;
|
|
5227
|
+
_.$_$.y = filterByCardName;
|
|
5228
|
+
_.$_$.z = filterBySuit;
|
|
5229
|
+
_.$_$.a1 = getGrowth;
|
|
5230
|
+
_.$_$.b1 = getPoint;
|
|
5231
|
+
_.$_$.c1 = FinishPlayerReason;
|
|
5232
|
+
_.$_$.d1 = GameErrorReason;
|
|
5233
|
+
_.$_$.e1 = GameFinishedReason;
|
|
5234
|
+
_.$_$.f1 = PlayerExitReason;
|
|
5235
|
+
_.$_$.g1 = PlayerLostConnectionReason;
|
|
5236
|
+
_.$_$.h1 = PlayerTimeoutReason;
|
|
5237
|
+
_.$_$.i1 = ProcessingReason;
|
|
5238
|
+
_.$_$.j1 = WaitingForConnectionReason;
|
|
5239
|
+
_.$_$.k1 = AsyncProvider;
|
|
5240
|
+
_.$_$.l1 = IdsProvider;
|
|
5241
|
+
_.$_$.m1 = JobsProvider;
|
|
5242
|
+
_.$_$.n1 = get_coreModule;
|
|
5243
|
+
_.$_$.o1 = get_actionTag;
|
|
5244
|
+
_.$_$.p1 = Action;
|
|
5245
|
+
_.$_$.q1 = Middleware;
|
|
5246
|
+
_.$_$.r1 = Reducer;
|
|
5247
|
+
_.$_$.s1 = combineReducers;
|
|
5248
|
+
_.$_$.t1 = middleware;
|
|
5249
|
+
_.$_$.u1 = parseActionName;
|
|
5250
|
+
_.$_$.v1 = compose;
|
|
5251
|
+
_.$_$.w1 = createStore;
|
|
5252
|
+
_.$_$.x1 = notValidateWhenFinished;
|
|
5253
|
+
_.$_$.y1 = NotValidateIfGameFinished;
|
|
5254
|
+
_.$_$.z1 = notValidateWhenFinishing;
|
|
5255
|
+
_.$_$.a2 = NotValidateIfGameFinishing;
|
|
5256
|
+
_.$_$.b2 = BufferedAction;
|
|
5257
|
+
_.$_$.c2 = ignoreExpectant;
|
|
5258
|
+
_.$_$.d2 = ExpectantAction;
|
|
5259
|
+
_.$_$.e2 = ReleaseBufferTriggerAction;
|
|
5260
|
+
_.$_$.f2 = StartTimerAction;
|
|
5261
|
+
_.$_$.g2 = StopTimerAction;
|
|
5262
|
+
_.$_$.h2 = TimerAction;
|
|
5263
|
+
_.$_$.i2 = TimerTickAction;
|
|
5264
|
+
_.$_$.j2 = applyCatcher;
|
|
5265
|
+
_.$_$.k2 = applyMiddleware;
|
|
5266
|
+
_.$_$.l2 = timerMiddleware;
|
|
5267
|
+
_.$_$.m2 = CombinedGameLogger;
|
|
5268
|
+
_.$_$.n2 = GameLogger;
|
|
5269
|
+
_.$_$.o2 = LoggerPayload;
|
|
5270
|
+
_.$_$.p2 = LoggerOutput;
|
|
5271
|
+
_.$_$.q2 = generateMsg;
|
|
5272
|
+
_.$_$.r2 = enumToString;
|
|
5273
|
+
_.$_$.s2 = nextTo;
|
|
5274
|
+
_.$_$.t2 = sortWithItem;
|
|
5275
|
+
_.$_$.u2 = toDomainEnumSafe;
|
|
5276
|
+
_.$_$.v2 = updateItem;
|
|
5277
|
+
_.$_$.w2 = updated;
|
|
5278
|
+
_.$_$.x2 = PlayerConnectionState_DELETED_getInstance;
|
|
5279
|
+
_.$_$.y2 = PlayerConnectionState_LEFT_getInstance;
|
|
5280
|
+
_.$_$.z2 = PlayerConnectionState_LIVE_getInstance;
|
|
5281
|
+
_.$_$.a3 = PlayerConnectionState_LOST_CONNECTION_getInstance;
|
|
5282
|
+
_.$_$.b3 = PlayerConnectionState_TIMEOUT_getInstance;
|
|
5283
|
+
_.$_$.c3 = RulesSetType_belot_getInstance;
|
|
5284
|
+
_.$_$.d3 = RulesSetType_custom_getInstance;
|
|
5285
|
+
_.$_$.e3 = RulesSetType_debertzCommon_getInstance;
|
|
5286
|
+
_.$_$.f3 = RulesSetType_debertzKharkiv_getInstance;
|
|
5287
|
+
_.$_$.g3 = RulesSetType_klabor_getInstance;
|
|
5288
|
+
_.$_$.h3 = CardName_ACE_getInstance;
|
|
5289
|
+
_.$_$.i3 = CardName_DAME_getInstance;
|
|
5290
|
+
_.$_$.j3 = CardName_EIGHT_getInstance;
|
|
5291
|
+
_.$_$.k3 = CardName_JACK_getInstance;
|
|
5292
|
+
_.$_$.l3 = CardName_KING_getInstance;
|
|
5293
|
+
_.$_$.m3 = CardName_NINE_getInstance;
|
|
5294
|
+
_.$_$.n3 = CardName_SEVEN_getInstance;
|
|
5295
|
+
_.$_$.o3 = CardName_TEN_getInstance;
|
|
5296
|
+
_.$_$.p3 = TimerType_DELAY_getInstance;
|
|
5297
|
+
_.$_$.q3 = d$default;
|
|
5298
|
+
_.$_$.r3 = e$default;
|
|
5299
|
+
_.$_$.s3 = w$default;
|
|
5300
|
+
_.$_$.t3 = StartTimerAction_init_$Create$;
|
|
5301
|
+
_.$_$.u3 = PlatformGameLogger_init_$Create$;
|
|
5302
|
+
_.$_$.v3 = Companion_getInstance_9;
|
|
5303
|
+
_.$_$.w3 = Companion_getInstance_11;
|
|
5304
|
+
_.$_$.x3 = $serializer_getInstance_5;
|
|
5305
|
+
_.$_$.y3 = $serializer_getInstance_6;
|
|
5306
|
+
_.$_$.z3 = $serializer_getInstance_7;
|
|
5307
|
+
_.$_$.a4 = CardIndexComparator_getInstance;
|
|
5308
|
+
_.$_$.b4 = CardNumberComparator_getInstance;
|
|
5309
|
+
_.$_$.c4 = Companion_getInstance_16;
|
|
5310
|
+
_.$_$.d4 = Companion_getInstance_18;
|
|
5311
|
+
_.$_$.e4 = Companion_getInstance_0;
|
|
5312
|
+
_.$_$.f4 = ProcessingReason_getInstance;
|
|
5313
|
+
_.$_$.g4 = RestartGameReason_getInstance;
|
|
5314
|
+
_.$_$.h4 = Companion_getInstance_2;
|
|
5315
|
+
_.$_$.i4 = Logger_getInstance;
|
|
5281
5316
|
//endregion
|
|
5282
5317
|
return _;
|
|
5283
5318
|
}));
|