client_plugin_logic_deb 1.8.304 → 1.8.305

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 (35) hide show
  1. package/Kosi-Kaverit-kaverit.js +56 -56
  2. package/Kosi-Kodein-kodein-di.js +511 -511
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +1377 -1377
  4. package/Logic_Debertz-client_plugin.d.ts +3 -3
  5. package/Logic_Debertz-client_plugin.js +2987 -2987
  6. package/Logic_Debertz-core.js +1732 -1732
  7. package/Logic_Debertz-engine.js +16154 -16048
  8. package/Logic_Debertz-engine.js.map +1 -1
  9. package/Logic_Debertz-game_client.js +7860 -7860
  10. package/Logic_Debertz-game_client.js.map +1 -1
  11. package/Logic_Debertz-game_server.js +1033 -958
  12. package/Logic_Debertz-game_server.js.map +1 -1
  13. package/kotlinx-coroutines-core.js +1554 -1708
  14. package/kotlinx-coroutines-core.js.map +1 -1
  15. package/kotlinx-io-kotlinx-io-core.js +316 -316
  16. package/kotlinx-serialization-kotlinx-serialization-core.js +1801 -1801
  17. package/kotlinx-serialization-kotlinx-serialization-json.js +1328 -1328
  18. package/ktor-ktor-client-content-negotiation.js +133 -133
  19. package/ktor-ktor-client-core.js +1536 -1536
  20. package/ktor-ktor-client-logging.js +287 -287
  21. package/ktor-ktor-events.js +6 -6
  22. package/ktor-ktor-http.js +599 -599
  23. package/ktor-ktor-io.js +1256 -1256
  24. package/ktor-ktor-serialization-kotlinx-json.js +7 -7
  25. package/ktor-ktor-serialization-kotlinx.js +139 -139
  26. package/ktor-ktor-serialization.js +65 -65
  27. package/ktor-ktor-utils.js +498 -498
  28. package/ktor-ktor-websockets.js +41 -41
  29. package/package.json +1 -1
  30. package/raspberry-cardgame-lib-core.js +201 -195
  31. package/raspberry-cardgame-lib-core.js.map +1 -1
  32. package/raspberry-cardgame-lib-random.js +881 -908
  33. package/raspberry-cardgame-lib-random.js.map +1 -1
  34. package/secure-random-secure-random.js +5 -5
  35. package/uuid.js +11 -11
@@ -41,20 +41,20 @@
41
41
  var lazy = kotlin_kotlin.$_$.ph;
42
42
  var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
43
43
  var initMetadataForInterface = kotlin_kotlin.$_$.xb;
44
- var until = kotlin_kotlin.$_$.ld;
45
44
  var collectionSizeOrDefault = kotlin_kotlin.$_$.s6;
46
45
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
47
46
  var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
48
47
  var CoroutineImpl = kotlin_kotlin.$_$.wa;
49
48
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ha;
50
49
  var initMetadataForCoroutine = kotlin_kotlin.$_$.wb;
51
- var count = kotlin_kotlin.$_$.j7;
52
50
  var Result = kotlin_kotlin.$_$.rg;
53
51
  var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.g3;
54
52
  var throwOnFailure = kotlin_kotlin.$_$.vh;
55
53
  var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.j3;
56
54
  var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.i3;
57
55
  var addAll = kotlin_kotlin.$_$.g6;
56
+ var until = kotlin_kotlin.$_$.ld;
57
+ var count = kotlin_kotlin.$_$.j7;
58
58
  var Collection = kotlin_kotlin.$_$.r5;
59
59
  var isInterface = kotlin_kotlin.$_$.ic;
60
60
  var toMutableList = kotlin_kotlin.$_$.x9;
@@ -96,11 +96,11 @@
96
96
  initMetadataForClass(CardsRandomProvider, 'CardsRandomProvider', VOID, Enum);
97
97
  function standardShuffledCards$default(cards, times, $super) {
98
98
  times = times === VOID ? 3 : times;
99
- return $super === VOID ? this.d6b(cards, times) : $super.d6b.call(this, cards, times);
99
+ return $super === VOID ? this.q6a(cards, times) : $super.q6a.call(this, cards, times);
100
100
  }
101
101
  function realLifeShuffledCards$default(cards, times, $super) {
102
102
  times = times === VOID ? 20 : times;
103
- return $super === VOID ? this.f6b(cards, times) : $super.f6b.call(this, cards, times);
103
+ return $super === VOID ? this.s6a(cards, times) : $super.s6a.call(this, cards, times);
104
104
  }
105
105
  initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider', VOID, VOID, VOID, [5]);
106
106
  initMetadataForCompanion(Companion_2);
@@ -113,12 +113,12 @@
113
113
  checkFromIndex = checkFromIndex === VOID ? first(supportedCombinations) : checkFromIndex;
114
114
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
115
115
  suit = suit === VOID ? null : suit;
116
- return $super === VOID ? this.b6d(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.b6d.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
116
+ return $super === VOID ? this.q6c(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.q6c.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
117
117
  }
118
118
  function findSameCardsNumberCombinations$default(cards, cardsCount, includeCardNames, $super) {
119
119
  cardsCount = cardsCount === VOID ? 4 : cardsCount;
120
120
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
121
- return $super === VOID ? this.d6d(cards, cardsCount, includeCardNames) : $super.d6d.call(this, cards, cardsCount, includeCardNames);
121
+ return $super === VOID ? this.s6c(cards, cardsCount, includeCardNames) : $super.s6c.call(this, cards, cardsCount, includeCardNames);
122
122
  }
123
123
  initMetadataForInterface(CombinationsCheckerProvider, 'CombinationsCheckerProvider');
124
124
  initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
@@ -127,9 +127,9 @@
127
127
  initMetadataForClass(DealerReducerImpl, 'DealerReducerImpl', VOID, VOID, [DealerReducer]);
128
128
  //endregion
129
129
  function CoreConfig() {
130
- this.version = '0.0.40';
130
+ this.version = '0.0.44';
131
131
  }
132
- protoOf(CoreConfig).k33 = function () {
132
+ protoOf(CoreConfig).x32 = function () {
133
133
  return this.version;
134
134
  };
135
135
  var CoreConfig_instance;
@@ -138,33 +138,33 @@
138
138
  }
139
139
  function CardIndexComparator() {
140
140
  }
141
- protoOf(CardIndexComparator).h6a = function (a, b) {
142
- return a.i6a_1 - b.i6a_1 | 0;
141
+ protoOf(CardIndexComparator).u69 = function (a, b) {
142
+ return a.v69_1 - b.v69_1 | 0;
143
143
  };
144
144
  protoOf(CardIndexComparator).compare = function (a, b) {
145
145
  var tmp = a instanceof GameCard ? a : THROW_CCE();
146
- return this.h6a(tmp, b instanceof GameCard ? b : THROW_CCE());
146
+ return this.u69(tmp, b instanceof GameCard ? b : THROW_CCE());
147
147
  };
148
148
  var CardIndexComparator_instance;
149
149
  function CardIndexComparator_getInstance() {
150
150
  return CardIndexComparator_instance;
151
151
  }
152
152
  function CardSuitSortingComparator(suit) {
153
- this.j6a_1 = suit;
153
+ this.w69_1 = suit;
154
154
  }
155
- protoOf(CardSuitSortingComparator).h6a = function (a, b) {
156
- if (!a.k6a() || !b.k6a()) {
155
+ protoOf(CardSuitSortingComparator).u69 = function (a, b) {
156
+ if (!a.x69() || !b.x69()) {
157
157
  return 0;
158
158
  }
159
- var suitIndexL = this.j6a_1.u1(a.l6a());
160
- var suitIndexR = this.j6a_1.u1(b.l6a());
161
- var sortedNumberL = imul(suitIndexL, 13) + a.m6a() | 0;
162
- var sortedNumberR = imul(suitIndexR, 13) + b.m6a() | 0;
159
+ var suitIndexL = this.w69_1.u1(a.y69());
160
+ var suitIndexR = this.w69_1.u1(b.y69());
161
+ var sortedNumberL = imul(suitIndexL, 13) + a.z69() | 0;
162
+ var sortedNumberR = imul(suitIndexR, 13) + b.z69() | 0;
163
163
  return sortedNumberL - sortedNumberR | 0;
164
164
  };
165
165
  protoOf(CardSuitSortingComparator).compare = function (a, b) {
166
166
  var tmp = a instanceof GameCard ? a : THROW_CCE();
167
- return this.h6a(tmp, b instanceof GameCard ? b : THROW_CCE());
167
+ return this.u69(tmp, b instanceof GameCard ? b : THROW_CCE());
168
168
  };
169
169
  function filterByCardName(_this__u8e3s4, name) {
170
170
  // Inline function 'kotlin.collections.filter' call
@@ -182,12 +182,12 @@
182
182
  }
183
183
  function CardNumberComparator() {
184
184
  }
185
- protoOf(CardNumberComparator).h6a = function (a, b) {
186
- return b.m6a() - a.m6a() | 0;
185
+ protoOf(CardNumberComparator).u69 = function (a, b) {
186
+ return b.z69() - a.z69() | 0;
187
187
  };
188
188
  protoOf(CardNumberComparator).compare = function (a, b) {
189
189
  var tmp = a instanceof GameCard ? a : THROW_CCE();
190
- return this.h6a(tmp, b instanceof GameCard ? b : THROW_CCE());
190
+ return this.u69(tmp, b instanceof GameCard ? b : THROW_CCE());
191
191
  };
192
192
  var CardNumberComparator_instance;
193
193
  function CardNumberComparator_getInstance() {
@@ -315,16 +315,16 @@
315
315
  }
316
316
  function Companion() {
317
317
  }
318
- protoOf(Companion).n6a = function (suit, number) {
318
+ protoOf(Companion).a6a = function (suit, number) {
319
319
  return new GameCard(getNumber(Companion_instance_0, getName(Companion_instance_0, number), suit));
320
320
  };
321
- protoOf(Companion).o6a = function (suit, cardNumber) {
321
+ protoOf(Companion).b6a = function (suit, cardNumber) {
322
322
  return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
323
323
  };
324
- protoOf(Companion).p6a = function (index) {
324
+ protoOf(Companion).c6a = function (index) {
325
325
  return new GameCard(index);
326
326
  };
327
- protoOf(Companion).q6a = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
327
+ protoOf(Companion).d6a = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
328
328
  var tmp;
329
329
  if (previousStubCardWithMaxIndex == null) {
330
330
  tmp = null;
@@ -333,7 +333,7 @@
333
333
  // Inline function 'kotlin.contracts.contract' call
334
334
  var tmp_0;
335
335
  // Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueStub.<anonymous>' call
336
- if (previousStubCardWithMaxIndex.r6a()) {
336
+ if (previousStubCardWithMaxIndex.e6a()) {
337
337
  tmp_0 = previousStubCardWithMaxIndex;
338
338
  } else {
339
339
  tmp_0 = null;
@@ -341,8 +341,8 @@
341
341
  tmp = tmp_0;
342
342
  }
343
343
  var tmp3_safe_receiver = tmp;
344
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.i6a_1;
345
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.x6a(tmp4_safe_receiver, playerIndex, reverse);
344
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.v69_1;
345
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.k6a(tmp4_safe_receiver, playerIndex, reverse);
346
346
  var tmp_1;
347
347
  if (tmp5_safe_receiver == null) {
348
348
  tmp_1 = null;
@@ -363,10 +363,10 @@
363
363
  var index = tmp_2;
364
364
  return new GameCard(index);
365
365
  };
366
- protoOf(Companion).y6a = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
366
+ protoOf(Companion).l6a = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
367
367
  previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
368
368
  reverse = reverse === VOID ? false : reverse;
369
- return $super === VOID ? this.q6a(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.q6a.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
369
+ return $super === VOID ? this.d6a(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.d6a.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
370
370
  };
371
371
  var Companion_instance;
372
372
  function Companion_getInstance() {
@@ -470,7 +470,7 @@
470
470
  return tmp;
471
471
  }
472
472
  function _get_isShirt__vd98rp($this) {
473
- return $this.i6a_1 >= 150 && $this.i6a_1 <= 202;
473
+ return $this.v69_1 >= 150 && $this.v69_1 <= 202;
474
474
  }
475
475
  function CardName(name, ordinal) {
476
476
  Enum.call(this, name, ordinal);
@@ -479,13 +479,13 @@
479
479
  return getShortName(this);
480
480
  };
481
481
  function Companion_0() {
482
- this.s6a_1 = -1;
483
- this.t6a_1 = 13;
484
- this.u6a_1 = 52;
485
- this.v6a_1 = 150;
486
- this.w6a_1 = 53;
482
+ this.f6a_1 = -1;
483
+ this.g6a_1 = 13;
484
+ this.h6a_1 = 52;
485
+ this.i6a_1 = 150;
486
+ this.j6a_1 = 53;
487
487
  }
488
- protoOf(Companion_0).x6a = function (_this__u8e3s4, playerIndex, reverse) {
488
+ protoOf(Companion_0).k6a = function (_this__u8e3s4, playerIndex, reverse) {
489
489
  var tmp;
490
490
  if (reverse) {
491
491
  tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
@@ -555,59 +555,59 @@
555
555
  return CardName_STUB_instance;
556
556
  }
557
557
  function GameCard(index) {
558
- this.i6a_1 = index;
558
+ this.v69_1 = index;
559
559
  }
560
- protoOf(GameCard).l6a = function () {
560
+ protoOf(GameCard).y69 = function () {
561
561
  var tmp;
562
- var containsArg = this.i6a_1;
562
+ var containsArg = this.v69_1;
563
563
  if (0 <= containsArg ? containsArg <= 13 : false) {
564
564
  tmp = Suit_DIAMOND_getInstance();
565
565
  } else {
566
- if (this.i6a_1 <= 26) {
566
+ if (this.v69_1 <= 26) {
567
567
  tmp = Suit_SPADE_getInstance();
568
568
  } else {
569
- if (this.i6a_1 <= 39) {
569
+ if (this.v69_1 <= 39) {
570
570
  tmp = Suit_HEART_getInstance();
571
571
  } else {
572
- if (this.i6a_1 <= 52) {
572
+ if (this.v69_1 <= 52) {
573
573
  tmp = Suit_CLUB_getInstance();
574
574
  } else {
575
- throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.i6a_1);
575
+ throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.v69_1);
576
576
  }
577
577
  }
578
578
  }
579
579
  }
580
580
  return tmp;
581
581
  };
582
- protoOf(GameCard).m6a = function () {
582
+ protoOf(GameCard).z69 = function () {
583
583
  var tmp;
584
- if (this.r6a()) {
584
+ if (this.e6a()) {
585
585
  tmp = -1;
586
586
  } else {
587
- tmp = this.i6a_1 - imul(13, getIndex(this.l6a())) | 0;
587
+ tmp = this.v69_1 - imul(13, getIndex(this.y69())) | 0;
588
588
  }
589
589
  return tmp;
590
590
  };
591
591
  protoOf(GameCard).p2 = function () {
592
- return this.r6a() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.m6a());
592
+ return this.e6a() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.z69());
593
593
  };
594
- protoOf(GameCard).k6a = function () {
595
- return !_get_isShirt__vd98rp(this) && !this.r6a();
594
+ protoOf(GameCard).x69 = function () {
595
+ return !_get_isShirt__vd98rp(this) && !this.e6a();
596
596
  };
597
- protoOf(GameCard).r6a = function () {
598
- return this.i6a_1 >= 53 && this.i6a_1 <= 105;
597
+ protoOf(GameCard).e6a = function () {
598
+ return this.v69_1 >= 53 && this.v69_1 <= 105;
599
599
  };
600
600
  protoOf(GameCard).toString = function () {
601
601
  if (_get_isShirt__vd98rp(this)) {
602
602
  return 'GameCard(SHIRT)';
603
603
  }
604
- if (this.r6a()) {
605
- return 'GameCard(STUB, ' + this.i6a_1 + ')';
604
+ if (this.e6a()) {
605
+ return 'GameCard(STUB, ' + this.v69_1 + ')';
606
606
  }
607
- return 'GameCard(' + this.l6a().toString() + this.p2().toString() + ', ' + this.i6a_1 + ')';
607
+ return 'GameCard(' + this.y69().toString() + this.p2().toString() + ', ' + this.v69_1 + ')';
608
608
  };
609
609
  protoOf(GameCard).hashCode = function () {
610
- return this.i6a_1;
610
+ return this.v69_1;
611
611
  };
612
612
  protoOf(GameCard).equals = function (other) {
613
613
  if (this === other)
@@ -615,12 +615,12 @@
615
615
  if (!(other instanceof GameCard))
616
616
  return false;
617
617
  var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
618
- if (!(this.i6a_1 === tmp0_other_with_cast.i6a_1))
618
+ if (!(this.v69_1 === tmp0_other_with_cast.v69_1))
619
619
  return false;
620
620
  return true;
621
621
  };
622
622
  function _get_$cachedSerializer__te6jhj($this) {
623
- return $this.z6a_1.u();
623
+ return $this.m6a_1.u();
624
624
  }
625
625
  function Suit$Companion$_anonymous__cbm2iq() {
626
626
  return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
@@ -662,13 +662,13 @@
662
662
  Companion_instance_1 = this;
663
663
  var tmp = this;
664
664
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
665
- tmp.z6a_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
665
+ tmp.m6a_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
666
666
  }
667
- protoOf(Companion_1).t50 = function () {
667
+ protoOf(Companion_1).g50 = function () {
668
668
  return _get_$cachedSerializer__te6jhj(this);
669
669
  };
670
- protoOf(Companion_1).q4k = function (typeParamsSerializers) {
671
- return this.t50();
670
+ protoOf(Companion_1).d4k = function (typeParamsSerializers) {
671
+ return this.g50();
672
672
  };
673
673
  var Companion_instance_1;
674
674
  function Companion_getInstance_1() {
@@ -761,9 +761,6 @@
761
761
  }
762
762
  function CardsDealerProvider() {
763
763
  }
764
- function getCardsRange($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
765
- return until(leftCardIndexForEachSuit, 13 - rightCardIndexForEachSuit | 0);
766
- }
767
764
  function getRandomOrgCards($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion) {
768
765
  var tmp = new $getRandomOrgCardsCOROUTINE$1($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion);
769
766
  tmp.h9_1 = Unit_instance;
@@ -789,7 +786,7 @@
789
786
  }
790
787
  function Companion_2() {
791
788
  }
792
- protoOf(Companion_2).c6c = function (randomPoolProvider, logger) {
789
+ protoOf(Companion_2).q6b = function (randomPoolProvider, logger) {
793
790
  var tmp17_random = new SecureRandom(logger);
794
791
  return new CardsDealerProviderImpl(tmp17_random, randomPoolProvider, logger);
795
792
  };
@@ -799,12 +796,12 @@
799
796
  }
800
797
  function $createNewShuffledCardDeckCOROUTINE$0(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
801
798
  CoroutineImpl.call(this, resultContinuation);
802
- this.l6c_1 = _this__u8e3s4;
803
- this.m6c_1 = leftCardIndexForEachSuit;
804
- this.n6c_1 = rightCardIndexForEachSuit;
805
- this.o6c_1 = approximateRoundCountForGame;
806
- this.p6c_1 = userData;
807
- this.q6c_1 = provider;
799
+ this.z6b_1 = _this__u8e3s4;
800
+ this.a6c_1 = leftCardIndexForEachSuit;
801
+ this.b6c_1 = rightCardIndexForEachSuit;
802
+ this.c6c_1 = approximateRoundCountForGame;
803
+ this.d6c_1 = userData;
804
+ this.e6c_1 = provider;
808
805
  }
809
806
  protoOf($createNewShuffledCardDeckCOROUTINE$0).n9 = function () {
810
807
  var suspendResult = this.h9_1;
@@ -814,26 +811,26 @@
814
811
  switch (tmp) {
815
812
  case 0:
816
813
  this.g9_1 = 4;
817
- this.r6c_1 = this.q6c_1;
818
- this.s6c_1 = this.r6c_1.o2_1;
819
- if (this.s6c_1 === 0) {
814
+ this.f6c_1 = this.e6c_1;
815
+ this.g6c_1 = this.f6c_1.o2_1;
816
+ if (this.g6c_1 === 0) {
820
817
  var tmp_0 = this;
821
- var it = this.l6c_1.a6b(this.m6c_1, this.n6c_1);
822
- tmp_0.t6c_1 = this.l6c_1.e6b(it);
818
+ var it = this.z6b_1.n6a(this.a6c_1, this.b6c_1);
819
+ tmp_0.h6c_1 = this.z6b_1.r6a(it);
823
820
  this.f9_1 = 3;
824
821
  continue $sm;
825
822
  } else {
826
- if (this.s6c_1 === 1) {
823
+ if (this.g6c_1 === 1) {
827
824
  this.f9_1 = 2;
828
- suspendResult = getRandomOrgCards(this.l6c_1, this.m6c_1, this.n6c_1, this.o6c_1, this.p6c_1, false, this);
825
+ suspendResult = getRandomOrgCards(this.z6b_1, this.a6c_1, this.b6c_1, this.c6c_1, this.d6c_1, false, this);
829
826
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
830
827
  return suspendResult;
831
828
  }
832
829
  continue $sm;
833
830
  } else {
834
- if (this.s6c_1 === 2) {
831
+ if (this.g6c_1 === 2) {
835
832
  this.f9_1 = 1;
836
- suspendResult = getRandomOrgCards(this.l6c_1, this.m6c_1, this.n6c_1, this.o6c_1, this.p6c_1, true, this);
833
+ suspendResult = getRandomOrgCards(this.z6b_1, this.a6c_1, this.b6c_1, this.c6c_1, this.d6c_1, true, this);
837
834
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
838
835
  return suspendResult;
839
836
  }
@@ -847,15 +844,15 @@
847
844
 
848
845
  break;
849
846
  case 1:
850
- this.t6c_1 = suspendResult;
847
+ this.h6c_1 = suspendResult;
851
848
  this.f9_1 = 3;
852
849
  continue $sm;
853
850
  case 2:
854
- this.t6c_1 = suspendResult;
851
+ this.h6c_1 = suspendResult;
855
852
  this.f9_1 = 3;
856
853
  continue $sm;
857
854
  case 3:
858
- return this.t6c_1;
855
+ return this.h6c_1;
859
856
  case 4:
860
857
  throw this.i9_1;
861
858
  }
@@ -872,12 +869,12 @@
872
869
  };
873
870
  function $getRandomOrgCardsCOROUTINE$1(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
874
871
  CoroutineImpl.call(this, resultContinuation);
875
- this.p6b_1 = _this__u8e3s4;
876
- this.q6b_1 = leftCardIndexForEachSuit;
877
- this.r6b_1 = rightCardIndexForEachSuit;
878
- this.s6b_1 = approximateRoundsCount;
879
- this.t6b_1 = userData;
880
- this.u6b_1 = signed;
872
+ this.d6b_1 = _this__u8e3s4;
873
+ this.e6b_1 = leftCardIndexForEachSuit;
874
+ this.f6b_1 = rightCardIndexForEachSuit;
875
+ this.g6b_1 = approximateRoundsCount;
876
+ this.h6b_1 = userData;
877
+ this.i6b_1 = signed;
881
878
  }
882
879
  protoOf($getRandomOrgCardsCOROUTINE$1).n9 = function () {
883
880
  var suspendResult = this.h9_1;
@@ -887,20 +884,11 @@
887
884
  switch (tmp) {
888
885
  case 0:
889
886
  this.g9_1 = 5;
890
- var tmp_0 = this;
891
- var sum = 0;
892
- var tmp0_iterator = get_entries().j();
893
- while (tmp0_iterator.k()) {
894
- var element = tmp0_iterator.l();
895
- var tmp_1 = sum;
896
- sum = tmp_1 + count(getCardsRange(this.p6b_1, this.q6b_1, this.r6b_1)) | 0;
897
- }
898
-
899
- tmp_0.v6b_1 = sum;
900
- this.w6b_1 = this.p6b_1.v6c_1;
901
- this.x6b_1 = this.v6b_1 - 1 | 0;
887
+ this.j6b_1 = this.d6b_1.u6a(this.e6b_1, this.f6b_1);
888
+ this.k6b_1 = this.d6b_1.j6c_1;
889
+ this.l6b_1 = this.j6b_1 - 1 | 0;
902
890
  this.f9_1 = 1;
903
- suspendResult = this.w6b_1.a5v(this.s6b_1, this.t6b_1, 0, this.x6b_1, this.v6b_1, this.u6b_1, VOID, this);
891
+ suspendResult = this.k6b_1.m5u(this.g6b_1, this.h6b_1, 0, this.l6b_1, this.j6b_1, this.i6b_1, VOID, this);
904
892
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
905
893
  return suspendResult;
906
894
  }
@@ -908,34 +896,34 @@
908
896
  this.f9_1 = 2;
909
897
  continue $sm;
910
898
  case 1:
911
- this.y6b_1 = suspendResult.ek_1;
912
- suspendResult = new Result(this.y6b_1);
899
+ this.m6b_1 = suspendResult.ek_1;
900
+ suspendResult = new Result(this.m6b_1);
913
901
  this.f9_1 = 2;
914
902
  continue $sm;
915
903
  case 2:
916
- this.z6b_1 = suspendResult.ek_1;
917
- if (_Result___get_isSuccess__impl__sndoy8(this.z6b_1)) {
918
- var tmp_2 = this;
919
- var this_0 = this.z6b_1;
904
+ this.n6b_1 = suspendResult.ek_1;
905
+ if (_Result___get_isSuccess__impl__sndoy8(this.n6b_1)) {
906
+ var tmp_0 = this;
907
+ var this_0 = this.n6b_1;
920
908
  throwOnFailure(this_0);
921
- var tmp_3 = _Result___get_value__impl__bjfvqg(this_0);
922
- var tmp14_cards = ((tmp_3 == null ? true : !(tmp_3 == null)) ? tmp_3 : THROW_CCE()).cards;
923
- var this_1 = normalizeCards(this.p6b_1, tmp14_cards, this.q6b_1);
909
+ var tmp_1 = _Result___get_value__impl__bjfvqg(this_0);
910
+ var tmp14_cards = ((tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE()).cards;
911
+ var this_1 = normalizeCards(this.d6b_1, tmp14_cards, this.e6b_1);
924
912
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
925
- var tmp0_iterator_0 = this_1.j();
926
- while (tmp0_iterator_0.k()) {
927
- var item = tmp0_iterator_0.l();
928
- destination.e(Companion_instance.p6a(item));
913
+ var tmp0_iterator = this_1.j();
914
+ while (tmp0_iterator.k()) {
915
+ var item = tmp0_iterator.l();
916
+ destination.e(Companion_instance.c6a(item));
929
917
  }
930
- tmp_2.a6c_1 = destination;
918
+ tmp_0.o6b_1 = destination;
931
919
  this.f9_1 = 4;
932
920
  continue $sm;
933
921
  } else {
934
- this.b6c_1 = Result__exceptionOrNull_impl_p6xea9(this.z6b_1);
935
- var tmp15_safe_receiver = this.b6c_1;
936
- this.p6b_1.w6c_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.b6c_1);
922
+ this.p6b_1 = Result__exceptionOrNull_impl_p6xea9(this.n6b_1);
923
+ var tmp15_safe_receiver = this.p6b_1;
924
+ this.d6b_1.k6c_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.p6b_1);
937
925
  this.f9_1 = 3;
938
- suspendResult = this.p6b_1.b6b(this.q6b_1, this.r6b_1, this.s6b_1, this.t6b_1, CardsRandomProvider_CUSTOM_getInstance(), this);
926
+ suspendResult = this.d6b_1.o6a(this.e6b_1, this.f6b_1, this.g6b_1, this.h6b_1, CardsRandomProvider_CUSTOM_getInstance(), this);
939
927
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
940
928
  return suspendResult;
941
929
  }
@@ -943,11 +931,11 @@
943
931
  }
944
932
 
945
933
  case 3:
946
- this.a6c_1 = suspendResult;
934
+ this.o6b_1 = suspendResult;
947
935
  this.f9_1 = 4;
948
936
  continue $sm;
949
937
  case 4:
950
- return this.a6c_1;
938
+ return this.o6b_1;
951
939
  case 5:
952
940
  throw this.i9_1;
953
941
  }
@@ -963,11 +951,11 @@
963
951
  while (true);
964
952
  };
965
953
  function CardsDealerProviderImpl(random, randomPoolProvider, logger) {
966
- this.u6c_1 = random;
967
- this.v6c_1 = randomPoolProvider;
968
- this.w6c_1 = logger;
954
+ this.i6c_1 = random;
955
+ this.j6c_1 = randomPoolProvider;
956
+ this.k6c_1 = logger;
969
957
  }
970
- protoOf(CardsDealerProviderImpl).a6b = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
958
+ protoOf(CardsDealerProviderImpl).n6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
971
959
  // Inline function 'kotlin.collections.flatMap' call
972
960
  // Inline function 'kotlin.collections.flatMapTo' call
973
961
  var this_0 = get_entries();
@@ -977,7 +965,7 @@
977
965
  var element = tmp0_iterator.l();
978
966
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>' call
979
967
  // Inline function 'kotlin.collections.map' call
980
- var this_1 = getCardsRange(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit);
968
+ var this_1 = this.l6c(leftCardIndexForEachSuit, rightCardIndexForEachSuit);
981
969
  // Inline function 'kotlin.collections.mapTo' call
982
970
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
983
971
  var inductionVariable = this_1.a1_1;
@@ -988,7 +976,7 @@
988
976
  inductionVariable = inductionVariable + 1 | 0;
989
977
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>.<anonymous>' call
990
978
  var it = item;
991
- var tmp$ret$0 = Companion_instance.n6a(element, it);
979
+ var tmp$ret$0 = Companion_instance.a6a(element, it);
992
980
  destination_0.e(tmp$ret$0);
993
981
  }
994
982
  while (!(item === last));
@@ -997,13 +985,28 @@
997
985
  }
998
986
  return destination;
999
987
  };
1000
- protoOf(CardsDealerProviderImpl).b6b = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
988
+ protoOf(CardsDealerProviderImpl).l6c = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
989
+ return until(leftCardIndexForEachSuit, 13 - rightCardIndexForEachSuit | 0);
990
+ };
991
+ protoOf(CardsDealerProviderImpl).u6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
992
+ // Inline function 'kotlin.collections.sumOf' call
993
+ var sum = 0;
994
+ var tmp0_iterator = get_entries().j();
995
+ while (tmp0_iterator.k()) {
996
+ var element = tmp0_iterator.l();
997
+ var tmp = sum;
998
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getCardsCount.<anonymous>' call
999
+ sum = tmp + count(this.l6c(leftCardIndexForEachSuit, rightCardIndexForEachSuit)) | 0;
1000
+ }
1001
+ return sum;
1002
+ };
1003
+ protoOf(CardsDealerProviderImpl).o6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1001
1004
  var tmp = new $createNewShuffledCardDeckCOROUTINE$0(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
1002
1005
  tmp.h9_1 = Unit_instance;
1003
1006
  tmp.i9_1 = null;
1004
1007
  return tmp.n9();
1005
1008
  };
1006
- protoOf(CardsDealerProviderImpl).c6b = function (count, cards) {
1009
+ protoOf(CardsDealerProviderImpl).p6a = function (count, cards) {
1007
1010
  // Inline function 'kotlin.apply' call
1008
1011
  // Inline function 'kotlin.collections.mutableListOf' call
1009
1012
  var this_0 = ArrayList_init_$Create$();
@@ -1037,7 +1040,7 @@
1037
1040
  while (tmp0_iterator.k()) {
1038
1041
  var element = tmp0_iterator.l();
1039
1042
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getNRandomUniqueCards.<anonymous>.<anonymous>' call
1040
- if (element.m6a() === card.m6a()) {
1043
+ if (element.z69() === card.z69()) {
1041
1044
  tmp$ret$2 = true;
1042
1045
  break $l$block_1;
1043
1046
  }
@@ -1052,7 +1055,7 @@
1052
1055
  }
1053
1056
  return this_0;
1054
1057
  };
1055
- protoOf(CardsDealerProviderImpl).d6b = function (cards, times) {
1058
+ protoOf(CardsDealerProviderImpl).q6a = function (cards, times) {
1056
1059
  // Inline function 'kotlin.let' call
1057
1060
  // Inline function 'kotlin.contracts.contract' call
1058
1061
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.standardShuffledCards.<anonymous>' call
@@ -1062,57 +1065,60 @@
1062
1065
  do {
1063
1066
  var i = inductionVariable;
1064
1067
  inductionVariable = inductionVariable + 1 | 0;
1065
- shuffled = this.u6c_1.f60(shuffled);
1068
+ shuffled = this.i6c_1.s5z(shuffled);
1066
1069
  }
1067
1070
  while (inductionVariable < times);
1068
1071
  return shuffled;
1069
1072
  };
1070
- protoOf(CardsDealerProviderImpl).f6b = function (cards, times) {
1071
- return toList(overhand(riffle(toMutableList(cards), times, this.u6c_1), times, this.u6c_1));
1073
+ protoOf(CardsDealerProviderImpl).s6a = function (cards, times) {
1074
+ return toList(overhand(riffle(toMutableList(cards), times, this.i6c_1), times, this.i6c_1));
1072
1075
  };
1073
1076
  function Companion_3() {
1074
1077
  }
1075
- protoOf(Companion_3).x6c = function () {
1078
+ protoOf(Companion_3).m6c = function () {
1076
1079
  // Inline function 'kotlin.apply' call
1077
1080
  // Inline function 'kotlin.collections.mutableListOf' call
1078
1081
  var this_0 = ArrayList_init_$Create$();
1079
1082
  // Inline function 'kotlin.contracts.contract' call
1080
1083
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.Companion.getCards.<anonymous>' call
1081
- this_0.n(listOf([Companion_instance.o6a(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o6a(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.o6a(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o6a(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.o6a(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.o6a(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1082
- this_0.n(listOf([Companion_instance.o6a(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.o6a(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.o6a(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.o6a(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.o6a(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.o6a(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1083
- this_0.n(listOf([Companion_instance.o6a(Suit_CLUB_getInstance(), CardName_DAME_getInstance()), Companion_instance.o6a(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.o6a(Suit_HEART_getInstance(), CardName_DAME_getInstance()), Companion_instance.o6a(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o6a(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o6a(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1084
- this_0.n(listOf([Companion_instance.o6a(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.o6a(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.o6a(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.o6a(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.o6a(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.o6a(Suit_SPADE_getInstance(), CardName_DAME_getInstance())]));
1085
- this_0.n(listOf([Companion_instance.o6a(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.o6a(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.o6a(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.o6a(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.o6a(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.o6a(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.o6a(Suit_DIAMOND_getInstance(), CardName_DAME_getInstance()), Companion_instance.o6a(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1084
+ this_0.n(listOf([Companion_instance.b6a(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b6a(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.b6a(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b6a(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.b6a(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.b6a(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1085
+ this_0.n(listOf([Companion_instance.b6a(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.b6a(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.b6a(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.b6a(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.b6a(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.b6a(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1086
+ this_0.n(listOf([Companion_instance.b6a(Suit_CLUB_getInstance(), CardName_DAME_getInstance()), Companion_instance.b6a(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.b6a(Suit_HEART_getInstance(), CardName_DAME_getInstance()), Companion_instance.b6a(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b6a(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b6a(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1087
+ this_0.n(listOf([Companion_instance.b6a(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.b6a(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.b6a(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.b6a(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.b6a(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.b6a(Suit_SPADE_getInstance(), CardName_DAME_getInstance())]));
1088
+ this_0.n(listOf([Companion_instance.b6a(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.b6a(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.b6a(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.b6a(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.b6a(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.b6a(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.b6a(Suit_DIAMOND_getInstance(), CardName_DAME_getInstance()), Companion_instance.b6a(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1086
1089
  return this_0;
1087
1090
  };
1088
- protoOf(Companion_3).y6c = function () {
1089
- return listOf([Companion_instance.o6a(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o6a(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o6a(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.o6a(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1091
+ protoOf(Companion_3).n6c = function () {
1092
+ return listOf([Companion_instance.b6a(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b6a(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b6a(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b6a(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1090
1093
  };
1091
1094
  var Companion_instance_3;
1092
1095
  function Companion_getInstance_3() {
1093
1096
  return Companion_instance_3;
1094
1097
  }
1095
1098
  function FakeCardsDealerProvider(cards, cardsForLot) {
1096
- cards = cards === VOID ? Companion_instance_3.x6c() : cards;
1097
- cardsForLot = cardsForLot === VOID ? Companion_instance_3.y6c() : cardsForLot;
1098
- this.z6c_1 = cards;
1099
- this.a6d_1 = cardsForLot;
1099
+ cards = cards === VOID ? Companion_instance_3.m6c() : cards;
1100
+ cardsForLot = cardsForLot === VOID ? Companion_instance_3.n6c() : cardsForLot;
1101
+ this.o6c_1 = cards;
1102
+ this.p6c_1 = cardsForLot;
1100
1103
  }
1101
- protoOf(FakeCardsDealerProvider).a6b = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1102
- return this.z6c_1;
1104
+ protoOf(FakeCardsDealerProvider).n6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1105
+ return this.o6c_1;
1103
1106
  };
1104
- protoOf(FakeCardsDealerProvider).b6b = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1105
- return this.z6c_1;
1107
+ protoOf(FakeCardsDealerProvider).o6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1108
+ return this.o6c_1;
1106
1109
  };
1107
- protoOf(FakeCardsDealerProvider).c6b = function (count, cards) {
1108
- return this.a6d_1;
1110
+ protoOf(FakeCardsDealerProvider).p6a = function (count, cards) {
1111
+ return this.p6c_1;
1109
1112
  };
1110
- protoOf(FakeCardsDealerProvider).d6b = function (cards, times) {
1113
+ protoOf(FakeCardsDealerProvider).q6a = function (cards, times) {
1111
1114
  return cards;
1112
1115
  };
1113
- protoOf(FakeCardsDealerProvider).f6b = function (cards, times) {
1116
+ protoOf(FakeCardsDealerProvider).s6a = function (cards, times) {
1114
1117
  return cards;
1115
1118
  };
1119
+ protoOf(FakeCardsDealerProvider).u6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1120
+ return this.o6c_1.m();
1121
+ };
1116
1122
  function CombinationsCheckerProvider() {
1117
1123
  }
1118
1124
  function createCombination($this, cards, supportedCombinations) {
@@ -1139,16 +1145,16 @@
1139
1145
  return takeLast(cards, longestCombinationSupport);
1140
1146
  }
1141
1147
  function sam$kotlin_Comparator$0(function_0) {
1142
- this.g6d_1 = function_0;
1148
+ this.v6c_1 = function_0;
1143
1149
  }
1144
1150
  protoOf(sam$kotlin_Comparator$0).nc = function (a, b) {
1145
- return this.g6d_1(a, b);
1151
+ return this.v6c_1(a, b);
1146
1152
  };
1147
1153
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
1148
1154
  return this.nc(a, b);
1149
1155
  };
1150
1156
  protoOf(sam$kotlin_Comparator$0).p3 = function () {
1151
- return this.g6d_1;
1157
+ return this.v6c_1;
1152
1158
  };
1153
1159
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
1154
1160
  var tmp;
@@ -1171,14 +1177,14 @@
1171
1177
  function CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda(a, b) {
1172
1178
  // Inline function 'kotlin.comparisons.compareValuesBy' call
1173
1179
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1174
- var tmp = first_0(a).i6a_1;
1180
+ var tmp = first_0(a).v69_1;
1175
1181
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1176
- var tmp$ret$1 = first_0(b).i6a_1;
1182
+ var tmp$ret$1 = first_0(b).v69_1;
1177
1183
  return compareValues(tmp, tmp$ret$1);
1178
1184
  }
1179
1185
  function CombinationsCheckerProviderImpl() {
1180
1186
  }
1181
- protoOf(CombinationsCheckerProviderImpl).b6d = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1187
+ protoOf(CombinationsCheckerProviderImpl).q6c = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1182
1188
  // Inline function 'kotlin.collections.filter' call
1183
1189
  // Inline function 'kotlin.apply' call
1184
1190
  var this_0 = toMutableList(cards);
@@ -1191,7 +1197,7 @@
1191
1197
  while (tmp0_iterator.k()) {
1192
1198
  var element = tmp0_iterator.l();
1193
1199
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
1194
- if (element.k6a()) {
1200
+ if (element.x69()) {
1195
1201
  destination.e(element);
1196
1202
  }
1197
1203
  }
@@ -1208,14 +1214,14 @@
1208
1214
  inductionVariable = inductionVariable + 1 | 0;
1209
1215
  var previousCard = lastOrNull(combinationCards);
1210
1216
  var currentCard = sortedByIndexCards.o(i);
1211
- var isNextInRow = !(previousCard == null) && currentCard.i6a_1 === (previousCard.i6a_1 + 1 | 0) && currentCard.l6a().equals(previousCard.l6a());
1217
+ var isNextInRow = !(previousCard == null) && currentCard.v69_1 === (previousCard.v69_1 + 1 | 0) && currentCard.y69().equals(previousCard.y69());
1212
1218
  var passedCardNamesCheck = includeCardNames == null || includeCardNames.s1(currentCard.p2());
1213
- var passedSuitCheck = suit == null || currentCard.l6a().equals(suit);
1219
+ var passedSuitCheck = suit == null || currentCard.y69().equals(suit);
1214
1220
  if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
1215
1221
  combinationCards.e(currentCard);
1216
1222
  } else {
1217
1223
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1218
- combinations.n(this.f6d(toMutableList(combinationCards), supportedCombinations));
1224
+ combinations.n(this.u6c(toMutableList(combinationCards), supportedCombinations));
1219
1225
  }
1220
1226
  combinationCards.a2();
1221
1227
  if (passedSuitCheck && passedCardNamesCheck) {
@@ -1225,11 +1231,11 @@
1225
1231
  }
1226
1232
  while (inductionVariable <= last);
1227
1233
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1228
- combinations.n(this.f6d(toMutableList(combinationCards), supportedCombinations));
1234
+ combinations.n(this.u6c(toMutableList(combinationCards), supportedCombinations));
1229
1235
  }
1230
1236
  return combinations;
1231
1237
  };
1232
- protoOf(CombinationsCheckerProviderImpl).d6d = function (cards, cardsCount, includeCardNames) {
1238
+ protoOf(CombinationsCheckerProviderImpl).s6c = function (cards, cardsCount, includeCardNames) {
1233
1239
  // Inline function 'kotlin.collections.filter' call
1234
1240
  // Inline function 'kotlin.collections.filter' call
1235
1241
  // Inline function 'kotlin.apply' call
@@ -1243,7 +1249,7 @@
1243
1249
  while (tmp0_iterator.k()) {
1244
1250
  var element = tmp0_iterator.l();
1245
1251
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1246
- if (element.k6a()) {
1252
+ if (element.x69()) {
1247
1253
  destination.e(element);
1248
1254
  }
1249
1255
  }
@@ -1266,7 +1272,7 @@
1266
1272
  while (tmp0_iterator_1.k()) {
1267
1273
  var element_1 = tmp0_iterator_1.l();
1268
1274
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1269
- var key = element_1.m6a();
1275
+ var key = element_1.z69();
1270
1276
  // Inline function 'kotlin.collections.getOrPut' call
1271
1277
  var value = destination_1.h2(key);
1272
1278
  var tmp;
@@ -1305,7 +1311,7 @@
1305
1311
  }
1306
1312
  return destination_3;
1307
1313
  };
1308
- protoOf(CombinationsCheckerProviderImpl).f6d = function (cards, supportedCombinations) {
1314
+ protoOf(CombinationsCheckerProviderImpl).u6c = function (cards, supportedCombinations) {
1309
1315
  // Inline function 'kotlin.collections.minOf' call
1310
1316
  var iterator = supportedCombinations.j();
1311
1317
  if (!iterator.k())
@@ -1335,28 +1341,28 @@
1335
1341
  return sortedWith(combinations, tmp$ret$4);
1336
1342
  };
1337
1343
  function DealerReducerImpl(logger, enableLogs) {
1338
- this.h6d_1 = logger;
1339
- this.i6d_1 = enableLogs;
1344
+ this.w6c_1 = logger;
1345
+ this.x6c_1 = enableLogs;
1340
1346
  }
1341
- protoOf(DealerReducerImpl).j6d = function (cards, cardsToRemove) {
1347
+ protoOf(DealerReducerImpl).y6c = function (cards, cardsToRemove) {
1342
1348
  var list = cards;
1343
1349
  var _iterator__ex2g4s = cardsToRemove.j();
1344
1350
  while (_iterator__ex2g4s.k()) {
1345
1351
  var gameCard = _iterator__ex2g4s.l();
1346
- list = this.k6d(list, gameCard);
1352
+ list = this.z6c(list, gameCard);
1347
1353
  }
1348
1354
  return list;
1349
1355
  };
1350
- protoOf(DealerReducerImpl).k6d = function (cards, cardToRemove) {
1356
+ protoOf(DealerReducerImpl).z6c = function (cards, cardToRemove) {
1351
1357
  var tmp;
1352
- if (!cardToRemove.r6a() && cards.s1(cardToRemove)) {
1353
- if (this.i6d_1) {
1354
- this.h6d_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1358
+ if (!cardToRemove.e6a() && cards.s1(cardToRemove)) {
1359
+ if (this.x6c_1) {
1360
+ this.w6c_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1355
1361
  }
1356
1362
  tmp = minus(cards, cardToRemove);
1357
1363
  } else {
1358
- if (this.i6d_1) {
1359
- this.h6d_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1364
+ if (this.x6c_1) {
1365
+ this.w6c_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1360
1366
  }
1361
1367
  // Inline function 'kotlin.collections.filterNot' call
1362
1368
  // Inline function 'kotlin.collections.filterNotTo' call
@@ -1365,7 +1371,7 @@
1365
1371
  while (tmp0_iterator.k()) {
1366
1372
  var element = tmp0_iterator.l();
1367
1373
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1368
- if (!element.r6a()) {
1374
+ if (!element.e6a()) {
1369
1375
  destination.e(element);
1370
1376
  }
1371
1377
  }
@@ -1377,36 +1383,36 @@
1377
1383
  while (tmp0_iterator_0.k()) {
1378
1384
  var element_0 = tmp0_iterator_0.l();
1379
1385
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1380
- if (element_0.r6a()) {
1386
+ if (element_0.e6a()) {
1381
1387
  destination_0.e(element_0);
1382
1388
  }
1383
1389
  }
1384
1390
  var stubCards = destination_0;
1385
1391
  if (stubCards.p()) {
1386
- this.h6d_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1392
+ this.w6c_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1387
1393
  }
1388
1394
  tmp = plus(notStubCards, dropLast(stubCards, 1));
1389
1395
  }
1390
1396
  return tmp;
1391
1397
  };
1392
- protoOf(DealerReducerImpl).l6d = function (cards, cardToAdd) {
1393
- if (this.i6d_1) {
1394
- this.h6d_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1398
+ protoOf(DealerReducerImpl).a6d = function (cards, cardToAdd) {
1399
+ if (this.x6c_1) {
1400
+ this.w6c_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1395
1401
  }
1396
1402
  if (cards.s1(cardToAdd)) {
1397
- this.h6d_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1403
+ this.w6c_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1398
1404
  }
1399
1405
  return plus_0(cards, cardToAdd);
1400
1406
  };
1401
1407
  function DealerReducer() {
1402
1408
  }
1403
1409
  //region block: post-declaration
1404
- protoOf(CardsDealerProviderImpl).e6b = standardShuffledCards$default;
1405
- protoOf(CardsDealerProviderImpl).g6b = realLifeShuffledCards$default;
1406
- protoOf(FakeCardsDealerProvider).e6b = standardShuffledCards$default;
1407
- protoOf(FakeCardsDealerProvider).g6b = realLifeShuffledCards$default;
1408
- protoOf(CombinationsCheckerProviderImpl).c6d = findCardsInRowCombinations$default;
1409
- protoOf(CombinationsCheckerProviderImpl).e6d = findSameCardsNumberCombinations$default;
1410
+ protoOf(CardsDealerProviderImpl).r6a = standardShuffledCards$default;
1411
+ protoOf(CardsDealerProviderImpl).t6a = realLifeShuffledCards$default;
1412
+ protoOf(FakeCardsDealerProvider).r6a = standardShuffledCards$default;
1413
+ protoOf(FakeCardsDealerProvider).t6a = realLifeShuffledCards$default;
1414
+ protoOf(CombinationsCheckerProviderImpl).r6c = findCardsInRowCombinations$default;
1415
+ protoOf(CombinationsCheckerProviderImpl).t6c = findSameCardsNumberCombinations$default;
1410
1416
  //endregion
1411
1417
  //region block: init
1412
1418
  CoreConfig_instance = new CoreConfig();