game_client_logic_deb 1.8.289 → 1.8.304

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 (37) hide show
  1. package/Kosi-Kaverit-kaverit.js +71 -71
  2. package/Kosi-Kodein-kodein-di.js +629 -629
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +1443 -1443
  4. package/Logic_Debertz-core.js +1844 -1994
  5. package/Logic_Debertz-core.js.map +1 -1
  6. package/Logic_Debertz-engine.js +17958 -20737
  7. package/Logic_Debertz-engine.js.map +1 -1
  8. package/Logic_Debertz-game_client.d.ts +52 -18
  9. package/Logic_Debertz-game_client.js +4918 -4804
  10. package/Logic_Debertz-game_client.js.map +1 -1
  11. package/kotlin-kotlin-stdlib.js +2286 -2105
  12. package/kotlin-kotlin-stdlib.js.map +1 -1
  13. package/kotlinx-atomicfu.js +25 -25
  14. package/kotlinx-coroutines-core.js +2833 -2827
  15. package/kotlinx-coroutines-core.js.map +1 -1
  16. package/kotlinx-io-kotlinx-io-core.js +354 -354
  17. package/kotlinx-serialization-kotlinx-serialization-core.js +1882 -1882
  18. package/kotlinx-serialization-kotlinx-serialization-json.js +1517 -1517
  19. package/ktor-ktor-client-content-negotiation.js +213 -213
  20. package/ktor-ktor-client-core.js +2494 -2494
  21. package/ktor-ktor-client-logging.js +547 -547
  22. package/ktor-ktor-events.js +11 -11
  23. package/ktor-ktor-http.js +721 -721
  24. package/ktor-ktor-io.js +1624 -1624
  25. package/ktor-ktor-serialization-kotlinx-json.js +7 -7
  26. package/ktor-ktor-serialization-kotlinx.js +261 -261
  27. package/ktor-ktor-serialization.js +129 -129
  28. package/ktor-ktor-utils.js +699 -699
  29. package/ktor-ktor-websockets.js +57 -57
  30. package/package.json +1 -1
  31. package/raspberry-cardgame-lib-core.js +262 -247
  32. package/raspberry-cardgame-lib-core.js.map +1 -1
  33. package/raspberry-cardgame-lib-logger.js +97 -97
  34. package/raspberry-cardgame-lib-random.js +1060 -965
  35. package/raspberry-cardgame-lib-random.js.map +1 -1
  36. package/secure-random-secure-random.js +17 -17
  37. package/uuid.js +23 -23
@@ -19,62 +19,64 @@
19
19
  'use strict';
20
20
  //region block: imports
21
21
  var imul = Math.imul;
22
- var protoOf = kotlin_kotlin.$_$.uc;
23
- var initMetadataForObject = kotlin_kotlin.$_$.yb;
24
- var defineProp = kotlin_kotlin.$_$.kb;
25
- var THROW_CCE = kotlin_kotlin.$_$.sg;
26
- var Comparator = kotlin_kotlin.$_$.eg;
22
+ var protoOf = kotlin_kotlin.$_$.vc;
23
+ var initMetadataForObject = kotlin_kotlin.$_$.zb;
24
+ var defineProp = kotlin_kotlin.$_$.lb;
25
+ var THROW_CCE = kotlin_kotlin.$_$.tg;
26
+ var Comparator = kotlin_kotlin.$_$.fg;
27
27
  var VOID = kotlin_kotlin.$_$.f;
28
28
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
29
29
  var Unit_instance = kotlin_kotlin.$_$.p5;
30
- var take = kotlin_kotlin.$_$.o9;
31
- var toList = kotlin_kotlin.$_$.s9;
32
- var takeLast = kotlin_kotlin.$_$.n9;
33
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.qh;
34
- var initMetadataForCompanion = kotlin_kotlin.$_$.ub;
30
+ var take = kotlin_kotlin.$_$.p9;
31
+ var toList = kotlin_kotlin.$_$.t9;
32
+ var takeLast = kotlin_kotlin.$_$.o9;
33
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.rh;
34
+ var initMetadataForCompanion = kotlin_kotlin.$_$.vb;
35
35
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w1;
36
- var Enum = kotlin_kotlin.$_$.hg;
37
- var initMetadataForClass = kotlin_kotlin.$_$.tb;
36
+ var Enum = kotlin_kotlin.$_$.ig;
37
+ var initMetadataForClass = kotlin_kotlin.$_$.ub;
38
38
  var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
39
- var enumEntries = kotlin_kotlin.$_$.xa;
39
+ var enumEntries = kotlin_kotlin.$_$.ya;
40
40
  var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.k;
41
- var lazy = kotlin_kotlin.$_$.oh;
41
+ var lazy = kotlin_kotlin.$_$.ph;
42
42
  var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
43
- var initMetadataForInterface = kotlin_kotlin.$_$.wb;
44
- var until = kotlin_kotlin.$_$.kd;
43
+ var initMetadataForInterface = kotlin_kotlin.$_$.xb;
44
+ var until = kotlin_kotlin.$_$.ld;
45
45
  var collectionSizeOrDefault = kotlin_kotlin.$_$.s6;
46
46
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
47
47
  var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
48
- var CoroutineImpl = kotlin_kotlin.$_$.va;
49
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ga;
50
- var initMetadataForCoroutine = kotlin_kotlin.$_$.vb;
48
+ var CoroutineImpl = kotlin_kotlin.$_$.wa;
49
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ha;
50
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.wb;
51
51
  var count = kotlin_kotlin.$_$.j7;
52
- var Result = kotlin_kotlin.$_$.qg;
52
+ var Result = kotlin_kotlin.$_$.rg;
53
53
  var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.g3;
54
- var throwOnFailure = kotlin_kotlin.$_$.uh;
54
+ var throwOnFailure = kotlin_kotlin.$_$.vh;
55
55
  var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.j3;
56
56
  var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.i3;
57
57
  var addAll = kotlin_kotlin.$_$.g6;
58
58
  var Collection = kotlin_kotlin.$_$.r5;
59
- var isInterface = kotlin_kotlin.$_$.hc;
60
- var toMutableList = kotlin_kotlin.$_$.w9;
59
+ var isInterface = kotlin_kotlin.$_$.ic;
60
+ var toMutableList = kotlin_kotlin.$_$.x9;
61
+ var riffle = kotlin_io_raspberryapps_cardgame_random.$_$.l;
62
+ var overhand = kotlin_io_raspberryapps_cardgame_random.$_$.k;
61
63
  var listOf = kotlin_kotlin.$_$.q8;
62
64
  var first = kotlin_kotlin.$_$.v7;
63
- var sorted = kotlin_kotlin.$_$.l9;
65
+ var sorted = kotlin_kotlin.$_$.m9;
64
66
  var asReversed = kotlin_kotlin.$_$.k6;
65
67
  var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.d2;
66
- var equals = kotlin_kotlin.$_$.lb;
67
- var FunctionAdapter = kotlin_kotlin.$_$.za;
68
- var hashCode = kotlin_kotlin.$_$.sb;
68
+ var equals = kotlin_kotlin.$_$.mb;
69
+ var FunctionAdapter = kotlin_kotlin.$_$.ab;
70
+ var hashCode = kotlin_kotlin.$_$.tb;
69
71
  var first_0 = kotlin_kotlin.$_$.u7;
70
- var compareValues = kotlin_kotlin.$_$.ea;
71
- var sortWith = kotlin_kotlin.$_$.j9;
72
+ var compareValues = kotlin_kotlin.$_$.fa;
73
+ var sortWith = kotlin_kotlin.$_$.k9;
72
74
  var lastOrNull = kotlin_kotlin.$_$.k8;
73
75
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
74
- var sortedWith = kotlin_kotlin.$_$.k9;
76
+ var sortedWith = kotlin_kotlin.$_$.l9;
75
77
  var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.b2;
76
- var compareTo = kotlin_kotlin.$_$.jb;
77
- var toString = kotlin_kotlin.$_$.yc;
78
+ var compareTo = kotlin_kotlin.$_$.kb;
79
+ var toString = kotlin_kotlin.$_$.zc;
78
80
  var dropLast = kotlin_kotlin.$_$.l7;
79
81
  var plus = kotlin_kotlin.$_$.z8;
80
82
  var minus = kotlin_kotlin.$_$.u8;
@@ -93,7 +95,11 @@
93
95
  initMetadataForClass(CardsRandomProvider, 'CardsRandomProvider', VOID, Enum);
94
96
  function standardShuffledCards$default(cards, times, $super) {
95
97
  times = times === VOID ? 3 : times;
96
- return $super === VOID ? this.z65(cards, times) : $super.z65.call(this, cards, times);
98
+ return $super === VOID ? this.f66(cards, times) : $super.f66.call(this, cards, times);
99
+ }
100
+ function realLifeShuffledCards$default(cards, times, $super) {
101
+ times = times === VOID ? 20 : times;
102
+ return $super === VOID ? this.h66(cards, times) : $super.h66.call(this, cards, times);
97
103
  }
98
104
  initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider', VOID, VOID, VOID, [5]);
99
105
  initMetadataForCompanion(Companion_2);
@@ -106,12 +112,12 @@
106
112
  checkFromIndex = checkFromIndex === VOID ? first(supportedCombinations) : checkFromIndex;
107
113
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
108
114
  suit = suit === VOID ? null : suit;
109
- return $super === VOID ? this.v67(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.v67.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
115
+ return $super === VOID ? this.d68(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.d68.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
110
116
  }
111
117
  function findSameCardsNumberCombinations$default(cards, cardsCount, includeCardNames, $super) {
112
118
  cardsCount = cardsCount === VOID ? 4 : cardsCount;
113
119
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
114
- return $super === VOID ? this.x67(cards, cardsCount, includeCardNames) : $super.x67.call(this, cards, cardsCount, includeCardNames);
120
+ return $super === VOID ? this.f68(cards, cardsCount, includeCardNames) : $super.f68.call(this, cards, cardsCount, includeCardNames);
115
121
  }
116
122
  initMetadataForInterface(CombinationsCheckerProvider, 'CombinationsCheckerProvider');
117
123
  initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
@@ -120,9 +126,9 @@
120
126
  initMetadataForClass(DealerReducerImpl, 'DealerReducerImpl', VOID, VOID, [DealerReducer]);
121
127
  //endregion
122
128
  function CoreConfig() {
123
- this.version = '0.0.39';
129
+ this.version = '0.0.40';
124
130
  }
125
- protoOf(CoreConfig).l2y = function () {
131
+ protoOf(CoreConfig).n2y = function () {
126
132
  return this.version;
127
133
  };
128
134
  var CoreConfig_instance;
@@ -131,12 +137,12 @@
131
137
  }
132
138
  function CardIndexComparator() {
133
139
  }
134
- protoOf(CardIndexComparator).f65 = function (a, b) {
135
- return a.g65_1 - b.g65_1 | 0;
140
+ protoOf(CardIndexComparator).k65 = function (a, b) {
141
+ return a.l65_1 - b.l65_1 | 0;
136
142
  };
137
143
  protoOf(CardIndexComparator).compare = function (a, b) {
138
144
  var tmp = a instanceof GameCard ? a : THROW_CCE();
139
- return this.f65(tmp, b instanceof GameCard ? b : THROW_CCE());
145
+ return this.k65(tmp, b instanceof GameCard ? b : THROW_CCE());
140
146
  };
141
147
  var CardIndexComparator_instance;
142
148
  function CardIndexComparator_getInstance() {
@@ -158,12 +164,12 @@
158
164
  }
159
165
  function CardNumberComparator() {
160
166
  }
161
- protoOf(CardNumberComparator).f65 = function (a, b) {
162
- return b.h65() - a.h65() | 0;
167
+ protoOf(CardNumberComparator).k65 = function (a, b) {
168
+ return b.m65() - a.m65() | 0;
163
169
  };
164
170
  protoOf(CardNumberComparator).compare = function (a, b) {
165
171
  var tmp = a instanceof GameCard ? a : THROW_CCE();
166
- return this.f65(tmp, b instanceof GameCard ? b : THROW_CCE());
172
+ return this.k65(tmp, b instanceof GameCard ? b : THROW_CCE());
167
173
  };
168
174
  var CardNumberComparator_instance;
169
175
  function CardNumberComparator_getInstance() {
@@ -194,7 +200,7 @@
194
200
  var element = indexedObject[inductionVariable];
195
201
  inductionVariable = inductionVariable + 1 | 0;
196
202
  // Inline function 'io.raspberryapps.card_game.core.data.models.cards.byCardNamePredicate.<anonymous>.<anonymous>' call
197
- if (p1.o2().equals(element)) {
203
+ if (p1.p2().equals(element)) {
198
204
  tmp$ret$1 = true;
199
205
  break $l$block;
200
206
  }
@@ -220,7 +226,7 @@
220
226
  var CardName_STUB_instance;
221
227
  function getShortName($this) {
222
228
  var tmp;
223
- switch ($this.n2_1) {
229
+ switch ($this.o2_1) {
224
230
  case 0:
225
231
  tmp = 'A';
226
232
  break;
@@ -291,16 +297,16 @@
291
297
  }
292
298
  function Companion() {
293
299
  }
294
- protoOf(Companion).i65 = function (suit, number) {
300
+ protoOf(Companion).n65 = function (suit, number) {
295
301
  return new GameCard(getNumber(Companion_instance_0, getName(Companion_instance_0, number), suit));
296
302
  };
297
- protoOf(Companion).j65 = function (suit, cardNumber) {
303
+ protoOf(Companion).o65 = function (suit, cardNumber) {
298
304
  return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
299
305
  };
300
- protoOf(Companion).k65 = function (index) {
306
+ protoOf(Companion).p65 = function (index) {
301
307
  return new GameCard(index);
302
308
  };
303
- protoOf(Companion).l65 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
309
+ protoOf(Companion).q65 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
304
310
  var tmp;
305
311
  if (previousStubCardWithMaxIndex == null) {
306
312
  tmp = null;
@@ -309,7 +315,7 @@
309
315
  // Inline function 'kotlin.contracts.contract' call
310
316
  var tmp_0;
311
317
  // Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueStub.<anonymous>' call
312
- if (previousStubCardWithMaxIndex.m65()) {
318
+ if (previousStubCardWithMaxIndex.r65()) {
313
319
  tmp_0 = previousStubCardWithMaxIndex;
314
320
  } else {
315
321
  tmp_0 = null;
@@ -317,8 +323,8 @@
317
323
  tmp = tmp_0;
318
324
  }
319
325
  var tmp3_safe_receiver = tmp;
320
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.g65_1;
321
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.r65(tmp4_safe_receiver, playerIndex, reverse);
326
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.l65_1;
327
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.x65(tmp4_safe_receiver, playerIndex, reverse);
322
328
  var tmp_1;
323
329
  if (tmp5_safe_receiver == null) {
324
330
  tmp_1 = null;
@@ -329,20 +335,20 @@
329
335
  tmp_1 = tmp5_safe_receiver + 1 | 0;
330
336
  }
331
337
  var tmp0_elvis_lhs = tmp_1;
332
- var previousGameCardIndex = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
338
+ var previousGameCardPosition = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
333
339
  var tmp_2;
334
340
  if (reverse) {
335
- tmp_2 = ((53 + imul(playerIndex, 14) | 0) - position | 0) - previousGameCardIndex | 0;
341
+ tmp_2 = ((53 + imul(playerIndex, 14) | 0) - position | 0) - previousGameCardPosition | 0;
336
342
  } else {
337
- tmp_2 = ((53 + imul(playerIndex, 13) | 0) + position | 0) + previousGameCardIndex | 0;
343
+ tmp_2 = ((53 + imul(playerIndex, 13) | 0) + position | 0) + previousGameCardPosition | 0;
338
344
  }
339
345
  var index = tmp_2;
340
346
  return new GameCard(index);
341
347
  };
342
- protoOf(Companion).s65 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
348
+ protoOf(Companion).y65 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
343
349
  previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
344
350
  reverse = reverse === VOID ? false : reverse;
345
- return $super === VOID ? this.l65(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.l65.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
351
+ return $super === VOID ? this.q65(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.q65.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
346
352
  };
347
353
  var Companion_instance;
348
354
  function Companion_getInstance() {
@@ -353,7 +359,7 @@
353
359
  }
354
360
  function getCardNumber($this, number) {
355
361
  var tmp;
356
- switch (number.n2_1) {
362
+ switch (number.o2_1) {
357
363
  case 12:
358
364
  tmp = 0;
359
365
  break;
@@ -446,7 +452,7 @@
446
452
  return tmp;
447
453
  }
448
454
  function _get_isShirt__vd98rp($this) {
449
- return $this.g65_1 === 52;
455
+ return $this.l65_1 >= 150 && $this.l65_1 <= 202;
450
456
  }
451
457
  function CardName(name, ordinal) {
452
458
  Enum.call(this, name, ordinal);
@@ -455,12 +461,13 @@
455
461
  return getShortName(this);
456
462
  };
457
463
  function Companion_0() {
458
- this.n65_1 = -1;
459
- this.o65_1 = 13;
460
- this.p65_1 = 52;
461
- this.q65_1 = 53;
464
+ this.s65_1 = -1;
465
+ this.t65_1 = 13;
466
+ this.u65_1 = 52;
467
+ this.v65_1 = 150;
468
+ this.w65_1 = 53;
462
469
  }
463
- protoOf(Companion_0).r65 = function (_this__u8e3s4, playerIndex, reverse) {
470
+ protoOf(Companion_0).x65 = function (_this__u8e3s4, playerIndex, reverse) {
464
471
  var tmp;
465
472
  if (reverse) {
466
473
  tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
@@ -530,59 +537,59 @@
530
537
  return CardName_STUB_instance;
531
538
  }
532
539
  function GameCard(index) {
533
- this.g65_1 = index;
540
+ this.l65_1 = index;
534
541
  }
535
- protoOf(GameCard).t65 = function () {
542
+ protoOf(GameCard).z65 = function () {
536
543
  var tmp;
537
- var containsArg = this.g65_1;
544
+ var containsArg = this.l65_1;
538
545
  if (0 <= containsArg ? containsArg <= 13 : false) {
539
546
  tmp = Suit_DIAMOND_getInstance();
540
547
  } else {
541
- if (this.g65_1 <= 26) {
548
+ if (this.l65_1 <= 26) {
542
549
  tmp = Suit_SPADE_getInstance();
543
550
  } else {
544
- if (this.g65_1 <= 39) {
551
+ if (this.l65_1 <= 39) {
545
552
  tmp = Suit_HEART_getInstance();
546
553
  } else {
547
- if (this.g65_1 <= 52) {
554
+ if (this.l65_1 <= 52) {
548
555
  tmp = Suit_CLUB_getInstance();
549
556
  } else {
550
- throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.g65_1);
557
+ throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.l65_1);
551
558
  }
552
559
  }
553
560
  }
554
561
  }
555
562
  return tmp;
556
563
  };
557
- protoOf(GameCard).h65 = function () {
564
+ protoOf(GameCard).m65 = function () {
558
565
  var tmp;
559
- if (this.m65()) {
566
+ if (this.r65()) {
560
567
  tmp = -1;
561
568
  } else {
562
- tmp = this.g65_1 - imul(13, getIndex(this.t65())) | 0;
569
+ tmp = this.l65_1 - imul(13, getIndex(this.z65())) | 0;
563
570
  }
564
571
  return tmp;
565
572
  };
566
- protoOf(GameCard).o2 = function () {
567
- return this.m65() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.h65());
573
+ protoOf(GameCard).p2 = function () {
574
+ return this.r65() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.m65());
568
575
  };
569
- protoOf(GameCard).u65 = function () {
570
- return !_get_isShirt__vd98rp(this) && !this.m65();
576
+ protoOf(GameCard).a66 = function () {
577
+ return !_get_isShirt__vd98rp(this) && !this.r65();
571
578
  };
572
- protoOf(GameCard).m65 = function () {
573
- return this.g65_1 >= 53;
579
+ protoOf(GameCard).r65 = function () {
580
+ return this.l65_1 >= 53 && this.l65_1 <= 105;
574
581
  };
575
582
  protoOf(GameCard).toString = function () {
576
583
  if (_get_isShirt__vd98rp(this)) {
577
584
  return 'GameCard(SHIRT)';
578
585
  }
579
- if (this.m65()) {
580
- return 'GameCard(STUB, ' + this.g65_1 + ')';
586
+ if (this.r65()) {
587
+ return 'GameCard(STUB, ' + this.l65_1 + ')';
581
588
  }
582
- return 'GameCard(' + this.t65().toString() + this.o2().toString() + ', ' + this.g65_1 + ')';
589
+ return 'GameCard(' + this.z65().toString() + this.p2().toString() + ', ' + this.l65_1 + ')';
583
590
  };
584
591
  protoOf(GameCard).hashCode = function () {
585
- return this.g65_1;
592
+ return this.l65_1;
586
593
  };
587
594
  protoOf(GameCard).equals = function (other) {
588
595
  if (this === other)
@@ -590,12 +597,12 @@
590
597
  if (!(other instanceof GameCard))
591
598
  return false;
592
599
  var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
593
- if (!(this.g65_1 === tmp0_other_with_cast.g65_1))
600
+ if (!(this.l65_1 === tmp0_other_with_cast.l65_1))
594
601
  return false;
595
602
  return true;
596
603
  };
597
604
  function _get_$cachedSerializer__te6jhj($this) {
598
- return $this.v65_1.u();
605
+ return $this.b66_1.u();
599
606
  }
600
607
  function Suit$Companion$_anonymous__cbm2iq() {
601
608
  return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
@@ -606,7 +613,7 @@
606
613
  var Suit_CLUB_instance;
607
614
  function getSuitEmoji($this) {
608
615
  var tmp;
609
- switch ($this.n2_1) {
616
+ switch ($this.o2_1) {
610
617
  case 0:
611
618
  tmp = '\u2666\uFE0F';
612
619
  break;
@@ -637,13 +644,13 @@
637
644
  Companion_instance_1 = this;
638
645
  var tmp = this;
639
646
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
640
- tmp.v65_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
647
+ tmp.b66_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
641
648
  }
642
- protoOf(Companion_1).u4v = function () {
649
+ protoOf(Companion_1).w4v = function () {
643
650
  return _get_$cachedSerializer__te6jhj(this);
644
651
  };
645
- protoOf(Companion_1).r4f = function (typeParamsSerializers) {
646
- return this.u4v();
652
+ protoOf(Companion_1).t4f = function (typeParamsSerializers) {
653
+ return this.w4v();
647
654
  };
648
655
  var Companion_instance_1;
649
656
  function Companion_getInstance_1() {
@@ -688,7 +695,7 @@
688
695
  }
689
696
  function getIndex(_this__u8e3s4) {
690
697
  var tmp;
691
- switch (_this__u8e3s4.n2_1) {
698
+ switch (_this__u8e3s4.o2_1) {
692
699
  case 0:
693
700
  tmp = 0;
694
701
  break;
@@ -741,9 +748,9 @@
741
748
  }
742
749
  function getRandomOrgCards($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion) {
743
750
  var tmp = new $getRandomOrgCardsCOROUTINE$1($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion);
744
- tmp.g9_1 = Unit_instance;
745
- tmp.h9_1 = null;
746
- return tmp.m9();
751
+ tmp.h9_1 = Unit_instance;
752
+ tmp.i9_1 = null;
753
+ return tmp.n9();
747
754
  }
748
755
  function normalizeCards($this, cards, leftCardIndexForEachSuit) {
749
756
  var oneSuitCount = cards.m() / get_entries().m() | 0;
@@ -764,7 +771,7 @@
764
771
  }
765
772
  function Companion_2() {
766
773
  }
767
- protoOf(Companion_2).w66 = function (randomPoolProvider, logger) {
774
+ protoOf(Companion_2).e67 = function (randomPoolProvider, logger) {
768
775
  var tmp17_random = new SecureRandom(logger);
769
776
  return new CardsDealerProviderImpl(tmp17_random, randomPoolProvider, logger);
770
777
  };
@@ -774,41 +781,41 @@
774
781
  }
775
782
  function $createNewShuffledCardDeckCOROUTINE$0(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
776
783
  CoroutineImpl.call(this, resultContinuation);
777
- this.f67_1 = _this__u8e3s4;
778
- this.g67_1 = leftCardIndexForEachSuit;
779
- this.h67_1 = rightCardIndexForEachSuit;
780
- this.i67_1 = approximateRoundCountForGame;
781
- this.j67_1 = userData;
782
- this.k67_1 = provider;
783
- }
784
- protoOf($createNewShuffledCardDeckCOROUTINE$0).m9 = function () {
785
- var suspendResult = this.g9_1;
784
+ this.n67_1 = _this__u8e3s4;
785
+ this.o67_1 = leftCardIndexForEachSuit;
786
+ this.p67_1 = rightCardIndexForEachSuit;
787
+ this.q67_1 = approximateRoundCountForGame;
788
+ this.r67_1 = userData;
789
+ this.s67_1 = provider;
790
+ }
791
+ protoOf($createNewShuffledCardDeckCOROUTINE$0).n9 = function () {
792
+ var suspendResult = this.h9_1;
786
793
  $sm: do
787
794
  try {
788
- var tmp = this.e9_1;
795
+ var tmp = this.f9_1;
789
796
  switch (tmp) {
790
797
  case 0:
791
- this.f9_1 = 4;
792
- this.l67_1 = this.k67_1;
793
- this.m67_1 = this.l67_1.n2_1;
794
- if (this.m67_1 === 0) {
798
+ this.g9_1 = 4;
799
+ this.t67_1 = this.s67_1;
800
+ this.u67_1 = this.t67_1.o2_1;
801
+ if (this.u67_1 === 0) {
795
802
  var tmp_0 = this;
796
- var it = this.f67_1.w65(this.g67_1, this.h67_1);
797
- tmp_0.n67_1 = this.f67_1.a66(it);
798
- this.e9_1 = 3;
803
+ var it = this.n67_1.c66(this.o67_1, this.p67_1);
804
+ tmp_0.v67_1 = this.n67_1.g66(it);
805
+ this.f9_1 = 3;
799
806
  continue $sm;
800
807
  } else {
801
- if (this.m67_1 === 1) {
802
- this.e9_1 = 2;
803
- suspendResult = getRandomOrgCards(this.f67_1, this.g67_1, this.h67_1, this.i67_1, this.j67_1, false, this);
808
+ if (this.u67_1 === 1) {
809
+ this.f9_1 = 2;
810
+ suspendResult = getRandomOrgCards(this.n67_1, this.o67_1, this.p67_1, this.q67_1, this.r67_1, false, this);
804
811
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
805
812
  return suspendResult;
806
813
  }
807
814
  continue $sm;
808
815
  } else {
809
- if (this.m67_1 === 2) {
810
- this.e9_1 = 1;
811
- suspendResult = getRandomOrgCards(this.f67_1, this.g67_1, this.h67_1, this.i67_1, this.j67_1, true, this);
816
+ if (this.u67_1 === 2) {
817
+ this.f9_1 = 1;
818
+ suspendResult = getRandomOrgCards(this.n67_1, this.o67_1, this.p67_1, this.q67_1, this.r67_1, true, this);
812
819
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
813
820
  return suspendResult;
814
821
  }
@@ -822,95 +829,95 @@
822
829
 
823
830
  break;
824
831
  case 1:
825
- this.n67_1 = suspendResult;
826
- this.e9_1 = 3;
832
+ this.v67_1 = suspendResult;
833
+ this.f9_1 = 3;
827
834
  continue $sm;
828
835
  case 2:
829
- this.n67_1 = suspendResult;
830
- this.e9_1 = 3;
836
+ this.v67_1 = suspendResult;
837
+ this.f9_1 = 3;
831
838
  continue $sm;
832
839
  case 3:
833
- return this.n67_1;
840
+ return this.v67_1;
834
841
  case 4:
835
- throw this.h9_1;
842
+ throw this.i9_1;
836
843
  }
837
844
  } catch ($p) {
838
845
  var e = $p;
839
- if (this.f9_1 === 4) {
846
+ if (this.g9_1 === 4) {
840
847
  throw e;
841
848
  } else {
842
- this.e9_1 = this.f9_1;
843
- this.h9_1 = e;
849
+ this.f9_1 = this.g9_1;
850
+ this.i9_1 = e;
844
851
  }
845
852
  }
846
853
  while (true);
847
854
  };
848
855
  function $getRandomOrgCardsCOROUTINE$1(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
849
856
  CoroutineImpl.call(this, resultContinuation);
850
- this.j66_1 = _this__u8e3s4;
851
- this.k66_1 = leftCardIndexForEachSuit;
852
- this.l66_1 = rightCardIndexForEachSuit;
853
- this.m66_1 = approximateRoundsCount;
854
- this.n66_1 = userData;
855
- this.o66_1 = signed;
856
- }
857
- protoOf($getRandomOrgCardsCOROUTINE$1).m9 = function () {
858
- var suspendResult = this.g9_1;
857
+ this.r66_1 = _this__u8e3s4;
858
+ this.s66_1 = leftCardIndexForEachSuit;
859
+ this.t66_1 = rightCardIndexForEachSuit;
860
+ this.u66_1 = approximateRoundsCount;
861
+ this.v66_1 = userData;
862
+ this.w66_1 = signed;
863
+ }
864
+ protoOf($getRandomOrgCardsCOROUTINE$1).n9 = function () {
865
+ var suspendResult = this.h9_1;
859
866
  $sm: do
860
867
  try {
861
- var tmp = this.e9_1;
868
+ var tmp = this.f9_1;
862
869
  switch (tmp) {
863
870
  case 0:
864
- this.f9_1 = 5;
871
+ this.g9_1 = 5;
865
872
  var tmp_0 = this;
866
873
  var sum = 0;
867
874
  var tmp0_iterator = get_entries().j();
868
875
  while (tmp0_iterator.k()) {
869
876
  var element = tmp0_iterator.l();
870
877
  var tmp_1 = sum;
871
- sum = tmp_1 + count(getCardsRange(this.j66_1, this.k66_1, this.l66_1)) | 0;
878
+ sum = tmp_1 + count(getCardsRange(this.r66_1, this.s66_1, this.t66_1)) | 0;
872
879
  }
873
880
 
874
- tmp_0.p66_1 = sum;
875
- this.q66_1 = this.j66_1.p67_1;
876
- this.r66_1 = this.p66_1 - 1 | 0;
877
- this.e9_1 = 1;
878
- suspendResult = this.q66_1.b5q(this.m66_1, this.n66_1, 0, this.r66_1, this.p66_1, this.o66_1, VOID, this);
881
+ tmp_0.x66_1 = sum;
882
+ this.y66_1 = this.r66_1.x67_1;
883
+ this.z66_1 = this.x66_1 - 1 | 0;
884
+ this.f9_1 = 1;
885
+ suspendResult = this.y66_1.d5q(this.u66_1, this.v66_1, 0, this.z66_1, this.x66_1, this.w66_1, VOID, this);
879
886
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
880
887
  return suspendResult;
881
888
  }
882
889
 
883
- this.e9_1 = 2;
890
+ this.f9_1 = 2;
884
891
  continue $sm;
885
892
  case 1:
886
- this.s66_1 = suspendResult.dk_1;
887
- suspendResult = new Result(this.s66_1);
888
- this.e9_1 = 2;
893
+ this.a67_1 = suspendResult.ek_1;
894
+ suspendResult = new Result(this.a67_1);
895
+ this.f9_1 = 2;
889
896
  continue $sm;
890
897
  case 2:
891
- this.t66_1 = suspendResult.dk_1;
892
- if (_Result___get_isSuccess__impl__sndoy8(this.t66_1)) {
898
+ this.b67_1 = suspendResult.ek_1;
899
+ if (_Result___get_isSuccess__impl__sndoy8(this.b67_1)) {
893
900
  var tmp_2 = this;
894
- var this_0 = this.t66_1;
901
+ var this_0 = this.b67_1;
895
902
  throwOnFailure(this_0);
896
903
  var tmp_3 = _Result___get_value__impl__bjfvqg(this_0);
897
904
  var tmp14_cards = ((tmp_3 == null ? true : !(tmp_3 == null)) ? tmp_3 : THROW_CCE()).cards;
898
- var this_1 = normalizeCards(this.j66_1, tmp14_cards, this.k66_1);
905
+ var this_1 = normalizeCards(this.r66_1, tmp14_cards, this.s66_1);
899
906
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
900
907
  var tmp0_iterator_0 = this_1.j();
901
908
  while (tmp0_iterator_0.k()) {
902
909
  var item = tmp0_iterator_0.l();
903
- destination.e(Companion_instance.k65(item));
910
+ destination.e(Companion_instance.p65(item));
904
911
  }
905
- tmp_2.u66_1 = destination;
906
- this.e9_1 = 4;
912
+ tmp_2.c67_1 = destination;
913
+ this.f9_1 = 4;
907
914
  continue $sm;
908
915
  } else {
909
- this.v66_1 = Result__exceptionOrNull_impl_p6xea9(this.t66_1);
910
- var tmp15_safe_receiver = this.v66_1;
911
- this.j66_1.q67_1.w('CardsDealerProvider', 'createNewShuffledCardDeck error message = ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.v66_1);
912
- this.e9_1 = 3;
913
- suspendResult = this.j66_1.x65(this.k66_1, this.l66_1, this.m66_1, this.n66_1, CardsRandomProvider_CUSTOM_getInstance(), this);
916
+ this.d67_1 = Result__exceptionOrNull_impl_p6xea9(this.b67_1);
917
+ var tmp15_safe_receiver = this.d67_1;
918
+ this.r66_1.y67_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.d67_1);
919
+ this.f9_1 = 3;
920
+ suspendResult = this.r66_1.d66(this.s66_1, this.t66_1, this.u66_1, this.v66_1, CardsRandomProvider_CUSTOM_getInstance(), this);
914
921
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
915
922
  return suspendResult;
916
923
  }
@@ -918,31 +925,31 @@
918
925
  }
919
926
 
920
927
  case 3:
921
- this.u66_1 = suspendResult;
922
- this.e9_1 = 4;
928
+ this.c67_1 = suspendResult;
929
+ this.f9_1 = 4;
923
930
  continue $sm;
924
931
  case 4:
925
- return this.u66_1;
932
+ return this.c67_1;
926
933
  case 5:
927
- throw this.h9_1;
934
+ throw this.i9_1;
928
935
  }
929
936
  } catch ($p) {
930
937
  var e = $p;
931
- if (this.f9_1 === 5) {
938
+ if (this.g9_1 === 5) {
932
939
  throw e;
933
940
  } else {
934
- this.e9_1 = this.f9_1;
935
- this.h9_1 = e;
941
+ this.f9_1 = this.g9_1;
942
+ this.i9_1 = e;
936
943
  }
937
944
  }
938
945
  while (true);
939
946
  };
940
947
  function CardsDealerProviderImpl(random, randomPoolProvider, logger) {
941
- this.o67_1 = random;
942
- this.p67_1 = randomPoolProvider;
943
- this.q67_1 = logger;
948
+ this.w67_1 = random;
949
+ this.x67_1 = randomPoolProvider;
950
+ this.y67_1 = logger;
944
951
  }
945
- protoOf(CardsDealerProviderImpl).w65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
952
+ protoOf(CardsDealerProviderImpl).c66 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
946
953
  // Inline function 'kotlin.collections.flatMap' call
947
954
  // Inline function 'kotlin.collections.flatMapTo' call
948
955
  var this_0 = get_entries();
@@ -963,7 +970,7 @@
963
970
  inductionVariable = inductionVariable + 1 | 0;
964
971
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>.<anonymous>' call
965
972
  var it = item;
966
- var tmp$ret$0 = Companion_instance.i65(element, it);
973
+ var tmp$ret$0 = Companion_instance.n65(element, it);
967
974
  destination_0.e(tmp$ret$0);
968
975
  }
969
976
  while (!(item === last));
@@ -972,13 +979,13 @@
972
979
  }
973
980
  return destination;
974
981
  };
975
- protoOf(CardsDealerProviderImpl).x65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
982
+ protoOf(CardsDealerProviderImpl).d66 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
976
983
  var tmp = new $createNewShuffledCardDeckCOROUTINE$0(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
977
- tmp.g9_1 = Unit_instance;
978
- tmp.h9_1 = null;
979
- return tmp.m9();
984
+ tmp.h9_1 = Unit_instance;
985
+ tmp.i9_1 = null;
986
+ return tmp.n9();
980
987
  };
981
- protoOf(CardsDealerProviderImpl).y65 = function (count, cards) {
988
+ protoOf(CardsDealerProviderImpl).e66 = function (count, cards) {
982
989
  // Inline function 'kotlin.apply' call
983
990
  // Inline function 'kotlin.collections.mutableListOf' call
984
991
  var this_0 = ArrayList_init_$Create$();
@@ -1012,7 +1019,7 @@
1012
1019
  while (tmp0_iterator.k()) {
1013
1020
  var element = tmp0_iterator.l();
1014
1021
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getNRandomUniqueCards.<anonymous>.<anonymous>' call
1015
- if (element.h65() === card.h65()) {
1022
+ if (element.m65() === card.m65()) {
1016
1023
  tmp$ret$2 = true;
1017
1024
  break $l$block_1;
1018
1025
  }
@@ -1027,7 +1034,7 @@
1027
1034
  }
1028
1035
  return this_0;
1029
1036
  };
1030
- protoOf(CardsDealerProviderImpl).z65 = function (cards, times) {
1037
+ protoOf(CardsDealerProviderImpl).f66 = function (cards, times) {
1031
1038
  // Inline function 'kotlin.let' call
1032
1039
  // Inline function 'kotlin.contracts.contract' call
1033
1040
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.standardShuffledCards.<anonymous>' call
@@ -1037,49 +1044,55 @@
1037
1044
  do {
1038
1045
  var i = inductionVariable;
1039
1046
  inductionVariable = inductionVariable + 1 | 0;
1040
- shuffled = this.o67_1.a5v(shuffled);
1047
+ shuffled = this.w67_1.f5v(shuffled);
1041
1048
  }
1042
1049
  while (inductionVariable < times);
1043
1050
  return shuffled;
1044
1051
  };
1052
+ protoOf(CardsDealerProviderImpl).h66 = function (cards, times) {
1053
+ return toList(overhand(riffle(toMutableList(cards), times, this.w67_1), times, this.w67_1));
1054
+ };
1045
1055
  function Companion_3() {
1046
1056
  }
1047
- protoOf(Companion_3).r67 = function () {
1057
+ protoOf(Companion_3).z67 = function () {
1048
1058
  // Inline function 'kotlin.apply' call
1049
1059
  // Inline function 'kotlin.collections.mutableListOf' call
1050
1060
  var this_0 = ArrayList_init_$Create$();
1051
1061
  // Inline function 'kotlin.contracts.contract' call
1052
1062
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.Companion.getCards.<anonymous>' call
1053
- this_0.n(listOf([Companion_instance.j65(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.j65(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.j65(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.j65(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.j65(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.j65(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1054
- this_0.n(listOf([Companion_instance.j65(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.j65(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.j65(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.j65(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.j65(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.j65(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1055
- this_0.n(listOf([Companion_instance.j65(Suit_CLUB_getInstance(), CardName_DAME_getInstance()), Companion_instance.j65(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.j65(Suit_HEART_getInstance(), CardName_DAME_getInstance()), Companion_instance.j65(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.j65(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.j65(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1056
- this_0.n(listOf([Companion_instance.j65(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.j65(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.j65(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.j65(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.j65(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.j65(Suit_SPADE_getInstance(), CardName_DAME_getInstance())]));
1057
- this_0.n(listOf([Companion_instance.j65(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.j65(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.j65(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.j65(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.j65(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.j65(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.j65(Suit_DIAMOND_getInstance(), CardName_DAME_getInstance()), Companion_instance.j65(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1063
+ this_0.n(listOf([Companion_instance.o65(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o65(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.o65(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o65(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.o65(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.o65(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1064
+ this_0.n(listOf([Companion_instance.o65(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.o65(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.o65(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.o65(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.o65(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.o65(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1065
+ this_0.n(listOf([Companion_instance.o65(Suit_CLUB_getInstance(), CardName_DAME_getInstance()), Companion_instance.o65(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.o65(Suit_HEART_getInstance(), CardName_DAME_getInstance()), Companion_instance.o65(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o65(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o65(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1066
+ this_0.n(listOf([Companion_instance.o65(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.o65(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.o65(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.o65(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.o65(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.o65(Suit_SPADE_getInstance(), CardName_DAME_getInstance())]));
1067
+ this_0.n(listOf([Companion_instance.o65(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.o65(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.o65(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.o65(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.o65(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.o65(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.o65(Suit_DIAMOND_getInstance(), CardName_DAME_getInstance()), Companion_instance.o65(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1058
1068
  return this_0;
1059
1069
  };
1060
- protoOf(Companion_3).s67 = function () {
1061
- return listOf([Companion_instance.j65(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.j65(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.j65(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.j65(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1070
+ protoOf(Companion_3).a68 = function () {
1071
+ return listOf([Companion_instance.o65(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o65(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o65(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o65(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1062
1072
  };
1063
1073
  var Companion_instance_3;
1064
1074
  function Companion_getInstance_3() {
1065
1075
  return Companion_instance_3;
1066
1076
  }
1067
1077
  function FakeCardsDealerProvider(cards, cardsForLot) {
1068
- cards = cards === VOID ? Companion_instance_3.r67() : cards;
1069
- cardsForLot = cardsForLot === VOID ? Companion_instance_3.s67() : cardsForLot;
1070
- this.t67_1 = cards;
1071
- this.u67_1 = cardsForLot;
1078
+ cards = cards === VOID ? Companion_instance_3.z67() : cards;
1079
+ cardsForLot = cardsForLot === VOID ? Companion_instance_3.a68() : cardsForLot;
1080
+ this.b68_1 = cards;
1081
+ this.c68_1 = cardsForLot;
1072
1082
  }
1073
- protoOf(FakeCardsDealerProvider).w65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1074
- return this.t67_1;
1083
+ protoOf(FakeCardsDealerProvider).c66 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1084
+ return this.b68_1;
1075
1085
  };
1076
- protoOf(FakeCardsDealerProvider).x65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1077
- return this.t67_1;
1086
+ protoOf(FakeCardsDealerProvider).d66 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1087
+ return this.b68_1;
1078
1088
  };
1079
- protoOf(FakeCardsDealerProvider).y65 = function (count, cards) {
1080
- return this.u67_1;
1089
+ protoOf(FakeCardsDealerProvider).e66 = function (count, cards) {
1090
+ return this.c68_1;
1091
+ };
1092
+ protoOf(FakeCardsDealerProvider).f66 = function (cards, times) {
1093
+ return cards;
1081
1094
  };
1082
- protoOf(FakeCardsDealerProvider).z65 = function (cards, times) {
1095
+ protoOf(FakeCardsDealerProvider).h66 = function (cards, times) {
1083
1096
  return cards;
1084
1097
  };
1085
1098
  function CombinationsCheckerProvider() {
@@ -1108,23 +1121,23 @@
1108
1121
  return takeLast(cards, longestCombinationSupport);
1109
1122
  }
1110
1123
  function sam$kotlin_Comparator$0(function_0) {
1111
- this.a68_1 = function_0;
1124
+ this.i68_1 = function_0;
1112
1125
  }
1113
- protoOf(sam$kotlin_Comparator$0).mc = function (a, b) {
1114
- return this.a68_1(a, b);
1126
+ protoOf(sam$kotlin_Comparator$0).nc = function (a, b) {
1127
+ return this.i68_1(a, b);
1115
1128
  };
1116
1129
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
1117
- return this.mc(a, b);
1130
+ return this.nc(a, b);
1118
1131
  };
1119
- protoOf(sam$kotlin_Comparator$0).o3 = function () {
1120
- return this.a68_1;
1132
+ protoOf(sam$kotlin_Comparator$0).p3 = function () {
1133
+ return this.i68_1;
1121
1134
  };
1122
1135
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
1123
1136
  var tmp;
1124
1137
  if (!(other == null) ? isInterface(other, Comparator) : false) {
1125
1138
  var tmp_0;
1126
1139
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1127
- tmp_0 = equals(this.o3(), other.o3());
1140
+ tmp_0 = equals(this.p3(), other.p3());
1128
1141
  } else {
1129
1142
  tmp_0 = false;
1130
1143
  }
@@ -1135,19 +1148,19 @@
1135
1148
  return tmp;
1136
1149
  };
1137
1150
  protoOf(sam$kotlin_Comparator$0).hashCode = function () {
1138
- return hashCode(this.o3());
1151
+ return hashCode(this.p3());
1139
1152
  };
1140
1153
  function CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda(a, b) {
1141
1154
  // Inline function 'kotlin.comparisons.compareValuesBy' call
1142
1155
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1143
- var tmp = first_0(a).g65_1;
1156
+ var tmp = first_0(a).l65_1;
1144
1157
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1145
- var tmp$ret$1 = first_0(b).g65_1;
1158
+ var tmp$ret$1 = first_0(b).l65_1;
1146
1159
  return compareValues(tmp, tmp$ret$1);
1147
1160
  }
1148
1161
  function CombinationsCheckerProviderImpl() {
1149
1162
  }
1150
- protoOf(CombinationsCheckerProviderImpl).v67 = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1163
+ protoOf(CombinationsCheckerProviderImpl).d68 = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1151
1164
  // Inline function 'kotlin.collections.filter' call
1152
1165
  // Inline function 'kotlin.apply' call
1153
1166
  var this_0 = toMutableList(cards);
@@ -1160,7 +1173,7 @@
1160
1173
  while (tmp0_iterator.k()) {
1161
1174
  var element = tmp0_iterator.l();
1162
1175
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
1163
- if (element.u65()) {
1176
+ if (element.a66()) {
1164
1177
  destination.e(element);
1165
1178
  }
1166
1179
  }
@@ -1177,14 +1190,14 @@
1177
1190
  inductionVariable = inductionVariable + 1 | 0;
1178
1191
  var previousCard = lastOrNull(combinationCards);
1179
1192
  var currentCard = sortedByIndexCards.o(i);
1180
- var isNextInRow = !(previousCard == null) && currentCard.g65_1 === (previousCard.g65_1 + 1 | 0) && currentCard.t65().equals(previousCard.t65());
1181
- var passedCardNamesCheck = includeCardNames == null || includeCardNames.s1(currentCard.o2());
1182
- var passedSuitCheck = suit == null || currentCard.t65().equals(suit);
1193
+ var isNextInRow = !(previousCard == null) && currentCard.l65_1 === (previousCard.l65_1 + 1 | 0) && currentCard.z65().equals(previousCard.z65());
1194
+ var passedCardNamesCheck = includeCardNames == null || includeCardNames.s1(currentCard.p2());
1195
+ var passedSuitCheck = suit == null || currentCard.z65().equals(suit);
1183
1196
  if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
1184
1197
  combinationCards.e(currentCard);
1185
1198
  } else {
1186
1199
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1187
- combinations.n(this.z67(toMutableList(combinationCards), supportedCombinations));
1200
+ combinations.n(this.h68(toMutableList(combinationCards), supportedCombinations));
1188
1201
  }
1189
1202
  combinationCards.a2();
1190
1203
  if (passedSuitCheck && passedCardNamesCheck) {
@@ -1194,11 +1207,11 @@
1194
1207
  }
1195
1208
  while (inductionVariable <= last);
1196
1209
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1197
- combinations.n(this.z67(toMutableList(combinationCards), supportedCombinations));
1210
+ combinations.n(this.h68(toMutableList(combinationCards), supportedCombinations));
1198
1211
  }
1199
1212
  return combinations;
1200
1213
  };
1201
- protoOf(CombinationsCheckerProviderImpl).x67 = function (cards, cardsCount, includeCardNames) {
1214
+ protoOf(CombinationsCheckerProviderImpl).f68 = function (cards, cardsCount, includeCardNames) {
1202
1215
  // Inline function 'kotlin.collections.filter' call
1203
1216
  // Inline function 'kotlin.collections.filter' call
1204
1217
  // Inline function 'kotlin.apply' call
@@ -1212,7 +1225,7 @@
1212
1225
  while (tmp0_iterator.k()) {
1213
1226
  var element = tmp0_iterator.l();
1214
1227
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1215
- if (element.u65()) {
1228
+ if (element.a66()) {
1216
1229
  destination.e(element);
1217
1230
  }
1218
1231
  }
@@ -1222,7 +1235,7 @@
1222
1235
  while (tmp0_iterator_0.k()) {
1223
1236
  var element_0 = tmp0_iterator_0.l();
1224
1237
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1225
- if (includeCardNames == null || includeCardNames.s1(element_0.o2())) {
1238
+ if (includeCardNames == null || includeCardNames.s1(element_0.p2())) {
1226
1239
  destination_0.e(element_0);
1227
1240
  }
1228
1241
  }
@@ -1235,14 +1248,14 @@
1235
1248
  while (tmp0_iterator_1.k()) {
1236
1249
  var element_1 = tmp0_iterator_1.l();
1237
1250
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1238
- var key = element_1.h65();
1251
+ var key = element_1.m65();
1239
1252
  // Inline function 'kotlin.collections.getOrPut' call
1240
- var value = destination_1.g2(key);
1253
+ var value = destination_1.h2(key);
1241
1254
  var tmp;
1242
1255
  if (value == null) {
1243
1256
  // Inline function 'kotlin.collections.groupByTo.<anonymous>' call
1244
1257
  var answer = ArrayList_init_$Create$();
1245
- destination_1.j2(key, answer);
1258
+ destination_1.k2(key, answer);
1246
1259
  tmp = answer;
1247
1260
  } else {
1248
1261
  tmp = value;
@@ -1258,10 +1271,10 @@
1258
1271
  var element_2 = tmp0_iterator_2.l();
1259
1272
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1260
1273
  if (element_2.u().m() >= cardsCount) {
1261
- destination_2.j2(element_2.t(), element_2.u());
1274
+ destination_2.k2(element_2.t(), element_2.u());
1262
1275
  }
1263
1276
  }
1264
- var combinations = destination_2.i2();
1277
+ var combinations = destination_2.j2();
1265
1278
  // Inline function 'kotlin.collections.map' call
1266
1279
  // Inline function 'kotlin.collections.mapTo' call
1267
1280
  var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(combinations, 10));
@@ -1274,7 +1287,7 @@
1274
1287
  }
1275
1288
  return destination_3;
1276
1289
  };
1277
- protoOf(CombinationsCheckerProviderImpl).z67 = function (cards, supportedCombinations) {
1290
+ protoOf(CombinationsCheckerProviderImpl).h68 = function (cards, supportedCombinations) {
1278
1291
  // Inline function 'kotlin.collections.minOf' call
1279
1292
  var iterator = supportedCombinations.j();
1280
1293
  if (!iterator.k())
@@ -1304,28 +1317,28 @@
1304
1317
  return sortedWith(combinations, tmp$ret$4);
1305
1318
  };
1306
1319
  function DealerReducerImpl(logger, enableLogs) {
1307
- this.b68_1 = logger;
1308
- this.c68_1 = enableLogs;
1320
+ this.j68_1 = logger;
1321
+ this.k68_1 = enableLogs;
1309
1322
  }
1310
- protoOf(DealerReducerImpl).d68 = function (cards, cardsToRemove) {
1323
+ protoOf(DealerReducerImpl).l68 = function (cards, cardsToRemove) {
1311
1324
  var list = cards;
1312
1325
  var _iterator__ex2g4s = cardsToRemove.j();
1313
1326
  while (_iterator__ex2g4s.k()) {
1314
1327
  var gameCard = _iterator__ex2g4s.l();
1315
- list = this.e68(list, gameCard);
1328
+ list = this.m68(list, gameCard);
1316
1329
  }
1317
1330
  return list;
1318
1331
  };
1319
- protoOf(DealerReducerImpl).e68 = function (cards, cardToRemove) {
1332
+ protoOf(DealerReducerImpl).m68 = function (cards, cardToRemove) {
1320
1333
  var tmp;
1321
- if (!cardToRemove.m65() && cards.s1(cardToRemove)) {
1322
- if (this.c68_1) {
1323
- this.b68_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1334
+ if (!cardToRemove.r65() && cards.s1(cardToRemove)) {
1335
+ if (this.k68_1) {
1336
+ this.j68_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1324
1337
  }
1325
1338
  tmp = minus(cards, cardToRemove);
1326
1339
  } else {
1327
- if (this.c68_1) {
1328
- this.b68_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1340
+ if (this.k68_1) {
1341
+ this.j68_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1329
1342
  }
1330
1343
  // Inline function 'kotlin.collections.filterNot' call
1331
1344
  // Inline function 'kotlin.collections.filterNotTo' call
@@ -1334,7 +1347,7 @@
1334
1347
  while (tmp0_iterator.k()) {
1335
1348
  var element = tmp0_iterator.l();
1336
1349
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1337
- if (!element.m65()) {
1350
+ if (!element.r65()) {
1338
1351
  destination.e(element);
1339
1352
  }
1340
1353
  }
@@ -1346,34 +1359,36 @@
1346
1359
  while (tmp0_iterator_0.k()) {
1347
1360
  var element_0 = tmp0_iterator_0.l();
1348
1361
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1349
- if (element_0.m65()) {
1362
+ if (element_0.r65()) {
1350
1363
  destination_0.e(element_0);
1351
1364
  }
1352
1365
  }
1353
1366
  var stubCards = destination_0;
1354
1367
  if (stubCards.p()) {
1355
- this.b68_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1368
+ this.j68_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1356
1369
  }
1357
1370
  tmp = plus(notStubCards, dropLast(stubCards, 1));
1358
1371
  }
1359
1372
  return tmp;
1360
1373
  };
1361
- protoOf(DealerReducerImpl).f68 = function (cards, cardToAdd) {
1362
- if (this.c68_1) {
1363
- this.b68_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1374
+ protoOf(DealerReducerImpl).n68 = function (cards, cardToAdd) {
1375
+ if (this.k68_1) {
1376
+ this.j68_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1364
1377
  }
1365
1378
  if (cards.s1(cardToAdd)) {
1366
- this.b68_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1379
+ this.j68_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1367
1380
  }
1368
1381
  return plus_0(cards, cardToAdd);
1369
1382
  };
1370
1383
  function DealerReducer() {
1371
1384
  }
1372
1385
  //region block: post-declaration
1373
- protoOf(CardsDealerProviderImpl).a66 = standardShuffledCards$default;
1374
- protoOf(FakeCardsDealerProvider).a66 = standardShuffledCards$default;
1375
- protoOf(CombinationsCheckerProviderImpl).w67 = findCardsInRowCombinations$default;
1376
- protoOf(CombinationsCheckerProviderImpl).y67 = findSameCardsNumberCombinations$default;
1386
+ protoOf(CardsDealerProviderImpl).g66 = standardShuffledCards$default;
1387
+ protoOf(CardsDealerProviderImpl).i66 = realLifeShuffledCards$default;
1388
+ protoOf(FakeCardsDealerProvider).g66 = standardShuffledCards$default;
1389
+ protoOf(FakeCardsDealerProvider).i66 = realLifeShuffledCards$default;
1390
+ protoOf(CombinationsCheckerProviderImpl).e68 = findCardsInRowCombinations$default;
1391
+ protoOf(CombinationsCheckerProviderImpl).g68 = findSameCardsNumberCombinations$default;
1377
1392
  //endregion
1378
1393
  //region block: init
1379
1394
  CoreConfig_instance = new CoreConfig();