client_plugin_logic_deb 1.8.211 → 1.8.225
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/Kosi-Kaverit-kaverit.js +77 -77
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +610 -610
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1571 -1516
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-client_plugin.d.ts +9 -0
- package/Logic_Debertz-client_plugin.js +5510 -4541
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +2267 -2079
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +16978 -16638
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +11886 -10707
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1099 -1053
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3189 -2364
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +3 -3
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
- package/kotlinx-atomicfu.js +66 -66
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +4170 -4064
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +3 -3
- package/kotlinx-io-kotlinx-io-core.js +277 -277
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2297 -2210
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +2069 -1725
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-protobuf.js +3 -3
- package/ktor-ktor-client-content-negotiation.js +220 -220
- package/ktor-ktor-client-core.js +2532 -2504
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-js.js +3 -3
- package/ktor-ktor-client-logging.js +573 -549
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +16 -16
- package/ktor-ktor-http.js +748 -726
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +1639 -1642
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +14 -14
- package/ktor-ktor-serialization-kotlinx.js +314 -269
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +153 -128
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +702 -702
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websocket-serialization.js +3 -3
- package/ktor-ktor-websockets.js +61 -61
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +270 -241
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +104 -104
- package/raspberry-cardgame-lib-random.js +984 -984
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +21 -21
- package/secure-random-secure-random.js.map +1 -1
- package/uuid.js +30 -30
- package/uuid.js.map +1 -1
|
@@ -1,68 +1,71 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './raspberry-cardgame-lib-random.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./raspberry-cardgame-lib-random.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof
|
|
7
|
+
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'raspberry-cardgame-lib-core'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'raspberry-cardgame-lib-core'.");
|
|
9
9
|
}
|
|
10
|
-
if (typeof
|
|
10
|
+
if (typeof globalThis['kotlinx-serialization-kotlinx-serialization-core'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module 'raspberry-cardgame-lib-core'. Its dependency 'kotlinx-serialization-kotlinx-serialization-core' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-core' is loaded prior to 'raspberry-cardgame-lib-core'.");
|
|
12
12
|
}
|
|
13
|
-
if (typeof
|
|
13
|
+
if (typeof globalThis['raspberry-cardgame-lib-random'] === 'undefined') {
|
|
14
14
|
throw new Error("Error loading module 'raspberry-cardgame-lib-core'. Its dependency 'raspberry-cardgame-lib-random' was not found. Please, check whether 'raspberry-cardgame-lib-random' is loaded prior to 'raspberry-cardgame-lib-core'.");
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
globalThis['raspberry-cardgame-lib-core'] = factory(typeof globalThis['raspberry-cardgame-lib-core'] === 'undefined' ? {} : globalThis['raspberry-cardgame-lib-core'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['raspberry-cardgame-lib-random']);
|
|
17
17
|
}
|
|
18
|
-
}(
|
|
18
|
+
}(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_raspberryapps_cardgame_random) {
|
|
19
19
|
'use strict';
|
|
20
20
|
//region block: imports
|
|
21
21
|
var imul = Math.imul;
|
|
22
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
23
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
24
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
25
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
26
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
27
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
22
|
+
var protoOf = kotlin_kotlin.$_$.sc;
|
|
23
|
+
var initMetadataForObject = kotlin_kotlin.$_$.wb;
|
|
24
|
+
var defineProp = kotlin_kotlin.$_$.ib;
|
|
25
|
+
var THROW_CCE = kotlin_kotlin.$_$.tg;
|
|
26
|
+
var Comparator = kotlin_kotlin.$_$.fg;
|
|
27
|
+
var initMetadataForClass = kotlin_kotlin.$_$.rb;
|
|
28
28
|
var VOID = kotlin_kotlin.$_$.f;
|
|
29
29
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
30
30
|
var Unit_instance = kotlin_kotlin.$_$.n5;
|
|
31
31
|
var take = kotlin_kotlin.$_$.m9;
|
|
32
32
|
var toList = kotlin_kotlin.$_$.q9;
|
|
33
33
|
var takeLast = kotlin_kotlin.$_$.l9;
|
|
34
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
35
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
34
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.rh;
|
|
35
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.sb;
|
|
36
36
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.v1;
|
|
37
|
-
var Enum = kotlin_kotlin.$_$.
|
|
38
|
-
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
39
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
37
|
+
var Enum = kotlin_kotlin.$_$.ig;
|
|
38
|
+
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
39
|
+
var enumEntries = kotlin_kotlin.$_$.va;
|
|
40
40
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.k;
|
|
41
|
-
var lazy = kotlin_kotlin.$_$.
|
|
42
|
-
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
43
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
44
|
-
var until = kotlin_kotlin.$_$.
|
|
41
|
+
var lazy = kotlin_kotlin.$_$.ph;
|
|
42
|
+
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
43
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.ub;
|
|
44
|
+
var until = kotlin_kotlin.$_$.id;
|
|
45
45
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.q6;
|
|
46
46
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
|
|
47
47
|
var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
|
|
48
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
48
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ta;
|
|
49
49
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ea;
|
|
50
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
50
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.tb;
|
|
51
51
|
var count = kotlin_kotlin.$_$.h7;
|
|
52
|
-
var Result = kotlin_kotlin.$_$.
|
|
53
|
-
var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.
|
|
54
|
-
var throwOnFailure = kotlin_kotlin.$_$.
|
|
55
|
-
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.
|
|
56
|
-
var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.
|
|
52
|
+
var Result = kotlin_kotlin.$_$.rg;
|
|
53
|
+
var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.e3;
|
|
54
|
+
var throwOnFailure = kotlin_kotlin.$_$.vh;
|
|
55
|
+
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.h3;
|
|
56
|
+
var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.g3;
|
|
57
57
|
var addAll = kotlin_kotlin.$_$.e6;
|
|
58
58
|
var Collection = kotlin_kotlin.$_$.p5;
|
|
59
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
59
|
+
var isInterface = kotlin_kotlin.$_$.fc;
|
|
60
60
|
var toMutableList = kotlin_kotlin.$_$.u9;
|
|
61
61
|
var listOf = kotlin_kotlin.$_$.o8;
|
|
62
62
|
var first = kotlin_kotlin.$_$.t7;
|
|
63
63
|
var sorted = kotlin_kotlin.$_$.j9;
|
|
64
64
|
var asReversed = kotlin_kotlin.$_$.i6;
|
|
65
65
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.c2;
|
|
66
|
+
var equals = kotlin_kotlin.$_$.jb;
|
|
67
|
+
var FunctionAdapter = kotlin_kotlin.$_$.xa;
|
|
68
|
+
var hashCode = kotlin_kotlin.$_$.qb;
|
|
66
69
|
var first_0 = kotlin_kotlin.$_$.s7;
|
|
67
70
|
var compareValues = kotlin_kotlin.$_$.ca;
|
|
68
71
|
var sortWith = kotlin_kotlin.$_$.h9;
|
|
@@ -70,8 +73,8 @@
|
|
|
70
73
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
71
74
|
var sortedWith = kotlin_kotlin.$_$.i9;
|
|
72
75
|
var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.a2;
|
|
73
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
74
|
-
var toString = kotlin_kotlin.$_$.
|
|
76
|
+
var compareTo = kotlin_kotlin.$_$.hb;
|
|
77
|
+
var toString = kotlin_kotlin.$_$.wc;
|
|
75
78
|
var dropLast = kotlin_kotlin.$_$.j7;
|
|
76
79
|
var plus = kotlin_kotlin.$_$.x8;
|
|
77
80
|
var minus = kotlin_kotlin.$_$.s8;
|
|
@@ -91,7 +94,7 @@
|
|
|
91
94
|
initMetadataForClass(CardsRandomProvider, 'CardsRandomProvider', VOID, Enum);
|
|
92
95
|
function standardShuffledCards$default(cards, times, $super) {
|
|
93
96
|
times = times === VOID ? 3 : times;
|
|
94
|
-
return $super === VOID ? this.
|
|
97
|
+
return $super === VOID ? this.e6a(cards, times) : $super.e6a.call(this, cards, times);
|
|
95
98
|
}
|
|
96
99
|
initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider', VOID, VOID, VOID, [5]);
|
|
97
100
|
initMetadataForCompanion(Companion_2);
|
|
@@ -104,15 +107,15 @@
|
|
|
104
107
|
checkFromIndex = checkFromIndex === VOID ? first(supportedCombinations) : checkFromIndex;
|
|
105
108
|
includeCardNames = includeCardNames === VOID ? null : includeCardNames;
|
|
106
109
|
suit = suit === VOID ? null : suit;
|
|
107
|
-
return $super === VOID ? this.
|
|
110
|
+
return $super === VOID ? this.a6c(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.a6c.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
|
|
108
111
|
}
|
|
109
112
|
function findSameCardsNumberCombinations$default(cards, cardsCount, includeCardNames, $super) {
|
|
110
113
|
cardsCount = cardsCount === VOID ? 4 : cardsCount;
|
|
111
114
|
includeCardNames = includeCardNames === VOID ? null : includeCardNames;
|
|
112
|
-
return $super === VOID ? this.
|
|
115
|
+
return $super === VOID ? this.c6c(cards, cardsCount, includeCardNames) : $super.c6c.call(this, cards, cardsCount, includeCardNames);
|
|
113
116
|
}
|
|
114
117
|
initMetadataForInterface(CombinationsCheckerProvider, 'CombinationsCheckerProvider');
|
|
115
|
-
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator]);
|
|
118
|
+
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
116
119
|
initMetadataForClass(CombinationsCheckerProviderImpl, 'CombinationsCheckerProviderImpl', CombinationsCheckerProviderImpl, VOID, [CombinationsCheckerProvider]);
|
|
117
120
|
initMetadataForInterface(DealerReducer, 'DealerReducer');
|
|
118
121
|
initMetadataForClass(DealerReducerImpl, 'DealerReducerImpl', VOID, VOID, [DealerReducer]);
|
|
@@ -120,7 +123,7 @@
|
|
|
120
123
|
function CoreConfig() {
|
|
121
124
|
this.version = '0.0.36';
|
|
122
125
|
}
|
|
123
|
-
protoOf(CoreConfig).
|
|
126
|
+
protoOf(CoreConfig).m33 = function () {
|
|
124
127
|
return this.version;
|
|
125
128
|
};
|
|
126
129
|
var CoreConfig_instance;
|
|
@@ -128,30 +131,30 @@
|
|
|
128
131
|
return CoreConfig_instance;
|
|
129
132
|
}
|
|
130
133
|
function CardSuitSortingComparator(suit) {
|
|
131
|
-
this.
|
|
134
|
+
this.j69_1 = suit;
|
|
132
135
|
}
|
|
133
|
-
protoOf(CardSuitSortingComparator).
|
|
134
|
-
if (!a.
|
|
136
|
+
protoOf(CardSuitSortingComparator).k69 = function (a, b) {
|
|
137
|
+
if (!a.m69() || !b.m69()) {
|
|
135
138
|
return 0;
|
|
136
139
|
}
|
|
137
|
-
var suitIndexL = this.
|
|
138
|
-
var suitIndexR = this.
|
|
139
|
-
var sortedNumberL = imul(suitIndexL, 13) + a.
|
|
140
|
-
var sortedNumberR = imul(suitIndexR, 13) + b.
|
|
140
|
+
var suitIndexL = this.j69_1.u1(a.n69());
|
|
141
|
+
var suitIndexR = this.j69_1.u1(b.n69());
|
|
142
|
+
var sortedNumberL = imul(suitIndexL, 13) + a.o69() | 0;
|
|
143
|
+
var sortedNumberR = imul(suitIndexR, 13) + b.o69() | 0;
|
|
141
144
|
return sortedNumberL - sortedNumberR | 0;
|
|
142
145
|
};
|
|
143
146
|
protoOf(CardSuitSortingComparator).compare = function (a, b) {
|
|
144
147
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
145
|
-
return this.
|
|
148
|
+
return this.k69(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
146
149
|
};
|
|
147
150
|
function CardIndexComparator() {
|
|
148
151
|
}
|
|
149
|
-
protoOf(CardIndexComparator).
|
|
150
|
-
return a.
|
|
152
|
+
protoOf(CardIndexComparator).k69 = function (a, b) {
|
|
153
|
+
return a.l69_1 - b.l69_1 | 0;
|
|
151
154
|
};
|
|
152
155
|
protoOf(CardIndexComparator).compare = function (a, b) {
|
|
153
156
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
154
|
-
return this.
|
|
157
|
+
return this.k69(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
155
158
|
};
|
|
156
159
|
var CardIndexComparator_instance;
|
|
157
160
|
function CardIndexComparator_getInstance() {
|
|
@@ -173,12 +176,12 @@
|
|
|
173
176
|
}
|
|
174
177
|
function CardNumberComparator() {
|
|
175
178
|
}
|
|
176
|
-
protoOf(CardNumberComparator).
|
|
177
|
-
return b.
|
|
179
|
+
protoOf(CardNumberComparator).k69 = function (a, b) {
|
|
180
|
+
return b.o69() - a.o69() | 0;
|
|
178
181
|
};
|
|
179
182
|
protoOf(CardNumberComparator).compare = function (a, b) {
|
|
180
183
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
181
|
-
return this.
|
|
184
|
+
return this.k69(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
182
185
|
};
|
|
183
186
|
var CardNumberComparator_instance;
|
|
184
187
|
function CardNumberComparator_getInstance() {
|
|
@@ -306,16 +309,16 @@
|
|
|
306
309
|
}
|
|
307
310
|
function Companion() {
|
|
308
311
|
}
|
|
309
|
-
protoOf(Companion).
|
|
312
|
+
protoOf(Companion).p69 = function (suit, number) {
|
|
310
313
|
return new GameCard(getNumber(Companion_instance_0, getName(Companion_instance_0, number), suit));
|
|
311
314
|
};
|
|
312
|
-
protoOf(Companion).
|
|
315
|
+
protoOf(Companion).q69 = function (suit, cardNumber) {
|
|
313
316
|
return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
|
|
314
317
|
};
|
|
315
|
-
protoOf(Companion).
|
|
318
|
+
protoOf(Companion).r69 = function (index) {
|
|
316
319
|
return new GameCard(index);
|
|
317
320
|
};
|
|
318
|
-
protoOf(Companion).
|
|
321
|
+
protoOf(Companion).s69 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
319
322
|
var tmp;
|
|
320
323
|
if (previousStubCardWithMaxIndex == null) {
|
|
321
324
|
tmp = null;
|
|
@@ -324,7 +327,7 @@
|
|
|
324
327
|
// Inline function 'kotlin.contracts.contract' call
|
|
325
328
|
var tmp_0;
|
|
326
329
|
// Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueStub.<anonymous>' call
|
|
327
|
-
if (previousStubCardWithMaxIndex.
|
|
330
|
+
if (previousStubCardWithMaxIndex.t69()) {
|
|
328
331
|
tmp_0 = previousStubCardWithMaxIndex;
|
|
329
332
|
} else {
|
|
330
333
|
tmp_0 = null;
|
|
@@ -332,8 +335,8 @@
|
|
|
332
335
|
tmp = tmp_0;
|
|
333
336
|
}
|
|
334
337
|
var tmp3_safe_receiver = tmp;
|
|
335
|
-
var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.
|
|
336
|
-
var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.
|
|
338
|
+
var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.l69_1;
|
|
339
|
+
var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.y69(tmp4_safe_receiver, playerIndex, reverse);
|
|
337
340
|
var tmp_1;
|
|
338
341
|
if (tmp5_safe_receiver == null) {
|
|
339
342
|
tmp_1 = null;
|
|
@@ -354,10 +357,10 @@
|
|
|
354
357
|
var index = tmp_2;
|
|
355
358
|
return new GameCard(index);
|
|
356
359
|
};
|
|
357
|
-
protoOf(Companion).
|
|
360
|
+
protoOf(Companion).z69 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
|
|
358
361
|
previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
|
|
359
362
|
reverse = reverse === VOID ? false : reverse;
|
|
360
|
-
return $super === VOID ? this.
|
|
363
|
+
return $super === VOID ? this.s69(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.s69.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
361
364
|
};
|
|
362
365
|
var Companion_instance;
|
|
363
366
|
function Companion_getInstance() {
|
|
@@ -461,7 +464,7 @@
|
|
|
461
464
|
return tmp;
|
|
462
465
|
}
|
|
463
466
|
function _get_isShirt__vd98rp($this) {
|
|
464
|
-
return $this.
|
|
467
|
+
return $this.l69_1 === 52;
|
|
465
468
|
}
|
|
466
469
|
function CardName(name, ordinal) {
|
|
467
470
|
Enum.call(this, name, ordinal);
|
|
@@ -470,12 +473,12 @@
|
|
|
470
473
|
return getShortName(this);
|
|
471
474
|
};
|
|
472
475
|
function Companion_0() {
|
|
473
|
-
this.
|
|
474
|
-
this.
|
|
475
|
-
this.
|
|
476
|
-
this.
|
|
476
|
+
this.u69_1 = -1;
|
|
477
|
+
this.v69_1 = 13;
|
|
478
|
+
this.w69_1 = 52;
|
|
479
|
+
this.x69_1 = 53;
|
|
477
480
|
}
|
|
478
|
-
protoOf(Companion_0).
|
|
481
|
+
protoOf(Companion_0).y69 = function (_this__u8e3s4, playerIndex, reverse) {
|
|
479
482
|
var tmp;
|
|
480
483
|
if (reverse) {
|
|
481
484
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -545,59 +548,59 @@
|
|
|
545
548
|
return CardName_STUB_instance;
|
|
546
549
|
}
|
|
547
550
|
function GameCard(index) {
|
|
548
|
-
this.
|
|
551
|
+
this.l69_1 = index;
|
|
549
552
|
}
|
|
550
|
-
protoOf(GameCard).
|
|
553
|
+
protoOf(GameCard).n69 = function () {
|
|
551
554
|
var tmp;
|
|
552
|
-
var containsArg = this.
|
|
555
|
+
var containsArg = this.l69_1;
|
|
553
556
|
if (0 <= containsArg ? containsArg <= 13 : false) {
|
|
554
557
|
tmp = Suit_DIAMOND_getInstance();
|
|
555
558
|
} else {
|
|
556
|
-
if (this.
|
|
559
|
+
if (this.l69_1 <= 26) {
|
|
557
560
|
tmp = Suit_SPADE_getInstance();
|
|
558
561
|
} else {
|
|
559
|
-
if (this.
|
|
562
|
+
if (this.l69_1 <= 39) {
|
|
560
563
|
tmp = Suit_HEART_getInstance();
|
|
561
564
|
} else {
|
|
562
|
-
if (this.
|
|
565
|
+
if (this.l69_1 <= 52) {
|
|
563
566
|
tmp = Suit_CLUB_getInstance();
|
|
564
567
|
} else {
|
|
565
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
568
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.l69_1);
|
|
566
569
|
}
|
|
567
570
|
}
|
|
568
571
|
}
|
|
569
572
|
}
|
|
570
573
|
return tmp;
|
|
571
574
|
};
|
|
572
|
-
protoOf(GameCard).
|
|
575
|
+
protoOf(GameCard).o69 = function () {
|
|
573
576
|
var tmp;
|
|
574
|
-
if (this.
|
|
577
|
+
if (this.t69()) {
|
|
575
578
|
tmp = -1;
|
|
576
579
|
} else {
|
|
577
|
-
tmp = this.
|
|
580
|
+
tmp = this.l69_1 - imul(13, getIndex(this.n69())) | 0;
|
|
578
581
|
}
|
|
579
582
|
return tmp;
|
|
580
583
|
};
|
|
581
584
|
protoOf(GameCard).p2 = function () {
|
|
582
|
-
return this.
|
|
585
|
+
return this.t69() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.o69());
|
|
583
586
|
};
|
|
584
|
-
protoOf(GameCard).
|
|
585
|
-
return !_get_isShirt__vd98rp(this) && !this.
|
|
587
|
+
protoOf(GameCard).m69 = function () {
|
|
588
|
+
return !_get_isShirt__vd98rp(this) && !this.t69();
|
|
586
589
|
};
|
|
587
|
-
protoOf(GameCard).
|
|
588
|
-
return this.
|
|
590
|
+
protoOf(GameCard).t69 = function () {
|
|
591
|
+
return this.l69_1 >= 53;
|
|
589
592
|
};
|
|
590
593
|
protoOf(GameCard).toString = function () {
|
|
591
594
|
if (_get_isShirt__vd98rp(this)) {
|
|
592
595
|
return 'GameCard(SHIRT)';
|
|
593
596
|
}
|
|
594
|
-
if (this.
|
|
595
|
-
return 'GameCard(STUB, ' + this.
|
|
597
|
+
if (this.t69()) {
|
|
598
|
+
return 'GameCard(STUB, ' + this.l69_1 + ')';
|
|
596
599
|
}
|
|
597
|
-
return 'GameCard(' + this.
|
|
600
|
+
return 'GameCard(' + this.n69().toString() + this.p2().toString() + ', ' + this.l69_1 + ')';
|
|
598
601
|
};
|
|
599
602
|
protoOf(GameCard).hashCode = function () {
|
|
600
|
-
return this.
|
|
603
|
+
return this.l69_1;
|
|
601
604
|
};
|
|
602
605
|
protoOf(GameCard).equals = function (other) {
|
|
603
606
|
if (this === other)
|
|
@@ -605,12 +608,12 @@
|
|
|
605
608
|
if (!(other instanceof GameCard))
|
|
606
609
|
return false;
|
|
607
610
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
608
|
-
if (!(this.
|
|
611
|
+
if (!(this.l69_1 === tmp0_other_with_cast.l69_1))
|
|
609
612
|
return false;
|
|
610
613
|
return true;
|
|
611
614
|
};
|
|
612
615
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
613
|
-
return $this.
|
|
616
|
+
return $this.a6a_1.u();
|
|
614
617
|
}
|
|
615
618
|
function Suit$Companion$_anonymous__cbm2iq() {
|
|
616
619
|
return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
|
|
@@ -652,13 +655,13 @@
|
|
|
652
655
|
Companion_instance_1 = this;
|
|
653
656
|
var tmp = this;
|
|
654
657
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
655
|
-
tmp.
|
|
658
|
+
tmp.a6a_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
|
|
656
659
|
}
|
|
657
|
-
protoOf(Companion_1).
|
|
660
|
+
protoOf(Companion_1).v50 = function () {
|
|
658
661
|
return _get_$cachedSerializer__te6jhj(this);
|
|
659
662
|
};
|
|
660
|
-
protoOf(Companion_1).
|
|
661
|
-
return this.
|
|
663
|
+
protoOf(Companion_1).s4k = function (typeParamsSerializers) {
|
|
664
|
+
return this.v50();
|
|
662
665
|
};
|
|
663
666
|
var Companion_instance_1;
|
|
664
667
|
function Companion_getInstance_1() {
|
|
@@ -756,9 +759,9 @@
|
|
|
756
759
|
}
|
|
757
760
|
function getRandomOrgCards($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion) {
|
|
758
761
|
var tmp = new $getRandomOrgCardsCOROUTINE$1($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion);
|
|
759
|
-
tmp.
|
|
760
|
-
tmp.
|
|
761
|
-
return tmp.
|
|
762
|
+
tmp.j9_1 = Unit_instance;
|
|
763
|
+
tmp.k9_1 = null;
|
|
764
|
+
return tmp.p9();
|
|
762
765
|
}
|
|
763
766
|
function normalizeCards($this, cards, leftCardIndexForEachSuit) {
|
|
764
767
|
var oneSuitCount = cards.m() / get_entries().m() | 0;
|
|
@@ -779,7 +782,7 @@
|
|
|
779
782
|
}
|
|
780
783
|
function Companion_2() {
|
|
781
784
|
}
|
|
782
|
-
protoOf(Companion_2).
|
|
785
|
+
protoOf(Companion_2).b6b = function (randomPoolProvider, logger) {
|
|
783
786
|
var tmp17_random = new SecureRandom(logger);
|
|
784
787
|
return new CardsDealerProviderImpl(tmp17_random, randomPoolProvider, logger);
|
|
785
788
|
};
|
|
@@ -789,41 +792,41 @@
|
|
|
789
792
|
}
|
|
790
793
|
function $createNewShuffledCardDeckCOROUTINE$0(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
|
|
791
794
|
CoroutineImpl.call(this, resultContinuation);
|
|
792
|
-
this.
|
|
793
|
-
this.
|
|
794
|
-
this.
|
|
795
|
-
this.
|
|
796
|
-
this.
|
|
797
|
-
this.
|
|
798
|
-
}
|
|
799
|
-
protoOf($createNewShuffledCardDeckCOROUTINE$0).
|
|
800
|
-
var suspendResult = this.
|
|
795
|
+
this.k6b_1 = _this__u8e3s4;
|
|
796
|
+
this.l6b_1 = leftCardIndexForEachSuit;
|
|
797
|
+
this.m6b_1 = rightCardIndexForEachSuit;
|
|
798
|
+
this.n6b_1 = approximateRoundCountForGame;
|
|
799
|
+
this.o6b_1 = userData;
|
|
800
|
+
this.p6b_1 = provider;
|
|
801
|
+
}
|
|
802
|
+
protoOf($createNewShuffledCardDeckCOROUTINE$0).p9 = function () {
|
|
803
|
+
var suspendResult = this.j9_1;
|
|
801
804
|
$sm: do
|
|
802
805
|
try {
|
|
803
|
-
var tmp = this.
|
|
806
|
+
var tmp = this.h9_1;
|
|
804
807
|
switch (tmp) {
|
|
805
808
|
case 0:
|
|
806
|
-
this.
|
|
807
|
-
this.
|
|
808
|
-
this.
|
|
809
|
-
if (this.
|
|
809
|
+
this.i9_1 = 4;
|
|
810
|
+
this.q6b_1 = this.p6b_1;
|
|
811
|
+
this.r6b_1 = this.q6b_1.o2_1;
|
|
812
|
+
if (this.r6b_1 === 0) {
|
|
810
813
|
var tmp_0 = this;
|
|
811
|
-
var it = this.
|
|
812
|
-
tmp_0.
|
|
813
|
-
this.
|
|
814
|
+
var it = this.k6b_1.b6a(this.l6b_1, this.m6b_1);
|
|
815
|
+
tmp_0.s6b_1 = this.k6b_1.f6a(it);
|
|
816
|
+
this.h9_1 = 3;
|
|
814
817
|
continue $sm;
|
|
815
818
|
} else {
|
|
816
|
-
if (this.
|
|
817
|
-
this.
|
|
818
|
-
suspendResult = getRandomOrgCards(this.
|
|
819
|
+
if (this.r6b_1 === 1) {
|
|
820
|
+
this.h9_1 = 2;
|
|
821
|
+
suspendResult = getRandomOrgCards(this.k6b_1, this.l6b_1, this.m6b_1, this.n6b_1, this.o6b_1, false, this);
|
|
819
822
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
820
823
|
return suspendResult;
|
|
821
824
|
}
|
|
822
825
|
continue $sm;
|
|
823
826
|
} else {
|
|
824
|
-
if (this.
|
|
825
|
-
this.
|
|
826
|
-
suspendResult = getRandomOrgCards(this.
|
|
827
|
+
if (this.r6b_1 === 2) {
|
|
828
|
+
this.h9_1 = 1;
|
|
829
|
+
suspendResult = getRandomOrgCards(this.k6b_1, this.l6b_1, this.m6b_1, this.n6b_1, this.o6b_1, true, this);
|
|
827
830
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
828
831
|
return suspendResult;
|
|
829
832
|
}
|
|
@@ -837,95 +840,95 @@
|
|
|
837
840
|
|
|
838
841
|
break;
|
|
839
842
|
case 1:
|
|
840
|
-
this.
|
|
841
|
-
this.
|
|
843
|
+
this.s6b_1 = suspendResult;
|
|
844
|
+
this.h9_1 = 3;
|
|
842
845
|
continue $sm;
|
|
843
846
|
case 2:
|
|
844
|
-
this.
|
|
845
|
-
this.
|
|
847
|
+
this.s6b_1 = suspendResult;
|
|
848
|
+
this.h9_1 = 3;
|
|
846
849
|
continue $sm;
|
|
847
850
|
case 3:
|
|
848
|
-
return this.
|
|
851
|
+
return this.s6b_1;
|
|
849
852
|
case 4:
|
|
850
|
-
throw this.
|
|
853
|
+
throw this.k9_1;
|
|
851
854
|
}
|
|
852
855
|
} catch ($p) {
|
|
853
856
|
var e = $p;
|
|
854
|
-
if (this.
|
|
857
|
+
if (this.i9_1 === 4) {
|
|
855
858
|
throw e;
|
|
856
859
|
} else {
|
|
857
|
-
this.
|
|
858
|
-
this.
|
|
860
|
+
this.h9_1 = this.i9_1;
|
|
861
|
+
this.k9_1 = e;
|
|
859
862
|
}
|
|
860
863
|
}
|
|
861
864
|
while (true);
|
|
862
865
|
};
|
|
863
866
|
function $getRandomOrgCardsCOROUTINE$1(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
|
|
864
867
|
CoroutineImpl.call(this, resultContinuation);
|
|
865
|
-
this.
|
|
866
|
-
this.
|
|
867
|
-
this.
|
|
868
|
-
this.
|
|
869
|
-
this.
|
|
870
|
-
this.
|
|
871
|
-
}
|
|
872
|
-
protoOf($getRandomOrgCardsCOROUTINE$1).
|
|
873
|
-
var suspendResult = this.
|
|
868
|
+
this.o6a_1 = _this__u8e3s4;
|
|
869
|
+
this.p6a_1 = leftCardIndexForEachSuit;
|
|
870
|
+
this.q6a_1 = rightCardIndexForEachSuit;
|
|
871
|
+
this.r6a_1 = approximateRoundsCount;
|
|
872
|
+
this.s6a_1 = userData;
|
|
873
|
+
this.t6a_1 = signed;
|
|
874
|
+
}
|
|
875
|
+
protoOf($getRandomOrgCardsCOROUTINE$1).p9 = function () {
|
|
876
|
+
var suspendResult = this.j9_1;
|
|
874
877
|
$sm: do
|
|
875
878
|
try {
|
|
876
|
-
var tmp = this.
|
|
879
|
+
var tmp = this.h9_1;
|
|
877
880
|
switch (tmp) {
|
|
878
881
|
case 0:
|
|
879
|
-
this.
|
|
882
|
+
this.i9_1 = 5;
|
|
880
883
|
var tmp_0 = this;
|
|
881
884
|
var sum = 0;
|
|
882
885
|
var tmp0_iterator = get_entries().j();
|
|
883
886
|
while (tmp0_iterator.k()) {
|
|
884
887
|
var element = tmp0_iterator.l();
|
|
885
888
|
var tmp_1 = sum;
|
|
886
|
-
sum = tmp_1 + count(getCardsRange(this.
|
|
889
|
+
sum = tmp_1 + count(getCardsRange(this.o6a_1, this.p6a_1, this.q6a_1)) | 0;
|
|
887
890
|
}
|
|
888
891
|
|
|
889
|
-
tmp_0.
|
|
890
|
-
this.
|
|
891
|
-
this.
|
|
892
|
-
this.
|
|
893
|
-
suspendResult = this.
|
|
892
|
+
tmp_0.u6a_1 = sum;
|
|
893
|
+
this.v6a_1 = this.o6a_1.u6b_1;
|
|
894
|
+
this.w6a_1 = this.u6a_1 - 1 | 0;
|
|
895
|
+
this.h9_1 = 1;
|
|
896
|
+
suspendResult = this.v6a_1.b5v(this.r6a_1, this.s6a_1, 0, this.w6a_1, this.u6a_1, this.t6a_1, VOID, this);
|
|
894
897
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
895
898
|
return suspendResult;
|
|
896
899
|
}
|
|
897
900
|
|
|
898
|
-
this.
|
|
901
|
+
this.h9_1 = 2;
|
|
899
902
|
continue $sm;
|
|
900
903
|
case 1:
|
|
901
|
-
this.
|
|
902
|
-
suspendResult = new Result(this.
|
|
903
|
-
this.
|
|
904
|
+
this.x6a_1 = suspendResult.gk_1;
|
|
905
|
+
suspendResult = new Result(this.x6a_1);
|
|
906
|
+
this.h9_1 = 2;
|
|
904
907
|
continue $sm;
|
|
905
908
|
case 2:
|
|
906
|
-
this.
|
|
907
|
-
if (_Result___get_isSuccess__impl__sndoy8(this.
|
|
909
|
+
this.y6a_1 = suspendResult.gk_1;
|
|
910
|
+
if (_Result___get_isSuccess__impl__sndoy8(this.y6a_1)) {
|
|
908
911
|
var tmp_2 = this;
|
|
909
|
-
var this_0 = this.
|
|
912
|
+
var this_0 = this.y6a_1;
|
|
910
913
|
throwOnFailure(this_0);
|
|
911
914
|
var tmp_3 = _Result___get_value__impl__bjfvqg(this_0);
|
|
912
915
|
var tmp14_cards = ((tmp_3 == null ? true : !(tmp_3 == null)) ? tmp_3 : THROW_CCE()).cards;
|
|
913
|
-
var this_1 = normalizeCards(this.
|
|
916
|
+
var this_1 = normalizeCards(this.o6a_1, tmp14_cards, this.p6a_1);
|
|
914
917
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
915
918
|
var tmp0_iterator_0 = this_1.j();
|
|
916
919
|
while (tmp0_iterator_0.k()) {
|
|
917
920
|
var item = tmp0_iterator_0.l();
|
|
918
|
-
destination.e(Companion_instance.
|
|
921
|
+
destination.e(Companion_instance.r69(item));
|
|
919
922
|
}
|
|
920
|
-
tmp_2.
|
|
921
|
-
this.
|
|
923
|
+
tmp_2.z6a_1 = destination;
|
|
924
|
+
this.h9_1 = 4;
|
|
922
925
|
continue $sm;
|
|
923
926
|
} else {
|
|
924
|
-
this.
|
|
925
|
-
var tmp15_safe_receiver = this.
|
|
926
|
-
this.
|
|
927
|
-
this.
|
|
928
|
-
suspendResult = this.
|
|
927
|
+
this.a6b_1 = Result__exceptionOrNull_impl_p6xea9(this.y6a_1);
|
|
928
|
+
var tmp15_safe_receiver = this.a6b_1;
|
|
929
|
+
this.o6a_1.v6b_1.w('CardsDealerProvider', 'createNewShuffledCardDeck error message = ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.a6b_1);
|
|
930
|
+
this.h9_1 = 3;
|
|
931
|
+
suspendResult = this.o6a_1.c6a(this.p6a_1, this.q6a_1, this.r6a_1, this.s6a_1, CardsRandomProvider_CUSTOM_getInstance(), this);
|
|
929
932
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
930
933
|
return suspendResult;
|
|
931
934
|
}
|
|
@@ -933,31 +936,31 @@
|
|
|
933
936
|
}
|
|
934
937
|
|
|
935
938
|
case 3:
|
|
936
|
-
this.
|
|
937
|
-
this.
|
|
939
|
+
this.z6a_1 = suspendResult;
|
|
940
|
+
this.h9_1 = 4;
|
|
938
941
|
continue $sm;
|
|
939
942
|
case 4:
|
|
940
|
-
return this.
|
|
943
|
+
return this.z6a_1;
|
|
941
944
|
case 5:
|
|
942
|
-
throw this.
|
|
945
|
+
throw this.k9_1;
|
|
943
946
|
}
|
|
944
947
|
} catch ($p) {
|
|
945
948
|
var e = $p;
|
|
946
|
-
if (this.
|
|
949
|
+
if (this.i9_1 === 5) {
|
|
947
950
|
throw e;
|
|
948
951
|
} else {
|
|
949
|
-
this.
|
|
950
|
-
this.
|
|
952
|
+
this.h9_1 = this.i9_1;
|
|
953
|
+
this.k9_1 = e;
|
|
951
954
|
}
|
|
952
955
|
}
|
|
953
956
|
while (true);
|
|
954
957
|
};
|
|
955
958
|
function CardsDealerProviderImpl(random, randomPoolProvider, logger) {
|
|
956
|
-
this.
|
|
957
|
-
this.
|
|
958
|
-
this.
|
|
959
|
+
this.t6b_1 = random;
|
|
960
|
+
this.u6b_1 = randomPoolProvider;
|
|
961
|
+
this.v6b_1 = logger;
|
|
959
962
|
}
|
|
960
|
-
protoOf(CardsDealerProviderImpl).
|
|
963
|
+
protoOf(CardsDealerProviderImpl).b6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
|
|
961
964
|
// Inline function 'kotlin.collections.flatMap' call
|
|
962
965
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
963
966
|
var this_0 = get_entries();
|
|
@@ -970,25 +973,30 @@
|
|
|
970
973
|
var this_1 = getCardsRange(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit);
|
|
971
974
|
// Inline function 'kotlin.collections.mapTo' call
|
|
972
975
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
973
|
-
var
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
976
|
+
var inductionVariable = this_1.a1_1;
|
|
977
|
+
var last = this_1.b1_1;
|
|
978
|
+
if (inductionVariable <= last)
|
|
979
|
+
do {
|
|
980
|
+
var item = inductionVariable;
|
|
981
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
982
|
+
// Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>.<anonymous>' call
|
|
983
|
+
var it = item;
|
|
984
|
+
var tmp$ret$0 = Companion_instance.p69(element, it);
|
|
985
|
+
destination_0.e(tmp$ret$0);
|
|
986
|
+
}
|
|
987
|
+
while (!(item === last));
|
|
980
988
|
var list = destination_0;
|
|
981
989
|
addAll(destination, list);
|
|
982
990
|
}
|
|
983
991
|
return destination;
|
|
984
992
|
};
|
|
985
|
-
protoOf(CardsDealerProviderImpl).
|
|
993
|
+
protoOf(CardsDealerProviderImpl).c6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
|
|
986
994
|
var tmp = new $createNewShuffledCardDeckCOROUTINE$0(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
|
|
987
|
-
tmp.
|
|
988
|
-
tmp.
|
|
989
|
-
return tmp.
|
|
995
|
+
tmp.j9_1 = Unit_instance;
|
|
996
|
+
tmp.k9_1 = null;
|
|
997
|
+
return tmp.p9();
|
|
990
998
|
};
|
|
991
|
-
protoOf(CardsDealerProviderImpl).
|
|
999
|
+
protoOf(CardsDealerProviderImpl).d6a = function (count, cards) {
|
|
992
1000
|
// Inline function 'kotlin.apply' call
|
|
993
1001
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
994
1002
|
var this_0 = ArrayList_init_$Create$();
|
|
@@ -1022,7 +1030,7 @@
|
|
|
1022
1030
|
while (tmp0_iterator.k()) {
|
|
1023
1031
|
var element = tmp0_iterator.l();
|
|
1024
1032
|
// Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getNRandomUniqueCards.<anonymous>.<anonymous>' call
|
|
1025
|
-
if (element.
|
|
1033
|
+
if (element.o69() === card.o69()) {
|
|
1026
1034
|
tmp$ret$2 = true;
|
|
1027
1035
|
break $l$block_1;
|
|
1028
1036
|
}
|
|
@@ -1037,7 +1045,7 @@
|
|
|
1037
1045
|
}
|
|
1038
1046
|
return this_0;
|
|
1039
1047
|
};
|
|
1040
|
-
protoOf(CardsDealerProviderImpl).
|
|
1048
|
+
protoOf(CardsDealerProviderImpl).e6a = function (cards, times) {
|
|
1041
1049
|
// Inline function 'kotlin.let' call
|
|
1042
1050
|
// Inline function 'kotlin.contracts.contract' call
|
|
1043
1051
|
// Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.standardShuffledCards.<anonymous>' call
|
|
@@ -1047,49 +1055,49 @@
|
|
|
1047
1055
|
do {
|
|
1048
1056
|
var i = inductionVariable;
|
|
1049
1057
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1050
|
-
shuffled = this.
|
|
1058
|
+
shuffled = this.t6b_1.a60(shuffled);
|
|
1051
1059
|
}
|
|
1052
1060
|
while (inductionVariable < times);
|
|
1053
1061
|
return shuffled;
|
|
1054
1062
|
};
|
|
1055
1063
|
function Companion_3() {
|
|
1056
1064
|
}
|
|
1057
|
-
protoOf(Companion_3).
|
|
1065
|
+
protoOf(Companion_3).w6b = function () {
|
|
1058
1066
|
// Inline function 'kotlin.apply' call
|
|
1059
1067
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1060
1068
|
var this_0 = ArrayList_init_$Create$();
|
|
1061
1069
|
// Inline function 'kotlin.contracts.contract' call
|
|
1062
1070
|
// Inline function 'io.raspberryapps.card_game.core.data.providers.cards.Companion.getCards.<anonymous>' call
|
|
1063
|
-
this_0.n(listOf([Companion_instance.
|
|
1064
|
-
this_0.n(listOf([Companion_instance.
|
|
1065
|
-
this_0.n(listOf([Companion_instance.
|
|
1066
|
-
this_0.n(listOf([Companion_instance.
|
|
1067
|
-
this_0.n(listOf([Companion_instance.
|
|
1071
|
+
this_0.n(listOf([Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.q69(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
|
|
1072
|
+
this_0.n(listOf([Companion_instance.q69(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
|
|
1073
|
+
this_0.n(listOf([Companion_instance.q69(Suit_CLUB_getInstance(), CardName_DAME_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_DAME_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
|
|
1074
|
+
this_0.n(listOf([Companion_instance.q69(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_DAME_getInstance())]));
|
|
1075
|
+
this_0.n(listOf([Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.q69(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.q69(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_DAME_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
|
|
1068
1076
|
return this_0;
|
|
1069
1077
|
};
|
|
1070
|
-
protoOf(Companion_3).
|
|
1071
|
-
return listOf([Companion_instance.
|
|
1078
|
+
protoOf(Companion_3).x6b = function () {
|
|
1079
|
+
return listOf([Companion_instance.q69(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
|
|
1072
1080
|
};
|
|
1073
1081
|
var Companion_instance_3;
|
|
1074
1082
|
function Companion_getInstance_3() {
|
|
1075
1083
|
return Companion_instance_3;
|
|
1076
1084
|
}
|
|
1077
1085
|
function FakeCardsDealerProvider(cards, cardsForLot) {
|
|
1078
|
-
cards = cards === VOID ? Companion_instance_3.
|
|
1079
|
-
cardsForLot = cardsForLot === VOID ? Companion_instance_3.
|
|
1080
|
-
this.
|
|
1081
|
-
this.
|
|
1086
|
+
cards = cards === VOID ? Companion_instance_3.w6b() : cards;
|
|
1087
|
+
cardsForLot = cardsForLot === VOID ? Companion_instance_3.x6b() : cardsForLot;
|
|
1088
|
+
this.y6b_1 = cards;
|
|
1089
|
+
this.z6b_1 = cardsForLot;
|
|
1082
1090
|
}
|
|
1083
|
-
protoOf(FakeCardsDealerProvider).
|
|
1084
|
-
return this.
|
|
1091
|
+
protoOf(FakeCardsDealerProvider).b6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
|
|
1092
|
+
return this.y6b_1;
|
|
1085
1093
|
};
|
|
1086
|
-
protoOf(FakeCardsDealerProvider).
|
|
1087
|
-
return this.
|
|
1094
|
+
protoOf(FakeCardsDealerProvider).c6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
|
|
1095
|
+
return this.y6b_1;
|
|
1088
1096
|
};
|
|
1089
|
-
protoOf(FakeCardsDealerProvider).
|
|
1090
|
-
return this.
|
|
1097
|
+
protoOf(FakeCardsDealerProvider).d6a = function (count, cards) {
|
|
1098
|
+
return this.z6b_1;
|
|
1091
1099
|
};
|
|
1092
|
-
protoOf(FakeCardsDealerProvider).
|
|
1100
|
+
protoOf(FakeCardsDealerProvider).e6a = function (cards, times) {
|
|
1093
1101
|
return cards;
|
|
1094
1102
|
};
|
|
1095
1103
|
function CombinationsCheckerProvider() {
|
|
@@ -1118,25 +1126,46 @@
|
|
|
1118
1126
|
return takeLast(cards, longestCombinationSupport);
|
|
1119
1127
|
}
|
|
1120
1128
|
function sam$kotlin_Comparator$0(function_0) {
|
|
1121
|
-
this.
|
|
1129
|
+
this.f6c_1 = function_0;
|
|
1122
1130
|
}
|
|
1123
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
1124
|
-
return this.
|
|
1131
|
+
protoOf(sam$kotlin_Comparator$0).pc = function (a, b) {
|
|
1132
|
+
return this.f6c_1(a, b);
|
|
1125
1133
|
};
|
|
1126
1134
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
1127
|
-
return this.
|
|
1135
|
+
return this.pc(a, b);
|
|
1136
|
+
};
|
|
1137
|
+
protoOf(sam$kotlin_Comparator$0).p3 = function () {
|
|
1138
|
+
return this.f6c_1;
|
|
1139
|
+
};
|
|
1140
|
+
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
1141
|
+
var tmp;
|
|
1142
|
+
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
1143
|
+
var tmp_0;
|
|
1144
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
1145
|
+
tmp_0 = equals(this.p3(), other.p3());
|
|
1146
|
+
} else {
|
|
1147
|
+
tmp_0 = false;
|
|
1148
|
+
}
|
|
1149
|
+
tmp = tmp_0;
|
|
1150
|
+
} else {
|
|
1151
|
+
tmp = false;
|
|
1152
|
+
}
|
|
1153
|
+
return tmp;
|
|
1154
|
+
};
|
|
1155
|
+
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
1156
|
+
return hashCode(this.p3());
|
|
1128
1157
|
};
|
|
1129
1158
|
function CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda(a, b) {
|
|
1130
1159
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
1131
1160
|
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
|
|
1132
|
-
var tmp = first_0(a).
|
|
1161
|
+
var tmp = first_0(a).l69_1;
|
|
1133
1162
|
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
|
|
1134
|
-
var tmp$ret$1 = first_0(b).
|
|
1163
|
+
var tmp$ret$1 = first_0(b).l69_1;
|
|
1135
1164
|
return compareValues(tmp, tmp$ret$1);
|
|
1136
1165
|
}
|
|
1137
1166
|
function CombinationsCheckerProviderImpl() {
|
|
1138
1167
|
}
|
|
1139
|
-
protoOf(CombinationsCheckerProviderImpl).
|
|
1168
|
+
protoOf(CombinationsCheckerProviderImpl).a6c = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
|
|
1140
1169
|
// Inline function 'kotlin.collections.filter' call
|
|
1141
1170
|
// Inline function 'kotlin.apply' call
|
|
1142
1171
|
var this_0 = toMutableList(cards);
|
|
@@ -1149,7 +1178,7 @@
|
|
|
1149
1178
|
while (tmp0_iterator.k()) {
|
|
1150
1179
|
var element = tmp0_iterator.l();
|
|
1151
1180
|
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
|
|
1152
|
-
if (element.
|
|
1181
|
+
if (element.m69()) {
|
|
1153
1182
|
destination.e(element);
|
|
1154
1183
|
}
|
|
1155
1184
|
}
|
|
@@ -1166,14 +1195,14 @@
|
|
|
1166
1195
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1167
1196
|
var previousCard = lastOrNull(combinationCards);
|
|
1168
1197
|
var currentCard = sortedByIndexCards.o(i);
|
|
1169
|
-
var isNextInRow = !(previousCard == null) && currentCard.
|
|
1198
|
+
var isNextInRow = !(previousCard == null) && currentCard.l69_1 === (previousCard.l69_1 + 1 | 0) && currentCard.n69().equals(previousCard.n69());
|
|
1170
1199
|
var passedCardNamesCheck = includeCardNames == null || includeCardNames.s1(currentCard.p2());
|
|
1171
|
-
var passedSuitCheck = suit == null || currentCard.
|
|
1200
|
+
var passedSuitCheck = suit == null || currentCard.n69().equals(suit);
|
|
1172
1201
|
if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
|
|
1173
1202
|
combinationCards.e(currentCard);
|
|
1174
1203
|
} else {
|
|
1175
1204
|
if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
|
|
1176
|
-
combinations.n(this.
|
|
1205
|
+
combinations.n(this.e6c(toMutableList(combinationCards), supportedCombinations));
|
|
1177
1206
|
}
|
|
1178
1207
|
combinationCards.a2();
|
|
1179
1208
|
if (passedSuitCheck && passedCardNamesCheck) {
|
|
@@ -1183,11 +1212,11 @@
|
|
|
1183
1212
|
}
|
|
1184
1213
|
while (inductionVariable <= last);
|
|
1185
1214
|
if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
|
|
1186
|
-
combinations.n(this.
|
|
1215
|
+
combinations.n(this.e6c(toMutableList(combinationCards), supportedCombinations));
|
|
1187
1216
|
}
|
|
1188
1217
|
return combinations;
|
|
1189
1218
|
};
|
|
1190
|
-
protoOf(CombinationsCheckerProviderImpl).
|
|
1219
|
+
protoOf(CombinationsCheckerProviderImpl).c6c = function (cards, cardsCount, includeCardNames) {
|
|
1191
1220
|
// Inline function 'kotlin.collections.filter' call
|
|
1192
1221
|
// Inline function 'kotlin.collections.filter' call
|
|
1193
1222
|
// Inline function 'kotlin.apply' call
|
|
@@ -1201,7 +1230,7 @@
|
|
|
1201
1230
|
while (tmp0_iterator.k()) {
|
|
1202
1231
|
var element = tmp0_iterator.l();
|
|
1203
1232
|
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
|
|
1204
|
-
if (element.
|
|
1233
|
+
if (element.m69()) {
|
|
1205
1234
|
destination.e(element);
|
|
1206
1235
|
}
|
|
1207
1236
|
}
|
|
@@ -1224,7 +1253,7 @@
|
|
|
1224
1253
|
while (tmp0_iterator_1.k()) {
|
|
1225
1254
|
var element_1 = tmp0_iterator_1.l();
|
|
1226
1255
|
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
|
|
1227
|
-
var key = element_1.
|
|
1256
|
+
var key = element_1.o69();
|
|
1228
1257
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1229
1258
|
var value = destination_1.h2(key);
|
|
1230
1259
|
var tmp;
|
|
@@ -1263,7 +1292,7 @@
|
|
|
1263
1292
|
}
|
|
1264
1293
|
return destination_3;
|
|
1265
1294
|
};
|
|
1266
|
-
protoOf(CombinationsCheckerProviderImpl).
|
|
1295
|
+
protoOf(CombinationsCheckerProviderImpl).e6c = function (cards, supportedCombinations) {
|
|
1267
1296
|
// Inline function 'kotlin.collections.minOf' call
|
|
1268
1297
|
var iterator = supportedCombinations.j();
|
|
1269
1298
|
if (!iterator.k())
|
|
@@ -1293,28 +1322,28 @@
|
|
|
1293
1322
|
return sortedWith(combinations, tmp$ret$4);
|
|
1294
1323
|
};
|
|
1295
1324
|
function DealerReducerImpl(logger, enableLogs) {
|
|
1296
|
-
this.
|
|
1297
|
-
this.
|
|
1325
|
+
this.g6c_1 = logger;
|
|
1326
|
+
this.h6c_1 = enableLogs;
|
|
1298
1327
|
}
|
|
1299
|
-
protoOf(DealerReducerImpl).
|
|
1328
|
+
protoOf(DealerReducerImpl).i6c = function (cards, cardsToRemove) {
|
|
1300
1329
|
var list = cards;
|
|
1301
1330
|
var _iterator__ex2g4s = cardsToRemove.j();
|
|
1302
1331
|
while (_iterator__ex2g4s.k()) {
|
|
1303
1332
|
var gameCard = _iterator__ex2g4s.l();
|
|
1304
|
-
list = this.
|
|
1333
|
+
list = this.j6c(list, gameCard);
|
|
1305
1334
|
}
|
|
1306
1335
|
return list;
|
|
1307
1336
|
};
|
|
1308
|
-
protoOf(DealerReducerImpl).
|
|
1337
|
+
protoOf(DealerReducerImpl).j6c = function (cards, cardToRemove) {
|
|
1309
1338
|
var tmp;
|
|
1310
|
-
if (!cardToRemove.
|
|
1311
|
-
if (this.
|
|
1312
|
-
this.
|
|
1339
|
+
if (!cardToRemove.t69() && cards.s1(cardToRemove)) {
|
|
1340
|
+
if (this.h6c_1) {
|
|
1341
|
+
this.g6c_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
|
|
1313
1342
|
}
|
|
1314
1343
|
tmp = minus(cards, cardToRemove);
|
|
1315
1344
|
} else {
|
|
1316
|
-
if (this.
|
|
1317
|
-
this.
|
|
1345
|
+
if (this.h6c_1) {
|
|
1346
|
+
this.g6c_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
|
|
1318
1347
|
}
|
|
1319
1348
|
// Inline function 'kotlin.collections.filterNot' call
|
|
1320
1349
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
@@ -1323,7 +1352,7 @@
|
|
|
1323
1352
|
while (tmp0_iterator.k()) {
|
|
1324
1353
|
var element = tmp0_iterator.l();
|
|
1325
1354
|
// Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
|
|
1326
|
-
if (!element.
|
|
1355
|
+
if (!element.t69()) {
|
|
1327
1356
|
destination.e(element);
|
|
1328
1357
|
}
|
|
1329
1358
|
}
|
|
@@ -1335,34 +1364,34 @@
|
|
|
1335
1364
|
while (tmp0_iterator_0.k()) {
|
|
1336
1365
|
var element_0 = tmp0_iterator_0.l();
|
|
1337
1366
|
// Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
|
|
1338
|
-
if (element_0.
|
|
1367
|
+
if (element_0.t69()) {
|
|
1339
1368
|
destination_0.e(element_0);
|
|
1340
1369
|
}
|
|
1341
1370
|
}
|
|
1342
1371
|
var stubCards = destination_0;
|
|
1343
1372
|
if (stubCards.p()) {
|
|
1344
|
-
this.
|
|
1373
|
+
this.g6c_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
|
|
1345
1374
|
}
|
|
1346
1375
|
tmp = plus(notStubCards, dropLast(stubCards, 1));
|
|
1347
1376
|
}
|
|
1348
1377
|
return tmp;
|
|
1349
1378
|
};
|
|
1350
|
-
protoOf(DealerReducerImpl).
|
|
1351
|
-
if (this.
|
|
1352
|
-
this.
|
|
1379
|
+
protoOf(DealerReducerImpl).k6c = function (cards, cardToAdd) {
|
|
1380
|
+
if (this.h6c_1) {
|
|
1381
|
+
this.g6c_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
|
|
1353
1382
|
}
|
|
1354
1383
|
if (cards.s1(cardToAdd)) {
|
|
1355
|
-
this.
|
|
1384
|
+
this.g6c_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
|
|
1356
1385
|
}
|
|
1357
1386
|
return plus_0(cards, cardToAdd);
|
|
1358
1387
|
};
|
|
1359
1388
|
function DealerReducer() {
|
|
1360
1389
|
}
|
|
1361
1390
|
//region block: post-declaration
|
|
1362
|
-
protoOf(CardsDealerProviderImpl).
|
|
1363
|
-
protoOf(FakeCardsDealerProvider).
|
|
1364
|
-
protoOf(CombinationsCheckerProviderImpl).
|
|
1365
|
-
protoOf(CombinationsCheckerProviderImpl).
|
|
1391
|
+
protoOf(CardsDealerProviderImpl).f6a = standardShuffledCards$default;
|
|
1392
|
+
protoOf(FakeCardsDealerProvider).f6a = standardShuffledCards$default;
|
|
1393
|
+
protoOf(CombinationsCheckerProviderImpl).b6c = findCardsInRowCombinations$default;
|
|
1394
|
+
protoOf(CombinationsCheckerProviderImpl).d6c = findSameCardsNumberCombinations$default;
|
|
1366
1395
|
//endregion
|
|
1367
1396
|
//region block: init
|
|
1368
1397
|
CoreConfig_instance = new CoreConfig();
|