game_client_logic_deb 1.8.431 → 1.8.433
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kosi-Kaverit-kaverit.js +2 -2
- package/Kosi-Kodein-kodein-di.js +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime.js +152 -152
- package/Logic_Debertz-ai_module.js +193 -193
- package/Logic_Debertz-core.js +500 -500
- package/Logic_Debertz-engine.js +3703 -3642
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +16 -0
- package/Logic_Debertz-game_client.js +2535 -2535
- package/kotlin-kotlin-stdlib.js +556 -550
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-coroutines-core.js +2134 -2134
- package/kotlinx-io-kotlinx-io-core.js +314 -314
- package/kotlinx-serialization-kotlinx-serialization-core.js +1739 -1739
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1316 -1316
- package/ktor-ktor-client-content-negotiation.js +123 -123
- package/ktor-ktor-client-core.js +1442 -1442
- package/ktor-ktor-client-logging.js +265 -265
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +590 -590
- package/ktor-ktor-io.js +1241 -1241
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +132 -132
- package/ktor-ktor-serialization.js +61 -61
- package/ktor-ktor-utils.js +483 -483
- package/ktor-ktor-websockets.js +42 -42
- package/package.json +1 -1
- package/random-library-crypto-rand.js +1 -1
- package/random-library-secure-random.js +2 -2
- package/raspberry-cardgame-lib-core.js +7 -7
- package/raspberry-cardgame-lib-logger.js +90 -90
- package/raspberry-cardgame-lib-random.js +756 -756
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +12 -12
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
cardsCount = cardsCount === VOID ? 52 : cardsCount;
|
|
205
205
|
signed = signed === VOID ? false : signed;
|
|
206
206
|
requestDurationWarnMillis = requestDurationWarnMillis === VOID ? new Long(3000, 0) : requestDurationWarnMillis;
|
|
207
|
-
return $super === VOID ? this.
|
|
207
|
+
return $super === VOID ? this.k57(minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) : $super.k57.call(this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion);
|
|
208
208
|
}
|
|
209
209
|
initMetadataForInterface(RandomPoolProvider, 'RandomPoolProvider', VOID, VOID, VOID, [7, 5]);
|
|
210
210
|
initMetadataForCompanion(Companion_9);
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
initMetadataForObject(HttpFactory, 'HttpFactory');
|
|
239
239
|
//endregion
|
|
240
240
|
function Companion() {
|
|
241
|
-
this.
|
|
241
|
+
this.w52_1 = 100001;
|
|
242
242
|
}
|
|
243
243
|
var Companion_instance_1;
|
|
244
244
|
function Companion_getInstance_2() {
|
|
@@ -249,16 +249,16 @@
|
|
|
249
249
|
cause = cause === VOID ? null : cause;
|
|
250
250
|
RuntimeException_init_$Init$(message, cause, this);
|
|
251
251
|
captureStack(this, RandomException);
|
|
252
|
-
this.
|
|
252
|
+
this.x52_1 = code;
|
|
253
253
|
}
|
|
254
254
|
function CardDecksRequestUserData(id, count) {
|
|
255
255
|
this.id = id;
|
|
256
256
|
this.count = count;
|
|
257
257
|
}
|
|
258
|
-
protoOf(CardDecksRequestUserData).
|
|
258
|
+
protoOf(CardDecksRequestUserData).y52 = function () {
|
|
259
259
|
return this.id;
|
|
260
260
|
};
|
|
261
|
-
protoOf(CardDecksRequestUserData).
|
|
261
|
+
protoOf(CardDecksRequestUserData).z52 = function () {
|
|
262
262
|
return this.count;
|
|
263
263
|
};
|
|
264
264
|
protoOf(CardDecksRequestUserData).oe = function () {
|
|
@@ -267,13 +267,13 @@
|
|
|
267
267
|
protoOf(CardDecksRequestUserData).pe = function () {
|
|
268
268
|
return this.count;
|
|
269
269
|
};
|
|
270
|
-
protoOf(CardDecksRequestUserData).
|
|
270
|
+
protoOf(CardDecksRequestUserData).a53 = function (id, count) {
|
|
271
271
|
return new CardDecksRequestUserData(id, count);
|
|
272
272
|
};
|
|
273
273
|
protoOf(CardDecksRequestUserData).copy = function (id, count, $super) {
|
|
274
274
|
id = id === VOID ? this.id : id;
|
|
275
275
|
count = count === VOID ? this.count : count;
|
|
276
|
-
return $super === VOID ? this.
|
|
276
|
+
return $super === VOID ? this.a53(id, count) : $super.a53.call(this, id, count);
|
|
277
277
|
};
|
|
278
278
|
protoOf(CardDecksRequestUserData).toString = function () {
|
|
279
279
|
return 'CardDecksRequestUserData(id=' + this.id + ', count=' + this.count + ')';
|
|
@@ -299,10 +299,10 @@
|
|
|
299
299
|
this.players = players;
|
|
300
300
|
this.gameId = gameId;
|
|
301
301
|
}
|
|
302
|
-
protoOf(CardDeckRequestUserData).
|
|
302
|
+
protoOf(CardDeckRequestUserData).b53 = function () {
|
|
303
303
|
return this.players;
|
|
304
304
|
};
|
|
305
|
-
protoOf(CardDeckRequestUserData).
|
|
305
|
+
protoOf(CardDeckRequestUserData).c53 = function () {
|
|
306
306
|
return this.gameId;
|
|
307
307
|
};
|
|
308
308
|
protoOf(CardDeckRequestUserData).oe = function () {
|
|
@@ -311,13 +311,13 @@
|
|
|
311
311
|
protoOf(CardDeckRequestUserData).pe = function () {
|
|
312
312
|
return this.gameId;
|
|
313
313
|
};
|
|
314
|
-
protoOf(CardDeckRequestUserData).
|
|
314
|
+
protoOf(CardDeckRequestUserData).d53 = function (players, gameId) {
|
|
315
315
|
return new CardDeckRequestUserData(players, gameId);
|
|
316
316
|
};
|
|
317
317
|
protoOf(CardDeckRequestUserData).copy = function (players, gameId, $super) {
|
|
318
318
|
players = players === VOID ? this.players : players;
|
|
319
319
|
gameId = gameId === VOID ? this.gameId : gameId;
|
|
320
|
-
return $super === VOID ? this.
|
|
320
|
+
return $super === VOID ? this.d53(players, gameId) : $super.d53.call(this, players, gameId);
|
|
321
321
|
};
|
|
322
322
|
protoOf(CardDeckRequestUserData).toString = function () {
|
|
323
323
|
return 'CardDeckRequestUserData(players=' + toString(this.players) + ', gameId=' + this.gameId + ')';
|
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
this.id = id;
|
|
344
344
|
this.name = name;
|
|
345
345
|
}
|
|
346
|
-
protoOf(UserInfoData).
|
|
346
|
+
protoOf(UserInfoData).y52 = function () {
|
|
347
347
|
return this.id;
|
|
348
348
|
};
|
|
349
349
|
protoOf(UserInfoData).r2 = function () {
|
|
@@ -355,13 +355,13 @@
|
|
|
355
355
|
protoOf(UserInfoData).pe = function () {
|
|
356
356
|
return this.name;
|
|
357
357
|
};
|
|
358
|
-
protoOf(UserInfoData).
|
|
358
|
+
protoOf(UserInfoData).e53 = function (id, name) {
|
|
359
359
|
return new UserInfoData(id, name);
|
|
360
360
|
};
|
|
361
361
|
protoOf(UserInfoData).copy = function (id, name, $super) {
|
|
362
362
|
id = id === VOID ? this.id : id;
|
|
363
363
|
name = name === VOID ? this.name : name;
|
|
364
|
-
return $super === VOID ? this.
|
|
364
|
+
return $super === VOID ? this.e53(id, name) : $super.e53.call(this, id, name);
|
|
365
365
|
};
|
|
366
366
|
protoOf(UserInfoData).toString = function () {
|
|
367
367
|
return 'UserInfoData(id=' + this.id + ', name=' + this.name + ')';
|
|
@@ -384,19 +384,19 @@
|
|
|
384
384
|
return true;
|
|
385
385
|
};
|
|
386
386
|
function CardDeckResult(cardDecks, responseText, id, signature) {
|
|
387
|
-
this.
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
387
|
+
this.f53_1 = cardDecks;
|
|
388
|
+
this.g53_1 = responseText;
|
|
389
|
+
this.h53_1 = id;
|
|
390
|
+
this.i53_1 = signature;
|
|
391
391
|
}
|
|
392
392
|
protoOf(CardDeckResult).toString = function () {
|
|
393
|
-
return 'CardDeckResult(cardDecks=' + toString(this.
|
|
393
|
+
return 'CardDeckResult(cardDecks=' + toString(this.f53_1) + ', responseText=' + this.g53_1 + ', id=' + this.h53_1 + ', signature=' + this.i53_1 + ')';
|
|
394
394
|
};
|
|
395
395
|
protoOf(CardDeckResult).hashCode = function () {
|
|
396
|
-
var result = hashCode(this.
|
|
397
|
-
result = imul(result, 31) + getStringHashCode(this.f53_1) | 0;
|
|
396
|
+
var result = hashCode(this.f53_1);
|
|
398
397
|
result = imul(result, 31) + getStringHashCode(this.g53_1) | 0;
|
|
399
|
-
result = imul(result, 31) +
|
|
398
|
+
result = imul(result, 31) + getStringHashCode(this.h53_1) | 0;
|
|
399
|
+
result = imul(result, 31) + (this.i53_1 == null ? 0 : getStringHashCode(this.i53_1)) | 0;
|
|
400
400
|
return result;
|
|
401
401
|
};
|
|
402
402
|
protoOf(CardDeckResult).equals = function (other) {
|
|
@@ -405,13 +405,13 @@
|
|
|
405
405
|
if (!(other instanceof CardDeckResult))
|
|
406
406
|
return false;
|
|
407
407
|
var tmp0_other_with_cast = other instanceof CardDeckResult ? other : THROW_CCE();
|
|
408
|
-
if (!equals(this.
|
|
409
|
-
return false;
|
|
410
|
-
if (!(this.f53_1 === tmp0_other_with_cast.f53_1))
|
|
408
|
+
if (!equals(this.f53_1, tmp0_other_with_cast.f53_1))
|
|
411
409
|
return false;
|
|
412
410
|
if (!(this.g53_1 === tmp0_other_with_cast.g53_1))
|
|
413
411
|
return false;
|
|
414
|
-
if (!(this.h53_1
|
|
412
|
+
if (!(this.h53_1 === tmp0_other_with_cast.h53_1))
|
|
413
|
+
return false;
|
|
414
|
+
if (!(this.i53_1 == tmp0_other_with_cast.i53_1))
|
|
415
415
|
return false;
|
|
416
416
|
return true;
|
|
417
417
|
};
|
|
@@ -434,16 +434,16 @@
|
|
|
434
434
|
this.userData = userData;
|
|
435
435
|
this.rounds = rounds;
|
|
436
436
|
}
|
|
437
|
-
protoOf(GameCardDecksRecord).
|
|
437
|
+
protoOf(GameCardDecksRecord).j53 = function () {
|
|
438
438
|
return this.poolId;
|
|
439
439
|
};
|
|
440
|
-
protoOf(GameCardDecksRecord).
|
|
440
|
+
protoOf(GameCardDecksRecord).k53 = function () {
|
|
441
441
|
return this.signature;
|
|
442
442
|
};
|
|
443
|
-
protoOf(GameCardDecksRecord).
|
|
443
|
+
protoOf(GameCardDecksRecord).l53 = function () {
|
|
444
444
|
return this.userData;
|
|
445
445
|
};
|
|
446
|
-
protoOf(GameCardDecksRecord).
|
|
446
|
+
protoOf(GameCardDecksRecord).m53 = function () {
|
|
447
447
|
return this.rounds;
|
|
448
448
|
};
|
|
449
449
|
protoOf(GameCardDecksRecord).oe = function () {
|
|
@@ -452,13 +452,13 @@
|
|
|
452
452
|
protoOf(GameCardDecksRecord).pe = function () {
|
|
453
453
|
return this.signature;
|
|
454
454
|
};
|
|
455
|
-
protoOf(GameCardDecksRecord).
|
|
455
|
+
protoOf(GameCardDecksRecord).yl = function () {
|
|
456
456
|
return this.userData;
|
|
457
457
|
};
|
|
458
|
-
protoOf(GameCardDecksRecord).
|
|
458
|
+
protoOf(GameCardDecksRecord).n53 = function () {
|
|
459
459
|
return this.rounds;
|
|
460
460
|
};
|
|
461
|
-
protoOf(GameCardDecksRecord).
|
|
461
|
+
protoOf(GameCardDecksRecord).o53 = function (poolId, signature, userData, rounds) {
|
|
462
462
|
return new GameCardDecksRecord(poolId, signature, userData, rounds);
|
|
463
463
|
};
|
|
464
464
|
protoOf(GameCardDecksRecord).copy = function (poolId, signature, userData, rounds, $super) {
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
signature = signature === VOID ? this.signature : signature;
|
|
467
467
|
userData = userData === VOID ? this.userData : userData;
|
|
468
468
|
rounds = rounds === VOID ? this.rounds : rounds;
|
|
469
|
-
return $super === VOID ? this.
|
|
469
|
+
return $super === VOID ? this.o53(poolId, signature, userData, rounds) : $super.o53.call(this, poolId, signature, userData, rounds);
|
|
470
470
|
};
|
|
471
471
|
protoOf(GameCardDecksRecord).toString = function () {
|
|
472
472
|
return 'GameCardDecksRecord(poolId=' + this.poolId + ', signature=' + this.signature + ', userData=' + this.userData.toString() + ', rounds=' + toString(this.rounds) + ')';
|
|
@@ -498,10 +498,10 @@
|
|
|
498
498
|
this.cardDeckIndex = cardDeckIndex;
|
|
499
499
|
this.cards = cards;
|
|
500
500
|
}
|
|
501
|
-
protoOf(GameCardDeckData).
|
|
501
|
+
protoOf(GameCardDeckData).p53 = function () {
|
|
502
502
|
return this.cardDeckIndex;
|
|
503
503
|
};
|
|
504
|
-
protoOf(GameCardDeckData).
|
|
504
|
+
protoOf(GameCardDeckData).q53 = function () {
|
|
505
505
|
return this.cards;
|
|
506
506
|
};
|
|
507
507
|
protoOf(GameCardDeckData).oe = function () {
|
|
@@ -510,13 +510,13 @@
|
|
|
510
510
|
protoOf(GameCardDeckData).pe = function () {
|
|
511
511
|
return this.cards;
|
|
512
512
|
};
|
|
513
|
-
protoOf(GameCardDeckData).
|
|
513
|
+
protoOf(GameCardDeckData).r53 = function (cardDeckIndex, cards) {
|
|
514
514
|
return new GameCardDeckData(cardDeckIndex, cards);
|
|
515
515
|
};
|
|
516
516
|
protoOf(GameCardDeckData).copy = function (cardDeckIndex, cards, $super) {
|
|
517
517
|
cardDeckIndex = cardDeckIndex === VOID ? this.cardDeckIndex : cardDeckIndex;
|
|
518
518
|
cards = cards === VOID ? this.cards : cards;
|
|
519
|
-
return $super === VOID ? this.
|
|
519
|
+
return $super === VOID ? this.r53(cardDeckIndex, cards) : $super.r53.call(this, cardDeckIndex, cards);
|
|
520
520
|
};
|
|
521
521
|
protoOf(GameCardDeckData).toString = function () {
|
|
522
522
|
return 'GameCardDeckData(cardDeckIndex=' + this.cardDeckIndex + ', cards=' + toString(this.cards) + ')';
|
|
@@ -543,10 +543,10 @@
|
|
|
543
543
|
this.baseUrl = baseUrl;
|
|
544
544
|
this.timeoutMillis = timeoutMillis;
|
|
545
545
|
}
|
|
546
|
-
protoOf(HttpConfig).
|
|
546
|
+
protoOf(HttpConfig).s53 = function () {
|
|
547
547
|
return this.baseUrl;
|
|
548
548
|
};
|
|
549
|
-
protoOf(HttpConfig).
|
|
549
|
+
protoOf(HttpConfig).t53 = function () {
|
|
550
550
|
return this.timeoutMillis;
|
|
551
551
|
};
|
|
552
552
|
protoOf(HttpConfig).oe = function () {
|
|
@@ -555,13 +555,13 @@
|
|
|
555
555
|
protoOf(HttpConfig).pe = function () {
|
|
556
556
|
return this.timeoutMillis;
|
|
557
557
|
};
|
|
558
|
-
protoOf(HttpConfig).
|
|
558
|
+
protoOf(HttpConfig).a53 = function (baseUrl, timeoutMillis) {
|
|
559
559
|
return new HttpConfig(baseUrl, timeoutMillis);
|
|
560
560
|
};
|
|
561
561
|
protoOf(HttpConfig).copy = function (baseUrl, timeoutMillis, $super) {
|
|
562
562
|
baseUrl = baseUrl === VOID ? this.baseUrl : baseUrl;
|
|
563
563
|
timeoutMillis = timeoutMillis === VOID ? this.timeoutMillis : timeoutMillis;
|
|
564
|
-
return $super === VOID ? this.
|
|
564
|
+
return $super === VOID ? this.a53(baseUrl, timeoutMillis) : $super.a53.call(this, baseUrl, timeoutMillis);
|
|
565
565
|
};
|
|
566
566
|
protoOf(HttpConfig).toString = function () {
|
|
567
567
|
return 'HttpConfig(baseUrl=' + this.baseUrl + ', timeoutMillis=' + this.timeoutMillis + ')';
|
|
@@ -596,16 +596,16 @@
|
|
|
596
596
|
this.thresholdForUsedPool = thresholdForUsedPool;
|
|
597
597
|
this.httpConfig = httpConfig;
|
|
598
598
|
}
|
|
599
|
-
protoOf(RandomOrgConfig).
|
|
599
|
+
protoOf(RandomOrgConfig).u53 = function () {
|
|
600
600
|
return this.apiKey;
|
|
601
601
|
};
|
|
602
|
-
protoOf(RandomOrgConfig).
|
|
602
|
+
protoOf(RandomOrgConfig).v53 = function () {
|
|
603
603
|
return this.poolSize;
|
|
604
604
|
};
|
|
605
|
-
protoOf(RandomOrgConfig).
|
|
605
|
+
protoOf(RandomOrgConfig).w53 = function () {
|
|
606
606
|
return this.thresholdForUsedPool;
|
|
607
607
|
};
|
|
608
|
-
protoOf(RandomOrgConfig).
|
|
608
|
+
protoOf(RandomOrgConfig).x53 = function () {
|
|
609
609
|
return this.httpConfig;
|
|
610
610
|
};
|
|
611
611
|
protoOf(RandomOrgConfig).oe = function () {
|
|
@@ -614,13 +614,13 @@
|
|
|
614
614
|
protoOf(RandomOrgConfig).pe = function () {
|
|
615
615
|
return this.poolSize;
|
|
616
616
|
};
|
|
617
|
-
protoOf(RandomOrgConfig).
|
|
617
|
+
protoOf(RandomOrgConfig).yl = function () {
|
|
618
618
|
return this.thresholdForUsedPool;
|
|
619
619
|
};
|
|
620
|
-
protoOf(RandomOrgConfig).
|
|
620
|
+
protoOf(RandomOrgConfig).n53 = function () {
|
|
621
621
|
return this.httpConfig;
|
|
622
622
|
};
|
|
623
|
-
protoOf(RandomOrgConfig).
|
|
623
|
+
protoOf(RandomOrgConfig).y53 = function (apiKey, poolSize, thresholdForUsedPool, httpConfig) {
|
|
624
624
|
return new RandomOrgConfig(apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
625
625
|
};
|
|
626
626
|
protoOf(RandomOrgConfig).copy = function (apiKey, poolSize, thresholdForUsedPool, httpConfig, $super) {
|
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
poolSize = poolSize === VOID ? this.poolSize : poolSize;
|
|
629
629
|
thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
|
|
630
630
|
httpConfig = httpConfig === VOID ? this.httpConfig : httpConfig;
|
|
631
|
-
return $super === VOID ? this.
|
|
631
|
+
return $super === VOID ? this.y53(apiKey, poolSize, thresholdForUsedPool, httpConfig) : $super.y53.call(this, apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
632
632
|
};
|
|
633
633
|
protoOf(RandomOrgConfig).toString = function () {
|
|
634
634
|
return 'RandomOrgConfig(apiKey=' + this.apiKey + ', poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', httpConfig=' + this.httpConfig.toString() + ')';
|
|
@@ -665,59 +665,59 @@
|
|
|
665
665
|
function $serializer() {
|
|
666
666
|
$serializer_instance = this;
|
|
667
667
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.ErrorResponseDto', this, 2);
|
|
668
|
-
tmp0_serialDesc.
|
|
669
|
-
tmp0_serialDesc.
|
|
670
|
-
this.
|
|
671
|
-
}
|
|
672
|
-
protoOf($serializer).
|
|
673
|
-
var tmp0_desc = this.
|
|
674
|
-
var tmp1_output = encoder.
|
|
675
|
-
tmp1_output.
|
|
676
|
-
tmp1_output.
|
|
677
|
-
tmp1_output.
|
|
678
|
-
};
|
|
679
|
-
protoOf($serializer).
|
|
680
|
-
return this.
|
|
681
|
-
};
|
|
682
|
-
protoOf($serializer).
|
|
683
|
-
var tmp0_desc = this.
|
|
668
|
+
tmp0_serialDesc.hz('jsonrpc', false);
|
|
669
|
+
tmp0_serialDesc.hz('error', false);
|
|
670
|
+
this.z53_1 = tmp0_serialDesc;
|
|
671
|
+
}
|
|
672
|
+
protoOf($serializer).a54 = function (encoder, value) {
|
|
673
|
+
var tmp0_desc = this.z53_1;
|
|
674
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
675
|
+
tmp1_output.et(tmp0_desc, 0, value.b54_1);
|
|
676
|
+
tmp1_output.it(tmp0_desc, 1, $serializer_getInstance_0(), value.c54_1);
|
|
677
|
+
tmp1_output.qr(tmp0_desc);
|
|
678
|
+
};
|
|
679
|
+
protoOf($serializer).do = function (encoder, value) {
|
|
680
|
+
return this.a54(encoder, value instanceof ErrorResponseDto ? value : THROW_CCE());
|
|
681
|
+
};
|
|
682
|
+
protoOf($serializer).eo = function (decoder) {
|
|
683
|
+
var tmp0_desc = this.z53_1;
|
|
684
684
|
var tmp1_flag = true;
|
|
685
685
|
var tmp2_index = 0;
|
|
686
686
|
var tmp3_bitMask0 = 0;
|
|
687
687
|
var tmp4_local0 = null;
|
|
688
688
|
var tmp5_local1 = null;
|
|
689
|
-
var tmp6_input = decoder.
|
|
690
|
-
if (tmp6_input.
|
|
691
|
-
tmp4_local0 = tmp6_input.
|
|
689
|
+
var tmp6_input = decoder.pr(tmp0_desc);
|
|
690
|
+
if (tmp6_input.fs()) {
|
|
691
|
+
tmp4_local0 = tmp6_input.zr(tmp0_desc, 0);
|
|
692
692
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
693
|
-
tmp5_local1 = tmp6_input.
|
|
693
|
+
tmp5_local1 = tmp6_input.ds(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
694
694
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
695
695
|
} else
|
|
696
696
|
while (tmp1_flag) {
|
|
697
|
-
tmp2_index = tmp6_input.
|
|
697
|
+
tmp2_index = tmp6_input.gs(tmp0_desc);
|
|
698
698
|
switch (tmp2_index) {
|
|
699
699
|
case -1:
|
|
700
700
|
tmp1_flag = false;
|
|
701
701
|
break;
|
|
702
702
|
case 0:
|
|
703
|
-
tmp4_local0 = tmp6_input.
|
|
703
|
+
tmp4_local0 = tmp6_input.zr(tmp0_desc, 0);
|
|
704
704
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
705
705
|
break;
|
|
706
706
|
case 1:
|
|
707
|
-
tmp5_local1 = tmp6_input.
|
|
707
|
+
tmp5_local1 = tmp6_input.ds(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
708
708
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
709
709
|
break;
|
|
710
710
|
default:
|
|
711
711
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
tmp6_input.
|
|
714
|
+
tmp6_input.qr(tmp0_desc);
|
|
715
715
|
return ErrorResponseDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
716
716
|
};
|
|
717
|
-
protoOf($serializer).
|
|
718
|
-
return this.
|
|
717
|
+
protoOf($serializer).co = function () {
|
|
718
|
+
return this.z53_1;
|
|
719
719
|
};
|
|
720
|
-
protoOf($serializer).
|
|
720
|
+
protoOf($serializer).wz = function () {
|
|
721
721
|
// Inline function 'kotlin.arrayOf' call
|
|
722
722
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
723
723
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -731,25 +731,25 @@
|
|
|
731
731
|
}
|
|
732
732
|
function ErrorResponseDto_init_$Init$(seen0, jsonrpc, error, serializationConstructorMarker, $this) {
|
|
733
733
|
if (!(3 === (3 & seen0))) {
|
|
734
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
734
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().z53_1);
|
|
735
735
|
}
|
|
736
|
-
$this.
|
|
737
|
-
$this.
|
|
736
|
+
$this.b54_1 = jsonrpc;
|
|
737
|
+
$this.c54_1 = error;
|
|
738
738
|
return $this;
|
|
739
739
|
}
|
|
740
740
|
function ErrorResponseDto_init_$Create$(seen0, jsonrpc, error, serializationConstructorMarker) {
|
|
741
741
|
return ErrorResponseDto_init_$Init$(seen0, jsonrpc, error, serializationConstructorMarker, objectCreate(protoOf(ErrorResponseDto)));
|
|
742
742
|
}
|
|
743
743
|
function ErrorResponseDto(jsonrpc, error) {
|
|
744
|
-
this.
|
|
745
|
-
this.
|
|
744
|
+
this.b54_1 = jsonrpc;
|
|
745
|
+
this.c54_1 = error;
|
|
746
746
|
}
|
|
747
747
|
protoOf(ErrorResponseDto).toString = function () {
|
|
748
|
-
return 'ErrorResponseDto(jsonrpc=' + this.
|
|
748
|
+
return 'ErrorResponseDto(jsonrpc=' + this.b54_1 + ', error=' + toString_0(this.c54_1) + ')';
|
|
749
749
|
};
|
|
750
750
|
protoOf(ErrorResponseDto).hashCode = function () {
|
|
751
|
-
var result = getStringHashCode(this.
|
|
752
|
-
result = imul(result, 31) + (this.
|
|
751
|
+
var result = getStringHashCode(this.b54_1);
|
|
752
|
+
result = imul(result, 31) + (this.c54_1 == null ? 0 : this.c54_1.hashCode()) | 0;
|
|
753
753
|
return result;
|
|
754
754
|
};
|
|
755
755
|
protoOf(ErrorResponseDto).equals = function (other) {
|
|
@@ -758,68 +758,68 @@
|
|
|
758
758
|
if (!(other instanceof ErrorResponseDto))
|
|
759
759
|
return false;
|
|
760
760
|
var tmp0_other_with_cast = other instanceof ErrorResponseDto ? other : THROW_CCE();
|
|
761
|
-
if (!(this.
|
|
761
|
+
if (!(this.b54_1 === tmp0_other_with_cast.b54_1))
|
|
762
762
|
return false;
|
|
763
|
-
if (!equals(this.
|
|
763
|
+
if (!equals(this.c54_1, tmp0_other_with_cast.c54_1))
|
|
764
764
|
return false;
|
|
765
765
|
return true;
|
|
766
766
|
};
|
|
767
767
|
function $serializer_0() {
|
|
768
768
|
$serializer_instance_0 = this;
|
|
769
769
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.ErrorDto', this, 2);
|
|
770
|
-
tmp0_serialDesc.
|
|
771
|
-
tmp0_serialDesc.
|
|
772
|
-
this.
|
|
773
|
-
}
|
|
774
|
-
protoOf($serializer_0).
|
|
775
|
-
var tmp0_desc = this.
|
|
776
|
-
var tmp1_output = encoder.
|
|
777
|
-
tmp1_output.
|
|
778
|
-
tmp1_output.
|
|
779
|
-
tmp1_output.
|
|
780
|
-
};
|
|
781
|
-
protoOf($serializer_0).
|
|
782
|
-
return this.
|
|
783
|
-
};
|
|
784
|
-
protoOf($serializer_0).
|
|
785
|
-
var tmp0_desc = this.
|
|
770
|
+
tmp0_serialDesc.hz('code', false);
|
|
771
|
+
tmp0_serialDesc.hz('message', false);
|
|
772
|
+
this.d54_1 = tmp0_serialDesc;
|
|
773
|
+
}
|
|
774
|
+
protoOf($serializer_0).e54 = function (encoder, value) {
|
|
775
|
+
var tmp0_desc = this.d54_1;
|
|
776
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
777
|
+
tmp1_output.it(tmp0_desc, 0, IntSerializer_getInstance(), value.f54_1);
|
|
778
|
+
tmp1_output.it(tmp0_desc, 1, StringSerializer_getInstance(), value.g54_1);
|
|
779
|
+
tmp1_output.qr(tmp0_desc);
|
|
780
|
+
};
|
|
781
|
+
protoOf($serializer_0).do = function (encoder, value) {
|
|
782
|
+
return this.e54(encoder, value instanceof ErrorDto ? value : THROW_CCE());
|
|
783
|
+
};
|
|
784
|
+
protoOf($serializer_0).eo = function (decoder) {
|
|
785
|
+
var tmp0_desc = this.d54_1;
|
|
786
786
|
var tmp1_flag = true;
|
|
787
787
|
var tmp2_index = 0;
|
|
788
788
|
var tmp3_bitMask0 = 0;
|
|
789
789
|
var tmp4_local0 = null;
|
|
790
790
|
var tmp5_local1 = null;
|
|
791
|
-
var tmp6_input = decoder.
|
|
792
|
-
if (tmp6_input.
|
|
793
|
-
tmp4_local0 = tmp6_input.
|
|
791
|
+
var tmp6_input = decoder.pr(tmp0_desc);
|
|
792
|
+
if (tmp6_input.fs()) {
|
|
793
|
+
tmp4_local0 = tmp6_input.ds(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
794
794
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
795
|
-
tmp5_local1 = tmp6_input.
|
|
795
|
+
tmp5_local1 = tmp6_input.ds(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
796
796
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
797
797
|
} else
|
|
798
798
|
while (tmp1_flag) {
|
|
799
|
-
tmp2_index = tmp6_input.
|
|
799
|
+
tmp2_index = tmp6_input.gs(tmp0_desc);
|
|
800
800
|
switch (tmp2_index) {
|
|
801
801
|
case -1:
|
|
802
802
|
tmp1_flag = false;
|
|
803
803
|
break;
|
|
804
804
|
case 0:
|
|
805
|
-
tmp4_local0 = tmp6_input.
|
|
805
|
+
tmp4_local0 = tmp6_input.ds(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
806
806
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
807
807
|
break;
|
|
808
808
|
case 1:
|
|
809
|
-
tmp5_local1 = tmp6_input.
|
|
809
|
+
tmp5_local1 = tmp6_input.ds(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
810
810
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
811
811
|
break;
|
|
812
812
|
default:
|
|
813
813
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
|
-
tmp6_input.
|
|
816
|
+
tmp6_input.qr(tmp0_desc);
|
|
817
817
|
return ErrorDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
818
818
|
};
|
|
819
|
-
protoOf($serializer_0).
|
|
820
|
-
return this.
|
|
819
|
+
protoOf($serializer_0).co = function () {
|
|
820
|
+
return this.d54_1;
|
|
821
821
|
};
|
|
822
|
-
protoOf($serializer_0).
|
|
822
|
+
protoOf($serializer_0).wz = function () {
|
|
823
823
|
// Inline function 'kotlin.arrayOf' call
|
|
824
824
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
825
825
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -833,10 +833,10 @@
|
|
|
833
833
|
}
|
|
834
834
|
function ErrorDto_init_$Init$(seen0, code, message, serializationConstructorMarker, $this) {
|
|
835
835
|
if (!(3 === (3 & seen0))) {
|
|
836
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
836
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().d54_1);
|
|
837
837
|
}
|
|
838
|
-
$this.
|
|
839
|
-
$this.
|
|
838
|
+
$this.f54_1 = code;
|
|
839
|
+
$this.g54_1 = message;
|
|
840
840
|
return $this;
|
|
841
841
|
}
|
|
842
842
|
function ErrorDto_init_$Create$(seen0, code, message, serializationConstructorMarker) {
|
|
@@ -845,11 +845,11 @@
|
|
|
845
845
|
function ErrorDto() {
|
|
846
846
|
}
|
|
847
847
|
protoOf(ErrorDto).toString = function () {
|
|
848
|
-
return 'ErrorDto(code=' + this.
|
|
848
|
+
return 'ErrorDto(code=' + this.f54_1 + ', message=' + this.g54_1 + ')';
|
|
849
849
|
};
|
|
850
850
|
protoOf(ErrorDto).hashCode = function () {
|
|
851
|
-
var result = this.
|
|
852
|
-
result = imul(result, 31) + (this.
|
|
851
|
+
var result = this.f54_1 == null ? 0 : this.f54_1;
|
|
852
|
+
result = imul(result, 31) + (this.g54_1 == null ? 0 : getStringHashCode(this.g54_1)) | 0;
|
|
853
853
|
return result;
|
|
854
854
|
};
|
|
855
855
|
protoOf(ErrorDto).equals = function (other) {
|
|
@@ -858,15 +858,15 @@
|
|
|
858
858
|
if (!(other instanceof ErrorDto))
|
|
859
859
|
return false;
|
|
860
860
|
var tmp0_other_with_cast = other instanceof ErrorDto ? other : THROW_CCE();
|
|
861
|
-
if (!(this.e54_1 == tmp0_other_with_cast.e54_1))
|
|
862
|
-
return false;
|
|
863
861
|
if (!(this.f54_1 == tmp0_other_with_cast.f54_1))
|
|
864
862
|
return false;
|
|
863
|
+
if (!(this.g54_1 == tmp0_other_with_cast.g54_1))
|
|
864
|
+
return false;
|
|
865
865
|
return true;
|
|
866
866
|
};
|
|
867
867
|
function $serializer_init_$Init$(typeSerial0, $this) {
|
|
868
868
|
$serializer_1.call($this);
|
|
869
|
-
$this.
|
|
869
|
+
$this.i54_1 = typeSerial0;
|
|
870
870
|
return $this;
|
|
871
871
|
}
|
|
872
872
|
function $serializer_init_$Create$(typeSerial0) {
|
|
@@ -875,17 +875,17 @@
|
|
|
875
875
|
function Companion_2() {
|
|
876
876
|
Companion_instance_4 = this;
|
|
877
877
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomRequestDto', null, 4);
|
|
878
|
-
tmp0_serialDesc.
|
|
879
|
-
tmp0_serialDesc.
|
|
880
|
-
tmp0_serialDesc.
|
|
881
|
-
tmp0_serialDesc.
|
|
882
|
-
this.
|
|
878
|
+
tmp0_serialDesc.hz('jsonrpc', false);
|
|
879
|
+
tmp0_serialDesc.hz('method', false);
|
|
880
|
+
tmp0_serialDesc.hz('params', false);
|
|
881
|
+
tmp0_serialDesc.hz('id', false);
|
|
882
|
+
this.j54_1 = tmp0_serialDesc;
|
|
883
883
|
}
|
|
884
|
-
protoOf(Companion_2).
|
|
884
|
+
protoOf(Companion_2).k54 = function (typeSerial0) {
|
|
885
885
|
return $serializer_init_$Create$(typeSerial0);
|
|
886
886
|
};
|
|
887
|
-
protoOf(Companion_2).
|
|
888
|
-
return this.
|
|
887
|
+
protoOf(Companion_2).h10 = function (typeParamsSerializers) {
|
|
888
|
+
return this.k54(typeParamsSerializers[0]);
|
|
889
889
|
};
|
|
890
890
|
var Companion_instance_4;
|
|
891
891
|
function Companion_getInstance_5() {
|
|
@@ -895,26 +895,26 @@
|
|
|
895
895
|
}
|
|
896
896
|
function $serializer_1() {
|
|
897
897
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomRequestDto', this, 4);
|
|
898
|
-
tmp0_serialDesc.
|
|
899
|
-
tmp0_serialDesc.
|
|
900
|
-
tmp0_serialDesc.
|
|
901
|
-
tmp0_serialDesc.
|
|
902
|
-
this.
|
|
903
|
-
}
|
|
904
|
-
protoOf($serializer_1).
|
|
905
|
-
var tmp0_desc = this.
|
|
906
|
-
var tmp1_output = encoder.
|
|
907
|
-
tmp1_output.
|
|
908
|
-
tmp1_output.
|
|
909
|
-
tmp1_output.
|
|
910
|
-
tmp1_output.
|
|
911
|
-
tmp1_output.
|
|
912
|
-
};
|
|
913
|
-
protoOf($serializer_1).
|
|
914
|
-
return this.
|
|
915
|
-
};
|
|
916
|
-
protoOf($serializer_1).
|
|
917
|
-
var tmp0_desc = this.
|
|
898
|
+
tmp0_serialDesc.hz('jsonrpc', false);
|
|
899
|
+
tmp0_serialDesc.hz('method', false);
|
|
900
|
+
tmp0_serialDesc.hz('params', false);
|
|
901
|
+
tmp0_serialDesc.hz('id', false);
|
|
902
|
+
this.h54_1 = tmp0_serialDesc;
|
|
903
|
+
}
|
|
904
|
+
protoOf($serializer_1).l54 = function (encoder, value) {
|
|
905
|
+
var tmp0_desc = this.h54_1;
|
|
906
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
907
|
+
tmp1_output.et(tmp0_desc, 0, value.m54_1);
|
|
908
|
+
tmp1_output.et(tmp0_desc, 1, value.n54_1);
|
|
909
|
+
tmp1_output.gt(tmp0_desc, 2, this.i54_1, value.o54_1);
|
|
910
|
+
tmp1_output.et(tmp0_desc, 3, value.p54_1);
|
|
911
|
+
tmp1_output.qr(tmp0_desc);
|
|
912
|
+
};
|
|
913
|
+
protoOf($serializer_1).do = function (encoder, value) {
|
|
914
|
+
return this.l54(encoder, value instanceof RandomRequestDto ? value : THROW_CCE());
|
|
915
|
+
};
|
|
916
|
+
protoOf($serializer_1).eo = function (decoder) {
|
|
917
|
+
var tmp0_desc = this.h54_1;
|
|
918
918
|
var tmp1_flag = true;
|
|
919
919
|
var tmp2_index = 0;
|
|
920
920
|
var tmp3_bitMask0 = 0;
|
|
@@ -922,69 +922,69 @@
|
|
|
922
922
|
var tmp5_local1 = null;
|
|
923
923
|
var tmp6_local2 = null;
|
|
924
924
|
var tmp7_local3 = null;
|
|
925
|
-
var tmp8_input = decoder.
|
|
926
|
-
if (tmp8_input.
|
|
927
|
-
tmp4_local0 = tmp8_input.
|
|
925
|
+
var tmp8_input = decoder.pr(tmp0_desc);
|
|
926
|
+
if (tmp8_input.fs()) {
|
|
927
|
+
tmp4_local0 = tmp8_input.zr(tmp0_desc, 0);
|
|
928
928
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
929
|
-
tmp5_local1 = tmp8_input.
|
|
929
|
+
tmp5_local1 = tmp8_input.zr(tmp0_desc, 1);
|
|
930
930
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
931
|
-
tmp6_local2 = tmp8_input.
|
|
931
|
+
tmp6_local2 = tmp8_input.bs(tmp0_desc, 2, this.i54_1, tmp6_local2);
|
|
932
932
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
933
|
-
tmp7_local3 = tmp8_input.
|
|
933
|
+
tmp7_local3 = tmp8_input.zr(tmp0_desc, 3);
|
|
934
934
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
935
935
|
} else
|
|
936
936
|
while (tmp1_flag) {
|
|
937
|
-
tmp2_index = tmp8_input.
|
|
937
|
+
tmp2_index = tmp8_input.gs(tmp0_desc);
|
|
938
938
|
switch (tmp2_index) {
|
|
939
939
|
case -1:
|
|
940
940
|
tmp1_flag = false;
|
|
941
941
|
break;
|
|
942
942
|
case 0:
|
|
943
|
-
tmp4_local0 = tmp8_input.
|
|
943
|
+
tmp4_local0 = tmp8_input.zr(tmp0_desc, 0);
|
|
944
944
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
945
945
|
break;
|
|
946
946
|
case 1:
|
|
947
|
-
tmp5_local1 = tmp8_input.
|
|
947
|
+
tmp5_local1 = tmp8_input.zr(tmp0_desc, 1);
|
|
948
948
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
949
949
|
break;
|
|
950
950
|
case 2:
|
|
951
|
-
tmp6_local2 = tmp8_input.
|
|
951
|
+
tmp6_local2 = tmp8_input.bs(tmp0_desc, 2, this.i54_1, tmp6_local2);
|
|
952
952
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
953
953
|
break;
|
|
954
954
|
case 3:
|
|
955
|
-
tmp7_local3 = tmp8_input.
|
|
955
|
+
tmp7_local3 = tmp8_input.zr(tmp0_desc, 3);
|
|
956
956
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
957
957
|
break;
|
|
958
958
|
default:
|
|
959
959
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
960
960
|
}
|
|
961
961
|
}
|
|
962
|
-
tmp8_input.
|
|
962
|
+
tmp8_input.qr(tmp0_desc);
|
|
963
963
|
return RandomRequestDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
964
964
|
};
|
|
965
|
-
protoOf($serializer_1).
|
|
966
|
-
return this.
|
|
965
|
+
protoOf($serializer_1).co = function () {
|
|
966
|
+
return this.h54_1;
|
|
967
967
|
};
|
|
968
|
-
protoOf($serializer_1).
|
|
968
|
+
protoOf($serializer_1).wz = function () {
|
|
969
969
|
// Inline function 'kotlin.arrayOf' call
|
|
970
970
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
971
971
|
// Inline function 'kotlin.js.asDynamic' call
|
|
972
|
-
return [StringSerializer_getInstance(), StringSerializer_getInstance(), this.
|
|
972
|
+
return [StringSerializer_getInstance(), StringSerializer_getInstance(), this.i54_1, StringSerializer_getInstance()];
|
|
973
973
|
};
|
|
974
|
-
protoOf($serializer_1).
|
|
974
|
+
protoOf($serializer_1).xz = function () {
|
|
975
975
|
// Inline function 'kotlin.arrayOf' call
|
|
976
976
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
977
977
|
// Inline function 'kotlin.js.asDynamic' call
|
|
978
|
-
return [this.
|
|
978
|
+
return [this.i54_1];
|
|
979
979
|
};
|
|
980
980
|
function RandomRequestDto_init_$Init$(seen0, jsonrpc, method, params, id, serializationConstructorMarker, $this) {
|
|
981
981
|
if (!(15 === (15 & seen0))) {
|
|
982
|
-
throwMissingFieldException(seen0, 15, Companion_getInstance_5().
|
|
982
|
+
throwMissingFieldException(seen0, 15, Companion_getInstance_5().j54_1);
|
|
983
983
|
}
|
|
984
|
-
$this.
|
|
985
|
-
$this.
|
|
986
|
-
$this.
|
|
987
|
-
$this.
|
|
984
|
+
$this.m54_1 = jsonrpc;
|
|
985
|
+
$this.n54_1 = method;
|
|
986
|
+
$this.o54_1 = params;
|
|
987
|
+
$this.p54_1 = id;
|
|
988
988
|
return $this;
|
|
989
989
|
}
|
|
990
990
|
function RandomRequestDto_init_$Create$(seen0, jsonrpc, method, params, id, serializationConstructorMarker) {
|
|
@@ -992,19 +992,19 @@
|
|
|
992
992
|
}
|
|
993
993
|
function RandomRequestDto(jsonrpc, method, params, id) {
|
|
994
994
|
Companion_getInstance_5();
|
|
995
|
-
this.
|
|
996
|
-
this.
|
|
997
|
-
this.
|
|
998
|
-
this.
|
|
995
|
+
this.m54_1 = jsonrpc;
|
|
996
|
+
this.n54_1 = method;
|
|
997
|
+
this.o54_1 = params;
|
|
998
|
+
this.p54_1 = id;
|
|
999
999
|
}
|
|
1000
1000
|
protoOf(RandomRequestDto).toString = function () {
|
|
1001
|
-
return 'RandomRequestDto(jsonrpc=' + this.
|
|
1001
|
+
return 'RandomRequestDto(jsonrpc=' + this.m54_1 + ', method=' + this.n54_1 + ', params=' + toString(this.o54_1) + ', id=' + this.p54_1 + ')';
|
|
1002
1002
|
};
|
|
1003
1003
|
protoOf(RandomRequestDto).hashCode = function () {
|
|
1004
|
-
var result = getStringHashCode(this.
|
|
1005
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1006
|
-
result = imul(result, 31) + hashCode(this.
|
|
1007
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1004
|
+
var result = getStringHashCode(this.m54_1);
|
|
1005
|
+
result = imul(result, 31) + getStringHashCode(this.n54_1) | 0;
|
|
1006
|
+
result = imul(result, 31) + hashCode(this.o54_1) | 0;
|
|
1007
|
+
result = imul(result, 31) + getStringHashCode(this.p54_1) | 0;
|
|
1008
1008
|
return result;
|
|
1009
1009
|
};
|
|
1010
1010
|
protoOf(RandomRequestDto).equals = function (other) {
|
|
@@ -1013,13 +1013,13 @@
|
|
|
1013
1013
|
if (!(other instanceof RandomRequestDto))
|
|
1014
1014
|
return false;
|
|
1015
1015
|
var tmp0_other_with_cast = other instanceof RandomRequestDto ? other : THROW_CCE();
|
|
1016
|
-
if (!(this.l54_1 === tmp0_other_with_cast.l54_1))
|
|
1017
|
-
return false;
|
|
1018
1016
|
if (!(this.m54_1 === tmp0_other_with_cast.m54_1))
|
|
1019
1017
|
return false;
|
|
1020
|
-
if (!
|
|
1018
|
+
if (!(this.n54_1 === tmp0_other_with_cast.n54_1))
|
|
1021
1019
|
return false;
|
|
1022
|
-
if (!(this.o54_1
|
|
1020
|
+
if (!equals(this.o54_1, tmp0_other_with_cast.o54_1))
|
|
1021
|
+
return false;
|
|
1022
|
+
if (!(this.p54_1 === tmp0_other_with_cast.p54_1))
|
|
1023
1023
|
return false;
|
|
1024
1024
|
return true;
|
|
1025
1025
|
};
|
|
@@ -1033,7 +1033,7 @@
|
|
|
1033
1033
|
// Inline function 'kotlin.arrayOf' call
|
|
1034
1034
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1035
1035
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1036
|
-
tmp.
|
|
1036
|
+
tmp.q54_1 = [null, null, lazy(tmp_0, RandomParamsDto$RandomIntegerSequencesParamsDto$Companion$$childSerializers$_anonymous__1scx7a), null, null, null, null, null];
|
|
1037
1037
|
}
|
|
1038
1038
|
var Companion_instance_5;
|
|
1039
1039
|
function Companion_getInstance_6() {
|
|
@@ -1044,35 +1044,35 @@
|
|
|
1044
1044
|
function $serializer_2() {
|
|
1045
1045
|
$serializer_instance_1 = this;
|
|
1046
1046
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomParamsDto.RandomIntegerSequencesParamsDto', this, 8);
|
|
1047
|
-
tmp0_serialDesc.
|
|
1048
|
-
tmp0_serialDesc.
|
|
1049
|
-
tmp0_serialDesc.
|
|
1050
|
-
tmp0_serialDesc.
|
|
1051
|
-
tmp0_serialDesc.
|
|
1052
|
-
tmp0_serialDesc.
|
|
1053
|
-
tmp0_serialDesc.
|
|
1054
|
-
tmp0_serialDesc.
|
|
1055
|
-
this.
|
|
1056
|
-
}
|
|
1057
|
-
protoOf($serializer_2).
|
|
1058
|
-
var tmp0_desc = this.
|
|
1059
|
-
var tmp1_output = encoder.
|
|
1060
|
-
var tmp2_cached = Companion_getInstance_6().
|
|
1061
|
-
tmp1_output.
|
|
1062
|
-
tmp1_output.
|
|
1063
|
-
tmp1_output.
|
|
1064
|
-
tmp1_output.
|
|
1065
|
-
tmp1_output.
|
|
1066
|
-
tmp1_output.
|
|
1067
|
-
tmp1_output.
|
|
1068
|
-
tmp1_output.
|
|
1069
|
-
tmp1_output.
|
|
1070
|
-
};
|
|
1071
|
-
protoOf($serializer_2).
|
|
1072
|
-
return this.
|
|
1073
|
-
};
|
|
1074
|
-
protoOf($serializer_2).
|
|
1075
|
-
var tmp0_desc = this.
|
|
1047
|
+
tmp0_serialDesc.hz('apiKey', false);
|
|
1048
|
+
tmp0_serialDesc.hz('n', false);
|
|
1049
|
+
tmp0_serialDesc.hz('length', false);
|
|
1050
|
+
tmp0_serialDesc.hz('min', false);
|
|
1051
|
+
tmp0_serialDesc.hz('max', false);
|
|
1052
|
+
tmp0_serialDesc.hz('replacement', false);
|
|
1053
|
+
tmp0_serialDesc.hz('ticketId', false);
|
|
1054
|
+
tmp0_serialDesc.hz('userData', false);
|
|
1055
|
+
this.r54_1 = tmp0_serialDesc;
|
|
1056
|
+
}
|
|
1057
|
+
protoOf($serializer_2).s54 = function (encoder, value) {
|
|
1058
|
+
var tmp0_desc = this.r54_1;
|
|
1059
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
1060
|
+
var tmp2_cached = Companion_getInstance_6().q54_1;
|
|
1061
|
+
tmp1_output.et(tmp0_desc, 0, value.t54_1);
|
|
1062
|
+
tmp1_output.zs(tmp0_desc, 1, value.u54_1);
|
|
1063
|
+
tmp1_output.gt(tmp0_desc, 2, tmp2_cached[2].x(), value.v54_1);
|
|
1064
|
+
tmp1_output.zs(tmp0_desc, 3, value.w54_1);
|
|
1065
|
+
tmp1_output.zs(tmp0_desc, 4, value.x54_1);
|
|
1066
|
+
tmp1_output.ws(tmp0_desc, 5, value.y54_1);
|
|
1067
|
+
tmp1_output.it(tmp0_desc, 6, StringSerializer_getInstance(), value.z54_1);
|
|
1068
|
+
tmp1_output.it(tmp0_desc, 7, $serializer_getInstance_2(), value.a55_1);
|
|
1069
|
+
tmp1_output.qr(tmp0_desc);
|
|
1070
|
+
};
|
|
1071
|
+
protoOf($serializer_2).do = function (encoder, value) {
|
|
1072
|
+
return this.s54(encoder, value instanceof RandomIntegerSequencesParamsDto ? value : THROW_CCE());
|
|
1073
|
+
};
|
|
1074
|
+
protoOf($serializer_2).eo = function (decoder) {
|
|
1075
|
+
var tmp0_desc = this.r54_1;
|
|
1076
1076
|
var tmp1_flag = true;
|
|
1077
1077
|
var tmp2_index = 0;
|
|
1078
1078
|
var tmp3_bitMask0 = 0;
|
|
@@ -1084,76 +1084,76 @@
|
|
|
1084
1084
|
var tmp9_local5 = false;
|
|
1085
1085
|
var tmp10_local6 = null;
|
|
1086
1086
|
var tmp11_local7 = null;
|
|
1087
|
-
var tmp12_input = decoder.
|
|
1088
|
-
var tmp13_cached = Companion_getInstance_6().
|
|
1089
|
-
if (tmp12_input.
|
|
1090
|
-
tmp4_local0 = tmp12_input.
|
|
1087
|
+
var tmp12_input = decoder.pr(tmp0_desc);
|
|
1088
|
+
var tmp13_cached = Companion_getInstance_6().q54_1;
|
|
1089
|
+
if (tmp12_input.fs()) {
|
|
1090
|
+
tmp4_local0 = tmp12_input.zr(tmp0_desc, 0);
|
|
1091
1091
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1092
|
-
tmp5_local1 = tmp12_input.
|
|
1092
|
+
tmp5_local1 = tmp12_input.ur(tmp0_desc, 1);
|
|
1093
1093
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1094
|
-
tmp6_local2 = tmp12_input.
|
|
1094
|
+
tmp6_local2 = tmp12_input.bs(tmp0_desc, 2, tmp13_cached[2].x(), tmp6_local2);
|
|
1095
1095
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1096
|
-
tmp7_local3 = tmp12_input.
|
|
1096
|
+
tmp7_local3 = tmp12_input.ur(tmp0_desc, 3);
|
|
1097
1097
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1098
|
-
tmp8_local4 = tmp12_input.
|
|
1098
|
+
tmp8_local4 = tmp12_input.ur(tmp0_desc, 4);
|
|
1099
1099
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1100
|
-
tmp9_local5 = tmp12_input.
|
|
1100
|
+
tmp9_local5 = tmp12_input.rr(tmp0_desc, 5);
|
|
1101
1101
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1102
|
-
tmp10_local6 = tmp12_input.
|
|
1102
|
+
tmp10_local6 = tmp12_input.ds(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1103
1103
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1104
|
-
tmp11_local7 = tmp12_input.
|
|
1104
|
+
tmp11_local7 = tmp12_input.ds(tmp0_desc, 7, $serializer_getInstance_2(), tmp11_local7);
|
|
1105
1105
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1106
1106
|
} else
|
|
1107
1107
|
while (tmp1_flag) {
|
|
1108
|
-
tmp2_index = tmp12_input.
|
|
1108
|
+
tmp2_index = tmp12_input.gs(tmp0_desc);
|
|
1109
1109
|
switch (tmp2_index) {
|
|
1110
1110
|
case -1:
|
|
1111
1111
|
tmp1_flag = false;
|
|
1112
1112
|
break;
|
|
1113
1113
|
case 0:
|
|
1114
|
-
tmp4_local0 = tmp12_input.
|
|
1114
|
+
tmp4_local0 = tmp12_input.zr(tmp0_desc, 0);
|
|
1115
1115
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1116
1116
|
break;
|
|
1117
1117
|
case 1:
|
|
1118
|
-
tmp5_local1 = tmp12_input.
|
|
1118
|
+
tmp5_local1 = tmp12_input.ur(tmp0_desc, 1);
|
|
1119
1119
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1120
1120
|
break;
|
|
1121
1121
|
case 2:
|
|
1122
|
-
tmp6_local2 = tmp12_input.
|
|
1122
|
+
tmp6_local2 = tmp12_input.bs(tmp0_desc, 2, tmp13_cached[2].x(), tmp6_local2);
|
|
1123
1123
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1124
1124
|
break;
|
|
1125
1125
|
case 3:
|
|
1126
|
-
tmp7_local3 = tmp12_input.
|
|
1126
|
+
tmp7_local3 = tmp12_input.ur(tmp0_desc, 3);
|
|
1127
1127
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1128
1128
|
break;
|
|
1129
1129
|
case 4:
|
|
1130
|
-
tmp8_local4 = tmp12_input.
|
|
1130
|
+
tmp8_local4 = tmp12_input.ur(tmp0_desc, 4);
|
|
1131
1131
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1132
1132
|
break;
|
|
1133
1133
|
case 5:
|
|
1134
|
-
tmp9_local5 = tmp12_input.
|
|
1134
|
+
tmp9_local5 = tmp12_input.rr(tmp0_desc, 5);
|
|
1135
1135
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1136
1136
|
break;
|
|
1137
1137
|
case 6:
|
|
1138
|
-
tmp10_local6 = tmp12_input.
|
|
1138
|
+
tmp10_local6 = tmp12_input.ds(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1139
1139
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1140
1140
|
break;
|
|
1141
1141
|
case 7:
|
|
1142
|
-
tmp11_local7 = tmp12_input.
|
|
1142
|
+
tmp11_local7 = tmp12_input.ds(tmp0_desc, 7, $serializer_getInstance_2(), tmp11_local7);
|
|
1143
1143
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1144
1144
|
break;
|
|
1145
1145
|
default:
|
|
1146
1146
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
|
-
tmp12_input.
|
|
1149
|
+
tmp12_input.qr(tmp0_desc);
|
|
1150
1150
|
return RandomIntegerSequencesParamsDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
1151
1151
|
};
|
|
1152
|
-
protoOf($serializer_2).
|
|
1153
|
-
return this.
|
|
1152
|
+
protoOf($serializer_2).co = function () {
|
|
1153
|
+
return this.r54_1;
|
|
1154
1154
|
};
|
|
1155
|
-
protoOf($serializer_2).
|
|
1156
|
-
var tmp0_cached = Companion_getInstance_6().
|
|
1155
|
+
protoOf($serializer_2).wz = function () {
|
|
1156
|
+
var tmp0_cached = Companion_getInstance_6().q54_1;
|
|
1157
1157
|
// Inline function 'kotlin.arrayOf' call
|
|
1158
1158
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1159
1159
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1167,16 +1167,16 @@
|
|
|
1167
1167
|
}
|
|
1168
1168
|
function RandomIntegerSequencesParamsDto_init_$Init$(seen0, apiKey, n, length, min, max, replacement, ticketId, userData, serializationConstructorMarker, $this) {
|
|
1169
1169
|
if (!(255 === (255 & seen0))) {
|
|
1170
|
-
throwMissingFieldException(seen0, 255, $serializer_getInstance_1().
|
|
1170
|
+
throwMissingFieldException(seen0, 255, $serializer_getInstance_1().r54_1);
|
|
1171
1171
|
}
|
|
1172
|
-
$this.
|
|
1173
|
-
$this.
|
|
1174
|
-
$this.
|
|
1175
|
-
$this.
|
|
1176
|
-
$this.
|
|
1177
|
-
$this.
|
|
1178
|
-
$this.
|
|
1179
|
-
$this.
|
|
1172
|
+
$this.t54_1 = apiKey;
|
|
1173
|
+
$this.u54_1 = n;
|
|
1174
|
+
$this.v54_1 = length;
|
|
1175
|
+
$this.w54_1 = min;
|
|
1176
|
+
$this.x54_1 = max;
|
|
1177
|
+
$this.y54_1 = replacement;
|
|
1178
|
+
$this.z54_1 = ticketId;
|
|
1179
|
+
$this.a55_1 = userData;
|
|
1180
1180
|
return $this;
|
|
1181
1181
|
}
|
|
1182
1182
|
function RandomIntegerSequencesParamsDto_init_$Create$(seen0, apiKey, n, length, min, max, replacement, ticketId, userData, serializationConstructorMarker) {
|
|
@@ -1184,27 +1184,27 @@
|
|
|
1184
1184
|
}
|
|
1185
1185
|
function RandomIntegerSequencesParamsDto(apiKey, n, length, min, max, replacement, ticketId, userData) {
|
|
1186
1186
|
Companion_getInstance_6();
|
|
1187
|
-
this.
|
|
1188
|
-
this.
|
|
1189
|
-
this.
|
|
1190
|
-
this.
|
|
1191
|
-
this.
|
|
1192
|
-
this.
|
|
1193
|
-
this.
|
|
1194
|
-
this.
|
|
1187
|
+
this.t54_1 = apiKey;
|
|
1188
|
+
this.u54_1 = n;
|
|
1189
|
+
this.v54_1 = length;
|
|
1190
|
+
this.w54_1 = min;
|
|
1191
|
+
this.x54_1 = max;
|
|
1192
|
+
this.y54_1 = replacement;
|
|
1193
|
+
this.z54_1 = ticketId;
|
|
1194
|
+
this.a55_1 = userData;
|
|
1195
1195
|
}
|
|
1196
1196
|
protoOf(RandomIntegerSequencesParamsDto).toString = function () {
|
|
1197
|
-
return 'RandomIntegerSequencesParamsDto(apiKey=' + this.
|
|
1197
|
+
return 'RandomIntegerSequencesParamsDto(apiKey=' + this.t54_1 + ', n=' + this.u54_1 + ', length=' + toString(this.v54_1) + ', min=' + this.w54_1 + ', max=' + this.x54_1 + ', replacement=' + this.y54_1 + ', ticketId=' + this.z54_1 + ', userData=' + toString_0(this.a55_1) + ')';
|
|
1198
1198
|
};
|
|
1199
1199
|
protoOf(RandomIntegerSequencesParamsDto).hashCode = function () {
|
|
1200
|
-
var result = getStringHashCode(this.
|
|
1201
|
-
result = imul(result, 31) + this.
|
|
1202
|
-
result = imul(result, 31) + hashCode(this.
|
|
1203
|
-
result = imul(result, 31) + this.v54_1 | 0;
|
|
1200
|
+
var result = getStringHashCode(this.t54_1);
|
|
1201
|
+
result = imul(result, 31) + this.u54_1 | 0;
|
|
1202
|
+
result = imul(result, 31) + hashCode(this.v54_1) | 0;
|
|
1204
1203
|
result = imul(result, 31) + this.w54_1 | 0;
|
|
1205
|
-
result = imul(result, 31) +
|
|
1206
|
-
result = imul(result, 31) + (this.y54_1
|
|
1207
|
-
result = imul(result, 31) + (this.z54_1 == null ? 0 : this.z54_1
|
|
1204
|
+
result = imul(result, 31) + this.x54_1 | 0;
|
|
1205
|
+
result = imul(result, 31) + getBooleanHashCode(this.y54_1) | 0;
|
|
1206
|
+
result = imul(result, 31) + (this.z54_1 == null ? 0 : getStringHashCode(this.z54_1)) | 0;
|
|
1207
|
+
result = imul(result, 31) + (this.a55_1 == null ? 0 : this.a55_1.hashCode()) | 0;
|
|
1208
1208
|
return result;
|
|
1209
1209
|
};
|
|
1210
1210
|
protoOf(RandomIntegerSequencesParamsDto).equals = function (other) {
|
|
@@ -1213,21 +1213,21 @@
|
|
|
1213
1213
|
if (!(other instanceof RandomIntegerSequencesParamsDto))
|
|
1214
1214
|
return false;
|
|
1215
1215
|
var tmp0_other_with_cast = other instanceof RandomIntegerSequencesParamsDto ? other : THROW_CCE();
|
|
1216
|
-
if (!(this.s54_1 === tmp0_other_with_cast.s54_1))
|
|
1217
|
-
return false;
|
|
1218
1216
|
if (!(this.t54_1 === tmp0_other_with_cast.t54_1))
|
|
1219
1217
|
return false;
|
|
1220
|
-
if (!
|
|
1218
|
+
if (!(this.u54_1 === tmp0_other_with_cast.u54_1))
|
|
1221
1219
|
return false;
|
|
1222
|
-
if (!(this.v54_1
|
|
1220
|
+
if (!equals(this.v54_1, tmp0_other_with_cast.v54_1))
|
|
1223
1221
|
return false;
|
|
1224
1222
|
if (!(this.w54_1 === tmp0_other_with_cast.w54_1))
|
|
1225
1223
|
return false;
|
|
1226
1224
|
if (!(this.x54_1 === tmp0_other_with_cast.x54_1))
|
|
1227
1225
|
return false;
|
|
1228
|
-
if (!(this.y54_1
|
|
1226
|
+
if (!(this.y54_1 === tmp0_other_with_cast.y54_1))
|
|
1227
|
+
return false;
|
|
1228
|
+
if (!(this.z54_1 == tmp0_other_with_cast.z54_1))
|
|
1229
1229
|
return false;
|
|
1230
|
-
if (!equals(this.
|
|
1230
|
+
if (!equals(this.a55_1, tmp0_other_with_cast.a55_1))
|
|
1231
1231
|
return false;
|
|
1232
1232
|
return true;
|
|
1233
1233
|
};
|
|
@@ -1240,59 +1240,59 @@
|
|
|
1240
1240
|
function $serializer_3() {
|
|
1241
1241
|
$serializer_instance_2 = this;
|
|
1242
1242
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.CardDecksUserDataDto', this, 2);
|
|
1243
|
-
tmp0_serialDesc.
|
|
1244
|
-
tmp0_serialDesc.
|
|
1245
|
-
this.
|
|
1246
|
-
}
|
|
1247
|
-
protoOf($serializer_3).
|
|
1248
|
-
var tmp0_desc = this.
|
|
1249
|
-
var tmp1_output = encoder.
|
|
1250
|
-
tmp1_output.
|
|
1251
|
-
tmp1_output.
|
|
1252
|
-
tmp1_output.
|
|
1253
|
-
};
|
|
1254
|
-
protoOf($serializer_3).
|
|
1255
|
-
return this.
|
|
1256
|
-
};
|
|
1257
|
-
protoOf($serializer_3).
|
|
1258
|
-
var tmp0_desc = this.
|
|
1243
|
+
tmp0_serialDesc.hz('id', false);
|
|
1244
|
+
tmp0_serialDesc.hz('count', false);
|
|
1245
|
+
this.b55_1 = tmp0_serialDesc;
|
|
1246
|
+
}
|
|
1247
|
+
protoOf($serializer_3).c55 = function (encoder, value) {
|
|
1248
|
+
var tmp0_desc = this.b55_1;
|
|
1249
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
1250
|
+
tmp1_output.et(tmp0_desc, 0, value.d55_1);
|
|
1251
|
+
tmp1_output.zs(tmp0_desc, 1, value.e55_1);
|
|
1252
|
+
tmp1_output.qr(tmp0_desc);
|
|
1253
|
+
};
|
|
1254
|
+
protoOf($serializer_3).do = function (encoder, value) {
|
|
1255
|
+
return this.c55(encoder, value instanceof CardDecksUserDataDto ? value : THROW_CCE());
|
|
1256
|
+
};
|
|
1257
|
+
protoOf($serializer_3).eo = function (decoder) {
|
|
1258
|
+
var tmp0_desc = this.b55_1;
|
|
1259
1259
|
var tmp1_flag = true;
|
|
1260
1260
|
var tmp2_index = 0;
|
|
1261
1261
|
var tmp3_bitMask0 = 0;
|
|
1262
1262
|
var tmp4_local0 = null;
|
|
1263
1263
|
var tmp5_local1 = 0;
|
|
1264
|
-
var tmp6_input = decoder.
|
|
1265
|
-
if (tmp6_input.
|
|
1266
|
-
tmp4_local0 = tmp6_input.
|
|
1264
|
+
var tmp6_input = decoder.pr(tmp0_desc);
|
|
1265
|
+
if (tmp6_input.fs()) {
|
|
1266
|
+
tmp4_local0 = tmp6_input.zr(tmp0_desc, 0);
|
|
1267
1267
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1268
|
-
tmp5_local1 = tmp6_input.
|
|
1268
|
+
tmp5_local1 = tmp6_input.ur(tmp0_desc, 1);
|
|
1269
1269
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1270
1270
|
} else
|
|
1271
1271
|
while (tmp1_flag) {
|
|
1272
|
-
tmp2_index = tmp6_input.
|
|
1272
|
+
tmp2_index = tmp6_input.gs(tmp0_desc);
|
|
1273
1273
|
switch (tmp2_index) {
|
|
1274
1274
|
case -1:
|
|
1275
1275
|
tmp1_flag = false;
|
|
1276
1276
|
break;
|
|
1277
1277
|
case 0:
|
|
1278
|
-
tmp4_local0 = tmp6_input.
|
|
1278
|
+
tmp4_local0 = tmp6_input.zr(tmp0_desc, 0);
|
|
1279
1279
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1280
1280
|
break;
|
|
1281
1281
|
case 1:
|
|
1282
|
-
tmp5_local1 = tmp6_input.
|
|
1282
|
+
tmp5_local1 = tmp6_input.ur(tmp0_desc, 1);
|
|
1283
1283
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1284
1284
|
break;
|
|
1285
1285
|
default:
|
|
1286
1286
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
|
-
tmp6_input.
|
|
1289
|
+
tmp6_input.qr(tmp0_desc);
|
|
1290
1290
|
return CardDecksUserDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1291
1291
|
};
|
|
1292
|
-
protoOf($serializer_3).
|
|
1293
|
-
return this.
|
|
1292
|
+
protoOf($serializer_3).co = function () {
|
|
1293
|
+
return this.b55_1;
|
|
1294
1294
|
};
|
|
1295
|
-
protoOf($serializer_3).
|
|
1295
|
+
protoOf($serializer_3).wz = function () {
|
|
1296
1296
|
// Inline function 'kotlin.arrayOf' call
|
|
1297
1297
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1298
1298
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1306,25 +1306,25 @@
|
|
|
1306
1306
|
}
|
|
1307
1307
|
function CardDecksUserDataDto_init_$Init$(seen0, id, count, serializationConstructorMarker, $this) {
|
|
1308
1308
|
if (!(3 === (3 & seen0))) {
|
|
1309
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().
|
|
1309
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().b55_1);
|
|
1310
1310
|
}
|
|
1311
|
-
$this.
|
|
1312
|
-
$this.
|
|
1311
|
+
$this.d55_1 = id;
|
|
1312
|
+
$this.e55_1 = count;
|
|
1313
1313
|
return $this;
|
|
1314
1314
|
}
|
|
1315
1315
|
function CardDecksUserDataDto_init_$Create$(seen0, id, count, serializationConstructorMarker) {
|
|
1316
1316
|
return CardDecksUserDataDto_init_$Init$(seen0, id, count, serializationConstructorMarker, objectCreate(protoOf(CardDecksUserDataDto)));
|
|
1317
1317
|
}
|
|
1318
1318
|
function CardDecksUserDataDto(id, count) {
|
|
1319
|
-
this.
|
|
1320
|
-
this.
|
|
1319
|
+
this.d55_1 = id;
|
|
1320
|
+
this.e55_1 = count;
|
|
1321
1321
|
}
|
|
1322
1322
|
protoOf(CardDecksUserDataDto).toString = function () {
|
|
1323
|
-
return 'CardDecksUserDataDto(id=' + this.
|
|
1323
|
+
return 'CardDecksUserDataDto(id=' + this.d55_1 + ', count=' + this.e55_1 + ')';
|
|
1324
1324
|
};
|
|
1325
1325
|
protoOf(CardDecksUserDataDto).hashCode = function () {
|
|
1326
|
-
var result = getStringHashCode(this.
|
|
1327
|
-
result = imul(result, 31) + this.
|
|
1326
|
+
var result = getStringHashCode(this.d55_1);
|
|
1327
|
+
result = imul(result, 31) + this.e55_1 | 0;
|
|
1328
1328
|
return result;
|
|
1329
1329
|
};
|
|
1330
1330
|
protoOf(CardDecksUserDataDto).equals = function (other) {
|
|
@@ -1333,15 +1333,15 @@
|
|
|
1333
1333
|
if (!(other instanceof CardDecksUserDataDto))
|
|
1334
1334
|
return false;
|
|
1335
1335
|
var tmp0_other_with_cast = other instanceof CardDecksUserDataDto ? other : THROW_CCE();
|
|
1336
|
-
if (!(this.c55_1 === tmp0_other_with_cast.c55_1))
|
|
1337
|
-
return false;
|
|
1338
1336
|
if (!(this.d55_1 === tmp0_other_with_cast.d55_1))
|
|
1339
1337
|
return false;
|
|
1338
|
+
if (!(this.e55_1 === tmp0_other_with_cast.e55_1))
|
|
1339
|
+
return false;
|
|
1340
1340
|
return true;
|
|
1341
1341
|
};
|
|
1342
1342
|
function $serializer_init_$Init$_0(typeSerial0, $this) {
|
|
1343
1343
|
$serializer_4.call($this);
|
|
1344
|
-
$this.
|
|
1344
|
+
$this.g55_1 = typeSerial0;
|
|
1345
1345
|
return $this;
|
|
1346
1346
|
}
|
|
1347
1347
|
function $serializer_init_$Create$_0(typeSerial0) {
|
|
@@ -1350,16 +1350,16 @@
|
|
|
1350
1350
|
function Companion_5() {
|
|
1351
1351
|
Companion_instance_7 = this;
|
|
1352
1352
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomResponseDto', null, 3);
|
|
1353
|
-
tmp0_serialDesc.
|
|
1354
|
-
tmp0_serialDesc.
|
|
1355
|
-
tmp0_serialDesc.
|
|
1356
|
-
this.
|
|
1353
|
+
tmp0_serialDesc.hz('jsonrpc', false);
|
|
1354
|
+
tmp0_serialDesc.hz('result', false);
|
|
1355
|
+
tmp0_serialDesc.hz('id', false);
|
|
1356
|
+
this.h55_1 = tmp0_serialDesc;
|
|
1357
1357
|
}
|
|
1358
|
-
protoOf(Companion_5).
|
|
1358
|
+
protoOf(Companion_5).k54 = function (typeSerial0) {
|
|
1359
1359
|
return $serializer_init_$Create$_0(typeSerial0);
|
|
1360
1360
|
};
|
|
1361
|
-
protoOf(Companion_5).
|
|
1362
|
-
return this.
|
|
1361
|
+
protoOf(Companion_5).h10 = function (typeParamsSerializers) {
|
|
1362
|
+
return this.k54(typeParamsSerializers[0]);
|
|
1363
1363
|
};
|
|
1364
1364
|
var Companion_instance_7;
|
|
1365
1365
|
function Companion_getInstance_8() {
|
|
@@ -1369,86 +1369,86 @@
|
|
|
1369
1369
|
}
|
|
1370
1370
|
function $serializer_4() {
|
|
1371
1371
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomResponseDto', this, 3);
|
|
1372
|
-
tmp0_serialDesc.
|
|
1373
|
-
tmp0_serialDesc.
|
|
1374
|
-
tmp0_serialDesc.
|
|
1375
|
-
this.
|
|
1376
|
-
}
|
|
1377
|
-
protoOf($serializer_4).
|
|
1378
|
-
var tmp0_desc = this.
|
|
1379
|
-
var tmp1_output = encoder.
|
|
1380
|
-
tmp1_output.
|
|
1381
|
-
tmp1_output.
|
|
1382
|
-
tmp1_output.
|
|
1383
|
-
tmp1_output.
|
|
1384
|
-
};
|
|
1385
|
-
protoOf($serializer_4).
|
|
1386
|
-
return this.
|
|
1387
|
-
};
|
|
1388
|
-
protoOf($serializer_4).
|
|
1389
|
-
var tmp0_desc = this.
|
|
1372
|
+
tmp0_serialDesc.hz('jsonrpc', false);
|
|
1373
|
+
tmp0_serialDesc.hz('result', false);
|
|
1374
|
+
tmp0_serialDesc.hz('id', false);
|
|
1375
|
+
this.f55_1 = tmp0_serialDesc;
|
|
1376
|
+
}
|
|
1377
|
+
protoOf($serializer_4).i55 = function (encoder, value) {
|
|
1378
|
+
var tmp0_desc = this.f55_1;
|
|
1379
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
1380
|
+
tmp1_output.et(tmp0_desc, 0, value.j55_1);
|
|
1381
|
+
tmp1_output.gt(tmp0_desc, 1, this.g55_1, value.k55_1);
|
|
1382
|
+
tmp1_output.et(tmp0_desc, 2, value.l55_1);
|
|
1383
|
+
tmp1_output.qr(tmp0_desc);
|
|
1384
|
+
};
|
|
1385
|
+
protoOf($serializer_4).do = function (encoder, value) {
|
|
1386
|
+
return this.i55(encoder, value instanceof RandomResponseDto ? value : THROW_CCE());
|
|
1387
|
+
};
|
|
1388
|
+
protoOf($serializer_4).eo = function (decoder) {
|
|
1389
|
+
var tmp0_desc = this.f55_1;
|
|
1390
1390
|
var tmp1_flag = true;
|
|
1391
1391
|
var tmp2_index = 0;
|
|
1392
1392
|
var tmp3_bitMask0 = 0;
|
|
1393
1393
|
var tmp4_local0 = null;
|
|
1394
1394
|
var tmp5_local1 = null;
|
|
1395
1395
|
var tmp6_local2 = null;
|
|
1396
|
-
var tmp7_input = decoder.
|
|
1397
|
-
if (tmp7_input.
|
|
1398
|
-
tmp4_local0 = tmp7_input.
|
|
1396
|
+
var tmp7_input = decoder.pr(tmp0_desc);
|
|
1397
|
+
if (tmp7_input.fs()) {
|
|
1398
|
+
tmp4_local0 = tmp7_input.zr(tmp0_desc, 0);
|
|
1399
1399
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1400
|
-
tmp5_local1 = tmp7_input.
|
|
1400
|
+
tmp5_local1 = tmp7_input.bs(tmp0_desc, 1, this.g55_1, tmp5_local1);
|
|
1401
1401
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1402
|
-
tmp6_local2 = tmp7_input.
|
|
1402
|
+
tmp6_local2 = tmp7_input.zr(tmp0_desc, 2);
|
|
1403
1403
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1404
1404
|
} else
|
|
1405
1405
|
while (tmp1_flag) {
|
|
1406
|
-
tmp2_index = tmp7_input.
|
|
1406
|
+
tmp2_index = tmp7_input.gs(tmp0_desc);
|
|
1407
1407
|
switch (tmp2_index) {
|
|
1408
1408
|
case -1:
|
|
1409
1409
|
tmp1_flag = false;
|
|
1410
1410
|
break;
|
|
1411
1411
|
case 0:
|
|
1412
|
-
tmp4_local0 = tmp7_input.
|
|
1412
|
+
tmp4_local0 = tmp7_input.zr(tmp0_desc, 0);
|
|
1413
1413
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1414
1414
|
break;
|
|
1415
1415
|
case 1:
|
|
1416
|
-
tmp5_local1 = tmp7_input.
|
|
1416
|
+
tmp5_local1 = tmp7_input.bs(tmp0_desc, 1, this.g55_1, tmp5_local1);
|
|
1417
1417
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1418
1418
|
break;
|
|
1419
1419
|
case 2:
|
|
1420
|
-
tmp6_local2 = tmp7_input.
|
|
1420
|
+
tmp6_local2 = tmp7_input.zr(tmp0_desc, 2);
|
|
1421
1421
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1422
1422
|
break;
|
|
1423
1423
|
default:
|
|
1424
1424
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1425
1425
|
}
|
|
1426
1426
|
}
|
|
1427
|
-
tmp7_input.
|
|
1427
|
+
tmp7_input.qr(tmp0_desc);
|
|
1428
1428
|
return RandomResponseDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1429
1429
|
};
|
|
1430
|
-
protoOf($serializer_4).
|
|
1431
|
-
return this.
|
|
1430
|
+
protoOf($serializer_4).co = function () {
|
|
1431
|
+
return this.f55_1;
|
|
1432
1432
|
};
|
|
1433
|
-
protoOf($serializer_4).
|
|
1433
|
+
protoOf($serializer_4).wz = function () {
|
|
1434
1434
|
// Inline function 'kotlin.arrayOf' call
|
|
1435
1435
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1436
1436
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1437
|
-
return [StringSerializer_getInstance(), this.
|
|
1437
|
+
return [StringSerializer_getInstance(), this.g55_1, StringSerializer_getInstance()];
|
|
1438
1438
|
};
|
|
1439
|
-
protoOf($serializer_4).
|
|
1439
|
+
protoOf($serializer_4).xz = function () {
|
|
1440
1440
|
// Inline function 'kotlin.arrayOf' call
|
|
1441
1441
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1442
1442
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1443
|
-
return [this.
|
|
1443
|
+
return [this.g55_1];
|
|
1444
1444
|
};
|
|
1445
1445
|
function RandomResponseDto_init_$Init$(seen0, jsonrpc, result, id, serializationConstructorMarker, $this) {
|
|
1446
1446
|
if (!(7 === (7 & seen0))) {
|
|
1447
|
-
throwMissingFieldException(seen0, 7, Companion_getInstance_8().
|
|
1447
|
+
throwMissingFieldException(seen0, 7, Companion_getInstance_8().h55_1);
|
|
1448
1448
|
}
|
|
1449
|
-
$this.
|
|
1450
|
-
$this.
|
|
1451
|
-
$this.
|
|
1449
|
+
$this.j55_1 = jsonrpc;
|
|
1450
|
+
$this.k55_1 = result;
|
|
1451
|
+
$this.l55_1 = id;
|
|
1452
1452
|
return $this;
|
|
1453
1453
|
}
|
|
1454
1454
|
function RandomResponseDto_init_$Create$(seen0, jsonrpc, result, id, serializationConstructorMarker) {
|
|
@@ -1456,17 +1456,17 @@
|
|
|
1456
1456
|
}
|
|
1457
1457
|
function RandomResponseDto(jsonrpc, result, id) {
|
|
1458
1458
|
Companion_getInstance_8();
|
|
1459
|
-
this.
|
|
1460
|
-
this.
|
|
1461
|
-
this.
|
|
1459
|
+
this.j55_1 = jsonrpc;
|
|
1460
|
+
this.k55_1 = result;
|
|
1461
|
+
this.l55_1 = id;
|
|
1462
1462
|
}
|
|
1463
1463
|
protoOf(RandomResponseDto).toString = function () {
|
|
1464
|
-
return 'RandomResponseDto(jsonrpc=' + this.
|
|
1464
|
+
return 'RandomResponseDto(jsonrpc=' + this.j55_1 + ', result=' + toString(this.k55_1) + ', id=' + this.l55_1 + ')';
|
|
1465
1465
|
};
|
|
1466
1466
|
protoOf(RandomResponseDto).hashCode = function () {
|
|
1467
|
-
var result = getStringHashCode(this.
|
|
1468
|
-
result = imul(result, 31) + hashCode(this.
|
|
1469
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1467
|
+
var result = getStringHashCode(this.j55_1);
|
|
1468
|
+
result = imul(result, 31) + hashCode(this.k55_1) | 0;
|
|
1469
|
+
result = imul(result, 31) + getStringHashCode(this.l55_1) | 0;
|
|
1470
1470
|
return result;
|
|
1471
1471
|
};
|
|
1472
1472
|
protoOf(RandomResponseDto).equals = function (other) {
|
|
@@ -1475,11 +1475,11 @@
|
|
|
1475
1475
|
if (!(other instanceof RandomResponseDto))
|
|
1476
1476
|
return false;
|
|
1477
1477
|
var tmp0_other_with_cast = other instanceof RandomResponseDto ? other : THROW_CCE();
|
|
1478
|
-
if (!(this.
|
|
1478
|
+
if (!(this.j55_1 === tmp0_other_with_cast.j55_1))
|
|
1479
1479
|
return false;
|
|
1480
|
-
if (!equals(this.
|
|
1480
|
+
if (!equals(this.k55_1, tmp0_other_with_cast.k55_1))
|
|
1481
1481
|
return false;
|
|
1482
|
-
if (!(this.
|
|
1482
|
+
if (!(this.l55_1 === tmp0_other_with_cast.l55_1))
|
|
1483
1483
|
return false;
|
|
1484
1484
|
return true;
|
|
1485
1485
|
};
|
|
@@ -1492,30 +1492,30 @@
|
|
|
1492
1492
|
function $serializer_5() {
|
|
1493
1493
|
$serializer_instance_3 = this;
|
|
1494
1494
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomResultDto.IntegerSequencesResultDto', this, 6);
|
|
1495
|
-
tmp0_serialDesc.
|
|
1496
|
-
tmp0_serialDesc.
|
|
1497
|
-
tmp0_serialDesc.
|
|
1498
|
-
tmp0_serialDesc.
|
|
1499
|
-
tmp0_serialDesc.
|
|
1500
|
-
tmp0_serialDesc.
|
|
1501
|
-
this.
|
|
1502
|
-
}
|
|
1503
|
-
protoOf($serializer_5).
|
|
1504
|
-
var tmp0_desc = this.
|
|
1505
|
-
var tmp1_output = encoder.
|
|
1506
|
-
tmp1_output.
|
|
1507
|
-
tmp1_output.
|
|
1508
|
-
tmp1_output.
|
|
1509
|
-
tmp1_output.
|
|
1510
|
-
tmp1_output.
|
|
1511
|
-
tmp1_output.
|
|
1512
|
-
tmp1_output.
|
|
1513
|
-
};
|
|
1514
|
-
protoOf($serializer_5).
|
|
1515
|
-
return this.
|
|
1516
|
-
};
|
|
1517
|
-
protoOf($serializer_5).
|
|
1518
|
-
var tmp0_desc = this.
|
|
1495
|
+
tmp0_serialDesc.hz('random', false);
|
|
1496
|
+
tmp0_serialDesc.hz('signature', false);
|
|
1497
|
+
tmp0_serialDesc.hz('bitsUsed', false);
|
|
1498
|
+
tmp0_serialDesc.hz('bitsLeft', false);
|
|
1499
|
+
tmp0_serialDesc.hz('requestsLeft', false);
|
|
1500
|
+
tmp0_serialDesc.hz('advisoryDelay', false);
|
|
1501
|
+
this.m55_1 = tmp0_serialDesc;
|
|
1502
|
+
}
|
|
1503
|
+
protoOf($serializer_5).n55 = function (encoder, value) {
|
|
1504
|
+
var tmp0_desc = this.m55_1;
|
|
1505
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
1506
|
+
tmp1_output.gt(tmp0_desc, 0, $serializer_getInstance_4(), value.o55_1);
|
|
1507
|
+
tmp1_output.it(tmp0_desc, 1, StringSerializer_getInstance(), value.p55_1);
|
|
1508
|
+
tmp1_output.it(tmp0_desc, 2, IntSerializer_getInstance(), value.q55_1);
|
|
1509
|
+
tmp1_output.it(tmp0_desc, 3, IntSerializer_getInstance(), value.r55_1);
|
|
1510
|
+
tmp1_output.it(tmp0_desc, 4, IntSerializer_getInstance(), value.s55_1);
|
|
1511
|
+
tmp1_output.it(tmp0_desc, 5, IntSerializer_getInstance(), value.t55_1);
|
|
1512
|
+
tmp1_output.qr(tmp0_desc);
|
|
1513
|
+
};
|
|
1514
|
+
protoOf($serializer_5).do = function (encoder, value) {
|
|
1515
|
+
return this.n55(encoder, value instanceof IntegerSequencesResultDto ? value : THROW_CCE());
|
|
1516
|
+
};
|
|
1517
|
+
protoOf($serializer_5).eo = function (decoder) {
|
|
1518
|
+
var tmp0_desc = this.m55_1;
|
|
1519
1519
|
var tmp1_flag = true;
|
|
1520
1520
|
var tmp2_index = 0;
|
|
1521
1521
|
var tmp3_bitMask0 = 0;
|
|
@@ -1525,62 +1525,62 @@
|
|
|
1525
1525
|
var tmp7_local3 = null;
|
|
1526
1526
|
var tmp8_local4 = null;
|
|
1527
1527
|
var tmp9_local5 = null;
|
|
1528
|
-
var tmp10_input = decoder.
|
|
1529
|
-
if (tmp10_input.
|
|
1530
|
-
tmp4_local0 = tmp10_input.
|
|
1528
|
+
var tmp10_input = decoder.pr(tmp0_desc);
|
|
1529
|
+
if (tmp10_input.fs()) {
|
|
1530
|
+
tmp4_local0 = tmp10_input.bs(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
|
|
1531
1531
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1532
|
-
tmp5_local1 = tmp10_input.
|
|
1532
|
+
tmp5_local1 = tmp10_input.ds(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1533
1533
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1534
|
-
tmp6_local2 = tmp10_input.
|
|
1534
|
+
tmp6_local2 = tmp10_input.ds(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
1535
1535
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1536
|
-
tmp7_local3 = tmp10_input.
|
|
1536
|
+
tmp7_local3 = tmp10_input.ds(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
|
|
1537
1537
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1538
|
-
tmp8_local4 = tmp10_input.
|
|
1538
|
+
tmp8_local4 = tmp10_input.ds(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
|
|
1539
1539
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1540
|
-
tmp9_local5 = tmp10_input.
|
|
1540
|
+
tmp9_local5 = tmp10_input.ds(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
1541
1541
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1542
1542
|
} else
|
|
1543
1543
|
while (tmp1_flag) {
|
|
1544
|
-
tmp2_index = tmp10_input.
|
|
1544
|
+
tmp2_index = tmp10_input.gs(tmp0_desc);
|
|
1545
1545
|
switch (tmp2_index) {
|
|
1546
1546
|
case -1:
|
|
1547
1547
|
tmp1_flag = false;
|
|
1548
1548
|
break;
|
|
1549
1549
|
case 0:
|
|
1550
|
-
tmp4_local0 = tmp10_input.
|
|
1550
|
+
tmp4_local0 = tmp10_input.bs(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
|
|
1551
1551
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1552
1552
|
break;
|
|
1553
1553
|
case 1:
|
|
1554
|
-
tmp5_local1 = tmp10_input.
|
|
1554
|
+
tmp5_local1 = tmp10_input.ds(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1555
1555
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1556
1556
|
break;
|
|
1557
1557
|
case 2:
|
|
1558
|
-
tmp6_local2 = tmp10_input.
|
|
1558
|
+
tmp6_local2 = tmp10_input.ds(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
1559
1559
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1560
1560
|
break;
|
|
1561
1561
|
case 3:
|
|
1562
|
-
tmp7_local3 = tmp10_input.
|
|
1562
|
+
tmp7_local3 = tmp10_input.ds(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
|
|
1563
1563
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1564
1564
|
break;
|
|
1565
1565
|
case 4:
|
|
1566
|
-
tmp8_local4 = tmp10_input.
|
|
1566
|
+
tmp8_local4 = tmp10_input.ds(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
|
|
1567
1567
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1568
1568
|
break;
|
|
1569
1569
|
case 5:
|
|
1570
|
-
tmp9_local5 = tmp10_input.
|
|
1570
|
+
tmp9_local5 = tmp10_input.ds(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
1571
1571
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1572
1572
|
break;
|
|
1573
1573
|
default:
|
|
1574
1574
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1575
1575
|
}
|
|
1576
1576
|
}
|
|
1577
|
-
tmp10_input.
|
|
1577
|
+
tmp10_input.qr(tmp0_desc);
|
|
1578
1578
|
return IntegerSequencesResultDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
1579
1579
|
};
|
|
1580
|
-
protoOf($serializer_5).
|
|
1581
|
-
return this.
|
|
1580
|
+
protoOf($serializer_5).co = function () {
|
|
1581
|
+
return this.m55_1;
|
|
1582
1582
|
};
|
|
1583
|
-
protoOf($serializer_5).
|
|
1583
|
+
protoOf($serializer_5).wz = function () {
|
|
1584
1584
|
// Inline function 'kotlin.arrayOf' call
|
|
1585
1585
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1586
1586
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1594,37 +1594,37 @@
|
|
|
1594
1594
|
}
|
|
1595
1595
|
function IntegerSequencesResultDto_init_$Init$(seen0, random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay, serializationConstructorMarker, $this) {
|
|
1596
1596
|
if (!(63 === (63 & seen0))) {
|
|
1597
|
-
throwMissingFieldException(seen0, 63, $serializer_getInstance_3().
|
|
1597
|
+
throwMissingFieldException(seen0, 63, $serializer_getInstance_3().m55_1);
|
|
1598
1598
|
}
|
|
1599
|
-
$this.
|
|
1600
|
-
$this.
|
|
1601
|
-
$this.
|
|
1602
|
-
$this.
|
|
1603
|
-
$this.
|
|
1604
|
-
$this.
|
|
1599
|
+
$this.o55_1 = random;
|
|
1600
|
+
$this.p55_1 = signature;
|
|
1601
|
+
$this.q55_1 = bitsUsed;
|
|
1602
|
+
$this.r55_1 = bitsLeft;
|
|
1603
|
+
$this.s55_1 = requestsLeft;
|
|
1604
|
+
$this.t55_1 = advisoryDelay;
|
|
1605
1605
|
return $this;
|
|
1606
1606
|
}
|
|
1607
1607
|
function IntegerSequencesResultDto_init_$Create$(seen0, random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay, serializationConstructorMarker) {
|
|
1608
1608
|
return IntegerSequencesResultDto_init_$Init$(seen0, random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay, serializationConstructorMarker, objectCreate(protoOf(IntegerSequencesResultDto)));
|
|
1609
1609
|
}
|
|
1610
1610
|
function IntegerSequencesResultDto(random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay) {
|
|
1611
|
-
this.
|
|
1612
|
-
this.
|
|
1613
|
-
this.
|
|
1614
|
-
this.
|
|
1615
|
-
this.
|
|
1616
|
-
this.
|
|
1611
|
+
this.o55_1 = random;
|
|
1612
|
+
this.p55_1 = signature;
|
|
1613
|
+
this.q55_1 = bitsUsed;
|
|
1614
|
+
this.r55_1 = bitsLeft;
|
|
1615
|
+
this.s55_1 = requestsLeft;
|
|
1616
|
+
this.t55_1 = advisoryDelay;
|
|
1617
1617
|
}
|
|
1618
1618
|
protoOf(IntegerSequencesResultDto).toString = function () {
|
|
1619
|
-
return 'IntegerSequencesResultDto(random=' + this.
|
|
1619
|
+
return 'IntegerSequencesResultDto(random=' + this.o55_1.toString() + ', signature=' + this.p55_1 + ', bitsUsed=' + this.q55_1 + ', bitsLeft=' + this.r55_1 + ', requestsLeft=' + this.s55_1 + ', advisoryDelay=' + this.t55_1 + ')';
|
|
1620
1620
|
};
|
|
1621
1621
|
protoOf(IntegerSequencesResultDto).hashCode = function () {
|
|
1622
|
-
var result = this.
|
|
1623
|
-
result = imul(result, 31) + (this.
|
|
1624
|
-
result = imul(result, 31) + (this.p55_1 == null ? 0 : this.p55_1) | 0;
|
|
1622
|
+
var result = this.o55_1.hashCode();
|
|
1623
|
+
result = imul(result, 31) + (this.p55_1 == null ? 0 : getStringHashCode(this.p55_1)) | 0;
|
|
1625
1624
|
result = imul(result, 31) + (this.q55_1 == null ? 0 : this.q55_1) | 0;
|
|
1626
1625
|
result = imul(result, 31) + (this.r55_1 == null ? 0 : this.r55_1) | 0;
|
|
1627
1626
|
result = imul(result, 31) + (this.s55_1 == null ? 0 : this.s55_1) | 0;
|
|
1627
|
+
result = imul(result, 31) + (this.t55_1 == null ? 0 : this.t55_1) | 0;
|
|
1628
1628
|
return result;
|
|
1629
1629
|
};
|
|
1630
1630
|
protoOf(IntegerSequencesResultDto).equals = function (other) {
|
|
@@ -1633,9 +1633,7 @@
|
|
|
1633
1633
|
if (!(other instanceof IntegerSequencesResultDto))
|
|
1634
1634
|
return false;
|
|
1635
1635
|
var tmp0_other_with_cast = other instanceof IntegerSequencesResultDto ? other : THROW_CCE();
|
|
1636
|
-
if (!this.
|
|
1637
|
-
return false;
|
|
1638
|
-
if (!(this.o55_1 == tmp0_other_with_cast.o55_1))
|
|
1636
|
+
if (!this.o55_1.equals(tmp0_other_with_cast.o55_1))
|
|
1639
1637
|
return false;
|
|
1640
1638
|
if (!(this.p55_1 == tmp0_other_with_cast.p55_1))
|
|
1641
1639
|
return false;
|
|
@@ -1645,6 +1643,8 @@
|
|
|
1645
1643
|
return false;
|
|
1646
1644
|
if (!(this.s55_1 == tmp0_other_with_cast.s55_1))
|
|
1647
1645
|
return false;
|
|
1646
|
+
if (!(this.t55_1 == tmp0_other_with_cast.t55_1))
|
|
1647
|
+
return false;
|
|
1648
1648
|
return true;
|
|
1649
1649
|
};
|
|
1650
1650
|
function RandomDataDto$IntegerSequencesDataDto$Companion$$childSerializers$_anonymous__ummwez() {
|
|
@@ -1657,7 +1657,7 @@
|
|
|
1657
1657
|
// Inline function 'kotlin.arrayOf' call
|
|
1658
1658
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1659
1659
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1660
|
-
tmp.
|
|
1660
|
+
tmp.u55_1 = [lazy(tmp_0, RandomDataDto$IntegerSequencesDataDto$Companion$$childSerializers$_anonymous__ummwez), null, null];
|
|
1661
1661
|
}
|
|
1662
1662
|
var Companion_instance_9;
|
|
1663
1663
|
function Companion_getInstance_10() {
|
|
@@ -1668,74 +1668,74 @@
|
|
|
1668
1668
|
function $serializer_6() {
|
|
1669
1669
|
$serializer_instance_4 = this;
|
|
1670
1670
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomDataDto.IntegerSequencesDataDto', this, 3);
|
|
1671
|
-
tmp0_serialDesc.
|
|
1672
|
-
tmp0_serialDesc.
|
|
1673
|
-
tmp0_serialDesc.
|
|
1674
|
-
this.
|
|
1675
|
-
}
|
|
1676
|
-
protoOf($serializer_6).
|
|
1677
|
-
var tmp0_desc = this.
|
|
1678
|
-
var tmp1_output = encoder.
|
|
1679
|
-
var tmp2_cached = Companion_getInstance_10().
|
|
1680
|
-
tmp1_output.
|
|
1681
|
-
tmp1_output.
|
|
1682
|
-
tmp1_output.
|
|
1683
|
-
tmp1_output.
|
|
1684
|
-
};
|
|
1685
|
-
protoOf($serializer_6).
|
|
1686
|
-
return this.
|
|
1687
|
-
};
|
|
1688
|
-
protoOf($serializer_6).
|
|
1689
|
-
var tmp0_desc = this.
|
|
1671
|
+
tmp0_serialDesc.hz('data', false);
|
|
1672
|
+
tmp0_serialDesc.hz('completionTime', false);
|
|
1673
|
+
tmp0_serialDesc.hz('ticketId', false);
|
|
1674
|
+
this.v55_1 = tmp0_serialDesc;
|
|
1675
|
+
}
|
|
1676
|
+
protoOf($serializer_6).w55 = function (encoder, value) {
|
|
1677
|
+
var tmp0_desc = this.v55_1;
|
|
1678
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
1679
|
+
var tmp2_cached = Companion_getInstance_10().u55_1;
|
|
1680
|
+
tmp1_output.gt(tmp0_desc, 0, tmp2_cached[0].x(), value.x55_1);
|
|
1681
|
+
tmp1_output.et(tmp0_desc, 1, value.y55_1);
|
|
1682
|
+
tmp1_output.it(tmp0_desc, 2, StringSerializer_getInstance(), value.z55_1);
|
|
1683
|
+
tmp1_output.qr(tmp0_desc);
|
|
1684
|
+
};
|
|
1685
|
+
protoOf($serializer_6).do = function (encoder, value) {
|
|
1686
|
+
return this.w55(encoder, value instanceof IntegerSequencesDataDto ? value : THROW_CCE());
|
|
1687
|
+
};
|
|
1688
|
+
protoOf($serializer_6).eo = function (decoder) {
|
|
1689
|
+
var tmp0_desc = this.v55_1;
|
|
1690
1690
|
var tmp1_flag = true;
|
|
1691
1691
|
var tmp2_index = 0;
|
|
1692
1692
|
var tmp3_bitMask0 = 0;
|
|
1693
1693
|
var tmp4_local0 = null;
|
|
1694
1694
|
var tmp5_local1 = null;
|
|
1695
1695
|
var tmp6_local2 = null;
|
|
1696
|
-
var tmp7_input = decoder.
|
|
1697
|
-
var tmp8_cached = Companion_getInstance_10().
|
|
1698
|
-
if (tmp7_input.
|
|
1699
|
-
tmp4_local0 = tmp7_input.
|
|
1696
|
+
var tmp7_input = decoder.pr(tmp0_desc);
|
|
1697
|
+
var tmp8_cached = Companion_getInstance_10().u55_1;
|
|
1698
|
+
if (tmp7_input.fs()) {
|
|
1699
|
+
tmp4_local0 = tmp7_input.bs(tmp0_desc, 0, tmp8_cached[0].x(), tmp4_local0);
|
|
1700
1700
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1701
|
-
tmp5_local1 = tmp7_input.
|
|
1701
|
+
tmp5_local1 = tmp7_input.zr(tmp0_desc, 1);
|
|
1702
1702
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1703
|
-
tmp6_local2 = tmp7_input.
|
|
1703
|
+
tmp6_local2 = tmp7_input.ds(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1704
1704
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1705
1705
|
} else
|
|
1706
1706
|
while (tmp1_flag) {
|
|
1707
|
-
tmp2_index = tmp7_input.
|
|
1707
|
+
tmp2_index = tmp7_input.gs(tmp0_desc);
|
|
1708
1708
|
switch (tmp2_index) {
|
|
1709
1709
|
case -1:
|
|
1710
1710
|
tmp1_flag = false;
|
|
1711
1711
|
break;
|
|
1712
1712
|
case 0:
|
|
1713
|
-
tmp4_local0 = tmp7_input.
|
|
1713
|
+
tmp4_local0 = tmp7_input.bs(tmp0_desc, 0, tmp8_cached[0].x(), tmp4_local0);
|
|
1714
1714
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1715
1715
|
break;
|
|
1716
1716
|
case 1:
|
|
1717
|
-
tmp5_local1 = tmp7_input.
|
|
1717
|
+
tmp5_local1 = tmp7_input.zr(tmp0_desc, 1);
|
|
1718
1718
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1719
1719
|
break;
|
|
1720
1720
|
case 2:
|
|
1721
|
-
tmp6_local2 = tmp7_input.
|
|
1721
|
+
tmp6_local2 = tmp7_input.ds(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1722
1722
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1723
1723
|
break;
|
|
1724
1724
|
default:
|
|
1725
1725
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
|
-
tmp7_input.
|
|
1728
|
+
tmp7_input.qr(tmp0_desc);
|
|
1729
1729
|
return IntegerSequencesDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1730
1730
|
};
|
|
1731
|
-
protoOf($serializer_6).
|
|
1732
|
-
return this.
|
|
1731
|
+
protoOf($serializer_6).co = function () {
|
|
1732
|
+
return this.v55_1;
|
|
1733
1733
|
};
|
|
1734
|
-
protoOf($serializer_6).
|
|
1734
|
+
protoOf($serializer_6).wz = function () {
|
|
1735
1735
|
// Inline function 'kotlin.arrayOf' call
|
|
1736
1736
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1737
1737
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1738
|
-
return [Companion_getInstance_10().
|
|
1738
|
+
return [Companion_getInstance_10().u55_1[0].x(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
1739
1739
|
};
|
|
1740
1740
|
var $serializer_instance_4;
|
|
1741
1741
|
function $serializer_getInstance_4() {
|
|
@@ -1745,11 +1745,11 @@
|
|
|
1745
1745
|
}
|
|
1746
1746
|
function IntegerSequencesDataDto_init_$Init$(seen0, data, completionTime, ticketId, serializationConstructorMarker, $this) {
|
|
1747
1747
|
if (!(7 === (7 & seen0))) {
|
|
1748
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_4().
|
|
1748
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_4().v55_1);
|
|
1749
1749
|
}
|
|
1750
|
-
$this.
|
|
1751
|
-
$this.
|
|
1752
|
-
$this.
|
|
1750
|
+
$this.x55_1 = data;
|
|
1751
|
+
$this.y55_1 = completionTime;
|
|
1752
|
+
$this.z55_1 = ticketId;
|
|
1753
1753
|
return $this;
|
|
1754
1754
|
}
|
|
1755
1755
|
function IntegerSequencesDataDto_init_$Create$(seen0, data, completionTime, ticketId, serializationConstructorMarker) {
|
|
@@ -1758,12 +1758,12 @@
|
|
|
1758
1758
|
function IntegerSequencesDataDto() {
|
|
1759
1759
|
}
|
|
1760
1760
|
protoOf(IntegerSequencesDataDto).toString = function () {
|
|
1761
|
-
return 'IntegerSequencesDataDto(data=' + toString(this.
|
|
1761
|
+
return 'IntegerSequencesDataDto(data=' + toString(this.x55_1) + ', completionTime=' + this.y55_1 + ', ticketId=' + this.z55_1 + ')';
|
|
1762
1762
|
};
|
|
1763
1763
|
protoOf(IntegerSequencesDataDto).hashCode = function () {
|
|
1764
|
-
var result = hashCode(this.
|
|
1765
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1766
|
-
result = imul(result, 31) + (this.
|
|
1764
|
+
var result = hashCode(this.x55_1);
|
|
1765
|
+
result = imul(result, 31) + getStringHashCode(this.y55_1) | 0;
|
|
1766
|
+
result = imul(result, 31) + (this.z55_1 == null ? 0 : getStringHashCode(this.z55_1)) | 0;
|
|
1767
1767
|
return result;
|
|
1768
1768
|
};
|
|
1769
1769
|
protoOf(IntegerSequencesDataDto).equals = function (other) {
|
|
@@ -1772,11 +1772,11 @@
|
|
|
1772
1772
|
if (!(other instanceof IntegerSequencesDataDto))
|
|
1773
1773
|
return false;
|
|
1774
1774
|
var tmp0_other_with_cast = other instanceof IntegerSequencesDataDto ? other : THROW_CCE();
|
|
1775
|
-
if (!equals(this.
|
|
1775
|
+
if (!equals(this.x55_1, tmp0_other_with_cast.x55_1))
|
|
1776
1776
|
return false;
|
|
1777
|
-
if (!(this.
|
|
1777
|
+
if (!(this.y55_1 === tmp0_other_with_cast.y55_1))
|
|
1778
1778
|
return false;
|
|
1779
|
-
if (!(this.
|
|
1779
|
+
if (!(this.z55_1 == tmp0_other_with_cast.z55_1))
|
|
1780
1780
|
return false;
|
|
1781
1781
|
return true;
|
|
1782
1782
|
};
|
|
@@ -1795,7 +1795,7 @@
|
|
|
1795
1795
|
return toString(getValue(get_jsonObject(getValue(bodyAsJson, 'result')), 'random'));
|
|
1796
1796
|
}
|
|
1797
1797
|
function Companion_8() {
|
|
1798
|
-
this.
|
|
1798
|
+
this.m56_1 = 52;
|
|
1799
1799
|
}
|
|
1800
1800
|
var Companion_instance_10;
|
|
1801
1801
|
function Companion_getInstance_11() {
|
|
@@ -1803,13 +1803,13 @@
|
|
|
1803
1803
|
}
|
|
1804
1804
|
function $getRandomCardDecksCOROUTINE$(_this__u8e3s4, min, max, decksCount, cardsCount, userData, signed, resultContinuation) {
|
|
1805
1805
|
CoroutineImpl.call(this, resultContinuation);
|
|
1806
|
-
this.
|
|
1807
|
-
this.
|
|
1808
|
-
this.
|
|
1809
|
-
this.
|
|
1810
|
-
this.
|
|
1811
|
-
this.
|
|
1812
|
-
this.
|
|
1806
|
+
this.v56_1 = _this__u8e3s4;
|
|
1807
|
+
this.w56_1 = min;
|
|
1808
|
+
this.x56_1 = max;
|
|
1809
|
+
this.y56_1 = decksCount;
|
|
1810
|
+
this.z56_1 = cardsCount;
|
|
1811
|
+
this.a57_1 = userData;
|
|
1812
|
+
this.b57_1 = signed;
|
|
1813
1813
|
}
|
|
1814
1814
|
protoOf($getRandomCardDecksCOROUTINE$).a9 = function () {
|
|
1815
1815
|
var suspendResult = this.u8_1;
|
|
@@ -1820,27 +1820,27 @@
|
|
|
1820
1820
|
case 0:
|
|
1821
1821
|
this.t8_1 = 6;
|
|
1822
1822
|
this.t8_1 = 5;
|
|
1823
|
-
var tmp0 = this.
|
|
1823
|
+
var tmp0 = this.v56_1.e57_1;
|
|
1824
1824
|
var this_0 = new HttpRequestBuilder();
|
|
1825
1825
|
url(this_0, '/json-rpc/4/invoke');
|
|
1826
|
-
var tmp3_id = this.
|
|
1827
|
-
var tmp4_method = this.
|
|
1828
|
-
var tmp0_apiKey = this.
|
|
1829
|
-
var size = this.
|
|
1826
|
+
var tmp3_id = this.a57_1.id;
|
|
1827
|
+
var tmp4_method = this.b57_1 ? 'generateSignedIntegerSequences' : 'generateIntegerSequences';
|
|
1828
|
+
var tmp0_apiKey = this.v56_1.f57_1;
|
|
1829
|
+
var size = this.y56_1;
|
|
1830
1830
|
var list = ArrayList_init_$Create$(size);
|
|
1831
1831
|
var inductionVariable = 0;
|
|
1832
1832
|
if (inductionVariable < size)
|
|
1833
1833
|
do {
|
|
1834
1834
|
var index = inductionVariable;
|
|
1835
1835
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1836
|
-
list.j(this.
|
|
1836
|
+
list.j(this.z56_1);
|
|
1837
1837
|
}
|
|
1838
1838
|
while (inductionVariable < size);
|
|
1839
|
-
var tmp2_userData = this.
|
|
1840
|
-
var tmp5_params = new RandomIntegerSequencesParamsDto(tmp0_apiKey, this.
|
|
1839
|
+
var tmp2_userData = this.b57_1 ? mapToDto(this.a57_1) : null;
|
|
1840
|
+
var tmp5_params = new RandomIntegerSequencesParamsDto(tmp0_apiKey, this.y56_1, list, this.w56_1, this.x56_1, false, null, tmp2_userData);
|
|
1841
1841
|
var body = new RandomRequestDto('2.0', tmp4_method, tmp5_params, tmp3_id);
|
|
1842
1842
|
if (body == null) {
|
|
1843
|
-
this_0.
|
|
1843
|
+
this_0.l3r_1 = NullBody_instance;
|
|
1844
1844
|
var tmp_0 = JsType_instance;
|
|
1845
1845
|
var tmp_1 = getKClass(RandomRequestDto);
|
|
1846
1846
|
var tmp_2;
|
|
@@ -1856,13 +1856,13 @@
|
|
|
1856
1856
|
}
|
|
1857
1857
|
tmp_2 = tmp_3;
|
|
1858
1858
|
}
|
|
1859
|
-
this_0.
|
|
1859
|
+
this_0.x3w(typeInfoImpl(tmp_0, tmp_1, tmp_2));
|
|
1860
1860
|
} else {
|
|
1861
1861
|
if (body instanceof OutgoingContent) {
|
|
1862
|
-
this_0.
|
|
1863
|
-
this_0.
|
|
1862
|
+
this_0.l3r_1 = body;
|
|
1863
|
+
this_0.x3w(null);
|
|
1864
1864
|
} else {
|
|
1865
|
-
this_0.
|
|
1865
|
+
this_0.l3r_1 = body;
|
|
1866
1866
|
var tmp_4 = JsType_instance;
|
|
1867
1867
|
var tmp_5 = getKClass(RandomRequestDto);
|
|
1868
1868
|
var tmp_6;
|
|
@@ -1878,23 +1878,23 @@
|
|
|
1878
1878
|
}
|
|
1879
1879
|
tmp_6 = tmp_7;
|
|
1880
1880
|
}
|
|
1881
|
-
this_0.
|
|
1881
|
+
this_0.x3w(typeInfoImpl(tmp_4, tmp_5, tmp_6));
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
1884
1884
|
|
|
1885
|
-
this_0.
|
|
1885
|
+
this_0.j3r_1 = Companion_getInstance().l3i_1;
|
|
1886
1886
|
this.s8_1 = 1;
|
|
1887
|
-
suspendResult = (new HttpStatement(this_0, tmp0)).
|
|
1887
|
+
suspendResult = (new HttpStatement(this_0, tmp0)).y4h(this);
|
|
1888
1888
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1889
1889
|
return suspendResult;
|
|
1890
1890
|
}
|
|
1891
1891
|
|
|
1892
1892
|
continue $sm;
|
|
1893
1893
|
case 1:
|
|
1894
|
-
this.
|
|
1895
|
-
var this_1 = this.
|
|
1894
|
+
this.d57_1 = suspendResult;
|
|
1895
|
+
var this_1 = this.d57_1;
|
|
1896
1896
|
this.s8_1 = 2;
|
|
1897
|
-
var tmp_8 = this_1.
|
|
1897
|
+
var tmp_8 = this_1.m3u();
|
|
1898
1898
|
var tmp_9 = JsType_instance;
|
|
1899
1899
|
var tmp_10 = getKClass(JsonObject);
|
|
1900
1900
|
var tmp_11;
|
|
@@ -1911,7 +1911,7 @@
|
|
|
1911
1911
|
tmp_11 = tmp_12;
|
|
1912
1912
|
}
|
|
1913
1913
|
|
|
1914
|
-
suspendResult = tmp_8.
|
|
1914
|
+
suspendResult = tmp_8.q3t(typeInfoImpl(tmp_9, tmp_10, tmp_11), this);
|
|
1915
1915
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1916
1916
|
return suspendResult;
|
|
1917
1917
|
}
|
|
@@ -1919,18 +1919,18 @@
|
|
|
1919
1919
|
continue $sm;
|
|
1920
1920
|
case 2:
|
|
1921
1921
|
var tmp_13 = this;
|
|
1922
|
-
tmp_13.
|
|
1922
|
+
tmp_13.c57_1 = suspendResult instanceof JsonObject ? suspendResult : THROW_CCE();
|
|
1923
1923
|
this.s8_1 = 3;
|
|
1924
|
-
suspendResult = throwIfError(this.
|
|
1924
|
+
suspendResult = throwIfError(this.v56_1, this.c57_1, this.d57_1, this);
|
|
1925
1925
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1926
1926
|
return suspendResult;
|
|
1927
1927
|
}
|
|
1928
1928
|
|
|
1929
1929
|
continue $sm;
|
|
1930
1930
|
case 3:
|
|
1931
|
-
var this_2 = this.
|
|
1931
|
+
var this_2 = this.d57_1;
|
|
1932
1932
|
this.s8_1 = 4;
|
|
1933
|
-
var tmp_14 = this_2.
|
|
1933
|
+
var tmp_14 = this_2.m3u();
|
|
1934
1934
|
var tmp_15 = JsType_instance;
|
|
1935
1935
|
var tmp_16 = getKClass(RandomResponseDto);
|
|
1936
1936
|
var tmp_17;
|
|
@@ -1947,7 +1947,7 @@
|
|
|
1947
1947
|
tmp_17 = tmp_18;
|
|
1948
1948
|
}
|
|
1949
1949
|
|
|
1950
|
-
suspendResult = tmp_14.
|
|
1950
|
+
suspendResult = tmp_14.q3t(typeInfoImpl(tmp_15, tmp_16, tmp_17), this);
|
|
1951
1951
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1952
1952
|
return suspendResult;
|
|
1953
1953
|
}
|
|
@@ -1955,10 +1955,10 @@
|
|
|
1955
1955
|
continue $sm;
|
|
1956
1956
|
case 4:
|
|
1957
1957
|
var responseDto = suspendResult instanceof RandomResponseDto ? suspendResult : THROW_CCE();
|
|
1958
|
-
var randomJson = extractRandomResult(this.
|
|
1959
|
-
var tmp0_cardDecks = responseDto.
|
|
1960
|
-
var tmp1_signature = responseDto.
|
|
1961
|
-
var tmp2_id = responseDto.
|
|
1958
|
+
var randomJson = extractRandomResult(this.v56_1, this.c57_1);
|
|
1959
|
+
var tmp0_cardDecks = responseDto.k55_1.o55_1.x55_1;
|
|
1960
|
+
var tmp1_signature = responseDto.k55_1.p55_1;
|
|
1961
|
+
var tmp2_id = responseDto.l55_1;
|
|
1962
1962
|
return new CardDeckResult(tmp0_cardDecks, randomJson, tmp2_id, tmp1_signature);
|
|
1963
1963
|
case 5:
|
|
1964
1964
|
this.t8_1 = 6;
|
|
@@ -1990,9 +1990,9 @@
|
|
|
1990
1990
|
};
|
|
1991
1991
|
function $throwIfErrorCOROUTINE$(_this__u8e3s4, bodyAsJson, response, resultContinuation) {
|
|
1992
1992
|
CoroutineImpl.call(this, resultContinuation);
|
|
1993
|
-
this.
|
|
1994
|
-
this.
|
|
1995
|
-
this.
|
|
1993
|
+
this.j56_1 = _this__u8e3s4;
|
|
1994
|
+
this.k56_1 = bodyAsJson;
|
|
1995
|
+
this.l56_1 = response;
|
|
1996
1996
|
}
|
|
1997
1997
|
protoOf($throwIfErrorCOROUTINE$).a9 = function () {
|
|
1998
1998
|
var suspendResult = this.u8_1;
|
|
@@ -2002,11 +2002,11 @@
|
|
|
2002
2002
|
switch (tmp) {
|
|
2003
2003
|
case 0:
|
|
2004
2004
|
this.t8_1 = 3;
|
|
2005
|
-
var this_0 = this.
|
|
2005
|
+
var this_0 = this.k56_1;
|
|
2006
2006
|
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).a2('error')) {
|
|
2007
|
-
var this_1 = this.
|
|
2007
|
+
var this_1 = this.l56_1;
|
|
2008
2008
|
this.s8_1 = 2;
|
|
2009
|
-
var tmp_0 = this_1.
|
|
2009
|
+
var tmp_0 = this_1.m3u();
|
|
2010
2010
|
var tmp_1 = JsType_instance;
|
|
2011
2011
|
var tmp_2 = getKClass(ErrorResponseDto);
|
|
2012
2012
|
var tmp_3;
|
|
@@ -2022,7 +2022,7 @@
|
|
|
2022
2022
|
}
|
|
2023
2023
|
tmp_3 = tmp_4;
|
|
2024
2024
|
}
|
|
2025
|
-
suspendResult = tmp_0.
|
|
2025
|
+
suspendResult = tmp_0.q3t(typeInfoImpl(tmp_1, tmp_2, tmp_3), this);
|
|
2026
2026
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2027
2027
|
return suspendResult;
|
|
2028
2028
|
}
|
|
@@ -2036,10 +2036,10 @@
|
|
|
2036
2036
|
return Unit_instance;
|
|
2037
2037
|
case 2:
|
|
2038
2038
|
var errorResponseDto = suspendResult instanceof ErrorResponseDto ? suspendResult : THROW_CCE();
|
|
2039
|
-
var tmp0_safe_receiver = errorResponseDto.
|
|
2040
|
-
var tmp_5 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2041
|
-
var tmp1_safe_receiver = errorResponseDto.
|
|
2042
|
-
throw new RandomException(tmp_5, tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2039
|
+
var tmp0_safe_receiver = errorResponseDto.c54_1;
|
|
2040
|
+
var tmp_5 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f54_1;
|
|
2041
|
+
var tmp1_safe_receiver = errorResponseDto.c54_1;
|
|
2042
|
+
throw new RandomException(tmp_5, tmp1_safe_receiver == null ? null : tmp1_safe_receiver.g54_1);
|
|
2043
2043
|
case 3:
|
|
2044
2044
|
throw this.v8_1;
|
|
2045
2045
|
}
|
|
@@ -2055,10 +2055,10 @@
|
|
|
2055
2055
|
while (true);
|
|
2056
2056
|
};
|
|
2057
2057
|
function RandomOrgApiServiceImpl(client, apiKey) {
|
|
2058
|
-
this.
|
|
2059
|
-
this.
|
|
2058
|
+
this.e57_1 = client;
|
|
2059
|
+
this.f57_1 = apiKey;
|
|
2060
2060
|
}
|
|
2061
|
-
protoOf(RandomOrgApiServiceImpl).
|
|
2061
|
+
protoOf(RandomOrgApiServiceImpl).a56 = function (min, max, decksCount, cardsCount, userData, signed, $completion) {
|
|
2062
2062
|
var tmp = new $getRandomCardDecksCOROUTINE$(this, min, max, decksCount, cardsCount, userData, signed, $completion);
|
|
2063
2063
|
tmp.u8_1 = Unit_instance;
|
|
2064
2064
|
tmp.v8_1 = null;
|
|
@@ -2083,16 +2083,16 @@
|
|
|
2083
2083
|
this.failedRequestAttempts = failedRequestAttempts;
|
|
2084
2084
|
this.failedAttemptCooldown = failedAttemptCooldown;
|
|
2085
2085
|
}
|
|
2086
|
-
protoOf(PoolParams).
|
|
2086
|
+
protoOf(PoolParams).v53 = function () {
|
|
2087
2087
|
return this.poolSize;
|
|
2088
2088
|
};
|
|
2089
|
-
protoOf(PoolParams).
|
|
2089
|
+
protoOf(PoolParams).w53 = function () {
|
|
2090
2090
|
return this.thresholdForUsedPool;
|
|
2091
2091
|
};
|
|
2092
|
-
protoOf(PoolParams).
|
|
2092
|
+
protoOf(PoolParams).g57 = function () {
|
|
2093
2093
|
return this.failedRequestAttempts;
|
|
2094
2094
|
};
|
|
2095
|
-
protoOf(PoolParams).
|
|
2095
|
+
protoOf(PoolParams).h57 = function () {
|
|
2096
2096
|
return this.failedAttemptCooldown;
|
|
2097
2097
|
};
|
|
2098
2098
|
protoOf(PoolParams).oe = function () {
|
|
@@ -2101,13 +2101,13 @@
|
|
|
2101
2101
|
protoOf(PoolParams).pe = function () {
|
|
2102
2102
|
return this.thresholdForUsedPool;
|
|
2103
2103
|
};
|
|
2104
|
-
protoOf(PoolParams).
|
|
2104
|
+
protoOf(PoolParams).yl = function () {
|
|
2105
2105
|
return this.failedRequestAttempts;
|
|
2106
2106
|
};
|
|
2107
|
-
protoOf(PoolParams).
|
|
2107
|
+
protoOf(PoolParams).i57 = function () {
|
|
2108
2108
|
return this.failedAttemptCooldown;
|
|
2109
2109
|
};
|
|
2110
|
-
protoOf(PoolParams).
|
|
2110
|
+
protoOf(PoolParams).j57 = function (poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) {
|
|
2111
2111
|
return new PoolParams(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown);
|
|
2112
2112
|
};
|
|
2113
2113
|
protoOf(PoolParams).copy = function (poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown, $super) {
|
|
@@ -2115,7 +2115,7 @@
|
|
|
2115
2115
|
thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
|
|
2116
2116
|
failedRequestAttempts = failedRequestAttempts === VOID ? this.failedRequestAttempts : failedRequestAttempts;
|
|
2117
2117
|
failedAttemptCooldown = failedAttemptCooldown === VOID ? this.failedAttemptCooldown : failedAttemptCooldown;
|
|
2118
|
-
return $super === VOID ? this.
|
|
2118
|
+
return $super === VOID ? this.j57(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) : $super.j57.call(this, poolSize, thresholdForUsedPool, failedRequestAttempts, new Duration(failedAttemptCooldown));
|
|
2119
2119
|
};
|
|
2120
2120
|
protoOf(PoolParams).toString = function () {
|
|
2121
2121
|
return 'PoolParams(poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', failedRequestAttempts=' + this.failedRequestAttempts + ', failedAttemptCooldown=' + Duration__toString_impl_8d916b(this.failedAttemptCooldown) + ')';
|
|
@@ -2146,11 +2146,11 @@
|
|
|
2146
2146
|
function RandomPoolProvider() {
|
|
2147
2147
|
}
|
|
2148
2148
|
function getExceptionIfCooldown($this) {
|
|
2149
|
-
var currentTime = System_instance.
|
|
2150
|
-
if (!($this.
|
|
2151
|
-
var timeToWait = Duration__times_impl_sfuzvp($this.
|
|
2149
|
+
var currentTime = System_instance.dk();
|
|
2150
|
+
if (!($this.v57_1 == null) && $this.w57_1 >= $this.n57_1.failedRequestAttempts) {
|
|
2151
|
+
var timeToWait = Duration__times_impl_sfuzvp($this.n57_1.failedAttemptCooldown, $this.w57_1);
|
|
2152
2152
|
// Inline function 'kotlin.requireNotNull' call
|
|
2153
|
-
var tmp0 = $this.
|
|
2153
|
+
var tmp0 = $this.v57_1;
|
|
2154
2154
|
var tmp$ret$1;
|
|
2155
2155
|
$l$block: {
|
|
2156
2156
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -2162,22 +2162,22 @@
|
|
|
2162
2162
|
break $l$block;
|
|
2163
2163
|
}
|
|
2164
2164
|
}
|
|
2165
|
-
var allowedRequestTime = tmp$ret$1.
|
|
2166
|
-
if (allowedRequestTime.
|
|
2167
|
-
var exception = new RandomException(VOID, 'getExceptionIfCooldown: ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.
|
|
2165
|
+
var allowedRequestTime = tmp$ret$1.sk(timeToWait);
|
|
2166
|
+
if (allowedRequestTime.vk(currentTime) > 0) {
|
|
2167
|
+
var exception = new RandomException(VOID, 'getExceptionIfCooldown: ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.v57_1) + ', ') + ('currentTime = ' + currentTime.toString() + ', ') + ('failedRequestCount = ' + $this.w57_1));
|
|
2168
2168
|
return exception;
|
|
2169
2169
|
} else {
|
|
2170
|
-
$this.
|
|
2170
|
+
$this.v57_1 = null;
|
|
2171
2171
|
}
|
|
2172
2172
|
}
|
|
2173
2173
|
return null;
|
|
2174
2174
|
}
|
|
2175
2175
|
function mapToRandomExceptionIfError($this, error) {
|
|
2176
|
-
$this.
|
|
2177
|
-
$this.
|
|
2178
|
-
var timeToWait = Duration__times_impl_sfuzvp($this.
|
|
2176
|
+
$this.v57_1 = System_instance.dk();
|
|
2177
|
+
$this.w57_1 = $this.w57_1 + 1 | 0;
|
|
2178
|
+
var timeToWait = Duration__times_impl_sfuzvp($this.n57_1.failedAttemptCooldown, $this.w57_1);
|
|
2179
2179
|
// Inline function 'kotlin.requireNotNull' call
|
|
2180
|
-
var tmp0 = $this.
|
|
2180
|
+
var tmp0 = $this.v57_1;
|
|
2181
2181
|
var tmp$ret$1;
|
|
2182
2182
|
$l$block: {
|
|
2183
2183
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -2189,9 +2189,9 @@
|
|
|
2189
2189
|
break $l$block;
|
|
2190
2190
|
}
|
|
2191
2191
|
}
|
|
2192
|
-
var allowedRequestTime = tmp$ret$1.
|
|
2193
|
-
var randomException = new RandomException(VOID, 'mapToRandomExceptionIfError: error message = ' + error.message + ', ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.
|
|
2194
|
-
$this.
|
|
2192
|
+
var allowedRequestTime = tmp$ret$1.sk(timeToWait);
|
|
2193
|
+
var randomException = new RandomException(VOID, 'mapToRandomExceptionIfError: error message = ' + error.message + ', ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.v57_1) + ', ') + ('currentTime = ' + System_instance.dk().toString() + ', ') + ('failedRequestCount = ' + $this.w57_1), error);
|
|
2194
|
+
$this.p57_1.w('RandomPoolProvider', VOID, randomException);
|
|
2195
2195
|
return randomException;
|
|
2196
2196
|
}
|
|
2197
2197
|
function getOrLoadGameCardDeckData($this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
@@ -2201,7 +2201,7 @@
|
|
|
2201
2201
|
return tmp.a9();
|
|
2202
2202
|
}
|
|
2203
2203
|
function getPreparedGameCardDecksRecord($this, poolId, signature, cardDeckData, userData) {
|
|
2204
|
-
var existingCardDeck = $this.
|
|
2204
|
+
var existingCardDeck = $this.u57_1.c2(userData.gameId);
|
|
2205
2205
|
var tmp;
|
|
2206
2206
|
if (!(existingCardDeck == null)) {
|
|
2207
2207
|
tmp = Companion_instance_2.nextRound(existingCardDeck, cardDeckData);
|
|
@@ -2217,13 +2217,13 @@
|
|
|
2217
2217
|
return tmp.a9();
|
|
2218
2218
|
}
|
|
2219
2219
|
function requestNewPool($this, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2220
|
-
return withContext($this.
|
|
2220
|
+
return withContext($this.q57_1, RandomPoolProviderImpl$requestNewPool$slambda_0($this, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
2221
2221
|
}
|
|
2222
2222
|
function Companion_9() {
|
|
2223
|
-
this.
|
|
2224
|
-
this.
|
|
2225
|
-
this.
|
|
2226
|
-
this.
|
|
2223
|
+
this.d59_1 = 100;
|
|
2224
|
+
this.e59_1 = 3;
|
|
2225
|
+
this.f59_1 = 3000;
|
|
2226
|
+
this.g59_1 = 10000;
|
|
2227
2227
|
}
|
|
2228
2228
|
var Companion_instance_11;
|
|
2229
2229
|
function Companion_getInstance_12() {
|
|
@@ -2233,18 +2233,18 @@
|
|
|
2233
2233
|
return uuid4().toString();
|
|
2234
2234
|
}
|
|
2235
2235
|
function RandomPoolProviderImpl$getCardDeck$slambda(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2236
|
-
this.
|
|
2237
|
-
this.
|
|
2238
|
-
this.
|
|
2239
|
-
this.
|
|
2240
|
-
this.
|
|
2241
|
-
this.
|
|
2242
|
-
this.
|
|
2243
|
-
this.
|
|
2236
|
+
this.p59_1 = this$0;
|
|
2237
|
+
this.q59_1 = $minRoundsCountInPool;
|
|
2238
|
+
this.r59_1 = $userData;
|
|
2239
|
+
this.s59_1 = $min;
|
|
2240
|
+
this.t59_1 = $max;
|
|
2241
|
+
this.u59_1 = $cardsCount;
|
|
2242
|
+
this.v59_1 = $signed;
|
|
2243
|
+
this.w59_1 = $requestDurationWarnMillis;
|
|
2244
2244
|
CoroutineImpl.call(this, resultContinuation);
|
|
2245
2245
|
}
|
|
2246
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2247
|
-
var tmp = this.
|
|
2246
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).c5a = function ($this$withContext, $completion) {
|
|
2247
|
+
var tmp = this.l2d($this$withContext, $completion);
|
|
2248
2248
|
tmp.u8_1 = Unit_instance;
|
|
2249
2249
|
tmp.v8_1 = null;
|
|
2250
2250
|
var tmp_0 = tmp.a9();
|
|
@@ -2253,7 +2253,7 @@
|
|
|
2253
2253
|
return tmp_0;
|
|
2254
2254
|
};
|
|
2255
2255
|
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).i9 = function (p1, $completion) {
|
|
2256
|
-
return this.
|
|
2256
|
+
return this.c5a((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2257
2257
|
};
|
|
2258
2258
|
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).a9 = function () {
|
|
2259
2259
|
var suspendResult = this.u8_1;
|
|
@@ -2263,30 +2263,30 @@
|
|
|
2263
2263
|
switch (tmp) {
|
|
2264
2264
|
case 0:
|
|
2265
2265
|
this.t8_1 = 10;
|
|
2266
|
-
this.
|
|
2266
|
+
this.z59_1 = this.p59_1.s57_1;
|
|
2267
2267
|
var tmp_0 = this;
|
|
2268
|
-
tmp_0.
|
|
2268
|
+
tmp_0.y59_1 = null;
|
|
2269
2269
|
this.s8_1 = 1;
|
|
2270
|
-
suspendResult = this.
|
|
2270
|
+
suspendResult = this.z59_1.a2l(this.y59_1, this);
|
|
2271
2271
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2272
2272
|
return suspendResult;
|
|
2273
2273
|
}
|
|
2274
2274
|
|
|
2275
2275
|
continue $sm;
|
|
2276
2276
|
case 1:
|
|
2277
|
-
this.
|
|
2277
|
+
this.a5a_1 = Unit_instance;
|
|
2278
2278
|
this.s8_1 = 2;
|
|
2279
2279
|
continue $sm;
|
|
2280
2280
|
case 2:
|
|
2281
2281
|
this.t8_1 = 9;
|
|
2282
|
-
this.
|
|
2282
|
+
this.b5a_1 = Unit_instance;
|
|
2283
2283
|
this.s8_1 = 3;
|
|
2284
2284
|
continue $sm;
|
|
2285
2285
|
case 3:
|
|
2286
|
-
var randomException = getExceptionIfCooldown(this.
|
|
2286
|
+
var randomException = getExceptionIfCooldown(this.p59_1);
|
|
2287
2287
|
if (!(randomException == null)) {
|
|
2288
2288
|
var tmp_1 = this;
|
|
2289
|
-
tmp_1.
|
|
2289
|
+
tmp_1.b5a_1 = new Result(_Result___init__impl__xyqfz8(createFailure(randomException)));
|
|
2290
2290
|
this.s8_1 = 7;
|
|
2291
2291
|
continue $sm;
|
|
2292
2292
|
} else {
|
|
@@ -2297,7 +2297,7 @@
|
|
|
2297
2297
|
case 4:
|
|
2298
2298
|
this.t8_1 = 6;
|
|
2299
2299
|
this.s8_1 = 5;
|
|
2300
|
-
suspendResult = getOrLoadGameCardDeckData(this.
|
|
2300
|
+
suspendResult = getOrLoadGameCardDeckData(this.p59_1, this.q59_1, this.r59_1, this.s59_1, this.t59_1, this.u59_1, this.v59_1, this.w59_1, this);
|
|
2301
2301
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2302
2302
|
return suspendResult;
|
|
2303
2303
|
}
|
|
@@ -2306,7 +2306,7 @@
|
|
|
2306
2306
|
case 5:
|
|
2307
2307
|
var cardDeckData = suspendResult;
|
|
2308
2308
|
var tmp_2 = this;
|
|
2309
|
-
tmp_2.
|
|
2309
|
+
tmp_2.b5a_1 = new Result(_Result___init__impl__xyqfz8(cardDeckData));
|
|
2310
2310
|
this.s8_1 = 7;
|
|
2311
2311
|
continue $sm;
|
|
2312
2312
|
case 6:
|
|
@@ -2315,8 +2315,8 @@
|
|
|
2315
2315
|
if (tmp_3 instanceof Error) {
|
|
2316
2316
|
var error = this.v8_1;
|
|
2317
2317
|
var tmp_4 = this;
|
|
2318
|
-
var exception = mapToRandomExceptionIfError(this.
|
|
2319
|
-
tmp_4.
|
|
2318
|
+
var exception = mapToRandomExceptionIfError(this.p59_1, error);
|
|
2319
|
+
tmp_4.b5a_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception)));
|
|
2320
2320
|
this.s8_1 = 7;
|
|
2321
2321
|
continue $sm;
|
|
2322
2322
|
} else {
|
|
@@ -2324,19 +2324,19 @@
|
|
|
2324
2324
|
}
|
|
2325
2325
|
|
|
2326
2326
|
case 7:
|
|
2327
|
-
this.
|
|
2327
|
+
this.a5a_1 = this.b5a_1;
|
|
2328
2328
|
this.t8_1 = 10;
|
|
2329
2329
|
this.s8_1 = 8;
|
|
2330
2330
|
continue $sm;
|
|
2331
2331
|
case 8:
|
|
2332
|
-
var tmp_5 = this.
|
|
2332
|
+
var tmp_5 = this.a5a_1;
|
|
2333
2333
|
this.t8_1 = 10;
|
|
2334
|
-
this.
|
|
2334
|
+
this.z59_1.l2k(this.y59_1);
|
|
2335
2335
|
return tmp_5;
|
|
2336
2336
|
case 9:
|
|
2337
2337
|
this.t8_1 = 10;
|
|
2338
2338
|
var t = this.v8_1;
|
|
2339
|
-
this.
|
|
2339
|
+
this.z59_1.l2k(this.y59_1);
|
|
2340
2340
|
throw t;
|
|
2341
2341
|
case 10:
|
|
2342
2342
|
throw this.v8_1;
|
|
@@ -2352,36 +2352,36 @@
|
|
|
2352
2352
|
}
|
|
2353
2353
|
while (true);
|
|
2354
2354
|
};
|
|
2355
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2356
|
-
var i = new RandomPoolProviderImpl$getCardDeck$slambda(this.
|
|
2357
|
-
i.
|
|
2355
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).l2d = function ($this$withContext, completion) {
|
|
2356
|
+
var i = new RandomPoolProviderImpl$getCardDeck$slambda(this.p59_1, this.q59_1, this.r59_1, this.s59_1, this.t59_1, this.u59_1, this.v59_1, this.w59_1, completion);
|
|
2357
|
+
i.x59_1 = $this$withContext;
|
|
2358
2358
|
return i;
|
|
2359
2359
|
};
|
|
2360
2360
|
function RandomPoolProviderImpl$getCardDeck$slambda_0(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2361
2361
|
var i = new RandomPoolProviderImpl$getCardDeck$slambda(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
|
|
2362
2362
|
var l = function ($this$withContext, $completion) {
|
|
2363
|
-
return i.
|
|
2363
|
+
return i.c5a($this$withContext, $completion);
|
|
2364
2364
|
};
|
|
2365
2365
|
l.$arity = 1;
|
|
2366
2366
|
return l;
|
|
2367
2367
|
}
|
|
2368
2368
|
function RandomPoolProviderImpl$requestNewPool$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2369
|
-
this.
|
|
2370
|
-
this.
|
|
2371
|
-
this.
|
|
2372
|
-
this.
|
|
2373
|
-
this.
|
|
2374
|
-
this.
|
|
2369
|
+
this.l5a_1 = this$0;
|
|
2370
|
+
this.m5a_1 = $min;
|
|
2371
|
+
this.n5a_1 = $max;
|
|
2372
|
+
this.o5a_1 = $cardsCount;
|
|
2373
|
+
this.p5a_1 = $signed;
|
|
2374
|
+
this.q5a_1 = $requestDurationWarnMillis;
|
|
2375
2375
|
CoroutineImpl.call(this, resultContinuation);
|
|
2376
2376
|
}
|
|
2377
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2378
|
-
var tmp = this.
|
|
2377
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).t5a = function ($this$withContext, $completion) {
|
|
2378
|
+
var tmp = this.l2d($this$withContext, $completion);
|
|
2379
2379
|
tmp.u8_1 = Unit_instance;
|
|
2380
2380
|
tmp.v8_1 = null;
|
|
2381
2381
|
return tmp.a9();
|
|
2382
2382
|
};
|
|
2383
2383
|
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).i9 = function (p1, $completion) {
|
|
2384
|
-
return this.
|
|
2384
|
+
return this.t5a((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2385
2385
|
};
|
|
2386
2386
|
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).a9 = function () {
|
|
2387
2387
|
var suspendResult = this.u8_1;
|
|
@@ -2391,9 +2391,9 @@
|
|
|
2391
2391
|
switch (tmp) {
|
|
2392
2392
|
case 0:
|
|
2393
2393
|
this.t8_1 = 2;
|
|
2394
|
-
this.
|
|
2394
|
+
this.s5a_1 = System_instance.dk();
|
|
2395
2395
|
this.s8_1 = 1;
|
|
2396
|
-
suspendResult = this.
|
|
2396
|
+
suspendResult = this.l5a_1.o57_1.a56(this.m5a_1, this.n5a_1, this.l5a_1.n57_1.poolSize, this.o5a_1, new CardDecksRequestUserData(this.l5a_1.r57_1(), this.l5a_1.n57_1.poolSize), this.p5a_1, this);
|
|
2397
2397
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2398
2398
|
return suspendResult;
|
|
2399
2399
|
}
|
|
@@ -2401,15 +2401,15 @@
|
|
|
2401
2401
|
continue $sm;
|
|
2402
2402
|
case 1:
|
|
2403
2403
|
var result = suspendResult;
|
|
2404
|
-
var requestEndTime = System_instance.
|
|
2405
|
-
var requestDuration = requestEndTime.
|
|
2404
|
+
var requestEndTime = System_instance.dk();
|
|
2405
|
+
var requestDuration = requestEndTime.uk(this.s5a_1);
|
|
2406
2406
|
Companion_getInstance_0();
|
|
2407
|
-
var this_0 = this.
|
|
2407
|
+
var this_0 = this.q5a_1;
|
|
2408
2408
|
if (Duration__compareTo_impl_pchp0f(requestDuration, toDuration(this_0, DurationUnit_MILLISECONDS_getInstance())) > 0) {
|
|
2409
2409
|
var tmp_0 = 'actual = ' + Duration__toString_impl_8d916b(requestDuration) + ', ';
|
|
2410
2410
|
Companion_getInstance_0();
|
|
2411
|
-
var this_1 = this.
|
|
2412
|
-
this.
|
|
2411
|
+
var this_1 = this.q5a_1;
|
|
2412
|
+
this.l5a_1.p57_1.w('RandomPoolProvider', 'Card deck request took longer then expected: ' + tmp_0 + ('expected = ' + Duration__toString_impl_8d916b(toDuration(this_1, DurationUnit_MILLISECONDS_getInstance()))));
|
|
2413
2413
|
}
|
|
2414
2414
|
|
|
2415
2415
|
return new RandomPoolValue(result);
|
|
@@ -2427,29 +2427,29 @@
|
|
|
2427
2427
|
}
|
|
2428
2428
|
while (true);
|
|
2429
2429
|
};
|
|
2430
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2431
|
-
var i = new RandomPoolProviderImpl$requestNewPool$slambda(this.
|
|
2432
|
-
i.
|
|
2430
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).l2d = function ($this$withContext, completion) {
|
|
2431
|
+
var i = new RandomPoolProviderImpl$requestNewPool$slambda(this.l5a_1, this.m5a_1, this.n5a_1, this.o5a_1, this.p5a_1, this.q5a_1, completion);
|
|
2432
|
+
i.r5a_1 = $this$withContext;
|
|
2433
2433
|
return i;
|
|
2434
2434
|
};
|
|
2435
2435
|
function RandomPoolProviderImpl$requestNewPool$slambda_0(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2436
2436
|
var i = new RandomPoolProviderImpl$requestNewPool$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
|
|
2437
2437
|
var l = function ($this$withContext, $completion) {
|
|
2438
|
-
return i.
|
|
2438
|
+
return i.t5a($this$withContext, $completion);
|
|
2439
2439
|
};
|
|
2440
2440
|
l.$arity = 1;
|
|
2441
2441
|
return l;
|
|
2442
2442
|
}
|
|
2443
2443
|
function $getOrLoadGameCardDeckDataCOROUTINE$(_this__u8e3s4, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, resultContinuation) {
|
|
2444
2444
|
CoroutineImpl.call(this, resultContinuation);
|
|
2445
|
-
this.
|
|
2446
|
-
this.
|
|
2447
|
-
this.
|
|
2448
|
-
this.
|
|
2449
|
-
this.
|
|
2450
|
-
this.
|
|
2451
|
-
this.
|
|
2452
|
-
this.
|
|
2445
|
+
this.f58_1 = _this__u8e3s4;
|
|
2446
|
+
this.g58_1 = minRoundsCountInPool;
|
|
2447
|
+
this.h58_1 = userData;
|
|
2448
|
+
this.i58_1 = min;
|
|
2449
|
+
this.j58_1 = max;
|
|
2450
|
+
this.k58_1 = cardsCount;
|
|
2451
|
+
this.l58_1 = signed;
|
|
2452
|
+
this.m58_1 = requestDurationWarnMillis;
|
|
2453
2453
|
}
|
|
2454
2454
|
protoOf($getOrLoadGameCardDeckDataCOROUTINE$).a9 = function () {
|
|
2455
2455
|
var suspendResult = this.u8_1;
|
|
@@ -2459,9 +2459,9 @@
|
|
|
2459
2459
|
switch (tmp) {
|
|
2460
2460
|
case 0:
|
|
2461
2461
|
this.t8_1 = 2;
|
|
2462
|
-
var tmp0_gameId = this.
|
|
2462
|
+
var tmp0_gameId = this.h58_1.gameId;
|
|
2463
2463
|
this.s8_1 = 1;
|
|
2464
|
-
suspendResult = getPreparedOrRequestPool(this.
|
|
2464
|
+
suspendResult = getPreparedOrRequestPool(this.f58_1, tmp0_gameId, this.i58_1, this.j58_1, this.g58_1, this.k58_1, this.l58_1, this.m58_1, this);
|
|
2465
2465
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2466
2466
|
return suspendResult;
|
|
2467
2467
|
}
|
|
@@ -2469,15 +2469,15 @@
|
|
|
2469
2469
|
continue $sm;
|
|
2470
2470
|
case 1:
|
|
2471
2471
|
var randomPoolValue = suspendResult;
|
|
2472
|
-
var tmp0 = this.
|
|
2473
|
-
var key = randomPoolValue.
|
|
2472
|
+
var tmp0 = this.f58_1.t57_1;
|
|
2473
|
+
var key = randomPoolValue.u5a_1.h53_1;
|
|
2474
2474
|
tmp0.f2(key, randomPoolValue);
|
|
2475
|
-
var cardDeckData = randomPoolValue.
|
|
2476
|
-
var tmp1_poolId = randomPoolValue.
|
|
2477
|
-
var tmp2_signature = randomPoolValue.
|
|
2478
|
-
var cardDecksRecord = getPreparedGameCardDecksRecord(this.
|
|
2479
|
-
var tmp0_0 = this.
|
|
2480
|
-
var key_0 = this.
|
|
2475
|
+
var cardDeckData = randomPoolValue.y5a(this.h58_1.gameId);
|
|
2476
|
+
var tmp1_poolId = randomPoolValue.u5a_1.h53_1;
|
|
2477
|
+
var tmp2_signature = randomPoolValue.u5a_1.i53_1;
|
|
2478
|
+
var cardDecksRecord = getPreparedGameCardDecksRecord(this.f58_1, tmp1_poolId, tmp2_signature, cardDeckData, this.h58_1);
|
|
2479
|
+
var tmp0_0 = this.f58_1.u57_1;
|
|
2480
|
+
var key_0 = this.h58_1.gameId;
|
|
2481
2481
|
tmp0_0.f2(key_0, cardDecksRecord);
|
|
2482
2482
|
return cardDeckData;
|
|
2483
2483
|
case 2:
|
|
@@ -2496,14 +2496,14 @@
|
|
|
2496
2496
|
};
|
|
2497
2497
|
function $getPreparedOrRequestPoolCOROUTINE$(_this__u8e3s4, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, resultContinuation) {
|
|
2498
2498
|
CoroutineImpl.call(this, resultContinuation);
|
|
2499
|
-
this.
|
|
2500
|
-
this.
|
|
2501
|
-
this.
|
|
2502
|
-
this.
|
|
2503
|
-
this.
|
|
2504
|
-
this.
|
|
2505
|
-
this.
|
|
2506
|
-
this.
|
|
2499
|
+
this.v58_1 = _this__u8e3s4;
|
|
2500
|
+
this.w58_1 = gameId;
|
|
2501
|
+
this.x58_1 = min;
|
|
2502
|
+
this.y58_1 = max;
|
|
2503
|
+
this.z58_1 = minRoundsCount;
|
|
2504
|
+
this.a59_1 = cardsCount;
|
|
2505
|
+
this.b59_1 = signed;
|
|
2506
|
+
this.c59_1 = requestDurationWarnMillis;
|
|
2507
2507
|
}
|
|
2508
2508
|
protoOf($getPreparedOrRequestPoolCOROUTINE$).a9 = function () {
|
|
2509
2509
|
var suspendResult = this.u8_1;
|
|
@@ -2513,13 +2513,13 @@
|
|
|
2513
2513
|
switch (tmp) {
|
|
2514
2514
|
case 0:
|
|
2515
2515
|
this.t8_1 = 2;
|
|
2516
|
-
var tmp0 = this.
|
|
2516
|
+
var tmp0 = this.v58_1.t57_1;
|
|
2517
2517
|
var destination = LinkedHashMap_init_$Create$();
|
|
2518
2518
|
var _iterator__ex2g4s = tmp0.v().l();
|
|
2519
2519
|
while (_iterator__ex2g4s.m()) {
|
|
2520
2520
|
var element = _iterator__ex2g4s.n();
|
|
2521
|
-
var tmp0_0 = element.x().
|
|
2522
|
-
var key = this.
|
|
2521
|
+
var tmp0_0 = element.x().v5a_1;
|
|
2522
|
+
var key = this.w58_1;
|
|
2523
2523
|
if ((isInterface(tmp0_0, KtMap) ? tmp0_0 : THROW_CCE()).a2(key)) {
|
|
2524
2524
|
destination.f2(element.w(), element.x());
|
|
2525
2525
|
}
|
|
@@ -2527,26 +2527,26 @@
|
|
|
2527
2527
|
|
|
2528
2528
|
var usedResultEntry = firstOrNull(destination.v());
|
|
2529
2529
|
if (!(usedResultEntry == null)) {
|
|
2530
|
-
return usedResultEntry.x().
|
|
2530
|
+
return usedResultEntry.x().z5a(this.w58_1);
|
|
2531
2531
|
}
|
|
2532
2532
|
|
|
2533
|
-
var tmp0_1 = this.
|
|
2533
|
+
var tmp0_1 = this.v58_1.t57_1;
|
|
2534
2534
|
var destination_0 = LinkedHashMap_init_$Create$();
|
|
2535
2535
|
var _iterator__ex2g4s_0 = tmp0_1.v().l();
|
|
2536
2536
|
while (_iterator__ex2g4s_0.m()) {
|
|
2537
2537
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
2538
|
-
if (element_0.x().
|
|
2538
|
+
if (element_0.x().a5b(this.z58_1)) {
|
|
2539
2539
|
destination_0.f2(element_0.w(), element_0.x());
|
|
2540
2540
|
}
|
|
2541
2541
|
}
|
|
2542
2542
|
|
|
2543
2543
|
var availableResultEntry = firstOrNull(destination_0.v());
|
|
2544
2544
|
if (!(availableResultEntry == null)) {
|
|
2545
|
-
return availableResultEntry.x().
|
|
2545
|
+
return availableResultEntry.x().b5b(this.w58_1, this.z58_1, this.v58_1.n57_1.thresholdForUsedPool);
|
|
2546
2546
|
}
|
|
2547
2547
|
|
|
2548
2548
|
this.s8_1 = 1;
|
|
2549
|
-
suspendResult = requestNewPool(this.
|
|
2549
|
+
suspendResult = requestNewPool(this.v58_1, this.x58_1, this.y58_1, this.a59_1, this.b59_1, this.c59_1, this);
|
|
2550
2550
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2551
2551
|
return suspendResult;
|
|
2552
2552
|
}
|
|
@@ -2554,7 +2554,7 @@
|
|
|
2554
2554
|
continue $sm;
|
|
2555
2555
|
case 1:
|
|
2556
2556
|
var cardDecks = suspendResult;
|
|
2557
|
-
return cardDecks.
|
|
2557
|
+
return cardDecks.b5b(this.w58_1, this.z58_1, this.v58_1.n57_1.thresholdForUsedPool);
|
|
2558
2558
|
case 2:
|
|
2559
2559
|
throw this.v8_1;
|
|
2560
2560
|
}
|
|
@@ -2570,7 +2570,7 @@
|
|
|
2570
2570
|
while (true);
|
|
2571
2571
|
};
|
|
2572
2572
|
function RandomPoolProviderImpl(params, randomOrgApiService, logger, dispatcher, idsProvider) {
|
|
2573
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
2573
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().a21_1 : dispatcher;
|
|
2574
2574
|
var tmp;
|
|
2575
2575
|
if (idsProvider === VOID) {
|
|
2576
2576
|
tmp = RandomPoolProviderImpl$_init_$lambda_f6qzy3;
|
|
@@ -2578,131 +2578,131 @@
|
|
|
2578
2578
|
tmp = idsProvider;
|
|
2579
2579
|
}
|
|
2580
2580
|
idsProvider = tmp;
|
|
2581
|
-
this.
|
|
2582
|
-
this.
|
|
2583
|
-
this.
|
|
2584
|
-
this.
|
|
2585
|
-
this.
|
|
2586
|
-
this.
|
|
2581
|
+
this.n57_1 = params;
|
|
2582
|
+
this.o57_1 = randomOrgApiService;
|
|
2583
|
+
this.p57_1 = logger;
|
|
2584
|
+
this.q57_1 = dispatcher;
|
|
2585
|
+
this.r57_1 = idsProvider;
|
|
2586
|
+
this.s57_1 = Mutex();
|
|
2587
2587
|
var tmp_0 = this;
|
|
2588
2588
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2589
|
-
tmp_0.
|
|
2589
|
+
tmp_0.t57_1 = LinkedHashMap_init_$Create$();
|
|
2590
2590
|
var tmp_1 = this;
|
|
2591
2591
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2592
|
-
tmp_1.
|
|
2593
|
-
this.
|
|
2594
|
-
this.
|
|
2592
|
+
tmp_1.u57_1 = LinkedHashMap_init_$Create$();
|
|
2593
|
+
this.v57_1 = null;
|
|
2594
|
+
this.w57_1 = 0;
|
|
2595
2595
|
}
|
|
2596
|
-
protoOf(RandomPoolProviderImpl).
|
|
2597
|
-
var tmp = withContext(this.
|
|
2596
|
+
protoOf(RandomPoolProviderImpl).k57 = function (minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2597
|
+
var tmp = withContext(this.q57_1, RandomPoolProviderImpl$getCardDeck$slambda_0(this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
2598
2598
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
2599
2599
|
return tmp;
|
|
2600
2600
|
return tmp;
|
|
2601
2601
|
};
|
|
2602
|
-
protoOf(RandomPoolProviderImpl).
|
|
2603
|
-
return this.
|
|
2602
|
+
protoOf(RandomPoolProviderImpl).c5b = function (gameId) {
|
|
2603
|
+
return this.u57_1.c2(gameId);
|
|
2604
2604
|
};
|
|
2605
2605
|
protoOf(RandomPoolProviderImpl).getGame = function (gameId) {
|
|
2606
|
-
return this.
|
|
2606
|
+
return this.c5b(gameId);
|
|
2607
2607
|
};
|
|
2608
|
-
protoOf(RandomPoolProviderImpl).
|
|
2609
|
-
return this.
|
|
2608
|
+
protoOf(RandomPoolProviderImpl).d5b = function (id) {
|
|
2609
|
+
return this.t57_1.c2(id);
|
|
2610
2610
|
};
|
|
2611
2611
|
protoOf(RandomPoolProviderImpl).getRandomPool = function (id) {
|
|
2612
|
-
return this.
|
|
2612
|
+
return this.d5b(id);
|
|
2613
2613
|
};
|
|
2614
|
-
protoOf(RandomPoolProviderImpl).
|
|
2615
|
-
return this.
|
|
2614
|
+
protoOf(RandomPoolProviderImpl).e5b = function () {
|
|
2615
|
+
return this.t57_1.o();
|
|
2616
2616
|
};
|
|
2617
2617
|
protoOf(RandomPoolProviderImpl).getRandomPoolsCount = function () {
|
|
2618
|
-
return this.
|
|
2618
|
+
return this.e5b();
|
|
2619
2619
|
};
|
|
2620
|
-
protoOf(RandomPoolProviderImpl).
|
|
2621
|
-
var gameCardDecksRecord = this.
|
|
2620
|
+
protoOf(RandomPoolProviderImpl).m57 = function (gameId) {
|
|
2621
|
+
var gameCardDecksRecord = this.u57_1.c2(gameId);
|
|
2622
2622
|
if (!(gameCardDecksRecord == null)) {
|
|
2623
|
-
var randomPoolValue = this.
|
|
2623
|
+
var randomPoolValue = this.t57_1.c2(gameCardDecksRecord.poolId);
|
|
2624
2624
|
if (!(randomPoolValue == null)) {
|
|
2625
2625
|
// Inline function 'kotlin.apply' call
|
|
2626
|
-
var this_0 = toMutableMap(randomPoolValue.
|
|
2626
|
+
var this_0 = toMutableMap(randomPoolValue.v5a_1);
|
|
2627
2627
|
this_0.g2(gameId);
|
|
2628
|
-
var newPoolValue = randomPoolValue.
|
|
2629
|
-
if (newPoolValue.
|
|
2630
|
-
this.
|
|
2628
|
+
var newPoolValue = randomPoolValue.f5b(VOID, toMap(this_0));
|
|
2629
|
+
if (newPoolValue.v5a_1.r()) {
|
|
2630
|
+
this.t57_1.g2(gameCardDecksRecord.poolId);
|
|
2631
2631
|
} else {
|
|
2632
|
-
var tmp0 = this.
|
|
2632
|
+
var tmp0 = this.t57_1;
|
|
2633
2633
|
// Inline function 'kotlin.collections.set' call
|
|
2634
2634
|
var key = gameCardDecksRecord.poolId;
|
|
2635
2635
|
tmp0.f2(key, newPoolValue);
|
|
2636
2636
|
}
|
|
2637
2637
|
}
|
|
2638
2638
|
}
|
|
2639
|
-
this.
|
|
2639
|
+
this.u57_1.g2(gameId);
|
|
2640
2640
|
};
|
|
2641
2641
|
function _get_cardDecksCount__ihvb5i($this) {
|
|
2642
|
-
return $this.
|
|
2642
|
+
return $this.u5a_1.f53_1.o();
|
|
2643
2643
|
}
|
|
2644
2644
|
function RandomPoolValue(randomResult, usedByGames, reservedCardDecks, isUsed) {
|
|
2645
2645
|
usedByGames = usedByGames === VOID ? emptyMap() : usedByGames;
|
|
2646
2646
|
reservedCardDecks = reservedCardDecks === VOID ? 0 : reservedCardDecks;
|
|
2647
2647
|
isUsed = isUsed === VOID ? false : isUsed;
|
|
2648
|
-
this.
|
|
2649
|
-
this.
|
|
2650
|
-
this.
|
|
2651
|
-
this.
|
|
2648
|
+
this.u5a_1 = randomResult;
|
|
2649
|
+
this.v5a_1 = usedByGames;
|
|
2650
|
+
this.w5a_1 = reservedCardDecks;
|
|
2651
|
+
this.x5a_1 = isUsed;
|
|
2652
2652
|
}
|
|
2653
|
-
protoOf(RandomPoolValue).
|
|
2654
|
-
if (this.
|
|
2653
|
+
protoOf(RandomPoolValue).a5b = function (minRoundsCount) {
|
|
2654
|
+
if (this.x5a_1) {
|
|
2655
2655
|
return false;
|
|
2656
2656
|
}
|
|
2657
|
-
var availableCount = _get_cardDecksCount__ihvb5i(this) - this.
|
|
2657
|
+
var availableCount = _get_cardDecksCount__ihvb5i(this) - this.w5a_1 | 0;
|
|
2658
2658
|
return availableCount >= minRoundsCount;
|
|
2659
2659
|
};
|
|
2660
|
-
protoOf(RandomPoolValue).
|
|
2661
|
-
var previousReservedCardDeckIndex = this.
|
|
2660
|
+
protoOf(RandomPoolValue).b5b = function (gameId, requestedCardDecks, thresholdForUsedPool) {
|
|
2661
|
+
var previousReservedCardDeckIndex = this.w5a_1;
|
|
2662
2662
|
// Inline function 'kotlin.apply' call
|
|
2663
|
-
var this_0 = toMutableMap(this.
|
|
2663
|
+
var this_0 = toMutableMap(this.v5a_1);
|
|
2664
2664
|
this_0.f2(gameId, previousReservedCardDeckIndex);
|
|
2665
2665
|
var newNewUsedBy = toMap(this_0);
|
|
2666
2666
|
var newReservedCardDecks = previousReservedCardDeckIndex + requestedCardDecks | 0;
|
|
2667
|
-
return this.
|
|
2667
|
+
return this.f5b(VOID, newNewUsedBy, newReservedCardDecks, (newReservedCardDecks + thresholdForUsedPool | 0) > _get_cardDecksCount__ihvb5i(this));
|
|
2668
2668
|
};
|
|
2669
|
-
protoOf(RandomPoolValue).
|
|
2670
|
-
var currentCardDeckIndex = getValue(this.
|
|
2669
|
+
protoOf(RandomPoolValue).z5a = function (gameId) {
|
|
2670
|
+
var currentCardDeckIndex = getValue(this.v5a_1, gameId);
|
|
2671
2671
|
var tmp;
|
|
2672
|
-
if (currentCardDeckIndex === get_lastIndex(this.
|
|
2672
|
+
if (currentCardDeckIndex === get_lastIndex(this.u5a_1.f53_1)) {
|
|
2673
2673
|
tmp = 0;
|
|
2674
2674
|
} else {
|
|
2675
2675
|
tmp = currentCardDeckIndex + 1 | 0;
|
|
2676
2676
|
}
|
|
2677
2677
|
var newCardDeckIndex = tmp;
|
|
2678
2678
|
// Inline function 'kotlin.apply' call
|
|
2679
|
-
var this_0 = toMutableMap(this.
|
|
2679
|
+
var this_0 = toMutableMap(this.v5a_1);
|
|
2680
2680
|
this_0.f2(gameId, newCardDeckIndex);
|
|
2681
2681
|
var newNewUsedBy = toMap(this_0);
|
|
2682
|
-
return this.
|
|
2682
|
+
return this.f5b(VOID, newNewUsedBy);
|
|
2683
2683
|
};
|
|
2684
|
-
protoOf(RandomPoolValue).
|
|
2685
|
-
var index = getValue(this.
|
|
2686
|
-
return new GameCardDeckData(index, this.
|
|
2684
|
+
protoOf(RandomPoolValue).y5a = function (gameId) {
|
|
2685
|
+
var index = getValue(this.v5a_1, gameId);
|
|
2686
|
+
return new GameCardDeckData(index, this.u5a_1.f53_1.p(index));
|
|
2687
2687
|
};
|
|
2688
|
-
protoOf(RandomPoolValue).
|
|
2688
|
+
protoOf(RandomPoolValue).g5b = function (randomResult, usedByGames, reservedCardDecks, isUsed) {
|
|
2689
2689
|
return new RandomPoolValue(randomResult, usedByGames, reservedCardDecks, isUsed);
|
|
2690
2690
|
};
|
|
2691
|
-
protoOf(RandomPoolValue).
|
|
2692
|
-
randomResult = randomResult === VOID ? this.
|
|
2693
|
-
usedByGames = usedByGames === VOID ? this.
|
|
2694
|
-
reservedCardDecks = reservedCardDecks === VOID ? this.
|
|
2695
|
-
isUsed = isUsed === VOID ? this.
|
|
2696
|
-
return $super === VOID ? this.
|
|
2691
|
+
protoOf(RandomPoolValue).f5b = function (randomResult, usedByGames, reservedCardDecks, isUsed, $super) {
|
|
2692
|
+
randomResult = randomResult === VOID ? this.u5a_1 : randomResult;
|
|
2693
|
+
usedByGames = usedByGames === VOID ? this.v5a_1 : usedByGames;
|
|
2694
|
+
reservedCardDecks = reservedCardDecks === VOID ? this.w5a_1 : reservedCardDecks;
|
|
2695
|
+
isUsed = isUsed === VOID ? this.x5a_1 : isUsed;
|
|
2696
|
+
return $super === VOID ? this.g5b(randomResult, usedByGames, reservedCardDecks, isUsed) : $super.g5b.call(this, randomResult, usedByGames, reservedCardDecks, isUsed);
|
|
2697
2697
|
};
|
|
2698
2698
|
protoOf(RandomPoolValue).toString = function () {
|
|
2699
|
-
return 'RandomPoolValue(randomResult=' + this.
|
|
2699
|
+
return 'RandomPoolValue(randomResult=' + this.u5a_1.toString() + ', usedByGames=' + toString(this.v5a_1) + ', reservedCardDecks=' + this.w5a_1 + ', isUsed=' + this.x5a_1 + ')';
|
|
2700
2700
|
};
|
|
2701
2701
|
protoOf(RandomPoolValue).hashCode = function () {
|
|
2702
|
-
var result = this.
|
|
2703
|
-
result = imul(result, 31) + hashCode(this.
|
|
2704
|
-
result = imul(result, 31) + this.
|
|
2705
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2702
|
+
var result = this.u5a_1.hashCode();
|
|
2703
|
+
result = imul(result, 31) + hashCode(this.v5a_1) | 0;
|
|
2704
|
+
result = imul(result, 31) + this.w5a_1 | 0;
|
|
2705
|
+
result = imul(result, 31) + getBooleanHashCode(this.x5a_1) | 0;
|
|
2706
2706
|
return result;
|
|
2707
2707
|
};
|
|
2708
2708
|
protoOf(RandomPoolValue).equals = function (other) {
|
|
@@ -2711,34 +2711,34 @@
|
|
|
2711
2711
|
if (!(other instanceof RandomPoolValue))
|
|
2712
2712
|
return false;
|
|
2713
2713
|
var tmp0_other_with_cast = other instanceof RandomPoolValue ? other : THROW_CCE();
|
|
2714
|
-
if (!this.
|
|
2715
|
-
return false;
|
|
2716
|
-
if (!equals(this.u5a_1, tmp0_other_with_cast.u5a_1))
|
|
2714
|
+
if (!this.u5a_1.equals(tmp0_other_with_cast.u5a_1))
|
|
2717
2715
|
return false;
|
|
2718
|
-
if (!(this.v5a_1
|
|
2716
|
+
if (!equals(this.v5a_1, tmp0_other_with_cast.v5a_1))
|
|
2719
2717
|
return false;
|
|
2720
2718
|
if (!(this.w5a_1 === tmp0_other_with_cast.w5a_1))
|
|
2721
2719
|
return false;
|
|
2720
|
+
if (!(this.x5a_1 === tmp0_other_with_cast.x5a_1))
|
|
2721
|
+
return false;
|
|
2722
2722
|
return true;
|
|
2723
2723
|
};
|
|
2724
2724
|
function ApiCommonConfigs$setupJsonDefaultRequest$lambda($url) {
|
|
2725
2725
|
return function ($this$defaultRequest) {
|
|
2726
2726
|
header($this$defaultRequest, 'Content-Type', 'application/json');
|
|
2727
|
-
$this$defaultRequest.
|
|
2727
|
+
$this$defaultRequest.u3z($url);
|
|
2728
2728
|
return Unit_instance;
|
|
2729
2729
|
};
|
|
2730
2730
|
}
|
|
2731
2731
|
function ApiCommonConfigs$setupLogging$2$1($externalLogger) {
|
|
2732
|
-
this.
|
|
2732
|
+
this.h5b_1 = $externalLogger;
|
|
2733
2733
|
}
|
|
2734
|
-
protoOf(ApiCommonConfigs$setupLogging$2$1).
|
|
2735
|
-
this.
|
|
2734
|
+
protoOf(ApiCommonConfigs$setupLogging$2$1).n4n = function (message) {
|
|
2735
|
+
this.h5b_1(message);
|
|
2736
2736
|
};
|
|
2737
2737
|
function ApiCommonConfigs$setupLogging$lambda($config, $externalLogger) {
|
|
2738
2738
|
return function ($this$install) {
|
|
2739
|
-
$this$install.
|
|
2740
|
-
$this$install.
|
|
2741
|
-
$this$install.
|
|
2739
|
+
$this$install.d4p(get_DEFAULT(Companion_instance_0));
|
|
2740
|
+
$this$install.c4p_1 = $config.k5b_1;
|
|
2741
|
+
$this$install.d4p(new ApiCommonConfigs$setupLogging$2$1($externalLogger));
|
|
2742
2742
|
return Unit_instance;
|
|
2743
2743
|
};
|
|
2744
2744
|
}
|
|
@@ -2750,32 +2750,32 @@
|
|
|
2750
2750
|
}
|
|
2751
2751
|
function ApiCommonConfigs() {
|
|
2752
2752
|
}
|
|
2753
|
-
protoOf(ApiCommonConfigs).
|
|
2754
|
-
_this__u8e3s4.
|
|
2755
|
-
this.
|
|
2756
|
-
this.
|
|
2757
|
-
this.
|
|
2753
|
+
protoOf(ApiCommonConfigs).m5b = function (_this__u8e3s4, config, externalLogger) {
|
|
2754
|
+
_this__u8e3s4.u3r_1 = true;
|
|
2755
|
+
this.n5b(_this__u8e3s4, config.i5b_1);
|
|
2756
|
+
this.o5b(_this__u8e3s4, config.l5b_1);
|
|
2757
|
+
this.p5b(_this__u8e3s4, config, externalLogger);
|
|
2758
2758
|
};
|
|
2759
|
-
protoOf(ApiCommonConfigs).
|
|
2759
|
+
protoOf(ApiCommonConfigs).n5b = function (_this__u8e3s4, url) {
|
|
2760
2760
|
defaultRequest(_this__u8e3s4, ApiCommonConfigs$setupJsonDefaultRequest$lambda(url));
|
|
2761
2761
|
};
|
|
2762
|
-
protoOf(ApiCommonConfigs).
|
|
2762
|
+
protoOf(ApiCommonConfigs).p5b = function (_this__u8e3s4, config, externalLogger) {
|
|
2763
2763
|
var tmp = Companion_getInstance_1();
|
|
2764
|
-
_this__u8e3s4.
|
|
2764
|
+
_this__u8e3s4.p3s(tmp, ApiCommonConfigs$setupLogging$lambda(config, externalLogger));
|
|
2765
2765
|
};
|
|
2766
|
-
protoOf(ApiCommonConfigs).
|
|
2766
|
+
protoOf(ApiCommonConfigs).o5b = function (_this__u8e3s4, json) {
|
|
2767
2767
|
var tmp = Plugin_getInstance();
|
|
2768
|
-
_this__u8e3s4.
|
|
2768
|
+
_this__u8e3s4.p3s(tmp, ApiCommonConfigs$setupContentNegotiation$lambda(json));
|
|
2769
2769
|
};
|
|
2770
2770
|
var ApiCommonConfigs_instance;
|
|
2771
2771
|
function ApiCommonConfigs_getInstance() {
|
|
2772
2772
|
return ApiCommonConfigs_instance;
|
|
2773
2773
|
}
|
|
2774
2774
|
function HttpParams$_init_$lambda_l7stpf($this$Json) {
|
|
2775
|
+
$this$Json.i1a_1 = true;
|
|
2775
2776
|
$this$Json.h1a_1 = true;
|
|
2776
2777
|
$this$Json.g1a_1 = true;
|
|
2777
|
-
$this$Json.f1a_1 =
|
|
2778
|
-
$this$Json.e1a_1 = false;
|
|
2778
|
+
$this$Json.f1a_1 = false;
|
|
2779
2779
|
return Unit_instance;
|
|
2780
2780
|
}
|
|
2781
2781
|
function HttpParams(baseUrl, timeoutMillis, loggingLevel, json) {
|
|
@@ -2788,19 +2788,19 @@
|
|
|
2788
2788
|
tmp = json;
|
|
2789
2789
|
}
|
|
2790
2790
|
json = tmp;
|
|
2791
|
-
this.
|
|
2792
|
-
this.
|
|
2793
|
-
this.
|
|
2794
|
-
this.
|
|
2791
|
+
this.i5b_1 = baseUrl;
|
|
2792
|
+
this.j5b_1 = timeoutMillis;
|
|
2793
|
+
this.k5b_1 = loggingLevel;
|
|
2794
|
+
this.l5b_1 = json;
|
|
2795
2795
|
}
|
|
2796
2796
|
protoOf(HttpParams).toString = function () {
|
|
2797
|
-
return 'HttpParams(baseUrl=' + this.
|
|
2797
|
+
return 'HttpParams(baseUrl=' + this.i5b_1 + ', timeoutMillis=' + this.j5b_1.toString() + ', loggingLevel=' + this.k5b_1.toString() + ', json=' + toString(this.l5b_1) + ')';
|
|
2798
2798
|
};
|
|
2799
2799
|
protoOf(HttpParams).hashCode = function () {
|
|
2800
|
-
var result = getStringHashCode(this.
|
|
2801
|
-
result = imul(result, 31) + this.i5b_1.hashCode() | 0;
|
|
2800
|
+
var result = getStringHashCode(this.i5b_1);
|
|
2802
2801
|
result = imul(result, 31) + this.j5b_1.hashCode() | 0;
|
|
2803
|
-
result = imul(result, 31) +
|
|
2802
|
+
result = imul(result, 31) + this.k5b_1.hashCode() | 0;
|
|
2803
|
+
result = imul(result, 31) + hashCode(this.l5b_1) | 0;
|
|
2804
2804
|
return result;
|
|
2805
2805
|
};
|
|
2806
2806
|
protoOf(HttpParams).equals = function (other) {
|
|
@@ -2809,13 +2809,13 @@
|
|
|
2809
2809
|
if (!(other instanceof HttpParams))
|
|
2810
2810
|
return false;
|
|
2811
2811
|
var tmp0_other_with_cast = other instanceof HttpParams ? other : THROW_CCE();
|
|
2812
|
-
if (!(this.
|
|
2812
|
+
if (!(this.i5b_1 === tmp0_other_with_cast.i5b_1))
|
|
2813
2813
|
return false;
|
|
2814
|
-
if (!equalsLong(this.
|
|
2814
|
+
if (!equalsLong(this.j5b_1, tmp0_other_with_cast.j5b_1))
|
|
2815
2815
|
return false;
|
|
2816
|
-
if (!this.
|
|
2816
|
+
if (!this.k5b_1.equals(tmp0_other_with_cast.k5b_1))
|
|
2817
2817
|
return false;
|
|
2818
|
-
if (!equals(this.
|
|
2818
|
+
if (!equals(this.l5b_1, tmp0_other_with_cast.l5b_1))
|
|
2819
2819
|
return false;
|
|
2820
2820
|
return true;
|
|
2821
2821
|
};
|
|
@@ -2841,12 +2841,12 @@
|
|
|
2841
2841
|
}
|
|
2842
2842
|
function nextBytesCopyTo($this, bytes) {
|
|
2843
2843
|
try {
|
|
2844
|
-
$this.t5b_1.
|
|
2844
|
+
$this.t5b_1.o4t(bytes);
|
|
2845
2845
|
} catch ($p) {
|
|
2846
2846
|
if ($p instanceof SecRandomCopyException) {
|
|
2847
2847
|
var error = $p;
|
|
2848
2848
|
$this.s5b_1.e('SecureGameRandom', 'nextBytesCopyTo error ' + error.toString());
|
|
2849
|
-
$this.u5b_1.
|
|
2849
|
+
$this.u5b_1.rg(bytes);
|
|
2850
2850
|
return Unit_instance;
|
|
2851
2851
|
} else {
|
|
2852
2852
|
throw $p;
|
|
@@ -2901,7 +2901,7 @@
|
|
|
2901
2901
|
}
|
|
2902
2902
|
}
|
|
2903
2903
|
};
|
|
2904
|
-
protoOf(SecureRandom_0).
|
|
2904
|
+
protoOf(SecureRandom_0).qg = function () {
|
|
2905
2905
|
return !(nextBits(this, 1) === 0);
|
|
2906
2906
|
};
|
|
2907
2907
|
function overhand(_this__u8e3s4, iterations, random) {
|
|
@@ -2920,7 +2920,7 @@
|
|
|
2920
2920
|
while (pile.o() > 0) {
|
|
2921
2921
|
var tmp0 = pile.o();
|
|
2922
2922
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2923
|
-
var b = 1 + random.
|
|
2923
|
+
var b = 1 + random.q5b(VOID, twentypc) | 0;
|
|
2924
2924
|
var cards = Math.min(tmp0, b);
|
|
2925
2925
|
pile2.k2(0, take(pile, cards));
|
|
2926
2926
|
// Inline function 'kotlin.repeat' call
|
|
@@ -2951,11 +2951,11 @@
|
|
|
2951
2951
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2952
2952
|
var mid = deck.o() / 2 | 0;
|
|
2953
2953
|
var tenpc = mid / 10 | 0;
|
|
2954
|
-
var cut = (mid - tenpc | 0) + random.
|
|
2954
|
+
var cut = (mid - tenpc | 0) + random.q5b(VOID, imul(2, tenpc) + 1 | 0) | 0;
|
|
2955
2955
|
var deck1 = toMutableList(take(pile, cut));
|
|
2956
2956
|
var deck2 = toMutableList(drop(pile, cut));
|
|
2957
2957
|
pile.i2();
|
|
2958
|
-
var fromTop = random.
|
|
2958
|
+
var fromTop = random.qg();
|
|
2959
2959
|
while (deck1.o() > 0 && deck2.o() > 0) {
|
|
2960
2960
|
if (fromTop) {
|
|
2961
2961
|
pile.j(deck1.o2(0));
|
|
@@ -2977,16 +2977,16 @@
|
|
|
2977
2977
|
}
|
|
2978
2978
|
function HttpFactory$provideHttpClient$lambda$lambda($config) {
|
|
2979
2979
|
return function ($this$install) {
|
|
2980
|
-
$this$install.
|
|
2981
|
-
$this$install.
|
|
2980
|
+
$this$install.f4a($config.j5b_1);
|
|
2981
|
+
$this$install.d4a($config.j5b_1);
|
|
2982
2982
|
return Unit_instance;
|
|
2983
2983
|
};
|
|
2984
2984
|
}
|
|
2985
2985
|
function HttpFactory$provideHttpClient$lambda($config, $externalLogger) {
|
|
2986
2986
|
return function ($this$HttpClient) {
|
|
2987
2987
|
var tmp = Plugin_getInstance_0();
|
|
2988
|
-
$this$HttpClient.
|
|
2989
|
-
ApiCommonConfigs_instance.
|
|
2988
|
+
$this$HttpClient.p3s(tmp, HttpFactory$provideHttpClient$lambda$lambda($config));
|
|
2989
|
+
ApiCommonConfigs_instance.m5b($this$HttpClient, $config, $externalLogger);
|
|
2990
2990
|
return Unit_instance;
|
|
2991
2991
|
};
|
|
2992
2992
|
}
|
|
@@ -3001,14 +3001,14 @@
|
|
|
3001
3001
|
return HttpFactory_instance;
|
|
3002
3002
|
}
|
|
3003
3003
|
//region block: post-declaration
|
|
3004
|
-
protoOf($serializer).
|
|
3005
|
-
protoOf($serializer_0).
|
|
3006
|
-
protoOf($serializer_2).
|
|
3007
|
-
protoOf($serializer_3).
|
|
3008
|
-
protoOf($serializer_5).
|
|
3009
|
-
protoOf($serializer_6).
|
|
3010
|
-
protoOf(RandomPoolProviderImpl).
|
|
3011
|
-
protoOf(SecureRandom_0).
|
|
3004
|
+
protoOf($serializer).xz = typeParametersSerializers;
|
|
3005
|
+
protoOf($serializer_0).xz = typeParametersSerializers;
|
|
3006
|
+
protoOf($serializer_2).xz = typeParametersSerializers;
|
|
3007
|
+
protoOf($serializer_3).xz = typeParametersSerializers;
|
|
3008
|
+
protoOf($serializer_5).xz = typeParametersSerializers;
|
|
3009
|
+
protoOf($serializer_6).xz = typeParametersSerializers;
|
|
3010
|
+
protoOf(RandomPoolProviderImpl).l57 = getCardDeck$default;
|
|
3011
|
+
protoOf(SecureRandom_0).q5b = nextInt$default;
|
|
3012
3012
|
protoOf(SecureRandom_0).r5b = shuffle;
|
|
3013
3013
|
//endregion
|
|
3014
3014
|
//region block: init
|