game_client_logic_deb 1.8.147 → 1.8.181
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 +79 -79
- package/Kosi-Kodein-kodein-di.js +624 -624
- package/Kotlin-DateTime-library-kotlinx-datetime.js +5660 -307
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1742 -1602
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +19640 -15510
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +337 -93
- package/Logic_Debertz-game_client.js +4974 -4762
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2646 -2310
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +31 -31
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +2519 -2519
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +280 -280
- package/kotlinx-serialization-kotlinx-serialization-core.js +2050 -2049
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1466 -1466
- package/ktor-ktor-client-content-negotiation.js +15 -0
- package/ktor-ktor-client-content-negotiation.js.map +1 -0
- package/ktor-ktor-client-core.js +15 -0
- package/ktor-ktor-client-core.js.map +1 -0
- package/ktor-ktor-client-js.js +15 -0
- package/ktor-ktor-client-js.js.map +1 -0
- package/ktor-ktor-client-logging.js +57 -0
- package/ktor-ktor-client-logging.js.map +1 -0
- package/ktor-ktor-events.js +15 -0
- package/ktor-ktor-events.js.map +1 -0
- package/ktor-ktor-http.js +15 -0
- package/ktor-ktor-http.js.map +1 -0
- package/ktor-ktor-io.js +19 -0
- package/ktor-ktor-io.js.map +1 -0
- package/ktor-ktor-serialization-kotlinx-json.js +15 -0
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -0
- package/ktor-ktor-serialization-kotlinx.js +15 -0
- package/ktor-ktor-serialization-kotlinx.js.map +1 -0
- package/ktor-ktor-serialization.js +15 -0
- package/ktor-ktor-serialization.js.map +1 -0
- package/ktor-ktor-utils.js +19 -0
- package/ktor-ktor-utils.js.map +1 -0
- package/ktor-ktor-websocket-serialization.js +15 -0
- package/ktor-ktor-websocket-serialization.js.map +1 -0
- package/ktor-ktor-websockets.js +15 -0
- package/ktor-ktor-websockets.js.map +1 -0
- package/package.json +5 -2
- package/raspberry-cardgame-lib-core.js +217 -533
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +407 -0
- package/raspberry-cardgame-lib-logger.js.map +1 -0
- package/raspberry-cardgame-lib-random.js +403 -0
- package/raspberry-cardgame-lib-random.js.map +1 -0
- package/uuid.js +32 -32
|
@@ -16,50 +16,49 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
20
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
21
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.qb;
|
|
20
|
+
var initMetadataForObject = kotlin_kotlin.$_$.ya;
|
|
21
|
+
var defineProp = kotlin_kotlin.$_$.la;
|
|
22
22
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
23
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
24
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
25
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
23
|
+
var Unit_instance = kotlin_kotlin.$_$.b5;
|
|
24
|
+
var THROW_CCE = kotlin_kotlin.$_$.we;
|
|
25
|
+
var Comparator = kotlin_kotlin.$_$.ie;
|
|
26
26
|
var VOID = kotlin_kotlin.$_$.f;
|
|
27
|
-
var take = kotlin_kotlin.$_$.
|
|
28
|
-
var toList = kotlin_kotlin.$_$.
|
|
29
|
-
var takeLast = kotlin_kotlin.$_$.
|
|
30
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
31
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
32
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
33
|
-
var Enum = kotlin_kotlin.$_$.
|
|
34
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
35
|
-
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
27
|
+
var take = kotlin_kotlin.$_$.v8;
|
|
28
|
+
var toList = kotlin_kotlin.$_$.y8;
|
|
29
|
+
var takeLast = kotlin_kotlin.$_$.u8;
|
|
30
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.tf;
|
|
31
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ua;
|
|
32
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
33
|
+
var Enum = kotlin_kotlin.$_$.le;
|
|
34
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ta;
|
|
35
|
+
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
|
|
36
|
+
var enumEntries = kotlin_kotlin.$_$.aa;
|
|
36
37
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
|
|
37
|
-
var lazy = kotlin_kotlin.$_$.
|
|
38
|
-
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
39
|
-
var
|
|
40
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
41
|
-
var first = kotlin_kotlin.$_$.
|
|
42
|
-
var sorted = kotlin_kotlin.$_$.
|
|
43
|
-
var asReversed = kotlin_kotlin.$_$.
|
|
44
|
-
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
38
|
+
var lazy = kotlin_kotlin.$_$.rf;
|
|
39
|
+
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
40
|
+
var Long = kotlin_kotlin.$_$.qe;
|
|
41
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.wa;
|
|
42
|
+
var first = kotlin_kotlin.$_$.d7;
|
|
43
|
+
var sorted = kotlin_kotlin.$_$.s8;
|
|
44
|
+
var asReversed = kotlin_kotlin.$_$.v5;
|
|
45
|
+
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
46
|
+
var first_0 = kotlin_kotlin.$_$.c7;
|
|
47
|
+
var compareValues = kotlin_kotlin.$_$.i9;
|
|
48
|
+
var toMutableList = kotlin_kotlin.$_$.b9;
|
|
49
|
+
var sortWith = kotlin_kotlin.$_$.q8;
|
|
50
|
+
var lastOrNull = kotlin_kotlin.$_$.s7;
|
|
48
51
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
49
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
52
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.c6;
|
|
50
53
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
var
|
|
57
|
-
var
|
|
58
|
-
var
|
|
59
|
-
var printStackTrace = kotlin_kotlin.$_$.ef;
|
|
60
|
-
var isBlank = kotlin_kotlin.$_$.lc;
|
|
61
|
-
var stackTraceToString = kotlin_kotlin.$_$.ff;
|
|
62
|
-
var toString_0 = kotlin_kotlin.$_$.hf;
|
|
54
|
+
var sortedWith = kotlin_kotlin.$_$.r8;
|
|
55
|
+
var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.u1;
|
|
56
|
+
var compareTo = kotlin_kotlin.$_$.ka;
|
|
57
|
+
var toString = kotlin_kotlin.$_$.ub;
|
|
58
|
+
var dropLast = kotlin_kotlin.$_$.u6;
|
|
59
|
+
var plus = kotlin_kotlin.$_$.h8;
|
|
60
|
+
var minus = kotlin_kotlin.$_$.c8;
|
|
61
|
+
var plus_0 = kotlin_kotlin.$_$.i8;
|
|
63
62
|
//endregion
|
|
64
63
|
//region block: pre-declaration
|
|
65
64
|
initMetadataForObject(CoreConfig, 'CoreConfig');
|
|
@@ -71,73 +70,40 @@
|
|
|
71
70
|
initMetadataForClass(GameCard, 'GameCard');
|
|
72
71
|
initMetadataForCompanion(Companion_1, VOID, [SerializerFactory]);
|
|
73
72
|
initMetadataForClass(Suit, 'Suit', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_1});
|
|
73
|
+
initMetadataForClass(CardsRandomProvider, 'CardsRandomProvider', VOID, Enum);
|
|
74
|
+
function createNewShuffledCardDeck$default(leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, timeoutMillis, provider, $completion, $super) {
|
|
75
|
+
leftCardIndexForEachSuit = leftCardIndexForEachSuit === VOID ? 0 : leftCardIndexForEachSuit;
|
|
76
|
+
rightCardIndexForEachSuit = rightCardIndexForEachSuit === VOID ? 0 : rightCardIndexForEachSuit;
|
|
77
|
+
timeoutMillis = timeoutMillis === VOID ? new Long(5000, 0) : timeoutMillis;
|
|
78
|
+
provider = provider === VOID ? CardsRandomProvider_CUSTOM_getInstance() : provider;
|
|
79
|
+
return $super === VOID ? this.q33(leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, timeoutMillis, provider, $completion) : $super.q33.call(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, timeoutMillis, provider, $completion);
|
|
80
|
+
}
|
|
74
81
|
function standardShuffledCards$default(cards, times, $super) {
|
|
75
82
|
times = times === VOID ? 3 : times;
|
|
76
|
-
return $super === VOID ? this.
|
|
83
|
+
return $super === VOID ? this.t33(cards, times) : $super.t33.call(this, cards, times);
|
|
77
84
|
}
|
|
78
|
-
initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider');
|
|
85
|
+
initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider', VOID, VOID, VOID, [6]);
|
|
79
86
|
function findCardsInRowCombinations$default(cards, supportedCombinations, checkFromIndex, includeCardNames, suit, $super) {
|
|
80
87
|
checkFromIndex = checkFromIndex === VOID ? first(supportedCombinations) : checkFromIndex;
|
|
81
88
|
includeCardNames = includeCardNames === VOID ? null : includeCardNames;
|
|
82
89
|
suit = suit === VOID ? null : suit;
|
|
83
|
-
return $super === VOID ? this.
|
|
90
|
+
return $super === VOID ? this.v33(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.v33.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
|
|
84
91
|
}
|
|
85
92
|
function findSameCardsNumberCombinations$default(cards, cardsCount, includeCardNames, $super) {
|
|
86
93
|
cardsCount = cardsCount === VOID ? 4 : cardsCount;
|
|
87
94
|
includeCardNames = includeCardNames === VOID ? null : includeCardNames;
|
|
88
|
-
return $super === VOID ? this.
|
|
95
|
+
return $super === VOID ? this.x33(cards, cardsCount, includeCardNames) : $super.x33.call(this, cards, cardsCount, includeCardNames);
|
|
89
96
|
}
|
|
90
97
|
initMetadataForInterface(CombinationsCheckerProvider, 'CombinationsCheckerProvider');
|
|
98
|
+
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator]);
|
|
91
99
|
initMetadataForClass(CombinationsCheckerProviderImpl, 'CombinationsCheckerProviderImpl', CombinationsCheckerProviderImpl, VOID, [CombinationsCheckerProvider]);
|
|
92
100
|
initMetadataForInterface(DealerReducer, 'DealerReducer');
|
|
93
101
|
initMetadataForClass(DealerReducerImpl, 'DealerReducerImpl', VOID, VOID, [DealerReducer]);
|
|
94
|
-
initMetadataForCompanion(Companion_2);
|
|
95
|
-
function d(tag, message, payload, $super) {
|
|
96
|
-
tag = tag === VOID ? null : tag;
|
|
97
|
-
payload = payload === VOID ? null : payload;
|
|
98
|
-
return this.h2n(tag, message, payload);
|
|
99
|
-
}
|
|
100
|
-
function e(tag, message, exception, payload, $super) {
|
|
101
|
-
tag = tag === VOID ? null : tag;
|
|
102
|
-
message = message === VOID ? null : message;
|
|
103
|
-
exception = exception === VOID ? null : exception;
|
|
104
|
-
payload = payload === VOID ? null : payload;
|
|
105
|
-
return this.i2n(tag, message, exception, payload);
|
|
106
|
-
}
|
|
107
|
-
function w(tag, message, exception, payload, $super) {
|
|
108
|
-
tag = tag === VOID ? null : tag;
|
|
109
|
-
message = message === VOID ? null : message;
|
|
110
|
-
exception = exception === VOID ? null : exception;
|
|
111
|
-
payload = payload === VOID ? null : payload;
|
|
112
|
-
return this.j2n(tag, message, exception, payload);
|
|
113
|
-
}
|
|
114
|
-
function v(tag, message, exception, payload, $super) {
|
|
115
|
-
tag = tag === VOID ? null : tag;
|
|
116
|
-
message = message === VOID ? null : message;
|
|
117
|
-
exception = exception === VOID ? null : exception;
|
|
118
|
-
payload = payload === VOID ? null : payload;
|
|
119
|
-
return this.k2n(tag, message, exception, payload);
|
|
120
|
-
}
|
|
121
|
-
function i(tag, message, payload, $super) {
|
|
122
|
-
tag = tag === VOID ? null : tag;
|
|
123
|
-
payload = payload === VOID ? null : payload;
|
|
124
|
-
return this.l2n(tag, message, payload);
|
|
125
|
-
}
|
|
126
|
-
initMetadataForInterface(LoggerOutput, 'LoggerOutput');
|
|
127
|
-
initMetadataForInterface(RaspberryLogger, 'RaspberryLogger', VOID, VOID, [LoggerOutput]);
|
|
128
|
-
initMetadataForClass(CombinedRaspberryLogger, 'CombinedRaspberryLogger', VOID, VOID, [RaspberryLogger]);
|
|
129
|
-
initMetadataForInterface(LoggerEnabledTrigger, 'LoggerEnabledTrigger', VOID, VOID, [RaspberryLogger]);
|
|
130
|
-
initMetadataForInterface(LoggerPayload, 'LoggerPayload');
|
|
131
|
-
initMetadataForClass(PlatformRaspberryLogger, 'PlatformRaspberryLogger', PlatformRaspberryLogger, VOID, [RaspberryLogger, LoggerEnabledTrigger]);
|
|
132
|
-
initMetadataForClass(Category, 'Category', VOID, Enum);
|
|
133
|
-
initMetadataForClass(Logger$loggerSource$1);
|
|
134
|
-
initMetadataForObject(Logger, 'Logger');
|
|
135
|
-
initMetadataForClass(PlatformLogger, 'PlatformLogger', PlatformLogger);
|
|
136
102
|
//endregion
|
|
137
103
|
function CoreConfig() {
|
|
138
|
-
this.version = '0.0.
|
|
104
|
+
this.version = '0.0.30';
|
|
139
105
|
}
|
|
140
|
-
protoOf(CoreConfig).
|
|
106
|
+
protoOf(CoreConfig).z32 = function () {
|
|
141
107
|
return this.version;
|
|
142
108
|
};
|
|
143
109
|
var CoreConfig_instance;
|
|
@@ -160,12 +126,12 @@
|
|
|
160
126
|
}
|
|
161
127
|
function CardNumberComparator() {
|
|
162
128
|
}
|
|
163
|
-
protoOf(CardNumberComparator).
|
|
164
|
-
return b.
|
|
129
|
+
protoOf(CardNumberComparator).a33 = function (a, b) {
|
|
130
|
+
return b.c33() - a.c33() | 0;
|
|
165
131
|
};
|
|
166
132
|
protoOf(CardNumberComparator).compare = function (a, b) {
|
|
167
133
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
168
|
-
return this.
|
|
134
|
+
return this.a33(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
169
135
|
};
|
|
170
136
|
var CardNumberComparator_instance;
|
|
171
137
|
function CardNumberComparator_getInstance() {
|
|
@@ -173,12 +139,12 @@
|
|
|
173
139
|
}
|
|
174
140
|
function CardIndexComparator() {
|
|
175
141
|
}
|
|
176
|
-
protoOf(CardIndexComparator).
|
|
177
|
-
return a.
|
|
142
|
+
protoOf(CardIndexComparator).a33 = function (a, b) {
|
|
143
|
+
return a.b33_1 - b.b33_1 | 0;
|
|
178
144
|
};
|
|
179
145
|
protoOf(CardIndexComparator).compare = function (a, b) {
|
|
180
146
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
181
|
-
return this.
|
|
147
|
+
return this.a33(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
182
148
|
};
|
|
183
149
|
var CardIndexComparator_instance;
|
|
184
150
|
function CardIndexComparator_getInstance() {
|
|
@@ -306,10 +272,10 @@
|
|
|
306
272
|
}
|
|
307
273
|
function Companion() {
|
|
308
274
|
}
|
|
309
|
-
protoOf(Companion).
|
|
275
|
+
protoOf(Companion).d33 = function (suit, cardNumber) {
|
|
310
276
|
return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
|
|
311
277
|
};
|
|
312
|
-
protoOf(Companion).
|
|
278
|
+
protoOf(Companion).e33 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
313
279
|
var tmp;
|
|
314
280
|
if (previousStubCardWithMaxIndex == null) {
|
|
315
281
|
tmp = null;
|
|
@@ -318,27 +284,27 @@
|
|
|
318
284
|
// Inline function 'kotlin.contracts.contract' call
|
|
319
285
|
var tmp_0;
|
|
320
286
|
// Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueStub.<anonymous>' call
|
|
321
|
-
if (previousStubCardWithMaxIndex.
|
|
287
|
+
if (previousStubCardWithMaxIndex.f33()) {
|
|
322
288
|
tmp_0 = previousStubCardWithMaxIndex;
|
|
323
289
|
} else {
|
|
324
290
|
tmp_0 = null;
|
|
325
291
|
}
|
|
326
292
|
tmp = tmp_0;
|
|
327
293
|
}
|
|
328
|
-
var
|
|
329
|
-
var
|
|
330
|
-
var
|
|
294
|
+
var tmp3_safe_receiver = tmp;
|
|
295
|
+
var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.b33_1;
|
|
296
|
+
var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.k33(tmp4_safe_receiver, playerIndex, reverse);
|
|
331
297
|
var tmp_1;
|
|
332
|
-
if (
|
|
298
|
+
if (tmp5_safe_receiver == null) {
|
|
333
299
|
tmp_1 = null;
|
|
334
300
|
} else {
|
|
335
301
|
// Inline function 'kotlin.let' call
|
|
336
302
|
// Inline function 'kotlin.contracts.contract' call
|
|
337
303
|
// Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueStub.<anonymous>' call
|
|
338
|
-
tmp_1 =
|
|
304
|
+
tmp_1 = tmp5_safe_receiver + 1 | 0;
|
|
339
305
|
}
|
|
340
|
-
var
|
|
341
|
-
var previousGameCardIndex =
|
|
306
|
+
var tmp0_elvis_lhs = tmp_1;
|
|
307
|
+
var previousGameCardIndex = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
342
308
|
var tmp_2;
|
|
343
309
|
if (reverse) {
|
|
344
310
|
tmp_2 = ((53 + imul(playerIndex, 14) | 0) - position | 0) - previousGameCardIndex | 0;
|
|
@@ -348,10 +314,10 @@
|
|
|
348
314
|
var index = tmp_2;
|
|
349
315
|
return new GameCard(index);
|
|
350
316
|
};
|
|
351
|
-
protoOf(Companion).
|
|
317
|
+
protoOf(Companion).l33 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
|
|
352
318
|
previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
|
|
353
319
|
reverse = reverse === VOID ? false : reverse;
|
|
354
|
-
return $super === VOID ? this.
|
|
320
|
+
return $super === VOID ? this.e33(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.e33.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
355
321
|
};
|
|
356
322
|
var Companion_instance;
|
|
357
323
|
function Companion_getInstance() {
|
|
@@ -455,7 +421,7 @@
|
|
|
455
421
|
return tmp;
|
|
456
422
|
}
|
|
457
423
|
function _get_isShirt__vd98rp($this) {
|
|
458
|
-
return $this.
|
|
424
|
+
return $this.b33_1 === 52;
|
|
459
425
|
}
|
|
460
426
|
function CardName(name, ordinal) {
|
|
461
427
|
Enum.call(this, name, ordinal);
|
|
@@ -464,12 +430,12 @@
|
|
|
464
430
|
return getShortName(this);
|
|
465
431
|
};
|
|
466
432
|
function Companion_0() {
|
|
467
|
-
this.
|
|
468
|
-
this.
|
|
469
|
-
this.
|
|
470
|
-
this.
|
|
433
|
+
this.g33_1 = -1;
|
|
434
|
+
this.h33_1 = 13;
|
|
435
|
+
this.i33_1 = 52;
|
|
436
|
+
this.j33_1 = 53;
|
|
471
437
|
}
|
|
472
|
-
protoOf(Companion_0).
|
|
438
|
+
protoOf(Companion_0).k33 = function (_this__u8e3s4, playerIndex, reverse) {
|
|
473
439
|
var tmp;
|
|
474
440
|
if (reverse) {
|
|
475
441
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -539,59 +505,59 @@
|
|
|
539
505
|
return CardName_STUB_instance;
|
|
540
506
|
}
|
|
541
507
|
function GameCard(index) {
|
|
542
|
-
this.
|
|
508
|
+
this.b33_1 = index;
|
|
543
509
|
}
|
|
544
|
-
protoOf(GameCard).
|
|
510
|
+
protoOf(GameCard).m33 = function () {
|
|
545
511
|
var tmp;
|
|
546
|
-
var containsArg = this.
|
|
512
|
+
var containsArg = this.b33_1;
|
|
547
513
|
if (0 <= containsArg ? containsArg <= 13 : false) {
|
|
548
514
|
tmp = Suit_DIAMOND_getInstance();
|
|
549
515
|
} else {
|
|
550
|
-
if (this.
|
|
516
|
+
if (this.b33_1 <= 26) {
|
|
551
517
|
tmp = Suit_SPADE_getInstance();
|
|
552
518
|
} else {
|
|
553
|
-
if (this.
|
|
519
|
+
if (this.b33_1 <= 39) {
|
|
554
520
|
tmp = Suit_HEART_getInstance();
|
|
555
521
|
} else {
|
|
556
|
-
if (this.
|
|
522
|
+
if (this.b33_1 <= 52) {
|
|
557
523
|
tmp = Suit_CLUB_getInstance();
|
|
558
524
|
} else {
|
|
559
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
525
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.b33_1);
|
|
560
526
|
}
|
|
561
527
|
}
|
|
562
528
|
}
|
|
563
529
|
}
|
|
564
530
|
return tmp;
|
|
565
531
|
};
|
|
566
|
-
protoOf(GameCard).
|
|
532
|
+
protoOf(GameCard).c33 = function () {
|
|
567
533
|
var tmp;
|
|
568
|
-
if (this.
|
|
534
|
+
if (this.f33()) {
|
|
569
535
|
tmp = -1;
|
|
570
536
|
} else {
|
|
571
|
-
tmp = this.
|
|
537
|
+
tmp = this.b33_1 - imul(13, getIndex(this.m33())) | 0;
|
|
572
538
|
}
|
|
573
539
|
return tmp;
|
|
574
540
|
};
|
|
575
541
|
protoOf(GameCard).o2 = function () {
|
|
576
|
-
return this.
|
|
542
|
+
return this.f33() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.c33());
|
|
577
543
|
};
|
|
578
|
-
protoOf(GameCard).
|
|
579
|
-
return !_get_isShirt__vd98rp(this) && !this.
|
|
544
|
+
protoOf(GameCard).n33 = function () {
|
|
545
|
+
return !_get_isShirt__vd98rp(this) && !this.f33();
|
|
580
546
|
};
|
|
581
|
-
protoOf(GameCard).
|
|
582
|
-
return this.
|
|
547
|
+
protoOf(GameCard).f33 = function () {
|
|
548
|
+
return this.b33_1 >= 53;
|
|
583
549
|
};
|
|
584
550
|
protoOf(GameCard).toString = function () {
|
|
585
551
|
if (_get_isShirt__vd98rp(this)) {
|
|
586
552
|
return 'GameCard(SHIRT)';
|
|
587
553
|
}
|
|
588
|
-
if (this.
|
|
589
|
-
return 'GameCard(STUB, ' + this.
|
|
554
|
+
if (this.f33()) {
|
|
555
|
+
return 'GameCard(STUB, ' + this.b33_1 + ')';
|
|
590
556
|
}
|
|
591
|
-
return 'GameCard(' + this.
|
|
557
|
+
return 'GameCard(' + this.m33().toString() + this.o2().toString() + ', ' + this.b33_1 + ')';
|
|
592
558
|
};
|
|
593
559
|
protoOf(GameCard).hashCode = function () {
|
|
594
|
-
return this.
|
|
560
|
+
return this.b33_1;
|
|
595
561
|
};
|
|
596
562
|
protoOf(GameCard).equals = function (other) {
|
|
597
563
|
if (this === other)
|
|
@@ -599,12 +565,12 @@
|
|
|
599
565
|
if (!(other instanceof GameCard))
|
|
600
566
|
return false;
|
|
601
567
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
602
|
-
if (!(this.
|
|
568
|
+
if (!(this.b33_1 === tmp0_other_with_cast.b33_1))
|
|
603
569
|
return false;
|
|
604
570
|
return true;
|
|
605
571
|
};
|
|
606
572
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
607
|
-
return $this.
|
|
573
|
+
return $this.o33_1.e2();
|
|
608
574
|
}
|
|
609
575
|
function Suit$Companion$_anonymous__cbm2iq() {
|
|
610
576
|
return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
|
|
@@ -634,17 +600,25 @@
|
|
|
634
600
|
}
|
|
635
601
|
return tmp;
|
|
636
602
|
}
|
|
603
|
+
function values() {
|
|
604
|
+
return [Suit_DIAMOND_getInstance(), Suit_SPADE_getInstance(), Suit_HEART_getInstance(), Suit_CLUB_getInstance()];
|
|
605
|
+
}
|
|
606
|
+
function get_entries() {
|
|
607
|
+
if ($ENTRIES == null)
|
|
608
|
+
$ENTRIES = enumEntries(values());
|
|
609
|
+
return $ENTRIES;
|
|
610
|
+
}
|
|
637
611
|
function Companion_1() {
|
|
638
612
|
Companion_instance_1 = this;
|
|
639
613
|
var tmp = this;
|
|
640
614
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
641
|
-
tmp.
|
|
615
|
+
tmp.o33_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
|
|
642
616
|
}
|
|
643
|
-
protoOf(Companion_1).
|
|
617
|
+
protoOf(Companion_1).y23 = function () {
|
|
644
618
|
return _get_$cachedSerializer__te6jhj(this);
|
|
645
619
|
};
|
|
646
|
-
protoOf(Companion_1).
|
|
647
|
-
return this.
|
|
620
|
+
protoOf(Companion_1).o1s = function (typeParamsSerializers) {
|
|
621
|
+
return this.y23();
|
|
648
622
|
};
|
|
649
623
|
var Companion_instance_1;
|
|
650
624
|
function Companion_getInstance_1() {
|
|
@@ -653,14 +627,6 @@
|
|
|
653
627
|
new Companion_1();
|
|
654
628
|
return Companion_instance_1;
|
|
655
629
|
}
|
|
656
|
-
function values() {
|
|
657
|
-
return [Suit_DIAMOND_getInstance(), Suit_SPADE_getInstance(), Suit_HEART_getInstance(), Suit_CLUB_getInstance()];
|
|
658
|
-
}
|
|
659
|
-
function get_entries() {
|
|
660
|
-
if ($ENTRIES == null)
|
|
661
|
-
$ENTRIES = enumEntries(values());
|
|
662
|
-
return $ENTRIES;
|
|
663
|
-
}
|
|
664
630
|
var Suit_entriesInitialized;
|
|
665
631
|
function Suit_initEntries() {
|
|
666
632
|
if (Suit_entriesInitialized)
|
|
@@ -716,6 +682,27 @@
|
|
|
716
682
|
}
|
|
717
683
|
return tmp;
|
|
718
684
|
}
|
|
685
|
+
var CardsRandomProvider_CUSTOM_instance;
|
|
686
|
+
var CardsRandomProvider_RANDOM_ORG_instance;
|
|
687
|
+
var CardsRandomProvider_entriesInitialized;
|
|
688
|
+
function CardsRandomProvider_initEntries() {
|
|
689
|
+
if (CardsRandomProvider_entriesInitialized)
|
|
690
|
+
return Unit_instance;
|
|
691
|
+
CardsRandomProvider_entriesInitialized = true;
|
|
692
|
+
CardsRandomProvider_CUSTOM_instance = new CardsRandomProvider('CUSTOM', 0);
|
|
693
|
+
CardsRandomProvider_RANDOM_ORG_instance = new CardsRandomProvider('RANDOM_ORG', 1);
|
|
694
|
+
}
|
|
695
|
+
function CardsRandomProvider(name, ordinal) {
|
|
696
|
+
Enum.call(this, name, ordinal);
|
|
697
|
+
}
|
|
698
|
+
function CardsRandomProvider_CUSTOM_getInstance() {
|
|
699
|
+
CardsRandomProvider_initEntries();
|
|
700
|
+
return CardsRandomProvider_CUSTOM_instance;
|
|
701
|
+
}
|
|
702
|
+
function CardsRandomProvider_RANDOM_ORG_getInstance() {
|
|
703
|
+
CardsRandomProvider_initEntries();
|
|
704
|
+
return CardsRandomProvider_RANDOM_ORG_instance;
|
|
705
|
+
}
|
|
719
706
|
function CardsDealerProvider() {
|
|
720
707
|
}
|
|
721
708
|
function CombinationsCheckerProvider() {
|
|
@@ -743,18 +730,39 @@
|
|
|
743
730
|
var longestCombinationSupport = tmp$ret$1;
|
|
744
731
|
return takeLast(cards, longestCombinationSupport);
|
|
745
732
|
}
|
|
733
|
+
function sam$kotlin_Comparator$0(function_0) {
|
|
734
|
+
this.a34_1 = function_0;
|
|
735
|
+
}
|
|
736
|
+
protoOf(sam$kotlin_Comparator$0).cc = function (a, b) {
|
|
737
|
+
return this.a34_1(a, b);
|
|
738
|
+
};
|
|
739
|
+
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
740
|
+
return this.cc(a, b);
|
|
741
|
+
};
|
|
742
|
+
function CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda(a, b) {
|
|
743
|
+
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
744
|
+
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
|
|
745
|
+
var tmp = first_0(a).b33_1;
|
|
746
|
+
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
|
|
747
|
+
var tmp$ret$1 = first_0(b).b33_1;
|
|
748
|
+
return compareValues(tmp, tmp$ret$1);
|
|
749
|
+
}
|
|
746
750
|
function CombinationsCheckerProviderImpl() {
|
|
747
751
|
}
|
|
748
|
-
protoOf(CombinationsCheckerProviderImpl).
|
|
752
|
+
protoOf(CombinationsCheckerProviderImpl).v33 = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
|
|
749
753
|
// Inline function 'kotlin.collections.filter' call
|
|
754
|
+
// Inline function 'kotlin.apply' call
|
|
755
|
+
var this_0 = toMutableList(cards);
|
|
756
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
757
|
+
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
|
|
758
|
+
sortWith(this_0, CardIndexComparator_instance);
|
|
750
759
|
// Inline function 'kotlin.collections.filterTo' call
|
|
751
|
-
var this_0 = sortedWith(cards, CardIndexComparator_instance);
|
|
752
760
|
var destination = ArrayList_init_$Create$();
|
|
753
761
|
var tmp0_iterator = this_0.j();
|
|
754
762
|
while (tmp0_iterator.k()) {
|
|
755
763
|
var element = tmp0_iterator.l();
|
|
756
764
|
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
|
|
757
|
-
if (element.
|
|
765
|
+
if (element.n33()) {
|
|
758
766
|
destination.e(element);
|
|
759
767
|
}
|
|
760
768
|
}
|
|
@@ -771,14 +779,14 @@
|
|
|
771
779
|
inductionVariable = inductionVariable + 1 | 0;
|
|
772
780
|
var previousCard = lastOrNull(combinationCards);
|
|
773
781
|
var currentCard = sortedByIndexCards.o(i);
|
|
774
|
-
var isNextInRow = !(previousCard == null) && currentCard.
|
|
782
|
+
var isNextInRow = !(previousCard == null) && currentCard.b33_1 === (previousCard.b33_1 + 1 | 0) && currentCard.m33().equals(previousCard.m33());
|
|
775
783
|
var passedCardNamesCheck = includeCardNames == null || includeCardNames.q1(currentCard.o2());
|
|
776
|
-
var passedSuitCheck = suit == null || currentCard.
|
|
784
|
+
var passedSuitCheck = suit == null || currentCard.m33().equals(suit);
|
|
777
785
|
if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
|
|
778
786
|
combinationCards.e(currentCard);
|
|
779
787
|
} else {
|
|
780
788
|
if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
|
|
781
|
-
combinations.n(this.
|
|
789
|
+
combinations.n(this.z33(toMutableList(combinationCards), supportedCombinations));
|
|
782
790
|
}
|
|
783
791
|
combinationCards.z1();
|
|
784
792
|
if (passedSuitCheck && passedCardNamesCheck) {
|
|
@@ -788,21 +796,25 @@
|
|
|
788
796
|
}
|
|
789
797
|
while (inductionVariable <= last);
|
|
790
798
|
if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
|
|
791
|
-
combinations.n(this.
|
|
799
|
+
combinations.n(this.z33(toMutableList(combinationCards), supportedCombinations));
|
|
792
800
|
}
|
|
793
801
|
return combinations;
|
|
794
802
|
};
|
|
795
|
-
protoOf(CombinationsCheckerProviderImpl).
|
|
803
|
+
protoOf(CombinationsCheckerProviderImpl).x33 = function (cards, cardsCount, includeCardNames) {
|
|
796
804
|
// Inline function 'kotlin.collections.filter' call
|
|
797
805
|
// Inline function 'kotlin.collections.filter' call
|
|
806
|
+
// Inline function 'kotlin.apply' call
|
|
807
|
+
var this_0 = toMutableList(cards);
|
|
808
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
809
|
+
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
|
|
810
|
+
sortWith(this_0, CardIndexComparator_instance);
|
|
798
811
|
// Inline function 'kotlin.collections.filterTo' call
|
|
799
|
-
var this_0 = sortedWith(cards, CardNumberComparator_instance);
|
|
800
812
|
var destination = ArrayList_init_$Create$();
|
|
801
813
|
var tmp0_iterator = this_0.j();
|
|
802
814
|
while (tmp0_iterator.k()) {
|
|
803
815
|
var element = tmp0_iterator.l();
|
|
804
816
|
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
|
|
805
|
-
if (element.
|
|
817
|
+
if (element.n33()) {
|
|
806
818
|
destination.e(element);
|
|
807
819
|
}
|
|
808
820
|
}
|
|
@@ -825,7 +837,7 @@
|
|
|
825
837
|
while (tmp0_iterator_1.k()) {
|
|
826
838
|
var element_1 = tmp0_iterator_1.l();
|
|
827
839
|
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
|
|
828
|
-
var key = element_1.
|
|
840
|
+
var key = element_1.c33();
|
|
829
841
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
830
842
|
var value = destination_1.h2(key);
|
|
831
843
|
var tmp;
|
|
@@ -859,12 +871,12 @@
|
|
|
859
871
|
while (tmp0_iterator_3.k()) {
|
|
860
872
|
var item = tmp0_iterator_3.l();
|
|
861
873
|
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
|
|
862
|
-
var tmp$ret$
|
|
863
|
-
destination_3.e(tmp$ret$
|
|
874
|
+
var tmp$ret$16 = sortedWith(item, CardIndexComparator_instance);
|
|
875
|
+
destination_3.e(tmp$ret$16);
|
|
864
876
|
}
|
|
865
877
|
return destination_3;
|
|
866
878
|
};
|
|
867
|
-
protoOf(CombinationsCheckerProviderImpl).
|
|
879
|
+
protoOf(CombinationsCheckerProviderImpl).z33 = function (cards, supportedCombinations) {
|
|
868
880
|
// Inline function 'kotlin.collections.minOf' call
|
|
869
881
|
var iterator = supportedCombinations.j();
|
|
870
882
|
if (!iterator.k())
|
|
@@ -879,44 +891,43 @@
|
|
|
879
891
|
}
|
|
880
892
|
}
|
|
881
893
|
var shortestCombinationSupport = minValue;
|
|
882
|
-
var cardsToCheck = cards;
|
|
894
|
+
var cardsToCheck = toMutableList(cards);
|
|
883
895
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
884
896
|
var combinations = ArrayList_init_$Create$();
|
|
885
897
|
while (cardsToCheck.m() >= shortestCombinationSupport) {
|
|
886
898
|
var combinationCards = createCombination(this, cardsToCheck, supportedCombinations);
|
|
887
|
-
combinations.e(combinationCards);
|
|
888
|
-
|
|
889
|
-
var this_0 = toMutableList(cardsToCheck);
|
|
890
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
891
|
-
// Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
|
|
892
|
-
this_0.x1(combinationCards);
|
|
893
|
-
cardsToCheck = this_0;
|
|
899
|
+
combinations.e(toList(combinationCards));
|
|
900
|
+
cardsToCheck.x1(combinationCards);
|
|
894
901
|
}
|
|
895
|
-
|
|
902
|
+
// Inline function 'kotlin.collections.sortedBy' call
|
|
903
|
+
// Inline function 'kotlin.comparisons.compareBy' call
|
|
904
|
+
var tmp = CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda;
|
|
905
|
+
var tmp$ret$4 = new sam$kotlin_Comparator$0(tmp);
|
|
906
|
+
return sortedWith(combinations, tmp$ret$4);
|
|
896
907
|
};
|
|
897
908
|
function DealerReducerImpl(logger, enableLogs) {
|
|
898
|
-
this.
|
|
899
|
-
this.
|
|
909
|
+
this.b34_1 = logger;
|
|
910
|
+
this.c34_1 = enableLogs;
|
|
900
911
|
}
|
|
901
|
-
protoOf(DealerReducerImpl).
|
|
912
|
+
protoOf(DealerReducerImpl).d34 = function (cards, cardsToRemove) {
|
|
902
913
|
var list = cards;
|
|
903
|
-
var
|
|
904
|
-
while (
|
|
905
|
-
var gameCard =
|
|
906
|
-
list = this.
|
|
914
|
+
var _iterator__ex2g4s = cardsToRemove.j();
|
|
915
|
+
while (_iterator__ex2g4s.k()) {
|
|
916
|
+
var gameCard = _iterator__ex2g4s.l();
|
|
917
|
+
list = this.e34(list, gameCard);
|
|
907
918
|
}
|
|
908
919
|
return list;
|
|
909
920
|
};
|
|
910
|
-
protoOf(DealerReducerImpl).
|
|
921
|
+
protoOf(DealerReducerImpl).e34 = function (cards, cardToRemove) {
|
|
911
922
|
var tmp;
|
|
912
|
-
if (!cardToRemove.
|
|
913
|
-
if (this.
|
|
914
|
-
this.
|
|
923
|
+
if (!cardToRemove.f33() && cards.q1(cardToRemove)) {
|
|
924
|
+
if (this.c34_1) {
|
|
925
|
+
this.b34_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
|
|
915
926
|
}
|
|
916
927
|
tmp = minus(cards, cardToRemove);
|
|
917
928
|
} else {
|
|
918
|
-
if (this.
|
|
919
|
-
this.
|
|
929
|
+
if (this.c34_1) {
|
|
930
|
+
this.b34_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
|
|
920
931
|
}
|
|
921
932
|
// Inline function 'kotlin.collections.filterNot' call
|
|
922
933
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
@@ -925,7 +936,7 @@
|
|
|
925
936
|
while (tmp0_iterator.k()) {
|
|
926
937
|
var element = tmp0_iterator.l();
|
|
927
938
|
// Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
|
|
928
|
-
if (!element.
|
|
939
|
+
if (!element.f33()) {
|
|
929
940
|
destination.e(element);
|
|
930
941
|
}
|
|
931
942
|
}
|
|
@@ -937,322 +948,32 @@
|
|
|
937
948
|
while (tmp0_iterator_0.k()) {
|
|
938
949
|
var element_0 = tmp0_iterator_0.l();
|
|
939
950
|
// Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
|
|
940
|
-
if (element_0.
|
|
951
|
+
if (element_0.f33()) {
|
|
941
952
|
destination_0.e(element_0);
|
|
942
953
|
}
|
|
943
954
|
}
|
|
944
955
|
var stubCards = destination_0;
|
|
945
956
|
if (stubCards.p()) {
|
|
946
|
-
this.
|
|
957
|
+
this.b34_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
|
|
947
958
|
}
|
|
948
959
|
tmp = plus(notStubCards, dropLast(stubCards, 1));
|
|
949
960
|
}
|
|
950
961
|
return tmp;
|
|
951
962
|
};
|
|
952
|
-
protoOf(DealerReducerImpl).
|
|
953
|
-
if (this.
|
|
954
|
-
this.
|
|
963
|
+
protoOf(DealerReducerImpl).f34 = function (cards, cardToAdd) {
|
|
964
|
+
if (this.c34_1) {
|
|
965
|
+
this.b34_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
|
|
955
966
|
}
|
|
956
967
|
if (cards.q1(cardToAdd)) {
|
|
957
|
-
this.
|
|
968
|
+
this.b34_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
|
|
958
969
|
}
|
|
959
970
|
return plus_0(cards, cardToAdd);
|
|
960
971
|
};
|
|
961
972
|
function DealerReducer() {
|
|
962
973
|
}
|
|
963
|
-
function Companion_2() {
|
|
964
|
-
}
|
|
965
|
-
protoOf(Companion_2).e2n = function () {
|
|
966
|
-
return new CombinedRaspberryLogger(mutableListOf([new PlatformRaspberryLogger()]));
|
|
967
|
-
};
|
|
968
|
-
protoOf(Companion_2).k1o = function () {
|
|
969
|
-
// Inline function 'kotlin.collections.mutableListOf' call
|
|
970
|
-
var tmp$ret$0 = ArrayList_init_$Create$();
|
|
971
|
-
return new CombinedRaspberryLogger(tmp$ret$0);
|
|
972
|
-
};
|
|
973
|
-
var Companion_instance_2;
|
|
974
|
-
function Companion_getInstance_2() {
|
|
975
|
-
return Companion_instance_2;
|
|
976
|
-
}
|
|
977
|
-
function CombinedRaspberryLogger(logOutputs) {
|
|
978
|
-
this.f2n_1 = logOutputs;
|
|
979
|
-
}
|
|
980
|
-
protoOf(CombinedRaspberryLogger).g2n = function (output) {
|
|
981
|
-
this.f2n_1.e(output);
|
|
982
|
-
};
|
|
983
|
-
protoOf(CombinedRaspberryLogger).h2n = function (tag, message, payload) {
|
|
984
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
985
|
-
var tmp0_iterator = this.f2n_1.j();
|
|
986
|
-
while (tmp0_iterator.k()) {
|
|
987
|
-
var element = tmp0_iterator.l();
|
|
988
|
-
// Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.d.<anonymous>' call
|
|
989
|
-
element.d(tag, message, payload);
|
|
990
|
-
}
|
|
991
|
-
};
|
|
992
|
-
protoOf(CombinedRaspberryLogger).i2n = function (tag, message, exception, payload) {
|
|
993
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
994
|
-
var tmp0_iterator = this.f2n_1.j();
|
|
995
|
-
while (tmp0_iterator.k()) {
|
|
996
|
-
var element = tmp0_iterator.l();
|
|
997
|
-
// Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.e.<anonymous>' call
|
|
998
|
-
element.e(tag, message, exception, payload);
|
|
999
|
-
}
|
|
1000
|
-
};
|
|
1001
|
-
protoOf(CombinedRaspberryLogger).j2n = function (tag, message, exception, payload) {
|
|
1002
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
1003
|
-
var tmp0_iterator = this.f2n_1.j();
|
|
1004
|
-
while (tmp0_iterator.k()) {
|
|
1005
|
-
var element = tmp0_iterator.l();
|
|
1006
|
-
// Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.w.<anonymous>' call
|
|
1007
|
-
element.w(tag, message, exception, payload);
|
|
1008
|
-
}
|
|
1009
|
-
};
|
|
1010
|
-
protoOf(CombinedRaspberryLogger).k2n = function (tag, message, exception, payload) {
|
|
1011
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
1012
|
-
var tmp0_iterator = this.f2n_1.j();
|
|
1013
|
-
while (tmp0_iterator.k()) {
|
|
1014
|
-
var element = tmp0_iterator.l();
|
|
1015
|
-
// Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.v.<anonymous>' call
|
|
1016
|
-
element.v(tag, message, exception, payload);
|
|
1017
|
-
}
|
|
1018
|
-
};
|
|
1019
|
-
protoOf(CombinedRaspberryLogger).l2n = function (tag, message, payload) {
|
|
1020
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
1021
|
-
var tmp0_iterator = this.f2n_1.j();
|
|
1022
|
-
while (tmp0_iterator.k()) {
|
|
1023
|
-
var element = tmp0_iterator.l();
|
|
1024
|
-
// Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.i.<anonymous>' call
|
|
1025
|
-
element.i(tag, message, payload);
|
|
1026
|
-
}
|
|
1027
|
-
};
|
|
1028
|
-
function LoggerEnabledTrigger() {
|
|
1029
|
-
}
|
|
1030
|
-
function LoggerPayload() {
|
|
1031
|
-
}
|
|
1032
|
-
function PlatformRaspberryLogger(enabled) {
|
|
1033
|
-
enabled = enabled === VOID ? true : enabled;
|
|
1034
|
-
this.o2n_1 = enabled;
|
|
1035
|
-
}
|
|
1036
|
-
protoOf(PlatformRaspberryLogger).m2n = function (_set____db54di) {
|
|
1037
|
-
this.o2n_1 = _set____db54di;
|
|
1038
|
-
};
|
|
1039
|
-
protoOf(PlatformRaspberryLogger).n2n = function () {
|
|
1040
|
-
return this.o2n_1;
|
|
1041
|
-
};
|
|
1042
|
-
protoOf(PlatformRaspberryLogger).h2n = function (tag, message, payload) {
|
|
1043
|
-
if (!this.o2n_1)
|
|
1044
|
-
return Unit_instance;
|
|
1045
|
-
Logger_getInstance().s2n(tag, message);
|
|
1046
|
-
};
|
|
1047
|
-
protoOf(PlatformRaspberryLogger).i2n = function (tag, message, exception, payload) {
|
|
1048
|
-
if (!this.o2n_1)
|
|
1049
|
-
return Unit_instance;
|
|
1050
|
-
Logger_getInstance().t2n(tag, message, exception);
|
|
1051
|
-
};
|
|
1052
|
-
protoOf(PlatformRaspberryLogger).j2n = function (tag, message, exception, payload) {
|
|
1053
|
-
if (!this.o2n_1)
|
|
1054
|
-
return Unit_instance;
|
|
1055
|
-
Logger_getInstance().u2n(tag, message, exception);
|
|
1056
|
-
};
|
|
1057
|
-
protoOf(PlatformRaspberryLogger).k2n = function (tag, message, exception, payload) {
|
|
1058
|
-
if (!this.o2n_1)
|
|
1059
|
-
return Unit_instance;
|
|
1060
|
-
Logger_getInstance().v2n(tag, message, exception);
|
|
1061
|
-
};
|
|
1062
|
-
protoOf(PlatformRaspberryLogger).l2n = function (tag, message, payload) {
|
|
1063
|
-
if (!this.o2n_1)
|
|
1064
|
-
return Unit_instance;
|
|
1065
|
-
Logger_getInstance().v2n(tag, message);
|
|
1066
|
-
};
|
|
1067
|
-
function RaspberryLogger() {
|
|
1068
|
-
}
|
|
1069
|
-
function LoggerOutput() {
|
|
1070
|
-
}
|
|
1071
|
-
var Category_LIFECYCLE_instance;
|
|
1072
|
-
var Category_NONE_instance;
|
|
1073
|
-
var Category_entriesInitialized;
|
|
1074
|
-
function Category_initEntries() {
|
|
1075
|
-
if (Category_entriesInitialized)
|
|
1076
|
-
return Unit_instance;
|
|
1077
|
-
Category_entriesInitialized = true;
|
|
1078
|
-
Category_LIFECYCLE_instance = new Category('LIFECYCLE', 0, true);
|
|
1079
|
-
Category_NONE_instance = new Category('NONE', 1, true);
|
|
1080
|
-
}
|
|
1081
|
-
function generateTag($this, tag) {
|
|
1082
|
-
return !($this.r2n_1 == null) && !(tag == null) ? '' + $this.r2n_1 + ':' + tag : tag;
|
|
1083
|
-
}
|
|
1084
|
-
function Category(name, ordinal, isEnabled) {
|
|
1085
|
-
Enum.call(this, name, ordinal);
|
|
1086
|
-
this.y2n_1 = isEnabled;
|
|
1087
|
-
}
|
|
1088
|
-
function Logger$loggerSource$1() {
|
|
1089
|
-
this.z2n_1 = new PlatformLogger();
|
|
1090
|
-
}
|
|
1091
|
-
protoOf(Logger$loggerSource$1).a2o = function (tag, msg) {
|
|
1092
|
-
this.z2n_1.a2o(tag, msg);
|
|
1093
|
-
};
|
|
1094
|
-
protoOf(Logger$loggerSource$1).b2o = function (tag, msg, exception) {
|
|
1095
|
-
this.z2n_1.b2o(tag, msg, exception);
|
|
1096
|
-
};
|
|
1097
|
-
protoOf(Logger$loggerSource$1).c2o = function (tag, msg, exception) {
|
|
1098
|
-
this.z2n_1.c2o(tag, msg, exception);
|
|
1099
|
-
};
|
|
1100
|
-
protoOf(Logger$loggerSource$1).d2o = function (tag, msg, exception) {
|
|
1101
|
-
this.z2n_1.d2o(tag, msg, exception);
|
|
1102
|
-
};
|
|
1103
|
-
function Category_NONE_getInstance() {
|
|
1104
|
-
Category_initEntries();
|
|
1105
|
-
return Category_NONE_instance;
|
|
1106
|
-
}
|
|
1107
|
-
function Logger() {
|
|
1108
|
-
Logger_instance = this;
|
|
1109
|
-
var tmp = this;
|
|
1110
|
-
tmp.p2n_1 = new Logger$loggerSource$1();
|
|
1111
|
-
this.q2n_1 = true;
|
|
1112
|
-
this.r2n_1 = null;
|
|
1113
|
-
}
|
|
1114
|
-
protoOf(Logger).s2n = function (tag, message) {
|
|
1115
|
-
this.e2o(tag, message, Category_NONE_getInstance());
|
|
1116
|
-
};
|
|
1117
|
-
protoOf(Logger).f2o = function (tag, message, exception, category) {
|
|
1118
|
-
if (this.q2n_1 && category.y2n_1) {
|
|
1119
|
-
if (exception == null)
|
|
1120
|
-
null;
|
|
1121
|
-
else {
|
|
1122
|
-
printStackTrace(exception);
|
|
1123
|
-
}
|
|
1124
|
-
this.p2n_1.c2o(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
1125
|
-
}
|
|
1126
|
-
};
|
|
1127
|
-
protoOf(Logger).u2n = function (tag, message, exception, category, $super) {
|
|
1128
|
-
tag = tag === VOID ? null : tag;
|
|
1129
|
-
message = message === VOID ? null : message;
|
|
1130
|
-
exception = exception === VOID ? null : exception;
|
|
1131
|
-
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
1132
|
-
var tmp;
|
|
1133
|
-
if ($super === VOID) {
|
|
1134
|
-
this.f2o(tag, message, exception, category);
|
|
1135
|
-
tmp = Unit_instance;
|
|
1136
|
-
} else {
|
|
1137
|
-
tmp = $super.f2o.call(this, tag, message, exception, category);
|
|
1138
|
-
}
|
|
1139
|
-
return tmp;
|
|
1140
|
-
};
|
|
1141
|
-
protoOf(Logger).e2o = function (tag, message, category) {
|
|
1142
|
-
if (this.q2n_1 && category.y2n_1) {
|
|
1143
|
-
this.p2n_1.a2o(generateTag(this, tag), message);
|
|
1144
|
-
}
|
|
1145
|
-
};
|
|
1146
|
-
protoOf(Logger).g2o = function (tag, message, exception, category) {
|
|
1147
|
-
if (this.q2n_1 && category.y2n_1) {
|
|
1148
|
-
this.p2n_1.d2o(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
1149
|
-
}
|
|
1150
|
-
};
|
|
1151
|
-
protoOf(Logger).v2n = function (tag, message, exception, category, $super) {
|
|
1152
|
-
tag = tag === VOID ? null : tag;
|
|
1153
|
-
message = message === VOID ? null : message;
|
|
1154
|
-
exception = exception === VOID ? null : exception;
|
|
1155
|
-
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
1156
|
-
var tmp;
|
|
1157
|
-
if ($super === VOID) {
|
|
1158
|
-
this.g2o(tag, message, exception, category);
|
|
1159
|
-
tmp = Unit_instance;
|
|
1160
|
-
} else {
|
|
1161
|
-
tmp = $super.g2o.call(this, tag, message, exception, category);
|
|
1162
|
-
}
|
|
1163
|
-
return tmp;
|
|
1164
|
-
};
|
|
1165
|
-
protoOf(Logger).h2o = function (tag, message, exception, category) {
|
|
1166
|
-
if (this.q2n_1 && category.y2n_1) {
|
|
1167
|
-
if (exception == null)
|
|
1168
|
-
null;
|
|
1169
|
-
else {
|
|
1170
|
-
printStackTrace(exception);
|
|
1171
|
-
}
|
|
1172
|
-
this.p2n_1.b2o(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
1173
|
-
}
|
|
1174
|
-
};
|
|
1175
|
-
protoOf(Logger).t2n = function (tag, message, exception, category, $super) {
|
|
1176
|
-
tag = tag === VOID ? null : tag;
|
|
1177
|
-
message = message === VOID ? null : message;
|
|
1178
|
-
exception = exception === VOID ? null : exception;
|
|
1179
|
-
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
1180
|
-
var tmp;
|
|
1181
|
-
if ($super === VOID) {
|
|
1182
|
-
this.h2o(tag, message, exception, category);
|
|
1183
|
-
tmp = Unit_instance;
|
|
1184
|
-
} else {
|
|
1185
|
-
tmp = $super.h2o.call(this, tag, message, exception, category);
|
|
1186
|
-
}
|
|
1187
|
-
return tmp;
|
|
1188
|
-
};
|
|
1189
|
-
var Logger_instance;
|
|
1190
|
-
function Logger_getInstance() {
|
|
1191
|
-
if (Logger_instance == null)
|
|
1192
|
-
new Logger();
|
|
1193
|
-
return Logger_instance;
|
|
1194
|
-
}
|
|
1195
|
-
function generateMsg(msg, exception) {
|
|
1196
|
-
var logMessage = '';
|
|
1197
|
-
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
1198
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1199
|
-
if (!(msg == null || isBlank(msg))) {
|
|
1200
|
-
logMessage = logMessage + msg;
|
|
1201
|
-
}
|
|
1202
|
-
if (!(exception == null)) {
|
|
1203
|
-
var tmp = logMessage;
|
|
1204
|
-
// Inline function 'kotlin.text.orEmpty' call
|
|
1205
|
-
var tmp0_elvis_lhs = exception.message;
|
|
1206
|
-
logMessage = tmp + (' Exception: ' + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs) + ', stackTrace: ' + stackTraceToString(exception));
|
|
1207
|
-
}
|
|
1208
|
-
if (isBlank(logMessage)) {
|
|
1209
|
-
logMessage = 'Unknown error';
|
|
1210
|
-
}
|
|
1211
|
-
return logMessage;
|
|
1212
|
-
}
|
|
1213
|
-
function getLogTag(tag) {
|
|
1214
|
-
return !(tag == null) ? '[' + tag + ']' : '';
|
|
1215
|
-
}
|
|
1216
|
-
function PlatformLogger() {
|
|
1217
|
-
}
|
|
1218
|
-
protoOf(PlatformLogger).a2o = function (tag, msg) {
|
|
1219
|
-
console.log('D:' + getLogTag(tag) + ': ' + msg);
|
|
1220
|
-
};
|
|
1221
|
-
protoOf(PlatformLogger).b2o = function (tag, msg, exception) {
|
|
1222
|
-
if (!(exception == null)) {
|
|
1223
|
-
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + toString_0(exception));
|
|
1224
|
-
} else {
|
|
1225
|
-
console.error(getLogTag(tag) + ': ' + msg);
|
|
1226
|
-
}
|
|
1227
|
-
};
|
|
1228
|
-
protoOf(PlatformLogger).c2o = function (tag, msg, exception) {
|
|
1229
|
-
var tmp = console;
|
|
1230
|
-
var tmp_0 = getLogTag(tag);
|
|
1231
|
-
tmp.warn(tmp_0 + ': ' + msg + ' ' + toString(exception == null ? '' : exception));
|
|
1232
|
-
};
|
|
1233
|
-
protoOf(PlatformLogger).d2o = function (tag, msg, exception) {
|
|
1234
|
-
var tmp = console;
|
|
1235
|
-
var tmp_0 = getLogTag(tag);
|
|
1236
|
-
tmp.log('V:' + tmp_0 + ': ' + msg + ' ' + toString(exception == null ? '' : exception));
|
|
1237
|
-
};
|
|
1238
974
|
//region block: post-declaration
|
|
1239
|
-
protoOf(CombinationsCheckerProviderImpl).
|
|
1240
|
-
protoOf(CombinationsCheckerProviderImpl).
|
|
1241
|
-
protoOf(CombinedRaspberryLogger).d = d;
|
|
1242
|
-
protoOf(CombinedRaspberryLogger).e = e;
|
|
1243
|
-
protoOf(CombinedRaspberryLogger).w = w;
|
|
1244
|
-
protoOf(CombinedRaspberryLogger).v = v;
|
|
1245
|
-
protoOf(CombinedRaspberryLogger).i = i;
|
|
1246
|
-
protoOf(PlatformRaspberryLogger).d = d;
|
|
1247
|
-
protoOf(PlatformRaspberryLogger).e = e;
|
|
1248
|
-
protoOf(PlatformRaspberryLogger).w = w;
|
|
1249
|
-
protoOf(PlatformRaspberryLogger).v = v;
|
|
1250
|
-
protoOf(PlatformRaspberryLogger).i = i;
|
|
1251
|
-
defineProp(protoOf(PlatformRaspberryLogger), 'enabled', function () {
|
|
1252
|
-
return this.n2n();
|
|
1253
|
-
}, function (value) {
|
|
1254
|
-
this.m2n(value);
|
|
1255
|
-
});
|
|
975
|
+
protoOf(CombinationsCheckerProviderImpl).w33 = findCardsInRowCombinations$default;
|
|
976
|
+
protoOf(CombinationsCheckerProviderImpl).y33 = findSameCardsNumberCombinations$default;
|
|
1256
977
|
//endregion
|
|
1257
978
|
//region block: init
|
|
1258
979
|
CoreConfig_instance = new CoreConfig();
|
|
@@ -1260,7 +981,6 @@
|
|
|
1260
981
|
CardIndexComparator_instance = new CardIndexComparator();
|
|
1261
982
|
Companion_instance = new Companion();
|
|
1262
983
|
Companion_instance_0 = new Companion_0();
|
|
1263
|
-
Companion_instance_2 = new Companion_2();
|
|
1264
984
|
//endregion
|
|
1265
985
|
//region block: exports
|
|
1266
986
|
function $jsExportAll$(_) {
|
|
@@ -1269,31 +989,6 @@
|
|
|
1269
989
|
var $io$raspberryapps$cardgame = $io$raspberryapps.cardgame || ($io$raspberryapps.cardgame = {});
|
|
1270
990
|
var $io$raspberryapps$cardgame$core = $io$raspberryapps$cardgame.core || ($io$raspberryapps$cardgame.core = {});
|
|
1271
991
|
defineProp($io$raspberryapps$cardgame$core, 'CoreConfig', CoreConfig_getInstance);
|
|
1272
|
-
var $io = _.io || (_.io = {});
|
|
1273
|
-
var $io$raspberryapps = $io.raspberryapps || ($io.raspberryapps = {});
|
|
1274
|
-
var $io$raspberryapps$card_game = $io$raspberryapps.card_game || ($io$raspberryapps.card_game = {});
|
|
1275
|
-
var $io$raspberryapps$card_game$core = $io$raspberryapps$card_game.core || ($io$raspberryapps$card_game.core = {});
|
|
1276
|
-
var $io$raspberryapps$card_game$core$utils = $io$raspberryapps$card_game$core.utils || ($io$raspberryapps$card_game$core.utils = {});
|
|
1277
|
-
var $io$raspberryapps$card_game$core$utils$logger = $io$raspberryapps$card_game$core$utils.logger || ($io$raspberryapps$card_game$core$utils.logger = {});
|
|
1278
|
-
var $io = _.io || (_.io = {});
|
|
1279
|
-
var $io$raspberryapps = $io.raspberryapps || ($io.raspberryapps = {});
|
|
1280
|
-
var $io$raspberryapps$card_game = $io$raspberryapps.card_game || ($io$raspberryapps.card_game = {});
|
|
1281
|
-
var $io$raspberryapps$card_game$core = $io$raspberryapps$card_game.core || ($io$raspberryapps$card_game.core = {});
|
|
1282
|
-
var $io$raspberryapps$card_game$core$utils = $io$raspberryapps$card_game$core.utils || ($io$raspberryapps$card_game$core.utils = {});
|
|
1283
|
-
var $io$raspberryapps$card_game$core$utils$logger = $io$raspberryapps$card_game$core$utils.logger || ($io$raspberryapps$card_game$core$utils.logger = {});
|
|
1284
|
-
var $io = _.io || (_.io = {});
|
|
1285
|
-
var $io$raspberryapps = $io.raspberryapps || ($io.raspberryapps = {});
|
|
1286
|
-
var $io$raspberryapps$card_game = $io$raspberryapps.card_game || ($io$raspberryapps.card_game = {});
|
|
1287
|
-
var $io$raspberryapps$card_game$core = $io$raspberryapps$card_game.core || ($io$raspberryapps$card_game.core = {});
|
|
1288
|
-
var $io$raspberryapps$card_game$core$utils = $io$raspberryapps$card_game$core.utils || ($io$raspberryapps$card_game$core.utils = {});
|
|
1289
|
-
var $io$raspberryapps$card_game$core$utils$logger = $io$raspberryapps$card_game$core$utils.logger || ($io$raspberryapps$card_game$core$utils.logger = {});
|
|
1290
|
-
var $io = _.io || (_.io = {});
|
|
1291
|
-
var $io$raspberryapps = $io.raspberryapps || ($io.raspberryapps = {});
|
|
1292
|
-
var $io$raspberryapps$card_game = $io$raspberryapps.card_game || ($io$raspberryapps.card_game = {});
|
|
1293
|
-
var $io$raspberryapps$card_game$core = $io$raspberryapps$card_game.core || ($io$raspberryapps$card_game.core = {});
|
|
1294
|
-
var $io$raspberryapps$card_game$core$utils = $io$raspberryapps$card_game$core.utils || ($io$raspberryapps$card_game$core.utils = {});
|
|
1295
|
-
var $io$raspberryapps$card_game$core$utils$logger = $io$raspberryapps$card_game$core$utils.logger || ($io$raspberryapps$card_game$core$utils.logger = {});
|
|
1296
|
-
var $io$raspberryapps$card_game$core$utils$logger$output = $io$raspberryapps$card_game$core$utils$logger.output || ($io$raspberryapps$card_game$core$utils$logger.output = {});
|
|
1297
992
|
}
|
|
1298
993
|
$jsExportAll$(_);
|
|
1299
994
|
_.$jsExportAll$ = $jsExportAll$;
|
|
@@ -1306,34 +1001,23 @@
|
|
|
1306
1001
|
_.$_$.f = CardName_NINE_getInstance;
|
|
1307
1002
|
_.$_$.g = CardName_SEVEN_getInstance;
|
|
1308
1003
|
_.$_$.h = CardName_TEN_getInstance;
|
|
1309
|
-
_.$_$.i =
|
|
1310
|
-
_.$_$.j =
|
|
1311
|
-
_.$_$.k =
|
|
1312
|
-
_.$_$.l =
|
|
1313
|
-
_.$_$.m =
|
|
1314
|
-
_.$_$.n =
|
|
1315
|
-
_.$_$.o =
|
|
1316
|
-
_.$_$.p =
|
|
1317
|
-
_.$_$.q =
|
|
1318
|
-
_.$_$.r =
|
|
1319
|
-
_.$_$.s =
|
|
1320
|
-
_.$_$.t =
|
|
1321
|
-
_.$_$.u =
|
|
1322
|
-
_.$_$.v =
|
|
1323
|
-
_.$_$.w =
|
|
1324
|
-
_.$_$.x =
|
|
1325
|
-
_.$_$.y =
|
|
1326
|
-
_.$_$.z = CardsDealerProvider;
|
|
1327
|
-
_.$_$.a1 = CombinationsCheckerProviderImpl;
|
|
1328
|
-
_.$_$.b1 = CombinationsCheckerProvider;
|
|
1329
|
-
_.$_$.c1 = DealerReducerImpl;
|
|
1330
|
-
_.$_$.d1 = DealerReducer;
|
|
1331
|
-
_.$_$.e1 = LoggerOutput;
|
|
1332
|
-
_.$_$.f1 = generateMsg;
|
|
1333
|
-
_.$_$.g1 = CombinedRaspberryLogger;
|
|
1334
|
-
_.$_$.h1 = LoggerEnabledTrigger;
|
|
1335
|
-
_.$_$.i1 = LoggerPayload;
|
|
1336
|
-
_.$_$.j1 = RaspberryLogger;
|
|
1004
|
+
_.$_$.i = CardsRandomProvider_CUSTOM_getInstance;
|
|
1005
|
+
_.$_$.j = CardsRandomProvider_RANDOM_ORG_getInstance;
|
|
1006
|
+
_.$_$.k = CardIndexComparator_instance;
|
|
1007
|
+
_.$_$.l = CardNumberComparator_instance;
|
|
1008
|
+
_.$_$.m = Companion_instance;
|
|
1009
|
+
_.$_$.n = Companion_getInstance_1;
|
|
1010
|
+
_.$_$.o = GameCard;
|
|
1011
|
+
_.$_$.p = get_entries;
|
|
1012
|
+
_.$_$.q = values;
|
|
1013
|
+
_.$_$.r = distributeCardsBottom;
|
|
1014
|
+
_.$_$.s = distributeCardsTop;
|
|
1015
|
+
_.$_$.t = filterByCardName;
|
|
1016
|
+
_.$_$.u = CardsDealerProvider;
|
|
1017
|
+
_.$_$.v = CombinationsCheckerProviderImpl;
|
|
1018
|
+
_.$_$.w = CombinationsCheckerProvider;
|
|
1019
|
+
_.$_$.x = DealerReducerImpl;
|
|
1020
|
+
_.$_$.y = DealerReducer;
|
|
1337
1021
|
//endregion
|
|
1338
1022
|
return _;
|
|
1339
1023
|
}));
|