game_client_logic_deb 1.8.397 → 1.8.399
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 +23 -23
- package/Kosi-Kodein-kodein-di.js +161 -161
- package/Kotlin-DateTime-library-kotlinx-datetime.js +170 -170
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-ai_module.js +2093 -0
- package/Logic_Debertz-ai_module.js.map +1 -0
- package/Logic_Debertz-core.js +1287 -1152
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +13871 -13265
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +27 -11
- package/Logic_Debertz-game_client.js +4025 -4025
- package/Logic_Debertz-game_client.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +2068 -2007
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +9 -9
- package/kotlinx-coroutines-core.js +667 -667
- package/kotlinx-io-kotlinx-io-core.js +41 -41
- package/kotlinx-serialization-kotlinx-serialization-core.js +196 -196
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +253 -253
- package/ktor-ktor-client-content-negotiation.js +89 -89
- package/ktor-ktor-client-core.js +1054 -1029
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-logging.js +293 -288
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http.js +164 -160
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +372 -372
- package/ktor-ktor-serialization-kotlinx.js +127 -127
- package/ktor-ktor-serialization.js +68 -68
- package/ktor-ktor-utils.js +278 -278
- package/ktor-ktor-websockets.js +15 -15
- package/package.json +1 -1
- package/random-library-crypto-rand.js +13 -13
- package/random-library-secure-random.js +5 -5
- package/raspberry-cardgame-lib-core.js +99 -99
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +12 -12
- package/raspberry-cardgame-lib-random.js +205 -205
- package/uuid.js +15 -15
- package/uuid.js.map +1 -1
|
@@ -50,68 +50,68 @@
|
|
|
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.$_$.kd;
|
|
54
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.lc;
|
|
55
|
+
var RuntimeException = kotlin_kotlin.$_$.nh;
|
|
56
56
|
var VOID = kotlin_kotlin.$_$.b;
|
|
57
57
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.z1;
|
|
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.$_$.
|
|
58
|
+
var captureStack = kotlin_kotlin.$_$.ub;
|
|
59
|
+
var initMetadataForClass = kotlin_kotlin.$_$.kc;
|
|
60
|
+
var getStringHashCode = kotlin_kotlin.$_$.ic;
|
|
61
|
+
var THROW_CCE = kotlin_kotlin.$_$.oh;
|
|
62
|
+
var toString = kotlin_kotlin.$_$.nd;
|
|
63
|
+
var hashCode = kotlin_kotlin.$_$.jc;
|
|
64
|
+
var equals = kotlin_kotlin.$_$.dc;
|
|
65
65
|
var listOf = kotlin_kotlin.$_$.f8;
|
|
66
66
|
var plus = kotlin_kotlin.$_$.r8;
|
|
67
67
|
var emptyList = kotlin_kotlin.$_$.d7;
|
|
68
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
69
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
68
|
+
var defineProp = kotlin_kotlin.$_$.cc;
|
|
69
|
+
var fromInt = kotlin_kotlin.$_$.fb;
|
|
70
70
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
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.$_$.v;
|
|
73
73
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
74
74
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
75
75
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
76
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
76
|
+
var initMetadataForObject = kotlin_kotlin.$_$.pc;
|
|
77
77
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
78
78
|
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
79
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
80
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
79
|
+
var objectCreate = kotlin_kotlin.$_$.jd;
|
|
80
|
+
var toString_0 = kotlin_kotlin.$_$.si;
|
|
81
81
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
82
82
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
83
83
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
|
|
84
84
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.e;
|
|
85
|
-
var lazy = kotlin_kotlin.$_$.
|
|
85
|
+
var lazy = kotlin_kotlin.$_$.ki;
|
|
86
86
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
87
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
88
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
87
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.fc;
|
|
88
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.nc;
|
|
89
89
|
var getValue = kotlin_kotlin.$_$.q7;
|
|
90
90
|
var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.d;
|
|
91
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
91
|
+
var CoroutineImpl = kotlin_kotlin.$_$.qa;
|
|
92
92
|
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.l;
|
|
93
|
-
var url = kotlin_io_ktor_ktor_client_core.$_$.
|
|
93
|
+
var url = kotlin_io_ktor_ktor_client_core.$_$.p;
|
|
94
94
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
|
|
95
95
|
var JsType_instance = kotlin_io_ktor_ktor_utils.$_$.b;
|
|
96
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
97
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
98
|
-
var createKType = kotlin_kotlin.$_$.
|
|
99
|
-
var createInvariantKTypeProjection = kotlin_kotlin.$_$.
|
|
96
|
+
var getKClass = kotlin_kotlin.$_$.fe;
|
|
97
|
+
var arrayOf = kotlin_kotlin.$_$.ci;
|
|
98
|
+
var createKType = kotlin_kotlin.$_$.de;
|
|
99
|
+
var createInvariantKTypeProjection = kotlin_kotlin.$_$.ce;
|
|
100
100
|
var typeInfoImpl = kotlin_io_ktor_ktor_utils.$_$.l;
|
|
101
101
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
102
102
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
103
103
|
var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.f;
|
|
104
|
-
var HttpStatement = kotlin_io_ktor_ktor_client_core.$_$.
|
|
105
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
104
|
+
var HttpStatement = kotlin_io_ktor_ktor_client_core.$_$.s;
|
|
105
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ba;
|
|
106
106
|
var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
|
|
107
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
107
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.mc;
|
|
108
108
|
var KtMap = kotlin_kotlin.$_$.q5;
|
|
109
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
109
|
+
var isInterface = kotlin_kotlin.$_$.yc;
|
|
110
110
|
var Companion_getInstance_0 = kotlin_kotlin.$_$.v4;
|
|
111
|
-
var Long = kotlin_kotlin.$_$.
|
|
111
|
+
var Long = kotlin_kotlin.$_$.ih;
|
|
112
112
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
113
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
114
|
-
var Duration = kotlin_kotlin.$_$.
|
|
113
|
+
var toDuration = kotlin_kotlin.$_$.ug;
|
|
114
|
+
var Duration = kotlin_kotlin.$_$.rg;
|
|
115
115
|
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.k2;
|
|
116
116
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.f2;
|
|
117
117
|
var System_instance = kotlin_kotlin.$_$.u4;
|
|
@@ -119,43 +119,43 @@
|
|
|
119
119
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
120
120
|
var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
|
|
121
121
|
var uuid4 = kotlin_com_benasher44_uuid.$_$.a;
|
|
122
|
-
var Result = kotlin_kotlin.$_$.
|
|
122
|
+
var Result = kotlin_kotlin.$_$.mh;
|
|
123
123
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f1;
|
|
124
124
|
var Companion_instance = kotlin_kotlin.$_$.a5;
|
|
125
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
125
|
+
var createFailure = kotlin_kotlin.$_$.ei;
|
|
126
126
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.t2;
|
|
127
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
127
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.oc;
|
|
128
128
|
var Duration__compareTo_impl_pchp0f = kotlin_kotlin.$_$.e2;
|
|
129
129
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
130
130
|
var firstOrNull = kotlin_kotlin.$_$.i7;
|
|
131
131
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
132
132
|
var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
133
|
-
var toMutableMap = kotlin_kotlin.$_$.
|
|
134
|
-
var toMap = kotlin_kotlin.$_$.
|
|
133
|
+
var toMutableMap = kotlin_kotlin.$_$.r9;
|
|
134
|
+
var toMap = kotlin_kotlin.$_$.o9;
|
|
135
135
|
var emptyMap = kotlin_kotlin.$_$.e7;
|
|
136
136
|
var get_lastIndex = kotlin_kotlin.$_$.y7;
|
|
137
|
-
var header = kotlin_io_ktor_ktor_client_core.$_$.
|
|
138
|
-
var Companion_instance_0 = kotlin_io_ktor_ktor_client_logging.$_$.
|
|
139
|
-
var get_DEFAULT = kotlin_io_ktor_ktor_client_logging.$_$.
|
|
137
|
+
var header = kotlin_io_ktor_ktor_client_core.$_$.o;
|
|
138
|
+
var Companion_instance_0 = kotlin_io_ktor_ktor_client_logging.$_$.c;
|
|
139
|
+
var get_DEFAULT = kotlin_io_ktor_ktor_client_logging.$_$.e;
|
|
140
140
|
var json = kotlin_io_ktor_ktor_serialization_kotlinx_json.$_$.a;
|
|
141
141
|
var defaultRequest = kotlin_io_ktor_ktor_client_core.$_$.k;
|
|
142
|
-
var Companion_getInstance_1 = kotlin_io_ktor_ktor_client_logging.$_$.
|
|
142
|
+
var Companion_getInstance_1 = kotlin_io_ktor_ktor_client_logging.$_$.d;
|
|
143
143
|
var Plugin_getInstance = kotlin_io_ktor_ktor_client_content_negotiation.$_$.a;
|
|
144
144
|
var LogLevel_ALL_getInstance = kotlin_io_ktor_ktor_client_logging.$_$.a;
|
|
145
145
|
var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
|
|
146
|
-
var equalsLong = kotlin_kotlin.$_$.
|
|
146
|
+
var equalsLong = kotlin_kotlin.$_$.eb;
|
|
147
147
|
var SecRandomCopyException = kotlin_org_kotlincrypto_secure_random.$_$.a;
|
|
148
148
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
149
149
|
var SecureRandom = kotlin_org_kotlincrypto_secure_random.$_$.b;
|
|
150
150
|
var Default_getInstance = kotlin_kotlin.$_$.r4;
|
|
151
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
151
|
+
var toMutableList = kotlin_kotlin.$_$.q9;
|
|
152
152
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.h;
|
|
153
|
-
var take = kotlin_kotlin.$_$.
|
|
153
|
+
var take = kotlin_kotlin.$_$.i9;
|
|
154
154
|
var drop = kotlin_kotlin.$_$.c7;
|
|
155
|
-
var reverse = kotlin_kotlin.$_$.
|
|
155
|
+
var reverse = kotlin_kotlin.$_$.y8;
|
|
156
156
|
var Plugin_getInstance_0 = kotlin_io_ktor_ktor_client_core.$_$.c;
|
|
157
157
|
var Js_instance = kotlin_io_ktor_ktor_client_core.$_$.a;
|
|
158
|
-
var HttpClient = kotlin_io_ktor_ktor_client_core.$_$.
|
|
158
|
+
var HttpClient = kotlin_io_ktor_ktor_client_core.$_$.t;
|
|
159
159
|
//endregion
|
|
160
160
|
//region block: pre-declaration
|
|
161
161
|
initMetadataForCompanion(Companion);
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
var i = inductionVariable;
|
|
229
229
|
inductionVariable = inductionVariable + -1 | 0;
|
|
230
230
|
var j = this.og(0, i + 1 | 0);
|
|
231
|
-
list.
|
|
231
|
+
list.m2(j, list.m2(i, list.p(j)));
|
|
232
232
|
}
|
|
233
233
|
while (1 <= inductionVariable);
|
|
234
234
|
return list;
|
|
@@ -261,10 +261,10 @@
|
|
|
261
261
|
protoOf(CardDecksRequestUserData).y52 = function () {
|
|
262
262
|
return this.count;
|
|
263
263
|
};
|
|
264
|
-
protoOf(CardDecksRequestUserData).
|
|
264
|
+
protoOf(CardDecksRequestUserData).oe = function () {
|
|
265
265
|
return this.id;
|
|
266
266
|
};
|
|
267
|
-
protoOf(CardDecksRequestUserData).
|
|
267
|
+
protoOf(CardDecksRequestUserData).pe = function () {
|
|
268
268
|
return this.count;
|
|
269
269
|
};
|
|
270
270
|
protoOf(CardDecksRequestUserData).z52 = function (id, count) {
|
|
@@ -305,10 +305,10 @@
|
|
|
305
305
|
protoOf(CardDeckRequestUserData).b53 = function () {
|
|
306
306
|
return this.gameId;
|
|
307
307
|
};
|
|
308
|
-
protoOf(CardDeckRequestUserData).
|
|
308
|
+
protoOf(CardDeckRequestUserData).oe = function () {
|
|
309
309
|
return this.players;
|
|
310
310
|
};
|
|
311
|
-
protoOf(CardDeckRequestUserData).
|
|
311
|
+
protoOf(CardDeckRequestUserData).pe = function () {
|
|
312
312
|
return this.gameId;
|
|
313
313
|
};
|
|
314
314
|
protoOf(CardDeckRequestUserData).c53 = function (players, gameId) {
|
|
@@ -346,13 +346,13 @@
|
|
|
346
346
|
protoOf(UserInfoData).x52 = function () {
|
|
347
347
|
return this.id;
|
|
348
348
|
};
|
|
349
|
-
protoOf(UserInfoData).
|
|
349
|
+
protoOf(UserInfoData).r2 = function () {
|
|
350
350
|
return this.name;
|
|
351
351
|
};
|
|
352
|
-
protoOf(UserInfoData).
|
|
352
|
+
protoOf(UserInfoData).oe = function () {
|
|
353
353
|
return this.id;
|
|
354
354
|
};
|
|
355
|
-
protoOf(UserInfoData).
|
|
355
|
+
protoOf(UserInfoData).pe = function () {
|
|
356
356
|
return this.name;
|
|
357
357
|
};
|
|
358
358
|
protoOf(UserInfoData).d53 = function (id, name) {
|
|
@@ -446,10 +446,10 @@
|
|
|
446
446
|
protoOf(GameCardDecksRecord).l53 = function () {
|
|
447
447
|
return this.rounds;
|
|
448
448
|
};
|
|
449
|
-
protoOf(GameCardDecksRecord).
|
|
449
|
+
protoOf(GameCardDecksRecord).oe = function () {
|
|
450
450
|
return this.poolId;
|
|
451
451
|
};
|
|
452
|
-
protoOf(GameCardDecksRecord).
|
|
452
|
+
protoOf(GameCardDecksRecord).pe = function () {
|
|
453
453
|
return this.signature;
|
|
454
454
|
};
|
|
455
455
|
protoOf(GameCardDecksRecord).xl = function () {
|
|
@@ -504,10 +504,10 @@
|
|
|
504
504
|
protoOf(GameCardDeckData).p53 = function () {
|
|
505
505
|
return this.cards;
|
|
506
506
|
};
|
|
507
|
-
protoOf(GameCardDeckData).
|
|
507
|
+
protoOf(GameCardDeckData).oe = function () {
|
|
508
508
|
return this.cardDeckIndex;
|
|
509
509
|
};
|
|
510
|
-
protoOf(GameCardDeckData).
|
|
510
|
+
protoOf(GameCardDeckData).pe = function () {
|
|
511
511
|
return this.cards;
|
|
512
512
|
};
|
|
513
513
|
protoOf(GameCardDeckData).q53 = function (cardDeckIndex, cards) {
|
|
@@ -549,10 +549,10 @@
|
|
|
549
549
|
protoOf(HttpConfig).s53 = function () {
|
|
550
550
|
return this.timeoutMillis;
|
|
551
551
|
};
|
|
552
|
-
protoOf(HttpConfig).
|
|
552
|
+
protoOf(HttpConfig).oe = function () {
|
|
553
553
|
return this.baseUrl;
|
|
554
554
|
};
|
|
555
|
-
protoOf(HttpConfig).
|
|
555
|
+
protoOf(HttpConfig).pe = function () {
|
|
556
556
|
return this.timeoutMillis;
|
|
557
557
|
};
|
|
558
558
|
protoOf(HttpConfig).z52 = function (baseUrl, timeoutMillis) {
|
|
@@ -608,10 +608,10 @@
|
|
|
608
608
|
protoOf(RandomOrgConfig).w53 = function () {
|
|
609
609
|
return this.httpConfig;
|
|
610
610
|
};
|
|
611
|
-
protoOf(RandomOrgConfig).
|
|
611
|
+
protoOf(RandomOrgConfig).oe = function () {
|
|
612
612
|
return this.apiKey;
|
|
613
613
|
};
|
|
614
|
-
protoOf(RandomOrgConfig).
|
|
614
|
+
protoOf(RandomOrgConfig).pe = function () {
|
|
615
615
|
return this.poolSize;
|
|
616
616
|
};
|
|
617
617
|
protoOf(RandomOrgConfig).xl = function () {
|
|
@@ -1060,7 +1060,7 @@
|
|
|
1060
1060
|
var tmp2_cached = Companion_getInstance_6().p54_1;
|
|
1061
1061
|
tmp1_output.dt(tmp0_desc, 0, value.s54_1);
|
|
1062
1062
|
tmp1_output.ys(tmp0_desc, 1, value.t54_1);
|
|
1063
|
-
tmp1_output.ft(tmp0_desc, 2, tmp2_cached[2].
|
|
1063
|
+
tmp1_output.ft(tmp0_desc, 2, tmp2_cached[2].x(), value.u54_1);
|
|
1064
1064
|
tmp1_output.ys(tmp0_desc, 3, value.v54_1);
|
|
1065
1065
|
tmp1_output.ys(tmp0_desc, 4, value.w54_1);
|
|
1066
1066
|
tmp1_output.vs(tmp0_desc, 5, value.x54_1);
|
|
@@ -1091,7 +1091,7 @@
|
|
|
1091
1091
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1092
1092
|
tmp5_local1 = tmp12_input.tr(tmp0_desc, 1);
|
|
1093
1093
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1094
|
-
tmp6_local2 = tmp12_input.as(tmp0_desc, 2, tmp13_cached[2].
|
|
1094
|
+
tmp6_local2 = tmp12_input.as(tmp0_desc, 2, tmp13_cached[2].x(), tmp6_local2);
|
|
1095
1095
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1096
1096
|
tmp7_local3 = tmp12_input.tr(tmp0_desc, 3);
|
|
1097
1097
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
@@ -1119,7 +1119,7 @@
|
|
|
1119
1119
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1120
1120
|
break;
|
|
1121
1121
|
case 2:
|
|
1122
|
-
tmp6_local2 = tmp12_input.as(tmp0_desc, 2, tmp13_cached[2].
|
|
1122
|
+
tmp6_local2 = tmp12_input.as(tmp0_desc, 2, tmp13_cached[2].x(), tmp6_local2);
|
|
1123
1123
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1124
1124
|
break;
|
|
1125
1125
|
case 3:
|
|
@@ -1157,7 +1157,7 @@
|
|
|
1157
1157
|
// Inline function 'kotlin.arrayOf' call
|
|
1158
1158
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1159
1159
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1160
|
-
return [StringSerializer_getInstance(), IntSerializer_getInstance(), tmp0_cached[2].
|
|
1160
|
+
return [StringSerializer_getInstance(), IntSerializer_getInstance(), tmp0_cached[2].x(), IntSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_2())];
|
|
1161
1161
|
};
|
|
1162
1162
|
var $serializer_instance_1;
|
|
1163
1163
|
function $serializer_getInstance_1() {
|
|
@@ -1677,7 +1677,7 @@
|
|
|
1677
1677
|
var tmp0_desc = this.u55_1;
|
|
1678
1678
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
1679
1679
|
var tmp2_cached = Companion_getInstance_10().t55_1;
|
|
1680
|
-
tmp1_output.ft(tmp0_desc, 0, tmp2_cached[0].
|
|
1680
|
+
tmp1_output.ft(tmp0_desc, 0, tmp2_cached[0].x(), value.w55_1);
|
|
1681
1681
|
tmp1_output.dt(tmp0_desc, 1, value.x55_1);
|
|
1682
1682
|
tmp1_output.ht(tmp0_desc, 2, StringSerializer_getInstance(), value.y55_1);
|
|
1683
1683
|
tmp1_output.pr(tmp0_desc);
|
|
@@ -1696,7 +1696,7 @@
|
|
|
1696
1696
|
var tmp7_input = decoder.or(tmp0_desc);
|
|
1697
1697
|
var tmp8_cached = Companion_getInstance_10().t55_1;
|
|
1698
1698
|
if (tmp7_input.es()) {
|
|
1699
|
-
tmp4_local0 = tmp7_input.as(tmp0_desc, 0, tmp8_cached[0].
|
|
1699
|
+
tmp4_local0 = tmp7_input.as(tmp0_desc, 0, tmp8_cached[0].x(), tmp4_local0);
|
|
1700
1700
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1701
1701
|
tmp5_local1 = tmp7_input.yr(tmp0_desc, 1);
|
|
1702
1702
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
@@ -1710,7 +1710,7 @@
|
|
|
1710
1710
|
tmp1_flag = false;
|
|
1711
1711
|
break;
|
|
1712
1712
|
case 0:
|
|
1713
|
-
tmp4_local0 = tmp7_input.as(tmp0_desc, 0, tmp8_cached[0].
|
|
1713
|
+
tmp4_local0 = tmp7_input.as(tmp0_desc, 0, tmp8_cached[0].x(), tmp4_local0);
|
|
1714
1714
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1715
1715
|
break;
|
|
1716
1716
|
case 1:
|
|
@@ -1735,7 +1735,7 @@
|
|
|
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().t55_1[0].
|
|
1738
|
+
return [Companion_getInstance_10().t55_1[0].x(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
1739
1739
|
};
|
|
1740
1740
|
var $serializer_instance_4;
|
|
1741
1741
|
function $serializer_getInstance_4() {
|
|
@@ -1787,9 +1787,9 @@
|
|
|
1787
1787
|
}
|
|
1788
1788
|
function throwIfError($this, bodyAsJson, response, $completion) {
|
|
1789
1789
|
var tmp = new $throwIfErrorCOROUTINE$($this, bodyAsJson, response, $completion);
|
|
1790
|
-
tmp.
|
|
1791
|
-
tmp.
|
|
1792
|
-
return tmp.
|
|
1790
|
+
tmp.u8_1 = Unit_instance;
|
|
1791
|
+
tmp.v8_1 = null;
|
|
1792
|
+
return tmp.a9();
|
|
1793
1793
|
}
|
|
1794
1794
|
function extractRandomResult($this, bodyAsJson) {
|
|
1795
1795
|
return toString(getValue(get_jsonObject(getValue(bodyAsJson, 'result')), 'random'));
|
|
@@ -1811,15 +1811,15 @@
|
|
|
1811
1811
|
this.z56_1 = userData;
|
|
1812
1812
|
this.a57_1 = signed;
|
|
1813
1813
|
}
|
|
1814
|
-
protoOf($getRandomCardDecksCOROUTINE$).
|
|
1815
|
-
var suspendResult = this.
|
|
1814
|
+
protoOf($getRandomCardDecksCOROUTINE$).a9 = function () {
|
|
1815
|
+
var suspendResult = this.u8_1;
|
|
1816
1816
|
$sm: do
|
|
1817
1817
|
try {
|
|
1818
|
-
var tmp = this.
|
|
1818
|
+
var tmp = this.s8_1;
|
|
1819
1819
|
switch (tmp) {
|
|
1820
1820
|
case 0:
|
|
1821
|
-
this.
|
|
1822
|
-
this.
|
|
1821
|
+
this.t8_1 = 6;
|
|
1822
|
+
this.t8_1 = 5;
|
|
1823
1823
|
var tmp0 = this.u56_1.d57_1;
|
|
1824
1824
|
var this_0 = new HttpRequestBuilder();
|
|
1825
1825
|
url(this_0, '/json-rpc/4/invoke');
|
|
@@ -1883,7 +1883,7 @@
|
|
|
1883
1883
|
}
|
|
1884
1884
|
|
|
1885
1885
|
this_0.i3r_1 = Companion_getInstance().k3i_1;
|
|
1886
|
-
this.
|
|
1886
|
+
this.s8_1 = 1;
|
|
1887
1887
|
suspendResult = (new HttpStatement(this_0, tmp0)).x4h(this);
|
|
1888
1888
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1889
1889
|
return suspendResult;
|
|
@@ -1893,7 +1893,7 @@
|
|
|
1893
1893
|
case 1:
|
|
1894
1894
|
this.c57_1 = suspendResult;
|
|
1895
1895
|
var this_1 = this.c57_1;
|
|
1896
|
-
this.
|
|
1896
|
+
this.s8_1 = 2;
|
|
1897
1897
|
var tmp_8 = this_1.l3u();
|
|
1898
1898
|
var tmp_9 = JsType_instance;
|
|
1899
1899
|
var tmp_10 = getKClass(JsonObject);
|
|
@@ -1920,7 +1920,7 @@
|
|
|
1920
1920
|
case 2:
|
|
1921
1921
|
var tmp_13 = this;
|
|
1922
1922
|
tmp_13.b57_1 = suspendResult instanceof JsonObject ? suspendResult : THROW_CCE();
|
|
1923
|
-
this.
|
|
1923
|
+
this.s8_1 = 3;
|
|
1924
1924
|
suspendResult = throwIfError(this.u56_1, this.b57_1, this.c57_1, this);
|
|
1925
1925
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1926
1926
|
return suspendResult;
|
|
@@ -1929,7 +1929,7 @@
|
|
|
1929
1929
|
continue $sm;
|
|
1930
1930
|
case 3:
|
|
1931
1931
|
var this_2 = this.c57_1;
|
|
1932
|
-
this.
|
|
1932
|
+
this.s8_1 = 4;
|
|
1933
1933
|
var tmp_14 = this_2.l3u();
|
|
1934
1934
|
var tmp_15 = JsType_instance;
|
|
1935
1935
|
var tmp_16 = getKClass(RandomResponseDto);
|
|
@@ -1961,29 +1961,29 @@
|
|
|
1961
1961
|
var tmp2_id = responseDto.k55_1;
|
|
1962
1962
|
return new CardDeckResult(tmp0_cardDecks, randomJson, tmp2_id, tmp1_signature);
|
|
1963
1963
|
case 5:
|
|
1964
|
-
this.
|
|
1965
|
-
var tmp_19 = this.
|
|
1964
|
+
this.t8_1 = 6;
|
|
1965
|
+
var tmp_19 = this.v8_1;
|
|
1966
1966
|
if (tmp_19 instanceof Error) {
|
|
1967
|
-
var error = this.
|
|
1967
|
+
var error = this.v8_1;
|
|
1968
1968
|
if (error instanceof RandomException)
|
|
1969
1969
|
throw error;
|
|
1970
1970
|
else {
|
|
1971
1971
|
throw new RandomException(100001, '[getRandomCardDeck] error, message = ' + error.message, error);
|
|
1972
1972
|
}
|
|
1973
1973
|
} else {
|
|
1974
|
-
throw this.
|
|
1974
|
+
throw this.v8_1;
|
|
1975
1975
|
}
|
|
1976
1976
|
|
|
1977
1977
|
case 6:
|
|
1978
|
-
throw this.
|
|
1978
|
+
throw this.v8_1;
|
|
1979
1979
|
}
|
|
1980
1980
|
} catch ($p) {
|
|
1981
1981
|
var e = $p;
|
|
1982
|
-
if (this.
|
|
1982
|
+
if (this.t8_1 === 6) {
|
|
1983
1983
|
throw e;
|
|
1984
1984
|
} else {
|
|
1985
|
-
this.
|
|
1986
|
-
this.
|
|
1985
|
+
this.s8_1 = this.t8_1;
|
|
1986
|
+
this.v8_1 = e;
|
|
1987
1987
|
}
|
|
1988
1988
|
}
|
|
1989
1989
|
while (true);
|
|
@@ -1994,18 +1994,18 @@
|
|
|
1994
1994
|
this.j56_1 = bodyAsJson;
|
|
1995
1995
|
this.k56_1 = response;
|
|
1996
1996
|
}
|
|
1997
|
-
protoOf($throwIfErrorCOROUTINE$).
|
|
1998
|
-
var suspendResult = this.
|
|
1997
|
+
protoOf($throwIfErrorCOROUTINE$).a9 = function () {
|
|
1998
|
+
var suspendResult = this.u8_1;
|
|
1999
1999
|
$sm: do
|
|
2000
2000
|
try {
|
|
2001
|
-
var tmp = this.
|
|
2001
|
+
var tmp = this.s8_1;
|
|
2002
2002
|
switch (tmp) {
|
|
2003
2003
|
case 0:
|
|
2004
|
-
this.
|
|
2004
|
+
this.t8_1 = 3;
|
|
2005
2005
|
var this_0 = this.j56_1;
|
|
2006
|
-
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).
|
|
2006
|
+
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).a2('error')) {
|
|
2007
2007
|
var this_1 = this.k56_1;
|
|
2008
|
-
this.
|
|
2008
|
+
this.s8_1 = 2;
|
|
2009
2009
|
var tmp_0 = this_1.l3u();
|
|
2010
2010
|
var tmp_1 = JsType_instance;
|
|
2011
2011
|
var tmp_2 = getKClass(ErrorResponseDto);
|
|
@@ -2028,7 +2028,7 @@
|
|
|
2028
2028
|
}
|
|
2029
2029
|
continue $sm;
|
|
2030
2030
|
} else {
|
|
2031
|
-
this.
|
|
2031
|
+
this.s8_1 = 1;
|
|
2032
2032
|
continue $sm;
|
|
2033
2033
|
}
|
|
2034
2034
|
|
|
@@ -2041,15 +2041,15 @@
|
|
|
2041
2041
|
var tmp1_safe_receiver = errorResponseDto.b54_1;
|
|
2042
2042
|
throw new RandomException(tmp_5, tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f54_1);
|
|
2043
2043
|
case 3:
|
|
2044
|
-
throw this.
|
|
2044
|
+
throw this.v8_1;
|
|
2045
2045
|
}
|
|
2046
2046
|
} catch ($p) {
|
|
2047
2047
|
var e = $p;
|
|
2048
|
-
if (this.
|
|
2048
|
+
if (this.t8_1 === 3) {
|
|
2049
2049
|
throw e;
|
|
2050
2050
|
} else {
|
|
2051
|
-
this.
|
|
2052
|
-
this.
|
|
2051
|
+
this.s8_1 = this.t8_1;
|
|
2052
|
+
this.v8_1 = e;
|
|
2053
2053
|
}
|
|
2054
2054
|
}
|
|
2055
2055
|
while (true);
|
|
@@ -2060,9 +2060,9 @@
|
|
|
2060
2060
|
}
|
|
2061
2061
|
protoOf(RandomOrgApiServiceImpl).z55 = function (min, max, decksCount, cardsCount, userData, signed, $completion) {
|
|
2062
2062
|
var tmp = new $getRandomCardDecksCOROUTINE$(this, min, max, decksCount, cardsCount, userData, signed, $completion);
|
|
2063
|
-
tmp.
|
|
2064
|
-
tmp.
|
|
2065
|
-
return tmp.
|
|
2063
|
+
tmp.u8_1 = Unit_instance;
|
|
2064
|
+
tmp.v8_1 = null;
|
|
2065
|
+
return tmp.a9();
|
|
2066
2066
|
};
|
|
2067
2067
|
function PoolParams(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) {
|
|
2068
2068
|
poolSize = poolSize === VOID ? 100 : poolSize;
|
|
@@ -2095,10 +2095,10 @@
|
|
|
2095
2095
|
protoOf(PoolParams).g57 = function () {
|
|
2096
2096
|
return this.failedAttemptCooldown;
|
|
2097
2097
|
};
|
|
2098
|
-
protoOf(PoolParams).
|
|
2098
|
+
protoOf(PoolParams).oe = function () {
|
|
2099
2099
|
return this.poolSize;
|
|
2100
2100
|
};
|
|
2101
|
-
protoOf(PoolParams).
|
|
2101
|
+
protoOf(PoolParams).pe = function () {
|
|
2102
2102
|
return this.thresholdForUsedPool;
|
|
2103
2103
|
};
|
|
2104
2104
|
protoOf(PoolParams).xl = function () {
|
|
@@ -2196,12 +2196,12 @@
|
|
|
2196
2196
|
}
|
|
2197
2197
|
function getOrLoadGameCardDeckData($this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2198
2198
|
var tmp = new $getOrLoadGameCardDeckDataCOROUTINE$($this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion);
|
|
2199
|
-
tmp.
|
|
2200
|
-
tmp.
|
|
2201
|
-
return tmp.
|
|
2199
|
+
tmp.u8_1 = Unit_instance;
|
|
2200
|
+
tmp.v8_1 = null;
|
|
2201
|
+
return tmp.a9();
|
|
2202
2202
|
}
|
|
2203
2203
|
function getPreparedGameCardDecksRecord($this, poolId, signature, cardDeckData, userData) {
|
|
2204
|
-
var existingCardDeck = $this.t57_1.
|
|
2204
|
+
var existingCardDeck = $this.t57_1.c2(userData.gameId);
|
|
2205
2205
|
var tmp;
|
|
2206
2206
|
if (!(existingCardDeck == null)) {
|
|
2207
2207
|
tmp = Companion_instance_2.nextRound(existingCardDeck, cardDeckData);
|
|
@@ -2212,9 +2212,9 @@
|
|
|
2212
2212
|
}
|
|
2213
2213
|
function getPreparedOrRequestPool($this, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2214
2214
|
var tmp = new $getPreparedOrRequestPoolCOROUTINE$($this, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, $completion);
|
|
2215
|
-
tmp.
|
|
2216
|
-
tmp.
|
|
2217
|
-
return tmp.
|
|
2215
|
+
tmp.u8_1 = Unit_instance;
|
|
2216
|
+
tmp.v8_1 = null;
|
|
2217
|
+
return tmp.a9();
|
|
2218
2218
|
}
|
|
2219
2219
|
function requestNewPool($this, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2220
2220
|
return withContext($this.p57_1, RandomPoolProviderImpl$requestNewPool$slambda_0($this, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
@@ -2245,28 +2245,28 @@
|
|
|
2245
2245
|
}
|
|
2246
2246
|
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).b5a = function ($this$withContext, $completion) {
|
|
2247
2247
|
var tmp = this.k2d($this$withContext, $completion);
|
|
2248
|
-
tmp.
|
|
2249
|
-
tmp.
|
|
2250
|
-
var tmp_0 = tmp.
|
|
2248
|
+
tmp.u8_1 = Unit_instance;
|
|
2249
|
+
tmp.v8_1 = null;
|
|
2250
|
+
var tmp_0 = tmp.a9();
|
|
2251
2251
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
2252
2252
|
return tmp_0;
|
|
2253
2253
|
return tmp_0;
|
|
2254
2254
|
};
|
|
2255
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2255
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).i9 = function (p1, $completion) {
|
|
2256
2256
|
return this.b5a((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2257
2257
|
};
|
|
2258
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2259
|
-
var suspendResult = this.
|
|
2258
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).a9 = function () {
|
|
2259
|
+
var suspendResult = this.u8_1;
|
|
2260
2260
|
$sm: do
|
|
2261
2261
|
try {
|
|
2262
|
-
var tmp = this.
|
|
2262
|
+
var tmp = this.s8_1;
|
|
2263
2263
|
switch (tmp) {
|
|
2264
2264
|
case 0:
|
|
2265
|
-
this.
|
|
2265
|
+
this.t8_1 = 10;
|
|
2266
2266
|
this.y59_1 = this.o59_1.r57_1;
|
|
2267
2267
|
var tmp_0 = this;
|
|
2268
2268
|
tmp_0.x59_1 = null;
|
|
2269
|
-
this.
|
|
2269
|
+
this.s8_1 = 1;
|
|
2270
2270
|
suspendResult = this.y59_1.z2k(this.x59_1, this);
|
|
2271
2271
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2272
2272
|
return suspendResult;
|
|
@@ -2275,28 +2275,28 @@
|
|
|
2275
2275
|
continue $sm;
|
|
2276
2276
|
case 1:
|
|
2277
2277
|
this.z59_1 = Unit_instance;
|
|
2278
|
-
this.
|
|
2278
|
+
this.s8_1 = 2;
|
|
2279
2279
|
continue $sm;
|
|
2280
2280
|
case 2:
|
|
2281
|
-
this.
|
|
2281
|
+
this.t8_1 = 9;
|
|
2282
2282
|
this.a5a_1 = Unit_instance;
|
|
2283
|
-
this.
|
|
2283
|
+
this.s8_1 = 3;
|
|
2284
2284
|
continue $sm;
|
|
2285
2285
|
case 3:
|
|
2286
2286
|
var randomException = getExceptionIfCooldown(this.o59_1);
|
|
2287
2287
|
if (!(randomException == null)) {
|
|
2288
2288
|
var tmp_1 = this;
|
|
2289
2289
|
tmp_1.a5a_1 = new Result(_Result___init__impl__xyqfz8(createFailure(randomException)));
|
|
2290
|
-
this.
|
|
2290
|
+
this.s8_1 = 7;
|
|
2291
2291
|
continue $sm;
|
|
2292
2292
|
} else {
|
|
2293
|
-
this.
|
|
2293
|
+
this.s8_1 = 4;
|
|
2294
2294
|
continue $sm;
|
|
2295
2295
|
}
|
|
2296
2296
|
|
|
2297
2297
|
case 4:
|
|
2298
|
-
this.
|
|
2299
|
-
this.
|
|
2298
|
+
this.t8_1 = 6;
|
|
2299
|
+
this.s8_1 = 5;
|
|
2300
2300
|
suspendResult = getOrLoadGameCardDeckData(this.o59_1, this.p59_1, this.q59_1, this.r59_1, this.s59_1, this.t59_1, this.u59_1, this.v59_1, this);
|
|
2301
2301
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2302
2302
|
return suspendResult;
|
|
@@ -2307,47 +2307,47 @@
|
|
|
2307
2307
|
var cardDeckData = suspendResult;
|
|
2308
2308
|
var tmp_2 = this;
|
|
2309
2309
|
tmp_2.a5a_1 = new Result(_Result___init__impl__xyqfz8(cardDeckData));
|
|
2310
|
-
this.
|
|
2310
|
+
this.s8_1 = 7;
|
|
2311
2311
|
continue $sm;
|
|
2312
2312
|
case 6:
|
|
2313
|
-
this.
|
|
2314
|
-
var tmp_3 = this.
|
|
2313
|
+
this.t8_1 = 9;
|
|
2314
|
+
var tmp_3 = this.v8_1;
|
|
2315
2315
|
if (tmp_3 instanceof Error) {
|
|
2316
|
-
var error = this.
|
|
2316
|
+
var error = this.v8_1;
|
|
2317
2317
|
var tmp_4 = this;
|
|
2318
2318
|
var exception = mapToRandomExceptionIfError(this.o59_1, error);
|
|
2319
2319
|
tmp_4.a5a_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception)));
|
|
2320
|
-
this.
|
|
2320
|
+
this.s8_1 = 7;
|
|
2321
2321
|
continue $sm;
|
|
2322
2322
|
} else {
|
|
2323
|
-
throw this.
|
|
2323
|
+
throw this.v8_1;
|
|
2324
2324
|
}
|
|
2325
2325
|
|
|
2326
2326
|
case 7:
|
|
2327
2327
|
this.z59_1 = this.a5a_1;
|
|
2328
|
-
this.
|
|
2329
|
-
this.
|
|
2328
|
+
this.t8_1 = 10;
|
|
2329
|
+
this.s8_1 = 8;
|
|
2330
2330
|
continue $sm;
|
|
2331
2331
|
case 8:
|
|
2332
2332
|
var tmp_5 = this.z59_1;
|
|
2333
|
-
this.
|
|
2333
|
+
this.t8_1 = 10;
|
|
2334
2334
|
this.y59_1.k2k(this.x59_1);
|
|
2335
2335
|
return tmp_5;
|
|
2336
2336
|
case 9:
|
|
2337
|
-
this.
|
|
2338
|
-
var t = this.
|
|
2337
|
+
this.t8_1 = 10;
|
|
2338
|
+
var t = this.v8_1;
|
|
2339
2339
|
this.y59_1.k2k(this.x59_1);
|
|
2340
2340
|
throw t;
|
|
2341
2341
|
case 10:
|
|
2342
|
-
throw this.
|
|
2342
|
+
throw this.v8_1;
|
|
2343
2343
|
}
|
|
2344
2344
|
} catch ($p) {
|
|
2345
2345
|
var e = $p;
|
|
2346
|
-
if (this.
|
|
2346
|
+
if (this.t8_1 === 10) {
|
|
2347
2347
|
throw e;
|
|
2348
2348
|
} else {
|
|
2349
|
-
this.
|
|
2350
|
-
this.
|
|
2349
|
+
this.s8_1 = this.t8_1;
|
|
2350
|
+
this.v8_1 = e;
|
|
2351
2351
|
}
|
|
2352
2352
|
}
|
|
2353
2353
|
while (true);
|
|
@@ -2376,23 +2376,23 @@
|
|
|
2376
2376
|
}
|
|
2377
2377
|
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).s5a = function ($this$withContext, $completion) {
|
|
2378
2378
|
var tmp = this.k2d($this$withContext, $completion);
|
|
2379
|
-
tmp.
|
|
2380
|
-
tmp.
|
|
2381
|
-
return tmp.
|
|
2379
|
+
tmp.u8_1 = Unit_instance;
|
|
2380
|
+
tmp.v8_1 = null;
|
|
2381
|
+
return tmp.a9();
|
|
2382
2382
|
};
|
|
2383
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2383
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).i9 = function (p1, $completion) {
|
|
2384
2384
|
return this.s5a((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2385
2385
|
};
|
|
2386
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2387
|
-
var suspendResult = this.
|
|
2386
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).a9 = function () {
|
|
2387
|
+
var suspendResult = this.u8_1;
|
|
2388
2388
|
$sm: do
|
|
2389
2389
|
try {
|
|
2390
|
-
var tmp = this.
|
|
2390
|
+
var tmp = this.s8_1;
|
|
2391
2391
|
switch (tmp) {
|
|
2392
2392
|
case 0:
|
|
2393
|
-
this.
|
|
2393
|
+
this.t8_1 = 2;
|
|
2394
2394
|
this.r5a_1 = System_instance.ck();
|
|
2395
|
-
this.
|
|
2395
|
+
this.s8_1 = 1;
|
|
2396
2396
|
suspendResult = this.k5a_1.n57_1.z55(this.l5a_1, this.m5a_1, this.k5a_1.m57_1.poolSize, this.n5a_1, new CardDecksRequestUserData(this.k5a_1.q57_1(), this.k5a_1.m57_1.poolSize), this.o5a_1, this);
|
|
2397
2397
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2398
2398
|
return suspendResult;
|
|
@@ -2414,15 +2414,15 @@
|
|
|
2414
2414
|
|
|
2415
2415
|
return new RandomPoolValue(result);
|
|
2416
2416
|
case 2:
|
|
2417
|
-
throw this.
|
|
2417
|
+
throw this.v8_1;
|
|
2418
2418
|
}
|
|
2419
2419
|
} catch ($p) {
|
|
2420
2420
|
var e = $p;
|
|
2421
|
-
if (this.
|
|
2421
|
+
if (this.t8_1 === 2) {
|
|
2422
2422
|
throw e;
|
|
2423
2423
|
} else {
|
|
2424
|
-
this.
|
|
2425
|
-
this.
|
|
2424
|
+
this.s8_1 = this.t8_1;
|
|
2425
|
+
this.v8_1 = e;
|
|
2426
2426
|
}
|
|
2427
2427
|
}
|
|
2428
2428
|
while (true);
|
|
@@ -2451,16 +2451,16 @@
|
|
|
2451
2451
|
this.k58_1 = signed;
|
|
2452
2452
|
this.l58_1 = requestDurationWarnMillis;
|
|
2453
2453
|
}
|
|
2454
|
-
protoOf($getOrLoadGameCardDeckDataCOROUTINE$).
|
|
2455
|
-
var suspendResult = this.
|
|
2454
|
+
protoOf($getOrLoadGameCardDeckDataCOROUTINE$).a9 = function () {
|
|
2455
|
+
var suspendResult = this.u8_1;
|
|
2456
2456
|
$sm: do
|
|
2457
2457
|
try {
|
|
2458
|
-
var tmp = this.
|
|
2458
|
+
var tmp = this.s8_1;
|
|
2459
2459
|
switch (tmp) {
|
|
2460
2460
|
case 0:
|
|
2461
|
-
this.
|
|
2461
|
+
this.t8_1 = 2;
|
|
2462
2462
|
var tmp0_gameId = this.g58_1.gameId;
|
|
2463
|
-
this.
|
|
2463
|
+
this.s8_1 = 1;
|
|
2464
2464
|
suspendResult = getPreparedOrRequestPool(this.e58_1, tmp0_gameId, this.h58_1, this.i58_1, this.f58_1, this.j58_1, this.k58_1, this.l58_1, this);
|
|
2465
2465
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2466
2466
|
return suspendResult;
|
|
@@ -2471,25 +2471,25 @@
|
|
|
2471
2471
|
var randomPoolValue = suspendResult;
|
|
2472
2472
|
var tmp0 = this.e58_1.s57_1;
|
|
2473
2473
|
var key = randomPoolValue.t5a_1.g53_1;
|
|
2474
|
-
tmp0.
|
|
2474
|
+
tmp0.f2(key, randomPoolValue);
|
|
2475
2475
|
var cardDeckData = randomPoolValue.x5a(this.g58_1.gameId);
|
|
2476
2476
|
var tmp1_poolId = randomPoolValue.t5a_1.g53_1;
|
|
2477
2477
|
var tmp2_signature = randomPoolValue.t5a_1.h53_1;
|
|
2478
2478
|
var cardDecksRecord = getPreparedGameCardDecksRecord(this.e58_1, tmp1_poolId, tmp2_signature, cardDeckData, this.g58_1);
|
|
2479
2479
|
var tmp0_0 = this.e58_1.t57_1;
|
|
2480
2480
|
var key_0 = this.g58_1.gameId;
|
|
2481
|
-
tmp0_0.
|
|
2481
|
+
tmp0_0.f2(key_0, cardDecksRecord);
|
|
2482
2482
|
return cardDeckData;
|
|
2483
2483
|
case 2:
|
|
2484
|
-
throw this.
|
|
2484
|
+
throw this.v8_1;
|
|
2485
2485
|
}
|
|
2486
2486
|
} catch ($p) {
|
|
2487
2487
|
var e = $p;
|
|
2488
|
-
if (this.
|
|
2488
|
+
if (this.t8_1 === 2) {
|
|
2489
2489
|
throw e;
|
|
2490
2490
|
} else {
|
|
2491
|
-
this.
|
|
2492
|
-
this.
|
|
2491
|
+
this.s8_1 = this.t8_1;
|
|
2492
|
+
this.v8_1 = e;
|
|
2493
2493
|
}
|
|
2494
2494
|
}
|
|
2495
2495
|
while (true);
|
|
@@ -2505,47 +2505,47 @@
|
|
|
2505
2505
|
this.a59_1 = signed;
|
|
2506
2506
|
this.b59_1 = requestDurationWarnMillis;
|
|
2507
2507
|
}
|
|
2508
|
-
protoOf($getPreparedOrRequestPoolCOROUTINE$).
|
|
2509
|
-
var suspendResult = this.
|
|
2508
|
+
protoOf($getPreparedOrRequestPoolCOROUTINE$).a9 = function () {
|
|
2509
|
+
var suspendResult = this.u8_1;
|
|
2510
2510
|
$sm: do
|
|
2511
2511
|
try {
|
|
2512
|
-
var tmp = this.
|
|
2512
|
+
var tmp = this.s8_1;
|
|
2513
2513
|
switch (tmp) {
|
|
2514
2514
|
case 0:
|
|
2515
|
-
this.
|
|
2515
|
+
this.t8_1 = 2;
|
|
2516
2516
|
var tmp0 = this.u58_1.s57_1;
|
|
2517
2517
|
var destination = LinkedHashMap_init_$Create$();
|
|
2518
|
-
var _iterator__ex2g4s = tmp0.
|
|
2518
|
+
var _iterator__ex2g4s = tmp0.v().l();
|
|
2519
2519
|
while (_iterator__ex2g4s.m()) {
|
|
2520
2520
|
var element = _iterator__ex2g4s.n();
|
|
2521
|
-
var tmp0_0 = element.
|
|
2521
|
+
var tmp0_0 = element.x().u5a_1;
|
|
2522
2522
|
var key = this.v58_1;
|
|
2523
|
-
if ((isInterface(tmp0_0, KtMap) ? tmp0_0 : THROW_CCE()).
|
|
2524
|
-
destination.
|
|
2523
|
+
if ((isInterface(tmp0_0, KtMap) ? tmp0_0 : THROW_CCE()).a2(key)) {
|
|
2524
|
+
destination.f2(element.w(), element.x());
|
|
2525
2525
|
}
|
|
2526
2526
|
}
|
|
2527
2527
|
|
|
2528
|
-
var usedResultEntry = firstOrNull(destination.
|
|
2528
|
+
var usedResultEntry = firstOrNull(destination.v());
|
|
2529
2529
|
if (!(usedResultEntry == null)) {
|
|
2530
|
-
return usedResultEntry.
|
|
2530
|
+
return usedResultEntry.x().y5a(this.v58_1);
|
|
2531
2531
|
}
|
|
2532
2532
|
|
|
2533
2533
|
var tmp0_1 = this.u58_1.s57_1;
|
|
2534
2534
|
var destination_0 = LinkedHashMap_init_$Create$();
|
|
2535
|
-
var _iterator__ex2g4s_0 = tmp0_1.
|
|
2535
|
+
var _iterator__ex2g4s_0 = tmp0_1.v().l();
|
|
2536
2536
|
while (_iterator__ex2g4s_0.m()) {
|
|
2537
2537
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
2538
|
-
if (element_0.
|
|
2539
|
-
destination_0.
|
|
2538
|
+
if (element_0.x().z5a(this.y58_1)) {
|
|
2539
|
+
destination_0.f2(element_0.w(), element_0.x());
|
|
2540
2540
|
}
|
|
2541
2541
|
}
|
|
2542
2542
|
|
|
2543
|
-
var availableResultEntry = firstOrNull(destination_0.
|
|
2543
|
+
var availableResultEntry = firstOrNull(destination_0.v());
|
|
2544
2544
|
if (!(availableResultEntry == null)) {
|
|
2545
|
-
return availableResultEntry.
|
|
2545
|
+
return availableResultEntry.x().a5b(this.v58_1, this.y58_1, this.u58_1.m57_1.thresholdForUsedPool);
|
|
2546
2546
|
}
|
|
2547
2547
|
|
|
2548
|
-
this.
|
|
2548
|
+
this.s8_1 = 1;
|
|
2549
2549
|
suspendResult = requestNewPool(this.u58_1, this.w58_1, this.x58_1, this.z58_1, this.a59_1, this.b59_1, this);
|
|
2550
2550
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2551
2551
|
return suspendResult;
|
|
@@ -2556,15 +2556,15 @@
|
|
|
2556
2556
|
var cardDecks = suspendResult;
|
|
2557
2557
|
return cardDecks.a5b(this.v58_1, this.y58_1, this.u58_1.m57_1.thresholdForUsedPool);
|
|
2558
2558
|
case 2:
|
|
2559
|
-
throw this.
|
|
2559
|
+
throw this.v8_1;
|
|
2560
2560
|
}
|
|
2561
2561
|
} catch ($p) {
|
|
2562
2562
|
var e = $p;
|
|
2563
|
-
if (this.
|
|
2563
|
+
if (this.t8_1 === 2) {
|
|
2564
2564
|
throw e;
|
|
2565
2565
|
} else {
|
|
2566
|
-
this.
|
|
2567
|
-
this.
|
|
2566
|
+
this.s8_1 = this.t8_1;
|
|
2567
|
+
this.v8_1 = e;
|
|
2568
2568
|
}
|
|
2569
2569
|
}
|
|
2570
2570
|
while (true);
|
|
@@ -2600,13 +2600,13 @@
|
|
|
2600
2600
|
return tmp;
|
|
2601
2601
|
};
|
|
2602
2602
|
protoOf(RandomPoolProviderImpl).b5b = function (gameId) {
|
|
2603
|
-
return this.t57_1.
|
|
2603
|
+
return this.t57_1.c2(gameId);
|
|
2604
2604
|
};
|
|
2605
2605
|
protoOf(RandomPoolProviderImpl).getGame = function (gameId) {
|
|
2606
2606
|
return this.b5b(gameId);
|
|
2607
2607
|
};
|
|
2608
2608
|
protoOf(RandomPoolProviderImpl).c5b = function (id) {
|
|
2609
|
-
return this.s57_1.
|
|
2609
|
+
return this.s57_1.c2(id);
|
|
2610
2610
|
};
|
|
2611
2611
|
protoOf(RandomPoolProviderImpl).getRandomPool = function (id) {
|
|
2612
2612
|
return this.c5b(id);
|
|
@@ -2618,25 +2618,25 @@
|
|
|
2618
2618
|
return this.d5b();
|
|
2619
2619
|
};
|
|
2620
2620
|
protoOf(RandomPoolProviderImpl).l57 = function (gameId) {
|
|
2621
|
-
var gameCardDecksRecord = this.t57_1.
|
|
2621
|
+
var gameCardDecksRecord = this.t57_1.c2(gameId);
|
|
2622
2622
|
if (!(gameCardDecksRecord == null)) {
|
|
2623
|
-
var randomPoolValue = this.s57_1.
|
|
2623
|
+
var randomPoolValue = this.s57_1.c2(gameCardDecksRecord.poolId);
|
|
2624
2624
|
if (!(randomPoolValue == null)) {
|
|
2625
2625
|
// Inline function 'kotlin.apply' call
|
|
2626
2626
|
var this_0 = toMutableMap(randomPoolValue.u5a_1);
|
|
2627
|
-
this_0.
|
|
2627
|
+
this_0.g2(gameId);
|
|
2628
2628
|
var newPoolValue = randomPoolValue.e5b(VOID, toMap(this_0));
|
|
2629
2629
|
if (newPoolValue.u5a_1.r()) {
|
|
2630
|
-
this.s57_1.
|
|
2630
|
+
this.s57_1.g2(gameCardDecksRecord.poolId);
|
|
2631
2631
|
} else {
|
|
2632
2632
|
var tmp0 = this.s57_1;
|
|
2633
2633
|
// Inline function 'kotlin.collections.set' call
|
|
2634
2634
|
var key = gameCardDecksRecord.poolId;
|
|
2635
|
-
tmp0.
|
|
2635
|
+
tmp0.f2(key, newPoolValue);
|
|
2636
2636
|
}
|
|
2637
2637
|
}
|
|
2638
2638
|
}
|
|
2639
|
-
this.t57_1.
|
|
2639
|
+
this.t57_1.g2(gameId);
|
|
2640
2640
|
};
|
|
2641
2641
|
function _get_cardDecksCount__ihvb5i($this) {
|
|
2642
2642
|
return $this.t5a_1.e53_1.o();
|
|
@@ -2661,7 +2661,7 @@
|
|
|
2661
2661
|
var previousReservedCardDeckIndex = this.v5a_1;
|
|
2662
2662
|
// Inline function 'kotlin.apply' call
|
|
2663
2663
|
var this_0 = toMutableMap(this.u5a_1);
|
|
2664
|
-
this_0.
|
|
2664
|
+
this_0.f2(gameId, previousReservedCardDeckIndex);
|
|
2665
2665
|
var newNewUsedBy = toMap(this_0);
|
|
2666
2666
|
var newReservedCardDecks = previousReservedCardDeckIndex + requestedCardDecks | 0;
|
|
2667
2667
|
return this.e5b(VOID, newNewUsedBy, newReservedCardDecks, (newReservedCardDecks + thresholdForUsedPool | 0) > _get_cardDecksCount__ihvb5i(this));
|
|
@@ -2677,7 +2677,7 @@
|
|
|
2677
2677
|
var newCardDeckIndex = tmp;
|
|
2678
2678
|
// Inline function 'kotlin.apply' call
|
|
2679
2679
|
var this_0 = toMutableMap(this.u5a_1);
|
|
2680
|
-
this_0.
|
|
2680
|
+
this_0.f2(gameId, newCardDeckIndex);
|
|
2681
2681
|
var newNewUsedBy = toMap(this_0);
|
|
2682
2682
|
return this.e5b(VOID, newNewUsedBy);
|
|
2683
2683
|
};
|
|
@@ -2922,19 +2922,19 @@
|
|
|
2922
2922
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2923
2923
|
var b = 1 + random.p5b(VOID, twentypc) | 0;
|
|
2924
2924
|
var cards = Math.min(tmp0, b);
|
|
2925
|
-
pile2.
|
|
2925
|
+
pile2.k2(0, take(pile, cards));
|
|
2926
2926
|
// Inline function 'kotlin.repeat' call
|
|
2927
2927
|
var inductionVariable_0 = 0;
|
|
2928
2928
|
if (inductionVariable_0 < cards)
|
|
2929
2929
|
do {
|
|
2930
2930
|
var index_0 = inductionVariable_0;
|
|
2931
2931
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
2932
|
-
pile.
|
|
2932
|
+
pile.o2(0);
|
|
2933
2933
|
}
|
|
2934
2934
|
while (inductionVariable_0 < cards);
|
|
2935
2935
|
}
|
|
2936
2936
|
pile.q(pile2);
|
|
2937
|
-
pile2.
|
|
2937
|
+
pile2.i2();
|
|
2938
2938
|
}
|
|
2939
2939
|
while (inductionVariable < iterations);
|
|
2940
2940
|
return pile;
|
|
@@ -2954,15 +2954,15 @@
|
|
|
2954
2954
|
var cut = (mid - tenpc | 0) + random.p5b(VOID, imul(2, tenpc) + 1 | 0) | 0;
|
|
2955
2955
|
var deck1 = toMutableList(take(pile, cut));
|
|
2956
2956
|
var deck2 = toMutableList(drop(pile, cut));
|
|
2957
|
-
pile.
|
|
2957
|
+
pile.i2();
|
|
2958
2958
|
var fromTop = random.q5b();
|
|
2959
2959
|
while (deck1.o() > 0 && deck2.o() > 0) {
|
|
2960
2960
|
if (fromTop) {
|
|
2961
|
-
pile.j(deck1.
|
|
2962
|
-
pile.j(deck2.
|
|
2961
|
+
pile.j(deck1.o2(0));
|
|
2962
|
+
pile.j(deck2.o2(0));
|
|
2963
2963
|
} else {
|
|
2964
|
-
pile.j(deck1.
|
|
2965
|
-
pile.j(deck2.
|
|
2964
|
+
pile.j(deck1.o2(get_lastIndex(deck1)));
|
|
2965
|
+
pile.j(deck2.o2(get_lastIndex(deck2)));
|
|
2966
2966
|
}
|
|
2967
2967
|
}
|
|
2968
2968
|
if (deck1.o() > 0) {
|