game_client_logic_deb 1.8.341 → 1.8.345

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.
Files changed (64) hide show
  1. package/Kosi-Kaverit-kaverit.js +105 -117
  2. package/Kosi-Kaverit-kaverit.js.map +1 -1
  3. package/Kosi-Kodein-kodein-di.js +935 -945
  4. package/Kosi-Kodein-kodein-di.js.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js +4622 -3643
  6. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  7. package/Logic_Debertz-core.js +1828 -1855
  8. package/Logic_Debertz-core.js.map +1 -1
  9. package/Logic_Debertz-engine.js +18065 -18560
  10. package/Logic_Debertz-engine.js.map +1 -1
  11. package/Logic_Debertz-game_client.d.ts +901 -165
  12. package/Logic_Debertz-game_client.js +5642 -5277
  13. package/Logic_Debertz-game_client.js.map +1 -1
  14. package/kotlin-kotlin-stdlib.js +4836 -4540
  15. package/kotlin-kotlin-stdlib.js.map +1 -1
  16. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
  17. package/kotlinx-atomicfu.js +25 -26
  18. package/kotlinx-atomicfu.js.map +1 -1
  19. package/kotlinx-coroutines-core.js +3156 -3339
  20. package/kotlinx-coroutines-core.js.map +1 -1
  21. package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
  22. package/kotlinx-io-kotlinx-io-core.js +459 -523
  23. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  24. package/kotlinx-serialization-kotlinx-serialization-core.js +2372 -2414
  25. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  26. package/kotlinx-serialization-kotlinx-serialization-json.js +1963 -1977
  27. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  28. package/ktor-ktor-client-content-negotiation.js +194 -194
  29. package/ktor-ktor-client-content-negotiation.js.map +1 -1
  30. package/ktor-ktor-client-core.js +1902 -1937
  31. package/ktor-ktor-client-core.js.map +1 -1
  32. package/ktor-ktor-client-js.js.map +1 -1
  33. package/ktor-ktor-client-logging.js +393 -399
  34. package/ktor-ktor-client-logging.js.map +1 -1
  35. package/ktor-ktor-events.js +12 -15
  36. package/ktor-ktor-events.js.map +1 -1
  37. package/ktor-ktor-http.js +964 -1154
  38. package/ktor-ktor-http.js.map +1 -1
  39. package/ktor-ktor-io.js +1715 -1825
  40. package/ktor-ktor-io.js.map +1 -1
  41. package/ktor-ktor-serialization-kotlinx-json.js +8 -8
  42. package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
  43. package/ktor-ktor-serialization-kotlinx.js +238 -243
  44. package/ktor-ktor-serialization-kotlinx.js.map +1 -1
  45. package/ktor-ktor-serialization.js +100 -96
  46. package/ktor-ktor-serialization.js.map +1 -1
  47. package/ktor-ktor-utils.js +655 -689
  48. package/ktor-ktor-utils.js.map +1 -1
  49. package/ktor-ktor-websocket-serialization.js.map +1 -1
  50. package/ktor-ktor-websockets.js +71 -77
  51. package/ktor-ktor-websockets.js.map +1 -1
  52. package/package.json +1 -2
  53. package/raspberry-cardgame-lib-core.js +331 -365
  54. package/raspberry-cardgame-lib-core.js.map +1 -1
  55. package/raspberry-cardgame-lib-logger.js +148 -119
  56. package/raspberry-cardgame-lib-logger.js.map +1 -1
  57. package/raspberry-cardgame-lib-random.js +922 -989
  58. package/raspberry-cardgame-lib-random.js.map +1 -1
  59. package/secure-random-secure-random.js +36 -35
  60. package/secure-random-secure-random.js.map +1 -1
  61. package/uuid.js +35 -39
  62. package/uuid.js.map +1 -1
  63. package/kotlin-kotlinx-atomicfu-runtime.js +0 -15
  64. package/kotlin-kotlinx-atomicfu-runtime.js.map +0 -1
@@ -19,68 +19,68 @@
19
19
  'use strict';
20
20
  //region block: imports
21
21
  var imul = Math.imul;
22
- var protoOf = kotlin_kotlin.$_$.wc;
23
- var initMetadataForObject = kotlin_kotlin.$_$.ac;
24
- var defineProp = kotlin_kotlin.$_$.mb;
25
- var THROW_CCE = kotlin_kotlin.$_$.ug;
26
- var Comparator = kotlin_kotlin.$_$.gg;
22
+ var protoOf = kotlin_kotlin.$_$.oc;
23
+ var initMetadataForObject = kotlin_kotlin.$_$.sb;
24
+ var defineProp = kotlin_kotlin.$_$.fb;
25
+ var THROW_CCE = kotlin_kotlin.$_$.og;
26
+ var Comparator = kotlin_kotlin.$_$.ag;
27
27
  var VOID = kotlin_kotlin.$_$.f;
28
- var initMetadataForClass = kotlin_kotlin.$_$.vb;
29
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
30
- var Unit_instance = kotlin_kotlin.$_$.q5;
31
- var take = kotlin_kotlin.$_$.q9;
32
- var toList = kotlin_kotlin.$_$.u9;
33
- var takeLast = kotlin_kotlin.$_$.p9;
34
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.sh;
35
- var initMetadataForCompanion = kotlin_kotlin.$_$.wb;
36
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w1;
37
- var Enum = kotlin_kotlin.$_$.jg;
38
- var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
39
- var enumEntries = kotlin_kotlin.$_$.za;
40
- var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.k;
41
- var lazy = kotlin_kotlin.$_$.qh;
42
- var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
43
- var initMetadataForInterface = kotlin_kotlin.$_$.yb;
44
- var collectionSizeOrDefault = kotlin_kotlin.$_$.t6;
45
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
28
+ var initMetadataForClass = kotlin_kotlin.$_$.nb;
29
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
30
+ var Unit_instance = kotlin_kotlin.$_$.h5;
31
+ var take = kotlin_kotlin.$_$.h9;
32
+ var toList = kotlin_kotlin.$_$.l9;
33
+ var takeLast = kotlin_kotlin.$_$.g9;
34
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.mh;
35
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ob;
36
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t1;
37
+ var Enum = kotlin_kotlin.$_$.dg;
38
+ var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
39
+ var enumEntries = kotlin_kotlin.$_$.ra;
40
+ var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.i;
41
+ var lazy = kotlin_kotlin.$_$.kh;
42
+ var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
43
+ var initMetadataForInterface = kotlin_kotlin.$_$.qb;
44
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.k6;
45
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
46
46
  var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
47
- var CoroutineImpl = kotlin_kotlin.$_$.xa;
48
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ia;
49
- var initMetadataForCoroutine = kotlin_kotlin.$_$.xb;
50
- var Result = kotlin_kotlin.$_$.sg;
51
- var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.h3;
52
- var throwOnFailure = kotlin_kotlin.$_$.wh;
53
- var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.k3;
54
- var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.j3;
55
- var addAll = kotlin_kotlin.$_$.h6;
56
- var until = kotlin_kotlin.$_$.md;
57
- var count = kotlin_kotlin.$_$.k7;
58
- var Collection = kotlin_kotlin.$_$.s5;
59
- var isInterface = kotlin_kotlin.$_$.jc;
60
- var toMutableList = kotlin_kotlin.$_$.y9;
47
+ var CoroutineImpl = kotlin_kotlin.$_$.pa;
48
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.aa;
49
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.pb;
50
+ var Result = kotlin_kotlin.$_$.mg;
51
+ var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.w2;
52
+ var throwOnFailure = kotlin_kotlin.$_$.qh;
53
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.z2;
54
+ var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.y2;
55
+ var addAll = kotlin_kotlin.$_$.y5;
56
+ var until = kotlin_kotlin.$_$.fd;
57
+ var count = kotlin_kotlin.$_$.b7;
58
+ var Collection = kotlin_kotlin.$_$.j5;
59
+ var isInterface = kotlin_kotlin.$_$.bc;
60
+ var toMutableList = kotlin_kotlin.$_$.p9;
61
61
  var riffle = kotlin_io_raspberryapps_cardgame_random.$_$.l;
62
62
  var overhand = kotlin_io_raspberryapps_cardgame_random.$_$.k;
63
- var listOf = kotlin_kotlin.$_$.r8;
64
- var first = kotlin_kotlin.$_$.w7;
65
- var sorted = kotlin_kotlin.$_$.n9;
66
- var asReversed = kotlin_kotlin.$_$.l6;
67
- var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.d2;
68
- var equals = kotlin_kotlin.$_$.nb;
69
- var FunctionAdapter = kotlin_kotlin.$_$.bb;
70
- var hashCode = kotlin_kotlin.$_$.ub;
71
- var first_0 = kotlin_kotlin.$_$.v7;
72
- var compareValues = kotlin_kotlin.$_$.ga;
73
- var sortWith = kotlin_kotlin.$_$.l9;
74
- var lastOrNull = kotlin_kotlin.$_$.l8;
75
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
76
- var sortedWith = kotlin_kotlin.$_$.m9;
77
- var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.b2;
78
- var compareTo = kotlin_kotlin.$_$.lb;
79
- var toString = kotlin_kotlin.$_$.ad;
80
- var dropLast = kotlin_kotlin.$_$.m7;
81
- var plus = kotlin_kotlin.$_$.a9;
82
- var minus = kotlin_kotlin.$_$.v8;
83
- var plus_0 = kotlin_kotlin.$_$.b9;
63
+ var listOf = kotlin_kotlin.$_$.i8;
64
+ var first = kotlin_kotlin.$_$.n7;
65
+ var sorted = kotlin_kotlin.$_$.e9;
66
+ var asReversed = kotlin_kotlin.$_$.c6;
67
+ var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.a2;
68
+ var equals = kotlin_kotlin.$_$.gb;
69
+ var FunctionAdapter = kotlin_kotlin.$_$.ta;
70
+ var hashCode = kotlin_kotlin.$_$.mb;
71
+ var first_0 = kotlin_kotlin.$_$.m7;
72
+ var compareValues = kotlin_kotlin.$_$.y9;
73
+ var sortWith = kotlin_kotlin.$_$.c9;
74
+ var lastOrNull = kotlin_kotlin.$_$.c8;
75
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
76
+ var sortedWith = kotlin_kotlin.$_$.d9;
77
+ var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.y1;
78
+ var compareTo = kotlin_kotlin.$_$.eb;
79
+ var toString = kotlin_kotlin.$_$.tc;
80
+ var dropLast = kotlin_kotlin.$_$.d7;
81
+ var plus = kotlin_kotlin.$_$.r8;
82
+ var minus = kotlin_kotlin.$_$.m8;
83
+ var plus_0 = kotlin_kotlin.$_$.s8;
84
84
  //endregion
85
85
  //region block: pre-declaration
86
86
  initMetadataForObject(CoreConfig, 'CoreConfig');
@@ -96,16 +96,16 @@
96
96
  initMetadataForClass(CardsRandomProvider, 'CardsRandomProvider', VOID, Enum);
97
97
  function standardShuffledCards$default(cards, times, $super) {
98
98
  times = times === VOID ? 3 : times;
99
- return $super === VOID ? this.q65(cards, times) : $super.q65.call(this, cards, times);
99
+ return $super === VOID ? this.i6a(cards, times) : $super.i6a.call(this, cards, times);
100
100
  }
101
101
  function realLifeShuffledCards$default(cards, times, $super) {
102
102
  times = times === VOID ? 20 : times;
103
- return $super === VOID ? this.s65(cards, times) : $super.s65.call(this, cards, times);
103
+ return $super === VOID ? this.k6a(cards, times) : $super.k6a.call(this, cards, times);
104
104
  }
105
105
  initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider', VOID, VOID, VOID, [5]);
106
106
  initMetadataForCompanion(Companion_2);
107
- initMetadataForCoroutine($createNewShuffledCardDeckCOROUTINE$0, CoroutineImpl);
108
- initMetadataForCoroutine($getRandomOrgCardsCOROUTINE$1, CoroutineImpl);
107
+ initMetadataForCoroutine($createNewShuffledCardDeckCOROUTINE$, CoroutineImpl);
108
+ initMetadataForCoroutine($getRandomOrgCardsCOROUTINE$, CoroutineImpl);
109
109
  initMetadataForClass(CardsDealerProviderImpl, 'CardsDealerProviderImpl', VOID, VOID, [CardsDealerProvider], [5]);
110
110
  initMetadataForCompanion(Companion_3);
111
111
  initMetadataForClass(FakeCardsDealerProvider, 'FakeCardsDealerProvider', FakeCardsDealerProvider, VOID, [CardsDealerProvider], [5]);
@@ -113,12 +113,12 @@
113
113
  checkFromIndex = checkFromIndex === VOID ? first(supportedCombinations) : checkFromIndex;
114
114
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
115
115
  suit = suit === VOID ? null : suit;
116
- return $super === VOID ? this.q67(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.q67.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
116
+ return $super === VOID ? this.i6c(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.i6c.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
117
117
  }
118
118
  function findSameCardsNumberCombinations$default(cards, cardsCount, includeCardNames, $super) {
119
119
  cardsCount = cardsCount === VOID ? 4 : cardsCount;
120
120
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
121
- return $super === VOID ? this.s67(cards, cardsCount, includeCardNames) : $super.s67.call(this, cards, cardsCount, includeCardNames);
121
+ return $super === VOID ? this.k6c(cards, cardsCount, includeCardNames) : $super.k6c.call(this, cards, cardsCount, includeCardNames);
122
122
  }
123
123
  initMetadataForInterface(CombinationsCheckerProvider, 'CombinationsCheckerProvider');
124
124
  initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
@@ -129,7 +129,7 @@
129
129
  function CoreConfig() {
130
130
  this.version = '0.0.50';
131
131
  }
132
- protoOf(CoreConfig).o2y = function () {
132
+ protoOf(CoreConfig).x30 = function () {
133
133
  return this.version;
134
134
  };
135
135
  var CoreConfig_instance;
@@ -138,42 +138,42 @@
138
138
  }
139
139
  function CardIndexComparator() {
140
140
  }
141
- protoOf(CardIndexComparator).t64 = function (a, b) {
142
- return a.u64_1 - b.u64_1 | 0;
141
+ protoOf(CardIndexComparator).l69 = function (a, b) {
142
+ return a.m69_1 - b.m69_1 | 0;
143
143
  };
144
144
  protoOf(CardIndexComparator).compare = function (a, b) {
145
145
  var tmp = a instanceof GameCard ? a : THROW_CCE();
146
- return this.t64(tmp, b instanceof GameCard ? b : THROW_CCE());
146
+ return this.l69(tmp, b instanceof GameCard ? b : THROW_CCE());
147
147
  };
148
148
  var CardIndexComparator_instance;
149
149
  function CardIndexComparator_getInstance() {
150
150
  return CardIndexComparator_instance;
151
151
  }
152
152
  function CardSuitSortingComparator(suit) {
153
- this.v64_1 = suit;
153
+ this.n69_1 = suit;
154
154
  }
155
- protoOf(CardSuitSortingComparator).t64 = function (a, b) {
156
- if (!a.w64() || !b.w64()) {
155
+ protoOf(CardSuitSortingComparator).l69 = function (a, b) {
156
+ if (!a.o69() || !b.o69()) {
157
157
  return 0;
158
158
  }
159
- var suitIndexL = this.v64_1.x1(a.x64());
160
- var suitIndexR = this.v64_1.x1(b.x64());
161
- var sortedNumberL = imul(suitIndexL, 13) + a.y64() | 0;
162
- var sortedNumberR = imul(suitIndexR, 13) + b.y64() | 0;
159
+ var suitIndexL = this.n69_1.u1(a.p69());
160
+ var suitIndexR = this.n69_1.u1(b.p69());
161
+ var sortedNumberL = imul(suitIndexL, 13) + a.q69() | 0;
162
+ var sortedNumberR = imul(suitIndexR, 13) + b.q69() | 0;
163
163
  return sortedNumberL - sortedNumberR | 0;
164
164
  };
165
165
  protoOf(CardSuitSortingComparator).compare = function (a, b) {
166
166
  var tmp = a instanceof GameCard ? a : THROW_CCE();
167
- return this.t64(tmp, b instanceof GameCard ? b : THROW_CCE());
167
+ return this.l69(tmp, b instanceof GameCard ? b : THROW_CCE());
168
168
  };
169
169
  function filterByCardName(_this__u8e3s4, name) {
170
170
  // Inline function 'kotlin.collections.filter' call
171
171
  var predicate = byCardNamePredicate(name.slice());
172
172
  // Inline function 'kotlin.collections.filterTo' call
173
173
  var destination = ArrayList_init_$Create$();
174
- var tmp0_iterator = _this__u8e3s4.j();
175
- while (tmp0_iterator.k()) {
176
- var element = tmp0_iterator.l();
174
+ var _iterator__ex2g4s = _this__u8e3s4.j();
175
+ while (_iterator__ex2g4s.k()) {
176
+ var element = _iterator__ex2g4s.l();
177
177
  if (predicate(element)) {
178
178
  destination.e(element);
179
179
  }
@@ -182,12 +182,12 @@
182
182
  }
183
183
  function CardNumberComparator() {
184
184
  }
185
- protoOf(CardNumberComparator).t64 = function (a, b) {
186
- return b.y64() - a.y64() | 0;
185
+ protoOf(CardNumberComparator).l69 = function (a, b) {
186
+ return b.q69() - a.q69() | 0;
187
187
  };
188
188
  protoOf(CardNumberComparator).compare = function (a, b) {
189
189
  var tmp = a instanceof GameCard ? a : THROW_CCE();
190
- return this.t64(tmp, b instanceof GameCard ? b : THROW_CCE());
190
+ return this.l69(tmp, b instanceof GameCard ? b : THROW_CCE());
191
191
  };
192
192
  var CardNumberComparator_instance;
193
193
  function CardNumberComparator_getInstance() {
@@ -195,12 +195,12 @@
195
195
  }
196
196
  function distributeCardsBottom(_this__u8e3s4, count) {
197
197
  var cardsToDeal = toList(take(_this__u8e3s4, count));
198
- _this__u8e3s4.c2(cardsToDeal);
198
+ _this__u8e3s4.z1(cardsToDeal);
199
199
  return cardsToDeal;
200
200
  }
201
201
  function distributeCardsTop(_this__u8e3s4, count) {
202
202
  var cardsToDeal = toList(takeLast(_this__u8e3s4, count));
203
- _this__u8e3s4.c2(cardsToDeal);
203
+ _this__u8e3s4.z1(cardsToDeal);
204
204
  return cardsToDeal;
205
205
  }
206
206
  function byCardNamePredicate(types) {
@@ -208,17 +208,16 @@
208
208
  }
209
209
  function byCardNamePredicate$lambda($types) {
210
210
  return function (p1) {
211
+ var tmp0 = $types;
211
212
  var tmp$ret$1;
212
213
  $l$block: {
213
214
  // Inline function 'kotlin.collections.any' call
214
- var indexedObject = $types;
215
215
  var inductionVariable = 0;
216
- var last = indexedObject.length;
216
+ var last = tmp0.length;
217
217
  while (inductionVariable < last) {
218
- var element = indexedObject[inductionVariable];
218
+ var element = tmp0[inductionVariable];
219
219
  inductionVariable = inductionVariable + 1 | 0;
220
- // Inline function 'io.raspberryapps.card_game.core.data.models.cards.byCardNamePredicate.<anonymous>.<anonymous>' call
221
- if (p1.s2().equals(element)) {
220
+ if (p1.p2().equals(element)) {
222
221
  tmp$ret$1 = true;
223
222
  break $l$block;
224
223
  }
@@ -244,7 +243,7 @@
244
243
  var CardName_HIDDEN_instance;
245
244
  function getShortName($this) {
246
245
  var tmp;
247
- switch ($this.r2_1) {
246
+ switch ($this.o2_1) {
248
247
  case 0:
249
248
  tmp = 'A';
250
249
  break;
@@ -315,25 +314,23 @@
315
314
  }
316
315
  function Companion() {
317
316
  }
318
- protoOf(Companion).z64 = function (suit, number) {
317
+ protoOf(Companion).r69 = function (suit, number) {
319
318
  return new GameCard(getNumber(Companion_instance_0, getName(Companion_instance_0, number), suit));
320
319
  };
321
- protoOf(Companion).a65 = function (suit, cardNumber) {
320
+ protoOf(Companion).s69 = function (suit, cardNumber) {
322
321
  return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
323
322
  };
324
- protoOf(Companion).b65 = function (index) {
323
+ protoOf(Companion).t69 = function (index) {
325
324
  return new GameCard(index);
326
325
  };
327
- protoOf(Companion).c65 = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse) {
326
+ protoOf(Companion).u69 = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse) {
328
327
  var tmp;
329
328
  if (previousHiddenCardWithMaxIndex == null) {
330
329
  tmp = null;
331
330
  } else {
332
331
  // Inline function 'kotlin.takeIf' call
333
- // Inline function 'kotlin.contracts.contract' call
334
332
  var tmp_0;
335
- // Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueHiddenCard.<anonymous>' call
336
- if (previousHiddenCardWithMaxIndex.d65()) {
333
+ if (previousHiddenCardWithMaxIndex.v69()) {
337
334
  tmp_0 = previousHiddenCardWithMaxIndex;
338
335
  } else {
339
336
  tmp_0 = null;
@@ -341,15 +338,13 @@
341
338
  tmp = tmp_0;
342
339
  }
343
340
  var tmp3_safe_receiver = tmp;
344
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.u64_1;
345
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.j65(tmp4_safe_receiver, playerIndex, reverse);
341
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.m69_1;
342
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.b6a(tmp4_safe_receiver, playerIndex, reverse);
346
343
  var tmp_1;
347
344
  if (tmp5_safe_receiver == null) {
348
345
  tmp_1 = null;
349
346
  } else {
350
347
  // Inline function 'kotlin.let' call
351
- // Inline function 'kotlin.contracts.contract' call
352
- // Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueHiddenCard.<anonymous>' call
353
348
  tmp_1 = tmp5_safe_receiver + 1 | 0;
354
349
  }
355
350
  var tmp0_elvis_lhs = tmp_1;
@@ -363,12 +358,12 @@
363
358
  var index = tmp_2;
364
359
  return new GameCard(index);
365
360
  };
366
- protoOf(Companion).k65 = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse, $super) {
361
+ protoOf(Companion).c6a = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse, $super) {
367
362
  previousHiddenCardWithMaxIndex = previousHiddenCardWithMaxIndex === VOID ? null : previousHiddenCardWithMaxIndex;
368
363
  reverse = reverse === VOID ? false : reverse;
369
- return $super === VOID ? this.c65(position, playerIndex, previousHiddenCardWithMaxIndex, reverse) : $super.c65.call(this, position, playerIndex, previousHiddenCardWithMaxIndex, reverse);
364
+ return $super === VOID ? this.u69(position, playerIndex, previousHiddenCardWithMaxIndex, reverse) : $super.u69.call(this, position, playerIndex, previousHiddenCardWithMaxIndex, reverse);
370
365
  };
371
- protoOf(Companion).l65 = function (position) {
366
+ protoOf(Companion).d6a = function (position) {
372
367
  var index = 150 + position | 0;
373
368
  return new GameCard(index);
374
369
  };
@@ -381,7 +376,7 @@
381
376
  }
382
377
  function getCardNumber($this, number) {
383
378
  var tmp;
384
- switch (number.r2_1) {
379
+ switch (number.o2_1) {
385
380
  case 12:
386
381
  tmp = 0;
387
382
  break;
@@ -474,7 +469,7 @@
474
469
  return tmp;
475
470
  }
476
471
  function _get_isShirt__vd98rp($this) {
477
- return $this.u64_1 >= 150 && $this.u64_1 <= 202;
472
+ return $this.m69_1 >= 150 && $this.m69_1 <= 202;
478
473
  }
479
474
  function CardName(name, ordinal) {
480
475
  Enum.call(this, name, ordinal);
@@ -483,13 +478,13 @@
483
478
  return getShortName(this);
484
479
  };
485
480
  function Companion_0() {
486
- this.e65_1 = -1;
487
- this.f65_1 = 13;
488
- this.g65_1 = 52;
489
- this.h65_1 = 150;
490
- this.i65_1 = 53;
481
+ this.w69_1 = -1;
482
+ this.x69_1 = 13;
483
+ this.y69_1 = 52;
484
+ this.z69_1 = 150;
485
+ this.a6a_1 = 53;
491
486
  }
492
- protoOf(Companion_0).j65 = function (_this__u8e3s4, playerIndex, reverse) {
487
+ protoOf(Companion_0).b6a = function (_this__u8e3s4, playerIndex, reverse) {
493
488
  var tmp;
494
489
  if (reverse) {
495
490
  tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
@@ -559,59 +554,59 @@
559
554
  return CardName_HIDDEN_instance;
560
555
  }
561
556
  function GameCard(index) {
562
- this.u64_1 = index;
557
+ this.m69_1 = index;
563
558
  }
564
- protoOf(GameCard).x64 = function () {
559
+ protoOf(GameCard).p69 = function () {
565
560
  var tmp;
566
- var containsArg = this.u64_1;
561
+ var containsArg = this.m69_1;
567
562
  if (0 <= containsArg ? containsArg <= 13 : false) {
568
563
  tmp = Suit_DIAMOND_getInstance();
569
564
  } else {
570
- if (this.u64_1 <= 26) {
565
+ if (this.m69_1 <= 26) {
571
566
  tmp = Suit_SPADE_getInstance();
572
567
  } else {
573
- if (this.u64_1 <= 39) {
568
+ if (this.m69_1 <= 39) {
574
569
  tmp = Suit_HEART_getInstance();
575
570
  } else {
576
- if (this.u64_1 <= 52) {
571
+ if (this.m69_1 <= 52) {
577
572
  tmp = Suit_CLUB_getInstance();
578
573
  } else {
579
- throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.u64_1);
574
+ throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.m69_1);
580
575
  }
581
576
  }
582
577
  }
583
578
  }
584
579
  return tmp;
585
580
  };
586
- protoOf(GameCard).y64 = function () {
581
+ protoOf(GameCard).q69 = function () {
587
582
  var tmp;
588
- if (this.d65()) {
583
+ if (this.v69()) {
589
584
  tmp = -1;
590
585
  } else {
591
- tmp = this.u64_1 - imul(13, getIndex(this.x64())) | 0;
586
+ tmp = this.m69_1 - imul(13, getIndex(this.p69())) | 0;
592
587
  }
593
588
  return tmp;
594
589
  };
595
- protoOf(GameCard).s2 = function () {
596
- return this.d65() ? CardName_HIDDEN_getInstance() : getName(Companion_instance_0, this.y64());
590
+ protoOf(GameCard).p2 = function () {
591
+ return this.v69() ? CardName_HIDDEN_getInstance() : getName(Companion_instance_0, this.q69());
597
592
  };
598
- protoOf(GameCard).w64 = function () {
599
- return !_get_isShirt__vd98rp(this) && !this.d65();
593
+ protoOf(GameCard).o69 = function () {
594
+ return !_get_isShirt__vd98rp(this) && !this.v69();
600
595
  };
601
- protoOf(GameCard).d65 = function () {
602
- return this.u64_1 >= 53 && this.u64_1 <= 105;
596
+ protoOf(GameCard).v69 = function () {
597
+ return this.m69_1 >= 53 && this.m69_1 <= 105;
603
598
  };
604
599
  protoOf(GameCard).toString = function () {
605
600
  if (_get_isShirt__vd98rp(this)) {
606
- return 'GameCard(SHIRT, ' + this.u64_1 + ')';
601
+ return 'GameCard(SHIRT, ' + this.m69_1 + ')';
607
602
  }
608
- if (this.d65()) {
609
- return 'GameCard(HIDDEN, ' + this.u64_1 + ')';
603
+ if (this.v69()) {
604
+ return 'GameCard(HIDDEN, ' + this.m69_1 + ')';
610
605
  }
611
- return 'GameCard(' + this.x64().toString() + this.s2().toString() + ', ' + this.u64_1 + ')';
606
+ return 'GameCard(' + this.p69().toString() + this.p2().toString() + ', ' + this.m69_1 + ')';
612
607
  };
613
608
  protoOf(GameCard).hashCode = function () {
614
- return this.u64_1;
609
+ return this.m69_1;
615
610
  };
616
611
  protoOf(GameCard).equals = function (other) {
617
612
  if (this === other)
@@ -619,12 +614,12 @@
619
614
  if (!(other instanceof GameCard))
620
615
  return false;
621
616
  var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
622
- if (!(this.u64_1 === tmp0_other_with_cast.u64_1))
617
+ if (!(this.m69_1 === tmp0_other_with_cast.m69_1))
623
618
  return false;
624
619
  return true;
625
620
  };
626
621
  function _get_$cachedSerializer__te6jhj($this) {
627
- return $this.m65_1.u();
622
+ return $this.e6a_1.u();
628
623
  }
629
624
  function Suit$Companion$_anonymous__cbm2iq() {
630
625
  return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
@@ -635,7 +630,7 @@
635
630
  var Suit_CLUB_instance;
636
631
  function getSuitEmoji($this) {
637
632
  var tmp;
638
- switch ($this.r2_1) {
633
+ switch ($this.o2_1) {
639
634
  case 0:
640
635
  tmp = '\u2666\uFE0F';
641
636
  break;
@@ -666,13 +661,13 @@
666
661
  Companion_instance_1 = this;
667
662
  var tmp = this;
668
663
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
669
- tmp.m65_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
664
+ tmp.e6a_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
670
665
  }
671
- protoOf(Companion_1).x4v = function () {
666
+ protoOf(Companion_1).p4z = function () {
672
667
  return _get_$cachedSerializer__te6jhj(this);
673
668
  };
674
- protoOf(Companion_1).u4f = function (typeParamsSerializers) {
675
- return this.x4v();
669
+ protoOf(Companion_1).e4j = function (typeParamsSerializers) {
670
+ return this.p4z();
676
671
  };
677
672
  var Companion_instance_1;
678
673
  function Companion_getInstance_1() {
@@ -717,7 +712,7 @@
717
712
  }
718
713
  function getIndex(_this__u8e3s4) {
719
714
  var tmp;
720
- switch (_this__u8e3s4.r2_1) {
715
+ switch (_this__u8e3s4.o2_1) {
721
716
  case 0:
722
717
  tmp = 0;
723
718
  break;
@@ -766,7 +761,7 @@
766
761
  function CardsDealerProvider() {
767
762
  }
768
763
  function getRandomOrgCards($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion) {
769
- var tmp = new $getRandomOrgCardsCOROUTINE$1($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion);
764
+ var tmp = new $getRandomOrgCardsCOROUTINE$($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion);
770
765
  tmp.l9_1 = Unit_instance;
771
766
  tmp.m9_1 = null;
772
767
  return tmp.r9();
@@ -776,10 +771,9 @@
776
771
  // Inline function 'kotlin.collections.map' call
777
772
  // Inline function 'kotlin.collections.mapTo' call
778
773
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(cards, 10));
779
- var tmp0_iterator = cards.j();
780
- while (tmp0_iterator.k()) {
781
- var item = tmp0_iterator.l();
782
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.normalizeCards.<anonymous>' call
774
+ var _iterator__ex2g4s = cards.j();
775
+ while (_iterator__ex2g4s.k()) {
776
+ var item = _iterator__ex2g4s.l();
783
777
  var previousSuitNumber = item / oneSuitCount | 0;
784
778
  var cardIndexShift = imul(leftCardIndexForEachSuit, previousSuitNumber + 1 | 0);
785
779
  var newIndex = item + cardIndexShift | 0;
@@ -790,7 +784,7 @@
790
784
  }
791
785
  function Companion_2() {
792
786
  }
793
- protoOf(Companion_2).p66 = function (randomPoolProvider, logger) {
787
+ protoOf(Companion_2).h6b = function (randomPoolProvider, logger) {
794
788
  var tmp17_random = new SecureRandom(logger);
795
789
  return new CardsDealerProviderImpl(tmp17_random, randomPoolProvider, logger);
796
790
  };
@@ -798,16 +792,16 @@
798
792
  function Companion_getInstance_2() {
799
793
  return Companion_instance_2;
800
794
  }
801
- function $createNewShuffledCardDeckCOROUTINE$0(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
795
+ function $createNewShuffledCardDeckCOROUTINE$(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
802
796
  CoroutineImpl.call(this, resultContinuation);
803
- this.y66_1 = _this__u8e3s4;
804
- this.z66_1 = leftCardIndexForEachSuit;
805
- this.a67_1 = rightCardIndexForEachSuit;
806
- this.b67_1 = approximateRoundCountForGame;
807
- this.c67_1 = userData;
808
- this.d67_1 = provider;
809
- }
810
- protoOf($createNewShuffledCardDeckCOROUTINE$0).r9 = function () {
797
+ this.q6b_1 = _this__u8e3s4;
798
+ this.r6b_1 = leftCardIndexForEachSuit;
799
+ this.s6b_1 = rightCardIndexForEachSuit;
800
+ this.t6b_1 = approximateRoundCountForGame;
801
+ this.u6b_1 = userData;
802
+ this.v6b_1 = provider;
803
+ }
804
+ protoOf($createNewShuffledCardDeckCOROUTINE$).r9 = function () {
811
805
  var suspendResult = this.l9_1;
812
806
  $sm: do
813
807
  try {
@@ -815,26 +809,26 @@
815
809
  switch (tmp) {
816
810
  case 0:
817
811
  this.k9_1 = 4;
818
- this.e67_1 = this.d67_1;
819
- this.f67_1 = this.e67_1.r2_1;
820
- if (this.f67_1 === 0) {
812
+ this.w6b_1 = this.v6b_1;
813
+ this.x6b_1 = this.w6b_1.o2_1;
814
+ if (this.x6b_1 === 0) {
821
815
  var tmp_0 = this;
822
- var it = this.y66_1.n65(this.z66_1, this.a67_1);
823
- tmp_0.g67_1 = this.y66_1.r65(it);
816
+ var it = this.q6b_1.f6a(this.r6b_1, this.s6b_1);
817
+ tmp_0.y6b_1 = this.q6b_1.j6a(it);
824
818
  this.j9_1 = 3;
825
819
  continue $sm;
826
820
  } else {
827
- if (this.f67_1 === 1) {
821
+ if (this.x6b_1 === 1) {
828
822
  this.j9_1 = 2;
829
- suspendResult = getRandomOrgCards(this.y66_1, this.z66_1, this.a67_1, this.b67_1, this.c67_1, false, this);
823
+ suspendResult = getRandomOrgCards(this.q6b_1, this.r6b_1, this.s6b_1, this.t6b_1, this.u6b_1, false, this);
830
824
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
831
825
  return suspendResult;
832
826
  }
833
827
  continue $sm;
834
828
  } else {
835
- if (this.f67_1 === 2) {
829
+ if (this.x6b_1 === 2) {
836
830
  this.j9_1 = 1;
837
- suspendResult = getRandomOrgCards(this.y66_1, this.z66_1, this.a67_1, this.b67_1, this.c67_1, true, this);
831
+ suspendResult = getRandomOrgCards(this.q6b_1, this.r6b_1, this.s6b_1, this.t6b_1, this.u6b_1, true, this);
838
832
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
839
833
  return suspendResult;
840
834
  }
@@ -848,15 +842,15 @@
848
842
 
849
843
  break;
850
844
  case 1:
851
- this.g67_1 = suspendResult;
845
+ this.y6b_1 = suspendResult;
852
846
  this.j9_1 = 3;
853
847
  continue $sm;
854
848
  case 2:
855
- this.g67_1 = suspendResult;
849
+ this.y6b_1 = suspendResult;
856
850
  this.j9_1 = 3;
857
851
  continue $sm;
858
852
  case 3:
859
- return this.g67_1;
853
+ return this.y6b_1;
860
854
  case 4:
861
855
  throw this.m9_1;
862
856
  }
@@ -871,16 +865,16 @@
871
865
  }
872
866
  while (true);
873
867
  };
874
- function $getRandomOrgCardsCOROUTINE$1(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
868
+ function $getRandomOrgCardsCOROUTINE$(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
875
869
  CoroutineImpl.call(this, resultContinuation);
876
- this.c66_1 = _this__u8e3s4;
877
- this.d66_1 = leftCardIndexForEachSuit;
878
- this.e66_1 = rightCardIndexForEachSuit;
879
- this.f66_1 = approximateRoundsCount;
880
- this.g66_1 = userData;
881
- this.h66_1 = signed;
882
- }
883
- protoOf($getRandomOrgCardsCOROUTINE$1).r9 = function () {
870
+ this.u6a_1 = _this__u8e3s4;
871
+ this.v6a_1 = leftCardIndexForEachSuit;
872
+ this.w6a_1 = rightCardIndexForEachSuit;
873
+ this.x6a_1 = approximateRoundsCount;
874
+ this.y6a_1 = userData;
875
+ this.z6a_1 = signed;
876
+ }
877
+ protoOf($getRandomOrgCardsCOROUTINE$).r9 = function () {
884
878
  var suspendResult = this.l9_1;
885
879
  $sm: do
886
880
  try {
@@ -888,11 +882,11 @@
888
882
  switch (tmp) {
889
883
  case 0:
890
884
  this.k9_1 = 5;
891
- this.i66_1 = this.c66_1.k67(this.d66_1, this.e66_1);
892
- this.j66_1 = this.c66_1.i67_1;
893
- this.k66_1 = this.i66_1 - 1 | 0;
885
+ this.a6b_1 = this.u6a_1.c6c(this.v6a_1, this.w6a_1);
886
+ this.b6b_1 = this.u6a_1.a6c_1;
887
+ this.c6b_1 = this.a6b_1 - 1 | 0;
894
888
  this.j9_1 = 1;
895
- suspendResult = this.j66_1.d5q(this.f66_1, this.g66_1, 0, this.k66_1, this.i66_1, this.h66_1, VOID, this);
889
+ suspendResult = this.b6b_1.x5u(this.x6a_1, this.y6a_1, 0, this.c6b_1, this.a6b_1, this.z6a_1, VOID, this);
896
890
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
897
891
  return suspendResult;
898
892
  }
@@ -900,34 +894,34 @@
900
894
  this.j9_1 = 2;
901
895
  continue $sm;
902
896
  case 1:
903
- this.l66_1 = suspendResult.sk_1;
904
- suspendResult = new Result(this.l66_1);
897
+ this.d6b_1 = suspendResult.cm_1;
898
+ suspendResult = new Result(this.d6b_1);
905
899
  this.j9_1 = 2;
906
900
  continue $sm;
907
901
  case 2:
908
- this.m66_1 = suspendResult.sk_1;
909
- if (_Result___get_isSuccess__impl__sndoy8(this.m66_1)) {
902
+ this.e6b_1 = suspendResult.cm_1;
903
+ if (_Result___get_isSuccess__impl__sndoy8(this.e6b_1)) {
910
904
  var tmp_0 = this;
911
- var this_0 = this.m66_1;
905
+ var this_0 = this.e6b_1;
912
906
  throwOnFailure(this_0);
913
907
  var tmp_1 = _Result___get_value__impl__bjfvqg(this_0);
914
908
  var tmp14_cards = ((tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE()).cards;
915
- var this_1 = normalizeCards(this.c66_1, tmp14_cards, this.d66_1);
909
+ var this_1 = normalizeCards(this.u6a_1, tmp14_cards, this.v6a_1);
916
910
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
917
- var tmp0_iterator = this_1.j();
918
- while (tmp0_iterator.k()) {
919
- var item = tmp0_iterator.l();
920
- destination.e(Companion_instance.b65(item));
911
+ var _iterator__ex2g4s = this_1.j();
912
+ while (_iterator__ex2g4s.k()) {
913
+ var item = _iterator__ex2g4s.l();
914
+ destination.e(Companion_instance.t69(item));
921
915
  }
922
- tmp_0.n66_1 = destination;
916
+ tmp_0.f6b_1 = destination;
923
917
  this.j9_1 = 4;
924
918
  continue $sm;
925
919
  } else {
926
- this.o66_1 = Result__exceptionOrNull_impl_p6xea9(this.m66_1);
927
- var tmp15_safe_receiver = this.o66_1;
928
- this.c66_1.j67_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.o66_1);
920
+ this.g6b_1 = Result__exceptionOrNull_impl_p6xea9(this.e6b_1);
921
+ var tmp15_safe_receiver = this.g6b_1;
922
+ this.u6a_1.b6c_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.g6b_1);
929
923
  this.j9_1 = 3;
930
- suspendResult = this.c66_1.o65(this.d66_1, this.e66_1, this.f66_1, this.g66_1, CardsRandomProvider_CUSTOM_getInstance(), this);
924
+ suspendResult = this.u6a_1.g6a(this.v6a_1, this.w6a_1, this.x6a_1, this.y6a_1, CardsRandomProvider_CUSTOM_getInstance(), this);
931
925
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
932
926
  return suspendResult;
933
927
  }
@@ -935,11 +929,11 @@
935
929
  }
936
930
 
937
931
  case 3:
938
- this.n66_1 = suspendResult;
932
+ this.f6b_1 = suspendResult;
939
933
  this.j9_1 = 4;
940
934
  continue $sm;
941
935
  case 4:
942
- return this.n66_1;
936
+ return this.f6b_1;
943
937
  case 5:
944
938
  throw this.m9_1;
945
939
  }
@@ -955,32 +949,30 @@
955
949
  while (true);
956
950
  };
957
951
  function CardsDealerProviderImpl(random, randomPoolProvider, logger) {
958
- this.h67_1 = random;
959
- this.i67_1 = randomPoolProvider;
960
- this.j67_1 = logger;
952
+ this.z6b_1 = random;
953
+ this.a6c_1 = randomPoolProvider;
954
+ this.b6c_1 = logger;
961
955
  }
962
- protoOf(CardsDealerProviderImpl).n65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
956
+ protoOf(CardsDealerProviderImpl).f6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
963
957
  // Inline function 'kotlin.collections.flatMap' call
958
+ var tmp0 = get_entries();
964
959
  // Inline function 'kotlin.collections.flatMapTo' call
965
- var this_0 = get_entries();
966
960
  var destination = ArrayList_init_$Create$();
967
- var tmp0_iterator = this_0.j();
968
- while (tmp0_iterator.k()) {
969
- var element = tmp0_iterator.l();
970
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>' call
961
+ var _iterator__ex2g4s = tmp0.j();
962
+ while (_iterator__ex2g4s.k()) {
963
+ var element = _iterator__ex2g4s.l();
971
964
  // Inline function 'kotlin.collections.map' call
972
- var this_1 = this.l67(leftCardIndexForEachSuit, rightCardIndexForEachSuit);
965
+ var this_0 = this.d6c(leftCardIndexForEachSuit, rightCardIndexForEachSuit);
973
966
  // Inline function 'kotlin.collections.mapTo' call
974
- var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
975
- var inductionVariable = this_1.a1_1;
976
- var last = this_1.b1_1;
967
+ var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
968
+ var inductionVariable = this_0.a1_1;
969
+ var last = this_0.b1_1;
977
970
  if (inductionVariable <= last)
978
971
  do {
979
972
  var item = inductionVariable;
980
973
  inductionVariable = inductionVariable + 1 | 0;
981
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>.<anonymous>' call
982
974
  var it = item;
983
- var tmp$ret$0 = Companion_instance.z64(element, it);
975
+ var tmp$ret$0 = Companion_instance.r69(element, it);
984
976
  destination_0.e(tmp$ret$0);
985
977
  }
986
978
  while (!(item === last));
@@ -989,41 +981,38 @@
989
981
  }
990
982
  return destination;
991
983
  };
992
- protoOf(CardsDealerProviderImpl).l67 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
984
+ protoOf(CardsDealerProviderImpl).d6c = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
993
985
  return until(leftCardIndexForEachSuit, 13 - rightCardIndexForEachSuit | 0);
994
986
  };
995
- protoOf(CardsDealerProviderImpl).k67 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
987
+ protoOf(CardsDealerProviderImpl).c6c = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
996
988
  // Inline function 'kotlin.collections.sumOf' call
997
989
  var sum = 0;
998
- var tmp0_iterator = get_entries().j();
999
- while (tmp0_iterator.k()) {
1000
- var element = tmp0_iterator.l();
990
+ var _iterator__ex2g4s = get_entries().j();
991
+ while (_iterator__ex2g4s.k()) {
992
+ var element = _iterator__ex2g4s.l();
1001
993
  var tmp = sum;
1002
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getCardsCount.<anonymous>' call
1003
- sum = tmp + count(this.l67(leftCardIndexForEachSuit, rightCardIndexForEachSuit)) | 0;
994
+ sum = tmp + count(this.d6c(leftCardIndexForEachSuit, rightCardIndexForEachSuit)) | 0;
1004
995
  }
1005
996
  return sum;
1006
997
  };
1007
- protoOf(CardsDealerProviderImpl).o65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1008
- var tmp = new $createNewShuffledCardDeckCOROUTINE$0(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
998
+ protoOf(CardsDealerProviderImpl).g6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
999
+ var tmp = new $createNewShuffledCardDeckCOROUTINE$(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
1009
1000
  tmp.l9_1 = Unit_instance;
1010
1001
  tmp.m9_1 = null;
1011
1002
  return tmp.r9();
1012
1003
  };
1013
- protoOf(CardsDealerProviderImpl).p65 = function (count, cards) {
1014
- // Inline function 'kotlin.apply' call
1004
+ protoOf(CardsDealerProviderImpl).h6a = function (count, cards) {
1015
1005
  // Inline function 'kotlin.collections.mutableListOf' call
1006
+ // Inline function 'kotlin.apply' call
1016
1007
  var this_0 = ArrayList_init_$Create$();
1017
- // Inline function 'kotlin.contracts.contract' call
1018
1008
  $l$block: {
1019
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getNRandomUniqueCards.<anonymous>' call
1020
1009
  var _iterator__ex2g4s = cards.j();
1021
1010
  $l$loop_0: while (_iterator__ex2g4s.k()) {
1022
1011
  var card = _iterator__ex2g4s.l();
1023
1012
  if (this_0.m() === count) {
1024
1013
  break $l$block;
1025
1014
  }
1026
- var hasSimilarCard = this_0.v1(card);
1015
+ var hasSimilarCard = this_0.s1(card);
1027
1016
  if (hasSimilarCard) {
1028
1017
  continue $l$loop_0;
1029
1018
  }
@@ -1040,11 +1029,10 @@
1040
1029
  tmp$ret$2 = false;
1041
1030
  break $l$block_1;
1042
1031
  }
1043
- var tmp0_iterator = this_0.j();
1044
- while (tmp0_iterator.k()) {
1045
- var element = tmp0_iterator.l();
1046
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getNRandomUniqueCards.<anonymous>.<anonymous>' call
1047
- if (element.y64() === card.y64()) {
1032
+ var _iterator__ex2g4s_0 = this_0.j();
1033
+ while (_iterator__ex2g4s_0.k()) {
1034
+ var element = _iterator__ex2g4s_0.l();
1035
+ if (element.q69() === card.q69()) {
1048
1036
  tmp$ret$2 = true;
1049
1037
  break $l$block_1;
1050
1038
  }
@@ -1059,82 +1047,77 @@
1059
1047
  }
1060
1048
  return this_0;
1061
1049
  };
1062
- protoOf(CardsDealerProviderImpl).q65 = function (cards, times) {
1050
+ protoOf(CardsDealerProviderImpl).i6a = function (cards, times) {
1063
1051
  // Inline function 'kotlin.let' call
1064
- // Inline function 'kotlin.contracts.contract' call
1065
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.standardShuffledCards.<anonymous>' call
1066
1052
  var shuffled = toMutableList(cards);
1067
1053
  var inductionVariable = 0;
1068
1054
  if (inductionVariable < times)
1069
1055
  do {
1070
1056
  var i = inductionVariable;
1071
1057
  inductionVariable = inductionVariable + 1 | 0;
1072
- shuffled = this.h67_1.o5u(shuffled);
1058
+ shuffled = this.z6b_1.h5z(shuffled);
1073
1059
  }
1074
1060
  while (inductionVariable < times);
1075
1061
  return shuffled;
1076
1062
  };
1077
- protoOf(CardsDealerProviderImpl).s65 = function (cards, times) {
1078
- return toList(overhand(riffle(toMutableList(cards), times, this.h67_1), times, this.h67_1));
1063
+ protoOf(CardsDealerProviderImpl).k6a = function (cards, times) {
1064
+ return toList(overhand(riffle(toMutableList(cards), times, this.z6b_1), times, this.z6b_1));
1079
1065
  };
1080
1066
  function Companion_3() {
1081
1067
  }
1082
- protoOf(Companion_3).m67 = function () {
1083
- // Inline function 'kotlin.apply' call
1068
+ protoOf(Companion_3).e6c = function () {
1084
1069
  // Inline function 'kotlin.collections.mutableListOf' call
1070
+ // Inline function 'kotlin.apply' call
1085
1071
  var this_0 = ArrayList_init_$Create$();
1086
- // Inline function 'kotlin.contracts.contract' call
1087
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.Companion.getCards.<anonymous>' call
1088
- this_0.n(listOf([Companion_instance.a65(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a65(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.a65(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a65(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.a65(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.a65(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1089
- this_0.n(listOf([Companion_instance.a65(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.a65(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.a65(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.a65(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.a65(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.a65(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1090
- this_0.n(listOf([Companion_instance.a65(Suit_CLUB_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.a65(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.a65(Suit_HEART_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.a65(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a65(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a65(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1091
- this_0.n(listOf([Companion_instance.a65(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.a65(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.a65(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.a65(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.a65(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.a65(Suit_SPADE_getInstance(), CardName_QUEEN_getInstance())]));
1092
- this_0.n(listOf([Companion_instance.a65(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.a65(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.a65(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.a65(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.a65(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.a65(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.a65(Suit_DIAMOND_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.a65(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1072
+ this_0.n(listOf([Companion_instance.s69(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s69(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.s69(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s69(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.s69(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.s69(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1073
+ this_0.n(listOf([Companion_instance.s69(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.s69(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.s69(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.s69(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.s69(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.s69(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1074
+ this_0.n(listOf([Companion_instance.s69(Suit_CLUB_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.s69(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.s69(Suit_HEART_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.s69(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s69(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s69(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1075
+ this_0.n(listOf([Companion_instance.s69(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.s69(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.s69(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.s69(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.s69(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.s69(Suit_SPADE_getInstance(), CardName_QUEEN_getInstance())]));
1076
+ this_0.n(listOf([Companion_instance.s69(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.s69(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.s69(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.s69(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.s69(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.s69(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.s69(Suit_DIAMOND_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.s69(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1093
1077
  return this_0;
1094
1078
  };
1095
- protoOf(Companion_3).n67 = function () {
1096
- return listOf([Companion_instance.a65(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a65(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a65(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a65(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1079
+ protoOf(Companion_3).f6c = function () {
1080
+ return listOf([Companion_instance.s69(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s69(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s69(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s69(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1097
1081
  };
1098
1082
  var Companion_instance_3;
1099
1083
  function Companion_getInstance_3() {
1100
1084
  return Companion_instance_3;
1101
1085
  }
1102
1086
  function FakeCardsDealerProvider(cards, cardsForLot) {
1103
- cards = cards === VOID ? Companion_instance_3.m67() : cards;
1104
- cardsForLot = cardsForLot === VOID ? Companion_instance_3.n67() : cardsForLot;
1105
- this.o67_1 = cards;
1106
- this.p67_1 = cardsForLot;
1087
+ cards = cards === VOID ? Companion_instance_3.e6c() : cards;
1088
+ cardsForLot = cardsForLot === VOID ? Companion_instance_3.f6c() : cardsForLot;
1089
+ this.g6c_1 = cards;
1090
+ this.h6c_1 = cardsForLot;
1107
1091
  }
1108
- protoOf(FakeCardsDealerProvider).n65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1109
- return this.o67_1;
1092
+ protoOf(FakeCardsDealerProvider).f6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1093
+ return this.g6c_1;
1110
1094
  };
1111
- protoOf(FakeCardsDealerProvider).o65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1112
- return this.o67_1;
1095
+ protoOf(FakeCardsDealerProvider).g6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1096
+ return this.g6c_1;
1113
1097
  };
1114
- protoOf(FakeCardsDealerProvider).p65 = function (count, cards) {
1115
- return this.p67_1;
1098
+ protoOf(FakeCardsDealerProvider).h6a = function (count, cards) {
1099
+ return this.h6c_1;
1116
1100
  };
1117
- protoOf(FakeCardsDealerProvider).q65 = function (cards, times) {
1101
+ protoOf(FakeCardsDealerProvider).i6a = function (cards, times) {
1118
1102
  return cards;
1119
1103
  };
1120
- protoOf(FakeCardsDealerProvider).s65 = function (cards, times) {
1104
+ protoOf(FakeCardsDealerProvider).k6a = function (cards, times) {
1121
1105
  return cards;
1122
1106
  };
1123
1107
  function CombinationsCheckerProvider() {
1124
1108
  }
1125
1109
  function createCombination($this, cards, supportedCombinations) {
1126
1110
  var size = cards.m();
1127
- if (supportedCombinations.v1(size)) {
1111
+ if (supportedCombinations.s1(size)) {
1128
1112
  return cards;
1129
1113
  }
1130
1114
  var fromLongestCombinations = asReversed(sorted(supportedCombinations));
1131
1115
  var tmp$ret$1;
1132
1116
  $l$block: {
1133
1117
  // Inline function 'kotlin.collections.first' call
1134
- var tmp0_iterator = fromLongestCombinations.j();
1135
- while (tmp0_iterator.k()) {
1136
- var element = tmp0_iterator.l();
1137
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombination.<anonymous>' call
1118
+ var _iterator__ex2g4s = fromLongestCombinations.j();
1119
+ while (_iterator__ex2g4s.k()) {
1120
+ var element = _iterator__ex2g4s.l();
1138
1121
  if (element <= size) {
1139
1122
  tmp$ret$1 = element;
1140
1123
  break $l$block;
@@ -1146,23 +1129,23 @@
1146
1129
  return takeLast(cards, longestCombinationSupport);
1147
1130
  }
1148
1131
  function sam$kotlin_Comparator$0(function_0) {
1149
- this.v67_1 = function_0;
1132
+ this.n6c_1 = function_0;
1150
1133
  }
1151
- protoOf(sam$kotlin_Comparator$0).rc = function (a, b) {
1152
- return this.v67_1(a, b);
1134
+ protoOf(sam$kotlin_Comparator$0).xc = function (a, b) {
1135
+ return this.n6c_1(a, b);
1153
1136
  };
1154
1137
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
1155
- return this.rc(a, b);
1138
+ return this.xc(a, b);
1156
1139
  };
1157
- protoOf(sam$kotlin_Comparator$0).t3 = function () {
1158
- return this.v67_1;
1140
+ protoOf(sam$kotlin_Comparator$0).q3 = function () {
1141
+ return this.n6c_1;
1159
1142
  };
1160
1143
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
1161
1144
  var tmp;
1162
1145
  if (!(other == null) ? isInterface(other, Comparator) : false) {
1163
1146
  var tmp_0;
1164
1147
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1165
- tmp_0 = equals(this.t3(), other.t3());
1148
+ tmp_0 = equals(this.q3(), other.q3());
1166
1149
  } else {
1167
1150
  tmp_0 = false;
1168
1151
  }
@@ -1173,32 +1156,27 @@
1173
1156
  return tmp;
1174
1157
  };
1175
1158
  protoOf(sam$kotlin_Comparator$0).hashCode = function () {
1176
- return hashCode(this.t3());
1159
+ return hashCode(this.q3());
1177
1160
  };
1178
1161
  function CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda(a, b) {
1179
1162
  // Inline function 'kotlin.comparisons.compareValuesBy' call
1180
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1181
- var tmp = first_0(a).u64_1;
1182
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1183
- var tmp$ret$1 = first_0(b).u64_1;
1163
+ var tmp = first_0(a).m69_1;
1164
+ var tmp$ret$1 = first_0(b).m69_1;
1184
1165
  return compareValues(tmp, tmp$ret$1);
1185
1166
  }
1186
1167
  function CombinationsCheckerProviderImpl() {
1187
1168
  }
1188
- protoOf(CombinationsCheckerProviderImpl).q67 = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1189
- // Inline function 'kotlin.collections.filter' call
1169
+ protoOf(CombinationsCheckerProviderImpl).i6c = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1190
1170
  // Inline function 'kotlin.apply' call
1191
1171
  var this_0 = toMutableList(cards);
1192
- // Inline function 'kotlin.contracts.contract' call
1193
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
1194
1172
  sortWith(this_0, CardIndexComparator_instance);
1173
+ // Inline function 'kotlin.collections.filter' call
1195
1174
  // Inline function 'kotlin.collections.filterTo' call
1196
1175
  var destination = ArrayList_init_$Create$();
1197
- var tmp0_iterator = this_0.j();
1198
- while (tmp0_iterator.k()) {
1199
- var element = tmp0_iterator.l();
1200
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
1201
- if (element.w64()) {
1176
+ var _iterator__ex2g4s = this_0.j();
1177
+ while (_iterator__ex2g4s.k()) {
1178
+ var element = _iterator__ex2g4s.l();
1179
+ if (element.o69()) {
1202
1180
  destination.e(element);
1203
1181
  }
1204
1182
  }
@@ -1215,16 +1193,16 @@
1215
1193
  inductionVariable = inductionVariable + 1 | 0;
1216
1194
  var previousCard = lastOrNull(combinationCards);
1217
1195
  var currentCard = sortedByIndexCards.o(i);
1218
- var isNextInRow = !(previousCard == null) && currentCard.u64_1 === (previousCard.u64_1 + 1 | 0) && currentCard.x64().equals(previousCard.x64());
1219
- var passedCardNamesCheck = includeCardNames == null || includeCardNames.v1(currentCard.s2());
1220
- var passedSuitCheck = suit == null || currentCard.x64().equals(suit);
1196
+ var isNextInRow = !(previousCard == null) && currentCard.m69_1 === (previousCard.m69_1 + 1 | 0) && currentCard.p69().equals(previousCard.p69());
1197
+ var passedCardNamesCheck = includeCardNames == null || includeCardNames.s1(currentCard.p2());
1198
+ var passedSuitCheck = suit == null || currentCard.p69().equals(suit);
1221
1199
  if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
1222
1200
  combinationCards.e(currentCard);
1223
1201
  } else {
1224
1202
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1225
- combinations.n(this.u67(toMutableList(combinationCards), supportedCombinations));
1203
+ combinations.n(this.m6c(toMutableList(combinationCards), supportedCombinations));
1226
1204
  }
1227
- combinationCards.d2();
1205
+ combinationCards.a2();
1228
1206
  if (passedSuitCheck && passedCardNamesCheck) {
1229
1207
  combinationCards.e(currentCard);
1230
1208
  }
@@ -1232,55 +1210,48 @@
1232
1210
  }
1233
1211
  while (inductionVariable <= last);
1234
1212
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1235
- combinations.n(this.u67(toMutableList(combinationCards), supportedCombinations));
1213
+ combinations.n(this.m6c(toMutableList(combinationCards), supportedCombinations));
1236
1214
  }
1237
1215
  return combinations;
1238
1216
  };
1239
- protoOf(CombinationsCheckerProviderImpl).s67 = function (cards, cardsCount, includeCardNames) {
1240
- // Inline function 'kotlin.collections.filter' call
1241
- // Inline function 'kotlin.collections.filter' call
1217
+ protoOf(CombinationsCheckerProviderImpl).k6c = function (cards, cardsCount, includeCardNames) {
1242
1218
  // Inline function 'kotlin.apply' call
1243
1219
  var this_0 = toMutableList(cards);
1244
- // Inline function 'kotlin.contracts.contract' call
1245
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1246
1220
  sortWith(this_0, CardIndexComparator_instance);
1221
+ // Inline function 'kotlin.collections.filter' call
1247
1222
  // Inline function 'kotlin.collections.filterTo' call
1248
1223
  var destination = ArrayList_init_$Create$();
1249
- var tmp0_iterator = this_0.j();
1250
- while (tmp0_iterator.k()) {
1251
- var element = tmp0_iterator.l();
1252
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1253
- if (element.w64()) {
1224
+ var _iterator__ex2g4s = this_0.j();
1225
+ while (_iterator__ex2g4s.k()) {
1226
+ var element = _iterator__ex2g4s.l();
1227
+ if (element.o69()) {
1254
1228
  destination.e(element);
1255
1229
  }
1256
1230
  }
1231
+ // Inline function 'kotlin.collections.filter' call
1257
1232
  // Inline function 'kotlin.collections.filterTo' call
1258
1233
  var destination_0 = ArrayList_init_$Create$();
1259
- var tmp0_iterator_0 = destination.j();
1260
- while (tmp0_iterator_0.k()) {
1261
- var element_0 = tmp0_iterator_0.l();
1262
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1263
- if (includeCardNames == null || includeCardNames.v1(element_0.s2())) {
1234
+ var _iterator__ex2g4s_0 = destination.j();
1235
+ while (_iterator__ex2g4s_0.k()) {
1236
+ var element_0 = _iterator__ex2g4s_0.l();
1237
+ if (includeCardNames == null || includeCardNames.s1(element_0.p2())) {
1264
1238
  destination_0.e(element_0);
1265
1239
  }
1266
1240
  }
1267
1241
  var sortedByNumberCards = toList(destination_0);
1268
- // Inline function 'kotlin.collections.filter' call
1269
1242
  // Inline function 'kotlin.collections.groupBy' call
1270
1243
  // Inline function 'kotlin.collections.groupByTo' call
1271
1244
  var destination_1 = LinkedHashMap_init_$Create$();
1272
- var tmp0_iterator_1 = sortedByNumberCards.j();
1273
- while (tmp0_iterator_1.k()) {
1274
- var element_1 = tmp0_iterator_1.l();
1275
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1276
- var key = element_1.y64();
1245
+ var _iterator__ex2g4s_1 = sortedByNumberCards.j();
1246
+ while (_iterator__ex2g4s_1.k()) {
1247
+ var element_1 = _iterator__ex2g4s_1.l();
1248
+ var key = element_1.q69();
1277
1249
  // Inline function 'kotlin.collections.getOrPut' call
1278
- var value = destination_1.k2(key);
1250
+ var value = destination_1.h2(key);
1279
1251
  var tmp;
1280
1252
  if (value == null) {
1281
- // Inline function 'kotlin.collections.groupByTo.<anonymous>' call
1282
1253
  var answer = ArrayList_init_$Create$();
1283
- destination_1.n2(key, answer);
1254
+ destination_1.k2(key, answer);
1284
1255
  tmp = answer;
1285
1256
  } else {
1286
1257
  tmp = value;
@@ -1288,39 +1259,36 @@
1288
1259
  var list = tmp;
1289
1260
  list.e(element_1);
1290
1261
  }
1262
+ // Inline function 'kotlin.collections.filter' call
1291
1263
  // Inline function 'kotlin.collections.filterTo' call
1292
1264
  var destination_2 = LinkedHashMap_init_$Create$();
1293
1265
  // Inline function 'kotlin.collections.iterator' call
1294
- var tmp0_iterator_2 = destination_1.s().j();
1295
- while (tmp0_iterator_2.k()) {
1296
- var element_2 = tmp0_iterator_2.l();
1297
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1266
+ var _iterator__ex2g4s_2 = destination_1.s().j();
1267
+ while (_iterator__ex2g4s_2.k()) {
1268
+ var element_2 = _iterator__ex2g4s_2.l();
1298
1269
  if (element_2.u().m() >= cardsCount) {
1299
- destination_2.n2(element_2.t(), element_2.u());
1270
+ destination_2.k2(element_2.t(), element_2.u());
1300
1271
  }
1301
1272
  }
1302
- var combinations = destination_2.m2();
1273
+ var combinations = destination_2.j2();
1303
1274
  // Inline function 'kotlin.collections.map' call
1304
1275
  // Inline function 'kotlin.collections.mapTo' call
1305
1276
  var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(combinations, 10));
1306
- var tmp0_iterator_3 = combinations.j();
1307
- while (tmp0_iterator_3.k()) {
1308
- var item = tmp0_iterator_3.l();
1309
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1310
- var tmp$ret$16 = sortedWith(item, CardIndexComparator_instance);
1311
- destination_3.e(tmp$ret$16);
1277
+ var _iterator__ex2g4s_3 = combinations.j();
1278
+ while (_iterator__ex2g4s_3.k()) {
1279
+ var item = _iterator__ex2g4s_3.l();
1280
+ var tmp$ret$17 = sortedWith(item, CardIndexComparator_instance);
1281
+ destination_3.e(tmp$ret$17);
1312
1282
  }
1313
1283
  return destination_3;
1314
1284
  };
1315
- protoOf(CombinationsCheckerProviderImpl).u67 = function (cards, supportedCombinations) {
1285
+ protoOf(CombinationsCheckerProviderImpl).m6c = function (cards, supportedCombinations) {
1316
1286
  // Inline function 'kotlin.collections.minOf' call
1317
1287
  var iterator = supportedCombinations.j();
1318
1288
  if (!iterator.k())
1319
1289
  throw NoSuchElementException_init_$Create$_0();
1320
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1321
1290
  var minValue = iterator.l();
1322
1291
  while (iterator.k()) {
1323
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1324
1292
  var v = iterator.l();
1325
1293
  if (compareTo(minValue, v) > 0) {
1326
1294
  minValue = v;
@@ -1333,7 +1301,7 @@
1333
1301
  while (cardsToCheck.m() >= shortestCombinationSupport) {
1334
1302
  var combinationCards = createCombination(this, cardsToCheck, supportedCombinations);
1335
1303
  combinations.e(toList(combinationCards));
1336
- cardsToCheck.c2(combinationCards);
1304
+ cardsToCheck.z1(combinationCards);
1337
1305
  }
1338
1306
  // Inline function 'kotlin.collections.sortedBy' call
1339
1307
  // Inline function 'kotlin.comparisons.compareBy' call
@@ -1344,37 +1312,36 @@
1344
1312
  function DealerReducer() {
1345
1313
  }
1346
1314
  function DealerReducerImpl(logger, enableLogs) {
1347
- this.z67_1 = logger;
1348
- this.a68_1 = enableLogs;
1315
+ this.r6c_1 = logger;
1316
+ this.s6c_1 = enableLogs;
1349
1317
  }
1350
- protoOf(DealerReducerImpl).w67 = function (cards, cardsToRemove) {
1318
+ protoOf(DealerReducerImpl).o6c = function (cards, cardsToRemove) {
1351
1319
  var list = cards;
1352
1320
  var _iterator__ex2g4s = cardsToRemove.j();
1353
1321
  while (_iterator__ex2g4s.k()) {
1354
1322
  var gameCard = _iterator__ex2g4s.l();
1355
- list = this.x67(list, gameCard);
1323
+ list = this.p6c(list, gameCard);
1356
1324
  }
1357
1325
  return list;
1358
1326
  };
1359
- protoOf(DealerReducerImpl).x67 = function (cards, cardToRemove) {
1327
+ protoOf(DealerReducerImpl).p6c = function (cards, cardToRemove) {
1360
1328
  var tmp;
1361
- if (!cardToRemove.d65() && cards.v1(cardToRemove)) {
1362
- if (this.a68_1) {
1363
- this.z67_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1329
+ if (!cardToRemove.v69() && cards.s1(cardToRemove)) {
1330
+ if (this.s6c_1) {
1331
+ this.r6c_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1364
1332
  }
1365
1333
  tmp = minus(cards, cardToRemove);
1366
1334
  } else {
1367
- if (this.a68_1) {
1368
- this.z67_1.d('Dealer', 'Card removed as hidden: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1335
+ if (this.s6c_1) {
1336
+ this.r6c_1.d('Dealer', 'Card removed as hidden: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1369
1337
  }
1370
1338
  // Inline function 'kotlin.collections.filterNot' call
1371
1339
  // Inline function 'kotlin.collections.filterNotTo' call
1372
1340
  var destination = ArrayList_init_$Create$();
1373
- var tmp0_iterator = cards.j();
1374
- while (tmp0_iterator.k()) {
1375
- var element = tmp0_iterator.l();
1376
- // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1377
- if (!element.d65()) {
1341
+ var _iterator__ex2g4s = cards.j();
1342
+ while (_iterator__ex2g4s.k()) {
1343
+ var element = _iterator__ex2g4s.l();
1344
+ if (!element.v69()) {
1378
1345
  destination.e(element);
1379
1346
  }
1380
1347
  }
@@ -1382,38 +1349,37 @@
1382
1349
  // Inline function 'kotlin.collections.filter' call
1383
1350
  // Inline function 'kotlin.collections.filterTo' call
1384
1351
  var destination_0 = ArrayList_init_$Create$();
1385
- var tmp0_iterator_0 = cards.j();
1386
- while (tmp0_iterator_0.k()) {
1387
- var element_0 = tmp0_iterator_0.l();
1388
- // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1389
- if (element_0.d65()) {
1352
+ var _iterator__ex2g4s_0 = cards.j();
1353
+ while (_iterator__ex2g4s_0.k()) {
1354
+ var element_0 = _iterator__ex2g4s_0.l();
1355
+ if (element_0.v69()) {
1390
1356
  destination_0.e(element_0);
1391
1357
  }
1392
1358
  }
1393
1359
  var hiddenCards = destination_0;
1394
1360
  if (hiddenCards.p()) {
1395
- this.z67_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1361
+ this.r6c_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1396
1362
  }
1397
1363
  tmp = plus(notHiddenCards, dropLast(hiddenCards, 1));
1398
1364
  }
1399
1365
  return tmp;
1400
1366
  };
1401
- protoOf(DealerReducerImpl).y67 = function (cards, cardToAdd) {
1402
- if (this.a68_1) {
1403
- this.z67_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1367
+ protoOf(DealerReducerImpl).q6c = function (cards, cardToAdd) {
1368
+ if (this.s6c_1) {
1369
+ this.r6c_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1404
1370
  }
1405
- if (cards.v1(cardToAdd)) {
1406
- this.z67_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1371
+ if (cards.s1(cardToAdd)) {
1372
+ this.r6c_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1407
1373
  }
1408
1374
  return plus_0(cards, cardToAdd);
1409
1375
  };
1410
1376
  //region block: post-declaration
1411
- protoOf(CardsDealerProviderImpl).r65 = standardShuffledCards$default;
1412
- protoOf(CardsDealerProviderImpl).t65 = realLifeShuffledCards$default;
1413
- protoOf(FakeCardsDealerProvider).r65 = standardShuffledCards$default;
1414
- protoOf(FakeCardsDealerProvider).t65 = realLifeShuffledCards$default;
1415
- protoOf(CombinationsCheckerProviderImpl).r67 = findCardsInRowCombinations$default;
1416
- protoOf(CombinationsCheckerProviderImpl).t67 = findSameCardsNumberCombinations$default;
1377
+ protoOf(CardsDealerProviderImpl).j6a = standardShuffledCards$default;
1378
+ protoOf(CardsDealerProviderImpl).l6a = realLifeShuffledCards$default;
1379
+ protoOf(FakeCardsDealerProvider).j6a = standardShuffledCards$default;
1380
+ protoOf(FakeCardsDealerProvider).l6a = realLifeShuffledCards$default;
1381
+ protoOf(CombinationsCheckerProviderImpl).j6c = findCardsInRowCombinations$default;
1382
+ protoOf(CombinationsCheckerProviderImpl).l6c = findSameCardsNumberCombinations$default;
1417
1383
  //endregion
1418
1384
  //region block: init
1419
1385
  CoreConfig_instance = new CoreConfig();