raspberry_games_server_game_logic 1.8.431 → 1.8.432
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kosi-Kaverit-kaverit.js +2 -2
- package/Kosi-Kodein-kodein-di.js +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime.js +152 -152
- package/Logic_Debertz-ai_module.js +193 -193
- package/Logic_Debertz-core.js +536 -536
- package/Logic_Debertz-engine.js +3667 -3649
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +1 -0
- package/Logic_Debertz-game_server.js +187 -187
- package/kotlin-kotlin-stdlib.js +546 -540
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-coroutines-core.js +2160 -2160
- package/kotlinx-io-kotlinx-io-core.js +314 -314
- package/kotlinx-serialization-kotlinx-serialization-core.js +1739 -1739
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1316 -1316
- package/ktor-ktor-client-content-negotiation.js +123 -123
- package/ktor-ktor-client-core.js +1442 -1442
- package/ktor-ktor-client-logging.js +265 -265
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +590 -590
- package/ktor-ktor-io.js +1241 -1241
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +132 -132
- package/ktor-ktor-serialization.js +61 -61
- package/ktor-ktor-utils.js +483 -483
- package/ktor-ktor-websockets.js +42 -42
- package/package.json +1 -1
- package/random-library-crypto-rand.js +1 -1
- package/random-library-secure-random.js +2 -2
- package/raspberry-cardgame-lib-core.js +7 -7
- package/raspberry-cardgame-lib-logger.js +90 -90
- package/raspberry-cardgame-lib-random.js +794 -794
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +12 -12
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
var DefaultJson;
|
|
37
37
|
function json(_this__u8e3s4, json, contentType) {
|
|
38
38
|
json = json === VOID ? get_DefaultJson() : json;
|
|
39
|
-
contentType = contentType === VOID ? Application_getInstance().
|
|
39
|
+
contentType = contentType === VOID ? Application_getInstance().y3d_1 : contentType;
|
|
40
40
|
_init_properties_JsonSupport_kt__yf438r();
|
|
41
41
|
serialization(_this__u8e3s4, contentType, json);
|
|
42
42
|
}
|
|
43
43
|
function DefaultJson$lambda($this$Json) {
|
|
44
44
|
_init_properties_JsonSupport_kt__yf438r();
|
|
45
|
-
$this$Json.
|
|
46
|
-
$this$Json.
|
|
47
|
-
$this$Json.r1a_1 = true;
|
|
45
|
+
$this$Json.e1a_1 = true;
|
|
46
|
+
$this$Json.h1a_1 = true;
|
|
48
47
|
$this$Json.s1a_1 = true;
|
|
49
|
-
$this$Json.
|
|
50
|
-
$this$Json.
|
|
48
|
+
$this$Json.t1a_1 = true;
|
|
49
|
+
$this$Json.i1a_1 = false;
|
|
50
|
+
$this$Json.u1a_1 = false;
|
|
51
51
|
return Unit_instance;
|
|
52
52
|
}
|
|
53
53
|
var properties_initialized_JsonSupport_kt_9cgd93;
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
var _iterator__ex2g4s = tmp0.l();
|
|
108
108
|
while (_iterator__ex2g4s.m()) {
|
|
109
109
|
var element = _iterator__ex2g4s.n();
|
|
110
|
-
var tmp0_safe_receiver = element.
|
|
110
|
+
var tmp0_safe_receiver = element.o4z(format);
|
|
111
111
|
if (tmp0_safe_receiver == null)
|
|
112
112
|
null;
|
|
113
113
|
else {
|
|
@@ -118,24 +118,24 @@
|
|
|
118
118
|
return destination;
|
|
119
119
|
}
|
|
120
120
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
121
|
-
_this__u8e3s4.
|
|
121
|
+
_this__u8e3s4.t4u(contentType, new KotlinxSerializationConverter(format));
|
|
122
122
|
}
|
|
123
123
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
124
|
+
this.x4z_1 = $$this$unsafeFlow;
|
|
125
|
+
this.y4z_1 = $contentType;
|
|
126
|
+
this.z4z_1 = $charset;
|
|
127
|
+
this.a50_1 = $typeInfo;
|
|
128
|
+
this.b50_1 = $value;
|
|
129
129
|
CoroutineImpl.call(this, resultContinuation);
|
|
130
130
|
}
|
|
131
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
132
|
-
var tmp = this.
|
|
131
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).x2h = function (value, $completion) {
|
|
132
|
+
var tmp = this.y2h(value, $completion);
|
|
133
133
|
tmp.u8_1 = Unit_instance;
|
|
134
134
|
tmp.v8_1 = null;
|
|
135
135
|
return tmp.a9();
|
|
136
136
|
};
|
|
137
137
|
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).i9 = function (p1, $completion) {
|
|
138
|
-
return this.
|
|
138
|
+
return this.x2h((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
139
139
|
};
|
|
140
140
|
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).a9 = function () {
|
|
141
141
|
var suspendResult = this.u8_1;
|
|
@@ -145,11 +145,11 @@
|
|
|
145
145
|
switch (tmp) {
|
|
146
146
|
case 0:
|
|
147
147
|
this.t8_1 = 3;
|
|
148
|
-
var tmp0 = this.
|
|
149
|
-
var tmp2 = this.
|
|
150
|
-
this.
|
|
148
|
+
var tmp0 = this.x4z_1;
|
|
149
|
+
var tmp2 = this.c50_1;
|
|
150
|
+
this.d50_1 = tmp0;
|
|
151
151
|
this.s8_1 = 1;
|
|
152
|
-
suspendResult = tmp2.
|
|
152
|
+
suspendResult = tmp2.e50(this.y4z_1, this.z4z_1, this.a50_1, this.b50_1, this);
|
|
153
153
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
154
154
|
return suspendResult;
|
|
155
155
|
}
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
case 1:
|
|
159
159
|
var ARGUMENT = suspendResult;
|
|
160
160
|
this.s8_1 = 2;
|
|
161
|
-
suspendResult = this.
|
|
161
|
+
suspendResult = this.d50_1.o28(ARGUMENT, this);
|
|
162
162
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
163
163
|
return suspendResult;
|
|
164
164
|
}
|
|
@@ -180,23 +180,23 @@
|
|
|
180
180
|
}
|
|
181
181
|
while (true);
|
|
182
182
|
};
|
|
183
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
184
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
185
|
-
i.
|
|
183
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).y2h = function (value, completion) {
|
|
184
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.x4z_1, this.y4z_1, this.z4z_1, this.a50_1, this.b50_1, completion);
|
|
185
|
+
i.c50_1 = value;
|
|
186
186
|
return i;
|
|
187
187
|
};
|
|
188
188
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
189
189
|
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
190
190
|
var l = function (value, $completion) {
|
|
191
|
-
return i.
|
|
191
|
+
return i.x2h(value, $completion);
|
|
192
192
|
};
|
|
193
193
|
l.$arity = 1;
|
|
194
194
|
return l;
|
|
195
195
|
}
|
|
196
196
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
197
197
|
CoroutineImpl.call(this, resultContinuation);
|
|
198
|
-
this.
|
|
199
|
-
this.
|
|
198
|
+
this.n50_1 = _this__u8e3s4;
|
|
199
|
+
this.o50_1 = collector;
|
|
200
200
|
}
|
|
201
201
|
protoOf($collectCOROUTINE$).a9 = function () {
|
|
202
202
|
var suspendResult = this.u8_1;
|
|
@@ -206,10 +206,10 @@
|
|
|
206
206
|
switch (tmp) {
|
|
207
207
|
case 0:
|
|
208
208
|
this.t8_1 = 2;
|
|
209
|
-
var $this$unsafeFlow = this.
|
|
209
|
+
var $this$unsafeFlow = this.o50_1;
|
|
210
210
|
this.s8_1 = 1;
|
|
211
|
-
var tmp_0 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($this$unsafeFlow, this.
|
|
212
|
-
suspendResult = this.
|
|
211
|
+
var tmp_0 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($this$unsafeFlow, this.n50_1.q50_1, this.n50_1.r50_1, this.n50_1.s50_1, this.n50_1.t50_1, null);
|
|
212
|
+
suspendResult = this.n50_1.p50_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
213
213
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
214
214
|
return suspendResult;
|
|
215
215
|
}
|
|
@@ -232,20 +232,20 @@
|
|
|
232
232
|
while (true);
|
|
233
233
|
};
|
|
234
234
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
235
|
-
this.
|
|
236
|
-
this.
|
|
237
|
-
this.
|
|
238
|
-
this.
|
|
235
|
+
this.c51_1 = $$this$unsafeFlow;
|
|
236
|
+
this.d51_1 = $charset;
|
|
237
|
+
this.e51_1 = $typeInfo;
|
|
238
|
+
this.f51_1 = $content;
|
|
239
239
|
CoroutineImpl.call(this, resultContinuation);
|
|
240
240
|
}
|
|
241
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
242
|
-
var tmp = this.
|
|
241
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).x2h = function (value, $completion) {
|
|
242
|
+
var tmp = this.y2h(value, $completion);
|
|
243
243
|
tmp.u8_1 = Unit_instance;
|
|
244
244
|
tmp.v8_1 = null;
|
|
245
245
|
return tmp.a9();
|
|
246
246
|
};
|
|
247
247
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).i9 = function (p1, $completion) {
|
|
248
|
-
return this.
|
|
248
|
+
return this.x2h((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
249
249
|
};
|
|
250
250
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).a9 = function () {
|
|
251
251
|
var suspendResult = this.u8_1;
|
|
@@ -255,11 +255,11 @@
|
|
|
255
255
|
switch (tmp) {
|
|
256
256
|
case 0:
|
|
257
257
|
this.t8_1 = 3;
|
|
258
|
-
var tmp0 = this.
|
|
259
|
-
var tmp2 = this.
|
|
260
|
-
this.
|
|
258
|
+
var tmp0 = this.c51_1;
|
|
259
|
+
var tmp2 = this.g51_1;
|
|
260
|
+
this.h51_1 = tmp0;
|
|
261
261
|
this.s8_1 = 1;
|
|
262
|
-
suspendResult = tmp2.
|
|
262
|
+
suspendResult = tmp2.w4u(this.d51_1, this.e51_1, this.f51_1, this);
|
|
263
263
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
264
264
|
return suspendResult;
|
|
265
265
|
}
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
case 1:
|
|
269
269
|
var ARGUMENT = suspendResult;
|
|
270
270
|
this.s8_1 = 2;
|
|
271
|
-
suspendResult = this.
|
|
271
|
+
suspendResult = this.h51_1.o28(ARGUMENT, this);
|
|
272
272
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
273
273
|
return suspendResult;
|
|
274
274
|
}
|
|
@@ -290,23 +290,23 @@
|
|
|
290
290
|
}
|
|
291
291
|
while (true);
|
|
292
292
|
};
|
|
293
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
294
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
295
|
-
i.
|
|
293
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).y2h = function (value, completion) {
|
|
294
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.c51_1, this.d51_1, this.e51_1, this.f51_1, completion);
|
|
295
|
+
i.g51_1 = value;
|
|
296
296
|
return i;
|
|
297
297
|
};
|
|
298
298
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
299
299
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
300
300
|
var l = function (value, $completion) {
|
|
301
|
-
return i.
|
|
301
|
+
return i.x2h(value, $completion);
|
|
302
302
|
};
|
|
303
303
|
l.$arity = 1;
|
|
304
304
|
return l;
|
|
305
305
|
}
|
|
306
306
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
307
307
|
CoroutineImpl.call(this, resultContinuation);
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
308
|
+
this.q51_1 = _this__u8e3s4;
|
|
309
|
+
this.r51_1 = collector;
|
|
310
310
|
}
|
|
311
311
|
protoOf($collectCOROUTINE$_0).a9 = function () {
|
|
312
312
|
var suspendResult = this.u8_1;
|
|
@@ -316,10 +316,10 @@
|
|
|
316
316
|
switch (tmp) {
|
|
317
317
|
case 0:
|
|
318
318
|
this.t8_1 = 2;
|
|
319
|
-
var $this$unsafeFlow = this.
|
|
319
|
+
var $this$unsafeFlow = this.r51_1;
|
|
320
320
|
this.s8_1 = 1;
|
|
321
|
-
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
322
|
-
suspendResult = this.
|
|
321
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.q51_1.t51_1, this.q51_1.u51_1, this.q51_1.v51_1, null);
|
|
322
|
+
suspendResult = this.q51_1.s51_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
323
323
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
324
324
|
return suspendResult;
|
|
325
325
|
}
|
|
@@ -344,11 +344,11 @@
|
|
|
344
344
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
345
345
|
var tmp;
|
|
346
346
|
if (isInterface(format, StringFormat)) {
|
|
347
|
-
var content = format.
|
|
347
|
+
var content = format.fp(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
348
348
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
349
349
|
} else {
|
|
350
350
|
if (isInterface(format, BinaryFormat)) {
|
|
351
|
-
var content_0 = format.
|
|
351
|
+
var content_0 = format.hp(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
352
352
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
353
353
|
} else {
|
|
354
354
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -358,13 +358,13 @@
|
|
|
358
358
|
return tmp;
|
|
359
359
|
}
|
|
360
360
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
361
|
-
this.
|
|
361
|
+
this.w51_1 = function_0;
|
|
362
362
|
}
|
|
363
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
364
|
-
return this.
|
|
363
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o28 = function (value, $completion) {
|
|
364
|
+
return this.w51_1(value, $completion);
|
|
365
365
|
};
|
|
366
366
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
367
|
-
return this.
|
|
367
|
+
return this.w51_1;
|
|
368
368
|
};
|
|
369
369
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
370
370
|
var tmp;
|
|
@@ -385,13 +385,13 @@
|
|
|
385
385
|
return hashCode(this.b3());
|
|
386
386
|
};
|
|
387
387
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
388
|
-
this.
|
|
388
|
+
this.x51_1 = function_0;
|
|
389
389
|
}
|
|
390
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
391
|
-
return this.
|
|
390
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o28 = function (value, $completion) {
|
|
391
|
+
return this.x51_1(value, $completion);
|
|
392
392
|
};
|
|
393
393
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
394
|
-
return this.
|
|
394
|
+
return this.x51_1;
|
|
395
395
|
};
|
|
396
396
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
397
397
|
var tmp;
|
|
@@ -412,32 +412,32 @@
|
|
|
412
412
|
return hashCode(this.b3());
|
|
413
413
|
};
|
|
414
414
|
function KotlinxSerializationConverter$serializeNullable$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
418
|
-
this.
|
|
419
|
-
this.
|
|
415
|
+
this.p50_1 = $this;
|
|
416
|
+
this.q50_1 = $contentType;
|
|
417
|
+
this.r50_1 = $charset;
|
|
418
|
+
this.s50_1 = $typeInfo;
|
|
419
|
+
this.t50_1 = $value;
|
|
420
420
|
}
|
|
421
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).
|
|
421
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).p28 = function (collector, $completion) {
|
|
422
422
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
423
423
|
tmp.u8_1 = Unit_instance;
|
|
424
424
|
tmp.v8_1 = null;
|
|
425
425
|
return tmp.a9();
|
|
426
426
|
};
|
|
427
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).
|
|
428
|
-
return this.
|
|
427
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).o27 = function (collector, $completion) {
|
|
428
|
+
return this.p28(collector, $completion);
|
|
429
429
|
};
|
|
430
430
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
431
431
|
CoroutineImpl.call(this, resultContinuation);
|
|
432
432
|
}
|
|
433
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
434
|
-
var tmp = this.
|
|
433
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).h52 = function (it, $completion) {
|
|
434
|
+
var tmp = this.i52(it, $completion);
|
|
435
435
|
tmp.u8_1 = Unit_instance;
|
|
436
436
|
tmp.v8_1 = null;
|
|
437
437
|
return tmp.a9();
|
|
438
438
|
};
|
|
439
439
|
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).i9 = function (p1, $completion) {
|
|
440
|
-
return this.
|
|
440
|
+
return this.h52((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
441
441
|
};
|
|
442
442
|
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).a9 = function () {
|
|
443
443
|
var suspendResult = this.u8_1;
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
var tmp = this.s8_1;
|
|
447
447
|
if (tmp === 0) {
|
|
448
448
|
this.t8_1 = 1;
|
|
449
|
-
return !(this.
|
|
449
|
+
return !(this.g52_1 == null);
|
|
450
450
|
} else if (tmp === 1) {
|
|
451
451
|
throw this.v8_1;
|
|
452
452
|
}
|
|
@@ -456,46 +456,46 @@
|
|
|
456
456
|
}
|
|
457
457
|
while (true);
|
|
458
458
|
};
|
|
459
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
459
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).i52 = function (it, completion) {
|
|
460
460
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
461
|
-
i.
|
|
461
|
+
i.g52_1 = it;
|
|
462
462
|
return i;
|
|
463
463
|
};
|
|
464
464
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
465
465
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
466
466
|
var l = function (it, $completion) {
|
|
467
|
-
return i.
|
|
467
|
+
return i.h52(it, $completion);
|
|
468
468
|
};
|
|
469
469
|
l.$arity = 1;
|
|
470
470
|
return l;
|
|
471
471
|
}
|
|
472
472
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
473
|
-
this.
|
|
474
|
-
this.
|
|
475
|
-
this.
|
|
476
|
-
this.
|
|
473
|
+
this.s51_1 = $this;
|
|
474
|
+
this.t51_1 = $charset;
|
|
475
|
+
this.u51_1 = $typeInfo;
|
|
476
|
+
this.v51_1 = $content;
|
|
477
477
|
}
|
|
478
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
478
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).p28 = function (collector, $completion) {
|
|
479
479
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
480
480
|
tmp.u8_1 = Unit_instance;
|
|
481
481
|
tmp.v8_1 = null;
|
|
482
482
|
return tmp.a9();
|
|
483
483
|
};
|
|
484
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
485
|
-
return this.
|
|
484
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).o27 = function (collector, $completion) {
|
|
485
|
+
return this.p28(collector, $completion);
|
|
486
486
|
};
|
|
487
487
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
488
|
-
this.
|
|
488
|
+
this.r52_1 = $content;
|
|
489
489
|
CoroutineImpl.call(this, resultContinuation);
|
|
490
490
|
}
|
|
491
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
492
|
-
var tmp = this.
|
|
491
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).w4w = function (it, $completion) {
|
|
492
|
+
var tmp = this.y2h(it, $completion);
|
|
493
493
|
tmp.u8_1 = Unit_instance;
|
|
494
494
|
tmp.v8_1 = null;
|
|
495
495
|
return tmp.a9();
|
|
496
496
|
};
|
|
497
497
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).i9 = function (p1, $completion) {
|
|
498
|
-
return this.
|
|
498
|
+
return this.w4w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
499
499
|
};
|
|
500
500
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).a9 = function () {
|
|
501
501
|
var suspendResult = this.u8_1;
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
var tmp = this.s8_1;
|
|
505
505
|
if (tmp === 0) {
|
|
506
506
|
this.t8_1 = 1;
|
|
507
|
-
return !(this.
|
|
507
|
+
return !(this.s52_1 == null) || this.r52_1.t2r();
|
|
508
508
|
} else if (tmp === 1) {
|
|
509
509
|
throw this.v8_1;
|
|
510
510
|
}
|
|
@@ -514,26 +514,26 @@
|
|
|
514
514
|
}
|
|
515
515
|
while (true);
|
|
516
516
|
};
|
|
517
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
518
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
519
|
-
i.
|
|
517
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).y2h = function (it, completion) {
|
|
518
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.r52_1, completion);
|
|
519
|
+
i.s52_1 = it;
|
|
520
520
|
return i;
|
|
521
521
|
};
|
|
522
522
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
523
523
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
524
524
|
var l = function (it, $completion) {
|
|
525
|
-
return i.
|
|
525
|
+
return i.w4w(it, $completion);
|
|
526
526
|
};
|
|
527
527
|
l.$arity = 1;
|
|
528
528
|
return l;
|
|
529
529
|
}
|
|
530
530
|
function $serializeNullableCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
531
531
|
CoroutineImpl.call(this, resultContinuation);
|
|
532
|
-
this.
|
|
533
|
-
this.
|
|
534
|
-
this.
|
|
535
|
-
this.
|
|
536
|
-
this.
|
|
532
|
+
this.b53_1 = _this__u8e3s4;
|
|
533
|
+
this.c53_1 = contentType;
|
|
534
|
+
this.d53_1 = charset;
|
|
535
|
+
this.e53_1 = typeInfo;
|
|
536
|
+
this.f53_1 = value;
|
|
537
537
|
}
|
|
538
538
|
protoOf($serializeNullableCOROUTINE$).a9 = function () {
|
|
539
539
|
var suspendResult = this.u8_1;
|
|
@@ -544,8 +544,8 @@
|
|
|
544
544
|
case 0:
|
|
545
545
|
this.t8_1 = 2;
|
|
546
546
|
this.s8_1 = 1;
|
|
547
|
-
var this_0 = asFlow(this.
|
|
548
|
-
var tmp_0 = new KotlinxSerializationConverter$serializeNullable$$inlined$map$1(this_0, this.
|
|
547
|
+
var this_0 = asFlow(this.b53_1.h53_1);
|
|
548
|
+
var tmp_0 = new KotlinxSerializationConverter$serializeNullable$$inlined$map$1(this_0, this.c53_1, this.d53_1, this.e53_1, this.f53_1);
|
|
549
549
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
550
550
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
551
551
|
return suspendResult;
|
|
@@ -558,12 +558,12 @@
|
|
|
558
558
|
return fromExtension;
|
|
559
559
|
var tmp_1;
|
|
560
560
|
try {
|
|
561
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
561
|
+
tmp_1 = serializerForTypeInfo(this.b53_1.g53_1.es(), this.e53_1);
|
|
562
562
|
} catch ($p) {
|
|
563
563
|
var tmp_2;
|
|
564
564
|
if ($p instanceof SerializationException) {
|
|
565
565
|
var cause = $p;
|
|
566
|
-
tmp_2 = guessSerializer(this.
|
|
566
|
+
tmp_2 = guessSerializer(this.f53_1, this.b53_1.g53_1.es());
|
|
567
567
|
} else {
|
|
568
568
|
throw $p;
|
|
569
569
|
}
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
var serializer = tmp_1;
|
|
574
|
-
return serializeContent(this.
|
|
574
|
+
return serializeContent(this.b53_1, serializer, this.b53_1.g53_1, this.f53_1, this.c53_1, this.d53_1);
|
|
575
575
|
case 2:
|
|
576
576
|
throw this.v8_1;
|
|
577
577
|
}
|
|
@@ -588,10 +588,10 @@
|
|
|
588
588
|
};
|
|
589
589
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
590
590
|
CoroutineImpl.call(this, resultContinuation);
|
|
591
|
-
this.
|
|
592
|
-
this.
|
|
593
|
-
this.
|
|
594
|
-
this.
|
|
591
|
+
this.q53_1 = _this__u8e3s4;
|
|
592
|
+
this.r53_1 = charset;
|
|
593
|
+
this.s53_1 = typeInfo;
|
|
594
|
+
this.t53_1 = content;
|
|
595
595
|
}
|
|
596
596
|
protoOf($deserializeCOROUTINE$).a9 = function () {
|
|
597
597
|
var suspendResult = this.u8_1;
|
|
@@ -602,9 +602,9 @@
|
|
|
602
602
|
case 0:
|
|
603
603
|
this.t8_1 = 5;
|
|
604
604
|
this.s8_1 = 1;
|
|
605
|
-
var this_0 = asFlow(this.
|
|
606
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
607
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
605
|
+
var this_0 = asFlow(this.q53_1.h53_1);
|
|
606
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.r53_1, this.s53_1, this.t53_1);
|
|
607
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.t53_1, null), this);
|
|
608
608
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
609
609
|
return suspendResult;
|
|
610
610
|
}
|
|
@@ -613,17 +613,17 @@
|
|
|
613
613
|
case 1:
|
|
614
614
|
var fromExtension = suspendResult;
|
|
615
615
|
var tmp_1;
|
|
616
|
-
if (!this.
|
|
617
|
-
tmp_1 = !(fromExtension == null) || this.
|
|
616
|
+
if (!this.q53_1.h53_1.r()) {
|
|
617
|
+
tmp_1 = !(fromExtension == null) || this.t53_1.t2r();
|
|
618
618
|
} else {
|
|
619
619
|
tmp_1 = false;
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
if (tmp_1)
|
|
623
623
|
return fromExtension;
|
|
624
|
-
this.
|
|
624
|
+
this.u53_1 = serializerForTypeInfo(this.q53_1.g53_1.es(), this.s53_1);
|
|
625
625
|
this.s8_1 = 2;
|
|
626
|
-
suspendResult = this.
|
|
626
|
+
suspendResult = this.t53_1.k2x(VOID, this);
|
|
627
627
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
628
628
|
return suspendResult;
|
|
629
629
|
}
|
|
@@ -632,16 +632,16 @@
|
|
|
632
632
|
case 2:
|
|
633
633
|
var contentPacket = suspendResult;
|
|
634
634
|
this.t8_1 = 3;
|
|
635
|
-
var tmp0_subject = this.
|
|
635
|
+
var tmp0_subject = this.q53_1.g53_1;
|
|
636
636
|
var tmp_2;
|
|
637
637
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
638
|
-
tmp_2 = this.
|
|
638
|
+
tmp_2 = this.q53_1.g53_1.gp(this.u53_1, readText(contentPacket, this.r53_1));
|
|
639
639
|
} else {
|
|
640
640
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
641
|
-
tmp_2 = this.
|
|
641
|
+
tmp_2 = this.q53_1.g53_1.ip(this.u53_1, readBytes(contentPacket));
|
|
642
642
|
} else {
|
|
643
643
|
discard(contentPacket);
|
|
644
|
-
var message = 'Unsupported format ' + toString(this.
|
|
644
|
+
var message = 'Unsupported format ' + toString(this.q53_1.g53_1);
|
|
645
645
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
646
646
|
}
|
|
647
647
|
}
|
|
@@ -675,38 +675,38 @@
|
|
|
675
675
|
while (true);
|
|
676
676
|
};
|
|
677
677
|
function KotlinxSerializationConverter(format) {
|
|
678
|
-
this.
|
|
679
|
-
this.
|
|
678
|
+
this.g53_1 = format;
|
|
679
|
+
this.h53_1 = extensions(this.g53_1);
|
|
680
680
|
var tmp;
|
|
681
|
-
var tmp_0 = this.
|
|
681
|
+
var tmp_0 = this.g53_1;
|
|
682
682
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
683
683
|
tmp = true;
|
|
684
684
|
} else {
|
|
685
|
-
var tmp_1 = this.
|
|
685
|
+
var tmp_1 = this.g53_1;
|
|
686
686
|
tmp = isInterface(tmp_1, StringFormat);
|
|
687
687
|
}
|
|
688
688
|
// Inline function 'kotlin.require' call
|
|
689
689
|
if (!tmp) {
|
|
690
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
690
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.g53_1) + ' is not supported.';
|
|
691
691
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
|
-
protoOf(KotlinxSerializationConverter).
|
|
695
|
-
return this.
|
|
694
|
+
protoOf(KotlinxSerializationConverter).v53 = function (contentType, charset, typeInfo, value, $completion) {
|
|
695
|
+
return this.w53(contentType, charset, typeInfo, value, $completion);
|
|
696
696
|
};
|
|
697
|
-
protoOf(KotlinxSerializationConverter).
|
|
698
|
-
return this.
|
|
697
|
+
protoOf(KotlinxSerializationConverter).u4u = function (contentType, charset, typeInfo, value, $completion) {
|
|
698
|
+
return this.v53(contentType, charset, typeInfo, value, $completion);
|
|
699
699
|
};
|
|
700
|
-
protoOf(KotlinxSerializationConverter).
|
|
700
|
+
protoOf(KotlinxSerializationConverter).w53 = function (contentType, charset, typeInfo, value, $completion) {
|
|
701
701
|
var tmp = new $serializeNullableCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
702
702
|
tmp.u8_1 = Unit_instance;
|
|
703
703
|
tmp.v8_1 = null;
|
|
704
704
|
return tmp.a9();
|
|
705
705
|
};
|
|
706
|
-
protoOf(KotlinxSerializationConverter).
|
|
707
|
-
return this.
|
|
706
|
+
protoOf(KotlinxSerializationConverter).v4u = function (contentType, charset, typeInfo, value, $completion) {
|
|
707
|
+
return this.w53(contentType, charset, typeInfo, value, $completion);
|
|
708
708
|
};
|
|
709
|
-
protoOf(KotlinxSerializationConverter).
|
|
709
|
+
protoOf(KotlinxSerializationConverter).w4u = function (charset, typeInfo, content, $completion) {
|
|
710
710
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
711
711
|
tmp.u8_1 = Unit_instance;
|
|
712
712
|
tmp.v8_1 = null;
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
};
|
|
715
715
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
716
716
|
var module_0 = _this__u8e3s4;
|
|
717
|
-
var tmp0_safe_receiver = typeInfo.
|
|
717
|
+
var tmp0_safe_receiver = typeInfo.i3d_1;
|
|
718
718
|
var tmp;
|
|
719
719
|
if (tmp0_safe_receiver == null) {
|
|
720
720
|
tmp = null;
|
|
@@ -731,13 +731,13 @@
|
|
|
731
731
|
var tmp2_elvis_lhs = tmp;
|
|
732
732
|
var tmp_1;
|
|
733
733
|
if (tmp2_elvis_lhs == null) {
|
|
734
|
-
var tmp1_safe_receiver = module_0.
|
|
734
|
+
var tmp1_safe_receiver = module_0.lp(typeInfo.g3d_1);
|
|
735
735
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
736
736
|
} else {
|
|
737
737
|
tmp_1 = tmp2_elvis_lhs;
|
|
738
738
|
}
|
|
739
739
|
var tmp3_elvis_lhs = tmp_1;
|
|
740
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
740
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.g3d_1), typeInfo) : tmp3_elvis_lhs;
|
|
741
741
|
}
|
|
742
742
|
function guessSerializer(value, module_0) {
|
|
743
743
|
var tmp;
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
var valueSerializer = elementSerializer(value.e2(), module_0);
|
|
768
768
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
769
769
|
} else {
|
|
770
|
-
var tmp3_elvis_lhs = module_0.
|
|
770
|
+
var tmp3_elvis_lhs = module_0.lp(getKClassFromExpression(value));
|
|
771
771
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
772
772
|
}
|
|
773
773
|
}
|
|
@@ -779,7 +779,7 @@
|
|
|
779
779
|
}
|
|
780
780
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
781
781
|
var tmp;
|
|
782
|
-
var tmp0_safe_receiver = typeInfo.
|
|
782
|
+
var tmp0_safe_receiver = typeInfo.i3d_1;
|
|
783
783
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ta()) === true) {
|
|
784
784
|
tmp = get_nullable(_this__u8e3s4);
|
|
785
785
|
} else {
|
|
@@ -804,7 +804,7 @@
|
|
|
804
804
|
var _iterator__ex2g4s_0 = destination.l();
|
|
805
805
|
while (_iterator__ex2g4s_0.m()) {
|
|
806
806
|
var e = _iterator__ex2g4s_0.n();
|
|
807
|
-
var key = e.
|
|
807
|
+
var key = e.co().dp();
|
|
808
808
|
if (set.j(key)) {
|
|
809
809
|
list.j(e);
|
|
810
810
|
}
|
|
@@ -817,7 +817,7 @@
|
|
|
817
817
|
var _iterator__ex2g4s_1 = serializers.l();
|
|
818
818
|
while (_iterator__ex2g4s_1.m()) {
|
|
819
819
|
var item_0 = _iterator__ex2g4s_1.n();
|
|
820
|
-
var tmp$ret$5 = item_0.
|
|
820
|
+
var tmp$ret$5 = item_0.co().dp();
|
|
821
821
|
destination_0.j(tmp$ret$5);
|
|
822
822
|
}
|
|
823
823
|
// Inline function 'kotlin.error' call
|
|
@@ -826,7 +826,7 @@
|
|
|
826
826
|
}
|
|
827
827
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
828
828
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
829
|
-
if (selected.
|
|
829
|
+
if (selected.co().pp()) {
|
|
830
830
|
return selected;
|
|
831
831
|
}
|
|
832
832
|
if (!isInterface(selected, KSerializer))
|