game_client_logic_deb 1.3.71 → 1.3.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +31 -31
- package/Logic_Debertz-core.js +500 -495
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6338 -6323
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +2452 -2508
- package/Logic_Debertz-game_client.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +13 -13
package/Logic_Debertz-core.js
CHANGED
|
@@ -135,13 +135,13 @@
|
|
|
135
135
|
_no_name_provided__qut3iv.prototype.constructor = _no_name_provided__qut3iv;
|
|
136
136
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
137
137
|
if (!(($mask0 & 1) === 0))
|
|
138
|
-
context = this.
|
|
139
|
-
return $handler == null ? this.
|
|
138
|
+
context = this.r2q();
|
|
139
|
+
return $handler == null ? this.u2q(context, block) : $handler(context, block);
|
|
140
140
|
}
|
|
141
141
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
142
142
|
if (!(($mask0 & 1) === 0))
|
|
143
|
-
context = this.
|
|
144
|
-
return $handler == null ? this.
|
|
143
|
+
context = this.r2q();
|
|
144
|
+
return $handler == null ? this.s2q(context, block) : $handler(context, block);
|
|
145
145
|
}
|
|
146
146
|
function get_actionTag() {
|
|
147
147
|
return toString_0(getKClassFromExpression(this));
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
tag = null;
|
|
188
188
|
var tmp;
|
|
189
189
|
if ($handler == null) {
|
|
190
|
-
this.
|
|
190
|
+
this.t2t(tag, message);
|
|
191
191
|
tmp = Unit_getInstance();
|
|
192
192
|
} else {
|
|
193
193
|
tmp = $handler(tag, message);
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
exception = null;
|
|
204
204
|
var tmp;
|
|
205
205
|
if ($handler == null) {
|
|
206
|
-
this.
|
|
206
|
+
this.m2q(tag, message, exception);
|
|
207
207
|
tmp = Unit_getInstance();
|
|
208
208
|
} else {
|
|
209
209
|
tmp = $handler(tag, message, exception);
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
tag = null;
|
|
216
216
|
var tmp;
|
|
217
217
|
if ($handler == null) {
|
|
218
|
-
this.
|
|
218
|
+
this.w2t(tag, message);
|
|
219
219
|
tmp = Unit_getInstance();
|
|
220
220
|
} else {
|
|
221
221
|
tmp = $handler(tag, message);
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
exception = null;
|
|
234
234
|
var tmp;
|
|
235
235
|
if ($handler == null) {
|
|
236
|
-
this.
|
|
236
|
+
this.o2u(tag, message, exception, payload);
|
|
237
237
|
tmp = Unit_getInstance();
|
|
238
238
|
} else {
|
|
239
239
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
//endregion
|
|
244
244
|
function GameEngineConfig() {
|
|
245
245
|
GameEngineConfig_instance = this;
|
|
246
|
-
this.q2k_1 = '1.3.
|
|
246
|
+
this.q2k_1 = '1.3.72';
|
|
247
247
|
}
|
|
248
248
|
GameEngineConfig.prototype.r2k = function () {
|
|
249
249
|
return this.q2k_1;
|
|
@@ -1582,13 +1582,18 @@
|
|
|
1582
1582
|
function Companion_8() {
|
|
1583
1583
|
Companion_instance_8 = this;
|
|
1584
1584
|
}
|
|
1585
|
-
Companion_8.prototype.t2m = function (connectionState) {
|
|
1585
|
+
Companion_8.prototype.t2m = function (connectionState, ready) {
|
|
1586
1586
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1587
|
-
return new PlayerState(new Long(0, 0), tmp0_state,
|
|
1587
|
+
return new PlayerState(new Long(0, 0), tmp0_state, ready, connectionState, null);
|
|
1588
1588
|
};
|
|
1589
|
-
Companion_8.prototype.u2m = function (
|
|
1590
|
-
|
|
1591
|
-
|
|
1589
|
+
Companion_8.prototype.u2m = function (connectionState, ready, $mask0, $handler) {
|
|
1590
|
+
if (!(($mask0 & 2) === 0))
|
|
1591
|
+
ready = false;
|
|
1592
|
+
return this.t2m(connectionState, ready);
|
|
1593
|
+
};
|
|
1594
|
+
Companion_8.prototype.v2m = function (_this__u8e3s4, startFromTime, tag) {
|
|
1595
|
+
var tmp0_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1596
|
+
return _this__u8e3s4.w2m(startFromTime, tmp0_state, false, null, tag, 8, null);
|
|
1592
1597
|
};
|
|
1593
1598
|
Companion_8.$metadata$ = objectMeta('Companion');
|
|
1594
1599
|
var Companion_instance_8;
|
|
@@ -1617,16 +1622,16 @@
|
|
|
1617
1622
|
this.b2m_1 = connectionState;
|
|
1618
1623
|
this.c2m_1 = tag;
|
|
1619
1624
|
}
|
|
1620
|
-
PlayerState.prototype.
|
|
1625
|
+
PlayerState.prototype.x2m = function () {
|
|
1621
1626
|
return this.a2m_1;
|
|
1622
1627
|
};
|
|
1623
|
-
PlayerState.prototype.
|
|
1628
|
+
PlayerState.prototype.y2m = function () {
|
|
1624
1629
|
return this.b2m_1;
|
|
1625
1630
|
};
|
|
1626
1631
|
PlayerState.prototype.w2e = function () {
|
|
1627
1632
|
return this.c2m_1;
|
|
1628
1633
|
};
|
|
1629
|
-
PlayerState.prototype.
|
|
1634
|
+
PlayerState.prototype.z2m = function () {
|
|
1630
1635
|
var tmp$ret$2;
|
|
1631
1636
|
// Inline function 'kotlin.requireNotNull' call
|
|
1632
1637
|
var tmp0_requireNotNull = this.c2m_1;
|
|
@@ -1649,7 +1654,7 @@
|
|
|
1649
1654
|
tmp$ret$2 = tmp$ret$1;
|
|
1650
1655
|
return tmp$ret$2;
|
|
1651
1656
|
};
|
|
1652
|
-
PlayerState.prototype.
|
|
1657
|
+
PlayerState.prototype.a2n = function () {
|
|
1653
1658
|
var tmp0_elvis_lhs = this.c2m_1;
|
|
1654
1659
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1655
1660
|
};
|
|
@@ -1659,10 +1664,10 @@
|
|
|
1659
1664
|
PlayerState.prototype.d2m = function () {
|
|
1660
1665
|
return this.z2l_1.d2m();
|
|
1661
1666
|
};
|
|
1662
|
-
PlayerState.prototype.
|
|
1667
|
+
PlayerState.prototype.b2n = function (startFromTime, state, ready, connectionState, tag) {
|
|
1663
1668
|
return new PlayerState(startFromTime, state, ready, connectionState, tag);
|
|
1664
1669
|
};
|
|
1665
|
-
PlayerState.prototype.
|
|
1670
|
+
PlayerState.prototype.w2m = function (startFromTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1666
1671
|
if (!(($mask0 & 1) === 0))
|
|
1667
1672
|
startFromTime = this.y2l_1;
|
|
1668
1673
|
if (!(($mask0 & 2) === 0))
|
|
@@ -1673,7 +1678,7 @@
|
|
|
1673
1678
|
connectionState = this.b2m_1;
|
|
1674
1679
|
if (!(($mask0 & 16) === 0))
|
|
1675
1680
|
tag = this.c2m_1;
|
|
1676
|
-
return this.
|
|
1681
|
+
return this.b2n(startFromTime, state, ready, connectionState, tag);
|
|
1677
1682
|
};
|
|
1678
1683
|
PlayerState.prototype.toString = function () {
|
|
1679
1684
|
return 'PlayerState(startFromTime=' + toString_0(this.y2l_1) + ', state=' + this.z2l_1 + ', ready=' + this.a2m_1 + ', connectionState=' + this.b2m_1 + ', tag=' + this.c2m_1 + ')';
|
|
@@ -1706,13 +1711,13 @@
|
|
|
1706
1711
|
};
|
|
1707
1712
|
PlayerState.$metadata$ = classMeta('PlayerState');
|
|
1708
1713
|
function Team(playerIds) {
|
|
1709
|
-
this.
|
|
1714
|
+
this.c2n_1 = playerIds;
|
|
1710
1715
|
}
|
|
1711
1716
|
Team.prototype.toString = function () {
|
|
1712
|
-
return 'Team(playerIds=' + this.
|
|
1717
|
+
return 'Team(playerIds=' + this.c2n_1 + ')';
|
|
1713
1718
|
};
|
|
1714
1719
|
Team.prototype.hashCode = function () {
|
|
1715
|
-
return hashCode(this.
|
|
1720
|
+
return hashCode(this.c2n_1);
|
|
1716
1721
|
};
|
|
1717
1722
|
Team.prototype.equals = function (other) {
|
|
1718
1723
|
if (this === other)
|
|
@@ -1720,7 +1725,7 @@
|
|
|
1720
1725
|
if (!(other instanceof Team))
|
|
1721
1726
|
return false;
|
|
1722
1727
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1723
|
-
if (!equals(this.
|
|
1728
|
+
if (!equals(this.c2n_1, tmp0_other_with_cast.c2n_1))
|
|
1724
1729
|
return false;
|
|
1725
1730
|
return true;
|
|
1726
1731
|
};
|
|
@@ -1755,26 +1760,23 @@
|
|
|
1755
1760
|
}
|
|
1756
1761
|
function Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1757
1762
|
Companion_getInstance_9();
|
|
1758
|
-
this.
|
|
1759
|
-
this.
|
|
1760
|
-
this.
|
|
1761
|
-
this.
|
|
1762
|
-
this.
|
|
1763
|
-
this.
|
|
1764
|
-
this.
|
|
1765
|
-
this.
|
|
1766
|
-
this.
|
|
1767
|
-
this.
|
|
1768
|
-
this.
|
|
1769
|
-
this.
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1772
|
-
this.
|
|
1773
|
-
this.
|
|
1774
|
-
}
|
|
1775
|
-
Rules.prototype.s2n = function () {
|
|
1776
|
-
return this.c2n_1;
|
|
1777
|
-
};
|
|
1763
|
+
this.d2n_1 = needToPutHigherTrump;
|
|
1764
|
+
this.e2n_1 = distributePoints;
|
|
1765
|
+
this.f2n_1 = protectBella;
|
|
1766
|
+
this.g2n_1 = enableFourSevensCombination;
|
|
1767
|
+
this.h2n_1 = enableTrumpSevenCombination;
|
|
1768
|
+
this.i2n_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
1769
|
+
this.j2n_1 = playerWhoChooseSuitGoFirst;
|
|
1770
|
+
this.k2n_1 = winnerShuffleCards;
|
|
1771
|
+
this.l2n_1 = playWithoutLiabilities;
|
|
1772
|
+
this.m2n_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
1773
|
+
this.n2n_1 = enableFineIfNoBribes;
|
|
1774
|
+
this.o2n_1 = fineIfNoBribes;
|
|
1775
|
+
this.p2n_1 = enableFineAfterThirdByte;
|
|
1776
|
+
this.q2n_1 = checkTrumpCombination;
|
|
1777
|
+
this.r2n_1 = checkOnlyTrumpDebertz;
|
|
1778
|
+
this.s2n_1 = tenCardsInHand;
|
|
1779
|
+
}
|
|
1778
1780
|
Rules.prototype.t2n = function () {
|
|
1779
1781
|
return this.d2n_1;
|
|
1780
1782
|
};
|
|
@@ -1820,101 +1822,103 @@
|
|
|
1820
1822
|
Rules.prototype.h2o = function () {
|
|
1821
1823
|
return this.r2n_1;
|
|
1822
1824
|
};
|
|
1825
|
+
Rules.prototype.i2o = function () {
|
|
1826
|
+
return this.s2n_1;
|
|
1827
|
+
};
|
|
1823
1828
|
Rules.prototype.component1 = function () {
|
|
1824
|
-
return this.
|
|
1829
|
+
return this.d2n_1;
|
|
1825
1830
|
};
|
|
1826
1831
|
Rules.prototype.component2 = function () {
|
|
1827
|
-
return this.
|
|
1832
|
+
return this.e2n_1;
|
|
1828
1833
|
};
|
|
1829
1834
|
Rules.prototype.component3 = function () {
|
|
1830
|
-
return this.
|
|
1835
|
+
return this.f2n_1;
|
|
1831
1836
|
};
|
|
1832
1837
|
Rules.prototype.component4 = function () {
|
|
1833
|
-
return this.
|
|
1838
|
+
return this.g2n_1;
|
|
1834
1839
|
};
|
|
1835
1840
|
Rules.prototype.component5 = function () {
|
|
1836
|
-
return this.
|
|
1841
|
+
return this.h2n_1;
|
|
1837
1842
|
};
|
|
1838
1843
|
Rules.prototype.component6 = function () {
|
|
1839
|
-
return this.
|
|
1844
|
+
return this.i2n_1;
|
|
1840
1845
|
};
|
|
1841
1846
|
Rules.prototype.component7 = function () {
|
|
1842
|
-
return this.
|
|
1847
|
+
return this.j2n_1;
|
|
1843
1848
|
};
|
|
1844
1849
|
Rules.prototype.component8 = function () {
|
|
1845
|
-
return this.
|
|
1850
|
+
return this.k2n_1;
|
|
1846
1851
|
};
|
|
1847
1852
|
Rules.prototype.component9 = function () {
|
|
1848
|
-
return this.
|
|
1853
|
+
return this.l2n_1;
|
|
1849
1854
|
};
|
|
1850
1855
|
Rules.prototype.component10 = function () {
|
|
1851
|
-
return this.
|
|
1856
|
+
return this.m2n_1;
|
|
1852
1857
|
};
|
|
1853
1858
|
Rules.prototype.component11 = function () {
|
|
1854
|
-
return this.
|
|
1859
|
+
return this.n2n_1;
|
|
1855
1860
|
};
|
|
1856
1861
|
Rules.prototype.component12 = function () {
|
|
1857
|
-
return this.
|
|
1862
|
+
return this.o2n_1;
|
|
1858
1863
|
};
|
|
1859
1864
|
Rules.prototype.component13 = function () {
|
|
1860
|
-
return this.
|
|
1865
|
+
return this.p2n_1;
|
|
1861
1866
|
};
|
|
1862
1867
|
Rules.prototype.component14 = function () {
|
|
1863
|
-
return this.
|
|
1868
|
+
return this.q2n_1;
|
|
1864
1869
|
};
|
|
1865
1870
|
Rules.prototype.component15 = function () {
|
|
1866
|
-
return this.
|
|
1871
|
+
return this.r2n_1;
|
|
1867
1872
|
};
|
|
1868
1873
|
Rules.prototype.component16 = function () {
|
|
1869
|
-
return this.
|
|
1874
|
+
return this.s2n_1;
|
|
1870
1875
|
};
|
|
1871
1876
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1872
|
-
return this.
|
|
1877
|
+
return this.j2o(needToPutHigherTrump === void 1 ? this.d2n_1 : needToPutHigherTrump, distributePoints === void 1 ? this.e2n_1 : distributePoints, protectBella === void 1 ? this.f2n_1 : protectBella, enableFourSevensCombination === void 1 ? this.g2n_1 : enableFourSevensCombination, enableTrumpSevenCombination === void 1 ? this.h2n_1 : enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution === void 1 ? this.i2n_1 : enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst === void 1 ? this.j2n_1 : playerWhoChooseSuitGoFirst, winnerShuffleCards === void 1 ? this.k2n_1 : winnerShuffleCards, playWithoutLiabilities === void 1 ? this.l2n_1 : playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards === void 1 ? this.m2n_1 : trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes === void 1 ? this.n2n_1 : enableFineIfNoBribes, fineIfNoBribes === void 1 ? this.o2n_1 : fineIfNoBribes, enableFineAfterThirdByte === void 1 ? this.p2n_1 : enableFineAfterThirdByte, checkTrumpCombination === void 1 ? this.q2n_1 : checkTrumpCombination, checkOnlyTrumpDebertz === void 1 ? this.r2n_1 : checkOnlyTrumpDebertz, tenCardsInHand === void 1 ? this.s2n_1 : tenCardsInHand);
|
|
1873
1878
|
};
|
|
1874
|
-
Rules.prototype.
|
|
1879
|
+
Rules.prototype.j2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1875
1880
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1876
1881
|
};
|
|
1877
|
-
Rules.prototype.
|
|
1882
|
+
Rules.prototype.k2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
1878
1883
|
if (!(($mask0 & 1) === 0))
|
|
1879
|
-
needToPutHigherTrump = this.
|
|
1884
|
+
needToPutHigherTrump = this.d2n_1;
|
|
1880
1885
|
if (!(($mask0 & 2) === 0))
|
|
1881
|
-
distributePoints = this.
|
|
1886
|
+
distributePoints = this.e2n_1;
|
|
1882
1887
|
if (!(($mask0 & 4) === 0))
|
|
1883
|
-
protectBella = this.
|
|
1888
|
+
protectBella = this.f2n_1;
|
|
1884
1889
|
if (!(($mask0 & 8) === 0))
|
|
1885
|
-
enableFourSevensCombination = this.
|
|
1890
|
+
enableFourSevensCombination = this.g2n_1;
|
|
1886
1891
|
if (!(($mask0 & 16) === 0))
|
|
1887
|
-
enableTrumpSevenCombination = this.
|
|
1892
|
+
enableTrumpSevenCombination = this.h2n_1;
|
|
1888
1893
|
if (!(($mask0 & 32) === 0))
|
|
1889
|
-
enableTrumpSevenCombinationAfterDistribution = this.
|
|
1894
|
+
enableTrumpSevenCombinationAfterDistribution = this.i2n_1;
|
|
1890
1895
|
if (!(($mask0 & 64) === 0))
|
|
1891
|
-
playerWhoChooseSuitGoFirst = this.
|
|
1896
|
+
playerWhoChooseSuitGoFirst = this.j2n_1;
|
|
1892
1897
|
if (!(($mask0 & 128) === 0))
|
|
1893
|
-
winnerShuffleCards = this.
|
|
1898
|
+
winnerShuffleCards = this.k2n_1;
|
|
1894
1899
|
if (!(($mask0 & 256) === 0))
|
|
1895
|
-
playWithoutLiabilities = this.
|
|
1900
|
+
playWithoutLiabilities = this.l2n_1;
|
|
1896
1901
|
if (!(($mask0 & 512) === 0))
|
|
1897
|
-
trumpCardGoToPlayerWhoShuffleCards = this.
|
|
1902
|
+
trumpCardGoToPlayerWhoShuffleCards = this.m2n_1;
|
|
1898
1903
|
if (!(($mask0 & 1024) === 0))
|
|
1899
|
-
enableFineIfNoBribes = this.
|
|
1904
|
+
enableFineIfNoBribes = this.n2n_1;
|
|
1900
1905
|
if (!(($mask0 & 2048) === 0))
|
|
1901
|
-
fineIfNoBribes = this.
|
|
1906
|
+
fineIfNoBribes = this.o2n_1;
|
|
1902
1907
|
if (!(($mask0 & 4096) === 0))
|
|
1903
|
-
enableFineAfterThirdByte = this.
|
|
1908
|
+
enableFineAfterThirdByte = this.p2n_1;
|
|
1904
1909
|
if (!(($mask0 & 8192) === 0))
|
|
1905
|
-
checkTrumpCombination = this.
|
|
1910
|
+
checkTrumpCombination = this.q2n_1;
|
|
1906
1911
|
if (!(($mask0 & 16384) === 0))
|
|
1907
|
-
checkOnlyTrumpDebertz = this.
|
|
1912
|
+
checkOnlyTrumpDebertz = this.r2n_1;
|
|
1908
1913
|
if (!(($mask0 & 32768) === 0))
|
|
1909
|
-
tenCardsInHand = this.
|
|
1910
|
-
return this.
|
|
1914
|
+
tenCardsInHand = this.s2n_1;
|
|
1915
|
+
return this.j2o(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1911
1916
|
};
|
|
1912
1917
|
Rules.prototype.toString = function () {
|
|
1913
|
-
return 'Rules(needToPutHigherTrump=' + this.
|
|
1918
|
+
return 'Rules(needToPutHigherTrump=' + this.d2n_1 + ', distributePoints=' + this.e2n_1 + ', protectBella=' + this.f2n_1 + ', enableFourSevensCombination=' + this.g2n_1 + ', enableTrumpSevenCombination=' + this.h2n_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.i2n_1 + ', playerWhoChooseSuitGoFirst=' + this.j2n_1 + ', winnerShuffleCards=' + this.k2n_1 + ', playWithoutLiabilities=' + this.l2n_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.m2n_1 + ', enableFineIfNoBribes=' + this.n2n_1 + ', fineIfNoBribes=' + this.o2n_1 + ', enableFineAfterThirdByte=' + this.p2n_1 + ', checkTrumpCombination=' + this.q2n_1 + ', checkOnlyTrumpDebertz=' + this.r2n_1 + ', tenCardsInHand=' + this.s2n_1 + ')';
|
|
1914
1919
|
};
|
|
1915
1920
|
Rules.prototype.hashCode = function () {
|
|
1916
|
-
var result = this.
|
|
1917
|
-
result = imul(result, 31) + (this.d2n_1 | 0) | 0;
|
|
1921
|
+
var result = this.d2n_1 | 0;
|
|
1918
1922
|
result = imul(result, 31) + (this.e2n_1 | 0) | 0;
|
|
1919
1923
|
result = imul(result, 31) + (this.f2n_1 | 0) | 0;
|
|
1920
1924
|
result = imul(result, 31) + (this.g2n_1 | 0) | 0;
|
|
@@ -1924,11 +1928,12 @@
|
|
|
1924
1928
|
result = imul(result, 31) + (this.k2n_1 | 0) | 0;
|
|
1925
1929
|
result = imul(result, 31) + (this.l2n_1 | 0) | 0;
|
|
1926
1930
|
result = imul(result, 31) + (this.m2n_1 | 0) | 0;
|
|
1927
|
-
result = imul(result, 31) + this.n2n_1 | 0;
|
|
1928
|
-
result = imul(result, 31) +
|
|
1931
|
+
result = imul(result, 31) + (this.n2n_1 | 0) | 0;
|
|
1932
|
+
result = imul(result, 31) + this.o2n_1 | 0;
|
|
1929
1933
|
result = imul(result, 31) + (this.p2n_1 | 0) | 0;
|
|
1930
1934
|
result = imul(result, 31) + (this.q2n_1 | 0) | 0;
|
|
1931
1935
|
result = imul(result, 31) + (this.r2n_1 | 0) | 0;
|
|
1936
|
+
result = imul(result, 31) + (this.s2n_1 | 0) | 0;
|
|
1932
1937
|
return result;
|
|
1933
1938
|
};
|
|
1934
1939
|
Rules.prototype.equals = function (other) {
|
|
@@ -1937,8 +1942,6 @@
|
|
|
1937
1942
|
if (!(other instanceof Rules))
|
|
1938
1943
|
return false;
|
|
1939
1944
|
var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
|
|
1940
|
-
if (!(this.c2n_1 === tmp0_other_with_cast.c2n_1))
|
|
1941
|
-
return false;
|
|
1942
1945
|
if (!(this.d2n_1 === tmp0_other_with_cast.d2n_1))
|
|
1943
1946
|
return false;
|
|
1944
1947
|
if (!(this.e2n_1 === tmp0_other_with_cast.e2n_1))
|
|
@@ -1969,72 +1972,74 @@
|
|
|
1969
1972
|
return false;
|
|
1970
1973
|
if (!(this.r2n_1 === tmp0_other_with_cast.r2n_1))
|
|
1971
1974
|
return false;
|
|
1975
|
+
if (!(this.s2n_1 === tmp0_other_with_cast.s2n_1))
|
|
1976
|
+
return false;
|
|
1972
1977
|
return true;
|
|
1973
1978
|
};
|
|
1974
1979
|
Rules.$metadata$ = classMeta('Rules');
|
|
1975
1980
|
Object.defineProperty(Rules.prototype, 'needToPutHigherTrump', {
|
|
1976
1981
|
configurable: true,
|
|
1977
|
-
get: Rules.prototype.
|
|
1982
|
+
get: Rules.prototype.t2n
|
|
1978
1983
|
});
|
|
1979
1984
|
Object.defineProperty(Rules.prototype, 'distributePoints', {
|
|
1980
1985
|
configurable: true,
|
|
1981
|
-
get: Rules.prototype.
|
|
1986
|
+
get: Rules.prototype.u2n
|
|
1982
1987
|
});
|
|
1983
1988
|
Object.defineProperty(Rules.prototype, 'protectBella', {
|
|
1984
1989
|
configurable: true,
|
|
1985
|
-
get: Rules.prototype.
|
|
1990
|
+
get: Rules.prototype.v2n
|
|
1986
1991
|
});
|
|
1987
1992
|
Object.defineProperty(Rules.prototype, 'enableFourSevensCombination', {
|
|
1988
1993
|
configurable: true,
|
|
1989
|
-
get: Rules.prototype.
|
|
1994
|
+
get: Rules.prototype.w2n
|
|
1990
1995
|
});
|
|
1991
1996
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombination', {
|
|
1992
1997
|
configurable: true,
|
|
1993
|
-
get: Rules.prototype.
|
|
1998
|
+
get: Rules.prototype.x2n
|
|
1994
1999
|
});
|
|
1995
2000
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombinationAfterDistribution', {
|
|
1996
2001
|
configurable: true,
|
|
1997
|
-
get: Rules.prototype.
|
|
2002
|
+
get: Rules.prototype.y2n
|
|
1998
2003
|
});
|
|
1999
2004
|
Object.defineProperty(Rules.prototype, 'playerWhoChooseSuitGoFirst', {
|
|
2000
2005
|
configurable: true,
|
|
2001
|
-
get: Rules.prototype.
|
|
2006
|
+
get: Rules.prototype.z2n
|
|
2002
2007
|
});
|
|
2003
2008
|
Object.defineProperty(Rules.prototype, 'winnerShuffleCards', {
|
|
2004
2009
|
configurable: true,
|
|
2005
|
-
get: Rules.prototype.
|
|
2010
|
+
get: Rules.prototype.a2o
|
|
2006
2011
|
});
|
|
2007
2012
|
Object.defineProperty(Rules.prototype, 'playWithoutLiabilities', {
|
|
2008
2013
|
configurable: true,
|
|
2009
|
-
get: Rules.prototype.
|
|
2014
|
+
get: Rules.prototype.b2o
|
|
2010
2015
|
});
|
|
2011
2016
|
Object.defineProperty(Rules.prototype, 'trumpCardGoToPlayerWhoShuffleCards', {
|
|
2012
2017
|
configurable: true,
|
|
2013
|
-
get: Rules.prototype.
|
|
2018
|
+
get: Rules.prototype.c2o
|
|
2014
2019
|
});
|
|
2015
2020
|
Object.defineProperty(Rules.prototype, 'enableFineIfNoBribes', {
|
|
2016
2021
|
configurable: true,
|
|
2017
|
-
get: Rules.prototype.
|
|
2022
|
+
get: Rules.prototype.d2o
|
|
2018
2023
|
});
|
|
2019
2024
|
Object.defineProperty(Rules.prototype, 'fineIfNoBribes', {
|
|
2020
2025
|
configurable: true,
|
|
2021
|
-
get: Rules.prototype.
|
|
2026
|
+
get: Rules.prototype.e2o
|
|
2022
2027
|
});
|
|
2023
2028
|
Object.defineProperty(Rules.prototype, 'enableFineAfterThirdByte', {
|
|
2024
2029
|
configurable: true,
|
|
2025
|
-
get: Rules.prototype.
|
|
2030
|
+
get: Rules.prototype.f2o
|
|
2026
2031
|
});
|
|
2027
2032
|
Object.defineProperty(Rules.prototype, 'checkTrumpCombination', {
|
|
2028
2033
|
configurable: true,
|
|
2029
|
-
get: Rules.prototype.
|
|
2034
|
+
get: Rules.prototype.g2o
|
|
2030
2035
|
});
|
|
2031
2036
|
Object.defineProperty(Rules.prototype, 'checkOnlyTrumpDebertz', {
|
|
2032
2037
|
configurable: true,
|
|
2033
|
-
get: Rules.prototype.
|
|
2038
|
+
get: Rules.prototype.h2o
|
|
2034
2039
|
});
|
|
2035
2040
|
Object.defineProperty(Rules.prototype, 'tenCardsInHand', {
|
|
2036
2041
|
configurable: true,
|
|
2037
|
-
get: Rules.prototype.
|
|
2042
|
+
get: Rules.prototype.i2o
|
|
2038
2043
|
});
|
|
2039
2044
|
var RulesSetType_belot_instance;
|
|
2040
2045
|
var RulesSetType_klabor_instance;
|
|
@@ -2114,25 +2119,25 @@
|
|
|
2114
2119
|
return RulesSetType_custom_instance;
|
|
2115
2120
|
}
|
|
2116
2121
|
function mapToDto(_this__u8e3s4) {
|
|
2117
|
-
return _this__u8e3s4.
|
|
2122
|
+
return _this__u8e3s4.n2o_1;
|
|
2118
2123
|
}
|
|
2119
2124
|
function mapFromDto(_this__u8e3s4) {
|
|
2120
2125
|
return new GameCard(_this__u8e3s4);
|
|
2121
2126
|
}
|
|
2122
2127
|
function mapToDto_0(_this__u8e3s4) {
|
|
2123
|
-
return _this__u8e3s4.
|
|
2128
|
+
return _this__u8e3s4.p2o_1.n2o_1;
|
|
2124
2129
|
}
|
|
2125
2130
|
function mapToDto_1(_this__u8e3s4) {
|
|
2126
|
-
return new RulesDto(_this__u8e3s4.
|
|
2131
|
+
return new RulesDto(_this__u8e3s4.d2n_1, _this__u8e3s4.e2n_1, _this__u8e3s4.f2n_1, _this__u8e3s4.g2n_1, _this__u8e3s4.h2n_1, _this__u8e3s4.i2n_1, _this__u8e3s4.j2n_1, _this__u8e3s4.k2n_1, _this__u8e3s4.l2n_1, _this__u8e3s4.m2n_1, _this__u8e3s4.n2n_1, _this__u8e3s4.o2n_1, _this__u8e3s4.p2n_1, _this__u8e3s4.q2n_1, _this__u8e3s4.r2n_1, _this__u8e3s4.s2n_1);
|
|
2127
2132
|
}
|
|
2128
2133
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2129
|
-
return new Rules(_this__u8e3s4.
|
|
2134
|
+
return new Rules(_this__u8e3s4.q2o_1, _this__u8e3s4.r2o_1, _this__u8e3s4.s2o_1, _this__u8e3s4.t2o_1, _this__u8e3s4.u2o_1, _this__u8e3s4.v2o_1, _this__u8e3s4.w2o_1, _this__u8e3s4.x2o_1, _this__u8e3s4.y2o_1, _this__u8e3s4.z2o_1, _this__u8e3s4.a2p_1, _this__u8e3s4.b2p_1, _this__u8e3s4.c2p_1, _this__u8e3s4.d2p_1, _this__u8e3s4.e2p_1, _this__u8e3s4.f2p_1);
|
|
2130
2135
|
}
|
|
2131
2136
|
function mapToDto_2(_this__u8e3s4) {
|
|
2132
2137
|
return new GameUserInfoDto(_this__u8e3s4.q2l_1, _this__u8e3s4.r2l_1, _this__u8e3s4.s2l_1);
|
|
2133
2138
|
}
|
|
2134
2139
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2135
|
-
return GameUserInfo_init_$Create$(_this__u8e3s4.
|
|
2140
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.g2p_1, _this__u8e3s4.h2p_1, _this__u8e3s4.i2p_1, null, 8, null);
|
|
2136
2141
|
}
|
|
2137
2142
|
function mapToDto_3(_this__u8e3s4) {
|
|
2138
2143
|
var tmp0_startFromTime = _this__u8e3s4.y2l_1;
|
|
@@ -2142,10 +2147,10 @@
|
|
|
2142
2147
|
return new PlayerStateDto(tmp0_startFromTime, tmp1_state, tmp3_ready, tmp2_tag);
|
|
2143
2148
|
}
|
|
2144
2149
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2145
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2146
|
-
var tmp1_state = _this__u8e3s4.
|
|
2147
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2148
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2150
|
+
var tmp0_startFromTime = _this__u8e3s4.j2p_1;
|
|
2151
|
+
var tmp1_state = _this__u8e3s4.k2p_1;
|
|
2152
|
+
var tmp2_tag = _this__u8e3s4.m2p_1;
|
|
2153
|
+
var tmp3_ready = _this__u8e3s4.l2p_1;
|
|
2149
2154
|
return new PlayerState(tmp0_startFromTime, tmp1_state, tmp3_ready, connectionState, tmp2_tag);
|
|
2150
2155
|
}
|
|
2151
2156
|
function Companion_10() {
|
|
@@ -2164,10 +2169,10 @@
|
|
|
2164
2169
|
tmp0_serialDesc.d1t('playerId', false);
|
|
2165
2170
|
tmp0_serialDesc.d1t('name', false);
|
|
2166
2171
|
tmp0_serialDesc.d1t('avatarUrl', false);
|
|
2167
|
-
this.
|
|
2172
|
+
this.n2p_1 = tmp0_serialDesc;
|
|
2168
2173
|
}
|
|
2169
2174
|
$serializer_4.prototype.q1i = function () {
|
|
2170
|
-
return this.
|
|
2175
|
+
return this.n2p_1;
|
|
2171
2176
|
};
|
|
2172
2177
|
$serializer_4.prototype.s1t = function () {
|
|
2173
2178
|
var tmp$ret$2;
|
|
@@ -2183,7 +2188,7 @@
|
|
|
2183
2188
|
return tmp$ret$2;
|
|
2184
2189
|
};
|
|
2185
2190
|
$serializer_4.prototype.s1i = function (decoder) {
|
|
2186
|
-
var tmp0_desc = this.
|
|
2191
|
+
var tmp0_desc = this.n2p_1;
|
|
2187
2192
|
var tmp1_flag = true;
|
|
2188
2193
|
var tmp2_index = 0;
|
|
2189
2194
|
var tmp3_bitMask0 = 0;
|
|
@@ -2224,16 +2229,16 @@
|
|
|
2224
2229
|
tmp7_input.z1l(tmp0_desc);
|
|
2225
2230
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2226
2231
|
};
|
|
2227
|
-
$serializer_4.prototype.
|
|
2228
|
-
var tmp0_desc = this.
|
|
2232
|
+
$serializer_4.prototype.o2p = function (encoder, value) {
|
|
2233
|
+
var tmp0_desc = this.n2p_1;
|
|
2229
2234
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2230
|
-
tmp1_output.m1n(tmp0_desc, 0, value.
|
|
2231
|
-
tmp1_output.m1n(tmp0_desc, 1, value.
|
|
2232
|
-
tmp1_output.m1n(tmp0_desc, 2, value.
|
|
2235
|
+
tmp1_output.m1n(tmp0_desc, 0, value.g2p_1);
|
|
2236
|
+
tmp1_output.m1n(tmp0_desc, 1, value.h2p_1);
|
|
2237
|
+
tmp1_output.m1n(tmp0_desc, 2, value.i2p_1);
|
|
2233
2238
|
tmp1_output.z1l(tmp0_desc);
|
|
2234
2239
|
};
|
|
2235
2240
|
$serializer_4.prototype.r1i = function (encoder, value) {
|
|
2236
|
-
return this.
|
|
2241
|
+
return this.o2p(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2237
2242
|
};
|
|
2238
2243
|
$serializer_4.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2239
2244
|
var $serializer_instance_4;
|
|
@@ -2244,11 +2249,11 @@
|
|
|
2244
2249
|
}
|
|
2245
2250
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, serializationConstructorMarker, $this) {
|
|
2246
2251
|
if (!(7 === (7 & seen1))) {
|
|
2247
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_4().
|
|
2252
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_4().n2p_1);
|
|
2248
2253
|
}
|
|
2249
|
-
$this.
|
|
2250
|
-
$this.
|
|
2251
|
-
$this.
|
|
2254
|
+
$this.g2p_1 = playerId;
|
|
2255
|
+
$this.h2p_1 = name;
|
|
2256
|
+
$this.i2p_1 = avatarUrl;
|
|
2252
2257
|
return $this;
|
|
2253
2258
|
}
|
|
2254
2259
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, serializationConstructorMarker) {
|
|
@@ -2256,17 +2261,17 @@
|
|
|
2256
2261
|
}
|
|
2257
2262
|
function GameUserInfoDto(playerId, name, avatarUrl) {
|
|
2258
2263
|
Companion_getInstance_10();
|
|
2259
|
-
this.
|
|
2260
|
-
this.
|
|
2261
|
-
this.
|
|
2264
|
+
this.g2p_1 = playerId;
|
|
2265
|
+
this.h2p_1 = name;
|
|
2266
|
+
this.i2p_1 = avatarUrl;
|
|
2262
2267
|
}
|
|
2263
2268
|
GameUserInfoDto.prototype.toString = function () {
|
|
2264
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2269
|
+
return 'GameUserInfoDto(playerId=' + this.g2p_1 + ', name=' + this.h2p_1 + ', avatarUrl=' + this.i2p_1 + ')';
|
|
2265
2270
|
};
|
|
2266
2271
|
GameUserInfoDto.prototype.hashCode = function () {
|
|
2267
|
-
var result = getStringHashCode(this.
|
|
2268
|
-
result = imul(result, 31) + getStringHashCode(this.g2p_1) | 0;
|
|
2272
|
+
var result = getStringHashCode(this.g2p_1);
|
|
2269
2273
|
result = imul(result, 31) + getStringHashCode(this.h2p_1) | 0;
|
|
2274
|
+
result = imul(result, 31) + getStringHashCode(this.i2p_1) | 0;
|
|
2270
2275
|
return result;
|
|
2271
2276
|
};
|
|
2272
2277
|
GameUserInfoDto.prototype.equals = function (other) {
|
|
@@ -2275,12 +2280,12 @@
|
|
|
2275
2280
|
if (!(other instanceof GameUserInfoDto))
|
|
2276
2281
|
return false;
|
|
2277
2282
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2278
|
-
if (!(this.f2p_1 === tmp0_other_with_cast.f2p_1))
|
|
2279
|
-
return false;
|
|
2280
2283
|
if (!(this.g2p_1 === tmp0_other_with_cast.g2p_1))
|
|
2281
2284
|
return false;
|
|
2282
2285
|
if (!(this.h2p_1 === tmp0_other_with_cast.h2p_1))
|
|
2283
2286
|
return false;
|
|
2287
|
+
if (!(this.i2p_1 === tmp0_other_with_cast.i2p_1))
|
|
2288
|
+
return false;
|
|
2284
2289
|
return true;
|
|
2285
2290
|
};
|
|
2286
2291
|
GameUserInfoDto.$metadata$ = classMeta('GameUserInfoDto', undefined, undefined, {0: $serializer_getInstance_4});
|
|
@@ -2301,10 +2306,10 @@
|
|
|
2301
2306
|
tmp0_serialDesc.d1t('state', false);
|
|
2302
2307
|
tmp0_serialDesc.d1t('ready', false);
|
|
2303
2308
|
tmp0_serialDesc.d1t('tag', true);
|
|
2304
|
-
this.
|
|
2309
|
+
this.p2p_1 = tmp0_serialDesc;
|
|
2305
2310
|
}
|
|
2306
2311
|
$serializer_5.prototype.q1i = function () {
|
|
2307
|
-
return this.
|
|
2312
|
+
return this.p2p_1;
|
|
2308
2313
|
};
|
|
2309
2314
|
$serializer_5.prototype.s1t = function () {
|
|
2310
2315
|
var tmp$ret$2;
|
|
@@ -2320,7 +2325,7 @@
|
|
|
2320
2325
|
return tmp$ret$2;
|
|
2321
2326
|
};
|
|
2322
2327
|
$serializer_5.prototype.s1i = function (decoder) {
|
|
2323
|
-
var tmp0_desc = this.
|
|
2328
|
+
var tmp0_desc = this.p2p_1;
|
|
2324
2329
|
var tmp1_flag = true;
|
|
2325
2330
|
var tmp2_index = 0;
|
|
2326
2331
|
var tmp3_bitMask0 = 0;
|
|
@@ -2368,19 +2373,19 @@
|
|
|
2368
2373
|
tmp8_input.z1l(tmp0_desc);
|
|
2369
2374
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2370
2375
|
};
|
|
2371
|
-
$serializer_5.prototype.
|
|
2372
|
-
var tmp0_desc = this.
|
|
2376
|
+
$serializer_5.prototype.q2p = function (encoder, value) {
|
|
2377
|
+
var tmp0_desc = this.p2p_1;
|
|
2373
2378
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2374
|
-
tmp1_output.i1n(tmp0_desc, 0, value.
|
|
2375
|
-
tmp1_output.o1n(tmp0_desc, 1, Companion_getInstance_7().l25(), value.
|
|
2376
|
-
tmp1_output.e1n(tmp0_desc, 2, value.
|
|
2377
|
-
if (tmp1_output.u1n(tmp0_desc, 3) ? true : !(value.
|
|
2378
|
-
tmp1_output.q1n(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2379
|
+
tmp1_output.i1n(tmp0_desc, 0, value.j2p_1);
|
|
2380
|
+
tmp1_output.o1n(tmp0_desc, 1, Companion_getInstance_7().l25(), value.k2p_1);
|
|
2381
|
+
tmp1_output.e1n(tmp0_desc, 2, value.l2p_1);
|
|
2382
|
+
if (tmp1_output.u1n(tmp0_desc, 3) ? true : !(value.m2p_1 == null)) {
|
|
2383
|
+
tmp1_output.q1n(tmp0_desc, 3, StringSerializer_getInstance(), value.m2p_1);
|
|
2379
2384
|
}
|
|
2380
2385
|
tmp1_output.z1l(tmp0_desc);
|
|
2381
2386
|
};
|
|
2382
2387
|
$serializer_5.prototype.r1i = function (encoder, value) {
|
|
2383
|
-
return this.
|
|
2388
|
+
return this.q2p(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2384
2389
|
};
|
|
2385
2390
|
$serializer_5.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2386
2391
|
var $serializer_instance_5;
|
|
@@ -2391,15 +2396,15 @@
|
|
|
2391
2396
|
}
|
|
2392
2397
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2393
2398
|
if (!(7 === (7 & seen1))) {
|
|
2394
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().
|
|
2399
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().p2p_1);
|
|
2395
2400
|
}
|
|
2396
|
-
$this.
|
|
2397
|
-
$this.
|
|
2398
|
-
$this.
|
|
2401
|
+
$this.j2p_1 = startFromTime;
|
|
2402
|
+
$this.k2p_1 = state;
|
|
2403
|
+
$this.l2p_1 = ready;
|
|
2399
2404
|
if (0 === (seen1 & 8))
|
|
2400
|
-
$this.
|
|
2405
|
+
$this.m2p_1 = null;
|
|
2401
2406
|
else
|
|
2402
|
-
$this.
|
|
2407
|
+
$this.m2p_1 = tag;
|
|
2403
2408
|
return $this;
|
|
2404
2409
|
}
|
|
2405
2410
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker) {
|
|
@@ -2407,19 +2412,19 @@
|
|
|
2407
2412
|
}
|
|
2408
2413
|
function PlayerStateDto(startFromTime, state, ready, tag) {
|
|
2409
2414
|
Companion_getInstance_11();
|
|
2410
|
-
this.
|
|
2411
|
-
this.
|
|
2412
|
-
this.
|
|
2413
|
-
this.
|
|
2415
|
+
this.j2p_1 = startFromTime;
|
|
2416
|
+
this.k2p_1 = state;
|
|
2417
|
+
this.l2p_1 = ready;
|
|
2418
|
+
this.m2p_1 = tag;
|
|
2414
2419
|
}
|
|
2415
2420
|
PlayerStateDto.prototype.toString = function () {
|
|
2416
|
-
return 'PlayerStateDto(startFromTime=' + toString_0(this.
|
|
2421
|
+
return 'PlayerStateDto(startFromTime=' + toString_0(this.j2p_1) + ', state=' + this.k2p_1 + ', ready=' + this.l2p_1 + ', tag=' + this.m2p_1 + ')';
|
|
2417
2422
|
};
|
|
2418
2423
|
PlayerStateDto.prototype.hashCode = function () {
|
|
2419
|
-
var result = this.
|
|
2420
|
-
result = imul(result, 31) + this.
|
|
2421
|
-
result = imul(result, 31) + (this.
|
|
2422
|
-
result = imul(result, 31) + (this.
|
|
2424
|
+
var result = this.j2p_1.hashCode();
|
|
2425
|
+
result = imul(result, 31) + this.k2p_1.hashCode() | 0;
|
|
2426
|
+
result = imul(result, 31) + (this.l2p_1 | 0) | 0;
|
|
2427
|
+
result = imul(result, 31) + (this.m2p_1 == null ? 0 : getStringHashCode(this.m2p_1)) | 0;
|
|
2423
2428
|
return result;
|
|
2424
2429
|
};
|
|
2425
2430
|
PlayerStateDto.prototype.equals = function (other) {
|
|
@@ -2428,13 +2433,13 @@
|
|
|
2428
2433
|
if (!(other instanceof PlayerStateDto))
|
|
2429
2434
|
return false;
|
|
2430
2435
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2431
|
-
if (!this.i2p_1.equals(tmp0_other_with_cast.i2p_1))
|
|
2432
|
-
return false;
|
|
2433
2436
|
if (!this.j2p_1.equals(tmp0_other_with_cast.j2p_1))
|
|
2434
2437
|
return false;
|
|
2435
|
-
if (!
|
|
2438
|
+
if (!this.k2p_1.equals(tmp0_other_with_cast.k2p_1))
|
|
2436
2439
|
return false;
|
|
2437
|
-
if (!(this.l2p_1
|
|
2440
|
+
if (!(this.l2p_1 === tmp0_other_with_cast.l2p_1))
|
|
2441
|
+
return false;
|
|
2442
|
+
if (!(this.m2p_1 == tmp0_other_with_cast.m2p_1))
|
|
2438
2443
|
return false;
|
|
2439
2444
|
return true;
|
|
2440
2445
|
};
|
|
@@ -2468,10 +2473,10 @@
|
|
|
2468
2473
|
tmp0_serialDesc.d1t('checkTrumpCombination', false);
|
|
2469
2474
|
tmp0_serialDesc.d1t('checkOnlyTrumpDebertz', false);
|
|
2470
2475
|
tmp0_serialDesc.d1t('tenCardsInHand', false);
|
|
2471
|
-
this.
|
|
2476
|
+
this.r2p_1 = tmp0_serialDesc;
|
|
2472
2477
|
}
|
|
2473
2478
|
$serializer_6.prototype.q1i = function () {
|
|
2474
|
-
return this.
|
|
2479
|
+
return this.r2p_1;
|
|
2475
2480
|
};
|
|
2476
2481
|
$serializer_6.prototype.s1t = function () {
|
|
2477
2482
|
var tmp$ret$2;
|
|
@@ -2487,7 +2492,7 @@
|
|
|
2487
2492
|
return tmp$ret$2;
|
|
2488
2493
|
};
|
|
2489
2494
|
$serializer_6.prototype.s1i = function (decoder) {
|
|
2490
|
-
var tmp0_desc = this.
|
|
2495
|
+
var tmp0_desc = this.r2p_1;
|
|
2491
2496
|
var tmp1_flag = true;
|
|
2492
2497
|
var tmp2_index = 0;
|
|
2493
2498
|
var tmp3_bitMask0 = 0;
|
|
@@ -2619,29 +2624,29 @@
|
|
|
2619
2624
|
tmp20_input.z1l(tmp0_desc);
|
|
2620
2625
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, null);
|
|
2621
2626
|
};
|
|
2622
|
-
$serializer_6.prototype.
|
|
2623
|
-
var tmp0_desc = this.
|
|
2627
|
+
$serializer_6.prototype.s2p = function (encoder, value) {
|
|
2628
|
+
var tmp0_desc = this.r2p_1;
|
|
2624
2629
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2625
|
-
tmp1_output.e1n(tmp0_desc, 0, value.
|
|
2626
|
-
tmp1_output.e1n(tmp0_desc, 1, value.
|
|
2627
|
-
tmp1_output.e1n(tmp0_desc, 2, value.
|
|
2628
|
-
tmp1_output.e1n(tmp0_desc, 3, value.
|
|
2629
|
-
tmp1_output.e1n(tmp0_desc, 4, value.
|
|
2630
|
-
tmp1_output.e1n(tmp0_desc, 5, value.
|
|
2631
|
-
tmp1_output.e1n(tmp0_desc, 6, value.
|
|
2632
|
-
tmp1_output.e1n(tmp0_desc, 7, value.
|
|
2633
|
-
tmp1_output.e1n(tmp0_desc, 8, value.
|
|
2634
|
-
tmp1_output.e1n(tmp0_desc, 9, value.
|
|
2635
|
-
tmp1_output.e1n(tmp0_desc, 10, value.
|
|
2636
|
-
tmp1_output.h1n(tmp0_desc, 11, value.
|
|
2637
|
-
tmp1_output.e1n(tmp0_desc, 12, value.
|
|
2638
|
-
tmp1_output.e1n(tmp0_desc, 13, value.
|
|
2639
|
-
tmp1_output.e1n(tmp0_desc, 14, value.
|
|
2640
|
-
tmp1_output.e1n(tmp0_desc, 15, value.
|
|
2630
|
+
tmp1_output.e1n(tmp0_desc, 0, value.q2o_1);
|
|
2631
|
+
tmp1_output.e1n(tmp0_desc, 1, value.r2o_1);
|
|
2632
|
+
tmp1_output.e1n(tmp0_desc, 2, value.s2o_1);
|
|
2633
|
+
tmp1_output.e1n(tmp0_desc, 3, value.t2o_1);
|
|
2634
|
+
tmp1_output.e1n(tmp0_desc, 4, value.u2o_1);
|
|
2635
|
+
tmp1_output.e1n(tmp0_desc, 5, value.v2o_1);
|
|
2636
|
+
tmp1_output.e1n(tmp0_desc, 6, value.w2o_1);
|
|
2637
|
+
tmp1_output.e1n(tmp0_desc, 7, value.x2o_1);
|
|
2638
|
+
tmp1_output.e1n(tmp0_desc, 8, value.y2o_1);
|
|
2639
|
+
tmp1_output.e1n(tmp0_desc, 9, value.z2o_1);
|
|
2640
|
+
tmp1_output.e1n(tmp0_desc, 10, value.a2p_1);
|
|
2641
|
+
tmp1_output.h1n(tmp0_desc, 11, value.b2p_1);
|
|
2642
|
+
tmp1_output.e1n(tmp0_desc, 12, value.c2p_1);
|
|
2643
|
+
tmp1_output.e1n(tmp0_desc, 13, value.d2p_1);
|
|
2644
|
+
tmp1_output.e1n(tmp0_desc, 14, value.e2p_1);
|
|
2645
|
+
tmp1_output.e1n(tmp0_desc, 15, value.f2p_1);
|
|
2641
2646
|
tmp1_output.z1l(tmp0_desc);
|
|
2642
2647
|
};
|
|
2643
2648
|
$serializer_6.prototype.r1i = function (encoder, value) {
|
|
2644
|
-
return this.
|
|
2649
|
+
return this.s2p(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2645
2650
|
};
|
|
2646
2651
|
$serializer_6.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2647
2652
|
var $serializer_instance_6;
|
|
@@ -2652,24 +2657,24 @@
|
|
|
2652
2657
|
}
|
|
2653
2658
|
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2654
2659
|
if (!(65535 === (65535 & seen1))) {
|
|
2655
|
-
throwMissingFieldException(seen1, 65535, $serializer_getInstance_6().
|
|
2660
|
+
throwMissingFieldException(seen1, 65535, $serializer_getInstance_6().r2p_1);
|
|
2656
2661
|
}
|
|
2657
|
-
$this.
|
|
2658
|
-
$this.
|
|
2659
|
-
$this.
|
|
2660
|
-
$this.
|
|
2661
|
-
$this.
|
|
2662
|
-
$this.
|
|
2663
|
-
$this.
|
|
2664
|
-
$this.
|
|
2665
|
-
$this.
|
|
2666
|
-
$this.
|
|
2667
|
-
$this.
|
|
2668
|
-
$this.
|
|
2669
|
-
$this.
|
|
2670
|
-
$this.
|
|
2671
|
-
$this.
|
|
2672
|
-
$this.
|
|
2662
|
+
$this.q2o_1 = needToPutHigherTrump;
|
|
2663
|
+
$this.r2o_1 = distributePoints;
|
|
2664
|
+
$this.s2o_1 = protectBella;
|
|
2665
|
+
$this.t2o_1 = enableFourSevensCombination;
|
|
2666
|
+
$this.u2o_1 = enableTrumpSevenCombination;
|
|
2667
|
+
$this.v2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2668
|
+
$this.w2o_1 = playerWhoChooseSuitGoFirst;
|
|
2669
|
+
$this.x2o_1 = winnerShuffleCards;
|
|
2670
|
+
$this.y2o_1 = playWithoutLiabilities;
|
|
2671
|
+
$this.z2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2672
|
+
$this.a2p_1 = enableFineIfNoBribes;
|
|
2673
|
+
$this.b2p_1 = fineIfNoBribes;
|
|
2674
|
+
$this.c2p_1 = enableFineAfterThirdByte;
|
|
2675
|
+
$this.d2p_1 = checkTrumpCombination;
|
|
2676
|
+
$this.e2p_1 = checkOnlyTrumpDebertz;
|
|
2677
|
+
$this.f2p_1 = tenCardsInHand;
|
|
2673
2678
|
return $this;
|
|
2674
2679
|
}
|
|
2675
2680
|
function RulesDto_init_$Create$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -2677,29 +2682,28 @@
|
|
|
2677
2682
|
}
|
|
2678
2683
|
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2679
2684
|
Companion_getInstance_12();
|
|
2680
|
-
this.
|
|
2681
|
-
this.
|
|
2682
|
-
this.
|
|
2683
|
-
this.
|
|
2684
|
-
this.
|
|
2685
|
-
this.
|
|
2686
|
-
this.
|
|
2687
|
-
this.
|
|
2688
|
-
this.
|
|
2689
|
-
this.
|
|
2690
|
-
this.
|
|
2691
|
-
this.
|
|
2692
|
-
this.
|
|
2693
|
-
this.
|
|
2694
|
-
this.
|
|
2695
|
-
this.
|
|
2685
|
+
this.q2o_1 = needToPutHigherTrump;
|
|
2686
|
+
this.r2o_1 = distributePoints;
|
|
2687
|
+
this.s2o_1 = protectBella;
|
|
2688
|
+
this.t2o_1 = enableFourSevensCombination;
|
|
2689
|
+
this.u2o_1 = enableTrumpSevenCombination;
|
|
2690
|
+
this.v2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2691
|
+
this.w2o_1 = playerWhoChooseSuitGoFirst;
|
|
2692
|
+
this.x2o_1 = winnerShuffleCards;
|
|
2693
|
+
this.y2o_1 = playWithoutLiabilities;
|
|
2694
|
+
this.z2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2695
|
+
this.a2p_1 = enableFineIfNoBribes;
|
|
2696
|
+
this.b2p_1 = fineIfNoBribes;
|
|
2697
|
+
this.c2p_1 = enableFineAfterThirdByte;
|
|
2698
|
+
this.d2p_1 = checkTrumpCombination;
|
|
2699
|
+
this.e2p_1 = checkOnlyTrumpDebertz;
|
|
2700
|
+
this.f2p_1 = tenCardsInHand;
|
|
2696
2701
|
}
|
|
2697
2702
|
RulesDto.prototype.toString = function () {
|
|
2698
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2703
|
+
return 'RulesDto(needToPutHigherTrump=' + this.q2o_1 + ', distributePoints=' + this.r2o_1 + ', protectBella=' + this.s2o_1 + ', enableFourSevensCombination=' + this.t2o_1 + ', enableTrumpSevenCombination=' + this.u2o_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.v2o_1 + ', playerWhoChooseSuitGoFirst=' + this.w2o_1 + ', winnerShuffleCards=' + this.x2o_1 + ', playWithoutLiabilities=' + this.y2o_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.z2o_1 + ', enableFineIfNoBribes=' + this.a2p_1 + ', fineIfNoBribes=' + this.b2p_1 + ', enableFineAfterThirdByte=' + this.c2p_1 + ', checkTrumpCombination=' + this.d2p_1 + ', checkOnlyTrumpDebertz=' + this.e2p_1 + ', tenCardsInHand=' + this.f2p_1 + ')';
|
|
2699
2704
|
};
|
|
2700
2705
|
RulesDto.prototype.hashCode = function () {
|
|
2701
|
-
var result = this.
|
|
2702
|
-
result = imul(result, 31) + (this.q2o_1 | 0) | 0;
|
|
2706
|
+
var result = this.q2o_1 | 0;
|
|
2703
2707
|
result = imul(result, 31) + (this.r2o_1 | 0) | 0;
|
|
2704
2708
|
result = imul(result, 31) + (this.s2o_1 | 0) | 0;
|
|
2705
2709
|
result = imul(result, 31) + (this.t2o_1 | 0) | 0;
|
|
@@ -2709,11 +2713,12 @@
|
|
|
2709
2713
|
result = imul(result, 31) + (this.x2o_1 | 0) | 0;
|
|
2710
2714
|
result = imul(result, 31) + (this.y2o_1 | 0) | 0;
|
|
2711
2715
|
result = imul(result, 31) + (this.z2o_1 | 0) | 0;
|
|
2712
|
-
result = imul(result, 31) + this.a2p_1 | 0;
|
|
2713
|
-
result = imul(result, 31) +
|
|
2716
|
+
result = imul(result, 31) + (this.a2p_1 | 0) | 0;
|
|
2717
|
+
result = imul(result, 31) + this.b2p_1 | 0;
|
|
2714
2718
|
result = imul(result, 31) + (this.c2p_1 | 0) | 0;
|
|
2715
2719
|
result = imul(result, 31) + (this.d2p_1 | 0) | 0;
|
|
2716
2720
|
result = imul(result, 31) + (this.e2p_1 | 0) | 0;
|
|
2721
|
+
result = imul(result, 31) + (this.f2p_1 | 0) | 0;
|
|
2717
2722
|
return result;
|
|
2718
2723
|
};
|
|
2719
2724
|
RulesDto.prototype.equals = function (other) {
|
|
@@ -2722,8 +2727,6 @@
|
|
|
2722
2727
|
if (!(other instanceof RulesDto))
|
|
2723
2728
|
return false;
|
|
2724
2729
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2725
|
-
if (!(this.p2o_1 === tmp0_other_with_cast.p2o_1))
|
|
2726
|
-
return false;
|
|
2727
2730
|
if (!(this.q2o_1 === tmp0_other_with_cast.q2o_1))
|
|
2728
2731
|
return false;
|
|
2729
2732
|
if (!(this.r2o_1 === tmp0_other_with_cast.r2o_1))
|
|
@@ -2754,19 +2757,21 @@
|
|
|
2754
2757
|
return false;
|
|
2755
2758
|
if (!(this.e2p_1 === tmp0_other_with_cast.e2p_1))
|
|
2756
2759
|
return false;
|
|
2760
|
+
if (!(this.f2p_1 === tmp0_other_with_cast.f2p_1))
|
|
2761
|
+
return false;
|
|
2757
2762
|
return true;
|
|
2758
2763
|
};
|
|
2759
2764
|
RulesDto.$metadata$ = classMeta('RulesDto', undefined, undefined, {0: $serializer_getInstance_6});
|
|
2760
2765
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
2761
|
-
this.
|
|
2762
|
-
this.
|
|
2766
|
+
this.t2p_1 = trump;
|
|
2767
|
+
this.u2p_1 = firstCardSuit;
|
|
2763
2768
|
}
|
|
2764
|
-
CardGrowthComparator.prototype.
|
|
2765
|
-
return getGrowth(b, this.
|
|
2769
|
+
CardGrowthComparator.prototype.v2p = function (a, b) {
|
|
2770
|
+
return getGrowth(b, this.t2p_1, this.u2p_1) - getGrowth(a, this.t2p_1, this.u2p_1) | 0;
|
|
2766
2771
|
};
|
|
2767
2772
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
2768
2773
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2769
|
-
return this.
|
|
2774
|
+
return this.v2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2770
2775
|
};
|
|
2771
2776
|
CardGrowthComparator.$metadata$ = classMeta('CardGrowthComparator', [Comparator]);
|
|
2772
2777
|
function filterByCardName(_this__u8e3s4, name) {
|
|
@@ -2790,12 +2795,12 @@
|
|
|
2790
2795
|
function CardIndexComparator() {
|
|
2791
2796
|
CardIndexComparator_instance = this;
|
|
2792
2797
|
}
|
|
2793
|
-
CardIndexComparator.prototype.
|
|
2794
|
-
return a.
|
|
2798
|
+
CardIndexComparator.prototype.v2p = function (a, b) {
|
|
2799
|
+
return a.n2o_1 - b.n2o_1 | 0;
|
|
2795
2800
|
};
|
|
2796
2801
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
2797
2802
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2798
|
-
return this.
|
|
2803
|
+
return this.v2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2799
2804
|
};
|
|
2800
2805
|
CardIndexComparator.$metadata$ = objectMeta('CardIndexComparator', [Comparator]);
|
|
2801
2806
|
var CardIndexComparator_instance;
|
|
@@ -2825,12 +2830,12 @@
|
|
|
2825
2830
|
function CardNumberComparator() {
|
|
2826
2831
|
CardNumberComparator_instance = this;
|
|
2827
2832
|
}
|
|
2828
|
-
CardNumberComparator.prototype.
|
|
2829
|
-
return b.
|
|
2833
|
+
CardNumberComparator.prototype.v2p = function (a, b) {
|
|
2834
|
+
return b.w2p() - a.w2p() | 0;
|
|
2830
2835
|
};
|
|
2831
2836
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
2832
2837
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2833
|
-
return this.
|
|
2838
|
+
return this.v2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2834
2839
|
};
|
|
2835
2840
|
CardNumberComparator.$metadata$ = objectMeta('CardNumberComparator', [Comparator]);
|
|
2836
2841
|
var CardNumberComparator_instance;
|
|
@@ -2840,7 +2845,7 @@
|
|
|
2840
2845
|
return CardNumberComparator_instance;
|
|
2841
2846
|
}
|
|
2842
2847
|
function getPoint(_this__u8e3s4, trump) {
|
|
2843
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
2848
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.x2p());
|
|
2844
2849
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
2845
2850
|
var tmp0 = tmp0_subject.e5_1;
|
|
2846
2851
|
var tmp;
|
|
@@ -2874,8 +2879,8 @@
|
|
|
2874
2879
|
}
|
|
2875
2880
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
2876
2881
|
var minPoint = 0;
|
|
2877
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
2878
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
2882
|
+
var isTrump = trump.equals(_this__u8e3s4.x2p());
|
|
2883
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.x2p());
|
|
2879
2884
|
var minGrowth;
|
|
2880
2885
|
var maxGrowth;
|
|
2881
2886
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
@@ -2973,7 +2978,7 @@
|
|
|
2973
2978
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2974
2979
|
var tmp$ret$0;
|
|
2975
2980
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
2976
|
-
tmp$ret$0 = p1.
|
|
2981
|
+
tmp$ret$0 = p1.x2p().equals(element);
|
|
2977
2982
|
if (tmp$ret$0) {
|
|
2978
2983
|
tmp$ret$1 = true;
|
|
2979
2984
|
break $l$block;
|
|
@@ -3021,10 +3026,10 @@
|
|
|
3021
3026
|
function Companion_13() {
|
|
3022
3027
|
Companion_instance_13 = this;
|
|
3023
3028
|
}
|
|
3024
|
-
Companion_13.prototype.
|
|
3029
|
+
Companion_13.prototype.y2p = function (suit, cardNumber) {
|
|
3025
3030
|
return new GameCard(getNumber(Companion_getInstance_14(), cardNumber, suit));
|
|
3026
3031
|
};
|
|
3027
|
-
Companion_13.prototype.
|
|
3032
|
+
Companion_13.prototype.z2p = function (position, playerIndex, reverse) {
|
|
3028
3033
|
var tmp;
|
|
3029
3034
|
if (reverse) {
|
|
3030
3035
|
Companion_getInstance_14();
|
|
@@ -3038,10 +3043,10 @@
|
|
|
3038
3043
|
var index = tmp;
|
|
3039
3044
|
return new GameCard(index);
|
|
3040
3045
|
};
|
|
3041
|
-
Companion_13.prototype.
|
|
3046
|
+
Companion_13.prototype.a2q = function (position, playerIndex, reverse, $mask0, $handler) {
|
|
3042
3047
|
if (!(($mask0 & 4) === 0))
|
|
3043
3048
|
reverse = false;
|
|
3044
|
-
return this.
|
|
3049
|
+
return this.z2p(position, playerIndex, reverse);
|
|
3045
3050
|
};
|
|
3046
3051
|
Companion_13.$metadata$ = objectMeta('Companion');
|
|
3047
3052
|
var Companion_instance_13;
|
|
@@ -3151,7 +3156,7 @@
|
|
|
3151
3156
|
return tmp;
|
|
3152
3157
|
}
|
|
3153
3158
|
function _get_isShirt__vd98rp($this) {
|
|
3154
|
-
var tmp = $this.
|
|
3159
|
+
var tmp = $this.n2o_1;
|
|
3155
3160
|
Companion_getInstance_14();
|
|
3156
3161
|
return tmp === 52;
|
|
3157
3162
|
}
|
|
@@ -3161,10 +3166,10 @@
|
|
|
3161
3166
|
CardName.$metadata$ = classMeta('CardName', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
3162
3167
|
function Companion_14() {
|
|
3163
3168
|
Companion_instance_14 = this;
|
|
3164
|
-
this.
|
|
3165
|
-
this.
|
|
3166
|
-
this.
|
|
3167
|
-
this.
|
|
3169
|
+
this.b2q_1 = -1;
|
|
3170
|
+
this.c2q_1 = 13;
|
|
3171
|
+
this.d2q_1 = 52;
|
|
3172
|
+
this.e2q_1 = 53;
|
|
3168
3173
|
}
|
|
3169
3174
|
Companion_14.$metadata$ = objectMeta('Companion');
|
|
3170
3175
|
var Companion_instance_14;
|
|
@@ -3231,58 +3236,58 @@
|
|
|
3231
3236
|
}
|
|
3232
3237
|
function GameCard(index) {
|
|
3233
3238
|
Companion_getInstance_14();
|
|
3234
|
-
this.
|
|
3239
|
+
this.n2o_1 = index;
|
|
3235
3240
|
}
|
|
3236
3241
|
GameCard.prototype.b3 = function () {
|
|
3237
|
-
return this.
|
|
3242
|
+
return this.n2o_1;
|
|
3238
3243
|
};
|
|
3239
|
-
GameCard.prototype.
|
|
3244
|
+
GameCard.prototype.x2p = function () {
|
|
3240
3245
|
var tmp;
|
|
3241
3246
|
Companion_getInstance_14();
|
|
3242
3247
|
var containsUpper = 13;
|
|
3243
|
-
var containsArg = this.
|
|
3248
|
+
var containsArg = this.n2o_1;
|
|
3244
3249
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3245
3250
|
tmp = Suit_DIAMOND_getInstance();
|
|
3246
3251
|
} else {
|
|
3247
|
-
var tmp_0 = this.
|
|
3252
|
+
var tmp_0 = this.n2o_1;
|
|
3248
3253
|
Companion_getInstance_14();
|
|
3249
3254
|
if (tmp_0 <= imul(13, 2)) {
|
|
3250
3255
|
tmp = Suit_SPADE_getInstance();
|
|
3251
3256
|
} else {
|
|
3252
|
-
var tmp_1 = this.
|
|
3257
|
+
var tmp_1 = this.n2o_1;
|
|
3253
3258
|
Companion_getInstance_14();
|
|
3254
3259
|
if (tmp_1 <= imul(13, 3)) {
|
|
3255
3260
|
tmp = Suit_HEART_getInstance();
|
|
3256
3261
|
} else {
|
|
3257
|
-
var tmp_2 = this.
|
|
3262
|
+
var tmp_2 = this.n2o_1;
|
|
3258
3263
|
Companion_getInstance_14();
|
|
3259
3264
|
if (tmp_2 <= imul(13, 4)) {
|
|
3260
3265
|
tmp = Suit_CLUB_getInstance();
|
|
3261
3266
|
} else {
|
|
3262
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3267
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.n2o_1);
|
|
3263
3268
|
}
|
|
3264
3269
|
}
|
|
3265
3270
|
}
|
|
3266
3271
|
}
|
|
3267
3272
|
return tmp;
|
|
3268
3273
|
};
|
|
3269
|
-
GameCard.prototype.
|
|
3274
|
+
GameCard.prototype.w2p = function () {
|
|
3270
3275
|
var tmp;
|
|
3271
|
-
if (this.
|
|
3276
|
+
if (this.f2q()) {
|
|
3272
3277
|
Companion_getInstance_14();
|
|
3273
3278
|
tmp = -1;
|
|
3274
3279
|
} else {
|
|
3275
|
-
var tmp_0 = this.
|
|
3280
|
+
var tmp_0 = this.n2o_1;
|
|
3276
3281
|
Companion_getInstance_14();
|
|
3277
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3282
|
+
tmp = tmp_0 - imul(13, getIndex(this.x2p())) | 0;
|
|
3278
3283
|
}
|
|
3279
3284
|
return tmp;
|
|
3280
3285
|
};
|
|
3281
3286
|
GameCard.prototype.f5 = function () {
|
|
3282
|
-
return this.
|
|
3287
|
+
return this.f2q() ? CardName_STUB_getInstance() : getName(Companion_getInstance_14(), this.w2p());
|
|
3283
3288
|
};
|
|
3284
|
-
GameCard.prototype.
|
|
3285
|
-
var tmp = this.
|
|
3289
|
+
GameCard.prototype.f2q = function () {
|
|
3290
|
+
var tmp = this.n2o_1;
|
|
3286
3291
|
Companion_getInstance_14();
|
|
3287
3292
|
return tmp >= 53;
|
|
3288
3293
|
};
|
|
@@ -3290,13 +3295,13 @@
|
|
|
3290
3295
|
if (_get_isShirt__vd98rp(this)) {
|
|
3291
3296
|
return 'GameCard(SHIRT)';
|
|
3292
3297
|
}
|
|
3293
|
-
if (this.
|
|
3294
|
-
return 'GameCard(STUB, ' + this.
|
|
3298
|
+
if (this.f2q()) {
|
|
3299
|
+
return 'GameCard(STUB, ' + this.n2o_1 + ')';
|
|
3295
3300
|
}
|
|
3296
|
-
return 'GameCard(' + this.f5() + ', suit: ' + this.
|
|
3301
|
+
return 'GameCard(' + this.f5() + ', suit: ' + this.x2p() + ', index=' + this.n2o_1 + ')';
|
|
3297
3302
|
};
|
|
3298
3303
|
GameCard.prototype.hashCode = function () {
|
|
3299
|
-
return this.
|
|
3304
|
+
return this.n2o_1;
|
|
3300
3305
|
};
|
|
3301
3306
|
GameCard.prototype.equals = function (other) {
|
|
3302
3307
|
if (this === other)
|
|
@@ -3304,24 +3309,24 @@
|
|
|
3304
3309
|
if (!(other instanceof GameCard))
|
|
3305
3310
|
return false;
|
|
3306
3311
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3307
|
-
if (!(this.
|
|
3312
|
+
if (!(this.n2o_1 === tmp0_other_with_cast.n2o_1))
|
|
3308
3313
|
return false;
|
|
3309
3314
|
return true;
|
|
3310
3315
|
};
|
|
3311
3316
|
GameCard.$metadata$ = classMeta('GameCard');
|
|
3312
3317
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3313
|
-
this.
|
|
3314
|
-
this.
|
|
3318
|
+
this.o2o_1 = playerId;
|
|
3319
|
+
this.p2o_1 = gameCard;
|
|
3315
3320
|
}
|
|
3316
3321
|
GameCardWIthPlayerId.prototype.f2l = function () {
|
|
3317
|
-
return this.
|
|
3322
|
+
return this.o2o_1;
|
|
3318
3323
|
};
|
|
3319
3324
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3320
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3325
|
+
return 'GameCardWIthPlayerId(playerId=' + this.o2o_1 + ', gameCard=' + this.p2o_1 + ')';
|
|
3321
3326
|
};
|
|
3322
3327
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3323
|
-
var result = getStringHashCode(this.
|
|
3324
|
-
result = imul(result, 31) + this.
|
|
3328
|
+
var result = getStringHashCode(this.o2o_1);
|
|
3329
|
+
result = imul(result, 31) + this.p2o_1.hashCode() | 0;
|
|
3325
3330
|
return result;
|
|
3326
3331
|
};
|
|
3327
3332
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3330,9 +3335,9 @@
|
|
|
3330
3335
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3331
3336
|
return false;
|
|
3332
3337
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3333
|
-
if (!(this.
|
|
3338
|
+
if (!(this.o2o_1 === tmp0_other_with_cast.o2o_1))
|
|
3334
3339
|
return false;
|
|
3335
|
-
if (!this.
|
|
3340
|
+
if (!this.p2o_1.equals(tmp0_other_with_cast.p2o_1))
|
|
3336
3341
|
return false;
|
|
3337
3342
|
return true;
|
|
3338
3343
|
};
|
|
@@ -3344,18 +3349,18 @@
|
|
|
3344
3349
|
}
|
|
3345
3350
|
});
|
|
3346
3351
|
function ProcessingCard(gameCard, payload) {
|
|
3347
|
-
this.
|
|
3348
|
-
this.
|
|
3352
|
+
this.g2q_1 = gameCard;
|
|
3353
|
+
this.h2q_1 = payload;
|
|
3349
3354
|
}
|
|
3350
|
-
ProcessingCard.prototype.
|
|
3351
|
-
return this.
|
|
3355
|
+
ProcessingCard.prototype.i2q = function () {
|
|
3356
|
+
return this.g2q_1;
|
|
3352
3357
|
};
|
|
3353
3358
|
ProcessingCard.prototype.toString = function () {
|
|
3354
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3359
|
+
return 'ProcessingCard(gameCard=' + this.g2q_1 + ', payload=' + this.h2q_1 + ')';
|
|
3355
3360
|
};
|
|
3356
3361
|
ProcessingCard.prototype.hashCode = function () {
|
|
3357
|
-
var result = this.
|
|
3358
|
-
result = imul(result, 31) + (this.
|
|
3362
|
+
var result = this.g2q_1.hashCode();
|
|
3363
|
+
result = imul(result, 31) + (this.h2q_1 == null ? 0 : hashCode(this.h2q_1)) | 0;
|
|
3359
3364
|
return result;
|
|
3360
3365
|
};
|
|
3361
3366
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3364,9 +3369,9 @@
|
|
|
3364
3369
|
if (!(other instanceof ProcessingCard))
|
|
3365
3370
|
return false;
|
|
3366
3371
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3367
|
-
if (!this.
|
|
3372
|
+
if (!this.g2q_1.equals(tmp0_other_with_cast.g2q_1))
|
|
3368
3373
|
return false;
|
|
3369
|
-
if (!equals(this.
|
|
3374
|
+
if (!equals(this.h2q_1, tmp0_other_with_cast.h2q_1))
|
|
3370
3375
|
return false;
|
|
3371
3376
|
return true;
|
|
3372
3377
|
};
|
|
@@ -3382,10 +3387,10 @@
|
|
|
3382
3387
|
Companion_instance_15 = this;
|
|
3383
3388
|
var tmp = this;
|
|
3384
3389
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3385
|
-
tmp.
|
|
3390
|
+
tmp.j2q_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3386
3391
|
}
|
|
3387
3392
|
Companion_15.prototype.l25 = function () {
|
|
3388
|
-
return this.
|
|
3393
|
+
return this.j2q_1.c2();
|
|
3389
3394
|
};
|
|
3390
3395
|
Companion_15.prototype.b1u = function (typeParamsSerializers) {
|
|
3391
3396
|
return this.l25();
|
|
@@ -3456,36 +3461,36 @@
|
|
|
3456
3461
|
return tmp;
|
|
3457
3462
|
}
|
|
3458
3463
|
function _no_name_provided__qut3iv($logger) {
|
|
3459
|
-
this.
|
|
3464
|
+
this.l2q_1 = $logger;
|
|
3460
3465
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3461
3466
|
}
|
|
3462
3467
|
_no_name_provided__qut3iv.prototype.eq = function (context, exception) {
|
|
3463
|
-
return this.
|
|
3468
|
+
return this.l2q_1.m2q('AsyncErrorHandler', 'AsyncProvider error: ' + exception, exception);
|
|
3464
3469
|
};
|
|
3465
3470
|
_no_name_provided__qut3iv.$metadata$ = classMeta(undefined, [CoroutineExceptionHandler], undefined, undefined, undefined, AbstractCoroutineContextElement.prototype);
|
|
3466
3471
|
function AsyncProviderImpl(logger) {
|
|
3467
3472
|
var tmp = this;
|
|
3468
|
-
tmp.
|
|
3473
|
+
tmp.n2q_1 = Job$default(null, 1, null);
|
|
3469
3474
|
var tmp_0 = this;
|
|
3470
3475
|
var tmp$ret$0;
|
|
3471
3476
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3472
3477
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3473
|
-
tmp_0.
|
|
3474
|
-
this.
|
|
3475
|
-
this.
|
|
3478
|
+
tmp_0.o2q_1 = tmp$ret$0;
|
|
3479
|
+
this.p2q_1 = CoroutineScope(Dispatchers_getInstance().lu().y4(this.n2q_1));
|
|
3480
|
+
this.q2q_1 = CoroutineScope(Dispatchers_getInstance().hu_1.y4(this.n2q_1));
|
|
3476
3481
|
}
|
|
3477
|
-
AsyncProviderImpl.prototype.
|
|
3478
|
-
return this.
|
|
3479
|
-
};
|
|
3480
|
-
AsyncProviderImpl.prototype.r2q = function (context, block) {
|
|
3481
|
-
return launch$default(this.o2q_1, context, null, block, 2, null);
|
|
3482
|
+
AsyncProviderImpl.prototype.r2q = function () {
|
|
3483
|
+
return this.o2q_1;
|
|
3482
3484
|
};
|
|
3483
|
-
AsyncProviderImpl.prototype.
|
|
3485
|
+
AsyncProviderImpl.prototype.s2q = function (context, block) {
|
|
3484
3486
|
return launch$default(this.p2q_1, context, null, block, 2, null);
|
|
3485
3487
|
};
|
|
3488
|
+
AsyncProviderImpl.prototype.u2q = function (context, block) {
|
|
3489
|
+
return launch$default(this.q2q_1, context, null, block, 2, null);
|
|
3490
|
+
};
|
|
3486
3491
|
AsyncProviderImpl.prototype.rn = function () {
|
|
3487
|
-
if (!this.
|
|
3488
|
-
this.
|
|
3492
|
+
if (!this.n2q_1.xp()) {
|
|
3493
|
+
this.n2q_1.om(null, 1, null);
|
|
3489
3494
|
}
|
|
3490
3495
|
};
|
|
3491
3496
|
AsyncProviderImpl.$metadata$ = classMeta('AsyncProviderImpl', [AsyncProvider]);
|
|
@@ -3493,37 +3498,37 @@
|
|
|
3493
3498
|
}
|
|
3494
3499
|
AsyncProvider.$metadata$ = interfaceMeta('AsyncProvider');
|
|
3495
3500
|
function JobsProviderImpl(logger) {
|
|
3496
|
-
this.
|
|
3501
|
+
this.w2q_1 = logger;
|
|
3497
3502
|
var tmp = this;
|
|
3498
3503
|
var tmp$ret$0;
|
|
3499
3504
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3500
3505
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
3501
|
-
tmp.
|
|
3506
|
+
tmp.x2q_1 = tmp$ret$0;
|
|
3502
3507
|
}
|
|
3503
|
-
JobsProviderImpl.prototype.
|
|
3504
|
-
if (this.
|
|
3505
|
-
this.
|
|
3508
|
+
JobsProviderImpl.prototype.y2q = function (timerTag, job) {
|
|
3509
|
+
if (this.a2r(timerTag)) {
|
|
3510
|
+
this.w2q_1.z2q(null, 'Timer already exists for that tag: ' + timerTag, 1, null);
|
|
3506
3511
|
}
|
|
3507
3512
|
// Inline function 'kotlin.collections.set' call
|
|
3508
|
-
var tmp0_set = this.
|
|
3513
|
+
var tmp0_set = this.x2q_1;
|
|
3509
3514
|
tmp0_set.o(timerTag, job);
|
|
3510
3515
|
};
|
|
3511
|
-
JobsProviderImpl.prototype.z2q = function (timerTag) {
|
|
3512
|
-
return this.w2q_1.j2(timerTag);
|
|
3513
|
-
};
|
|
3514
3516
|
JobsProviderImpl.prototype.a2r = function (timerTag) {
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
+
return this.x2q_1.j2(timerTag);
|
|
3518
|
+
};
|
|
3519
|
+
JobsProviderImpl.prototype.b2r = function (timerTag) {
|
|
3520
|
+
if (!this.a2r(timerTag)) {
|
|
3521
|
+
this.w2q_1.z2q(null, "Can't find timer for that tag: " + timerTag, 1, null);
|
|
3517
3522
|
}
|
|
3518
|
-
this.
|
|
3523
|
+
this.x2q_1.od(timerTag);
|
|
3519
3524
|
};
|
|
3520
|
-
JobsProviderImpl.prototype.
|
|
3525
|
+
JobsProviderImpl.prototype.c2r = function (timers) {
|
|
3521
3526
|
// Inline function 'kotlin.collections.forEach' call
|
|
3522
3527
|
var tmp0_iterator = timers.f();
|
|
3523
3528
|
while (tmp0_iterator.g()) {
|
|
3524
3529
|
var element = tmp0_iterator.h();
|
|
3525
3530
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3526
|
-
var timer = this.
|
|
3531
|
+
var timer = this.x2q_1.n(element);
|
|
3527
3532
|
var tmp0_safe_receiver = timer;
|
|
3528
3533
|
if (tmp0_safe_receiver == null)
|
|
3529
3534
|
null;
|
|
@@ -3531,11 +3536,11 @@
|
|
|
3531
3536
|
tmp0_safe_receiver.om(null, 1, null);
|
|
3532
3537
|
}
|
|
3533
3538
|
}
|
|
3534
|
-
this.
|
|
3539
|
+
this.x2q_1.m2().mc(toSet(timers));
|
|
3535
3540
|
};
|
|
3536
|
-
JobsProviderImpl.prototype.
|
|
3537
|
-
var timer = this.
|
|
3538
|
-
this.
|
|
3541
|
+
JobsProviderImpl.prototype.d2r = function (timerTag) {
|
|
3542
|
+
var timer = this.x2q_1.n(timerTag);
|
|
3543
|
+
this.x2q_1.od(timerTag);
|
|
3539
3544
|
var tmp0_safe_receiver = timer;
|
|
3540
3545
|
if (tmp0_safe_receiver == null)
|
|
3541
3546
|
null;
|
|
@@ -3666,7 +3671,7 @@
|
|
|
3666
3671
|
return createStore(reducer, preloadedState, enhancer);
|
|
3667
3672
|
}
|
|
3668
3673
|
function createStore$dispatch(currentState, currentReducer, action) {
|
|
3669
|
-
currentState.x11(currentReducer._v.
|
|
3674
|
+
currentState.x11(currentReducer._v.e2r(currentState.c2(), action));
|
|
3670
3675
|
}
|
|
3671
3676
|
function createStore$replaceReducer(currentReducer, currentState, nextReducer) {
|
|
3672
3677
|
currentReducer._v = nextReducer;
|
|
@@ -3692,47 +3697,47 @@
|
|
|
3692
3697
|
return l;
|
|
3693
3698
|
}
|
|
3694
3699
|
function createStore$2($currentState, $currentReducer) {
|
|
3695
|
-
this.
|
|
3700
|
+
this.h2r_1 = $currentState;
|
|
3696
3701
|
var tmp = this;
|
|
3697
|
-
tmp.
|
|
3702
|
+
tmp.f2r_1 = createStore$dispatch$ref($currentState, $currentReducer);
|
|
3698
3703
|
var tmp_0 = this;
|
|
3699
|
-
tmp_0.
|
|
3704
|
+
tmp_0.g2r_1 = createStore$replaceReducer$ref($currentReducer, $currentState);
|
|
3700
3705
|
}
|
|
3701
|
-
createStore$2.prototype.
|
|
3702
|
-
this.
|
|
3703
|
-
};
|
|
3704
|
-
createStore$2.prototype.i2r = function () {
|
|
3705
|
-
return this.e2r_1;
|
|
3706
|
+
createStore$2.prototype.i2r = function (_set____db54di) {
|
|
3707
|
+
this.f2r_1 = _set____db54di;
|
|
3706
3708
|
};
|
|
3707
3709
|
createStore$2.prototype.j2r = function () {
|
|
3708
|
-
return this.
|
|
3710
|
+
return this.f2r_1;
|
|
3709
3711
|
};
|
|
3710
3712
|
createStore$2.prototype.k2r = function () {
|
|
3711
|
-
return this.
|
|
3713
|
+
return this.h2r_1;
|
|
3714
|
+
};
|
|
3715
|
+
createStore$2.prototype.l2r = function () {
|
|
3716
|
+
return this.g2r_1;
|
|
3712
3717
|
};
|
|
3713
3718
|
createStore$2.prototype.am = function () {
|
|
3714
|
-
return this.
|
|
3719
|
+
return this.h2r_1.c2();
|
|
3715
3720
|
};
|
|
3716
3721
|
createStore$2.$metadata$ = classMeta(undefined, [Store]);
|
|
3717
3722
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
3718
3723
|
configurable: true,
|
|
3719
3724
|
get: function () {
|
|
3720
|
-
return this.
|
|
3725
|
+
return this.j2r();
|
|
3721
3726
|
},
|
|
3722
3727
|
set: function (value) {
|
|
3723
|
-
this.
|
|
3728
|
+
this.i2r(value);
|
|
3724
3729
|
}
|
|
3725
3730
|
});
|
|
3726
3731
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
3727
3732
|
configurable: true,
|
|
3728
3733
|
get: function () {
|
|
3729
|
-
return this.
|
|
3734
|
+
return this.k2r();
|
|
3730
3735
|
}
|
|
3731
3736
|
});
|
|
3732
3737
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
3733
3738
|
configurable: true,
|
|
3734
3739
|
get: function () {
|
|
3735
|
-
return this.
|
|
3740
|
+
return this.l2r();
|
|
3736
3741
|
}
|
|
3737
3742
|
});
|
|
3738
3743
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
@@ -3767,10 +3772,10 @@
|
|
|
3767
3772
|
return new middleware$1(dispatch);
|
|
3768
3773
|
}
|
|
3769
3774
|
function middleware$1($dispatch) {
|
|
3770
|
-
this.
|
|
3775
|
+
this.p2r_1 = $dispatch;
|
|
3771
3776
|
}
|
|
3772
|
-
middleware$1.prototype.
|
|
3773
|
-
this.
|
|
3777
|
+
middleware$1.prototype.o2r = function (store, next, action) {
|
|
3778
|
+
this.p2r_1(store, next, action);
|
|
3774
3779
|
};
|
|
3775
3780
|
middleware$1.$metadata$ = classMeta(undefined, [Middleware]);
|
|
3776
3781
|
function Reducer() {
|
|
@@ -3780,9 +3785,9 @@
|
|
|
3780
3785
|
return new combineReducers$1(reducers);
|
|
3781
3786
|
}
|
|
3782
3787
|
function combineReducers$1($reducers) {
|
|
3783
|
-
this.
|
|
3788
|
+
this.q2r_1 = $reducers;
|
|
3784
3789
|
}
|
|
3785
|
-
combineReducers$1.prototype.
|
|
3790
|
+
combineReducers$1.prototype.r2r = function (state, action) {
|
|
3786
3791
|
var tmp$ret$4;
|
|
3787
3792
|
// Inline function 'kotlin.collections.fold' call
|
|
3788
3793
|
var tmp$ret$2;
|
|
@@ -3790,7 +3795,7 @@
|
|
|
3790
3795
|
var tmp$ret$1;
|
|
3791
3796
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3792
3797
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
3793
|
-
var indexedObject = this.
|
|
3798
|
+
var indexedObject = this.q2r_1;
|
|
3794
3799
|
var inductionVariable = 0;
|
|
3795
3800
|
var last = indexedObject.length;
|
|
3796
3801
|
while (inductionVariable < last) {
|
|
@@ -3798,7 +3803,7 @@
|
|
|
3798
3803
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3799
3804
|
var tmp$ret$0;
|
|
3800
3805
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3801
|
-
tmp$ret$0 = element.
|
|
3806
|
+
tmp$ret$0 = element.n2r(action);
|
|
3802
3807
|
if (tmp$ret$0) {
|
|
3803
3808
|
tmp0_filterTo.a(element);
|
|
3804
3809
|
}
|
|
@@ -3813,14 +3818,14 @@
|
|
|
3813
3818
|
var tmp$ret$3;
|
|
3814
3819
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3815
3820
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
3816
|
-
tmp$ret$3 = element_0.
|
|
3821
|
+
tmp$ret$3 = element_0.e2r(tmp1__anonymous__uwfjfc, action);
|
|
3817
3822
|
accumulator = tmp$ret$3;
|
|
3818
3823
|
}
|
|
3819
3824
|
tmp$ret$4 = accumulator;
|
|
3820
3825
|
return tmp$ret$4;
|
|
3821
3826
|
};
|
|
3822
|
-
combineReducers$1.prototype.
|
|
3823
|
-
return this.
|
|
3827
|
+
combineReducers$1.prototype.e2r = function (state, action) {
|
|
3828
|
+
return this.r2r((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
3824
3829
|
};
|
|
3825
3830
|
combineReducers$1.$metadata$ = classMeta(undefined, [Reducer]);
|
|
3826
3831
|
function Store() {
|
|
@@ -3834,7 +3839,7 @@
|
|
|
3834
3839
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
3835
3840
|
configurable: true,
|
|
3836
3841
|
get: function () {
|
|
3837
|
-
return this.
|
|
3842
|
+
return this.m2r();
|
|
3838
3843
|
}
|
|
3839
3844
|
});
|
|
3840
3845
|
var INIT_instance;
|
|
@@ -3851,7 +3856,7 @@
|
|
|
3851
3856
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
3852
3857
|
configurable: true,
|
|
3853
3858
|
get: function () {
|
|
3854
|
-
return this.
|
|
3859
|
+
return this.m2r();
|
|
3855
3860
|
}
|
|
3856
3861
|
});
|
|
3857
3862
|
var REPLACE_instance;
|
|
@@ -3866,7 +3871,7 @@
|
|
|
3866
3871
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
3867
3872
|
configurable: true,
|
|
3868
3873
|
get: function () {
|
|
3869
|
-
return this.
|
|
3874
|
+
return this.m2r();
|
|
3870
3875
|
}
|
|
3871
3876
|
});
|
|
3872
3877
|
function BufferedAction() {
|
|
@@ -3883,16 +3888,16 @@
|
|
|
3883
3888
|
TimerTag.$metadata$ = interfaceMeta('TimerTag');
|
|
3884
3889
|
function StopTimerAction(timerTag) {
|
|
3885
3890
|
TimerAction.call(this);
|
|
3886
|
-
this.
|
|
3891
|
+
this.t2r_1 = timerTag;
|
|
3887
3892
|
}
|
|
3888
|
-
StopTimerAction.prototype.
|
|
3889
|
-
return this.
|
|
3893
|
+
StopTimerAction.prototype.u2r = function () {
|
|
3894
|
+
return this.t2r_1;
|
|
3890
3895
|
};
|
|
3891
3896
|
StopTimerAction.prototype.toString = function () {
|
|
3892
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
3897
|
+
return 'StopTimerAction(timerTag=' + this.t2r_1 + ')';
|
|
3893
3898
|
};
|
|
3894
3899
|
StopTimerAction.prototype.hashCode = function () {
|
|
3895
|
-
return hashCode(this.
|
|
3900
|
+
return hashCode(this.t2r_1);
|
|
3896
3901
|
};
|
|
3897
3902
|
StopTimerAction.prototype.equals = function (other) {
|
|
3898
3903
|
if (this === other)
|
|
@@ -3900,7 +3905,7 @@
|
|
|
3900
3905
|
if (!(other instanceof StopTimerAction))
|
|
3901
3906
|
return false;
|
|
3902
3907
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
3903
|
-
if (!equals(this.
|
|
3908
|
+
if (!equals(this.t2r_1, tmp0_other_with_cast.t2r_1))
|
|
3904
3909
|
return false;
|
|
3905
3910
|
return true;
|
|
3906
3911
|
};
|
|
@@ -3908,7 +3913,7 @@
|
|
|
3908
3913
|
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
3909
3914
|
configurable: true,
|
|
3910
3915
|
get: function () {
|
|
3911
|
-
return this.
|
|
3916
|
+
return this.m2r();
|
|
3912
3917
|
}
|
|
3913
3918
|
});
|
|
3914
3919
|
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
@@ -3924,31 +3929,31 @@
|
|
|
3924
3929
|
}
|
|
3925
3930
|
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
3926
3931
|
TimerAction.call(this);
|
|
3927
|
-
this.
|
|
3928
|
-
this.
|
|
3929
|
-
this.
|
|
3930
|
-
this.
|
|
3932
|
+
this.v2r_1 = timerTag;
|
|
3933
|
+
this.w2r_1 = delayMillis;
|
|
3934
|
+
this.x2r_1 = initialDelay;
|
|
3935
|
+
this.y2r_1 = type;
|
|
3931
3936
|
}
|
|
3932
|
-
StartTimerAction.prototype.
|
|
3933
|
-
return this.u2r_1;
|
|
3934
|
-
};
|
|
3935
|
-
StartTimerAction.prototype.y2r = function () {
|
|
3937
|
+
StartTimerAction.prototype.u2r = function () {
|
|
3936
3938
|
return this.v2r_1;
|
|
3937
3939
|
};
|
|
3938
3940
|
StartTimerAction.prototype.z2r = function () {
|
|
3939
3941
|
return this.w2r_1;
|
|
3940
3942
|
};
|
|
3941
|
-
StartTimerAction.prototype.
|
|
3943
|
+
StartTimerAction.prototype.a2s = function () {
|
|
3942
3944
|
return this.x2r_1;
|
|
3943
3945
|
};
|
|
3946
|
+
StartTimerAction.prototype.f7 = function () {
|
|
3947
|
+
return this.y2r_1;
|
|
3948
|
+
};
|
|
3944
3949
|
StartTimerAction.prototype.toString = function () {
|
|
3945
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
3950
|
+
return 'StartTimerAction(timerTag=' + this.v2r_1 + ', delayMillis=' + toString_0(this.w2r_1) + ', initialDelay=' + toString_0(this.x2r_1) + ', type=' + this.y2r_1 + ')';
|
|
3946
3951
|
};
|
|
3947
3952
|
StartTimerAction.prototype.hashCode = function () {
|
|
3948
|
-
var result = hashCode(this.
|
|
3949
|
-
result = imul(result, 31) + this.v2r_1.hashCode() | 0;
|
|
3953
|
+
var result = hashCode(this.v2r_1);
|
|
3950
3954
|
result = imul(result, 31) + this.w2r_1.hashCode() | 0;
|
|
3951
3955
|
result = imul(result, 31) + this.x2r_1.hashCode() | 0;
|
|
3956
|
+
result = imul(result, 31) + this.y2r_1.hashCode() | 0;
|
|
3952
3957
|
return result;
|
|
3953
3958
|
};
|
|
3954
3959
|
StartTimerAction.prototype.equals = function (other) {
|
|
@@ -3957,21 +3962,21 @@
|
|
|
3957
3962
|
if (!(other instanceof StartTimerAction))
|
|
3958
3963
|
return false;
|
|
3959
3964
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
3960
|
-
if (!equals(this.
|
|
3961
|
-
return false;
|
|
3962
|
-
if (!this.v2r_1.equals(tmp0_other_with_cast.v2r_1))
|
|
3965
|
+
if (!equals(this.v2r_1, tmp0_other_with_cast.v2r_1))
|
|
3963
3966
|
return false;
|
|
3964
3967
|
if (!this.w2r_1.equals(tmp0_other_with_cast.w2r_1))
|
|
3965
3968
|
return false;
|
|
3966
3969
|
if (!this.x2r_1.equals(tmp0_other_with_cast.x2r_1))
|
|
3967
3970
|
return false;
|
|
3971
|
+
if (!this.y2r_1.equals(tmp0_other_with_cast.y2r_1))
|
|
3972
|
+
return false;
|
|
3968
3973
|
return true;
|
|
3969
3974
|
};
|
|
3970
3975
|
StartTimerAction.$metadata$ = classMeta('StartTimerAction', undefined, undefined, undefined, undefined, TimerAction.prototype);
|
|
3971
3976
|
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
3972
3977
|
configurable: true,
|
|
3973
3978
|
get: function () {
|
|
3974
|
-
return this.
|
|
3979
|
+
return this.m2r();
|
|
3975
3980
|
}
|
|
3976
3981
|
});
|
|
3977
3982
|
var TimerType_DELAY_instance;
|
|
@@ -3990,21 +3995,21 @@
|
|
|
3990
3995
|
TimerType.$metadata$ = classMeta('TimerType', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
3991
3996
|
function TimerTickAction(timerTag, type) {
|
|
3992
3997
|
TimerAction.call(this);
|
|
3993
|
-
this.
|
|
3994
|
-
this.
|
|
3998
|
+
this.b2s_1 = timerTag;
|
|
3999
|
+
this.c2s_1 = type;
|
|
3995
4000
|
}
|
|
3996
|
-
TimerTickAction.prototype.
|
|
3997
|
-
return this.
|
|
4001
|
+
TimerTickAction.prototype.u2r = function () {
|
|
4002
|
+
return this.b2s_1;
|
|
3998
4003
|
};
|
|
3999
4004
|
TimerTickAction.prototype.f7 = function () {
|
|
4000
|
-
return this.
|
|
4005
|
+
return this.c2s_1;
|
|
4001
4006
|
};
|
|
4002
4007
|
TimerTickAction.prototype.toString = function () {
|
|
4003
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4008
|
+
return 'TimerTickAction(timerTag=' + this.b2s_1 + ', type=' + this.c2s_1 + ')';
|
|
4004
4009
|
};
|
|
4005
4010
|
TimerTickAction.prototype.hashCode = function () {
|
|
4006
|
-
var result = hashCode(this.
|
|
4007
|
-
result = imul(result, 31) + this.
|
|
4011
|
+
var result = hashCode(this.b2s_1);
|
|
4012
|
+
result = imul(result, 31) + this.c2s_1.hashCode() | 0;
|
|
4008
4013
|
return result;
|
|
4009
4014
|
};
|
|
4010
4015
|
TimerTickAction.prototype.equals = function (other) {
|
|
@@ -4013,9 +4018,9 @@
|
|
|
4013
4018
|
if (!(other instanceof TimerTickAction))
|
|
4014
4019
|
return false;
|
|
4015
4020
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4016
|
-
if (!equals(this.
|
|
4021
|
+
if (!equals(this.b2s_1, tmp0_other_with_cast.b2s_1))
|
|
4017
4022
|
return false;
|
|
4018
|
-
if (!this.
|
|
4023
|
+
if (!this.c2s_1.equals(tmp0_other_with_cast.c2s_1))
|
|
4019
4024
|
return false;
|
|
4020
4025
|
return true;
|
|
4021
4026
|
};
|
|
@@ -4023,7 +4028,7 @@
|
|
|
4023
4028
|
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4024
4029
|
configurable: true,
|
|
4025
4030
|
get: function () {
|
|
4026
|
-
return this.
|
|
4031
|
+
return this.m2r();
|
|
4027
4032
|
}
|
|
4028
4033
|
});
|
|
4029
4034
|
function TimerAction() {
|
|
@@ -4032,7 +4037,7 @@
|
|
|
4032
4037
|
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4033
4038
|
configurable: true,
|
|
4034
4039
|
get: function () {
|
|
4035
|
-
return this.
|
|
4040
|
+
return this.m2r();
|
|
4036
4041
|
}
|
|
4037
4042
|
});
|
|
4038
4043
|
function TimerType_DELAY_getInstance() {
|
|
@@ -4060,7 +4065,7 @@
|
|
|
4060
4065
|
} catch ($p) {
|
|
4061
4066
|
var tmp_0;
|
|
4062
4067
|
if ($p instanceof Exception) {
|
|
4063
|
-
$logger.
|
|
4068
|
+
$logger.m2q('StoreEnhancer', 'StoreEnhancer error: ' + $p, $p);
|
|
4064
4069
|
tmp_0 = Unit_getInstance();
|
|
4065
4070
|
} else {
|
|
4066
4071
|
throw $p;
|
|
@@ -4088,7 +4093,7 @@
|
|
|
4088
4093
|
}
|
|
4089
4094
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
4090
4095
|
return function (action) {
|
|
4091
|
-
$tmp0__anonymous__1nv1x1.
|
|
4096
|
+
$tmp0__anonymous__1nv1x1.o2r($store, $tmp1__anonymous__6ijp4k, action);
|
|
4092
4097
|
return Unit_getInstance();
|
|
4093
4098
|
};
|
|
4094
4099
|
}
|
|
@@ -4107,7 +4112,7 @@
|
|
|
4107
4112
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4108
4113
|
var tmp$ret$0;
|
|
4109
4114
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4110
|
-
tmp$ret$0 = element.
|
|
4115
|
+
tmp$ret$0 = element.n2r(action);
|
|
4111
4116
|
if (tmp$ret$0) {
|
|
4112
4117
|
tmp0_filterTo.a(element);
|
|
4113
4118
|
}
|
|
@@ -4155,9 +4160,9 @@
|
|
|
4155
4160
|
return tmp$ret$0;
|
|
4156
4161
|
}
|
|
4157
4162
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4158
|
-
this.
|
|
4159
|
-
this.
|
|
4160
|
-
this.
|
|
4163
|
+
this.l2s_1 = $jobsProvider;
|
|
4164
|
+
this.m2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4165
|
+
this.n2s_1 = $store;
|
|
4161
4166
|
CoroutineImpl.call(this, resultContinuation);
|
|
4162
4167
|
}
|
|
4163
4168
|
timerMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -4176,8 +4181,8 @@
|
|
|
4176
4181
|
var tmp = this.mj_1;
|
|
4177
4182
|
if (tmp === 0) {
|
|
4178
4183
|
this.nj_1 = 1;
|
|
4179
|
-
if (this.
|
|
4180
|
-
this.
|
|
4184
|
+
if (this.l2s_1.a2r(this.m2s_1.u2r())) {
|
|
4185
|
+
this.n2s_1.dispatch(new TimerTickAction(this.m2s_1.u2r(), TimerType_DELAY_getInstance()));
|
|
4181
4186
|
}
|
|
4182
4187
|
return Unit_getInstance();
|
|
4183
4188
|
} else if (tmp === 1) {
|
|
@@ -4189,8 +4194,8 @@
|
|
|
4189
4194
|
while (true);
|
|
4190
4195
|
};
|
|
4191
4196
|
timerMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
4192
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4193
|
-
i.
|
|
4197
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.l2s_1, this.m2s_1, this.n2s_1, completion);
|
|
4198
|
+
i.o2s_1 = $this$launchStore;
|
|
4194
4199
|
return i;
|
|
4195
4200
|
};
|
|
4196
4201
|
timerMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4203,9 +4208,9 @@
|
|
|
4203
4208
|
return l;
|
|
4204
4209
|
}
|
|
4205
4210
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4206
|
-
this.
|
|
4207
|
-
this.
|
|
4208
|
-
this.
|
|
4211
|
+
this.x2s_1 = $jobsProvider;
|
|
4212
|
+
this.y2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4213
|
+
this.z2s_1 = $store;
|
|
4209
4214
|
CoroutineImpl.call(this, resultContinuation);
|
|
4210
4215
|
}
|
|
4211
4216
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -4224,8 +4229,8 @@
|
|
|
4224
4229
|
var tmp = this.mj_1;
|
|
4225
4230
|
if (tmp === 0) {
|
|
4226
4231
|
this.nj_1 = 1;
|
|
4227
|
-
if (this.
|
|
4228
|
-
this.
|
|
4232
|
+
if (this.x2s_1.a2r(this.y2s_1.u2r())) {
|
|
4233
|
+
this.z2s_1.dispatch(new TimerTickAction(this.y2s_1.u2r(), TimerType_INTERVAL_getInstance()));
|
|
4229
4234
|
}
|
|
4230
4235
|
return Unit_getInstance();
|
|
4231
4236
|
} else if (tmp === 1) {
|
|
@@ -4237,8 +4242,8 @@
|
|
|
4237
4242
|
while (true);
|
|
4238
4243
|
};
|
|
4239
4244
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.k16 = function ($this$launchStore, completion) {
|
|
4240
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4241
|
-
i.
|
|
4245
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.x2s_1, this.y2s_1, this.z2s_1, completion);
|
|
4246
|
+
i.a2t_1 = $this$launchStore;
|
|
4242
4247
|
return i;
|
|
4243
4248
|
};
|
|
4244
4249
|
timerMiddleware$o$handle$slambda$slambda_1.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4251,10 +4256,10 @@
|
|
|
4251
4256
|
return l;
|
|
4252
4257
|
}
|
|
4253
4258
|
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4254
|
-
this.
|
|
4255
|
-
this.
|
|
4256
|
-
this.
|
|
4257
|
-
this.
|
|
4259
|
+
this.j2t_1 = $tmp0__anonymous__1nv1x1;
|
|
4260
|
+
this.k2t_1 = $asyncProvider;
|
|
4261
|
+
this.l2t_1 = $jobsProvider;
|
|
4262
|
+
this.m2t_1 = $store;
|
|
4258
4263
|
CoroutineImpl.call(this, resultContinuation);
|
|
4259
4264
|
}
|
|
4260
4265
|
timerMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -4274,9 +4279,9 @@
|
|
|
4274
4279
|
switch (tmp) {
|
|
4275
4280
|
case 0:
|
|
4276
4281
|
this.nj_1 = 10;
|
|
4277
|
-
if (!this.
|
|
4282
|
+
if (!this.j2t_1.x2r_1.equals(new Long(0, 0)) ? this.j2t_1.y2r_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4278
4283
|
this.mj_1 = 1;
|
|
4279
|
-
suspendResult = delay(this.
|
|
4284
|
+
suspendResult = delay(this.j2t_1.x2r_1, this);
|
|
4280
4285
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4281
4286
|
return suspendResult;
|
|
4282
4287
|
}
|
|
@@ -4291,20 +4296,20 @@
|
|
|
4291
4296
|
this.mj_1 = 2;
|
|
4292
4297
|
continue $sm;
|
|
4293
4298
|
case 2:
|
|
4294
|
-
this.
|
|
4295
|
-
this.
|
|
4296
|
-
if (this.
|
|
4299
|
+
this.o2t_1 = this.j2t_1.y2r_1;
|
|
4300
|
+
this.p2t_1 = this.o2t_1.e5_1;
|
|
4301
|
+
if (this.p2t_1 === 0) {
|
|
4297
4302
|
this.mj_1 = 8;
|
|
4298
|
-
suspendResult = delay(this.
|
|
4303
|
+
suspendResult = delay(this.j2t_1.w2r_1, this);
|
|
4299
4304
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4300
4305
|
return suspendResult;
|
|
4301
4306
|
}
|
|
4302
4307
|
continue $sm;
|
|
4303
4308
|
} else {
|
|
4304
|
-
if (this.
|
|
4305
|
-
if (!this.
|
|
4309
|
+
if (this.p2t_1 === 1) {
|
|
4310
|
+
if (!this.j2t_1.x2r_1.equals(new Long(0, 0))) {
|
|
4306
4311
|
this.mj_1 = 3;
|
|
4307
|
-
suspendResult = delay(this.
|
|
4312
|
+
suspendResult = delay(this.j2t_1.x2r_1, this);
|
|
4308
4313
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4309
4314
|
return suspendResult;
|
|
4310
4315
|
}
|
|
@@ -4327,15 +4332,15 @@
|
|
|
4327
4332
|
this.mj_1 = 5;
|
|
4328
4333
|
continue $sm;
|
|
4329
4334
|
case 5:
|
|
4330
|
-
if (!get_isActive(this.
|
|
4335
|
+
if (!get_isActive(this.n2t_1)) {
|
|
4331
4336
|
this.mj_1 = 7;
|
|
4332
4337
|
continue $sm;
|
|
4333
4338
|
}
|
|
4334
4339
|
|
|
4335
|
-
this.
|
|
4340
|
+
this.k2t_1.t2q(null, timerMiddleware$o$handle$slambda$slambda_2(this.l2t_1, this.j2t_1, this.m2t_1, null), 1, null);
|
|
4336
4341
|
;
|
|
4337
4342
|
this.mj_1 = 6;
|
|
4338
|
-
suspendResult = delay(this.
|
|
4343
|
+
suspendResult = delay(this.j2t_1.x2r_1, this);
|
|
4339
4344
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4340
4345
|
return suspendResult;
|
|
4341
4346
|
}
|
|
@@ -4348,7 +4353,7 @@
|
|
|
4348
4353
|
this.mj_1 = 9;
|
|
4349
4354
|
continue $sm;
|
|
4350
4355
|
case 8:
|
|
4351
|
-
this.
|
|
4356
|
+
this.k2t_1.t2q(null, timerMiddleware$o$handle$slambda$slambda_0(this.l2t_1, this.j2t_1, this.m2t_1, null), 1, null);
|
|
4352
4357
|
;
|
|
4353
4358
|
this.mj_1 = 9;
|
|
4354
4359
|
continue $sm;
|
|
@@ -4368,8 +4373,8 @@
|
|
|
4368
4373
|
while (true);
|
|
4369
4374
|
};
|
|
4370
4375
|
timerMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
4371
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
4372
|
-
i.
|
|
4376
|
+
var i = new timerMiddleware$o$handle$slambda(this.j2t_1, this.k2t_1, this.l2t_1, this.m2t_1, completion);
|
|
4377
|
+
i.n2t_1 = $this$launchWorker;
|
|
4373
4378
|
return i;
|
|
4374
4379
|
};
|
|
4375
4380
|
timerMiddleware$o$handle$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4382,34 +4387,34 @@
|
|
|
4382
4387
|
return l;
|
|
4383
4388
|
}
|
|
4384
4389
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4385
|
-
this.
|
|
4386
|
-
this.
|
|
4390
|
+
this.q2t_1 = $asyncProvider;
|
|
4391
|
+
this.r2t_1 = $jobsProvider;
|
|
4387
4392
|
}
|
|
4388
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4393
|
+
_no_name_provided__qut3iv_0.prototype.n2r = function (action) {
|
|
4389
4394
|
return action instanceof TimerAction;
|
|
4390
4395
|
};
|
|
4391
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4396
|
+
_no_name_provided__qut3iv_0.prototype.s2t = function (store, next, action) {
|
|
4392
4397
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4393
4398
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4394
4399
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4395
4400
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
4396
|
-
var job = this.
|
|
4397
|
-
this.
|
|
4401
|
+
var job = this.q2t_1.v2q(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.q2t_1, this.r2t_1, store, null), 1, null);
|
|
4402
|
+
this.r2t_1.y2q(tmp0__anonymous__q1qw7t.u2r(), job);
|
|
4398
4403
|
} else {
|
|
4399
4404
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
4400
|
-
this.
|
|
4405
|
+
this.r2t_1.d2r(tmp0__anonymous__q1qw7t.u2r());
|
|
4401
4406
|
} else {
|
|
4402
4407
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
4403
|
-
if (tmp0__anonymous__q1qw7t.
|
|
4404
|
-
this.
|
|
4408
|
+
if (tmp0__anonymous__q1qw7t.c2s_1.equals(TimerType_DELAY_getInstance())) {
|
|
4409
|
+
this.r2t_1.b2r(tmp0__anonymous__q1qw7t.u2r());
|
|
4405
4410
|
}
|
|
4406
4411
|
}
|
|
4407
4412
|
}
|
|
4408
4413
|
}
|
|
4409
4414
|
next(tmp0__anonymous__q1qw7t);
|
|
4410
4415
|
};
|
|
4411
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4412
|
-
return this.
|
|
4416
|
+
_no_name_provided__qut3iv_0.prototype.o2r = function (store, next, action) {
|
|
4417
|
+
return this.s2t(store, next, action);
|
|
4413
4418
|
};
|
|
4414
4419
|
_no_name_provided__qut3iv_0.$metadata$ = classMeta(undefined, [Middleware]);
|
|
4415
4420
|
function enumToString(_this__u8e3s4, mapping) {
|
|
@@ -4593,24 +4598,24 @@
|
|
|
4593
4598
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
4594
4599
|
}
|
|
4595
4600
|
function generateTag($this, tag) {
|
|
4596
|
-
return (!($this.
|
|
4601
|
+
return (!($this.z2t_1 == null) ? !(tag == null) : false) ? '' + $this.z2t_1 + ':' + tag : tag;
|
|
4597
4602
|
}
|
|
4598
4603
|
function Category(name, ordinal, isEnabled) {
|
|
4599
4604
|
Enum.call(this, name, ordinal);
|
|
4600
|
-
this.
|
|
4605
|
+
this.c2u_1 = isEnabled;
|
|
4601
4606
|
}
|
|
4602
4607
|
Category.$metadata$ = classMeta('Category', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
4603
4608
|
function Logger$loggerSource$1() {
|
|
4604
|
-
this.
|
|
4609
|
+
this.d2u_1 = new PlatformLogger();
|
|
4605
4610
|
}
|
|
4606
|
-
Logger$loggerSource$1.prototype.
|
|
4607
|
-
this.
|
|
4611
|
+
Logger$loggerSource$1.prototype.e2u = function (tag, msg) {
|
|
4612
|
+
this.d2u_1.e2u(tag, msg);
|
|
4608
4613
|
};
|
|
4609
|
-
Logger$loggerSource$1.prototype.
|
|
4610
|
-
this.
|
|
4614
|
+
Logger$loggerSource$1.prototype.f2u = function (tag, msg, exception) {
|
|
4615
|
+
this.d2u_1.f2u(tag, msg, exception);
|
|
4611
4616
|
};
|
|
4612
|
-
Logger$loggerSource$1.prototype.
|
|
4613
|
-
this.
|
|
4617
|
+
Logger$loggerSource$1.prototype.g2u = function (tag, msg) {
|
|
4618
|
+
this.d2u_1.g2u(tag, msg);
|
|
4614
4619
|
};
|
|
4615
4620
|
Logger$loggerSource$1.$metadata$ = classMeta(undefined, [LoggerSource]);
|
|
4616
4621
|
function Category_NONE_getInstance() {
|
|
@@ -4620,42 +4625,42 @@
|
|
|
4620
4625
|
function Logger() {
|
|
4621
4626
|
Logger_instance = this;
|
|
4622
4627
|
var tmp = this;
|
|
4623
|
-
tmp.
|
|
4624
|
-
this.
|
|
4625
|
-
this.
|
|
4628
|
+
tmp.x2t_1 = new Logger$loggerSource$1();
|
|
4629
|
+
this.y2t_1 = true;
|
|
4630
|
+
this.z2t_1 = null;
|
|
4626
4631
|
}
|
|
4627
|
-
Logger.prototype.
|
|
4628
|
-
this.
|
|
4632
|
+
Logger.prototype.t2t = function (tag, message) {
|
|
4633
|
+
this.h2u(tag, message, Category_NONE_getInstance());
|
|
4629
4634
|
};
|
|
4630
|
-
Logger.prototype.
|
|
4631
|
-
if (this.
|
|
4632
|
-
this.
|
|
4635
|
+
Logger.prototype.i2u = function (tag, message, category) {
|
|
4636
|
+
if (this.y2t_1 ? category.c2u_1 : false) {
|
|
4637
|
+
this.x2t_1.g2u(generateTag(this, tag), message);
|
|
4633
4638
|
}
|
|
4634
4639
|
};
|
|
4635
|
-
Logger.prototype.
|
|
4640
|
+
Logger.prototype.j2u = function (tag, message, category, $mask0, $handler) {
|
|
4636
4641
|
if (!(($mask0 & 1) === 0))
|
|
4637
4642
|
tag = null;
|
|
4638
4643
|
if (!(($mask0 & 4) === 0))
|
|
4639
4644
|
category = Category_NONE_getInstance();
|
|
4640
|
-
return this.
|
|
4645
|
+
return this.i2u(tag, message, category);
|
|
4641
4646
|
};
|
|
4642
|
-
Logger.prototype.
|
|
4643
|
-
if (this.
|
|
4644
|
-
this.
|
|
4647
|
+
Logger.prototype.h2u = function (tag, message, category) {
|
|
4648
|
+
if (this.y2t_1 ? category.c2u_1 : false) {
|
|
4649
|
+
this.x2t_1.e2u(generateTag(this, tag), message);
|
|
4645
4650
|
}
|
|
4646
4651
|
};
|
|
4647
|
-
Logger.prototype.
|
|
4648
|
-
if (this.
|
|
4652
|
+
Logger.prototype.k2u = function (tag, message, exception, category) {
|
|
4653
|
+
if (this.y2t_1 ? category.c2u_1 : false) {
|
|
4649
4654
|
var tmp0_safe_receiver = exception;
|
|
4650
4655
|
if (tmp0_safe_receiver == null)
|
|
4651
4656
|
null;
|
|
4652
4657
|
else {
|
|
4653
4658
|
printStackTrace(tmp0_safe_receiver);
|
|
4654
4659
|
}
|
|
4655
|
-
this.
|
|
4660
|
+
this.x2t_1.f2u(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
4656
4661
|
}
|
|
4657
4662
|
};
|
|
4658
|
-
Logger.prototype.
|
|
4663
|
+
Logger.prototype.l2u = function (tag, message, exception, category, $mask0, $handler) {
|
|
4659
4664
|
if (!(($mask0 & 1) === 0))
|
|
4660
4665
|
tag = null;
|
|
4661
4666
|
if (!(($mask0 & 2) === 0))
|
|
@@ -4664,7 +4669,7 @@
|
|
|
4664
4669
|
exception = null;
|
|
4665
4670
|
if (!(($mask0 & 8) === 0))
|
|
4666
4671
|
category = Category_NONE_getInstance();
|
|
4667
|
-
return this.
|
|
4672
|
+
return this.k2u(tag, message, exception, category);
|
|
4668
4673
|
};
|
|
4669
4674
|
Logger.$metadata$ = objectMeta('Logger');
|
|
4670
4675
|
var Logger_instance;
|
|
@@ -4704,36 +4709,36 @@
|
|
|
4704
4709
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4705
4710
|
}
|
|
4706
4711
|
function CombinedGameLogger(logOutputs) {
|
|
4707
|
-
this.
|
|
4712
|
+
this.m2u_1 = logOutputs;
|
|
4708
4713
|
}
|
|
4709
|
-
CombinedGameLogger.prototype.
|
|
4714
|
+
CombinedGameLogger.prototype.t2t = function (tag, message) {
|
|
4710
4715
|
// Inline function 'kotlin.collections.forEach' call
|
|
4711
|
-
var tmp0_forEach = this.
|
|
4716
|
+
var tmp0_forEach = this.m2u_1;
|
|
4712
4717
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4713
4718
|
while (tmp0_iterator.g()) {
|
|
4714
4719
|
var element = tmp0_iterator.h();
|
|
4715
4720
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
4716
|
-
element.
|
|
4721
|
+
element.t2t(tag, message);
|
|
4717
4722
|
}
|
|
4718
4723
|
};
|
|
4719
|
-
CombinedGameLogger.prototype.
|
|
4724
|
+
CombinedGameLogger.prototype.m2q = function (tag, message, exception) {
|
|
4720
4725
|
// Inline function 'kotlin.collections.forEach' call
|
|
4721
|
-
var tmp0_forEach = this.
|
|
4726
|
+
var tmp0_forEach = this.m2u_1;
|
|
4722
4727
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4723
4728
|
while (tmp0_iterator.g()) {
|
|
4724
4729
|
var element = tmp0_iterator.h();
|
|
4725
4730
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4726
|
-
element.
|
|
4731
|
+
element.m2q(tag, message, exception);
|
|
4727
4732
|
}
|
|
4728
4733
|
};
|
|
4729
|
-
CombinedGameLogger.prototype.
|
|
4734
|
+
CombinedGameLogger.prototype.w2t = function (tag, message) {
|
|
4730
4735
|
// Inline function 'kotlin.collections.forEach' call
|
|
4731
|
-
var tmp0_forEach = this.
|
|
4736
|
+
var tmp0_forEach = this.m2u_1;
|
|
4732
4737
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4733
4738
|
while (tmp0_iterator.g()) {
|
|
4734
4739
|
var element = tmp0_iterator.h();
|
|
4735
4740
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4736
|
-
element.
|
|
4741
|
+
element.w2t(tag, message);
|
|
4737
4742
|
}
|
|
4738
4743
|
};
|
|
4739
4744
|
CombinedGameLogger.$metadata$ = classMeta('CombinedGameLogger', [GameLogger]);
|
|
@@ -4746,16 +4751,16 @@
|
|
|
4746
4751
|
function PlatformGameLogger() {
|
|
4747
4752
|
PlatformGameLogger_instance = this;
|
|
4748
4753
|
}
|
|
4749
|
-
PlatformGameLogger.prototype.
|
|
4750
|
-
Logger_getInstance().
|
|
4754
|
+
PlatformGameLogger.prototype.t2t = function (tag, message) {
|
|
4755
|
+
Logger_getInstance().t2t(tag, message);
|
|
4751
4756
|
};
|
|
4752
|
-
PlatformGameLogger.prototype.
|
|
4757
|
+
PlatformGameLogger.prototype.m2q = function (tag, message, exception) {
|
|
4753
4758
|
var tmp = Logger_getInstance();
|
|
4754
|
-
tmp.
|
|
4759
|
+
tmp.l2u(tag, message, exception, null, 8, null);
|
|
4755
4760
|
};
|
|
4756
|
-
PlatformGameLogger.prototype.
|
|
4761
|
+
PlatformGameLogger.prototype.w2t = function (tag, message) {
|
|
4757
4762
|
var tmp = Logger_getInstance();
|
|
4758
|
-
tmp.
|
|
4763
|
+
tmp.j2u(tag, message, null, 4, null);
|
|
4759
4764
|
};
|
|
4760
4765
|
PlatformGameLogger.$metadata$ = objectMeta('PlatformGameLogger', [GameLogger]);
|
|
4761
4766
|
var PlatformGameLogger_instance;
|
|
@@ -4766,17 +4771,17 @@
|
|
|
4766
4771
|
}
|
|
4767
4772
|
function PlatformLogger() {
|
|
4768
4773
|
}
|
|
4769
|
-
PlatformLogger.prototype.
|
|
4774
|
+
PlatformLogger.prototype.e2u = function (tag, msg) {
|
|
4770
4775
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
4771
4776
|
};
|
|
4772
|
-
PlatformLogger.prototype.
|
|
4777
|
+
PlatformLogger.prototype.f2u = function (tag, msg, exception) {
|
|
4773
4778
|
if (!(exception == null)) {
|
|
4774
4779
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
4775
4780
|
} else {
|
|
4776
4781
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
4777
4782
|
}
|
|
4778
4783
|
};
|
|
4779
|
-
PlatformLogger.prototype.
|
|
4784
|
+
PlatformLogger.prototype.g2u = function (tag, msg) {
|
|
4780
4785
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
4781
4786
|
};
|
|
4782
4787
|
PlatformLogger.$metadata$ = classMeta('PlatformLogger');
|
|
@@ -4793,25 +4798,25 @@
|
|
|
4793
4798
|
_no_name_provided__qut3iv.prototype.x4 = fold;
|
|
4794
4799
|
_no_name_provided__qut3iv.prototype.w4 = minusKey;
|
|
4795
4800
|
_no_name_provided__qut3iv.prototype.y4 = plus;
|
|
4796
|
-
AsyncProviderImpl.prototype.
|
|
4797
|
-
AsyncProviderImpl.prototype.
|
|
4798
|
-
middleware$1.prototype.
|
|
4799
|
-
combineReducers$1.prototype.
|
|
4800
|
-
StoreLifecycleAction.prototype.
|
|
4801
|
-
INIT.prototype.
|
|
4802
|
-
REPLACE.prototype.
|
|
4803
|
-
TimerAction.prototype.
|
|
4804
|
-
StopTimerAction.prototype.
|
|
4801
|
+
AsyncProviderImpl.prototype.t2q = launchStore$default;
|
|
4802
|
+
AsyncProviderImpl.prototype.v2q = launchWorker$default;
|
|
4803
|
+
middleware$1.prototype.n2r = canHandle;
|
|
4804
|
+
combineReducers$1.prototype.n2r = canHandle_0;
|
|
4805
|
+
StoreLifecycleAction.prototype.m2r = get_actionTag;
|
|
4806
|
+
INIT.prototype.m2r = get_actionTag;
|
|
4807
|
+
REPLACE.prototype.m2r = get_actionTag;
|
|
4808
|
+
TimerAction.prototype.m2r = get_actionTag;
|
|
4809
|
+
StopTimerAction.prototype.m2r = get_actionTag;
|
|
4805
4810
|
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
4806
4811
|
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
4807
|
-
StartTimerAction.prototype.
|
|
4808
|
-
TimerTickAction.prototype.
|
|
4809
|
-
CombinedGameLogger.prototype.
|
|
4810
|
-
CombinedGameLogger.prototype.
|
|
4811
|
-
CombinedGameLogger.prototype.
|
|
4812
|
-
PlatformGameLogger.prototype.
|
|
4813
|
-
PlatformGameLogger.prototype.
|
|
4814
|
-
PlatformGameLogger.prototype.
|
|
4812
|
+
StartTimerAction.prototype.m2r = get_actionTag;
|
|
4813
|
+
TimerTickAction.prototype.m2r = get_actionTag;
|
|
4814
|
+
CombinedGameLogger.prototype.u2t = d$default;
|
|
4815
|
+
CombinedGameLogger.prototype.v2t = e$default;
|
|
4816
|
+
CombinedGameLogger.prototype.z2q = w$default;
|
|
4817
|
+
PlatformGameLogger.prototype.u2t = d$default;
|
|
4818
|
+
PlatformGameLogger.prototype.v2t = e$default;
|
|
4819
|
+
PlatformGameLogger.prototype.z2q = w$default;
|
|
4815
4820
|
//endregion
|
|
4816
4821
|
//region block: exports
|
|
4817
4822
|
function $jsExportAll$(_) {
|