client_plugin_logic_deb 1.8.393 → 1.8.394
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/Kotlin-DateTime-library-kotlinx-datetime.js +1417 -1417
- package/Logic_Debertz-client_plugin.js +2387 -2225
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1201 -1201
- package/Logic_Debertz-engine.js +12152 -12152
- package/Logic_Debertz-game_client.js +7317 -7125
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +895 -895
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +391 -256
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1074 -1074
- package/ktor-ktor-client-content-negotiation.js +123 -123
- package/ktor-ktor-client-core.js +1429 -1429
- package/ktor-ktor-client-logging.js +264 -264
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http.js +600 -600
- package/ktor-ktor-io.js +1204 -1204
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +106 -106
- package/ktor-ktor-serialization.js +50 -50
- package/ktor-ktor-utils.js +464 -464
- package/ktor-ktor-websockets.js +41 -41
- package/package.json +1 -1
- package/random-library-secure-random.js +1 -1
- package/raspberry-cardgame-lib-core.js +168 -168
- package/raspberry-cardgame-lib-logger.js +92 -92
- package/raspberry-cardgame-lib-random.js +589 -589
- package/uuid.js +11 -11
|
@@ -272,12 +272,12 @@
|
|
|
272
272
|
}
|
|
273
273
|
function Json(configuration, serializersModule) {
|
|
274
274
|
Default_getInstance();
|
|
275
|
-
this.
|
|
276
|
-
this.
|
|
277
|
-
this.
|
|
275
|
+
this.f4r_1 = configuration;
|
|
276
|
+
this.g4r_1 = serializersModule;
|
|
277
|
+
this.h4r_1 = new DescriptorSchemaCache();
|
|
278
278
|
}
|
|
279
279
|
protoOf(Json).ds = function () {
|
|
280
|
-
return this.
|
|
280
|
+
return this.g4r_1;
|
|
281
281
|
};
|
|
282
282
|
protoOf(Json).ep = function (serializer, value) {
|
|
283
283
|
var result = new JsonToStringWriter();
|
|
@@ -285,64 +285,64 @@
|
|
|
285
285
|
encodeByWriter(this, result, serializer, value);
|
|
286
286
|
return result.toString();
|
|
287
287
|
}finally {
|
|
288
|
-
result.
|
|
288
|
+
result.k2p();
|
|
289
289
|
}
|
|
290
290
|
};
|
|
291
291
|
protoOf(Json).fp = function (deserializer, string) {
|
|
292
292
|
var lexer = StringJsonLexer_0(this, string);
|
|
293
293
|
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.bo(), null);
|
|
294
294
|
var result = input.nr(deserializer);
|
|
295
|
-
lexer.
|
|
295
|
+
lexer.v4r();
|
|
296
296
|
return result;
|
|
297
297
|
};
|
|
298
298
|
function Json_0(from, builderAction) {
|
|
299
299
|
from = from === VOID ? Default_getInstance() : from;
|
|
300
300
|
var builder = new JsonBuilder(from);
|
|
301
301
|
builderAction(builder);
|
|
302
|
-
var conf = builder.
|
|
303
|
-
return new JsonImpl(conf, builder.
|
|
302
|
+
var conf = builder.o4s();
|
|
303
|
+
return new JsonImpl(conf, builder.n4s_1);
|
|
304
304
|
}
|
|
305
305
|
function JsonBuilder(json) {
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
322
|
-
this.
|
|
323
|
-
this.
|
|
324
|
-
}
|
|
325
|
-
protoOf(JsonBuilder).
|
|
326
|
-
if (this.
|
|
306
|
+
this.w4r_1 = json.f4r_1.p4s_1;
|
|
307
|
+
this.x4r_1 = json.f4r_1.u4s_1;
|
|
308
|
+
this.y4r_1 = json.f4r_1.q4s_1;
|
|
309
|
+
this.z4r_1 = json.f4r_1.r4s_1;
|
|
310
|
+
this.a4s_1 = json.f4r_1.t4s_1;
|
|
311
|
+
this.b4s_1 = json.f4r_1.v4s_1;
|
|
312
|
+
this.c4s_1 = json.f4r_1.w4s_1;
|
|
313
|
+
this.d4s_1 = json.f4r_1.y4s_1;
|
|
314
|
+
this.e4s_1 = json.f4r_1.f4t_1;
|
|
315
|
+
this.f4s_1 = json.f4r_1.a4t_1;
|
|
316
|
+
this.g4s_1 = json.f4r_1.b4t_1;
|
|
317
|
+
this.h4s_1 = json.f4r_1.c4t_1;
|
|
318
|
+
this.i4s_1 = json.f4r_1.d4t_1;
|
|
319
|
+
this.j4s_1 = json.f4r_1.e4t_1;
|
|
320
|
+
this.k4s_1 = json.f4r_1.z4s_1;
|
|
321
|
+
this.l4s_1 = json.f4r_1.s4s_1;
|
|
322
|
+
this.m4s_1 = json.f4r_1.x4s_1;
|
|
323
|
+
this.n4s_1 = json.ds();
|
|
324
|
+
}
|
|
325
|
+
protoOf(JsonBuilder).o4s = function () {
|
|
326
|
+
if (this.m4s_1) {
|
|
327
327
|
// Inline function 'kotlin.require' call
|
|
328
|
-
if (!(this.
|
|
328
|
+
if (!(this.d4s_1 === 'type')) {
|
|
329
329
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
330
330
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
331
331
|
}
|
|
332
332
|
// Inline function 'kotlin.require' call
|
|
333
|
-
if (!this.
|
|
333
|
+
if (!this.e4s_1.equals(ClassDiscriminatorMode_POLYMORPHIC_getInstance())) {
|
|
334
334
|
var message_0 = 'useArrayPolymorphism option can only be used if classDiscriminatorMode in a default POLYMORPHIC state.';
|
|
335
335
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
|
-
if (!this.
|
|
338
|
+
if (!this.a4s_1) {
|
|
339
339
|
// Inline function 'kotlin.require' call
|
|
340
|
-
if (!(this.
|
|
340
|
+
if (!(this.b4s_1 === ' ')) {
|
|
341
341
|
var message_1 = 'Indent should not be specified when default printing mode is used';
|
|
342
342
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
343
343
|
}
|
|
344
|
-
} else if (!(this.
|
|
345
|
-
var tmp0 = this.
|
|
344
|
+
} else if (!(this.b4s_1 === ' ')) {
|
|
345
|
+
var tmp0 = this.b4s_1;
|
|
346
346
|
var tmp$ret$7;
|
|
347
347
|
$l$block: {
|
|
348
348
|
// Inline function 'kotlin.text.all' call
|
|
@@ -360,16 +360,16 @@
|
|
|
360
360
|
var allWhitespaces = tmp$ret$7;
|
|
361
361
|
// Inline function 'kotlin.require' call
|
|
362
362
|
if (!allWhitespaces) {
|
|
363
|
-
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
363
|
+
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.b4s_1;
|
|
364
364
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
return new JsonConfiguration(this.
|
|
367
|
+
return new JsonConfiguration(this.w4r_1, this.y4r_1, this.z4r_1, this.l4s_1, this.a4s_1, this.x4r_1, this.b4s_1, this.c4s_1, this.m4s_1, this.d4s_1, this.k4s_1, this.f4s_1, this.g4s_1, this.h4s_1, this.i4s_1, this.j4s_1, this.e4s_1);
|
|
368
368
|
};
|
|
369
369
|
function validateConfiguration($this) {
|
|
370
370
|
if (equals($this.ds(), EmptySerializersModule()))
|
|
371
371
|
return Unit_instance;
|
|
372
|
-
var collector = new JsonSerializersModuleValidator($this.
|
|
372
|
+
var collector = new JsonSerializersModuleValidator($this.f4r_1);
|
|
373
373
|
$this.ds().p18(collector);
|
|
374
374
|
}
|
|
375
375
|
function JsonImpl(configuration, module_0) {
|
|
@@ -400,26 +400,26 @@
|
|
|
400
400
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
401
401
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
402
402
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
418
|
-
this.
|
|
419
|
-
this.
|
|
403
|
+
this.p4s_1 = encodeDefaults;
|
|
404
|
+
this.q4s_1 = ignoreUnknownKeys;
|
|
405
|
+
this.r4s_1 = isLenient;
|
|
406
|
+
this.s4s_1 = allowStructuredMapKeys;
|
|
407
|
+
this.t4s_1 = prettyPrint;
|
|
408
|
+
this.u4s_1 = explicitNulls;
|
|
409
|
+
this.v4s_1 = prettyPrintIndent;
|
|
410
|
+
this.w4s_1 = coerceInputValues;
|
|
411
|
+
this.x4s_1 = useArrayPolymorphism;
|
|
412
|
+
this.y4s_1 = classDiscriminator;
|
|
413
|
+
this.z4s_1 = allowSpecialFloatingPointValues;
|
|
414
|
+
this.a4t_1 = useAlternativeNames;
|
|
415
|
+
this.b4t_1 = namingStrategy;
|
|
416
|
+
this.c4t_1 = decodeEnumsCaseInsensitive;
|
|
417
|
+
this.d4t_1 = allowTrailingComma;
|
|
418
|
+
this.e4t_1 = allowComments;
|
|
419
|
+
this.f4t_1 = classDiscriminatorMode;
|
|
420
420
|
}
|
|
421
421
|
protoOf(JsonConfiguration).toString = function () {
|
|
422
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
422
|
+
return 'JsonConfiguration(encodeDefaults=' + this.p4s_1 + ', ignoreUnknownKeys=' + this.q4s_1 + ', isLenient=' + this.r4s_1 + ', ' + ('allowStructuredMapKeys=' + this.s4s_1 + ', prettyPrint=' + this.t4s_1 + ', explicitNulls=' + this.u4s_1 + ', ') + ("prettyPrintIndent='" + this.v4s_1 + "', coerceInputValues=" + this.w4s_1 + ', useArrayPolymorphism=' + this.x4s_1 + ', ') + ("classDiscriminator='" + this.y4s_1 + "', allowSpecialFloatingPointValues=" + this.z4s_1 + ', ') + ('useAlternativeNames=' + this.a4t_1 + ', namingStrategy=' + toString_0(this.b4t_1) + ', decodeEnumsCaseInsensitive=' + this.c4t_1 + ', ') + ('allowTrailingComma=' + this.d4t_1 + ', allowComments=' + this.e4t_1 + ', classDiscriminatorMode=' + this.f4t_1.toString() + ')');
|
|
423
423
|
};
|
|
424
424
|
var ClassDiscriminatorMode_NONE_instance;
|
|
425
425
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -472,59 +472,59 @@
|
|
|
472
472
|
}
|
|
473
473
|
function JsonObject(content) {
|
|
474
474
|
JsonElement.call(this);
|
|
475
|
-
this.
|
|
475
|
+
this.i4t_1 = content;
|
|
476
476
|
}
|
|
477
477
|
protoOf(JsonObject).equals = function (other) {
|
|
478
|
-
return equals(this.
|
|
478
|
+
return equals(this.i4t_1, other);
|
|
479
479
|
};
|
|
480
480
|
protoOf(JsonObject).hashCode = function () {
|
|
481
|
-
return hashCode(this.
|
|
481
|
+
return hashCode(this.i4t_1);
|
|
482
482
|
};
|
|
483
483
|
protoOf(JsonObject).toString = function () {
|
|
484
|
-
var tmp = this.
|
|
484
|
+
var tmp = this.i4t_1.u();
|
|
485
485
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
486
486
|
};
|
|
487
487
|
protoOf(JsonObject).q = function () {
|
|
488
|
-
return this.
|
|
488
|
+
return this.i4t_1.q();
|
|
489
489
|
};
|
|
490
|
-
protoOf(JsonObject).
|
|
491
|
-
return this.
|
|
490
|
+
protoOf(JsonObject).l3b = function (key) {
|
|
491
|
+
return this.i4t_1.z1(key);
|
|
492
492
|
};
|
|
493
493
|
protoOf(JsonObject).z1 = function (key) {
|
|
494
494
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
495
495
|
return false;
|
|
496
|
-
return this.
|
|
496
|
+
return this.l3b((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
497
497
|
};
|
|
498
|
-
protoOf(JsonObject).
|
|
499
|
-
return this.
|
|
498
|
+
protoOf(JsonObject).j4t = function (value) {
|
|
499
|
+
return this.i4t_1.a2(value);
|
|
500
500
|
};
|
|
501
501
|
protoOf(JsonObject).a2 = function (value) {
|
|
502
502
|
if (!(value instanceof JsonElement))
|
|
503
503
|
return false;
|
|
504
|
-
return this.
|
|
504
|
+
return this.j4t(value instanceof JsonElement ? value : THROW_CCE());
|
|
505
505
|
};
|
|
506
|
-
protoOf(JsonObject).
|
|
507
|
-
return this.
|
|
506
|
+
protoOf(JsonObject).n3b = function (key) {
|
|
507
|
+
return this.i4t_1.b2(key);
|
|
508
508
|
};
|
|
509
509
|
protoOf(JsonObject).b2 = function (key) {
|
|
510
510
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
511
511
|
return null;
|
|
512
|
-
return this.
|
|
512
|
+
return this.n3b((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
513
513
|
};
|
|
514
514
|
protoOf(JsonObject).asJsReadonlyMapView = function () {
|
|
515
|
-
return this.
|
|
515
|
+
return this.i4t_1.asJsReadonlyMapView();
|
|
516
516
|
};
|
|
517
517
|
protoOf(JsonObject).o = function () {
|
|
518
|
-
return this.
|
|
518
|
+
return this.i4t_1.o();
|
|
519
519
|
};
|
|
520
520
|
protoOf(JsonObject).c2 = function () {
|
|
521
|
-
return this.
|
|
521
|
+
return this.i4t_1.c2();
|
|
522
522
|
};
|
|
523
523
|
protoOf(JsonObject).d2 = function () {
|
|
524
|
-
return this.
|
|
524
|
+
return this.i4t_1.d2();
|
|
525
525
|
};
|
|
526
526
|
protoOf(JsonObject).u = function () {
|
|
527
|
-
return this.
|
|
527
|
+
return this.i4t_1.u();
|
|
528
528
|
};
|
|
529
529
|
function Companion_0() {
|
|
530
530
|
}
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
JsonElement.call(this);
|
|
560
560
|
}
|
|
561
561
|
protoOf(JsonPrimitive).toString = function () {
|
|
562
|
-
return this.
|
|
562
|
+
return this.y3x();
|
|
563
563
|
};
|
|
564
564
|
function Companion_2() {
|
|
565
565
|
}
|
|
@@ -569,84 +569,84 @@
|
|
|
569
569
|
}
|
|
570
570
|
function JsonArray(content) {
|
|
571
571
|
JsonElement.call(this);
|
|
572
|
-
this.
|
|
572
|
+
this.k4t_1 = content;
|
|
573
573
|
}
|
|
574
574
|
protoOf(JsonArray).equals = function (other) {
|
|
575
|
-
return equals(this.
|
|
575
|
+
return equals(this.k4t_1, other);
|
|
576
576
|
};
|
|
577
577
|
protoOf(JsonArray).hashCode = function () {
|
|
578
|
-
return hashCode(this.
|
|
578
|
+
return hashCode(this.k4t_1);
|
|
579
579
|
};
|
|
580
580
|
protoOf(JsonArray).toString = function () {
|
|
581
|
-
return joinToString(this.
|
|
581
|
+
return joinToString(this.k4t_1, ',', '[', ']');
|
|
582
582
|
};
|
|
583
583
|
protoOf(JsonArray).q = function () {
|
|
584
|
-
return this.
|
|
584
|
+
return this.k4t_1.q();
|
|
585
585
|
};
|
|
586
|
-
protoOf(JsonArray).
|
|
587
|
-
return this.
|
|
586
|
+
protoOf(JsonArray).l4t = function (element) {
|
|
587
|
+
return this.k4t_1.t1(element);
|
|
588
588
|
};
|
|
589
589
|
protoOf(JsonArray).t1 = function (element) {
|
|
590
590
|
if (!(element instanceof JsonElement))
|
|
591
591
|
return false;
|
|
592
|
-
return this.
|
|
592
|
+
return this.l4t(element instanceof JsonElement ? element : THROW_CCE());
|
|
593
593
|
};
|
|
594
594
|
protoOf(JsonArray).l = function () {
|
|
595
|
-
return this.
|
|
595
|
+
return this.k4t_1.l();
|
|
596
596
|
};
|
|
597
|
-
protoOf(JsonArray).
|
|
598
|
-
return this.
|
|
597
|
+
protoOf(JsonArray).m4t = function (elements) {
|
|
598
|
+
return this.k4t_1.u1(elements);
|
|
599
599
|
};
|
|
600
600
|
protoOf(JsonArray).u1 = function (elements) {
|
|
601
|
-
return this.
|
|
601
|
+
return this.m4t(elements);
|
|
602
602
|
};
|
|
603
603
|
protoOf(JsonArray).p = function (index) {
|
|
604
|
-
return this.
|
|
604
|
+
return this.k4t_1.p(index);
|
|
605
605
|
};
|
|
606
|
-
protoOf(JsonArray).
|
|
607
|
-
return this.
|
|
606
|
+
protoOf(JsonArray).n4t = function (element) {
|
|
607
|
+
return this.k4t_1.v1(element);
|
|
608
608
|
};
|
|
609
609
|
protoOf(JsonArray).v1 = function (element) {
|
|
610
610
|
if (!(element instanceof JsonElement))
|
|
611
611
|
return -1;
|
|
612
|
-
return this.
|
|
612
|
+
return this.n4t(element instanceof JsonElement ? element : THROW_CCE());
|
|
613
613
|
};
|
|
614
|
-
protoOf(JsonArray).
|
|
615
|
-
return this.
|
|
614
|
+
protoOf(JsonArray).o4t = function (element) {
|
|
615
|
+
return this.k4t_1.w1(element);
|
|
616
616
|
};
|
|
617
617
|
protoOf(JsonArray).w1 = function (element) {
|
|
618
618
|
if (!(element instanceof JsonElement))
|
|
619
619
|
return -1;
|
|
620
|
-
return this.
|
|
620
|
+
return this.o4t(element instanceof JsonElement ? element : THROW_CCE());
|
|
621
621
|
};
|
|
622
622
|
protoOf(JsonArray).x1 = function () {
|
|
623
|
-
return this.
|
|
623
|
+
return this.k4t_1.x1();
|
|
624
624
|
};
|
|
625
625
|
protoOf(JsonArray).s = function (index) {
|
|
626
|
-
return this.
|
|
626
|
+
return this.k4t_1.s(index);
|
|
627
627
|
};
|
|
628
628
|
protoOf(JsonArray).y1 = function (fromIndex, toIndex) {
|
|
629
|
-
return this.
|
|
629
|
+
return this.k4t_1.y1(fromIndex, toIndex);
|
|
630
630
|
};
|
|
631
631
|
protoOf(JsonArray).asJsReadonlyArrayView = function () {
|
|
632
|
-
return this.
|
|
632
|
+
return this.k4t_1.asJsReadonlyArrayView();
|
|
633
633
|
};
|
|
634
634
|
protoOf(JsonArray).o = function () {
|
|
635
|
-
return this.
|
|
635
|
+
return this.k4t_1.o();
|
|
636
636
|
};
|
|
637
637
|
function JsonNull() {
|
|
638
638
|
JsonNull_instance = this;
|
|
639
639
|
JsonPrimitive.call(this);
|
|
640
|
-
this.
|
|
640
|
+
this.p4t_1 = 'null';
|
|
641
641
|
}
|
|
642
|
-
protoOf(JsonNull).
|
|
643
|
-
return this.
|
|
642
|
+
protoOf(JsonNull).y3x = function () {
|
|
643
|
+
return this.p4t_1;
|
|
644
644
|
};
|
|
645
|
-
protoOf(JsonNull).
|
|
645
|
+
protoOf(JsonNull).q4t = function () {
|
|
646
646
|
return JsonNullSerializer_getInstance();
|
|
647
647
|
};
|
|
648
648
|
protoOf(JsonNull).g10 = function (typeParamsSerializers) {
|
|
649
|
-
return this.
|
|
649
|
+
return this.q4t();
|
|
650
650
|
};
|
|
651
651
|
var JsonNull_instance;
|
|
652
652
|
function JsonNull_getInstance() {
|
|
@@ -657,31 +657,31 @@
|
|
|
657
657
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
658
658
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
659
659
|
JsonPrimitive.call(this);
|
|
660
|
-
this.
|
|
661
|
-
this.
|
|
662
|
-
this.
|
|
663
|
-
if (!(this.
|
|
660
|
+
this.r4t_1 = isString;
|
|
661
|
+
this.s4t_1 = coerceToInlineType;
|
|
662
|
+
this.t4t_1 = toString(body);
|
|
663
|
+
if (!(this.s4t_1 == null)) {
|
|
664
664
|
// Inline function 'kotlin.require' call
|
|
665
665
|
// Inline function 'kotlin.require' call
|
|
666
|
-
if (!this.
|
|
666
|
+
if (!this.s4t_1.wp()) {
|
|
667
667
|
var message = 'Failed requirement.';
|
|
668
668
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
|
-
protoOf(JsonLiteral).
|
|
673
|
-
return this.
|
|
672
|
+
protoOf(JsonLiteral).y3x = function () {
|
|
673
|
+
return this.t4t_1;
|
|
674
674
|
};
|
|
675
675
|
protoOf(JsonLiteral).toString = function () {
|
|
676
676
|
var tmp;
|
|
677
|
-
if (this.
|
|
677
|
+
if (this.r4t_1) {
|
|
678
678
|
// Inline function 'kotlin.text.buildString' call
|
|
679
679
|
// Inline function 'kotlin.apply' call
|
|
680
680
|
var this_0 = StringBuilder_init_$Create$();
|
|
681
|
-
printQuoted(this_0, this.
|
|
681
|
+
printQuoted(this_0, this.t4t_1);
|
|
682
682
|
tmp = this_0.toString();
|
|
683
683
|
} else {
|
|
684
|
-
tmp = this.
|
|
684
|
+
tmp = this.t4t_1;
|
|
685
685
|
}
|
|
686
686
|
return tmp;
|
|
687
687
|
};
|
|
@@ -692,36 +692,36 @@
|
|
|
692
692
|
return false;
|
|
693
693
|
if (!(other instanceof JsonLiteral))
|
|
694
694
|
THROW_CCE();
|
|
695
|
-
if (!(this.
|
|
695
|
+
if (!(this.r4t_1 === other.r4t_1))
|
|
696
696
|
return false;
|
|
697
|
-
if (!(this.
|
|
697
|
+
if (!(this.t4t_1 === other.t4t_1))
|
|
698
698
|
return false;
|
|
699
699
|
return true;
|
|
700
700
|
};
|
|
701
701
|
protoOf(JsonLiteral).hashCode = function () {
|
|
702
|
-
var result = getBooleanHashCode(this.
|
|
703
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
702
|
+
var result = getBooleanHashCode(this.r4t_1);
|
|
703
|
+
result = imul(31, result) + getStringHashCode(this.t4t_1) | 0;
|
|
704
704
|
return result;
|
|
705
705
|
};
|
|
706
706
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
707
707
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
708
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
708
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.y3x());
|
|
709
709
|
}
|
|
710
710
|
function parseLongImpl(_this__u8e3s4) {
|
|
711
711
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
712
|
-
return (new StringJsonLexer(_this__u8e3s4.
|
|
712
|
+
return (new StringJsonLexer(_this__u8e3s4.y3x())).u4t();
|
|
713
713
|
}
|
|
714
714
|
function get_float(_this__u8e3s4) {
|
|
715
715
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
716
716
|
// Inline function 'kotlin.text.toFloat' call
|
|
717
|
-
var this_0 = _this__u8e3s4.
|
|
717
|
+
var this_0 = _this__u8e3s4.y3x();
|
|
718
718
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
719
719
|
// Inline function 'kotlin.js.asDynamic' call
|
|
720
720
|
return toDouble(this_0);
|
|
721
721
|
}
|
|
722
722
|
function get_double(_this__u8e3s4) {
|
|
723
723
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
724
|
-
return toDouble(_this__u8e3s4.
|
|
724
|
+
return toDouble(_this__u8e3s4.y3x());
|
|
725
725
|
}
|
|
726
726
|
function get_contentOrNull(_this__u8e3s4) {
|
|
727
727
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -729,7 +729,7 @@
|
|
|
729
729
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
730
730
|
tmp = null;
|
|
731
731
|
} else {
|
|
732
|
-
tmp = _this__u8e3s4.
|
|
732
|
+
tmp = _this__u8e3s4.y3x();
|
|
733
733
|
}
|
|
734
734
|
return tmp;
|
|
735
735
|
}
|
|
@@ -766,30 +766,30 @@
|
|
|
766
766
|
return Unit_instance;
|
|
767
767
|
}
|
|
768
768
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
769
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
769
|
+
return JsonPrimitiveSerializer_getInstance().v4t_1;
|
|
770
770
|
}
|
|
771
771
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
772
|
-
return JsonNullSerializer_getInstance().
|
|
772
|
+
return JsonNullSerializer_getInstance().w4t_1;
|
|
773
773
|
}
|
|
774
774
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
775
|
-
return JsonLiteralSerializer_getInstance().
|
|
775
|
+
return JsonLiteralSerializer_getInstance().x4t_1;
|
|
776
776
|
}
|
|
777
777
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
778
|
-
return JsonObjectSerializer_getInstance().
|
|
778
|
+
return JsonObjectSerializer_getInstance().y4t_1;
|
|
779
779
|
}
|
|
780
780
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
781
|
-
return JsonArraySerializer_getInstance().
|
|
781
|
+
return JsonArraySerializer_getInstance().z4t_1;
|
|
782
782
|
}
|
|
783
783
|
function JsonElementSerializer() {
|
|
784
784
|
JsonElementSerializer_instance = this;
|
|
785
785
|
var tmp = this;
|
|
786
786
|
var tmp_0 = SEALED_getInstance();
|
|
787
|
-
tmp.
|
|
787
|
+
tmp.a4u_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
788
788
|
}
|
|
789
789
|
protoOf(JsonElementSerializer).bo = function () {
|
|
790
|
-
return this.
|
|
790
|
+
return this.a4u_1;
|
|
791
791
|
};
|
|
792
|
-
protoOf(JsonElementSerializer).
|
|
792
|
+
protoOf(JsonElementSerializer).b4u = function (encoder, value) {
|
|
793
793
|
verify(encoder);
|
|
794
794
|
if (value instanceof JsonPrimitive) {
|
|
795
795
|
encoder.gt(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -806,11 +806,11 @@
|
|
|
806
806
|
}
|
|
807
807
|
};
|
|
808
808
|
protoOf(JsonElementSerializer).co = function (encoder, value) {
|
|
809
|
-
return this.
|
|
809
|
+
return this.b4u(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
810
810
|
};
|
|
811
811
|
protoOf(JsonElementSerializer).do = function (decoder) {
|
|
812
812
|
var input = asJsonDecoder(decoder);
|
|
813
|
-
return input.
|
|
813
|
+
return input.h4t();
|
|
814
814
|
};
|
|
815
815
|
var JsonElementSerializer_instance;
|
|
816
816
|
function JsonElementSerializer_getInstance() {
|
|
@@ -820,41 +820,41 @@
|
|
|
820
820
|
}
|
|
821
821
|
function JsonObjectDescriptor() {
|
|
822
822
|
JsonObjectDescriptor_instance = this;
|
|
823
|
-
this.
|
|
824
|
-
this.
|
|
823
|
+
this.c4u_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).bo();
|
|
824
|
+
this.d4u_1 = 'kotlinx.serialization.json.JsonObject';
|
|
825
825
|
}
|
|
826
826
|
protoOf(JsonObjectDescriptor).cp = function () {
|
|
827
|
-
return this.
|
|
827
|
+
return this.d4u_1;
|
|
828
828
|
};
|
|
829
829
|
protoOf(JsonObjectDescriptor).zp = function (index) {
|
|
830
|
-
return this.
|
|
830
|
+
return this.c4u_1.zp(index);
|
|
831
831
|
};
|
|
832
832
|
protoOf(JsonObjectDescriptor).aq = function (name) {
|
|
833
|
-
return this.
|
|
833
|
+
return this.c4u_1.aq(name);
|
|
834
834
|
};
|
|
835
835
|
protoOf(JsonObjectDescriptor).bq = function (index) {
|
|
836
|
-
return this.
|
|
836
|
+
return this.c4u_1.bq(index);
|
|
837
837
|
};
|
|
838
838
|
protoOf(JsonObjectDescriptor).cq = function (index) {
|
|
839
|
-
return this.
|
|
839
|
+
return this.c4u_1.cq(index);
|
|
840
840
|
};
|
|
841
841
|
protoOf(JsonObjectDescriptor).dq = function (index) {
|
|
842
|
-
return this.
|
|
842
|
+
return this.c4u_1.dq(index);
|
|
843
843
|
};
|
|
844
844
|
protoOf(JsonObjectDescriptor).vp = function () {
|
|
845
|
-
return this.
|
|
845
|
+
return this.c4u_1.vp();
|
|
846
846
|
};
|
|
847
847
|
protoOf(JsonObjectDescriptor).op = function () {
|
|
848
|
-
return this.
|
|
848
|
+
return this.c4u_1.op();
|
|
849
849
|
};
|
|
850
850
|
protoOf(JsonObjectDescriptor).wp = function () {
|
|
851
|
-
return this.
|
|
851
|
+
return this.c4u_1.wp();
|
|
852
852
|
};
|
|
853
853
|
protoOf(JsonObjectDescriptor).xp = function () {
|
|
854
|
-
return this.
|
|
854
|
+
return this.c4u_1.xp();
|
|
855
855
|
};
|
|
856
856
|
protoOf(JsonObjectDescriptor).yp = function () {
|
|
857
|
-
return this.
|
|
857
|
+
return this.c4u_1.yp();
|
|
858
858
|
};
|
|
859
859
|
var JsonObjectDescriptor_instance;
|
|
860
860
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -864,17 +864,17 @@
|
|
|
864
864
|
}
|
|
865
865
|
function JsonObjectSerializer() {
|
|
866
866
|
JsonObjectSerializer_instance = this;
|
|
867
|
-
this.
|
|
867
|
+
this.y4t_1 = JsonObjectDescriptor_getInstance();
|
|
868
868
|
}
|
|
869
869
|
protoOf(JsonObjectSerializer).bo = function () {
|
|
870
|
-
return this.
|
|
870
|
+
return this.y4t_1;
|
|
871
871
|
};
|
|
872
|
-
protoOf(JsonObjectSerializer).
|
|
872
|
+
protoOf(JsonObjectSerializer).e4u = function (encoder, value) {
|
|
873
873
|
verify(encoder);
|
|
874
874
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).co(encoder, value);
|
|
875
875
|
};
|
|
876
876
|
protoOf(JsonObjectSerializer).co = function (encoder, value) {
|
|
877
|
-
return this.
|
|
877
|
+
return this.e4u(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
878
878
|
};
|
|
879
879
|
protoOf(JsonObjectSerializer).do = function (decoder) {
|
|
880
880
|
verify_0(decoder);
|
|
@@ -891,12 +891,12 @@
|
|
|
891
891
|
}
|
|
892
892
|
function JsonPrimitiveSerializer() {
|
|
893
893
|
JsonPrimitiveSerializer_instance = this;
|
|
894
|
-
this.
|
|
894
|
+
this.v4t_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
895
895
|
}
|
|
896
896
|
protoOf(JsonPrimitiveSerializer).bo = function () {
|
|
897
|
-
return this.
|
|
897
|
+
return this.v4t_1;
|
|
898
898
|
};
|
|
899
|
-
protoOf(JsonPrimitiveSerializer).
|
|
899
|
+
protoOf(JsonPrimitiveSerializer).f4u = function (encoder, value) {
|
|
900
900
|
verify(encoder);
|
|
901
901
|
var tmp;
|
|
902
902
|
if (value instanceof JsonNull) {
|
|
@@ -910,10 +910,10 @@
|
|
|
910
910
|
return tmp;
|
|
911
911
|
};
|
|
912
912
|
protoOf(JsonPrimitiveSerializer).co = function (encoder, value) {
|
|
913
|
-
return this.
|
|
913
|
+
return this.f4u(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
914
914
|
};
|
|
915
915
|
protoOf(JsonPrimitiveSerializer).do = function (decoder) {
|
|
916
|
-
var result = asJsonDecoder(decoder).
|
|
916
|
+
var result = asJsonDecoder(decoder).h4t();
|
|
917
917
|
if (!(result instanceof JsonPrimitive))
|
|
918
918
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
919
919
|
return result;
|
|
@@ -926,17 +926,17 @@
|
|
|
926
926
|
}
|
|
927
927
|
function JsonNullSerializer() {
|
|
928
928
|
JsonNullSerializer_instance = this;
|
|
929
|
-
this.
|
|
929
|
+
this.w4t_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
930
930
|
}
|
|
931
931
|
protoOf(JsonNullSerializer).bo = function () {
|
|
932
|
-
return this.
|
|
932
|
+
return this.w4t_1;
|
|
933
933
|
};
|
|
934
|
-
protoOf(JsonNullSerializer).
|
|
934
|
+
protoOf(JsonNullSerializer).g4u = function (encoder, value) {
|
|
935
935
|
verify(encoder);
|
|
936
936
|
encoder.js();
|
|
937
937
|
};
|
|
938
938
|
protoOf(JsonNullSerializer).co = function (encoder, value) {
|
|
939
|
-
return this.
|
|
939
|
+
return this.g4u(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
940
940
|
};
|
|
941
941
|
protoOf(JsonNullSerializer).do = function (decoder) {
|
|
942
942
|
verify_0(decoder);
|
|
@@ -954,27 +954,27 @@
|
|
|
954
954
|
}
|
|
955
955
|
function JsonLiteralSerializer() {
|
|
956
956
|
JsonLiteralSerializer_instance = this;
|
|
957
|
-
this.
|
|
957
|
+
this.x4t_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
958
958
|
}
|
|
959
959
|
protoOf(JsonLiteralSerializer).bo = function () {
|
|
960
|
-
return this.
|
|
960
|
+
return this.x4t_1;
|
|
961
961
|
};
|
|
962
|
-
protoOf(JsonLiteralSerializer).
|
|
962
|
+
protoOf(JsonLiteralSerializer).h4u = function (encoder, value) {
|
|
963
963
|
verify(encoder);
|
|
964
|
-
if (value.
|
|
965
|
-
return encoder.ss(value.
|
|
964
|
+
if (value.r4t_1) {
|
|
965
|
+
return encoder.ss(value.t4t_1);
|
|
966
966
|
}
|
|
967
|
-
if (!(value.
|
|
968
|
-
return encoder.us(value.
|
|
967
|
+
if (!(value.s4t_1 == null)) {
|
|
968
|
+
return encoder.us(value.s4t_1).ss(value.t4t_1);
|
|
969
969
|
}
|
|
970
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
970
|
+
var tmp0_safe_receiver = toLongOrNull(value.t4t_1);
|
|
971
971
|
if (tmp0_safe_receiver == null)
|
|
972
972
|
null;
|
|
973
973
|
else {
|
|
974
974
|
// Inline function 'kotlin.let' call
|
|
975
975
|
return encoder.os(tmp0_safe_receiver);
|
|
976
976
|
}
|
|
977
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
977
|
+
var tmp1_safe_receiver = toULongOrNull(value.t4t_1);
|
|
978
978
|
var tmp = tmp1_safe_receiver;
|
|
979
979
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
980
980
|
null;
|
|
@@ -988,27 +988,27 @@
|
|
|
988
988
|
tmp_1.os(tmp$ret$1);
|
|
989
989
|
return Unit_instance;
|
|
990
990
|
}
|
|
991
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
991
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.t4t_1);
|
|
992
992
|
if (tmp2_safe_receiver == null)
|
|
993
993
|
null;
|
|
994
994
|
else {
|
|
995
995
|
// Inline function 'kotlin.let' call
|
|
996
996
|
return encoder.qs(tmp2_safe_receiver);
|
|
997
997
|
}
|
|
998
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
998
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.t4t_1);
|
|
999
999
|
if (tmp3_safe_receiver == null)
|
|
1000
1000
|
null;
|
|
1001
1001
|
else {
|
|
1002
1002
|
// Inline function 'kotlin.let' call
|
|
1003
1003
|
return encoder.ks(tmp3_safe_receiver);
|
|
1004
1004
|
}
|
|
1005
|
-
encoder.ss(value.
|
|
1005
|
+
encoder.ss(value.t4t_1);
|
|
1006
1006
|
};
|
|
1007
1007
|
protoOf(JsonLiteralSerializer).co = function (encoder, value) {
|
|
1008
|
-
return this.
|
|
1008
|
+
return this.h4u(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
1009
1009
|
};
|
|
1010
1010
|
protoOf(JsonLiteralSerializer).do = function (decoder) {
|
|
1011
|
-
var result = asJsonDecoder(decoder).
|
|
1011
|
+
var result = asJsonDecoder(decoder).h4t();
|
|
1012
1012
|
if (!(result instanceof JsonLiteral))
|
|
1013
1013
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
1014
1014
|
return result;
|
|
@@ -1021,41 +1021,41 @@
|
|
|
1021
1021
|
}
|
|
1022
1022
|
function JsonArrayDescriptor() {
|
|
1023
1023
|
JsonArrayDescriptor_instance = this;
|
|
1024
|
-
this.
|
|
1025
|
-
this.
|
|
1024
|
+
this.i4u_1 = ListSerializer(JsonElementSerializer_getInstance()).bo();
|
|
1025
|
+
this.j4u_1 = 'kotlinx.serialization.json.JsonArray';
|
|
1026
1026
|
}
|
|
1027
1027
|
protoOf(JsonArrayDescriptor).cp = function () {
|
|
1028
|
-
return this.
|
|
1028
|
+
return this.j4u_1;
|
|
1029
1029
|
};
|
|
1030
1030
|
protoOf(JsonArrayDescriptor).zp = function (index) {
|
|
1031
|
-
return this.
|
|
1031
|
+
return this.i4u_1.zp(index);
|
|
1032
1032
|
};
|
|
1033
1033
|
protoOf(JsonArrayDescriptor).aq = function (name) {
|
|
1034
|
-
return this.
|
|
1034
|
+
return this.i4u_1.aq(name);
|
|
1035
1035
|
};
|
|
1036
1036
|
protoOf(JsonArrayDescriptor).bq = function (index) {
|
|
1037
|
-
return this.
|
|
1037
|
+
return this.i4u_1.bq(index);
|
|
1038
1038
|
};
|
|
1039
1039
|
protoOf(JsonArrayDescriptor).cq = function (index) {
|
|
1040
|
-
return this.
|
|
1040
|
+
return this.i4u_1.cq(index);
|
|
1041
1041
|
};
|
|
1042
1042
|
protoOf(JsonArrayDescriptor).dq = function (index) {
|
|
1043
|
-
return this.
|
|
1043
|
+
return this.i4u_1.dq(index);
|
|
1044
1044
|
};
|
|
1045
1045
|
protoOf(JsonArrayDescriptor).vp = function () {
|
|
1046
|
-
return this.
|
|
1046
|
+
return this.i4u_1.vp();
|
|
1047
1047
|
};
|
|
1048
1048
|
protoOf(JsonArrayDescriptor).op = function () {
|
|
1049
|
-
return this.
|
|
1049
|
+
return this.i4u_1.op();
|
|
1050
1050
|
};
|
|
1051
1051
|
protoOf(JsonArrayDescriptor).wp = function () {
|
|
1052
|
-
return this.
|
|
1052
|
+
return this.i4u_1.wp();
|
|
1053
1053
|
};
|
|
1054
1054
|
protoOf(JsonArrayDescriptor).xp = function () {
|
|
1055
|
-
return this.
|
|
1055
|
+
return this.i4u_1.xp();
|
|
1056
1056
|
};
|
|
1057
1057
|
protoOf(JsonArrayDescriptor).yp = function () {
|
|
1058
|
-
return this.
|
|
1058
|
+
return this.i4u_1.yp();
|
|
1059
1059
|
};
|
|
1060
1060
|
var JsonArrayDescriptor_instance;
|
|
1061
1061
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -1065,17 +1065,17 @@
|
|
|
1065
1065
|
}
|
|
1066
1066
|
function JsonArraySerializer() {
|
|
1067
1067
|
JsonArraySerializer_instance = this;
|
|
1068
|
-
this.
|
|
1068
|
+
this.z4t_1 = JsonArrayDescriptor_getInstance();
|
|
1069
1069
|
}
|
|
1070
1070
|
protoOf(JsonArraySerializer).bo = function () {
|
|
1071
|
-
return this.
|
|
1071
|
+
return this.z4t_1;
|
|
1072
1072
|
};
|
|
1073
|
-
protoOf(JsonArraySerializer).
|
|
1073
|
+
protoOf(JsonArraySerializer).k4u = function (encoder, value) {
|
|
1074
1074
|
verify(encoder);
|
|
1075
1075
|
ListSerializer(JsonElementSerializer_getInstance()).co(encoder, value);
|
|
1076
1076
|
};
|
|
1077
1077
|
protoOf(JsonArraySerializer).co = function (encoder, value) {
|
|
1078
|
-
return this.
|
|
1078
|
+
return this.k4u(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
1079
1079
|
};
|
|
1080
1080
|
protoOf(JsonArraySerializer).do = function (decoder) {
|
|
1081
1081
|
verify_0(decoder);
|
|
@@ -1114,7 +1114,7 @@
|
|
|
1114
1114
|
return tmp;
|
|
1115
1115
|
}
|
|
1116
1116
|
function _get_original__l7ku1m($this) {
|
|
1117
|
-
var tmp0 = $this.
|
|
1117
|
+
var tmp0 = $this.l4u_1;
|
|
1118
1118
|
var tmp = KProperty1;
|
|
1119
1119
|
// Inline function 'kotlin.getValue' call
|
|
1120
1120
|
getPropertyCallableRef('original', 1, tmp, defer$o$_get_original_$ref_3cje7k(), null);
|
|
@@ -1126,7 +1126,7 @@
|
|
|
1126
1126
|
};
|
|
1127
1127
|
}
|
|
1128
1128
|
function defer$1($deferred) {
|
|
1129
|
-
this.
|
|
1129
|
+
this.l4u_1 = lazy($deferred);
|
|
1130
1130
|
}
|
|
1131
1131
|
protoOf(defer$1).cp = function () {
|
|
1132
1132
|
return _get_original__l7ku1m(this).cp();
|
|
@@ -1155,155 +1155,155 @@
|
|
|
1155
1155
|
function JsonEncoder() {
|
|
1156
1156
|
}
|
|
1157
1157
|
function Composer(writer) {
|
|
1158
|
-
this.
|
|
1159
|
-
this.
|
|
1158
|
+
this.m4u_1 = writer;
|
|
1159
|
+
this.n4u_1 = true;
|
|
1160
1160
|
}
|
|
1161
|
-
protoOf(Composer).
|
|
1162
|
-
this.
|
|
1161
|
+
protoOf(Composer).o4u = function () {
|
|
1162
|
+
this.n4u_1 = true;
|
|
1163
1163
|
};
|
|
1164
|
-
protoOf(Composer).
|
|
1164
|
+
protoOf(Composer).p4u = function () {
|
|
1165
1165
|
return Unit_instance;
|
|
1166
1166
|
};
|
|
1167
|
-
protoOf(Composer).
|
|
1168
|
-
this.
|
|
1167
|
+
protoOf(Composer).q4u = function () {
|
|
1168
|
+
this.n4u_1 = false;
|
|
1169
1169
|
};
|
|
1170
|
-
protoOf(Composer).
|
|
1171
|
-
this.
|
|
1170
|
+
protoOf(Composer).r4u = function () {
|
|
1171
|
+
this.n4u_1 = false;
|
|
1172
1172
|
};
|
|
1173
|
-
protoOf(Composer).
|
|
1173
|
+
protoOf(Composer).s4u = function () {
|
|
1174
1174
|
return Unit_instance;
|
|
1175
1175
|
};
|
|
1176
|
-
protoOf(Composer).
|
|
1177
|
-
return this.
|
|
1176
|
+
protoOf(Composer).t4u = function (v) {
|
|
1177
|
+
return this.m4u_1.u4u(v);
|
|
1178
1178
|
};
|
|
1179
|
-
protoOf(Composer).
|
|
1180
|
-
return this.
|
|
1179
|
+
protoOf(Composer).v4u = function (v) {
|
|
1180
|
+
return this.m4u_1.w4u(v);
|
|
1181
1181
|
};
|
|
1182
|
-
protoOf(Composer).
|
|
1183
|
-
return this.
|
|
1182
|
+
protoOf(Composer).x4u = function (v) {
|
|
1183
|
+
return this.m4u_1.w4u(v.toString());
|
|
1184
1184
|
};
|
|
1185
|
-
protoOf(Composer).
|
|
1186
|
-
return this.
|
|
1185
|
+
protoOf(Composer).y4u = function (v) {
|
|
1186
|
+
return this.m4u_1.w4u(v.toString());
|
|
1187
1187
|
};
|
|
1188
|
-
protoOf(Composer).
|
|
1189
|
-
return this.
|
|
1188
|
+
protoOf(Composer).z4u = function (v) {
|
|
1189
|
+
return this.m4u_1.a4v(fromInt(v));
|
|
1190
1190
|
};
|
|
1191
|
-
protoOf(Composer).
|
|
1192
|
-
return this.
|
|
1191
|
+
protoOf(Composer).b4v = function (v) {
|
|
1192
|
+
return this.m4u_1.a4v(fromInt(v));
|
|
1193
1193
|
};
|
|
1194
|
-
protoOf(Composer).
|
|
1195
|
-
return this.
|
|
1194
|
+
protoOf(Composer).c4v = function (v) {
|
|
1195
|
+
return this.m4u_1.a4v(fromInt(v));
|
|
1196
1196
|
};
|
|
1197
|
-
protoOf(Composer).
|
|
1198
|
-
return this.
|
|
1197
|
+
protoOf(Composer).d4v = function (v) {
|
|
1198
|
+
return this.m4u_1.a4v(v);
|
|
1199
1199
|
};
|
|
1200
|
-
protoOf(Composer).
|
|
1201
|
-
return this.
|
|
1200
|
+
protoOf(Composer).e4v = function (v) {
|
|
1201
|
+
return this.m4u_1.w4u(v.toString());
|
|
1202
1202
|
};
|
|
1203
|
-
protoOf(Composer).
|
|
1204
|
-
return this.
|
|
1203
|
+
protoOf(Composer).f4v = function (value) {
|
|
1204
|
+
return this.m4u_1.g4v(value);
|
|
1205
1205
|
};
|
|
1206
1206
|
function Composer_0(sb, json) {
|
|
1207
|
-
return json.
|
|
1207
|
+
return json.f4r_1.t4s_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1208
1208
|
}
|
|
1209
1209
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1210
1210
|
Composer.call(this, writer);
|
|
1211
|
-
this.
|
|
1211
|
+
this.j4v_1 = forceQuoting;
|
|
1212
1212
|
}
|
|
1213
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1214
|
-
if (this.
|
|
1213
|
+
protoOf(ComposerForUnsignedNumbers).c4v = function (v) {
|
|
1214
|
+
if (this.j4v_1) {
|
|
1215
1215
|
// Inline function 'kotlin.toUInt' call
|
|
1216
1216
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1217
|
-
this.
|
|
1217
|
+
this.f4v(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1218
1218
|
} else {
|
|
1219
1219
|
// Inline function 'kotlin.toUInt' call
|
|
1220
1220
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1221
|
-
this.
|
|
1221
|
+
this.v4u(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1222
1222
|
}
|
|
1223
1223
|
};
|
|
1224
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1225
|
-
if (this.
|
|
1224
|
+
protoOf(ComposerForUnsignedNumbers).d4v = function (v) {
|
|
1225
|
+
if (this.j4v_1) {
|
|
1226
1226
|
// Inline function 'kotlin.toULong' call
|
|
1227
1227
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1228
|
-
this.
|
|
1228
|
+
this.f4v(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1229
1229
|
} else {
|
|
1230
1230
|
// Inline function 'kotlin.toULong' call
|
|
1231
1231
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1232
|
-
this.
|
|
1232
|
+
this.v4u(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1233
1233
|
}
|
|
1234
1234
|
};
|
|
1235
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1236
|
-
if (this.
|
|
1235
|
+
protoOf(ComposerForUnsignedNumbers).z4u = function (v) {
|
|
1236
|
+
if (this.j4v_1) {
|
|
1237
1237
|
// Inline function 'kotlin.toUByte' call
|
|
1238
1238
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1239
|
-
this.
|
|
1239
|
+
this.f4v(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1240
1240
|
} else {
|
|
1241
1241
|
// Inline function 'kotlin.toUByte' call
|
|
1242
1242
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1243
|
-
this.
|
|
1243
|
+
this.v4u(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1244
1244
|
}
|
|
1245
1245
|
};
|
|
1246
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1247
|
-
if (this.
|
|
1246
|
+
protoOf(ComposerForUnsignedNumbers).b4v = function (v) {
|
|
1247
|
+
if (this.j4v_1) {
|
|
1248
1248
|
// Inline function 'kotlin.toUShort' call
|
|
1249
1249
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1250
|
-
this.
|
|
1250
|
+
this.f4v(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1251
1251
|
} else {
|
|
1252
1252
|
// Inline function 'kotlin.toUShort' call
|
|
1253
1253
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1254
|
-
this.
|
|
1254
|
+
this.v4u(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1255
1255
|
}
|
|
1256
1256
|
};
|
|
1257
1257
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1258
1258
|
Composer.call(this, writer);
|
|
1259
|
-
this.
|
|
1259
|
+
this.m4v_1 = forceQuoting;
|
|
1260
1260
|
}
|
|
1261
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1262
|
-
if (this.
|
|
1263
|
-
protoOf(Composer).
|
|
1261
|
+
protoOf(ComposerForUnquotedLiterals).f4v = function (value) {
|
|
1262
|
+
if (this.m4v_1) {
|
|
1263
|
+
protoOf(Composer).f4v.call(this, value);
|
|
1264
1264
|
} else {
|
|
1265
|
-
protoOf(Composer).
|
|
1265
|
+
protoOf(Composer).v4u.call(this, value);
|
|
1266
1266
|
}
|
|
1267
1267
|
};
|
|
1268
1268
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1269
1269
|
Composer.call(this, writer);
|
|
1270
|
-
this.
|
|
1271
|
-
this.
|
|
1270
|
+
this.p4v_1 = json;
|
|
1271
|
+
this.q4v_1 = 0;
|
|
1272
1272
|
}
|
|
1273
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1274
|
-
this.
|
|
1275
|
-
this.
|
|
1273
|
+
protoOf(ComposerWithPrettyPrint).o4u = function () {
|
|
1274
|
+
this.n4u_1 = true;
|
|
1275
|
+
this.q4v_1 = this.q4v_1 + 1 | 0;
|
|
1276
1276
|
};
|
|
1277
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1278
|
-
this.
|
|
1277
|
+
protoOf(ComposerWithPrettyPrint).p4u = function () {
|
|
1278
|
+
this.q4v_1 = this.q4v_1 - 1 | 0;
|
|
1279
1279
|
};
|
|
1280
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1281
|
-
this.
|
|
1282
|
-
this.
|
|
1280
|
+
protoOf(ComposerWithPrettyPrint).q4u = function () {
|
|
1281
|
+
this.n4u_1 = false;
|
|
1282
|
+
this.v4u('\n');
|
|
1283
1283
|
// Inline function 'kotlin.repeat' call
|
|
1284
|
-
var times = this.
|
|
1284
|
+
var times = this.q4v_1;
|
|
1285
1285
|
var inductionVariable = 0;
|
|
1286
1286
|
if (inductionVariable < times)
|
|
1287
1287
|
do {
|
|
1288
1288
|
var index = inductionVariable;
|
|
1289
1289
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1290
|
-
this.
|
|
1290
|
+
this.v4u(this.p4v_1.f4r_1.v4s_1);
|
|
1291
1291
|
}
|
|
1292
1292
|
while (inductionVariable < times);
|
|
1293
1293
|
};
|
|
1294
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1295
|
-
if (this.
|
|
1296
|
-
this.
|
|
1294
|
+
protoOf(ComposerWithPrettyPrint).r4u = function () {
|
|
1295
|
+
if (this.n4u_1)
|
|
1296
|
+
this.n4u_1 = false;
|
|
1297
1297
|
else {
|
|
1298
|
-
this.
|
|
1298
|
+
this.q4u();
|
|
1299
1299
|
}
|
|
1300
1300
|
};
|
|
1301
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1302
|
-
this.
|
|
1301
|
+
protoOf(ComposerWithPrettyPrint).s4u = function () {
|
|
1302
|
+
this.t4u(_Char___init__impl__6a9atx(32));
|
|
1303
1303
|
};
|
|
1304
1304
|
function readIfAbsent($this, descriptor, index) {
|
|
1305
|
-
$this.
|
|
1306
|
-
return $this.
|
|
1305
|
+
$this.s4v_1 = (!descriptor.dq(index) && descriptor.cq(index).op());
|
|
1306
|
+
return $this.s4v_1;
|
|
1307
1307
|
}
|
|
1308
1308
|
function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
1309
1309
|
var l = function (_this__u8e3s4, p0_0) {
|
|
@@ -1315,14 +1315,14 @@
|
|
|
1315
1315
|
}
|
|
1316
1316
|
function JsonElementMarker(descriptor) {
|
|
1317
1317
|
var tmp = this;
|
|
1318
|
-
tmp.
|
|
1319
|
-
this.
|
|
1318
|
+
tmp.r4v_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1319
|
+
this.s4v_1 = false;
|
|
1320
1320
|
}
|
|
1321
|
-
protoOf(JsonElementMarker).
|
|
1322
|
-
this.
|
|
1321
|
+
protoOf(JsonElementMarker).t4v = function (index) {
|
|
1322
|
+
this.r4v_1.wx(index);
|
|
1323
1323
|
};
|
|
1324
|
-
protoOf(JsonElementMarker).
|
|
1325
|
-
return this.
|
|
1324
|
+
protoOf(JsonElementMarker).u4v = function () {
|
|
1325
|
+
return this.r4v_1.xx();
|
|
1326
1326
|
};
|
|
1327
1327
|
function JsonDecodingException(message) {
|
|
1328
1328
|
JsonException.call(this, message);
|
|
@@ -1361,10 +1361,10 @@
|
|
|
1361
1361
|
}
|
|
1362
1362
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1363
1363
|
entity = entity === VOID ? 'object' : entity;
|
|
1364
|
-
_this__u8e3s4.
|
|
1364
|
+
_this__u8e3s4.v4v('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.r4r_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
1365
1365
|
}
|
|
1366
1366
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1367
|
-
_this__u8e3s4.
|
|
1367
|
+
_this__u8e3s4.w4v('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
|
|
1368
1368
|
}
|
|
1369
1369
|
function JsonEncodingException(message) {
|
|
1370
1370
|
JsonException.call(this, message);
|
|
@@ -1395,7 +1395,7 @@
|
|
|
1395
1395
|
function ignoreUnknownKeys(_this__u8e3s4, json) {
|
|
1396
1396
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1397
1397
|
var tmp;
|
|
1398
|
-
if (json.
|
|
1398
|
+
if (json.f4r_1.q4s_1) {
|
|
1399
1399
|
tmp = true;
|
|
1400
1400
|
} else {
|
|
1401
1401
|
var tmp0 = _this__u8e3s4.yp();
|
|
@@ -1440,7 +1440,7 @@
|
|
|
1440
1440
|
var index = _this__u8e3s4.aq(name);
|
|
1441
1441
|
if (!(index === -3))
|
|
1442
1442
|
return index;
|
|
1443
|
-
if (!json.
|
|
1443
|
+
if (!json.f4r_1.a4t_1)
|
|
1444
1444
|
return index;
|
|
1445
1445
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1446
1446
|
}
|
|
@@ -1459,17 +1459,17 @@
|
|
|
1459
1459
|
}
|
|
1460
1460
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1461
1461
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1462
|
-
return equals(_this__u8e3s4.vp(), CLASS_getInstance()) ? json.
|
|
1462
|
+
return equals(_this__u8e3s4.vp(), CLASS_getInstance()) ? json.f4r_1.b4t_1 : null;
|
|
1463
1463
|
}
|
|
1464
1464
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1465
1465
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1466
1466
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1467
1467
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1468
|
-
return tmp.
|
|
1468
|
+
return tmp.y4v(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1469
1469
|
}
|
|
1470
1470
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1471
1471
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1472
|
-
return _this__u8e3s4.
|
|
1472
|
+
return _this__u8e3s4.f4r_1.c4t_1 && equals(descriptor.vp(), ENUM_getInstance());
|
|
1473
1473
|
}
|
|
1474
1474
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1475
1475
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1480,7 +1480,7 @@
|
|
|
1480
1480
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1481
1481
|
var tmp = get_schemaCache(json);
|
|
1482
1482
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1483
|
-
return tmp.
|
|
1483
|
+
return tmp.y4v(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1484
1484
|
}
|
|
1485
1485
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1486
1486
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1506,7 +1506,7 @@
|
|
|
1506
1506
|
}
|
|
1507
1507
|
}
|
|
1508
1508
|
var tmp0_safe_receiver = singleOrNull(destination);
|
|
1509
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1509
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z4v_1;
|
|
1510
1510
|
if (tmp1_safe_receiver == null)
|
|
1511
1511
|
null;
|
|
1512
1512
|
else {
|
|
@@ -1533,7 +1533,7 @@
|
|
|
1533
1533
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1534
1534
|
tmp_0 = _this__u8e3s4.zp(i).toLowerCase();
|
|
1535
1535
|
} else if (!(strategyForClasses == null)) {
|
|
1536
|
-
tmp_0 = strategyForClasses.
|
|
1536
|
+
tmp_0 = strategyForClasses.a4w(_this__u8e3s4, i, _this__u8e3s4.zp(i));
|
|
1537
1537
|
} else {
|
|
1538
1538
|
tmp_0 = null;
|
|
1539
1539
|
}
|
|
@@ -1579,7 +1579,7 @@
|
|
|
1579
1579
|
while (tmp < tmp_0) {
|
|
1580
1580
|
var tmp_2 = tmp;
|
|
1581
1581
|
var baseName = $this_serializationNamesIndices.zp(tmp_2);
|
|
1582
|
-
tmp_1[tmp_2] = $strategy.
|
|
1582
|
+
tmp_1[tmp_2] = $strategy.a4w($this_serializationNamesIndices, tmp_2, baseName);
|
|
1583
1583
|
tmp = tmp + 1 | 0;
|
|
1584
1584
|
}
|
|
1585
1585
|
return tmp_1;
|
|
@@ -1600,8 +1600,8 @@
|
|
|
1600
1600
|
return Tombstone_instance;
|
|
1601
1601
|
}
|
|
1602
1602
|
function resize($this) {
|
|
1603
|
-
var newSize = imul($this.
|
|
1604
|
-
$this.
|
|
1603
|
+
var newSize = imul($this.d4w_1, 2);
|
|
1604
|
+
$this.b4w_1 = copyOf($this.b4w_1, newSize);
|
|
1605
1605
|
var tmp = 0;
|
|
1606
1606
|
var tmp_0 = new Int32Array(newSize);
|
|
1607
1607
|
while (tmp < newSize) {
|
|
@@ -1610,7 +1610,7 @@
|
|
|
1610
1610
|
}
|
|
1611
1611
|
var newIndices = tmp_0;
|
|
1612
1612
|
// Inline function 'kotlin.collections.copyInto' call
|
|
1613
|
-
var this_0 = $this.
|
|
1613
|
+
var this_0 = $this.c4w_1;
|
|
1614
1614
|
var endIndex = this_0.length;
|
|
1615
1615
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1616
1616
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1618,12 +1618,12 @@
|
|
|
1618
1618
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1619
1619
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1620
1620
|
arrayCopy(tmp_1, newIndices, 0, 0, endIndex);
|
|
1621
|
-
$this.
|
|
1621
|
+
$this.c4w_1 = newIndices;
|
|
1622
1622
|
}
|
|
1623
1623
|
function JsonPath() {
|
|
1624
1624
|
var tmp = this;
|
|
1625
1625
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1626
|
-
tmp.
|
|
1626
|
+
tmp.b4w_1 = Array(8);
|
|
1627
1627
|
var tmp_0 = this;
|
|
1628
1628
|
var tmp_1 = 0;
|
|
1629
1629
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1631,71 +1631,71 @@
|
|
|
1631
1631
|
tmp_2[tmp_1] = -1;
|
|
1632
1632
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1633
1633
|
}
|
|
1634
|
-
tmp_0.
|
|
1635
|
-
this.
|
|
1634
|
+
tmp_0.c4w_1 = tmp_2;
|
|
1635
|
+
this.d4w_1 = -1;
|
|
1636
1636
|
}
|
|
1637
|
-
protoOf(JsonPath).
|
|
1638
|
-
this.
|
|
1639
|
-
var depth = this.
|
|
1640
|
-
if (depth === this.
|
|
1637
|
+
protoOf(JsonPath).e4w = function (sd) {
|
|
1638
|
+
this.d4w_1 = this.d4w_1 + 1 | 0;
|
|
1639
|
+
var depth = this.d4w_1;
|
|
1640
|
+
if (depth === this.b4w_1.length) {
|
|
1641
1641
|
resize(this);
|
|
1642
1642
|
}
|
|
1643
|
-
this.
|
|
1643
|
+
this.b4w_1[depth] = sd;
|
|
1644
1644
|
};
|
|
1645
|
-
protoOf(JsonPath).
|
|
1646
|
-
this.
|
|
1645
|
+
protoOf(JsonPath).f4w = function (index) {
|
|
1646
|
+
this.c4w_1[this.d4w_1] = index;
|
|
1647
1647
|
};
|
|
1648
|
-
protoOf(JsonPath).
|
|
1648
|
+
protoOf(JsonPath).g4w = function (key) {
|
|
1649
1649
|
var tmp;
|
|
1650
|
-
if (!(this.
|
|
1651
|
-
this.
|
|
1652
|
-
tmp = this.
|
|
1650
|
+
if (!(this.c4w_1[this.d4w_1] === -2)) {
|
|
1651
|
+
this.d4w_1 = this.d4w_1 + 1 | 0;
|
|
1652
|
+
tmp = this.d4w_1 === this.b4w_1.length;
|
|
1653
1653
|
} else {
|
|
1654
1654
|
tmp = false;
|
|
1655
1655
|
}
|
|
1656
1656
|
if (tmp) {
|
|
1657
1657
|
resize(this);
|
|
1658
1658
|
}
|
|
1659
|
-
this.
|
|
1660
|
-
this.
|
|
1659
|
+
this.b4w_1[this.d4w_1] = key;
|
|
1660
|
+
this.c4w_1[this.d4w_1] = -2;
|
|
1661
1661
|
};
|
|
1662
|
-
protoOf(JsonPath).
|
|
1663
|
-
if (this.
|
|
1664
|
-
this.
|
|
1662
|
+
protoOf(JsonPath).h4w = function () {
|
|
1663
|
+
if (this.c4w_1[this.d4w_1] === -2) {
|
|
1664
|
+
this.b4w_1[this.d4w_1] = Tombstone_instance;
|
|
1665
1665
|
}
|
|
1666
1666
|
};
|
|
1667
|
-
protoOf(JsonPath).
|
|
1668
|
-
var depth = this.
|
|
1669
|
-
if (this.
|
|
1670
|
-
this.
|
|
1671
|
-
this.
|
|
1667
|
+
protoOf(JsonPath).i4w = function () {
|
|
1668
|
+
var depth = this.d4w_1;
|
|
1669
|
+
if (this.c4w_1[depth] === -2) {
|
|
1670
|
+
this.c4w_1[depth] = -1;
|
|
1671
|
+
this.d4w_1 = this.d4w_1 - 1 | 0;
|
|
1672
1672
|
}
|
|
1673
|
-
if (!(this.
|
|
1674
|
-
this.
|
|
1673
|
+
if (!(this.d4w_1 === -1)) {
|
|
1674
|
+
this.d4w_1 = this.d4w_1 - 1 | 0;
|
|
1675
1675
|
}
|
|
1676
1676
|
};
|
|
1677
|
-
protoOf(JsonPath).
|
|
1677
|
+
protoOf(JsonPath).j4w = function () {
|
|
1678
1678
|
// Inline function 'kotlin.text.buildString' call
|
|
1679
1679
|
// Inline function 'kotlin.apply' call
|
|
1680
1680
|
var this_0 = StringBuilder_init_$Create$();
|
|
1681
1681
|
this_0.c8('$');
|
|
1682
1682
|
// Inline function 'kotlin.repeat' call
|
|
1683
|
-
var times = this.
|
|
1683
|
+
var times = this.d4w_1 + 1 | 0;
|
|
1684
1684
|
var inductionVariable = 0;
|
|
1685
1685
|
if (inductionVariable < times)
|
|
1686
1686
|
do {
|
|
1687
1687
|
var index = inductionVariable;
|
|
1688
1688
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1689
|
-
var element = this.
|
|
1689
|
+
var element = this.b4w_1[index];
|
|
1690
1690
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1691
1691
|
if (equals(element.vp(), LIST_getInstance())) {
|
|
1692
|
-
if (!(this.
|
|
1692
|
+
if (!(this.c4w_1[index] === -1)) {
|
|
1693
1693
|
this_0.c8('[');
|
|
1694
|
-
this_0.rb(this.
|
|
1694
|
+
this_0.rb(this.c4w_1[index]);
|
|
1695
1695
|
this_0.c8(']');
|
|
1696
1696
|
}
|
|
1697
1697
|
} else {
|
|
1698
|
-
var idx = this.
|
|
1698
|
+
var idx = this.c4w_1[index];
|
|
1699
1699
|
if (idx >= 0) {
|
|
1700
1700
|
this_0.c8('.');
|
|
1701
1701
|
this_0.c8(element.zp(idx));
|
|
@@ -1715,7 +1715,7 @@
|
|
|
1715
1715
|
return this_0.toString();
|
|
1716
1716
|
};
|
|
1717
1717
|
protoOf(JsonPath).toString = function () {
|
|
1718
|
-
return this.
|
|
1718
|
+
return this.j4w();
|
|
1719
1719
|
};
|
|
1720
1720
|
function checkKind($this, descriptor, actualClass) {
|
|
1721
1721
|
var kind = descriptor.vp();
|
|
@@ -1728,9 +1728,9 @@
|
|
|
1728
1728
|
if (tmp) {
|
|
1729
1729
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.da() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind.toString() + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
1730
1730
|
}
|
|
1731
|
-
if ($this.
|
|
1731
|
+
if ($this.l4w_1)
|
|
1732
1732
|
return Unit_instance;
|
|
1733
|
-
if (!$this.
|
|
1733
|
+
if (!$this.m4w_1)
|
|
1734
1734
|
return Unit_instance;
|
|
1735
1735
|
var tmp_0;
|
|
1736
1736
|
var tmp_1;
|
|
@@ -1756,23 +1756,23 @@
|
|
|
1756
1756
|
var i = inductionVariable;
|
|
1757
1757
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1758
1758
|
var name = descriptor.zp(i);
|
|
1759
|
-
if (name === $this.
|
|
1759
|
+
if (name === $this.k4w_1) {
|
|
1760
1760
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + toString(actualClass) + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism');
|
|
1761
1761
|
}
|
|
1762
1762
|
}
|
|
1763
1763
|
while (inductionVariable < last);
|
|
1764
1764
|
}
|
|
1765
1765
|
function JsonSerializersModuleValidator(configuration) {
|
|
1766
|
-
this.
|
|
1767
|
-
this.
|
|
1768
|
-
this.
|
|
1766
|
+
this.k4w_1 = configuration.y4s_1;
|
|
1767
|
+
this.l4w_1 = configuration.x4s_1;
|
|
1768
|
+
this.m4w_1 = !configuration.f4t_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
1769
1769
|
}
|
|
1770
1770
|
protoOf(JsonSerializersModuleValidator).y18 = function (kClass, provider) {
|
|
1771
1771
|
};
|
|
1772
1772
|
protoOf(JsonSerializersModuleValidator).b19 = function (baseClass, actualClass, actualSerializer) {
|
|
1773
1773
|
var descriptor = actualSerializer.bo();
|
|
1774
1774
|
checkKind(this, descriptor, actualClass);
|
|
1775
|
-
if (!this.
|
|
1775
|
+
if (!this.l4w_1 && this.m4w_1) {
|
|
1776
1776
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1777
1777
|
}
|
|
1778
1778
|
};
|
|
@@ -1790,34 +1790,34 @@
|
|
|
1790
1790
|
}
|
|
1791
1791
|
function readObject($this) {
|
|
1792
1792
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1793
|
-
var lastToken = $this.
|
|
1794
|
-
if ($this.
|
|
1795
|
-
$this.
|
|
1793
|
+
var lastToken = $this.w4w_1.a4x(6);
|
|
1794
|
+
if ($this.w4w_1.b4x() === 4) {
|
|
1795
|
+
$this.w4w_1.w4v('Unexpected leading comma');
|
|
1796
1796
|
}
|
|
1797
1797
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1798
1798
|
var result = LinkedHashMap_init_$Create$();
|
|
1799
|
-
$l$loop: while ($this.
|
|
1800
|
-
var key = $this.
|
|
1801
|
-
$this.
|
|
1802
|
-
var element = $this.
|
|
1799
|
+
$l$loop: while ($this.w4w_1.c4x()) {
|
|
1800
|
+
var key = $this.x4w_1 ? $this.w4w_1.e4x() : $this.w4w_1.d4x();
|
|
1801
|
+
$this.w4w_1.a4x(5);
|
|
1802
|
+
var element = $this.f4x();
|
|
1803
1803
|
// Inline function 'kotlin.collections.set' call
|
|
1804
1804
|
result.l2(key, element);
|
|
1805
|
-
lastToken = $this.
|
|
1805
|
+
lastToken = $this.w4w_1.g4x();
|
|
1806
1806
|
var tmp0_subject = lastToken;
|
|
1807
1807
|
if (tmp0_subject !== 4)
|
|
1808
1808
|
if (tmp0_subject === 7)
|
|
1809
1809
|
break $l$loop;
|
|
1810
1810
|
else {
|
|
1811
|
-
$this.
|
|
1811
|
+
$this.w4w_1.w4v('Expected end of the object or comma');
|
|
1812
1812
|
}
|
|
1813
1813
|
}
|
|
1814
1814
|
if (lastToken === 6) {
|
|
1815
|
-
$this.
|
|
1815
|
+
$this.w4w_1.a4x(7);
|
|
1816
1816
|
} else if (lastToken === 4) {
|
|
1817
|
-
if (!$this.
|
|
1818
|
-
invalidTrailingComma($this.
|
|
1817
|
+
if (!$this.y4w_1) {
|
|
1818
|
+
invalidTrailingComma($this.w4w_1);
|
|
1819
1819
|
}
|
|
1820
|
-
$this.
|
|
1820
|
+
$this.w4w_1.a4x(7);
|
|
1821
1821
|
}
|
|
1822
1822
|
return new JsonObject(result);
|
|
1823
1823
|
}
|
|
@@ -1828,43 +1828,43 @@
|
|
|
1828
1828
|
return tmp.z8();
|
|
1829
1829
|
}
|
|
1830
1830
|
function readArray($this) {
|
|
1831
|
-
var lastToken = $this.
|
|
1832
|
-
if ($this.
|
|
1833
|
-
$this.
|
|
1831
|
+
var lastToken = $this.w4w_1.g4x();
|
|
1832
|
+
if ($this.w4w_1.b4x() === 4) {
|
|
1833
|
+
$this.w4w_1.w4v('Unexpected leading comma');
|
|
1834
1834
|
}
|
|
1835
1835
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1836
1836
|
var result = ArrayList_init_$Create$();
|
|
1837
|
-
while ($this.
|
|
1838
|
-
var element = $this.
|
|
1837
|
+
while ($this.w4w_1.c4x()) {
|
|
1838
|
+
var element = $this.f4x();
|
|
1839
1839
|
result.j(element);
|
|
1840
|
-
lastToken = $this.
|
|
1840
|
+
lastToken = $this.w4w_1.g4x();
|
|
1841
1841
|
if (!(lastToken === 4)) {
|
|
1842
|
-
var tmp0 = $this.
|
|
1842
|
+
var tmp0 = $this.w4w_1;
|
|
1843
1843
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1844
1844
|
var condition = lastToken === 9;
|
|
1845
|
-
var position = tmp0.
|
|
1845
|
+
var position = tmp0.r4r_1;
|
|
1846
1846
|
if (!condition) {
|
|
1847
1847
|
var tmp$ret$1 = 'Expected end of the array or comma';
|
|
1848
|
-
tmp0.
|
|
1848
|
+
tmp0.w4v(tmp$ret$1, position);
|
|
1849
1849
|
}
|
|
1850
1850
|
}
|
|
1851
1851
|
}
|
|
1852
1852
|
if (lastToken === 8) {
|
|
1853
|
-
$this.
|
|
1853
|
+
$this.w4w_1.a4x(9);
|
|
1854
1854
|
} else if (lastToken === 4) {
|
|
1855
|
-
if (!$this.
|
|
1856
|
-
invalidTrailingComma($this.
|
|
1855
|
+
if (!$this.y4w_1) {
|
|
1856
|
+
invalidTrailingComma($this.w4w_1, 'array');
|
|
1857
1857
|
}
|
|
1858
|
-
$this.
|
|
1858
|
+
$this.w4w_1.a4x(9);
|
|
1859
1859
|
}
|
|
1860
1860
|
return new JsonArray(result);
|
|
1861
1861
|
}
|
|
1862
1862
|
function readValue($this, isString) {
|
|
1863
1863
|
var tmp;
|
|
1864
|
-
if ($this.
|
|
1865
|
-
tmp = $this.
|
|
1864
|
+
if ($this.x4w_1 || !isString) {
|
|
1865
|
+
tmp = $this.w4w_1.e4x();
|
|
1866
1866
|
} else {
|
|
1867
|
-
tmp = $this.
|
|
1867
|
+
tmp = $this.w4w_1.d4x();
|
|
1868
1868
|
}
|
|
1869
1869
|
var string = tmp;
|
|
1870
1870
|
if (!isString && string === 'null')
|
|
@@ -1875,18 +1875,18 @@
|
|
|
1875
1875
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1876
1876
|
}
|
|
1877
1877
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1878
|
-
this.
|
|
1878
|
+
this.d4y_1 = this$0;
|
|
1879
1879
|
CoroutineImpl.call(this, resultContinuation);
|
|
1880
1880
|
}
|
|
1881
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1882
|
-
var tmp = this.
|
|
1881
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).h4y = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1882
|
+
var tmp = this.i4y($this$DeepRecursiveFunction, it, $completion);
|
|
1883
1883
|
tmp.t8_1 = Unit_instance;
|
|
1884
1884
|
tmp.u8_1 = null;
|
|
1885
1885
|
return tmp.z8();
|
|
1886
1886
|
};
|
|
1887
1887
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).i9 = function (p1, p2, $completion) {
|
|
1888
1888
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1889
|
-
return this.
|
|
1889
|
+
return this.h4y(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1890
1890
|
};
|
|
1891
1891
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).z8 = function () {
|
|
1892
1892
|
var suspendResult = this.t8_1;
|
|
@@ -1896,32 +1896,32 @@
|
|
|
1896
1896
|
switch (tmp) {
|
|
1897
1897
|
case 0:
|
|
1898
1898
|
this.s8_1 = 3;
|
|
1899
|
-
var tmp0_subject = this.
|
|
1899
|
+
var tmp0_subject = this.d4y_1.w4w_1.b4x();
|
|
1900
1900
|
if (tmp0_subject === 1) {
|
|
1901
|
-
this.
|
|
1901
|
+
this.g4y_1 = readValue(this.d4y_1, true);
|
|
1902
1902
|
this.r8_1 = 2;
|
|
1903
1903
|
continue $sm;
|
|
1904
1904
|
} else {
|
|
1905
1905
|
if (tmp0_subject === 0) {
|
|
1906
|
-
this.
|
|
1906
|
+
this.g4y_1 = readValue(this.d4y_1, false);
|
|
1907
1907
|
this.r8_1 = 2;
|
|
1908
1908
|
continue $sm;
|
|
1909
1909
|
} else {
|
|
1910
1910
|
if (tmp0_subject === 6) {
|
|
1911
1911
|
this.r8_1 = 1;
|
|
1912
|
-
suspendResult = readObject_0(this.
|
|
1912
|
+
suspendResult = readObject_0(this.d4y_1, this.e4y_1, this);
|
|
1913
1913
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1914
1914
|
return suspendResult;
|
|
1915
1915
|
}
|
|
1916
1916
|
continue $sm;
|
|
1917
1917
|
} else {
|
|
1918
1918
|
if (tmp0_subject === 8) {
|
|
1919
|
-
this.
|
|
1919
|
+
this.g4y_1 = readArray(this.d4y_1);
|
|
1920
1920
|
this.r8_1 = 2;
|
|
1921
1921
|
continue $sm;
|
|
1922
1922
|
} else {
|
|
1923
1923
|
var tmp_0 = this;
|
|
1924
|
-
this.
|
|
1924
|
+
this.d4y_1.w4w_1.w4v("Can't begin reading element, unexpected token");
|
|
1925
1925
|
}
|
|
1926
1926
|
}
|
|
1927
1927
|
}
|
|
@@ -1929,11 +1929,11 @@
|
|
|
1929
1929
|
|
|
1930
1930
|
break;
|
|
1931
1931
|
case 1:
|
|
1932
|
-
this.
|
|
1932
|
+
this.g4y_1 = suspendResult;
|
|
1933
1933
|
this.r8_1 = 2;
|
|
1934
1934
|
continue $sm;
|
|
1935
1935
|
case 2:
|
|
1936
|
-
return this.
|
|
1936
|
+
return this.g4y_1;
|
|
1937
1937
|
case 3:
|
|
1938
1938
|
throw this.u8_1;
|
|
1939
1939
|
}
|
|
@@ -1948,24 +1948,24 @@
|
|
|
1948
1948
|
}
|
|
1949
1949
|
while (true);
|
|
1950
1950
|
};
|
|
1951
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1952
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1953
|
-
i.
|
|
1954
|
-
i.
|
|
1951
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).i4y = function ($this$DeepRecursiveFunction, it, completion) {
|
|
1952
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.d4y_1, completion);
|
|
1953
|
+
i.e4y_1 = $this$DeepRecursiveFunction;
|
|
1954
|
+
i.f4y_1 = it;
|
|
1955
1955
|
return i;
|
|
1956
1956
|
};
|
|
1957
1957
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1958
1958
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1959
1959
|
var l = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1960
|
-
return i.
|
|
1960
|
+
return i.h4y($this$DeepRecursiveFunction, it, $completion);
|
|
1961
1961
|
};
|
|
1962
1962
|
l.$arity = 2;
|
|
1963
1963
|
return l;
|
|
1964
1964
|
}
|
|
1965
1965
|
function $readObjectCOROUTINE$(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1966
1966
|
CoroutineImpl.call(this, resultContinuation);
|
|
1967
|
-
this.
|
|
1968
|
-
this.
|
|
1967
|
+
this.p4x_1 = _this__u8e3s4;
|
|
1968
|
+
this.q4x_1 = _this__u8e3s4_0;
|
|
1969
1969
|
}
|
|
1970
1970
|
protoOf($readObjectCOROUTINE$).z8 = function () {
|
|
1971
1971
|
var suspendResult = this.t8_1;
|
|
@@ -1975,26 +1975,26 @@
|
|
|
1975
1975
|
switch (tmp) {
|
|
1976
1976
|
case 0:
|
|
1977
1977
|
this.s8_1 = 5;
|
|
1978
|
-
this.
|
|
1979
|
-
this.
|
|
1980
|
-
if (this.
|
|
1981
|
-
this.
|
|
1978
|
+
this.s4x_1 = this.p4x_1;
|
|
1979
|
+
this.t4x_1 = this.s4x_1.w4w_1.a4x(6);
|
|
1980
|
+
if (this.s4x_1.w4w_1.b4x() === 4) {
|
|
1981
|
+
this.s4x_1.w4w_1.w4v('Unexpected leading comma');
|
|
1982
1982
|
}
|
|
1983
1983
|
|
|
1984
1984
|
var tmp_0 = this;
|
|
1985
|
-
tmp_0.
|
|
1985
|
+
tmp_0.r4x_1 = LinkedHashMap_init_$Create$();
|
|
1986
1986
|
this.r8_1 = 1;
|
|
1987
1987
|
continue $sm;
|
|
1988
1988
|
case 1:
|
|
1989
|
-
if (!this.
|
|
1989
|
+
if (!this.s4x_1.w4w_1.c4x()) {
|
|
1990
1990
|
this.r8_1 = 4;
|
|
1991
1991
|
continue $sm;
|
|
1992
1992
|
}
|
|
1993
1993
|
|
|
1994
|
-
this.
|
|
1995
|
-
this.
|
|
1994
|
+
this.u4x_1 = this.s4x_1.x4w_1 ? this.s4x_1.w4w_1.e4x() : this.s4x_1.w4w_1.d4x();
|
|
1995
|
+
this.s4x_1.w4w_1.a4x(5);
|
|
1996
1996
|
this.r8_1 = 2;
|
|
1997
|
-
suspendResult = this.
|
|
1997
|
+
suspendResult = this.q4x_1.hl(Unit_instance, this);
|
|
1998
1998
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1999
1999
|
return suspendResult;
|
|
2000
2000
|
}
|
|
@@ -2002,11 +2002,11 @@
|
|
|
2002
2002
|
continue $sm;
|
|
2003
2003
|
case 2:
|
|
2004
2004
|
var element = suspendResult;
|
|
2005
|
-
var tmp0 = this.
|
|
2006
|
-
var key = this.
|
|
2005
|
+
var tmp0 = this.r4x_1;
|
|
2006
|
+
var key = this.u4x_1;
|
|
2007
2007
|
tmp0.l2(key, element);
|
|
2008
|
-
this.
|
|
2009
|
-
var tmp0_subject = this.
|
|
2008
|
+
this.t4x_1 = this.s4x_1.w4w_1.g4x();
|
|
2009
|
+
var tmp0_subject = this.t4x_1;
|
|
2010
2010
|
if (tmp0_subject === 4) {
|
|
2011
2011
|
this.r8_1 = 3;
|
|
2012
2012
|
continue $sm;
|
|
@@ -2015,7 +2015,7 @@
|
|
|
2015
2015
|
this.r8_1 = 4;
|
|
2016
2016
|
continue $sm;
|
|
2017
2017
|
} else {
|
|
2018
|
-
this.
|
|
2018
|
+
this.s4x_1.w4w_1.w4v('Expected end of the object or comma');
|
|
2019
2019
|
}
|
|
2020
2020
|
}
|
|
2021
2021
|
|
|
@@ -2024,16 +2024,16 @@
|
|
|
2024
2024
|
this.r8_1 = 1;
|
|
2025
2025
|
continue $sm;
|
|
2026
2026
|
case 4:
|
|
2027
|
-
if (this.
|
|
2028
|
-
this.
|
|
2029
|
-
} else if (this.
|
|
2030
|
-
if (!this.
|
|
2031
|
-
invalidTrailingComma(this.
|
|
2027
|
+
if (this.t4x_1 === 6) {
|
|
2028
|
+
this.s4x_1.w4w_1.a4x(7);
|
|
2029
|
+
} else if (this.t4x_1 === 4) {
|
|
2030
|
+
if (!this.s4x_1.y4w_1) {
|
|
2031
|
+
invalidTrailingComma(this.s4x_1.w4w_1);
|
|
2032
2032
|
}
|
|
2033
|
-
this.
|
|
2033
|
+
this.s4x_1.w4w_1.a4x(7);
|
|
2034
2034
|
}
|
|
2035
2035
|
|
|
2036
|
-
return new JsonObject(this.
|
|
2036
|
+
return new JsonObject(this.r4x_1);
|
|
2037
2037
|
case 5:
|
|
2038
2038
|
throw this.u8_1;
|
|
2039
2039
|
}
|
|
@@ -2049,13 +2049,13 @@
|
|
|
2049
2049
|
while (true);
|
|
2050
2050
|
};
|
|
2051
2051
|
function JsonTreeReader(configuration, lexer) {
|
|
2052
|
-
this.
|
|
2053
|
-
this.
|
|
2054
|
-
this.
|
|
2055
|
-
this.
|
|
2052
|
+
this.w4w_1 = lexer;
|
|
2053
|
+
this.x4w_1 = configuration.r4s_1;
|
|
2054
|
+
this.y4w_1 = configuration.d4t_1;
|
|
2055
|
+
this.z4w_1 = 0;
|
|
2056
2056
|
}
|
|
2057
|
-
protoOf(JsonTreeReader).
|
|
2058
|
-
var token = this.
|
|
2057
|
+
protoOf(JsonTreeReader).f4x = function () {
|
|
2058
|
+
var token = this.w4w_1.b4x();
|
|
2059
2059
|
var tmp;
|
|
2060
2060
|
if (token === 1) {
|
|
2061
2061
|
tmp = readValue(this, true);
|
|
@@ -2063,19 +2063,19 @@
|
|
|
2063
2063
|
tmp = readValue(this, false);
|
|
2064
2064
|
} else if (token === 6) {
|
|
2065
2065
|
var tmp_0;
|
|
2066
|
-
this.
|
|
2067
|
-
if (this.
|
|
2066
|
+
this.z4w_1 = this.z4w_1 + 1 | 0;
|
|
2067
|
+
if (this.z4w_1 === 200) {
|
|
2068
2068
|
tmp_0 = readDeepRecursive(this);
|
|
2069
2069
|
} else {
|
|
2070
2070
|
tmp_0 = readObject(this);
|
|
2071
2071
|
}
|
|
2072
2072
|
var result = tmp_0;
|
|
2073
|
-
this.
|
|
2073
|
+
this.z4w_1 = this.z4w_1 - 1 | 0;
|
|
2074
2074
|
tmp = result;
|
|
2075
2075
|
} else if (token === 8) {
|
|
2076
2076
|
tmp = readArray(this);
|
|
2077
2077
|
} else {
|
|
2078
|
-
this.
|
|
2078
|
+
this.w4w_1.w4v('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
2079
2079
|
}
|
|
2080
2080
|
return tmp;
|
|
2081
2081
|
};
|
|
@@ -2084,9 +2084,9 @@
|
|
|
2084
2084
|
while (_iterator__ex2g4s.m()) {
|
|
2085
2085
|
var annotation = _iterator__ex2g4s.n();
|
|
2086
2086
|
if (annotation instanceof JsonClassDiscriminator)
|
|
2087
|
-
return annotation.
|
|
2087
|
+
return annotation.j4y_1;
|
|
2088
2088
|
}
|
|
2089
|
-
return json.
|
|
2089
|
+
return json.f4r_1.y4s_1;
|
|
2090
2090
|
}
|
|
2091
2091
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
2092
2092
|
if (!(serializer instanceof SealedClassSerializer))
|
|
@@ -2122,11 +2122,11 @@
|
|
|
2122
2122
|
function Key() {
|
|
2123
2123
|
}
|
|
2124
2124
|
function DescriptorSchemaCache() {
|
|
2125
|
-
this.
|
|
2125
|
+
this.x4v_1 = createMapForCache(16);
|
|
2126
2126
|
}
|
|
2127
|
-
protoOf(DescriptorSchemaCache).
|
|
2127
|
+
protoOf(DescriptorSchemaCache).k4y = function (descriptor, key, value) {
|
|
2128
2128
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2129
|
-
var this_0 = this.
|
|
2129
|
+
var this_0 = this.x4v_1;
|
|
2130
2130
|
var value_0 = this_0.b2(descriptor);
|
|
2131
2131
|
var tmp;
|
|
2132
2132
|
if (value_0 == null) {
|
|
@@ -2142,8 +2142,8 @@
|
|
|
2142
2142
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
2143
2143
|
tmp0.l2(tmp2, value_1);
|
|
2144
2144
|
};
|
|
2145
|
-
protoOf(DescriptorSchemaCache).
|
|
2146
|
-
var tmp0_safe_receiver = this.
|
|
2145
|
+
protoOf(DescriptorSchemaCache).y4v = function (descriptor, key, defaultValue) {
|
|
2146
|
+
var tmp0_safe_receiver = this.l4y(descriptor, key);
|
|
2147
2147
|
if (tmp0_safe_receiver == null)
|
|
2148
2148
|
null;
|
|
2149
2149
|
else {
|
|
@@ -2151,11 +2151,11 @@
|
|
|
2151
2151
|
return tmp0_safe_receiver;
|
|
2152
2152
|
}
|
|
2153
2153
|
var value = defaultValue();
|
|
2154
|
-
this.
|
|
2154
|
+
this.k4y(descriptor, key, value);
|
|
2155
2155
|
return value;
|
|
2156
2156
|
};
|
|
2157
|
-
protoOf(DescriptorSchemaCache).
|
|
2158
|
-
var tmp0_safe_receiver = this.
|
|
2157
|
+
protoOf(DescriptorSchemaCache).l4y = function (descriptor, key) {
|
|
2158
|
+
var tmp0_safe_receiver = this.x4v_1.b2(descriptor);
|
|
2159
2159
|
var tmp;
|
|
2160
2160
|
if (tmp0_safe_receiver == null) {
|
|
2161
2161
|
tmp = null;
|
|
@@ -2166,13 +2166,13 @@
|
|
|
2166
2166
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
2167
2167
|
};
|
|
2168
2168
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2169
|
-
this.
|
|
2169
|
+
this.m4y_1 = discriminatorToSkip;
|
|
2170
2170
|
}
|
|
2171
2171
|
function trySkip($this, _this__u8e3s4, unknownKey) {
|
|
2172
2172
|
if (_this__u8e3s4 == null)
|
|
2173
2173
|
return false;
|
|
2174
|
-
if (_this__u8e3s4.
|
|
2175
|
-
_this__u8e3s4.
|
|
2174
|
+
if (_this__u8e3s4.m4y_1 === unknownKey) {
|
|
2175
|
+
_this__u8e3s4.m4y_1 = null;
|
|
2176
2176
|
return true;
|
|
2177
2177
|
}
|
|
2178
2178
|
return false;
|
|
@@ -2182,55 +2182,55 @@
|
|
|
2182
2182
|
}
|
|
2183
2183
|
}
|
|
2184
2184
|
function checkLeadingComma($this) {
|
|
2185
|
-
if ($this.
|
|
2186
|
-
$this.
|
|
2185
|
+
if ($this.l4r_1.b4x() === 4) {
|
|
2186
|
+
$this.l4r_1.w4v('Unexpected leading comma');
|
|
2187
2187
|
}
|
|
2188
2188
|
}
|
|
2189
2189
|
function decodeMapIndex($this) {
|
|
2190
2190
|
var hasComma = false;
|
|
2191
|
-
var decodingKey = !(($this.
|
|
2191
|
+
var decodingKey = !(($this.n4r_1 % 2 | 0) === 0);
|
|
2192
2192
|
if (decodingKey) {
|
|
2193
|
-
if (!($this.
|
|
2194
|
-
hasComma = $this.
|
|
2193
|
+
if (!($this.n4r_1 === -1)) {
|
|
2194
|
+
hasComma = $this.l4r_1.o4y();
|
|
2195
2195
|
}
|
|
2196
2196
|
} else {
|
|
2197
|
-
$this.
|
|
2197
|
+
$this.l4r_1.n4y(_Char___init__impl__6a9atx(58));
|
|
2198
2198
|
}
|
|
2199
2199
|
var tmp;
|
|
2200
|
-
if ($this.
|
|
2200
|
+
if ($this.l4r_1.c4x()) {
|
|
2201
2201
|
if (decodingKey) {
|
|
2202
|
-
if ($this.
|
|
2203
|
-
var tmp0 = $this.
|
|
2202
|
+
if ($this.n4r_1 === -1) {
|
|
2203
|
+
var tmp0 = $this.l4r_1;
|
|
2204
2204
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2205
2205
|
var condition = !hasComma;
|
|
2206
|
-
var position = tmp0.
|
|
2206
|
+
var position = tmp0.r4r_1;
|
|
2207
2207
|
if (!condition) {
|
|
2208
2208
|
var tmp$ret$0 = 'Unexpected leading comma';
|
|
2209
|
-
tmp0.
|
|
2209
|
+
tmp0.w4v(tmp$ret$0, position);
|
|
2210
2210
|
}
|
|
2211
2211
|
} else {
|
|
2212
|
-
var tmp0_0 = $this.
|
|
2212
|
+
var tmp0_0 = $this.l4r_1;
|
|
2213
2213
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2214
2214
|
var condition_0 = hasComma;
|
|
2215
|
-
var position_0 = tmp0_0.
|
|
2215
|
+
var position_0 = tmp0_0.r4r_1;
|
|
2216
2216
|
if (!condition_0) {
|
|
2217
2217
|
var tmp$ret$2 = 'Expected comma after the key-value pair';
|
|
2218
|
-
tmp0_0.
|
|
2218
|
+
tmp0_0.w4v(tmp$ret$2, position_0);
|
|
2219
2219
|
}
|
|
2220
2220
|
}
|
|
2221
2221
|
}
|
|
2222
|
-
$this.
|
|
2223
|
-
tmp = $this.
|
|
2222
|
+
$this.n4r_1 = $this.n4r_1 + 1 | 0;
|
|
2223
|
+
tmp = $this.n4r_1;
|
|
2224
2224
|
} else {
|
|
2225
|
-
if (hasComma && !$this.
|
|
2226
|
-
invalidTrailingComma($this.
|
|
2225
|
+
if (hasComma && !$this.j4r_1.f4r_1.d4t_1) {
|
|
2226
|
+
invalidTrailingComma($this.l4r_1);
|
|
2227
2227
|
}
|
|
2228
2228
|
tmp = -1;
|
|
2229
2229
|
}
|
|
2230
2230
|
return tmp;
|
|
2231
2231
|
}
|
|
2232
2232
|
function coerceInputValue($this, descriptor, index) {
|
|
2233
|
-
var tmp0 = $this.
|
|
2233
|
+
var tmp0 = $this.j4r_1;
|
|
2234
2234
|
var tmp$ret$1;
|
|
2235
2235
|
$l$block_2: {
|
|
2236
2236
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -2238,7 +2238,7 @@
|
|
|
2238
2238
|
var elementDescriptor = descriptor.cq(index);
|
|
2239
2239
|
var tmp;
|
|
2240
2240
|
if (isOptional && !elementDescriptor.op()) {
|
|
2241
|
-
tmp = $this.
|
|
2241
|
+
tmp = $this.l4r_1.p4y(true);
|
|
2242
2242
|
} else {
|
|
2243
2243
|
tmp = false;
|
|
2244
2244
|
}
|
|
@@ -2249,7 +2249,7 @@
|
|
|
2249
2249
|
if (equals(elementDescriptor.vp(), ENUM_getInstance())) {
|
|
2250
2250
|
var tmp_0;
|
|
2251
2251
|
if (elementDescriptor.op()) {
|
|
2252
|
-
tmp_0 = $this.
|
|
2252
|
+
tmp_0 = $this.l4r_1.p4y(false);
|
|
2253
2253
|
} else {
|
|
2254
2254
|
tmp_0 = false;
|
|
2255
2255
|
}
|
|
@@ -2257,7 +2257,7 @@
|
|
|
2257
2257
|
tmp$ret$1 = false;
|
|
2258
2258
|
break $l$block_2;
|
|
2259
2259
|
}
|
|
2260
|
-
var tmp0_elvis_lhs = $this.
|
|
2260
|
+
var tmp0_elvis_lhs = $this.l4r_1.q4y($this.p4r_1.r4s_1);
|
|
2261
2261
|
var tmp_1;
|
|
2262
2262
|
if (tmp0_elvis_lhs == null) {
|
|
2263
2263
|
tmp$ret$1 = false;
|
|
@@ -2267,9 +2267,9 @@
|
|
|
2267
2267
|
}
|
|
2268
2268
|
var enumValue = tmp_1;
|
|
2269
2269
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
2270
|
-
var coerceToNull = !tmp0.
|
|
2270
|
+
var coerceToNull = !tmp0.f4r_1.u4s_1 && elementDescriptor.op();
|
|
2271
2271
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
2272
|
-
$this.
|
|
2272
|
+
$this.l4r_1.d4x();
|
|
2273
2273
|
tmp$ret$1 = true;
|
|
2274
2274
|
break $l$block_2;
|
|
2275
2275
|
}
|
|
@@ -2279,24 +2279,24 @@
|
|
|
2279
2279
|
return tmp$ret$1;
|
|
2280
2280
|
}
|
|
2281
2281
|
function decodeObjectIndex($this, descriptor) {
|
|
2282
|
-
var hasComma = $this.
|
|
2283
|
-
while ($this.
|
|
2282
|
+
var hasComma = $this.l4r_1.o4y();
|
|
2283
|
+
while ($this.l4r_1.c4x()) {
|
|
2284
2284
|
hasComma = false;
|
|
2285
2285
|
var key = decodeStringKey($this);
|
|
2286
|
-
$this.
|
|
2287
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2286
|
+
$this.l4r_1.n4y(_Char___init__impl__6a9atx(58));
|
|
2287
|
+
var index = getJsonNameIndex(descriptor, $this.j4r_1, key);
|
|
2288
2288
|
var tmp;
|
|
2289
2289
|
if (!(index === -3)) {
|
|
2290
2290
|
var tmp_0;
|
|
2291
|
-
if ($this.
|
|
2292
|
-
hasComma = $this.
|
|
2291
|
+
if ($this.p4r_1.w4s_1 && coerceInputValue($this, descriptor, index)) {
|
|
2292
|
+
hasComma = $this.l4r_1.o4y();
|
|
2293
2293
|
tmp_0 = false;
|
|
2294
2294
|
} else {
|
|
2295
|
-
var tmp0_safe_receiver = $this.
|
|
2295
|
+
var tmp0_safe_receiver = $this.q4r_1;
|
|
2296
2296
|
if (tmp0_safe_receiver == null)
|
|
2297
2297
|
null;
|
|
2298
2298
|
else {
|
|
2299
|
-
tmp0_safe_receiver.
|
|
2299
|
+
tmp0_safe_receiver.t4v(index);
|
|
2300
2300
|
}
|
|
2301
2301
|
return index;
|
|
2302
2302
|
}
|
|
@@ -2309,34 +2309,34 @@
|
|
|
2309
2309
|
hasComma = handleUnknown($this, descriptor, key);
|
|
2310
2310
|
}
|
|
2311
2311
|
}
|
|
2312
|
-
if (hasComma && !$this.
|
|
2313
|
-
invalidTrailingComma($this.
|
|
2312
|
+
if (hasComma && !$this.j4r_1.f4r_1.d4t_1) {
|
|
2313
|
+
invalidTrailingComma($this.l4r_1);
|
|
2314
2314
|
}
|
|
2315
|
-
var tmp1_safe_receiver = $this.
|
|
2316
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2315
|
+
var tmp1_safe_receiver = $this.q4r_1;
|
|
2316
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u4v();
|
|
2317
2317
|
return tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2318
2318
|
}
|
|
2319
2319
|
function handleUnknown($this, descriptor, key) {
|
|
2320
|
-
if (ignoreUnknownKeys(descriptor, $this.
|
|
2321
|
-
$this.
|
|
2320
|
+
if (ignoreUnknownKeys(descriptor, $this.j4r_1) || trySkip($this, $this.o4r_1, key)) {
|
|
2321
|
+
$this.l4r_1.s4y($this.p4r_1.r4s_1);
|
|
2322
2322
|
} else {
|
|
2323
|
-
$this.
|
|
2324
|
-
$this.
|
|
2323
|
+
$this.l4r_1.s4r_1.i4w();
|
|
2324
|
+
$this.l4r_1.r4y(key);
|
|
2325
2325
|
}
|
|
2326
|
-
return $this.
|
|
2326
|
+
return $this.l4r_1.o4y();
|
|
2327
2327
|
}
|
|
2328
2328
|
function decodeListIndex($this) {
|
|
2329
|
-
var hasComma = $this.
|
|
2329
|
+
var hasComma = $this.l4r_1.o4y();
|
|
2330
2330
|
var tmp;
|
|
2331
|
-
if ($this.
|
|
2332
|
-
if (!($this.
|
|
2333
|
-
$this.
|
|
2331
|
+
if ($this.l4r_1.c4x()) {
|
|
2332
|
+
if (!($this.n4r_1 === -1) && !hasComma) {
|
|
2333
|
+
$this.l4r_1.w4v('Expected end of the array or comma');
|
|
2334
2334
|
}
|
|
2335
|
-
$this.
|
|
2336
|
-
tmp = $this.
|
|
2335
|
+
$this.n4r_1 = $this.n4r_1 + 1 | 0;
|
|
2336
|
+
tmp = $this.n4r_1;
|
|
2337
2337
|
} else {
|
|
2338
|
-
if (hasComma && !$this.
|
|
2339
|
-
invalidTrailingComma($this.
|
|
2338
|
+
if (hasComma && !$this.j4r_1.f4r_1.d4t_1) {
|
|
2339
|
+
invalidTrailingComma($this.l4r_1, 'array');
|
|
2340
2340
|
}
|
|
2341
2341
|
tmp = -1;
|
|
2342
2342
|
}
|
|
@@ -2344,32 +2344,32 @@
|
|
|
2344
2344
|
}
|
|
2345
2345
|
function decodeStringKey($this) {
|
|
2346
2346
|
var tmp;
|
|
2347
|
-
if ($this.
|
|
2348
|
-
tmp = $this.
|
|
2347
|
+
if ($this.p4r_1.r4s_1) {
|
|
2348
|
+
tmp = $this.l4r_1.u4y();
|
|
2349
2349
|
} else {
|
|
2350
|
-
tmp = $this.
|
|
2350
|
+
tmp = $this.l4r_1.t4y();
|
|
2351
2351
|
}
|
|
2352
2352
|
return tmp;
|
|
2353
2353
|
}
|
|
2354
2354
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2355
2355
|
AbstractDecoder.call(this);
|
|
2356
|
-
this.
|
|
2357
|
-
this.
|
|
2358
|
-
this.
|
|
2359
|
-
this.
|
|
2360
|
-
this.
|
|
2361
|
-
this.
|
|
2362
|
-
this.
|
|
2363
|
-
this.
|
|
2364
|
-
}
|
|
2365
|
-
protoOf(StreamingJsonDecoder).
|
|
2366
|
-
return this.
|
|
2356
|
+
this.j4r_1 = json;
|
|
2357
|
+
this.k4r_1 = mode;
|
|
2358
|
+
this.l4r_1 = lexer;
|
|
2359
|
+
this.m4r_1 = this.j4r_1.ds();
|
|
2360
|
+
this.n4r_1 = -1;
|
|
2361
|
+
this.o4r_1 = discriminatorHolder;
|
|
2362
|
+
this.p4r_1 = this.j4r_1.f4r_1;
|
|
2363
|
+
this.q4r_1 = this.p4r_1.u4s_1 ? null : new JsonElementMarker(descriptor);
|
|
2364
|
+
}
|
|
2365
|
+
protoOf(StreamingJsonDecoder).g4t = function () {
|
|
2366
|
+
return this.j4r_1;
|
|
2367
2367
|
};
|
|
2368
2368
|
protoOf(StreamingJsonDecoder).ds = function () {
|
|
2369
|
-
return this.
|
|
2369
|
+
return this.m4r_1;
|
|
2370
2370
|
};
|
|
2371
|
-
protoOf(StreamingJsonDecoder).
|
|
2372
|
-
return (new JsonTreeReader(this.
|
|
2371
|
+
protoOf(StreamingJsonDecoder).h4t = function () {
|
|
2372
|
+
return (new JsonTreeReader(this.j4r_1.f4r_1, this.l4r_1)).f4x();
|
|
2373
2373
|
};
|
|
2374
2374
|
protoOf(StreamingJsonDecoder).nr = function (deserializer) {
|
|
2375
2375
|
try {
|
|
@@ -2377,13 +2377,13 @@
|
|
|
2377
2377
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2378
2378
|
tmp = true;
|
|
2379
2379
|
} else {
|
|
2380
|
-
tmp = this.
|
|
2380
|
+
tmp = this.j4r_1.f4r_1.x4s_1;
|
|
2381
2381
|
}
|
|
2382
2382
|
if (tmp) {
|
|
2383
2383
|
return deserializer.do(this);
|
|
2384
2384
|
}
|
|
2385
|
-
var discriminator = classDiscriminator(deserializer.bo(), this.
|
|
2386
|
-
var tmp0_elvis_lhs = this.
|
|
2385
|
+
var discriminator = classDiscriminator(deserializer.bo(), this.j4r_1);
|
|
2386
|
+
var tmp0_elvis_lhs = this.l4r_1.v4y(discriminator, this.p4r_1.r4s_1);
|
|
2387
2387
|
var tmp_0;
|
|
2388
2388
|
if (tmp0_elvis_lhs == null) {
|
|
2389
2389
|
var tmp2 = isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE();
|
|
@@ -2394,24 +2394,24 @@
|
|
|
2394
2394
|
if (!(tmp2 instanceof AbstractPolymorphicSerializer)) {
|
|
2395
2395
|
tmp_1 = true;
|
|
2396
2396
|
} else {
|
|
2397
|
-
tmp_1 = this.
|
|
2397
|
+
tmp_1 = this.g4t().f4r_1.x4s_1;
|
|
2398
2398
|
}
|
|
2399
2399
|
if (tmp_1) {
|
|
2400
2400
|
tmp$ret$0 = tmp2.do(this);
|
|
2401
2401
|
break $l$block;
|
|
2402
2402
|
}
|
|
2403
|
-
var discriminator_0 = classDiscriminator(tmp2.bo(), this.
|
|
2404
|
-
var tmp0 = this.
|
|
2403
|
+
var discriminator_0 = classDiscriminator(tmp2.bo(), this.g4t());
|
|
2404
|
+
var tmp0 = this.h4t();
|
|
2405
2405
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2406
2406
|
var serialName = tmp2.bo().cp();
|
|
2407
2407
|
if (!(tmp0 instanceof JsonObject)) {
|
|
2408
2408
|
var tmp_2 = getKClass(JsonObject).da();
|
|
2409
2409
|
var tmp_3 = getKClassFromExpression(tmp0).da();
|
|
2410
|
-
var tmp$ret$1 = this.
|
|
2410
|
+
var tmp$ret$1 = this.l4r_1.s4r_1.j4w();
|
|
2411
2411
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
2412
2412
|
}
|
|
2413
2413
|
var jsonTree = tmp0;
|
|
2414
|
-
var tmp0_safe_receiver = jsonTree.
|
|
2414
|
+
var tmp0_safe_receiver = jsonTree.n3b(discriminator_0);
|
|
2415
2415
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
2416
2416
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
2417
2417
|
var tmp_4;
|
|
@@ -2428,7 +2428,7 @@
|
|
|
2428
2428
|
}
|
|
2429
2429
|
var tmp_6 = tmp_4;
|
|
2430
2430
|
var actualSerializer = isInterface(tmp_6, DeserializationStrategy) ? tmp_6 : THROW_CCE();
|
|
2431
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
2431
|
+
tmp$ret$0 = readPolymorphicJson(this.g4t(), discriminator_0, jsonTree, actualSerializer);
|
|
2432
2432
|
}
|
|
2433
2433
|
return tmp$ret$0;
|
|
2434
2434
|
} else {
|
|
@@ -2444,7 +2444,7 @@
|
|
|
2444
2444
|
var it_0 = $p;
|
|
2445
2445
|
var message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2446
2446
|
var hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), '');
|
|
2447
|
-
this.
|
|
2447
|
+
this.l4r_1.w4v(message, VOID, hint);
|
|
2448
2448
|
} else {
|
|
2449
2449
|
throw $p;
|
|
2450
2450
|
}
|
|
@@ -2452,37 +2452,37 @@
|
|
|
2452
2452
|
}
|
|
2453
2453
|
var tmp_9 = tmp_7;
|
|
2454
2454
|
var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE();
|
|
2455
|
-
this.
|
|
2455
|
+
this.o4r_1 = new DiscriminatorHolder(discriminator);
|
|
2456
2456
|
return actualSerializer_0.do(this);
|
|
2457
2457
|
} catch ($p) {
|
|
2458
2458
|
if ($p instanceof MissingFieldException) {
|
|
2459
2459
|
var e = $p;
|
|
2460
2460
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2461
2461
|
throw e;
|
|
2462
|
-
throw new MissingFieldException(e.ip_1, plus(e.message, ' at path: ') + this.
|
|
2462
|
+
throw new MissingFieldException(e.ip_1, plus(e.message, ' at path: ') + this.l4r_1.s4r_1.j4w(), e);
|
|
2463
2463
|
} else {
|
|
2464
2464
|
throw $p;
|
|
2465
2465
|
}
|
|
2466
2466
|
}
|
|
2467
2467
|
};
|
|
2468
2468
|
protoOf(StreamingJsonDecoder).or = function (descriptor) {
|
|
2469
|
-
var newMode = switchMode(this.
|
|
2470
|
-
this.
|
|
2471
|
-
this.
|
|
2469
|
+
var newMode = switchMode(this.j4r_1, descriptor);
|
|
2470
|
+
this.l4r_1.s4r_1.e4w(descriptor);
|
|
2471
|
+
this.l4r_1.n4y(newMode.y4y_1);
|
|
2472
2472
|
checkLeadingComma(this);
|
|
2473
2473
|
var tmp;
|
|
2474
2474
|
switch (newMode.p2_1) {
|
|
2475
2475
|
case 1:
|
|
2476
2476
|
case 2:
|
|
2477
2477
|
case 3:
|
|
2478
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2478
|
+
tmp = new StreamingJsonDecoder(this.j4r_1, newMode, this.l4r_1, descriptor, this.o4r_1);
|
|
2479
2479
|
break;
|
|
2480
2480
|
default:
|
|
2481
2481
|
var tmp_0;
|
|
2482
|
-
if (this.
|
|
2482
|
+
if (this.k4r_1.equals(newMode) && this.j4r_1.f4r_1.u4s_1) {
|
|
2483
2483
|
tmp_0 = this;
|
|
2484
2484
|
} else {
|
|
2485
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2485
|
+
tmp_0 = new StreamingJsonDecoder(this.j4r_1, newMode, this.l4r_1, descriptor, this.o4r_1);
|
|
2486
2486
|
}
|
|
2487
2487
|
|
|
2488
2488
|
tmp = tmp_0;
|
|
@@ -2491,21 +2491,21 @@
|
|
|
2491
2491
|
return tmp;
|
|
2492
2492
|
};
|
|
2493
2493
|
protoOf(StreamingJsonDecoder).pr = function (descriptor) {
|
|
2494
|
-
if (descriptor.xp() === 0 && ignoreUnknownKeys(descriptor, this.
|
|
2494
|
+
if (descriptor.xp() === 0 && ignoreUnknownKeys(descriptor, this.j4r_1)) {
|
|
2495
2495
|
skipLeftoverElements(this, descriptor);
|
|
2496
2496
|
}
|
|
2497
|
-
if (this.
|
|
2498
|
-
invalidTrailingComma(this.
|
|
2497
|
+
if (this.l4r_1.o4y() && !this.j4r_1.f4r_1.d4t_1) {
|
|
2498
|
+
invalidTrailingComma(this.l4r_1, '');
|
|
2499
2499
|
}
|
|
2500
|
-
this.
|
|
2501
|
-
this.
|
|
2500
|
+
this.l4r_1.n4y(this.k4r_1.z4y_1);
|
|
2501
|
+
this.l4r_1.s4r_1.i4w();
|
|
2502
2502
|
};
|
|
2503
2503
|
protoOf(StreamingJsonDecoder).zq = function () {
|
|
2504
2504
|
var tmp;
|
|
2505
|
-
var tmp0_safe_receiver = this.
|
|
2506
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2505
|
+
var tmp0_safe_receiver = this.q4r_1;
|
|
2506
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s4v_1;
|
|
2507
2507
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2508
|
-
tmp = !this.
|
|
2508
|
+
tmp = !this.l4r_1.a4z();
|
|
2509
2509
|
} else {
|
|
2510
2510
|
tmp = false;
|
|
2511
2511
|
}
|
|
@@ -2515,19 +2515,19 @@
|
|
|
2515
2515
|
return null;
|
|
2516
2516
|
};
|
|
2517
2517
|
protoOf(StreamingJsonDecoder).as = function (descriptor, index, deserializer, previousValue) {
|
|
2518
|
-
var isMapKey = this.
|
|
2518
|
+
var isMapKey = this.k4r_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
|
|
2519
2519
|
if (isMapKey) {
|
|
2520
|
-
this.
|
|
2520
|
+
this.l4r_1.s4r_1.h4w();
|
|
2521
2521
|
}
|
|
2522
2522
|
var value = protoOf(AbstractDecoder).as.call(this, descriptor, index, deserializer, previousValue);
|
|
2523
2523
|
if (isMapKey) {
|
|
2524
|
-
this.
|
|
2524
|
+
this.l4r_1.s4r_1.g4w(value);
|
|
2525
2525
|
}
|
|
2526
2526
|
return value;
|
|
2527
2527
|
};
|
|
2528
2528
|
protoOf(StreamingJsonDecoder).fs = function (descriptor) {
|
|
2529
2529
|
var index;
|
|
2530
|
-
switch (this.
|
|
2530
|
+
switch (this.k4r_1.p2_1) {
|
|
2531
2531
|
case 0:
|
|
2532
2532
|
index = decodeObjectIndex(this, descriptor);
|
|
2533
2533
|
break;
|
|
@@ -2538,44 +2538,44 @@
|
|
|
2538
2538
|
index = decodeListIndex(this);
|
|
2539
2539
|
break;
|
|
2540
2540
|
}
|
|
2541
|
-
if (!this.
|
|
2542
|
-
this.
|
|
2541
|
+
if (!this.k4r_1.equals(WriteMode_MAP_getInstance())) {
|
|
2542
|
+
this.l4r_1.s4r_1.f4w(index);
|
|
2543
2543
|
}
|
|
2544
2544
|
return index;
|
|
2545
2545
|
};
|
|
2546
2546
|
protoOf(StreamingJsonDecoder).br = function () {
|
|
2547
|
-
return this.
|
|
2547
|
+
return this.l4r_1.b4z();
|
|
2548
2548
|
};
|
|
2549
2549
|
protoOf(StreamingJsonDecoder).cr = function () {
|
|
2550
|
-
var value = this.
|
|
2550
|
+
var value = this.l4r_1.c4z();
|
|
2551
2551
|
if (!equalsLong(value, fromInt(convertToByte(value)))) {
|
|
2552
|
-
this.
|
|
2552
|
+
this.l4r_1.w4v("Failed to parse byte for input '" + value.toString() + "'");
|
|
2553
2553
|
}
|
|
2554
2554
|
return convertToByte(value);
|
|
2555
2555
|
};
|
|
2556
2556
|
protoOf(StreamingJsonDecoder).dr = function () {
|
|
2557
|
-
var value = this.
|
|
2557
|
+
var value = this.l4r_1.c4z();
|
|
2558
2558
|
if (!equalsLong(value, fromInt(convertToShort(value)))) {
|
|
2559
|
-
this.
|
|
2559
|
+
this.l4r_1.w4v("Failed to parse short for input '" + value.toString() + "'");
|
|
2560
2560
|
}
|
|
2561
2561
|
return convertToShort(value);
|
|
2562
2562
|
};
|
|
2563
2563
|
protoOf(StreamingJsonDecoder).er = function () {
|
|
2564
|
-
var value = this.
|
|
2564
|
+
var value = this.l4r_1.c4z();
|
|
2565
2565
|
if (!equalsLong(value, fromInt(convertToInt(value)))) {
|
|
2566
|
-
this.
|
|
2566
|
+
this.l4r_1.w4v("Failed to parse int for input '" + value.toString() + "'");
|
|
2567
2567
|
}
|
|
2568
2568
|
return convertToInt(value);
|
|
2569
2569
|
};
|
|
2570
2570
|
protoOf(StreamingJsonDecoder).fr = function () {
|
|
2571
|
-
return this.
|
|
2571
|
+
return this.l4r_1.c4z();
|
|
2572
2572
|
};
|
|
2573
2573
|
protoOf(StreamingJsonDecoder).gr = function () {
|
|
2574
|
-
var tmp0 = this.
|
|
2574
|
+
var tmp0 = this.l4r_1;
|
|
2575
2575
|
var tmp$ret$4;
|
|
2576
2576
|
$l$block: {
|
|
2577
2577
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2578
|
-
var input = tmp0.
|
|
2578
|
+
var input = tmp0.e4x();
|
|
2579
2579
|
try {
|
|
2580
2580
|
// Inline function 'kotlin.text.toFloat' call
|
|
2581
2581
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -2585,82 +2585,82 @@
|
|
|
2585
2585
|
} catch ($p) {
|
|
2586
2586
|
if ($p instanceof IllegalArgumentException) {
|
|
2587
2587
|
var e = $p;
|
|
2588
|
-
tmp0.
|
|
2588
|
+
tmp0.w4v("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2589
2589
|
} else {
|
|
2590
2590
|
throw $p;
|
|
2591
2591
|
}
|
|
2592
2592
|
}
|
|
2593
2593
|
}
|
|
2594
2594
|
var result = tmp$ret$4;
|
|
2595
|
-
var specialFp = this.
|
|
2595
|
+
var specialFp = this.j4r_1.f4r_1.z4s_1;
|
|
2596
2596
|
if (specialFp || isFinite(result))
|
|
2597
2597
|
return result;
|
|
2598
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2598
|
+
throwInvalidFloatingPointDecoded(this.l4r_1, result);
|
|
2599
2599
|
};
|
|
2600
2600
|
protoOf(StreamingJsonDecoder).hr = function () {
|
|
2601
|
-
var tmp0 = this.
|
|
2601
|
+
var tmp0 = this.l4r_1;
|
|
2602
2602
|
var tmp$ret$1;
|
|
2603
2603
|
$l$block: {
|
|
2604
2604
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2605
|
-
var input = tmp0.
|
|
2605
|
+
var input = tmp0.e4x();
|
|
2606
2606
|
try {
|
|
2607
2607
|
tmp$ret$1 = toDouble(input);
|
|
2608
2608
|
break $l$block;
|
|
2609
2609
|
} catch ($p) {
|
|
2610
2610
|
if ($p instanceof IllegalArgumentException) {
|
|
2611
2611
|
var e = $p;
|
|
2612
|
-
tmp0.
|
|
2612
|
+
tmp0.w4v("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2613
2613
|
} else {
|
|
2614
2614
|
throw $p;
|
|
2615
2615
|
}
|
|
2616
2616
|
}
|
|
2617
2617
|
}
|
|
2618
2618
|
var result = tmp$ret$1;
|
|
2619
|
-
var specialFp = this.
|
|
2619
|
+
var specialFp = this.j4r_1.f4r_1.z4s_1;
|
|
2620
2620
|
if (specialFp || isFinite_0(result))
|
|
2621
2621
|
return result;
|
|
2622
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2622
|
+
throwInvalidFloatingPointDecoded(this.l4r_1, result);
|
|
2623
2623
|
};
|
|
2624
2624
|
protoOf(StreamingJsonDecoder).ir = function () {
|
|
2625
|
-
var string = this.
|
|
2625
|
+
var string = this.l4r_1.e4x();
|
|
2626
2626
|
if (!(string.length === 1)) {
|
|
2627
|
-
this.
|
|
2627
|
+
this.l4r_1.w4v("Expected single char, but got '" + string + "'");
|
|
2628
2628
|
}
|
|
2629
2629
|
return charCodeAt(string, 0);
|
|
2630
2630
|
};
|
|
2631
2631
|
protoOf(StreamingJsonDecoder).jr = function () {
|
|
2632
2632
|
var tmp;
|
|
2633
|
-
if (this.
|
|
2634
|
-
tmp = this.
|
|
2633
|
+
if (this.p4r_1.r4s_1) {
|
|
2634
|
+
tmp = this.l4r_1.u4y();
|
|
2635
2635
|
} else {
|
|
2636
|
-
tmp = this.
|
|
2636
|
+
tmp = this.l4r_1.d4x();
|
|
2637
2637
|
}
|
|
2638
2638
|
return tmp;
|
|
2639
2639
|
};
|
|
2640
2640
|
protoOf(StreamingJsonDecoder).lr = function (descriptor) {
|
|
2641
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2641
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.l4r_1, this.j4r_1) : protoOf(AbstractDecoder).lr.call(this, descriptor);
|
|
2642
2642
|
};
|
|
2643
2643
|
protoOf(StreamingJsonDecoder).kr = function (enumDescriptor) {
|
|
2644
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2644
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.j4r_1, this.jr(), ' at path ' + this.l4r_1.s4r_1.j4w());
|
|
2645
2645
|
};
|
|
2646
2646
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2647
2647
|
AbstractDecoder.call(this);
|
|
2648
|
-
this.
|
|
2649
|
-
this.
|
|
2648
|
+
this.d4z_1 = lexer;
|
|
2649
|
+
this.e4z_1 = json.ds();
|
|
2650
2650
|
}
|
|
2651
2651
|
protoOf(JsonDecoderForUnsignedTypes).ds = function () {
|
|
2652
|
-
return this.
|
|
2652
|
+
return this.e4z_1;
|
|
2653
2653
|
};
|
|
2654
2654
|
protoOf(JsonDecoderForUnsignedTypes).fs = function (descriptor) {
|
|
2655
2655
|
var message = 'unsupported';
|
|
2656
2656
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2657
2657
|
};
|
|
2658
2658
|
protoOf(JsonDecoderForUnsignedTypes).er = function () {
|
|
2659
|
-
var tmp0 = this.
|
|
2659
|
+
var tmp0 = this.d4z_1;
|
|
2660
2660
|
var tmp$ret$2;
|
|
2661
2661
|
$l$block: {
|
|
2662
2662
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2663
|
-
var input = tmp0.
|
|
2663
|
+
var input = tmp0.e4x();
|
|
2664
2664
|
try {
|
|
2665
2665
|
// Inline function 'kotlin.UInt.toInt' call
|
|
2666
2666
|
var this_0 = toUInt(input);
|
|
@@ -2669,7 +2669,7 @@
|
|
|
2669
2669
|
} catch ($p) {
|
|
2670
2670
|
if ($p instanceof IllegalArgumentException) {
|
|
2671
2671
|
var e = $p;
|
|
2672
|
-
tmp0.
|
|
2672
|
+
tmp0.w4v("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2673
2673
|
} else {
|
|
2674
2674
|
throw $p;
|
|
2675
2675
|
}
|
|
@@ -2678,11 +2678,11 @@
|
|
|
2678
2678
|
return tmp$ret$2;
|
|
2679
2679
|
};
|
|
2680
2680
|
protoOf(JsonDecoderForUnsignedTypes).fr = function () {
|
|
2681
|
-
var tmp0 = this.
|
|
2681
|
+
var tmp0 = this.d4z_1;
|
|
2682
2682
|
var tmp$ret$2;
|
|
2683
2683
|
$l$block: {
|
|
2684
2684
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2685
|
-
var input = tmp0.
|
|
2685
|
+
var input = tmp0.e4x();
|
|
2686
2686
|
try {
|
|
2687
2687
|
// Inline function 'kotlin.ULong.toLong' call
|
|
2688
2688
|
var this_0 = toULong(input);
|
|
@@ -2691,7 +2691,7 @@
|
|
|
2691
2691
|
} catch ($p) {
|
|
2692
2692
|
if ($p instanceof IllegalArgumentException) {
|
|
2693
2693
|
var e = $p;
|
|
2694
|
-
tmp0.
|
|
2694
|
+
tmp0.w4v("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2695
2695
|
} else {
|
|
2696
2696
|
throw $p;
|
|
2697
2697
|
}
|
|
@@ -2700,11 +2700,11 @@
|
|
|
2700
2700
|
return tmp$ret$2;
|
|
2701
2701
|
};
|
|
2702
2702
|
protoOf(JsonDecoderForUnsignedTypes).cr = function () {
|
|
2703
|
-
var tmp0 = this.
|
|
2703
|
+
var tmp0 = this.d4z_1;
|
|
2704
2704
|
var tmp$ret$2;
|
|
2705
2705
|
$l$block: {
|
|
2706
2706
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2707
|
-
var input = tmp0.
|
|
2707
|
+
var input = tmp0.e4x();
|
|
2708
2708
|
try {
|
|
2709
2709
|
// Inline function 'kotlin.UByte.toByte' call
|
|
2710
2710
|
var this_0 = toUByte(input);
|
|
@@ -2713,7 +2713,7 @@
|
|
|
2713
2713
|
} catch ($p) {
|
|
2714
2714
|
if ($p instanceof IllegalArgumentException) {
|
|
2715
2715
|
var e = $p;
|
|
2716
|
-
tmp0.
|
|
2716
|
+
tmp0.w4v("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2717
2717
|
} else {
|
|
2718
2718
|
throw $p;
|
|
2719
2719
|
}
|
|
@@ -2722,11 +2722,11 @@
|
|
|
2722
2722
|
return tmp$ret$2;
|
|
2723
2723
|
};
|
|
2724
2724
|
protoOf(JsonDecoderForUnsignedTypes).dr = function () {
|
|
2725
|
-
var tmp0 = this.
|
|
2725
|
+
var tmp0 = this.d4z_1;
|
|
2726
2726
|
var tmp$ret$2;
|
|
2727
2727
|
$l$block: {
|
|
2728
2728
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2729
|
-
var input = tmp0.
|
|
2729
|
+
var input = tmp0.e4x();
|
|
2730
2730
|
try {
|
|
2731
2731
|
// Inline function 'kotlin.UShort.toShort' call
|
|
2732
2732
|
var this_0 = toUShort(input);
|
|
@@ -2735,7 +2735,7 @@
|
|
|
2735
2735
|
} catch ($p) {
|
|
2736
2736
|
if ($p instanceof IllegalArgumentException) {
|
|
2737
2737
|
var e = $p;
|
|
2738
|
-
tmp0.
|
|
2738
|
+
tmp0.w4v("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2739
2739
|
} else {
|
|
2740
2740
|
throw $p;
|
|
2741
2741
|
}
|
|
@@ -2756,53 +2756,53 @@
|
|
|
2756
2756
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2757
2757
|
}
|
|
2758
2758
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
2759
|
-
$this.
|
|
2759
|
+
$this.n4w_1.q4u();
|
|
2760
2760
|
$this.ss(discriminator);
|
|
2761
|
-
$this.
|
|
2762
|
-
$this.
|
|
2761
|
+
$this.n4w_1.t4u(_Char___init__impl__6a9atx(58));
|
|
2762
|
+
$this.n4w_1.s4u();
|
|
2763
2763
|
$this.ss(serialName);
|
|
2764
2764
|
}
|
|
2765
2765
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2766
2766
|
AbstractEncoder.call(this);
|
|
2767
|
-
this.
|
|
2768
|
-
this.
|
|
2769
|
-
this.
|
|
2770
|
-
this.
|
|
2771
|
-
this.
|
|
2772
|
-
this.
|
|
2773
|
-
this.
|
|
2774
|
-
this.
|
|
2775
|
-
this.
|
|
2776
|
-
var i = this.
|
|
2777
|
-
if (!(this.
|
|
2778
|
-
if (!(this.
|
|
2779
|
-
this.
|
|
2767
|
+
this.n4w_1 = composer;
|
|
2768
|
+
this.o4w_1 = json;
|
|
2769
|
+
this.p4w_1 = mode;
|
|
2770
|
+
this.q4w_1 = modeReuseCache;
|
|
2771
|
+
this.r4w_1 = this.o4w_1.ds();
|
|
2772
|
+
this.s4w_1 = this.o4w_1.f4r_1;
|
|
2773
|
+
this.t4w_1 = false;
|
|
2774
|
+
this.u4w_1 = null;
|
|
2775
|
+
this.v4w_1 = null;
|
|
2776
|
+
var i = this.p4w_1.p2_1;
|
|
2777
|
+
if (!(this.q4w_1 == null)) {
|
|
2778
|
+
if (!(this.q4w_1[i] === null) || !(this.q4w_1[i] === this)) {
|
|
2779
|
+
this.q4w_1[i] = this;
|
|
2780
2780
|
}
|
|
2781
2781
|
}
|
|
2782
2782
|
}
|
|
2783
|
-
protoOf(StreamingJsonEncoder).
|
|
2784
|
-
return this.
|
|
2783
|
+
protoOf(StreamingJsonEncoder).g4t = function () {
|
|
2784
|
+
return this.o4w_1;
|
|
2785
2785
|
};
|
|
2786
2786
|
protoOf(StreamingJsonEncoder).ds = function () {
|
|
2787
|
-
return this.
|
|
2787
|
+
return this.r4w_1;
|
|
2788
2788
|
};
|
|
2789
2789
|
protoOf(StreamingJsonEncoder).lt = function (descriptor, index) {
|
|
2790
|
-
return this.
|
|
2790
|
+
return this.s4w_1.p4s_1;
|
|
2791
2791
|
};
|
|
2792
2792
|
protoOf(StreamingJsonEncoder).gt = function (serializer, value) {
|
|
2793
2793
|
$l$block: {
|
|
2794
2794
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
2795
|
-
if (this.
|
|
2795
|
+
if (this.g4t().f4r_1.x4s_1) {
|
|
2796
2796
|
serializer.co(this, value);
|
|
2797
2797
|
break $l$block;
|
|
2798
2798
|
}
|
|
2799
2799
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
2800
2800
|
var tmp;
|
|
2801
2801
|
if (isPolymorphicSerializer) {
|
|
2802
|
-
tmp = !this.
|
|
2802
|
+
tmp = !this.g4t().f4r_1.f4t_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
2803
2803
|
} else {
|
|
2804
2804
|
var tmp_0;
|
|
2805
|
-
switch (this.
|
|
2805
|
+
switch (this.g4t().f4r_1.f4t_1.p2_1) {
|
|
2806
2806
|
case 0:
|
|
2807
2807
|
case 2:
|
|
2808
2808
|
tmp_0 = false;
|
|
@@ -2820,7 +2820,7 @@
|
|
|
2820
2820
|
tmp = tmp_0;
|
|
2821
2821
|
}
|
|
2822
2822
|
var needDiscriminator = tmp;
|
|
2823
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.bo(), this.
|
|
2823
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.bo(), this.g4t()) : null;
|
|
2824
2824
|
var tmp_1;
|
|
2825
2825
|
if (isPolymorphicSerializer) {
|
|
2826
2826
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -2845,93 +2845,93 @@
|
|
|
2845
2845
|
var actualSerializer = tmp_1;
|
|
2846
2846
|
if (!(baseClassDiscriminator == null)) {
|
|
2847
2847
|
var serialName = actualSerializer.bo().cp();
|
|
2848
|
-
this.
|
|
2849
|
-
this.
|
|
2848
|
+
this.u4w_1 = baseClassDiscriminator;
|
|
2849
|
+
this.v4w_1 = serialName;
|
|
2850
2850
|
}
|
|
2851
2851
|
actualSerializer.co(this, value);
|
|
2852
2852
|
}
|
|
2853
2853
|
};
|
|
2854
2854
|
protoOf(StreamingJsonEncoder).or = function (descriptor) {
|
|
2855
|
-
var newMode = switchMode(this.
|
|
2856
|
-
if (!(newMode.
|
|
2857
|
-
this.
|
|
2858
|
-
this.
|
|
2855
|
+
var newMode = switchMode(this.o4w_1, descriptor);
|
|
2856
|
+
if (!(newMode.y4y_1 === _Char___init__impl__6a9atx(0))) {
|
|
2857
|
+
this.n4w_1.t4u(newMode.y4y_1);
|
|
2858
|
+
this.n4w_1.o4u();
|
|
2859
2859
|
}
|
|
2860
|
-
var discriminator = this.
|
|
2860
|
+
var discriminator = this.u4w_1;
|
|
2861
2861
|
if (!(discriminator == null)) {
|
|
2862
|
-
var tmp0_elvis_lhs = this.
|
|
2862
|
+
var tmp0_elvis_lhs = this.v4w_1;
|
|
2863
2863
|
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.cp() : tmp0_elvis_lhs);
|
|
2864
|
-
this.
|
|
2865
|
-
this.
|
|
2864
|
+
this.u4w_1 = null;
|
|
2865
|
+
this.v4w_1 = null;
|
|
2866
2866
|
}
|
|
2867
|
-
if (this.
|
|
2867
|
+
if (this.p4w_1.equals(newMode)) {
|
|
2868
2868
|
return this;
|
|
2869
2869
|
}
|
|
2870
|
-
var tmp1_safe_receiver = this.
|
|
2870
|
+
var tmp1_safe_receiver = this.q4w_1;
|
|
2871
2871
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.p2_1];
|
|
2872
|
-
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2872
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.n4w_1, this.o4w_1, newMode, this.q4w_1) : tmp2_elvis_lhs;
|
|
2873
2873
|
};
|
|
2874
2874
|
protoOf(StreamingJsonEncoder).pr = function (descriptor) {
|
|
2875
|
-
if (!(this.
|
|
2876
|
-
this.
|
|
2877
|
-
this.
|
|
2878
|
-
this.
|
|
2875
|
+
if (!(this.p4w_1.z4y_1 === _Char___init__impl__6a9atx(0))) {
|
|
2876
|
+
this.n4w_1.p4u();
|
|
2877
|
+
this.n4w_1.r4u();
|
|
2878
|
+
this.n4w_1.t4u(this.p4w_1.z4y_1);
|
|
2879
2879
|
}
|
|
2880
2880
|
};
|
|
2881
2881
|
protoOf(StreamingJsonEncoder).hs = function (descriptor, index) {
|
|
2882
|
-
switch (this.
|
|
2882
|
+
switch (this.p4w_1.p2_1) {
|
|
2883
2883
|
case 1:
|
|
2884
|
-
if (!this.
|
|
2885
|
-
this.
|
|
2884
|
+
if (!this.n4w_1.n4u_1) {
|
|
2885
|
+
this.n4w_1.t4u(_Char___init__impl__6a9atx(44));
|
|
2886
2886
|
}
|
|
2887
2887
|
|
|
2888
|
-
this.
|
|
2888
|
+
this.n4w_1.q4u();
|
|
2889
2889
|
break;
|
|
2890
2890
|
case 2:
|
|
2891
|
-
if (!this.
|
|
2891
|
+
if (!this.n4w_1.n4u_1) {
|
|
2892
2892
|
var tmp = this;
|
|
2893
2893
|
var tmp_0;
|
|
2894
2894
|
if ((index % 2 | 0) === 0) {
|
|
2895
|
-
this.
|
|
2896
|
-
this.
|
|
2895
|
+
this.n4w_1.t4u(_Char___init__impl__6a9atx(44));
|
|
2896
|
+
this.n4w_1.q4u();
|
|
2897
2897
|
tmp_0 = true;
|
|
2898
2898
|
} else {
|
|
2899
|
-
this.
|
|
2900
|
-
this.
|
|
2899
|
+
this.n4w_1.t4u(_Char___init__impl__6a9atx(58));
|
|
2900
|
+
this.n4w_1.s4u();
|
|
2901
2901
|
tmp_0 = false;
|
|
2902
2902
|
}
|
|
2903
|
-
tmp.
|
|
2903
|
+
tmp.t4w_1 = tmp_0;
|
|
2904
2904
|
} else {
|
|
2905
|
-
this.
|
|
2906
|
-
this.
|
|
2905
|
+
this.t4w_1 = true;
|
|
2906
|
+
this.n4w_1.q4u();
|
|
2907
2907
|
}
|
|
2908
2908
|
|
|
2909
2909
|
break;
|
|
2910
2910
|
case 3:
|
|
2911
2911
|
if (index === 0)
|
|
2912
|
-
this.
|
|
2912
|
+
this.t4w_1 = true;
|
|
2913
2913
|
if (index === 1) {
|
|
2914
|
-
this.
|
|
2915
|
-
this.
|
|
2916
|
-
this.
|
|
2914
|
+
this.n4w_1.t4u(_Char___init__impl__6a9atx(44));
|
|
2915
|
+
this.n4w_1.s4u();
|
|
2916
|
+
this.t4w_1 = false;
|
|
2917
2917
|
}
|
|
2918
2918
|
|
|
2919
2919
|
break;
|
|
2920
2920
|
default:
|
|
2921
|
-
if (!this.
|
|
2922
|
-
this.
|
|
2921
|
+
if (!this.n4w_1.n4u_1) {
|
|
2922
|
+
this.n4w_1.t4u(_Char___init__impl__6a9atx(44));
|
|
2923
2923
|
}
|
|
2924
2924
|
|
|
2925
|
-
this.
|
|
2926
|
-
this.ss(getJsonElementName(descriptor, this.
|
|
2927
|
-
this.
|
|
2928
|
-
this.
|
|
2925
|
+
this.n4w_1.q4u();
|
|
2926
|
+
this.ss(getJsonElementName(descriptor, this.o4w_1, index));
|
|
2927
|
+
this.n4w_1.t4u(_Char___init__impl__6a9atx(58));
|
|
2928
|
+
this.n4w_1.s4u();
|
|
2929
2929
|
break;
|
|
2930
2930
|
}
|
|
2931
2931
|
return true;
|
|
2932
2932
|
};
|
|
2933
2933
|
protoOf(StreamingJsonEncoder).ht = function (descriptor, index, serializer, value) {
|
|
2934
|
-
if (!(value == null) || this.
|
|
2934
|
+
if (!(value == null) || this.s4w_1.u4s_1) {
|
|
2935
2935
|
protoOf(AbstractEncoder).ht.call(this, descriptor, index, serializer, value);
|
|
2936
2936
|
}
|
|
2937
2937
|
};
|
|
@@ -2940,32 +2940,32 @@
|
|
|
2940
2940
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2941
2941
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2942
2942
|
var tmp_0;
|
|
2943
|
-
var tmp_1 = this.
|
|
2943
|
+
var tmp_1 = this.n4w_1;
|
|
2944
2944
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
2945
|
-
tmp_0 = this.
|
|
2945
|
+
tmp_0 = this.n4w_1;
|
|
2946
2946
|
} else {
|
|
2947
|
-
var tmp0 = this.
|
|
2948
|
-
var p1 = this.
|
|
2947
|
+
var tmp0 = this.n4w_1.m4u_1;
|
|
2948
|
+
var p1 = this.t4w_1;
|
|
2949
2949
|
tmp_0 = new ComposerForUnsignedNumbers(tmp0, p1);
|
|
2950
2950
|
}
|
|
2951
2951
|
var tmp$ret$1 = tmp_0;
|
|
2952
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
2952
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.o4w_1, this.p4w_1, null);
|
|
2953
2953
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
2954
2954
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2955
2955
|
var tmp_2;
|
|
2956
|
-
var tmp_3 = this.
|
|
2956
|
+
var tmp_3 = this.n4w_1;
|
|
2957
2957
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
2958
|
-
tmp_2 = this.
|
|
2958
|
+
tmp_2 = this.n4w_1;
|
|
2959
2959
|
} else {
|
|
2960
|
-
var tmp0_0 = this.
|
|
2961
|
-
var p1_0 = this.
|
|
2960
|
+
var tmp0_0 = this.n4w_1.m4u_1;
|
|
2961
|
+
var p1_0 = this.t4w_1;
|
|
2962
2962
|
tmp_2 = new ComposerForUnquotedLiterals(tmp0_0, p1_0);
|
|
2963
2963
|
}
|
|
2964
2964
|
var tmp$ret$3 = tmp_2;
|
|
2965
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
2966
|
-
} else if (!(this.
|
|
2965
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.o4w_1, this.p4w_1, null);
|
|
2966
|
+
} else if (!(this.u4w_1 == null)) {
|
|
2967
2967
|
// Inline function 'kotlin.apply' call
|
|
2968
|
-
this.
|
|
2968
|
+
this.v4w_1 = descriptor.cp();
|
|
2969
2969
|
tmp = this;
|
|
2970
2970
|
} else {
|
|
2971
2971
|
tmp = protoOf(AbstractEncoder).us.call(this, descriptor);
|
|
@@ -2973,68 +2973,68 @@
|
|
|
2973
2973
|
return tmp;
|
|
2974
2974
|
};
|
|
2975
2975
|
protoOf(StreamingJsonEncoder).js = function () {
|
|
2976
|
-
this.
|
|
2976
|
+
this.n4w_1.v4u('null');
|
|
2977
2977
|
};
|
|
2978
2978
|
protoOf(StreamingJsonEncoder).ks = function (value) {
|
|
2979
|
-
if (this.
|
|
2979
|
+
if (this.t4w_1) {
|
|
2980
2980
|
this.ss(value.toString());
|
|
2981
2981
|
} else {
|
|
2982
|
-
this.
|
|
2982
|
+
this.n4w_1.e4v(value);
|
|
2983
2983
|
}
|
|
2984
2984
|
};
|
|
2985
2985
|
protoOf(StreamingJsonEncoder).ls = function (value) {
|
|
2986
|
-
if (this.
|
|
2986
|
+
if (this.t4w_1) {
|
|
2987
2987
|
this.ss(value.toString());
|
|
2988
2988
|
} else {
|
|
2989
|
-
this.
|
|
2989
|
+
this.n4w_1.z4u(value);
|
|
2990
2990
|
}
|
|
2991
2991
|
};
|
|
2992
2992
|
protoOf(StreamingJsonEncoder).ms = function (value) {
|
|
2993
|
-
if (this.
|
|
2993
|
+
if (this.t4w_1) {
|
|
2994
2994
|
this.ss(value.toString());
|
|
2995
2995
|
} else {
|
|
2996
|
-
this.
|
|
2996
|
+
this.n4w_1.b4v(value);
|
|
2997
2997
|
}
|
|
2998
2998
|
};
|
|
2999
2999
|
protoOf(StreamingJsonEncoder).ns = function (value) {
|
|
3000
|
-
if (this.
|
|
3000
|
+
if (this.t4w_1) {
|
|
3001
3001
|
this.ss(value.toString());
|
|
3002
3002
|
} else {
|
|
3003
|
-
this.
|
|
3003
|
+
this.n4w_1.c4v(value);
|
|
3004
3004
|
}
|
|
3005
3005
|
};
|
|
3006
3006
|
protoOf(StreamingJsonEncoder).os = function (value) {
|
|
3007
|
-
if (this.
|
|
3007
|
+
if (this.t4w_1) {
|
|
3008
3008
|
this.ss(value.toString());
|
|
3009
3009
|
} else {
|
|
3010
|
-
this.
|
|
3010
|
+
this.n4w_1.d4v(value);
|
|
3011
3011
|
}
|
|
3012
3012
|
};
|
|
3013
3013
|
protoOf(StreamingJsonEncoder).ps = function (value) {
|
|
3014
|
-
if (this.
|
|
3014
|
+
if (this.t4w_1) {
|
|
3015
3015
|
this.ss(value.toString());
|
|
3016
3016
|
} else {
|
|
3017
|
-
this.
|
|
3017
|
+
this.n4w_1.x4u(value);
|
|
3018
3018
|
}
|
|
3019
|
-
if (!this.
|
|
3020
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3019
|
+
if (!this.s4w_1.z4s_1 && !isFinite(value)) {
|
|
3020
|
+
throw InvalidFloatingPointEncoded(value, toString(this.n4w_1.m4u_1));
|
|
3021
3021
|
}
|
|
3022
3022
|
};
|
|
3023
3023
|
protoOf(StreamingJsonEncoder).qs = function (value) {
|
|
3024
|
-
if (this.
|
|
3024
|
+
if (this.t4w_1) {
|
|
3025
3025
|
this.ss(value.toString());
|
|
3026
3026
|
} else {
|
|
3027
|
-
this.
|
|
3027
|
+
this.n4w_1.y4u(value);
|
|
3028
3028
|
}
|
|
3029
|
-
if (!this.
|
|
3030
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3029
|
+
if (!this.s4w_1.z4s_1 && !isFinite_0(value)) {
|
|
3030
|
+
throw InvalidFloatingPointEncoded(value, toString(this.n4w_1.m4u_1));
|
|
3031
3031
|
}
|
|
3032
3032
|
};
|
|
3033
3033
|
protoOf(StreamingJsonEncoder).rs = function (value) {
|
|
3034
3034
|
this.ss(toString_1(value));
|
|
3035
3035
|
};
|
|
3036
3036
|
protoOf(StreamingJsonEncoder).ss = function (value) {
|
|
3037
|
-
return this.
|
|
3037
|
+
return this.n4w_1.f4v(value);
|
|
3038
3038
|
};
|
|
3039
3039
|
protoOf(StreamingJsonEncoder).ts = function (enumDescriptor, index) {
|
|
3040
3040
|
this.ss(enumDescriptor.zp(index));
|
|
@@ -3208,42 +3208,42 @@
|
|
|
3208
3208
|
}
|
|
3209
3209
|
function unparsedPrimitive($this, literal, primitive, tag) {
|
|
3210
3210
|
var type = startsWith(primitive, 'i') ? 'an ' + primitive : 'a ' + primitive;
|
|
3211
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.
|
|
3211
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.l4z(tag), toString($this.m4z()));
|
|
3212
3212
|
}
|
|
3213
3213
|
function AbstractJsonTreeDecoder(json, value, polymorphicDiscriminator) {
|
|
3214
3214
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3215
3215
|
NamedValueDecoder.call(this);
|
|
3216
|
-
this.
|
|
3217
|
-
this.
|
|
3218
|
-
this.
|
|
3219
|
-
this.
|
|
3216
|
+
this.h4z_1 = json;
|
|
3217
|
+
this.i4z_1 = value;
|
|
3218
|
+
this.j4z_1 = polymorphicDiscriminator;
|
|
3219
|
+
this.k4z_1 = this.g4t().f4r_1;
|
|
3220
3220
|
}
|
|
3221
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3222
|
-
return this.
|
|
3221
|
+
protoOf(AbstractJsonTreeDecoder).g4t = function () {
|
|
3222
|
+
return this.h4z_1;
|
|
3223
3223
|
};
|
|
3224
3224
|
protoOf(AbstractJsonTreeDecoder).w = function () {
|
|
3225
|
-
return this.
|
|
3225
|
+
return this.i4z_1;
|
|
3226
3226
|
};
|
|
3227
3227
|
protoOf(AbstractJsonTreeDecoder).ds = function () {
|
|
3228
|
-
return this.
|
|
3228
|
+
return this.g4t().ds();
|
|
3229
3229
|
};
|
|
3230
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3230
|
+
protoOf(AbstractJsonTreeDecoder).m4z = function () {
|
|
3231
3231
|
var tmp0_safe_receiver = this.y15();
|
|
3232
3232
|
var tmp;
|
|
3233
3233
|
if (tmp0_safe_receiver == null) {
|
|
3234
3234
|
tmp = null;
|
|
3235
3235
|
} else {
|
|
3236
3236
|
// Inline function 'kotlin.let' call
|
|
3237
|
-
tmp = this.
|
|
3237
|
+
tmp = this.n4z(tmp0_safe_receiver);
|
|
3238
3238
|
}
|
|
3239
3239
|
var tmp1_elvis_lhs = tmp;
|
|
3240
3240
|
return tmp1_elvis_lhs == null ? this.w() : tmp1_elvis_lhs;
|
|
3241
3241
|
};
|
|
3242
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3242
|
+
protoOf(AbstractJsonTreeDecoder).l4z = function (currentTag) {
|
|
3243
3243
|
return this.a16() + ('.' + currentTag);
|
|
3244
3244
|
};
|
|
3245
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3246
|
-
return this.
|
|
3245
|
+
protoOf(AbstractJsonTreeDecoder).h4t = function () {
|
|
3246
|
+
return this.m4z();
|
|
3247
3247
|
};
|
|
3248
3248
|
protoOf(AbstractJsonTreeDecoder).nr = function (deserializer) {
|
|
3249
3249
|
var tmp$ret$0;
|
|
@@ -3253,14 +3253,14 @@
|
|
|
3253
3253
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
3254
3254
|
tmp = true;
|
|
3255
3255
|
} else {
|
|
3256
|
-
tmp = this.
|
|
3256
|
+
tmp = this.g4t().f4r_1.x4s_1;
|
|
3257
3257
|
}
|
|
3258
3258
|
if (tmp) {
|
|
3259
3259
|
tmp$ret$0 = deserializer.do(this);
|
|
3260
3260
|
break $l$block;
|
|
3261
3261
|
}
|
|
3262
|
-
var discriminator = classDiscriminator(deserializer.bo(), this.
|
|
3263
|
-
var tmp0 = this.
|
|
3262
|
+
var discriminator = classDiscriminator(deserializer.bo(), this.g4t());
|
|
3263
|
+
var tmp0 = this.h4t();
|
|
3264
3264
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3265
3265
|
var serialName = deserializer.bo().cp();
|
|
3266
3266
|
if (!(tmp0 instanceof JsonObject)) {
|
|
@@ -3270,7 +3270,7 @@
|
|
|
3270
3270
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
3271
3271
|
}
|
|
3272
3272
|
var jsonTree = tmp0;
|
|
3273
|
-
var tmp0_safe_receiver = jsonTree.
|
|
3273
|
+
var tmp0_safe_receiver = jsonTree.n3b(discriminator);
|
|
3274
3274
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
3275
3275
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
3276
3276
|
var tmp_2;
|
|
@@ -3287,7 +3287,7 @@
|
|
|
3287
3287
|
}
|
|
3288
3288
|
var tmp_4 = tmp_2;
|
|
3289
3289
|
var actualSerializer = isInterface(tmp_4, DeserializationStrategy) ? tmp_4 : THROW_CCE();
|
|
3290
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
3290
|
+
tmp$ret$0 = readPolymorphicJson(this.g4t(), discriminator, jsonTree, actualSerializer);
|
|
3291
3291
|
}
|
|
3292
3292
|
return tmp$ret$0;
|
|
3293
3293
|
};
|
|
@@ -3295,7 +3295,7 @@
|
|
|
3295
3295
|
return childName;
|
|
3296
3296
|
};
|
|
3297
3297
|
protoOf(AbstractJsonTreeDecoder).or = function (descriptor) {
|
|
3298
|
-
var currentObject = this.
|
|
3298
|
+
var currentObject = this.m4z();
|
|
3299
3299
|
var tmp0_subject = descriptor.vp();
|
|
3300
3300
|
var tmp;
|
|
3301
3301
|
var tmp_0;
|
|
@@ -3305,7 +3305,7 @@
|
|
|
3305
3305
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3306
3306
|
}
|
|
3307
3307
|
if (tmp_0) {
|
|
3308
|
-
var tmp_1 = this.
|
|
3308
|
+
var tmp_1 = this.g4t();
|
|
3309
3309
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3310
3310
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3311
3311
|
var serialName = descriptor.cp();
|
|
@@ -3319,7 +3319,7 @@
|
|
|
3319
3319
|
} else {
|
|
3320
3320
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3321
3321
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3322
|
-
var this_0 = this.
|
|
3322
|
+
var this_0 = this.g4t();
|
|
3323
3323
|
var keyDescriptor = carrierDescriptor(descriptor.cq(0), this_0.ds());
|
|
3324
3324
|
var keyKind = keyDescriptor.vp();
|
|
3325
3325
|
var tmp_4;
|
|
@@ -3330,7 +3330,7 @@
|
|
|
3330
3330
|
tmp_5 = equals(keyKind, ENUM_getInstance());
|
|
3331
3331
|
}
|
|
3332
3332
|
if (tmp_5) {
|
|
3333
|
-
var tmp_6 = this.
|
|
3333
|
+
var tmp_6 = this.g4t();
|
|
3334
3334
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3335
3335
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3336
3336
|
var serialName_0 = descriptor.cp();
|
|
@@ -3342,8 +3342,8 @@
|
|
|
3342
3342
|
}
|
|
3343
3343
|
tmp_4 = new JsonTreeMapDecoder(tmp_6, currentObject);
|
|
3344
3344
|
} else {
|
|
3345
|
-
if (this_0.
|
|
3346
|
-
var tmp_9 = this.
|
|
3345
|
+
if (this_0.f4r_1.s4s_1) {
|
|
3346
|
+
var tmp_9 = this.g4t();
|
|
3347
3347
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3348
3348
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3349
3349
|
var serialName_1 = descriptor.cp();
|
|
@@ -3360,7 +3360,7 @@
|
|
|
3360
3360
|
}
|
|
3361
3361
|
tmp = tmp_4;
|
|
3362
3362
|
} else {
|
|
3363
|
-
var tmp_12 = this.
|
|
3363
|
+
var tmp_12 = this.g4t();
|
|
3364
3364
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3365
3365
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3366
3366
|
var serialName_2 = descriptor.cp();
|
|
@@ -3370,7 +3370,7 @@
|
|
|
3370
3370
|
var tmp$ret$12 = this.a16();
|
|
3371
3371
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_13 + ', but had ' + tmp_14 + ' as the serialized body of ' + serialName_2 + ' at element: ' + tmp$ret$12, toString(currentObject));
|
|
3372
3372
|
}
|
|
3373
|
-
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.
|
|
3373
|
+
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.j4z_1);
|
|
3374
3374
|
}
|
|
3375
3375
|
}
|
|
3376
3376
|
return tmp;
|
|
@@ -3378,44 +3378,44 @@
|
|
|
3378
3378
|
protoOf(AbstractJsonTreeDecoder).pr = function (descriptor) {
|
|
3379
3379
|
};
|
|
3380
3380
|
protoOf(AbstractJsonTreeDecoder).zq = function () {
|
|
3381
|
-
var tmp = this.
|
|
3381
|
+
var tmp = this.m4z();
|
|
3382
3382
|
return !(tmp instanceof JsonNull);
|
|
3383
3383
|
};
|
|
3384
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3385
|
-
var tmp = this.
|
|
3384
|
+
protoOf(AbstractJsonTreeDecoder).o4z = function (tag, enumDescriptor) {
|
|
3385
|
+
var tmp = this.g4t();
|
|
3386
3386
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3387
|
-
var tmp2 = this.
|
|
3387
|
+
var tmp2 = this.n4z(tag);
|
|
3388
3388
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3389
3389
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3390
3390
|
var serialName = enumDescriptor.cp();
|
|
3391
3391
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3392
3392
|
var tmp_0 = getKClass(JsonPrimitive).da();
|
|
3393
3393
|
var tmp_1 = getKClassFromExpression(tmp2).da();
|
|
3394
|
-
var tmp$ret$0 = this.
|
|
3394
|
+
var tmp$ret$0 = this.l4z(tag);
|
|
3395
3395
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3396
3396
|
}
|
|
3397
|
-
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.
|
|
3397
|
+
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.y3x());
|
|
3398
3398
|
};
|
|
3399
3399
|
protoOf(AbstractJsonTreeDecoder).m16 = function (tag, enumDescriptor) {
|
|
3400
|
-
return this.
|
|
3400
|
+
return this.o4z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3401
3401
|
};
|
|
3402
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3403
|
-
return !(this.
|
|
3402
|
+
protoOf(AbstractJsonTreeDecoder).p4z = function (tag) {
|
|
3403
|
+
return !(this.n4z(tag) === JsonNull_getInstance());
|
|
3404
3404
|
};
|
|
3405
3405
|
protoOf(AbstractJsonTreeDecoder).c16 = function (tag) {
|
|
3406
|
-
return this.
|
|
3406
|
+
return this.p4z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3407
3407
|
};
|
|
3408
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3408
|
+
protoOf(AbstractJsonTreeDecoder).q4z = function (tag) {
|
|
3409
3409
|
var tmp$ret$4;
|
|
3410
3410
|
$l$block: {
|
|
3411
3411
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3412
3412
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3413
3413
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3414
|
-
var value = this.
|
|
3414
|
+
var value = this.n4z(tag);
|
|
3415
3415
|
if (!(value instanceof JsonPrimitive)) {
|
|
3416
3416
|
var tmp = getKClass(JsonPrimitive).da();
|
|
3417
3417
|
var tmp_0 = getKClassFromExpression(value).da();
|
|
3418
|
-
var tmp$ret$0 = this.
|
|
3418
|
+
var tmp$ret$0 = this.l4z(tag);
|
|
3419
3419
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'boolean' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3420
3420
|
}
|
|
3421
3421
|
var literal = value;
|
|
@@ -3441,19 +3441,19 @@
|
|
|
3441
3441
|
return tmp$ret$4;
|
|
3442
3442
|
};
|
|
3443
3443
|
protoOf(AbstractJsonTreeDecoder).d16 = function (tag) {
|
|
3444
|
-
return this.
|
|
3444
|
+
return this.q4z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3445
3445
|
};
|
|
3446
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3446
|
+
protoOf(AbstractJsonTreeDecoder).r4z = function (tag) {
|
|
3447
3447
|
var tmp$ret$5;
|
|
3448
3448
|
$l$block: {
|
|
3449
3449
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3450
3450
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3451
3451
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3452
|
-
var value = this.
|
|
3452
|
+
var value = this.n4z(tag);
|
|
3453
3453
|
if (!(value instanceof JsonPrimitive)) {
|
|
3454
3454
|
var tmp = getKClass(JsonPrimitive).da();
|
|
3455
3455
|
var tmp_0 = getKClassFromExpression(value).da();
|
|
3456
|
-
var tmp$ret$0 = this.
|
|
3456
|
+
var tmp$ret$0 = this.l4z(tag);
|
|
3457
3457
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'byte' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3458
3458
|
}
|
|
3459
3459
|
var literal = value;
|
|
@@ -3488,19 +3488,19 @@
|
|
|
3488
3488
|
return tmp$ret$5;
|
|
3489
3489
|
};
|
|
3490
3490
|
protoOf(AbstractJsonTreeDecoder).e16 = function (tag) {
|
|
3491
|
-
return this.
|
|
3491
|
+
return this.r4z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3492
3492
|
};
|
|
3493
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3493
|
+
protoOf(AbstractJsonTreeDecoder).s4z = function (tag) {
|
|
3494
3494
|
var tmp$ret$5;
|
|
3495
3495
|
$l$block: {
|
|
3496
3496
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3497
3497
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3498
3498
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3499
|
-
var value = this.
|
|
3499
|
+
var value = this.n4z(tag);
|
|
3500
3500
|
if (!(value instanceof JsonPrimitive)) {
|
|
3501
3501
|
var tmp = getKClass(JsonPrimitive).da();
|
|
3502
3502
|
var tmp_0 = getKClassFromExpression(value).da();
|
|
3503
|
-
var tmp$ret$0 = this.
|
|
3503
|
+
var tmp$ret$0 = this.l4z(tag);
|
|
3504
3504
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'short' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3505
3505
|
}
|
|
3506
3506
|
var literal = value;
|
|
@@ -3535,19 +3535,19 @@
|
|
|
3535
3535
|
return tmp$ret$5;
|
|
3536
3536
|
};
|
|
3537
3537
|
protoOf(AbstractJsonTreeDecoder).f16 = function (tag) {
|
|
3538
|
-
return this.
|
|
3538
|
+
return this.s4z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3539
3539
|
};
|
|
3540
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3540
|
+
protoOf(AbstractJsonTreeDecoder).t4z = function (tag) {
|
|
3541
3541
|
var tmp$ret$5;
|
|
3542
3542
|
$l$block: {
|
|
3543
3543
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3544
3544
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3545
3545
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3546
|
-
var value = this.
|
|
3546
|
+
var value = this.n4z(tag);
|
|
3547
3547
|
if (!(value instanceof JsonPrimitive)) {
|
|
3548
3548
|
var tmp = getKClass(JsonPrimitive).da();
|
|
3549
3549
|
var tmp_0 = getKClassFromExpression(value).da();
|
|
3550
|
-
var tmp$ret$0 = this.
|
|
3550
|
+
var tmp$ret$0 = this.l4z(tag);
|
|
3551
3551
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'int' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3552
3552
|
}
|
|
3553
3553
|
var literal = value;
|
|
@@ -3582,19 +3582,19 @@
|
|
|
3582
3582
|
return tmp$ret$5;
|
|
3583
3583
|
};
|
|
3584
3584
|
protoOf(AbstractJsonTreeDecoder).g16 = function (tag) {
|
|
3585
|
-
return this.
|
|
3585
|
+
return this.t4z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3586
3586
|
};
|
|
3587
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3587
|
+
protoOf(AbstractJsonTreeDecoder).u4z = function (tag) {
|
|
3588
3588
|
var tmp$ret$4;
|
|
3589
3589
|
$l$block: {
|
|
3590
3590
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3591
3591
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3592
3592
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3593
|
-
var value = this.
|
|
3593
|
+
var value = this.n4z(tag);
|
|
3594
3594
|
if (!(value instanceof JsonPrimitive)) {
|
|
3595
3595
|
var tmp = getKClass(JsonPrimitive).da();
|
|
3596
3596
|
var tmp_0 = getKClassFromExpression(value).da();
|
|
3597
|
-
var tmp$ret$0 = this.
|
|
3597
|
+
var tmp$ret$0 = this.l4z(tag);
|
|
3598
3598
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'long' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3599
3599
|
}
|
|
3600
3600
|
var literal = value;
|
|
@@ -3620,19 +3620,19 @@
|
|
|
3620
3620
|
return tmp$ret$4;
|
|
3621
3621
|
};
|
|
3622
3622
|
protoOf(AbstractJsonTreeDecoder).h16 = function (tag) {
|
|
3623
|
-
return this.
|
|
3623
|
+
return this.u4z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3624
3624
|
};
|
|
3625
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3625
|
+
protoOf(AbstractJsonTreeDecoder).v4z = function (tag) {
|
|
3626
3626
|
var tmp$ret$4;
|
|
3627
3627
|
$l$block: {
|
|
3628
3628
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3629
3629
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3630
3630
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3631
|
-
var value = this.
|
|
3631
|
+
var value = this.n4z(tag);
|
|
3632
3632
|
if (!(value instanceof JsonPrimitive)) {
|
|
3633
3633
|
var tmp = getKClass(JsonPrimitive).da();
|
|
3634
3634
|
var tmp_0 = getKClassFromExpression(value).da();
|
|
3635
|
-
var tmp$ret$0 = this.
|
|
3635
|
+
var tmp$ret$0 = this.l4z(tag);
|
|
3636
3636
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'float' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3637
3637
|
}
|
|
3638
3638
|
var literal = value;
|
|
@@ -3656,25 +3656,25 @@
|
|
|
3656
3656
|
}
|
|
3657
3657
|
}
|
|
3658
3658
|
var result = tmp$ret$4;
|
|
3659
|
-
var specialFp = this.
|
|
3659
|
+
var specialFp = this.g4t().f4r_1.z4s_1;
|
|
3660
3660
|
if (specialFp || isFinite(result))
|
|
3661
3661
|
return result;
|
|
3662
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3662
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.m4z()));
|
|
3663
3663
|
};
|
|
3664
3664
|
protoOf(AbstractJsonTreeDecoder).i16 = function (tag) {
|
|
3665
|
-
return this.
|
|
3665
|
+
return this.v4z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3666
3666
|
};
|
|
3667
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3667
|
+
protoOf(AbstractJsonTreeDecoder).w4z = function (tag) {
|
|
3668
3668
|
var tmp$ret$4;
|
|
3669
3669
|
$l$block: {
|
|
3670
3670
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3671
3671
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3672
3672
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3673
|
-
var value = this.
|
|
3673
|
+
var value = this.n4z(tag);
|
|
3674
3674
|
if (!(value instanceof JsonPrimitive)) {
|
|
3675
3675
|
var tmp = getKClass(JsonPrimitive).da();
|
|
3676
3676
|
var tmp_0 = getKClassFromExpression(value).da();
|
|
3677
|
-
var tmp$ret$0 = this.
|
|
3677
|
+
var tmp$ret$0 = this.l4z(tag);
|
|
3678
3678
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'double' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3679
3679
|
}
|
|
3680
3680
|
var literal = value;
|
|
@@ -3698,30 +3698,30 @@
|
|
|
3698
3698
|
}
|
|
3699
3699
|
}
|
|
3700
3700
|
var result = tmp$ret$4;
|
|
3701
|
-
var specialFp = this.
|
|
3701
|
+
var specialFp = this.g4t().f4r_1.z4s_1;
|
|
3702
3702
|
if (specialFp || isFinite_0(result))
|
|
3703
3703
|
return result;
|
|
3704
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3704
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.m4z()));
|
|
3705
3705
|
};
|
|
3706
3706
|
protoOf(AbstractJsonTreeDecoder).j16 = function (tag) {
|
|
3707
|
-
return this.
|
|
3707
|
+
return this.w4z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3708
3708
|
};
|
|
3709
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3709
|
+
protoOf(AbstractJsonTreeDecoder).x4z = function (tag) {
|
|
3710
3710
|
var tmp$ret$4;
|
|
3711
3711
|
$l$block: {
|
|
3712
3712
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3713
3713
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3714
3714
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3715
|
-
var value = this.
|
|
3715
|
+
var value = this.n4z(tag);
|
|
3716
3716
|
if (!(value instanceof JsonPrimitive)) {
|
|
3717
3717
|
var tmp = getKClass(JsonPrimitive).da();
|
|
3718
3718
|
var tmp_0 = getKClassFromExpression(value).da();
|
|
3719
|
-
var tmp$ret$0 = this.
|
|
3719
|
+
var tmp$ret$0 = this.l4z(tag);
|
|
3720
3720
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'char' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3721
3721
|
}
|
|
3722
3722
|
var literal = value;
|
|
3723
3723
|
try {
|
|
3724
|
-
var tmp0_elvis_lhs = new Char(single(literal.
|
|
3724
|
+
var tmp0_elvis_lhs = new Char(single(literal.y3x()));
|
|
3725
3725
|
var tmp_1;
|
|
3726
3726
|
if (tmp0_elvis_lhs == null) {
|
|
3727
3727
|
unparsedPrimitive(this, literal, 'char', tag);
|
|
@@ -3742,80 +3742,80 @@
|
|
|
3742
3742
|
return tmp$ret$4;
|
|
3743
3743
|
};
|
|
3744
3744
|
protoOf(AbstractJsonTreeDecoder).k16 = function (tag) {
|
|
3745
|
-
return this.
|
|
3745
|
+
return this.x4z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3746
3746
|
};
|
|
3747
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3747
|
+
protoOf(AbstractJsonTreeDecoder).y4z = function (tag) {
|
|
3748
3748
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3749
3749
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3750
|
-
var value = this.
|
|
3750
|
+
var value = this.n4z(tag);
|
|
3751
3751
|
if (!(value instanceof JsonPrimitive)) {
|
|
3752
3752
|
var tmp = getKClass(JsonPrimitive).da();
|
|
3753
3753
|
var tmp_0 = getKClassFromExpression(value).da();
|
|
3754
|
-
var tmp$ret$0 = this.
|
|
3754
|
+
var tmp$ret$0 = this.l4z(tag);
|
|
3755
3755
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'string' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3756
3756
|
}
|
|
3757
3757
|
var value_0 = value;
|
|
3758
3758
|
if (!(value_0 instanceof JsonLiteral))
|
|
3759
|
-
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.
|
|
3760
|
-
if (!value_0.
|
|
3761
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.
|
|
3759
|
+
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.l4z(tag), toString(this.m4z()));
|
|
3760
|
+
if (!value_0.r4t_1 && !this.g4t().f4r_1.r4s_1) {
|
|
3761
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.l4z(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString(this.m4z()));
|
|
3762
3762
|
}
|
|
3763
|
-
return value_0.
|
|
3763
|
+
return value_0.t4t_1;
|
|
3764
3764
|
};
|
|
3765
3765
|
protoOf(AbstractJsonTreeDecoder).l16 = function (tag) {
|
|
3766
|
-
return this.
|
|
3766
|
+
return this.y4z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3767
3767
|
};
|
|
3768
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3768
|
+
protoOf(AbstractJsonTreeDecoder).z4z = function (tag, inlineDescriptor) {
|
|
3769
3769
|
var tmp;
|
|
3770
3770
|
if (get_isUnsignedNumber(inlineDescriptor)) {
|
|
3771
|
-
var tmp_0 = this.
|
|
3771
|
+
var tmp_0 = this.g4t();
|
|
3772
3772
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3773
|
-
var tmp2 = this.
|
|
3773
|
+
var tmp2 = this.n4z(tag);
|
|
3774
3774
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3775
3775
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3776
3776
|
var serialName = inlineDescriptor.cp();
|
|
3777
3777
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3778
3778
|
var tmp_1 = getKClass(JsonPrimitive).da();
|
|
3779
3779
|
var tmp_2 = getKClassFromExpression(tmp2).da();
|
|
3780
|
-
var tmp$ret$0 = this.
|
|
3780
|
+
var tmp$ret$0 = this.l4z(tag);
|
|
3781
3781
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_1 + ', but had ' + tmp_2 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3782
3782
|
}
|
|
3783
|
-
var lexer = StringJsonLexer_0(tmp_0, tmp2.
|
|
3784
|
-
tmp = new JsonDecoderForUnsignedTypes(lexer, this.
|
|
3783
|
+
var lexer = StringJsonLexer_0(tmp_0, tmp2.y3x());
|
|
3784
|
+
tmp = new JsonDecoderForUnsignedTypes(lexer, this.g4t());
|
|
3785
3785
|
} else {
|
|
3786
3786
|
tmp = protoOf(NamedValueDecoder).n16.call(this, tag, inlineDescriptor);
|
|
3787
3787
|
}
|
|
3788
3788
|
return tmp;
|
|
3789
3789
|
};
|
|
3790
3790
|
protoOf(AbstractJsonTreeDecoder).n16 = function (tag, inlineDescriptor) {
|
|
3791
|
-
return this.
|
|
3791
|
+
return this.z4z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3792
3792
|
};
|
|
3793
3793
|
protoOf(AbstractJsonTreeDecoder).lr = function (descriptor) {
|
|
3794
|
-
return !(this.y15() == null) ? protoOf(NamedValueDecoder).lr.call(this, descriptor) : (new JsonPrimitiveDecoder(this.
|
|
3794
|
+
return !(this.y15() == null) ? protoOf(NamedValueDecoder).lr.call(this, descriptor) : (new JsonPrimitiveDecoder(this.g4t(), this.w(), this.j4z_1)).lr(descriptor);
|
|
3795
3795
|
};
|
|
3796
3796
|
function setForceNull($this, descriptor, index) {
|
|
3797
|
-
$this.
|
|
3798
|
-
return $this.
|
|
3797
|
+
$this.j50_1 = (!$this.g4t().f4r_1.u4s_1 && !descriptor.dq(index) && descriptor.cq(index).op());
|
|
3798
|
+
return $this.j50_1;
|
|
3799
3799
|
}
|
|
3800
3800
|
function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) {
|
|
3801
3801
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3802
3802
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3803
3803
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3804
|
-
this.
|
|
3805
|
-
this.
|
|
3806
|
-
this.
|
|
3807
|
-
this.
|
|
3804
|
+
this.g50_1 = value;
|
|
3805
|
+
this.h50_1 = polyDescriptor;
|
|
3806
|
+
this.i50_1 = 0;
|
|
3807
|
+
this.j50_1 = false;
|
|
3808
3808
|
}
|
|
3809
3809
|
protoOf(JsonTreeDecoder).w = function () {
|
|
3810
|
-
return this.
|
|
3810
|
+
return this.g50_1;
|
|
3811
3811
|
};
|
|
3812
3812
|
protoOf(JsonTreeDecoder).fs = function (descriptor) {
|
|
3813
|
-
$l$loop: while (this.
|
|
3814
|
-
var _unary__edvuaz = this.
|
|
3815
|
-
this.
|
|
3813
|
+
$l$loop: while (this.i50_1 < descriptor.xp()) {
|
|
3814
|
+
var _unary__edvuaz = this.i50_1;
|
|
3815
|
+
this.i50_1 = _unary__edvuaz + 1 | 0;
|
|
3816
3816
|
var name = this.t15(descriptor, _unary__edvuaz);
|
|
3817
|
-
var index = this.
|
|
3818
|
-
this.
|
|
3817
|
+
var index = this.i50_1 - 1 | 0;
|
|
3818
|
+
this.j50_1 = false;
|
|
3819
3819
|
var tmp;
|
|
3820
3820
|
// Inline function 'kotlin.collections.contains' call
|
|
3821
3821
|
// Inline function 'kotlin.collections.containsKey' call
|
|
@@ -3826,9 +3826,9 @@
|
|
|
3826
3826
|
tmp = setForceNull(this, descriptor, index);
|
|
3827
3827
|
}
|
|
3828
3828
|
if (tmp) {
|
|
3829
|
-
if (!this.
|
|
3829
|
+
if (!this.k4z_1.w4s_1)
|
|
3830
3830
|
return index;
|
|
3831
|
-
var tmp0 = this.
|
|
3831
|
+
var tmp0 = this.g4t();
|
|
3832
3832
|
var tmp$ret$3;
|
|
3833
3833
|
$l$block_2: {
|
|
3834
3834
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -3836,7 +3836,7 @@
|
|
|
3836
3836
|
var elementDescriptor = descriptor.cq(index);
|
|
3837
3837
|
var tmp_0;
|
|
3838
3838
|
if (isOptional && !elementDescriptor.op()) {
|
|
3839
|
-
var tmp_1 = this.
|
|
3839
|
+
var tmp_1 = this.k50(name);
|
|
3840
3840
|
tmp_0 = tmp_1 instanceof JsonNull;
|
|
3841
3841
|
} else {
|
|
3842
3842
|
tmp_0 = false;
|
|
@@ -3848,7 +3848,7 @@
|
|
|
3848
3848
|
if (equals(elementDescriptor.vp(), ENUM_getInstance())) {
|
|
3849
3849
|
var tmp_2;
|
|
3850
3850
|
if (elementDescriptor.op()) {
|
|
3851
|
-
var tmp_3 = this.
|
|
3851
|
+
var tmp_3 = this.k50(name);
|
|
3852
3852
|
tmp_2 = tmp_3 instanceof JsonNull;
|
|
3853
3853
|
} else {
|
|
3854
3854
|
tmp_2 = false;
|
|
@@ -3857,7 +3857,7 @@
|
|
|
3857
3857
|
tmp$ret$3 = false;
|
|
3858
3858
|
break $l$block_2;
|
|
3859
3859
|
}
|
|
3860
|
-
var tmp_4 = this.
|
|
3860
|
+
var tmp_4 = this.k50(name);
|
|
3861
3861
|
var tmp0_safe_receiver = tmp_4 instanceof JsonPrimitive ? tmp_4 : null;
|
|
3862
3862
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3863
3863
|
var tmp_5;
|
|
@@ -3869,7 +3869,7 @@
|
|
|
3869
3869
|
}
|
|
3870
3870
|
var enumValue = tmp_5;
|
|
3871
3871
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
3872
|
-
var coerceToNull = !tmp0.
|
|
3872
|
+
var coerceToNull = !tmp0.f4r_1.u4s_1 && elementDescriptor.op();
|
|
3873
3873
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
3874
3874
|
if (setForceNull(this, descriptor, index))
|
|
3875
3875
|
return index;
|
|
@@ -3887,18 +3887,18 @@
|
|
|
3887
3887
|
return -1;
|
|
3888
3888
|
};
|
|
3889
3889
|
protoOf(JsonTreeDecoder).zq = function () {
|
|
3890
|
-
return !this.
|
|
3890
|
+
return !this.j50_1 && protoOf(AbstractJsonTreeDecoder).zq.call(this);
|
|
3891
3891
|
};
|
|
3892
3892
|
protoOf(JsonTreeDecoder).u15 = function (descriptor, index) {
|
|
3893
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3893
|
+
var strategy = namingStrategy(descriptor, this.g4t());
|
|
3894
3894
|
var baseName = descriptor.zp(index);
|
|
3895
3895
|
if (strategy == null) {
|
|
3896
|
-
if (!this.
|
|
3896
|
+
if (!this.k4z_1.a4t_1)
|
|
3897
3897
|
return baseName;
|
|
3898
3898
|
if (this.w().c2().t1(baseName))
|
|
3899
3899
|
return baseName;
|
|
3900
3900
|
}
|
|
3901
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3901
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.g4t(), descriptor);
|
|
3902
3902
|
// Inline function 'kotlin.collections.find' call
|
|
3903
3903
|
var tmp0 = this.w().c2();
|
|
3904
3904
|
var tmp$ret$1;
|
|
@@ -3921,35 +3921,35 @@
|
|
|
3921
3921
|
// Inline function 'kotlin.let' call
|
|
3922
3922
|
return tmp0_safe_receiver;
|
|
3923
3923
|
}
|
|
3924
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3924
|
+
var fallbackName = strategy == null ? null : strategy.a4w(descriptor, index, baseName);
|
|
3925
3925
|
return fallbackName == null ? baseName : fallbackName;
|
|
3926
3926
|
};
|
|
3927
|
-
protoOf(JsonTreeDecoder).
|
|
3927
|
+
protoOf(JsonTreeDecoder).n4z = function (tag) {
|
|
3928
3928
|
return getValue(this.w(), tag);
|
|
3929
3929
|
};
|
|
3930
|
-
protoOf(JsonTreeDecoder).
|
|
3931
|
-
return this.w().
|
|
3930
|
+
protoOf(JsonTreeDecoder).k50 = function (tag) {
|
|
3931
|
+
return this.w().n3b(tag);
|
|
3932
3932
|
};
|
|
3933
3933
|
protoOf(JsonTreeDecoder).or = function (descriptor) {
|
|
3934
|
-
if (descriptor === this.
|
|
3935
|
-
var tmp = this.
|
|
3936
|
-
var tmp2 = this.
|
|
3934
|
+
if (descriptor === this.h50_1) {
|
|
3935
|
+
var tmp = this.g4t();
|
|
3936
|
+
var tmp2 = this.m4z();
|
|
3937
3937
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3938
3938
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3939
|
-
var serialName = this.
|
|
3939
|
+
var serialName = this.h50_1.cp();
|
|
3940
3940
|
if (!(tmp2 instanceof JsonObject)) {
|
|
3941
3941
|
var tmp_0 = getKClass(JsonObject).da();
|
|
3942
3942
|
var tmp_1 = getKClassFromExpression(tmp2).da();
|
|
3943
3943
|
var tmp$ret$0 = this.a16();
|
|
3944
3944
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3945
3945
|
}
|
|
3946
|
-
return new JsonTreeDecoder(tmp, tmp2, this.
|
|
3946
|
+
return new JsonTreeDecoder(tmp, tmp2, this.j4z_1, this.h50_1);
|
|
3947
3947
|
}
|
|
3948
3948
|
return protoOf(AbstractJsonTreeDecoder).or.call(this, descriptor);
|
|
3949
3949
|
};
|
|
3950
3950
|
protoOf(JsonTreeDecoder).pr = function (descriptor) {
|
|
3951
3951
|
var tmp;
|
|
3952
|
-
if (ignoreUnknownKeys(descriptor, this.
|
|
3952
|
+
if (ignoreUnknownKeys(descriptor, this.g4t())) {
|
|
3953
3953
|
tmp = true;
|
|
3954
3954
|
} else {
|
|
3955
3955
|
var tmp_0 = descriptor.vp();
|
|
@@ -3957,15 +3957,15 @@
|
|
|
3957
3957
|
}
|
|
3958
3958
|
if (tmp)
|
|
3959
3959
|
return Unit_instance;
|
|
3960
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3960
|
+
var strategy = namingStrategy(descriptor, this.g4t());
|
|
3961
3961
|
var tmp_1;
|
|
3962
|
-
if (strategy == null && !this.
|
|
3962
|
+
if (strategy == null && !this.k4z_1.a4t_1) {
|
|
3963
3963
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3964
3964
|
} else if (!(strategy == null)) {
|
|
3965
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3965
|
+
tmp_1 = deserializationNamesMap(this.g4t(), descriptor).c2();
|
|
3966
3966
|
} else {
|
|
3967
3967
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3968
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3968
|
+
var tmp0_safe_receiver = get_schemaCache(this.g4t()).l4y(descriptor, get_JsonDeserializationNamesKey());
|
|
3969
3969
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3970
3970
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c2();
|
|
3971
3971
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -3975,76 +3975,76 @@
|
|
|
3975
3975
|
var _iterator__ex2g4s = this.w().c2().l();
|
|
3976
3976
|
while (_iterator__ex2g4s.m()) {
|
|
3977
3977
|
var key = _iterator__ex2g4s.n();
|
|
3978
|
-
if (!names.t1(key) && !(key === this.
|
|
3978
|
+
if (!names.t1(key) && !(key === this.j4z_1)) {
|
|
3979
3979
|
throw JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "' at element: " + this.a16() + '\n' + "Use 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.w().toString()))));
|
|
3980
3980
|
}
|
|
3981
3981
|
}
|
|
3982
3982
|
};
|
|
3983
3983
|
function JsonTreeListDecoder(json, value) {
|
|
3984
3984
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3985
|
-
this.
|
|
3986
|
-
this.
|
|
3987
|
-
this.
|
|
3985
|
+
this.r50_1 = value;
|
|
3986
|
+
this.s50_1 = this.r50_1.o();
|
|
3987
|
+
this.t50_1 = -1;
|
|
3988
3988
|
}
|
|
3989
3989
|
protoOf(JsonTreeListDecoder).w = function () {
|
|
3990
|
-
return this.
|
|
3990
|
+
return this.r50_1;
|
|
3991
3991
|
};
|
|
3992
3992
|
protoOf(JsonTreeListDecoder).u15 = function (descriptor, index) {
|
|
3993
3993
|
return index.toString();
|
|
3994
3994
|
};
|
|
3995
|
-
protoOf(JsonTreeListDecoder).
|
|
3996
|
-
return this.
|
|
3995
|
+
protoOf(JsonTreeListDecoder).n4z = function (tag) {
|
|
3996
|
+
return this.r50_1.p(toInt(tag));
|
|
3997
3997
|
};
|
|
3998
3998
|
protoOf(JsonTreeListDecoder).fs = function (descriptor) {
|
|
3999
|
-
while (this.
|
|
4000
|
-
this.
|
|
4001
|
-
return this.
|
|
3999
|
+
while (this.t50_1 < (this.s50_1 - 1 | 0)) {
|
|
4000
|
+
this.t50_1 = this.t50_1 + 1 | 0;
|
|
4001
|
+
return this.t50_1;
|
|
4002
4002
|
}
|
|
4003
4003
|
return -1;
|
|
4004
4004
|
};
|
|
4005
4005
|
function JsonPrimitiveDecoder(json, value, polymorphicDiscriminator) {
|
|
4006
4006
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
4007
4007
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
4008
|
-
this.
|
|
4008
|
+
this.a51_1 = value;
|
|
4009
4009
|
this.o16('primitive');
|
|
4010
4010
|
}
|
|
4011
4011
|
protoOf(JsonPrimitiveDecoder).w = function () {
|
|
4012
|
-
return this.
|
|
4012
|
+
return this.a51_1;
|
|
4013
4013
|
};
|
|
4014
4014
|
protoOf(JsonPrimitiveDecoder).fs = function (descriptor) {
|
|
4015
4015
|
return 0;
|
|
4016
4016
|
};
|
|
4017
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4017
|
+
protoOf(JsonPrimitiveDecoder).n4z = function (tag) {
|
|
4018
4018
|
// Inline function 'kotlin.require' call
|
|
4019
4019
|
if (!(tag === 'primitive')) {
|
|
4020
4020
|
var message = "This input can only handle primitives with 'primitive' tag";
|
|
4021
4021
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
4022
4022
|
}
|
|
4023
|
-
return this.
|
|
4023
|
+
return this.a51_1;
|
|
4024
4024
|
};
|
|
4025
4025
|
function JsonTreeMapDecoder(json, value) {
|
|
4026
4026
|
JsonTreeDecoder.call(this, json, value);
|
|
4027
|
-
this.
|
|
4028
|
-
this.
|
|
4029
|
-
this.
|
|
4030
|
-
this.
|
|
4027
|
+
this.l51_1 = value;
|
|
4028
|
+
this.m51_1 = toList(this.l51_1.c2());
|
|
4029
|
+
this.n51_1 = imul(this.m51_1.o(), 2);
|
|
4030
|
+
this.o51_1 = -1;
|
|
4031
4031
|
}
|
|
4032
4032
|
protoOf(JsonTreeMapDecoder).w = function () {
|
|
4033
|
-
return this.
|
|
4033
|
+
return this.l51_1;
|
|
4034
4034
|
};
|
|
4035
4035
|
protoOf(JsonTreeMapDecoder).u15 = function (descriptor, index) {
|
|
4036
4036
|
var i = index / 2 | 0;
|
|
4037
|
-
return this.
|
|
4037
|
+
return this.m51_1.p(i);
|
|
4038
4038
|
};
|
|
4039
4039
|
protoOf(JsonTreeMapDecoder).fs = function (descriptor) {
|
|
4040
|
-
while (this.
|
|
4041
|
-
this.
|
|
4042
|
-
return this.
|
|
4040
|
+
while (this.o51_1 < (this.n51_1 - 1 | 0)) {
|
|
4041
|
+
this.o51_1 = this.o51_1 + 1 | 0;
|
|
4042
|
+
return this.o51_1;
|
|
4043
4043
|
}
|
|
4044
4044
|
return -1;
|
|
4045
4045
|
};
|
|
4046
|
-
protoOf(JsonTreeMapDecoder).
|
|
4047
|
-
return (this.
|
|
4046
|
+
protoOf(JsonTreeMapDecoder).n4z = function (tag) {
|
|
4047
|
+
return (this.o51_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.l51_1, tag);
|
|
4048
4048
|
};
|
|
4049
4049
|
protoOf(JsonTreeMapDecoder).pr = function (descriptor) {
|
|
4050
4050
|
};
|
|
@@ -4076,8 +4076,8 @@
|
|
|
4076
4076
|
var $ENTRIES;
|
|
4077
4077
|
function WriteMode(name, ordinal, begin, end) {
|
|
4078
4078
|
Enum.call(this, name, ordinal);
|
|
4079
|
-
this.
|
|
4080
|
-
this.
|
|
4079
|
+
this.y4y_1 = begin;
|
|
4080
|
+
this.z4y_1 = end;
|
|
4081
4081
|
}
|
|
4082
4082
|
function switchMode(_this__u8e3s4, desc) {
|
|
4083
4083
|
var tmp0_subject = desc.vp();
|
|
@@ -4102,7 +4102,7 @@
|
|
|
4102
4102
|
if (tmp_1) {
|
|
4103
4103
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
4104
4104
|
} else {
|
|
4105
|
-
if (_this__u8e3s4.
|
|
4105
|
+
if (_this__u8e3s4.f4r_1.s4s_1) {
|
|
4106
4106
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
4107
4107
|
} else {
|
|
4108
4108
|
throw InvalidKeyKindException(keyDescriptor);
|
|
@@ -4146,56 +4146,56 @@
|
|
|
4146
4146
|
return WriteMode_POLY_OBJ_instance;
|
|
4147
4147
|
}
|
|
4148
4148
|
function appendEscape($this, lastPosition, current) {
|
|
4149
|
-
$this.
|
|
4149
|
+
$this.p51(lastPosition, current);
|
|
4150
4150
|
return appendEsc($this, current + 1 | 0);
|
|
4151
4151
|
}
|
|
4152
4152
|
function decodedString($this, lastPosition, currentPosition) {
|
|
4153
|
-
$this.
|
|
4154
|
-
var result = $this.
|
|
4155
|
-
$this.
|
|
4153
|
+
$this.p51(lastPosition, currentPosition);
|
|
4154
|
+
var result = $this.u4r_1.toString();
|
|
4155
|
+
$this.u4r_1.ub(0);
|
|
4156
4156
|
return result;
|
|
4157
4157
|
}
|
|
4158
4158
|
function takePeeked($this) {
|
|
4159
4159
|
// Inline function 'kotlin.also' call
|
|
4160
|
-
var this_0 = ensureNotNull($this.
|
|
4161
|
-
$this.
|
|
4160
|
+
var this_0 = ensureNotNull($this.t4r_1);
|
|
4161
|
+
$this.t4r_1 = null;
|
|
4162
4162
|
return this_0;
|
|
4163
4163
|
}
|
|
4164
4164
|
function wasUnquotedString($this) {
|
|
4165
|
-
return !(charSequenceGet($this.
|
|
4165
|
+
return !(charSequenceGet($this.q51(), $this.r4r_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
4166
4166
|
}
|
|
4167
4167
|
function appendEsc($this, startPosition) {
|
|
4168
4168
|
var currentPosition = startPosition;
|
|
4169
|
-
currentPosition = $this.
|
|
4169
|
+
currentPosition = $this.r51(currentPosition);
|
|
4170
4170
|
if (currentPosition === -1) {
|
|
4171
|
-
$this.
|
|
4171
|
+
$this.w4v('Expected escape sequence to continue, got EOF');
|
|
4172
4172
|
}
|
|
4173
|
-
var tmp = $this.
|
|
4173
|
+
var tmp = $this.q51();
|
|
4174
4174
|
var _unary__edvuaz = currentPosition;
|
|
4175
4175
|
currentPosition = _unary__edvuaz + 1 | 0;
|
|
4176
4176
|
var currentChar = charSequenceGet(tmp, _unary__edvuaz);
|
|
4177
4177
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
4178
|
-
return appendHex($this, $this.
|
|
4178
|
+
return appendHex($this, $this.q51(), currentPosition);
|
|
4179
4179
|
}
|
|
4180
4180
|
// Inline function 'kotlin.code' call
|
|
4181
4181
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
4182
4182
|
var c = escapeToChar(tmp$ret$0);
|
|
4183
4183
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
4184
|
-
$this.
|
|
4184
|
+
$this.w4v("Invalid escaped char '" + toString_1(currentChar) + "'");
|
|
4185
4185
|
}
|
|
4186
|
-
$this.
|
|
4186
|
+
$this.u4r_1.d8(c);
|
|
4187
4187
|
return currentPosition;
|
|
4188
4188
|
}
|
|
4189
4189
|
function appendHex($this, source, startPos) {
|
|
4190
4190
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
4191
|
-
$this.
|
|
4192
|
-
$this.
|
|
4193
|
-
if (($this.
|
|
4194
|
-
$this.
|
|
4191
|
+
$this.r4r_1 = startPos;
|
|
4192
|
+
$this.s51();
|
|
4193
|
+
if (($this.r4r_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
4194
|
+
$this.w4v('Unexpected EOF during unicode escape');
|
|
4195
4195
|
}
|
|
4196
|
-
return appendHex($this, source, $this.
|
|
4196
|
+
return appendHex($this, source, $this.r4r_1);
|
|
4197
4197
|
}
|
|
4198
|
-
$this.
|
|
4198
|
+
$this.u4r_1.d8(numberToChar((((fromHexChar($this, source, startPos) << 12) + (fromHexChar($this, source, startPos + 1 | 0) << 8) | 0) + (fromHexChar($this, source, startPos + 2 | 0) << 4) | 0) + fromHexChar($this, source, startPos + 3 | 0) | 0));
|
|
4199
4199
|
return startPos + 4 | 0;
|
|
4200
4200
|
}
|
|
4201
4201
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -4220,16 +4220,16 @@
|
|
|
4220
4220
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
4221
4221
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
4222
4222
|
} else {
|
|
4223
|
-
$this.
|
|
4223
|
+
$this.w4v("Invalid toHexChar char '" + toString_1(character) + "' in unicode escape");
|
|
4224
4224
|
}
|
|
4225
4225
|
return tmp;
|
|
4226
4226
|
}
|
|
4227
4227
|
function consumeBoolean2($this, start) {
|
|
4228
|
-
var current = $this.
|
|
4229
|
-
if (current >= charSequenceLength($this.
|
|
4230
|
-
$this.
|
|
4228
|
+
var current = $this.r51(start);
|
|
4229
|
+
if (current >= charSequenceLength($this.q51()) || current === -1) {
|
|
4230
|
+
$this.w4v('EOF');
|
|
4231
4231
|
}
|
|
4232
|
-
var tmp = $this.
|
|
4232
|
+
var tmp = $this.q51();
|
|
4233
4233
|
var _unary__edvuaz = current;
|
|
4234
4234
|
current = _unary__edvuaz + 1 | 0;
|
|
4235
4235
|
// Inline function 'kotlin.code' call
|
|
@@ -4248,14 +4248,14 @@
|
|
|
4248
4248
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4249
4249
|
tmp_0 = false;
|
|
4250
4250
|
} else {
|
|
4251
|
-
$this.
|
|
4251
|
+
$this.w4v("Expected valid boolean literal prefix, but had '" + $this.e4x() + "'");
|
|
4252
4252
|
}
|
|
4253
4253
|
}
|
|
4254
4254
|
return tmp_0;
|
|
4255
4255
|
}
|
|
4256
4256
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4257
|
-
if ((charSequenceLength($this.
|
|
4258
|
-
$this.
|
|
4257
|
+
if ((charSequenceLength($this.q51()) - current | 0) < literalSuffix.length) {
|
|
4258
|
+
$this.w4v('Unexpected end of boolean literal');
|
|
4259
4259
|
}
|
|
4260
4260
|
var inductionVariable = 0;
|
|
4261
4261
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4264,16 +4264,16 @@
|
|
|
4264
4264
|
var i = inductionVariable;
|
|
4265
4265
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4266
4266
|
var expected = charCodeAt(literalSuffix, i);
|
|
4267
|
-
var actual = charSequenceGet($this.
|
|
4267
|
+
var actual = charSequenceGet($this.q51(), current + i | 0);
|
|
4268
4268
|
// Inline function 'kotlin.code' call
|
|
4269
4269
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
4270
4270
|
// Inline function 'kotlin.code' call
|
|
4271
4271
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
4272
|
-
$this.
|
|
4272
|
+
$this.w4v("Expected valid boolean literal prefix, but had '" + $this.e4x() + "'");
|
|
4273
4273
|
}
|
|
4274
4274
|
}
|
|
4275
4275
|
while (inductionVariable <= last);
|
|
4276
|
-
$this.
|
|
4276
|
+
$this.r4r_1 = current + literalSuffix.length | 0;
|
|
4277
4277
|
}
|
|
4278
4278
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
4279
4279
|
var tmp;
|
|
@@ -4297,77 +4297,77 @@
|
|
|
4297
4297
|
return tmp;
|
|
4298
4298
|
}
|
|
4299
4299
|
function AbstractJsonLexer() {
|
|
4300
|
-
this.
|
|
4301
|
-
this.
|
|
4302
|
-
this.
|
|
4303
|
-
this.
|
|
4300
|
+
this.r4r_1 = 0;
|
|
4301
|
+
this.s4r_1 = new JsonPath();
|
|
4302
|
+
this.t4r_1 = null;
|
|
4303
|
+
this.u4r_1 = StringBuilder_init_$Create$();
|
|
4304
4304
|
}
|
|
4305
|
-
protoOf(AbstractJsonLexer).
|
|
4305
|
+
protoOf(AbstractJsonLexer).s51 = function () {
|
|
4306
4306
|
};
|
|
4307
|
-
protoOf(AbstractJsonLexer).
|
|
4308
|
-
var current = this.
|
|
4309
|
-
var source = this.
|
|
4307
|
+
protoOf(AbstractJsonLexer).o4y = function () {
|
|
4308
|
+
var current = this.t51();
|
|
4309
|
+
var source = this.q51();
|
|
4310
4310
|
if (current >= charSequenceLength(source) || current === -1)
|
|
4311
4311
|
return false;
|
|
4312
4312
|
if (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44)) {
|
|
4313
|
-
this.
|
|
4313
|
+
this.r4r_1 = this.r4r_1 + 1 | 0;
|
|
4314
4314
|
return true;
|
|
4315
4315
|
}
|
|
4316
4316
|
return false;
|
|
4317
4317
|
};
|
|
4318
|
-
protoOf(AbstractJsonLexer).
|
|
4318
|
+
protoOf(AbstractJsonLexer).u51 = function (c) {
|
|
4319
4319
|
return c === _Char___init__impl__6a9atx(125) || c === _Char___init__impl__6a9atx(93) || (c === _Char___init__impl__6a9atx(58) || c === _Char___init__impl__6a9atx(44)) ? false : true;
|
|
4320
4320
|
};
|
|
4321
|
-
protoOf(AbstractJsonLexer).
|
|
4322
|
-
var nextToken = this.
|
|
4321
|
+
protoOf(AbstractJsonLexer).v4r = function () {
|
|
4322
|
+
var nextToken = this.g4x();
|
|
4323
4323
|
if (!(nextToken === 10)) {
|
|
4324
|
-
this.
|
|
4324
|
+
this.w4v('Expected EOF after parsing, but had ' + toString_1(charSequenceGet(this.q51(), this.r4r_1 - 1 | 0)) + ' instead');
|
|
4325
4325
|
}
|
|
4326
4326
|
};
|
|
4327
|
-
protoOf(AbstractJsonLexer).
|
|
4328
|
-
var token = this.
|
|
4327
|
+
protoOf(AbstractJsonLexer).a4x = function (expected) {
|
|
4328
|
+
var token = this.g4x();
|
|
4329
4329
|
if (!(token === expected)) {
|
|
4330
4330
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4331
4331
|
var expected_0 = tokenDescription(expected);
|
|
4332
|
-
var position = true ? this.
|
|
4333
|
-
var s = this.
|
|
4332
|
+
var position = true ? this.r4r_1 - 1 | 0 : this.r4r_1;
|
|
4333
|
+
var s = this.r4r_1 === charSequenceLength(this.q51()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.q51(), position));
|
|
4334
4334
|
var tmp$ret$0 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4335
|
-
this.
|
|
4335
|
+
this.w4v(tmp$ret$0, position);
|
|
4336
4336
|
}
|
|
4337
4337
|
return token;
|
|
4338
4338
|
};
|
|
4339
|
-
protoOf(AbstractJsonLexer).
|
|
4340
|
-
if (this.
|
|
4339
|
+
protoOf(AbstractJsonLexer).v51 = function (expected) {
|
|
4340
|
+
if (this.r4r_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
|
|
4341
4341
|
var tmp$ret$1;
|
|
4342
4342
|
$l$block: {
|
|
4343
4343
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
4344
|
-
var snapshot = this.
|
|
4344
|
+
var snapshot = this.r4r_1;
|
|
4345
4345
|
try {
|
|
4346
|
-
this.
|
|
4347
|
-
tmp$ret$1 = this.
|
|
4346
|
+
this.r4r_1 = this.r4r_1 - 1 | 0;
|
|
4347
|
+
tmp$ret$1 = this.e4x();
|
|
4348
4348
|
break $l$block;
|
|
4349
4349
|
}finally {
|
|
4350
|
-
this.
|
|
4350
|
+
this.r4r_1 = snapshot;
|
|
4351
4351
|
}
|
|
4352
4352
|
}
|
|
4353
4353
|
var inputLiteral = tmp$ret$1;
|
|
4354
4354
|
if (inputLiteral === 'null') {
|
|
4355
|
-
this.
|
|
4355
|
+
this.v4v("Expected string literal but 'null' literal was found", this.r4r_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
|
|
4356
4356
|
}
|
|
4357
4357
|
}
|
|
4358
4358
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4359
4359
|
var expectedToken = charToTokenClass(expected);
|
|
4360
4360
|
var expected_0 = tokenDescription(expectedToken);
|
|
4361
|
-
var position = true ? this.
|
|
4362
|
-
var s = this.
|
|
4361
|
+
var position = true ? this.r4r_1 - 1 | 0 : this.r4r_1;
|
|
4362
|
+
var s = this.r4r_1 === charSequenceLength(this.q51()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.q51(), position));
|
|
4363
4363
|
var tmp$ret$2 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4364
|
-
this.
|
|
4364
|
+
this.w4v(tmp$ret$2, position);
|
|
4365
4365
|
};
|
|
4366
|
-
protoOf(AbstractJsonLexer).
|
|
4367
|
-
var source = this.
|
|
4368
|
-
var cpos = this.
|
|
4366
|
+
protoOf(AbstractJsonLexer).b4x = function () {
|
|
4367
|
+
var source = this.q51();
|
|
4368
|
+
var cpos = this.r4r_1;
|
|
4369
4369
|
$l$loop_0: while (true) {
|
|
4370
|
-
cpos = this.
|
|
4370
|
+
cpos = this.r51(cpos);
|
|
4371
4371
|
if (cpos === -1)
|
|
4372
4372
|
break $l$loop_0;
|
|
4373
4373
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4375,16 +4375,16 @@
|
|
|
4375
4375
|
cpos = cpos + 1 | 0;
|
|
4376
4376
|
continue $l$loop_0;
|
|
4377
4377
|
}
|
|
4378
|
-
this.
|
|
4378
|
+
this.r4r_1 = cpos;
|
|
4379
4379
|
return charToTokenClass(ch);
|
|
4380
4380
|
}
|
|
4381
|
-
this.
|
|
4381
|
+
this.r4r_1 = cpos;
|
|
4382
4382
|
return 10;
|
|
4383
4383
|
};
|
|
4384
|
-
protoOf(AbstractJsonLexer).
|
|
4385
|
-
var current = this.
|
|
4386
|
-
current = this.
|
|
4387
|
-
var len = charSequenceLength(this.
|
|
4384
|
+
protoOf(AbstractJsonLexer).p4y = function (doConsume) {
|
|
4385
|
+
var current = this.t51();
|
|
4386
|
+
current = this.r51(current);
|
|
4387
|
+
var len = charSequenceLength(this.q51()) - current | 0;
|
|
4388
4388
|
if (len < 4 || current === -1)
|
|
4389
4389
|
return false;
|
|
4390
4390
|
var inductionVariable = 0;
|
|
@@ -4392,50 +4392,50 @@
|
|
|
4392
4392
|
do {
|
|
4393
4393
|
var i = inductionVariable;
|
|
4394
4394
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4395
|
-
if (!(charCodeAt('null', i) === charSequenceGet(this.
|
|
4395
|
+
if (!(charCodeAt('null', i) === charSequenceGet(this.q51(), current + i | 0)))
|
|
4396
4396
|
return false;
|
|
4397
4397
|
}
|
|
4398
4398
|
while (inductionVariable <= 3);
|
|
4399
|
-
if (len > 4 && charToTokenClass(charSequenceGet(this.
|
|
4399
|
+
if (len > 4 && charToTokenClass(charSequenceGet(this.q51(), current + 4 | 0)) === 0)
|
|
4400
4400
|
return false;
|
|
4401
4401
|
if (doConsume) {
|
|
4402
|
-
this.
|
|
4402
|
+
this.r4r_1 = current + 4 | 0;
|
|
4403
4403
|
}
|
|
4404
4404
|
return true;
|
|
4405
4405
|
};
|
|
4406
|
-
protoOf(AbstractJsonLexer).
|
|
4406
|
+
protoOf(AbstractJsonLexer).a4z = function (doConsume, $super) {
|
|
4407
4407
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4408
|
-
return $super === VOID ? this.
|
|
4408
|
+
return $super === VOID ? this.p4y(doConsume) : $super.p4y.call(this, doConsume);
|
|
4409
4409
|
};
|
|
4410
|
-
protoOf(AbstractJsonLexer).
|
|
4411
|
-
var token = this.
|
|
4410
|
+
protoOf(AbstractJsonLexer).q4y = function (isLenient) {
|
|
4411
|
+
var token = this.b4x();
|
|
4412
4412
|
var tmp;
|
|
4413
4413
|
if (isLenient) {
|
|
4414
4414
|
if (!(token === 1) && !(token === 0))
|
|
4415
4415
|
return null;
|
|
4416
|
-
tmp = this.
|
|
4416
|
+
tmp = this.e4x();
|
|
4417
4417
|
} else {
|
|
4418
4418
|
if (!(token === 1))
|
|
4419
4419
|
return null;
|
|
4420
|
-
tmp = this.
|
|
4420
|
+
tmp = this.d4x();
|
|
4421
4421
|
}
|
|
4422
4422
|
var string = tmp;
|
|
4423
|
-
this.
|
|
4423
|
+
this.t4r_1 = string;
|
|
4424
4424
|
return string;
|
|
4425
4425
|
};
|
|
4426
|
-
protoOf(AbstractJsonLexer).
|
|
4427
|
-
this.
|
|
4426
|
+
protoOf(AbstractJsonLexer).w51 = function () {
|
|
4427
|
+
this.t4r_1 = null;
|
|
4428
4428
|
};
|
|
4429
|
-
protoOf(AbstractJsonLexer).
|
|
4429
|
+
protoOf(AbstractJsonLexer).x51 = function (startPos, endPos) {
|
|
4430
4430
|
// Inline function 'kotlin.text.substring' call
|
|
4431
|
-
var this_0 = this.
|
|
4431
|
+
var this_0 = this.q51();
|
|
4432
4432
|
return toString(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4433
4433
|
};
|
|
4434
|
-
protoOf(AbstractJsonLexer).
|
|
4435
|
-
if (!(this.
|
|
4434
|
+
protoOf(AbstractJsonLexer).d4x = function () {
|
|
4435
|
+
if (!(this.t4r_1 == null)) {
|
|
4436
4436
|
return takePeeked(this);
|
|
4437
4437
|
}
|
|
4438
|
-
return this.
|
|
4438
|
+
return this.t4y();
|
|
4439
4439
|
};
|
|
4440
4440
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4441
4441
|
var currentPosition = current;
|
|
@@ -4445,19 +4445,19 @@
|
|
|
4445
4445
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4446
4446
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4447
4447
|
usedAppend = true;
|
|
4448
|
-
currentPosition = this.
|
|
4448
|
+
currentPosition = this.r51(appendEscape(this, lastPosition, currentPosition));
|
|
4449
4449
|
if (currentPosition === -1) {
|
|
4450
|
-
this.
|
|
4450
|
+
this.w4v('Unexpected EOF', currentPosition);
|
|
4451
4451
|
}
|
|
4452
4452
|
lastPosition = currentPosition;
|
|
4453
4453
|
} else {
|
|
4454
4454
|
currentPosition = currentPosition + 1 | 0;
|
|
4455
4455
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4456
4456
|
usedAppend = true;
|
|
4457
|
-
this.
|
|
4458
|
-
currentPosition = this.
|
|
4457
|
+
this.p51(lastPosition, currentPosition);
|
|
4458
|
+
currentPosition = this.r51(currentPosition);
|
|
4459
4459
|
if (currentPosition === -1) {
|
|
4460
|
-
this.
|
|
4460
|
+
this.w4v('Unexpected EOF', currentPosition);
|
|
4461
4461
|
}
|
|
4462
4462
|
lastPosition = currentPosition;
|
|
4463
4463
|
}
|
|
@@ -4466,45 +4466,45 @@
|
|
|
4466
4466
|
}
|
|
4467
4467
|
var tmp;
|
|
4468
4468
|
if (!usedAppend) {
|
|
4469
|
-
tmp = this.
|
|
4469
|
+
tmp = this.x51(lastPosition, currentPosition);
|
|
4470
4470
|
} else {
|
|
4471
4471
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4472
4472
|
}
|
|
4473
4473
|
var string = tmp;
|
|
4474
|
-
this.
|
|
4474
|
+
this.r4r_1 = currentPosition + 1 | 0;
|
|
4475
4475
|
return string;
|
|
4476
4476
|
};
|
|
4477
|
-
protoOf(AbstractJsonLexer).
|
|
4478
|
-
var result = this.
|
|
4477
|
+
protoOf(AbstractJsonLexer).u4y = function () {
|
|
4478
|
+
var result = this.e4x();
|
|
4479
4479
|
if (result === 'null' && wasUnquotedString(this)) {
|
|
4480
|
-
this.
|
|
4480
|
+
this.w4v("Unexpected 'null' value instead of string literal");
|
|
4481
4481
|
}
|
|
4482
4482
|
return result;
|
|
4483
4483
|
};
|
|
4484
|
-
protoOf(AbstractJsonLexer).
|
|
4485
|
-
if (!(this.
|
|
4484
|
+
protoOf(AbstractJsonLexer).e4x = function () {
|
|
4485
|
+
if (!(this.t4r_1 == null)) {
|
|
4486
4486
|
return takePeeked(this);
|
|
4487
4487
|
}
|
|
4488
|
-
var current = this.
|
|
4489
|
-
if (current >= charSequenceLength(this.
|
|
4490
|
-
this.
|
|
4488
|
+
var current = this.t51();
|
|
4489
|
+
if (current >= charSequenceLength(this.q51()) || current === -1) {
|
|
4490
|
+
this.w4v('EOF', current);
|
|
4491
4491
|
}
|
|
4492
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4492
|
+
var token = charToTokenClass(charSequenceGet(this.q51(), current));
|
|
4493
4493
|
if (token === 1) {
|
|
4494
|
-
return this.
|
|
4494
|
+
return this.d4x();
|
|
4495
4495
|
}
|
|
4496
4496
|
if (!(token === 0)) {
|
|
4497
|
-
this.
|
|
4497
|
+
this.w4v('Expected beginning of the string, but got ' + toString_1(charSequenceGet(this.q51(), current)));
|
|
4498
4498
|
}
|
|
4499
4499
|
var usedAppend = false;
|
|
4500
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4500
|
+
while (charToTokenClass(charSequenceGet(this.q51(), current)) === 0) {
|
|
4501
4501
|
current = current + 1 | 0;
|
|
4502
|
-
if (current >= charSequenceLength(this.
|
|
4502
|
+
if (current >= charSequenceLength(this.q51())) {
|
|
4503
4503
|
usedAppend = true;
|
|
4504
|
-
this.
|
|
4505
|
-
var eof = this.
|
|
4504
|
+
this.p51(this.r4r_1, current);
|
|
4505
|
+
var eof = this.r51(current);
|
|
4506
4506
|
if (eof === -1) {
|
|
4507
|
-
this.
|
|
4507
|
+
this.r4r_1 = current;
|
|
4508
4508
|
return decodedString(this, 0, 0);
|
|
4509
4509
|
} else {
|
|
4510
4510
|
current = eof;
|
|
@@ -4513,32 +4513,32 @@
|
|
|
4513
4513
|
}
|
|
4514
4514
|
var tmp;
|
|
4515
4515
|
if (!usedAppend) {
|
|
4516
|
-
tmp = this.
|
|
4516
|
+
tmp = this.x51(this.r4r_1, current);
|
|
4517
4517
|
} else {
|
|
4518
|
-
tmp = decodedString(this, this.
|
|
4518
|
+
tmp = decodedString(this, this.r4r_1, current);
|
|
4519
4519
|
}
|
|
4520
4520
|
var result = tmp;
|
|
4521
|
-
this.
|
|
4521
|
+
this.r4r_1 = current;
|
|
4522
4522
|
return result;
|
|
4523
4523
|
};
|
|
4524
|
-
protoOf(AbstractJsonLexer).
|
|
4525
|
-
this.
|
|
4524
|
+
protoOf(AbstractJsonLexer).p51 = function (fromIndex, toIndex) {
|
|
4525
|
+
this.u4r_1.ob(this.q51(), fromIndex, toIndex);
|
|
4526
4526
|
};
|
|
4527
|
-
protoOf(AbstractJsonLexer).
|
|
4527
|
+
protoOf(AbstractJsonLexer).s4y = function (allowLenientStrings) {
|
|
4528
4528
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4529
4529
|
var tokenStack = ArrayList_init_$Create$();
|
|
4530
|
-
var lastToken = this.
|
|
4530
|
+
var lastToken = this.b4x();
|
|
4531
4531
|
if (!(lastToken === 8) && !(lastToken === 6)) {
|
|
4532
|
-
this.
|
|
4532
|
+
this.e4x();
|
|
4533
4533
|
return Unit_instance;
|
|
4534
4534
|
}
|
|
4535
4535
|
$l$loop: while (true) {
|
|
4536
|
-
lastToken = this.
|
|
4536
|
+
lastToken = this.b4x();
|
|
4537
4537
|
if (lastToken === 1) {
|
|
4538
4538
|
if (allowLenientStrings)
|
|
4539
|
-
this.
|
|
4539
|
+
this.e4x();
|
|
4540
4540
|
else
|
|
4541
|
-
this.
|
|
4541
|
+
this.t4y();
|
|
4542
4542
|
continue $l$loop;
|
|
4543
4543
|
}
|
|
4544
4544
|
var tmp0_subject = lastToken;
|
|
@@ -4546,29 +4546,29 @@
|
|
|
4546
4546
|
tokenStack.j(lastToken);
|
|
4547
4547
|
} else if (tmp0_subject === 9) {
|
|
4548
4548
|
if (!(last(tokenStack) === 8))
|
|
4549
|
-
throw JsonDecodingException_0(this.
|
|
4549
|
+
throw JsonDecodingException_0(this.r4r_1, 'found ] instead of } at path: ' + this.s4r_1.toString(), this.q51());
|
|
4550
4550
|
removeLast(tokenStack);
|
|
4551
4551
|
} else if (tmp0_subject === 7) {
|
|
4552
4552
|
if (!(last(tokenStack) === 6))
|
|
4553
|
-
throw JsonDecodingException_0(this.
|
|
4553
|
+
throw JsonDecodingException_0(this.r4r_1, 'found } instead of ] at path: ' + this.s4r_1.toString(), this.q51());
|
|
4554
4554
|
removeLast(tokenStack);
|
|
4555
4555
|
} else if (tmp0_subject === 10) {
|
|
4556
|
-
this.
|
|
4556
|
+
this.w4v('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4557
4557
|
}
|
|
4558
|
-
this.
|
|
4558
|
+
this.g4x();
|
|
4559
4559
|
if (tokenStack.o() === 0)
|
|
4560
4560
|
return Unit_instance;
|
|
4561
4561
|
}
|
|
4562
4562
|
};
|
|
4563
4563
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4564
|
-
return "JsonReader(source='" + toString(this.
|
|
4564
|
+
return "JsonReader(source='" + toString(this.q51()) + "', currentPosition=" + this.r4r_1 + ')';
|
|
4565
4565
|
};
|
|
4566
|
-
protoOf(AbstractJsonLexer).
|
|
4567
|
-
var processed = this.
|
|
4566
|
+
protoOf(AbstractJsonLexer).r4y = function (key) {
|
|
4567
|
+
var processed = this.x51(0, this.r4r_1);
|
|
4568
4568
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4569
|
-
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.
|
|
4569
|
+
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.s4r_1.j4w() + "\nUse 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.q51(), lastIndexOf_0))));
|
|
4570
4570
|
};
|
|
4571
|
-
protoOf(AbstractJsonLexer).
|
|
4571
|
+
protoOf(AbstractJsonLexer).v4v = function (message, position, hint) {
|
|
4572
4572
|
var tmp;
|
|
4573
4573
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4574
4574
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4577,24 +4577,24 @@
|
|
|
4577
4577
|
tmp = '\n' + hint;
|
|
4578
4578
|
}
|
|
4579
4579
|
var hintMessage = tmp;
|
|
4580
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4580
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.s4r_1.j4w() + hintMessage, this.q51());
|
|
4581
4581
|
};
|
|
4582
|
-
protoOf(AbstractJsonLexer).
|
|
4583
|
-
position = position === VOID ? this.
|
|
4582
|
+
protoOf(AbstractJsonLexer).w4v = function (message, position, hint, $super) {
|
|
4583
|
+
position = position === VOID ? this.r4r_1 : position;
|
|
4584
4584
|
hint = hint === VOID ? '' : hint;
|
|
4585
|
-
return $super === VOID ? this.
|
|
4585
|
+
return $super === VOID ? this.v4v(message, position, hint) : $super.v4v.call(this, message, position, hint);
|
|
4586
4586
|
};
|
|
4587
|
-
protoOf(AbstractJsonLexer).
|
|
4588
|
-
var current = this.
|
|
4589
|
-
current = this.
|
|
4590
|
-
if (current >= charSequenceLength(this.
|
|
4591
|
-
this.
|
|
4587
|
+
protoOf(AbstractJsonLexer).c4z = function () {
|
|
4588
|
+
var current = this.t51();
|
|
4589
|
+
current = this.r51(current);
|
|
4590
|
+
if (current >= charSequenceLength(this.q51()) || current === -1) {
|
|
4591
|
+
this.w4v('EOF');
|
|
4592
4592
|
}
|
|
4593
4593
|
var tmp;
|
|
4594
|
-
if (charSequenceGet(this.
|
|
4594
|
+
if (charSequenceGet(this.q51(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4595
4595
|
current = current + 1 | 0;
|
|
4596
|
-
if (current === charSequenceLength(this.
|
|
4597
|
-
this.
|
|
4596
|
+
if (current === charSequenceLength(this.q51())) {
|
|
4597
|
+
this.w4v('EOF');
|
|
4598
4598
|
}
|
|
4599
4599
|
tmp = true;
|
|
4600
4600
|
} else {
|
|
@@ -4607,11 +4607,11 @@
|
|
|
4607
4607
|
var isExponentPositive = false;
|
|
4608
4608
|
var hasExponent = false;
|
|
4609
4609
|
var start = current;
|
|
4610
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4611
|
-
var ch = charSequenceGet(this.
|
|
4610
|
+
$l$loop_4: while (!(current === charSequenceLength(this.q51()))) {
|
|
4611
|
+
var ch = charSequenceGet(this.q51(), current);
|
|
4612
4612
|
if ((ch === _Char___init__impl__6a9atx(101) || ch === _Char___init__impl__6a9atx(69)) && !hasExponent) {
|
|
4613
4613
|
if (current === start) {
|
|
4614
|
-
this.
|
|
4614
|
+
this.w4v('Unexpected symbol ' + toString_1(ch) + ' in numeric literal');
|
|
4615
4615
|
}
|
|
4616
4616
|
isExponentPositive = true;
|
|
4617
4617
|
hasExponent = true;
|
|
@@ -4620,7 +4620,7 @@
|
|
|
4620
4620
|
}
|
|
4621
4621
|
if (ch === _Char___init__impl__6a9atx(45) && hasExponent) {
|
|
4622
4622
|
if (current === start) {
|
|
4623
|
-
this.
|
|
4623
|
+
this.w4v("Unexpected symbol '-' in numeric literal");
|
|
4624
4624
|
}
|
|
4625
4625
|
isExponentPositive = false;
|
|
4626
4626
|
current = current + 1 | 0;
|
|
@@ -4628,7 +4628,7 @@
|
|
|
4628
4628
|
}
|
|
4629
4629
|
if (ch === _Char___init__impl__6a9atx(43) && hasExponent) {
|
|
4630
4630
|
if (current === start) {
|
|
4631
|
-
this.
|
|
4631
|
+
this.w4v("Unexpected symbol '+' in numeric literal");
|
|
4632
4632
|
}
|
|
4633
4633
|
isExponentPositive = true;
|
|
4634
4634
|
current = current + 1 | 0;
|
|
@@ -4636,7 +4636,7 @@
|
|
|
4636
4636
|
}
|
|
4637
4637
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4638
4638
|
if (!(current === start)) {
|
|
4639
|
-
this.
|
|
4639
|
+
this.w4v("Unexpected symbol '-' in numeric literal");
|
|
4640
4640
|
}
|
|
4641
4641
|
isNegative = true;
|
|
4642
4642
|
current = current + 1 | 0;
|
|
@@ -4648,7 +4648,7 @@
|
|
|
4648
4648
|
current = current + 1 | 0;
|
|
4649
4649
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4650
4650
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4651
|
-
this.
|
|
4651
|
+
this.w4v("Unexpected symbol '" + toString_1(ch) + "' in numeric literal");
|
|
4652
4652
|
}
|
|
4653
4653
|
if (hasExponent) {
|
|
4654
4654
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -4664,31 +4664,31 @@
|
|
|
4664
4664
|
var this_3 = multiply(this_2, fromInt(10));
|
|
4665
4665
|
accumulator = subtract(this_3, fromInt(digit));
|
|
4666
4666
|
if (compare(accumulator, new Long(0, 0)) > 0) {
|
|
4667
|
-
this.
|
|
4667
|
+
this.w4v('Numeric value overflow');
|
|
4668
4668
|
}
|
|
4669
4669
|
}
|
|
4670
4670
|
var hasChars = !(current === start);
|
|
4671
4671
|
if (start === current || (isNegative && start === (current - 1 | 0))) {
|
|
4672
|
-
this.
|
|
4672
|
+
this.w4v('Expected numeric literal');
|
|
4673
4673
|
}
|
|
4674
4674
|
if (hasQuotation) {
|
|
4675
4675
|
if (!hasChars) {
|
|
4676
|
-
this.
|
|
4676
|
+
this.w4v('EOF');
|
|
4677
4677
|
}
|
|
4678
|
-
if (!(charSequenceGet(this.
|
|
4679
|
-
this.
|
|
4678
|
+
if (!(charSequenceGet(this.q51(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4679
|
+
this.w4v('Expected closing quotation mark');
|
|
4680
4680
|
}
|
|
4681
4681
|
current = current + 1 | 0;
|
|
4682
4682
|
}
|
|
4683
|
-
this.
|
|
4683
|
+
this.r4r_1 = current;
|
|
4684
4684
|
if (hasExponent) {
|
|
4685
4685
|
var doubleAccumulator = toNumber(accumulator) * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
4686
4686
|
if (doubleAccumulator > toNumber(new Long(-1, 2147483647)) || doubleAccumulator < toNumber(new Long(0, -2147483648))) {
|
|
4687
|
-
this.
|
|
4687
|
+
this.w4v('Numeric value overflow');
|
|
4688
4688
|
}
|
|
4689
4689
|
// Inline function 'kotlin.math.floor' call
|
|
4690
4690
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4691
|
-
this.
|
|
4691
|
+
this.w4v("Can't convert " + doubleAccumulator + ' to Long');
|
|
4692
4692
|
}
|
|
4693
4693
|
accumulator = numberToLong(doubleAccumulator);
|
|
4694
4694
|
}
|
|
@@ -4698,30 +4698,30 @@
|
|
|
4698
4698
|
} else if (!equalsLong(accumulator, new Long(0, -2147483648))) {
|
|
4699
4699
|
tmp_0 = negate(accumulator);
|
|
4700
4700
|
} else {
|
|
4701
|
-
this.
|
|
4701
|
+
this.w4v('Numeric value overflow');
|
|
4702
4702
|
}
|
|
4703
4703
|
return tmp_0;
|
|
4704
4704
|
};
|
|
4705
|
-
protoOf(AbstractJsonLexer).
|
|
4706
|
-
var result = this.
|
|
4707
|
-
var next = this.
|
|
4705
|
+
protoOf(AbstractJsonLexer).u4t = function () {
|
|
4706
|
+
var result = this.c4z();
|
|
4707
|
+
var next = this.g4x();
|
|
4708
4708
|
if (!(next === 10)) {
|
|
4709
4709
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4710
4710
|
var expected = tokenDescription(10);
|
|
4711
|
-
var position = true ? this.
|
|
4712
|
-
var s = this.
|
|
4711
|
+
var position = true ? this.r4r_1 - 1 | 0 : this.r4r_1;
|
|
4712
|
+
var s = this.r4r_1 === charSequenceLength(this.q51()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.q51(), position));
|
|
4713
4713
|
var tmp$ret$0 = "Expected input to contain a single valid number, but got '" + s + "' after it";
|
|
4714
|
-
this.
|
|
4714
|
+
this.w4v(tmp$ret$0, position);
|
|
4715
4715
|
}
|
|
4716
4716
|
return result;
|
|
4717
4717
|
};
|
|
4718
|
-
protoOf(AbstractJsonLexer).
|
|
4719
|
-
var current = this.
|
|
4720
|
-
if (current === charSequenceLength(this.
|
|
4721
|
-
this.
|
|
4718
|
+
protoOf(AbstractJsonLexer).b4z = function () {
|
|
4719
|
+
var current = this.t51();
|
|
4720
|
+
if (current === charSequenceLength(this.q51())) {
|
|
4721
|
+
this.w4v('EOF');
|
|
4722
4722
|
}
|
|
4723
4723
|
var tmp;
|
|
4724
|
-
if (charSequenceGet(this.
|
|
4724
|
+
if (charSequenceGet(this.q51(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4725
4725
|
current = current + 1 | 0;
|
|
4726
4726
|
tmp = true;
|
|
4727
4727
|
} else {
|
|
@@ -4730,13 +4730,13 @@
|
|
|
4730
4730
|
var hasQuotation = tmp;
|
|
4731
4731
|
var result = consumeBoolean2(this, current);
|
|
4732
4732
|
if (hasQuotation) {
|
|
4733
|
-
if (this.
|
|
4734
|
-
this.
|
|
4733
|
+
if (this.r4r_1 === charSequenceLength(this.q51())) {
|
|
4734
|
+
this.w4v('EOF');
|
|
4735
4735
|
}
|
|
4736
|
-
if (!(charSequenceGet(this.
|
|
4737
|
-
this.
|
|
4736
|
+
if (!(charSequenceGet(this.q51(), this.r4r_1) === _Char___init__impl__6a9atx(34))) {
|
|
4737
|
+
this.w4v('Expected closing quotation mark');
|
|
4738
4738
|
}
|
|
4739
|
-
this.
|
|
4739
|
+
this.r4r_1 = this.r4r_1 + 1 | 0;
|
|
4740
4740
|
}
|
|
4741
4741
|
return result;
|
|
4742
4742
|
};
|
|
@@ -4744,7 +4744,7 @@
|
|
|
4744
4744
|
var tmp;
|
|
4745
4745
|
// Inline function 'kotlin.code' call
|
|
4746
4746
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4747
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4747
|
+
var tmp_0 = CharMappings_getInstance().z51_1;
|
|
4748
4748
|
// Inline function 'kotlin.code' call
|
|
4749
4749
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4750
4750
|
} else {
|
|
@@ -4756,7 +4756,7 @@
|
|
|
4756
4756
|
return token === 1 ? "quotation mark '\"'" : token === 2 ? "string escape sequence '\\'" : token === 4 ? "comma ','" : token === 5 ? "colon ':'" : token === 6 ? "start of the object '{'" : token === 7 ? "end of the object '}'" : token === 8 ? "start of the array '['" : token === 9 ? "end of the array ']'" : token === 10 ? 'end of the input' : token === 127 ? 'invalid token' : 'valid token';
|
|
4757
4757
|
}
|
|
4758
4758
|
function escapeToChar(c) {
|
|
4759
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4759
|
+
return c < 117 ? CharMappings_getInstance().y51_1[c] : _Char___init__impl__6a9atx(0);
|
|
4760
4760
|
}
|
|
4761
4761
|
function initEscape($this) {
|
|
4762
4762
|
var inductionVariable = 0;
|
|
@@ -4802,7 +4802,7 @@
|
|
|
4802
4802
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4803
4803
|
// Inline function 'kotlin.code' call
|
|
4804
4804
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4805
|
-
$this.
|
|
4805
|
+
$this.y51_1[tmp$ret$0] = numberToChar(c);
|
|
4806
4806
|
}
|
|
4807
4807
|
}
|
|
4808
4808
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4811,7 +4811,7 @@
|
|
|
4811
4811
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4812
4812
|
}
|
|
4813
4813
|
function initC2TC($this, c, cl) {
|
|
4814
|
-
$this.
|
|
4814
|
+
$this.z51_1[c] = cl;
|
|
4815
4815
|
}
|
|
4816
4816
|
function initC2TC_0($this, c, cl) {
|
|
4817
4817
|
// Inline function 'kotlin.code' call
|
|
@@ -4820,8 +4820,8 @@
|
|
|
4820
4820
|
}
|
|
4821
4821
|
function CharMappings() {
|
|
4822
4822
|
CharMappings_instance = this;
|
|
4823
|
-
this.
|
|
4824
|
-
this.
|
|
4823
|
+
this.y51_1 = charArray(117);
|
|
4824
|
+
this.z51_1 = new Int8Array(126);
|
|
4825
4825
|
initEscape(this);
|
|
4826
4826
|
initCharToToken(this);
|
|
4827
4827
|
}
|
|
@@ -4834,48 +4834,48 @@
|
|
|
4834
4834
|
function StringJsonLexerWithComments(source) {
|
|
4835
4835
|
StringJsonLexer.call(this, source);
|
|
4836
4836
|
}
|
|
4837
|
-
protoOf(StringJsonLexerWithComments).
|
|
4838
|
-
var source = this.
|
|
4839
|
-
var cpos = this.
|
|
4837
|
+
protoOf(StringJsonLexerWithComments).g4x = function () {
|
|
4838
|
+
var source = this.q51();
|
|
4839
|
+
var cpos = this.t51();
|
|
4840
4840
|
if (cpos >= source.length || cpos === -1)
|
|
4841
4841
|
return 10;
|
|
4842
|
-
this.
|
|
4842
|
+
this.r4r_1 = cpos + 1 | 0;
|
|
4843
4843
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4844
4844
|
};
|
|
4845
|
-
protoOf(StringJsonLexerWithComments).
|
|
4846
|
-
var current = this.
|
|
4847
|
-
if (current >= this.
|
|
4845
|
+
protoOf(StringJsonLexerWithComments).c4x = function () {
|
|
4846
|
+
var current = this.t51();
|
|
4847
|
+
if (current >= this.q51().length || current === -1)
|
|
4848
4848
|
return false;
|
|
4849
|
-
return this.
|
|
4849
|
+
return this.u51(charCodeAt(this.q51(), current));
|
|
4850
4850
|
};
|
|
4851
|
-
protoOf(StringJsonLexerWithComments).
|
|
4852
|
-
var source = this.
|
|
4853
|
-
var current = this.
|
|
4851
|
+
protoOf(StringJsonLexerWithComments).n4y = function (expected) {
|
|
4852
|
+
var source = this.q51();
|
|
4853
|
+
var current = this.t51();
|
|
4854
4854
|
if (current >= source.length || current === -1) {
|
|
4855
|
-
this.
|
|
4856
|
-
this.
|
|
4855
|
+
this.r4r_1 = -1;
|
|
4856
|
+
this.v51(expected);
|
|
4857
4857
|
}
|
|
4858
4858
|
var c = charCodeAt(source, current);
|
|
4859
|
-
this.
|
|
4859
|
+
this.r4r_1 = current + 1 | 0;
|
|
4860
4860
|
if (c === expected)
|
|
4861
4861
|
return Unit_instance;
|
|
4862
4862
|
else {
|
|
4863
|
-
this.
|
|
4863
|
+
this.v51(expected);
|
|
4864
4864
|
}
|
|
4865
4865
|
};
|
|
4866
|
-
protoOf(StringJsonLexerWithComments).
|
|
4867
|
-
var source = this.
|
|
4868
|
-
var cpos = this.
|
|
4866
|
+
protoOf(StringJsonLexerWithComments).b4x = function () {
|
|
4867
|
+
var source = this.q51();
|
|
4868
|
+
var cpos = this.t51();
|
|
4869
4869
|
if (cpos >= source.length || cpos === -1)
|
|
4870
4870
|
return 10;
|
|
4871
|
-
this.
|
|
4871
|
+
this.r4r_1 = cpos;
|
|
4872
4872
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4873
4873
|
};
|
|
4874
|
-
protoOf(StringJsonLexerWithComments).
|
|
4875
|
-
var current = this.
|
|
4874
|
+
protoOf(StringJsonLexerWithComments).t51 = function () {
|
|
4875
|
+
var current = this.r4r_1;
|
|
4876
4876
|
if (current === -1)
|
|
4877
4877
|
return current;
|
|
4878
|
-
var source = this.
|
|
4878
|
+
var source = this.q51();
|
|
4879
4879
|
$l$loop_1: while (current < source.length) {
|
|
4880
4880
|
var c = charCodeAt(source, current);
|
|
4881
4881
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4896,8 +4896,8 @@
|
|
|
4896
4896
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
|
|
4897
4897
|
current = indexOf(source, '*/', current + 2 | 0);
|
|
4898
4898
|
if (current === -1) {
|
|
4899
|
-
this.
|
|
4900
|
-
this.
|
|
4899
|
+
this.r4r_1 = source.length;
|
|
4900
|
+
this.w4v('Expected end of the block comment: "*/", but had EOF instead');
|
|
4901
4901
|
} else {
|
|
4902
4902
|
current = current + 2 | 0;
|
|
4903
4903
|
}
|
|
@@ -4906,22 +4906,22 @@
|
|
|
4906
4906
|
}
|
|
4907
4907
|
break $l$loop_1;
|
|
4908
4908
|
}
|
|
4909
|
-
this.
|
|
4909
|
+
this.r4r_1 = current;
|
|
4910
4910
|
return current;
|
|
4911
4911
|
};
|
|
4912
4912
|
function StringJsonLexer(source) {
|
|
4913
4913
|
AbstractJsonLexer.call(this);
|
|
4914
|
-
this.
|
|
4914
|
+
this.j52_1 = source;
|
|
4915
4915
|
}
|
|
4916
|
-
protoOf(StringJsonLexer).
|
|
4917
|
-
return this.
|
|
4916
|
+
protoOf(StringJsonLexer).q51 = function () {
|
|
4917
|
+
return this.j52_1;
|
|
4918
4918
|
};
|
|
4919
|
-
protoOf(StringJsonLexer).
|
|
4920
|
-
return position < this.
|
|
4919
|
+
protoOf(StringJsonLexer).r51 = function (position) {
|
|
4920
|
+
return position < this.q51().length ? position : -1;
|
|
4921
4921
|
};
|
|
4922
|
-
protoOf(StringJsonLexer).
|
|
4923
|
-
var source = this.
|
|
4924
|
-
var cpos = this.
|
|
4922
|
+
protoOf(StringJsonLexer).g4x = function () {
|
|
4923
|
+
var source = this.q51();
|
|
4924
|
+
var cpos = this.r4r_1;
|
|
4925
4925
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
4926
4926
|
var _unary__edvuaz = cpos;
|
|
4927
4927
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4929,17 +4929,17 @@
|
|
|
4929
4929
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4930
4930
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
4931
4931
|
continue $l$loop;
|
|
4932
|
-
this.
|
|
4932
|
+
this.r4r_1 = cpos;
|
|
4933
4933
|
return charToTokenClass(c);
|
|
4934
4934
|
}
|
|
4935
|
-
this.
|
|
4935
|
+
this.r4r_1 = source.length;
|
|
4936
4936
|
return 10;
|
|
4937
4937
|
};
|
|
4938
|
-
protoOf(StringJsonLexer).
|
|
4939
|
-
var current = this.
|
|
4938
|
+
protoOf(StringJsonLexer).c4x = function () {
|
|
4939
|
+
var current = this.r4r_1;
|
|
4940
4940
|
if (current === -1)
|
|
4941
4941
|
return false;
|
|
4942
|
-
var source = this.
|
|
4942
|
+
var source = this.q51();
|
|
4943
4943
|
$l$loop: while (current < source.length) {
|
|
4944
4944
|
var c = charCodeAt(source, current);
|
|
4945
4945
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4947,17 +4947,17 @@
|
|
|
4947
4947
|
current = current + 1 | 0;
|
|
4948
4948
|
continue $l$loop;
|
|
4949
4949
|
}
|
|
4950
|
-
this.
|
|
4951
|
-
return this.
|
|
4950
|
+
this.r4r_1 = current;
|
|
4951
|
+
return this.u51(c);
|
|
4952
4952
|
}
|
|
4953
|
-
this.
|
|
4953
|
+
this.r4r_1 = current;
|
|
4954
4954
|
return false;
|
|
4955
4955
|
};
|
|
4956
|
-
protoOf(StringJsonLexer).
|
|
4957
|
-
var current = this.
|
|
4956
|
+
protoOf(StringJsonLexer).t51 = function () {
|
|
4957
|
+
var current = this.r4r_1;
|
|
4958
4958
|
if (current === -1)
|
|
4959
4959
|
return current;
|
|
4960
|
-
var source = this.
|
|
4960
|
+
var source = this.q51();
|
|
4961
4961
|
$l$loop: while (current < source.length) {
|
|
4962
4962
|
var c = charCodeAt(source, current);
|
|
4963
4963
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4967,15 +4967,15 @@
|
|
|
4967
4967
|
break $l$loop;
|
|
4968
4968
|
}
|
|
4969
4969
|
}
|
|
4970
|
-
this.
|
|
4970
|
+
this.r4r_1 = current;
|
|
4971
4971
|
return current;
|
|
4972
4972
|
};
|
|
4973
|
-
protoOf(StringJsonLexer).
|
|
4974
|
-
if (this.
|
|
4975
|
-
this.
|
|
4973
|
+
protoOf(StringJsonLexer).n4y = function (expected) {
|
|
4974
|
+
if (this.r4r_1 === -1) {
|
|
4975
|
+
this.v51(expected);
|
|
4976
4976
|
}
|
|
4977
|
-
var source = this.
|
|
4978
|
-
var cpos = this.
|
|
4977
|
+
var source = this.q51();
|
|
4978
|
+
var cpos = this.r4r_1;
|
|
4979
4979
|
$l$loop: while (cpos < source.length) {
|
|
4980
4980
|
var _unary__edvuaz = cpos;
|
|
4981
4981
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4983,83 +4983,83 @@
|
|
|
4983
4983
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4984
4984
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
4985
4985
|
continue $l$loop;
|
|
4986
|
-
this.
|
|
4986
|
+
this.r4r_1 = cpos;
|
|
4987
4987
|
if (c === expected)
|
|
4988
4988
|
return Unit_instance;
|
|
4989
|
-
this.
|
|
4989
|
+
this.v51(expected);
|
|
4990
4990
|
}
|
|
4991
|
-
this.
|
|
4992
|
-
this.
|
|
4991
|
+
this.r4r_1 = -1;
|
|
4992
|
+
this.v51(expected);
|
|
4993
4993
|
};
|
|
4994
|
-
protoOf(StringJsonLexer).
|
|
4995
|
-
this.
|
|
4996
|
-
var current = this.
|
|
4997
|
-
var closingQuote = indexOf_0(this.
|
|
4994
|
+
protoOf(StringJsonLexer).t4y = function () {
|
|
4995
|
+
this.n4y(_Char___init__impl__6a9atx(34));
|
|
4996
|
+
var current = this.r4r_1;
|
|
4997
|
+
var closingQuote = indexOf_0(this.q51(), _Char___init__impl__6a9atx(34), current);
|
|
4998
4998
|
if (closingQuote === -1) {
|
|
4999
|
-
this.
|
|
4999
|
+
this.e4x();
|
|
5000
5000
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
5001
5001
|
var expected = tokenDescription(1);
|
|
5002
|
-
var position = false ? this.
|
|
5003
|
-
var s = this.
|
|
5002
|
+
var position = false ? this.r4r_1 - 1 | 0 : this.r4r_1;
|
|
5003
|
+
var s = this.r4r_1 === charSequenceLength(this.q51()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.q51(), position));
|
|
5004
5004
|
var tmp$ret$0 = 'Expected ' + expected + ", but had '" + s + "' instead";
|
|
5005
|
-
this.
|
|
5005
|
+
this.w4v(tmp$ret$0, position);
|
|
5006
5006
|
}
|
|
5007
5007
|
var inductionVariable = current;
|
|
5008
5008
|
if (inductionVariable < closingQuote)
|
|
5009
5009
|
do {
|
|
5010
5010
|
var i = inductionVariable;
|
|
5011
5011
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5012
|
-
if (charCodeAt(this.
|
|
5013
|
-
return this.consumeString2(this.
|
|
5012
|
+
if (charCodeAt(this.q51(), i) === _Char___init__impl__6a9atx(92)) {
|
|
5013
|
+
return this.consumeString2(this.q51(), this.r4r_1, i);
|
|
5014
5014
|
}
|
|
5015
5015
|
}
|
|
5016
5016
|
while (inductionVariable < closingQuote);
|
|
5017
|
-
this.
|
|
5018
|
-
return substring(this.
|
|
5017
|
+
this.r4r_1 = closingQuote + 1 | 0;
|
|
5018
|
+
return substring(this.q51(), current, closingQuote);
|
|
5019
5019
|
};
|
|
5020
|
-
protoOf(StringJsonLexer).
|
|
5021
|
-
var positionSnapshot = this.
|
|
5020
|
+
protoOf(StringJsonLexer).v4y = function (keyToMatch, isLenient) {
|
|
5021
|
+
var positionSnapshot = this.r4r_1;
|
|
5022
5022
|
try {
|
|
5023
|
-
if (!(this.
|
|
5023
|
+
if (!(this.g4x() === 6))
|
|
5024
5024
|
return null;
|
|
5025
|
-
var firstKey = this.
|
|
5025
|
+
var firstKey = this.q4y(isLenient);
|
|
5026
5026
|
if (!(firstKey === keyToMatch))
|
|
5027
5027
|
return null;
|
|
5028
|
-
this.
|
|
5029
|
-
if (!(this.
|
|
5028
|
+
this.w51();
|
|
5029
|
+
if (!(this.g4x() === 5))
|
|
5030
5030
|
return null;
|
|
5031
|
-
return this.
|
|
5031
|
+
return this.q4y(isLenient);
|
|
5032
5032
|
}finally {
|
|
5033
|
-
this.
|
|
5034
|
-
this.
|
|
5033
|
+
this.r4r_1 = positionSnapshot;
|
|
5034
|
+
this.w51();
|
|
5035
5035
|
}
|
|
5036
5036
|
};
|
|
5037
5037
|
function StringJsonLexer_0(json, source) {
|
|
5038
|
-
return !json.
|
|
5038
|
+
return !json.f4r_1.e4t_1 ? new StringJsonLexer(source) : new StringJsonLexerWithComments(source);
|
|
5039
5039
|
}
|
|
5040
5040
|
function get_schemaCache(_this__u8e3s4) {
|
|
5041
|
-
return _this__u8e3s4.
|
|
5041
|
+
return _this__u8e3s4.h4r_1;
|
|
5042
5042
|
}
|
|
5043
5043
|
function JsonToStringWriter() {
|
|
5044
|
-
this.
|
|
5044
|
+
this.i4r_1 = StringBuilder_init_$Create$_0(128);
|
|
5045
5045
|
}
|
|
5046
|
-
protoOf(JsonToStringWriter).
|
|
5047
|
-
this.
|
|
5046
|
+
protoOf(JsonToStringWriter).a4v = function (value) {
|
|
5047
|
+
this.i4r_1.sb(value);
|
|
5048
5048
|
};
|
|
5049
|
-
protoOf(JsonToStringWriter).
|
|
5050
|
-
this.
|
|
5049
|
+
protoOf(JsonToStringWriter).u4u = function (char) {
|
|
5050
|
+
this.i4r_1.d8(char);
|
|
5051
5051
|
};
|
|
5052
|
-
protoOf(JsonToStringWriter).
|
|
5053
|
-
this.
|
|
5052
|
+
protoOf(JsonToStringWriter).w4u = function (text) {
|
|
5053
|
+
this.i4r_1.c8(text);
|
|
5054
5054
|
};
|
|
5055
|
-
protoOf(JsonToStringWriter).
|
|
5056
|
-
printQuoted(this.
|
|
5055
|
+
protoOf(JsonToStringWriter).g4v = function (text) {
|
|
5056
|
+
printQuoted(this.i4r_1, text);
|
|
5057
5057
|
};
|
|
5058
|
-
protoOf(JsonToStringWriter).
|
|
5059
|
-
this.
|
|
5058
|
+
protoOf(JsonToStringWriter).k2p = function () {
|
|
5059
|
+
this.i4r_1.vb();
|
|
5060
5060
|
};
|
|
5061
5061
|
protoOf(JsonToStringWriter).toString = function () {
|
|
5062
|
-
return this.
|
|
5062
|
+
return this.i4r_1.toString();
|
|
5063
5063
|
};
|
|
5064
5064
|
function createMapForCache(initialCapacity) {
|
|
5065
5065
|
return HashMap_init_$Create$(initialCapacity);
|