game_client_logic_deb 1.8.232 → 1.8.243

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 (44) hide show
  1. package/Kosi-Kaverit-kaverit.js +82 -82
  2. package/Kosi-Kaverit-kaverit.js.map +1 -1
  3. package/Kosi-Kodein-kodein-di.js +735 -730
  4. package/Kosi-Kodein-kodein-di.js.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js +1556 -1521
  6. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  7. package/Logic_Debertz-core.js +1496 -1496
  8. package/Logic_Debertz-core.js.map +1 -1
  9. package/Logic_Debertz-engine.js +12667 -12525
  10. package/Logic_Debertz-engine.js.map +1 -1
  11. package/Logic_Debertz-game_client.d.ts +11 -6
  12. package/Logic_Debertz-game_client.js +4470 -4455
  13. package/Logic_Debertz-game_client.js.map +1 -1
  14. package/kotlin-kotlin-stdlib.js +2312 -2575
  15. package/kotlin-kotlin-stdlib.js.map +1 -1
  16. package/kotlinx-atomicfu.js +25 -25
  17. package/kotlinx-atomicfu.js.map +1 -1
  18. package/kotlinx-coroutines-core.js +2869 -2875
  19. package/kotlinx-coroutines-core.js.map +1 -1
  20. package/kotlinx-io-kotlinx-io-core.js +978 -577
  21. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  22. package/kotlinx-serialization-kotlinx-serialization-core.js +2026 -2047
  23. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  24. package/kotlinx-serialization-kotlinx-serialization-json.js +1556 -1556
  25. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  26. package/ktor-ktor-client-content-negotiation.js +219 -219
  27. package/ktor-ktor-client-core.js +2533 -2533
  28. package/ktor-ktor-client-logging.js +553 -553
  29. package/ktor-ktor-events.js +12 -12
  30. package/ktor-ktor-http.js +747 -747
  31. package/ktor-ktor-io.js +1648 -1648
  32. package/ktor-ktor-io.js.map +1 -1
  33. package/ktor-ktor-serialization-kotlinx-json.js +8 -8
  34. package/ktor-ktor-serialization-kotlinx.js +273 -273
  35. package/ktor-ktor-serialization.js +131 -131
  36. package/ktor-ktor-utils.js +727 -727
  37. package/ktor-ktor-utils.js.map +1 -1
  38. package/ktor-ktor-websockets.js +60 -60
  39. package/package.json +1 -1
  40. package/raspberry-cardgame-lib-core.js +263 -263
  41. package/raspberry-cardgame-lib-logger.js +102 -102
  42. package/raspberry-cardgame-lib-random.js +984 -984
  43. package/secure-random-secure-random.js +20 -20
  44. package/uuid.js +32 -32
@@ -19,66 +19,66 @@
19
19
  'use strict';
20
20
  //region block: imports
21
21
  var imul = Math.imul;
22
- var protoOf = kotlin_kotlin.$_$.sc;
23
- var initMetadataForObject = kotlin_kotlin.$_$.wb;
24
- var defineProp = kotlin_kotlin.$_$.ib;
25
- var THROW_CCE = kotlin_kotlin.$_$.tg;
26
- var Comparator = kotlin_kotlin.$_$.fg;
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;
27
27
  var VOID = kotlin_kotlin.$_$.f;
28
28
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
29
- var Unit_instance = kotlin_kotlin.$_$.n5;
30
- var take = kotlin_kotlin.$_$.m9;
31
- var toList = kotlin_kotlin.$_$.q9;
32
- var takeLast = kotlin_kotlin.$_$.l9;
33
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.rh;
34
- var initMetadataForCompanion = kotlin_kotlin.$_$.sb;
35
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.v1;
36
- var Enum = kotlin_kotlin.$_$.ig;
37
- var initMetadataForClass = kotlin_kotlin.$_$.rb;
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;
35
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w1;
36
+ var Enum = kotlin_kotlin.$_$.hg;
37
+ var initMetadataForClass = kotlin_kotlin.$_$.tb;
38
38
  var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
39
- var enumEntries = kotlin_kotlin.$_$.va;
39
+ var enumEntries = kotlin_kotlin.$_$.xa;
40
40
  var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.k;
41
- var lazy = kotlin_kotlin.$_$.ph;
41
+ var lazy = kotlin_kotlin.$_$.oh;
42
42
  var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
43
- var initMetadataForInterface = kotlin_kotlin.$_$.ub;
44
- var until = kotlin_kotlin.$_$.id;
45
- var collectionSizeOrDefault = kotlin_kotlin.$_$.q6;
43
+ var initMetadataForInterface = kotlin_kotlin.$_$.wb;
44
+ var until = kotlin_kotlin.$_$.kd;
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.$_$.ta;
49
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ea;
50
- var initMetadataForCoroutine = kotlin_kotlin.$_$.tb;
51
- var count = kotlin_kotlin.$_$.h7;
52
- var Result = kotlin_kotlin.$_$.rg;
53
- var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.e3;
54
- var throwOnFailure = kotlin_kotlin.$_$.vh;
55
- var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.h3;
56
- var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.g3;
57
- var addAll = kotlin_kotlin.$_$.e6;
58
- var Collection = kotlin_kotlin.$_$.p5;
59
- var isInterface = kotlin_kotlin.$_$.fc;
60
- var toMutableList = kotlin_kotlin.$_$.u9;
61
- var listOf = kotlin_kotlin.$_$.o8;
62
- var first = kotlin_kotlin.$_$.t7;
63
- var sorted = kotlin_kotlin.$_$.j9;
64
- var asReversed = kotlin_kotlin.$_$.i6;
65
- var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.c2;
66
- var equals = kotlin_kotlin.$_$.jb;
67
- var FunctionAdapter = kotlin_kotlin.$_$.xa;
68
- var hashCode = kotlin_kotlin.$_$.qb;
69
- var first_0 = kotlin_kotlin.$_$.s7;
70
- var compareValues = kotlin_kotlin.$_$.ca;
71
- var sortWith = kotlin_kotlin.$_$.h9;
72
- var lastOrNull = kotlin_kotlin.$_$.i8;
48
+ var CoroutineImpl = kotlin_kotlin.$_$.va;
49
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ga;
50
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.vb;
51
+ var count = kotlin_kotlin.$_$.j7;
52
+ var Result = kotlin_kotlin.$_$.qg;
53
+ var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.g3;
54
+ var throwOnFailure = kotlin_kotlin.$_$.uh;
55
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.j3;
56
+ var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.i3;
57
+ var addAll = kotlin_kotlin.$_$.g6;
58
+ var Collection = kotlin_kotlin.$_$.r5;
59
+ var isInterface = kotlin_kotlin.$_$.hc;
60
+ var toMutableList = kotlin_kotlin.$_$.w9;
61
+ var listOf = kotlin_kotlin.$_$.q8;
62
+ var first = kotlin_kotlin.$_$.v7;
63
+ var sorted = kotlin_kotlin.$_$.l9;
64
+ var asReversed = kotlin_kotlin.$_$.k6;
65
+ 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;
69
+ var first_0 = kotlin_kotlin.$_$.u7;
70
+ var compareValues = kotlin_kotlin.$_$.ea;
71
+ var sortWith = kotlin_kotlin.$_$.j9;
72
+ var lastOrNull = kotlin_kotlin.$_$.k8;
73
73
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
74
- var sortedWith = kotlin_kotlin.$_$.i9;
75
- var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.a2;
76
- var compareTo = kotlin_kotlin.$_$.hb;
77
- var toString = kotlin_kotlin.$_$.wc;
78
- var dropLast = kotlin_kotlin.$_$.j7;
79
- var plus = kotlin_kotlin.$_$.x8;
80
- var minus = kotlin_kotlin.$_$.s8;
81
- var plus_0 = kotlin_kotlin.$_$.y8;
74
+ var sortedWith = kotlin_kotlin.$_$.k9;
75
+ var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.b2;
76
+ var compareTo = kotlin_kotlin.$_$.jb;
77
+ var toString = kotlin_kotlin.$_$.yc;
78
+ var dropLast = kotlin_kotlin.$_$.l7;
79
+ var plus = kotlin_kotlin.$_$.z8;
80
+ var minus = kotlin_kotlin.$_$.u8;
81
+ var plus_0 = kotlin_kotlin.$_$.a9;
82
82
  //endregion
83
83
  //region block: pre-declaration
84
84
  initMetadataForObject(CoreConfig, 'CoreConfig');
@@ -93,7 +93,7 @@
93
93
  initMetadataForClass(CardsRandomProvider, 'CardsRandomProvider', VOID, Enum);
94
94
  function standardShuffledCards$default(cards, times, $super) {
95
95
  times = times === VOID ? 3 : times;
96
- return $super === VOID ? this.g65(cards, times) : $super.g65.call(this, cards, times);
96
+ return $super === VOID ? this.y65(cards, times) : $super.y65.call(this, cards, times);
97
97
  }
98
98
  initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider', VOID, VOID, VOID, [5]);
99
99
  initMetadataForCompanion(Companion_2);
@@ -106,12 +106,12 @@
106
106
  checkFromIndex = checkFromIndex === VOID ? first(supportedCombinations) : checkFromIndex;
107
107
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
108
108
  suit = suit === VOID ? null : suit;
109
- return $super === VOID ? this.c67(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.c67.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
109
+ return $super === VOID ? this.u67(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.u67.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
110
110
  }
111
111
  function findSameCardsNumberCombinations$default(cards, cardsCount, includeCardNames, $super) {
112
112
  cardsCount = cardsCount === VOID ? 4 : cardsCount;
113
113
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
114
- return $super === VOID ? this.e67(cards, cardsCount, includeCardNames) : $super.e67.call(this, cards, cardsCount, includeCardNames);
114
+ return $super === VOID ? this.w67(cards, cardsCount, includeCardNames) : $super.w67.call(this, cards, cardsCount, includeCardNames);
115
115
  }
116
116
  initMetadataForInterface(CombinationsCheckerProvider, 'CombinationsCheckerProvider');
117
117
  initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
@@ -122,7 +122,7 @@
122
122
  function CoreConfig() {
123
123
  this.version = '0.0.37';
124
124
  }
125
- protoOf(CoreConfig).n2y = function () {
125
+ protoOf(CoreConfig).j2y = function () {
126
126
  return this.version;
127
127
  };
128
128
  var CoreConfig_instance;
@@ -131,12 +131,12 @@
131
131
  }
132
132
  function CardIndexComparator() {
133
133
  }
134
- protoOf(CardIndexComparator).m64 = function (a, b) {
135
- return a.n64_1 - b.n64_1 | 0;
134
+ protoOf(CardIndexComparator).e65 = function (a, b) {
135
+ return a.f65_1 - b.f65_1 | 0;
136
136
  };
137
137
  protoOf(CardIndexComparator).compare = function (a, b) {
138
138
  var tmp = a instanceof GameCard ? a : THROW_CCE();
139
- return this.m64(tmp, b instanceof GameCard ? b : THROW_CCE());
139
+ return this.e65(tmp, b instanceof GameCard ? b : THROW_CCE());
140
140
  };
141
141
  var CardIndexComparator_instance;
142
142
  function CardIndexComparator_getInstance() {
@@ -158,12 +158,12 @@
158
158
  }
159
159
  function CardNumberComparator() {
160
160
  }
161
- protoOf(CardNumberComparator).m64 = function (a, b) {
162
- return b.o64() - a.o64() | 0;
161
+ protoOf(CardNumberComparator).e65 = function (a, b) {
162
+ return b.g65() - a.g65() | 0;
163
163
  };
164
164
  protoOf(CardNumberComparator).compare = function (a, b) {
165
165
  var tmp = a instanceof GameCard ? a : THROW_CCE();
166
- return this.m64(tmp, b instanceof GameCard ? b : THROW_CCE());
166
+ return this.e65(tmp, b instanceof GameCard ? b : THROW_CCE());
167
167
  };
168
168
  var CardNumberComparator_instance;
169
169
  function CardNumberComparator_getInstance() {
@@ -194,7 +194,7 @@
194
194
  var element = indexedObject[inductionVariable];
195
195
  inductionVariable = inductionVariable + 1 | 0;
196
196
  // Inline function 'io.raspberryapps.card_game.core.data.models.cards.byCardNamePredicate.<anonymous>.<anonymous>' call
197
- if (p1.p2().equals(element)) {
197
+ if (p1.o2().equals(element)) {
198
198
  tmp$ret$1 = true;
199
199
  break $l$block;
200
200
  }
@@ -220,7 +220,7 @@
220
220
  var CardName_STUB_instance;
221
221
  function getShortName($this) {
222
222
  var tmp;
223
- switch ($this.o2_1) {
223
+ switch ($this.n2_1) {
224
224
  case 0:
225
225
  tmp = 'A';
226
226
  break;
@@ -291,16 +291,16 @@
291
291
  }
292
292
  function Companion() {
293
293
  }
294
- protoOf(Companion).p64 = function (suit, number) {
294
+ protoOf(Companion).h65 = function (suit, number) {
295
295
  return new GameCard(getNumber(Companion_instance_0, getName(Companion_instance_0, number), suit));
296
296
  };
297
- protoOf(Companion).q64 = function (suit, cardNumber) {
297
+ protoOf(Companion).i65 = function (suit, cardNumber) {
298
298
  return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
299
299
  };
300
- protoOf(Companion).r64 = function (index) {
300
+ protoOf(Companion).j65 = function (index) {
301
301
  return new GameCard(index);
302
302
  };
303
- protoOf(Companion).s64 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
303
+ protoOf(Companion).k65 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
304
304
  var tmp;
305
305
  if (previousStubCardWithMaxIndex == null) {
306
306
  tmp = null;
@@ -309,7 +309,7 @@
309
309
  // Inline function 'kotlin.contracts.contract' call
310
310
  var tmp_0;
311
311
  // Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueStub.<anonymous>' call
312
- if (previousStubCardWithMaxIndex.t64()) {
312
+ if (previousStubCardWithMaxIndex.l65()) {
313
313
  tmp_0 = previousStubCardWithMaxIndex;
314
314
  } else {
315
315
  tmp_0 = null;
@@ -317,8 +317,8 @@
317
317
  tmp = tmp_0;
318
318
  }
319
319
  var tmp3_safe_receiver = tmp;
320
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.n64_1;
321
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.y64(tmp4_safe_receiver, playerIndex, reverse);
320
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.f65_1;
321
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.q65(tmp4_safe_receiver, playerIndex, reverse);
322
322
  var tmp_1;
323
323
  if (tmp5_safe_receiver == null) {
324
324
  tmp_1 = null;
@@ -339,10 +339,10 @@
339
339
  var index = tmp_2;
340
340
  return new GameCard(index);
341
341
  };
342
- protoOf(Companion).z64 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
342
+ protoOf(Companion).r65 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
343
343
  previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
344
344
  reverse = reverse === VOID ? false : reverse;
345
- return $super === VOID ? this.s64(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.s64.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
345
+ return $super === VOID ? this.k65(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.k65.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
346
346
  };
347
347
  var Companion_instance;
348
348
  function Companion_getInstance() {
@@ -353,7 +353,7 @@
353
353
  }
354
354
  function getCardNumber($this, number) {
355
355
  var tmp;
356
- switch (number.o2_1) {
356
+ switch (number.n2_1) {
357
357
  case 12:
358
358
  tmp = 0;
359
359
  break;
@@ -446,7 +446,7 @@
446
446
  return tmp;
447
447
  }
448
448
  function _get_isShirt__vd98rp($this) {
449
- return $this.n64_1 === 52;
449
+ return $this.f65_1 === 52;
450
450
  }
451
451
  function CardName(name, ordinal) {
452
452
  Enum.call(this, name, ordinal);
@@ -455,12 +455,12 @@
455
455
  return getShortName(this);
456
456
  };
457
457
  function Companion_0() {
458
- this.u64_1 = -1;
459
- this.v64_1 = 13;
460
- this.w64_1 = 52;
461
- this.x64_1 = 53;
458
+ this.m65_1 = -1;
459
+ this.n65_1 = 13;
460
+ this.o65_1 = 52;
461
+ this.p65_1 = 53;
462
462
  }
463
- protoOf(Companion_0).y64 = function (_this__u8e3s4, playerIndex, reverse) {
463
+ protoOf(Companion_0).q65 = function (_this__u8e3s4, playerIndex, reverse) {
464
464
  var tmp;
465
465
  if (reverse) {
466
466
  tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
@@ -530,59 +530,59 @@
530
530
  return CardName_STUB_instance;
531
531
  }
532
532
  function GameCard(index) {
533
- this.n64_1 = index;
533
+ this.f65_1 = index;
534
534
  }
535
- protoOf(GameCard).a65 = function () {
535
+ protoOf(GameCard).s65 = function () {
536
536
  var tmp;
537
- var containsArg = this.n64_1;
537
+ var containsArg = this.f65_1;
538
538
  if (0 <= containsArg ? containsArg <= 13 : false) {
539
539
  tmp = Suit_DIAMOND_getInstance();
540
540
  } else {
541
- if (this.n64_1 <= 26) {
541
+ if (this.f65_1 <= 26) {
542
542
  tmp = Suit_SPADE_getInstance();
543
543
  } else {
544
- if (this.n64_1 <= 39) {
544
+ if (this.f65_1 <= 39) {
545
545
  tmp = Suit_HEART_getInstance();
546
546
  } else {
547
- if (this.n64_1 <= 52) {
547
+ if (this.f65_1 <= 52) {
548
548
  tmp = Suit_CLUB_getInstance();
549
549
  } else {
550
- throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.n64_1);
550
+ throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.f65_1);
551
551
  }
552
552
  }
553
553
  }
554
554
  }
555
555
  return tmp;
556
556
  };
557
- protoOf(GameCard).o64 = function () {
557
+ protoOf(GameCard).g65 = function () {
558
558
  var tmp;
559
- if (this.t64()) {
559
+ if (this.l65()) {
560
560
  tmp = -1;
561
561
  } else {
562
- tmp = this.n64_1 - imul(13, getIndex(this.a65())) | 0;
562
+ tmp = this.f65_1 - imul(13, getIndex(this.s65())) | 0;
563
563
  }
564
564
  return tmp;
565
565
  };
566
- protoOf(GameCard).p2 = function () {
567
- return this.t64() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.o64());
566
+ protoOf(GameCard).o2 = function () {
567
+ return this.l65() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.g65());
568
568
  };
569
- protoOf(GameCard).b65 = function () {
570
- return !_get_isShirt__vd98rp(this) && !this.t64();
569
+ protoOf(GameCard).t65 = function () {
570
+ return !_get_isShirt__vd98rp(this) && !this.l65();
571
571
  };
572
- protoOf(GameCard).t64 = function () {
573
- return this.n64_1 >= 53;
572
+ protoOf(GameCard).l65 = function () {
573
+ return this.f65_1 >= 53;
574
574
  };
575
575
  protoOf(GameCard).toString = function () {
576
576
  if (_get_isShirt__vd98rp(this)) {
577
577
  return 'GameCard(SHIRT)';
578
578
  }
579
- if (this.t64()) {
580
- return 'GameCard(STUB, ' + this.n64_1 + ')';
579
+ if (this.l65()) {
580
+ return 'GameCard(STUB, ' + this.f65_1 + ')';
581
581
  }
582
- return 'GameCard(' + this.a65().toString() + this.p2().toString() + ', ' + this.n64_1 + ')';
582
+ return 'GameCard(' + this.s65().toString() + this.o2().toString() + ', ' + this.f65_1 + ')';
583
583
  };
584
584
  protoOf(GameCard).hashCode = function () {
585
- return this.n64_1;
585
+ return this.f65_1;
586
586
  };
587
587
  protoOf(GameCard).equals = function (other) {
588
588
  if (this === other)
@@ -590,12 +590,12 @@
590
590
  if (!(other instanceof GameCard))
591
591
  return false;
592
592
  var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
593
- if (!(this.n64_1 === tmp0_other_with_cast.n64_1))
593
+ if (!(this.f65_1 === tmp0_other_with_cast.f65_1))
594
594
  return false;
595
595
  return true;
596
596
  };
597
597
  function _get_$cachedSerializer__te6jhj($this) {
598
- return $this.c65_1.u();
598
+ return $this.u65_1.u();
599
599
  }
600
600
  function Suit$Companion$_anonymous__cbm2iq() {
601
601
  return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
@@ -606,7 +606,7 @@
606
606
  var Suit_CLUB_instance;
607
607
  function getSuitEmoji($this) {
608
608
  var tmp;
609
- switch ($this.o2_1) {
609
+ switch ($this.n2_1) {
610
610
  case 0:
611
611
  tmp = '\u2666\uFE0F';
612
612
  break;
@@ -637,13 +637,13 @@
637
637
  Companion_instance_1 = this;
638
638
  var tmp = this;
639
639
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
640
- tmp.c65_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
640
+ tmp.u65_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
641
641
  }
642
- protoOf(Companion_1).w4v = function () {
642
+ protoOf(Companion_1).s4v = function () {
643
643
  return _get_$cachedSerializer__te6jhj(this);
644
644
  };
645
- protoOf(Companion_1).t4f = function (typeParamsSerializers) {
646
- return this.w4v();
645
+ protoOf(Companion_1).p4f = function (typeParamsSerializers) {
646
+ return this.s4v();
647
647
  };
648
648
  var Companion_instance_1;
649
649
  function Companion_getInstance_1() {
@@ -688,7 +688,7 @@
688
688
  }
689
689
  function getIndex(_this__u8e3s4) {
690
690
  var tmp;
691
- switch (_this__u8e3s4.o2_1) {
691
+ switch (_this__u8e3s4.n2_1) {
692
692
  case 0:
693
693
  tmp = 0;
694
694
  break;
@@ -741,9 +741,9 @@
741
741
  }
742
742
  function getRandomOrgCards($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion) {
743
743
  var tmp = new $getRandomOrgCardsCOROUTINE$1($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion);
744
- tmp.j9_1 = Unit_instance;
745
- tmp.k9_1 = null;
746
- return tmp.p9();
744
+ tmp.g9_1 = Unit_instance;
745
+ tmp.h9_1 = null;
746
+ return tmp.m9();
747
747
  }
748
748
  function normalizeCards($this, cards, leftCardIndexForEachSuit) {
749
749
  var oneSuitCount = cards.m() / get_entries().m() | 0;
@@ -764,7 +764,7 @@
764
764
  }
765
765
  function Companion_2() {
766
766
  }
767
- protoOf(Companion_2).d66 = function (randomPoolProvider, logger) {
767
+ protoOf(Companion_2).v66 = function (randomPoolProvider, logger) {
768
768
  var tmp17_random = new SecureRandom(logger);
769
769
  return new CardsDealerProviderImpl(tmp17_random, randomPoolProvider, logger);
770
770
  };
@@ -774,41 +774,41 @@
774
774
  }
775
775
  function $createNewShuffledCardDeckCOROUTINE$0(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
776
776
  CoroutineImpl.call(this, resultContinuation);
777
- this.m66_1 = _this__u8e3s4;
778
- this.n66_1 = leftCardIndexForEachSuit;
779
- this.o66_1 = rightCardIndexForEachSuit;
780
- this.p66_1 = approximateRoundCountForGame;
781
- this.q66_1 = userData;
782
- this.r66_1 = provider;
783
- }
784
- protoOf($createNewShuffledCardDeckCOROUTINE$0).p9 = function () {
785
- var suspendResult = this.j9_1;
777
+ this.e67_1 = _this__u8e3s4;
778
+ this.f67_1 = leftCardIndexForEachSuit;
779
+ this.g67_1 = rightCardIndexForEachSuit;
780
+ this.h67_1 = approximateRoundCountForGame;
781
+ this.i67_1 = userData;
782
+ this.j67_1 = provider;
783
+ }
784
+ protoOf($createNewShuffledCardDeckCOROUTINE$0).m9 = function () {
785
+ var suspendResult = this.g9_1;
786
786
  $sm: do
787
787
  try {
788
- var tmp = this.h9_1;
788
+ var tmp = this.e9_1;
789
789
  switch (tmp) {
790
790
  case 0:
791
- this.i9_1 = 4;
792
- this.s66_1 = this.r66_1;
793
- this.t66_1 = this.s66_1.o2_1;
794
- if (this.t66_1 === 0) {
791
+ this.f9_1 = 4;
792
+ this.k67_1 = this.j67_1;
793
+ this.l67_1 = this.k67_1.n2_1;
794
+ if (this.l67_1 === 0) {
795
795
  var tmp_0 = this;
796
- var it = this.m66_1.d65(this.n66_1, this.o66_1);
797
- tmp_0.u66_1 = this.m66_1.h65(it);
798
- this.h9_1 = 3;
796
+ var it = this.e67_1.v65(this.f67_1, this.g67_1);
797
+ tmp_0.m67_1 = this.e67_1.z65(it);
798
+ this.e9_1 = 3;
799
799
  continue $sm;
800
800
  } else {
801
- if (this.t66_1 === 1) {
802
- this.h9_1 = 2;
803
- suspendResult = getRandomOrgCards(this.m66_1, this.n66_1, this.o66_1, this.p66_1, this.q66_1, false, this);
801
+ if (this.l67_1 === 1) {
802
+ this.e9_1 = 2;
803
+ suspendResult = getRandomOrgCards(this.e67_1, this.f67_1, this.g67_1, this.h67_1, this.i67_1, false, this);
804
804
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
805
805
  return suspendResult;
806
806
  }
807
807
  continue $sm;
808
808
  } else {
809
- if (this.t66_1 === 2) {
810
- this.h9_1 = 1;
811
- suspendResult = getRandomOrgCards(this.m66_1, this.n66_1, this.o66_1, this.p66_1, this.q66_1, true, this);
809
+ if (this.l67_1 === 2) {
810
+ this.e9_1 = 1;
811
+ suspendResult = getRandomOrgCards(this.e67_1, this.f67_1, this.g67_1, this.h67_1, this.i67_1, true, this);
812
812
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
813
813
  return suspendResult;
814
814
  }
@@ -822,95 +822,95 @@
822
822
 
823
823
  break;
824
824
  case 1:
825
- this.u66_1 = suspendResult;
826
- this.h9_1 = 3;
825
+ this.m67_1 = suspendResult;
826
+ this.e9_1 = 3;
827
827
  continue $sm;
828
828
  case 2:
829
- this.u66_1 = suspendResult;
830
- this.h9_1 = 3;
829
+ this.m67_1 = suspendResult;
830
+ this.e9_1 = 3;
831
831
  continue $sm;
832
832
  case 3:
833
- return this.u66_1;
833
+ return this.m67_1;
834
834
  case 4:
835
- throw this.k9_1;
835
+ throw this.h9_1;
836
836
  }
837
837
  } catch ($p) {
838
838
  var e = $p;
839
- if (this.i9_1 === 4) {
839
+ if (this.f9_1 === 4) {
840
840
  throw e;
841
841
  } else {
842
- this.h9_1 = this.i9_1;
843
- this.k9_1 = e;
842
+ this.e9_1 = this.f9_1;
843
+ this.h9_1 = e;
844
844
  }
845
845
  }
846
846
  while (true);
847
847
  };
848
848
  function $getRandomOrgCardsCOROUTINE$1(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
849
849
  CoroutineImpl.call(this, resultContinuation);
850
- this.q65_1 = _this__u8e3s4;
851
- this.r65_1 = leftCardIndexForEachSuit;
852
- this.s65_1 = rightCardIndexForEachSuit;
853
- this.t65_1 = approximateRoundsCount;
854
- this.u65_1 = userData;
855
- this.v65_1 = signed;
856
- }
857
- protoOf($getRandomOrgCardsCOROUTINE$1).p9 = function () {
858
- var suspendResult = this.j9_1;
850
+ this.i66_1 = _this__u8e3s4;
851
+ this.j66_1 = leftCardIndexForEachSuit;
852
+ this.k66_1 = rightCardIndexForEachSuit;
853
+ this.l66_1 = approximateRoundsCount;
854
+ this.m66_1 = userData;
855
+ this.n66_1 = signed;
856
+ }
857
+ protoOf($getRandomOrgCardsCOROUTINE$1).m9 = function () {
858
+ var suspendResult = this.g9_1;
859
859
  $sm: do
860
860
  try {
861
- var tmp = this.h9_1;
861
+ var tmp = this.e9_1;
862
862
  switch (tmp) {
863
863
  case 0:
864
- this.i9_1 = 5;
864
+ this.f9_1 = 5;
865
865
  var tmp_0 = this;
866
866
  var sum = 0;
867
867
  var tmp0_iterator = get_entries().j();
868
868
  while (tmp0_iterator.k()) {
869
869
  var element = tmp0_iterator.l();
870
870
  var tmp_1 = sum;
871
- sum = tmp_1 + count(getCardsRange(this.q65_1, this.r65_1, this.s65_1)) | 0;
871
+ sum = tmp_1 + count(getCardsRange(this.i66_1, this.j66_1, this.k66_1)) | 0;
872
872
  }
873
873
 
874
- tmp_0.w65_1 = sum;
875
- this.x65_1 = this.q65_1.w66_1;
876
- this.y65_1 = this.w65_1 - 1 | 0;
877
- this.h9_1 = 1;
878
- suspendResult = this.x65_1.d5q(this.t65_1, this.u65_1, 0, this.y65_1, this.w65_1, this.v65_1, VOID, this);
874
+ tmp_0.o66_1 = sum;
875
+ this.p66_1 = this.i66_1.o67_1;
876
+ this.q66_1 = this.o66_1 - 1 | 0;
877
+ this.e9_1 = 1;
878
+ suspendResult = this.p66_1.z5p(this.l66_1, this.m66_1, 0, this.q66_1, this.o66_1, this.n66_1, VOID, this);
879
879
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
880
880
  return suspendResult;
881
881
  }
882
882
 
883
- this.h9_1 = 2;
883
+ this.e9_1 = 2;
884
884
  continue $sm;
885
885
  case 1:
886
- this.z65_1 = suspendResult.ek_1;
887
- suspendResult = new Result(this.z65_1);
888
- this.h9_1 = 2;
886
+ this.r66_1 = suspendResult.bk_1;
887
+ suspendResult = new Result(this.r66_1);
888
+ this.e9_1 = 2;
889
889
  continue $sm;
890
890
  case 2:
891
- this.a66_1 = suspendResult.ek_1;
892
- if (_Result___get_isSuccess__impl__sndoy8(this.a66_1)) {
891
+ this.s66_1 = suspendResult.bk_1;
892
+ if (_Result___get_isSuccess__impl__sndoy8(this.s66_1)) {
893
893
  var tmp_2 = this;
894
- var this_0 = this.a66_1;
894
+ var this_0 = this.s66_1;
895
895
  throwOnFailure(this_0);
896
896
  var tmp_3 = _Result___get_value__impl__bjfvqg(this_0);
897
897
  var tmp14_cards = ((tmp_3 == null ? true : !(tmp_3 == null)) ? tmp_3 : THROW_CCE()).cards;
898
- var this_1 = normalizeCards(this.q65_1, tmp14_cards, this.r65_1);
898
+ var this_1 = normalizeCards(this.i66_1, tmp14_cards, this.j66_1);
899
899
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
900
900
  var tmp0_iterator_0 = this_1.j();
901
901
  while (tmp0_iterator_0.k()) {
902
902
  var item = tmp0_iterator_0.l();
903
- destination.e(Companion_instance.r64(item));
903
+ destination.e(Companion_instance.j65(item));
904
904
  }
905
- tmp_2.b66_1 = destination;
906
- this.h9_1 = 4;
905
+ tmp_2.t66_1 = destination;
906
+ this.e9_1 = 4;
907
907
  continue $sm;
908
908
  } else {
909
- this.c66_1 = Result__exceptionOrNull_impl_p6xea9(this.a66_1);
910
- var tmp15_safe_receiver = this.c66_1;
911
- this.q65_1.x66_1.w('CardsDealerProvider', 'createNewShuffledCardDeck error message = ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.c66_1);
912
- this.h9_1 = 3;
913
- suspendResult = this.q65_1.e65(this.r65_1, this.s65_1, this.t65_1, this.u65_1, CardsRandomProvider_CUSTOM_getInstance(), this);
909
+ this.u66_1 = Result__exceptionOrNull_impl_p6xea9(this.s66_1);
910
+ var tmp15_safe_receiver = this.u66_1;
911
+ this.i66_1.p67_1.w('CardsDealerProvider', 'createNewShuffledCardDeck error message = ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.u66_1);
912
+ this.e9_1 = 3;
913
+ suspendResult = this.i66_1.w65(this.j66_1, this.k66_1, this.l66_1, this.m66_1, CardsRandomProvider_CUSTOM_getInstance(), this);
914
914
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
915
915
  return suspendResult;
916
916
  }
@@ -918,31 +918,31 @@
918
918
  }
919
919
 
920
920
  case 3:
921
- this.b66_1 = suspendResult;
922
- this.h9_1 = 4;
921
+ this.t66_1 = suspendResult;
922
+ this.e9_1 = 4;
923
923
  continue $sm;
924
924
  case 4:
925
- return this.b66_1;
925
+ return this.t66_1;
926
926
  case 5:
927
- throw this.k9_1;
927
+ throw this.h9_1;
928
928
  }
929
929
  } catch ($p) {
930
930
  var e = $p;
931
- if (this.i9_1 === 5) {
931
+ if (this.f9_1 === 5) {
932
932
  throw e;
933
933
  } else {
934
- this.h9_1 = this.i9_1;
935
- this.k9_1 = e;
934
+ this.e9_1 = this.f9_1;
935
+ this.h9_1 = e;
936
936
  }
937
937
  }
938
938
  while (true);
939
939
  };
940
940
  function CardsDealerProviderImpl(random, randomPoolProvider, logger) {
941
- this.v66_1 = random;
942
- this.w66_1 = randomPoolProvider;
943
- this.x66_1 = logger;
941
+ this.n67_1 = random;
942
+ this.o67_1 = randomPoolProvider;
943
+ this.p67_1 = logger;
944
944
  }
945
- protoOf(CardsDealerProviderImpl).d65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
945
+ protoOf(CardsDealerProviderImpl).v65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
946
946
  // Inline function 'kotlin.collections.flatMap' call
947
947
  // Inline function 'kotlin.collections.flatMapTo' call
948
948
  var this_0 = get_entries();
@@ -963,7 +963,7 @@
963
963
  inductionVariable = inductionVariable + 1 | 0;
964
964
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>.<anonymous>' call
965
965
  var it = item;
966
- var tmp$ret$0 = Companion_instance.p64(element, it);
966
+ var tmp$ret$0 = Companion_instance.h65(element, it);
967
967
  destination_0.e(tmp$ret$0);
968
968
  }
969
969
  while (!(item === last));
@@ -972,13 +972,13 @@
972
972
  }
973
973
  return destination;
974
974
  };
975
- protoOf(CardsDealerProviderImpl).e65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
975
+ protoOf(CardsDealerProviderImpl).w65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
976
976
  var tmp = new $createNewShuffledCardDeckCOROUTINE$0(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
977
- tmp.j9_1 = Unit_instance;
978
- tmp.k9_1 = null;
979
- return tmp.p9();
977
+ tmp.g9_1 = Unit_instance;
978
+ tmp.h9_1 = null;
979
+ return tmp.m9();
980
980
  };
981
- protoOf(CardsDealerProviderImpl).f65 = function (count, cards) {
981
+ protoOf(CardsDealerProviderImpl).x65 = function (count, cards) {
982
982
  // Inline function 'kotlin.apply' call
983
983
  // Inline function 'kotlin.collections.mutableListOf' call
984
984
  var this_0 = ArrayList_init_$Create$();
@@ -1012,7 +1012,7 @@
1012
1012
  while (tmp0_iterator.k()) {
1013
1013
  var element = tmp0_iterator.l();
1014
1014
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getNRandomUniqueCards.<anonymous>.<anonymous>' call
1015
- if (element.o64() === card.o64()) {
1015
+ if (element.g65() === card.g65()) {
1016
1016
  tmp$ret$2 = true;
1017
1017
  break $l$block_1;
1018
1018
  }
@@ -1027,7 +1027,7 @@
1027
1027
  }
1028
1028
  return this_0;
1029
1029
  };
1030
- protoOf(CardsDealerProviderImpl).g65 = function (cards, times) {
1030
+ protoOf(CardsDealerProviderImpl).y65 = function (cards, times) {
1031
1031
  // Inline function 'kotlin.let' call
1032
1032
  // Inline function 'kotlin.contracts.contract' call
1033
1033
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.standardShuffledCards.<anonymous>' call
@@ -1037,49 +1037,49 @@
1037
1037
  do {
1038
1038
  var i = inductionVariable;
1039
1039
  inductionVariable = inductionVariable + 1 | 0;
1040
- shuffled = this.v66_1.d5v(shuffled);
1040
+ shuffled = this.n67_1.z5u(shuffled);
1041
1041
  }
1042
1042
  while (inductionVariable < times);
1043
1043
  return shuffled;
1044
1044
  };
1045
1045
  function Companion_3() {
1046
1046
  }
1047
- protoOf(Companion_3).y66 = function () {
1047
+ protoOf(Companion_3).q67 = function () {
1048
1048
  // Inline function 'kotlin.apply' call
1049
1049
  // Inline function 'kotlin.collections.mutableListOf' call
1050
1050
  var this_0 = ArrayList_init_$Create$();
1051
1051
  // Inline function 'kotlin.contracts.contract' call
1052
1052
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.Companion.getCards.<anonymous>' call
1053
- this_0.n(listOf([Companion_instance.q64(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q64(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.q64(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q64(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.q64(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.q64(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1054
- this_0.n(listOf([Companion_instance.q64(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.q64(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.q64(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.q64(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.q64(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.q64(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1055
- this_0.n(listOf([Companion_instance.q64(Suit_CLUB_getInstance(), CardName_DAME_getInstance()), Companion_instance.q64(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.q64(Suit_HEART_getInstance(), CardName_DAME_getInstance()), Companion_instance.q64(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q64(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q64(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1056
- this_0.n(listOf([Companion_instance.q64(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.q64(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.q64(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.q64(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.q64(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.q64(Suit_SPADE_getInstance(), CardName_DAME_getInstance())]));
1057
- this_0.n(listOf([Companion_instance.q64(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.q64(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.q64(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.q64(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.q64(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.q64(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.q64(Suit_DIAMOND_getInstance(), CardName_DAME_getInstance()), Companion_instance.q64(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1053
+ this_0.n(listOf([Companion_instance.i65(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.i65(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.i65(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.i65(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.i65(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.i65(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1054
+ this_0.n(listOf([Companion_instance.i65(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.i65(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.i65(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.i65(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.i65(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.i65(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1055
+ this_0.n(listOf([Companion_instance.i65(Suit_CLUB_getInstance(), CardName_DAME_getInstance()), Companion_instance.i65(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.i65(Suit_HEART_getInstance(), CardName_DAME_getInstance()), Companion_instance.i65(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.i65(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.i65(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1056
+ this_0.n(listOf([Companion_instance.i65(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.i65(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.i65(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.i65(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.i65(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.i65(Suit_SPADE_getInstance(), CardName_DAME_getInstance())]));
1057
+ this_0.n(listOf([Companion_instance.i65(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.i65(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.i65(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.i65(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.i65(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.i65(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.i65(Suit_DIAMOND_getInstance(), CardName_DAME_getInstance()), Companion_instance.i65(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1058
1058
  return this_0;
1059
1059
  };
1060
- protoOf(Companion_3).z66 = function () {
1061
- return listOf([Companion_instance.q64(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q64(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q64(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q64(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1060
+ protoOf(Companion_3).r67 = function () {
1061
+ return listOf([Companion_instance.i65(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.i65(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.i65(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.i65(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1062
1062
  };
1063
1063
  var Companion_instance_3;
1064
1064
  function Companion_getInstance_3() {
1065
1065
  return Companion_instance_3;
1066
1066
  }
1067
1067
  function FakeCardsDealerProvider(cards, cardsForLot) {
1068
- cards = cards === VOID ? Companion_instance_3.y66() : cards;
1069
- cardsForLot = cardsForLot === VOID ? Companion_instance_3.z66() : cardsForLot;
1070
- this.a67_1 = cards;
1071
- this.b67_1 = cardsForLot;
1068
+ cards = cards === VOID ? Companion_instance_3.q67() : cards;
1069
+ cardsForLot = cardsForLot === VOID ? Companion_instance_3.r67() : cardsForLot;
1070
+ this.s67_1 = cards;
1071
+ this.t67_1 = cardsForLot;
1072
1072
  }
1073
- protoOf(FakeCardsDealerProvider).d65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1074
- return this.a67_1;
1073
+ protoOf(FakeCardsDealerProvider).v65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1074
+ return this.s67_1;
1075
1075
  };
1076
- protoOf(FakeCardsDealerProvider).e65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1077
- return this.a67_1;
1076
+ protoOf(FakeCardsDealerProvider).w65 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1077
+ return this.s67_1;
1078
1078
  };
1079
- protoOf(FakeCardsDealerProvider).f65 = function (count, cards) {
1080
- return this.b67_1;
1079
+ protoOf(FakeCardsDealerProvider).x65 = function (count, cards) {
1080
+ return this.t67_1;
1081
1081
  };
1082
- protoOf(FakeCardsDealerProvider).g65 = function (cards, times) {
1082
+ protoOf(FakeCardsDealerProvider).y65 = function (cards, times) {
1083
1083
  return cards;
1084
1084
  };
1085
1085
  function CombinationsCheckerProvider() {
@@ -1108,23 +1108,23 @@
1108
1108
  return takeLast(cards, longestCombinationSupport);
1109
1109
  }
1110
1110
  function sam$kotlin_Comparator$0(function_0) {
1111
- this.h67_1 = function_0;
1111
+ this.z67_1 = function_0;
1112
1112
  }
1113
- protoOf(sam$kotlin_Comparator$0).pc = function (a, b) {
1114
- return this.h67_1(a, b);
1113
+ protoOf(sam$kotlin_Comparator$0).mc = function (a, b) {
1114
+ return this.z67_1(a, b);
1115
1115
  };
1116
1116
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
1117
- return this.pc(a, b);
1117
+ return this.mc(a, b);
1118
1118
  };
1119
- protoOf(sam$kotlin_Comparator$0).p3 = function () {
1120
- return this.h67_1;
1119
+ protoOf(sam$kotlin_Comparator$0).o3 = function () {
1120
+ return this.z67_1;
1121
1121
  };
1122
1122
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
1123
1123
  var tmp;
1124
1124
  if (!(other == null) ? isInterface(other, Comparator) : false) {
1125
1125
  var tmp_0;
1126
1126
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1127
- tmp_0 = equals(this.p3(), other.p3());
1127
+ tmp_0 = equals(this.o3(), other.o3());
1128
1128
  } else {
1129
1129
  tmp_0 = false;
1130
1130
  }
@@ -1135,19 +1135,19 @@
1135
1135
  return tmp;
1136
1136
  };
1137
1137
  protoOf(sam$kotlin_Comparator$0).hashCode = function () {
1138
- return hashCode(this.p3());
1138
+ return hashCode(this.o3());
1139
1139
  };
1140
1140
  function CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda(a, b) {
1141
1141
  // Inline function 'kotlin.comparisons.compareValuesBy' call
1142
1142
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1143
- var tmp = first_0(a).n64_1;
1143
+ var tmp = first_0(a).f65_1;
1144
1144
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1145
- var tmp$ret$1 = first_0(b).n64_1;
1145
+ var tmp$ret$1 = first_0(b).f65_1;
1146
1146
  return compareValues(tmp, tmp$ret$1);
1147
1147
  }
1148
1148
  function CombinationsCheckerProviderImpl() {
1149
1149
  }
1150
- protoOf(CombinationsCheckerProviderImpl).c67 = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1150
+ protoOf(CombinationsCheckerProviderImpl).u67 = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1151
1151
  // Inline function 'kotlin.collections.filter' call
1152
1152
  // Inline function 'kotlin.apply' call
1153
1153
  var this_0 = toMutableList(cards);
@@ -1160,7 +1160,7 @@
1160
1160
  while (tmp0_iterator.k()) {
1161
1161
  var element = tmp0_iterator.l();
1162
1162
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
1163
- if (element.b65()) {
1163
+ if (element.t65()) {
1164
1164
  destination.e(element);
1165
1165
  }
1166
1166
  }
@@ -1177,14 +1177,14 @@
1177
1177
  inductionVariable = inductionVariable + 1 | 0;
1178
1178
  var previousCard = lastOrNull(combinationCards);
1179
1179
  var currentCard = sortedByIndexCards.o(i);
1180
- var isNextInRow = !(previousCard == null) && currentCard.n64_1 === (previousCard.n64_1 + 1 | 0) && currentCard.a65().equals(previousCard.a65());
1181
- var passedCardNamesCheck = includeCardNames == null || includeCardNames.s1(currentCard.p2());
1182
- var passedSuitCheck = suit == null || currentCard.a65().equals(suit);
1180
+ var isNextInRow = !(previousCard == null) && currentCard.f65_1 === (previousCard.f65_1 + 1 | 0) && currentCard.s65().equals(previousCard.s65());
1181
+ var passedCardNamesCheck = includeCardNames == null || includeCardNames.s1(currentCard.o2());
1182
+ var passedSuitCheck = suit == null || currentCard.s65().equals(suit);
1183
1183
  if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
1184
1184
  combinationCards.e(currentCard);
1185
1185
  } else {
1186
1186
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1187
- combinations.n(this.g67(toMutableList(combinationCards), supportedCombinations));
1187
+ combinations.n(this.y67(toMutableList(combinationCards), supportedCombinations));
1188
1188
  }
1189
1189
  combinationCards.a2();
1190
1190
  if (passedSuitCheck && passedCardNamesCheck) {
@@ -1194,11 +1194,11 @@
1194
1194
  }
1195
1195
  while (inductionVariable <= last);
1196
1196
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1197
- combinations.n(this.g67(toMutableList(combinationCards), supportedCombinations));
1197
+ combinations.n(this.y67(toMutableList(combinationCards), supportedCombinations));
1198
1198
  }
1199
1199
  return combinations;
1200
1200
  };
1201
- protoOf(CombinationsCheckerProviderImpl).e67 = function (cards, cardsCount, includeCardNames) {
1201
+ protoOf(CombinationsCheckerProviderImpl).w67 = function (cards, cardsCount, includeCardNames) {
1202
1202
  // Inline function 'kotlin.collections.filter' call
1203
1203
  // Inline function 'kotlin.collections.filter' call
1204
1204
  // Inline function 'kotlin.apply' call
@@ -1212,7 +1212,7 @@
1212
1212
  while (tmp0_iterator.k()) {
1213
1213
  var element = tmp0_iterator.l();
1214
1214
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1215
- if (element.b65()) {
1215
+ if (element.t65()) {
1216
1216
  destination.e(element);
1217
1217
  }
1218
1218
  }
@@ -1222,7 +1222,7 @@
1222
1222
  while (tmp0_iterator_0.k()) {
1223
1223
  var element_0 = tmp0_iterator_0.l();
1224
1224
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1225
- if (includeCardNames == null || includeCardNames.s1(element_0.p2())) {
1225
+ if (includeCardNames == null || includeCardNames.s1(element_0.o2())) {
1226
1226
  destination_0.e(element_0);
1227
1227
  }
1228
1228
  }
@@ -1235,14 +1235,14 @@
1235
1235
  while (tmp0_iterator_1.k()) {
1236
1236
  var element_1 = tmp0_iterator_1.l();
1237
1237
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1238
- var key = element_1.o64();
1238
+ var key = element_1.g65();
1239
1239
  // Inline function 'kotlin.collections.getOrPut' call
1240
- var value = destination_1.h2(key);
1240
+ var value = destination_1.g2(key);
1241
1241
  var tmp;
1242
1242
  if (value == null) {
1243
1243
  // Inline function 'kotlin.collections.groupByTo.<anonymous>' call
1244
1244
  var answer = ArrayList_init_$Create$();
1245
- destination_1.k2(key, answer);
1245
+ destination_1.j2(key, answer);
1246
1246
  tmp = answer;
1247
1247
  } else {
1248
1248
  tmp = value;
@@ -1258,10 +1258,10 @@
1258
1258
  var element_2 = tmp0_iterator_2.l();
1259
1259
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1260
1260
  if (element_2.u().m() >= cardsCount) {
1261
- destination_2.k2(element_2.t(), element_2.u());
1261
+ destination_2.j2(element_2.t(), element_2.u());
1262
1262
  }
1263
1263
  }
1264
- var combinations = destination_2.j2();
1264
+ var combinations = destination_2.i2();
1265
1265
  // Inline function 'kotlin.collections.map' call
1266
1266
  // Inline function 'kotlin.collections.mapTo' call
1267
1267
  var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(combinations, 10));
@@ -1274,7 +1274,7 @@
1274
1274
  }
1275
1275
  return destination_3;
1276
1276
  };
1277
- protoOf(CombinationsCheckerProviderImpl).g67 = function (cards, supportedCombinations) {
1277
+ protoOf(CombinationsCheckerProviderImpl).y67 = function (cards, supportedCombinations) {
1278
1278
  // Inline function 'kotlin.collections.minOf' call
1279
1279
  var iterator = supportedCombinations.j();
1280
1280
  if (!iterator.k())
@@ -1304,28 +1304,28 @@
1304
1304
  return sortedWith(combinations, tmp$ret$4);
1305
1305
  };
1306
1306
  function DealerReducerImpl(logger, enableLogs) {
1307
- this.i67_1 = logger;
1308
- this.j67_1 = enableLogs;
1307
+ this.a68_1 = logger;
1308
+ this.b68_1 = enableLogs;
1309
1309
  }
1310
- protoOf(DealerReducerImpl).k67 = function (cards, cardsToRemove) {
1310
+ protoOf(DealerReducerImpl).c68 = function (cards, cardsToRemove) {
1311
1311
  var list = cards;
1312
1312
  var _iterator__ex2g4s = cardsToRemove.j();
1313
1313
  while (_iterator__ex2g4s.k()) {
1314
1314
  var gameCard = _iterator__ex2g4s.l();
1315
- list = this.l67(list, gameCard);
1315
+ list = this.d68(list, gameCard);
1316
1316
  }
1317
1317
  return list;
1318
1318
  };
1319
- protoOf(DealerReducerImpl).l67 = function (cards, cardToRemove) {
1319
+ protoOf(DealerReducerImpl).d68 = function (cards, cardToRemove) {
1320
1320
  var tmp;
1321
- if (!cardToRemove.t64() && cards.s1(cardToRemove)) {
1322
- if (this.j67_1) {
1323
- this.i67_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1321
+ if (!cardToRemove.l65() && cards.s1(cardToRemove)) {
1322
+ if (this.b68_1) {
1323
+ this.a68_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1324
1324
  }
1325
1325
  tmp = minus(cards, cardToRemove);
1326
1326
  } else {
1327
- if (this.j67_1) {
1328
- this.i67_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1327
+ if (this.b68_1) {
1328
+ this.a68_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1329
1329
  }
1330
1330
  // Inline function 'kotlin.collections.filterNot' call
1331
1331
  // Inline function 'kotlin.collections.filterNotTo' call
@@ -1334,7 +1334,7 @@
1334
1334
  while (tmp0_iterator.k()) {
1335
1335
  var element = tmp0_iterator.l();
1336
1336
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1337
- if (!element.t64()) {
1337
+ if (!element.l65()) {
1338
1338
  destination.e(element);
1339
1339
  }
1340
1340
  }
@@ -1346,34 +1346,34 @@
1346
1346
  while (tmp0_iterator_0.k()) {
1347
1347
  var element_0 = tmp0_iterator_0.l();
1348
1348
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1349
- if (element_0.t64()) {
1349
+ if (element_0.l65()) {
1350
1350
  destination_0.e(element_0);
1351
1351
  }
1352
1352
  }
1353
1353
  var stubCards = destination_0;
1354
1354
  if (stubCards.p()) {
1355
- this.i67_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1355
+ this.a68_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1356
1356
  }
1357
1357
  tmp = plus(notStubCards, dropLast(stubCards, 1));
1358
1358
  }
1359
1359
  return tmp;
1360
1360
  };
1361
- protoOf(DealerReducerImpl).m67 = function (cards, cardToAdd) {
1362
- if (this.j67_1) {
1363
- this.i67_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1361
+ protoOf(DealerReducerImpl).e68 = function (cards, cardToAdd) {
1362
+ if (this.b68_1) {
1363
+ this.a68_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1364
1364
  }
1365
1365
  if (cards.s1(cardToAdd)) {
1366
- this.i67_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1366
+ this.a68_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1367
1367
  }
1368
1368
  return plus_0(cards, cardToAdd);
1369
1369
  };
1370
1370
  function DealerReducer() {
1371
1371
  }
1372
1372
  //region block: post-declaration
1373
- protoOf(CardsDealerProviderImpl).h65 = standardShuffledCards$default;
1374
- protoOf(FakeCardsDealerProvider).h65 = standardShuffledCards$default;
1375
- protoOf(CombinationsCheckerProviderImpl).d67 = findCardsInRowCombinations$default;
1376
- protoOf(CombinationsCheckerProviderImpl).f67 = findSameCardsNumberCombinations$default;
1373
+ protoOf(CardsDealerProviderImpl).z65 = standardShuffledCards$default;
1374
+ protoOf(FakeCardsDealerProvider).z65 = standardShuffledCards$default;
1375
+ protoOf(CombinationsCheckerProviderImpl).v67 = findCardsInRowCombinations$default;
1376
+ protoOf(CombinationsCheckerProviderImpl).x67 = findSameCardsNumberCombinations$default;
1377
1377
  //endregion
1378
1378
  //region block: init
1379
1379
  CoreConfig_instance = new CoreConfig();