game_client_logic_deb 1.4.23 → 1.4.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +436 -459
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +5883 -5883
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +2176 -2176
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -178,13 +178,13 @@
|
|
|
178
178
|
setMetadataFor(_no_name_provided__qut3iv, undefined, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element], undefined, undefined, []);
|
|
179
179
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
180
180
|
if (!(($mask0 & 1) === 0))
|
|
181
|
-
context = this.
|
|
182
|
-
return $handler == null ? this.
|
|
181
|
+
context = this.v2h();
|
|
182
|
+
return $handler == null ? this.y2h(context, block) : $handler(context, block);
|
|
183
183
|
}
|
|
184
184
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
185
185
|
if (!(($mask0 & 1) === 0))
|
|
186
|
-
context = this.
|
|
187
|
-
return $handler == null ? this.
|
|
186
|
+
context = this.v2h();
|
|
187
|
+
return $handler == null ? this.w2h(context, block) : $handler(context, block);
|
|
188
188
|
}
|
|
189
189
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
190
190
|
setMetadataFor(AsyncProviderImpl, 'AsyncProviderImpl', classMeta, undefined, [AsyncProvider], undefined, undefined, []);
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
payload = null;
|
|
263
263
|
var tmp;
|
|
264
264
|
if ($handler == null) {
|
|
265
|
-
this.
|
|
265
|
+
this.g2j(tag, message, exception, payload);
|
|
266
266
|
tmp = Unit_getInstance();
|
|
267
267
|
} else {
|
|
268
268
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
payload = null;
|
|
277
277
|
var tmp;
|
|
278
278
|
if ($handler == null) {
|
|
279
|
-
this.
|
|
279
|
+
this.q2l(tag, message, payload);
|
|
280
280
|
tmp = Unit_getInstance();
|
|
281
281
|
} else {
|
|
282
282
|
tmp = $handler(tag, message, payload);
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
//endregion
|
|
293
293
|
function GameEngineConfig() {
|
|
294
294
|
GameEngineConfig_instance = this;
|
|
295
|
-
this.version = '1.4.
|
|
295
|
+
this.version = '1.4.25';
|
|
296
296
|
}
|
|
297
297
|
GameEngineConfig.prototype.f2c = function () {
|
|
298
298
|
return this.version;
|
|
@@ -1504,7 +1504,7 @@
|
|
|
1504
1504
|
}
|
|
1505
1505
|
function playerTurnPredicate$lambda(p1) {
|
|
1506
1506
|
init_properties_Player_kt_txblev();
|
|
1507
|
-
return p1.xi().
|
|
1507
|
+
return p1.xi().u2d() ? true : p1.xi().t2d();
|
|
1508
1508
|
}
|
|
1509
1509
|
var properties_initialized_Player_kt_56shkt;
|
|
1510
1510
|
function init_properties_Player_kt_txblev() {
|
|
@@ -1528,10 +1528,10 @@
|
|
|
1528
1528
|
Companion_instance_8 = this;
|
|
1529
1529
|
var tmp = this;
|
|
1530
1530
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1531
|
-
tmp.
|
|
1531
|
+
tmp.v2d_1 = lazy(tmp_0, PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c);
|
|
1532
1532
|
}
|
|
1533
1533
|
Companion_8.prototype.serializer = function () {
|
|
1534
|
-
return this.
|
|
1534
|
+
return this.v2d_1.j1();
|
|
1535
1535
|
};
|
|
1536
1536
|
Companion_8.prototype.b1l = function (typeParamsSerializers) {
|
|
1537
1537
|
return this.serializer();
|
|
@@ -1582,61 +1582,61 @@
|
|
|
1582
1582
|
function PlayerConnectionState(name, ordinal) {
|
|
1583
1583
|
Enum.call(this, name, ordinal);
|
|
1584
1584
|
}
|
|
1585
|
-
PlayerConnectionState.prototype.
|
|
1585
|
+
PlayerConnectionState.prototype.y2d = function () {
|
|
1586
1586
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1587
1587
|
};
|
|
1588
|
-
PlayerConnectionState.prototype.
|
|
1588
|
+
PlayerConnectionState.prototype.z2d = function () {
|
|
1589
1589
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1590
1590
|
};
|
|
1591
|
-
PlayerConnectionState.prototype.
|
|
1591
|
+
PlayerConnectionState.prototype.a2e = function () {
|
|
1592
1592
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1593
1593
|
};
|
|
1594
|
-
PlayerConnectionState.prototype.
|
|
1594
|
+
PlayerConnectionState.prototype.b2e = function () {
|
|
1595
1595
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1596
1596
|
};
|
|
1597
|
-
PlayerConnectionState.prototype.
|
|
1597
|
+
PlayerConnectionState.prototype.c2e = function () {
|
|
1598
1598
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1599
1599
|
};
|
|
1600
|
-
PlayerConnectionState.prototype.
|
|
1600
|
+
PlayerConnectionState.prototype.d2e = function () {
|
|
1601
1601
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1602
1602
|
};
|
|
1603
|
-
PlayerConnectionState.prototype.
|
|
1603
|
+
PlayerConnectionState.prototype.e2e = function () {
|
|
1604
1604
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1605
1605
|
};
|
|
1606
|
-
PlayerConnectionState.prototype.
|
|
1606
|
+
PlayerConnectionState.prototype.f2e = function () {
|
|
1607
1607
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1608
1608
|
};
|
|
1609
1609
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1610
1610
|
configurable: true,
|
|
1611
|
-
get: PlayerConnectionState.prototype.
|
|
1611
|
+
get: PlayerConnectionState.prototype.y2d
|
|
1612
1612
|
});
|
|
1613
1613
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1614
1614
|
configurable: true,
|
|
1615
|
-
get: PlayerConnectionState.prototype.
|
|
1615
|
+
get: PlayerConnectionState.prototype.z2d
|
|
1616
1616
|
});
|
|
1617
1617
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1618
1618
|
configurable: true,
|
|
1619
|
-
get: PlayerConnectionState.prototype.
|
|
1619
|
+
get: PlayerConnectionState.prototype.a2e
|
|
1620
1620
|
});
|
|
1621
1621
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1622
1622
|
configurable: true,
|
|
1623
|
-
get: PlayerConnectionState.prototype.
|
|
1623
|
+
get: PlayerConnectionState.prototype.b2e
|
|
1624
1624
|
});
|
|
1625
1625
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1626
1626
|
configurable: true,
|
|
1627
|
-
get: PlayerConnectionState.prototype.
|
|
1627
|
+
get: PlayerConnectionState.prototype.c2e
|
|
1628
1628
|
});
|
|
1629
1629
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1630
1630
|
configurable: true,
|
|
1631
|
-
get: PlayerConnectionState.prototype.
|
|
1631
|
+
get: PlayerConnectionState.prototype.d2e
|
|
1632
1632
|
});
|
|
1633
1633
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1634
1634
|
configurable: true,
|
|
1635
|
-
get: PlayerConnectionState.prototype.
|
|
1635
|
+
get: PlayerConnectionState.prototype.e2e
|
|
1636
1636
|
});
|
|
1637
1637
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1638
1638
|
configurable: true,
|
|
1639
|
-
get: PlayerConnectionState.prototype.
|
|
1639
|
+
get: PlayerConnectionState.prototype.f2e
|
|
1640
1640
|
});
|
|
1641
1641
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1642
1642
|
configurable: true,
|
|
@@ -1680,10 +1680,10 @@
|
|
|
1680
1680
|
Companion_instance_9 = this;
|
|
1681
1681
|
var tmp = this;
|
|
1682
1682
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1683
|
-
tmp.
|
|
1683
|
+
tmp.g2e_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar);
|
|
1684
1684
|
}
|
|
1685
1685
|
Companion_9.prototype.l1w = function () {
|
|
1686
|
-
return this.
|
|
1686
|
+
return this.g2e_1.j1();
|
|
1687
1687
|
};
|
|
1688
1688
|
Companion_9.prototype.b1l = function (typeParamsSerializers) {
|
|
1689
1689
|
return this.l1w();
|
|
@@ -1711,26 +1711,26 @@
|
|
|
1711
1711
|
function PlayerWaitingState(name, ordinal) {
|
|
1712
1712
|
Enum.call(this, name, ordinal);
|
|
1713
1713
|
}
|
|
1714
|
-
PlayerWaitingState.prototype.v2d = function () {
|
|
1715
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.u2d();
|
|
1716
|
-
};
|
|
1717
1714
|
PlayerWaitingState.prototype.u2d = function () {
|
|
1715
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.t2d();
|
|
1716
|
+
};
|
|
1717
|
+
PlayerWaitingState.prototype.t2d = function () {
|
|
1718
1718
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1719
1719
|
};
|
|
1720
1720
|
function Companion_10() {
|
|
1721
1721
|
Companion_instance_10 = this;
|
|
1722
1722
|
}
|
|
1723
|
-
Companion_10.prototype.
|
|
1723
|
+
Companion_10.prototype.j2e = function (connectionState) {
|
|
1724
1724
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1725
1725
|
return new PlayerState(null, null, tmp0_state, false, connectionState, null);
|
|
1726
1726
|
};
|
|
1727
|
-
Companion_10.prototype.
|
|
1727
|
+
Companion_10.prototype.k2e = function (_this__u8e3s4) {
|
|
1728
1728
|
var tmp = PlayerWaitingState_IDLE_getInstance();
|
|
1729
|
-
return _this__u8e3s4.
|
|
1729
|
+
return _this__u8e3s4.l2e(null, null, tmp, false, null, null, 26, null);
|
|
1730
1730
|
};
|
|
1731
|
-
Companion_10.prototype.
|
|
1731
|
+
Companion_10.prototype.m2e = function (_this__u8e3s4, startFromTime, tag) {
|
|
1732
1732
|
var tmp0_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1733
|
-
return _this__u8e3s4.
|
|
1733
|
+
return _this__u8e3s4.l2e(startFromTime, null, tmp0_state, false, null, tag, 18, null);
|
|
1734
1734
|
};
|
|
1735
1735
|
var Companion_instance_10;
|
|
1736
1736
|
function Companion_getInstance_11() {
|
|
@@ -1758,30 +1758,8 @@
|
|
|
1758
1758
|
this.q2d_1 = ready;
|
|
1759
1759
|
this.r2d_1 = connectionState;
|
|
1760
1760
|
this.s2d_1 = tag;
|
|
1761
|
-
var tmp = this;
|
|
1762
|
-
var tmp$ret$2;
|
|
1763
|
-
// Inline function 'kotlin.requireNotNull' call
|
|
1764
|
-
var tmp0_requireNotNull = this.n2d_1;
|
|
1765
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1766
|
-
var tmp$ret$1;
|
|
1767
|
-
$l$block: {
|
|
1768
|
-
// Inline function 'kotlin.requireNotNull' call
|
|
1769
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1770
|
-
if (tmp0_requireNotNull == null) {
|
|
1771
|
-
var tmp$ret$0;
|
|
1772
|
-
// Inline function 'kotlin.requireNotNull.<anonymous>' call
|
|
1773
|
-
tmp$ret$0 = 'Required value was null.';
|
|
1774
|
-
var message = tmp$ret$0;
|
|
1775
|
-
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1776
|
-
} else {
|
|
1777
|
-
tmp$ret$1 = tmp0_requireNotNull;
|
|
1778
|
-
break $l$block;
|
|
1779
|
-
}
|
|
1780
|
-
}
|
|
1781
|
-
tmp$ret$2 = tmp$ret$1;
|
|
1782
|
-
tmp.t2d_1 = tmp$ret$2;
|
|
1783
1761
|
}
|
|
1784
|
-
PlayerState.prototype.
|
|
1762
|
+
PlayerState.prototype.n2e = function () {
|
|
1785
1763
|
var tmp$ret$2;
|
|
1786
1764
|
// Inline function 'kotlin.requireNotNull' call
|
|
1787
1765
|
var tmp0_requireNotNull = this.s2d_1;
|
|
@@ -1804,20 +1782,20 @@
|
|
|
1804
1782
|
tmp$ret$2 = tmp$ret$1;
|
|
1805
1783
|
return tmp$ret$2;
|
|
1806
1784
|
};
|
|
1807
|
-
PlayerState.prototype.
|
|
1785
|
+
PlayerState.prototype.o2e = function () {
|
|
1808
1786
|
var tmp0_elvis_lhs = this.s2d_1;
|
|
1809
1787
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1810
1788
|
};
|
|
1811
|
-
PlayerState.prototype.v2d = function () {
|
|
1812
|
-
return this.p2d_1.v2d();
|
|
1813
|
-
};
|
|
1814
1789
|
PlayerState.prototype.u2d = function () {
|
|
1815
1790
|
return this.p2d_1.u2d();
|
|
1816
1791
|
};
|
|
1817
|
-
PlayerState.prototype.
|
|
1792
|
+
PlayerState.prototype.t2d = function () {
|
|
1793
|
+
return this.p2d_1.t2d();
|
|
1794
|
+
};
|
|
1795
|
+
PlayerState.prototype.p2e = function (startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag) {
|
|
1818
1796
|
return new PlayerState(startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag);
|
|
1819
1797
|
};
|
|
1820
|
-
PlayerState.prototype.
|
|
1798
|
+
PlayerState.prototype.l2e = function (startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1821
1799
|
if (!(($mask0 & 1) === 0))
|
|
1822
1800
|
startFromTime = this.n2d_1;
|
|
1823
1801
|
if (!(($mask0 & 2) === 0))
|
|
@@ -1830,7 +1808,7 @@
|
|
|
1830
1808
|
connectionState = this.r2d_1;
|
|
1831
1809
|
if (!(($mask0 & 32) === 0))
|
|
1832
1810
|
tag = this.s2d_1;
|
|
1833
|
-
return this.
|
|
1811
|
+
return this.p2e(startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag);
|
|
1834
1812
|
};
|
|
1835
1813
|
PlayerState.prototype.toString = function () {
|
|
1836
1814
|
return 'PlayerState(startFromTime=' + this.n2d_1 + ', waitPlayerUntilTime=' + this.o2d_1 + ', state=' + this.p2d_1 + ', ready=' + this.q2d_1 + ', connectionState=' + this.r2d_1 + ', tag=' + this.s2d_1 + ')';
|
|
@@ -1865,13 +1843,13 @@
|
|
|
1865
1843
|
return true;
|
|
1866
1844
|
};
|
|
1867
1845
|
function Team(playerIds) {
|
|
1868
|
-
this.
|
|
1846
|
+
this.q2e_1 = playerIds;
|
|
1869
1847
|
}
|
|
1870
1848
|
Team.prototype.toString = function () {
|
|
1871
|
-
return 'Team(playerIds=' + this.
|
|
1849
|
+
return 'Team(playerIds=' + this.q2e_1 + ')';
|
|
1872
1850
|
};
|
|
1873
1851
|
Team.prototype.hashCode = function () {
|
|
1874
|
-
return hashCode(this.
|
|
1852
|
+
return hashCode(this.q2e_1);
|
|
1875
1853
|
};
|
|
1876
1854
|
Team.prototype.equals = function (other) {
|
|
1877
1855
|
if (this === other)
|
|
@@ -1879,7 +1857,7 @@
|
|
|
1879
1857
|
if (!(other instanceof Team))
|
|
1880
1858
|
return false;
|
|
1881
1859
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1882
|
-
if (!equals(this.
|
|
1860
|
+
if (!equals(this.q2e_1, tmp0_other_with_cast.q2e_1))
|
|
1883
1861
|
return false;
|
|
1884
1862
|
return true;
|
|
1885
1863
|
};
|
|
@@ -1927,55 +1905,55 @@
|
|
|
1927
1905
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
1928
1906
|
this.tenCardsInHand = tenCardsInHand;
|
|
1929
1907
|
}
|
|
1930
|
-
Rules.prototype.
|
|
1908
|
+
Rules.prototype.r2e = function () {
|
|
1931
1909
|
return this.needToPutHigherTrump;
|
|
1932
1910
|
};
|
|
1933
|
-
Rules.prototype.
|
|
1911
|
+
Rules.prototype.s2e = function () {
|
|
1934
1912
|
return this.distributePoints;
|
|
1935
1913
|
};
|
|
1936
|
-
Rules.prototype.
|
|
1914
|
+
Rules.prototype.t2e = function () {
|
|
1937
1915
|
return this.protectBella;
|
|
1938
1916
|
};
|
|
1939
|
-
Rules.prototype.
|
|
1917
|
+
Rules.prototype.u2e = function () {
|
|
1940
1918
|
return this.oneTryToProtectBella;
|
|
1941
1919
|
};
|
|
1942
|
-
Rules.prototype.
|
|
1920
|
+
Rules.prototype.v2e = function () {
|
|
1943
1921
|
return this.enableFourSevensCombination;
|
|
1944
1922
|
};
|
|
1945
|
-
Rules.prototype.
|
|
1923
|
+
Rules.prototype.w2e = function () {
|
|
1946
1924
|
return this.enableTrumpSevenCombination;
|
|
1947
1925
|
};
|
|
1948
|
-
Rules.prototype.
|
|
1926
|
+
Rules.prototype.x2e = function () {
|
|
1949
1927
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
1950
1928
|
};
|
|
1951
|
-
Rules.prototype.
|
|
1929
|
+
Rules.prototype.y2e = function () {
|
|
1952
1930
|
return this.playerWhoChooseSuitGoFirst;
|
|
1953
1931
|
};
|
|
1954
|
-
Rules.prototype.
|
|
1932
|
+
Rules.prototype.z2e = function () {
|
|
1955
1933
|
return this.winnerShuffleCards;
|
|
1956
1934
|
};
|
|
1957
|
-
Rules.prototype.
|
|
1935
|
+
Rules.prototype.a2f = function () {
|
|
1958
1936
|
return this.playWithoutLiabilities;
|
|
1959
1937
|
};
|
|
1960
|
-
Rules.prototype.
|
|
1938
|
+
Rules.prototype.b2f = function () {
|
|
1961
1939
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
1962
1940
|
};
|
|
1963
|
-
Rules.prototype.
|
|
1941
|
+
Rules.prototype.c2f = function () {
|
|
1964
1942
|
return this.enableFineIfNoBribes;
|
|
1965
1943
|
};
|
|
1966
|
-
Rules.prototype.
|
|
1944
|
+
Rules.prototype.d2f = function () {
|
|
1967
1945
|
return this.fineIfNoBribes;
|
|
1968
1946
|
};
|
|
1969
|
-
Rules.prototype.
|
|
1947
|
+
Rules.prototype.e2f = function () {
|
|
1970
1948
|
return this.enableFineAfterThirdByte;
|
|
1971
1949
|
};
|
|
1972
|
-
Rules.prototype.
|
|
1950
|
+
Rules.prototype.f2f = function () {
|
|
1973
1951
|
return this.checkTrumpCombination;
|
|
1974
1952
|
};
|
|
1975
|
-
Rules.prototype.
|
|
1953
|
+
Rules.prototype.g2f = function () {
|
|
1976
1954
|
return this.checkOnlyTrumpDebertz;
|
|
1977
1955
|
};
|
|
1978
|
-
Rules.prototype.
|
|
1956
|
+
Rules.prototype.h2f = function () {
|
|
1979
1957
|
return this.tenCardsInHand;
|
|
1980
1958
|
};
|
|
1981
1959
|
Rules.prototype.component1 = function () {
|
|
@@ -2030,12 +2008,12 @@
|
|
|
2030
2008
|
return this.tenCardsInHand;
|
|
2031
2009
|
};
|
|
2032
2010
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2033
|
-
return this.
|
|
2011
|
+
return this.i2f(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);
|
|
2034
2012
|
};
|
|
2035
|
-
Rules.prototype.
|
|
2013
|
+
Rules.prototype.i2f = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2036
2014
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2037
2015
|
};
|
|
2038
|
-
Rules.prototype.
|
|
2016
|
+
Rules.prototype.j2f = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
2039
2017
|
if (!(($mask0 & 1) === 0))
|
|
2040
2018
|
needToPutHigherTrump = this.needToPutHigherTrump;
|
|
2041
2019
|
if (!(($mask0 & 2) === 0))
|
|
@@ -2070,7 +2048,7 @@
|
|
|
2070
2048
|
checkOnlyTrumpDebertz = this.checkOnlyTrumpDebertz;
|
|
2071
2049
|
if (!(($mask0 & 65536) === 0))
|
|
2072
2050
|
tenCardsInHand = this.tenCardsInHand;
|
|
2073
|
-
return this.
|
|
2051
|
+
return this.i2f(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2074
2052
|
};
|
|
2075
2053
|
Rules.prototype.toString = function () {
|
|
2076
2054
|
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 + ')';
|
|
@@ -2206,20 +2184,20 @@
|
|
|
2206
2184
|
return RulesSetType_custom_instance;
|
|
2207
2185
|
}
|
|
2208
2186
|
function mapToDto(_this__u8e3s4) {
|
|
2209
|
-
return _this__u8e3s4.
|
|
2187
|
+
return _this__u8e3s4.m2f_1;
|
|
2210
2188
|
}
|
|
2211
2189
|
function mapFromDto(_this__u8e3s4) {
|
|
2212
2190
|
return new GameCard(_this__u8e3s4);
|
|
2213
2191
|
}
|
|
2214
2192
|
function mapToDto_0(_this__u8e3s4) {
|
|
2215
|
-
return _this__u8e3s4.
|
|
2193
|
+
return _this__u8e3s4.o2f_1.m2f_1;
|
|
2216
2194
|
}
|
|
2217
2195
|
function mapToDto_1(_this__u8e3s4) {
|
|
2218
2196
|
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);
|
|
2219
2197
|
}
|
|
2220
2198
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2221
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2222
|
-
return new Rules(_this__u8e3s4.
|
|
2199
|
+
var tmp0_elvis_lhs = _this__u8e3s4.s2f_1;
|
|
2200
|
+
return new Rules(_this__u8e3s4.p2f_1, _this__u8e3s4.q2f_1, _this__u8e3s4.r2f_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.t2f_1, _this__u8e3s4.u2f_1, _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);
|
|
2223
2201
|
}
|
|
2224
2202
|
function mapToDto_2(_this__u8e3s4) {
|
|
2225
2203
|
var tmp$ret$1;
|
|
@@ -2239,9 +2217,9 @@
|
|
|
2239
2217
|
return new GameUserInfoDto(_this__u8e3s4.h2d_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1);
|
|
2240
2218
|
}
|
|
2241
2219
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2242
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2220
|
+
var tmp0_elvis_lhs = _this__u8e3s4.j2g_1;
|
|
2243
2221
|
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
2244
|
-
return GameUserInfo_init_$Create$(_this__u8e3s4.
|
|
2222
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.g2g_1, _this__u8e3s4.h2g_1, _this__u8e3s4.i2g_1, tmp, null, 16, null);
|
|
2245
2223
|
}
|
|
2246
2224
|
function mapToDto_3(_this__u8e3s4) {
|
|
2247
2225
|
var tmp0_safe_receiver = _this__u8e3s4.n2d_1;
|
|
@@ -2257,12 +2235,12 @@
|
|
|
2257
2235
|
return new PlayerStateDto(tmp4_startFromTime, tmp5_startFrom, tmp6_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag);
|
|
2258
2236
|
}
|
|
2259
2237
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2260
|
-
var tmp1_startFromTime = _this__u8e3s4.
|
|
2261
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2238
|
+
var tmp1_startFromTime = _this__u8e3s4.q2g();
|
|
2239
|
+
var tmp0_safe_receiver = _this__u8e3s4.m2g_1;
|
|
2262
2240
|
var tmp2_waitPlayerUntilTime = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
2263
|
-
var tmp3_state = _this__u8e3s4.
|
|
2264
|
-
var tmp4_tag = _this__u8e3s4.
|
|
2265
|
-
var tmp5_ready = _this__u8e3s4.
|
|
2241
|
+
var tmp3_state = _this__u8e3s4.n2g_1;
|
|
2242
|
+
var tmp4_tag = _this__u8e3s4.p2g_1;
|
|
2243
|
+
var tmp5_ready = _this__u8e3s4.o2g_1;
|
|
2266
2244
|
return new PlayerState(tmp1_startFromTime, tmp2_waitPlayerUntilTime, tmp3_state, tmp5_ready, connectionState, tmp4_tag);
|
|
2267
2245
|
}
|
|
2268
2246
|
function Companion_12() {
|
|
@@ -2281,10 +2259,10 @@
|
|
|
2281
2259
|
tmp0_serialDesc.b1k('name', false);
|
|
2282
2260
|
tmp0_serialDesc.b1k('avatarUrl', false);
|
|
2283
2261
|
tmp0_serialDesc.b1k('isBot', true);
|
|
2284
|
-
this.
|
|
2262
|
+
this.r2g_1 = tmp0_serialDesc;
|
|
2285
2263
|
}
|
|
2286
2264
|
$serializer_5.prototype.p19 = function () {
|
|
2287
|
-
return this.
|
|
2265
|
+
return this.r2g_1;
|
|
2288
2266
|
};
|
|
2289
2267
|
$serializer_5.prototype.q1k = function () {
|
|
2290
2268
|
var tmp$ret$2;
|
|
@@ -2300,7 +2278,7 @@
|
|
|
2300
2278
|
return tmp$ret$2;
|
|
2301
2279
|
};
|
|
2302
2280
|
$serializer_5.prototype.r19 = function (decoder) {
|
|
2303
|
-
var tmp0_desc = this.
|
|
2281
|
+
var tmp0_desc = this.r2g_1;
|
|
2304
2282
|
var tmp1_flag = true;
|
|
2305
2283
|
var tmp2_index = 0;
|
|
2306
2284
|
var tmp3_bitMask0 = 0;
|
|
@@ -2348,19 +2326,19 @@
|
|
|
2348
2326
|
tmp8_input.x1c(tmp0_desc);
|
|
2349
2327
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2350
2328
|
};
|
|
2351
|
-
$serializer_5.prototype.
|
|
2352
|
-
var tmp0_desc = this.
|
|
2329
|
+
$serializer_5.prototype.s2g = function (encoder, value) {
|
|
2330
|
+
var tmp0_desc = this.r2g_1;
|
|
2353
2331
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2354
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
2355
|
-
tmp1_output.l1e(tmp0_desc, 1, value.
|
|
2356
|
-
tmp1_output.l1e(tmp0_desc, 2, value.
|
|
2357
|
-
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.
|
|
2358
|
-
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2332
|
+
tmp1_output.l1e(tmp0_desc, 0, value.g2g_1);
|
|
2333
|
+
tmp1_output.l1e(tmp0_desc, 1, value.h2g_1);
|
|
2334
|
+
tmp1_output.l1e(tmp0_desc, 2, value.i2g_1);
|
|
2335
|
+
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.j2g_1 === false)) {
|
|
2336
|
+
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.j2g_1);
|
|
2359
2337
|
}
|
|
2360
2338
|
tmp1_output.x1c(tmp0_desc);
|
|
2361
2339
|
};
|
|
2362
2340
|
$serializer_5.prototype.q19 = function (encoder, value) {
|
|
2363
|
-
return this.
|
|
2341
|
+
return this.s2g(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2364
2342
|
};
|
|
2365
2343
|
var $serializer_instance_5;
|
|
2366
2344
|
function $serializer_getInstance_5() {
|
|
@@ -2370,15 +2348,15 @@
|
|
|
2370
2348
|
}
|
|
2371
2349
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, $this) {
|
|
2372
2350
|
if (!(7 === (7 & seen1))) {
|
|
2373
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().
|
|
2351
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().r2g_1);
|
|
2374
2352
|
}
|
|
2375
|
-
$this.
|
|
2376
|
-
$this.
|
|
2377
|
-
$this.
|
|
2353
|
+
$this.g2g_1 = playerId;
|
|
2354
|
+
$this.h2g_1 = name;
|
|
2355
|
+
$this.i2g_1 = avatarUrl;
|
|
2378
2356
|
if (0 === (seen1 & 8))
|
|
2379
|
-
$this.
|
|
2357
|
+
$this.j2g_1 = false;
|
|
2380
2358
|
else
|
|
2381
|
-
$this.
|
|
2359
|
+
$this.j2g_1 = isBot;
|
|
2382
2360
|
return $this;
|
|
2383
2361
|
}
|
|
2384
2362
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker) {
|
|
@@ -2386,19 +2364,19 @@
|
|
|
2386
2364
|
}
|
|
2387
2365
|
function GameUserInfoDto(playerId, name, avatarUrl, isBot) {
|
|
2388
2366
|
Companion_getInstance_13();
|
|
2389
|
-
this.
|
|
2390
|
-
this.
|
|
2391
|
-
this.
|
|
2392
|
-
this.
|
|
2367
|
+
this.g2g_1 = playerId;
|
|
2368
|
+
this.h2g_1 = name;
|
|
2369
|
+
this.i2g_1 = avatarUrl;
|
|
2370
|
+
this.j2g_1 = isBot;
|
|
2393
2371
|
}
|
|
2394
2372
|
GameUserInfoDto.prototype.toString = function () {
|
|
2395
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2373
|
+
return 'GameUserInfoDto(playerId=' + this.g2g_1 + ', name=' + this.h2g_1 + ', avatarUrl=' + this.i2g_1 + ', isBot=' + this.j2g_1 + ')';
|
|
2396
2374
|
};
|
|
2397
2375
|
GameUserInfoDto.prototype.hashCode = function () {
|
|
2398
|
-
var result = getStringHashCode(this.
|
|
2376
|
+
var result = getStringHashCode(this.g2g_1);
|
|
2377
|
+
result = imul(result, 31) + getStringHashCode(this.h2g_1) | 0;
|
|
2399
2378
|
result = imul(result, 31) + getStringHashCode(this.i2g_1) | 0;
|
|
2400
|
-
result = imul(result, 31) +
|
|
2401
|
-
result = imul(result, 31) + (this.k2g_1 == null ? 0 : this.k2g_1 | 0) | 0;
|
|
2379
|
+
result = imul(result, 31) + (this.j2g_1 == null ? 0 : this.j2g_1 | 0) | 0;
|
|
2402
2380
|
return result;
|
|
2403
2381
|
};
|
|
2404
2382
|
GameUserInfoDto.prototype.equals = function (other) {
|
|
@@ -2407,13 +2385,13 @@
|
|
|
2407
2385
|
if (!(other instanceof GameUserInfoDto))
|
|
2408
2386
|
return false;
|
|
2409
2387
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2388
|
+
if (!(this.g2g_1 === tmp0_other_with_cast.g2g_1))
|
|
2389
|
+
return false;
|
|
2410
2390
|
if (!(this.h2g_1 === tmp0_other_with_cast.h2g_1))
|
|
2411
2391
|
return false;
|
|
2412
2392
|
if (!(this.i2g_1 === tmp0_other_with_cast.i2g_1))
|
|
2413
2393
|
return false;
|
|
2414
|
-
if (!(this.j2g_1
|
|
2415
|
-
return false;
|
|
2416
|
-
if (!(this.k2g_1 == tmp0_other_with_cast.k2g_1))
|
|
2394
|
+
if (!(this.j2g_1 == tmp0_other_with_cast.j2g_1))
|
|
2417
2395
|
return false;
|
|
2418
2396
|
return true;
|
|
2419
2397
|
};
|
|
@@ -2435,10 +2413,10 @@
|
|
|
2435
2413
|
tmp0_serialDesc.b1k('state', false);
|
|
2436
2414
|
tmp0_serialDesc.b1k('ready', false);
|
|
2437
2415
|
tmp0_serialDesc.b1k('tag', true);
|
|
2438
|
-
this.
|
|
2416
|
+
this.t2g_1 = tmp0_serialDesc;
|
|
2439
2417
|
}
|
|
2440
2418
|
$serializer_6.prototype.p19 = function () {
|
|
2441
|
-
return this.
|
|
2419
|
+
return this.t2g_1;
|
|
2442
2420
|
};
|
|
2443
2421
|
$serializer_6.prototype.q1k = function () {
|
|
2444
2422
|
var tmp$ret$2;
|
|
@@ -2454,7 +2432,7 @@
|
|
|
2454
2432
|
return tmp$ret$2;
|
|
2455
2433
|
};
|
|
2456
2434
|
$serializer_6.prototype.r19 = function (decoder) {
|
|
2457
|
-
var tmp0_desc = this.
|
|
2435
|
+
var tmp0_desc = this.t2g_1;
|
|
2458
2436
|
var tmp1_flag = true;
|
|
2459
2437
|
var tmp2_index = 0;
|
|
2460
2438
|
var tmp3_bitMask0 = 0;
|
|
@@ -2516,27 +2494,27 @@
|
|
|
2516
2494
|
tmp10_input.x1c(tmp0_desc);
|
|
2517
2495
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
2518
2496
|
};
|
|
2519
|
-
$serializer_6.prototype.
|
|
2520
|
-
var tmp0_desc = this.
|
|
2497
|
+
$serializer_6.prototype.u2g = function (encoder, value) {
|
|
2498
|
+
var tmp0_desc = this.t2g_1;
|
|
2521
2499
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2522
|
-
if (tmp1_output.t1e(tmp0_desc, 0) ? true : !(value.
|
|
2523
|
-
tmp1_output.p1e(tmp0_desc, 0, LongSerializer_getInstance(), value.
|
|
2500
|
+
if (tmp1_output.t1e(tmp0_desc, 0) ? true : !(value.k2g_1 == null)) {
|
|
2501
|
+
tmp1_output.p1e(tmp0_desc, 0, LongSerializer_getInstance(), value.k2g_1);
|
|
2524
2502
|
}
|
|
2525
|
-
if (tmp1_output.t1e(tmp0_desc, 1) ? true : !(value.
|
|
2526
|
-
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2503
|
+
if (tmp1_output.t1e(tmp0_desc, 1) ? true : !(value.l2g_1 == null)) {
|
|
2504
|
+
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.l2g_1);
|
|
2527
2505
|
}
|
|
2528
|
-
if (tmp1_output.t1e(tmp0_desc, 2) ? true : !(value.
|
|
2529
|
-
tmp1_output.p1e(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2506
|
+
if (tmp1_output.t1e(tmp0_desc, 2) ? true : !(value.m2g_1 == null)) {
|
|
2507
|
+
tmp1_output.p1e(tmp0_desc, 2, StringSerializer_getInstance(), value.m2g_1);
|
|
2530
2508
|
}
|
|
2531
|
-
tmp1_output.n1e(tmp0_desc, 3, Companion_getInstance_10().l1w(), value.
|
|
2532
|
-
tmp1_output.d1e(tmp0_desc, 4, value.
|
|
2533
|
-
if (tmp1_output.t1e(tmp0_desc, 5) ? true : !(value.
|
|
2534
|
-
tmp1_output.p1e(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
2509
|
+
tmp1_output.n1e(tmp0_desc, 3, Companion_getInstance_10().l1w(), value.n2g_1);
|
|
2510
|
+
tmp1_output.d1e(tmp0_desc, 4, value.o2g_1);
|
|
2511
|
+
if (tmp1_output.t1e(tmp0_desc, 5) ? true : !(value.p2g_1 == null)) {
|
|
2512
|
+
tmp1_output.p1e(tmp0_desc, 5, StringSerializer_getInstance(), value.p2g_1);
|
|
2535
2513
|
}
|
|
2536
2514
|
tmp1_output.x1c(tmp0_desc);
|
|
2537
2515
|
};
|
|
2538
2516
|
$serializer_6.prototype.q19 = function (encoder, value) {
|
|
2539
|
-
return this.
|
|
2517
|
+
return this.u2g(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2540
2518
|
};
|
|
2541
2519
|
var $serializer_instance_6;
|
|
2542
2520
|
function $serializer_getInstance_6() {
|
|
@@ -2546,26 +2524,26 @@
|
|
|
2546
2524
|
}
|
|
2547
2525
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2548
2526
|
if (!(24 === (24 & seen1))) {
|
|
2549
|
-
throwMissingFieldException(seen1, 24, $serializer_getInstance_6().
|
|
2527
|
+
throwMissingFieldException(seen1, 24, $serializer_getInstance_6().t2g_1);
|
|
2550
2528
|
}
|
|
2551
2529
|
if (0 === (seen1 & 1))
|
|
2552
|
-
$this.
|
|
2530
|
+
$this.k2g_1 = null;
|
|
2553
2531
|
else
|
|
2554
|
-
$this.
|
|
2532
|
+
$this.k2g_1 = startFromTime;
|
|
2555
2533
|
if (0 === (seen1 & 2))
|
|
2556
|
-
$this.
|
|
2534
|
+
$this.l2g_1 = null;
|
|
2557
2535
|
else
|
|
2558
|
-
$this.
|
|
2536
|
+
$this.l2g_1 = startFrom;
|
|
2559
2537
|
if (0 === (seen1 & 4))
|
|
2560
|
-
$this.
|
|
2538
|
+
$this.m2g_1 = null;
|
|
2561
2539
|
else
|
|
2562
|
-
$this.
|
|
2563
|
-
$this.
|
|
2564
|
-
$this.
|
|
2540
|
+
$this.m2g_1 = waitPlayerUntilTime;
|
|
2541
|
+
$this.n2g_1 = state;
|
|
2542
|
+
$this.o2g_1 = ready;
|
|
2565
2543
|
if (0 === (seen1 & 32))
|
|
2566
|
-
$this.
|
|
2544
|
+
$this.p2g_1 = null;
|
|
2567
2545
|
else
|
|
2568
|
-
$this.
|
|
2546
|
+
$this.p2g_1 = tag;
|
|
2569
2547
|
return $this;
|
|
2570
2548
|
}
|
|
2571
2549
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag, serializationConstructorMarker) {
|
|
@@ -2573,15 +2551,15 @@
|
|
|
2573
2551
|
}
|
|
2574
2552
|
function PlayerStateDto(startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag) {
|
|
2575
2553
|
Companion_getInstance_14();
|
|
2576
|
-
this.
|
|
2577
|
-
this.
|
|
2578
|
-
this.
|
|
2579
|
-
this.
|
|
2580
|
-
this.
|
|
2581
|
-
this.
|
|
2582
|
-
}
|
|
2583
|
-
PlayerStateDto.prototype.
|
|
2584
|
-
var tmp0_safe_receiver = this.
|
|
2554
|
+
this.k2g_1 = startFromTime;
|
|
2555
|
+
this.l2g_1 = startFrom;
|
|
2556
|
+
this.m2g_1 = waitPlayerUntilTime;
|
|
2557
|
+
this.n2g_1 = state;
|
|
2558
|
+
this.o2g_1 = ready;
|
|
2559
|
+
this.p2g_1 = tag;
|
|
2560
|
+
}
|
|
2561
|
+
PlayerStateDto.prototype.q2g = function () {
|
|
2562
|
+
var tmp0_safe_receiver = this.k2g_1;
|
|
2585
2563
|
var tmp;
|
|
2586
2564
|
if (tmp0_safe_receiver == null) {
|
|
2587
2565
|
tmp = null;
|
|
@@ -2591,23 +2569,23 @@
|
|
|
2591
2569
|
// Inline function 'kotlin.contracts.contract' call
|
|
2592
2570
|
var tmp$ret$0;
|
|
2593
2571
|
// Inline function 'com.logic.data.models.serializable.player.PlayerStateDto.<get-time>.<anonymous>' call
|
|
2594
|
-
tmp$ret$0 = Companion_getInstance().v2b(this.
|
|
2572
|
+
tmp$ret$0 = Companion_getInstance().v2b(this.k2g_1);
|
|
2595
2573
|
tmp$ret$1 = tmp$ret$0;
|
|
2596
2574
|
tmp = tmp$ret$1;
|
|
2597
2575
|
}
|
|
2598
2576
|
var tmp1_elvis_lhs = tmp;
|
|
2599
|
-
return tmp1_elvis_lhs == null ? toInstant(ensureNotNull(this.
|
|
2577
|
+
return tmp1_elvis_lhs == null ? toInstant(ensureNotNull(this.l2g_1)) : tmp1_elvis_lhs;
|
|
2600
2578
|
};
|
|
2601
2579
|
PlayerStateDto.prototype.toString = function () {
|
|
2602
|
-
return 'PlayerStateDto(startFromTime=' + toString(this.
|
|
2580
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.k2g_1) + ', startFrom=' + this.l2g_1 + ', waitPlayerUntilTime=' + this.m2g_1 + ', state=' + this.n2g_1 + ', ready=' + this.o2g_1 + ', tag=' + this.p2g_1 + ')';
|
|
2603
2581
|
};
|
|
2604
2582
|
PlayerStateDto.prototype.hashCode = function () {
|
|
2605
|
-
var result = this.
|
|
2583
|
+
var result = this.k2g_1 == null ? 0 : this.k2g_1.hashCode();
|
|
2584
|
+
result = imul(result, 31) + (this.l2g_1 == null ? 0 : getStringHashCode(this.l2g_1)) | 0;
|
|
2606
2585
|
result = imul(result, 31) + (this.m2g_1 == null ? 0 : getStringHashCode(this.m2g_1)) | 0;
|
|
2607
|
-
result = imul(result, 31) +
|
|
2608
|
-
result = imul(result, 31) + this.o2g_1
|
|
2609
|
-
result = imul(result, 31) + (this.p2g_1
|
|
2610
|
-
result = imul(result, 31) + (this.q2g_1 == null ? 0 : getStringHashCode(this.q2g_1)) | 0;
|
|
2586
|
+
result = imul(result, 31) + this.n2g_1.hashCode() | 0;
|
|
2587
|
+
result = imul(result, 31) + (this.o2g_1 | 0) | 0;
|
|
2588
|
+
result = imul(result, 31) + (this.p2g_1 == null ? 0 : getStringHashCode(this.p2g_1)) | 0;
|
|
2611
2589
|
return result;
|
|
2612
2590
|
};
|
|
2613
2591
|
PlayerStateDto.prototype.equals = function (other) {
|
|
@@ -2616,17 +2594,17 @@
|
|
|
2616
2594
|
if (!(other instanceof PlayerStateDto))
|
|
2617
2595
|
return false;
|
|
2618
2596
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2619
|
-
if (!equals(this.
|
|
2597
|
+
if (!equals(this.k2g_1, tmp0_other_with_cast.k2g_1))
|
|
2620
2598
|
return false;
|
|
2621
|
-
if (!(this.
|
|
2599
|
+
if (!(this.l2g_1 == tmp0_other_with_cast.l2g_1))
|
|
2622
2600
|
return false;
|
|
2623
|
-
if (!(this.
|
|
2601
|
+
if (!(this.m2g_1 == tmp0_other_with_cast.m2g_1))
|
|
2624
2602
|
return false;
|
|
2625
|
-
if (!this.
|
|
2603
|
+
if (!this.n2g_1.equals(tmp0_other_with_cast.n2g_1))
|
|
2626
2604
|
return false;
|
|
2627
|
-
if (!(this.
|
|
2605
|
+
if (!(this.o2g_1 === tmp0_other_with_cast.o2g_1))
|
|
2628
2606
|
return false;
|
|
2629
|
-
if (!(this.
|
|
2607
|
+
if (!(this.p2g_1 == tmp0_other_with_cast.p2g_1))
|
|
2630
2608
|
return false;
|
|
2631
2609
|
return true;
|
|
2632
2610
|
};
|
|
@@ -2668,10 +2646,10 @@
|
|
|
2668
2646
|
tmp0_serialDesc.b1k('checkTrumpCombination', false);
|
|
2669
2647
|
tmp0_serialDesc.b1k('checkOnlyTrumpDebertz', false);
|
|
2670
2648
|
tmp0_serialDesc.b1k('tenCardsInHand', false);
|
|
2671
|
-
this.
|
|
2649
|
+
this.v2g_1 = tmp0_serialDesc;
|
|
2672
2650
|
}
|
|
2673
2651
|
$serializer_7.prototype.p19 = function () {
|
|
2674
|
-
return this.
|
|
2652
|
+
return this.v2g_1;
|
|
2675
2653
|
};
|
|
2676
2654
|
$serializer_7.prototype.q1k = function () {
|
|
2677
2655
|
var tmp$ret$2;
|
|
@@ -2687,7 +2665,7 @@
|
|
|
2687
2665
|
return tmp$ret$2;
|
|
2688
2666
|
};
|
|
2689
2667
|
$serializer_7.prototype.r19 = function (decoder) {
|
|
2690
|
-
var tmp0_desc = this.
|
|
2668
|
+
var tmp0_desc = this.v2g_1;
|
|
2691
2669
|
var tmp1_flag = true;
|
|
2692
2670
|
var tmp2_index = 0;
|
|
2693
2671
|
var tmp3_bitMask0 = 0;
|
|
@@ -2826,32 +2804,32 @@
|
|
|
2826
2804
|
tmp21_input.x1c(tmp0_desc);
|
|
2827
2805
|
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);
|
|
2828
2806
|
};
|
|
2829
|
-
$serializer_7.prototype.
|
|
2830
|
-
var tmp0_desc = this.
|
|
2807
|
+
$serializer_7.prototype.w2g = function (encoder, value) {
|
|
2808
|
+
var tmp0_desc = this.v2g_1;
|
|
2831
2809
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2832
|
-
tmp1_output.d1e(tmp0_desc, 0, value.
|
|
2833
|
-
tmp1_output.d1e(tmp0_desc, 1, value.
|
|
2834
|
-
tmp1_output.d1e(tmp0_desc, 2, value.
|
|
2835
|
-
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.
|
|
2836
|
-
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2810
|
+
tmp1_output.d1e(tmp0_desc, 0, value.p2f_1);
|
|
2811
|
+
tmp1_output.d1e(tmp0_desc, 1, value.q2f_1);
|
|
2812
|
+
tmp1_output.d1e(tmp0_desc, 2, value.r2f_1);
|
|
2813
|
+
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.s2f_1 == null)) {
|
|
2814
|
+
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.s2f_1);
|
|
2837
2815
|
}
|
|
2838
|
-
tmp1_output.d1e(tmp0_desc, 4, value.
|
|
2839
|
-
tmp1_output.d1e(tmp0_desc, 5, value.
|
|
2840
|
-
tmp1_output.d1e(tmp0_desc, 6, value.
|
|
2841
|
-
tmp1_output.d1e(tmp0_desc, 7, value.
|
|
2842
|
-
tmp1_output.d1e(tmp0_desc, 8, value.
|
|
2843
|
-
tmp1_output.d1e(tmp0_desc, 9, value.
|
|
2844
|
-
tmp1_output.d1e(tmp0_desc, 10, value.
|
|
2845
|
-
tmp1_output.d1e(tmp0_desc, 11, value.
|
|
2846
|
-
tmp1_output.g1e(tmp0_desc, 12, value.
|
|
2847
|
-
tmp1_output.d1e(tmp0_desc, 13, value.
|
|
2848
|
-
tmp1_output.d1e(tmp0_desc, 14, value.
|
|
2849
|
-
tmp1_output.d1e(tmp0_desc, 15, value.
|
|
2850
|
-
tmp1_output.d1e(tmp0_desc, 16, value.
|
|
2816
|
+
tmp1_output.d1e(tmp0_desc, 4, value.t2f_1);
|
|
2817
|
+
tmp1_output.d1e(tmp0_desc, 5, value.u2f_1);
|
|
2818
|
+
tmp1_output.d1e(tmp0_desc, 6, value.v2f_1);
|
|
2819
|
+
tmp1_output.d1e(tmp0_desc, 7, value.w2f_1);
|
|
2820
|
+
tmp1_output.d1e(tmp0_desc, 8, value.x2f_1);
|
|
2821
|
+
tmp1_output.d1e(tmp0_desc, 9, value.y2f_1);
|
|
2822
|
+
tmp1_output.d1e(tmp0_desc, 10, value.z2f_1);
|
|
2823
|
+
tmp1_output.d1e(tmp0_desc, 11, value.a2g_1);
|
|
2824
|
+
tmp1_output.g1e(tmp0_desc, 12, value.b2g_1);
|
|
2825
|
+
tmp1_output.d1e(tmp0_desc, 13, value.c2g_1);
|
|
2826
|
+
tmp1_output.d1e(tmp0_desc, 14, value.d2g_1);
|
|
2827
|
+
tmp1_output.d1e(tmp0_desc, 15, value.e2g_1);
|
|
2828
|
+
tmp1_output.d1e(tmp0_desc, 16, value.f2g_1);
|
|
2851
2829
|
tmp1_output.x1c(tmp0_desc);
|
|
2852
2830
|
};
|
|
2853
2831
|
$serializer_7.prototype.q19 = function (encoder, value) {
|
|
2854
|
-
return this.
|
|
2832
|
+
return this.w2g(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2855
2833
|
};
|
|
2856
2834
|
var $serializer_instance_7;
|
|
2857
2835
|
function $serializer_getInstance_7() {
|
|
@@ -2861,28 +2839,28 @@
|
|
|
2861
2839
|
}
|
|
2862
2840
|
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) {
|
|
2863
2841
|
if (!(131063 === (131063 & seen1))) {
|
|
2864
|
-
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().
|
|
2842
|
+
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().v2g_1);
|
|
2865
2843
|
}
|
|
2866
|
-
$this.
|
|
2867
|
-
$this.
|
|
2868
|
-
$this.
|
|
2844
|
+
$this.p2f_1 = needToPutHigherTrump;
|
|
2845
|
+
$this.q2f_1 = distributePoints;
|
|
2846
|
+
$this.r2f_1 = protectBella;
|
|
2869
2847
|
if (0 === (seen1 & 8))
|
|
2870
|
-
$this.
|
|
2848
|
+
$this.s2f_1 = null;
|
|
2871
2849
|
else
|
|
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.
|
|
2850
|
+
$this.s2f_1 = oneTryToProtectBella;
|
|
2851
|
+
$this.t2f_1 = enableFourSevensCombination;
|
|
2852
|
+
$this.u2f_1 = enableTrumpSevenCombination;
|
|
2853
|
+
$this.v2f_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2854
|
+
$this.w2f_1 = playerWhoChooseSuitGoFirst;
|
|
2855
|
+
$this.x2f_1 = winnerShuffleCards;
|
|
2856
|
+
$this.y2f_1 = playWithoutLiabilities;
|
|
2857
|
+
$this.z2f_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2858
|
+
$this.a2g_1 = enableFineIfNoBribes;
|
|
2859
|
+
$this.b2g_1 = fineIfNoBribes;
|
|
2860
|
+
$this.c2g_1 = enableFineAfterThirdByte;
|
|
2861
|
+
$this.d2g_1 = checkTrumpCombination;
|
|
2862
|
+
$this.e2g_1 = checkOnlyTrumpDebertz;
|
|
2863
|
+
$this.f2g_1 = tenCardsInHand;
|
|
2886
2864
|
return $this;
|
|
2887
2865
|
}
|
|
2888
2866
|
function RulesDto_init_$Create$_0(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -2890,32 +2868,33 @@
|
|
|
2890
2868
|
}
|
|
2891
2869
|
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2892
2870
|
Companion_getInstance_15();
|
|
2893
|
-
this.
|
|
2894
|
-
this.
|
|
2895
|
-
this.
|
|
2896
|
-
this.
|
|
2897
|
-
this.
|
|
2898
|
-
this.
|
|
2899
|
-
this.
|
|
2900
|
-
this.
|
|
2901
|
-
this.
|
|
2902
|
-
this.
|
|
2903
|
-
this.
|
|
2904
|
-
this.
|
|
2905
|
-
this.
|
|
2906
|
-
this.
|
|
2907
|
-
this.
|
|
2908
|
-
this.
|
|
2909
|
-
this.
|
|
2871
|
+
this.p2f_1 = needToPutHigherTrump;
|
|
2872
|
+
this.q2f_1 = distributePoints;
|
|
2873
|
+
this.r2f_1 = protectBella;
|
|
2874
|
+
this.s2f_1 = oneTryToProtectBella;
|
|
2875
|
+
this.t2f_1 = enableFourSevensCombination;
|
|
2876
|
+
this.u2f_1 = enableTrumpSevenCombination;
|
|
2877
|
+
this.v2f_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2878
|
+
this.w2f_1 = playerWhoChooseSuitGoFirst;
|
|
2879
|
+
this.x2f_1 = winnerShuffleCards;
|
|
2880
|
+
this.y2f_1 = playWithoutLiabilities;
|
|
2881
|
+
this.z2f_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2882
|
+
this.a2g_1 = enableFineIfNoBribes;
|
|
2883
|
+
this.b2g_1 = fineIfNoBribes;
|
|
2884
|
+
this.c2g_1 = enableFineAfterThirdByte;
|
|
2885
|
+
this.d2g_1 = checkTrumpCombination;
|
|
2886
|
+
this.e2g_1 = checkOnlyTrumpDebertz;
|
|
2887
|
+
this.f2g_1 = tenCardsInHand;
|
|
2910
2888
|
}
|
|
2911
2889
|
RulesDto.prototype.toString = function () {
|
|
2912
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2890
|
+
return 'RulesDto(needToPutHigherTrump=' + this.p2f_1 + ', distributePoints=' + this.q2f_1 + ', protectBella=' + this.r2f_1 + ', oneTryToProtectBella=' + this.s2f_1 + ', enableFourSevensCombination=' + this.t2f_1 + ', enableTrumpSevenCombination=' + this.u2f_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.v2f_1 + ', playerWhoChooseSuitGoFirst=' + this.w2f_1 + ', winnerShuffleCards=' + this.x2f_1 + ', playWithoutLiabilities=' + this.y2f_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.z2f_1 + ', enableFineIfNoBribes=' + this.a2g_1 + ', fineIfNoBribes=' + this.b2g_1 + ', enableFineAfterThirdByte=' + this.c2g_1 + ', checkTrumpCombination=' + this.d2g_1 + ', checkOnlyTrumpDebertz=' + this.e2g_1 + ', tenCardsInHand=' + this.f2g_1 + ')';
|
|
2913
2891
|
};
|
|
2914
2892
|
RulesDto.prototype.hashCode = function () {
|
|
2915
|
-
var result = this.
|
|
2893
|
+
var result = this.p2f_1 | 0;
|
|
2894
|
+
result = imul(result, 31) + (this.q2f_1 | 0) | 0;
|
|
2916
2895
|
result = imul(result, 31) + (this.r2f_1 | 0) | 0;
|
|
2917
|
-
result = imul(result, 31) + (this.s2f_1 | 0) | 0;
|
|
2918
|
-
result = imul(result, 31) + (this.t2f_1
|
|
2896
|
+
result = imul(result, 31) + (this.s2f_1 == null ? 0 : this.s2f_1 | 0) | 0;
|
|
2897
|
+
result = imul(result, 31) + (this.t2f_1 | 0) | 0;
|
|
2919
2898
|
result = imul(result, 31) + (this.u2f_1 | 0) | 0;
|
|
2920
2899
|
result = imul(result, 31) + (this.v2f_1 | 0) | 0;
|
|
2921
2900
|
result = imul(result, 31) + (this.w2f_1 | 0) | 0;
|
|
@@ -2923,12 +2902,11 @@
|
|
|
2923
2902
|
result = imul(result, 31) + (this.y2f_1 | 0) | 0;
|
|
2924
2903
|
result = imul(result, 31) + (this.z2f_1 | 0) | 0;
|
|
2925
2904
|
result = imul(result, 31) + (this.a2g_1 | 0) | 0;
|
|
2926
|
-
result = imul(result, 31) +
|
|
2927
|
-
result = imul(result, 31) + this.c2g_1 | 0;
|
|
2905
|
+
result = imul(result, 31) + this.b2g_1 | 0;
|
|
2906
|
+
result = imul(result, 31) + (this.c2g_1 | 0) | 0;
|
|
2928
2907
|
result = imul(result, 31) + (this.d2g_1 | 0) | 0;
|
|
2929
2908
|
result = imul(result, 31) + (this.e2g_1 | 0) | 0;
|
|
2930
2909
|
result = imul(result, 31) + (this.f2g_1 | 0) | 0;
|
|
2931
|
-
result = imul(result, 31) + (this.g2g_1 | 0) | 0;
|
|
2932
2910
|
return result;
|
|
2933
2911
|
};
|
|
2934
2912
|
RulesDto.prototype.equals = function (other) {
|
|
@@ -2937,13 +2915,15 @@
|
|
|
2937
2915
|
if (!(other instanceof RulesDto))
|
|
2938
2916
|
return false;
|
|
2939
2917
|
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;
|
|
2940
2920
|
if (!(this.q2f_1 === tmp0_other_with_cast.q2f_1))
|
|
2941
2921
|
return false;
|
|
2942
2922
|
if (!(this.r2f_1 === tmp0_other_with_cast.r2f_1))
|
|
2943
2923
|
return false;
|
|
2944
|
-
if (!(this.s2f_1
|
|
2924
|
+
if (!(this.s2f_1 == tmp0_other_with_cast.s2f_1))
|
|
2945
2925
|
return false;
|
|
2946
|
-
if (!(this.t2f_1
|
|
2926
|
+
if (!(this.t2f_1 === tmp0_other_with_cast.t2f_1))
|
|
2947
2927
|
return false;
|
|
2948
2928
|
if (!(this.u2f_1 === tmp0_other_with_cast.u2f_1))
|
|
2949
2929
|
return false;
|
|
@@ -2969,20 +2949,18 @@
|
|
|
2969
2949
|
return false;
|
|
2970
2950
|
if (!(this.f2g_1 === tmp0_other_with_cast.f2g_1))
|
|
2971
2951
|
return false;
|
|
2972
|
-
if (!(this.g2g_1 === tmp0_other_with_cast.g2g_1))
|
|
2973
|
-
return false;
|
|
2974
2952
|
return true;
|
|
2975
2953
|
};
|
|
2976
2954
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
2977
|
-
this.
|
|
2978
|
-
this.
|
|
2955
|
+
this.x2g_1 = trump;
|
|
2956
|
+
this.y2g_1 = firstCardSuit;
|
|
2979
2957
|
}
|
|
2980
|
-
CardGrowthComparator.prototype.
|
|
2981
|
-
return getGrowth(b, this.
|
|
2958
|
+
CardGrowthComparator.prototype.z2g = function (a, b) {
|
|
2959
|
+
return getGrowth(b, this.x2g_1, this.y2g_1) - getGrowth(a, this.x2g_1, this.y2g_1) | 0;
|
|
2982
2960
|
};
|
|
2983
2961
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
2984
2962
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2985
|
-
return this.
|
|
2963
|
+
return this.z2g(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2986
2964
|
};
|
|
2987
2965
|
function filterByCardName(_this__u8e3s4, name) {
|
|
2988
2966
|
var tmp$ret$1;
|
|
@@ -3005,12 +2983,12 @@
|
|
|
3005
2983
|
function CardIndexComparator() {
|
|
3006
2984
|
CardIndexComparator_instance = this;
|
|
3007
2985
|
}
|
|
3008
|
-
CardIndexComparator.prototype.
|
|
3009
|
-
return a.
|
|
2986
|
+
CardIndexComparator.prototype.z2g = function (a, b) {
|
|
2987
|
+
return a.m2f_1 - b.m2f_1 | 0;
|
|
3010
2988
|
};
|
|
3011
2989
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
3012
2990
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3013
|
-
return this.
|
|
2991
|
+
return this.z2g(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3014
2992
|
};
|
|
3015
2993
|
var CardIndexComparator_instance;
|
|
3016
2994
|
function CardIndexComparator_getInstance() {
|
|
@@ -3039,12 +3017,12 @@
|
|
|
3039
3017
|
function CardNumberComparator() {
|
|
3040
3018
|
CardNumberComparator_instance = this;
|
|
3041
3019
|
}
|
|
3042
|
-
CardNumberComparator.prototype.
|
|
3043
|
-
return b.
|
|
3020
|
+
CardNumberComparator.prototype.z2g = function (a, b) {
|
|
3021
|
+
return b.a2h() - a.a2h() | 0;
|
|
3044
3022
|
};
|
|
3045
3023
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
3046
3024
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3047
|
-
return this.
|
|
3025
|
+
return this.z2g(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3048
3026
|
};
|
|
3049
3027
|
var CardNumberComparator_instance;
|
|
3050
3028
|
function CardNumberComparator_getInstance() {
|
|
@@ -3053,7 +3031,7 @@
|
|
|
3053
3031
|
return CardNumberComparator_instance;
|
|
3054
3032
|
}
|
|
3055
3033
|
function getPoint(_this__u8e3s4, trump) {
|
|
3056
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
3034
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.b2h());
|
|
3057
3035
|
var tmp0_subject = _this__u8e3s4.zf();
|
|
3058
3036
|
var tmp0 = tmp0_subject.n4_1;
|
|
3059
3037
|
var tmp;
|
|
@@ -3087,8 +3065,8 @@
|
|
|
3087
3065
|
}
|
|
3088
3066
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
3089
3067
|
var minPoint = 0;
|
|
3090
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3091
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
3068
|
+
var isTrump = trump.equals(_this__u8e3s4.b2h());
|
|
3069
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.b2h());
|
|
3092
3070
|
var minGrowth;
|
|
3093
3071
|
var maxGrowth;
|
|
3094
3072
|
var tmp0_subject = _this__u8e3s4.zf();
|
|
@@ -3186,7 +3164,7 @@
|
|
|
3186
3164
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3187
3165
|
var tmp$ret$0;
|
|
3188
3166
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
3189
|
-
tmp$ret$0 = p1.
|
|
3167
|
+
tmp$ret$0 = p1.b2h().equals(element);
|
|
3190
3168
|
if (tmp$ret$0) {
|
|
3191
3169
|
tmp$ret$1 = true;
|
|
3192
3170
|
break $l$block;
|
|
@@ -3234,10 +3212,10 @@
|
|
|
3234
3212
|
function Companion_15() {
|
|
3235
3213
|
Companion_instance_15 = this;
|
|
3236
3214
|
}
|
|
3237
|
-
Companion_15.prototype.
|
|
3215
|
+
Companion_15.prototype.c2h = function (suit, cardNumber) {
|
|
3238
3216
|
return new GameCard(getNumber(Companion_getInstance_17(), cardNumber, suit));
|
|
3239
3217
|
};
|
|
3240
|
-
Companion_15.prototype.
|
|
3218
|
+
Companion_15.prototype.d2h = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
3241
3219
|
var tmp0_safe_receiver = previousStubCardWithMaxIndex;
|
|
3242
3220
|
var tmp;
|
|
3243
3221
|
if (tmp0_safe_receiver == null) {
|
|
@@ -3249,7 +3227,7 @@
|
|
|
3249
3227
|
var tmp_0;
|
|
3250
3228
|
var tmp$ret$0;
|
|
3251
3229
|
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
3252
|
-
tmp$ret$0 = tmp0_safe_receiver.
|
|
3230
|
+
tmp$ret$0 = tmp0_safe_receiver.e2h();
|
|
3253
3231
|
if (tmp$ret$0) {
|
|
3254
3232
|
tmp_0 = tmp0_safe_receiver;
|
|
3255
3233
|
} else {
|
|
@@ -3259,8 +3237,8 @@
|
|
|
3259
3237
|
tmp = tmp$ret$1;
|
|
3260
3238
|
}
|
|
3261
3239
|
var tmp1_safe_receiver = tmp;
|
|
3262
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3263
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_getInstance_17().
|
|
3240
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.m2f_1;
|
|
3241
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_getInstance_17().j2h(tmp2_safe_receiver, playerIndex, reverse);
|
|
3264
3242
|
var tmp_1;
|
|
3265
3243
|
if (tmp3_safe_receiver == null) {
|
|
3266
3244
|
tmp_1 = null;
|
|
@@ -3289,12 +3267,12 @@
|
|
|
3289
3267
|
var index = tmp_2;
|
|
3290
3268
|
return new GameCard(index);
|
|
3291
3269
|
};
|
|
3292
|
-
Companion_15.prototype.
|
|
3270
|
+
Companion_15.prototype.k2h = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $mask0, $handler) {
|
|
3293
3271
|
if (!(($mask0 & 4) === 0))
|
|
3294
3272
|
previousStubCardWithMaxIndex = null;
|
|
3295
3273
|
if (!(($mask0 & 8) === 0))
|
|
3296
3274
|
reverse = false;
|
|
3297
|
-
return this.
|
|
3275
|
+
return this.d2h(position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
3298
3276
|
};
|
|
3299
3277
|
var Companion_instance_15;
|
|
3300
3278
|
function Companion_getInstance_16() {
|
|
@@ -3403,7 +3381,7 @@
|
|
|
3403
3381
|
return tmp;
|
|
3404
3382
|
}
|
|
3405
3383
|
function _get_isShirt__vd98rp($this) {
|
|
3406
|
-
var tmp = $this.
|
|
3384
|
+
var tmp = $this.m2f_1;
|
|
3407
3385
|
Companion_getInstance_17();
|
|
3408
3386
|
return tmp === 52;
|
|
3409
3387
|
}
|
|
@@ -3412,12 +3390,12 @@
|
|
|
3412
3390
|
}
|
|
3413
3391
|
function Companion_16() {
|
|
3414
3392
|
Companion_instance_16 = this;
|
|
3415
|
-
this.
|
|
3416
|
-
this.
|
|
3417
|
-
this.
|
|
3418
|
-
this.
|
|
3393
|
+
this.f2h_1 = -1;
|
|
3394
|
+
this.g2h_1 = 13;
|
|
3395
|
+
this.h2h_1 = 52;
|
|
3396
|
+
this.i2h_1 = 53;
|
|
3419
3397
|
}
|
|
3420
|
-
Companion_16.prototype.
|
|
3398
|
+
Companion_16.prototype.j2h = function (_this__u8e3s4, playerIndex, reverse) {
|
|
3421
3399
|
var tmp;
|
|
3422
3400
|
if (reverse) {
|
|
3423
3401
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -3490,55 +3468,55 @@
|
|
|
3490
3468
|
}
|
|
3491
3469
|
function GameCard(index) {
|
|
3492
3470
|
Companion_getInstance_17();
|
|
3493
|
-
this.
|
|
3471
|
+
this.m2f_1 = index;
|
|
3494
3472
|
}
|
|
3495
|
-
GameCard.prototype.
|
|
3473
|
+
GameCard.prototype.b2h = function () {
|
|
3496
3474
|
var tmp;
|
|
3497
3475
|
Companion_getInstance_17();
|
|
3498
3476
|
var containsUpper = 13;
|
|
3499
|
-
var containsArg = this.
|
|
3477
|
+
var containsArg = this.m2f_1;
|
|
3500
3478
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3501
3479
|
tmp = Suit_DIAMOND_getInstance();
|
|
3502
3480
|
} else {
|
|
3503
|
-
var tmp_0 = this.
|
|
3481
|
+
var tmp_0 = this.m2f_1;
|
|
3504
3482
|
Companion_getInstance_17();
|
|
3505
3483
|
if (tmp_0 <= imul(13, 2)) {
|
|
3506
3484
|
tmp = Suit_SPADE_getInstance();
|
|
3507
3485
|
} else {
|
|
3508
|
-
var tmp_1 = this.
|
|
3486
|
+
var tmp_1 = this.m2f_1;
|
|
3509
3487
|
Companion_getInstance_17();
|
|
3510
3488
|
if (tmp_1 <= imul(13, 3)) {
|
|
3511
3489
|
tmp = Suit_HEART_getInstance();
|
|
3512
3490
|
} else {
|
|
3513
|
-
var tmp_2 = this.
|
|
3491
|
+
var tmp_2 = this.m2f_1;
|
|
3514
3492
|
Companion_getInstance_17();
|
|
3515
3493
|
if (tmp_2 <= imul(13, 4)) {
|
|
3516
3494
|
tmp = Suit_CLUB_getInstance();
|
|
3517
3495
|
} else {
|
|
3518
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3496
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.m2f_1);
|
|
3519
3497
|
}
|
|
3520
3498
|
}
|
|
3521
3499
|
}
|
|
3522
3500
|
}
|
|
3523
3501
|
return tmp;
|
|
3524
3502
|
};
|
|
3525
|
-
GameCard.prototype.
|
|
3503
|
+
GameCard.prototype.a2h = function () {
|
|
3526
3504
|
var tmp;
|
|
3527
|
-
if (this.
|
|
3505
|
+
if (this.e2h()) {
|
|
3528
3506
|
Companion_getInstance_17();
|
|
3529
3507
|
tmp = -1;
|
|
3530
3508
|
} else {
|
|
3531
|
-
var tmp_0 = this.
|
|
3509
|
+
var tmp_0 = this.m2f_1;
|
|
3532
3510
|
Companion_getInstance_17();
|
|
3533
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3511
|
+
tmp = tmp_0 - imul(13, getIndex(this.b2h())) | 0;
|
|
3534
3512
|
}
|
|
3535
3513
|
return tmp;
|
|
3536
3514
|
};
|
|
3537
3515
|
GameCard.prototype.zf = function () {
|
|
3538
|
-
return this.
|
|
3516
|
+
return this.e2h() ? CardName_STUB_getInstance() : getName(Companion_getInstance_17(), this.a2h());
|
|
3539
3517
|
};
|
|
3540
|
-
GameCard.prototype.
|
|
3541
|
-
var tmp = this.
|
|
3518
|
+
GameCard.prototype.e2h = function () {
|
|
3519
|
+
var tmp = this.m2f_1;
|
|
3542
3520
|
Companion_getInstance_17();
|
|
3543
3521
|
return tmp >= 53;
|
|
3544
3522
|
};
|
|
@@ -3546,13 +3524,13 @@
|
|
|
3546
3524
|
if (_get_isShirt__vd98rp(this)) {
|
|
3547
3525
|
return 'GameCard(SHIRT)';
|
|
3548
3526
|
}
|
|
3549
|
-
if (this.
|
|
3550
|
-
return 'GameCard(STUB, ' + this.
|
|
3527
|
+
if (this.e2h()) {
|
|
3528
|
+
return 'GameCard(STUB, ' + this.m2f_1 + ')';
|
|
3551
3529
|
}
|
|
3552
|
-
return 'GameCard(' + this.zf() + ', suit: ' + this.
|
|
3530
|
+
return 'GameCard(' + this.zf() + ', suit: ' + this.b2h() + ', index=' + this.m2f_1 + ')';
|
|
3553
3531
|
};
|
|
3554
3532
|
GameCard.prototype.hashCode = function () {
|
|
3555
|
-
return this.
|
|
3533
|
+
return this.m2f_1;
|
|
3556
3534
|
};
|
|
3557
3535
|
GameCard.prototype.equals = function (other) {
|
|
3558
3536
|
if (this === other)
|
|
@@ -3560,23 +3538,23 @@
|
|
|
3560
3538
|
if (!(other instanceof GameCard))
|
|
3561
3539
|
return false;
|
|
3562
3540
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3563
|
-
if (!(this.
|
|
3541
|
+
if (!(this.m2f_1 === tmp0_other_with_cast.m2f_1))
|
|
3564
3542
|
return false;
|
|
3565
3543
|
return true;
|
|
3566
3544
|
};
|
|
3567
3545
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3568
|
-
this.
|
|
3569
|
-
this.
|
|
3546
|
+
this.n2f_1 = playerId;
|
|
3547
|
+
this.o2f_1 = gameCard;
|
|
3570
3548
|
}
|
|
3571
3549
|
GameCardWIthPlayerId.prototype.w2c = function () {
|
|
3572
|
-
return this.
|
|
3550
|
+
return this.n2f_1;
|
|
3573
3551
|
};
|
|
3574
3552
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3575
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3553
|
+
return 'GameCardWIthPlayerId(playerId=' + this.n2f_1 + ', gameCard=' + this.o2f_1 + ')';
|
|
3576
3554
|
};
|
|
3577
3555
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3578
|
-
var result = getStringHashCode(this.
|
|
3579
|
-
result = imul(result, 31) + this.
|
|
3556
|
+
var result = getStringHashCode(this.n2f_1);
|
|
3557
|
+
result = imul(result, 31) + this.o2f_1.hashCode() | 0;
|
|
3580
3558
|
return result;
|
|
3581
3559
|
};
|
|
3582
3560
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3585,9 +3563,9 @@
|
|
|
3585
3563
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3586
3564
|
return false;
|
|
3587
3565
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3588
|
-
if (!(this.
|
|
3566
|
+
if (!(this.n2f_1 === tmp0_other_with_cast.n2f_1))
|
|
3589
3567
|
return false;
|
|
3590
|
-
if (!this.
|
|
3568
|
+
if (!this.o2f_1.equals(tmp0_other_with_cast.o2f_1))
|
|
3591
3569
|
return false;
|
|
3592
3570
|
return true;
|
|
3593
3571
|
};
|
|
@@ -3598,15 +3576,15 @@
|
|
|
3598
3576
|
}
|
|
3599
3577
|
});
|
|
3600
3578
|
function ProcessingCard(gameCard, payload) {
|
|
3601
|
-
this.
|
|
3602
|
-
this.
|
|
3579
|
+
this.l2h_1 = gameCard;
|
|
3580
|
+
this.m2h_1 = payload;
|
|
3603
3581
|
}
|
|
3604
3582
|
ProcessingCard.prototype.toString = function () {
|
|
3605
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3583
|
+
return 'ProcessingCard(gameCard=' + this.l2h_1 + ', payload=' + this.m2h_1 + ')';
|
|
3606
3584
|
};
|
|
3607
3585
|
ProcessingCard.prototype.hashCode = function () {
|
|
3608
|
-
var result = this.
|
|
3609
|
-
result = imul(result, 31) + (this.
|
|
3586
|
+
var result = this.l2h_1.hashCode();
|
|
3587
|
+
result = imul(result, 31) + (this.m2h_1 == null ? 0 : hashCode(this.m2h_1)) | 0;
|
|
3610
3588
|
return result;
|
|
3611
3589
|
};
|
|
3612
3590
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3615,9 +3593,9 @@
|
|
|
3615
3593
|
if (!(other instanceof ProcessingCard))
|
|
3616
3594
|
return false;
|
|
3617
3595
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3618
|
-
if (!this.
|
|
3596
|
+
if (!this.l2h_1.equals(tmp0_other_with_cast.l2h_1))
|
|
3619
3597
|
return false;
|
|
3620
|
-
if (!equals(this.
|
|
3598
|
+
if (!equals(this.m2h_1, tmp0_other_with_cast.m2h_1))
|
|
3621
3599
|
return false;
|
|
3622
3600
|
return true;
|
|
3623
3601
|
};
|
|
@@ -3632,10 +3610,10 @@
|
|
|
3632
3610
|
Companion_instance_17 = this;
|
|
3633
3611
|
var tmp = this;
|
|
3634
3612
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3635
|
-
tmp.
|
|
3613
|
+
tmp.n2h_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3636
3614
|
}
|
|
3637
3615
|
Companion_17.prototype.l1w = function () {
|
|
3638
|
-
return this.
|
|
3616
|
+
return this.n2h_1.j1();
|
|
3639
3617
|
};
|
|
3640
3618
|
Companion_17.prototype.b1l = function (typeParamsSerializers) {
|
|
3641
3619
|
return this.l1w();
|
|
@@ -3704,81 +3682,81 @@
|
|
|
3704
3682
|
return tmp;
|
|
3705
3683
|
}
|
|
3706
3684
|
function _no_name_provided__qut3iv($logger) {
|
|
3707
|
-
this.
|
|
3685
|
+
this.p2h_1 = $logger;
|
|
3708
3686
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3709
3687
|
}
|
|
3710
3688
|
_no_name_provided__qut3iv.prototype.vm = function (context, exception) {
|
|
3711
3689
|
var tmp = 'AsyncProvider error: ' + exception;
|
|
3712
|
-
return this.
|
|
3690
|
+
return this.p2h_1.q2h('AsyncErrorHandler', tmp, exception, null, 8, null);
|
|
3713
3691
|
};
|
|
3714
3692
|
function AsyncProviderImpl(logger) {
|
|
3715
3693
|
var tmp = this;
|
|
3716
|
-
tmp.
|
|
3694
|
+
tmp.r2h_1 = Job$default(null, 1, null);
|
|
3717
3695
|
var tmp_0 = this;
|
|
3718
3696
|
var tmp$ret$0;
|
|
3719
3697
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3720
3698
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3721
|
-
tmp_0.
|
|
3722
|
-
this.
|
|
3723
|
-
this.
|
|
3699
|
+
tmp_0.s2h_1 = tmp$ret$0;
|
|
3700
|
+
this.t2h_1 = CoroutineScope(Dispatchers_getInstance().vq().h4(this.r2h_1));
|
|
3701
|
+
this.u2h_1 = CoroutineScope(Dispatchers_getInstance().rq_1.h4(this.r2h_1));
|
|
3724
3702
|
}
|
|
3725
|
-
AsyncProviderImpl.prototype.
|
|
3726
|
-
return this.
|
|
3703
|
+
AsyncProviderImpl.prototype.v2h = function () {
|
|
3704
|
+
return this.s2h_1;
|
|
3727
3705
|
};
|
|
3728
|
-
AsyncProviderImpl.prototype.
|
|
3729
|
-
return launch$default(this.
|
|
3706
|
+
AsyncProviderImpl.prototype.w2h = function (context, block) {
|
|
3707
|
+
return launch$default(this.t2h_1, context, null, block, 2, null);
|
|
3730
3708
|
};
|
|
3731
|
-
AsyncProviderImpl.prototype.
|
|
3732
|
-
return launch$default(this.
|
|
3709
|
+
AsyncProviderImpl.prototype.y2h = function (context, block) {
|
|
3710
|
+
return launch$default(this.u2h_1, context, null, block, 2, null);
|
|
3733
3711
|
};
|
|
3734
3712
|
AsyncProviderImpl.prototype.nk = function () {
|
|
3735
|
-
if (!this.
|
|
3736
|
-
this.
|
|
3713
|
+
if (!this.r2h_1.np()) {
|
|
3714
|
+
this.r2h_1.lj(null, 1, null);
|
|
3737
3715
|
}
|
|
3738
3716
|
};
|
|
3739
3717
|
function AsyncProvider() {
|
|
3740
3718
|
}
|
|
3741
3719
|
function UUIDIdsProvider() {
|
|
3742
3720
|
}
|
|
3743
|
-
UUIDIdsProvider.prototype.
|
|
3721
|
+
UUIDIdsProvider.prototype.a2i = function () {
|
|
3744
3722
|
return uuid4().toString();
|
|
3745
3723
|
};
|
|
3746
3724
|
function IdsProvider() {
|
|
3747
3725
|
}
|
|
3748
3726
|
function JobsProviderImpl(logger) {
|
|
3749
|
-
this.
|
|
3727
|
+
this.b2i_1 = logger;
|
|
3750
3728
|
var tmp = this;
|
|
3751
3729
|
var tmp$ret$0;
|
|
3752
3730
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3753
3731
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
3754
|
-
tmp.
|
|
3732
|
+
tmp.c2i_1 = tmp$ret$0;
|
|
3755
3733
|
}
|
|
3756
|
-
JobsProviderImpl.prototype.
|
|
3757
|
-
if (this.
|
|
3734
|
+
JobsProviderImpl.prototype.d2i = function (timerTag, job) {
|
|
3735
|
+
if (this.f2i(timerTag)) {
|
|
3758
3736
|
var tmp = 'Timer already exists for that tag: ' + timerTag;
|
|
3759
|
-
this.
|
|
3737
|
+
this.b2i_1.e2i(null, tmp, null, 5, null);
|
|
3760
3738
|
}
|
|
3761
3739
|
// Inline function 'kotlin.collections.set' call
|
|
3762
|
-
var tmp0_set = this.
|
|
3740
|
+
var tmp0_set = this.c2i_1;
|
|
3763
3741
|
tmp0_set.w2(timerTag, job);
|
|
3764
3742
|
};
|
|
3765
|
-
JobsProviderImpl.prototype.
|
|
3766
|
-
return this.
|
|
3743
|
+
JobsProviderImpl.prototype.f2i = function (timerTag) {
|
|
3744
|
+
return this.c2i_1.q1(timerTag);
|
|
3767
3745
|
};
|
|
3768
|
-
JobsProviderImpl.prototype.
|
|
3769
|
-
if (!this.
|
|
3746
|
+
JobsProviderImpl.prototype.g2i = function (timerTag) {
|
|
3747
|
+
if (!this.f2i(timerTag)) {
|
|
3770
3748
|
var tmp = "Can't find timer for that tag: " + timerTag;
|
|
3771
|
-
this.
|
|
3749
|
+
this.b2i_1.e2i(null, tmp, null, 5, null);
|
|
3772
3750
|
}
|
|
3773
|
-
this.
|
|
3751
|
+
this.c2i_1.sb(timerTag);
|
|
3774
3752
|
};
|
|
3775
|
-
JobsProviderImpl.prototype.
|
|
3753
|
+
JobsProviderImpl.prototype.h2i = function (timers) {
|
|
3776
3754
|
// Inline function 'kotlin.collections.forEach' call
|
|
3777
3755
|
var tmp0_iterator = timers.g();
|
|
3778
3756
|
while (tmp0_iterator.h()) {
|
|
3779
3757
|
var element = tmp0_iterator.i();
|
|
3780
3758
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3781
|
-
var timer = this.
|
|
3759
|
+
var timer = this.c2i_1.t1(element);
|
|
3782
3760
|
var tmp0_safe_receiver = timer;
|
|
3783
3761
|
if (tmp0_safe_receiver == null)
|
|
3784
3762
|
null;
|
|
@@ -3786,11 +3764,11 @@
|
|
|
3786
3764
|
tmp0_safe_receiver.lj(null, 1, null);
|
|
3787
3765
|
}
|
|
3788
3766
|
}
|
|
3789
|
-
this.
|
|
3767
|
+
this.c2i_1.u1().qa(toSet(timers));
|
|
3790
3768
|
};
|
|
3791
|
-
JobsProviderImpl.prototype.
|
|
3792
|
-
var timer = this.
|
|
3793
|
-
this.
|
|
3769
|
+
JobsProviderImpl.prototype.i2i = function (timerTag) {
|
|
3770
|
+
var timer = this.c2i_1.t1(timerTag);
|
|
3771
|
+
this.c2i_1.sb(timerTag);
|
|
3794
3772
|
var tmp0_safe_receiver = timer;
|
|
3795
3773
|
if (tmp0_safe_receiver == null)
|
|
3796
3774
|
null;
|
|
@@ -3944,10 +3922,10 @@
|
|
|
3944
3922
|
}
|
|
3945
3923
|
function createStore$dispatch(currentState, currentReducer, $logger, action) {
|
|
3946
3924
|
try {
|
|
3947
|
-
currentState.fy(currentReducer._v.
|
|
3925
|
+
currentState.fy(currentReducer._v.j2i(currentState.j1(), action));
|
|
3948
3926
|
} catch ($p) {
|
|
3949
3927
|
if ($p instanceof Exception) {
|
|
3950
|
-
$logger.
|
|
3928
|
+
$logger.q2h('createStore.dispatch', null, $p, null, 10, null);
|
|
3951
3929
|
} else {
|
|
3952
3930
|
throw $p;
|
|
3953
3931
|
}
|
|
@@ -3979,46 +3957,46 @@
|
|
|
3979
3957
|
return l;
|
|
3980
3958
|
}
|
|
3981
3959
|
function createStore$2($currentState, $currentReducer, $logger) {
|
|
3982
|
-
this.
|
|
3960
|
+
this.m2i_1 = $currentState;
|
|
3983
3961
|
var tmp = this;
|
|
3984
|
-
tmp.
|
|
3962
|
+
tmp.k2i_1 = createStore$dispatch$ref($currentState, $currentReducer, $logger);
|
|
3985
3963
|
var tmp_0 = this;
|
|
3986
|
-
tmp_0.
|
|
3964
|
+
tmp_0.l2i_1 = createStore$replaceReducer$ref($currentReducer, $currentState, $logger);
|
|
3987
3965
|
}
|
|
3988
|
-
createStore$2.prototype.
|
|
3989
|
-
this.
|
|
3966
|
+
createStore$2.prototype.n2i = function (_set____db54di) {
|
|
3967
|
+
this.k2i_1 = _set____db54di;
|
|
3968
|
+
};
|
|
3969
|
+
createStore$2.prototype.o2i = function () {
|
|
3970
|
+
return this.k2i_1;
|
|
3990
3971
|
};
|
|
3991
3972
|
createStore$2.prototype.p2i = function () {
|
|
3992
|
-
return this.
|
|
3973
|
+
return this.m2i_1;
|
|
3993
3974
|
};
|
|
3994
3975
|
createStore$2.prototype.q2i = function () {
|
|
3995
|
-
return this.
|
|
3996
|
-
};
|
|
3997
|
-
createStore$2.prototype.r2i = function () {
|
|
3998
|
-
return this.m2i_1;
|
|
3976
|
+
return this.l2i_1;
|
|
3999
3977
|
};
|
|
4000
3978
|
createStore$2.prototype.xi = function () {
|
|
4001
|
-
return this.
|
|
3979
|
+
return this.m2i_1.j1();
|
|
4002
3980
|
};
|
|
4003
3981
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
4004
3982
|
configurable: true,
|
|
4005
3983
|
get: function () {
|
|
4006
|
-
return this.
|
|
3984
|
+
return this.o2i();
|
|
4007
3985
|
},
|
|
4008
3986
|
set: function (value) {
|
|
4009
|
-
this.
|
|
3987
|
+
this.n2i(value);
|
|
4010
3988
|
}
|
|
4011
3989
|
});
|
|
4012
3990
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
4013
3991
|
configurable: true,
|
|
4014
3992
|
get: function () {
|
|
4015
|
-
return this.
|
|
3993
|
+
return this.p2i();
|
|
4016
3994
|
}
|
|
4017
3995
|
});
|
|
4018
3996
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
4019
3997
|
configurable: true,
|
|
4020
3998
|
get: function () {
|
|
4021
|
-
return this.
|
|
3999
|
+
return this.q2i();
|
|
4022
4000
|
}
|
|
4023
4001
|
});
|
|
4024
4002
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
@@ -4051,10 +4029,10 @@
|
|
|
4051
4029
|
return new middleware$1(dispatch);
|
|
4052
4030
|
}
|
|
4053
4031
|
function middleware$1($dispatch) {
|
|
4054
|
-
this.
|
|
4032
|
+
this.u2i_1 = $dispatch;
|
|
4055
4033
|
}
|
|
4056
|
-
middleware$1.prototype.
|
|
4057
|
-
this.
|
|
4034
|
+
middleware$1.prototype.t2i = function (store, next, action) {
|
|
4035
|
+
this.u2i_1(store, next, action);
|
|
4058
4036
|
};
|
|
4059
4037
|
function Reducer() {
|
|
4060
4038
|
}
|
|
@@ -4062,9 +4040,9 @@
|
|
|
4062
4040
|
return new combineReducers$1(reducers);
|
|
4063
4041
|
}
|
|
4064
4042
|
function combineReducers$1($reducers) {
|
|
4065
|
-
this.
|
|
4043
|
+
this.v2i_1 = $reducers;
|
|
4066
4044
|
}
|
|
4067
|
-
combineReducers$1.prototype.
|
|
4045
|
+
combineReducers$1.prototype.w2i = function (state, action) {
|
|
4068
4046
|
var tmp$ret$4;
|
|
4069
4047
|
// Inline function 'kotlin.collections.fold' call
|
|
4070
4048
|
var tmp$ret$2;
|
|
@@ -4072,7 +4050,7 @@
|
|
|
4072
4050
|
var tmp$ret$1;
|
|
4073
4051
|
// Inline function 'kotlin.collections.filterTo' call
|
|
4074
4052
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
4075
|
-
var indexedObject = this.
|
|
4053
|
+
var indexedObject = this.v2i_1;
|
|
4076
4054
|
var inductionVariable = 0;
|
|
4077
4055
|
var last = indexedObject.length;
|
|
4078
4056
|
while (inductionVariable < last) {
|
|
@@ -4080,7 +4058,7 @@
|
|
|
4080
4058
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4081
4059
|
var tmp$ret$0;
|
|
4082
4060
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4083
|
-
tmp$ret$0 = element.
|
|
4061
|
+
tmp$ret$0 = element.s2i(action);
|
|
4084
4062
|
if (tmp$ret$0) {
|
|
4085
4063
|
tmp0_filterTo.a(element);
|
|
4086
4064
|
}
|
|
@@ -4095,14 +4073,14 @@
|
|
|
4095
4073
|
var tmp$ret$3;
|
|
4096
4074
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4097
4075
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
4098
|
-
tmp$ret$3 = element_0.
|
|
4076
|
+
tmp$ret$3 = element_0.j2i(tmp1__anonymous__uwfjfc, action);
|
|
4099
4077
|
accumulator = tmp$ret$3;
|
|
4100
4078
|
}
|
|
4101
4079
|
tmp$ret$4 = accumulator;
|
|
4102
4080
|
return tmp$ret$4;
|
|
4103
4081
|
};
|
|
4104
|
-
combineReducers$1.prototype.
|
|
4105
|
-
return this.
|
|
4082
|
+
combineReducers$1.prototype.j2i = function (state, action) {
|
|
4083
|
+
return this.w2i((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
4106
4084
|
};
|
|
4107
4085
|
function Store() {
|
|
4108
4086
|
}
|
|
@@ -4113,7 +4091,7 @@
|
|
|
4113
4091
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
4114
4092
|
configurable: true,
|
|
4115
4093
|
get: function () {
|
|
4116
|
-
return this.
|
|
4094
|
+
return this.r2i();
|
|
4117
4095
|
}
|
|
4118
4096
|
});
|
|
4119
4097
|
var INIT_instance;
|
|
@@ -4129,7 +4107,7 @@
|
|
|
4129
4107
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
4130
4108
|
configurable: true,
|
|
4131
4109
|
get: function () {
|
|
4132
|
-
return this.
|
|
4110
|
+
return this.r2i();
|
|
4133
4111
|
}
|
|
4134
4112
|
});
|
|
4135
4113
|
var REPLACE_instance;
|
|
@@ -4143,7 +4121,7 @@
|
|
|
4143
4121
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
4144
4122
|
configurable: true,
|
|
4145
4123
|
get: function () {
|
|
4146
|
-
return this.
|
|
4124
|
+
return this.r2i();
|
|
4147
4125
|
}
|
|
4148
4126
|
});
|
|
4149
4127
|
function BufferedAction() {
|
|
@@ -4154,16 +4132,16 @@
|
|
|
4154
4132
|
}
|
|
4155
4133
|
function StopTimerAction(timerTag) {
|
|
4156
4134
|
TimerAction.call(this);
|
|
4157
|
-
this.
|
|
4135
|
+
this.y2i_1 = timerTag;
|
|
4158
4136
|
}
|
|
4159
|
-
StopTimerAction.prototype.
|
|
4160
|
-
return this.
|
|
4137
|
+
StopTimerAction.prototype.z2i = function () {
|
|
4138
|
+
return this.y2i_1;
|
|
4161
4139
|
};
|
|
4162
4140
|
StopTimerAction.prototype.toString = function () {
|
|
4163
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
4141
|
+
return 'StopTimerAction(timerTag=' + this.y2i_1 + ')';
|
|
4164
4142
|
};
|
|
4165
4143
|
StopTimerAction.prototype.hashCode = function () {
|
|
4166
|
-
return hashCode(this.
|
|
4144
|
+
return hashCode(this.y2i_1);
|
|
4167
4145
|
};
|
|
4168
4146
|
StopTimerAction.prototype.equals = function (other) {
|
|
4169
4147
|
if (this === other)
|
|
@@ -4171,14 +4149,14 @@
|
|
|
4171
4149
|
if (!(other instanceof StopTimerAction))
|
|
4172
4150
|
return false;
|
|
4173
4151
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
4174
|
-
if (!equals(this.
|
|
4152
|
+
if (!equals(this.y2i_1, tmp0_other_with_cast.y2i_1))
|
|
4175
4153
|
return false;
|
|
4176
4154
|
return true;
|
|
4177
4155
|
};
|
|
4178
4156
|
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
4179
4157
|
configurable: true,
|
|
4180
4158
|
get: function () {
|
|
4181
|
-
return this.
|
|
4159
|
+
return this.r2i();
|
|
4182
4160
|
}
|
|
4183
4161
|
});
|
|
4184
4162
|
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
@@ -4194,22 +4172,22 @@
|
|
|
4194
4172
|
}
|
|
4195
4173
|
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
4196
4174
|
TimerAction.call(this);
|
|
4197
|
-
this.
|
|
4198
|
-
this.
|
|
4199
|
-
this.
|
|
4200
|
-
this.
|
|
4175
|
+
this.a2j_1 = timerTag;
|
|
4176
|
+
this.b2j_1 = delayMillis;
|
|
4177
|
+
this.c2j_1 = initialDelay;
|
|
4178
|
+
this.d2j_1 = type;
|
|
4201
4179
|
}
|
|
4202
|
-
StartTimerAction.prototype.
|
|
4203
|
-
return this.
|
|
4180
|
+
StartTimerAction.prototype.z2i = function () {
|
|
4181
|
+
return this.a2j_1;
|
|
4204
4182
|
};
|
|
4205
4183
|
StartTimerAction.prototype.toString = function () {
|
|
4206
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
4184
|
+
return 'StartTimerAction(timerTag=' + this.a2j_1 + ', delayMillis=' + toString_0(this.b2j_1) + ', initialDelay=' + toString_0(this.c2j_1) + ', type=' + this.d2j_1 + ')';
|
|
4207
4185
|
};
|
|
4208
4186
|
StartTimerAction.prototype.hashCode = function () {
|
|
4209
|
-
var result = hashCode(this.
|
|
4187
|
+
var result = hashCode(this.a2j_1);
|
|
4188
|
+
result = imul(result, 31) + this.b2j_1.hashCode() | 0;
|
|
4210
4189
|
result = imul(result, 31) + this.c2j_1.hashCode() | 0;
|
|
4211
4190
|
result = imul(result, 31) + this.d2j_1.hashCode() | 0;
|
|
4212
|
-
result = imul(result, 31) + this.e2j_1.hashCode() | 0;
|
|
4213
4191
|
return result;
|
|
4214
4192
|
};
|
|
4215
4193
|
StartTimerAction.prototype.equals = function (other) {
|
|
@@ -4218,20 +4196,20 @@
|
|
|
4218
4196
|
if (!(other instanceof StartTimerAction))
|
|
4219
4197
|
return false;
|
|
4220
4198
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
4221
|
-
if (!equals(this.
|
|
4199
|
+
if (!equals(this.a2j_1, tmp0_other_with_cast.a2j_1))
|
|
4200
|
+
return false;
|
|
4201
|
+
if (!this.b2j_1.equals(tmp0_other_with_cast.b2j_1))
|
|
4222
4202
|
return false;
|
|
4223
4203
|
if (!this.c2j_1.equals(tmp0_other_with_cast.c2j_1))
|
|
4224
4204
|
return false;
|
|
4225
4205
|
if (!this.d2j_1.equals(tmp0_other_with_cast.d2j_1))
|
|
4226
4206
|
return false;
|
|
4227
|
-
if (!this.e2j_1.equals(tmp0_other_with_cast.e2j_1))
|
|
4228
|
-
return false;
|
|
4229
4207
|
return true;
|
|
4230
4208
|
};
|
|
4231
4209
|
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
4232
4210
|
configurable: true,
|
|
4233
4211
|
get: function () {
|
|
4234
|
-
return this.
|
|
4212
|
+
return this.r2i();
|
|
4235
4213
|
}
|
|
4236
4214
|
});
|
|
4237
4215
|
var TimerType_DELAY_instance;
|
|
@@ -4249,21 +4227,21 @@
|
|
|
4249
4227
|
}
|
|
4250
4228
|
function TimerTickAction(timerTag, type) {
|
|
4251
4229
|
TimerAction.call(this);
|
|
4252
|
-
this.
|
|
4253
|
-
this.
|
|
4230
|
+
this.e2j_1 = timerTag;
|
|
4231
|
+
this.f2j_1 = type;
|
|
4254
4232
|
}
|
|
4255
|
-
TimerTickAction.prototype.
|
|
4256
|
-
return this.
|
|
4233
|
+
TimerTickAction.prototype.z2i = function () {
|
|
4234
|
+
return this.e2j_1;
|
|
4257
4235
|
};
|
|
4258
4236
|
TimerTickAction.prototype.notValidateWhenFinished = function () {
|
|
4259
|
-
return this.
|
|
4237
|
+
return this.e2j_1.notValidateWhenFinished();
|
|
4260
4238
|
};
|
|
4261
4239
|
TimerTickAction.prototype.toString = function () {
|
|
4262
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4240
|
+
return 'TimerTickAction(timerTag=' + this.e2j_1 + ', type=' + this.f2j_1 + ')';
|
|
4263
4241
|
};
|
|
4264
4242
|
TimerTickAction.prototype.hashCode = function () {
|
|
4265
|
-
var result = hashCode(this.
|
|
4266
|
-
result = imul(result, 31) + this.
|
|
4243
|
+
var result = hashCode(this.e2j_1);
|
|
4244
|
+
result = imul(result, 31) + this.f2j_1.hashCode() | 0;
|
|
4267
4245
|
return result;
|
|
4268
4246
|
};
|
|
4269
4247
|
TimerTickAction.prototype.equals = function (other) {
|
|
@@ -4272,16 +4250,16 @@
|
|
|
4272
4250
|
if (!(other instanceof TimerTickAction))
|
|
4273
4251
|
return false;
|
|
4274
4252
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4275
|
-
if (!equals(this.
|
|
4253
|
+
if (!equals(this.e2j_1, tmp0_other_with_cast.e2j_1))
|
|
4276
4254
|
return false;
|
|
4277
|
-
if (!this.
|
|
4255
|
+
if (!this.f2j_1.equals(tmp0_other_with_cast.f2j_1))
|
|
4278
4256
|
return false;
|
|
4279
4257
|
return true;
|
|
4280
4258
|
};
|
|
4281
4259
|
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4282
4260
|
configurable: true,
|
|
4283
4261
|
get: function () {
|
|
4284
|
-
return this.
|
|
4262
|
+
return this.r2i();
|
|
4285
4263
|
}
|
|
4286
4264
|
});
|
|
4287
4265
|
function TimerAction() {
|
|
@@ -4289,7 +4267,7 @@
|
|
|
4289
4267
|
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4290
4268
|
configurable: true,
|
|
4291
4269
|
get: function () {
|
|
4292
|
-
return this.
|
|
4270
|
+
return this.r2i();
|
|
4293
4271
|
}
|
|
4294
4272
|
});
|
|
4295
4273
|
function TimerType_DELAY_getInstance() {
|
|
@@ -4315,8 +4293,7 @@
|
|
|
4315
4293
|
} catch ($p) {
|
|
4316
4294
|
var tmp_0;
|
|
4317
4295
|
if ($p instanceof Exception) {
|
|
4318
|
-
|
|
4319
|
-
$logger.r2h('StoreEnhancer', tmp_1, $p, null, 8, null);
|
|
4296
|
+
$logger.g2j('StoreEnhancer', 'StoreEnhancer error: ' + $p, $p, action);
|
|
4320
4297
|
tmp_0 = Unit_getInstance();
|
|
4321
4298
|
} else {
|
|
4322
4299
|
throw $p;
|
|
@@ -4344,7 +4321,7 @@
|
|
|
4344
4321
|
}
|
|
4345
4322
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
4346
4323
|
return function (action) {
|
|
4347
|
-
$tmp0__anonymous__1nv1x1.
|
|
4324
|
+
$tmp0__anonymous__1nv1x1.t2i($store, $tmp1__anonymous__6ijp4k, action);
|
|
4348
4325
|
return Unit_getInstance();
|
|
4349
4326
|
};
|
|
4350
4327
|
}
|
|
@@ -4363,7 +4340,7 @@
|
|
|
4363
4340
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4364
4341
|
var tmp$ret$0;
|
|
4365
4342
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4366
|
-
tmp$ret$0 = element.
|
|
4343
|
+
tmp$ret$0 = element.s2i(action);
|
|
4367
4344
|
if (tmp$ret$0) {
|
|
4368
4345
|
tmp0_filterTo.a(element);
|
|
4369
4346
|
}
|
|
@@ -4432,8 +4409,8 @@
|
|
|
4432
4409
|
var tmp = this.xg_1;
|
|
4433
4410
|
if (tmp === 0) {
|
|
4434
4411
|
this.yg_1 = 1;
|
|
4435
|
-
if (this.p2j_1.
|
|
4436
|
-
this.r2j_1.dispatch(new TimerTickAction(this.q2j_1.
|
|
4412
|
+
if (this.p2j_1.f2i(this.q2j_1.z2i())) {
|
|
4413
|
+
this.r2j_1.dispatch(new TimerTickAction(this.q2j_1.z2i(), TimerType_DELAY_getInstance()));
|
|
4437
4414
|
}
|
|
4438
4415
|
return Unit_getInstance();
|
|
4439
4416
|
} else if (tmp === 1) {
|
|
@@ -4479,8 +4456,8 @@
|
|
|
4479
4456
|
var tmp = this.xg_1;
|
|
4480
4457
|
if (tmp === 0) {
|
|
4481
4458
|
this.yg_1 = 1;
|
|
4482
|
-
if (this.b2k_1.
|
|
4483
|
-
this.d2k_1.dispatch(new TimerTickAction(this.c2k_1.
|
|
4459
|
+
if (this.b2k_1.f2i(this.c2k_1.z2i())) {
|
|
4460
|
+
this.d2k_1.dispatch(new TimerTickAction(this.c2k_1.z2i(), TimerType_INTERVAL_getInstance()));
|
|
4484
4461
|
}
|
|
4485
4462
|
return Unit_getInstance();
|
|
4486
4463
|
} else if (tmp === 1) {
|
|
@@ -4528,9 +4505,9 @@
|
|
|
4528
4505
|
switch (tmp) {
|
|
4529
4506
|
case 0:
|
|
4530
4507
|
this.yg_1 = 10;
|
|
4531
|
-
if (!this.n2k_1.
|
|
4508
|
+
if (!this.n2k_1.c2j_1.equals(new Long(0, 0)) ? this.n2k_1.d2j_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4532
4509
|
this.xg_1 = 1;
|
|
4533
|
-
suspendResult = delay(this.n2k_1.
|
|
4510
|
+
suspendResult = delay(this.n2k_1.c2j_1, this);
|
|
4534
4511
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4535
4512
|
return suspendResult;
|
|
4536
4513
|
}
|
|
@@ -4545,20 +4522,20 @@
|
|
|
4545
4522
|
this.xg_1 = 2;
|
|
4546
4523
|
continue $sm;
|
|
4547
4524
|
case 2:
|
|
4548
|
-
this.s2k_1 = this.n2k_1.
|
|
4525
|
+
this.s2k_1 = this.n2k_1.d2j_1;
|
|
4549
4526
|
this.t2k_1 = this.s2k_1.n4_1;
|
|
4550
4527
|
if (this.t2k_1 === 0) {
|
|
4551
4528
|
this.xg_1 = 8;
|
|
4552
|
-
suspendResult = delay(this.n2k_1.
|
|
4529
|
+
suspendResult = delay(this.n2k_1.b2j_1, this);
|
|
4553
4530
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4554
4531
|
return suspendResult;
|
|
4555
4532
|
}
|
|
4556
4533
|
continue $sm;
|
|
4557
4534
|
} else {
|
|
4558
4535
|
if (this.t2k_1 === 1) {
|
|
4559
|
-
if (!this.n2k_1.
|
|
4536
|
+
if (!this.n2k_1.c2j_1.equals(new Long(0, 0))) {
|
|
4560
4537
|
this.xg_1 = 3;
|
|
4561
|
-
suspendResult = delay(this.n2k_1.
|
|
4538
|
+
suspendResult = delay(this.n2k_1.c2j_1, this);
|
|
4562
4539
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4563
4540
|
return suspendResult;
|
|
4564
4541
|
}
|
|
@@ -4586,10 +4563,10 @@
|
|
|
4586
4563
|
continue $sm;
|
|
4587
4564
|
}
|
|
4588
4565
|
|
|
4589
|
-
this.o2k_1.
|
|
4566
|
+
this.o2k_1.x2h(null, timerMiddleware$o$handle$slambda$slambda_2(this.p2k_1, this.n2k_1, this.q2k_1, null), 1, null);
|
|
4590
4567
|
;
|
|
4591
4568
|
this.xg_1 = 6;
|
|
4592
|
-
suspendResult = delay(this.n2k_1.
|
|
4569
|
+
suspendResult = delay(this.n2k_1.c2j_1, this);
|
|
4593
4570
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4594
4571
|
return suspendResult;
|
|
4595
4572
|
}
|
|
@@ -4602,7 +4579,7 @@
|
|
|
4602
4579
|
this.xg_1 = 9;
|
|
4603
4580
|
continue $sm;
|
|
4604
4581
|
case 8:
|
|
4605
|
-
this.o2k_1.
|
|
4582
|
+
this.o2k_1.x2h(null, timerMiddleware$o$handle$slambda$slambda_0(this.p2k_1, this.n2k_1, this.q2k_1, null), 1, null);
|
|
4606
4583
|
;
|
|
4607
4584
|
this.xg_1 = 9;
|
|
4608
4585
|
continue $sm;
|
|
@@ -4638,7 +4615,7 @@
|
|
|
4638
4615
|
this.u2k_1 = $asyncProvider;
|
|
4639
4616
|
this.v2k_1 = $jobsProvider;
|
|
4640
4617
|
}
|
|
4641
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4618
|
+
_no_name_provided__qut3iv_0.prototype.s2i = function (action) {
|
|
4642
4619
|
return action instanceof TimerAction;
|
|
4643
4620
|
};
|
|
4644
4621
|
_no_name_provided__qut3iv_0.prototype.w2k = function (store, next, action) {
|
|
@@ -4646,22 +4623,22 @@
|
|
|
4646
4623
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4647
4624
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4648
4625
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
4649
|
-
var job = this.u2k_1.
|
|
4650
|
-
this.v2k_1.
|
|
4626
|
+
var job = this.u2k_1.z2h(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.u2k_1, this.v2k_1, store, null), 1, null);
|
|
4627
|
+
this.v2k_1.d2i(tmp0__anonymous__q1qw7t.z2i(), job);
|
|
4651
4628
|
} else {
|
|
4652
4629
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
4653
|
-
this.v2k_1.
|
|
4630
|
+
this.v2k_1.i2i(tmp0__anonymous__q1qw7t.z2i());
|
|
4654
4631
|
} else {
|
|
4655
4632
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
4656
|
-
if (tmp0__anonymous__q1qw7t.
|
|
4657
|
-
this.v2k_1.
|
|
4633
|
+
if (tmp0__anonymous__q1qw7t.f2j_1.equals(TimerType_DELAY_getInstance())) {
|
|
4634
|
+
this.v2k_1.g2i(tmp0__anonymous__q1qw7t.z2i());
|
|
4658
4635
|
}
|
|
4659
4636
|
}
|
|
4660
4637
|
}
|
|
4661
4638
|
}
|
|
4662
4639
|
next(tmp0__anonymous__q1qw7t);
|
|
4663
4640
|
};
|
|
4664
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4641
|
+
_no_name_provided__qut3iv_0.prototype.t2i = function (store, next, action) {
|
|
4665
4642
|
return this.w2k(store, next, action);
|
|
4666
4643
|
};
|
|
4667
4644
|
function enumToString(_this__u8e3s4, mapping) {
|
|
@@ -4947,24 +4924,24 @@
|
|
|
4947
4924
|
element.o2l(tag, message, payload);
|
|
4948
4925
|
}
|
|
4949
4926
|
};
|
|
4950
|
-
CombinedGameLogger.prototype.
|
|
4927
|
+
CombinedGameLogger.prototype.g2j = function (tag, message, exception, payload) {
|
|
4951
4928
|
// Inline function 'kotlin.collections.forEach' call
|
|
4952
4929
|
var tmp0_forEach = this.n2l_1;
|
|
4953
4930
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4954
4931
|
while (tmp0_iterator.h()) {
|
|
4955
4932
|
var element = tmp0_iterator.i();
|
|
4956
4933
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4957
|
-
element.
|
|
4934
|
+
element.g2j(tag, message, exception, payload);
|
|
4958
4935
|
}
|
|
4959
4936
|
};
|
|
4960
|
-
CombinedGameLogger.prototype.
|
|
4937
|
+
CombinedGameLogger.prototype.q2l = function (tag, message, payload) {
|
|
4961
4938
|
// Inline function 'kotlin.collections.forEach' call
|
|
4962
4939
|
var tmp0_forEach = this.n2l_1;
|
|
4963
4940
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4964
4941
|
while (tmp0_iterator.h()) {
|
|
4965
4942
|
var element = tmp0_iterator.i();
|
|
4966
4943
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4967
|
-
element.
|
|
4944
|
+
element.q2l(tag, message, payload);
|
|
4968
4945
|
}
|
|
4969
4946
|
};
|
|
4970
4947
|
function GameLogger() {
|
|
@@ -4981,21 +4958,21 @@
|
|
|
4981
4958
|
return PlatformGameLogger_init_$Init$(enabled, $mask0, $marker, Object.create(PlatformGameLogger.prototype));
|
|
4982
4959
|
}
|
|
4983
4960
|
function PlatformGameLogger(enabled) {
|
|
4984
|
-
this.
|
|
4961
|
+
this.r2l_1 = enabled;
|
|
4985
4962
|
}
|
|
4986
4963
|
PlatformGameLogger.prototype.o2l = function (tag, message, payload) {
|
|
4987
|
-
if (!this.
|
|
4964
|
+
if (!this.r2l_1)
|
|
4988
4965
|
return Unit_getInstance();
|
|
4989
4966
|
Logger_getInstance().h2l(tag, message);
|
|
4990
4967
|
};
|
|
4991
|
-
PlatformGameLogger.prototype.
|
|
4992
|
-
if (!this.
|
|
4968
|
+
PlatformGameLogger.prototype.g2j = function (tag, message, exception, payload) {
|
|
4969
|
+
if (!this.r2l_1)
|
|
4993
4970
|
return Unit_getInstance();
|
|
4994
4971
|
var tmp = Logger_getInstance();
|
|
4995
4972
|
tmp.m2l(tag, message, exception, null, 8, null);
|
|
4996
4973
|
};
|
|
4997
|
-
PlatformGameLogger.prototype.
|
|
4998
|
-
if (!this.
|
|
4974
|
+
PlatformGameLogger.prototype.q2l = function (tag, message, payload) {
|
|
4975
|
+
if (!this.r2l_1)
|
|
4999
4976
|
return Unit_getInstance();
|
|
5000
4977
|
var tmp = Logger_getInstance();
|
|
5001
4978
|
tmp.k2l(tag, message, null, 4, null);
|
|
@@ -5031,25 +5008,25 @@
|
|
|
5031
5008
|
_no_name_provided__qut3iv.prototype.g4 = fold;
|
|
5032
5009
|
_no_name_provided__qut3iv.prototype.f4 = minusKey;
|
|
5033
5010
|
_no_name_provided__qut3iv.prototype.h4 = plus;
|
|
5034
|
-
AsyncProviderImpl.prototype.
|
|
5035
|
-
AsyncProviderImpl.prototype.
|
|
5036
|
-
middleware$1.prototype.
|
|
5037
|
-
combineReducers$1.prototype.
|
|
5038
|
-
StoreLifecycleAction.prototype.
|
|
5039
|
-
INIT.prototype.
|
|
5040
|
-
REPLACE.prototype.
|
|
5041
|
-
TimerAction.prototype.
|
|
5042
|
-
StopTimerAction.prototype.
|
|
5011
|
+
AsyncProviderImpl.prototype.x2h = launchStore$default;
|
|
5012
|
+
AsyncProviderImpl.prototype.z2h = launchWorker$default;
|
|
5013
|
+
middleware$1.prototype.s2i = canHandle;
|
|
5014
|
+
combineReducers$1.prototype.s2i = canHandle_0;
|
|
5015
|
+
StoreLifecycleAction.prototype.r2i = get_actionTag;
|
|
5016
|
+
INIT.prototype.r2i = get_actionTag;
|
|
5017
|
+
REPLACE.prototype.r2i = get_actionTag;
|
|
5018
|
+
TimerAction.prototype.r2i = get_actionTag;
|
|
5019
|
+
StopTimerAction.prototype.r2i = get_actionTag;
|
|
5043
5020
|
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
5044
5021
|
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
5045
|
-
StartTimerAction.prototype.
|
|
5046
|
-
TimerTickAction.prototype.
|
|
5022
|
+
StartTimerAction.prototype.r2i = get_actionTag;
|
|
5023
|
+
TimerTickAction.prototype.r2i = get_actionTag;
|
|
5047
5024
|
CombinedGameLogger.prototype.p2l = d$default;
|
|
5048
|
-
CombinedGameLogger.prototype.
|
|
5049
|
-
CombinedGameLogger.prototype.
|
|
5025
|
+
CombinedGameLogger.prototype.q2h = e$default;
|
|
5026
|
+
CombinedGameLogger.prototype.e2i = w$default;
|
|
5050
5027
|
PlatformGameLogger.prototype.p2l = d$default;
|
|
5051
|
-
PlatformGameLogger.prototype.
|
|
5052
|
-
PlatformGameLogger.prototype.
|
|
5028
|
+
PlatformGameLogger.prototype.q2h = e$default;
|
|
5029
|
+
PlatformGameLogger.prototype.e2i = w$default;
|
|
5053
5030
|
//endregion
|
|
5054
5031
|
//region block: exports
|
|
5055
5032
|
function $jsExportAll$(_) {
|