client_plugin_logic_deb 1.8.351 → 1.8.352
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 +562 -562
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1591 -1591
- package/Logic_Debertz-client_plugin.d.ts +4 -4
- package/Logic_Debertz-client_plugin.js +3728 -3559
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1749 -1749
- package/Logic_Debertz-engine.js +17906 -17818
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +10884 -10040
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1131 -1130
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +343 -330
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +5 -5
- package/kotlinx-coroutines-core.js +2652 -1686
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +338 -338
- package/kotlinx-serialization-kotlinx-serialization-core.js +1915 -1915
- package/kotlinx-serialization-kotlinx-serialization-json.js +1428 -1428
- package/ktor-ktor-client-content-negotiation.js +157 -157
- package/ktor-ktor-client-core.js +1623 -1623
- package/ktor-ktor-client-logging.js +318 -318
- package/ktor-ktor-events.js +11 -11
- package/ktor-ktor-http.js +683 -683
- package/ktor-ktor-io.js +1301 -1301
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +169 -169
- package/ktor-ktor-serialization.js +85 -85
- package/ktor-ktor-utils.js +560 -560
- package/ktor-ktor-websockets.js +56 -56
- package/package.json +1 -1
- package/random-library-crypto-rand.js +11 -11
- package/random-library-secure-random.js +6 -6
- package/raspberry-cardgame-lib-core.js +225 -225
- package/raspberry-cardgame-lib-logger.js +13 -13
- package/raspberry-cardgame-lib-random.js +870 -870
- package/uuid.js +26 -26
|
@@ -50,51 +50,51 @@
|
|
|
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.$_$.uc;
|
|
54
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ub;
|
|
55
|
+
var RuntimeException = kotlin_kotlin.$_$.sg;
|
|
56
56
|
var VOID = kotlin_kotlin.$_$.f;
|
|
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 THROW_CCE = kotlin_kotlin.$_$.
|
|
62
|
-
var toString = kotlin_kotlin.$_$.
|
|
63
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
64
|
-
var equals = kotlin_kotlin.$_$.
|
|
65
|
-
var listOf = kotlin_kotlin.$_$.
|
|
66
|
-
var plus = kotlin_kotlin.$_$.
|
|
67
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
68
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
69
|
-
var toLong = kotlin_kotlin.$_$.
|
|
58
|
+
var captureStack = kotlin_kotlin.$_$.db;
|
|
59
|
+
var initMetadataForClass = kotlin_kotlin.$_$.tb;
|
|
60
|
+
var getStringHashCode = kotlin_kotlin.$_$.rb;
|
|
61
|
+
var THROW_CCE = kotlin_kotlin.$_$.tg;
|
|
62
|
+
var toString = kotlin_kotlin.$_$.yc;
|
|
63
|
+
var hashCode = kotlin_kotlin.$_$.sb;
|
|
64
|
+
var equals = kotlin_kotlin.$_$.mb;
|
|
65
|
+
var listOf = kotlin_kotlin.$_$.l8;
|
|
66
|
+
var plus = kotlin_kotlin.$_$.x8;
|
|
67
|
+
var emptyList = kotlin_kotlin.$_$.i7;
|
|
68
|
+
var defineProp = kotlin_kotlin.$_$.lb;
|
|
69
|
+
var toLong = kotlin_kotlin.$_$.wc;
|
|
70
70
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
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.$_$.yb;
|
|
77
77
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
78
78
|
var Unit_instance = kotlin_kotlin.$_$.j5;
|
|
79
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
80
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
79
|
+
var objectCreate = kotlin_kotlin.$_$.tc;
|
|
80
|
+
var toString_0 = kotlin_kotlin.$_$.xh;
|
|
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.$_$.i;
|
|
85
|
-
var lazy = kotlin_kotlin.$_$.
|
|
85
|
+
var lazy = kotlin_kotlin.$_$.ph;
|
|
86
86
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
87
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
88
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
89
|
-
var getValue = kotlin_kotlin.$_$.
|
|
87
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.ob;
|
|
88
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.wb;
|
|
89
|
+
var getValue = kotlin_kotlin.$_$.w7;
|
|
90
90
|
var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.e;
|
|
91
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
91
|
+
var CoroutineImpl = kotlin_kotlin.$_$.va;
|
|
92
92
|
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.l;
|
|
93
93
|
var url = kotlin_io_ktor_ktor_client_core.$_$.o;
|
|
94
94
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
95
95
|
var JsType_instance = kotlin_io_ktor_ktor_utils.$_$.b;
|
|
96
96
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
97
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
97
|
+
var arrayOf = kotlin_kotlin.$_$.hh;
|
|
98
98
|
var createKType = kotlin_kotlin.$_$.b;
|
|
99
99
|
var createInvariantKTypeProjection = kotlin_kotlin.$_$.a;
|
|
100
100
|
var typeInfoImpl = kotlin_io_ktor_ktor_utils.$_$.l;
|
|
@@ -102,38 +102,38 @@
|
|
|
102
102
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
103
103
|
var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.f;
|
|
104
104
|
var HttpStatement = kotlin_io_ktor_ktor_client_core.$_$.r;
|
|
105
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
105
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ga;
|
|
106
106
|
var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
|
|
107
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
108
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
109
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
107
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.vb;
|
|
108
|
+
var KtMap = kotlin_kotlin.$_$.v5;
|
|
109
|
+
var isInterface = kotlin_kotlin.$_$.hc;
|
|
110
110
|
var Companion_getInstance_0 = kotlin_kotlin.$_$.z4;
|
|
111
|
-
var Long = kotlin_kotlin.$_$.
|
|
111
|
+
var Long = kotlin_kotlin.$_$.ng;
|
|
112
112
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
113
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
114
|
-
var Duration = kotlin_kotlin.$_$.
|
|
113
|
+
var toDuration = kotlin_kotlin.$_$.zf;
|
|
114
|
+
var Duration = kotlin_kotlin.$_$.wf;
|
|
115
115
|
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.o2;
|
|
116
116
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.j2;
|
|
117
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
118
|
-
var toMutableMap = kotlin_kotlin.$_$.
|
|
119
|
-
var toMap = kotlin_kotlin.$_$.
|
|
120
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
117
|
+
var emptyMap = kotlin_kotlin.$_$.j7;
|
|
118
|
+
var toMutableMap = kotlin_kotlin.$_$.w9;
|
|
119
|
+
var toMap = kotlin_kotlin.$_$.s9;
|
|
120
|
+
var get_lastIndex = kotlin_kotlin.$_$.e8;
|
|
121
121
|
var System_instance = kotlin_kotlin.$_$.y4;
|
|
122
122
|
var Duration__times_impl_sfuzvp = kotlin_kotlin.$_$.m2;
|
|
123
123
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
124
|
-
var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
124
|
+
var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
|
|
125
125
|
var uuid4 = kotlin_com_benasher44_uuid.$_$.a;
|
|
126
|
-
var Result = kotlin_kotlin.$_$.
|
|
127
|
-
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
126
|
+
var Result = kotlin_kotlin.$_$.rg;
|
|
127
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p1;
|
|
128
128
|
var Companion_instance = kotlin_kotlin.$_$.e5;
|
|
129
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
129
|
+
var createFailure = kotlin_kotlin.$_$.jh;
|
|
130
130
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.x2;
|
|
131
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
131
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.xb;
|
|
132
132
|
var Duration__compareTo_impl_pchp0f = kotlin_kotlin.$_$.i2;
|
|
133
133
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
134
|
-
var firstOrNull = kotlin_kotlin.$_$.
|
|
135
|
-
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
136
|
-
var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
134
|
+
var firstOrNull = kotlin_kotlin.$_$.o7;
|
|
135
|
+
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
|
|
136
|
+
var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
|
|
137
137
|
var header = kotlin_io_ktor_ktor_client_core.$_$.n;
|
|
138
138
|
var Companion_instance_0 = kotlin_io_ktor_ktor_client_logging.$_$.b;
|
|
139
139
|
var get_DEFAULT = kotlin_io_ktor_ktor_client_logging.$_$.d;
|
|
@@ -147,11 +147,11 @@
|
|
|
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.$_$.v4;
|
|
150
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
150
|
+
var toMutableList = kotlin_kotlin.$_$.v9;
|
|
151
151
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
152
|
-
var take = kotlin_kotlin.$_$.
|
|
153
|
-
var drop = kotlin_kotlin.$_$.
|
|
154
|
-
var reverse = kotlin_kotlin.$_$.
|
|
152
|
+
var take = kotlin_kotlin.$_$.m9;
|
|
153
|
+
var drop = kotlin_kotlin.$_$.h7;
|
|
154
|
+
var reverse = kotlin_kotlin.$_$.c9;
|
|
155
155
|
var Plugin_getInstance_0 = kotlin_io_ktor_ktor_client_core.$_$.c;
|
|
156
156
|
var Js_instance = kotlin_io_ktor_ktor_client_core.$_$.a;
|
|
157
157
|
var HttpClient = kotlin_io_ktor_ktor_client_core.$_$.s;
|
|
@@ -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.b65(minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) : $super.b65.call(this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion);
|
|
207
207
|
}
|
|
208
208
|
initMetadataForInterface(RandomPoolProvider, 'RandomPoolProvider', VOID, VOID, VOID, [7, 5]);
|
|
209
209
|
initMetadataForClass(RandomPoolValue, 'RandomPoolValue');
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
initMetadataForObject(HttpFactory, 'HttpFactory');
|
|
239
239
|
//endregion
|
|
240
240
|
function Companion() {
|
|
241
|
-
this.
|
|
241
|
+
this.y5z_1 = 100001;
|
|
242
242
|
}
|
|
243
243
|
var Companion_instance_1;
|
|
244
244
|
function Companion_getInstance_2() {
|
|
@@ -249,16 +249,16 @@
|
|
|
249
249
|
cause = cause === VOID ? null : cause;
|
|
250
250
|
RuntimeException_init_$Init$(message, cause, this);
|
|
251
251
|
captureStack(this, RandomException);
|
|
252
|
-
this.
|
|
252
|
+
this.z5z_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).a5y = function () {
|
|
259
259
|
return this.id;
|
|
260
260
|
};
|
|
261
|
-
protoOf(CardDecksRequestUserData).
|
|
261
|
+
protoOf(CardDecksRequestUserData).a60 = function () {
|
|
262
262
|
return this.count;
|
|
263
263
|
};
|
|
264
264
|
protoOf(CardDecksRequestUserData).kf = function () {
|
|
@@ -267,13 +267,13 @@
|
|
|
267
267
|
protoOf(CardDecksRequestUserData).lf = function () {
|
|
268
268
|
return this.count;
|
|
269
269
|
};
|
|
270
|
-
protoOf(CardDecksRequestUserData).
|
|
270
|
+
protoOf(CardDecksRequestUserData).b60 = 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.b60(id, count) : $super.b60.call(this, id, count);
|
|
277
277
|
};
|
|
278
278
|
protoOf(CardDecksRequestUserData).toString = function () {
|
|
279
279
|
return 'CardDecksRequestUserData(id=' + this.id + ', count=' + this.count + ')';
|
|
@@ -299,10 +299,10 @@
|
|
|
299
299
|
this.players = players;
|
|
300
300
|
this.gameId = gameId;
|
|
301
301
|
}
|
|
302
|
-
protoOf(CardDeckRequestUserData).
|
|
302
|
+
protoOf(CardDeckRequestUserData).c60 = function () {
|
|
303
303
|
return this.players;
|
|
304
304
|
};
|
|
305
|
-
protoOf(CardDeckRequestUserData).
|
|
305
|
+
protoOf(CardDeckRequestUserData).d60 = function () {
|
|
306
306
|
return this.gameId;
|
|
307
307
|
};
|
|
308
308
|
protoOf(CardDeckRequestUserData).kf = function () {
|
|
@@ -311,13 +311,13 @@
|
|
|
311
311
|
protoOf(CardDeckRequestUserData).lf = function () {
|
|
312
312
|
return this.gameId;
|
|
313
313
|
};
|
|
314
|
-
protoOf(CardDeckRequestUserData).
|
|
314
|
+
protoOf(CardDeckRequestUserData).e60 = function (players, gameId) {
|
|
315
315
|
return new CardDeckRequestUserData(players, gameId);
|
|
316
316
|
};
|
|
317
317
|
protoOf(CardDeckRequestUserData).copy = function (players, gameId, $super) {
|
|
318
318
|
players = players === VOID ? this.players : players;
|
|
319
319
|
gameId = gameId === VOID ? this.gameId : gameId;
|
|
320
|
-
return $super === VOID ? this.
|
|
320
|
+
return $super === VOID ? this.e60(players, gameId) : $super.e60.call(this, players, gameId);
|
|
321
321
|
};
|
|
322
322
|
protoOf(CardDeckRequestUserData).toString = function () {
|
|
323
323
|
return 'CardDeckRequestUserData(players=' + toString(this.players) + ', gameId=' + this.gameId + ')';
|
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
this.id = id;
|
|
344
344
|
this.name = name;
|
|
345
345
|
}
|
|
346
|
-
protoOf(UserInfoData).
|
|
346
|
+
protoOf(UserInfoData).a5y = function () {
|
|
347
347
|
return this.id;
|
|
348
348
|
};
|
|
349
349
|
protoOf(UserInfoData).s2 = function () {
|
|
@@ -355,13 +355,13 @@
|
|
|
355
355
|
protoOf(UserInfoData).lf = function () {
|
|
356
356
|
return this.name;
|
|
357
357
|
};
|
|
358
|
-
protoOf(UserInfoData).
|
|
358
|
+
protoOf(UserInfoData).f60 = function (id, name) {
|
|
359
359
|
return new UserInfoData(id, name);
|
|
360
360
|
};
|
|
361
361
|
protoOf(UserInfoData).copy = function (id, name, $super) {
|
|
362
362
|
id = id === VOID ? this.id : id;
|
|
363
363
|
name = name === VOID ? this.name : name;
|
|
364
|
-
return $super === VOID ? this.
|
|
364
|
+
return $super === VOID ? this.f60(id, name) : $super.f60.call(this, id, name);
|
|
365
365
|
};
|
|
366
366
|
protoOf(UserInfoData).toString = function () {
|
|
367
367
|
return 'UserInfoData(id=' + this.id + ', name=' + this.name + ')';
|
|
@@ -384,19 +384,19 @@
|
|
|
384
384
|
return true;
|
|
385
385
|
};
|
|
386
386
|
function CardDeckResult(cardDecks, responseText, id, signature) {
|
|
387
|
-
this.
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
387
|
+
this.g60_1 = cardDecks;
|
|
388
|
+
this.h60_1 = responseText;
|
|
389
|
+
this.i60_1 = id;
|
|
390
|
+
this.j60_1 = signature;
|
|
391
391
|
}
|
|
392
392
|
protoOf(CardDeckResult).toString = function () {
|
|
393
|
-
return 'CardDeckResult(cardDecks=' + toString(this.
|
|
393
|
+
return 'CardDeckResult(cardDecks=' + toString(this.g60_1) + ', responseText=' + this.h60_1 + ', id=' + this.i60_1 + ', signature=' + this.j60_1 + ')';
|
|
394
394
|
};
|
|
395
395
|
protoOf(CardDeckResult).hashCode = function () {
|
|
396
|
-
var result = hashCode(this.
|
|
397
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
398
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
399
|
-
result = imul(result, 31) + (this.
|
|
396
|
+
var result = hashCode(this.g60_1);
|
|
397
|
+
result = imul(result, 31) + getStringHashCode(this.h60_1) | 0;
|
|
398
|
+
result = imul(result, 31) + getStringHashCode(this.i60_1) | 0;
|
|
399
|
+
result = imul(result, 31) + (this.j60_1 == null ? 0 : getStringHashCode(this.j60_1)) | 0;
|
|
400
400
|
return result;
|
|
401
401
|
};
|
|
402
402
|
protoOf(CardDeckResult).equals = function (other) {
|
|
@@ -405,13 +405,13 @@
|
|
|
405
405
|
if (!(other instanceof CardDeckResult))
|
|
406
406
|
return false;
|
|
407
407
|
var tmp0_other_with_cast = other instanceof CardDeckResult ? other : THROW_CCE();
|
|
408
|
-
if (!equals(this.
|
|
408
|
+
if (!equals(this.g60_1, tmp0_other_with_cast.g60_1))
|
|
409
409
|
return false;
|
|
410
|
-
if (!(this.
|
|
410
|
+
if (!(this.h60_1 === tmp0_other_with_cast.h60_1))
|
|
411
411
|
return false;
|
|
412
|
-
if (!(this.
|
|
412
|
+
if (!(this.i60_1 === tmp0_other_with_cast.i60_1))
|
|
413
413
|
return false;
|
|
414
|
-
if (!(this.
|
|
414
|
+
if (!(this.j60_1 == tmp0_other_with_cast.j60_1))
|
|
415
415
|
return false;
|
|
416
416
|
return true;
|
|
417
417
|
};
|
|
@@ -434,16 +434,16 @@
|
|
|
434
434
|
this.userData = userData;
|
|
435
435
|
this.rounds = rounds;
|
|
436
436
|
}
|
|
437
|
-
protoOf(GameCardDecksRecord).
|
|
437
|
+
protoOf(GameCardDecksRecord).k60 = function () {
|
|
438
438
|
return this.poolId;
|
|
439
439
|
};
|
|
440
|
-
protoOf(GameCardDecksRecord).
|
|
440
|
+
protoOf(GameCardDecksRecord).l60 = function () {
|
|
441
441
|
return this.signature;
|
|
442
442
|
};
|
|
443
|
-
protoOf(GameCardDecksRecord).
|
|
443
|
+
protoOf(GameCardDecksRecord).m60 = function () {
|
|
444
444
|
return this.userData;
|
|
445
445
|
};
|
|
446
|
-
protoOf(GameCardDecksRecord).
|
|
446
|
+
protoOf(GameCardDecksRecord).n60 = function () {
|
|
447
447
|
return this.rounds;
|
|
448
448
|
};
|
|
449
449
|
protoOf(GameCardDecksRecord).kf = function () {
|
|
@@ -455,10 +455,10 @@
|
|
|
455
455
|
protoOf(GameCardDecksRecord).um = function () {
|
|
456
456
|
return this.userData;
|
|
457
457
|
};
|
|
458
|
-
protoOf(GameCardDecksRecord).
|
|
458
|
+
protoOf(GameCardDecksRecord).o60 = function () {
|
|
459
459
|
return this.rounds;
|
|
460
460
|
};
|
|
461
|
-
protoOf(GameCardDecksRecord).
|
|
461
|
+
protoOf(GameCardDecksRecord).p60 = function (poolId, signature, userData, rounds) {
|
|
462
462
|
return new GameCardDecksRecord(poolId, signature, userData, rounds);
|
|
463
463
|
};
|
|
464
464
|
protoOf(GameCardDecksRecord).copy = function (poolId, signature, userData, rounds, $super) {
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
signature = signature === VOID ? this.signature : signature;
|
|
467
467
|
userData = userData === VOID ? this.userData : userData;
|
|
468
468
|
rounds = rounds === VOID ? this.rounds : rounds;
|
|
469
|
-
return $super === VOID ? this.
|
|
469
|
+
return $super === VOID ? this.p60(poolId, signature, userData, rounds) : $super.p60.call(this, poolId, signature, userData, rounds);
|
|
470
470
|
};
|
|
471
471
|
protoOf(GameCardDecksRecord).toString = function () {
|
|
472
472
|
return 'GameCardDecksRecord(poolId=' + this.poolId + ', signature=' + this.signature + ', userData=' + this.userData.toString() + ', rounds=' + toString(this.rounds) + ')';
|
|
@@ -498,10 +498,10 @@
|
|
|
498
498
|
this.cardDeckIndex = cardDeckIndex;
|
|
499
499
|
this.cards = cards;
|
|
500
500
|
}
|
|
501
|
-
protoOf(GameCardDeckData).
|
|
501
|
+
protoOf(GameCardDeckData).q60 = function () {
|
|
502
502
|
return this.cardDeckIndex;
|
|
503
503
|
};
|
|
504
|
-
protoOf(GameCardDeckData).
|
|
504
|
+
protoOf(GameCardDeckData).r60 = function () {
|
|
505
505
|
return this.cards;
|
|
506
506
|
};
|
|
507
507
|
protoOf(GameCardDeckData).kf = function () {
|
|
@@ -510,13 +510,13 @@
|
|
|
510
510
|
protoOf(GameCardDeckData).lf = function () {
|
|
511
511
|
return this.cards;
|
|
512
512
|
};
|
|
513
|
-
protoOf(GameCardDeckData).
|
|
513
|
+
protoOf(GameCardDeckData).s60 = function (cardDeckIndex, cards) {
|
|
514
514
|
return new GameCardDeckData(cardDeckIndex, cards);
|
|
515
515
|
};
|
|
516
516
|
protoOf(GameCardDeckData).copy = function (cardDeckIndex, cards, $super) {
|
|
517
517
|
cardDeckIndex = cardDeckIndex === VOID ? this.cardDeckIndex : cardDeckIndex;
|
|
518
518
|
cards = cards === VOID ? this.cards : cards;
|
|
519
|
-
return $super === VOID ? this.
|
|
519
|
+
return $super === VOID ? this.s60(cardDeckIndex, cards) : $super.s60.call(this, cardDeckIndex, cards);
|
|
520
520
|
};
|
|
521
521
|
protoOf(GameCardDeckData).toString = function () {
|
|
522
522
|
return 'GameCardDeckData(cardDeckIndex=' + this.cardDeckIndex + ', cards=' + toString(this.cards) + ')';
|
|
@@ -543,10 +543,10 @@
|
|
|
543
543
|
this.baseUrl = baseUrl;
|
|
544
544
|
this.timeoutMillis = timeoutMillis;
|
|
545
545
|
}
|
|
546
|
-
protoOf(HttpConfig).
|
|
546
|
+
protoOf(HttpConfig).t60 = function () {
|
|
547
547
|
return this.baseUrl;
|
|
548
548
|
};
|
|
549
|
-
protoOf(HttpConfig).
|
|
549
|
+
protoOf(HttpConfig).u60 = function () {
|
|
550
550
|
return this.timeoutMillis;
|
|
551
551
|
};
|
|
552
552
|
protoOf(HttpConfig).kf = function () {
|
|
@@ -555,13 +555,13 @@
|
|
|
555
555
|
protoOf(HttpConfig).lf = function () {
|
|
556
556
|
return this.timeoutMillis;
|
|
557
557
|
};
|
|
558
|
-
protoOf(HttpConfig).
|
|
558
|
+
protoOf(HttpConfig).b60 = function (baseUrl, timeoutMillis) {
|
|
559
559
|
return new HttpConfig(baseUrl, timeoutMillis);
|
|
560
560
|
};
|
|
561
561
|
protoOf(HttpConfig).copy = function (baseUrl, timeoutMillis, $super) {
|
|
562
562
|
baseUrl = baseUrl === VOID ? this.baseUrl : baseUrl;
|
|
563
563
|
timeoutMillis = timeoutMillis === VOID ? this.timeoutMillis : timeoutMillis;
|
|
564
|
-
return $super === VOID ? this.
|
|
564
|
+
return $super === VOID ? this.b60(baseUrl, timeoutMillis) : $super.b60.call(this, baseUrl, timeoutMillis);
|
|
565
565
|
};
|
|
566
566
|
protoOf(HttpConfig).toString = function () {
|
|
567
567
|
return 'HttpConfig(baseUrl=' + this.baseUrl + ', timeoutMillis=' + this.timeoutMillis + ')';
|
|
@@ -596,16 +596,16 @@
|
|
|
596
596
|
this.thresholdForUsedPool = thresholdForUsedPool;
|
|
597
597
|
this.httpConfig = httpConfig;
|
|
598
598
|
}
|
|
599
|
-
protoOf(RandomOrgConfig).
|
|
599
|
+
protoOf(RandomOrgConfig).v60 = function () {
|
|
600
600
|
return this.apiKey;
|
|
601
601
|
};
|
|
602
|
-
protoOf(RandomOrgConfig).
|
|
602
|
+
protoOf(RandomOrgConfig).w60 = function () {
|
|
603
603
|
return this.poolSize;
|
|
604
604
|
};
|
|
605
|
-
protoOf(RandomOrgConfig).
|
|
605
|
+
protoOf(RandomOrgConfig).x60 = function () {
|
|
606
606
|
return this.thresholdForUsedPool;
|
|
607
607
|
};
|
|
608
|
-
protoOf(RandomOrgConfig).
|
|
608
|
+
protoOf(RandomOrgConfig).y60 = function () {
|
|
609
609
|
return this.httpConfig;
|
|
610
610
|
};
|
|
611
611
|
protoOf(RandomOrgConfig).kf = function () {
|
|
@@ -617,10 +617,10 @@
|
|
|
617
617
|
protoOf(RandomOrgConfig).um = function () {
|
|
618
618
|
return this.thresholdForUsedPool;
|
|
619
619
|
};
|
|
620
|
-
protoOf(RandomOrgConfig).
|
|
620
|
+
protoOf(RandomOrgConfig).o60 = function () {
|
|
621
621
|
return this.httpConfig;
|
|
622
622
|
};
|
|
623
|
-
protoOf(RandomOrgConfig).
|
|
623
|
+
protoOf(RandomOrgConfig).z60 = function (apiKey, poolSize, thresholdForUsedPool, httpConfig) {
|
|
624
624
|
return new RandomOrgConfig(apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
625
625
|
};
|
|
626
626
|
protoOf(RandomOrgConfig).copy = function (apiKey, poolSize, thresholdForUsedPool, httpConfig, $super) {
|
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
poolSize = poolSize === VOID ? this.poolSize : poolSize;
|
|
629
629
|
thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
|
|
630
630
|
httpConfig = httpConfig === VOID ? this.httpConfig : httpConfig;
|
|
631
|
-
return $super === VOID ? this.
|
|
631
|
+
return $super === VOID ? this.z60(apiKey, poolSize, thresholdForUsedPool, httpConfig) : $super.z60.call(this, apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
632
632
|
};
|
|
633
633
|
protoOf(RandomOrgConfig).toString = function () {
|
|
634
634
|
return 'RandomOrgConfig(apiKey=' + this.apiKey + ', poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', httpConfig=' + this.httpConfig.toString() + ')';
|
|
@@ -665,59 +665,59 @@
|
|
|
665
665
|
function $serializer() {
|
|
666
666
|
$serializer_instance = this;
|
|
667
667
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.ErrorResponseDto', this, 2);
|
|
668
|
-
tmp0_serialDesc.
|
|
669
|
-
tmp0_serialDesc.
|
|
670
|
-
this.
|
|
671
|
-
}
|
|
672
|
-
protoOf($serializer).
|
|
673
|
-
var tmp0_desc = this.
|
|
674
|
-
var tmp1_output = encoder.
|
|
675
|
-
tmp1_output.
|
|
676
|
-
tmp1_output.
|
|
677
|
-
tmp1_output.
|
|
678
|
-
};
|
|
679
|
-
protoOf($serializer).
|
|
680
|
-
return this.
|
|
681
|
-
};
|
|
682
|
-
protoOf($serializer).
|
|
683
|
-
var tmp0_desc = this.
|
|
668
|
+
tmp0_serialDesc.l4s('jsonrpc', false);
|
|
669
|
+
tmp0_serialDesc.l4s('error', false);
|
|
670
|
+
this.a61_1 = tmp0_serialDesc;
|
|
671
|
+
}
|
|
672
|
+
protoOf($serializer).b61 = function (encoder, value) {
|
|
673
|
+
var tmp0_desc = this.a61_1;
|
|
674
|
+
var tmp1_output = encoder.u4k(tmp0_desc);
|
|
675
|
+
tmp1_output.j4m(tmp0_desc, 0, value.c61_1);
|
|
676
|
+
tmp1_output.n4m(tmp0_desc, 1, $serializer_getInstance_0(), value.d61_1);
|
|
677
|
+
tmp1_output.v4k(tmp0_desc);
|
|
678
|
+
};
|
|
679
|
+
protoOf($serializer).i4h = function (encoder, value) {
|
|
680
|
+
return this.b61(encoder, value instanceof ErrorResponseDto ? value : THROW_CCE());
|
|
681
|
+
};
|
|
682
|
+
protoOf($serializer).j4h = function (decoder) {
|
|
683
|
+
var tmp0_desc = this.a61_1;
|
|
684
684
|
var tmp1_flag = true;
|
|
685
685
|
var tmp2_index = 0;
|
|
686
686
|
var tmp3_bitMask0 = 0;
|
|
687
687
|
var tmp4_local0 = null;
|
|
688
688
|
var tmp5_local1 = null;
|
|
689
|
-
var tmp6_input = decoder.
|
|
690
|
-
if (tmp6_input.
|
|
691
|
-
tmp4_local0 = tmp6_input.
|
|
689
|
+
var tmp6_input = decoder.u4k(tmp0_desc);
|
|
690
|
+
if (tmp6_input.k4l()) {
|
|
691
|
+
tmp4_local0 = tmp6_input.e4l(tmp0_desc, 0);
|
|
692
692
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
693
|
-
tmp5_local1 = tmp6_input.
|
|
693
|
+
tmp5_local1 = tmp6_input.i4l(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
694
694
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
695
695
|
} else
|
|
696
696
|
while (tmp1_flag) {
|
|
697
|
-
tmp2_index = tmp6_input.
|
|
697
|
+
tmp2_index = tmp6_input.l4l(tmp0_desc);
|
|
698
698
|
switch (tmp2_index) {
|
|
699
699
|
case -1:
|
|
700
700
|
tmp1_flag = false;
|
|
701
701
|
break;
|
|
702
702
|
case 0:
|
|
703
|
-
tmp4_local0 = tmp6_input.
|
|
703
|
+
tmp4_local0 = tmp6_input.e4l(tmp0_desc, 0);
|
|
704
704
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
705
705
|
break;
|
|
706
706
|
case 1:
|
|
707
|
-
tmp5_local1 = tmp6_input.
|
|
707
|
+
tmp5_local1 = tmp6_input.i4l(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
708
708
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
709
709
|
break;
|
|
710
710
|
default:
|
|
711
711
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
tmp6_input.
|
|
714
|
+
tmp6_input.v4k(tmp0_desc);
|
|
715
715
|
return ErrorResponseDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
716
716
|
};
|
|
717
|
-
protoOf($serializer).
|
|
718
|
-
return this.
|
|
717
|
+
protoOf($serializer).h4h = function () {
|
|
718
|
+
return this.a61_1;
|
|
719
719
|
};
|
|
720
|
-
protoOf($serializer).
|
|
720
|
+
protoOf($serializer).a4t = function () {
|
|
721
721
|
// Inline function 'kotlin.arrayOf' call
|
|
722
722
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
723
723
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -731,25 +731,25 @@
|
|
|
731
731
|
}
|
|
732
732
|
function ErrorResponseDto_init_$Init$(seen0, jsonrpc, error, serializationConstructorMarker, $this) {
|
|
733
733
|
if (!(3 === (3 & seen0))) {
|
|
734
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
734
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().a61_1);
|
|
735
735
|
}
|
|
736
|
-
$this.
|
|
737
|
-
$this.
|
|
736
|
+
$this.c61_1 = jsonrpc;
|
|
737
|
+
$this.d61_1 = error;
|
|
738
738
|
return $this;
|
|
739
739
|
}
|
|
740
740
|
function ErrorResponseDto_init_$Create$(seen0, jsonrpc, error, serializationConstructorMarker) {
|
|
741
741
|
return ErrorResponseDto_init_$Init$(seen0, jsonrpc, error, serializationConstructorMarker, objectCreate(protoOf(ErrorResponseDto)));
|
|
742
742
|
}
|
|
743
743
|
function ErrorResponseDto(jsonrpc, error) {
|
|
744
|
-
this.
|
|
745
|
-
this.
|
|
744
|
+
this.c61_1 = jsonrpc;
|
|
745
|
+
this.d61_1 = error;
|
|
746
746
|
}
|
|
747
747
|
protoOf(ErrorResponseDto).toString = function () {
|
|
748
|
-
return 'ErrorResponseDto(jsonrpc=' + this.
|
|
748
|
+
return 'ErrorResponseDto(jsonrpc=' + this.c61_1 + ', error=' + toString_0(this.d61_1) + ')';
|
|
749
749
|
};
|
|
750
750
|
protoOf(ErrorResponseDto).hashCode = function () {
|
|
751
|
-
var result = getStringHashCode(this.
|
|
752
|
-
result = imul(result, 31) + (this.
|
|
751
|
+
var result = getStringHashCode(this.c61_1);
|
|
752
|
+
result = imul(result, 31) + (this.d61_1 == null ? 0 : this.d61_1.hashCode()) | 0;
|
|
753
753
|
return result;
|
|
754
754
|
};
|
|
755
755
|
protoOf(ErrorResponseDto).equals = function (other) {
|
|
@@ -758,68 +758,68 @@
|
|
|
758
758
|
if (!(other instanceof ErrorResponseDto))
|
|
759
759
|
return false;
|
|
760
760
|
var tmp0_other_with_cast = other instanceof ErrorResponseDto ? other : THROW_CCE();
|
|
761
|
-
if (!(this.
|
|
761
|
+
if (!(this.c61_1 === tmp0_other_with_cast.c61_1))
|
|
762
762
|
return false;
|
|
763
|
-
if (!equals(this.
|
|
763
|
+
if (!equals(this.d61_1, tmp0_other_with_cast.d61_1))
|
|
764
764
|
return false;
|
|
765
765
|
return true;
|
|
766
766
|
};
|
|
767
767
|
function $serializer_0() {
|
|
768
768
|
$serializer_instance_0 = this;
|
|
769
769
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.ErrorDto', this, 2);
|
|
770
|
-
tmp0_serialDesc.
|
|
771
|
-
tmp0_serialDesc.
|
|
772
|
-
this.
|
|
773
|
-
}
|
|
774
|
-
protoOf($serializer_0).
|
|
775
|
-
var tmp0_desc = this.
|
|
776
|
-
var tmp1_output = encoder.
|
|
777
|
-
tmp1_output.
|
|
778
|
-
tmp1_output.
|
|
779
|
-
tmp1_output.
|
|
780
|
-
};
|
|
781
|
-
protoOf($serializer_0).
|
|
782
|
-
return this.
|
|
783
|
-
};
|
|
784
|
-
protoOf($serializer_0).
|
|
785
|
-
var tmp0_desc = this.
|
|
770
|
+
tmp0_serialDesc.l4s('code', false);
|
|
771
|
+
tmp0_serialDesc.l4s('message', false);
|
|
772
|
+
this.e61_1 = tmp0_serialDesc;
|
|
773
|
+
}
|
|
774
|
+
protoOf($serializer_0).f61 = function (encoder, value) {
|
|
775
|
+
var tmp0_desc = this.e61_1;
|
|
776
|
+
var tmp1_output = encoder.u4k(tmp0_desc);
|
|
777
|
+
tmp1_output.n4m(tmp0_desc, 0, IntSerializer_getInstance(), value.g61_1);
|
|
778
|
+
tmp1_output.n4m(tmp0_desc, 1, StringSerializer_getInstance(), value.h61_1);
|
|
779
|
+
tmp1_output.v4k(tmp0_desc);
|
|
780
|
+
};
|
|
781
|
+
protoOf($serializer_0).i4h = function (encoder, value) {
|
|
782
|
+
return this.f61(encoder, value instanceof ErrorDto ? value : THROW_CCE());
|
|
783
|
+
};
|
|
784
|
+
protoOf($serializer_0).j4h = function (decoder) {
|
|
785
|
+
var tmp0_desc = this.e61_1;
|
|
786
786
|
var tmp1_flag = true;
|
|
787
787
|
var tmp2_index = 0;
|
|
788
788
|
var tmp3_bitMask0 = 0;
|
|
789
789
|
var tmp4_local0 = null;
|
|
790
790
|
var tmp5_local1 = null;
|
|
791
|
-
var tmp6_input = decoder.
|
|
792
|
-
if (tmp6_input.
|
|
793
|
-
tmp4_local0 = tmp6_input.
|
|
791
|
+
var tmp6_input = decoder.u4k(tmp0_desc);
|
|
792
|
+
if (tmp6_input.k4l()) {
|
|
793
|
+
tmp4_local0 = tmp6_input.i4l(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
794
794
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
795
|
-
tmp5_local1 = tmp6_input.
|
|
795
|
+
tmp5_local1 = tmp6_input.i4l(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
796
796
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
797
797
|
} else
|
|
798
798
|
while (tmp1_flag) {
|
|
799
|
-
tmp2_index = tmp6_input.
|
|
799
|
+
tmp2_index = tmp6_input.l4l(tmp0_desc);
|
|
800
800
|
switch (tmp2_index) {
|
|
801
801
|
case -1:
|
|
802
802
|
tmp1_flag = false;
|
|
803
803
|
break;
|
|
804
804
|
case 0:
|
|
805
|
-
tmp4_local0 = tmp6_input.
|
|
805
|
+
tmp4_local0 = tmp6_input.i4l(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
806
806
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
807
807
|
break;
|
|
808
808
|
case 1:
|
|
809
|
-
tmp5_local1 = tmp6_input.
|
|
809
|
+
tmp5_local1 = tmp6_input.i4l(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
810
810
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
811
811
|
break;
|
|
812
812
|
default:
|
|
813
813
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
|
-
tmp6_input.
|
|
816
|
+
tmp6_input.v4k(tmp0_desc);
|
|
817
817
|
return ErrorDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
818
818
|
};
|
|
819
|
-
protoOf($serializer_0).
|
|
820
|
-
return this.
|
|
819
|
+
protoOf($serializer_0).h4h = function () {
|
|
820
|
+
return this.e61_1;
|
|
821
821
|
};
|
|
822
|
-
protoOf($serializer_0).
|
|
822
|
+
protoOf($serializer_0).a4t = function () {
|
|
823
823
|
// Inline function 'kotlin.arrayOf' call
|
|
824
824
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
825
825
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -833,10 +833,10 @@
|
|
|
833
833
|
}
|
|
834
834
|
function ErrorDto_init_$Init$(seen0, code, message, serializationConstructorMarker, $this) {
|
|
835
835
|
if (!(3 === (3 & seen0))) {
|
|
836
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
836
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().e61_1);
|
|
837
837
|
}
|
|
838
|
-
$this.
|
|
839
|
-
$this.
|
|
838
|
+
$this.g61_1 = code;
|
|
839
|
+
$this.h61_1 = message;
|
|
840
840
|
return $this;
|
|
841
841
|
}
|
|
842
842
|
function ErrorDto_init_$Create$(seen0, code, message, serializationConstructorMarker) {
|
|
@@ -845,11 +845,11 @@
|
|
|
845
845
|
function ErrorDto() {
|
|
846
846
|
}
|
|
847
847
|
protoOf(ErrorDto).toString = function () {
|
|
848
|
-
return 'ErrorDto(code=' + this.
|
|
848
|
+
return 'ErrorDto(code=' + this.g61_1 + ', message=' + this.h61_1 + ')';
|
|
849
849
|
};
|
|
850
850
|
protoOf(ErrorDto).hashCode = function () {
|
|
851
|
-
var result = this.
|
|
852
|
-
result = imul(result, 31) + (this.
|
|
851
|
+
var result = this.g61_1 == null ? 0 : this.g61_1;
|
|
852
|
+
result = imul(result, 31) + (this.h61_1 == null ? 0 : getStringHashCode(this.h61_1)) | 0;
|
|
853
853
|
return result;
|
|
854
854
|
};
|
|
855
855
|
protoOf(ErrorDto).equals = function (other) {
|
|
@@ -858,15 +858,15 @@
|
|
|
858
858
|
if (!(other instanceof ErrorDto))
|
|
859
859
|
return false;
|
|
860
860
|
var tmp0_other_with_cast = other instanceof ErrorDto ? other : THROW_CCE();
|
|
861
|
-
if (!(this.
|
|
861
|
+
if (!(this.g61_1 == tmp0_other_with_cast.g61_1))
|
|
862
862
|
return false;
|
|
863
|
-
if (!(this.
|
|
863
|
+
if (!(this.h61_1 == tmp0_other_with_cast.h61_1))
|
|
864
864
|
return false;
|
|
865
865
|
return true;
|
|
866
866
|
};
|
|
867
867
|
function $serializer_init_$Init$(typeSerial0, $this) {
|
|
868
868
|
$serializer_1.call($this);
|
|
869
|
-
$this.
|
|
869
|
+
$this.j61_1 = typeSerial0;
|
|
870
870
|
return $this;
|
|
871
871
|
}
|
|
872
872
|
function $serializer_init_$Create$(typeSerial0) {
|
|
@@ -875,17 +875,17 @@
|
|
|
875
875
|
function Companion_2() {
|
|
876
876
|
Companion_instance_4 = this;
|
|
877
877
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomRequestDto', null, 4);
|
|
878
|
-
tmp0_serialDesc.
|
|
879
|
-
tmp0_serialDesc.
|
|
880
|
-
tmp0_serialDesc.
|
|
881
|
-
tmp0_serialDesc.
|
|
882
|
-
this.
|
|
878
|
+
tmp0_serialDesc.l4s('jsonrpc', false);
|
|
879
|
+
tmp0_serialDesc.l4s('method', false);
|
|
880
|
+
tmp0_serialDesc.l4s('params', false);
|
|
881
|
+
tmp0_serialDesc.l4s('id', false);
|
|
882
|
+
this.k61_1 = tmp0_serialDesc;
|
|
883
883
|
}
|
|
884
|
-
protoOf(Companion_2).
|
|
884
|
+
protoOf(Companion_2).l61 = function (typeSerial0) {
|
|
885
885
|
return $serializer_init_$Create$(typeSerial0);
|
|
886
886
|
};
|
|
887
|
-
protoOf(Companion_2).
|
|
888
|
-
return this.
|
|
887
|
+
protoOf(Companion_2).l4t = function (typeParamsSerializers) {
|
|
888
|
+
return this.l61(typeParamsSerializers[0]);
|
|
889
889
|
};
|
|
890
890
|
var Companion_instance_4;
|
|
891
891
|
function Companion_getInstance_5() {
|
|
@@ -895,26 +895,26 @@
|
|
|
895
895
|
}
|
|
896
896
|
function $serializer_1() {
|
|
897
897
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomRequestDto', this, 4);
|
|
898
|
-
tmp0_serialDesc.
|
|
899
|
-
tmp0_serialDesc.
|
|
900
|
-
tmp0_serialDesc.
|
|
901
|
-
tmp0_serialDesc.
|
|
902
|
-
this.
|
|
903
|
-
}
|
|
904
|
-
protoOf($serializer_1).
|
|
905
|
-
var tmp0_desc = this.
|
|
906
|
-
var tmp1_output = encoder.
|
|
907
|
-
tmp1_output.
|
|
908
|
-
tmp1_output.
|
|
909
|
-
tmp1_output.
|
|
910
|
-
tmp1_output.
|
|
911
|
-
tmp1_output.
|
|
912
|
-
};
|
|
913
|
-
protoOf($serializer_1).
|
|
914
|
-
return this.
|
|
915
|
-
};
|
|
916
|
-
protoOf($serializer_1).
|
|
917
|
-
var tmp0_desc = this.
|
|
898
|
+
tmp0_serialDesc.l4s('jsonrpc', false);
|
|
899
|
+
tmp0_serialDesc.l4s('method', false);
|
|
900
|
+
tmp0_serialDesc.l4s('params', false);
|
|
901
|
+
tmp0_serialDesc.l4s('id', false);
|
|
902
|
+
this.i61_1 = tmp0_serialDesc;
|
|
903
|
+
}
|
|
904
|
+
protoOf($serializer_1).m61 = function (encoder, value) {
|
|
905
|
+
var tmp0_desc = this.i61_1;
|
|
906
|
+
var tmp1_output = encoder.u4k(tmp0_desc);
|
|
907
|
+
tmp1_output.j4m(tmp0_desc, 0, value.n61_1);
|
|
908
|
+
tmp1_output.j4m(tmp0_desc, 1, value.o61_1);
|
|
909
|
+
tmp1_output.l4m(tmp0_desc, 2, this.j61_1, value.p61_1);
|
|
910
|
+
tmp1_output.j4m(tmp0_desc, 3, value.q61_1);
|
|
911
|
+
tmp1_output.v4k(tmp0_desc);
|
|
912
|
+
};
|
|
913
|
+
protoOf($serializer_1).i4h = function (encoder, value) {
|
|
914
|
+
return this.m61(encoder, value instanceof RandomRequestDto ? value : THROW_CCE());
|
|
915
|
+
};
|
|
916
|
+
protoOf($serializer_1).j4h = function (decoder) {
|
|
917
|
+
var tmp0_desc = this.i61_1;
|
|
918
918
|
var tmp1_flag = true;
|
|
919
919
|
var tmp2_index = 0;
|
|
920
920
|
var tmp3_bitMask0 = 0;
|
|
@@ -922,69 +922,69 @@
|
|
|
922
922
|
var tmp5_local1 = null;
|
|
923
923
|
var tmp6_local2 = null;
|
|
924
924
|
var tmp7_local3 = null;
|
|
925
|
-
var tmp8_input = decoder.
|
|
926
|
-
if (tmp8_input.
|
|
927
|
-
tmp4_local0 = tmp8_input.
|
|
925
|
+
var tmp8_input = decoder.u4k(tmp0_desc);
|
|
926
|
+
if (tmp8_input.k4l()) {
|
|
927
|
+
tmp4_local0 = tmp8_input.e4l(tmp0_desc, 0);
|
|
928
928
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
929
|
-
tmp5_local1 = tmp8_input.
|
|
929
|
+
tmp5_local1 = tmp8_input.e4l(tmp0_desc, 1);
|
|
930
930
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
931
|
-
tmp6_local2 = tmp8_input.
|
|
931
|
+
tmp6_local2 = tmp8_input.g4l(tmp0_desc, 2, this.j61_1, tmp6_local2);
|
|
932
932
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
933
|
-
tmp7_local3 = tmp8_input.
|
|
933
|
+
tmp7_local3 = tmp8_input.e4l(tmp0_desc, 3);
|
|
934
934
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
935
935
|
} else
|
|
936
936
|
while (tmp1_flag) {
|
|
937
|
-
tmp2_index = tmp8_input.
|
|
937
|
+
tmp2_index = tmp8_input.l4l(tmp0_desc);
|
|
938
938
|
switch (tmp2_index) {
|
|
939
939
|
case -1:
|
|
940
940
|
tmp1_flag = false;
|
|
941
941
|
break;
|
|
942
942
|
case 0:
|
|
943
|
-
tmp4_local0 = tmp8_input.
|
|
943
|
+
tmp4_local0 = tmp8_input.e4l(tmp0_desc, 0);
|
|
944
944
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
945
945
|
break;
|
|
946
946
|
case 1:
|
|
947
|
-
tmp5_local1 = tmp8_input.
|
|
947
|
+
tmp5_local1 = tmp8_input.e4l(tmp0_desc, 1);
|
|
948
948
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
949
949
|
break;
|
|
950
950
|
case 2:
|
|
951
|
-
tmp6_local2 = tmp8_input.
|
|
951
|
+
tmp6_local2 = tmp8_input.g4l(tmp0_desc, 2, this.j61_1, tmp6_local2);
|
|
952
952
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
953
953
|
break;
|
|
954
954
|
case 3:
|
|
955
|
-
tmp7_local3 = tmp8_input.
|
|
955
|
+
tmp7_local3 = tmp8_input.e4l(tmp0_desc, 3);
|
|
956
956
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
957
957
|
break;
|
|
958
958
|
default:
|
|
959
959
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
960
960
|
}
|
|
961
961
|
}
|
|
962
|
-
tmp8_input.
|
|
962
|
+
tmp8_input.v4k(tmp0_desc);
|
|
963
963
|
return RandomRequestDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
964
964
|
};
|
|
965
|
-
protoOf($serializer_1).
|
|
966
|
-
return this.
|
|
965
|
+
protoOf($serializer_1).h4h = function () {
|
|
966
|
+
return this.i61_1;
|
|
967
967
|
};
|
|
968
|
-
protoOf($serializer_1).
|
|
968
|
+
protoOf($serializer_1).a4t = function () {
|
|
969
969
|
// Inline function 'kotlin.arrayOf' call
|
|
970
970
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
971
971
|
// Inline function 'kotlin.js.asDynamic' call
|
|
972
|
-
return [StringSerializer_getInstance(), StringSerializer_getInstance(), this.
|
|
972
|
+
return [StringSerializer_getInstance(), StringSerializer_getInstance(), this.j61_1, StringSerializer_getInstance()];
|
|
973
973
|
};
|
|
974
|
-
protoOf($serializer_1).
|
|
974
|
+
protoOf($serializer_1).b4t = function () {
|
|
975
975
|
// Inline function 'kotlin.arrayOf' call
|
|
976
976
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
977
977
|
// Inline function 'kotlin.js.asDynamic' call
|
|
978
|
-
return [this.
|
|
978
|
+
return [this.j61_1];
|
|
979
979
|
};
|
|
980
980
|
function RandomRequestDto_init_$Init$(seen0, jsonrpc, method, params, id, serializationConstructorMarker, $this) {
|
|
981
981
|
if (!(15 === (15 & seen0))) {
|
|
982
|
-
throwMissingFieldException(seen0, 15, Companion_getInstance_5().
|
|
982
|
+
throwMissingFieldException(seen0, 15, Companion_getInstance_5().k61_1);
|
|
983
983
|
}
|
|
984
|
-
$this.
|
|
985
|
-
$this.
|
|
986
|
-
$this.
|
|
987
|
-
$this.
|
|
984
|
+
$this.n61_1 = jsonrpc;
|
|
985
|
+
$this.o61_1 = method;
|
|
986
|
+
$this.p61_1 = params;
|
|
987
|
+
$this.q61_1 = id;
|
|
988
988
|
return $this;
|
|
989
989
|
}
|
|
990
990
|
function RandomRequestDto_init_$Create$(seen0, jsonrpc, method, params, id, serializationConstructorMarker) {
|
|
@@ -992,19 +992,19 @@
|
|
|
992
992
|
}
|
|
993
993
|
function RandomRequestDto(jsonrpc, method, params, id) {
|
|
994
994
|
Companion_getInstance_5();
|
|
995
|
-
this.
|
|
996
|
-
this.
|
|
997
|
-
this.
|
|
998
|
-
this.
|
|
995
|
+
this.n61_1 = jsonrpc;
|
|
996
|
+
this.o61_1 = method;
|
|
997
|
+
this.p61_1 = params;
|
|
998
|
+
this.q61_1 = id;
|
|
999
999
|
}
|
|
1000
1000
|
protoOf(RandomRequestDto).toString = function () {
|
|
1001
|
-
return 'RandomRequestDto(jsonrpc=' + this.
|
|
1001
|
+
return 'RandomRequestDto(jsonrpc=' + this.n61_1 + ', method=' + this.o61_1 + ', params=' + toString(this.p61_1) + ', id=' + this.q61_1 + ')';
|
|
1002
1002
|
};
|
|
1003
1003
|
protoOf(RandomRequestDto).hashCode = function () {
|
|
1004
|
-
var result = getStringHashCode(this.
|
|
1005
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1006
|
-
result = imul(result, 31) + hashCode(this.
|
|
1007
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1004
|
+
var result = getStringHashCode(this.n61_1);
|
|
1005
|
+
result = imul(result, 31) + getStringHashCode(this.o61_1) | 0;
|
|
1006
|
+
result = imul(result, 31) + hashCode(this.p61_1) | 0;
|
|
1007
|
+
result = imul(result, 31) + getStringHashCode(this.q61_1) | 0;
|
|
1008
1008
|
return result;
|
|
1009
1009
|
};
|
|
1010
1010
|
protoOf(RandomRequestDto).equals = function (other) {
|
|
@@ -1013,13 +1013,13 @@
|
|
|
1013
1013
|
if (!(other instanceof RandomRequestDto))
|
|
1014
1014
|
return false;
|
|
1015
1015
|
var tmp0_other_with_cast = other instanceof RandomRequestDto ? other : THROW_CCE();
|
|
1016
|
-
if (!(this.
|
|
1016
|
+
if (!(this.n61_1 === tmp0_other_with_cast.n61_1))
|
|
1017
1017
|
return false;
|
|
1018
|
-
if (!(this.
|
|
1018
|
+
if (!(this.o61_1 === tmp0_other_with_cast.o61_1))
|
|
1019
1019
|
return false;
|
|
1020
|
-
if (!equals(this.
|
|
1020
|
+
if (!equals(this.p61_1, tmp0_other_with_cast.p61_1))
|
|
1021
1021
|
return false;
|
|
1022
|
-
if (!(this.
|
|
1022
|
+
if (!(this.q61_1 === tmp0_other_with_cast.q61_1))
|
|
1023
1023
|
return false;
|
|
1024
1024
|
return true;
|
|
1025
1025
|
};
|
|
@@ -1033,7 +1033,7 @@
|
|
|
1033
1033
|
// Inline function 'kotlin.arrayOf' call
|
|
1034
1034
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1035
1035
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1036
|
-
tmp.
|
|
1036
|
+
tmp.r61_1 = [null, null, lazy(tmp_0, RandomParamsDto$RandomIntegerSequencesParamsDto$Companion$$childSerializers$_anonymous__1scx7a), null, null, null, null, null];
|
|
1037
1037
|
}
|
|
1038
1038
|
var Companion_instance_5;
|
|
1039
1039
|
function Companion_getInstance_6() {
|
|
@@ -1044,35 +1044,35 @@
|
|
|
1044
1044
|
function $serializer_2() {
|
|
1045
1045
|
$serializer_instance_1 = this;
|
|
1046
1046
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomParamsDto.RandomIntegerSequencesParamsDto', this, 8);
|
|
1047
|
-
tmp0_serialDesc.
|
|
1048
|
-
tmp0_serialDesc.
|
|
1049
|
-
tmp0_serialDesc.
|
|
1050
|
-
tmp0_serialDesc.
|
|
1051
|
-
tmp0_serialDesc.
|
|
1052
|
-
tmp0_serialDesc.
|
|
1053
|
-
tmp0_serialDesc.
|
|
1054
|
-
tmp0_serialDesc.
|
|
1055
|
-
this.
|
|
1056
|
-
}
|
|
1057
|
-
protoOf($serializer_2).
|
|
1058
|
-
var tmp0_desc = this.
|
|
1059
|
-
var tmp1_output = encoder.
|
|
1060
|
-
var tmp2_cached = Companion_getInstance_6().
|
|
1061
|
-
tmp1_output.
|
|
1062
|
-
tmp1_output.
|
|
1063
|
-
tmp1_output.
|
|
1064
|
-
tmp1_output.
|
|
1065
|
-
tmp1_output.
|
|
1066
|
-
tmp1_output.
|
|
1067
|
-
tmp1_output.
|
|
1068
|
-
tmp1_output.
|
|
1069
|
-
tmp1_output.
|
|
1070
|
-
};
|
|
1071
|
-
protoOf($serializer_2).
|
|
1072
|
-
return this.
|
|
1073
|
-
};
|
|
1074
|
-
protoOf($serializer_2).
|
|
1075
|
-
var tmp0_desc = this.
|
|
1047
|
+
tmp0_serialDesc.l4s('apiKey', false);
|
|
1048
|
+
tmp0_serialDesc.l4s('n', false);
|
|
1049
|
+
tmp0_serialDesc.l4s('length', false);
|
|
1050
|
+
tmp0_serialDesc.l4s('min', false);
|
|
1051
|
+
tmp0_serialDesc.l4s('max', false);
|
|
1052
|
+
tmp0_serialDesc.l4s('replacement', false);
|
|
1053
|
+
tmp0_serialDesc.l4s('ticketId', false);
|
|
1054
|
+
tmp0_serialDesc.l4s('userData', false);
|
|
1055
|
+
this.s61_1 = tmp0_serialDesc;
|
|
1056
|
+
}
|
|
1057
|
+
protoOf($serializer_2).t61 = function (encoder, value) {
|
|
1058
|
+
var tmp0_desc = this.s61_1;
|
|
1059
|
+
var tmp1_output = encoder.u4k(tmp0_desc);
|
|
1060
|
+
var tmp2_cached = Companion_getInstance_6().r61_1;
|
|
1061
|
+
tmp1_output.j4m(tmp0_desc, 0, value.u61_1);
|
|
1062
|
+
tmp1_output.e4m(tmp0_desc, 1, value.v61_1);
|
|
1063
|
+
tmp1_output.l4m(tmp0_desc, 2, tmp2_cached[2].u(), value.w61_1);
|
|
1064
|
+
tmp1_output.e4m(tmp0_desc, 3, value.x61_1);
|
|
1065
|
+
tmp1_output.e4m(tmp0_desc, 4, value.y61_1);
|
|
1066
|
+
tmp1_output.b4m(tmp0_desc, 5, value.z61_1);
|
|
1067
|
+
tmp1_output.n4m(tmp0_desc, 6, StringSerializer_getInstance(), value.a62_1);
|
|
1068
|
+
tmp1_output.n4m(tmp0_desc, 7, $serializer_getInstance_2(), value.b62_1);
|
|
1069
|
+
tmp1_output.v4k(tmp0_desc);
|
|
1070
|
+
};
|
|
1071
|
+
protoOf($serializer_2).i4h = function (encoder, value) {
|
|
1072
|
+
return this.t61(encoder, value instanceof RandomIntegerSequencesParamsDto ? value : THROW_CCE());
|
|
1073
|
+
};
|
|
1074
|
+
protoOf($serializer_2).j4h = function (decoder) {
|
|
1075
|
+
var tmp0_desc = this.s61_1;
|
|
1076
1076
|
var tmp1_flag = true;
|
|
1077
1077
|
var tmp2_index = 0;
|
|
1078
1078
|
var tmp3_bitMask0 = 0;
|
|
@@ -1084,76 +1084,76 @@
|
|
|
1084
1084
|
var tmp9_local5 = false;
|
|
1085
1085
|
var tmp10_local6 = null;
|
|
1086
1086
|
var tmp11_local7 = null;
|
|
1087
|
-
var tmp12_input = decoder.
|
|
1088
|
-
var tmp13_cached = Companion_getInstance_6().
|
|
1089
|
-
if (tmp12_input.
|
|
1090
|
-
tmp4_local0 = tmp12_input.
|
|
1087
|
+
var tmp12_input = decoder.u4k(tmp0_desc);
|
|
1088
|
+
var tmp13_cached = Companion_getInstance_6().r61_1;
|
|
1089
|
+
if (tmp12_input.k4l()) {
|
|
1090
|
+
tmp4_local0 = tmp12_input.e4l(tmp0_desc, 0);
|
|
1091
1091
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1092
|
-
tmp5_local1 = tmp12_input.
|
|
1092
|
+
tmp5_local1 = tmp12_input.z4k(tmp0_desc, 1);
|
|
1093
1093
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1094
|
-
tmp6_local2 = tmp12_input.
|
|
1094
|
+
tmp6_local2 = tmp12_input.g4l(tmp0_desc, 2, tmp13_cached[2].u(), tmp6_local2);
|
|
1095
1095
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1096
|
-
tmp7_local3 = tmp12_input.
|
|
1096
|
+
tmp7_local3 = tmp12_input.z4k(tmp0_desc, 3);
|
|
1097
1097
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1098
|
-
tmp8_local4 = tmp12_input.
|
|
1098
|
+
tmp8_local4 = tmp12_input.z4k(tmp0_desc, 4);
|
|
1099
1099
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1100
|
-
tmp9_local5 = tmp12_input.
|
|
1100
|
+
tmp9_local5 = tmp12_input.w4k(tmp0_desc, 5);
|
|
1101
1101
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1102
|
-
tmp10_local6 = tmp12_input.
|
|
1102
|
+
tmp10_local6 = tmp12_input.i4l(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1103
1103
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1104
|
-
tmp11_local7 = tmp12_input.
|
|
1104
|
+
tmp11_local7 = tmp12_input.i4l(tmp0_desc, 7, $serializer_getInstance_2(), tmp11_local7);
|
|
1105
1105
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1106
1106
|
} else
|
|
1107
1107
|
while (tmp1_flag) {
|
|
1108
|
-
tmp2_index = tmp12_input.
|
|
1108
|
+
tmp2_index = tmp12_input.l4l(tmp0_desc);
|
|
1109
1109
|
switch (tmp2_index) {
|
|
1110
1110
|
case -1:
|
|
1111
1111
|
tmp1_flag = false;
|
|
1112
1112
|
break;
|
|
1113
1113
|
case 0:
|
|
1114
|
-
tmp4_local0 = tmp12_input.
|
|
1114
|
+
tmp4_local0 = tmp12_input.e4l(tmp0_desc, 0);
|
|
1115
1115
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1116
1116
|
break;
|
|
1117
1117
|
case 1:
|
|
1118
|
-
tmp5_local1 = tmp12_input.
|
|
1118
|
+
tmp5_local1 = tmp12_input.z4k(tmp0_desc, 1);
|
|
1119
1119
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1120
1120
|
break;
|
|
1121
1121
|
case 2:
|
|
1122
|
-
tmp6_local2 = tmp12_input.
|
|
1122
|
+
tmp6_local2 = tmp12_input.g4l(tmp0_desc, 2, tmp13_cached[2].u(), tmp6_local2);
|
|
1123
1123
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1124
1124
|
break;
|
|
1125
1125
|
case 3:
|
|
1126
|
-
tmp7_local3 = tmp12_input.
|
|
1126
|
+
tmp7_local3 = tmp12_input.z4k(tmp0_desc, 3);
|
|
1127
1127
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1128
1128
|
break;
|
|
1129
1129
|
case 4:
|
|
1130
|
-
tmp8_local4 = tmp12_input.
|
|
1130
|
+
tmp8_local4 = tmp12_input.z4k(tmp0_desc, 4);
|
|
1131
1131
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1132
1132
|
break;
|
|
1133
1133
|
case 5:
|
|
1134
|
-
tmp9_local5 = tmp12_input.
|
|
1134
|
+
tmp9_local5 = tmp12_input.w4k(tmp0_desc, 5);
|
|
1135
1135
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1136
1136
|
break;
|
|
1137
1137
|
case 6:
|
|
1138
|
-
tmp10_local6 = tmp12_input.
|
|
1138
|
+
tmp10_local6 = tmp12_input.i4l(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1139
1139
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1140
1140
|
break;
|
|
1141
1141
|
case 7:
|
|
1142
|
-
tmp11_local7 = tmp12_input.
|
|
1142
|
+
tmp11_local7 = tmp12_input.i4l(tmp0_desc, 7, $serializer_getInstance_2(), tmp11_local7);
|
|
1143
1143
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1144
1144
|
break;
|
|
1145
1145
|
default:
|
|
1146
1146
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
|
-
tmp12_input.
|
|
1149
|
+
tmp12_input.v4k(tmp0_desc);
|
|
1150
1150
|
return RandomIntegerSequencesParamsDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
1151
1151
|
};
|
|
1152
|
-
protoOf($serializer_2).
|
|
1153
|
-
return this.
|
|
1152
|
+
protoOf($serializer_2).h4h = function () {
|
|
1153
|
+
return this.s61_1;
|
|
1154
1154
|
};
|
|
1155
|
-
protoOf($serializer_2).
|
|
1156
|
-
var tmp0_cached = Companion_getInstance_6().
|
|
1155
|
+
protoOf($serializer_2).a4t = function () {
|
|
1156
|
+
var tmp0_cached = Companion_getInstance_6().r61_1;
|
|
1157
1157
|
// Inline function 'kotlin.arrayOf' call
|
|
1158
1158
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1159
1159
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1167,16 +1167,16 @@
|
|
|
1167
1167
|
}
|
|
1168
1168
|
function RandomIntegerSequencesParamsDto_init_$Init$(seen0, apiKey, n, length, min, max, replacement, ticketId, userData, serializationConstructorMarker, $this) {
|
|
1169
1169
|
if (!(255 === (255 & seen0))) {
|
|
1170
|
-
throwMissingFieldException(seen0, 255, $serializer_getInstance_1().
|
|
1170
|
+
throwMissingFieldException(seen0, 255, $serializer_getInstance_1().s61_1);
|
|
1171
1171
|
}
|
|
1172
|
-
$this.
|
|
1173
|
-
$this.
|
|
1174
|
-
$this.
|
|
1175
|
-
$this.
|
|
1176
|
-
$this.
|
|
1177
|
-
$this.
|
|
1178
|
-
$this.
|
|
1179
|
-
$this.
|
|
1172
|
+
$this.u61_1 = apiKey;
|
|
1173
|
+
$this.v61_1 = n;
|
|
1174
|
+
$this.w61_1 = length;
|
|
1175
|
+
$this.x61_1 = min;
|
|
1176
|
+
$this.y61_1 = max;
|
|
1177
|
+
$this.z61_1 = replacement;
|
|
1178
|
+
$this.a62_1 = ticketId;
|
|
1179
|
+
$this.b62_1 = userData;
|
|
1180
1180
|
return $this;
|
|
1181
1181
|
}
|
|
1182
1182
|
function RandomIntegerSequencesParamsDto_init_$Create$(seen0, apiKey, n, length, min, max, replacement, ticketId, userData, serializationConstructorMarker) {
|
|
@@ -1184,27 +1184,27 @@
|
|
|
1184
1184
|
}
|
|
1185
1185
|
function RandomIntegerSequencesParamsDto(apiKey, n, length, min, max, replacement, ticketId, userData) {
|
|
1186
1186
|
Companion_getInstance_6();
|
|
1187
|
-
this.
|
|
1188
|
-
this.
|
|
1189
|
-
this.
|
|
1190
|
-
this.
|
|
1191
|
-
this.
|
|
1192
|
-
this.
|
|
1193
|
-
this.
|
|
1194
|
-
this.
|
|
1187
|
+
this.u61_1 = apiKey;
|
|
1188
|
+
this.v61_1 = n;
|
|
1189
|
+
this.w61_1 = length;
|
|
1190
|
+
this.x61_1 = min;
|
|
1191
|
+
this.y61_1 = max;
|
|
1192
|
+
this.z61_1 = replacement;
|
|
1193
|
+
this.a62_1 = ticketId;
|
|
1194
|
+
this.b62_1 = userData;
|
|
1195
1195
|
}
|
|
1196
1196
|
protoOf(RandomIntegerSequencesParamsDto).toString = function () {
|
|
1197
|
-
return 'RandomIntegerSequencesParamsDto(apiKey=' + this.
|
|
1197
|
+
return 'RandomIntegerSequencesParamsDto(apiKey=' + this.u61_1 + ', n=' + this.v61_1 + ', length=' + toString(this.w61_1) + ', min=' + this.x61_1 + ', max=' + this.y61_1 + ', replacement=' + this.z61_1 + ', ticketId=' + this.a62_1 + ', userData=' + toString_0(this.b62_1) + ')';
|
|
1198
1198
|
};
|
|
1199
1199
|
protoOf(RandomIntegerSequencesParamsDto).hashCode = function () {
|
|
1200
|
-
var result = getStringHashCode(this.
|
|
1201
|
-
result = imul(result, 31) + this.
|
|
1202
|
-
result = imul(result, 31) + hashCode(this.
|
|
1203
|
-
result = imul(result, 31) + this.
|
|
1204
|
-
result = imul(result, 31) + this.
|
|
1205
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1206
|
-
result = imul(result, 31) + (this.
|
|
1207
|
-
result = imul(result, 31) + (this.
|
|
1200
|
+
var result = getStringHashCode(this.u61_1);
|
|
1201
|
+
result = imul(result, 31) + this.v61_1 | 0;
|
|
1202
|
+
result = imul(result, 31) + hashCode(this.w61_1) | 0;
|
|
1203
|
+
result = imul(result, 31) + this.x61_1 | 0;
|
|
1204
|
+
result = imul(result, 31) + this.y61_1 | 0;
|
|
1205
|
+
result = imul(result, 31) + getBooleanHashCode(this.z61_1) | 0;
|
|
1206
|
+
result = imul(result, 31) + (this.a62_1 == null ? 0 : getStringHashCode(this.a62_1)) | 0;
|
|
1207
|
+
result = imul(result, 31) + (this.b62_1 == null ? 0 : this.b62_1.hashCode()) | 0;
|
|
1208
1208
|
return result;
|
|
1209
1209
|
};
|
|
1210
1210
|
protoOf(RandomIntegerSequencesParamsDto).equals = function (other) {
|
|
@@ -1213,21 +1213,21 @@
|
|
|
1213
1213
|
if (!(other instanceof RandomIntegerSequencesParamsDto))
|
|
1214
1214
|
return false;
|
|
1215
1215
|
var tmp0_other_with_cast = other instanceof RandomIntegerSequencesParamsDto ? other : THROW_CCE();
|
|
1216
|
-
if (!(this.
|
|
1216
|
+
if (!(this.u61_1 === tmp0_other_with_cast.u61_1))
|
|
1217
1217
|
return false;
|
|
1218
|
-
if (!(this.
|
|
1218
|
+
if (!(this.v61_1 === tmp0_other_with_cast.v61_1))
|
|
1219
1219
|
return false;
|
|
1220
|
-
if (!equals(this.
|
|
1220
|
+
if (!equals(this.w61_1, tmp0_other_with_cast.w61_1))
|
|
1221
1221
|
return false;
|
|
1222
|
-
if (!(this.
|
|
1222
|
+
if (!(this.x61_1 === tmp0_other_with_cast.x61_1))
|
|
1223
1223
|
return false;
|
|
1224
|
-
if (!(this.
|
|
1224
|
+
if (!(this.y61_1 === tmp0_other_with_cast.y61_1))
|
|
1225
1225
|
return false;
|
|
1226
|
-
if (!(this.
|
|
1226
|
+
if (!(this.z61_1 === tmp0_other_with_cast.z61_1))
|
|
1227
1227
|
return false;
|
|
1228
|
-
if (!(this.
|
|
1228
|
+
if (!(this.a62_1 == tmp0_other_with_cast.a62_1))
|
|
1229
1229
|
return false;
|
|
1230
|
-
if (!equals(this.
|
|
1230
|
+
if (!equals(this.b62_1, tmp0_other_with_cast.b62_1))
|
|
1231
1231
|
return false;
|
|
1232
1232
|
return true;
|
|
1233
1233
|
};
|
|
@@ -1240,59 +1240,59 @@
|
|
|
1240
1240
|
function $serializer_3() {
|
|
1241
1241
|
$serializer_instance_2 = this;
|
|
1242
1242
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.CardDecksUserDataDto', this, 2);
|
|
1243
|
-
tmp0_serialDesc.
|
|
1244
|
-
tmp0_serialDesc.
|
|
1245
|
-
this.
|
|
1246
|
-
}
|
|
1247
|
-
protoOf($serializer_3).
|
|
1248
|
-
var tmp0_desc = this.
|
|
1249
|
-
var tmp1_output = encoder.
|
|
1250
|
-
tmp1_output.
|
|
1251
|
-
tmp1_output.
|
|
1252
|
-
tmp1_output.
|
|
1253
|
-
};
|
|
1254
|
-
protoOf($serializer_3).
|
|
1255
|
-
return this.
|
|
1256
|
-
};
|
|
1257
|
-
protoOf($serializer_3).
|
|
1258
|
-
var tmp0_desc = this.
|
|
1243
|
+
tmp0_serialDesc.l4s('id', false);
|
|
1244
|
+
tmp0_serialDesc.l4s('count', false);
|
|
1245
|
+
this.c62_1 = tmp0_serialDesc;
|
|
1246
|
+
}
|
|
1247
|
+
protoOf($serializer_3).d62 = function (encoder, value) {
|
|
1248
|
+
var tmp0_desc = this.c62_1;
|
|
1249
|
+
var tmp1_output = encoder.u4k(tmp0_desc);
|
|
1250
|
+
tmp1_output.j4m(tmp0_desc, 0, value.e62_1);
|
|
1251
|
+
tmp1_output.e4m(tmp0_desc, 1, value.f62_1);
|
|
1252
|
+
tmp1_output.v4k(tmp0_desc);
|
|
1253
|
+
};
|
|
1254
|
+
protoOf($serializer_3).i4h = function (encoder, value) {
|
|
1255
|
+
return this.d62(encoder, value instanceof CardDecksUserDataDto ? value : THROW_CCE());
|
|
1256
|
+
};
|
|
1257
|
+
protoOf($serializer_3).j4h = function (decoder) {
|
|
1258
|
+
var tmp0_desc = this.c62_1;
|
|
1259
1259
|
var tmp1_flag = true;
|
|
1260
1260
|
var tmp2_index = 0;
|
|
1261
1261
|
var tmp3_bitMask0 = 0;
|
|
1262
1262
|
var tmp4_local0 = null;
|
|
1263
1263
|
var tmp5_local1 = 0;
|
|
1264
|
-
var tmp6_input = decoder.
|
|
1265
|
-
if (tmp6_input.
|
|
1266
|
-
tmp4_local0 = tmp6_input.
|
|
1264
|
+
var tmp6_input = decoder.u4k(tmp0_desc);
|
|
1265
|
+
if (tmp6_input.k4l()) {
|
|
1266
|
+
tmp4_local0 = tmp6_input.e4l(tmp0_desc, 0);
|
|
1267
1267
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1268
|
-
tmp5_local1 = tmp6_input.
|
|
1268
|
+
tmp5_local1 = tmp6_input.z4k(tmp0_desc, 1);
|
|
1269
1269
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1270
1270
|
} else
|
|
1271
1271
|
while (tmp1_flag) {
|
|
1272
|
-
tmp2_index = tmp6_input.
|
|
1272
|
+
tmp2_index = tmp6_input.l4l(tmp0_desc);
|
|
1273
1273
|
switch (tmp2_index) {
|
|
1274
1274
|
case -1:
|
|
1275
1275
|
tmp1_flag = false;
|
|
1276
1276
|
break;
|
|
1277
1277
|
case 0:
|
|
1278
|
-
tmp4_local0 = tmp6_input.
|
|
1278
|
+
tmp4_local0 = tmp6_input.e4l(tmp0_desc, 0);
|
|
1279
1279
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1280
1280
|
break;
|
|
1281
1281
|
case 1:
|
|
1282
|
-
tmp5_local1 = tmp6_input.
|
|
1282
|
+
tmp5_local1 = tmp6_input.z4k(tmp0_desc, 1);
|
|
1283
1283
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1284
1284
|
break;
|
|
1285
1285
|
default:
|
|
1286
1286
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
|
-
tmp6_input.
|
|
1289
|
+
tmp6_input.v4k(tmp0_desc);
|
|
1290
1290
|
return CardDecksUserDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1291
1291
|
};
|
|
1292
|
-
protoOf($serializer_3).
|
|
1293
|
-
return this.
|
|
1292
|
+
protoOf($serializer_3).h4h = function () {
|
|
1293
|
+
return this.c62_1;
|
|
1294
1294
|
};
|
|
1295
|
-
protoOf($serializer_3).
|
|
1295
|
+
protoOf($serializer_3).a4t = function () {
|
|
1296
1296
|
// Inline function 'kotlin.arrayOf' call
|
|
1297
1297
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1298
1298
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1306,25 +1306,25 @@
|
|
|
1306
1306
|
}
|
|
1307
1307
|
function CardDecksUserDataDto_init_$Init$(seen0, id, count, serializationConstructorMarker, $this) {
|
|
1308
1308
|
if (!(3 === (3 & seen0))) {
|
|
1309
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().
|
|
1309
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().c62_1);
|
|
1310
1310
|
}
|
|
1311
|
-
$this.
|
|
1312
|
-
$this.
|
|
1311
|
+
$this.e62_1 = id;
|
|
1312
|
+
$this.f62_1 = count;
|
|
1313
1313
|
return $this;
|
|
1314
1314
|
}
|
|
1315
1315
|
function CardDecksUserDataDto_init_$Create$(seen0, id, count, serializationConstructorMarker) {
|
|
1316
1316
|
return CardDecksUserDataDto_init_$Init$(seen0, id, count, serializationConstructorMarker, objectCreate(protoOf(CardDecksUserDataDto)));
|
|
1317
1317
|
}
|
|
1318
1318
|
function CardDecksUserDataDto(id, count) {
|
|
1319
|
-
this.
|
|
1320
|
-
this.
|
|
1319
|
+
this.e62_1 = id;
|
|
1320
|
+
this.f62_1 = count;
|
|
1321
1321
|
}
|
|
1322
1322
|
protoOf(CardDecksUserDataDto).toString = function () {
|
|
1323
|
-
return 'CardDecksUserDataDto(id=' + this.
|
|
1323
|
+
return 'CardDecksUserDataDto(id=' + this.e62_1 + ', count=' + this.f62_1 + ')';
|
|
1324
1324
|
};
|
|
1325
1325
|
protoOf(CardDecksUserDataDto).hashCode = function () {
|
|
1326
|
-
var result = getStringHashCode(this.
|
|
1327
|
-
result = imul(result, 31) + this.
|
|
1326
|
+
var result = getStringHashCode(this.e62_1);
|
|
1327
|
+
result = imul(result, 31) + this.f62_1 | 0;
|
|
1328
1328
|
return result;
|
|
1329
1329
|
};
|
|
1330
1330
|
protoOf(CardDecksUserDataDto).equals = function (other) {
|
|
@@ -1333,15 +1333,15 @@
|
|
|
1333
1333
|
if (!(other instanceof CardDecksUserDataDto))
|
|
1334
1334
|
return false;
|
|
1335
1335
|
var tmp0_other_with_cast = other instanceof CardDecksUserDataDto ? other : THROW_CCE();
|
|
1336
|
-
if (!(this.
|
|
1336
|
+
if (!(this.e62_1 === tmp0_other_with_cast.e62_1))
|
|
1337
1337
|
return false;
|
|
1338
|
-
if (!(this.
|
|
1338
|
+
if (!(this.f62_1 === tmp0_other_with_cast.f62_1))
|
|
1339
1339
|
return false;
|
|
1340
1340
|
return true;
|
|
1341
1341
|
};
|
|
1342
1342
|
function $serializer_init_$Init$_0(typeSerial0, $this) {
|
|
1343
1343
|
$serializer_4.call($this);
|
|
1344
|
-
$this.
|
|
1344
|
+
$this.h62_1 = typeSerial0;
|
|
1345
1345
|
return $this;
|
|
1346
1346
|
}
|
|
1347
1347
|
function $serializer_init_$Create$_0(typeSerial0) {
|
|
@@ -1350,16 +1350,16 @@
|
|
|
1350
1350
|
function Companion_5() {
|
|
1351
1351
|
Companion_instance_7 = this;
|
|
1352
1352
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomResponseDto', null, 3);
|
|
1353
|
-
tmp0_serialDesc.
|
|
1354
|
-
tmp0_serialDesc.
|
|
1355
|
-
tmp0_serialDesc.
|
|
1356
|
-
this.
|
|
1353
|
+
tmp0_serialDesc.l4s('jsonrpc', false);
|
|
1354
|
+
tmp0_serialDesc.l4s('result', false);
|
|
1355
|
+
tmp0_serialDesc.l4s('id', false);
|
|
1356
|
+
this.i62_1 = tmp0_serialDesc;
|
|
1357
1357
|
}
|
|
1358
|
-
protoOf(Companion_5).
|
|
1358
|
+
protoOf(Companion_5).l61 = function (typeSerial0) {
|
|
1359
1359
|
return $serializer_init_$Create$_0(typeSerial0);
|
|
1360
1360
|
};
|
|
1361
|
-
protoOf(Companion_5).
|
|
1362
|
-
return this.
|
|
1361
|
+
protoOf(Companion_5).l4t = function (typeParamsSerializers) {
|
|
1362
|
+
return this.l61(typeParamsSerializers[0]);
|
|
1363
1363
|
};
|
|
1364
1364
|
var Companion_instance_7;
|
|
1365
1365
|
function Companion_getInstance_8() {
|
|
@@ -1369,86 +1369,86 @@
|
|
|
1369
1369
|
}
|
|
1370
1370
|
function $serializer_4() {
|
|
1371
1371
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomResponseDto', this, 3);
|
|
1372
|
-
tmp0_serialDesc.
|
|
1373
|
-
tmp0_serialDesc.
|
|
1374
|
-
tmp0_serialDesc.
|
|
1375
|
-
this.
|
|
1376
|
-
}
|
|
1377
|
-
protoOf($serializer_4).
|
|
1378
|
-
var tmp0_desc = this.
|
|
1379
|
-
var tmp1_output = encoder.
|
|
1380
|
-
tmp1_output.
|
|
1381
|
-
tmp1_output.
|
|
1382
|
-
tmp1_output.
|
|
1383
|
-
tmp1_output.
|
|
1384
|
-
};
|
|
1385
|
-
protoOf($serializer_4).
|
|
1386
|
-
return this.
|
|
1387
|
-
};
|
|
1388
|
-
protoOf($serializer_4).
|
|
1389
|
-
var tmp0_desc = this.
|
|
1372
|
+
tmp0_serialDesc.l4s('jsonrpc', false);
|
|
1373
|
+
tmp0_serialDesc.l4s('result', false);
|
|
1374
|
+
tmp0_serialDesc.l4s('id', false);
|
|
1375
|
+
this.g62_1 = tmp0_serialDesc;
|
|
1376
|
+
}
|
|
1377
|
+
protoOf($serializer_4).j62 = function (encoder, value) {
|
|
1378
|
+
var tmp0_desc = this.g62_1;
|
|
1379
|
+
var tmp1_output = encoder.u4k(tmp0_desc);
|
|
1380
|
+
tmp1_output.j4m(tmp0_desc, 0, value.k62_1);
|
|
1381
|
+
tmp1_output.l4m(tmp0_desc, 1, this.h62_1, value.l62_1);
|
|
1382
|
+
tmp1_output.j4m(tmp0_desc, 2, value.m62_1);
|
|
1383
|
+
tmp1_output.v4k(tmp0_desc);
|
|
1384
|
+
};
|
|
1385
|
+
protoOf($serializer_4).i4h = function (encoder, value) {
|
|
1386
|
+
return this.j62(encoder, value instanceof RandomResponseDto ? value : THROW_CCE());
|
|
1387
|
+
};
|
|
1388
|
+
protoOf($serializer_4).j4h = function (decoder) {
|
|
1389
|
+
var tmp0_desc = this.g62_1;
|
|
1390
1390
|
var tmp1_flag = true;
|
|
1391
1391
|
var tmp2_index = 0;
|
|
1392
1392
|
var tmp3_bitMask0 = 0;
|
|
1393
1393
|
var tmp4_local0 = null;
|
|
1394
1394
|
var tmp5_local1 = null;
|
|
1395
1395
|
var tmp6_local2 = null;
|
|
1396
|
-
var tmp7_input = decoder.
|
|
1397
|
-
if (tmp7_input.
|
|
1398
|
-
tmp4_local0 = tmp7_input.
|
|
1396
|
+
var tmp7_input = decoder.u4k(tmp0_desc);
|
|
1397
|
+
if (tmp7_input.k4l()) {
|
|
1398
|
+
tmp4_local0 = tmp7_input.e4l(tmp0_desc, 0);
|
|
1399
1399
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1400
|
-
tmp5_local1 = tmp7_input.
|
|
1400
|
+
tmp5_local1 = tmp7_input.g4l(tmp0_desc, 1, this.h62_1, tmp5_local1);
|
|
1401
1401
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1402
|
-
tmp6_local2 = tmp7_input.
|
|
1402
|
+
tmp6_local2 = tmp7_input.e4l(tmp0_desc, 2);
|
|
1403
1403
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1404
1404
|
} else
|
|
1405
1405
|
while (tmp1_flag) {
|
|
1406
|
-
tmp2_index = tmp7_input.
|
|
1406
|
+
tmp2_index = tmp7_input.l4l(tmp0_desc);
|
|
1407
1407
|
switch (tmp2_index) {
|
|
1408
1408
|
case -1:
|
|
1409
1409
|
tmp1_flag = false;
|
|
1410
1410
|
break;
|
|
1411
1411
|
case 0:
|
|
1412
|
-
tmp4_local0 = tmp7_input.
|
|
1412
|
+
tmp4_local0 = tmp7_input.e4l(tmp0_desc, 0);
|
|
1413
1413
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1414
1414
|
break;
|
|
1415
1415
|
case 1:
|
|
1416
|
-
tmp5_local1 = tmp7_input.
|
|
1416
|
+
tmp5_local1 = tmp7_input.g4l(tmp0_desc, 1, this.h62_1, tmp5_local1);
|
|
1417
1417
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1418
1418
|
break;
|
|
1419
1419
|
case 2:
|
|
1420
|
-
tmp6_local2 = tmp7_input.
|
|
1420
|
+
tmp6_local2 = tmp7_input.e4l(tmp0_desc, 2);
|
|
1421
1421
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1422
1422
|
break;
|
|
1423
1423
|
default:
|
|
1424
1424
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1425
1425
|
}
|
|
1426
1426
|
}
|
|
1427
|
-
tmp7_input.
|
|
1427
|
+
tmp7_input.v4k(tmp0_desc);
|
|
1428
1428
|
return RandomResponseDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1429
1429
|
};
|
|
1430
|
-
protoOf($serializer_4).
|
|
1431
|
-
return this.
|
|
1430
|
+
protoOf($serializer_4).h4h = function () {
|
|
1431
|
+
return this.g62_1;
|
|
1432
1432
|
};
|
|
1433
|
-
protoOf($serializer_4).
|
|
1433
|
+
protoOf($serializer_4).a4t = function () {
|
|
1434
1434
|
// Inline function 'kotlin.arrayOf' call
|
|
1435
1435
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1436
1436
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1437
|
-
return [StringSerializer_getInstance(), this.
|
|
1437
|
+
return [StringSerializer_getInstance(), this.h62_1, StringSerializer_getInstance()];
|
|
1438
1438
|
};
|
|
1439
|
-
protoOf($serializer_4).
|
|
1439
|
+
protoOf($serializer_4).b4t = function () {
|
|
1440
1440
|
// Inline function 'kotlin.arrayOf' call
|
|
1441
1441
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1442
1442
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1443
|
-
return [this.
|
|
1443
|
+
return [this.h62_1];
|
|
1444
1444
|
};
|
|
1445
1445
|
function RandomResponseDto_init_$Init$(seen0, jsonrpc, result, id, serializationConstructorMarker, $this) {
|
|
1446
1446
|
if (!(7 === (7 & seen0))) {
|
|
1447
|
-
throwMissingFieldException(seen0, 7, Companion_getInstance_8().
|
|
1447
|
+
throwMissingFieldException(seen0, 7, Companion_getInstance_8().i62_1);
|
|
1448
1448
|
}
|
|
1449
|
-
$this.
|
|
1450
|
-
$this.
|
|
1451
|
-
$this.
|
|
1449
|
+
$this.k62_1 = jsonrpc;
|
|
1450
|
+
$this.l62_1 = result;
|
|
1451
|
+
$this.m62_1 = id;
|
|
1452
1452
|
return $this;
|
|
1453
1453
|
}
|
|
1454
1454
|
function RandomResponseDto_init_$Create$(seen0, jsonrpc, result, id, serializationConstructorMarker) {
|
|
@@ -1456,17 +1456,17 @@
|
|
|
1456
1456
|
}
|
|
1457
1457
|
function RandomResponseDto(jsonrpc, result, id) {
|
|
1458
1458
|
Companion_getInstance_8();
|
|
1459
|
-
this.
|
|
1460
|
-
this.
|
|
1461
|
-
this.
|
|
1459
|
+
this.k62_1 = jsonrpc;
|
|
1460
|
+
this.l62_1 = result;
|
|
1461
|
+
this.m62_1 = id;
|
|
1462
1462
|
}
|
|
1463
1463
|
protoOf(RandomResponseDto).toString = function () {
|
|
1464
|
-
return 'RandomResponseDto(jsonrpc=' + this.
|
|
1464
|
+
return 'RandomResponseDto(jsonrpc=' + this.k62_1 + ', result=' + toString(this.l62_1) + ', id=' + this.m62_1 + ')';
|
|
1465
1465
|
};
|
|
1466
1466
|
protoOf(RandomResponseDto).hashCode = function () {
|
|
1467
|
-
var result = getStringHashCode(this.
|
|
1468
|
-
result = imul(result, 31) + hashCode(this.
|
|
1469
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1467
|
+
var result = getStringHashCode(this.k62_1);
|
|
1468
|
+
result = imul(result, 31) + hashCode(this.l62_1) | 0;
|
|
1469
|
+
result = imul(result, 31) + getStringHashCode(this.m62_1) | 0;
|
|
1470
1470
|
return result;
|
|
1471
1471
|
};
|
|
1472
1472
|
protoOf(RandomResponseDto).equals = function (other) {
|
|
@@ -1475,11 +1475,11 @@
|
|
|
1475
1475
|
if (!(other instanceof RandomResponseDto))
|
|
1476
1476
|
return false;
|
|
1477
1477
|
var tmp0_other_with_cast = other instanceof RandomResponseDto ? other : THROW_CCE();
|
|
1478
|
-
if (!(this.
|
|
1478
|
+
if (!(this.k62_1 === tmp0_other_with_cast.k62_1))
|
|
1479
1479
|
return false;
|
|
1480
|
-
if (!equals(this.
|
|
1480
|
+
if (!equals(this.l62_1, tmp0_other_with_cast.l62_1))
|
|
1481
1481
|
return false;
|
|
1482
|
-
if (!(this.
|
|
1482
|
+
if (!(this.m62_1 === tmp0_other_with_cast.m62_1))
|
|
1483
1483
|
return false;
|
|
1484
1484
|
return true;
|
|
1485
1485
|
};
|
|
@@ -1492,30 +1492,30 @@
|
|
|
1492
1492
|
function $serializer_5() {
|
|
1493
1493
|
$serializer_instance_3 = this;
|
|
1494
1494
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomResultDto.IntegerSequencesResultDto', this, 6);
|
|
1495
|
-
tmp0_serialDesc.
|
|
1496
|
-
tmp0_serialDesc.
|
|
1497
|
-
tmp0_serialDesc.
|
|
1498
|
-
tmp0_serialDesc.
|
|
1499
|
-
tmp0_serialDesc.
|
|
1500
|
-
tmp0_serialDesc.
|
|
1501
|
-
this.
|
|
1502
|
-
}
|
|
1503
|
-
protoOf($serializer_5).
|
|
1504
|
-
var tmp0_desc = this.
|
|
1505
|
-
var tmp1_output = encoder.
|
|
1506
|
-
tmp1_output.
|
|
1507
|
-
tmp1_output.
|
|
1508
|
-
tmp1_output.
|
|
1509
|
-
tmp1_output.
|
|
1510
|
-
tmp1_output.
|
|
1511
|
-
tmp1_output.
|
|
1512
|
-
tmp1_output.
|
|
1513
|
-
};
|
|
1514
|
-
protoOf($serializer_5).
|
|
1515
|
-
return this.
|
|
1516
|
-
};
|
|
1517
|
-
protoOf($serializer_5).
|
|
1518
|
-
var tmp0_desc = this.
|
|
1495
|
+
tmp0_serialDesc.l4s('random', false);
|
|
1496
|
+
tmp0_serialDesc.l4s('signature', false);
|
|
1497
|
+
tmp0_serialDesc.l4s('bitsUsed', false);
|
|
1498
|
+
tmp0_serialDesc.l4s('bitsLeft', false);
|
|
1499
|
+
tmp0_serialDesc.l4s('requestsLeft', false);
|
|
1500
|
+
tmp0_serialDesc.l4s('advisoryDelay', false);
|
|
1501
|
+
this.n62_1 = tmp0_serialDesc;
|
|
1502
|
+
}
|
|
1503
|
+
protoOf($serializer_5).o62 = function (encoder, value) {
|
|
1504
|
+
var tmp0_desc = this.n62_1;
|
|
1505
|
+
var tmp1_output = encoder.u4k(tmp0_desc);
|
|
1506
|
+
tmp1_output.l4m(tmp0_desc, 0, $serializer_getInstance_4(), value.p62_1);
|
|
1507
|
+
tmp1_output.n4m(tmp0_desc, 1, StringSerializer_getInstance(), value.q62_1);
|
|
1508
|
+
tmp1_output.n4m(tmp0_desc, 2, IntSerializer_getInstance(), value.r62_1);
|
|
1509
|
+
tmp1_output.n4m(tmp0_desc, 3, IntSerializer_getInstance(), value.s62_1);
|
|
1510
|
+
tmp1_output.n4m(tmp0_desc, 4, IntSerializer_getInstance(), value.t62_1);
|
|
1511
|
+
tmp1_output.n4m(tmp0_desc, 5, IntSerializer_getInstance(), value.u62_1);
|
|
1512
|
+
tmp1_output.v4k(tmp0_desc);
|
|
1513
|
+
};
|
|
1514
|
+
protoOf($serializer_5).i4h = function (encoder, value) {
|
|
1515
|
+
return this.o62(encoder, value instanceof IntegerSequencesResultDto ? value : THROW_CCE());
|
|
1516
|
+
};
|
|
1517
|
+
protoOf($serializer_5).j4h = function (decoder) {
|
|
1518
|
+
var tmp0_desc = this.n62_1;
|
|
1519
1519
|
var tmp1_flag = true;
|
|
1520
1520
|
var tmp2_index = 0;
|
|
1521
1521
|
var tmp3_bitMask0 = 0;
|
|
@@ -1525,62 +1525,62 @@
|
|
|
1525
1525
|
var tmp7_local3 = null;
|
|
1526
1526
|
var tmp8_local4 = null;
|
|
1527
1527
|
var tmp9_local5 = null;
|
|
1528
|
-
var tmp10_input = decoder.
|
|
1529
|
-
if (tmp10_input.
|
|
1530
|
-
tmp4_local0 = tmp10_input.
|
|
1528
|
+
var tmp10_input = decoder.u4k(tmp0_desc);
|
|
1529
|
+
if (tmp10_input.k4l()) {
|
|
1530
|
+
tmp4_local0 = tmp10_input.g4l(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
|
|
1531
1531
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1532
|
-
tmp5_local1 = tmp10_input.
|
|
1532
|
+
tmp5_local1 = tmp10_input.i4l(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1533
1533
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1534
|
-
tmp6_local2 = tmp10_input.
|
|
1534
|
+
tmp6_local2 = tmp10_input.i4l(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
1535
1535
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1536
|
-
tmp7_local3 = tmp10_input.
|
|
1536
|
+
tmp7_local3 = tmp10_input.i4l(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
|
|
1537
1537
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1538
|
-
tmp8_local4 = tmp10_input.
|
|
1538
|
+
tmp8_local4 = tmp10_input.i4l(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
|
|
1539
1539
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1540
|
-
tmp9_local5 = tmp10_input.
|
|
1540
|
+
tmp9_local5 = tmp10_input.i4l(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
1541
1541
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1542
1542
|
} else
|
|
1543
1543
|
while (tmp1_flag) {
|
|
1544
|
-
tmp2_index = tmp10_input.
|
|
1544
|
+
tmp2_index = tmp10_input.l4l(tmp0_desc);
|
|
1545
1545
|
switch (tmp2_index) {
|
|
1546
1546
|
case -1:
|
|
1547
1547
|
tmp1_flag = false;
|
|
1548
1548
|
break;
|
|
1549
1549
|
case 0:
|
|
1550
|
-
tmp4_local0 = tmp10_input.
|
|
1550
|
+
tmp4_local0 = tmp10_input.g4l(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
|
|
1551
1551
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1552
1552
|
break;
|
|
1553
1553
|
case 1:
|
|
1554
|
-
tmp5_local1 = tmp10_input.
|
|
1554
|
+
tmp5_local1 = tmp10_input.i4l(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1555
1555
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1556
1556
|
break;
|
|
1557
1557
|
case 2:
|
|
1558
|
-
tmp6_local2 = tmp10_input.
|
|
1558
|
+
tmp6_local2 = tmp10_input.i4l(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
1559
1559
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1560
1560
|
break;
|
|
1561
1561
|
case 3:
|
|
1562
|
-
tmp7_local3 = tmp10_input.
|
|
1562
|
+
tmp7_local3 = tmp10_input.i4l(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
|
|
1563
1563
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1564
1564
|
break;
|
|
1565
1565
|
case 4:
|
|
1566
|
-
tmp8_local4 = tmp10_input.
|
|
1566
|
+
tmp8_local4 = tmp10_input.i4l(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
|
|
1567
1567
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1568
1568
|
break;
|
|
1569
1569
|
case 5:
|
|
1570
|
-
tmp9_local5 = tmp10_input.
|
|
1570
|
+
tmp9_local5 = tmp10_input.i4l(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
1571
1571
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1572
1572
|
break;
|
|
1573
1573
|
default:
|
|
1574
1574
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1575
1575
|
}
|
|
1576
1576
|
}
|
|
1577
|
-
tmp10_input.
|
|
1577
|
+
tmp10_input.v4k(tmp0_desc);
|
|
1578
1578
|
return IntegerSequencesResultDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
1579
1579
|
};
|
|
1580
|
-
protoOf($serializer_5).
|
|
1581
|
-
return this.
|
|
1580
|
+
protoOf($serializer_5).h4h = function () {
|
|
1581
|
+
return this.n62_1;
|
|
1582
1582
|
};
|
|
1583
|
-
protoOf($serializer_5).
|
|
1583
|
+
protoOf($serializer_5).a4t = function () {
|
|
1584
1584
|
// Inline function 'kotlin.arrayOf' call
|
|
1585
1585
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1586
1586
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1594,37 +1594,37 @@
|
|
|
1594
1594
|
}
|
|
1595
1595
|
function IntegerSequencesResultDto_init_$Init$(seen0, random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay, serializationConstructorMarker, $this) {
|
|
1596
1596
|
if (!(63 === (63 & seen0))) {
|
|
1597
|
-
throwMissingFieldException(seen0, 63, $serializer_getInstance_3().
|
|
1597
|
+
throwMissingFieldException(seen0, 63, $serializer_getInstance_3().n62_1);
|
|
1598
1598
|
}
|
|
1599
|
-
$this.
|
|
1600
|
-
$this.
|
|
1601
|
-
$this.
|
|
1602
|
-
$this.
|
|
1603
|
-
$this.
|
|
1604
|
-
$this.
|
|
1599
|
+
$this.p62_1 = random;
|
|
1600
|
+
$this.q62_1 = signature;
|
|
1601
|
+
$this.r62_1 = bitsUsed;
|
|
1602
|
+
$this.s62_1 = bitsLeft;
|
|
1603
|
+
$this.t62_1 = requestsLeft;
|
|
1604
|
+
$this.u62_1 = advisoryDelay;
|
|
1605
1605
|
return $this;
|
|
1606
1606
|
}
|
|
1607
1607
|
function IntegerSequencesResultDto_init_$Create$(seen0, random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay, serializationConstructorMarker) {
|
|
1608
1608
|
return IntegerSequencesResultDto_init_$Init$(seen0, random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay, serializationConstructorMarker, objectCreate(protoOf(IntegerSequencesResultDto)));
|
|
1609
1609
|
}
|
|
1610
1610
|
function IntegerSequencesResultDto(random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay) {
|
|
1611
|
-
this.
|
|
1612
|
-
this.
|
|
1613
|
-
this.
|
|
1614
|
-
this.
|
|
1615
|
-
this.
|
|
1616
|
-
this.
|
|
1611
|
+
this.p62_1 = random;
|
|
1612
|
+
this.q62_1 = signature;
|
|
1613
|
+
this.r62_1 = bitsUsed;
|
|
1614
|
+
this.s62_1 = bitsLeft;
|
|
1615
|
+
this.t62_1 = requestsLeft;
|
|
1616
|
+
this.u62_1 = advisoryDelay;
|
|
1617
1617
|
}
|
|
1618
1618
|
protoOf(IntegerSequencesResultDto).toString = function () {
|
|
1619
|
-
return 'IntegerSequencesResultDto(random=' + this.
|
|
1619
|
+
return 'IntegerSequencesResultDto(random=' + this.p62_1.toString() + ', signature=' + this.q62_1 + ', bitsUsed=' + this.r62_1 + ', bitsLeft=' + this.s62_1 + ', requestsLeft=' + this.t62_1 + ', advisoryDelay=' + this.u62_1 + ')';
|
|
1620
1620
|
};
|
|
1621
1621
|
protoOf(IntegerSequencesResultDto).hashCode = function () {
|
|
1622
|
-
var result = this.
|
|
1623
|
-
result = imul(result, 31) + (this.
|
|
1624
|
-
result = imul(result, 31) + (this.
|
|
1625
|
-
result = imul(result, 31) + (this.
|
|
1626
|
-
result = imul(result, 31) + (this.
|
|
1627
|
-
result = imul(result, 31) + (this.
|
|
1622
|
+
var result = this.p62_1.hashCode();
|
|
1623
|
+
result = imul(result, 31) + (this.q62_1 == null ? 0 : getStringHashCode(this.q62_1)) | 0;
|
|
1624
|
+
result = imul(result, 31) + (this.r62_1 == null ? 0 : this.r62_1) | 0;
|
|
1625
|
+
result = imul(result, 31) + (this.s62_1 == null ? 0 : this.s62_1) | 0;
|
|
1626
|
+
result = imul(result, 31) + (this.t62_1 == null ? 0 : this.t62_1) | 0;
|
|
1627
|
+
result = imul(result, 31) + (this.u62_1 == null ? 0 : this.u62_1) | 0;
|
|
1628
1628
|
return result;
|
|
1629
1629
|
};
|
|
1630
1630
|
protoOf(IntegerSequencesResultDto).equals = function (other) {
|
|
@@ -1633,17 +1633,17 @@
|
|
|
1633
1633
|
if (!(other instanceof IntegerSequencesResultDto))
|
|
1634
1634
|
return false;
|
|
1635
1635
|
var tmp0_other_with_cast = other instanceof IntegerSequencesResultDto ? other : THROW_CCE();
|
|
1636
|
-
if (!this.
|
|
1636
|
+
if (!this.p62_1.equals(tmp0_other_with_cast.p62_1))
|
|
1637
1637
|
return false;
|
|
1638
|
-
if (!(this.
|
|
1638
|
+
if (!(this.q62_1 == tmp0_other_with_cast.q62_1))
|
|
1639
1639
|
return false;
|
|
1640
|
-
if (!(this.
|
|
1640
|
+
if (!(this.r62_1 == tmp0_other_with_cast.r62_1))
|
|
1641
1641
|
return false;
|
|
1642
|
-
if (!(this.
|
|
1642
|
+
if (!(this.s62_1 == tmp0_other_with_cast.s62_1))
|
|
1643
1643
|
return false;
|
|
1644
|
-
if (!(this.
|
|
1644
|
+
if (!(this.t62_1 == tmp0_other_with_cast.t62_1))
|
|
1645
1645
|
return false;
|
|
1646
|
-
if (!(this.
|
|
1646
|
+
if (!(this.u62_1 == tmp0_other_with_cast.u62_1))
|
|
1647
1647
|
return false;
|
|
1648
1648
|
return true;
|
|
1649
1649
|
};
|
|
@@ -1657,7 +1657,7 @@
|
|
|
1657
1657
|
// Inline function 'kotlin.arrayOf' call
|
|
1658
1658
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1659
1659
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1660
|
-
tmp.
|
|
1660
|
+
tmp.v62_1 = [lazy(tmp_0, RandomDataDto$IntegerSequencesDataDto$Companion$$childSerializers$_anonymous__ummwez), null, null];
|
|
1661
1661
|
}
|
|
1662
1662
|
var Companion_instance_9;
|
|
1663
1663
|
function Companion_getInstance_10() {
|
|
@@ -1668,74 +1668,74 @@
|
|
|
1668
1668
|
function $serializer_6() {
|
|
1669
1669
|
$serializer_instance_4 = this;
|
|
1670
1670
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomDataDto.IntegerSequencesDataDto', this, 3);
|
|
1671
|
-
tmp0_serialDesc.
|
|
1672
|
-
tmp0_serialDesc.
|
|
1673
|
-
tmp0_serialDesc.
|
|
1674
|
-
this.
|
|
1675
|
-
}
|
|
1676
|
-
protoOf($serializer_6).
|
|
1677
|
-
var tmp0_desc = this.
|
|
1678
|
-
var tmp1_output = encoder.
|
|
1679
|
-
var tmp2_cached = Companion_getInstance_10().
|
|
1680
|
-
tmp1_output.
|
|
1681
|
-
tmp1_output.
|
|
1682
|
-
tmp1_output.
|
|
1683
|
-
tmp1_output.
|
|
1684
|
-
};
|
|
1685
|
-
protoOf($serializer_6).
|
|
1686
|
-
return this.
|
|
1687
|
-
};
|
|
1688
|
-
protoOf($serializer_6).
|
|
1689
|
-
var tmp0_desc = this.
|
|
1671
|
+
tmp0_serialDesc.l4s('data', false);
|
|
1672
|
+
tmp0_serialDesc.l4s('completionTime', false);
|
|
1673
|
+
tmp0_serialDesc.l4s('ticketId', false);
|
|
1674
|
+
this.w62_1 = tmp0_serialDesc;
|
|
1675
|
+
}
|
|
1676
|
+
protoOf($serializer_6).x62 = function (encoder, value) {
|
|
1677
|
+
var tmp0_desc = this.w62_1;
|
|
1678
|
+
var tmp1_output = encoder.u4k(tmp0_desc);
|
|
1679
|
+
var tmp2_cached = Companion_getInstance_10().v62_1;
|
|
1680
|
+
tmp1_output.l4m(tmp0_desc, 0, tmp2_cached[0].u(), value.y62_1);
|
|
1681
|
+
tmp1_output.j4m(tmp0_desc, 1, value.z62_1);
|
|
1682
|
+
tmp1_output.n4m(tmp0_desc, 2, StringSerializer_getInstance(), value.a63_1);
|
|
1683
|
+
tmp1_output.v4k(tmp0_desc);
|
|
1684
|
+
};
|
|
1685
|
+
protoOf($serializer_6).i4h = function (encoder, value) {
|
|
1686
|
+
return this.x62(encoder, value instanceof IntegerSequencesDataDto ? value : THROW_CCE());
|
|
1687
|
+
};
|
|
1688
|
+
protoOf($serializer_6).j4h = function (decoder) {
|
|
1689
|
+
var tmp0_desc = this.w62_1;
|
|
1690
1690
|
var tmp1_flag = true;
|
|
1691
1691
|
var tmp2_index = 0;
|
|
1692
1692
|
var tmp3_bitMask0 = 0;
|
|
1693
1693
|
var tmp4_local0 = null;
|
|
1694
1694
|
var tmp5_local1 = null;
|
|
1695
1695
|
var tmp6_local2 = null;
|
|
1696
|
-
var tmp7_input = decoder.
|
|
1697
|
-
var tmp8_cached = Companion_getInstance_10().
|
|
1698
|
-
if (tmp7_input.
|
|
1699
|
-
tmp4_local0 = tmp7_input.
|
|
1696
|
+
var tmp7_input = decoder.u4k(tmp0_desc);
|
|
1697
|
+
var tmp8_cached = Companion_getInstance_10().v62_1;
|
|
1698
|
+
if (tmp7_input.k4l()) {
|
|
1699
|
+
tmp4_local0 = tmp7_input.g4l(tmp0_desc, 0, tmp8_cached[0].u(), tmp4_local0);
|
|
1700
1700
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1701
|
-
tmp5_local1 = tmp7_input.
|
|
1701
|
+
tmp5_local1 = tmp7_input.e4l(tmp0_desc, 1);
|
|
1702
1702
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1703
|
-
tmp6_local2 = tmp7_input.
|
|
1703
|
+
tmp6_local2 = tmp7_input.i4l(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1704
1704
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1705
1705
|
} else
|
|
1706
1706
|
while (tmp1_flag) {
|
|
1707
|
-
tmp2_index = tmp7_input.
|
|
1707
|
+
tmp2_index = tmp7_input.l4l(tmp0_desc);
|
|
1708
1708
|
switch (tmp2_index) {
|
|
1709
1709
|
case -1:
|
|
1710
1710
|
tmp1_flag = false;
|
|
1711
1711
|
break;
|
|
1712
1712
|
case 0:
|
|
1713
|
-
tmp4_local0 = tmp7_input.
|
|
1713
|
+
tmp4_local0 = tmp7_input.g4l(tmp0_desc, 0, tmp8_cached[0].u(), tmp4_local0);
|
|
1714
1714
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1715
1715
|
break;
|
|
1716
1716
|
case 1:
|
|
1717
|
-
tmp5_local1 = tmp7_input.
|
|
1717
|
+
tmp5_local1 = tmp7_input.e4l(tmp0_desc, 1);
|
|
1718
1718
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1719
1719
|
break;
|
|
1720
1720
|
case 2:
|
|
1721
|
-
tmp6_local2 = tmp7_input.
|
|
1721
|
+
tmp6_local2 = tmp7_input.i4l(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1722
1722
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1723
1723
|
break;
|
|
1724
1724
|
default:
|
|
1725
1725
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
|
-
tmp7_input.
|
|
1728
|
+
tmp7_input.v4k(tmp0_desc);
|
|
1729
1729
|
return IntegerSequencesDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1730
1730
|
};
|
|
1731
|
-
protoOf($serializer_6).
|
|
1732
|
-
return this.
|
|
1731
|
+
protoOf($serializer_6).h4h = function () {
|
|
1732
|
+
return this.w62_1;
|
|
1733
1733
|
};
|
|
1734
|
-
protoOf($serializer_6).
|
|
1734
|
+
protoOf($serializer_6).a4t = function () {
|
|
1735
1735
|
// Inline function 'kotlin.arrayOf' call
|
|
1736
1736
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1737
1737
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1738
|
-
return [Companion_getInstance_10().
|
|
1738
|
+
return [Companion_getInstance_10().v62_1[0].u(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
1739
1739
|
};
|
|
1740
1740
|
var $serializer_instance_4;
|
|
1741
1741
|
function $serializer_getInstance_4() {
|
|
@@ -1745,11 +1745,11 @@
|
|
|
1745
1745
|
}
|
|
1746
1746
|
function IntegerSequencesDataDto_init_$Init$(seen0, data, completionTime, ticketId, serializationConstructorMarker, $this) {
|
|
1747
1747
|
if (!(7 === (7 & seen0))) {
|
|
1748
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_4().
|
|
1748
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_4().w62_1);
|
|
1749
1749
|
}
|
|
1750
|
-
$this.
|
|
1751
|
-
$this.
|
|
1752
|
-
$this.
|
|
1750
|
+
$this.y62_1 = data;
|
|
1751
|
+
$this.z62_1 = completionTime;
|
|
1752
|
+
$this.a63_1 = ticketId;
|
|
1753
1753
|
return $this;
|
|
1754
1754
|
}
|
|
1755
1755
|
function IntegerSequencesDataDto_init_$Create$(seen0, data, completionTime, ticketId, serializationConstructorMarker) {
|
|
@@ -1758,12 +1758,12 @@
|
|
|
1758
1758
|
function IntegerSequencesDataDto() {
|
|
1759
1759
|
}
|
|
1760
1760
|
protoOf(IntegerSequencesDataDto).toString = function () {
|
|
1761
|
-
return 'IntegerSequencesDataDto(data=' + toString(this.
|
|
1761
|
+
return 'IntegerSequencesDataDto(data=' + toString(this.y62_1) + ', completionTime=' + this.z62_1 + ', ticketId=' + this.a63_1 + ')';
|
|
1762
1762
|
};
|
|
1763
1763
|
protoOf(IntegerSequencesDataDto).hashCode = function () {
|
|
1764
|
-
var result = hashCode(this.
|
|
1765
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1766
|
-
result = imul(result, 31) + (this.
|
|
1764
|
+
var result = hashCode(this.y62_1);
|
|
1765
|
+
result = imul(result, 31) + getStringHashCode(this.z62_1) | 0;
|
|
1766
|
+
result = imul(result, 31) + (this.a63_1 == null ? 0 : getStringHashCode(this.a63_1)) | 0;
|
|
1767
1767
|
return result;
|
|
1768
1768
|
};
|
|
1769
1769
|
protoOf(IntegerSequencesDataDto).equals = function (other) {
|
|
@@ -1772,11 +1772,11 @@
|
|
|
1772
1772
|
if (!(other instanceof IntegerSequencesDataDto))
|
|
1773
1773
|
return false;
|
|
1774
1774
|
var tmp0_other_with_cast = other instanceof IntegerSequencesDataDto ? other : THROW_CCE();
|
|
1775
|
-
if (!equals(this.
|
|
1775
|
+
if (!equals(this.y62_1, tmp0_other_with_cast.y62_1))
|
|
1776
1776
|
return false;
|
|
1777
|
-
if (!(this.
|
|
1777
|
+
if (!(this.z62_1 === tmp0_other_with_cast.z62_1))
|
|
1778
1778
|
return false;
|
|
1779
|
-
if (!(this.
|
|
1779
|
+
if (!(this.a63_1 == tmp0_other_with_cast.a63_1))
|
|
1780
1780
|
return false;
|
|
1781
1781
|
return true;
|
|
1782
1782
|
};
|
|
@@ -1795,7 +1795,7 @@
|
|
|
1795
1795
|
return toString(getValue(get_jsonObject(getValue(bodyAsJson, 'result')), 'random'));
|
|
1796
1796
|
}
|
|
1797
1797
|
function Companion_8() {
|
|
1798
|
-
this.
|
|
1798
|
+
this.p63_1 = 52;
|
|
1799
1799
|
}
|
|
1800
1800
|
var Companion_instance_10;
|
|
1801
1801
|
function Companion_getInstance_11() {
|
|
@@ -1803,13 +1803,13 @@
|
|
|
1803
1803
|
}
|
|
1804
1804
|
function $getRandomCardDecksCOROUTINE$(_this__u8e3s4, min, max, decksCount, cardsCount, userData, signed, resultContinuation) {
|
|
1805
1805
|
CoroutineImpl.call(this, resultContinuation);
|
|
1806
|
-
this.
|
|
1807
|
-
this.
|
|
1808
|
-
this.
|
|
1809
|
-
this.
|
|
1810
|
-
this.
|
|
1811
|
-
this.
|
|
1812
|
-
this.
|
|
1806
|
+
this.y63_1 = _this__u8e3s4;
|
|
1807
|
+
this.z63_1 = min;
|
|
1808
|
+
this.a64_1 = max;
|
|
1809
|
+
this.b64_1 = decksCount;
|
|
1810
|
+
this.c64_1 = cardsCount;
|
|
1811
|
+
this.d64_1 = userData;
|
|
1812
|
+
this.e64_1 = signed;
|
|
1813
1813
|
}
|
|
1814
1814
|
protoOf($getRandomCardDecksCOROUTINE$).t9 = function () {
|
|
1815
1815
|
var suspendResult = this.n9_1;
|
|
@@ -1821,31 +1821,31 @@
|
|
|
1821
1821
|
this.m9_1 = 6;
|
|
1822
1822
|
this.m9_1 = 5;
|
|
1823
1823
|
var tmp_0 = this;
|
|
1824
|
-
tmp_0.
|
|
1825
|
-
this.
|
|
1824
|
+
tmp_0.f64_1 = this.y63_1.v64_1;
|
|
1825
|
+
this.g64_1 = this.f64_1;
|
|
1826
1826
|
var tmp_1 = this;
|
|
1827
|
-
tmp_1.
|
|
1827
|
+
tmp_1.h64_1 = this.g64_1;
|
|
1828
1828
|
var tmp_2 = this;
|
|
1829
1829
|
var this_0 = new HttpRequestBuilder();
|
|
1830
1830
|
url(this_0, '/json-rpc/4/invoke');
|
|
1831
|
-
var tmp3_id = this.
|
|
1832
|
-
var tmp4_method = this.
|
|
1833
|
-
var tmp0_apiKey = this.
|
|
1834
|
-
var size = this.
|
|
1831
|
+
var tmp3_id = this.d64_1.id;
|
|
1832
|
+
var tmp4_method = this.e64_1 ? 'generateSignedIntegerSequences' : 'generateIntegerSequences';
|
|
1833
|
+
var tmp0_apiKey = this.y63_1.w64_1;
|
|
1834
|
+
var size = this.b64_1;
|
|
1835
1835
|
var list = ArrayList_init_$Create$(size);
|
|
1836
1836
|
var inductionVariable = 0;
|
|
1837
1837
|
if (inductionVariable < size)
|
|
1838
1838
|
do {
|
|
1839
1839
|
var index = inductionVariable;
|
|
1840
1840
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1841
|
-
list.e(this.
|
|
1841
|
+
list.e(this.c64_1);
|
|
1842
1842
|
}
|
|
1843
1843
|
while (inductionVariable < size);
|
|
1844
|
-
var tmp2_userData = this.
|
|
1845
|
-
var tmp5_params = new RandomIntegerSequencesParamsDto(tmp0_apiKey, this.
|
|
1844
|
+
var tmp2_userData = this.e64_1 ? mapToDto(this.d64_1) : null;
|
|
1845
|
+
var tmp5_params = new RandomIntegerSequencesParamsDto(tmp0_apiKey, this.b64_1, list, this.z63_1, this.a64_1, false, null, tmp2_userData);
|
|
1846
1846
|
var body = new RandomRequestDto('2.0', tmp4_method, tmp5_params, tmp3_id);
|
|
1847
1847
|
if (body == null) {
|
|
1848
|
-
this_0.
|
|
1848
|
+
this_0.o37_1 = NullBody_instance;
|
|
1849
1849
|
var tmp_3 = JsType_instance;
|
|
1850
1850
|
var tmp_4 = getKClass(RandomRequestDto);
|
|
1851
1851
|
var tmp_5;
|
|
@@ -1861,13 +1861,13 @@
|
|
|
1861
1861
|
}
|
|
1862
1862
|
tmp_5 = tmp_6;
|
|
1863
1863
|
}
|
|
1864
|
-
this_0.
|
|
1864
|
+
this_0.k3d(typeInfoImpl(tmp_3, tmp_4, tmp_5));
|
|
1865
1865
|
} else {
|
|
1866
1866
|
if (body instanceof OutgoingContent) {
|
|
1867
|
-
this_0.
|
|
1868
|
-
this_0.
|
|
1867
|
+
this_0.o37_1 = body;
|
|
1868
|
+
this_0.k3d(null);
|
|
1869
1869
|
} else {
|
|
1870
|
-
this_0.
|
|
1870
|
+
this_0.o37_1 = body;
|
|
1871
1871
|
var tmp_7 = JsType_instance;
|
|
1872
1872
|
var tmp_8 = getKClass(RandomRequestDto);
|
|
1873
1873
|
var tmp_9;
|
|
@@ -1883,34 +1883,34 @@
|
|
|
1883
1883
|
}
|
|
1884
1884
|
tmp_9 = tmp_10;
|
|
1885
1885
|
}
|
|
1886
|
-
this_0.
|
|
1886
|
+
this_0.k3d(typeInfoImpl(tmp_7, tmp_8, tmp_9));
|
|
1887
1887
|
}
|
|
1888
1888
|
}
|
|
1889
1889
|
|
|
1890
|
-
tmp_2.
|
|
1891
|
-
this.
|
|
1892
|
-
this.
|
|
1893
|
-
this.
|
|
1890
|
+
tmp_2.i64_1 = this_0;
|
|
1891
|
+
this.j64_1 = this.h64_1;
|
|
1892
|
+
this.k64_1 = this.i64_1;
|
|
1893
|
+
this.k64_1.m37_1 = Companion_getInstance().a2w_1;
|
|
1894
1894
|
var tmp_11 = this;
|
|
1895
|
-
tmp_11.
|
|
1895
|
+
tmp_11.l64_1 = this.j64_1;
|
|
1896
1896
|
var tmp_12 = this;
|
|
1897
|
-
tmp_12.
|
|
1898
|
-
this.
|
|
1899
|
-
this.
|
|
1897
|
+
tmp_12.m64_1 = this.k64_1;
|
|
1898
|
+
this.n64_1 = this.l64_1;
|
|
1899
|
+
this.o64_1 = this.m64_1;
|
|
1900
1900
|
this.l9_1 = 1;
|
|
1901
|
-
suspendResult = (new HttpStatement(this.
|
|
1901
|
+
suspendResult = (new HttpStatement(this.o64_1, this.n64_1)).g41(this);
|
|
1902
1902
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1903
1903
|
return suspendResult;
|
|
1904
1904
|
}
|
|
1905
1905
|
|
|
1906
1906
|
continue $sm;
|
|
1907
1907
|
case 1:
|
|
1908
|
-
this.
|
|
1908
|
+
this.p64_1 = suspendResult;
|
|
1909
1909
|
var tmp_13 = this;
|
|
1910
|
-
tmp_13.
|
|
1911
|
-
this.
|
|
1910
|
+
tmp_13.q64_1 = this.p64_1;
|
|
1911
|
+
this.r64_1 = this.q64_1;
|
|
1912
1912
|
this.l9_1 = 2;
|
|
1913
|
-
var tmp_14 = this.
|
|
1913
|
+
var tmp_14 = this.r64_1.t3a();
|
|
1914
1914
|
var tmp_15 = JsType_instance;
|
|
1915
1915
|
var tmp_16 = getKClass(JsonObject);
|
|
1916
1916
|
var tmp_17;
|
|
@@ -1927,7 +1927,7 @@
|
|
|
1927
1927
|
tmp_17 = tmp_18;
|
|
1928
1928
|
}
|
|
1929
1929
|
|
|
1930
|
-
suspendResult = tmp_14.
|
|
1930
|
+
suspendResult = tmp_14.x39(typeInfoImpl(tmp_15, tmp_16, tmp_17), this);
|
|
1931
1931
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1932
1932
|
return suspendResult;
|
|
1933
1933
|
}
|
|
@@ -1935,9 +1935,9 @@
|
|
|
1935
1935
|
continue $sm;
|
|
1936
1936
|
case 2:
|
|
1937
1937
|
var tmp_19 = this;
|
|
1938
|
-
tmp_19.
|
|
1938
|
+
tmp_19.s64_1 = suspendResult instanceof JsonObject ? suspendResult : THROW_CCE();
|
|
1939
1939
|
this.l9_1 = 3;
|
|
1940
|
-
suspendResult = throwIfError(this.
|
|
1940
|
+
suspendResult = throwIfError(this.y63_1, this.s64_1, this.p64_1, this);
|
|
1941
1941
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1942
1942
|
return suspendResult;
|
|
1943
1943
|
}
|
|
@@ -1945,10 +1945,10 @@
|
|
|
1945
1945
|
continue $sm;
|
|
1946
1946
|
case 3:
|
|
1947
1947
|
var tmp_20 = this;
|
|
1948
|
-
tmp_20.
|
|
1949
|
-
this.
|
|
1948
|
+
tmp_20.t64_1 = this.p64_1;
|
|
1949
|
+
this.u64_1 = this.t64_1;
|
|
1950
1950
|
this.l9_1 = 4;
|
|
1951
|
-
var tmp_21 = this.
|
|
1951
|
+
var tmp_21 = this.u64_1.t3a();
|
|
1952
1952
|
var tmp_22 = JsType_instance;
|
|
1953
1953
|
var tmp_23 = getKClass(RandomResponseDto);
|
|
1954
1954
|
var tmp_24;
|
|
@@ -1965,7 +1965,7 @@
|
|
|
1965
1965
|
tmp_24 = tmp_25;
|
|
1966
1966
|
}
|
|
1967
1967
|
|
|
1968
|
-
suspendResult = tmp_21.
|
|
1968
|
+
suspendResult = tmp_21.x39(typeInfoImpl(tmp_22, tmp_23, tmp_24), this);
|
|
1969
1969
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1970
1970
|
return suspendResult;
|
|
1971
1971
|
}
|
|
@@ -1973,10 +1973,10 @@
|
|
|
1973
1973
|
continue $sm;
|
|
1974
1974
|
case 4:
|
|
1975
1975
|
var responseDto = suspendResult instanceof RandomResponseDto ? suspendResult : THROW_CCE();
|
|
1976
|
-
var randomJson = extractRandomResult(this.
|
|
1977
|
-
var tmp0_cardDecks = responseDto.
|
|
1978
|
-
var tmp1_signature = responseDto.
|
|
1979
|
-
var tmp2_id = responseDto.
|
|
1976
|
+
var randomJson = extractRandomResult(this.y63_1, this.s64_1);
|
|
1977
|
+
var tmp0_cardDecks = responseDto.l62_1.p62_1.y62_1;
|
|
1978
|
+
var tmp1_signature = responseDto.l62_1.q62_1;
|
|
1979
|
+
var tmp2_id = responseDto.m62_1;
|
|
1980
1980
|
return new CardDeckResult(tmp0_cardDecks, randomJson, tmp2_id, tmp1_signature);
|
|
1981
1981
|
case 5:
|
|
1982
1982
|
this.m9_1 = 6;
|
|
@@ -2008,9 +2008,9 @@
|
|
|
2008
2008
|
};
|
|
2009
2009
|
function $throwIfErrorCOROUTINE$(_this__u8e3s4, bodyAsJson, response, resultContinuation) {
|
|
2010
2010
|
CoroutineImpl.call(this, resultContinuation);
|
|
2011
|
-
this.
|
|
2012
|
-
this.
|
|
2013
|
-
this.
|
|
2011
|
+
this.k63_1 = _this__u8e3s4;
|
|
2012
|
+
this.l63_1 = bodyAsJson;
|
|
2013
|
+
this.m63_1 = response;
|
|
2014
2014
|
}
|
|
2015
2015
|
protoOf($throwIfErrorCOROUTINE$).t9 = function () {
|
|
2016
2016
|
var suspendResult = this.n9_1;
|
|
@@ -2020,13 +2020,13 @@
|
|
|
2020
2020
|
switch (tmp) {
|
|
2021
2021
|
case 0:
|
|
2022
2022
|
this.m9_1 = 3;
|
|
2023
|
-
var this_0 = this.
|
|
2023
|
+
var this_0 = this.l63_1;
|
|
2024
2024
|
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).i2('error')) {
|
|
2025
2025
|
var tmp_0 = this;
|
|
2026
|
-
tmp_0.
|
|
2027
|
-
this.
|
|
2026
|
+
tmp_0.n63_1 = this.m63_1;
|
|
2027
|
+
this.o63_1 = this.n63_1;
|
|
2028
2028
|
this.l9_1 = 2;
|
|
2029
|
-
var tmp_1 = this.
|
|
2029
|
+
var tmp_1 = this.o63_1.t3a();
|
|
2030
2030
|
var tmp_2 = JsType_instance;
|
|
2031
2031
|
var tmp_3 = getKClass(ErrorResponseDto);
|
|
2032
2032
|
var tmp_4;
|
|
@@ -2042,7 +2042,7 @@
|
|
|
2042
2042
|
}
|
|
2043
2043
|
tmp_4 = tmp_5;
|
|
2044
2044
|
}
|
|
2045
|
-
suspendResult = tmp_1.
|
|
2045
|
+
suspendResult = tmp_1.x39(typeInfoImpl(tmp_2, tmp_3, tmp_4), this);
|
|
2046
2046
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2047
2047
|
return suspendResult;
|
|
2048
2048
|
}
|
|
@@ -2056,10 +2056,10 @@
|
|
|
2056
2056
|
return Unit_instance;
|
|
2057
2057
|
case 2:
|
|
2058
2058
|
var errorResponseDto = suspendResult instanceof ErrorResponseDto ? suspendResult : THROW_CCE();
|
|
2059
|
-
var tmp0_safe_receiver = errorResponseDto.
|
|
2060
|
-
var tmp_6 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2061
|
-
var tmp1_safe_receiver = errorResponseDto.
|
|
2062
|
-
throw new RandomException(tmp_6, tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2059
|
+
var tmp0_safe_receiver = errorResponseDto.d61_1;
|
|
2060
|
+
var tmp_6 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g61_1;
|
|
2061
|
+
var tmp1_safe_receiver = errorResponseDto.d61_1;
|
|
2062
|
+
throw new RandomException(tmp_6, tmp1_safe_receiver == null ? null : tmp1_safe_receiver.h61_1);
|
|
2063
2063
|
case 3:
|
|
2064
2064
|
throw this.o9_1;
|
|
2065
2065
|
}
|
|
@@ -2075,10 +2075,10 @@
|
|
|
2075
2075
|
while (true);
|
|
2076
2076
|
};
|
|
2077
2077
|
function RandomOrgApiServiceImpl(client, apiKey) {
|
|
2078
|
-
this.
|
|
2079
|
-
this.
|
|
2078
|
+
this.v64_1 = client;
|
|
2079
|
+
this.w64_1 = apiKey;
|
|
2080
2080
|
}
|
|
2081
|
-
protoOf(RandomOrgApiServiceImpl).
|
|
2081
|
+
protoOf(RandomOrgApiServiceImpl).b63 = function (min, max, decksCount, cardsCount, userData, signed, $completion) {
|
|
2082
2082
|
var tmp = new $getRandomCardDecksCOROUTINE$(this, min, max, decksCount, cardsCount, userData, signed, $completion);
|
|
2083
2083
|
tmp.n9_1 = Unit_instance;
|
|
2084
2084
|
tmp.o9_1 = null;
|
|
@@ -2103,16 +2103,16 @@
|
|
|
2103
2103
|
this.failedRequestAttempts = failedRequestAttempts;
|
|
2104
2104
|
this.failedAttemptCooldown = failedAttemptCooldown;
|
|
2105
2105
|
}
|
|
2106
|
-
protoOf(PoolParams).
|
|
2106
|
+
protoOf(PoolParams).w60 = function () {
|
|
2107
2107
|
return this.poolSize;
|
|
2108
2108
|
};
|
|
2109
|
-
protoOf(PoolParams).
|
|
2109
|
+
protoOf(PoolParams).x60 = function () {
|
|
2110
2110
|
return this.thresholdForUsedPool;
|
|
2111
2111
|
};
|
|
2112
|
-
protoOf(PoolParams).
|
|
2112
|
+
protoOf(PoolParams).x64 = function () {
|
|
2113
2113
|
return this.failedRequestAttempts;
|
|
2114
2114
|
};
|
|
2115
|
-
protoOf(PoolParams).
|
|
2115
|
+
protoOf(PoolParams).y64 = function () {
|
|
2116
2116
|
return this.failedAttemptCooldown;
|
|
2117
2117
|
};
|
|
2118
2118
|
protoOf(PoolParams).kf = function () {
|
|
@@ -2124,10 +2124,10 @@
|
|
|
2124
2124
|
protoOf(PoolParams).um = function () {
|
|
2125
2125
|
return this.failedRequestAttempts;
|
|
2126
2126
|
};
|
|
2127
|
-
protoOf(PoolParams).
|
|
2127
|
+
protoOf(PoolParams).z64 = function () {
|
|
2128
2128
|
return this.failedAttemptCooldown;
|
|
2129
2129
|
};
|
|
2130
|
-
protoOf(PoolParams).
|
|
2130
|
+
protoOf(PoolParams).a65 = function (poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) {
|
|
2131
2131
|
return new PoolParams(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown);
|
|
2132
2132
|
};
|
|
2133
2133
|
protoOf(PoolParams).copy = function (poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown, $super) {
|
|
@@ -2135,7 +2135,7 @@
|
|
|
2135
2135
|
thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
|
|
2136
2136
|
failedRequestAttempts = failedRequestAttempts === VOID ? this.failedRequestAttempts : failedRequestAttempts;
|
|
2137
2137
|
failedAttemptCooldown = failedAttemptCooldown === VOID ? this.failedAttemptCooldown : failedAttemptCooldown;
|
|
2138
|
-
return $super === VOID ? this.
|
|
2138
|
+
return $super === VOID ? this.a65(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) : $super.a65.call(this, poolSize, thresholdForUsedPool, failedRequestAttempts, new Duration(failedAttemptCooldown));
|
|
2139
2139
|
};
|
|
2140
2140
|
protoOf(PoolParams).toString = function () {
|
|
2141
2141
|
return 'PoolParams(poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', failedRequestAttempts=' + this.failedRequestAttempts + ', failedAttemptCooldown=' + Duration__toString_impl_8d916b(this.failedAttemptCooldown) + ')';
|
|
@@ -2166,70 +2166,70 @@
|
|
|
2166
2166
|
function RandomPoolProvider() {
|
|
2167
2167
|
}
|
|
2168
2168
|
function _get_cardDecksCount__ihvb5i($this) {
|
|
2169
|
-
return $this.
|
|
2169
|
+
return $this.f65_1.g60_1.m();
|
|
2170
2170
|
}
|
|
2171
2171
|
function RandomPoolValue(randomResult, usedByGames, reservedCardDecks, isUsed) {
|
|
2172
2172
|
usedByGames = usedByGames === VOID ? emptyMap() : usedByGames;
|
|
2173
2173
|
reservedCardDecks = reservedCardDecks === VOID ? 0 : reservedCardDecks;
|
|
2174
2174
|
isUsed = isUsed === VOID ? false : isUsed;
|
|
2175
|
-
this.
|
|
2176
|
-
this.
|
|
2177
|
-
this.
|
|
2178
|
-
this.
|
|
2175
|
+
this.f65_1 = randomResult;
|
|
2176
|
+
this.g65_1 = usedByGames;
|
|
2177
|
+
this.h65_1 = reservedCardDecks;
|
|
2178
|
+
this.i65_1 = isUsed;
|
|
2179
2179
|
}
|
|
2180
|
-
protoOf(RandomPoolValue).
|
|
2181
|
-
if (this.
|
|
2180
|
+
protoOf(RandomPoolValue).j65 = function (minRoundsCount) {
|
|
2181
|
+
if (this.i65_1) {
|
|
2182
2182
|
return false;
|
|
2183
2183
|
}
|
|
2184
|
-
var availableCount = _get_cardDecksCount__ihvb5i(this) - this.
|
|
2184
|
+
var availableCount = _get_cardDecksCount__ihvb5i(this) - this.h65_1 | 0;
|
|
2185
2185
|
return availableCount >= minRoundsCount;
|
|
2186
2186
|
};
|
|
2187
|
-
protoOf(RandomPoolValue).
|
|
2188
|
-
var previousReservedCardDeckIndex = this.
|
|
2187
|
+
protoOf(RandomPoolValue).k65 = function (gameId, requestedCardDecks, thresholdForUsedPool) {
|
|
2188
|
+
var previousReservedCardDeckIndex = this.h65_1;
|
|
2189
2189
|
// Inline function 'kotlin.apply' call
|
|
2190
|
-
var this_0 = toMutableMap(this.
|
|
2190
|
+
var this_0 = toMutableMap(this.g65_1);
|
|
2191
2191
|
this_0.n2(gameId, previousReservedCardDeckIndex);
|
|
2192
2192
|
var newNewUsedBy = toMap(this_0);
|
|
2193
2193
|
var newReservedCardDecks = previousReservedCardDeckIndex + requestedCardDecks | 0;
|
|
2194
|
-
return this.
|
|
2194
|
+
return this.l65(VOID, newNewUsedBy, newReservedCardDecks, (newReservedCardDecks + thresholdForUsedPool | 0) > _get_cardDecksCount__ihvb5i(this));
|
|
2195
2195
|
};
|
|
2196
|
-
protoOf(RandomPoolValue).
|
|
2197
|
-
var currentCardDeckIndex = getValue(this.
|
|
2196
|
+
protoOf(RandomPoolValue).m65 = function (gameId) {
|
|
2197
|
+
var currentCardDeckIndex = getValue(this.g65_1, gameId);
|
|
2198
2198
|
var tmp;
|
|
2199
|
-
if (currentCardDeckIndex === get_lastIndex(this.
|
|
2199
|
+
if (currentCardDeckIndex === get_lastIndex(this.f65_1.g60_1)) {
|
|
2200
2200
|
tmp = 0;
|
|
2201
2201
|
} else {
|
|
2202
2202
|
tmp = currentCardDeckIndex + 1 | 0;
|
|
2203
2203
|
}
|
|
2204
2204
|
var newCardDeckIndex = tmp;
|
|
2205
2205
|
// Inline function 'kotlin.apply' call
|
|
2206
|
-
var this_0 = toMutableMap(this.
|
|
2206
|
+
var this_0 = toMutableMap(this.g65_1);
|
|
2207
2207
|
this_0.n2(gameId, newCardDeckIndex);
|
|
2208
2208
|
var newNewUsedBy = toMap(this_0);
|
|
2209
|
-
return this.
|
|
2209
|
+
return this.l65(VOID, newNewUsedBy);
|
|
2210
2210
|
};
|
|
2211
|
-
protoOf(RandomPoolValue).
|
|
2212
|
-
var index = getValue(this.
|
|
2213
|
-
return new GameCardDeckData(index, this.
|
|
2211
|
+
protoOf(RandomPoolValue).n65 = function (gameId) {
|
|
2212
|
+
var index = getValue(this.g65_1, gameId);
|
|
2213
|
+
return new GameCardDeckData(index, this.f65_1.g60_1.o(index));
|
|
2214
2214
|
};
|
|
2215
|
-
protoOf(RandomPoolValue).
|
|
2215
|
+
protoOf(RandomPoolValue).o65 = function (randomResult, usedByGames, reservedCardDecks, isUsed) {
|
|
2216
2216
|
return new RandomPoolValue(randomResult, usedByGames, reservedCardDecks, isUsed);
|
|
2217
2217
|
};
|
|
2218
|
-
protoOf(RandomPoolValue).
|
|
2219
|
-
randomResult = randomResult === VOID ? this.
|
|
2220
|
-
usedByGames = usedByGames === VOID ? this.
|
|
2221
|
-
reservedCardDecks = reservedCardDecks === VOID ? this.
|
|
2222
|
-
isUsed = isUsed === VOID ? this.
|
|
2223
|
-
return $super === VOID ? this.
|
|
2218
|
+
protoOf(RandomPoolValue).l65 = function (randomResult, usedByGames, reservedCardDecks, isUsed, $super) {
|
|
2219
|
+
randomResult = randomResult === VOID ? this.f65_1 : randomResult;
|
|
2220
|
+
usedByGames = usedByGames === VOID ? this.g65_1 : usedByGames;
|
|
2221
|
+
reservedCardDecks = reservedCardDecks === VOID ? this.h65_1 : reservedCardDecks;
|
|
2222
|
+
isUsed = isUsed === VOID ? this.i65_1 : isUsed;
|
|
2223
|
+
return $super === VOID ? this.o65(randomResult, usedByGames, reservedCardDecks, isUsed) : $super.o65.call(this, randomResult, usedByGames, reservedCardDecks, isUsed);
|
|
2224
2224
|
};
|
|
2225
2225
|
protoOf(RandomPoolValue).toString = function () {
|
|
2226
|
-
return 'RandomPoolValue(randomResult=' + this.
|
|
2226
|
+
return 'RandomPoolValue(randomResult=' + this.f65_1.toString() + ', usedByGames=' + toString(this.g65_1) + ', reservedCardDecks=' + this.h65_1 + ', isUsed=' + this.i65_1 + ')';
|
|
2227
2227
|
};
|
|
2228
2228
|
protoOf(RandomPoolValue).hashCode = function () {
|
|
2229
|
-
var result = this.
|
|
2230
|
-
result = imul(result, 31) + hashCode(this.
|
|
2231
|
-
result = imul(result, 31) + this.
|
|
2232
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2229
|
+
var result = this.f65_1.hashCode();
|
|
2230
|
+
result = imul(result, 31) + hashCode(this.g65_1) | 0;
|
|
2231
|
+
result = imul(result, 31) + this.h65_1 | 0;
|
|
2232
|
+
result = imul(result, 31) + getBooleanHashCode(this.i65_1) | 0;
|
|
2233
2233
|
return result;
|
|
2234
2234
|
};
|
|
2235
2235
|
protoOf(RandomPoolValue).equals = function (other) {
|
|
@@ -2238,22 +2238,22 @@
|
|
|
2238
2238
|
if (!(other instanceof RandomPoolValue))
|
|
2239
2239
|
return false;
|
|
2240
2240
|
var tmp0_other_with_cast = other instanceof RandomPoolValue ? other : THROW_CCE();
|
|
2241
|
-
if (!this.
|
|
2241
|
+
if (!this.f65_1.equals(tmp0_other_with_cast.f65_1))
|
|
2242
2242
|
return false;
|
|
2243
|
-
if (!equals(this.
|
|
2243
|
+
if (!equals(this.g65_1, tmp0_other_with_cast.g65_1))
|
|
2244
2244
|
return false;
|
|
2245
|
-
if (!(this.
|
|
2245
|
+
if (!(this.h65_1 === tmp0_other_with_cast.h65_1))
|
|
2246
2246
|
return false;
|
|
2247
|
-
if (!(this.
|
|
2247
|
+
if (!(this.i65_1 === tmp0_other_with_cast.i65_1))
|
|
2248
2248
|
return false;
|
|
2249
2249
|
return true;
|
|
2250
2250
|
};
|
|
2251
2251
|
function getExceptionIfCooldown($this) {
|
|
2252
2252
|
var currentTime = System_instance.zk();
|
|
2253
|
-
if (!($this.
|
|
2254
|
-
var timeToWait = Duration__times_impl_sfuzvp($this.
|
|
2253
|
+
if (!($this.x65_1 == null) && $this.y65_1 >= $this.p65_1.failedRequestAttempts) {
|
|
2254
|
+
var timeToWait = Duration__times_impl_sfuzvp($this.p65_1.failedAttemptCooldown, $this.y65_1);
|
|
2255
2255
|
// Inline function 'kotlin.requireNotNull' call
|
|
2256
|
-
var tmp0 = $this.
|
|
2256
|
+
var tmp0 = $this.x65_1;
|
|
2257
2257
|
var tmp$ret$1;
|
|
2258
2258
|
$l$block: {
|
|
2259
2259
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -2267,20 +2267,20 @@
|
|
|
2267
2267
|
}
|
|
2268
2268
|
var allowedRequestTime = tmp$ret$1.ol(timeToWait);
|
|
2269
2269
|
if (allowedRequestTime.rl(currentTime) > 0) {
|
|
2270
|
-
var exception = new RandomException(VOID, 'getExceptionIfCooldown: ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.
|
|
2270
|
+
var exception = new RandomException(VOID, 'getExceptionIfCooldown: ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.x65_1) + ', ') + ('currentTime = ' + currentTime.toString() + ', ') + ('failedRequestCount = ' + $this.y65_1));
|
|
2271
2271
|
return exception;
|
|
2272
2272
|
} else {
|
|
2273
|
-
$this.
|
|
2273
|
+
$this.x65_1 = null;
|
|
2274
2274
|
}
|
|
2275
2275
|
}
|
|
2276
2276
|
return null;
|
|
2277
2277
|
}
|
|
2278
2278
|
function mapToRandomExceptionIfError($this, error) {
|
|
2279
|
-
$this.
|
|
2280
|
-
$this.
|
|
2281
|
-
var timeToWait = Duration__times_impl_sfuzvp($this.
|
|
2279
|
+
$this.x65_1 = System_instance.zk();
|
|
2280
|
+
$this.y65_1 = $this.y65_1 + 1 | 0;
|
|
2281
|
+
var timeToWait = Duration__times_impl_sfuzvp($this.p65_1.failedAttemptCooldown, $this.y65_1);
|
|
2282
2282
|
// Inline function 'kotlin.requireNotNull' call
|
|
2283
|
-
var tmp0 = $this.
|
|
2283
|
+
var tmp0 = $this.x65_1;
|
|
2284
2284
|
var tmp$ret$1;
|
|
2285
2285
|
$l$block: {
|
|
2286
2286
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -2293,8 +2293,8 @@
|
|
|
2293
2293
|
}
|
|
2294
2294
|
}
|
|
2295
2295
|
var allowedRequestTime = tmp$ret$1.ol(timeToWait);
|
|
2296
|
-
var randomException = new RandomException(VOID, 'mapToRandomExceptionIfError: error message = ' + error.message + ', ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.
|
|
2297
|
-
$this.
|
|
2296
|
+
var randomException = new RandomException(VOID, 'mapToRandomExceptionIfError: error message = ' + error.message + ', ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.x65_1) + ', ') + ('currentTime = ' + System_instance.zk().toString() + ', ') + ('failedRequestCount = ' + $this.y65_1), error);
|
|
2297
|
+
$this.r65_1.w('RandomPoolProvider', VOID, randomException);
|
|
2298
2298
|
return randomException;
|
|
2299
2299
|
}
|
|
2300
2300
|
function getOrLoadGameCardDeckData($this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
@@ -2304,7 +2304,7 @@
|
|
|
2304
2304
|
return tmp.t9();
|
|
2305
2305
|
}
|
|
2306
2306
|
function getPreparedGameCardDecksRecord($this, poolId, signature, cardDeckData, userData) {
|
|
2307
|
-
var existingCardDeck = $this.
|
|
2307
|
+
var existingCardDeck = $this.w65_1.k2(userData.gameId);
|
|
2308
2308
|
var tmp;
|
|
2309
2309
|
if (!(existingCardDeck == null)) {
|
|
2310
2310
|
tmp = Companion_instance_2.nextRound(existingCardDeck, cardDeckData);
|
|
@@ -2320,13 +2320,13 @@
|
|
|
2320
2320
|
return tmp.t9();
|
|
2321
2321
|
}
|
|
2322
2322
|
function requestNewPool($this, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2323
|
-
return withContext($this.
|
|
2323
|
+
return withContext($this.s65_1, RandomPoolProviderImpl$requestNewPool$slambda_0($this, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
2324
2324
|
}
|
|
2325
2325
|
function Companion_9() {
|
|
2326
|
-
this.
|
|
2327
|
-
this.
|
|
2328
|
-
this.
|
|
2329
|
-
this.
|
|
2326
|
+
this.i67_1 = 100;
|
|
2327
|
+
this.j67_1 = 3;
|
|
2328
|
+
this.k67_1 = 3000;
|
|
2329
|
+
this.l67_1 = 10000;
|
|
2330
2330
|
}
|
|
2331
2331
|
var Companion_instance_11;
|
|
2332
2332
|
function Companion_getInstance_12() {
|
|
@@ -2336,18 +2336,18 @@
|
|
|
2336
2336
|
return uuid4().toString();
|
|
2337
2337
|
}
|
|
2338
2338
|
function RandomPoolProviderImpl$getCardDeck$slambda(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2339
|
-
this.
|
|
2340
|
-
this.
|
|
2341
|
-
this.
|
|
2342
|
-
this.
|
|
2343
|
-
this.
|
|
2344
|
-
this.
|
|
2345
|
-
this.
|
|
2346
|
-
this.
|
|
2339
|
+
this.u67_1 = this$0;
|
|
2340
|
+
this.v67_1 = $minRoundsCountInPool;
|
|
2341
|
+
this.w67_1 = $userData;
|
|
2342
|
+
this.x67_1 = $min;
|
|
2343
|
+
this.y67_1 = $max;
|
|
2344
|
+
this.z67_1 = $cardsCount;
|
|
2345
|
+
this.a68_1 = $signed;
|
|
2346
|
+
this.b68_1 = $requestDurationWarnMillis;
|
|
2347
2347
|
CoroutineImpl.call(this, resultContinuation);
|
|
2348
2348
|
}
|
|
2349
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2350
|
-
var tmp = this.
|
|
2349
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).j68 = function ($this$withContext, $completion) {
|
|
2350
|
+
var tmp = this.z1i($this$withContext, $completion);
|
|
2351
2351
|
tmp.n9_1 = Unit_instance;
|
|
2352
2352
|
tmp.o9_1 = null;
|
|
2353
2353
|
var tmp_0 = tmp.t9();
|
|
@@ -2356,7 +2356,7 @@
|
|
|
2356
2356
|
return tmp_0;
|
|
2357
2357
|
};
|
|
2358
2358
|
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).da = function (p1, $completion) {
|
|
2359
|
-
return this.
|
|
2359
|
+
return this.j68((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2360
2360
|
};
|
|
2361
2361
|
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).t9 = function () {
|
|
2362
2362
|
var suspendResult = this.n9_1;
|
|
@@ -2367,32 +2367,32 @@
|
|
|
2367
2367
|
case 0:
|
|
2368
2368
|
this.m9_1 = 10;
|
|
2369
2369
|
var tmp_0 = this;
|
|
2370
|
-
tmp_0.
|
|
2371
|
-
this.
|
|
2370
|
+
tmp_0.d68_1 = this.u67_1.u65_1;
|
|
2371
|
+
this.e68_1 = this.d68_1;
|
|
2372
2372
|
var tmp_1 = this;
|
|
2373
|
-
tmp_1.
|
|
2373
|
+
tmp_1.f68_1 = null;
|
|
2374
2374
|
this.l9_1 = 1;
|
|
2375
|
-
suspendResult = this.
|
|
2375
|
+
suspendResult = this.e68_1.a1y(this.f68_1, this);
|
|
2376
2376
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2377
2377
|
return suspendResult;
|
|
2378
2378
|
}
|
|
2379
2379
|
|
|
2380
2380
|
continue $sm;
|
|
2381
2381
|
case 1:
|
|
2382
|
-
this.
|
|
2382
|
+
this.g68_1 = Unit_instance;
|
|
2383
2383
|
this.l9_1 = 2;
|
|
2384
2384
|
continue $sm;
|
|
2385
2385
|
case 2:
|
|
2386
2386
|
this.m9_1 = 9;
|
|
2387
|
-
this.
|
|
2387
|
+
this.h68_1 = Unit_instance;
|
|
2388
2388
|
this.l9_1 = 3;
|
|
2389
2389
|
continue $sm;
|
|
2390
2390
|
case 3:
|
|
2391
|
-
this.
|
|
2392
|
-
if (!(this.
|
|
2391
|
+
this.i68_1 = getExceptionIfCooldown(this.u67_1);
|
|
2392
|
+
if (!(this.i68_1 == null)) {
|
|
2393
2393
|
var tmp_2 = this;
|
|
2394
|
-
var exception = this.
|
|
2395
|
-
tmp_2.
|
|
2394
|
+
var exception = this.i68_1;
|
|
2395
|
+
tmp_2.h68_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception)));
|
|
2396
2396
|
this.l9_1 = 7;
|
|
2397
2397
|
continue $sm;
|
|
2398
2398
|
} else {
|
|
@@ -2403,7 +2403,7 @@
|
|
|
2403
2403
|
case 4:
|
|
2404
2404
|
this.m9_1 = 6;
|
|
2405
2405
|
this.l9_1 = 5;
|
|
2406
|
-
suspendResult = getOrLoadGameCardDeckData(this.
|
|
2406
|
+
suspendResult = getOrLoadGameCardDeckData(this.u67_1, this.v67_1, this.w67_1, this.x67_1, this.y67_1, this.z67_1, this.a68_1, this.b68_1, this);
|
|
2407
2407
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2408
2408
|
return suspendResult;
|
|
2409
2409
|
}
|
|
@@ -2412,7 +2412,7 @@
|
|
|
2412
2412
|
case 5:
|
|
2413
2413
|
var cardDeckData = suspendResult;
|
|
2414
2414
|
var tmp_3 = this;
|
|
2415
|
-
tmp_3.
|
|
2415
|
+
tmp_3.h68_1 = new Result(_Result___init__impl__xyqfz8(cardDeckData));
|
|
2416
2416
|
this.l9_1 = 7;
|
|
2417
2417
|
continue $sm;
|
|
2418
2418
|
case 6:
|
|
@@ -2421,8 +2421,8 @@
|
|
|
2421
2421
|
if (tmp_4 instanceof Error) {
|
|
2422
2422
|
var error = this.o9_1;
|
|
2423
2423
|
var tmp_5 = this;
|
|
2424
|
-
var exception_0 = mapToRandomExceptionIfError(this.
|
|
2425
|
-
tmp_5.
|
|
2424
|
+
var exception_0 = mapToRandomExceptionIfError(this.u67_1, error);
|
|
2425
|
+
tmp_5.h68_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception_0)));
|
|
2426
2426
|
this.l9_1 = 7;
|
|
2427
2427
|
continue $sm;
|
|
2428
2428
|
} else {
|
|
@@ -2430,19 +2430,19 @@
|
|
|
2430
2430
|
}
|
|
2431
2431
|
|
|
2432
2432
|
case 7:
|
|
2433
|
-
this.
|
|
2433
|
+
this.g68_1 = this.h68_1;
|
|
2434
2434
|
this.m9_1 = 10;
|
|
2435
2435
|
this.l9_1 = 8;
|
|
2436
2436
|
continue $sm;
|
|
2437
2437
|
case 8:
|
|
2438
|
-
var tmp_6 = this.
|
|
2438
|
+
var tmp_6 = this.g68_1;
|
|
2439
2439
|
this.m9_1 = 10;
|
|
2440
|
-
this.
|
|
2440
|
+
this.e68_1.l1x(this.f68_1);
|
|
2441
2441
|
return tmp_6;
|
|
2442
2442
|
case 9:
|
|
2443
2443
|
this.m9_1 = 10;
|
|
2444
2444
|
var t = this.o9_1;
|
|
2445
|
-
this.
|
|
2445
|
+
this.e68_1.l1x(this.f68_1);
|
|
2446
2446
|
throw t;
|
|
2447
2447
|
case 10:
|
|
2448
2448
|
throw this.o9_1;
|
|
@@ -2458,30 +2458,30 @@
|
|
|
2458
2458
|
}
|
|
2459
2459
|
while (true);
|
|
2460
2460
|
};
|
|
2461
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2462
|
-
var i = new RandomPoolProviderImpl$getCardDeck$slambda(this.
|
|
2463
|
-
i.
|
|
2461
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).z1i = function ($this$withContext, completion) {
|
|
2462
|
+
var i = new RandomPoolProviderImpl$getCardDeck$slambda(this.u67_1, this.v67_1, this.w67_1, this.x67_1, this.y67_1, this.z67_1, this.a68_1, this.b68_1, completion);
|
|
2463
|
+
i.c68_1 = $this$withContext;
|
|
2464
2464
|
return i;
|
|
2465
2465
|
};
|
|
2466
2466
|
function RandomPoolProviderImpl$getCardDeck$slambda_0(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2467
2467
|
var i = new RandomPoolProviderImpl$getCardDeck$slambda(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
|
|
2468
2468
|
var l = function ($this$withContext, $completion) {
|
|
2469
|
-
return i.
|
|
2469
|
+
return i.j68($this$withContext, $completion);
|
|
2470
2470
|
};
|
|
2471
2471
|
l.$arity = 1;
|
|
2472
2472
|
return l;
|
|
2473
2473
|
}
|
|
2474
2474
|
function RandomPoolProviderImpl$prefetchCardDecks$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2475
|
-
this.
|
|
2476
|
-
this.
|
|
2477
|
-
this.
|
|
2478
|
-
this.
|
|
2479
|
-
this.
|
|
2480
|
-
this.
|
|
2475
|
+
this.s68_1 = this$0;
|
|
2476
|
+
this.t68_1 = $min;
|
|
2477
|
+
this.u68_1 = $max;
|
|
2478
|
+
this.v68_1 = $cardsCount;
|
|
2479
|
+
this.w68_1 = $signed;
|
|
2480
|
+
this.x68_1 = $requestDurationWarnMillis;
|
|
2481
2481
|
CoroutineImpl.call(this, resultContinuation);
|
|
2482
2482
|
}
|
|
2483
|
-
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).
|
|
2484
|
-
var tmp = this.
|
|
2483
|
+
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).f69 = function ($this$withContext, $completion) {
|
|
2484
|
+
var tmp = this.z1i($this$withContext, $completion);
|
|
2485
2485
|
tmp.n9_1 = Unit_instance;
|
|
2486
2486
|
tmp.o9_1 = null;
|
|
2487
2487
|
var tmp_0 = tmp.t9();
|
|
@@ -2490,7 +2490,7 @@
|
|
|
2490
2490
|
return tmp_0;
|
|
2491
2491
|
};
|
|
2492
2492
|
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).da = function (p1, $completion) {
|
|
2493
|
-
return this.
|
|
2493
|
+
return this.f69((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2494
2494
|
};
|
|
2495
2495
|
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).t9 = function () {
|
|
2496
2496
|
var suspendResult = this.n9_1;
|
|
@@ -2501,32 +2501,32 @@
|
|
|
2501
2501
|
case 0:
|
|
2502
2502
|
this.m9_1 = 10;
|
|
2503
2503
|
var tmp_0 = this;
|
|
2504
|
-
tmp_0.
|
|
2505
|
-
this.
|
|
2504
|
+
tmp_0.z68_1 = this.s68_1.u65_1;
|
|
2505
|
+
this.a69_1 = this.z68_1;
|
|
2506
2506
|
var tmp_1 = this;
|
|
2507
|
-
tmp_1.
|
|
2507
|
+
tmp_1.b69_1 = null;
|
|
2508
2508
|
this.l9_1 = 1;
|
|
2509
|
-
suspendResult = this.
|
|
2509
|
+
suspendResult = this.a69_1.a1y(this.b69_1, this);
|
|
2510
2510
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2511
2511
|
return suspendResult;
|
|
2512
2512
|
}
|
|
2513
2513
|
|
|
2514
2514
|
continue $sm;
|
|
2515
2515
|
case 1:
|
|
2516
|
-
this.
|
|
2516
|
+
this.c69_1 = Unit_instance;
|
|
2517
2517
|
this.l9_1 = 2;
|
|
2518
2518
|
continue $sm;
|
|
2519
2519
|
case 2:
|
|
2520
2520
|
this.m9_1 = 9;
|
|
2521
|
-
this.
|
|
2521
|
+
this.d69_1 = Unit_instance;
|
|
2522
2522
|
this.l9_1 = 3;
|
|
2523
2523
|
continue $sm;
|
|
2524
2524
|
case 3:
|
|
2525
|
-
this.
|
|
2526
|
-
if (!(this.
|
|
2525
|
+
this.e69_1 = getExceptionIfCooldown(this.s68_1);
|
|
2526
|
+
if (!(this.e69_1 == null)) {
|
|
2527
2527
|
var tmp_2 = this;
|
|
2528
|
-
var exception = this.
|
|
2529
|
-
tmp_2.
|
|
2528
|
+
var exception = this.e69_1;
|
|
2529
|
+
tmp_2.d69_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception)));
|
|
2530
2530
|
this.l9_1 = 7;
|
|
2531
2531
|
continue $sm;
|
|
2532
2532
|
} else {
|
|
@@ -2537,7 +2537,7 @@
|
|
|
2537
2537
|
case 4:
|
|
2538
2538
|
this.m9_1 = 6;
|
|
2539
2539
|
this.l9_1 = 5;
|
|
2540
|
-
suspendResult = requestNewPool(this.
|
|
2540
|
+
suspendResult = requestNewPool(this.s68_1, this.t68_1, this.u68_1, this.v68_1, this.w68_1, this.x68_1, this);
|
|
2541
2541
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2542
2542
|
return suspendResult;
|
|
2543
2543
|
}
|
|
@@ -2545,13 +2545,13 @@
|
|
|
2545
2545
|
continue $sm;
|
|
2546
2546
|
case 5:
|
|
2547
2547
|
var randomPoolValue = suspendResult;
|
|
2548
|
-
var tmp0 = this.
|
|
2549
|
-
var key = randomPoolValue.
|
|
2548
|
+
var tmp0 = this.s68_1.v65_1;
|
|
2549
|
+
var key = randomPoolValue.f65_1.i60_1;
|
|
2550
2550
|
tmp0.n2(key, randomPoolValue);
|
|
2551
|
-
this.
|
|
2552
|
-
this.
|
|
2551
|
+
this.s68_1.y65_1 = 0;
|
|
2552
|
+
this.s68_1.x65_1 = null;
|
|
2553
2553
|
var tmp_3 = this;
|
|
2554
|
-
tmp_3.
|
|
2554
|
+
tmp_3.d69_1 = new Result(_Result___init__impl__xyqfz8(Unit_instance));
|
|
2555
2555
|
this.l9_1 = 7;
|
|
2556
2556
|
continue $sm;
|
|
2557
2557
|
case 6:
|
|
@@ -2560,8 +2560,8 @@
|
|
|
2560
2560
|
if (tmp_4 instanceof Error) {
|
|
2561
2561
|
var error = this.o9_1;
|
|
2562
2562
|
var tmp_5 = this;
|
|
2563
|
-
var exception_0 = mapToRandomExceptionIfError(this.
|
|
2564
|
-
tmp_5.
|
|
2563
|
+
var exception_0 = mapToRandomExceptionIfError(this.s68_1, error);
|
|
2564
|
+
tmp_5.d69_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception_0)));
|
|
2565
2565
|
this.l9_1 = 7;
|
|
2566
2566
|
continue $sm;
|
|
2567
2567
|
} else {
|
|
@@ -2569,19 +2569,19 @@
|
|
|
2569
2569
|
}
|
|
2570
2570
|
|
|
2571
2571
|
case 7:
|
|
2572
|
-
this.
|
|
2572
|
+
this.c69_1 = this.d69_1;
|
|
2573
2573
|
this.m9_1 = 10;
|
|
2574
2574
|
this.l9_1 = 8;
|
|
2575
2575
|
continue $sm;
|
|
2576
2576
|
case 8:
|
|
2577
|
-
var tmp_6 = this.
|
|
2577
|
+
var tmp_6 = this.c69_1;
|
|
2578
2578
|
this.m9_1 = 10;
|
|
2579
|
-
this.
|
|
2579
|
+
this.a69_1.l1x(this.b69_1);
|
|
2580
2580
|
return tmp_6;
|
|
2581
2581
|
case 9:
|
|
2582
2582
|
this.m9_1 = 10;
|
|
2583
2583
|
var t = this.o9_1;
|
|
2584
|
-
this.
|
|
2584
|
+
this.a69_1.l1x(this.b69_1);
|
|
2585
2585
|
throw t;
|
|
2586
2586
|
case 10:
|
|
2587
2587
|
throw this.o9_1;
|
|
@@ -2597,36 +2597,36 @@
|
|
|
2597
2597
|
}
|
|
2598
2598
|
while (true);
|
|
2599
2599
|
};
|
|
2600
|
-
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).
|
|
2601
|
-
var i = new RandomPoolProviderImpl$prefetchCardDecks$slambda(this.
|
|
2602
|
-
i.
|
|
2600
|
+
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).z1i = function ($this$withContext, completion) {
|
|
2601
|
+
var i = new RandomPoolProviderImpl$prefetchCardDecks$slambda(this.s68_1, this.t68_1, this.u68_1, this.v68_1, this.w68_1, this.x68_1, completion);
|
|
2602
|
+
i.y68_1 = $this$withContext;
|
|
2603
2603
|
return i;
|
|
2604
2604
|
};
|
|
2605
2605
|
function RandomPoolProviderImpl$prefetchCardDecks$slambda_0(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2606
2606
|
var i = new RandomPoolProviderImpl$prefetchCardDecks$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
|
|
2607
2607
|
var l = function ($this$withContext, $completion) {
|
|
2608
|
-
return i.
|
|
2608
|
+
return i.f69($this$withContext, $completion);
|
|
2609
2609
|
};
|
|
2610
2610
|
l.$arity = 1;
|
|
2611
2611
|
return l;
|
|
2612
2612
|
}
|
|
2613
2613
|
function RandomPoolProviderImpl$requestNewPool$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2614
|
-
this.
|
|
2615
|
-
this.
|
|
2616
|
-
this.
|
|
2617
|
-
this.
|
|
2618
|
-
this.
|
|
2619
|
-
this.
|
|
2614
|
+
this.o69_1 = this$0;
|
|
2615
|
+
this.p69_1 = $min;
|
|
2616
|
+
this.q69_1 = $max;
|
|
2617
|
+
this.r69_1 = $cardsCount;
|
|
2618
|
+
this.s69_1 = $signed;
|
|
2619
|
+
this.t69_1 = $requestDurationWarnMillis;
|
|
2620
2620
|
CoroutineImpl.call(this, resultContinuation);
|
|
2621
2621
|
}
|
|
2622
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2623
|
-
var tmp = this.
|
|
2622
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).w69 = function ($this$withContext, $completion) {
|
|
2623
|
+
var tmp = this.z1i($this$withContext, $completion);
|
|
2624
2624
|
tmp.n9_1 = Unit_instance;
|
|
2625
2625
|
tmp.o9_1 = null;
|
|
2626
2626
|
return tmp.t9();
|
|
2627
2627
|
};
|
|
2628
2628
|
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).da = function (p1, $completion) {
|
|
2629
|
-
return this.
|
|
2629
|
+
return this.w69((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2630
2630
|
};
|
|
2631
2631
|
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).t9 = function () {
|
|
2632
2632
|
var suspendResult = this.n9_1;
|
|
@@ -2636,9 +2636,9 @@
|
|
|
2636
2636
|
switch (tmp) {
|
|
2637
2637
|
case 0:
|
|
2638
2638
|
this.m9_1 = 2;
|
|
2639
|
-
this.
|
|
2639
|
+
this.v69_1 = System_instance.zk();
|
|
2640
2640
|
this.l9_1 = 1;
|
|
2641
|
-
suspendResult = this.
|
|
2641
|
+
suspendResult = this.o69_1.q65_1.b63(this.p69_1, this.q69_1, this.o69_1.p65_1.poolSize, this.r69_1, new CardDecksRequestUserData(this.o69_1.t65_1(), this.o69_1.p65_1.poolSize), this.s69_1, this);
|
|
2642
2642
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2643
2643
|
return suspendResult;
|
|
2644
2644
|
}
|
|
@@ -2647,14 +2647,14 @@
|
|
|
2647
2647
|
case 1:
|
|
2648
2648
|
var result = suspendResult;
|
|
2649
2649
|
var requestEndTime = System_instance.zk();
|
|
2650
|
-
var requestDuration = requestEndTime.ql(this.
|
|
2650
|
+
var requestDuration = requestEndTime.ql(this.v69_1);
|
|
2651
2651
|
Companion_getInstance_0();
|
|
2652
|
-
var this_0 = this.
|
|
2652
|
+
var this_0 = this.t69_1;
|
|
2653
2653
|
if (Duration__compareTo_impl_pchp0f(requestDuration, toDuration(this_0, DurationUnit_MILLISECONDS_getInstance())) > 0) {
|
|
2654
2654
|
var tmp_0 = 'actual = ' + Duration__toString_impl_8d916b(requestDuration) + ', ';
|
|
2655
2655
|
Companion_getInstance_0();
|
|
2656
|
-
var this_1 = this.
|
|
2657
|
-
this.
|
|
2656
|
+
var this_1 = this.t69_1;
|
|
2657
|
+
this.o69_1.r65_1.w('RandomPoolProvider', 'Card deck request took longer then expected: ' + tmp_0 + ('expected = ' + Duration__toString_impl_8d916b(toDuration(this_1, DurationUnit_MILLISECONDS_getInstance()))));
|
|
2658
2658
|
}
|
|
2659
2659
|
|
|
2660
2660
|
return new RandomPoolValue(result);
|
|
@@ -2672,29 +2672,29 @@
|
|
|
2672
2672
|
}
|
|
2673
2673
|
while (true);
|
|
2674
2674
|
};
|
|
2675
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2676
|
-
var i = new RandomPoolProviderImpl$requestNewPool$slambda(this.
|
|
2677
|
-
i.
|
|
2675
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).z1i = function ($this$withContext, completion) {
|
|
2676
|
+
var i = new RandomPoolProviderImpl$requestNewPool$slambda(this.o69_1, this.p69_1, this.q69_1, this.r69_1, this.s69_1, this.t69_1, completion);
|
|
2677
|
+
i.u69_1 = $this$withContext;
|
|
2678
2678
|
return i;
|
|
2679
2679
|
};
|
|
2680
2680
|
function RandomPoolProviderImpl$requestNewPool$slambda_0(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2681
2681
|
var i = new RandomPoolProviderImpl$requestNewPool$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
|
|
2682
2682
|
var l = function ($this$withContext, $completion) {
|
|
2683
|
-
return i.
|
|
2683
|
+
return i.w69($this$withContext, $completion);
|
|
2684
2684
|
};
|
|
2685
2685
|
l.$arity = 1;
|
|
2686
2686
|
return l;
|
|
2687
2687
|
}
|
|
2688
2688
|
function $getOrLoadGameCardDeckDataCOROUTINE$(_this__u8e3s4, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, resultContinuation) {
|
|
2689
2689
|
CoroutineImpl.call(this, resultContinuation);
|
|
2690
|
-
this.
|
|
2691
|
-
this.
|
|
2692
|
-
this.
|
|
2693
|
-
this.
|
|
2694
|
-
this.
|
|
2695
|
-
this.
|
|
2696
|
-
this.
|
|
2697
|
-
this.
|
|
2690
|
+
this.h66_1 = _this__u8e3s4;
|
|
2691
|
+
this.i66_1 = minRoundsCountInPool;
|
|
2692
|
+
this.j66_1 = userData;
|
|
2693
|
+
this.k66_1 = min;
|
|
2694
|
+
this.l66_1 = max;
|
|
2695
|
+
this.m66_1 = cardsCount;
|
|
2696
|
+
this.n66_1 = signed;
|
|
2697
|
+
this.o66_1 = requestDurationWarnMillis;
|
|
2698
2698
|
}
|
|
2699
2699
|
protoOf($getOrLoadGameCardDeckDataCOROUTINE$).t9 = function () {
|
|
2700
2700
|
var suspendResult = this.n9_1;
|
|
@@ -2704,9 +2704,9 @@
|
|
|
2704
2704
|
switch (tmp) {
|
|
2705
2705
|
case 0:
|
|
2706
2706
|
this.m9_1 = 2;
|
|
2707
|
-
this.
|
|
2707
|
+
this.p66_1 = this.j66_1.gameId;
|
|
2708
2708
|
this.l9_1 = 1;
|
|
2709
|
-
suspendResult = getPreparedOrRequestPool(this.
|
|
2709
|
+
suspendResult = getPreparedOrRequestPool(this.h66_1, this.p66_1, this.k66_1, this.l66_1, this.i66_1, this.m66_1, this.n66_1, this.o66_1, this);
|
|
2710
2710
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2711
2711
|
return suspendResult;
|
|
2712
2712
|
}
|
|
@@ -2714,15 +2714,15 @@
|
|
|
2714
2714
|
continue $sm;
|
|
2715
2715
|
case 1:
|
|
2716
2716
|
var randomPoolValue = suspendResult;
|
|
2717
|
-
var tmp0 = this.
|
|
2718
|
-
var key = randomPoolValue.
|
|
2717
|
+
var tmp0 = this.h66_1.v65_1;
|
|
2718
|
+
var key = randomPoolValue.f65_1.i60_1;
|
|
2719
2719
|
tmp0.n2(key, randomPoolValue);
|
|
2720
|
-
var cardDeckData = randomPoolValue.
|
|
2721
|
-
var tmp1_poolId = randomPoolValue.
|
|
2722
|
-
var tmp2_signature = randomPoolValue.
|
|
2723
|
-
var cardDecksRecord = getPreparedGameCardDecksRecord(this.
|
|
2724
|
-
var tmp0_0 = this.
|
|
2725
|
-
var key_0 = this.
|
|
2720
|
+
var cardDeckData = randomPoolValue.n65(this.j66_1.gameId);
|
|
2721
|
+
var tmp1_poolId = randomPoolValue.f65_1.i60_1;
|
|
2722
|
+
var tmp2_signature = randomPoolValue.f65_1.j60_1;
|
|
2723
|
+
var cardDecksRecord = getPreparedGameCardDecksRecord(this.h66_1, tmp1_poolId, tmp2_signature, cardDeckData, this.j66_1);
|
|
2724
|
+
var tmp0_0 = this.h66_1.w65_1;
|
|
2725
|
+
var key_0 = this.j66_1.gameId;
|
|
2726
2726
|
tmp0_0.n2(key_0, cardDecksRecord);
|
|
2727
2727
|
return cardDeckData;
|
|
2728
2728
|
case 2:
|
|
@@ -2741,14 +2741,14 @@
|
|
|
2741
2741
|
};
|
|
2742
2742
|
function $getPreparedOrRequestPoolCOROUTINE$(_this__u8e3s4, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, resultContinuation) {
|
|
2743
2743
|
CoroutineImpl.call(this, resultContinuation);
|
|
2744
|
-
this.
|
|
2745
|
-
this.
|
|
2746
|
-
this.
|
|
2747
|
-
this.
|
|
2748
|
-
this.
|
|
2749
|
-
this.
|
|
2750
|
-
this.
|
|
2751
|
-
this.
|
|
2744
|
+
this.y66_1 = _this__u8e3s4;
|
|
2745
|
+
this.z66_1 = gameId;
|
|
2746
|
+
this.a67_1 = min;
|
|
2747
|
+
this.b67_1 = max;
|
|
2748
|
+
this.c67_1 = minRoundsCount;
|
|
2749
|
+
this.d67_1 = cardsCount;
|
|
2750
|
+
this.e67_1 = signed;
|
|
2751
|
+
this.f67_1 = requestDurationWarnMillis;
|
|
2752
2752
|
}
|
|
2753
2753
|
protoOf($getPreparedOrRequestPoolCOROUTINE$).t9 = function () {
|
|
2754
2754
|
var suspendResult = this.n9_1;
|
|
@@ -2759,41 +2759,41 @@
|
|
|
2759
2759
|
case 0:
|
|
2760
2760
|
this.m9_1 = 2;
|
|
2761
2761
|
var tmp_0 = this;
|
|
2762
|
-
var tmp0 = this.
|
|
2762
|
+
var tmp0 = this.y66_1.v65_1;
|
|
2763
2763
|
var destination = LinkedHashMap_init_$Create$();
|
|
2764
2764
|
var _iterator__ex2g4s = tmp0.s().j();
|
|
2765
2765
|
while (_iterator__ex2g4s.k()) {
|
|
2766
2766
|
var element = _iterator__ex2g4s.l();
|
|
2767
|
-
var tmp0_0 = element.u().
|
|
2768
|
-
var key = this.
|
|
2767
|
+
var tmp0_0 = element.u().g65_1;
|
|
2768
|
+
var key = this.z66_1;
|
|
2769
2769
|
if ((isInterface(tmp0_0, KtMap) ? tmp0_0 : THROW_CCE()).i2(key)) {
|
|
2770
2770
|
destination.n2(element.t(), element.u());
|
|
2771
2771
|
}
|
|
2772
2772
|
}
|
|
2773
2773
|
|
|
2774
|
-
tmp_0.
|
|
2775
|
-
if (!(this.
|
|
2776
|
-
return this.
|
|
2774
|
+
tmp_0.g67_1 = firstOrNull(destination.s());
|
|
2775
|
+
if (!(this.g67_1 == null)) {
|
|
2776
|
+
return this.g67_1.u().m65(this.z66_1);
|
|
2777
2777
|
}
|
|
2778
2778
|
|
|
2779
2779
|
var tmp_1 = this;
|
|
2780
|
-
var tmp0_1 = this.
|
|
2780
|
+
var tmp0_1 = this.y66_1.v65_1;
|
|
2781
2781
|
var destination_0 = LinkedHashMap_init_$Create$();
|
|
2782
2782
|
var _iterator__ex2g4s_0 = tmp0_1.s().j();
|
|
2783
2783
|
while (_iterator__ex2g4s_0.k()) {
|
|
2784
2784
|
var element_0 = _iterator__ex2g4s_0.l();
|
|
2785
|
-
if (element_0.u().
|
|
2785
|
+
if (element_0.u().j65(this.c67_1)) {
|
|
2786
2786
|
destination_0.n2(element_0.t(), element_0.u());
|
|
2787
2787
|
}
|
|
2788
2788
|
}
|
|
2789
2789
|
|
|
2790
|
-
tmp_1.
|
|
2791
|
-
if (!(this.
|
|
2792
|
-
return this.
|
|
2790
|
+
tmp_1.h67_1 = firstOrNull(destination_0.s());
|
|
2791
|
+
if (!(this.h67_1 == null)) {
|
|
2792
|
+
return this.h67_1.u().k65(this.z66_1, this.c67_1, this.y66_1.p65_1.thresholdForUsedPool);
|
|
2793
2793
|
}
|
|
2794
2794
|
|
|
2795
2795
|
this.l9_1 = 1;
|
|
2796
|
-
suspendResult = requestNewPool(this.
|
|
2796
|
+
suspendResult = requestNewPool(this.y66_1, this.a67_1, this.b67_1, this.d67_1, this.e67_1, this.f67_1, this);
|
|
2797
2797
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2798
2798
|
return suspendResult;
|
|
2799
2799
|
}
|
|
@@ -2801,7 +2801,7 @@
|
|
|
2801
2801
|
continue $sm;
|
|
2802
2802
|
case 1:
|
|
2803
2803
|
var cardDecks = suspendResult;
|
|
2804
|
-
return cardDecks.
|
|
2804
|
+
return cardDecks.k65(this.z66_1, this.c67_1, this.y66_1.p65_1.thresholdForUsedPool);
|
|
2805
2805
|
case 2:
|
|
2806
2806
|
throw this.o9_1;
|
|
2807
2807
|
}
|
|
@@ -2817,7 +2817,7 @@
|
|
|
2817
2817
|
while (true);
|
|
2818
2818
|
};
|
|
2819
2819
|
function RandomPoolProviderImpl(params, randomOrgApiService, logger, dispatcher, idsProvider) {
|
|
2820
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
2820
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().q12_1 : dispatcher;
|
|
2821
2821
|
var tmp;
|
|
2822
2822
|
if (idsProvider === VOID) {
|
|
2823
2823
|
tmp = RandomPoolProviderImpl$_init_$lambda_f6qzy3;
|
|
@@ -2825,90 +2825,90 @@
|
|
|
2825
2825
|
tmp = idsProvider;
|
|
2826
2826
|
}
|
|
2827
2827
|
idsProvider = tmp;
|
|
2828
|
-
this.
|
|
2829
|
-
this.
|
|
2830
|
-
this.
|
|
2831
|
-
this.
|
|
2832
|
-
this.
|
|
2833
|
-
this.
|
|
2828
|
+
this.p65_1 = params;
|
|
2829
|
+
this.q65_1 = randomOrgApiService;
|
|
2830
|
+
this.r65_1 = logger;
|
|
2831
|
+
this.s65_1 = dispatcher;
|
|
2832
|
+
this.t65_1 = idsProvider;
|
|
2833
|
+
this.u65_1 = Mutex();
|
|
2834
2834
|
var tmp_0 = this;
|
|
2835
2835
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2836
|
-
tmp_0.
|
|
2836
|
+
tmp_0.v65_1 = LinkedHashMap_init_$Create$();
|
|
2837
2837
|
var tmp_1 = this;
|
|
2838
2838
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2839
|
-
tmp_1.
|
|
2840
|
-
this.
|
|
2841
|
-
this.
|
|
2839
|
+
tmp_1.w65_1 = LinkedHashMap_init_$Create$();
|
|
2840
|
+
this.x65_1 = null;
|
|
2841
|
+
this.y65_1 = 0;
|
|
2842
2842
|
}
|
|
2843
|
-
protoOf(RandomPoolProviderImpl).
|
|
2844
|
-
var tmp = withContext(this.
|
|
2843
|
+
protoOf(RandomPoolProviderImpl).b65 = function (minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2844
|
+
var tmp = withContext(this.s65_1, RandomPoolProviderImpl$getCardDeck$slambda_0(this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
2845
2845
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
2846
2846
|
return tmp;
|
|
2847
2847
|
return tmp;
|
|
2848
2848
|
};
|
|
2849
|
-
protoOf(RandomPoolProviderImpl).
|
|
2850
|
-
var tmp = withContext(this.
|
|
2849
|
+
protoOf(RandomPoolProviderImpl).d65 = function (min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2850
|
+
var tmp = withContext(this.s65_1, RandomPoolProviderImpl$prefetchCardDecks$slambda_0(this, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
2851
2851
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
2852
2852
|
return tmp;
|
|
2853
2853
|
return tmp;
|
|
2854
2854
|
};
|
|
2855
|
-
protoOf(RandomPoolProviderImpl).
|
|
2856
|
-
return this.
|
|
2855
|
+
protoOf(RandomPoolProviderImpl).x69 = function (gameId) {
|
|
2856
|
+
return this.w65_1.k2(gameId);
|
|
2857
2857
|
};
|
|
2858
2858
|
protoOf(RandomPoolProviderImpl).getGame = function (gameId) {
|
|
2859
|
-
return this.
|
|
2859
|
+
return this.x69(gameId);
|
|
2860
2860
|
};
|
|
2861
|
-
protoOf(RandomPoolProviderImpl).
|
|
2862
|
-
return this.
|
|
2861
|
+
protoOf(RandomPoolProviderImpl).y69 = function (id) {
|
|
2862
|
+
return this.v65_1.k2(id);
|
|
2863
2863
|
};
|
|
2864
2864
|
protoOf(RandomPoolProviderImpl).getRandomPool = function (id) {
|
|
2865
|
-
return this.
|
|
2865
|
+
return this.y69(id);
|
|
2866
2866
|
};
|
|
2867
|
-
protoOf(RandomPoolProviderImpl).
|
|
2868
|
-
return this.
|
|
2867
|
+
protoOf(RandomPoolProviderImpl).z69 = function () {
|
|
2868
|
+
return this.v65_1.m();
|
|
2869
2869
|
};
|
|
2870
2870
|
protoOf(RandomPoolProviderImpl).getRandomPoolsCount = function () {
|
|
2871
|
-
return this.
|
|
2871
|
+
return this.z69();
|
|
2872
2872
|
};
|
|
2873
|
-
protoOf(RandomPoolProviderImpl).
|
|
2874
|
-
var gameCardDecksRecord = this.
|
|
2873
|
+
protoOf(RandomPoolProviderImpl).e65 = function (gameId) {
|
|
2874
|
+
var gameCardDecksRecord = this.w65_1.k2(gameId);
|
|
2875
2875
|
if (!(gameCardDecksRecord == null)) {
|
|
2876
|
-
var randomPoolValue = this.
|
|
2876
|
+
var randomPoolValue = this.v65_1.k2(gameCardDecksRecord.poolId);
|
|
2877
2877
|
if (!(randomPoolValue == null)) {
|
|
2878
2878
|
// Inline function 'kotlin.apply' call
|
|
2879
|
-
var this_0 = toMutableMap(randomPoolValue.
|
|
2879
|
+
var this_0 = toMutableMap(randomPoolValue.g65_1);
|
|
2880
2880
|
this_0.o2(gameId);
|
|
2881
|
-
var newPoolValue = randomPoolValue.
|
|
2882
|
-
if (newPoolValue.
|
|
2883
|
-
this.
|
|
2881
|
+
var newPoolValue = randomPoolValue.l65(VOID, toMap(this_0));
|
|
2882
|
+
if (newPoolValue.g65_1.p()) {
|
|
2883
|
+
this.v65_1.o2(gameCardDecksRecord.poolId);
|
|
2884
2884
|
} else {
|
|
2885
|
-
var tmp0 = this.
|
|
2885
|
+
var tmp0 = this.v65_1;
|
|
2886
2886
|
// Inline function 'kotlin.collections.set' call
|
|
2887
2887
|
var key = gameCardDecksRecord.poolId;
|
|
2888
2888
|
tmp0.n2(key, newPoolValue);
|
|
2889
2889
|
}
|
|
2890
2890
|
}
|
|
2891
2891
|
}
|
|
2892
|
-
this.
|
|
2892
|
+
this.w65_1.o2(gameId);
|
|
2893
2893
|
};
|
|
2894
2894
|
function ApiCommonConfigs$setupJsonDefaultRequest$lambda($url) {
|
|
2895
2895
|
return function ($this$defaultRequest) {
|
|
2896
2896
|
header($this$defaultRequest, 'Content-Type', 'application/json');
|
|
2897
|
-
$this$defaultRequest.
|
|
2897
|
+
$this$defaultRequest.l3g($url);
|
|
2898
2898
|
return Unit_instance;
|
|
2899
2899
|
};
|
|
2900
2900
|
}
|
|
2901
2901
|
function ApiCommonConfigs$setupLogging$2$1($externalLogger) {
|
|
2902
|
-
this.
|
|
2902
|
+
this.a6a_1 = $externalLogger;
|
|
2903
2903
|
}
|
|
2904
|
-
protoOf(ApiCommonConfigs$setupLogging$2$1).
|
|
2905
|
-
this.
|
|
2904
|
+
protoOf(ApiCommonConfigs$setupLogging$2$1).m47 = function (message) {
|
|
2905
|
+
this.a6a_1(message);
|
|
2906
2906
|
};
|
|
2907
2907
|
function ApiCommonConfigs$setupLogging$lambda($config, $externalLogger) {
|
|
2908
2908
|
return function ($this$install) {
|
|
2909
|
-
$this$install.
|
|
2910
|
-
$this$install.
|
|
2911
|
-
$this$install.
|
|
2909
|
+
$this$install.c49(get_DEFAULT(Companion_instance_0));
|
|
2910
|
+
$this$install.b49_1 = $config.d6a_1;
|
|
2911
|
+
$this$install.c49(new ApiCommonConfigs$setupLogging$2$1($externalLogger));
|
|
2912
2912
|
return Unit_instance;
|
|
2913
2913
|
};
|
|
2914
2914
|
}
|
|
@@ -2920,32 +2920,32 @@
|
|
|
2920
2920
|
}
|
|
2921
2921
|
function ApiCommonConfigs() {
|
|
2922
2922
|
}
|
|
2923
|
-
protoOf(ApiCommonConfigs).
|
|
2924
|
-
_this__u8e3s4.
|
|
2925
|
-
this.
|
|
2926
|
-
this.
|
|
2927
|
-
this.
|
|
2923
|
+
protoOf(ApiCommonConfigs).f6a = function (_this__u8e3s4, config, externalLogger) {
|
|
2924
|
+
_this__u8e3s4.x37_1 = true;
|
|
2925
|
+
this.g6a(_this__u8e3s4, config.b6a_1);
|
|
2926
|
+
this.h6a(_this__u8e3s4, config.e6a_1);
|
|
2927
|
+
this.i6a(_this__u8e3s4, config, externalLogger);
|
|
2928
2928
|
};
|
|
2929
|
-
protoOf(ApiCommonConfigs).
|
|
2929
|
+
protoOf(ApiCommonConfigs).g6a = function (_this__u8e3s4, url) {
|
|
2930
2930
|
defaultRequest(_this__u8e3s4, ApiCommonConfigs$setupJsonDefaultRequest$lambda(url));
|
|
2931
2931
|
};
|
|
2932
|
-
protoOf(ApiCommonConfigs).
|
|
2932
|
+
protoOf(ApiCommonConfigs).i6a = function (_this__u8e3s4, config, externalLogger) {
|
|
2933
2933
|
var tmp = Companion_getInstance_1();
|
|
2934
|
-
_this__u8e3s4.
|
|
2934
|
+
_this__u8e3s4.s38(tmp, ApiCommonConfigs$setupLogging$lambda(config, externalLogger));
|
|
2935
2935
|
};
|
|
2936
|
-
protoOf(ApiCommonConfigs).
|
|
2936
|
+
protoOf(ApiCommonConfigs).h6a = function (_this__u8e3s4, json) {
|
|
2937
2937
|
var tmp = Plugin_getInstance();
|
|
2938
|
-
_this__u8e3s4.
|
|
2938
|
+
_this__u8e3s4.s38(tmp, ApiCommonConfigs$setupContentNegotiation$lambda(json));
|
|
2939
2939
|
};
|
|
2940
2940
|
var ApiCommonConfigs_instance;
|
|
2941
2941
|
function ApiCommonConfigs_getInstance() {
|
|
2942
2942
|
return ApiCommonConfigs_instance;
|
|
2943
2943
|
}
|
|
2944
2944
|
function HttpParams$_init_$lambda_l7stpf($this$Json) {
|
|
2945
|
-
$this$Json.
|
|
2946
|
-
$this$Json.
|
|
2947
|
-
$this$Json.
|
|
2948
|
-
$this$Json.
|
|
2945
|
+
$this$Json.l58_1 = true;
|
|
2946
|
+
$this$Json.k58_1 = true;
|
|
2947
|
+
$this$Json.j58_1 = true;
|
|
2948
|
+
$this$Json.i58_1 = false;
|
|
2949
2949
|
return Unit_instance;
|
|
2950
2950
|
}
|
|
2951
2951
|
function HttpParams(baseUrl, timeoutMillis, loggingLevel, json) {
|
|
@@ -2958,19 +2958,19 @@
|
|
|
2958
2958
|
tmp = json;
|
|
2959
2959
|
}
|
|
2960
2960
|
json = tmp;
|
|
2961
|
-
this.
|
|
2962
|
-
this.
|
|
2963
|
-
this.
|
|
2964
|
-
this.
|
|
2961
|
+
this.b6a_1 = baseUrl;
|
|
2962
|
+
this.c6a_1 = timeoutMillis;
|
|
2963
|
+
this.d6a_1 = loggingLevel;
|
|
2964
|
+
this.e6a_1 = json;
|
|
2965
2965
|
}
|
|
2966
2966
|
protoOf(HttpParams).toString = function () {
|
|
2967
|
-
return 'HttpParams(baseUrl=' + this.
|
|
2967
|
+
return 'HttpParams(baseUrl=' + this.b6a_1 + ', timeoutMillis=' + this.c6a_1.toString() + ', loggingLevel=' + this.d6a_1.toString() + ', json=' + toString(this.e6a_1) + ')';
|
|
2968
2968
|
};
|
|
2969
2969
|
protoOf(HttpParams).hashCode = function () {
|
|
2970
|
-
var result = getStringHashCode(this.
|
|
2971
|
-
result = imul(result, 31) + this.
|
|
2972
|
-
result = imul(result, 31) + this.
|
|
2973
|
-
result = imul(result, 31) + hashCode(this.
|
|
2970
|
+
var result = getStringHashCode(this.b6a_1);
|
|
2971
|
+
result = imul(result, 31) + this.c6a_1.hashCode() | 0;
|
|
2972
|
+
result = imul(result, 31) + this.d6a_1.hashCode() | 0;
|
|
2973
|
+
result = imul(result, 31) + hashCode(this.e6a_1) | 0;
|
|
2974
2974
|
return result;
|
|
2975
2975
|
};
|
|
2976
2976
|
protoOf(HttpParams).equals = function (other) {
|
|
@@ -2979,13 +2979,13 @@
|
|
|
2979
2979
|
if (!(other instanceof HttpParams))
|
|
2980
2980
|
return false;
|
|
2981
2981
|
var tmp0_other_with_cast = other instanceof HttpParams ? other : THROW_CCE();
|
|
2982
|
-
if (!(this.
|
|
2982
|
+
if (!(this.b6a_1 === tmp0_other_with_cast.b6a_1))
|
|
2983
2983
|
return false;
|
|
2984
|
-
if (!this.
|
|
2984
|
+
if (!this.c6a_1.equals(tmp0_other_with_cast.c6a_1))
|
|
2985
2985
|
return false;
|
|
2986
|
-
if (!this.
|
|
2986
|
+
if (!this.d6a_1.equals(tmp0_other_with_cast.d6a_1))
|
|
2987
2987
|
return false;
|
|
2988
|
-
if (!equals(this.
|
|
2988
|
+
if (!equals(this.e6a_1, tmp0_other_with_cast.e6a_1))
|
|
2989
2989
|
return false;
|
|
2990
2990
|
return true;
|
|
2991
2991
|
};
|
|
@@ -3009,12 +3009,12 @@
|
|
|
3009
3009
|
}
|
|
3010
3010
|
function nextBytesCopyTo($this, bytes) {
|
|
3011
3011
|
try {
|
|
3012
|
-
$this.
|
|
3012
|
+
$this.k6a_1.u5z(bytes);
|
|
3013
3013
|
} catch ($p) {
|
|
3014
3014
|
if ($p instanceof SecRandomCopyException) {
|
|
3015
3015
|
var error = $p;
|
|
3016
|
-
$this.
|
|
3017
|
-
$this.
|
|
3016
|
+
$this.j6a_1.e('SecureGameRandom', 'nextBytesCopyTo error ' + error.toString());
|
|
3017
|
+
$this.l6a_1.nh(bytes);
|
|
3018
3018
|
return Unit_instance;
|
|
3019
3019
|
} else {
|
|
3020
3020
|
throw $p;
|
|
@@ -3038,9 +3038,9 @@
|
|
|
3038
3038
|
}
|
|
3039
3039
|
function SecureRandom_0(logger) {
|
|
3040
3040
|
logger = logger === VOID ? new PlatformRaspberryLogger() : logger;
|
|
3041
|
-
this.
|
|
3042
|
-
this.
|
|
3043
|
-
this.
|
|
3041
|
+
this.j6a_1 = logger;
|
|
3042
|
+
this.k6a_1 = new SecureRandom();
|
|
3043
|
+
this.l6a_1 = Default_getInstance();
|
|
3044
3044
|
}
|
|
3045
3045
|
protoOf(SecureRandom_0).lh = function (from, until) {
|
|
3046
3046
|
checkRangeBounds(this, from, until);
|
|
@@ -3069,7 +3069,7 @@
|
|
|
3069
3069
|
}
|
|
3070
3070
|
}
|
|
3071
3071
|
};
|
|
3072
|
-
protoOf(SecureRandom_0).
|
|
3072
|
+
protoOf(SecureRandom_0).n6a = function () {
|
|
3073
3073
|
return !(nextBits(this, 1) === 0);
|
|
3074
3074
|
};
|
|
3075
3075
|
function CustomRandom() {
|
|
@@ -3090,7 +3090,7 @@
|
|
|
3090
3090
|
while (pile.m() > 0) {
|
|
3091
3091
|
var tmp0 = pile.m();
|
|
3092
3092
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3093
|
-
var b = 1 + random.
|
|
3093
|
+
var b = 1 + random.m6a(VOID, twentypc) | 0;
|
|
3094
3094
|
var cards = Math.min(tmp0, b);
|
|
3095
3095
|
pile2.e2(0, take(pile, cards));
|
|
3096
3096
|
// Inline function 'kotlin.repeat' call
|
|
@@ -3121,11 +3121,11 @@
|
|
|
3121
3121
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3122
3122
|
var mid = deck.m() / 2 | 0;
|
|
3123
3123
|
var tenpc = mid / 10 | 0;
|
|
3124
|
-
var cut = (mid - tenpc | 0) + random.
|
|
3124
|
+
var cut = (mid - tenpc | 0) + random.m6a(VOID, imul(2, tenpc) + 1 | 0) | 0;
|
|
3125
3125
|
var deck1 = toMutableList(take(pile, cut));
|
|
3126
3126
|
var deck2 = toMutableList(drop(pile, cut));
|
|
3127
3127
|
pile.d2();
|
|
3128
|
-
var fromTop = random.
|
|
3128
|
+
var fromTop = random.n6a();
|
|
3129
3129
|
while (deck1.m() > 0 && deck2.m() > 0) {
|
|
3130
3130
|
if (fromTop) {
|
|
3131
3131
|
pile.e(deck1.h2(0));
|
|
@@ -3147,22 +3147,22 @@
|
|
|
3147
3147
|
}
|
|
3148
3148
|
function HttpFactory$provideHttpClient$lambda$lambda($config) {
|
|
3149
3149
|
return function ($this$install) {
|
|
3150
|
-
$this$install.
|
|
3151
|
-
$this$install.
|
|
3150
|
+
$this$install.o3s($config.c6a_1);
|
|
3151
|
+
$this$install.m3s($config.c6a_1);
|
|
3152
3152
|
return Unit_instance;
|
|
3153
3153
|
};
|
|
3154
3154
|
}
|
|
3155
3155
|
function HttpFactory$provideHttpClient$lambda($config, $externalLogger) {
|
|
3156
3156
|
return function ($this$HttpClient) {
|
|
3157
3157
|
var tmp = Plugin_getInstance_0();
|
|
3158
|
-
$this$HttpClient.
|
|
3159
|
-
ApiCommonConfigs_instance.
|
|
3158
|
+
$this$HttpClient.s38(tmp, HttpFactory$provideHttpClient$lambda$lambda($config));
|
|
3159
|
+
ApiCommonConfigs_instance.f6a($this$HttpClient, $config, $externalLogger);
|
|
3160
3160
|
return Unit_instance;
|
|
3161
3161
|
};
|
|
3162
3162
|
}
|
|
3163
3163
|
function HttpFactory() {
|
|
3164
3164
|
}
|
|
3165
|
-
protoOf(HttpFactory).
|
|
3165
|
+
protoOf(HttpFactory).p6a = function (config, externalLogger) {
|
|
3166
3166
|
var tmp = Js_instance;
|
|
3167
3167
|
return HttpClient(tmp, HttpFactory$provideHttpClient$lambda(config, externalLogger));
|
|
3168
3168
|
};
|
|
@@ -3171,15 +3171,15 @@
|
|
|
3171
3171
|
return HttpFactory_instance;
|
|
3172
3172
|
}
|
|
3173
3173
|
//region block: post-declaration
|
|
3174
|
-
protoOf($serializer).
|
|
3175
|
-
protoOf($serializer_0).
|
|
3176
|
-
protoOf($serializer_2).
|
|
3177
|
-
protoOf($serializer_3).
|
|
3178
|
-
protoOf($serializer_5).
|
|
3179
|
-
protoOf($serializer_6).
|
|
3180
|
-
protoOf(RandomPoolProviderImpl).
|
|
3181
|
-
protoOf(SecureRandom_0).
|
|
3182
|
-
protoOf(SecureRandom_0).
|
|
3174
|
+
protoOf($serializer).b4t = typeParametersSerializers;
|
|
3175
|
+
protoOf($serializer_0).b4t = typeParametersSerializers;
|
|
3176
|
+
protoOf($serializer_2).b4t = typeParametersSerializers;
|
|
3177
|
+
protoOf($serializer_3).b4t = typeParametersSerializers;
|
|
3178
|
+
protoOf($serializer_5).b4t = typeParametersSerializers;
|
|
3179
|
+
protoOf($serializer_6).b4t = typeParametersSerializers;
|
|
3180
|
+
protoOf(RandomPoolProviderImpl).c65 = getCardDeck$default;
|
|
3181
|
+
protoOf(SecureRandom_0).m6a = nextInt$default;
|
|
3182
|
+
protoOf(SecureRandom_0).o6a = shuffle;
|
|
3183
3183
|
//endregion
|
|
3184
3184
|
//region block: init
|
|
3185
3185
|
Companion_instance_1 = new Companion();
|