client_plugin_logic_deb 1.8.472 → 1.8.474
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 +70 -70
- package/Kosi-Kodein-kodein-di.js +568 -568
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1587 -1587
- package/Logic_Debertz-ai_module.js +528 -528
- package/Logic_Debertz-bot_engine.js +4078 -1090
- package/Logic_Debertz-bot_engine.js.map +1 -1
- package/Logic_Debertz-client_plugin.d.ts +30 -2
- package/Logic_Debertz-client_plugin.js +3256 -3256
- package/Logic_Debertz-core.js +1829 -1829
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +18189 -18187
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +9798 -9746
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1602 -1551
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +816 -792
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +22 -22
- package/kotlinx-coroutines-core.js +2557 -2557
- package/kotlinx-io-kotlinx-io-bytestring.js +43 -43
- package/kotlinx-io-kotlinx-io-core.js +571 -571
- package/kotlinx-serialization-kotlinx-serialization-core.js +1819 -1819
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1404 -1404
- package/ktor-ktor-client-content-negotiation.js +150 -150
- package/ktor-ktor-client-core.js +1917 -1917
- package/ktor-ktor-client-logging.js +644 -644
- package/ktor-ktor-events.js +11 -11
- package/ktor-ktor-http-cio.js +358 -358
- package/ktor-ktor-http.js +707 -707
- package/ktor-ktor-io.js +646 -646
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +143 -143
- package/ktor-ktor-serialization.js +71 -71
- package/ktor-ktor-utils.js +670 -670
- package/ktor-ktor-websockets.js +49 -49
- package/package.json +1 -1
- package/random-library-crypto-rand.js +12 -12
- package/random-library-secure-random.js +7 -7
- package/raspberry-cardgame-lib-core.js +243 -233
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +101 -101
- package/raspberry-cardgame-lib-random.js +833 -833
- package/uuid.js +23 -23
|
@@ -50,67 +50,67 @@
|
|
|
50
50
|
//region block: imports
|
|
51
51
|
var imul = Math.imul;
|
|
52
52
|
var clz32 = Math.clz32;
|
|
53
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
54
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
55
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
53
|
+
var protoOf = kotlin_kotlin.$_$.pe;
|
|
54
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.pd;
|
|
55
|
+
var RuntimeException = kotlin_kotlin.$_$.dj;
|
|
56
56
|
var VOID = kotlin_kotlin.$_$.b;
|
|
57
57
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.d2;
|
|
58
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
59
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
60
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
61
|
-
var toString = kotlin_kotlin.$_$.
|
|
62
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
63
|
-
var equals = kotlin_kotlin.$_$.
|
|
58
|
+
var captureStack = kotlin_kotlin.$_$.xc;
|
|
59
|
+
var initMetadataForClass = kotlin_kotlin.$_$.od;
|
|
60
|
+
var getStringHashCode = kotlin_kotlin.$_$.md;
|
|
61
|
+
var toString = kotlin_kotlin.$_$.se;
|
|
62
|
+
var hashCode = kotlin_kotlin.$_$.nd;
|
|
63
|
+
var equals = kotlin_kotlin.$_$.gd;
|
|
64
64
|
var listOf = kotlin_kotlin.$_$.v8;
|
|
65
65
|
var plus = kotlin_kotlin.$_$.k9;
|
|
66
66
|
var emptyList = kotlin_kotlin.$_$.p7;
|
|
67
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
68
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
67
|
+
var defineProp = kotlin_kotlin.$_$.fd;
|
|
68
|
+
var fromInt = kotlin_kotlin.$_$.gc;
|
|
69
69
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
70
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
70
|
+
var THROW_CCE = kotlin_kotlin.$_$.ej;
|
|
71
71
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
72
72
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
73
73
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
74
74
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
75
75
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
76
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
76
|
+
var initMetadataForObject = kotlin_kotlin.$_$.ud;
|
|
77
77
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l2;
|
|
78
78
|
var Unit_instance = kotlin_kotlin.$_$.l5;
|
|
79
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
80
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
79
|
+
var objectCreate = kotlin_kotlin.$_$.oe;
|
|
80
|
+
var toString_0 = kotlin_kotlin.$_$.ik;
|
|
81
81
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
82
82
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
83
83
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
84
84
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.f;
|
|
85
|
-
var lazy = kotlin_kotlin.$_$.
|
|
85
|
+
var lazy = kotlin_kotlin.$_$.bk;
|
|
86
86
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
87
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
88
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
87
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.jd;
|
|
88
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.sd;
|
|
89
89
|
var getValue = kotlin_kotlin.$_$.e8;
|
|
90
90
|
var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.f;
|
|
91
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
91
|
+
var CoroutineImpl = kotlin_kotlin.$_$.qb;
|
|
92
92
|
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.q;
|
|
93
93
|
var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.h;
|
|
94
94
|
var url = kotlin_io_ktor_ktor_client_core.$_$.u;
|
|
95
95
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.i;
|
|
96
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
97
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
98
|
-
var createKType = kotlin_kotlin.$_$.
|
|
99
|
-
var createInvariantKTypeProjection = kotlin_kotlin.$_$.
|
|
96
|
+
var getKClass = kotlin_kotlin.$_$.mf;
|
|
97
|
+
var arrayOf = kotlin_kotlin.$_$.sj;
|
|
98
|
+
var createKType = kotlin_kotlin.$_$.kf;
|
|
99
|
+
var createInvariantKTypeProjection = kotlin_kotlin.$_$.if;
|
|
100
100
|
var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.k;
|
|
101
101
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.t;
|
|
102
102
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
103
103
|
var HttpStatement = kotlin_io_ktor_ktor_client_core.$_$.x;
|
|
104
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
104
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ab;
|
|
105
105
|
var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
|
|
106
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
106
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.qd;
|
|
107
107
|
var KtMap = kotlin_kotlin.$_$.x5;
|
|
108
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
108
|
+
var isInterface = kotlin_kotlin.$_$.de;
|
|
109
109
|
var Companion_getInstance_0 = kotlin_kotlin.$_$.b5;
|
|
110
|
-
var Long = kotlin_kotlin.$_$.
|
|
110
|
+
var Long = kotlin_kotlin.$_$.yi;
|
|
111
111
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
112
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
113
|
-
var Duration = kotlin_kotlin.$_$.
|
|
112
|
+
var toDuration = kotlin_kotlin.$_$.ii;
|
|
113
|
+
var Duration = kotlin_kotlin.$_$.fi;
|
|
114
114
|
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.p2;
|
|
115
115
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.j2;
|
|
116
116
|
var System_instance = kotlin_kotlin.$_$.a5;
|
|
@@ -118,19 +118,19 @@
|
|
|
118
118
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.o1;
|
|
119
119
|
var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
|
|
120
120
|
var uuid4 = kotlin_com_benasher44_uuid.$_$.a;
|
|
121
|
-
var Result = kotlin_kotlin.$_$.
|
|
121
|
+
var Result = kotlin_kotlin.$_$.cj;
|
|
122
122
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t1;
|
|
123
123
|
var Companion_instance = kotlin_kotlin.$_$.g5;
|
|
124
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
124
|
+
var createFailure = kotlin_kotlin.$_$.vj;
|
|
125
125
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.y2;
|
|
126
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
126
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.td;
|
|
127
127
|
var Duration__compareTo_impl_pchp0f = kotlin_kotlin.$_$.i2;
|
|
128
128
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
129
129
|
var firstOrNull = kotlin_kotlin.$_$.w7;
|
|
130
130
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k;
|
|
131
131
|
var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l1;
|
|
132
|
-
var toMutableMap = kotlin_kotlin.$_$.
|
|
133
|
-
var toMap = kotlin_kotlin.$_$.
|
|
132
|
+
var toMutableMap = kotlin_kotlin.$_$.qa;
|
|
133
|
+
var toMap = kotlin_kotlin.$_$.ma;
|
|
134
134
|
var emptyMap = kotlin_kotlin.$_$.q7;
|
|
135
135
|
var get_lastIndex = kotlin_kotlin.$_$.n8;
|
|
136
136
|
var header = kotlin_io_ktor_ktor_client_core.$_$.t;
|
|
@@ -142,16 +142,16 @@
|
|
|
142
142
|
var get_ContentNegotiation = kotlin_io_ktor_ktor_client_content_negotiation.$_$.a;
|
|
143
143
|
var LogLevel_ALL_getInstance = kotlin_io_ktor_ktor_client_logging.$_$.a;
|
|
144
144
|
var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.d;
|
|
145
|
-
var equalsLong = kotlin_kotlin.$_$.
|
|
145
|
+
var equalsLong = kotlin_kotlin.$_$.fc;
|
|
146
146
|
var SecRandomCopyException = kotlin_org_kotlincrypto_secure_random.$_$.a;
|
|
147
147
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
148
148
|
var SecureRandom = kotlin_org_kotlincrypto_secure_random.$_$.b;
|
|
149
149
|
var Default_getInstance = kotlin_kotlin.$_$.x4;
|
|
150
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
150
|
+
var toMutableList = kotlin_kotlin.$_$.pa;
|
|
151
151
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.j;
|
|
152
|
-
var take = kotlin_kotlin.$_$.
|
|
152
|
+
var take = kotlin_kotlin.$_$.da;
|
|
153
153
|
var drop = kotlin_kotlin.$_$.o7;
|
|
154
|
-
var reverse = kotlin_kotlin.$_$.
|
|
154
|
+
var reverse = kotlin_kotlin.$_$.s9;
|
|
155
155
|
var get_HttpTimeout = kotlin_io_ktor_ktor_client_core.$_$.n;
|
|
156
156
|
var Js_instance = kotlin_io_ktor_ktor_client_core.$_$.a;
|
|
157
157
|
var HttpClient = kotlin_io_ktor_ktor_client_core.$_$.a1;
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
cardsCount = cardsCount === VOID ? 52 : cardsCount;
|
|
204
204
|
signed = signed === VOID ? false : signed;
|
|
205
205
|
requestDurationWarnMillis = requestDurationWarnMillis === VOID ? new Long(3000, 0) : requestDurationWarnMillis;
|
|
206
|
-
return $super === VOID ? this.
|
|
206
|
+
return $super === VOID ? this.n6g(minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) : $super.n6g.call(this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion);
|
|
207
207
|
}
|
|
208
208
|
initMetadataForInterface(RandomPoolProvider, 'RandomPoolProvider', VOID, VOID, VOID, [7, 5]);
|
|
209
209
|
initMetadataForCompanion(Companion_9);
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
initMetadataForObject(HttpFactory, 'HttpFactory');
|
|
239
239
|
//endregion
|
|
240
240
|
function Companion() {
|
|
241
|
-
this.
|
|
241
|
+
this.z6b_1 = 100001;
|
|
242
242
|
}
|
|
243
243
|
var Companion_instance_1;
|
|
244
244
|
function Companion_getInstance_1() {
|
|
@@ -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.a6c_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).b6c = function () {
|
|
259
259
|
return this.id;
|
|
260
260
|
};
|
|
261
|
-
protoOf(CardDecksRequestUserData).
|
|
261
|
+
protoOf(CardDecksRequestUserData).c6c = function () {
|
|
262
262
|
return this.count;
|
|
263
263
|
};
|
|
264
264
|
protoOf(CardDecksRequestUserData).of = function () {
|
|
@@ -267,13 +267,13 @@
|
|
|
267
267
|
protoOf(CardDecksRequestUserData).pf = function () {
|
|
268
268
|
return this.count;
|
|
269
269
|
};
|
|
270
|
-
protoOf(CardDecksRequestUserData).
|
|
270
|
+
protoOf(CardDecksRequestUserData).d6c = 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.d6c(id, count) : $super.d6c.call(this, id, count);
|
|
277
277
|
};
|
|
278
278
|
protoOf(CardDecksRequestUserData).toString = function () {
|
|
279
279
|
return 'CardDecksRequestUserData(id=' + this.id + ', count=' + this.count + ')';
|
|
@@ -298,10 +298,10 @@
|
|
|
298
298
|
this.players = players;
|
|
299
299
|
this.gameId = gameId;
|
|
300
300
|
}
|
|
301
|
-
protoOf(CardDeckRequestUserData).
|
|
301
|
+
protoOf(CardDeckRequestUserData).e6c = function () {
|
|
302
302
|
return this.players;
|
|
303
303
|
};
|
|
304
|
-
protoOf(CardDeckRequestUserData).
|
|
304
|
+
protoOf(CardDeckRequestUserData).f6c = function () {
|
|
305
305
|
return this.gameId;
|
|
306
306
|
};
|
|
307
307
|
protoOf(CardDeckRequestUserData).of = function () {
|
|
@@ -310,13 +310,13 @@
|
|
|
310
310
|
protoOf(CardDeckRequestUserData).pf = function () {
|
|
311
311
|
return this.gameId;
|
|
312
312
|
};
|
|
313
|
-
protoOf(CardDeckRequestUserData).
|
|
313
|
+
protoOf(CardDeckRequestUserData).g6c = function (players, gameId) {
|
|
314
314
|
return new CardDeckRequestUserData(players, gameId);
|
|
315
315
|
};
|
|
316
316
|
protoOf(CardDeckRequestUserData).copy = function (players, gameId, $super) {
|
|
317
317
|
players = players === VOID ? this.players : players;
|
|
318
318
|
gameId = gameId === VOID ? this.gameId : gameId;
|
|
319
|
-
return $super === VOID ? this.
|
|
319
|
+
return $super === VOID ? this.g6c(players, gameId) : $super.g6c.call(this, players, gameId);
|
|
320
320
|
};
|
|
321
321
|
protoOf(CardDeckRequestUserData).toString = function () {
|
|
322
322
|
return 'CardDeckRequestUserData(players=' + toString(this.players) + ', gameId=' + this.gameId + ')';
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
this.id = id;
|
|
342
342
|
this.name = name;
|
|
343
343
|
}
|
|
344
|
-
protoOf(UserInfoData).
|
|
344
|
+
protoOf(UserInfoData).b6c = function () {
|
|
345
345
|
return this.id;
|
|
346
346
|
};
|
|
347
347
|
protoOf(UserInfoData).m = function () {
|
|
@@ -353,13 +353,13 @@
|
|
|
353
353
|
protoOf(UserInfoData).pf = function () {
|
|
354
354
|
return this.name;
|
|
355
355
|
};
|
|
356
|
-
protoOf(UserInfoData).
|
|
356
|
+
protoOf(UserInfoData).h6c = function (id, name) {
|
|
357
357
|
return new UserInfoData(id, name);
|
|
358
358
|
};
|
|
359
359
|
protoOf(UserInfoData).copy = function (id, name, $super) {
|
|
360
360
|
id = id === VOID ? this.id : id;
|
|
361
361
|
name = name === VOID ? this.name : name;
|
|
362
|
-
return $super === VOID ? this.
|
|
362
|
+
return $super === VOID ? this.h6c(id, name) : $super.h6c.call(this, id, name);
|
|
363
363
|
};
|
|
364
364
|
protoOf(UserInfoData).toString = function () {
|
|
365
365
|
return 'UserInfoData(id=' + this.id + ', name=' + this.name + ')';
|
|
@@ -381,19 +381,19 @@
|
|
|
381
381
|
return true;
|
|
382
382
|
};
|
|
383
383
|
function CardDeckResult(cardDecks, responseText, id, signature) {
|
|
384
|
-
this.
|
|
385
|
-
this.
|
|
386
|
-
this.
|
|
387
|
-
this.
|
|
384
|
+
this.i6c_1 = cardDecks;
|
|
385
|
+
this.j6c_1 = responseText;
|
|
386
|
+
this.k6c_1 = id;
|
|
387
|
+
this.l6c_1 = signature;
|
|
388
388
|
}
|
|
389
389
|
protoOf(CardDeckResult).toString = function () {
|
|
390
|
-
return 'CardDeckResult(cardDecks=' + toString(this.
|
|
390
|
+
return 'CardDeckResult(cardDecks=' + toString(this.i6c_1) + ', responseText=' + this.j6c_1 + ', id=' + this.k6c_1 + ', signature=' + this.l6c_1 + ')';
|
|
391
391
|
};
|
|
392
392
|
protoOf(CardDeckResult).hashCode = function () {
|
|
393
|
-
var result = hashCode(this.
|
|
394
|
-
result = imul(result, 31) + getStringHashCode(this.i6c_1) | 0;
|
|
393
|
+
var result = hashCode(this.i6c_1);
|
|
395
394
|
result = imul(result, 31) + getStringHashCode(this.j6c_1) | 0;
|
|
396
|
-
result = imul(result, 31) +
|
|
395
|
+
result = imul(result, 31) + getStringHashCode(this.k6c_1) | 0;
|
|
396
|
+
result = imul(result, 31) + (this.l6c_1 == null ? 0 : getStringHashCode(this.l6c_1)) | 0;
|
|
397
397
|
return result;
|
|
398
398
|
};
|
|
399
399
|
protoOf(CardDeckResult).equals = function (other) {
|
|
@@ -401,13 +401,13 @@
|
|
|
401
401
|
return true;
|
|
402
402
|
if (!(other instanceof CardDeckResult))
|
|
403
403
|
return false;
|
|
404
|
-
if (!equals(this.
|
|
405
|
-
return false;
|
|
406
|
-
if (!(this.i6c_1 === other.i6c_1))
|
|
404
|
+
if (!equals(this.i6c_1, other.i6c_1))
|
|
407
405
|
return false;
|
|
408
406
|
if (!(this.j6c_1 === other.j6c_1))
|
|
409
407
|
return false;
|
|
410
|
-
if (!(this.k6c_1
|
|
408
|
+
if (!(this.k6c_1 === other.k6c_1))
|
|
409
|
+
return false;
|
|
410
|
+
if (!(this.l6c_1 == other.l6c_1))
|
|
411
411
|
return false;
|
|
412
412
|
return true;
|
|
413
413
|
};
|
|
@@ -430,16 +430,16 @@
|
|
|
430
430
|
this.userData = userData;
|
|
431
431
|
this.rounds = rounds;
|
|
432
432
|
}
|
|
433
|
-
protoOf(GameCardDecksRecord).
|
|
433
|
+
protoOf(GameCardDecksRecord).m6c = function () {
|
|
434
434
|
return this.poolId;
|
|
435
435
|
};
|
|
436
|
-
protoOf(GameCardDecksRecord).
|
|
436
|
+
protoOf(GameCardDecksRecord).n6c = function () {
|
|
437
437
|
return this.signature;
|
|
438
438
|
};
|
|
439
|
-
protoOf(GameCardDecksRecord).
|
|
439
|
+
protoOf(GameCardDecksRecord).o6c = function () {
|
|
440
440
|
return this.userData;
|
|
441
441
|
};
|
|
442
|
-
protoOf(GameCardDecksRecord).
|
|
442
|
+
protoOf(GameCardDecksRecord).p6c = function () {
|
|
443
443
|
return this.rounds;
|
|
444
444
|
};
|
|
445
445
|
protoOf(GameCardDecksRecord).of = function () {
|
|
@@ -448,13 +448,13 @@
|
|
|
448
448
|
protoOf(GameCardDecksRecord).pf = function () {
|
|
449
449
|
return this.signature;
|
|
450
450
|
};
|
|
451
|
-
protoOf(GameCardDecksRecord).
|
|
451
|
+
protoOf(GameCardDecksRecord).wn = function () {
|
|
452
452
|
return this.userData;
|
|
453
453
|
};
|
|
454
|
-
protoOf(GameCardDecksRecord).
|
|
454
|
+
protoOf(GameCardDecksRecord).q6c = function () {
|
|
455
455
|
return this.rounds;
|
|
456
456
|
};
|
|
457
|
-
protoOf(GameCardDecksRecord).
|
|
457
|
+
protoOf(GameCardDecksRecord).r6c = function (poolId, signature, userData, rounds) {
|
|
458
458
|
return new GameCardDecksRecord(poolId, signature, userData, rounds);
|
|
459
459
|
};
|
|
460
460
|
protoOf(GameCardDecksRecord).copy = function (poolId, signature, userData, rounds, $super) {
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
signature = signature === VOID ? this.signature : signature;
|
|
463
463
|
userData = userData === VOID ? this.userData : userData;
|
|
464
464
|
rounds = rounds === VOID ? this.rounds : rounds;
|
|
465
|
-
return $super === VOID ? this.
|
|
465
|
+
return $super === VOID ? this.r6c(poolId, signature, userData, rounds) : $super.r6c.call(this, poolId, signature, userData, rounds);
|
|
466
466
|
};
|
|
467
467
|
protoOf(GameCardDecksRecord).toString = function () {
|
|
468
468
|
return 'GameCardDecksRecord(poolId=' + this.poolId + ', signature=' + this.signature + ', userData=' + this.userData.toString() + ', rounds=' + toString(this.rounds) + ')';
|
|
@@ -493,10 +493,10 @@
|
|
|
493
493
|
this.cardDeckIndex = cardDeckIndex;
|
|
494
494
|
this.cards = cards;
|
|
495
495
|
}
|
|
496
|
-
protoOf(GameCardDeckData).
|
|
496
|
+
protoOf(GameCardDeckData).s6c = function () {
|
|
497
497
|
return this.cardDeckIndex;
|
|
498
498
|
};
|
|
499
|
-
protoOf(GameCardDeckData).
|
|
499
|
+
protoOf(GameCardDeckData).t6c = function () {
|
|
500
500
|
return this.cards;
|
|
501
501
|
};
|
|
502
502
|
protoOf(GameCardDeckData).of = function () {
|
|
@@ -505,13 +505,13 @@
|
|
|
505
505
|
protoOf(GameCardDeckData).pf = function () {
|
|
506
506
|
return this.cards;
|
|
507
507
|
};
|
|
508
|
-
protoOf(GameCardDeckData).
|
|
508
|
+
protoOf(GameCardDeckData).u6c = function (cardDeckIndex, cards) {
|
|
509
509
|
return new GameCardDeckData(cardDeckIndex, cards);
|
|
510
510
|
};
|
|
511
511
|
protoOf(GameCardDeckData).copy = function (cardDeckIndex, cards, $super) {
|
|
512
512
|
cardDeckIndex = cardDeckIndex === VOID ? this.cardDeckIndex : cardDeckIndex;
|
|
513
513
|
cards = cards === VOID ? this.cards : cards;
|
|
514
|
-
return $super === VOID ? this.
|
|
514
|
+
return $super === VOID ? this.u6c(cardDeckIndex, cards) : $super.u6c.call(this, cardDeckIndex, cards);
|
|
515
515
|
};
|
|
516
516
|
protoOf(GameCardDeckData).toString = function () {
|
|
517
517
|
return 'GameCardDeckData(cardDeckIndex=' + this.cardDeckIndex + ', cards=' + toString(this.cards) + ')';
|
|
@@ -537,10 +537,10 @@
|
|
|
537
537
|
this.baseUrl = baseUrl;
|
|
538
538
|
this.timeoutMillis = timeoutMillis;
|
|
539
539
|
}
|
|
540
|
-
protoOf(HttpConfig).
|
|
540
|
+
protoOf(HttpConfig).v6c = function () {
|
|
541
541
|
return this.baseUrl;
|
|
542
542
|
};
|
|
543
|
-
protoOf(HttpConfig).
|
|
543
|
+
protoOf(HttpConfig).w6c = function () {
|
|
544
544
|
return this.timeoutMillis;
|
|
545
545
|
};
|
|
546
546
|
protoOf(HttpConfig).of = function () {
|
|
@@ -549,13 +549,13 @@
|
|
|
549
549
|
protoOf(HttpConfig).pf = function () {
|
|
550
550
|
return this.timeoutMillis;
|
|
551
551
|
};
|
|
552
|
-
protoOf(HttpConfig).
|
|
552
|
+
protoOf(HttpConfig).d6c = function (baseUrl, timeoutMillis) {
|
|
553
553
|
return new HttpConfig(baseUrl, timeoutMillis);
|
|
554
554
|
};
|
|
555
555
|
protoOf(HttpConfig).copy = function (baseUrl, timeoutMillis, $super) {
|
|
556
556
|
baseUrl = baseUrl === VOID ? this.baseUrl : baseUrl;
|
|
557
557
|
timeoutMillis = timeoutMillis === VOID ? this.timeoutMillis : timeoutMillis;
|
|
558
|
-
return $super === VOID ? this.
|
|
558
|
+
return $super === VOID ? this.d6c(baseUrl, timeoutMillis) : $super.d6c.call(this, baseUrl, timeoutMillis);
|
|
559
559
|
};
|
|
560
560
|
protoOf(HttpConfig).toString = function () {
|
|
561
561
|
return 'HttpConfig(baseUrl=' + this.baseUrl + ', timeoutMillis=' + this.timeoutMillis + ')';
|
|
@@ -589,16 +589,16 @@
|
|
|
589
589
|
this.thresholdForUsedPool = thresholdForUsedPool;
|
|
590
590
|
this.httpConfig = httpConfig;
|
|
591
591
|
}
|
|
592
|
-
protoOf(RandomOrgConfig).
|
|
592
|
+
protoOf(RandomOrgConfig).x6c = function () {
|
|
593
593
|
return this.apiKey;
|
|
594
594
|
};
|
|
595
|
-
protoOf(RandomOrgConfig).
|
|
595
|
+
protoOf(RandomOrgConfig).y6c = function () {
|
|
596
596
|
return this.poolSize;
|
|
597
597
|
};
|
|
598
|
-
protoOf(RandomOrgConfig).
|
|
598
|
+
protoOf(RandomOrgConfig).z6c = function () {
|
|
599
599
|
return this.thresholdForUsedPool;
|
|
600
600
|
};
|
|
601
|
-
protoOf(RandomOrgConfig).
|
|
601
|
+
protoOf(RandomOrgConfig).a6d = function () {
|
|
602
602
|
return this.httpConfig;
|
|
603
603
|
};
|
|
604
604
|
protoOf(RandomOrgConfig).of = function () {
|
|
@@ -607,13 +607,13 @@
|
|
|
607
607
|
protoOf(RandomOrgConfig).pf = function () {
|
|
608
608
|
return this.poolSize;
|
|
609
609
|
};
|
|
610
|
-
protoOf(RandomOrgConfig).
|
|
610
|
+
protoOf(RandomOrgConfig).wn = function () {
|
|
611
611
|
return this.thresholdForUsedPool;
|
|
612
612
|
};
|
|
613
|
-
protoOf(RandomOrgConfig).
|
|
613
|
+
protoOf(RandomOrgConfig).q6c = function () {
|
|
614
614
|
return this.httpConfig;
|
|
615
615
|
};
|
|
616
|
-
protoOf(RandomOrgConfig).
|
|
616
|
+
protoOf(RandomOrgConfig).b6d = function (apiKey, poolSize, thresholdForUsedPool, httpConfig) {
|
|
617
617
|
return new RandomOrgConfig(apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
618
618
|
};
|
|
619
619
|
protoOf(RandomOrgConfig).copy = function (apiKey, poolSize, thresholdForUsedPool, httpConfig, $super) {
|
|
@@ -621,7 +621,7 @@
|
|
|
621
621
|
poolSize = poolSize === VOID ? this.poolSize : poolSize;
|
|
622
622
|
thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
|
|
623
623
|
httpConfig = httpConfig === VOID ? this.httpConfig : httpConfig;
|
|
624
|
-
return $super === VOID ? this.
|
|
624
|
+
return $super === VOID ? this.b6d(apiKey, poolSize, thresholdForUsedPool, httpConfig) : $super.b6d.call(this, apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
625
625
|
};
|
|
626
626
|
protoOf(RandomOrgConfig).toString = function () {
|
|
627
627
|
return 'RandomOrgConfig(apiKey=' + this.apiKey + ', poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', httpConfig=' + this.httpConfig.toString() + ')';
|
|
@@ -657,59 +657,59 @@
|
|
|
657
657
|
function $serializer() {
|
|
658
658
|
$serializer_instance = this;
|
|
659
659
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.ErrorResponseDto', this, 2);
|
|
660
|
-
tmp0_serialDesc.
|
|
661
|
-
tmp0_serialDesc.
|
|
662
|
-
this.
|
|
663
|
-
}
|
|
664
|
-
protoOf($serializer).
|
|
665
|
-
var tmp0_desc = this.
|
|
666
|
-
var tmp1_output = encoder.
|
|
667
|
-
tmp1_output.
|
|
668
|
-
tmp1_output.
|
|
669
|
-
tmp1_output.
|
|
670
|
-
};
|
|
671
|
-
protoOf($serializer).
|
|
672
|
-
return this.
|
|
673
|
-
};
|
|
674
|
-
protoOf($serializer).
|
|
675
|
-
var tmp0_desc = this.
|
|
660
|
+
tmp0_serialDesc.b11('jsonrpc', false);
|
|
661
|
+
tmp0_serialDesc.b11('error', false);
|
|
662
|
+
this.c6d_1 = tmp0_serialDesc;
|
|
663
|
+
}
|
|
664
|
+
protoOf($serializer).d6d = function (encoder, value) {
|
|
665
|
+
var tmp0_desc = this.c6d_1;
|
|
666
|
+
var tmp1_output = encoder.jt(tmp0_desc);
|
|
667
|
+
tmp1_output.yu(tmp0_desc, 0, value.e6d_1);
|
|
668
|
+
tmp1_output.cv(tmp0_desc, 1, $serializer_getInstance_0(), value.f6d_1);
|
|
669
|
+
tmp1_output.kt(tmp0_desc);
|
|
670
|
+
};
|
|
671
|
+
protoOf($serializer).xp = function (encoder, value) {
|
|
672
|
+
return this.d6d(encoder, value instanceof ErrorResponseDto ? value : THROW_CCE());
|
|
673
|
+
};
|
|
674
|
+
protoOf($serializer).yp = function (decoder) {
|
|
675
|
+
var tmp0_desc = this.c6d_1;
|
|
676
676
|
var tmp1_flag = true;
|
|
677
677
|
var tmp2_index = 0;
|
|
678
678
|
var tmp3_bitMask0 = 0;
|
|
679
679
|
var tmp4_local0 = null;
|
|
680
680
|
var tmp5_local1 = null;
|
|
681
|
-
var tmp6_input = decoder.
|
|
682
|
-
if (tmp6_input.
|
|
683
|
-
tmp4_local0 = tmp6_input.
|
|
681
|
+
var tmp6_input = decoder.jt(tmp0_desc);
|
|
682
|
+
if (tmp6_input.zt()) {
|
|
683
|
+
tmp4_local0 = tmp6_input.tt(tmp0_desc, 0);
|
|
684
684
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
685
|
-
tmp5_local1 = tmp6_input.
|
|
685
|
+
tmp5_local1 = tmp6_input.xt(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
686
686
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
687
687
|
} else
|
|
688
688
|
while (tmp1_flag) {
|
|
689
|
-
tmp2_index = tmp6_input.
|
|
689
|
+
tmp2_index = tmp6_input.au(tmp0_desc);
|
|
690
690
|
switch (tmp2_index) {
|
|
691
691
|
case -1:
|
|
692
692
|
tmp1_flag = false;
|
|
693
693
|
break;
|
|
694
694
|
case 0:
|
|
695
|
-
tmp4_local0 = tmp6_input.
|
|
695
|
+
tmp4_local0 = tmp6_input.tt(tmp0_desc, 0);
|
|
696
696
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
697
697
|
break;
|
|
698
698
|
case 1:
|
|
699
|
-
tmp5_local1 = tmp6_input.
|
|
699
|
+
tmp5_local1 = tmp6_input.xt(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
700
700
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
701
701
|
break;
|
|
702
702
|
default:
|
|
703
703
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
|
-
tmp6_input.
|
|
706
|
+
tmp6_input.kt(tmp0_desc);
|
|
707
707
|
return ErrorResponseDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
708
708
|
};
|
|
709
|
-
protoOf($serializer).
|
|
710
|
-
return this.
|
|
709
|
+
protoOf($serializer).wp = function () {
|
|
710
|
+
return this.c6d_1;
|
|
711
711
|
};
|
|
712
|
-
protoOf($serializer).
|
|
712
|
+
protoOf($serializer).q11 = function () {
|
|
713
713
|
// Inline function 'kotlin.arrayOf' call
|
|
714
714
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
715
715
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -723,25 +723,25 @@
|
|
|
723
723
|
}
|
|
724
724
|
function ErrorResponseDto_init_$Init$(seen0, jsonrpc, error, serializationConstructorMarker, $this) {
|
|
725
725
|
if (!(3 === (3 & seen0))) {
|
|
726
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
726
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().c6d_1);
|
|
727
727
|
}
|
|
728
|
-
$this.
|
|
729
|
-
$this.
|
|
728
|
+
$this.e6d_1 = jsonrpc;
|
|
729
|
+
$this.f6d_1 = error;
|
|
730
730
|
return $this;
|
|
731
731
|
}
|
|
732
732
|
function ErrorResponseDto_init_$Create$(seen0, jsonrpc, error, serializationConstructorMarker) {
|
|
733
733
|
return ErrorResponseDto_init_$Init$(seen0, jsonrpc, error, serializationConstructorMarker, objectCreate(protoOf(ErrorResponseDto)));
|
|
734
734
|
}
|
|
735
735
|
function ErrorResponseDto(jsonrpc, error) {
|
|
736
|
-
this.
|
|
737
|
-
this.
|
|
736
|
+
this.e6d_1 = jsonrpc;
|
|
737
|
+
this.f6d_1 = error;
|
|
738
738
|
}
|
|
739
739
|
protoOf(ErrorResponseDto).toString = function () {
|
|
740
|
-
return 'ErrorResponseDto(jsonrpc=' + this.
|
|
740
|
+
return 'ErrorResponseDto(jsonrpc=' + this.e6d_1 + ', error=' + toString_0(this.f6d_1) + ')';
|
|
741
741
|
};
|
|
742
742
|
protoOf(ErrorResponseDto).hashCode = function () {
|
|
743
|
-
var result = getStringHashCode(this.
|
|
744
|
-
result = imul(result, 31) + (this.
|
|
743
|
+
var result = getStringHashCode(this.e6d_1);
|
|
744
|
+
result = imul(result, 31) + (this.f6d_1 == null ? 0 : this.f6d_1.hashCode()) | 0;
|
|
745
745
|
return result;
|
|
746
746
|
};
|
|
747
747
|
protoOf(ErrorResponseDto).equals = function (other) {
|
|
@@ -749,68 +749,68 @@
|
|
|
749
749
|
return true;
|
|
750
750
|
if (!(other instanceof ErrorResponseDto))
|
|
751
751
|
return false;
|
|
752
|
-
if (!(this.
|
|
752
|
+
if (!(this.e6d_1 === other.e6d_1))
|
|
753
753
|
return false;
|
|
754
|
-
if (!equals(this.
|
|
754
|
+
if (!equals(this.f6d_1, other.f6d_1))
|
|
755
755
|
return false;
|
|
756
756
|
return true;
|
|
757
757
|
};
|
|
758
758
|
function $serializer_0() {
|
|
759
759
|
$serializer_instance_0 = this;
|
|
760
760
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.ErrorDto', this, 2);
|
|
761
|
-
tmp0_serialDesc.
|
|
762
|
-
tmp0_serialDesc.
|
|
763
|
-
this.
|
|
764
|
-
}
|
|
765
|
-
protoOf($serializer_0).
|
|
766
|
-
var tmp0_desc = this.
|
|
767
|
-
var tmp1_output = encoder.
|
|
768
|
-
tmp1_output.
|
|
769
|
-
tmp1_output.
|
|
770
|
-
tmp1_output.
|
|
771
|
-
};
|
|
772
|
-
protoOf($serializer_0).
|
|
773
|
-
return this.
|
|
774
|
-
};
|
|
775
|
-
protoOf($serializer_0).
|
|
776
|
-
var tmp0_desc = this.
|
|
761
|
+
tmp0_serialDesc.b11('code', false);
|
|
762
|
+
tmp0_serialDesc.b11('message', false);
|
|
763
|
+
this.g6d_1 = tmp0_serialDesc;
|
|
764
|
+
}
|
|
765
|
+
protoOf($serializer_0).h6d = function (encoder, value) {
|
|
766
|
+
var tmp0_desc = this.g6d_1;
|
|
767
|
+
var tmp1_output = encoder.jt(tmp0_desc);
|
|
768
|
+
tmp1_output.cv(tmp0_desc, 0, IntSerializer_getInstance(), value.i6d_1);
|
|
769
|
+
tmp1_output.cv(tmp0_desc, 1, StringSerializer_getInstance(), value.j6d_1);
|
|
770
|
+
tmp1_output.kt(tmp0_desc);
|
|
771
|
+
};
|
|
772
|
+
protoOf($serializer_0).xp = function (encoder, value) {
|
|
773
|
+
return this.h6d(encoder, value instanceof ErrorDto ? value : THROW_CCE());
|
|
774
|
+
};
|
|
775
|
+
protoOf($serializer_0).yp = function (decoder) {
|
|
776
|
+
var tmp0_desc = this.g6d_1;
|
|
777
777
|
var tmp1_flag = true;
|
|
778
778
|
var tmp2_index = 0;
|
|
779
779
|
var tmp3_bitMask0 = 0;
|
|
780
780
|
var tmp4_local0 = null;
|
|
781
781
|
var tmp5_local1 = null;
|
|
782
|
-
var tmp6_input = decoder.
|
|
783
|
-
if (tmp6_input.
|
|
784
|
-
tmp4_local0 = tmp6_input.
|
|
782
|
+
var tmp6_input = decoder.jt(tmp0_desc);
|
|
783
|
+
if (tmp6_input.zt()) {
|
|
784
|
+
tmp4_local0 = tmp6_input.xt(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
785
785
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
786
|
-
tmp5_local1 = tmp6_input.
|
|
786
|
+
tmp5_local1 = tmp6_input.xt(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
787
787
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
788
788
|
} else
|
|
789
789
|
while (tmp1_flag) {
|
|
790
|
-
tmp2_index = tmp6_input.
|
|
790
|
+
tmp2_index = tmp6_input.au(tmp0_desc);
|
|
791
791
|
switch (tmp2_index) {
|
|
792
792
|
case -1:
|
|
793
793
|
tmp1_flag = false;
|
|
794
794
|
break;
|
|
795
795
|
case 0:
|
|
796
|
-
tmp4_local0 = tmp6_input.
|
|
796
|
+
tmp4_local0 = tmp6_input.xt(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
797
797
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
798
798
|
break;
|
|
799
799
|
case 1:
|
|
800
|
-
tmp5_local1 = tmp6_input.
|
|
800
|
+
tmp5_local1 = tmp6_input.xt(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
801
801
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
802
802
|
break;
|
|
803
803
|
default:
|
|
804
804
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
|
-
tmp6_input.
|
|
807
|
+
tmp6_input.kt(tmp0_desc);
|
|
808
808
|
return ErrorDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
809
809
|
};
|
|
810
|
-
protoOf($serializer_0).
|
|
811
|
-
return this.
|
|
810
|
+
protoOf($serializer_0).wp = function () {
|
|
811
|
+
return this.g6d_1;
|
|
812
812
|
};
|
|
813
|
-
protoOf($serializer_0).
|
|
813
|
+
protoOf($serializer_0).q11 = function () {
|
|
814
814
|
// Inline function 'kotlin.arrayOf' call
|
|
815
815
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
816
816
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -824,10 +824,10 @@
|
|
|
824
824
|
}
|
|
825
825
|
function ErrorDto_init_$Init$(seen0, code, message, serializationConstructorMarker, $this) {
|
|
826
826
|
if (!(3 === (3 & seen0))) {
|
|
827
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
827
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().g6d_1);
|
|
828
828
|
}
|
|
829
|
-
$this.
|
|
830
|
-
$this.
|
|
829
|
+
$this.i6d_1 = code;
|
|
830
|
+
$this.j6d_1 = message;
|
|
831
831
|
return $this;
|
|
832
832
|
}
|
|
833
833
|
function ErrorDto_init_$Create$(seen0, code, message, serializationConstructorMarker) {
|
|
@@ -836,11 +836,11 @@
|
|
|
836
836
|
function ErrorDto() {
|
|
837
837
|
}
|
|
838
838
|
protoOf(ErrorDto).toString = function () {
|
|
839
|
-
return 'ErrorDto(code=' + this.
|
|
839
|
+
return 'ErrorDto(code=' + this.i6d_1 + ', message=' + this.j6d_1 + ')';
|
|
840
840
|
};
|
|
841
841
|
protoOf(ErrorDto).hashCode = function () {
|
|
842
|
-
var result = this.
|
|
843
|
-
result = imul(result, 31) + (this.
|
|
842
|
+
var result = this.i6d_1 == null ? 0 : this.i6d_1;
|
|
843
|
+
result = imul(result, 31) + (this.j6d_1 == null ? 0 : getStringHashCode(this.j6d_1)) | 0;
|
|
844
844
|
return result;
|
|
845
845
|
};
|
|
846
846
|
protoOf(ErrorDto).equals = function (other) {
|
|
@@ -848,15 +848,15 @@
|
|
|
848
848
|
return true;
|
|
849
849
|
if (!(other instanceof ErrorDto))
|
|
850
850
|
return false;
|
|
851
|
-
if (!(this.h6d_1 == other.h6d_1))
|
|
852
|
-
return false;
|
|
853
851
|
if (!(this.i6d_1 == other.i6d_1))
|
|
854
852
|
return false;
|
|
853
|
+
if (!(this.j6d_1 == other.j6d_1))
|
|
854
|
+
return false;
|
|
855
855
|
return true;
|
|
856
856
|
};
|
|
857
857
|
function $serializer_init_$Init$(typeSerial0, $this) {
|
|
858
858
|
$serializer_1.call($this);
|
|
859
|
-
$this.
|
|
859
|
+
$this.l6d_1 = typeSerial0;
|
|
860
860
|
return $this;
|
|
861
861
|
}
|
|
862
862
|
function $serializer_init_$Create$(typeSerial0) {
|
|
@@ -865,17 +865,17 @@
|
|
|
865
865
|
function Companion_2() {
|
|
866
866
|
Companion_instance_4 = this;
|
|
867
867
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomRequestDto', null, 4);
|
|
868
|
-
tmp0_serialDesc.
|
|
869
|
-
tmp0_serialDesc.
|
|
870
|
-
tmp0_serialDesc.
|
|
871
|
-
tmp0_serialDesc.
|
|
872
|
-
this.
|
|
868
|
+
tmp0_serialDesc.b11('jsonrpc', false);
|
|
869
|
+
tmp0_serialDesc.b11('method', false);
|
|
870
|
+
tmp0_serialDesc.b11('params', false);
|
|
871
|
+
tmp0_serialDesc.b11('id', false);
|
|
872
|
+
this.m6d_1 = tmp0_serialDesc;
|
|
873
873
|
}
|
|
874
|
-
protoOf(Companion_2).
|
|
874
|
+
protoOf(Companion_2).n6d = function (typeSerial0) {
|
|
875
875
|
return $serializer_init_$Create$(typeSerial0);
|
|
876
876
|
};
|
|
877
|
-
protoOf(Companion_2).
|
|
878
|
-
return this.
|
|
877
|
+
protoOf(Companion_2).b12 = function (typeParamsSerializers) {
|
|
878
|
+
return this.n6d(typeParamsSerializers[0]);
|
|
879
879
|
};
|
|
880
880
|
var Companion_instance_4;
|
|
881
881
|
function Companion_getInstance_4() {
|
|
@@ -885,26 +885,26 @@
|
|
|
885
885
|
}
|
|
886
886
|
function $serializer_1() {
|
|
887
887
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomRequestDto', this, 4);
|
|
888
|
-
tmp0_serialDesc.
|
|
889
|
-
tmp0_serialDesc.
|
|
890
|
-
tmp0_serialDesc.
|
|
891
|
-
tmp0_serialDesc.
|
|
892
|
-
this.
|
|
893
|
-
}
|
|
894
|
-
protoOf($serializer_1).
|
|
895
|
-
var tmp0_desc = this.
|
|
896
|
-
var tmp1_output = encoder.
|
|
897
|
-
tmp1_output.
|
|
898
|
-
tmp1_output.
|
|
899
|
-
tmp1_output.
|
|
900
|
-
tmp1_output.
|
|
901
|
-
tmp1_output.
|
|
902
|
-
};
|
|
903
|
-
protoOf($serializer_1).
|
|
904
|
-
return this.
|
|
905
|
-
};
|
|
906
|
-
protoOf($serializer_1).
|
|
907
|
-
var tmp0_desc = this.
|
|
888
|
+
tmp0_serialDesc.b11('jsonrpc', false);
|
|
889
|
+
tmp0_serialDesc.b11('method', false);
|
|
890
|
+
tmp0_serialDesc.b11('params', false);
|
|
891
|
+
tmp0_serialDesc.b11('id', false);
|
|
892
|
+
this.k6d_1 = tmp0_serialDesc;
|
|
893
|
+
}
|
|
894
|
+
protoOf($serializer_1).o6d = function (encoder, value) {
|
|
895
|
+
var tmp0_desc = this.k6d_1;
|
|
896
|
+
var tmp1_output = encoder.jt(tmp0_desc);
|
|
897
|
+
tmp1_output.yu(tmp0_desc, 0, value.p6d_1);
|
|
898
|
+
tmp1_output.yu(tmp0_desc, 1, value.q6d_1);
|
|
899
|
+
tmp1_output.av(tmp0_desc, 2, this.l6d_1, value.r6d_1);
|
|
900
|
+
tmp1_output.yu(tmp0_desc, 3, value.s6d_1);
|
|
901
|
+
tmp1_output.kt(tmp0_desc);
|
|
902
|
+
};
|
|
903
|
+
protoOf($serializer_1).xp = function (encoder, value) {
|
|
904
|
+
return this.o6d(encoder, value instanceof RandomRequestDto ? value : THROW_CCE());
|
|
905
|
+
};
|
|
906
|
+
protoOf($serializer_1).yp = function (decoder) {
|
|
907
|
+
var tmp0_desc = this.k6d_1;
|
|
908
908
|
var tmp1_flag = true;
|
|
909
909
|
var tmp2_index = 0;
|
|
910
910
|
var tmp3_bitMask0 = 0;
|
|
@@ -912,69 +912,69 @@
|
|
|
912
912
|
var tmp5_local1 = null;
|
|
913
913
|
var tmp6_local2 = null;
|
|
914
914
|
var tmp7_local3 = null;
|
|
915
|
-
var tmp8_input = decoder.
|
|
916
|
-
if (tmp8_input.
|
|
917
|
-
tmp4_local0 = tmp8_input.
|
|
915
|
+
var tmp8_input = decoder.jt(tmp0_desc);
|
|
916
|
+
if (tmp8_input.zt()) {
|
|
917
|
+
tmp4_local0 = tmp8_input.tt(tmp0_desc, 0);
|
|
918
918
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
919
|
-
tmp5_local1 = tmp8_input.
|
|
919
|
+
tmp5_local1 = tmp8_input.tt(tmp0_desc, 1);
|
|
920
920
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
921
|
-
tmp6_local2 = tmp8_input.
|
|
921
|
+
tmp6_local2 = tmp8_input.vt(tmp0_desc, 2, this.l6d_1, tmp6_local2);
|
|
922
922
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
923
|
-
tmp7_local3 = tmp8_input.
|
|
923
|
+
tmp7_local3 = tmp8_input.tt(tmp0_desc, 3);
|
|
924
924
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
925
925
|
} else
|
|
926
926
|
while (tmp1_flag) {
|
|
927
|
-
tmp2_index = tmp8_input.
|
|
927
|
+
tmp2_index = tmp8_input.au(tmp0_desc);
|
|
928
928
|
switch (tmp2_index) {
|
|
929
929
|
case -1:
|
|
930
930
|
tmp1_flag = false;
|
|
931
931
|
break;
|
|
932
932
|
case 0:
|
|
933
|
-
tmp4_local0 = tmp8_input.
|
|
933
|
+
tmp4_local0 = tmp8_input.tt(tmp0_desc, 0);
|
|
934
934
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
935
935
|
break;
|
|
936
936
|
case 1:
|
|
937
|
-
tmp5_local1 = tmp8_input.
|
|
937
|
+
tmp5_local1 = tmp8_input.tt(tmp0_desc, 1);
|
|
938
938
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
939
939
|
break;
|
|
940
940
|
case 2:
|
|
941
|
-
tmp6_local2 = tmp8_input.
|
|
941
|
+
tmp6_local2 = tmp8_input.vt(tmp0_desc, 2, this.l6d_1, tmp6_local2);
|
|
942
942
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
943
943
|
break;
|
|
944
944
|
case 3:
|
|
945
|
-
tmp7_local3 = tmp8_input.
|
|
945
|
+
tmp7_local3 = tmp8_input.tt(tmp0_desc, 3);
|
|
946
946
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
947
947
|
break;
|
|
948
948
|
default:
|
|
949
949
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
|
-
tmp8_input.
|
|
952
|
+
tmp8_input.kt(tmp0_desc);
|
|
953
953
|
return RandomRequestDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
954
954
|
};
|
|
955
|
-
protoOf($serializer_1).
|
|
956
|
-
return this.
|
|
955
|
+
protoOf($serializer_1).wp = function () {
|
|
956
|
+
return this.k6d_1;
|
|
957
957
|
};
|
|
958
|
-
protoOf($serializer_1).
|
|
958
|
+
protoOf($serializer_1).q11 = function () {
|
|
959
959
|
// Inline function 'kotlin.arrayOf' call
|
|
960
960
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
961
961
|
// Inline function 'kotlin.js.asDynamic' call
|
|
962
|
-
return [StringSerializer_getInstance(), StringSerializer_getInstance(), this.
|
|
962
|
+
return [StringSerializer_getInstance(), StringSerializer_getInstance(), this.l6d_1, StringSerializer_getInstance()];
|
|
963
963
|
};
|
|
964
|
-
protoOf($serializer_1).
|
|
964
|
+
protoOf($serializer_1).r11 = function () {
|
|
965
965
|
// Inline function 'kotlin.arrayOf' call
|
|
966
966
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
967
967
|
// Inline function 'kotlin.js.asDynamic' call
|
|
968
|
-
return [this.
|
|
968
|
+
return [this.l6d_1];
|
|
969
969
|
};
|
|
970
970
|
function RandomRequestDto_init_$Init$(seen0, jsonrpc, method, params, id, serializationConstructorMarker, $this) {
|
|
971
971
|
if (!(15 === (15 & seen0))) {
|
|
972
|
-
throwMissingFieldException(seen0, 15, Companion_getInstance_4().
|
|
972
|
+
throwMissingFieldException(seen0, 15, Companion_getInstance_4().m6d_1);
|
|
973
973
|
}
|
|
974
|
-
$this.
|
|
975
|
-
$this.
|
|
976
|
-
$this.
|
|
977
|
-
$this.
|
|
974
|
+
$this.p6d_1 = jsonrpc;
|
|
975
|
+
$this.q6d_1 = method;
|
|
976
|
+
$this.r6d_1 = params;
|
|
977
|
+
$this.s6d_1 = id;
|
|
978
978
|
return $this;
|
|
979
979
|
}
|
|
980
980
|
function RandomRequestDto_init_$Create$(seen0, jsonrpc, method, params, id, serializationConstructorMarker) {
|
|
@@ -982,19 +982,19 @@
|
|
|
982
982
|
}
|
|
983
983
|
function RandomRequestDto(jsonrpc, method, params, id) {
|
|
984
984
|
Companion_getInstance_4();
|
|
985
|
-
this.
|
|
986
|
-
this.
|
|
987
|
-
this.
|
|
988
|
-
this.
|
|
985
|
+
this.p6d_1 = jsonrpc;
|
|
986
|
+
this.q6d_1 = method;
|
|
987
|
+
this.r6d_1 = params;
|
|
988
|
+
this.s6d_1 = id;
|
|
989
989
|
}
|
|
990
990
|
protoOf(RandomRequestDto).toString = function () {
|
|
991
|
-
return 'RandomRequestDto(jsonrpc=' + this.
|
|
991
|
+
return 'RandomRequestDto(jsonrpc=' + this.p6d_1 + ', method=' + this.q6d_1 + ', params=' + toString(this.r6d_1) + ', id=' + this.s6d_1 + ')';
|
|
992
992
|
};
|
|
993
993
|
protoOf(RandomRequestDto).hashCode = function () {
|
|
994
|
-
var result = getStringHashCode(this.
|
|
995
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
996
|
-
result = imul(result, 31) + hashCode(this.
|
|
997
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
994
|
+
var result = getStringHashCode(this.p6d_1);
|
|
995
|
+
result = imul(result, 31) + getStringHashCode(this.q6d_1) | 0;
|
|
996
|
+
result = imul(result, 31) + hashCode(this.r6d_1) | 0;
|
|
997
|
+
result = imul(result, 31) + getStringHashCode(this.s6d_1) | 0;
|
|
998
998
|
return result;
|
|
999
999
|
};
|
|
1000
1000
|
protoOf(RandomRequestDto).equals = function (other) {
|
|
@@ -1002,13 +1002,13 @@
|
|
|
1002
1002
|
return true;
|
|
1003
1003
|
if (!(other instanceof RandomRequestDto))
|
|
1004
1004
|
return false;
|
|
1005
|
-
if (!(this.o6d_1 === other.o6d_1))
|
|
1006
|
-
return false;
|
|
1007
1005
|
if (!(this.p6d_1 === other.p6d_1))
|
|
1008
1006
|
return false;
|
|
1009
|
-
if (!
|
|
1007
|
+
if (!(this.q6d_1 === other.q6d_1))
|
|
1008
|
+
return false;
|
|
1009
|
+
if (!equals(this.r6d_1, other.r6d_1))
|
|
1010
1010
|
return false;
|
|
1011
|
-
if (!(this.
|
|
1011
|
+
if (!(this.s6d_1 === other.s6d_1))
|
|
1012
1012
|
return false;
|
|
1013
1013
|
return true;
|
|
1014
1014
|
};
|
|
@@ -1022,7 +1022,7 @@
|
|
|
1022
1022
|
// Inline function 'kotlin.arrayOf' call
|
|
1023
1023
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1024
1024
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1025
|
-
tmp.
|
|
1025
|
+
tmp.t6d_1 = [null, null, lazy(tmp_0, RandomParamsDto$RandomIntegerSequencesParamsDto$Companion$$childSerializers$_anonymous__1scx7a), null, null, null, null, null];
|
|
1026
1026
|
}
|
|
1027
1027
|
var Companion_instance_5;
|
|
1028
1028
|
function Companion_getInstance_5() {
|
|
@@ -1033,35 +1033,35 @@
|
|
|
1033
1033
|
function $serializer_2() {
|
|
1034
1034
|
$serializer_instance_1 = this;
|
|
1035
1035
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomParamsDto.RandomIntegerSequencesParamsDto', this, 8);
|
|
1036
|
-
tmp0_serialDesc.
|
|
1037
|
-
tmp0_serialDesc.
|
|
1038
|
-
tmp0_serialDesc.
|
|
1039
|
-
tmp0_serialDesc.
|
|
1040
|
-
tmp0_serialDesc.
|
|
1041
|
-
tmp0_serialDesc.
|
|
1042
|
-
tmp0_serialDesc.
|
|
1043
|
-
tmp0_serialDesc.
|
|
1044
|
-
this.
|
|
1045
|
-
}
|
|
1046
|
-
protoOf($serializer_2).
|
|
1047
|
-
var tmp0_desc = this.
|
|
1048
|
-
var tmp1_output = encoder.
|
|
1049
|
-
var tmp2_cached = Companion_getInstance_5().
|
|
1050
|
-
tmp1_output.
|
|
1051
|
-
tmp1_output.
|
|
1052
|
-
tmp1_output.
|
|
1053
|
-
tmp1_output.
|
|
1054
|
-
tmp1_output.
|
|
1055
|
-
tmp1_output.
|
|
1056
|
-
tmp1_output.
|
|
1057
|
-
tmp1_output.
|
|
1058
|
-
tmp1_output.
|
|
1059
|
-
};
|
|
1060
|
-
protoOf($serializer_2).
|
|
1061
|
-
return this.
|
|
1062
|
-
};
|
|
1063
|
-
protoOf($serializer_2).
|
|
1064
|
-
var tmp0_desc = this.
|
|
1036
|
+
tmp0_serialDesc.b11('apiKey', false);
|
|
1037
|
+
tmp0_serialDesc.b11('n', false);
|
|
1038
|
+
tmp0_serialDesc.b11('length', false);
|
|
1039
|
+
tmp0_serialDesc.b11('min', false);
|
|
1040
|
+
tmp0_serialDesc.b11('max', false);
|
|
1041
|
+
tmp0_serialDesc.b11('replacement', false);
|
|
1042
|
+
tmp0_serialDesc.b11('ticketId', false);
|
|
1043
|
+
tmp0_serialDesc.b11('userData', false);
|
|
1044
|
+
this.u6d_1 = tmp0_serialDesc;
|
|
1045
|
+
}
|
|
1046
|
+
protoOf($serializer_2).v6d = function (encoder, value) {
|
|
1047
|
+
var tmp0_desc = this.u6d_1;
|
|
1048
|
+
var tmp1_output = encoder.jt(tmp0_desc);
|
|
1049
|
+
var tmp2_cached = Companion_getInstance_5().t6d_1;
|
|
1050
|
+
tmp1_output.yu(tmp0_desc, 0, value.w6d_1);
|
|
1051
|
+
tmp1_output.tu(tmp0_desc, 1, value.x6d_1);
|
|
1052
|
+
tmp1_output.av(tmp0_desc, 2, tmp2_cached[2].o1(), value.y6d_1);
|
|
1053
|
+
tmp1_output.tu(tmp0_desc, 3, value.z6d_1);
|
|
1054
|
+
tmp1_output.tu(tmp0_desc, 4, value.a6e_1);
|
|
1055
|
+
tmp1_output.qu(tmp0_desc, 5, value.b6e_1);
|
|
1056
|
+
tmp1_output.cv(tmp0_desc, 6, StringSerializer_getInstance(), value.c6e_1);
|
|
1057
|
+
tmp1_output.cv(tmp0_desc, 7, $serializer_getInstance_2(), value.d6e_1);
|
|
1058
|
+
tmp1_output.kt(tmp0_desc);
|
|
1059
|
+
};
|
|
1060
|
+
protoOf($serializer_2).xp = function (encoder, value) {
|
|
1061
|
+
return this.v6d(encoder, value instanceof RandomIntegerSequencesParamsDto ? value : THROW_CCE());
|
|
1062
|
+
};
|
|
1063
|
+
protoOf($serializer_2).yp = function (decoder) {
|
|
1064
|
+
var tmp0_desc = this.u6d_1;
|
|
1065
1065
|
var tmp1_flag = true;
|
|
1066
1066
|
var tmp2_index = 0;
|
|
1067
1067
|
var tmp3_bitMask0 = 0;
|
|
@@ -1073,76 +1073,76 @@
|
|
|
1073
1073
|
var tmp9_local5 = false;
|
|
1074
1074
|
var tmp10_local6 = null;
|
|
1075
1075
|
var tmp11_local7 = null;
|
|
1076
|
-
var tmp12_input = decoder.
|
|
1077
|
-
var tmp13_cached = Companion_getInstance_5().
|
|
1078
|
-
if (tmp12_input.
|
|
1079
|
-
tmp4_local0 = tmp12_input.
|
|
1076
|
+
var tmp12_input = decoder.jt(tmp0_desc);
|
|
1077
|
+
var tmp13_cached = Companion_getInstance_5().t6d_1;
|
|
1078
|
+
if (tmp12_input.zt()) {
|
|
1079
|
+
tmp4_local0 = tmp12_input.tt(tmp0_desc, 0);
|
|
1080
1080
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1081
|
-
tmp5_local1 = tmp12_input.
|
|
1081
|
+
tmp5_local1 = tmp12_input.ot(tmp0_desc, 1);
|
|
1082
1082
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1083
|
-
tmp6_local2 = tmp12_input.
|
|
1083
|
+
tmp6_local2 = tmp12_input.vt(tmp0_desc, 2, tmp13_cached[2].o1(), tmp6_local2);
|
|
1084
1084
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1085
|
-
tmp7_local3 = tmp12_input.
|
|
1085
|
+
tmp7_local3 = tmp12_input.ot(tmp0_desc, 3);
|
|
1086
1086
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1087
|
-
tmp8_local4 = tmp12_input.
|
|
1087
|
+
tmp8_local4 = tmp12_input.ot(tmp0_desc, 4);
|
|
1088
1088
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1089
|
-
tmp9_local5 = tmp12_input.
|
|
1089
|
+
tmp9_local5 = tmp12_input.lt(tmp0_desc, 5);
|
|
1090
1090
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1091
|
-
tmp10_local6 = tmp12_input.
|
|
1091
|
+
tmp10_local6 = tmp12_input.xt(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1092
1092
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1093
|
-
tmp11_local7 = tmp12_input.
|
|
1093
|
+
tmp11_local7 = tmp12_input.xt(tmp0_desc, 7, $serializer_getInstance_2(), tmp11_local7);
|
|
1094
1094
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1095
1095
|
} else
|
|
1096
1096
|
while (tmp1_flag) {
|
|
1097
|
-
tmp2_index = tmp12_input.
|
|
1097
|
+
tmp2_index = tmp12_input.au(tmp0_desc);
|
|
1098
1098
|
switch (tmp2_index) {
|
|
1099
1099
|
case -1:
|
|
1100
1100
|
tmp1_flag = false;
|
|
1101
1101
|
break;
|
|
1102
1102
|
case 0:
|
|
1103
|
-
tmp4_local0 = tmp12_input.
|
|
1103
|
+
tmp4_local0 = tmp12_input.tt(tmp0_desc, 0);
|
|
1104
1104
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1105
1105
|
break;
|
|
1106
1106
|
case 1:
|
|
1107
|
-
tmp5_local1 = tmp12_input.
|
|
1107
|
+
tmp5_local1 = tmp12_input.ot(tmp0_desc, 1);
|
|
1108
1108
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1109
1109
|
break;
|
|
1110
1110
|
case 2:
|
|
1111
|
-
tmp6_local2 = tmp12_input.
|
|
1111
|
+
tmp6_local2 = tmp12_input.vt(tmp0_desc, 2, tmp13_cached[2].o1(), tmp6_local2);
|
|
1112
1112
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1113
1113
|
break;
|
|
1114
1114
|
case 3:
|
|
1115
|
-
tmp7_local3 = tmp12_input.
|
|
1115
|
+
tmp7_local3 = tmp12_input.ot(tmp0_desc, 3);
|
|
1116
1116
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1117
1117
|
break;
|
|
1118
1118
|
case 4:
|
|
1119
|
-
tmp8_local4 = tmp12_input.
|
|
1119
|
+
tmp8_local4 = tmp12_input.ot(tmp0_desc, 4);
|
|
1120
1120
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1121
1121
|
break;
|
|
1122
1122
|
case 5:
|
|
1123
|
-
tmp9_local5 = tmp12_input.
|
|
1123
|
+
tmp9_local5 = tmp12_input.lt(tmp0_desc, 5);
|
|
1124
1124
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1125
1125
|
break;
|
|
1126
1126
|
case 6:
|
|
1127
|
-
tmp10_local6 = tmp12_input.
|
|
1127
|
+
tmp10_local6 = tmp12_input.xt(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1128
1128
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1129
1129
|
break;
|
|
1130
1130
|
case 7:
|
|
1131
|
-
tmp11_local7 = tmp12_input.
|
|
1131
|
+
tmp11_local7 = tmp12_input.xt(tmp0_desc, 7, $serializer_getInstance_2(), tmp11_local7);
|
|
1132
1132
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1133
1133
|
break;
|
|
1134
1134
|
default:
|
|
1135
1135
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
|
-
tmp12_input.
|
|
1138
|
+
tmp12_input.kt(tmp0_desc);
|
|
1139
1139
|
return RandomIntegerSequencesParamsDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
1140
1140
|
};
|
|
1141
|
-
protoOf($serializer_2).
|
|
1142
|
-
return this.
|
|
1141
|
+
protoOf($serializer_2).wp = function () {
|
|
1142
|
+
return this.u6d_1;
|
|
1143
1143
|
};
|
|
1144
|
-
protoOf($serializer_2).
|
|
1145
|
-
var tmp0_cached = Companion_getInstance_5().
|
|
1144
|
+
protoOf($serializer_2).q11 = function () {
|
|
1145
|
+
var tmp0_cached = Companion_getInstance_5().t6d_1;
|
|
1146
1146
|
// Inline function 'kotlin.arrayOf' call
|
|
1147
1147
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1148
1148
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1156,16 +1156,16 @@
|
|
|
1156
1156
|
}
|
|
1157
1157
|
function RandomIntegerSequencesParamsDto_init_$Init$(seen0, apiKey, n, length, min, max, replacement, ticketId, userData, serializationConstructorMarker, $this) {
|
|
1158
1158
|
if (!(255 === (255 & seen0))) {
|
|
1159
|
-
throwMissingFieldException(seen0, 255, $serializer_getInstance_1().
|
|
1159
|
+
throwMissingFieldException(seen0, 255, $serializer_getInstance_1().u6d_1);
|
|
1160
1160
|
}
|
|
1161
|
-
$this.
|
|
1162
|
-
$this.
|
|
1163
|
-
$this.
|
|
1164
|
-
$this.
|
|
1165
|
-
$this.
|
|
1166
|
-
$this.
|
|
1167
|
-
$this.
|
|
1168
|
-
$this.
|
|
1161
|
+
$this.w6d_1 = apiKey;
|
|
1162
|
+
$this.x6d_1 = n;
|
|
1163
|
+
$this.y6d_1 = length;
|
|
1164
|
+
$this.z6d_1 = min;
|
|
1165
|
+
$this.a6e_1 = max;
|
|
1166
|
+
$this.b6e_1 = replacement;
|
|
1167
|
+
$this.c6e_1 = ticketId;
|
|
1168
|
+
$this.d6e_1 = userData;
|
|
1169
1169
|
return $this;
|
|
1170
1170
|
}
|
|
1171
1171
|
function RandomIntegerSequencesParamsDto_init_$Create$(seen0, apiKey, n, length, min, max, replacement, ticketId, userData, serializationConstructorMarker) {
|
|
@@ -1173,27 +1173,27 @@
|
|
|
1173
1173
|
}
|
|
1174
1174
|
function RandomIntegerSequencesParamsDto(apiKey, n, length, min, max, replacement, ticketId, userData) {
|
|
1175
1175
|
Companion_getInstance_5();
|
|
1176
|
-
this.
|
|
1177
|
-
this.
|
|
1178
|
-
this.
|
|
1179
|
-
this.
|
|
1180
|
-
this.
|
|
1181
|
-
this.
|
|
1182
|
-
this.
|
|
1183
|
-
this.
|
|
1176
|
+
this.w6d_1 = apiKey;
|
|
1177
|
+
this.x6d_1 = n;
|
|
1178
|
+
this.y6d_1 = length;
|
|
1179
|
+
this.z6d_1 = min;
|
|
1180
|
+
this.a6e_1 = max;
|
|
1181
|
+
this.b6e_1 = replacement;
|
|
1182
|
+
this.c6e_1 = ticketId;
|
|
1183
|
+
this.d6e_1 = userData;
|
|
1184
1184
|
}
|
|
1185
1185
|
protoOf(RandomIntegerSequencesParamsDto).toString = function () {
|
|
1186
|
-
return 'RandomIntegerSequencesParamsDto(apiKey=' + this.
|
|
1186
|
+
return 'RandomIntegerSequencesParamsDto(apiKey=' + this.w6d_1 + ', n=' + this.x6d_1 + ', length=' + toString(this.y6d_1) + ', min=' + this.z6d_1 + ', max=' + this.a6e_1 + ', replacement=' + this.b6e_1 + ', ticketId=' + this.c6e_1 + ', userData=' + toString_0(this.d6e_1) + ')';
|
|
1187
1187
|
};
|
|
1188
1188
|
protoOf(RandomIntegerSequencesParamsDto).hashCode = function () {
|
|
1189
|
-
var result = getStringHashCode(this.
|
|
1190
|
-
result = imul(result, 31) + this.
|
|
1191
|
-
result = imul(result, 31) + hashCode(this.
|
|
1192
|
-
result = imul(result, 31) + this.y6d_1 | 0;
|
|
1189
|
+
var result = getStringHashCode(this.w6d_1);
|
|
1190
|
+
result = imul(result, 31) + this.x6d_1 | 0;
|
|
1191
|
+
result = imul(result, 31) + hashCode(this.y6d_1) | 0;
|
|
1193
1192
|
result = imul(result, 31) + this.z6d_1 | 0;
|
|
1194
|
-
result = imul(result, 31) +
|
|
1195
|
-
result = imul(result, 31) + (this.b6e_1
|
|
1196
|
-
result = imul(result, 31) + (this.c6e_1 == null ? 0 : this.c6e_1
|
|
1193
|
+
result = imul(result, 31) + this.a6e_1 | 0;
|
|
1194
|
+
result = imul(result, 31) + getBooleanHashCode(this.b6e_1) | 0;
|
|
1195
|
+
result = imul(result, 31) + (this.c6e_1 == null ? 0 : getStringHashCode(this.c6e_1)) | 0;
|
|
1196
|
+
result = imul(result, 31) + (this.d6e_1 == null ? 0 : this.d6e_1.hashCode()) | 0;
|
|
1197
1197
|
return result;
|
|
1198
1198
|
};
|
|
1199
1199
|
protoOf(RandomIntegerSequencesParamsDto).equals = function (other) {
|
|
@@ -1201,21 +1201,21 @@
|
|
|
1201
1201
|
return true;
|
|
1202
1202
|
if (!(other instanceof RandomIntegerSequencesParamsDto))
|
|
1203
1203
|
return false;
|
|
1204
|
-
if (!(this.v6d_1 === other.v6d_1))
|
|
1205
|
-
return false;
|
|
1206
1204
|
if (!(this.w6d_1 === other.w6d_1))
|
|
1207
1205
|
return false;
|
|
1208
|
-
if (!
|
|
1206
|
+
if (!(this.x6d_1 === other.x6d_1))
|
|
1209
1207
|
return false;
|
|
1210
|
-
if (!(this.y6d_1
|
|
1208
|
+
if (!equals(this.y6d_1, other.y6d_1))
|
|
1211
1209
|
return false;
|
|
1212
1210
|
if (!(this.z6d_1 === other.z6d_1))
|
|
1213
1211
|
return false;
|
|
1214
1212
|
if (!(this.a6e_1 === other.a6e_1))
|
|
1215
1213
|
return false;
|
|
1216
|
-
if (!(this.b6e_1
|
|
1214
|
+
if (!(this.b6e_1 === other.b6e_1))
|
|
1215
|
+
return false;
|
|
1216
|
+
if (!(this.c6e_1 == other.c6e_1))
|
|
1217
1217
|
return false;
|
|
1218
|
-
if (!equals(this.
|
|
1218
|
+
if (!equals(this.d6e_1, other.d6e_1))
|
|
1219
1219
|
return false;
|
|
1220
1220
|
return true;
|
|
1221
1221
|
};
|
|
@@ -1228,59 +1228,59 @@
|
|
|
1228
1228
|
function $serializer_3() {
|
|
1229
1229
|
$serializer_instance_2 = this;
|
|
1230
1230
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.CardDecksUserDataDto', this, 2);
|
|
1231
|
-
tmp0_serialDesc.
|
|
1232
|
-
tmp0_serialDesc.
|
|
1233
|
-
this.
|
|
1234
|
-
}
|
|
1235
|
-
protoOf($serializer_3).
|
|
1236
|
-
var tmp0_desc = this.
|
|
1237
|
-
var tmp1_output = encoder.
|
|
1238
|
-
tmp1_output.
|
|
1239
|
-
tmp1_output.
|
|
1240
|
-
tmp1_output.
|
|
1241
|
-
};
|
|
1242
|
-
protoOf($serializer_3).
|
|
1243
|
-
return this.
|
|
1244
|
-
};
|
|
1245
|
-
protoOf($serializer_3).
|
|
1246
|
-
var tmp0_desc = this.
|
|
1231
|
+
tmp0_serialDesc.b11('id', false);
|
|
1232
|
+
tmp0_serialDesc.b11('count', false);
|
|
1233
|
+
this.e6e_1 = tmp0_serialDesc;
|
|
1234
|
+
}
|
|
1235
|
+
protoOf($serializer_3).f6e = function (encoder, value) {
|
|
1236
|
+
var tmp0_desc = this.e6e_1;
|
|
1237
|
+
var tmp1_output = encoder.jt(tmp0_desc);
|
|
1238
|
+
tmp1_output.yu(tmp0_desc, 0, value.g6e_1);
|
|
1239
|
+
tmp1_output.tu(tmp0_desc, 1, value.h6e_1);
|
|
1240
|
+
tmp1_output.kt(tmp0_desc);
|
|
1241
|
+
};
|
|
1242
|
+
protoOf($serializer_3).xp = function (encoder, value) {
|
|
1243
|
+
return this.f6e(encoder, value instanceof CardDecksUserDataDto ? value : THROW_CCE());
|
|
1244
|
+
};
|
|
1245
|
+
protoOf($serializer_3).yp = function (decoder) {
|
|
1246
|
+
var tmp0_desc = this.e6e_1;
|
|
1247
1247
|
var tmp1_flag = true;
|
|
1248
1248
|
var tmp2_index = 0;
|
|
1249
1249
|
var tmp3_bitMask0 = 0;
|
|
1250
1250
|
var tmp4_local0 = null;
|
|
1251
1251
|
var tmp5_local1 = 0;
|
|
1252
|
-
var tmp6_input = decoder.
|
|
1253
|
-
if (tmp6_input.
|
|
1254
|
-
tmp4_local0 = tmp6_input.
|
|
1252
|
+
var tmp6_input = decoder.jt(tmp0_desc);
|
|
1253
|
+
if (tmp6_input.zt()) {
|
|
1254
|
+
tmp4_local0 = tmp6_input.tt(tmp0_desc, 0);
|
|
1255
1255
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1256
|
-
tmp5_local1 = tmp6_input.
|
|
1256
|
+
tmp5_local1 = tmp6_input.ot(tmp0_desc, 1);
|
|
1257
1257
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1258
1258
|
} else
|
|
1259
1259
|
while (tmp1_flag) {
|
|
1260
|
-
tmp2_index = tmp6_input.
|
|
1260
|
+
tmp2_index = tmp6_input.au(tmp0_desc);
|
|
1261
1261
|
switch (tmp2_index) {
|
|
1262
1262
|
case -1:
|
|
1263
1263
|
tmp1_flag = false;
|
|
1264
1264
|
break;
|
|
1265
1265
|
case 0:
|
|
1266
|
-
tmp4_local0 = tmp6_input.
|
|
1266
|
+
tmp4_local0 = tmp6_input.tt(tmp0_desc, 0);
|
|
1267
1267
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1268
1268
|
break;
|
|
1269
1269
|
case 1:
|
|
1270
|
-
tmp5_local1 = tmp6_input.
|
|
1270
|
+
tmp5_local1 = tmp6_input.ot(tmp0_desc, 1);
|
|
1271
1271
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1272
1272
|
break;
|
|
1273
1273
|
default:
|
|
1274
1274
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
|
-
tmp6_input.
|
|
1277
|
+
tmp6_input.kt(tmp0_desc);
|
|
1278
1278
|
return CardDecksUserDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1279
1279
|
};
|
|
1280
|
-
protoOf($serializer_3).
|
|
1281
|
-
return this.
|
|
1280
|
+
protoOf($serializer_3).wp = function () {
|
|
1281
|
+
return this.e6e_1;
|
|
1282
1282
|
};
|
|
1283
|
-
protoOf($serializer_3).
|
|
1283
|
+
protoOf($serializer_3).q11 = function () {
|
|
1284
1284
|
// Inline function 'kotlin.arrayOf' call
|
|
1285
1285
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1286
1286
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1294,25 +1294,25 @@
|
|
|
1294
1294
|
}
|
|
1295
1295
|
function CardDecksUserDataDto_init_$Init$(seen0, id, count, serializationConstructorMarker, $this) {
|
|
1296
1296
|
if (!(3 === (3 & seen0))) {
|
|
1297
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().
|
|
1297
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().e6e_1);
|
|
1298
1298
|
}
|
|
1299
|
-
$this.
|
|
1300
|
-
$this.
|
|
1299
|
+
$this.g6e_1 = id;
|
|
1300
|
+
$this.h6e_1 = count;
|
|
1301
1301
|
return $this;
|
|
1302
1302
|
}
|
|
1303
1303
|
function CardDecksUserDataDto_init_$Create$(seen0, id, count, serializationConstructorMarker) {
|
|
1304
1304
|
return CardDecksUserDataDto_init_$Init$(seen0, id, count, serializationConstructorMarker, objectCreate(protoOf(CardDecksUserDataDto)));
|
|
1305
1305
|
}
|
|
1306
1306
|
function CardDecksUserDataDto(id, count) {
|
|
1307
|
-
this.
|
|
1308
|
-
this.
|
|
1307
|
+
this.g6e_1 = id;
|
|
1308
|
+
this.h6e_1 = count;
|
|
1309
1309
|
}
|
|
1310
1310
|
protoOf(CardDecksUserDataDto).toString = function () {
|
|
1311
|
-
return 'CardDecksUserDataDto(id=' + this.
|
|
1311
|
+
return 'CardDecksUserDataDto(id=' + this.g6e_1 + ', count=' + this.h6e_1 + ')';
|
|
1312
1312
|
};
|
|
1313
1313
|
protoOf(CardDecksUserDataDto).hashCode = function () {
|
|
1314
|
-
var result = getStringHashCode(this.
|
|
1315
|
-
result = imul(result, 31) + this.
|
|
1314
|
+
var result = getStringHashCode(this.g6e_1);
|
|
1315
|
+
result = imul(result, 31) + this.h6e_1 | 0;
|
|
1316
1316
|
return result;
|
|
1317
1317
|
};
|
|
1318
1318
|
protoOf(CardDecksUserDataDto).equals = function (other) {
|
|
@@ -1320,15 +1320,15 @@
|
|
|
1320
1320
|
return true;
|
|
1321
1321
|
if (!(other instanceof CardDecksUserDataDto))
|
|
1322
1322
|
return false;
|
|
1323
|
-
if (!(this.f6e_1 === other.f6e_1))
|
|
1324
|
-
return false;
|
|
1325
1323
|
if (!(this.g6e_1 === other.g6e_1))
|
|
1326
1324
|
return false;
|
|
1325
|
+
if (!(this.h6e_1 === other.h6e_1))
|
|
1326
|
+
return false;
|
|
1327
1327
|
return true;
|
|
1328
1328
|
};
|
|
1329
1329
|
function $serializer_init_$Init$_0(typeSerial0, $this) {
|
|
1330
1330
|
$serializer_4.call($this);
|
|
1331
|
-
$this.
|
|
1331
|
+
$this.j6e_1 = typeSerial0;
|
|
1332
1332
|
return $this;
|
|
1333
1333
|
}
|
|
1334
1334
|
function $serializer_init_$Create$_0(typeSerial0) {
|
|
@@ -1337,16 +1337,16 @@
|
|
|
1337
1337
|
function Companion_5() {
|
|
1338
1338
|
Companion_instance_7 = this;
|
|
1339
1339
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomResponseDto', null, 3);
|
|
1340
|
-
tmp0_serialDesc.
|
|
1341
|
-
tmp0_serialDesc.
|
|
1342
|
-
tmp0_serialDesc.
|
|
1343
|
-
this.
|
|
1340
|
+
tmp0_serialDesc.b11('jsonrpc', false);
|
|
1341
|
+
tmp0_serialDesc.b11('result', false);
|
|
1342
|
+
tmp0_serialDesc.b11('id', false);
|
|
1343
|
+
this.k6e_1 = tmp0_serialDesc;
|
|
1344
1344
|
}
|
|
1345
|
-
protoOf(Companion_5).
|
|
1345
|
+
protoOf(Companion_5).n6d = function (typeSerial0) {
|
|
1346
1346
|
return $serializer_init_$Create$_0(typeSerial0);
|
|
1347
1347
|
};
|
|
1348
|
-
protoOf(Companion_5).
|
|
1349
|
-
return this.
|
|
1348
|
+
protoOf(Companion_5).b12 = function (typeParamsSerializers) {
|
|
1349
|
+
return this.n6d(typeParamsSerializers[0]);
|
|
1350
1350
|
};
|
|
1351
1351
|
var Companion_instance_7;
|
|
1352
1352
|
function Companion_getInstance_7() {
|
|
@@ -1356,86 +1356,86 @@
|
|
|
1356
1356
|
}
|
|
1357
1357
|
function $serializer_4() {
|
|
1358
1358
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomResponseDto', this, 3);
|
|
1359
|
-
tmp0_serialDesc.
|
|
1360
|
-
tmp0_serialDesc.
|
|
1361
|
-
tmp0_serialDesc.
|
|
1362
|
-
this.
|
|
1363
|
-
}
|
|
1364
|
-
protoOf($serializer_4).
|
|
1365
|
-
var tmp0_desc = this.
|
|
1366
|
-
var tmp1_output = encoder.
|
|
1367
|
-
tmp1_output.
|
|
1368
|
-
tmp1_output.
|
|
1369
|
-
tmp1_output.
|
|
1370
|
-
tmp1_output.
|
|
1371
|
-
};
|
|
1372
|
-
protoOf($serializer_4).
|
|
1373
|
-
return this.
|
|
1374
|
-
};
|
|
1375
|
-
protoOf($serializer_4).
|
|
1376
|
-
var tmp0_desc = this.
|
|
1359
|
+
tmp0_serialDesc.b11('jsonrpc', false);
|
|
1360
|
+
tmp0_serialDesc.b11('result', false);
|
|
1361
|
+
tmp0_serialDesc.b11('id', false);
|
|
1362
|
+
this.i6e_1 = tmp0_serialDesc;
|
|
1363
|
+
}
|
|
1364
|
+
protoOf($serializer_4).l6e = function (encoder, value) {
|
|
1365
|
+
var tmp0_desc = this.i6e_1;
|
|
1366
|
+
var tmp1_output = encoder.jt(tmp0_desc);
|
|
1367
|
+
tmp1_output.yu(tmp0_desc, 0, value.m6e_1);
|
|
1368
|
+
tmp1_output.av(tmp0_desc, 1, this.j6e_1, value.n6e_1);
|
|
1369
|
+
tmp1_output.yu(tmp0_desc, 2, value.o6e_1);
|
|
1370
|
+
tmp1_output.kt(tmp0_desc);
|
|
1371
|
+
};
|
|
1372
|
+
protoOf($serializer_4).xp = function (encoder, value) {
|
|
1373
|
+
return this.l6e(encoder, value instanceof RandomResponseDto ? value : THROW_CCE());
|
|
1374
|
+
};
|
|
1375
|
+
protoOf($serializer_4).yp = function (decoder) {
|
|
1376
|
+
var tmp0_desc = this.i6e_1;
|
|
1377
1377
|
var tmp1_flag = true;
|
|
1378
1378
|
var tmp2_index = 0;
|
|
1379
1379
|
var tmp3_bitMask0 = 0;
|
|
1380
1380
|
var tmp4_local0 = null;
|
|
1381
1381
|
var tmp5_local1 = null;
|
|
1382
1382
|
var tmp6_local2 = null;
|
|
1383
|
-
var tmp7_input = decoder.
|
|
1384
|
-
if (tmp7_input.
|
|
1385
|
-
tmp4_local0 = tmp7_input.
|
|
1383
|
+
var tmp7_input = decoder.jt(tmp0_desc);
|
|
1384
|
+
if (tmp7_input.zt()) {
|
|
1385
|
+
tmp4_local0 = tmp7_input.tt(tmp0_desc, 0);
|
|
1386
1386
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1387
|
-
tmp5_local1 = tmp7_input.
|
|
1387
|
+
tmp5_local1 = tmp7_input.vt(tmp0_desc, 1, this.j6e_1, tmp5_local1);
|
|
1388
1388
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1389
|
-
tmp6_local2 = tmp7_input.
|
|
1389
|
+
tmp6_local2 = tmp7_input.tt(tmp0_desc, 2);
|
|
1390
1390
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1391
1391
|
} else
|
|
1392
1392
|
while (tmp1_flag) {
|
|
1393
|
-
tmp2_index = tmp7_input.
|
|
1393
|
+
tmp2_index = tmp7_input.au(tmp0_desc);
|
|
1394
1394
|
switch (tmp2_index) {
|
|
1395
1395
|
case -1:
|
|
1396
1396
|
tmp1_flag = false;
|
|
1397
1397
|
break;
|
|
1398
1398
|
case 0:
|
|
1399
|
-
tmp4_local0 = tmp7_input.
|
|
1399
|
+
tmp4_local0 = tmp7_input.tt(tmp0_desc, 0);
|
|
1400
1400
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1401
1401
|
break;
|
|
1402
1402
|
case 1:
|
|
1403
|
-
tmp5_local1 = tmp7_input.
|
|
1403
|
+
tmp5_local1 = tmp7_input.vt(tmp0_desc, 1, this.j6e_1, tmp5_local1);
|
|
1404
1404
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1405
1405
|
break;
|
|
1406
1406
|
case 2:
|
|
1407
|
-
tmp6_local2 = tmp7_input.
|
|
1407
|
+
tmp6_local2 = tmp7_input.tt(tmp0_desc, 2);
|
|
1408
1408
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1409
1409
|
break;
|
|
1410
1410
|
default:
|
|
1411
1411
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1412
1412
|
}
|
|
1413
1413
|
}
|
|
1414
|
-
tmp7_input.
|
|
1414
|
+
tmp7_input.kt(tmp0_desc);
|
|
1415
1415
|
return RandomResponseDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1416
1416
|
};
|
|
1417
|
-
protoOf($serializer_4).
|
|
1418
|
-
return this.
|
|
1417
|
+
protoOf($serializer_4).wp = function () {
|
|
1418
|
+
return this.i6e_1;
|
|
1419
1419
|
};
|
|
1420
|
-
protoOf($serializer_4).
|
|
1420
|
+
protoOf($serializer_4).q11 = function () {
|
|
1421
1421
|
// Inline function 'kotlin.arrayOf' call
|
|
1422
1422
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1423
1423
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1424
|
-
return [StringSerializer_getInstance(), this.
|
|
1424
|
+
return [StringSerializer_getInstance(), this.j6e_1, StringSerializer_getInstance()];
|
|
1425
1425
|
};
|
|
1426
|
-
protoOf($serializer_4).
|
|
1426
|
+
protoOf($serializer_4).r11 = function () {
|
|
1427
1427
|
// Inline function 'kotlin.arrayOf' call
|
|
1428
1428
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1429
1429
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1430
|
-
return [this.
|
|
1430
|
+
return [this.j6e_1];
|
|
1431
1431
|
};
|
|
1432
1432
|
function RandomResponseDto_init_$Init$(seen0, jsonrpc, result, id, serializationConstructorMarker, $this) {
|
|
1433
1433
|
if (!(7 === (7 & seen0))) {
|
|
1434
|
-
throwMissingFieldException(seen0, 7, Companion_getInstance_7().
|
|
1434
|
+
throwMissingFieldException(seen0, 7, Companion_getInstance_7().k6e_1);
|
|
1435
1435
|
}
|
|
1436
|
-
$this.
|
|
1437
|
-
$this.
|
|
1438
|
-
$this.
|
|
1436
|
+
$this.m6e_1 = jsonrpc;
|
|
1437
|
+
$this.n6e_1 = result;
|
|
1438
|
+
$this.o6e_1 = id;
|
|
1439
1439
|
return $this;
|
|
1440
1440
|
}
|
|
1441
1441
|
function RandomResponseDto_init_$Create$(seen0, jsonrpc, result, id, serializationConstructorMarker) {
|
|
@@ -1443,17 +1443,17 @@
|
|
|
1443
1443
|
}
|
|
1444
1444
|
function RandomResponseDto(jsonrpc, result, id) {
|
|
1445
1445
|
Companion_getInstance_7();
|
|
1446
|
-
this.
|
|
1447
|
-
this.
|
|
1448
|
-
this.
|
|
1446
|
+
this.m6e_1 = jsonrpc;
|
|
1447
|
+
this.n6e_1 = result;
|
|
1448
|
+
this.o6e_1 = id;
|
|
1449
1449
|
}
|
|
1450
1450
|
protoOf(RandomResponseDto).toString = function () {
|
|
1451
|
-
return 'RandomResponseDto(jsonrpc=' + this.
|
|
1451
|
+
return 'RandomResponseDto(jsonrpc=' + this.m6e_1 + ', result=' + toString(this.n6e_1) + ', id=' + this.o6e_1 + ')';
|
|
1452
1452
|
};
|
|
1453
1453
|
protoOf(RandomResponseDto).hashCode = function () {
|
|
1454
|
-
var result = getStringHashCode(this.
|
|
1455
|
-
result = imul(result, 31) + hashCode(this.
|
|
1456
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1454
|
+
var result = getStringHashCode(this.m6e_1);
|
|
1455
|
+
result = imul(result, 31) + hashCode(this.n6e_1) | 0;
|
|
1456
|
+
result = imul(result, 31) + getStringHashCode(this.o6e_1) | 0;
|
|
1457
1457
|
return result;
|
|
1458
1458
|
};
|
|
1459
1459
|
protoOf(RandomResponseDto).equals = function (other) {
|
|
@@ -1461,11 +1461,11 @@
|
|
|
1461
1461
|
return true;
|
|
1462
1462
|
if (!(other instanceof RandomResponseDto))
|
|
1463
1463
|
return false;
|
|
1464
|
-
if (!(this.
|
|
1464
|
+
if (!(this.m6e_1 === other.m6e_1))
|
|
1465
1465
|
return false;
|
|
1466
|
-
if (!equals(this.
|
|
1466
|
+
if (!equals(this.n6e_1, other.n6e_1))
|
|
1467
1467
|
return false;
|
|
1468
|
-
if (!(this.
|
|
1468
|
+
if (!(this.o6e_1 === other.o6e_1))
|
|
1469
1469
|
return false;
|
|
1470
1470
|
return true;
|
|
1471
1471
|
};
|
|
@@ -1478,30 +1478,30 @@
|
|
|
1478
1478
|
function $serializer_5() {
|
|
1479
1479
|
$serializer_instance_3 = this;
|
|
1480
1480
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomResultDto.IntegerSequencesResultDto', this, 6);
|
|
1481
|
-
tmp0_serialDesc.
|
|
1482
|
-
tmp0_serialDesc.
|
|
1483
|
-
tmp0_serialDesc.
|
|
1484
|
-
tmp0_serialDesc.
|
|
1485
|
-
tmp0_serialDesc.
|
|
1486
|
-
tmp0_serialDesc.
|
|
1487
|
-
this.
|
|
1488
|
-
}
|
|
1489
|
-
protoOf($serializer_5).
|
|
1490
|
-
var tmp0_desc = this.
|
|
1491
|
-
var tmp1_output = encoder.
|
|
1492
|
-
tmp1_output.
|
|
1493
|
-
tmp1_output.
|
|
1494
|
-
tmp1_output.
|
|
1495
|
-
tmp1_output.
|
|
1496
|
-
tmp1_output.
|
|
1497
|
-
tmp1_output.
|
|
1498
|
-
tmp1_output.
|
|
1499
|
-
};
|
|
1500
|
-
protoOf($serializer_5).
|
|
1501
|
-
return this.
|
|
1502
|
-
};
|
|
1503
|
-
protoOf($serializer_5).
|
|
1504
|
-
var tmp0_desc = this.
|
|
1481
|
+
tmp0_serialDesc.b11('random', false);
|
|
1482
|
+
tmp0_serialDesc.b11('signature', false);
|
|
1483
|
+
tmp0_serialDesc.b11('bitsUsed', false);
|
|
1484
|
+
tmp0_serialDesc.b11('bitsLeft', false);
|
|
1485
|
+
tmp0_serialDesc.b11('requestsLeft', false);
|
|
1486
|
+
tmp0_serialDesc.b11('advisoryDelay', false);
|
|
1487
|
+
this.p6e_1 = tmp0_serialDesc;
|
|
1488
|
+
}
|
|
1489
|
+
protoOf($serializer_5).q6e = function (encoder, value) {
|
|
1490
|
+
var tmp0_desc = this.p6e_1;
|
|
1491
|
+
var tmp1_output = encoder.jt(tmp0_desc);
|
|
1492
|
+
tmp1_output.av(tmp0_desc, 0, $serializer_getInstance_4(), value.r6e_1);
|
|
1493
|
+
tmp1_output.cv(tmp0_desc, 1, StringSerializer_getInstance(), value.s6e_1);
|
|
1494
|
+
tmp1_output.cv(tmp0_desc, 2, IntSerializer_getInstance(), value.t6e_1);
|
|
1495
|
+
tmp1_output.cv(tmp0_desc, 3, IntSerializer_getInstance(), value.u6e_1);
|
|
1496
|
+
tmp1_output.cv(tmp0_desc, 4, IntSerializer_getInstance(), value.v6e_1);
|
|
1497
|
+
tmp1_output.cv(tmp0_desc, 5, IntSerializer_getInstance(), value.w6e_1);
|
|
1498
|
+
tmp1_output.kt(tmp0_desc);
|
|
1499
|
+
};
|
|
1500
|
+
protoOf($serializer_5).xp = function (encoder, value) {
|
|
1501
|
+
return this.q6e(encoder, value instanceof IntegerSequencesResultDto ? value : THROW_CCE());
|
|
1502
|
+
};
|
|
1503
|
+
protoOf($serializer_5).yp = function (decoder) {
|
|
1504
|
+
var tmp0_desc = this.p6e_1;
|
|
1505
1505
|
var tmp1_flag = true;
|
|
1506
1506
|
var tmp2_index = 0;
|
|
1507
1507
|
var tmp3_bitMask0 = 0;
|
|
@@ -1511,62 +1511,62 @@
|
|
|
1511
1511
|
var tmp7_local3 = null;
|
|
1512
1512
|
var tmp8_local4 = null;
|
|
1513
1513
|
var tmp9_local5 = null;
|
|
1514
|
-
var tmp10_input = decoder.
|
|
1515
|
-
if (tmp10_input.
|
|
1516
|
-
tmp4_local0 = tmp10_input.
|
|
1514
|
+
var tmp10_input = decoder.jt(tmp0_desc);
|
|
1515
|
+
if (tmp10_input.zt()) {
|
|
1516
|
+
tmp4_local0 = tmp10_input.vt(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
|
|
1517
1517
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1518
|
-
tmp5_local1 = tmp10_input.
|
|
1518
|
+
tmp5_local1 = tmp10_input.xt(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1519
1519
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1520
|
-
tmp6_local2 = tmp10_input.
|
|
1520
|
+
tmp6_local2 = tmp10_input.xt(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
1521
1521
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1522
|
-
tmp7_local3 = tmp10_input.
|
|
1522
|
+
tmp7_local3 = tmp10_input.xt(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
|
|
1523
1523
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1524
|
-
tmp8_local4 = tmp10_input.
|
|
1524
|
+
tmp8_local4 = tmp10_input.xt(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
|
|
1525
1525
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1526
|
-
tmp9_local5 = tmp10_input.
|
|
1526
|
+
tmp9_local5 = tmp10_input.xt(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
1527
1527
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1528
1528
|
} else
|
|
1529
1529
|
while (tmp1_flag) {
|
|
1530
|
-
tmp2_index = tmp10_input.
|
|
1530
|
+
tmp2_index = tmp10_input.au(tmp0_desc);
|
|
1531
1531
|
switch (tmp2_index) {
|
|
1532
1532
|
case -1:
|
|
1533
1533
|
tmp1_flag = false;
|
|
1534
1534
|
break;
|
|
1535
1535
|
case 0:
|
|
1536
|
-
tmp4_local0 = tmp10_input.
|
|
1536
|
+
tmp4_local0 = tmp10_input.vt(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
|
|
1537
1537
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1538
1538
|
break;
|
|
1539
1539
|
case 1:
|
|
1540
|
-
tmp5_local1 = tmp10_input.
|
|
1540
|
+
tmp5_local1 = tmp10_input.xt(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1541
1541
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1542
1542
|
break;
|
|
1543
1543
|
case 2:
|
|
1544
|
-
tmp6_local2 = tmp10_input.
|
|
1544
|
+
tmp6_local2 = tmp10_input.xt(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
1545
1545
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1546
1546
|
break;
|
|
1547
1547
|
case 3:
|
|
1548
|
-
tmp7_local3 = tmp10_input.
|
|
1548
|
+
tmp7_local3 = tmp10_input.xt(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
|
|
1549
1549
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1550
1550
|
break;
|
|
1551
1551
|
case 4:
|
|
1552
|
-
tmp8_local4 = tmp10_input.
|
|
1552
|
+
tmp8_local4 = tmp10_input.xt(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
|
|
1553
1553
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1554
1554
|
break;
|
|
1555
1555
|
case 5:
|
|
1556
|
-
tmp9_local5 = tmp10_input.
|
|
1556
|
+
tmp9_local5 = tmp10_input.xt(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
1557
1557
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1558
1558
|
break;
|
|
1559
1559
|
default:
|
|
1560
1560
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1561
1561
|
}
|
|
1562
1562
|
}
|
|
1563
|
-
tmp10_input.
|
|
1563
|
+
tmp10_input.kt(tmp0_desc);
|
|
1564
1564
|
return IntegerSequencesResultDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
1565
1565
|
};
|
|
1566
|
-
protoOf($serializer_5).
|
|
1567
|
-
return this.
|
|
1566
|
+
protoOf($serializer_5).wp = function () {
|
|
1567
|
+
return this.p6e_1;
|
|
1568
1568
|
};
|
|
1569
|
-
protoOf($serializer_5).
|
|
1569
|
+
protoOf($serializer_5).q11 = function () {
|
|
1570
1570
|
// Inline function 'kotlin.arrayOf' call
|
|
1571
1571
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1572
1572
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1580,37 +1580,37 @@
|
|
|
1580
1580
|
}
|
|
1581
1581
|
function IntegerSequencesResultDto_init_$Init$(seen0, random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay, serializationConstructorMarker, $this) {
|
|
1582
1582
|
if (!(63 === (63 & seen0))) {
|
|
1583
|
-
throwMissingFieldException(seen0, 63, $serializer_getInstance_3().
|
|
1583
|
+
throwMissingFieldException(seen0, 63, $serializer_getInstance_3().p6e_1);
|
|
1584
1584
|
}
|
|
1585
|
-
$this.
|
|
1586
|
-
$this.
|
|
1587
|
-
$this.
|
|
1588
|
-
$this.
|
|
1589
|
-
$this.
|
|
1590
|
-
$this.
|
|
1585
|
+
$this.r6e_1 = random;
|
|
1586
|
+
$this.s6e_1 = signature;
|
|
1587
|
+
$this.t6e_1 = bitsUsed;
|
|
1588
|
+
$this.u6e_1 = bitsLeft;
|
|
1589
|
+
$this.v6e_1 = requestsLeft;
|
|
1590
|
+
$this.w6e_1 = advisoryDelay;
|
|
1591
1591
|
return $this;
|
|
1592
1592
|
}
|
|
1593
1593
|
function IntegerSequencesResultDto_init_$Create$(seen0, random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay, serializationConstructorMarker) {
|
|
1594
1594
|
return IntegerSequencesResultDto_init_$Init$(seen0, random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay, serializationConstructorMarker, objectCreate(protoOf(IntegerSequencesResultDto)));
|
|
1595
1595
|
}
|
|
1596
1596
|
function IntegerSequencesResultDto(random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay) {
|
|
1597
|
-
this.
|
|
1598
|
-
this.
|
|
1599
|
-
this.
|
|
1600
|
-
this.
|
|
1601
|
-
this.
|
|
1602
|
-
this.
|
|
1597
|
+
this.r6e_1 = random;
|
|
1598
|
+
this.s6e_1 = signature;
|
|
1599
|
+
this.t6e_1 = bitsUsed;
|
|
1600
|
+
this.u6e_1 = bitsLeft;
|
|
1601
|
+
this.v6e_1 = requestsLeft;
|
|
1602
|
+
this.w6e_1 = advisoryDelay;
|
|
1603
1603
|
}
|
|
1604
1604
|
protoOf(IntegerSequencesResultDto).toString = function () {
|
|
1605
|
-
return 'IntegerSequencesResultDto(random=' + this.
|
|
1605
|
+
return 'IntegerSequencesResultDto(random=' + this.r6e_1.toString() + ', signature=' + this.s6e_1 + ', bitsUsed=' + this.t6e_1 + ', bitsLeft=' + this.u6e_1 + ', requestsLeft=' + this.v6e_1 + ', advisoryDelay=' + this.w6e_1 + ')';
|
|
1606
1606
|
};
|
|
1607
1607
|
protoOf(IntegerSequencesResultDto).hashCode = function () {
|
|
1608
|
-
var result = this.
|
|
1609
|
-
result = imul(result, 31) + (this.
|
|
1610
|
-
result = imul(result, 31) + (this.s6e_1 == null ? 0 : this.s6e_1) | 0;
|
|
1608
|
+
var result = this.r6e_1.hashCode();
|
|
1609
|
+
result = imul(result, 31) + (this.s6e_1 == null ? 0 : getStringHashCode(this.s6e_1)) | 0;
|
|
1611
1610
|
result = imul(result, 31) + (this.t6e_1 == null ? 0 : this.t6e_1) | 0;
|
|
1612
1611
|
result = imul(result, 31) + (this.u6e_1 == null ? 0 : this.u6e_1) | 0;
|
|
1613
1612
|
result = imul(result, 31) + (this.v6e_1 == null ? 0 : this.v6e_1) | 0;
|
|
1613
|
+
result = imul(result, 31) + (this.w6e_1 == null ? 0 : this.w6e_1) | 0;
|
|
1614
1614
|
return result;
|
|
1615
1615
|
};
|
|
1616
1616
|
protoOf(IntegerSequencesResultDto).equals = function (other) {
|
|
@@ -1618,9 +1618,7 @@
|
|
|
1618
1618
|
return true;
|
|
1619
1619
|
if (!(other instanceof IntegerSequencesResultDto))
|
|
1620
1620
|
return false;
|
|
1621
|
-
if (!this.
|
|
1622
|
-
return false;
|
|
1623
|
-
if (!(this.r6e_1 == other.r6e_1))
|
|
1621
|
+
if (!this.r6e_1.equals(other.r6e_1))
|
|
1624
1622
|
return false;
|
|
1625
1623
|
if (!(this.s6e_1 == other.s6e_1))
|
|
1626
1624
|
return false;
|
|
@@ -1630,6 +1628,8 @@
|
|
|
1630
1628
|
return false;
|
|
1631
1629
|
if (!(this.v6e_1 == other.v6e_1))
|
|
1632
1630
|
return false;
|
|
1631
|
+
if (!(this.w6e_1 == other.w6e_1))
|
|
1632
|
+
return false;
|
|
1633
1633
|
return true;
|
|
1634
1634
|
};
|
|
1635
1635
|
function RandomDataDto$IntegerSequencesDataDto$Companion$$childSerializers$_anonymous__ummwez() {
|
|
@@ -1642,7 +1642,7 @@
|
|
|
1642
1642
|
// Inline function 'kotlin.arrayOf' call
|
|
1643
1643
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1644
1644
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1645
|
-
tmp.
|
|
1645
|
+
tmp.x6e_1 = [lazy(tmp_0, RandomDataDto$IntegerSequencesDataDto$Companion$$childSerializers$_anonymous__ummwez), null, null];
|
|
1646
1646
|
}
|
|
1647
1647
|
var Companion_instance_9;
|
|
1648
1648
|
function Companion_getInstance_9() {
|
|
@@ -1653,74 +1653,74 @@
|
|
|
1653
1653
|
function $serializer_6() {
|
|
1654
1654
|
$serializer_instance_4 = this;
|
|
1655
1655
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomDataDto.IntegerSequencesDataDto', this, 3);
|
|
1656
|
-
tmp0_serialDesc.
|
|
1657
|
-
tmp0_serialDesc.
|
|
1658
|
-
tmp0_serialDesc.
|
|
1659
|
-
this.
|
|
1660
|
-
}
|
|
1661
|
-
protoOf($serializer_6).
|
|
1662
|
-
var tmp0_desc = this.
|
|
1663
|
-
var tmp1_output = encoder.
|
|
1664
|
-
var tmp2_cached = Companion_getInstance_9().
|
|
1665
|
-
tmp1_output.
|
|
1666
|
-
tmp1_output.
|
|
1667
|
-
tmp1_output.
|
|
1668
|
-
tmp1_output.
|
|
1669
|
-
};
|
|
1670
|
-
protoOf($serializer_6).
|
|
1671
|
-
return this.
|
|
1672
|
-
};
|
|
1673
|
-
protoOf($serializer_6).
|
|
1674
|
-
var tmp0_desc = this.
|
|
1656
|
+
tmp0_serialDesc.b11('data', false);
|
|
1657
|
+
tmp0_serialDesc.b11('completionTime', false);
|
|
1658
|
+
tmp0_serialDesc.b11('ticketId', false);
|
|
1659
|
+
this.y6e_1 = tmp0_serialDesc;
|
|
1660
|
+
}
|
|
1661
|
+
protoOf($serializer_6).z6e = function (encoder, value) {
|
|
1662
|
+
var tmp0_desc = this.y6e_1;
|
|
1663
|
+
var tmp1_output = encoder.jt(tmp0_desc);
|
|
1664
|
+
var tmp2_cached = Companion_getInstance_9().x6e_1;
|
|
1665
|
+
tmp1_output.av(tmp0_desc, 0, tmp2_cached[0].o1(), value.a6f_1);
|
|
1666
|
+
tmp1_output.yu(tmp0_desc, 1, value.b6f_1);
|
|
1667
|
+
tmp1_output.cv(tmp0_desc, 2, StringSerializer_getInstance(), value.c6f_1);
|
|
1668
|
+
tmp1_output.kt(tmp0_desc);
|
|
1669
|
+
};
|
|
1670
|
+
protoOf($serializer_6).xp = function (encoder, value) {
|
|
1671
|
+
return this.z6e(encoder, value instanceof IntegerSequencesDataDto ? value : THROW_CCE());
|
|
1672
|
+
};
|
|
1673
|
+
protoOf($serializer_6).yp = function (decoder) {
|
|
1674
|
+
var tmp0_desc = this.y6e_1;
|
|
1675
1675
|
var tmp1_flag = true;
|
|
1676
1676
|
var tmp2_index = 0;
|
|
1677
1677
|
var tmp3_bitMask0 = 0;
|
|
1678
1678
|
var tmp4_local0 = null;
|
|
1679
1679
|
var tmp5_local1 = null;
|
|
1680
1680
|
var tmp6_local2 = null;
|
|
1681
|
-
var tmp7_input = decoder.
|
|
1682
|
-
var tmp8_cached = Companion_getInstance_9().
|
|
1683
|
-
if (tmp7_input.
|
|
1684
|
-
tmp4_local0 = tmp7_input.
|
|
1681
|
+
var tmp7_input = decoder.jt(tmp0_desc);
|
|
1682
|
+
var tmp8_cached = Companion_getInstance_9().x6e_1;
|
|
1683
|
+
if (tmp7_input.zt()) {
|
|
1684
|
+
tmp4_local0 = tmp7_input.vt(tmp0_desc, 0, tmp8_cached[0].o1(), tmp4_local0);
|
|
1685
1685
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1686
|
-
tmp5_local1 = tmp7_input.
|
|
1686
|
+
tmp5_local1 = tmp7_input.tt(tmp0_desc, 1);
|
|
1687
1687
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1688
|
-
tmp6_local2 = tmp7_input.
|
|
1688
|
+
tmp6_local2 = tmp7_input.xt(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1689
1689
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1690
1690
|
} else
|
|
1691
1691
|
while (tmp1_flag) {
|
|
1692
|
-
tmp2_index = tmp7_input.
|
|
1692
|
+
tmp2_index = tmp7_input.au(tmp0_desc);
|
|
1693
1693
|
switch (tmp2_index) {
|
|
1694
1694
|
case -1:
|
|
1695
1695
|
tmp1_flag = false;
|
|
1696
1696
|
break;
|
|
1697
1697
|
case 0:
|
|
1698
|
-
tmp4_local0 = tmp7_input.
|
|
1698
|
+
tmp4_local0 = tmp7_input.vt(tmp0_desc, 0, tmp8_cached[0].o1(), tmp4_local0);
|
|
1699
1699
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1700
1700
|
break;
|
|
1701
1701
|
case 1:
|
|
1702
|
-
tmp5_local1 = tmp7_input.
|
|
1702
|
+
tmp5_local1 = tmp7_input.tt(tmp0_desc, 1);
|
|
1703
1703
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1704
1704
|
break;
|
|
1705
1705
|
case 2:
|
|
1706
|
-
tmp6_local2 = tmp7_input.
|
|
1706
|
+
tmp6_local2 = tmp7_input.xt(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1707
1707
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1708
1708
|
break;
|
|
1709
1709
|
default:
|
|
1710
1710
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1711
1711
|
}
|
|
1712
1712
|
}
|
|
1713
|
-
tmp7_input.
|
|
1713
|
+
tmp7_input.kt(tmp0_desc);
|
|
1714
1714
|
return IntegerSequencesDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1715
1715
|
};
|
|
1716
|
-
protoOf($serializer_6).
|
|
1717
|
-
return this.
|
|
1716
|
+
protoOf($serializer_6).wp = function () {
|
|
1717
|
+
return this.y6e_1;
|
|
1718
1718
|
};
|
|
1719
|
-
protoOf($serializer_6).
|
|
1719
|
+
protoOf($serializer_6).q11 = function () {
|
|
1720
1720
|
// Inline function 'kotlin.arrayOf' call
|
|
1721
1721
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1722
1722
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1723
|
-
return [Companion_getInstance_9().
|
|
1723
|
+
return [Companion_getInstance_9().x6e_1[0].o1(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
1724
1724
|
};
|
|
1725
1725
|
var $serializer_instance_4;
|
|
1726
1726
|
function $serializer_getInstance_4() {
|
|
@@ -1730,11 +1730,11 @@
|
|
|
1730
1730
|
}
|
|
1731
1731
|
function IntegerSequencesDataDto_init_$Init$(seen0, data, completionTime, ticketId, serializationConstructorMarker, $this) {
|
|
1732
1732
|
if (!(7 === (7 & seen0))) {
|
|
1733
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_4().
|
|
1733
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_4().y6e_1);
|
|
1734
1734
|
}
|
|
1735
|
-
$this.
|
|
1736
|
-
$this.
|
|
1737
|
-
$this.
|
|
1735
|
+
$this.a6f_1 = data;
|
|
1736
|
+
$this.b6f_1 = completionTime;
|
|
1737
|
+
$this.c6f_1 = ticketId;
|
|
1738
1738
|
return $this;
|
|
1739
1739
|
}
|
|
1740
1740
|
function IntegerSequencesDataDto_init_$Create$(seen0, data, completionTime, ticketId, serializationConstructorMarker) {
|
|
@@ -1743,12 +1743,12 @@
|
|
|
1743
1743
|
function IntegerSequencesDataDto() {
|
|
1744
1744
|
}
|
|
1745
1745
|
protoOf(IntegerSequencesDataDto).toString = function () {
|
|
1746
|
-
return 'IntegerSequencesDataDto(data=' + toString(this.
|
|
1746
|
+
return 'IntegerSequencesDataDto(data=' + toString(this.a6f_1) + ', completionTime=' + this.b6f_1 + ', ticketId=' + this.c6f_1 + ')';
|
|
1747
1747
|
};
|
|
1748
1748
|
protoOf(IntegerSequencesDataDto).hashCode = function () {
|
|
1749
|
-
var result = hashCode(this.
|
|
1750
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1751
|
-
result = imul(result, 31) + (this.
|
|
1749
|
+
var result = hashCode(this.a6f_1);
|
|
1750
|
+
result = imul(result, 31) + getStringHashCode(this.b6f_1) | 0;
|
|
1751
|
+
result = imul(result, 31) + (this.c6f_1 == null ? 0 : getStringHashCode(this.c6f_1)) | 0;
|
|
1752
1752
|
return result;
|
|
1753
1753
|
};
|
|
1754
1754
|
protoOf(IntegerSequencesDataDto).equals = function (other) {
|
|
@@ -1756,11 +1756,11 @@
|
|
|
1756
1756
|
return true;
|
|
1757
1757
|
if (!(other instanceof IntegerSequencesDataDto))
|
|
1758
1758
|
return false;
|
|
1759
|
-
if (!equals(this.
|
|
1759
|
+
if (!equals(this.a6f_1, other.a6f_1))
|
|
1760
1760
|
return false;
|
|
1761
|
-
if (!(this.
|
|
1761
|
+
if (!(this.b6f_1 === other.b6f_1))
|
|
1762
1762
|
return false;
|
|
1763
|
-
if (!(this.
|
|
1763
|
+
if (!(this.c6f_1 == other.c6f_1))
|
|
1764
1764
|
return false;
|
|
1765
1765
|
return true;
|
|
1766
1766
|
};
|
|
@@ -1779,7 +1779,7 @@
|
|
|
1779
1779
|
return toString(getValue(get_jsonObject(getValue(bodyAsJson, 'result')), 'random'));
|
|
1780
1780
|
}
|
|
1781
1781
|
function Companion_8() {
|
|
1782
|
-
this.
|
|
1782
|
+
this.p6f_1 = 52;
|
|
1783
1783
|
}
|
|
1784
1784
|
var Companion_instance_10;
|
|
1785
1785
|
function Companion_getInstance_10() {
|
|
@@ -1787,13 +1787,13 @@
|
|
|
1787
1787
|
}
|
|
1788
1788
|
function $getRandomCardDecksCOROUTINE$(_this__u8e3s4, min, max, decksCount, cardsCount, userData, signed, resultContinuation) {
|
|
1789
1789
|
CoroutineImpl.call(this, resultContinuation);
|
|
1790
|
-
this.
|
|
1791
|
-
this.
|
|
1792
|
-
this.
|
|
1793
|
-
this.
|
|
1794
|
-
this.
|
|
1795
|
-
this.
|
|
1796
|
-
this.
|
|
1790
|
+
this.y6f_1 = _this__u8e3s4;
|
|
1791
|
+
this.z6f_1 = min;
|
|
1792
|
+
this.a6g_1 = max;
|
|
1793
|
+
this.b6g_1 = decksCount;
|
|
1794
|
+
this.c6g_1 = cardsCount;
|
|
1795
|
+
this.d6g_1 = userData;
|
|
1796
|
+
this.e6g_1 = signed;
|
|
1797
1797
|
}
|
|
1798
1798
|
protoOf($getRandomCardDecksCOROUTINE$).q9 = function () {
|
|
1799
1799
|
var suspendResult = this.k9_1;
|
|
@@ -1804,28 +1804,28 @@
|
|
|
1804
1804
|
case 0:
|
|
1805
1805
|
this.j9_1 = 6;
|
|
1806
1806
|
this.j9_1 = 5;
|
|
1807
|
-
var this_0 = this.
|
|
1807
|
+
var this_0 = this.y6f_1.h6g_1;
|
|
1808
1808
|
var builder = new HttpRequestBuilder();
|
|
1809
|
-
builder.
|
|
1809
|
+
builder.n45_1 = Companion_getInstance().e3o_1;
|
|
1810
1810
|
url(builder, '/json-rpc/4/invoke');
|
|
1811
|
-
var tmp3_id = this.
|
|
1812
|
-
var tmp4_method = this.
|
|
1813
|
-
var tmp0_apiKey = this.
|
|
1814
|
-
var size = this.
|
|
1811
|
+
var tmp3_id = this.d6g_1.id;
|
|
1812
|
+
var tmp4_method = this.e6g_1 ? 'generateSignedIntegerSequences' : 'generateIntegerSequences';
|
|
1813
|
+
var tmp0_apiKey = this.y6f_1.i6g_1;
|
|
1814
|
+
var size = this.b6g_1;
|
|
1815
1815
|
var list = ArrayList_init_$Create$(size);
|
|
1816
1816
|
var inductionVariable = 0;
|
|
1817
1817
|
if (inductionVariable < size)
|
|
1818
1818
|
do {
|
|
1819
1819
|
var index = inductionVariable;
|
|
1820
1820
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1821
|
-
list.e1(this.
|
|
1821
|
+
list.e1(this.c6g_1);
|
|
1822
1822
|
}
|
|
1823
1823
|
while (inductionVariable < size);
|
|
1824
|
-
var tmp2_userData = this.
|
|
1825
|
-
var tmp5_params = new RandomIntegerSequencesParamsDto(tmp0_apiKey, this.
|
|
1824
|
+
var tmp2_userData = this.e6g_1 ? mapToDto(this.d6g_1) : null;
|
|
1825
|
+
var tmp5_params = new RandomIntegerSequencesParamsDto(tmp0_apiKey, this.b6g_1, list, this.z6f_1, this.a6g_1, false, null, tmp2_userData);
|
|
1826
1826
|
var body = new RandomRequestDto('2.0', tmp4_method, tmp5_params, tmp3_id);
|
|
1827
1827
|
if (body == null) {
|
|
1828
|
-
builder.
|
|
1828
|
+
builder.p45_1 = NullBody_instance;
|
|
1829
1829
|
var tmp_0 = getKClass(RandomRequestDto);
|
|
1830
1830
|
var tmp_1;
|
|
1831
1831
|
try {
|
|
@@ -1840,13 +1840,13 @@
|
|
|
1840
1840
|
}
|
|
1841
1841
|
tmp_1 = tmp_2;
|
|
1842
1842
|
}
|
|
1843
|
-
builder.
|
|
1843
|
+
builder.f4b(new TypeInfo(tmp_0, tmp_1));
|
|
1844
1844
|
} else {
|
|
1845
1845
|
if (body instanceof OutgoingContent) {
|
|
1846
|
-
builder.
|
|
1847
|
-
builder.
|
|
1846
|
+
builder.p45_1 = body;
|
|
1847
|
+
builder.f4b(null);
|
|
1848
1848
|
} else {
|
|
1849
|
-
builder.
|
|
1849
|
+
builder.p45_1 = body;
|
|
1850
1850
|
var tmp_3 = getKClass(RandomRequestDto);
|
|
1851
1851
|
var tmp_4;
|
|
1852
1852
|
try {
|
|
@@ -1861,23 +1861,23 @@
|
|
|
1861
1861
|
}
|
|
1862
1862
|
tmp_4 = tmp_5;
|
|
1863
1863
|
}
|
|
1864
|
-
builder.
|
|
1864
|
+
builder.f4b(new TypeInfo(tmp_3, tmp_4));
|
|
1865
1865
|
}
|
|
1866
1866
|
}
|
|
1867
1867
|
|
|
1868
|
-
builder.
|
|
1868
|
+
builder.n45_1 = Companion_getInstance().e3o_1;
|
|
1869
1869
|
this.i9_1 = 1;
|
|
1870
|
-
suspendResult = (new HttpStatement(builder, this_0)).
|
|
1870
|
+
suspendResult = (new HttpStatement(builder, this_0)).y56(this);
|
|
1871
1871
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1872
1872
|
return suspendResult;
|
|
1873
1873
|
}
|
|
1874
1874
|
|
|
1875
1875
|
continue $sm;
|
|
1876
1876
|
case 1:
|
|
1877
|
-
this.
|
|
1878
|
-
var this_1 = this.
|
|
1877
|
+
this.g6g_1 = suspendResult;
|
|
1878
|
+
var this_1 = this.g6g_1;
|
|
1879
1879
|
this.i9_1 = 2;
|
|
1880
|
-
var tmp_6 = this_1.
|
|
1880
|
+
var tmp_6 = this_1.b47();
|
|
1881
1881
|
var tmp_7 = getKClass(JsonObject);
|
|
1882
1882
|
var tmp_8;
|
|
1883
1883
|
try {
|
|
@@ -1893,7 +1893,7 @@
|
|
|
1893
1893
|
tmp_8 = tmp_9;
|
|
1894
1894
|
}
|
|
1895
1895
|
|
|
1896
|
-
suspendResult = tmp_6.
|
|
1896
|
+
suspendResult = tmp_6.y46(new TypeInfo(tmp_7, tmp_8), this);
|
|
1897
1897
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1898
1898
|
return suspendResult;
|
|
1899
1899
|
}
|
|
@@ -1901,18 +1901,18 @@
|
|
|
1901
1901
|
continue $sm;
|
|
1902
1902
|
case 2:
|
|
1903
1903
|
var tmp_10 = this;
|
|
1904
|
-
tmp_10.
|
|
1904
|
+
tmp_10.f6g_1 = suspendResult instanceof JsonObject ? suspendResult : THROW_CCE();
|
|
1905
1905
|
this.i9_1 = 3;
|
|
1906
|
-
suspendResult = throwIfError(this.
|
|
1906
|
+
suspendResult = throwIfError(this.y6f_1, this.f6g_1, this.g6g_1, this);
|
|
1907
1907
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1908
1908
|
return suspendResult;
|
|
1909
1909
|
}
|
|
1910
1910
|
|
|
1911
1911
|
continue $sm;
|
|
1912
1912
|
case 3:
|
|
1913
|
-
var this_2 = this.
|
|
1913
|
+
var this_2 = this.g6g_1;
|
|
1914
1914
|
this.i9_1 = 4;
|
|
1915
|
-
var tmp_11 = this_2.
|
|
1915
|
+
var tmp_11 = this_2.b47();
|
|
1916
1916
|
var tmp_12 = getKClass(RandomResponseDto);
|
|
1917
1917
|
var tmp_13;
|
|
1918
1918
|
try {
|
|
@@ -1928,7 +1928,7 @@
|
|
|
1928
1928
|
tmp_13 = tmp_14;
|
|
1929
1929
|
}
|
|
1930
1930
|
|
|
1931
|
-
suspendResult = tmp_11.
|
|
1931
|
+
suspendResult = tmp_11.y46(new TypeInfo(tmp_12, tmp_13), this);
|
|
1932
1932
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1933
1933
|
return suspendResult;
|
|
1934
1934
|
}
|
|
@@ -1936,10 +1936,10 @@
|
|
|
1936
1936
|
continue $sm;
|
|
1937
1937
|
case 4:
|
|
1938
1938
|
var responseDto = suspendResult instanceof RandomResponseDto ? suspendResult : THROW_CCE();
|
|
1939
|
-
var randomJson = extractRandomResult(this.
|
|
1940
|
-
var tmp0_cardDecks = responseDto.
|
|
1941
|
-
var tmp1_signature = responseDto.
|
|
1942
|
-
var tmp2_id = responseDto.
|
|
1939
|
+
var randomJson = extractRandomResult(this.y6f_1, this.f6g_1);
|
|
1940
|
+
var tmp0_cardDecks = responseDto.n6e_1.r6e_1.a6f_1;
|
|
1941
|
+
var tmp1_signature = responseDto.n6e_1.s6e_1;
|
|
1942
|
+
var tmp2_id = responseDto.o6e_1;
|
|
1943
1943
|
return new CardDeckResult(tmp0_cardDecks, randomJson, tmp2_id, tmp1_signature);
|
|
1944
1944
|
case 5:
|
|
1945
1945
|
this.j9_1 = 6;
|
|
@@ -1971,9 +1971,9 @@
|
|
|
1971
1971
|
};
|
|
1972
1972
|
function $throwIfErrorCOROUTINE$(_this__u8e3s4, bodyAsJson, response, resultContinuation) {
|
|
1973
1973
|
CoroutineImpl.call(this, resultContinuation);
|
|
1974
|
-
this.
|
|
1975
|
-
this.
|
|
1976
|
-
this.
|
|
1974
|
+
this.m6f_1 = _this__u8e3s4;
|
|
1975
|
+
this.n6f_1 = bodyAsJson;
|
|
1976
|
+
this.o6f_1 = response;
|
|
1977
1977
|
}
|
|
1978
1978
|
protoOf($throwIfErrorCOROUTINE$).q9 = function () {
|
|
1979
1979
|
var suspendResult = this.k9_1;
|
|
@@ -1983,11 +1983,11 @@
|
|
|
1983
1983
|
switch (tmp) {
|
|
1984
1984
|
case 0:
|
|
1985
1985
|
this.j9_1 = 3;
|
|
1986
|
-
var this_0 = this.
|
|
1986
|
+
var this_0 = this.n6f_1;
|
|
1987
1987
|
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).t2('error')) {
|
|
1988
|
-
var this_1 = this.
|
|
1988
|
+
var this_1 = this.o6f_1;
|
|
1989
1989
|
this.i9_1 = 2;
|
|
1990
|
-
var tmp_0 = this_1.
|
|
1990
|
+
var tmp_0 = this_1.b47();
|
|
1991
1991
|
var tmp_1 = getKClass(ErrorResponseDto);
|
|
1992
1992
|
var tmp_2;
|
|
1993
1993
|
try {
|
|
@@ -2002,7 +2002,7 @@
|
|
|
2002
2002
|
}
|
|
2003
2003
|
tmp_2 = tmp_3;
|
|
2004
2004
|
}
|
|
2005
|
-
suspendResult = tmp_0.
|
|
2005
|
+
suspendResult = tmp_0.y46(new TypeInfo(tmp_1, tmp_2), this);
|
|
2006
2006
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2007
2007
|
return suspendResult;
|
|
2008
2008
|
}
|
|
@@ -2016,10 +2016,10 @@
|
|
|
2016
2016
|
return Unit_instance;
|
|
2017
2017
|
case 2:
|
|
2018
2018
|
var errorResponseDto = suspendResult instanceof ErrorResponseDto ? suspendResult : THROW_CCE();
|
|
2019
|
-
var tmp0_safe_receiver = errorResponseDto.
|
|
2020
|
-
var tmp_4 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2021
|
-
var tmp1_safe_receiver = errorResponseDto.
|
|
2022
|
-
throw new RandomException(tmp_4, tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2019
|
+
var tmp0_safe_receiver = errorResponseDto.f6d_1;
|
|
2020
|
+
var tmp_4 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i6d_1;
|
|
2021
|
+
var tmp1_safe_receiver = errorResponseDto.f6d_1;
|
|
2022
|
+
throw new RandomException(tmp_4, tmp1_safe_receiver == null ? null : tmp1_safe_receiver.j6d_1);
|
|
2023
2023
|
case 3:
|
|
2024
2024
|
throw this.l9_1;
|
|
2025
2025
|
}
|
|
@@ -2035,10 +2035,10 @@
|
|
|
2035
2035
|
while (true);
|
|
2036
2036
|
};
|
|
2037
2037
|
function RandomOrgApiServiceImpl(client, apiKey) {
|
|
2038
|
-
this.
|
|
2039
|
-
this.
|
|
2038
|
+
this.h6g_1 = client;
|
|
2039
|
+
this.i6g_1 = apiKey;
|
|
2040
2040
|
}
|
|
2041
|
-
protoOf(RandomOrgApiServiceImpl).
|
|
2041
|
+
protoOf(RandomOrgApiServiceImpl).d6f = function (min, max, decksCount, cardsCount, userData, signed, $completion) {
|
|
2042
2042
|
var tmp = new $getRandomCardDecksCOROUTINE$(this, min, max, decksCount, cardsCount, userData, signed, $completion);
|
|
2043
2043
|
tmp.k9_1 = Unit_instance;
|
|
2044
2044
|
tmp.l9_1 = null;
|
|
@@ -2063,16 +2063,16 @@
|
|
|
2063
2063
|
this.failedRequestAttempts = failedRequestAttempts;
|
|
2064
2064
|
this.failedAttemptCooldown = failedAttemptCooldown;
|
|
2065
2065
|
}
|
|
2066
|
-
protoOf(PoolParams).
|
|
2066
|
+
protoOf(PoolParams).y6c = function () {
|
|
2067
2067
|
return this.poolSize;
|
|
2068
2068
|
};
|
|
2069
|
-
protoOf(PoolParams).
|
|
2069
|
+
protoOf(PoolParams).z6c = function () {
|
|
2070
2070
|
return this.thresholdForUsedPool;
|
|
2071
2071
|
};
|
|
2072
|
-
protoOf(PoolParams).
|
|
2072
|
+
protoOf(PoolParams).j6g = function () {
|
|
2073
2073
|
return this.failedRequestAttempts;
|
|
2074
2074
|
};
|
|
2075
|
-
protoOf(PoolParams).
|
|
2075
|
+
protoOf(PoolParams).k6g = function () {
|
|
2076
2076
|
return this.failedAttemptCooldown;
|
|
2077
2077
|
};
|
|
2078
2078
|
protoOf(PoolParams).of = function () {
|
|
@@ -2081,13 +2081,13 @@
|
|
|
2081
2081
|
protoOf(PoolParams).pf = function () {
|
|
2082
2082
|
return this.thresholdForUsedPool;
|
|
2083
2083
|
};
|
|
2084
|
-
protoOf(PoolParams).
|
|
2084
|
+
protoOf(PoolParams).wn = function () {
|
|
2085
2085
|
return this.failedRequestAttempts;
|
|
2086
2086
|
};
|
|
2087
|
-
protoOf(PoolParams).
|
|
2087
|
+
protoOf(PoolParams).l6g = function () {
|
|
2088
2088
|
return this.failedAttemptCooldown;
|
|
2089
2089
|
};
|
|
2090
|
-
protoOf(PoolParams).
|
|
2090
|
+
protoOf(PoolParams).m6g = function (poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) {
|
|
2091
2091
|
return new PoolParams(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown);
|
|
2092
2092
|
};
|
|
2093
2093
|
protoOf(PoolParams).copy = function (poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown, $super) {
|
|
@@ -2095,7 +2095,7 @@
|
|
|
2095
2095
|
thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
|
|
2096
2096
|
failedRequestAttempts = failedRequestAttempts === VOID ? this.failedRequestAttempts : failedRequestAttempts;
|
|
2097
2097
|
failedAttemptCooldown = failedAttemptCooldown === VOID ? this.failedAttemptCooldown : failedAttemptCooldown;
|
|
2098
|
-
return $super === VOID ? this.
|
|
2098
|
+
return $super === VOID ? this.m6g(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) : $super.m6g.call(this, poolSize, thresholdForUsedPool, failedRequestAttempts, new Duration(failedAttemptCooldown));
|
|
2099
2099
|
};
|
|
2100
2100
|
protoOf(PoolParams).toString = function () {
|
|
2101
2101
|
return 'PoolParams(poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', failedRequestAttempts=' + this.failedRequestAttempts + ', failedAttemptCooldown=' + Duration__toString_impl_8d916b(this.failedAttemptCooldown) + ')';
|
|
@@ -2125,11 +2125,11 @@
|
|
|
2125
2125
|
function RandomPoolProvider() {
|
|
2126
2126
|
}
|
|
2127
2127
|
function getExceptionIfCooldown($this) {
|
|
2128
|
-
var currentTime = System_instance.
|
|
2129
|
-
if (!($this.
|
|
2130
|
-
var timeToWait = Duration__times_impl_sfuzvp($this.
|
|
2128
|
+
var currentTime = System_instance.ql();
|
|
2129
|
+
if (!($this.z6g_1 == null) && $this.a6h_1 >= $this.r6g_1.failedRequestAttempts) {
|
|
2130
|
+
var timeToWait = Duration__times_impl_sfuzvp($this.r6g_1.failedAttemptCooldown, $this.a6h_1);
|
|
2131
2131
|
// Inline function 'kotlin.requireNotNull' call
|
|
2132
|
-
var tmp0 = $this.
|
|
2132
|
+
var tmp0 = $this.z6g_1;
|
|
2133
2133
|
var tmp$ret$1;
|
|
2134
2134
|
$l$block: {
|
|
2135
2135
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -2141,22 +2141,22 @@
|
|
|
2141
2141
|
break $l$block;
|
|
2142
2142
|
}
|
|
2143
2143
|
}
|
|
2144
|
-
var allowedRequestTime = tmp$ret$1.
|
|
2145
|
-
if (allowedRequestTime.
|
|
2146
|
-
var exception = new RandomException(VOID, 'getExceptionIfCooldown: ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.
|
|
2144
|
+
var allowedRequestTime = tmp$ret$1.om(timeToWait);
|
|
2145
|
+
if (allowedRequestTime.rm(currentTime) > 0) {
|
|
2146
|
+
var exception = new RandomException(VOID, 'getExceptionIfCooldown: ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.z6g_1) + ', ') + ('currentTime = ' + currentTime.toString() + ', ') + ('failedRequestCount = ' + $this.a6h_1));
|
|
2147
2147
|
return exception;
|
|
2148
2148
|
} else {
|
|
2149
|
-
$this.
|
|
2149
|
+
$this.z6g_1 = null;
|
|
2150
2150
|
}
|
|
2151
2151
|
}
|
|
2152
2152
|
return null;
|
|
2153
2153
|
}
|
|
2154
2154
|
function mapToRandomExceptionIfError($this, error) {
|
|
2155
|
-
$this.
|
|
2156
|
-
$this.
|
|
2157
|
-
var timeToWait = Duration__times_impl_sfuzvp($this.
|
|
2155
|
+
$this.z6g_1 = System_instance.ql();
|
|
2156
|
+
$this.a6h_1 = $this.a6h_1 + 1 | 0;
|
|
2157
|
+
var timeToWait = Duration__times_impl_sfuzvp($this.r6g_1.failedAttemptCooldown, $this.a6h_1);
|
|
2158
2158
|
// Inline function 'kotlin.requireNotNull' call
|
|
2159
|
-
var tmp0 = $this.
|
|
2159
|
+
var tmp0 = $this.z6g_1;
|
|
2160
2160
|
var tmp$ret$1;
|
|
2161
2161
|
$l$block: {
|
|
2162
2162
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -2168,9 +2168,9 @@
|
|
|
2168
2168
|
break $l$block;
|
|
2169
2169
|
}
|
|
2170
2170
|
}
|
|
2171
|
-
var allowedRequestTime = tmp$ret$1.
|
|
2172
|
-
var randomException = new RandomException(VOID, 'mapToRandomExceptionIfError: error message = ' + error.message + ', ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.
|
|
2173
|
-
$this.
|
|
2171
|
+
var allowedRequestTime = tmp$ret$1.om(timeToWait);
|
|
2172
|
+
var randomException = new RandomException(VOID, 'mapToRandomExceptionIfError: error message = ' + error.message + ', ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.z6g_1) + ', ') + ('currentTime = ' + System_instance.ql().toString() + ', ') + ('failedRequestCount = ' + $this.a6h_1), error);
|
|
2173
|
+
$this.t6g_1.w('RandomPoolProvider', VOID, randomException);
|
|
2174
2174
|
return randomException;
|
|
2175
2175
|
}
|
|
2176
2176
|
function getOrLoadGameCardDeckData($this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
@@ -2180,7 +2180,7 @@
|
|
|
2180
2180
|
return tmp.q9();
|
|
2181
2181
|
}
|
|
2182
2182
|
function getPreparedGameCardDecksRecord($this, poolId, signature, cardDeckData, userData) {
|
|
2183
|
-
var existingCardDeck = $this.
|
|
2183
|
+
var existingCardDeck = $this.y6g_1.v2(userData.gameId);
|
|
2184
2184
|
var tmp;
|
|
2185
2185
|
if (!(existingCardDeck == null)) {
|
|
2186
2186
|
tmp = Companion_instance_2.nextRound(existingCardDeck, cardDeckData);
|
|
@@ -2196,13 +2196,13 @@
|
|
|
2196
2196
|
return tmp.q9();
|
|
2197
2197
|
}
|
|
2198
2198
|
function requestNewPool($this, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2199
|
-
return withContext($this.
|
|
2199
|
+
return withContext($this.u6g_1, RandomPoolProviderImpl$requestNewPool$slambda_0($this, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
2200
2200
|
}
|
|
2201
2201
|
function Companion_9() {
|
|
2202
|
-
this.
|
|
2203
|
-
this.
|
|
2204
|
-
this.
|
|
2205
|
-
this.
|
|
2202
|
+
this.h6i_1 = 100;
|
|
2203
|
+
this.i6i_1 = 3;
|
|
2204
|
+
this.j6i_1 = 3000;
|
|
2205
|
+
this.k6i_1 = 10000;
|
|
2206
2206
|
}
|
|
2207
2207
|
var Companion_instance_11;
|
|
2208
2208
|
function Companion_getInstance_11() {
|
|
@@ -2212,18 +2212,18 @@
|
|
|
2212
2212
|
return uuid4().toString();
|
|
2213
2213
|
}
|
|
2214
2214
|
function RandomPoolProviderImpl$getCardDeck$slambda(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2215
|
-
this.
|
|
2216
|
-
this.
|
|
2217
|
-
this.
|
|
2218
|
-
this.
|
|
2219
|
-
this.
|
|
2220
|
-
this.
|
|
2221
|
-
this.
|
|
2222
|
-
this.
|
|
2215
|
+
this.t6i_1 = this$0;
|
|
2216
|
+
this.u6i_1 = $minRoundsCountInPool;
|
|
2217
|
+
this.v6i_1 = $userData;
|
|
2218
|
+
this.w6i_1 = $min;
|
|
2219
|
+
this.x6i_1 = $max;
|
|
2220
|
+
this.y6i_1 = $cardsCount;
|
|
2221
|
+
this.z6i_1 = $signed;
|
|
2222
|
+
this.a6j_1 = $requestDurationWarnMillis;
|
|
2223
2223
|
CoroutineImpl.call(this, resultContinuation);
|
|
2224
2224
|
}
|
|
2225
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2226
|
-
var tmp = this.
|
|
2225
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).g6j = function ($this$withContext, $completion) {
|
|
2226
|
+
var tmp = this.y2c($this$withContext, $completion);
|
|
2227
2227
|
tmp.k9_1 = Unit_instance;
|
|
2228
2228
|
tmp.l9_1 = null;
|
|
2229
2229
|
var tmp_0 = tmp.q9();
|
|
@@ -2232,7 +2232,7 @@
|
|
|
2232
2232
|
return tmp_0;
|
|
2233
2233
|
};
|
|
2234
2234
|
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).ca = function (p1, $completion) {
|
|
2235
|
-
return this.
|
|
2235
|
+
return this.g6j((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2236
2236
|
};
|
|
2237
2237
|
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).q9 = function () {
|
|
2238
2238
|
var suspendResult = this.k9_1;
|
|
@@ -2242,29 +2242,29 @@
|
|
|
2242
2242
|
switch (tmp) {
|
|
2243
2243
|
case 0:
|
|
2244
2244
|
this.j9_1 = 10;
|
|
2245
|
-
this.
|
|
2246
|
-
this.
|
|
2245
|
+
this.d6j_1 = this.t6i_1.w6g_1;
|
|
2246
|
+
this.c6j_1 = null;
|
|
2247
2247
|
this.i9_1 = 1;
|
|
2248
|
-
suspendResult = this.
|
|
2248
|
+
suspendResult = this.d6j_1.v2s(this.c6j_1, this);
|
|
2249
2249
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2250
2250
|
return suspendResult;
|
|
2251
2251
|
}
|
|
2252
2252
|
|
|
2253
2253
|
continue $sm;
|
|
2254
2254
|
case 1:
|
|
2255
|
-
this.
|
|
2255
|
+
this.e6j_1 = Unit_instance;
|
|
2256
2256
|
this.i9_1 = 2;
|
|
2257
2257
|
continue $sm;
|
|
2258
2258
|
case 2:
|
|
2259
2259
|
this.j9_1 = 9;
|
|
2260
|
-
this.
|
|
2260
|
+
this.f6j_1 = Unit_instance;
|
|
2261
2261
|
this.i9_1 = 3;
|
|
2262
2262
|
continue $sm;
|
|
2263
2263
|
case 3:
|
|
2264
|
-
var randomException = getExceptionIfCooldown(this.
|
|
2264
|
+
var randomException = getExceptionIfCooldown(this.t6i_1);
|
|
2265
2265
|
if (!(randomException == null)) {
|
|
2266
2266
|
var tmp_0 = this;
|
|
2267
|
-
tmp_0.
|
|
2267
|
+
tmp_0.f6j_1 = new Result(_Result___init__impl__xyqfz8(createFailure(randomException)));
|
|
2268
2268
|
this.i9_1 = 7;
|
|
2269
2269
|
continue $sm;
|
|
2270
2270
|
} else {
|
|
@@ -2275,7 +2275,7 @@
|
|
|
2275
2275
|
case 4:
|
|
2276
2276
|
this.j9_1 = 6;
|
|
2277
2277
|
this.i9_1 = 5;
|
|
2278
|
-
suspendResult = getOrLoadGameCardDeckData(this.
|
|
2278
|
+
suspendResult = getOrLoadGameCardDeckData(this.t6i_1, this.u6i_1, this.v6i_1, this.w6i_1, this.x6i_1, this.y6i_1, this.z6i_1, this.a6j_1, this);
|
|
2279
2279
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2280
2280
|
return suspendResult;
|
|
2281
2281
|
}
|
|
@@ -2284,7 +2284,7 @@
|
|
|
2284
2284
|
case 5:
|
|
2285
2285
|
var cardDeckData = suspendResult;
|
|
2286
2286
|
var tmp_1 = this;
|
|
2287
|
-
tmp_1.
|
|
2287
|
+
tmp_1.f6j_1 = new Result(_Result___init__impl__xyqfz8(cardDeckData));
|
|
2288
2288
|
this.i9_1 = 7;
|
|
2289
2289
|
continue $sm;
|
|
2290
2290
|
case 6:
|
|
@@ -2293,8 +2293,8 @@
|
|
|
2293
2293
|
if (tmp_2 instanceof Error) {
|
|
2294
2294
|
var error = this.l9_1;
|
|
2295
2295
|
var tmp_3 = this;
|
|
2296
|
-
var exception = mapToRandomExceptionIfError(this.
|
|
2297
|
-
tmp_3.
|
|
2296
|
+
var exception = mapToRandomExceptionIfError(this.t6i_1, error);
|
|
2297
|
+
tmp_3.f6j_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception)));
|
|
2298
2298
|
this.i9_1 = 7;
|
|
2299
2299
|
continue $sm;
|
|
2300
2300
|
} else {
|
|
@@ -2302,19 +2302,19 @@
|
|
|
2302
2302
|
}
|
|
2303
2303
|
|
|
2304
2304
|
case 7:
|
|
2305
|
-
this.
|
|
2305
|
+
this.e6j_1 = this.f6j_1;
|
|
2306
2306
|
this.j9_1 = 10;
|
|
2307
2307
|
this.i9_1 = 8;
|
|
2308
2308
|
continue $sm;
|
|
2309
2309
|
case 8:
|
|
2310
|
-
var tmp_4 = this.
|
|
2310
|
+
var tmp_4 = this.e6j_1;
|
|
2311
2311
|
this.j9_1 = 10;
|
|
2312
|
-
this.
|
|
2312
|
+
this.d6j_1.h2s(this.c6j_1);
|
|
2313
2313
|
return tmp_4;
|
|
2314
2314
|
case 9:
|
|
2315
2315
|
this.j9_1 = 10;
|
|
2316
2316
|
var t = this.l9_1;
|
|
2317
|
-
this.
|
|
2317
|
+
this.d6j_1.h2s(this.c6j_1);
|
|
2318
2318
|
throw t;
|
|
2319
2319
|
case 10:
|
|
2320
2320
|
throw this.l9_1;
|
|
@@ -2330,30 +2330,30 @@
|
|
|
2330
2330
|
}
|
|
2331
2331
|
while (true);
|
|
2332
2332
|
};
|
|
2333
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2334
|
-
var i = new RandomPoolProviderImpl$getCardDeck$slambda(this.
|
|
2335
|
-
i.
|
|
2333
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).y2c = function ($this$withContext, completion) {
|
|
2334
|
+
var i = new RandomPoolProviderImpl$getCardDeck$slambda(this.t6i_1, this.u6i_1, this.v6i_1, this.w6i_1, this.x6i_1, this.y6i_1, this.z6i_1, this.a6j_1, completion);
|
|
2335
|
+
i.b6j_1 = $this$withContext;
|
|
2336
2336
|
return i;
|
|
2337
2337
|
};
|
|
2338
2338
|
function RandomPoolProviderImpl$getCardDeck$slambda_0(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2339
2339
|
var i = new RandomPoolProviderImpl$getCardDeck$slambda(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
|
|
2340
2340
|
var l = function ($this$withContext, $completion) {
|
|
2341
|
-
return i.
|
|
2341
|
+
return i.g6j($this$withContext, $completion);
|
|
2342
2342
|
};
|
|
2343
2343
|
l.$arity = 1;
|
|
2344
2344
|
return l;
|
|
2345
2345
|
}
|
|
2346
2346
|
function RandomPoolProviderImpl$prefetchCardDecks$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2347
|
-
this.
|
|
2348
|
-
this.
|
|
2349
|
-
this.
|
|
2350
|
-
this.
|
|
2351
|
-
this.
|
|
2352
|
-
this.
|
|
2347
|
+
this.p6j_1 = this$0;
|
|
2348
|
+
this.q6j_1 = $min;
|
|
2349
|
+
this.r6j_1 = $max;
|
|
2350
|
+
this.s6j_1 = $cardsCount;
|
|
2351
|
+
this.t6j_1 = $signed;
|
|
2352
|
+
this.u6j_1 = $requestDurationWarnMillis;
|
|
2353
2353
|
CoroutineImpl.call(this, resultContinuation);
|
|
2354
2354
|
}
|
|
2355
|
-
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).
|
|
2356
|
-
var tmp = this.
|
|
2355
|
+
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).g52 = function ($this$withContext, $completion) {
|
|
2356
|
+
var tmp = this.y2c($this$withContext, $completion);
|
|
2357
2357
|
tmp.k9_1 = Unit_instance;
|
|
2358
2358
|
tmp.l9_1 = null;
|
|
2359
2359
|
var tmp_0 = tmp.q9();
|
|
@@ -2362,7 +2362,7 @@
|
|
|
2362
2362
|
return tmp_0;
|
|
2363
2363
|
};
|
|
2364
2364
|
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).ca = function (p1, $completion) {
|
|
2365
|
-
return this.
|
|
2365
|
+
return this.g52((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2366
2366
|
};
|
|
2367
2367
|
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).q9 = function () {
|
|
2368
2368
|
var suspendResult = this.k9_1;
|
|
@@ -2372,29 +2372,29 @@
|
|
|
2372
2372
|
switch (tmp) {
|
|
2373
2373
|
case 0:
|
|
2374
2374
|
this.j9_1 = 10;
|
|
2375
|
-
this.
|
|
2376
|
-
this.
|
|
2375
|
+
this.x6j_1 = this.p6j_1.w6g_1;
|
|
2376
|
+
this.w6j_1 = null;
|
|
2377
2377
|
this.i9_1 = 1;
|
|
2378
|
-
suspendResult = this.
|
|
2378
|
+
suspendResult = this.x6j_1.v2s(this.w6j_1, this);
|
|
2379
2379
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2380
2380
|
return suspendResult;
|
|
2381
2381
|
}
|
|
2382
2382
|
|
|
2383
2383
|
continue $sm;
|
|
2384
2384
|
case 1:
|
|
2385
|
-
this.
|
|
2385
|
+
this.y6j_1 = Unit_instance;
|
|
2386
2386
|
this.i9_1 = 2;
|
|
2387
2387
|
continue $sm;
|
|
2388
2388
|
case 2:
|
|
2389
2389
|
this.j9_1 = 9;
|
|
2390
|
-
this.
|
|
2390
|
+
this.z6j_1 = Unit_instance;
|
|
2391
2391
|
this.i9_1 = 3;
|
|
2392
2392
|
continue $sm;
|
|
2393
2393
|
case 3:
|
|
2394
|
-
var randomException = getExceptionIfCooldown(this.
|
|
2394
|
+
var randomException = getExceptionIfCooldown(this.p6j_1);
|
|
2395
2395
|
if (!(randomException == null)) {
|
|
2396
2396
|
var tmp_0 = this;
|
|
2397
|
-
tmp_0.
|
|
2397
|
+
tmp_0.z6j_1 = new Result(_Result___init__impl__xyqfz8(createFailure(randomException)));
|
|
2398
2398
|
this.i9_1 = 7;
|
|
2399
2399
|
continue $sm;
|
|
2400
2400
|
} else {
|
|
@@ -2405,7 +2405,7 @@
|
|
|
2405
2405
|
case 4:
|
|
2406
2406
|
this.j9_1 = 6;
|
|
2407
2407
|
this.i9_1 = 5;
|
|
2408
|
-
suspendResult = requestNewPool(this.
|
|
2408
|
+
suspendResult = requestNewPool(this.p6j_1, this.q6j_1, this.r6j_1, this.s6j_1, this.t6j_1, this.u6j_1, this);
|
|
2409
2409
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2410
2410
|
return suspendResult;
|
|
2411
2411
|
}
|
|
@@ -2413,13 +2413,13 @@
|
|
|
2413
2413
|
continue $sm;
|
|
2414
2414
|
case 5:
|
|
2415
2415
|
var randomPoolValue = suspendResult;
|
|
2416
|
-
var tmp0 = this.
|
|
2417
|
-
var key = randomPoolValue.
|
|
2416
|
+
var tmp0 = this.p6j_1.x6g_1;
|
|
2417
|
+
var key = randomPoolValue.a6k_1.k6c_1;
|
|
2418
2418
|
tmp0.g3(key, randomPoolValue);
|
|
2419
|
-
this.
|
|
2420
|
-
this.
|
|
2419
|
+
this.p6j_1.a6h_1 = 0;
|
|
2420
|
+
this.p6j_1.z6g_1 = null;
|
|
2421
2421
|
var tmp_1 = this;
|
|
2422
|
-
tmp_1.
|
|
2422
|
+
tmp_1.z6j_1 = new Result(_Result___init__impl__xyqfz8(Unit_instance));
|
|
2423
2423
|
this.i9_1 = 7;
|
|
2424
2424
|
continue $sm;
|
|
2425
2425
|
case 6:
|
|
@@ -2428,8 +2428,8 @@
|
|
|
2428
2428
|
if (tmp_2 instanceof Error) {
|
|
2429
2429
|
var error = this.l9_1;
|
|
2430
2430
|
var tmp_3 = this;
|
|
2431
|
-
var exception = mapToRandomExceptionIfError(this.
|
|
2432
|
-
tmp_3.
|
|
2431
|
+
var exception = mapToRandomExceptionIfError(this.p6j_1, error);
|
|
2432
|
+
tmp_3.z6j_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception)));
|
|
2433
2433
|
this.i9_1 = 7;
|
|
2434
2434
|
continue $sm;
|
|
2435
2435
|
} else {
|
|
@@ -2437,19 +2437,19 @@
|
|
|
2437
2437
|
}
|
|
2438
2438
|
|
|
2439
2439
|
case 7:
|
|
2440
|
-
this.
|
|
2440
|
+
this.y6j_1 = this.z6j_1;
|
|
2441
2441
|
this.j9_1 = 10;
|
|
2442
2442
|
this.i9_1 = 8;
|
|
2443
2443
|
continue $sm;
|
|
2444
2444
|
case 8:
|
|
2445
|
-
var tmp_4 = this.
|
|
2445
|
+
var tmp_4 = this.y6j_1;
|
|
2446
2446
|
this.j9_1 = 10;
|
|
2447
|
-
this.
|
|
2447
|
+
this.x6j_1.h2s(this.w6j_1);
|
|
2448
2448
|
return tmp_4;
|
|
2449
2449
|
case 9:
|
|
2450
2450
|
this.j9_1 = 10;
|
|
2451
2451
|
var t = this.l9_1;
|
|
2452
|
-
this.
|
|
2452
|
+
this.x6j_1.h2s(this.w6j_1);
|
|
2453
2453
|
throw t;
|
|
2454
2454
|
case 10:
|
|
2455
2455
|
throw this.l9_1;
|
|
@@ -2465,36 +2465,36 @@
|
|
|
2465
2465
|
}
|
|
2466
2466
|
while (true);
|
|
2467
2467
|
};
|
|
2468
|
-
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).
|
|
2469
|
-
var i = new RandomPoolProviderImpl$prefetchCardDecks$slambda(this.
|
|
2470
|
-
i.
|
|
2468
|
+
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).y2c = function ($this$withContext, completion) {
|
|
2469
|
+
var i = new RandomPoolProviderImpl$prefetchCardDecks$slambda(this.p6j_1, this.q6j_1, this.r6j_1, this.s6j_1, this.t6j_1, this.u6j_1, completion);
|
|
2470
|
+
i.v6j_1 = $this$withContext;
|
|
2471
2471
|
return i;
|
|
2472
2472
|
};
|
|
2473
2473
|
function RandomPoolProviderImpl$prefetchCardDecks$slambda_0(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2474
2474
|
var i = new RandomPoolProviderImpl$prefetchCardDecks$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
|
|
2475
2475
|
var l = function ($this$withContext, $completion) {
|
|
2476
|
-
return i.
|
|
2476
|
+
return i.g52($this$withContext, $completion);
|
|
2477
2477
|
};
|
|
2478
2478
|
l.$arity = 1;
|
|
2479
2479
|
return l;
|
|
2480
2480
|
}
|
|
2481
2481
|
function RandomPoolProviderImpl$requestNewPool$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2482
|
-
this.
|
|
2483
|
-
this.
|
|
2484
|
-
this.
|
|
2485
|
-
this.
|
|
2486
|
-
this.
|
|
2487
|
-
this.
|
|
2482
|
+
this.m6k_1 = this$0;
|
|
2483
|
+
this.n6k_1 = $min;
|
|
2484
|
+
this.o6k_1 = $max;
|
|
2485
|
+
this.p6k_1 = $cardsCount;
|
|
2486
|
+
this.q6k_1 = $signed;
|
|
2487
|
+
this.r6k_1 = $requestDurationWarnMillis;
|
|
2488
2488
|
CoroutineImpl.call(this, resultContinuation);
|
|
2489
2489
|
}
|
|
2490
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2491
|
-
var tmp = this.
|
|
2490
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).u6k = function ($this$withContext, $completion) {
|
|
2491
|
+
var tmp = this.y2c($this$withContext, $completion);
|
|
2492
2492
|
tmp.k9_1 = Unit_instance;
|
|
2493
2493
|
tmp.l9_1 = null;
|
|
2494
2494
|
return tmp.q9();
|
|
2495
2495
|
};
|
|
2496
2496
|
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).ca = function (p1, $completion) {
|
|
2497
|
-
return this.
|
|
2497
|
+
return this.u6k((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2498
2498
|
};
|
|
2499
2499
|
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).q9 = function () {
|
|
2500
2500
|
var suspendResult = this.k9_1;
|
|
@@ -2504,9 +2504,9 @@
|
|
|
2504
2504
|
switch (tmp) {
|
|
2505
2505
|
case 0:
|
|
2506
2506
|
this.j9_1 = 2;
|
|
2507
|
-
this.
|
|
2507
|
+
this.t6k_1 = System_instance.ql();
|
|
2508
2508
|
this.i9_1 = 1;
|
|
2509
|
-
suspendResult = this.
|
|
2509
|
+
suspendResult = this.m6k_1.s6g_1.d6f(this.n6k_1, this.o6k_1, this.m6k_1.r6g_1.poolSize, this.p6k_1, new CardDecksRequestUserData(this.m6k_1.v6g_1(), this.m6k_1.r6g_1.poolSize), this.q6k_1, this);
|
|
2510
2510
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2511
2511
|
return suspendResult;
|
|
2512
2512
|
}
|
|
@@ -2514,15 +2514,15 @@
|
|
|
2514
2514
|
continue $sm;
|
|
2515
2515
|
case 1:
|
|
2516
2516
|
var result = suspendResult;
|
|
2517
|
-
var requestEndTime = System_instance.
|
|
2518
|
-
var requestDuration = requestEndTime.
|
|
2517
|
+
var requestEndTime = System_instance.ql();
|
|
2518
|
+
var requestDuration = requestEndTime.qm(this.t6k_1);
|
|
2519
2519
|
Companion_getInstance_0();
|
|
2520
|
-
var this_0 = this.
|
|
2520
|
+
var this_0 = this.r6k_1;
|
|
2521
2521
|
if (Duration__compareTo_impl_pchp0f(requestDuration, toDuration(this_0, DurationUnit_MILLISECONDS_getInstance())) > 0) {
|
|
2522
2522
|
var tmp_0 = 'actual = ' + Duration__toString_impl_8d916b(requestDuration) + ', ';
|
|
2523
2523
|
Companion_getInstance_0();
|
|
2524
|
-
var this_1 = this.
|
|
2525
|
-
this.
|
|
2524
|
+
var this_1 = this.r6k_1;
|
|
2525
|
+
this.m6k_1.t6g_1.w('RandomPoolProvider', 'Card deck request took longer then expected: ' + tmp_0 + ('expected = ' + Duration__toString_impl_8d916b(toDuration(this_1, DurationUnit_MILLISECONDS_getInstance()))));
|
|
2526
2526
|
}
|
|
2527
2527
|
|
|
2528
2528
|
return new RandomPoolValue(result);
|
|
@@ -2540,29 +2540,29 @@
|
|
|
2540
2540
|
}
|
|
2541
2541
|
while (true);
|
|
2542
2542
|
};
|
|
2543
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2544
|
-
var i = new RandomPoolProviderImpl$requestNewPool$slambda(this.
|
|
2545
|
-
i.
|
|
2543
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).y2c = function ($this$withContext, completion) {
|
|
2544
|
+
var i = new RandomPoolProviderImpl$requestNewPool$slambda(this.m6k_1, this.n6k_1, this.o6k_1, this.p6k_1, this.q6k_1, this.r6k_1, completion);
|
|
2545
|
+
i.s6k_1 = $this$withContext;
|
|
2546
2546
|
return i;
|
|
2547
2547
|
};
|
|
2548
2548
|
function RandomPoolProviderImpl$requestNewPool$slambda_0(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2549
2549
|
var i = new RandomPoolProviderImpl$requestNewPool$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
|
|
2550
2550
|
var l = function ($this$withContext, $completion) {
|
|
2551
|
-
return i.
|
|
2551
|
+
return i.u6k($this$withContext, $completion);
|
|
2552
2552
|
};
|
|
2553
2553
|
l.$arity = 1;
|
|
2554
2554
|
return l;
|
|
2555
2555
|
}
|
|
2556
2556
|
function $getOrLoadGameCardDeckDataCOROUTINE$(_this__u8e3s4, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, resultContinuation) {
|
|
2557
2557
|
CoroutineImpl.call(this, resultContinuation);
|
|
2558
|
-
this.
|
|
2559
|
-
this.
|
|
2560
|
-
this.
|
|
2561
|
-
this.
|
|
2562
|
-
this.
|
|
2563
|
-
this.
|
|
2564
|
-
this.
|
|
2565
|
-
this.
|
|
2558
|
+
this.j6h_1 = _this__u8e3s4;
|
|
2559
|
+
this.k6h_1 = minRoundsCountInPool;
|
|
2560
|
+
this.l6h_1 = userData;
|
|
2561
|
+
this.m6h_1 = min;
|
|
2562
|
+
this.n6h_1 = max;
|
|
2563
|
+
this.o6h_1 = cardsCount;
|
|
2564
|
+
this.p6h_1 = signed;
|
|
2565
|
+
this.q6h_1 = requestDurationWarnMillis;
|
|
2566
2566
|
}
|
|
2567
2567
|
protoOf($getOrLoadGameCardDeckDataCOROUTINE$).q9 = function () {
|
|
2568
2568
|
var suspendResult = this.k9_1;
|
|
@@ -2572,9 +2572,9 @@
|
|
|
2572
2572
|
switch (tmp) {
|
|
2573
2573
|
case 0:
|
|
2574
2574
|
this.j9_1 = 2;
|
|
2575
|
-
var tmp0_gameId = this.
|
|
2575
|
+
var tmp0_gameId = this.l6h_1.gameId;
|
|
2576
2576
|
this.i9_1 = 1;
|
|
2577
|
-
suspendResult = getPreparedOrRequestPool(this.
|
|
2577
|
+
suspendResult = getPreparedOrRequestPool(this.j6h_1, tmp0_gameId, this.m6h_1, this.n6h_1, this.k6h_1, this.o6h_1, this.p6h_1, this.q6h_1, this);
|
|
2578
2578
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2579
2579
|
return suspendResult;
|
|
2580
2580
|
}
|
|
@@ -2582,15 +2582,15 @@
|
|
|
2582
2582
|
continue $sm;
|
|
2583
2583
|
case 1:
|
|
2584
2584
|
var randomPoolValue = suspendResult;
|
|
2585
|
-
var tmp0 = this.
|
|
2586
|
-
var key = randomPoolValue.
|
|
2585
|
+
var tmp0 = this.j6h_1.x6g_1;
|
|
2586
|
+
var key = randomPoolValue.a6k_1.k6c_1;
|
|
2587
2587
|
tmp0.g3(key, randomPoolValue);
|
|
2588
|
-
var cardDeckData = randomPoolValue.
|
|
2589
|
-
var tmp1_poolId = randomPoolValue.
|
|
2590
|
-
var tmp2_signature = randomPoolValue.
|
|
2591
|
-
var cardDecksRecord = getPreparedGameCardDecksRecord(this.
|
|
2592
|
-
var tmp0_0 = this.
|
|
2593
|
-
var key_0 = this.
|
|
2588
|
+
var cardDeckData = randomPoolValue.v6k(this.l6h_1.gameId);
|
|
2589
|
+
var tmp1_poolId = randomPoolValue.a6k_1.k6c_1;
|
|
2590
|
+
var tmp2_signature = randomPoolValue.a6k_1.l6c_1;
|
|
2591
|
+
var cardDecksRecord = getPreparedGameCardDecksRecord(this.j6h_1, tmp1_poolId, tmp2_signature, cardDeckData, this.l6h_1);
|
|
2592
|
+
var tmp0_0 = this.j6h_1.y6g_1;
|
|
2593
|
+
var key_0 = this.l6h_1.gameId;
|
|
2594
2594
|
tmp0_0.g3(key_0, cardDecksRecord);
|
|
2595
2595
|
return cardDeckData;
|
|
2596
2596
|
case 2:
|
|
@@ -2609,14 +2609,14 @@
|
|
|
2609
2609
|
};
|
|
2610
2610
|
function $getPreparedOrRequestPoolCOROUTINE$(_this__u8e3s4, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, resultContinuation) {
|
|
2611
2611
|
CoroutineImpl.call(this, resultContinuation);
|
|
2612
|
-
this.
|
|
2613
|
-
this.
|
|
2614
|
-
this.
|
|
2615
|
-
this.
|
|
2616
|
-
this.
|
|
2617
|
-
this.
|
|
2618
|
-
this.
|
|
2619
|
-
this.
|
|
2612
|
+
this.z6h_1 = _this__u8e3s4;
|
|
2613
|
+
this.a6i_1 = gameId;
|
|
2614
|
+
this.b6i_1 = min;
|
|
2615
|
+
this.c6i_1 = max;
|
|
2616
|
+
this.d6i_1 = minRoundsCount;
|
|
2617
|
+
this.e6i_1 = cardsCount;
|
|
2618
|
+
this.f6i_1 = signed;
|
|
2619
|
+
this.g6i_1 = requestDurationWarnMillis;
|
|
2620
2620
|
}
|
|
2621
2621
|
protoOf($getPreparedOrRequestPoolCOROUTINE$).q9 = function () {
|
|
2622
2622
|
var suspendResult = this.k9_1;
|
|
@@ -2626,13 +2626,13 @@
|
|
|
2626
2626
|
switch (tmp) {
|
|
2627
2627
|
case 0:
|
|
2628
2628
|
this.j9_1 = 2;
|
|
2629
|
-
var tmp0 = this.
|
|
2629
|
+
var tmp0 = this.z6h_1.x6g_1;
|
|
2630
2630
|
var destination = LinkedHashMap_init_$Create$();
|
|
2631
2631
|
var _iterator__ex2g4s = tmp0.m1().t();
|
|
2632
2632
|
while (_iterator__ex2g4s.u()) {
|
|
2633
2633
|
var element = _iterator__ex2g4s.v();
|
|
2634
|
-
var tmp0_0 = element.o1().
|
|
2635
|
-
var key = this.
|
|
2634
|
+
var tmp0_0 = element.o1().b6k_1;
|
|
2635
|
+
var key = this.a6i_1;
|
|
2636
2636
|
if ((isInterface(tmp0_0, KtMap) ? tmp0_0 : THROW_CCE()).t2(key)) {
|
|
2637
2637
|
destination.g3(element.n1(), element.o1());
|
|
2638
2638
|
}
|
|
@@ -2640,26 +2640,26 @@
|
|
|
2640
2640
|
|
|
2641
2641
|
var usedResultEntry = firstOrNull(destination.m1());
|
|
2642
2642
|
if (!(usedResultEntry == null)) {
|
|
2643
|
-
return usedResultEntry.o1().
|
|
2643
|
+
return usedResultEntry.o1().w6k(this.a6i_1);
|
|
2644
2644
|
}
|
|
2645
2645
|
|
|
2646
|
-
var tmp0_1 = this.
|
|
2646
|
+
var tmp0_1 = this.z6h_1.x6g_1;
|
|
2647
2647
|
var destination_0 = LinkedHashMap_init_$Create$();
|
|
2648
2648
|
var _iterator__ex2g4s_0 = tmp0_1.m1().t();
|
|
2649
2649
|
while (_iterator__ex2g4s_0.u()) {
|
|
2650
2650
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
2651
|
-
if (element_0.o1().
|
|
2651
|
+
if (element_0.o1().x6k(this.d6i_1)) {
|
|
2652
2652
|
destination_0.g3(element_0.n1(), element_0.o1());
|
|
2653
2653
|
}
|
|
2654
2654
|
}
|
|
2655
2655
|
|
|
2656
2656
|
var availableResultEntry = firstOrNull(destination_0.m1());
|
|
2657
2657
|
if (!(availableResultEntry == null)) {
|
|
2658
|
-
return availableResultEntry.o1().
|
|
2658
|
+
return availableResultEntry.o1().y6k(this.a6i_1, this.d6i_1, this.z6h_1.r6g_1.thresholdForUsedPool);
|
|
2659
2659
|
}
|
|
2660
2660
|
|
|
2661
2661
|
this.i9_1 = 1;
|
|
2662
|
-
suspendResult = requestNewPool(this.
|
|
2662
|
+
suspendResult = requestNewPool(this.z6h_1, this.b6i_1, this.c6i_1, this.e6i_1, this.f6i_1, this.g6i_1, this);
|
|
2663
2663
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2664
2664
|
return suspendResult;
|
|
2665
2665
|
}
|
|
@@ -2667,7 +2667,7 @@
|
|
|
2667
2667
|
continue $sm;
|
|
2668
2668
|
case 1:
|
|
2669
2669
|
var cardDecks = suspendResult;
|
|
2670
|
-
return cardDecks.
|
|
2670
|
+
return cardDecks.y6k(this.a6i_1, this.d6i_1, this.z6h_1.r6g_1.thresholdForUsedPool);
|
|
2671
2671
|
case 2:
|
|
2672
2672
|
throw this.l9_1;
|
|
2673
2673
|
}
|
|
@@ -2683,7 +2683,7 @@
|
|
|
2683
2683
|
while (true);
|
|
2684
2684
|
};
|
|
2685
2685
|
function RandomPoolProviderImpl(params, randomOrgApiService, logger, dispatcher, idsProvider) {
|
|
2686
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
2686
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().l1z_1 : dispatcher;
|
|
2687
2687
|
var tmp;
|
|
2688
2688
|
if (idsProvider === VOID) {
|
|
2689
2689
|
tmp = RandomPoolProviderImpl$_init_$lambda_f6qzy3;
|
|
@@ -2691,137 +2691,137 @@
|
|
|
2691
2691
|
tmp = idsProvider;
|
|
2692
2692
|
}
|
|
2693
2693
|
idsProvider = tmp;
|
|
2694
|
-
this.
|
|
2695
|
-
this.
|
|
2696
|
-
this.
|
|
2697
|
-
this.
|
|
2698
|
-
this.
|
|
2699
|
-
this.
|
|
2694
|
+
this.r6g_1 = params;
|
|
2695
|
+
this.s6g_1 = randomOrgApiService;
|
|
2696
|
+
this.t6g_1 = logger;
|
|
2697
|
+
this.u6g_1 = dispatcher;
|
|
2698
|
+
this.v6g_1 = idsProvider;
|
|
2699
|
+
this.w6g_1 = Mutex();
|
|
2700
2700
|
var tmp_0 = this;
|
|
2701
2701
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2702
|
-
tmp_0.
|
|
2702
|
+
tmp_0.x6g_1 = LinkedHashMap_init_$Create$();
|
|
2703
2703
|
var tmp_1 = this;
|
|
2704
2704
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2705
|
-
tmp_1.
|
|
2706
|
-
this.
|
|
2707
|
-
this.
|
|
2705
|
+
tmp_1.y6g_1 = LinkedHashMap_init_$Create$();
|
|
2706
|
+
this.z6g_1 = null;
|
|
2707
|
+
this.a6h_1 = 0;
|
|
2708
2708
|
}
|
|
2709
|
-
protoOf(RandomPoolProviderImpl).
|
|
2710
|
-
var tmp = withContext(this.
|
|
2709
|
+
protoOf(RandomPoolProviderImpl).n6g = function (minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2710
|
+
var tmp = withContext(this.u6g_1, RandomPoolProviderImpl$getCardDeck$slambda_0(this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
2711
2711
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
2712
2712
|
return tmp;
|
|
2713
2713
|
return tmp;
|
|
2714
2714
|
};
|
|
2715
|
-
protoOf(RandomPoolProviderImpl).
|
|
2716
|
-
var tmp = withContext(this.
|
|
2715
|
+
protoOf(RandomPoolProviderImpl).p6g = function (min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2716
|
+
var tmp = withContext(this.u6g_1, RandomPoolProviderImpl$prefetchCardDecks$slambda_0(this, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
2717
2717
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
2718
2718
|
return tmp;
|
|
2719
2719
|
return tmp;
|
|
2720
2720
|
};
|
|
2721
|
-
protoOf(RandomPoolProviderImpl).
|
|
2722
|
-
return this.
|
|
2721
|
+
protoOf(RandomPoolProviderImpl).z6k = function (gameId) {
|
|
2722
|
+
return this.y6g_1.v2(gameId);
|
|
2723
2723
|
};
|
|
2724
2724
|
protoOf(RandomPoolProviderImpl).getGame = function (gameId) {
|
|
2725
|
-
return this.
|
|
2725
|
+
return this.z6k(gameId);
|
|
2726
2726
|
};
|
|
2727
|
-
protoOf(RandomPoolProviderImpl).
|
|
2728
|
-
return this.
|
|
2727
|
+
protoOf(RandomPoolProviderImpl).a6l = function (id) {
|
|
2728
|
+
return this.x6g_1.v2(id);
|
|
2729
2729
|
};
|
|
2730
2730
|
protoOf(RandomPoolProviderImpl).getRandomPool = function (id) {
|
|
2731
|
-
return this.
|
|
2731
|
+
return this.a6l(id);
|
|
2732
2732
|
};
|
|
2733
|
-
protoOf(RandomPoolProviderImpl).
|
|
2734
|
-
return this.
|
|
2733
|
+
protoOf(RandomPoolProviderImpl).b6l = function () {
|
|
2734
|
+
return this.x6g_1.g1();
|
|
2735
2735
|
};
|
|
2736
2736
|
protoOf(RandomPoolProviderImpl).getRandomPoolsCount = function () {
|
|
2737
|
-
return this.
|
|
2737
|
+
return this.b6l();
|
|
2738
2738
|
};
|
|
2739
|
-
protoOf(RandomPoolProviderImpl).
|
|
2740
|
-
var gameCardDecksRecord = this.
|
|
2739
|
+
protoOf(RandomPoolProviderImpl).q6g = function (gameId) {
|
|
2740
|
+
var gameCardDecksRecord = this.y6g_1.v2(gameId);
|
|
2741
2741
|
if (!(gameCardDecksRecord == null)) {
|
|
2742
|
-
var randomPoolValue = this.
|
|
2742
|
+
var randomPoolValue = this.x6g_1.v2(gameCardDecksRecord.poolId);
|
|
2743
2743
|
if (!(randomPoolValue == null)) {
|
|
2744
2744
|
// Inline function 'kotlin.apply' call
|
|
2745
|
-
var this_0 = toMutableMap(randomPoolValue.
|
|
2745
|
+
var this_0 = toMutableMap(randomPoolValue.b6k_1);
|
|
2746
2746
|
this_0.h3(gameId);
|
|
2747
|
-
var newPoolValue = randomPoolValue.
|
|
2748
|
-
if (newPoolValue.
|
|
2749
|
-
this.
|
|
2747
|
+
var newPoolValue = randomPoolValue.c6l(VOID, toMap(this_0));
|
|
2748
|
+
if (newPoolValue.b6k_1.r()) {
|
|
2749
|
+
this.x6g_1.h3(gameCardDecksRecord.poolId);
|
|
2750
2750
|
} else {
|
|
2751
|
-
var tmp0 = this.
|
|
2751
|
+
var tmp0 = this.x6g_1;
|
|
2752
2752
|
// Inline function 'kotlin.collections.set' call
|
|
2753
2753
|
var key = gameCardDecksRecord.poolId;
|
|
2754
2754
|
tmp0.g3(key, newPoolValue);
|
|
2755
2755
|
}
|
|
2756
2756
|
}
|
|
2757
2757
|
}
|
|
2758
|
-
this.
|
|
2758
|
+
this.y6g_1.h3(gameId);
|
|
2759
2759
|
};
|
|
2760
2760
|
function _get_cardDecksCount__ihvb5i($this) {
|
|
2761
|
-
return $this.
|
|
2761
|
+
return $this.a6k_1.i6c_1.g1();
|
|
2762
2762
|
}
|
|
2763
2763
|
function RandomPoolValue(randomResult, usedByGames, reservedCardDecks, isUsed) {
|
|
2764
2764
|
usedByGames = usedByGames === VOID ? emptyMap() : usedByGames;
|
|
2765
2765
|
reservedCardDecks = reservedCardDecks === VOID ? 0 : reservedCardDecks;
|
|
2766
2766
|
isUsed = isUsed === VOID ? false : isUsed;
|
|
2767
|
-
this.
|
|
2768
|
-
this.
|
|
2769
|
-
this.
|
|
2770
|
-
this.
|
|
2767
|
+
this.a6k_1 = randomResult;
|
|
2768
|
+
this.b6k_1 = usedByGames;
|
|
2769
|
+
this.c6k_1 = reservedCardDecks;
|
|
2770
|
+
this.d6k_1 = isUsed;
|
|
2771
2771
|
}
|
|
2772
|
-
protoOf(RandomPoolValue).
|
|
2773
|
-
if (this.
|
|
2772
|
+
protoOf(RandomPoolValue).x6k = function (minRoundsCount) {
|
|
2773
|
+
if (this.d6k_1) {
|
|
2774
2774
|
return false;
|
|
2775
2775
|
}
|
|
2776
|
-
var availableCount = _get_cardDecksCount__ihvb5i(this) - this.
|
|
2776
|
+
var availableCount = _get_cardDecksCount__ihvb5i(this) - this.c6k_1 | 0;
|
|
2777
2777
|
return availableCount >= minRoundsCount;
|
|
2778
2778
|
};
|
|
2779
|
-
protoOf(RandomPoolValue).
|
|
2780
|
-
var previousReservedCardDeckIndex = this.
|
|
2779
|
+
protoOf(RandomPoolValue).y6k = function (gameId, requestedCardDecks, thresholdForUsedPool) {
|
|
2780
|
+
var previousReservedCardDeckIndex = this.c6k_1;
|
|
2781
2781
|
// Inline function 'kotlin.apply' call
|
|
2782
|
-
var this_0 = toMutableMap(this.
|
|
2782
|
+
var this_0 = toMutableMap(this.b6k_1);
|
|
2783
2783
|
this_0.g3(gameId, previousReservedCardDeckIndex);
|
|
2784
2784
|
var newNewUsedBy = toMap(this_0);
|
|
2785
2785
|
var newReservedCardDecks = previousReservedCardDeckIndex + requestedCardDecks | 0;
|
|
2786
|
-
return this.
|
|
2786
|
+
return this.c6l(VOID, newNewUsedBy, newReservedCardDecks, (newReservedCardDecks + thresholdForUsedPool | 0) > _get_cardDecksCount__ihvb5i(this));
|
|
2787
2787
|
};
|
|
2788
|
-
protoOf(RandomPoolValue).
|
|
2789
|
-
var currentCardDeckIndex = getValue(this.
|
|
2788
|
+
protoOf(RandomPoolValue).w6k = function (gameId) {
|
|
2789
|
+
var currentCardDeckIndex = getValue(this.b6k_1, gameId);
|
|
2790
2790
|
var tmp;
|
|
2791
|
-
if (currentCardDeckIndex === get_lastIndex(this.
|
|
2791
|
+
if (currentCardDeckIndex === get_lastIndex(this.a6k_1.i6c_1)) {
|
|
2792
2792
|
tmp = 0;
|
|
2793
2793
|
} else {
|
|
2794
2794
|
tmp = currentCardDeckIndex + 1 | 0;
|
|
2795
2795
|
}
|
|
2796
2796
|
var newCardDeckIndex = tmp;
|
|
2797
2797
|
// Inline function 'kotlin.apply' call
|
|
2798
|
-
var this_0 = toMutableMap(this.
|
|
2798
|
+
var this_0 = toMutableMap(this.b6k_1);
|
|
2799
2799
|
this_0.g3(gameId, newCardDeckIndex);
|
|
2800
2800
|
var newNewUsedBy = toMap(this_0);
|
|
2801
|
-
return this.
|
|
2801
|
+
return this.c6l(VOID, newNewUsedBy);
|
|
2802
2802
|
};
|
|
2803
|
-
protoOf(RandomPoolValue).
|
|
2804
|
-
var index = getValue(this.
|
|
2805
|
-
return new GameCardDeckData(index, this.
|
|
2803
|
+
protoOf(RandomPoolValue).v6k = function (gameId) {
|
|
2804
|
+
var index = getValue(this.b6k_1, gameId);
|
|
2805
|
+
return new GameCardDeckData(index, this.a6k_1.i6c_1.h1(index));
|
|
2806
2806
|
};
|
|
2807
|
-
protoOf(RandomPoolValue).
|
|
2807
|
+
protoOf(RandomPoolValue).d6l = function (randomResult, usedByGames, reservedCardDecks, isUsed) {
|
|
2808
2808
|
return new RandomPoolValue(randomResult, usedByGames, reservedCardDecks, isUsed);
|
|
2809
2809
|
};
|
|
2810
|
-
protoOf(RandomPoolValue).
|
|
2811
|
-
randomResult = randomResult === VOID ? this.
|
|
2812
|
-
usedByGames = usedByGames === VOID ? this.
|
|
2813
|
-
reservedCardDecks = reservedCardDecks === VOID ? this.
|
|
2814
|
-
isUsed = isUsed === VOID ? this.
|
|
2815
|
-
return $super === VOID ? this.
|
|
2810
|
+
protoOf(RandomPoolValue).c6l = function (randomResult, usedByGames, reservedCardDecks, isUsed, $super) {
|
|
2811
|
+
randomResult = randomResult === VOID ? this.a6k_1 : randomResult;
|
|
2812
|
+
usedByGames = usedByGames === VOID ? this.b6k_1 : usedByGames;
|
|
2813
|
+
reservedCardDecks = reservedCardDecks === VOID ? this.c6k_1 : reservedCardDecks;
|
|
2814
|
+
isUsed = isUsed === VOID ? this.d6k_1 : isUsed;
|
|
2815
|
+
return $super === VOID ? this.d6l(randomResult, usedByGames, reservedCardDecks, isUsed) : $super.d6l.call(this, randomResult, usedByGames, reservedCardDecks, isUsed);
|
|
2816
2816
|
};
|
|
2817
2817
|
protoOf(RandomPoolValue).toString = function () {
|
|
2818
|
-
return 'RandomPoolValue(randomResult=' + this.
|
|
2818
|
+
return 'RandomPoolValue(randomResult=' + this.a6k_1.toString() + ', usedByGames=' + toString(this.b6k_1) + ', reservedCardDecks=' + this.c6k_1 + ', isUsed=' + this.d6k_1 + ')';
|
|
2819
2819
|
};
|
|
2820
2820
|
protoOf(RandomPoolValue).hashCode = function () {
|
|
2821
|
-
var result = this.
|
|
2822
|
-
result = imul(result, 31) + hashCode(this.
|
|
2823
|
-
result = imul(result, 31) + this.
|
|
2824
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2821
|
+
var result = this.a6k_1.hashCode();
|
|
2822
|
+
result = imul(result, 31) + hashCode(this.b6k_1) | 0;
|
|
2823
|
+
result = imul(result, 31) + this.c6k_1 | 0;
|
|
2824
|
+
result = imul(result, 31) + getBooleanHashCode(this.d6k_1) | 0;
|
|
2825
2825
|
return result;
|
|
2826
2826
|
};
|
|
2827
2827
|
protoOf(RandomPoolValue).equals = function (other) {
|
|
@@ -2829,34 +2829,34 @@
|
|
|
2829
2829
|
return true;
|
|
2830
2830
|
if (!(other instanceof RandomPoolValue))
|
|
2831
2831
|
return false;
|
|
2832
|
-
if (!this.
|
|
2833
|
-
return false;
|
|
2834
|
-
if (!equals(this.a6k_1, other.a6k_1))
|
|
2832
|
+
if (!this.a6k_1.equals(other.a6k_1))
|
|
2835
2833
|
return false;
|
|
2836
|
-
if (!(this.b6k_1
|
|
2834
|
+
if (!equals(this.b6k_1, other.b6k_1))
|
|
2837
2835
|
return false;
|
|
2838
2836
|
if (!(this.c6k_1 === other.c6k_1))
|
|
2839
2837
|
return false;
|
|
2838
|
+
if (!(this.d6k_1 === other.d6k_1))
|
|
2839
|
+
return false;
|
|
2840
2840
|
return true;
|
|
2841
2841
|
};
|
|
2842
2842
|
function ApiCommonConfigs$setupJsonDefaultRequest$lambda($url) {
|
|
2843
2843
|
return function ($this$defaultRequest) {
|
|
2844
2844
|
header($this$defaultRequest, 'Content-Type', 'application/json');
|
|
2845
|
-
$this$defaultRequest.
|
|
2845
|
+
$this$defaultRequest.i4f($url);
|
|
2846
2846
|
return Unit_instance;
|
|
2847
2847
|
};
|
|
2848
2848
|
}
|
|
2849
2849
|
function ApiCommonConfigs$setupLogging$2$1($externalLogger) {
|
|
2850
|
-
this.
|
|
2850
|
+
this.e6l_1 = $externalLogger;
|
|
2851
2851
|
}
|
|
2852
|
-
protoOf(ApiCommonConfigs$setupLogging$2$1).
|
|
2853
|
-
this.
|
|
2852
|
+
protoOf(ApiCommonConfigs$setupLogging$2$1).b5q = function (message) {
|
|
2853
|
+
this.e6l_1(message);
|
|
2854
2854
|
};
|
|
2855
2855
|
function ApiCommonConfigs$setupLogging$lambda($config, $externalLogger) {
|
|
2856
2856
|
return function ($this$install) {
|
|
2857
|
-
$this$install.
|
|
2858
|
-
$this$install.
|
|
2859
|
-
$this$install.
|
|
2857
|
+
$this$install.s5r(get_DEFAULT(Companion_instance_0));
|
|
2858
|
+
$this$install.r5r_1 = $config.h6l_1;
|
|
2859
|
+
$this$install.s5r(new ApiCommonConfigs$setupLogging$2$1($externalLogger));
|
|
2860
2860
|
return Unit_instance;
|
|
2861
2861
|
};
|
|
2862
2862
|
}
|
|
@@ -2868,32 +2868,32 @@
|
|
|
2868
2868
|
}
|
|
2869
2869
|
function ApiCommonConfigs() {
|
|
2870
2870
|
}
|
|
2871
|
-
protoOf(ApiCommonConfigs).
|
|
2872
|
-
_this__u8e3s4.
|
|
2873
|
-
this.
|
|
2874
|
-
this.
|
|
2875
|
-
this.
|
|
2871
|
+
protoOf(ApiCommonConfigs).j6l = function (_this__u8e3s4, config, externalLogger) {
|
|
2872
|
+
_this__u8e3s4.f46_1 = true;
|
|
2873
|
+
this.k6l(_this__u8e3s4, config.f6l_1);
|
|
2874
|
+
this.l6l(_this__u8e3s4, config.i6l_1);
|
|
2875
|
+
this.m6l(_this__u8e3s4, config, externalLogger);
|
|
2876
2876
|
};
|
|
2877
|
-
protoOf(ApiCommonConfigs).
|
|
2877
|
+
protoOf(ApiCommonConfigs).k6l = function (_this__u8e3s4, url) {
|
|
2878
2878
|
defaultRequest(_this__u8e3s4, ApiCommonConfigs$setupJsonDefaultRequest$lambda(url));
|
|
2879
2879
|
};
|
|
2880
|
-
protoOf(ApiCommonConfigs).
|
|
2880
|
+
protoOf(ApiCommonConfigs).m6l = function (_this__u8e3s4, config, externalLogger) {
|
|
2881
2881
|
var tmp = get_Logging();
|
|
2882
|
-
_this__u8e3s4.
|
|
2882
|
+
_this__u8e3s4.t46(tmp, ApiCommonConfigs$setupLogging$lambda(config, externalLogger));
|
|
2883
2883
|
};
|
|
2884
|
-
protoOf(ApiCommonConfigs).
|
|
2884
|
+
protoOf(ApiCommonConfigs).l6l = function (_this__u8e3s4, json) {
|
|
2885
2885
|
var tmp = get_ContentNegotiation();
|
|
2886
|
-
_this__u8e3s4.
|
|
2886
|
+
_this__u8e3s4.t46(tmp, ApiCommonConfigs$setupContentNegotiation$lambda(json));
|
|
2887
2887
|
};
|
|
2888
2888
|
var ApiCommonConfigs_instance;
|
|
2889
2889
|
function ApiCommonConfigs_getInstance() {
|
|
2890
2890
|
return ApiCommonConfigs_instance;
|
|
2891
2891
|
}
|
|
2892
2892
|
function HttpParams$_init_$lambda_l7stpf($this$Json) {
|
|
2893
|
+
$this$Json.r5d_1 = true;
|
|
2893
2894
|
$this$Json.q5d_1 = true;
|
|
2894
2895
|
$this$Json.p5d_1 = true;
|
|
2895
|
-
$this$Json.o5d_1 =
|
|
2896
|
-
$this$Json.n5d_1 = false;
|
|
2896
|
+
$this$Json.o5d_1 = false;
|
|
2897
2897
|
return Unit_instance;
|
|
2898
2898
|
}
|
|
2899
2899
|
function HttpParams(baseUrl, timeoutMillis, loggingLevel, json) {
|
|
@@ -2906,19 +2906,19 @@
|
|
|
2906
2906
|
tmp = json;
|
|
2907
2907
|
}
|
|
2908
2908
|
json = tmp;
|
|
2909
|
-
this.
|
|
2910
|
-
this.
|
|
2911
|
-
this.
|
|
2912
|
-
this.
|
|
2909
|
+
this.f6l_1 = baseUrl;
|
|
2910
|
+
this.g6l_1 = timeoutMillis;
|
|
2911
|
+
this.h6l_1 = loggingLevel;
|
|
2912
|
+
this.i6l_1 = json;
|
|
2913
2913
|
}
|
|
2914
2914
|
protoOf(HttpParams).toString = function () {
|
|
2915
|
-
return 'HttpParams(baseUrl=' + this.
|
|
2915
|
+
return 'HttpParams(baseUrl=' + this.f6l_1 + ', timeoutMillis=' + this.g6l_1.toString() + ', loggingLevel=' + this.h6l_1.toString() + ', json=' + toString(this.i6l_1) + ')';
|
|
2916
2916
|
};
|
|
2917
2917
|
protoOf(HttpParams).hashCode = function () {
|
|
2918
|
-
var result = getStringHashCode(this.
|
|
2919
|
-
result = imul(result, 31) + this.f6l_1.hashCode() | 0;
|
|
2918
|
+
var result = getStringHashCode(this.f6l_1);
|
|
2920
2919
|
result = imul(result, 31) + this.g6l_1.hashCode() | 0;
|
|
2921
|
-
result = imul(result, 31) +
|
|
2920
|
+
result = imul(result, 31) + this.h6l_1.hashCode() | 0;
|
|
2921
|
+
result = imul(result, 31) + hashCode(this.i6l_1) | 0;
|
|
2922
2922
|
return result;
|
|
2923
2923
|
};
|
|
2924
2924
|
protoOf(HttpParams).equals = function (other) {
|
|
@@ -2926,13 +2926,13 @@
|
|
|
2926
2926
|
return true;
|
|
2927
2927
|
if (!(other instanceof HttpParams))
|
|
2928
2928
|
return false;
|
|
2929
|
-
if (!(this.
|
|
2929
|
+
if (!(this.f6l_1 === other.f6l_1))
|
|
2930
2930
|
return false;
|
|
2931
|
-
if (!equalsLong(this.
|
|
2931
|
+
if (!equalsLong(this.g6l_1, other.g6l_1))
|
|
2932
2932
|
return false;
|
|
2933
|
-
if (!this.
|
|
2933
|
+
if (!this.h6l_1.equals(other.h6l_1))
|
|
2934
2934
|
return false;
|
|
2935
|
-
if (!equals(this.
|
|
2935
|
+
if (!equals(this.i6l_1, other.i6l_1))
|
|
2936
2936
|
return false;
|
|
2937
2937
|
return true;
|
|
2938
2938
|
};
|
|
@@ -2956,12 +2956,12 @@
|
|
|
2956
2956
|
}
|
|
2957
2957
|
function nextBytesCopyTo($this, bytes) {
|
|
2958
2958
|
try {
|
|
2959
|
-
$this.
|
|
2959
|
+
$this.o6l_1.s64(bytes);
|
|
2960
2960
|
} catch ($p) {
|
|
2961
2961
|
if ($p instanceof SecRandomCopyException) {
|
|
2962
2962
|
var error = $p;
|
|
2963
|
-
$this.
|
|
2964
|
-
$this.
|
|
2963
|
+
$this.n6l_1.e('SecureGameRandom', 'nextBytesCopyTo error ' + error.toString());
|
|
2964
|
+
$this.p6l_1.dj(bytes);
|
|
2965
2965
|
return Unit_instance;
|
|
2966
2966
|
} else {
|
|
2967
2967
|
throw $p;
|
|
@@ -2985,9 +2985,9 @@
|
|
|
2985
2985
|
}
|
|
2986
2986
|
function SecureRandom_0(logger) {
|
|
2987
2987
|
logger = logger === VOID ? new PlatformRaspberryLogger() : logger;
|
|
2988
|
-
this.
|
|
2989
|
-
this.
|
|
2990
|
-
this.
|
|
2988
|
+
this.n6l_1 = logger;
|
|
2989
|
+
this.o6l_1 = new SecureRandom();
|
|
2990
|
+
this.p6l_1 = Default_getInstance();
|
|
2991
2991
|
}
|
|
2992
2992
|
protoOf(SecureRandom_0).xi = function (from, until) {
|
|
2993
2993
|
checkRangeBounds(this, from, until);
|
|
@@ -3037,7 +3037,7 @@
|
|
|
3037
3037
|
while (pile.g1() > 0) {
|
|
3038
3038
|
var tmp0 = pile.g1();
|
|
3039
3039
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3040
|
-
var b = 1 + random.
|
|
3040
|
+
var b = 1 + random.q6l(VOID, twentypc) | 0;
|
|
3041
3041
|
var cards = Math.min(tmp0, b);
|
|
3042
3042
|
pile2.z2(0, take(pile, cards));
|
|
3043
3043
|
// Inline function 'kotlin.repeat' call
|
|
@@ -3068,7 +3068,7 @@
|
|
|
3068
3068
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3069
3069
|
var mid = deck.g1() / 2 | 0;
|
|
3070
3070
|
var tenpc = mid / 10 | 0;
|
|
3071
|
-
var cut = (mid - tenpc | 0) + random.
|
|
3071
|
+
var cut = (mid - tenpc | 0) + random.q6l(VOID, imul(2, tenpc) + 1 | 0) | 0;
|
|
3072
3072
|
var deck1 = toMutableList(take(pile, cut));
|
|
3073
3073
|
var deck2 = toMutableList(drop(pile, cut));
|
|
3074
3074
|
pile.b3();
|
|
@@ -3094,22 +3094,22 @@
|
|
|
3094
3094
|
}
|
|
3095
3095
|
function HttpFactory$provideHttpClient$lambda$lambda($config) {
|
|
3096
3096
|
return function ($this$install) {
|
|
3097
|
-
$this$install.
|
|
3098
|
-
$this$install.
|
|
3097
|
+
$this$install.w4v($config.g6l_1);
|
|
3098
|
+
$this$install.u4v($config.g6l_1);
|
|
3099
3099
|
return Unit_instance;
|
|
3100
3100
|
};
|
|
3101
3101
|
}
|
|
3102
3102
|
function HttpFactory$provideHttpClient$lambda($config, $externalLogger) {
|
|
3103
3103
|
return function ($this$HttpClient) {
|
|
3104
3104
|
var tmp = get_HttpTimeout();
|
|
3105
|
-
$this$HttpClient.
|
|
3106
|
-
ApiCommonConfigs_instance.
|
|
3105
|
+
$this$HttpClient.t46(tmp, HttpFactory$provideHttpClient$lambda$lambda($config));
|
|
3106
|
+
ApiCommonConfigs_instance.j6l($this$HttpClient, $config, $externalLogger);
|
|
3107
3107
|
return Unit_instance;
|
|
3108
3108
|
};
|
|
3109
3109
|
}
|
|
3110
3110
|
function HttpFactory() {
|
|
3111
3111
|
}
|
|
3112
|
-
protoOf(HttpFactory).
|
|
3112
|
+
protoOf(HttpFactory).s6l = function (config, externalLogger) {
|
|
3113
3113
|
var tmp = Js_instance;
|
|
3114
3114
|
return HttpClient(tmp, HttpFactory$provideHttpClient$lambda(config, externalLogger));
|
|
3115
3115
|
};
|
|
@@ -3118,15 +3118,15 @@
|
|
|
3118
3118
|
return HttpFactory_instance;
|
|
3119
3119
|
}
|
|
3120
3120
|
//region block: post-declaration
|
|
3121
|
-
protoOf($serializer).
|
|
3122
|
-
protoOf($serializer_0).
|
|
3123
|
-
protoOf($serializer_2).
|
|
3124
|
-
protoOf($serializer_3).
|
|
3125
|
-
protoOf($serializer_5).
|
|
3126
|
-
protoOf($serializer_6).
|
|
3127
|
-
protoOf(RandomPoolProviderImpl).
|
|
3128
|
-
protoOf(SecureRandom_0).
|
|
3129
|
-
protoOf(SecureRandom_0).
|
|
3121
|
+
protoOf($serializer).r11 = typeParametersSerializers;
|
|
3122
|
+
protoOf($serializer_0).r11 = typeParametersSerializers;
|
|
3123
|
+
protoOf($serializer_2).r11 = typeParametersSerializers;
|
|
3124
|
+
protoOf($serializer_3).r11 = typeParametersSerializers;
|
|
3125
|
+
protoOf($serializer_5).r11 = typeParametersSerializers;
|
|
3126
|
+
protoOf($serializer_6).r11 = typeParametersSerializers;
|
|
3127
|
+
protoOf(RandomPoolProviderImpl).o6g = getCardDeck$default;
|
|
3128
|
+
protoOf(SecureRandom_0).q6l = nextInt$default;
|
|
3129
|
+
protoOf(SecureRandom_0).r6l = shuffle;
|
|
3130
3130
|
//endregion
|
|
3131
3131
|
//region block: init
|
|
3132
3132
|
Companion_instance_1 = new Companion();
|